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

Determine the performance of the circuits, Many circuits, particularly ampl...

Many circuits, particularly amplifiers, use negative feedback (nfb) in order to function reliably. The nfb changes the performance of the circuit to which it is applied, in most ca

Explain generating mode of rotating machines, Q. Explain Generating mode of...

Q. Explain Generating mode of rotating machines? The generating mode has mechanical power input and electric power output. The torque T applied externally to the shaft drives t

Define electrical energy, Electrical energy If the power is measured in...

Electrical energy If the power is measured in watts and the time in seconds then the unit of energy is watt- seconds or Joules.

Find the transmitters unmodulated carrier power, At the transmitter in a st...

At the transmitter in a standard AM system, P f = 50 W. In the receiver (S 0 /N 0 ) AM = 250 when (S i /N i ) AM = 3000. Find the transmitter's unmodulated carrier power and t

Registers - introduction to microprocessors , Registers A resister is ...

Registers A resister is  a group  of flip  flops  or binary  cells which holds  the binary information. Since  a binary cell  stores  one  bit of  information  an n bit  regis

Bidirectional shift register, Design 2-bit bidirectional shift register? ...

Design 2-bit bidirectional shift register? ## A list of ten 8-bit numbers is located at address $5000. Write a 68000 Assembly program (flowchart and code) to sort those numbe

Revenue protection and technology interventions in metering, Revenue Protec...

Revenue Protection and Technology Interventions in Metering The power supply industry has reached an impasse where urgent steps are needed to improve the financial health of t

Explain the working of direct memory access controller, Explain the various...

Explain the various modes in which DMAC works. Working of Direct memory access controller: The modes of operation has demand mode, block mode, single mode and cascade mode.

Determine overall power factor of the combined load, Q. Two balanced, three...

Q. Two balanced, three-phase, wye-connected loads are in parallel across a balanced, three-phase supply. Load 1 draws 15 kVA at 0.8 power factor lagging, and load 2 draws 20 kVA at

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