KR20190067577A - Apparatus and method for encoding and decoding of data - Google Patents

Apparatus and method for encoding and decoding of data Download PDF

Info

Publication number
KR20190067577A
KR20190067577A KR1020170167654A KR20170167654A KR20190067577A KR 20190067577 A KR20190067577 A KR 20190067577A KR 1020170167654 A KR1020170167654 A KR 1020170167654A KR 20170167654 A KR20170167654 A KR 20170167654A KR 20190067577 A KR20190067577 A KR 20190067577A
Authority
KR
South Korea
Prior art keywords
frame
data
frames
reference frame
similarity
Prior art date
Application number
KR1020170167654A
Other languages
Korean (ko)
Other versions
KR102072576B1 (en
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 KR1020170167654A priority Critical patent/KR102072576B1/en
Publication of KR20190067577A publication Critical patent/KR20190067577A/en
Application granted granted Critical
Publication of KR102072576B1 publication Critical patent/KR102072576B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements

Abstract

According to an embodiment of the invention, provided is an apparatus for encoding data which comprises: a first database having synchronized data stored therein; a reference frame generating unit selecting at least one frame from the synchronized data and generating a reference frame by calculating a similarity among the selected frame, the data, and a target video; a list data writing unit generating list data for each frame included in the reference frame; and an encoding unit generating a compressed video of target data by enabling a frame which does not use redundancy between other frames among frames included in the target data to use the reference frame.

Description

데이터 인코딩 및 디코딩 장치와 방법{APPARATUS AND METHOD FOR ENCODING AND DECODING OF DATA}[0001] APPARATUS AND METHOD FOR ENCODING AND DECODING OF DATA [0002]

본 발명의 일실시예는 데이터 인코딩 및 디코딩 장치와 방법에 관한 것으로, 이미지 또는 영상 데이터의 압축과 압축된 데이터의 복원에 사용될 수 있는 데이터 인코딩 및 디코딩 장치와 방법에 관한 것이다.An embodiment of the present invention relates to a data encoding and decoding apparatus and method, and relates to a data encoding and decoding apparatus and method that can be used for compressing image or image data and restoring compressed data.

인터넷을 포함한 정보통신 기술이 발달함에 따라 문자와 음성뿐만 아니라 영상 통신이 증가하고 있다. 기존의 문자 위주의 통신 방식으로는 소비자의 다양한 욕구를 충족하기에는 부족하며, 이에 따라, 문자, 영상, 음악 등 다양한 형태의 정보를 수용할 수 있는 멀티미디어 서비스가 증가하고 있다.As information and communication technologies including the Internet are developed, video and communication as well as text and voice are increasing. Conventional character-oriented communication methods are not enough to meet various needs of consumers. Accordingly, multimedia services capable of accommodating various types of information such as text, images, and music are increasing.

멀티미디어 데이터는 그 양이 방대하여 대용량의 저장매체를 필요로 하며 전송 시에 넓은 대역폭을 필요로 한다. 따라서 문자, 영상, 오디오를 포함한 멀티미디어 데이터를 전송하기 위해서는 압축 코딩 기법을 사용하는 것이 필수적이다.The amount of multimedia data is so large that it needs a large capacity storage medium and requires a wide bandwidth in transmission. Therefore, it is necessary to use a compression coding technique to transmit multimedia data including characters, images, and audio.

데이터를 압축하는 기본적인 원리는 리던던시를 제거하는 과정이다. 이미지에서 동일한 색이나 객체가 반복되는 것과 같은 공간적 중복이나, 동영상 프레임에서 인접 프레임이 거의 변화가 없는 경우나 오디오에서 같은 음이 계속 반복되는 것과 같은 시간적 중복 또는 인간의 시각 및 지각 능력이 높은 주파수에 둔감한 것을 고려한 심리시각 중복을 제거함으로써 데이터를 압축할 수 있다.The basic principle of compressing data is the process of eliminating redundancy. Spatial redundancy such that the same color or object is repeated in an image, temporal redundancy such as when the adjacent frame in the moving picture frame has little change, or the same sound is continuously repeated in the audio, or at a high human visual and perceptual frequency The data can be compressed by eliminating the psychological visual overlap considering the insensitivity.

이러한 원리 중 움직임 보상은 어떤 비디오 프레임에서 최근에 코딩했던 참조(reference) 비디오 프레임의 유사한 구획으로부터 각각의 화소 매크로 블록을 예측함으로써 영상압축을 수행한다. 예를 들어 배경 부분은 한 프레임에서 다음 프레임으로 넘어갈 때 흔히 동일하게 유지되므로 각 프레임마다 재전송할 필요가 없다.Among these principles, motion compensation performs image compression by predicting each pixel macroblock from a similar segment of a reference video frame that was recently coded in a video frame. For example, the background portion is often the same when moving from one frame to the next, so there is no need to retransmit each frame.

이러한 동영상 압축 기법의 표준화를 위한 공지된 MPEG/H.26x 비디오 코딩 표준에는 기본적으로 세 가지 타입의 프레임, 즉 I-프레임, P-프레임 및 B-프레임이 존재한다.There are basically three types of frames, namely I-frame, P-frame and B-frame, in the known MPEG / H.26x video coding standard for standardization of such moving picture compression techniques.

비디오 디코더가 프레임별로 비트스트림을 해독하여 비디오를 복원할 때 해독은 항상 I-프레임으로 시작해야 한다. P-프레임과 B-프레임은 사용될 경우 참조 프레임과 같이 해독되어야 한다.When a video decoder decodes a bitstream on a frame-by-frame basis to restore video, the decryption should always start with an I-frame. P-frames and B-frames, when used, must be decoded as reference frames.

이와 같이, 동영상부호화에서는, 액세스나 리프레쉬를 위해 주기적으로 I -frame을 삽입할 필요가 있다. 그러나, 도1을 참조하면, I-frame은 부호량이 많으면서 프레임간의 중복성을 이용하지 못하기 때문에 효율 측면에서 개선할 필요가 있다.As described above, in the moving image encoding, it is necessary to periodically insert an I-frame for access or refresh. However, referring to FIG. 1, it is necessary to improve the I-frame in terms of efficiency since the I-frame has a large amount of codes and can not utilize redundancy between frames.

본 발명이 이루고자 하는 기술적 과제는 I-프레임의 랜덤 억세스 특성을 유지하면서 데이터의 압축율을 크게 향상시킬 수 있는 데이터 인코딩 및 디코딩 장치와 방법을 제공하는데 있다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a data encoding and decoding apparatus and method capable of greatly improving a data compression rate while maintaining random access characteristics of an I-frame.

본 발명의 일 실시예에 따르면, 동기화 된 데이터가 저장되어 있는 제1데이터 베이스; 상기 동기화된 데이터 중에서 적어도 하나의 프레임을 선정하고, 선정된 프레임과 데이터와 대상 동영상 간의 유사도를 산출하여 참조 프레임을 생성하는 참조 프레임 생성부; 상기 참조 프레임에 포함된 각 프레임에 대한 목록 데이터를 생성하는 목록 데이터 작성부; 및 상기 대상 데이터에 포함된 프레임 중 타 프레임간의 중복성을 이용하지 못하는 프레임이 상기 참조 프레임을 이용하도록 하여 상기 대상 데이터에 대한 압축 동영상을 생성하는 인코딩부를 포함하는 데이터 인코딩 장치를 제공한다.According to an embodiment of the present invention, there is provided an information processing apparatus comprising: a first database in which synchronized data is stored; A reference frame generation unit for selecting at least one frame among the synchronized data, calculating a similarity between the selected frame and data, and a target moving image to generate a reference frame; A list data generating unit for generating list data for each frame included in the reference frame; And an encoding unit for generating a compressed moving picture for the object data by using the reference frame in a frame that does not utilize redundancy among other frames among the frames included in the object data.

상기 참조 프레임 생성부는, 상기 선정된 프레임 중 산출된 유사도가 높은 순서대로 기 설정 개수의 프레임을 추출하고, 추출된 프레임을 유사도 순서에 따라 정렬하여 참조 프레임을 생성할 수 있다.The reference frame generation unit may extract a predetermined number of frames in the ascending order of the degree of similarity calculated among the selected frames and generate the reference frames by sorting the extracted frames according to the similarity order.

상기 참조 프레임 생성부는, 색상 분포를 이용해 분포 벡터들 간의 코사인 유사도를 이용해 유사도를 산출하는 방식, 프레임들을 오브젝트 단위로 분석해 태그를 단 후 상기 태그들 간의 유사도를 산출하는 방식, 프레임들의 비트스트림 일치 비율에 따라 유사도를 산출하는 방식 및 해당 프레임들의 윤곽선 및 색상의 특징을 추출해 모양 매칭(shape matching)을 통해 유사도를 산출하는 방식 중 적어도 하나의 방식에 따라 유사도를 산출할 수 있다.The reference frame generation unit may include a method of calculating the degree of similarity using the cosine similarity between distribution vectors using a color distribution, a method of calculating similarities between the tags after the tags are analyzed by analyzing the frames on an object basis, The degree of similarity may be calculated according to at least one of a method of calculating the degree of similarity according to the method of calculating the degree of similarity and a method of calculating the degree of similarity by extracting the contour and color features of the frames and performing shape matching.

상기 목록 데이터 작성부는 상기 참조 프레임에 포함된 각 프레임에 대한 참조 정보를 생성하고, 상기 참조 정보를 상기 참조 프레임에 포함된 각 프레임의 정렬 순서대로 나열하여 상기 목록 데이터를 생성할 수 있다.The list data creation unit may generate reference information for each frame included in the reference frame and generate the list data by arranging the reference information in the order of the respective frames included in the reference frame.

상기 압축 동영상 및 상기 목록 데이터를 전송하는 데이터 송신부를 더 포함할 수 있다.And a data transmission unit for transmitting the compressed moving picture and the list data.

상기 중복성을 이용하지 못하는 프레임은 I-프레임일 수 있다.The frame that can not use the redundancy may be an I-frame.

본 발명의 실시예에 따르면, 동기화 된 데이터가 저장되어 있는 데이터 베이스; 압축 동영상과 목록 데이터를 수신하는 데이터 수신부; 상기 목록 데이터에 대응되는 프레임을 상기 동기화 된 데이터에서 순차적으로 조회하고, 조회된 프레임을 순차적으로 결합하여 참조 프레임을 생성하는 참조 프레임 복원부; 및 상기 참조 프레임을 이용하여 상기 압축 동영상을 디코딩하고 상기 압축 동영상의 원본 영상을 생성하는 디코딩부를 포함하는 데이터 디코딩 장치를 제공한다. According to an embodiment of the present invention, there is provided an information processing apparatus comprising: a database storing synchronized data; A data receiving unit for receiving the compressed moving picture and the list data; A reference frame reconstructing unit for sequentially inquiring frames corresponding to the list data in the synchronized data, and sequentially combining the frames to generate reference frames; And a decoding unit decoding the compressed moving image using the reference frame and generating an original image of the compressed moving image.

본 발명의 실시예에 따르면, 참조 프레임 생성부가 동기화된 데이터 중에서 적어도 하나의 프레임을 선정하는 단계; 상기 참조 프레임 생성부가 선정된 프레임과 데이터와 대상 동영상 간의 유사도를 산출하여 참조 프레임을 생성하는 단계; 목록 데이터 작성부가 상기 참조 프레임에 포함된 각 프레임에 대한 목록 데이터를 생성하는 단계; 및 인코딩부가 상기 대상 데이터에 포함된 프레임 중 타 프레임간의 중복성을 이용하지 못하는 프레임이 상기 참조 프레임을 이용하도록 하여 상기 대상 데이터에 대한 압축 동영상을 생성하는 단계를 포함하는 데이터 인코딩 방법을 제공한다.According to an embodiment of the present invention, there is provided a method of generating a synchronization frame, the method comprising: selecting at least one frame among data synchronized with a reference frame generator; Generating a reference frame by calculating a degree of similarity between the selected frame and data and the target moving image; Generating list data for each frame included in the reference frame; And generating a compressed moving picture for the target data by causing the encoding unit to use the reference frame in which a redundancy among other frames among the frames included in the target data can not be used.

상기 참조 프레임을 생성하는 단계는, 상기 선정된 프레임 중 산출된 유사도가 높은 순서대로 기 설정 개수의 프레임을 추출하는 단계; 및 추출된 프레임을 유사도 순서에 따라 정렬하여 참조 프레임을 생성하는 단계를 포함할 수 있다.Wherein the generating of the reference frame comprises: extracting a predetermined number of frames in descending order of the degree of similarity calculated among the selected frames; And sorting the extracted frames according to the similarity order to generate a reference frame.

상기 목록 데이터를 생성하는 단계는, 상기 참조 프레임에 포함된 각 프레임에 대한 참조 정보를 생성하는 단계; 및 상기 참조 정보를 상기 참조 프레임에 포함된 각 프레임의 정렬 순서대로 나열하여 상기 목록 데이터를 생성하는 단계를 포함할 수 있다.The generating the list data may include generating reference information for each frame included in the reference frame; And generating the list data by arranging the reference information in a sort order of each frame included in the reference frame.

데이터 송신부가 상기 압축 동영상 및 상기 목록 데이터를 전송하는 단계를 더 포함할 수 있다.And the data transmission unit may transmit the compressed moving picture and the list data.

본 발명의 실시예에 따르면, 데이터 수신부가 압축 동영상과 목록 데이터를 수신하는 단계; 참조 프레임 복원부가 상기 목록 데이터에 대응되는 프레임을 데이터 베이스에 저장된 동기화 된 데이터에서 순차적으로 조회하는 단계; 상기 참조 프레임 복원부가 조회된 프레임을 순차적으로 결합하여 참조 프레임을 생성하는 단계; 및 디코딩부가 상기 참조 프레임을 이용하여 상기 압축 동영상을 디코딩하고 상기 압축 동영상의 원본 영상을 생성하는 단계를 포함하는 데이터 디코딩 방법을 제공한다.According to an embodiment of the present invention, there is provided a data distribution method including: receiving a compressed moving picture and list data; The reference frame restoring unit sequentially inquiring frames corresponding to the list data from the synchronized data stored in the database; Generating reference frames by sequentially combining the frames that are referred to by the reference frame reconstructing unit; And a decoding unit decoding the compressed moving image using the reference frame and generating an original image of the compressed moving image.

본 발명인 데이터 인코딩 및 디코딩 장치와 방법은 데이터의 압축율을 크게 향상시킬 수 있다.The data encoding and decoding apparatus and method of the present invention can greatly improve the compression rate of data.

또한, I-프레임의 랜덤 억세스 특성을 유지하면서 I-프레임의 압축율을 크게 향상시킬 수 있다.In addition, the compression ratio of the I-frame can be greatly improved while maintaining the random access characteristic of the I-frame.

또한, 데이터의 전송 대역폭을 크게 감소 시킬 수 있다.In addition, the transmission bandwidth of the data can be greatly reduced.

도1은 종래 기술에 따른 인코딩 방식에 따른 데이터를 설명하기 위한 도면이고,
도2는 본 발명의 실시예에 따른 데이터 인코딩 장치 및 디코딩 장치의 개념도이고,
도3은 본 발명의 일실시예에 따른 데이터 인코딩 장치의 구성 블록도이고,
도4는 본 발명의 일실시예에 따른 데이터 디코딩 장치의 구성 블록도이고,
도5는 본 발명의 일실시예에 따른 데이터 인코딩 장치의 동작을 설명하기 위한 도면이고,
도6 및 도7은 본 발명의 일실시예에 따른 데이터 인코딩 장치의 압축 효율을 설명하기 위한 도면이고,
도8은 본 발명의 일실시예에 따른 데이터 인코딩 방법의 순서도이고,
도9는 본 발명의 일실시예에 따른 데이터 디코딩 방법의 순서도이다.
FIG. 1 is a diagram for explaining data according to an encoding method according to the related art,
2 is a conceptual diagram of a data encoding apparatus and a decoding apparatus according to an embodiment of the present invention,
3 is a block diagram of a data encoding apparatus according to an embodiment of the present invention,
4 is a block diagram of a data decoding apparatus according to an embodiment of the present invention,
5 is a view for explaining the operation of the data encoding apparatus according to an embodiment of the present invention,
6 and 7 are views for explaining compression efficiency of a data encoding apparatus according to an embodiment of the present invention,
8 is a flowchart of a data encoding method according to an embodiment of the present invention,
9 is a flowchart of a data decoding method according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. The present invention is capable of various modifications and various embodiments, and specific embodiments are illustrated and described in the drawings. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

제2, 제1 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제2 구성요소는 제1 구성요소로 명명될 수 있고, 유사하게 제1 구성요소도 제2 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. The terms including ordinal, such as second, first, etc., may be used to describe various elements, but the elements are not limited to these terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the second component may be referred to as a first component, and similarly, the first component may also be referred to as a second component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when an element is referred to as being "directly connected" or "directly connected" to another element, it should be understood that there are no other elements in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used in this application is used only to describe a specific embodiment and is not intended to limit the invention. The singular expressions include plural expressions unless the context clearly dictates otherwise. In the present application, the terms "comprises" or "having" and the like are used to specify that there is a feature, a number, a step, an operation, an element, a component or a combination thereof described in the specification, But do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or combinations thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.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 invention 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.

이하, 첨부된 도면을 참조하여 실시예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 대응하는 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings, wherein like or corresponding elements are denoted by the same reference numerals, and redundant description thereof will be omitted.

도2는 본 발명의 실시예에 따른 데이터 인코딩 장치 및 디코딩 장치의 개념도이다. 도2를 참조하면, 본 발명의 인코딩 장치(100) 및 디코딩 장치(200)는 네트워크를 통하여 연결되어 있거나 또는 하나의 전자 장치안에 구현될 수 있다. 전자 장치는 예를 들어, 컴퓨터, 랩톱(laptop), 이동 장치, 휴대 장치, 인터넷 프로토콜 텔레비전, 휴대 미디어 플레이어 및 휴대 정보 단말기(Personal Digital Assistants: PDA)를 포함하지만 이에 한정되지는 않는다. 네트워크는, 예를 들어, 근거리 통신망(Local Area Network: LAN), 무선 근거리 통신망(Wireless Local Area Network: WLAN), 광역 통신망(Wide Area Network: WAN), 인터넷, 소지역 통신망(Small Area Network: SAN)을 포함하지만 이에 한정되지는 않는다. 전자 장치는 또한 네트워크를 통하여 다른 전자장치 또는 서버(미도시)와 연결될 수 있다.2 is a conceptual diagram of a data encoding apparatus and a decoding apparatus according to an embodiment of the present invention. Referring to FIG. 2, the encoding apparatus 100 and the decoding apparatus 200 of the present invention may be connected through a network or may be implemented in one electronic apparatus. The electronic device includes, but is not limited to, a computer, a laptop, a mobile device, a portable device, an Internet protocol television, a portable media player, and a Personal Digital Assistants (PDA). The network may be, for example, a local area network (LAN), a wireless local area network (WLAN), a wide area network (WAN), the Internet, a small area network ). ≪ / RTI > The electronic device may also be connected to other electronic devices or servers (not shown) via the network.

본 발명의 실시예에서는 인코딩 장치(100)와 디코딩 장치(200)가 서로 다른 전자 장치에 구현되어 네트워크를 통하여 데이터 통신을 수행하는 것을 예로 설명하기로 한다. 그러나 이와 달리, 인코딩 장치(100)와 디코딩 장치(200)가 하나의 전자 장치안에 구현될 수 있음은 본 발명의 기술 사상 범위에 포함된다 할 것이다.In the embodiment of the present invention, the encoding apparatus 100 and the decoding apparatus 200 are implemented in different electronic apparatuses to perform data communication through a network. However, it is contemplated that the encoding apparatus 100 and the decoding apparatus 200 may be embodied in one electronic device.

본 발명의 실시예에서 데이터는 멀티미디어 콘텐츠를 의미할 수 있다. 이러한 멀티미디어 콘텐츠는 예를 들어 스틸 이미지(still images), 애니메이션, 비디오 및 인터랙티브 콘텐츠 형태(interactive content forms) 중의 하나, 또는 이들의 조합을 포함하지만 이에 한정되지는 않는다. 멀티미디어 콘텐츠는 다수의 화상 그룹들(groups of pictures: GOPs)로 이루어질 수 있다. 화상 그룹들은 고정된 이미지를 나타내는 I-프레임(Intra Frame: I-Frame), 선행하는 I 또는 P-프레임으로부터의 모션 보상 차이 정보(motion-compensated difference information)를 갖는 P-프레임(Predictive coded Frame: P-Frame), 선행 및 후속 I 또는 P-프레임으로부터의 차이 정보를 갖는 B-프레임(Bidirectionally predictive coded Frame: B-Frame)으로 분류되는 프레임들의 일부 또는 전부를 포함하는 섹션(section)이다. In an embodiment of the present invention, the data may refer to multimedia content. Such multimedia content includes, but is not limited to, for example, still images, animation, video, and interactive content forms, or combinations thereof. The multimedia content may comprise a plurality of groups of pictures (GOPs). The picture groups are divided into an I-frame (I-frame) representing a fixed image, a P-frame (P-frame) having motion-compensated difference information from a preceding I or P- P-Frame), a section including some or all of the frames classified into B-frames (difference-predictive coded frames: B-frames) having difference information from preceding and succeeding I or P-frames.

