For each voxel of a gradient image, gray level values within the neighborhood in the direction of the gradient
are computed (given by X, Y, and Z gradients). If this value is greater than all of its neighbors it is kept,
otherwise it is set to 0.
This algorithm eliminates some noise effects. It is very useful after having applied the
GradientOperator3d algorithm.
The output edges are one pixel thickness edges. It is then possible to perform
a HysteresisThresholding algorithm.
// Function prototype.publicstaticIOLink.ImageViewImageLocalMaxima3d(IOLink.ImageView inputImageX,IOLink.ImageView inputImageY,IOLink.ImageView inputImageZ,IOLink.ImageView inputAmplitudeImage,IOLink.ImageView outputImage =null);
Class Syntax
// Command constructor.ImageLocalMaxima3d();/// Gets the inputImageX parameter./// The X-gradient input image.
std::shared_ptr< iolink::ImageView> inputImageX()const;/// Sets the inputImageX parameter./// The X-gradient input image.void setInputImageX( std::shared_ptr< iolink::ImageView> inputImageX );/// Gets the inputImageY parameter./// The Y-gradient input image.
std::shared_ptr< iolink::ImageView> inputImageY()const;/// Sets the inputImageY parameter./// The Y-gradient input image.void setInputImageY( std::shared_ptr< iolink::ImageView> inputImageY );/// Gets the inputImageZ parameter./// The Z-gradient input image.
std::shared_ptr< iolink::ImageView> inputImageZ()const;/// Sets the inputImageZ parameter./// The Z-gradient input image.void setInputImageZ( std::shared_ptr< iolink::ImageView> inputImageZ );/// Gets the inputAmplitudeImage parameter./// The gradient amplitude input image.
std::shared_ptr< iolink::ImageView> inputAmplitudeImage()const;/// Sets the inputAmplitudeImage parameter./// The gradient amplitude input image.void setInputAmplitudeImage( std::shared_ptr< iolink::ImageView> inputAmplitudeImage );/// Gets the outputImage parameter./// The output image.
std::shared_ptr< iolink::ImageView> outputImage()const;/// Sets the outputImage parameter./// The output image.void setOutputImage( std::shared_ptr< iolink::ImageView> outputImage );// Method to launch the command.void execute();
# Property of the inputImageX parameter.ImageLocalMaxima3d.input_image_x
# Property of the inputImageY parameter.ImageLocalMaxima3d.input_image_y
# Property of the inputImageZ parameter.ImageLocalMaxima3d.input_image_z
# Property of the inputAmplitudeImage parameter.ImageLocalMaxima3d.input_amplitude_image
# Property of the outputImage parameter.ImageLocalMaxima3d.output_image
// Method to launch the command.
execute()
// Command constructor.ImageLocalMaxima3d()// Property of the inputImageX parameter.ImageLocalMaxima3d.inputImageX
// Property of the inputImageY parameter.ImageLocalMaxima3d.inputImageY
// Property of the inputImageZ parameter.ImageLocalMaxima3d.inputImageZ
// Property of the inputAmplitudeImage parameter.ImageLocalMaxima3d.inputAmplitudeImage
// Property of the outputImage parameter.ImageLocalMaxima3d.outputImage
// Method to launch the command.Execute()