Talk:Percentage difference between images: Difference between revisions

Line 42:
: I wondered about this. It's okay as a simple benchmark / test I guess.
:: I actually liked the example (REBOL) that produced the differenced image. That would have been a bit more interesting. Unfortunately the author didn't explain what the code that's enhancing the contrast is doing at the pixel level so not too many of us could actually repeat it if we had to code it --[[User:Dgamey|Dgamey]] 22:12, 1 September 2011 (UTC)
::: Simpliest way to do contrast is find min and max pixel values, then rescale all colors such that min is 0 and max is 1 (or 255). If you want to be fancier, you can also gamma correct it, which is a little questionable. --[[User:Ledrug|Ledrug]] 02:10, 2 September 2011 (UTC)
Anonymous user