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

List the operation modes of 8255, List the operation modes of 8255 a) ...

List the operation modes of 8255 a) I.O Mode i. Mode 0-Simple Input/Output. ii. Mode 1-Strobed Input/Output (Handshake mode) iii. Mode 2-Strobed bidirectional mode

Calculate voltage and current phasors on a phasor diagram, Calculate Voltag...

Calculate Voltage and Current Phasors on a Phasor Diagram A synchronous motor is operated at rated load and unity power factor. The field current is increased by 20%. Show the

Energy, Explain different stage in energy audit?

Explain different stage in energy audit?

Show the output voltage waveform, Question: a) For the circuits shown i...

Question: a) For the circuits shown in figure a and in figure b, show the output voltage waveform V0(t) if a sinusoidal signal with peak value of 5V is applied and the dc suppl

Explain about common control switching system, Q. Explain about Common Cont...

Q. Explain about Common Control Switching System? Common Control Switching System: A functional block diagram of a common control switching system is displayed in Figure. Contr

Condition return, Condition Return Similar to conditional jump and cal...

Condition Return Similar to conditional jump and call  instructions there are conditional return  instructions  also  based on various  flags.

Dc generator, short note on armature reaction

short note on armature reaction

Uses of zener diode, Uses of Zener Diode Zener diodes are extensively...

Uses of Zener Diode Zener diodes are extensively used as voltage references and like shunt regulators to regulate the voltage across small circuits. While connected in parall

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

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