21 #ifndef otbMinMaxAttributesLabelMapFilter_h
22 #define otbMinMaxAttributesLabelMapFilter_h
24 #include "itkLabelMapFilter.h"
25 #include "itkSimpleDataObjectDecorator.h"
37 template <
class TInputImage>
43 typedef itk::LabelMapFilter<TInputImage, TInputImage>
Superclass;
65 itkStaticConstMacro(InputImageDimension,
unsigned int, TInputImage::ImageDimension);
77 return this->GetMinimumOutput()->Get();
79 AttributesMapObjectType* GetMinimumOutput();
80 const AttributesMapObjectType* GetMinimumOutput()
const;
86 return this->GetMaximumOutput()->Get();
88 AttributesMapObjectType* GetMaximumOutput();
89 const AttributesMapObjectType* GetMaximumOutput()
const;
92 DataObjectPointerType MakeOutput(DataObjectPointerArraySizeType idx)
override;
93 using Superclass::MakeOutput;
99 void GenerateData()
override;
113 #ifndef OTB_MANUAL_INSTANTIATION
Computes the min/max of all attributes of a LabelMap where LabelObject type is compatible with otb::A...
itk::SimpleDataObjectDecorator< AttributesMapType > AttributesMapObjectType
AttributesMapType GetMinimum() const
InputImageType::PixelType InputImagePixelType
InputImageType::ConstIterator ConstIteratorType
itk::SmartPointer< Self > Pointer
InputImageType::ConstPointer InputImageConstPointer
LabelObjectType::AttributesValueType AttributesValueType
itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
MinMaxAttributesLabelMapFilter(const Self &)=delete
AttributesMapType GetMaximum() const
TInputImage InputImageType
void operator=(const Self &)=delete
~MinMaxAttributesLabelMapFilter() override
itk::SmartPointer< const Self > ConstPointer
LabelObjectType::AttributesMapType AttributesMapType
InputImageType::RegionType InputImageRegionType
DataObjectType::Pointer DataObjectPointerType
MinMaxAttributesLabelMapFilter Self
InputImageType::Pointer InputImagePointer
InputImageType::LabelObjectType LabelObjectType
itk::DataObject DataObjectType
itk::LabelMapFilter< TInputImage, TInputImage > Superclass
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.