automatically derived threshold for filtering background