Added violet thresholding and display of contour(s).