-
Notifications
You must be signed in to change notification settings - Fork 10
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
CCA column preview empty after Image Cropper #494
Comments
Thank you for reporting this, it seems to be a bug with our preview rendering. |
I noticed the same issue with Adjust Dimensionality? being checked and cropping an XYZ image with a defined Z range: after a Global Thresholder and a Connected Component Analysis, the thumbnails are missing in the output table. |
@stelfrich @imagejan This issue is related to the Image Cropper not renormalizing the axis minima. I created a metanode ZeroMin metanode.zip which performs the needed ZeroMin operation. Just add this as a workaround to your workflows where the cropper behavior causes you issues. We might add this as a popper node to KNIP at a later point in time. |
I noticed that this can also problems when trying to use a legacy I got:
... when running my Adding your ZeroMin metanode helped here, but I see no way of fixing this inside my own plugin, while still taking an |
You could always run RAI myImp = Views.zeroMin(imp); |
@gab1one yes, of course, if I take an |
In most cases you will actually get an ImgPlus converted to a ImagePlus, at least in KNIME we always use IJ2 / Imglib2 data structures internally. We do not run Maybe we can add an improved conversion strategy in the future, until then I recommend you just request a ImgPlus / RAI as input, wrap it into an ImagePlus yourself after performing Views.zeroMin(..) on it. Then you have maximal control over it. I am sorry that there is currently no easier way for it. |
It seems that if Adjust Dimensionality? is unchecked in an Image Cropper node, the output tables of subsequent Connected Component Analysis nodes do not show a preview of the labeling. Clicking on the cell shows the labeling as expected.
Example workflow: CCAPreviewAfterImageCropper.zip
The text was updated successfully, but these errors were encountered: