Exposure Calculator

Category: Microscope & GIF
Description: A simple little script which extracts the exposure time and the maximum pixel value in an image. It then calculates the optimum exposure time to produce a target intensity in the image. I use this to quickly determine the optimum EELS acquisition times from a single corrected spectrum image.
Comments: There is a limitation (or conflict) in User Defined Language with DM script. The operation "/" and "*" cannot be defined as operators in Notepad++ once we define "/*" and "*/" as comment block markers. So I have left "/" and "*" out from the operator list
Script version: 1.0
DM/GMS version: 3.7
Hardware: GIF2000
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download