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

Find the quantity of electricity transferred, If a current of 20A flows for...

If a current of 20A flows for five minutes, find the quantity of electricity transferred. Quantity of electricity,   Q = It = 20 x 5 x 60 = 6000C     

When mt2 and gate is negative, when MT 2 and Gate  is Negative In th...

when MT 2 and Gate  is Negative In this case gate  current  flows  through P 2 N 3 junction. Junction N 1 P 2 forward  biased hence the triac  starts  conduction through  P

Find the meter reading for a sine wave, Q. ADMM (digital multimeter) reads ...

Q. ADMM (digital multimeter) reads true rms values of current. If the peak value of each of the following periodic current waves is 5 A, find the meter reading for: (a) a sine wave

Saturate the transistor with the base overdriven, For the circuit of Figure...

For the circuit of Figure, given that V CC = 5V, R C = 1k, β = 100, and the high range is 4 to 5 V, choose R B such that any high input will saturate the transistor with the ba

Back to back test of tranformer, what is the advantage and disadvantage of ...

what is the advantage and disadvantage of back to back test of transformer

Connection of shunt capacitors - across individual customers, Connection of...

Connection of Shunt Capacitors - Across Individual Customers The most appropriate manner of improving PF of the distribution system and thereby reducing line losses is to link

Why we need digital systems, Q. Why we need digital systems? EASIER TO ...

Q. Why we need digital systems? EASIER TO PROCESS: For the reason that digitized information breaks all information into discrete units the information is easier to process and

Explain atomic structure and energy band diagram of silicon, Explain Atomic...

Explain Atomic structure and Energy Band Diagram of Silicon. Silicon : It is other most commonly used semiconductor. Atomic number of it is 14. The no. of electrons in first,

Factors affecting choice of observation, Factors Affecting Choice of Obser...

Factors Affecting Choice of Observation: Observers are influenced by a number of factors in the process of observation. Black and champion have identified three such factors.

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