summaryrefslogtreecommitdiff
path: root/macros/mattolist.sci
blob: 8795ebd83904250d726adaa1fa2c380a7bd5ba95 (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