OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
otb::Wrapper::VectorPrediction< RegressionMode > Class Template Reference

#include <otbVectorPrediction.h>

+ Inheritance diagram for otb::Wrapper::VectorPrediction< RegressionMode >:
+ Collaboration diagram for otb::Wrapper::VectorPrediction< RegressionMode >:

Public Types

using ConfidenceListSampleType = typename MachineLearningModelType::ConfidenceListSampleType
 
using ConstPointer = itk::SmartPointer< const Self >
 
using InputSampleType = itk::VariableLengthVector< ValueType >
 
using LabelListSampleType = itk::Statistics::ListSample< LabelSampleType >
 
using LabelSampleType = itk::FixedArray< LabelType, 1 >
 
using LabelType = typename std::conditional< RegressionMode, float, unsigned int >::type
 
using ListSampleType = itk::Statistics::ListSample< InputSampleType >
 
using MachineLearningModelFactoryType = otb::MachineLearningModelFactory< ValueType, LabelType >
 
using MachineLearningModelType = otb::MachineLearningModel< ValueType, LabelType >
 
using MeasurementType = itk::VariableLengthVector< ValueType >
 
using ModelPointerType = typename MachineLearningModelType::Pointer
 
using Pointer = itk::SmartPointer< Self >
 
using Self = VectorPrediction
 
using ShiftScaleFilterType = otb::Statistics::ShiftScaleSampleListFilter< ListSampleType, ListSampleType >
 
using StatisticsReader = otb::StatisticsXMLFileReader< MeasurementType >
 
using Superclass = Application
 
using ValueType = float
 
- Public Types inherited from otb::Wrapper::Application
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef Application Self
 
typedef itk::Object Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
 ~VectorPrediction () override
 
- Public Member Functions inherited from otb::Wrapper::Application
void AddDocTag (const std::string &)
 
unsigned int AddExample (const std::string &comm="")
 
void AddImageToParameterInputImageList (std::string const &parameter, ImageBaseType *img)
 
void AddParameterStringList (std::string const &parameter, const std::string &str)
 
void ClearParameterInputImageList (std::string const &parameter)
 
void ClearValue (std::string const &paramKey)
 
bool ConnectImage (std::string in, Application *app, std::string out)
 
void DisableParameter (std::string const &paramKey)
 
void EnableParameter (std::string const &paramKey)
 
int Execute ()
 
int ExecuteAndWriteOutput ()
 
std::vector< std::string > GetChoiceKeys (std::string const &paramKey)
 
std::vector< std::string > GetChoiceNames (std::string const &paramKey)
 
std::string GetCLExample ()
 
double GetDefaultParameterDouble (std::string const &parameter)
 
float GetDefaultParameterFloat (std::string const &parameter)
 
int GetDefaultParameterInt (std::string const &parameter)
 
virtual const char * GetDescription () const
 
virtual const char * GetDocAuthors () const
 
DocExampleStructure::Pointer GetDocExample ()
 
virtual const char * GetDocLimitations () const
 
virtual const std::string & GetDocLink () const
 
virtual const char * GetDocLongDescription () const
 
virtual const char * GetDocSeeAlso () const
 
virtual std::vector< std::string > GetDocTags () const
 
std::string GetExampleComment (unsigned int id)
 
unsigned int GetExampleNumberOfParameters (unsigned int id)
 
std::string GetExampleParameterKey (unsigned int exId, unsigned int paramId)
 
std::string GetExampleParameterValue (unsigned int exId, unsigned int paramId)
 
std::string GetHtmlExample ()
 
unsigned int GetImageNbBands (const std::string &key, unsigned int idx=0)
 
ImageBaseType::PointType GetImageOrigin (const std::string &key, unsigned int idx=0)
 
std::string GetImageProjection (const std::string &key, unsigned int idx=0)
 
ImageBaseType::RegionType GetImageRequestedRegion (const std::string &key, unsigned int idx=0)
 
ImageBaseType::SizeType GetImageSize (const std::string &key, unsigned int idx=0)
 
ImageBaseType::SpacingType GetImageSpacing (const std::string &key, unsigned int idx=0)
 
