180181182183184185186187188189190
plane.setTheZ(new NonNegativeInteger(z)); plane.setTheT(new NonNegativeInteger(t)); pixels.addPlane(plane); } image.setPixels(pixels); sample.linkImage(image); ome.addImage(image); } imageFile.setXMLDocument(ome); return imageFile; }