OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
Extended object detection

Classes

class  cv::xobjdetect::FeatureEvaluator
 Feature evaluation interface. More...
 
class  cv::xobjdetect::ICFDetector
 Integral Channel Features from [32] . More...
 
struct  cv::xobjdetect::ICFDetectorParams
 Params for ICFDetector training. More...
 
class  cv::xobjdetect::WaldBoost
 WaldBoost object detector from [112] . More...
 
struct  cv::xobjdetect::WaldBoostParams
 Parameters for WaldBoost. weak_count — number of weak learners, alpha — cascade thresholding param. More...
 

Functions

void cv::xobjdetect::computeChannels (InputArray image, std::vector< Mat > &channels)
 Compute channels for integral channel features evaluation. More...
 
Ptr< FeatureEvaluator > cv::xobjdetect::createFeatureEvaluator (const std::vector< std::vector< int > > &features, const std::string &type)
 Construct feature evaluator. More...
 
Ptr< WaldBoost > cv::xobjdetect::createWaldBoost (const WaldBoostParams &params=WaldBoostParams())
 Construct WaldBoost object. More...
 
std::vector< std::vector< int > > cv::xobjdetect::generateFeatures (Size window_size, const std::string &type, int count=INT_MAX, int channel_count=10)
 Generate integral features. Returns vector of features. More...
 
void cv::xobjdetect::read (const FileNode &node, ICFDetector &d, const ICFDetector &default_value=ICFDetector())
 
void cv::xobjdetect::sort_columns_without_copy (Mat &m, Mat indices=Mat())
 
void cv::xobjdetect::write (FileStorage &fs, String &, const ICFDetector &detector)
 

Detailed Description

Function Documentation

void cv::xobjdetect::computeChannels ( InputArray  image,
std::vector< Mat > &  channels 
)

Compute channels for integral channel features evaluation.

Parameters
imageimage for which channels should be computed
channelsoutput array for computed channels
Ptr<FeatureEvaluator> cv::xobjdetect::createFeatureEvaluator ( const std::vector< std::vector< int > > &  features,
const std::string &  type 
)

Construct feature evaluator.

Parameters
featuresfeatures for evaluation
typefeature type. Can be "icf" or "acf"
Ptr<WaldBoost> cv::xobjdetect::createWaldBoost ( const WaldBoostParams &  params = WaldBoostParams())

Construct WaldBoost object.

std::vector<std::vector<int> > cv::xobjdetect::generateFeatures ( Size  window_size,
const std::string &  type,
int  count = INT_MAX,
int  channel_count = 10 
)

Generate integral features. Returns vector of features.

Parameters
window_sizesize of window in which features should be evaluated
typefeature type. Can be "icf" or "acf"
countnumber of features to generate.
channel_countnumber of feature channels
void cv::xobjdetect::read ( const FileNode &  node,
ICFDetector &  d,
const ICFDetector &  default_value = ICFDetector() 
)
void cv::xobjdetect::sort_columns_without_copy ( Mat &  m,
Mat  indices = Mat() 
)
void cv::xobjdetect::write ( FileStorage &  fs,
String &  ,
const ICFDetector &  detector 
)