public class HOGDescriptor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NLEVELS |
static int |
DESCR_FORMAT_COL_BY_COL |
static int |
DESCR_FORMAT_ROW_BY_ROW |
static int |
L2Hys |
Constructor and Description |
---|
HOGDescriptor() |
HOGDescriptor(Size _winSize,
Size _blockSize,
Size _blockStride,
Size _cellSize,
int _nbins) |
HOGDescriptor(Size _winSize,
Size _blockSize,
Size _blockStride,
Size _cellSize,
int _nbins,
int _derivAperture) |
HOGDescriptor(Size _winSize,
Size _blockSize,
Size _blockStride,
Size _cellSize,
int _nbins,
int _derivAperture,
double _winSigma) |
HOGDescriptor(Size _winSize,
Size _blockSize,
Size _blockStride,
Size _cellSize,
int _nbins,
int _derivAperture,
double _winSigma,
int _histogramNormType) |
HOGDescriptor(Size _winSize,
Size _blockSize,
Size _blockStride,
Size _cellSize,
int _nbins,
int _derivAperture,
double _winSigma,
int _histogramNormType,
double _L2HysThreshold) |
HOGDescriptor(Size _winSize,
Size _blockSize,
Size _blockStride,
Size _cellSize,
int _nbins,
int _derivAperture,
double _winSigma,
int _histogramNormType,
double _L2HysThreshold,
boolean _gammaCorrection) |
HOGDescriptor(Size _winSize,
Size _blockSize,
Size _blockStride,
Size _cellSize,
int _nbins,
int _derivAperture,
double _winSigma,
int _histogramNormType,
double _L2HysThreshold,
boolean _gammaCorrection,
int _nlevels) |
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) |
void |
compute(Mat img,
MatOfFloat descriptors,
Size winStride,
Size padding) |
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) |
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) |
void |
detect(Mat img,
MatOfPoint foundLocations,
MatOfDouble weights,
double hitThreshold,
Size winStride) |
void |
detect(Mat img,
MatOfPoint foundLocations,
MatOfDouble weights,
double hitThreshold,
Size winStride,
Size padding) |
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) |
void |
detectMultiScale(Mat img,
MatOfRect foundLocations,
MatOfDouble foundWeights,
double hitThreshold,
Size winStride) |
void |
detectMultiScale(Mat img,
MatOfRect foundLocations,
MatOfDouble foundWeights,
double hitThreshold,
Size winStride,
Size padding) |
void |
detectMultiScale(Mat img,
MatOfRect foundLocations,
MatOfDouble foundWeights,
double hitThreshold,
Size winStride,
Size padding,
double scale) |
void |
detectMultiScale(Mat img,
MatOfRect foundLocations,
MatOfDouble foundWeights,
double hitThreshold,
Size winStride,
Size padding,
double scale,
double finalThreshold) |
void |
detectMultiScale(Mat img,
MatOfRect foundLocations,
MatOfDouble foundWeights,
double hitThreshold,
Size winStride,
Size padding,
double scale,
double finalThreshold,
boolean useMeanshiftGrouping) |
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) |
public static final int DEFAULT_NLEVELS
public static final int DESCR_FORMAT_COL_BY_COL
public static final int DESCR_FORMAT_ROW_BY_ROW
public static final int L2Hys
public HOGDescriptor()
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture, double _winSigma)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType, double _L2HysThreshold)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType, double _L2HysThreshold, boolean _gammaCorrection)
public HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType, double _L2HysThreshold, boolean _gammaCorrection, int _nlevels)
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(java.lang.String filename)
public static HOGDescriptor __fromPtr__(long addr)
public boolean checkDetectorSize()
public void compute(Mat img, MatOfFloat descriptors)
public void compute(Mat img, MatOfFloat descriptors, Size winStride)
public void compute(Mat img, MatOfFloat descriptors, Size winStride, Size padding)
public void compute(Mat img, MatOfFloat descriptors, Size winStride, Size padding, MatOfPoint locations)
public void computeGradient(Mat img, Mat grad, Mat angleOfs, Size paddingTL, Size paddingBR)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride, Size padding)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights, double hitThreshold, Size winStride, Size padding, MatOfPoint searchLocations)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights, double hitThreshold, Size winStride, Size padding, double scale, double finalThreshold, boolean useMeanshiftGrouping)
public Size get_blockSize()
public Size get_blockStride()
public Size get_cellSize()
public int get_derivAperture()
public boolean get_gammaCorrection()
public int get_histogramNormType()
public double get_L2HysThreshold()
public int get_nbins()
public int get_nlevels()
public boolean get_signedGradient()
public MatOfFloat get_svmDetector()
public double get_winSigma()
public Size get_winSize()
public static MatOfFloat getDaimlerPeopleDetector()
public static MatOfFloat getDefaultPeopleDetector()
public long getDescriptorSize()
public long getNativeObjAddr()
public double getWinSigma()
public boolean load(java.lang.String filename)
public boolean load(java.lang.String filename, java.lang.String objname)
public void save(java.lang.String filename)
public void save(java.lang.String filename, java.lang.String objname)
public void setSVMDetector(Mat svmdetector)