plane.col = dimension.start; if ((prestitched == null || prestitched) && getSizeX() > 0 && dimension.size != getSizeX() && allowAutostitching()) if (allowAutostitching() || ms0.sizeX == 0 || dimension.size == dimension.storedSize) { ms0.sizeX = dimension.size; plane.row = dimension.start; if ((prestitched == null || prestitched) && getSizeY() > 0 && dimension.size != getSizeY() && allowAutostitching()) if (allowAutostitching() || ms0.sizeY == 0 || dimension.size == dimension.storedSize) { ms0.sizeY = dimension.size;
if (dimension.start > prevM) { if (!extraDimOrder.contains('M') && mosaics <= getSeriesCount() && (prestitched == null || !prestitched || !allowAutostitching()))
plane.col = dimension.start; if ((prestitched == null || prestitched) && getSizeX() > 0 && dimension.size != getSizeX() && allowAutostitching()) if (allowAutostitching() || ms0.sizeX == 0 || dimension.size == dimension.storedSize) { ms0.sizeX = dimension.size; plane.row = dimension.start; if ((prestitched == null || prestitched) && getSizeY() > 0 && dimension.size != getSizeY() && allowAutostitching()) if (allowAutostitching() || ms0.sizeY == 0 || dimension.size == dimension.storedSize) { ms0.sizeY = dimension.size;
if (dimension.start > prevM) { if (!extraDimOrder.contains('M') && mosaics <= getSeriesCount() && (prestitched == null || !prestitched || !allowAutostitching()))
if (scale == 1 || (((scale % 2) == 0 || (scale % 3) == 0) && allowAutostitching())) { if (scale > 1 && scaleFactor == 0) { scaleFactor = scale % 2 == 0 ? 2 : 3; calculatedSeries == seriesCount * mosaics * positions)) && !equalTiles && allowAutostitching()) int newX = planes.get(planes.size() - 1).x; int newY = planes.get(planes.size() - 1).y; if (allowAutostitching() && (ms0.sizeX < newX || ms0.sizeY < newY)) { prestitched = true; mosaics = 1; else if (!allowAutostitching() && calculatedSeries > seriesCount) { ms0.sizeX = firstX; ms0.sizeY = firstY;
if (scale == 1 || (((scale % 2) == 0 || (scale % 3) == 0) && allowAutostitching())) { if (scale > 1 && scaleFactor == 0) { scaleFactor = scale % 2 == 0 ? 2 : 3; calculatedSeries == seriesCount * mosaics * positions)) && !equalTiles && allowAutostitching()) int newX = planes.get(planes.size() - 1).x; int newY = planes.get(planes.size() - 1).y; if (allowAutostitching() && (ms0.sizeX < newX || ms0.sizeY < newY)) { prestitched = true; mosaics = 1; else if (!allowAutostitching() && calculatedSeries > seriesCount) { ms0.sizeX = firstX; ms0.sizeY = firstY;