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

Explain the importance of planning in an organisation, Question 1: Plan...

Question 1: Planning is one of the primary functions of management. (a) Explain the importance of planning in an organisation. (b) How can managers develop an effective a

Discuss the disadvantages of an rc coupled amplifier, Q. Discuss the disadv...

Q. Discuss the disadvantages of an RC coupled amplifier? RC coupled amplifiers have a few disadvantages. The resistors use dc power and so the amplifier has low efficiency. The

Resistors, Difference between linear and non-linear resistors

Difference between linear and non-linear resistors

Calculate the reflection of wedge, The corners of wedge-shaped block are A(...

The corners of wedge-shaped block are A(0,0,2), B(0,0,3), C(0,2,3), D(0,2,2), E(-1,2,2) and F(-1,2,3) and the reflection plane goes the Y-axis at 450 between (-X) & (Z) axis. Calcu

Holding current - thyristor , Holding current The holding  current i...

Holding current The holding  current is  the value  of on state  current  required  to maintain  conduction once the  device  the device has  fully timed  on and  the  gate

Explain ionic polarization, Explain i onic polarization. Ionic polari...

Explain i onic polarization. Ionic polarization is polarization that is caused by relative displacements between negative and positive ions in ionic crystals (for illustrati

Find imax and imin, Q. (a) In the circuit shown in Figure the zener diode (...

Q. (a) In the circuit shown in Figure the zener diode (with zero zener resistance) operates in its reverse breakdown region while the voltage across it is held constant at VZ and t

What do you mean by communication channel, Q. What do you mean by communica...

Q. What do you mean by communication channel? The communication channel (transmissionmedium) is the physicalmediumthat is utilized to send the signal from the transmitter to th

Depletion type mosfet, Depletion type MOSFET The channel is of silico...

Depletion type MOSFET The channel is of silicon. It can be two type of channel that is an n-type or p-type channel; it is still mostly silicon. After that, we take note that

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