grad

(method of ODF)

gradient of odf at orientation ori

Syntax

g = odf.grad(ori) % compute the gradient
% go 5 degree in direction of the gradient
ori_new = exp(ori,5*degree*normalize(g))

Input

odf

ODF

ori

orientation

Output

g

vector3d gradient of the ODF at the orientations ori

See also

ODF/eval, orientation/exp