template<typename TInputImage, typename TOutputImage>
class itk::AnisotropicFourthOrderLevelSetImageFilter< TInputImage, TOutputImage >
This class implements the 4th-order level set anisotropic diffusion (smoothing) PDE.
- INPUT and OUTPUT
- This is a volume to volume filter; however, it is meant to process (smooth) surfaces. The input surface is an isosurface of the input volume. The isosurface value to be processed can be set by calling SetIsoSurfaceValue (default is 0). The output surface is the 0-isosurface of the output volume, regardless of the input isosurface value. To visualize the input/output surfaces to this filter a mesh extraction method such as marching cubes can be used.
- The 4th-order level set PDE framework is proposed as an alternative to 2nd order PDEs. By order we mean the order of differentiation of the level set image function required to compute derivatives for updating the image. For instance, the popular curvature flow uses 2nd-order derivatives of the level set image; hence, it is a 2nd order PDE.
- 2nd-order curvature flow can be used by itself to smooth surfaces as a post-processing filter or it can be used with other PDE terms such as a Canny edge term that attracts the surface to strong edges in a data image. Curvature flow smoothes surfaces by making the surface move in the direction that will decrease surface area.
- The 4th-order PDE framework provides an improvement over curvature flow. Instead of making the surface move to decrease surface area it makes the surface move to decrease total curvature. Similar to curvature flow, these PDEs can be used alone or in conjunction with data terms. The 4th-order PDE framework is implemented in SparseFieldFourthOrderLevelSetImageFilter. This filter class, which is derived from that, uses the 4th-order PDE by itself to implement an anisotropic surface smoothing algorithm. This is a feature preserving surface processing algorithm that smoothes surfaces but will preserve certain features (creases, edges, other sharp features) depending on the NormalProcessConductanceParameter.
- PARAMETERS
- As mentioned before, the IsoSurfaceValue parameter chooses which isosurface of the input to process. The MaxFilterIterations parameter determine the number of iterations for which this filter will run. The more iterations, the more smoothing. NormalProcessConductanceParameter controls the amount of feature preservation. Its units are in curvature. Reasonable values for almost all surface are in the range 0.1-0.25 . The shape of the surface where the total curvature is above the value of this parameter will tend to stay the same (be preserved) or even be sharpened. The lower the value, the more feature preservation. Notice the difference between the number of iterations parameter and the conductance parameter: for a given conductance parameter, surface features with high enough curvature will be preserved even if the number of iterations is set to be extremely large.
Definition at line 83 of file itkAnisotropicFourthOrderLevelSetImageFilter.h.
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
LevelSetFunctionWithRefitTerm
< TOutputImage,
SparseImageType > | FunctionType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef FunctionType::RadiusType | RadiusType |
|
typedef
AnisotropicFourthOrderLevelSetImageFilter | Self |
|
typedef Superclass::SparseImageType | SparseImageType |
|
typedef
SparseFieldFourthOrderLevelSetImageFilter
< TInputImage, TOutputImage > | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
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< Self > | Pointer |
|
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 |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef OutputImageType::IndexType | IndexType |
|
typedef TInputImage | InputImageType |
|
typedef std::vector
< LayerPointerType > | LayerListType |
|
typedef ObjectStore
< LayerNodeType > | LayerNodeStorageType |
|
typedef
SparseFieldLevelSetNode
< IndexType > | LayerNodeType |
|
typedef LayerType::Pointer | LayerPointerType |
|
typedef SparseFieldLayer
< LayerNodeType > | LayerType |
|
typedef
Superclass::NeighborhoodScalesType | NeighborhoodScalesType |
|
typedef TOutputImage | OutputImageType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Superclass::RadiusType | RadiusType |
|
typedef
SparseFieldLevelSetImageFilter | Self |
|
typedef Image< StatusType,
itkGetStaticConstMacro(ImageDimension) > | StatusImageType |
|
typedef signed char | StatusType |
|
typedef
FiniteDifferenceImageFilter
< TInputImage, TOutputImage > | Superclass |
|
typedef Superclass::TimeStepType | TimeStepType |
|
typedef std::vector< ValueType > | UpdateBufferType |
|
typedef OutputImageType::ValueType | ValueType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
FiniteDifferenceFunction
< TOutputImage > | FiniteDifferenceFunctionType |
|
typedef TInputImage | InputImageType |
|
typedef TInputImage::PixelType | InputPixelType |
|
typedef NumericTraits
< InputPixelType >::ValueType | InputPixelValueType |
|
typedef
FiniteDifferenceFunctionType::NeighborhoodScalesType | NeighborhoodScalesType |
|
typedef TOutputImage | OutputImageType |
|
typedef TOutputImage::PixelType | OutputPixelType |
|
typedef NumericTraits
< OutputPixelType >::ValueType | OutputPixelValueType |
|
typedef OutputPixelType | PixelType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef
FiniteDifferenceFunctionType::RadiusType | RadiusType |
|
typedef FiniteDifferenceImageFilter | Self |
|
typedef InPlaceImageFilter
< TInputImage, TOutputImage > | Superclass |
|
typedef
FiniteDifferenceFunctionType::TimeStepType | TimeStepType |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
InputImageType::ConstPointer | InputImageConstPointer |
|
typedef InputImageType::PixelType | InputImagePixelType |
|
typedef InputImageType::Pointer | InputImagePointer |
|
typedef InputImageType::RegionType | InputImageRegionType |
|
typedef TInputImage | InputImageType |
|
typedef
Superclass::OutputImagePixelType | OutputImagePixelType |
|
typedef
Superclass::OutputImagePointer | OutputImagePointer |
|
typedef
Superclass::OutputImageRegionType | OutputImageRegionType |
|
typedef Superclass::OutputImageType | OutputImageType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef InPlaceImageFilter | Self |
|
typedef ImageToImageFilter
< TInputImage, TOutputImage > | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
InputImageType::ConstPointer | InputImageConstPointer |
|
typedef InputImageType::PixelType | InputImagePixelType |
|
typedef InputImageType::Pointer | InputImagePointer |
|
typedef InputImageType::RegionType | InputImageRegionType |
|
typedef TInputImage | InputImageType |
|
typedef
Superclass::OutputImagePixelType | OutputImagePixelType |
|
typedef
Superclass::OutputImageRegionType | OutputImageRegionType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ImageToImageFilter | Self |
|
typedef ImageSource< TOutputImage > | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
Superclass::DataObjectIdentifierType | DataObjectIdentifierType |
|
typedef DataObject::Pointer | DataObjectPointer |
|
typedef
Superclass::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
|
typedef OutputImageType::PixelType | OutputImagePixelType |
|
typedef OutputImageType::Pointer | OutputImagePointer |
|
typedef OutputImageType::RegionType | OutputImageRegionType |
|
typedef TOutputImage | OutputImageType |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ImageSource | Self |
|
typedef ProcessObject | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef
DataObject::DataObjectIdentifierType | DataObjectIdentifierType |
|
typedef DataObject::Pointer | DataObjectPointer |
|
typedef std::vector
< DataObjectPointer > | DataObjectPointerArray |
|
typedef
DataObjectPointerArray::size_type | DataObjectPointerArraySizeType |
|
typedef MultiThreader | MultiThreaderType |
|
typedef std::vector
< DataObjectIdentifierType > | NameArray |
|
typedef SmartPointer< Self > | Pointer |
|
typedef ProcessObject | Self |
|
typedef Object | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef Object | Self |
|
typedef LightObject | Superclass |
|
typedef SmartPointer< const Self > | ConstPointer |
|
typedef SmartPointer< Self > | Pointer |
|
typedef LightObject | Self |
|
|
| AnisotropicFourthOrderLevelSetImageFilter () |
|
virtual void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| ~AnisotropicFourthOrderLevelSetImageFilter () override |
|
|
virtual bool | Halt () override |
|
| SparseFieldFourthOrderLevelSetImageFilter () |
|
| ~SparseFieldFourthOrderLevelSetImageFilter () override |
|
ValueType | ComputeCurvatureFromSparseImageNeighborhood (SparseImageIteratorType &neighborhood) const |
|
void | ComputeCurvatureTarget (const OutputImageType *distanceImage, SparseImageType *sparseImage) const |
|
void | ProcessNormals () |
|
bool | ActiveLayerCheckBand () const |
|
void | AllocateUpdateBuffer () override |
|
void | ApplyUpdate (const TimeStepType &dt) override |
|
TimeStepType | CalculateChange () override |
|
virtual ValueType | CalculateUpdateValue (const IndexType &, const TimeStepType &dt, const ValueType &value, const ValueType &change) |
|
void | ConstructActiveLayer () |
|
void | ConstructLayer (StatusType from, StatusType to) |
|
void | CopyInputToOutput () override |
|
virtual ValueType | GetValueOne () const |
|
virtual ValueType | GetValueZero () const |
|
void | Initialize () override |
|
void | InitializeActiveLayerValues () |
|
virtual void | InitializeBackgroundPixels () |
|
virtual void | PostProcessOutput () override |
|
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) |
|
| SparseFieldLevelSetImageFilter () |
|
void | UpdateActiveLayerValues (TimeStepType dt, LayerType *StatusUpList, LayerType *StatusDownList) |
|
| ~SparseFieldLevelSetImageFilter () override |
|
| FiniteDifferenceImageFilter () |
|
virtual void | GenerateData () override |
|
virtual void | GenerateInputRequestedRegion () override |
|
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 () override |
|
virtual void | AllocateOutputs () override |
|
virtual bool | GetRunningInPlace () const |
|
| InPlaceImageFilter () |
|
virtual void | ReleaseInputs () override |
|
| ~InPlaceImageFilter () override |
|
virtual void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) |
|
virtual void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) |
|
| ImageToImageFilter () |
|
virtual void | VerifyInputInformation () override |
|
| ~ImageToImageFilter () override |
|
void | PushBackInput (const DataObject *input) override |
|
void | PushFrontInput (const DataObject *input) override |
|
virtual void | AfterThreadedGenerateData () |
|
virtual void | BeforeThreadedGenerateData () |
|
virtual const
ImageRegionSplitterBase * | GetImageRegionSplitter () const |
|
| ImageSource () |
|
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion) |
|
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) |
|
virtual | ~ImageSource () override |
|
virtual void | AddInput (DataObject *input) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &) |
|
void | AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
virtual void | AddOutput (DataObject *output) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &) |
|
bool | AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx) |
|
virtual void | CacheInputReleaseDataFlags () |
|
virtual void | GenerateOutputInformation () |
|
virtual void | GenerateOutputRequestedRegion (DataObject *output) |
|
DataObject * | GetInput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetInput (const DataObjectIdentifierType &key) const |
|
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredInputs () const |
|
virtual const
DataObjectPointerArraySizeType & | GetNumberOfRequiredOutputs () const |
|
bool | IsIndexedInputName (const DataObjectIdentifierType &) const |
|
bool | IsIndexedOutputName (const DataObjectIdentifierType &) const |
|
bool | IsRequiredInputName (const DataObjectIdentifierType &) const |
|
| itkLegacyMacro (virtual void RemoveOutput(DataObject *output)) |
|
| itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num)) |
|
| itkLegacyMacro (virtual void RemoveInput(DataObject *input)) |
|
| itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num)) |
|
DataObjectPointerArraySizeType | MakeIndexFromInputName (const DataObjectIdentifierType &name) const |
|
DataObjectPointerArraySizeType | MakeIndexFromOutputName (const DataObjectIdentifierType &name) const |
|
DataObjectIdentifierType | MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const |
|
DataObjectIdentifierType | MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) 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 () override |
|
DataObject * | GetInput (DataObjectPointerArraySizeType idx) |
|
const DataObject * | GetInput (DataObjectPointerArraySizeType idx) const |
|
DataObject * | GetPrimaryInput () |
|
const DataObject * | GetPrimaryInput () const |
|
virtual void | SetPrimaryInputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryInputName (void) const |
|
DataObject * | GetOutput (const DataObjectIdentifierType &key) |
|
const DataObject * | GetOutput (const DataObjectIdentifierType &key) const |
|
virtual void | SetPrimaryOutputName (const DataObjectIdentifierType &key) |
|
virtual const char * | GetPrimaryOutputName (void) 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 () override |
|
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 () |
|