Protected Member Functions |
bool | ActiveLayerCheckBand () const |
ValueType | ComputeCurvatureFromSparseImageNeighborhood (SparseImageIteratorType &neighborhood) const |
void | ComputeCurvatureTarget (const OutputImageType *distanceImage, SparseImageType *sparseImage) const |
void | ProcessNormals () |
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 () |
| 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 () |
virtual void | AllocateOutputs () |
virtual bool | GetRunningInPlace () const |
| InPlaceImageFilter () |
virtual void | ReleaseInputs () |
| ~InPlaceImageFilter () |
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) |
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 () |
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 () |
DataObject * | GetInput (const DataObjectIdentifierType &key) |
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
DataObject * | GetInput (DataObjectPointerArraySizeType) |
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
DataObject * | GetPrimaryInput () |
const DataObject * | GetPrimaryInput () const |
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
DataObject * | GetOutput (DataObjectPointerArraySizeType idx) |
const DataObject * | GetOutput (DataObjectPointerArraySizeType idx) const |
DataObject * | GetPrimaryOutput () |
const DataObject * | GetPrimaryOutput () const |
| Object () |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
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 () |
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.