TWI423077B - Optical receiving apparatus, methods for improving uniformity of receive image and determining tilt of an optical receiving apparatus and controlling cursor - Google Patents

Optical receiving apparatus, methods for improving uniformity of receive image and determining tilt of an optical receiving apparatus and controlling cursor Download PDF

Info

Publication number
TWI423077B
TWI423077B TW97149982A TW97149982A TWI423077B TW I423077 B TWI423077 B TW I423077B TW 97149982 A TW97149982 A TW 97149982A TW 97149982 A TW97149982 A TW 97149982A TW I423077 B TWI423077 B TW I423077B
Authority
TW
Taiwan
Prior art keywords
brightness
blocks
pen
block
input device
Prior art date
Application number
TW97149982A
Other languages
Chinese (zh)
Other versions
TW201025082A (en
Inventor
Tsung Chu Hsieh
Yu Tang Chang
Original Assignee
Generalplus Technology 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 Generalplus Technology Inc filed Critical Generalplus Technology Inc
Priority to TW97149982A priority Critical patent/TWI423077B/en
Publication of TW201025082A publication Critical patent/TW201025082A/en
Application granted granted Critical
Publication of TWI423077B publication Critical patent/TWI423077B/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

筆型光學裝置、改善影像均勻度以及指標控制方法Pen type optical device, improved image uniformity and index control method

本發明是有關於一種筆型光學輸入裝置的應用技術,且特別是有關於一種判斷光筆傾斜、改善影像均勻度以及指標控制方法。The present invention relates to an application technique of a pen type optical input device, and more particularly to a method for judging light pen tilt, improving image uniformity, and index control.

隨著科技的進步,辨識碼(Identification,ID)技術也越來越進步。辨識碼主要是利用物件間的差異性,以電腦自動擷取物件的特徵或內建資料,轉換成電腦系統可儲存的數位資訊,並經由電腦系統的比對處理或資料管理,以達到識別與管理之目的。辨識碼的技術包含條碼(Barcode)、磁條(Magstripe)、光學文字辨識(Optical Character Recognition,OCR)、生物辨識(Biometric Recognition)、智慧卡(Smartcard)以及無線射頻識別(Radio Frequency Identification,RFID)。其用途十分廣泛,例如結帳、信用卡、指紋辨識、電話IC卡以及捷運悠遊卡。With the advancement of technology, identification (ID) technology is also getting more and more advanced. The identification code mainly utilizes the difference between the objects, and the computer automatically extracts the features or built-in data of the object, converts it into digital information that can be stored by the computer system, and compares the data or manages the data through the computer system to achieve identification and The purpose of management. Identification code technology includes Barcode, Magstripe, Optical Character Recognition (OCR), Biometric Recognition, Smartcard, and Radio Frequency Identification (RFID). . Its use is very wide, such as checkout, credit card, fingerprint identification, telephone IC card and MRT leisure card.

光學辨識碼(Optical Identification,OID)是一種可在一般印刷品中隱藏數位資料及擷取隱藏數位資料的技術,其可以透過標準的印刷程式及標準的油墨,將數位資料隱藏在一般的印刷品中。透過光學辨識筆(OID Pen)的光學及影像處理技術,便可取出預先隱藏在印刷品中的資料。Optical Identification (OID) is a technology that hides digital data and captures hidden digital data in general prints. It can hide digital data in general prints through standard printing programs and standard inks. Through the optical and image processing technology of the optical identification pen (OID Pen), the data hidden in the printed matter can be taken out.

第1圖是習知光學辨識筆的結構圖。請參考第1圖, 此光學辨識筆包括外殼101、面型感光元件102、控制電路103、介面電路104以及發光元件105。介面電路104例如是USB介面電路,其主要是用以連接電腦,作為通訊協定的轉換。控制電路103是用來控制面型感光元件102以及發光元件105。Fig. 1 is a structural view of a conventional optical identification pen. Please refer to Figure 1, The optical stylus includes a housing 101, a surface-type photosensitive element 102, a control circuit 103, an interface circuit 104, and a light-emitting element 105. The interface circuit 104 is, for example, a USB interface circuit, which is mainly used to connect a computer as a conversion of a communication protocol. The control circuit 103 is for controlling the surface-type photosensitive element 102 and the light-emitting element 105.

然而,一般使用者在使用筆型裝置時,習慣性的會請斜一角度,如此,光學辨識筆的面型感光元件102所接收到的影像將會有亮度不均勻的現象。第2圖是右手握光學辨識筆,傾斜角度約40度時,面型感光元件102所接收到的影像示意圖。請參考第2圖,依賴單一照明光源105的光學辨識筆會因為握筆的傾斜,使得影像有暗角或陰影。此種亮度不均勻的現象,對於光學辨識的辨識率將會有很大的影響。However, when a user uses a pen-type device, it is customary to tilt it at an angle. Thus, the image received by the surface-type photosensitive element 102 of the optical identification pen will have uneven brightness. Fig. 2 is a schematic view showing an image received by the surface-type photosensitive element 102 when the optical recognition pen is held by the right hand at an inclination angle of about 40 degrees. Referring to FIG. 2, the optical identification pen that relies on the single illumination source 105 may have a vignetting or shadow due to the tilt of the pen. This phenomenon of uneven brightness will have a great influence on the recognition rate of optical recognition.

有鑒於此,本發明之一目的就是在提供一種改善影像均勻度,用以改善筆型光學輸入裝置所接收的影像之亮度分布不均勻的問題。In view of the above, it is an object of the present invention to provide an improved image uniformity for improving the uneven brightness distribution of images received by a pen-type optical input device.

本發明之另一目的就是在提供一種判斷光筆傾斜的方法以及指標控制方法,用以根據筆型光學輸入裝置所接收的影像之亮度分布,決定筆型光學輸入裝置傾斜的方向或角度,進一步決定操作計算裝置的指標(Cursor)的移動方向以及移動速度。Another object of the present invention is to provide a method for determining the tilt of a light pen and an index control method for determining the direction or angle of tilting of the pen type optical input device according to the brightness distribution of the image received by the pen type optical input device, and further determining The direction of movement and the speed of movement of the index (Cursor) of the computing device are operated.

為達上述或其他目的,本發明提出一種改善影像均勻度的方法,適用於一筆型光學輸入裝置所接收的一影像, 此方法包括下列步驟:在筆型光學輸入裝置的影像接收窗口,提供多數個發光源;將筆型光學輸入裝置內的面型感光元件分為多數個區塊;偵測每一區塊所感測到的亮度;以及當上述區塊中,其中一特定區塊的亮度值與一中央區塊的亮度值相差一預定亮度值,則調整鄰近於特定區塊的發光元件的亮度。To achieve the above or other objects, the present invention provides a method for improving image uniformity, which is suitable for an image received by a one-piece optical input device. The method comprises the steps of: providing a plurality of illumination sources in an image receiving window of the pen-type optical input device; dividing the surface-type photosensitive elements in the pen-type optical input device into a plurality of blocks; detecting each block sensing The brightness of the light-emitting elements adjacent to the particular block is adjusted when the brightness value of a particular block differs from the brightness value of a central block by a predetermined brightness value.

本發明另外提出一種指標控制方法,適用於控制一控制一計算裝置在一顯示器上所顯示知一指標,其中此計算裝置耦接一筆型光學輸入裝置,此方法包括:在上述筆型光學輸入裝置的影像接收窗口,提供至少一發光源;將此筆型光學輸入裝置內的一面型感光元件分為多數個區塊;偵測每一區塊所感測到的亮度;根據每一區塊的亮度值與一中央區塊的亮度值之差異,判斷該光筆之傾斜方向以及傾斜角度;根據上述光筆之傾斜方向,決定指標的移動方向;以及根據上述光筆之傾斜角度的大小,決定指標的移動速度。The present invention further provides an indicator control method, which is suitable for controlling a control unit to display a display indicator on a display, wherein the calculation device is coupled to a one-piece optical input device, the method comprising: the pen type optical input device The image receiving window provides at least one light source; the one-side photosensitive element in the pen type optical input device is divided into a plurality of blocks; the brightness sensed by each block is detected; according to the brightness of each block Determining the tilt direction and the tilt angle of the light pen according to the difference between the value and the brightness value of a central block; determining the moving direction of the index according to the tilt direction of the light pen; and determining the moving speed of the index according to the tilt angle of the light pen .

本發明另外提出一種筆型光學輸入裝置,適用於接收一影像,此裝置包括一筆型外殼、一面型感光元件、多個發光元件以及一控制電路。筆型外殼具有一光學接收窗口。面型感光元件配置於該筆型外殼內,其光學接收面面對光學接收窗口,其中,該面型感光元件分為多數個區塊,另外,該面型感光元件用以偵測每一該些區塊所感測到的亮度。上述多個發光元件配置於光學接收窗口與該面型感光元件之間。控制電路用以控制該些發光元件以及該面型感光元件。當些區塊中,其中一特定區塊的亮度值與 一中央區塊的亮度值相差一預定亮度值,則該控制電路調整鄰近於該特定區塊的發光元件的亮度。The present invention further provides a pen-type optical input device adapted to receive an image, the device comprising a one-piece housing, a one-sided photosensitive element, a plurality of light-emitting elements, and a control circuit. The pen-type housing has an optical receiving window. The surface type photosensitive element is disposed in the pen type housing, and the optical receiving surface faces the optical receiving window, wherein the surface type photosensitive element is divided into a plurality of blocks, and the surface type photosensitive element is used for detecting each of the The brightness sensed by these blocks. The plurality of light emitting elements are disposed between the optical receiving window and the surface sensitive element. A control circuit is used to control the light emitting elements and the surface sensitive element. In some blocks, the brightness value of one of the specific blocks is The luminance values of a central block differ by a predetermined luminance value, and the control circuit adjusts the luminance of the light-emitting elements adjacent to the particular block.

本發明之精神是在於將將筆型光學輸入裝置內的面型感光元件分為多數個區塊,因此當筆型光學輸入裝置傾斜時,便可以利用每一個區塊與中央區塊的亮度差異,判定影像的暗角陰影,以判斷光筆的傾斜方向與角度。接著在筆型光學輸入裝置的影像接收窗口,設置多數個發光源,如此便可以分別控制多個光源強度,以得到亮度較均勻的影像。如此,可以增加影像的可判讀性,而更有利於影像的後續應用。另外,此方法可以判定光筆傾斜方向,據以應用在計算裝置的指標或游標控制。The spirit of the present invention is to divide the surface type photosensitive element in the pen type optical input device into a plurality of blocks, so that when the pen type optical input device is tilted, the difference in brightness between each block and the central block can be utilized. Determine the dark corner shadow of the image to determine the tilt direction and angle of the light pen. Then, in the image receiving window of the pen type optical input device, a plurality of light sources are arranged, so that the intensity of the plurality of light sources can be separately controlled to obtain a uniform brightness image. In this way, the readability of the image can be increased, and the subsequent application of the image is more favorable. In addition, this method can determine the tilt direction of the light pen, and is accordingly applied to the index or cursor control of the computing device.

為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下。The above and other objects, features and advantages of the present invention will become more <RTIgt;

第3圖是根據本發明實施例所繪示的筆型光學輸入裝置的裝置圖。請參考第3圖,此筆型光學輸入裝置一般最常見的應用是光學辨識筆。此筆型光學輸入裝置包括一筆型外殼301,其內部包括面型感光元件302、發光元件303、304以及控制電路305。此面型感光元件302的感光面係面對筆型外殼301的光學接收窗口306。控制電路305用以控制該些發光元件303、304以及該面型感光元件302。另外,由於繪圖的限制,此圖式中僅繪示出兩個發光元件303、304,實際上的應用,並不限定只有兩個發 光元件。這些在以下實施例將得到說明。FIG. 3 is a device diagram of a pen-type optical input device according to an embodiment of the invention. Referring to Figure 3, the most common application for this pen-type optical input device is the optical identification pen. The pen-type optical input device includes a one-piece housing 301 having a surface-type photosensitive element 302, light-emitting elements 303, 304, and a control circuit 305. The photosensitive surface of the face-type photosensitive member 302 faces the optical receiving window 306 of the pen-shaped housing 301. The control circuit 305 is used to control the light-emitting elements 303, 304 and the surface-type photosensitive element 302. In addition, due to the limitation of drawing, only two light-emitting elements 303, 304 are shown in this figure, and the actual application is not limited to only two hairs. Optical component. These will be explained in the following examples.

第4圖是根據本發明實施例所繪示的應用於上述筆型光學輸入裝置的改善影像均勻度的方法之流程圖。請參考第4圖,此方法包括以下步驟:FIG. 4 is a flow chart of a method for improving image uniformity applied to the above pen type optical input device according to an embodiment of the invention. Please refer to Figure 4, this method includes the following steps:

步驟S401:開始。Step S401: Start.

步驟S402:將筆型光學輸入裝置內的面型感光元件分為多數個區塊。請參考第5圖,第5圖是本發明實施例第3圖的面型感光元件的分割圖。在此例中,面型感光元件被分割為9個區塊501~509,配置成九宮格形狀。也就是說,可以有八個方向D501~D508的亮暗比例關係。另外,在此實施例的“面型感光元件分為多數個區塊”並非限定在實體的分割,而是可以利用軟體作分割或分類成多個區塊。Step S402: dividing the surface type photosensitive element in the pen type optical input device into a plurality of blocks. Referring to Fig. 5, Fig. 5 is a sectional view showing the surface type photosensitive element of Fig. 3 of the embodiment of the present invention. In this example, the planar photosensitive element is divided into nine blocks 501 to 509 and arranged in a nine-square shape. In other words, there can be a light-dark ratio relationship of eight directions D501~D508. Further, the "area type photosensitive element divided into a plurality of blocks" in this embodiment is not limited to the division of the entities, but may be divided or classified into a plurality of blocks by using the software.

步驟S403:偵測每一區塊所感測到的亮度。為了簡化亮度的檢測,一般來說,會用整個區塊的亮度之平均值代表該區塊的亮度值。Step S403: Detect the brightness sensed by each block. In order to simplify the detection of brightness, in general, the average value of the brightness of the entire block is used to represent the brightness value of the block.

步驟S404:比較每一個區塊與中央區塊的亮度差異值是否大於某個預定亮度值。Step S404: Compare whether the brightness difference value of each block and the central block is greater than a certain brightness value.

步驟S405:當其中一個區塊的亮度差異大於上述的預定亮度值時,則調整鄰近於該特定區塊的發光元件的亮度。因此,在此實施例中,理想的情況下,應當要具有8個發光元件,以對應八個方向D501~D508上的八個區塊501~508。另外,下述這些步驟S401~S405以及其所作的運算皆可以藉由控制電路305執行。一般來說,筆型光學輸入裝置的傾斜,只會造成一個區塊最暗,對面的另一 個區塊最亮。舉例來說,當區塊501為最亮的區塊時,區塊505就會是最暗的區塊,因此,控制電路305可以依照此步驟,有以下幾種控制方式:1.僅將區塊501所對應的發光元件的亮度調暗;2.將區塊501所對應的發光元件的亮度調暗,並且將區塊505所對應的發光元件的亮度調亮;以及3.僅將區塊505所對應的發光元件的亮度調亮。Step S405: When the brightness difference of one of the blocks is greater than the predetermined brightness value, the brightness of the light-emitting elements adjacent to the specific block is adjusted. Therefore, in this embodiment, ideally, there should be eight light-emitting elements corresponding to eight blocks 501-508 in eight directions D501 to D508. In addition, the following steps S401 to S405 and the operations performed by the same can be performed by the control circuit 305. In general, the tilt of the pen-type optical input device will only result in one block being the darkest and the other opposite. The blocks are the brightest. For example, when the block 501 is the brightest block, the block 505 is the darkest block. Therefore, the control circuit 305 can follow the steps, and has the following control modes: 1. The brightness of the light-emitting elements corresponding to the block 501 is dimmed; 2. the brightness of the light-emitting elements corresponding to the block 501 is dimmed, and the brightness of the light-emitting elements corresponding to the block 505 is brightened; and 3. only the block is The brightness of the light-emitting element corresponding to 505 is brightened.

此三種控制方式係設計者的選擇性設計。本發明並不限定此三種方式。另外,上述第5圖的實施例中,雖然將面型感光元件302分割成9個區塊,但是所屬技術領域具有通常知識者應當知道,分割成9個區塊僅是一種實施方式,分割成N×N個區塊亦可以實施。另外,即使不分割成N×N個區塊,也可以例如用第6圖的型式分割,第6圖是本發明實施例第3圖的面型感光元件302的另一種分割圖。請參考第6圖,此面型感光元件302總共被分成17個區塊601~617。區塊601~616的面積相同,中央區塊617的面積為區塊601~616的面積的兩倍。These three control methods are the designer's selective design. The present invention is not limited to these three modes. Further, in the embodiment of Fig. 5 described above, although the surface-type photosensitive element 302 is divided into nine blocks, those skilled in the art should know that dividing into nine blocks is only one embodiment, and is divided into N x N blocks can also be implemented. Further, even if it is not divided into N × N blocks, it can be divided, for example, by the pattern of Fig. 6, and Fig. 6 is another sectional view of the surface type photosensitive element 302 of Fig. 3 of the embodiment of the present invention. Referring to Fig. 6, the surface type photosensitive element 302 is divided into 17 blocks 601 to 617 in total. The areas of blocks 601-616 are the same, and the area of central block 617 is twice the area of blocks 601-616.

步驟S406:結束。Step S406: End.

接下來,本發明另外提出了利用上述習知技術的缺陷,所作出的一種指標控制方法,用以控制計算裝置,例如個人電腦、筆記型電腦,的指標。第7圖是根據本發明實施例所繪示的應用於筆型光學輸入裝置的指標控制方法之流程圖。請參考第7圖,在此例中,筆型光學輸入裝置便不一定需要是本發明實施例的第3圖的筆型光學輸 入裝置,亦可以使用習知第1圖的筆型光學輸入裝置。再說明本方法之前,先假設此筆型光學輸入裝置透過一電腦界面耦接到一個人電腦,並且係用以控制一滑鼠指標,此指標控制方法包括下列步驟:Next, the present invention further proposes an index control method for controlling the calculation means of a computing device such as a personal computer or a notebook computer by utilizing the drawbacks of the above-mentioned prior art. FIG. 7 is a flow chart of an index control method applied to a pen type optical input device according to an embodiment of the invention. Please refer to FIG. 7. In this example, the pen-type optical input device does not necessarily need to be the pen-type optical transmission of FIG. 3 of the embodiment of the present invention. As the device, a pen-type optical input device of the prior art can also be used. Before describing the method, it is assumed that the pen-type optical input device is coupled to a personal computer through a computer interface and is used to control a mouse pointer. The control method of the indicator includes the following steps:

步驟S701:開始。Step S701: Start.

步驟S702:將筆型光學輸入裝置內的一面型感光元件分為多數個區塊。例如第5圖的九宮格或第6圖的17個區塊皆可。Step S702: dividing the one-sided photosensitive element in the pen type optical input device into a plurality of blocks. For example, the nine squares in Figure 5 or the 17 blocks in Figure 6 are acceptable.

步驟S703:偵測每一區塊所感測到的亮度。同樣的,為了簡化運算,一般來說,會用整個區塊的亮度之平均值代表該區塊的亮度值。Step S703: Detect the brightness sensed by each block. Similarly, in order to simplify the operation, in general, the average value of the brightness of the entire block is used to represent the brightness value of the block.

步驟S704:根據每一區塊的亮度值與一中央區塊的亮度值之差異,判斷筆型光學輸入裝置之傾斜方向以及傾斜角度。同樣的道理,筆型光學輸入裝置的傾斜,只會造成一個區塊最暗,對面的另一個區塊最亮。此即為判斷傾斜方向的重要參考指標。接下來,最亮區塊與中央區塊的亮度差異值以及最暗區塊與中央區塊的亮度差異值就是判斷傾斜角度的重要參考指標。有關於亮度差異對於傾斜角度的關係,可以藉由實驗來建立查找表來實施,或是其他運算方法實施。在此不予討論。Step S704: Determine the tilt direction and the tilt angle of the pen type optical input device according to the difference between the brightness value of each block and the brightness value of a central block. By the same token, the tilt of the pen-type optical input device will only result in one block being the darkest and the other opposite block being the brightest. This is an important reference indicator for judging the direction of the tilt. Next, the brightness difference value between the brightest block and the central block and the brightness difference value between the darkest block and the central block are important reference indicators for judging the tilt angle. The relationship between the difference in brightness and the tilt angle can be implemented by experimenting with a lookup table or by other algorithms. It will not be discussed here.

步驟S705:根據上述筆型光學輸入裝置之傾斜方向,決定指標的移動方向。Step S705: Determine the moving direction of the index according to the tilt direction of the pen type optical input device.

步驟S706:根據上述筆型光學輸入裝置之傾斜角度的大小,決定指標的移動速度。Step S706: determining the moving speed of the index according to the magnitude of the tilt angle of the pen type optical input device.

步驟S707:結束。Step S707: End.

雖然上述實施例提出了一種指標控制方法,但是上述步驟S701~S704可以視為是一種判斷筆型光學輸入裝置的傾斜之方法。其應用並不一定要限制在指標的控制上。也可以應用在例如:1.接收影像的修正;或2.應用在電腦繪圖,筆型光學輸入裝置的傾斜度也可以定義電腦繪圖的筆尖粗細。Although the above embodiment proposes an index control method, the above steps S701 to S704 can be regarded as a method of determining the tilt of the pen type optical input device. Its application does not have to be limited to the control of the indicator. It can also be applied, for example, to: 1. Correction of received images; or 2. Applied to computer graphics, the tilt of the pen-type optical input device can also define the thickness of the tip of the computer drawing.

綜上所述,本發明之精神是在於將將筆型光學輸入裝置內的面型感光元件分為多數個區塊,因此當筆型光學輸入裝置傾斜時,便可以利用每一個區塊與中央區塊的亮度差異,判定影像的暗角陰影,以判斷光筆的傾斜方向與角度。接著在筆型光學輸入裝置的影像接收窗口,設置多數個發光源,如此便可以分別控制多個光源強度,以得到亮度較均勻的影像。如此,可以增加影像的可判讀性,而更有利於影像的後續應用。另外,此方法可以判定光筆傾斜方向,據以應用在計算裝置的指標或游標控制。In summary, the spirit of the present invention is to divide the surface type photosensitive element in the pen type optical input device into a plurality of blocks, so that when the pen type optical input device is tilted, each block and the center can be utilized. The difference in brightness of the block determines the dark corner shadow of the image to determine the tilt direction and angle of the light pen. Then, in the image receiving window of the pen type optical input device, a plurality of light sources are arranged, so that the intensity of the plurality of light sources can be separately controlled to obtain a uniform brightness image. In this way, the readability of the image can be increased, and the subsequent application of the image is more favorable. In addition, this method can determine the tilt direction of the light pen, and is accordingly applied to the index or cursor control of the computing device.

在較佳實施例之詳細說明中所提出之具體實施例僅用以方便說明本發明之技術內容,而非將本發明狹義地限制於上述實施例,在不超出本發明之精神及以下申請專利範圍之情況,所做之種種變化實施,皆屬於本發明之範圍。因此本發明之保護範圍當視後附之申請專利範圍所界定者為准。The specific embodiments of the present invention are intended to be illustrative only and not to limit the invention to the above embodiments, without departing from the spirit of the invention and the following claims. The scope of the invention and the various changes made are within the scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

101‧‧‧外殼101‧‧‧ Shell

102、302‧‧‧面型感光元件102, 302‧‧‧ Face type photosensitive element

103、305‧‧‧控制電路103, 305‧‧‧ control circuit

104‧‧‧介面電路104‧‧‧Interface circuit

105‧‧‧發光元件105‧‧‧Lighting elements

301‧‧‧筆型外殼301‧‧‧ pen case

303、304‧‧‧發光元件303, 304‧‧‧Lighting elements

306‧‧‧光學接收窗口306‧‧‧Optical Receiving Window

S401~S406‧‧‧本發明實施例的改善影像均勻度的方法 的步驟S401~S406‧‧‧Method for improving image uniformity according to embodiments of the present invention A step of

501~509‧‧‧面型感光元件302被分割成的9個區塊501~509‧‧‧9 blocks in which the surface photosensitive element 302 is divided into

D501~D508‧‧‧區塊501~508代表的八個方向Eight directions represented by blocks 501~508 in D501~D508‧‧‧

601~617‧‧‧面型感光元件302被分割成的17個區塊601~617‧‧‧17 blocks in which the surface photosensitive element 302 is divided into

S701~S707‧‧‧本發明實施例的指標控制方法的步驟S701~S707‧‧‧ steps of the index control method of the embodiment of the present invention

第1圖是習知光學辨識筆的結構圖。Fig. 1 is a structural view of a conventional optical identification pen.

第2圖是右手握光學辨識筆,傾斜角度約40度時,面型感光元件102所接收到的影像示意圖。Fig. 2 is a schematic view showing an image received by the surface-type photosensitive element 102 when the optical recognition pen is held by the right hand at an inclination angle of about 40 degrees.

第3圖是根據本發明實施例所繪示的筆型光學輸入裝置的裝置圖。FIG. 3 is a device diagram of a pen-type optical input device according to an embodiment of the invention.

第4圖是根據本發明實施例所繪示的應用於上述筆型光學輸入裝置的改善影像均勻度的方法之流程圖。FIG. 4 is a flow chart of a method for improving image uniformity applied to the above pen type optical input device according to an embodiment of the invention.

第5圖是本發明實施例第3圖的面型感光元件302的分割圖。Fig. 5 is a sectional view showing a surface type photosensitive element 302 of Fig. 3 of the embodiment of the invention.

第6圖是本發明實施例第3圖的面型感光元件302的另一種分割圖。Fig. 6 is another sectional view of the surface type photosensitive element 302 of Fig. 3 of the embodiment of the present invention.

第7圖是根據本發明實施例所繪示的應用於筆型光學輸入裝置的指標控制方法之流程圖。FIG. 7 is a flow chart of an index control method applied to a pen type optical input device according to an embodiment of the invention.

301‧‧‧筆型外殼301‧‧‧ pen case

302‧‧‧面型感光元件302‧‧‧ Face type photosensitive element

303、304‧‧‧發光元件303, 304‧‧‧Lighting elements

305‧‧‧控制電路305‧‧‧Control circuit

306‧‧‧光學接收窗口306‧‧‧Optical Receiving Window

Claims (8)

一種改善影像均勻度的方法,適用於一筆型光學輸入裝置所接收的一影像,此方法包括:在該筆型光學輸入裝置的影像接收窗口,提供多數個發光源;將該筆型光學輸入裝置內的面型感光元件分為多數個區塊;偵測每一該些區塊所感測到的亮度;以及當該些區塊中,其中一特定區塊的亮度值與一中央區塊的亮度值相差一預定亮度值,則調整鄰近於該特定區塊的發光元件的亮度,其中該面型感光元件被分為N×N個區塊,其中N為奇數,且N大於1,當該些區塊中,其中一特定區塊的亮度值與一中央區塊的亮度值相差一預定亮度值,則該控制電路調整鄰近於該特定區塊的發光元件的亮度,此控制電路的控制流程包括:該控制電路用該中央區塊的亮度值,與其餘該些區塊的亮度值之差異值,找出一較亮方向以及一較暗方向;以及該控制電路控制該較暗方向的光源的亮度增加,並控制該較亮方向的光源之亮度下降,以使每一該些區塊之亮度值與該中央區塊的亮度值的差異相差在該預定亮度值之內。 A method for improving image uniformity, which is suitable for an image received by a one-piece optical input device, the method comprising: providing a plurality of illumination sources in an image receiving window of the pen-type optical input device; and the pen-type optical input device The inner photosensitive element is divided into a plurality of blocks; detecting the brightness sensed by each of the blocks; and, when the brightness of a specific block and the brightness of a central block in the blocks The values differ by a predetermined brightness value, and the brightness of the light-emitting elements adjacent to the particular block is adjusted, wherein the face-type photosensitive element is divided into N×N blocks, where N is an odd number and N is greater than 1, when In the block, wherein the brightness value of a specific block differs from the brightness value of a central block by a predetermined brightness value, the control circuit adjusts the brightness of the light-emitting element adjacent to the specific block, and the control flow of the control circuit includes The control circuit uses the difference between the brightness value of the central block and the brightness values of the remaining blocks to find a brighter direction and a darker direction; and the control circuit controls the light in the darker direction The brightness of the source is increased, and the brightness of the light source in the brighter direction is controlled to decrease such that the difference between the brightness value of each of the blocks and the brightness value of the central block is within the predetermined brightness value. 一種判斷光筆傾斜的方法,適用於一筆型光學輸 入裝置,此方法包括:在該筆型光學輸入裝置的影像接收窗口,提供至少一發光源;將該筆型光學輸入裝置內的一面型感光元件分為多數個區塊;偵測每一該些區塊所感測到的亮度;以及根據每一該些區塊的亮度值與一中央區塊的亮度值之差異,判斷該筆型光學輸入裝置之傾斜方向。 A method for judging the tilt of a light pen, suitable for a one-piece optical transmission Into the device, the method comprises: providing at least one light source in the image receiving window of the pen type optical input device; dividing the one side type photosensitive element in the pen type optical input device into a plurality of blocks; detecting each of the The brightness sensed by the blocks; and the tilt direction of the pen type optical input device is determined according to the difference between the brightness value of each of the blocks and the brightness value of a central block. 如申請專利範圍第2項所記載之判斷光筆傾斜的方法,其中該面型感光元件被分為N×N個區塊,其中N為奇數,且N大於1,此“根據每一該些區塊的亮度值與一中央區塊的亮度值之差異,判斷該筆型光學輸入裝置之傾斜方向”步驟包括:用該中央區塊的亮度值,與其餘該些區塊的亮度值作比較,找出一最亮區塊;以及依照該最亮區塊與該中央區塊的亮度差異值,決定該筆型光學輸入裝置之傾斜方向以及傾斜角度。 The method for determining the tilt of a light pen as recited in claim 2, wherein the surface type photosensitive element is divided into N×N blocks, wherein N is an odd number, and N is greater than 1, “according to each of the areas The difference between the brightness value of the block and the brightness value of a central block, determining the tilt direction of the pen-type optical input device" includes: comparing the brightness values of the central block with the brightness values of the remaining blocks, Finding a brightest block; and determining a tilting direction and a tilting angle of the pen-type optical input device according to a brightness difference value between the brightest block and the central block. 如申請專利範圍第2項所記載之判斷光筆傾斜的方法,其中該面型感光元件被分為N×N個區塊,其中N為奇數,且N大於1,此“根據每一該些區塊的亮度值與一中央區塊的亮度值之差異,判斷該筆型光學輸入裝置之傾斜方向”步驟包括:用該中央區塊的亮度值,與其餘該些區塊的亮度值作 比較,找出一最暗區塊;以及依照該最暗區塊與該中央區塊的亮度差異值,決定該筆型光學輸入裝置之傾斜方向以及傾斜角度。 The method for determining the tilt of a light pen as recited in claim 2, wherein the surface type photosensitive element is divided into N×N blocks, wherein N is an odd number, and N is greater than 1, “according to each of the areas The difference between the brightness value of the block and the brightness value of a central block, and determining the tilt direction of the pen-type optical input device includes: using the brightness value of the central block and the brightness values of the remaining blocks Comparing, finding a darkest block; and determining a tilting direction and a tilting angle of the pen-type optical input device according to a brightness difference value between the darkest block and the central block. 一種指標控制方法,適用於控制一控制一計算裝置在一顯示器上所顯示知一指標,其中該計算裝置耦接一筆型光學輸入裝置,此方法包括:在該筆型光學輸入裝置的影像接收窗口,提供至少一發光源;將該筆型光學輸入裝置內的一面型感光元件分為多數個區塊;偵測每一該些區塊所感測到的亮度;根據每一該些區塊的亮度值與一中央區塊的亮度值之差異,判斷該筆型光學輸入裝置之傾斜方向以及傾斜角度;根據該筆型光學輸入裝置之傾斜方向,決定該指標的移動方向;以及根據該筆型光學輸入裝置之傾斜角度的大小,決定該指標的移動速度。 An index control method is suitable for controlling a control unit to display an indicator displayed on a display, wherein the computing device is coupled to a one-piece optical input device, the method comprising: an image receiving window of the pen-type optical input device Providing at least one illumination source; dividing the one-sided photosensitive element in the pen-type optical input device into a plurality of blocks; detecting the brightness sensed by each of the blocks; according to the brightness of each of the blocks Determining the tilt direction and the tilt angle of the pen type optical input device according to the difference between the value and the brightness value of a central block; determining the moving direction of the index according to the tilt direction of the pen type optical input device; and according to the pen type optical The magnitude of the tilt angle of the input device determines the speed at which the index moves. 如申請專利範圍第5項所記載之指標控制方法,其中該面型感光元件被分為N×N個區塊,其中N為奇數,且N大於1,此“根據每一該些區塊的亮度值與一中央區塊的亮度值之差異,判斷該筆型光學輸入裝置之傾斜方向以及傾斜角度”之步驟包括: 用該中央區塊的亮度值,與其餘該些區塊的亮度值作比較,找出一最亮區塊;以及依照該最亮區塊與該中央區塊的亮度差異值,決定該筆型光學輸入裝置之傾斜方向以及傾斜角度。 The index control method as recited in claim 5, wherein the surface-type photosensitive element is divided into N×N blocks, wherein N is an odd number, and N is greater than 1, “according to each of the blocks The step of determining the tilt direction and the tilt angle of the pen type optical input device by the difference between the brightness value and the brightness value of a central block includes: Using the brightness value of the central block, comparing with the brightness values of the remaining blocks to find a brightest block; and determining the pen type according to the brightness difference value between the brightest block and the central block The tilt direction and tilt angle of the optical input device. 如申請專利範圍第5項所記載之指標控制方法,其中該面型感光元件被分為N×N個區塊,其中N為奇數,且N大於1,此“根據每一該些區塊的亮度值與一中央區塊的亮度值之差異,判斷該筆型光學輸入裝置之傾斜方向以及傾斜角度”步驟包括:用該中央區塊的亮度值,與其餘該些區塊的亮度值作比較,找出一最暗區塊;以及依照該最暗區塊與該中央區塊的亮度差異值,決定該筆型光學輸入裝置之傾斜方向以及傾斜角度。 The index control method as recited in claim 5, wherein the surface-type photosensitive element is divided into N×N blocks, wherein N is an odd number, and N is greater than 1, “according to each of the blocks The difference between the brightness value and the brightness value of a central block, determining the tilt direction and the tilt angle of the pen type optical input device includes: comparing the brightness values of the central block with the brightness values of the remaining blocks Finding a darkest block; and determining a tilt direction and a tilt angle of the pen type optical input device according to a brightness difference value between the darkest block and the central block. 一種筆型光學輸入裝置,適用於接收一影像,此裝置包括:一筆型外殼,具有一光學接收窗口;一面型感光元件,配置於該筆型外殼內,其光學接收面面對該光學接收窗口,其中,該面型感光元件分為多數個區塊,另外,該面型感光元件用以偵測每一該些區塊所感測到的亮度;多個發光元件,配置於光學接收窗口與該面型感光元件之間;以及一控制電路,用以控制該些發光元件以及該面型感光 元件,當該些區塊中,其中一特定區塊的亮度值與一中央區塊的亮度值相差一預定亮度值,則該控制電路調整鄰近於該特定區塊的發光元件的亮度,其中該面型感光元件被分為N×N個區塊,其中N為奇數,且N大於1,當該些區塊中,其中一特定區塊的亮度值與一中央區塊的亮度值相差一預定亮度值,則該控制電路調整鄰近於該特定區塊的發光元件的亮度,此控制電路的控制流程包括:該控制電路用該中央區塊的亮度值,與其餘該些區塊的亮度值之差異值,找出一較亮方向以及一較暗方向;以及該控制電路控制該較暗方向的光源的亮度增加,並控制該較亮方向的光源之亮度下降,以使每一該些區塊之亮度值與該中央區塊的亮度值的差異相差在該預定亮度值之內。A pen-type optical input device is adapted to receive an image, the device comprising: a one-piece housing having an optical receiving window; a one-side photosensitive element disposed in the pen-shaped housing, the optical receiving surface facing the optical receiving window The surface type photosensitive element is divided into a plurality of blocks, and the surface type photosensitive element is configured to detect the brightness sensed by each of the blocks; the plurality of light emitting elements are disposed in the optical receiving window and the Between the surface-type photosensitive elements; and a control circuit for controlling the light-emitting elements and the surface-sensitive An element, wherein, in the blocks, a brightness value of a specific block differs from a brightness value of a central block by a predetermined brightness value, the control circuit adjusts a brightness of the light emitting element adjacent to the specific block, wherein the brightness The surface-type photosensitive element is divided into N×N blocks, wherein N is an odd number, and N is greater than 1, when the brightness value of one of the specific blocks is different from the brightness value of a central block. a brightness value, the control circuit adjusts the brightness of the light-emitting element adjacent to the specific block, and the control flow of the control circuit includes: the control circuit uses the brightness value of the central block, and the brightness values of the remaining blocks a difference value, finding a brighter direction and a darker direction; and the control circuit controlling the brightness of the light source in the darker direction to increase, and controlling the brightness of the light source in the brighter direction to decrease, so that each of the blocks The difference between the brightness value and the brightness value of the central block is within the predetermined brightness value.
TW97149982A 2008-12-22 2008-12-22 Optical receiving apparatus, methods for improving uniformity of receive image and determining tilt of an optical receiving apparatus and controlling cursor TWI423077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97149982A TWI423077B (en) 2008-12-22 2008-12-22 Optical receiving apparatus, methods for improving uniformity of receive image and determining tilt of an optical receiving apparatus and controlling cursor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97149982A TWI423077B (en) 2008-12-22 2008-12-22 Optical receiving apparatus, methods for improving uniformity of receive image and determining tilt of an optical receiving apparatus and controlling cursor

Publications (2)

Publication Number Publication Date
TW201025082A TW201025082A (en) 2010-07-01
TWI423077B true TWI423077B (en) 2014-01-11

Family

ID=44852438

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97149982A TWI423077B (en) 2008-12-22 2008-12-22 Optical receiving apparatus, methods for improving uniformity of receive image and determining tilt of an optical receiving apparatus and controlling cursor

Country Status (1)

Country Link
TW (1) TWI423077B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200632729A (en) * 2005-03-11 2006-09-16 Aiptek Int Inc Light guiding apparatus of optical pen
TW200720778A (en) * 2005-11-24 2007-06-01 Chi Mei Optoelectronics Corp Scan backlight module and brightness adjustment method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200632729A (en) * 2005-03-11 2006-09-16 Aiptek Int Inc Light guiding apparatus of optical pen
TW200720778A (en) * 2005-11-24 2007-06-01 Chi Mei Optoelectronics Corp Scan backlight module and brightness adjustment method thereof

Also Published As

Publication number Publication date
TW201025082A (en) 2010-07-01

Similar Documents

Publication Publication Date Title
US9582118B2 (en) Optical touch system and object detection method therefor
US10776584B2 (en) Typifying emotional indicators for digital messaging
US8896544B2 (en) Information processing apparatus, information processing method, program, and information processing system
US7036025B2 (en) Method and apparatus to reduce power consumption of a computer system display screen
US8446367B2 (en) Camera-based multi-touch mouse
US20100046850A1 (en) Multipoint Tracking Method and Related Device
US9727147B2 (en) Unlocking method and electronic device
TW201423478A (en) Gesture recognition apparatus, operating method thereof, and gesture recognition method
CN108846371B (en) Display device and fingerprint identification method thereof
US11740695B2 (en) Eye tracking system for use in head-mounted display units
TW201506684A (en) Gesture pre-processing of video stream using skintone detection
US9405397B2 (en) Touch panel-equipped display device and non-transitory computer-readable storage medium
WO2021070972A1 (en) Display apparatus, color supporting apparatus, display method, and program
US20170131760A1 (en) Systems, methods and techniques for inputting text into mobile devices using a camera-based keyboard
Dai et al. Making any planar surface into a touch-sensitive display by a mere projector and camera
Yin et al. CamK: A camera-based keyboard for small mobile devices
TWI423077B (en) Optical receiving apparatus, methods for improving uniformity of receive image and determining tilt of an optical receiving apparatus and controlling cursor
KR20200032492A (en) Correction method for handwriting input, electronic device and storage medium therefor
CN112513871B (en) Calibration method and device for optical fingerprint identification and electronic equipment
CN110168540B (en) Capturing annotations on an electronic display
US10650212B2 (en) Optical identification method and optical identification system
CN101763171B (en) Pen type optical device and method for improving uniformity degree of image and controlling indicator
CN115188003A (en) Model-based text recognition method and device, electronic equipment and storage medium
KR20140086805A (en) Electronic apparatus, method for controlling the same and computer-readable recording medium
EP2879029B1 (en) Coordinate detection system, information processing apparatus, and recording medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees