Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with itk-vtkglue #34

Open
finetjul opened this issue Apr 26, 2020 · 0 comments
Open

Errors with itk-vtkglue #34

finetjul opened this issue Apr 26, 2020 · 0 comments
Assignees

Comments

@finetjul
Copy link

Description

Python errors when trying the reproduce itk-vtkglue examples,

Steps to Reproduce

With python 3.6

  1. pip install itk=5.0.1
  2. pip install vtk=8.1.2
  3. pip install itk-vtkglue=0.3.0
  4. Run example in official documentation

Expected behavior

No error

Actual behavior

At line vtkToItkFilter.Update():

Traceback (most recent call last):
File "", line 1, in
RuntimeError: c:\p\ipp\standalone-build\itks\modules\bridge\vtk\include\itkVTKImageImport.hxx:265:
itk::ERROR: VTKImageToImageFilter(000001F64502C730): Cannot convert a VTK image to an ITK image of dimension 2 since the VTK image direction matrix element at (0,2) is not equal to 0.0:
I J K
X 4.24048e+175, 2.42715e-312, 4.24048e+175
Y 6.32576e-310, 4.24048e+175, 9.65104e-315
Z 4.24048e+175, 2.19481e-312, 9.08669e+223
This means that the K data axis has a X component in physical space, but the ITK image can only represent values along IJ projected
on XY.

Reproducibility

Tried only on 1 machine

Versions

python=3.6
itk=5.0.1
vtk=8.1.2
itk-vtkglue=0.3.0

Environment

Windows 10, 64 bits

Additional Information

Errors also with 3D images:

RuntimeError: c:\p\ipp\standalone-build\itks\modules\bridge\vtk\include\itkVTKImageImport.hxx:282:
itk::ERROR: VTKImageToImageFilter(00000196F6218070): Input number of components is 0 but should be 1

@thewtex thewtex transferred this issue from InsightSoftwareConsortium/ITK Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant