UNIT I
1. If we want to resize a 1024 x768 image to one that is 640 pixels wide with the same aspect ratio. What would be the height of the resized image?
2. If we want to cut a 512x512 subimage out from the centre of an 800x600 image, what are the coordinates of the pixel in the large image that is at the lower left corner of the small image?
3. Find the CMY coordinates of a color at (0.2,1,0.5) in the RGB space
4. If we use direct coding of RGB values with 10bits per primary color, how many possible colors do we have for each pixel?
5. Write a pseudo code to draw a rectangular area of w x h (in number of pixels) that starts at (x,y) using color rgb
6. Write a pseudo code to reset every pixel in an image that is in the 24-bit 256 entry lookup table representation to its complementary color
7. Consider three different raster systems with resolution of 640 by 480, 1280 by 1024 and 2560 by 2048. What size frame buffer (in bytes) is needed for each of these systems to store 12 bits per pixel? How much storage is required for each system if 24 bits per pixel are to be stored?
8. How long would it take to load a 640 by 480 frame buffer with 12 bits per pixel, if 105 bits can be transferred per second?
9. How long would it take to load a 24 bit per pixel frame buffer with a resolution of 1280 by 1024 using 105 transfer rate?
10. How much time is spent scanning across each row of pixels during screen refresh on a raster system with a resolution of 1280 by 1024 and a refresh rate of 60 frames per second?