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

#include <itkOrthogonalSwath2DPathFilter.h>

+ Inheritance diagram for itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >:
+ Collaboration diagram for itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef ImageType::ConstPointer ImageConstPointer
typedef TSwathMeritImage ImageType
typedef InputPathType::IndexType IndexType
typedef InputPathType::InputType InputPathInputType
typedef InputPathType::Pointer InputPathPointer
typedef TFourierSeriesPath InputPathType
typedef InputPathType::OffsetType OffsetType
typedef
OutputPathType::OrthogonalCorrectionTablePointer 
OrthogonalCorrectionTablePointer
typedef
OutputPathType::OrthogonalCorrectionTableType 
OrthogonalCorrectionTableType
typedef OutputPathType::InputType OutputPathInputType
typedef OutputPathType::Pointer OutputPathPointer
typedef
OrthogonallyCorrected2DParametricPath 
OutputPathType
typedef SmartPointer< SelfPointer
typedef OrthogonalSwath2DPathFilter Self
typedef ImageType::SizeType SizeType
typedef
PathAndImageToPathFilter
< TFourierSeriesPath,
TSwathMeritImage,
OrthogonallyCorrected2DParametricPath
Superclass
- Public Types inherited from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >
typedef InputImageType::PixelType InputImagePixelType
typedef
InputImageType::ConstPointer 
InputImagePointer
typedef InputImageType::RegionType InputImageRegionType
typedef TSwathMeritImage InputImageType
typedef InputPathType::ConstPointer InputPathConstPointer
typedef InputPathType::IndexType InputPathIndexType
typedef InputPathType::OffsetType InputPathOffsetType
typedef InputPathType::OutputType InputPathOutputType
typedef OutputPathType::IndexType OutputPathIndexType
typedef OutputPathType::OffsetType OutputPathOffsetType
typedef OutputPathType::OutputType OutputPathOutputType
- Public Types inherited from itk::PathToPathFilter< TFourierSeriesPath, OrthogonallyCorrected2DParametricPath >
- Public Types inherited from itk::PathSource< OrthogonallyCorrected2DParametricPath >
typedef DataObject::Pointer DataObjectPointer
typedef
ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
- Public Types inherited from itk::ProcessObject
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
typedef std::vector
< DataObjectIdentifierType
NameArray
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
- Public Member Functions inherited from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >
const InputImageTypeGetImageInput (void)
const InputPathTypeGetPathInput (void)
virtual void SetImageInput (const TSwathMeritImage *image)
virtual void SetPathInput (const TFourierSeriesPath *path)
- Public Member Functions inherited from itk::PathToPathFilter< TFourierSeriesPath, OrthogonallyCorrected2DParametricPath >
const InputPathTypeGetInput (void)
const InputPathTypeGetInput (unsigned int idx)
virtual void SetInput (const InputPathType *path)
virtual void SetInput (unsigned int, const TFourierSeriesPath *path)
- Public Member Functions inherited from itk::PathSource< OrthogonallyCorrected2DParametricPath >
OutputPathTypeGetOutput (unsigned int idx)
virtual void GraftNthOutput (unsigned int idx, OutputPathType *output)
OutputPathTypeGetOutput (void)
virtual void GraftOutput (OutputPathType *output)
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
virtual void AbortGenerateDataOn ()
virtual void EnlargeOutputRequestedRegion (DataObject *)
virtual const bool & GetAbortGenerateData ()
NameArray GetInputNames () const
MultiThreader * GetMultiThreader () const
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
DataObjectPointerArraySizeType GetNumberOfInputs () const
DataObjectPointerArraySizeType GetNumberOfOutputs () const
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
NameArray GetOutputNames () const
virtual const float & GetProgress ()
NameArray GetRequiredInputNames () const
bool HasInput (const DataObjectIdentifierType &key) const
bool HasOutput (const DataObjectIdentifierType &key) const
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
virtual void PrepareOutputs ()
virtual void PropagateRequestedRegion (DataObject *output)
virtual void ResetPipeline ()
virtual void SetAbortGenerateData (bool _arg)
virtual void SetProgress (float _arg)
virtual void Update ()
virtual void UpdateLargestPossibleRegion ()
virtual void UpdateOutputData (DataObject *output)
virtual void UpdateOutputInformation ()
void UpdateProgress (float amount)
DataObjectPointerArray GetInputs ()
DataObjectPointerArray GetOutputs ()
DataObjectPointerArray GetIndexedInputs ()
DataObjectPointerArray GetIndexedOutputs ()
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
virtual void SetReleaseDataFlag (bool flag)
virtual bool GetReleaseDataFlag () const
void ReleaseDataFlagOn ()
void ReleaseDataFlagOff ()
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
virtual const bool & GetReleaseDataBeforeUpdateFlag ()
virtual void ReleaseDataBeforeUpdateFlagOn ()
virtual void ReleaseDataBeforeUpdateFlagOff ()
virtual void SetNumberOfThreads (ThreadIdType _arg)
virtual const ThreadIdTypeGetNumberOfThreads ()
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
 itkCloneMacro (Self)
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()

Protected Member Functions

void GenerateData (void)
 OrthogonalSwath2DPathFilter ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~OrthogonalSwath2DPathFilter ()
- Protected Member Functions inherited from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >
virtual void GenerateInputRequestedRegion ()
 PathAndImageToPathFilter ()
virtual ~PathAndImageToPathFilter ()
- Protected Member Functions inherited from itk::PathToPathFilter< TFourierSeriesPath, OrthogonallyCorrected2DParametricPath >
 PathToPathFilter ()
 ~PathToPathFilter ()
- Protected Member Functions inherited from itk::PathSource< OrthogonallyCorrected2DParametricPath >
 PathSource ()
virtual ~PathSource ()
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
virtual void AddOutput (DataObject *output)
bool AddRequiredInputName (const DataObjectIdentifierType &)
virtual void CacheInputReleaseDataFlags ()
virtual void GenerateOutputInformation ()
virtual void GenerateOutputRequestedRegion (DataObject *output)
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs ()
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs ()
bool IsIndexedName (const DataObjectIdentifierType &) const
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
DataObjectPointerArraySizeType MakeIndexFromName (const DataObjectIdentifierType &) const
DataObjectIdentifierType MakeNameFromIndex (DataObjectPointerArraySizeType) const
 ProcessObject ()
virtual void PropagateResetPipeline ()
virtual void ReleaseInputs ()
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 VerifyInputInformation ()
virtual void VerifyPreconditions ()
 ~ProcessObject ()
DataObjectGetInput (const DataObjectIdentifierType &key)
const DataObjectGetInput (const DataObjectIdentifierType &key) const
DataObjectGetInput (DataObjectPointerArraySizeType)
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryInput ()
const DataObjectGetPrimaryInput () const
DataObjectGetOutput (const DataObjectIdentifierType &key)
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
DataObjectGetPrimaryOutput ()
const DataObjectGetPrimaryOutput () const
virtual void PushBackInput (const DataObject *input)
virtual void PopBackInput ()
virtual void PushFrontInput (const DataObject *input)
virtual void PopFrontInput ()
- 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

unsigned int FindAndStoreBestErrorStep (unsigned int x, unsigned int F, unsigned int L)
double & MeritValue (int f, int l, int x)
void operator= (const Self &)
 OrthogonalSwath2DPathFilter (const Self &)
int & StepValue (int f, int l, int x)

Private Attributes

OrthogonalCorrectionTablePointer m_FinalOffsetValues
double * m_MeritValues
int * m_OptimumStepsValues
int * m_StepValues
SizeType m_SwathSize

Additional Inherited Members

- Static Public Attributes inherited from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >
static const unsigned int InputImageDimension

Detailed Description

template<class TFourierSeriesPath, class TSwathMeritImage>
class itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >

Filter that optimizes a 2D path relative to an image.

OrthogonalSwath2DPathFilter produces an OrthogonallyCorrected2DParametricPath representation of a path that is optimal with respect to an image and an original Fourier series path (sometimes referred to as an "initial contour"). Usage is a little complex. The input image must be preprocessed with ExtractOrthogonalSwath2DImageFilter (the user may want to smooth the image first). The user should then use the resulting swath image to produce a new "merit" swath image of the EXACT same size as the swath image produced in the preceding step. Each pixel value in the merit swath image indicates the local merit of having the path pass through that swath index (taking the absolute value of the vertical partial-derivative of the swath image is often a good way to do this). Both the merit swath image and the path used to extract the swath image should then be passed as inputs to this filter which will search through the merit swath image using dynamic programming to find the absolutely optimum (in terms of the swath image) path. itkOrthogonalSwath2DPathFilterTest.cxx provides a good usage example.

