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

Feature to convert a tracks file to a density map #114

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Gregoire-V
Copy link

Written by Thomas Durantel @todurante.

@Gregoire-V Gregoire-V self-assigned this Jun 6, 2024
@Gregoire-V Gregoire-V changed the title Add of a feature to convert a tracks file to a density map Feature to convert a tracks file to a density map Jun 6, 2024
@Florent2305 Florent2305 requested a review from astamm June 7, 2024 08:40
Copy link
Contributor

@Florent2305 Florent2305 left a comment

Choose a reason for hiding this comment

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

Hi, thanks to port Thomas' work in anima.
Can you statisfy "request changes" please.

Copy link
Contributor

@Florent2305 Florent2305 left a comment

Choose a reason for hiding this comment

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

Hi, thanks to port Thomas' work in anima.
Can you statisfy "request changes" please.

@Gregoire-V
Copy link
Author

@Florent2305 I modified the main algorithm to compute the density map, because it seems to me that Thomas Durantel's implementation has drawbacks. In this new implementation, the sgn function is no longer used, and neither is the dist variable, so these change requests no longer apply.
I also added comments to explain what is being done. In addition, I tested the related new executable with two different track files (one from Trekker tractography algorithm with a smaller step size and one from iFod2 algorithm with a higher one).
Here are the command lines that I wrote for this test:
testShapesToDensity

Could you please have a look at this new implementation of the main algorithm, and tell me if there are parts to modify?

@astamm
Copy link
Contributor

astamm commented Nov 8, 2024

@Gregoire-V Are you using this PR to push the most recent developed tool?

@Gregoire-V
Copy link
Author

@Gregoire-V Are you using this PR to push the most recent developed tool?

Yes! I talked about it with Florent yesterday and I will soon do a new commit with several changes.

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.

3 participants