Squiz Matrix
4.12.2
|
Public Member Functions | |
boolean | open () |
boolean | open (String path) |
ImagePlus | openImage (String path) |
ImagePlus | openImage (String directory, String name) |
ImagePlus | openURL (String url) |
ImagePlus | openTiff (String directory, String name) |
ImagePlus | openTiff (InputStream in, String name) |
String | getName (String path) |
String | getDir (String path) |
Static Public Member Functions | |
static void | convertGrayJpegTo8Bits (ImagePlus imp) |
Static Public Attributes | |
static FileExtensionFilter[] | FILE_FILTERS |
static FileExtensionFilter | ALL_FILES_FILTER |
static File | defaultDirectory = null |
Opens tiff, dicom, fits, pgm, jpeg, bmp or gif images, and look-up tables, using a file open dialog or a path. Calls HandleExtraFileTypes plugin if the file type is unrecognised.
Definition at line 24 of file Opener.java.
|
inlinestatic |
If this image is grayscale, convert it to 8-bits.
Definition at line 332 of file Opener.java.
|
inline |
Present a JFileChooser for the user to select a file to open, then open the file and display it
Definition at line 93 of file Opener.java.
|
inline |
Open and display the specified file
string | path The path of the file to open |
Definition at line 120 of file Opener.java.
|
inline |
Get an ImagePlus object from the specified path
string | path The path to look in, may be a url or file path |
Definition at line 146 of file Opener.java.
|
inline |
Get an ImagePlus object from the specified file in the specified dir
string | directory The directory the file is in |
string | name The name of the file to open |
Definition at line 167 of file Opener.java.
|
inline |
Attempts to open the specified file as a tiff. Returns an ImagePlus object if successful.
Definition at line 358 of file Opener.java.
|
inline |
Attempts to open the specified inputStream as a TIFF, returning an ImagePlus object if successful.
Definition at line 376 of file Opener.java.
|
inline |
Get an imageplus object from a file URL
string | url |
Definition at line 231 of file Opener.java.