Changeset 1181


Ignore:
Timestamp:
07/19/06 14:48:30 (14 years ago)
Author:
curtis
Message:

Update utilities to function with latest Bio-Formats API;
remove obsolete or unnecessary utilities.

Location:
trunk/utils
Files:
2 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils/Ascii.java

    r1026 r1181  
     1// 
    12// Ascii.java 
     3// 
    24 
    35/** Outputs the readable ASCII table from 32 to 127. */ 
  • trunk/utils/Binary.java

    r1026 r1181  
     1// 
    12// Binary.java 
     3// 
    24 
    35import java.io.*; 
  • trunk/utils/CompareTrees.java

    r1095 r1181  
     1// 
    12// CompareTrees.java 
     3// 
    24 
    35import java.io.File; 
  • trunk/utils/EditDistance.java

    r975 r1181  
    55import java.io.*; 
    66 
     7/** Computes minimum edit distance between two strings. */ 
    78public class EditDistance { 
    89 
  • trunk/utils/EditOMETIFF.java

    r974 r1181  
    77import java.util.Hashtable; 
    88import loci.formats.*; 
     9import loci.formats.in.TiffReader; 
     10import loci.formats.out.TiffWriter; 
    911 
    1012/** Allows raw user OME-XML comment editing for the given OME-TIFF files. */ 
  • trunk/utils/MakeLZW.java

    r953 r1181  
    77import org.openmicroscopy.xml.OMENode; 
    88import loci.formats.*; 
     9import loci.formats.out.TiffWriter; 
    910 
    1011/** Converts the given image file to an LZW-compressed TIFF. */ 
     
    1314  public static void main(String[] args) throws Exception { 
    1415    ImageReader reader = new ImageReader(); 
     16    OMEXMLMetadataStore ms = new OMEXMLMetadataStore(); 
     17    reader.setMetadataStore(ms); 
    1518    TiffWriter writer = new TiffWriter(); 
    1619    for (int i=0; i<args.length; i++) { 
     
    1922      System.out.print("Converting " + f + " to " + nf); 
    2023      int blocks = reader.getImageCount(f); 
    21       OMENode ome = (OMENode) reader.getOMENode(f); 
     24      OMENode ome = (OMENode) ms.getRoot(); 
    2225      for (int b=0; b<blocks; b++) { 
    2326        System.out.print("."); 
  • trunk/utils/ProbeOME.java

    r953 r1181  
    55import java.net.MalformedURLException; 
    66import java.util.List; 
    7  
    87import org.openmicroscopy.ds.Criteria; 
    98import org.openmicroscopy.ds.DataFactory; 
  • trunk/utils/SortList.java

    r1026 r1181  
     1// 
    12// SortList.java 
     3// 
    24 
    35import java.io.*; 
Note: See TracChangeset for help on using the changeset viewer.