Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MatLab is required Task 1 [5+15 Marks] The range of intensity values of an image f is [lf,hj], where lf and hf are its lowest

MatLab is required
image text in transcribed
Task 1 [5+15 Marks] The range of intensity values of an image f is [lf,hj], 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 [l/,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 [0 255]. 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 [0 255]. 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Master The Art Of Data Storytelling With Visualizations

Authors: Alexander N Donovan

1st Edition

B0CNMD9QRD, 979-8867864248

More Books

Students also viewed these Databases questions

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago