ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkMultiphaseFiniteDifferenceImageFilter.h>
This is an alternate version of the ITK finite difference solver (FDS) framework, supporting the solution of multiple functions, simultaneously. The FDS framework is a set of classes for creating filters to solve partial differential equations on images using an iterative, finite difference update scheme.
Based on the paper:
"An active contour model without edges" T. Chan and L. Vese. In Scale-Space Theories in Computer Vision, pages 141-151, 1999.
This code was taken from the Insight Journal paper:
"Cell Tracking using Coupled Active Surfaces for Nuclei and Membranes" http://www.insight-journal.org/browse/publication/642 http://hdl.handle.net/10380/3055
That is based on the papers:
"Level Set Segmentation: Active Contours without edge" http://www.insight-journal.org/browse/publication/322 http://hdl.handle.net/1926/1532 and "Level set segmentation using coupled active surfaces" http://www.insight-journal.org/browse/publication/323 http://hdl.handle.net/1926/1533
Definition at line 165 of file itkMultiphaseFiniteDifferenceImageFilter.h.
Public Types | |
typedef Vector< float, itkGetStaticConstMacro(ImageDimension) > | CentroidVectorType |
typedef SmartPointer< const Self > | ConstPointer |
typedef FeatureImageType::Pointer | FeatureImagePointer |
typedef TFeatureImage | FeatureImageType |
typedef FeatureImageType::PixelType | FeaturePixelType |
typedef FeatureImageType::PointType | FeaturePointType |
typedef FeatureImageType::RegionType | FeatureRegionType |
typedef FeatureImageType::SizeType | FeatureSizeType |
typedef FeatureImageType::SpacingType | FeatureSpacingType |
typedef FiniteDifferenceFunctionType::Pointer | FiniteDifferenceFunctionPointer |
typedef TFiniteDifferenceFunction | FiniteDifferenceFunctionType |
typedef TIdCell | IdCellType |
typedef InputPointType::CoordRepType | InputCoordRepType |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInputImage | InputImageType |
typedef InputImageType::IndexType | InputIndexType |
typedef InputIndexType::IndexValueType | InputIndexValueType |
typedef InputImageType::OffsetValueType | InputOffsetValueType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::PointType | InputPointType |
typedef InputImageType::RegionType | InputRegionType |
typedef InputImageType::SizeType | InputSizeType |
typedef InputSizeType::SizeValueType | InputSizeValueType |
typedef InputImageType::SpacingType | InputSpacingType |
typedef KdTreeGeneratorType::Pointer | KdTreeGeneratorPointer |
typedef Statistics::KdTreeGenerator < SampleType > | KdTreeGeneratorType |
typedef KdTreeType::Pointer | KdTreePointer |
typedef KdTreeGeneratorType::KdTreeType | KdTreeType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::IndexType | OutputIndexType |
typedef OutputImageType::IndexValueType | OutputIndexValueType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef OutputImageType::RegionType | OutputRegionType |
typedef OutputImageType::SizeType | OutputSizeType |
typedef OutputImageType::SizeValueType | OutputSizeValueType |
typedef SmartPointer< Self > | Pointer |
typedef FiniteDifferenceFunctionType::RadiusType | RadiusType |
typedef Statistics::ListSample < CentroidVectorType > | SampleType |
typedef MultiphaseFiniteDifferenceImageFilter | Self |
typedef InPlaceImageFilter < TFeatureImage, TOutputImage > | Superclass |
typedef FiniteDifferenceFunctionType::TimeStepType | TimeStepType |
typedef std::vector< TimeStepType > | TimeStepVectorType |
typedef std::vector< IdCellType > | VectorIdCellType |
Public Types inherited from itk::InPlaceImageFilter< TFeatureImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TFeatureImage | 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 < TFeatureImage, TOutputImage > | Superclass |
Public Types inherited from itk::ImageToImageFilter< TFeatureImage, TOutputImage > | |
typedef SmartPointer< const Self > | ConstPointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef TFeatureImage | InputImageType |
typedef Superclass::OutputImagePixelType | OutputImagePixelType |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter | Self |
typedef ImageSource< TOutputImage > | Superclass |
Public Types inherited from itk::ImageSource< TOutputImage > | |
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 |
Public Types inherited from itk::ProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
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< Self > | Pointer |
typedef ProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual const unsigned int & | GetElapsedIterations () const |
InputImagePointer | GetLevelSet (const IdCellType &i) |
virtual const char * | GetNameOfClass () const |
virtual void | SetElapsedIterations (unsigned int _arg) |
void | SetFunctionCount (const IdCellType &n) |
void | SetKdTree (KdTreeType *kdtree) |
void | SetLevelSet (const IdCellType &i, const InputImageType *levelSet) |
void | SetLookup (VectorIdCellType lookup) |
virtual const FiniteDifferenceFunctionPointer | GetDifferenceFunction (const IdCellType &functionIndex) const |
virtual void | SetDifferenceFunction (const IdCellType &functionIndex, FiniteDifferenceFunctionPointer function) |
virtual void | SetNumberOfIterations (unsigned int _arg) |
virtual const unsigned int & | GetNumberOfIterations () const |
virtual void | SetUseImageSpacing (bool _arg) |
virtual void | UseImageSpacingOn () |
virtual void | UseImageSpacingOff () |
virtual const bool & | GetUseImageSpacing () const |
virtual void | SetMaximumRMSError (double _arg) |
virtual const double & | GetMaximumRMSError () const |
virtual void | SetRMSChange (double _arg) |
virtual const double & | GetRMSChange () const |
virtual void | SetInitializedState (bool _arg) |
virtual const bool & | GetInitializedState () const |
virtual void | InitializedStateOn () |
virtual void | InitializedStateOff () |
virtual void | SetManualReinitialization (bool _arg) |
virtual const bool & | GetManualReinitialization () const |
virtual void | ManualReinitializationOn () |
virtual void | ManualReinitializationOff () |
Public Member Functions inherited from itk::InPlaceImageFilter< TFeatureImage, 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< TFeatureImage, TOutputImage > | |
const InputImageType * | GetInput () const |
const InputImageType * | GetInput (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 TFeatureImage *image) |
virtual void | SetCoordinateTolerance (double _arg) |
virtual double | GetCoordinateTolerance () const |
virtual void | SetDirectionTolerance (double _arg) |
virtual double | GetDirectionTolerance () const |
Public Member Functions inherited from itk::ImageSource< TOutputImage > | |
OutputImageType * | GetOutput (unsigned int idx) |
virtual void | GraftNthOutput (unsigned int idx, DataObject *output) |
virtual void | GraftOutput (const DataObjectIdentifierType &key, DataObject *output) |
OutputImageType * | GetOutput () |
const OutputImageType * | GetOutput () 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 ThreadIdType & | GetNumberOfThreads () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const 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 Attributes | |
static const unsigned int | ImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::InPlaceImageFilter< TFeatureImage, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TFeatureImage, TOutputImage > | |
static const unsigned int | InputImageDimension |
static const unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
std::vector < FiniteDifferenceFunctionPointer > | m_DifferenceFunctions |
unsigned int | m_ElapsedIterations |
IdCellType | m_FunctionCount |
KdTreePointer | m_KdTree |
std::vector< InputImagePointer > | m_LevelSet |
VectorIdCellType | m_Lookup |
double | m_MaximumRMSError |
unsigned int | m_NumberOfIterations |
double | m_RMSChange |
bool | m_UseImageSpacing |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Member Functions | |
MultiphaseFiniteDifferenceImageFilter (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
Private Attributes | |
bool | m_InitializedState |
bool | m_ManualReinitialization |
typedef Vector< float, itkGetStaticConstMacro(ImageDimension) > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::CentroidVectorType |
Definition at line 226 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef SmartPointer< const Self > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::ConstPointer |
Definition at line 174 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FeatureImageType::Pointer itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FeatureImagePointer |
Definition at line 197 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef TFeatureImage itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FeatureImageType |
Definition at line 196 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FeatureImageType::PixelType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FeaturePixelType |
Definition at line 202 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FeatureImageType::PointType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FeaturePointType |
Definition at line 201 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FeatureImageType::RegionType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FeatureRegionType |
Definition at line 198 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FeatureImageType::SizeType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FeatureSizeType |
Definition at line 199 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FeatureImageType::SpacingType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FeatureSpacingType |
Definition at line 200 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FiniteDifferenceFunctionType::Pointer itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FiniteDifferenceFunctionPointer |
Definition at line 220 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef TFiniteDifferenceFunction itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::FiniteDifferenceFunctionType |
The value type of the time step. This is distinct from PixelType because PixelType may often be a vector value, while the TimeStep is a scalar value.
Definition at line 219 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef TIdCell itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::IdCellType |
Definition at line 213 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputPointType::CoordRepType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputCoordRepType |
Definition at line 186 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::Pointer itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputImagePointer |
Definition at line 184 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef TInputImage itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputImageType |
Input and output image types.
Definition at line 183 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::IndexType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputIndexType |
Definition at line 187 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputIndexType::IndexValueType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputIndexValueType |
Definition at line 188 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::OffsetValueType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputOffsetValueType |
Definition at line 194 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::PixelType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputPixelType |
Definition at line 192 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::PointType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputPointType |
Definition at line 185 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::RegionType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputRegionType |
Definition at line 191 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::SizeType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputSizeType |
Definition at line 189 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputSizeType::SizeValueType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputSizeValueType |
Definition at line 190 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InputImageType::SpacingType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::InputSpacingType |
Definition at line 193 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef KdTreeGeneratorType::Pointer itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::KdTreeGeneratorPointer |
Definition at line 229 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef Statistics::KdTreeGenerator< SampleType > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::KdTreeGeneratorType |
Definition at line 228 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef KdTreeType::Pointer itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::KdTreePointer |
Definition at line 231 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef KdTreeGeneratorType::KdTreeType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::KdTreeType |
Definition at line 230 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef OutputImageType::Pointer itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputImagePointer |
Definition at line 205 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef TOutputImage itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputImageType |
Definition at line 204 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef OutputImageType::IndexType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputIndexType |
Definition at line 210 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef OutputImageType::IndexValueType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputIndexValueType |
Definition at line 211 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef OutputImageType::PixelType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputPixelType |
Definition at line 206 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef OutputImageType::RegionType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputRegionType |
Definition at line 207 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef OutputImageType::SizeType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputSizeType |
Definition at line 208 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef OutputImageType::SizeValueType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::OutputSizeValueType |
Definition at line 209 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef SmartPointer< Self > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::Pointer |
Definition at line 173 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FiniteDifferenceFunctionType::RadiusType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::RadiusType |
Definition at line 223 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef Statistics::ListSample< CentroidVectorType > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::SampleType |
Definition at line 227 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef MultiphaseFiniteDifferenceImageFilter itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::Self |
Standard class typedefs.
Definition at line 171 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef InPlaceImageFilter< TFeatureImage, TOutputImage > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::Superclass |
Definition at line 172 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef FiniteDifferenceFunctionType::TimeStepType itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::TimeStepType |
Definition at line 221 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef std::vector< TimeStepType > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::TimeStepVectorType |
Definition at line 222 of file itkMultiphaseFiniteDifferenceImageFilter.h.
typedef std::vector< IdCellType > itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::VectorIdCellType |
Definition at line 214 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
inlineprotected |
Definition at line 390 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
inlineprotected |
Definition at line 404 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
private |
|
protectedpure virtual |
This method allocates a temporary update container in the subclass.
Implemented in itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, and itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction >.
|
protectedpure virtual |
This method is defined by a subclass to apply changes to the output from an update buffer and a time step value "dt".
dt | Time step value. |
|
protectedpure virtual |
This method is defined by a subclass to populate an update buffer with changes for the pixels in the output. It returns a time step value to be used for the update.
Implemented in itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, and itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction >.
|
protectedpure virtual |
This method can be defined in subclasses as needed to copy the input to the output. See DenseFiniteDifferenceImageFilter2 for an implementation.
Implemented in itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, and itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction >.
|
overrideprotectedvirtual |
This is the default, high-level algorithm for calculating finite difference solutions. It calls virtual methods in its subclasses to implement the major steps of the algorithm.
Reimplemented from itk::ImageSource< TOutputImage >.
|
overrideprotectedvirtual |
FiniteDifferenceImageFilter2 needs a larger input requested region than the output requested region. As such, we need to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TFeatureImage, TOutputImage >.
|
inlinevirtual |
This method returns a pointer to a FiniteDifferenceFunction object that will be used by the filter to calculate updates at image pixels.
functionIndex | Index of difference function to return. |
Definition at line 237 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Get the number of elapsed iterations of the filter.
|
virtual |
Set/Get the state of the filter.
|
inline |
Definition at line 331 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Require the filter to be manually reinitialized (by calling SetInitializedStateOff()
|
virtual |
Set/Get the maximum error allowed in the solution. This may not be defined for all solvers and its meaning may change with the application.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::InPlaceImageFilter< TFeatureImage, TOutputImage >.
Reimplemented in itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction >, itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >, and itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >.
|
virtual |
Set/Get the number of iterations that the filter will run.
|
virtual |
Set/Get the root mean squared change of the previous iteration. May not be used by all solvers.
|
virtual |
Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn.
|
protectedvirtual |
This method returns true when the current iterative solution of the equation has met the criteria to stop solving. Defined by a subclass.
Referenced by itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::ThreadedHalt().
|
inlineprotectedvirtual |
This method is optionally defined by a subclass and is called before the loop of iterations of calculate_change & upate. It does the global initialization, i.e. in the SparseFieldLevelSetImageFilter, initialize the list of layers.
Reimplemented in itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >, and itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >.
Definition at line 486 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Set/Get the state of the filter.
|
virtual |
Set/Get the state of the filter.
|
inlineprotectedvirtual |
This method is optionally defined by a subclass and is called immediately prior to each iterative CalculateChange-ApplyUpdate cycle. It can be used to set global variables needed for the next iteration (ie. average gradient magnitude of the image in anisotropic diffusion functions), or otherwise prepare for the next iteration.
Reimplemented in itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::ScalarChanAndVeseSparseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData, TIdCell >, and itk::ScalarChanAndVeseDenseLevelSetImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TSharedData >.
Definition at line 494 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Require the filter to be manually reinitialized (by calling SetInitializedStateOff()
|
virtual |
Require the filter to be manually reinitialized (by calling SetInitializedStateOff()
|
private |
|
inlineprotectedvirtual |
This method is called after the solution has been generated to allow subclasses to apply some further processing to the output.
Reimplemented in itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >, and itk::MultiphaseDenseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction >.
Definition at line 520 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
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::InPlaceImageFilter< TFeatureImage, TOutputImage >.
|
inlineprotected |
Virtual method for resolving a single time step from a set of time steps returned from processing threads.
timeStepList | The set of time changes compiled from all the threaded calls to ThreadedGenerateData. |
valid | The set of flags indicating which of "list" elements are valid |
The default is to return the minimum value in the list.
|
inlinevirtual |
This method sets the pointer to a FiniteDifferenceFunction object that will be used by the filter to calculate updates at image pixels.
functionIndex | Index of difference function to set. |
function | Pointer to difference function to set. |
Definition at line 255 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Set the number of elapsed iterations of the filter.
|
inline |
Definition at line 354 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Set/Get the state of the filter.
|
inline |
Definition at line 349 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
inline |
Definition at line 308 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
inline |
Definition at line 344 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Require the filter to be manually reinitialized (by calling SetInitializedStateOff()
|
virtual |
Set/Get the maximum error allowed in the solution. This may not be defined for all solvers and its meaning may change with the application.
|
virtual |
Set/Get the number of iterations that the filter will run.
|
virtual |
Set/Get the root mean squared change of the previous iteration. May not be used by all solvers.
|
virtual |
Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn.
|
inlineprotectedvirtual |
This method is similar to Halt(), and its default implementation in this class is simply to call Halt(). However, this method takes as a parameter a void pointer to the MultiThreader::ThreadInfoStruct structure. If you override this method instead of overriding Halt, you will be able to get the current thread ID and handle the Halt method accordingly. This is useful if you are doing a lot of processing in Halt that you don't want parallelized. Notice that ThreadedHalt is only called by the multithreaded filters, so you still should implement Halt, just in case a non-threaded filter is used.
Definition at line 476 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
virtual |
Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn.
|
virtual |
Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn.
|
static |
Dimensionality of input and output data is assumed to be the same.
Definition at line 180 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
protected |
The function that will be used in calculating updates for each pixel.
Definition at line 417 of file itkMultiphaseFiniteDifferenceImageFilter.h.
Referenced by itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::GetDifferenceFunction(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::InitializeIteration(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetDifferenceFunction(), and itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetFunctionCount().
|
protected |
|
protected |
Definition at line 406 of file itkMultiphaseFiniteDifferenceImageFilter.h.
Referenced by itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::GetDifferenceFunction(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::GetLevelSet(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::InitializeIteration(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::MultiphaseFiniteDifferenceImageFilter(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetDifferenceFunction(), and itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetFunctionCount().
|
private |
State that the filter is in, i.e. UNINITIALIZED or INITIALIZED
Definition at line 531 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
protected |
Definition at line 409 of file itkMultiphaseFiniteDifferenceImageFilter.h.
Referenced by itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::MultiphaseFiniteDifferenceImageFilter(), and itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetKdTree().
|
protected |
Definition at line 407 of file itkMultiphaseFiniteDifferenceImageFilter.h.
Referenced by itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::GetLevelSet(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetFunctionCount(), and itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetLevelSet().
|
protected |
Definition at line 408 of file itkMultiphaseFiniteDifferenceImageFilter.h.
Referenced by itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetFunctionCount(), and itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, unsigned int >::SetLookup().
|
private |
Indicates whether the filter automatically resets to UNINITIALIZED state after completing, or whether filter must be manually reset
Definition at line 528 of file itkMultiphaseFiniteDifferenceImageFilter.h.
|
protected |
|
protected |
|
protected |
|
protected |
Control whether derivatives use spacing of the input image in its calculation.
Definition at line 421 of file itkMultiphaseFiniteDifferenceImageFilter.h.