summaryrefslogtreecommitdiff
path: root/macros/imcrop.sci
blob: ac1cb5ffd3184edb64d8bd8ada9f3bf89b25f9ee (plain)
1
2
3
4
5
function[cropImg] = imcrop(srcImg, xcoor, ycoor, width, height)
	srcMat = mattolist(srcImg)
//	disp(srcMat)
	cropImg = opencv_imcrop(srcMat, xcoor, ycoor, width, height)
endfunction