TW201738848A - Method and system for real time tracking of camera movement based on graphic recognition which generate a 3D animation image according to a movement information - Google Patents

Method and system for real time tracking of camera movement based on graphic recognition which generate a 3D animation image according to a movement information Download PDF

Info

Publication number
TW201738848A
TW201738848A TW105112903A TW105112903A TW201738848A TW 201738848 A TW201738848 A TW 201738848A TW 105112903 A TW105112903 A TW 105112903A TW 105112903 A TW105112903 A TW 105112903A TW 201738848 A TW201738848 A TW 201738848A
Authority
TW
Taiwan
Prior art keywords
image
camera
animation
angle
drawing device
Prior art date
Application number
TW105112903A
Other languages
Chinese (zh)
Inventor
Dobromir Todorov
Ting-Chien Lin
Chien-Hung Shih
Original Assignee
Next Animation Studio Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Next Animation Studio Ltd filed Critical Next Animation Studio Ltd
Priority to TW105112903A priority Critical patent/TW201738848A/en
Publication of TW201738848A publication Critical patent/TW201738848A/en

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

Provided is a method for real time tracking of camera movement based on graphic recognition, which comprises: arranging a plurality of graphic blocks each of which corresponds to an identification code on the inner wall surface of each side plate of a box body, taking an image of the inside of the box body by using a camera, and transmitting the image and a visual angle corresponding to the image to an arithmetic device, checking and finding three-dimensional coordinates corresponding to each of the identification codes from a comparison table according to the identification codes corresponding to the graphic blocks contained in the image, calculating a two dimensional coordinate of each graphic block in the image, then calculating a coordinate and an angle of the camera according to the three-dimensional coordinates, the two-dimensional coordinates and the visual angle of the plurality of graphic blocks, and transmitting the movement information containing the coordinates, the angles and the visual angles to a 3D animation drawing device so as to generate a 3D animation image according to the movement information, and transmitting the 3D animation image to a display device of the camera for display. The present invention further provides a system for real time tracking of camera movement based on graphic recognition, which is used for providing a movement information of the camera to a 3D animation drawing device so as to generate a real time 3D animation image according to movement information; the system comprises a box body, which is provided with an opening, five connected side plates, the inner surface of each side plate is distributed with a plurality of graphic blocks and each graphic block corresponds to only one identification code; an arithmetic device, which is electrically coupled with the 3D animation drawing device and comprises a processor and a storage unit; and a camera, which is electrically coupled with the arithmetic device and the 3D animation drawing device, and comprises a lens and a display device.

Description

基於圖形辨識的攝影機運動即時追蹤方法及系統Camera motion instant tracking method and system based on graphic recognition

本發明是有關於一種攝影機運動追蹤方法,特別是指一種應用於繪製3D動畫場景之基於圖形辨識的攝影機運動即時追蹤方法。The invention relates to a camera motion tracking method, in particular to a camera recognition based motion tracking method for drawing a 3D animation scene.

現有3D動畫繪圖軟體在繪製3D動畫場景時,需根據一虛擬攝影機提供的座標、角度及視角等參數來即時變更3D場景中的視角、位移、旋轉和縮放,使3D動畫場景呈現影片想要拍攝的角度及畫面,因此操作者需透過一操作介面,例如滑鼠等操控裝置來設定虛擬攝影機的座標、角度及視角等參數,以決定3D動畫場景。但是操作者透過操作介面來控制虛擬攝影機,很難做到如同真實攝影機運鏡時隨心所欲且直覺地控制虛擬攝影機順暢地移動及旋轉,因此在製作3D動畫場景的過程中,需不斷地修正虛擬攝影機的參數,且產生的3D動畫場景亦不像真實攝影機運鏡所產生的影像般自然流暢。The existing 3D animation drawing software needs to instantly change the angle of view, displacement, rotation and zoom in the 3D scene according to the coordinates, angles and angles of view provided by a virtual camera, so that the 3D animation scene presents the movie and wants to shoot. The angle and the picture, so the operator needs to set the coordinates, angle and angle of view of the virtual camera through an operation interface, such as a mouse, to determine the 3D animation scene. However, the operator controls the virtual camera through the operation interface. It is difficult to control the virtual camera to move and rotate smoothly as if the real camera is operating. Therefore, in the process of creating a 3D animation scene, the virtual camera needs to be constantly modified. The parameters, and the resulting 3D animation scene is not as natural as the image produced by the real camera.

因此,若能即時追蹤真實攝影機運鏡的運動軌跡,並以該運動軌跡所包含的座標、角度及視角等參數做為虛擬攝影機提供給3D動畫繪圖軟體的參數,將能使3D動畫繪圖軟體產生的3D動畫場景所呈現的角度及畫面如同真實攝影機運鏡般自然流暢。Therefore, if the trajectory of the real camera mirror can be tracked in real time, and the coordinates, angles and angles of view included in the trajectory are used as parameters of the virtual camera for the 3D animation drawing software, the 3D animation drawing software can be generated. The angles and images presented by the 3D animated scene are as natural as the real camera.

因此,本發明之目的,即在提供一種基於圖形辨識的攝影機運動即時追蹤方法及系統,其能提供攝影機的一運動軌跡給一3D動畫繪圖裝置,使根據該運動軌跡即時產生3D動畫影像。Therefore, the object of the present invention is to provide a camera motion tracking method and system based on pattern recognition, which can provide a motion track of a camera to a 3D animation drawing device, so that a 3D animation image can be instantly generated according to the motion track.

