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

Cmos processes, CMOS processes: The low-performance "lateral" bipolar ...

CMOS processes: The low-performance "lateral" bipolar transistors occasionally employed in CMOS processes are sometimes designed symmetrically, i.e., with no distinction betwe

Determine the induced armature emf, A250-V, 50-kWshort-shunt compound dc ge...

A250-V, 50-kWshort-shunt compound dc generator,whose schematic diagramis shown in Figure, has the following data: armature resistance 0.05 , series-field resistance 0.05 , and sh

Explain sampling at the nyquist rate, Explain Sampling at the Nyquist Rate?...

Explain Sampling at the Nyquist Rate? What would happen if we reduced the sampling frequency? In the time domain, we would be getting less samples for each period. In the frequ

Find the voltage drop and current through each component, A 15 volts source...

A 15 volts source is applied to a series 150 μH inductor and 169 pF capacitor. The resistance of the inductor plus the connecting wires is 1,6 Ω. Determine the voltage drop and

Relative permeability of the cast steel, A closed magnetic circuit of cast ...

A closed magnetic circuit of cast steel having a 6cm long path of cross-sectional area 1cm 2 and a 2 cm path of cross-sectional area 0.5 cm 2 . A coil of 200 turns is wound around

Non inverting summing amplifier, Q. In the non inverting summing amplifier ...

Q. In the non inverting summing amplifier of Figure, let R d = 1k and M = 6. Find R f so that v =

Discuss one application of 8254 programmable interval timer, Discuss any on...

Discuss any one application of 8254 Programmable Interval Timer in detail. Mode1 causes the counter to treat as a retriggerable monostable multivibrator one shot. The G inpu

Dc chooper, Establish the relationship between duty ratio and output voltag...

Establish the relationship between duty ratio and output voltage

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