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

Find the current, 1. A 1 μm long and 100 μm 2 cross-sectional area silicon...

1. A 1 μm long and 100 μm 2 cross-sectional area silicon bar is doped with 10 16 /cm 3 phosphorous. Use the graph below to: a. Find the current at 300°K with 10 V applie

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

Express the differential equation, A network function is given by ...

A network function is given by (a) For x(t) = δ(t), obtain y(t). (b) For x(t) = u(t), obtain y(t). (c) For x(t) = e -4t , obtain y(t). (d) Express the differenti

Algorithm pseudo code and flow charts , Algorithm  pseudo code and flow  ...

Algorithm  pseudo code and flow  charts Algorithm:   before  writing  the program  the programmer must understand  the problem  for which are  program is to  be written. Then

Lead acid accumulators with electrical equipment, Lead Acid Accumulators : ...

Lead Acid Accumulators : These are the most common storage batteries which can deliver a heavy current when short-circuited. There are also many other hazards with these accumulat

Find the required kva rating of a synchronous capacitor, An industrial plan...

An industrial plant consumes 500 kWat a lagging power factor of 0.6. (a) Find the required kVA rating of a synchronous capacitor to improve the power factor to 0.9. (b) If a

Types of field-effect transistors, Types of Field-Effect Transistors T...

Types of Field-Effect Transistors The channel of a FET (field-effect transistor) is doped to produce either an N-type semiconductor or a P-type semiconductor. The drain and so

Fraction of the total cross section - interaction processes, Determine and ...

Determine and plot for 5 keV to 100 MeV the fraction of the total cross section due to each of the four interaction processes for      (a) hydrogen,      (b) nitrogen,

Find current in bjt, Q. A BJT is biased by the method shown in Figure. If V...

Q. A BJT is biased by the method shown in Figure. If V BEQ = 0.7V, β = 100, V CEQ = 10 V, and I CQ = 5 mA, find I 1 , I 2 , and IEQ.

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