Shapeworks Studio
2.1
Shape analysis software suite
|
This filter generates an antialiased and smoothed signed distance transform from the input label map image. More...
#include <itkPSMImplicitSurfaceImageFilter.h>
Public Types | |
typedef PSMImplicitSurfaceImageFilter | Self |
typedef ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::PixelType | PixelType |
Public Member Functions | |
itkNewMacro (Self) | |
itkTypeMacro (PSMImplicitSurfaceImageFilter, ImageToImageFilter) | |
itkStaticConstMacro (Dimension, unsigned int, TInputImage::ImageDimension) | |
void | GenerateData () |
itkSetMacro (SmoothingSigma, double) | |
itkGetMacro (SmoothingSigma, double) | |
itkSetMacro (IsosurfaceValue, PixelType) | |
itkGetMacro (IsosurfaceValue, PixelType) | |
Protected Member Functions | |
void | PrintSelf (std::ostream &os, Indent indent) const |
This filter generates an antialiased and smoothed signed distance transform from the input label map image.
This filter may be used to turn a label map (segmentation) image into a smoothed, signed distance transform image. The distance transform image can be used as an implicit surface representation, where the zero level-set in the image represents the surface. Outputs from this filter are suitable for direct input into any of the PSM shape modeling filters, such as PSMEntropyShapeModelingFilter.
There are two parameters for this filter. The first parameter, IsosurfaceValue, is the value of the level-set in the input volume that you wish to be converted to the zero level-set in the output and, thus, the implicit surface representation. By default, this value is 0.5. The second parameter, SmoothingSigma, is the standard deviation of the Gaussian blurring kernel that is applied to the signed distance transform. By default, this parameter is zero, which indicates no blurring should occur. In general, some smoothing may be desireable to remove artifacts in the distance transform. Size of the blurring kernel is specified in physical units of the input volume.
This filter is templated over the input and output image types. Typical input and output image types are unsigned char for the input (label map) and a float image for the output (signed distance transform).
Definition at line 60 of file itkPSMImplicitSurfaceImageFilter.h.
typedef TInputImage itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::InputImageType |
Image-type-related typedefs
Definition at line 71 of file itkPSMImplicitSurfaceImageFilter.h.
typedef PSMImplicitSurfaceImageFilter itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 65 of file itkPSMImplicitSurfaceImageFilter.h.
void itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::GenerateData | ( | ) |
Do the work of batch-processing the input images.
Definition at line 41 of file itkPSMImplicitSurfaceImageFilter.hxx.
itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::itkSetMacro | ( | SmoothingSigma | , |
double | |||
) |
Set/Get the Gaussian smoothing standard deviation parameter. The default value is zero, which means no smoothing will take place by default. The value is in given in the units of the output image volume.
itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::itkSetMacro | ( | IsosurfaceValue | , |
PixelType | |||
) |
Get/Set the value for the isosurface in the input image volume. This is the value in the input image that will be converted to the zero level-set in the output volume. The default value is zero.
itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::itkStaticConstMacro | ( | Dimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Dimensionality of the domain of the particle system.
itk::PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage >::itkTypeMacro | ( | PSMImplicitSurfaceImageFilter< TInputImage, TOutputImage > | , |
ImageToImageFilter | |||
) |
Run-time type information (and related methods).