Constructor and Description |
---|
ITKBridgePipes() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRead(String filePath)
Tests whether the given file path can be parsed by Bio-Formats.
|
boolean |
canWrite(String filePath)
Tests whether the given file path can be written by Bio-Formats.
|
boolean |
executeCommand(String commandLine)
Executes the given command line.
|
boolean |
exit() |
static void |
main(String[] args) |
boolean |
read(String filePath,
int xBegin,
int xEnd,
int yBegin,
int yEnd,
int zBegin,
int zEnd,
int tBegin,
int tEnd,
int cBegin,
int cEnd)
Reads image pixels from the given file path, dumping the resultant binary
stream to stdout.
|
boolean |
readImageInfo(String filePath)
Reads image metadata from the given file path, dumping the resultant
values to stdout in a specific order (which we have not documented here
because we are lazy).
|
void |
waitForInput()
Enters an input loop, waiting for commands, until EOF is reached.
|
boolean |
write(String fileName,
ColorModel cm,
int byteOrder,
int dims,
int dimx,
int dimy,
int dimz,
int dimt,
int dimc,
double pSizeX,
double pSizeY,
double pSizeZ,
double pSizeT,
double pSizeC,
int pixelType,
int rgbCCount,
int xStart,
int yStart,
int zStart,
int cStart,
int tStart,
int xCount,
int yCount,
int zCount,
int cCount,
int tCount) |
public void waitForInput() throws FormatException, IOException
FormatException
IOException
public boolean executeCommand(String commandLine) throws FormatException, IOException
FormatException
IOException
public boolean readImageInfo(String filePath) throws FormatException, IOException
filePath
- a path to a file on disk, or a hash token for an
initialized reader (beginning with "hash:") as given by a call to "info"
earlier.FormatException
IOException
public boolean read(String filePath, int xBegin, int xEnd, int yBegin, int yEnd, int zBegin, int zEnd, int tBegin, int tEnd, int cBegin, int cEnd) throws FormatException, IOException
filePath
- a path to a file on disk, or a hash token for an
initialized reader (beginning with "hash:") as given by a call to "info"
earlier. Using a hash token eliminates the need to initialize the file a
second time with a fresh reader object. Regardless, after reading the
file, the reader closes the file handle, and invalidates its hash token.FormatException
IOException
public boolean write(String fileName, ColorModel cm, int byteOrder, int dims, int dimx, int dimy, int dimz, int dimt, int dimc, double pSizeX, double pSizeY, double pSizeZ, double pSizeT, double pSizeC, int pixelType, int rgbCCount, int xStart, int yStart, int zStart, int cStart, int tStart, int xCount, int yCount, int zCount, int cCount, int tCount) throws IOException, FormatException
IOException
FormatException
public boolean canRead(String filePath) throws FormatException, IOException
FormatException
IOException
public boolean canWrite(String filePath) throws FormatException, IOException
FormatException
IOException
public boolean exit() throws FormatException, IOException
FormatException
IOException
public static void main(String[] args) throws FormatException, IOException
FormatException
IOException
Copyright © 2014 Open Microscopy Environment