Examples:
itkOrthogonalSwath2DPathFilterTest.cxx.

Definition at line 52 of file itkOrthogonalSwath2DPathFilter.h.


Member Typedef Documentation

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef SmartPointer< const Self > itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::ConstPointer
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef ImageType::ConstPointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::ImageConstPointer

Definition at line 76 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef TSwathMeritImage itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::ImageType

Definition at line 75 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef InputPathType::IndexType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::IndexType

Definition at line 86 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef InputPathType::InputType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::InputPathInputType
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef InputPathType::Pointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::InputPathPointer
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef TFourierSeriesPath itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::InputPathType
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef InputPathType::OffsetType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OffsetType

Definition at line 87 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef OutputPathType::OrthogonalCorrectionTablePointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalCorrectionTablePointer

Definition at line 84 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef OutputPathType::OrthogonalCorrectionTableType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalCorrectionTableType

Definition at line 82 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef OutputPathType::InputType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OutputPathInputType
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef OutputPathType::Pointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OutputPathPointer
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef OrthogonallyCorrected2DParametricPath itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OutputPathType
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef SmartPointer< Self > itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::Pointer
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef OrthogonalSwath2DPathFilter itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::Self
template<class TFourierSeriesPath , class TSwathMeritImage >
typedef ImageType::SizeType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::SizeType

Definition at line 88 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
typedef PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath > itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::Superclass

Constructor & Destructor Documentation

template<class TFourierSeriesPath , class TSwathMeritImage >
itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalSwath2DPathFilter ( )
protected
template<class TFourierSeriesPath , class TSwathMeritImage >
virtual itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::~OrthogonalSwath2DPathFilter ( )
protectedvirtual
template<class TFourierSeriesPath , class TSwathMeritImage >
itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalSwath2DPathFilter ( const Self )
private

Member Function Documentation

template<class TFourierSeriesPath , class TSwathMeritImage >
virtual::itk::LightObject::Pointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::CreateAnother ( void  ) 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::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.

template<class TFourierSeriesPath , class TSwathMeritImage >
unsigned int itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::FindAndStoreBestErrorStep ( unsigned int  x,
unsigned int  F,
unsigned int  L 
)
private
template<class TFourierSeriesPath , class TSwathMeritImage >
void itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::GenerateData ( void  )
protectedvirtual

This method causes the filter to generate its output.

Reimplemented from itk::ProcessObject.

template<class TFourierSeriesPath , class TSwathMeritImage >
virtual const char* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::GetNameOfClass ( ) const
virtual
template<class TFourierSeriesPath , class TSwathMeritImage >
double& itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::MeritValue ( int  f,
int  l,
int  x 
)
inlineprivate

Definition at line 126 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
static Pointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::New ( )
static
template<class TFourierSeriesPath , class TSwathMeritImage >
void itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::operator= ( const Self )
private

Time when GenerateOutputInformation was last called.

Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.

template<class TFourierSeriesPath , class TSwathMeritImage >
void itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

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::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.

template<class TFourierSeriesPath , class TSwathMeritImage >
int& itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::StepValue ( int  f,
int  l,
int  x 
)
inlineprivate

Definition at line 119 of file itkOrthogonalSwath2DPathFilter.h.


Member Data Documentation

template<class TFourierSeriesPath , class TSwathMeritImage >
OrthogonalCorrectionTablePointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_FinalOffsetValues
private

Definition at line 140 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
double* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_MeritValues
private

Definition at line 135 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
int* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_OptimumStepsValues
private

Definition at line 137 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
int* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_StepValues
private

Definition at line 133 of file itkOrthogonalSwath2DPathFilter.h.

template<class TFourierSeriesPath , class TSwathMeritImage >
SizeType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_SwathSize
private

Definition at line 142 of file itkOrthogonalSwath2DPathFilter.h.


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