/** Returns a selection created from the thresholded pixels in the specified image, or null if there are no thresholded pixels. */ public Roi convert(ImageProcessor ip) { this.ip = ip; min = (float)ip.getMinThreshold(); max = (float)ip.getMaxThreshold(); w = ip.getWidth(); h = ip.getHeight(); return getRoi(); }
/** Returns a selection created from the thresholded pixels in the specified image, or null if there are no thresholded pixels. */ public Roi convert(ImageProcessor ip) { this.ip = ip; min = (float)ip.getMinThreshold(); max = (float)ip.getMaxThreshold(); w = ip.getWidth(); h = ip.getHeight(); return getRoi(); }