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