-
Notifications
You must be signed in to change notification settings - Fork 200
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
Weird fringing artifact with parcellation maps #39
Comments
Try again. It should be fixed now. The weird edges were caused by interpolation in the overlay. The intended behavior was for interpolation to be turned off when smoothing is off -- that's how Mango works. So that part has been fixed. If you happen to want to leave smooth display on (e.g., for the underlay), you can also now specify 'interpolation' as true or false for that overlay. I think the reason the other map you linked do didn't show the artifact is that the overlay dimensions were an exact multiple of the underlay, resulting in no interpolation. A related item is that turning gradation off in the color tables is now supported. That is, you can now create a color table like this:
Normally the space between the color table "knots" is interpolated, but when setting "gradation" to false, it remains a solid color. These types of color tables might be useful for segmented data. |
Great! Works! Thank you! |
Super helpful post! Thank you both!! Took me a while to realize you can add -- Sample snippet for those that are visiting this page.
|
I have problems displaying this map: https://www.dropbox.com/s/2ig8llrzo64xfrv/Screenshot%202015-12-10%2016.37.16.png?dl=0
There appear to be fringes/borders on edges of the parcels. However when I view the same map in mango it looks correct:
I've tried to turn off smoothing, but it did not change anything. You can download the map here:
http://neurovault.org/media/images/1003/brain_parcellation_mcinet_basc_asym_111clusters.nii.gz
PS other parcelation maps in NeuroVault are rendered correctly. For example: http://neurovault.org/images/1700/
The text was updated successfully, but these errors were encountered: