Theoretical correct Gaussian noise image? #19
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Would like to view these images without a not zero offset.
How to clip between 0 and 255?
Current approach consists in generating all the images we are interested in and then normalize to have the best realistic contrast by linear transformation. However, to avoid not zero offset, I possibly move away from theoretical correct approach by taking maximum between the actual pixel value and 0. Maybe taking the absolute pixel, thanks to
np.abs
, value would make more sense.Working only with
float
s:Let us try float image rendering, possibly with unwanted color scales.
PIL with
float
s keep them but seem to interprete them when rendering between 0 and 255.mode
https://pillow.readthedocs.io/en/latest/handbook/concepts.html#modes