public void testSkeletonize2() { ImagePlus t = IJ.openImage(WORM1); SkeletonizeWrapper sw = new SkeletonizeWrapper(); sw.skeletonize(t); IJ.save(sw.getLspImage(), WORM1OUT); IJ.save(sw.getSkeletonImage(), SKELOUT2); }
/** Test of skeletonize method, of class SkeletonizeWrapper. */ public void testSkeletonize() { System.out.println("skeletonize"); ImagePlus threshold = IJ.openImage(THRESHOLD); threshold.getProcessor().invert(); ArrayList<Roi> rois = null; SkeletonizeWrapper instance = new SkeletonizeWrapper(); instance.skeletonize(threshold); IJ.save(threshold, SKELOUT); // TODO review the generated test code and remove the default call to fail. // fail("The test case is a prototype."); }