TWM634644U - frame alignment system - Google Patents

frame alignment system Download PDF

Info

Publication number
TWM634644U
TWM634644U TW111208770U TW111208770U TWM634644U TW M634644 U TWM634644 U TW M634644U TW 111208770 U TW111208770 U TW 111208770U TW 111208770 U TW111208770 U TW 111208770U TW M634644 U TWM634644 U TW M634644U
Authority
TW
Taiwan
Prior art keywords
frame
identification code
frames
time
pulse signal
Prior art date
Application number
TW111208770U
Other languages
Chinese (zh)
Inventor
吳昕益
黃致豪
Original Assignee
滿拓科技股份有限公司
動晰運科有限公司
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 滿拓科技股份有限公司, 動晰運科有限公司 filed Critical 滿拓科技股份有限公司
Priority to TW111208770U priority Critical patent/TWM634644U/en
Publication of TWM634644U publication Critical patent/TWM634644U/en

Links

Images

Abstract

一種影格對齊系統,其中的多台高速攝影裝置根據一每秒脈衝訊號同步攝影,並以同一頻率M拍攝而產生多組連續的影格,同時各該高速攝影裝置根據該每秒脈衝訊號重置其中的一計數器重新計數並取得當下的一標準時間;且各該高速攝影裝置以拍攝每一影格當下該計數器的一計數值和該標準時間做為各該影格的一識別碼,再將各該組連續且具有該識別碼的影格提供給一影像處理裝置,使該影像處理裝置根據各該高速攝影裝置提供之各該組連續且具有該識別碼的影格其中第1個影格的該識別碼對齊該等組連續且具有該識別碼的影格。A frame alignment system, in which a plurality of high-speed photography devices take pictures synchronously according to a pulse signal per second, and shoot at the same frequency M to generate multiple groups of continuous frames, and at the same time, each high-speed photography device is reset according to the pulse signal per second A counter re-counts and obtains a current standard time; and each of the high-speed photography devices takes a count value of the counter and the standard time of each frame as an identification code of each frame, and each of the groups The continuous frames with the identification code are provided to an image processing device, so that the image processing device aligns the identification code of the first frame of each group of continuous frames with the identification code provided by each of the high-speed photography devices. Equal groups of consecutive frames with the identification code.

Description

影格對齊系統frame alignment system

本新型是有關於一種使多個來源的影格對齊的系統,特別是指一種使多個高速攝影機同步拍攝多組影格並使多組影格依拍攝順序對齊的影格對齊系統。The present invention relates to a system for aligning frames from multiple sources, in particular to a frame alignment system for synchronously shooting multiple groups of frames by multiple high-speed cameras and aligning multiple groups of frames in shooting order.

有別於一般攝影機每秒拍攝24幀(frame,又稱影格),高速攝影機(High-speed camera)能以更高的頻率(例如每秒拍攝240幀~數萬幀影格等)進行高速攝影,故能把高速運動現象的發生、發展和運動軌跡等清晰地拍攝下來並展現在人們的面前。因此高速攝影機經常被應用於分析例如撞擊測試、彈道、生物的移動或運動員的運動過程。Unlike ordinary cameras that shoot 24 frames per second (frame, also known as frame), high-speed cameras can perform high-speed photography at a higher frequency (such as shooting 240 frames per second to tens of thousands of frames, etc.), Therefore, the occurrence, development and trajectory of high-speed motion can be clearly photographed and displayed in front of people. Therefore, high-speed cameras are often used to analyze, for example, crash tests, ballistics, the movement of living things or the movement of athletes.

而當同時使用多台高速攝影機從不同的角度拍攝同一目標,使各該高速攝影機各自產生一組連續的影格並提供給後端的一影格分析裝置時,因為各該高速攝影機內部的時鐘和產生的影格編號各自獨立,例如假設有三台高速攝影機,第一台高速攝影機拍攝的該組影格編號依序分別為101、102、103…,第二台高速攝影機拍攝的該組影格編號依序分別為103、104、105…,第三台高速攝影機拍攝的該組影格編號依序分別為100、101、102…,因此,即使使用外部觸發裝置,讓該影格分析裝置接收到的這三組連續的影格時間同步,例如,三台高速攝影機各自的第101、103、100影格是在同一時間點拍攝的,但因三台高速攝影機啟動錄影的時間並未精準同步,因此該影格分析裝置並不知道這三組連續的影格要如何依拍攝順序(第1張影格、第2張影格…)對齊,亦即該影格分析裝置無法只根據影格被拍攝當下的時戳(時間點)和影格編號將這三組連續的影格依拍攝的順序對齊;且若該影格分析裝置使用拍攝順序沒有對齊的這三組連續的影格來進行影格分析,將會因三組的影格在順序上沒有對齊而導致分析結果產生誤差或不精確。And when using a plurality of high-speed cameras to shoot the same target from different angles at the same time, each of these high-speed cameras produces a group of continuous frames and provides them to a frame analysis device at the back end, because the internal clock of each of the high-speed cameras and the generated The frame numbers are independent. For example, if there are three high-speed cameras, the frame numbers of the group shot by the first high-speed camera are 101, 102, 103..., and the frame numbers of the group shot by the second high-speed camera are 103. , 104, 105..., the frame numbers of the group shot by the third high-speed camera are respectively 100, 101, 102..., therefore, even if an external trigger device is used, the three groups of consecutive frames received by the frame analysis device Time synchronization, for example, the 101st, 103rd, and 100th frames of the three high-speed cameras were shot at the same time point, but because the recording time of the three high-speed cameras is not precisely synchronized, the frame analysis device does not know this How to align three groups of consecutive frames according to the shooting sequence (1st frame, 2nd frame...), that is, the frame analysis device cannot separate the three groups of frames based on the time stamp (time point) and frame number of the frame being shot. A group of consecutive frames are aligned according to the order of shooting; and if the frame analysis device uses these three groups of consecutive frames whose shooting order is not aligned for frame analysis, the analysis results will be generated because the three groups of frames are not aligned in order errors or inaccuracies.

因此,本新型之目的,即在提供一種至少能解決上述問題之影格對齊系統。Therefore, the purpose of the present invention is to provide a frame alignment system that can at least solve the above-mentioned problems.

於是,本新型一種影格對齊系統包括一影像處理裝置及多台能與該影像處理裝置通訊的高速攝影裝置,該等高速攝影裝置根據一每秒脈衝訊號同步攝影,並以一頻率M(M為正整數)拍攝而產生多組連續的影格;且各該高速攝影裝置同時根據該每秒脈衝訊號重置其中的一計數器並取得當下的一標準時間;各該高速攝影裝置以拍攝每一影格當下該計數器的一計數值和該標準時間做為各該影格的一識別碼,再將各該組連續且具有該識別碼的影格提供給該影像處理裝置;該影像處理裝置根據各該高速攝影裝置提供之各該組連續且具有該識別碼的影格其中第1個影格的該識別碼對齊該等組連續且具有該識別碼的影格。Thus, a frame alignment system of the present invention includes an image processing device and a plurality of high-speed photographing devices capable of communicating with the image processing device. Positive integer) shooting to produce multiple groups of continuous frames; and each of the high-speed photography devices simultaneously resets a counter according to the pulse signal per second and obtains a current standard time; each of the high-speed photography devices is used to shoot each frame A count value of the counter and the standard time are used as an identification code of each frame, and then each group of continuous frames with the identification code is provided to the image processing device; For each set of consecutive frames with the identification code provided, the identification code of the first frame is aligned with the groups of consecutive frames with the identification code.

在本新型的一些實施態樣中,該影像處理裝置發現某一組連續且具有該識別碼的影格缺少第1個影格時,該影像處理裝置根據該某一組連續且具有該識別碼的影格其中第2個影格的該識別碼和其它組具有該識別碼的影格其中第2個影格的該識別碼,將該某一組連續且具有該識別碼的影格與其它組具有該識別碼的影格對齊。In some embodiments of the present invention, when the image processing device finds that a certain group of continuous frames with the identification code lacks the first frame, the image processing device The identification code of the 2nd frame and the identification code of the 2nd frame in other groups of frames with the identification code, combine a certain group of consecutive frames with the identification code with other groups of frames with the identification code align.

在本新型的一些實施態樣中,該影像處理裝置還從各該組連續且具有該識別碼的影格中,每間隔N個影格根據各該影格的該識別碼對齊該等組連續且具有該識別碼的影格,其中,N為正整數且N≥0。In some implementation aspects of the present invention, the image processing device also aligns the groups of consecutive frames with the identification code at intervals of N frames according to the identification code of each of the frames. The frame of the identification code, where N is a positive integer and N≥0.

在本新型的一些實施態樣中,各該高速攝影裝置再次根據該每秒脈衝訊號重置其中的該計數器時,會同時更新該標準時間。In some implementation aspects of the present invention, when each of the high-speed photography devices resets the counter therein again according to the pulse per second signal, the standard time will be updated at the same time.

在本新型的一些實施態樣中,各該高速攝影裝置包含一攝影鏡頭模組、一脈衝訊號與時間提供模組及一微控制器,該脈衝訊號與時間提供模組能產生該每秒脈衝訊號且能取得所處地理位置當下的該標準時間,該微控制器與該脈衝訊號與時間提供模組電連接,以要求該脈衝訊號與時間提供模組提供該每秒脈衝訊號及該標準時間;且該微控制器包含一觸發訊號產生器、該計數器、一時間暫存器及一儲存單元,該觸發訊號產生器根據該每秒脈衝訊號產生具有該頻率M的觸發訊號觸發該攝影鏡頭模組以該頻率M同步攝影,該時間暫存器暫存該標準時間,該儲存單元暫存各該組連續且具有該識別碼的影格。In some embodiments of the present invention, each of the high-speed photography devices includes a photography lens module, a pulse signal and time supply module and a microcontroller, and the pulse signal and time supply module can generate the pulse per second signal and can obtain the current standard time at the geographic location, the microcontroller is electrically connected to the pulse signal and time providing module to request the pulse signal and time providing module to provide the pulse signal per second and the standard time ; and the microcontroller includes a trigger signal generator, the counter, a time register and a storage unit, the trigger signal generator generates a trigger signal with the frequency M according to the pulse signal per second to trigger the photographic lens module The group is photographed synchronously with the frequency M, the time register temporarily stores the standard time, and the storage unit temporarily stores each group of continuous frames with the identification code.

在本新型的另一些實施態樣中,該影格對齊系統還包括一能與各該高速攝影裝置進行無線通訊的脈衝訊號與時間提供裝置,該脈衝訊號與時間提供裝置會提供該每秒脈衝訊號和所處地理位置當下的該標準時間給該等高速攝影裝置;且各該高速攝影裝置包含一攝影鏡頭模組及一微控制器,該微控制器包含一觸發訊號產生器、該計數器、一時間暫存器及一儲存單元,該觸發訊號產生器根據該每秒脈衝訊號產生具有該頻率M的觸發訊號觸發該攝影鏡頭模組以該頻率M同步攝影,該時間暫存器暫存該標準時間,該儲存單元暫存各該組連續且具有該識別碼的影格。In other embodiments of the present invention, the frame alignment system also includes a pulse signal and time providing device capable of wireless communication with each of the high-speed photography devices, and the pulse signal and time providing device will provide the pulse signal per second and the current standard time of the geographic location to these high-speed photography devices; and each of the high-speed photography devices includes a camera lens module and a microcontroller, and the microcontroller includes a trigger signal generator, the counter, a A time register and a storage unit, the trigger signal generator generates a trigger signal with the frequency M according to the pulse signal per second to trigger the photography lens module to take pictures synchronously at the frequency M, and the time register temporarily stores the standard For a period of time, the storage unit temporarily stores each group of consecutive frames with the identification code.

