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

How to calculate back pitch, Q.   A 6 - pole, DC armature with 36 slots and...

Q.   A 6 - pole, DC armature with 36 slots and 2 coil - slides/slot is to be wave wound (double layer). Calculate the back pitch, front - pitch and commentator pitch. How many dumm

Evaluate the travel time of signal, Suppose that the length of a 10Base-5 ...

Suppose that the length of a 10Base-5 cable is 2500 metres. If the speed of propagation in a thick co-axial cable is 60% of the speed of light, how long does it take for a bit to

Define permanent magnet, Define permanent magnet A permanent magnet is ...

Define permanent magnet A permanent magnet is a piece of ferromagnetic material (like as iron, nickel or cobalt) which has properties of attracting several pieces of these mater

Switching characteristics - power semiconductor devices, Switching charact...

Switching characteristics When  a positive signal  is applied GTO starts  conducting before  initiation of  conduction anode  current  is zero  and anode to cathode voltage Va

Critical field circuit resistance and critical speed, Q.   Define and expla...

Q.   Define and explain the critical field circuit resistance and critical speed of a DC shunt generator.   Ans. The OCC and R - line for a DC shunt generator. As, R f is

Find the duration t of the pulse, By a simple time multiplexing of natural ...

By a simple time multiplexing of natural samples over a single line, a large radar site transmits 85 analog signals, each with 200-Hz bandwidth. If the sampling is done at twice th

Ins increment register pair instruction , INS  Increment Register Pair Ins...

INS  Increment Register Pair Instruction Contents of the registers pair R P will be  incremented by one  and the  result  will be stored  in the  same  register pair. It is

Traffic light display, Traffic Light Display Design a three color LED sy...

Traffic Light Display Design a three color LED system with the following times for each LED: Duration of Green signal : 16s Duration of Yellow signal : 1s Duration of R

Solid state devices, what are the significance of solid state devices in el...

what are the significance of solid state devices in electrical engineering

Calculate the power factor of the motor, A 3 phase 400 volt(line to line) w...

A 3 phase 400 volt(line to line) wye connected synchronous motor has Xs= 1 ohm per phase and a negligible armature resistance. The field current is so adjusted that the internal(in

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