OTB
9.0.0
Orfeo Toolbox
|
#include <otbShapeAttributesLabelMapFilter.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::ShapeAttributesLabelObjectFunctor< TImage::LabelObjectType, Image< typename TImage::PixelType, TImage::ImageDimension > > > | |
virtual const char * | GetNameOfClass () const |
void | SetFunctor (FunctorType &functor) |
const FunctorType & | GetFunctor () const |
FunctorType & | GetFunctor () |
Static Public Member Functions | |
static Pointer | New () |
Additional Inherited Members | |
Protected Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::ShapeAttributesLabelObjectFunctor< TImage::LabelObjectType, Image< typename TImage::PixelType, TImage::ImageDimension > > > | |
LabelMapFeaturesFunctorImageFilter () | |
~LabelMapFeaturesFunctorImageFilter () override | |
void | ThreadedProcessLabelObject (LabelObjectType *labelObject) override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
This class is a fork of the itk::ShapeLabelMapFilter working with AttributesMapLabelObject.
The keys of the attributes inserted into the attributes map follow the following rule: "SHAPE:NameOfAttributes".
With respect to the original itk filter, this filter also compute the Flusser moments for each LabelObject.
The flag ReducedAttributesSet allows computing only non-redundant statistics and statistics useful for classification (not spatially dependent statitistics). Reduced set contains only Flusser moments, physical size, elongation, Feret diameter (if activated), perimeter (if activated) and roundness (if activated).
For the sake of speed optimization, the original label image must be given to the filter. If not, the filter will convert the LabelObjectMap back to a LabelImage structure.
Definition at line 212 of file otbShapeAttributesLabelMapFilter.h.
typedef itk::SmartPointer<const Self> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ConstPointer |
Definition at line 227 of file otbShapeAttributesLabelMapFilter.h.
typedef Functor::ShapeAttributesLabelObjectFunctor<LabelObjectType, LabelImageType> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::FunctorType |
Definition at line 221 of file otbShapeAttributesLabelMapFilter.h.
typedef ImageType::Pointer otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ImagePointer |
Definition at line 229 of file otbShapeAttributesLabelMapFilter.h.
typedef TImage otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ImageType |
Template parameters typedefs
Definition at line 217 of file otbShapeAttributesLabelMapFilter.h.
typedef ImageType::RegionType otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::InputImageRegionType |
Definition at line 219 of file otbShapeAttributesLabelMapFilter.h.
typedef TLabelImage otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::LabelImageType |
Definition at line 220 of file otbShapeAttributesLabelMapFilter.h.
typedef ImageType::LabelObjectType otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::LabelObjectType |
Definition at line 218 of file otbShapeAttributesLabelMapFilter.h.
typedef itk::SmartPointer<Self> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::Pointer |
Definition at line 226 of file otbShapeAttributesLabelMapFilter.h.
typedef ShapeAttributesLabelMapFilter otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::Self |
Standard class typedefs.
Definition at line 224 of file otbShapeAttributesLabelMapFilter.h.
typedef LabelMapFeaturesFunctorImageFilter<ImageType, FunctorType> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::Superclass |
Definition at line 225 of file otbShapeAttributesLabelMapFilter.h.
|
inlineprotected |
Constructor
Definition at line 291 of file otbShapeAttributesLabelMapFilter.h.
|
inlineoverrideprotected |
Destructor
Definition at line 296 of file otbShapeAttributesLabelMapFilter.h.
|
privatedelete |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
overrideprotected |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1087 of file otbShapeAttributesLabelMapFilter.hxx.
|
overrideprotected |
Things to to before threaded data generation
Definition at line 1134 of file otbShapeAttributesLabelMapFilter.hxx.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
virtual::itk::LightObject::Pointer otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::CreateAnother | ( | void | ) | const |
|
inlineoverrideprotected |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 310 of file otbShapeAttributesLabelMapFilter.h.
|
overrideprotected |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1127 of file otbShapeAttributesLabelMapFilter.hxx.
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFeretDiameter |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1000 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFeretDiameter().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFeretDiameter().
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFlusser |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1048 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFlusser().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFlusser().
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePerimeter |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1016 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePerimeter().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePerimeter().
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePolygon |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1032 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePolygon().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePolygon().
const TLabelImage * otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetLabelImage |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1081 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetLabelImage().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetLabelImage().
|
virtual |
Runtime information support.
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetReducedAttributeSet |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1065 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetReducedAttributeSet().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetReducedAttributeSet().
|
static |
Standard New method.
|
privatedelete |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
overrideprotected |
PrintSelf method
Definition at line 1160 of file otbShapeAttributesLabelMapFilter.hxx.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
|
virtual |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFeretDiameter | ( | bool | flag | ) |
Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 990 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFeretDiameter().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFeretDiameter().
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFlusser | ( | bool | flag | ) |
Set/Get whether the Flussrer moments should be computed or not. The default value is true, to assure backward compatibility.
Definition at line 1038 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFlusser().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFlusser().
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePerimeter | ( | bool | flag | ) |
Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.
Definition at line 1006 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePerimeter().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePerimeter().
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePolygon | ( | bool | flag | ) |
Set/Get whether the polygonalisation process should be computed or not. The default value is true, to assure backward compatibility.
Definition at line 1022 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePolygon().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePolygon().
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetLabelImage | ( | const TLabelImage * | img | ) |
Set/Get the label image (this is used only to compute the Feret diameter)
Definition at line 1071 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetLabelImage().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetLabelImage().
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetReducedAttributeSet | ( | bool | flag | ) |
Set/get the ReducedAttributesSet flag
Definition at line 1055 of file otbShapeAttributesLabelMapFilter.hxx.
References otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetReducedAttributeSet().
Referenced by otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetReducedAttributeSet().
|
static |
ImageDimension constants
Definition at line 232 of file otbShapeAttributesLabelMapFilter.h.