diff options
Diffstat (limited to 'SD-VBS/common/toolbox/toolbox_basic/pyramid/expand.m')
-rwxr-xr-x | SD-VBS/common/toolbox/toolbox_basic/pyramid/expand.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SD-VBS/common/toolbox/toolbox_basic/pyramid/expand.m b/SD-VBS/common/toolbox/toolbox_basic/pyramid/expand.m new file mode 100755 index 0000000..64e9fda --- /dev/null +++ b/SD-VBS/common/toolbox/toolbox_basic/pyramid/expand.m | |||
@@ -0,0 +1,8 @@ | |||
1 | function J = expand(I) | ||
2 | % | ||
3 | % | ||
4 | |||
5 | [sy,sx] = size(I); | ||
6 | [x,y] = meshgrid(1:2*sx+1,1:2*sy+1); | ||
7 | |||
8 | nx = \ No newline at end of file | ||