@Namespace(value="cv::ximgproc") @Properties(inherit=opencv_ximgproc.class) public class RFFeatureGetter extends Algorithm
/** Helper class for training part of [P. Dollar and C. L. Zitnick. Structured Forests for Fast Edge Detection, 2013].
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RFFeatureGetter(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
getFeatures(Mat src,
Mat features,
int gnrmRad,
int gsmthRad,
int shrink,
int outNum,
int gradNum)
This functions extracts feature channels from src.
|
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public RFFeatureGetter(Pointer p)
Pointer.Pointer(Pointer)
.public void getFeatures(@Const @ByRef Mat src, @ByRef Mat features, int gnrmRad, int gsmthRad, int shrink, int outNum, int gradNum)
src
- : source image to extract featuresfeatures
- : output n-channel floating point feature matrix.gnrmRad
- : __rf.options.gradientNormalizationRadiusgsmthRad
- : __rf.options.gradientSmoothingRadiusshrink
- : __rf.options.shrinkNumberoutNum
- : __rf.options.numberOfOutputChannelsgradNum
- : __rf.options.numberOfGradientOrientationsCopyright © 2020. All rights reserved.