summaryrefslogtreecommitdiff
path: root/macros/imread.sci
blob: 7770a58822c5eb9dd54a99a4f03f69c0bb10e0b4 (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) = (out(i))
	end
	dstMat=double(dstMat)
endfunction