OTB
9.0.0
Orfeo Toolbox
|
#include <otbStreamingImageToOGRLayerSegmentationFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter > > | |
static Pointer | New () |
Protected Member Functions | |
StreamingImageToOGRLayerSegmentationFilter () | |
~StreamingImageToOGRLayerSegmentationFilter () override | |
Protected Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter > > | |
void | GenerateData (void) override |
PersistentFilterStreamingDecorator () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~PersistentFilterStreamingDecorator () override | |
Private Member Functions | |
void | operator= (const Self &)=delete |
StreamingImageToOGRLayerSegmentationFilter (const Self &)=delete | |
Additional Inherited Members | |
Protected Attributes inherited from otb::PersistentFilterStreamingDecorator< PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter > > | |
FilterPointerType | m_Filter |
StreamerPointerType | m_Streamer |
This filter is a framework for large scale segmentation. It is a persistent filter that process the input image tile by tile. This filter is templated over the segmentation filter. This later is used to segment each tile of the input image. Each segmentation result (for each tile) is then vectorized using LabelImageToOGRDataSourceFilter
(based on GDALPolygonize()
). The output OGRDataSource
of the LabelImageToOGRDataSourceFilter
is a "memory" DataSource (ie all features of a tile are kept in memory). From here some optional processing can be done, depending on input parameters :
OGRGeometry::Simplify()
method, based on Douglas-Peuker algorithm.SetLayerName()
method.GDALPolygonize()
. But be carreful, it can create cross polygons ! Definition at line 203 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef itk::SmartPointer<const Self> otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::ConstPointer |
Definition at line 212 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef TImageType otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::InputImageType |
Definition at line 221 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef PersistentImageToOGRLayerSegmentationFilter<TImageType, TSegmentationFilter>::LabelImageType otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::LabelImageType |
Definition at line 223 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef PersistentImageToOGRLayerSegmentationFilter<TImageType, TSegmentationFilter>::LabelPixelType otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::LabelPixelType |
Definition at line 222 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef PersistentImageToOGRLayerSegmentationFilter<TImageType, TSegmentationFilter>::OGRDataSourcePointerType otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::OGRDataSourcePointerType |
Definition at line 224 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef PersistentImageToOGRLayerSegmentationFilter<TImageType, TSegmentationFilter>::OGRLayerType otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::OGRLayerType |
Definition at line 225 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef itk::SmartPointer<Self> otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::Pointer |
Definition at line 211 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef TSegmentationFilter otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SegmentationFilterType |
Definition at line 218 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef StreamingImageToOGRLayerSegmentationFilter otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::Self |
Standard Self typedef
Definition at line 209 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef InputImageType::SizeType otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SizeType |
Definition at line 227 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
typedef PersistentFilterStreamingDecorator<PersistentImageToOGRLayerSegmentationFilter<TImageType, TSegmentationFilter> > otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::Superclass |
Definition at line 210 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inlineprotected |
Constructor
Definition at line 354 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inlineoverrideprotected |
Destructor
Definition at line 359 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
privatedelete |
virtual::itk::LightObject::Pointer otb::StreamingImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::CreateAnother | ( | void | ) | const |
|
inline |
Definition at line 264 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 315 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 235 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 248 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 325 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
virtual |
Creation through object factory macro
|
inline |
Definition at line 270 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 347 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 335 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Return the first label value
Definition at line 282 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Retrieve the actual streamsize used
Definition at line 288 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 305 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 293 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
static |
Type macro
|
privatedelete |
|
inline |
Definition at line 259 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Set the option for filtering small objects. Default to false.
Definition at line 310 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Definition at line 231 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Set/Get the input mask image. All pixels in the mask with a value of 0 will not be considered suitable for vectorization.
Definition at line 244 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Set the minimum object size (in pixels) in case FilterSmallObject option is true.
Definition at line 320 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Set the ogr::Layer
in which the layer LayerName will be created.
Definition at line 254 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Set the tolerance value for simplifying geometries.
Definition at line 342 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Option for simplifying geometries. Default to false.
Definition at line 330 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Set the first Label value (default is 1). Incremental step is 1.
Definition at line 276 of file otbStreamingImageToOGRLayerSegmentationFilter.h.
|
inline |
Set the value of 8-connected neighborhood option used in LabelImageToOGRDataSourceFilter
Definition at line 300 of file otbStreamingImageToOGRLayerSegmentationFilter.h.