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

adding JRC2018F_VNC templatebrain #42

Merged
merged 8 commits into from May 14, 2020
Merged

adding JRC2018F_VNC templatebrain #42

merged 8 commits into from May 14, 2020

Conversation

istvantaisz
Copy link
Collaborator

No description provided.

@jefferis
Copy link
Contributor

Hi @istvantaisz, Thanks for this. Can you

  1. remove the DS_store (I suggest adding it to your global gitignore – google will tell you how)
  2. I have restarted the travis build (which errored because of something to do with the new 4.0 version of R being incompatible with some cached versions of dependency packages on travis).
  3. On reflection the short name would ideally not include an underscore since that is used to separate template brains in bridging registrations. So maybe simply JRC2018FVNC or JRCVNC2018F. I think given that the hemibrain is called JRCFIB2018F maybe the VNC should come first but I am not dogmatic.
  4. @bogovicj do you have a view on what the short name for the VNC templates should be?

@bogovicj
Copy link

I also like JRCVNC2018F both for the sound of it and for consistency with the hemibrain short name as you said :)

@jefferis jefferis self-requested a review May 14, 2020 00:49
Copy link
Contributor

@jefferis jefferis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • remove the DS_store (I suggest adding it to your global gitignore – google will tell you how)
  • Change name to JRCVNC2018F
  • rename data-raw/JRC2018_VNC_FEMALE_4iso.nrrd to data-raw/JRC2018_VNC_FEMALE_4iso.nhdr
  • document the JRCVNC2018F and JRCVNC2018F.surf objects. See https://github.com/natverse/nat.flybrains/blob/master/R/JRC2018.R for an example. You can put the documentation for JRCVNC2018F in the same file.

@istvantaisz
Copy link
Collaborator Author

Hi @jefferis I've made the above changes.

The surface wasn't generated exactly as the others described in the documentation, I will update the .surf file based on that

@jefferis
Copy link
Contributor

jefferis commented May 14, 2020 via email

@istvantaisz
Copy link
Collaborator Author

I updated the surface following the method used for the brains and changed the documentation accordingly.

@jefferis
Copy link
Contributor

Thanks a lot @istvantaisz. A good test is whether you can use Rvcg::vcgVolume

> Rvcg::vcgVolume(as.mesh3d(JRCVNC2018F.surf))
[1] 3511794

The new mesh now passes that test, so looks good to me.

@jefferis
Copy link
Contributor

There are a few internal blobs, which is interesting.

image

@istvantaisz
Copy link
Collaborator Author

hm, true. I suspect they are coming form the large axon tracts that were very low intensity on the image.
Is there some quick fix in Amira that fills holes in a volume or a way to split up this single surface into the separate blobs and then threshold based on size?

@jefferis
Copy link
Contributor

I think we can leave those blobs, they are presumably non-neuropil areas. There could be interest in removing them for some purposes (and perhaps closing some of the in pouches). But no need now. Thanks again for the PR.

@jefferis jefferis merged commit c4ef89f into master May 14, 2020
@jefferis jefferis deleted the JRC2018_VNC branch May 14, 2020 16:23
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

Successfully merging this pull request may close these issues.

None yet

3 participants