CN103309516A - Optical touch device and detection method thereof - Google Patents
Optical touch device and detection method thereof Download PDFInfo
- Publication number
- CN103309516A CN103309516A CN201210065443XA CN201210065443A CN103309516A CN 103309516 A CN103309516 A CN 103309516A CN 201210065443X A CN201210065443X A CN 201210065443XA CN 201210065443 A CN201210065443 A CN 201210065443A CN 103309516 A CN103309516 A CN 103309516A
- Authority
- CN
- China
- Prior art keywords
- picture frame
- brightness
- light
- light source
- threshold
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 53
- 238000001514 detection method Methods 0.000 title claims description 30
- 238000012545 processing Methods 0.000 claims abstract description 39
- 238000010586 diagram Methods 0.000 claims description 35
- 238000005070 sampling Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims 4
- 230000000052 comparative effect Effects 0.000 claims 2
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012805 post-processing Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000000889 atomisation Methods 0.000 description 2
- 238000005530 etching Methods 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- 238000005488 sandblasting Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 239000012780 transparent material Substances 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种人机界面装置,特别涉及一种可检测悬浮物件和接触物件的光学触控装置及其检测方法。The invention relates to a man-machine interface device, in particular to an optical touch device capable of detecting suspended objects and contact objects and a detection method thereof.
背景技术 Background technique
触控系统在使用时可以不必另外搭配分离式周边装置,故具有极佳的操作便利性而适用于各种人机界面装置,而光学式触控系统通常利用光传感器检测手指的反射光以判断手指的位置或手势。The touch system does not need to be equipped with separate peripheral devices during use, so it has excellent operational convenience and is suitable for various human-machine interface devices. Optical touch systems usually use light sensors to detect the reflected light of fingers to judge Finger position or gesture.
例如图1A示出一种已知光学触控装置的示意图。所述光学触控装置8包含光源81、导光板82和光传感器83。所述光源81将入射光811从所述导光板82的入光面821射入,其由于所述导光板82的全反射现象而可以在所述导光板82内朝向远离所述入光面821的方向传递。当手指接触所述导光板82的触控面822时可以破坏所述触控面822的全反射条件,部分所述入射光811受到所述手指的反射而从所述导光板82的出光面823射出反射光812而被所述光传感器83所接收。然而,这种光学触控装置8只能用于检测接触所述触控面822的手指,并无法进行悬浮检测。For example, FIG. 1A shows a schematic diagram of a known optical touch device. The
图1B为美国专利公开第20090267919号,标题为“多点触控位置追踪装置及应用该装置的互动系统与多点互动图像处理方法”中公开的另一种光学触控装置的示意图。所述光学触控装置9同样包含光源91、导光板92和光传感器93。所述光源91将入射光911从所述导光板92的入光面921射入,部分所述入射光911由于所述导光板92表面的全反射现象而可以在所述导光板92内朝向远离所述入光面921的方向传递。所述导光板92的触控面922上形成凹凸结构用于破坏所述触控面922的全反射条件,因此部分所述入射光911可以从所述触控面922射出所述导光板92外。当手指靠近所述触控面922时,可以反射从所述触控面922射出的光,使之成为朝向所述导光板92的出光面923射出的反射光912而被所述光传感器93所接收。藉此,所述光学触控装置9可以进行悬浮物件的检测。1B is a schematic diagram of another optical touch device disclosed in US Patent Publication No. 20090267919, titled "Multi-touch Position Tracking Device, Interaction System Using the Device, and Multi-Point Interactive Image Processing Method". The optical touch device 9 also includes a light source 91 , a light guide plate 92 and a light sensor 93 . The light source 91 injects incident light 911 from the light incident surface 921 of the light guide plate 92 , part of the incident light 911 can be directed away in the light guide plate 92 due to the total reflection phenomenon on the surface of the light guide plate 92 . The direction of the light incident surface 921 is transferred. A concave-convex structure is formed on the touch surface 922 of the light guide plate 92 to destroy the total reflection condition of the touch surface 922, so that part of the incident light 911 can exit the light guide plate 92 from the touch surface 922. . When the finger is close to the touch surface 922, the light emitted from the touch surface 922 can be reflected, making it become the reflected light 912 emitted toward the light emitting surface 923 of the light guide plate 92 and detected by the light sensor 93. take over. In this way, the optical touch device 9 can detect floating objects.
本发明则提出一种可以同时检测悬浮物件和接触物件的光学触控装置及其检测方法,其还具有可消除环境光干扰的优点。The present invention proposes an optical touch device and a detection method thereof capable of simultaneously detecting suspended objects and contact objects, which also has the advantage of eliminating ambient light interference.
发明内容 Contents of the invention
本发明的目的是提供一种光学触控装置及其检测方法,用于检测物件的操作状态。The object of the present invention is to provide an optical touch device and a detection method thereof, which are used for detecting the operating state of an object.
本发明另一个目的是提供一种光学触控装置及其检测方法,其可以消除环境光的干扰。Another object of the present invention is to provide an optical touch device and a detection method thereof, which can eliminate the interference of ambient light.
本发明提供一种光学触控装置,包含光源、光源控制单元、导光件、图像传感器和处理单元。所述光源控制单元控制所述光源以不同亮度发光。所述导光件具有入光面、触控面和出光面,其中所述光源将入射光从所述入光面射入到所述导光件内部,所述导光件内部和/或所述出光面上形成多个微结构,该微结构用于将所述入射光朝向所述触控面反射而使之成为散射光。所述图像传感器接收从所述出光面射出的反射光,以对应于所述光源的不同亮度产生相对应的图像帧。所述处理单元计算所述图像帧的差分图像帧并根据所述差分图像帧判断操作状态。The invention provides an optical touch device, which includes a light source, a light source control unit, a light guide, an image sensor and a processing unit. The light source control unit controls the light source to emit light with different brightness. The light guide has a light incident surface, a touch surface and a light output surface, wherein the light source injects incident light from the light incident surface into the light guide, and the inside of the light guide and/or the light guide A plurality of microstructures are formed on the light emitting surface, and the microstructures are used to reflect the incident light toward the touch surface and make it into scattered light. The image sensor receives the reflected light emitted from the light emitting surface to generate corresponding image frames corresponding to different brightnesses of the light source. The processing unit calculates a difference image frame of the image frame and judges an operation state according to the difference image frame.
本发明还提供一种光学触控装置的检测方法。所述光学触控装置包含光源、导光件、图像传感器和处理单元;所述导光件具有入光面、触控面和出光面,所述导光件内部和/或所述出光面上形成多个微结构。所述检测方法包含下列步骤:利用所述光源轮流以第一亮度和第二亮度发光;利用所述图像传感器以取样频率获取所述光源入射到所述导光件并受到所述微结构的反射而朝向所述触控面反射,再从所述出光面射出的反射光,以对应于所述第一亮度产生第一图像帧,并且对应于所述第二亮度产生第二图像帧;利用所述处理单元计算所述第一图像帧和所述第二图像帧的差分图像帧;和利用所述处理单元根据所述差分图像帧与两个阈值的比较结果判断操作状态。The invention also provides a detection method of the optical touch device. The optical touch device includes a light source, a light guide, an image sensor, and a processing unit; the light guide has a light incident surface, a touch surface, and a light exit surface, and the inside of the light guide and/or the light exit surface Multiple microstructures are formed. The detection method includes the following steps: using the light source to emit light with a first brightness and a second brightness in turn; using the image sensor to obtain the light source incident on the light guide and reflected by the microstructure at a sampling frequency The reflected light is reflected toward the touch surface, and then emitted from the light-emitting surface to generate a first image frame corresponding to the first brightness, and generate a second image frame corresponding to the second brightness; using the The processing unit calculates a difference image frame of the first image frame and the second image frame; and the operation state is determined by the processing unit according to a comparison result of the difference image frame and two thresholds.
本发明还提供一种光学触控装置的检测方法。所述光学触控装置包含光源、导光件、图像传感器和处理单元;所述导光件具有入光面、触控面和出光面,所述导光件内部和/或所述出光面上形成多个微结构。所述检测方法包含下列步骤:利用所述光源轮流以第一亮度、第二亮度和第三亮度发光;利用所述图像传感器以取样频率获取所述光源入射到所述导光件并受到所述微结构的反射而朝向所述触控面反射,再从所述出光面射出的反射光,以对应于所述第一亮度产生第一图像帧,对应于所述第二亮度产生第二图像帧,并对应于所述第三亮度产生第三图像帧;利用所述处理单元计算所述第一图像帧和所述第三图像帧的第一差分图像帧,并计算所述第二图像帧和所述第三图像帧的第二差分图像帧;和利用所述处理单元根据所述第一差分图像帧和所述第二差分图像帧与至少一个阈值的比较结果判断操作状态。The invention also provides a detection method of the optical touch device. The optical touch device includes a light source, a light guide, an image sensor, and a processing unit; the light guide has a light incident surface, a touch surface, and a light exit surface, and the inside of the light guide and/or the light exit surface Multiple microstructures are formed. The detection method includes the following steps: using the light source to emit light with the first brightness, the second brightness and the third brightness in turn; The reflection of the microstructure is reflected toward the touch surface, and then the reflected light is emitted from the light-emitting surface to generate a first image frame corresponding to the first brightness, and generate a second image frame corresponding to the second brightness , and generate a third image frame corresponding to the third brightness; use the processing unit to calculate the first difference image frame of the first image frame and the third image frame, and calculate the second image frame and a second differential image frame of the third image frame; and using the processing unit to determine an operating state according to a comparison result of the first differential image frame and the second differential image frame with at least one threshold.
本发明的光学触控装置中,所述微结构在所述触控面的相对的面上和/或所述导光件的内部形成,而并不在所述触控面上形成,所述微结构用于将入射光反射,使之朝向所述触控面射出散射光,其中所述微结构的形成方式并无特定限制,例如可利用印刷、喷砂、蚀刻、雾化和模具压合等方式来形成凸起状、凹凸状或凹陷状等各种形状的微结构。换句话说,所述导光板利用非零阶(non-zero order)的设计在所述触控面前方形成随距离快速衰减的散射光光场;当物件进入所述散射光光场时,能够朝向所述导光件反射出反射光供位于所述出光面侧的所述图像传感器进行检测。In the optical touch device of the present invention, the microstructure is formed on the opposite surface of the touch surface and/or inside the light guide member, but not formed on the touch surface, and the microstructure The structure is used to reflect the incident light so that it emits scattered light toward the touch surface, wherein the formation method of the microstructure is not limited, for example, printing, sandblasting, etching, atomization and mold pressing can be used. Various shapes of microstructures such as convex, concave-convex or concave are formed by different methods. In other words, the light guide plate uses a non-zero order design to form a scattered light field that rapidly decays with distance in front of the touch surface; when an object enters the scattered light field, it can The reflected light is reflected toward the light guide member for detection by the image sensor located on the side of the light emitting surface.
本发明的光学触控装置中,利用所述图像传感器所获取的差分图像判定悬浮物件或接触物件,因而可以有效消除环境光的影响,藉以增加判断精确度。In the optical touch device of the present invention, the differential image acquired by the image sensor is used to determine the floating object or the contacting object, so the influence of ambient light can be effectively eliminated, thereby increasing the accuracy of judgment.
本发明的光学触控装置及其检测方法中,所述出光面射出的反射光为所述触控面侧的物件接近和/或接触所述触控面时,反射所述微结构反射的散射光,并使其穿过所述导光件而形成。In the optical touch device and detection method thereof of the present invention, the reflected light emitted from the light-emitting surface is the scattered light reflected by the microstructure when an object on the side of the touch surface approaches and/or touches the touch surface. light and make it pass through the light guide to form.
附图说明 Description of drawings
图1A和1B示出已知光学触控装置的示意图。1A and 1B illustrate schematic diagrams of known optical touch devices.
图2A到2C示出本发明实施方式的光学触控装置的示意图。2A to 2C illustrate schematic diagrams of an optical touch device according to an embodiment of the present invention.
图3示出本发明实施方式的光学触控装置中,图像获取和光源点灯的示意图。FIG. 3 shows a schematic diagram of image acquisition and light source lighting in the optical touch device according to the embodiment of the present invention.
图4示出本发明一个实施方式的光学触控装置的检测方法的流程图。FIG. 4 shows a flowchart of a detection method of an optical touch device according to an embodiment of the present invention.
图5示出本发明另一个实施方式的光学触控装置的检测方法的流程图。FIG. 5 shows a flowchart of a detection method of an optical touch device according to another embodiment of the present invention.
图6A到6C示出本发明实施方式中,差分图像帧和阈值的示意图。6A to 6C show schematic diagrams of difference image frames and thresholds in an embodiment of the present invention.
附图标记说明Explanation of reference signs
1光学触控装置 11光源1
111入射光 112散射光111
113反射光 12光源控制单元113 Reflected
13导光件 131入光面13
132触控面 133出光面132
134、134′微结构 14图像传感器134, 134
15处理单元 16传输界面单元15
2、2′物件 f1-f3图像帧2. 2′ object f1-f3 image frame
S31-S34、S41-S44步骤 8、9光学触控装置S 31 -S 34 , S 41 -S 44 Step 8, 9 Optical touch device
81、91光源 82、92导光板81, 91
811、911入射光 812、912反射光811, 911
821、921入光面 822、922触控面821, 921
823、923出光面 83、93光传感器823, 923
Th1、Th2、TH1、TH2阈值 f1-f2、f1-f3、f2-f3差分图像帧Th 1 , Th 2 , TH 1 , TH 2 threshold f 1 -f 2 , f 1 -f 3 , f 2 -f 3 differential image frames
具体实施方式 Detailed ways
为了使本发明的上述和其它目的、特征和优点能更明显,下文将配合附图作详细说明。在本发明的说明中,相同的构件以相同的符号表示,在此先说明。In order to make the above and other objects, features and advantages of the present invention more apparent, the following will be described in detail with accompanying drawings. In the description of the present invention, the same components are denoted by the same symbols, and will be described first.
参照图2A到2C所示,其示出本发明实施方式的光学触控装置的示意图。光学触控装置1用于检测物件2的操作状态,其中所述物件2例如可以是手指、触控笔或其它触控件,并无特定限制,只要能反射光源所发出的光即可。所述操作状态包括悬浮(hovering)状态,例如物件2,以及接触(touch)状态,例如物件2′。此外,所述光学触控装置1也可以用于进行多点触控,并不限于单点触控。Referring to FIGS. 2A to 2C , they are schematic diagrams of an optical touch device according to an embodiment of the present invention. The
本实施方式的光学触控装置1包含光源11、光源控制单元12、导光件13、图像传感器14、处理单元15和传输界面单元16;其中,所述光源控制单元12可以包含于所述处理单元15内或独立于所述处理单元15外,并无特定限制。The
所述光源11优选为发光二极管,用于发出例如红外光、红光或其它不可见光。所述光源11用于将入射光111从所述导光件13的入光面131射入到所述导光件13内部,使之朝向远离所述入光面131的方向传递。换句话说,所述光源11相对于所述入光面131设置。The
所述光源控制单元12用于控制所述光源11以不同亮度发光。所述光源11以不同亮度发光的目的在于,后处理中可以通过计算差分图像帧来消除环境光的干扰(详述于后)。所述光源控制单元12受所述处理单元15的控制,以使所述光源11与所述图像传感器14的图像获取同步而发光,如图3所示。The light
所述导光件13例如可由相对于所述光源11所发出的光为透明的材料制成,例如玻璃或塑胶等,但并不限于此。所述导光件13具有所述入光面131、触控面132和出光面133;其中,所述触控面132和所述出光面133彼此相对。物件2位于所述触控面132的一侧以进行操控;其中,可操控的功能类似于一般光学触控装置,故于此不再赘述。本实施方式中,所述导光件13的所述出光面133上(内表面或外表面)形成多个微结构134(如图2A和2B)和/或所述导光件13的内部形成多个微结构134′(如图2C);其中,所述微结构134例如可利用印刷、喷砂、蚀刻、雾化和模具压合等方式来形成凸起状、凹凸状或凹陷状等各种形状的微结构,微结构134′例如可以是制作所述导光件13时混合于其中的空气、油墨或其它物质,并无特定限制,只要能反射所述光源11射入的入射光111即可。所述微结构134及134′用于将所述入射光111朝向所述触控面132反射成为散射光112以射出所述导光件13,所述散射光112受到位于所述触控面132侧的所述物件2、2′的反射成为反射光113,其再次穿过所述导光件13并从所述出光面133射出。本实施方式中,所述微结构134、134′的总面积与所述出光面133的面积比例优选介于10%与75%之间,以使所述微结构134、134′能够反射足够的入射光111,并使足够的反射光113穿透所述出光面133。The
所述图像传感器14例如可以是CCD图像传感器、CMOS图像传感器或其它用于传感光能量的传感器,其设置于所述出光面133侧以取样频率接收并获取从所述出光面133射出的所述反射光113,并对应于所述光源11的不同亮度产生相对应的图像帧(详述于后),并传送到所述处理单元15进行后处理。The
所述处理单元15计算所述图像帧的差分图像帧,并根据所述差分图像帧判断所述操作状态。The
所述传输界面单元16用于有线或无线地将所述操作状态传输到相关的电子装置以进行相应的控制。The
参照图2A-2C、3、4和6A所示,图3示出本发明实施方式的光学触控装置中图像获取和光源点灯的操作示意图,图4示出本发明的一个实施方式的光学触控装置的检测方法的流程图,第6A图示出本发明实施方式中,差分图像帧和阈值的示意图。本实施方式的检测方法包含下列步骤:利用光源轮流以第一亮度和第二亮度发光(步骤S31);利用图像传感器以取样频率获取所述光源入射到导光件并遇到微结构而朝向触控面反射,再从出光面射出的反射光,以对应于所述第一亮度产生第一图像帧,并对应于所述第二亮度产生第二图像帧(步骤S32);利用处理单元计算所述第一图像帧和所述第二图像帧的差分图像帧(步骤S33);和利用所述处理单元根据所述差分图像帧和两个阈值的比较结果判断操作状态(步骤S34)。Referring to FIGS. 2A-2C, 3, 4 and 6A, FIG. 3 shows a schematic diagram of image acquisition and light source lighting operations in an optical touch device according to an embodiment of the present invention, and FIG. 4 shows an optical touch device according to an embodiment of the present invention. Figure 6A shows a schematic diagram of difference image frames and thresholds in an embodiment of the present invention. The detection method of this embodiment includes the following steps: using the light source to emit light at the first brightness and the second brightness in turn (step S 31 ); Reflect the touch surface, and then emit the reflected light from the light-emitting surface to generate a first image frame corresponding to the first brightness, and generate a second image frame corresponding to the second brightness (step S 32 ); using a processing unit Computing the difference image frame of the first image frame and the second image frame (step S33 ); and using the processing unit to judge the operating state according to the comparison result of the difference image frame and two thresholds (step S34 ).
步骤S31:所述光源控制单元12控制所述光源11轮流以第一亮度(例如长度较长的矩形)和第二亮度(例如长度较短的矩形)发光,如图3(B)所示;其中,所述第一亮度大于所述第二亮度,并且所述第二亮度可以是零亮度(即不点亮)或非零亮度。Step S 31 : the light
步骤S32:所述图像传感器14以固定的取样频率,如图3(A)所示,获取从所述光源11通过所述入光面131入射到所述导光件13并遇到所述微结构134、134′而反射后从所述触控面132射出,再遇到所述物件2、2′反射后穿过所述导光件13并从所述出光面133射出的反射光113,以对应于所述第一亮度产生第一图像帧f1,对应于所述第二亮度产生第二图像帧f2,并传送至所述处理单元15进行后处理;其中,由于所述第一亮度大于所述第二亮度,所述第一图像帧f1的平均亮度值大于所述第二图像帧f2的平均亮度值。Step S32 : The
步骤S33:所述处理单元14计算所述第一图像帧f1和所述第二图像帧f2的差分图像帧(f1-f2)。由于所述图像传感器14所获取的每张图像帧f1、f2均包含有环境光,通过计算所述差分图像帧(f1-f2)即可有效消除环境光的影响。Step S 33 : the processing
步骤S34:所述处理单元14根据所述差分图像帧(f1-f2)与第一阈值(例如悬浮阈值Th1)和第二阈值(例如接触阈值Th2)的比较结果判定物件处于悬浮状态或接触状态,如图6A所示。 Step S 34 : The processing unit 14 judges that the object is in the Suspension state or contact state, as shown in Figure 6A.
例如一个实施方式中,当差分图像帧(f1-f2)有部分图像区域的亮度值或最大亮度值大于所述第一阈值Th1并小于所述第二阈值Th2时,表示所述物件2已可以被所述散射光112照明但仍未接触所述触控面132,因此判定所述物件2为悬浮状态;当差分图像帧(f1-f2)′有部分图像区域的亮度值或最大亮度值大于所述第二阈值Th2时,表示所述物件2′已接触所述触控面132而可以反射大量的所述散射光112,因此判定所述物件2′为接触状态;当差分图像帧(f1-f2)″所有像素的亮度值或最大亮度值小于所述第一阈值Th1时,表示所述物件既不是悬浮物件也不是接触物件。此实施方式中,将所述差分图像帧(f1-f2)的部分与两个阈值进行比较。For example, in one implementation, when the difference image frame (f 1 -f 2 ) has a brightness value or a maximum brightness value of a part of the image area greater than the first threshold Th 1 and smaller than the second threshold Th 2 , it means that the The
另一个实施方式中,当差分图像帧(f1-f2)的平均亮度值大于所述第一阈值Th1并小于所述第二阈值Th2时,判定所述物件2为悬浮状态;当差分图像帧(f1-f2)′的平均亮度值大于所述第二阈值Th2时,判定所述物件2′为接触状态。此实施方式中,将所述差分图像帧(f1-f2)的整体(即平均亮度)与两个阈值进行比较。In another embodiment, when the average brightness value of the difference image frame (f 1 -f 2 ) is greater than the first threshold Th 1 and less than the second threshold Th 2 , it is determined that the
参照图2A-2C、3、5和6B所示,图5示出本发明另一个实施方式的光学触控装置的检测方法的流程图,图6B示出本发明实施方式中,差分图像帧和阈值的示意图。本实施方式的检测方法包含下列步骤:利用光源轮流以第一亮度、第二亮度和第三亮度发光(步骤S41);利用图像传感器以取样频率获取所述光源入射到导光件并遇到微结构而朝向触控面反射,再从出光面射出的反射光,以对应于所述第一亮度产生第一图像帧,对应于所述第二亮度产生第二图像帧,并对应于所述第三亮度产生第三图像帧(步骤S42);利用处理单元计算所述第一图像帧和所述第三图像帧的第一差分图像帧,并计算所述第二图像帧和所述第三图像帧的第二差分图像帧(步骤S43);和利用所述处理单元根据所述第一差分图像帧和所述第二差分图像帧与至少一个阈值的比较结果判断操作状态(步骤S44)。Referring to FIGS. 2A-2C, 3, 5 and 6B, FIG. 5 shows a flow chart of a detection method for an optical touch device in another embodiment of the present invention, and FIG. 6B shows in an embodiment of the present invention, the differential image frame and Schematic diagram of the threshold. The detection method of this embodiment includes the following steps: using the light source to emit light at the first brightness, the second brightness and the third brightness in turn (step S 41 ); using the image sensor to acquire the The microstructure is reflected toward the touch surface, and then the reflected light emitted from the light-emitting surface generates a first image frame corresponding to the first brightness, generates a second image frame corresponding to the second brightness, and corresponds to the The third brightness generates a third image frame (step S42 ); use a processing unit to calculate the first difference image frame of the first image frame and the third image frame, and calculate the second image frame and the first image frame The second differential image frame of the three image frames (step S43 ); and using the processing unit to judge the operating state according to the comparison result of the first differential image frame and the second differential image frame with at least one threshold value (step S 44 ).
步骤S41:所述光源控制单元12控制所述光源11轮流以第一亮度(例如长度最长的矩形)、第二亮度(例如长度次长的矩形)和第三亮度(例如长度最短的矩形)发光,如图3(C)所示;其中,所述第一亮度大于所述第二亮度,所述第二亮度大于所述第三亮度,并且所述第三亮度可以是零亮度(即不点亮)或非零亮度。Step S41 : The light
步骤S42:所述图像传感器14以固定的取样频率,如图3(A)所示,获取从所述光源11通过所述入光面131入射到所述导光件13并遇到所述微结构134、134′而反射后从所述触控面132射出,再受到所述物件2、2′反射后穿过所述导光件13并从所述出光面133射出的反射光113,以对应于所述第一亮度产生第一图像帧f1,对应于所述第二亮度产生第二图像帧f2,并对应于所述第三亮度产生第三图像帧f3,并传送到所述处理单元15进行后处理;其中,由于所述第一亮度大于所述第二亮度,并且所述第二亮度大于所述第三亮度,所以,所述第一图像帧f1的平均亮度值大于所述第二图像帧f2的平均亮度值,并且所述第二图像帧f2的所述平均亮度值大于所述第三图像帧f3的平均亮度值。Step S42 : The
步骤S43:所述处理单元15计算所述第一图像帧f1和所述第三图像帧f3的第一差分图像帧(f1-f3),并计算所述第二图像帧f2和所述第三图像帧f3的第二差分图像帧(f2-f3);此步骤同样用于消除环境光的影响。Step S43 : The processing
步骤S44:所述处理单元14根据所述第一差分图像帧(f1-f3)和所述第二差分图像帧(f2-f3)与至少一个阈值的比较结果判定物件处于悬浮状态或接触状态,如图6B所示。Step S 44 : the processing
例如一种实施方式中,当所述第一差分图像帧(f1-f3)的部分图像区域的亮度值或最大亮度值大于第一阈值TH1,并且所述第二差分图像帧(f2-f3)所有像素的亮度值或最大亮度值小于第二阈值TH2时,表示所述物件2可以被较强的散射光112照明但无法被较弱的散射光112照明,因此判定所述物件为悬浮状态(如图6B左图所示)。当所述第二差分图像帧(f2-f3)的部分图像区域的亮度值或所述最大亮度值大于所述第二阈值TH2时,表示所述物件2′可以被较弱的散射光112照明,因此判定所述物件2′为接触状态(如图6B右图所示);其中,所述第一阈值TH1可以等于或不等于所述第二阈值TH2。换句话说,此实施方式中可以将所述第一差分图像帧(f1-f3)和所述第二差分图像帧(f2-f3)的至少一部分与同一个阈值比较或者分别跟不同的阈值比较。For example, in one embodiment, when the luminance value or the maximum luminance value of a partial image area of the first difference image frame (f 1 -f 3 ) is greater than the first threshold TH 1 , and the second difference image frame (f 2 -f 3 ) When the luminance values or maximum luminance values of all pixels are less than the second threshold TH2 , it means that the
另一个实施方式中,当所述第一差分图像帧(f1-f3)的平均亮度值大于第一阈值TH1,并且所述第二差分图像帧(f2-f3)的平均亮度值小于第二阈值TH2时,判定所述物件2为悬浮状态;当所述第二差分图像帧(f2-f3)的所述平均亮度值大于所述第二阈值TH2时,判定所述物件2′为接触状态;其中,所述第一阈值TH1可以等于或不等于所述第二阈值TH2。换句话说,此实施方式中可以将所述第一差分图像帧(f1-f3)和所述第二差分图像帧(f2-f3)的整体(即平均亮度)与同一个阈值比较或者分别跟不同的阈值比较。In another embodiment, when the average brightness value of the first difference image frame (f 1 -f 3 ) is greater than the first threshold TH 1 , and the average brightness value of the second difference image frame (f 2 -f 3 ) When the value is less than the second threshold TH 2 , it is determined that the
另一个实施方式中,也可先将差分图像帧进行去杂讯处理,例如将所述差分图像帧滤波形成滤波图像帧以降低杂讯干扰(例如使用低通滤波器)和背景光干扰(例如使用高通滤波器),再将所述滤波图像帧的最大值和/或平均值与至少一个阈值相比较以判断操作状态;例如图6C将差分图像帧(f1-f2)与滤波器进行卷积(convolution)以形成滤波图像帧。可以了解的是,滤波器的频谱并不限于图6C所示,可以根据实际应用而决定。In another embodiment, the difference image frame can also be denoised first, for example, the difference image frame is filtered to form a filtered image frame to reduce noise interference (such as using a low-pass filter) and background light interference (such as Using a high-pass filter), then compare the maximum value and/or average value of the filtered image frame with at least one threshold to determine the operating state; for example, FIG. 6C compares the difference image frame (f 1 -f 2 ) with the filter Convolution to form filtered image frames. It can be understood that the frequency spectrum of the filter is not limited to that shown in FIG. 6C , and can be determined according to practical applications.
换句话说,本发明的各实施方式中,比较差分图像帧的特征值与至少一个阈值,以判断所述操作状态,其中所述特征值例如可以是最大亮度值、平均亮度值、滤波图像帧的最大值和/或滤波图像帧的平均值,但并不限于此。In other words, in each embodiment of the present invention, the characteristic value of the difference image frame is compared with at least one threshold value to judge the operation state, wherein the characteristic value can be, for example, the maximum brightness value, the average brightness value, the filtered image frame The maximum value of and/or the average value of the filtered image frame, but is not limited to this.
综上所述,已知光学触控装置的导光板中,通过在触控面上形成凹凸结构以破坏所述触控面的全反射条件,以使光线能够从所述触控面射出。本发明还提出一种光学触控装置(图2A到2C)及其检测方法(图4和5),其中导光件的触控面完全没有形成用于破坏全反射条件的结构,并且可以通过计算差分图像帧来消除环境光的干扰。To sum up, in the light guide plate of the known optical touch device, a concave-convex structure is formed on the touch surface to destroy the total reflection condition of the touch surface, so that light can be emitted from the touch surface. The present invention also proposes an optical touch device (FIGS. 2A to 2C) and a detection method thereof (FIGS. 4 and 5), wherein the touch surface of the light guide is completely free of any structure for destroying the total reflection condition, and can be detected by Compute the difference image frame to remove the interference of ambient light.
虽然本发明已以前述实施方式公开,然而其并非用于限定本发明,任何本发明所属技术领域中的技术人员,在不脱离本发明的精神和范围内,可以作各种更动与修改。因此本发明的保护范围应以所附的权利要求书所界定的为准。Although the present invention has been disclosed in the foregoing embodiments, it is not intended to limit the present invention. Any person skilled in the art to which the present invention belongs can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be defined by the appended claims.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210065443XA CN103309516A (en) | 2012-03-13 | 2012-03-13 | Optical touch device and detection method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210065443XA CN103309516A (en) | 2012-03-13 | 2012-03-13 | Optical touch device and detection method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103309516A true CN103309516A (en) | 2013-09-18 |
Family
ID=49134806
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210065443XA Pending CN103309516A (en) | 2012-03-13 | 2012-03-13 | Optical touch device and detection method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103309516A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106200949A (en) * | 2016-06-30 | 2016-12-07 | 桐城市闲产网络服务有限公司 | 4D touch interactive system |
CN108241827A (en) * | 2016-12-23 | 2018-07-03 | 创智能科技股份有限公司 | Biometric identification device |
CN108429983A (en) * | 2018-04-23 | 2018-08-21 | 深圳市沃特沃德股份有限公司 | Intelligent sound box |
CN108449662A (en) * | 2018-04-23 | 2018-08-24 | 深圳市沃特沃德股份有限公司 | Intelligent sound box |
CN109711255A (en) * | 2018-11-26 | 2019-05-03 | Oppo广东移动通信有限公司 | Fingerprint acquisition method and related device |
CN110166698A (en) * | 2019-06-28 | 2019-08-23 | Oppo广东移动通信有限公司 | Focusing method, complementary metal oxide image sensor, terminal and storage medium |
CN111033516A (en) * | 2017-09-07 | 2020-04-17 | 指纹卡有限公司 | Method for determining finger coverage of a sensor area of a fingerprint sensor and fingerprint sensing system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101266529A (en) * | 2007-03-12 | 2008-09-17 | 精工爱普生株式会社 | Display device and electronic equipment |
US20090252375A1 (en) * | 2008-04-04 | 2009-10-08 | Junichi Rekimoto | Position Detection System, Position Detection Method, Program, Object Determination System and Object Determination Method |
TW200945123A (en) * | 2008-04-25 | 2009-11-01 | Ind Tech Res Inst | A multi-touch position tracking apparatus and interactive system and image processing method there of |
CN102262486A (en) * | 2010-05-28 | 2011-11-30 | 株式会社半导体能源研究所 | Photodetector |
-
2012
- 2012-03-13 CN CN201210065443XA patent/CN103309516A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101266529A (en) * | 2007-03-12 | 2008-09-17 | 精工爱普生株式会社 | Display device and electronic equipment |
US20090252375A1 (en) * | 2008-04-04 | 2009-10-08 | Junichi Rekimoto | Position Detection System, Position Detection Method, Program, Object Determination System and Object Determination Method |
TW200945123A (en) * | 2008-04-25 | 2009-11-01 | Ind Tech Res Inst | A multi-touch position tracking apparatus and interactive system and image processing method there of |
CN102262486A (en) * | 2010-05-28 | 2011-11-30 | 株式会社半导体能源研究所 | Photodetector |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106200949A (en) * | 2016-06-30 | 2016-12-07 | 桐城市闲产网络服务有限公司 | 4D touch interactive system |
CN108241827A (en) * | 2016-12-23 | 2018-07-03 | 创智能科技股份有限公司 | Biometric identification device |
CN111033516A (en) * | 2017-09-07 | 2020-04-17 | 指纹卡有限公司 | Method for determining finger coverage of a sensor area of a fingerprint sensor and fingerprint sensing system |
CN111033516B (en) * | 2017-09-07 | 2023-09-08 | 指纹卡安娜卡敦知识产权有限公司 | Method and fingerprint sensing system for determining finger coverage of a sensor area of a fingerprint sensor |
CN108429983A (en) * | 2018-04-23 | 2018-08-21 | 深圳市沃特沃德股份有限公司 | Intelligent sound box |
CN108449662A (en) * | 2018-04-23 | 2018-08-24 | 深圳市沃特沃德股份有限公司 | Intelligent sound box |
CN109711255A (en) * | 2018-11-26 | 2019-05-03 | Oppo广东移动通信有限公司 | Fingerprint acquisition method and related device |
CN110166698A (en) * | 2019-06-28 | 2019-08-23 | Oppo广东移动通信有限公司 | Focusing method, complementary metal oxide image sensor, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI439907B (en) | Optical touch device and detection method thereof | |
CN103309516A (en) | Optical touch device and detection method thereof | |
US10324566B2 (en) | Enhanced interaction touch system | |
TW200945123A (en) | A multi-touch position tracking apparatus and interactive system and image processing method there of | |
KR102335132B1 (en) | Multi-modal gesture based interactive system and method using one single sensing system | |
TWI450159B (en) | Optical touch device, passive touch system and its input detection method | |
CN104122988B (en) | Motion sensing device and motion sensing system thereof | |
US20150317035A1 (en) | Optical touch apparatus capable of detecting displacement and optical touch method thereof | |
KR100974894B1 (en) | 3d space touch apparatus using multi-infrared camera | |
JP2011513828A (en) | Interactive surface computer with switchable diffuser | |
KR20100072207A (en) | Detecting finger orientation on a touch-sensitive device | |
JP2012529680A (en) | Multi-touch touch screen with pen tracking | |
CN107077258A (en) | Projection type image display device and image display method | |
CN110083299A (en) | Bimodulus optical navigator | |
CN104679349B (en) | Touch positioning method and optical touch system | |
TWI534687B (en) | Optical touch detection system and object analyzation method thereof | |
CN105302379B (en) | Touch detection method and optical touch system thereof | |
CN105511691A (en) | Optical touch sensing device and touch signal judgment method thereof | |
CN104571731B (en) | Touch panel and display device | |
KR20130055118A (en) | Space touch apparatus using single-infrared camera | |
Wei et al. | The design of infrared touch screen based on MCU | |
TW201337649A (en) | Optical input device and input detection method thereof | |
US10061440B2 (en) | Optical touch sensing system, optical touch sensing device and touch detection method thereof | |
KR101131768B1 (en) | Multi touch screen for high speed sampling | |
WO2013179168A1 (en) | User -input interface with a light guide |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130918 |