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

Registers - microprocessors architecture , Registers Various  register...

Registers Various  registers  shown in figure  are discussed  below  in detail.

What is effect of temperature on semiconductor conductivity, What is the ef...

What is the effect of temperature on conductivity of semiconductor? Electrical conductivity of semiconductor changes appreciably along with temperature changes. At absolute zer

Develop an analog computer simulation diagram, Q. Develop an analog compute...

Q. Develop an analog computer simulation diagram to solve the differential equation with y(0) = 2 and ? y(0) = 0.

Weins bridge oscillator, please give me the ckt for wein bridge oscillator ...

please give me the ckt for wein bridge oscillator with 5KHz frequency using transister (with exact values of resistor and capacitor).

Description of the program counter and the data pointer, Questions: a) ...

Questions: a) Give a brief description of the program counter and the data pointer, including their differences. b) Briefly describe what are Byte-Level logical operations

Digital electronics, A universal shift register can shift in both the left-...

A universal shift register can shift in both the left-to-right and right-to-left directions, and it has parallel-load capability. Draw a circuit for such a shift register.

Terms with respect to d.c machine, Q.  Define coil pitch, Back pitch, fron...

Q.  Define coil pitch, Back pitch, front pitch, pole pitch, commutator pitch, resultant pitch, Multiplex winding and degree of Re-entrant of a winding, with respect to a D.C. mach

Determine the 60-hz resistance of line, Q A handbook lists the 60-Hz resist...

Q A handbook lists the 60-Hz resistance at 50°C of a 900-kcmil aluminumconductor as 0.1185/mile. If four such conductors are used in parallel to form a line, determine the 60-Hz r

Find the turns ratio of the ideal transformer, Q. Consider an amplifier as ...

Q. Consider an amplifier as a voltage source with an internal resistance of 72 . Find the turns ratio of the ideal transformer such that maximum power is delivered when the amplif

Digital frequency metre, what is digital frequency metre?working principle ...

what is digital frequency metre?working principle its operation and types application,advantages ,disadvantages

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