OpenCV  2.4.13
Open Source Computer Vision
objdetect/objdetect.hpp File Reference
#include "opencv2/core/core.hpp"
#include <map>
#include <deque>

Classes

struct  CvHaarFeature
 
struct  CvHaarClassifier
 
struct  CvHaarStageClassifier
 
struct  CvHaarClassifierCascade
 
struct  CvAvgComp
 
struct  CvLSVMFilterPosition
 
struct  CvLSVMFilterObject
 
struct  CvLatentSvmDetector
 
struct  CvObjectDetection
 
class  cv::LatentSvmDetector
 
struct  cv::LatentSvmDetector::ObjectDetection
 
class  cv::SimilarRects
 
class  cv::FeatureEvaluator
 
class  cv::CascadeClassifier
 
class  cv::CascadeClassifier::Data
 
struct  cv::CascadeClassifier::Data::DTreeNode
 
struct  cv::CascadeClassifier::Data::DTree
 
struct  cv::CascadeClassifier::Data::Stage
 
class  cv::CascadeClassifier::MaskGenerator
 
struct  cv::DetectionROI
 
struct  cv::HOGDescriptor
 
struct  CvDataMatrixCode
 
struct  cv::linemod::Feature
 Discriminant feature described by its location and label. More...
 
struct  cv::linemod::Template
 
class  cv::linemod::QuantizedPyramid
 Represents a modality operating over an image pyramid. More...
 
struct  cv::linemod::QuantizedPyramid::Candidate
 Candidate feature with a score. More...
 
class  cv::linemod::Modality
 Interface for modalities that plug into the LINE template matching representation. More...
 
class  cv::linemod::ColorGradient
 Modality that computes quantized gradient orientations from a color image. More...
 
class  cv::linemod::DepthNormal
 Modality that computes quantized surface normals from a dense depth map. More...
 
struct  cv::linemod::Match
 Represents a successful template match. More...
 
class  cv::linemod::Detector
 Object detector using the LINE template matching algorithm with any set of modalities. More...
 

Namespaces

 cv
 
 cv::linemod
 

Macros

#define CV_HAAR_MAGIC_VAL   0x42500000
 
#define CV_TYPE_NAME_HAAR   "opencv-haar-classifier"
 
#define CV_IS_HAAR_CLASSIFIER(haar)
 
#define CV_HAAR_FEATURE_MAX   3
 
#define CV_HAAR_DO_CANNY_PRUNING   1
 
#define CV_HAAR_SCALE_IMAGE   2
 
#define CV_HAAR_FIND_BIGGEST_OBJECT   4
 
#define CV_HAAR_DO_ROUGH_SEARCH   8
 

Typedefs

typedef struct CvHidHaarClassifierCascade CvHidHaarClassifierCascade
 

Enumerations

enum  { cv::CASCADE_DO_CANNY_PRUNING =1, cv::CASCADE_SCALE_IMAGE =2, cv::CASCADE_FIND_BIGGEST_OBJECT =4, cv::CASCADE_DO_ROUGH_SEARCH =8 }
 

Functions

CvHaarClassifierCascadecvLoadHaarClassifierCascade (const char *directory, CvSize orig_window_size)
 
void cvReleaseHaarClassifierCascade (CvHaarClassifierCascade **cascade)
 
CvSeqcvHaarDetectObjects (const CvArr *image, CvHaarClassifierCascade *cascade, CvMemStorage *storage, double scale_factor CV_DEFAULT(1.1), int min_neighbors CV_DEFAULT(3), int flags CV_DEFAULT(0), CvSize min_size CV_DEFAULT(cvSize(0, 0)), CvSize max_size CV_DEFAULT(cvSize(0, 0)))
 
void cvSetImagesForHaarClassifierCascade (CvHaarClassifierCascade *cascade, const CvArr *sum, const CvArr *sqsum, const CvArr *tilted_sum, double scale)
 
int cvRunHaarClassifierCascade (const CvHaarClassifierCascade *cascade, CvPoint pt, int start_stage CV_DEFAULT(0))
 
CvLatentSvmDetectorcvLoadLatentSvmDetector (const char *filename)
 
void cvReleaseLatentSvmDetector (CvLatentSvmDetector **detector)
 
CvSeqcvLatentSvmDetectObjects (IplImage *image, CvLatentSvmDetector *detector, CvMemStorage *storage, float overlap_threshold CV_DEFAULT(0.5f), int numThreads CV_DEFAULT(-1))
 
CvSeqcvHaarDetectObjectsForROC (const CvArr *image, CvHaarClassifierCascade *cascade, CvMemStorage *storage, std::vector< int > &rejectLevels, std::vector< double > &levelWeightds, double scale_factor CV_DEFAULT(1.1), int min_neighbors CV_DEFAULT(3), int flags CV_DEFAULT(0), CvSize min_size CV_DEFAULT(cvSize(0, 0)), CvSize max_size CV_DEFAULT(cvSize(0, 0)), bool outputRejectLevels=false)
 
void cv::groupRectangles (CV_OUT CV_IN_OUT vector< Rect > &rectList, int groupThreshold, double eps=0.2)
 
void cv::groupRectangles (CV_OUT CV_IN_OUT vector< Rect > &rectList, CV_OUT vector< int > &weights, int groupThreshold, double eps=0.2)
 
void cv::groupRectangles (vector< Rect > &rectList, int groupThreshold, double eps, vector< int > *weights, vector< double > *levelWeights)
 
void cv::groupRectangles (vector< Rect > &rectList, vector< int > &rejectLevels, vector< double > &levelWeights, int groupThreshold, double eps=0.2)
 
void cv::groupRectangles_meanshift (vector< Rect > &rectList, vector< double > &foundWeights, vector< double > &foundScales, double detectThreshold=0.0, Size winDetSize=Size(64, 128))
 
void cv::findDataMatrix (InputArray image, CV_OUT vector< string > &codes, OutputArray corners=noArray(), OutputArrayOfArrays dmtx=noArray())
 
void cv::drawDataMatrixCodes (InputOutputArray image, const vector< string > &codes, InputArray corners)
 
std::deque< CvDataMatrixCodecvFindDataMatrix (CvMat *im)
 
void cv::linemod::colormap (const Mat &quantized, Mat &dst)
 Debug function to colormap a quantized image for viewing. More...
 
Ptr< Detector > cv::linemod::getDefaultLINE ()
 Factory function for detector using LINE algorithm with color gradients. More...
 
Ptr< Detector > cv::linemod::getDefaultLINEMOD ()
 Factory function for detector using LINE-MOD algorithm with color gradients and depth normals. More...
 

Macro Definition Documentation

#define CV_HAAR_DO_CANNY_PRUNING   1
#define CV_HAAR_DO_ROUGH_SEARCH   8
#define CV_HAAR_FEATURE_MAX   3
#define CV_HAAR_FIND_BIGGEST_OBJECT   4
#define CV_HAAR_MAGIC_VAL   0x42500000
#define CV_HAAR_SCALE_IMAGE   2
#define CV_IS_HAAR_CLASSIFIER (   haar)
Value:
((haar) != NULL && \
#define CV_MAGIC_MASK
Definition: core/include/opencv2/core/types_c.h:668
#define CV_HAAR_MAGIC_VAL
Definition: objdetect/objdetect.hpp:59
Definition: objdetect/objdetect.hpp:101
#define CV_TYPE_NAME_HAAR   "opencv-haar-classifier"

Typedef Documentation

Function Documentation

std::deque<CvDataMatrixCode> cvFindDataMatrix ( CvMat im)
CvSeq* cvHaarDetectObjects ( const CvArr image,
CvHaarClassifierCascade cascade,
CvMemStorage storage,
double scale_factor   CV_DEFAULT1.1,
int min_neighbors   CV_DEFAULT3,
int flags   CV_DEFAULT0,
CvSize min_size   CV_DEFAULTcvSize(0, 0),
CvSize max_size   CV_DEFAULTcvSize(0, 0) 
)
CvSeq* cvHaarDetectObjectsForROC ( const CvArr image,
CvHaarClassifierCascade cascade,
CvMemStorage storage,
std::vector< int > &  rejectLevels,
std::vector< double > &  levelWeightds,
double scale_factor   CV_DEFAULT1.1,
int min_neighbors   CV_DEFAULT3,
int flags   CV_DEFAULT0,
CvSize min_size   CV_DEFAULTcvSize(0, 0),
CvSize max_size   CV_DEFAULTcvSize(0, 0),
bool  outputRejectLevels = false 
)
CvSeq* cvLatentSvmDetectObjects ( IplImage image,
CvLatentSvmDetector detector,
CvMemStorage storage,
float overlap_threshold   CV_DEFAULT0.5f,
int numThreads   CV_DEFAULT-1 
)
CvHaarClassifierCascade* cvLoadHaarClassifierCascade ( const char *  directory,
CvSize  orig_window_size 
)
CvLatentSvmDetector* cvLoadLatentSvmDetector ( const char *  filename)
void cvReleaseHaarClassifierCascade ( CvHaarClassifierCascade **  cascade)
void cvReleaseLatentSvmDetector ( CvLatentSvmDetector **  detector)
int cvRunHaarClassifierCascade ( const CvHaarClassifierCascade cascade,
CvPoint  pt,
int start_stage   CV_DEFAULT
)
void cvSetImagesForHaarClassifierCascade ( CvHaarClassifierCascade cascade,
const CvArr sum,
const CvArr sqsum,
const CvArr tilted_sum,
double  scale 
)