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
Q. Describe binary number system? The binary number system has a base of 2 with two distinct digits (bits), 1 and 0. A binary number is expressed as a string of 0s and 1s, and

Speed Control of DC Series Motor A half  wave  circuit  for the  speed  control of DC  series motor is  shown in figure and corresponding wave from  is shown  in figure  consis

Q. The input resistance of an ideal op amp with no feedback is infinite. Investigate the input resistance of an op amp with a feedback resistance RF: (a) When there is no resist

Role of Bureau of Energy Efficiency The role of the Bureau of Energy Efficiency is to: Ready standards and labels of appliances and equipment; Develop a list

Define Shunt VAr Compensation? Shunt capacitors absorb leading VArs (i.e. they are used to supply lagging VArs) whereas reactors are used to absorbs lagging VArs. Capacitors an

Q. The self and mutual inductances of a machine with two windings are given by L 11 = (1 +sin θ), L 22 = 2(1 + sin θ), and L 12 = L 21 = M = (1-sin θ). Assuming θ = 45°, and le

Q. A six-pole, double-layer dc armature winding in 28 slots has five turns per coil. If the field flux is 0.025 Wb per pole and the speed of the rotor is 1200 r/min, find the value

A battery having of 5 cells with emf and internal resistance of every cell is 1.5V and 0.25Ω connected in series. If the current flow by load resistance is 1.5A, calculate the valu

Q. What do you mean by sub address? A sub address, though a part of the ISDN address, isn't considered as an integral part of the numbering scheme. Sub address is carried in a

Q. Advantage of digital technology? The primary advantage of digital technology is the low cost, simplicity, and versatility of the digital building blocks. Because digital sig