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

point outside data error #1857

Closed
imanusita opened this issue Jun 13, 2019 · 4 comments
Closed

point outside data error #1857

imanusita opened this issue Jun 13, 2019 · 4 comments

Comments

@imanusita
Copy link

what would be the problem i hv runned the same progrm with other data and i didn t hv problm
errroor

@gabknight
Copy link
Contributor

It looks like your seeds position are outside your diffusion images. Be sure your seed image is co-aligned with your diffusion images (e.g. image size, voxel size, affine matrix).

@imanusita
Copy link
Author

how should i change them ?
i used (seeds = random_seeds_from_mask(fa > 0.4, seeds_count=1)) for two kinds of data it worked to one of them .it worked for data of size (128,128,72,71) , but not for (256,256,72,71)

@gabknight
Copy link
Contributor

You are probably providing the affine matrix to the localTracking function, by not the seeds generation function. Try adding your affine matrix to random_seeds_from_mask(fa > 0.4, seeds_count=1, affine=affine)

@gabknight
Copy link
Contributor

If you still have issues with your data and affine transformation, you can reach us on https://gitter.im/nipy/dipy

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