本新型之功效在於:藉由該每秒脈衝訊號控制多個高速攝影裝置同步攝影而產生多組影格,且令該等高速攝影裝置同時以每秒脈衝訊號重置其中的計數器重新計數並且獲取該標準時間,並使各該高速攝影裝置以拍攝每一影格當下該計數器的計數值和該標準時間做為各該影格的識別碼,再將各該組連續且具有該識別碼的影格提供給該影像處理裝置,使該影像處理裝置只要根據各該組影格其中第1個影格的該識別碼,即可對齊該等組影格,使該等組影格在時間上逐格對齊,而使多個高速攝影裝置同步拍攝產生的多組連續的影格在時間上彼此對齊。The function of this new model is: control multiple high-speed photographing devices to take pictures synchronously through the pulse signal per second to generate multiple groups of frames, and make the high-speed photographing devices reset the counters in the pulse signal per second at the same time to recount and obtain the Standard time, and make each high-speed photographing device take the count value of the counter and the standard time when shooting each frame as the identification code of each frame, and then provide each group of consecutive frames with the identification code to the frame An image processing device, so that the image processing device can align the groups of frames according to the identification code of the first frame in each group of frames, so that the groups of frames are aligned frame by frame in time, so that multiple high-speed Multiple groups of consecutive frame frames produced by simultaneous shooting by the photographic device are aligned with each other in time.

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

參閱圖1所示,是本新型影格對齊系統進行影格對齊的主要流程,且如圖2所示,本新型影格對齊系統100的一實施例主要包括多個高速攝影裝置(本實施例是以三個高速攝影裝置A、B、C為例)及一影像處理裝置1,該影像處理裝置1可透過有線連接或無線傳輸(例如但不限於網際網路或短距離無線傳輸等)方式與該等高速攝影裝置A、B、C通訊。Referring to shown in Figure 1, it is the main process of the frame alignment of the novel frame alignment system, and as shown in Figure 2, an embodiment of the novel frame alignment system 100 mainly includes a plurality of high-speed photography devices (the present embodiment uses three A high-speed photography device A, B, C as an example) and an image processing device 1, the image processing device 1 can communicate with these devices through a wired connection or wireless transmission (such as but not limited to the Internet or short-distance wireless transmission, etc.) High-speed camera devices A, B, and C communicate.

且為實現影格對齊的目的,如圖1的步驟S1所示,令該等高速攝影裝置A、B、C根據一每秒脈衝((Pulse-Per-Second,簡稱PPS)訊號(以下統稱PPS訊號)同步攝影,且分別以同一頻率M(M為正整數)Hz拍攝而對應產生三組連續的影格(一張靜態的影像為一影格,或稱一幀(frame)),因此各該高速攝影裝置A、B、C所產生的各組連續的影格的幀率為M(即每秒拍攝M個影格)。And for the purpose of realizing frame alignment, as shown in step S1 of Fig. 1, make these high-speed photography devices A, B, C according to a pulse-per-second (Pulse-Per-Second, be called for short PPS) signal (hereinafter collectively referred to as PPS signal) ) synchronous photography, and respectively shoot at the same frequency M (M is a positive integer) Hz to generate three groups of continuous frames (a static image is a frame, or called a frame), so each high-speed photography The frame rate of each group of consecutive frames generated by devices A, B, and C is M (that is, M frames are shot per second).

具體而言,如圖2和圖3所示,各該高速攝影裝置A、B、C分別包括一攝影鏡頭模組21、一脈衝訊號與時間提供模組22及一微控制器23。該攝影鏡頭模組21是一高速攝影機;該脈衝訊號與時間提供模組22能產生該PPS訊號且能取得所處地理位置當下的一標準時間,例如該脈衝訊號與時間提供模組22可以是但不限於能產生PPS訊號並提供該標準時間的全球衛星定位系統(以下簡稱GPS)模組,該GPS模組能與全球衛星通訊以接收全球衛星定位訊號,並根據所接收的全球衛星定位訊號產生該PPS訊號以及該標準時間。Specifically, as shown in FIG. 2 and FIG. 3 , each of the high-speed photography devices A, B, and C includes a photography lens module 21 , a pulse signal and time supply module 22 and a microcontroller 23 . The photographing lens module 21 is a high-speed camera; the pulse signal and time providing module 22 can generate the PPS signal and can obtain a current standard time of the geographic location, for example, the pulse signal and time providing module 22 can be But not limited to the global satellite positioning system (hereinafter referred to as GPS) module that can generate PPS signals and provide the standard time, the GPS module can communicate with global satellites to receive global satellite positioning signals, and according to the received global satellite positioning signals Generate the PPS signal and the standard time.

此外,本實施例的另一種實施態樣如圖4所示,是以一脈衝訊號與時間提供裝置3取代內建在各該高速攝影裝置A、B、C中的該脈衝訊號與時間提供模組22,因此,各該高速攝影裝置A、B、C只需包含該攝影鏡頭模組21及該微控制器23,且各該高速攝影裝置A、B、C能透過無線通訊(例如但不限於內建的WiFi或藍牙無線通訊模組)接收該脈衝訊號與時間提供裝置3輸出(發射)的該PPS訊號及該標準時間。In addition, as shown in Figure 4, another implementation of this embodiment is to replace the pulse signal and time supply modules built in each of the high-speed photography devices A, B, and C with a pulse signal and time supply device 3. Group 22, therefore, each of the high-speed photographic devices A, B, and C only needs to include the photographic lens module 21 and the microcontroller 23, and each of the high-speed photographic devices A, B, and C can communicate via wireless (such as but not Limited to the built-in WiFi or Bluetooth wireless communication module) to receive the pulse signal and the PPS signal and the standard time output (transmitted) by the time providing device 3 .

