system HF Staff commited on
Commit
b5e0db1
·
verified ·
1 Parent(s): 597d104

Refresh the dataset card

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -164,10 +164,10 @@ spacing and gantry tilt are all common.
164
 
165
  [highdicom](https://highdicom.readthedocs.io/) handles this, and returns a
166
  `Volume` that keeps voxel spacing and the patient-space affine next to the
167
- array. The examples below were tested with highdicom 0.28.2.
168
 
169
  ```bash
170
- pip install "highdicom>=0.28.2" duckdb idc-index torch
171
  ```
172
 
173
  Start in the catalog. `volume_geometry_index` flags every CT, MR and PET series
@@ -287,11 +287,11 @@ A segmentation often covers fewer slices than its image, is rotated relative to
287
  the source image, or stores the slices in the opposite order; `match_geometry`
288
  pads, flips and rotates it (as required) onto the image grid. It raises
289
  `RuntimeError` when the two grids are offset by a fraction of a voxel, and
290
- rounding in stored positions alone can cause that: some `nsclc_radiomics`
291
- segmentations sit 2e-5 voxels off their CT, just beyond the default tolerance,
292
- and `match_geometry(ct, tol=1e-4)` accepts them. Loosen `tol` no further than
293
  you need: a large tolerance can hide a segmentation that is genuinely misaligned
294
- with its image.
295
 
296
  `combine_segments=True` returns a label map, in which each voxel holds the
297
  number of the segment it belongs to, or 0. NLSTSeg segments each lesion
 
164
 
165
  [highdicom](https://highdicom.readthedocs.io/) handles this, and returns a
166
  `Volume` that keeps voxel spacing and the patient-space affine next to the
167
+ array. The examples below were tested with highdicom 0.29.0.
168
 
169
  ```bash
170
+ pip install "highdicom>=0.29.0" duckdb idc-index torch
171
  ```
172
 
173
  Start in the catalog. `volume_geometry_index` flags every CT, MR and PET series
 
287
  the source image, or stores the slices in the opposite order; `match_geometry`
288
  pads, flips and rotates it (as required) onto the image grid. It raises
289
  `RuntimeError` when the two grids are offset by a fraction of a voxel, and
290
+ rounding in stored positions alone can occasionally cause that. In such cases,
291
+ `match_geometry(ct, position_tol=tol)` can be used to loosen the tolerance to
292
+ accept them, where by default `tol=1e-2`. Loosen `position_tol` no further than
293
  you need: a large tolerance can hide a segmentation that is genuinely misaligned
294
+ with its image and requires resampling.
295
 
296
  `combine_segments=True` returns a label map, in which each voxel holds the
297
  number of the segment it belongs to, or 0. NLSTSeg segments each lesion