No BSD License
-
SHRotate(r, degree)
Rotation Matrices for Real Spherical Harmonics. Direct Determination by Recursion
-
angular_correlation(coeff_u,c...
Angular correlation between spherical harmonics profiles
-
compute_GA(coeffs)
COMPUTE_GA computes generalized anisotropy of a spherical profile
-
compute_Ylm(L, M, THETA, PHI)
Evaluate the spherical harmonic function of degree l and order m
-
compute_magnitude(coeff, degr...
Compute the magnitude of spherical harmonics coefficients at each band
-
construct_SH_basis (degree, s...
Construct spherical harmonics basis matrix at specified points.
-
construct_basis_from_grid(deg...
Construct spherical harmonics basis evaluated at grid points
-
find_peaks(coeff, init_pos)
Search the peaks of a spherical function represented by SH coefficients
-
real_spherical_harmonics(angl...
Given a real-valued spherical function represented by spherical harmonics coefficients,
-
rotate_coeff(src, rotation, d...
-
test_rotation.m
-
View all files
from
Real-Valued Spherical Harmonics
by Bing Jian
some useful spherical harmonics routines
|
| angular_correlation(coeff_u,coeff_v)
|
%% Angular correlation between spherical harmonics profiles
%% Reference:
%% Adam W. Anderson.
%% Measurement of Fiber Orientation Distributions Using High Angular Resolution Diffusion Imaging.
%% Magn. Reson. Med., 54(5):1194-1206, 2005. (Eq.(71))
%% Example:
%% [corr] = angular_correlation(coeff_u,coeff_v);
function [corr] = angular_correlation(coeff_u,coeff_v)
%%=============================================================
%% Project: Spherical Harmonics
%% Module: $RCSfile: angular_correlation.m,v $
%% Language: MATLAB
%% Author: $Author: bjian $
%% Date: $Date: 2007/12/27 06:23:35 $
%% Version: $Revision: 1.3 $
%%=============================================================
corr = (coeff_u'*coeff_v)/(norm(coeff_u)*norm(coeff_v));
|
|
Contact us at files@mathworks.com