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

Add Java bindings #855

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft

Conversation

ctrueden
Copy link

@ctrueden ctrueden commented Jun 7, 2023

This branch adds a simple Java library adapting ITK data structure to Java ones. For our initial effort, we have chosen to use the ImgLib2 library, which provides interface-driven support for n-dimensional images in a similar manner to ITK. ImgLib2 is also the underlying data model for the ImageJ2 and Fiji projects, so this approach should make it easier to integrate ITK functionality into Fiji.

@netlify
Copy link

netlify bot commented Jun 7, 2023

Deploy Preview for itk-wasm-docs ready!

Name Link
🔨 Latest commit 15ea877
🔍 Latest deploy log https://app.netlify.com/sites/itk-wasm-docs/deploys/648333d6d2614a00089f1e98
😎 Deploy Preview https://deploy-preview-855--itk-wasm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ctrueden ctrueden force-pushed the java branch 2 times, most recently from f0391bc to 8996520 Compare June 7, 2023 08:24
For now, just a straight conversion from Python.

We will adjust later to avoid the anti-pattern of enumerated cases,
in favor of extensibility via Java's type system.
For some reason, these methods throw ClassNotFoundException... sort of.
They don't actually *throw* it, but in the Eclipse debugger, I see the
constructor terminate early and reporting that this exception happened.
But it doesn't stop execution of the thread for some reason.
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

Successfully merging this pull request may close these issues.

None yet

1 participant