-
Notifications
You must be signed in to change notification settings - Fork 12
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
Volume data type support #3
Comments
I see that you support
It fails during the compilation with error |
Thanks for the feedback, @nilgoyette.
This is something that can be reconsidered, of course, and the crate could sure use more tests. May I know what brings you to reading a volume as an array of |
I was trying to read a binary mask (0-1 values). They are quite frequent in medical imaging. I know I could use It may not be the right place to ask this, but I checked your library a lot today because I'm trying to save an image and there's something I don't understand. You seem to cast everything to |
That is a good question, actually. I do not intend to keep it like that in the future. Ideally, we would have a trait which implements the traditional numeric cast And with that addressed, retrieving an array of |
Status update: the master branch now uses I might publish a new release soon-ish, but feel free to use the upstream version for the time being. Edit: This has now landed in 0.3.1 |
I will use this issue to track currently supported volume data types.
get_*
)IntoNdArray
Uint8
Int8
Uint16
Int16
Uint32
Int32
Uint64
Int64
Float32
Float64
Complex64
Rgb24
Rgba32
Float128
Complex128
Complex256
The text was updated successfully, but these errors were encountered: