Pixels processed as packed colors in long values, in the order: red, green, blue. Blue uses the least significant bits.
Logarithm used: natural (base e).
No. decimals preserved: none.
Subject: Towa Tokoyami (Hololive JP)
Pixels processed as packed colors in long values, in the order: green, blue, red. Red uses the least significant bits.
Logarithm used: base 32.
No. decimals preserved: 15.
Subject: Towa Tokoyami (Hololive JP)
Pixels processed per channel (each primary color separately).
Logarithm used: base 16.
No. decimals preserved: 1.
Subject: Towa Tokoyami (Hololive JP)
Pixels processed as packed colors in long values, in the order: red, green, blue. Blue uses the least significant bits.
Logarithm used: base 10.
No. decimals preserved: 1.
Subject: Towa Tokoyami (Hololive JP)
Experimenting with images and logarithms.
Process each pixel of an image, either by channel or as a packed long: get its logarithm, round to a certain no. of decimals, and revert back.
(1/2) Source below.
#python #pillow #numpy #images #colors #transformations #logarithms #computing