ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkSparseFieldLevelSetImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > |
Protected Attributes | |
double | m_ConstantGradientValue |
ValueType | m_IsoSurfaceValue |
LayerNodeStorageType::Pointer | m_LayerNodeStore |
LayerListType | m_Layers |
SparseFieldCityBlockNeighborList < NeighborhoodIterator < OutputImageType > > | m_NeighborList |
unsigned int | m_NumberOfLayers |
OutputImageType::Pointer | m_ShiftedImage |
StatusImageType::Pointer | m_StatusImage |
UpdateBufferType | m_UpdateBuffer |
Protected Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
IdentifierType | m_ElapsedIterations |
bool | m_IsInitialized |
bool | m_ManualReinitialization |
double | m_MaximumRMSError |
IdentifierType | m_NumberOfIterations |
double | m_RMSChange |
Static Protected Attributes | |
static StatusType | m_StatusActiveChangingDown |
static StatusType | m_StatusActiveChangingUp |
static StatusType | m_StatusBoundaryPixel |
static StatusType | m_StatusChanging |
static StatusType | m_StatusNull |
static ValueType | m_ValueOne |
static ValueType | m_ValueZero |
Private Attributes | |
bool | m_BoundsCheckingActive |
bool | m_InterpolateSurfaceLocation |
SparseFieldLevelSetImageFilter (const Self &) | |
void | operator= (const Self &) |
Additional Inherited Members |
This class implements a finite difference partial differential equation solver for evolving surfaces embedded in volumes as level-sets.
Definition at line 230 of file itkSparseFieldLevelSetImageFilter.h.
typedef SmartPointer< const Self > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
Definition at line 239 of file itkSparseFieldLevelSetImageFilter.h.
typedef OutputImageType::IndexType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::IndexType |
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 255 of file itkSparseFieldLevelSetImageFilter.h.
typedef TInputImage itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InputImageType |
Information derived from the image types.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 250 of file itkSparseFieldLevelSetImageFilter.h.
typedef std::vector< LayerPointerType > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerListType |
A type for a list of LayerPointerTypes
Definition at line 271 of file itkSparseFieldLevelSetImageFilter.h.
typedef ObjectStore< LayerNodeType > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerNodeStorageType |
Memory pre-allocator used to manage layer nodes in a multi-threaded environment.
Definition at line 283 of file itkSparseFieldLevelSetImageFilter.h.
typedef SparseFieldLevelSetNode< IndexType > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerNodeType |
Node type used in sparse field layer lists.
Definition at line 264 of file itkSparseFieldLevelSetImageFilter.h.
typedef LayerType::Pointer itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerPointerType |
Definition at line 268 of file itkSparseFieldLevelSetImageFilter.h.
typedef SparseFieldLayer< LayerNodeType > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::LayerType |
A list type used in the algorithm.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >.
Definition at line 267 of file itkSparseFieldLevelSetImageFilter.h.
typedef Superclass::NeighborhoodScalesType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::NeighborhoodScalesType |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >.
Definition at line 244 of file itkSparseFieldLevelSetImageFilter.h.
typedef TOutputImage itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::OutputImageType |
Superclass typedefs.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 254 of file itkSparseFieldLevelSetImageFilter.h.
typedef SmartPointer< Self > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
Definition at line 238 of file itkSparseFieldLevelSetImageFilter.h.
typedef Superclass::RadiusType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::RadiusType |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
Definition at line 243 of file itkSparseFieldLevelSetImageFilter.h.
typedef SparseFieldLevelSetImageFilter itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
Definition at line 236 of file itkSparseFieldLevelSetImageFilter.h.
typedef Image< StatusType, itkGetStaticConstMacro(ImageDimension) > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::StatusImageType |
The type of the image used to index status information. Necessary for the internals of the algorithm.
Definition at line 279 of file itkSparseFieldLevelSetImageFilter.h.
typedef signed char itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::StatusType |
Type used for storing status information
Definition at line 274 of file itkSparseFieldLevelSetImageFilter.h.
typedef FiniteDifferenceImageFilter< TInputImage, TOutputImage > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
Definition at line 237 of file itkSparseFieldLevelSetImageFilter.h.
typedef Superclass::TimeStepType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::TimeStepType |
Typedefs from the superclass
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 242 of file itkSparseFieldLevelSetImageFilter.h.
typedef std::vector< ValueType > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::UpdateBufferType |
Container type used to store updates to the active layer.
Definition at line 286 of file itkSparseFieldLevelSetImageFilter.h.
typedef OutputImageType::ValueType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ValueType |
The data type used in numerical computations. Derived from the output image type.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, and itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 261 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
End concept checking
|
protected |
End concept checking
|
private |
The RMS change calculated from each update. Can be used by a subclass to determine halting criteria. Valid only for the previous iteration, not during the current iteration. Calculated in ApplyUpdate. This flag tells the solver whether or not to interpolate for the actual surface location when calculating change at each active layer node. By default this is turned on. Subclasses which do not sample propagation (speed), advection, or curvature terms should turn this flag off.
|
protectedvirtual |
Reserves memory in the update buffer. Called before each iteration.
Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
Applies the update buffer values to the active layer and reconstructs the sparse field layers for the next iteration.
Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
Traverses the active layer list and calculates the change at these indices to be applied in the current iteration.
Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
|
inlineprotectedvirtual |
This function allows a subclass to override the way in which updates to output values are applied during each iteration. The default simply follows the standard finite difference scheme of scaling the change by the timestep and adding to the value of the previous iteration.
Reimplemented in itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >.
Definition at line 342 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
Constructs the active layer and initialize the first layers inside and outside of the active layer. The active layer defines the position of the zero level set by its values, which are constrained within a range around zero.
|
protected |
Initializes a layer of the sparse field using a previously initialized layer. Builds the list of nodes in m_Layer[to] using m_Layer[from]. Marks values in the m_StatusImage.
|
protectedvirtual |
Copies the input to the output image. Processing occurs on the output image, so the data type of the output image determines the precision of the calculations (i.e. double or float). This method overrides the parent class method to do some additional processing.
Implements itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
Reimplemented in itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
|
virtual |
Get the RMS change calculated in the PREVIOUS iteration. This value is the square root of the average square of the change value of all pixels updated during the previous iteration. Get/Set the value of the InterpolateSurfaceLocation flag. This flag tells the solver whether or not to interpolate for the surface location when calculating change at a voxel location. Turned on by default. Some applications may not use this value and can safely turn the flag off.
|
virtual |
Set/Get the value of the isosurface to use in the input image.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get the number of layers to use in the sparse field. Argument is the number of layers on ONE side of the active layer, so the total layers in the sparse field is 2 * NumberOfLayers +1
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Constructs the sparse field layers and initializes their values.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
|
protected |
Initializes the values of the active layer set.
|
protectedvirtual |
This method pre-processes pixels inside and outside the sparse field layers. The default is to set them to positive and negative values, respectively. This is not necessary as part of the calculations, but produces a more intuitive output for the user.
|
inline |
See Get/SetInterpolateSurfaceLocation
Definition at line 317 of file itkSparseFieldLevelSetImageFilter.h.
|
inline |
See Get/SetInterpolateSurfaceLocation
Definition at line 315 of file itkSparseFieldLevelSetImageFilter.h.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
Reimplemented in itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
|
private |
The RMS change calculated from each update. Can be used by a subclass to determine halting criteria. Valid only for the previous iteration, not during the current iteration. Calculated in ApplyUpdate. This flag tells the solver whether or not to interpolate for the actual surface location when calculating change at each active layer node. By default this is turned on. Subclasses which do not sample propagation (speed), advection, or curvature terms should turn this flag off.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CannySegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
This method packages the output(s) into a consistent format. The default implementation produces a volume with the final solution values in the sparse field, and inside and outside values elsewhere as appropriate.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::ThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >, itk::GeodesicActiveContourShapePriorLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::VectorThresholdSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::GeodesicActiveContourLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::CurvesLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::LaplacianSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >, itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.
|
protected |
|
protected |
|
protected |
Adjusts the values associated with all the index layers of the sparse field by propagating out one layer at a time from the active set. This method also takes care of deleting nodes from the layers which have been marked in the status image as having been moved to other layers.
|
protected |
Adjusts the values in a single layer "to" using values in a neighboring layer "from". The list of indices in "to" are traversed and assigned new values appropriately. Any indices in "to" without neighbors in "from" are moved into the "promote" layer (or deleted if "promote" is greater than the number of layers). "InOrOut" == 1 indicates this propagation is inwards (more negative). "InOrOut" == 2 indicates this propagation is outwards (more positive).
|
virtual |
Get the RMS change calculated in the PREVIOUS iteration. This value is the square root of the average square of the change value of all pixels updated during the previous iteration. Get/Set the value of the InterpolateSurfaceLocation flag. This flag tells the solver whether or not to interpolate for the surface location when calculating change at a voxel location. Turned on by default. Some applications may not use this value and can safely turn the flag off.
|
virtual |
Set/Get the value of the isosurface to use in the input image.
|
virtual |
Set/Get the number of layers to use in the sparse field. Argument is the number of layers on ONE side of the active layer, so the total layers in the sparse field is 2 * NumberOfLayers +1
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >.
itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< typename TOutputImage::PixelType > | ) |
Begin concept checking This class requires OutputEqualityComparableCheck in the form of ( Concept::EqualityComparable< typename TOutputImage::PixelType > )
itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Convertible< double, typename TOutputImage::PixelType > | ) |
This class requires DoubleConvertibleToOutputCheck in the form of ( Concept::Convertible< double, typename TOutputImage::PixelType > )
Reimplemented in itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >.
itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< typename TOutputImage::PixelType > | ) |
This class requires OutputOStreamWritableCheck in the form of ( Concept::OStreamWritable< typename TOutputImage::PixelType > )
|
protected |
Updates the active layer values using m_UpdateBuffer. Also creates an "up" and "down" list for promotion/demotion of indices leaving the active set.
|
static |
Dimensionality of input and output data is assumed to be the same.
Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >.
Definition at line 257 of file itkSparseFieldLevelSetImageFilter.h.
|
private |
This flag is true when methods need to check boundary conditions and false when methods do not need to check for boundary conditions.
Definition at line 507 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
The constant gradient to maintain between isosurfaces in the sparse-field of the level-set image. This value defaults to 1.0
Definition at line 432 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
The RMS change calculated from each update. Can be used by a subclass to determine halting criteria. Valid only for the previous iteration, not during the current iteration. Calculated in ApplyUpdate. This flag tells the solver whether or not to interpolate for the actual surface location when calculating change at each active layer node. By default this is turned on. Subclasses which do not sample propagation (speed), advection, or curvature terms should turn this flag off.
Definition at line 499 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
The value in the input which represents the isosurface of interest.
Definition at line 484 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
Storage for layer node objects.
Definition at line 481 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
An array which contains all of the layers needed in the sparse field. Layers are organized as follows: m_Layer[0] = active layer, m_Layer[i:odd] = inside layer (i+1)/2, m_Layer[i:even] = outside layer i/2
Definition at line 469 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
Connectivity information for examining neighbor pixels.
Definition at line 424 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
The number of layers to use in the sparse field. Sparse field will consist of m_NumberOfLayers layers on both sides of a single active layer. This active layer is the interface of interest, i.e. the zero level set.
Definition at line 475 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
This image is a copy of the input with m_IsoSurfaceValue subtracted from each pixel. This way we only need to consider the zero level set in our calculations. Makes the implementation easier and more efficient.
Definition at line 463 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates a pending change to a more negative sparse field.
Definition at line 450 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates a pending change to a more positive sparse field.
Definition at line 446 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates a pixel is on the boundary of the image
Definition at line 454 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates pending change to another sparse field layer.
Definition at line 442 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
An image of status values used internally by the algorithm.
Definition at line 478 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value used as a default for indices which have no meaningful status.
Definition at line 458 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
The update buffer used to store change values computed in CalculateChange.
Definition at line 488 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Multiplicative identity of the ValueType.
Definition at line 435 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Additive identity of the ValueType.
Definition at line 438 of file itkSparseFieldLevelSetImageFilter.h.