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

Determine the node voltage by using kcl, Determine the node voltage by usin...

Determine the node voltage by using KCL: Determine the node voltage V and then current flowing through each element by using KCL. Solution Apply KCL at the node whose

Determine the rated stator current, A three-phase, wye-connected, 2300-V, f...

A three-phase, wye-connected, 2300-V, four pole, 1000-kVA, 60-Hz synchronous machine has a synchronous reactanceXs = 5, a field resistance Rf = 10, and an approximately linear ma

Power analyser, Explain frequency selective wave analyser with bandwidth

Explain frequency selective wave analyser with bandwidth

Determine the transfer function and driving-point impedance, Q. A filter is...

Q. A filter is a network employed to select one range of frequencies while rejecting all other frequencies. A basic building block often used in integrated-circuit filters is shown

Multitasking - single processor many users many tasks , Multitasking -  Si...

Multitasking -  Single Processor Many Users Many  Tasks In multitasking or also  called  time sharing  systems  multi  user  more than  one users are sharing  one processor

Explain about dial pulses, Q. Explain about Dial Pulses? Dial pulsing (...

Q. Explain about Dial Pulses? Dial pulsing (sometimes known as rotary dial pulsing) is the method basically used to transfer digits from a telephone set to the local switch. Pu

Find temperature coefficient of resistance in semiconductors, Semi-conducto...

Semi-conductors have temperature coefficient of resistance.  (A) Negative                                    (B) Positive (C) Both positive and negative        (D) none o

Variable capacitors, how can I simulate air variable capacitors in cst simu...

how can I simulate air variable capacitors in cst simulator?

Find the current Flow, Q. A charge q(t) = 50+1.0t C ?ows into an electric c...

Q. A charge q(t) = 50+1.0t C ?ows into an electric component. Find the current ?ow.

CRO, draw a labled diagram of CRO and explain the function of its parts

draw a labled diagram of CRO and explain the function of its parts

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