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 macro, What do you mean by Macro? MACRO : A seque...

What do you mean by Macro? MACRO : A sequence of instructions to that a name is assigned is termed as macro. Macros and subroutines are same. Macros are utilized for short se

Turn off time - thyristor, Turn off Time The time  interval  between...

Turn off Time The time  interval  between  the instant when  the SCR  current  has  decreased to zero  after external  switching  of the SCR  voltage  circuit  and the  inst

Explain overhead lines and transformers, Explain Overhead Lines and Transfo...

Explain Overhead Lines and Transformers? Overhead lines absorb reactive power when fully loaded. A line with a current I A, a line reactance of X L ?/phase absorbs I 2 X L V

Lda load accumulator direct instruction, LDA  Load Accumulator Direct Inst...

LDA  Load Accumulator Direct Instruction This instruction is used to copy  data from  memory whose  address is directly specified in the  instruction to th e accumulator. The i

Define intermodal dispersion, Define intermodal dispersion? Dispersion...

Define intermodal dispersion? Dispersion of the transmitted optical signal causes distortion for both digital and analog transmitted signal. The dispersion causes broadening o

Explain the high-frequency response of fet amplifier, Q. Explain the high-f...

Q. Explain the high-frequency response of FET amplifier?  The analysis for the high frequency response of the FET amplifier is almost the same as that of the BJT amplifier. The

Explain the significance of the coupling capacitor, Q. Explain the signific...

Q. Explain the significance of the Coupling capacitor and the RE - CE circuit. The function of the coupling capacitor is to isolate the amplifier input circuit from the source.

Dc generators, How do i calculate critical resistance?

How do i calculate critical resistance?

Calculate the resistivity of an alloy of copper, The resistivity of pure co...

The resistivity of pure copper is 1.56 micro-ohm -cm.  An alloy of copper contains 1 atomic percent nickel has a resistivity of 2.81 micro-ohm-cm. An alloy of copper containing 3-

Single Phase Induction Motor, How do I connect a Capacitor on the machine i...

How do I connect a Capacitor on the machine if it has a start mechanism

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