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
The resistance of an electrical conductor depends on 4 factors, these being:   a)  The length of the conductor   b)  The cross-sectional area of the conductor

Salient Features of NEP: Access to electricity: The policy not only envisages access to electricity for all but it also emphasizes in which all consumers, particularly t

what is plane transmission grating/?

In a ferromagnetic material the state of flux density is as follows when external magnetic field is applied to it. (A) Increased (B) Becomes zero (C) Remains unchang

Given the network in Figure, (a) Find the currents through resistors R 1 , R 2 , and R 3 . (b) Compute the voltage V 1 . (c) Show that the conservation of power is satisfi

For  Zero  Flag JZ ( Jump on Zero) and JNZ ( jump on no zero ) Instruction JZ  transfer  the  execution of the program to the  speciffed address if zero  flag is set (Z=

Q. Forces and torques in magnetic-field systems? We mentioned earlier that the greater ease of storing energy in magnetic fields largely accounts for the common use of electrom

Let me know if you can help during the test

Q. Give the Shockley's equation for the transfer characteristics of JFET's? Where ID is the drain current and VGS is the voltage across gate and source. The squared term o

Add the Contents of Register   This  instruction is used to add the contents  of register R with  the contents  of accumulator  and result  of operation is stored  in the accumu