summaryrefslogtreecommitdiff
path: root/macros/xyz2rgb.sci
blob: d557939b35de69949ca99ff5d863c3b3512d404b (plain)
1
2
3
4
5
6
7
8
function [output] = xyz2rgb(img)
	image = mattolist(img);
	a = opencv_xyz2rgb(image);
	d = size(a);
	for i=1:d
		output(:,:,i) = a(i);
	end
endfunction