Sample calculation of meanIntensity for the loaded images in InteractiveViewer2D.java.