@Namespace(value="cv") @Properties(inherit=opencv_core.class) public class Hamming extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
normType |
Constructor and Description |
---|
Hamming()
Default native constructor.
|
Hamming(long size)
Native array allocator.
|
Hamming(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
apply(byte[] a,
byte[] b,
int size) |
int |
apply(ByteBuffer a,
ByteBuffer b,
int size) |
int |
apply(BytePointer a,
BytePointer b,
int size)
this will count the bits in a ^ b
|
Hamming |
getPointer(long i) |
static int |
normType() |
Hamming |
position(long position) |
address, 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, zero
public Hamming()
public Hamming(long size)
Pointer.position(long)
.public Hamming(Pointer p)
Pointer(Pointer)
.public Hamming getPointer(long i)
getPointer
in class Pointer
@MemberGetter @Cast(value="const cv::NormTypes") public static int normType()
@Cast(value="cv::Hamming::ResultType") @Name(value="operator ()") public int apply(@Cast(value="const unsigned char*") BytePointer a, @Cast(value="const unsigned char*") BytePointer b, int size)
@Cast(value="cv::Hamming::ResultType") @Name(value="operator ()") public int apply(@Cast(value="const unsigned char*") ByteBuffer a, @Cast(value="const unsigned char*") ByteBuffer b, int size)
Copyright © 2024. All rights reserved.