ImageDev

IsolatedPoints3d

Point detector selecting object made up of a single point in a three-dimensional binary image.

Access to parameter description

For an introduction: The isolated points of a binary image are found by performing a HMT transformation with the following configuration: $$ \begin{array}{ccc} 0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0 \end{array} ~~~~~~~~~~~~ \begin{array}{ccc} 0 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 0 \end{array} ~~~~~~~~~~~~ \begin{array}{ccc} 0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0 \end{array} $$
See also

Function Syntax

This function returns the outputBinaryImage output parameter.
// Function prototype.
std::shared_ptr< iolink::ImageView >
isolatedPoints3d( std::shared_ptr< iolink::ImageView > inputBinaryImage, std::shared_ptr< iolink::ImageView > outputBinaryImage = NULL );
This function returns the outputBinaryImage output parameter.
// Function prototype.
isolated_points_3d( input_binary_image, output_binary_image = None )
This function returns the outputBinaryImage output parameter.
// Function prototype.
public static IOLink.ImageView
IsolatedPoints3d( IOLink.ImageView inputBinaryImage, IOLink.ImageView outputBinaryImage = null );

Class Syntax

Parameters

Class Name IsolatedPoints3d

Parameter Name Description Type Supported Values Default Value
input
inputBinaryImage
The binary input image. Image Binary nullptr
output
outputBinaryImage
The output binary image. Its size 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" );

IsolatedPoints3d isolatedPoints3dAlgo;
isolatedPoints3dAlgo.setInputBinaryImage( foam_sep );
isolatedPoints3dAlgo.execute();

std::cout << "outputBinaryImage:" << isolatedPoints3dAlgo.outputBinaryImage()->toString();
foam_sep = imagedev.read_vip_image(imagedev_data.get_image_path("foam_sep.vip"))

isolated_points_3d_algo = imagedev.IsolatedPoints3d()
isolated_points_3d_algo.input_binary_image = foam_sep
isolated_points_3d_algo.execute()

print( "output_binary_image:", str( isolated_points_3d_algo.output_binary_image ) )
ImageView foam_sep = Data.ReadVipImage( @"Data/images/foam_sep.vip" );

IsolatedPoints3d isolatedPoints3dAlgo = new IsolatedPoints3d
{
    inputBinaryImage = foam_sep
};
isolatedPoints3dAlgo.Execute();

Console.WriteLine( "outputBinaryImage:" + isolatedPoints3dAlgo.outputBinaryImage.ToString() );

Function Examples

auto foam_sep = readVipImage( std::string( IMAGEDEVDATA_IMAGES_FOLDER ) + "foam_sep.vip" );

auto result = isolatedPoints3d( foam_sep );

std::cout << "outputBinaryImage:" << result->toString();
foam_sep = imagedev.read_vip_image(imagedev_data.get_image_path("foam_sep.vip"))

result = imagedev.isolated_points_3d( foam_sep )

print( "output_binary_image:", str( result ) )
ImageView foam_sep = Data.ReadVipImage( @"Data/images/foam_sep.vip" );

IOLink.ImageView result = Processing.IsolatedPoints3d( foam_sep );

Console.WriteLine( "outputBinaryImage:" + result.ToString() );