summaryrefslogtreecommitdiff
path: root/macros/line.sci
blob: df1d19f108f5e0259209ba47b751d0cebab543e4 (plain)
1
2
3
4
5
6
7
function outputImg= line(inputImage , x1 , y1 , x2,y2,r_value,g_value,b_value,thickness,linetype,shift)
	inputList=mattolist(inputImage);
    outputList=opencv_line(inputList , x1 , y1 , x2,y2,r_value,g_value,b_value,thickness,linetype,shift)
    for i=1:size(outputList)
        outputImg(:,:,i)=outputList(i)
    end
endfunction