anibalsolon/vscode-neuro-viewer

3D niftis with dimension size [1,H,W] are displayed 2D (only X,Y axis showing)

chr-wei opened this issue · 1 comments

Single-slice 3D niftis should be shown as 3D images with one dimension not scrollable. Instead they are reduced to 2D niftis. This results in two scroll-bars X,Y where the user scrolls through 1D visual arrays.

I think the issue can be adressed changing some lines here:

this.slices.map((d, i) => {