TWI519124B - Scanning device and method - Google Patents
Scanning device and method Download PDFInfo
- Publication number
- TWI519124B TWI519124B TW101123470A TW101123470A TWI519124B TW I519124 B TWI519124 B TW I519124B TW 101123470 A TW101123470 A TW 101123470A TW 101123470 A TW101123470 A TW 101123470A TW I519124 B TWI519124 B TW I519124B
- Authority
- TW
- Taiwan
- Prior art keywords
- image
- scanning
- image sensor
- exposure time
- scanning device
- Prior art date
Links
Landscapes
- Facsimile Scanning Arrangements (AREA)
Description
本發明是有關一種掃描裝置及方法,特別是一種利用一次掃描過程即可獲得兩組以上不同曝光時間的影像的掃描裝置及方法。 The invention relates to a scanning device and a method, in particular to a scanning device and a method for obtaining images of two or more different exposure times by using one scanning process.
掃描技術的普及,使得許多影像、稿件得以透過數位化的方式保存。然而在影像底稿中,不同區域具有不同的光學密度,底稿暗區與底稿亮區無法以相同的掃描參數同時獲得良好的數位影像。 The popularity of scanning technology has enabled many images and manuscripts to be stored in a digital manner. However, in the image draft, different regions have different optical densities, and the dark areas of the draft and the bright areas of the draft cannot simultaneously obtain good digital images with the same scanning parameters.
舉例而言,欲得到暗區之良好影像細節,必須設定較長曝光時間,使影像感測器能夠充分感測到暗區光線,而對於亮區,則可能獲得一過分曝光之亮白影像;反之,欲獲得清晰之亮區影像,則必須設定較短之曝光時間,使影像感測器不至於過度感測亮區光線,而對於暗區,則可能呈現一片黑暗。為了獲得一良好品質的影像,發展了高動態範圍掃描技術,其是利用多次掃描以獲得不同曝光參數之數位影像,再進行影像處理如疊圖等等,以同時獲得亮區及暗區的清晰影像。但是,此法需要多次掃描,當感測器獲得第一次曝光影像後,需要返回初始位置並歸零校正,以進行下一次掃描以獲得第二次曝光影像,因此相當浪費時間;並且由於掃描過程的重新進行,可能產生影像對位偏移的問題。 For example, in order to obtain good image detail in the dark area, a longer exposure time must be set so that the image sensor can fully sense the dark area light, and for the bright area, an overexposed bright white image may be obtained; Conversely, in order to obtain a clear bright area image, a shorter exposure time must be set so that the image sensor does not overly sense the bright area light, while for dark areas, it may appear dark. In order to obtain a good quality image, a high dynamic range scanning technology has been developed, which uses multiple scans to obtain digital images of different exposure parameters, and then performs image processing such as overlaying, etc., to obtain both bright and dark areas. Clear image. However, this method requires multiple scans. When the sensor obtains the first exposure image, it needs to return to the initial position and return to zero correction for the next scan to obtain the second exposure image, which is quite a waste of time; The re-execution of the scanning process may cause a problem of image alignment offset.
有鑑於此,如何有效率且精確的得到掃描影像是目前亟需努力的目標。 In view of this, how to obtain scanned images efficiently and accurately is an urgent task.
本發明提供一種掃描裝置及方法,其可沿一掃描方向依序於物件之每一掃描位置以一第一曝光時間以及一第二曝光時間感測經物件反 射或透射物件之光線,以形成一第一影像及一第二影像。如此,利用一次掃描過程即可獲得兩組以上不同曝光時間的影像。 The present invention provides a scanning device and method for sensing an object object by a first exposure time and a second exposure time in a scanning direction sequentially at each scanning position of the object. The light of the object is transmitted or transmitted to form a first image and a second image. In this way, two or more images of different exposure times can be obtained by one scanning process.
本發明一實施例之掃描裝置包含一光源、一影像感測器以及一驅動模組。光源用以產生一光線照射一物件;影像感測器用以沿一掃描方向依序於物件之每一掃描位置以一第一曝光時間以及一第二曝光時間感測經物件反射或透射物件之光線,以形成一第一影像及一第二影像;驅動模組用以驅動影像感測器以及物件彼此相對移動,以使影像感測器掃描物件。 The scanning device according to an embodiment of the invention comprises a light source, an image sensor and a driving module. The light source is configured to generate a light to illuminate an object; the image sensor is configured to sense, according to a scanning direction, the light reflected or transmitted through the object by a first exposure time and a second exposure time in each scanning position of the object. The driving module is configured to drive the image sensor and the object to move relative to each other, so that the image sensor scans the object.
本發明另一實施例之掃描方法包含提供一光源,用以產生一光線照射一物件;並且以一驅動模組驅動一影像感測器以及物件彼此相對移動,以使影像感測器沿一掃描方向依序於物件之每一掃描位置以一第一曝光時間以及一第二曝光時間感測經物件反射或透射物件之光線,以形成一第一影像及一第二影像。 A scanning method according to another embodiment of the present invention includes providing a light source for generating a light to illuminate an object; and driving a image sensor with a driving module and moving the objects relative to each other to cause the image sensor to scan along a scan The direction sequentially senses the light reflected or transmitted through the object by a first exposure time and a second exposure time at each scanning position of the object to form a first image and a second image.
以下藉由具體實施例配合所附的圖式詳加說明,當更容易瞭解本發明之目的、技術內容、特點及其所達成之功效。 The purpose, technical contents, features, and effects achieved by the present invention will become more apparent from the detailed description of the appended claims.
請參照圖1,本發明之一實施例之掃描裝置1包含一光源2、一影像感測器3以及一驅動模組4。光源2用以產生一光線照射一物件,舉例而言,光源2可為一發光二極體或冷陰極螢光燈(cold cathode fluorescent lamp,CCFL)。影像感測器3用以沿一掃描方向依序於物件之每一掃描位置以一第一曝光時間以及一第二曝光時間感測經物件反射或透射物件之光線,以形成一第一影像及一第二影像。於一實施例中,影像感測器3可為一電荷耦合元件(CCD)、互補式金屬氧化物半導體(CMOS)感測器或接觸式影像感測器(CIS)。較佳者,掃描裝置1更包含一光學透鏡5,其設置於影像感測器3之入光側,用以會聚經物件反射或透射物件之光線於影像感測器,其中光學透鏡5可為一桿狀透鏡 (rod lens)。驅動模組4用以驅動影像感測器3以及物件彼此相對移動,以使影像感測器3掃描物件。舉例而言,驅動模組4可包含一步進馬達,以驅使感測器3相對於物件移動。 Referring to FIG. 1 , a scanning device 1 according to an embodiment of the present invention includes a light source 2 , an image sensor 3 , and a driving module 4 . The light source 2 is used to generate a light to illuminate an object. For example, the light source 2 can be a light emitting diode or a cold cathode fluorescent lamp (CCFL). The image sensor 3 is configured to sense the light reflected or transmitted through the object by a first exposure time and a second exposure time in a scanning direction sequentially to form a first image and a second image. In one embodiment, the image sensor 3 can be a charge coupled device (CCD), a complementary metal oxide semiconductor (CMOS) sensor, or a contact image sensor (CIS). Preferably, the scanning device 1 further includes an optical lens 5 disposed on the light incident side of the image sensor 3 for concentrating light reflected or transmitted through the object to the image sensor, wherein the optical lens 5 can be a rod lens (rod lens). The driving module 4 is configured to drive the image sensor 3 and the objects to move relative to each other, so that the image sensor 3 scans the object. For example, the drive module 4 can include a stepper motor to drive the sensor 3 relative to the object.
於一實施例中,掃描裝置1更包含一使用者介面6,其電性連接影像感測器3。使用者可透過該使用者介面6設定第一曝光時間以及第二曝光時間,或者設定掃描解析度,以獲得不同解析度之第一影像及第二影像。舉例而言,使用者介面6可為一按鍵模組、觸控模組甚至是聲控模組,其位於掃描裝置1本體或延伸於外部;或者是透過電腦軟體以設定掃描參數。 In one embodiment, the scanning device 1 further includes a user interface 6 electrically connected to the image sensor 3. The user can set the first exposure time and the second exposure time through the user interface 6, or set the scanning resolution to obtain the first image and the second image with different resolutions. For example, the user interface 6 can be a button module, a touch module or even a voice control module, which is located on the body of the scanning device 1 or extends outside; or through a computer software to set scanning parameters.
承接前述,掃描裝置1更包含一影像處理模組7,其與影像感測器3電性連接,用以對第一影像以及第二影像進行影像處理。當影像感測器3獲得第一影像及第二影像後,會傳送至影像處理模組7。影像處理模組7可根據使用者需求調整影像性質、疊圖、影像分割與合併等等。可理解的是,影像處理模組包含軟體、韌體或其組合。 In the above, the scanning device 1 further includes an image processing module 7 electrically connected to the image sensor 3 for performing image processing on the first image and the second image. After the image sensor 3 obtains the first image and the second image, it is transmitted to the image processing module 7. The image processing module 7 can adjust image properties, overlays, image segmentation and merging, etc. according to user requirements. It can be understood that the image processing module includes a software body, a firmware, or a combination thereof.
舉例而言,於一實施例中,當使用者欲掃描一物件時,根據其對物件光學密度的考量,先透過掃描裝置1之使用者介面6輸入第一曝光時間1ms以及第二曝光時間10ms。圖3為本發明一實施例之掃描路徑示意圖,如圖3所示,當掃描裝置1開始掃描時,影像感測器3會從初始位置P0沿著掃描方向D移動,依次通過一第一掃描線L1、一第二掃描線L2…以此類推,直至通過整個掃描區域A,才會返回初始位置P0。依據使用者所設定的曝光時間,當影像感測器3通過第一掃描線L1時,會先停留第一曝光時間1ms,以獲得第一掃描線L1之第一影像,再停留第二曝光時間10ms,以獲得第一掃描線L1之第二影像,因此第一掃描線的掃描時間為第一曝光時間1ms及第二曝光時間10ms的總合11ms,接著,影像感測器3會移動到第二掃描線L2,後續過程依序以此類推。於一實施例中,影像感測器3亦可在曝光時間達到第一曝光時間1ms時,即輸出資料並繼續曝光,而在達到第二曝光時間10ms時,再一次輸出資料,如此可縮短掃描的時間。 For example, in an embodiment, when the user wants to scan an object, according to the optical density of the object, the first exposure time is 1 ms and the second exposure time is 10 ms through the user interface 6 of the scanning device 1. . 3 is a schematic diagram of a scanning path according to an embodiment of the present invention. As shown in FIG. 3, when the scanning device 1 starts scanning, the image sensor 3 moves from the initial position P 0 along the scanning direction D, and sequentially passes through a first The scan line L 1 , a second scan line L 2 ... and so on, will not return to the initial position P 0 until the entire scan area A is passed. Based on the exposure time set by the user, when the image sensor 3 through the first scan line L 1, a first exposure time of residence will first 1ms, to obtain a first image of a first scan line L 1, and then a second visit 10ms exposure time, to obtain a second image of the first scan line L of 1, a first scan line of the scan time for a first exposure time second exposure time 1ms and 10ms 11ms total sum, then, the image sensor 3 will Moving to the second scan line L 2 , the subsequent process is followed by the same. In an embodiment, the image sensor 3 can also output data and continue exposure when the exposure time reaches the first exposure time of 1 ms, and output data again when the second exposure time reaches 10 ms, thereby shortening the scanning. time.
承上,當掃描結束,影像感測器3獲得物件的完整第一影像及第二影像後,會將其傳送至影像處理模組7,於一實施例中,影像處理模組7包含一電腦軟體,其安裝於一電腦,且電腦與掃描裝置1電性連接。透過電腦軟體的輔助,使用者可以處理第一影像及第二影像,例如將高曝光時間的影像及低曝光時間的影像疊圖,以得到一高動態範圍影像。可理解的是,影像處理模組7亦可直接位於掃描裝置1上,以方便使用者立即的操作。 In the embodiment, the image sensor module 3 includes a computer. After the image sensor 3 obtains the complete first image and the second image of the object, the image sensor module 3 transmits the image to the image processing module 7. In one embodiment, the image processing module 7 includes a computer. The software is installed on a computer, and the computer is electrically connected to the scanning device 1. With the aid of the computer software, the user can process the first image and the second image, for example, a high exposure time image and a low exposure time image overlay to obtain a high dynamic range image. It can be understood that the image processing module 7 can also be directly located on the scanning device 1 to facilitate the user's immediate operation.
請同時參考圖1、圖2與圖3,其說明本發明一實施例之掃描方法。首先,提供一光源2,用以產生一光線照射一物件(S1);以一驅動模組4驅動一影像感測器3以及物件彼此相對移動,以使影像感測器3沿一掃描方向D依序於物件之每一掃描位置以一第一曝光時間以及一第二曝光時間感測經物件反射或透射物件之光線(S2),以形成一第一影像及一第二影像。因此,影像感測器3獲得第一影像後,不需要再回到初始位置P0歸零校正,可於同一位置再度感測以獲得第二影像。最後,再對第一影像以及第二影像進行一影像處理(S3),舉例而言,透過一影像處理模組7,使用者可對同一物件之高曝光時間影像及低曝光時間影像進行影像性質調整、疊圖、分割或合併,但不限於此,以獲得良好之影像。 Please refer to FIG. 1, FIG. 2 and FIG. 3 simultaneously, which illustrate a scanning method according to an embodiment of the present invention. First, a light source 2 is provided for generating a light to illuminate an object (S1); an image sensor 3 is driven by a driving module 4 and the objects are moved relative to each other to cause the image sensor 3 to follow a scanning direction D. The light reflected or transmitted through the object is sensed by a first exposure time and a second exposure time at each scanning position of the object (S2) to form a first image and a second image. Therefore, after obtaining the first image, the image sensor 3 does not need to return to the initial position P 0 to zero correction, and can be re-sensed at the same position to obtain the second image. Finally, an image processing (S3) is performed on the first image and the second image. For example, through an image processing module 7, the user can perform image quality on the high exposure time image and the low exposure time image of the same object. Adjust, overlay, split or merge, but not limited to get a good image.
於一實施例中,使用者更可透過使用者介面6設定第一曝光時間以及第二曝光時間,其中使用者介面6可為一按鍵模組、觸控模組甚至是聲控模組,其位於掃描裝置1本體或延伸於外部;或者是透過一電腦軟體以設定掃描參數。上述步驟之詳細說明如前所述,於此不再贅言。較佳者,於一實施例中,使用者可根據不同的曝光時間,設定其想要的輸出解析度,因此第一影像及第二影像的解析度可為不同。 In one embodiment, the user can set the first exposure time and the second exposure time through the user interface 6. The user interface 6 can be a button module, a touch module or even a voice control module. The body of the scanning device 1 is extended to the outside; or through a computer software to set the scanning parameters. The detailed description of the above steps is as described above and will not be further described herein. Preferably, in an embodiment, the user can set the desired output resolution according to different exposure times, so the resolutions of the first image and the second image may be different.
綜合上述,本發明之掃描裝置及方法提供了一感測器,其可沿一掃描方向依序於物件之每一掃描位置以一第一曝光時間以及一第二曝光時間感測經物件反射或透射物件之光線,以形成一第一影像及一第二影像。如此,利用一次掃描過程即可獲得兩組以上不同曝光時間的 影像,再經過影像處理,可同時獲得一暗區及亮區皆清晰的影像。除了節省掃描時間,也避免了影像對位偏移的問題。 In summary, the scanning apparatus and method of the present invention provide a sensor that senses object reflection or a first exposure time and a second exposure time in a scanning direction sequentially at each scanning position of the object. The light of the object is transmitted to form a first image and a second image. In this way, two or more different exposure times can be obtained by one scanning process. The image, and then the image processing, can simultaneously obtain a clear image of both the dark area and the bright area. In addition to saving scan time, the problem of image alignment offset is also avoided.
以上所述之實施例僅是為說明本發明之技術思想及特點,其目的在使熟習此項技藝之人士能夠瞭解本發明之內容並據以實施,當不能以之限定本發明之專利範圍,即大凡依本發明所揭示之精神所作之均等變化或修飾,仍應涵蓋在本發明之專利範圍內。 The embodiments described above are only intended to illustrate the technical idea and the features of the present invention, and the purpose of the present invention is to enable those skilled in the art to understand the contents of the present invention and to implement the present invention. That is, the equivalent variations or modifications made by the spirit of the present invention should still be included in the scope of the present invention.
1‧‧‧掃描裝置 1‧‧‧ scanning device
2‧‧‧光源 2‧‧‧Light source
3‧‧‧影像感測器 3‧‧‧Image sensor
4‧‧‧驅動模組 4‧‧‧Drive Module
5‧‧‧透鏡 5‧‧‧ lens
6‧‧‧使用者介面 6‧‧‧User interface
7‧‧‧影像處理模組 7‧‧‧Image Processing Module
A‧‧‧掃描區域 A‧‧‧Scanning area
D‧‧‧掃描方向 D‧‧‧Scanning direction
L1‧‧‧第一掃描線 L 1 ‧‧‧first scan line
L2‧‧‧第二掃描線 L 2 ‧‧‧second scan line
S1~S3‧‧‧掃描方法 S1~S3‧‧‧ scanning method
P0‧‧‧初始位置 P 0 ‧‧‧ initial position
圖1為本發明一實施例之掃描裝置示意圖。 1 is a schematic diagram of a scanning device according to an embodiment of the present invention.
圖2為本發明另一實施例之掃描方法流程圖。 2 is a flow chart of a scanning method according to another embodiment of the present invention.
圖3為本發明一實施例之掃描路徑示意圖。 FIG. 3 is a schematic diagram of a scan path according to an embodiment of the present invention.
1‧‧‧掃描裝置 1‧‧‧ scanning device
2‧‧‧光源 2‧‧‧Light source
3‧‧‧影像感測器 3‧‧‧Image sensor
4‧‧‧驅動模組 4‧‧‧Drive Module
5‧‧‧透鏡 5‧‧‧ lens
6‧‧‧使用者介面 6‧‧‧User interface
7‧‧‧影像處理模組 7‧‧‧Image Processing Module
Claims (19)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101123470A TWI519124B (en) | 2012-06-29 | 2012-06-29 | Scanning device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW101123470A TWI519124B (en) | 2012-06-29 | 2012-06-29 | Scanning device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201401842A TW201401842A (en) | 2014-01-01 |
TWI519124B true TWI519124B (en) | 2016-01-21 |
Family
ID=50345245
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW101123470A TWI519124B (en) | 2012-06-29 | 2012-06-29 | Scanning device and method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI519124B (en) |
-
2012
- 2012-06-29 TW TW101123470A patent/TWI519124B/en active
Also Published As
Publication number | Publication date |
---|---|
TW201401842A (en) | 2014-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101561107B1 (en) | Image reading device | |
CN1864088A (en) | Fast scanner with rotatable mirror and image processing system | |
CN216437265U (en) | Multi-mode scanning device for performing invisible light reflection | |
TWM495685U (en) | Dual-mode scanning device | |
TW202218402A (en) | Multi-mode scanning device performing flatbed scanning | |
US6963428B1 (en) | Method and system for calibrating a look-down linear array scanner utilizing a folded optical path | |
TW201622402A (en) | Scanning device with overhead reflecting mirror | |
TWI519124B (en) | Scanning device and method | |
JP2003259088A (en) | Image reader | |
JP2006333162A (en) | Image scanner | |
JP2009111812A (en) | Image reader | |
JP2010251815A (en) | Image reading apparatus, image reading method and program | |
JP2003037713A (en) | Image reader | |
US20070013971A1 (en) | Imaging System Utilizing Illumination and Optical Modules Contained within Rotating Optical Platens | |
TW545039B (en) | Method and apparatus for increasing a scanning resolution | |
JP6830325B2 (en) | Image reader | |
TWI408944B (en) | Calibrating and detecting position structure and multifunction peripheral using same | |
CN100377560C (en) | Scanistor device for automatically adjusting lens multiplying power | |
JP2006246137A (en) | Image-reading apparatus | |
TW466866B (en) | Light source device for scanner | |
JP2018088643A (en) | Contact two-dimensional image sensor device and drive control method thereof | |
TW407421B (en) | The preset treatment method of image scanning | |
JP2013115499A (en) | Image reading apparatus, image forming apparatus, and image reading method | |
TW552796B (en) | Optical scanner capable of automatically positioning image reading device | |
CN103581488A (en) | Scanning device and scanning method |