summaryrefslogtreecommitdiff
path: root/macros/mattolist.sci~
blob: 77a6b2cafbb1737fcdbed0a625532182ec803911 (plain)
1
2
3
4
5
6
7
8
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