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

Wrap itk.PyBuffer for itk.Image[itk.Vector[itk.D, 2]] #1132

thewtex opened this issue Aug 1, 2019 · 2 comments



This comment has been minimized.

Copy link
Member Author

commented Aug 15, 2019

xref #253 , we should also wrap itk::Image<itk::VariableLengthVector<T>, D>, as aptly identified by @maekclena


This comment has been minimized.

Copy link

commented Aug 15, 2019


The error comes from itk.PyBuffer[VectorType].GetImageViewFromArray returning an object of type itk::Image<itk::VariableLengthVector, D> which is not wrapped.

I don't think the itk::Image<itk::VariableLengthVector<T>, D> image type would be functional. Likely, GetImageViewFromArray should be returning a VectorImage for this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.