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

Forward bias, Forward bias In forward bias, the p-type is linked with...

Forward bias In forward bias, the p-type is linked with the positive terminal and the n-type is linked with the negative terminal.In forward bias mode the PN junction operati

Off line ups system - power supplies , Off line UPS System Again the tw...

Off line UPS System Again the two  switches  are used in this  type of ups  as online  ups. The difference  is that  here  the main  static  switch  remains normally  ON and UP

Energy conservation building codes, Energy Conservation Building Codes ...

Energy Conservation Building Codes It encompass the norms and standards of energy consumption expressed in terms of per square meter of the area wherein energy is used. The

Two byte instructions , Two byte  Instructions In these  instruction ...

Two byte  Instructions In these  instruction the first byte  specifies  the operations code  and the  second byte  specifies the operand. To identify  two byte  instructions o

Explain state-variable techniques, Q. Explain state-variable techniques? ...

Q. Explain state-variable techniques? The matrix formulations associated with state-variable techniques have largely replaced the block-diagram formulations. Computer software

Compute the real power and inductive load, Q. A 60-Hz, 440-V, three-phase s...

Q. A 60-Hz, 440-V, three-phase system feeds two balanced wye-connected loads in parallel. One load has a per-phase impedance of 8 + j3  and the other 4 - j1 . Compute the real po

Determine the percent voltage regulation of the transformer, The transforme...

The transformer of Example is supplying full load (i.e., rated load of 50 kVA) at a rated secondary voltage of 240 V and 0.8 power factor lagging. Neglecting the exciting current o

Principles behind ecg monitoring, a) Provide pertinent summary of the basic...

a) Provide pertinent summary of the basic principles behind ECG monitoring b) Using MATLAB, provide plots of the "clean" and "noisy" ECG signals. Investigate the spectral es

Unit impulse response of a linear system, Q. The unit impulse response h(t)...

Q. The unit impulse response h(t) of a linear system is h(t) = 5e -t cos(2t - 30°). Determine H(s).

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