Once ROIs have been created and edited to your satisfaction, they can
be stored on disk in an ROI file. The format of these files is
given in the file formats section.
In the ROI Toolkit, select
In the File Chooser, select a name for
the ROI file. The usual file
extension for ROI files is ".roi"; a default name will be given
for you, created from the name of the image that is loaded.
You may change this name (including the extension) to anything
you wish.
If the chose ROI file already exists, you will be asked whether
you want to:
The ROI Toolkit will now calculate the statistics for all the ROIs
in the image, and store both the ROI definition and the
statistics.
During the save operation, you are prevented from
changing the ROIs in the loaded image. However, you may load a
new image and continue working with that if you wish.
Note: until ROIs are written to disk, on closing the ROI Toolkit,
or unloading the image, you will always be prompted to save the
ROIs. At this stage you may chose either to discard the (edited)
ROIs, or to cancel the closing of the ROI Toolkit. When the ROI
toolkit is closed, all regions currently defined for the loaded
image are discarded.
To load previously-saved ROIs from disk, in the ROI Toolkit, select
In the File Chooser, select a name of
an existing ROI file.
A default name will be given for you, created from the name of
the image that is loaded; if you used the default name for the
save operation, then the file name will
match the ROI for the loaded image. You can, of course, load
regions that were defined in a different image than the
currently-loaded image by changing the name of the ROI file to
load.
If ROIs are successfully loaded from the file, a message will appear
showing how many ROIs were loaded, and the ROIs will be shown on
the image slices.
If the currently-loaded image has fewer slices than the image used to
define and save ROIs, it is possible for the slice in which an
ROI was defined to be absent from the loaded image. If this
happens, a message will appear warning you of this fact. ROIs
like this will not be loaded into the current image.
If the currently-loaded image has a smaller field-of-view than the image used to
define and save ROIs, it is possible for a ROI to be entirely
outside the field of view of the loaded image. If this
happens, a message will appear warning you of this fact; the ROI
will be retained, but it will be impossible to see or to edit
the ROI.
Note: Jim can load ROIs that have been saved by
the popular Dispimage
programme. However, it cannot save ROIs in this format.
If you have finished with a set of ROIs and wish to remove them
from the image, you can unload them by selecting the Unload
ROIs from the
If the ROIs have not been saved, then you will be asked whether
you really want to unload (and thereby discard) them. Once the
ROIs are unloaded from the image, they cannot be retrieved
later, unless you first save them to disk.
You may have a repetitive task to perform, where you need the
same ROIs to be loaded for a series of images to be analysed.
You can tell Jim to automatically load ROIs from an ROI file
whenever a new image is loaded.
To do this, select the
This will bring up a file chooser
so that you can select the ROI file to automatically
load. Whenever you load a new image, the ROIs from this file will
also be loaded. To turn off this auto-loading, uncheck the
If you subsequently want to select a different set of ROIs to
automatically load, then choose this with the Saving Regions of Interest to Disk
Save ROIs
from the
File
menu:
Loading Regions of Interest from Disk
Load ROIs
from the File
menu:
Unloading Regions of Interest
File
menu:
Automatically Loading Regions of Interest
Auto Load ROIs
menu check box from
the File
menu:
Auto Load
ROIs
check box in the File
menu.
Select Auto Load ROIs
...
in the File
menu.