21 #ifndef otbMeanShiftSegmentationFilter_h
22 #define otbMeanShiftSegmentationFilter_h
29 #include "itkRelabelComponentImageFilter.h"
30 #include "itkConnectedComponentFunctorImageFilter.h"
41 template <
class TInput>
50 return "ConnectedLabelFunctor";
56 return static_cast<bool>(p1 == p2);
87 template <
class TInputImage,
class TOutputLabelImage,
class TOutputClusteredImage = TInputImage,
class TKernel = Meanshift::KernelUniform>
93 typedef itk::ImageToImageFilter<TInputImage, TOutputLabelImage>
Superclass;
112 itkStaticConstMacro(ImageDimension,
unsigned int, TInputImage::ImageDimension);
185 void GenerateData()
override;
197 #ifndef OTB_MANUAL_INSTANTIATION
std::string GetNameOfClass()
void operator=(const Self &)=delete
bool operator()(TInput &p1, TInput &p2)
ConnectedLabelFunctor(const Self &)=delete
ConnectedLabelFunctor Self
Creation of an "otb" image which contains metadata.
itk::SmartPointer< Self > Pointer
itk::SmartPointer< Self > Pointer
RegionPruningFilterPointerType m_RegionPruningFilter
LabelImageRegionPruningFilter< OutputLabelImageType, OutputClusteredImageType, OutputLabelImageType, OutputClusteredImageType > RegionPruningFilterType
itk::SmartPointer< const Self > ConstPointer
TOutputClusteredImage OutputClusteredImageType
otbGetObjectMemberConstReferenceMacro(MeanShiftFilter, RangeBandwidth, RealType)
RegionPruningFilterType::Pointer RegionPruningFilterPointerType
LabelImageRegionMergingFilter< InputLabelImageType, MeanShiftFilteredImageType, OutputLabelImageType, OutputClusteredImageType > RegionMergingFilterType
itk::SmartPointer< Self > Pointer
otbGetObjectMemberConstReferenceMacro(MeanShiftFilter, Threshold, RealType)
MeanShiftFilterType::LabelType InputLabelPixelType
otbSetObjectMemberMacro(MeanShiftFilter, MaxIterationNumber, unsigned int)
TOutputLabelImage OutputLabelImageType
otbGetObjectMemberConstReferenceMacro(MeanShiftFilter, SpatialBandwidth, RealType)
otbSetObjectMemberMacro(RegionPruningFilter, MinRegionSize, RealType)
MeanShiftSegmentationFilter Self
otbSetObjectMemberMacro(MeanShiftFilter, Threshold, RealType)
MeanShiftSmoothingImageFilter< InputSpectralImageType, MeanShiftFilteredImageType, KernelType > MeanShiftFilterType
Functor::ConnectedLabelFunctor< InputLabelPixelType > LabelFunctorType
RelabelComponentFilterPointerType m_RelabelFilter
itk::ConnectedComponentFunctorImageFilter< InputLabelImageType, InputLabelImageType, LabelFunctorType > RelabelComponentFilterType
MeanShiftFilterType::Pointer MeanShiftFilterPointerType
MeanShiftFilterPointerType m_MeanShiftFilter
otbSetObjectMemberMacro(MeanShiftFilter, RangeBandwidth, RealType)
TInputImage InputSpectralImageType
MeanShiftFilterType::OutputLabelImageType InputLabelImageType
RegionMergingFilterPointerType m_RegionMergingFilter
OutputClusteredImageType MeanShiftFilteredImageType
otbSetObjectMemberMacro(MeanShiftFilter, SpatialBandwidth, RealType)
itk::ImageToImageFilter< TInputImage, TOutputLabelImage > Superclass
otbGetObjectMemberMacro(RegionPruningFilter, MinRegionSize, RealType)
otbGetObjectMemberConstReferenceMacro(MeanShiftFilter, MaxIterationNumber, unsigned int)
RelabelComponentFilterType::Pointer RelabelComponentFilterPointerType
RegionMergingFilterType::Pointer RegionMergingFilterPointerType
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.