putIfNotNull(map, MD_T, plane.getTheT().toString());
putIfNotNull(map, MD_Z, plane.getTheZ().toString());
final NonNegativeInteger c = plane.getTheC();
if (c != null) {
final int cidx = c.getValue().intValue();
if (pixels.sizeOfChannelList() > cidx) {
Channel channel = pixels.getChannel(cidx);
if (channel != null) {
putIfNotNull(map, MD_CHANNEL_NAME, channel.getName());
final PositiveInteger samplesPerPixel = channel.getSamplesPerPixel();
if (samplesPerPixel != null) {