Embodiments including detection of color content in an image are disclosed. A comparator, coupled to the switched-capacitor circuit, compares a voltage across the capacitors with another voltage during each of a number of iterations. In situations where beam intensity is relatively low, such as in certain imaging applications, characterization of the proton beam with charged particles can provide sufficient statistics for meaningful results while avoiding the beam itself. The method further includes initiating a migration of the one or more settings from the storage device.