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

Wye-delta transformation., what is the literature review about wye delta tr...

what is the literature review about wye delta transformation?? for 3 paragraphs atleast*

Find the forced component of the current, Q. Consider an RC parallel circui...

Q. Consider an RC parallel circuit excited by (a) i(t) = 20e -2t A, and (b) i(t) = 20 A. Find the forced component of the current through the capacitor for R = 2  and C = 2F.

Describe what is rim and sim instructions, RIM is Read Interrupt Mask. Used...

RIM is Read Interrupt Mask. Used to ensure whether the interrupt is Masked or not.     SIM is Set Interrupt Mask. Used to mask the hardware interrupts.

Explain norton''s theorem procedure, Norton's theorem procedure: 1.  Re...

Norton's theorem procedure: 1.  Remove R L from the circuit. Search I N by shorting links output terminal. 2.  Search R N by short-circuit voltage source or open-circuit

R.h. corkscrew rule, R.h. corkscrew rule Note the direction of the flu...

R.h. corkscrew rule Note the direction of the flux is given by Maxwell's 'R.H. corkscrew rule' and that the flux lines are continuous Applying  Ampere's  Law  to  a  concentri

Smallest unit of information on a machine, Q. Smallest unit of information ...

Q. Smallest unit of information on a machine? Short for the binary digit the smallest unit of information on a machine. This term was first used in 1946 by the John Tukey, a le

Explain the different instruction formats, Explain the different instructio...

Explain the different instruction formats with examples The instruction set is grouped into the following formats One byte instruction MOV C,A Two byte instruction

Energy stored in inductor, One circuit has resistor 40? connected in series...

One circuit has resistor 40? connected in series with inductor  15H and dc voltage 220V. Calculate: i)  Time constant ii)  Current at time (i) iii)  Current at time 0.0

Design a combination circuit, Design a combination circuit to combine two s...

Design a combination circuit to combine two signals as follows: v 0 = -2 v 1 - 8v 2 - v 3 The following specifications are imposed: R in ≥ 20 k? at all inputs All

#title.Electrical Machine., ) Design a suitable double –layer lap winding f...

) Design a suitable double –layer lap winding for a 6-pole dc armature with 18 slots

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