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

Customer service management, Customer Service Management CRM involves ...

Customer Service Management CRM involves several activities related to planning - both long terms and short terms, measurement and control, improvement and innovation of all a

Illustrate signal attenuation, Q. Illustrate Signal attenuation? Signal...

Q. Illustrate Signal attenuation? Signal attenuation in many channels can be offset by using amplifiers to boost the signal level during transmission. However, the amplifier al

Determine the dielectric constant of slab, Determine the Dielectric constan...

Determine the Dielectric constant of slab: An air capacitor contains two parallel plates 10 cm 2 in area and 0.5 cm apart. While a dielectric slab of area 10 cm2 and thicknes

Explain branch prediction logic in pentium, Explain Branch prediction logic...

Explain Branch prediction logic in Pentium. Branch prediction logic in Pentium: The Pentium microprocessor utilizes branch prediction logic to decrease the time needed for a

Drift current density and conductivity, Drift Current Density and Conductiv...

Drift Current Density and Conductivity: Consider a conductor of length / meters and cross sectional area a square meters, as shown in Fig. Let the number of free electrons ava

Frequency stability of quartz crystals, Q. Frequency stability of quartz cr...

Q. Frequency stability of quartz crystals ? The amount of frequency deviation from the ambient temperature frequency over the operating temperature range. This deviation is ass

Increase in ht and lt ratio, Increase in HT and LT Ratio It is well kn...

Increase in HT and LT Ratio It is well known that for high HT/LT ratio, the losses will be low. The losses for a given quantum of power supplied through a line are inversely p

Emitter follwer, Ask questertion #Minimum 100 words accepted#

Ask questertion #Minimum 100 words accepted#

Dc motor, write the working and construction of dc motor.

write the working and construction of dc motor.

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