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

What are the modes used in display modes, What are the modes used in displa...

What are the modes used in display modes? 1. Left Entry mode In the left entry mode, the data is going into from the left side of the display unit. 2. Right Entry Mode

Show the characteristics of general - purpose capacitors, Q. Show the Chara...

Q. Show the Characteristics of General - Purpose Capacitors? The working voltage for a capacitor is generally specified by themanufacturer, thereby giving the maximum voltage t

Illustrate inverting operational amplifier, (a) Give the characteristics of...

(a) Give the characteristics of ideal OP-Amp? (b) Illustrate inverting operational amplifier with feedback. get the expression for voltage gain with feedback? Write short not

Determine the duration of the frame, Four voicemessages, each with 3-kHz ba...

Four voicemessages, each with 3-kHz bandwidth, are to be sampled at Nyquist rate, and time- multiplexed with samples taken at twice the Nyquist rate from six analog monitoring sign

Develop and execute a pspice program, Develop and execute a PSpice program ...

Develop and execute a PSpice program to solve for the current I 2 in Figure.

Explain the procedure of binary to hex conversion, Q. Explain the procedure...

Q. Explain the procedure of Binary to Hex Conversion? It is simple to convert from an integer binary number to hex. This is completed by: Break the binary number int

Explain about the term embedded system, Explain about the term embedded sys...

Explain about the term embedded system. An embedded system is a system which has software embedded within computer-hardware that makes a system dedicated for an application(s)

RC coupled transistor amplifier., why we plot graph to find bandwidth is dr...

why we plot graph to find bandwidth is drawn b/w av/avmax v/s frequency not av v/s frequency?

Fereday law.., what does actually feredy law wants to proof.

what does actually feredy law wants to proof.

Fourier deconstruction, Fourier Deconstruction Find the Fourier series ...

Fourier Deconstruction Find the Fourier series as far as the third harmonic, to represent the periodic function y, given by the values in the following table.

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