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

Working of on - off hook circuit in telephone hand set, Q. Working of On - ...

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

Explain limit signal spectrum to prevent aliasing, Explain Limit Signal Spe...

Explain Limit Signal Spectrum to Prevent Aliasing? The sampling frequency should at least be two times that of the highest frequency in the incoming signal to avoid aliasing. T

Zener diode, what is Zener diode ? give some uses of it .

what is Zener diode ? give some uses of it .

Digital modulation, what are the different digital modulation techniques?

what are the different digital modulation techniques?

Explain different routing plan adopted in a network, Q. Explain different R...

Q. Explain different Routing plan adopted in a Telephone network.  Ans: Hierarchical networks are capable of handling heavy traffic where required, and at the same time us

Electronics, why bypass capacitor is used

why bypass capacitor is used

What is tunnel effect and applications of tunnel effect, What is tunnel eff...

What is tunnel effect? Discuss the Alpha decay as an example of tunnel effect. Prove that tunneling increases on decreasing the height and width of the barrier. Explain what do you

Determine dielectric materials are which type of materials, Dielectric mate...

Dielectric materials are (A) Insulating materials.        (B) Semiconducting materials. (C) Magnetic materials.         (D) Ferroelectric materials. Ans:

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