InteriorPoints2d
Point detector retaining interior points of object in a two-dimensional binary image.
Access to parameter description
For an introduction:
See also
Access to parameter description
For an introduction:
- section Mathematical Morphology
- section Point Detectors
See also
Function Syntax
This function returns the outputBinaryImage output parameter.
// Function prototype. std::shared_ptr< iolink::ImageView > interiorPoints2d( std::shared_ptr< iolink::ImageView > inputBinaryImage, std::shared_ptr< iolink::ImageView > outputBinaryImage = NULL );
Class Syntax
Parameters
Class Name | InteriorPoints2d |
---|
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
inputBinaryImage |
The input binary image. | Image | Binary | nullptr | |
outputBinaryImage |
The binary output image. Its size and type are forced to the same values as the input. | Image | nullptr |
Object Examples
auto polystyrene_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_sep.vip" ); InteriorPoints2d interiorPoints2dAlgo; interiorPoints2dAlgo.setInputBinaryImage( polystyrene_sep ); interiorPoints2dAlgo.execute(); std::cout << "outputBinaryImage:" << interiorPoints2dAlgo.outputBinaryImage()->toString();
Function Examples
auto polystyrene_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_sep.vip" ); auto result = interiorPoints2d( polystyrene_sep ); std::cout << "outputBinaryImage:" << result->toString();