|
|
|
|
|
by andrewcooke
4392 days ago
|
|
you want mode, not median. there's no reason to think that the background is close to the median colour. that's kinda the whole point of the article... (median works well if you have symmetrically distributed noise, which is true when denoising astronomy photos, for example, but not here). |
|
(Another problem with mode is that you'd have to posterize the image to ensure that shifting light, noise and camera movement don't cause the values of background pixels to vary slightly. Mode is much more brittle in that respect.)
If I recall correctly, Lightroom / Photoshop has a handy "median" filter, but no mode filter, which is why the popular method uses median.