TWI423170B - A method for tracing motion of object in multi-frame - Google Patents

A method for tracing motion of object in multi-frame Download PDF

Info

Publication number
TWI423170B
TWI423170B TW99147315A TW99147315A TWI423170B TW I423170 B TWI423170 B TW I423170B TW 99147315 A TW99147315 A TW 99147315A TW 99147315 A TW99147315 A TW 99147315A TW I423170 B TWI423170 B TW I423170B
Authority
TW
Taiwan
Prior art keywords
picture
movement
tracking
screen
main
Prior art date
Application number
TW99147315A
Other languages
Chinese (zh)
Other versions
TW201227616A (en
Inventor
Shih Yuan Peng
Chung Ta Wu
Original Assignee
Altek Corp
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 Altek Corp filed Critical Altek Corp
Priority to TW99147315A priority Critical patent/TWI423170B/en
Priority to CN201110095434.0A priority patent/CN102568000B/en
Publication of TW201227616A publication Critical patent/TW201227616A/en
Application granted granted Critical
Publication of TWI423170B publication Critical patent/TWI423170B/en

Links

Landscapes

  • Image Analysis (AREA)

Description

多畫面中物體移動的追蹤方法Tracking method for object movement in multi-picture

本發明是有關於一種多畫面影像的處理方法,且特別是有關於一種多畫面物體移動的追蹤方法。The present invention relates to a method for processing multi-picture images, and more particularly to a method for tracking multi-picture object movement.

隨著科技不斷地進步,數位產品在人們的生活中也越來越普遍。為了方便記錄生活點點滴滴,手機、數位相機以及數位攝影機等等往往都具有拍攝靜態照片或是動態影片的功能。舉例來說,這些電子產品內部會配置有電荷耦合元件(Charge-coupled Device,CCD)或是互補式金屬-氧化層-半導體(Complementary Metal-Oxide-Semiconductor,CMOS)等感光元件。As technology continues to advance, digital products are becoming more common in people's lives. In order to make it easier to record life, mobile phones, digital cameras, digital cameras and so on often have the ability to take still photos or dynamic movies. For example, these electronic products are internally provided with a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) photosensitive element.

在以CMOS感光元件為基礎的數位相機或是數位攝影機中,影像的下載時間(download time)會比較短,使得畫面更新率(frame rate)也比較高。In a digital camera or a digital camera based on a CMOS sensor, the download time of the image is relatively short, and the frame rate is also relatively high.

在傳統,以區塊匹配(block matching)為基礎的移動計算方法或是無考慮前一畫面移動偵測結果的演算法需要的運算資源相較龐大且耗時,在高解析度及高畫面需求下的應用將不敷使用。In traditional times, the mobile computing method based on block matching or the computing algorithm without considering the previous picture motion detection result is relatively large and time consuming, in high resolution and high picture demand. The next application will not be enough.

以完全搜尋(full search)式的移動比對來說,為了要計算兩畫面間物體的移動關係,必須把兩畫面的所有位置都找一遍,再根據最為匹配的結果獲得物體的移動關係。當需要知道物體在下一個畫面的移動關係時,便需依此邏輯重新再找一次。雖然,完全搜尋演算法不需作額外判斷,但當影像較大且處理時間有限的情形下,要完成多畫面下的移動關係的分析將會太過耗時也無效率,進而減低實作的可能性。In the case of a full search type of moving comparison, in order to calculate the moving relationship between objects between two pictures, it is necessary to find all the positions of the two pictures one by one, and then obtain the moving relationship of the objects according to the most matching result. When you need to know the movement relationship of the object in the next picture, you need to find it again according to this logic. Although the full search algorithm does not require additional judgment, when the image is large and the processing time is limited, it is too time-consuming and inefficient to complete the analysis of the moving relationship under multi-screen, thereby reducing the implementation. possibility.

本發明提供一種多畫面中物體移動的追蹤方法,能夠縮短移動決策(motion decision)的時間。The present invention provides a tracking method for object movement in a multi-picture, which can shorten the time of a motion decision.

本發明提出一種多畫面中物體移動的追蹤方法,包括下列步驟。首先,取得一第一畫面中一物體的一第一位置與一第二畫面中物體的一第二位置,以根據第一位置與第二位置計算一移動向量。接著,判斷移動向量是否大於一門檻參數。當移動向量大於門檻參數時,根據移動向量,從多個預定方向中選擇一主方向。然後,從一第三畫面的第二位置上,搜尋主方向附近區域,以找出物體於第三畫面的一第三位置。當移動向量小於門檻參數時,沿這些預定方向,搜尋第三畫面的第二位置的附近區域,以找出物體於第三畫面的第三位置。The invention provides a tracking method for object movement in a multi-picture, comprising the following steps. First, a first position of an object in a first picture and a second position of an object in a second picture are obtained to calculate a motion vector according to the first position and the second position. Next, it is determined whether the motion vector is greater than a threshold parameter. When the motion vector is greater than the threshold parameter, a main direction is selected from a plurality of predetermined directions according to the motion vector. Then, from the second position of a third picture, the area near the main direction is searched to find a third position of the object in the third picture. When the motion vector is smaller than the threshold parameter, the vicinity of the second position of the third picture is searched along these predetermined directions to find the third position of the object in the third picture.

在本發明之一實施例中,這些預定方向的數量為8個,且等分360度。In one embodiment of the invention, the number of these predetermined directions is eight and is equally divided by 360 degrees.

在本發明之一實施例中,搜尋主方向附近區域,以找出物體於第三畫面的第三位置的步驟,包括下列步驟。首先,自這些預定方向中,找出與主方向相鄰的另兩個主方向。接著,在三個主方向上,搜尋第三畫面中的物體。In an embodiment of the invention, the step of searching for a region near the main direction to find the third position of the object in the third picture comprises the following steps. First, from these predetermined directions, the other two main directions adjacent to the main direction are found. Next, in the three main directions, the objects in the third picture are searched.

在本發明之一實施例中,搜尋主方向附近區域,以找出物體於第三畫面的第三位置的步驟,更包括下列步驟。首先,根據三個主方向上的搜尋結果,自三個主方向中選出一掃瞄方向。接著,搜尋掃瞄方向的附近區域,以找出物體於第三畫面的第三位置。In an embodiment of the invention, the step of searching for a region near the main direction to find the third position of the object in the third picture further includes the following steps. First, a scan direction is selected from the three main directions based on the search results in the three main directions. Next, the vicinity of the scanning direction is searched to find the third position of the object on the third screen.

在本發明之一實施例中,多畫面中物體移動的追蹤方法,更包括當第三畫面中搜尋不到物體時,放棄第三畫面。In an embodiment of the present invention, the tracking method of the object movement in the multi-screen further includes discarding the third picture when the object is not found in the third picture.

在本發明之一實施例中,多畫面中物體移動的追蹤方法,更包括下列步驟。首先,根據第一畫面至一第N-1畫面中物體的位置,分析物體的一移動趨勢。接著,根據移動趨勢,判斷物體於一第N畫面中的一第N位置。In an embodiment of the present invention, the tracking method of object movement in a multi-screen further includes the following steps. First, a moving tendency of the object is analyzed according to the position of the object in the first picture to the N-1th picture. Then, according to the movement trend, the object is judged to be at an Nth position in an Nth picture.

在本發明之一實施例中,分析移動趨勢的步驟,包括利用一曲線配適法(curve fitting)或一線性外插法分析移動趨勢。In one embodiment of the invention, the step of analyzing the trend of movement comprises analyzing the trend of movement using a curve fitting or a linear extrapolation.

基於上述,本發明的多畫面中物體移動的追蹤方法可先對多個預定方向作粗掃,來縮短移動決策的時間與資料計算量,而可符合高畫面更新率的需求。此外,藉由門檻值比較等機制,可使得搜尋結果仍有一定的準確度。Based on the above, the tracking method of the object movement in the multi-screen of the present invention can first perform coarse scanning on a plurality of predetermined directions to shorten the time of the movement decision and the amount of data calculation, and can meet the requirement of the high picture update rate. In addition, through the comparison of threshold values and other mechanisms, the search results still have a certain degree of accuracy.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

圖1為本發明一實施例之多畫面中物體移動的追蹤方法的流程示意圖,圖2為應用於圖1的多張連續畫面的示意圖。在圖2中,例如繪示連續的一第一畫面F1、一第二畫面F2、一第三畫面F3以及一第四畫面F4,且一物體O可沿著軌跡T移動。1 is a schematic flow chart of a method for tracking an object movement in a multi-screen according to an embodiment of the present invention, and FIG. 2 is a schematic diagram of a plurality of consecutive pictures applied to FIG. In FIG. 2, for example, a continuous first picture F1, a second picture F2, a third picture F3, and a fourth picture F4 are illustrated, and an object O can be moved along the track T.

請參考圖1與圖2,首先進行步驟S110,取得第一畫面F1中物體O的一第一位置(x,y)與第二畫面F2中物體O的一第二位置(x+U1,y+V1),以根據第一位置(x,y)與第二位置(x+U1,y+V1)計算一移動向量(U1,V1)。接著進行步驟S120,判斷移動向量(U1,V1)是否大於一門檻參數,區分出物體O移動量大的情形和小的情形。在本實施例中,門檻參數可為單一數值TH(未示意於圖中),但不以此為限。即,分別比較U1與TH以及V1與TH的大小。Referring to FIG. 1 and FIG. 2, step S110 is first performed to obtain a first position (x, y) of the object O in the first picture F1 and a second position (x+U1, y of the object O in the second picture F2). +V1) to calculate a motion vector (U1, V1) from the first position (x, y) and the second position (x + U1, y + V1). Next, in step S120, it is determined whether the motion vector (U1, V1) is greater than a threshold parameter, and the situation in which the amount of movement of the object O is large and the small situation are distinguished. In this embodiment, the threshold parameter may be a single value TH (not shown in the figure), but is not limited thereto. That is, the sizes of U1 and TH and V1 and TH are compared, respectively.

