Examples of dimensionIndex()


Examples of net.imagej.overlay.Overlay.dimensionIndex()

      RandomAccessibleInterval<BitType> adapter = mask;
      long [] offset = new long[display.numDimensions()];
      AxisType [] dAxes = new AxisType [] { Axes.Y, Axes.X };
       
      for (int j=0; j<dAxes.length; j++) {
        int i = overlay.dimensionIndex(dAxes[j]);
        offset[j] = display.getLongPosition(dAxes[j]) - oView.getLongPosition(dAxes[j]);
        if (i != j) {
          /*
           * Perform an axis permutation.
           */
 
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.