removeMedian = 0 confThresh = 0.1 onEdgeDist = 1000