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

What do you mean by dearness allowance, Q. What do you mean by Dearness All...

Q. What do you mean by Dearness Allowance? Ans: Dearness Allowance is in the type of compensation for Established increase in the cost of living and comprised of Dearness All

Determine the current through the coil, Solenoids find application in a var...

Solenoids find application in a variety of electrically controlled valves. The magnetic structure shown in Figure is a simplified representation of a solenoid in which the flux in

Diod, explain the application of the Si,zener,and LED diodes

explain the application of the Si,zener,and LED diodes

Field effect transistors, basic configuration of field effect transistors i...

basic configuration of field effect transistors in mplifiers

Impedance / DUTT, 3) The impedance for a 120 km, 230-kV line is given as j ...

3) The impedance for a 120 km, 230-kV line is given as j 0.9 ohm/km and j 0.6 ohm/km for self and mutual terms respectively; resistance is neglected. The mho characteristic for the

Digital modulation, what are the different digital modulation techniques?

what are the different digital modulation techniques?

Explain the effect of feedback on amplifier bandwidth, Q. Explain the effec...

Q. Explain the effect of feedback on amplifier bandwidth? The bandwidth of an amplifier is defined as the range of frequencies for which the gain remains constant.The gain -ban

What are operations performed on data in 8085, What are operations performe...

What are operations performed on data in 8085 The various operations performed are Store 8-bit data Perform arithmetic and logical operations Test for conditio

Find the meter reading for a sine wave, Q. ADMM (digital multimeter) reads ...

Q. ADMM (digital multimeter) reads true rms values of current. If the peak value of each of the following periodic current waves is 5 A, find the meter reading for: (a) a sine wave

Define the gauss seidel method, Define the Gauss Seidel Method The Gaus...

Define the Gauss Seidel Method The Gauss-Seidel method is an iterative method in which the voltage of each node is calculated in turn using the most up to date voltages for the

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