-intensity documentation
Posted: 2017-11-30T09:18:32-07:00
The page http://www.imagemagick.org/script/comma ... #intensity says:
This is wrong, as "-colorspace gray" uses the Rec709Luma formula. It always has. This can be shown:Typically the linear Rec709Luminance formula is used, which is the same formula used when converting images to -colorspace gray.
Code: Select all
f:\web\im>%IMG7%magick ( toes.png -colorspace Gray ) ( toes.png -grayscale Rec709Luma ) -metric RMSE -format %[distortion] -compare info:
0
f:\web\im>%IMG7%magick ( toes.png -colorspace Gray ) ( toes.png -grayscale Rec709Luminance ) -metric RMSE -format %[distortion] -compare info:
0.261518