Partition an image into 4 × 4 pixel blocks and
compute average for the block
N1 = N2 = 4xi = ith pixel
now replace the values to 1 and zero to create a bitmap image.
Without using for loop, how can i write these 2 equations in simple code
Best Answer