因此,在步驟S1中,各該高速攝影裝置A、B、C的該微控制器23會將該脈衝訊號與時間提供模組22輸出的該PPS訊號提供給其中的一觸發訊號產生器231,使該觸發訊號產生器231根據該PPS訊號以及被預先設定的該頻率M(M可以是但不限於240Hz~數萬Hz)產生一頻率M的觸發訊號給該攝影鏡頭模組21,以觸發該攝影鏡頭模組21以該頻率M拍攝影像而產生一組連續的影格;且因為該等高速攝影裝置A、B、C的該攝影鏡頭模組21是同時被該觸發訊號觸發,因此該等高速攝影裝置A、B、C會分別且同步地產生三組連續的影格。Therefore, in step S1, the microcontroller 23 of each of the high-speed photography devices A, B, and C provides the pulse signal and the PPS signal output by the time providing module 22 to a trigger signal generator 231 therein, Make the trigger signal generator 231 generate a trigger signal of frequency M to the photographic lens module 21 according to the PPS signal and the preset frequency M (M can be but not limited to 240Hz~tens of thousands of Hz) to trigger the The camera lens module 21 shoots images at the frequency M to generate a group of continuous frames; and because the camera lens modules 21 of the high-speed camera devices A, B, and C are simultaneously triggered by the trigger signal, the high-speed The photographic devices A, B, and C will respectively and synchronously generate three groups of continuous frames.

同時,如圖1的步驟S2所示,該微制器23會根據該PPS訊號重置其中的一計數器232,使該計數器從0開始計數,並且,該微控制器23將接收到的該標準時間(例如上午8點42分 36秒)存入其中的一時間暫存器233中(例如以084236表示)。亦即,在該觸發訊號產生器231收到該PPS訊號的同時,該計數器232也會被重置且該標準時間被寫入該時間暫存器233中,因此,在該攝影鏡頭模組21被該觸發訊號觸發而不斷地拍攝一張一張影格的同時,該計數器232也正在不斷地計數。 Simultaneously, as shown in step S2 of Fig. 1, this microcontroller 23 can reset a counter 232 wherein according to this PPS signal, makes this counter count from 0, and this standard that this microcontroller 23 will receive Time (such as 8:42:36 in the morning) is stored in a time register 233 (such as represented by 084236). That is, when the trigger signal generator 231 receives the PPS signal, the counter 232 will also be reset and the standard time will be written into the time register 233. Therefore, in the photographing lens module 21 While being triggered by the trigger signal to continuously shoot one frame after another, the counter 232 is also continuously counting.

所以,如圖1的步驟S3,每當該攝影鏡頭模組21拍攝一張影格並輸出至該微控制器23時,該微控制器23在收到該張影格後,就讀取該計數器232當下的一計數值以及該時間暫存器233中暫存的該標準時間,並將兩者組在一起,例如依照(標準時間+計數器的計數值)方式,成為該張影格的一唯一識別碼,然後,將該張影格及其對應的該識別碼存入其中的一儲存單元234中。Therefore, as shown in step S3 of Figure 1, whenever the photographic lens module 21 captures a frame and outputs it to the microcontroller 23, the microcontroller 23 reads the counter 232 after receiving the frame. A current count value and the standard time temporarily stored in the time register 233 are combined together, for example, according to the (standard time+count value of the counter) mode to become a unique identification code of the frame , and then store the image frame and its corresponding identification code into a storage unit 234 therein.

且該等高速攝影裝置A、B、C的該計數器232即使被同時重置,其計數值仍會存在微小的差異,因此,例如圖5所示,設若該等高速攝影裝置A、B、C是在上午8點42分 36秒獲得該標準時間(上午8點42分 36秒)並根據該PPS訊號開始同步攝影,則高速攝影裝置A在上午8點42分 36秒這1秒內所拍攝的300張影格,從第1張影格開始,其識別碼會是例如 08423600 002(第1張影格)、 08423600 100(第2張影格)、 08423600 203(第3張影格) …、 084236 29905(第300張影格);而從高速攝影裝置B所拍攝的第1張影格開始,其識別碼會是例如 08423600 00108423600 10208423600 202…、 084236 29903(第300張影格);而從高速攝影裝置C所拍攝的第1張影格開始,其識別碼會是例如 08423600 00308423600 10108423600 204…、 084236 29901(第300張影格);由此可知,各該計數器232大約每計數100左右,各該高速攝影裝置就會拍攝一張影格。不過各該計數器232的計數頻率不以此為限,上述只是舉例,亦即各該計數器232只要採用相同頻率且其計數值不致超出其採用的暫存器可儲存的數值範圍即可,例如若各該計數器232皆採用16位元的暫存器,則其計數頻率只要小於65KHz(65535Hz)即可。 And even if the counters 232 of these high-speed photographing devices A, B, and C are reset at the same time, there will still be slight differences in their counting values. Therefore, for example, as shown in FIG. 5 , if these high-speed photographing devices A, B, and C Obtain the standard time ( 8:42:36 ) at 8:42:36 in the morning and start synchronous photography according to the PPS signal, then the high-speed photography device A takes pictures within 1 second of 8:42:36 in the morning 300 frames, starting from the 1st frame, its identification code will be for example 084236 00 002 (1st frame), 084236 00 100 (2nd frame), 084236 00 203 (3rd frame) …, 084236 29905 (the 300th frame); and starting from the first frame shot by the high-speed camera B, its identification code will be, for example, 084236 00 001 , 084236 00 102 , 084236 00 202 ..., 084236 29903 (the 300th frame) ; And starting from the first frame taken by the high-speed photography device C, its identification code will be such as 084236 00 003 , 084236 00 101 , 084236 00 204 ..., 084236 29901 (the 300th frame); Each time the counter 232 counts about 100, each high-speed camera will shoot a frame. But the counting frequency of each of the counters 232 is not limited to this, the above is just an example, that is, each of the counters 232 as long as adopt the same frequency and its count value will not exceed the value range that can be stored in the temporary register that it adopts. For example, if Each of the counters 232 adopts a 16-bit register, and the counting frequency only needs to be less than 65KHz (65535Hz).

