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

Assigment, what is p-n junction and how its work

what is p-n junction and how its work

Sketch the phasor diagram showing all the voltages, Q. A balanced wye-conne...

Q. A balanced wye-connected load with a per-phase impedance of 4 + j3  is supplied by a 173-V, 60-Hz three-phase source. (a) Find the line current, the power factor, the total

What do you mean by nibble, Q. What do you mean by Nibble? The nibble i...

Q. What do you mean by Nibble? The nibble is a collection of bits on a 4-bit boundary. It would not be a particularly interesting data structure except for two items BCD (binar

Dc machine, explain front pitch and back pich ??

explain front pitch and back pich ??

Magnetic Bond Method:, how does the magnetic bond method work? Application ...

how does the magnetic bond method work? Application of the magnetic bong method & advantages and disadvantages of the magnetic bond method.

Operation of mosfet, Operation of MOSFET The operation of a metal-oxi...

Operation of MOSFET The operation of a metal-oxide-semiconductor field-effect transistor which is abbreviated as MOSFET can be separated into three modes, depending upon the

State advantages of washing machine, State advantagesof Washing machine ...

State advantagesof Washing machine Main advantages are that these washing machines are fully automatic (wash programs are fully stored) it makes them easy to use, they are chea

Summation meters, Summation Meters Summation meters are other special ...

Summation Meters Summation meters are other special categories of meters that are used for recording the total consumption of a consumer fed at more than one point. The major

Explain the phase shifting circuit, Q. Discuss the operation of a transisto...

Q. Discuss the operation of a transistorized phase shift oscillator with the help of a diagram? Explain the phase shifting circuit? An oscillator is a circuit which converts el

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