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 the load voltage and the armature current, Q. Two shunt generator...

Q. Two shunt generators operate in parallel to supply a total load current of 3000 A. Each machine has an armature resistance of 0.05and a field resistance of 100. If the generat

#DSP ., #The requirement is as follows- There is a signal which is in the r...

#The requirement is as follows- There is a signal which is in the range of 0 to 5Hz. This signal frequency composition is to determined. The resolution of the determination is 1Hz.

Vlsi, what is the difference between latch and flipflop

what is the difference between latch and flipflop

Explain the procedure for design of sequential circuits, Explain the Proced...

Explain the Procedure for design of Sequential Circuits? The design of the synchronous sequential circuit starts from a set of specifications and culminates in a logic diagram

Prepayment meters, Prepayment Meters Usage of prepayment meters will e...

Prepayment Meters Usage of prepayment meters will extensively improve the revenue collection of the utilities. There are a number of ways in that prepayment assures revenue pr

Operation of zener diode, Operation of Zener Diode The Zener diode's o...

Operation of Zener Diode The Zener diode's operation depends upon the heavy doping of its p-n junction permitting electrons to tunnel from the valence band of the p-type mater

What do you mean by amplifier block, Q. What do you mean by Amplifier block...

Q. What do you mean by Amplifier block? An amplifier can be modeled as a two-port device, that is, a box with two pairs of terminals designated as input and output, as shown in

Types of cells and batteries, Types of cells and batteries are:- a.  C...

Types of cells and batteries are:- a.  Carbon-zinc cell b. Nickel-cadmium cell c.  Alkaline celld.  d.  Edison cell e.  Mercury cell

What is accelerator key, A keyboard shortcut for a command. For example, Ct...

A keyboard shortcut for a command. For example, Ctrl + Alt + Delete are an accelerator key for the task manager in Windows 95.

Determine the signal to noise ratio, Your manager has requested you to revi...

Your manager has requested you to review current techniques for reducing, or eliminating, the effects of external interference upon electronic circuits. He requires a short report

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