Question

4. Given a 512 x 512 image, calculate the number of bytes required for its pixelstorage for (5point) a) A grey scale image of 256 grey levels. b) A true color image of three bytes per pixel.

Fig: 1

Fig: 2

Fig: 3