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

	out = opencv_imread(matA)

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