Class Hash32ShiftMult

java.lang.Object
imagingbook.common.noise.hashing.Hash32
imagingbook.common.noise.hashing.Hash32ShiftMult
All Implemented Interfaces:
HashFunction

public class Hash32ShiftMult extends Hash32

Integer hash function proposed by Thomas Wang in [1]. See [2] for details.

[1] Thomas Wang, "Integer Hash Function", http://www.concentric.net/~Ttwang/tech/inthash.htm (Jan. 2007).
[2] W. Burger, M.J. Burge, Principles of Digital Image Processing – Advanced Methods (Vol. 3), Supplementary Chapter 8: "Synthetic Gradient Noise", Springer (2013). https://dx.doi.org/10.13140/RG.2.1.3427.7284

Version:
2022/11/24
  • Constructor Details

    • Hash32ShiftMult

      public Hash32ShiftMult()
      Constructor, creates a hash function with a random seed value.
    • Hash32ShiftMult

      public Hash32ShiftMult(int seed)
      Constructor creating a hash function with the specified seed value.
      Parameters:
      seed - the random seed value (set to 0 use a random seed value).