_CloseHolesBinary, _ConnectObjectsBinary, _ConnectObjectsBinaryGa3, _CreateCentroidsBinary, _SmoothBinary, _SmoothBinaryND, CleanBinary, CleanBinaryND, CloseHolesBinary, CloseHolesBinaryND, ConnectObjectsBinary, ConnectObjectsBinaryGa3, ConnectObjectsBinaryND, CreateCentroidsBinary, CreateCentroidsBinaryND, SmoothBinary, SmoothBinaryND
Interactive 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 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
ConnectObjectsBinaryGa3( intiMaximalDistance
, intNDDimension
);
Connects binary objects which are closer to each other than the specified distance by a thin line.
Parameters
NDDimension
Frame selection of the ND document.
Current frame | |
Time dimension | |
Multipoint dimension | |
Z dimension | |
All frames (the whole ND document). | |
Selection - the frames/dimensions selected by mouse within the ND control bar will be affected. |
Note
Value combination is also possible (e.g.: M+T=3, Z+T=5, M+Z=6).
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 command to this function: Binary > Smooth
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 command.
Description
_CloseHolesBinary();
This function displays the Close Holes on Binary Image dialog box.
Description
_ConnectObjectsBinary();
Opens the Connect Objects on Binary Image dialog window.
Description
_ConnectObjectsBinaryGa3();
Opens Connect Objects Binary dialog window.
See Also
ConnectObjectsBinaryGa3
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 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.