Process JSON Structure Output
The process
call returns a JSON structure that represents the recipe output. Field explanation:
<LAYER NAME>: any layers that were added to the recipe
binary: the logical image that shows what was detected
<MEASUREMENT STAT>: statistic of any measurement that was added to the recipe. Example: "MeanCaliperDiameter" or "StdDevCaliperDiameter"
<MEASUREMENT_1 FEATURE MEASUREMENTS>: measurement of individual features in the detected image Example: "CaliperDiameter" or "MinimumDiameter"
scaleFactor: returns the scale factor in units micrometers/pixel
measurementUnits: returns the base unit of the measurement. Example: base unit: mm, diameters: mm. areas: mm^2, number density: features/mm^2.
Messages: contains errors, warning and messages that the recipe returned during execution
For complete table of measurement units see: LINK
Example Output
{
<LAYER NAME>: {
"binary": [
[
<LOGICAL ARRAY OF ARRAYS>
]
],
<MEASUREMENT STAT_1>: double
<MEASUREMENT STAT_2>: double
"featMeas": {
<MEASUREMENT_1 FEATURE MEASUREMENTS>: [
[
<DOUBLE ARRAY>
]
]
}
},
"scaleFactor": double
"measurementUnits": string
"Messages": {
"errors": [],
"warnings": [],
"messages": []
}
}
Need more help with this?
Chat with an expert now ››