double GetLastExecutionTiming () const
 
bool GetListViewSingleSelectionMode (const std::string &parameter)
 
otb::LoggerGetLogger () const
 
virtual const char * GetName () const
 
unsigned int GetNumberOfElementsInParameterInputImageList (std::string const &parameter)
 
unsigned int GetNumberOfExamples ()
 
std::vector< std::pair< std::string, std::string > > GetOutputParametersSumUp ()
 
std::string GetParameterAsString (std::string const &paramKey)
 
ParameterGetParameterByKey (std::string const &parameter, bool follow=true)
 
const ParameterGetParameterByKey (std::string const &parameter, bool follow=true) const
 
ComplexDoubleImageTypeGetParameterComplexDoubleImage (std::string const &)
 
ComplexDoubleVectorImageTypeGetParameterComplexDoubleVectorImage (std::string const &)
 
ComplexFloatImageTypeGetParameterComplexFloatImage (std::string const &)
 
ComplexFloatVectorImageTypeGetParameterComplexFloatVectorImage (std::string const &)
 
ComplexInt16ImageTypeGetParameterComplexInt16Image (std::string const &)
 
ComplexInt16VectorImageTypeGetParameterComplexInt16VectorImage (std::string const &)
 
ComplexInt32ImageTypeGetParameterComplexInt32Image (std::string const &)
 
ComplexInt32VectorImageTypeGetParameterComplexInt32VectorImage (std::string const &)
 
std::string GetParameterDescription (std::string const &paramKey)
 
double GetParameterDouble (std::string const &parameter) const
 
DoubleImageTypeGetParameterDoubleImage (std::string const &)
 
DoubleVectorImageTypeGetParameterDoubleVectorImage (std::string const &)
 
float GetParameterFloat (std::string const &parameter) const
 
FloatImageTypeGetParameterFloatImage (std::string const &)
 
FloatVectorImageTypeGetParameterFloatVectorImage (std::string const &)
 
FloatVectorImageTypeGetParameterImage (std::string const &parameter)
 
FloatVectorImageListTypeGetParameterImageList (std::string const &parameter)
 
int GetParameterInt (std::string const &parameter) const
 
Int16ImageTypeGetParameterInt16Image (std::string const &)
 
Int16VectorImageTypeGetParameterInt16VectorImage (std::string const &)
 
Int32ImageTypeGetParameterInt32Image (std::string const &)
 
Int32VectorImageTypeGetParameterInt32VectorImage (std::string const &)
 
ParameterGroupGetParameterList ()
 
std::string GetParameterName (std::string const &paramKey)
 
ImageBaseTypeGetParameterOutputImage (std::string const &parameter)
 
ImagePixelType GetParameterOutputImagePixelType (std::string const &parameter)
 
Role GetParameterRole (std::string const &paramKey) const
 
std::vector< std::string > GetParametersKeys (bool recursive=true)
 
std::string GetParameterString (std::string const &parameter) const
 
std::vector< std::string > GetParameterStringList (const std::string &parameter)
 
ParameterType GetParameterType (std::string const &paramKey) const
 
UInt16ImageTypeGetParameterUInt16Image (std::string const &)
 
UInt16VectorImageTypeGetParameterUInt16VectorImage (std::string const &)
 
UInt32ImageTypeGetParameterUInt32Image (std::string const &)
 
UInt32VectorImageTypeGetParameterUInt32VectorImage (std::string const &)
 
UInt8ImageTypeGetParameterUInt8Image (std::string const &)
 
UInt8RGBAImageTypeGetParameterUInt8RGBAImage (std::string const &)
 
UInt8RGBImageTypeGetParameterUInt8RGBImage (std::string const &)
 
UInt8VectorImageTypeGetParameterUInt8VectorImage (std::string const &)
 
UserLevel GetParameterUserLevel (std::string const &paramKey) const
 
VectorDataTypeGetParameterVectorData (std::string const &parameter)
 
VectorDataListTypeGetParameterVectorDataList (std::string const &parameter)
 
std::string GetProgressDescription () const
 
itk::ProcessObject * GetProgressSource () const
 
const FieldParameter::TypeFilterTypeGetTypeFilter (std::string const &key) const
 
bool HasAutomaticValue (std::string const &paramKey) const
 
bool HasUserValue (std::string const &paramKey) const
 
bool HasValue (std::string const &paramKey) const
 
void Init ()
 
bool IsApplicationReady ()
 
bool IsDeprecated ()
 
bool IsInitialized () const
 
bool IsMandatory (std::string const &paramKey) const
 
bool IsParameterEnabled (std::string const &paramKey, bool recurseParents=false) const
 
bool IsParameterMissing (const std::string &key) const
 
void LoadParametersFromXML (const std::string &filename)
 
void PropagateConnectMode (bool isMem)
 
unsigned long PropagateRequestedRegion (const std::string &key, ImageBaseType::RegionType region, unsigned int idx=0)
 
void SaveParametersToXML (const std::string &filename)
 
void SetDefaultOutputComplexPixelType (std::string const &parameter, ComplexImagePixelType type)
 
void SetDefaultOutputPixelType (std::string const &parameter, ImagePixelType type)
 
void SetDefaultParameterDouble (std::string const &parameter, double value)
 
void SetDefaultParameterFloat (std::string const &parameter, float value)
 
void SetDefaultParameterInt (std::string const &parameter, int value)
 
void SetDescription (const std::string &)
 
virtual void SetDocAuthors (const std::string &)
 
void SetDocExampleParameterValue (const std::string key, const std::string value, unsigned int exId=0)
 
virtual void SetDocLimitations (const std::string &)
 
virtual void SetDocLink (const std::string &link)
 
virtual void SetDocLongDescription (const std::string &)
 
virtual void SetDocSeeAlso (const std::string &)
 
virtual void SetDocTags (std::vector< std::string >)
 
void SetExampleComment (const std::string &comm, unsigned int i)
 
void SetListViewSingleSelectionMode (std::string const &parameter, bool status)
 
void SetLogger (otb::Logger *logger)
 
void SetMaximumParameterDoubleValue (std::string const &parameter, double value)
 
void SetMaximumParameterFloatValue (std::string const &parameter, float value)
 
void SetMaximumParameterIntValue (std::string const &parameter, int value)
 
void SetMinimumParameterDoubleValue (std::string const &parameter, double value)
 
void SetMinimumParameterFloatValue (std::string const &parameter, float value)
 
void SetMinimumParameterIntValue (std::string const &parameter, int value)
 
virtual void SetName (const std::string &)
 
void SetNthParameterInputImageList (std::string const &parameter, const unsigned int &id, ImageBaseType *img)
 
void SetNthParameterStringList (std::string const &parameter, const unsigned int &id, const std::string &str)
 
void SetOfficialDocLink ()
 
void SetParameterDescription (std::string const &paramKey, std::string dec)
 
void SetParameterDouble (std::string const &parameter, double value, bool hasUserValueFlag=true)
 
void SetParameterFloat (std::string const &parameter, float value, bool hasUserValueFlag=true)
 
void SetParameterInputImage (std::string const &parameter, ImageBaseType *inputImage)
 
void SetParameterInt (std::string const &parameter, int value, bool hasUserValueFlag=true)
 
void SetParameterList (ParameterGroup::Pointer paramGroup)
 
void SetParameterOutputImage (std::string const &parameter, FloatVectorImageType *value)
 
void SetParameterOutputImagePixelType (std::string const &parameter, ImagePixelType pixelType)
 
void SetParameterOutputVectorData (std::string const &parameter, VectorDataType *value)
 
void SetParameterString (std::string const &parameter, std::string value, bool hasUserValueFlag=true)
 
void SetParameterStringList (std::string const &parameter, std::vector< std::string > values, bool hasUserValueFlag=true)
 
void SetParameterUserValue (std::string const &paramKey, bool value)
 
void SetRasterData (std::string const &key, std::string const &rasterData)
 
void SetTypeFilter (std::string const &key, FieldParameter::TypeFilterType const &typeFilter)
 
void SetVectorData (std::string const &key, std::string const &vectorData)
 
void Stop ()
 
void UpdateParameters ()
 
void WriteOutput ()
 
