java.lang.Object
imagingbook.common.noise.hashing.Hash32
imagingbook.common.noise.hashing.Hash32Ward
- All Implemented Interfaces:
HashFunction
Hash function proposed by G Ward in [1]. See [2] for details.
[1] G. Ward, "A recursive implementation of the Perlin noise function", Graphics Gems II (1991).
[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.Hash32Ward
(int seed) Constructor creating a hash function with the specified seed value. -
Method Summary
-
Constructor Details
-
Hash32Ward
public Hash32Ward()Constructor, creates a hash function with a random seed value. -
Hash32Ward
Constructor creating a hash function with the specified seed value.- Parameters:
seed
- the random seed value (set to 0 use a random seed value).
-
-
Method Details
-
main
-