TW522719B - Method for increasing modulation transfer function - Google Patents

Method for increasing modulation transfer function Download PDF

Info

Publication number
TW522719B
TW522719B TW90119865A TW90119865A TW522719B TW 522719 B TW522719 B TW 522719B TW 90119865 A TW90119865 A TW 90119865A TW 90119865 A TW90119865 A TW 90119865A TW 522719 B TW522719 B TW 522719B
Authority
TW
Taiwan
Prior art keywords
digital data
scanning
scanned
pixels
light
Prior art date
Application number
TW90119865A
Other languages
Chinese (zh)
Inventor
Shr-Jeng Guo
Original Assignee
Umax Data Systems Inc
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 Umax Data Systems Inc filed Critical Umax Data Systems Inc
Priority to TW90119865A priority Critical patent/TW522719B/en
Application granted granted Critical
Publication of TW522719B publication Critical patent/TW522719B/en

Links

Landscapes

  • Facsimile Scanning Arrangements (AREA)
  • Facsimile Heads (AREA)

Abstract

A method for increasing a modulation transfer function (MTF) is applicable in the scanning on an object by a scanner with a linear photo sensor. The method comprises: obtaining smooth image digital data; separately scanning an object in the direction of advancing and a direction orthogonal thereto; and using the smooth image digital data to process the digital data of the calculated pixels obtained by scanning the object.

Description

522719 經濟部智慧財產局員工消費合作社印製 7062twf·doc/009 五、發明說明(/ ) 本發明是有關於一種提高調變轉換函數(MTF, Modulation Transfer Function)之方法,且特別是有關於一種 利用X-Y方向掃描及特別的運算法提高掃描解析度及加強 MTF之方法。 在影印機、傳真機與掃描器等將視覺圖像轉換成合適 的電子形式以供列印、儲存、傳送或其他電子用途的圖像 轉換裝置中,一般是使用光感測器,例如:電荷耦合元件 (charge couple device,CCD)或接觸影像感測器(contact image sensor,CIS)等來進行圖像的感測。而對於彩色成像 而言,這些光感測器常見的架構是以紅、綠、藍三種顏色 的CCD元件列所排列組成。通常,所有的CCd元件列都 會曝光一段固定的時間,之後再將感應出的電荷傳遞到類 比移位暫存器並進行後續的處理。 而爲了加強X軸(光感測器的長軸)上的解析度,較常 使用的方法係以在X軸上進行插點以得到一個大於光感測 器之光學解析度的資料。但由於光感測器上感測細胞的大 小無法改變,因此在進行掃描時由光感測器所得到的光 度,若每個感測細胞在使用大於光感測器之光學解析度爲 其實際解析度的時候,掃描所得到的資料就會是數個像素 之光度的平均値。因此,若是採用此種方法來加強解析度, 則掃描器在MTF上的表現就會變差。 有鑒於此,本發明提出一種提高調變轉換函數之方 法。本發明利用光感測器對影像平滑區與待掃描物件分別 進行掃描操作,並藉由使光感測器於兩個互相垂直的方向 本紙張尺度適用中國國家標準(CNS)A4規格⑵G X 297公髮) (請先閱讀背面之注意事項再填寫本頁) ----I---訂----!!線· 522719 7〇62twf.d〇c/〇09 A7 ----- Β7 五、發明說明(>) 上產生移動,從而在X軸(光感測器的長軸)上得到更良好 的掃描解析度。 本發明所提出的一種提高調變轉換函數之方法,其適 用於具有線性光感測器之掃描器以進行掃描待掃描物件之 方法上。此提高調變轉換函數之方法包括:先取得平滑影 像數位資料。之後,分別於掃描之前進方向及與此前進方 向垂直的兩方向上掃描待掃描物件。最後則根據平滑影像 數位資料以處理掃描待掃描物件時所取得之計算像素的數 位資料。 其中,根據平滑影像數位資料以處理掃描待掃描物件 時所取得之計算像素的數位資料係可以下述方式爲之: 當X>(N-1)的時候: A(X)=F(X)*N-A(X-l)-A(X-2)-...-A(X-N+l);以及 當X<N的時候: A(X)=F(X)*N_A(X-l)-A(X-2)'"-A(0)*(N-X); 其中,X-1爲在欲取得之計算像素前已經取得數位資料 的計算像素的個數,N爲一個光感測細胞所包括的計算像素 的個數,A(X)爲第X個計算像素所對應的數位資料,而A(0) 則爲平滑影像數位資料。此外,F(X)則爲掃描包括取得之 計算像素在內的光感測細胞所得到的數位資料。 綜上所述,本發明藉馬達驅動,使光感測器能在X軸及 Y軸的方向上移動,再加上對影像平滑區進行掃描操作時所 得到的資料,可以使得掃描器在X軸及γ軸上的掃描解析度 增加’進而更fee局e周變轉換函數(MTF,Modulation Transfer (請先閱讀背面之注意事項再填寫本頁) 訂---------線 經濟部智慧財產局員工消費合作社印製 本紙張尺度適用中國國家標準(CNS)A4規格(2】0 χ 297公釐) A7 ^2719 7〇62twf.d〇c/0〇9 、---- 五、發明說明($ )522719 Printed by the Consumer Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs 7062twf · doc / 009 V. Description of the Invention (/) The present invention relates to a method for improving the modulation transfer function (MTF, Modulation Transfer Function), and in particular, it relates to a method A method to improve scanning resolution and strengthen MTF by using XY scanning and special algorithms. Photo sensors, such as photocopiers, facsimiles, and scanners, which convert visual images into a suitable electronic form for printing, storage, transmission, or other electronic purposes, typically use light sensors, such as charge A couple element (CCD) or a contact image sensor (CIS) is used to perform image sensing. For color imaging, the common architecture of these light sensors is an array of CCD elements in three colors: red, green, and blue. Normally, all CCd element columns are exposed for a fixed period of time, after which the induced charges are transferred to the analog shift register for subsequent processing. In order to enhance the resolution on the X-axis (the long axis of the light sensor), the more commonly used method is to interpolate on the X-axis to obtain a data larger than the optical resolution of the light sensor. However, since the size of the sensing cells on the light sensor cannot be changed, the light obtained by the light sensor when scanning is performed. If each sensing cell uses an optical resolution greater than that of the light sensor, it is its actual value. At resolution, the data obtained by scanning will be the average of the luminosity of several pixels. Therefore, if this method is used to enhance the resolution, the performance of the scanner on the MTF will deteriorate. In view of this, the present invention proposes a method for improving the modulation transfer function. The present invention uses a light sensor to scan the image smooth area and the object to be scanned separately, and makes the light sensor in two mutually perpendicular directions. The paper size applies the Chinese National Standard (CNS) A4 specification⑵G X 297 (Issued) (Please read the notes on the back before filling out this page) ---- I --- Order ----! !! Line 522719 7〇62twf.d〇c / 〇09 A7 ----- Β7 V. The invention description (>) moves, so that it gets better on the X axis (long axis of the light sensor) Scan resolution. A method for improving a modulation transfer function provided by the present invention is applicable to a method having a linear light sensor for scanning an object to be scanned. This method of improving the modulation transfer function includes first obtaining smooth digital image data. After that, the object to be scanned is scanned in the forward direction and the two directions perpendicular to the forward direction. Finally, the smoothed image digital data is used to process the digital data of the calculated pixels obtained when scanning the object to be scanned. Among them, the digital data of the calculated pixels obtained when scanning the scanned object based on the smooth image digital data can be as follows: When X > (N-1): A (X) = F (X) * NA (Xl) -A (X-2) -...- A (X-N + l); and when X < N: A (X) = F (X) * N_A (Xl) -A (X-2) '" -A (0) * (NX); Among them, X-1 is the number of calculation pixels that have obtained digital data before the calculation pixel to be obtained, and N is a light sensing cell The number of calculation pixels included, A (X) is the digital data corresponding to the Xth calculation pixel, and A (0) is the smooth image digital data. In addition, F (X) is the digital data obtained by scanning the light-sensing cells including the calculated pixels obtained. In summary, the present invention uses a motor to drive the light sensor to move in the X-axis and Y-axis directions, plus the data obtained during the scanning operation of the image smooth area, which can make the scanner in X The scanning resolution on the axis and γ axis is increased, and the conversion function (MTF, Modulation Transfer (please read the precautions on the back before filling this page) is further improved. The paper size printed by the employee's consumer cooperative of the Ministry of Intellectual Property Bureau applies the Chinese national standard (CNS) A4 specification (2) 0 χ 297 mm) A7 ^ 2719 7〇62twf.d〇c / 0〇9, ---- 5 , Description of invention ($)

Function)的表現。 爲讓本發明之上述和其他目的、特徵、和優點能更明 顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細 說明如下: 圖式之簡單說明: 第1圖繪示的是根據本發明一較佳實施例之的像素位 置及線性光感測器之感測細胞間之關係示意圖; 第2A圖繪示的是根據本發明之一較佳實施例的示意 圖; 第2B圖繪示的是根據本發明之另一較佳實施例的示 意圖; 第3圖繪示的是根據第2A圖之較佳實施例的施行步驟 流程圖; 第4圖繪示的是根據第2B圖之較佳實施例的施行步驟 流程圖; 第5圖繪示的是根據第5圖之較佳實施例的施行步驟 流程圖;以及 第6圖繪示的是提高MTF的一示意圖。 標號說明 1〇,60 :光感測組 14 :待掃描物件 102-114,602-610 :光感測細胞 142-172 :像素 S302-S330,S402-S408,S502-S518 :施行步驟 本紙張尺度適用中國國家標準(CNS)A4規格(2】0 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) 訂---------線. 經濟部智慧財產局員工消費合作社印製 經濟部智慧財產局員工消費合作社印製 522719 7062twf.doc/009 A7 B7 五、發明說明(今) 較佳實施例 請參照第1圖,其繪示的是依照本發明一較佳實施例 的像素位置及與線性光感測器(Linear Sensor)之感測細胞 間之關係的示意圖。其中,在線性光感測器包括了由多個 光感測細胞所組成的光感測組,若是彩色掃描器,則在線 性光感測器中會有3組光感測組,分別處理R、G、B三原 色,而在本實施例中,以一組光感測組作說明,即爲光感 測組10,但其他兩組之做法皆與此組相同。 其中,在光感測組10上具有光感測細胞102,104...到 114,而當線性光感測器在時間tl及時間t2掃描待掃描物 件14的時候,由於光感測組10在t2時間掃描時會與在tl 時間掃描時相差一固定位移量。在本實施例中,係假設在 兩個掃描時間點的位移量爲1/2光感測細胞寬度。是以待掃 描物件可由光感測組10在兩個掃描時間點的位移量產生部 分光感測細胞有重疊的狀況,因而可區分成爲像素142, 144..·直到 172。 在上述實施例中,係以線性光感測器進行X方向掃描 爲例作說明,以下則再進一步說明增進解析度的方法。 δ靑參照第2 A圖與第2 B圖’其分別顯不根據本發明之 一個較佳實施例。在這兩個較佳實施例中係使用〜般的,線 性感測器(linear sensor)作爲掃描器中的感測裝置。請同時 參照第2A圖與第3圖,其中,第3圖繪示的是根據第2A 圖一較佳實施例的施行步驟流程圖。在本實施例中,於掃 描開始的時候是假設向右進行掃描(步驟S302),但熟悉此 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) ----11---訂----丨丨丨丨--^1·· 522719 A7 經濟部智慧財產局員工消費合作社印製 7〇62twf.doc/009五、發明說明(f ) 技藝者當可視實際掃描之需求,而改以向左進行掃描爲起 始時的掃描方向。之後,於步驟S304中取得一條線的數位 資料,亦即,取得一組CCD掃描所得到的數位資料。而在 接續的步驟S306中,會根據掃描所得到的掃描線的個數以 決定後續步驟的流程。當所得到之掃描線尙未到達一個預 定値η的時候(即一個光感測細胞的寬度),就進一步在 步驟S308中根據目前掃描的方向以決定下一步的動作。其 中,當光感測器是向右掃描的時候,流程會進入步驟S310 而將光感測器向右移動1/η個光感測細胞的寬度,否則,流 程就會進入步驟S330而將光感測器向左移動1/η個光感測 細胞的寬度。當光感測器向左或向右移動完之後,流程會 重新回到步驟S302以繼續之後的操作。 在另一方面,當經過步驟S306確認所得到之掃描線的 個數已到達預定値η的時候,流程就會進入步驟S320,以 藉所取得的η條掃描線而得到具有η倍解析度的一條掃描 線的影像。之後,步驟S322會判斷掃描是否結束,且在掃 描尙未結束的時候使流程進入步驟S324。而在步驟S324 中,則將光感測器向下移動1/η個光感測細胞的寬度以準備 進行下一次的掃描。之後,步驟S326根據光感測器尙未下 移之前的掃描方向以決定光感測器下移之後的掃描方向。 當光感測器尙未下移之前的掃描方向是向右的時候,流程 會進入步驟S328而控制光感測器向左掃描。反之,當光感 測器尙未下移之前的掃描方向是向左的時候,流程會進入 步驟S302而控制光感測器向右掃描。 (請先閱讀背面之注意事項再填寫本頁) ----I---訂------線 _ 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 經濟部智慧財產局員工消費合作社印製 522719 7〇62twf.d〇c/〇〇9 A7 ------___ 五、發明說明(b ) 以上進行Χ-γ方向掃描的方式,係先進行X方向掃 手田’當掃描得到的掃描線達到預設値η時,再進行γ方向 掃描。 而在接下來的實施例中,即對Υ方向先進行掃描,再 進行X方向掃描的掃描方式進行說明。 請參照第4圖,其繪示的是根據第2Β圖之較佳實施例 的施行步驟流程圖。在本實施例中,首先掃描一頁的資料 (S402),之後再根據掃描是否已經完畢以決定後續的處理流 程(S404)。當掃描尙未結束的時候,流程會進入步驟S4〇6 以將光感測器於X軸上移動相當於l/η個光感測細胞的寬 度,之後再回到步驟S402以移動後的X軸位置爲準,再次 掃描一頁的影像。而當在步驟S404中判斷掃描已進行完畢 (在本實施例中爲取得η頁的影像),則就以掃描所得的n頁 影像來取得具有η倍解析度的影像。 以上實施例係以進行Χ-Υ方向進行掃描之方式,達到 增進解析度的目的,而爲了使增加解析度後的調變轉換函 數(MTF,Modulation Transfer Function)的表現加強,就 必須由影像亮度相同的一個平滑影像區中取得像素的數位 資料(即亮度値),並以這個數位資料爲基礎進行計算以增進 MTF的表現。其中,平滑影像數位資料係在掃描待掃描物 件之前就已取得,且平滑影像的數位資料即是掃描亮度均 句的平滑影像區而取得,而所謂的平滑影像區可爲類似掃 描器中的光學黑(Optic black )結構,經由掃描此光學黑結 構及轉換資料後,可得到有關此平滑影像的數位資料。 8 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公f ) ----------—裝--------訂-------—線 (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 522719 7〇62twf.d〇c/009 A7 B7 五、發明說明) 是以,不論是由取得的η條掃描線而得到具有n倍解 析度的一條掃描線的影像,或是以掃描所得的η頁影像來 取得具有η倍解析度的影像,都需藉由第5圖所示之實施 例或進一步以第5圖所示之實施例進行推理以加強MTF的 表現。 在第5圖中,即是繪不根據取得的平滑影像區進行計 算的一較佳實施例的施行步驟流程圖。首先,在步驟S5〇2 中取得一個光感測細胞中所儲存的電荷,並將此電荷轉換 爲數位資料,亦即,取得此光感測細胞所感測的亮度値。 在此,將一個光感測細胞所感測的範圍稱爲計算像素的個 數。之後,在步驟S504中判斷由此光感測細胞中所取得的 數位資料是否屬於平滑影像,若是屬於平滑影像,則流程 進入步驟S506,否則流程就進入步驟S508。在步驟S506 中,由於所取得的數位資料是屬於平滑影像的數位資料, 因此就將此數位資料(F(0))寫入儲存平滑區亮度(A(0))的緩 衝器中,並於步驟S518將此數位資料輸出,之後再回到步 驟S5〇2以取得下一個數位資料。 而當流程進入步驟S508時,會根據除了由平滑影像所 取得的數位資料外,已經取得的數位資料之像素個數來決 定後續的動作。當已經取得數位資料之像素個數小於一個 預設値N的時候,流程會進入步驟S5l〇,否則流程就會進 入步驟S5 14。其中,此預設値N可以是所想要增加之解析 度的倍數。而當進入步驟S510的時候,就將先前所得到的 數位資料(在此假設正在掃描第X個計算像素,因此在這之 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) 訂---------線 __ 經濟部智慧財產局員工消費合作社印製 522719 7062twf. doc/ 009 A7 B7 五、發明說明(f) 前應有x-l筆數位資料)自緩衝區中讀出,亦即,自緩衝區 中讀出A(0),A(l)...直到A(X-l)的資料。之後,再於步驟 S512中,將掃描第X個計算像素所得的數位資料F(X)以下 述的方式處理: A(X)二 F(X)*N-A(X_l)-A(X-2)'..-A(0)*(N-X) 據此求得第X個像素的數位資料A(X),以將此數位資料 A(X)儲存至緩衝區中,並於步驟S518中輸出A(X),再回 到步驟S502以取得下一個光感測細胞的數位資料。 而當已經取得數位資料之像素個數大於預設値N的時 候,流程會自步驟S508進入步驟S514。在步驟S514中, 在此計算像素之前的N個像素的數位資料,亦即儲存於緩 衝區中的資料A(X-l)到A(N-X+1)會被讀出,並根據下述的 方程式: A(X)=F(X)*N-A(X-l)-A(X-2)'..-A(X-N+l) 於步驟S516中求得第X個像素所對應的數位資料A(X), 並將此資料儲存在緩衝區中,之後則於步驟S518將A(X) 輸出,再回到步驟S502以取得下一個計算像素的數位資 料。 其中,爲了使圖5的實施步驟能夠簡單易懂,以下以 圖6的示意圖作爲說明的例子。 請合倂參考第5及第6圖,其中第6圖繪示的是依據 第1圖的掃描方式作說明的示意圖,只是在第1圖中所繪 示的光感測組1〇在兩個掃描時間點的位移量爲1/2光感測 細胞寬度,而在第6圖中所繪示的光感測組12在兩個掃描 丨丨丨丨丨丨丨丨丨丨丨------丨丨訂·丨丨丨丨丨— (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 522719 7〇62twf.d〇c/009 A7 --- B7 五、發明說明) (請先閱讀背面之注意事項再填寫本頁) 時間點的位移量則爲1/5光感測細胞寬度,是以在圖1中一 個光感測細胞所掃描到的範圍爲2個像素,而在圖6中的 一個光感測細胞所能掃描到的範圍則爲5個像素。在此例 中以光感測細胞602作爲說明的例子。 首先,在步驟S5〇2中取得光感測細胞602中所儲存的 電荷,並將此電荷轉換爲數位資料,亦即,取得光感測細 胞602所感測的亮度値。之後,在步驟S5〇4中判斷在K1 時間點由光感測細胞602所取得的數位資料是否屬於平滑 影像,若是屬於平滑影像,則流程進入步驟S506,否則流 程就進入步驟S508。由於在K1時間點的光感測細胞602 所感測到的數位資料是屬於平滑影像的數位資料(即爲斜 線部分),因此就將此數位資料(F(〇))寫入儲存平滑區亮度 (A(0))的緩衝器中,並於步驟S518將此數位資料輸出,之 後再回到步驟S502以取得下一個數位資料。 經濟部智慧財產局員工消費合作社印製 其中,當在步驟S502中所取得的數位資料爲K2時間 點、K3時間點、K4時間點或K5時間點的光感測細胞602, 則由於其中的數位資料不全是平滑影像的數位資料,是以 進入步驟S508,此時會根據除了由平滑影像所取得的數位 資料外,已經取得的數位資料之像素個數來決定後續的動 作。當已經取得數位資料之像素個數小於一個預設値N=5 (即一個光感測細胞所能掃描到的範圍爲5個像素)的時 候,流程會進入步驟S510,否則流程就會進入步驟SH4。 而當進入步驟S510的時候,就將先前所得到的數位資 料(在此假設正在掃描第X個計算像素,因此在這之前應有 本紙張尺度適用中國國家標準(CNS)/U規格(2】0 X 297公釐) 522719 7〇62twf.doc/009 A7 B7 五、發明說明(p ) (請先閱讀背面之注意事項再填寫本頁) X-1筆數位資料)自緩衝區中讀出,亦即,自緩衝區中讀出 A(0),A(l).·.直到A(X-l)的資料,在此假設已掃描到K5時 間點的光感測細胞602,是以會自緩衝區中讀出A(0), A(l)…直到A(3)的資料。之後,再於步驟S512中,將掃描 第4個計算像素所得的數位資料F(4)以下述的方式處理: A(X)二 F(X)*N-A(X-l)-A(X-2)-..,A(0)*(N-X) 即,A(4)HF(4)*N-A(3)-A(2)-A(l)-A(0)*(5-4),據此求得第 4 個像素的數位資料A(4),以將數位資料A(4)儲存至緩衝區 中,並於步驟S518中輸出A(4),再回到步驟S502以取得 下一個光感測細胞的數位資料,其中,F(4)則爲對包括欲取 得之計算像素A(4)在內,光感測細胞602進行掃描操作所 得到的數位資料。 而當已經取得數位資料之像素個數大於預設値N-1 =4 的時候,流程會自步驟S5〇8進入步驟S514。在步驟S514 中,在第5個計算像素之前的4個像素的數位資料,亦即 儲存於緩衝區中的資料A(l)到A(4)會被讀出,並根據下述 的方程式: A(X)=F(X)*N-A(X-l)-A(X-2)'..-A(X-N+l) 經濟部智慧財產局員工消費合作社印製 得到 A(5)HF(5)*5-A(4)_A(3)-A(2)-A(1),於步驟 S516 中求 得第5個像素所對應的數位資料A(5),並將此資料儲存在 緩衝區中,之後則於步驟S518將A(5)輸出,再回到步驟 S502以取得下一個計算像素的數位資料。 綜上所述,本發明的優點包括可利用光感測器對影像 平滑區與待掃描物件分別進行掃描操作,並藉由使光感測 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) 522719 7〇62twf.doc/009 A7 B7 五、發明說明(\ \ ) 器於兩個互相垂直的方向上產生移動,從而在X軸及Y軸 上得到更良好的掃描解析度。且爲了使增加解析度後的 MTF表現更好,於是利用平滑影像區計算各個像素應具有 的數位資料(亮度値),以得到更好的MTF。 雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何熟習此技藝者,在不脫離本發明之精神 和範圍內,當可作各種之更動與潤飾,因此本發明之保護 範圍當視後附之申請專利範圍所界定者爲準。 ------------ipr'·-------訂---------線 (請先閱讀背面之注咅?事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 13Function). In order to make the above and other objects, features, and advantages of the present invention more comprehensible, the following describes the preferred embodiments in detail with the accompanying drawings as follows: Brief description of the drawings: FIG. 1 FIG. 2A is a schematic diagram illustrating a relationship between a pixel position and a sensing cell of a linear light sensor according to a preferred embodiment of the present invention; FIG. 2A illustrates a schematic diagram according to a preferred embodiment of the present invention; FIG. 2B shows a schematic diagram of another preferred embodiment according to the present invention; FIG. 3 shows a flowchart of the implementation steps according to the preferred embodiment of FIG. 2A; FIG. 4 shows a flowchart according to the first embodiment; FIG. 2B is a flowchart of the implementation steps of the preferred embodiment; FIG. 5 is a flowchart of the implementation steps of the preferred embodiment according to FIG. 5; and FIG. 6 is a schematic diagram of increasing the MTF. DESCRIPTION OF SYMBOLS 10, 60: Light sensing group 14: Objects to be scanned 102-114, 602-610: Light sensing cells 142-172: Pixels S302-S330, S402-S408, S502-S518: Implementation steps Applicable to China National Standard (CNS) A4 specifications (2) 0 X 297 mm (Please read the precautions on the back before filling out this page) Order --------- line. Employees ’Intellectual Property Bureau of the Ministry of Economic Affairs Consumption Cooperative printed by the Intellectual Property Bureau of the Ministry of Economic Affairs, printed by the Consumer Cooperative, 522719 7062twf.doc / 009 A7 B7 V. Description of the Invention (Today) Refer to Figure 1 for a preferred embodiment, which shows a preferred implementation according to the present invention A schematic diagram of the pixel positions of the example and the relationship between the pixel positions and the sensing cells of the Linear Sensor. Among them, the linear light sensor includes a light sensing group composed of a plurality of light sensing cells. If it is a color scanner, there will be three light sensing groups in the linear light sensor, which respectively process R The three primary colors are G, G, and B. In this embodiment, a group of light sensing groups is used as the description, that is, the light sensing group 10, but the other two groups do the same. Among them, there are light-sensing cells 102, 104 ... to 114 on the light-sensing group 10, and when the linear light sensor scans the object 14 to be scanned at time t1 and time t2, since the light-sensing group 10 Scanning at time t2 will differ by a fixed amount of displacement from scanning at time t1. In this embodiment, it is assumed that the amount of displacement at two scanning time points is 1/2 of the light-sensing cell width. Because the objects to be scanned can be partially displaced by the light sensing group 10 at the two scanning time points, the light sensing cells overlap, so they can be divided into pixels 142, 144,... Up to 172. In the above embodiment, the X-direction scanning performed by the linear light sensor is taken as an example for description, and the method for improving the resolution will be further described below. δ 靑 refers to Fig. 2A and Fig. 2B ', respectively, which show a preferred embodiment according to the present invention. In these two preferred embodiments, a general, linear sensor is used as the sensing device in the scanner. Please refer to FIG. 2A and FIG. 3 at the same time. Among them, FIG. 3 shows a flowchart of execution steps according to a preferred embodiment of FIG. 2A. In this embodiment, it is assumed that scanning is performed to the right at the beginning of the scan (step S302), but you are familiar with this paper size as applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm) (please read the Please fill in this page again for attention) ---- 11 --- Order ---- 丨 丨 丨 丨-^ 1 · 522522 A7 Printed by Employee Consumption Cooperative of Intellectual Property Bureau of the Ministry of Economic Affairs 7〇62twf.doc / 009 2. Description of the invention (f) When the artist sees the actual scanning requirements, he will start with the scanning direction when scanning to the left. After that, digital data of one line is obtained in step S304, that is, digital data obtained by a group of CCD scans is obtained. In the subsequent step S306, the flow of subsequent steps is determined according to the number of scan lines obtained by scanning. When the obtained scanning line 到达 does not reach a predetermined 値 η (that is, the width of a light-sensing cell), the next step is further determined in step S308 according to the current scanning direction. Among them, when the light sensor is scanning to the right, the flow advances to step S310 and the light sensor is moved to the right by 1 / η of the width of the light-sensing cell. Otherwise, the flow advances to step S330 to light the light. The sensor moves to the left by 1 / n the width of the light-sensing cell. After the light sensor is moved to the left or right, the flow returns to step S302 to continue the subsequent operations. On the other hand, when it is confirmed through step S306 that the number of the obtained scanning lines has reached a predetermined value 値 η, the flow proceeds to step S320 to obtain η times the resolution by η scanning lines obtained. An image of one scan line. After that, step S322 determines whether the scan is finished, and if the scan is not finished, the process proceeds to step S324. In step S324, the light sensor is moved down by a width of 1 / n light-sensing cells to prepare for the next scan. After that, step S326 determines the scanning direction after the light sensor is moved down according to the scanning direction before the light sensor is not moved down. When the scanning direction before the light sensor 尙 is not moved down is right, the flow proceeds to step S328 to control the light sensor to scan to the left. Conversely, when the scanning direction before the light sensor 尙 is not moved down is to the left, the flow proceeds to step S302 to control the light sensor to scan to the right. (Please read the precautions on the back before filling this page) ---- I --- Order ------ Line_ This paper size applies to China National Standard (CNS) A4 (210 X 297 mm) Economy Printed by the Consumer Cooperatives of the Ministry of Intellectual Property Bureau 522719 7〇62twf.d〇c / 〇〇9 A7 ------___ V. Description of the Invention (b) The above method of scanning in the X-γ direction is performed by X When the scanning line obtained by the scanning reaches a preset 値 η, scanning in the γ direction is performed. In the following embodiment, a scanning method in which the scan in the Υ direction is performed first, and then the scan in the X direction is performed will be described. Please refer to Fig. 4, which shows a flow chart of the execution steps according to the preferred embodiment of Fig. 2B. In this embodiment, a page of data is scanned first (S402), and then a subsequent processing flow is determined based on whether scanning has been completed (S404). When the scan is not over, the flow will go to step S406 to move the light sensor on the X axis by the width of 1 / η light-sensing cells, and then return to step S402 to move the X The axis position shall prevail, and the image of one page will be scanned again. When it is determined in step S404 that the scanning has been completed (in this embodiment, an image of n pages is obtained), the image of n pages is obtained by scanning to obtain an image with n-times resolution. In the above embodiments, the scanning is performed in the X-Y direction to achieve the purpose of improving the resolution. In order to enhance the performance of the modulation transfer function (MTF) after increasing the resolution, the brightness of the image must be adjusted. Obtain digital data of pixels in the same smooth image area (ie, brightness 値), and calculate based on this digital data to improve the performance of MTF. Among them, the smooth image digital data is obtained before scanning the object to be scanned, and the smooth image digital data is obtained by scanning the smooth image area of the brightness average sentence, and the so-called smooth image area can be similar to the optical in a scanner Optical (Optic black) structure. After scanning the optical black structure and converting data, digital data about the smooth image can be obtained. 8 This paper size applies to China National Standard (CNS) A4 specification (210 X 297 male f) ------------ installation -------- order --------- line (Please read the precautions on the back before filling out this page) Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 522719 7〇62twf.d〇c / 009 A7 B7 V. Description of the invention) Scanning the line to obtain an image with one scan line with n times resolution, or scanning the n page image to obtain an image with n times resolution, you need to use the embodiment shown in Figure 5 or further The embodiment shown in Figure 5 performs inference to enhance the performance of MTF. Fig. 5 is a flow chart showing the execution steps of a preferred embodiment in which calculation is not performed based on the obtained smooth image area. First, in step S502, an electric charge stored in a photo-sensing cell is obtained, and the electric charge is converted into digital data, that is, a brightness 値 detected by the photo-sensing cell is obtained. Here, the range sensed by one light sensing cell is referred to as the number of calculated pixels. Thereafter, it is determined in step S504 whether the digital data obtained from the light-sensing cell is a smooth image. If it is a smooth image, the flow proceeds to step S506, otherwise the flow proceeds to step S508. In step S506, since the obtained digital data is digital data belonging to a smooth image, this digital data (F (0)) is written into a buffer storing the brightness (A (0)) of the smoothed area, and Step S518 outputs the digital data, and then returns to step S502 to obtain the next digital data. When the flow proceeds to step S508, the subsequent actions will be determined according to the number of pixels of the digital data that have been obtained in addition to the digital data obtained from the smoothed image. When the number of pixels for which the digital data has been obtained is less than a preset 値 N, the flow advances to step S510, otherwise the flow advances to step S514. Wherein, the preset 値 N may be a multiple of the resolution to be increased. When entering step S510, the previously obtained digital data (here it is assumed that the Xth calculated pixel is being scanned, so the Chinese paper standard (CNS) A4 specification (210 X 297 mm) is applied here. ) (Please read the notes on the back before filling out this page) Order --------- line __ Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs 522719 7062twf. Doc / 009 A7 B7 V. Description of the invention ( f) There should be xl digital data before) read from the buffer, that is, read A (0), A (l) ... from A (Xl). Then, in step S512, the digital data F (X) obtained by scanning the Xth calculation pixel is processed in the following manner: A (X) × F (X) * NA (X_l) -A (X-2) '..- A (0) * (NX) According to this, the digital data A (X) of the Xth pixel is obtained to store this digital data A (X) in the buffer, and output A in step S518 (X), and then return to step S502 to obtain digital data of the next photo-sensing cell. When the number of pixels of the obtained digital data is larger than the preset 値 N, the flow proceeds from step S508 to step S514. In step S514, the digital data of the N pixels before the pixel are calculated, that is, the data A (Xl) to A (N-X + 1) stored in the buffer are read out, and according to the following Equation: A (X) = F (X) * NA (Xl) -A (X-2) '..- A (X-N + l) Find the digital data corresponding to the Xth pixel in step S516 A (X), and store this data in the buffer, and then output A (X) in step S518, and then return to step S502 to obtain the digital data of the next calculated pixel. Among them, in order to make the implementation steps of FIG. 5 easy to understand, the schematic diagram of FIG. 6 is used as an example for description below. Please refer to Fig. 5 and Fig. 6. Fig. 6 shows a schematic diagram according to the scanning method of Fig. 1. Only the light sensing group 1 shown in Fig. 1 The amount of displacement at the scanning time point is 1/2 of the width of the light-sensing cell, and the light-sensing group 12 shown in FIG. 6 is scanned in two scans. 丨 丨 丨 丨 丨 丨 丨 丨 丨 丨 ---- -丨 丨 Order · 丨 丨 丨 丨 丨 — (Please read the notes on the back before filling in this page) This paper size is applicable to China National Standard (CNS) A4 (210 X 297 mm) 522719 7〇62twf.d 〇c / 009 A7 --- B7 V. Description of the invention) (Please read the precautions on the back before filling this page) The displacement at the time point is 1/5 of the light-sensing cell width. The range scanned by the light-sensing cells is 2 pixels, while the range scanned by one photo-sensing cell in FIG. 6 is 5 pixels. In this example, a light-sensing cell 602 is taken as an illustrative example. First, in step S502, the electric charge stored in the photo-sensing cell 602 is obtained, and this electric charge is converted into digital data, that is, the brightness 値 detected by the photo-sensing cell 602 is obtained. Thereafter, it is determined in step S504 whether the digital data obtained by the light sensing cell 602 at the time K1 is a smooth image. If it is a smooth image, the flow proceeds to step S506, otherwise the flow proceeds to step S508. Since the digital data sensed by the light-sensing cell 602 at the K1 time point is digital data belonging to a smooth image (ie, the slashed part), this digital data (F (〇)) is written into the storage smooth area brightness ( A (0)), and output the digital data in step S518, and then return to step S502 to obtain the next digital data. Printed by the Consumer Cooperative of the Intellectual Property Bureau of the Ministry of Economic Affairs, when the digital data obtained in step S502 is the light-sensing cell 602 at time K2, K3, K4, or K5, because of the digital The data is not all digital data of the smooth image, so it proceeds to step S508. At this time, the subsequent actions are determined according to the number of pixels of the digital data that have been obtained in addition to the digital data obtained from the smooth image. When the number of pixels for which digital data has been obtained is less than a preset 値 N = 5 (that is, the range that a light sensing cell can scan is 5 pixels), the process proceeds to step S510, otherwise the process proceeds to step SH4. And when entering step S510, the previously obtained digital data is assumed (here it is assumed that the Xth calculated pixel is being scanned, so before this, there should be a Chinese standard (CNS) / U specification (2) for this paper size) 0 X 297 mm) 522719 7〇62twf.doc / 009 A7 B7 V. Description of the invention (p) (Please read the notes on the back before filling this page) X-1 digital data) Read from the buffer, That is, read the data of A (0), A (l) from the buffer until A (Xl). It is assumed here that the light-sensing cell 602 that has been scanned to the K5 time point will self-buffer. Read the data of A (0), A (l) ... to A (3). After that, in step S512, the digital data F (4) obtained by scanning the fourth calculation pixel is processed in the following manner: A (X) × F (X) * NA (Xl) -A (X-2) -.., A (0) * (NX) That is, A (4) HF (4) * NA (3) -A (2) -A (l) -A (0) * (5-4), according to This obtains the digital data A (4) of the fourth pixel to store the digital data A (4) in the buffer, and outputs A (4) in step S518, and then returns to step S502 to obtain the next light The digital data of the sensing cell, among which F (4) is the digital data obtained by scanning the light sensing cell 602 including the calculation pixel A (4) to be obtained. When the number of pixels of the obtained digital data is greater than the preset 値 N-1 = 4, the flow proceeds from step S508 to step S514. In step S514, the digital data of 4 pixels before the 5th calculated pixel, that is, the data A (l) to A (4) stored in the buffer are read out, and according to the following equation: A (X) = F (X) * NA (Xl) -A (X-2) '..- A (X-N + l) A (5) HF ( 5) * 5-A (4) _A (3) -A (2) -A (1), in step S516, find the digital data A (5) corresponding to the fifth pixel, and store this data in In the buffer, A (5) is output in step S518, and then returns to step S502 to obtain the digital data of the next calculated pixel. To sum up, the advantages of the present invention include that the light sensor can be used to perform scanning operations on the image smooth area and the object to be scanned separately, and by applying the light sensor to the paper standard of China National Standards (CNS) A4 (210 X 297 mm) 522719 7〇62twf.doc / 009 A7 B7 V. Description of the invention (\ \) The device moves in two mutually perpendicular directions to obtain better scanning resolution on the X and Y axes . And in order to make the MTF perform better after increasing the resolution, the smooth image area is used to calculate the digital data (brightness 値) that each pixel should have in order to obtain a better MTF. Although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art can make various modifications and retouches without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection shall be determined by the scope of the attached patent application. ------------ ipr '· ------- Order --------- line (Please read the note on the back? Matters before filling out this page) Ministry of Economy Printed by the Intellectual Property Bureau Staff Consumer Cooperative 13

Claims (1)

522719 7062twf.doc/009 A8 B8 C8 D8 六、申請專利範圍 1.一種提高調變轉換函數之方法,適用於具有線性光感 測器之掃描器以進行掃描一待掃描物件之方法,該提高調 變轉換函數之方法包括: 取得一平滑影像數位資料; 分別於一則進方向及與該前進方向垂直的兩方向上掃 描一待掃描物件;以及 根據該平滑影像數位資料,處理掃描該待掃描物件時 所取得之一計算像素的數位資料。 2 ·如申請專利範圍第1項所述之提高調變轉換函數之方 法,其中該平滑影像數位資料係於掃描該待掃描物件之前 取得。 3·如申請專利範圍第1項所述之提高調變轉換函數之方 法,其中該平滑影像數位資料係由掃描亮度均句之平滑影 像區而得到。 4·如申請專利範圍第1項所述之提高調變轉換函數之方 法,其中處理掃描該待掃描物件時所取得之該計算像素之 步驟包括: 當X>(N-1)的時候: Α(Χ)β(Χ)*Ν-Α(Χ-1)-Α(Χ-2)-.··-Α(Χ-Ν+1);以及 當Χ<Ν的時候: A(X)=F(X)*N_A(X-l)-A(X-2)-...-A(0)*(N-X); 其中,X-1爲在所取得之該計算像素前,除該平滑影像 數位資料中所包含的像素外,已得知數位資料的像素的個 數,N爲一個光感測細胞所包括的計算像素的個數,A(X) 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐) (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印製 · n I HI n n n Hi 一:口 \ · n tmmmmm a— n· ϋ ϋ —a— I ϋ n n n ϋ n n ϋ I I n n n n m ·1 n 1^1 n ϋ I 522719 六、申請專利範圍 爲第X個計算像素所對應的數位資料,A(0)爲該平滑影像中 像素的數位資料,F(X)則爲對包括取得之該計算像素在內 的光感測細胞進行掃描操作所得到的數位資料。 -----------------—訂---------線 IAW. (請先閱讀背面之注意事項再填寫本頁) 經濟部智慧財產局員工消費合作社印制衣 本紙張尺度適用中國國家標準(CNS)A4規格(210 X 297公釐)522719 7062twf.doc / 009 A8 B8 C8 D8 6. Scope of Patent Application 1. A method for improving the modulation conversion function, which is suitable for a method with a linear light sensor to scan an object to be scanned. The method of changing the conversion function includes: obtaining a smooth image digital data; scanning an object to be scanned in an advance direction and two directions perpendicular to the forward direction respectively; and processing the scanned object to be scanned according to the smooth image digital data One of the obtained digital data for calculating pixels. 2 · The method for improving the modulation transfer function as described in item 1 of the scope of patent application, wherein the smooth image digital data is obtained before scanning the object to be scanned. 3. The method for improving the modulation transfer function as described in item 1 of the scope of the patent application, wherein the smooth image digital data is obtained by scanning the smooth image area of the brightness average sentence. 4. The method for improving the modulation conversion function as described in item 1 of the scope of patent application, wherein the step of processing the calculated pixels obtained when scanning the object to be scanned includes: When X > (N-1): Α (Χ) β (Χ) * Ν-Α (Χ-1) -Α (Χ-2) -..- -Α (Χ-Ν + 1); and when X < N: A (X) = F (X) * N_A (Xl) -A (X-2) -...- A (0) * (NX); where X-1 is the number of smooth images before the calculated pixel is obtained In addition to the pixels included in the data, the number of pixels in the digital data has been known, N is the number of calculated pixels included in a light-sensing cell, A (X) This paper size applies Chinese National Standard (CNS) A4 Specifications (210 X 297 mm) (Please read the notes on the back before filling out this page) Printed by the Consumer Cooperatives of the Intellectual Property Bureau of the Ministry of Economic Affairs · n I HI nnn Hi One: mouth \ · n tmmmmm a— n · ϋ ϋ —A— I ϋ nnn ϋ nn ϋ II nnnnm · 1 n 1 ^ 1 n ϋ I 522719 6. The scope of the patent application is the digital data corresponding to the Xth calculated pixel, and A (0) is the number of pixels in the smooth image Data, F (X) The digital data obtained by the scanning operation of the light-sensing cells including the calculated pixels. -----------------— Order --------- line IAW. (Please read the precautions on the back before filling this page) Employees of Intellectual Property Bureau, Ministry of Economic Affairs The size of the paper used for printing clothing by consumer cooperatives is in accordance with China National Standard (CNS) A4 (210 X 297 mm)
TW90119865A 2001-08-14 2001-08-14 Method for increasing modulation transfer function TW522719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW90119865A TW522719B (en) 2001-08-14 2001-08-14 Method for increasing modulation transfer function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW90119865A TW522719B (en) 2001-08-14 2001-08-14 Method for increasing modulation transfer function

Publications (1)

Publication Number Publication Date
TW522719B true TW522719B (en) 2003-03-01

Family

ID=28037101

Family Applications (1)

Application Number Title Priority Date Filing Date
TW90119865A TW522719B (en) 2001-08-14 2001-08-14 Method for increasing modulation transfer function

Country Status (1)

Country Link
TW (1) TW522719B (en)

Similar Documents

Publication Publication Date Title
JP2007104720A (en) Photo-sensor and associated method
JP4762327B2 (en) Image processing apparatus and image forming apparatus
US5444543A (en) Method and apparatus for detecting a closed-loop area of an image
GB2216362A (en) Designating a rectangular area on a document
TW522719B (en) Method for increasing modulation transfer function
JPH05161002A (en) Original reader
JP3697828B2 (en) Document angle correction method and document angle correction device
JP4892247B2 (en) Image processing apparatus, image forming apparatus, and image processing method
TW530474B (en) Interlaced sensor for increasing the modulation transfer function and method applying the same
TW200811726A (en) Method and apparatus for processing image with picture and characters
US7304763B2 (en) Image processing apparatus and method
US20030086126A1 (en) Method of enhancing modulation transfer function performance
TW390072B (en) Method for obtaining relative and absolute errors in longitudinal and latitudinal amplification ratio from a scanner
US20070188812A1 (en) Image processing device, image reading device and image processing method
US20060285178A1 (en) Stagger sensor and method for improving modulation transfer function
JP2660170B2 (en) Image processing device
JP2007052471A (en) Two-dimensional pattern reader and two-dimensional pattern reading method
JP3359361B2 (en) Enlargement printing device
JP2575301B2 (en) Image processing device
TW535400B (en) Image data arrangement method in the memory of optical scanning device
TW504658B (en) Image processing method with sub-pixels
JPH08332745A (en) Copy printer and copy printing and reading apparatus
TW388167B (en) Method for controlling image scanner
JPS58140881A (en) Picture processing system
TW305968B (en) The batch scanning method for image input system

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees