Public Member Functions |
| | HOGDescriptor () |
| | Creates the HOG descriptor and detector with default parameters.
|
| |
| | HOGDescriptor (const HOGDescriptor &d) |
| |
| | HOGDescriptor (const String &filename) |
| |
| | HOGDescriptor (Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture=1, double _winSigma=-1, HOGDescriptor::HistogramNormType _histogramNormType=HOGDescriptor::L2Hys, double _L2HysThreshold=0.2, bool _gammaCorrection=false, int _nlevels=HOGDescriptor::DEFAULT_NLEVELS, bool _signedGradient=false) |
| |
| virtual | ~HOGDescriptor () |
| | Default destructor.
|
| |
| bool | checkDetectorSize () const |
| | Checks if detector size equal to descriptor size.
|
| |
| virtual void | compute (InputArray img, std::vector< float > &descriptors, Size winStride=Size(), Size padding=Size(), const std::vector< Point > &locations=std::vector< Point >()) const |
| | Computes HOG descriptors of given image.
|
| |
| virtual void | computeGradient (InputArray img, InputOutputArray grad, InputOutputArray angleOfs, Size paddingTL=Size(), Size paddingBR=Size()) const |
| | Computes gradients and quantized gradient orientations.
|
| |
| virtual void | copyTo (HOGDescriptor &c) const |
| | clones the HOGDescriptor
|
| |
| virtual void | detect (InputArray img, std::vector< Point > &foundLocations, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), const std::vector< Point > &searchLocations=std::vector< Point >()) const |
| | Performs object detection without a multi-scale window.
|
| |
| virtual void | detect (InputArray img, std::vector< Point > &foundLocations, std::vector< double > &weights, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), const std::vector< Point > &searchLocations=std::vector< Point >()) const |
| | Performs object detection without a multi-scale window.
|
| |
| virtual void | detectMultiScale (InputArray img, std::vector< Rect > &foundLocations, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), double scale=1.05, double groupThreshold=2.0, bool useMeanshiftGrouping=false) const |
| | Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.
|
| |
| virtual void | detectMultiScale (InputArray img, std::vector< Rect > &foundLocations, std::vector< double > &foundWeights, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), double scale=1.05, double groupThreshold=2.0, bool useMeanshiftGrouping=false) const |
| | Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.
|
| |
| virtual void | detectMultiScaleROI (InputArray img, std::vector< cv::Rect > &foundLocations, std::vector< DetectionROI > &locations, double hitThreshold=0, int groupThreshold=0) const |
| | evaluate specified ROI and return confidence value for each location in multiple scales
|
| |
| virtual void | detectROI (InputArray img, const std::vector< cv::Point > &locations, std::vector< cv::Point > &foundLocations, std::vector< double > &confidences, double hitThreshold=0, cv::Size winStride=Size(), cv::Size padding=Size()) const |
| | evaluate specified ROI and return confidence value for each location
|
| |
| size_t | getDescriptorSize () const |
| | Returns the number of coefficients required for the classification.
|
| |
| double | getWinSigma () const |
| | Returns winSigma value.
|
| |
| void | groupRectangles (std::vector< cv::Rect > &rectList, std::vector< double > &weights, int groupThreshold, double eps) const |
| | Groups the object candidate rectangles.
|
| |
| virtual bool | load (const String &filename, const String &objname=String()) |
| | loads HOGDescriptor parameters and coefficients for the linear SVM classifier from a file
|
| |
| virtual bool | read (FileNode &fn) |
| | Reads HOGDescriptor parameters and coefficients for the linear SVM classifier from a file node.
|
| |
| virtual void | save (const String &filename, const String &objname=String()) const |
| | saves HOGDescriptor parameters and coefficients for the linear SVM classifier to a file
|
| |
| virtual void | setSVMDetector (InputArray svmdetector) |
| | Sets coefficients for the linear SVM classifier.
|
| |
| virtual void | write (FileStorage &fs, const String &objname) const |
| | Stores HOGDescriptor parameters and coefficients for the linear SVM classifier in a file storage.
|
| |