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

Actual voltage reading in decimal, Prepare the assembly code to make a Digi...

Prepare the assembly code to make a Digital Volt Meter that shows the message and the correct voltage on the LCD. Once you managed to display the hex value for the conversion you w

#electrical wiring, how to draw electric circuit for staircase wiring using...

how to draw electric circuit for staircase wiring using 3 two way switches?

Terms with respect to d.c machine, Q.  Define coil pitch, Back pitch, fron...

Q.  Define coil pitch, Back pitch, front pitch, pole pitch, commutator pitch, resultant pitch, Multiplex winding and degree of Re-entrant of a winding, with respect to a D.C. mach

Electonic principles, can you help with my electronic principle assignment

can you help with my electronic principle assignment

Explain the bidirectional shift registers, Explain the Bidirectional Shift ...

Explain the Bidirectional Shift Registers? A Reversible or A Bidirectional shift register is one in which the data can be shift either left or right. D flip-flops are used by

Illustrate balanced delta-connected load, Next, let us consider the case of...

Next, let us consider the case of a balanced delta-connected load with impedance of 5 45° supplied by a three-phase, three-wire 100-V system, as shown in Figure (a). We shall dete

Explain error-rate control and output-rate control, Error-Rate Control, Out...

Error-Rate Control, Output-Rate Control, and Integral-Error (Reset) Control Let us consider a typical second-order servomechanism(containing two energy-storing elements) whose

What do you mean by most and least significant digits, Q. What do you mean ...

Q. What do you mean by Most and least significant digits? The MSD (most significant digit) in a number is the digit which represents the largest part of the number. Therefore i

#title. electronic project for invention, I need assistance in building a c...

I need assistance in building a circuit for my invention ,I am a electronic tech with limited knowledge but designing and building a proto model is a little out of my expertise ce

Compute l per unit length for plate, Q. The inductance per unit length in H...

Q. The inductance per unit length in H/mfor parallel plate in?nitely long conductors in air is given by L = µ 0 d/w = 4π×10 -7 d/w, where d and w are inmeters.Compute L (per unit

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