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

Curved cilia give wrong cilia length #13

Open
lbozal opened this issue Apr 11, 2023 · 9 comments
Open

Curved cilia give wrong cilia length #13

lbozal opened this issue Apr 11, 2023 · 9 comments
Assignees

Comments

@lbozal
Copy link

lbozal commented Apr 11, 2023

Hi!! I was just measuring some cilia in cells and I realized that length measurements make sense when cilia are straight but not when they are curved. Is this a common issue? I see that the skeleton of the cilia are correct.

@hansenjn
Copy link
Owner

Hi,
Thank you for bringing this up.
No I haven't heard about this before. Could you explain a little bit more what your image properties look like and how you access the accuracy of the curved cilia measurements?
Are your images calibrated with equal x and y pixel-lengths?
If you could share an example image this would also be very helpful to troubleshoot the issue.

@lbozal
Copy link
Author

lbozal commented Apr 12, 2023

Hi!! Find attached the original picture, the skeleton and the text files containing info and results!
let me know if everything was OK! Thanks for all the support!!

original pic_CQP_ed_CQ.txt
original pic_CQP_ed_CQl.txt
original pic_CQP_ed_CQs.txt
[original pic_CQP_ed_CQ_SKL_info.txt](https://github.com/han
original pic_CQP_ed.txt
senjn/CiliaQ/files/11212956/original.pic_CQP_ed_CQ_SKL_info.txt)

@lbozal
Copy link
Author

lbozal commented Apr 12, 2023

original pic

Here it is the original picture!

@lbozal
Copy link
Author

lbozal commented Apr 12, 2023

original pic_CQP_ed_CQ_SKL

And here the skeleton

@hansenjn
Copy link
Owner

hansenjn commented May 7, 2023

Dear @lbozal,

sorry for my very late reply. I got too busy with some other projects and lacked the time to look into the problem.

I have now released an improved version of CiliaQ that gives better length estimates than the previous versions, especially in 2D images. Maybe you could try whether this version gives you a better result and let me know, whether that helps.

Best wishes

@hansenjn
Copy link
Owner

hansenjn commented May 7, 2023

Testing the new version with your image, the results seemed accurate in my hands.

@lbozal
Copy link
Author

lbozal commented May 8, 2023 via email

@hansenjn
Copy link
Owner

hansenjn commented May 8, 2023

Hi @lbozal,

thank you so much for your help, for reporting and helping to find the issue. And also for being so cooperative in sharing your data. That helped a lot. I now have found the problem. Sorry that I did not clearly see it yesterday, now I see it.

The old CiliaQ versions (v0.1.4 and earlier) could apparently not accurately enough measure the length in your type of image (2D, low pixel length of 0.003 µm/px). Due to the way the length measurements were implemented in the previous versions, the measurements had a high variance for 2D images, especially with low pixel sizes. I tried to explain it in more detail in the release notes for the newest release: https://github.com/hansenjn/CiliaQ/releases/tag/v0.1.7. It is unfortunately very complicated since this was relating to the way the length measurements were implemented programmatically. Since I have not had images with that conditions before and mostly worked with 3D images for developing CiliaQ, I had never seen the problem before but I understand it now. So it was very valuable to have your image and test the new version with this.

I have worked on improving the length measurements and now released the updated version that has no longer the issue and gives more accurate length measurements. If you install v0.1.7 you should no longer have the problem and get accurate results.

Thank you very much for your help in making CiliaQ better! Don't mind reaching out again if you encounter more issues! Getting user feedback is very valuable to find and fix issues.

@lbozal
Copy link
Author

lbozal commented May 8, 2023 via email

@hansenjn hansenjn self-assigned this May 8, 2023
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