-- Dec 6 In-Class Exercise Thread
calculate Xbar.
(each pixel has a value of <1,0,0> or <0,1,0> or <0,0,1>. sum these up, and divide by 1/(3*r*c) = 9/27= 1/3
calculate std dev. the 3rd term will always evaluate to (1-1/3)^2+ (-1/3)^2 + (-1/3)^2 no matter which pixel we are looking at = 2/3.
multiplied by number of cells 9, divided by 1/(3*r*c) = (2/3)*9 * 1/(3*3*3) = 2/9
constrast = sqrt(2/9)
both images are the same, because each pixel still has the form of <1,0,0>. THe contrast is a measure between the brightest and darkest pixels. which in the two images are the same.
(
Edited: 2017-12-06)
calculate Xbar.
(each pixel has a value of <1,0,0> or <0,1,0> or <0,0,1>. sum these up, and divide by 1/(3*r*c) = 9/27= 1/3
calculate std dev. the 3rd term will always evaluate to (1-1/3)^2+ (-1/3)^2 + (-1/3)^2 no matter which pixel we are looking at = 2/3.
multiplied by number of cells 9, divided by 1/(3*r*c) = (2/3)*9 * 1/(3*3*3) = 2/9
constrast = sqrt(2/9)
both images are the same, because each pixel still has the form of <1,0,0>. THe contrast is a measure between the brightest and darkest pixels. which in the two images are the same.