Correct counting in case of no real image

In case we don't find any images above the threshold, we select the
brightest ones. The selection and the information in the log files was
differing...
Read sensor from logfile, color markers

Using a scatter plot, we can color the markers of the final plot. Will
use this for giving an impression on the brightness of the images.
Normalize output images

Adding a function to normalize the images to 8 bit, since the images
before were saved in a weird semi 8/16 bit state. Also saving everything
to png, so we're forcing 8bit...
I cannot figure out why the summed output image that I write is so dark,
while the corrected image (after a contrast stretch in Fiji) has quite
good visibility. Further investigations needed.
Also zeroing out frame around the border of the image. It seems that
DevWare writes some control information there, which disturbs our
max/mean/std calculation...
Select lens (or other variable) with masked arrays

Using a masked array, we select only one lens/exposure time/other
variable to display. While doing this, we found out that some of the
images are saved with strange bit depth, leading to the update in
3e49d69...