org.opencv.objdetect
Class HOGDescriptor
java.lang.Object
   org.opencv.objdetect.HOGDescriptor
org.opencv.objdetect.HOGDescriptor
- public class HOGDescriptor 
- extends java.lang.Object
 
| Constructor Summary | 
|   | HOGDescriptor()
 | 
| protected  | HOGDescriptor(long addr)
 | 
|   | HOGDescriptor(Size _winSize,
              Size _blockSize,
              Size _blockStride,
              Size _cellSize,
              int _nbins)
 | 
|   | HOGDescriptor(Size _winSize,
              Size _blockSize,
              Size _blockStride,
              Size _cellSize,
              int _nbins,
              int _derivAperture,
              double _winSigma,
              int _histogramNormType,
              double _L2HysThreshold,
              boolean _gammaCorrection,
              int _nlevels)
 | 
|   | HOGDescriptor(java.lang.String filename)
 | 
 
| Method Summary | 
|  boolean | checkDetectorSize()
 | 
|  void | compute(Mat img,
        MatOfFloat descriptors)
 | 
|  void | compute(Mat img,
        MatOfFloat descriptors,
        Size winStride,
        Size padding,
        MatOfPoint locations)
 | 
|  void | computeGradient(Mat img,
                Mat grad,
                Mat angleOfs)
 | 
|  void | computeGradient(Mat img,
                Mat grad,
                Mat angleOfs,
                Size paddingTL,
                Size paddingBR)
 | 
|  void | detect(Mat img,
       MatOfPoint foundLocations,
       MatOfDouble weights)
 | 
|  void | detect(Mat img,
       MatOfPoint foundLocations,
       MatOfDouble weights,
       double hitThreshold,
       Size winStride,
       Size padding,
       MatOfPoint searchLocations)
 | 
|  void | detectMultiScale(Mat img,
                 MatOfRect foundLocations,
                 MatOfDouble foundWeights)
 | 
|  void | detectMultiScale(Mat img,
                 MatOfRect foundLocations,
                 MatOfDouble foundWeights,
                 double hitThreshold,
                 Size winStride,
                 Size padding,
                 double scale,
                 double finalThreshold,
                 boolean useMeanshiftGrouping)
 | 
| protected  void | finalize()
 | 
|  Size | get_blockSize()
 | 
|  Size | get_blockStride()
 | 
|  Size | get_cellSize()
 | 
|  int | get_derivAperture()
 | 
|  boolean | get_gammaCorrection()
 | 
|  int | get_histogramNormType()
 | 
|  double | get_L2HysThreshold()
 | 
|  int | get_nbins()
 | 
|  int | get_nlevels()
 | 
|  MatOfFloat | get_svmDetector()
 | 
|  double | get_winSigma()
 | 
|  Size | get_winSize()
 | 
| static MatOfFloat | getDaimlerPeopleDetector()
 | 
| static MatOfFloat | getDefaultPeopleDetector()
 | 
|  long | getDescriptorSize()
 | 
|  double | getWinSigma()
 | 
|  boolean | load(java.lang.String filename)
 | 
|  boolean | load(java.lang.String filename,
     java.lang.String objname)
 | 
|  void | save(java.lang.String filename)
 | 
|  void | save(java.lang.String filename,
     java.lang.String objname)
 | 
|  void | setSVMDetector(Mat _svmdetector)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DEFAULT_NLEVELS
public static final int DEFAULT_NLEVELS
- See Also:
- Constant Field Values
L2Hys
public static final int L2Hys
- See Also:
- Constant Field Values
nativeObj
protected final long nativeObj
HOGDescriptor
public HOGDescriptor()
HOGDescriptor
protected HOGDescriptor(long addr)
HOGDescriptor
public HOGDescriptor(Size _winSize,
                     Size _blockSize,
                     Size _blockStride,
                     Size _cellSize,
                     int _nbins)
HOGDescriptor
public HOGDescriptor(Size _winSize,
                     Size _blockSize,
                     Size _blockStride,
                     Size _cellSize,
                     int _nbins,
                     int _derivAperture,
                     double _winSigma,
                     int _histogramNormType,
                     double _L2HysThreshold,
                     boolean _gammaCorrection,
                     int _nlevels)
HOGDescriptor
public HOGDescriptor(java.lang.String filename)
checkDetectorSize
public boolean checkDetectorSize()
- 
 
compute
public void compute(Mat img,
                    MatOfFloat descriptors)
- 
 
compute
public void compute(Mat img,
                    MatOfFloat descriptors,
                    Size winStride,
                    Size padding,
                    MatOfPoint locations)
- 
 
computeGradient
public void computeGradient(Mat img,
                            Mat grad,
                            Mat angleOfs)
- 
 
computeGradient
public void computeGradient(Mat img,
                            Mat grad,
                            Mat angleOfs,
                            Size paddingTL,
                            Size paddingBR)
- 
 
detect
public void detect(Mat img,
                   MatOfPoint foundLocations,
                   MatOfDouble weights)
- 
 
detect
public void detect(Mat img,
                   MatOfPoint foundLocations,
                   MatOfDouble weights,
                   double hitThreshold,
                   Size winStride,
                   Size padding,
                   MatOfPoint searchLocations)
- 
 
detectMultiScale
public void detectMultiScale(Mat img,
                             MatOfRect foundLocations,
                             MatOfDouble foundWeights)
- 
 
detectMultiScale
public void detectMultiScale(Mat img,
                             MatOfRect foundLocations,
                             MatOfDouble foundWeights,
                             double hitThreshold,
                             Size winStride,
                             Size padding,
                             double scale,
                             double finalThreshold,
                             boolean useMeanshiftGrouping)
- 
 
finalize
protected void finalize()
                 throws java.lang.Throwable
- 
- Overrides:
- finalizein class- java.lang.Object
 
- 
- Throws:
- java.lang.Throwable
 
get_blockSize
public Size get_blockSize()
- 
 
get_blockStride
public Size get_blockStride()
- 
 
get_cellSize
public Size get_cellSize()
- 
 
get_derivAperture
public int get_derivAperture()
- 
 
get_gammaCorrection
public boolean get_gammaCorrection()
- 
 
get_histogramNormType
public int get_histogramNormType()
- 
 
get_L2HysThreshold
public double get_L2HysThreshold()
- 
 
get_nbins
public int get_nbins()
- 
 
get_nlevels
public int get_nlevels()
- 
 
get_svmDetector
public MatOfFloat get_svmDetector()
- 
 
get_winSigma
public double get_winSigma()
- 
 
get_winSize
public Size get_winSize()
- 
 
getDaimlerPeopleDetector
public static MatOfFloat getDaimlerPeopleDetector()
- 
 
getDefaultPeopleDetector
public static MatOfFloat getDefaultPeopleDetector()
- 
 
getDescriptorSize
public long getDescriptorSize()
- 
 
getWinSigma
public double getWinSigma()
- 
 
load
public boolean load(java.lang.String filename)
- 
 
load
public boolean load(java.lang.String filename,
                    java.lang.String objname)
- 
 
save
public void save(java.lang.String filename)
- 
 
save
public void save(java.lang.String filename,
                 java.lang.String objname)
- 
 
setSVMDetector
public void setSVMDetector(Mat _svmdetector)
-