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

Gate terminal - field-effect transistor, Gate terminal - field-effect trans...

Gate terminal - field-effect transistor: The names of the terminals consider to their functions. The gate terminal might be thought of since controlling the opening and closin

Obtain complete solution for the current for given circuit, For the circuit...

For the circuit of Figure(a), obtain the complete solution for the current i L (t) through the 5-H inductor and the voltage v x (t) across the 6- resistor.

What are advantages of segmentation, What are advantages of segmentation...

What are advantages of segmentation ? However because the segment register is 16 bit broad and the memory requires 20 bits for an address the 8086 appends 4 bits segment reg

Explain procedure to test the power line, Explain procedure to take shut do...

Explain procedure to take shut down and to test the power line before starting work? Ans: Study the circuit and find out the circuit breaker to be opened. Open and lock the c

What is a darlington pair, Q. What is a darlington pair?               ...

Q. What is a darlington pair?                             The Darlington circuit consists of two cascaded emitter followers with infinite emitter resistance in the first stage.

Energy stored in a magnetic field , Energy stored in a magnetic field ...

Energy stored in a magnetic field Consider a circuit consisting of a voltage supply,  switch,  resistor  and  a  coil  of  N turns wound on a toroid of length l, all in series

Ht metering, HT Metering The following type of meters is generally use...

HT Metering The following type of meters is generally used for HT consumers: Trivector Meter, Bivector Meter, and Summation Meters. Trivector Meter

Briefly explain about phasor method, Q. Briefly explain about Phasor Method...

Q. Briefly explain about Phasor Method? For sinusoidal excitations of the same frequency, the forced or steady-state responses are better found by the technique known as the ph

Discuss applications of dielectrics, Discuss applications of dielectrics. ...

Discuss applications of dielectrics. Application of dielectrics: For various applications various properties of dielectric materials are required as: electrical, mechanical

Thermal Transducers, what is the working of thermal transducers?

what is the working of thermal transducers?

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