I-프레임은 카메라로 찍은 영상 전체를 압축(coding)하여 얻어지는 모든 화소(pixel)의 좌표정보를 나타내는 데이터로서 키 프레임이라고도 한다. I-프레임은 다른 프레임들에 비해 화질은 가장 좋지만 용량은 가장 크다. I-프레임은 전체 화면(Full Frame) 정보를 가지고 있고, 영상이 적절히 재생되기 전 또는 재생된 뒤에는 그 화면으로부터 어떤 다른 정보도 필요로 하지 않는다. 즉 I-프레임은 독립적인 프레임이고, 랜덤 억세스(random access)가 가능한 프레임이다. I-프레임은 가장 기본이 되는 프레임으로서 앞뒤 프레임에 상관없이 인코딩과 디코딩이 가능한 프레임이다. 즉, 현재 화상 내의 정보만으로 압축이 행해진다. 압축 특성상 I-프레임은 FF/REW를 위한 Random access나 고속 재생을 실현하기 위하여 종종 사용된다.The I-frame is also referred to as a key frame as data representing coordinate information of all the pixels obtained by coding the entire image taken by the camera. The I-frame has the best image quality but the largest capacity compared to other frames. The I-frame has full frame information and does not require any other information from the screen before or after the video is properly played back. That is, the I-frame is an independent frame and a frame capable of random access. An I-frame is a frame which is the most basic frame and can be encoded and decoded regardless of the front and back frames. That is, compression is performed only on the information in the current image. Due to its compression nature, I-frames are often used to realize random access or fast playback for FF / REW.

P-프레임은 이전에 코딩되었던 I-프레임 또는 P-프레임을 참조하여 공통점을 찾고, 공통되지 않는 부분에 대해서만 코딩하여 얻어지는 프레임이다. 즉 P-프레임은 이전에 나온 키 프레임의 정보를 바탕으로 구성되는 프레임이고, 화질과 용량이 I-프레임과 B-프레임의 중간급이다. 이처럼 P-프레임은 전체 화면에 대한 정보를 나타내는 것이 아니고, I-프레임을 추종하여 선행하는 I-프레임의 바뀐 정보만 나타낸다. 그리고 P-프레임을 델타 프레임(Delta Frame)이라고도 하며, P-프레임은 움직임 보상기법을 이용한다. P-프레임에서는 이전 프레임과 현재 프레임과의 오차를 계산하여 이전 프레임의 해당블록과의 오차가 임계치보다 크면 DCT를 수행하고, 오차가 임계치보다 작으면 유사한 블록의 방향 방향벡터 정보만을 압축하는 방법을 사용한다A P-frame is a frame obtained by finding a common point with reference to a previously coded I-frame or P-frame, and coding only for a part that is not common. That is, the P-frame is a frame based on the information of the key frame that has been previously obtained, and the image quality and capacity are the middle level between the I-frame and the B-frame. As described above, the P-frame does not represent information on the entire screen but only changes information of the preceding I-frame following the I-frame. The P-frame is also called a delta frame, and the P-frame uses a motion compensation technique. In the P-frame, the error between the previous frame and the current frame is calculated. If the error between the previous frame and the corresponding block is larger than the threshold, DCT is performed. If the error is smaller than the threshold, use

P-프레임은 I-프레임으로부터의 이동벡터값만 전송하고 기준은 항상 최근의 I-프레임이 된다. The P-frame only transmits the motion vector values from the I-frame and the reference is always the most recent I-frame.

B-프레임은 전후의 I-프레임과 P-프레임의 정보를 바탕으로 구성된 프레임이다. 즉 B-프레임은 두 방향에서 예견되는 프레임으로서 앞 뒤의 I-프레임과 P-프레임을 참조하여 만들어진다. B-프레임은 이전의 I-프레임 또는 P-프레임 그리고 다음 I-프레임 또는 P-프레임을 조사하여 공통된 부분을 찾아서 중복되는 부분을 제외한 정보만을 갖는 프레임이다. 따라서 B-프레임은 많은 참조를 하므로 그만큼 중복되는 부분이 제외되고 변경 부분만 표시하므로 B-프레임이 많아지면 압축률이 좋아진다. 대신 압축할 때 참조 프레임의 예측 시간이 길어지기 때문에 시간이 오래 걸린다. B-프레임은 I-프레임과 P-프레임에 비해 화질과 용량이 최하급이며, 전체 화면 정보를 나타내는 것이 아니고, 이전 화면들(previous frames)과 다음 화면들(next frames) 양측에 의해 예측되는 화면 정보를 나타낸다. The B-frame is a frame formed based on the information of the I-frame and the P-frame before and after. That is, the B-frame is a frame predicted in two directions, and is made by referring to the I-frame and the P-frame before and after the B-frame. The B-frame is a frame having only the information excluding the overlapped part by searching for the common I-frame or P-frame and the next I-frame or P-frame to find a common part. Therefore, since B-frames have many references, the overlapping parts are excluded and only the changed parts are displayed. Therefore, when the number of B-frames increases, the compression ratio is improved. Instead, it takes a long time because the prediction time of the reference frame becomes longer when compressed. The B-frame has the lowest image quality and capacity compared to the I-frame and the P-frame. The B-frame does not represent the full screen information, but the screen information predicted by both sides of previous frames and next frames .

도3은 본 발명의 일실시예에 따른 데이터 인코딩 장치의 구성 블록도이다.3 is a block diagram of a data encoding apparatus according to an embodiment of the present invention.

도3을 참조하면, 데이터 인코딩 장치(100)는 제1데이터 베이스(110), 참조 프레임 생성부(120), 목록 데이터 작성부(130), 인코딩부(140) 및 데이터 송신부(150)를 포함한다.3, the data encoding apparatus 100 includes a first data base 110, a reference frame generator 120, a list data generator 130, an encoding unit 140, and a data transmitter 150 do.

제1데이터 베이스(110)는 동기화 된 데이터가 저장될 수 있다. 동기화 된 데이터는 사전에 동기화되어 데이터 인코딩 장치(100) 및 디코딩 장치(200)에 각각 저장될 수 있다. 제1데이터 베이스(110)는 요구되는 정보를 저장하기 위해 연결된 메모리(예를 들어, 램(random access memory: RAM))를 포함할 수 있다. 메모리는 데이터 인코딩 장치(100)에 의해 요구되는 임시 정보를 저장하는데 사용될 수 있다. 제1데이터 베이스(110)는 데이터 인코딩 장치(100)에 의해 요구되는 정적 정보(static information)를 저장하기 위해 연결되는 롬(read only memory: ROM)을 더 포함할 수 있다. 예를 들어 자기 디스크, 하드 디스크 또는 광학 디스크와 같은 저장 유닛이 제공될 수 있고, 정보 저장을 위해 버스를 통하여 연결될 수 있다.The first database 110 may store synchronized data. The synchronized data may be pre-synchronized and stored in the data encoding apparatus 100 and the decoding apparatus 200, respectively. The first database 110 may include a memory (e.g., random access memory (RAM)) coupled to store the required information. The memory may be used to store temporal information required by the data encoding device 100. The first database 110 may further include a read only memory (ROM) connected to store static information required by the data encoding apparatus 100. For example, a storage unit such as a magnetic disk, a hard disk or an optical disk may be provided and connected via a bus for information storage.

참조 프레임 생성부(120)는 동기화된 데이터 중에서 적어도 하나의 프레임을 선정하고, 선정된 프레임과 대상 동영상 간의 유사도를 산출할 수 있다. 참조 프레임 생성부(120)는 선정된 프레임 중 산출된 유사도가 높은 순서대로 기 설정 개수의 프레임을 추출하고, 추출된 프레임을 유사도 순서에 따라 정렬하여 참조 프레임을 생성할 수 있다. 참조 프레임은 동기화 된 데이터에서 선정되며 대상 동영상과 유사도가 높은 프레임의 집합으로 이루어 질 수 있다. 참조 프레임은 예를 들면, 동기화된 동영상들의 모든 압축전 프레임들의 집합으로 이루어 질 수 있다.The reference frame generation unit 120 may select at least one frame from the synchronized data, and calculate the similarity between the selected frame and the target moving image. The reference frame generation unit 120 may extract a predetermined number of frames from the selected frames in descending order of degree of similarity and generate reference frames by sorting the extracted frames according to the similarity order. The reference frame is selected from the synchronized data and can be a set of frames having high similarity to the target video. The reference frame may, for example, consist of a collection of all pre-compression frames of synchronized moving images.

참조 프레임 생성부(120)는 색상 분포를 이용해 분포 벡터들 간의 코사인 유사도를 이용해 유사도를 산출하는 방식, 프레임들을 오브젝트 단위로 분석해 태그를 단 후 상기 태그들 간의 유사도를 산출하는 방식, 프레임들의 비트스트림 일치 비율에 따라 유사도를 산출하는 방식 및 해당 프레임들의 윤곽선 및 색상의 특징을 추출해 모양 매칭(shape matching)을 통해 유사도를 산출하는 방식 중 적어도 하나의 방식에 따라 유사도를 산출할 수 있다.The reference frame generation unit 120 may include a method of calculating similarity using the cosine similarity between distribution vectors using a color distribution, a method of calculating similarities between the tags after the tags are analyzed on an object-by-object basis, The degree of similarity can be calculated according to at least one of a method of calculating the degree of similarity according to the matching ratio and a method of extracting the contour and color characteristics of the frames and calculating the similarity through shape matching.

목록 데이터 작성부(130)는 참조 프레임에 포함된 각 프레임에 대한 목록 데이터를 생성할 수 있다. 목록 데이터 작성부(130)는 참조 프레임에 포함된 각 프레임에 대한 참조 정보를 생성하고, 참조 정보를 참조 프레임에 포함된 각 프레임의 정렬 순서대로 나열하여 목록 데이터를 생성할 수 있다.The list data creation unit 130 can generate list data for each frame included in the reference frame. The list data creation unit 130 may generate reference information for each frame included in the reference frame and generate list data by arranging the reference information in the order of the respective frames included in the reference frame.

인코딩부(140)는 대상 데이터에 포함된 프레임 중 타 프레임간의 중복성을 이용하지 못하는 프레임이 참조 프레임을 이용하도록 하여 대상 데이터에 대한 압축 동영상을 생성할 수 있다. 중복성을 이용하지 못하는 프레임은 I-프레임일 수 있다. 인코딩부(140)는 인코딩 과정에서 I-프레임이 참조 프레임을 이용하도록 함으로써 전체 프레임 중 I-프레임의 비율을 크게 줄일 수 있으며, 데이터 압축율을 크게 향상시킬 수 있다.The encoding unit 140 may generate a compressed moving picture for the target data by using a frame that can not use the redundancy among other frames among the frames included in the target data to use the reference frame. A frame that does not utilize redundancy may be an I-frame. The encoding unit 140 can use the I-frame to use the reference frame in the encoding process, thereby greatly reducing the I-frame ratio of the entire frame and greatly improving the data compression rate.

데이터 송신부(150)는 예를 들면, 압축 동영상 및 상기 목록 데이터를 전송할 수 있다. 데이터 송신부는 종합 정보 통신망(integrated services digital network: ISDN) 카드, 모뎀, 근거리 통신망(LAN) 카드, 적외선 포트, 블루투스 포트(Bluetooth port), 지그비(zigbee) 포트 및 무선 포트를 포함하여 구성될 수 있지만 이에 한정되지는 않는다.The data transmission unit 150 may, for example, transmit the compressed moving image and the list data. The data transmitter may be configured to include an integrated services digital network (ISDN) card, a modem, a local area network (LAN) card, an infrared port, a Bluetooth port, a zigbee port, But is not limited thereto.

도4는 본 발명의 일실시예에 따른 데이터 디코딩 장치의 구성 블록도이다. 도4를 참조하면, 데이터 디코딩 장치(200)는 제2데이터 베이스(210), 데이터 수신부(220), 참조 프레임 복원부(230) 및 디코딩부(240)를 포함한다.4 is a block diagram of a data decoding apparatus according to an embodiment of the present invention. Referring to FIG. 4, the data decoding apparatus 200 includes a second data base 210, a data receiving unit 220, a reference frame restoring unit 230, and a decoding unit 240.

제2데이터 베이스(210)는 동기화 된 데이터가 저장될 수 있다. 제2데이터 베이스(210)는 요구되는 정보를 저장하기 위해 연결된 메모리(예를 들어, 램(random access memory: RAM))를 포함할 수 있다. 메모리는 데이터 디코딩 장치에 의해 요구되는 임시 정보를 저장하는데 사용될 수 있다. 제2데이터 베이스(210)는 데이터 디코딩 장치 의해 요구되는 정적 정보(static information)를 저장하기 위해 연결되는 롬(read only memory: ROM)을 더 포함할 수 있다. 예를 들어 자기 디스크, 하드 디스크 또는 광학 디스크와 같은 저장 유닛이 제공될 수 있고, 정보 저장을 위해 버스를 통하여 연결될 수 있다.The second database 210 may store synchronized data. The second database 210 may include a memory (e.g., random access memory (RAM)) coupled to store the required information. The memory may be used to store temporary information required by the data decoding apparatus. The second database 210 may further include a read only memory (ROM) connected to store static information required by the data decoding apparatus. For example, a storage unit such as a magnetic disk, a hard disk or an optical disk may be provided and connected via a bus for information storage.

데이터 수신부(220)는 압축 동영상과 목록 데이터를 수신할 수 있다. 데이터 수신부(220)는 예를 들면, 압축 동영상 및 상기 목록 데이터를 전송할 수 있다. 데이터 수신부(220)는 종합 정보 통신망(integrated services digital network: ISDN) 카드, 모뎀, 근거리 통신망(LAN) 카드, 적외선 포트, 블루투스 포트(Bluetooth port), 지그비(zigbee) 포트 및 무선 포트를 포함하여 구성될 수 있지만 이에 한정되지는 않는다.The data receiving unit 220 may receive compressed moving pictures and list data. The data receiving unit 220 may, for example, transmit the compressed moving image and the list data. The data receiving unit 220 may include an integrated services digital network (ISDN) card, a modem, a local area network (LAN) card, an infrared port, a Bluetooth port, a zigbee port, But is not limited thereto.

참조 프레임 복원부(230)는 목록 데이터에 대응되는 프레임을 동기화 된 데이터에서 순차적으로 조회하고, 조회된 프레임을 순차적으로 결합하여 참조 프레임을 생성할 수 있다. 참조 프레임 복원부(230)는 제2데이터 베이스(210)에 저장된 동기화 된 데이터 중에서 목록 데이터에 대응되는 프레임을 검색하여 추출하고, 목록 데이터에 나열된 프레임의 순서에 따라 추출한 프레임을 결합하여 참조 프레임을 생성할 수 있다.The reference frame restoring unit 230 sequentially inquires the frames corresponding to the list data in the synchronized data, and sequentially generates the reference frames by combining the frames. The reference frame restoring unit 230 retrieves and extracts frames corresponding to the list data from among the synchronized data stored in the second database 210 and combines the extracted frames according to the order of the frames listed in the list data, Can be generated.

디코딩부(240)는 참조 프레임을 이용하여 압축 동영상을 디코딩하고 압축 동영상의 원본 영상을 생성할 수 있다. 디코딩부(240)는 압축 동영상 디코딩시 타 프레임간의 중복성을 이용하지 못하는 프레임이 참조 프레임을 이용하도록 하여 압축 동영상을 원본 영상으로 변환할 수 있다. 중복성을 이용하지 못하는 프레임은 I-프레임일 수 있다.The decoding unit 240 may decode the compressed moving image using the reference frame and generate an original image of the compressed moving image. The decoding unit 240 may convert a compressed moving image into an original image by using a reference frame that can not utilize the redundancy among other frames in compressed moving image decoding. A frame that does not utilize redundancy may be an I-frame.

