-
Notifications
You must be signed in to change notification settings - Fork 3
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
FMI KNIME Plugins version 0.19.0.202104201635 introduces imglib2 dependency issue #13
Comments
Here is the corresponding branch on my fork on GitHub: |
@imagejan I think there is a little problem with the merge of this pull request: Create plug-ins to convert well-known text to bitmasks and vice versa #14. I installed a fresh copy of KNIME AP 4.3.2 and installed the following extensions as you normally would:
I wanted to test the newly added "Well-Known Text (WKT) to 2D Binary Mask" node. Executing it, I ran into the following issue:
As far as I can see, this is the line of code in
I noticed that this is different from what I initially contributed:
So what is the problem? The version of |
@charismatic-claire thanks for letting me know, and sorry for this! I had changed the call to If it can't be updated in KNIP relatively shortly, I'll re-introduce your original, backwards-compatible call. |
@charismatic-claire sorry for the delay, I released a new version just now:
This includes https://github.com/fmi-faim/fmi-ij2-plugins/releases/tag/fmi-ij2-plugins-0.8.1 which fixes the compatibility with ImgLib2 version 5.8.0 that's shipped currently with the KNIME ImageJ integration. I quickly tested with a KNIME workflow going from WKT to bitmask and back, and didn't see any issues 🎉 . |
@imagejan, cool! Well so it might take a while until |
@charismatic-claire yes, I simply assumed it might take a while until knime-ip/knip-externals#31 gets closed, as there's currently not much development on the In theory, I assume we could just include a more recent Anyhow, introducing backwards compatibility to ImgLib2 5.8.0 wasn't too much of a hassle in this case 🙂. |
Suppose you created a segmentation using the Image Processing environment in KNIME. You can extract all the segments from your segmentation and get a list of bitmasks. Wouldn't it be great to convert this bitmask representation of the segments to a well-known text (*.wkt) representation. Why? Because it,s more universal.
And why not go the other way round too? Suppose you have an image and a list of segments in well-known text (*.wkt) format. It should be possible to convert those to bitmasks that can be used to assemble an image segmentation using KNIME's
GroupBy
node.Here is the corresponding thread in the KNIME forum: Convert Well-Known Text (WKT) To Labeling
The text was updated successfully, but these errors were encountered: