Package org.opencv.img_hash
Class PHash
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.img_hash.ImgHashBase
-
- org.opencv.img_hash.PHash
-
public class PHash extends ImgHashBase
pHash Slower than average_hash, but tolerant of minor modifications This algorithm can combat more variation than averageHash, for more details please refer to CITE: lookslikeit
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PHash(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PHash
__fromPtr__(long addr)
static PHash
create()
protected void
finalize()
-
Methods inherited from class org.opencv.img_hash.ImgHashBase
compare, compute
-
Methods inherited from class org.opencv.core.Algorithm
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
Method Detail
-
__fromPtr__
public static PHash __fromPtr__(long addr)
-
create
public static PHash create()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classImgHashBase
- Throws:
java.lang.Throwable
-
-