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

What do you mean by oscilloscope, Q. What do you mean by Oscilloscope? ...

Q. What do you mean by Oscilloscope? To measure time-varying signals (voltages and currents), an instrument known as an oscilloscope is employed. It can be used as a practical

Increment contents of register - inr instruction , Increment contents of Re...

Increment contents of Register Content  of register  are   incremented  by one and the  results  is stored  in the same  register R. It is an exceptional  case in which  accumu

Compute the maximum flux passing through the coil, Q. The 50-turn coil in t...

Q. The 50-turn coil in the configuration of Figure is rotated at a constant speed of 300 r/min. The axis of rotation is perpendicular to a uniform magnetic flux density of 0.1 T. T

Evaluate the current flowing in the direction from b to a, Q. A beam contai...

Q. A beam containing two types of charged particles is moving from A to B. Particles of type I with charge +3q, and those of type II with charge -2q (where -q is the charge of an e

Define voltage divider rule, Define voltage divider rule Voltage drop a...

Define voltage divider rule Voltage drop at every resistor that connected by serial can be search by using voltage divider rules (VDR).

Diode, #quetunnel diode stion..

#quetunnel diode stion..

Explain the term simplex transmission, Explain the term simplex transmissio...

Explain the term simplex transmission. Data in a simplex channel is always one method. Simplex channels are not frequently used because this is not possible to send back error

Find the diode current and voltage in given circuit, We shall demonstrate l...

We shall demonstrate load-line analysis to find the diode current and voltage, and then compute the total power output of the battery source in the circuit of Figure (a), given the

Illustrate how to replace the ht fuse, Illustrate how to replace the HT Fus...

Illustrate how to replace the HT Fuse on a 6-pole and 4-pole structure? Ans: a) Open switch on 6-pole or 4-pole. b) Connect the discharge rod between earth and conduc

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