於是,本發明基於圖形辨識的攝影機運動即時追蹤方法,用以提供攝影機的一運動資訊給一3D動畫繪圖裝置;該方法包括:提供一箱體,其具有一開口及五個相連接的側板,每一側板的內壁面佈設複數個相同尺寸的圖塊,每一圖塊對應唯一的一識別碼;以一攝影機從該開口進入該箱體內部運鏡拍攝,使持續擷取該箱體內部的一影像,並即時傳送該影像與其對應的一視角給一運算裝置;該運算裝置儲存一對照表,其中記錄每一圖塊的該識別碼對應的一三維座標,該三維座標標示所對應的該圖塊在該箱體內的座標位置,且該運算裝置分析該攝影機傳來的該影像包含的複數個圖塊所對應的該識別碼,以從該對照表中查出與各該識別碼對應的三維座標,並計算各該圖塊在該影像中的一二維座標,以根據該等圖塊的三維座標、二維座標及該視角,計算該攝影機拍攝該影像時在該箱體內部的一座標及一角度,並傳送包含該座標、該角度及該視角的該運動資訊給該3D動畫繪圖裝置;及該3D動畫繪圖裝置根據該運動資訊產生一3D動畫影像,並傳送至設於該攝影機的一顯示器顯示。Therefore, the present invention is based on a pattern recognition camera motion tracking method for providing a motion information of a camera to a 3D animation drawing device; the method comprises: providing a box having an opening and five connected side panels, A plurality of tiles of the same size are arranged on the inner wall surface of each side plate, and each of the tiles corresponds to a unique identification code; a camera is used to enter the interior of the box from the opening, so that the interior of the box is continuously captured. An image, and immediately transmitting the image and a corresponding angle of view to an operation device; the operation device stores a comparison table, wherein a three-dimensional coordinate corresponding to the identification code of each tile is recorded, and the three-dimensional coordinate indicates the corresponding The coordinate position of the block in the box, and the computing device analyzes the identification code corresponding to the plurality of tiles included in the image transmitted by the camera, so as to find out from the comparison table, corresponding to each identification code. a three-dimensional coordinate, and calculating a two-dimensional coordinate of each of the tiles in the image, to calculate the photography according to the three-dimensional coordinates, the two-dimensional coordinates of the tiles, and the viewing angle When the image is taken, a mark inside the box is marked with an angle, and the motion information including the coordinate, the angle and the angle of view is transmitted to the 3D animation drawing device; and the 3D animation drawing device generates a motion according to the motion information. The 3D animated image is transmitted to a display provided on the camera.

此外,本發明一種實現上述方法的基於圖形辨識的攝影機運動即時追蹤系統,用以提供攝影機的一運動資訊給一3D動畫繪圖裝置,使根據該運動資訊即時產生一3D動畫影像;該系統包括一箱體、一運算裝置及一攝影機。該箱體具有一開口及五個相連接的側板,每一側板的內壁面佈設複數個相同尺寸的圖塊,每一圖塊對應唯一的一識別碼;該運算裝置與該3D動畫繪圖裝置電耦接,並包含一處理器及一儲存單元,該儲存單元存有一對照表,其中記錄每一圖塊的該識別碼對應的一三維座標,該三維座標標示所對應的該圖塊在該箱體內的座標位置;該攝影機與該運算裝置及該3D動畫繪圖裝置電耦接,並包含一鏡頭及一顯示器,該攝影機從該開口進入該箱體內部拍攝時,該鏡頭擷取該箱體內部的一影像,並將該影像及其對應的一視角傳送給該運算裝置,且該顯示器顯示該3D動畫繪圖裝置傳來的該3D動畫影像;其中該運算裝置的該處理器分析該影像中包含的複數個圖塊所對應的該識別碼,以從該對照表中查出與各該識別碼對應的三維座標,並計算各該圖塊在該影像中的一二維座標,以根據該等圖塊的三維座標、二維座標及該視角,計算該攝影機拍攝該影像時在該箱體內部的一座標及一角度,並傳送包含該座標、該角度及該視角的該運動資訊給該3D動畫繪圖裝置。In addition, the present invention provides a camera-based motion tracking system for implementing the above method, which provides a motion information of the camera to a 3D animation drawing device, so that a 3D animation image is instantly generated according to the motion information; the system includes a a box, an arithmetic device and a camera. The box body has an opening and five connected side plates, and the inner wall surface of each side plate is arranged with a plurality of tiles of the same size, each tile corresponding to a unique identification code; the computing device and the 3D animation drawing device are electrically Coupled to include a processor and a storage unit, the storage unit stores a look-up table, wherein a three-dimensional coordinate corresponding to the identification code of each tile is recorded, and the three-dimensional coordinate indicates that the corresponding tile is in the box a coordinate position of the body; the camera is electrically coupled to the computing device and the 3D animation drawing device, and includes a lens and a display. When the camera enters the interior of the casing from the opening, the lens captures the interior of the casing An image of the image and a corresponding view thereof are transmitted to the computing device, and the display displays the 3D animated image transmitted by the 3D animation drawing device; wherein the processor of the computing device analyzes the image included The identification code corresponding to the plurality of tiles is used to find a three-dimensional coordinate corresponding to each identification code from the comparison table, and calculate a two-dimensionality of each tile in the image. Marking, according to the three-dimensional coordinates, the two-dimensional coordinates of the tiles, and the viewing angle, calculating a mark and an angle inside the box when the camera takes the image, and transmitting the coordinates, the angle, and the angle of view including the coordinates The motion information is given to the 3D animation drawing device.