ImageMetadataGetImageMetadata (const std::string &key, unsigned int idx=0)
 
void SetImageMetadata (const ImageMetadata &imd, const std::string &key, unsigned int idx=0)
 
itk::MetaDataDictionary GetMetadataDictionary (const std::string &key, unsigned int idx=0)
 
ImagePixelType GetImageBasePixelType (const std::string &key, unsigned int idx=0)
 
ImageBaseTypeGetParameterImageBase (const std::string &key, unsigned int idx=0)
 
void SetParameterImageBase (const std::string &key, ImageBaseType *img, unsigned int idx=0)
 
void RegisterPipeline ()
 
void FreeRessources ()
 
bool IsExecuteDone ()
 
bool IsMultiWritingEnabled ()
 

Static Public Member Functions

static Pointer New ()
 

Private Member Functions

void AddPredictionField (otb::ogr::Layer &outLayer, otb::ogr::Layer const &layer, bool computeConfidenceMap)
 
otb::ogr::DataSource::Pointer CreateOutputDataSource (ogr::Layer &layer)
 
void DoExecute () override
 
void DoInit () override
 
void DoInitSpecialization ()
 
void DoUpdateParameters () override
 
void FillOutputLayer (otb::ogr::Layer &outLayer, otb::ogr::Layer const &layer, typename LabelListSampleType::Pointer target, typename ConfidenceListSampleType::Pointer quality, bool updateMode, bool computeConfidenceMap)
 
ListSampleType::Pointer NormalizeListSample (ListSampleType::Pointer input)
 
ListSampleType::Pointer ReadInputListSample (otb::ogr::Layer const &layer)
 
otb::ogr::DataSource::Pointer ReopenDataSourceInUpdateMode (ogr::DataSource::Pointer source, ogr::Layer &layer, ogr::DataSource::Pointer buffer)
 
bool shouldComputeConfidenceMap () const
 

Private Attributes

std::string confFieldName = "confidence"
 
ModelPointerType m_Model
 

Additional Inherited Members

- Protected Member Functions inherited from otb::Wrapper::Application
 Application ()
 
 ~Application () override
 
void AddProcess (itk::ProcessObject *object, std::string description)
 
void AddChoice (std::string const &paramKey, std::string const &paramName)
 
void AddParameter (ParameterType type, std::string const &paramKey, std::string const &paramName)
 
void AddRAMParameter (std::string const &paramKey="ram")
 
void AddRAMParameter (std::string const &paramKey, std::string const &paramName, unsigned int defaultValue)
 
void AddRANDParameter (std::string const &paramKey="rand")
 
void AddRANDParameter (std::string const &paramKey, std::string const &paramName, unsigned int defaultValue)
 
void ClearChoices (std::string const &key)
 
std::vector< int > GetSelectedItems (std::string const &paramKey)
 
void MandatoryOn (std::string const &paramKey)
 
void MandatoryOff (std::string const &paramKey)
 
void SetParameterUserLevel (std::string const &paramKey, UserLevel level)
 
void SetParameterRole (std::string const &paramKey, Role role)
 
template<class TImageType >
TImageType * GetParameterImage (std::string const &parameter)
 
void AutomaticValueOn (std::string const &paramKey)
 
void AutomaticValueOff (std::string const &paramKey)
 
template<class TImageType >
void SetParameterOutputImage (std::string const &parameter, TImageType *value)
 
virtual void SetMultiWriting (bool _arg)
 
void EnableInPrivateDo ()
 
void DisableInPrivateDo ()
 

Detailed Description

template<bool RegressionMode>
class otb::Wrapper::VectorPrediction< RegressionMode >

Definition at line 48 of file otbVectorPrediction.h.

Member Typedef Documentation

◆ ConfidenceListSampleType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::ConfidenceListSampleType = typename MachineLearningModelType::ConfidenceListSampleType

Definition at line 73 of file otbVectorPrediction.h.

◆ ConstPointer

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::ConstPointer = itk::SmartPointer<const Self>

Definition at line 55 of file otbVectorPrediction.h.

◆ InputSampleType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::InputSampleType = itk::VariableLengthVector<ValueType>

