How to calculate the output pixels when shrinking a 2x2 region.
use the maximum
use the average
use the median
use the minimum
use the mode
use the top-left pixel
How to calculate the output pixels when shrinking a 2x2 region.