crvlt_getangle.m
来自「Edge detection in microscopy images usin」· M 代码 · 共 16 行
M
16 行
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 + =
减小字号Ctrl + -
显示快捷键?