ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkSparseFieldLevelSetImageFilter.h>
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.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
typedef (Concept::EqualityComparable< typename TOutputImage::PixelType >) OutputEqualityComparableCheck | |
typedef (Concept::Convertible< double, typename TOutputImage::PixelType >) DoubleConvertibleToOutputCheck | |
typedef (Concept::OStreamWritable< typename TOutputImage::PixelType >) OutputOStreamWritableCheck | |
virtual void | SetNumberOfLayers (unsigned int _arg) |
virtual unsigned int | GetNumberOfLayers () const |
virtual void | SetIsoSurfaceValue (ValueType _arg) |
virtual ValueType | GetIsoSurfaceValue () const |
virtual void | SetInterpolateSurfaceLocation (bool _arg) |
virtual bool | GetInterpolateSurfaceLocation () const |
void | InterpolateSurfaceLocationOn () |
void | InterpolateSurfaceLocationOff () |
Public Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
virtual const FiniteDifferenceFunctionType::Pointer & | GetDifferenceFunction () const |
virtual const IdentifierType & | GetElapsedIterations () const |
virtual bool | GetIsInitialized () |
virtual void | SetDifferenceFunction (FiniteDifferenceFunctionType *_arg) |
virtual void | SetIsInitialized (bool _arg) |
void | SetStateToInitialized () |
void | SetStateToUninitialized () |
virtual void | SetNumberOfIterations (IdentifierType _arg) |
virtual const IdentifierType & | GetNumberOfIterations () const |
virtual void | SetUseImageSpacing (bool _arg) |
virtual void | UseImageSpacingOn () |
virtual void | UseImageSpacingOff () |
virtual const bool & | GetUseImageSpacing () const |
virtual void | SetMaximumRMSError (double _arg) |
virtual const double & | GetMaximumRMSError () const |
virtual void | SetRMSChange (double _arg) |
virtual const double & | GetRMSChange () const |
virtual void | SetManualReinitialization (bool _arg) |
virtual const bool & | GetManualReinitialization () const |
virtual void | ManualReinitializationOn () |
virtual void | ManualReinitializationOff () |
Public Member Functions inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage > | |
virtual bool | CanRunInPlace () const |
virtual void | SetInPlace (bool _arg) |
virtual bool | GetInPlace () const |
virtual void | InPlaceOn () |
virtual void | InPlaceOff () |
Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
const InputImageType * | GetInput (void) const |
const InputImageType * | GetInput (unsigned int idx) const |
virtual void | PopBackInput () |
virtual void | PopFrontInput () |
virtual void | PushBackInput (const InputImageType *image) |
virtual void | PushFrontInput (const InputImageType *image) |
virtual void | SetInput (const InputImageType *image) |
virtual void | SetInput (unsigned int, const TInputImage *image) |
virtual void | SetCoordinateTolerance (double _arg) |
virtual double | GetCoordinateTolerance () const |
virtual void | SetDirectionTolerance (double _arg) |
virtual double | GetDirectionTolerance () const |
Public Member Functions inherited from itk::ImageSource< TOutputImage > | |
OutputImageType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (DataObject *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
OutputImageType * | GetOutput (void) |
const OutputImageType * | GetOutput (void) const |
virtual ProcessObject::DataObjectPointer | MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) ITK_OVERRIDE |
Public Member Functions inherited from itk::ProcessObject | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual void | EnlargeOutputRequestedRegion (DataObject *) |
virtual const bool & | GetAbortGenerateData () const |
NameArray | GetInputNames () const |
MultiThreader * | GetMultiThreader () const |
DataObjectPointerArraySizeType | GetNumberOfIndexedInputs () const |
DataObjectPointerArraySizeType | GetNumberOfInputs () const |
DataObjectPointerArraySizeType | GetNumberOfOutputs () const |
virtual DataObjectPointerArraySizeType | GetNumberOfValidRequiredInputs () const |
NameArray | GetOutputNames () const |
virtual const float & | GetProgress () const |
NameArray | GetRequiredInputNames () const |
bool | HasInput (const DataObjectIdentifierType &key) const |
bool | HasOutput (const DataObjectIdentifierType &key) const |
virtual DataObjectPointer | MakeOutput (const DataObjectIdentifierType &) |
virtual void | PrepareOutputs () |
virtual void | PropagateRequestedRegion (DataObject *output) |
virtual void | ResetPipeline () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | Update () |
virtual void | UpdateLargestPossibleRegion () |
virtual void | UpdateOutputData (DataObject *output) |
virtual void | UpdateOutputInformation () |
void | UpdateProgress (float progress) |
DataObjectPointerArray | GetInputs () |
DataObjectPointerArray | GetOutputs () |
DataObjectPointerArray | GetIndexedInputs () |
DataObjectPointerArray | GetIndexedOutputs () |
DataObjectPointerArraySizeType | GetNumberOfIndexedOutputs () const |
void | SetProgress (float progress) |
virtual void | SetReleaseDataFlag (bool flag) |
virtual bool | GetReleaseDataFlag () const |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
virtual void | SetReleaseDataBeforeUpdateFlag (bool _arg) |
virtual const bool & | GetReleaseDataBeforeUpdateFlag () const |
virtual void | ReleaseDataBeforeUpdateFlagOn () |
virtual void | ReleaseDataBeforeUpdateFlagOff () |
virtual void | SetNumberOfThreads (ThreadIdType _arg) |
virtual const ThreadIdType & | GetNumberOfThreads () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const ITK_OVERRIDE |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) ITK_OVERRIDE |
virtual void | UnRegister () const ITK_OVERRIDE |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | ImageDimension = OutputImageType::ImageDimension |
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 const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
double | m_ConstantGradientValue |
const InputImageType * | m_InputImage |
bool | m_InterpolateSurfaceLocation |
ValueType | m_IsoSurfaceValue |
LayerNodeStorageType::Pointer | m_LayerNodeStore |
LayerListType | m_Layers |
SparseFieldCityBlockNeighborList < NeighborhoodIterator < OutputImageType > > | m_NeighborList |
unsigned int | m_NumberOfLayers |
OutputImageType * | m_OutputImage |
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 |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
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 Member Functions | |
void | operator= (const Self &) |
SparseFieldLevelSetImageFilter (const Self &) | |
Private Attributes | |
bool | m_BoundsCheckingActive |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
typedef SmartPointer< const Self > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 239 of file itkSparseFieldLevelSetImageFilter.h.
typedef OutputImageType::IndexType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 255 of file itkSparseFieldLevelSetImageFilter.h.
typedef TInputImage itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::InputImageType |
Information derived from the image types.
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.
Definition at line 267 of file itkSparseFieldLevelSetImageFilter.h.
typedef Superclass::NeighborhoodScalesType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::NeighborhoodScalesType |
Definition at line 244 of file itkSparseFieldLevelSetImageFilter.h.
typedef TOutputImage itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 254 of file itkSparseFieldLevelSetImageFilter.h.
typedef SmartPointer< Self > itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 238 of file itkSparseFieldLevelSetImageFilter.h.
typedef Superclass::RadiusType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::RadiusType |
Definition at line 243 of file itkSparseFieldLevelSetImageFilter.h.
typedef SparseFieldLevelSetImageFilter itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs
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 |
Definition at line 237 of file itkSparseFieldLevelSetImageFilter.h.
typedef Superclass::TimeStepType itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::TimeStepType |
Typedefs from the superclass
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.
Definition at line 261 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
|
protected |
|
private |
|
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 341 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::AntiAliasBinaryImageFilter< 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
Referenced by itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNumberOfLayers().
|
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.
|
private |
|
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 |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
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.
Referenced by itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::InterpolateSurfaceLocationOff(), and itk::SparseFieldLevelSetImageFilter< TInputImage, Image< TOutputPixelType, TInputImage::ImageDimension > >::InterpolateSurfaceLocationOn().
|
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 >.
Referenced by itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNumberOfLayers().
itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< typename TOutputImage::PixelType > | ) |
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 > )
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 |
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 509 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 431 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
Definition at line 500 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 498 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
The value in the input which represents the isosurface of interest.
Definition at line 483 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
Storage for layer node objects.
Definition at line 480 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 468 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
Connectivity information for examining neighbor pixels.
Definition at line 423 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 474 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
Definition at line 501 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 462 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates a pending change to a more negative sparse field.
Definition at line 449 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates a pending change to a more positive sparse field.
Definition at line 445 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates a pixel is on the boundary of the image
Definition at line 453 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value which indicates pending change to another sparse field layer.
Definition at line 441 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
An image of status values used internally by the algorithm.
Definition at line 477 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Special status value used as a default for indices which have no meaningful status.
Definition at line 457 of file itkSparseFieldLevelSetImageFilter.h.
|
protected |
The update buffer used to store change values computed in CalculateChange.
Definition at line 487 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Multiplicative identity of the ValueType.
Definition at line 434 of file itkSparseFieldLevelSetImageFilter.h.
|
staticprotected |
Additive identity of the ValueType.
Definition at line 437 of file itkSparseFieldLevelSetImageFilter.h.