圖3A為圖1之預定方向、主方向表示於畫面中的示意圖,請配合參考圖2與圖3A,當移動向量(U1,V1)大於門檻參數時,代表物體O的移動量較大,在短時間內不易方向反轉。此時,進行步驟S130,根據移動向量(U1,V1),從多個預定方向P中選擇一主方向M1。然後進行步驟S140,從第三畫面F3的第二位置(x+U1,y+V1)上,搜尋主方向M1附近區域,以找出物體O於第三畫面F3的一第三位置(x+U2,y+V2)。在本實施例中,這些預定方向的數量可為8個,且等分360度。3A is a schematic view showing the predetermined direction and the main direction of FIG. 1 in the screen. Referring to FIG. 2 and FIG. 3A, when the motion vector (U1, V1) is larger than the threshold parameter, the amount of movement of the representative object O is larger. It is not easy to reverse the direction in a short time. At this time, step S130 is performed to select a main direction M1 from a plurality of predetermined directions P based on the motion vector (U1, V1). Then, proceeding to step S140, searching for the vicinity of the main direction M1 from the second position (x+U1, y+V1) of the third screen F3 to find a third position of the object O on the third screen F3 (x+ U2, y+V2). In this embodiment, the number of these predetermined directions may be eight and is equally divided by 360 degrees.

也就是說,當要找第三畫面F3與第一畫面F1的相對移動關係時,直接從第二位置(x+U1,y+V1)開始找,而不是從第一位置(x,y)找起。同理,記錄下第三畫面F3與第一畫面F1的移動向量(U2,V2),當要找出第四畫面F4中物體O與第一畫面F1中物體O的運動關係時,也是直接根據第三畫面F3記錄下的第三位置(x+U2,y+V2)作出發點開始搜尋,且可依照最可能的主方向M1粗掃,爾後才細掃。That is to say, when looking for the relative movement relationship between the third picture F3 and the first picture F1, the search is started directly from the second position (x+U1, y+V1) instead of the first position (x, y). Find it. Similarly, the motion vector (U2, V2) of the third picture F3 and the first picture F1 is recorded, and when the motion relationship between the object O in the fourth picture F4 and the object O in the first picture F1 is found, it is also directly based on The third position (x+U2, y+V2) recorded in the third screen F3 is made to start the search, and can be roughly swept according to the most likely main direction M1, and then swept.

圖4為圖3A中設定矩型的搜尋範圍的示意圖。請配合參考圖2與圖4,相對的,當移動向量(U1,V1)小於門檻參數時,代表物體O移動量接近原點,接下來的運動將有可能使得方向反轉。此時,進行步驟S150,沿這些預定方向P,搜尋第三畫面F3的第二位置(x+U1,y+V1)的附近區域S4,以找出物體於第三畫面F3的第三位置(x+U2,y+V2)。舉例來說,附近區域S4可由一矩形區域所定義出來,但不以此為限。也就是說,以目前第二位置(x+U1,y+V1)為中心設定一個矩型的搜尋範圍,並以八方向去分析以節省時間與複雜度。FIG. 4 is a schematic diagram of the search range of the set moment type in FIG. 3A. Please refer to FIG. 2 and FIG. 4. In contrast, when the motion vector (U1, V1) is smaller than the threshold parameter, it means that the moving amount of the object O is close to the origin, and the next motion will make the direction reverse. At this time, step S150 is performed to search for the vicinity S4 of the second position (x+U1, y+V1) of the third screen F3 along the predetermined directions P to find the third position of the object on the third screen F3 ( x+U2, y+V2). For example, the nearby area S4 can be defined by a rectangular area, but is not limited thereto. That is to say, a rectangular search range is set centered on the current second position (x+U1, y+V1), and analyzed in eight directions to save time and complexity.

