ﺳﺪﻨﻬﻣ ﻩﺪﻜﺸﻧاد ﯽ ﭙﻣﺎﮐ و قﺮﺑ ﻴ ﺮﺗﻮ – ﻩﺪﮑﺸﻧاد ﺲﻳدﺮﭘ ﺎه ﯼ ﻨﻓ ﯽ-ناﺮﻬﺗ ﻩﺎﮕﺸﻧاد اﺪﺧ مﺎﻧ ﻪﺑ ﻦﻳﺮﻤﺗ ﺎه ﯼ سرد ﯽﻳﺎﻨﻴﺑ ﻦﻴﺷﺎﻣ-ﺮﺳ ﯼ لوا ﺪﻋﻮﻣ مﺎﺠﻧا : ١۶ نﺎﺑﺁ ١٣٨٨ 1) Zooming and Shrinking Images by Bilinear and Cubic Interpolation (a) Write a computer program capable of zooming and shrinking an image by bilinear and cubic interpolations. The input to your program is the desired size of the resulting image in the horizontal and vertical direction (b) Download Fig. 2.19(a) and use your program to shrink this image from 1024 x 1024 to 256 x 256 pixels. (c) Use your program to zoom the image in (b) back to 1024 x 1024. Explain the reasons for their differences. 2) Histogram Equalization (a) Write a computer program for computing the histogram of an image. (b)
This is the end of the preview.
access the rest of the document.