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

Resistance of 800 m of copper cable of cross-sectional area, Find the resis...

Find the resistance of 800 m of copper cable of cross-sectional area 20 mm . Take the resistivity of copper as 0.02 Ωm.

Basic principles of electrical engineering, What is ideal and real sources?...

What is ideal and real sources? Source conversion? Nodal voltage method for d.c circuit?

Single phase meters, Single Phase Meters Single phase meters are commo...

Single Phase Meters Single phase meters are commonly rated for 240 V AC supply; the current ratings are 5/10, 10/20, 2.5/10 or 5/20 A or are for direct connection to the mains

Basic principle of electrochemical grinding, Can you explain how electroche...

Can you explain how electrochemical grinding is advantageous over conventional grinding? How metal is moved in electrochemical grinding? What is the basic principle of electroch

Obtain complete solution for the current for given circuit, For the circuit...

For the circuit of Figure(a), obtain the complete solution for the current i L (t) through the 5-H inductor and the voltage v x (t) across the 6- resistor.

Semiconductor, what are the most 4 types of doping techinques in semiconduc...

what are the most 4 types of doping techinques in semiconductors

The resistance of an electrical conductor, The resistance of an electrical ...

The resistance of an electrical conductor depends on 4 factors, these being:   a)  The length of the conductor   b)  The cross-sectional area of the conductor

Sketch the asymptotic bode diagrams, Q. Sketch the asymptotic Bode diagrams...

Q. Sketch the asymptotic Bode diagrams for the following functions:

Compare procedure and macro, Compare Procedure & Macro  Accessed by CAL...

Compare Procedure & Macro  Accessed by CALL & RET instruction Accessed during assembly with name given during program implementation to macro when defined Machine code for inst

Basic introduction of analog building blocks, Q. Basic introduction of Anal...

Q. Basic introduction of Analog Building Blocks? Electronic systems usually process information in either analog or digital form. In order to process the two different kinds of

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