KR101988157B1 - Timeline synchronization method and apparatus of video clips using sound waveform - Google Patents

Timeline synchronization method and apparatus of video clips using sound waveform Download PDF

Info

Publication number
KR101988157B1
KR101988157B1 KR1020180009752A KR20180009752A KR101988157B1 KR 101988157 B1 KR101988157 B1 KR 101988157B1 KR 1020180009752 A KR1020180009752 A KR 1020180009752A KR 20180009752 A KR20180009752 A KR 20180009752A KR 101988157 B1 KR101988157 B1 KR 101988157B1
Authority
KR
South Korea
Prior art keywords
similarity
images
waveform
image
reference image
Prior art date
Application number
KR1020180009752A
Other languages
Korean (ko)
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 KR1020180009752A priority Critical patent/KR101988157B1/en
Application granted granted Critical
Publication of KR101988157B1 publication Critical patent/KR101988157B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/04Time compression or expansion
    • G10L21/055Time compression or expansion for synchronising with other signals, e.g. video signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • G10L25/57Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for processing of video signals

Abstract

A method and an apparatus for synchronizing a time axis among multiple videos by using a sound waveform are disclosed. According to an embodiment of the present invention, the method for synchronizing a time axis comprises the steps of: receiving multiple videos; extracting multiple sound waveforms respectively corresponding to the multiple videos from the multiple videos to generate multiple waveform images; and synchronizing the multiple videos based on similarity among the multiple waveform images.

Description

소리 파형을 이용한 다수 동영상 간 시간축 동기화 방법 및 장치{TIMELINE SYNCHRONIZATION METHOD AND APPARATUS OF VIDEO CLIPS USING SOUND WAVEFORM}BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time synchronization method and apparatus for a plurality of moving pictures using a sound waveform,

아래 실시예들은 소리 파형을 이용한 다수 동영상 간 시간축 동기화 방법 및 장치에 관한 것이다.The following embodiments relate to a method and apparatus for time axis synchronization between multiple moving images using a sound waveform.

최근, 일반 사용자들도 스마트폰을 이용하여 파노라마 영상을 쉽게 제작할 수 있게 되었다. 하지만 아직까지 스마트폰을 이용한 파노라마 동영상 제작에는 어려움이 있다.Recently, ordinary users can easily create panoramic images using smart phones. However, there are still difficulties in making panorama videos using smart phones.

이러한 어려움 중 하나는 영상을 동시에 촬영할 때, 여러 스마트폰으로 다각도에서 촬영하여 파노라마 동영상을 제작하여야 하는데, 스마트 폰 내 하드웨어 차이로 인해 각 동영상의 시간을 동기화시키기가 어렵기 때문이다.One of these difficulties is that when shooting images at the same time, it is necessary to make panorama videos by shooting in various angles with various smart phones, because it is difficult to synchronize the time of each video due to hardware differences in smartphone.

하드웨어 간의 차이로 인해 발생하는 여러 동영상 간의 동일 시간을 구하기 어렵다는 문제점을 극복하기 위해 영상 정보를 이용하여 여러 동영상 간의 시간축을 동기화하는 방법들이 연구되었다. In order to overcome the problem that it is difficult to obtain the same time between multiple videos due to differences between hardware, methods of synchronizing time axes among various videos using image information have been studied.

색상 정보나 영상 특징을 이용하는 영상 정보 기반 시간축 동기화 방법의 경우, 데이터 사이즈가 크기 때문에 엄청난 자원을 필요로 하며 시간이 오래 걸리거나 시간축 동기화 정확도가 떨어지는 문제점이 있다.In the case of an image information based time axis synchronization method using color information or image features, a large amount of data is required because of a large data size, and it takes a long time or a time synchronization accuracy is poor.

동영상은 영상과 오디오로 구성되어 있다. 즉, 오디오도 동영상 간의 시간축 동기화에 사용할 수 있는 수단임을 의미한다. 흔히 알고 있는 오디오 특징으로는 오디오 핑거프린팅, 스펙트로그램, 소리 파형 등이 있다.Video consists of video and audio. In other words, audio also means that it can be used for time synchronization between moving images. Common audio features include audio fingerprinting, spectrograms, and sound waveforms.

이 중 소리 파형은 쉽게 이해할 수 있고 다루기 용이하다는 장점이 있다. Among them, the sound waveform has an advantage that it is easy to understand and easy to handle.

실시예들은 소리 파형을 이용하여 복수의 동영상 간의 시간축을 동기화하는 기술을 제공할 수 있다.Embodiments can provide a technique of synchronizing the time axis between a plurality of moving images using a sound waveform.

일 실시예에 따른 시간축 동기화 방법은, 복수의 동영상을 수신하는 단계와, 상기 복수의 동영상으로부터 상기 복수의 동영상 각각에 대응하는 복수의 소리 파형(sound waveform)을 추출하여 복수의 파형 이미지를 생성하는 단계와, 상기 복수의 파형 이미지 간의 유사도에 기초하여 상기 복수의 동영상을 동기화(synchronization)하는 단계를 포함한다.According to an embodiment, there is provided a time synchronization method including: receiving a plurality of moving images; extracting a plurality of sound waveforms corresponding to each of the plurality of moving images from the plurality of moving images to generate a plurality of waveform images; And synchronizing the plurality of moving images based on the degree of similarity between the plurality of waveform images.

상기 복수의 파형 이미지는, 상기 복수의 동영상 각각의 프레임 수의 2 배에 해당하는 길이를 가지는 이진 이미지일 수 있다.The plurality of waveform images may be a binary image having a length corresponding to twice the frame number of each of the plurality of moving images.

상기 생성하는 단계는, FFmpeg(Fast Forward Moving Pictures Expert Group)를 이용해 상기 복수의 소리 파형으로부터 상기 복수의 파형 이미지를 생성하는 단계를 포함할 수 있다.The generating may include generating the plurality of waveform images from the plurality of sound waveforms using Fast Forward Moving Pictures Expert Group (FFmpeg).

상기 동기화하는 단계는, 상기 복수의 파형 이미지 간의 비교 연산을 수행하여 상기 유사도를 계산하는 단계와, 상기 유사도에 기초하여 상기 복수의 동영상의 시간축을 동기화하는 단계를 포함할 수 있다.The synchronizing step may include performing a comparison operation between the plurality of waveform images to calculate the similarity, and synchronizing the time axes of the plurality of moving images based on the similarity.

상기 시간축을 동기화하는 단계는, 상기 유사도가 가장 높은 시점으로 상기 시간축을 일치시키는 단계를 포함할 수 있다.The step of synchronizing the time axis may include the step of matching the time axis to a time point at which the degree of similarity is the highest.

상기 계산하는 단계는, 상기 복수의 파형 이미지의 길이에 기초하여 상기 복수의 파형 이미지를 기준 이미지 및 비교 대상 이미지로 분류하는 단계와, 상기 기준 이미지의 일부를 선택하는 단계와, 상기 기준 이미지의 일부와 상기 비교 대상 이미지에 대하여 비교 연산을 수행하여 상기 유사도를 계산하는 단계를 포함할 수 있다.Wherein the step of calculating comprises: classifying the plurality of waveform images into a reference image and a comparison object based on a length of the plurality of waveform images; selecting a portion of the reference image; And calculating the similarity by performing a comparison operation on the comparison object image.

