DIGITAL IMAGE PROCESSING
DIP
معالجة الصورة الرقمية
LEC (4)
PART -A
IMAGE ZOOMING & SHRINKING
د.زينب محمود عمر
1
7/9/2021
���IMAGE RESOLUTION
Resolution refers to the number of pixels in an image. Resolution is sometimes identified by the width and height of the image as well as the total number of pixels in the image.
For example, an image that is 2048 pixels wide and 1536 pixels high (2048 x 1536) contains (multiply) 3,145,728 pixels (or 3.1 Megapixels).
2
7/9/2021
Below is an illustration of how the same image might appear at different pixel resolutions, if the pixels were poorly rendered as sharp squares (normally, a smooth image reconstruction from pixels would be preferred, but for illustration of pixels, the sharp squares make the point better).
3
7/9/2021
4
7/9/2021
5
7/9/2021
Zooming and shrinking digital image
Zooming requires two steps:
1. Creation of new pixels locations.
2. Assignment of gray levels to those locations.
6
7/9/2021
7
7/9/2021
8
7/9/2021
2. Bilinear interpolation�
9
7/9/2021
10
7/9/2021
11
7/9/2021
12
7/9/2021
IMAGE SHRINKING
13
7/9/2021
SOLUTION
14
7/9/2021