dicom-three 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
 
3
- ## 0.1.0 — release candidate
3
+ ## 0.2.0
4
+
5
+ - Added opt-in bilinear interpolation for axis-aligned slices through `SliceOptions.interpolation` and `Slice.interpolation`. Existing calls retain nearest-neighbor sampling.
6
+ - Enabled smooth zoom by default in the Slice and OrthoSlicer examples and added a toggle for comparing both modes. The OrthoSlicer example now uses the display pixel ratio.
7
+
8
+ ## 0.1.0
4
9
 
5
10
  - Unified voxel-center coordinates, bounds and sampling for slice and volume viewers.
6
11
  - Added validated arbitrary slice planes, physical offsets and geometry buffer reuse.
package/README.md CHANGED
@@ -75,11 +75,15 @@ Other viewers: `OrthoSlicer` groups three data-axis slices; `VolumeRaycaster` pr
75
75
 
76
76
  See [integration](docs/integration.md) and [architecture](docs/architecture.md) for details and tolerances.
77
77
 
78
- ## Scope of 0.1.0
78
+ ## Slice interpolation
79
+
80
+ Axis-aligned slices use nearest-neighbor sampling by default. Pass `{ interpolation: 'linear' }` in `SliceOptions` to enable bilinear interpolation in the slice plane. To change modes on an existing slice, assign `slice.interpolation = 'linear'` or `'nearest'`. The slice emits a `change` event with reason `interpolation`; the interpolation is applied before windowing. For an `OrthoSlicer`, configure `sliceX`, `sliceY` and `sliceZ` individually.
81
+
82
+ ## Supported data and limitations
79
83
 
80
84
  Scalar 8/16-bit integer and 32-bit float slice textures, nearest sampling, regular spatial stacks including constant in-plane shifts, and frame-sequence viewing through Slice Z. Spatially inconsistent/irregular series, changing rescale parameters and mixed spatial/temporal volumes are rejected rather than resampled. XA and unlocated/cine sequences do not acquire artificial depth.
81
85
 
82
- No linear interpolation, linked MPR utilities, thick-slab modes, RGB slice support, automatic 4D splitting or resampling. Codec/container support is limited to what the decoder can return; encapsulated multi-frame decoding is not added by this package. Synthetic release fixtures exercise uncompressed Explicit VR Little Endian files and real worker transfer.
86
+ Oblique slices and volume rendering use nearest-neighbor sampling. Linked MPR utilities, thick-slab modes, RGB slices, automatic 4D splitting and irregular stack resampling are outside the current scope. Codec/container support depends on the decoder. Synthetic release fixtures exercise uncompressed Explicit VR Little Endian files and real worker transfer.
83
87
 
84
88
  ## Development and release verification
85
89