@Namespace(value="cv") @NoOffset public static class opencv_objdetect.HOGDescriptor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_NLEVELS
enum cv::HOGDescriptor::
|
static int |
L2Hys
enum cv::HOGDescriptor::
|
| Constructor and Description |
|---|
HOGDescriptor() |
HOGDescriptor(BytePointer filename) |
HOGDescriptor(long size)
Native array allocator.
|
HOGDescriptor(opencv_core.Size _winSize,
opencv_core.Size _blockSize,
opencv_core.Size _blockStride,
opencv_core.Size _cellSize,
int _nbins) |
HOGDescriptor(opencv_core.Size _winSize,
opencv_core.Size _blockSize,
opencv_core.Size _blockStride,
opencv_core.Size _cellSize,
int _nbins,
int _derivAperture,
double _winSigma,
int _histogramNormType,
double _L2HysThreshold,
boolean _gammaCorrection,
int _nlevels,
boolean _signedGradient) |
HOGDescriptor(opencv_objdetect.HOGDescriptor d) |
HOGDescriptor(Pointer p)
Pointer cast constructor.
|
HOGDescriptor(String filename) |
address, asBuffer, asByteBuffer, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic static final int L2Hys
public static final int DEFAULT_NLEVELS
public HOGDescriptor(Pointer p)
Pointer.Pointer(Pointer).public HOGDescriptor(long size)
Pointer.position(long).public HOGDescriptor()
public HOGDescriptor(@ByVal opencv_core.Size _winSize, @ByVal opencv_core.Size _blockSize, @ByVal opencv_core.Size _blockStride, @ByVal opencv_core.Size _cellSize, int _nbins, int _derivAperture, double _winSigma, int _histogramNormType, double _L2HysThreshold, @Cast(value="bool") boolean _gammaCorrection, int _nlevels, @Cast(value="bool") boolean _signedGradient)
public HOGDescriptor(@ByVal opencv_core.Size _winSize, @ByVal opencv_core.Size _blockSize, @ByVal opencv_core.Size _blockStride, @ByVal opencv_core.Size _cellSize, int _nbins)
public HOGDescriptor(@opencv_core.Str BytePointer filename)
public HOGDescriptor(@opencv_core.Str String filename)
public HOGDescriptor(@Const @ByRef opencv_objdetect.HOGDescriptor d)
public opencv_objdetect.HOGDescriptor position(long position)
public double getWinSigma()
public void setSVMDetector(@ByVal opencv_core.Mat _svmdetector)
public void setSVMDetector(@ByVal opencv_core.UMat _svmdetector)
@Cast(value="bool") public boolean read(@ByRef opencv_core.FileNode fn)
public void write(@ByRef opencv_core.FileStorage fs, @opencv_core.Str BytePointer objname)
public void write(@ByRef opencv_core.FileStorage fs, @opencv_core.Str String objname)
@Cast(value="bool") public boolean load(@opencv_core.Str BytePointer filename, @opencv_core.Str BytePointer objname)
@Cast(value="bool") public boolean load(@opencv_core.Str BytePointer filename)
@Cast(value="bool") public boolean load(@opencv_core.Str String filename, @opencv_core.Str String objname)
@Cast(value="bool") public boolean load(@opencv_core.Str String filename)
public void save(@opencv_core.Str BytePointer filename, @opencv_core.Str BytePointer objname)
public void save(@opencv_core.Str BytePointer filename)
public void save(@opencv_core.Str String filename, @opencv_core.Str String objname)
public void save(@opencv_core.Str String filename)
public void copyTo(@ByRef opencv_objdetect.HOGDescriptor c)
public void compute(@ByVal opencv_core.Mat img, @StdVector FloatPointer descriptors, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector locations)
public void compute(@ByVal opencv_core.Mat img, @StdVector FloatPointer descriptors)
public void compute(@ByVal opencv_core.Mat img, @StdVector FloatBuffer descriptors, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector locations)
public void compute(@ByVal opencv_core.Mat img, @StdVector FloatBuffer descriptors)
public void compute(@ByVal opencv_core.UMat img, @StdVector float[] descriptors, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector locations)
public void compute(@ByVal opencv_core.UMat img, @StdVector float[] descriptors)
public void compute(@ByVal opencv_core.UMat img, @StdVector FloatPointer descriptors, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector locations)
public void compute(@ByVal opencv_core.UMat img, @StdVector FloatPointer descriptors)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations, @StdVector DoublePointer weights, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector searchLocations)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations, @StdVector DoublePointer weights)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations, @StdVector DoubleBuffer weights, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector searchLocations)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations, @StdVector DoubleBuffer weights)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations, @StdVector double[] weights, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector searchLocations)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations, @StdVector double[] weights)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, @Const @ByRef(nullValue="std::vector<cv::Point>()") opencv_core.PointVector searchLocations)
public void detect(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.PointVector foundLocations)
public void detectMultiScale(@ByVal opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations, @StdVector DoublePointer foundWeights, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, double scale, double finalThreshold, @Cast(value="bool") boolean useMeanshiftGrouping)
public void detectMultiScale(@ByVal opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations, @StdVector DoublePointer foundWeights)
public void detectMultiScale(@ByVal opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations, @StdVector DoubleBuffer foundWeights, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, double scale, double finalThreshold, @Cast(value="bool") boolean useMeanshiftGrouping)
public void detectMultiScale(@ByVal opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations, @StdVector DoubleBuffer foundWeights)
public void detectMultiScale(@ByVal opencv_core.UMat img, @ByRef opencv_core.RectVector foundLocations, @StdVector double[] foundWeights, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, double scale, double finalThreshold, @Cast(value="bool") boolean useMeanshiftGrouping)
public void detectMultiScale(@ByVal opencv_core.UMat img, @ByRef opencv_core.RectVector foundLocations, @StdVector double[] foundWeights)
public void detectMultiScale(@ByVal opencv_core.UMat img, @ByRef opencv_core.RectVector foundLocations, @StdVector DoublePointer foundWeights, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, double scale, double finalThreshold, @Cast(value="bool") boolean useMeanshiftGrouping)
public void detectMultiScale(@ByVal opencv_core.UMat img, @ByRef opencv_core.RectVector foundLocations, @StdVector DoublePointer foundWeights)
public void detectMultiScale(@ByVal opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, double scale, double finalThreshold, @Cast(value="bool") boolean useMeanshiftGrouping)
public void detectMultiScale(@ByVal opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations)
public void detectMultiScale(@ByVal opencv_core.UMat img, @ByRef opencv_core.RectVector foundLocations, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding, double scale, double finalThreshold, @Cast(value="bool") boolean useMeanshiftGrouping)
public void detectMultiScale(@ByVal opencv_core.UMat img, @ByRef opencv_core.RectVector foundLocations)
public void computeGradient(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.Mat grad, @ByRef opencv_core.Mat angleOfs, @ByVal(nullValue="cv::Size()") opencv_core.Size paddingTL, @ByVal(nullValue="cv::Size()") opencv_core.Size paddingBR)
public void computeGradient(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.Mat grad, @ByRef opencv_core.Mat angleOfs)
@StdVector public static FloatPointer getDefaultPeopleDetector()
@StdVector public static FloatPointer getDaimlerPeopleDetector()
@ByRef public opencv_core.Size winSize()
public opencv_objdetect.HOGDescriptor winSize(opencv_core.Size winSize)
@ByRef public opencv_core.Size blockSize()
public opencv_objdetect.HOGDescriptor blockSize(opencv_core.Size blockSize)
@ByRef public opencv_core.Size blockStride()
public opencv_objdetect.HOGDescriptor blockStride(opencv_core.Size blockStride)
@ByRef public opencv_core.Size cellSize()
public opencv_objdetect.HOGDescriptor cellSize(opencv_core.Size cellSize)
public int nbins()
public opencv_objdetect.HOGDescriptor nbins(int nbins)
public int derivAperture()
public opencv_objdetect.HOGDescriptor derivAperture(int derivAperture)
public double winSigma()
public opencv_objdetect.HOGDescriptor winSigma(double winSigma)
public int histogramNormType()
public opencv_objdetect.HOGDescriptor histogramNormType(int histogramNormType)
public double L2HysThreshold()
public opencv_objdetect.HOGDescriptor L2HysThreshold(double L2HysThreshold)
public opencv_objdetect.HOGDescriptor gammaCorrection(boolean gammaCorrection)
@StdVector public FloatPointer svmDetector()
public opencv_objdetect.HOGDescriptor svmDetector(FloatPointer svmDetector)
@ByRef public opencv_core.UMat oclSvmDetector()
public opencv_objdetect.HOGDescriptor oclSvmDetector(opencv_core.UMat oclSvmDetector)
public float free_coef()
public opencv_objdetect.HOGDescriptor free_coef(float free_coef)
public int nlevels()
public opencv_objdetect.HOGDescriptor nlevels(int nlevels)
public opencv_objdetect.HOGDescriptor signedGradient(boolean signedGradient)
public void detectROI(@Const @ByRef opencv_core.Mat img, @Const @ByRef opencv_core.PointVector locations, @ByRef opencv_core.PointVector foundLocations, @StdVector DoublePointer confidences, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding)
public void detectROI(@Const @ByRef opencv_core.Mat img, @Const @ByRef opencv_core.PointVector locations, @ByRef opencv_core.PointVector foundLocations, @StdVector DoublePointer confidences)
public void detectROI(@Const @ByRef opencv_core.Mat img, @Const @ByRef opencv_core.PointVector locations, @ByRef opencv_core.PointVector foundLocations, @StdVector DoubleBuffer confidences, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding)
public void detectROI(@Const @ByRef opencv_core.Mat img, @Const @ByRef opencv_core.PointVector locations, @ByRef opencv_core.PointVector foundLocations, @StdVector DoubleBuffer confidences)
public void detectROI(@Const @ByRef opencv_core.Mat img, @Const @ByRef opencv_core.PointVector locations, @ByRef opencv_core.PointVector foundLocations, @StdVector double[] confidences, double hitThreshold, @ByVal(nullValue="cv::Size()") opencv_core.Size winStride, @ByVal(nullValue="cv::Size()") opencv_core.Size padding)
public void detectROI(@Const @ByRef opencv_core.Mat img, @Const @ByRef opencv_core.PointVector locations, @ByRef opencv_core.PointVector foundLocations, @StdVector double[] confidences)
public void detectMultiScaleROI(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations, @StdVector opencv_objdetect.DetectionROI locations, double hitThreshold, int groupThreshold)
public void detectMultiScaleROI(@Const @ByRef opencv_core.Mat img, @ByRef opencv_core.RectVector foundLocations, @StdVector opencv_objdetect.DetectionROI locations)
public void readALTModel(@opencv_core.Str BytePointer modelfile)
public void readALTModel(@opencv_core.Str String modelfile)
public void groupRectangles(@ByRef opencv_core.RectVector rectList, @StdVector DoublePointer weights, int groupThreshold, double eps)
public void groupRectangles(@ByRef opencv_core.RectVector rectList, @StdVector DoubleBuffer weights, int groupThreshold, double eps)
public void groupRectangles(@ByRef opencv_core.RectVector rectList, @StdVector double[] weights, int groupThreshold, double eps)
Copyright © 2017. All rights reserved.