상기 분류하는 단계는, 상기 복수의 파형 이미지 중 길이가 가장 짧은 파형 이미지를 상기 기준 이미지로 설정하는 단계를 포함할 수 있다.The classifying step may include setting a waveform image having the shortest length among the plurality of waveform images as the reference image.

상기 선택하는 단계는, 상기 기준 이미지의 절반을 상기 기준 이미지의 일부로 선택하는 단계를 포함할 수 있다.The selecting may comprise selecting half of the reference image as a portion of the reference image.

상기 유사도를 계산하는 단계는, 상기 비교 대상 이미지의 일부를 선택하는 단계와, 상기 기준 이미지의 일부와 상기 비교 대상 이미지의 일부 간의 XOR(Exclusive-OR)연산을 수행하여 상기 유사도를 계산하는 단계를 포함할 수 있다.The step of calculating the degree of similarity may include a step of selecting a part of the comparison object image and a step of calculating an XOR (Exclusive-OR) operation between a part of the reference image and a part of the comparison image to calculate the degree of similarity .

일 실시예에 따른 시간축 동기화 장치는, 복수의 동영상을 수신하는 수신기와, 상기 복수의 동영상으로부터 추출한 복수의 소리 파형의 유사도에 기초하여 상기 복수의 동영상을 동기화하는 컨트롤러를 포함한다.A time synchronization apparatus according to an embodiment includes a receiver for receiving a plurality of moving pictures and a controller for synchronizing the plurality of moving pictures based on a similarity degree of a plurality of sound waveforms extracted from the plurality of moving pictures.

상기 컨트롤러는, 상기 복수의 동영상으로부터 상기 복수의 동영상 각각에 대응하는 복수의 소리 파형(sound waveform)을 추출하여 복수의 파형 이미지를 생성하는 파형 이미지 생성기와, 상기 복수의 파형 이미지 간의 유사도에 기초하여 상기 복수의 동영상을 동기화(synchronization)하는 동기화기를 포함할 수 있다.The controller includes a waveform image generator for extracting a plurality of sound waveforms corresponding to each of the plurality of moving images from the plurality of moving images to generate a plurality of waveform images; And a synchronizer for synchronizing the plurality of moving images.

상기 복수의 파형 이미지는, 상기 복수의 동영상 각각의 프레임 수의 2 배에 해당하는 길이를 가지는 이진 이미지일 수 있다.The plurality of waveform images may be a binary image having a length corresponding to twice the frame number of each of the plurality of moving images.

상기 파형 이미지 생성기는, FFmpeg(Fast Forward Moving Pictures Expert Group)를 이용해 상기 복수의 소리 파형으로부터 상기 복수의 파형 이미지를 생성할 수 있다.The waveform image generator may generate the plurality of waveform images from the plurality of sound waveforms using Fast Forward Moving Pictures Expert Group (FFmpeg).

상기 동기화기는, 상기 복수의 파형 이미지 간의 비교 연산을 수행하여 상기 유사도를 계산하는 유사도 계산기와, 상기 유사도에 기초하여 상기 복수의 동영상의 시간축을 동기화하는 시간축 조절기를 포함할 수 있다.The synchronizer may include a similarity calculator for performing a comparison operation between the plurality of waveform images to calculate the similarity, and a time axis adjuster for synchronizing the time axis of the plurality of moving images based on the similarity.

상기 시간축 조절기는, 상기 유사도가 가장 높은 시점으로 상기 시간축을 일치시킬 수 있다.The time axis adjuster may match the time axis with a time point at which the degree of similarity is the highest.

상기 유사도 계산기는, 상기 복수의 파형 이미지의 길이에 기초하여 상기 복수의 파형 이미지를 기준 이미지 및 비교 대상 이미지로 분류하고, 상기 기준 이미지의 일부를 선택하고, 상기 기준 이미지의 일부와 상기 비교 대상 이미지에 대하여 비교 연산을 수행하여 상기 유사도를 계산할 수 있다.Wherein the similarity calculator classifies the plurality of waveform images into a reference image and a comparison object based on a length of the plurality of waveform images, selects a part of the reference image, The degree of similarity can be calculated.

상기 유사도 계산기는, 상기 복수의 파형 이미지 중 길이가 가장 짧은 파형 이미지를 상기 기준 이미지로 설정할 수 있다.The similarity calculator may set a waveform image having the shortest length among the plurality of waveform images as the reference image.

상기 유사도 계산기는, 상기 기준 이미지의 절반을 상기 기준 이미지의 일부로 선택할 수 있다.The similarity calculator may select half of the reference image as a part of the reference image.

상기 유사도 계산기는, 상기 비교 대상 이미지의 일부를 선택하고, 상기 기준 이미지의 일부와 상기 비교 대상 이미지의 일부 간의 XOR(Exclusive-OR)연산을 수행하여 상기 유사도를 계산할 수 있다.The similarity calculator may calculate the degree of similarity by performing a XOR (Exclusive-OR) operation between a part of the reference image and a part of the comparison image by selecting a part of the comparison image.

도 1은 일 실시예에 따른 시간축 동기화 장치의 개략적인 블록도를 나타낸다.
도 2는 도 1에 도시된 컨트롤러의 개략적인 블록도를 나타낸다.
도 3은 도 2에 도시된 동기화기의 개략적인 블록도를 나타낸다.
도 4는 도 1내지 3에 도시된 시간축 동기화 장치의 동작의 예를 나타낸다.
도 5는 동기화기가 동기화를 수행하는 동작의 예를 나타낸다.
도 6a는 소리 파형에 기반한 시간축 동기화 결과의 예를 나타낸다.
도 6b는 영상 정보에 기반한 시간축 동기화 결과의 예를 나타낸다.
도 7은 일 실시예에 따른 시간축 동기화 방법의 순서도를 나타낸다.
Figure 1 shows a schematic block diagram of a time synchronization device according to one embodiment.
Fig. 2 shows a schematic block diagram of the controller shown in Fig.
Figure 3 shows a schematic block diagram of the synchronizer shown in Figure 2;
4 shows an example of the operation of the time synchronization apparatus shown in Figs.
5 shows an example of an operation in which a synchronizer performs synchronization.
6A shows an example of a time-base synchronization result based on a sound waveform.
6B shows an example of the time-base synchronization result based on the image information.
7 shows a flowchart of a time synchronization method according to one embodiment.

이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 그러나, 실시예들에는 다양한 변경이 가해질 수 있어서 특허출원의 권리 범위가 이러한 실시예들에 의해 제한되거나 한정되는 것은 아니다. 실시예들에 대한 모든 변경, 균등물 내지 대체물이 권리 범위에 포함되는 것으로 이해되어야 한다.In the following, embodiments will be described in detail with reference to the accompanying drawings. However, various modifications may be made in the embodiments, and the scope of the patent application is not limited or limited by these embodiments. It is to be understood that all changes, equivalents, and alternatives to the embodiments are included in the scope of the right.

실시예에서 사용한 용어는 단지 설명을 목적으로 사용된 것으로, 한정하려는 의도로 해석되어서는 안된다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서 상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used in the examples are used for descriptive purposes only and are not to be construed as limiting. The singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, the terms "comprises" or "having" and the like refer to the presence of stated features, integers, steps, operations, elements, components, or combinations thereof, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

