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

Convert RandomAccessibleInterval into nio Buffer #316

Open
carlosuc3m opened this issue Jul 8, 2022 · 1 comment
Open

Convert RandomAccessibleInterval into nio Buffer #316

carlosuc3m opened this issue Jul 8, 2022 · 1 comment

Comments

@carlosuc3m
Copy link

Hello, I was wondering if it is possible to convert the RandomAccessibleInterval, or the Img, directly into a nio buffer without needing to copy the values one by one.
REgards,
Carlos

@carlosuc3m
Copy link
Author

I found this example that does what I want bit remarks some possible problems, are those problems avoidable now?
https://github.com/imagej/imagej-tensorflow/blob/2f422ad7955075bbf94d20536ee3904b69cd4926/src/main/java/net/imagej/tensorflow/Tensors.java#L1020

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