private String getNewTitle() { if (titleChanged) return null; String title = defaultTitle; if (imp.getStackSize()>1 && !duplicateStack && !legacyMacro && (checkbox==null||!checkbox.getState())) { ImageStack stack = imp.getStack(); String label = stack.getShortSliceLabel(imp.getCurrentSlice()); if (label!=null && label.length()==0) label = null; if (label!=null) { title = label; sliceLabel = label; } } return title; }
private String getNewTitle() { if (titleChanged) return null; String title = defaultTitle; if (imp.getStackSize()>1 && !duplicateStack && !legacyMacro && (checkbox==null||!checkbox.getState())) { ImageStack stack = imp.getStack(); String label = stack.getShortSliceLabel(imp.getCurrentSlice()); if (label!=null && label.length()==0) label = null; if (label!=null) { title = label; sliceLabel = label; } } return title; }
ImageStack stack = imp.getStack(); int currentSlice = imp.getCurrentSlice(); String label = stack.getShortSliceLabel(currentSlice); String colon = s.equals("")?"":":"; if (label!=null && !label.equals(""))
ImageStack stack = imp.getStack(); int currentSlice = imp.getCurrentSlice(); String label = stack.getShortSliceLabel(currentSlice); String colon = s.equals("")?"":":"; if (label!=null && !label.equals(""))
case LABEL: if (0<=index && index<imp.getStackSize()) { str = imp.getStack().getShortSliceLabel(index+1); str = str==null?"null slice label ("+(index+1)+")":str; } else
case LABEL: if (0<=index && index<imp.getStackSize()) { str = imp.getStack().getShortSliceLabel(index+1); str = str==null?"null slice label ("+(index+1)+")":str; } else
label = (String)imp.getProperty("Label"); else label = imp.getStack().getShortSliceLabel(imp.getCurrentSlice()); return label!=null?label:""; } else if (lowercaseKey.equals("window.contents")) {
label = (String)imp.getProperty("Label"); else label = imp.getStack().getShortSliceLabel(imp.getCurrentSlice()); return label!=null?label:""; } else if (lowercaseKey.equals("window.contents")) {
int currentSlice = imp.getCurrentSlice(); s += currentSlice+"/"+nSlices; String label = stack.getShortSliceLabel(currentSlice); if (label!=null && label.length()>0) { if (imp.isHyperStack()) label = label.replace(';', ' ');
int currentSlice = imp.getCurrentSlice(); s += currentSlice+"/"+nSlices; String label = stack.getShortSliceLabel(currentSlice); if (label!=null && label.length()>0) { if (imp.isHyperStack()) label = label.replace(';', ' ');
ImageStack stack = imp.getStack(); int currentSlice = imp.getCurrentSlice(); String label = stack.getShortSliceLabel(currentSlice); String colon = s.equals("")?"":":"; if (label!=null && !label.equals(""))
String digits = getDigits(number++); if (useLabels) { label = stack.getShortSliceLabel(i); if (label!=null && label.equals("")) label = null; if (label!=null) label = label.replaceAll("/","-");
imageStack.getShortSliceLabel(img5.getCurrentImageStackIndex()); if (label != null && label.length() > 0) { s += "(" + label + "); ";
if (slices>1) { if (processStack) label = imp.getStack().getShortSliceLabel(slice); else label = imp.getStack().getShortSliceLabel(imp.getCurrentSlice()); label = label!=null&&!label.equals("")?label:""+slice;
if (slices>1) { if (processStack) label = imp.getStack().getShortSliceLabel(slice); else label = imp.getStack().getShortSliceLabel(imp.getCurrentSlice()); label = label!=null&&!label.equals("")?label:""+slice;
int lastImageID = 0; for (int i=1; i<=size; i++) { String label = stack.getShortSliceLabel(i); String title = label!=null&&!label.equals("")?label:getTitle(imp, i); ImageProcessor ip = stack.getProcessor(i);
int lastImageID = 0; for (int i=1; i<=size; i++) { String label = stack.getShortSliceLabel(i); String title = label!=null&&!label.equals("")?label:getTitle(imp, i); ImageProcessor ip = stack.getProcessor(i);
String label = stack.getShortSliceLabel(slice); if (labels) drawLabel(montage, slice, label, x, y, width, height, borderWidth);
String label = stack.getShortSliceLabel(slice); if (labels) drawLabel(montage, slice, label, x, y, width, height, borderWidth);
if (scale != 1.0) aSlice = aSlice.resize(width, height); montage.insert(aSlice, x, y); final String label = stack.getShortSliceLabel(slice); if (borderWidth > 0) drawBorder(montage, x, y, width, height, borderWidth); if (labels) drawLabel(montage, slice, label, x, y, width, height);