Question: Take a 2 x 2 window ( starting from the upper - left corner of the image ) and sum all the red, green, and
Take a x window starting from the upperleft corner of the image and sum all the red, green, and blue values separately for all the pixels in that window. In a by window, there will be a total of pixels for which to sum the three separate channels.
Take the sum found for each channel of all the pixels in the window and divide them by
Set the red, green, and blue values of the topleftmost pixel of the by window to be the value calculated from #
Perform this on the entire image moving the x window by one pixel each time from lefttoright and toptobottom where topmost will be row and leftmost is column
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
