smistad / FAST

A framework for high-performance medical image processing, neural network inference and visualization
https://fast.eriksmistad.no
BSD 2-Clause "Simplified" License
433 stars 101 forks source link

fast.TransferFunction crashes on windows #180

Closed olemarius90 closed 1 year ago

olemarius90 commented 1 year ago

The following code crashes on windows:

transferFunction = fast.TransferFunction([100, 0, 0, 0, 0, 255, 1, 0, 0, 0.5])

smistad commented 1 year ago

I uploaded a fix which seem to work for me on windows.

olemarius90 commented 1 year ago

Nice! This works like a charm "on my PC". Thanks!