summaryrefslogtreecommitdiff
path: root/macros/fillconvexpoly.sci
blob: ac40c8ca2fda69b7fa8a822b71b8a01926eace61 (plain)
1
2
3
4
5
6
7
8
function [out] = fillconvexpoly(img,pstData,npts,r_value,g_value,b_value,linetype,shift)
	image = mattolist(img);
	a = opencv_fillconvexpoly(image,pstData,npts,r_value,g_value,b_value,linetype,shift)
	d = size(a);
	for i=1:d
		out(:,:,i) = a(i);
	end
endfunction