Question: Specs of input image: HEIGHT == 400, WIDTH == 600 IIIE EI (a) Original Image (b) Shuffled Image Figure 5: An image and its shuffled

Specs of input image: HEIGHT == 400, WIDTH == 600
IIIE EI (a) Original Image (b) Shuffled Image Figure 5: An image and its shuffled counterpart. Shuffling works this way: Divide the image into 16 equally sized image blocks. Then randomly choose a pair of image blocks and swap it's R, G and B values. Repeat choosing and swapping process until all image blocks are swapped. Note that on each run, shuffle should produce a different image. You need to define and implement the following function to do this DIP /Shuffle an image *,/ void Shuffle (unsigned char R[WIDTH] [HEIGHT], unsigned char G[WIDTH] [HEIGHT], unsigned char B[WIDTH] [HEIGHT])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
