9.67. ITK Signed Danielsson Distance Map Image Filter

This filter computes the signed distance map of the input image as an approximation with pixel accuracy to the Euclidean distance.

Group (Subgroup)

ITKDistanceMap (DistanceMap)

Description

This class is parameterized over the type of the input image and the type of the output image.

For purposes of evaluating the signed distance map, the input is assumed to be binary composed of pixels with value 0 and non-zero.

The inside is considered as having negative distances. Outside is treated as having positive distances. To change the convention, use the InsideIsPositive(bool) function.

As a convention, the distance is evaluated from the boundary of the ON pixels.

The filter returns

\li A signed distance map with the approximation to the euclidean distance.

\li A voronoi partition. (See itkDanielssonDistanceMapImageFilter)

\li A vector map containing the component of the vector relating the current pixel with the closest point of the closest object to this pixel. Given that the components of the distance are computed in “pixels”, the vector is represented by an itk::Offset . That is, physical coordinates are not used. (See itkDanielssonDistanceMapImageFilter)

Warning

This filter internally uses the DanielssonDistanceMap filter. This filter is N-dimensional.

See Also

Input Parameter(s)

Parameter Name

Parameter Type

Parameter Notes

Description

Inside Is Positive

Bool

Set if the inside represents positive values in the signed distance map. By convention ON pixels are treated as inside pixels.

Squared Distance

Bool

Set if the distance should be squared.

Use Image Spacing

Bool

Set if image spacing should be used in computing distances.

Input Cell Data

Parameter Name

Parameter Type

Parameter Notes

Description

Image Geometry

Geometry Selection

Image

Select the Image Geometry Group from the DataStructure.

Input Cell Data

Array Selection

Allowed Types: int8, uint8, int16, uint16, int32, uint32, int64, uint64

The image data that will be processed by this filter.

Output Cell Data

Parameter Name

Parameter Type

Parameter Notes

Description

Output Image Data Array

DataObjectName

The result of the processing will be stored in this Data Array.

Example Pipelines

DREAM3D Mailing Lists

If you need help, need to file a bug report or want to request a new feature, please head over to the DREAM3DNX-Issues GitHub site where the community of DREAM3D-NX users can help answer your questions.