OpenCV  2.4.13.3
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

§ CV_HAAR_DO_CANNY_PRUNING

#define CV_HAAR_DO_CANNY_PRUNING   1

§ CV_HAAR_DO_ROUGH_SEARCH

#define CV_HAAR_DO_ROUGH_SEARCH   8

§ CV_HAAR_FEATURE_MAX

#define CV_HAAR_FEATURE_MAX   3

§ CV_HAAR_FIND_BIGGEST_OBJECT

#define CV_HAAR_FIND_BIGGEST_OBJECT   4

§ CV_HAAR_MAGIC_VAL

#define CV_HAAR_MAGIC_VAL   0x42500000

§ CV_HAAR_SCALE_IMAGE

#define CV_HAAR_SCALE_IMAGE   2

§ CV_IS_HAAR_CLASSIFIER

#define CV_IS_HAAR_CLASSIFIER (   haar)
Value:
((haar) != NULL && \
#define CV_MAGIC_MASK
Definition: core/include/opencv2/core/types_c.h:677
#define CV_HAAR_MAGIC_VAL
Definition: objdetect/objdetect.hpp:59
Definition: objdetect/objdetect.hpp:101

§ CV_TYPE_NAME_HAAR

#define CV_TYPE_NAME_HAAR   "opencv-haar-classifier"

Typedef Documentation

§ CvHidHaarClassifierCascade

Function Documentation

§ cvFindDataMatrix()

std::deque<CvDataMatrixCode> cvFindDataMatrix ( CvMat im)

§ cvHaarDetectObjects()

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) 
)

§ cvHaarDetectObjectsForROC()

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 
)

§ cvLatentSvmDetectObjects()

CvSeq* cvLatentSvmDetectObjects ( IplImage image,
CvLatentSvmDetector detector,
CvMemStorage storage,
float overlap_threshold   CV_DEFAULT0.5f,
int numThreads   CV_DEFAULT-1 
)

§ cvLoadHaarClassifierCascade()

CvHaarClassifierCascade* cvLoadHaarClassifierCascade ( const char *  directory,
CvSize  orig_window_size 
)

§ cvLoadLatentSvmDetector()

CvLatentSvmDetector* cvLoadLatentSvmDetector ( const char *  filename)

§ cvReleaseHaarClassifierCascade()

void cvReleaseHaarClassifierCascade ( CvHaarClassifierCascade **  cascade)

§ cvReleaseLatentSvmDetector()

void cvReleaseLatentSvmDetector ( CvLatentSvmDetector **  detector)

§ cvRunHaarClassifierCascade()

int cvRunHaarClassifierCascade ( const CvHaarClassifierCascade cascade,
CvPoint  pt,
int start_stage   CV_DEFAULT
)

§ cvSetImagesForHaarClassifierCascade()

void cvSetImagesForHaarClassifierCascade ( CvHaarClassifierCascade cascade,
const CvArr sum,
const CvArr sqsum,
const CvArr tilted_sum,
double  scale 
)