Image measurement calculator

Perform a mathematical operation on measurements associated with an image.

Description

Perform a mathematical operation on measurements associated with an image. The calculation can replace either or both input image measurements with fixed values. The resulting measurement is associated with the input image as a new measurement.

Parameters

ParameterDescription
Input imageImage from the workspace to perform the measurement calculation for.
Value mode 1Controls how the first value in the calculation is defined:
  • "Fixed" A single, fixed value defined by "Fixed value 1"is used.
  • "Measurement" A measurement associated with the input image and defined by "Measurement 1" is used.
Fixed value 1Fixed value to use in the calculation when "Value mode 1" is in "Fixed" mode.
Measurement 1Measurement associated with the input image to use in the calculation when "Value mode 1" is in "Measurement" mode.
Value mode 2Controls how the second value in the calculation is defined:
  • "Fixed" A single, fixed value defined by "Fixed value 2"is used.
  • "Measurement" A measurement associated with the input image and defined by "Measurement 2" is used.
Fixed value 2Fixed value to use in the calculation when "Value mode 2" is in "Fixed" mode.
Measurement 2Measurement associated with the input image to use in the calculation when "Value mode 2" is in "Measurement" mode.
Output measurementThe value resulting from the calculation will be stored as a new measurement with this name. This output measurement will be associated with the input image
Calculation modeCalculation to perform. Choices are: Add value 1 and value 2, Divide value 1 by value 2, Multiply value 1 and value 2, Subtract value 2 from value 1.