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

Carry flag - registers, Carry Fla Registers  The  size  of the accumul...

Carry Fla Registers  The  size  of the accumulator is of 8 bit  if after  any arithmetical  or logical  operation 9 th   bit is generated i e  there is  carry beyond  D 7   bi

calculate the current, Find the Thévenin equivalent for the attache...

Find the Thévenin equivalent for the attached circuit and use this to calculate the current in the load.   Circuit information:- Load consists

Machine, function of a commutator in a DC motor

function of a commutator in a DC motor

What is the impulse response of this filter, Consider the filter h[n,m] des...

Consider the filter h[n,m] describing the input-output relationship below: g[n,m]=f[n-1,m]+ f[n,m-1]+ f[n+1,m]+ f[n,m+1] a)  What is the impulse response of this filter? b

Decimal to binary coded decimal conversions, Decimal to Binary Coded Decima...

Decimal to Binary Coded Decimal Conversions Step1. Separate the digits in the decimal number Step2. Express each of the digits in their binary equivalent Step3. Combine all o

memory to register , Memory  to Register This  instruction is used to...

Memory  to Register This  instruction is used to copy the contents of a memory  locations whose  address is specified by the HL register  pair to any register. Before  using th

What do you mean by phase sequence, Q. What do you mean by Phase Sequence? ...

Q. What do you mean by Phase Sequence? It is standard practice in the United States to designate the phase A-B-C such that under balanced conditions the voltage and current in

Unconditional jump - jump instruction , Unconditional Jump JMP ( Uncon...

Unconditional Jump JMP ( Unconditional Jump ) Instruction: This  instruction is used to transfer  the execution to the  specified  memory  address unconditionally ( does not c

RLC series, What is Average value in AC circuit?

What is Average value in AC circuit?

Successive approximation adc, Successive approximation ADC One method ...

Successive approximation ADC One method of addressing digital ramp ADC's shortcomings is so-called successive approximation ADC. Only change in this design is a very special c

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