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

C R O DELAY LINE, WHAT IS THE FUNCTION OF DELAY LINE IN CRO

WHAT IS THE FUNCTION OF DELAY LINE IN CRO

Determine the stator current and power factor, A ¼-hp, 230-V, 60-Hz, four-p...

A ¼-hp, 230-V, 60-Hz, four-pole, single-phase inductionmotor has the following parameters and losses: R 1 = 10 , X l1 = X l2 = 12.5 ,R 2 = 11.5 , and X m = 250 . The core

Illustrate working of application layer, Q. Illustrate working of Applicati...

Q. Illustrate working of Application Layer? As the highest layer in OSI reference model, application layer provides services to users of OSI environment. Layer

Project, electrical project produse eneargy desingn

electrical project produse eneargy desingn

Find the forced component of the current, Q. Consider an RC parallel circui...

Q. Consider an RC parallel circuit excited by (a) i(t) = 20e -2t A, and (b) i(t) = 20 A. Find the forced component of the current through the capacitor for R = 2  and C = 2F.

Transistor hybrid model, Transistor Hybrid model:- Make Use of h - par...

Transistor Hybrid model:- Make Use of h - parameters to explain a transistor have the following benefits. a)      h - Parameters are real numbers that are up to radio frequ

Discuss the nature of sinusoidal signal, Q. Discuss the nature of sinusoida...

Q. Discuss the nature of sinusoidal signal? Discuss the nature of evenness and oddness of: (a) The sinusoidal signal x(t) = A cos(2πf 0 t + θ). (b) The complex exponentia

MATLAB support for fault analysis in transmission lines, The devices in pow...

The devices in power system shown in Figure 2 have the following ratings: G1 : 100 MVA, 13.8 kV grounded Y, X” = 0.15 pu, X2 = 0.015 pu Xo = 0.05 pu G2 : 50 MVA, 20.0 kV grounded

Bode plot phase ad gain margin, Using Bode plot calculate (a) Phase margin ...

Using Bode plot calculate (a) Phase margin (b) Gain margin (c) Stability of closed loop system. The open transfer function of the system is t=30/(s+2)/(s+3)Using Bode plot calcula

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