_GenerateBinaryND, _InspectObjects, _MeasureObjectsND, _ObjectData, _ObjectMeasSetup, _Restrictions, _ScanObjects, ClearCurrentMeasurement, GenerateBinary, GenerateBinaryEx, GenerateBinaryExND, GenerateBinaryND, MeasureObjects, MeasureObjectsND, ResetObjectFeatures, ResetRestrictions, Restrictions, ScanObjects, ScanObjectsND, SelectObjectFeature, UpdateCurrentMeasurement
Description
ClearCurrentMeasurement();
This function deletes current measurement results from the Automated Measurement Results control window.
This function runs the Measure > Generate Binary Using Restrictions command.
Description
GenerateBinary();
This function creates binary image consisting of objects involved in the statistics.
See Also
ScanObjects, Restrictions, MeasFrame, MaskOn
Description
DOUBLE GenerateBinaryEx( char *Feat1
, doubleFeatLow1
, doubleFeatHigh1
, char *Feat2
, doubleFeatLow2
, doubleFeatHigh2
, char *Feat3
, doubleFeatLow3
, doubleFeatHigh3
);
This function modifies a current binary image by removing objects that do not match the defined restrictions.
Parameters
Note
Compared to the GenerateBinary function, this function can use features that are not defined for an object measurement and ignores a measurement frame.
See Also
Restrictions
Description
DOUBLE GenerateBinaryExND( char *Feat1
, doubleFeatLow1
, doubleFeatHigh1
, char *Feat2
, doubleFeatLow2
, doubleFeatHigh2
, char *Feat3
, doubleFeatLow3
, doubleFeatHigh3
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function modifies a current binary image by removing objects that do not match the defined restrictions.
Parameters
Feat1
Name of the feature #1. If feat1 == NULL (0) or does not exist, the restriction is ignored.
Feat2
Name of the feature #2. If feat2 == NULL (0) or does not exist, the restriction is ignored.
Feat3
Name of the feature #3. If feat3 == NULL (0) or does not exist, the restriction is ignored.
Note
Compared to GenerateBinaryND function, this function can use features that are not defined for an object measurement and ignores a measurement frame.
Description
GenerateBinaryND( intNDTLoop
, intNDMPLoop
, intNDZLoop
);
The GenerateBinaryND function creates binary image consisting of objects involved in the Scan Objects statistics.
Parameters
This function runs the Measure > Measure Objects command.
Description
MeasureObjects();
This function performs the object measurement.
Description
MeasureObjectsND( intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function performs the object measurement on an ND document.
Parameters
Description
ResetObjectFeatures();
This function clears features for the object measurement. This function is typically called, when you invoke the Object Features command (Measure menu).
See Also
_ObjectMeasSetup, SelectObjectFeature, _ObjectMeasSetup
Description
ResetRestrictions();
This function removes restrictions from all measurement features.
Note
Some objects are not involved in measurement because of lying out of the measurement frame, the mask image or the restriction interval. E.g. you can create a binary image that contains only circular objects if you set restrictions on circularity feature.
See Also
_Restrictions, _ObjectMeasSetup, _FieldMeasSetup
Description
Restrictions(FeatName
, intValid
, intInside
, doubleFeatLow
, doubleFeatHigh
);
This function defines restriction interval of the feature.
Parameters
See Also
ResetRestrictions
This function runs the Measure > Perform Measurement command.
Description
ScanObjects();
This function performs measurement of the defined features over each object.
Note
The segmented image (=current binary) is scanned and a set of size, shape, color and density features is measured (for measurement of color and density features underlying current color (gray) image is used). The set of features is defined by Object Features command (Measure menu). Only objects within the measurement frame and the mask image are measured. Scan Objects command is an executable command of object measurement. Before calling it, you have to define the measurement using Object Features command. The Scan Objects command accepts only objects that match the restriction criteria defined by Restrictions command.
See Also
_ObjectData, Restrictions, GenerateBinary, MeasFrame, MaskOn
Description
ScanObjectsND( intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function performs measurement of the defined features over each object on the selected dimension.
Parameters
Note
The segmented image (=current binary) is scanned and a set of size, shape, color and density features is measured (for measurement of color and density features underlying current color (gray) image is used). The set of features is defined by Object Features command (Measure menu). Only objects within the measurement frame and the mask image are measured. Scan Objects command is an executable command of object measurement. Before calling it, you have to define the measurement using the Object Features command. The Scan Objects command accepts only objects that match the restriction criteria defined by Restrictions command (Measure menu).
See Also
_ObjectData, Restrictions, GenerateBinary, MeasFrame, MaskOn
Description
SelectObjectFeature(
char *FeatName
);
This function defines a feature to be included to object measurement. This function is typically called, when you invoke the Object Features (Measure menu). An interactive equivalent is the _ObjectMeasSetup function which generates one or more of the SelectObjectFeature function(s).
See Also
_ObjectMeasSetup, ResetObjectFeatures
Description
UpdateCurrentMeasurement();
Updates Automated Measurement Results data.
Description
_GenerateBinaryND();
This function equals the GenerateBinary function except when performed on ND2 document you will be prompted to select whether to process the current image, selected dimension, or the whole ND document.
See Also
GenerateBinary
This function runs the Measure > Inspect objects command.
Description
_InspectObjects();
This function opens the Inspect Object dialog window which inspects the objects according to two selected features.
Description
_MeasureObjectsND();
This function performs the object measurement on an ND document. The Measure Objects window is displayed.
Description
_ObjectData();
This function displays the Automated Measurement Results dialog box.
See Also
ScanObjects, ResetObjectFeatures, SelectObjectFeature, Restrictions, DataDelimiter, ChangeObjective
This function runs the Measure > Object Features command.
Description
_ObjectMeasSetup();
The function displays the Object Measurement Setup dialog box.
See Also
ResetObjectFeatures, SelectObjectFeature
Description
_Restrictions();
This function displays the Measurement Restrictions dialog box.
See Also
Restrictions
Description
_ScanObjects();
This function equals the ScanObjects function except when performed on ND2 document you will be prompt to select whether to process the current image, selected dimension, or the whole ND document.
See Also
ScanObjects