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

Discuss one application of 8254 programmable interval timer, Discuss any on...

Discuss any one application of 8254 Programmable Interval Timer in detail. Mode1 causes the counter to treat as a retriggerable monostable multivibrator one shot. The G inpu

Mesh analysis, i am battling with mesh, node anaalysis, superposition, node...

i am battling with mesh, node anaalysis, superposition, node thevenin and norton equivalents

Determine the rotor speed, A four-pole, three-phase inductionmotor is energ...

A four-pole, three-phase inductionmotor is energized from a 60-Hz supply. It is running at a load condition for which the slip is 0.03. Determine: (a) The rotor speed in r/min.

FET, WHAT IS FET

WHAT IS FET

What is the basic working of decoders, Q. What is the basic working of Deco...

Q. What is the basic working of Decoders? An n-bit binary code is capable of encoding up to 2 n distinct elements of information. A decoder is a combinational network that decode

How to connect the coil to the supply, A coil has an inductance of 1.2H and...

A coil has an inductance of 1.2H and a resistance of 40? and is connected to a 200 V, d.c. supply. Verify the approximate value of the current flowing 60 ms after connecting the co

Kpi for second stage implementation, KPI for Second Stage Implementation ...

KPI for Second Stage Implementation These KPIs deal along with the quality of the relationship among a supplier and a user (customer). They are significant to potential custom

Superhet receiver, Write a short summary of the AM superhet receiver, in ex...

Write a short summary of the AM superhet receiver, in exacting consider how the demodulation stage works, and remark on the choice of component values used.

Differentiate between limiting and known errors, Q.   With suitable example...

Q.   With suitable examples differentiate between limiting and known errors. Sol. Limiting Errors (Guarantee Errors): The accuracy and precision of an instrument depends upon

Embedded systems design, You have been requested by your Senior Engineer to...

You have been requested by your Senior Engineer to design a lift control unit (LCU) and prepare a report detailing your proposed solution. The client requires a microcontroller bas

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