KR100907707B1 - High-speed extraction method of thumbnail images in H.264 / ACC compressed region, apparatus therefor, and recording medium recording the same - Google Patents

High-speed extraction method of thumbnail images in H.264 / ACC compressed region, apparatus therefor, and recording medium recording the same Download PDF

Info

Publication number
KR100907707B1
KR100907707B1 KR1020070090692A KR20070090692A KR100907707B1 KR 100907707 B1 KR100907707 B1 KR 100907707B1 KR 1020070090692 A KR1020070090692 A KR 1020070090692A KR 20070090692 A KR20070090692 A KR 20070090692A KR 100907707 B1 KR100907707 B1 KR 100907707B1
Authority
KR
South Korea
Prior art keywords
macro block
pixel data
intra prediction
video
prediction mode
Prior art date
Application number
KR1020070090692A
Other languages
Korean (ko)
Other versions
KR20090025674A (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 KR1020070090692A priority Critical patent/KR100907707B1/en
Publication of KR20090025674A publication Critical patent/KR20090025674A/en
Application granted granted Critical
Publication of KR100907707B1 publication Critical patent/KR100907707B1/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/87Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving scene cut or scene change detection in combination with video compression

Abstract

H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법, 그 장치 및 이를 기록한 기록매체가 개시된다.Disclosed are a high speed extraction method of a thumbnail image in an H.264 / AVC compressed region, an apparatus thereof, and a recording medium recording the same.

본 발명에 따른 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법은,The fast extraction method of the thumbnail image in the H.264 / AVC compression region according to the present invention,

H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출하는 단계, 상기 추출된 양자화된 DCT 계수를 이용하여 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계, 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택하는 단계, 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계, 및 상기 연산된 매크로 블록의 휘도에 따라 상기 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성하는 단계를 포함한다.Extracting quantized DCT coefficients for each address of a macroblock stored in a bitstream of a video compressed by the H.264 / AVC standard, and generating pixel data in the macroblock using the extracted quantized DCT coefficients Selecting an intra prediction mode for each address of the macro block in which the pixel data is generated according to intra prediction mode information stored in the bitstream of the video, and surrounding macro blocks surrounding the macro block according to the selected intra prediction mode Computing a luminance value of the macro block using the boundary pixel data of, and generating a thumbnail image of a specific video frame from which the DCT coefficient is extracted according to the calculated luminance of the macroblock.

본 발명에 의하면, H.264/AVC로 압축된 비디오로부터 DCT 계수와 인트라 예측 정보를 이용하여 썸네일 영상을 추출함으로써 인트라 예측시 발생하는 부호화의 연산량을 감소시킬 수 있고, H.264/AVC로 압축된 비디오로부터 각 프레임의 썸네일 영상을 신속하게 추출하고, 압축된 비디오 전체를 복호화하지 않으면서도 공간 영역 정보인 휘도 성분을 쉽게 추출하여 이를 이용한 썸네일 영상을 추출할 수 있으 며, 이를 이용하여 영상 검색, 동영상 검색 및 장면전환과 편집에 이용되는 비디오 분석에 활용할 수 있는 효과가 있다.According to the present invention, by calculating a thumbnail image using DCT coefficients and intra prediction information from a video compressed with H.264 / AVC, an operation amount of encoding generated during intra prediction can be reduced, and compression is performed with H.264 / AVC. It is possible to quickly extract the thumbnail image of each frame from the compressed video, and to extract the luminance image using the spatial component information easily without decoding the entire compressed video, and to extract the thumbnail image using the same. It can be used for video analysis and video analysis used for scene change and editing.

Description

H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법, 그 장치 및 이를 기록한 기록매체{Method and Apparatus for extracting thumbnail video on high speed in H.264/AVC compressed domain, and Recording Medium using it}Method for high speed extraction of thumbnail images in H.264 / ACC compressed region, apparatus and recording medium recording them {Method and Apparatus for extracting thumbnail video on high speed in H.264 / AVC compressed domain, and Recording Medium using it}

본 발명은 영상 신호 처리에 관한 것으로서, 더욱 상세하게는 H.264 압축 영역에서, H.264/AVC로 부호화된 비디오의 비트스트림(bitstream)으로부터 프레임 공간 영역의 정보인 휘도 신호에 관한 썸네일(thumbnail) 영상을 복호화 과정 없이 추출할 수 있는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법, 그 장치 및 이를 기록한 기록매체에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to video signal processing, and more particularly to a thumbnail of a luminance signal which is information of a frame space region from a bitstream of an H.264 / AVC encoded video in an H.264 compressed region. The present invention relates to a fast extraction method of a thumbnail image in an H.264 / AVC compressed region capable of extracting an image without a decoding process, an apparatus thereof, and a recording medium recording the same.

현재, 디지털 TV에 부착된 개인용 비디오 녹화기(PVR)나 비디오 라이브러리에서 사용되는 비디오 브라우저 등에서 효과적인 내용 요약, 스토리보드, 키프레임의 생성, 프로그램 가이드 등의 기능을 제공하기 위하여 썸네일 영상이 사용되고 있다.Currently, thumbnail images are used to provide effective content summaries, storyboards, keyframe generation, program guides, and the like in a personal video recorder (PVR) attached to a digital TV or a video browser used in a video library.

썸네일 영상은 비디오의 특정 프레임을 원래의 크기보다 작게 표시한 것으로 비디오 녹화기에서 녹화된 비디오의 내용을 몇 개의 작은 그림들로 요약하거나, 비디오 인덱 싱을 위한 키프레임의 생성 또는 프로그램 가이드 등에서 사용할 대표영 상의 생성 등 그 활용분야가 다양하다.Thumbnail images represent a specific frame of a video smaller than its original size. A thumbnail image summarizes the contents of the recorded video in a video recorder into several thumbnails, creates a keyframe for video indexing, or uses it in a program guide. There are various fields of application such as creating statues.

썸네일 영상을 생성하는 방법은 MPEG으로 부호화된 비디오의 프레임을 복호화한 다음, 그 복원된 프레임을 직접 축소하는 방법과, 인트라(Intra:I) 픽쳐의 DCT값을 이용하는 방법으로 구분할 수 있다. 전자의 경우는 해당 프레임의 전체 화소를 복호화해야 하고 이는 가변 길이 복호화기(variable length decoder)를 필요로 하므로 하드웨어적인 부담이 크다.A method of generating a thumbnail image may be classified into a method of decoding a frame of video encoded by MPEG, and then directly reducing the reconstructed frame, and a method of using a DCT value of an intra (I) picture. In the former case, the entire pixel of the frame must be decoded, which requires a variable length decoder, which is a large hardware burden.

후자의 경우는 I픽쳐의 DCT 계수를 이용하여 썸네일 영상을 만들기 때문에 가변 복호화기를 필요로 하지 않으며, 구성이 간단하므로 후자의 방법이 주로 사용되고 있다.In the latter case, since a thumbnail image is generated using the DCT coefficient of the I picture, a variable decoder is not required. Since the configuration is simple, the latter method is mainly used.

도 1은 본 발명에 적용되는 H.264/AVC 비디오 비트스트림으로부터 썸네일 영상을 추출하는 개괄도를 도시한 것이다.1 is a schematic diagram of extracting a thumbnail image from an H.264 / AVC video bitstream applied to the present invention.

도 1을 참조하면, 우선 H.264/AVC 비디오 비트스트림인 이진 데이터로부터 실시간 특징 영상을 추출한다. 실시간 특징 영상은 정수 변환으로부터 얻어진 DCT 계수, 인트라 예측 모드(Intra Prediction Mode) 및 매크로 블록 어드레스(Macro Block Address)를 이용하여 썸네일 영상을 추출하게 되고, 추출한 썸네일 영상을 이용하여 동영상 데이터의 영상을 검색하거나, 동영상 데이터를 검색하고, 비디오 데이터를 분석한다.Referring to FIG. 1, first, a real-time feature image is extracted from binary data which is an H.264 / AVC video bitstream. Real-time feature image extracts thumbnail images using DCT coefficients, Intra Prediction Mode, and Macro Block Address obtained from integer conversion, and retrieves images of video data using extracted thumbnail images. Or retrieve video data and analyze the video data.

도 2는 H.264/AVC 부호화기의 구조를 도시한 것이다.2 shows the structure of an H.264 / AVC encoder.

도 2를 참조하면, H.264/AVC 부호화기 에서는 입력된 동영상 프레임을 매크로 블록(Macro Block:MB)으로 분할하고, 분할된 각각의 매크로 블록은 인트라 모 드(Intra Mode) 또는 인터 모드(Inter Mode)로 부호화 된다. 영상을 압축할 경우, 각각의 모드가 선택되고 모드에 따라 생성된 오차 블록의 영상 데이터를 이산 여현 변환(Discrete Cosine Transform:DCT)부(230) 및 양자화(Quantization)부(240)에서 이산 여현 변환 및 양자화 과정을 거친 영상은 디코더(280)를 통하여 엔트로피 코딩(Entropy Coding)부(290)를 거쳐서 출력 영상을 생성하게 된다.Referring to FIG. 2, the H.264 / AVC encoder divides an input video frame into macro blocks (MBs), and each of the divided macro blocks is in an intra mode or an inter mode. ) Is encoded. When compressing an image, each mode is selected and the discrete cosine transform is performed by the discrete cosine transform (DCT) unit 230 and the quantization unit 240. The quantized image is then subjected to an entropy coding unit 290 through the decoder 280 to generate an output image.

기준 영상을 생성하기 위하여 양자화된 영상의 데이터를 역 양자화(Inverse Quantization)부(250) 및 역 이산 여현 변환(Inverse Discrete Cosine Transform:IDCT)부(260)에서 역 양자화 및 역 이산 여현 변환 과정을 거쳐서 양자화된 데이터의 영상을 복원하게 되고, 루프 필터(270)를 거친 후 기준 영상으로 사용한다.Inverse Quantization unit 250 and Inverse Discrete Cosine Transform (IDCT) unit 260 undergoes inverse quantization and inverse discrete cosine transformation to generate reference images. The image of the quantized data is reconstructed and used as a reference image after passing through the loop filter 270.

움직임 추정부(210)는 인터 예측에서 사용되며, 복원된 영상과 다음에 입력되는 영상의 중복을 비교한 움직임 보상부(211)를 거친 후 움직임 벡터를 출력한다. The motion estimator 210 is used in inter prediction, and outputs a motion vector after passing through the motion compensator 211 comparing the overlap of the reconstructed image and the next input image.

압축 효율의 향상을 위하여 주변 영상 데이터를 이용하여 현재 블록의 영상 데이터를 예측하게 되는데, 이를 인트라 예측 모드 선택부(220)에서 인트라 예측 모드를 선택하고, 이에 따라서 인트라 예측부(221)에서 인트라 예측을 거치게 된다.In order to improve the compression efficiency, the image data of the current block is predicted using the neighboring image data. The intra prediction mode selector 220 selects the intra prediction mode, and the intra predictor 221 predicts the intra data. Will go through.

즉, 인터 예측에서는 움직임 추정을 통하여, 그리고 인트라 예측에서는 움직임 예측을 통하여 동영상 데이터를 효율적으로 압축하여 이를 엔트로피 코딩을 통하여 출력데이터를 생성하게 된다.That is, video data is efficiently compressed through motion estimation in inter prediction and motion prediction in intra prediction, and output data is generated through entropy coding.

도 3은 H.264/AVC에서 사용하는 인트라 예측(Intra Prediction)을 나타낸다.3 shows Intra Prediction used in H.264 / AVC.

H.264/AVC 비디오 압축 표준에서는 상기 도 2에 나타낸 인트라 예측을 이용하여 비디오의 인트라 프레임에 대한 압축효율을 향상시킬 수 있고, 부호화 과정의 에러도 크게 줄여 기존의 비디오 압축 표준보다 월등한 화질로 복원될 수 있는 동영상을 제공할 수 있다.In the H.264 / AVC video compression standard, the intra prediction shown in FIG. 2 can be used to improve the compression efficiency of an intra frame of a video, and the encoding process is also greatly reduced, resulting in superior image quality than the existing video compression standard. It may provide a video that can be restored.

도 3에 도시된 바와 같이, H.264/AVC 압축 영역에서의 인트라 예측은 4×4 블록과 16×16 블록 단위로 적용될 수 있으며, 4×4 블록은 9가지의 예측 모드가 적용되며 16×16 블록은 4가지의 예측 모드가 적용될 수 있다.As shown in FIG. 3, intra prediction in the H.264 / AVC compression region may be applied in units of 4 × 4 blocks and 16 × 16 blocks, and 9 × prediction modes are applied to the 4 × 4 blocks and 16 × 16 blocks. Fourteen prediction modes may be applied to the sixteen blocks.

이는 상기 도 2 및 도 3에 도시된 바와 같이, H.264/AVC 부호화기에서 각 부호화 단위 블록(4×4 블록과 16×16 블록)은 주변 블록의 이웃 화소와 예측되고 남은 잔차 성분(residual component)만 이산 여현 변환되어 부호화된다.As shown in FIG. 2 and FIG. 3, each coding unit block (4 × 4 block and 16 × 16 block) in the H.264 / AVC encoder has a residual component predicted and remaining with the neighboring pixels of the neighboring block. ) Is encoded by discrete cosine transform.

이와 같은 사실은 이전의 비디오 압축표준(MPEG-2)에서처럼, 비디오 비트스트림에서 직접 추출한 DCT계수를 이용하여 영상 공간영역의 휘도 정보를 얻는 것을 어렵게 할 수 있다.This fact can make it difficult to obtain luminance information of an image space region using DCT coefficients extracted directly from a video bitstream, as in the previous video compression standard (MPEG-2).

따라서, 종래의 H.264/AVC의 인트라 예측은 4×4 블록과 16×16블록에 사용되는 각 예측 모드들을 이용한 비디오 압축 표준들은 비디오 비트스트림으로부터 직접 추출한 DCT 계수를 이용하여 영상 공간영역의 휘도 정보를 바로 구할 수 없으며, 종래의 H.264/AVC를 복호화함에 있어서, 전체 비디오 비트스트림을 복호화하거나, 인트라 프레임의 인트라 예측을 수행하여 각 블록의 경계 픽셀 값을 모두 구하여야 하므로, 부호화된 비디오 정보를 복원하는데 시간과 비용이 많이 소모되는 문제점이 있다.Therefore, conventional H.264 / AVC intra prediction has video compression standards using the prediction modes used for 4x4 blocks and 16x16 blocks, and uses the DCT coefficient extracted directly from the video bitstream. The information cannot be directly obtained, and in decoding H.264 / AVC, since the boundary pixel values of each block must be obtained by decoding the entire video bitstream or performing intra prediction of intra frames, the encoded video There is a problem that it takes time and money to restore information.

따라서, 본 발명이 해결하고자 하는 첫 번째 과제는 부호화된 비디오 비트스트림으로부터 인트라 예측에 따른 보상의 연산량을 감소시키면서도 상기 인트라 예측에 수행되는 비디오 프레임의 썸네일 영상을 생성해낼 수 있는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법을 제공하는 것이다.Accordingly, a first problem to be solved by the present invention is H.264 / AVC compression, which can generate a thumbnail image of a video frame that is performed for intra prediction while reducing an operation amount of compensation due to intra prediction from an encoded video bitstream. The present invention provides a fast extraction method of thumbnail images in a region.

또한, 본 발명이 해결하고자 하는 두 번째 과제는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법을 이용한 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 장치를 제공하는 것이다.In addition, a second problem to be solved by the present invention is to provide a fast extraction apparatus of a thumbnail image in the H.264 / AVC compressed region using a fast extraction method of the thumbnail image in the H.264 / AVC compressed region.

그리고, 본 발명이 해결하고자 하는 세 번째 과제는 상기 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법을 컴퓨터에서 수행할 수 있도록 프로그램으로 기록한 기록매체를 제공하는 것이다.In addition, a third problem to be solved by the present invention is to provide a recording medium recorded by a program so that a computer can perform a fast extraction method of a thumbnail image in the H.264 / AVC compression region.

상기 첫 번째 과제를 해결하기 위하여 본 발명은,The present invention to solve the first problem,

H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출하는 단계; 상기 추출된 양자화된 DCT 계수를 이용하여 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계; 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택하는 단계; 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데 이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계; 및 상기 연산된 매크로 블록의 휘도에 따라 상기 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성하는 단계를 포함하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법을 제공한다. Extracting quantized DCT coefficients according to addresses of macro blocks stored in a bitstream of a video compressed by the H.264 / AVC standard; Generating pixel data in the macro block using the extracted quantized DCT coefficients; Selecting an intra prediction mode for each address of the macro block in which the pixel data is generated according to the intra prediction mode information stored in the bitstream of the video; Calculating a luminance value of the macro block using boundary pixel data of a neighboring macro block surrounding the macro block according to the selected intra prediction mode; And generating a thumbnail image of a specific video frame from which the DCT coefficients are extracted according to the calculated luminance of the macroblock.

한편, 상기 매크로 블록의 단위는 4×4 블록 또는 16×16 블록인 것을 특징으로 한다.On the other hand, the unit of the macro block is characterized in that the 4 × 4 blocks or 16 × 16 blocks.

그리고, 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계는 사용자에 의해 미리 설정된 상기 매크로 블록 내의 특정 경계 픽셀 데이터를 생성하는 단계인 것을 특징으로 한다.The generating of the pixel data in the macro block may include generating specific boundary pixel data in the macro block preset by the user.

한편, 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계는, 상기 추출된 양자화된 DCT 계수를 이용하여 역 양자화를 수행하는 단계; 및 상기 역 양자화된 DCT 계수를 역 이산 여현 변환하여 상기 매크로 블록 내의 경계 픽셀 데이터를 생성하는 단계를 포함하는 것을 특징으로 한다.Meanwhile, generating the pixel data in the macro block may include performing inverse quantization using the extracted quantized DCT coefficients; And inverse discrete cosine transforming the inverse quantized DCT coefficients to generate boundary pixel data in the macroblock.

아울러, 상기 매크로 블록의 휘도 값을 연산하는 단계는, 상기 매크로 블록의 휘도 값 연산식이 저장된 데이터 베이스에서 상기 선택된 인트라 예측 모드에 따라 휘도 값 연산식을 선택하는 단계; 및 상기 선택된 휘도 값 연산식에 따라 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계를 포함하는 것을 특징으로 한다.The calculating of the luminance value of the macroblock may include: selecting a luminance value equation according to the selected intra prediction mode in a database in which the luminance value equation of the macroblock is stored; And calculating luminance values of the macro blocks by using boundary pixel data of peripheral macro blocks surrounding the macro blocks according to the selected luminance value calculation equation.

상기 첫 번째 과제를 해결하기 위하여 본 발명은,The present invention to solve the first problem,

H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장된 매크로 블록 의 주소별로 양자화된 제 1 DCT 계수를 추출하는 단계; 상기 추출된 양자화된 제 1 DCT 계수를 이용하여 사용자에 의해 미리 설정된 상기 매크로 블록 내의 특정 경계 픽셀 데이터를 상기 제 1 DCT 계수로 대체하는 단계 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택하는 단계; 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계; 및 상기 연산된 매크로 블록의 휘도에 따라 상기 제 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성하는 단계를 포함하는 H.264/AVC 압축 영역에서의 썸네일 영상 추출 방법을 제공한다.Extracting first quantized DCT coefficients according to addresses of macro blocks stored in a bitstream of a video compressed by the H.264 / AVC standard; Replacing specific boundary pixel data in the macro block preset by the user using the extracted quantized first DCT coefficients with the first DCT coefficients according to the intra prediction mode information stored in the bitstream of the video. Selecting an intra prediction mode for each address of the macro block in which data is generated; Calculating a luminance value of the macro block using boundary pixel data of a neighboring macro block surrounding the macro block according to the selected intra prediction mode; And generating a thumbnail image of a specific video frame from which the first DCT coefficient is extracted according to the calculated macroblock luminance.

그리고, 상기 매크로 블록의 단위는 4×4 블록 또는 16×16 블록인 것을 특징으로 한다. In addition, the macro block may be a 4 × 4 block or a 16 × 16 block.

아울러, 상기 제 1 DCT 계수는 상기 매크로 블록 내의 최상단에 위치한 좌측 경계 픽셀의 DCT 계수인 것을 특징으로 한다.In addition, the first DCT coefficient is a DCT coefficient of the left boundary pixel located at the top of the macro block.

한편, 상기 매크로 블록의 휘도 값을 연산하는 단계는, 상기 매크로 블록의 휘도 값 연산식이 저장된 데이터 베이스에서 상기 선택된 인트라 예측 모드에 따라 휘도 값 연산식을 선택하는 단계; 및 상기 선택된 휘도 값 연산식에 따라 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계를 포함하는 것을 특징으로 한다.The calculating of the luminance value of the macroblock may include selecting a luminance value equation according to the selected intra prediction mode in a database in which the luminance value equation of the macroblock is stored; And calculating luminance values of the macro blocks by using boundary pixel data of peripheral macro blocks surrounding the macro blocks according to the selected luminance value calculation equation.

상기 두 번째 과제를 해결하기 위하여 본 발명은,The present invention to solve the second problem,

H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출하는 DCT 계수 추출부; 상기 추출된 양자화된 DCT 계수를 이용하여 상기 매크로 블록 내에 외부에서 미리 입력된 픽셀의 픽셀 데이터를 생성하는 픽셀 데이터 생성부; 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택하는 인트라 예측 모드 선택부; 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 연산부; 및 상기 연산된 매크로 블록의 휘도에 따라 상기 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성하는 썸네일 영상 생성부를 포함하는 H.264/AVC 압축 영역에서의 썸네일 영상 추출 장치를 제공한다. A DCT coefficient extraction unit for extracting quantized DCT coefficients for each address of a macroblock stored in a bitstream of a video compressed by the H.264 / AVC standard; A pixel data generation unit generating pixel data of a pixel previously input from the outside in the macro block using the extracted quantized DCT coefficients; An intra prediction mode selection unit for selecting an intra prediction mode for each address of the macro block in which the pixel data is generated according to intra prediction mode information stored in the bitstream of the video; A calculator configured to calculate a luminance value of the macro block using boundary pixel data of a neighboring macro block surrounding the macro block according to the selected intra prediction mode; And a thumbnail image generator configured to generate a thumbnail image of a specific video frame from which the DCT coefficient is extracted according to the calculated luminance of the macroblock.

그리고, 상기 픽셀 데이터 생성부는, 상기 DCT 계수 추출부에서 추출된 양자화된 DCT 계수를 이용하여 역 양자화를 수행하는 역 양자화부; 및 상기 역 양자화된 DCT 계수를 역 이산 여현 변환하여 상기 매크로 블록 내의 경계 픽셀 데이터를 생성하는 경계 픽셀 데이터 생성부를 더 포함하는 것을 특징으로 한다.The pixel data generation unit may include an inverse quantization unit performing inverse quantization using the quantized DCT coefficients extracted by the DCT coefficient extraction unit; And a boundary pixel data generation unit generating inverse discrete cosine transform of the inverse quantized DCT coefficients to generate boundary pixel data in the macroblock.

한편, 상기 연산부는, 상기 매크로 블록의 휘도 값 연산식을 저장하는 데이터 베이스 모듈을 포함하고, 상기 연산부는 상기 데이터 베이스 모듈에서 상기 선택된 인트라 예측 모드에 따라 휘도 값 연산식을 선택하고, 상기 선택된 휘도 값 연산식에 따라 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 것을 특징으로 한다.The operation unit may include a database module configured to store a luminance value calculation equation of the macro block, and the calculation unit may select a brightness value calculation equation according to the selected intra prediction mode in the database module, and the selected brightness may be determined. The luminance value of the macro block may be calculated using boundary pixel data of a neighboring macro block surrounding the macro block according to a value calculation formula.

아울러, 상기 매크로 블록의 단위는 4×4 블록 또는 16×16 블록인 것을 특징으로 한다.In addition, the unit of the macro block is characterized in that the 4 × 4 blocks or 16 × 16 blocks.

상기 세 번째 과제를 해결하기 위하여 본 발명은, 상기 H.264/AVC 압축 영역에서의 썸네일 영상 추출 방법을 컴퓨터에 수행시키도록 프로그램으로 기록한 기록매체를 제공한다.In order to solve the third problem, the present invention provides a recording medium recorded by a program to cause a computer to perform a method of extracting thumbnail images in the H.264 / AVC compressed region.

