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, save
public 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 imageGenerated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2