-
Notifications
You must be signed in to change notification settings - Fork 4
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
scaling the stack for different resolutions[BUG] #51
Comments
And the second page:
|
Thanks for raising this @Timbrer. In future please just post the text into the issue itself and ideally also post code as text (not a screenshot). This makes it much easier and quicker for us to look into the issue and reproduce. |
I don't really fully understand these issues though, could you explain further? The first issue doesn't seem to be a problem (as far as I understand it). In BrainGlobe, what we mean by resolution would be better termed "voxel spacing". If an array has a shape of (3,3,3) and resolution of (2,2,2) then it has physical size of (6,6,6). There aren't only two gaps of 2um, each point represents a voxel (2,2,2) in size. As far as I understand it, I'm afraid I don't understand the second issue. Reading between the lines, I think there may be a problem applying (otherwise valid) assumptions for manipulating volumetric arrays to manipulating coordinates in the same space. From this description though, I find it hard to pinpoint exactly what we need to do. Lastly, I would like to ask you to refrain from instructing us to fix things. This is an open source project with limited resources, and any support offered is on a best-effort basis (nobody is employed to maintain this repository). We will try to fix bugs, but we cannot address every issue. |
Thank you so much for your reply and thanks for writing this package. I am glad that I have this tool in my research rather than writing everything from the beginning :) I list 2 issues that only related to the practical usage of imaging data. In the first case, the scaling assumes the brain stack contains averaged value for each voxel. However, in the imaing experiments (2-photon etc), a brain stack usually starts from the shallowest image plane to deepest image plane. Therefore, if the plane gap is n um, the whole imaging depth of (m+1) planes should be n*m. The boundary situations should be considered especially when the gap of imaging planes are large. I think I misunderstand the original designing purpose for this pacakge, it designs for voxelized data, each value in the brain stack should be the average of a voxel. However, it would be nice to let people notice this if thery want to use it for imaging data. The second issue is the coordination systems in this pacakge starts from 1 rather than 0, which is normal in matlab. But in python, the coordination system may start from 0 in many packages. In summary, I think there is nothing to be modified. But it would be nice to notice it if someone would like to use this wonderful package to analyze imging data. I apologize for the original poor format of this issue reporting. |
techical_issue_about_anatamical_space.pdf
The text was updated successfully, but these errors were encountered: