Description
-
the saggital and coronal view's slice space is too big, so when we drag the slice index to 0 or maximum(384). we can see the slices are beyond the boundaries.

-
the axial view's slice space is small, it cannot reach the saggital and coronal boundary

Idealy, it should be displaiedlike a box.
Reproduction steps
- use nrrd loader
- set segmentation mode
- load nrrd file, then add all view slices to scene.
Code
loader = new NRRDLoader();
loader.setSegmentation(true);
loader.load(url, function (volume) {
const sliceZ = volume.extractSlice("z", initIndexZ);
const sliceY = volume.extractSlice("y", initIndexY);
const sliceX = volume.extractSlice("x", initIndexX);
scene.add(sliceX.mesh, sliceY.mesh, sliceZ.mesh)
})
Live example
segmentation app
Screenshots
No response
Version
r151
Device
No response
Browser
Chrome
OS
No response