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

Project, electrical project produse eneargy desingn

electrical project produse eneargy desingn

Determine the required value of the flux density, Q. A 100-turn coil in the...

Q. A 100-turn coil in the configuration of is rotated at a constant speed of 1200 r/min in a magnetic field. The rms induced voltage across the coil is 1 kV, and each turn has a le

Develop and execute a p spice program, Q. In the circuit shown in Figure th...

Q. In the circuit shown in Figure the switch opens at t = 0. Develop and execute a P Spice program to solve for v(t), and use PROBE to obtain a plot of v(t). Hint: Use the follo

Voltage divider bias, Voltage divider bias: The voltage divide...

Voltage divider bias: The voltage divider is made by using external resistors R 1  and R 2 . The voltage beyond than R 2  forward biases the emitter junction. Via prop

Discuss the assembler directive of offset, Discuss the assembler directive ...

Discuss the assembler directive of OFFSET with example. OFFSET: This is an operator to find out the offset (displacement) of a variable or process regarding the base

Unconditional return, Unconditional Return RET Instruction: This  instr...

Unconditional Return RET Instruction: This  instruction is used to transfer the program sequence  from subroutine to the calling  program unconditionally. The instruction forma

Analysis of semiconductor devices, Analysis of Semiconductor Devices T...

Analysis of Semiconductor Devices There are two complementary techniques of studying semiconductor devices: Via numerical simulation of the semiconductor equation

Evaluate gm and pm for the asymptotic bode plot, Q. The loop gain of an ele...

Q. The loop gain of an elementary feedback control system(see Figure) is given by G(s)·H(s), which is 10/(1+s/2)(1+s/6)(1+s/50). Sketch the asymptotic Bode plot of the loop-gain fu

Explain the term full duplex transmission, Explain the term full duplex tra...

Explain the term full duplex transmission. Data can travel in both directions concurrently. There is no require to switch from transmit to receive mode as in half duplex. It's

Drawing, #question what are the types of lines used there and their applica...

#question what are the types of lines used there and their application ..

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