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

Show common signal-processing operations, Q. Show Common signal-processing ...

Q. Show Common signal-processing operations? Common signal-processing operations include the following: • Amplification to compensate for attenuation • Filtering to reduc

Metering techniques, Metering Techniques The techniques of metering co...

Metering Techniques The techniques of metering could be categorized depending upon the voltage at which consumers are fed as: 1. LT (Low Tension) Metering, and 2. HT (Hi

What is the signal classification of 8085, What is the signal classificatio...

What is the signal classification of 8085 All the signals of 8085 can be classified into 6 groups Address bus Data bus Control and status signals Power supply and f

What is balanced budget, Q. What is Balanced Budget? Balanced Budget: A...

Q. What is Balanced Budget? Balanced Budget: An annual budget (like for a government) in that revenues perfectly offset expenditures, so that there is neither a deficit nor a s

State the principle of operation of a capacitor, a. Describe why a three-ph...

a. Describe why a three-phase induction motor rotates always with a speed less than the synchronous speed. b. State the principle of operation of a capacitor start single-phase

Allocative efficiency, Allocative Efficiency: A neoclassical concept refer...

Allocative Efficiency: A neoclassical concept referring to allocation of productive resources (labour, capital, etc.) in a manner that best maximizes well-being (or 'utility') of

Explain the working of rectifier circuits, Q. Explain the working of Rectif...

Q. Explain the working of Rectifier Circuits? A simple half-wave rectifier using an ideal diode is shown in Figure(a). The sinusoidal source voltage v S is shown in Figure (b)

Advantage of digital technology, Q. Advantage of digital technology? Th...

Q. Advantage of digital technology? The primary advantage of digital technology is the low cost, simplicity, and versatility of the digital building blocks. Because digital sig

Encoder, decimal to BCD code encoder active low

decimal to BCD code encoder active low

Current trasnsformer, A 13.8 kV feed er circui t breaker has a 600:5 multir...

A 13.8 kV feed er circui t breaker has a 600:5 multira tio curr ent transform er with charact eristics as show n in Figure 5.11. Th e max - imum load on the feed er is 80 A pri mar

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