KR100487374B1 - Apparatus for generating thumbnail image of digital video - Google Patents

Apparatus for generating thumbnail image of digital video Download PDF

Info

Publication number
KR100487374B1
KR100487374B1 KR10-2002-0063867A KR20020063867A KR100487374B1 KR 100487374 B1 KR100487374 B1 KR 100487374B1 KR 20020063867 A KR20020063867 A KR 20020063867A KR 100487374 B1 KR100487374 B1 KR 100487374B1
Authority
KR
South Korea
Prior art keywords
image
blank
thumbnail
vertical
horizontal
Prior art date
Application number
KR10-2002-0063867A
Other languages
Korean (ko)
Other versions
KR20040035127A (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 KR10-2002-0063867A priority Critical patent/KR100487374B1/en
Publication of KR20040035127A publication Critical patent/KR20040035127A/en
Application granted granted Critical
Publication of KR100487374B1 publication Critical patent/KR100487374B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • 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/174Methods 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 slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/4147PVR [Personal Video Recorder]

Abstract

본 발명은 디지털 TV에 장착된 개인용 비디오 녹화기 또는 비디오 브라우저 등의 기능을 제공하는 기타 시스템 등에서 제공하는 부가 기능 중 썸네일(Thumbnail) 영상 생성 장치에 관한 것으로서, 특히 I 픽처의 DC 값으로 생성되는 DC 영상 단위로 가로 및 세로 방향의 영상 복잡도를 각각 계산하고, 상기 가로 및 세로 방향의 영상 복잡도를 미리 설정한 가로 및 세로 방향의 임계값과 각각 비교하여 상기 I 픽처의 DC 값으로부터 생성된 썸네일 영상이 블랭크 영상인지 여부를 판단하고, 블랭크 영상으로 판별된 썸네일 영상은 사용하지 않도록 함으로써, 사용자에게는 내용적으로 의미가 있는 썸네일 영상만을 제공할 수 있다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a thumbnail image generating device among additional functions provided by a personal video recorder or a video browser installed in a digital TV, and more particularly, a DC image generated by a DC value of an I picture. A thumbnail image generated from the DC value of the I picture is calculated by calculating the image complexity in the horizontal and vertical directions, and comparing the horizontal and vertical image complexity with a preset horizontal and vertical threshold, respectively. By determining whether the image is an image and not using the thumbnail image determined as the blank image, it is possible to provide only a thumbnail image that is meaningful to the user.

Description

디지털 비디오의 썸네일 영상 생성 장치{Apparatus for generating thumbnail image of digital video}Apparatus for generating thumbnail image of digital video}

본 발명은 디지털 TV에 장착된 개인용 비디오 녹화기(Personal Video Recorder ; PVR), 또는 비디오 브라우저 등의 기능을 제공하는 기타 시스템 등에서 제공하는 부가 기능 중 썸네일(Thumbnail) 영상 생성 장치에 관한 것으로서, 특히 썸네일 영상의 생성 과정에서 현재 입력되는 영상의 복잡도를 계산하여 사용자에게 내용적으로 의미가 있는 영상에 대해서만 자동적으로 썸네일 영상을 생성하는 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a thumbnail image generating apparatus among additional functions provided by a personal video recorder (PVR) mounted on a digital TV, or other system that provides a function such as a video browser, and more particularly, a thumbnail image. The present invention relates to an apparatus for automatically generating a thumbnail image only for an image that is meaningful to the user by calculating a complexity of an image currently input during the generation process.

일반적으로 썸네일 영상은 브라우징(browsing) 혹은 탐색(searching) 등을 위해 비디오의 특정 프레임을 원래의 크기보다 작게 표시한 것으로, 동영상의 형태가 아닌 정지 영상의 형태로 비디오에 대한 함축적인 정보를 사용자에게 제공하는 목적으로 사용한다. 이러한 썸네일 영상은 PVR에서 녹화된 비디오의 내용을 몇 개의 작은 그림들로 요약하거나 비디오 인덱싱을 위한 키 프레임(key frame) 생성 또는 프로그램 가이드 등에서 프로그램에 대한 프리뷰(preview) 또는 내용 요약(content summary) 등을 목적으로 한 대표 영상의 생성 등 그 활용 분야가 다양하다. In general, a thumbnail image displays a specific frame of a video smaller than the original size for browsing or searching, and provides implicit information about the video to the user in the form of a still image rather than a video. Use for the purpose of providing. These thumbnail images summarize the contents of the video recorded in the PVR into several thumbnails, generate key frames for video indexing, or preview or content summary of the program in the program guide. There are various fields of application such as the generation of representative images for the purpose.

썸네일 영상을 생성하는 종래의 방법은 MPEG으로 부호화된 비디오의 프레임을 복호화 한 다음 복원된 프레임을 직접 축소하는 방법과 I 픽처(picture)의 DC 값을 이용하는 방법으로 구분할 수 있다. 이때, 비디오의 프레임을 직접 축소하는 전자의 방법은 해당 프레임의 전체 화소를 복호화 해야 하는데, 이는 가변 복호화기(variable length decoder)를 필요로 하므로 하드웨어적인 부담이 있다. 아울러 I 픽처가 아닌 B 또는 P 픽처의 경우에는 이를 복호화 한 다음 다시 JPEG 등의 압축 방식을 사용하여 인트라-코드(intra-coded)된 정지 영상의 형태로 변환해야 한다. 한편, 비디오의 I 픽처의 DC를 이용하여 썸네일 영상을 만드는 후자의 방법은 이러한 가변 복호화기를 필요로 하지 않으므로 하드웨어적으로도 부담이 적으며 DC 값이 직접적으로 썸네일 영상의 화소값으로 사용된다. 따라서 이 방법은 복잡한 복호화 및 재 부호화 과정을 거치지 않고 간단한 방법으로 원 영상의 1/64 크기의 썸네일 영상을 생성하므로 구현의 용이성 및 효율성이라는 장점이 있다. Conventional methods for generating a thumbnail image can be classified into a method of decoding a frame of video encoded with MPEG and then directly reducing a reconstructed frame and a method using a DC value of an I picture. In this case, the former method of directly reducing a frame of a video needs to decode all pixels of the frame, which requires a variable length decoder, which is a hardware burden. In addition, in the case of a B or P picture that is not an I picture, the B or P picture needs to be decoded and then converted into an intra-coded still picture using a compression method such as JPEG. On the other hand, the latter method of creating a thumbnail image using the DC of the I picture of the video does not require such a variable decoder, so it is less burdensome in hardware and the DC value is directly used as the pixel value of the thumbnail image. Therefore, this method generates the 1/64 size thumbnail image of the original image by a simple method without complicated decoding and re-encoding process, which has the advantage of ease of implementation and efficiency.

상기된 방법들을 통해 생성된 썸네일 영상은 사용자에게 원래 영상보다 작은 크기, 다시 말해 낮은 해상도의 대표 영상으로 비디오의 전체 내용을 함축적으로 표현하는 방법을 제공하므로 이 썸네일 영상의 근원이 되는 비디오 프레임은 잡음, 블랭크, 장면 전환에 의한 오버랩 등이 존재하지 않은 동시에, 사용자에게 해당 비디오 전체에 대한 정보 전달이 명확해야한다. 따라서, 썸네일 영상에 대해서는 급격한 줌과 같은 카메라 움직임 및 피사체의 움직임에 의한 번짐(blur) 등에 의해 발생한 불분명한 영상을 피해야 한다.The thumbnail image generated by the above methods provides the user with a method of implicitly representing the entire contents of the video as a representative image of a smaller size, that is, a lower resolution than the original image, so that the video frame that is the source of the thumbnail image is noisy. There should be no blanks, overlaps due to scene transitions, etc., and at the same time, the delivery of information about the entire video to the user should be clear. Therefore, for the thumbnail image, an unclear image generated by camera movement such as a sudden zoom and blur due to the movement of the subject should be avoided.

그런데, 종래의 썸네일 영상 생성 장치에서는 썸네일 영상으로 사용하기 부적합한 영상을 검출한 후 이를 필터링(filtering)하는 효과적인 방법을 제공하지 못했다. 즉, 종래의 썸네일 영상 생성 장치에서는 영상의 내용에 대한 분석없이 임의의 I 픽처에 대하여 썸네일을 생성하였다. 이 경우 하드웨어에 의하여 미리 설정된 또는 사용자가 입력하는 표본율에 의해 일정한 간격마다 발생하는 I 픽처에 대하여 썸네일 영상을 생성하는 방법을 사용한다. 그러나 실제 수신되는 디지털 비디오에서는 원 영상에 잡음이 발생하거나 장면 전환 또는 기타 특수 효과에 의하여 영상이 매우 어둡거나 실제 내용이 없는 단일 컬러로 이루어진 영상, 또는 과도한 줌 및 클로즈업(close-up) 등에 의하여 원 영상 자체가 의미가 없거나 영상이 담고 있는 정보량이 미약한 경우가 발생한다. 이러한 영상으로부터 생성된 썸네일 영상은 사용자가 그 내용을 식별하기가 매우 어려우며 결과적으로 비디오 전체에 대한 함축적인 정보를 제공하는데 문제가 발생한다. However, the conventional thumbnail image generating apparatus does not provide an effective method of detecting and filtering an image that is not suitable for use as a thumbnail image. That is, in the conventional thumbnail image generating apparatus, a thumbnail is generated for an arbitrary I picture without analyzing the content of the image. In this case, a method of generating a thumbnail image for an I picture generated at a predetermined interval by a hardware preset or user input sample rate is used. However, in the digital video that is actually received, the original image may be noisy, scenes or other special effects may cause the image to be very dark or have a single color without the actual content, or may be caused by excessive zooming or close-up. Sometimes the image itself is meaningless or the amount of information contained in the image is weak. Thumbnail images generated from such images are very difficult for a user to identify the contents, and as a result, a problem arises in providing implicit information about the entire video.

즉, 종래의 썸네일 영상 생성 방법에서는 자동적으로 썸네일 영상을 분석하여 썸네일의 유효성 여부를 판단하는 방법이 없으므로 무의미한 영상에 대하여 효과적으로 대처하지 못하며 이는 효과적으로 대표 영상을 추출하는데 많은 문제점을 갖는다.That is, in the conventional thumbnail image generation method, there is no method for automatically determining the validity of the thumbnail by analyzing the thumbnail image, so that it does not effectively cope with the meaningless image, which has many problems in effectively extracting the representative image.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 썸네일 영상의 생성을 위해 입력되는 영상의 복잡도를 계산하여 복잡도가 낮은 영상에 대해서는 썸네일 영상으로 생성하지 않도록 함으로써, 사용자가 보다 의미있고 명확한 썸네일 영상만을 볼 수 있게 하는 썸네일 영상 생성 장치를 제공함에 있다.The present invention is to solve the above problems, an object of the present invention is to calculate the complexity of the input image to generate a thumbnail image by not generating a thumbnail image for a low complexity image, the user means more It is an object of the present invention to provide a thumbnail image generating apparatus capable of viewing only a clear thumbnail image.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 디지털 비디오의 썸네일 영상 생성 장치는, MPEG으로 부호화 된 비디오 스트림의 I 픽처에서 썸네일 영상을 생성하되 그 과정에서 복잡도가 낮거나, 텍스쳐(texture)가 거의 존재하지 않거나 배경으로만 이루어진 영상 또는 잘못된 조명 조건에 의하여 발생하는 단일 색상이 지배하는 영상 및 저 휘도 영상, 그리고 과도한 줌 또는 클로즈업으로 인하여 발생하는 무의미한 영상을 검출한 후 이러한 무의미한 영상으로부터 생성된 썸네일 영상의 이용을 차단함으로써, 사용자에게 보다 의미 있고 명확한 썸네일 영상을 제공하는데 그 특징이 있다.An apparatus for generating a thumbnail image of a digital video according to the present invention for generating the above object generates a thumbnail image from an I picture of an MPEG encoded video stream, but has a low complexity or almost no texture in the process. Thumbnail images generated from non-existent or background-only images, single-color dominated images caused by poor lighting conditions, and low-luminance images, and meaningless images resulting from excessive zooming or close-up, and then detecting them. By blocking the use of the, there is a feature to provide a more meaningful and clear thumbnail image to the user.