제1 또는 제2등의 용어를 다양한 구성요소들을 설명하는데 사용될 수 있지만, 구성요소들은 용어들에 의해서 한정되어서는 안 된다. 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만, 예를 들어 실시예의 개념에 따른 권리 범위로부터 이탈되지 않은 채, 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소는 제1 구성요소로도 명명될 수 있다. The terms first, second, or the like may be used to describe various elements, but the elements should not be limited by terms. The terms may be named for the purpose of distinguishing one element from another, for example, without departing from the scope of the right according to the concept of the embodiment, the first element being referred to as the second element, The second component may also be referred to as a first component.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which this embodiment belongs. Terms such as those defined in commonly used dictionaries are to be interpreted as having a meaning consistent with the contextual meaning of the related art and are to be interpreted as either ideal or overly formal in the sense of the present application Do not.

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 실시예의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In the following description of the present invention with reference to the accompanying drawings, the same components are denoted by the same reference numerals regardless of the reference numerals, and redundant explanations thereof will be omitted. In the following description of the embodiments, a detailed description of related arts will be omitted if it is determined that the gist of the embodiments may be unnecessarily blurred.

도 1은 일 실시예에 따른 시간축 동기화 장치의 개략적인 블록도를 나타낸다.Figure 1 shows a schematic block diagram of a time synchronization device according to one embodiment.

도 1을 참조하면, 시간축 동기화 장치(10)는 동영상의 소리 파형을 이용하여 복수의 동영상들을 동기화시킬 수 있다. 시간축 동기화 장치(10)는 소리 파형을 사용하여 복수의 동영상의 시간축을 동기화시킴으로써 기존의 영상 기반 동기화 방식에 비해 속도가 빠르고 정확도가 높을 수 있다.Referring to FIG. 1, the time synchronization apparatus 10 may synchronize a plurality of moving pictures using a sound waveform of moving pictures. The time synchronization device 10 can synchronize the time axis of a plurality of moving pictures using a sound waveform, so that the time synchronization device 10 can be faster and more accurate than the conventional image-based synchronization method.

기존의 영상 기반 동기화 방식은 동영상 내에 움직임이 없는 경우에 활용할 수가 없고, 움직임이 너무 빠른 경우 동기화의 정확도가 떨어질 수 있다. 또한, 기존의 영상 기반 동기화 방식은 영상 정보에서 특징을 추출하기 때문에 GPU(Graphics Processing Unit)를 사용하지 않으면 시간이 오래 걸리는 단점을 가질 수 있다.Conventional image-based synchronization method can not be used when there is no movement in the moving image, and synchronization accuracy may be lowered when the movement is too fast. In addition, since the conventional image-based synchronization method extracts features from image information, it may take a long time without using a GPU (Graphics Processing Unit).

시간축 동기화 장치(10)는 다수의 카메라로 동시에 촬영한 동영상들을 동기화시킴으로써 파노라마 동영상을 생성할 수 있다. 시간축 동기화 장치(10)는 하드웨어 내부 시계를 이용하지 않고, 복수의 동영상으로부터 동일한 시간대를 찾아서 복수의 동영상을 동기화시킬 수 있다.The time axis synchronization apparatus 10 can generate a panorama moving image by synchronizing moving images captured by a plurality of cameras at the same time. The time base synchronization apparatus 10 can synchronize a plurality of videos by searching for the same time zone from a plurality of videos without using a hardware internal clock.

시간축 동기화 장치(10)는 PC(personal computer), 데이터 서버, 또는 휴대용 장치 내에 구현될 수 있다.The time synchronization device 10 may be implemented in a personal computer (PC), a data server, or a portable device.

휴대용 장치는 랩탑(laptop) 컴퓨터, 이동 전화기, 스마트폰(smart phone), 태블릿(tablet) PC, 모바일 인터넷 디바이스(mobile internet device(MID)), PDA(personal digital assistant), EDA(enterprise digital assistant), 디지털 스틸 카메라(digital still camera), 디지털 비디오 카메라(digital video camera), PMP(portable multimedia player), PND(personal navigation device 또는 portable navigation device), 휴대용 게임 콘솔(handheld game console), e-북(e-book), 또는 스마트 디바이스(smart device)로 구현될 수 있다. 스마트 디바이스는 스마트 와치(smart watch), 스마트 밴드(smart band), 또는 스마트 링(smart ring)으로 구현될 수 있다.Portable devices include laptop computers, mobile phones, smart phones, tablet PCs, mobile internet devices (MIDs), personal digital assistants (PDAs), enterprise digital assistants (EDAs) A digital still camera, a digital video camera, a portable multimedia player (PMP), a personal navigation device or a portable navigation device (PND), a handheld game console, an e-book e-book, or a smart device. A smart device can be implemented as a smart watch, a smart band, or a smart ring.

소리 정보는 스펙트로그램, 오디오 핑거프린팅 및 소리 파형 등의 개념을 포함할 수 있다. 오디오 핑거프린팅은 멜로디의 일부를 가지고 커다란 음악 데이터베이스에서 원하는 곡을 찾기 위해 사용될 수 있다. 그러나, 오디오 핑거프린팅은 노이즈가 없는 상황에서만 사용될 수 있다.The sound information may include concepts such as spectrogram, audio fingerprinting, and sound waveform. Audio fingerprinting can be used to locate a desired song in a large music database with a portion of the melody. However, audio fingerprinting can only be used in a no-noise situation.

일반적으로 다각도에서 촬영한 동영상에는 노이즈가 존재하기 때문에, 오디오 핑거프린팅은 시간축 동기화 방법에 사용하기에 부적절할 수 있다. 또한, 오디오 핑거프린팅은 멜로디를 통해 음악을 찾기 위해 만들어진 개념이기 때문에, 시간축 동기화에 사용될 경우에 내부 구조가 필수적으로 수정되어야 할 수 있다.In general, since there is noise in moving pictures taken at multiple angles, audio fingerprinting may be inappropriate for use in the time synchronization method. In addition, because audio fingerprinting is a concept that is designed to search for music through melody, internal structure may be necessarily modified when used for time synchronization.

스펙트로그램은 시간의 흐름에 따라 특정 주파수 대역의 크기를 나타내는 3차원 소리정보를 의미할 수 있다. 스펙트로그램은 시간에 따른 특정 주파수의 크기를 색상으로 표현할 수 있다. 예를 들어, 녹색이 청색보다 강한 세기를 의미할 수 있고, 흑색에 가까울수록 특정 주파수의 크기가 작은 것을 의미할 수 있다. 이처럼, 스펙트로그램은 3차원 소리 정보이기 때문에, 시간축 동기화를 위한 스펙트로그램 비교는 어려울 수 있다.The spectrogram can refer to three-dimensional sound information indicating the size of a specific frequency band with time. The spectrogram can express the size of a specific frequency with time in color. For example, green may mean a stronger intensity than blue, and the closer to black the smaller the specific frequency. Thus, since the spectrogram is three-dimensional sound information, it may be difficult to compare spectrograms for time synchronization.

소리 파형은 시간에 따른 소리의 세기를 의미할 수 있다. 소리 파형은 이해하기 쉽고, 2차원 정보이기 때문에 스펙트로그램과 달리 다수 동영상의 소리 파형을 비교하기 용이할 수 있다.The sound waveform can mean the intensity of the sound over time. Since the sound waveform is easy to understand and two-dimensional information, unlike the spectrogram, it is easy to compare the sound waveforms of a plurality of moving images.

시간축 동기화 장치(10)는 수신기(100) 및 컨트롤러(200)를 포함한다.The time synchronization device 10 includes a receiver 100 and a controller 200.

수신기(100)는 복수의 동영상을 수신할 수 있다. 수신기(100)는 촬영 기능을 포함하는 모든 장치를 포함할 수 있다. 또한, 수신기(100)는 촬영 기능을 포함하는 장치로부터 동영상 및 이미지를 수신할 수도 있다.The receiver 100 can receive a plurality of moving pictures. The receiver 100 may include any device including a photographing function. Also, the receiver 100 may receive moving images and images from a device that includes a photographing function.

수신기(100)는 복수의 촬영 장치를 포함할 수 있고, 또는 복수의 카메라를 포함하는 단일 장치를 포함할 수 있다. 수신기(100)는 수신한 복수의 동영상을 컨트롤러(200)로 출력할 수 있다.The receiver 100 may include a plurality of imaging devices, or may include a single device that includes a plurality of cameras. The receiver 100 may output a plurality of received moving images to the controller 200.

컨트롤러(200)는 복수의 동영상으로부터 추출한 복수의 소리 파형의 유사도에 기초하여 복수의 동영상을 동기화할 수 있다.The controller 200 can synchronize a plurality of moving images based on the similarity of the plurality of sound waveforms extracted from the plurality of moving images.

도 2는 도 1에 도시된 컨트롤러의 개략적인 블록도를 나타낸다.Fig. 2 shows a schematic block diagram of the controller shown in Fig.

도 2를 참조하면, 컨트롤러(200)는 파형 이미지 생성기(210) 및 동기화기(230)을 포함할 수 있다.Referring to FIG. 2, the controller 200 may include a waveform image generator 210 and a synchronizer 230.

파형 이미지 생성기(210)는 복수의 동영상으로부터 복수의 동영상 각각에 대응하는 복수의 소리 파형(sound waveform)을 추출하여 복수의 파형 이미지를 생성할 수 있다. 파형 이미지 생성기(210)는 FFmpeg(Fast Forward Moving Pictures Expert Group)를 이용해 복수의 소리 파형으로부터 복수의 파형 이미지를 생성할 수 있다.The waveform image generator 210 may generate a plurality of waveform images by extracting a plurality of sound waveforms corresponding to each of the plurality of moving images from the plurality of moving images. The waveform image generator 210 may generate a plurality of waveform images from a plurality of sound waveforms using Fast Forward Moving Pictures Expert Group (FFmpeg).

FFmpeg는 오디오, 비디오 인코딩, 디코딩을 위한 프레임워크로서 FFmpeg를 이용하여 파형 이미지 생성기(210)는 동영상에서 소리 파형을 추출하여 파형 이미지를 쉽게 생성할 수 있다.The FFmpeg is a framework for audio, video encoding, and decoding, and the waveform image generator 210 can easily generate a waveform image by extracting a sound waveform from a moving image using FFmpeg.

파형 이미지 생성기(210)는 정밀한 비교를 위해 동영상 프레임의 배수의 길이 및 임의의 높이를 가지는 파형 이미지를 생성할 수 있다. 파형 이미지 생성기(210)는 FFmpeg를 통해 입력한 모든 동영상의 소리 파형을 추출하여 이진 이미지로 변환할 수 있다.The waveform image generator 210 may generate a waveform image having a length and an arbitrary height of a multiple of a moving picture frame for precise comparison. The waveform image generator 210 can extract a sound waveform of all the moving images inputted through the FFmpeg and convert the sound waveform into a binary image.

예를 들어, 복수의 파형 이미지는 복수의 동영상 각각의 프레임 수의 2 배에 해당하는 길이를 가지는 이진 이미지일 수 있다. 프레임 수의 두 배의 길이를 가지는 파형 이미지를 이용하여 비교하는 경우, 두 동영상 간의 비교 연산은 0.5 프레임까지의 정확도를 가질 수 있다.For example, the plurality of waveform images may be a binary image having a length corresponding to twice the frame number of each of the plurality of moving images. In the case of a comparison using a waveform image having twice the length of the frame number, the comparison operation between the two videos can have an accuracy of up to 0.5 frames.

동기화기(230)는 복수의 파형 이미지 간의 유사도에 기초하여 복수의 동영상을 동기화(synchronization)할 수 있다.The synchronizer 230 may synchronize the plurality of moving images based on the similarity between the plurality of waveform images.

도 3은 도 2에 도시된 동기화기의 개략적인 블록도를 나타낸다.Figure 3 shows a schematic block diagram of the synchronizer shown in Figure 2;

도 3을 참조하면, 동기화기(230)는 유사도 계산기(231) 및 시간축 조절기(233)을 포함할 수 있다.Referring to FIG. 3, the synchronizer 230 may include a similarity calculator 231 and a time axis adjuster 233.

유사도 계산기(231)는 복수의 파형 이미지 간의 비교 연산을 수행하여 유사도를 계산할 수 있다.The similarity calculator 231 may perform a comparison operation between a plurality of waveform images to calculate the similarity.

유사도 계산기(231)는 복수의 파형 이미지의 길이에 기초하여 복수의 파형 이미지를 기준 이미지 및 비교 대상 이미지로 분류할 수 있다. 예를 들어, 유사도 계산기(231)는 복수의 파형 이미지 중 길이가 가장 짧은 파형 이미지를 기준 이미지로 설정할 수 있다.The similarity calculator 231 can classify the plurality of waveform images into the reference image and the comparison object image based on the lengths of the plurality of waveform images. For example, the similarity calculator 231 can set a waveform image having the shortest length among a plurality of waveform images as a reference image.

유사도 계산기(231)는 기준 이미지를 기준으로 비교 대상 이미지와의 유사도를 계산할 수 있다. 비교 대상 이미지는 복수의 파형 이미지 중에서 기준 이미지를 제외한 나머지 이미지들을 의미할 수 있다.The similarity calculator 231 can calculate the similarity with the comparison object based on the reference image. The comparison target image may refer to images other than the reference image among a plurality of waveform images.

유사도 계산기(231)는 기준 이미지의 일부를 선택할 수 있다. 예를 들어, 유사도 계산기(231)는 기준 이미지의 절반을 기준 이미지의 일부로 선택할 수 있다.The similarity calculator 231 can select a part of the reference image. For example, the similarity calculator 231 may select half of the reference image as part of the reference image.

유사도 계산기(231)는 기준 이미지의 일부와 비교 대상 이미지에 대하여 비교 연산을 수행하여 유사도를 계산할 수 있다. 예를 들어, 유사도 계산기(231)는 비교 대상 이미지의 일부를 선택하고, 기준 이미지의 일부와 비교 대상 이미지의 일부 간의 XOR(Exclusive-OR)연산을 수행하여 유사도를 계산할 수 있다.The similarity calculator 231 may calculate the similarity by performing a comparison operation on a part of the reference image and the comparison image. For example, the similarity calculator 231 may select a part of the comparison object image and perform an XOR (Exclusive-OR) operation between a part of the reference image and a part of the comparison object to calculate the similarity.

비교 연산은 XOR 이외의 다른 논리 연산을 포함할 수 있다. 예를 들어, 비교 연산은 AND, OR, NOT, NOR(Not OR) 및 NAND(Not AND) 등을 포함할 수 있다.The comparison operation may include a logic operation other than XOR. For example, the comparison operation may include AND, OR, NOT, NOR (Not OR), and NAND (Not AND).

시간축 조절기(233)는 유사도에 기초하여 복수의 동영상의 시간축을 동기화할 수 있다. 예를 들어, 시간축 조절기(233)는 유사도가 가장 높은 시점으로 시간축을 일치시킬 수 있다.The time axis adjuster 233 can synchronize the time axes of a plurality of moving images based on the similarity. For example, the time axis adjuster 233 can coincide the time axis with the point of highest similarity.

도 4는 도 1내지 3에 도시된 시간축 동기화 장치의 동작의 예를 나타낸다.4 shows an example of the operation of the time synchronization apparatus shown in Figs.

도 4를 참조하면, 수신기(100)는 복수의 동영상을 입력 받을 수 있다. 수신기(100)는 촬영 장치를 포함하여 직접 촬영할 수 있으며, 외부 촬영 장치로부터 동영상을 수신할 수도 있다. 수신기(100)는 수신한 복수의 동영상을 파형 이미지 생성기(210)로 출력할 수 있다.Referring to FIG. 4, the receiver 100 may receive a plurality of moving pictures. The receiver 100 can photograph directly, including a photographing device, and can receive moving pictures from an external photographing device. The receiver 100 may output a plurality of received moving images to the waveform image generator 210.

