TW199218B - Handy scanner's picture quality control method - Google Patents

Handy scanner's picture quality control method Download PDF

Info

Publication number
TW199218B
TW199218B TW81107344A TW81107344A TW199218B TW 199218 B TW199218 B TW 199218B TW 81107344 A TW81107344 A TW 81107344A TW 81107344 A TW81107344 A TW 81107344A TW 199218 B TW199218 B TW 199218B
Authority
TW
Taiwan
Prior art keywords
signal
line
output
counting
counting device
Prior art date
Application number
TW81107344A
Other languages
Chinese (zh)
Inventor
Ping-Hwang Chyn
Original Assignee
Ultima Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ultima Electronics Corp filed Critical Ultima Electronics Corp
Priority to TW81107344A priority Critical patent/TW199218B/en
Application granted granted Critical
Publication of TW199218B publication Critical patent/TW199218B/en

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Abstract

One method for detecting the lost lines of handy scanner, which includes -photo interrupt counter -step trigger counter When comparing the results of the above two counter, the system will know that there are lost lines if they are not the same.

Description

199218 Λ6β 五、發明说明() 10 15 經汫部+央榣準局Μ工消许合作杜印製 20 本發明偽有關一種掃描盡質控制方法及其裝置,待別 係指一種用於掌上型掃描器,可偵知其掃描過程之失誤, 以便進行修正補償之掌上型掃描器掃描畫質控制方法及其 裝置。 按,掌上型掃描器於辦公室自動化的潮流中,所扮演 的角色日益重要。在文字辨識、影像處理、掃描编輯等軟 體的支援下,掃描器已成為電腦處理圖像及文字資料的最 佳利器,同時,I丨1於製造技術的進步及低廉的價格,預料 掌上型掃描器,將如滑m · _-般,成為個人爾腦的標準配備 0 掌上型掃描器偽一將文件上之圈形或文字影像,i铥由 光電鞞換,而成為數位訊號之一種輸入工具,該裝置通常 包括一以手操作之掃描器引擎及一連接電腦主機的介面卡 ,其中,掃描器引黎之操作動作分為水平掃描及垂直掃描 ,水平掃描之工作原、偽利用一線型之電荷鍋合元件(CCD) 檢測掃描器投射在影像上之反射光光度,將其轉換#電信 號後,經由介面卡傳入電腦主機,應用程式處理所得到的. 影像資抖並將其放入電腦之顯示記億區内,即可得該條掃 描線在電腦螢幕上之重現,今若欲得二維之影像,則只須 將掃描器沿垂直方向移動,即可得到多條之水平掃描線, 組合此多條之掃描線,即成二維之影像,此即垂直掃描。 綜而言之,掌上型掃描器的掃描影像的工作原理,在水平 方向是鶉引黎内部之光爾機構,在垂直方向是雜使用者移 動掃描器所産生199218 Λ6β V. Description of the invention () 10 15 The cooperation between Dubu and the Central Bureau of Industry and Commerce permits the du printing 20. The present invention is related to a scanning quality control method and its device. The scanner can detect the scanning image quality control method and device of the palm-type scanner for correction and compensation in order to correct errors in the scanning process. According to the press, the role of handheld scanners in the trend of office automation is becoming increasingly important. With the support of text recognition, image processing, scan editing and other software, the scanner has become the best tool for computers to process images and text data. At the same time, I advance the manufacturing technology and low price. The device will be as standard as m · _-, and it will become the standard equipment of the personal brain. The palm-type scanner pseudo-one circle or text image on the document, i thulium is replaced by the photoelectricity, and becomes an input tool for digital signals The device usually includes a scanner engine operated by hand and an interface card connected to the host computer. Among them, the operation actions of the scanner are divided into horizontal scanning and vertical scanning. The charge-coupling device (CCD) detects the reflected light intensity of the scanner projected on the image, converts it into # electrical signal, and passes it to the computer host through the interface card, and the application processes the obtained. The image is shaken and placed In the computer's display memory area, you can get the reproduction of the scanning line on the computer screen. If you want to get a two-dimensional image, you only need to move the scanner in the vertical direction. Multiple horizontal scanning lines can be obtained, and the combination of the multiple scanning lines becomes a two-dimensional image, which is vertical scanning. All in all, the working principle of the scanned image of the palm-type scanner is horizontally the internal light mechanism of the machine and the vertical direction is caused by the user moving the scanner

先 閲 讀* 背 之注意- 事 項il V 裝 訂 私紙%疋度遑用中家轘準(CKS)f4规格(21 81. 4. 10,000張(H) 199218 A 6 Η 6 五、發明说明() 15 經济部十央標準局β工消#合作社印31 20 _於以手操作具有先天的不欏定性,為了克服這項缺 點,掌上型掃描器之垂直掃描皆輔以一滾輪機構,該滾輪 帶動一光圈輪,光圈輸上之輪幅通常設計為等距,並置放 於一光插斷器中,掃描器移動時,滾輪帶動變速齒輸組, 進而連動光圈輪,光插斷器因受光圈輪轉動時之遮軍,因 而有高低電位訊號之輸出,經由此機構設計,則經由手操 作所導致的不穗定性可被減至最低的程度,蓋縱使掃描器 移動速度不均勻,吾人仍可檢测光插斷器的電壓輸出,其 高低電位變化,皆代表一條新的水平掃描線,而每一條掃 描線則對應一等距的垂直位移,由於光轉換成的電荷陣列 ,在CCD内必須循序地被移出,故水平掃描有其最短的時 間限制,這是因為當上一條掃描線檢測到的電荷尚停留在 CCD中,而未完它移出時,葙新的掃描週期又開始,將使 上下掃描線重昼,而造成搽描影像的錯亂,吾人稱將CCD 内的電荷元全移出的、間為”積分時間”,在進行掌上掃 描器的設計時,為防1L·上述影像錯亂情況的發生,jp常會 以積分時間為週期,來同步光插斷器偵測到的高低電位訊 號,當柑鄰的兩個光插斷器高低電位的時間變化時間少於 積分時間時,其中的一傾高低電位變化事件#被忽略,這 種設計將造成一個後果,即當掃描器移動的速度快於某一 待定速度時.將造成掃描影像有失線的情形發生。 實際操作掌上型掃描器的經驗發覺,雖然操作時要求 移動掃描器的速度要低於某一特定速度之下,但由於靠手 移動時速度的不均勻,在某一時刻之瞬間速度,仍可能超 請 先 閲 讀 背 而 之 注 意 事 項 孙 % 本 Μ 81. 4. 10,000張(Η) 199218 A 6 It 6 五、發明说明() 15 經濟部中央橾準局貝工消费合作社印製 20 過該速度極限,迆成失線的情況。 造成掃描失線的另一個原因,係發生在介面卡的設計 上,傳統介面卡的設計,為了解決掃描器傅輸與主機讀取 資料速度不匹配的問题,通常都加有一資料緵衝器,以暫 存因主機忙於糸統上其它設備的服務,而無暇及時讀取之 掃描資料,當条統的負Μ過重時,主機可能因為來不及讀 取介面卡上資料緩衝器内的資料,而造成資料緩衝器内資 料的飽和,此時,後績的掃描資料將因设有暫存空間而被 捨棄,亦迤成掃描之失線。上述兩種情形,因為設計上未 考虛到的實際問题,造成掃描失線,影饗到掃描的品質。 有鑑於此,Φ請人於年來不斷於此項技ϋ範蹢中,尋 求改進突破,希望能以更完善的設計,彌補習用掃描器之 失線問題,而權得消費者更大的信賴,基於此理念,本發 明人乃本著精益求精,創新突破之精神,積多年從事相關 之設計與製造經驗,终於研究出一種掌上型掃描器掃描盡 質控制方法及其裝置之新發明。 即,本發明之主要目的,在於提供一種掌上型掃描器 掃描畫質控制方法及其裝置,其可對於掃描遇程中之失線 情形,提供偵測的能力,使得應用程式能在福描中或結束 後,針對失線的所在以及數量,將所漏失的掃描線,經由 數學的蓮算予以補回,籍而大幅提昇掃描效果者。 緙是,為達發明目的,本發明掌上型掃描器掃描晝質 控制方法及其裝置,其主要特m,偽對於一光插斷器所産 生的高低電位訊號計數,並將該計數結果與同步後的光插 先«1 讀. 背 而 之 注 意- 事 項 填 l· η 裝 訂 線Read first * Note on the back-Matter il V Binding private paper% 爋 度 運用 Zhongjiashe standard (CKS) f4 specifications (21 81. 4. 10,000 sheets (H) 199218 A 6 Η 6 V. Description of invention () 15 The Shiyang Standard Bureau of the Ministry of Economic Affairs β 工 消 # Cooperative Society Printed 31 20 _ is inherently uncertain in manual operation. In order to overcome this shortcoming, the vertical scanning of the palm scanner is supplemented by a roller mechanism, which drives a The iris wheel, the width of the iris input is usually designed to be equidistant, and placed in an optical interrupter. When the scanner moves, the roller drives the transmission gear transmission group, which in turn links the iris wheel. The optical interrupter is affected by the iris wheel. The shielding when rotating, so there is the output of high and low potential signals. Through the design of this mechanism, the instability caused by hand operation can be minimized. Even if the speed of the scanner is uneven, we can still check The voltage output of the photometric interrupter, its high and low potential changes, represent a new horizontal scanning line, and each scanning line corresponds to an equidistant vertical displacement. Due to the conversion of light into a charge array, it must be sequenced in the CCD Ground moved The horizontal scanning has its shortest time limit. This is because when the charge detected by the previous scanning line is still in the CCD and it has not been removed, the new scanning cycle begins again, which will cause the upper and lower scanning lines to During the day, the imagery is distorted. I call it the “integration time” when all the charge elements in the CCD are removed. When designing the handheld scanner, to prevent 1L. The integration time is often used as a cycle to synchronize the high and low potential signals detected by the optical interrupter. When the time change time of the high and low potentials of the two adjacent optical interrupters is less than the integration time, one of the high and low potential changes Event # is ignored, this design will have a consequence that when the scanner moves faster than a certain speed, it will cause the scan image to be out of line. The actual experience of operating the handheld scanner is found, although During operation, the speed of moving the scanner is lower than a certain speed, but due to the uneven speed when moving by hand, the instantaneous speed at a certain moment may still be Please read the notes on the contrary Sun% Ben M 81. 4. 10,000 sheets (Η) 199218 A 6 It 6 V. Description of the invention () 15 Printed by the Central Consortium Bureau of the Ministry of Economic Affairs of the Beigong Consumer Cooperative 20 After exceeding the speed limit The line loss occurs. Another reason for the line loss caused by scanning is in the design of the interface card. The design of the traditional interface card, in order to solve the problem of the mismatch between the scanner input and the data reading speed of the host, usually A data flusher is added to temporarily store the scan data because the host is busy with the services of other devices on the system, and there is no time to read in time. When the load of the system is too heavy, the host may be too late to read the data on the interface card The data in the buffer causes saturation of the data in the data buffer. At this time, the scan data of the subsequent performance will be discarded due to the provision of temporary storage space, and it will also become a lost line of the scan. In the above two cases, because of the actual problems that are not considered in the design, the scan is lost and the quality of the scan is affected. In view of this, Φ invites people to continue to improve and break through this technology over the years, hoping to make use of a more complete design to make up for the problem of losing the line of conventional scanners, and to gain greater trust from consumers Based on this concept, in the spirit of excellence, innovation and breakthrough, the inventor has accumulated many years of experience in design and manufacturing, and finally developed a new invention of a palm scanner scanning quality control method and device. That is, the main object of the present invention is to provide a scanning image quality control method and device for a palm-type scanner, which can provide a detection capability for a line-out situation during scanning, so that the application can be in or out of tracing Afterwards, according to the location and number of missing lines, the missing scanning lines are compensated through the mathematical lotus calculation, thereby greatly improving the scanning effect. In order to achieve the purpose of the invention, the palm-type scanner of the present invention scans the daytime quality control method and its device. Its main feature is that it pseudo-counts the high and low potential signals generated by an optical interrupter, and synchronizes the counting result with After the light is inserted first «1 read. Note to the contrary-matters fill l · η gutter

私紙张尺虎道用中國《家«準(CKS)甲4規格(210X297S 81. 4. ΐό,ΟΟΟΛ(Η) 199218 Λ 6 Η 6 五、發明説明( 15 經濟部+央橾準局貝工消费合作社印製 20 斷器訊號計數值作一比較,若有不同,表示有失線情形發 生,配合一應用程式,於掃描過程中或完成後,針對失線 位置及數量,進行補正,藉以達成掃描畫質控制之目的者 0 本發明之其它目的、優點及特傲,可由以下配合圈示 ,而對較佳實施例所作之詳細說明獲得進一步之瞭解。 第一圖偽傳統的掃描器之訊號時序波形圖。 第二圖偽本發明掌上型掃描器掃描蜜質控制方法及其 裝置第一實施例之電路方塊圖。 銪三圖偽本發明掌上型掃描器掃描蛮質控制方法及其 装置第二實施例之電路方塊圖。 第四圖偽本發明掌上型掃描器掃描畫質控制方法及其 裝置之訊號時序波形圖。 首先,就本發明掌上型掃描器掃描盡質控制之方法作 —說明:吾人必須先對於光插斷器輸出之高低電位變化的 訊號進行計數,而偵测資料暫存器内部空間是否p滿, 作為一參考,來決定是否進行對副掃描同步訊號計數,接 著將上述兩計數結果作比較,若It較結果不同,表示有失 線發生,配合一應用軟體,或即時進行補線,或將失線位 置予以記錄,於掃描完成後,一次對所有失線進行補儅, 以逹成掃描壷質控制之目的。 上逑之副掃描間步訊Μ,即為同步後的光插斷器訊號 ,簡作ST(step trigger),另有一 AR訊號 (a.tss reset) ,係代表水平掃描的起點,在兩個ST脈波之間可有數次的 先 閲 讀 背 ift 之 注 意- 事 項 寫 πPrivate paper ruler Tiger Road uses China's "Home" standard (CKS) A 4 specifications (210X297S 81. 4. Ιό, ΟΟΟΛ (Η) 199218 Λ 6 Η 6 V. Description of the invention (15 Ministry of Economics + Central Industry Bureau The consumer cooperative printed a 20-breaker signal count value for comparison. If there is a difference, it indicates that a line loss situation has occurred. With an application, during the scanning process or after completion, the line loss position and number are corrected to achieve The purpose of scanning image quality control 0 Other objectives, advantages and special features of the present invention can be circled as follows, and the detailed description of the preferred embodiment can be further understood. The first figure is the signal of a pseudo-traditional scanner Timing waveform diagram. The second figure is a circuit block diagram of the first embodiment of the scanning honey quality control method and device of the palm scanner of the present invention. The europium three figures are pseudo scanning quality control method and device of the palm scanner of the present invention. The circuit block diagram of the second embodiment. The fourth figure is a signal timing waveform diagram of the scanning image quality control method and device of the palm scanner of the present invention. First, the quality control of the palm scanner of the present invention is scanned as much as possible. Method: Explanation: We must first count the signals of the high and low potential changes of the output of the optical interrupter, and detect whether the internal space of the data register is full, as a reference to determine whether to perform the sub-scan synchronization signal Count, and then compare the results of the above two counts. If It is different from the result, it indicates that there is a line loss. Use an application software, or perform line compensation in real time, or record the position of the line loss. After the scan is completed, all The missing line is compensated for the purpose of scanning quality control. The upper inter-scan step signal M is the signal of the synchronized optical interrupter, abbreviated as ST (step trigger), and an AR signal ( a.tss reset), which represents the starting point of the horizontal scan, there can be several times between the two ST pulses before reading the back ift note-matters write π

本紙 Λ 尺度遑 Λ1 中·· ^#^(CHS)T4ift«K210X297^i!tV 81. 4_ 10,000張(Η) 199218 Λ 6 Π 6 五、發明説明() 15 經濟部屮央榣準局貝工消#合作社印製 20 掃描週期,但每一次掃描週期都對醮到影像上的同一條線 ,掃描介面只截収第一値週期所得的資料,而捨棄其餘, 蓋這些資料與第一週朋掃描所得資料是相同的,此種情況 表掃描器移動速度低於所限制的最高速度,不會發生失線 的情形。 相對地,Μ兩個AR脈波之間,光插斷器之間出現兩個 以上的高低電位變化,則只有其中之一能在積分時間被同 步到而送出-·倾ST訊號,通知介而卡有新的掃描線開始, 在此狀況下,有·個以上的光插斷器信號被忽略,即掃描 器在垂直方向移勤了數條線,而只送出一條掃描線,此種 倩況傜因掃描器移勤速度高於限制的最高速度所致,而迪 成失線。甚或雖然兩個AR脈波之間只有一橱ST脈波,卻因 资料暫存器已滿,無法容納CCD所傅來的掃描影像資料, 同樣會發生失線倩形參閲第一圖,偽傅統的掃描器之 訊號時序波形圖,其、να偽代表影像訊號,當兩鮪AI?脈波 之間有一個以上的光插斷器脈波,如第一圖中脈波1、3 ,只能得到一個同步的ST訊號5 ,將完金無法反映失線的 狀況。 請再參閲第二圖,偽本發明掌上型掃描韶掃描畫質控 制方法及其裝置第一實施例之電路方塊圖,該控制裝置1 主要偽包括:一光插斷器訊號計數器11 (phQtc. interrupt counter ;藺作 PIC).、一掃描線計數器 12(scanning line counter ;簡作SLC)、一比較器13、一多工裝置14、一記 憶裝置15、一失線計數器16 (lost line counter;簡作 善〇:項- ih- 先 間 3ft. 背 而 之 注 意-事 項 塡 本A Η 裝 訂 線 ΜΛΛ尺度遑和+ « B家«準(CKS)IM規格(210X297公Λ) 81. 4. 10,000張(Η) 199218 H6 五、發明説明() 經濟部屮央楳準局员工消#合作杜印製 1 LLC).、一資料正反器17及一中斷處理裝置18。 上述之PIC U之輸入訊號為光插斷器之輸出,因該輸 出為高低電位的费化,E卩可對於其變化數目進行計數,計 數结果即代表回前掃描器通直移動之距離;而上述SLC 12 5 之輸入訊號有二,其一為副掃描同步訊號ST ,其二為由介 ffi卡上資料緩衝器所送來的致能訊號F U L L , —般狀況之 下,光插斷器訊號計數結果,即PIC 11内之計數值,會與 SLC 12内之計數消相等;然而,起-兩個AR脈波之間,光插 斷器之間出現兩胸以上的高低電位變化,則只有其中之一 10 能在積分時間被間步到而送出一個ST訊號,致使PIC 11内 之計數值大於SLC 12内之計數值,此即表示有失線情形發 生,或是介面卡資料皙存器己癍,則FULL訊號會轉為高電 位,使SLC 12停止計數,同樣造成PIC 11的值大於SLC 12 ,亦代表失線的發生。 15 使比較器13動作1觸發訊號為ST,比較結果若PIC 11 的值與SLC 12的值相等,表示掃描沒有失線,若不f目等, 則表示發生失線,該比較器13將輸出一表示失線的訊號, .該失線訊號一方而經由該资料正反器18,送往該中斷處理 裝置19 ,視掃描失線之中斷是否致能,若為致能狀態則可 20 在中央處理單元處理完興他更優先之中斷後,直接進行該 失線發生之處理,主機可配合一應用程式,自動楔擬漏失 的掃描線,若未設定掃描失線中斷,則可利用上述比較器 13所輸出之失線訊號,傳送至上逑之多工裝置14,使PIC 11及SLC 12内之值,藉由該多工裝置14 ,記錄於上述之記 先 閲 讀. 背 面 之 注 意-事 項 孙 寫八-本产> π 裝 •灯 線 表紙》尺度遑用中《目家《準(CHS) T4规怙(210X297 81. 4. 10,000» (Η) 199218 Λ 6 Η 6 經濟部中央榣準局SC工消费合作社印31 五、發明説明() 1 億裝置15中,而PIC 11之值與SLC 12值之差,即代表失線 數目,同時失線計數器1 6的内容值加一,該失線計數器16 係在每次失線情況發生時,即將其内容值累加一。 在記錄完畢浚,將PI C 11之值,載入S L C 12 ,使兩個 5 計數器之内容值两度相等,繼續進行偵測失線。當掃描過 程結束後,CPU f讚取該失線計數器16之值,據此判斷是 否有失線及幾處失線,並根摊鑌到數值至該記僂裝置15中 ,讀取對應的資料,而得到失線的所在,主機可随其應用 程式之能力,通知使用者重新掃描或自動棋擬漏失的掃描 10 線,逹成掃描蛮質倥制。 為了符合掌上型掃描器標準介面傳輸訊號之規定,本 發明尚有另-·種贲施方式,請參閲第三圖,偽本發明掌上 型掃描器掃描蜜質控制方法及其裝置第二實施例之電路方 塊圖,第二實施阀與第一實施例之差別,偽在於上述之光 15 插斷器訊號並非介面 '傅輸訊號,故除了仍對該光插斷器輸 出訊號,以一計數器21計數外,更將上述之計數值,經由 一平行轉率列位移盟存器(P a r a 11 e 1 t 〇 s e r i a 1 s h i f t register;簡作PSR)22,以串列資料型態輸出至一多工器 23 ,該多工器23另宵兩輸入,一為影像資料/另一則為 20 CONTROL訊號,請配合參閲第四圖,係本發明掌上型掃描 器掃描盡質控制方法及其裝置之訊號時序波形圖,當副掃 描同步訊號ST發生時,該CONTROL訊號將轉為低電位,使 得PSR 22動作,並使得多工器23將通道接至PSR 22之輸出 ,當在水平同步訊號A R發生時,該C0.NT R0 L訊號將囬到高 (請先W讀背而之注意事項再项窍本頁) 私紙Λ尺度遑用+ 家樣率(CNS) T4规格(210χ 297^^Λ 3 Π _81.4.10,000張(11) 199218 Λ 6 It 6 五、發明说明() 15 經濟部十央標準局A工消费合作社印製 電位,而使得該多工器23之通道轉接至影像資料輸入端, 如第四圖之訊號h,偽為附有编號之影像資料,對於每一 條掃描線编號後,將該编號置於影像資料的前端,编號標 記於ST脈波與AR脈波之間,通常為16位元,而在AR與下一 個ST之間則為影像資料。 上述之Vd訊號即為標準介面傳輸訊號,該\^訊號會經 由一掃描器傳輸線,傅送至位於主機擴充槽之介面卡上, 該Vd同時輸入一串列轉平行位移暫存器(serial to parallel shift register ;簡作 SPR)24 及一位元計數器 25中,在副掃描冏步訊號ST發生時,該SPR 24及位元計數 器25?:?動,對上述之16位元之掃描線编號訊號加以收集, 並使其以並列的方式輸出,送入一緩衝器2 6中,冏時,該 位元計數器25將針對16位元之编號訊號加以計數,直至16 位元傳輸完畢,則輸出一訊號啓動一 tb較器2 7 ,該比較器 27將會對上逑SLC ΐί以及該缓衝器26之内容作比較,當比 較結果不同,表失線發生之時,其處理方式與前述f目同, 於此不作再一次的骑述。 職是,本發明掌上型掃描器掃描盡質控制方法及其装 置,確可葙所作之掲露,而逹成以下諸優點: 1.快速而準確地偵測出失線的數目與位置。 2 .能對於上述之失線位置,依其失線數置,藉補線使得掃 描盡質更加完美者。 綜上所逑r本發明掌上型掃描器掃描畫質控制方法及 其裝置,其確可藉所作之掲露,達到本發明之目的,誠以This paper is Λ scale Λ1. ^ # ^ (CHS) T4ift «K210X297 ^ i! TV 81. 4_ 10,000 sheets (Η) 199218 Λ 6 Π 6 V. Description of invention () 15 Ministry of Economics, Ministry of Economic Affairs Consumer #Cooperative printed 20 scan cycles, but each scan cycle is aligned to the same line on the image. The scan interface only intercepts the data obtained from the first value cycle, and discards the rest, covering these data with the first week. The scanned data is the same. In this case, the scanner movement speed is lower than the maximum speed limit, and no line loss will occur. In contrast, between two AR pulse waves, there are more than two high and low potential changes between the optical interrupters, and only one of them can be synchronized at the integration time to send out-tilt ST signal to notify the media The card starts with a new scanning line. In this situation, more than one optical interrupter signal is ignored, that is, the scanner shifts several lines in the vertical direction, and only one scanning line is sent out. As the speed of the scanner moving above the maximum speed limit, Dicheng lost the line. Even though there is only a cupboard of ST pulses between the two AR pulses, but the data register is full, it cannot accommodate the scanned image data from the CCD, and the line shape will also appear. See the first figure. The signal timing waveform diagram of Fu Tong ’s scanner, where να pseudo represents the image signal, when there is more than one optical interrupter pulse wave between the two tuna AI? Pulse waves, as shown in the first picture, pulse waves 1, 3, only A synchronous ST signal 5 can be obtained, which will not reflect the loss of line status after completion. Please refer to the second figure again, the circuit block diagram of the first embodiment of the palm-type scanning image quality control method and device of the present invention. The control device 1 mainly includes: an optical interrupter signal counter 11 (phQtc .Interrupt counter; PIC)., a scanning line counter 12 (scanning line counter; SLC for short), a comparator 13, a multiplexing device 14, a memory device 15, a lost line counter 16 (lost line counter ; Jian Zuoshan 〇: item-ih- first 3ft. Note to the contrary-matters 塡 本 A Η binding line ΜΛΛ standard and + «B 家« quasi (CKS) IM specifications (210X297 public Λ) 81. 4. 10,000 sheets (Η) 199218 H6 V. Description of the invention () Ministry of Economic Affairs, Bureau of Economics, Bizhong, Employee Consumers, #Cooperative Du Printing 1 LLC), a data flip-flop 17 and an interrupt processing device 18. The input signal of the PIC U mentioned above is the output of the optical interrupter. Because the output is a high and low potential fee, E can count the number of changes. The count result represents the distance the scanner travels straight back; and The above SLC 12 5 has two input signals, one is the sub-scan synchronization signal ST, and the other is the enable signal FULL sent by the data buffer on the ffi card, under normal conditions, the optical interrupter signal counts As a result, the count value in PIC 11 will be equal to the count value in SLC 12; however, between the two AR pulse waves, there will be changes in the high and low potentials between the two chests between the optical interrupters. One 10 can send an ST signal during the integration time, resulting in the count value in PIC 11 is greater than the count value in SLC 12, which means that there is a line loss situation, or the interface card data memory has been Then, the FULL signal will turn to a high level, which will stop the SLC 12 from counting, and also cause the value of PIC 11 to be greater than SLC 12, which also represents the occurrence of line loss. 15 Make comparator 13 act 1 The trigger signal is ST, the comparison result If the value of PIC 11 and the value of SLC 12 are equal, it means that there is no line loss in the scan, if it is not f, etc., it means that the line is lost, the comparator 13 will output A signal indicating lost line. The lost signal side is sent to the interrupt processing device 19 through the data flip-flop 18, depending on whether the interruption of scanning lost line is enabled, if it is enabled, it can be 20 in the center After the processing unit finishes the interrupt with higher priority, it will directly deal with the occurrence of the missing line. The host can cooperate with an application to automatically wedge the missing scanning line. If the scanning lost line interrupt is not set, the above comparator can be used The lost signal output by 13 is sent to the multiplexer 14 above, so that the values in the PIC 11 and SLC 12 are recorded in the above notes by the multiplexer 14 and read first. Note on the back-matters written by Sun八-本 产 > πinstalled • Lamp line paper "The standard is used in the" Musaka "quasi (CHS) T4 regulation (210X297 81. 4. 10,000» (Η) 199218 Λ 6 Η 6 Central Bureau of Economic Affairs of the Ministry of Economic Affairs Printed by SC Industry and Consumer Cooperatives 31 V. Description of invention () 100 million devices 15 In the meantime, the difference between the value of PIC 11 and the value of SLC 12 represents the number of lost lines. At the same time, the content value of the lost line counter 16 is increased by one. The lost line counter 16 is the content of the lost line counter 16 every time The value is accumulated by 1. After the recording is completed, the value of PI C 11 is loaded into SLC 12, so that the contents of the two 5 counters are equal to two degrees, and the detection of line loss is continued. When the scanning process is over, the CPU f praises The value of the lost line counter 16 is used to determine whether there are lost lines and several lost lines, and the value is distributed to the recording device 15 to read the corresponding data and obtain the lost line. The host can According to the capabilities of its application, the user is notified to rescan or automatically miss the 10 lines to be missed and become a scanty system. In order to comply with the requirements of the standard interface of the handheld scanner to transmit signals, the present invention has another- Please refer to the third figure for the two methods of applying, the circuit block diagram of the second embodiment of the scanning honey quality control method and device of the palm scanner of the present invention. The difference between the second embodiment valve and the first embodiment is The above light 15 interpolator signal and The interface's output signal, so in addition to still outputting the signal to the optical interrupter, a counter 21 is used to count, and the above-mentioned count value is shifted through a parallel rotation rate shift register (P ara 11 e 1 t 〇 seria 1 shift register; abbreviated as PSR) 22, output to a multiplexer 23 in the form of serial data, the multiplexer 23 is input twice, one is image data / the other is 20 CONTROL signal, please cooperate Refer to the fourth figure, which is the signal timing waveform diagram of the scanning quality control method and device of the palm scanner of the present invention. When the sub-scan synchronization signal ST occurs, the CONTROL signal will turn to a low potential, causing the PSR 22 to operate, and Make the multiplexer 23 connect the channel to the output of the PSR 22, when the horizontal synchronization signal AR occurs, the C0.NT R0 L signal will return to high (please read the back and the precautions before you know this page) Private paper Λ scale use + home sample rate (CNS) T4 specifications (210χ 297 ^^ Λ 3 Π _81.4.10,000 sheets (11) 199218 Λ 6 It 6 V. Description of invention () 15 Shiyang Central Bureau of Standards A Industrial Consumer Cooperative printed the potential, so that the channel of the multiplexer 23 was switched to the image data The input terminal, such as the signal h in the fourth image, is pseudo image data with a number. After each scan line is numbered, the number is placed at the front of the image data. The number is marked on the ST pulse and AR Between pulses, usually 16 bits, and between AR and the next ST is image data. The above-mentioned Vd signal is the standard interface transmission signal. The \ ^ signal will be sent to the interface card located in the expansion slot of the host through a scanner transmission line. The Vd also inputs a serial to parallel displacement register (serial to parallel shift register; abbreviated as SPR) 24 and one-bit counter 25, when the sub-scanning step signal ST occurs, the SPR 24 and the bit counter 25 ?: Move, edit the above 16-bit scan line The signal is collected and output in a parallel manner and sent to a buffer 26. At this time, the bit counter 25 will count the 16-bit numbered signal until the 16-bit transmission is completed. Then output a signal to start a tb comparator 27. The comparator 27 will compare the contents of the upper SLC and the buffer 26. When the comparison result is different and the table loss occurs, the processing method is the same as The above f is the same, so I won't make another ride here. The task is that the scanning quality control method and device of the palm-type scanner of the present invention can indeed expose the dew, and achieve the following advantages: 1. Quickly and accurately detect the number and position of lost lines. 2. For the position of the above-mentioned missing line, according to the number of missing lines, borrow the line to make the scanning more perfect. In summary, the scanning image quality control method and device of the palm-type scanner of the present invention can indeed achieve the object of the present invention by dew exposure.

先 間 讀· 背 而 之 注 & 事 項 填 3¾ ^ig.- 本A 裝 訂 線 k紙張尺度遑用t 家«準(CHS)甲 4*«K210X297IW)0 ^ 81. 4. 10,000張(H) Λ 6 η 6Read in advance · Contrary note & fill in 3¾ ^ ig.- This A binding line k paper size is not used t home «quasi (CHS) A 4 *« K210X297IW) 0 ^ 81. 4. 10,000 sheets (H) Λ 6 η 6

1893.1A 五、發明説明() 符合發明專利柑關之要件,旦並来有相同结構設計公開使 用,亦以符合發明專利之新潁性、實用性及進步性等要件 ,同時使得掃描器之實施更具完善性,爰依法提出發明專 利申請。 惟,上述所揭露之圔示、說明,僅為本發明之較佳實 施例,大凡熟悉此項技ϋ人士 ,其所依本案精神範醺所作 之修飾或等效變化,仍暱包括本案之申請専利範圍内。 tk- 先 閲 讀. 背 之 it- 意- 事 項 # 寫, 本, 页 10 15 裝 订 線 經濟部中央榣準局cs:工消赀合作杜印51 ο 2 本紙》尺彳1遑用中國國家螵準(CNS) Ή規格(210x297^itn员 81. 4. 10,000張(H)1893.1A Fifth, the description of the invention () meets the requirements of the invention patent, and has the same structural design for public use. It also meets the requirements of the new patent, utility and progress of the invention patent, and at the same time makes the implementation of the scanner More complete, he filed an invention patent application according to law. However, the above-mentioned disclosures and descriptions are only preferred embodiments of the present invention. Anyone who is familiar with this technology will still have the modifications or equivalent changes made in accordance with the spirit of this case, including the application of this case. Within range. tk- Read it first. 背 之 it- 意-事 # Write, this, page 10 15 Binding Line Ministry of Economic Affairs Central Bureau of Justice cs: industrial consumer cooperation cooperation Du Yin 51 ο 2 this paper ”彳 彳 1 using Chinese national salamander Standard (CNS) Ή specifications (210x297 ^ itn members 81. 4. 10,000 sheets (H)

Claims (1)

上99218 A7 B7 C7 D7 六、申請4利範圍 1 1 ·一種掌上型掃描器掃描遊質失線偵測方法,其俱包括下 請 先· K1 請 背 d& 之 注 意 項 再 % 本 頁 列諸步驟: 針對光插斷器輸出之高低電位計數; 再對於副掃描間步訊號計數;及, 5 將該計數值與上述光插斷器輸出之高低電位計數結果比 . 較,若不同表示有失線發生。 2 .如串請範園第1 .項所述之掌上型掃描器掃描遒質失線偵 測方法,為了配合掃描器標準介面傳輸訊號,其更包 活下列步驟: !〇 將上述光插斷器_出之高低電位計數結果依序作為掃描 線之编號;a, 若掃描線之編號有跳號,則表示失線。 3 .如申請範圍第1.或2 .項所述之掌上型掃描器掃描盡質失 線偵測方法,其更包括下列步驟: 15 若發生失線情形/則將失線數量以及失線位置予以記錄 ,俟掃描完畢,配合一應用程式,在失線部分,進行影 像模擬補線。 _ s 4 .如申請範_第1.或2 .項所述之掌上型掃描器掃描盡質失 經濟部屮央標準局®:工消贽合作社印製 線偵測方法,其更包括下列步驟: 1 2〇 若發生失線惝形,則致能中央處理單元之中斷部分,立 即進行影像模擬補線。 ' 5 . —種掌上型掃描器掃描盡質控制裝置,其大體上偽包括 第一計數裝置,主要偽接光插斷器輪出訊號,予以計 第12頁 本紙張尺度璁用中國國家樣毕(CNS) T4規格(210x297公釐) 199218 Α7 Β7 C7 D7 -u 經濟部中央檁準局貝Η消費合作社印級 、申請專利範圓 數; ~第二計數裝置,接收副掃描同步訊號ST及介面卡資料 鍰衝器送來之一判別資料儲存已滿的致能訊號,在該 資料緩銜器朱滿時,對於該ST訊铖進行計数; —比較器,以ST脈波訊號作為致能訊號,將上逑第一計 數裝置及第二計數裝置之計數結果作比較.若不相同 ,則輸出一表示失線之訊號;及, 一中斷處理裝置,接收上述比較器所输出表示失線的訊 號,並通知CPU要求中斷,以對失線作一處理。 6.如申請專利範圍第5.項所述之掌i型掃描器掃描畫質控 制裝置,其更包括: 15 (請先閱讀背面之注意事項再填寫本頁) —多工裝置,某係接受上述比較器所輸出表示失線的訊 號,而啓動開始工作,冏時接收上述第一計數裝置及 第二計數裝置所輸出之計數結果,依序分別將通道與 其相接; \ —記憶裝置,其偽於上述多工裝置啓動開始工作,後,接 收該多工裝置之輸出,記億上述第一計數裝置及第二 計數裝置内之計數值,該記億裝置之輸出接往条統匯 流排;及, V失線計數器,接收上述記億裝置之输出,以記錄失線 數目.; 在上述記億裝置及失線計數器記錄完畢後,會/ 計數裝置之值,載入第二計數裝置中,使 數裝 置内之計數值再度相等,龃鑛進行偵测朱«掃描 第13頁 本紙張疋度適用中國國家標率(CNS)甲4規格(210x297公;jt) 4199218 A7 B7 C7 D7 六、中請專利範園 15 經濟部屮央標準局貝工消費合作社印製 20 過程結束後,CPU會讀取該失線計數器之值,據此判 斷是莕有失線及幾處失線,並根據讀到數值至該記億 装置中,諏取對應的資料,而得到失線的所在,主機 可随其應用程式之能力,通知使用者重新掃描或自動 楔擬漏失的掃描線,連成掃描畫質控制。 』如申請專利範圍第5 .或6 ,項所述之掌上型掃描器#描畫 質控制裝置,為了配合掃描器之標準介面傳輸訊號, 其中該第一計數裝置偽包括: 一光插斷器訊號計數器,偽對光插斷器輸出訊號計數; 一平行轉串列位移暫存器,偽接牧上述計數器之計數結 果,並將其改以串列的方式輸出; 一多工器,其偽接收上述平行轉串列位移暫存器之串列 輸出計數訊號、一影像資料及一控制訊號,該控制訊 號使該多工器在副掃描囘步訊號ST脈波産生時,將通 道接往上逑平^轉串列位移暫存器之輸出,而在水平 掃描訊號AR脈波産生時,則將通道接往影像資料輸入 ,致使該多工器输出一附有编號之影像訊號; 一串列轉平行位移暫存器,接收上述多工器所輸出附编 號之影像訊號,於ST脈波輸人g,啓動串列鞞平行 位移暫存器,將影像訊號上附帶之串列緝號,改以並 列編號訊號輸出,而在AR脈波訊號輸入备,該串列鞞 平行位移暫存器關閉,直至下一個ST脲波訊號輸人, 方才再度啓動; 一位元計數器,其大體上偽為一環形計數器,其亦接收 第14頁 本紙》尺度通用中ΒΗ家棵率(CNS)甲4規格(210X297公釐) 元· 閲 讀 背 Λ 之 注 意 事 項. 再 填' % 本 页 装 打 線 19921» A B c D 六、申請專利範® 上述多工器所輸出附编號之影像訊號,於ST脈波輸入 後,啓動該位元計數器,視编號所佔位元數,當該位 元計數器計數值到達該位元數時,該位元計數器會输 出一啓動訊號,且在AR脈波訊號輸入後,該位元計數 器關閉,‘一悃ST脈波訊號輸入,會再度啓動;及 一緩衝器上述串列轉平行位移暫存器輸出之並列 上述位器輸出之觸發訊號,將送往上述之比較器 中,同時上述緩衝器之輸出,亦送往該比較器中,該 tb較器之另一輸入,傜為上述ii二計數裝置之計數輸 出,該比較器接到啓動訊號時,即對緩衝器及第二計 數裝置輸入之值進行比較,若不相同,即表示發生失 線。 請 先· K1 請 背 之- 注 意 l· 再 填於 寫 本 Τι 装 15 打 經濟部屮央橾準局貝工消费合作社印製 ο 2 頁 5 1Λ 第 本纸張尺度適用中《«家flMMCNS)^規格(210X297公#)On 99218 A7 B7 C7 D7 Sixth, apply for 4 profit scopes 1 1 · A palm-type scanner to scan for loss of quality line detection method, which includes the following first · K1 Please back d & : Count the high and low potentials of the output of the optical interrupter; then count the step signal between the sub-scans; and, 5 Compare the count value with the high and low potentials of the output of the optical interrupter. Compare, if different, it indicates that there is a line loss occur. 2. As described in Section 1. of the Fanyuan, the palm-type scanner scans out of line detection method. In order to cooperate with the scanner's standard interface to transmit signals, it also includes the following steps:! 〇 The high and low potential counting results from the device_ are sequentially used as the scan line number; a, if the scan line number has a jump number, it means that the line is missing. 3. The palm-type scanner scan-out-of-line loss detection method as described in item 1. or 2. of the application scope, which further includes the following steps: 15 If a line loss occurs / the number of lines lost and the location of the line loss Make a record, once the scan is complete, cooperate with an application program, and perform image simulation to fill the line in the missing line part. _ s 4. The palm scanner as described in the application example _ item 1. or 2. scans out of quality. The Ministry of Economy Standards Bureau ®: Industrial Consumers Cooperative Cooperative Printed Line Detection Method, which further includes the following steps : 1 2 〇 If there is a loss of line, the interruption part of the central processing unit is enabled, and the image simulation line is immediately repaired. '5. — A palm-type scanner scan quality control device, which basically includes the first counting device, which is mainly used to fuse the signal from the optical interrupter, and counts it. (CNS) T4 specification (210x297mm) 199218 Α7 Β7 C7 D7 -u Central Ministry of Economics, Central Purchasing Agency BeiH Consumer Cooperative Printing Class, Patent Application Fan Circle Number; ~ Second counting device, receiving sub-scanning synchronization signal ST and interface The card data processor sends one of the enable signals to determine that the data storage is full. When the data buffer is full, the ST signal is counted;-the comparator uses the ST pulse signal as the enable signal. Compare the counting results of the first counting device and the second counting device. If they are not the same, output a signal indicating line loss; and, an interrupt processing device receives the signal indicating the line loss output by the comparator, and Notify the CPU to request an interrupt to handle a lost line. 6. The palm-type scanner scanning quality control device as described in item 5 of the patent application scope, which further includes: 15 (please read the precautions on the back before filling in this page) —multiplexing device, some departments accept The signal output by the comparator indicates a line loss, and starts to work. When receiving the counting result output by the first counting device and the second counting device, the channels are connected to them in order; \ —memory device, which Pseudo-multiplexing device starts to work, and then receives the output of the multiplexing device, counting the count value in the first counting device and the second counting device, the output of the billion counting device is connected to the bus bar; And, the V lost line counter receives the output of the above billion-counting device to record the number of lost lines .; After the above-mentioned billion count device and the lost-line counter are recorded, the value of the counting device will be loaded into the second counting device, Make the count value in the counting device equal again, and the mine will detect Zhu «Scan page 13 of this paper. The paper degree is applicable to China National Standards (CNS) A 4 specifications (210x297; jt) 4199218 A7 B7 C7 D7 Six Zhongfan Patent Fan Garden 15 Printed by Beigong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 20 After the process is completed, the CPU will read the value of the lost-line counter, based on which it is determined that there are missing lines and several missing lines, and according to Read the value to the 100 million device, fetch the corresponding data, and get the location of the missing line. The host can notify the user to rescan or automatically wedge the missing scanning line according to the ability of its application program Quality control. 『Palm type scanner # description quality control device as described in item 5 or 6 of the patent application scope, in order to cooperate with the standard interface of the scanner to transmit signals, wherein the first counting device pseudo includes: an optical interrupter Signal counter, pseudo counting the output signal of the optical interrupter; a parallel conversion serial displacement register, pseudo-pulling the counting result of the above counter, and changing it to output in a serial manner; a multiplexer, its pseudo Receiving the serial output count signal, an image data and a control signal of the above-mentioned parallel-to-serial shift register, the control signal enables the multiplexer to connect the channel upward when the sub-scanning step back signal ST pulse is generated鈑 平 ^ Convert the output of the serial displacement register, and when the AR pulse of the horizontal scanning signal is generated, the channel is connected to the image data input, so that the multiplexer outputs a numbered image signal; a string The serial-to-parallel shift register receives the image signal with the number output from the multiplexer, input it to the ST pulse wave, and activates the serial parallel shift register to capture the serial number attached to the image signal , Changed to side by side The signal output, and at the AR pulse signal input device, the tandem parallel displacement register is closed until the next ST urea wave signal is input before it is restarted; a one-bit counter, which is basically a ring counter , It also accepts the 14th page of the paper》 Standard Universal BH Family Tree Rate (CNS) A 4 specifications (210X297 mm) yuan · Read the notes on back Λ. Refill '% This page is installed with thread 19921 »AB c D 六、 Patent application Fan® The image signal with number output from the above multiplexer, after ST pulse input, start the bit counter, depending on the number of bits occupied by the number, when the count value of the bit counter reaches this bit When the number of epochs, the bit counter will output a start signal, and after the AR pulse signal is input, the bit counter is turned off, 'a ST ST pulse signal input will be started again; and a buffer for serial transfer The trigger signal output by the parallel shift register output in parallel with the output of the bit device will be sent to the comparator, and the output of the buffer will also be sent to the comparator, the other input of the tb comparator, Weng for Ii. The count output of the second counting device. When the comparator receives the start signal, it compares the input values of the buffer and the second counting device. If they are not the same, it indicates that a line loss has occurred. Please first · K1 Please memorize it-Note l · Then fill in the manuscript Τι Install 15 dozens Printed by the Ministry of Economic Affairs, Pyongyang Bureau of Beigong Consumer Cooperatives ο 2 pages 5 1Λ The size of this paper is applicable to "« 家 flMMCNS) ^ Specifications (210X297 公 #)
TW81107344A 1992-09-17 1992-09-17 Handy scanner's picture quality control method TW199218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW81107344A TW199218B (en) 1992-09-17 1992-09-17 Handy scanner's picture quality control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW81107344A TW199218B (en) 1992-09-17 1992-09-17 Handy scanner's picture quality control method

Publications (1)

Publication Number Publication Date
TW199218B true TW199218B (en) 1993-02-01

Family

ID=51356489

Family Applications (1)

Application Number Title Priority Date Filing Date
TW81107344A TW199218B (en) 1992-09-17 1992-09-17 Handy scanner's picture quality control method

Country Status (1)

Country Link
TW (1) TW199218B (en)

Similar Documents

Publication Publication Date Title
CN101800826B (en) Image processing apparatus, terminal, printer apparatus and image processing method, having image restoring function
US8464954B2 (en) Method of improving the barcode recognition efficiency using continuous sampling, computer readable medium, and barcode recognition apparatus
JPH04313958A (en) Picture processor
EP0679313A1 (en) Method and apparatus for alignment of images for template elimination
CN101398885B (en) Code reading device and code reading method
US20020186390A1 (en) Image processing method and apparatus and image processing system
JP3183691B2 (en) Image synthesis device
JPH0626423B2 (en) Document reader
TW199218B (en) Handy scanner's picture quality control method
JP3347550B2 (en) Image processing apparatus and method
JP3312787B2 (en) Image processing system
JP2017069826A (en) Image forming apparatus and program
JP3503562B2 (en) Facsimile machine
JP2526167Y2 (en) Oblique reading correction device
JPH0670099A (en) Picture reading system
JPS58166867A (en) Mark reading system
JPH04297935A (en) Input device and output device
JPH01248874A (en) Picture information processing method
JPS61146065A (en) Image reader
JPH0127468B2 (en)
JPH0273467A (en) Electronic filing system
JP2006180161A (en) Color image processor
JPH0133988B2 (en)
JP2004159000A (en) Color image reading and recording apparatus
JPH04123665A (en) Image reader