ITK  4.1.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 Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () 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 ()

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

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 preceeding 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 ( ) [protected, virtual]
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  ) [protected, virtual]

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 
) [inline, private]

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 [protected, virtual]

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 
) [inline, private]

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: