Question: can you solve task one and tow please Task 1 [5+15 Marks] The range of intensity values of an image f is [lf,h], where lf

can you solve task one and tow please
can you solve task one and tow please Task 1 [5+15 Marks]

Task 1 [5+15 Marks] The range of intensity values of an image f is [lf,h], where lf and hf are its lowest and the highest intensity values. It is required to transform f into another image g, which has the intensity values in the range [lg,hg], where lg and hg are its lowest and highest intensity values. (i) Formulate a linear intensity transformation g=T(f), that transforms f into g. (ii) Implement this intensity transformation as MATLAB function with the following specification: Function: TransformRange INPUT: - Input image f, - the gray level range [ll,h] of f - the gray level range [l,h] of output image g INPUT: - Output image g (iii) Test the function it on the given image (contrastEnhancment.png) so that the range of its values is in the range [ 0255 25. Show the image before and after transformation. Task 2 [5+15 Marks] Read an image f and perform the following operations: 1. Apply log transform on the input image f, and display the image before and after the transform. 2. First apply the function TransformRange (Task 1) on the input image f and transform its range to [01], then apply log transform and again apply the function TransformRange (Task 1) to transform the range of the image to [ 0255 ]. Display the image before and after the transform. 3. Compare the results of step 1 and 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!