在本發明的一實施例中,該識別碼是採用漢明碼編碼產生。In an embodiment of the invention, the identification code is generated using Hamming code.

在本發明的一實施例中,該攝影機的鏡頭每秒擷取N(N≧30)張影像並即時傳送給該運算裝置,該運算裝置的該處理器每秒產生該攝影機拍攝該N張影像時的N個座標及角度,且該N個座標及角度,以及與該N張影像對應的N個視角構成該攝影機每秒的一運動軌跡,使得該3D動畫繪圖裝置根據該運動軌跡每秒產生連續的N張3D動畫影像。In an embodiment of the invention, the camera captures N (N≧30) images per second and transmits the image to the computing device. The processor of the computing device generates the camera to capture the N images per second. N coordinates and angles of the time, and the N coordinates and angles, and the N angles corresponding to the N images constitute a motion trajectory per second of the camera, so that the 3D animation drawing device generates per second according to the motion trajectory Continuous N 3D animated images.

本發明之功效在於:藉由於箱體的內壁面佈設複數圖塊,且以攝影機拍攝箱體內部的影像並傳送給運算裝置,使運算裝置根據該影像包含的圖塊所對應的識別碼,查出各該圖塊在箱體內的三維座標,並計算各該圖塊在該影像中的一二維座標,以根據該等圖塊的三維座標、二維座標及該影像的一視角,計算得到攝影機拍攝影像時的一座標及一角度,進而將攝影機運鏡的一運動軌跡提供給3D動畫繪圖裝置,使根據該運動軌跡產生3D動畫影像供操作者觀看,讓操作者能從攝影機的顯示器顯示的3D動畫場景,直接且直覺地對攝影機運鏡,使得3D動畫影像呈現的場景如同真實攝影機運鏡一般自然流暢。The utility model has the advantages that the plurality of tiles are arranged on the inner wall surface of the box, and the image inside the box is photographed by the camera and transmitted to the computing device, so that the computing device checks according to the identification code corresponding to the tile included in the image. Calculating a three-dimensional coordinate of each tile in the box, and calculating a two-dimensional coordinate of each tile in the image, according to the three-dimensional coordinate, the two-dimensional coordinate of the tile, and a viewing angle of the image, The camera captures an image at an angle and an angle, and then provides a motion track of the camera mirror to the 3D animation drawing device, so that the 3D animation image is generated according to the motion track for the operator to view, so that the operator can display from the camera display. The 3D animation scene directly and intuitively moves the camera to the camera, so that the scene presented by the 3D animation image is naturally smooth as the real camera lens.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖1,是本發明基於圖形辨識的攝影機運動即時追蹤系統的一實施例,用以實現本發明基於圖形辨識的攝影機運動即時追蹤方法,以提供實體攝影機的一運動軌跡給一3D動畫繪圖裝置1;其中3D動畫繪圖裝置1主要執行一3D動畫繪圖軟體,例如3DMAX、Maya等,但不以此為限。且該3D動畫繪圖軟體需根據一虛擬攝影機提供的座標、角度及視角等參數,來產生3D動畫場景想要呈現的角度及畫面,而本實施例即為透過虛擬攝影機將上述實體攝影機的運動軌跡(其中包含實體攝影機的座標、角度及視角等參數)提供給3D動畫繪圖軟體,使根據實體攝影機的運動軌跡產生3D動畫場景想要呈現的角度及畫面。1 is an embodiment of a camera motion tracking system based on graphics recognition, which is used to implement a camera motion tracking method based on graphics recognition in the present invention to provide a motion track of a physical camera to a 3D animation drawing device. 1; wherein the 3D animation drawing device 1 mainly executes a 3D animation drawing software, such as 3DMAX, Maya, etc., but is not limited thereto. And the 3D animation drawing software needs to generate the angle and the image to be presented by the 3D animation scene according to parameters such as coordinate, angle and angle of view provided by a virtual camera, and this embodiment is to move the physical camera by the virtual camera. (The parameters including the coordinates, angle and angle of view of the solid camera) are provided to the 3D animation drawing software to generate the angle and the image to be rendered by the 3D animation scene according to the motion trajectory of the physical camera.

因此為了獲得實體攝影機的運動軌跡,本實施例主要包括一箱體2、一運算裝置3及一攝影機4。Therefore, in order to obtain the motion track of the physical camera, the embodiment mainly includes a box 2, an arithmetic device 3, and a camera 4.

