add option to disable edge detection