public class HOGDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NLEVELS |
static int |
L2Hys |
protected long |
nativeObj |
Modifier | Constructor and Description |
---|---|
|
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,
boolean _signedGradient) |
|
HOGDescriptor(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
static HOGDescriptor |
__fromPtr__(long addr) |
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() |
boolean |
get_signedGradient() |
MatOfFloat |
get_svmDetector() |
double |
get_winSigma() |
Size |
get_winSize() |
static MatOfFloat |
getDaimlerPeopleDetector() |
static MatOfFloat |
getDefaultPeopleDetector() |
long |
getDescriptorSize() |
long |
getNativeObjAddr() |
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) |
protected final long nativeObj
public static final int L2Hys
public static final int DEFAULT_NLEVELS
protected HOGDescriptor(long addr)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType, double _L2HysThreshold, boolean _gammaCorrection, int _nlevels, boolean _signedGradient)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins)
public HOGDescriptor(java.lang.String filename)
public HOGDescriptor()
public long getNativeObjAddr()
public static HOGDescriptor __fromPtr__(long addr)
public boolean checkDetectorSize()
public boolean load(java.lang.String filename, java.lang.String objname)
public boolean load(java.lang.String filename)
public double getWinSigma()
public long getDescriptorSize()
public static MatOfFloat getDaimlerPeopleDetector()
public static MatOfFloat getDefaultPeopleDetector()
public void compute(Mat img, MatOfFloat descriptors, Size winStride, Size padding, MatOfPoint locations)
public void compute(Mat img, MatOfFloat descriptors)
public void computeGradient(Mat img, Mat grad, Mat angleOfs, Size paddingTL, Size paddingBR)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride, Size padding, MatOfPoint searchLocations)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold, boolean useMeanshiftGrouping)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights)
public void save(java.lang.String filename, java.lang.String objname)
public void save(java.lang.String filename)
public void setSVMDetector(Mat _svmdetector)
public Size get_winSize()
public Size get_blockSize()
public Size get_blockStride()
public Size get_cellSize()
public int get_nbins()
public int get_derivAperture()
public double get_winSigma()
public int get_histogramNormType()
public double get_L2HysThreshold()
public boolean get_gammaCorrection()
public MatOfFloat get_svmDetector()
public int get_nlevels()
public boolean get_signedGradient()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2