Package net.imglib2.meta

Examples of net.imglib2.meta.TypedAxis.type()


    setDimensionOrder(this, pixels);
    int nPlanes = 1;
    for (int axisIdx=0; axisIdx<numDimensions(); axisIdx++) {
      TypedAxis a = axis(axisIdx);
      final PositiveInteger size = new PositiveInteger(size(axisIdx));
      if (a.type().equals(Axes.Z)) {
        pixels.setSizeZ(size);
      } else if (a.type().equals(Axes.CHANNEL)) {
        pixels.setSizeC(size);
      } else {
        // Both T and ObjectPlane go here
View Full Code Here


    for (int axisIdx=0; axisIdx<numDimensions(); axisIdx++) {
      TypedAxis a = axis(axisIdx);
      final PositiveInteger size = new PositiveInteger(size(axisIdx));
      if (a.type().equals(Axes.Z)) {
        pixels.setSizeZ(size);
      } else if (a.type().equals(Axes.CHANNEL)) {
        pixels.setSizeC(size);
      } else {
        // Both T and ObjectPlane go here
        pixels.setSizeT(size);
      }
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.