diff options
Diffstat (limited to 'macros/mattolist.sci~')
-rw-r--r-- | macros/mattolist.sci~ | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/mattolist.sci~ b/macros/mattolist.sci~ new file mode 100644 index 0000000..77a6b2c --- /dev/null +++ b/macros/mattolist.sci~ @@ -0,0 +1,9 @@ +function [imgList]=mattolist(imgMat) + [rows cols channels]=size(imgMat); + imgList=list(); + for i=1:channels + imgList($+1)=imgMat(:,:,i); + disp(imgList(i)) + end + +endfunction |