Photoshop histogram mean value != IM mean value
Posted: 2010-08-12T07:29:29-07:00
Hi, on another thread, FMW has helped with a script that converts an image to grayscale and appends the mean value of gray to the filename, but when i compare this mean value with one in photoshop's histogram tab, they do not match.
I've been using this page as reference: http://kb2.adobe.com/cps/315/315207.html that mentions how to convert levels to % and backwards. I'm plugging the number from photoshop but nothing is matching. Any input please?
Level = 256 - [(256)(P)/100]
IM %: 11.2288
Calculated level: 227.254272
Percentage = .390625(256 - L)
photoshop mean: 28.64
Calculated %: 88.8125
I've been using this page as reference: http://kb2.adobe.com/cps/315/315207.html that mentions how to convert levels to % and backwards. I'm plugging the number from photoshop but nothing is matching. Any input please?
Level = 256 - [(256)(P)/100]
IM %: 11.2288
Calculated level: 227.254272
Percentage = .390625(256 - L)
photoshop mean: 28.64
Calculated %: 88.8125