Definition at line 79 of file otbVectorPrediction.h.

◆ LabelListSampleType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::LabelListSampleType = itk::Statistics::ListSample<LabelSampleType>

Definition at line 68 of file otbVectorPrediction.h.

◆ LabelSampleType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::LabelSampleType = itk::FixedArray<LabelType, 1>

Definition at line 67 of file otbVectorPrediction.h.

◆ LabelType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::LabelType = typename std::conditional<RegressionMode, float, unsigned int>::type

Definition at line 65 of file otbVectorPrediction.h.

◆ ListSampleType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::ListSampleType = itk::Statistics::ListSample<InputSampleType>

Definition at line 80 of file otbVectorPrediction.h.

◆ MachineLearningModelFactoryType

Definition at line 71 of file otbVectorPrediction.h.

◆ MachineLearningModelType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::MachineLearningModelType = otb::MachineLearningModel<ValueType, LabelType>

Definition at line 70 of file otbVectorPrediction.h.

◆ MeasurementType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::MeasurementType = itk::VariableLengthVector<ValueType>

Statistics Filters typedef

Definition at line 76 of file otbVectorPrediction.h.

◆ ModelPointerType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::ModelPointerType = typename MachineLearningModelType::Pointer

Definition at line 72 of file otbVectorPrediction.h.

◆ Pointer

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::Pointer = itk::SmartPointer<Self>

Definition at line 54 of file otbVectorPrediction.h.

◆ Self

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::Self = VectorPrediction

Standard class typedefs.

Definition at line 52 of file otbVectorPrediction.h.

◆ ShiftScaleFilterType

Definition at line 81 of file otbVectorPrediction.h.

◆ StatisticsReader

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::StatisticsReader = otb::StatisticsXMLFileReader<MeasurementType>

Definition at line 77 of file otbVectorPrediction.h.

◆ Superclass

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::Superclass = Application

Definition at line 53 of file otbVectorPrediction.h.

◆ ValueType

template<bool RegressionMode>
using otb::Wrapper::VectorPrediction< RegressionMode >::ValueType = float

Filters typedef

Definition at line 63 of file otbVectorPrediction.h.

Constructor & Destructor Documentation

◆ ~VectorPrediction()

template<bool RegressionMode>
otb::Wrapper::VectorPrediction< RegressionMode >::~VectorPrediction ( )
inlineoverride

Member Function Documentation

◆ AddPredictionField()

template<bool RegressionMode>
void otb::Wrapper::VectorPrediction< RegressionMode >::AddPredictionField ( otb::ogr::Layer outLayer,
otb::ogr::Layer const &  layer,
bool  computeConfidenceMap 
)
private

Add a prediction field in the output layer if it does not exist. If computeConfidenceMap evaluates to true a confidence field will be added.

Definition at line 199 of file otbVectorPrediction.hxx.

References otb::ogr::Layer::CreateField(), and otb::ogr::Layer::GetLayerDefn().

◆ CreateAnother()

template<bool RegressionMode>
virtual::itk::LightObject::Pointer otb::Wrapper::VectorPrediction< RegressionMode >::CreateAnother ( void  ) const

◆ CreateOutputDataSource()

template<bool RegressionMode>
otb::ogr::DataSource::Pointer otb::Wrapper::VectorPrediction< RegressionMode >::CreateOutputDataSource ( ogr::Layer layer)
private

◆ DoExecute()

template<bool RegressionMode>
void otb::Wrapper::VectorPrediction< RegressionMode >::DoExecute ( )
overrideprivatevirtual

Long and precise application description .

Implements otb::Wrapper::Application.

Definition at line 280 of file otbVectorPrediction.hxx.

References otb::ogr::DataSource::New(), otb::ogr::Layer::ogr(), otbAppLogFATAL, otbAppLogINFO, and otb::ogr::DataSource::Modes::Read.

◆ DoInit()

template<bool RegressionMode>
void otb::Wrapper::VectorPrediction< RegressionMode >::DoInit ( )
overrideprivatevirtual

Long and precise application description .

Implements otb::Wrapper::Application.

Definition at line 32 of file otbVectorPrediction.hxx.