본 발명에 의하면, H.264/AVC로 압축된 비디오로부터 DCT 계수와 인트라 예측 정보를 이용하여 썸네일 영상을 추출함으로써 인트라 예측시 발생하는 부호화의 연산량을 감소시킬 수 있고, H.264/AVC로 압축된 비디오로부터 각 프레임의 썸네일 영상을 신속하게 추출하고, 압축된 비디오 전체를 복호화하지 않으면서도 공간 영역 정보인 휘도 성분을 쉽게 추출하여 이를 이용한 썸네일 영상을 추출할 수 있으며, 이를 이용하여 영상 검색, 동영상 검색 및 장면전환과 편집에 이용되는 비디오 분석에 활용할 수 있는 효과가 있다.According to the present invention, by calculating a thumbnail image using DCT coefficients and intra prediction information from a video compressed with H.264 / AVC, an operation amount of encoding generated during intra prediction can be reduced, and compression is performed with H.264 / AVC. Quickly extract the thumbnail image of each frame from the compressed video, and extract the thumbnail image using this by easily extracting the luminance component, which is the spatial domain information, without decoding the entire compressed video. There is an effect that can be used for video analysis used for search, transition and editing.

상술한 바와 같이, H.264/AVC의 인트라예측에서 각 부호화 단위 블록(4×4 블록과 16×16블록)은 주변 블록의 이웃 화소와 예측되고 남은 레시듀얼 성분(residual component)만 이산 여현 변환되어 부호화 되므로, 종래의 비디오 압축표준(MPEG-2)에서처럼, 비디오 비트스트림에서 직접 추출한 DCT 계수를 이용하여 영상 공간 영역의 휘도 정보를 얻는 것이 어려우므로, 본 발명에서는 영상 분석 및 비디오 분석의 기초 자료로 활용 가능한 영상 공간 영역의 휘도 정보를 추출하고 추출된 휘도 정보를 기반으로 썸네일 영상을 얻기 위하여 H.264/AVC 비디오 스트림으로부터 DCT 계수와 인트라 예측 모드를 추출하는 썸네일 영상의 고속 추출 방법, 그 장치 및 이를 기록한 기록매체가 개시된다.As described above, in intra prediction of H.264 / AVC, each coding unit block (4 × 4 block and 16 × 16 block) is discrete cosine transformed only with residual components predicted and remaining with neighboring pixels of the neighboring block. Since it is difficult to obtain luminance information of an image space region by using DCT coefficients extracted directly from a video bitstream, as in the conventional video compression standard (MPEG-2), since it is difficult to obtain the information, the present invention is the basic data of image analysis and video analysis. Fast extraction method of a thumbnail image extracting the luminance information of the image space region that can be used as an image and extracting the DCT coefficient and the intra prediction mode from the H.264 / AVC video stream to obtain a thumbnail image based on the extracted luminance information, apparatus And a recording medium recording the same.

하기의 수학식 1은 인트라 예측이 수행된 레시듀얼 픽셀(residual pixel) X에 적용되는 4×4 정수 변환(Integer Transform)을 도시한 것이다.Equation 1 below illustrates a 4x4 integer transform applied to a residual pixel X on which intra prediction is performed.

Figure 112007064982101-pat00001
Figure 112007064982101-pat00001

상기 수학식 1에서

Figure 112007064982101-pat00002
는 특정 레시듀얼 픽셀 X의 정 변환 매트릭스(Forward transform matrix)를 의미하고,
Figure 112007064982101-pat00003
는 상기 정 변환 매트릭스
Figure 112007064982101-pat00004
의 트랜스포즈(transpose) 매트릭스이고,
Figure 112007064982101-pat00005
는 스케일링 팩터(Scaling factor)를 의미한다.In Equation 1
Figure 112007064982101-pat00002
Denotes a forward transform matrix of a specific residual pixel X,
Figure 112007064982101-pat00003
Is the positive transformation matrix
Figure 112007064982101-pat00004
Is the transpose matrix of
Figure 112007064982101-pat00005
Denotes a scaling factor.

이와 같은 정수 변환(Integer Transform)은 이산 여현 변환과 거의 유사한 효과를 보여주지만, 곱셈을 사용하지 않은 정수 단위의 변환을 이용함으로써 에러없는 완벽한 역변환을 제공한다.This Integer Transform has almost the same effect as the Discrete Cosine Transform, but provides an error-free inverse transform by using an integer-based transformation that does not use multiplication.

한편, 상기 수학식 1과 같이 이산 여현 변환된 각 계수들은 하기의 수학식 2에 따라 양자화된다.Meanwhile, as shown in Equation 1, the discrete cosine transformed coefficients are quantized according to Equation 2 below.

Figure 112007064982101-pat00006
Figure 112007064982101-pat00006

상기 수학식 2에서 i와 j는 각각 매트릭스의 행과 열을 의미하고,

Figure 112007064982101-pat00007
는 이산 여현 변환의 계수를 의미하며,
Figure 112007064982101-pat00008
은 양자화 스텝 사이즈를 의미하는데, 상기 양자화 스텝 사이즈는 사용자에 의미 미리 정해지는 상수 값이다.In Equation 2, i and j mean each row and column of the matrix,
Figure 112007064982101-pat00007
Is the coefficient of the discrete cosine transform,
Figure 112007064982101-pat00008
Denotes a quantization step size, and the quantization step size is a predetermined constant value.

이와 같이, 이산 여현 변환된 4×4 단위의 계수들은 양자화 스텝으로 나누어져 표현되게 된다. 이러한 과정에서 발생하는 소수 단위의 나눗셈 과정은 매우 많은 연산량을 포함하게 되어, H.264/AVC 부호화기 에서는 연산량을 줄이기 위하여 하기의 수학식 3과 같은 과정으로 양자화하게 된다.In this way, the discrete cosine transformed coefficients of the 4 × 4 unit is expressed by dividing the quantization step. The division process of the fractional unit generated in this process includes a very large amount of computation, and the H.264 / AVC coder quantizes the process as shown in Equation 3 below to reduce the computation.

Figure 112007064982101-pat00009
Figure 112007064982101-pat00009

상기 수학식 3에서 프리-스케일링 팩터(Pre-Scaling Factor:PF)는 매트릭스 내에서 각 성분에 해당되는 매트릭스 성분값을 저장하고 있는 스케일링 상수이다.In Equation 3, the pre-scaling factor (PF) is a scaling constant that stores a matrix component value corresponding to each component in the matrix.

상기 수학식 3에서 프리-스케일링 팩터(Pre-Scaling Factor:PF) 값은 하기의 표 1과 같다.In Equation 3, Pre-Scaling Factor (PF) values are shown in Table 1 below.

Figure 112007064982101-pat00010
Figure 112007064982101-pat00010

그리고, 상술한 바와 같이

Figure 112007064982101-pat00011
은 양자화 스텝 사이즈를 의미하는데, 상기 양자화 스텝 사이즈는 사용자에 의미 미리 정해지는 양자화 상수 값이다.And as mentioned above
Figure 112007064982101-pat00011
Denotes a quantization step size, and the quantization step size is a quantization constant value that is predetermined to a user.

그리고, 상기

Figure 112007064982101-pat00012
는 하기의 수학식 4로 표현되는 매트릭스를 의미한다.And,
Figure 112007064982101-pat00012
Denotes a matrix represented by Equation 4 below.

Figure 112007064982101-pat00013
Figure 112007064982101-pat00013

따라서, 상술한 바와 같이 양자화 과정에서 발생하는 소수 단위의 나눗셈 과정은 매우 많은 연산량을 포함하게 되어, H.264/AVC 부호화기에서는 연산량을 줄이기 위하여 상기 수학식 3과 수학식 4에 따른 연산을 수행하게 된다.Therefore, as described above, the division process of the fractional unit generated in the quantization process includes a very large amount of computation, and the H.264 / AVC coder performs an operation according to Equations 3 and 4 to reduce the amount of computation. do.

즉, DCT 변환 과정에서 발생하는 스케일링 상수들은 변환 과정에서 적용되지 아니하며, 양자화 과정에 포함시킴으로서, DCT 변환 과정에서는 단순한 쉬프트(Shift)와 덧셈 연산만 수행하기 때문에 매우 적은 연산량으로 변환을 마칠 수 있으며, 나머지의 곱셈 과정은 상기 수학식 3 및 수학식 4의 양자화 단계에서 수행 된다.That is, scaling constants generated in the DCT transform process are not applied in the transform process, and are included in the quantization process. Therefore, the DCT transform process performs only a simple shift and add operation, so that the transformation can be completed with a very small amount of computation. The rest of the multiplication process is performed in the quantization step of Equations 3 and 4 above.

또한 나눗셈 과정도 쉬프트 연산으로 바꾸어 연산량을 더욱 줄이기 위하여 하기의 수학식 5와 같은 과정을 수행한다.In addition, in order to further reduce the amount of computation by changing the division process to a shift operation, a process as shown in Equation 5 below is performed.

Figure 112007064982101-pat00014
Figure 112007064982101-pat00015
, where
Figure 112007064982101-pat00014
Figure 112007064982101-pat00015
, where

상기 수학식 5에서

Figure 112007064982101-pat00016
는 증배율(multiplication factor)을 나타내며, 상기 수학식 5를 이용하여 나눗셈 연산은 미리 정의된
Figure 112007064982101-pat00017
를 이용하여 나눗셈 연산을 2의 멱승 형태로 바꾸어 쉬프트 연산으로 수행 가능하게 바꾸어주며, 이는 매우 적은 연산량을 포함한다.In Equation 5
Figure 112007064982101-pat00016
Denotes a multiplication factor, and the division operation is previously defined using Equation 5.
Figure 112007064982101-pat00017
By converting the division operation into a power of 2, the conversion is made possible by the shift operation, which includes a very small amount of computation.

Figure 112007064982101-pat00018
Figure 112007064982101-pat00018

상기 수학식 6에서

Figure 112007064982101-pat00019
는 비트스트림으로부터 직접 추출한 DCT 계수를 의미한다. 따라서, 역 양자화된 DCT 계수를 역 이산 여현 변환(Inverse Discrete Cosine Transform) 하기위해서는 상기 수학식 6의
Figure 112007064982101-pat00020
를 연산하여야 한다.In Equation 6
Figure 112007064982101-pat00019
Denotes DCT coefficients extracted directly from the bitstream. Therefore, in order to perform an inverse discrete cosine transform on the inverse quantized DCT coefficients,
Figure 112007064982101-pat00020
Must be calculated.

Figure 112007064982101-pat00021
Figure 112007064982101-pat00021

그러나, 상기 수학식 7과 같은 역 변환식으로부터 발생하는 프리-스케일링(Pre-scaling) 상수

Figure 112007064982101-pat00022
들은 곱셈 및 나눗셈을 포함하고 있기 때문에, 매우 많은 연산량을 가지고 있으며, 이를 완화하기 위해서 상기 수학식 7의 역변환식내의 프리-스케일링 상수인
Figure 112007064982101-pat00023
들은 상기 수학식 6의 역 양자화 과정에 포함시킬 수 있다.However, pre-scaling constants resulting from inverse transform equations such as
Figure 112007064982101-pat00022
Since they contain multiplication and division, they have a very large amount of computation, and in order to alleviate this, the pre-scaling constant in the inverse
Figure 112007064982101-pat00023
Can be included in the inverse quantization process of Equation 6.

여기서, 상기 수학식 7의

Figure 112007064982101-pat00024
는 역 변환 매트릭스를 의미하고,
Figure 112007064982101-pat00025
는 역 양자화 상수를 의미하며,
Figure 112007064982101-pat00026
는 프리-스케일링 파라미터를 의미하고,
Figure 112007064982101-pat00027
는 정 변환 매트릭스를 의미한다.Here, the equation (7)
Figure 112007064982101-pat00024
Means the inverse transformation matrix,
Figure 112007064982101-pat00025
Means an inverse quantization constant,
Figure 112007064982101-pat00026
Means the pre-scaling parameter,
Figure 112007064982101-pat00027
Denotes a positive transformation matrix.

한편, 하기의 수학식 8에서

Figure 112007064982101-pat00028
는 역변환 과정의 프리 스케일링 팩터가 포함된 역 양자화된 DCT 계수들이며, 이러한 식은 여전히 많은 계산량을 포함하고 있다.Meanwhile, in Equation 8 below
Figure 112007064982101-pat00028
Are inverse quantized DCT coefficients with the prescaling factor of the inverse transform process, which still contains a large amount of computation.

Figure 112007064982101-pat00029
Figure 112007064982101-pat00029

