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
Critical Rate of Rise of Voltage It  depends on  the junction temperature higher  the junction  temperature lower  the critical rate of  rise of  voltage. It is also known  as

When three resistors R1, R2 and R3 are connected in parallel as shown in the diagram. For these resistors the equivalent resistance is given by: a. Derive a rule to

What is Microprocessor? Give the power supply & clock frequency of 8085. A microprocessor is a multipurpose, programmable logic device that reads binary instructions from a sto

Consider a GLC parallel circuit excited by i(t) = Ie st in the time domain. Assume no initial inductive current or capacitive voltage at t = 0. Draw the transformed network in the

For Parity Flag  CPRE (Call  on parity even) and CPO (Call or parity  Odd) Instruction CPE calls the subroutine  from the  specified  memory  location if parity  flag is

can you differentiate the alpha,beta and gamma

Q. (a) Consider a three-phase star or wye half-wave recti?er with a purely resistive load R. Determine: (i) efficiency, (ii) formfactor, (iii) ripple factor, (iv) TUF, and (v) PIV


hello, I do have some exams or test samples which are related to control and procces engineering. Can you have them solved with ilestrastion of all solving steps

Voltage Quality Standards - KPI The term voltage quality (or power quality) is an umbrella concept for a variety of disturbances within a power system. The quality of delivere