TW201528049A - Correction method based on pattern and electronic apparatus - Google Patents
Correction method based on pattern and electronic apparatus Download PDFInfo
- Publication number
- TW201528049A TW201528049A TW103100203A TW103100203A TW201528049A TW 201528049 A TW201528049 A TW 201528049A TW 103100203 A TW103100203 A TW 103100203A TW 103100203 A TW103100203 A TW 103100203A TW 201528049 A TW201528049 A TW 201528049A
- Authority
- TW
- Taiwan
- Prior art keywords
- display screen
- pattern
- display
- plane
- image
- Prior art date
Links
Landscapes
- Processing Or Creating Images (AREA)
Abstract
Description
本發明是有關於一種互動感測技術,且特別是有關於一種基於三維空間操控且基於圖樣的校正方法及電子裝置。 The present invention relates to an interactive sensing technology, and more particularly to a three-dimensional space-based and pattern-based correction method and electronic device.
傳統電子產品大多只具備遙控器、鍵盤、滑鼠等輸入裝置以供使用者利用進行操作。而隨著科技的進步,越來越多的開發與研究致力於操作介面的改善。新一代的操作介面越來越人性化且越來越方便。近年來,電子產品的傳統輸入裝置已漸漸被其他輸入裝置取代,而其中以手勢操作來取代傳統的輸入裝置最受歡迎。 Most of the traditional electronic products only have input devices such as a remote controller, a keyboard, a mouse, and the like for the user to operate. With the advancement of technology, more and more development and research are devoted to the improvement of the operation interface. The new generation of operating interfaces is becoming more user-friendly and more convenient. In recent years, conventional input devices for electronic products have gradually been replaced by other input devices, and the replacement of conventional input devices with gesture operations is most popular.
手勢操作廣泛地應用於各式各樣的人機互動介面,例如機器人遙控、電器遙控、投影片簡報操作等。使用者能夠於立體空間中直接以手勢來操控使用者介面,而不必接觸鍵盤、滑鼠、遙控器等輸入裝置,以直覺式的動作就能驅動電子產品。據此,如何於立體空間中使得控制顯示畫面的方式更為簡便並符合多元化的使用情境,則為目前發展的重要一環。 Gesture operations are widely used in a variety of human-computer interaction interfaces, such as robot remote control, electrical remote control, and slide presentation operations. The user can directly manipulate the user interface in a three-dimensional space by gestures without touching an input device such as a keyboard, a mouse, or a remote controller, and can drive the electronic product in an intuitive manner. According to this, how to control the display screen in a three-dimensional space is more convenient and conforms to the diversified use situation, which is an important part of the current development.
本發明提供一種基於圖樣的校正方法與電子裝置,可利用顯示畫面的圖樣而自動在空間中建立一操控平面供使用者來操控顯示畫面的內容。 The invention provides a pattern-based correction method and an electronic device, which can automatically establish a manipulation plane in the space for the user to manipulate the content of the display screen by using the pattern of the display screen.
本發明的基於圖樣的校正方法,用於在空間中定義出操控平面。此校正方法包括:於顯示單元的顯示畫面中顯示一圖樣;透過取像單元沿著指定方向,朝向顯示畫面擷取影像,其中上述影像包括對應於上述圖樣的多邊形圖形,且上述指定方向與顯示畫面的法線方向不互相平行;藉由分析上述多邊形圖形而獲得校正資訊;基於上述校正資訊,在空間中建立對應於顯示畫面的操控平面,其中上述操控平面的大小與顯示畫面的尺寸具有一比例關係;以及依據上述比例關係建立操控平面與顯示畫面的每一座標位置之間的對應關係,藉以透過操控平面來控制顯示畫面的內容。 The pattern-based correction method of the present invention is for defining a manipulation plane in space. The correction method includes: displaying a pattern on a display screen of the display unit; capturing an image toward the display screen along the specified direction through the image capturing unit, wherein the image includes a polygon pattern corresponding to the pattern, and the specified direction and display The normal directions of the screens are not parallel to each other; the correction information is obtained by analyzing the polygon graphics; and based on the correction information, a manipulation plane corresponding to the display screen is established in the space, wherein the size of the manipulation plane has a size corresponding to the size of the display screen a proportional relationship; and establishing a correspondence between the control plane and each coordinate position of the display screen according to the above proportional relationship, thereby controlling the content of the display screen through the manipulation plane.
在本發明的一實施例中,上述藉由分析多邊形圖形而獲得校正資訊的步驟包括:獲得多邊形圖形的多個頂點各自的位置資訊,而以上述位置資訊作為校正資訊。 In an embodiment of the invention, the step of obtaining the correction information by analyzing the polygon graphic comprises: obtaining position information of each of the plurality of vertices of the polygon graphic, and using the position information as the correction information.
在本發明的一實施例中,上述基於校正資訊,在空間中建立對應於顯示畫面的操控平面的步驟包括:基於位置資訊以及一夾角資訊(即,指定方向與顯示畫面的法線方向間的夾角資訊),定義操控平面的多個邊界;計算各邊界的邊界長度;以及依 據邊界長度與顯示畫面的尺寸,計算比例關係。 In an embodiment of the invention, the step of establishing a manipulation plane corresponding to the display screen in the space based on the correction information comprises: based on the position information and an angle information (ie, between the specified direction and the normal direction of the display screen) Angle information), defining multiple boundaries of the control plane; calculating the boundary length of each boundary; The proportional relationship is calculated according to the length of the boundary and the size of the display screen.
在本發明的一實施例中,上述圖樣的多個顯示畫素平均分佈在顯示畫面上的指定區域。上述多邊形圖形例如為梯形。上述取像單元包括深度攝影機。 In an embodiment of the invention, the plurality of display pixels of the pattern are evenly distributed over a designated area on the display screen. The above polygon pattern is, for example, a trapezoid. The image capturing unit described above includes a depth camera.
本發明的電子裝置,包括:取像單元,其沿著指定方向,朝向顯示單元的顯示畫面來擷取影像,其中顯示畫面中顯示有一圖樣,而上述影像包括對應於上述圖樣的多邊形圖形,且上述指定方向與顯示畫面的法線方向不互相平行;以及處理單元,其耦接至取像單元及顯示單元,其中上述處理單元藉由分析多邊形圖形而獲得校正資訊,並基於上述校正資訊,在空間中建立對應於顯示畫面的操控平面,其中操控平面的大小與顯示畫面的尺寸具有一比例關係,以及依據比例關係建立操控平面與顯示畫面的每一座標位置之間的對應關係,藉以透過操控平面來控制顯示畫面的內容。 The electronic device of the present invention includes: an image capturing unit that captures an image toward a display screen of the display unit along a specified direction, wherein the image is displayed with a pattern, and the image includes a polygon pattern corresponding to the pattern, and The processing direction is not parallel to the normal direction of the display screen; and the processing unit is coupled to the image capturing unit and the display unit, wherein the processing unit obtains the correction information by analyzing the polygon graphic, and based on the correction information, A control plane corresponding to the display screen is established in the space, wherein the size of the manipulation plane has a proportional relationship with the size of the display screen, and the correspondence relationship between the control plane and each coordinate position of the display screen is established according to the proportional relationship, thereby Plane to control the content of the display.
基於上述,本發明可讓使用者進行操作之前,自動在空間中定義一個操控平面,使得使用者可在操控平面中進行手勢操作來控制顯示畫面的內容,從而提高在空間中對顯示畫面進行操作的便利性。 Based on the above, the present invention can automatically define a manipulation plane in the space before the user performs the operation, so that the user can perform gesture operations in the manipulation plane to control the content of the display screen, thereby improving the operation of the display screen in the space. Convenience.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.
100‧‧‧電子裝置 100‧‧‧Electronic devices
110‧‧‧取像單元 110‧‧‧Image capture unit
120‧‧‧處理單元 120‧‧‧Processing unit
130‧‧‧儲存單元 130‧‧‧storage unit
131‧‧‧圖樣設定模組 131‧‧‧ pattern setting module
132‧‧‧分析模組 132‧‧‧Analysis module
133‧‧‧平面設定模組 133‧‧‧Flat setting module
210‧‧‧顯示單元 210‧‧‧Display unit
410‧‧‧圖樣 410‧‧‧ pattern
420‧‧‧影像 420‧‧ images
430‧‧‧多邊形圖形 430‧‧‧ Polygon graphics
431~433‧‧‧頂點 Vertex 431~433‧‧‧
d‧‧‧間距 D‧‧‧ spacing
D1‧‧‧指定方向 D1‧‧‧Specified direction
DB1~DB4、TB1~TB4‧‧‧邊界 DB1~DB4, TB1~TB4‧‧‧ boundary
DS‧‧‧顯示畫面 DS‧‧‧ display
ND‧‧‧法線方法 ND‧‧‧ normal method
TP‧‧‧操控平面 TP‧‧‧ control plane
S305~S325‧‧‧校正方法各步驟 S305~S325‧‧‧Steps of calibration method
圖1是依照本發明一實施例的電子裝置的功能方塊示意圖。 1 is a functional block diagram of an electronic device in accordance with an embodiment of the present invention.
圖2是依照本發明一實施例的三維互動系統的配置的示意圖。 2 is a schematic diagram of a configuration of a three-dimensional interactive system in accordance with an embodiment of the present invention.
圖3是依照本發明一實施例之基於圖樣的校正方法的流程圖。 3 is a flow chart of a pattern-based correction method in accordance with an embodiment of the present invention.
圖4A是依照本發明一實施例的於顯示畫面中顯示圖樣的示意圖。 4A is a schematic diagram of displaying a pattern on a display screen in accordance with an embodiment of the present invention.
圖4B是依照本發明一實施例的具有多邊形圖形的影像的示意圖。 4B is a schematic diagram of an image having a polygonal pattern in accordance with an embodiment of the present invention.
圖5是依照本發明一實施例之基於圖樣的校正方法的示意圖。 FIG. 5 is a schematic diagram of a pattern-based correction method in accordance with an embodiment of the present invention.
為了使本揭露之內容可以被更容易明瞭,以下特舉實施例作為本揭露確實能夠據以實施的範例。 In order to make the disclosure of the present disclosure easier to understand, the following specific embodiments are examples that can be implemented by the present disclosure.
圖1是依照本發明一實施例的電子裝置的功能方塊示意圖。圖2是依照本發明一實施例的三維互動系統的配置的示意圖。請同時參照圖1及圖2,電子裝置100用以在三維互動系統中來對顯示單元210的顯示畫面DS進行控制。在本實施例中,顯示單元210例如為投影顯示器,而電子裝置100設置於顯示畫面DS的下方。然,在其他實施例中,顯示單元210亦可以為任一類型的顯 示器,例如為液晶顯示器(Liquid Crystal Display,LCD)、發光二極管(Light Emitting Diode,LED)顯示器或軟性顯示器。 1 is a functional block diagram of an electronic device in accordance with an embodiment of the present invention. 2 is a schematic diagram of a configuration of a three-dimensional interactive system in accordance with an embodiment of the present invention. Referring to FIG. 1 and FIG. 2 simultaneously, the electronic device 100 is configured to control the display screen DS of the display unit 210 in the three-dimensional interactive system. In the embodiment, the display unit 210 is, for example, a projection display, and the electronic device 100 is disposed below the display screen DS. However, in other embodiments, the display unit 210 can also be any type of display. The display device is, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, or a flexible display.
在此,電子裝置100設置於顯示單元210的下方,沿著指定方向D1(取像方向),而朝向顯示單元210的顯示畫面DS來擷取影像。然,在其他實施例中,電子裝置100亦可設置於顯示單元210的上方、左方、右方等顯示畫面DS的周圍。即,取像單元110所配置的位置可沿著一指定方向D1,朝向顯示畫面DS來擷取影像,且指定方向D1與顯示畫面DS的法線方向ND不互相平行即可。 Here, the electronic device 100 is disposed below the display unit 210 and captures an image toward the display screen DS of the display unit 210 along the designated direction D1 (the image capturing direction). However, in other embodiments, the electronic device 100 may also be disposed around the display screen DS such as upper, left, and right of the display unit 210. That is, the position of the image capturing unit 110 can be captured along the display direction DS along a specified direction D1, and the specified direction D1 and the normal direction ND of the display screen DS are not parallel to each other.
上述指定方向D1與法線方向ND之間的夾角可設定為介於一角度範圍內,其中上述角度範圍是基於取像單元110的鏡頭種類而決定。角度範圍例如為90°±θ,上述θ是根據取像單元110的鏡頭種類而決定。例如,鏡頭的廣角越大,則上述θ越大。例如,上述角度範圍為90°±45°,即,45°~135°;或者上述角度範圍為90°±30°,即60°~120°。另,指定方向D1與法線方向ND之間的夾角較佳為90度。在本實施例中,指定方向D1實質上垂直於顯示畫面DS的法線方向ND。 The angle between the specified direction D1 and the normal direction ND may be set to be within an angle range, wherein the angle range is determined based on the type of the lens of the image capturing unit 110. The angle range is, for example, 90°±θ, and the above θ is determined according to the type of lens of the image capturing unit 110. For example, the larger the wide angle of the lens, the larger the above θ. For example, the above angle range is 90°±45°, that is, 45° to 135°; or the above angle range is 90°±30°, that is, 60° to 120°. Further, the angle between the specified direction D1 and the normal direction ND is preferably 90 degrees. In the present embodiment, the specified direction D1 is substantially perpendicular to the normal direction ND of the display screen DS.
電子裝置100包括取像單元110、處理單元120以及儲存單元130。取像單元110例如為深度攝影機(depth camera)或立體攝影機,或者取像單元110亦可以是任何具有電荷耦合元件(Charge coupled device,CCD)鏡頭、互補式金氧半電晶體(Complementary metal oxide semiconductor transistors,CMOS) 鏡頭、或紅外線鏡頭的攝影機/照相機。取像單元110用以沿著指定方向D1,朝向顯示單元210的顯示畫面DS來擷取影像。在顯示畫面DS中顯示有一圖樣(pattern)的情況下,所擷取的影像中會包括對應於上述圖樣的多邊形圖形。 The electronic device 100 includes an image capturing unit 110, a processing unit 120, and a storage unit 130. The image capturing unit 110 is, for example, a depth camera or a stereo camera, or the image capturing unit 110 may be any of a charge coupled device (CCD) lens and a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor). Transistors, CMOS) Camera/camera with lens or infrared lens. The image capturing unit 110 is configured to capture an image toward the display screen DS of the display unit 210 along the specified direction D1. In the case where a pattern is displayed on the display screen DS, the captured image includes a polygon pattern corresponding to the above pattern.
處理單元120耦接至取像單元110及儲存單元130。並且,處理單元120亦可以有線或無線的方式耦接至顯示單元210。處理單元120依據取像單元110所擷取的影像進行影像處理與分析,藉以來控制顯示畫面DS所顯示的內容。在本實施例中,處理單元130例如為中央處理單元(Central Processing Unit,CPU)、圖形處理單元(Graphics Processing Unit,GPU),或是其他可程式化之微處理器(Microprocessor)等裝置。 The processing unit 120 is coupled to the image capturing unit 110 and the storage unit 130. Moreover, the processing unit 120 can also be coupled to the display unit 210 in a wired or wireless manner. The processing unit 120 performs image processing and analysis according to the image captured by the image capturing unit 110, and controls the content displayed on the display screen DS. In this embodiment, the processing unit 130 is, for example, a central processing unit (CPU), a graphics processing unit (GPU), or other programmable microprocessor (Microprocessor).
儲存單元130例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合,而用以記錄可由處理單元120執行的多個模組,進而來實現在空間中定義操控平面的校正方法。舉例來說,上述模組包括圖樣設定模組131、分析模組132以及平面設定模組133。然,在此僅為舉例說明,並不以此為限。 The storage unit 130 is, for example, any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory (Flash memory), hard A disc or other similar device or combination of these devices is used to record a plurality of modules executable by the processing unit 120 to implement a method of correcting the control plane in space. For example, the module includes a pattern setting module 131, an analysis module 132, and a plane setting module 133. However, this is merely an example and is not limited thereto.
圖樣設定模組131用以提供一圖樣至顯示畫面DS中進行顯示,使得取像單元110來擷取顯示有上述圖樣的顯示畫面DS的影像。分析模組132用以分析取像單元110所擷取的影像。平面設定模組133基於分析模組132的分析結果,在空間中建立對應 於顯示畫面DS的操控平面。 The pattern setting module 131 is configured to provide a pattern to the display screen DS for display, so that the image capturing unit 110 captures the image of the display screen DS on which the pattern is displayed. The analysis module 132 is configured to analyze the image captured by the image capturing unit 110. The plane setting module 133 establishes a correspondence in the space based on the analysis result of the analysis module 132. The display plane of the display screen DS.
底下即搭配上述圖1及圖2來說明在空間中定義操控平面的校正方法。圖3是依照本發明一實施例之基於圖樣的校正方法的流程圖。請同時參照圖1~圖3,首先,透過圖樣設定模組131提供一圖樣至顯示單元210,而於顯示單元210的顯示畫面DS中顯示上述圖樣(步驟S305)。而圖樣的多個顯示畫素平均分佈在顯示畫面DS上的指定區域,指定區域可以是整個顯示畫面DS,亦可以是顯示畫面DS中的部分區域。即,指定區域的尺寸小於或等於顯示畫面DS。 The correction method for defining the control plane in space is described below with reference to FIG. 1 and FIG. 2 described above. 3 is a flow chart of a pattern-based correction method in accordance with an embodiment of the present invention. Referring to FIG. 1 to FIG. 3 simultaneously, first, a pattern is provided to the display unit 210 through the pattern setting module 131, and the pattern is displayed on the display screen DS of the display unit 210 (step S305). The plurality of display pixels of the pattern are evenly distributed in a designated area on the display screen DS, and the designated area may be the entire display screen DS or a partial area in the display screen DS. That is, the size of the designated area is less than or equal to the display screen DS.
接著,透過取像單元110沿著指定方向D1,朝向顯示畫面DS來擷取具有對應於上述圖樣的多邊形圖形的影像(步驟S310)。也就是說,取像單元110所擷取的影像中所形成的多邊形圖形,其是由於指定方向D1與顯示畫面DS的法線方向ND具有一夾角,因而在取像單元110在擷取顯示有上述圖樣的顯示畫面DS的影像時,因夾角關係使得上述圖樣在擷取的影像中造成變形,進而形成所述的多邊形圖形。 Next, the image capturing unit 110 captures the image having the polygon pattern corresponding to the pattern toward the display screen DS in the specified direction D1 (step S310). That is, the polygon pattern formed in the image captured by the image capturing unit 110 is because the specified direction D1 has an angle with the normal direction ND of the display image DS, and thus the image capturing unit 110 is displayed in the captured image. When the image of the display screen DS of the above pattern is displayed, the pattern is deformed in the captured image due to the angle relationship, and the polygonal pattern is formed.
舉例來說,圖4A是依照本發明一實施例的於顯示畫面中顯示圖樣的示意圖。圖4B是依照本發明一實施例的具有多邊形圖形的影像的示意圖。在本實施例中,以內部為填滿方格樣式的矩形作為圖樣410,在顯示畫面DS中顯示圖樣410,如圖4A所示。然,圖4A所示的圖樣410僅為其中一例,在其他實施例亦可選用其他填滿樣式,在此並不限制。 For example, FIG. 4A is a schematic diagram of displaying a pattern on a display screen according to an embodiment of the invention. 4B is a schematic diagram of an image having a polygonal pattern in accordance with an embodiment of the present invention. In the present embodiment, a rectangle 410 filled with a checkered pattern inside is used as the pattern 410, and the pattern 410 is displayed on the display screen DS as shown in FIG. 4A. However, the pattern 410 shown in FIG. 4A is only one example, and other filling patterns may be selected in other embodiments, which are not limited herein.
而取像單元110由下往上來進行拍攝,進而可獲得如圖4B所示的影像420。影像420包括一多邊形圖形430,此多邊形圖形430是對應於圖樣410而形成的梯形。另外,在其他實施例中亦可將取像單元110設置在顯示畫面DS的上方,而由上往下進行拍攝,在此並不限定 The image capturing unit 110 is photographed from the bottom up, and an image 420 as shown in FIG. 4B can be obtained. The image 420 includes a polygonal graphic 430 that is a trapezoid formed corresponding to the pattern 410. In addition, in other embodiments, the image capturing unit 110 may be disposed above the display screen DS, and the image is taken from the top to the bottom, which is not limited herein.
之後,透過處理單元120來分析影像420中的多邊形圖形430而獲得校正資訊(步驟S315)。例如,由分析模組132來對影像進行分析,進而獲得多邊形圖形430的多個頂點431~433各自的位置資訊,而以上述位置資訊作為校正資訊。 Thereafter, the polygon graphic 430 in the image 420 is analyzed by the processing unit 120 to obtain correction information (step S315). For example, the analysis module 132 analyzes the image to obtain the position information of each of the plurality of vertices 431 433 433 of the polygon pattern 430 , and uses the position information as the correction information.
接著,處理單元120基於校正資訊,在空間中建立對應於顯示畫面DS的操控平面(步驟S320),其中操控平面的大小與顯示畫面DS的尺寸具有比例關係。例如,平面設定模組133會基於上述頂點431~434的位置資訊以及一夾角資訊,即指定方向D1與顯示畫面DS的法線方向ND間的夾角資訊,藉此來定義操控平面的多個邊界,並計算各邊界的邊界長度,再依據這些邊界長度與顯示畫面DS的尺寸,計算出比例關係。然後,依據比例關係建立操控平面與顯示畫面DS的每一座標位置之間的對應關係(步驟S325),藉以透過操控平面來控制顯示畫面DS的內容。 Next, the processing unit 120 establishes a manipulation plane corresponding to the display screen DS in the space based on the correction information (step S320), wherein the size of the manipulation plane has a proportional relationship with the size of the display screen DS. For example, the plane setting module 133 defines the multiple boundaries of the manipulation plane based on the position information of the vertices 431 434 434 and an angle information, that is, the angle information between the specified direction D1 and the normal direction ND of the display screen DS. And calculate the boundary length of each boundary, and then calculate the proportional relationship according to the length of the boundary and the size of the display screen DS. Then, a correspondence relationship between the manipulation plane and each coordinate position of the display screen DS is established according to the proportional relationship (step S325), whereby the content of the display screen DS is controlled through the manipulation plane.
舉例來說,圖5是依照本發明一實施例之基於圖樣的校正方法的示意圖。如圖5所示,顯示畫面DS中顯示有圖樣410,處理單元120執行上述步驟S315~S325而獲得操控平面TP。在圖5中,還可事先設定好操控平面TP與顯示畫面DS之間的間距d, 其中上述間距d可以為大於或等於0。 For example, FIG. 5 is a schematic diagram of a pattern-based correction method in accordance with an embodiment of the present invention. As shown in FIG. 5, a pattern 410 is displayed on the display screen DS, and the processing unit 120 performs the above steps S315 to S325 to obtain the manipulation plane TP. In FIG. 5, the spacing d between the control plane TP and the display screen DS can also be set in advance, Wherein the above spacing d can be greater than or equal to zero.
在實際應用中,取像單元110可包括深度攝影機以及彩色攝影機。由於深度攝影機所取得的深度影像僅具有深度值,因此可再透過一般的彩色攝影機來取得彩色影像,使得分析模組132對彩色影像進行辨識來找出多邊形圖形430的輪廓,進而獲得其頂點431~434。然後,平面設定模組133依據多邊形圖形430的頂點431~434於影像420的位置資訊,搭配其各自的深度值與指定方向D1與顯示畫面DS的法線方向ND間的夾角資訊,便可知道圖樣410在空間中的位置,進而定義出操控平面TP的各個邊界TB1~TB4及其邊界長度。其中,操控平面TP的邊界TB1~TB4同樣會分別對應於顯示畫面DS的邊界DB1~DB4。 In practical applications, the image capturing unit 110 may include a depth camera and a color camera. Since the depth image obtained by the depth camera only has a depth value, the color image can be obtained through a general color camera, so that the analysis module 132 recognizes the color image to find the outline of the polygon pattern 430, thereby obtaining the vertex 431. ~434. Then, the plane setting module 133 can know the position information of the image 420 according to the position information of the vertices 431 to 434 of the polygon pattern 430, and the angle information between the respective depth values and the specified direction D1 and the normal direction ND of the display screen DS. The position of the pattern 410 in space further defines the boundaries TB1~TB4 of the control plane TP and their boundary lengths. The boundaries TB1 to TB4 of the control plane TP also correspond to the boundaries DB1 to DB4 of the display screen DS, respectively.
其後,平面設定模組133會計算操控平面TP的各邊界TB1~TB4與顯示畫面DS上對應的邊界DB1~DB4的長度比例,並且以此計算結果做為操控平面TP與顯示畫面DS間的比例關係,進而依據所述比例關係來建立操控平面TP與顯示畫面DS上的每一座標位置之間的對應關係。 Thereafter, the plane setting module 133 calculates the length ratio of the boundaries TB1 TB4 of the control plane TP and the corresponding boundaries DB1 □ DB4 on the display screen DS, and uses the calculation result as the control plane TP and the display screen DS. The proportional relationship further establishes a correspondence between the manipulation plane TP and each coordinate position on the display screen DS according to the proportional relationship.
例如,操控平面TP的高度為H2且寬度為W2。而顯示畫面DS的高度為H1且寬度為W1。故,平面設定模組133所計算出的顯示畫面DS與操控平面TP之間的比例關係可包括高度比例關係H1/H2以及寬度比例關係W1/W2。而平面設定模組133可依據上述比例關係,進一步建立操控平面TP的座標位置(X1,Y1)與顯示畫面DS的座標位置(X2,Y2)之間的對應關係。例如, X2=X1×(W1/W2),Y2=Y1×(H1/H2)。然,在此僅為舉例說明,並不以此為限。 For example, the steering plane TP has a height of H2 and a width of W2. The height of the display screen DS is H1 and the width is W1. Therefore, the proportional relationship between the display screen DS calculated by the plane setting module 133 and the manipulation plane TP may include a height proportional relationship H1/H2 and a width proportional relationship W1/W2. The plane setting module 133 can further establish a correspondence relationship between the coordinate position (X1, Y1) of the manipulation plane TP and the coordinate position (X2, Y2) of the display screen DS according to the above proportional relationship. E.g, X2 = X1 × (W1/W2), Y2 = Y1 × (H1/H2). However, this is merely an example and is not limited thereto.
在圖5中,操控平面TP與顯示畫面DS的比例關係例如為1:1,亦即,操控平面TP與顯示畫面DS具有相同面積,使得操控平面TP上的座標位置可直接轉換為顯示畫面DS上的座標位置,但本發明不僅限於此。 In FIG. 5, the proportional relationship between the control plane TP and the display screen DS is, for example, 1:1, that is, the control plane TP has the same area as the display screen DS, so that the coordinate position on the manipulation plane TP can be directly converted into the display screen DS. The coordinate position on the above, but the invention is not limited to this.
在其他實施例中,經由上述校正方法所建立的操控平面TP,其大小並不限定必須與顯示畫面DS的尺寸相同,可視圖樣410的顯示畫素所平均分布的指定區域的尺寸來決定。也就是說,可以尺寸小於顯示畫面DS的指定區域來顯示圖樣410,再經由上述步驟S310~S325,即可獲得尺寸小於顯示畫面DS的操控平面。 In other embodiments, the size of the manipulation plane TP established via the above-described correction method is not limited to be the same as the size of the display screen DS, and may be determined by the size of the designated area in which the display pixels of the view 410 are evenly distributed. That is to say, the pattern 410 can be displayed in a size smaller than the designated area of the display screen DS, and the control plane having a size smaller than the display screen DS can be obtained through the above steps S310 to S325.
綜上所述,上述實施例提出一種基於圖樣的校正方法及電子裝置,利用顯示畫面的圖樣在空間中定義操控平面,而透過操控平面來控制顯示畫面的內容。透過上述實施方式,可令使用者於進行互動操作之前,自動在空間中定義出一操控平面,從而提高使用者操作三維互動系統的便利性。 In summary, the above embodiment provides a pattern-based correction method and an electronic device, which uses a pattern of a display screen to define a manipulation plane in space, and controls a content of the display screen through a manipulation plane. Through the above embodiments, the user can automatically define a control plane in the space before the interactive operation, thereby improving the convenience of the user to operate the three-dimensional interactive system.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.
S305~S325‧‧‧基於圖樣的校正方法各步驟 S305~S325‧‧‧Steps based on the calibration method
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103100203A TW201528049A (en) | 2014-01-03 | 2014-01-03 | Correction method based on pattern and electronic apparatus |
CN201410051730.4A CN104765508A (en) | 2014-01-03 | 2014-02-14 | Pattern-based correction method and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW103100203A TW201528049A (en) | 2014-01-03 | 2014-01-03 | Correction method based on pattern and electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201528049A true TW201528049A (en) | 2015-07-16 |
Family
ID=53647383
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103100203A TW201528049A (en) | 2014-01-03 | 2014-01-03 | Correction method based on pattern and electronic apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104765508A (en) |
TW (1) | TW201528049A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI581636B (en) * | 2016-05-23 | 2017-05-01 | 鴻海精密工業股份有限公司 | Screen display ratio adjusting aparatus and method |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106095199A (en) * | 2016-05-23 | 2016-11-09 | 广州华欣电子科技有限公司 | A kind of touch-control localization method based on projection screen and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100851977B1 (en) * | 2006-11-20 | 2008-08-12 | 삼성전자주식회사 | Controlling Method and apparatus for User Interface of electronic machine using Virtual plane. |
JP4318056B1 (en) * | 2008-06-03 | 2009-08-19 | 島根県 | Image recognition apparatus and operation determination method |
JP4900741B2 (en) * | 2010-01-29 | 2012-03-21 | 島根県 | Image recognition apparatus, operation determination method, and program |
CN102929434B (en) * | 2011-08-12 | 2015-11-11 | 群丰科技股份有限公司 | Optical projection system and its image treatment method |
-
2014
- 2014-01-03 TW TW103100203A patent/TW201528049A/en unknown
- 2014-02-14 CN CN201410051730.4A patent/CN104765508A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI581636B (en) * | 2016-05-23 | 2017-05-01 | 鴻海精密工業股份有限公司 | Screen display ratio adjusting aparatus and method |
US10163190B2 (en) | 2016-05-23 | 2018-12-25 | Nanning Fugui Precision Industrial Co., Ltd. | Screen display ratio adjusting apparatus and method |
Also Published As
Publication number | Publication date |
---|---|
CN104765508A (en) | 2015-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20130257736A1 (en) | Gesture sensing apparatus, electronic system having gesture input function, and gesture determining method | |
US9645735B2 (en) | Information processing device and information processing method | |
US20120169671A1 (en) | Multi-touch input apparatus and its interface method using data fusion of a single touch sensor pad and an imaging sensor | |
JP6146094B2 (en) | Information operation display system, display program, and display method | |
JP2015114818A (en) | Information processing device, information processing method, and program | |
US20190266798A1 (en) | Apparatus and method for performing real object detection and control using a virtual reality head mounted display system | |
CN111694528B (en) | Typesetting identification method of display wall and electronic device using same | |
TWI496094B (en) | Gesture recognition module and gesture recognition method | |
CN105074780B (en) | System and method for interactive image caricature generation by an electronic device | |
US10783802B2 (en) | Lip gloss guide device and method thereof | |
US20150253933A1 (en) | Optical touch apparatus and optical touch method | |
US9269004B2 (en) | Information processing terminal, information processing method, and program | |
JP2014029656A (en) | Image processor and image processing method | |
TWI505135B (en) | Control system for display screen, control apparatus and control method | |
KR101087998B1 (en) | Apparatus and method for pointing control | |
TW201439813A (en) | Display device, system and method for controlling the display device | |
JP6549764B1 (en) | IMAGE PROJECTION SYSTEM, IMAGE PROJECTION METHOD, AND PROGRAM | |
TW201528049A (en) | Correction method based on pattern and electronic apparatus | |
TW201539252A (en) | Touch Control System | |
CN103605436B (en) | Interaction projection location method and interaction projection device | |
US20140375777A1 (en) | Three-dimensional interactive system and interactive sensing method thereof | |
JP2016095557A (en) | Display control device and display control method | |
TWI502470B (en) | Method and system for creating virtual keyboard | |
WO2016165362A1 (en) | Projection display method, device, electronic apparatus and computer storage medium | |
JP2013109538A (en) | Input method and device |