hansenjn/CiliaQ

Curved cilia give wrong cilia length

Closed this issue · 9 comments

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.

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.

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)

original pic

Here it is the original picture!

original pic_CQP_ed_CQ_SKL

And here the skeleton

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

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

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.