summaryrefslogtreecommitdiff
path: root/macros/im2double.sci
blob: 7f8e5856b10528595aa46831c9ac938a5001d3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function[doubleMat] = im2double(matA)
	
	srcMat = mattolist(matA)

	out = opencv_im2double(srcMat)

	ch = size(out)

	for i = 1:ch
		doubleMat(:,:,i) = out(i)
	end
	
endfunction