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

Overview of decimal number system, Q. Can you give some Overview of Decimal...

Q. Can you give some Overview of Decimal Number System? The Decimal Number System uses base 10 and It includes the digits from 0 through 9. The weighted values for each positio

Solid state devices, what are the significance of solid state devices in el...

what are the significance of solid state devices in electrical engineering

Find dispersion relation for free electron, Find Dispersion Relation for Fr...

Find Dispersion Relation for Free Electron Question: Find the dispersion relation for a free electron, and, thus, observe the relation between its rest mass and effective ma

Rotating magnetic fields, When a machine has more than two poles, only a si...

When a machine has more than two poles, only a single pair of poles needs to be considered because the electric, magnetic, and mechanical conditions associated with every other pol

Define smoothing the output, Define Smoothing the Output? The output of...

Define Smoothing the Output? The output of a DAC is stepped, such as the analog waveforms which were sampled and held. This stepped, or staircase effect is a distortion, and it

Electron beam focused to a fine spot, Q. How is the electron beam focused t...

Q. How is the electron beam focused to a fine spot on the face of the CRT? Sol. The functional diagram of an electrostatic focusing arrangement is shown below. The pre-accele

What do you mean by conditional selection, Q. What do you mean by Condition...

Q. What do you mean by Conditional selection? Conditional selection: When a marker is instructed to create a connection from a given incoming trunk to a given outgoing trunk, t

Determine the speed at which the machine runs as a motor, A 100-kW, dc shun...

A 100-kW, dc shunt generator, connected to a 220-V main, is belt-driven at 300 r/min, when the belt suddenly breaks and the machine continues to run as a motor, taking 10 kW from t

Find the meter reading assuming that the averaging is done, Q A residence i...

Q A residence is supplied with a voltage v(t) = 110√2cos120πt Vand a current i(t) = 10√2cos120πt A. If an electricmeter is used tomeasure the average power, find the meter reading,

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