TWI792780B - Smooth reporting method, control circuit, touch display device and information processing device of touch device - Google Patents
Smooth reporting method, control circuit, touch display device and information processing device of touch device Download PDFInfo
- Publication number
- TWI792780B TWI792780B TW110147577A TW110147577A TWI792780B TW I792780 B TWI792780 B TW I792780B TW 110147577 A TW110147577 A TW 110147577A TW 110147577 A TW110147577 A TW 110147577A TW I792780 B TWI792780 B TW I792780B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- points
- generate
- processing window
- fitting
- Prior art date
Links
Images
Landscapes
- Image Generation (AREA)
- Input From Keyboards Or The Like (AREA)
- Numerical Control (AREA)
Abstract
一種觸控裝置之平滑報點方法,其係由一控制電路實現,該方法包括:依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據;以及利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點。A method for smooth point reporting of a touch device, which is realized by a control circuit, the method includes: generating a Bezier curve based on multiple actual sensing points of multi-frame sensing data, and generating a Bezier curve according to the Bezier curve Generate a plurality of interpolation points among the plurality of actual sensing points, and form a set of data to be processed by combining the data of these actual sensing points and the interpolation points; and process the set of data to be processed by using a moving polynomial fitting program data to produce a set of fitted reporting points.
Description
本發明係有關於觸控裝置,特別是關於一種觸控裝置之平滑報點方法。The present invention relates to a touch device, in particular to a method for smooth reporting of a touch device.
在觸控技術中,為保證移動點各幀之間連線的平滑性,往往會通過差值演算法插入假點增加曲線的平滑度,此類常見的演算法有貝塞爾演算法等。然而,受到報點率、計算時間等限制,貝塞爾演算法生成的點在某些情況下依然不能滿足平滑度的要求。In touch technology, in order to ensure the smoothness of the connection between the frames of the moving point, false points are often inserted through the difference algorithm to increase the smoothness of the curve. Such common algorithms include Bessel algorithm and so on. However, due to the limitations of point reporting rate and calculation time, the points generated by the Bessel algorithm still cannot meet the smoothness requirements in some cases.
為解決上述的問題,本領域亟需一新穎的觸控裝置之平滑報點方法。In order to solve the above problems, there is an urgent need in the art for a novel method for smooth reporting of touch devices.
本發明之主要目的在於揭露一種觸控裝置之平滑報點方法,其可藉由先對多幀感測點之多筆感測座標進行內插處理,再對內插後之整體數據進行窗框移動平滑處理以產生平滑化之報點軌跡。The main purpose of the present invention is to disclose a smooth point reporting method for a touch device, which can perform interpolation processing on multiple sensing coordinates of multi-frame sensing points, and then window frame the interpolated overall data Move smoothing to produce smoothed reporting point traces.
本發明之另一目的在於揭露一種觸控顯示裝置,其可藉由上述的平滑報點方法提供平滑化之報點軌跡給一主機。Another object of the present invention is to disclose a touch display device, which can provide a smoothed reporting track to a host through the above smooth reporting method.
本發明之又一目的在於揭露一種資訊處理裝置,其可藉由上述的觸控顯示裝置提供操作者平滑的觸控體驗。Another object of the present invention is to disclose an information processing device, which can provide operators with a smooth touch experience through the above-mentioned touch display device.
為達前述目的,一種觸控裝置之平滑報點方法乃被提出,其係由一控制電路實現,該方法包括:In order to achieve the aforementioned purpose, a method for smooth reporting of a touch device is proposed, which is realized by a control circuit, and the method includes:
依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據;以及Generate a Bezier curve according to a plurality of actual sensing points of the multi-frame sensing data, and generate a plurality of interpolation points among the plurality of actual sensing points according to the Bezier curve, and convert these actual sensing points Points and the data of these interpolation points constitute a set of data to be processed; and
利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點。The set of data to be processed is processed by a moving polynomial fitting program to generate a set of fitting report points.
在一實施例中,該移動多項式擬合程序包括:In one embodiment, the moving polynomial fitting procedure includes:
取該組待處理數據中之前2m+1個數據點為一處理窗框以產生初始的n次多項式迴歸曲線,並依該初始的n次多項式迴歸曲線產生所述前2m+1個數據點中之前m+1個數據點的所述擬合報點,m、n均為大於1之整數,且2m+1 > n;Taking the first 2m+1 data points in the group of data to be processed as a processing window frame to generate an initial n-degree polynomial regression curve, and generating the first 2m+1 data points according to the initial n-degree polynomial regression curve For the fitting reporting points of the previous m+1 data points, m and n are both integers greater than 1, and 2m+1 > n;
在該組待處理數據中逐次將該處理窗框右移一個數據點以產生一新的處理窗框,並依該新的處理窗框產生新的n次多項式迴歸曲線,及依該新的n次多項式迴歸曲線產生該新的處理窗框中之第m+1個數據點的所述擬合報點;以及In the group of data to be processed, move the processing window frame to the right by one data point successively to generate a new processing window frame, and generate a new n-degree polynomial regression curve according to the new processing window frame, and according to the new n A degree polynomial regression curve produces said fitted report point for the m+1th data point in the new processing window; and
在該處理窗框移至該組待處理數據中之最後之2m+1個數據點以產生一最後的處理窗框時,依該最後的處理窗框產生一最後的n次多項式迴歸曲線,並依該最後的n次多項式迴歸曲線產生所述最後之2m+1個數據點中之後m+1個數據點的所述擬合報點。When the processing window frame is moved to the last 2m+1 data points in the group of data to be processed to generate a final processing window frame, a final n-degree polynomial regression curve is generated according to the last processing window frame, and The fitting report points of the last m+1 data points among the last 2m+1 data points are generated according to the last n-degree polynomial regression curve.
為達前述目的,本發明進一步提出一種控制電路,其具有一功能模組以為一觸控裝置執行一平滑報點方法,該方法包括:To achieve the aforementioned purpose, the present invention further proposes a control circuit, which has a functional module to perform a smooth reporting method for a touch device, the method comprising:
依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據;以及Generate a Bezier curve according to a plurality of actual sensing points of the multi-frame sensing data, and generate a plurality of interpolation points among the plurality of actual sensing points according to the Bezier curve, and convert these actual sensing points Points and the data of these interpolation points constitute a set of data to be processed; and
利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點。The set of data to be processed is processed by a moving polynomial fitting program to generate a set of fitting report points.
在一實施例中,該移動多項式擬合程序包括:In one embodiment, the moving polynomial fitting procedure includes:
取該組待處理數據中之前2m+1個數據點為一處理窗框以產生初始的n次多項式迴歸曲線,並依該初始的n次多項式迴歸曲線產生所述前2m+1個數據點中之前m+1個數據點的所述擬合報點,m、n均為大於1之整數,且2m+1 > n;Taking the first 2m+1 data points in the group of data to be processed as a processing window frame to generate an initial n-degree polynomial regression curve, and generating the first 2m+1 data points according to the initial n-degree polynomial regression curve For the fitting reporting points of the previous m+1 data points, m and n are both integers greater than 1, and 2m+1 > n;
在該組待處理數據中逐次將該處理窗框右移一個數據點以產生一新的處理窗框,並依該新的處理窗框產生新的n次多項式迴歸曲線,及依該新的n次多項式迴歸曲線產生該新的處理窗框中之第m+1個數據點的所述擬合報點;以及In the group of data to be processed, move the processing window frame to the right by one data point successively to generate a new processing window frame, and generate a new n-degree polynomial regression curve according to the new processing window frame, and according to the new n A degree polynomial regression curve produces said fitted report point for the m+1th data point in the new processing window; and
在該處理窗框移至該組待處理數據中之最後之2m+1個數據點以產生一最後的處理窗框時,依該最後的處理窗框產生一最後的n次多項式迴歸曲線,並依該最後的n次多項式迴歸曲線產生所述最後之2m+1個數據點中之後m+1個數據點的所述擬合報點。When the processing window frame is moved to the last 2m+1 data points in the group of data to be processed to generate a final processing window frame, a final n-degree polynomial regression curve is generated according to the last processing window frame, and The fitting report points of the last m+1 data points among the last 2m+1 data points are generated according to the last n-degree polynomial regression curve.
為達前述目的,本發明進一步提出一種觸控顯示裝置,其具有一觸控模組、一顯示模組及一控制電路,其中,該控制電路係用以驅動該觸控模組及該顯示模組,且其具有一功能模組以對該觸控模組之多幀感測數據之多個實際感測點進行一平滑報點處理程序以產生一組擬合報點,該平滑報點處理程序包括:To achieve the aforementioned purpose, the present invention further proposes a touch display device, which has a touch module, a display module and a control circuit, wherein the control circuit is used to drive the touch module and the display module set, and it has a functional module to perform a smoothing reporting point processing program on multiple actual sensing points of the multi-frame sensing data of the touch module to generate a set of fitting reporting points, the smoothing reporting point processing Programs include:
依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據;以及Generate a Bezier curve according to a plurality of actual sensing points of the multi-frame sensing data, and generate a plurality of interpolation points among the plurality of actual sensing points according to the Bezier curve, and convert these actual sensing points Points and the data of these interpolation points constitute a set of data to be processed; and
利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點。The set of data to be processed is processed by a moving polynomial fitting program to generate a set of fitting report points.
在一實施例中,該移動多項式擬合程序包括:In one embodiment, the moving polynomial fitting procedure includes:
取該組待處理數據中之前2m+1個數據點為一處理窗框以產生初始的n次多項式迴歸曲線,並依該初始的n次多項式迴歸曲線產生所述前2m+1個數據點中之前m+1個數據點的所述擬合報點,m、n均為大於1之整數,且2m+1 > n;Taking the first 2m+1 data points in the group of data to be processed as a processing window frame to generate an initial n-degree polynomial regression curve, and generating the first 2m+1 data points according to the initial n-degree polynomial regression curve For the fitting reporting points of the previous m+1 data points, m and n are both integers greater than 1, and 2m+1 > n;
在該組待處理數據中逐次將該處理窗框右移一個數據點以產生一新的處理窗框,並依該新的處理窗框產生新的n次多項式迴歸曲線,及依該新的n次多項式迴歸曲線產生該新的處理窗框中之第m+1個數據點的所述擬合報點;以及In the group of data to be processed, move the processing window frame to the right by one data point successively to generate a new processing window frame, and generate a new n-degree polynomial regression curve according to the new processing window frame, and according to the new n A degree polynomial regression curve produces said fitted report point for the m+1th data point in the new processing window; and
在該處理窗框移至該組待處理數據中之最後之2m+1個數據點以產生一最後的處理窗框時,依該最後的處理窗框產生一最後的n次多項式迴歸曲線,並依該最後的n次多項式迴歸曲線產生所述最後之2m+1個數據點中之後m+1個數據點的所述擬合報點。When the processing window frame is moved to the last 2m+1 data points in the group of data to be processed to generate a final processing window frame, a final n-degree polynomial regression curve is generated according to the last processing window frame, and The fitting report points of the last m+1 data points among the last 2m+1 data points are generated according to the last n-degree polynomial regression curve.
在可能的實施例中,該顯示模組可為一微發光二極體顯示模組、一迷你發光二極體顯示模組、一量子點發光二極體顯示模組或一有機發光二極體顯示模組。In a possible embodiment, the display module can be a micro light emitting diode display module, a mini light emitting diode display module, a quantum dot light emitting diode display module or an organic light emitting diode Display mods.
為達前述目的,本發明進一步提出 一種資訊處理裝置,其具有一中央處理單元及一觸控顯示裝置,其中,該中央處理單元係用以與該觸控顯示裝置通信,該觸控顯示裝置具有一觸控模組、一顯示模組及一控制電路,其中,該控制電路係用以驅動該觸控模組及該顯示模組,且其具有一功能模組以對該觸控模組之多幀感測數據之多個實際感測點進行一平滑報點處理程序以產生一組擬合報點,該平滑報點處理程序包括:To achieve the aforementioned purpose, the present invention further proposes an information processing device, which has a central processing unit and a touch display device, wherein the central processing unit is used to communicate with the touch display device, and the touch display device has A touch module, a display module and a control circuit, wherein the control circuit is used to drive the touch module and the display module, and it has a function module to control the touch module Multiple actual sensing points of multi-frame sensing data are subjected to a smoothing point reporting process to generate a set of fitted reporting points. The smoothing point reporting process includes:
依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據;以及Generate a Bezier curve according to a plurality of actual sensing points of the multi-frame sensing data, and generate a plurality of interpolation points among the plurality of actual sensing points according to the Bezier curve, and convert these actual sensing points Points and the data of these interpolation points constitute a set of data to be processed; and
利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點,並將該組擬合報點傳送給該中央處理單元。The set of data to be processed is processed by a moving polynomial fitting program to generate a set of fitting report points, and the set of fitting report points is sent to the central processing unit.
在一實施例中,該移動多項式擬合程序包括:In one embodiment, the moving polynomial fitting procedure includes:
取該組待處理數據中之前2m+1個數據點為一處理窗框以產生初始的n次多項式迴歸曲線,並依該初始的n次多項式迴歸曲線產生所述前2m+1個數據點中之前m+1個數據點的所述擬合報點,m、n均為大於1之整數,且2m+1 > n;Taking the first 2m+1 data points in the group of data to be processed as a processing window frame to generate an initial n-degree polynomial regression curve, and generating the first 2m+1 data points according to the initial n-degree polynomial regression curve For the fitting reporting points of the previous m+1 data points, m and n are both integers greater than 1, and 2m+1 > n;
在該組待處理數據中逐次將該處理窗框右移一個數據點以產生一新的處理窗框,並依該新的處理窗框產生新的n次多項式迴歸曲線,及依該新的n次多項式迴歸曲線產生該新的處理窗框中之第m+1個數據點的所述擬合報點;以及In the group of data to be processed, move the processing window frame to the right by one data point successively to generate a new processing window frame, and generate a new n-degree polynomial regression curve according to the new processing window frame, and according to the new n A degree polynomial regression curve produces said fitted report point for the m+1th data point in the new processing window; and
在該處理窗框移至該組待處理數據中之最後之2m+1個數據點以產生一最後的處理窗框時,依該最後的處理窗框產生一最後的n次多項式迴歸曲線,並依該最後的n次多項式迴歸曲線產生所述最後之2m+1個數據點中之後m+1個數據點的所述擬合報點。When the processing window frame is moved to the last 2m+1 data points in the group of data to be processed to generate a final processing window frame, a final n-degree polynomial regression curve is generated according to the last processing window frame, and The fitting report points of the last m+1 data points among the last 2m+1 data points are generated according to the last n-degree polynomial regression curve.
在可能的實施例中,該顯示模組可為一微發光二極體顯示模組、一迷你發光二極體顯示模組、一量子點發光二極體顯示模組或一有機發光二極體顯示模組。In a possible embodiment, the display module can be a micro light emitting diode display module, a mini light emitting diode display module, a quantum dot light emitting diode display module or an organic light emitting diode Display mods.
在可能的實施例中,所述之資訊處理裝置可為一智慧型手機、一可攜式電腦、一車載電腦、一穿戴式電子裝置或一廣告看板。In a possible embodiment, the information processing device may be a smart phone, a portable computer, a vehicle computer, a wearable electronic device or an advertising billboard.
為使 貴審查委員能進一步瞭解本發明之結構、特徵及其目的,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable your review committee members to further understand the structure, features and purpose of the present invention, drawings and detailed descriptions of preferred specific embodiments are hereby attached.
本發明的原理在於:Principle of the present invention is:
(一)依多幀感測數據之多個實際感測點產生一貝塞爾曲線(Bézier curve),並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據;以及(1) generating a Bezier curve (Bézier curve) according to a plurality of actual sensing points of the multi-frame sensing data, and generating a plurality of interpolation points among the plurality of actual sensing points according to the Bezier curve, and forming a set of data to be processed with the data of the actual sensing points and the interpolation points; and
(二)利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點,從而使一觸控模組能夠提供操作者良好的觸控體驗。(2) Using a moving polynomial fitting program to process the set of data to be processed to generate a set of fitting reporting points, so that a touch module can provide an operator with a good touch experience.
請參照圖1,其為本發明之觸控顯示裝置之一實施例之方塊圖。如圖1所示,一觸控顯示裝置100具有一觸控模組110、一顯示模組120及一控制電路130,其中,觸控模組110可為一電容式或光學式觸控模組;顯示模組110可為一微發光二極體顯示模組、一迷你發光二極體顯示模組、一量子點發光二極體顯示模組或一有機發光二極體顯示模組;以及控制電路130係用以驅動觸控模組110及顯示模組120,且其具有一功能模組,可由軟體或硬體實現,以對觸控模組110之多幀感測數據之多個實際感測點進行一平滑報點處理程序以產生一組擬合報點,該平滑報點處理程序包括:Please refer to FIG. 1 , which is a block diagram of an embodiment of a touch display device of the present invention. As shown in FIG. 1 , a
(一)控制電路130之所述功能模組依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據;貝塞爾曲線之生成法為習知技術,故在此不擬贅述。(1) The functional module of the
(二)控制電路130之所述功能模組利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點。(2) The functional modules of the
該移動多項式擬合程序係以每2m+1個待處理數據點為一處理窗框,並在各該處理窗框內擬合出一個n次多項式函數以在各該處理窗框內計算出至少一個擬合報點的座標,其中,2m+1 > n。以m=2,n=3為例,該移動多項式擬合程序包括:The moving polynomial fitting program uses every 2m+1 data points to be processed as a processing window frame, and fits an n-degree polynomial function in each processing window frame to calculate at least The coordinates of a fitted reporting point, where 2m+1 > n. Taking m=2, n=3 as an example, the moving polynomial fitting procedure includes:
(1)取該組待處理數據中之前5(=2*2+1)個數據點為一處理窗框以產生初始的三次多項式迴歸曲線,並依該初始的三次多項式迴歸曲線產生所述前5個數據點中之前3個數據點的所述擬合報點;(1) Take the first 5 (=2*2+1) data points in the group of data to be processed as a processing window frame to generate an initial cubic polynomial regression curve, and generate the first cubic polynomial regression curve according to the initial cubic polynomial regression curve The fitting reporting points of the previous 3 data points in the 5 data points;
(2)在該組待處理數據中逐次將該處理窗框右移一個數據點以產生一新的處理窗框,並依該新的處理窗框產生新的三次多項式迴歸曲線,及依該新的三次多項式迴歸曲線產生該新的處理窗框中之第3個數據點(中心點)的所述擬合報點;以及(2) Move the processing window frame to the right by one data point successively in the group of data to be processed to generate a new processing window frame, and generate a new cubic polynomial regression curve according to the new processing window frame, and according to the new processing window frame The cubic polynomial regression curve of produces the described fitted reporting point of the 3rd data point (central point) in this new processing window frame; And
(3)在該處理窗框移至該組待處理數據中之最後之5個數據點以產生一最後的處理窗框時,依該最後的處理窗框產生一最後的三次多項式迴歸曲線,並依該最後的三次多項式迴歸曲線產生所述最後之5個數據點中之後3個數據點的所述擬合報點。(3) When the processing window frame is moved to the last 5 data points in the group of data to be processed to generate a final processing window frame, a final cubic polynomial regression curve is generated according to the last processing window frame, and The fitting report points of the last 3 data points in the last 5 data points are generated according to the last cubic polynomial regression curve.
依此,本發明即可將處理過後的點的座標代替原有點的座標並上報至一主機以使操作者有良好的觸控體驗。Accordingly, the present invention can replace the coordinates of the original points with the coordinates of the processed points and report them to a host computer so that the operator can have a good touch experience.
詳細而言,在上述(m=2,n=3)之例子中,該移動多項式擬合程序所採用的擬合公式如下:In detail, in the above example (m=2, n=3), the fitting formula adopted by the moving polynomial fitting program is as follows:
假設陣列a保存有n個點的資訊,n為大於1之整數,則平滑過後的點(結果保存在陣列b中)之數據計算方式如下: b[0] = (69 * a[0] + 4 * (a[1] + a[3]) - 6 * a[2] - a[4]) / 70; b[1] = (2 * (a[0] + a[4]) + 27 * a[1] + 12 * a[2] - 8 * a[3]) / 35; for (int i = 2; i < n - 2; i++) { b[j] = (-3 * (a[i - 2] + a[i + 2]) + 12 * (a[i - 1] + a[i + 1]) + 17 * a[i]) / 35; } b[n - 2] = (2 * (a[n - 1] + a[n - 5]) + 27 * a[n - 2] + 12 * a[n - 3] - 8 * a[n - 4]) / 35; b[n - 1] = (69 * a[n - 1] + 4 * (a[n - 2] + a[n - 4]) - 6 * a[n - 3] - a[n - 5]) / 70。 Assuming that array a stores information of n points, and n is an integer greater than 1, the calculation method for the data of the smoothed point (the result is stored in array b) is as follows: b[0] = (69 * a[0] + 4 * (a[1] + a[3]) - 6 * a[2] - a[4]) / 70; b[1] = (2 * (a[0] + a[4]) + 27 * a[1] + 12 * a[2] - 8 * a[3]) / 35; for (int i = 2; i < n - 2; i++) { b[j] = (-3 * (a[i - 2] + a[i + 2]) + 12 * (a[i - 1] + a[i + 1]) + 17 * a[i]) / 35; } b[n - 2] = (2 * (a[n - 1] + a[n - 5]) + 27 * a[n - 2] + 12 * a[n - 3] - 8 * a[n - 4]) / 35; b[n - 1] = (69 * a[n - 1] + 4 * (a[n - 2] + a[n - 4]) - 6 * a[n - 3] - a[n - 5] ) / 70.
依上述的說明可知,本發明提出了一種觸控裝置之平滑報點方法。請參照圖2,其繪示本發明之觸控裝置之平滑報點方法之一實施例之流程圖,其係由一控制電路實現。如圖2所示,該方法包括:依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據(步驟a);以及利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點(步驟b)。According to the above description, it can be seen that the present invention provides a method for smooth reporting of touch devices. Please refer to FIG. 2 , which shows a flow chart of an embodiment of a smooth report method for a touch device of the present invention, which is implemented by a control circuit. As shown in Figure 2, the method includes: generating a Bezier curve according to a plurality of actual sensing points of multi-frame sensing data, and generating a plurality of actual sensing points according to the Bezier curve Interpolation points, and the data of these actual sensing points and these interpolation points form a set of data to be processed (step a); and use a moving polynomial fitting program to process the set of data to be processed to generate a set of fitting reports point (step b).
在步驟b中,該移動多項式擬合程序包括:In step b, the moving polynomial fitting procedure includes:
(1)取該組待處理數據中之前2m+1個數據點為一處理窗框以產生初始的n次多項式迴歸曲線,並依該初始的n次多項式迴歸曲線產生所述前2m+1個數據點中之前m+1個數據點的所述擬合報點,m、n均為大於1之整數,且2m+1 > n;(1) Take the previous 2m+1 data points in the group of data to be processed as a processing window frame to generate an initial n-degree polynomial regression curve, and generate the first 2m+1 data points according to the initial n-degree polynomial regression curve For the fitting reporting points of the previous m+1 data points in the data points, m and n are both integers greater than 1, and 2m+1>n;
(2)在該組待處理數據中逐次將該處理窗框右移一個數據點以產生一新的處理窗框,並依該新的處理窗框產生新的n次多項式迴歸曲線,及依該新的n次多項式迴歸曲線產生該新的處理窗框中之第m+1個數據點(中心點)的所述擬合報點;以及(2) Move the processing window frame to the right by one data point successively in the group of data to be processed to generate a new processing window frame, and generate a new n-degree polynomial regression curve according to the new processing window frame, and according to the The new n-degree polynomial regression curve produces the fitting reporting point of the m+1th data point (central point) in the new processing window; and
(3)在該處理窗框移至該組待處理數據中之最後之2m+1個數據點以產生一最後的處理窗框時,依該最後的處理窗框產生一最後的n次多項式迴歸曲線,並依該最後的n次多項式迴歸曲線產生所述最後之2m+1個數據點中之後m+1個數據點的所述擬合報點。(3) When the processing window frame is moved to the last 2m+1 data points in the group of data to be processed to generate a final processing window frame, a final n-degree polynomial regression is generated according to the last processing window frame curve, and generate the fitting report points of the last m+1 data points in the last n+1 data points according to the last n-degree polynomial regression curve.
依本發明的方法,一觸控裝置即可提供操作者良好的觸控體驗。請參照圖3a及3b,其中,圖3a繪示在一觸控座標平面上之一組待處理數據之連線軌跡;以及圖3b繪示圖3a之該組待處理數據經本發明之方法處理過後,在該觸控座標平面上產生之擬合點的連線軌跡。由圖3a及3b可看出,本發明之方法可有效提供平滑化之報點軌跡。According to the method of the present invention, a touch device can provide the operator with a good touch experience. Please refer to Figures 3a and 3b, wherein, Figure 3a shows the connection track of a group of data to be processed on a touch coordinate plane; and Figure 3b shows the group of data to be processed in Figure 3a after being processed by the method of the present invention , the line trajectory of the fitting points generated on the touch coordinate plane. It can be seen from Figures 3a and 3b that the method of the present invention can effectively provide a smoothed reporting track.
依上述的說明,本發明進一步提出一種資訊處理裝置。請參照圖4,其繪示本發明之資訊處理裝置之一實施例的方塊圖。如圖4所示,一資訊處理裝置200具有一中央處理單元210及一觸控顯示裝置220,其中,觸控顯示裝置220係由圖1所示之觸控顯示裝置100實現,且中央處理單元210係用以與觸控顯示裝置220通信。另外,資訊處理裝置200可為一智慧型手機、一可攜式電腦、一車載電腦、一穿戴式電子裝置或一廣告看板。According to the above description, the present invention further provides an information processing device. Please refer to FIG. 4 , which shows a block diagram of an embodiment of an information processing device of the present invention. As shown in FIG. 4, an
藉由前述所揭露的設計,本發明乃具有以下的優點:With the design disclosed above, the present invention has the following advantages:
一、本發明之觸控裝置的平滑報點方法可藉由先對多幀感測點之多筆感測座標進行內插處理,再對內插後之整體數據進行窗框移動平滑處理以產生平滑化之報點軌跡。1. The smooth point reporting method of the touch device of the present invention can be generated by first interpolating multiple sensing coordinates of multi-frame sensing points, and then performing window frame movement smoothing processing on the overall data after interpolation. Smoothed report point trajectory.
二、本發明的觸控顯示裝置可藉由上述的平滑報點方法提供平滑化之報點軌跡給一主機。2. The touch display device of the present invention can provide a smoothed report track to a host through the above-mentioned smooth report method.
三、本發明的資訊處理裝置可藉由上述的觸控顯示裝置提供操作者平滑的觸控體驗。3. The information processing device of the present invention can provide the operator with a smooth touch experience through the above-mentioned touch display device.
本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。What is disclosed in this case is a preferred embodiment. For example, any partial changes or modifications derived from the technical ideas of this case and easily deduced by those who are familiar with the technology are within the scope of the patent right of this case.
綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請 貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。To sum up, regardless of the purpose, means and efficacy of this case, it shows that it is very different from the conventional technology, and its first invention is practical, and it does meet the patent requirements of the invention. I implore your review committee to understand it clearly and grant a patent as soon as possible. Society is for the Most Prayer.
100:觸控顯示裝置 110:觸控模組 120:顯示模組 130:控制電路 200:資訊處理裝置 210:中央處理單元 220:觸控顯示裝置 步驟a:依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據 步驟b:利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點 100: Touch display device 110:Touch module 120: Display module 130: control circuit 200: information processing device 210: central processing unit 220: touch display device Step a: generate a Bezier curve according to a plurality of actual sensing points of the multi-frame sensing data, and generate a plurality of interpolation points in the plurality of actual sensing points according to the Bezier curve, and convert these The data of actual sensing points and these interpolation points constitute a set of data to be processed Step b: Utilize a moving polynomial fitting procedure to process the data to be processed to generate a set of fitted reporting points
圖1為本發明之觸控顯示裝置之一實施例之方塊圖。 圖2繪示本發明之觸控裝置之平滑報點方法之一實施例之流程圖。 圖3a繪示在一觸控座標平面上之一組待處理數據之連線軌跡。 圖3b繪示圖3a之該組待處理數據經本發明之方法處理過後,在該觸控座標平面上產生之擬合點的連線軌跡。 圖4繪示本發明之資訊處理裝置之一實施例的方塊圖。 FIG. 1 is a block diagram of an embodiment of a touch display device of the present invention. FIG. 2 is a flow chart of an embodiment of a smooth report method of a touch device according to the present invention. FIG. 3 a shows a set of connection traces of data to be processed on a touch coordinate plane. FIG. 3b shows the line trajectory of the fitting points generated on the touch coordinate plane after the group of data to be processed in FIG. 3a is processed by the method of the present invention. FIG. 4 is a block diagram of an embodiment of an information processing device of the present invention.
步驟a:依多幀感測數據之多個實際感測點產生一貝塞爾曲線,並依該貝塞爾曲線在所述多個實際感測點中生成多個插值點,及將該些實際感測點和該些插值點之數據組成一組待處理數據 Step a: generate a Bezier curve according to a plurality of actual sensing points of the multi-frame sensing data, and generate a plurality of interpolation points in the plurality of actual sensing points according to the Bezier curve, and convert these The data of actual sensing points and these interpolation points constitute a set of data to be processed
步驟b:利用一移動多項式擬合程序處理該組待處理數據以產生一組擬合報點 Step b: Utilize a moving polynomial fitting procedure to process the data to be processed to generate a set of fitted reporting points
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110147577A TWI792780B (en) | 2021-12-17 | 2021-12-17 | Smooth reporting method, control circuit, touch display device and information processing device of touch device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110147577A TWI792780B (en) | 2021-12-17 | 2021-12-17 | Smooth reporting method, control circuit, touch display device and information processing device of touch device |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI792780B true TWI792780B (en) | 2023-02-11 |
TW202326372A TW202326372A (en) | 2023-07-01 |
Family
ID=86689036
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110147577A TWI792780B (en) | 2021-12-17 | 2021-12-17 | Smooth reporting method, control circuit, touch display device and information processing device of touch device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI792780B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201911235A (en) * | 2017-08-04 | 2019-03-16 | 鉅瞻科技股份有限公司 | Method and system for smoothing a line segment, and a non-transitory computer-readable medium |
TW202013139A (en) * | 2018-09-19 | 2020-04-01 | 大陸商北京集創北方科技股份有限公司 | Method for improving touch trajectory smoothness of touch and display driver integration system and touch display device using the same using software algorithm to effectively increase the touch reporting rate |
-
2021
- 2021-12-17 TW TW110147577A patent/TWI792780B/en active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201911235A (en) * | 2017-08-04 | 2019-03-16 | 鉅瞻科技股份有限公司 | Method and system for smoothing a line segment, and a non-transitory computer-readable medium |
TW202013139A (en) * | 2018-09-19 | 2020-04-01 | 大陸商北京集創北方科技股份有限公司 | Method for improving touch trajectory smoothness of touch and display driver integration system and touch display device using the same using software algorithm to effectively increase the touch reporting rate |
Also Published As
Publication number | Publication date |
---|---|
TW202326372A (en) | 2023-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11526272B2 (en) | Systems and methods for interactive image caricaturing by an electronic device | |
CN108197547A (en) | Face pose estimation, device, terminal and storage medium | |
JP2021170313A (en) | Method and device for generating videos | |
Lance et al. | Emotionally expressive head and body movement during gaze shifts | |
CN111047509A (en) | Image special effect processing method and device and terminal | |
CN111027407B (en) | Color image hand posture estimation method for shielding situation | |
Hsieh et al. | Air-writing recognition based on deep convolutional neural networks | |
JP2021174531A (en) | Target tracking method and device, electronic equipment, storage medium, and computer program | |
TWI792780B (en) | Smooth reporting method, control circuit, touch display device and information processing device of touch device | |
CN112184851A (en) | Image editing method, network training method, related device and electronic equipment | |
US11836836B2 (en) | Methods and apparatuses for generating model and generating 3D animation, devices and storage mediums | |
CN112464583B (en) | Grid generation method considering shock waves and boundary layers | |
TWI685771B (en) | Method for improving touch track smoothness of touch and display driving integrated system and touch display device using the same | |
US11809701B2 (en) | Handwriting forming method and apparatus, and electronic device | |
CN115147306A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
US20210209798A1 (en) | Method and apparatus for processing sparse points | |
CN112509101A (en) | Method for realizing motion transition of multiple dynamic character materials in animation video | |
JP7106144B2 (en) | Image analysis device | |
WO2018211767A1 (en) | Haptic information processing device and haptic information processing method | |
CN113168727B (en) | Hand drawing line in simulation CG animation | |
CN109934883B (en) | Nine-mango-star fractal image generation method | |
US11009969B1 (en) | Interactive data input | |
TWI817840B (en) | Touch trajectory optimization method, touch device and information processing device | |
TW201349168A (en) | System and method for generating drawing codes | |
US11593868B1 (en) | Real-time virtual try-on item modeling |