@Test(expected = NullPointerException.class) public void testCleanDuplicateThrowsNPEIfImageNull() { ImagePlusUtil.cleanDuplicate(null); }
public static ImagePlus cleanDuplicate(final ImagePlus image) { image.killRoi(); final ImagePlus copy = image.duplicate(); image.restoreRoi(); copy.setTitle(image.getTitle()); return copy; }
ImagePlusUtil { public static ImagePlus cleanDuplicate(final ImagePlus image) { image.killRoi(); final ImagePlus copy = image.duplicate(); image.restoreRoi(); copy.setTitle(image.getTitle()); return copy; } }
ImagePlusUtil { public static ImagePlus cleanDuplicate(final ImagePlus image) { image.killRoi(); final ImagePlus copy = image.duplicate(); image.restoreRoi(); copy.setTitle(image.getTitle()); return copy; } private  ImagePlusUtil(); }
ImagePlusUtil { public static ImagePlus cleanDuplicate(final ImagePlus image) { image.killRoi(); final ImagePlus copy = image.duplicate(); image.restoreRoi(); copy.setTitle(image.getTitle()); return copy; } private  ImagePlusUtil(); static double anisotropy(final ImagePlus image); static ImagePlus cleanDuplicate(final ImagePlus image); static boolean is3D(final ImagePlus image); static boolean isBinaryColour(final ImagePlus image); }
ImagePlusUtil { public static ImagePlus cleanDuplicate(final ImagePlus image) { image.killRoi(); final ImagePlus copy = image.duplicate(); image.restoreRoi(); copy.setTitle(image.getTitle()); return copy; } private  ImagePlusUtil(); static double anisotropy(final ImagePlus image); static ImagePlus cleanDuplicate(final ImagePlus image); static boolean is3D(final ImagePlus image); static boolean isBinaryColour(final ImagePlus image);  }