그리고, 상기의 수학식 8에서의 연산량을 더욱 줄이기 위하여 H.264/AVC가 최종적으로 사용하는 역 양자화방법을 하기의 수학식 9에 도시하고 있다.In addition, an inverse quantization method finally used by H.264 / AVC in order to further reduce the amount of calculation in Equation 8 is shown in Equation 9 below.

Figure 112007064982101-pat00030
Figure 112007064982101-pat00030

상기 수학식 9에서

Figure 112007064982101-pat00031
는 역 이산 여현 변환 과정에서 프리-스케일링 상수가 포함된 역양자화 계수를 의미하며,
Figure 112007064982101-pat00032
는 영사의 비트스트림으로부터 직접 추출된 이산 여현 변환 상수를 의미하고,
Figure 112007064982101-pat00033
는 재-스케일링 팩터를 의미하며
Figure 112007064982101-pat00034
는 양자화 파라미터(Quantizer Parameter:QP)를 의미한다.In Equation 9
Figure 112007064982101-pat00031
Denotes the inverse quantization coefficient that includes the pre-scaling constant during the inverse discrete cosine transformation,
Figure 112007064982101-pat00032
Denotes the discrete cosine transform constant extracted directly from the projected bitstream,
Figure 112007064982101-pat00033
Means the re-scaling factor
Figure 112007064982101-pat00034
Denotes a quantization parameter (QP).

매트릭스에서 각 성분의 위치에 대한

Figure 112007064982101-pat00035
의 값은 하기의 표 2와 같다.For the position of each component in the matrix
Figure 112007064982101-pat00035
The value of is shown in Table 2 below.

Figure 112007064982101-pat00036
Figure 112007064982101-pat00036

이를 종합적으로 살펴볼 때, 수학식 9에 따른 H.264/AVC 복호화기는 비트스트림으로부터 추출한 DCT 계수들은 미리 정해진 상수와, 비트스트림으로부터 추출한 QP 파라미터 만을 이용하여 역 양자화를 수행한다. 이와 같은 과정에는 곱셈연산들이 2의 멱승으로 표현되어 최종적인 곱셈을 쉬프트 연산으로 해결할 수 있기 때문에 연산량이 매우 적어지게 된다.In general, the H.264 / AVC decoder according to Equation 9 performs inverse quantization using only predetermined constants and QP parameters extracted from the bitstream. In this process, the multiplication operations are expressed as powers of two, so the final multiplication can be solved by the shift operation.

최종적으로 H.264/AVC 복호화기는 역 변환시 상기 수학식 7에서 프리-스케일링 상수부분이 제외되어 있는 코어 트랜스폼(core transform)만 사용하며, 코어 트랜스폼 역시 덧셈과 쉬프트 연산으로 이루어지기 때문에 전체 DCT 계수의 역 변환 연산량은 종래의 MPEG-2보다 매우 작다고 할 수 있다. Finally, the H.264 / AVC decoder uses only a core transform in which the pre-scaling constant is excluded in Equation 7 during inverse transformation, and the core DCT is also composed of addition and shift operations. The inverse transform computation amount of the coefficient can be said to be much smaller than the conventional MPEG-2.

도 4는 본 발명에 적용되는 동영상 프레임의 단위 매크로 블록의 픽셀 데이터를 도시한 것이다.4 illustrates pixel data of a unit macro block of a video frame according to the present invention.

도 4를 참조하면, 본 발명은 상술한 바와 같이 매크로블록을 이루고 있는 각 픽셀의 데이터를 모두 구하지 않고, 간단한 썸네일 영상을 비디오 압축 영역에서 추출한다.Referring to FIG. 4, the present invention extracts a simple thumbnail image from the video compression region without obtaining all the data of each pixel constituting the macroblock as described above.

이와 같이, 비디오의 썸네일을 추출하기 위해서는 기본적으로 도 4에 도시된 바와 같이 하나의 4×4 부호화 블록당 8개의 픽셀 데이터를 연산하여야 한다.As such, in order to extract the thumbnail of the video, as illustrated in FIG. 4, eight pixel data per one 4 × 4 coded block should be calculated.

DCT 계수는 4×4 블록의 평균 밝기값을 나타낸다. 종래의 MPEG-2 기반의 기술에서는 이러한 DCT계수 만을 이용하여 쉽게 비디오 압축 영역에서 썸네일 영상을 만들 수 있었지만, H.264/AVC에서는 상기 도 3에 도시된 바와 같이 현재 부호화 블록과 이웃 블록 들의 경계 화소와의 예측을 수행하기 때문에 DCT 계수만을 이용해서는 썸네일 영상을 추출할 수 없다.The DCT coefficient represents the average brightness value of the 4x4 block. In the conventional MPEG-2 based technology, it is possible to easily create a thumbnail image in the video compression region using only the DCT coefficient. However, in H.264 / AVC, as shown in FIG. 3, the boundary pixel of the current coding block and neighboring blocks. Because the prediction with, the thumbnail image cannot be extracted using only the DCT coefficients.

따라서, H.264/AVC에서는 상기 도 4에 도시된 바와 같이 인트라 예측, 즉 화면 내 예측에 이용되는 계수를 연산하여야 한다.Accordingly, in H.264 / AVC, coefficients used for intra prediction, that is, intra prediction, must be calculated as shown in FIG. 4.

도 4에서 DCT 값이 저장되는 위치에서의

Figure 112007064982101-pat00037
, 그리고
Figure 112007064982101-pat00038
,
Figure 112007064982101-pat00039
,
Figure 112007064982101-pat00040
,
Figure 112007064982101-pat00041
,
Figure 112007064982101-pat00042
,
Figure 112007064982101-pat00043
,
Figure 112007064982101-pat00044
의 픽셀에 해당하는 값을 매크로 블록의 경계 픽셀 값이라고 한다.At the location where the DCT value is stored in FIG.
Figure 112007064982101-pat00037
, And
Figure 112007064982101-pat00038
,
Figure 112007064982101-pat00039
,
Figure 112007064982101-pat00040
,
Figure 112007064982101-pat00041
,
Figure 112007064982101-pat00042
,
Figure 112007064982101-pat00043
,
Figure 112007064982101-pat00044
The value corresponding to the pixel of is called the boundary pixel value of the macro block.

도 5는 본 발명에 적용되는 H.264/AVC에서의 썸네일 영상 추출 방법의 전체적인 개괄도이다.5 is a general overview of a thumbnail image extraction method in H.264 / AVC applied to the present invention.

도 5를 참조하면, 우선 H.264/AVC 비디오 비트스트림으로부터 지그 재그(Zig-Zag) 순으로 양자화된 DCT 계수를 추출한다.Referring to FIG. 5, first, a quantized DCT coefficient is extracted from a H.264 / AVC video bitstream in zigzag order.

지그 재그 순으로 4×4 블록의 양자화된 DCT 계수를 추출한 다음, 역 양자화된 DCT 계수를 추출하고, IDCT 변환된 픽셀 데이터를 생성하고, 마지막으로 4×4 매크로 블록의 휘도를 연산해서 썸네일 영상을 형성한다.Extract quantized DCT coefficients of 4x4 blocks in zigzag order, extract inverse quantized DCT coefficients, generate IDCT-converted pixel data, and finally compute thumbnail images by calculating luminance of 4x4 macroblocks. Form.

도 6는 본 발명의 일 실시예에 따른 H.264/AVC에서의 썸네일 영상 추출 방법의 흐름도이다. 6 is a flowchart of a thumbnail image extraction method in H.264 / AVC according to an embodiment of the present invention.

도 6을 참조하면 우선, H.264/AVC 표준에 따라 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출한다(610 과정).Referring to FIG. 6, first, a quantized DCT coefficient is extracted for each address of a macroblock stored in a bitstream of a compressed video according to the H.264 / AVC standard (step 610).

본 발명은 기존의 MPEG 코덱, 특히 MPEG-2로 압축된 비디오가 아닌, H.264/AVC 표준에 따라 압축된 동영상에 적용된다.The present invention applies to video compressed according to the H.264 / AVC standard, not to video compressed with existing MPEG codecs, especially MPEG-2.

즉, H.264/AVC 표준에 따라 압축된 동영상의 비트스트림은 동영상의 공간영역의 정보뿐만 아니라, 매크로 블록의 주소, 매크로 블록의 타입, DCT 계수 및 매크로 블록의 인트라 예측 정보를 포함하고 있다.That is, the bitstream of a video compressed according to the H.264 / AVC standard includes not only the information of the spatial region of the video but also the address of the macroblock, the type of the macroblock, the DCT coefficient, and the intra prediction information of the macroblock.

따라서, H.264/AVC 표준에 따라 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출한다.Accordingly, the quantized DCT coefficients are extracted for each address of the macro block stored in the bitstream of the compressed video according to the H.264 / AVC standard.

H.264/AVC 표준에 따른 인트라 예측 정보는 4×4 블록 또는 16×16 블록의 단위로 매크로 블록을 형성하므로, 본 발명에서의 매크로 블록의 단위는 4×4 블록 또는 16×16 블록으로 이루어 질 수 있다.Since the intra prediction information according to the H.264 / AVC standard forms a macro block in units of 4 × 4 blocks or 16 × 16 blocks, the macroblock unit according to the present invention consists of 4 × 4 blocks or 16 × 16 blocks. Can lose.

그 다음, 추출된 양자화된 DCT 계수를 이용하여 매크로 블록 내의 픽셀 데이터를 생성한다(620 과정).Next, pixel data in the macro block is generated using the extracted quantized DCT coefficients (operation 620).

이는, 사용자에 의해 미리 설정된 상기 매크로 블록 내의 특정 경계 픽셀 데이터를 생성하는 것 일수 있다.This may be to generate specific boundary pixel data in the macro block preset by the user.

한편, 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계는 상기 추출된 양자화된 DCT 계수를 이용하여 역 양자화를 수행하는 단계, 및 상기 역 양자화된 DCT 계수를 역 이산 여현 변환하여 상기 매크로 블록 내의 경계 픽셀 데이터를 생성하는 단계를 포함하는 것일 수 있다.In the generating of the pixel data in the macro block, inverse quantization is performed using the extracted quantized DCT coefficients, and inverse discrete cosine transforming the inverse quantized DCT coefficients to perform boundary pixel data in the macro block. It may be to include the step of generating.

상기 620 과정에 대해서는 이미 전술한 바와 같으므로 중복된 상술은 피하기로 한다. Since the process 620 is as described above, overlapping descriptions will be avoided.

본 발명에서는 매크로 블록 내의 픽셀 데이터를 생성하는 데 있어서 매크로 블록 내의 모든 픽셀 데이터를 구하는 것이 아니라 특정 경계 픽셀 데이터의 값을 구하여 인트라 예측 모드에 의해 매크로 블록 내의 휘도 값을 구하는 것을 특징으로 할 수 있다.In the present invention, when generating pixel data in a macro block, not all pixel data in the macro block is calculated, but a value of a specific boundary pixel data is obtained to obtain a luminance value in the macro block by an intra prediction mode.

따라서, 본 발명에서는 상기 도 4에 도시된 매크로 블록에서 특정 경계 픽셀 데이터만을 구하여 썸네일 영상을 추출한다.Therefore, in the present invention, a thumbnail image is extracted by obtaining only specific boundary pixel data from the macroblock shown in FIG.

상기 매크로 블록에서 특정 경계 픽셀은 도 4에서 DCT 값이 저장되는 위치에서의

Figure 112007064982101-pat00045
,
Figure 112007064982101-pat00046
,
Figure 112007064982101-pat00047
,
Figure 112007064982101-pat00048
,
Figure 112007064982101-pat00049
,
Figure 112007064982101-pat00050
,
Figure 112007064982101-pat00051
,
Figure 112007064982101-pat00052
의 픽셀에 해당하는 것 일 수 있다.The particular boundary pixel in the macroblock is located at the location where the DCT value is stored in FIG.
Figure 112007064982101-pat00045
,
Figure 112007064982101-pat00046
,
Figure 112007064982101-pat00047
,
Figure 112007064982101-pat00048
,
Figure 112007064982101-pat00049
,
Figure 112007064982101-pat00050
,
Figure 112007064982101-pat00051
,
Figure 112007064982101-pat00052
It may correspond to the pixel of.

따라서, 상기와 같이 매크로 블록의 전체 픽셀 값을 구하는 것이 아니라 DCT계수 값과 상기 8개의 특정 경계 픽셀 데이터를 구하고, 이를 이용하여 인트라 예측을 수행함으로써, 매크로 블록 내의 휘도 값을 연산하는 연산량을 줄여서 신속한 썸네일 영상을 얻을 수 있다.Therefore, instead of obtaining the total pixel value of the macro block as described above, the DCT coefficient value and the eight specific boundary pixel data are obtained, and intra prediction is performed using the same, thereby reducing the amount of computation for calculating the luminance value in the macro block. You can get a thumbnail image.