본 발명에서는 지나치게 어둡거나 단순한 컬러로 이루어진 영상 또는 블러(blur) 및 줌 등의 원인에 의해 복잡도가 낮아 사용자에게 전달할 수 있는 내용 또는 정보량이 매우 적어서 썸네일 영상을 생성하기에 적합하지 않은 영상을 블랭크(blank) 영상이라고 정의한다.In the present invention, an image that is too dark or simple colors, or because of the complexity and blur due to the cause of blur and zoom, the content or information that can be delivered to the user is very small, the image that is not suitable for generating a thumbnail image blank ( blank) Defined as an image.

상기 특징을 구체화한 본 발명에 따른 본 발명에 의한 썸네일 영상 생성 장치는 입력되는 비디오 스트림으로부터 I 픽처의 DC값만을 파싱하는 DC 디코더와, 상기 DC 디코더에서 출력되는 DC 값들을 저장하는 임시 버퍼와, 상기 임시 버퍼에서 슬라이스 단위로 출력되는 DC 값을 입력받아 썸네일 영상을 생성하고 저장하는 메모리와, 상기 DC 디코더에서 출력되는 DC 값에 의해 생성되는 DC 영상의 가로 및 세로 방향의 영상 복잡도를 각각 계산하고, 계산된 가로 및 세로 방향의 영상 복잡도와 미리 설정한 가로 및 세로 방향의 임계값을 각각 비교하여 상기 I 픽처가 블랭크 영상인지 여부를 판별하는 블랭크 영상 판단부와, 상기 임시 버퍼에의 DC값 저장 및 출력을 제어하고, 상기 블랭크 영상 판단부에서 블랭크 영상으로 판단되면 상기 메모리에 저장된 해당 썸네일 영상이 사용되지 않도록 제어하는 버퍼 제어부를 포함하여 구성되는 것을 특징으로 한다.In accordance with an aspect of the present invention, a thumbnail image generating apparatus according to the present invention includes a DC decoder for parsing only a DC value of an I picture from an input video stream, a temporary buffer for storing DC values output from the DC decoder, Calculates the image complexity in the horizontal and vertical directions of a memory for generating and storing a thumbnail image by receiving a DC value output in slice units from the temporary buffer, and a DC image generated by the DC value output from the DC decoder, And a blank image determining unit configured to compare the calculated horizontal and vertical image complexity with a preset horizontal and vertical threshold and determine whether the I picture is a blank image, and to store the DC value in the temporary buffer. And controlling the output and, if determined to be a blank image by the blank image determination unit, stored in the memory. It characterized in that the buffer comprises a control unit for controlling so that a nail image is used.

상기 블랭크 영상 판단부는 상기 DC 디코더에서 출력되는 Y 성분의 DC 값 또는, Y 성분의 DC 값과 CbCr 성분의 DC 값의 조합을 이용하여 DC 영상의 가로 및 세로 방향의 영상 복잡도를 계산하는 것을 특징으로 한다.The blank image determiner calculates horizontal and vertical image complexity of the DC image by using the DC value of the Y component or the combination of the DC value of the Y component and the DC value of the CbCr component output from the DC decoder. do.

상기 블랭크 영상 판단부는 하나의 DC 영상에 대한 가로 및 세로 방향의 영상 복잡도가 계산되면 상기 계산된 가로 방향의 영상 복잡도가 미리 설정한 제 1 가로 방향 임계값보다 작은지 큰지 그리고, 상기 세로 방향의 영상 복잡도가 미리 설정한 제 1 세로 방향 임계값보다 작은지 큰지를 비교한 후 비교 결과에 따라 상기 I 픽처가 블랭크 영상인지를 판별하는 것을 특징으로 한다.When the image complexity of the horizontal and vertical directions for one DC image is calculated, the blank image determiner determines whether the calculated image complexity in the horizontal direction is less than or greater than a first threshold value set in advance, and the vertical image. The method may determine whether the I picture is a blank image based on a comparison result after comparing whether the complexity is smaller than or greater than a preset first vertical threshold.

상기 블랭크 영상 판단부는 상기 계산된 가로 방향의 영상 복잡도가 미리 설정한 제 1 가로 방향 임계값보다 작거나 및/또는 상기 세로 방향의 영상 복잡도가 미리 설정한 제 1 세로 방향 임계값보다 작으면 상기 I 픽처를 블랭크 영상으로 판별하는 것을 특징으로 한다.The blank image determiner is configured to perform the I when the calculated image complexity in the horizontal direction is less than the first horizontal threshold value preset and / or the image complexity in the vertical direction is less than the first vertical threshold value preset. The picture is distinguished by a blank image.

상기 블랭크 영상 판단부는 상기 계산된 가로 및 세로 방향의 영상 복잡도가 미리 설정한 제 1 가로 및 세로 방향의 임계값보다 크다면 상기 계산된 가로 방향의 영상 복잡도가 미리 설정한 제 2 가로 방향 임계값보다 작은지 큰지 그리고, 상기 세로 방향의 영상 복잡도가 미리 설정한 제 2 세로 방향 임계값보다 작은지 큰지를 비교한 후 비교 결과에 따라 상기 I 픽처가 블랭크 영상인지를 판별하는 것을 특징으로 한다.The blank image determiner is larger than the first horizontal and vertical threshold values calculated in the horizontal and vertical directions than the first horizontal and vertical threshold values set in the horizontal and vertical directions. The method determines whether the I picture is a blank image according to a comparison result after comparing whether the image complexity in the vertical direction is smaller or larger than the preset second vertical threshold value.

상기 블랭크 영상 판단부는 상기 계산된 가로 및 세로 방향의 영상 복잡도가 미리 설정한 제 2 가로 및 세로 방향의 임계값보다 각각 크다면 상기 I 픽처를 블랭크 영상으로 판별하는 것을 특징으로 한다.The blank image determiner may determine the I picture as a blank image when the calculated image complexity in the horizontal and vertical directions is greater than a preset threshold value in the second horizontal and vertical directions, respectively.

상기 블랭크 영상 판단부는 가로 방향으로 인접한 두 DC 값이 서로 다를 경우에는 가로 방향의 영상 복잡도를 증가시키고, 세로 방향으로 인접한 두 DC 값이 서로 다를 경우에는 세로 방향의 영상 복잡도를 증가시키는 과정을 하나의 DC 영상의 모든 DC 값에 적용하여 현재 DC 영상의 가로 방향의 영상 복잡도와 세로 방향의 영상 복잡도를 각각 구하는 것을 특징으로 한다.The blank image determination unit increases the image complexity in the horizontal direction when two DC values adjacent to each other in the horizontal direction are different, and increases the image complexity in the vertical direction when two DC values adjacent in the vertical direction are different from each other. The image complexity of the current DC image and the image complexity of the vertical direction are respectively obtained by applying to all DC values of the DC image.

상기 블랭크 영상 판단부는 각 DC 값의 상위 k 비트만을 비교에 이용하는 것을 특징으로 한다.The blank image determiner may use only upper k bits of each DC value for comparison.

상기 버퍼 제어부는 입력된 I 픽처가 블랭크 영상으로 판단되면 상기 I 픽처로부터 생성된 썸네일 영상이 저장되는 있는 상기 메모리 내의 위치에 다음 I 픽처로부터 생성되는 썸네일 영상이 오버라이트되도록 제어하는 것을 특징으로 한다.If it is determined that the input I picture is a blank image, the buffer controller controls the thumbnail image generated from the next I picture to be overwritten to a position in the memory where the thumbnail image generated from the I picture is stored.

상기 버퍼 제어부는 상기 메모리에 저장 가능한 썸네일 영상의 수만큼 블랭크 벡터를 구비한 후, 블랭크 여부에 상관없이 모든 썸네일 영상을 상기 메모리에 저장하면서 상기 블랭크 영상 판단부의 판단 결과에 따라 블랭크 벡터에 해당 썸네일 영상의 블랭크 유무를 표시하는 것을 특징으로 한다.The buffer controller may include as many blank vectors as the number of thumbnail images that can be stored in the memory, and then store all the thumbnail images in the memory regardless of whether they are blank or not, according to a result of the determination of the blank image determining unit. It is characterized by displaying the presence or absence of the blank.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

이하, 첨부된 도면을 참조하여 본 발명의 실시예의 구성과 그 작용을 설명하며, 도면에 도시되고 또 이것에 의해서 설명되는 본 발명의 구성과 작용은 적어도 하나의 실시예로서 설명되는 것이며, 이것에 의해서 상기한 본 발명의 기술적 사상과 그 핵심 구성 및 작용이 제한되지는 않는다.Hereinafter, with reference to the accompanying drawings illustrating the configuration and operation of the embodiment of the present invention, the configuration and operation of the present invention shown in the drawings and described by it will be described as at least one embodiment, By the technical spirit of the present invention described above and its core configuration and operation is not limited.

본 발명은 썸네일 영상을 생성하고자 하는 I 픽처의 DC 값을 분석하여 해당되는 I 픽처가 블랭크 영상인지 여부를 판단하고, 블랭크 영상으로 판단된 I 픽처로부터 생성된 썸네일 영상은 사용되지 않도록 하는데 있다. 특히, 본 발명은 상기 I 픽처의 DC 값으로 생성되는 DC 영상 단위로 가로 및 세로 방향의 영상 복잡도를 각각 계산하고, 상기 가로 및 세로 방향의 영상 복잡도를 미리 설정한 가로 및 세로 방향의 임계값과 각각 비교하여 블랭크 영상의 여부를 판단하는데 그 특징이 있다.The present invention analyzes the DC value of an I picture for generating a thumbnail image to determine whether the corresponding I picture is a blank image, and does not use a thumbnail image generated from the I picture determined as the blank image. In particular, the present invention is to calculate the image complexity in the horizontal and vertical direction in the DC image unit generated by the DC value of the I picture, respectively, and the horizontal and vertical threshold value preset in the horizontal and vertical image complexity and The characteristics of the blank image are determined by comparing them with each other.

도 1은 본 발명에 의한 썸네일 영상 생성 장치의 전체적인 구성의 일 실시예를 나타낸 블록도로서, MPEG으로 부호화된 비디오 스트림 중 I 픽쳐의 DC 값만을 파싱(parsing)하는 DC 디코더(101), 상기 파싱된 DC값으로부터 현재 생성되는 썸네일 영상의 유효성 여부를 판단하는 블랭크 영상 판단부(102), 상기 파싱된 DC값을 썸네일 영상 생성을 위해 라인 또는 슬라이스 단위로 임시 저장하는 임시 버퍼(103), 및 상기 DC값을 임시 버퍼(103)에 저장시키고, 상기 임시 버퍼(103)에 저장된 DC값을 슬라이스 단위로 썸네일 메모리 인터페이스(105)를 통해 썸네일 전용 메모리로 전송하며, 또한 상기 블랭크 영상 판단부(102)의 판단 결과에 따라 상기 썸네일 전용 메모리에 저장된 썸네일 영상의 사용 여부를 제어하는 등의 시스템의 전체적인 흐름을 제어하는 버퍼 제어기(104)로 구성된다. 1 is a block diagram showing an embodiment of the overall configuration of a thumbnail image generating apparatus according to the present invention, a DC decoder 101 for parsing only the DC value of an I picture in an MPEG encoded video stream, the parsing A blank image determination unit 102 determining whether a thumbnail image currently generated from the DC value is valid, a temporary buffer 103 temporarily storing the parsed DC value in line or slice units for thumbnail image generation, and the The DC value is stored in the temporary buffer 103, the DC value stored in the temporary buffer 103 is transmitted to the thumbnail dedicated memory through the thumbnail memory interface 105 in units of slices, and the blank image determination unit 102 is also used. The buffer controller 104 controls the overall flow of the system, such as controlling the use of the thumbnail image stored in the thumbnail dedicated memory in accordance with the determination result of the It is sex.

즉, 상기 버퍼 제어기(104)는 썸네일 메모리 인터페이스(105)를 통해 버퍼(103)에 저장된 데이터를 썸네일 전용 메모리의 특정 위치에 저장될 수 있도록 한다. That is, the buffer controller 104 may store data stored in the buffer 103 through the thumbnail memory interface 105 at a specific location of the thumbnail dedicated memory.

상기 DC 디코더(101)는 일반적인 MPEG 비디오 디코더의 VLD에 비해 매우 간단한 구조로 I 픽쳐의 DC값과 영상 정보 파라미터(parameter)만을 파싱할 수 있는 구조를 갖는다. 본 발명에서는 썸네일 영상을 생성하는 것이 목적이므로, 상기 DC 디코더(101)는 P 픽쳐 및 B 픽쳐를 복호화 할 필요가 없으며, 기타 AC 값을 구하기 위해 필요한 가변 복호화 테이블 및 하드웨어 부분이 제거된 구조이다. The DC decoder 101 has a structure that can parse only the DC value and image information parameter of the I picture in a very simple structure compared to the VLD of a general MPEG video decoder. In the present invention, since a thumbnail image is generated, the DC decoder 101 does not need to decode the P picture and the B picture, and removes the variable decoding table and hardware parts necessary to obtain other AC values.

즉, 상기 DC 디코더(101)는 MPEG 비디오의 I 픽처 스트림 중에서 픽처 사이즈(picture size)와 같은 영상의 정보 파라미터와 각 블록의 DC 값을 복호화하여 블랭크 영상 판단부(102)와 썸네일 임시 버퍼(103)로 전송한다. That is, the DC decoder 101 decodes an information parameter of an image, such as a picture size, and a DC value of each block in an I picture stream of MPEG video, thereby blanking the image determining unit 102 and the thumbnail temporary buffer 103. To send).

이때, 상기 블랭크 영상 판단부(102)의 기능을 간단히 하기 위해서 영상의 휘도 성분에 대해서만 분석을 수행할 수도 있으며 이 경우에는 각 매크로 블록의 0번부터 3번 블록에 해당하는 DC값 즉, Y 성분의 DC값들만을 블랭크 영상 판단부(102)로 전송한다. In this case, in order to simplify the function of the blank image determining unit 102, the analysis may be performed only on the luminance component of the image. In this case, a DC value corresponding to blocks 0 to 3 of each macro block, that is, a Y component Only the DC values of the transmission are transmitted to the blank image determiner 102.

여기서, 각 DC값은 0에서부터 255의 값을 가지며 이는 1바이트의 데이터로 표현된다. 일반적으로 4:2:0의 포맷을 갖는 MPEG 비디오에서 DC값은 각 블록의 평균값을 의미하며 하나의 매크로블록 당 6개의 블록이 존재하므로 하나의 매크로 블록으로부터 6개의 DC값이 입력된다. 이 중 처음 4개(즉 각 매크로 블록의 0번부터 3번까지의 블록)의 DC값은 Y 성분의 DC값이며, 나머지 2개(즉 4번, 5번 블록)는 각각 Cb, Cr 성분의 DC값에 해당된다. Here, each DC value has a value from 0 to 255, which is represented by 1 byte of data. In general, in an MPEG video having a 4: 2: 0 format, a DC value means an average value of each block, and since there are six blocks per macroblock, six DC values are input from one macroblock. DC values of the first four (that is, blocks 0 to 3 of each macro block) are DC values of the Y component, and the remaining two (ie blocks 4 and 5) are the Cb and Cr components, respectively. It corresponds to DC value.

한편, 상기 임시 버퍼(103)로는 썸네일 영상의 구성에 필요한 모든 DC 값을 전송해야 한다. 즉, 썸네일 영상은 썸네일 전용 메모리에 완전한 형태로 저장되며, 상기 버퍼 제어기(104)의 제어에 의해 하나의 슬라이스에 해당하는 분량의 데이터를 임시 버퍼(103)에 저장하였다가 슬라이스가 종료되면 상기 임시 버퍼(103)의 데이터를 썸네일 전용 메모리로 전송한다. 여기서, 상기 슬라이스는 ATSC 규격상 매크로 블록의 하나의 가로 줄을 의미하는 것으로, 슬라이스를 기본 단위로 썸네일 영상을 생성하는 이유는 입력되는 MPEG 비디오 스트림의 특성상 슬라이스를 기준으로 버퍼(103)를 제어하는 것이 효율적이기 때문이다. On the other hand, the temporary buffer 103 must transmit all DC values necessary for the configuration of the thumbnail image. That is, the thumbnail image is stored in a thumbnail-only memory in a complete form, and under the control of the buffer controller 104, the data corresponding to one slice is stored in the temporary buffer 103, and when the slice ends, the temporary image The data in the buffer 103 is transferred to the thumbnail dedicated memory. Here, the slice refers to one horizontal line of the macro block according to the ATSC standard. The reason for generating the thumbnail image based on the slice is that the buffer 103 is controlled based on the slice based on the characteristics of the input MPEG video stream. Because it is efficient.

상기 버퍼 제어기(104)는 임시 버퍼(103)의 입출력을 제어하며, 상기 임시 버퍼(103)는 입출력의 효율성을 위해 더블 버퍼의 형태로 구현된다. 즉, 상기 버퍼 제어기(104)는 슬라이스가 종료하면 썸네일 전용 메모리 인터페이스(105)와 더불어 임시 버퍼(103)에 저장된 썸네일 데이터를 썸네일 전용 메모리로 전송하는데 필요한 과정을 수행한다. 상기 썸네일 전용 메모리 인터페이스(105)는 임시 버퍼(103)에 저장된 데이터를 직접 썸네일 전용 메모리에 라이트(write)하는 과정을 제어하며, 썸네일 전용 메모리의 억세스(access)를 위한 기타 모든 과정을 제어한다. The buffer controller 104 controls the input and output of the temporary buffer 103, the temporary buffer 103 is implemented in the form of a double buffer for the efficiency of the input and output. That is, when the slice ends, the buffer controller 104 performs a process necessary to transfer the thumbnail data stored in the temporary buffer 103 to the thumbnail dedicated memory together with the thumbnail dedicated memory interface 105. The thumbnail dedicated memory interface 105 controls a process of directly writing data stored in the temporary buffer 103 to a thumbnail dedicated memory, and controls all other processes for accessing the thumbnail dedicated memory.

도 1에 도시된 본 발명의 썸네일 영상 생성 장치는 확장성을 고려한 블록도로서, 썸네일 전용 메모리 인터페이스(105)는 썸네일 전용 메모리를 억세스하고자 하는 다른 외부 유닛(unit)과 연결하여 사용할 수 있다. 즉, 본 발명에 의한 썸네일 영상 생성 장치 이외에 썸네일 전용 메모리를 사용하고자 하는 블록을 썸네일 전용 메모리 인터페이스(105)에 연결하여 사용할 수 있다. 이러한 경우 썸네일 전용 메모리는 썸네일 데이터 이외에 다른 데이터의 입출력이 가능하도록 확장될 수 있다. The thumbnail image generating apparatus of the present invention shown in FIG. 1 is a block diagram in consideration of scalability, and the thumbnail dedicated memory interface 105 may be used in connection with another external unit to access the thumbnail dedicated memory. That is, in addition to the thumbnail image generating apparatus according to the present invention, a block for using a thumbnail dedicated memory may be connected to the thumbnail dedicated memory interface 105. In such a case, the thumbnail dedicated memory may be expanded to enable input and output of other data in addition to the thumbnail data.

상기 블랭크 영상 판단부(102)에서는 입력되는 DC 값을 이용하여 이후에 설명할 일련의 과정을 거쳐 현재 영상의 블랭크 여부를 판단한다. 앞서 설명한 바와 같이 블랭크 영상 판단부(102)에서 영상의 휘도(Y) 성분만을 이용하여 영상을 분석하고자 하는 경우 각 매크로 블록의 0번부터 3번 블록에 해당하는 DC 값만을 사용한다. 또한, 기타 영상의 특정 성분 또는 여러 성분(chrominance 성분 포함)의 조합을 이용하여 블랭크 여부를 판단하고자 한다면 그에 해당하는 성분의 DC 값을 모두 사용하여 블랭크 판단 기능을 수행할 수 있다. The blank image determiner 102 determines whether the current image is blank by performing a series of processes to be described later using the input DC value. As described above, when the blank image determination unit 102 intends to analyze an image using only the luminance Y component of the image, only the DC values corresponding to blocks 0 to 3 of each macro block are used. In addition, if a blank is to be determined using a specific component or a combination of several components (including chrominance components) of the other image, the blank determination function may be performed using all DC values of the corresponding components.

상기 블랭크 영상 판단부(102)에서는 I 픽처가 종료하면 상기 I 픽처의 DC값들이 입력되는 동안 계산된 복잡도를 근거로 하여 현재 영상(즉, 복잡도가 계산된 상기 I 픽처)의 블랭크 여부를 판단하고 그에 해당하는 신호 BLANK를 출력한다. 예를 들어, 현재 영상이 블랭크로 판단되면 BLANK='1'이라는 신호를 출력하며, 그렇지 않은 경우 BLANK='0'라는 신호를 출력한다. The blank image determination unit 102 determines whether the current image (ie, the I picture whose complexity is calculated) is blank based on the complexity calculated while the DC values of the I picture are input when the I picture ends. The corresponding signal BLANK is output. For example, when the current image is determined to be blank, a signal BLANK = '1' is output. Otherwise, a signal BLANK = '0' is output.

따라서, BLANK 신호가 '0'의 값을 갖는 경우 상기 I 픽처의 DC 값으로부터 생성되어 썸네일 전용 메모리에 저장된 썸네일 영상은 유효한 것임을 알 수가 있다. 반대로 BLANK='1'인 경우에는 사용자 또는 PVR 시스템에 상기 I 픽처의 DC 값으로부터 생성되어 썸네일 전용 메모리에 저장된 썸네일 영상이 블랭크 영상이라는 것을 알려줄 수 있다. 즉, 사용자 또는, PVR 시스템은 이러한 BLANK 신호를 이용하여 현재 저장된 썸네일 영상이 사용 가능한 것인지를 알 수 있다. 예를 들어, BLANK=1이면 이때는 블랭크 영상이므로 사용자 또는, PVR 시스템은 상기 블랭크 영상에 해당되는 썸네일 영상은 화면 상에 디스플레이되지 않게 할 수 있다.Therefore, when the BLANK signal has a value of '0', it can be seen that the thumbnail image generated from the DC value of the I picture and stored in the thumbnail dedicated memory is valid. On the contrary, when BLANK = '1', the user or PVR system may inform that the thumbnail image generated from the DC value of the I picture and stored in the thumbnail dedicated memory is a blank image. That is, the user or the PVR system may know whether the currently stored thumbnail image is available using the BLANK signal. For example, when BLANK = 1, the user may be a blank image, or the PVR system may prevent a thumbnail image corresponding to the blank image from being displayed on the screen.

