A compact X-ray tomograph based on a CMOS flat panel