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

Explain the johnson counters, Explain the Johnson Counters? The Johnson...

Explain the Johnson Counters? The Johnson counters are a variation of standard ring counters with the inverted output of the last stage fed back to the input of the first stage

Assinment, Ask question #Minimum mechanism of microwave communication 100 w...

Ask question #Minimum mechanism of microwave communication 100 words accepted#

Explain load flow analysis, Explain Load Flow Analysis The method commo...

Explain Load Flow Analysis The method commonly used for load flow analysis is the nodal analysis. The nodal analysis method is given in many books on circuit theory and is base

Magnetic Circuits:, A circular ring of magnetic material has a mean length ...

A circular ring of magnetic material has a mean length of 1m and a cross sectional area of .001m^2.A sawcut of 5mm width is made in the ring . calculate the magnetizing current req

Energy stored in a switched inductor, The increase in the current is buildi...

The increase in the current is building up the magnetic field surrounding the coil. Energy is stored in that field. Consider the energy supplied by the voltage source during the

Explain standard set of procedure used in completing a call, Q. Explain Sta...

Q. Explain Standard set of procedure used in Completing a call? Completing a local telephone call between two subscribers linked to the same telephone switch is accomplished th

Miller sweep circuit, explain the working of miller sweep circuit using op ...

explain the working of miller sweep circuit using op amp ic

Vhdl, Im doing my final year project and Im stuck in vhdl coding. The main...

Im doing my final year project and Im stuck in vhdl coding. The main mission of this project is to design and build a tap changer which is going to be fitted to power transformers

Military services - application of software defined radio, Military Service...

Military Services - Application of Software Defined Radio With the use of SDR technology, the military can reduce radio development costs by providing a common platform to whi

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