private static String createResultImageName(ImagePlus baseImage) { return baseImage.getShortTitle() + "-geoddist"; } }
private static String createResultImageName(ImagePlus baseImage) { return baseImage.getShortTitle() + "-geoddist"; } }
private static String createResultImageName(ImagePlus baseImage) { return baseImage.getShortTitle() + "-geoddist"; } }
private static String createResultImageName( ImagePlus baseImage ) { return baseImage.getShortTitle() + "-rec"; } }
private static String createResultImageName(ImagePlus baseImage) { return baseImage.getShortTitle() + "-dist-watershed"; } }
String getTitle(ImagePlus imp, int n) { String digits = "00000000"+n; return imp.getShortTitle()+"-"+digits.substring(digits.length()-4,digits.length()); }
/** * Creates the name for result image, by adding a suffix to the base name * of original image. */ private String createResultImageName(ImagePlus baseImage) { return baseImage.getShortTitle() + "-" + op.getSuffix(); }
/** * Creates the name for result image, by adding a suffix to the base name * of original image. */ private String createResultImageName(ImagePlus baseImage) { return baseImage.getShortTitle() + "-" + op.toString(); } }
/** * Creates the name for result image, by adding a suffix to the base name * of original image. */ private String createResultImageName(ImagePlus baseImage, Operation op) { return baseImage.getShortTitle() + "-" + op.getSuffix(); }
@Override public NeuriteTracerResultsDialog call() { return new NeuriteTracerResultsDialog("Tracing for: " + xy.getShortTitle(), thisPlugin, applet != null); } });
/** * Creates the name for result image, by adding a suffix to the base name * of original image. */ private String createResultImageName(ImagePlus baseImage, Operation op) { return baseImage.getShortTitle() + "-" + op.getSuffix(); }
public void actionPerformed(ActionEvent e) { imageRegion.saveToImageJImage(image.getShortTitle()); } });
/** * Creates the name for result image, by adding a suffix to the base name * of original image. */ private String createResultImageName(ImagePlus baseImage) { return baseImage.getShortTitle() + "-" + op.getSuffix(); }
public void keyPressed (KeyEvent e){ if (e.isShiftDown()) { // System.out.println("Shift"); } if (e.getKeyChar() == 's') { number++; String str = image.getShortTitle() + " (" + number +")"; imageRegion.saveToImageJImage(str); } } }
public void keyPressed (KeyEvent e){ if (e.isShiftDown()) { // System.out.println("Shift"); } if (e.getKeyChar() == 's') { number++; String str = image.getShortTitle() + " (" + number +")"; imageRegion.saveToImageJImage(str); } } }
/** Displays a histogram using the title "Histogram of ImageName". */ public HistogramWindow(ImagePlus imp) { super(NewImage.createRGBImage("Histogram of "+imp.getShortTitle(), WIN_WIDTH, WIN_HEIGHT, 1, NewImage.FILL_WHITE)); showHistogram(imp, 256, 0.0, 0.0); }
/** * Displays a histogram using the title "Histogram of ImageName". */ public IJHistogramWindow(ImagePlus imp) { super(NewImage.createRGBImage("Histogram of " + imp.getShortTitle(), WIN_WIDTH, WIN_HEIGHT, 1, NewImage.FILL_WHITE)); showHistogram(imp, 256, 0.0, 0.0); }
/** Displays a histogram using the title "Histogram of ImageName". */ public HistogramWindow(ImagePlus imp) { super(NewImage.createRGBImage("Histogram of "+imp.getShortTitle(), WIN_WIDTH, WIN_HEIGHT, 1, NewImage.FILL_WHITE)); showHistogram(imp, 256, 0.0, 0.0); }
/** Displays a histogram using the title "Histogram of ImageName". */ public ColorHistogramWindow(ImagePlus imp) { super(NewImage.createRGBImage("Histogram of "+imp.getShortTitle(), WIN_WIDTH, WIN_HEIGHT, 1, NewImage.FILL_WHITE)); ImageProcessor ipmask = imp.getMask(); boolean isnull=(ipmask==null); mask=(!isnull)?(byte[])ipmask.getPixels():null; width=imp.getWidth(); height=imp.getHeight(); showHistogram(imp, nBins, 0.0, 0.0); printResults(); }
public static final ImagePlus geodesicDistanceMap(ImagePlus markerPlus, ImagePlus maskPlus) { ImagePlus result = null; String newName = markerPlus.getShortTitle() + "-distMap"; if (markerPlus.getStackSize() == 1 && maskPlus.getStackSize() == 1) { ImageProcessor distMap = geodesicDistanceMap(markerPlus.getProcessor(), maskPlus.getProcessor()); result = new ImagePlus(newName, distMap); } result.copyScale(markerPlus); return result; }