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
Parameter | Description |
---|---|
Input image | Image from the workspace to perform the measurement calculation for. |
Value mode 1 | Controls how the first value in the calculation is defined:
|
Fixed value 1 | Fixed value to use in the calculation when "Value mode 1" is in "Fixed" mode. |
Image 1 | A measurement associated with this image will be used in the calculated when "Value mode 1" is in "Image measurement" mode. |
Image measurement 1 | Measurement associated with an image (specified by "Image 1") to use in the calculation when "Value mode 1" is in "Image measurement" mode. |
Reference objects 1 | Object collection for which a statistic of an associated measurement will be used in the calculation when "Value mode 1" is in "Object collection statistic" mode. |
Reference measurement 1 | Measurement associated with the objects in the collection specified by "Reference objects 1". A statistic of all object measurements will be used in the calculation when "Value mode 1" is in "Object collection statistic" mode. |
Statistic mode 1 | Statistic to apply to all measurements (specified by "Reference measurement 1") of an object collection (specified by "Reference objects 1"). The resulting value will be used in the calculation when "Value mode 1" is in "Object collection statistic" mode. Choices are: First value, Last value, Minimum, Mean, Maximum, Range, Standard deviation, Sum. |
Value mode 2 | Controls how the second value in the calculation is defined:
|
Fixed value 2 | Fixed value to use in the calculation when "Value mode 2" is in "Fixed" mode. |
Image 2 | A measurement associated with this image will be used in the calculated when "Value mode 2" is in "Image measurement" mode. |
Image measurement 2 | Measurement associated with an image (specified by "Image 2") to use in the calculation when "Value mode 2" is in "Image measurement" mode. |
Reference objects 2 | Object collection for which a statistic of an associated measurement will be used in the calculation when "Value mode 2" is in "Object collection statistic" mode. |
Reference measurement 2 | Measurement associated with the objects in the collection specified by "Reference objects 2". A statistic of all object measurements will be used in the calculation when "Value mode 2" is in "Object collection statistic" mode. |
Statistic mode 2 | Statistic to apply to all measurements (specified by "Reference measurement 2") of an object collection (specified by "Reference objects 2"). The resulting value will be used in the calculation when "Value mode 2" is in "Object collection statistic" mode. Choices are: First value, Last value, Minimum, Mean, Maximum, Range, Standard deviation, Sum. |
Output measurement | The value resulting from the calculation will be stored as a new measurement with this name. This output measurement will be associated with the corresponding image/object. |
Calculation mode | Calculation to perform. Choices are: Add value 1 and value 2, Difference of value 1 and value 2, Divide value 1 by value 2, Value 1 == value 2, Value 1 > value 2, Value 1 >= value 2, Value 1 < value 2, Value 1 <= value 2, Maximum of value 1 and value 2, Mean of value 1 and value 2, Minimum of value 1 and value 2, Multiply value 1 and value 2, Value 1 != value 2, Subtract value 2 from value 1. |
Measurement 1 | Measurement, associated with the current image/object, to use in the calculation when "Value mode 1" is in "Measurement" mode. |
Measurement 2 | Measurement, associated with the current image/object, to use in the calculation when "Value mode 2" is in "Measurement" mode. |