I am able to display the 3D Dicom read using simple ITK and also overlay the corresponding segmentation mesh in vtkpolydata format.
Now I am trying to display the same image slice wise (kind of like an extension of the example in the
examples/2DImage.ipynb). As a bonus, it would be great if I could visualize the corresponding mesh on those slices.
Is it possible to do something like this? And would itkwidgets be the right tool? I really like the convenience of quickly visualizing these images within the notebook rather than writing out both the image and segmentation meshes.
Another issue perhaps related is that whenever I use the
view() as part of the loop, it does not display anything. I have to use
view() in a separate cell. Is that by design or is it a bug?
Any guidance would be appreciated.