그 다음, 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택한다(630 과정).In operation 630, the intra prediction mode for each address of the macroblock in which the pixel data is generated is selected according to the intra prediction mode information stored in the bitstream of the video.

본 발명에 따른, H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림은 동영상의 공간 영역 정보 뿐만 아니라, 각 매크로 블록의 휘도 값을 연산하기 위한 인트라 예측 모드 정보가 저장되어 있다. In the bitstream of a video compressed according to the H.264 / AVC standard according to the present invention, not only the spatial domain information of the video but also the intra prediction mode information for calculating the luminance value of each macro block are stored.

상기 인트라 예측 모드 정보는 상술한 도 3에 따른 인트라 예측 모드 중 특정 모드가 저장된다.The intra prediction mode information stores a specific mode among the intra prediction modes according to FIG. 3.

즉, 각 매크로 블록의 휘도 값을 구하는데 있어서, 각 매크로 블록에 인트라 예측을 수행하여야 하는데, 이를 위한 인트라 예측 모드가 H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장되어 전송된다.That is, in obtaining the luminance value of each macro block, intra prediction should be performed on each macro block. An intra prediction mode for this is stored in a bitstream of a video compressed by the H.264 / AVC standard and transmitted.

따라서, 상기 압축된 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 매크로 블록의 휘도 값을 연산하게 된다.Therefore, the luminance value of the macro block is calculated according to the intra prediction mode information stored in the bitstream of the compressed video.

그 다음, 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산한다(640 과정).In operation 640, the luminance value of the macro block is calculated using boundary pixel data of a neighboring macro block surrounding the macro block according to the selected intra prediction mode.

상기 매크로 블록의 휘도 값을 구하기 위하여 상기 선택된 인트라 예측 모드에 따라 휘도 값의 연산식을 선택하고, 상기 휘도 값의 연산식에 따라 상기 매크로 블록의 휘도 값을 연산한다.In order to obtain the luminance value of the macro block, an expression of a luminance value is selected according to the selected intra prediction mode, and the luminance value of the macro block is calculated according to the expression of the luminance value.

여기서, 상기 휘도 값의 연산식은 인트라 예측 모드에 따라 데이터베이스화 되어 저장되며, 상기 인트라 예측 모드가 선택되면, 선택된 인트라 예측 모드에 따라 데이터베이스화된 휘도 값의 연산식을 선택하고, 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 선택된 휘도 값의 연산식에 따라 상기 매크로 블록의 휘도 값을 연산한다.Herein, the expression of the luminance value is databased and stored according to the intra prediction mode. When the intra prediction mode is selected, the expression of the databased luminance value is selected according to the selected intra prediction mode and surrounds the macro block. The luminance value of the macroblock is computed using the boundary pixel data of the neighboring macroblock.

여기서, 주변 매크로 블록의 경계 픽셀 데이터는 앞서 상술한 도 4의 특정 경계 픽셀 데이터 값을 의미한다.Here, the boundary pixel data of the neighboring macroblock means the specific boundary pixel data value of FIG. 4 described above.

마지막으로, 상기 연산된 매크로 블록의 휘도에 따라 상기 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성한다(650 과정).Finally, a thumbnail image of a specific video frame from which the DCT coefficient is extracted is generated according to the luminance of the macroblock (step 650).

이와 같이 특정 경계 픽셀 데이터와 인트라 예측 모드 및 이에 따른 휘도 값 연산식에 의해 매크로 블록의 휘도 값이 연산되면 이를 종합하여 특정 동영상 프레임의 썸네일 영상을 생성하고, 이를 기반으로 영상 검색 및 비디오 분석의 기초자료로 활용할 수 있게 된다.As described above, when the luminance value of the macro block is calculated by using the specific boundary pixel data, the intra prediction mode, and the luminance value calculation equation, a thumbnail image of the specific video frame is synthesized, and based on this, the basis of image search and video analysis is performed. Can be used as a resource.

도 7은 본 발명의 다른 실시예에 따른 H.264/AVC에서의 썸네일 영상 추출 방법의 흐름도이다.7 is a flowchart of a method of extracting a thumbnail image in H.264 / AVC according to another embodiment of the present invention.

우선, H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 제 1 DCT 계수를 추출한다(710 과정).First, a quantized first DCT coefficient is extracted for each address of a macroblock stored in a bitstream of a video compressed by the H.264 / AVC standard (step 710).

여기서, 본 발명의 다른 실시예에 의하면, 인트라 예측을 이용한 보상의 연산량을 최대로 줄이기 위하여 각 블록의 경계 픽셀 값을 모두 연산하지 않고, 해당 매크로 블록의 특정 경계 픽셀값을 제 1 DCT 값으로 대체하는 것이다.According to another embodiment of the present invention, in order to reduce the amount of calculation of the compensation using intra prediction to the maximum, instead of calculating all boundary pixel values of each block, the specific boundary pixel value of the corresponding macroblock is replaced with the first DCT value. It is.

한편, 상기 제 1 DCT 값은 상기 도 4를 참조하면, 상기 매크로 블록 내의 최상단에 위치한 좌측 경계 픽셀의 DCT 계수인

Figure 112007064982101-pat00053
의 값으로 할 수 있다.Meanwhile, referring to FIG. 4, the first DCT value is a DCT coefficient of the left boundary pixel located at the top of the macro block.
Figure 112007064982101-pat00053
Can be set to

마찬가지로, H.264/AVC 표준에 따른 인트라 예측 정보는 4×4 블록 또는 16×16 블록의 단위로 매크로 블록을 형성하므로, 본 발명에서의 매크로 블록의 단위는 4×4 블록 또는 16×16 블록으로 이루어질 수 있다.Similarly, since the intra prediction information according to the H.264 / AVC standard forms a macroblock in units of 4x4 blocks or 16x16 blocks, the macroblock units in the present invention are 4x4 blocks or 16x16 blocks. Can be made.

그 다음, 상기 추출된 양자화된 제 1 DCT 계수를 이용하여 사용자에 의해 미리 설정된 상기 매크로 블록 내의 특정 경계 픽셀 데이터를 상기 제 1 DCT 계수로 대체하고(720 과정), 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택한다(730 과정).Then, using the extracted quantized first DCT coefficients, the specific boundary pixel data in the macro block preset by the user is replaced with the first DCT coefficients (step 720), and the intra stored in the bitstream of the video. In operation 730, an intra prediction mode for each address of the macroblock in which the pixel data is generated is selected according to prediction mode information.

그런 다음, 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산한다(740 과정).In operation 740, the luminance value of the macroblock is calculated using boundary pixel data of a neighboring macroblock surrounding the macroblock according to the selected intra prediction mode.

상기 매크로 블록의 휘도 값을 구하기 위하여 상기 선택된 인트라 예측 모드에 따라 휘도 값의 연산식을 선택하고, 상기 휘도 값의 연산식에 따라 상기 매크로 블록의 휘도 값을 연산한다.In order to obtain the luminance value of the macro block, an expression of a luminance value is selected according to the selected intra prediction mode, and the luminance value of the macro block is calculated according to the expression of the luminance value.

여기서, 상기 휘도 값의 연산식은 인트라 예측 모드에 따라 데이터베이스화 되어 저장되며, 상기 인트라 예측 모드가 선택되면, 선택된 인트라 예측 모드에 따라 데이터베이스화된 휘도 값의 연산식을 선택하고, 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 선택된 휘도 값의 연산식에 따라 상기 매크로 블록의 휘도 값을 연산한다.Herein, the expression of the luminance value is databased and stored according to the intra prediction mode. When the intra prediction mode is selected, the expression of the databased luminance value is selected according to the selected intra prediction mode and surrounds the macro block. The luminance value of the macroblock is computed using the boundary pixel data of the neighboring macroblock.

여기서, 주변 매크로 블록의 경계 픽셀 데이터는 앞서 상술한 도 4의 특정 경계 픽셀 데이터 값을 의미한다.Here, the boundary pixel data of the neighboring macroblock means the specific boundary pixel data value of FIG. 4 described above.

마지막으로, 상기 연산된 매크로 블록의 휘도에 따라 상기 제 1 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성한다(750 과정).Finally, in operation 750, a thumbnail image of a specific video frame from which the first DCT coefficient is extracted is generated according to the luminance of the macroblock.

도 8a 내지 도 8i는 본 발명에 적용되는 매크로 블록의 인트라 예측 모드에 따른 각 픽셀 별 픽셀 보상 관계식을 도시한 것이다.8A to 8I illustrate a pixel compensation relation for each pixel according to an intra prediction mode of a macroblock according to the present invention.

도 8a를 참조하면, 도 8a의 매크로 블록의 각 픽셀의 픽셀 값은 상기 매크로 블록과 접하는 상단의 매크로 블록의 경계 픽셀 값으로 대체된다.Referring to FIG. 8A, the pixel value of each pixel of the macro block of FIG. 8A is replaced with the boundary pixel value of the upper macro block in contact with the macro block.

즉, 구하고자 하는 매크로 블록에서 열 단위로 상단 매크로 블록의 픽셀 값으로 대체할 수 있다. 이와 같이 주변의 매크로 블록의 픽셀 값으로 본 매크로 블록의 픽셀 값을 대체할 수 있는 이유는, 동영상 프레임에서 인접한 매크로 블록 사이에는 픽셀 값의 차이가 미약하므로, 이를 이용하여 주변의 매크로 블록의 픽셀 값으로 본 매크로 블록의 픽셀 값을 대체할 수 있는 것이다.That is, in the macro block to be obtained, the pixel value of the upper macro block may be replaced in units of columns. The reason why the pixel value of the macroblock can be replaced by the pixel value of the surrounding macroblock is that the difference in pixel values between adjacent macroblocks in the video frame is weak. This can replace the pixel values of the macro block.

도 8b를 참조하면, 도 8b의 매크로 블록의 각 픽셀의 픽셀 값은 상기 매크로 블록과 접하는 좌측의 매크로 블록의 경계 픽셀 값으로 대체된다.Referring to FIG. 8B, the pixel value of each pixel of the macro block of FIG. 8B is replaced with the boundary pixel value of the macro block on the left side which contacts the macro block.

도 8c를 참조하면, 도 8c의 매크로 블록의 각 픽셀의 픽셀 값은 상기 매크로 블록과 접하는 상단 및 좌측의 매크로 블록의 경계 픽셀 값의 평균값으로 대체할 수 이 있다.Referring to FIG. 8C, a pixel value of each pixel of the macroblock of FIG. 8C may be replaced with an average value of boundary pixel values of upper and left macroblocks contacting the macroblock.

도 8d 내지 도 8i를 참조하면, 각 예측 모드에 따라 상기 도 8d 내지 도 8i의 매크로 블록의 각 픽셀의 픽셀 값은 도면에 도시된 픽셀 보상 관계식에 의해 연산된다. 상기 도시된 인트라 예측 모드에 따른 픽셀 보상 관계식은 이미 표준화되어 있으므로 표준화된 픽셀 보상 관계식을 저장하여, 이에 따라 본 매크로 블록의 픽셀 값을 연산하게 된다.8D to 8I, pixel values of each pixel of the macroblock of FIGS. 8D to 8I are calculated according to the pixel compensation relation shown in the drawing according to each prediction mode. Since the pixel compensation relation according to the illustrated intra prediction mode is already standardized, the normalized pixel compensation relation is stored, and the pixel value of the macro block is calculated accordingly.

상기 도 8a 내지 도 8i에 따른 픽셀 보상 관계식은 매크로 블록, 특히 4×4 블록의 픽셀 값 전체를 구하는 것으로 , 본 발명에서는 전체 픽셀 값을 구하는 것이 아닌 매크로 블록의 특정 경계 픽셀을 해당 블록의 DCT 값으로 치환하여 연산량을 최소화 시킨다.The pixel compensation relation according to FIGS. 8A to 8I is to obtain the entire pixel value of a macro block, particularly a 4x4 block. Replace with to minimize the amount of computation.

도 9a는 도 8d의 픽셀 보상 관계식을 적용한 본 발명의 휘도 값 연산식을 구하는 과정을 도시한 것이다.FIG. 9A illustrates a process of obtaining a luminance value equation of the present invention to which the pixel compensation relation of FIG. 8D is applied.

하기에 상술된 본 매크로 블록의 휘도 값을 연산하는 과정에서 경계 픽셀 성분의 DCT 값을 이용하는 것으로 상술하였으나, 경계 픽셀 성분의 DCT 값이 아닌 경계 픽셀 성분의 픽셀 값을 이용하여 본 매크로 블록의 휘도 값을 연산할 수 있고, 이는 하기에 상술된 매크로 블록의 휘도 값 연산과정과 동일하다.Although the DCT value of the boundary pixel component is used in the process of calculating the luminance value of the present macroblock described above, the luminance value of the macroblock using the pixel value of the boundary pixel component rather than the DCT value of the boundary pixel component. Can be calculated, which is the same as the luminance value calculation process of the macro block described above.

설명의 편의를 위하여 본 매크로 블록의 휘도 값을 연산하는 과정에서 경계 픽셀 성분의 DCT 값을 이용하는 방법을 기준으로 하여 상술하기로 한다.For convenience of description, the method of using the DCT value of the boundary pixel component in the process of calculating the luminance value of the macroblock will be described in detail.

도 9a에 따르면, 인트라 예측 모드3에 따라

Figure 112007064982101-pat00054
,
Figure 112007064982101-pat00055
,
Figure 112007064982101-pat00056
,
Figure 112007064982101-pat00057
는 윗 블록의 경계 픽셀 성분의 DCT 값을 나타내며,
Figure 112007064982101-pat00058
,
Figure 112007064982101-pat00059
,
Figure 112007064982101-pat00060
,
Figure 112007064982101-pat00061
는 윗 우측블록의 경계 픽셀 성분의 DCT 값을 나타낸다.According to FIG. 9A, according to intra prediction mode 3
Figure 112007064982101-pat00054
,
Figure 112007064982101-pat00055
,
Figure 112007064982101-pat00056
,
Figure 112007064982101-pat00057
Denotes the DCT value of the boundary pixel component of the upper block,
Figure 112007064982101-pat00058
,
Figure 112007064982101-pat00059
,
Figure 112007064982101-pat00060
,
Figure 112007064982101-pat00061
Denotes the DCT value of the boundary pixel component of the upper right block.

상기 경계 픽셀의 DCT 값과, 도 8d에 도시된 픽셀 보상 관계식을 적용하여 본 매크로 블록의 휘도 값을 연산하게 된다.The luminance value of the macroblock is calculated by applying the DCT value of the boundary pixel and the pixel compensation relation shown in FIG. 8D.

상세히 살펴보면, 본 발명에 따른 도 9a에 도시된 매크로 블록에서

Figure 112007064982101-pat00062
은 1개 존재하고, 이를 픽셀 보상 관계식에 대비하면, 상단 매크로 블록에 존재하는 픽셀에 있어서, 픽셀 보상 관계식의
Figure 112007064982101-pat00063
성분이 1개,
Figure 112007064982101-pat00064
성분이 1개,
Figure 112007064982101-pat00065
성분이 1개,
Figure 112007064982101-pat00066
성분이 1개 존재한다.Looking in detail, in the macro block shown in Figure 9a according to the present invention
Figure 112007064982101-pat00062
Is one, and in contrast to the pixel compensation relation, for pixels present in the upper macro block, the pixel compensation relation
Figure 112007064982101-pat00063
1 ingredient,
Figure 112007064982101-pat00064
1 ingredient,
Figure 112007064982101-pat00065
1 ingredient,
Figure 112007064982101-pat00066
There is one component.

마찬가지로,

Figure 112007064982101-pat00067
는 본 매크로 블록에서 2개 존재하고, 이를 픽셀 보상 관계식에 대비하면, 상단 매크로 블록에 존재하는 픽셀에 있어서, 픽셀 보상 관계식의
Figure 112007064982101-pat00068
성분이 1개,
Figure 112007064982101-pat00069
성분이 2개,
Figure 112007064982101-pat00070
성분이 1개 존재하여
Figure 112007064982101-pat00071
는 본 매크로 블록에서 2개 존재하므로 이를 곱하여 총 8개의 성분이 존재하게 된다.Likewise,
Figure 112007064982101-pat00067
Are two in this macroblock, and in contrast to the pixel compensation relation, for pixels present in the upper macroblock,
Figure 112007064982101-pat00068
1 ingredient,
Figure 112007064982101-pat00069
2 ingredients,
Figure 112007064982101-pat00070
There is 1 ingredient
Figure 112007064982101-pat00071
Since there are two in this macroblock, there are eight components by multiplying them.

마찬가지로, 상술한 바와 동일하게 연산하면, 본 매크로 블록의 휘도 값 연산에 사용되는 성분 값은 64개가 되며, 상단 블록의 성분은 25개 존재하고, 상단 우측 블록의 성분은 39개 존재하므로 이에 각 매크로 블록의 대표 DCT 값을 곱하여 평균값을 취하면, 본 매크로 블록의 휘도 값이 생성된다.Similarly, the same operation as described above results in 64 component values used for the luminance value calculation of the present macroblock, 25 components of the upper block, and 39 components of the upper right block. When the average value is multiplied by the representative DCT value of the block, the luminance value of the present macro block is generated.

도 9b는 도 8e의 픽셀 보상 관계식을 적용한 본 발명의 휘도 값 연산식을 구하는 과정을 도시한 것이다.FIG. 9B illustrates a process of obtaining a luminance value equation of the present invention to which the pixel compensation relation of FIG. 8E is applied.

도 9b에 따르면, 인트라 예측 모드 4에 따라

Figure 112007064982101-pat00072
,
Figure 112007064982101-pat00073
,
Figure 112007064982101-pat00074
,
Figure 112007064982101-pat00075
는 윗 블록의 경계 픽셀의 DCT 값을 나타내며,
Figure 112007064982101-pat00076
,
Figure 112007064982101-pat00077
,
Figure 112007064982101-pat00078
,
Figure 112007064982101-pat00079
은 좌측블록의 경계 픽셀의 DC 값을 나타내고,
Figure 112007064982101-pat00080
는 상단 좌측 블록의 경계 픽셀의 DC 값을 나타낸다.According to FIG. 9B, according to intra prediction mode 4
Figure 112007064982101-pat00072
,
Figure 112007064982101-pat00073
,
Figure 112007064982101-pat00074
,
Figure 112007064982101-pat00075
Denotes the DCT value of the boundary pixel of the upper block,
Figure 112007064982101-pat00076
,
Figure 112007064982101-pat00077
,
Figure 112007064982101-pat00078
,
Figure 112007064982101-pat00079
Denotes the DC value of the boundary pixel of the left block,
Figure 112007064982101-pat00080
Denotes the DC value of the boundary pixel of the upper left block.

상기 경계 픽셀의 DCT 값과, 도 8e에 도시된 픽셀 보상 관계식을 적용하여 본 매크로 블록의 휘도 값을 연산하게 된다.The luminance value of the macroblock is calculated by applying the DCT value of the boundary pixel and the pixel compensation relation shown in FIG. 8E.

마찬가지로, 상술한 바와 동일하게 연산하면, 본 매크로 블록의 휘도 값 연산에 사용되는 성분 값은 61개가 되며, 상단 블록의 성분은 25개 존재하고, 상단 좌측 블록의 성분은 14개 존재하며, 좌측 블록의 성분은 22개 존재하므로 이에 각 매크로 블록의 대표 DCT 값을 곱하여 평균값을 취하면, 도 8b에 도시된 바와 같이 본 매크로 블록의 휘도 값이 생성된다.Similarly, the same operation as described above results in 61 component values used in the luminance value calculation of the present macroblock, 25 components in the upper block, 14 components in the upper left block, and left block. Since there are 22 components, the average value is multiplied by the representative DCT value of each macro block to generate the luminance value of the macro block as shown in FIG. 8B.

도 10은 본 발명에 따른 H.264/AVC 압축 영역에서의 썸네일 영상 추출 장치의 블록도를 도시한 것이다.10 is a block diagram of an apparatus for extracting a thumbnail image in an H.264 / AVC compressed region according to the present invention.

도 10을 참조하면, 본 발명에 따른 H.264/AVC 압축 영역에서의 썸네일 영상 추출 장치는 DCT 계수 추출부(1010), 픽셀 데이터 생성부(1020), 인트라 예측 모드 선택부(1030), 연산부(1040) 및 썸네일 영상 생성부(1050)으로 구성될 수 있다.Referring to FIG. 10, the apparatus for extracting a thumbnail image in the H.264 / AVC compressed region according to the present invention includes a DCT coefficient extractor 1010, a pixel data generator 1020, an intra prediction mode selector 1030, and an operation unit. 1040 and the thumbnail image generator 1050.

H.264/AVC 압축 영역에서의 썸네일 영상 추출 장치는 DCT 계수 추출부(1010)는 H.264/AVC 표준에 따라 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출한다. In the H.264 / AVC compression region, the thumbnail image extracting apparatus in the DCT coefficient extractor 1010 extracts the quantized DCT coefficients for each macro block address stored in the bitstream of the compressed video according to the H.264 / AVC standard. .

즉, H.264/AVC 표준에 따라 압축된 동영상의 비트스트림은 동영상의 공간영역의 정보뿐만 아니라, 매크로 블록의 주소, 매크로 블록의 타입, DCT 계수 및 매크로 블록의 인트라 예측 정보를 포함하고 있다.That is, the bitstream of a video compressed according to the H.264 / AVC standard includes not only the information of the spatial region of the video but also the address of the macroblock, the type of the macroblock, the DCT coefficient, and the intra prediction information of the macroblock.

따라서, H.264/AVC 표준에 따라 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 DCT 계수 추출부(1010)에서 양자화된 DCT 계수를 추출한다.Accordingly, the DCT coefficient extractor 1010 extracts the quantized DCT coefficients according to addresses of macro blocks stored in the bitstream of the compressed video according to the H.264 / AVC standard.

H.264/AVC 표준에 따른 인트라 예측 정보는 4×4 블록 또는 16×16 블록의 단위로 매크로 블록을 형성하므로, 본 발명에서의 매크로 블록의 단위는 4×4 블록 또는 16×16 블록으로 이루어질 수 있다.Since the intra prediction information according to the H.264 / AVC standard forms a macroblock in units of 4 × 4 blocks or 16 × 16 blocks, the macroblock units in the present invention consist of 4 × 4 blocks or 16 × 16 blocks. Can be.

픽셀 데이터 생성부(1020)는, 추출된 양자화된 DCT 계수를 이용하여 매크로 블록 내의 픽셀 데이터를 생성한다.The pixel data generator 1020 generates pixel data in the macro block by using the extracted quantized DCT coefficients.

이는, 사용자에 의해 미리 설정된 상기 매크로 블록 내의 특정 경계 픽셀 데이터를 생성하는 것 일수 있다.This may be to generate specific boundary pixel data in the macro block preset by the user.

한편, 픽셀 데이터 생성부(1020)는 상기 추출된 양자화된 DCT 계수를 이용하여 역 양자화를 수행하는 역 양자화부(1021), 및 상기 역 양자화부(1020)에서 역 양자화된 DCT 계수를 역 이산 여현 변환하여 상기 매크로 블록 내의 경계 픽셀 데이터를 생성하는 경계 픽셀 데이터 생성부(1022)를 포함하는 것일 수 있다.Meanwhile, the pixel data generator 1020 performs an inverse discrete cosine of the inverse quantization unit 1021 that performs inverse quantization using the extracted quantized DCT coefficients, and the inverse quantized DCT coefficients of the inverse quantization unit 1020. It may include a boundary pixel data generation unit 1022 for converting to generate the boundary pixel data in the macro block.

본 발명에서는 매크로 블록 내의 픽셀 데이터를 생성하는 데 있어서 매크로 블록 내의 모든 픽셀 데이터를 구하는 것이 아니라 특정 경계 픽셀 데이터의 값을 구하여 인트라 예측 모드에 의해 매크로 블록 내의 휘도 값을 구하는 것을 특징으로 할 수 있다.In the present invention, when generating pixel data in a macro block, not all pixel data in the macro block is calculated, but a value of a specific boundary pixel data is obtained to obtain a luminance value in the macro block by an intra prediction mode.

따라서, 본 발명에서는 상기 도 4에 도시된 매크로 블록에서 특정 경계 픽셀 데이터만을 구하여 썸네일 영상을 추출한다.Therefore, in the present invention, a thumbnail image is extracted by obtaining only specific boundary pixel data from the macroblock shown in FIG.

상기 매크로 블록에서 특정 경계 픽셀은 도 4에서 DCT 값이 저장되는 위치에서의

Figure 112007064982101-pat00081
,
Figure 112007064982101-pat00082
,
Figure 112007064982101-pat00083
,
Figure 112007064982101-pat00084
,
Figure 112007064982101-pat00085
,
Figure 112007064982101-pat00086
,
Figure 112007064982101-pat00087
,
Figure 112007064982101-pat00088
의 픽셀에 해당하는 것 일 수 있다.The particular boundary pixel in the macroblock is located at the location where the DCT value is stored in FIG.
Figure 112007064982101-pat00081
,
Figure 112007064982101-pat00082
,
Figure 112007064982101-pat00083
,
Figure 112007064982101-pat00084
,
Figure 112007064982101-pat00085
,
Figure 112007064982101-pat00086
,
Figure 112007064982101-pat00087
,
Figure 112007064982101-pat00088
It may correspond to the pixel of.

따라서, 상기와 같이 매크로 블록의 전체 픽셀 값을 구하는 것이 아니라 DCT계수 값과 상기 8개의 특정 경계 픽셀 데이터를 구하고, 이를 이용하여 인트라 예측을 수행함으로써, 매크로 블록 내의 휘도 값을 연산하는 연산량을 줄여서 신속한 썸네일 영상을 얻을 수 있다.Therefore, instead of obtaining the total pixel value of the macro block as described above, the DCT coefficient value and the eight specific boundary pixel data are obtained, and intra prediction is performed using the same, thereby reducing the amount of computation for calculating the luminance value in the macro block. You can get a thumbnail image.

상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택한다.The intra prediction mode for each address of the macroblock in which the pixel data is generated is selected according to the intra prediction mode information stored in the bitstream of the video.

본 발명에 따른, H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림은 동영상의 공간 영역 정보 뿐만 아니라, 각 매크로 블록의 휘도 값을 연산하기 위한 인트라 예측 모드 정보가 저장되어 있다. In the bitstream of a video compressed according to the H.264 / AVC standard according to the present invention, not only the spatial domain information of the video but also the intra prediction mode information for calculating the luminance value of each macro block are stored.

상기 인트라 예측 모드 정보는 상술한 도 3에 따른 인트라 예측 모드 중 특정 모드가 저장된다.The intra prediction mode information stores a specific mode among the intra prediction modes according to FIG. 3.

즉, 각 매크로 블록의 휘도 값을 구하는데 있어서, 각 매크로 블록에 인트라 예측을 수행하여야 하는데, 이를 위한 인트라 예측 모드가 H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장되어 전송된다.That is, in obtaining the luminance value of each macro block, intra prediction should be performed on each macro block. An intra prediction mode for this is stored in a bitstream of a video compressed by the H.264 / AVC standard and transmitted.

따라서, 상기 압축된 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 매크로 블록의 휘도 값을 연산하게 된다.Therefore, the luminance value of the macro block is calculated according to the intra prediction mode information stored in the bitstream of the compressed video.

인트라 예측 모드 선택부(1030), 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택한다.An intra prediction mode selector 1030 selects an intra prediction mode for each address of the macroblock in which the pixel data is generated according to the intra prediction mode information stored in the bitstream of the video.

그러면, 연산부(1040)는 상기 인트라 예측 모드 선택부(1030)에서 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산한다.Then, the calculator 1040 calculates a luminance value of the macro block using boundary pixel data of a neighboring macro block surrounding the macro block according to the intra prediction mode selected by the intra prediction mode selector 1030.

상기 매크로 블록의 휘도 값을 구하기 위하여 상기 선택된 인트라 예측 모드에 따라 휘도 값의 연산식을 선택하고, 상기 휘도 값의 연산식에 따라 상기 매크로 블록의 휘도 값을 연산한다.In order to obtain the luminance value of the macro block, an expression of a luminance value is selected according to the selected intra prediction mode, and the luminance value of the macro block is calculated according to the expression of the luminance value.

여기서, 상기 휘도 값의 연산식은 인트라 예측 모드에 따라 데이터베이스화 되어 데이터 베이스 모듈(미도시)에 저장될 수 있으며, 상기 인트라 예측 모드가 선택되면, 선택된 인트라 예측 모드에 따라 데이터 베이스 모듈(미도시)에 저장된 휘도 값의 연산식을 선택하고, 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 데이터 베이스 모듈(미도시)에서 상기 선택된 휘도 값의 연산식에 따라 상기 매크로 블록의 휘도 값을 연산할 수 있다.Here, the expression of the luminance value may be databased according to an intra prediction mode and stored in a database module (not shown). When the intra prediction mode is selected, a database module (not shown) according to the selected intra prediction mode is selected. Selects an expression of a luminance value stored in the macroblock, and uses a boundary pixel data of a neighboring macroblock surrounding the macroblock in accordance with an expression of the selected luminance value in a database module (not shown). Can be calculated.

여기서, 주변 매크로 블록의 경계 픽셀 데이터는 앞서 상술한 도 4의 특정 경계 픽셀 데이터 값을 의미한다.Here, the boundary pixel data of the neighboring macroblock means the specific boundary pixel data value of FIG. 4 described above.

그러면, 썸네일 영상 생성부(1050)에서 상기 연산된 매크로 블록의 휘도에 따라 상기 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성한다.Then, the thumbnail image generator 1050 generates a thumbnail image of a specific video frame from which the DCT coefficient is extracted according to the calculated luminance of the macroblock.

이와 같이 특정 경계 픽셀 데이터와 인트라 예측 모드 및 이에 따른 휘도 값 연산식에 의해 매크로 블록의 휘도 값이 연산되면 이를 종합하여 특정 동영상 프레임의 썸네일 영상을 생성하고, 이를 기반으로 영상 검색 및 비디오 분석의 기초자료로 활용할 수 있게 된다.As described above, when the luminance value of the macro block is calculated by using the specific boundary pixel data, the intra prediction mode, and the luminance value calculation equation, a thumbnail image of the specific video frame is synthesized, and based on this, the basis of image search and video analysis is performed. Can be used as a resource.

본 발명은 소프트웨어를 통해 실행될 수 있다. 소프트웨어로 실행될 때, 본 발명의 구성 수단들은 필요한 작업을 실행하는 코드 세그먼트들이다. 프로그램 또는 코드 세그먼트들은 프로세서 판독 가능 매체에 저장되거나 전송 매체 또는 통신망에서 반송파와 결합된 컴퓨터 데이터 신호에 의하여 전송될 수 있다.The invention can be implemented via software. When implemented in software, the constituent means of the present invention are code segments that perform the necessary work. The program or code segments may be stored on a processor readable medium or transmitted by a computer data signal coupled with a carrier on a transmission medium or network.

컴퓨터가 읽을 수 있는 기록매체는 컴퓨터 시스템에 의하여 읽혀질 수 있는 테이터가 저장되는 모든 종류의 기록 장치를 포함한다. 컴퓨터가 읽을 수 있는 기록 장치의 예로는 ROM, RAM, CD-ROM, DVD±ROM, DVD-RAM, 자기 테이프, 플로피 디스크, 하드 디스크(hard disk), 광데이터 저장장치 등이 있다. 또한, 컴퓨터가 읽을 수 있는 기록매체는 네트워크로 연결된 컴퓨터 장치에 분산되어 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다.The computer-readable recording medium includes all kinds of recording devices in which data is stored which can be read by a computer system. Examples of computer-readable recording devices include ROM, RAM, CD-ROM, DVD ± ROM, DVD-RAM, magnetic tape, floppy disks, hard disks, optical data storage devices, and the like. The computer readable recording medium can also be distributed over network coupled computer devices so that the computer readable code is stored and executed in a distributed fashion.

본 발명은 도면에 도시된 일 실시예를 참고로 하여 설명하였으나 이는 예시적인 것에 불과하며 당해 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 실시예의 변형이 가능하다는 점을 이해할 것이다. 그러나, 이와 같은 변형은 본 발명의 기술적 보호범위내에 있다고 보아야 한다. 따라서, 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해서 정해져야 할 것이다.Although the present invention has been described with reference to one embodiment shown in the drawings, this is merely exemplary and will be understood by those of ordinary skill in the art that various modifications and variations can be made therefrom. However, such modifications should be considered to be within the technical protection scope of the present invention. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

도 1은 본 발명에 적용되는 H.264/AVC 비디오 비트스트림으로부터 썸네일 영상을 추출하는 개괄도를 도시한 것이다.1 is a schematic diagram of extracting a thumbnail image from an H.264 / AVC video bitstream applied to the present invention.

도 2는 H.264/AVC 부호화기의 구조를 도시한 것이다.2 shows the structure of an H.264 / AVC encoder.

도 3은 H.264/AVC에서 사용하는 인트라 예측(Intra Prediction)을 나타낸다.3 shows Intra Prediction used in H.264 / AVC.

도 4는 본 발명에 적용되는 동영상 프레임의 단위 매크로 블록의 픽셀 데이터를 도시한 것이다.4 illustrates pixel data of a unit macro block of a video frame according to the present invention.

도 5는 본 발명에 적용되는 H.264/AVC에서의 썸네일 영상 추출 방법의 전체적인 개괄도이다.5 is a general overview of a thumbnail image extraction method in H.264 / AVC applied to the present invention.

도 6은 본 발명의 일 실시예에 따른 H.264/AVC에서의 썸네일 영상의 고속 추출 방법의 흐름도이다. 6 is a flowchart of a fast extraction method of a thumbnail image in H.264 / AVC according to an embodiment of the present invention.

도 7은 본 발명의 다른 실시예에 따른 H.264/AVC에서의 썸네일 영상의 고속 추출 방법의 흐름도이다.7 is a flowchart illustrating a fast extraction method of a thumbnail image in H.264 / AVC according to another embodiment of the present invention.

도 8a 내지 도 8i는 본 발명에 적용되는 매크로 블록의 인트라 예측 모드에 따른 각 픽셀 별 픽셀 보상 관계식을 도시한 것이다.8A to 8I illustrate a pixel compensation relation for each pixel according to an intra prediction mode of a macroblock according to the present invention.

도 9a는 도 8d의 픽셀 보상 관계식을 적용한 본 발명의 휘도 값 연산식을 구하는 과정을 도시한 것이다.FIG. 9A illustrates a process of obtaining a luminance value equation of the present invention to which the pixel compensation relation of FIG. 8D is applied.

도 9b는 도 8e의 픽셀 보상 관계식을 적용한 본 발명의 휘도 값 연산식을 구하는 과정을 도시한 것이다.FIG. 9B illustrates a process of obtaining a luminance value equation of the present invention to which the pixel compensation relation of FIG. 8E is applied.

도 10은 본 발명에 따른 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추 출 장치의 블록도를 도시한 것이다.10 is a block diagram of a fast extraction apparatus of a thumbnail image in an H.264 / AVC compressed region according to the present invention.

Claims (14)

