Add random information when scaling up images below camera precision. Each pixel is added a random value +-(upscale / 2). Effectively this makes sure that pixel values below the sensor resolution/camera compression model is random. Simply said, when upscaling 12 to 16 bits, this means the last 4 bits are random instead of simply 0. This should avoid banding and similar artifacts on heavy processed images.
Add random information when scaling up images below camera precision. Each pixel is added a random value +-(upscale / 2). Effectively this makes sure that pixel values below the sensor resolution/camera compression model is random. Simply said, when upscaling 12 to 16 bits, this means the last 4 bits are random instead of simply 0. This should avoid banding and similar artifacts on heavy processed images.

darktable-org/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,darktable-org/rawspeed,mgehre/rawspeed,klauspost/rawspeed,anarsoul/rawspeed,klauspost/rawspeed,anarsoul/rawspeed,LebedevRI/rawspeed,anarsoul/rawspeed,mgehre/rawspeed,darktable-org/rawspeed,darktable-org/rawspeed,LebedevRI/rawspeed,LebedevRI/rawspeed,LebedevRI/rawspeed