You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Define one or more named layouts using the `layouts` key. VolView will use the first layout as the default. Each named layout will be in the layout selector menu. Layout are specified in three formats:
@@ -173,15 +181,27 @@ Working segment group file formats:
173
181
174
182
hdf5, iwi.cbor, mha, nii, nii.gz, nrrd, vtk
175
183
176
-
## Automatic Segment Groups by File Name
184
+
## Automatic Layers and Segment Groups by File Name
185
+
186
+
When loading multiple files, VolView can automatically associate related images based on file naming patterns.
187
+
Example: `base.[extension].nrrd` will match `base.nii`.
188
+
189
+
The extension must appear anywhere in the filename after splitting by dots, and the filename must start with the same prefix as the base image (everything before the first dot). Files matching `base.[extension]...` will be associated with a base image named `base.*`.
190
+
191
+
**Ordering:** When multiple layers/segment groups match a base image, they are sorted alphabetically by filename and added to the stack in that order. To control the stacking order explicitly, you could use numeric prefixes in your filenames.
When loading files, VolView can automatically convert images to segment groups
179
-
if they follow a naming convention. For example, an image with name like `foo.segmentation.bar`
180
-
will be converted to a segment group for a base image named like `foo.baz`.
181
-
The `segmentation` extension is defined by the `io.segmentGroupExtension` key, which takes a
182
-
string. Files `foo.[segmentGroupExtension].bar` will be automatilly converted to segment groups for a base image named `foo.baz`. The default is `''` and will disable the feature.
198
+
Both features default to `''` which disables them.
183
199
184
-
This will define `myFile.seg.nrrd` as a segment group for a `myFile.nii` base file.
200
+
### Segment Groups
201
+
202
+
Use `segmentGroupExtension` to automatically convert matching non-DICOM images to segment groups.
203
+
For example, `myFile.seg.nrrd` becomes a segment group for `myFile.nii`.
204
+
Defaults to `''` which disables matching.
185
205
186
206
```json
187
207
{
@@ -191,6 +211,19 @@ This will define `myFile.seg.nrrd` as a segment group for a `myFile.nii` base fi
191
211
}
192
212
```
193
213
214
+
### Layering
215
+
216
+
Use `layerExtension` to automatically layer matching non-DICOM images on top of the base image. For example, `myImage.layer.nii` is layered on top of `myImage.nii`.
217
+
Defaults to `''` which disables matching.
218
+
219
+
```json
220
+
{
221
+
"io": {
222
+
"layerExtension": "layer"
223
+
}
224
+
}
225
+
```
226
+
194
227
## Keyboard Shortcuts
195
228
196
229
Configure the keys to activate tools, change selected labels, and more.
@@ -277,7 +310,9 @@ To configure a key for an action, add its action name and the key(s) under the `
0 commit comments