dbdicom.extensions.matplotlib.plot_surface#

dbdicom.extensions.matplotlib.plot_surface(series, level=0, gridspacing=10, show=True)[source]#

Plot the surface at a given level

Parameters:
  • series (dbdicom.Series) – Series with the array to be plotted.

  • level (int, optional) – Extract the surface at this level. Defaults to 0.

  • gridspacing (int, optional) – spacing in mm between gridlines on the plot. Defaults to 10 mm.

  • show (bool, optional) – if True, the function displays the plot. Defaults to True.

Returns:

matplotlib figure with the plot.

Return type:

Figure

Requires:

matplotlib skimage

Examples using dbdicom.extensions.matplotlib.plot_surface#

Rotate and translate

Rotate and translate