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

Rectifiers and inverters, Normal 0 false false false EN...

Normal 0 false false false EN-IN X-NONE X-NONE RECTIFIERS AND INVERTERS

Find the new synchronous speed, Q. A wye-connected, three-phase, 50-Hz, six...

Q. A wye-connected, three-phase, 50-Hz, six-pole synchronous alternator develops a voltage of 1000 V rms between the lines when the rotor dc field current is 3A. If this alternator

Explain n - type semiconductor, Explain n - Type semiconductor. n - ...

Explain n - Type semiconductor. n - Type semiconductor:- (i) If small amount of pentavalent impurity is added with, to a pure semiconductor giving a large number of free

State the functions of a fuse, State the functions of a fuse. Fuse is ...

State the functions of a fuse. Fuse is a protective device that made of a thin wire or strip. This strip or wire is placed with the circuit this has to protect, therefore the

Compute the required value of external series resistance, A 200-V dc shunt ...

A 200-V dc shunt motor has a field resistance of 200  and an armature resistance of 0.5 . On no load, the machine operates with full field flux at a speed of 1000 r/min with an a

Indicate the condition of the overflow and carry bits, Q. Do the following ...

Q. Do the following operations with 8 bit bytes, and indicate the condition of the overflow and carry bits. a) 10111011 + 00000011 b) 11101101 + 11111001 c) 11011011 + 110

Delay line in CRO, why we use delay line in CRO what happens if we not use ...

why we use delay line in CRO what happens if we not use it?

Control system, model reference adaptive controller for interacting coupled...

model reference adaptive controller for interacting coupled tank

Digital control system, a digital computer controlled rolling mill regulato...

a digital computer controlled rolling mill regulator system..

Logically and the contents of register, Logically AND  the contents of Reg...

Logically AND  the contents of Register Contents of  register are logically AND with the accumulator bit wise. The result  of the AND  operation is  stored  in the accumulat

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