Image enhancement, Electrical Engineering

Assignment Help:

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?


Related Discussions:- Image enhancement

Dc motors, costruction and working of dc motor

costruction and working of dc motor

H – parameter model, H - Parameter model :- The transistor's equiv...

H - Parameter model :- The transistor's equivalent circuit can be dram using simple approximation by retaining its necessary features. These equivalent circuits will a

Wye-delta transformation., what is the literature review about wye delta tr...

what is the literature review about wye delta transformation?? for 3 paragraphs atleast*

Rlc - rotate accumulator left instruction , RLC  Rotate Accumulator Left I...

RLC  Rotate Accumulator Left Instruction This  instruction also rotates the contents of the accumulator towards  left by one bit. The  D 0 bit  moves  to D 1  bit moves to D

E. mechanics, a train weight 5 megaN is taking a slope of 1 in 200 at 45 km...

a train weight 5 megaN is taking a slope of 1 in 200 at 45 kmper hour.the engine put in 100 kw.determine the power to be put in by the engine it the train take the slope up of 1 in

Quality control, three reasons why a chamfer shouldn''t be considered an un...

three reasons why a chamfer shouldn''t be considered an unimportant dimension

Calculate armature voltage, Question: A DC, separately excited motor is...

Question: A DC, separately excited motor is supplied from a 240-V source. When the motor is unloaded, it draws 1A of current from the source. When the motor is loaded, it draws

Determine the electric force on each charge, Q. Point charges, each of √4πε...

Q. Point charges, each of √4πε 0 C, are located at the vertices of an equilateral triangle of side a. Determine the electric force on each charge.

Lc circuits, L=0.0053nH, C=15µF find the operating frequency of series LC c...

L=0.0053nH, C=15µF find the operating frequency of series LC circuit. What factors decides capacitance ..

#titleclipper diode.., Ask quedisadvantages stion #Minimum 100 words accept...

Ask quedisadvantages stion #Minimum 100 words accepted#

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd