18#ifndef itkOrthogonalSwath2DPathFilter_h
19#define itkOrthogonalSwath2DPathFilter_h
53template <
typename TFourierSeriesPath,
typename TSwathMeritImage>
123 int rows = m_SwathSize[1];
125 return m_StepValues[(x * rows * rows) + (f * rows) + (l)];
131 int rows = m_SwathSize[1];
133 return m_MeritValues[(x * rows * rows) + (f * rows) + (l)];
136 std::unique_ptr<int[]> m_StepValues{
nullptr };
138 std::unique_ptr<double[]> m_MeritValues{
nullptr };
140 std::unique_ptr<int[]> m_OptimumStepsValues{
nullptr };
149#ifndef ITK_MANUAL_INSTANTIATION
150# include "itkOrthogonalSwath2DPathFilter.hxx"
Control indentation during Print() invocation.
Light weight base class for most itk classes.
Filter that optimizes a 2D path relative to an image.
typename InputPathType::IndexType IndexType
typename ImageType::SizeType SizeType
unsigned int FindAndStoreBestErrorStep(unsigned int x, unsigned int F, unsigned int L)
~OrthogonalSwath2DPathFilter() override=default
TFourierSeriesPath InputPathType
typename ImageType::ConstPointer ImageConstPointer
typename OutputPathType::OrthogonalCorrectionTableType OrthogonalCorrectionTableType
typename InputPathType::Pointer InputPathPointer
void GenerateData() override
int & StepValue(int f, int l, int x)
typename InputPathType::InputType InputPathInputType
double & MeritValue(int f, int l, int x)
OrthogonalSwath2DPathFilter()=default
void PrintSelf(std::ostream &os, Indent indent) const override
typename InputPathType::OffsetType OffsetType
typename OutputPathType::InputType OutputPathInputType
typename OutputPathType::OrthogonalCorrectionTablePointer OrthogonalCorrectionTablePointer
typename OutputPathType::Pointer OutputPathPointer
TSwathMeritImage ImageType
Represent an orthogonally corrected 2D parametric path.
Superclass::InputType InputType
Base class for filters that take both a path and an image as input and produce a path as output.
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....