Package ij.plugin

Examples of ij.plugin.HyperStackReducer.reduce()


      ImagePlus imp2 = new ImagePlus("C"+c+"-"+imp.getTitle(), stack2);
      stack2.setPixels(null, 1);
      imp.setPosition(c, 1, 1);
      imp2.setDimensions(1, slices, frames);
      imp2.setCalibration(imp.getCalibration());
      reducer.reduce(imp2);
      if (imp.isComposite() && ((CompositeImage)imp).getMode()==CompositeImage.GRAYSCALE)
        IJ.run(imp2, "Grays", "");
      if (imp2.getNDimensions()>3)
        imp2.setOpenAsHyperStack(true);
      imp2.show();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.