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

[Pixel Type] add long long as type of dataImage #1159

Open
mathildemerle opened this issue Oct 25, 2023 · 0 comments
Open

[Pixel Type] add long long as type of dataImage #1159

mathildemerle opened this issue Oct 25, 2023 · 0 comments

Comments

@mathildemerle
Copy link
Collaborator

One of our user had a "long long" pixel type mha image, which can't be read in medInria. It has been solved casting it in an other tool (sitk) to img = sitk.Cast(img,sitk.sitkUInt8).

However, it could be fine to add the possibility to read long long images in medInria.

I just tested to add itkDataImageLongLong3.h and itkDataImageLongLong4.h in src/plugins/legacy/itkDataImage/data and adapt everything but i have a problem with ITK. Indeed, medInria 3.4 is on ITK 5.0, and medInria 4 on ITK 5.1.1. However, until ITK 5.2 the bridge between ITK and VTK does not support long long pixel type.

So, we could add the reading and writing of long long images on medInria 4 with the ITK updating PR : #1132, but not before.

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