📄 webinfo.txt
字号:
http://www.eecs.berkeley.edu/Research/Projects/CS/vision/stellayu/
/*================================================================
* function [i,j] = cimgnbmap([nr,nc], nb_r, sample_rate)
* computes the neighbourhood index matrix of an image,
* with each neighbourhood sampled.
* Input:
* [nr,nc] = image size
* nb_r = neighbourhood radius, could be [r_i,r_j] for i,j
* sample_rate = sampling rate, default = 1* Output:* [i,j] = each is a column vector, give indices of neighbour pairs* UINT32 type* i is of total length of valid elements, 0 for first row* j is of length nr * nc + 1** See also: imgnbmap.c, id2cind.m*
* Examples:
* [i,j] = imgnbmap(10, 20); % [10,10] are assumed
*
* Stella X. Yu, Nov 12, 2001.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -