OTB  9.0.0
Orfeo Toolbox
Classes | Public Types | Public Member Functions | List of all members
otb::PersistentSamplingFilterBase< TInputImage, TMaskImage > Class Template Reference

#include <otbPersistentSamplingFilterBase.h>

+ Inheritance diagram for otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >:
+ Collaboration diagram for otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >:

Classes

struct  SimpleFieldDefn
 
struct  VectorThreadStruct
 

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef TMaskImage MaskImageType
 
typedef ogr::DataSource::Pointer OGRDataPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef TInputImage::RegionType RegionType
 
typedef PersistentSamplingFilterBase Self
 
typedef PersistentImageFilter< TInputImage, TInputImage > Superclass
 
- Public Types inherited from otb::PersistentImageFilter< TInputImage, TInputImage >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef TInputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TInputImage > Superclass
 

Public Member Functions

const TMaskImage * GetMask ()
 
virtual const char * GetNameOfClass () const
 
const ogr::DataSourceGetOGRData ()
 
const std::vector< std::string > & GetOGRLayerCreationOptions ()
 
void SetMask (const TMaskImage *mask)
 
void SetOGRData (const ogr::DataSource *vector)
 
void SetOGRLayerCreationOptions (const std::vector< std::string > &options)
 
- Public Member Functions inherited from otb::PersistentImageFilter< TInputImage, TInputImage >
virtual const char * GetNameOfClass () const
 
virtual void Reset (void)=0
 
virtual void Synthetize (void)=0
 
std::string m_FieldName
 
int m_FieldIndex
 
int m_LayerIndex
 
std::string m_OutLayerName
 
std::vector< std::string > m_OGRLayerCreationOptions
 
std::vector< SimpleFieldDefnm_AdditionalFields
 
std::vector< OGRDataPointerm_InMemoryInputs
 
std::vector< std::vector< OGRDataPointer > > m_InMemoryOutputs
 
virtual void SetFieldName (std::string _arg)
 
virtual std::string GetFieldName ()
 
virtual int GetFieldIndex ()
 
virtual void SetLayerIndex (int _arg)
 
virtual int GetLayerIndex ()
 
virtual void SetOutLayerName (std::string _arg)
 
virtual std::string GetOutLayerName ()
 
 PersistentSamplingFilterBase ()
 
 ~PersistentSamplingFilterBase () override
 
void GenerateOutputInformation () override
 
void GenerateInputRequestedRegion () override
 
void GenerateData (void) override
 
void AllocateOutputs (void) override
 
virtual void ThreadedGenerateVectorData (const ogr::Layer &layerForThread, itk::ThreadIdType threadid)
 
void ExploreGeometry (const ogr::Feature &feature, OGRGeometry *geom, RegionType &region, itk::ThreadIdType &threadid)
 
virtual void ProcessLine (const ogr::Feature &feature, OGRLineString *line, RegionType &region, itk::ThreadIdType &threadid)
 
virtual void ProcessPolygon (const ogr::Feature &feature, OGRPolygon *polygon, RegionType &region, itk::ThreadIdType &threadid)
 
virtual void ProcessSample (const ogr::Feature &feature, typename TInputImage::IndexType &imgIndex, typename TInputImage::PointType &imgPoint, itk::ThreadIdType &threadid)
 
virtual void PrepareFeature (const ogr::Feature &feature, itk::ThreadIdType &threadid)
 
bool IsSampleInsidePolygon (OGRPolygon *poly, OGRPoint *tmpPoint)
 
bool IsSampleOnLine (OGRLineString *line, typename TInputImage::PointType &position, typename TInputImage::SpacingType &absSpacing, OGRPolygon &tmpPolygon)
 
RegionType FeatureBoundingRegion (const TInputImage *image, otb::ogr::Layer::const_iterator &featIt) const
 
virtual void DispatchInputVectors (void)
 
virtual void GatherOutputVectors (void)
 
virtual void FillOneOutput (unsigned int outIdx, ogr::DataSource *outDS, bool update)
 
virtual void InitializeOutputDataSource (ogr::DataSource *inputDS, ogr::DataSource *outputDS)
 
void ClearAdditionalFields ()
 
void CreateAdditionalField (std::string name, OGRFieldType type, int width=0, int precision=0)
 
const std::vector< SimpleFieldDefn > & GetAdditionalFields ()
 
ogr::Layer GetInMemoryInput (unsigned int threadId)
 
ogr::Layer GetInMemoryOutput (unsigned int threadId, unsigned int index=0)
 
static ITK_THREAD_RETURN_TYPE VectorThreaderCallback (void *arg)
 
 PersistentSamplingFilterBase (const Self &)=delete
 
