|
|
|
|
|
by klodolph
10 days ago
|
|
> Why not scale to fill the available bins, though? i.e. trunc(result * 255.999)? That’s half of the mid-riser staircase quantizer discussed in the article. (The other half is coming up with the reverse.) (I would implement it as min(floor(x * 256), 255).) |
|
Possibly my proposal doesn’t hold up to repeated transforms and operations. It might skew toward 255 in real operations.