final int idx = location.getIFD().getValue();
final int channel = getLongAnnotationFromPlane(plane, CHANNEL_ANNOTATION_DESCRIPTION, ImagePlane.ALWAYS_MONOCHROME);
final ImagePlane imagePlane = new ImagePlane(isd.getImageSeries(), idx, channel);
final ImagePlaneDetails ipd = new ImagePlaneDetails(imagePlane, isd);
for (int didx=0; didx<numDimensions();didx++) {
AxisType at = axis(didx).type();
if (at.equals(Axes.CHANNEL)) {
coords[didx] = plane.getTheC().getValue();
} else if (at.equals(Axes.Z)) {
coords[didx] = plane.getTheZ().getValue();
} else if (at.equals(Axes.TIME)) {
coords[didx] = plane.getTheT().getValue();
} else if (at.equals(OBJECT_PLANE_AXIS_TYPE)) {
coords[didx] = planeIdx;
}
}
add(ipd, coords);
}