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

The interpolation method of surface mapping [how to change to nearest method] #23

Closed
gourdchen opened this issue Feb 13, 2023 · 2 comments

Comments

@gourdchen
Copy link

When I draw a atlas in enigmatoolbox, the color of parcellations' edge will be strange, as follows:

image

I guess it is due to the interpolation before the image rendering, but I can't find how to change the method in the code. I am not familar with the VTK, it seems a difficult task for me. So, would you please help me to solve this problem? Thank you!

@saratheriver
Copy link
Collaborator

You can convert your array to integer before
array_name=my_array.astype(int)

@gourdchen
Copy link
Author

Thanks for your kindly help!

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