@Namespace(value="cv") @Properties(inherit=opencv_features2d.class) public class AffineFeature extends Feature2D
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
AffineFeature(Algorithm pointer)
Downcast constructor.
|
AffineFeature(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static AffineFeature |
create(Feature2D backend) |
static AffineFeature |
create(Feature2D backend,
int maxTilt,
int minTilt,
float tiltStep,
float rotateStepBase) |
BytePointer |
getDefaultName()
Returns the algorithm string identifier.
|
void |
getViewParams(float[] tilts,
float[] rolls) |
void |
getViewParams(FloatBuffer tilts,
FloatBuffer rolls) |
void |
getViewParams(FloatPointer tilts,
FloatPointer rolls) |
void |
setViewParams(float[] tilts,
float[] rolls) |
void |
setViewParams(FloatBuffer tilts,
FloatBuffer rolls) |
void |
setViewParams(FloatPointer tilts,
FloatPointer rolls) |
asAlgorithm, asAlgorithm, compute, compute, compute, compute, compute, compute, defaultNorm, descriptorSize, descriptorType, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detect, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, detectAndCompute, empty, getPointer, position, read, read, read, write, write, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic AffineFeature(Pointer p)
Pointer(Pointer).public AffineFeature(Algorithm pointer)
@opencv_core.Ptr public static AffineFeature create(@opencv_core.Ptr Feature2D backend, int maxTilt, int minTilt, float tiltStep, float rotateStepBase)
backend - The detector/extractor you want to use as backend.maxTilt - The highest power index of tilt factor. 5 is used in the paper as tilt sampling range n.minTilt - The lowest power index of tilt factor. 0 is used in the paper.tiltStep - Tilt sampling step \delta_t in Algorithm 1 in the paper.rotateStepBase - Rotation sampling step factor b in Algorithm 1 in the paper.@opencv_core.Ptr public static AffineFeature create(@opencv_core.Ptr Feature2D backend)
public void setViewParams(@StdVector FloatPointer tilts, @StdVector FloatPointer rolls)
public void setViewParams(@StdVector FloatBuffer tilts, @StdVector FloatBuffer rolls)
public void setViewParams(@StdVector float[] tilts, @StdVector float[] rolls)
public void getViewParams(@StdVector FloatPointer tilts, @StdVector FloatPointer rolls)
public void getViewParams(@StdVector FloatBuffer tilts, @StdVector FloatBuffer rolls)
public void getViewParams(@StdVector float[] tilts, @StdVector float[] rolls)
@opencv_core.Str public BytePointer getDefaultName()
AlgorithmgetDefaultName in class Feature2DCopyright © 2025. All rights reserved.