파형 이미지 생성기(210)는 복수의 동영상으로부터 복수의 소리 파형을 추출하고, 추출한 소리 파형에 기초하여 복수의 파형 이미지를 생성할 수 있다. 파형 이미지 생성기(210)는 복수의 파형 이미지를 유사도 계산기(231)로 출력할 수 있다.The waveform image generator 210 may extract a plurality of sound waveforms from a plurality of moving images and generate a plurality of waveform images based on the extracted sound waveforms. The waveform image generator 210 may output a plurality of waveform images to the similarity calculator 231. [

유사도 계산기(231)는 복수의 파형 이미지들 중에 기준 이미지를 설정하고, 기준 이미지의 일부와 비교 대상 이미지의 일부에 대하여 비교 연산을 수행하여 유사도를 계산할 수 있다. 유사도 계산기(233)는 계산한 유사도를 시간축 조절기(233)로 출력할 수 있다.The similarity calculator 231 may set a reference image among a plurality of waveform images and calculate a similarity by performing a comparison operation on a part of the reference image and a part of the comparison image. The similarity calculator 233 can output the calculated similarity to the time axis adjuster 233.

유사도 계산기(233)는 유사도에 기초하여 복수의 동영상의 시간축을 조절함으로써 시간축을 동기화할 수 있다. 예를 들어 유사도 계산기(233)는 프레임 단위로 시간축을 조절할 수 있다.The similarity calculator 233 can synchronize the time axis by adjusting the time axes of a plurality of moving images based on the similarity. For example, the similarity calculator 233 can adjust the time axis on a frame-by-frame basis.

도 5는 동기화기가 동기화를 수행하는 동작의 예를 나타낸다.5 shows an example of an operation in which a synchronizer performs synchronization.

도 5를 참조하면, 유사도 계산기(231)는 복수의 파형 이미지 중에서 길이가 짧은 이미지를 기준 이미지로 설정하고, 기준 이미지의 일부를 기준 이미지의 일부를 선택할 수 있다. 도 5의 예시와 같이, 유사도 계산기(231)는 기준 이미지의 중앙의 절반을 기준 이미지의 일부로 선택할 수 있다.Referring to FIG. 5, the similarity calculator 231 may set an image having a short length among a plurality of waveform images as a reference image, and select a part of the reference image as a part of the reference image. 5, the similarity calculator 231 may select half of the center of the reference image as a portion of the reference image.

유사도 계산기(231)는 비교 대상 이미지의 일부를 선택하여 기준 이미지의 일부와 비교 연산을 수행할 수 있다. 예를 들어, 비교 대상 이미지의 일부는 기준 이미지의 일부와 동일한 길이를 가질 수 있다.The similarity calculator 231 may select a part of the comparison target image and perform a comparison operation with a part of the reference image. For example, a portion of the image to be compared may have the same length as a portion of the reference image.

유사도 계산기(231)가 비교 연산을 수행할 때, 다수의 동영상들이 대부분 오버랩 되어있는 상태라고 가정할 수 있다.When the similarity calculator 231 performs a comparison operation, it can be assumed that a plurality of moving images are mostly overlapped.

유사도 계산기(231)가 비교연산으로 XOR 연산을 사용할 경우, 두 파형 이미지의 차이가 클수록 연산 결과의 흰색 픽셀의 수가 증가할 수 있다. 즉, 흰색 픽셀의 개수가 가장 적을 때 가장 유사한 소리 파형을 가지는 시점을 의미할 수 있다.When the similarity calculator 231 uses the XOR operation as the comparison operation, the larger the difference between the two waveform images, the greater the number of white pixels of the calculation result. That is, it can mean a point having the most similar sound waveform when the number of white pixels is the smallest.

유사도 계산기(231)는 비교 대상 이미지의 일부를 한 픽셀씩 옮기면서 XOR 연산을 수행하여 흰색 픽셀이 가장 적을 때의 인덱스를 찾을 수 있다. 예를 들어, 유사도 계산기(231)는 비교 대상 이미지의 일부를 비교 대상 이미지의 왼쪽으로부터 오른쪽으로 한 픽셀씩 이동시키면서 XOR 연산을 수행할 수 있다.The similarity calculator 231 performs an XOR operation while shifting a part of the comparison object pixel by pixel to find the index when the white pixel is the smallest. For example, the similarity calculator 231 may perform an XOR operation while moving a part of the comparison target image by one pixel from the left to the right of the comparison target image.

유사도 계산기(231)는 파형이 가장 유사한 시점, 즉 흰색 픽셀이 가장 적을 때가 동일한 시간대라고 가정할 수 있다. The similarity calculator 231 can be assumed to be in the same time zone when the waveform has the closest similarity, that is, when the white pixels are the smallest.

유사도 계산기(231)는 3 개 이상의 동영상 간의 유사도를 계산할 수 있고, 이 경우 기준 이미지를 기반으로 다른 비교 대상 이미지들에 대하여 일대일 비교 연산을 여러 번 수행할 수 있다.The similarity calculator 231 can calculate the similarity between three or more moving images. In this case, one-to-one comparison operations can be performed on other comparison images based on the reference image.

유사도 계산기(231)는 시간축 조절기(233)로 계산한 유사도를 출력할 수 있다.The similarity calculator 231 can output the similarity calculated by the time axis adjuster 233.

시간축 조절기(233)는 기준 영상의 픽셀 위치와 비교 대상 영상의 픽셀 위치를 비교하여 두 동영상 간의 프레임 수의 차이를 계산할 수 있다. 시간축 조절기(233)는 프레임 수의 차이만큼 동영상의 시간축을 조절함으로써 복수의 동영상을 동기화할 수 있다.The time axis adjuster 233 can calculate the difference in the number of frames between the two videos by comparing the pixel position of the reference image with the pixel position of the comparison target image. The time axis adjuster 233 can synchronize a plurality of moving images by adjusting the time axis of the moving image by the difference in the number of frames.

도 6a는 소리 파형에 기반한 시간축 동기화 결과의 예를 나타내고, 도 6b는 영상 정보에 기반한 시간축 동기화 결과의 예를 나타낸다.FIG. 6A shows an example of a time base synchronization result based on a sound waveform, and FIG. 6B shows an example of a time base synchronization result based on image information.

도 6a 및 도 6b를 참조하면, 소리 파형 기반 동기화를 사용한 도 6a가 영상 기반 동기화를 사용한 도 6b에 비하여 동기화의 정확도가 더 높은 것을 확인할 수 있다.Referring to FIGS. 6A and 6B, it can be seen that FIG. 6A using sound waveform based synchronization is higher in synchronization accuracy than FIG. 6B using image based synchronization.

실험을 위해 스마트폰으로 촬영한 초당 60 프레임인 동영상 테스트 세트 3개가 이용될 수 있다. 동일한 테스트 세트를 이용하여 영상 정보 기반의 시간축 동기화 성능과 소리 파형 기반 시간축 동기화 성능이 비교될 수 있다. 동기화를 수행한 후의 프레임 차이는 는 표 1과같이 나타낼 수 있다.For the experiment, three video test sets of 60 frames per second taken on a smartphone can be used. Based on the same test set, the temporal synchronization performance based on image information and the temporal synchronization performance based on sound waveform can be compared. The frame difference after synchronization is shown in Table 1.

영상 정보 기반 동기화(프레임)Video information based synchronization (frame) 소리 파형 기반 동기화(프레임)Sound waveform based synchronization (frames) 테스트 세트 1Test set 1 77 33 테스트 세트 2Test Set 2 1515 55 테스트 세트 3Test Set 3 5050 33

표 1을 참조하면, 소리 파형 기반 동기화 성능이 영상 정보 기반 동기화 방식에 비해 향상된 것을 확인할 수 있다.Referring to Table 1, it can be seen that the sound waveform based synchronization performance is improved as compared with the image information based synchronization method.

또한, 영상 정보 기반 동기화 방식과 소리 파형 기반 동기화 방식의 시간축 동기화 프로세싱에 걸리는 시간을 비교한 결과가 표 2와 같이 나타낼 수 있다.Table 2 compares the time taken for time-base synchronization processing between the video information based synchronization method and the sound waveform based synchronization method.

영상 정보 기반 동기화(초)Video information based synchronization (seconds) 소리 파형 기반 동기화(초)Sound waveform based synchronization (seconds) 향상도(%)Improvement (%) 테스트 세트 1Test set 1 884884 1One 0.110.11 테스트 세트 2Test Set 2 13341334 1One 0.070.07 테스트 세트 3Test Set 3 21382138 1One 0.050.05

표 2를 참조하면, 영상 정보 기반 동기화 방식에 비하여 소리 파형 기반 동기화 방식이 동기화 프로세싱에 걸리는 시간이 압도적으로 짧은 것을 확인할 수 있다.Referring to Table 2, it can be seen that the time required for the synchronization processing of the sound waveform based synchronization method is significantly shorter than that of the image information based synchronization method.

영상 정보를 이용하는 경우 모든 프레임에서 특징을 추출해야 하지만, 소리 파형을 이용하는 경우 FFmpeg를 이용하여 소리 파형을 영상으로 만든 후 이진 이미지를 이용하여 비교 연산을 수행하기 때문에, 계산의 복잡도가 낮아질 수 있다. 표 2를 참조하면, 평균적으로 계산량이 0.07%로 계산량이 줄어들었음을 확인할 수 있다.In case of using image information, the feature should be extracted from all frames. However, in case of using a sound waveform, the complexity of calculation may be lowered because a comparison is performed using a binary image after a sound waveform is formed using FFmpeg. Referring to Table 2, it can be seen that the calculation amount is 0.07% on average, and the calculation amount is decreased.

도 7은 일 실시예에 따른 시간축 동기화 방법의 순서도를 나타낸다.7 shows a flowchart of a time synchronization method according to one embodiment.

도 7을 참조하면, 수신기(100)는 복수의 동영상을 수신할 수 있다. 파형 이미지 생성기(210)는 복수의 동영상으로부터 복수의 소리 파형을 추출하여 복수의 파형 이미지를 생성할 수 있다(S710).Referring to FIG. 7, the receiver 100 may receive a plurality of moving pictures. The waveform image generator 210 may extract a plurality of sound waveforms from the plurality of moving images to generate a plurality of waveform images (S710).

유사도 계산기(231)는 복수의 파형 이미지 중 가장 짧은 파형 이미지를 찾아 기준 이미지로 설정할 수 있다(S720).The similarity calculator 231 can find the shortest waveform image among the plurality of waveform images and set the reference image as a reference image (S720).

유사도 계산기(231)는 기준 이미지의 일부와 비교 대상 이미지의 일부 간의 XOR 연산을 수행할 수 있다(S730). 유사도 계산기(231)는 XOR 연산의 결과를 흰색 픽셀의 수로 저장할 수 있다(S740).The similarity calculator 231 may perform an XOR operation between a part of the reference image and a part of the comparison object (S730). The similarity calculator 231 may store the result of the XOR operation as the number of white pixels (S740).

유사도 계산기(231)는 흰색 픽셀의 수가 최소가 되는 인덱스를 검색하여 유사도가 가장 높은 시간대로 선택할 수 있다. 시간축 조절기(233)는 유사도가 가장 높은 시간축으로 동기화를 수행할 수 있다(S750).The similarity calculator 231 can search for an index that minimizes the number of white pixels and select the index with the highest degree of similarity. The time axis adjuster 233 can perform synchronization on the time axis with the highest degree of similarity (S750).

시간축 조절기(233)는 기준 이미지와 비교할 이미지가 남아있는지 여부를 판단할 수 있다(S760). 시간축 조절기(233)는 비교할 이미지가 남아있는 경우 유사도 계산기(231)로 하여금 XOR 비교 연산을 수행하게 할 수 있다. 시간축 조절기(233)는 비교 대상이 없는 경우 동기화를 종료할 수 있다.The time axis adjuster 233 may determine whether there remains an image to be compared with the reference image (S760). The time axis adjuster 233 may cause the similarity calculator 231 to perform an XOR comparison operation when there is an image to be compared. The time axis adjuster 233 may terminate synchronization if there is no comparison target.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer readable medium may include program instructions, data files, data structures, and the like, alone or in combination. Program instructions to be recorded on the medium may be those specially designed and constructed for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the processing device to operate as desired or to process it collectively or collectively Device can be commanded. The software and / or data may be in the form of any type of machine, component, physical device, virtual equipment, computer storage media, or device , Or may be permanently or temporarily embodied in a transmitted signal wave. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

이상과 같이 실시예들이 비록 한정된 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기를 기초로 다양한 기술적 수정 및 변형을 적용할 수 있다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.Although the embodiments have been described with reference to the drawings, various technical modifications and variations may be applied to those skilled in the art. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

Claims (19)

복수의 동영상을 수신하는 단계;
상기 복수의 동영상으로부터 상기 복수의 동영상 각각에 대응하는 복수의 소리 파형(sound waveform)을 추출하여 복수의 파형 이미지를 생성하는 단계; 및
상기 복수의 파형 이미지 간의 유사도에 기초하여 상기 복수의 동영상을 동기화(synchronization)하는 단계
를 포함하고,
상기 유사도는 상기 복수의 파형 이미지의 길이에 기초하여 생성된 이미지들의 비교 연산에 의해 계산되는
시간축 동기화 방법.
Receiving a plurality of moving pictures;
Extracting a plurality of sound waveforms corresponding to each of the plurality of moving images from the plurality of moving images to generate a plurality of waveform images; And
Synchronizing the plurality of moving images based on the similarity between the plurality of waveform images
Lt; / RTI >
Wherein the similarity is calculated by a comparison operation of images generated based on the length of the plurality of waveform images
Time synchronization method.
제1항에 있어서,
상기 복수의 파형 이미지는,
상기 복수의 동영상 각각의 프레임 수의 2 배에 해당하는 길이를 가지는 이진 이미지인
시간축 동기화 방법.
The method according to claim 1,
Wherein the plurality of waveform images comprise:
A binary image having a length corresponding to twice the frame number of each of the plurality of moving images
Time synchronization method.
제1항에 있어서,
상기 생성하는 단계는,
FFmpeg(Fast Forward Moving Pictures Expert Group)를 이용해 상기 복수의 소리 파형으로부터 상기 복수의 파형 이미지를 생성하는 단계
를 포함하는 시간축 동기화 방법.
The method according to claim 1,
Wherein the generating comprises:
Generating the plurality of waveform images from the plurality of sound waveforms using Fast Forward Moving Pictures Expert Group (FFmpeg)
/ RTI >
제1항에 있어서,
상기 동기화하는 단계는,
상기 복수의 파형 이미지 간의 비교 연산을 수행하여 상기 유사도를 계산하는 단계; 및
상기 유사도에 기초하여 상기 복수의 동영상의 시간축을 동기화하는 단계
를 포함하는 시간축 동기화 방법.
The method according to claim 1,
Wherein the synchronizing comprises:
Performing a comparison operation between the plurality of waveform images to calculate the degree of similarity; And
And synchronizing a time axis of the plurality of moving images based on the similarity
/ RTI >
제4항에 있어서,
상기 시간축을 동기화하는 단계는,
상기 유사도가 가장 높은 시점으로 상기 시간축을 일치시키는 단계
를 포함하는 시간축 동기화 방법.
5. The method of claim 4,
Wherein synchronizing the time axis comprises:
Matching the time axis with a time point at which the degree of similarity is highest;
/ RTI >
제4항에 있어서,
상기 계산하는 단계는,
상기 복수의 파형 이미지의 길이에 기초하여 상기 복수의 파형 이미지를 기준 이미지 및 비교 대상 이미지로 분류하는 단계;
상기 기준 이미지의 일부를 선택하는 단계; 및
상기 기준 이미지의 일부와 상기 비교 대상 이미지에 대하여 비교 연산을 수행하여 상기 유사도를 계산하는 단계
를 포함하는 시간축 동기화 방법.
5. The method of claim 4,
Wherein the calculating step comprises:
Classifying the plurality of waveform images into a reference image and a comparison image based on the lengths of the plurality of waveform images;
Selecting a portion of the reference image; And
Calculating a degree of similarity by performing a comparison operation on a part of the reference image and the comparison object image
/ RTI >
제6항에 있어서,
상기 분류하는 단계는,
상기 복수의 파형 이미지 중 길이가 가장 짧은 파형 이미지를 상기 기준 이미지로 설정하는 단계
를 포함하는 시간축 동기화 방법.
The method according to claim 6,
Wherein said classifying comprises:
Setting a waveform image having the shortest length among the plurality of waveform images as the reference image
/ RTI >
제6항에 있어서,
상기 선택하는 단계는,
상기 기준 이미지의 절반을 상기 기준 이미지의 일부로 선택하는 단계
를 포함하는 시간축 동기화 방법.
The method according to claim 6,
Wherein the selecting comprises:
Selecting half of the reference image as part of the reference image
/ RTI >
제6항에 있어서,
상기 유사도를 계산하는 단계는,
상기 비교 대상 이미지의 일부를 선택하는 단계; 및
상기 기준 이미지의 일부와 상기 비교 대상 이미지의 일부 간의 XOR(Exclusive-OR)연산을 수행하여 상기 유사도를 계산하는 단계
를 포함하는 시간축 동기화 방법.
The method according to claim 6,
Wherein the step of calculating the degree of similarity comprises:
Selecting a portion of the comparison image; And
Performing an XOR (Exclusive-OR) operation between a part of the reference image and a part of the comparison object to calculate the degree of similarity
/ RTI >
복수의 동영상을 수신하는 수신기; 및
상기 복수의 동영상으로부터 추출한 복수의 소리 파형의 유사도에 기초하여 상기 복수의 동영상을 동기화하는 컨트롤러
를 포함하고,
상기 유사도는 상기 복수의 소리 파형을 추출하여 생성한 복수의 파형 이미지의 길이에 기초하여 생성된 이미지들의 비교 연산에 의해 계산되는
시간축 동기화 장치.
A receiver for receiving a plurality of moving pictures; And
A controller for synchronizing the plurality of moving images based on the similarity of the plurality of sound waveforms extracted from the plurality of moving images,
Lt; / RTI >
Wherein the similarity degree is calculated by a comparison operation of images generated based on the lengths of the plurality of waveform images generated by extracting the plurality of sound waveforms
Time synchronization device.
제10항에 있어서,
상기 컨트롤러는,
상기 복수의 동영상으로부터 상기 복수의 동영상 각각에 대응하는 복수의 소리 파형(sound waveform)을 추출하여 복수의 파형 이미지를 생성하는 파형 이미지 생성기; 및
상기 복수의 파형 이미지 간의 유사도에 기초하여 상기 복수의 동영상을 동기화(synchronization)하는 동기화기
를 포함하는 시간축 동기화 장치.
11. The method of claim 10,
The controller comprising:
A waveform image generator for extracting a plurality of sound waveforms corresponding to each of the plurality of moving images from the plurality of moving images to generate a plurality of waveform images; And
And a synchronizer for synchronizing the plurality of moving images based on the similarity between the plurality of waveform images
/ RTI >
제11항에 있어서,
상기 복수의 파형 이미지는,
상기 복수의 동영상 각각의 프레임 수의 2 배에 해당하는 길이를 가지는 이진 이미지인
시간축 동기화 장치.
12. The method of claim 11,
Wherein the plurality of waveform images comprise:
A binary image having a length corresponding to twice the frame number of each of the plurality of moving images
Time synchronization device.
제11항에 있어서,
상기 파형 이미지 생성기는,
FFmpeg(Fast Forward Moving Pictures Expert Group)를 이용해 상기 복수의 소리 파형으로부터 상기 복수의 파형 이미지를 생성하는
시간축 동기화 장치.
12. The method of claim 11,
Wherein the waveform image generator comprises:
And generating the plurality of waveform images from the plurality of sound waveforms using Fast Forward Moving Pictures Expert Group (FFmpeg)
Time synchronization device.
제11항에 있어서,
상기 동기화기는,
상기 복수의 파형 이미지 간의 비교 연산을 수행하여 상기 유사도를 계산하는 유사도 계산기; 및
상기 유사도에 기초하여 상기 복수의 동영상의 시간축을 동기화하는 시간축 조절기
를 포함하는 시간축 동기화 장치.
12. The method of claim 11,
Wherein the synchronizer comprises:
A similarity calculator for performing a comparison operation between the plurality of waveform images to calculate the similarity; And
And a time axis adjuster for synchronizing the time axis of the plurality of moving pictures based on the similarity,
/ RTI >
제14항에 있어서,
상기 시간축 조절기는,
상기 유사도가 가장 높은 시점으로 상기 시간축을 일치시키는
시간축 동기화 장치.
15. The method of claim 14,
The time-
The time axis is matched to the time point at which the degree of similarity is highest
Time synchronization device.
제14항에 있어서,
상기 유사도 계산기는,
상기 복수의 파형 이미지의 길이에 기초하여 상기 복수의 파형 이미지를 기준 이미지 및 비교 대상 이미지로 분류하고, 상기 기준 이미지의 일부를 선택하고, 상기 기준 이미지의 일부와 상기 비교 대상 이미지에 대하여 비교 연산을 수행하여 상기 유사도를 계산하는
시간축 동기화 장치.
15. The method of claim 14,
Wherein the similarity calculator comprises:
A plurality of waveform images are classified into a reference image and a comparison object based on the lengths of the plurality of waveform images, a part of the reference image is selected, and a comparison operation is performed on a part of the reference image and the comparison object To calculate the similarity
Time synchronization device.
제16항에 있어서,
상기 유사도 계산기는,
상기 복수의 파형 이미지 중 길이가 가장 짧은 파형 이미지를 상기 기준 이미지로 설정하는
시간축 동기화 장치.
17. The method of claim 16,
Wherein the similarity calculator comprises:
Setting a waveform image having the shortest length among the plurality of waveform images as the reference image
Time synchronization device.
제16항에 있어서,
상기 유사도 계산기는,
상기 기준 이미지의 절반을 상기 기준 이미지의 일부로 선택하는
시간축 동기화 장치.
17. The method of claim 16,
Wherein the similarity calculator comprises:
Selecting half of the reference image as part of the reference image
Time synchronization device.
제16항에 있어서,
상기 유사도 계산기는,
상기 비교 대상 이미지의 일부를 선택하고, 상기 기준 이미지의 일부와 상기 비교 대상 이미지의 일부 간의 XOR(Exclusive-OR)연산을 수행하여 상기 유사도를 계산하는
시간축 동기화 장치.
17. The method of claim 16,
Wherein the similarity calculator comprises:
A part of the comparison object image is selected and an XOR (Exclusive-OR) operation is performed between a part of the reference image and a part of the comparison object to calculate the degree of similarity
Time synchronization device.
KR1020180009752A 2018-01-26 2018-01-26 Timeline synchronization method and apparatus of video clips using sound waveform KR101988157B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180009752A KR101988157B1 (en) 2018-01-26 2018-01-26 Timeline synchronization method and apparatus of video clips using sound waveform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180009752A KR101988157B1 (en) 2018-01-26 2018-01-26 Timeline synchronization method and apparatus of video clips using sound waveform

Publications (1)

Publication Number Publication Date
KR101988157B1 true KR101988157B1 (en) 2019-06-11

Family

ID=66846934

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180009752A KR101988157B1 (en) 2018-01-26 2018-01-26 Timeline synchronization method and apparatus of video clips using sound waveform

Country Status (1)

Country Link
KR (1) KR101988157B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230058919A (en) * 2021-10-25 2023-05-03 주식회사 픽스트리 Method And System for Synchronizing Video for Multi-View Service

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09114636A (en) * 1995-10-20 1997-05-02 Takeshi Hashiguchi Computer or word processor provided with recording function of voice input and character recognition function
KR20050105210A (en) * 2003-02-14 2005-11-03 톰슨 라이센싱 소시에떼 아노님 Automatic synchronization of audio and video based media services of media content
JP2006505167A (en) * 2002-11-01 2006-02-09 シンクロ アーツ リミテッド Method and apparatus for use in sound replacement that automatically synchronizes with an image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09114636A (en) * 1995-10-20 1997-05-02 Takeshi Hashiguchi Computer or word processor provided with recording function of voice input and character recognition function
JP2006505167A (en) * 2002-11-01 2006-02-09 シンクロ アーツ リミテッド Method and apparatus for use in sound replacement that automatically synchronizes with an image
KR20050105210A (en) * 2003-02-14 2005-11-03 톰슨 라이센싱 소시에떼 아노님 Automatic synchronization of audio and video based media services of media content

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAKESHI MIZUMOTO Temporal Synchronization among Interacting Individuals in Human-Robot Ensembles and Frog Choruses, Semantic Scholar, 2013(2013.12.30. 공개). 1부.* *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230058919A (en) * 2021-10-25 2023-05-03 주식회사 픽스트리 Method And System for Synchronizing Video for Multi-View Service
KR102555481B1 (en) * 2021-10-25 2023-07-13 주식회사 픽스트리 Method And System for Synchronizing Video for Multi-View Service

Similar Documents

Publication Publication Date Title
US9167221B2 (en) Methods and systems for video retargeting using motion saliency
CN105917359B (en) Mobile video search
US9672866B2 (en) Automated looping video creation
US20160212474A1 (en) Automated synchronization of a supplemental audio track with playback of a primary audiovisual presentation
CN104394308A (en) Method of taking pictures in different perspectives with double cameras and terminal thereof
WO2022012231A1 (en) Video generation method and apparatus, and readable medium and electronic device
US20220188357A1 (en) Video generating method and device
TWI588590B (en) Video generating system and method thereof
WO2021248835A1 (en) Video processing method and apparatus, and electronic device, storage medium and computer program
US9542976B2 (en) Synchronizing videos with frame-based metadata using video content
CN108574867A (en) The method and apparatus for reconstructing 360 degree of audio/video files
US20190364196A1 (en) Method and Apparatus for Generating Shot Information
KR101988157B1 (en) Timeline synchronization method and apparatus of video clips using sound waveform
WO2023029389A1 (en) Video fingerprint generation method and apparatus, electronic device, storage medium, computer program, and computer program product
Bigioi et al. Speech driven video editing via an audio-conditioned diffusion model
CN113923378B (en) Video processing method, device, equipment and storage medium
KR102037997B1 (en) Electronic apparatus and method for generating contents
Huang et al. Audio-driven talking head generation with transformer and 3d morphable model
US9847102B2 (en) Method and device for bounding an object in a video
CN109889736B (en) Image acquisition method, device and equipment based on double cameras and multiple cameras
CN108960130B (en) Intelligent video file processing method and device
KR102299565B1 (en) Method for real time person object cognition and real time image processing on real time broadcasting image and apparatus for performing the method
WO2014049989A1 (en) Image output device
KR101826463B1 (en) Method and apparatus for synchronizing time line of videos
US11823434B1 (en) Techniques for adaptive frame-based clip matching and fingerprinting

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant