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

Basic elements of a digital communication system, Q. Basic elements of a di...

Q. Basic elements of a digital communication system? Figure illustrates the basic elements of a digital communication system. For each function in the transmitting station, th

Sketch the timing diagram for a 4-bit ripple counter, Q. Sketch the timing ...

Q. Sketch the timing diagram for a 4-bit ripple counter which uses T flip-flops.

Obtain rated fundamental voltage across the motor, A 440-V, 60-Hz, six-pole...

A 440-V, 60-Hz, six-pole, wye-connected, squirrel-cage induction motor with a full-load speed of 1170 r/min has the following parameters per phase referred to the stator: R 1 = 0.

What do you mean by circuit analysis techniques, What do you mean by Circui...

What do you mean by Circuit Analysis Techniques?   One simplifying technique often used in complex circuit problems is that of breaking the circuit into pieces of manageable

What are shift registers, What are shift registers? Design a 8 bit shift re...

What are shift registers? Design a 8 bit shift register with features like PISO, SISO, SIPO and PIPO.

Digital logic circuits, . In successive-approximation A/D converter, offset...

. In successive-approximation A/D converter, offset voltage equal to 1/2LSB is added to theD/A converter’s output. This is done to

Impedance heating system, Under what circumstances is individual circuit pr...

Under what circumstances is individual circuit protection for a lighting and applications panel board not required? What is the purpose of guarding runway contact conductors and

Duty cycle of the system, The report should contain all of the information ...

The report should contain all of the information detailed below together with your analysis of the circuit and any conclusions. The report should contain the code for your simulati

Find out the low-frequency voltage gain, Design a differential amplifier wi...

Design a differential amplifier with active current mirror load in Cadence using TSMC 0.35 micron process. The power supply voltage is 3.3V. A 10µA current reference is available

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