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. Working of On - off hook circuit in telephone hand set? On/off hook circuit (sometimes termed as a switch hook) is nothing more than a simple single-throw, double-pole (STDP

Four voicemessages, each with 3-kHz bandwidth, are to be sampled at Nyquist rate, and time- multiplexed with samples taken at twice the Nyquist rate from six analog monitoring sign

Singles Phase  Half wave Controlled Rectifier  with RL Load When gate pulses are applied to the thyristor  at output voltage  v0 follows the input voltage  v s ( = V m sin ) s

Q. Three loads in parallel are supplied by a single phase 400-V, 60-Hz supply: Load A: 10 kVA at 0.8 leading power factor Load B: 15 kW at 0.6 lagging power factor Load C:

Electrical circuits and systems : Electrical systems allow energy to be conveniently delivered from the point of supply to the point of application - e.g. electric railways, ca

Accumulator - Registers It is an  8 bit  registers which  is the most  important  part of  the arithmetic  and logic unit.  It is used to store  8 bit  data.  The result  of

With the help of energy bands explain how conduction takes place in insulators. Insulators: Substance as wood, glass, that do not permit the passage of current through them

Discuss DOS function call with one example. DOS function call: So as to use DOS function calls, always place the function number in register AH and load all other pertinent

Unconditional Call Instruction CALL ( Unconditional Call) Instructions :This  instruction calls the subroutine program stored at memory  location specified  in the  instruction

dis advantage of series clippers?