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

Magnetic circuits, Suppose we have a coil wound onto a ring of material wit...

Suppose we have a coil wound onto a ring of material with relative permeability µ r . Provided that the relative permeability µ r  >> 1, then the magnetic flux lines will s

Software development for a typical microprocessor, Estimate the software ta...

Estimate the software tasks required for developing the product. These are likely to include the development of various software routines, associated documentation and verification

Diode schematic symbol, Diode Schematic Symbol The diode in figure is ...

Diode Schematic Symbol The diode in figure is a unidirectional device. Electron current just only flows in one direction, against the arrow, corresponding to forward bias. The

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.

FET operation, ON output plot of a JFET n-channel transistor if ID is close...

ON output plot of a JFET n-channel transistor if ID is close to IDSS does the value of VGS close to VP?

Mention the categories of instruction, Mention the categories of instructio...

Mention the categories of instruction and give two examples for each category The instructions of 8085 can be categorized into the following five Data transfer MOV Rd,Rs

Name the effects of electric current, Name the Effects of electric current ...

Name the Effects of electric current There are three Effects of electric current:- A) magnetic effect B) chemical effect C) heating effect

Commutation in dc machines, Currents induced in armature conductors of a d....

Currents induced in armature conductors of a d.c. generator are alternating. To make their flow unidirectional in the external circuit, we need a commutator. Moreover, these curren

Show that the output will be high, Considering the TTL NAND gate circuit of...

Considering the TTL NAND gate circuit of Figure, with one or more inputs low, show that the output will be high.

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