Sometimes things are easier than expected. Just want to share some inspiration on how to play with CVBpy.
Anaconda provides a short cut to lunch this console from the Start Menu.
Sometimes things are easier than expected. Just want to share some inspiration on how to play with CVBpy.
Anaconda provides a short cut to lunch this console from the Start Menu.
Same works in Spyder (Python 3.6)
import cvb
import os
import matplotlib.pyplot as plt
image = cvb.Image.load("w:/plattform/x64/Tutorial/Clara.bmp")
m = cvb.as_array(image)
plt.imshow(m.transpose(), cmap="gray")
The image can now be loaded with the constructor:
image = cvb.Image(p)