Support optionally disabling graph-cut and edge detection