The operation uses ImagePlus
to load an image and the OpenDialog
from ImageJ to browse for the filename.
Description
The operation has a filename as parameter and loads the image into
memory. File formats understood are:
TIFF (uncompressed)
GIF
JPEG
DICOM
BMP
PGM
FITS
STK
If path is not set the operation opens a file dialog and loads the
image selected by the user. Otherwise the image in path is
loaded. With help of the options part of the filename can be replaced.
That allows to automatically open images belonging together in an
application.If path is null the operation opens a file dialog and loads
the image selected by the
* user. Otherwise the image in path is loaded. With help of the options part of the filename
* can be replaced. That allows to automatically open images belonging together in an application.
Options
replace string: The part of the input filename to be replaced. replace with: The string the part of the input filename is replaced with.
Parameter
The only parameter is the path of the image to be opened.
Results
result (ImagePlus): The loaded image. absoluteFilename (String): The absolute filename of the loaded image.