added options for canny edge detection thresholding