OTB  9.0.0
Orfeo Toolbox
Namespaces | Macros | Functions
otbOpenCVUtils.h File Reference
#include <opencv2/core/core.hpp>
#include <opencv2/core/core_c.h>
#include <opencv2/ml/ml.hpp>
#include "otb_opencv_api.h"
#include "OTBSupervisedExport.h"
#include "itkListSample.h"
+ Include dependency graph for otbOpenCVUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 otb
 

Macros

#define CV_TYPE_NAME_ML_ANN_MLP   "opencv-ml-ann-mlp"
 
#define CV_TYPE_NAME_ML_BOOSTING   "opencv-ml-boost-tree"
 
#define CV_TYPE_NAME_ML_NBAYES   "opencv-ml-bayesian"
 
#define CV_TYPE_NAME_ML_RTREES   "opencv-ml-random-trees"
 
#define CV_TYPE_NAME_ML_SVM   "opencv-ml-svm"
 
#define CV_TYPE_NAME_ML_TREE   "opencv-ml-tree"
 
#define CV_VAR_CATEGORICAL   cv::ml::VAR_CATEGORICAL
 
#define CV_VAR_NUMERICAL   cv::ml::VAR_NUMERICAL
 
#define CvANN_MLP   cv::ml::ANN_MLP
 
#define CvANN_MLP_TrainParams   cv::ml::ANN_MLP
 
#define CvBoost   cv::ml::Boost
 
#define CvSVM   cv::ml::SVM
 

Functions

template<class T >
void otb::ListSampleToMat (const T *listSample, cv::Mat &output)
 
template<typename T >
void otb::ListSampleToMat (typename T::ConstPointer listSample, cv::Mat &output)
 
template<typename T >
void otb::ListSampleToMat (typename T::Pointer listSample, cv::Mat &output)
 
template<typename T >
T::Pointer otb::MatToListSample (const cv::Mat &cvmat)
 
template<class T >
void otb::SampleToMat (const T &sample, cv::Mat &output)
 

Macro Definition Documentation

◆ CV_TYPE_NAME_ML_ANN_MLP

#define CV_TYPE_NAME_ML_ANN_MLP   "opencv-ml-ann-mlp"

Definition at line 53 of file otbOpenCVUtils.h.

◆ CV_TYPE_NAME_ML_BOOSTING

#define CV_TYPE_NAME_ML_BOOSTING   "opencv-ml-boost-tree"

Definition at line 52 of file otbOpenCVUtils.h.

◆ CV_TYPE_NAME_ML_NBAYES

#define CV_TYPE_NAME_ML_NBAYES   "opencv-ml-bayesian"

Definition at line 54 of file otbOpenCVUtils.h.

◆ CV_TYPE_NAME_ML_RTREES

#define CV_TYPE_NAME_ML_RTREES   "opencv-ml-random-trees"

Definition at line 51 of file otbOpenCVUtils.h.

◆ CV_TYPE_NAME_ML_SVM

#define CV_TYPE_NAME_ML_SVM   "opencv-ml-svm"

Definition at line 50 of file otbOpenCVUtils.h.

◆ CV_TYPE_NAME_ML_TREE

#define CV_TYPE_NAME_ML_TREE   "opencv-ml-tree"

Definition at line 55 of file otbOpenCVUtils.h.

◆ CV_VAR_CATEGORICAL

#define CV_VAR_CATEGORICAL   cv::ml::VAR_CATEGORICAL

Definition at line 63 of file otbOpenCVUtils.h.

◆ CV_VAR_NUMERICAL

#define CV_VAR_NUMERICAL   cv::ml::VAR_NUMERICAL

Definition at line 62 of file otbOpenCVUtils.h.

◆ CvANN_MLP

#define CvANN_MLP   cv::ml::ANN_MLP

Definition at line 59 of file otbOpenCVUtils.h.

◆ CvANN_MLP_TrainParams

#define CvANN_MLP_TrainParams   cv::ml::ANN_MLP

Definition at line 58 of file otbOpenCVUtils.h.

◆ CvBoost

#define CvBoost   cv::ml::Boost

Definition at line 60 of file otbOpenCVUtils.h.

◆ CvSVM

#define CvSVM   cv::ml::SVM

Definition at line 57 of file otbOpenCVUtils.h.