Parameters:
Name |
Short Name |
Type |
Description |
ROI File |
openROI |
string |
*.roi file |
Ask for filename if not found |
askfilename |
boolean |
If set to "No" and no ROI file is found the open ROI dialog is suppressed and no ROIs are loaded. |
Replace original ROIs |
replace |
boolean |
The default operation is to add loaded ROIs to the image window. Set this "Yes" to replace original ROIs. |
Description:
Loads previously saved ROIs from *.roi files.
To automatically generate file names use the following example:
=%LoadFolderName%_%LoadBaseName%%BACK%%LoadPositionNumber:2%w1.txt
Use any string after = and include any of the variables below between % marks; :n pads to n digits
%BACK% or %BACK:n% is (n times) backspace
Variables referring to last opened image set: %LoadFolderName%, %LoadFileName%, %LoadFileExt%, %LoadBaseName%, %LoadPositionNumber%, %LoadPositionName%, %LoadPositionCount%, %LoadPlateRow%, %LoadPlateCol%, %DocumentsFolder%, %PipelinesFolder%, %MyPipelinesFolder%
%LoadBaseName% refers to the common part of filenames within all opened files, with trailing zeros removed.
%LoadFolderName% refers to the name of the folder, that contains all of the opened files, not the path.
%LoadFolder%, %DocumentsFolder%, %PipelinesFolder%, %MyPipelinesFolder% refer to full path to the given location.
When only filename is given after the = the default folder is used. Relative path (e.g. =folder\file.txt) is appended to the default path. If no filename is given for saving, the Image Window name and default extension are used. Set default folders in the File/Set Folder Locations... menu point. Importantly, if no = is used in the beginning of the filename, then the full path needs to be entered.
Characters incompatible with the Windows files system are automatically removed from the save name. Variables and commands are case sensitive.