且該微控制器23在(上午8點42分 37秒)收到下一個PPS訊號時,將再次根據該PPS訊號重置其中的該計數器232重新計數,並同時更新暫存在該時間暫存器233中的該標準時間為084237。因此,如圖5所示,在上午8點42分 37秒這1秒內拍攝的300張影格,將依照(標準時間(084237)+計數器的計數值)方式產生每一張影格的唯一識別碼。 And when this microcontroller 23 receives next PPS signal ( 8:42:37 in the morning), it will reset the counter 232 wherein to count again according to the PPS signal, and update the temporary register at the same time This standard time in 233 is 084237. Therefore, as shown in Figure 5, for the 300 frames shot within 1 second of 8:42:37 in the morning, the unique identification code of each frame will be generated according to (standard time (084237) + count value of the counter) .

然後,如圖1的步驟S4,各該高速攝影裝置A、B、C將儲存在各該儲存單元234中之時間上連續且具有該識別碼的(多個)影格(或稱一組影格)提供(傳送)給該影像處理裝置1。Then, as shown in step S4 of Figure 1, each of the high-speed photographic devices A, B, and C will be stored in each of the storage units 234 in time and have (multiple) frame frames (or a group of frame frames) with the identification code provided (transmitted) to the image processing device 1 .

當該影像處理裝置1收到各該高速攝影裝置A、B、C傳來之各組連續且具有該識別碼的影格後,如圖1的步驟S5,該影像處理裝置1根據各組連續且具有該識別碼的影格其中的第1個影格(例如第1秒拍攝的第1個影格)的該識別碼(亦即以各該第1個影格做為對齊點),對齊該等組連續的影格,以圖5所示為例,當該影像處理裝置1判斷各該高速攝影裝置A、B、C第1秒拍攝的各該第1個影格的識別碼08423600002、08423600001、084236000相近時,亦即這三個識別碼彼此數值的差距在一預設值,例如30以內,則判定各該高速攝影裝置A、B、C第1秒拍攝的各該第1個影格是在同一時間同步拍攝的,即以這三個第1個影格做為對齊點對齊來自各該高速攝影裝置A、B、C的三組影格,使三組影格在時間上逐格(一張張影格)同步對齊。After the image processing device 1 receives each group of continuous frame frames with the identification code from each of the high-speed photography devices A, B, and C, as shown in step S5 of Figure 1, the image processing device 1 performs according to each group of continuous and The identification code of the first frame (for example, the first frame shot at the first second) among the frames with the identification code (that is, each of the first frames is used as the alignment point), aligning the groups of consecutive Frame, as shown in FIG. 5 as an example, when the image processing device 1 judges that the identification codes 08423600002, 08423600001, and 084236000 of the first frame captured by each of the high-speed photography devices A, B, and C in the first second are similar, That is, if the difference between the values of these three identification codes is within a preset value, such as within 30, it is determined that each of the first frames shot by each of the high-speed photography devices A, B, and C in the first second is synchronously shot at the same time , that is, use the three first frames as alignment points to align the three groups of frames from each of the high-speed photography devices A, B, and C, so that the three groups of frames are synchronously aligned frame by frame (frame by frame) in time.

此外,若各該高速攝影裝置A、B、C每秒傳送300張(一組)帶有識別碼的影格給該影像處理裝置1,該影像處理裝置1可以每秒進行一次影格對齊的動作,不過並不以此為限,該影像處理裝置1也可以被設定為從各該組連續且具有該識別碼的影格中,每間隔N(N為正整數且N≥0)個影格(例如若N=10,即第11個影格、第21個影格、第31個影格…),並根據各該影格(即第11個影格、第21個影格、第31個影格…)的識別碼,對該等組連續且具有該識別碼的影格進行影格對齊的動作,以更精確地確保三組影格在時間上逐格同步。值得一提的是,當N=0時,即表示對三組影格其中每一個影格逐格進行影格對齊的動作。In addition, if each of the high-speed photography devices A, B, and C transmits 300 frames (a group) of frames with identification codes to the image processing device 1 per second, the image processing device 1 can perform frame alignment once per second, However, it is not limited thereto, and the image processing device 1 can also be set to select N (N is a positive integer and N≧0) frames at intervals from each group of consecutive frames with the identification code (for example, if N=10, that is, the 11th frame, the 21st frame, the 31st frame...), and according to the identification code of each frame (that is, the 11th frame, the 21st frame, the 31st frame...), the These groups of continuous frames with the identification code perform frame alignment to more accurately ensure that the three groups of frames are synchronized frame by frame in time. It is worth mentioning that when N=0, it means that each frame of the three groups of frames is aligned frame by frame.