如圖1所示,箱體2為矩形且具有一開口21及五個相連接的側板22,例如箱體2為一正方體,則每一側板的尺寸為例如100x100公分,但不以此為限,且每一側板22的內壁面佈設複數個相同尺寸的圖塊23,例如每一內壁面以矩陣形式平均佈設14x14個圖塊23,每一圖塊例如6x6公分,但不以此為限,而且每一圖塊23對應唯一的一識別碼;例如若箱體2為正方體,且每一內壁面佈設有14x14個圖塊23,則五個內壁面共佈設有14x14x5個圖塊23,且會有14x14x5個分別與其對應的識別碼;更確切地說,每一圖塊23上具有如圖1所示的一圖碼(圖1只畫出四個圖碼舉例說明),它是所對應的識別碼被以一編碼法,例如漢明碼(Hamming Code)編碼法產生的圖碼,但不以此限,亦即該圖碼也可以是QR碼或其它的符號或數字。因此該圖碼可根據所採用的編碼法被反向解碼而得出其所對應的該識別碼。As shown in FIG. 1 , the box body 2 is rectangular and has an opening 21 and five connected side plates 22 . For example, the box body 2 is a square body, and the size of each side plate is, for example, 100×100 cm, but not limited thereto. And a plurality of tiles 23 of the same size are disposed on the inner wall surface of each of the side plates 22. For example, each of the inner wall faces is arranged in a matrix form with an average of 14×14 tiles 23, and each tile is, for example, 6×6 cm, but not limited thereto. Moreover, each of the blocks 23 corresponds to a unique identification code; for example, if the box body 2 is a square body and each inner wall surface is provided with 14×14 tiles 23, the five inner wall surfaces are provided with 14×14×5 tiles 23, and There are 14x14x5 corresponding identification codes respectively; more precisely, each tile 23 has a picture as shown in FIG. 1 (only one picture is illustrated in FIG. 1), which is corresponding to The identification code is a code generated by an encoding method such as Hamming Code encoding method, but not limited thereto, that is, the graphic code may also be a QR code or other symbols or numbers. Therefore, the code can be inversely decoded according to the coding method used to obtain the corresponding identification code.

運算裝置3與3D動畫繪圖裝置1電耦接,並主要包含一處理器31及一儲存單元32,儲存單元32存有如下表1所示的一對照表,其中記錄每一圖塊23的該識別碼對應的一三維座標,該三維座標標示所對應的圖塊23在箱體2內的座標位置。因此,若箱體2內佈設有500個圖塊23,則表1中的m即為500。 表1The computing device 3 is electrically coupled to the 3D animation drawing device 1 and mainly includes a processor 31 and a storage unit 32. The storage unit 32 stores a comparison table as shown in Table 1 below, wherein the record of each tile 23 is recorded. A three-dimensional coordinate corresponding to the identification code, the three-dimensional coordinate indicating the coordinate position of the corresponding tile 23 in the box 2. Therefore, if 500 blocks 23 are arranged in the casing 2, m in Table 1 is 500. Table 1

且攝影機4與運算裝置3及3D動畫繪圖裝置1電耦接,並包含一鏡頭41及一顯示器42。The camera 4 is electrically coupled to the computing device 3 and the 3D animation drawing device 1 and includes a lens 41 and a display 42.

