grayscale RMS
Posted: 2013-04-08T20:51:07-07:00
http://www.imagemagick.org/script/comma ... #grayscale says the formula for "-colorspace gray" is "(R'^2 + G'^2 + B'^2) / 3.0".
I trust that is incorrect, and the formula is really "sqrt ((R'^2 + G'^2 + B'^2) / 3.0)".
If the documentation is correct, then the name is misleading, as the result wouldn't be the Root Mean Square.
It would be helpful if the documentation explained the difference between eg R and R'.
I trust that is incorrect, and the formula is really "sqrt ((R'^2 + G'^2 + B'^2) / 3.0)".
If the documentation is correct, then the name is misleading, as the result wouldn't be the Root Mean Square.
It would be helpful if the documentation explained the difference between eg R and R'.