Traces an object defined by lower and upper threshold values. 'mode' can be FOUR_CONNECTED or EIGHT_CONNECTED. ('LEGACY_MODE' is also supported and may result in selection of interior holes instead of the thresholded area if one clicks left of an interior hole). The start coordinates must be inside
(int startX, int startY, double lower, double upper, int mode)
| 75 | * When successful, npoints>0 and the boundary points can be accessed |
| 76 | * in the public xpoints and ypoints fields. */ |
| 77 | public void autoOutline(int startX, int startY, double lower, double upper, int mode) { |
| 78 | lowerThreshold = (float)lower; |
| 79 | upperThreshold = (float)upper; |
| 80 | autoOutline(startX, startY, 0.0, mode|THRESHOLDED_MODE); |
| 81 | } |
| 82 | |
| 83 | /** Traces an object defined by lower and upper threshold values or an |
| 84 | * interior hole; whatever is found first ('legacy mode'). |
no test coverage detected