Commit a86e74e0 authored by John Harwell's avatar John Harwell
Browse files

Coloring code for CIFTI volume slice viewing was incorrectly setting the alpha...

Coloring code for CIFTI volume slice viewing was incorrectly setting the alpha value.  The RGBA colors are unsigned bytes but the alpha value was treated as a float.   It has been corrected to assign the byte alpha value to the voxel and not multiply the alpha by 255 (incorrectly converting float to byte).  This resulted in a numerical overflow and and incorrect alpha value.
parent 865ab8bd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment