allenneuraldynamics / aind-ccf-registration Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
As a user, I want the repo published to pypi, so I can pip install the package.
Add any helpful notes here.
In the current CCF registration code, we are defining the Allen CCF template to be the "fixed" image and the (downsampled) SmartSPIM data as the "moving" image. ANTs then computes (amongst other things):
fwdtransforms
: Transforms to move from moving to fixed image.)invtransforms
: Transforms to move from fixed to moving image.)The current registration code outputs:
fwdtransforms[1]
to the affine_transforms_file
invtransforms[1]
to the warp_transforms_file
quantification.py line 82
).fixed -> moving
transform (inverse) deformation field correctly moves points from the original data space into the CCF...The reason I bring this to the attention of the group is to advocate storing both forward and reverse transforms.
It may be useful, for example, to see the original high resolution data with the CCF boundaries present.
At the moment, this would require moving the full resolution image into CCF space (or at least a higher resolution version of it).
With the complete transform, you could transform a specific annotated region mask into the raw data space, then look at cell segmentation, counting, etc. in the raw data. I admit that this may be an edge case.
Suggested Changes
Either:
Let me tag @camilolaiton and @sharmishtaa , since I know they both work on registration.
As a developer, I want github actions to manage the semantic version, so I don't have to worry about it.
Add any helpful notes here.
It looks like the ants_params:{"Spacing"} parameters are applied incorrectly when loading the light sheet volume into ants. The volume is flipped to match the CCF, but the parameters are set as though the volume is in its original smartspim configuration.
The solution is probably either to change the spacing parameters, e.g. (14.4,16,14.4) instead of the current (14.4,14.4,16) OR to reorder the parameters when they are set as the ants spacing.
Tests would be nice!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.