ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkOrthogonalSwath2DPathFilter.h>
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.
Definition at line 52 of file itkOrthogonalSwath2DPathFilter.h.
typedef SmartPointer< const Self > itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::ConstPointer |
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 62 of file itkOrthogonalSwath2DPathFilter.h.
typedef ImageType::ConstPointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::ImageConstPointer |
Definition at line 76 of file itkOrthogonalSwath2DPathFilter.h.
typedef TSwathMeritImage itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::ImageType |
Definition at line 75 of file itkOrthogonalSwath2DPathFilter.h.
typedef InputPathType::IndexType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::IndexType |
Definition at line 86 of file itkOrthogonalSwath2DPathFilter.h.
typedef InputPathType::InputType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::InputPathInputType |
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 73 of file itkOrthogonalSwath2DPathFilter.h.
typedef InputPathType::Pointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::InputPathPointer |
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 72 of file itkOrthogonalSwath2DPathFilter.h.
typedef TFourierSeriesPath itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::InputPathType |
Some convenient typedefs.
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 68 of file itkOrthogonalSwath2DPathFilter.h.
typedef InputPathType::OffsetType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OffsetType |
Definition at line 87 of file itkOrthogonalSwath2DPathFilter.h.
typedef OutputPathType::OrthogonalCorrectionTablePointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalCorrectionTablePointer |
Definition at line 84 of file itkOrthogonalSwath2DPathFilter.h.
typedef OutputPathType::OrthogonalCorrectionTableType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalCorrectionTableType |
Definition at line 82 of file itkOrthogonalSwath2DPathFilter.h.
typedef OutputPathType::InputType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OutputPathInputType |
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 80 of file itkOrthogonalSwath2DPathFilter.h.
typedef OutputPathType::Pointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OutputPathPointer |
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 79 of file itkOrthogonalSwath2DPathFilter.h.
typedef OrthogonallyCorrected2DParametricPath itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OutputPathType |
Some convenient typedefs.
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 78 of file itkOrthogonalSwath2DPathFilter.h.
typedef SmartPointer< Self > itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::Pointer |
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 61 of file itkOrthogonalSwath2DPathFilter.h.
typedef OrthogonalSwath2DPathFilter itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::Self |
Standard class typedefs.
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 58 of file itkOrthogonalSwath2DPathFilter.h.
typedef ImageType::SizeType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::SizeType |
Definition at line 88 of file itkOrthogonalSwath2DPathFilter.h.
typedef PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath > itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::Superclass |
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
Definition at line 60 of file itkOrthogonalSwath2DPathFilter.h.
itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalSwath2DPathFilter | ( | ) | [protected] |
virtual itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::~OrthogonalSwath2DPathFilter | ( | ) | [protected, virtual] |
itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::OrthogonalSwath2DPathFilter | ( | const Self & | ) | [private] |
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 >.
unsigned int itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::FindAndStoreBestErrorStep | ( | unsigned int | x, |
unsigned int | F, | ||
unsigned int | L | ||
) | [private] |
void itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::GenerateData | ( | void | ) | [protected, virtual] |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
virtual const char* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
double& itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::MeritValue | ( | int | f, |
int | l, | ||
int | x | ||
) | [inline, private] |
Definition at line 126 of file itkOrthogonalSwath2DPathFilter.h.
static Pointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
void itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::operator= | ( | const Self & | ) | [private] |
Time when GenerateOutputInformation was last called.
Reimplemented from itk::PathAndImageToPathFilter< TFourierSeriesPath, TSwathMeritImage, OrthogonallyCorrected2DParametricPath >.
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 >.
int& itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::StepValue | ( | int | f, |
int | l, | ||
int | x | ||
) | [inline, private] |
Definition at line 119 of file itkOrthogonalSwath2DPathFilter.h.
OrthogonalCorrectionTablePointer itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_FinalOffsetValues [private] |
Definition at line 140 of file itkOrthogonalSwath2DPathFilter.h.
double* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_MeritValues [private] |
Definition at line 135 of file itkOrthogonalSwath2DPathFilter.h.
int* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_OptimumStepsValues [private] |
Definition at line 137 of file itkOrthogonalSwath2DPathFilter.h.
int* itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_StepValues [private] |
Definition at line 133 of file itkOrthogonalSwath2DPathFilter.h.
SizeType itk::OrthogonalSwath2DPathFilter< TFourierSeriesPath, TSwathMeritImage >::m_SwathSize [private] |
Definition at line 142 of file itkOrthogonalSwath2DPathFilter.h.