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 mean by flow of electron, Flow of electrons - Electrons flow down a...

Flow of electrons - Electrons flow down a wire that is what current, is. Good conductors like copper and silver and aluminum have free electrons in their outer shells, and they jum

Calculate the total head loss between points, Look at figure below and use....

Look at figure below and use.  Water (50°F) flows at 250 gpm through the pipe system at the bottom of this page. All piping is four inch (4") diameter cast iron. The distance betwe

Basic working of star topology, Q. Basic working of Star Topology? In S...

Q. Basic working of Star Topology? In Star topology, all user nodes are connected to central node point that interconnects all individual users links and nodes. Data flows from

Give the properties and application of cotton, Give the properties and appl...

Give the properties and application of cotton. Cotton : It is base material for insulating fibres. Properties: It can be enhanced by impregnating with varnish. 1)

Bcd to excess 3 code converter, What are the industrial applications of the...

What are the industrial applications of the project bcd to excess 3 code converter?

Power system model, #i have an error at in the Matlab power system model..t...

#i have an error at in the Matlab power system model..thus i couldn''t run it...

Calculate the sending end voltage, A 150 km long, 3-phase, 400 kV overhead ...

A 150 km long, 3-phase, 400 kV overhead line is used to transmit 1800 MW to a distribution area at 0.9 power factor lagging. The line parameters per phase and per unit length in st

Diffusion current, Diffusion Current : The carrier currents are also ...

Diffusion Current : The carrier currents are also due to concentration gradients in the doped material which lead to diffusion of carriers from high concentration region to l

Dc, what is quantization noise

what is quantization noise

Split-phase or resistance-split-phasemotor, Q. Split-phase or resistance-sp...

Q. Split-phase or resistance-split-phasemotor? Split-phase or resistance-split-phasemotors: Split-phasemotors have two statorwindings (amainwinding and an auxiliarywinding)with

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