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

Cycloconverter scherbius drive - motor control , Cycloconverter  Scherbius...

Cycloconverter  Scherbius Drive In this  drive  instead of dual controlled used in link  scherbius  drive one  phase  controlled  line commutated cyclconverter is used. This

Program counter , Program Counter (PC) It is a   16 bit  register.  It ...

Program Counter (PC) It is a   16 bit  register.  It is a memory  pointer. It stores  the memory address  of the next  byte of the program to be executed. Memory  address is of

Simple harmonic motion, what is the application of simple harmonic motion i...

what is the application of simple harmonic motion in electrical engineering?

Zener diode, how does a zener diode works

how does a zener diode works

Find the frequency at which the forced response is zero, Q. The response y(...

Q. The response y(t) of a linear system to a unit-step excitation is y(t) = (4 - 10e -t + 8e -2t )u(t). (a) Find the system function. (b) Find the frequency at which the fo

Control strategies - power supplies , Control Strategies Equation shows...

Control Strategies Equation shows  that output  voltage V0 can be controlled through α and this duty cycle  α can be varied by various  strategies which are as follows.

Illustrates power dissipation management in embedded system, Illustrates ab...

Illustrates about the power dissipation management in embedded system? Power Dissipation Management a. Clever real-time programming through Wait and Stop instructions b.

Induced voltage and inductance, Experiments conducted by Faraday and others...

Experiments conducted by Faraday and others using current carrying coils resulted in 'The Laws of Electromagnetic Induction' which state: 1)  'If the magnetic flux threading throu

Find the resonant frequency, Find the resonant frequency: Find the res...

Find the resonant frequency: Find the resonant frequency ω0 (or f0) for the given series RLC circuit v = Vm sin ωt = 50 sin ωt Figure Also determine the expre

Find the total emf and armature current., Q.   In a 110V compound generator...

Q.   In a 110V compound generator, the armature, shunt and series winding resistance are 0.06?, 25? and 0.04? respectively. The load consists of 200 lamps each rated 55W, 110V conn

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