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

Gray Scale Attribute Filtering 3D not working #59

Closed
ClemenceKress opened this issue Oct 12, 2021 · 6 comments
Closed

Gray Scale Attribute Filtering 3D not working #59

ClemenceKress opened this issue Oct 12, 2021 · 6 comments
Assignees

Comments

@ClemenceKress
Copy link

Hello,

I used Gray Scale Attribute Filtering on 2D image without problem in Fiji (everything updated). I'd like to do the same on 3D images now.
But when I try to use Gray Scale Attribute Filtering 3D on a stack, I get the following message:

(Fiji Is Just) ImageJ 2.3.0/1.53f51; Java 1.8.0_202 [64-bit]; Mac OS X 10.16; 44MB of 8004MB (<1%)

java.lang.RuntimeException: Unknown connectivity: 4
at inra.ijpb.morphology.attrfilt.SizeOpening3DQueue.process(SizeOpening3DQueue.java:99)
at inra.ijpb.morphology.AttributeFiltering.volumeOpening(AttributeFiltering.java:131)
at inra.ijpb.plugins.GrayscaleAttributeFiltering3D.run(GrayscaleAttributeFiltering3D.java:202)
at ij.IJ.runUserPlugIn(IJ.java:241)
at ij.IJ.runPlugIn(IJ.java:204)
at ij.Executer.runCommand(Executer.java:150)
at ij.Executer.run(Executer.java:68)
at java.lang.Thread.run(Thread.java:748)

I get the same results if I change the connectivity value. Could you help me?
Thank you

@dlegland
Copy link
Contributor

Hello,

it looks like a copy-paste error when converting algorithms from 2D to 3D...
thanks for reporting, we will check soon!

David

@dlegland dlegland self-assigned this Oct 13, 2021
@dlegland
Copy link
Contributor

Well, after checking I realize the bug was alreadyu fixed in August (55e7080). Therefore, correct version will be available with next release!

@ClemenceKress
Copy link
Author

Thank you for the fery fast answer and the good news. And when will the next release be? I can surely use other tools, but if it is very soon I'd better wait.

@dlegland
Copy link
Contributor

There is no official date for the next "big" release; we are currently working on several changes, so a new release could be available "soon"...
In the meanwhile, I have released a bug-fix release; you can download it here:
https://github.com/ijpb/MorphoLibJ/releases/tag/v1.4.3.1

(simply download the jar, and use it as replacement of previous MorphoLibJ jar in the ."../Fiji.app/plugins" directory)

@ClemenceKress
Copy link
Author

Thank you, indeed it works now.
Your plugin is great. the distance transform watershed is very efficient for the segmentation of nuclei of various shape and intensity within tissue sections. And the possibilities for label edition are very handy: with merging and manual correction of shapes I manage to obtain a correct segmentation for all nuclei, which is quite remarkable.
I also appreciate a lot the documentation about the plugin, it is very clear to understand what the tools do. This is really not the case with some other plugins (I'm currently struggling with other ones for 3D analysis).

@dlegland
Copy link
Contributor

Thank you for your very positive feedback!
We are glad the library is useful and can be easily adopted by people. And yes, makng the documentation takes a lot of time, but is absolutely crucial for users!

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

2 participants