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 low-pass filter and amplitude spectra, Q. Let a square-wave v...

Q. Let a square-wave voltage source having an amplitude of 5V, a frequency of 1 kHz, a pulse width of 0.5 ms, and an internal source resistance of 50  be applied to a resistive lo

Show quantization error, Quantization Error Sampling followed by quanti...

Quantization Error Sampling followed by quantization is equivalent to quantization followed by sampling. Figure illustrates a message signal f (t) and its quantized version den

Transistor Amplifier, I need help designing a BJT amplifier with that meets...

I need help designing a BJT amplifier with that meets the following parameters: voltage gain greater than 300, Ic(Vce=0)=2uA, Vcc=20V.

Explain effect of impurity on conductivity of semiconductor, Explain the ef...

Explain the effect of impurity on the conductivity of a semiconductor. To form a semi-conductor conductive, a small amount of appropriate impurity is added. This is then termed

Hlt halt instruction , HLT Halt Instruction The microprocessor halts  ...

HLT Halt Instruction The microprocessor halts  the execution  of the  program and enters into  the wait  state  the address  and data bus are placed in the  high  impedance st

Describe the working of bistable multivibrator, Q. Describe the working of ...

Q. Describe the working of bistable multivibrator A bistable circuit is one which can exit indefinitely  in either of two stable states and which can be induced to make an abru

Determine the coil resistance, Relays a) Sketch the schematic symbol for...

Relays a) Sketch the schematic symbol for a relay with a single pole changeover switch b) Determine the coil resistance and determine the current at 12Vdc c) Connect the r

Compute efficiency of transformer in power factor lagging, Q. A 10-kVA, 200...

Q. A 10-kVA, 200:400-V, single-phase transformer gave these test results: • Open-circuit test (LVwinding supplied): 200V, 3.2 A, 450 W • Short-circuit test (HV winding suppli

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