maweigert / spimagine

GPU accelerated volume rendering / processing in Python
BSD 3-Clause "New" or "Revised" License
117 stars 17 forks source link

Flip dimension #16

Open gregjohnso opened 7 years ago

gregjohnso commented 7 years ago

Saw this great tool featured at Bioimage Informatics this week. It would be great if there were an option to choose which dimensions are viewed (i.e. x, y, t).

maweigert commented 7 years ago

Hey Greg, Agreed, would be nice to have. Currently, the underlying OpenCL memory object is of fixed (3d) dimension and making that changeable on the fly from the GUI would require some internal changes. Until then, you can display a transposed version when running it from the command line, e.g.

volshow(data.transpose((1,0,2,3))    
# flips z -> t