此外,由於高速攝影裝置A、B、C之各該攝影鏡頭模組21會因為各種潛在因素發生影格隨機丟失的狀況,導致每秒拍攝的連續的影格中有些影格會不見,例如,當每秒拍攝300張影格(拍攝頻率M為300Hz)時,平均每秒會丟失2~4張影格。因此,假設高速攝影裝置A剛好丟失了第1秒拍攝的第1個影格時,該影像處理裝置1收到高速攝影裝置A傳來之該組影格後,該影像處理裝置1經由比對高速攝影裝置A傳來之第1個影格的該識別碼(08423600100)與高速攝影裝置B傳來的第1個影格的該識別碼(08423600001)及/或高速攝影裝置C傳來的第1個影格的該識別碼(0842360003),發現高速攝影裝置A傳來之第1個影格的該識別碼末3碼(100)與高速攝影裝置B及/或高速攝影裝置C的第1個影格的該識別碼末3碼(001、003)差距超過該預設值(例如30)時,該影像處理裝置1即判定高速攝影裝置A丟失了第1秒拍攝的第1個影格,並判定高速攝影裝置A之具有該識別碼(08423600100)的影格應該是高速攝影裝置A第1秒拍攝的第2個影格,因為高速攝影裝置A之該識別碼(08423600100)與高速攝影裝置B的第2個影格的該識別碼(08423600102)及/或高速攝影裝置C的第2個影格的該識別碼(08423600101)相近。In addition, because each of the photographic lens modules 21 of the high-speed photographic devices A, B, and C will randomly lose frames due to various potential factors, some frames will be lost in the continuous frames shot every second, for example, when When shooting 300 frames (shooting frequency M is 300Hz), an average of 2~4 frames will be lost per second. Therefore, assuming that the high-speed photography device A just lost the first frame shot in the first second, after the image processing device 1 receives the group of frames from the high-speed photography device A, the image processing device 1 compares the high-speed photography The identification code (08423600100) of the first frame from device A and the identification code (08423600001) of the first frame from high-speed camera device B and/or the first frame from high-speed camera device C The identification code (0842360003), find the last 3 codes (100) of the identification code of the first frame sent by high-speed camera device A and the identification code of the first frame of high-speed camera device B and/or high-speed camera device C When the gap between the last 3 yards (001, 003) exceeds the preset value (for example, 30), the image processing device 1 immediately determines that the high-speed photography device A has lost the first frame shot in the first second, and determines that the high-speed photography device A has lost the first frame. The frame with the identification code (08423600100) should be the second frame shot by high-speed camera A in the first second, because the identification code (08423600100) of high-speed camera A is identical to the identification of the second frame of high-speed camera B code (08423600102) and/or the identification code (08423600101) of the second frame of the high-speed camera C is similar.

然後,該影像處理裝置1即自動地根據高速攝影裝置A第1秒拍攝的第2個影格的該識別碼(08423600100)和高速攝影裝置B的第2個影格的該識別碼(08423600102)及/或高速攝影裝置C的第2個影格的該識別碼(08423600101),將高速攝影裝置A第1秒拍攝之該組連續且具有該識別碼的影格與高速攝影裝置B、C第1秒拍攝的各該組連續且具有該識別碼的影格對齊;而對於沒有丟失第1秒拍攝的第1個影格的高速攝影裝置B、C,該影像處理裝置1仍舊根據高速攝影裝置B第1秒拍攝的第1個影格的該識別碼(08423600001)和高速攝影裝置C的第1個影格的該識別碼(08423600003),將高速攝影裝置B第1秒拍攝的該組連續且具有該識別碼的影格與高速攝影裝置C第1秒拍攝的該組連續且具有該識別碼的影格對齊。Then, the image processing device 1 is automatically based on the identification code (08423600100) of the second frame taken by the high-speed photography device A in the first second and the identification code (08423600102) of the second frame of the high-speed photography device B and/or Or the identification code (08423600101) of the second frame of the high-speed photography device C, the group of continuous frames with the identification code taken by the high-speed photography device A in the first second and the frames taken by the high-speed photography device B and C in the first second Each group is continuous and has the frame alignment of the identification code; and for the high-speed photography devices B and C that do not lose the first frame shot in the first second, the image processing device 1 is still based on the first second shot by the high-speed photography device B. The identification code (08423600001) of the first frame and the identification code (08423600003) of the first frame of the high-speed photography device C are combined with the group of continuous frames with the identification code captured by the high-speed photography device B in the first second The group of continuous frames with the identification code captured by the high-speed photography device C in the first second are aligned.

同理,當該影像處理裝置1發現某一組影格其中的某一個要做為對齊點的影格不見時,即根據其(原本要做為對齊點的影格)下一個影格的識別碼和其它組影格中識別碼相近的該影格做為對齊點,對齊該某一組影格與其它組影格。In the same way, when the image processing device 1 finds that one of the frames in a certain group of frames should be used as the alignment point and the frame is missing, it will promptly use the identification code of the next frame (the frame to be used as the alignment point) and other groups. The frame whose identification code is similar among the frames is used as the alignment point, and the frame of the certain group is aligned with other frames of the group.

綜上所述,上述實施例藉由每秒脈衝(PPS)訊號觸發多個高速攝影裝置同步以頻率M攝影而產生多組影格,且令該等高速攝影裝置同時以每秒脈衝訊號重置其中的計數器重新計數並且獲取該標準時間,並使各該高速攝影裝置以拍攝每一影格當下該計數器的計數值和該標準時間做為各該影格的識別碼,再將各該組連續且具有該識別碼的影格提供給該影像處理裝置,藉此,該影像處理裝置只要根據各該組連續且具有該識別碼的影格其中第1個影格的該識別碼,以及第1個影格之後每間隔N個的該影格的該識別碼,即可對齊該等組連續且具有該識別碼的影格,使該等組影格在時間上逐格對齊,而達到將多個高速攝影裝置同步拍攝產生的多組連續的影格彼此對齊的功效與目的。In summary, the above-mentioned embodiment uses pulse per second (PPS) signal to trigger multiple high-speed photography devices to take pictures at frequency M synchronously to generate multiple sets of frames, and makes these high-speed photography devices simultaneously reset them with pulse per second signal The counter recounts and obtains the standard time, and makes each high-speed photographic device take the count value of the counter and the standard time at the moment of shooting each frame as the identification code of each frame, and then each of the consecutive groups with the The frame of the identification code is provided to the image processing device, whereby the image processing device only needs to use the identification code of the first frame among the groups of consecutive frames with the identification code, and every interval N after the first frame The identification code of the frame can align the groups of continuous frames with the identification code, so that the groups of frames are aligned frame by frame in time, so as to achieve the multiple groups produced by synchronous shooting of multiple high-speed photographic devices. The effect and purpose of consecutive frames aligned with each other.

