@Namespace(value="cv::img_hash") @NoOffset public static class opencv_img_hash.ImgHashBase extends opencv_core.Algorithm
/** \brief The base class for image hash algorithms
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_img_hash.ImgHashBase.ImgHashImpl |
| Constructor and Description |
|---|
ImgHashBase(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
compare(opencv_core.GpuMat hashOne,
opencv_core.GpuMat hashTwo) |
double |
compare(opencv_core.Mat hashOne,
opencv_core.Mat hashTwo)
\brief Compare the hash value between inOne and inTwo
|
double |
compare(opencv_core.UMat hashOne,
opencv_core.UMat hashTwo) |
void |
compute(opencv_core.GpuMat inputArr,
opencv_core.GpuMat outputArr) |
void |
compute(opencv_core.Mat inputArr,
opencv_core.Mat outputArr)
\brief Computes hash of the input image
|
void |
compute(opencv_core.UMat inputArr,
opencv_core.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, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic ImgHashBase(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public void compute(@ByVal
opencv_core.Mat inputArr,
@ByVal
opencv_core.Mat outputArr)
inputArr - input image want to compute hash valueoutputArr - hash of the imagepublic void compute(@ByVal
opencv_core.UMat inputArr,
@ByVal
opencv_core.UMat outputArr)
public void compute(@ByVal
opencv_core.GpuMat inputArr,
@ByVal
opencv_core.GpuMat outputArr)
public double compare(@ByVal
opencv_core.Mat hashOne,
@ByVal
opencv_core.Mat hashTwo)
hashOne - Hash value onehashTwo - Hash value twopublic double compare(@ByVal
opencv_core.UMat hashOne,
@ByVal
opencv_core.UMat hashTwo)
public double compare(@ByVal
opencv_core.GpuMat hashOne,
@ByVal
opencv_core.GpuMat hashTwo)
Copyright © 2018. All rights reserved.