Package ome.xml.model

Examples of ome.xml.model.Pixels.addChannel()


      Pixels pixels = new Pixels();
      Channel [] channels = new Channel[d.sizeC];
      for (int i=0; i<d.sizeC; i++) {
        Channel c = new Channel();
        c.setName(MockImageDescription.DEFAULT_CHANNEL_NAMES[i]);
        pixels.addChannel(c);
        channels[i] = c;
      }
      pixels.setSizeX(new PositiveInteger(d.sizeX));
      pixels.setSizeY(new PositiveInteger(d.sizeY));
      pixels.setSizeC(new PositiveInteger(d.sizeC));
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.