이상은 본 발명에 의한 썸네일 영상 생성 장치의 전체적인 구성에 대한 설명이며, 이하 본 발명의 핵심 기능인 블랭크 영상 판단부(102)에 대한 자세한 설명을 기술한다.The above is a description of the overall configuration of the thumbnail image generating apparatus according to the present invention, and a detailed description of the blank image determining unit 102, which is a core function of the present invention, will be described.

도 2는 상기 블랭크 영상 판단부(102)의 동작 흐름도의 일 실시예를 보인 것으로서, 상기 블랭크 영상 판단부(102)로 입력되는 DC 값은 블랭크 판단에 필요한 특정 성분 또는, 여러 성분의 조합으로 국한된다. 예를 들어, 영상의 휘도 성분만을 이용하여 블랭크 여부를 판단하고자 하는 경우, 하나의 매크로 블록에 대해서 영상의 Y 성분에 해당되는 0번에서 3번 블록에 해당되는 DC 값만을 입력받는다. FIG. 2 illustrates an embodiment of an operation flowchart of the blank image determiner 102, wherein a DC value input to the blank image determiner 102 is limited to a specific component or a combination of various components required for blank determination. do. For example, when determining whether to use a blank using only luminance components of an image, only a DC value corresponding to blocks 0 to 3 corresponding to the Y component of the image is input to one macro block.

이하 Y 성분만을 이용한 블랭크 영상 판단부(102)의 실시예에 대하여 서술한다. Hereinafter, an embodiment of the blank image determining unit 102 using only the Y component will be described.

이때, I 픽처의 DC 값만을 이용하여 생성되는 DC 영상(즉, 썸네일 영상)은 해상도에 따라 그 크기가 달라진다. 예를 들어, 1920x1088의 해상도를 갖는 HD급 비디오와 720x480의 해상도를 갖는 SD급 비디오의 DC 영상은 각각 240x136, 90x60의 해상도를 갖는다. In this case, the size of the DC image (that is, the thumbnail image) generated using only the DC value of the I picture varies according to the resolution. For example, the DC video of the HD video having a resolution of 1920x1088 and the SD video having a resolution of 720x480 have a resolution of 240x136 and 90x60, respectively.

즉, 상기 DC 디코더(101)에서 파싱된 I 픽처에 대한 휘도 성분의 DC 값이 입력되면(단계 201), 상기 블랭크 영상 판단부(102)에서는 상기 입력된 DC 값을 이용하여 가로 방향의 영상 복잡도를 나타내는 TR_H와 세로 방향의 영상 복잡도를 나타내는 TR_V를 계산한다(단계 202). 상기 가로 방향의 영상 복잡도 TR_H와 세로 방향의 영상 복잡도 TR_V를 계산하는 방법에 대한 보다 구체적인 설명은 도 3을 이용하여 추후 설명하기로 하며, 도 2에서는 일단 이 값을 이용하여 영상의 블랭크 여부를 판단하는 방법을 기술한다. That is, when the DC value of the luminance component of the I picture parsed by the DC decoder 101 is input (step 201), the blank image determination unit 102 uses the input DC value to perform horizontal image complexity. TR_H indicating and TR_V indicating the image complexity in the vertical direction are calculated (step 202). A more detailed description of the method of calculating the horizontal image complexity TR_H and the vertical image complexity TR_V will be described later with reference to FIG. 3. In FIG. 2, this value is used to determine whether the image is blank. Describe how to do it.

이때, 각 DC 영상마다 한 쌍의 TR_H과 TR_V가 계산되며, 이 값은 하기의 수학식 1과 같이 미리 설정된 각각의 제 1 임계값 TH1_H 및 TH1_V와 각각 비교된다(단계 203). 여기서, 하기의 수학식 1의 두 가지 조건 중에서 적어도 한가지 이상을 만족할 경우에 상기 블랭크 영상 판단부(102)는 현재 영상을 블랭크 영상으로 판단하고 블랭크 신호를 '1'로 설정한 후 버퍼 제어부(104)로 출력한다(단계 204). 상기 버퍼 제어부(104)는 상기 블랭크 신호가 '1'이면 이에 해당되는 썸네일 영상이 이용되지 않도록 제어한다(단계 205).At this time, a pair of TR_H and TR_V is calculated for each DC image, and this value is compared with each of the first threshold values TH1_H and TH1_V preset as shown in Equation 1 below (step 203). Here, when at least one of the two conditions of Equation 1 is satisfied, the blank image determining unit 102 determines the current image as a blank image and sets the blank signal to '1' and then the buffer control unit 104. (Step 204). If the blank signal is '1', the buffer controller 104 controls not to use a thumbnail image corresponding thereto (step 205).

조건 1 : TR_H < TH1_HCondition 1: TR_H <TH1_H

조건 2 : TR_V < TH1_VCondition 2: TR_V <TH1_V

본 발명의 실시예에서는 여러 가지 MPEG 비디오 스트림에 대하여 실험을 수행한 결과를 근거로 TH1_H와 TH1_V를 각각 h_size/16, v_size/16으로 설정하였으며, h_size와 v_size는 DC 영상의 가로 및 세로의 크기를 의미한다. 따라서, 상기 비교 연산 과정을 하드웨어적으로 구성할 경우, h_size와 v_size의 하위 4비트를 제외한 값을 임계값 TH1_H와 TH1_V로 설정한 후 비교 연산을 수행하면 된다.In the embodiment of the present invention, TH1_H and TH1_V are set to h_size / 16 and v_size / 16, respectively, based on the results of experiments on various MPEG video streams, and h_size and v_size are the horizontal and vertical sizes of the DC image. it means. Therefore, when the comparison operation is hardware-configured, the comparison operation may be performed after setting the threshold values TH1_H and TH1_V except for the lower 4 bits of h_size and v_size.

예를 들어, 1920x1088의 해상도를 갖는 HD급 비디오가 입력된다고 가정하면, 이때의 DC 영상의 해상도는 240(h_size)x136(v_size)이 되므로, TH1_H와 TH1_V는 각각 15(=240/16)와 8(=136/16)로 설정된다. 즉, 가로 성분의 복잡도 TR_H가 15보다 작거나 또는, 세로 성분의 복잡도 TR_V가 8보다 작거나 또는, 가로 성분의 복잡도 TR_H도 15보다 작고 세로 성분의 복잡도 TR_V도 8보다 작으면 상기 DC 영상은 블랭크 영상으로 판단하고, 상기 DC 영상으로부터는 썸네일 영상을 생성하지 않는다.For example, assuming that HD-quality video having a resolution of 1920x1088 is input, the resolution of the DC image at this time is 240 (h_size) x136 (v_size), so that TH1_H and TH1_V are 15 (= 240/16) and 8, respectively. (= 136/16) is set. That is, if the complexity TR_H of the horizontal component is less than 15, or the complexity TR_V of the vertical component is less than 8, or the complexity TR_H of the horizontal component is less than 15 and the complexity TR_V of the vertical component is less than 8, the DC image is blank. The image is judged as an image, and a thumbnail image is not generated from the DC image.

한편, 상기 단계 203에서 가로 성분의 복잡도 TR_H와 세로 성분의 복잡도 TR_V가 상기 수학식 1의 두 가지 조건을 모두 만족하지 않는 경우에 즉, TR_H가 TH1_H보다 크고, TR_V가 TH1_V보다 큰 경우에는 하기의 수학식 2와 같은 조건 두 가지를 모두 만족하는지 여부를 조사한다(단계 206). In the case where the complexity TR_H of the horizontal component and the complexity TR_V of the vertical component do not satisfy both conditions of Equation 1 in step 203, that is, when TR_H is larger than TH1_H and TR_V is larger than TH1_V, It is checked whether or not both conditions are satisfied (Equation 2) (step 206).

조건 1 : TR_H < TH2_HCondition 1: TR_H <TH2_H

조건 2 : TR_V < TH2_VCondition 2: TR_V <TH2_V

즉, 상기 TR_H와 TR_V가 모두 기 설정된 각각의 제 2 임계값 TH2_H 및 TH2_V보다 작으면 상기 블랭크 영상 판단부(102)는 현재 영상을 블랭크 영상으로 판단하고 블랭크 신호를 '1'로 설정한 후 버퍼 제어부(104)로 출력한다(단계 204). 상기 버퍼 제어부(104)는 상기 블랭크 신호가 '1'이면 이에 해당되는 썸네일 영상이 이용되지 않도록 제어한다(단계 205).That is, when both TR_H and TR_V are smaller than each of the preset second thresholds TH2_H and TH2_V, the blank image determiner 102 determines the current image as a blank image, sets the blank signal to '1', and then buffers it. Output to control unit 104 (step 204). If the blank signal is '1', the buffer controller 104 controls not to use a thumbnail image corresponding thereto (step 205).

본 발명의 실시예에서는 제 2 가로, 세로 임계값 TH2_H와 TH2_V를 역시 실제 MPEG 비디오에 대한 실험 결과에 근거하여 각각 h_size/8과 v_size/8로 설정하였으며 이는 h_size와 v_size의 하위 3비트를 제외한 상위 5비트의 값만을 이용하여 비교 연산을 함으로써 쉽게 구현된다. 상기된 1920x1088의 해상도를 갖는 HD급 비디오를 예로 들면, TH2_H와 TH2_V는 각각 30(=240/8)과 17(=136/8)로 설정된다. 즉, 가로 성분의 복잡도 TR_H가 30보다 작고, 세로 성분의 복잡도 TR_V가 17보다 작으면 상기 DC 영상은 블랭크 영상으로 판단하고, 상기 DC 영상으로부터는 썸네일 영상을 생성하지 않는다.In the embodiment of the present invention, the second horizontal and vertical thresholds TH2_H and TH2_V are also set to h_size / 8 and v_size / 8, respectively, based on the experimental results of the actual MPEG video, which is higher than the lower 3 bits of h_size and v_size. It is easily implemented by performing comparison operation using only 5-bit values. For example, in the above-described HD video having a resolution of 1920x1088, TH2_H and TH2_V are set to 30 (= 240/8) and 17 (= 136/8), respectively. That is, when the complexity TR_H of the horizontal component is less than 30 and the complexity TR_V of the vertical component is less than 17, the DC image is determined to be a blank image, and a thumbnail image is not generated from the DC image.

결과적으로 I 픽처의 Y 성분에 해당되는 DC 값을 이용하여 현재 영상의 복잡도를 계산한 후, 상기 수학식 1의 두 가지 조건 중 하나라도 만족할 경우에 현재 영상은 블랭크 영상으로 결정되고, 두 가지를 다 만족하지 않더라도 상기 수학식 2의 두 가지 조건을 모두 만족하는 경우에 현재 영상은 블랭크 영상으로 결정되며 이때는 이에 해당되는 썸네일 영상은 사용하지 않는다. As a result, after calculating the complexity of the current image using a DC value corresponding to the Y component of the I picture, and if any one of the two conditions of Equation 1 is satisfied, the current image is determined as a blank image, two Although not satisfied, the current image is determined to be a blank image when both conditions of Equation 2 are satisfied. In this case, a thumbnail image corresponding thereto is not used.

본 발명은 상기 제 1 가로 및 세로 방향의 임계값과 제 2 가로 및 세로 방향의 임계값을 각각 h_size/16, v_size/16, h_size/8, 및 v_size/8로 설정하였으나, 이는 실험의 결과로서 하나의 실시예일 뿐이며, 설계자에 의해 달라질 수 있으므로 상기 실시예로 제시한 것에 제한되지 않을 것이다. In the present invention, the threshold values in the first horizontal and vertical directions and the threshold values in the second horizontal and vertical directions are set to h_size / 16, v_size / 16, h_size / 8, and v_size / 8, respectively. It is just one embodiment, and may vary by designer, and thus the present invention is not limited thereto.

한편, 상기 단계 203과 단계 206의 조건을 만족하지 못하면 즉, 가로 및 세로 성분의 복잡도 TR_H, TR_V가 모두 제 1 임계값 TH1_H, TH1_V보다 각각 크고, 또한 상기 TR_H와 TR_V가 제 2 임계값 TH2_H 및 TH2_V보다 작지 않다면 상기 블랭크 영상 판단부(102)는 현재 영상을 블랭크 영상이 아니라고 판단하고 블랭크 신호를 '0'으로 하여 버퍼 제어부(104)로 출력한다(단계 207). 상기 버퍼 제어부(104)는 상기 블랭크 신호가 '0'이면 이에 해당되는 썸네일 영상이 이용될 수 있도록 제어한다(단계 208).On the other hand, if the conditions of step 203 and step 206 are not satisfied, that is, the complexity of the horizontal and vertical components, TR_H and TR_V, are both greater than the first thresholds TH1_H and TH1_V, respectively, and the TR_H and TR_V are the second thresholds TH2_H If it is not less than TH2_V, the blank image determination unit 102 determines that the current image is not the blank image and outputs the blank signal to the buffer controller 104 as '0' (step 207). If the blank signal is '0', the buffer controller 104 controls a thumbnail image corresponding thereto to be used (step 208).

도 3은 도 2의 해당 DC 영상에 대한 가로 성분의 영상 복잡도 TR_H와 세로 성분의 영상 복잡도 TR_V를 계산하는 과정의 일 예를 보인 흐름도이다.3 is a flowchart illustrating an example of a process of calculating an image complexity TR_H of a horizontal component and an image complexity TR_V of a vertical component of a corresponding DC image of FIG. 2.

먼저, 상기 TR_H와 TR_V는 영상의 첫 DC 값이 입력되기 전에 0으로 초기화되며 이후 DC 값이 입력되고(단계 301), 입력된 DC 값이 하기의 수학식 3의 조건을 만족하면 각각 1씩 증가된다(단계 302).First, the TR_H and TR_V are initialized to 0 before the first DC value of the image is input, and then the DC value is input (step 301). When the input DC value satisfies the following Equation 3, each of them increases by one. (Step 302).

TR_H=TR_H+1, if Q(f(i,j)) ≠Q(f(i,j-1));TR_H = TR_H + 1, if Q (f (i, j)) ≠ Q (f (i, j-1));

TR_V=TR_V+1, if Q(f(i,j)) ≠Q(f(i-1,j));TR_V = TR_V + 1, if Q (f (i, j)) ≠ Q (f (i-1, j));

즉, DC 영상에서 가로 방향으로 인접한 두 DC 값의 차이가 발생할 경우에는 TR_H를 증가시키고, 세로 방향으로 인접한 두 DC 값의 차이가 발생한 경우에는 TR_V를 증가시킨다.That is, TR_H is increased when there is a difference between two adjacent DC values in the DC image, and TR_V is increased when a difference between two adjacent DC values in the vertical direction occurs.

상기 수학식 3에서 f(i,j)는 입력된 DC 영상의 화소값(예를 들면, 각 Y 블록의 DC 값)을 의미하고, i와 j는 각각 세로 및 가로 좌표를 의미하며, Q(.)는 미리 설정한 양자화 함수로써 본 발명에서는 실시예로 매개변수를 8로 나눔을 의미한다. 따라서, DC 영상의 각 화소값은 양자화 함수에 의하여 하위 3비트를 제외한 상위 5비트에 해당하는 값에 대하여 비교 연산을 수행한다. 이는 하위 비트에서의 작은 차이가 실제 육안으로는 큰 차이를 느끼지 못하기 때문이며, 그래서 하위 비트들을 비교 연산에 이용하지 않는 것이다. In Equation 3, f (i, j) denotes a pixel value (eg, DC value of each Y block) of an input DC image, i and j respectively mean vertical and horizontal coordinates, and Q ( .) Is a preset quantization function, which means that the parameter is divided by 8 according to an embodiment of the present invention. Therefore, each pixel value of the DC image is compared with a value corresponding to the upper 5 bits except the lower 3 bits by a quantization function. This is because a small difference in the lower bits does not really make a big difference to the naked eye, so the lower bits are not used for the comparison operation.

그리고 상기 비교 연산을 통해 가로 또는 세로로 연속된 두 화소값이 서로 다른 경우 TR_H 또는 TR_V를 증가시킨다. 상기된 양자화 함수 Q(.)는 매개변수를 8로 나누는 것을 실시예로 하였으나, 이는 설계자에 의해 4(즉, 하위 2비트를 제외한 상위 6비트에 해당하는 값만을 비교 연산에 이용)로 나누거나 16(즉, 하위 4비트를 제외한 상위 4비트에 해당하는 값만을 비교 연산에 이용) 등으로 나눌 수도 있으므로 상기 실시예로 제시한 것에 제한되지 않을 것이다. When the two consecutive pixel values are different from each other through the comparison operation, TR_H or TR_V is increased. The quantization function Q (.) Described above divides the parameter by 8, but this is divided by 4 by the designer (i.e., only the values corresponding to the upper 6 bits except the lower 2 bits are used for the comparison operation) or 16 (that is, only the value corresponding to the upper 4 bits except the lower 4 bits may be used for the comparison operation) and the like, and thus the present invention will not be limited to the example described above.

이때, 비교 과정은 먼저, 가로 방향의 두 화소값의 차이를 비교하고, 한 라인의 비교가 끝나면 다시 현재 라인의 가로 방향의 두 화소값의 차이를 비교하면서 동시에 이전 라인과 현재 라인의 세로 방향의 두 화소값의 차이를 비교하는 과정을 DC 영상의 끝이 검출될 때까지 수행된다.At this time, the comparison process first compares the difference between the two pixel values in the horizontal direction, and after comparing the one line, compares the difference between the two pixel values in the horizontal direction of the current line and at the same time the vertical direction of the previous line and the current line. The process of comparing the difference between the two pixel values is performed until the end of the DC image is detected.

즉, 상기 단계 302에서 가로 방향으로 이웃하는 두 화소값이 서로 다르면 가로 방향의 영상 복잡도 TR_H를 1 증가시키고, 그렇지 않으면 이전 값을 그대로 유지한다. 또한, 세로 방향으로 이웃하는 두 화소값이 서로 다르면 세로 방향의 영상 복잡도 TR_V를 1 증가시키고, 그렇지 않으면 이전 값을 그대로 유지한다.That is, in step 302, if two neighboring pixel values in the horizontal direction are different from each other, the image complexity TR_H in the horizontal direction is increased by one, otherwise, the previous value is maintained as it is. In addition, when two neighboring pixel values in the vertical direction are different from each other, the image complexity TR_V in the vertical direction is increased by one, otherwise the previous value is maintained as it is.

그리고 나서, 라인의 끝인지를 판별하여(단계 303), 끝이 아니면 해당 라인에서 다음 화소와의 비교를 위해 j를 1 증가시킨 후(j=j+1), 상기 단계 301로 되돌아가 상기된 단계들을 반복 수행하고(단계 304), 라인의 끝이면 DC 영상의 끝인지를 판별한다(단계 305). 상기 단계 305에서 DC 영상의 끝이 아니라고 판별되면 다음 라인의 비교를 위해 j=0으로 초기화, i는 1 증가시킨 후 상기 단계 301로 되돌아가 상기된 단계들을 반복 수행한다(단계 306).Then, it is determined whether it is the end of the line (step 303), and if it is not the end, j is increased by 1 for comparison with the next pixel in the line (j = j + 1), and then the process returns to the step 301 as described above. Steps are repeated (step 304), and if it is the end of the line, it is determined whether it is the end of the DC image (step 305). If it is determined in step 305 that it is not the end of the DC image, it is initialized to j = 0 for comparison of the next line, i increases by 1 and then returns to step 301 to repeat the above steps (step 306).

이때, 상기 블랭크 영상 판단부(102)에는 가로 방향의 영상 복잡도 TR_H를 계산하기 위해서는 가로 방향으로 발생하는 이전 DC 값과의 비교가 필요하므로 한 개의 이전 DC 값을 저장할 임시 버퍼가 필요하다. 또한 세로 방향의 영상 복잡도 TR_V의 계산을 위해서는 세로 방향으로 발생하는 이전의 DC 값이 필요하므로 한 개의 라인 분량의 데이터를 저장할 임시 버퍼가 필요하다. In this case, the blank image determining unit 102 needs a temporary buffer to store one previous DC value because a comparison with the previous DC value generated in the horizontal direction is necessary to calculate the image complexity TR_H in the horizontal direction. In addition, in order to calculate the vertical image complexity TR_V, a previous DC value generated in the vertical direction is required, so a temporary buffer for storing one line of data is required.

따라서, 본 발명에 의한 썸네일 영상 생성 장치의 블랭크 영상 판단부(102)에서 필요한 임시 버퍼의 최소 크기는 (h_size + 1) * 5비트이다. 여기서, 상기 (h_size + 1)는 세로 방향의 영상 복잡도 TR_V를 계산하기 위해 필요한 임시 버퍼(103)의 한 라인 크기이다. 그리고, 상기 가로 방향의 영상 복잡도 TR_H를 계산하기 위해 한 개의 이전 DC 값을 저장하기 위한 임시 버퍼(103)의 크기를 5비트로 하는 이유는 화소의 비교 연산시 하위 3비트를 제외하므로 실제로 필요한 유효 데이터는 5 비트이기 때문이다. Therefore, the minimum size of the temporary buffer required by the blank image determining unit 102 of the thumbnail image generating apparatus according to the present invention is (h_size + 1) * 5 bits. Here, (h_size + 1) is one line size of the temporary buffer 103 necessary for calculating the vertical image complexity TR_V. The reason why the size of the temporary buffer 103 for storing one previous DC value is 5 bits in order to calculate the image complexity TR_H in the horizontal direction is because the lower 3 bits are excluded in the comparison operation of the pixels. Is because it is 5 bits.

그리고, 상기 단계 305에서 DC 영상의 끝이라고 판별되면 즉, 현재 영상의 마지막 DC 값이 입력되면 TR_H와 TR_V를 각각 (v_size-1)과 (h_size-1)로 나누어준다(즉, )(단계 307). 결과적으로 TR_H와 TR_V는 가로 방향 및 세로 방향으로 인접한 화소의 차이 발생 빈도의 평균값을 의미하며 본 발명에서 현재 영상의 텍스쳐의 복잡도를 판단하기 위한 매개변수로 사용된다.If it is determined in step 305 that the DC image is the end, that is, when the last DC value of the current image is input, TR_H and TR_V are divided into (v_size-1) and (h_size-1), respectively (ie ) (Step 307). As a result, TR_H and TR_V mean an average value of difference occurrence frequencies of adjacent pixels in the horizontal direction and the vertical direction, and are used as parameters in the present invention to determine the complexity of the texture of the current image.

한편, 상기된 과정을 거쳐 현재 영상이 블랭크로 결정되면 PVR 혹은 기타 썸네일 영상을 이용하는 시스템에서 소프트웨어 혹은 하드웨어적인 방법을 통해 해당 영상의 썸네일 영상을 디스플레이하지 않도록 해야 한다. 예를 들어 현재 썸네일 영상이 블랭크인 경우, 썸네일 전용 메모리에서 현재 썸네일 영상이 이미 저장되어 있는 위치에 다음 썸네일 영상을 오버라이트(overwrite)하는 등의 방법을 사용할 수 있으며 또는, 블랭크 벡터 등을 이용하여 블랭크 값이 '0'인 썸네일만 소프트웨어적으로 선별하여 썸네일 디스플레이 혹은 기타 응용 분야에 사용할 수 있도록 할 수 있다.On the other hand, if the current image is determined to be blank through the above-described process, the system using the PVR or other thumbnail image should not display the thumbnail image of the corresponding image through software or hardware methods. For example, if the current thumbnail image is blank, a method such as overwriting the next thumbnail image in a location where the current thumbnail image is already stored in the thumbnail dedicated memory may be used, or by using a blank vector or the like. Only thumbnails with a blank value of '0' can be software-selected for use in thumbnail displays or other applications.

도 4는 본 발명에서 현재 영상이 블랭크 영상으로 판별되었을 경우에 썸네일 전용 메모리의 주소값을 이용한 썸네일 영상 제어 방법의 일 실시예를 나타낸 것으로서, 도 4a는 동작 흐름도이고, 도 4b는 상기 썸네일 전용 메모리의 맵 상태를 보이고 있다.FIG. 4 illustrates an embodiment of a thumbnail image control method using an address value of a thumbnail dedicated memory when the current image is determined to be a blank image. FIG. 4A is an operation flowchart and FIG. 4B is a thumbnail dedicated memory. The map state is showing.

즉, 단계 401에서 BLANK 신호가 '1'인지를 판별하여 '1'이면 블랭크 영상으로 판별하여 단계 402로 진행하고, '0'이면 블랭크 영상이 아니라고 판별하여 단계 403으로 진행한다.That is, in step 401, it is determined whether the BLANK signal is '1'. If it is '1', it is determined as a blank image, and if it is '0', it is determined that it is not a blank image.

상기 단계 402,403에서 ThmAddrStart는 다음에 발생하는 썸네일 영상이 저장되는 썸네일 전용 메모리에서의 시작 번지를 의미한다. CurrThmStart는 썸네일 전용 메모리 내에서 현재 이미 저장되어 있는 썸네일 영상의 시작 번지를 나타낸다. ThmPictSize는 각각의 썸네일의 크기를 의미하는 것으로 썸네일 전용 메모리 내에서 각각의 썸네일 영상이 차지하는 공간의 크기를 나타낸다. 즉, 현재 영상이 최종적으로 블랭크로 결정될 경우, 이미 썸네일 전용 메모리에는 현재 영상에 대한 썸네일이 저장되어 있는 상태다. 그 이유는 슬라이스 단위로 썸네일을 저장하기 때문이다. 다시 말해 현재 영상의 마지막 슬라이스가 종료하기 전에는 그 영상의 블랭크 여부를 결정할 수 없으며 이미 그전의 슬라이스들에 해당되는 DC 값은 썸네일 전용 메모리에 저장되어 있기 때문이다. In step 402 and 403, ThmAddrStart refers to a start address in a thumbnail dedicated memory in which a thumbnail image to be generated next is stored. CurrThmStart represents the start address of the thumbnail image currently stored in the thumbnail dedicated memory. ThmPictSize refers to the size of each thumbnail and represents the size of the space occupied by each thumbnail image in the thumbnail dedicated memory. That is, when the current video is finally determined as a blank, the thumbnail for the current video is already stored in the thumbnail dedicated memory. This is because thumbnails are stored in slices. In other words, it is not possible to determine whether to blank the image until the last slice of the current image is finished, and the DC values corresponding to the slices of the previous image are already stored in the thumbnail dedicated memory.

따라서, 상기 단계 401에서 현재 영상이 블랭크로 결정되면, 단계 402는 다음 썸네일 영상을 현재의 썸네일 영상이 저장되어 있는 썸네일 전용 메모리 공간에 오버라이트함으로써, 블랭크로 판별된 영상으로부터 생성된 썸네일 영상이 이용되지 않게 한다(ThmAddrStart=CurrThmStart). 이 경우 블랭크가 아닌 썸네일 영상만을 썸네일 전용 메모리에 저장할 수 있으므로 메모리의 효율성을 높일 수 있다. 예를 들어, 2번째, 4번째 영상이 블랭크 영상으로 판단되었다고 가정하면, 원래 2번째 영상에 해당하는 썸네일 영상이 저장된 위치에 3번째 영상에 해당하는 썸네일 영상이 오버라이트되고, 원래 4번째 영상에 해당하는 썸네일 영상이 저장된 위치에 5번째 영상에 해당하는 썸네일 영상이 오버라이트된다. 결국, 도 4b와 같이 2번째, 4번째 영상에 대한 썸네일 영상이 썸네일 전용 메모리에서 삭제되는 것과 같은 효과를 얻는다.Therefore, if the current image is determined to be blank in step 401, step 402 overwrites the next thumbnail image to a thumbnail dedicated memory space in which the current thumbnail image is stored, thereby using the thumbnail image generated from the image determined as blank. (ThmAddrStart = CurrThmStart). In this case, only thumbnail images, not blanks, may be stored in the thumbnail dedicated memory, thereby increasing memory efficiency. For example, assuming that the second and fourth images are determined to be blank images, the thumbnail image corresponding to the third image is overwritten at the position where the thumbnail image corresponding to the second image is stored, and the original fourth image is overwritten. The thumbnail image corresponding to the fifth image is overwritten at the position where the corresponding thumbnail image is stored. As a result, as shown in FIG. 4B, the thumbnail images for the second and fourth images are deleted in the thumbnail dedicated memory.

그런데, 이러한 방법은 각 썸네일의 ID를 따로 저장할 수 있는 공간을 마련해야 한다. 즉, 현재 썸네일 전용 메모리에 어떤 썸네일이 저장되어 있는지를 나타내는 리스트를 별도로 마련해야 한다. 썸네일 ID란 생성된 썸네일이 원래 비디오에서 어느 영상으로부터 추출되었는가를 나타낸다.However, this method should provide a space for storing IDs of each thumbnail separately. That is, a list indicating which thumbnails are currently stored in the thumbnail dedicated memory must be separately prepared. The thumbnail ID indicates from which image in the original video the generated thumbnail is extracted.

그리고, 상기 단계 401에서 현재 영상이 블랭크 영상으로 판별되지 않으면 다음 썸네일 영상이 저장되는 썸네일 전용 메모리에서의 시작 번지(ThmAddrStart)는 썸네일 전용 메모리 내에서 현재 이미 저장되어 있는 썸네일 영상의 시작 번지(CurrThmStart)에 각각의 썸네일 영상이 차지하는 공간의 크기(ThmPictSize)를 더한 값이 된다(ThmAddrStart=CurrThmStart+ThmPictSize).If the current image is not determined as the blank image in step 401, the start address (ThmAddrStart) in the thumbnail dedicated memory in which the next thumbnail image is stored is the start address of the currently stored thumbnail image in the thumbnail dedicated memory (CurrThmStart). The sum of the space (ThmPictSize) occupied by each thumbnail image is equal to (ThmAddrStart = CurrThmStart + ThmPictSize).

한편, 도 4와 같이 현재 썸네일 전용 메모리에 어떤 썸네일이 저장되어 있는지를 나타내는 리스트를 사용하지 않고 단순히 블랭크 벡터를 둘 경우, 썸네일 ID 관리가 편해질 수도 있다. On the other hand, if a blank vector is simply placed without using a list indicating which thumbnails are currently stored in the thumbnail dedicated memory as shown in FIG. 4, thumbnail ID management may be easier.

도 5는 본 발명에 의한 썸네일 영상 생성 장치에서의 블랭크 영상 발생시 블랭크 벡터를 사용한 제어 방법의 일 실시예를 나타낸 것으로서, 도 5a는 동작 흐름도이고, 도 5b는 이때의 썸네일 전용 메모리의 맵 상태와 블랭크 벡터를 이용하여 썸네일 전용 메모리에 저장된 각 썸네일 영상의 블랭크 여부를 나타내고 있다. 즉, 생성되는 썸네일 영상을 도 5b와 같이 모두 썸네일 전용 메모리에 저장하고 각각의 썸네일에 해당되는 블랭크 신호의 값을 블랭크 벡터에 같이 저장하는 방식이다. 만약 N개의 썸네일 영상을 썸네일 전용 메모리에 저장하는 경우, N비트 크기의 블랭크 벡터가 필요하다. 각 비트는 그 순서에 해당하는 썸네일 영상의 블랭크 여부를 의미한다. 예를 들어 블랭크 벡터의 n번째 비트가 '0'이고 m번째 비트가 '1'이라면 n번째 썸네일 영상은 사용 가능하며 m번째 썸네일 영상은 블랭크 영상이므로 사용하지 않는다. 5 is a view illustrating an embodiment of a control method using a blank vector when a blank image is generated in the thumbnail image generating apparatus according to the present invention. FIG. 5A is an operation flowchart, and FIG. 5B is a map state and a blank of a thumbnail dedicated memory at this time. A vector is used to indicate whether each thumbnail image stored in the thumbnail dedicated memory is blank. That is, as shown in FIG. 5B, all of the generated thumbnail images are stored in a dedicated memory of a thumbnail, and a value of a blank signal corresponding to each thumbnail is stored together in a blank vector. If the N thumbnail images are stored in the thumbnail dedicated memory, a blank vector of size N bits is required. Each bit indicates whether a thumbnail image corresponding to the sequence is blank. For example, if the n th bit of the blank vector is '0' and the m th bit is '1', the n th thumbnail image is available and the m th thumbnail image is not used because it is a blank image.

이러한 과정을 도 5a에 도시하였다. 도 5a에서는 실시예로 현재 영상이 블랭크로 판별되면 블랭크 벡터 값을 1로 설정하고, 블랭크가 아니라고 판별되면 상기 블랭크 벡터 값을 0으로 설정한다. This process is illustrated in Figure 5a. In FIG. 5A, when the current image is determined to be blank, the blank vector value is set to 1, and when not determined to be blank, the blank vector value is set to 0.

즉, 단계 501에서 i번째 블랭크 벡터가 1인지, 0인지를 판별하여 1이면 상기 i번째 블랭크 벡터에 대응하는 썸네일 영상은 화면 상에 디스플레이시키지 않는다(단계 502). 또한, 상기 단계 501에서 0으로 판별되면 상기 i번째 블랭크 벡터에 대응하는 썸네일 영상은 화면 상에 디스플레이시킨다(단계 503). 상기 단계 502 또는 503가 수행되고 나면 i 값을 1 증가시킨 후(단계 504), 상기 i 값이 N이 아니면(단계 505), 썸네일 전용 메모리의 끝이 아니므로 단계 501로 되돌아가 i+1번째 블크 벡터 값을 추출한다. 만일, 상기 단계 504로 판별되면 썸네일 전용 메모리의 끝이므로 처음으로 이동하거나 프로그램을 종료시킨다.That is, in step 501, it is determined whether the i-th blank vector is 1 or 0, and if it is 1, a thumbnail image corresponding to the i-th blank vector is not displayed on the screen (step 502). In addition, if it is determined as 0 in step 501, a thumbnail image corresponding to the i-th blank vector is displayed on the screen (step 503). After the step 502 or 503 is performed, the value of i is increased by one (step 504), and if the value of i is not N (step 505), it is not the end of the thumbnail dedicated memory, so the process returns to step 501 where i + 1th Extract the black vector value. If it is determined in step 504, the end of the thumbnail dedicated memory moves to the beginning or terminates the program.

이와 같이 상기된 도 5의 방법을 이용할 경우, 썸네일 영상을 사용하고자 하는 시스템은 썸네일 전용 메모리에서 썸네일을 읽을 때 블랭크 벡터를 참조하여 각 썸네일 영상의 사용 여부를 알 수 있다. 이 경우 미리 시스템에서 결정한 규칙에 의하여 일괄적으로 생성된 썸네일이 각 영상의 블랭크 여부에 관계없이 모두 썸네일 전용 메모리에 저장되어 있으므로 별도의 썸네일 ID 관리가 필요 없는 장점이 있다.As described above, when using the method of FIG. 5, the system that wants to use the thumbnail image may know whether to use each thumbnail image by referring to the blank vector when reading the thumbnail from the thumbnail dedicated memory. In this case, since thumbnails generated collectively according to a rule determined in advance by the system are all stored in a thumbnail dedicated memory regardless of whether each image is blank, there is an advantage that no separate thumbnail ID management is required.

따라서, 본 발명은 디지털 TV에 장착된 PVR 또는 비디오 라이브러리 및 브라우저 등에서 제공하는 비디오 스트림에 대한 내용 요약, 프로그램 프리뷰, 프로그램 가이드의 대표 영상 생성 기능 및 비디오에 대한 함축적 정보 전달에 관련된 기타 응용 분야 등에 적용하면, 사용자에게 효과적이고 자동적인 썸네일 영상을 제공할 수 있게 된다.Therefore, the present invention is applied to a summary of a video stream provided by a PVR or a video library and a browser installed in a digital TV, a program preview, a representative image generation function of a program guide, and other application fields related to implicit information delivery of a video. As a result, an effective and automatic thumbnail image can be provided to the user.

이상에서와 같이 본 발명에 따른 디지털 비디오의 썸네일 영상 생성 장치에 의하면, 입력되는 MPEG 비디오 스트림의 I 픽처의 DC 값을 이용하여 썸네일 영상을 생성하며 이 과정에서 썸네일 영상의 복잡도를 분석하여 영상의 블랭크 여부를 판단한다. 이때, 입력 영상이 블랭크로 결정될 경우 상기 블랭크로 결정된 영상으로부터 썸네일을 생성하지 않거나, 생성된 썸네일을 사용하지 않는다. 따라서, 사용자에게는 블랭크가 아닌 내용적으로 의미 있는 영상만을 썸네일로 제공할 수 있게 된다.As described above, according to the apparatus for generating a thumbnail image of a digital video according to the present invention, a thumbnail image is generated using a DC value of an I picture of an input MPEG video stream, and in this process, the complexity of the thumbnail image is analyzed to blank the image. Determine whether or not. In this case, when the input image is determined to be blank, no thumbnail is generated from the image determined by the blank, or the generated thumbnail is not used. Therefore, the user can provide only thumbnails that are meaningful in content, not blank.

특히, 본 발명은 실제 방송에서 수신되는 비디오 스트림에서 발생할 수 있는 과도한 줌 또는 클로즈업에 의한 무의미한 영상, 조명 조건 등에 기인한 저휘도 영상과 같이 복잡도가 매우 낮아 대표 영상으로서 내용 전달이 어려운 영상 등으로부터 생성된 썸네일 영상의 사용을 방지할 수 있는 효과가 있으며, 사용자로 하여금 보다 의미 있고 명확한 썸네일 영상을 자동적으로 획득할 수 있게 한다.In particular, the present invention is generated from an image that is difficult to deliver the content as a representative image, such as a low complexity image due to the meaningless image due to excessive zoom or close-up that may occur in the video stream received in the actual broadcast, low brightness image due to lighting conditions, etc. There is an effect that can prevent the use of the thumbnail image, which enables the user to automatically obtain a more meaningful and clear thumbnail image.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 이탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다. Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

도 1은 본 발명에 의한 썸네일 영상 생성 장치의 일 실시예를 보인 구성 블록도1 is a block diagram showing an embodiment of a thumbnail image generating apparatus according to the present invention

도 2는 본 발명에 의한 썸네일 영상 생성 장치 중 블랭크 영상 판단부의 일 실시예를 보인 동작 흐름도2 is a flowchart illustrating an embodiment of a blank image determining unit of a thumbnail image generating apparatus according to the present invention;

도 3은 본 발명에 의한 썸네일 영상 생성 장치의 블랭크 영상 판단부에서 TR_H와 TR_V를 계산하는 과정을 나타낸 흐름도3 is a flowchart illustrating a process of calculating TR_H and TR_V in a blank image determination unit of a thumbnail image generating apparatus according to the present invention.

도 4a는 본 발명에 의한 썸네일 영상 생성 장치에서의 블랭크 영상 발생시 썸네일 전용 메모리의 주소값을 이용한 썸네일 영상 제어 방법의 일 실시예를 나타낸 흐름도4A is a flowchart illustrating an embodiment of a method of controlling a thumbnail image using an address value of a thumbnail dedicated memory when a blank image is generated in the thumbnail image generating apparatus according to the present invention.

도 4b는 도 4a에서의 썸네일 전용 메모리의 맵 상태를 보인 도면 4B is a view illustrating a map state of a thumbnail dedicated memory in FIG. 4A.

도 5a는 본 발명에 의한 썸네일 영상 생성 장치에서의 블랭크 영상 발생시 블랭크 벡터를 사용한 제어 방법의 일 실시예를 나타낸 흐름도5A is a flowchart illustrating an embodiment of a control method using a blank vector when generating a blank image in a thumbnail image generating apparatus according to the present invention;

도 5b는 도 5a에서의 썸네일 전용 메모리의 맵 상태 및 블랭크 벡터를 이용하여 썸네일 전용 메모리에 저장된 각 썸네일 영상의 블랭크 여부를 나타내는 일 실시예를 보인 도면FIG. 5B is a diagram illustrating an embodiment of whether each thumbnail image stored in the thumbnail dedicated memory is blank by using the map state and the blank vector of the thumbnail dedicated memory in FIG. 5A; FIG.

도면의 주요부분에 대한 부호의 설명Explanation of symbols for main parts of the drawings

101 : DC 디코더 102 : 블랭크 영상 판단부101: DC decoder 102: blank image determination unit

103 : 임시 버퍼 104 : 버퍼 제어기103: temporary buffer 104: buffer controller

105 : 썸네일 메모리 인터페이스105: thumbnail memory interface

Claims (15)

입력되는 비디오 스트림으로부터 I 픽처의 DC값만을 파싱하는 DC 디코더;A DC decoder for parsing only a DC value of an I picture from an input video stream; 상기 DC 디코더에서 출력되는 DC 값들을 저장하는 임시 버퍼;A temporary buffer for storing DC values output from the DC decoder; 상기 임시 버퍼에서 슬라이스 단위로 출력되는 DC 값을 입력받아 썸네일 영상을 생성하고 저장하는 메모리;A memory configured to receive a DC value output in units of slices from the temporary buffer to generate and store a thumbnail image; 상기 DC 디코더에서 출력되는 DC 값에 의해 생성되는 DC 영상의 가로 및 세로 방향의 영상 복잡도를 각각 계산하고, 계산된 가로 및 세로 방향의 영상 복잡도와 미리 설정한 가로 및 세로 방향의 임계값을 각각 비교하여 상기 I 픽처가 블랭크 영상인지 여부를 판별하는 블랭크 영상 판단부; 그리고Calculate the horizontal and vertical image complexity of the DC image generated by the DC value output from the DC decoder, and compare the calculated horizontal and vertical image complexity with the preset horizontal and vertical thresholds, respectively. A blank image determination unit to determine whether the I picture is a blank image; And 상기 임시 버퍼에의 DC 값 저장 및 출력을 제어하고, 상기 블랭크 영상 판단부에서 블랭크 영상으로 판별하면 상기 메모리에 저장된 해당 썸네일 영상이 이용되지 않도록 제어하는 버퍼 제어부를 포함하여 구성되는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.And a buffer controller for controlling the storage and output of the DC value in the temporary buffer, and controlling not to use the corresponding thumbnail image stored in the memory when the blank image determination unit determines the blank image. Device for generating thumbnail images of video. 제 1 항에 있어서, 상기 블랭크 영상 판단부는The method of claim 1, wherein the blank image determination unit 상기 DC 디코더에서 출력되는 Y 성분의 DC 값만을 이용하여 해당 DC 영상의 가로 및 세로 방향의 영상 복잡도를 계산하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.An apparatus for generating thumbnail images of digital video, comprising calculating horizontal and vertical image complexity of a corresponding DC image using only the DC value of the Y component output from the DC decoder. 제 1 항에 있어서, 상기 블랭크 영상 판단부는The method of claim 1, wherein the blank image determination unit 상기 DC 디코더에서 출력되는 Y 성분의 DC 값과 CbCr 성분의 DC 값의 조합을 이용하여 해당 DC 영상의 가로 및 세로 방향의 영상 복잡도를 계산하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.And a horizontal and vertical image complexity of the corresponding DC image is calculated using a combination of the DC value of the Y component and the DC value of the CbCr component output from the DC decoder. 제 1 항에 있어서, 상기 블랭크 영상 판단부는The method of claim 1, wherein the blank image determination unit 하나의 DC 영상에 대한 가로 및 세로 방향의 영상 복잡도가 계산되면 상기 계산된 가로 방향의 영상 복잡도가 미리 설정한 제 1 가로 방향 임계값보다 작은지 큰지 그리고, 상기 세로 방향의 영상 복잡도가 미리 설정한 제 1 세로 방향 임계값보다 작은지 큰지를 비교한 후 비교 결과에 따라 상기 I 픽처가 블랭크 영상인지를 판별하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.When the horizontal and vertical image complexity of one DC image is calculated, whether the calculated horizontal image complexity is less than or greater than a preset first horizontal threshold value, and the vertical image complexity is preset. And determining whether the I picture is a blank image according to a comparison result after comparing whether the first vertical threshold value is smaller or larger than the first vertical threshold value. 제 4 항에 있어서, 상기 블랭크 영상 판단부는The method of claim 4, wherein the blank image determination unit 상기 계산된 가로 방향의 영상 복잡도가 미리 설정한 제 1 가로 방향 임계값보다 작거나 및/또는 상기 세로 방향의 영상 복잡도가 미리 설정한 제 1 세로 방향 임계값보다 작으면 상기 I 픽처를 블랭크 영상으로 판별하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.If the calculated image complexity in the horizontal direction is less than the first horizontal threshold value preset and / or the image complexity in the vertical direction is smaller than the first vertical threshold value preset, the I picture is a blank image. The apparatus for generating a thumbnail image of digital video, characterized in that the discriminating. 제 4 항에 있어서, The method of claim 4, wherein 상기 제 1 가로 방향 임계값은 DC 영상의 가로 방향의 사이즈를 24으로 나눈 값으로 설정되고, 상기 제 1 세로 방향 임계값은 DC 영상의 세로 방향의 사이즈를 24으로 나눈 값으로 설정되는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.The first horizontal threshold value is set to a value obtained by dividing the horizontal size of the DC image by 2 4 , and the first vertical threshold value is set to a value obtained by dividing the vertical size of the DC image by 2 4 . An apparatus for generating thumbnail images of digital video. 제 4 항에 있어서, 상기 블랭크 영상 판단부는The method of claim 4, wherein the blank image determination unit 상기 계산된 가로 및 세로 방향의 영상 복잡도가 미리 설정한 제 1 가로 및 세로 방향의 임계값보다 크다면 상기 계산된 가로 방향의 영상 복잡도가 미리 설정한 제 2 가로 방향 임계값보다 작은지 큰지 그리고, 상기 세로 방향의 영상 복잡도가 미리 설정한 제 2 세로 방향 임계값보다 작은지 큰지를 비교한 후 비교 결과에 따라 상기 I 픽처가 블랭크 영상인지를 판별하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.If the calculated horizontal and vertical image complexity is greater than a preset first horizontal and vertical threshold, whether the calculated horizontal image complexity is less than or greater than a preset second horizontal threshold; and And comparing whether the I picture is a blank image according to a comparison result after comparing whether the image complexity in the vertical direction is smaller than or greater than a second preset vertical threshold value. 제 7 항에 있어서, 상기 블랭크 영상 판단부는The method of claim 7, wherein the blank image determination unit 상기 계산된 가로 및 세로 방향의 영상 복잡도가 미리 설정한 제 2 가로 및 세로 방향의 임계값보다 각각 크다면 상기 I 픽처를 블랭크 영상으로 판별하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.And determining the I picture as a blank image when the calculated image complexity in the horizontal and vertical directions is greater than a preset second horizontal and vertical threshold value, respectively. 제 7 항에 있어서, The method of claim 7, wherein 상기 제 2 가로 방향 임계값은 DC 영상의 가로 방향의 사이즈를 23으로 나눈 값으로 설정되고, 상기 제 2 세로 방향 임계값은 DC 영상의 세로 방향의 사이즈를 23으로 나눈 값으로 설정되는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.The second horizontal threshold value is set to a value obtained by dividing the horizontal size of the DC image by 2 3 , and the second vertical threshold value is set to a value obtained by dividing the vertical size of the DC image by 2 3 . An apparatus for generating thumbnail images of digital video. 제 1 항에 있어서, 상기 블랭크 영상 판단부는The method of claim 1, wherein the blank image determination unit 가로 방향으로 인접한 두 DC 값이 서로 다를 경우에는 가로 방향의 영상 복잡도를 증가시키고, 세로 방향으로 인접한 두 DC 값이 서로 다를 경우에는 세로 방향의 영상 복잡도를 증가시키는 과정을 하나의 DC 영상의 모든 DC 값에 적용하여 현재 DC 영상의 가로 방향의 영상 복잡도와 세로 방향의 영상 복잡도를 각각 구하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.If two DC values in the horizontal direction are different from each other, the image complexity in the horizontal direction is increased, and if the two DC values in the vertical direction are different, the image complexity in the vertical direction is increased. Apparatus for generating a thumbnail image of the digital video, characterized in that the image complexity in the horizontal direction and the vertical image complexity of the current DC image is obtained by applying to a value. 제 10 항에 있어서, 상기 블랭크 영상 판단부는The apparatus of claim 10, wherein the blank image determiner 각 DC 값의 상위 5비트만을 비교에 이용하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.An apparatus for generating thumbnail images of digital video, characterized in that only upper 5 bits of each DC value are used for comparison. 제 10 항에 있어서, 상기 블랭크 영상 판단부는The apparatus of claim 10, wherein the blank image determiner 하기의 식을 적용하여 현재 입력되는 DC 영상의 가로 방향의 영상 복잡도(TR_H)와 세로 방향의 영상 복잡도(TR_V)를 구하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.And a horizontal image complexity (TR_H) and a vertical image complexity (TR_V) of the current DC image are obtained by applying the following equation. TR_H=TR_H+1, if Q(f(i,j)) ≠Q(f(i,j-1));TR_H = TR_H + 1, if Q (f (i, j)) ≠ Q (f (i, j-1)); TR_V=TR_V+1, if Q(f(i,j)) ≠Q(f(i-1,j));TR_V = TR_V + 1, if Q (f (i, j)) ≠ Q (f (i-1, j)); 여기서, f(i,j)는 입력된 DC 영상의 화소값을 의미하고, i와 j는 각각 세로 및 가로 좌표를 의미하며, Q(.)는 미리 설정한 양자화 함수로서, 각 화소값을 23으로 나눈 값임.Here, f (i, j) denotes pixel values of the input DC image, i and j denote vertical and horizontal coordinates, respectively, and Q (.) Is a preset quantization function. Divided by 3 제 10 항에 있어서, 상기 블랭크 영상 판단부는The apparatus of claim 10, wherein the blank image determiner 현재 DC 영상의 마지막 DC 값이 입력되면 가로 방향의 영상 복잡도는 DC 영상의 세로 방향의 사이즈로 나누고, 세로 방향의 영상 복잡도는 DC 영상의 세로 방향의 사이즈로 나누어 최종적인 가로 및 세로 방향의 영상 복잡도를 결정하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.When the last DC value of the current DC image is input, the horizontal image complexity is divided by the vertical size of the DC image, and the vertical image complexity is divided by the vertical size of the DC image. Device for generating a thumbnail image of the digital video, characterized in that for determining. 제 1 항에 있어서, 상기 버퍼 제어부는The method of claim 1, wherein the buffer control unit 입력된 I 픽처가 블랭크 영상으로 판단되면 상기 I 픽처로부터 생성된 썸네일 영상이 저장되는 있는 상기 메모리 내의 위치에 다음 I 픽처로부터 생성되는 썸네일 영상이 오버라이트되도록 제어하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.If the input I picture is determined to be a blank image, the thumbnail image of the digital video is controlled so that the thumbnail image generated from the next I picture is overwritten at a position in the memory where the thumbnail image generated from the I picture is stored. Generating device. 제 1 항에 있어서, 상기 버퍼 제어부는The method of claim 1, wherein the buffer control unit 상기 메모리에 저장 가능한 썸네일 영상의 수만큼 블랭크 벡터를 구비한 후, 블랭크 여부에 상관없이 모든 썸네일 영상을 상기 메모리에 저장하면서 상기 블랭크 영상 판단부의 판별 결과에 따라 상기 블랭크 벡터에 해당 썸네일 영상의 블랭크 유무를 표시하는 것을 특징으로 하는 디지털 비디오의 썸네일 영상 생성 장치.After having as many blank vectors as the number of thumbnail images that can be stored in the memory, whether or not a blank of a corresponding thumbnail image is included in the blank vector according to a determination result of the blank image determining unit while all thumbnail images are stored in the memory regardless of blanks. Thumbnail image generating device for digital video, characterized in that for displaying.
KR10-2002-0063867A 2002-10-18 2002-10-18 Apparatus for generating thumbnail image of digital video KR100487374B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0063867A KR100487374B1 (en) 2002-10-18 2002-10-18 Apparatus for generating thumbnail image of digital video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0063867A KR100487374B1 (en) 2002-10-18 2002-10-18 Apparatus for generating thumbnail image of digital video

Publications (2)

Publication Number Publication Date
KR20040035127A KR20040035127A (en) 2004-04-29
KR100487374B1 true KR100487374B1 (en) 2005-05-03

Family

ID=37334092

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0063867A KR100487374B1 (en) 2002-10-18 2002-10-18 Apparatus for generating thumbnail image of digital video

Country Status (1)

Country Link
KR (1) KR100487374B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100557858B1 (en) * 2003-09-27 2006-03-10 학교법인 인하학원 Apparatus and method for extracting the representative still images from MPEG video
KR100727974B1 (en) * 2005-09-10 2007-06-14 삼성전자주식회사 Method and apparatus for making thumbnails out of digital image
KR100860852B1 (en) * 2006-07-27 2008-10-02 엠텍비젼 주식회사 System and method of providing preview picture of image captured in mobile terminal apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0870430A (en) * 1994-08-29 1996-03-12 Sony Corp Reproducing device
JPH10243323A (en) * 1997-02-28 1998-09-11 Sanyo Electric Co Ltd Scene managing device, method therefor and recording medium
US5956026A (en) * 1997-12-19 1999-09-21 Sharp Laboratories Of America, Inc. Method for hierarchical summarization and browsing of digital video
US6154771A (en) * 1998-06-01 2000-11-28 Mediastra, Inc. Real-time receipt, decompression and play of compressed streaming video/hypervideo; with thumbnail display of past scenes and with replay, hyperlinking and/or recording permissively intiated retrospectively
KR20030056784A (en) * 2001-12-28 2003-07-04 엘지전자 주식회사 Thumbnail image generating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0870430A (en) * 1994-08-29 1996-03-12 Sony Corp Reproducing device
JPH10243323A (en) * 1997-02-28 1998-09-11 Sanyo Electric Co Ltd Scene managing device, method therefor and recording medium
US5956026A (en) * 1997-12-19 1999-09-21 Sharp Laboratories Of America, Inc. Method for hierarchical summarization and browsing of digital video
US6154771A (en) * 1998-06-01 2000-11-28 Mediastra, Inc. Real-time receipt, decompression and play of compressed streaming video/hypervideo; with thumbnail display of past scenes and with replay, hyperlinking and/or recording permissively intiated retrospectively
KR20030056784A (en) * 2001-12-28 2003-07-04 엘지전자 주식회사 Thumbnail image generating system

Also Published As

Publication number Publication date
KR20040035127A (en) 2004-04-29

Similar Documents

Publication Publication Date Title
KR100468967B1 (en) Thumbnail image generating system
US7085420B2 (en) Text detection in continuous tone image segments
US9576202B1 (en) Systems and methods for identifying a scene-change/non-scene-change transition between frames
US9226048B2 (en) Video delivery and control by overwriting video data
US10349077B2 (en) Image coding apparatus, image coding method, image decoding apparatus, image decoding method, and storage medium
US8036263B2 (en) Selecting key frames from video frames
US6462744B1 (en) Image decoding apparatus that performs image decoding so that frame areas that occupy a large area in a storage apparatus can be used for other purposes, and a recording medium recording an image decoding program
JP3244629B2 (en) Scene change point detection method
US11763431B2 (en) Scene-based image processing method, apparatus, smart terminal and storage medium
US9204086B2 (en) Method and apparatus for transmitting and using picture descriptive information in a frame rate conversion processor
US9275474B2 (en) Partial expansion method of encoded images and image processing apparatus
WO2010004711A1 (en) Image processing apparatus and image pickup apparatus using the image processing apparatus
JP4573957B2 (en) Image control apparatus, image control method, and television receiver
CN111510643B (en) System and method for splicing panoramic image and close-up image
JP2009284208A (en) Moving image encoder and moving image recorder
KR100487374B1 (en) Apparatus for generating thumbnail image of digital video
US20200106821A1 (en) Video processing apparatus, video conference system, and video processing method
US7254274B2 (en) Image processing apparatus and method for efficiently compressing and encoding still images and motion pictures
JPH07236153A (en) Detection of cut point of moving picture and device for detecting cut picture group
KR100487330B1 (en) Apparatus for generating thumbnail image of digital video
CN112911299B (en) Video code rate control method and device, electronic equipment and storage medium
CN106303366B (en) Video coding method and device based on regional classification coding
JP2002064823A (en) Apparatus and method for detecting scene change of compressed dynamic image as well as recording medium recording its program
KR100811405B1 (en) System for picture capture of personal video recorder
KR102343029B1 (en) method of processing compressed video by use of branching by motion vector

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
LAPS Lapse due to unpaid annual fee