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

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

Dc machines, a 400V 4-pole DC generator takes an armature current of 50A wh...

a 400V 4-pole DC generator takes an armature current of 50A when rotating at 626 rpm. the armature circuit resistance is 0,25ohms. determine the generated emf. DOC

Explain about elementary direct-current machines, Q. Explain about Elementa...

Q. Explain about Elementary Direct-Current Machines? A preliminary discussion of dc machines, including Equations. The location of the brushes on the commutator arrangement con

D.c machine, What are the advantages of distributing windings in an alterna...

What are the advantages of distributing windings in an alternator?

Working of self - excited generators, Q. Working of self - excited generato...

Q. Working of self - excited generators? For self-excited generators, residual magnetism must be present in the ferromagnetic circuit of the machine in order to start the self-

Fourier deconstruction, Fourier Deconstruction Find the Fourier series ...

Fourier Deconstruction Find the Fourier series as far as the third harmonic, to represent the periodic function y, given by the values in the following table.

What is the function of ct and p.t, Q. What is the function of CT and P.T a...

Q. What is the function of CT and P.T and where they are used? Ans: The full form of CT is Current transformer and is used for calculating of current. The full form of PT is

Electronic devices and circuits, Determine the change in IC from 25ºC to 17...

Determine the change in IC from 25ºC to 175ºC for the transistor defined in this table for fixed-bias with RB = 240 k and = 100 due to the S(VBE) stability factor.

What do you eman by digital circuits, Q. What do you eman by Digital Circui...

Q. What do you eman by Digital Circuits? The use of nonlinear devices (BJT and FET) in constructing linear amplifiers. Although these devices are inherently nonlinear, their op

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