I have a 2D array of double values, and I want to extract oriented contours at a particular threshold. By "oriented" I mean that the values to the left of the directi