RESOLUTION AND ASPECT RATIO
RESOLUTION: The maximum number of points that can be displayed without overlap on a
CRT is referred to as the resolution.
• It is usually given as the number of horizontal points versus the number of vertical points
   these are called pixels (picture elements),
• e.g. a monitor might have a resolution of 1024 X 768 pixels.
ASPECT RATIO: The ratio of vertical points to the horizontal points necessary to produce
equal length lines in both directions on the screen is called the aspect ratio.
• Example: If monitor is of size 8*6 inch and having resolution of 640 X 480 pixels, then
• Number of pixels in Horizontal = 640/8 =80 pixels/inch
• Number of pixels in Vertical = 480/6 =80 pixels/inch
• So, the no. of pixels (in sq unit area) are same in Hz and Vr.
                                    S. S. Bedi, MJP Rohilkhand University
                            EXERCISE
Q.1 What is the resolution of an image?
Ans. The number of pixels per unit length in the horizontal as well
as vertical direction.
Q.2 Computes the size of a 640x480 image at 240 pixels per inch.
Ans. Height of the image (in inch) = 640/240 = 2.6666 inch
    Width of the image (in inch) = 480/240 = 2 inch.
     Size of the image (in inch) = H x W = 2.6666x2
Q.3 Compute the resolution (512X512) of an image of 2x2 inch.
Ans. Image that has 512x512 pixels.
      resolution =512/2 = 256 pixels per inch.
Q.4. What is an image aspect ratio?
Ans. The ratio of its width to its height, measured in unit length
or number of pixels.
Aspect Ratio = Width/Height
                            S. S. Bedi, MJP Rohilkhand University
Q.5. If an image has a height of 2 inches and an aspect ratio of 1.5.
Calculate the width of an image.
Ans.         Aspect Ratio = Width/Height;
                     1.5 = Width / 2;
                     Width = 1.5 x 2 = 3 inches.
Q.6. If we want to resize a 1024x768 image to one that is 640 pixels
wide with the same aspect ratio, what would be the height of the
resized image?
Ans. Aspect ratio       = Width / Height;
        Aspect Ratio of Image1 = Aspect Ratio of Image2
       Width1/Height1 = Width2/Height2;
             1024/768 = 640/Height2
              Height2 = 640 x (768/1024)
                        = 480 pixels
                         S. S. Bedi, MJP Rohilkhand University
Q.7 If we want to cut a 512x512 sub-image out from the centre of an
800x600 images, what are the coordinates of the pixel in the large
image that is the lower left corner of the small image?
Ans. X = 800 – (512/2) = 144;
     Y = 600 – (512/2) = 44;
     Coordinates = (144, 44);
                        S. S. Bedi, MJP Rohilkhand University