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

Show the amenability to computer processing, Q. Show the Amenability to com...

Q. Show the Amenability to computer processing? Due to the digital data collected and stored in the form of a matrix, the same becomes amenable to processing on computers. By f

Determine the maximum value of the voltage, Q. Three waveforms seen on an o...

Q. Three waveforms seen on an oscilloscope are shown in Figure. If the horizontal scale is set to 50 ms per division (500 ms for the entire screen width), and the vertical scale is

Repeatability , Reproducibility and repeatability are measures of closeness...

Reproducibility and repeatability are measures of closeness with which a given input may be measured over again. The two terms cause confusion. Therefore, a distinction is made bet

Purpose of control word written to control register in 8255, What is the pu...

What is the purpose of control word written to control register in 8255? The control words written to control register state an I/O function for every I.O port. The bit D7 of t

Composition of mosfet, Composition of MOSFET  In a test pattern the P...

Composition of MOSFET  In a test pattern the Photomicrograph of two metal-gate MOSFETs. Probe pads for two gates and three source or drain nodes are entitled.Generally the se

Current relations in common emitter configuration, Q. What are the Current ...

Q. What are the Current relations in common emitter configuration? In a CB configuration Ie is the input current and Ic is the output current. These currents are relayed throug

Abrasive jet machining system, Describe the effect of following parameters ...

Describe the effect of following parameters on working rate and accuracy of material removal in AJM. (i) Grain size (ii) Stand off distance (iii) Jet velocity. Draw sch

Forth generation, Forth Generation VLSI  technology  of IC made it poss...

Forth Generation VLSI  technology  of IC made it possible  to design the  complete  circuit  of ALU  Arithmetic  logic unit and cu ( Control Unit ) within  single  chip  which

TRANSISTOR BIASING CIRCUITS, HOW TO FIND THE OPERATING POINT OF THE TRANSIS...

HOW TO FIND THE OPERATING POINT OF THE TRANSISTO IN A COLLECTOR TO BASE BIAS CIRCUIT

Explain cache structure in pentium, Explain cache structure in Pentium. ...

Explain cache structure in Pentium. Cache structure in Pentium: The cache in the Pentium has been changed by the one determined in the 80486 microprocessor. The Pentium has t

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