int totalPlanes = getSeriesCount() * getImageCount();
int totalPlanes = getSeriesCount() * getImageCount();
if (getImageCount() == imageNames.size()) { fieldCount = 1; if (getImageCount() * fieldCount != nPlanes && ((getImageCount() != nPlanes && nFiles > 1) || nFiles == 1))
if (getImageCount() == imageNames.size()) { fieldCount = 1; if (getImageCount() * fieldCount != nPlanes && ((getImageCount() != nPlanes && nFiles > 1) || nFiles == 1))
int seriesIndex = i * getImageCount(); if (seriesIndex < objectiveRefs.size()) { store.setObjectiveSettingsID(objectiveRefs.get(seriesIndex), i); for (int image=0; image<getImageCount(); image++) { int plane = i * getImageCount() + image; int c = getZCTCoords(image)[1]; if (plane < planePositionX.size()) {
int seriesIndex = i * getImageCount(); if (seriesIndex < objectiveRefs.size()) { store.setObjectiveSettingsID(objectiveRefs.get(seriesIndex), i); for (int image=0; image<getImageCount(); image++) { int plane = i * getImageCount() + image; int c = getZCTCoords(image)[1]; if (plane < planePositionX.size()) {
int[] pos = FormatTools.rasterToPosition(lengths, getSeries()); int imageNumber = file.offsets == null ? getImageCount() * pos[0] + no : 0; final int index = getImageCount() * pos[0] + no; long offset = (index == file.offsets.length - 1 ? s.length() : file.offsets[index + 1]) - offsets[0] - planeSize;
int[] pos = FormatTools.rasterToPosition(lengths, getSeries()); int imageNumber = file.offsets == null ? getImageCount() * pos[0] + no : 0; final int index = getImageCount() * pos[0] + no; long offset = (index == file.offsets.length - 1 ? s.length() : file.offsets[index + 1]) - offsets[0] - planeSize;