I cloned vue-vtkjs-viewport and trying to get index to overlay a labeled image when scrolling (dcm/0.dcm <-> label/0.png).
https://kitware.github.io/vtk-js/api/Interaction_Style_InteractorStyleMPRSlice.html
In the official kitware github, there is a way to get slice but the slice shows strange number as -510.0123 and the sliceRange is [-758.2000122070312, -236.20001220703125].
I uploaded 50 dicom files and i wanted to get a current index or filename. Is there any way to get the information?
Thank you.
Both ITK and VTK have a way to transform physical point to index, which is probably what you want.