Matplotlib
Matplotlib, introduced by John Hunter in 2002 and initially released in 2003, is a comprehensive data visualization library in Python. It is widely used among the scientific world as it is easy to grasp for beginners and provides high quality plots and images, that are widely customizable.
As MeVisLab supports the integration of Python scripts e. g. for test automation, Matplotlib can be used to visualize any data you might want to see. And as it is directly integrated into MeVisLab, you don’t have to install it (via PythonPip
module) first.
In the following tutorial pages on Matplotlib, you will be shown how to create a module in MeVisLab, that helps you plot grayscale distributions of single slices or defined sequences of slices of a DICOM image and layer the grayscale distributions of two chosen slices for comparison.
- The module that is adapted during the tutorials is set up in the Example 1: Module Setup tutorial.
- The panel and two dimensional plotting functionality is added in Example 2: 2D Plotting.
- In Example 3: Slice Comparison the comparison between two chosen slices is enabled by overlaying their grayscale distributions.
- Example 4: 3D Plotting adds an additional three dimensional plotting functionality to the panel.