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

Thunderstrom detector, Ask question #how to construct thunderstrom detector...

Ask question #how to construct thunderstrom detector with circuit breaker.

Oscillator circuit with the help of block diagram, Q. Explain the condition...

Q. Explain the conditions to be satisfied for sustained oscillations in an oscillator circuit with the help of block diagram. The essential condition for sustained oscillations

Determine the laplace transform of the waveform, Q. Determine the Laplace t...

Q. Determine the Laplace transform of the waveform shown in Figure.

Shocly equation, I need to prove of shockly diode equation

I need to prove of shockly diode equation

System diagram of complex programmable logic device, The system diagram for...

The system diagram for the proposed unit is shown below. The system operates on the principle of Time to Rate Conversion. Signals from the heart beat sensor are amplified

What are the signals involved in memory bank selection, What are the signal...

What are the signals involved in memory bank selection in 8086 microprocessor? The 8086 based system will have two sets of memory IC's. One set for even bank and another for od

Show npn common collector amplifier, Q. Show NPN Common Collector Amplifier...

Q. Show NPN Common Collector Amplifier? The common collector amplifier, often called an emitter follower since its output is taken from the emitter resistor, is useful as

Find the output function y for the logic circuits, Q. Find the output funct...

Q. Find the output function Y for the logic circuits of Figure (a) and (b). An AOI (AND-OR-INVERT) gate is shown in Figure with its two possible realizations. Obtain the output

Pneumatics, Design and draw a circuit using the cascade system to operate t...

Design and draw a circuit using the cascade system to operate two cylinders (A and B) which, on the operation of a start valve, produces the sequence A – B + B – A+. The cylinders

Priming, short note on priming

short note on priming

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