H.264/AVC 표준에 따라 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출하는 단계;Extracting quantized DCT coefficients for each address of a macroblock stored in a bitstream of a compressed video according to the H.264 / AVC standard; 상기 추출된 양자화된 DCT 계수를 이용하여 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계;Generating pixel data in the macro block using the extracted quantized DCT coefficients; 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택하는 단계;Selecting an intra prediction mode for each address of the macro block in which the pixel data is generated according to the intra prediction mode information stored in the bitstream of the video; 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계; 및Calculating a luminance value of the macro block using boundary pixel data of a neighboring macro block surrounding the macro block according to the selected intra prediction mode; And 상기 연산된 매크로 블록의 휘도에 따라 상기 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성하는 단계를 포함하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법. And generating a thumbnail image of a specific video frame from which the DCT coefficient is extracted according to the calculated macroblock luminance. 제 1 항에 있어서,The method of claim 1, 상기 매크로 블록의 단위는 4×4 블록 또는 16×16 블록인 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.The unit of the macro block is 4 × 4 blocks or 16 × 16 blocks, characterized in that the fast extraction method of the thumbnail image in the H.264 / AVC compressed region. 제 1 항에 있어서,The method of claim 1, 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계는Generating pixel data in the macro block 사용자에 의해 미리 설정된 상기 매크로 블록 내의 특정 경계 픽셀 데이터를 생성하는 단계인 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.And generating specific boundary pixel data in the macro block preset by the user. 제 3 항에 있어서,The method of claim 3, wherein 상기 매크로 블록 내의 픽셀 데이터를 생성하는 단계는,Generating pixel data in the macro block may include: 상기 추출된 양자화된 DCT 계수를 이용하여 역 양자화를 수행하는 단계; 및Performing inverse quantization using the extracted quantized DCT coefficients; And 상기 역 양자화된 DCT 계수를 역 이산 여현 변환하여 상기 매크로 블록 내의 경계 픽셀 데이터를 생성하는 단계를 포함하는 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.And inverse discrete cosine transforming the inverse quantized DCT coefficients to generate boundary pixel data in the macro block. 제 1 항에 있어서,The method of claim 1, 상기 매크로 블록의 휘도 값을 연산하는 단계는Computing the luminance value of the macro block 상기 매크로 블록의 휘도 값 연산식이 저장된 데이터 베이스에서 상기 선택된 인트라 예측 모드에 따라 휘도 값 연산식을 선택하는 단계; 및Selecting a luminance value equation according to the selected intra prediction mode from a database in which the luminance value equation of the macro block is stored; And 상기 선택된 휘도 값 연산식에 따라 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계를 포함하는 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.And calculating luminance values of the macro blocks using boundary pixel data of surrounding macro blocks surrounding the macro blocks according to the selected luminance value calculation equation. Fast extraction method of thumbnail images. H.264/AVC 표준에 의하여 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 제 1 DCT 계수를 추출하는 단계;Extracting first quantized DCT coefficients according to addresses of macro blocks stored in a bitstream of a video compressed by the H.264 / AVC standard; 상기 추출된 양자화된 제 1 DCT 계수를 이용하여 사용자에 의해 미리 설정된 상기 매크로 블록 내의 특정 경계 픽셀 데이터를 상기 제 1 DCT 계수로 대체하는 단계;Replacing specific boundary pixel data in the macro block preset by a user with the first DCT coefficients using the extracted quantized first DCT coefficients; 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택하는 단계;Selecting an intra prediction mode for each address of the macro block in which the pixel data is generated according to the intra prediction mode information stored in the bitstream of the video; 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계; 및Calculating a luminance value of the macro block using boundary pixel data of a neighboring macro block surrounding the macro block according to the selected intra prediction mode; And 상기 연산된 매크로 블록의 휘도에 따라 상기 제 1 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성하는 단계를 포함하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.And generating a thumbnail image of a specific video frame from which the first DCT coefficient is extracted according to the luminance of the calculated macroblock. 제 6 항에 있어서,The method of claim 6, 상기 매크로 블록의 단위는 4×4 블록 또는 16×16 블록인 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.The unit of the macro block is 4 × 4 blocks or 16 × 16 blocks, characterized in that the fast extraction method of the thumbnail image in the H.264 / AVC compressed region. 제 6 항에 있어서,The method of claim 6, 상기 제 1 DCT 계수는The first DCT coefficient is 상기 매크로 블록 내의 최상단에 위치한 좌측 경계 픽셀의 DCT 계수인 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.And a DCT coefficient of a left boundary pixel located at the top of the macro block. 제 6 항에 있어서,The method of claim 6, 상기 매크로 블록의 휘도 값을 연산하는 단계는Computing the luminance value of the macro block 상기 매크로 블록의 휘도 값 연산식이 저장된 데이터 베이스에서 상기 선택된 인트라 예측 모드에 따라 휘도 값 연산식을 선택하는 단계; 및Selecting a luminance value equation according to the selected intra prediction mode from a database in which the luminance value equation of the macro block is stored; And 상기 선택된 휘도 값 연산식에 따라 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 단계를 포함하는 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 방법.And calculating luminance values of the macro blocks using boundary pixel data of surrounding macro blocks surrounding the macro blocks according to the selected luminance value calculation equation. Fast extraction method of thumbnail images. 제 1 항 내지 제 9 항 중 어느 한 항의 방법을 컴퓨터에서 실행시키도록 프로그램으로 기록된 기록매체.10. A recording medium recorded with a program for executing the method of any one of claims 1 to 9 on a computer. H.264/AVC 표준에 따라 압축된 동영상의 비트스트림에 저장된 매크로 블록의 주소별로 양자화된 DCT 계수를 추출하는 DCT 계수 추출부;A DCT coefficient extracting unit for extracting quantized DCT coefficients according to addresses of macro blocks stored in a bitstream of a compressed video according to the H.264 / AVC standard; 상기 추출된 양자화된 DCT 계수를 이용하여 상기 매크로 블록 내에 외부에서 미리 입력된 픽셀의 픽셀 데이터를 생성하는 픽셀 데이터 생성부;A pixel data generation unit generating pixel data of a pixel previously input from the outside in the macro block using the extracted quantized DCT coefficients; 상기 동영상의 비트스트림에 저장된 인트라 예측 모드 정보에 따라 상기 픽셀 데이터가 생성된 상기 매크로 블록의 주소별 인트라 예측 모드를 선택하는 인트라 예측 모드 선택부;An intra prediction mode selection unit for selecting an intra prediction mode for each address of the macro block in which the pixel data is generated according to intra prediction mode information stored in the bitstream of the video; 상기 선택된 인트라 예측 모드에 따라 상기 매크로 블록을 둘러싸는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 연산부; 및A calculator configured to calculate a luminance value of the macro block using boundary pixel data of a neighboring macro block surrounding the macro block according to the selected intra prediction mode; And 상기 연산된 매크로 블록의 휘도에 따라 상기 DCT 계수가 추출된 특정 동영상 프레임의 썸네일 영상을 생성하는 썸네일 영상 생성부를 포함하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 장치.And a thumbnail image generator for generating a thumbnail image of a specific video frame from which the DCT coefficient is extracted according to the luminance of the calculated macroblock. 제 11 항에 있어서,The method of claim 11, 상기 픽셀 데이터 생성부는,The pixel data generator, 상기 DCT 계수 추출부에서 추출된 양자화된 DCT 계수를 이용하여 역 양자화를 수행하는 역 양자화부; 및An inverse quantizer for performing inverse quantization using the quantized DCT coefficients extracted by the DCT coefficient extractor; And 상기 역 양자화된 DCT 계수를 역 이산 여현 변환하여 상기 매크로 블록 내의 경계 픽셀 데이터를 생성하는 경계 픽셀 데이터 생성부를 더 포함하는 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 장치.And a boundary pixel data generator configured to inverse discrete cosine transform the inverse quantized DCT coefficients to generate boundary pixel data in the macroblock. 제 11 항에 있어서,The method of claim 11, 상기 연산부는The calculation unit 상기 매크로 블록의 휘도 값 연산식을 저장하는 데이터 베이스 모듈을 포함하고,A database module for storing a luminance value calculation expression of the macro block; 상기 연산부는 상기 데이터 베이스 모듈에서 상기 선택된 인트라 예측 모드에 따라 휘도 값 연산식을 선택하고, 상기 선택된 휘도 값 연산식에 따라 상기 매크로 블록을 둘러싸고 있는 주변 매크로 블록의 경계 픽셀 데이터를 이용하여 상기 매크로 블록의 휘도 값을 연산하는 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 장치.The operation unit selects a luminance value calculation expression according to the selected intra prediction mode in the database module, and uses the boundary pixel data of the neighboring macroblock surrounding the macroblock according to the selected luminance value calculation expression. A high speed extraction device of a thumbnail image in a H.264 / AVC compressed region, characterized in that to calculate a luminance value of. 제 11 항에 있어서,The method of claim 11, 상기 매크로 블록의 단위는 4×4 블록 또는 16×16 블록인 것을 특징으로 하는 H.264/AVC 압축 영역에서의 썸네일 영상의 고속 추출 장치.The unit of the macro block is a 4 × 4 block or 16 × 16 block, the fast image extraction apparatus of the thumbnail image in the H.264 / AVC compressed region.
KR1020070090692A 2007-09-06 2007-09-06 High-speed extraction method of thumbnail images in H.264 / ACC compressed region, apparatus therefor, and recording medium recording the same KR100907707B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070090692A KR100907707B1 (en) 2007-09-06 2007-09-06 High-speed extraction method of thumbnail images in H.264 / ACC compressed region, apparatus therefor, and recording medium recording the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070090692A KR100907707B1 (en) 2007-09-06 2007-09-06 High-speed extraction method of thumbnail images in H.264 / ACC compressed region, apparatus therefor, and recording medium recording the same

Publications (2)

Publication Number Publication Date
KR20090025674A KR20090025674A (en) 2009-03-11
KR100907707B1 true KR100907707B1 (en) 2009-07-14

Family

ID=40693960

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070090692A KR100907707B1 (en) 2007-09-06 2007-09-06 High-speed extraction method of thumbnail images in H.264 / ACC compressed region, apparatus therefor, and recording medium recording the same

Country Status (1)

Country Link
KR (1) KR100907707B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878721A (en) * 2010-07-31 2017-06-20 M&K控股株式会社 Picture decoding apparatus
KR20190088635A (en) 2018-01-19 2019-07-29 인천대학교 산학협력단 Apparatus and Method for Extracting Thumbnail Video for High Efficiency Video Coding

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120086232A (en) * 2011-01-25 2012-08-02 (주)휴맥스 Method for encoding/decoding video for rate-distortion optimization and apparatus for performing the same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022894A (en) * 2004-09-08 2006-03-13 엘지전자 주식회사 Apparatus and method for generating thumbnail image in mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022894A (en) * 2004-09-08 2006-03-13 엘지전자 주식회사 Apparatus and method for generating thumbnail image in mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878721A (en) * 2010-07-31 2017-06-20 M&K控股株式会社 Picture decoding apparatus
CN106878721B (en) * 2010-07-31 2019-11-01 M&K控股株式会社 Picture decoding apparatus
KR20190088635A (en) 2018-01-19 2019-07-29 인천대학교 산학협력단 Apparatus and Method for Extracting Thumbnail Video for High Efficiency Video Coding
KR102049293B1 (en) 2018-01-19 2019-11-28 인천대학교 산학협력단 Apparatus and Method for Extracting Thumbnail Video for High Efficiency Video Coding

Also Published As

Publication number Publication date
KR20090025674A (en) 2009-03-11

Similar Documents

Publication Publication Date Title
US9294768B2 (en) Moving-picture encoding apparatus and moving-picture decoding apparatus
US20110182523A1 (en) Method and apparatus for image encoding/decoding
KR20130140066A (en) Video coding methods and apparatus
AU2008258910A1 (en) Image prediction encoding device, image prediction decoding device, image prediction encoding method, image prediction decoding method, image prediction encoding program, and image prediction decoding program
KR101090586B1 (en) Encoding/decoding device, encoding/decoding method and recording medium
JP2007251453A (en) Moving image encoding device and program
US8379985B2 (en) Dominant gradient method for finding focused objects
US9185417B2 (en) Video decoding switchable between two modes
KR100907707B1 (en) High-speed extraction method of thumbnail images in H.264 / ACC compressed region, apparatus therefor, and recording medium recording the same
US20110310975A1 (en) Method, Device and Computer-Readable Storage Medium for Encoding and Decoding a Video Signal and Recording Medium Storing a Compressed Bitstream
TWI517673B (en) Dynamic image predictive coding method, dynamic image predictive coding program, dynamic image prediction decoding device, dynamic image prediction decoding method and dynamic image prediction decoding program
US20100002767A1 (en) Dynamic image encoding device, dynamic image decoding device, dynamic image encoding method, dynamic image decoding method, dynamic image encoding program, and dynamic image decoding program
JP5390794B2 (en) Motion vector search apparatus and motion vector search method
JP5358485B2 (en) Image encoding device
JP4169767B2 (en) Encoding method
JP4243286B2 (en) Encoding method
US7706440B2 (en) Method for reducing bit rate requirements for encoding multimedia data
JP6874844B2 (en) Moving image coding device, moving image coding method, and moving image coding program
JP2008104072A (en) Method and apparatus for encoding image data
KR101767950B1 (en) Apparatus and Method for extracting correlation parameters between color planes to make prediction image in video codec, and Video Encoding/Decoding Apparatus and Method using the same
JP2007228626A (en) Image signal processing apparatus and method
KR101052390B1 (en) How to generate thumbnail images from H.264 standard video frames
KR0161927B1 (en) Method for encoding the digital video data
JP2008245237A (en) Image processing method and device, and image device using the same
JP5247210B2 (en) Moving picture coding apparatus and moving picture coding method

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
FPAY Annual fee payment

Payment date: 20130708

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140707

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150706

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20160628

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20170703

Year of fee payment: 9