OTB
9.0.0
Orfeo Toolbox
|
#include <otbVectorDataToLabelMapWithAttributesFilter.h>
Public Types | |
typedef LabelObjectType::AttributesValueType | AttributesValueType |
typedef InternalTreeNodeType::ChildrenListType | ChildrenListType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef otb::CorrectPolygonFunctor< PolygonType > | CorrectFunctorType |
typedef DataNodeType::Pointer | DataNodePointerType |
typedef InputVectorDataType::DataNodeType | DataNodeType |
typedef OutputLabelMapType::DirectionType | DirectionType |
typedef OutputLabelMapType::IndexType | IndexType |
typedef InputVectorDataType::ConstPointer | InputVectorDataConstPointer |
typedef InputVectorDataType::Pointer | InputVectorDataPointer |
typedef TVectorData | InputVectorDataType |
typedef InputVectorDataType::DataTreeType::TreeNodeType | InternalTreeNodeType |
typedef OutputLabelMapType::LabelObjectType | LabelObjectType |
typedef OutputLabelMapType::LabelType | LabelType |
typedef OutputLabelMapType::PointType | OriginType |
typedef OutputLabelMapType::ConstPointer | OutputLabelMapConstPointer |
typedef OutputLabelMapType::PixelType | OutputLabelMapPixelType |
typedef OutputLabelMapType::Pointer | OutputLabelMapPointer |
typedef TLabelMap | OutputLabelMapType |
typedef itk::SmartPointer< Self > | Pointer |
typedef InputVectorDataType::PointType | PointType |
typedef PolygonType::Pointer | PolygonPointerType |
typedef DataNodeType::PolygonType | PolygonType |
typedef OutputLabelMapType::RegionType | RegionType |
typedef VectorDataToLabelMapWithAttributesFilter | Self |
typedef itk::Size< itkGetStaticConstMacro(VectorDataDimension)> | SizeType |
typedef OutputLabelMapType::SpacingType | SpacingType |
typedef LabelMapSource< TLabelMap > | Superclass |
typedef VectorDataProperties< InputVectorDataType > | VectorDataPropertiesType |
Public Types inherited from otb::LabelMapSource< TLabelMap > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TLabelMap ::Pointer | OutputLabelMapPointer |
typedef TLabelMap | OutputLabelMapType |
typedef itk::SmartPointer< Self > | Pointer |
typedef LabelMapSource | Self |
typedef itk::ProcessObject | Superclass |
Additional Inherited Members | |
Public Member Functions inherited from otb::LabelMapSource< TLabelMap > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual OutputLabelMapType * | GetOutput (void) |
virtual OutputLabelMapType * | GetOutput (DataObjectPointerArraySizeType idx) |
Static Public Member Functions inherited from otb::LabelMapSource< TLabelMap > | |
static Pointer | New () |
Protected Member Functions inherited from otb::LabelMapSource< TLabelMap > | |
LabelMapSource () | |
~LabelMapSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
Converts a vector data into a LabelMap.
VectorDataToLabelMapWithAttributesFilter convert a vector data in a LabelMap. To each distinct object is assigned a unique label. The first Label is set using SetInitialLabel (by default it is 0), and increases 1 by 1. The vector data attributes are also assigned to the object in the label map.
When AutomaticSizeComputation=True, the spacing from the vector data object is used. Then the size and origin are computed so that the image extent covers exactly the vector data bounding region.
Note : the coordinates in the vector data are assumed to be physical coordinates.
Definition at line 65 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef LabelObjectType::AttributesValueType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::AttributesValueType |
Definition at line 99 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef InternalTreeNodeType::ChildrenListType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::ChildrenListType |
Definition at line 85 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef itk::SmartPointer<const Self> otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::ConstPointer |
Definition at line 118 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef otb::CorrectPolygonFunctor<PolygonType> otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::CorrectFunctorType |
typedefs for correct polygon
Definition at line 104 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef DataNodeType::Pointer otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::DataNodePointerType |
Definition at line 87 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef InputVectorDataType::DataNodeType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::DataNodeType |
Definition at line 86 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::DirectionType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::DirectionType |
Definition at line 96 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::IndexType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::IndexType |
Definition at line 92 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef InputVectorDataType::ConstPointer otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::InputVectorDataConstPointer |
Definition at line 79 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef InputVectorDataType::Pointer otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::InputVectorDataPointer |
Definition at line 78 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef TVectorData otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::InputVectorDataType |
Some convenient typedefs.
Definition at line 76 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef InputVectorDataType::DataTreeType::TreeNodeType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::InternalTreeNodeType |
Definition at line 84 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::LabelObjectType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::LabelObjectType |
Definition at line 98 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::LabelType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::LabelType |
Definition at line 90 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::PointType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::OriginType |
Definition at line 94 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::ConstPointer otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::OutputLabelMapConstPointer |
Definition at line 82 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::PixelType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::OutputLabelMapPixelType |
Definition at line 93 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::Pointer otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::OutputLabelMapPointer |
Definition at line 81 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef TLabelMap otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::OutputLabelMapType |
Definition at line 77 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef itk::SmartPointer<Self> otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::Pointer |
Smart pointer typedef support
Definition at line 117 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef InputVectorDataType::PointType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::PointType |
Definition at line 112 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef PolygonType::Pointer otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::PolygonPointerType |
Definition at line 89 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef DataNodeType::PolygonType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::PolygonType |
Definition at line 88 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::RegionType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::RegionType |
Definition at line 97 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef VectorDataToLabelMapWithAttributesFilter otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::Self |
Standard "Self" & Superclass typedef.
Definition at line 72 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef itk::Size<itkGetStaticConstMacro(VectorDataDimension)> otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::SizeType |
Image size typedef.
Definition at line 110 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef OutputLabelMapType::SpacingType otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::SpacingType |
Definition at line 95 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef LabelMapSource<TLabelMap> otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::Superclass |
Definition at line 73 of file otbVectorDataToLabelMapWithAttributesFilter.h.
typedef VectorDataProperties<InputVectorDataType> otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::VectorDataPropertiesType |
Definition at line 101 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
protected |
Current label value incremented after the vectorization of a layer
Definition at line 34 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
inlineoverrideprotected |
Current label value incremented after the vectorization of a layer
Definition at line 204 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
privatedelete |
VectorDataToLabelMapWithAttributesFilter needs the entire input. Therefore it must provide an implementation GenerateInputRequestedRegion().
virtual::itk::LightObject::Pointer otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::CreateAnother | ( | void | ) | const |
Current label value incremented after the vectorization of a layer
|
overrideprotected |
Standard pipeline method.
Definition at line 225 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
override |
overloaded because pb during copyinformation
Definition at line 102 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
References otbGenericMsgDebugMacro.
|
virtual |
Current label value incremented after the vectorization of a layer
|
virtual |
Current label value incremented after the vectorization of a layer
|
virtual |
Current label value incremented after the vectorization of a layer
const VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::InputVectorDataType * otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::GetInput | ( | unsigned int | idx | ) |
Current label value incremented after the vectorization of a layer
Definition at line 219 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
const VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::InputVectorDataType * otb::VectorDataToLabelMapWithAttributesFilter< TVectorData, TLabelMap >::GetInput | ( | void | ) |
Current label value incremented after the vectorization of a layer
Definition at line 207 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Run-time type information (and related methods)
|
virtual |
Current label value incremented after the vectorization of a layer
|
virtual |
Get the size of the output image.
|
virtual |
Current label value incremented after the vectorization of a layer
|
virtual |
Get/Set start index
|
static |
Method for creation through the object factory.
|
privatedelete |
Current label value incremented after the vectorization of a layer
|
overrideprotected |
Current label value incremented after the vectorization of a layer
Definition at line 424 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
private |
correct polygon exterior ring (simplify and close the pokygon)
Definition at line 254 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
References otb::DOCUMENT, otb::FEATURE_COLLECTION, otb::FEATURE_LINE, otb::FEATURE_MULTILINE, otb::FEATURE_MULTIPOINT, otb::FEATURE_MULTIPOLYGON, otb::FEATURE_POINT, otb::FEATURE_POLYGON, otb::FOLDER, otbGenericMsgDebugMacro, and otb::ROOT.
|
virtual |
Set/Get Automatic size computation mode
|
virtual |
Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().
|
virtual |
Set/Get Initial label value
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 192 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 199 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 80 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 88 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Set the origin of the vector data.
|
virtual |
Set the size of the output image.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 62 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
Definition at line 70 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Set the spacing (size of a pixel) of the vector data.
Definition at line 51 of file otbVectorDataToLabelMapWithAttributesFilter.hxx.
|
virtual |
Current label value incremented after the vectorization of a layer
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 249 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Background value, not use actually, background value=itk::NumericTraits<LabelType>::max()
Definition at line 247 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 244 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Set to 0 by default.
Definition at line 236 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 233 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 241 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 242 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 240 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 243 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
private |
Current label value incremented after the vectorization of a layer
Definition at line 250 of file otbVectorDataToLabelMapWithAttributesFilter.h.
|
static |
Number of dimensions.
Definition at line 107 of file otbVectorDataToLabelMapWithAttributesFilter.h.