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

Emi, applications of heterodyne wave analyzer

applications of heterodyne wave analyzer

Briefly explain about laplace transform, Q. Briefly explain about Laplace t...

Q. Briefly explain about Laplace transform? Many commonly encountered excitations can be represented by exponential functions. The differential equations describing the network

What is global positioning satellite, What is Global Positioning Satellites...

What is Global Positioning Satellites (GPS) Global positioning satellite (GPS) systems are used to determine exact location of a car, ship, airplane or any conveyance that trav

Ac netwoks, hello look for someone that could do i lab report form me on ac...

hello look for someone that could do i lab report form me on ac network, the report is due tonight at 12:00 so only have 8 hours left wondering if anyone is interested in do it? ca

Inverting comparator, what is the graph of inverting comparator,if input vo...

what is the graph of inverting comparator,if input voltage less than reference voltage

Transfer function of time multiplexer, How wood a transfer function of a ti...

How wood a transfer function of a time-multiplexer with switching in 10 kHz between 2 channels look like?

What is txd, What is TXD? TXD- Transmitter Data Output This output p...

What is TXD? TXD- Transmitter Data Output This output pin carries serial stream of the transmitted data bits by with other information like start bit, stop bits and priority

Define shifting and reversing – linear system, Define Shifting and Reversin...

Define Shifting and Reversing – Linear System? The signal x[n - m] is said to be time-shifted by m samples, where m is an integer. If m is positive, the shift is to the right (

Monostable delay in matlab, how to implement monostable delay in matlab sim...

how to implement monostable delay in matlab simulink environment? [email protected]

Compute the rated-load efficiency, The following data apply to a 100-kW, 25...

The following data apply to a 100-kW, 250-V, six-pole, 1000-r/min long-shunt compound generator: no-load rotational losses 4000 W, armature resistance at 75°C = 0.015 , series-fie

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