Image gradient, Electrical Engineering

Assignment Help:

Image gradient

Write an m-file "grad.m" which computes and displays gradient and orientation of an input image (use Gaussian derivatives).
To compute Gaussian derivative in one dimension you need to perform differentiation in one dimension and smoothing in the other dimension.

( you have to compute 4 convolutions ).

function grad(imn,sigma)

gx=gauss_x(sigma);
g=gauss(sigma);
imgx=conv2(imn,gx);
imgxg=conv2(imgx,g');
figure(1);
imshow(imgxg,[]);

imgy=?
imgyg=?
figure(2);
imshow(imgyg,[]);

grad=?
figure(2);
imshow(grad,[]);

ori=atan2(imgyg,imgxg);
imshow(ori,[])

What the gradient represents in an image? What other kernels can be used to compute the gradient?


Related Discussions:- Image gradient

Sketch the phasor diagram of the voltage, Q. The line-to-line voltage of a ...

Q. The line-to-line voltage of a balanced wye connected three-phase source is given as 100 V. Choose V AB as the reference. (a) For the phase sequence A-B-C, sketch the phasor

Probability assignment, how probability help in the field of electrical tel...

how probability help in the field of electrical telecommunication engineering?

#signal processing, how to break a signal into time components

how to break a signal into time components

Motor: power production, The mechanical power produced at the armature of a...

The mechanical power produced at the armature of a motor is: P = T a . (power is in watts if torque is N.m and    in rad/sec). Some of this will be lost due to friction and

Find the voltage at the load terminal, Q. Two three-phase generators are su...

Q. Two three-phase generators are supplying to a common balanced three-phase load of 30 kW at 0.8 power factor lagging. The per-phase impedance of the lines connecting the generato

Calculate the iron loss, Q. The efficiency of a 400-kVA, single-phase, 60-H...

Q. The efficiency of a 400-kVA, single-phase, 60-Hz transformer is 98.77% when delivering full-load current at 0.8 power factor, and 99.13%with half rated current at unity power fa

Module of the rated currents - transformer, Module of the rated currents - ...

Module of the rated currents - transformer: The transformer of the Face(Figure) 2 is a transformer of type Delta-Y (the neutral of Y is grounded). The rated output is of 1500

State fleming''s right-hand rule, Fleming's Right-hand rule states: Let ...

Fleming's Right-hand rule states: Let the thumb, first finger and second finger of the right hand be extended such that they are all at right angles to every other. If the first

Ac motors, AC Motors DC motors that have their magnetic fields produce...

AC Motors DC motors that have their magnetic fields produced by coils as described earlier can, in principle,  be powered from AC as well, since if the applied voltage reverse

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