The Image The pixels in the image The mask The resulting image 255 X The Image The pixels in the image X 1/3 The mask The resulting image
The Image The pixels in the image The mask The resulting image 255 170 1/3 The Image The pixels in the image 170 X 0 x 255 + 1/3 x 255 + 0 x 255 + 0 x 0 + 1/3 x 0 + 0 x 0 = 170 The mask The resulting image
The Image The pixels in the image The mask The resulting image 255 170 1/3 The Image The pixels in the image 170 85 X 0 x 255 + 1/3 x 255 + 0 x 255 + 0 x 0 + 1/3 x 0 + 0 x 0 + 0 x 255 + 1/3 x 255 + 0 x 255 = 85 The mask The resulting image
The Image The pixels in the image The mask The resulting image 255 170 1/3 The Image The pixels in the image 170 85 0 x 0 + 1/3 x 0+ 0 x 0+ 0 x 0+ 1/3 x 0+ 0 x 0+ 0 x 255+ 1/3 x 255+ 0 x 255= 85 The mask The resulting image