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

Detection of myelin #8

Open
JDG210 opened this issue Sep 22, 2021 · 7 comments
Open

Detection of myelin #8

JDG210 opened this issue Sep 22, 2021 · 7 comments
Assignees

Comments

@JDG210
Copy link

JDG210 commented Sep 22, 2021

Hi Volker,

I ran your g-ratio macro on a few of my images, and I have been surprised by the results of the myelin detection: the area that is displayed in my images seem quite far from the myelin I actually see around the axons. At first I thought my image might be the problem so I tried with one with fewer axons that are more appart from each other, but I still have that issue (axon selections in green and myelin selection in blue):
Gratio plugin tentative1b
image

Would there be a parameter I could modify to correct that issue? Or should I only use the macro on images with round, very well defined axons?

Thanks a lot for your help.

Best regards

JD

@volker-baecker
Copy link
Member

I could reproduce the problem with the example images from the project. I'll try to find the reason for the problem.

@volker-baecker
Copy link
Member

Please first make sure that the grow_regions.jar from

https://github.com/MontpellierRessourcesImagerie/imagej_macros_and_scripts/wiki/MRI_g_ratio_Tools

is in the plugins folder of your FIJI installation. You need to restart FIJI after putting the file there. Without it the tool works but the calculation for the myelin takes a long time so that it seems that the green and blue are in the same place.

This still does not explain the results I see on your screenshots, but to get ahead with this I need at least one of those input images.

Best,
Volker

@volker-baecker volker-baecker self-assigned this Sep 23, 2021
@JDG210
Copy link
Author

JDG210 commented Sep 23, 2021

Hi Volker,
I installed the plugin and it does go way faster than before, and up to generation 1000 instead of 200. But the resulting myelin selection looks similarly inaccurate.
On my last try I noticed that the selection may be partly accurate and partly shifted... see below for selection #32 around axon #14:

image

Please find attached two images I tried the macro on, let me know if you can obtain something more accurate than me!

Thanks for your help, much appreciated.
01_5K.zip
.
11_7k.zip

Best

@volker-baecker
Copy link
Member

01_5K_out
11_7k_out

Here is what I get. It doesn't look great, but the result is understandable. The myelin is searched around the axons. You could augment the filter size and with some manual editing of the axons it might be possible to get a reasonable result.

So I don't understand the result you got. I agree that the blue rois seem to be shifted, but I have no idea how this can have happened and it doesn't happen when I run it on your images. I am a bit out of ideas here.... Maybe you can try a clean FIJI installation with ImageJ 1.53k and make sure not to touch anything while the tool is calculating...

After that the only thing we could do is make a remote debugging session via zoom or a similar tool.

Best,
Volker

@bigzero61
Copy link

The same issue occurs to me as well.

The myelin rois shifted and every time I ran the 'f' command I got different results on the same image. The number of axons also spontaneously changed.

@volker-baecker
Copy link
Member

Hi @bigzero61,
yes, I can now reproduce the problem of the myelin segmentation not working as expected. I'll look into it.

@volker-baecker
Copy link
Member

Hi @bigzero61,

it should be fixed in the latest version. Note that (as written in the instructions), you need to select all axons in the image, adding those missed by the automatic procedure manually, for the global results to make sense.

Best,
Volker

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

3 participants