TWI657357B - Optical touch device and optical touch method - Google Patents

Optical touch device and optical touch method Download PDF

Info

Publication number
TWI657357B
TWI657357B TW106109020A TW106109020A TWI657357B TW I657357 B TWI657357 B TW I657357B TW 106109020 A TW106109020 A TW 106109020A TW 106109020 A TW106109020 A TW 106109020A TW I657357 B TWI657357 B TW I657357B
Authority
TW
Taiwan
Prior art keywords
mirror
image
processing unit
optical touch
image sensing
Prior art date
Application number
TW106109020A
Other languages
Chinese (zh)
Other versions
TW201835735A (en
Inventor
吳壯為
Original Assignee
佳世達科技股份有限公司
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 佳世達科技股份有限公司 filed Critical 佳世達科技股份有限公司
Priority to TW106109020A priority Critical patent/TWI657357B/en
Publication of TW201835735A publication Critical patent/TW201835735A/en
Application granted granted Critical
Publication of TWI657357B publication Critical patent/TWI657357B/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

一種光學觸控裝置,包含一指示平面、一影像感測單元、一反射鏡以及一處理單元,其中處理單元電性連接於影像感測單元。影像感測單元設置於指示平面之一側。反射鏡設置於鄰近影像感測單元處。反射鏡之至少部分鏡面位於影像感測單元之一感測範圍內,且至少部分鏡面映射出指示平面之一預定範圍。影像感測單元感測關於指示平面上之一物件之一影像,其中影像包含來自至少部分鏡面之一鏡面影像區以及一非鏡面影像區。處理單元判斷鏡面影像區是否存在物件。當處理單元判斷鏡面影像區存在物件時,處理單元判斷物件位於預定範圍內。 An optical touch device includes an indication plane, an image sensing unit, a mirror, and a processing unit, wherein the processing unit is electrically connected to the image sensing unit. The image sensing unit is disposed on one side of the indication plane. The mirror is disposed adjacent to the image sensing unit. At least a portion of the mirror of the mirror is located within a sensing range of the image sensing unit, and at least a portion of the mirror maps a predetermined range of the indicating plane. The image sensing unit senses an image of one of the objects on the indicating plane, wherein the image includes a mirror image region from at least a portion of the mirror and a non-mirror image region. The processing unit determines whether an object exists in the mirror image area. When the processing unit determines that an object exists in the mirror image area, the processing unit determines that the object is within a predetermined range.

Description

光學觸控裝置及光學觸控方法 Optical touch device and optical touch method

本發明關於一種光學觸控裝置及光學觸控方法,尤指一種可判斷物件是否離影像感測單元太近之光學觸控裝置及光學觸控方法。 The present invention relates to an optical touch device and an optical touch method, and more particularly to an optical touch device and an optical touch method for determining whether an object is too close to the image sensing unit.

目前,光學觸控裝置相較其他觸控技術,如電阻式、電容式、超音波式或投影影像式等,特別是在大尺寸的觸控顯示領域,具有更低成本與更易達成的優勢。習知的光學觸控裝置利用影像感測單元感測物件(例如:手指或觸控筆)於指示平面上所指示的觸控位置。當影像感測單元於指示平面上感測到物件時,光學觸控裝置之處理單元即可計算出物件所指示的觸控位置。然而,當物件離影像感測單元太近時,影像感測單元感測到之影像中的物件會變得非常大,進而對觸控位置的識別產生困擾。 At present, the optical touch device has advantages of lower cost and easier achievement than other touch technologies, such as resistive, capacitive, ultrasonic or projected image, especially in the field of large-sized touch display. The conventional optical touch device utilizes an image sensing unit to sense an object (eg, a finger or a stylus) at a touched position indicated on the indication plane. When the image sensing unit senses the object on the indication plane, the processing unit of the optical touch device can calculate the touch position indicated by the object. However, when the object is too close to the image sensing unit, the object in the image sensed by the image sensing unit may become very large, which may cause trouble in the recognition of the touch position.

本發明的目的之一在於提供一種可判斷物件是否離影像感測單元太近之光學觸控裝置及光學觸控方法,以解決上述問題。 One of the objectives of the present invention is to provide an optical touch device and an optical touch method that can determine whether an object is too close to the image sensing unit to solve the above problem.

根據一實施例,本發明之光學觸控裝置包含一指示平面、一影像感測單元、一反射鏡以及一處理單元,其中處理單元電性連接於影像感測單元。影像感測單元設置於指示平面之一側。反射鏡設置於鄰近影像感測單元處。反射鏡之至少部分鏡面位於影像感測單元之一感測範圍內,且至少部分鏡面映射出指示平面之一預定範圍。影像感測單元感測關於指示平面上之一物件之一影像,其中影像包含來自至少部分鏡面之一鏡面影像區以及一非鏡面影像區。處理單元判斷鏡面影像區是否存在物件。當處理單元判斷鏡面影像區存在物件 時,處理單元判斷物件位於預定範圍內。 According to an embodiment, the optical touch device of the present invention comprises an indication plane, an image sensing unit, a mirror and a processing unit, wherein the processing unit is electrically connected to the image sensing unit. The image sensing unit is disposed on one side of the indication plane. The mirror is disposed adjacent to the image sensing unit. At least a portion of the mirror of the mirror is located within a sensing range of the image sensing unit, and at least a portion of the mirror maps a predetermined range of the indicating plane. The image sensing unit senses an image of one of the objects on the indicating plane, wherein the image includes a mirror image region from at least a portion of the mirror and a non-mirror image region. The processing unit determines whether an object exists in the mirror image area. When the processing unit determines that there is an object in the mirror image area At the time, the processing unit determines that the object is within a predetermined range.

根據另一實施例,本發明之光學觸控方法適用於一光學觸控裝置。光學觸控裝置包含一指示平面、一影像感測單元以及一反射鏡。影像感測單元設置於指示平面之一側。反射鏡設置於鄰近影像感測單元處。反射鏡之至少部分鏡面位於影像感測單元之一感測範圍內,且至少部分鏡面映射出指示平面之一預定範圍。光學觸控方法包含下列步驟:影像感測單元感測關於指示平面上之一物件之一影像,其中影像包含來自至少部分鏡面之一鏡面影像區以及一非鏡面影像區;判斷鏡面影像區是否存在物件;以及當判斷鏡面影像區存在物件時,判斷物件位於預定範圍內。 According to another embodiment, the optical touch method of the present invention is applicable to an optical touch device. The optical touch device includes an indication plane, an image sensing unit, and a mirror. The image sensing unit is disposed on one side of the indication plane. The mirror is disposed adjacent to the image sensing unit. At least a portion of the mirror of the mirror is located within a sensing range of the image sensing unit, and at least a portion of the mirror maps a predetermined range of the indicating plane. The optical touch method includes the following steps: the image sensing unit senses an image of an object on the indication plane, wherein the image includes a mirror image region from at least part of the mirror surface and a non-mirror image region; determining whether the mirror image region exists The object; and when it is determined that the object exists in the mirror image area, it is determined that the object is within a predetermined range.

綜上所述,本發明係將反射鏡設置於鄰近影像感測單元處,使得反射鏡之至少部分鏡面位於影像感測單元之感測範圍內,且反射鏡之至少部分鏡面映射出指示平面之預定範圍。當影像感測單元感測到之影像之鏡面影像區存在物件時,物件即位於指示平面之預定範圍內,表示物件離影像感測單元太近。此時,本發明可降低此影像用以計算物件之觸控位置時之權重,或驅動警示單元發出警示訊息,以提示使用者重新進行觸控操作。藉此,即可有效避免因物件離影像感測單元太近而對觸控位置的識別產生困擾。 In summary, the present invention places the mirror adjacent to the image sensing unit such that at least part of the mirror surface of the mirror is located within the sensing range of the image sensing unit, and at least part of the mirror surface of the mirror is mapped out of the indicating plane. Scheduled range. When an object exists in the mirror image area of the image sensed by the image sensing unit, the object is located within a predetermined range of the indication plane, indicating that the object is too close to the image sensing unit. In this case, the present invention can reduce the weight of the image when calculating the touch position of the object, or drive the warning unit to send a warning message to prompt the user to perform the touch operation again. Thereby, it can effectively avoid the trouble that the object is located too close to the image sensing unit and the touch position is troubled.

關於本發明之優點與精神可以藉由以下的發明詳述及所附圖式得到進一步的瞭解。 The advantages and spirit of the present invention will be further understood from the following detailed description of the invention.

1‧‧‧光學觸控裝置 1‧‧‧Optical touch device

3‧‧‧物件 3‧‧‧ objects

10‧‧‧指示平面 10‧‧‧ indicating plane

12a-12d‧‧‧影像感測單元 12a-12d‧‧‧Image Sensing Unit

14‧‧‧處理單元 14‧‧‧Processing unit

16‧‧‧警示單元 16‧‧‧Warning unit

18‧‧‧反射鏡 18‧‧‧Mirror

180‧‧‧鏡面 180‧‧‧Mirror

A1、A2‧‧‧區域 A1, A2‧‧‧ area

D‧‧‧預定範圍 D‧‧‧Predetermined range

I‧‧‧影像 I‧‧‧ images

I1‧‧‧鏡面影像區 I1‧‧‧Mirror image area

I2‧‧‧非鏡面影像區 I2‧‧‧Non-mirror image area

W1‧‧‧第一寬度 W1‧‧‧ first width

W2‧‧‧第二寬度 W2‧‧‧ second width

S10-S22‧‧‧步驟 S10-S22‧‧‧Steps

第1圖為根據本發明一實施例之光學觸控裝置的示意圖。 FIG. 1 is a schematic diagram of an optical touch device according to an embodiment of the invention.

第2圖為根據本發明一實施例之光學觸控裝置的功能方塊圖。 FIG. 2 is a functional block diagram of an optical touch device according to an embodiment of the invention.

第3圖為根據本發明一實施例之光學觸控裝置的局部側視圖。 3 is a partial side elevational view of an optical touch device in accordance with an embodiment of the present invention.

第4圖為第3圖中的影像感測單元感測到之影像的示意圖。 Figure 4 is a schematic diagram of the image sensed by the image sensing unit in Figure 3.

第5圖為第3圖中的物件位於指示平面之預定範圍內的側視圖。 Figure 5 is a side elevational view of the object of Figure 3 within a predetermined range of the indication plane.

第6圖為第5圖中的影像感測單元感測到之影像的示意圖。 FIG. 6 is a schematic diagram of an image sensed by the image sensing unit in FIG. 5.

第7圖為第3圖中的物件位於指示平面之預定範圍內的另一側視圖。 Fig. 7 is another side view of the object in Fig. 3 located within a predetermined range of the indication plane.

第8圖為第7圖中的影像感測單元感測到之影像的示意圖。 FIG. 8 is a schematic diagram of an image sensed by the image sensing unit in FIG. 7.

第9圖為根據本發明一實施例之光學觸控方法的流程圖。 FIG. 9 is a flow chart of an optical touch method according to an embodiment of the invention.

請參閱第1圖至第4圖,第1圖為根據本發明一實施例之光學觸控裝置1的示意圖,第2圖為根據本發明一實施例之光學觸控裝置1的功能方塊圖,第3圖為根據本發明一實施例之光學觸控裝置1的局部側視圖,第4圖為第3圖中的影像感測單元12a感測到之影像I的示意圖。 Please refer to FIG. 1 to FIG. 4 , FIG. 1 is a schematic diagram of an optical touch device 1 according to an embodiment of the invention, and FIG. 2 is a functional block diagram of an optical touch device 1 according to an embodiment of the invention. 3 is a partial side view of the optical touch device 1 according to an embodiment of the invention, and FIG. 4 is a schematic view of the image I sensed by the image sensing unit 12a in FIG.

如第1圖所示,光學觸控裝置1包含一指示平面10以及四影像感測單元12a-12d,其中每一個影像感測單元12a-12d分別設置於指示平面10之一側的角落。於實際應用中,指示平面10可為顯示面板(例如,液晶顯示面板)、白板、黑板、投影屏幕或其它平面,供使用者進行觸控操作;影像感測單元12a-12d可為電荷耦合元件(Charge-coupled Device,CCD)感測器或互補式金屬氧化半導體(Complementary Metal-Oxide Semiconductor,CMOS)感測器,但不以此為限。於實際應用中,可在影像感測單元12a-12d旁設置光源(例如,發光二極體),或在指示平面10周圍設置光條(light bar),以提供一般觸控操作所需之光線。當在影像感測單元12a-12d旁設置光源時,可在指示平面10周圍設置反光邊框或吸光邊框,視實際應用而定。 As shown in FIG. 1 , the optical touch device 1 includes an indication plane 10 and four image sensing units 12a-12d, wherein each of the image sensing units 12a-12d is respectively disposed at a corner of one side of the indication plane 10. In practical applications, the indication plane 10 can be a display panel (eg, a liquid crystal display panel), a whiteboard, a blackboard, a projection screen, or other plane for the user to perform a touch operation; the image sensing units 12a-12d can be charge coupled components. (Charge-coupled Device, CCD) sensor or Complementary Metal-Oxide Semiconductor (CMOS) sensor, but not limited to this. In practical applications, a light source (for example, a light emitting diode) may be disposed beside the image sensing units 12a-12d, or a light bar may be disposed around the indicating plane 10 to provide light required for general touch operation. . When a light source is disposed beside the image sensing units 12a-12d, a reflective border or a light absorbing border may be disposed around the indicating plane 10, depending on the actual application.

如第2圖所示,光學觸控裝置1另包含一處理單元14以及一警示單元16,其中處理單元14電性連接於影像感測單元12a-12d與警示單元16。於實際應用中,處理單元14可為具有資料運算/處理功能之處理器或控制器;警示單元16可為警報器。一般而言,光學觸控裝置1中還會設有運作時必要的軟硬體元件,如 電路板、電源供應器、應用程式、通訊模組等,視實際應用而定。 As shown in FIG. 2, the optical touch device 1 further includes a processing unit 14 and an alert unit 16, wherein the processing unit 14 is electrically connected to the image sensing units 12a-12d and the alert unit 16. In a practical application, the processing unit 14 may be a processor or controller having a data operation/processing function; the alert unit 16 may be an alarm. In general, the optical touch device 1 also has soft and hard components necessary for operation, such as Circuit boards, power supplies, applications, communication modules, etc., depending on the application.

如第3圖所示,光學觸控裝置1另包含一反射鏡18,設置於鄰近影像感測單元12a處。於此實施例中,反射鏡18可設置於影像感測單元12a之上方且反射鏡18之鏡面180以一傾斜角度朝向指示平面10,使得反射鏡18之至少部分鏡面180位於影像感測單元12a之一感測範圍內,且反射鏡18之至少部分鏡面180映射出指示平面10之一預定範圍D。需說明的是,除了影像感測單元12a外,其它影像感測單元12b-12d之上方亦分別設置有反射鏡18,其中反射鏡18之設置方式係如第3圖所示,在此不再贅述。 As shown in FIG. 3, the optical touch device 1 further includes a mirror 18 disposed adjacent to the image sensing unit 12a. In this embodiment, the mirror 18 can be disposed above the image sensing unit 12a and the mirror 180 of the mirror 18 faces the indicating plane 10 at an oblique angle such that at least a portion of the mirror 180 of the mirror 18 is located in the image sensing unit 12a. Within one of the sensing ranges, and at least a portion of the mirror 180 of the mirror 18 maps out a predetermined range D of the indicator plane 10. It should be noted that, in addition to the image sensing unit 12a, the mirrors 18 are respectively disposed above the other image sensing units 12b-12d, wherein the mirror 18 is disposed as shown in FIG. 3, and is no longer Narration.

如第3圖所示,使用者可以一物件3於指示平面10上進行觸控操作,其中物件3可為手指、觸控筆或其它觸控物件。此時,影像感測單元12a-12d即會感測關於指示平面10上之物件3之一影像。以影像感測單元12a為例,影像感測單元12a感測到之影像I係如第4圖所示,其中影像I包含來自反射鏡18之至少部分鏡面180之一鏡面影像區I1以及一非鏡面影像區I2。 As shown in FIG. 3, the user can perform a touch operation on an indication plane 10, wherein the object 3 can be a finger, a stylus or other touch object. At this time, the image sensing units 12a-12d sense an image of the object 3 on the indication plane 10. Taking the image sensing unit 12a as an example, the image I sensed by the image sensing unit 12a is as shown in FIG. 4, wherein the image I includes a mirror image area I1 and a non-image from at least part of the mirror 180 of the mirror 18. Mirror image area I2.

接著,處理單元14即會判斷影像I之鏡面影像區I1是否存在物件3。如第3圖與第4圖所示,由於物件3係位於指示平面10之預定範圍D外,反射鏡18之至少部分鏡面180不會映射出物件3,因此,影像I之鏡面影像區I1並不存在物件3。當處理單元14判斷影像I之鏡面影像區I1不存在物件3時,處理單元14即會判斷物件3位於指示平面10之預定範圍D外,表示物件3並未離影像感測單元12a太近。此時,處理單元14可藉由一般觸控演算法根據影像感測單元12a-12d感測到之影像計算物件3之觸控位置,以執行對應的觸控功能。 Next, the processing unit 14 determines whether the object 3 exists in the mirror image area I1 of the image I. As shown in FIGS. 3 and 4, since the object 3 is located outside the predetermined range D of the indication plane 10, at least a portion of the mirror 180 of the mirror 18 does not map the object 3, and therefore, the mirror image area I1 of the image I is There is no object 3. When the processing unit 14 determines that the object image 3 is not present in the mirror image area I1 of the image I, the processing unit 14 determines that the object 3 is outside the predetermined range D of the indication plane 10, indicating that the object 3 is not too close to the image sensing unit 12a. At this time, the processing unit 14 can calculate the touch position of the object 3 according to the image sensed by the image sensing units 12a-12d by a general touch algorithm to perform a corresponding touch function.

請參閱第5圖以及第6圖,第5圖為第3圖中的物件3位於指示平面10之預定範圍D內的側視圖,第6圖為第5圖中的影像感測單元12a感測到之影像I的示意圖。如第5圖與第6圖所示,由於物件3係位於指示平面10之預定範圍D內,反射鏡18之至少部分鏡面180會映射出物件3,因此,影像I之鏡面影像區I1存在物件 3。當處理單元14判斷影像I之鏡面影像區I1存在物件3時,處理單元14即會判斷物件3位於指示平面10之預定範圍D內,表示物件3離影像感測單元12a太近。此時,處理單元14可降低影像I用以計算物件3之一觸控位置時之一權重,以避免因物件3離影像感測單元12a太近而對觸控位置的識別產生困擾。 Please refer to FIG. 5 and FIG. 6. FIG. 5 is a side view of the object 3 in the third figure in a predetermined range D of the indication plane 10, and FIG. 6 is a view of the image sensing unit 12a in FIG. A schematic diagram of the image I to. As shown in FIGS. 5 and 6, since the object 3 is located within the predetermined range D of the indication plane 10, at least a portion of the mirror 180 of the mirror 18 maps the object 3, and therefore, the mirror image area I1 of the image I exists. 3. When the processing unit 14 determines that the object 3 exists in the mirror image area I1 of the image I, the processing unit 14 determines that the object 3 is located within the predetermined range D of the indication plane 10, indicating that the object 3 is too close to the image sensing unit 12a. At this time, the processing unit 14 can reduce the weight of the image I used to calculate one of the touch positions of the object 3 to avoid the trouble that the object 3 is too close to the image sensing unit 12a to recognize the touch position.

於此實施例中,當影像感測單元12a感測到之影像I之鏡面影像區I1存在物件3時,影像感測單元12a-12d之權重可設定如下表1所示。如表1所示,由於影像感測單元12b-12d感測到之影像之鏡面影像區不存在物件3,因此,可將影像感測單元12b-12d之權重設定為相同比例,僅降低影像感測單元12a之權重。需說明的是,降低的比例可根據實際應用而決定,不以表1所示之實施例為限。 In this embodiment, when the object 3 is present in the mirror image area I1 of the image I sensed by the image sensing unit 12a, the weights of the image sensing units 12a-12d can be set as shown in Table 1 below. As shown in Table 1, since the object 3 is not present in the mirror image area of the image sensed by the image sensing unit 12b-12d, the weights of the image sensing units 12b-12d can be set to the same ratio, and only the image sense is lowered. The weight of the unit 12a is measured. It should be noted that the reduced ratio may be determined according to the practical application, and is not limited to the embodiment shown in Table 1.

此外,當處理單元14判斷物件3位於指示平面10之預定範圍D內時,處理單元14可計算物件3於鏡面影像區I1中之一第一寬度W1,計算物件3於非鏡面影像區I2中之一第二寬度W2,且計算第一寬度W1與第二寬度W2之一比率W1/W2。接著,處理單元14即可根據比率W1/W2調整影像感測單元12a之權重。 In addition, when the processing unit 14 determines that the object 3 is located within the predetermined range D of the indication plane 10, the processing unit 14 can calculate a first width W1 of the object 3 in the mirror image area I1, and calculate the object 3 in the non-mirror image area I2. One of the second widths W2, and calculates a ratio W1/W2 of the first width W1 and the second width W2. Then, the processing unit 14 can adjust the weight of the image sensing unit 12a according to the ratio W1/W2.

舉例而言,本發明可設定複數預定閥值範圍,且各預定閥值範圍對應複數預定權重其中之一。在計算出上述之比率W1/W2後,處理單元14可進一步比較比率W1/W2與複數預定閥值範圍。當處理單元14判斷比率W1/W2落入複數預定閥值範圍其中之一時,處理單元14即將影像之權重設定為對應預定閥值範圍之預定權重。 For example, the present invention can set a plurality of predetermined threshold ranges, and each predetermined threshold range corresponds to one of a plurality of predetermined weights. After calculating the above ratio W1/W2, processing unit 14 may further compare ratio W1/W2 with a plurality of predetermined threshold ranges. When the processing unit 14 determines that the ratio W1/W2 falls within one of the plurality of predetermined threshold ranges, the processing unit 14 sets the weight of the image to a predetermined weight corresponding to the predetermined threshold range.

請參閱第7圖以及第8圖,第7圖為第3圖中的物件3位於指示平面10之預定範圍D內的另一側視圖,第8圖為第7圖中的影像感測單元12a感測到之影像I的示意圖。如第5圖至第8圖所示,當物件3愈靠近影像感測單元12a時,比率W1/W2即愈大。因此,本發明可根據比率W1/W2的大小,預先得知物件3與影像感測單元12a之相對距離,再根據物件3與影像感測單元12a之相對距離設定複數預定閥值範圍,以將指示平面10之預定範圍D進一步劃分為複數區域。 Please refer to FIG. 7 and FIG. 8. FIG. 7 is another side view of the object 3 in the third figure in the predetermined range D of the indication plane 10, and FIG. 8 is the image sensing unit 12a in FIG. A schematic representation of the image I sensed. As shown in FIGS. 5 to 8, as the object 3 is closer to the image sensing unit 12a, the ratio W1/W2 is larger. Therefore, according to the ratio of the ratio W1/W2, the present invention can know the relative distance between the object 3 and the image sensing unit 12a in advance, and then set a plurality of predetermined threshold ranges according to the relative distance between the object 3 and the image sensing unit 12a. The predetermined range D of the indication plane 10 is further divided into a plurality of regions.

如第5圖與第7圖所示,本發明可將指示平面10之預定範圍D進一步劃分為區域A1以及區域A2。此外,本發明可設定對應區域A1之預定閥值範圍為K0-K1及其預定權重為X1,且設定對應區域A2之預定閥值範圍為K1-K2及其預定權重為X2,其中預定權重X2小於預定權重X1。當處理單元14判斷比率W1/W2落入預定閥值範圍K0-K1時,處理單元14即將影像之權重設定為對應預定閥值範圍K0-K1之預定權重X1;當處理單元14判斷比率W1/W2落入預定閥值範圍K1-K2時,處理單元14即將影像之權重設定為對應預定閥值範圍K1-K2之預定權重X2。換言之,當物件3愈靠近影像感測單元12a時,則將影像感測單元12a之影像之權重降得更低,以減少影像感測單元12a之影像對觸控位置的識別的影響。 As shown in FIGS. 5 and 7, the present invention can further divide the predetermined range D of the indication plane 10 into the area A1 and the area A2. In addition, the present invention can set the predetermined threshold range of the corresponding area A1 to be K0-K1 and its predetermined weight to be X1, and set the predetermined threshold range of the corresponding area A2 to be K1-K2 and its predetermined weight is X2, wherein the predetermined weight X2 Less than the predetermined weight X1. When the processing unit 14 determines that the ratio W1/W2 falls within the predetermined threshold range K0-K1, the processing unit 14 sets the weight of the image to a predetermined weight X1 corresponding to the predetermined threshold range K0-K1; when the processing unit 14 determines the ratio W1/ When W2 falls within the predetermined threshold range K1-K2, the processing unit 14 sets the weight of the image to a predetermined weight X2 corresponding to the predetermined threshold range K1-K2. In other words, when the object 3 is closer to the image sensing unit 12a, the weight of the image of the image sensing unit 12a is lowered to reduce the influence of the image sensing unit 12a on the recognition of the touch position.

需說明的是,上述之預定閥值範圍與預定權重的數量與數值可根據實際應用而決定,不以上述之實施例為限。 It should be noted that the above-mentioned predetermined threshold range and the number and value of the predetermined weight may be determined according to the actual application, and are not limited to the above embodiments.

當處理單元14判斷物件3位於指示平面10之預定範圍D內時,除了降低影像感測單元之影像之權重外,處理單元14亦可驅動警示單元16發出一警示訊息,以提示使用者物件3離影像感測單元太近,需重新進行觸控操作,以避免因物件3離影像感測單元太近而對觸控位置的識別產生困擾。於此實施例中,警示訊息可為燈光、聲音、文字、影像、振動或其組合,視實際應用而定。 When the processing unit 14 determines that the object 3 is located within the predetermined range D of the indication plane 10, in addition to reducing the weight of the image of the image sensing unit, the processing unit 14 may also drive the alert unit 16 to issue a warning message to prompt the user object 3 It is too close to the image sensing unit, and the touch operation needs to be performed again to avoid the trouble that the object 3 is too close to the image sensing unit to recognize the touch position. In this embodiment, the warning message may be light, sound, text, image, vibration, or a combination thereof, depending on the actual application.

請參閱第9圖,第9圖為根據本發明一實施例之光學觸控方法的流程圖。第9圖中的光學觸控方法可利用上述之光學觸控裝置1來實現。首先,執行 步驟S10,影像感測單元12a-12d感測關於指示平面10上之物件3之影像I,其中影像I包含來自反射鏡18之至少部分鏡面180之鏡面影像區I1以及非鏡面影像區I2。接著,執行步驟S12,判斷影像I之鏡面影像區I2是否存在物件3。當判斷影像I之鏡面影像區I2不存在物件3時,執行步驟S14,藉由一般觸控演算法計算物件3之觸控位置。當判斷影像I之鏡面影像區I2存在物件3時,執行步驟S16,判斷物件3位於指示平面10之預定範圍D內。當判斷物件3位於指示平面10之預定範圍D內時,執行步驟S18,降低影像I用以計算物件3之觸控位置時之權重。接著,執行步驟S20,藉由一般觸控演算法計算物件3之觸控位置。於另一實施例中,當判斷物件3位於指示平面10之預定範圍D內時,亦可執行步驟S22,發出警示訊息。 Please refer to FIG. 9. FIG. 9 is a flow chart of an optical touch method according to an embodiment of the invention. The optical touch method in FIG. 9 can be implemented by using the optical touch device 1 described above. First, execute In step S10, the image sensing units 12a-12d sense the image I of the object 3 on the pointing plane 10, wherein the image I comprises a specular image area I1 and at least a non-specular image area I2 from at least a portion of the mirror 180 of the mirror 18. Next, step S12 is performed to determine whether the object 3 exists in the mirror image area I2 of the image I. When it is determined that the object image 3 is not present in the mirror image area I2 of the image I, step S14 is performed to calculate the touch position of the object 3 by a general touch algorithm. When it is determined that the object 3 exists in the mirror image area I2 of the image I, step S16 is performed to determine that the object 3 is located within the predetermined range D of the indication plane 10. When it is determined that the object 3 is located within the predetermined range D of the indication plane 10, step S18 is performed to reduce the weight of the image I for calculating the touch position of the object 3. Then, step S20 is performed to calculate the touch position of the object 3 by a general touch algorithm. In another embodiment, when it is determined that the object 3 is located within the predetermined range D of the indication plane 10, step S22 may also be performed to issue a warning message.

需說明的是,本發明之光學觸控方法之詳細實施例係如上所述,在此不再贅述。此外,第9圖所示之光學觸控方法的控制邏輯中的各個部分或功能皆可透過軟硬體的組合來實現。 It should be noted that the detailed embodiments of the optical touch method of the present invention are as described above, and are not described herein again. In addition, each part or function in the control logic of the optical touch method shown in FIG. 9 can be realized by a combination of hardware and software.

綜上所述,本發明係將反射鏡設置於鄰近影像感測單元處,使得反射鏡之至少部分鏡面位於影像感測單元之感測範圍內,且反射鏡之至少部分鏡面映射出指示平面之預定範圍。當影像感測單元感測到之影像之鏡面影像區存在物件時,物件即位於指示平面之預定範圍內,表示物件離影像感測單元太近。此時,本發明可降低此影像用以計算物件之觸控位置時之權重,或驅動警示單元發出警示訊息,以提示使用者重新進行觸控操作。藉此,即可有效避免因物件離影像感測單元太近而對觸控位置的識別產生困擾。 In summary, the present invention places the mirror adjacent to the image sensing unit such that at least part of the mirror surface of the mirror is located within the sensing range of the image sensing unit, and at least part of the mirror surface of the mirror is mapped out of the indicating plane. Scheduled range. When an object exists in the mirror image area of the image sensed by the image sensing unit, the object is located within a predetermined range of the indication plane, indicating that the object is too close to the image sensing unit. In this case, the present invention can reduce the weight of the image when calculating the touch position of the object, or drive the warning unit to send a warning message to prompt the user to perform the touch operation again. Thereby, it can effectively avoid the trouble that the object is located too close to the image sensing unit and the touch position is troubled.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

Claims (12)

一種光學觸控裝置,包含:一指示平面;一影像感測單元,設置於該指示平面之一側;一反射鏡,設置於該指示平面以外且鄰近該影像感測單元處,該反射鏡之至少部分鏡面位於該影像感測單元之一感測範圍內,該至少部分鏡面映射出該指示平面之一預定範圍;以及一處理單元,電性連接於該影像感測單元;其中,該影像感測單元感測關於該指示平面上之一物件之一影像,該影像包含來自該至少部分鏡面之一鏡面影像區以及一非鏡面影像區,該處理單元判斷該鏡面影像區是否存在該物件,當該處理單元判斷該鏡面影像區存在該物件時,該處理單元判斷該物件位於該預定範圍內。 An optical touch device includes: an indicating plane; an image sensing unit disposed on one side of the indicating plane; a mirror disposed outside the indicating plane and adjacent to the image sensing unit, the mirror At least part of the mirror surface is located in a sensing range of the image sensing unit, the at least part of the mirror surface is mapped to a predetermined range of the indication plane; and a processing unit is electrically connected to the image sensing unit; wherein the image sensing The measuring unit senses an image of an object on the indication plane, the image includes a mirror image area from the at least part of the mirror surface and a non-mirror image area, and the processing unit determines whether the object exists in the mirror image area. When the processing unit determines that the object exists in the mirror image area, the processing unit determines that the object is within the predetermined range. 如請求項1所述之光學觸控裝置,其中當該處理單元判斷該物件位於該預定範圍內時,該處理單元降低該影像用以計算該物件之一觸控位置時之一權重。 The optical touch device of claim 1, wherein when the processing unit determines that the object is within the predetermined range, the processing unit lowers the image to calculate one of the weights of the touch position of the object. 如請求項2所述之光學觸控裝置,其中當該處理單元判斷該物件位於該預定範圍內時,該處理單元計算該物件於該鏡面影像區中之一第一寬度,計算該物件於該非鏡面影像區中之一第二寬度,且計算該第一寬度與該第二寬度之一比率,該處理單元根據該比率調整該權重。 The optical touch device of claim 2, wherein when the processing unit determines that the object is within the predetermined range, the processing unit calculates a first width of the object in the specular image area, and calculates the object in the non- a second width in the mirror image area, and calculating a ratio of the first width to the second width, the processing unit adjusting the weight according to the ratio. 如請求項3所述之光學觸控裝置,其中該處理單元比較該比率與複數預定閥值範圍,各該預定閥值範圍對應複數預定權重其中之一,當該處理單元判斷該比率落入該複數預定閥值範圍其中之一時,該處理單元將該影像之該權重設定為對應該預定閥值範圍之該預定權重。 The optical touch device of claim 3, wherein the processing unit compares the ratio with a plurality of predetermined threshold ranges, each of the predetermined threshold ranges corresponding to one of a plurality of predetermined weights, when the processing unit determines that the ratio falls within the When the plurality of predetermined threshold ranges are in one of the ranges, the processing unit sets the weight of the image to the predetermined weight corresponding to the predetermined threshold range. 如請求項1所述之光學觸控裝置,另包含一警示單元,電性連接於 該處理單元,當該處理單元判斷該物件位於該預定範圍內時,該處理單元驅動該警示單元發出一警示訊息。 The optical touch device of claim 1, further comprising a warning unit electrically connected to The processing unit, when the processing unit determines that the object is located within the predetermined range, the processing unit drives the alert unit to issue a warning message. 如請求項1所述之光學觸控裝置,其中該反射鏡設置於該影像感測單元之上方且該反射鏡之鏡面以一傾斜角度朝向該指示平面。 The optical touch device of claim 1, wherein the mirror is disposed above the image sensing unit and the mirror surface of the mirror faces the indicating plane at an oblique angle. 一種光學觸控方法,適用於一光學觸控裝置,該光學觸控裝置包含一指示平面、一影像感測單元以及一反射鏡,該影像感測單元設置於該指示平面之一側,該反射鏡設置於該指示平面以外且鄰近該影像感測單元處,該反射鏡之至少部分鏡面位於該影像感測單元之一感測範圍內,該至少部分鏡面映射出該指示平面之一預定範圍,該光學觸控方法包含下列步驟:該影像感測單元感測關於該指示平面上之一物件之一影像,其中該影像包含來自該至少部分鏡面之一鏡面影像區以及一非鏡面影像區;判斷該鏡面影像區是否存在該物件;以及當判斷該鏡面影像區存在該物件時,判斷該物件位於該預定範圍內。 An optical touch device is applicable to an optical touch device. The optical touch device includes an indication plane, an image sensing unit, and a mirror. The image sensing unit is disposed on one side of the indication plane, and the reflection is The mirror is disposed outside the indicating plane and adjacent to the image sensing unit, and at least part of the mirror surface of the mirror is located in a sensing range of the image sensing unit, the at least part of the mirror mapping a predetermined range of the indicating plane, The optical touch method includes the following steps: the image sensing unit senses an image of an object on the indication plane, wherein the image includes a mirror image region from the at least part of the mirror surface and a non-mirror image region; Whether the object exists in the mirror image area; and when it is determined that the object exists in the mirror image area, determining that the object is within the predetermined range. 如請求項7所述之光學觸控方法,另包含下列步驟:當判斷該物件位於該預定範圍內時,降低該影像用以計算該物件之一觸控位置時之一權重。 The optical touch method of claim 7, further comprising the step of: reducing the image to calculate a weight of one of the touch positions of the object when the object is determined to be within the predetermined range. 如請求項8所述之光學觸控方法,另包含下列步驟:當判斷該物件位於該預定範圍內時,計算該物件於該鏡面影像區中之一第一寬度,計算該物件於該非鏡面影像區中之一第二寬度,且計算該第一寬度與該第二寬度之一比率;以及根據該比率調整該權重。 The optical touch method of claim 8, further comprising the steps of: calculating a first width of the object in the specular image area when the object is determined to be within the predetermined range, and calculating the object in the non-specular image a second width in the region, and calculating a ratio of the first width to the second width; and adjusting the weight according to the ratio. 如請求項9所述之光學觸控方法,另包含下列步驟:比較該比率與複數預定閥值範圍,各該預定閥值範圍對應複數預定權重 其中之一;以及當判斷該比率落入該複數預定閥值範圍其中之一時,將該影像之該權重設定為對應該預定閥值範圍之該預定權重。 The optical touch method of claim 9, further comprising the steps of: comparing the ratio with a plurality of predetermined threshold ranges, each of the predetermined threshold ranges corresponding to a plurality of predetermined weights One of them; and when it is determined that the ratio falls within one of the plurality of predetermined threshold ranges, the weight of the image is set to the predetermined weight corresponding to the predetermined threshold range. 如請求項7所述之光學觸控方法,另包含下列步驟:當判斷該物件位於該預定範圍內時,發出一警示訊息。 The optical touch method of claim 7, further comprising the step of: issuing a warning message when determining that the object is within the predetermined range. 如請求項7所述之光學觸控方法,其中該反射鏡設置於該影像感測單元之上方且該反射鏡之鏡面以一傾斜角度朝向該指示平面。 The optical touch method of claim 7, wherein the mirror is disposed above the image sensing unit and the mirror surface of the mirror faces the indicating plane at an oblique angle.
TW106109020A 2017-03-17 2017-03-17 Optical touch device and optical touch method TWI657357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106109020A TWI657357B (en) 2017-03-17 2017-03-17 Optical touch device and optical touch method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106109020A TWI657357B (en) 2017-03-17 2017-03-17 Optical touch device and optical touch method

Publications (2)

Publication Number Publication Date
TW201835735A TW201835735A (en) 2018-10-01
TWI657357B true TWI657357B (en) 2019-04-21

Family

ID=64797164

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106109020A TWI657357B (en) 2017-03-17 2017-03-17 Optical touch device and optical touch method

Country Status (1)

Country Link
TW (1) TWI657357B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110025620A1 (en) * 2008-01-11 2011-02-03 Opdi Technologies A/S Touch-sensitive device
CN102033657A (en) * 2009-09-24 2011-04-27 原相科技股份有限公司 Touch system, method for sensing height of referent and method for sensing coordinates of referent
TW201137708A (en) * 2010-04-29 2011-11-01 Au Optronics Corp Imaging device based touch system
TW201433964A (en) * 2011-09-01 2014-09-01 Pixart Imaging Inc Optical touch panel system, optical apparatus and positioning method thereof
US20140267169A1 (en) * 2013-03-15 2014-09-18 Verizon Patent And Licensing Inc. Apparatus for Detecting Proximity of Object near a Touchscreen
TW201523395A (en) * 2011-10-19 2015-06-16 Pixart Imaging Inc Optical touch panel system, optical sensing module, and operation method thereof
TW201535204A (en) * 2014-03-05 2015-09-16 Pixart Imaging Inc Object detection method and calibration apparatus of optical touch system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110025620A1 (en) * 2008-01-11 2011-02-03 Opdi Technologies A/S Touch-sensitive device
CN102033657A (en) * 2009-09-24 2011-04-27 原相科技股份有限公司 Touch system, method for sensing height of referent and method for sensing coordinates of referent
TW201137708A (en) * 2010-04-29 2011-11-01 Au Optronics Corp Imaging device based touch system
TW201433964A (en) * 2011-09-01 2014-09-01 Pixart Imaging Inc Optical touch panel system, optical apparatus and positioning method thereof
TW201523395A (en) * 2011-10-19 2015-06-16 Pixart Imaging Inc Optical touch panel system, optical sensing module, and operation method thereof
US20140267169A1 (en) * 2013-03-15 2014-09-18 Verizon Patent And Licensing Inc. Apparatus for Detecting Proximity of Object near a Touchscreen
TW201535204A (en) * 2014-03-05 2015-09-16 Pixart Imaging Inc Object detection method and calibration apparatus of optical touch system

Also Published As

Publication number Publication date
TW201835735A (en) 2018-10-01

Similar Documents

Publication Publication Date Title
TWI414979B (en) Handwriting input device and an angle correcting method thereof
TWI498785B (en) Touch sensor apparatus and touch point detection method
TWI461975B (en) Electronic device and method for correcting touch position
TWI470510B (en) Optical touch device and touch sensing method
US10037107B2 (en) Optical touch device and sensing method thereof
US8952934B2 (en) Optical touch systems and methods for determining positions of objects using the same
US9569028B2 (en) Optical touch system, method of touch detection, method of calibration, and computer program product
TWI590131B (en) Optical touch device and method for detecting touch point
TWI657357B (en) Optical touch device and optical touch method
TWI502413B (en) Optical touch device and gesture detecting method thereof
US10691262B2 (en) Projector, projection system and image projection method
US20180067616A1 (en) Touch sensing device and sensing method of touch point
CN107015708B (en) Optical touch device and optical touch method
JP2018116346A (en) Input control device, display device, and input control method
TWI525507B (en) Optical touch system, method of touch detection, and computer program product
TW201804296A (en) Fingerprint touch apparatus and method for determining touch position thereof
TWI439905B (en) Touch module and touch detecting method
US20120038765A1 (en) Object sensing system and method for controlling the same
US10698536B2 (en) Method of detecting touch position and touch apparatus thereof
TWI610208B (en) Optical touch device and optical touch method
TWI522871B (en) Processing method of object image for optical touch system
TWI547849B (en) Optical sensing electronic devices and optical sensing method
TWI544389B (en) Optical touch system and using method thereof
US20180356938A1 (en) Projection touch system and correction method thereof
US20180356937A1 (en) Projection touch system and correction method thereof

Legal Events

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