|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
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
itk::ConnectedComponentFunctorImageFilter< VectorImageType, LabelImageType, FunctorType, MaskImageType > ConnectedComponentFilterType
This class is a fork of the itk::ShapeLabelMapFilter working with AttributesMapLabelObject.
itk::SmartPointer< Self > Pointer
~PersistentConnectedComponentSegmentationOBIAToVectorDataFilter() override
Perform vectorization in a persistent way.
A LabelObject with a generic attributes map.
std::string m_ConnectedComponentExpression
This class vectorizes a LabelObject to a VectorData.
otb::LabelMapToVectorDataFilter< AttributesLabelMapType, VectorDataType > LabelMapToVectorDataFilterType
otb::BandsStatisticsAttributesLabelMapFilter< AttributesLabelMapType, VectorImageType > RadiometricLabelMapFilterType
otb::ShapeAttributesLabelMapFilter< AttributesLabelMapType > ShapeLabelMapFilterType
otb::LabelObjectOpeningMuParserFilter< AttributesLabelMapType > LabelObjectOpeningFilterType
itk::SmartPointer< const Self > ConstPointer
ObjectSizeType m_MinimumObjectSize
VectorDataPointerType ProcessTile() override
otb::LabelImageToLabelMapWithAdjacencyFilter< LabelImageType, AttributesLabelMapType > LabelImageToLabelMapFilterType
Functor::ConnectedComponentMuParserFunctor< VectorImagePixelType > FunctorType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
convert a labeled image to a label map with adjacency information.
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::VectorImageType VectorImageType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter< TVImage, TLabelImage, TMaskImage, TOutputVectorData > PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType
std::string m_MaskExpression
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::VectorDataType VectorDataType
bool m_ComputeFeretDiameter
VectorDataType::Pointer VectorDataPointerType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::MaskImageType MaskImageType
PersistentImageToVectorDataFilter< TVImage, TOutputVectorData > Superclass
RelabelComponentFilterType::ObjectSizeType ObjectSizeType
Performs connected component segmentation on an input image, apply OBIA filtering and output a Vector...
otb::MaskMuParserFilter< VectorImageType, MaskImageType > MaskMuParserFilterType
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter()
itk::RelabelComponentImageFilter< LabelImageType, LabelImageType > RelabelComponentFilterType
This filter link a persistent filter with a StreamingImageVirtualWriter.
VectorImageType::Pointer VectorImagePointerType
bool m_ShapeReducedSetOfAttributes
PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType::LabelImageType LabelImageType
[internal] Helper class to perform connected component segmentation on an input image,...
otb::AttributesMapLabelObject< unsigned int, InputImageDimension, double > AttributesMapLabelObjectType
static const unsigned int InputImageDimension
This class is a LabelMap with additional adjacency information.
std::string m_OBIAExpression
otb::LabelMapWithAdjacency< AttributesMapLabelObjectType > AttributesLabelMapType
TLabelImage LabelImageType
PersistentFilterStreamingDecorator< PersistentConnectedComponentSegmentationOBIAToVectorDataFilterType > FilterType
bool m_StatsReducedSetOfAttributes
PersistentConnectedComponentSegmentationOBIAToVectorDataFilter Self
itk::ExtractImageFilter< VectorImageType, VectorImageType > ExtractImageFilterType
This filter computes band statistics attributes for each object.
void GenerateInputRequestedRegion() override
TOutputVectorData VectorDataType
VectorImageType::PixelType VectorImagePixelType