藉此,當一操作者5手持攝影機4,從箱體2的開口21將攝影機4伸入箱體2內部運鏡拍攝時,鏡頭41將持續擷取箱體2內部的一影像6,例如每秒擷取30張影像6,且該影像6中至少包含箱體2的一內壁面的局部影像,例如圖2所示,並將該等影像6及其相對應的視角(angle of view,又稱視野)依序傳送給運算裝置3。Thereby, when an operator 5 holds the camera 4 and projects the camera 4 into the interior of the casing 2 from the opening 21 of the casing 2, the lens 41 will continuously capture an image 6 inside the casing 2, for example, 30 images 6 are captured in seconds, and the image 6 includes at least a partial image of an inner wall surface of the casing 2, such as shown in FIG. 2, and the images 6 and their corresponding angles of view (angle of view, The field of view is transmitted to the arithmetic unit 3 in sequence.

運算裝置3收到影像6後,其處理器31分析每一影像6顯示的內壁面上包含幾個完整的圖塊23,以圖2為例,處理器31先判斷影像6中包含有A~E共五個完整的圖塊23,再辨識每一圖塊23中的圖碼並對該圖碼進行解碼,以取得該五個圖碼所對應的五個識別碼,並從上列表1所示的對照表中查出與該五個識別碼對應的五個三維座標,例如A~E五個圖塊23的識別碼分別為1、25、34、75、62,則從對照表中可以查得與該五個識別碼1、25、34、75、62對應的五個三維座標,例如分別為(X1,Y1,Z1)、(X25,Y25,Z25)、(X34,Y34,Z34)、(X75,Y75,Z75)、(X62,Y62,Z62)。After receiving the image 6, the processor 31 analyzes the image on the inner wall surface of each image 6 to include several complete tiles 23. Taking FIG. 2 as an example, the processor 31 first determines that the image 6 contains A~ E has five complete tiles 23, and then recognizes the code in each tile 23 and decodes the code to obtain the five identification codes corresponding to the five graphics codes, and from the above list 1 The five-dimensional coordinates corresponding to the five identification codes are found in the comparison table, for example, the identification codes of the five blocks 23 of A~E are 1, 25, 34, 75, 62, respectively, and Find five three-dimensional coordinates corresponding to the five identification codes 1, 25, 34, 75, 62, for example, (X1, Y1, Z1), (X25, Y25, Z25), (X34, Y34, Z34) , (X75, Y75, Z75), (X62, Y62, Z62).

且處理器31計算各該圖塊A~E在影像6中的一二維座標,例如(Xa,Ya)、(Xb,Yb)、(Xc,Yc)、(Xd,Yd)、(Xe,Ye),然後,處理器31即能根據上述該等圖塊A~E的三維座標、二維座標以及鏡頭41拍攝影像6時的視角,計算得到攝影機4在箱體2內部的一座標及一角度(包含水平旋轉角及垂直俯仰角),並傳送包含該座標、角度及視角等資訊的一運動資訊給3D動畫繪圖裝置1。And the processor 31 calculates a two-dimensional coordinate of each of the tiles A~E in the image 6, such as (Xa, Ya), (Xb, Yb), (Xc, Yc), (Xd, Yd), (Xe, Ye), then, the processor 31 can calculate the coordinates of the camera 4 inside the box 2 according to the three-dimensional coordinates of the above-mentioned blocks A~E, the two-dimensional coordinates, and the angle of view when the image 41 is captured by the lens 41. The angle (including the horizontal rotation angle and the vertical elevation angle), and transmits a motion information including the coordinates, the angle, and the angle of view to the 3D animation drawing device 1.

然後,處理器31持續對攝影機4連續傳來的每一張影像6進行上述處理程序,以不斷計算得到攝影機4拍攝每一張影像6時的座標及角度,並即時地將包含攝影機4拍攝每一張影像6時的座標、角度及視角的該運動資訊傳送給3D動畫繪圖裝置1。因此,運算裝置3根據箱體2中佈設的圖塊23的座標資訊,以及攝影機4運鏡過程中拍攝的箱體2內部影像,即可運算得到攝影機4在箱體2內運鏡的一運動軌跡(包含攝影機4拍攝每一張影像6時的座標、角度及視角),並即時地將該運動軌跡傳送給3D動畫繪圖裝置1。例如攝影機4每秒擷取30張影像並即時傳送給運算裝置3,則運算裝置3每秒將產生攝影機4拍攝該30張影像時的30個座標及角度,且該30個座標及角度以及與該30張影像對應的30個視角即構成攝影機4每秒的一運動軌跡,使得3D動畫繪圖裝置1根據該運動軌跡每秒產生連續的30張3D動畫影像。Then, the processor 31 continues to perform the above-mentioned processing procedure for each image 6 continuously transmitted by the camera 4, so as to continuously calculate the coordinates and angles at which the camera 4 captures each image 6, and immediately includes the camera 4 to shoot each The motion information of coordinates, angles, and angles of view of one image is transmitted to the 3D animation drawing device 1. Therefore, the computing device 3 can calculate a motion of the camera 4 in the casing 2 according to the coordinate information of the tile 23 disposed in the casing 2 and the internal image of the casing 2 captured during the mirroring of the camera 4. The trajectory (including coordinates, angles, and angles of view when the camera 4 captures each image 6), and immediately transmits the motion trajectory to the 3D animation drawing device 1. For example, if the camera 4 captures 30 images per second and transmits them to the computing device 3 in real time, the computing device 3 will generate 30 coordinates and angles when the camera 4 captures the 30 images, and the 30 coordinates and angles and The 30 viewing angles corresponding to the 30 images constitute a motion trajectory per second of the camera 4, so that the 3D animation drawing device 1 generates 30 consecutive 3D animation images per second according to the motion trajectory.

藉此,3D動畫繪圖裝置1透過虛擬攝影機將運算裝置3傳來的攝影機4的運動軌跡提供給3D繪圖軟體,則3D繪圖軟體將根據該運動軌跡即時產生3D動畫影像,並將產生的3D動畫影像即時傳送至攝影機4的顯示器42,使即時顯示3D動畫影像供操作者5觀看。因此操作者5手持攝影機4於箱體2內運鏡的同時,可以透過顯示器42看到3D動畫繪圖裝置1根據攝影機4的運動軌跡即時產生的3D動畫影像中的場景,而能根據顯示器42所顯示的3D動畫場景,直接且直覺地藉由改變攝影機4的位置或角度,即時調整3D動畫影像場景的視角、位移、旋轉和縮放等,使3D動畫影像呈現的場景如同真實攝影機運鏡一般自然流暢。Thereby, the 3D animation drawing device 1 supplies the motion track of the camera 4 transmitted from the computing device 3 to the 3D drawing software through the virtual camera, and the 3D drawing software will immediately generate the 3D animation image according to the motion track, and the generated 3D animation will be generated. The image is instantly transmitted to the display 42 of the camera 4, so that the 3D animated image is instantly displayed for viewing by the operator 5. Therefore, the operator 5 can view the scene in the 3D animation image generated by the 3D animation drawing device 1 according to the movement track of the camera 4 through the display 42 while the camera 4 is in the cabinet 2, and can be displayed according to the display 42 by the display 42. The displayed 3D animation scene directly and intuitively adjusts the angle, displacement, rotation and zoom of the 3D animation image scene by changing the position or angle of the camera 4, so that the scene presented by the 3D animation image is as natural as the real camera mirror. Smooth.

值得一提的是,本實施例的運算裝置3也可以整合在3D動畫繪圖裝置1中。It is worth mentioning that the arithmetic device 3 of the present embodiment can also be integrated in the 3D animation drawing device 1.

綜上所述,上述實施例藉由於箱體2的內壁面佈設複數圖塊,且以攝影機4拍攝箱體2內部的影像並傳送給運算裝置3,使運算裝置3根據該影像包含的圖塊所對應的識別碼,查出各該圖塊在箱體2內的三維座標,並計算各該圖塊在該影像中的一二維座標,以根據該等圖塊的三維座標、二維座標及該影像的一視角,計算得到攝影機4拍攝影像時的一座標及一角度,進而將攝影機運鏡的一運動軌跡提供給3D動畫繪圖裝置1,使根據該運動軌跡產生3D動畫影像供操作者5觀看,讓操作者5能從攝影機4的顯示器42顯示的3D動畫場景,直接且直覺地對攝影機4運鏡,使得3D動畫影像呈現的場景如同真實攝影機運鏡一般自然流暢,確實達到本發明之功效與目的。In summary, in the above embodiment, the plurality of tiles are disposed on the inner wall surface of the casing 2, and the image inside the casing 2 is captured by the camera 4 and transmitted to the arithmetic device 3, so that the computing device 3 includes the tiles according to the image. Corresponding identification code, find the three-dimensional coordinates of each tile in the box 2, and calculate a two-dimensional coordinate of each tile in the image, according to the three-dimensional coordinates and two-dimensional coordinates of the tiles And a view angle of the image, calculating a target and an angle when the camera 4 captures the image, and then providing a motion track of the camera mirror to the 3D animation drawing device 1 to generate a 3D animation image according to the motion track for the operator 5 viewing, allowing the operator 5 to directly and intuitively view the camera 4 from the 3D animation scene displayed on the display 42 of the camera 4, so that the scene presented by the 3D animation image is naturally smooth as the real camera mirror, and indeed achieves the present invention. The efficacy and purpose.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。However, the above is only the embodiment of the present invention, and the scope of the invention is not limited thereto, and all the equivalent equivalent changes and modifications according to the scope of the patent application and the patent specification of the present invention are still The scope of the invention is covered.

1‧‧‧3D動畫繪圖裝置
2‧‧‧箱體
3‧‧‧運算裝置
4‧‧‧攝影機
5‧‧‧操作者
6‧‧‧影像
21‧‧‧開口
22‧‧‧側板
23‧‧‧圖塊
31‧‧‧處理器
32‧‧‧儲存單元
41‧‧‧鏡頭
42‧‧‧顯示器
A~E‧‧‧圖塊
1‧‧‧3D animation drawing device
2‧‧‧ cabinet
3‧‧‧ arithmetic device
4‧‧‧ camera
5‧‧‧ Operator
6‧‧‧Image
21‧‧‧ openings
22‧‧‧ side panels
23‧‧‧Picture
31‧‧‧ Processor
32‧‧‧ storage unit
41‧‧‧ lens
42‧‧‧ display
A~E‧‧‧ tiles

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地顯示,其中: 圖1是本發明基於圖形辨識的攝影機運動即時追蹤系統的一實施例主要使用的裝置的示意圖;及 圖2是本實施例的攝影機擷取的影像內容示意圖。Other features and effects of the present invention will be clearly shown in the embodiments of the present invention, wherein: FIG. 1 is a schematic diagram of an apparatus mainly used in an embodiment of a camera motion tracking system based on graphics recognition of the present invention; FIG. 2 is a schematic diagram of image content captured by the camera of the embodiment.

1‧‧‧3D動畫繪圖裝置 1‧‧‧3D animation drawing device

2‧‧‧箱體 2‧‧‧ cabinet

3‧‧‧運算裝置 3‧‧‧ arithmetic device

4‧‧‧攝影機 4‧‧‧ camera

5‧‧‧操作者 5‧‧‧ Operator

6‧‧‧影像 6‧‧‧Image

21‧‧‧開口 21‧‧‧ openings

22‧‧‧側板 22‧‧‧ side panels

23‧‧‧圖塊 23‧‧‧Picture

31‧‧‧處理器 31‧‧‧ Processor

32‧‧‧儲存單元 32‧‧‧ storage unit

41‧‧‧鏡頭 41‧‧‧ lens

42‧‧‧顯示器 42‧‧‧ display

Claims (8)

一種基於圖形辨識的攝影機運動即時追蹤方法,用以提供攝影機的一運動資訊給一3D動畫繪圖裝置;該方法包括: 提供一箱體,其具有一開口及五個相連接的側板,每一側板的內壁面佈設複數個相同尺寸的圖塊,每一圖塊對應唯一的一識別碼; 以一攝影機從該開口進入該箱體內部運鏡拍攝,使持續擷取該箱體內部的一影像,並即時傳送該影像與其對應的一視角給一運算裝置; 該運算裝置儲存一對照表,其中記錄每一圖塊的該識別碼對應的一三維座標,該三維座標標示所對應的該圖塊在該箱體內的座標位置,且該運算裝置分析該攝影機傳來的該影像包含的複數個圖塊所對應的該識別碼,以從該對照表中查出與各該識別碼對應的三維座標,並計算各該圖塊在該影像中的一二維座標,以根據該等圖塊的三維座標、二維座標及該視角,計算該攝影機拍攝該影像時在該箱體內部的一座標及一角度,並傳送包含該座標、該角度及該視角的該運動資訊給該3D動畫繪圖裝置;及 該3D動畫繪圖裝置根據該運動資訊產生一3D動畫影像,並傳送至設於該攝影機的一顯示器顯示。A camera motion-based real-time tracking method for providing a motion information of a camera to a 3D animation drawing device; the method comprising: providing a box having an opening and five connected side panels, each side panel The inner wall surface is provided with a plurality of tiles of the same size, each tile corresponding to a unique identification code; a camera enters the interior of the bin from the opening to take a mirror image, so as to continuously capture an image inside the box. And transmitting the image and its corresponding view to an operation device; the operation device stores a comparison table, wherein a three-dimensional coordinate corresponding to the identification code of each tile is recorded, and the corresponding tile is indicated by the three-dimensional coordinate a coordinate position in the box, and the computing device analyzes the identification code corresponding to the plurality of tiles included in the image transmitted by the camera, to find a three-dimensional coordinate corresponding to each identification code from the comparison table, And calculating a two-dimensional coordinate of each of the tiles in the image, to calculate according to the three-dimensional coordinates, the two-dimensional coordinates of the tiles, and the viewing angle When the camera captures the image, the camera is marked with an angle inside the box, and transmits the motion information including the coordinate, the angle and the angle of view to the 3D animation drawing device; and the 3D animation drawing device generates the motion information according to the motion information. A 3D animated image is transmitted to a display provided on the camera. 如請求項1所述基於圖形辨識的攝影機運動即時追蹤方法,其中該識別碼是採用漢明碼編碼產生。The image recognition based camera motion tracking method according to claim 1, wherein the identification code is generated by Hamming code. 如請求項1所述基於圖形辨識的攝影機運動即時追蹤方法,其中該箱體為正方體,每一側板的尺寸為100x100公分,每一側板的內壁面平均佈設14x14個圖塊,每一圖塊的尺寸為6x6公分。The image recognition-based camera motion tracking method according to claim 1, wherein the box body is a square body, each side plate has a size of 100×100 cm, and an inner wall surface of each side plate is arranged with an average of 14×14 tiles, and each block has a layout of 14×14 tiles. The size is 6x6 cm. 如請求項1所述基於圖形辨識的攝影機運動即時追蹤方法,其中該攝影機每秒擷取N(N≧30)張影像並即時傳送給該運算裝置,該運算裝置每秒產生該攝影機拍攝該N張影像時的N個座標及角度,且該N個座標及角度,以及與該N張影像對應的N個視角構成該攝影機每秒的一運動軌跡,使得該3D動畫繪圖裝置根據該運動軌跡每秒產生連續的N張3D動畫影像。The image recognition-based camera motion tracking method according to claim 1, wherein the camera captures N (N≧30) images per second and transmits the image to the computing device, and the computing device generates the camera every second to capture the N. N coordinates and angles of the image, and the N coordinates and angles, and the N angles corresponding to the N images constitute a motion trajectory per second of the camera, so that the 3D animation drawing device according to the motion trajectory The second produces a continuous N 3D animated image. 一種基於圖形辨識的攝影機運動即時追蹤系統,用以提供攝影機的一運動資訊給一3D動畫繪圖裝置,使根據該運動資訊即時產生一3D動畫影像;該系統包括: 一箱體,具有一開口及五個相連接的側板,每一側板的內壁面佈設複數個相同尺寸的圖塊,每一圖塊對應唯一的一識別碼; 一運算裝置,與該3D動畫繪圖裝置電耦接,並包含一處理器及一儲存單元,該儲存單元存有一對照表,其中記錄每一圖塊的該識別碼對應的一三維座標,該三維座標標示所對應的該圖塊在該箱體內的座標位置;及 一攝影機,與該運算裝置及該3D動畫繪圖裝置電耦接,並包含一鏡頭及一顯示器,該攝影機從該開口進入該箱體內部拍攝時,該鏡頭擷取該箱體內部的一影像,並將該影像及其對應的一視角傳送給該運算裝置,且該顯示器顯示該3D動畫繪圖裝置傳來的該3D動畫影像;其中 該運算裝置的該處理器分析該影像中包含的複數個圖塊所對應的該識別碼,以從該對照表中查出與各該識別碼對應的三維座標,並計算各該圖塊在該影像中的一二維座標,以根據該等圖塊的三維座標、二維座標及該視角,計算該攝影機拍攝該影像時在該箱體內部的一座標及一角度,並傳送包含該座標、該角度及該視角的該運動資訊給該3D動畫繪圖裝置。A camera motion real-time tracking system for providing a motion information of a camera to a 3D animation drawing device to generate a 3D animation image according to the motion information; the system comprises: a box having an opening and Five connected side panels, each of which is provided with a plurality of tiles of the same size, each tile corresponding to a unique identification code; an arithmetic device electrically coupled to the 3D animation drawing device and including a a processor and a storage unit, wherein the storage unit stores a comparison table, wherein a three-dimensional coordinate corresponding to the identification code of each tile is recorded, and the three-dimensional coordinate indicates a coordinate position of the corresponding tile in the box; and a camera is electrically coupled to the computing device and the 3D animation drawing device, and includes a lens and a display. When the camera enters the interior of the casing from the opening, the lens captures an image of the interior of the casing. And transmitting the image and its corresponding view to the computing device, and the display displays the 3D transmitted by the 3D animation drawing device Drawing an image; wherein the processor of the computing device analyzes the identification code corresponding to the plurality of tiles included in the image, to find a three-dimensional coordinate corresponding to each identifier from the comparison table, and calculate each a two-dimensional coordinate of the image in the image, according to the three-dimensional coordinate, the two-dimensional coordinate of the image, and the viewing angle, calculating a point and an angle inside the box when the camera takes the image, and transmitting The motion information including the coordinates, the angle, and the angle of view is given to the 3D animation drawing device. 如請求項5所述基於圖形辨識的攝影機運動即時追蹤系統,其中該識別碼是採用漢明碼編碼產生。The image recognition based camera motion tracking system according to claim 5, wherein the identification code is generated by Hamming code. 如請求項5所述基於圖形辨識的攝影機運動即時追蹤系統,其中該箱體為正方體,每一側板的尺寸為100x100公分,每一側板的內壁面平均佈設14x14個圖塊,每一圖塊的尺寸為6x6公分。The image recognition-based camera motion tracking system according to claim 5, wherein the box body is a square body, each side plate has a size of 100×100 cm, and an inner wall surface of each side plate is arranged with an average of 14×14 tiles, and each block has The size is 6x6 cm. 如請求項5所述基於圖形辨識的攝影機運動即時追蹤系統,其中該鏡頭每秒擷取N(N≧30)張影像並即時傳送給該運算裝置,該運算裝置的該處理器每秒產生該攝影機拍攝該N張影像時的N個座標及角度,且該N個座標及角度,以及與該N張影像對應的N個視角構成該攝影機每秒的一運動軌跡,使得該3D動畫繪圖裝置根據該運動軌跡每秒產生連續的N張3D動畫影像。The image recognition-based camera motion tracking system according to claim 5, wherein the lens captures N (N≧30) images per second and transmits the image to the computing device at a time, and the processor of the computing device generates the image every second. The N coordinates and the angle when the camera captures the N images, and the N coordinates and the angle, and the N viewing angles corresponding to the N images constitute a motion trajectory of the camera per second, so that the 3D animation drawing device is based on The motion trajectory produces a continuous N 3D animated images per second.
TW105112903A 2016-04-26 2016-04-26 Method and system for real time tracking of camera movement based on graphic recognition which generate a 3D animation image according to a movement information TW201738848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105112903A TW201738848A (en) 2016-04-26 2016-04-26 Method and system for real time tracking of camera movement based on graphic recognition which generate a 3D animation image according to a movement information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105112903A TW201738848A (en) 2016-04-26 2016-04-26 Method and system for real time tracking of camera movement based on graphic recognition which generate a 3D animation image according to a movement information

Publications (1)

Publication Number Publication Date
TW201738848A true TW201738848A (en) 2017-11-01

Family

ID=61022473

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105112903A TW201738848A (en) 2016-04-26 2016-04-26 Method and system for real time tracking of camera movement based on graphic recognition which generate a 3D animation image according to a movement information

Country Status (1)

Country Link
TW (1) TW201738848A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087553A (en) * 2018-08-23 2018-12-25 广东智媒云图科技股份有限公司 A kind of imitation drawing method
TWI729322B (en) * 2018-11-08 2021-06-01 財團法人工業技術研究院 Information display system and information display method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087553A (en) * 2018-08-23 2018-12-25 广东智媒云图科技股份有限公司 A kind of imitation drawing method
TWI729322B (en) * 2018-11-08 2021-06-01 財團法人工業技術研究院 Information display system and information display method

Similar Documents

Publication Publication Date Title
TWI637348B (en) Apparatus and method for displaying image
US20170178392A1 (en) 3d scanning apparatus including scanning sensor detachable from screen
US10560683B2 (en) System, method and software for producing three-dimensional images that appear to project forward of or vertically above a display medium using a virtual 3D model made from the simultaneous localization and depth-mapping of the physical features of real objects
TWI547901B (en) Simulating stereoscopic image display method and display device
CA2907895A1 (en) Active stereo with satellite device or devices
WO2009140908A1 (en) Cursor processing method, apparatus and system
JP2003187261A5 (en)
Jia et al. 3D image reconstruction and human body tracking using stereo vision and Kinect technology
JP2015079444A5 (en)
CN208579746U (en) 3D information detecting apparatus
JP2024054137A (en) Image Display System
CN103593658A (en) Three-dimensional space positioning system based on infrared image recognition
JP2020068513A5 (en) Image processing device and its control method, program
TWI526879B (en) Interactive system, remote controller and operating method thereof
CN110088702A (en) The method for establishing environmental map for processing equipment
US20190138803A1 (en) Image processing apparatus, image processing system, and image processing method, and program
CN110880161B (en) Depth image stitching and fusion method and system for multiple hosts and multiple depth cameras
TW201738848A (en) Method and system for real time tracking of camera movement based on graphic recognition which generate a 3D animation image according to a movement information
KR101539087B1 (en) Augmented reality device using mobile device and method of implementing augmented reality
JPWO2020262261A5 (en)
CN105340258A (en) Location detection device
US20110123098A1 (en) System and a Method for Three-dimensional Modeling of a Three-dimensional Scene Features with a Cooling System
JP2009212582A (en) Feedback system for virtual studio
CN106257924B (en) Multi-visual angle filming device and multi-visual angle filming method
CN211427038U (en) Naked eye 3D display device based on water mist screen