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

Latch - introductio to microprocessors , Latch A 8 bit  latch comprise...

Latch A 8 bit  latch comprises of transparent latch D flip  flop. It is commonly  used  to interface output  device with  microprocessor. A typical example of such 8 bit  latc

Compareson, compear copper and aluminum conductore in termes of price ,weig...

compear copper and aluminum conductore in termes of price ,weight,resistance for equal length .

Find the magnetic-field force exerted on the moving bar, Consider the arran...

Consider the arrangement shown in Figure. A conductor bar of length l is free to move along a pair of conducting rails. The bar is driven by an external force at a constant velocit

Magnetic field due to an electric current, Magnetic field due to an electri...

Magnetic field due to an electric current   Let a piece of wire be arranged to pass vertically by a horizontal sheet of cardboard, on which is placed few iron filings.  If a curr

System diagram of complex programmable logic device, The system diagram for...

The system diagram for the proposed unit is shown below. The system operates on the principle of Time to Rate Conversion. Signals from the heart beat sensor are amplified

Dc electric motors, T h er e are three main types -   The Shu...

T h er e are three main types -   The Shunt Connected DC motor in which the armature coils are connected in parallel with the field coils   The Serie

Explain frequency response curve of a rc coupled amplifier, Q. Explain the...

Q. Explain the frequency response curve of a  RC coupled amplifier The frequency response curve of a typical RC coupled Amplifier is shown below: In mid frequency range

Define not gate - microprocessor, Define NOT Gate - Microprocessor? The...

Define NOT Gate - Microprocessor? The NOT GATE which is as well called an Inverter, is used to invert the logic state of a signal. The output Q is true while the input A is NOT

Inquire, how we can say that 3 phase induction motor is short curcited pra...

how we can say that 3 phase induction motor is short curcited practically?

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