圖5為本發明另一實施例之多畫面中物體移動的追蹤方法的流程示意圖,圖3B~圖3D為相鄰的三個主方向的示意圖。以下將配合圖2、圖3B~3D與圖4說明圖5的流程,但不以此為限。請先參考圖2,首先進行步驟S210,取得第一畫面F1中物體O的一第一位置(x,y)與第二畫面F2中物體O的一第二位置(x+U1,y+V1),以根據第一位置(x,y)與第二位置(x+U1,y+V1)計算一移動向量(U1,V1)。接著進行步驟S220,判斷移動向量(U1,V1)是否大於一門檻參數。FIG. 5 is a schematic flowchart of a method for tracking an object movement in a multi-screen according to another embodiment of the present invention, and FIG. 3B to FIG. 3D are schematic diagrams of three adjacent main directions. The flow of FIG. 5 will be described below with reference to FIG. 2, FIG. 3B to FIG. 3D and FIG. 4, but is not limited thereto. Referring to FIG. 2 first, step S210 is first performed to obtain a first position (x, y) of the object O in the first picture F1 and a second position (x+U1, y+V1 of the object O in the second picture F2). And calculating a motion vector (U1, V1) according to the first position (x, y) and the second position (x + U1, y + V1). Next, proceeding to step S220, it is determined whether the motion vector (U1, V1) is greater than a threshold parameter.

當移動向量(U1,V1)大於門檻參數時,進行步驟S230,根據移動向量(U1,V1),從多個預定方向P中選擇一主方向M1。然後進行步驟S240,從第三畫面F3的第二位置(x+U1,y+V1)上,搜尋主方向M1附近區域S1,以找出物體O於第三畫面F3的一第三位置(x+U2,y+V2)。步驟S240可包括步驟S242~248等多個子步驟。請參考圖3B,首先進行步驟S242,自這些預定方向P中,找出與主方向M1相鄰的另兩個主方向M2、M3。接著進行步驟S244,在三個主方向M1、M2、M3上,搜尋第三畫面F3中的物體O。也就是說,在此為了進一步節省運算資源,只取出最接近的主方向作搜尋。假設系統效率需要很高且運算資源很低的情形下,則只作最接近的90度內的主方向作搜尋。在本實施例中,即是對三個相鄰的主方向M1、M2、M3作搜尋。When the motion vector (U1, V1) is greater than the threshold parameter, step S230 is performed to select a main direction M1 from the plurality of predetermined directions P according to the motion vector (U1, V1). Then, in step S240, from the second position (x+U1, y+V1) of the third screen F3, the region S1 near the main direction M1 is searched to find a third position of the object O on the third screen F3 (x) +U2, y+V2). Step S240 may include a plurality of sub-steps such as steps S242-248. Referring to FIG. 3B, step S242 is first performed. From these predetermined directions P, the other two main directions M2 and M3 adjacent to the main direction M1 are found. Next, in step S244, the object O in the third screen F3 is searched for in the three main directions M1, M2, and M3. That is to say, in order to further save computing resources, only the closest main direction is taken for searching. Assuming that the system efficiency is high and the computing resources are low, only the main direction within the closest 90 degrees is searched. In this embodiment, three adjacent main directions M1, M2, and M3 are searched.

