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

Obtain the complete solution for the voltage, Consider the circuit of Figur...

Consider the circuit of Figure and obtain the complete solution for the voltage v C (t) across the 5-F capacitor and the voltage vx(t) across the 5- resistor.

Show how emitter amplifier work as a buffer amplifier, Q. Due to what speci...

Q. Due to what special property does an emitter amplifier work as a buffer amplifier?  The circuit design of the emitter follower is such that it has a high input impedance and

Determine the inductor current, Q. In a GLC parallel circuit excited by a c...

Q. In a GLC parallel circuit excited by a current source i(t), for G = 0.5S, L = 3H, and C = 0.5 F, determine i(t) if the inductor current iL(t) = 12e -0.5t .

Calculate the magnetic flux in the core, Q. A toroid with a circular cross ...

Q. A toroid with a circular cross section is shown in Figure. It is made from cast steel with a relative permeability of 2500. The magnetic flux density in the core is 1.25 Tmeasur

P-n junction, P-N Junction   A p-n junction is made by joining P-ty...

P-N Junction   A p-n junction is made by joining P-type and N-type semiconductors together in extremely close contact. The word junction consider to the boundary interface

Pop instruction, POP Instruction This instruction  copies the contents ...

POP Instruction This instruction  copies the contents  of the top  two locations  of the  stack into the  specified  register pair. The  contents  of stack pointer register are

Capacitor filter, Capacitor Filter: A capacitor filter is connect...

Capacitor Filter: A capacitor filter is connected directly across the load is displayed in figure. The property of a capacitor is that it permits ac component and blocks

Show the familiar electric sources, Q. Show the familiar electric sources? ...

Q. Show the familiar electric sources? Batteries and ac outlets are the familiar electric sources. These are voltage sources.An ideal voltage source is one whose terminal volta

Ohm, what is ohm?

what is ohm?

Assignment, design a half wave bridge rectifier to perform the function ind...

design a half wave bridge rectifier to perform the function indicated

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