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

What are the benefits of ccs over in-channel signalling, Q. What are the be...

Q. What are the benefits of ccs over in-channel signalling? The benefits of CCS over in-channel signalling are listed below: a. Information can be exchange between processor

Ac motors, If the stator windings of an alternator were to be supplied ...

If the stator windings of an alternator were to be supplied by an AC of frequency f (as opposed to drawing an AC current from them as would be the case for an alternator) then

Phase shifter, Hi, I just finish writing my project literature review and ...

Hi, I just finish writing my project literature review and my supervisory asked me to add one part. This part is about Phase Shift. How phase shifters work? In Particular How the

Change in flux linkage, 1. The coil remaining stationary with respect to th...

1. The coil remaining stationary with respect to the flux, the flux varies in magnitude with time. Since no motion is involved, no energy conversion takes place. Equation gives the

Gis technology, GIS technology: GIS could be used to derive diverse in...

GIS technology: GIS could be used to derive diverse information for efficient technical and commercial management of a power distribution utility, e.g., capacity analysis, inv

Explain the voltage regulation, Explain the Voltage Regulation? The per...

Explain the Voltage Regulation? The percent of voltage regulation of a generator is defined as the ratio of the change in voltage from no-load to full-load to the full-load vol

Describe about boltzmann constant, Q. Describe about Boltzmann constant? ...

Q. Describe about Boltzmann constant? The constant η in Figure (b) stands for the noise power spectral density, expressed in terms of power per unit frequency (W/Hz). Statistic

Wien bridge, How i prepare a wien bridge for my college assignemen?

How i prepare a wien bridge for my college assignemen?

Determine the minimum number of poles for the motor, Q. From a three-phase,...

Q. From a three-phase, 60-Hz system, through a motor-generator set consisting of two directly coupled synchronous machines, electric power is supplied to a three-phase, 50-Hz syste

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