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

Formal lab report, I need someone help me to do electronics formal lab repo...

I need someone help me to do electronics formal lab report, I tried many time to submit it but I couldn''t? plz help me

Dc machine, why armature lamination notched in outer periphery

why armature lamination notched in outer periphery

Working of crt, Q.   Explain working of CRT with suitable diagram discuss t...

Q.   Explain working of CRT with suitable diagram discuss the focusing arrangement. What is need of aquadag? OR Why are the operating voltages of a cathode ray tube arran

Transformers, Are you able to give a list of factors that could be consider...

Are you able to give a list of factors that could be considered as the transformer''s characteristics?

Personal and corporate income tax rate, Ginny Jones currently works as the ...

Ginny Jones currently works as the VP-Product Strategy for a well-established enterprise software company. She and her friend, Tom Robinson, currently CFO at a competing firm (and

Assembly languages - second generation language, Assembly Languages  ( Sec...

Assembly Languages  ( Second Generation Language) To overcome  the difficulty of machine  language assembly  language  was  designed. After  facing the  difficulty of machine

Fulfilled to sustain the oscillations, Q. What are the conditions required ...

Q. What are the conditions required to be fulfilled to sustain the oscillations? The conditions required to be fulfilled to sustain the oscillations are: 1. The loop gain mu

Change in an organisation, Change in an organisation: Change might ...

Change in an organisation: Change might be perceived in two ways: Change as continuous and intrinsic to an organisation and change as discontinuous & extrinsic. A force

Draw the equivalent magnetic circuit diagram, 1) Consider the magnetic circ...

1) Consider the magnetic circuit shown in the figure. Steady currents flow in the windings of N 1 and N 2 turns on the outside legs of the ferromagnetic core. The core has a

Electronic, how a combination clipper works?

how a combination clipper works?

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