public static int[] zct(final int imageIndex, final long planeIndex,
final Metadata metadata)
{
final long[] pos =
FormatTools.rasterToPosition(imageIndex, planeIndex, metadata);
<BUG>final int zIndex = metadata.get(imageIndex).getAxisIndex(Axes.Z);
final int cIndex = metadata.get(imageIndex).getAxisIndex(Axes.CHANNEL);
final int tIndex = metadata.get(imageIndex).getAxisIndex(Axes.TIME);
final int z = value(pos, zIndex);</BUG>
final int c = value(pos, cIndex);

public static int[] zct(final int imageIndex, final long planeIndex,
final Metadata metadata)
{
final long[] pos =
FormatTools.rasterToPosition(imageIndex, planeIndex, metadata);
final ImageMetadata imageMeta = metadata.get(imageIndex);
final int planarAxisCount = imageMeta.getPlanarAxisCount();
final int zIndex = imageMeta.getAxisIndex(Axes.Z) - planarAxisCount;
final int cIndex = imageMeta.getAxisIndex(Axes.CHANNEL) - planarAxisCount;
final int tIndex = imageMeta.getAxisIndex(Axes.TIME) - planarAxisCount;
final int z = value(pos, zIndex);
final int c = value(pos, cIndex);
