@Namespace(value="cv::img_hash") @NoOffset @Properties(inherit=opencv_img_hash.class) public class ImgHashBase extends Algorithm
/** \brief The base class for image hash algorithms
| Modifier and Type | Class and Description |
|---|---|
static class |
ImgHashBase.ImgHashImpl |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ImgHashBase(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
compare(GpuMat hashOne,
GpuMat hashTwo) |
double |
compare(Mat hashOne,
Mat hashTwo)
\brief Compare the hash value between inOne and inTwo
|
double |
compare(UMat hashOne,
UMat hashTwo) |
void |
compute(GpuMat inputArr,
GpuMat outputArr) |
void |
compute(Mat inputArr,
Mat outputArr)
\brief Computes hash of the input image
|
void |
compute(UMat inputArr,
UMat outputArr) |
clear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, 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, zeropublic ImgHashBase(Pointer p)
Pointer.Pointer(Pointer).public void compute(@ByVal Mat inputArr, @ByVal Mat outputArr)
inputArr - input image want to compute hash valueoutputArr - hash of the imagepublic double compare(@ByVal Mat hashOne, @ByVal Mat hashTwo)
hashOne - Hash value onehashTwo - Hash value twoCopyright © 2020. All rights reserved.