removeMedian = 0 confThresh = 0.05 onEdgeDist = 1000