Examples of CZ_LSMInfo


Examples of org.imagearchive.lsm.toolbox.info.CZ_LSMInfo

  }

  public void updateFilteredTree(boolean filter) {
    ((DefaultMutableTreeNode) detailsTree.getModel().getRoot())
        .removeAllChildren();
    CZ_LSMInfo cz = masterModel.getCz();
    InfoNode czNode = new InfoNode("CarlZeiss", convertCZ(cz));
    ((DefaultMutableTreeNode) treemodel.getRoot()).add(czNode);
    if (cz.scanInfo == null)
      return;
    ScanInfo scanInfo = cz.scanInfo;
View Full Code Here

Examples of org.imagearchive.lsm.toolbox.info.CZ_LSMInfo

      expandEntireTree((DefaultMutableTreeNode) tNode.getChildAt(i));
    }
  }

  private StringBuffer getTreeAsStringBuffer() {
    CZ_LSMInfo cz = masterModel.getCz();
    StringBuffer sb = new StringBuffer();
    sb.append("CarlZeiss\t\n");
    sb.append(getRecordAsString(convertCZ(cz)));

    ScanInfo scanInfo = cz.scanInfo;
View Full Code Here

Examples of org.imagearchive.lsm.toolbox.info.CZ_LSMInfo

        FileInfo fi = WindowManager.getImage(imagesIDs[i]).getOriginalFileInfo();
        boolean add = false;
        if (fi != null
            && fi instanceof LsmFileInfo) {
          LsmFileInfo lsm = (LsmFileInfo)fi;
          CZ_LSMInfo cz = (CZ_LSMInfo) ((ImageDirectory) lsm.imageDirectories.get(0)).TIF_CZ_LSMINFO;
          if (filter.equals("time")) if (cz.DimensionTime>1) add = true;
          if (filter.equals("z")) if (cz.DimensionZ>1) add = true;
          if (filter.equals("lambda"))
              if ((cz.SpectralScan==1 && cz.channelWavelength != null) && cz.channelWavelength.Channels >= 1) add = true;
          if (filter.equals("")) add = true;
View Full Code Here

Examples of org.imagearchive.lsm.toolbox.info.CZ_LSMInfo

    return offsets;
  }

  private CZ_LSMInfo getCZ_LSMINFO(RandomAccessStream stream, long position,
      boolean thumb) {
    CZ_LSMInfo cz = new CZ_LSMInfo();
    try {
      if (position == 0)
        return cz;
      stream.seek((int) position + 20);
      // number of channels
View Full Code Here

Examples of org.imagearchive.lsm.toolbox.info.CZ_LSMInfo

      if (verbose)
        IJ.error("LSM ImageDir null.");
      return null;
    } // should not be if it is a true LSM file

    CZ_LSMInfo cz = firstImDir.TIF_CZ_LSMINFO;
    if (cz == null) {
      if (verbose)
        IJ.error("LSM ImageDir null.");
      return null;
    } // should not be, first Directory should have a CZ...
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.