Image enhancement, Electrical Engineering

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?

Posted Date: 2/26/2013 12:16:36 AM | Location : United States







Related Discussions:- Image enhancement, Assignment Help, Ask Question on Image enhancement, Get Answer, Expert's Help, Image enhancement Discussions

Write discussion on Image enhancement
Your posts are moderated
Related Questions
Explain in brief the functions of the clock generator chip, 8284. 8284 Clock generator: The 8284 is an ancillary element to the microprocessors. Without any clock generato

What is a co-processor? 8087 NDP (numerical data processor) is also termed as math co-processor that is used in parallel with the major processor for number crunching applicat

Q. A transformer is rated 10 kVA, 220:110 V (rms). Consider it an ideal transformer. (a) Compute the turns ratio and the winding current ratings. (b) If a 2-load resistance

3) The impedance for a 120 km, 230-kV line is given as j 0.9 ohm/km and j 0.6 ohm/km for self and mutual terms respectively; resistance is neglected. The mho characteristic for the

Q. Determine the voltage transfer function of the low pass filter circuit shown in Figure, and find the expression for ω 0 .

\ Transistor voltmeter (TVM) : a simple diagram of TVM using two transistors in the bridge configuration is as shown. TVM is provided by using transistor bridge circuits. In b

Q. (a) Two amplifiers, which can be represented by the model of Figure of the text, are connected in cascade (that is, head to tail), as shown in Figure. Let their parameters be R

Calculate total resistance among terminal A and B for the circuit below.

Name the switching schemes used in a digital exchange

Step Up Chopper In this  chopper average output  voltage  is greater than  input  voltage. The circuit  different  mode  of operation and  current  waveforms are show. When