Class ReadPhysicalSize
java.lang.Object
ReadPhysicalSize
Example class that shows how to read and convert the physical X, Y and Z dimensions of a file
Bio-Formats version 5.1 or later.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidTo read the physical size dimensions and units of a file and display them in micrometers: $ java ReadPhysicalSize input-file.ome.tiffstatic voidreadPhysicalSize(String inputFile) Reads the physical dimensions of the input file provided then converts and displays them in micrometers
-
Constructor Details
-
ReadPhysicalSize
public ReadPhysicalSize()
-
-
Method Details
-
readPhysicalSize
public static void readPhysicalSize(String inputFile) throws loci.formats.FormatException, IOException Reads the physical dimensions of the input file provided then converts and displays them in micrometers- Parameters:
inputFile- the file to be read- Throws:
loci.formats.FormatException- if a parsing error occurs processing the file.IOException- if an I/O error occurs processing the file
-
main
To read the physical size dimensions and units of a file and display them in micrometers: $ java ReadPhysicalSize input-file.ome.tiff- Parameters:
args- Input file.- Throws:
loci.formats.FormatException- if a parsing error occurs processing the file.IOException- if an I/O error occurs processing the fileException
-