Package org.imagearchive.lsm.toolbox.info

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


            // imp[i]));
            iwc = imp[i].getWindow();
            // if (iwc != null) {
            // if (iwc.getImagePlus().getOriginalFileInfo()
            // instanceof LsmFileInfo) {
            final LsmFileInfo lsm = (LsmFileInfo) iwc
                .getImagePlus().getOriginalFileInfo();
            iwc.addFocusListener(new FocusListener() {
              final LsmFileInfo lsmfi = lsm;

              public void focusGained(FocusEvent e) {
View Full Code Here


  public ImagePlus[] open(String directory, String filename,
       boolean verbose, boolean thumb) {
    ImagePlus[] imp = null;
    RandomAccessFile file;
    LsmFileInfo lsm;
    try {
      file = new RandomAccessFile(new File(directory, filename), "r");
      RandomAccessStream stream = new RandomAccessStream(file);
      lsm = new LsmFileInfo();
      lsm.fileName = filename;
      lsm.directory = directory;
      if (isLSMfile(stream)) {
        ImageDirectory imDir = readImageDirectoy(stream, 8, thumb);
        lsm.imageDirectories.add(imDir);
View Full Code Here

TOP

Related Classes of org.imagearchive.lsm.toolbox.info.LsmFileInfo

Copyright © 2018 www.massapicom. 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.