Image enhancement, Electrical Engineering

Assignment Help:

Explain briefly the operation, draw the functions, formulas and observations.

(i) Write an m-file "imnorm.m" which takes an image finds min and max values and uses them to normalize the image.

What kind of image enhancement operation is performed within that function? Draw an illustration.

Write an m-file for each of the following operations:
(ii) compute negative image (neg.m)

(iii) apply power law transform with a superscript 0.2 (powlaw.m)

(iv) perform histogram equalization of an image (hist_eq.m)
           it should display 5 figures:
                        the input image and its histogram
                        the integral histogram
                        the output image and its histogram
            the following function will give you a histogram of pixel values between 0 and 255
            h=sum(hist(im,[0:255])'); %help hist; help sum;
      stem(h,'.k');

function imh=hist_eq(im);
figure(1);
imshow(?);

h=?
figure(2)
stem(?);

% compute integral image
hint=h;
for i=2:256           
hint(i)=hint(i-1)+h(i);
end

hint=255*hint/hint(end); %normalize the integral histogram to have values between 0 and 255
figure(3)
stem(?);

imh=hint(im);%modify pixel intensities
imh=uint8(imh);%normalize to byte values
figure(4)
imshow(?)

h=?
figure(5)
stem(?);

What histogram equalization does? What should be the shape of the output histogram? Why it isn't?


Related Discussions:- Image enhancement

Sketch the labelled frequency response, Question: (a) Consider the foll...

Question: (a) Consider the following RC admittance function: (i) If the function is to be realised using the Cauer II Form, find the values of the different components

Regulation so significant, How does the ITU make sure compatibility among t...

How does the ITU make sure compatibility among the Radio systems used in dissimilar countries?  Why is regulation so significant?

Determine the kva rating of the synchronous motor, An induction motor takes...

An induction motor takes 350 kW at 0.8 power factor lagging while driving a load. When an overexcited synchronous motor taking 150 kW is connected in parallel with the induction mo

Determine the expression for strain energy, A 3.2m long bar of 16mm in diam...

A 3.2m long bar of 16mm in diameter hangs vertically and has a collar attached at the lower end calculate the max. stress induced when a weight of 80 kg falls fromaheight of 32mm o

Show the properties of a good heat sink, Properties of a good heat sink ...

Properties of a good heat sink For maximum efficiency, a heat sink should be 1)Be in good thermal contact with the transistor case 2)Have the largest surface area 3)Be

Write short note on quantization, Q. Write short note on Quantization? ...

Q. Write short note on Quantization? Quantization: This is first step in PCM. Total amplitude range of the modulating signal is divided into a number of standard levels calle

Semiconductors, Why do potential barriers breaks when a breakdown voltage i...

Why do potential barriers breaks when a breakdown voltage is application to semiconductor

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd