0 ×

Image Resizer

StreamableKNIME Image Types and Nodes version 1.8.0.201907250605 by University of Konstanz

Resizes the image in each dimension. The resulting values at each position in the image are set according to the resizing strategy. Please note, that the input values for each dimension can be interpreted in several ways.

Options

Resizing Strategy
Determines the strategy, how to fill the resized image.
  1. Linear Interpolation: Pixel values are linear interpolated.
  2. Nearest Neighbor Interpolation: Pixel values are interpolated according to their neighbors.
  3. Lanczos Interpolation: Pixel values are interpolated using lanczos interpolation.
  4. Periodical Extension: Pixel values are repeated periodically.
  5. Border Extension: Pixel values on the border of the image are repeated.
  6. Fill with Minimum Value: Fill pixel values with minimum value of the input image.
  7. Fill with Maximum Value: Fill pixel values with maximum value of the input image.
  8. Fill with Zero Value: Fill pixel values with zero value of the input image.

Remark: Extensions and Filling Strategies are only useful in the case that the output image is larger than the input image.

New Dimension Sizes

Specify here the size of the resulting image for each dimension. If a dimension doesn't exist in the image at hand the according dimension will be ignored. There are three different ways of how the dimensions of the result images will be calculated with respected to the specified values for each dimension:

  1. Absolute Image Size: Size of the resulting image for each dimension. Output dimension = specified value.
  2. Scaling Factor: Factor to scale dimensions of input image for each dimension. Output dimensions = input dimension * specified value.
  3. Calibration: Input values are interpreted as the new calibration values. For example, this is useful for arbitrarily calibrated images, to enforce, that the calibration in each dimension is one. Due to rounding errors, the resulting calibration will only approach this definition (depending on the image size). Output dimensions = ((calibration of input image) / (specified value)) * (input dimension).

Column Selection

Column Creation Mode

Mode how to handle the selected column. The processed column can be added to a new table, appended to the end of the table, or the old column can be replaced by the new result

Column Suffix
A suffix appended to the column name. If "Append" is not selected, it can be left empty.
Column Selection
Selection of the columns to be processed.

Input Ports

Images

Output Ports

Resized Images

Views

Image Viewer
Another, possibly interactive, view on table cells. Displays the selected cells with their associated viewer if it exists. Available views are:
- Combined View
-- A viewer shown when the user selects an interval of rows and columns in the viewer. This viewer combines all images and labelings in the selected interval to one image by rendering them next to each other. Alternatively, the images and labelings can be layed over each other.
- XML
-- XML tree
- Histogram Viewer
-- This viewer shows the histogram of the currently selected image.
- Labeling View
-- View on a labeling/segmentation
- Image Viewer
-- This viewer renders the selected image-cell.
- BigDataViewer
-- A viewer shown when the user selects an interval of rows and columns in the viewer. This viewer combines all images and labelings in the selected interval to one image by rendering them next to each other. Alternatively, the images and labelings can be layed over each other.
- Missing Value Viewer
-- An empty viewer that is shown when the input cell has no value to display.

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Image Processing from the following update site:

KNIME 4.0
Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.