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

Functions of the physical layer in the internet model, (a) Describe the f...

(a) Describe the four functions of the physical layer in the Internet Model. (b) (i) With the help of a diagram describe the main stages involved in the digitization of a

Distinguish between ferromagnetic and diamagnetic materials, Distinguish be...

Distinguish between ferromagnetic and diamagnetic materials, mentioning at least one example of each. Ferromagnetic Materials: These are materials wherein magnetic dipoles in

Permanent magnets are made of which type of material, Permanent magnets are...

Permanent magnets are made of (A)  Soft magnetic materials.            (B) Hard magnetic materials. (C) Semi conductors.                        (D)  Super conductors.

Forward and reverse battery bias, Forward and Reverse battery bias In ...

Forward and Reverse battery bias In diagram below(a) the battery is arranged that is why the negative terminal supplies electrons to the N-type material. These types of electr

Determine the slip at maximum torque, A three-phase induction motor, operat...

A three-phase induction motor, operating at its rated voltage and frequency, develops a starting torque of 1.6 times the full-load torque and a maximum torque of 2 times the full-l

Explain about stored program control, Q. Explain about Stored Program Contr...

Q. Explain about Stored Program Control? Stored Program Control:   In centralized control, all control equipment is replaced by a single processor which should be quite powerf

What is cascade, An arrangement of Windows so every window is neatly stacke...

An arrangement of Windows so every window is neatly stacked with only the title bar of every window is showing.

Write some disadvantages of loosely coupled systems, Write some disadvantag...

Write some disadvantages of loosely coupled systems More complicated due to the needed additional communication hardware. They are less portable and more expensive because o

Obtain expressions for the in-phase and quadrature component, Q. For DSB an...

Q. For DSB and conventional AM, obtain expressions for the in-phase and quadrature components x d (t) and x q (t), and envelope and phase v(t) and φ(t).

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