惟以上所述者,僅為本新型之實施例而已,當不能以此限定本新型實施之範圍,凡是依本新型申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本新型專利涵蓋之範圍內。But the above-mentioned ones are only embodiments of the present invention, and should not limit the scope of implementation of the present invention with this. All simple equivalent changes and modifications made according to the patent scope of the present application and the content of the patent specification are still within the scope of the present invention. Within the scope covered by this patent.

100:影格對齊系統 1:影像處理裝置 3:PPS訊號與時間提供裝置 A、B、C:高速攝影裝置 21:攝影鏡頭模組 22:PPS訊號與時間提供模組 23:微控制器 231:觸發訊號產生器 232:計數器 233:時間暫存器 234:儲存單元 S1~S5:步驟 100: frame alignment system 1: Image processing device 3: PPS signal and time providing device A, B, C: high-speed photography device 21: Photographic lens module 22:PPS signal and time supply module 23: Microcontroller 231:Trigger signal generator 232: counter 233: Time register 234: storage unit S1~S5: steps

本新型之其他的特徵及功效,將於參照圖式的實施方式中清楚地顯示,其中: 圖1是本新型影格對齊系統進行影格對齊的主要流程步驟; 圖2是本新型影格對齊系統的一實施例包括的硬體裝置及模組方塊示意圖; 圖3是圖2所示之實施例的高速攝影裝置的細部硬體元件方塊示意圖; 圖4是本新型影格對齊系統的另一實施態樣包括的硬體裝置及模組方塊示意圖;及 圖5顯示本實施例拍攝的三組連續的影格其中每一個影格的識別碼及其在時序上的對應關係。 Other features and functions of the present invention will be clearly shown in the implementation manner with reference to the drawings, wherein: Fig. 1 is the main process steps of frame alignment performed by the novel frame alignment system; Fig. 2 is a schematic block diagram of hardware devices and modules included in an embodiment of the novel frame alignment system; Fig. 3 is a schematic block diagram of detailed hardware elements of the high-speed photographic device of the embodiment shown in Fig. 2; Fig. 4 is a schematic block diagram of hardware devices and modules included in another embodiment of the novel frame alignment system; and FIG. 5 shows the identification codes of each of the three groups of consecutive frames shot in this embodiment and their corresponding relationships in time sequence.

100:影格對齊系統 100: frame alignment system

1:影像處理裝置 1: Image processing device

A、B、C:高速攝影裝置 A, B, C: high-speed photography device

21:攝影鏡頭模組 21: Photographic lens module

22:PPS訊號與時間提供模組 22:PPS signal and time supply module

23:微控制器 23: Microcontroller

Claims (6)

