21 #ifndef otbImageFittingPolygonListFilter_h
22 #define otbImageFittingPolygonListFilter_h
26 #include "itkLineConstIterator.h"
39 template <
class TPath,
class TImage>
76 void SetInputImage(
const ImageType* image);
85 itkSetMacro(Radius,
unsigned int);
86 itkGetMacro(Radius,
unsigned int);
90 itkSetMacro(NumberOfIterations,
unsigned int);
91 itkGetMacro(NumberOfIterations,
unsigned int);
104 void GenerateData()
override;
107 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
109 virtual double computeValue(ImageConstPointerType image, VertexType middlePoint, VertexType previousPoint, VertexType nextPoint)
const;
119 #ifndef OTB_MANUAL_INSTANTIATION
Slightly deform polygon to reach higher energy from the image.
~ImageFittingPolygonListFilter() override
ImageFittingPolygonListFilter Self
PathListToPathListFilter< TPath > Superclass
Superclass::PathType PathType
Superclass::PathListType PathListType
Superclass::PathPointerType PathPointerType
itk::SmartPointer< const Self > ConstPointer
void operator=(const Self &)=delete
ImageFittingPolygonListFilter(const Self &)=delete
itk::SmartPointer< Self > Pointer
PathType::VertexType VertexType
ImageType::Pointer ImagePointerType
PathListType::ConstIterator IteratorType
itk::LineConstIterator< ImageType > LineConstIteratorType
unsigned int m_NumberOfIterations
PathListType::Pointer PathListPointerType
PathType::VertexListType VertexListType
ImageType::ConstPointer ImageConstPointerType
VertexListType::ConstIterator VertexListConstIteratorType
ConstIterator of the object list.
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
itk::SmartPointer< Self > Pointer
Base class for filter taking a PathList as input a returning a PathList.
PathType::Pointer PathPointerType
Superclass::InputObjectType PathType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.