Paul,
like this (written after a short test):
Double click on Background Layer to make it editable.
Magic Wand, Tolerance 10 (of 255), Not Contiguous.
Eventually draw small white and a black rectangles.
Click on white pixels. Clear (Delete).
Click on black pixels. Clear (Delete).
Clear means transparent. These pixels don’t count.
Windows > Histogram.
Statistical values are indicated. You should read the
help text about Cache.
If necessary, the method how to exclude highest and
lowest values can be applied to channels.
Best regards –Gernot Hoffmann
You can use Filter-Blur-Average to get the colours blurred into a swatch representing the overall average colour, and can view the RGB value in the Info palette. Use Gernot’s method above to exclude the values you don’t want. Note that the Blur-Average filter was only introduced with Photoshop CS, so if you are using version 7 or earlier, you won’t have it.
I had considered the Blur Average filter, but I was concerned that it was doing precisely what it says it is doing.
Gernot, do you think I can write an action to lift out those thresholds? I am pretty savvy with actions, but not sure if I can make this one work.
Paul
Paul,
sorry, I’m not familiar with actions.
Why should one use Blur Filter Average instead
of the calculations in Histogram ?
Best regards –Gernot Hoffmann
Average calculates a mathematical average for each channel, and its exactly what you want: You can combine two threshold adjustments into a mask to wipe out the top and bottom 10 values creating your initial selection – then run the Average filter on the remaining pixels.
Its possible to do all of this with an action, and wipes out the need for any complex manual calculation, unless of course you WANT to make life difficult for yourself
Thank Gernot, I think I have worked out an action:
1-turn background into a layer
2-use colour range to select shadows and highlight
3-delete selected
4-read histogram average (not sure how to output this number though)
Thanks for your help guys,
Paul