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

Electrical Machines, Design a suitable double –layer lap winding for a 6-po...

Design a suitable double –layer lap winding for a 6-pole dc armature with 18 slots and two coil sides per slot. Give values of front-pitch, brack–pitch and commutator pitch. Draw t

Explain source encoding or data compression, Q. Explain Source encoding or ...

Q. Explain Source encoding or data compression? The sequence of binary digits from the source encoder, known as the information sequence, is passed on to the channel encoder. T

Transistor, Transistor A transistor is a semiconductor device that is ...

Transistor A transistor is a semiconductor device that is employed to amplify and switch electronic signals. It is made up of a solid piece of semiconductor material, with min

Rlc circuits, Parallel rlc circiut with a variable cap connected in series ...

Parallel rlc circiut with a variable cap connected in series with a resistor

Tunneling effect, what is tunneling effect ? With calculation.

what is tunneling effect ? With calculation.

Explain mechanisms of propagation of radio communication, Explain mechanism...

Explain mechanisms of propagation of radio communication. Radio communication deals with electronic radiation of electromagnetic energy from one point to another through atmosp

Explain about synchronous machines, Q. Explain about Synchronous machines? ...

Q. Explain about Synchronous machines? Large ac power networks operating at a constant frequency of 60 Hz in the United States (50 Hz in Europe) rely almost exclusively on sync

Determine the armature current and torque angle, Q. Determine the armature ...

Q. Determine the armature current and torque angle? A 1500-hp, 6600-V, six-pole, 60-Hz, three-phase, wye-connected, synchronous motor, with a synchronous reactance of 36 , neg

Determine the resonant frequency and bandwidth, Q. A gyrator is sometimes u...

Q. A gyrator is sometimes used in integrated circuits to simulate inductances. Consider the circuit of Figure consisting of a gyrator. (a) Show that the impedance as seen to the

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