CVBpy and Jupyter QtConsole

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.

4 Likes

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")
2 Likes

Also works with Visual Studio Code with automatic documentation view:

1 Like

The image can now be loaded with the constructor:

image = cvb.Image(p)
2 Likes