Packages

object PHash

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PHash
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type DCTHash = Long
  2. type MarrHash = Array[Int]
  3. type RadialHash = Array[Int]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. 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

  7. def dctHashDistance(hash1: DCTHash, hash2: DCTHash): Long

    Computes distance between two DCT hashes Less is better

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. 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

  15. def marrHashDistance(hash1: MarrHash, hash2: MarrHash): Option[Double]

    Computes distance between two Marr hashes Less is better

  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. 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

  20. def radialHashDistance(hash1: RadialHash, hash2: RadialHash): Double

    Computes distance between two Radial hashes More is better

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. 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

  24. 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

  25. 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

  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped