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

Measurement and control systems, Electronic signals are used by almost all ...

Electronic signals are used by almost all measurement and control systems to transfer information. Much of this data is in the form of analogue voltages, which are prone to the ef

Ultrasonic Sensor Help for Seventh Grader, What are ultrasonic sensors made...

What are ultrasonic sensors made of? What is a good online source to find information on a basic level about ultrasonic sensors?

Obtain the time domain functions, Let ω = 2π × 60 rad/s corresponding to a ...

Let ω = 2π × 60 rad/s corresponding to a frequency of 60 Hz. (a) Consider v(t) = 100 √2 cos(ωt + 30°) V and i(t) = 10 √2 sin(ωt + 30°) A. Find the corresponding phasors ¯V and ¯

Semiconductors, Charge density In a semiconductor

Charge density In a semiconductor

Explain the category of ceramics, Ceramics are good (A)  Insulators. ...

Ceramics are good (A)  Insulators.                 (B) Conductors. (C)  Superconductors.      (D) Semiconductors. Ans: Ceramics are good insulators.

Nis sound systems, NIS Sound Systems, Inc. produces and sells sound systems...

NIS Sound Systems, Inc. produces and sells sound systems for both home and auto. DVD players used in the assembly of NIS systems are purchased from BUN Electronics. NIS purchasing

Digital Electronics, You are expected to do the experimentation on digital ...

You are expected to do the experimentation on digital electronics and realize the result...

Working with various instructions using debug, The purpose of this experime...

The purpose of this experiment is to introduce you to a powerful 80x86 assembly/machine language utility called DEBUG. Preparing Your DEBUG Environment If you have an older

List few applications of microprocessor-based system, List few applications...

List few applications of microprocessor-based system. It is used: i. For measurements, display and control of current, voltage, temperature, pressure, etc. ii. For traff

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