21 #ifndef otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilter_h
22 #define otbStreamingConnectedComponentSegmentationOBIAToVectorDataFilter_h
28 #include "itkConnectedComponentFunctorImageFilter.h"
30 #include "itkRelabelComponentImageFilter.h"
63 template <
class TVImage,
class TLabelImage,
class TMaskImage,
class TOutputVectorData>
118 itkSetStringMacro(MaskExpression);
121 itkGetStringMacro(MaskExpression);
124 itkSetStringMacro(ConnectedComponentExpression);
127 itkGetStringMacro(ConnectedComponentExpression);
136 itkSetStringMacro(OBIAExpression);
139 itkGetStringMacro(OBIAExpression);
142 itkSetMacro(ShapeReducedSetOfAttributes,
bool);
145 itkGetMacro(ShapeReducedSetOfAttributes,
bool);
148 itkSetMacro(StatsReducedSetOfAttributes,
bool);
151 itkGetMacro(StatsReducedSetOfAttributes,
bool);
154 itkSetMacro(ComputePolygon,
bool);
157 itkGetMacro(ComputePolygon,
bool);
160 itkSetMacro(ComputeFlusser,
bool);
163 itkGetMacro(ComputeFlusser,
bool);
166 itkSetMacro(ComputePerimeter,
bool);
169 itkGetMacro(ComputePerimeter,
bool);
172 itkSetMacro(ComputeFeretDiameter,
bool);
175 itkGetMacro(ComputeFeretDiameter,
bool);
229 template <
class TVImage,
class TLabelImage,
class TMaskImage,
class TOutputVectorData>
248 #ifndef OTB_MANUAL_INSTANTIATION
A LabelObject with a generic attributes map.
This filter computes band statistics attributes for each object.
convert a labeled image to a label map with adjacency information.
This class vectorizes a LabelObject to a VectorData.
This class is a LabelMap with additional adjacency information.
[internal] Helper class to perform connected component segmentation on an input image,...
PersistentImageToVectorDataFilter< TVImage, TOutputVectorData > Superclass
itk::RelabelComponentImageFilter< LabelImageType, LabelImageType > RelabelComponentFilterType
static const unsigned int InputImageDimension
VectorImageType::Pointer VectorImagePointerType
TOutputVectorData VectorDataType
otb::LabelMapToVectorDataFilter< AttributesLabelMapType, VectorDataType > LabelMapToVectorDataFilterType
~PersistentConnectedComponentSegmentationOBIAToVectorDataFilter() override
otb::LabelObjectOpeningMuParserFilter< AttributesLabelMapType > LabelObjectOpeningFilterType
VectorImageType::PixelType VectorImagePixelType
itk::ConnectedComponentFunctorImageFilter< VectorImageType, LabelImageType, FunctorType, MaskImageType > ConnectedComponentFilterType
void GenerateInputRequestedRegion() override
otb::ShapeAttributesLabelMapFilter< AttributesLabelMapType > ShapeLabelMapFilterType
otb::MaskMuParserFilter< VectorImageType, MaskImageType > MaskMuParserFilterType
RelabelComponentFilterType::ObjectSizeType ObjectSizeType
itk::SmartPointer< const Self > ConstPointer
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter Self
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter()
TLabelImage LabelImageType
Functor::ConnectedComponentMuParserFunctor< VectorImagePixelType > FunctorType
std::string m_MaskExpression
bool m_StatsReducedSetOfAttributes
otb::AttributesMapLabelObject< unsigned int, InputImageDimension, double > AttributesMapLabelObjectType
VectorDataType::Pointer VectorDataPointerType
ObjectSizeType m_MinimumObjectSize
otb::LabelImageToLabelMapWithAdjacencyFilter< LabelImageType, AttributesLabelMapType > LabelImageToLabelMapFilterType
std::string m_OBIAExpression
VectorDataPointerType ProcessTile() override
itk::SmartPointer< Self > Pointer
bool m_ComputeFeretDiameter
otb::LabelMapWithAdjacency< AttributesMapLabelObjectType > AttributesLabelMapType
otb::BandsStatisticsAttributesLabelMapFilter< AttributesLabelMapType, VectorImageType > RadiometricLabelMapFilterType
bool m_ShapeReducedSetOfAttributes
std::string m_ConnectedComponentExpression
itk::ExtractImageFilter< VectorImageType, VectorImageType > ExtractImageFilterType
This filter link a persistent filter with a StreamingImageVirtualWriter.
This filter is the base class for all filter persisting data through multiple update....
Perform vectorization in a persistent way.
This class is a fork of the itk::ShapeLabelMapFilter working with AttributesMapLabelObject.
Performs connected component segmentation on an input image, apply OBIA filtering and output a Vector...
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::MaskImageType MaskImageType
PersistentFilterStreamingDecorator< PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType > FilterType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::LabelImageType LabelImageType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::VectorDataType VectorDataType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter< TVImage, TLabelImage, TMaskImage, TOutputVectorData > PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::VectorImageType VectorImageType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.