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

Determine overall power factor of the combined load, Q. Two balanced, three...

Q. Two balanced, three-phase, wye-connected loads are in parallel across a balanced, three-phase supply. Load 1 draws 15 kVA at 0.8 power factor lagging, and load 2 draws 20 kVA at

Explain direct data addressing mode, Direct data addressing mode (with exam...

Direct data addressing mode (with examples) available in microprocessors. Direct Mode: Instruction comprises memory access. CPU accesses which location into memo

Show the decimal to hex conversion, Q. Show the Decimal to Hex Conversion? ...

Q. Show the Decimal to Hex Conversion? To convert the decimal to the hex is slightly more difficult. The usual method to convert from decimal to hex is repeated division by 16.

Discuss about signal distortion in optical waveguides, Discuss about signal...

Discuss about signal distortion in optical waveguides Ans: The major reason for signal distortion within optical waveguide is dispersion. Dispersion of the transmitted

Induction motor, A 100hp,460v,8pole,60hz,star connected 3phase IM runs at 8...

A 100hp,460v,8pole,60hz,star connected 3phase IM runs at 891rpm under full load what is the speed of the rotor field relative to i)rotor structure ii)stator rotating field

Control signals - pins and signals , Control Signals There are two  con...

Control Signals There are two  control  signals and one  special  (ALE) in this  category. All these  signals  are output  signals. RD  (Read  signal ) it is  an active low

Resultant force, State and prove parallelogram law of forces and explain i...

State and prove parallelogram law of forces and explain it''s applications

Various steps in designing the counter, Design a mod-15 counter. Explain th...

Design a mod-15 counter. Explain the various steps in designing the counter

Control systems, why open loop system is stable and why degree of stability...

why open loop system is stable and why degree of stability varies in closed loop system

Explain multimedia extensions technology, Explain MMX Technology. Mult...

Explain MMX Technology. Multimedia extensions technology adds 57 newly instructions to the instruction set of the Pentium - 4 microprocessors. The Multimedia extensions techno

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