ObjectBoundaries
Extracts the boundary points of objects from a segmented image.
Access to parameter description
For an introduction:
See also
Access to parameter description
For an introduction:
- section Mathematical Morphology
- section Introduction To Erosion
See also
Function Syntax
This function returns outputObjectImage.
// Function prototype
std::shared_ptr< iolink::ImageView > objectBoundaries( std::shared_ptr< iolink::ImageView > inputObjectImage, std::shared_ptr< iolink::ImageView > outputObjectImage = NULL );
This function returns outputObjectImage.
// Function prototype. object_boundaries( input_object_image, output_object_image = None )
This function returns outputObjectImage.
// Function prototype. public static IOLink.ImageView ObjectBoundaries( IOLink.ImageView inputObjectImage, IOLink.ImageView outputObjectImage = null );
Class Syntax
Parameters
Class Name | ObjectBoundaries |
---|
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
inputObjectImage |
The input binary or label image. | Image | Binary or Label | nullptr | |
outputObjectImage |
The output binary or label image. Its dimensions and type are forced to the same values as the input. | Image | nullptr |
Object Examples
auto foam_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam_sep.vip" ); ObjectBoundaries objectBoundariesAlgo; objectBoundariesAlgo.setInputObjectImage( foam_sep ); objectBoundariesAlgo.execute(); std::cout << "outputObjectImage:" << objectBoundariesAlgo.outputObjectImage()->toString();
foam_sep = imagedev.read_vip_image(imagedev_data.get_image_path("foam_sep.vip")) object_boundaries_algo = imagedev.ObjectBoundaries() object_boundaries_algo.input_object_image = foam_sep object_boundaries_algo.execute() print( "output_object_image:", str( object_boundaries_algo.output_object_image ) )
ImageView foam_sep = Data.ReadVipImage( @"Data/images/foam_sep.vip" ); ObjectBoundaries objectBoundariesAlgo = new ObjectBoundaries { inputObjectImage = foam_sep }; objectBoundariesAlgo.Execute(); Console.WriteLine( "outputObjectImage:" + objectBoundariesAlgo.outputObjectImage.ToString() );
Function Examples
auto foam_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam_sep.vip" ); auto result = objectBoundaries( foam_sep ); std::cout << "outputObjectImage:" << result->toString();
foam_sep = imagedev.read_vip_image(imagedev_data.get_image_path("foam_sep.vip")) result = imagedev.object_boundaries( foam_sep ) print( "output_object_image:", str( result ) )
ImageView foam_sep = Data.ReadVipImage( @"Data/images/foam_sep.vip" ); IOLink.ImageView result = Processing.ObjectBoundaries( foam_sep ); Console.WriteLine( "outputObjectImage:" + result.ToString() );