public class ImgHashBase extends Algorithm
| Modifier | Constructor and Description |
|---|---|
protected |
ImgHashBase(long addr) |
| Modifier and Type | Method and Description |
|---|---|
static ImgHashBase |
__fromPtr__(long addr) |
double |
compare(Mat hashOne,
Mat hashTwo)
Compare the hash value between inOne and inTwo
|
void |
compute(Mat inputArr,
Mat outputArr)
Computes hash of the input image
|
protected void |
finalize() |
clear, empty, getDefaultName, getNativeObjAddr, savepublic static ImgHashBase __fromPtr__(long addr)
public double compare(Mat hashOne, Mat hashTwo)
hashOne - Hash value onehashTwo - Hash value twopublic void compute(Mat inputArr, Mat outputArr)
inputArr - input image want to compute hash valueoutputArr - hash of the imageCopyright © 2020. All rights reserved.