summaryrefslogtreecommitdiff
path: root/macros/imread.sci~
blob: bfc3aae0b7cef44213129d813189325df417fdcf (plain)
1
2
3
4
5
6
7
8
9
10
11
function[dstMat] = imread(matA)

	out = opencv_imread(matA)

	channel = size(out)
	
	for i = 1: channel
		dstMat(:,:,i) = double(out(i))
	end
	
endfunction