summaryrefslogtreecommitdiff
path: root/macros/imhmin.sci
blob: 441efce8fcb1acba7576f740533223d1a1fc25cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function[dstMat] = imfill(srcImg, Hmin)
	
	[lhs, rhs] = argn(0)
	
	srcMat = mattolist(srcImg)

	out = opencv_imfill(srcMat, Hmin)
	
	channel = size(out)
	
	for i = 1: channel
		dstMat(:,:,i) = out(i)
	end
	
endfunction