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

Selection of proper fuse in electricity and gas hazards, Selection of Prope...

Selection of Proper Fuse : Fuse is a safety device or a wire of metal in a cut-out which may be fused by an excessive current. The current drawn by an appliance is restricted by t

Illustrate in detail b-spline and cubic bezier surfaces, Define ruled surfa...

Define ruled surface and surface of revolution. Illustrate in detail B-spline and cubic Bezier surfaces with their important properties.

Explain n - type semiconductor, Explain n - Type semiconductor. n - ...

Explain n - Type semiconductor. n - Type semiconductor:- (i) If small amount of pentavalent impurity is added with, to a pure semiconductor giving a large number of free

Write a note on superconductors, Write a note on superconductors. Super...

Write a note on superconductors. Superconductors- The resistivity of most metals rises with increase in temperature and vice-versa. Some metals and chemical compounds are there

Determine radius of curvature of concave spherical mirror, The focal length...

The focal length of a concave spherical mirror is equal to 1 meter. What is the radius of curvature of this mirror? Ans: The radius of curvature of this mirror is 2 meter.

In given block diagram find geq, Q. Show that the block diagram of Figure c...

Q. Show that the block diagram of Figure can be reduced to the form of Figure. Find G eq (s) and H eq (s).

Effect of frequency - stepper motor , Effect of Frequency a.From equa...

Effect of Frequency a.From equation for given  H p and μ P v α √f b.From  equation the depth of penetration for a given  material δ α 1/ √f c.From  equation hyst

Comparison between motorola processors and intel processors, Differentiate ...

Differentiate between Motorola processors and INTEL processors. Comparison between Motorola processors and INTEL processors: AMD/Intel processors are actually about similar t

Auxiliary carry fla - registers, Auxiliary Carry Fla - Registers If ca...

Auxiliary Carry Fla - Registers If carry  is generated  from D 3   to D 4 in the accumulator after any arithmetical or logical  operations. Auxiliary  carry flag (AC) is set

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