416214 五、發明說明(1) 【發明的應用範圍】 本發明係為一種具自動辨識掃描物件範圍之掃描裝置 及其辨識方法,特別是關於不須經由預掃(p r e s c a η )的 動作,即可自動判斷出待掃描物件相對於掃描平台的位置 及其範圍大小,而直接對該掃描物件所在之區域進行掃 描,提昇掃描作業的速度,並減少操作上的程序之掃描裝 置。 【發明的相關技術】 傳統的掃描裝置無法自動辨識出待掃描物件在掃描平 台(如玻璃平板)的位置及大小,所以一般都是先針對整個 掃描平台做一次快速預掃(P r e s c a η )的動作,將感測器 所擷取的影像資料顯示在一顯示器(螢幕),使用者再以手 動操作滑鼠的方式圈選出所要的實際掃描範圍。 然而就傳統的掃描作業方式,由於在執行預掃的操作 時,需針對整個掃描平台掃描,相對地也會增加掃描所需 的時間。特別是在沒有預掃即直接進行掃描時,由於掃描 範圍之預設值是掃描整個平台,或是最後一次掃描之範 圍,若是根據前者,則會浪費掃描時間,若是根據後者, 則可能會造成影像無法全部掃描。 由此可知,傳統的掃描裝置在進行掃描作業時,由於 無法預知待掃描物件的尺寸及其相對於掃描平台的位置, 導致必須先進行一次對掃描平台完整範圍的預掃操作,接 著決定所需的實際掃描範圍之後,再針對決定的實際掃描 範圍執行第二次的掃描;對於掃描作業的效率不彰的問416214 V. Description of the invention (1) [Scope of application of the invention] The present invention is a scanning device and a method for identifying the range of objects to be scanned automatically, especially for actions that do not require prescan (presca η). The position and range of the object to be scanned relative to the scanning platform are automatically determined, and the area where the scanned object is located is directly scanned to increase the speed of the scanning operation and reduce the scanning device for operating procedures. [Related technology of the invention] The traditional scanning device cannot automatically recognize the position and size of the object to be scanned on the scanning platform (such as a glass plate), so generally a quick pre-scan (P resca η) is performed for the entire scanning platform first. Action, the image data captured by the sensor is displayed on a display (screen), and the user then manually selects the actual scanning range by operating the mouse. However, in the traditional scanning operation method, since the pre-scanning operation is performed, the entire scanning platform needs to be scanned, and the time required for scanning will be relatively increased. Especially when scanning directly without pre-scanning, because the default value of the scanning range is to scan the entire platform or the last scanning range, if it is based on the former, it will waste scanning time, and if it is based on the latter, it may cause Images cannot be scanned all. It can be known that when the traditional scanning device performs a scanning operation, because it cannot predict the size of the object to be scanned and its position relative to the scanning platform, it must first perform a pre-scanning operation on the entire range of the scanning platform, and then determine the required After the actual scan range of the scan area, a second scan is performed for the determined actual scan range.
第4頁 416214 五、發明說明(2) 【發明之目的與概述】 有鑑於上述之問題點,本發明之主要目的即在於提供 一種文件範圍辨識裝置與方法,可於掃描作業中,不須經 由預掃的動作,即可辨識待掃描物件的實際範圍,並直接 針對待掃描物件的實際範圍進行掃描,縮短掃描作業所耗 費的時間。 是以,本發明之自動辨識掃描物件範圍之掃描裝置與 方法,在掃描前能夠先自動辨識出待掃描文件相對於掃描 平台之位置與大小,並決定實際的掃描範圍,可直接對該 範圍進行預掃或直接掃描,而達到簡化掃描程序及快速掃 描之功效;其主要乃是利用一設置於掃描裝置的面型感測 器,在掃描之前先擷取掃描平台之影像,影像經過一邏輯 運算電路處理之後,演算出待掃描物件相對於掃描平台的 相對位置及其範圍或大小;如是,掃描時即可精4地針對 待掃描物件進行掃描,使掃描的速度大幅提昇。 有關本發明之技術内容及實施例,茲配合圖式說明如 下: 【圖式說明】 第1圖,係為本發明之側視結構示意圖; 第2圖,係為本發明於進行掃描作業時之動作流程圖; 第3圖,係為本發明之掃描作業時,顯示面型感測器判斷 待掃描物件位於掃描平台的位置及大小之平面示 意圖, 第4圖,係為本發明之實施步驟流程圖:Page 4 416214 V. Description of the invention (2) [Objective and summary of the invention] In view of the above problems, the main purpose of the present invention is to provide a device and method for identifying a document range, which can be used in scanning operations without going through The pre-scanning action can identify the actual range of the object to be scanned, and directly scan the actual range of the object to be scanned, reducing the time consumed by the scanning operation. Therefore, the scanning device and method for automatically identifying the range of scanned objects of the present invention can automatically identify the position and size of the document to be scanned relative to the scanning platform and determine the actual scanning range before scanning. Pre-scan or direct scan to achieve the effect of simplifying the scanning process and fast scanning. It mainly uses a surface sensor set on the scanning device to capture the image of the scanning platform before scanning, and the image undergoes a logical operation. After the circuit is processed, the relative position of the object to be scanned relative to the scanning platform and its range or size are calculated; if so, the object to be scanned can be scanned precisely during scanning, which greatly increases the scanning speed. The technical content and embodiments of the present invention are described below in conjunction with the drawings: [Explanation of the drawings] FIG. 1 is a schematic view of the side structure of the present invention; FIG. 2 is a view of the present invention during a scanning operation. Operation flow chart; Fig. 3 is a schematic plan view showing the position and size of an object to be scanned on a scanning platform during a scanning operation according to the present invention, and Fig. 4 is a flow chart showing the implementation steps of the present invention Figure:
第5頁 416214 五 '發明說明(3) 第5圖,係為本發明應用於穿透式掃描之另一實施例圖〆 請參閱『第1 、2圖』,所揭示的乃是一種可以自動辨 識掃描物件範圍之掃描裝置1。該掃描裝置1之外殼1 0中設 有一用以供待掃描物件20置放之透明掃描平台11 (如玻璃 平板),及經由一驅動機構(圖中未示)驅動而沿著平行 於掃描平台1 1之方向往復移動並對前述待掃描物件2 0進行 掃描之掃描模組1 2。掃描裝置1之略底部中央還配置一鏡 頭單元1 3、一面型感測器1 4、至少一個光源產生器1 5及一 邏輯運算電路16。 ,其面積大小視需要 型感測器1 4也可依其 平台11的最大掃描面 感測器1 4可以選用 3為一只可以涵攝整 個以上之鏡頭組合而 涵蓋整個掃描平台 元13擷取自掃描平台 出待掃描物件2 0位於 掃描核組1 2依據判斷 圍,進行掃描。 裝置1可在待掃描物 出待掃描物件2 0在平 之掃描,亦可僅對該 之作業時間,尤其對 掃描平台11是一個平面型的平台 而定,可為A4、A3或A 1尺寸等,而面 解析度的需求選用,舉例而言,掃描 積為 A4 size (210tnmx297nim),面型 640mm X 480mm的點數;而鏡頭單元1 個掃描平台11之廣角鏡頭,或是由一 成,所有鏡頭能攝取的總面積,可以 1 1。而面型感測器1 4則可經由鏡頭單 1 1的影像,透過邏輯運算電路1 6判斷 掃描平台1 1的相對位置及其範圍,使 結果,對待掃描文件2 0之實際所在範 就掃描的過程來說,本發明掃描 件2 0放置在掃描平台1 1後,事先計算 台之位置及範圍,可直接進行該範圍 範圍預掃,可省去預掃整個平台區域Page 5 416214 Five 'invention description (3) Figure 5 is a diagram of another embodiment of the present invention applied to penetrating scanning. Please refer to "Figures 1 and 2". Scanning device 1 for identifying the range of scanned objects. The casing 10 of the scanning device 1 is provided with a transparent scanning platform 11 (such as a glass plate) for placing the object to be scanned 20, and is driven parallel to the scanning platform by a driving mechanism (not shown). A scanning module 12 that moves back and forth in the direction of 1 and scans the object 20 to be scanned. A lens unit 1 3, a planar sensor 14, at least one light source generator 15, and a logic operation circuit 16 are further arranged at the center of the bottom of the scanning device 1. The size of the sensor 14 as required can also be based on the maximum scanning surface of the platform 11. The sensor 14 can be selected as 3, which can capture the entire lens combination and cover the entire scanning platform. The object to be scanned 20 from the scanning platform is located in the scanning core group 12 and scans according to the judgment range. The device 1 can scan the object to be scanned 20 to be scanned in the flat, or only the operation time, especially for the scanning platform 11 is a flat platform, which can be A4, A3 or A 1 size Etc., and the choice of area resolution is required, for example, the scanning product is A4 size (210tnmx297nim), the area is 640mm X 480mm, and the lens unit is a wide-angle lens with 11 scanning platforms, or from 10%, all The total area that the lens can capture can be 1 to 1. The area sensor 14 can judge the relative position and range of the scanning platform 11 through the image of the lens 1 1 through the logical operation circuit 16 to make the result scan the actual range of the scanned file 20 In terms of the process, after the scanning member 20 of the present invention is placed on the scanning platform 11, the position and range of the table can be calculated in advance, and the range of the range can be pre-scanned directly, and the entire platform area can be omitted.
第6頁 416214 五、發明說明(4) 於掃描小尺寸文件功效特別顯著。在計算文件範圍之前, 可利用鏡頭單元1 3將掃描平台1 1的整個範圍全部投射入面 型感測器1 4,經由面型感測器1 4對掃描範圍轉換成電子訊 號後,再藉以邏輯運算電路1 6處理過影像之後,即可在掃 描之前,預先判斷出待掃描物件2 0的相對位置及面積大 小 〇 前述的判斷方式,是利用面型感測器1 4將攝取自掃描 平台11的影像範圍畫分成複數個像素(pixel);另該邏 輯運算電路1 6則可以是包括有一用以將該面型感測器1 4所 測得之影像做二值化處理的二值化單元(T h r e s h ο 1 d ) 1 6 1 、一用以演算出該待掃描物件2 0的位置之運算處理單 元(MCU ) 162、以及用以接收該運算處理單元162所得位 置訊號之位置控制單元(P C U ) 1 6 3 ;如是當待掃描物件2 0 置入於掃描平台11上,蓋上掃描裝置1的遮光罩101之後, 面型感測器1 4所得到的影像會因待掃描物件2 0覆蓋於掃描 平台1 1上,致使待掃描物件2 0的影像與遮光罩1 0 1所提供 的背景顏色(最好為黑色或深色)區域產生明暗差別,此 時,隨即透過二值化單元1 6 1處理將所得到的影像像素之 間灰階差值,藉由運算處理單元1 6 2判斷出待掃描物件2 0 對應於掃描平台1 1上的位置,之後再將所得的位置資訊傳 給位置控制單元1 6 3,計算出待掃描物件2 0的四個頂點, 然後再以所得之訊號結果,驅使該掃描模組1 2僅對該待掃 描物件2 0的實際所在範圍進行掃描。 簡而言之,藉由上述之構成,在掃描裝置1要進行掃Page 6 416214 V. Description of the Invention (4) The effect of scanning small files is particularly significant. Before calculating the range of the document, the entire range of the scanning platform 11 can be projected into the surface sensor 14 using the lens unit 13, and the scanning range is converted into an electronic signal by the surface sensor 14 and then used to After the logical operation circuit 16 has processed the image, the relative position and area of the object to be scanned 20 can be determined in advance before scanning. The aforementioned judgment method is to use a surface-type sensor 14 to capture the image from the scanning platform. The image range of 11 is divided into a plurality of pixels. In addition, the logic operation circuit 16 may include a binarization process for binarizing the image measured by the surface sensor 14. Unit (Thresh ο 1 d) 1 6 1, an arithmetic processing unit (MCU) 162 for calculating the position of the object to be scanned 20, and a position control unit for receiving a position signal obtained by the arithmetic processing unit 162 (PCU) 1 6 3; If the object to be scanned 20 is placed on the scanning platform 11 and the light shielding cover 101 of the scanning device 1 is covered, the image obtained by the surface sensor 14 will depend on the object to be scanned 2 0 coverage On the stage 1 1, the image of the object to be scanned 20 is different from the background color (preferably black or dark) provided by the hood 1 0 1. At this time, the image is transmitted through the binarization unit 1 6 1 The processing will determine the grayscale difference between the image pixels obtained by the arithmetic processing unit 16 2 to determine that the object to be scanned 2 0 corresponds to the position on the scanning platform 1 1, and then transmit the obtained position information to the position control. The unit 163 calculates the four vertices of the object to be scanned 20, and then uses the obtained signal results to drive the scanning module 12 to scan only the actual range of the object to be scanned 20. In short, with the configuration described above, the scanning device 1 performs scanning.
416214 五 '發明說明(5) 描之前,利用面型感測器1 4在掃描平台1 1先拍得一張影 像,然後經過二值化處理,演算待掃描物件2 0位於掃描平 台1 1上的位置四個頂點,讓掃描模組1 2直接對待掃描物件 2 0的所在位置進行掃描;如是,可以使掃描速度大幅提 昇。 在此附加說明一點,如『第3圖』所示,前述邏輯運 算電路16乃是從掃描平台11的四周邊緣向内逐步推算的方 式進行,進而測知待掃描物件2 0的四週邊緣,因此,若是 待掃描物件2 0上具有與遮光罩1 0 1相同或接近的灰階值區 域時,就不會產生判斷錯誤的情形 再請參閒『第1圖』,由於在面型感測器1 4進行感測 時,掃描裝置1的遮光罩1 0 1需蓋壓住待掃描物件2 0,若是 在光線不足的情形下,不易顯現出待掃描物件2 0與遮光罩 1 0 1底面的灰階差值,雖然在掃描模組1 2中皆會有安置有 光源產生器1 5,但是在掃描前,掃描模組1 2是位於掃描原 點上,光線無法平均照射在整個掃描平台1 1上,因此本發 明於實施時,於掃描裝置1通常還必須再另外設置至少一 個光源產生器1 5,將光線平均的照射在掃描平台11 ,補償 該面型感測器1 4所需之光源,使待掃描物件2 0與遮光罩 1 0 1底面的灰階差值明顯,降低判斷錯誤的情形。 綜上所述,可知本發明主要依據以下步驟進行: (1 ) 放置待掃描文件2 0,將待掃描文件2 0放置在掃描平 台1 1上; (2 ) 擷取掃描平台1 1影像,以面型感測器1 4擷取掃描平416214 Five 'invention description (5) Before the description, the surface sensor 14 was used to capture an image on the scanning platform 1 1 and then binarized to calculate that the object to be scanned 2 0 was located on the scanning platform 1 1 The position of the four vertices allows the scanning module 12 to directly scan the position of the object to be scanned 20; if so, the scanning speed can be greatly increased. One additional point here, as shown in "Figure 3", the aforementioned logic operation circuit 16 is calculated in a stepwise manner from the peripheral edges of the scanning platform 11 inward, so as to detect the peripheral edges of the object to be scanned 20, so , If the object to be scanned 20 has the same or close grayscale value area as the hood 1 01, there will be no judgment error. Please refer to "Figure 1" because the surface sensor 14 During the sensing, the hood 1 0 1 of the scanning device 1 needs to cover the object to be scanned 2 0. If the light is insufficient, it is difficult to show the bottom surface of the object to be scanned 2 0 and the hood 1 0 1 Gray level difference, although there will be a light source generator 15 in the scanning module 12, but before scanning, the scanning module 12 is located at the scanning origin, and the light cannot be evenly illuminated on the entire scanning platform 1. Therefore, when the present invention is implemented, at least one light source generator 15 must be additionally provided in the scanning device 1 to illuminate the light evenly on the scanning platform 11 to compensate for the area sensor 14 required. The light source makes the object to be scanned 2 0 and The difference between the gray scale mask the bottom surface 101 significantly reduce misjudgment of the situation. In summary, it can be known that the present invention is mainly performed according to the following steps: (1) placing a file to be scanned 20, and placing the file to be scanned 20 on the scanning platform 11; (2) capturing an image of the scanning platform 11 to Area sensor 1 4 capture scan level
第8頁 416214 五、發明說明(6) 台1 1 (3 )計算 前述 的位 (4 )進行 進行 經由以 物件2 0完成 再請參 掃描物件2 0 為穿透式的 面影像形成 值會與反射 據待掃描物 综上所 掃描平台1 1 理後,直接 的位置及大 間;本發明 不脫離本發 圍。 【圖式符號 掃描裝置1 外殼1 0 之影像並轉換成電訊號; 待掃榴文件11位置,利用邏輯運算電路i 6根據 電訊號計算出待掃描文件2 0相對於掃描承 ^及待掃描文件Η的大小; all 掃描動作,以掃描模組1 2根據前述位罟命丄 掃描動_。 ^置與大小 ^步驟之後’掃描模組1 2即可快速地斟 ^,或預掃的動作’提昇掃描作業的致知描 ,米第5圖』’本發明除了適用於反射式 待4 Ϊ f可應用於穿透式的待掃描物件2〇,因 卷物件20本身亦會反光,與遮光薑 ΐ : ί的差異,只是經過二值化處理所獲的底數 件2 0 ί掃描物件2 〇不同,但是此—問題可再佑 束2 0的特性’實驗找出最佳值。 再依 本發明乃是利用面型感測器u 以:多微小之區域,經過運算=元; 小’驅使掃描裝置對待掃描物;2處。 雖藉由i ί描。此一掃描方式可以減少掃描時 2實施例來描述,在其適當之岣等;:時 精神而達成者,應仍屬本發明所涵^ 蓋之摩巳 說明】 光源產生器1 5 邏輯運算電路1 6Page 8 416214 V. Description of the invention (6) The station 1 1 (3) calculates the aforementioned bit (4) and performs the process by using the object 2 0. Please refer to scanning the object 2 0. The formation value of the transmissive surface image will be the same as The reflection is based on the direct position and size of the scanned platform 1 1 on the object to be scanned; the present invention does not depart from the present invention. [Graphical symbol scanning device 1 The image of the casing 10 is converted into a signal; The position of the file to be scanned 11 is calculated by the logical operation circuit i 6 based on the signal to calculate the file to be scanned 2 0 relative to the scan bearing and the file to be scanned The size of the scan; all scans to scan the module 1 2 according to the aforementioned position. ^ Setting and size ^ After the steps, 'scanning module 12 can be quickly poured, or pre-scanning action' to enhance the scan of the scanning operation, Figure 5 "" In addition to the invention is applicable to reflective type 4 Ϊ f Can be applied to the to-be-scanned object 20, because the rolled object 20 itself will also reflect light, and the difference from the light-shielding ginger: only the base number 2 0 obtained through the binarization process. The scanned object 2 is different. However, this—the problem can be further improved by the characteristics of the beam 2'experiment to find the best value. According to the present invention, the surface sensor u is used to: how small the area is, after calculation = yuan; small 'drives the scanning device to treat the scanned object; 2 places. Although by i ίDesc. This scanning method can be described by reducing the number of scans in the second embodiment, and its appropriateness; etc .: Those who achieve the spirit of time should still be included in the present invention ^ Caption description of the light source] 15 Logic operation circuit 1 6
第9頁 416214Page 9 416214
第ίο頁Page ίο