The mean gray value of an image or object within an image can be determined as a measure of brightness. Color values of the pixels can be converted to corresponding gray values. Black has the lowest intensity and white the highest.
Gray value determination with image processing
