final List<ImagePlaneDetails> result = new ArrayList<ImagePlaneDetails> ();
for (int i=0; i<urls.length; i++) {
ImageFile imageFile = new ImageFile(new URI(urls[i]));
if (metadata[i] != null) {
imageFile.setXMLDocument(metadata[i]);
final OME fileMetadata = imageFile.getMetadata();
for (int series=0; series < fileMetadata.sizeOfImageList(); series++) {
final ImageSeries imageSeries = new ImageSeries(imageFile, series);
Image seriesMetadata = imageSeries.getOMEImage();
final Pixels pixels = seriesMetadata.getPixels();
int nPlanes = pixels.sizeOfPlaneList();
if (nPlanes == 0) {