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

Calculation of aggregate technical and commercial loss, Calculation of Aggr...

Calculation of Aggregate Technical and Commercial Loss The concept of AT&C loss was introduced within 2001-02. The AT&C losses are presently in the range of 18% to 62% in seve

Find the approximate bandwidth of the circuit, Q. An op amp has an open-loo...

Q. An op amp has an open-loop frequency response as shown in Figure. (a) Find the approximate bandwidth of the circuit using this op amp: (i) With a closed-loop voltage gain

Ac waveform, which ckt. Or components using for irregular ac sine wave ...

which ckt. Or components using for irregular ac sine wave change into pure sine wave.......

What is absolute permittivity, Absolute permittivity (ε):  Permittivity ...

Absolute permittivity (ε):  Permittivity is a capacitance or ability to kept energy of a capacitor.  A force was also generated, called as electric force and the symbol. It d

Demonstrate the circuits operation , OBJECTIVES Use an NXT to control ...

OBJECTIVES Use an NXT to control the speed of a DC fan motor. You will us a potentiometer to set the speed and the second fan motor as feedback. Use the circuit from Lab 1 to

E. mechanics, a train weight 5 megaN is taking a slope of 1 in 200 at 45 km...

a train weight 5 megaN is taking a slope of 1 in 200 at 45 kmper hour.the engine put in 100 kw.determine the power to be put in by the engine it the train take the slope up of 1 in

Illustrate simple telephone communication system, Q. Illustrate simple tele...

Q. Illustrate simple telephone communication system with circuit and equation of current flow in microphone? Ans: Simple  Telephone  Communication: In the simplest form of

Rise time - power semiconductor devices , Rise  Time (t r ) During  ri...

Rise  Time (t r ) During  rise time voltage falls from 90% V a to 10%  where  V a where V a is the initial  anode  voltage. In terms  of current  time taken  by anode  curre

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