Examples of sizeOfTiffDataList()


Examples of ome.xml.model.Pixels.sizeOfTiffDataList()

  private void loadFromOMEImage(Image omeImage) throws URISyntaxException {
    Map<URI, ImageFileDetails> imageFiles = new HashMap<URI, ImageFileDetails>();
    Map<URI, Map<Integer, ImageSeriesDetails>> imageSeries = new HashMap<URI, Map<Integer,ImageSeriesDetails>>();
    final Pixels pixels = omeImage.getPixels();
    int [] coords = new int[numDimensions()];
    for (int planeIdx=0; planeIdx<pixels.sizeOfPlaneList() && planeIdx<pixels.sizeOfTiffDataList(); planeIdx++) {
      final Plane plane = pixels.getPlane(planeIdx);
      final TiffData location = pixels.getTiffData(planeIdx);
      final URI uri = new URI(location.getUUID().getFileName());
      if (! imageFiles.containsKey(uri)) {
        imageFiles.put(uri, new ImageFileDetails(new ImageFile(uri)));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.