Transmission imaging with a programmable detector in a scanning electron microscope.