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

lateralisation of object counts #272

Open
PolarBean opened this issue Nov 3, 2022 · 8 comments
Open

lateralisation of object counts #272

PolarBean opened this issue Nov 3, 2022 · 8 comments
Assignees

Comments

@PolarBean
Copy link
Member

Several users and Trygve have requested the ability to have lateralised object counts + load. Can we calculate this in the output file for both left and right hemispheres.

@sharoncy
Copy link
Member

sharoncy commented Nov 3, 2022

This is currently supported with the application of hemisphere masks generated with the QuickMask software. This means that each dataset has to be processed twice, once for each hemisphere, to generate separate reports (object counts + loads) for each hemisphere. This is cumbersome, but is the solution that we have currently. The atlases themselves don't differentiate hemispheres so I got the impression this wasn't an easy thing to implement? But maybe there is a solution? Let's discuss sometime, it would be great if Nutil could do this without using masks.

@PolarBean
Copy link
Member Author

We could perhaps create a custom atlas with different region codes for each hemisphere but it would be nice if it was an automatic feature for all atlases :)

@sharoncy
Copy link
Member

sharoncy commented Nov 3, 2022

Or maybe integrate QuickMask with QuickNII / VisuAlign/ Nutil somehow so that the step is hidden from the user? QuickMask automatically generates left/right hemisphere masks based on a QuickNII or VisuAlign registration (it's shared together with the QuickNII and VisuAlign software on NITRC). Maybe this info could be integrated in the QuickNII or VisuAlign json somehow, or have a button for mask export in VisuAlign, probably many ways to do it. Something to discuss in person.

@ingvildeb
Copy link

This could definitely be done by modifying the atlas itself but I agree it would be most elegant if it's implemented so that it's independent of the atlas delineations. I also think it's essential that the user can get both merged and lateralized counts within the same run.

@sharoncy
Copy link
Member

sharoncy commented Nov 7, 2022

I agree with Ingvild. As a minimum, there should be the option to generate two sets of reports - one corresponding to each side of the applied masks - within a single Nutil run. Nutil currently allows users to generate reports for either the left or right side in a single run. It should be a quick fix to implement support for generating both simultaneously.

@PolarBean
Copy link
Member Author

Absolutely, and for efficiency would the sum of these reports be equal to the full run? that could be an idea

@PolarBean
Copy link
Member Author

Now that we are planning on adding object based point clouds, one advantage is it will make this issue easier.

  • In the waxholm space rat atlas the midline of the brain is at X coordinate 241. If the cell position X coordinate is less than 241 then it is in the left hemisphere, greater than 241 is the right hemisphere.
  • In the Allen atlas mouse the CCF the midline is at X 226. Less than 226 is in the left hemisphere and greater than 226 is in the right hemisphere.

@Majpuc
Copy link
Member

Majpuc commented Dec 15, 2023

Lateralised version of Allen will be available. Need to be implemented in registration tools first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants