itkwidgets icon indicating copy to clipboard operation
itkwidgets copied to clipboard

`viewer.get_region()` does not update after selecting ROI on volume viewer

Open stefsmeets opened this issue 3 years ago • 1 comments

Hi all! I'm trying to use the Select ROI function in itkwidgets.view which would be very useful for one of my projects. However, the state does not seem to get updated on the viewer object, i.e. viewer.roi or viewer.get_region() does not update after I change the ROI on the widget. It seems to always give me the shape of the entire volume.

I then tried with the notebook in the examples, which has the same issue for me.

This is using itkwidgets 0.32.1 on Windows 10.

Any idea what is going on?

stefsmeets avatar May 31 '21 09:05 stefsmeets

Same problem here, running itkwidgets 0.32.2 and jupyter-client 7.3.4 on Ubuntu 20.04.

ezatterin avatar Jul 27 '22 12:07 ezatterin

Hi, we now have support in itkwidgets 1.0a42:

https://github.com/InsightSoftwareConsortium/itkwidgets/blob/main/examples/integrations/itk/SelectROI.ipynb

thewtex avatar Dec 18 '23 20:12 thewtex