然後進行步驟S246,根據三個主方向M1、M2、M3上的搜尋結果,自三個主方向M1、M2、M3中選出一掃瞄方向M1。接著進行步驟S248,搜尋掃瞄方向M1的附近區域S1,以找出物體O於第三畫面F3的第三位置(x+U2,y+V2)(如圖2所示)。亦即,比較出這三個主方向M1、M2、M3的搜尋結果與誤差,最準確且最匹配的主方向M1取出後才針對其附近作細掃的動作,藉以減少資料計算量。雖然,本實施例是以圖3B為例來說明,但隨著移動向量的不同,還可以對圖3C中三個主方向M1’、M2’、M3’對應的附近區域S2或是圖3D中三個主方向M1”、M2”、M3”對應的附近區域S3進行搜尋,以此類推。Then, in step S246, a scan direction M1 is selected from the three main directions M1, M2, M3 according to the search results in the three main directions M1, M2, M3. Next, in step S248, the vicinity S1 of the scanning direction M1 is searched to find the third position (x+U2, y+V2) of the object O in the third picture F3 (as shown in FIG. 2). That is, the search results and errors of the three main directions M1, M2, and M3 are compared, and the most accurate and matching main direction M1 is taken out before the fine sweeping operation is performed to reduce the amount of data calculation. Although the present embodiment is illustrated by taking FIG. 3B as an example, depending on the motion vector, the vicinity S2 corresponding to the three main directions M1', M2', M3' in FIG. 3C or the vicinity S2 in FIG. 3D may be used. The search is performed in the vicinity S3 corresponding to the three main directions M1", M2", M3", and so on.

請參考圖4,相對的,當移動向量(U1,V1)小於門檻參數時,進行步驟S250,沿這些預定方向P,搜尋第三畫面F3的第二位置(x+U1,y+V1)的附近區域S4,以找出物體於第三畫面F3的第三位置(x+U2,y+V2)。Referring to FIG. 4, when the motion vector (U1, V1) is smaller than the threshold parameter, step S250 is performed to search for the second position (x+U1, y+V1) of the third picture F3 along the predetermined directions P. The vicinity area S4 is to find the third position (x+U2, y+V2) of the object on the third screen F3.

在本實施例中,進行完步驟S240或步驟S250之後,還可進行步驟S260。在步驟S260中,當第三畫面F3中搜尋不到物體O時,則可放棄第三畫面F3。也就是說,如果在連續畫面間有一些畫面用前述的搜尋法找不到符合條件的結果時,則放棄該畫面資訊。In this embodiment, after step S240 or step S250 is performed, step S260 may also be performed. In step S260, when the object O is not found in the third screen F3, the third screen F3 may be discarded. That is to say, if there are some pictures between consecutive pictures and the result of the condition is not found by the aforementioned search method, the picture information is discarded.

值得一提的是,本實施例的之多畫面中物體移動的追蹤方法可應用於其他多畫面的影像處理上面。以三維雜訊抑制(3D noise reduction)的應用為例,步驟S260所放棄的畫面便不進行時間平均濾波(temporal filter)的過程。此外,由於高畫面更新率之下,每個畫面的時間差較低。因此,若有物體在短時間內快速移動至主方向搜尋範圍外的情形發生,則可能是因為物體非常快速移動所產生。在此類狀況下,物體容易有動態模糊(motion blur)的情形,混色(blending)過程中也藉由步驟S260來放棄這種已發生動態模糊的畫面。It is worth mentioning that the tracking method of object movement in the multi-picture of the embodiment can be applied to image processing of other multi-pictures. Taking the application of 3D noise reduction as an example, the picture abandoned in step S260 is not subjected to a temporal filtering process. In addition, due to the high picture update rate, the time difference of each picture is low. Therefore, if an object moves quickly outside the main direction search range in a short time, it may be caused by the very fast movement of the object. In such a situation, the object is prone to motion blur, and the scene in which the motion blur has occurred is also discarded by the step S260 during the blending process.

更進一步來說,接著還可進行步驟S270,根據第一畫面F1至一第N-1畫面(未繪示)中物體O的位置,分析物體O的一移動趨勢。然後進行步驟S280,根據移動趨勢,判斷物體於一第N畫面中的一第N位置。在本實施例中,可利用一曲線配適法或一線性外插法來分析移動趨勢,但不以此為限。也就是說,本實施例並不侷限只用前一級的結果作搜尋,也可用前N-1級的結果來推得第N畫面的物體位置。Further, step S270 may be further performed to analyze a moving tendency of the object O according to the position of the object O in the first picture F1 to the N-1th picture (not shown). Then, step S280 is performed to determine an Nth position of the object in an Nth picture according to the movement trend. In this embodiment, a curve matching method or a linear extrapolation method may be used to analyze the movement trend, but not limited thereto. That is to say, this embodiment is not limited to searching only with the result of the previous stage, and the result of the N-1 level can also be used to derive the position of the object of the Nth picture.

綜上所述,本發明的多畫面中物體移動的追蹤方法可先對多個預定方向作粗掃,來縮短移動決策的時間,而可符合CMOS感光元件之高畫面更新率的需求。此外,在快速的移動分析過程中,還可藉由不同的機制加上趨勢判斷,使得結果仍有一定的準確度。In summary, the tracking method of object movement in the multi-picture of the present invention can first perform coarse scanning on a plurality of predetermined directions to shorten the time of the movement decision, and can meet the requirement of high picture update rate of the CMOS photosensitive element. In addition, in the process of rapid mobile analysis, the trend can be judged by different mechanisms, so that the results still have certain accuracy.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

F1...第一畫面F1. . . First picture

F2...第二畫面F2. . . Second screen

F3...第三畫面F3. . . Third screen

F4...第四畫面F4. . . Fourth screen

M1~M3、M1’~M3’、M1”~M3”...主方向M1~M3, M1'~M3', M1"~M3". . . Main direction

O...物體O. . . object

S1~S4...附近區域S1~S4. . . Nearby area

S110~S150、S210~S280...步驟S110~S150, S210~S280. . . step

P...預定方向P. . . Scheduled direction

T...軌跡T. . . Trajectory

(x,y)...第一位置(x,y). . . First position

(x+U1,y+V1)...第二位置(x+U1, y+V1). . . Second position

(x+U2,y+V2)...第三位置(x+U2, y+V2). . . Third position

圖1為本發明一實施例之多畫面中物體移動的追蹤方法的流程示意圖。FIG. 1 is a schematic flow chart of a method for tracking an object movement in a multi-screen according to an embodiment of the present invention.

圖2為應用於圖1的多張連續畫面的示意圖。2 is a schematic diagram of a plurality of consecutive pictures applied to FIG. 1.

圖3A為圖1之預定方向、主方向表示於畫面中的示意圖。3A is a schematic view showing a predetermined direction and a main direction of FIG. 1 in a screen.

圖3B~圖3D為相鄰的三個主方向的示意圖。3B to 3D are schematic views of three adjacent main directions.

圖4為圖3A中設定矩型的搜尋範圍的示意圖。FIG. 4 is a schematic diagram of the search range of the set moment type in FIG. 3A.

圖5為本發明另一實施例之多畫面中物體移動的追蹤方法的流程示意圖。FIG. 5 is a schematic flow chart of a method for tracking object movement in a multi-screen according to another embodiment of the present invention.

S110~S150...步驟S110~S150. . . step

Claims (7)

