📄 crvlt_getangle.m
字号:
function ang = crvlt_getangle(idx, totnr)% crvlt_getangle(idx, totnr)%% This function gives the angles for oscillating direction of curvelets % with direction indices idx% when the total number of directions on this level is totnridxinq = mod(idx-1,totnr/4); % index in quadrantquadrant = floor((idx-1) / (totnr/4));slope = ((totnr/8) - idxinq - 0.5)/(totnr/8);ang = atan(slope) + pi/2 - pi/2 * quadrant;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -