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

Determine thevinin and norton equivalent circuit, Design and simulate by us...

Design and simulate by using multisim software a series voltage regulator to supply 1A to a load at a constant voltage of 9V. The supply voltage to regulator is 15V±10%. The minimu

Beem, Ballistic galvanometer

Ballistic galvanometer

Intrinsic material, Int r insic Material A perfect semicon...

Int r insic Material A perfect semiconductor crystal with no impurities or lattice defects. No carriers at 0 K, since the valence band is completely full and t

Determine the capacitor voltage, Q. In an RLC series circuit excited by a v...

Q. In an RLC series circuit excited by a voltage source v(t), for R = 10 , L = 1 H, and C = 0.1F, determine v(t) if the capacitor voltage vC(t) = 5e -10t V.

Determine the flux, Q. Consider themagnetic circuit of Figure. Let the cros...

Q. Consider themagnetic circuit of Figure. Let the cross-sectional area AC of the core, be 16 cm 2 , the average length of the magnetic path in the core lC be 40 cm, the number

Ideal operational amplifier, list the key parameters to describe the ideal ...

list the key parameters to describe the ideal operational amplifier

Calculate area of heating surface, Question: An evaporator is a device ...

Question: An evaporator is a device in which a feed stream is concentrated by boiling a solution. A combination of heating and reduced pressure are used to induce the boiling.

Constant voltage from solar panel, circuit for the buck boost regulator con...

circuit for the buck boost regulator connected to a ic regulator , my voltae range is 5v to 24v?

Define the half duplex with respect to serial communication, With respect t...

With respect to serial communication define the half duplex. Half Duplex Transmission: A channel of half duplex can send and receive, but not at same time. It's like a one-la

Obtain an expression for b, Q. Consider an infinitely long, straight wire (...

Q. Consider an infinitely long, straight wire (in free space) situated along the z-axis and carrying current of I A in the positive z-direction. Obtain an expression for ¯B everywh

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