◆ DoInitSpecialization()

template<bool RegressionMode>
void otb::Wrapper::VectorPrediction< RegressionMode >::DoInitSpecialization ( )
private

Method defining the parameters used in the application and their documentation, specialized for RegressionMode=1 and RegrssionMode=0

◆ DoUpdateParameters()

template<bool RegressionMode>
void otb::Wrapper::VectorPrediction< RegressionMode >::DoUpdateParameters ( )
overrideprivatevirtual

Long and precise application description .

Implements otb::Wrapper::Application.

Definition at line 46 of file otbVectorPrediction.hxx.

References otb::find(), otb::ogr::DataSource::New(), and otb::ogr::DataSource::Modes::Read.

◆ FillOutputLayer()

template<bool RegressionMode>
void otb::Wrapper::VectorPrediction< RegressionMode >::FillOutputLayer ( otb::ogr::Layer outLayer,
otb::ogr::Layer const &  layer,
typename LabelListSampleType::Pointer  target,
typename ConfidenceListSampleType::Pointer  quality,
bool  updateMode,
bool  computeConfidenceMap 
)
private

Fill the output layer with the predicted values and optionally the confidence

Definition at line 239 of file otbVectorPrediction.hxx.

References otb::ogr::Layer::CreateFeature(), otb::ogr::Layer::GetLayerDefn(), otb::ogr::Layer::SetFeature(), otb::ogr::Feature::SetFID(), and otb::ogr::Feature::SetFrom().

◆ GetNameOfClass()

template<bool RegressionMode>
virtual const char* otb::Wrapper::VectorPrediction< RegressionMode >::GetNameOfClass ( ) const
virtual

RTTI support

Reimplemented from otb::Wrapper::Application.

◆ New()

template<bool RegressionMode>
static Pointer otb::Wrapper::VectorPrediction< RegressionMode >::New ( )
static

Standard macro

◆ NormalizeListSample()

template<bool RegressionMode>
VectorPrediction< RegressionMode >::ListSampleType::Pointer otb::Wrapper::VectorPrediction< RegressionMode >::NormalizeListSample ( ListSampleType::Pointer  input)
private

Normalize a list sample using the statistic file given

Definition at line 127 of file otbVectorPrediction.hxx.

References otbAppLogINFO.

◆ ReadInputListSample()

template<bool RegressionMode>
VectorPrediction< RegressionMode >::ListSampleType::Pointer otb::Wrapper::VectorPrediction< RegressionMode >::ReadInputListSample ( otb::ogr::Layer const &  layer)
private

Method returning the input list sample from the input layer

Definition at line 80 of file otbVectorPrediction.hxx.

References otb::ogr::Layer::cbegin(), and otbAppLogFATAL.

◆ ReopenDataSourceInUpdateMode()

template<bool RegressionMode>
otb::ogr::DataSource::Pointer otb::Wrapper::VectorPrediction< RegressionMode >::ReopenDataSourceInUpdateMode ( ogr::DataSource::Pointer  source,
ogr::Layer layer,
ogr::DataSource::Pointer  buffer 
)
private

Update the output DataSource : the input layer is buffered and the input data source is re opened in update mode.

Definition at line 165 of file otbVectorPrediction.hxx.

References otb::ogr::DataSource::New(), otbAppLogINFO, and otb::ogr::DataSource::Modes::Update_LayerUpdate.

◆ shouldComputeConfidenceMap()

template<bool RegressionMode>
bool otb::Wrapper::VectorPrediction< RegressionMode >::shouldComputeConfidenceMap ( ) const
private

Method returning whether the confidence map should be computed, depending on the regression mode and input parameters

Member Data Documentation

◆ confFieldName

template<bool RegressionMode>
std::string otb::Wrapper::VectorPrediction< RegressionMode >::confFieldName = "confidence"
private

Name used for the confidence field

Definition at line 126 of file otbVectorPrediction.h.

◆ m_Model

template<bool RegressionMode>
ModelPointerType otb::Wrapper::VectorPrediction< RegressionMode >::m_Model
private

Definition at line 123 of file otbVectorPrediction.h.


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