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

Name the flag available in status register of 8086, What are the different ...

What are the different flag available in status register of 8086? There are Six flags are present. They are, AF - Auxiliary Carry Flag CF - Carry Flag OF - Ove

Automatic meter reading and remote meter reading, Automatic Meter Reading a...

Automatic Meter Reading and Remote Meter Reading Automatic Meter Reading (AMR) and Remote Meter Reading (RMR) elaborate several systems which permit meters to be checked with

Calculate the approximate donor binding energy, Calculate the approximate d...

Calculate the approximate donor binding energy Calculate the approximate donor binding energy for Si (r = 11.7,m x n = 1.18 m 0 ) Solution: From E= m * n q 4 / 2(4 πε 0

Fet parameters, FET Parameters A basic, low-frequency hybrid-pi model ...

FET Parameters A basic, low-frequency hybrid-pi model for the MOSFET is displayed in figure. The several parameters are as follows. is the transconductance in siemens

Determine IS in the given circuit, Q. Given that V 0 = 10 V, determine IS ...

Q. Given that V 0 = 10 V, determine IS in the circuit drawn in Figure.

Field current and the armature terminal voltage, Consider the operation of ...

Consider the operation of a dc shuntmotor that is affected by the following changes in its operating conditions. Explain the corresponding approximate changes in the armature curre

Image frequency for an fm station, Q. Show that the image frequency for an ...

Q. Show that the image frequency for an FM station does not fall in the range of 88.1-107.9 MHz, regardless of the choice of high- or low-side local oscillator.

Classify the materials based on the energy bands, Classify the materials ba...

Classify the materials based on the energy bands and explain them. Classification of materials based on energy bands: With reference to various band structures demonstrate

What is own-exchange routing, Q. What is Own-exchange routing? Distribu...

Q. What is Own-exchange routing? Distributed routing or own-exchange routing enables alternative routes to be chosen at intermediate nodes. Hence the strategy is capable of res

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