Added a work around for the ThorLab cameras and adding a rough threshold

The ThorLab cameras would not start at the correct resolution so I just
forced them to use it.
I also added a threshold to apply_cmap.