TriplePoints2d
Point detector selecting triple points of a skeleton in a two-dimensional binary image.
Access to parameter description
For an introduction:
×1××1×1×1 1×××1×1×1
Segmentation of particles:
In the following figure, it is possible to differentiate particles by counting their number of triple points (in black) and their number of extremities (in gray).

Figure 1. Skeleton, end points, and triple points
See also
Access to parameter description
For an introduction:
- section Mathematical Morphology
- section Point Detectors
×1××1×1×1 1×××1×1×1
Segmentation of particles:
In the following figure, it is possible to differentiate particles by counting their number of triple points (in black) and their number of extremities (in gray).

Figure 1. Skeleton, end points, and triple points
See also
Function Syntax
This function returns outputBinaryImage.
// Function prototype
std::shared_ptr< iolink::ImageView > triplePoints2d( std::shared_ptr< iolink::ImageView > inputBinaryImage, std::shared_ptr< iolink::ImageView > outputBinaryImage = NULL );
Class Syntax
Parameters
Parameter Name | Description | Type | Supported Values | Default Value | |
---|---|---|---|---|---|
![]() |
inputBinaryImage |
The binary input 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" ); TriplePoints2d triplePoints2dAlgo; triplePoints2dAlgo.setInputBinaryImage( polystyrene_sep ); triplePoints2dAlgo.execute(); std::cout << "outputBinaryImage:" << triplePoints2dAlgo.outputBinaryImage()->toString();
Function Examples
auto polystyrene_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "polystyrene_sep.vip" ); auto result = triplePoints2d( polystyrene_sep ); std::cout << "outputBinaryImage:" << result->toString();