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

example for mask + points multi-metric registration? #622

Open
dyf opened this issue May 13, 2024 · 4 comments
Open

example for mask + points multi-metric registration? #622

dyf opened this issue May 13, 2024 · 4 comments

Comments

@dyf
Copy link

dyf commented May 13, 2024

We have been building a 3D anatomical template for one of our lightsheet systems. We find 3D mask-based alignment does a great job but would like to refine the transform with a set of manually placed XYZ fiducials.

We have been attempting this with ANTsPy, but have been struggling with understanding the correct way to do this from the documentation. Could someone provide an example?

cc @yonibrowning, @sharmishtaa

@ntustison
Copy link
Member

Here are some tutorials for pairwise and longitudinal sets of point sets in ANTsR/ANTsPy. Go down to "Fit transform to paired points" and "Velocity flows across point sets".

@galenlynch
Copy link

galenlynch commented May 13, 2024

Is there any way to create multi-metric transforms using both paired points and image intensities? I don't see that in these examples. Thanks in advance!

@ntustison
Copy link
Member

We do have point-set specific metrics in antsRegistration (ICP, PSE, and JHCT in the help menu). You can see an example of their usage here. However, these are not available in ANTsPy as they haven't demonstrated sufficient utility to migrate over to ANTsPy. We're much more likely to compliment intensity-based segmentation with binary regional masks which can be added as "multivariate extras." If you're wondering specifically about exact landmark matching, that's not really part of the ANTs toolkit (outside of TPS available in the point-set fitting) as these can conflict with the prioritization of diffeomorphic transforms.

@galenlynch
Copy link

I see, we are trying to do the same: compliment intensity-based transforms with binary masks, and were wondering if we could layer landmarks on top of that. We would want the paired points to guide the transform in difficult areas as part of the cost function, but not override it.

I haven't been able to get that chicken example to work with paired key points, but most likely that's due to a lack of effort and understanding on my part.

Thanks for explaining the current status to us!

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

3 participants