0 ×

Image Calculator

StreamableKNIME Image Types and Nodes version by University of Konstanz

This node evaluates a (free-form) mathematical expression based on the images in a row. The computed results can be either appended as new column or be used to replace an input column. Available variables are the values in the corresponding row of the table (left list in the dialog). Commonly used functions are shown in the list "Mathematical Functions".

This node uses JEP , the Java Math Expression Parser .


Math Expression

Column List
Available image input columns. Click any column name to include the value in the expression text field.
Mathematical Function
Mathematical functions that can be used, the tooltip shows a short description for each function.
Constant values available during execution.
A mathematical expression. Constants, e.g. numbers (2*...) can be used as well, but at least one image column must be part of the expression.
Result pixel type
Specifies the pixel type of the result image (and the pixel types of the intermediate result images). If this pixel type cannot hold the computation results, behavior is undefined.

Advanced Settings

Reference Image
Result images get dimensionality definitions and metadata from the reference image. If none is selected the reference column will be set to the first column in the incoming table that is used in the computed expression.
Adjust Dimensions
Activate to allow calculations on images with different dimensionalities. The result dimension will be taken from the reference image.

Input Ports


Output Ports

Result images


Table Cell View
More detailed view on the result images.

Best Friends (Incoming)

Best Friends (Outgoing)



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


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


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.