ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkSparseFieldFourthOrderLevelSetImageFilter.h>

+ Inheritance diagram for itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::IndexType IndexType
typedef Superclass::LayerType LayerType
typedef
LevelSetFunctionWithRefitTerm
< OutputImageType,
SparseImageType
LevelSetFunctionType
typedef
Superclass::NeighborhoodScalesType 
NeighborhoodScalesType
typedef NormalBandNode
< OutputImageType
NodeType
typedef
ImplicitManifoldNormalVectorFilter
< OutputImageType,
SparseImageType
NormalVectorFilterType
typedef
NormalVectorDiffusionFunction
< SparseImageType
NormalVectorFunctionType
typedef NodeType::NodeDataType NormalVectorType
typedef Superclass::OutputImageType OutputImageType
typedef SmartPointer< SelfPointer
typedef Superclass::RadiusType RadiusType
typedef
SparseFieldFourthOrderLevelSetImageFilter 
Self
typedef NeighborhoodIterator
< SparseImageType
SparseImageIteratorType
typedef SparseImage< NodeType,
itkGetStaticConstMacro(ImageDimension) > 
SparseImageType
typedef
SparseFieldLevelSetImageFilter
< TInputImage, TOutputImage > 
Superclass
typedef Superclass::ValueType ValueType
- Public Types inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
typedef TInputImage InputImageType
typedef std::vector
< LayerPointerType
LayerListType
typedef ObjectStore
< LayerNodeType
LayerNodeStorageType
typedef
SparseFieldLevelSetNode
< IndexType
LayerNodeType
typedef LayerType::Pointer LayerPointerType
typedef Image< StatusType,
itkGetStaticConstMacro(ImageDimension) > 
StatusImageType
typedef signed char StatusType
typedef Superclass::TimeStepType TimeStepType
typedef std::vector< ValueTypeUpdateBufferType
- Public Types inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
typedef
FiniteDifferenceFunction
< TOutputImage > 
FiniteDifferenceFunctionType
typedef TInputImage::PixelType InputPixelType
typedef NumericTraits
< InputPixelType >::ValueType 
InputPixelValueType
typedef TOutputImage::PixelType OutputPixelType
typedef NumericTraits
< OutputPixelType >::ValueType 
OutputPixelValueType
typedef OutputPixelType PixelType
- Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
typedef
InputImageType::ConstPointer 
InputImageConstPointer
typedef InputImageType::PixelType InputImagePixelType
typedef InputImageType::Pointer InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
typedef
Superclass::OutputImagePointer 
OutputImagePointer
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
typedef DataObject::Pointer DataObjectPointer
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
- Public Types inherited from itk::ProcessObject
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual const ValueTypeGetCurvatureBandWidth ()
virtual const unsigned int & GetMaxNormalIteration ()
virtual const unsigned int & GetMaxRefitIteration ()
unsigned int GetMinimumNumberOfLayers () const
virtual const char * GetNameOfClass () const
virtual const ValueTypeGetNormalProcessConductance ()
virtual const int & GetNormalProcessType ()
virtual const bool & GetNormalProcessUnsharpFlag ()
virtual const ValueTypeGetNormalProcessUnsharpWeight ()
virtual const ValueTypeGetRMSChangeNormalProcessTrigger ()
virtual void SetCurvatureBandWidth (ValueType _arg)
void SetLevelSetFunction (LevelSetFunctionType *lsf)
virtual void SetMaxNormalIteration (unsigned int _arg)
virtual void SetMaxRefitIteration (unsigned int _arg)
virtual void SetNormalProcessConductance (ValueType _arg)
virtual void SetNormalProcessType (int _arg)
virtual void SetNormalProcessUnsharpFlag (bool _arg)
virtual void SetNormalProcessUnsharpWeight (ValueType _arg)
virtual void SetNumberOfLayers (const unsigned int n)
virtual void SetRMSChangeNormalProcessTrigger (ValueType _arg)
- Public Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 typedef (Concept::EqualityComparable< typename TOutputImage::PixelType >) OutputEqualityComparableCheck
 typedef (Concept::Convertible< double, typename TOutputImage::PixelType >) DoubleConvertibleToOutputCheck
 typedef (Concept::OStreamWritable< typename TOutputImage::PixelType >) OutputOStreamWritableCheck
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 IdentifierTypeGetElapsedIterations ()
virtual bool GetIsInitialized ()
virtual void SetDifferenceFunction (FiniteDifferenceFunctionType *_arg)
virtual void SetIsInitialized (bool _arg)
void SetStateToInitialized ()
void SetStateToUninitialized ()
virtual void SetNumberOfIterations (IdentifierType _arg)
virtual const IdentifierTypeGetNumberOfIterations ()
virtual void SetUseImageSpacing (bool _arg)
virtual void UseImageSpacingOn ()
virtual void UseImageSpacingOff ()
virtual const bool & GetUseImageSpacing ()
virtual void SetMaximumRMSError (double _arg)
virtual const double & GetMaximumRMSError ()
virtual void SetRMSChange (double _arg)
virtual const double & GetRMSChange ()
virtual void SetManualReinitialization (bool _arg)
virtual const bool & GetManualReinitialization ()
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 InputImageTypeGetInput (void) const
const InputImageTypeGetInput (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)
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
virtual void GraftOutput (DataObject *output)
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
OutputImageTypeGetOutput (void)
const OutputImageTypeGetOutput (void) const
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx)
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData ()
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 ()
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 SetProgress (float _arg)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
DataObjectPointerArray GetInputs ()
DataObjectPointerArray GetOutputs ()
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
virtual void SetReleaseDataFlag (bool flag)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (ThreadIdType _arg)
virtual const ThreadIdTypeGetNumberOfThreads ()
- 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
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () 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 Attributes

static const unsigned int ImageDimension = Superclass::ImageDimension
- Static Public Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
- 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 Member Functions

bool ActiveLayerCheckBand () const
ValueType ComputeCurvatureFromSparseImageNeighborhood (SparseImageIteratorType &neighborhood) const
void ComputeCurvatureTarget (const OutputImageType *distanceImage, SparseImageType *sparseImage) const
void ProcessNormals ()
- Protected Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
void AllocateUpdateBuffer ()
void ApplyUpdate (const TimeStepType &dt)
TimeStepType CalculateChange ()
virtual ValueType CalculateUpdateValue (const IndexType &, const TimeStepType &dt, const ValueType &value, const ValueType &change)
void ConstructActiveLayer ()
void ConstructLayer (StatusType from, StatusType to)
void CopyInputToOutput ()
virtual ValueType GetValueOne () const
virtual ValueType GetValueZero () const
void Initialize ()
void InitializeActiveLayerValues ()
virtual void InitializeBackgroundPixels ()
virtual void PostProcessOutput ()
void ProcessOutsideList (LayerType *OutsideList, StatusType ChangeToStatus)
void ProcessStatusList (LayerType *InputList, LayerType *OutputList, StatusType ChangeToStatus, StatusType SearchForStatus)
void PropagateAllLayerValues ()
void PropagateLayerValues (StatusType from, StatusType to, StatusType promote, int InOrOut)
void UpdateActiveLayerValues (TimeStepType dt, LayerType *StatusUpList, LayerType *StatusDownList)
 SparseFieldLevelSetImageFilter ()
 ~SparseFieldLevelSetImageFilter ()
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
 FiniteDifferenceImageFilter ()
virtual void GenerateData ()
virtual void GenerateInputRequestedRegion ()
virtual bool Halt ()
virtual TimeStepType ResolveTimeStep (const std::vector< TimeStepType > &timeStepList, const std::vector< bool > &valid) const
virtual void SetElapsedIterations (IdentifierType _arg)
virtual bool ThreadedHalt (void *)
virtual ~FiniteDifferenceImageFilter ()
- Protected Member Functions inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
virtual void AllocateOutputs ()
virtual bool GetRunningInPlace () const
 InPlaceImageFilter ()
virtual void ReleaseInputs ()
 ~InPlaceImageFilter ()
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 ImageToImageFilter ()
virtual void VerifyInputInformation ()
 ~ImageToImageFilter ()
void PushBackInput (const DataObject *input)
void PushFrontInput (const DataObject *input)
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
virtual void BeforeThreadedGenerateData ()
 ImageSource ()
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion)
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
virtual ~ImageSource ()
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void RemoveInput (const DataObjectIdentifierType &key)
virtual void RemoveInput (DataObjectPointerArraySizeType)
virtual void RemoveOutput (const DataObjectIdentifierType &key)
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
virtual void RestoreInputReleaseDataFlags ()
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
virtual void SetPrimaryInput (DataObject *input)
virtual void SetPrimaryOutput (DataObject *output)
void SetRequiredInputNames (const NameArray &)
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

void operator= (const Self &)
 SparseFieldFourthOrderLevelSetImageFilter (const Self &)

Private Attributes

bool m_ConvergenceFlag
ValueType m_CurvatureBandWidth
LevelSetFunctionTypem_LevelSetFunction
unsigned int m_MaxNormalIteration
unsigned int m_MaxRefitIteration
ValueType m_NormalProcessConductance
int m_NormalProcessType
bool m_NormalProcessUnsharpFlag
ValueType m_NormalProcessUnsharpWeight
unsigned int m_RefitIteration
ValueType m_RMSChangeNormalProcessTrigger

Static Private Attributes

static const ValueType m_DimConst
static const SizeValueType m_NumVertex
virtual void InitializeIteration ()
 typedef (Concept::HasNumericTraits< ValueType >) OutputHasNumericTraitsCheck
 SparseFieldFourthOrderLevelSetImageFilter ()
 ~SparseFieldFourthOrderLevelSetImageFilter ()
virtual void PrintSelf (std::ostream &os, Indent indent) const

Additional Inherited Members

- Static Public Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
static Pointer New ()
- Protected Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
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
bool m_InterpolateSurfaceLocation
- 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 inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
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

Detailed Description

template<class TInputImage, class TOutputImage>
class itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >

This class implements the fourth order level set PDE framework.

This class adds a ProcessNormals method to SparseFieldLevelSetImageFilter class. The ProcessNormals method uses the ImplicitManifoldNormalDiffusionFilter class to generate a SparseImage of filtered normal vectors. We make a copy of the current state of the output image (also referred to as level set image) for this class and pass it to ImplicitManifoldNormalDiffusionFilter. That class computes the normal vectors to the level set image and filters them. The output is in the form of a sparse image templated with the NormalBandNode type. We then compute curvatures from that output and store them in the SparseImage as well. This SparseImage is passed onto the LevelSetFunctionWithRefitTerm filter class to be used as a target in the propagation term.
INPUT and OUTPUT
Same as SparseFieldLevelSetImageFilter
PARAMETERS
MaxRefitIteration sets the maximum number of allowable iterations between calls to ProcessNormals. The decision of when to call the ProcessNormals method is made in InitializeIteration according to a few criteria one of which is this maximum number of iterations.
MaxNormalIteration sets the maximum number of diffusion iterations on the normals to be performed by the ImplicitManifoldNormalDiffusionFilter class. Please read the documentation for that class.
CurvatureBandWidth determines the width of the band to be processed in ImplicitManifoldNormalDiffusionFilter.
RMSChangeNormalProcessTrigger provides another mechanism in InitializeIteration for calling the ProcessNormals method. Whenever the RMS change reported by SparseFieldLevelSetImageFilter falls below this parameter ProcessNormals is called regardless of whether MaxRefitIteration has been reached. This parameter could be used to speed up the algorithm; however, it can also effect the results. Use with caution. Default is 0 which does nothing.
IMPORTANT
Defaults for above parameters are set in the constructor. Users should not change these unless they have a good understanding of the algorithm.
OTHER PARAMETERS
NormalProcessType tells ImplicitManifoldNormalVectorFilter whether to use isotropic or anisotropic diffusion. A value of 0 means isotropic whereas a value of 1 means anisotropic diffusion. If this parameter is set to 1, NormalProcessConductance determines the level of detail preservation. Please read the documentation for ImplicitManifoldNormalVectorFilter and AnisotropicFourthOrderLevelSetImageFilter.
NormalProcessUnsharpFlag turns unsharp masking on/off. If this parameter is turned on, then NormalProcessUnsharpWeight should be set. Please read the documentation for ImplicitManifoldNormalVectorFilter.
IMPORTANT
Users of this class must define the Halt function.

Definition at line 157 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.


Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef SmartPointer< const Self > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef Superclass::IndexType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::IndexType
template<class TInputImage , class TOutputImage >
typedef Superclass::LayerType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::LayerType

A list type used in the algorithm.

Reimplemented from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

Definition at line 179 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef LevelSetFunctionWithRefitTerm< OutputImageType, SparseImageType > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::LevelSetFunctionType

The radius type derived from the normal vector function. The level set function with refitting term type.

Definition at line 210 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::NeighborhoodScalesType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::NeighborhoodScalesType
template<class TInputImage , class TOutputImage >
typedef NormalBandNode< OutputImageType > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::NodeType

The storage class used as the node type for the sparse normal vector image.

Definition at line 185 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

The filter type for processing the normal vectors of the level set.

Definition at line 199 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef NormalVectorDiffusionFunction< SparseImageType > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::NormalVectorFunctionType

The function type for processing the normal vector neighborhood.

Definition at line 203 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef NodeType::NodeDataType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::NormalVectorType

The normal vector type.

Definition at line 192 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef Superclass::OutputImageType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::OutputImageType

Typedefs derived from the superclass.

Reimplemented from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

Definition at line 176 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SmartPointer< Self > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef Superclass::RadiusType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::RadiusType
template<class TInputImage , class TOutputImage >
typedef SparseFieldFourthOrderLevelSetImageFilter itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::Self
template<class TInputImage , class TOutputImage >
typedef NeighborhoodIterator< SparseImageType > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SparseImageIteratorType

The iterator type for the sparse image.

Definition at line 195 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef SparseImage< NodeType, itkGetStaticConstMacro(ImageDimension) > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SparseImageType
template<class TInputImage , class TOutputImage >
typedef SparseFieldLevelSetImageFilter< TInputImage, TOutputImage > itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::Superclass
template<class TInputImage , class TOutputImage >
typedef Superclass::ValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ValueType

The data type used in numerical computations. Derived from the output image type.

Reimplemented from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

Definition at line 177 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.


Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SparseFieldFourthOrderLevelSetImageFilter ( )
protected

End concept checking

template<class TInputImage , class TOutputImage >
itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::~SparseFieldFourthOrderLevelSetImageFilter ( )
inlineprotected

This method first calls the Superclass InitializeIteration method. Then it determines whether ProcessNormals should be called.

Definition at line 291 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SparseFieldFourthOrderLevelSetImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage >
bool itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ActiveLayerCheckBand ( ) const
protected

This method checks whether the level set front is touching the edges of the band where curvature from the processed normal vectors has been computed. This is one of the conditions for triggering the ProcessNormals method.

template<class TInputImage , class TOutputImage >
ValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ComputeCurvatureFromSparseImageNeighborhood ( SparseImageIteratorType neighborhood) const
protected

This method computes curvature from normal vectors stored in a sparse image neighborhood.

template<class TInputImage , class TOutputImage >
void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ComputeCurvatureTarget ( const OutputImageType distanceImage,
SparseImageType sparseImage 
) const
protected

This method computes curvature from the processed normal vectors over the region specified by the CurvatureBandWidth parameter. The curvatures are stored in the sparse image.

template<class TInputImage , class TOutputImage >
virtual const ValueType& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetCurvatureBandWidth ( )
virtual
template<class TInputImage , class TOutputImage >
virtual const unsigned int& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetMaxNormalIteration ( )
virtual
template<class TInputImage , class TOutputImage >
virtual const unsigned int& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetMaxRefitIteration ( )
virtual
template<class TInputImage , class TOutputImage >
unsigned int itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetMinimumNumberOfLayers ( ) const
inline

Compute the number of layers that must be used in SparseFieldLevelSetImageFilter to accommodate the desired normal processing band.

Definition at line 236 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual const char* itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TOutputImage >
virtual const ValueType& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetNormalProcessConductance ( )
virtual
template<class TInputImage , class TOutputImage >
virtual const int& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetNormalProcessType ( )
virtual
template<class TInputImage , class TOutputImage >
virtual const bool& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetNormalProcessUnsharpFlag ( )
virtual
template<class TInputImage , class TOutputImage >
virtual const ValueType& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetNormalProcessUnsharpWeight ( )
virtual
template<class TInputImage , class TOutputImage >
virtual const ValueType& itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::GetRMSChangeNormalProcessTrigger ( )
virtual
template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::InitializeIteration ( )
inlinevirtual

This method first calls the Superclass InitializeIteration method. Then it determines whether ProcessNormals should be called.

Reimplemented from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >.

Definition at line 257 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
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::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

Reimplemented in itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, itk::IsotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >, and itk::UnsharpMaskLevelSetImageFilter< TInputImage, TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<class TInputImage , class TOutputImage >
void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ProcessNormals ( )
protected

The method for processing the normal vectors.

template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetCurvatureBandWidth ( ValueType  _arg)
virtual
template<class TInputImage , class TOutputImage >
void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetLevelSetFunction ( LevelSetFunctionType lsf)

Set the level set function. Must LevelSetFunctionWithRefitTerm or a subclass.

template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetMaxNormalIteration ( unsigned int  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetMaxRefitIteration ( unsigned int  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNormalProcessConductance ( ValueType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNormalProcessType ( int  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNormalProcessUnsharpFlag ( bool  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNormalProcessUnsharpWeight ( ValueType  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetNumberOfLayers ( const unsigned int  n)
inlinevirtual

This overrides SparseFieldLevelSetImageFilter's SetNumberOfLayers to make sure we have enough layers to do what we need.

Reimplemented from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

Definition at line 244 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
virtual void itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::SetRMSChangeNormalProcessTrigger ( ValueType  _arg)
virtual
template<class TInputImage , class TOutputImage >
itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::typedef ( Concept::HasNumericTraits< ValueType )

Begin concept checking This class requires OutputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< ValueType > )


Member Data Documentation

template<class TInputImage , class TOutputImage >
const unsigned int itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::ImageDimension = Superclass::ImageDimension
static

Standard image dimension macro.

Reimplemented from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

Definition at line 173 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
bool itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_ConvergenceFlag
private

This flag is set to true to signal final convergence. It can be used by subclasses that define a Halt method.

Definition at line 336 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
ValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_CurvatureBandWidth
private

This parameter determines the width of the band where we compute curvature from the processed normals. The wider the band, the more level set iterations that can be performed between calls to ProcessNormals. It is qsuggested that this value is left at its default.

Definition at line 346 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
const ValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_DimConst
staticprivate
template<class TInputImage , class TOutputImage >
LevelSetFunctionType* itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_LevelSetFunction
private

The level set function with the term for refitting the level set to the processed normal vectors.

Definition at line 340 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
unsigned int itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_MaxNormalIteration
private

This parameter is used to set the corresponding parameter in ImplicitManifoldNormalDiffusionfFilter.

Definition at line 327 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
unsigned int itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_MaxRefitIteration
private

This parameter determines the maximum number of SparseFieldLevelSetImageFilter iterations that will be executed between calls to ProcessNormals.

Definition at line 323 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
ValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_NormalProcessConductance
private

The conductance parameter used if anisotropic filtering of the normal vectors is chosen.

Definition at line 354 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
int itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_NormalProcessType
private

The parameter that chooses between isotropic/anisotropic filtering of the normal vectors.

Definition at line 350 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
bool itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_NormalProcessUnsharpFlag
private

The parameter that turns on/off the unsharp mask enhancement of the normals.

Definition at line 358 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
ValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_NormalProcessUnsharpWeight
private

The weight that controls the extent of enhancement if the NormalProcessUnsharpFlag is ON.

Definition at line 362 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
const SizeValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_NumVertex
staticprivate

Constants used in the computations.

Definition at line 365 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
unsigned int itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_RefitIteration
private

This is a iteration counter that gets reset to 0 every time ProcessNormals method is called.

Definition at line 318 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.

template<class TInputImage , class TOutputImage >
ValueType itk::SparseFieldFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >::m_RMSChangeNormalProcessTrigger
private

This is used to trigger a call to the ProcessNormals method before m_RefitIteration reaches m_MaxRefitIteration if the RMSChange falls below this parameter.

Definition at line 332 of file itkSparseFieldFourthOrderLevelSetImageFilter.h.


The documentation for this class was generated from the following file: