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

Combinational-sequential, Design combinational-sequential electronic logic ...

Design combinational-sequential electronic logic gate circuit for a car wash....

Explain nodes analysis, Nodes analysis Analysis using KCL to solve for ...

Nodes analysis Analysis using KCL to solve for voltages at every common node of the network and as determines the currents by and voltages across every elements of the network.

Explain in detail the operation of 8255 in mode 1, Explain in detail the op...

Explain in detail the operation of 8255 in mode1 taking suitable example. In mode1, Ports A and B are programmed as input or output ports and Port C is used for handshaking.

Find the fourier series for the square wave, (a) Find the Fourier series fo...

(a) Find the Fourier series for the square wave shown in Figure(a). (b) Let a voltage source having the waveform of part (a) with a peak value of 100 V and a frequency of 10 Hz

Single Phase Induction Motor, How do I connect a Capacitor on the machine i...

How do I connect a Capacitor on the machine if it has a start mechanism

Illustrate the internal architecture of 8085, Microprocessor 1. Write a...

Microprocessor 1. Write an assembly language program to find the highest among two numbers. 2. Draw and illustrate the internal architecture of 8085 briefly. 3. What is t

What do you mean by negative impedance converter, Q. What do you mean by Ne...

Q. What do you mean by Negative Impedance Converter? The op-amp circuit of Figure causes a negative resistance R in between the input terminal and ground. In the more general

What are the duties of sub-station operator, What are the Basic Duties of S...

What are the Basic Duties of Sub-Station Operator? Ans: Sub station operator is responsible for safe and proper operation of all electrical equipments in sub-station. He co

Commercial television broadcasting, Commercial television broadcasting is a...

Commercial television broadcasting is allocated frequencies that fall in the VHF and UHF bands. Table lists the television channel allocations in the United States, with the channe

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