OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
cv::datasets::Dataset Class Referenceabstract

#include "dataset.hpp"

Inheritance diagram for cv::datasets::Dataset:
cv::datasets::AR_hmdb cv::datasets::AR_sports cv::datasets::FR_adience cv::datasets::FR_lfw cv::datasets::GR_chalearn cv::datasets::GR_skig cv::datasets::HPE_humaneva cv::datasets::HPE_parse cv::datasets::IR_affine cv::datasets::IR_robot cv::datasets::IS_bsds cv::datasets::IS_weizmann cv::datasets::MSM_epfl cv::datasets::MSM_middlebury cv::datasets::OR_imagenet cv::datasets::OR_mnist cv::datasets::OR_sun cv::datasets::PD_caltech cv::datasets::SLAM_kitti cv::datasets::SLAM_tumindoor cv::datasets::TR_chars cv::datasets::TR_svt

Public Member Functions

 Dataset ()
 
virtual ~Dataset ()
 
int getNumSplits () const
 
std::vector< Ptr< Object > > & getTest (int splitNum=0)
 
std::vector< Ptr< Object > > & getTrain (int splitNum=0)
 
std::vector< Ptr< Object > > & getValidation (int splitNum=0)
 
virtual void load (const std::string &path)=0
 

Protected Attributes

std::vector< std::vector< Ptr
< Object > > > 
test
 
std::vector< std::vector< Ptr
< Object > > > 
train
 
std::vector< std::vector< Ptr
< Object > > > 
validation
 

Constructor & Destructor Documentation

cv::datasets::Dataset::Dataset ( )
inline
virtual cv::datasets::Dataset::~Dataset ( )
inlinevirtual

Member Function Documentation

int cv::datasets::Dataset::getNumSplits ( ) const
std::vector< Ptr<Object> >& cv::datasets::Dataset::getTest ( int  splitNum = 0)
std::vector< Ptr<Object> >& cv::datasets::Dataset::getTrain ( int  splitNum = 0)
std::vector< Ptr<Object> >& cv::datasets::Dataset::getValidation ( int  splitNum = 0)
virtual void cv::datasets::Dataset::load ( const std::string &  path)
pure virtual

Member Data Documentation

std::vector< std::vector< Ptr<Object> > > cv::datasets::Dataset::test
protected
std::vector< std::vector< Ptr<Object> > > cv::datasets::Dataset::train
protected
std::vector< std::vector< Ptr<Object> > > cv::datasets::Dataset::validation
protected

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