Neural-Systems-at-UIO / nutil

https://nutil.readthedocs.io/en/latest/
GNU General Public License v3.0
12 stars 5 forks source link

Quantifier Images #205

Closed GxHam closed 3 years ago

GxHam commented 3 years ago

Hi,

Would it be possible to output the images from the quantifier as meshes instead of against a colored atlas?

Majpuc commented 3 years ago

Hi GxHam, The coordinate file for the 3D objects allow you to visualize your objects in 3D. In a sw like MeshView you will be able to visualize the atlas meshes as well. https://www.nesys.uio.no/MeshView/meshview.html?atlas=ABA_mouse_v3_2017_full

GxHam commented 3 years ago

Hi Majpuc,

How would I trigger the mesh view in the link provided? I can only adjust the transparency of the regions, but it is still colored. I'd like mesh view similar to in VisuAlign when you drag the cursor all the way to the right side. I'm quantifying fibers, hence it is quite difficult seeing the points past the colored background.

GxHam commented 3 years ago

Alternatively, would it be possible to export the images without the numbers but with the cloud points only? Here is an example. 003_stitched_FFC_VV33-01_s02_AF568 Can I remove the mini numbers somehow?

sharoncy commented 3 years ago

Under advanced settings in Nutil Quantifier select "No" for display region IDs in image files and "No" for display object IDs in image files and reports. Let us know if you have problems with this.

Majpuc commented 3 years ago

Hi GxHam, regarding your question: in MeshView you cannot see the outline only as you can in VisuAlign. The high number of atlas regions makes the visualization a bit difficult in 3D. Even having outline only would be very crowded. Using this link https://www.nesys.uio.no/MeshView/meshview.html?atlas=ABA_mouse_v3_root you will be able to look at a transparent brain and then can activate or deactivate the region meshes as your convenience. image

GxHam commented 3 years ago

Hi @sharoncy - Thanks for the advice! I managed to generate the image files without region ID :) Hi Majpuc - only showing root does make visualization better :) thank you so much!

However I was wondering if this is normal? image It is taking me super long to generate the cloud points even when I set the cloud point density to 1000000. If you have any advice on visualizing fibers I'm all ears as well :)

Majpuc commented 3 years ago

Hi GxHam, I am glad that we sorted this out. About the generation of point cloud coordinates files, we are aware that connectivity datasets with many points take long time. Here are some tips from our connectivity Quint expert @marovst -reduce the size of the input files to 10 %- try to find a size still allowing you to visualize your objects properly, but you maybe don't need the biggest image resolution -extract less pixels (as you already tried) -test the minimum object size feature in order to remove speckles. The most efficient was to reduce input image size. I hope this will help!

GxHam commented 3 years ago

Hi Majpuc, thank you so much for the advice. I'll try it out and see if things improve. Another issue I noticed was that when using the Mask feature to isolate hemispheres, I sometimes run into issues where the quantification gets stuck for a few slices, and I get a barrage of error messages. I've attached the corresponding images below: image image This happens occasionally, and I can get through the quantification if I restart nutil and run it again. But I wonder if there is a bug in the program.

Majpuc commented 3 years ago

Dear GxHam, Thanks for reporting this. We will have a look at it as soon as possible.

sharoncy commented 3 years ago

@GxHam. I'm not sure what is happening here. I'd need an example dataset to be able to investigate further. If you're happy to share please email me a zipped folder with all the input files required for an analysis that failed and I'll look into it when I have some time. s.c.yates@medisin.uio.no

sharoncy commented 3 years ago

I haven't received a response here. @GxHam Maybe this resolved itself? I will close this issue soon unless I hear otherwise.