도5는 본 발명의 일실시예에 따른 데이터 인코딩 장치의 동작을 설명하기 위한 도면이다. 도5를 참조하면 하나의 화상 그룹(groups of pictures: GOP)은 복수개의 프레임을 포함하여 구성된다. 각각의 화상 그룹은 I-프레임, 선행하는 I 또는 P-프레임으로부터의 모션 보상 차이 정보를 갖는 P-프레임과 선행 및 후속 I 또는 P-프레임으로부터의 차이 정보를 갖는 B-프레임을 포함한다. 또한, 화상 그룹과는 별개로 동기화 된 데이터에서 선정된 프레임을 이용하여 생성된 참조 프레임이 구성되어 있다. 참조 프레임은 인코딩을 하기 위한 대상 데이터와 동기화 된 데이터의 유사도에 따라 선정된 프레임의 조합으로 구성될 수 있다. 참조 프레임은 예를 들면, 동기화된 동영상들의 모든 압축전 프레임들의 집합으로 이루어 질 수 있다. I-프레임은 데이터 인코딩 또는 디코딩시에 생성된 참조 프레임을 이용한다. 기존에는 인코딩 또는 디코딩 과정에서 I-프레임은 타 프레임에 대한 정보나 참조 과정없이 인코딩 또는 디코딩이 수행되었으나, 본 발명의 실시예에서는 동기화 된 데이터와 대상 데이터간의 유사성에 기반하여 생성된 참조 프레임을 참조함으로써 I-프레임의 데이터 비중을 크게 감소시킬 수 있다. 즉, 랜덤 억세스나 일정한 비디오의 오류비율(error rate)을 보증하기 위해 다른 프레임들을 참조하지 못하는 I-프레임이 인코딩 장치와 디코딩 장치에 저장되어 있는 기존의 동기화 된 프레임을 참조할 수 있게 함으로써 기존의 I-프레임의 특성을 잃지 않고 압축률을 크게 올릴 수 있다. 이에 따라 기존의 랜덤 억세스 특성도 유지되며 동일한 화질 유지도 가능하다. 5 is a view for explaining the operation of a data encoding apparatus according to an embodiment of the present invention. Referring to FIG. 5, one group of pictures (GOP) includes a plurality of frames. Each picture group includes an I-frame, a P-frame with motion compensation difference information from the preceding I or P-frame, and a B-frame with difference information from the preceding and subsequent I or P-frames. In addition, a reference frame generated by using the selected frame in the data synchronized separately from the image group is constituted. The reference frame may be composed of a combination of frames selected according to the degree of similarity between the data to be encoded and the synchronized data. The reference frame may, for example, consist of a collection of all pre-compression frames of synchronized moving images. I-frames use reference frames generated during data encoding or decoding. Conventionally, in the encoding or decoding process, the I-frame is encoded or decoded without reference to other frames or reference processes, but in the embodiment of the present invention, reference frames generated based on the similarity between synchronized data and target data are referred to The data proportion of the I-frame can be greatly reduced. That is, an I-frame that fails to reference other frames in order to guarantee random access or an error rate of a certain video can refer to an existing synchronized frame stored in the encoding device and the decoding device, The compression rate can be greatly increased without losing the characteristics of the I-frame. Accordingly, the existing random access characteristics are maintained and the same image quality can be maintained.

도6 및 도7은 본 발명의 일실시예에 따른 데이터 인코딩 장치의 압축 효율을 설명하기 위한 도면이다. 도6(a)를 참조하면, 웹드라마의 경우 H.265에 따른 인코딩 방식에 비하여 I-프레임의 용량은 39.2% 감소하였고, 전체 프레임의 용량은 14.8%로 크게 감소하였음을 확인 할 수 있다. 또한, 도6(b)를 참조하면 버라이어티 쇼의 경우 H.265에 따른 인코딩 방식에 비하여 I-프레임의 용량은 23.0% 감소하였고, 전체 프레임의 용량은 7.6%로 크게 감소하였음을 확인 할 수 있다. 또한, 도7을 참조하면, 원본 영상의 프레임 사이즈가 각각 47.5KB, 45.8KB인 반면에, 참조 프레임을 적용하였을 경우 프레임 사이즈가 각각 6.09KB, 28.8KB로 감소하였음을 확인할 수 있다.6 and 7 are views for explaining compression efficiency of a data encoding apparatus according to an embodiment of the present invention. Referring to FIG. 6 (a), the capacity of the I-frame is reduced by 39.2% and the capacity of the entire frame is reduced to 14.8% in comparison with the encoding method according to H.265 for the web drama. Referring to FIG. 6B, in the case of a variety show, the capacity of the I-frame is reduced by 23.0% and the capacity of the entire frame is reduced to 7.6% compared with the encoding method according to H.265 . Also, referring to FIG. 7, it can be seen that the frame sizes of the original image are 47.5 KB and 45.8 KB, respectively, whereas when the reference frame is applied, the frame sizes are reduced to 6.09 KB and 28.8 KB, respectively.

도8은 본 발명의 일실시예에 따른 데이터 인코딩 방법의 순서도이다. 도8을 참조하면, 먼저, 참조 프레임 생성부는 동기화된 데이터 중에서 적어도 하나의 프레임을 선정한다. 8 is a flowchart of a data encoding method according to an embodiment of the present invention. Referring to FIG. 8, first, the reference frame generator selects at least one frame among the synchronized data.

다음으로, 참조 프레임 생성부는 선정된 프레임과 데이터와 대상 동영상 간의 유사도를 산출하여 참조 프레임을 생성한다. 참조 프레임 생성부는 선정된 프레임 중 산출된 유사도가 높은 순서대로 기 설정 개수의 프레임을 추출하고, 추출된 프레임을 유사도 순서에 따라 정렬하여 참조 프레임을 생성한다. Next, the reference frame generator calculates a similarity between the selected frame and data and the target moving image to generate a reference frame. The reference frame generation unit extracts a predetermined number of frames from the selected frames in descending order of the degree of similarity calculated, and arranges the extracted frames according to the order of similarity to generate reference frames.

다음으로, 목록 데이터 작성부는 상기 참조 프레임에 포함된 각 프레임에 대한 목록 데이터를 생성한다. 목록 데이터 작성부는 참조 프레임에 포함된 각 프레임에 대한 참조 정보를 생성하고, 참조 정보를 참조 프레임에 포함된 각 프레임의 정렬 순서대로 나열하여 목록 데이터를 생성한다.Next, the list data creation unit generates list data for each frame included in the reference frame. The list data generation unit generates reference information for each frame included in the reference frame, and generates the list data by arranging the reference information in the sort order of each frame included in the reference frame.

다음으로, 인코딩부는 대상 데이터에 포함된 프레임 중 타 프레임간의 중복성을 이용하지 못하는 프레임이 참조 프레임을 이용하도록 하여 대상 데이터에 대한 압축 동영상을 생성한다. 이에 따라 인코딩 과정에서 I-프레임이 참조 프레임을 이용하도록 함으로써 전체 프레임 중 I-프레임의 비율을 크게 줄일 수 있으며, 데이터 압축율을 크게 향상시킬 수 있다.Next, the encoding unit generates a compressed moving picture for the target data by using the reference frame, which is not able to use the redundancy among the other frames, included in the target data. Accordingly, by using an I-frame to use a reference frame in the encoding process, the ratio of I-frames in the entire frame can be greatly reduced, and the data compression ratio can be greatly improved.

도9는 본 발명의 일실시예에 따른 데이터 디코딩 방법의 순서도이다. 도9를 참조하면, 먼저, 데이터 수신부는 압축 동영상과 목록 데이터를 수신한다. 데이터 수신부는 데이터 인코딩 장치의 데이터 송신부에서 전송한 압축 동영상과 목록 데이터를 수신한다. 데이터 인코딩 장치와 데이터 디코딩 장치가 하나의 전자 장치내에 구현되는 경우에는 별도의 통신부를 통하지 않고 데이터 버스(BUS)를 통하여 압축 동영상과 목록 데이터가 송수신 될 수 있다.9 is a flowchart of a data decoding method according to an embodiment of the present invention. Referring to FIG. 9, a data receiver receives compressed moving pictures and list data. The data receiving unit receives the compressed moving image and the list data transmitted from the data transmitting unit of the data encoding apparatus. When the data encoding device and the data decoding device are implemented in one electronic device, the compressed moving picture and the list data can be transmitted and received through the data bus (BUS) without going through a separate communication unit.