一種多畫面中物體移動的追蹤方法,包括:取得一第一畫面中一物體的一第一位置與一第二畫面中該物體的一第二位置,以根據該第一位置與該第二位置計算一移動向量;判斷該移動向量是否大於一門檻參數;當該移動向量大於該門檻參數時,根據該移動向量,從多個預定方向中選擇一主方向;從一第三畫面的該第二位置上,搜尋該主方向附近區域,以找出該物體於該第三畫面的一第三位置;以及當該移動向量小於該門檻參數時,沿該些預定方向,搜尋該第三畫面的該第二位置的附近區域,以找出該物體於該第三畫面的該第三位置。A tracking method for moving an object in a multi-picture, comprising: obtaining a first position of an object in a first picture and a second position of the object in a second picture, according to the first position and the second position Calculating a motion vector; determining whether the motion vector is greater than a threshold parameter; when the motion vector is greater than the threshold parameter, selecting a primary direction from the plurality of predetermined directions according to the motion vector; and selecting the second direction from a third screen Positioning, searching for an area near the main direction to find a third position of the object in the third picture; and when the moving vector is smaller than the threshold parameter, searching for the third picture along the predetermined directions A nearby area of the second location to find the object at the third location of the third frame. 如申請專利範圍第1項所述之多畫面中物體移動的追蹤方法,其中該些預定方向的數量為8個,且等分360度。The tracking method for moving objects in a multi-screen as described in claim 1, wherein the number of the predetermined directions is eight and is equally divided by 360 degrees. 如申請專利範圍第1項所述之多畫面中物體移動的追蹤方法,其中搜尋該主方向附近區域,以找出該物體於該第三畫面的該第三位置的步驟,包括:自該些預定方向中,找出與該主方向相鄰的另兩個主方向;以及在該三個主方向上,搜尋該第三畫面中的該物體。The method for tracking the movement of an object in a multi-picture as described in claim 1, wherein the step of searching for the vicinity of the main direction to find the object in the third position of the third picture comprises: In the predetermined direction, the other two main directions adjacent to the main direction are found; and in the three main directions, the object in the third picture is searched. 如申請專利範圍第3項所述之多畫面中物體移動的追蹤方法,其中搜尋該主方向附近區域,以找出該物體於該第三畫面的該第三位置的步驟,更包括:根據該三個主方向上的搜尋結果,自該三個主方向中選出一掃瞄方向;以及搜尋該掃瞄方向的附近區域,以找出該物體於該第三畫面的該第三位置。 The method for tracking the movement of an object in a multi-screen as described in claim 3, wherein the step of searching for the vicinity of the main direction to find the object in the third position of the third screen further includes: The search results in the three main directions select a scanning direction from the three main directions; and search for a nearby area of the scanning direction to find the third position of the object in the third picture. 如申請專利範圍第1項所述之多畫面中物體移動的追蹤方法,更包括:當該第三畫面中搜尋不到該物體時,放棄該第三畫面。 The method for tracking the movement of an object in the multi-picture as described in claim 1 further includes: discarding the third picture when the object is not found in the third picture. 如申請專利範圍第1項所述之多畫面中物體移動的追蹤方法,更包括:根據該第一畫面至一第N-1畫面中該物體的位置,分析該物體的一移動趨勢;以及根據該移動趨勢,判斷該物體於一第N畫面中的一第N位置,其中N3。The method for tracking the movement of an object in the multi-picture as described in claim 1 further includes: analyzing a moving tendency of the object according to the position of the object in the first picture to the N-1th picture; The movement trend, determining an Nth position of the object in an Nth picture, wherein N 3. 如申請專利範圍第6項所述之多畫面中物體移動的追蹤方法,其中分析該移動趨勢的步驟,包括:利用一曲線配適法或一線性外插法分析該移動趨勢。 The method for tracking the movement of an object in a multi-picture as described in claim 6, wherein the step of analyzing the movement trend comprises: analyzing the movement trend by using a curve matching method or a linear extrapolation method.
TW99147315A 2010-12-31 2010-12-31 A method for tracing motion of object in multi-frame TWI423170B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW99147315A TWI423170B (en) 2010-12-31 2010-12-31 A method for tracing motion of object in multi-frame
CN201110095434.0A CN102568000B (en) 2010-12-31 2011-04-13 Method for tracking movement of object in multiple pictures

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99147315A TWI423170B (en) 2010-12-31 2010-12-31 A method for tracing motion of object in multi-frame

