gradient direction of edges
theta = getangle(DeltaX, DeltaY)
M x N
intensity images, resulting from convolution
with gradient masks in two orthogonal directionsDeltaX
is zero,
theta
is taken as PI/2.The function getangle
obtains the gradient direction theta
from images yielded from convolution with gradient masks in direction x and y (DeltaX
and DeltaY
, respectively).
http://siptoolbox.sf.net