ITK  4.9.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkAntiAliasBinaryImageFilter.h>

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

Detailed Description

template<typename TInputImage, typename TOutputImage>
class itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >

A method for estimation of a surface from a binary volume.

This filter implements a surface-fitting method for estimation of a surface from a binary volume. This process can be used to reduce aliasing artifacts which result in visualization of binary partitioned surfaces.
The binary volume (filter input) is used as a set of constraints in an iterative relaxation process of an estimated ND surface. The surface is described implicitly as the zero level set of a volume $ \phi $ and allowed to deform under curvature flow. A set of contraints is imposed on this movement as follows:

\[ u_{i,j,k}^{n+1} = \left\{ \begin{array}{ll} \mbox{max} (u_{i,j,k}^{n} + \Delta t H_{i,j,k}^{n}, 0) & \mbox{$B_{i,j,k} = 1$} \\ \mbox{min} (u_{i,j,k}^{n} + \Delta t H_{i,j,k}^{n}, 0) & \mbox{$B_{i,j,k} = -1$} \end{array}\right. \]

where $ u_{i,j,k}^{n} $ is the value of $ \phi $ at discrete index $ (i,j,k) $ and iteration $ n $, $ H $ is the gradient magnitude times mean curvature of $ \phi $, and $ B $ is the binary input volume, with 1 denoting an inside pixel and -1 denoting an outside pixel.
NOTES
This implementation uses a sparse field level set solver instead of the narrow band implementation described in the reference below, which may introduce some differences in how fast and how accurately (in terms of RMS error) the solution converges.
REFERENCES
Whitaker, Ross. "Reducing Aliasing Artifacts In Iso-Surfaces of Binary Volumes" IEEE Volume Visualization and Graphics Symposium, October 2000, pp.23-32.
PARAMETERS
The MaximumRMSChange parameter is used to determine when the solution has converged. A lower value will result in a tighter-fitting solution, but will require more computations. Too low a value could put the solver into an infinite loop. Values should always be less than 1.0. A value of 0.07 is a good starting estimate.
The MaximumIterations parameter can be used to halt the solution after a specified number of iterations.
INPUT
The input is an N-dimensional image of any type. It is assumed to be a binary image. The filter will use an isosurface value that is halfway between the min and max values in the image. A signed data type is not necessary for the input.
OUTPUT
The filter will output a level set image of real, signed values. The zero crossings of this (N-dimensional) image represent the position of the isosurface value of interest. Values outside the zero level set are negative and values inside the zero level set are positive values.
IMPORTANT!
The output image type you use to instantiate this filter should be a real valued scalar type. In other words: doubles or floats.
USING THIS FILTER
The filter is relatively straightforward to use. Tests and examples exist to illustrate. The important thing is to understand the input and output types so you can properly interperet your results.
In the common case, the only parameter that will need to be set is the MaximumRMSChange parameter, which determines when the solver halts.
Wiki Examples:
Examples:
Examples/Filtering/AntiAliasBinaryImageFilter.cxx, SphinxExamples/src/Filtering/AntiAlias/SmoothBinaryImageBeforeSurfaceExtraction/Code.cxx, and WikiExamples/Smoothing/AntiAliasBinaryImageFilter.cxx.

Definition at line 107 of file itkAntiAliasBinaryImageFilter.h.

Public Types

typedef TInputImage::ValueType BinaryValueType
 
typedef SmartPointer< const SelfConstPointer
 
typedef CurvatureFlowFunction
< OutputImageType
CurvatureFunctionType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef AntiAliasBinaryImageFilter Self
 
typedef
SparseFieldLevelSetImageFilter
< TInputImage, TOutputImage > 
Superclass
 
typedef Superclass::TimeStepType TimeStepType
 
typedef Superclass::ValueType ValueType
 
- Public Types inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
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< ValueTypeUpdateBufferType
 
typedef OutputImageType::ValueType ValueType
 
- Public Types inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef
FiniteDifferenceFunctionType::RadiusType 
RadiusType
 
typedef FiniteDifferenceImageFilter Self
 
typedef InPlaceImageFilter
< TInputImage, TOutputImage > 
Superclass
 
typedef
FiniteDifferenceFunctionType::TimeStepType 
TimeStepType
 
- Public Types inherited from itk::InPlaceImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef InPlaceImageFilter Self
 
typedef ImageToImageFilter
< TInputImage, TOutputImage > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TOutputImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
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< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
unsigned int GetMaximumIterations ()
 
virtual const char * GetNameOfClass () const
 
 typedef (Concept::Convertible< double, typename TOutputImage::PixelType >) DoubleConvertibleToOutputCheck
 
 typedef (Concept::OStreamWritable< typename TInputImage::PixelType >) InputOStreamWritableCheck
 
virtual BinaryValueType GetUpperBinaryValue () const
 
virtual BinaryValueType GetLowerBinaryValue () const
 
void SetMaximumIterations (unsigned int i)
 
- Public Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
 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 IdentifierTypeGetElapsedIterations () 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 IdentifierTypeGetNumberOfIterations () 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 InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
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 >
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
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)
 
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 ThreadIdTypeGetNumberOfThreads () 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
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType 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 override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
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::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
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 ()
 

Protected Member Functions

 AntiAliasBinaryImageFilter ()
 
virtual ValueType CalculateUpdateValue (const IndexType &idx, const TimeStepType &dt, const ValueType &value, const ValueType &change) override
 
void GenerateData () override
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~AntiAliasBinaryImageFilter ()
 
- Protected Member Functions inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
void AllocateUpdateBuffer () override
 
void ApplyUpdate (const TimeStepType &dt) override
 
TimeStepType CalculateChange () override
 
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 ()
 
- Protected Member Functions inherited from itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >
 FiniteDifferenceImageFilter ()
 
virtual void GenerateInputRequestedRegion () override
 
virtual bool Halt ()
 
virtual void InitializeIteration ()
 
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 () override
 
virtual bool GetRunningInPlace () const
 
 InPlaceImageFilter ()
 
virtual void ReleaseInputs () override
 
 ~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 () override
 
 ~ImageToImageFilter ()
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
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 ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
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)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (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 ()
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName (void) 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

 AntiAliasBinaryImageFilter (const Self &) ITK_DELETE_FUNCTION
 
void operator= (const Self &) ITK_DELETE_FUNCTION
 

Private Attributes

CurvatureFunctionType::Pointer m_CurvatureFunction
 
const TInputImage * m_InputImage
 
BinaryValueType m_LowerBinaryValue
 
BinaryValueType m_UpperBinaryValue
 

Additional Inherited Members

- Static Public Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
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 Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >
double m_ConstantGradientValue
 
const InputImageTypem_InputImage
 
bool m_InterpolateSurfaceLocation
 
ValueType m_IsoSurfaceValue
 
LayerNodeStorageType::Pointer m_LayerNodeStore
 
LayerListType m_Layers
 
SparseFieldCityBlockNeighborList
< NeighborhoodIterator
< OutputImageType > > 
m_NeighborList
 
unsigned int m_NumberOfLayers
 
OutputImageTypem_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
AtomicInt< int > m_ReferenceCount
 
- 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
 

Member Typedef Documentation

template<typename TInputImage , typename TOutputImage >
typedef TInputImage::ValueType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::BinaryValueType

ValueType of the input binary image

Definition at line 129 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef SmartPointer< const Self > itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 116 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef CurvatureFlowFunction< OutputImageType > itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::CurvatureFunctionType

The function type which will calculate the curvature flow

Definition at line 126 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::IndexType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::IndexType

Definition at line 120 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::InputImageType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::InputImageType

Definition at line 123 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::OutputImageType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::OutputImageType

Definition at line 122 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef SmartPointer< Self > itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 115 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef AntiAliasBinaryImageFilter itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs

Definition at line 113 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef SparseFieldLevelSetImageFilter< TInputImage, TOutputImage > itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 114 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::TimeStepType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::TimeStepType

Definition at line 121 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
typedef Superclass::ValueType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::ValueType

Inherited typedef from the superclass.

Definition at line 119 of file itkAntiAliasBinaryImageFilter.h.

Constructor & Destructor Documentation

template<typename TInputImage , typename TOutputImage >
itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::AntiAliasBinaryImageFilter ( )
protected
template<typename TInputImage , typename TOutputImage >
itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::~AntiAliasBinaryImageFilter ( )
inlineprotected

Definition at line 168 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::AntiAliasBinaryImageFilter ( const Self )
private

Member Function Documentation

template<typename TInputImage , typename TOutputImage >
virtual ValueType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::CalculateUpdateValue ( const IndexType idx,
const TimeStepType dt,
const ValueType value,
const ValueType change 
)
inlineoverrideprotectedvirtual

Overridden from the parent class to indroduce a constraint on surface flow under certain conditions.

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

template<typename TInputImage , typename TOutputImage >
virtual::itk::LightObject::Pointer itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::CreateAnother ( ) const
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::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
void itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual

Overridden from ProcessObject to set certain values before starting the finite difference solver and then create an appropriate output

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

template<typename TInputImage , typename TOutputImage >
virtual BinaryValueType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::GetLowerBinaryValue ( ) const
virtual

Get the upper and lower binary values in the input image.

template<typename TInputImage , typename TOutputImage >
unsigned int itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::GetMaximumIterations ( )
inline
template<typename TInputImage , typename TOutputImage >
virtual const char* itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

template<typename TInputImage , typename TOutputImage >
virtual BinaryValueType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::GetUpperBinaryValue ( ) const
virtual

Get the upper and lower binary values in the input image.

template<typename TInputImage , typename TOutputImage >
static Pointer itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<typename TInputImage , typename TOutputImage >
void itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private
template<typename TInputImage , typename TOutputImage >
virtual void itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

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::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >.

template<typename TInputImage , typename TOutputImage >
void itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::SetMaximumIterations ( unsigned int  i)
inline

Set/Get the maximum number of iterations allowed for the solver. This prevents infinite loops if a solution "bounces".

Definition at line 144 of file itkAntiAliasBinaryImageFilter.h.

References itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::SetNumberOfIterations().

template<typename TInputImage , typename TOutputImage >
itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::typedef ( Concept::Convertible< double, typename TOutputImage::PixelType >  )

This class requires DoubleConvertibleToOutputCheck in the form of ( Concept::Convertible< double, typename TOutputImage::PixelType > )

template<typename TInputImage , typename TOutputImage >
itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::typedef ( Concept::OStreamWritable< typename TInputImage::PixelType >  )

This class requires InputOStreamWritableCheck in the form of ( Concept::OStreamWritable< typename TInputImage::PixelType > )

Member Data Documentation

template<typename TInputImage , typename TOutputImage >
CurvatureFunctionType::Pointer itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::m_CurvatureFunction
private

Definition at line 189 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
const TInputImage* itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::m_InputImage
private

Definition at line 191 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
BinaryValueType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::m_LowerBinaryValue
private

Definition at line 187 of file itkAntiAliasBinaryImageFilter.h.

template<typename TInputImage , typename TOutputImage >
BinaryValueType itk::AntiAliasBinaryImageFilter< TInputImage, TOutputImage >::m_UpperBinaryValue
private

Definition at line 186 of file itkAntiAliasBinaryImageFilter.h.


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