void operator= (const Self &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from otb::PersistentImageFilter< TInputImage, TInputImage >
 PersistentImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageFilter () override
 

Detailed Description

template<class TInputImage, class TMaskImage = otb::Image<unsigned char, 2>>
class otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >

Base class for persistent filter doing sampling tasks.

Note
This class contains pure virtual method, and can not be instantiated.
See also
PersistentOGRDataToClassStatisticsFilter
PersistentOGRDataToSamplePositionFilter

Definition at line 42 of file otbPersistentSamplingFilterBase.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef itk::SmartPointer<const Self> otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::ConstPointer

Definition at line 49 of file otbPersistentSamplingFilterBase.h.

◆ InputImageType

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef TInputImage otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::InputImageType

Template parameters typedefs

Definition at line 52 of file otbPersistentSamplingFilterBase.h.

◆ MaskImageType

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef TMaskImage otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::MaskImageType

Definition at line 56 of file otbPersistentSamplingFilterBase.h.

◆ OGRDataPointer

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef ogr::DataSource::Pointer otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::OGRDataPointer

Definition at line 60 of file otbPersistentSamplingFilterBase.h.

◆ Pointer

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef itk::SmartPointer<Self> otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::Pointer

Definition at line 48 of file otbPersistentSamplingFilterBase.h.

◆ RegionType

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef TInputImage::RegionType otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::RegionType

Definition at line 58 of file otbPersistentSamplingFilterBase.h.

◆ Self

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef PersistentSamplingFilterBase otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::Self

Standard typedefs

Definition at line 46 of file otbPersistentSamplingFilterBase.h.

◆ Superclass

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
typedef PersistentImageFilter<TInputImage, TInputImage> otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::Superclass

Definition at line 47 of file otbPersistentSamplingFilterBase.h.

Constructor & Destructor Documentation

◆ PersistentSamplingFilterBase() [1/2]

template<class TInputImage , class TMaskImage >
otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::PersistentSamplingFilterBase
protected

Constructor

Definition at line 36 of file otbPersistentSamplingFilterBase.hxx.

◆ ~PersistentSamplingFilterBase()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::~PersistentSamplingFilterBase ( )
inlineoverrideprotected

Destructor

Definition at line 104 of file otbPersistentSamplingFilterBase.h.

◆ PersistentSamplingFilterBase() [2/2]

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::PersistentSamplingFilterBase ( const Self )
privatedelete

Field name containing the class name

Member Function Documentation

◆ AllocateOutputs()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::AllocateOutputs ( void  )
overrideprotected

Allocate in-memory layers for input and outputs

Definition at line 177 of file otbPersistentSamplingFilterBase.hxx.

◆ ClearAdditionalFields()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::ClearAdditionalFields
protected

Clear current additional fields

Definition at line 757 of file otbPersistentSamplingFilterBase.hxx.

◆ CreateAdditionalField()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::CreateAdditionalField ( std::string  name,
OGRFieldType  type,
int  width = 0,
int  precision = 0 
)
protected

Create a new additional field

Definition at line 763 of file otbPersistentSamplingFilterBase.hxx.

◆ DispatchInputVectors()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::DispatchInputVectors ( void  )
protectedvirtual

Method to split the input OGRDataSource between several containers for each thread. Default is to put the same number of features for each thread.

Reimplemented in otb::PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >.

Definition at line 619 of file otbPersistentSamplingFilterBase.hxx.

◆ ExploreGeometry()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::ExploreGeometry ( const ogr::Feature feature,
OGRGeometry *  geom,
RegionType region,
itk::ThreadIdType &  threadid 
)
protected

Process a geometry, recursive method when the geometry is a collection

Definition at line 348 of file otbPersistentSamplingFilterBase.hxx.

◆ FeatureBoundingRegion()

template<class TInputImage , class TMaskImage >
PersistentSamplingFilterBase< TInputImage, TMaskImage >::RegionType otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::FeatureBoundingRegion ( const TInputImage *  image,
otb::ogr::Layer::const_iterator featIt 
) const
protected

Get the region bounding a set of features

Definition at line 580 of file otbPersistentSamplingFilterBase.hxx.

◆ FillOneOutput()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::FillOneOutput ( unsigned int  outIdx,
ogr::DataSource outDS,
bool  update 
)
protectedvirtual

Fill output vectors for a particular output

Reimplemented in otb::PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >.

Definition at line 272 of file otbPersistentSamplingFilterBase.hxx.

◆ GatherOutputVectors()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GatherOutputVectors ( void  )
protectedvirtual

Gather the content of in-memory output layer into the filter outputs

Definition at line 247 of file otbPersistentSamplingFilterBase.hxx.

◆ GenerateData()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GenerateData ( void  )
overrideprotected

Generate data should thread over

Definition at line 149 of file otbPersistentSamplingFilterBase.hxx.

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GenerateInputRequestedRegion
overrideprotected

Use an empty region to input image (pixel values not needed) and set the requested region for the mask

Definition at line 130 of file otbPersistentSamplingFilterBase.hxx.

◆ GenerateOutputInformation()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GenerateOutputInformation
overrideprotected

Use the same output information as input image, check the field index and the mask footprint

Definition at line 96 of file otbPersistentSamplingFilterBase.hxx.

◆ GetAdditionalFields()

template<class TInputImage , class TMaskImage >
const std::vector< typename PersistentSamplingFilterBase< TInputImage, TMaskImage >::SimpleFieldDefn > & otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetAdditionalFields
protected

Get a reference over the additional fields

Definition at line 775 of file otbPersistentSamplingFilterBase.hxx.

◆ GetFieldIndex()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual int otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetFieldIndex ( )
virtual

Get macro for the field index (deduced from the field name)

◆ GetFieldName()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual std::string otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetFieldName ( )
virtual

Field name containing the class name

◆ GetInMemoryInput()

template<class TInputImage , class TMaskImage >
ogr::Layer otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetInMemoryInput ( unsigned int  threadId)
protected

Give access to in-memory input layers

Definition at line 799 of file otbPersistentSamplingFilterBase.hxx.

◆ GetInMemoryOutput()

template<class TInputImage , class TMaskImage >
ogr::Layer otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetInMemoryOutput ( unsigned int  threadId,
unsigned int  index = 0 
)
protected

Give access to in-memory output layers

Definition at line 809 of file otbPersistentSamplingFilterBase.hxx.

◆ GetLayerIndex()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual int otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetLayerIndex ( )
virtual

Field name containing the class name

◆ GetMask()

template<class TInputImage , class TMaskImage >
const TMaskImage * otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetMask

Get the input mask (may be null)

Definition at line 73 of file otbPersistentSamplingFilterBase.hxx.

◆ GetNameOfClass()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual const char* otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetNameOfClass ( ) const
virtual

◆ GetOGRData()

template<class TInputImage , class TMaskImage >
const otb::ogr::DataSource * otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetOGRData

Get the input OGRDataSource with sampling regions

Definition at line 57 of file otbPersistentSamplingFilterBase.hxx.

◆ GetOGRLayerCreationOptions()

template<class TInputImage , class TMaskImage >
const std::vector< std::string > & otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetOGRLayerCreationOptions

Get the OGR layer creation options

Definition at line 90 of file otbPersistentSamplingFilterBase.hxx.

◆ GetOutLayerName()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual std::string otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::GetOutLayerName ( )
virtual

Field name containing the class name

◆ InitializeOutputDataSource()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::InitializeOutputDataSource ( ogr::DataSource inputDS,
ogr::DataSource outputDS 
)
protectedvirtual

Utility method to add new fields on an output layer

Definition at line 682 of file otbPersistentSamplingFilterBase.hxx.

◆ IsSampleInsidePolygon()

template<class TInputImage , class TMaskImage >
bool otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::IsSampleInsidePolygon ( OGRPolygon *  poly,
OGRPoint *  tmpPoint 
)
inlineprotected

Common function to test if a point is inside a polygon

Definition at line 549 of file otbPersistentSamplingFilterBase.hxx.

◆ IsSampleOnLine()

template<class TInputImage , class TMaskImage >
bool otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::IsSampleOnLine ( OGRLineString *  line,
typename TInputImage::PointType &  position,
typename TInputImage::SpacingType &  absSpacing,
OGRPolygon &  tmpPolygon 
)
inlineprotected

Common function to test if a pixel crosses the line

Definition at line 567 of file otbPersistentSamplingFilterBase.hxx.

◆ operator=()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::operator= ( const Self )
privatedelete

Field name containing the class name

◆ PrepareFeature()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::PrepareFeature ( const ogr::Feature feature,
itk::ThreadIdType &  threadid 
)
protectedvirtual

Generic method called once before processing each feature

Reimplemented in otb::PersistentOGRDataToClassStatisticsFilter< TInputImage, TMaskImage >.

Definition at line 543 of file otbPersistentSamplingFilterBase.hxx.

◆ ProcessLine()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::ProcessLine ( const ogr::Feature feature,
OGRLineString *  line,
RegionType region,
itk::ThreadIdType &  threadid 
)
protectedvirtual

Process a line string : use pixels that cross the line

Definition at line 426 of file otbPersistentSamplingFilterBase.hxx.

◆ ProcessPolygon()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::ProcessPolygon ( const ogr::Feature feature,
OGRPolygon *  polygon,
RegionType region,
itk::ThreadIdType &  threadid 
)
protectedvirtual

Process a polygon : use pixels inside the polygon

Definition at line 485 of file otbPersistentSamplingFilterBase.hxx.

◆ ProcessSample()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::ProcessSample ( const ogr::Feature feature,
typename TInputImage::IndexType &  imgIndex,
typename TInputImage::PointType &  imgPoint,
itk::ThreadIdType &  threadid 
)
protectedvirtual

Generic method called for each matching pixel position (NOT IMPLEMENTED)

Reimplemented in otb::PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >, and otb::PersistentOGRDataToClassStatisticsFilter< TInputImage, TMaskImage >.

Definition at line 536 of file otbPersistentSamplingFilterBase.hxx.

◆ SetFieldName()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::SetFieldName ( std::string  _arg)
virtual

Set/Get macro for the field name containing class names in the input vectors.

◆ SetLayerIndex()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::SetLayerIndex ( int  _arg)
virtual

Set/Get macro for the layer index containing the sampling areas

◆ SetMask()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::SetMask ( const TMaskImage *  mask)

Set an input mask (optional)

Definition at line 67 of file otbPersistentSamplingFilterBase.hxx.

◆ SetOGRData()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::SetOGRData ( const ogr::DataSource vector)

Set the input OGRDataSource that contains sampling areas for each class

Definition at line 51 of file otbPersistentSamplingFilterBase.hxx.

◆ SetOGRLayerCreationOptions()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::SetOGRLayerCreationOptions ( const std::vector< std::string > &  options)

Set the OGR layer creation options

Definition at line 83 of file otbPersistentSamplingFilterBase.hxx.

◆ SetOutLayerName()

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
virtual void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::SetOutLayerName ( std::string  _arg)
virtual

Set/Get macro for the layer name

◆ ThreadedGenerateVectorData()

template<class TInputImage , class TMaskImage >
void otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::ThreadedGenerateVectorData ( const ogr::Layer layerForThread,
itk::ThreadIdType  threadid 
)
protectedvirtual

Start of main processing loop

Reimplemented in otb::PersistentImageSampleExtractorFilter< TInputImage >.

Definition at line 321 of file otbPersistentSamplingFilterBase.hxx.

◆ VectorThreaderCallback()

template<class TInputImage , class TMaskImage >
ITK_THREAD_RETURN_TYPE otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::VectorThreaderCallback ( void *  arg)
staticprotected

Callback function to launch VectorThreadedGenerateData in each thread

Definition at line 781 of file otbPersistentSamplingFilterBase.hxx.

Member Data Documentation

◆ m_AdditionalFields

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
std::vector<SimpleFieldDefn> otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_AdditionalFields
private

Additional field definitions to add in output data sources

Definition at line 216 of file otbPersistentSamplingFilterBase.h.

◆ m_FieldIndex

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
int otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_FieldIndex
private

Field index corresponding to the field name m_FieldName

Definition at line 204 of file otbPersistentSamplingFilterBase.h.

◆ m_FieldName

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
std::string otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_FieldName
private

Field name containing the class name

Definition at line 201 of file otbPersistentSamplingFilterBase.h.

◆ m_InMemoryInputs

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
std::vector<OGRDataPointer> otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_InMemoryInputs
private

In-memory containers storing input geometries for each thread

Definition at line 219 of file otbPersistentSamplingFilterBase.h.

◆ m_InMemoryOutputs

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
std::vector<std::vector<OGRDataPointer> > otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_InMemoryOutputs
private

In-memory containers storing position during iteration loop

Definition at line 222 of file otbPersistentSamplingFilterBase.h.

◆ m_LayerIndex

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
int otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_LayerIndex
private

Layer to use in the input vector file, default to 0

Definition at line 207 of file otbPersistentSamplingFilterBase.h.

◆ m_OGRLayerCreationOptions

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
std::vector<std::string> otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_OGRLayerCreationOptions
private

Creation option for output layers

Definition at line 213 of file otbPersistentSamplingFilterBase.h.

◆ m_OutLayerName

template<class TInputImage , class TMaskImage = otb::Image<unsigned char, 2>>
std::string otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >::m_OutLayerName
private

name of the output layers

Definition at line 210 of file otbPersistentSamplingFilterBase.h.


The documentation for this class was generated from the following files: