if (timestamp != null) { date = timestamp.getValue(); if (retrieve.getPlaneCount(series) > image) { Time deltaT = retrieve.getPlaneDeltaT(series, image); if (deltaT != null) {
if (timestamp != null) { date = timestamp.getValue(); if (retrieve.getPlaneCount(series) > image) { Time deltaT = retrieve.getPlaneDeltaT(series, image); if (deltaT != null) {
/** Finds the Plane index corresponding to the given image plane number. */ private static int getPlaneIndex(IFormatReader r, int no) { MetadataRetrieve retrieve = (MetadataRetrieve) r.getMetadataStore(); int imageIndex = r.getSeries(); int planeCount = retrieve.getPlaneCount(imageIndex); int[] zct = r.getZCTCoords(no); for (int i=0; i<planeCount; i++) { Integer theC = retrieve.getPlaneTheC(imageIndex, i).getValue(); Integer theT = retrieve.getPlaneTheT(imageIndex, i).getValue(); Integer theZ = retrieve.getPlaneTheZ(imageIndex, i).getValue(); if (zct[0] == theZ.intValue() && zct[1] == theC.intValue() && zct[2] == theT.intValue()) { return i; } } return -1; }
/** Finds the Plane index corresponding to the given image plane number. */ private static int getPlaneIndex(IFormatReader r, int no) { MetadataRetrieve retrieve = (MetadataRetrieve) r.getMetadataStore(); int imageIndex = r.getSeries(); int planeCount = retrieve.getPlaneCount(imageIndex); int[] zct = r.getZCTCoords(no); for (int i=0; i<planeCount; i++) { Integer theC = retrieve.getPlaneTheC(imageIndex, i).getValue(); Integer theT = retrieve.getPlaneTheT(imageIndex, i).getValue(); Integer theZ = retrieve.getPlaneTheZ(imageIndex, i).getValue(); if (zct[0] == theZ.intValue() && zct[1] == theC.intValue() && zct[2] == theT.intValue()) { return i; } } return -1; }
if (timestamp != null) { date = timestamp.getValue(); if (retrieve.getPlaneCount(series) > ndx) { Time deltaT = retrieve.getPlaneDeltaT(series, ndx); if (deltaT != null) {
if (timestamp != null) { date = timestamp.getValue(); if (retrieve.getPlaneCount(series) > ndx) { Time deltaT = retrieve.getPlaneDeltaT(series, ndx); if (deltaT != null) {
final int planeCount = retrieve.getPlaneCount( series ); for ( int p = 0; p < planeCount; ++p ) final boolean hasPlane = planeIndex < retrieve.getPlaneCount( series );
dest.putUnits(units); if (retrieve.getPlaneCount(0) > 0) { final Double[] timestamps = // new Double[(int) source.get(0).getAxisLength(Axes.TIME)];
Integer z = null, c = null, t = null; if (retrieve.getPlaneCount(i) > 0) { deltaT = retrieve.getPlaneDeltaT(i, 0); exposure = retrieve.getPlaneExposureTime(i, 0);