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 you mean by companding, Q. What do you mean by Companding? In o...

Q. What do you mean by Companding? In order to lower the crest factor of a waveform, so as to produce better performance, a process known as companding is used. It works like a

Show how a 16-to-1 multiplexer implement the logic function, Q. Show how a ...

Q. Show how a 16-to-1 multiplexer can be used to implement the logic function described by the following truth table.

Explain about junction fet, Q. Explain about Junction FET? The JFET is ...

Q. Explain about Junction FET? The JFET is a three-terminal, voltage-controlled current device, whereas the BJT is principally a three-terminal, current-controlled current devi

Determine the value of the load resistance, Q. A60-Hz, 100-kVA, 2400/240-V(...

Q. A60-Hz, 100-kVA, 2400/240-V(rms) transformer is used as a step-down transformer from a transmission line to a distribution system. Consider the transformer to be ideal. (a) F

What is extended memory system, What is XMS? XMS: The memory system is ...

What is XMS? XMS: The memory system is splits in three major parts as: system area, XMS (extended memory system) and TPA (transient program area). The kind of microprocessor in

A, A microstrip antenna system operating at 915MHz must be designed using R...

A microstrip antenna system operating at 915MHz must be designed using Rogers RO3010 substrate with the thickness of 0.635mm.

Substation preventive maintenance scheduling optimization, Introduction: ...

Introduction: The scheduling system that is followed by the maintenance department is not well established and is dependable on employee's personal judgment. There were a lot o

What is the basic principle of oscillators, Q. What is the basic principle ...

Q. What is the basic principle of oscillators?  In an oscillating circuit, the amplitude of voltage or current oscillations decays with time owing to the dissipation of energy

Define johnson counters to make simpler combinational logic, Define Johnson...

Define Johnson Counters to Make Simpler Combinational Logic? The ring counter technique able to be efficiently utilized to implement synchronous sequential circuits. A main pr

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