0% found this document useful (0 votes)
13 views4 pages

Resolution Examples

The document explains the concepts of resolution and aspect ratio in relation to images, detailing how resolution is defined by the number of pixels displayed and aspect ratio by the ratio of width to height. It includes examples and exercises to compute image dimensions and resolutions based on given pixel densities and aspect ratios. Additionally, it provides calculations for resizing images while maintaining aspect ratios and determining pixel coordinates for sub-images.

Uploaded by

h9179624
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

Resolution Examples

The document explains the concepts of resolution and aspect ratio in relation to images, detailing how resolution is defined by the number of pixels displayed and aspect ratio by the ratio of width to height. It includes examples and exercises to compute image dimensions and resolutions based on given pixel densities and aspect ratios. Additionally, it provides calculations for resizing images while maintaining aspect ratios and determining pixel coordinates for sub-images.

Uploaded by

h9179624
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy