object PHash
- Alphabetic
- By Inheritance
- PHash
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
dctHash(image: BufferedImage): Either[Throwable, DCTHash]
Computes DCT hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 21)
Computes DCT hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 21)
- image
image for hashing
- returns
64-bit hash value or exception
-
def
dctHashDistance(hash1: DCTHash, hash2: DCTHash): Long
Computes distance between two DCT hashes Less is better
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
marrHash(image: BufferedImage, alpha: Int = 2, level: Int = 1): Either[Throwable, MarrHash]
Computes Marr hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 22)
Computes Marr hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 22)
- image
image for hashing
- alpha
coefficient for correlation kernel
- level
coefficient for correlation kernel
- returns
hash as int array or exception
-
def
marrHashDistance(hash1: MarrHash, hash2: MarrHash): Option[Double]
Computes distance between two Marr hashes Less is better
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
radialHash(image: BufferedImage, projectionsCount: Int = 180): Either[Throwable, RadialHash]
Computes Radial hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 24)
Computes Radial hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 24)
- image
image for hashing
- projectionsCount
number of projections to compute
- returns
hash as int array or exception
-
def
radialHashDistance(hash1: RadialHash, hash2: RadialHash): Double
Computes distance between two Radial hashes More is better
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsafeDctHash(image: BufferedImage): DCTHash
Computes DCT hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 21)
Computes DCT hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 21)
- image
image for hashing
- returns
64-bit hash value
-
def
unsafeMarrHash(image: BufferedImage, alpha: Int = 2, level: Int = 1): MarrHash
Computes Marr hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 22)
Computes Marr hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 22)
- image
image for hashing
- alpha
coefficient for correlation kernel
- level
coefficient for correlation kernel
- returns
hash as int array
-
def
unsafeRadialHash(image: BufferedImage, projectionsCount: Int = 180): RadialHash
Computes Radial hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 24)
Computes Radial hash value of image (http://www.phash.org/docs/pubs/thesis_zauner.pdf / page 24)
- image
image for hashing
- projectionsCount
number of projections to compute
- returns
hash as int array
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )