經濟部中央樣準局貝工消費合作社印製 A7 _B7 五、發明説明() 5-1發明領域: 本發明係有關於一種影像信號處理裝置,特別是有 關於一種改良之影像信號處理裝置,其具有多工器及迦瑪 (Gamma)對應表,可以較傳統裝置使用較少之對應資料。 5-2發明背景: 影像處理裝置係應用反射光線及光偵測元件(例如 電荷耦合元件),以產生影像信號。此影像信號根據個別應 用,再進一步經過處理、儲存及顯示出來。影像掃瞄器、照 相機及傳真機即是現代辦公室及居家影像信號處埋應用之 典型例子。 第一圖顯示傳統影像處理系統之方塊圖。文件上的 影像經由燈管1 〇之照射及鏡面1 1之反射後,被透鏡1 2所 聚焦。此聚焦之影像被電荷耦合元件1 3偵測到後,再經由 一前置處理電路14(通常爲直流增益放大器)處理。接著, 影像信號由類比至數位轉換器(ADC)15轉換成數位形式, 其中類比至數位轉換器15之參考信號輸入係由一數位至類 比轉換器(DAC)16所提供。上述數位信號再經由後置處理 裝置17(例如一迦瑪(Gamma)處理器)所處理,最後,再將 其儲存於記憶緩衝區18中,以做進一步之處理或顯示。 I-^-------裝-----:—訂-------,V (請先聞讀背面之注意事項再填寫本頁) 五、發明説明() A 7 B7 經濟部中央標準局貝工消费合作社印装 傳統影像處理系統具有下列缺點。第一,當類比至 數位轉換器15之位元數依據系統需求增加時,齡仿至寧比 轉換器16之位元數也要跟著增加。由於數位至類比轉換器 ^ 'ZWjq數增1後,其內部等效電阻也跟著增加,因而使 - -__ 一--- 〜 得整個系統之凍彦氧慢。第二,當數位至類比轉'換器1 6之 位元數增加,則成本跟著增加,且該元件之市場取得率通會 也變得很低。第三,由於數位至類比轉換器1 6之反應時間 通常較考,因此由數位至類比轉換器16以調整類比至數位 轉換器15之參考信號,將會大j的減緩類_比^數位轉換器 b之速度。再者,不斷變化之參考信號更會產生系統的雜 —— 訊,因而進一步造成系統的不穩。 於第一圖中,從前置處理電路14至記憶緩衝區18 之間的電路,係用以處理彩色信號(即紅、綠、藍)其中的一 種信號。如果要處理其它兩種顏色信號,則需要再增加兩組 同樣的電路,然而如此將會耗用了許多的電路及功率。 5·3發明目的及槪述: 鑒於上述之發明背景中,傳統的影像處理裝置所產 生的諸多缺點,本發明的主要目的在提供一種改良之影像信 號處理裝置,其具有多工器及迦瑪(Gamma)對應表,可以 3 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) (請先聞讀背面之注意Ϋ項再填寫本頁) Γ 裝· 1丨訂 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明() 較傳統裝置使用較少之對應資料。在其中一實施例中,本發 明包含一掃瞄裝置,用以對掃瞄圖點產生多個彩色信號,再 將此多個彩色信號加以多工(multiplex)。被多工後之彩色信 號的直流位準以調整裝置加以調整,此調整後之彩色信號具 類比形式,經類比至數位轉換裝置轉換成爲數位形式。補償 裝置用以補償信號之明暗線(shading)現象,而增強裝置則 根據補償後之彩色信號的強度,以增強部份補償後之彩色信 號。增強裝置又包含一使用內插法之對應(mapping)電路, 係根據迦瑪(Gamma)曲線,以對應每一補償之彩色信號至 一對應之彩色信號,且對應之彩色信號儲存於儲存裝置,而 對應之彩色信號的數目小於補償之彩色信號的數目,因而節 省了記憶空間。最後,記憶裝置用以儲存增強後之彩色信 號,並以序列方式儲存。 5-4圖式簡單說明: 第一圖顯示傳統影像處理系統之方塊圖。 第二圖顯示本發明實施例之一的方塊圖。 '第三圖顯示多工器相關之信號波形。 第四A圖顯示一具有迦瑪(Gamma)値小於一之曲線。 第四B圖顯示一具有迦瑪(Gamma)値大於一之曲線。 第四C圖顯示內插方法之一個例子。 4 本紙張尺度適用中國國家標準(CNS ) A4規格(210X297公釐) I-J 裝 ^ I訂 . ^ (請先閲讀背面之注意事項再填寫本頁) 五、發明説明( A7 B7 5-5發明詳細說明: 第二圖顯示本發明實施例之一的方塊圖。圖片或文 件之掃瞄圖點經由反射、聚焦後,被一列的電荷耦合元件 (CCD)20所偵測到,因而將影像之強度轉換成彩色(紅、綠、 藍)電子信號。此彩,使得紅' 綠、藍以序列之方式插入至相f位置。多工器22之輸出係 由選擇信號SO、S1所決定,如第三圖所示,其中信號_^ 爲來自霉荷耦合元件20之影像信號,且其較高電位之部份 係代表一掃瞄圖點之起_點。當S0S 1等於00時,則通過紅 色信號:當S0S1等於01時,則通過綠色信號;而當S0S1 等於1 〇時,則通過'藍色信號。對於熟係此技藝之人士,第 三圖之選擇信號個數不一定要爲二,且彩色信號通過之順序 也不一定需要依照實施例中所示之順序。 裝 .訂 <請先閲讀背面之注意事項再填寫本頁) 經濟部中央樣準局貝工消费合作社印製 調整電路24用以調整被多工後之彩色信號之直流 位準,使其符合接下來之類比至數位轉換器(ADC)26的最 佳操作範圍。在本實施例中,具有回饋迴路之運算放大器 240,根據一參考直流電壓242以產生放大信號。此放大信 號之增益,則由增益放大器244所調整。 類比至數位轉換電路(ADC)26係用以轉換調整後 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐)Printed by A7 _B7 of the Shell Cooperative Consumer Cooperative of the Central Sample Bureau of the Ministry of Economic Affairs 5. Description of the Invention (5-1) Field of the Invention: The present invention relates to an image signal processing device, and more particularly to an improved image signal processing device. With multiplexer and Gamma correspondence table, it can use less correspondence data than traditional devices. 5-2 Background of the Invention: The image processing device uses reflected light and a light detection element (such as a charge coupled element) to generate an image signal. This image signal is further processed, stored and displayed according to the individual application. Image scanners, cameras, and fax machines are typical examples of buried signal applications in modern offices and homes. The first figure shows a block diagram of a conventional image processing system. The image on the document is focused by the lens 12 after being illuminated by the lamp tube 10 and reflected by the mirror 11. This focused image is detected by the charge coupled element 13 and then processed by a pre-processing circuit 14 (usually a DC gain amplifier). Then, the image signal is converted into a digital form by an analog-to-digital converter (ADC) 15. The reference signal input of the analog-to-digital converter 15 is provided by a digital-to-analog converter (DAC) 16. The digital signals are processed by a post-processing device 17 (such as a Gamma processor), and finally stored in a memory buffer 18 for further processing or display. I-^ ------- install -----:-order -------, V (please read the notes on the back before filling out this page) 5. Description of the invention () A 7 B7 The traditional image processing system printed by the Bayong Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs has the following disadvantages. First, when the number of bits of the analog-to-digital converter 15 increases according to system requirements, the number of bits of the analog-to-digital converter 16 also increases. As the digital-to-analog converter ^ 'ZWjq number increases by 1, its internal equivalent resistance also increases, which makes--__ one --- ~ ~ the freezing and oxygen of the entire system is slow. Secondly, when the number of bits of the digital-to-analog converter 16 increases, the cost increases accordingly, and the market acquisition rate of the component also becomes very low. Third, since the response time of the digital-to-analog converter 16 is usually considered, adjusting the reference signal of the analog-to-digital converter 15 by the digital-to-analog converter 16 will slow down the analog-to-digital conversion器 b 的 速度。 The speed of device b. Furthermore, the constantly changing reference signal will generate noise in the system, which will further cause system instability. In the first figure, the circuit from the pre-processing circuit 14 to the memory buffer 18 is used to process one of the color signals (ie, red, green, and blue). If you want to process the other two color signals, you need to add two more sets of the same circuit, but this will consume a lot of circuits and power. 5.3 Purpose and description of the invention: In view of the above-mentioned backgrounds of the invention, the conventional image processing device has many shortcomings. The main purpose of the present invention is to provide an improved image signal processing device having a multiplexer and a gamma. (Gamma) correspondence table, 3 paper sizes can be applied to Chinese National Standard (CNS) A4 specifications (210X 297 mm) (Please read the notes on the back before filling this page) Γ Install · 1 丨 Order the central Printed by the Consumer Bureau of Standards Bureau A7 B7 V. Description of the invention () Corresponding data with less use than traditional devices. In one embodiment, the present invention includes a scanning device for generating a plurality of color signals for the scanned image points, and then multiplexing the plurality of color signals. The DC level of the multiplexed color signal is adjusted by an adjustment device. The adjusted color signal has an analog form and is converted into a digital form by an analog-to-digital conversion device. The compensation device is used to compensate for the shading of the signal, while the enhancement device enhances the partially compensated color signal according to the intensity of the compensated color signal. The enhancement device further includes a mapping circuit using interpolation, which corresponds to each compensated color signal to a corresponding color signal according to a gamma curve, and the corresponding color signal is stored in a storage device. The number of corresponding color signals is less than the number of compensated color signals, thereby saving memory space. Finally, the memory device is used to store the enhanced color signals and store them in a serial manner. 5-4 Schematic description: The first figure shows a block diagram of a conventional image processing system. The second figure shows a block diagram of one of the embodiments of the present invention. 'The third figure shows the signal waveforms related to the multiplexer. The fourth diagram A shows a curve with Gamma 値 less than one. The fourth diagram B shows a curve with Gamma 値 greater than one. Figure 4C shows an example of the interpolation method. 4 This paper size is applicable to Chinese National Standard (CNS) A4 specification (210X297mm) IJ installed ^ I ordered. ^ (Please read the precautions on the back before filling this page) 5. Description of the invention (A7 B7 5-5 invention details Explanation: The second figure shows a block diagram of one of the embodiments of the present invention. After scanning and focusing the points of a picture or a document, they are detected by a row of charge-coupled elements (CCD) 20, and thus the intensity of the image is determined. Converted into color (red, green, blue) electronic signals. This color makes red 'green, blue inserted into the phase f position in a sequential manner. The output of the multiplexer 22 is determined by the selection signals SO, S1, as As shown in the three figures, the signal _ ^ is the image signal from the mold-coupled coupling element 20, and the higher potential part represents the _ point from the scan point. When S0S 1 equals 00, the red signal is passed : When S0S1 is equal to 01, the green signal is passed; and when S0S1 is equal to 10, the blue signal is passed. For those skilled in this art, the number of selection signals in the third picture does not have to be two, and The order in which color signals pass does not necessarily need to follow Order shown in the examples. Binding. <Please read the notes on the back before filling out this page.) The Central Prototype Bureau of the Ministry of Economic Affairs printed the adjustment circuit 24 to adjust the color signal after being multiplexed. The DC level is in accordance with the best operating range of the following analog-to-digital converter (ADC) 26. In this embodiment, the operational amplifier 240 having a feedback loop generates an amplified signal according to a reference DC voltage 242. The gain of this amplified signal is adjusted by the gain amplifier 244. Analog-to-digital conversion circuit (ADC) 26 is used to convert and adjust.
Vs 經濟部中央標準局貝工消費合作社印裝 A 7 B7 五、發明説明() 之彩色信號的類比形式,使之成爲數位形式。類比至數位轉 換電路(ADC)26之位元數則根據系統之精確度要求及成本 來決定》 —般掃猫之影像都會具有明暗線(shading)之現 象,這些線條通常會較鄰近之區域暗或淡,有時候甚至會有 一整帶(band)之暗線或淡線發生,因而使得顯示或列印出來 的影像無法辨析。此種明暗線現象通常係由光源、鏡子、透 鏡或電荷耦合元件之缺陷或光線的扭曲之非均勻性光反應 (photo-response non-uniformity)所造成,或者是由系統老 化或環境中的灰塵所造成。此種明暗線現象可以由補償電路 28加以補償。傳統之明暗線現象補償電路及方法可用於作 此種補償。 增強裝置30(例如迦瑪(Gamma)電路)根據來自補 償電路28之補償彩色信號之強度,以增強部份補償後之彩 色信號。第四A圖顯示一具有迦瑪(Gamma)値小於一之曲 線,顯示靠近位準1024之明亮信號因而被增強了。相反的, 第四B圖顯示一具有迦瑪(Gamma)値大於一之曲線,顯示 靠近位準0之暗信號因而被增強了。傳統迦瑪(Gamma)電 路30係以對應(mapping)方法,根據迦瑪(Gamma)曲線, 以對應來自補償電路28之每一補償彩色信號至一對應之增 強信號》當系統位元數增加後,儲存於記憶區的對應資料(即 6 本纸張尺度適用中國國家標準(CNS ) A4規格(210 X 297公釐) —„-------装-----_丨訂------- (請先閱讀背面之注意Ϋ項再填寫本頁) 經濟部中央揉準局貝工消费合作社印製 A7 B7 五、發明説明() 對應表)將會變得過大。爲了克服上述問題,在本實施例中, 只有使用到傳統一半或四分之一的對應資料。對於無法在對 應表中找得到的對應資料,則使用內插方法以產生迦瑪 (Gamma)對應資料 '第四C圖顯示內插方法之一個例子, 其中X1、X2及Y1、Y2分別爲已知的輸入及輸出。對於一 個無法在對應表中找得到的輸入値X,其相對應之輸出値Y 可以由下式產生: Y = [(X-X1)/(X2-X1)]*(Y2-Y1) + Y1 ........(1) 第(一)式可以由硬體方法組合得到,其具有較快的 速度。然而,如果速度不是一個很大的考量,則可以用軟體 方法來達成。 強化(highlight)或弱化(shadow)效果可以於後置 處理電路32中,用來進一步加以處理來自迦瑪(Gamma)電 路30之增強彩色信號。除了強化(highlight)或弱化(shadow) 電路以外,其他傳統之後置處理電路也可以用於此作適當的 信號處理。 最後,被處理完成之信號則儲存於記億裝置34(例 如隨機存取記憶體,RAM)內。由於來自電荷耦合元件20 之影像信號被多工器22分配,因此儲存於記憶裝置34內 7 本紙張尺度適用中國國家標準(CNS ) A4規格(210X 297公釐) 1— ^Γ、)裝 ^ I 訂 I —. (請先閲讀背面之注意事項再填寫本頁) A7 B7 _ 五、發明説明() 時便以R1G1B1R2B2G2……之序列方式儲存,其中R1代 表第一圖點之紅色信號,G1則代表第一圖點之綠色信號, 以此類推。然而,傅統之影像處理系統由於並無多工之分 配,因此其影像信號則以 R1R2R3... RnG1G2G3...Vs. Printed by the Central Standards Bureau of the Ministry of Economic Affairs, Shellfish Consumer Cooperatives. A 7 B7 5. The analog form of the color signal of the invention description (), making it a digital form. The number of bits in the analog-to-digital conversion circuit (ADC) 26 is determined according to the system's accuracy requirements and cost. "— The general cat image will have the phenomenon of light and dark lines. These lines are usually darker than adjacent areas. Light or light, sometimes even a whole band of dark or light lines occurs, which makes the displayed or printed image unreadable. This kind of light-dark line phenomenon is usually caused by defects in light sources, mirrors, lenses, or charge-coupled elements, or distortion of light by non-uniform photo-response non-uniformity, or by system aging or dust in the environment. caused. Such a light-dark line phenomenon can be compensated by the compensation circuit 28. The traditional light and dark line phenomenon compensation circuit and method can be used for such compensation. The enhancement device 30 (such as a Gamma circuit) enhances the partially compensated color signal according to the intensity of the compensated color signal from the compensation circuit 28. The fourth image A shows a curve with Gamma 値 less than one, and a bright signal near the level 1024 is thus enhanced. In contrast, the fourth diagram B shows a curve with Gamma 値 greater than one, showing that the dark signal near level 0 is thus enhanced. The traditional Gamma circuit 30 uses a mapping method to correspond to each of the compensated color signals from the compensation circuit 28 to a corresponding enhanced signal according to the Gamma curve. When the number of system bits increases, The corresponding data stored in the memory area (that is, the 6 paper sizes are applicable to the Chinese National Standard (CNS) A4 specification (210 X 297 mm) ——————— 装 -----_ 丨 order- ------ (Please read the note on the back before filling in this page) A7 B7 printed by the Shellfish Consumer Cooperative of the Central Bureau of the Ministry of Economic Affairs 5. The description of the invention () Corresponding table) will become too large. To overcome the above problems, in this embodiment, only the traditional half or quarter corresponding data is used. For the corresponding data that cannot be found in the corresponding table, an interpolation method is used to generate Gamma corresponding data 'The fourth C diagram shows an example of the interpolation method, where X1, X2 and Y1, Y2 are known inputs and outputs respectively. For an input 无法 X that cannot be found in the correspondence table, its corresponding output 値Y can be produced by: Y = [(X-X1) / (X2-X1)] * (Y2-Y1) + Y 1 ........ (1) Equation (1) can be obtained by a combination of hardware methods, which has a faster speed. However, if the speed is not a big consideration, it can be achieved by software methods. The highlight or shadow effect can be used in the post-processing circuit 32 to further process the enhanced color signal from the gamma circuit 30. In addition to the highlight or shadow circuit, Other traditional post-processing circuits can also be used for proper signal processing. Finally, the processed signals are stored in the memory device 34 (such as random access memory, RAM). The image signal is distributed by the multiplexer 22, so it is stored in the memory device 34. The paper size is in accordance with the Chinese National Standard (CNS) A4 specification (210X 297 mm). 1— ^ Γ,) equipment ^ I order I —. ( Please read the precautions on the back before filling in this page) A7 B7 _ 5. When the invention description () is stored in the sequence of R1G1B1R2B2G2 ..., where R1 represents the red signal of the first picture point, G1 represents the first picture The green signal, and so on. However, the image processing system Fu system because there is no multiplexing of the distribution, so that the video signal places R1R2R3 ... RnG1G2G3 ...
GnB1B2B3...Bn之方式儲存。 以上所述僅爲本發明之較佳實施例而已,並非用以 限定本發明之申請專利範圍:凡其它未脫離本發明所揭示之 精神下所完成之等效改變或修飾,均應包含在下述之申請專 利範圍內。 (請先閲讀背面之注意事項再填寫本頁} -裝- 訂 經濟部中央標準局貝工消费合作社印製 8 本紙張尺度適用中國國家橾準(CNS ) A4規格(210X297公釐)GnB1B2B3 ... Bn. The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the patent application of the present invention: all other equivalent changes or modifications made without departing from the spirit disclosed by the present invention should be included in the following Within the scope of patent application. (Please read the precautions on the back before filling in this page}-Binding-Ordering Printed by Beige Consumer Cooperative of the Central Bureau of Standards, Ministry of Economic Affairs 8 This paper size applies to China National Standard (CNS) A4 (210X297 mm)