一種影格對齊系統,包括: 一影像處理裝置;及 多台高速攝影裝置,其能與該影像處理裝置通訊,且該等高速攝影裝置根據一每秒脈衝訊號同步攝影,並以一頻率M(M為正整數)拍攝而產生多組連續的影格;且各該高速攝影裝置同時根據該每秒脈衝訊號重置其中的一計數器並取得當下的一標準時間;各該高速攝影裝置以拍攝每一影格當下該計數器的一計數值和該標準時間做為各該影格的一識別碼,再將各該組連續且具有該識別碼的影格提供給該影像處理裝置; 該影像處理裝置根據各該高速攝影裝置提供之各該組連續且具有該識別碼的影格其中第1個影格的該識別碼對齊該等組連續且具有該識別碼的影格。 A frame alignment system comprising: an image processing device; and A plurality of high-speed photography devices capable of communicating with the image processing device, and these high-speed photography devices take pictures synchronously according to a pulse signal per second, and shoot at a frequency M (M is a positive integer) to generate multiple sets of continuous frames; And each of the high-speed photography devices resets a counter according to the per-second pulse signal and obtains a current standard time at the same time; each of the high-speed photography devices takes a count value of the counter and the standard time at the moment of shooting each frame as an identification code for each of the frames, and then provide each of the group of consecutive frames with the identification code to the image processing device; The image processing device aligns the groups of consecutive frames with the identification code according to the identification code of the first frame of the groups of consecutive frames with the identification code provided by each of the high-speed photography devices. 如請求項1所述影格對齊系統,其中,該影像處理裝置發現某一組連續且具有該識別碼的影格缺少第1個影格時,該影像處理裝置根據該某一組連續且具有該識別碼的影格其中第2個影格的該識別碼和其它組具有該識別碼的影格其中第2個影格的該識別碼,將該某一組連續且具有該識別碼的影格與其它組具有該識別碼的影格對齊。The frame alignment system according to claim 1, wherein when the image processing device finds that a certain group of continuous frames with the identification code lacks the first frame, the image processing device will The identification code of the second frame of the frame and the identification code of the second frame of the other group of frames with the identification code, and the identification code of a certain group of consecutive frames with the identification code and other groups with the identification code frame alignment. 如請求項1或2所述的影格對齊系統,其中,該影像處理裝置還從各該組連續且具有該識別碼的影格中,每間隔N個影格根據各該影格的該識別碼對齊該等組連續且具有該識別碼的影格,其中,N為正整數且N≥0。The frame alignment system as described in claim 1 or 2, wherein, the image processing device also aligns the groups of consecutive frames with the identification code at intervals of N frames according to the identification code of each frame A group of consecutive frames with the identification code, where N is a positive integer and N≥0. 如請求項1所述的影格對齊系統,其中,各該高速攝影裝置再次根據該每秒脈衝訊號重置其中的該計數器時,會同時更新該標準時間。The frame alignment system as described in Claim 1, wherein when each of the high-speed photography devices resets the counter therein again according to the pulse-per-second signal, the standard time will be updated at the same time. 如請求項1所述的影格對齊系統,其中,各該高速攝影裝置包含一攝影鏡頭模組、一脈衝訊號與時間提供模組及一微控制器,該脈衝訊號與時間提供模組能產生該每秒脈衝訊號且能取得所處地理位置當下的該標準時間,該微控制器與該脈衝訊號與時間提供模組電連接,以要求該脈衝訊號與時間提供模組提供該每秒脈衝訊號及該標準時間;且該微控制器包含一觸發訊號產生器、該計數器、一時間暫存器及一儲存單元,該觸發訊號產生器根據該每秒脈衝訊號產生具有該頻率M的觸發訊號觸發該攝影鏡頭模組以該頻率M同步攝影,該時間暫存器暫存該標準時間,該儲存單元暫存各該組連續且具有該識別碼的影格。The frame alignment system as described in claim item 1, wherein each of the high-speed photography devices includes a photography lens module, a pulse signal and time supply module and a microcontroller, and the pulse signal and time supply module can generate the pulse signal per second and can obtain the current standard time at the geographic location, the microcontroller is electrically connected to the pulse signal and time providing module to request the pulse signal and time providing module to provide the pulse signal per second and The standard time; and the microcontroller includes a trigger signal generator, the counter, a time register and a storage unit, the trigger signal generator generates a trigger signal with the frequency M according to the pulse signal per second to trigger the The camera lens module takes pictures synchronously with the frequency M, the time register temporarily stores the standard time, and the storage unit temporarily stores each group of consecutive frames with the identification code. 如請求項1所述的影格對齊系統,還包括一能與各該高速攝影裝置進行無線通訊的脈衝訊號與時間提供裝置,該脈衝訊號與時間提供裝置會提供該每秒脈衝訊號和所處地理位置當下的該標準時間給該等高速攝影裝置;且各該高速攝影裝置包含一攝影鏡頭模組及一微控制器,該微控制器包含一觸發訊號產生器、該計數器、一時間暫存器及一儲存單元,該觸發訊號產生器根據該每秒脈衝訊號產生具有該頻率M的觸發訊號觸發該攝影鏡頭模組以該頻率M同步攝影,該時間暫存器暫存該標準時間,該儲存單元暫存各該組連續且具有該識別碼的影格。The frame alignment system as described in claim 1 also includes a pulse signal and time providing device capable of wireless communication with each of the high-speed photography devices, and the pulse signal and time providing device will provide the pulse signal per second and the geographic location The current standard time of the position is given to these high-speed photography devices; and each of the high-speed photography devices includes a photography lens module and a microcontroller, and the microcontroller includes a trigger signal generator, the counter, and a time register and a storage unit, the trigger signal generator generates a trigger signal with the frequency M according to the pulse signal per second to trigger the photography lens module to take pictures synchronously with the frequency M, the time register temporarily stores the standard time, and the storage The unit temporarily stores each group of consecutive frames with the identification code.
TW111208770U 2022-08-12 2022-08-12 frame alignment system TWM634644U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111208770U TWM634644U (en) 2022-08-12 2022-08-12 frame alignment system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111208770U TWM634644U (en) 2022-08-12 2022-08-12 frame alignment system

Publications (1)

Publication Number Publication Date
TWM634644U true TWM634644U (en) 2022-11-21

Family

ID=85785053

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111208770U TWM634644U (en) 2022-08-12 2022-08-12 frame alignment system

Country Status (1)

Country Link
TW (1) TWM634644U (en)

Similar Documents

Publication Publication Date Title
CN107231533B (en) synchronous exposure method and device and terminal equipment
CN109104259B (en) Multi-sensor time synchronization system and method
CN105940390B9 (en) Method and system for synchronizing data received from multiple sensors of a device
WO2018227329A1 (en) Synchronous exposure method and device, and terminal device
CN107277385B (en) Multi-camera system synchronous exposure control method and device and terminal equipment
US20150271469A1 (en) Image synchronization method for cameras and electronic apparatus with cameras
WO2021042825A1 (en) Multi-camera synchronization method and distributed system
CN110740227B (en) Camera time synchronization device and method based on GNSS time service and image display information coding mode
CN1902905A (en) Wireless multi-recorder system
CN110139066A (en) A kind of Transmission system of sensing data, method and apparatus
CN111556224B (en) Multi-camera synchronous calibration method, device and system
CN111736169A (en) Data synchronization method, device and system
CN110505466B (en) Image processing method, device, electronic equipment, storage medium and system
CN111813716A (en) Multi-sensor data synchronization, electronic device, and storage medium
JP6110883B2 (en) Device for three-dimensional display of photo judgment images
CN111405139A (en) Time synchronization method, system, visual mileage system and storage medium
TWM634644U (en) frame alignment system
WO2024060763A1 (en) Wireless smart wearable device and image acquisition method thereof
TWM632090U (en) Video frames alignment system
TW202407643A (en) Frame alignment method and system
WO2018227327A1 (en) Synchronous exposure method, apparatus, and terminal device
TWI817345B (en) Frame alignment method and system
CN110636202B (en) Panoramic camera control method and device and storage medium
CN112995524A (en) High-precision acquisition vehicle, and photo exposure information generation system, method and synchronization device thereof
TW201824854A (en) Video streaming stitching and transmitting method, video streaming gateway and video streaming viewer