InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets
Viewing a itk Image works. Viewing a second does not.
- Dominant language
- Python
- Stars
- 624
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
Error:
RuntimeError: C:\P\IPP\ITK-source\ITK\Modules\Core\Common\src\itkDataObject.cxx:355:
Requested region is (at least partially) outside the largest possible region.
Steps to reproduce.
1- Import CT series (3D itk image)
2- itkwidgets.view(img) # Works fine
3- resample img to imgResampled (different spacing and size)
4- itkwidgets.view(imgResampled) # gives the above error
sitk.__version__ = 2.1.1
itkwidgets.__version__ = 0.32.1
python = 3.9.5
This is an issue on Windows 10. **On a similar build on Ubuntu 18.04, I don't get this issue.**
Also as a side question, is there a way to clear or close the viewer when done in jupyter to free up memory?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.