Origin search algorithm improved, blind edge autocut