Publications (2)

Publication Number Publication Date
TW201227616A TW201227616A (en) 2012-07-01
TWI423170B true TWI423170B (en) 2014-01-11

Family

ID=46413347

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99147315A TWI423170B (en) 2010-12-31 2010-12-31 A method for tracing motion of object in multi-frame

Country Status (2)

Country Link
CN (1) CN102568000B (en)
TW (1) TWI423170B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404615B (en) * 2017-06-29 2020-08-25 联想(北京)有限公司 Image recording method and electronic equipment
TWI701609B (en) * 2018-01-04 2020-08-11 緯創資通股份有限公司 Method, system, and computer-readable recording medium for image object tracking

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020167537A1 (en) * 2001-05-11 2002-11-14 Miroslav Trajkovic Motion-based tracking with pan-tilt-zoom camera
CN1875633A (en) * 2003-10-28 2006-12-06 皇家飞利浦电子股份有限公司 Motion vector field refinement to track small fast moving objects
CN101422047A (en) * 2006-04-14 2009-04-29 Nxp股份有限公司 Motion estimation at image borders
WO2010050110A1 (en) * 2008-10-27 2010-05-06 パナソニック株式会社 Moving body detection method and moving body detection device
TW201021574A (en) * 2008-11-17 2010-06-01 Ind Tech Res Inst Method for tracking moving object

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020167537A1 (en) * 2001-05-11 2002-11-14 Miroslav Trajkovic Motion-based tracking with pan-tilt-zoom camera
CN1875633A (en) * 2003-10-28 2006-12-06 皇家飞利浦电子股份有限公司 Motion vector field refinement to track small fast moving objects
CN101422047A (en) * 2006-04-14 2009-04-29 Nxp股份有限公司 Motion estimation at image borders
WO2010050110A1 (en) * 2008-10-27 2010-05-06 パナソニック株式会社 Moving body detection method and moving body detection device
TW201021574A (en) * 2008-11-17 2010-06-01 Ind Tech Res Inst Method for tracking moving object

Also Published As

Publication number Publication date
CN102568000B (en) 2014-08-13
CN102568000A (en) 2012-07-11
TW201227616A (en) 2012-07-01

Similar Documents

Publication Publication Date Title
US9918065B2 (en) Depth-assisted focus in multi-camera systems
US9154697B2 (en) Camera selection based on occlusion of field of view
TWI543610B (en) Electronic device and image selection method thereof
US9686463B2 (en) Systems and methods for continuous auto focus (CAF)
US20140226858A1 (en) Method of tracking object using camera and camera system for object tracking
CN104284059B (en) For stablizing the device and method of image
KR102559859B1 (en) Object segmentation in a sequence of color image frames based on adaptive foreground mask upsampling
WO2018058934A1 (en) Photographing method, photographing device and storage medium
US20160182866A1 (en) Selective high frame rate video capturing in imaging sensor subarea
KR20120099713A (en) Algorithms for estimating precise and relative object distances in a scene
JP2014150443A (en) Imaging device, control method thereof, and program
US20150116464A1 (en) Image processing apparatus and image capturing apparatus
TW201742001A (en) Method and device for image noise estimation and image capture apparatus
WO2020001219A1 (en) Image processing method and apparatus, storage medium, and electronic device
US8823820B2 (en) Methods and apparatuses for capturing an image
US9560287B2 (en) Noise level based exposure time control for sequential subimages
TWI423170B (en) A method for tracing motion of object in multi-frame
US9146446B2 (en) Auto focus control apparatus and continuous auto focus control method
US9898828B2 (en) Methods and systems for determining frames and photo composition within multiple frames
TWI466550B (en) Multimedia device and motion estimation method thereof
JP2019021990A (en) Image processing apparatus, image processing method, and program
CN110647792B (en) Information processing apparatus, control method, and storage medium
JP6503478B2 (en) Mobile terminal, image processing method, and program
US11343424B1 (en) Image capturing method and electronic device
JP5929379B2 (en) Image processing apparatus, image processing method, and program

Legal Events

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