Closed mihelics closed 3 years ago
@mihelics Is this for NeuroMorphoVis or VessMorphoVis?
Oh sorry, my mistake. Let me try to move those to VessMorphoVis
пет, 29. окт 2021. 07:31 Marwan Abdellah @.***> је написао/ла:
@mihelics https://github.com/mihelics Is this for NeuroMorphoVis or VessMorphoVis?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BlueBrain/NeuroMorphoVis/issues/139#issuecomment-954704299, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3DODIAZDU6AF7IKN7EKLTUJKOYXANCNFSM5G66PTDA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I moved this issue over to vessmorphovis. will move my recent feature request too. Sorry about that. Good catch.
Hi Marwan,
Thanks again for adding the 3D directional color-coding feature...
I noticed some choppiness (discontinuities) in the colormap. Did you perhaps encode the angle to each axis or the sines of those angles in the colormap? I believe the sines of those angles (the 3-space components of the direction unit vector) to be the better quantity to encode because it will utilize the color-space more evenly.
Proof: a random variable uniformly distributed on the surface of the unit sphere will be uniformly distributed in three components (sine of angle from axis) independently, but will have an uneven distribution when binned by the angles.
For example, looking at this authentic in vivo anatomy:
Here is the histogram of segment directions binned by Z-component (quite uniform):
And here is the histogram of (area-weighted) section directions binned by angle from Z axis (the histogram is heavily concentrated on 0 (because a random direction is more likely to be aligned to a plane than a line).
Thanks, Sam