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

Accidents, what are accidents in an organisation

what are accidents in an organisation

#title.superposition theorem, .coments on the limitation of the superpositi...

.coments on the limitation of the superposition theorem

Find the change in energy received by the charge, Q Acharge of 0.1Cpasses t...

Q Acharge of 0.1Cpasses through an electric source of 6 V from its negative to its positive terminals. Find the change in energy received by the charge. Comment onwhether the charg

Show the direct connection or one to one topology, Q. Show the Direct conne...

Q. Show the Direct connection or one to one topology? In the one to all topology, there is a path between every node and every other node. The number of paths required is defin

Find the effective noise temperature, Q. An antenna with an effective noise...

Q. An antenna with an effective noise temperature of 130 K couples through a waveguide that has a loss of 0.8 dB to a receiver. Find the effective noise temperature presented by th

Unit impulse response of a linear system, Q. The unit impulse response h(t)...

Q. The unit impulse response h(t) of a linear system is h(t) = 5e -t cos(2t - 30°). Determine H(s).

Disadvantages - high level languages, Disadvantage - High  level  Langua...

Disadvantage - High  level  Languages a.Computational time is more as compared to  machine languages. b.Requires more  memory. c.Requires the knowledge of specific rules

Use mesh analysis and nodal analysis to determine voltage, Q. Use (a) mesh ...

Q. Use (a) mesh analysis and (b) nodal analysis to determine the voltage ¯V at the terminals A-B of Figure.

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