Compute distance map. More...
#include <cmtkImageOperationDistanceMap.h>
Public Types | |
typedef UniformDistanceMap < double > | DistanceMapType |
Distance map type. | |
Public Member Functions | |
ImageOperationDistanceMap (const bool signedDistance) | |
Constructor. | |
virtual UniformVolume::SmartPtr | Apply (UniformVolume::SmartPtr &volume) |
Apply this operation to an image in place. | |
Static Public Member Functions | |
static void | NewSigned () |
Create new signed distance map operation. | |
static void | NewUnsigned () |
Create new unsigned distance map operation. | |
Private Attributes | |
bool | m_SignedDistance |
Flag for signed (inside/outside) vs. unsigned (outside only) distance map. |
Compute distance map.
Inherit generic image operation.
Definition at line 44 of file cmtkImageOperationDistanceMap.h.
typedef UniformDistanceMap<double> cmtk::ImageOperationDistanceMap::DistanceMapType |
Distance map type.
Definition at line 50 of file cmtkImageOperationDistanceMap.h.
cmtk::ImageOperationDistanceMap::ImageOperationDistanceMap | ( | const bool | signedDistance ) | [inline] |
Constructor.
Definition at line 53 of file cmtkImageOperationDistanceMap.h.
cmtk::UniformVolume::SmartPtr cmtk::ImageOperationDistanceMap::Apply | ( | UniformVolume::SmartPtr & | volume ) | [virtual] |
Apply this operation to an image in place.
Reimplemented from cmtk::ImageOperation.
Definition at line 35 of file cmtkImageOperationDistanceMap.cxx.
References cmtk::UniformDistanceMap< TDistanceDataType >::Get().
static void cmtk::ImageOperationDistanceMap::NewSigned | ( | ) | [inline, static] |
Create new signed distance map operation.
Definition at line 59 of file cmtkImageOperationDistanceMap.h.
static void cmtk::ImageOperationDistanceMap::NewUnsigned | ( | ) | [inline, static] |
Create new unsigned distance map operation.
Definition at line 65 of file cmtkImageOperationDistanceMap.h.
bool cmtk::ImageOperationDistanceMap::m_SignedDistance [private] |
Flag for signed (inside/outside) vs. unsigned (outside only) distance map.
Definition at line 72 of file cmtkImageOperationDistanceMap.h.