Question #1: [CLO2, C3] (3+3+4) a) Read image spine.tif, take its complement and save it for further use. Now, apply ima
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question #1: [CLO2, C3] (3+3+4) a) Read image spine.tif, take its complement and save it for further use. Now, apply ima
SOFTWARE USED: MATLAB
SOLVE EACH TASK SEPRATELY WITH OUTPUT
Question #1: [CLO2, C3] (3+3+4) a) Read image spine.tif, take its complement and save it for further use. Now, apply imadjust on the complemented image with different values of gamma and show all the figures on the same plot and display a suitable title on each figure including the value of gamma on top of each figure. b) Write a script file 'gammatransform.m' which takes image from user as input and plots four images on first row of figure (use output figure window of order 2x4) for different values of c (constant) and keeping the same value of gamma and four images on the second row of figure for different values of gamma and keeping the same value of c (constant). It should also display the value of gamma and c (constant) on top of each image. c) Write a code using function M-file (give any name) which should accept the image file as input argument and take negative transform of the image and also apply logarithmic transform on the image and return both images as output on the first row (use output figure window order of 3x2) and should show the rotated view of logarithmic transformed image in four images on the next two rows of figure where the images should be 90 degree rotated compared to previous images. Note: Student Name, Registration Number and Session should be included in each code/figure file.