A checkbox should be added to each camera view window. ([x] Show histogram)
When the checkbox is checked, a new window is initiated (if it was closed earlier), where a qchart shows the histogram of each image
When the checkbox is unchecked, the window disappears, updating stops.
If window is x-ed out, updating stops.
This is how to plot in qt5:
https://learndataanalysis.org/create-a-simple-bar-graph-code-included/