_CloseHolesBinary, _CloseHolesBinaryX, _ConnectObjectsBinary, _CreateCentroidsBinary, _SmoothBinary, _SmoothBinaryND, CleanBinary, CleanBinaryND, CloseHolesBinary, CloseHolesBinaryND, ConnectObjectsBinary, ConnectObjectsBinaryND, CreateCentroidsBinary, CreateCentroidsBinaryND, SmoothBinary, SmoothBinaryND
Interactive menu command to this function: Binary > Clean
Description
CleanBinary( intCount
, intMatrixType
);
This function removes small objects from binary image. An interactive equivalent is the _CleanBinary function.
Parameters
Note
The function is performed in two steps. Firstly, the binary image is eroded Number times by structuring element. Then the remaining objects are conditionally dilated within the boundaries of the original image or in other words are reconstructed to their original shape. This is used frequently to remove small or noisy objects.
Description
CleanBinaryND( intCount
, intMatrixType
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function removes small objects from the binary image.
Parameters
Note
The function is performed in two steps. Firstly, the binary image is eroded Number times by structuring element. Then the remaining objects are conditionally dilated within the boundaries of the original image or in other words are reconstructed to their original shape. This is used frequently to remove small or noisy objects.
Interactive menu command to this function: Binary > Close Holes
Description
CloseHolesBinary( intCount
, intMatrixType
);
This function removes small holes from current binary image. An interactive equivalent is the _CloseHolesBinary function.
Description
CloseHolesBinaryND( intCount
, intMatrixType
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function removes small holes from current binary image. An interactive equivalent is the _CloseHolesBinary function.
Parameters
Description
ConnectObjectsBinary(
int DistLen
);
This function connects neighboring binary objects. The distance between two objects to be connected must be smaller than the defined length.
Description
ConnectObjectsBinaryND( intDistLen
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function connects neighboring binary objects on an ND document. The distance between two objects to be connected must be smaller than the defined length.
Parameters
Description
CreateCentroidsBinary(
int CentroidType
);
This function calculates and marks centroids of all binary objects. Single-pixel objects will be created.
Description
CreateCentroidsBinaryND( intCentroidType
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function calculates and marks centroids of all binary objects of the specified ND dimension. Single-pixel objects will be created.
Parameters
Interactive menu command to this function: Binary > Smooth
(requires: Automatic Measurement)
Description
SmoothBinary(
int Count
);
Smooths contours of all binary image objects.
Description
SmoothBinaryND( intCount
, intNDTLoop
, intNDMPLoop
, intNDZLoop
);
This function smooths binary image contours.
Parameters
This function runs the Binary > Close Holes menu command.
(requires: Automatic Measurement)
Description
_CloseHolesBinary();
_CloseHolesBinaryX();
This function displays the Close Holes on Binary Image dialog box.
Description
_ConnectObjectsBinary();
Opens the Connect Objects on Binary Image dialog window.
Description
_CreateCentroidsBinary();
This function opens a window which calculates and marks centroids of the binary objects. Single-pixel objects will be created.
This function runs the Binary > Smooth menu command.
Description
_SmoothBinary();
This function displays a dialog window where the user shall set number of iterations. Depending on the type of the current image (ND or non-ND), either the SmoothBinary or the SmoothBinaryND function is called.