Class SignedDanielssonDistanceMapImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.SignedDanielssonDistanceMapImageFilter
This filter computes the signed distance map of the input image as an
approximation with pixel accuracy to the Euclidean distance.
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
A signed distance map with the approximation to the euclidean
distance.
A voronoi partition. (See itkDanielssonDistanceMapImageFilter)
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)
 This filter internally uses the DanielssonDistanceMap filter. This
filter is N-dimensional.
See:
 itkDanielssonDistanceMapImageFilter
 itk::simple::SignedDanielssonDistanceMap for the procedural interface
 itk::SignedDanielssonDistanceMapImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkSignedDanielssonDistanceMapImageFilter.h
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::SignedDanielssonDistanceMapImageFilter::SignedDanielssonDistanceMapImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedSignedDanielssonDistanceMapImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::SignedDanielssonDistanceMapImageFilter::~SignedDanielssonDistanceMapImageFilter() DestructorImage itk::simple::SignedDanielssonDistanceMapImageFilter::Execute(const Image &image1) Execute the filter on the input imageprotected voidfinalize()protected static longbooleanbool itk::simple::SignedDanielssonDistanceMapImageFilter::GetInsideIsPositive() const Get if the inside represents positive values in the signed distance map.getName()std::string itk::simple::SignedDanielssonDistanceMapImageFilter::GetName() const Name of this classbooleanbool itk::simple::SignedDanielssonDistanceMapImageFilter::GetSquaredDistance() const Get the distance squared.booleanbool itk::simple::SignedDanielssonDistanceMapImageFilter::GetUseImageSpacing() const Get whether spacing is used.Image itk::simple::SignedDanielssonDistanceMapImageFilter::GetVectorDistanceMap() const Get vector field of distances.Image itk::simple::SignedDanielssonDistanceMapImageFilter::GetVoronoiMap() const Get Voronoi Map This map shows for each pixel what object is closest to it.voidSelf& itk::simple::SignedDanielssonDistanceMapImageFilter::InsideIsPositiveOff()voidSelf& itk::simple::SignedDanielssonDistanceMapImageFilter::InsideIsPositiveOn() Set the value of InsideIsPositive to true or false respectfully.voidsetInsideIsPositive(boolean InsideIsPositive) Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SetInsideIsPositive(bool InsideIsPositive) Set if the inside represents positive values in the signed distance map.voidsetSquaredDistance(boolean SquaredDistance) Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SetSquaredDistance(bool SquaredDistance) Set if the distance should be squared.voidsetUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set if image spacing should be used in computing distances.voidSelf& itk::simple::SignedDanielssonDistanceMapImageFilter::SquaredDistanceOff()voidSelf& itk::simple::SignedDanielssonDistanceMapImageFilter::SquaredDistanceOn() Set the value of SquaredDistance to true or false respectfully.protected static longtoString()std::string itk::simple::SignedDanielssonDistanceMapImageFilter::ToString() const Print ourselves outvoidSelf& itk::simple::SignedDanielssonDistanceMapImageFilter::UseImageSpacingOff()voidSelf& itk::simple::SignedDanielssonDistanceMapImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.Methods inherited from class org.itk.simple.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
SignedDanielssonDistanceMapImageFilterprotected SignedDanielssonDistanceMapImageFilter(long cPtr, boolean cMemoryOwn) 
- 
SignedDanielssonDistanceMapImageFilterpublic SignedDanielssonDistanceMapImageFilter()itk::simple::SignedDanielssonDistanceMapImageFilter::SignedDanielssonDistanceMapImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::SignedDanielssonDistanceMapImageFilter::~SignedDanielssonDistanceMapImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setInsideIsPositivepublic void setInsideIsPositive(boolean InsideIsPositive) Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SetInsideIsPositive(bool InsideIsPositive) Set if the inside represents positive values in the signed distance map. By convention ON pixels are treated as inside pixels.
- 
insideIsPositiveOnpublic void insideIsPositiveOn()Self& itk::simple::SignedDanielssonDistanceMapImageFilter::InsideIsPositiveOn() Set the value of InsideIsPositive to true or false respectfully.
- 
insideIsPositiveOffpublic void insideIsPositiveOff()Self& itk::simple::SignedDanielssonDistanceMapImageFilter::InsideIsPositiveOff()
- 
getInsideIsPositivepublic boolean getInsideIsPositive()bool itk::simple::SignedDanielssonDistanceMapImageFilter::GetInsideIsPositive() const Get if the inside represents positive values in the signed distance map. See GetInsideIsPositive()
- 
setSquaredDistancepublic void setSquaredDistance(boolean SquaredDistance) Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SetSquaredDistance(bool SquaredDistance) Set if the distance should be squared.
- 
squaredDistanceOnpublic void squaredDistanceOn()Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SquaredDistanceOn() Set the value of SquaredDistance to true or false respectfully.
- 
squaredDistanceOffpublic void squaredDistanceOff()Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SquaredDistanceOff()
- 
getSquaredDistancepublic boolean getSquaredDistance()bool itk::simple::SignedDanielssonDistanceMapImageFilter::GetSquaredDistance() const Get the distance squared.
- 
setUseImageSpacingpublic void setUseImageSpacing(boolean UseImageSpacing) Self& itk::simple::SignedDanielssonDistanceMapImageFilter::SetUseImageSpacing(bool UseImageSpacing) Set if image spacing should be used in computing distances.
- 
useImageSpacingOnpublic void useImageSpacingOn()Self& itk::simple::SignedDanielssonDistanceMapImageFilter::UseImageSpacingOn() Set the value of UseImageSpacing to true or false respectfully.
- 
useImageSpacingOffpublic void useImageSpacingOff()Self& itk::simple::SignedDanielssonDistanceMapImageFilter::UseImageSpacingOff()
- 
getUseImageSpacingpublic boolean getUseImageSpacing()bool itk::simple::SignedDanielssonDistanceMapImageFilter::GetUseImageSpacing() const Get whether spacing is used.
- 
getVoronoiMapImage itk::simple::SignedDanielssonDistanceMapImageFilter::GetVoronoiMap() const Get Voronoi Map This map shows for each pixel what object is closest to it. Each object should be labeled by a number (larger than 0), so the map has a value for each pixel corresponding to the label of the closest object. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getVectorDistanceMapImage itk::simple::SignedDanielssonDistanceMapImageFilter::GetVectorDistanceMap() const Get vector field of distances. This is a measurement. Its value is updated in the Execute methods, so the value will only be valid after an execution.
- 
getNamestd::string itk::simple::SignedDanielssonDistanceMapImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::SignedDanielssonDistanceMapImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-