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

Digital Electronics, Design a MOD-6 synchronous counter using J-K Flip-Flop...

Design a MOD-6 synchronous counter using J-K Flip-Flops.

Estimate the change in hysteresis loss, (a) Estimate the hysteresis loss at...

(a) Estimate the hysteresis loss at 60 Hz for a toroidal (doughnut-shaped) core of 300-mm mean diameter and a square cross section of 50mmby 50mm. The symmetrical hysteresis loop f

What do you mean by antenna gain, Q. What do you mean by Antenna gain? ...

Q. What do you mean by Antenna gain? Antenna gain depends on both shape and size. Dipole antennas, commonly used at lower radio frequencies, are made up of a rod or wire of len

Microcontroller programing, assembly language program for finding largest ...

assembly language program for finding largest number from a given array of 8 bit numbers

Tampering of, Damage of revolving metallic disc due to tampering

Damage of revolving metallic disc due to tampering

LED, PRINCIPLE OF LED

PRINCIPLE OF LED

Differentiator.., in case of a differentiator will the amplitude rise or fa...

in case of a differentiator will the amplitude rise or falls?

Physical operation of the junction of diode, Q. Physical operation of the j...

Q. Physical operation of the junction of diode? The physical operation of the junction can be described in terms of the charge-flow processes. Usually there is a greater concen

Explain graphics adapters, Explain graphics adapters. Video card conve...

Explain graphics adapters. Video card converts digital output by the computer in an analog video signal and sends the signal by a cable to the monitor also termed as a graphic

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