Skip to content

add export source option to object classification#139

Merged
k-dominik merged 3 commits intoilastik:mainfrom
biovoxxel:main
Feb 10, 2026
Merged

add export source option to object classification#139
k-dominik merged 3 commits intoilastik:mainfrom
biovoxxel:main

Conversation

@biovoxxel
Copy link
Contributor

I added an additional dialog to the object classification wrapper that allows to choose if object predictions, probabilities, or identities are exported.
Especially the identities are super helpful in Fiji to analyze the predictions per object instance.

Copy link
Contributor

@k-dominik k-dominik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @biovoxxel,

thank you so much for your contribution! I think it's super useful to be able to export the object identities from ilastik. Dream would be to also handle the table some day (#84)...

I left some suggestions, but my java is rusty to say the least ;)

- absolute Strings exchanged for constants
- collapse return of Collection.singletonList into single String.format line
@biovoxxel
Copy link
Contributor Author

Hi @k-dominik,

I added the changes you requested and tested the code in Fiji. It should be ready for release.

Copy link
Contributor

@k-dominik k-dominik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @biovoxxel,

thank you so much for your contribution @biovoxxel, there are some small issues remaining with macro backwards compatibility, but I can fix those if you don't necessarily want to do it at this time!

@k-dominik
Copy link
Contributor

k-dominik commented Feb 10, 2026

Okay I guess I forgot about scijava/scijava-common#317 ... Plugin will not be backwards compatible for macro usage in object classification, but I guess that's a limitation we're going to have to live with. Probably a good idea to bump the minor version at least.

and use string constant rather than another occurrence of the string for
objectExportSource.
@k-dominik k-dominik merged commit a3c8ed8 into ilastik:main Feb 10, 2026
1 check passed
@k-dominik
Copy link
Contributor

Thank you very much @biovoxxel, we'll do a release soon!

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.

2 participants