java.lang.Object
imagingbook.common.noise.hashing.Hash32
imagingbook.common.noise.hashing.Hash32Shift
- All Implemented Interfaces:
HashFunction
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 Summary
ConstructorsConstructorDescriptionConstructor, creates a hash function with a random seed value.Hash32Shift
(int seed) Constructor creating a hash function with the specified seed value. -
Method Summary
-
Constructor Details
-
Hash32Shift
public Hash32Shift()Constructor, creates a hash function with a random seed value. -
Hash32Shift
Constructor creating a hash function with the specified seed value.- Parameters:
seed
- the random seed value (set to 0 use a random seed value).
-