Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you solve just coeding without common Task 1 [5+15 Marks] The range of intensity values of an image f is [lf,h], where lf and

can you solve just coeding without common
image text in transcribed
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

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Define the term Working Capital Gap.

Answered: 1 week ago