Scanning speed is an important performance index of a scanner. A large format scanner with multiple CCDs is characterized by large format and high precision, producing large volumes of image data. Rapid completion of image data transmission and processing becomes the key of scanner driver design.One problem of the traditional large format scanner driver is the serial sampling. In this way, image data generated from each CCD is serially obtained, which increases the time delay of image data acquisition and transmission. Multi-threading is a solution to the problem. It can achieve parallel acquisition and transmission of image data from each CCD, reduce the overall time delay of image data transmission and improve scanning speed. Based on Multi-threading, hierarchical design principles are adopted to reasonably divide functions at each layer of scanner driver, improving the reusability of the scanner driver. |