Some hints from experience:
- try to somehow to identify the CCD sensor and get the datasheet. Without that it will be very hard to do anything reasonable. The only work around would be to analyze live signals while the scanner is still working.
- try to reuse as much of the electronics as possible. E.g. level shifters, signal conditioning. Also the ADC may be reusable.
If you want some ideas about a project reusing a CCD line sensor have a look at this article which was published in the German Computer magazine c't or at the original project page (both in German).
I don't see too many issues using a standard USB camera in a vacuum. Your two largest issues are likely to be heat dissipation, and outgassing from the camera components.
Depending on how high a vacuum you need, you may need to package the camera in a hermetic container. There is almost inevitably going to be at least a small amount of soldering flux/VOCs left on the PCBs from production, and it will outgas when you pump the system down.
If you have sufficient pump capacity, or don't need extremely high vacuum, it shouldn't be too much trouble.
You could also try removing all the plastic from the camera, and baking the PCB assembly at a low temperature to speed up the out-gassing (~100°C?).
Second, at least some of the USB-cameras I have used do dissipate a fair amount of power, so depending on the camera, you may have localized heating issues due to the lack of convection cooling. It should be possible to deal with this using proper heat-strapping, though I think it would probably better to just pick a device with low dissipation.
Lastly, you can certainly buy some pretty interesting USB cameras, which do support all sorts of fun things like variable ISO, and variable shutter time. It mostly depends on your budget.
If you don't mind experimenting, I would say go to your local electronics store, and just buy a webcam, and see what happens (and post pictures!).
The hardest part, I think, is probably going to be hermetically sealing the cable feed-through. You can't just stick the cable in a cable gland, as you will get leakage through the cable, both between the strands, and between the individual wires and the sheath. You will need hermetically rated bulkhead connectors.
Best Answer
There are various methods to determine the the number of electrons collected in a given sampling interval (look up - photon transfer curve) but this in itself does not give you what the QE (Quantum Efficiency) is of the device. QE is the measure of how many electrons are generated per photon incidence (always less than 1.0 and in CCD's typically in the 28% range).
You must note that the QE also varies with wavelength as the various dielectric layer thicknesses above the photodiodes emphasize and attenuate at different wavelengths.
The only real answer is that you must calibrate the sensor against a known source or a calibrated detector. There are NIST calibrated detectors available in various supply companies. These devices will have a calibration curve vs. wavelength that you can use to calibrate your device.
Here is a link to calibrated PD's on Thorlabs - search on "Calibrated Detectors". They have detectors that have built in amplifiers and bare detectors even with fibre connections. There are many others that sell them too.