다음으로, 참조 프레임 복원부가 상기 목록 데이터에 대응되는 프레임을 데이터 베이스에 저장된 동기화 된 데이터에서 순차적으로 조회하고, 참조 프레임 복원부가 조회된 프레임을 순차적으로 결합하여 참조 프레임을 생성한다. 참조 프레임 복원부는 제2데이터 베이스에 저장된 동기화 된 데이터 중에서 목록 데이터에 대응되는 프레임을 검색하여 추출하고, 목록 데이터에 나열된 프레임의 순서에 따라 추출한 프레임을 결합하여 참조 프레임을 생성한다.Next, the reference frame restoring unit sequentially inquires the frames corresponding to the list data in the synchronized data stored in the database, and the reference frame restoring unit sequentially combines the searched frames to generate reference frames. The reference frame restoration unit retrieves and extracts a frame corresponding to the list data from the synchronized data stored in the second database, and combines the extracted frames according to the order of the frames listed in the list data to generate a reference frame.

다음으로, 디코딩부는 참조 프레임을 이용하여 압축 동영상을 디코딩하고 상기 압축 동영상의 원본 영상을 생성한다. 디코딩부는 압축 동영상 디코딩시 타 프레임간의 중복성을 이용하지 못하는 프레임이 참조 프레임을 이용하도록 하여 압축 동영상을 원본 영상으로 변환한다.Next, the decoding unit decodes the compressed moving image using the reference frame and generates an original image of the compressed moving image. The decoding unit converts a compressed moving image into an original image by using a reference frame to use a frame that can not use the redundancy among other frames in compressed moving picture decoding.

본 실시예에서 사용되는 '~부'라는 용어는 소프트웨어 또는 FPGA(field-programmable gate array) 또는 ASIC과 같은 하드웨어 구성요소를 의미하며, '~부'는 어떤 역할들을 수행한다. 그렇지만 '~부'는 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '~부'는 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서 '~부'는 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들, 및 변수들을 포함한다. 구성요소들과 '~부'들 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '~부'들로 결합되거나 추가적인 구성요소들과 '~부'들로 더 분리될 수 있다. 뿐만 아니라, 구성요소들 및 '~부'들은 디바이스 또는 보안 멀티미디어카드 내의 하나 또는 그 이상의 CPU들을 재생시키도록 구현될 수도 있다.As used in this embodiment, the term " portion " refers to a hardware component such as software or an FPGA (field-programmable gate array) or ASIC, and 'part' performs certain roles. However, 'part' is not meant to be limited to software or hardware. &Quot; to " may be configured to reside on an addressable storage medium and may be configured to play one or more processors. Thus, by way of example, 'parts' may refer to components such as software components, object-oriented software components, class components and task components, and processes, functions, , Subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. The functions provided in the components and components may be further combined with a smaller number of components and components or further components and components. In addition, the components and components may be implemented to play back one or more CPUs in a device or a secure multimedia card.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the present invention as defined by the following claims It can be understood that

100: 데이터 인코딩 장치
110: 제1데이터 베이스
120: 참조 프레임 생성부
130: 목록 데이터 작성부
140: 인코딩부
150: 데이터 송신부
200: 데이터 디코딩 장치
210: 제2데이터 베이스
220: 데이터 수신부
230: 참조 프레임 복원부
240: 디코딩부
100: Data encoding device
110: first database
120: Reference frame generation unit
130:
140:
150: Data transmission unit
200: Data decoding device
210: second database
220: Data receiving unit
230: reference frame restoring unit
240:

Claims (12)

동기화 된 데이터가 저장되어 있는 데이터 베이스;
상기 동기화된 데이터 중에서 적어도 하나의 프레임을 선정하고, 선정된 프레임과 대상 동영상 간의 유사도를 산출하여 참조 프레임을 생성하는 참조 프레임 생성부;
상기 참조 프레임에 포함된 각 프레임에 대한 목록 데이터를 생성하는 목록 데이터 작성부; 및
상기 대상 데이터에 포함된 프레임 중 타 프레임간의 중복성을 이용하지 못하는 프레임이 상기 참조 프레임을 이용하도록 하여 상기 대상 데이터에 대한 압축 동영상을 생성하는 인코딩부를 포함하는 데이터 인코딩 장치.
A database in which synchronized data is stored;
A reference frame generator for generating at least one frame from the synchronized data, calculating a similarity between the selected frame and the target moving picture to generate a reference frame,
A list data generating unit for generating list data for each frame included in the reference frame; And
And an encoding unit configured to generate a compressed moving picture for the target data by using the reference frame in a frame that does not utilize redundancy among other frames among the frames included in the target data.
제1항에 있어서,
상기 참조 프레임 생성부는,
상기 선정된 프레임 중 산출된 유사도가 높은 순서대로 기 설정 개수의 프레임을 추출하고, 추출된 프레임을 유사도 순서에 따라 정렬하여 참조 프레임을 생성하는 데이터 인코딩 장치.
The method according to claim 1,
Wherein the reference frame generation unit comprises:
Extracting a predetermined number of frames in descending order of the degree of similarity calculated among the selected frames, and arranging the extracted frames in order of similarity to generate a reference frame.
제2항에 있어서,
상기 참조 프레임 생성부는,
색상 분포를 이용해 분포 벡터들 간의 코사인 유사도를 이용해 유사도를 산출하는 방식, 프레임들을 오브젝트 단위로 분석해 태그를 단 후 상기 태그들 간의 유사도를 산출하는 방식, 프레임들의 비트스트림 일치 비율에 따라 유사도를 산출하는 방식 및 해당 프레임들의 윤곽선 및 색상의 특징을 추출해 모양 매칭(shape matching)을 통해 유사도를 산출하는 방식 중 적어도 하나의 방식에 따라 유사도를 산출하는 데이터 인코딩 장치.
3. The method of claim 2,
Wherein the reference frame generation unit comprises:
A method of calculating the degree of similarity by using the cosine similarity between distribution vectors using a color distribution, a method of calculating the similarity between the tags after the tags are analyzed by analyzing the frames on an object basis, and the degree of similarity is calculated according to the bitstream matching ratio of the frames And a method of extracting a contour and a color feature of the frames and calculating a similarity through shape matching are used to calculate the degree of similarity according to at least one method.
제2항에 있어서,
상기 목록 데이터 작성부는 상기 참조 프레임에 포함된 각 프레임에 대한 참조 정보를 생성하고, 상기 참조 정보를 상기 참조 프레임에 포함된 각 프레임의 정렬 순서대로 나열하여 상기 목록 데이터를 생성하는 데이터 인코딩 장치.
3. The method of claim 2,
Wherein the list data generation unit generates reference information for each frame included in the reference frame and generates the list data by arranging the reference information in the order of sorting the frames included in the reference frame.
제1항에 있어서,
상기 압축 동영상 및 상기 목록 데이터를 전송하는 데이터 송신부를 더 포함하는 데이터 인코딩 장치.
The method according to claim 1,
And a data transmission unit for transmitting the compressed moving picture and the list data.
제1항에 있어서,
상기 중복성을 이용하지 못하는 프레임은 I-프레임인 데이터 인코딩 장치.
The method according to claim 1,
Wherein the frame which can not use the redundancy is an I-frame.
동기화 된 데이터가 저장되어 있는 데이터 베이스;
압축 동영상과 목록 데이터를 수신하는 데이터 수신부;
상기 목록 데이터에 대응되는 프레임을 상기 동기화 된 데이터에서 순차적으로 조회하고, 조회된 프레임을 순차적으로 결합하여 참조 프레임을 생성하는 참조 프레임 복원부; 및
상기 참조 프레임을 이용하여 상기 압축 동영상을 디코딩하고 상기 압축 동영상의 원본 영상을 생성하는 디코딩부를 포함하는 데이터 디코딩 장치.
A database in which synchronized data is stored;
A data receiving unit for receiving the compressed moving picture and the list data;
A reference frame reconstructing unit for sequentially inquiring frames corresponding to the list data in the synchronized data, and sequentially combining the frames to generate reference frames; And
And a decoding unit decoding the compressed moving image using the reference frame and generating an original image of the compressed moving image.
참조 프레임 생성부가 동기화된 데이터 중에서 적어도 하나의 프레임을 선정하는 단계;
상기 참조 프레임 생성부가 선정된 프레임과 데이터와 대상 동영상 간의 유사도를 산출하여 참조 프레임을 생성하는 단계;
목록 데이터 작성부가 상기 참조 프레임에 포함된 각 프레임에 대한 목록 데이터를 생성하는 단계; 및
인코딩부가 상기 대상 데이터에 포함된 프레임 중 타 프레임간의 중복성을 이용하지 못하는 프레임이 상기 참조 프레임을 이용하도록 하여 상기 대상 데이터에 대한 압축 동영상을 생성하는 단계를 포함하는 데이터 인코딩 방법.
Selecting at least one frame among the synchronized data by the reference frame generator;
Generating a reference frame by calculating a degree of similarity between the selected frame and data and the target moving image;
Generating list data for each frame included in the reference frame; And
And generating a compressed moving picture for the target data by causing the encoding unit to use the frame in which the redundancy among other frames among the frames included in the target data can not be used.
제8항에 있어서,
상기 참조 프레임을 생성하는 단계는,
상기 선정된 프레임 중 산출된 유사도가 높은 순서대로 기 설정 개수의 프레임을 추출하는 단계; 및
추출된 프레임을 유사도 순서에 따라 정렬하여 참조 프레임을 생성하는 단계를 포함하는 데이터 인코딩 방법.
9. The method of claim 8,
Wherein the step of generating the reference frame comprises:
Extracting a preset number of frames in descending order of the degree of similarity calculated among the selected frames; And
And arranging the extracted frames in order of similarity to generate a reference frame.
제9항에 있어서,
상기 목록 데이터를 생성하는 단계는,
상기 참조 프레임에 포함된 각 프레임에 대한 참조 정보를 생성하는 단계; 및
상기 참조 정보를 상기 참조 프레임에 포함된 각 프레임의 정렬 순서대로 나열하여 상기 목록 데이터를 생성하는 단계를 포함하는 데이터 인코딩 방법.
10. The method of claim 9,
Wherein the generating the list data comprises:
Generating reference information for each frame included in the reference frame; And
And generating the list data by arranging the reference information in a sort order of each frame included in the reference frame.
제8항에 있어서,
데이터 송신부가 상기 압축 동영상 및 상기 목록 데이터를 전송하는 단계를 더 포함하는 데이터 인코딩 방법.
9. The method of claim 8,
And the data transmission unit transmits the compressed moving picture and the list data.
데이터 수신부가 압축 동영상과 목록 데이터를 수신하는 단계;
참조 프레임 복원부가 상기 목록 데이터에 대응되는 프레임을 데이터 베이스에 저장된 동기화 된 데이터에서 순차적으로 조회하는 단계;
상기 참조 프레임 복원부가 조회된 프레임을 순차적으로 결합하여 참조 프레임을 생성하는 단계; 및
디코딩부가 상기 참조 프레임을 이용하여 상기 압축 동영상을 디코딩하고 상기 압축 동영상의 원본 영상을 생성하는 단계를 포함하는 데이터 디코딩 방법.
Receiving a compressed moving image and list data by a data receiving unit;
The reference frame restoring unit sequentially inquiring frames corresponding to the list data from the synchronized data stored in the database;
Generating reference frames by sequentially combining the frames that are referred to by the reference frame reconstructing unit; And
Wherein the decoding unit decodes the compressed moving image using the reference frame and generates an original image of the compressed moving image.
KR1020170167654A 2017-12-07 2017-12-07 Apparatus and method for encoding and decoding of data KR102072576B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020170167654A KR102072576B1 (en) 2017-12-07 2017-12-07 Apparatus and method for encoding and decoding of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170167654A KR102072576B1 (en) 2017-12-07 2017-12-07 Apparatus and method for encoding and decoding of data

Publications (2)

Publication Number Publication Date
KR20190067577A true KR20190067577A (en) 2019-06-17
KR102072576B1 KR102072576B1 (en) 2020-02-03

Family

ID=67064914

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170167654A KR102072576B1 (en) 2017-12-07 2017-12-07 Apparatus and method for encoding and decoding of data

Country Status (1)

Country Link
KR (1) KR102072576B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220071056A (en) * 2020-11-23 2022-05-31 서울대학교산학협력단 Image data processing appratus and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150027985A (en) * 2013-09-05 2015-03-13 한국전자통신연구원 Apparatus for processing video and method therefor
US20170195678A1 (en) * 2014-06-30 2017-07-06 The University Of North Carolina At Chapel Hill Methods, systems, and computer readable media for performing image compression

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150027985A (en) * 2013-09-05 2015-03-13 한국전자통신연구원 Apparatus for processing video and method therefor
US20170195678A1 (en) * 2014-06-30 2017-07-06 The University Of North Carolina At Chapel Hill Methods, systems, and computer readable media for performing image compression

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Nam, Wooseung, et al., "SyncCoding: A compression technique exploiting references for data synchronization services." Network Protocols (ICNP), (2017.10.13) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220071056A (en) * 2020-11-23 2022-05-31 서울대학교산학협력단 Image data processing appratus and method

Also Published As

Publication number Publication date
KR102072576B1 (en) 2020-02-03

Similar Documents

Publication Publication Date Title
US11405631B2 (en) Constrained motion field estimation for hardware efficiency
CN109547786B (en) Video encoding and video decoding methods and devices
US11115663B2 (en) Codebook generation for cloud-based video applications
TWI622288B (en) Video decoding method
US9547916B2 (en) Segment-based encoding system including segment-specific metadata
US20150229935A1 (en) Method and apparatus for multi-threaded video decoding
US11647223B2 (en) Dynamic motion vector referencing for video coding
CN107852500B (en) Motion vector field encoding method and decoding method, encoding and decoding device
US11212536B2 (en) Negative region-of-interest video coding
WO2019036080A1 (en) Constrained motion field estimation for inter prediction
JP2006527518A (en) Video compression
US10536726B2 (en) Pixel patch collection for prediction in video coding system
KR102072576B1 (en) Apparatus and method for encoding and decoding of data
CN110557642B (en) Video frame coding motion searching method and image encoder
US20100027621A1 (en) Apparatus, method and computer program product for moving image generation
WO2022110870A1 (en) Image encoding and decoding method, encoding and decoding apparatus, encoder, and decoder
US20080298769A1 (en) Method and system for generating compressed video to improve reverse playback
CN111669600B (en) Video coding method, device, coder and storage device
CN105847822A (en) Video decoding method and device
Jubran et al. Sequence-level reference frames in video coding
US20040013200A1 (en) Advanced method of coding and decoding motion vector and apparatus therefor
US10412383B2 (en) Compressing groups of video frames using reversed ordering
Gao et al. Standard designs for cross random access point reference in video coding
US10075691B2 (en) Multiview video coding method using non-referenced view video group
US11956441B2 (en) Identifying long term reference frame using scene detection and perceptual hashing

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant