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

Design the synchronous sequential circuit for state diagram, Design the Syn...

Design the Synchronous Sequential Circuit for State Diagram Illustration: - We wish to design the synchronous sequential circuit whose state diagram The kind of flip-f

Electromagnetic Computational (MATLAB), Hey Dear i have a hw in MATLAB by a...

Hey Dear i have a hw in MATLAB by applying Finite Element Method there(Electromagnetic) and i need your help with it. please take alook at the question and let me know if you can h

Fourier Series, State by inspection (i.e. without performing any formal ana...

State by inspection (i.e. without performing any formal analysis) all you can about each of the periodic waveforms shown in FIGURE 1 in terms of their Fourier series when analysed

What do you understand by dram and its refreshing, What do you understand b...

What do you understand by DRAM and its refreshing? Dynamic RAM (DRAM) is fundamentally the same as SRAM, but this retains data for only 2 or 4 ms on an internal capacitor. But

Determine thevinin and norton equivalent circuit, Design and simulate by us...

Design and simulate by using multisim software a series voltage regulator to supply 1A to a load at a constant voltage of 9V. The supply voltage to regulator is 15V±10%. The minimu

Differences between a timer and a counter, Question : a) Embedded Syste...

Question : a) Embedded Systems will be Hard Real-Time Systems, Soft Real-Time Systems and Hybrid Real-Time Systems. Briefly explain all three types of Real-Time Systems, using

Calculate the voltage rating and magnetizing current, 1. For the flyback co...

1. For the flyback converter operating in the discontinuous "current" (flux) mode, derive an expression for the time at which the magnetizing current returns to zero. 2. A forwa

Use of computers in power systems, Q. Use of Computers in Power Systems? ...

Q. Use of Computers in Power Systems? The control and stability of any electric power system is indeed extremely important, in particular when a system is expected to maintain

Determine the value of rl, Q For the circuit of Figure: (a) Find an...

Q For the circuit of Figure: (a) Find an expression for the power absorbed by the load as a function of R . (b) Plot the power dissipated by the load as a function of th

Status signals - pins and signals , Status Signals There are three st...

Status Signals There are three status  signals IO/M s and s 1 . All  these  signals  are output  signals. IO/ M - it is a status  signals  used to distinguish  whether  the

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