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

Discuss some features of pentium series of microprocessors, Discuss some fe...

Discuss some features of Pentium series of microprocessors. The Pentium is a CISC microprocessor, 32-bit superscalar.  The term superscalar is utilized for the processor that

Tariff filing, Tariff Filing Asset-wise details for each business ...

Tariff Filing Asset-wise details for each business of licensee; Audited accounts and financial statements, including cash flows for the preceding years and monthly bal

Usage of transistor, Usage of transistor: The bipolar junction transis...

Usage of transistor: The bipolar junction transistor that is abbreviated as BJT was the most generally used transistor in the 1960s and 70s. Even later than MOSFETs became ext

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

Find the fourier-series expansion of the pulse train, The rectangular pulse...

The rectangular pulse train of Figure (a) consists of pulses of height A and duration D. Such pulse trains are employed for timing purposes and to represent digital information. Fo

Find out the equivalent two-port amplifier model, Refer to the circuit show...

Refer to the circuit shown below containing a two-port network. The two-port is a transconductance amplifier. The input port of the two-port is defined by terminals A and B. T

How to convert binary to decimal number, Q. How to convert Binary to Decima...

Q. How to convert Binary to Decimal number system? It is extremely easy to convert from a binary number to a decimal number. As like the decimal system, we multiply each digit

Can you explain noninverting amplifier, Q. Can you explain Noninverting Amp...

Q. Can you explain Noninverting Amplifier? It is called "noninverting" because there is no sign inversion. A typical circuit is shown in Figure. With a finite op-amp gain Ao,

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