summaryrefslogtreecommitdiff
path: root/macros/scharr.sci
blob: 53d1903eefcb2a0445b0bce9dc7108ac49f14803 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function new_image = scharr(image, ddepth, dx, dy, scale, delta)
	
	image_list = mattolist(image)
	
	out = opencv_scharr(image_list, ddepth, dx, dy, scale, delta)
	
	sz = size(out)
	
	for i=1:sz
		new_image(:, :, i) = out(i)
	end
	
endfunction