This thread was created for discussions about Cedalion's photogrammetry-feature. An example notebook can be found here:
A recorded "How-To" video from a recent NIRx webinar can be found here:
https://www.youtube.com/watch?v=upBmo2ZlWBM&feature=youtu.be
Hello, I tried implementing this code using our 3D image and snirf files from NIRx system. But in plot cluster step, the code recognizes only one green circle (optode) and do not recognize the others. We tried images using scaniverse and Structure 3D scanner, both had same issue. Is there a solution for this? Please let us know.
@olessia-jouravlevcarleton-ca without seeing your code this is a wild guess, but i wonder if you properly adjusted the color thresholds, which will depend on the sticker(color)s you use.
The example notebook uses yellow stickers and suggests how you can/should adapt the HSV values for your use case
Thank you for your instant reply. I am sharing my code here. The color thresholds are adjusted. My problem is it recognizes only one green circle. I have provided the screenshot for that as well. I wonder is taking scan in a 3D scanner matters? We are using scaniverse as mentioned in your workshop.
Here is the link to the notebook : https://drive.google.com/file/d/1mp6zTf6Nia_bucRosV59q4G4TbdGQnRq/view?usp=drive_link
@olessia-jouravlevcarleton-ca thanks for the notebook, but i could not find the screenshot of the scan. Could you share this (again) to provide a better intuition?
I think the 3D scanner does not matter, really, for this algorithm to work, if the resolution is somewhat decent. of course, precision might suffer for low res scans. The thing i am wondering is whether the units in your scan may be off, so that the cluster size for instance is off scale. in other words, if we are expecting 6mm clusters but in your scan the unit is off, that could explain something...
Also, can you try to run everything on the cedalion /dev branch? it might require you to reinstall the environment (more dependencies) but dev is by now light-years ahead of the last main release, the next major stable release is coming up within the next weeks!




