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

The registration from hemibrain to FAFB is squished #2

Open
SridharJagannathan opened this issue Mar 19, 2021 · 1 comment
Open

The registration from hemibrain to FAFB is squished #2

SridharJagannathan opened this issue Mar 19, 2021 · 1 comment

Comments

@SridharJagannathan
Copy link

Hi,
When I try to download a mesh or a skeleton to transform to FAFB like below:

neuron_mesh = neu.fetch_mesh_neuron(1324365879, lod=2, with_synapses=False)
flywireneuron_mesh=navis.xform_brain(neuron_mesh,source='JRCFIB2018Fraw', target='FAFB',verbose=True)

The actual hemibrain mesh looks like below:

Screenshot 2021-03-19 at 14 19 48

However, the transformed stuff looks like squished like below:
Screenshot 2021-03-19 at 14 19 14

@schlegelp
Copy link
Collaborator

The overall transform looks good as you can see from this co-visualization with the FAFB neuropil mesh.

Screenshot 2021-03-20 at 15 12 08

The transform path is this

1. JRCFIB2018Fraw (voxel) to JRCFIB2018F (nm)
2. JRCFIB2018F (nm) to JRCFIB2018Fum (um)
3. JRCFIB2018Fum (um) to JRC2018F (um)
4. JRC2018F (um) to FAFB14um (um) 
5. FAFB14um (um) to FAFB14 (nm)

This (local) squishing seems to be introduced in step 3. I checked if it had anything to do with my implementation of the Saalfeld lab's Hdf5 transforms but I also tried using the original Java implementation via nat and that produced the same results. I guess we could ask John Bogovic - maybe he'd be able to improve the transform? @jefferis any thoughts?

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

No branches or pull requests

2 participants