KR20170082356A - Image compression device and compression method for image compression device - Google Patents
Image compression device and compression method for image compression device Download PDFInfo
- Publication number
- KR20170082356A KR20170082356A KR1020160001650A KR20160001650A KR20170082356A KR 20170082356 A KR20170082356 A KR 20170082356A KR 1020160001650 A KR1020160001650 A KR 1020160001650A KR 20160001650 A KR20160001650 A KR 20160001650A KR 20170082356 A KR20170082356 A KR 20170082356A
- Authority
- KR
- South Korea
- Prior art keywords
- index
- index signal
- image
- maximum coding
- signal
- Prior art date
Links
- 230000006835 compression Effects 0.000 title claims abstract description 48
- 238000007906 compression Methods 0.000 title claims abstract description 48
- 238000000034 method Methods 0.000 title claims description 34
- 230000001360 synchronised effect Effects 0.000 claims abstract description 19
- 238000001914 filtration Methods 0.000 claims abstract description 18
- 238000003708 edge detection Methods 0.000 claims description 22
- 239000011159 matrix material Substances 0.000 claims description 5
- 230000003247 decreasing effect Effects 0.000 claims 2
- 230000008569 process Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000006243 chemical reaction Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000004069 differentiation Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/14—Coding unit complexity, e.g. amount of activity or edge presence estimation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
본 발명의 실시 예에 따른 영상 압축 장치는 수신된 한 프레임의 이미지를 필터링을 통해 엣지 데이터를 검출하고, 서로 다른 사이즈들을 갖는 최대 코딩 유닛(Largest coding unit, LCU)들에 각각 대응하는 인덱스 신호들 중에서 초기 인덱스 신호를 결정하고, 엣지 데이터를 기반으로 인덱스 신호들을 출력하는 인덱스 판단회로, 한 프레임의 이미지와 인덱스 신호들을 동기(synchronization)시킨 동기 이미지 신호를 출력하는 지연 버퍼 회로 및 동기 이미지 신호를 기반으로 압축된 비트 스트림을 출력하는 인코딩 회로를 포함하되, 인덱스 신호들은 한 프레임의 이미지에 대응하는 최대 코딩 유닛(LCU)들의 사이즈에 대한 정보를 포함한다.The image compression apparatus according to an embodiment of the present invention detects edge data through filtering of an image of a received frame and generates index signals corresponding to LCUs having different sizes, A delay buffer circuit for outputting a synchronous image signal in which an image of one frame and an index signal are synchronized and a synchronous image signal based on the synchronous image signal, And the index signals include information on the size of the maximum coding units (LCUs) corresponding to an image of one frame.
Description
본 발명은 비디오 또는 이미지 신호의 인코딩 분야에 관한 것으로, 더 상세하게는 이미지 데이터를 인코딩하는 영상 압축 장치 및 이를 이용한 영상 압축 방법에 관한 것이다.BACKGROUND OF THE
전자 기기에 영상을 표시하기 위해, 다양한 영상 처리 방법이 이용되고 있다. 예를 들면, MPEG(Moving Picture Experts Groups)은 MPEG-1, MPEG-2 및 MPEG-4를 포함하는 다수의 표준을 개발한다. 비디오 인코딩 표준은 영상 데이터를 압축 방식으로 인코딩하여 영상 데이터의 전송 효율을 높이고 있다. H.264/AVC가 표준화될 당시에는 4K UHD(Ultra High Definition: 3840×2160)나 8K UHD(7680×4320)와 같은 초고해상도 영상에 대해서 크게 고려할 필요가 없었다. 실제 H.264/AVC의 표준 스펙을 살펴 보면 H.264/AVC가 지원하는 H.264/AVC가 지원하는 최소 해상도는 128×96이며, 최대 해상도는 4096×2304이다. 다시 말해, H.264/AVC의 표준 스펙에 따를 경우에도 H.264/AVC가 4K UHD급의 영상을 압축할 수는 있으나, 이것이 해당 해상도에서 최적의 성능을 낼 수 있다는 것을 의미하지는 않는다. Various image processing methods have been used to display images on electronic devices. For example, Moving Picture Experts Groups (MPEG) develops a number of standards, including MPEG-1, MPEG-2 and MPEG-4. The video encoding standard encodes video data in a compression format to enhance the transmission efficiency of video data. When H.264 / AVC was standardized, there was no need to consider very high resolution images such as 4K UHD (Ultra High Definition: 3840 × 2160) or 8K UHD (7680 × 4320). In the actual specification of H.264 / AVC, the minimum resolution supported by H.264 / AVC supported by H.264 / AVC is 128 × 96, and the maximum resolution is 4096 × 2304. In other words, even if H.264 / AVC conforms to H.264 / AVC standard specification, it can compress 4K UHD image, but it does not mean that it can achieve optimal performance at the resolution.
본 발명의 목적은 향상된 압축 성능을 갖는 영상 압축 장치 및 이를 이용한 영상 압축 방법을 제공하는데 있다.An object of the present invention is to provide an image compression apparatus having an improved compression performance and an image compression method using the same.
본 발명의 실시 예에 다른 영상 압축 장치는 인덱스 판단회로, 지연 버퍼 회로 및 인코딩 회로를 포함할 수 있다. 인덱스 판단회로는 수신된 한 프레임의 이미지를 필터링을 통해 엣지 데이터를 검출하고, 서로 다른 사이즈들을 갖는 최대 코딩 유닛(Largest coding unit, LCU)들에 각각 대응하는 인덱스 신호들 중에서 초기 인덱스 신호를 결정하고, 엣지 데이터를 기반으로 한 프레임의 이미지에 대응하는 최대 코딩 유닛(LCU)들의 사이즈에 대한 정보를 포함하는 인덱스 신호들을 출력한다. 지연 버퍼 회로는 한 프레임의 이미지와 인덱스 신호들을 동기(synchronization)시킨 동기 이미지 신호를 출력한다. 인코딩 회로는 동기 이미지 신호를 기반으로 압축된 비트 스트림을 출력한다.Other image compression apparatuses according to embodiments of the present invention may include an index determination circuit, a delay buffer circuit, and an encoding circuit. The index determination circuit detects the edge data through filtering of the received image of one frame and determines an initial index signal among the index signals corresponding to the respective largest coding units (LCUs) having different sizes And index signals including information on the size of the maximum coding units (LCUs) corresponding to the image of the frame based on the edge data. The delay buffer circuit outputs a synchronous image signal which synchronizes the image of one frame and the index signals. The encoding circuit outputs a compressed bitstream based on the synchronous image signal.
본 발명의 실시 예에 따르면, 영상 압축 장치는 입력 영상을 적응적인 크기를 갖는 최대 코딩 유닛(Largest coding unit, LCU)들로 분할할 수 있다. 따라서, 압축 성능이 향상된 영상 압축 장치 및 이를 이용한 영상 압축 방법이 제공된다.According to an embodiment of the present invention, an image compression apparatus can divide an input image into a large coding unit (LCU) having an adaptive size. Accordingly, an image compression apparatus with improved compression performance and an image compression method using the same are provided.
도 1은 본 발명의 실시 예에 따른 영상 압축 장치를 보여주는 블록도이다.
도 2는 본 발명의 실시 예에 따른 인덱스 판단회로의 내부 블록도이다.
도 3은 본 발명의 실시 예에 따른 엣지 검출 회로의 동작을 설명하기 위한 도면이다.
도 4는 엣지 데이터에 기반한 엣지 영상을 보여준다.
도 5는 본 발명의 실시 예에 따른 적응적인 최대 코딩 유닛(LCU)들로 분할된 한 프레임 이미지의 일부분을 보여준다.
도 6은 본 발명의 실시 예에 따른 영상 압축 장치의 영상 압축 방법을 보여주는 순서도이다.
도 7은 제 1 내지 제 11 최대 코딩 유닛들(LCU1~LCU11)이 분할되는 과정을 좀 더 상세히 보여준다.
도 8은 은 화면 내 예측에 따른 영상 압축 장치의 인코딩 회로의 내부 블록도이다.
도 9는 화면 간 예측에 따른 영상 압축 장치의 인코딩 회로를 자세히 보여주는 블록도이다.
도 10은 전자 기기에 적용된 본 발명의 응용 예를 도시한 블록도이다.1 is a block diagram illustrating an image compression apparatus according to an embodiment of the present invention.
2 is an internal block diagram of an index determination circuit according to an embodiment of the present invention.
3 is a diagram for explaining the operation of the edge detection circuit according to the embodiment of the present invention.
4 shows an edge image based on edge data.
Figure 5 shows a portion of a frame image divided into adaptive maximum coding units (LCUs) according to an embodiment of the present invention.
6 is a flowchart illustrating an image compressing method of an image compressing apparatus according to an embodiment of the present invention.
FIG. 7 shows a process of dividing the first through eleventh maximum coding units LCU1 through LCU11 in more detail.
8 is an internal block diagram of an encoding circuit of an image compression apparatus according to intra-picture prediction.
9 is a block diagram showing in detail an encoding circuit of an image compression apparatus according to inter-picture prediction.
10 is a block diagram showing an application example of the present invention applied to an electronic apparatus.
전술한 특성 및 이하 상세한 설명은 모두 본 발명의 설명 및 이해를 돕기 위한 예시적인 사항이다. 즉, 본 발명은 이와 같은 실시 예에 한정되지 않고 다른 형태로 구체화될 수 있다. 다음 실시 형태들은 단지 본 발명을 완전히 개시하기 위한 예시이며, 본 발명이 속하는 기술 분야의 통상의 기술자들에게 본 발명을 전달하기 위한 설명이다. 따라서, 본 발명의 구성 요소들을 구현하기 위한 방법이 여럿 있는 경우에는, 이들 방법 중 특정한 것 또는 이와 동일성 있는 것 가운데 어떠한 것으로든 본 발명의 구현이 가능함을 분명히 할 필요가 있다. The foregoing features and the following detailed description are exemplary of the invention in order to facilitate a description and understanding of the invention. That is, the present invention is not limited to these embodiments, but may be embodied in other forms. The following embodiments are merely examples for the purpose of fully disclosing the present invention and are intended to convey the present invention to those skilled in the art. Thus, where there are several ways to implement the components of the present invention, it is necessary to make it clear that the implementation of the present invention is possible by any of these methods or any of the equivalents thereof.
본 명세서에서 어떤 구성이 특정 요소들을 포함한다는 언급이 있는 경우, 또는 어떤 과정이 특정 단계들을 포함한다는 언급이 있는 경우는, 그 외 다른 요소 또는 다른 단계들이 더 포함될 수 있음을 의미한다. 즉, 본 명세서에서 사용되는 용어들은 특정 실시 형태를 설명하기 위한 것일 뿐이고, 본 발명의 개념을 한정하기 위한 것이 아니다. 나아가, 발명의 이해를 돕기 위해 설명한 예시들은 그것의 상보적인 실시 예도 포함한다. It is to be understood that, in the context of this specification, when reference is made to a configuration including certain elements, or when it is mentioned that a process includes certain steps, other elements or other steps may be included. In other words, the terms used herein are for the purpose of describing specific embodiments only, and are not intended to limit the concept of the present invention. Further, the illustrative examples set forth to facilitate understanding of the invention include its complementary embodiments.
본 명세서에서 사용되는 용어들은 본 발명이 속하는 기술 분야의 통상의 기술자들이 일반으로 이해하는 의미를 갖는다. 보편적으로 사용되는 용어들은 본 명세서의 맥락에 따라 일관적인 의미로 해석되어야 한다. 또한, 본 명세서에서 사용되는 용어들은, 그 의미가 명확히 정의된 경우가 아니라면, 지나치게 이상적이거나 형식적인 의미로 해석되지 않아야 한다. 이하 첨부된 도면을 통하여 본 발명의 실시 예가 설명된다. The terms used herein have the meaning as commonly understood by one of ordinary skill in the art to which the present invention pertains. Commonly used terms should be construed in a manner consistent with the context of this specification. Also, terms used in the specification should not be construed as being excessively ideal or formal in nature unless the meaning is clearly defined. BRIEF DESCRIPTION OF THE DRAWINGS Fig.
도 1은 본 발명의 실시 예에 따른 영상 압축 장치를 보여주는 블록도이다. 1 is a block diagram illustrating an image compression apparatus according to an embodiment of the present invention.
도 1을 참조하면, 영상 압축 장치(100)는 인덱스 판단회로(110), 지연 버퍼 회로(120) 및 인코딩 회로(130)를 포함할 수 있다.Referring to FIG. 1, the
인덱스 판단회로(110)는 한 프레임의 이미지(O)를 수신하고, 수신된 한 프레임의 이미지(O)로부터 필터링(Filtering)을 통해 엣지 데이터를 검출하고, 엣지 데이터를 기반으로 인덱스 신호들(I)을 출력할 수 있다. 인덱스 신호들(I)은 한 프레임의 이미지(O)에 대응된 엣지 데이터(ED)에 최대 코딩 유닛(Largest coding unit, LCU)이 할당될 때마다 출력되는 초기 인덱스 신호 또는 감소된 인덱스 신호를 의미한다. 다시 말해, 인덱스 신호들(I)은 한 프레임의 이미지(O)에 대응된 엣지 데이터(ED)에 할당되는 최대 코딩 유닛(LCU)들의 사이즈에 관한 정보를 포함한다.The
인덱스 판단회로(110)는 외부 장치(예를 들어, 이미지 센서)들로부터 전달되는 복수의 프레임 이미지들을 한 프레임의 이미지(O) 단위로 순차적으로 수신할 수 있다. 예를 들어, 인덱스 판단회로(110)는 수신된 한 프레임의 이미지(O) 내 픽셀들의 데이터를 필터링하여 인덱스 신호들(I)을 출력할 수 있다. The
지연 버퍼 회로(120)에 한 프레임의 이미지(O)가 저장되어 있는 동안, 인덱스 판단회로(110)는 한 프레임의 이미지(O)와 연관된 인덱스 신호들(I)을 출력할 수 있다.While the image O of one frame is stored in the
지연 버퍼 회로(120)는 순차적으로 전달되는 한 프레임의 이미지(O)들을 수신 및 저장할 수 있다. 지연 버퍼 회로(120)는 한 프레임의 이미지(O)를 인덱스 판단회로(110)와 병렬적으로 수신할 수 있다. 또한, 지연 버퍼 회로(120)는 수신된 한 프레임의 이미지(O) 및 한 프레임의 이미지(O)에 대응된 인덱스 신호들(I)을 동기(synchronization)하여 동기 이미지 신호(OI)로 출력할 수 있다. The
지연 버퍼 회로(120)에 직접 입력되는 한 프레임의 이미지(O)와 인덱스 판단회로(110)로부터 출력되는 인덱스 신호들(I)간에 딜레이가 존재할 수 있다. 예를 들어, 지연 버퍼 회로(120)에 한 프레임의 이미지(O)가 먼저 도달하고, 인덱스 신호들(I)이 나중에 도달할 수 있다. 지연 버퍼 회로(120)는 한 프레임의 이미지(O)와 인덱스 신호들(I)간에 딜레이를 고려하여 한 프레임의 이미지(O)와 인덱스 신호들(I)을 동기시킨 동기 이미지 신호(OI)를 출력할 수 있다. 예를 들어, 지연 버퍼 회로(120)는 한 프레임의 이미지(O)와 인덱스 신호들(I)이 모두 수신된 후에, 동기 이미지 신호(OI)를 출력할 수 있다.There may be a delay between the image O of one frame input directly to the
인코딩 회로(130)는 동기 이미지 신호(OI), 즉 한 프레임의 이미지(O) 및 최대 코딩 유닛(LCU)들의 크기를 결정하는 인덱스 신호들(I)을 기반으로 압축된 비트 스트림(Compressed bit stream, CBS)을 출력할 수 있다. 영상 압축 장치(100)의 인코딩 회로(130)에 관하여는 후술하는 도면들에서 상세히 설명될 것이다.The
기존의 HEVC(High Efficiency Video Coding) 스펙에 따르면, 입력 영상의 종류에 따라 최대 코딩 유닛(LCU)의 크기는 64×64 크기, 32×32 크기 및 16×16 크기 중 어느 하나로 결정된다. 그리고, 기존의 HEVC의 스펙에 따르면, 한 프레임의 이미지(O)의 영상 신호들은 어느 하나로 결정된 최대 코딩 유닛(Largest coding unit, LCU)들로 균일하게 분할된다. 이어, 일정한 크기의 최대 코딩 유닛(LCU)들로 균일하게 분할된 영상이 인코딩 회로로 입력된다. According to the existing High Efficiency Video Coding (HEVC) specification, the size of the maximum coding unit (LCU) is determined to be one of 64 × 64, 32 × 32, and 16 × 16 sizes depending on the type of the input image. According to the existing HEVC specification, the video signals of the image O of one frame are uniformly divided into the largest coding units (LCUs) determined as one. Then, uniformly divided images are input into the encoding circuit with a maximum size coding unit (LCU) of a certain size.
이에 반해, 본 발명의 실시 예에 따르면 한 프레임의 이미지(O)의 영상 신호들은 엣지 데이터(ED)를 기반으로 256X256 크기, 128X128 크기, 64X64 크기, 32X32 크기들을 갖도록 적응적으로 분할될 수 있다. 예시적으로, 본 발명의 실시 예에 따른 영상 압축 장치(100)는 기존의 HEVC의 스펙에 따른 최대 코딩 유닛(LCU)보다 사이즈가 큰 갖는 최대 코딩 유닛(LCU)으로 한 프레임의 영상을 분할할 수 있다. 따라서, 본 발명의 실시 예에 따르면, 4K UHD(3840×2160)나 8K UHD(7680×4320)와 같은 초고해상도 영상에 대해 압축을 수행할 경우, 영상 압축 장치(100)의 압축 효율이 향상될 수 있다. On the other hand, according to the embodiment of the present invention, the video signals of the image O of one frame can be adaptively divided into 256X256 size, 128X128 size, 64X64 size, and 32X32 sizes based on the edge data ED. Illustratively, the
다시 말해, 본 발명에 따른 영상 압축 장치(100)는 엣지 데이터(ED) 값이 작은 영역에는 256X256 크기의 최대 코딩 유닛(LCU)을 할당하고, 해당 영역의 압축률을 작게(또는 크게) 설정할 수 있다. 또한, 본 발명에 따른 영상 압축 장치(100)는 엣지 데이터(ED) 값이 큰 영역에는 16×16 크기의 최대 코딩 유닛(LCU)을 할당하고, 해당 영역의 압축률을 크게(또는 작게) 설정할 수 있다. 즉, 본 발명의 실시 예에 따르면, 일정한 크기의 최대 코딩 유닛(LCU)들로 분할된 영상이 아닌 가변적인 크기의 최대 코딩 유닛(LCU)들로 분할된 영상이 인코딩될 수 있다. In other words, the
도 2는 본 발명의 실시 예에 따른 인덱스 판단회로(110)의 내부 블록도이다.2 is an internal block diagram of the
도 1 및 도 2를 참조하면, 인덱스 판단회로(110)는 비디오 입력 버퍼 회로(111), 엣지 검출 회로(113) 및 인덱스 회로(115)를 포함할 수 있다.Referring to FIGS. 1 and 2, the
비디오 입력 버퍼 회로(111)는 순차적으로 전달되는 한 프레임의 이미지(O)를 수신 및 저장하고, 한 프레임의 이미지(O)를 단일 영상 신호(SV)로 순차적으로 출력할 수 있다. The video
엣지 검출 회로(113)는 순차적으로 출력된 단일 영상 신호(SV)를 수신하여 필터링을 통해 엣지 데이터(ED)를 검출할 수 있다. 즉, 엣지 데이터(ED)는 엣지 영상들을 나타내는 한 프레임 내 모든 픽셀들의 값을 포함할 수 있다. 엣지 검출 회로(113)의 동작에 관하여는 후술되는 도면들을 참조하여 상세히 설명될 것이다.The
인덱스 회로(115)는 검출된 엣지 데이터(ED)를 기반으로, 한 프레임의 이미지(O)에 대응하는 영역에서 최대 코딩 유닛들(LCU)의 사이즈들을 적응적으로 결정하고, 결정된 결과를 인덱스 신호(I)로 출력할 수 있다. 예를 들어, 인덱스 회로(115)는 엣지 데이터(ED)의 선택된 영역에서 초기 인덱스 신호에 대응하는 최대 코딩 유닛(LCU)의 영역 내의 픽셀들의 평균값과 초기 인덱스 신호의 임계값을 비교할 수 있다. 비교 결과가 적합하지 않으면, 인덱스 회로(115)는 인덱스 신호를 변경하며 비교를 반복할 수 있다. 최대 코딩 유닛(LCU) 및 인덱스 신호가 결정되면, 인덱스 회로(115)는 엣지 데이터(ED)의 다른 영역에서 최대 코딩 유닛(LCU)을 결정할 수 있다. 인덱스 회로(115)는 한 프레임의 이미지(O)에 대응된 모든 엣지 데이터(ED)에 최대 코딩 유닛(LCU)이 할당될 때까지 최대 코딩 유닛(LCU)의 사이즈 내 픽셀들의 평균값과 초기 인덱스 신호의 임계값을 비교하는 동작을 반복적으로 수행할 수 있다. 인덱스 회로(115)의 동작에 관하여는 후술하는 도면들에서 좀 더 상세히 설명될 것이다.The
도 3은 본 발명의 실시 예에 따른 엣지 검출 회로(113)의 동작을 설명하기 위한 도면이다. 간결한 설명을 위해 한 프레임이 48×24 크기의 픽셀들로 구성되고, 48×24 크기의 픽셀들 각각은 원 영상의 화소 값을 변환시킨 디지털 값을 갖는다고 가정한다.3 is a diagram for explaining the operation of the
도 2 및 도 3을 참조하면, 엣지 검출 회로(113)는 소벨 필터(Sobel filter), 로버트 필터(Robert filter) 또는 프리윗 필터(Prewitt filter) 중 어느 하나의 필터를 이용해 필터링을 수행함으로써 엣지 데이터(ED)를 검출할 수 있다. 본 발명의 실시 예에 따른 엣지 데이터(ED)는 픽셀 신호들간의 데이터가 급격하게 변하는 부분들을 가리키는 정보를 포함할 수 있다. 간결한 설명을 위해 엣지 검출 회로(113)는 소벨 필터(Sobel filter)를 이용한 필터링을 수행한다고 가정한다.2 and 3, the
소벨 필터(Sobel filter)의 크기는 3×3 크기, 5×5 크기 또는 7×7 크기 중 어느 하나의 크기를 가질 수 있다. 다만, 간결한 설명을 위해 소벨 필터(Sobel filter)의 크기는 3×3 크기를 갖는다고 가정한다.The size of the Sobel filter may have a size of 3 × 3, 5 × 5, or 7 × 7. However, for the sake of brevity, it is assumed that the size of the Sobel filter has a size of 3 × 3.
도 3을 참조하면, 엣지 검출 회로(113)는 제 1 소벨 필터(BFx)를 제 1 방향으로 이동시킴으로써 한 프레임의 이미지(O) 내 픽셀 값들에 대한 편미분을 수행한다. 그리고 엣지 검출 회로(113)는 편미분에 의한 값들을 기반으로 한 프레임의 이미지(O) 내 제 1 방향의 기울기(Gx)를 검출할 수 있다. 제 1 방향 소벨 필터(BFx)의 행렬식은 표 1과 같다.Referring to FIG. 3, the
도 3을 참조하면, 제 1 방향 소벨 필터(BFx)는 제 1 행(R1)의 제 1열(C1)을 시작점으로 하여 제 1 방향으로 이동하면서 제 24 행(R24)의 제 48 열(C48)에 도달할 때까지, 원 영상의 화소 값들과 컨벌루션 연산을 수행할 수 있다. 제 1 방향의 기울기(Gx)를 나타나기 위한 컨벌루션 연산은 하기의 수학식1 같다.Referring to FIG. 3, the first direction Sobel filter BFx moves in the first direction with the first column C1 of the first row R1 as a starting point and the 48th column C48 of the 24th row R24 , It is possible to perform the convolution operation with the pixel values of the original image. The convolution operation for expressing the slope Gx in the first direction is expressed by the following equation (1).
이 경우, N은 필터의 크기가 (2N+1)×(2N+1)일 때, 양의 정수 값을 의미한다. 그리고, p는 필터의 행의 위치를 의미하고, q는 필터의 열의 위치를 의미한다. m은 원 영상의 행의 위치를 의미하고, n은 원 영상의 화소 값의 열의 위치를 의미한다. In this case, N means a positive integer value when the size of the filter is (2N + 1) x (2N + 1). P denotes the position of the row of the filter, and q denotes the position of the column of the filter. m denotes the position of the row of the original image, and n denotes the position of the column of the pixel value of the original image.
또한, 엣지 검출 회로(113)는 제 2 소벨 필터(BFy)를 제 2 방향으로 이동시킴으로써 한 프레임의 이미지(O) 내 픽셀 값들에 대한 편미분을 수행한다. 그리고 엣지 검출 회로(113)는 편미분에 의한 값들을 기반으로 한 프레임의 이미지(O) 내 제 2 방향의 기울기(Gy)를 검출할 수 있다. 제 2 방향 소벨 필터(BFy)의 행렬식은 표 2와 같다.In addition, the
도 3을 참조하면, 제 2 방향 소벨 필터(BFy)는 제 1 행(R1)의 제 1열(C1)을 시작점으로 하여 제 2 방향으로 이동하면서 제 24 행(R24)의 제 48 열(C48)에 도달할 때까지, 원 영상의 화소 값들과 컨벌루션 연산을 수행할 수 있다. 제 2 방향의 기울기(Gy)를 나타나기 위한 컨벌루션 연산은 하기의 수학식2 같다.Referring to FIG. 3, the second direction Sobel filter BFy moves in the second direction with the first column C1 of the first row R1 as a starting point, and in the 48th column C48 of the 24th row R24 , It is possible to perform the convolution operation with the pixel values of the original image. The convolution operation for expressing the slope Gy in the second direction is expressed by the following equation (2).
N은 필터의 크기가 (2N+1)×(2N+1)일 때, 양의 정수 값을 의미한다. 그리고, p는 필터의 행의 위치를 의미하고, q는 필터의 열의 위치를 의미한다. m은 원 영상의 화소 값의 행의 위치를 의미하고, n은 원 영상의 화소 값의 열의 위치를 의미한다. N means a positive integer value when the size of the filter is (2N + 1) x (2N + 1). P denotes the position of the row of the filter, and q denotes the position of the column of the filter. m denotes the position of the row of the pixel value of the original image, and n denotes the position of the column of the pixel value of the original image.
또한, 엣지 검출 회로(113)는 최종적인 엣지 데이터(ED)를 얻기 위해서 하기의 수학식 3의 연산을 수행할 수 있다.In addition, the
마찬가지로, m은 원 영상의 화소 값의 행의 위치를 의미하고, n은 원 영상의 화소 값의 열의 위치를 의미한다. 그리고, Gx는 수학식 1과 같은 제 1 방향의 기울기를 의미하고, Gy는 수학식 2와 같은 제 2 방향의 기울기를 의미한다. 또한, 엣지 검출 회로(113)는 수학식 3의 연산을 수행하여 엣지 데이터(ED)를 검출 수 있다. 예를 들어, 엣지 데이터(ED)는 O(m,n)의 행렬 내에 저장된 데이터들을 비트 스트림 형태로 변환하여 얻어질 수 있다. Similarly, m denotes the position of the row of the pixel value of the original image, and n denotes the position of the column of the pixel value of the original image. Gx denotes a slope in the first direction as expressed by Equation (1), and Gy denotes a slope in the second direction as shown in Equation (2). Further, the
도 4는 엣지 데이터(ED)에 기반한 엣지 영상을 보여준다. 엣지(Edge)는 원 영상의 픽셀들의 경계에서 픽셀 값의 변화량(기울기)이 큰 부분을 의미할 수 있다. 도 2 및 도 4를 참조하면, 인덱스 회로(115)는 엣지 데이터(ED)에 기반하여 최대 코딩 유닛(LCU)의 크기를 적응적으로 분할할 수 있다. Figure 4 shows an edge image based on edge data (ED). An edge may refer to a portion where a change amount (slope) of a pixel value at a boundary of pixels of an original image is large. Referring to FIGS. 2 and 4, the
도 5는 본 발명의 실시 예에 따른 적응적인 최대 코딩 유닛(LCU)들로 분할된 한 프레임 이미지의 일부분을 보여준다.Figure 5 shows a portion of a frame image divided into adaptive maximum coding units (LCUs) according to an embodiment of the present invention.
도 1 내지 도 5를 참조하면, 엣지 검출 회로(113)에서 수행된 필터링을 통해 한 프레임 이미지에 대응된 엣지 데이터(ED)가 검출될 수 있다. 도 5의 경우, 한 프레임 이미지에 대응된 엣지 데이터(ED)는 도 3 및 도 4의 필터링을 수행하여 얻어진 데이터라고 가정한다. 그리고 한 프레임에 대응된 엣지 데이터(ED)가 제 1 내지 제 11 최대 코딩 유닛들(LCU1~LCU11)로 분할된다.Referring to FIGS. 1 to 5, edge data ED corresponding to one frame image can be detected through filtering performed in the
인덱스 회로(115)는 최대 코딩 유닛(LCU)의 사이즈가 제 1 사이즈(S1)임을 가리키는 제 1 인덱스 신호(I1), 제 2 사이즈(S2)임을 가리키는 제 2 인덱스 신호(I2), 제 3 사이즈(S3)임을 가리키는 제 3 인덱스 신호(I3) 및 제 4 사이즈(S4)임을 가리키는 제 4 인덱스 신호(I4)을 출력할 수 있다.The
예를 들어, 도 5의 경우, 인덱스 회로(115)는 제4 사이즈(S4)를 갖는 제 1 최대 코딩 유닛(LCU1)이 할당됨에 따라 제4 인덱스 신호(I4)를 출력하고, 각각 제3 사이즈(S3)를 갖는 제 2 내지 제 4 최대 코딩 유닛들(LCU2~LCU4)이 할당됨에 따라 제3 인덱스 신호(I3)를 출력하고, 제2 사이즈(S2)를 갖는 제 5 내지 제 7 최대 코딩 유닛들(LCU5~LCU7)이 할당됨에 따라 제2 인덱스 신호(I2)를 출력하고, 제1 사이즈(S1)를 갖는 제 8 내지 제 11 최대 코딩 유닛들(LCU8~LCU11)이 할당됨에 따라 제1 인덱스 신호(I1)를 출력할 수 있다. For example, in the case of FIG. 5, the
도 6은 본 발명의 실시 예에 따른 영상 압축 장치의 영상 압축 방법을 보여주는 순서도이다.6 is a flowchart illustrating an image compressing method of an image compressing apparatus according to an embodiment of the present invention.
도 1 내지 도 6을 참조하면, S110 단계에서, 영상 압축 장치(100)는 복수의 프레임의 이미지들을 순차적으로 수신하고, 한 프레임 이미지(O)를 구성하는 픽셀 신호들을 필터를 이용하여 필터링을 수행할 수 있다. 영상 압축 장치(100)는 필터링을 수행하여 한 프레임 이미지(O)에 대응된 엣지 데이터(ED)를 검출할 수 있다. 또한, 필터링에 이용되는 필터는 소벨 필터(Sobel filter), 프리윗 필터(Prewitt filter) 또는 로버트 필터(Robert filter)일 수 있다. 필터링을 수행하여 엣지 데이터(ED)를 검출하는 과정에 관하여는 도 3에서 전술하였으므로 생략한다.1 to 6, in step S110, the
S120 단계에서, 영상 압축 장치(100)는 제 1 내지 제 4 인덱스 신호들(I1~I4) 중에서 초기 인덱스 신호를 결정할 수 있다. 예를 들어, 제 1 인덱스 신호(I1)는 가장 작은 사이즈인 제 1 사이즈(S1)에 대응할 수 있다. 제 2 인덱스 신호(I2)는 제 1 사이즈(S1)보다 큰 제 2 사이즈(S2)에 대응할 수 있다. 제 3 인덱스 신호(I3)는 제 2 사이즈(S2)보다 큰 제 3 사이즈(S3)에 대응할 수 있다. 제 4 인덱스 신호(I4)는 제 3 사이즈(S3)보다 큰 제 4 사이즈(S4)에 대응할 수 있다.In step S120, the
구체적으로, 제 1 사이즈(S1)는 32×32크기의 픽셀 영역들을 포함할 수 있고, 제 2 사이즈(S2)는 64×64 크기의 픽셀 영역들을 포함할 수 있고, 제 3 사이즈(S3)는 128×128 크기의 픽셀 영역들을 포함할 수 있고, 제 4 사이즈(S4)는 256×256 크기의 픽셀 영역들을 포함할 수 있다.Specifically, the first size S1 may comprise 32x32 pixel areas, the second size S2 may comprise 64x64 pixel areas, and the third size S3 may comprise And the fourth size S4 may include pixel regions of the size of 256x256.
영상 압축 장치(100)는 제 1 내지 제 4 인덱스 신호들(I1~I4) 중에서 초기 인덱스 신호(IF)를 결정할 수 있다.
예를 들어, S120 단계에서, 영상 압축 장치(100)는 제 1 내지 제 4 인덱스 신호들(I1~I4) 중 가장 큰 제4 사이즈(S4)에 대응하는 제 4 인덱스 신호(I4)를 초기 인덱스 신호(IF)로 설정할 수 있다. 즉, 제 4 인덱스 신호(I4)에 대응하는 제 4 사이즈(S4)의 최대 코딩 유닛(LCU)이 선택될 수 있다. The
S130 단계에서, 영상 압축 장치(100)는 검출된 엣지 데이터(ED)를 기반으로 초기 인덱스 신호(IF)의 최대 코딩 유닛(LCU)에 대응된 엣지 비율을 초기 인덱스 신호(IF)의 임계값과 비교할 수 있다. 예를 들어, 영상 압축 장치(100)는 검출된 엣지 데이터(ED)를 기반으로 초기 인덱스 신호(IF), 즉 제 4 인덱스 신호(I4)의 최대 코딩 유닛(LCU)에 대응된 제 4 엣지 비율(ER4)과 초기 인덱스 신호(IF)의 임계값, 즉 제 4 인덱스 신호(I4)의 임계값을 비교할 수 있다.In step S130, the
최대 코딩 유닛(LCU)의 엣지 비율(Edge ratio, ER)은 인덱스 신호에 대응된 최대 코딩 유닛(LCU)의 사이즈가 커버하는 영역 내에 존재하는 엣지 데이터(ED)의 총합을 인덱스에 대응된 최대 코딩 유닛(LCU)의 사이즈가 커버하는 영역 내에 존재하는 픽셀들의 수로 나눈 값을 의미한다The edge ratio (ER ratio) of the maximum coding unit (LCU) is calculated by summing the sum of the edge data (ED) existing in the area covered by the size of the maximum coding unit (LCU) Means the size of the unit (LCU) divided by the number of pixels existing in the coverage area
예를 들어, 제 1 엣지 비율(ER1)은 제 1 인덱스 신호(I1)에 대응된 제 1 사이즈(S1) 내 존재하는 엣지 데이터(ED)의 총합을 제 1 사이즈(S1)의 영역 내 존재하는 픽셀들의 수로 나눈 값이다. 제 2 엣지 비율(ER2)은 제 2 인덱스 신호(I2)에 대응된 제 2 사이즈(S2) 내 존재하는 엣지 데이터(ED)의 총합을 제 2 사이즈(S2)의 영역 내 존재하는 픽셀들의 수로 나눈 값이다. 제 3 엣지 비율(ER3)은 제 3 인덱스 신호(I3)에 대응된 제 3 사이즈(S3) 내 존재하는 엣지 데이터(ED)의 총합을 제 3 사이즈(S3)의 영역 내 존재하는 픽셀들의 수로 나눈 값이다. 제 4 엣지 비율(ER4)은 제 4 인덱스 신호(I4)에 대응된 제 4 사이즈(S4) 내 존재하는 엣지 데이터(ED)의 총합을 제 4 사이즈(S4)의 영역 내 존재하는 픽셀들의 수로 나눈 값이다.For example, the first edge ratio ER1 is set such that the sum of the edge data ED existing in the first size S1 corresponding to the first index signal I1 exists in the area of the first size S1 Divided by the number of pixels. The second edge ratio ER2 is obtained by dividing the sum of the edge data ED existing in the second size S2 corresponding to the second index signal 12 by the number of pixels existing in the area of the second size S2 Value. The third edge ratio ER3 is obtained by dividing the sum of the edge data ED existing in the third size S3 corresponding to the third index signal 13 by the number of pixels existing in the area of the third size S3 Value. The fourth edge ratio ER4 is obtained by dividing the sum of the edge data ED existing in the fourth size S4 corresponding to the fourth index signal 14 by the number of pixels existing in the area of the fourth size S4 Value.
그리고, 인덱스 신호들 각각에 설정되는 인덱스 신호의 임계값은 인덱스 신호의 종류에 따라 다르게 설정될 수 있다. 예를 들어, 제 1 인덱스 신호(I1)의 임계값은 제 1 내지 제 4 인덱스 신호들(I1~I4)의 임계값들 중 가장 큰 값으로 설정될 수 있다. 제 2 인덱스 신호(I2)의 임계값은 제 1 인덱스 신호(I1)의 임계값보다 작고 제 3 인덱스 신호(I3)의 임계값보다 크게 설정될 수 있다. 제 3 인덱스 신호(I3)의 임계값은 제 2 인덱스 신호(I2)의 임계값보다 작고, 제 4 인덱스 신호(I4)의 임계값보다 크게 설정될 수 있다. 제 4 인덱스 신호(I4)의 임계값은 제 1 내지 제 4 인덱스 신호들(I1~I4)의 임계값들 중 가장 작은 값으로 설정될 수 있다.The threshold value of the index signal set in each of the index signals may be set differently depending on the type of the index signal. For example, the threshold value of the first index signal I1 may be set to the largest value among the threshold values of the first to fourth index signals I1 to I4. The threshold value of the second index signal I2 may be set to be smaller than the threshold value of the first index signal I1 and greater than the threshold value of the third index signal I3. The threshold value of the third index signal I3 may be smaller than the threshold value of the second index signal I2 and may be set to be larger than the threshold value of the fourth index signal I4. The threshold value of the fourth index signal I4 may be set to the smallest threshold among the threshold values of the first to fourth index signals I1 to I4.
S140 단계에서, 영상 압축 장치(100)는 초기 인덱스 신호(IF), 즉 제 4 인덱스 신호(I4)에 대응된 제 4 엣지 비율(ER4)이 제 4 인덱스 신호(I4)의 임계 값 미만인 경우 제 4 인덱스 신호(I4)를 출력할 수 있다. 예를 들어, 제 4 인덱스 신호(I4)는 제 1 엣지 데이터(ED1)을 포함하는 제 1 최대 코딩 유닛(LCU1)을 제 4 사이즈(S4)로 할당한다. In step S140, when the initial index signal IF, i.e., the fourth edge ratio ER4 corresponding to the fourth index signal I4 is less than the threshold value of the fourth index signal I4, 4 index signal I4. For example, the fourth index signal I4 assigns the first maximum coding unit LCU1 including the first edge data ED1 to the fourth size S4.
즉, 한 프레임의 이미지(O)의 선택된 영역에서 제 4 사이즈(S4)를 갖는 최대 코딩 유닛(LCU)으로 커버되는 엣지 데이터(ED)의 제 4 엣지 비율(ER4)이 인덱스 신호의 임계값 미만이면, 선택된 영역에 제 4 사이즈(S4)의 최대 코딩 유닛(LCU)을 할당하는 제 4 인덱스 신호(I4)가 출력된다.That is, the fourth edge ratio ER4 of the edge data ED covered by the maximum coding unit (LCU) having the fourth size S4 in the selected area of the image O of one frame is less than the threshold value of the index signal , The fourth index signal I4 for allocating the maximum coding unit (LCU) of the fourth size (S4) is outputted to the selected area.
또한, 후술될 S160 단계 및 S170 단계를 수행할 때 출력될 수 있는 감소된 인덱스 신호(DI)를 출력할 수도 있다.Also, it may output a reduced index signal DI that can be output when performing steps S160 and S170 described later.
S150 단계에서, 영상 압축 장치(100)는 한 프레임에 대응된 모든 엣지 데이터(ED)에 최대 코딩 유닛(LCU)의 사이즈가 할당 되었는지 여부를 판단할 수 있다. In step S150, the
만약 영상 압축 장치(100)는 한 프레임에 대응된 모든 엣지 데이터(ED)에 최대 코딩 유닛(LCU)의 사이즈가 할당 된 경우 해당 수순을 종료한다. 반대로, 영상 압축 장치(100)는 최대 코딩 유닛(LCU)의 사이즈가 할당되지 않은 경우 최대 코딩 유닛(LCU)의 사이즈가 할당되지 않은 엣지 데이터(ED) 영역에 최대 코딩 유닛(LCU)의 사이즈를 할당하기 위해 S120 단계로 되돌아가 새로운 수순을 다시 수행할 수 있다.If the size of the maximum coding unit (LCU) is allocated to all edge data (ED) corresponding to one frame, the image compressing apparatus (100) ends the procedure. Conversely, when the size of the maximum coding unit (LCU) is not allocated, the size of the maximum coding unit (LCU) is allocated to the edge data (ED) area to which the size of the maximum coding unit The process may return to step S120 to perform the new procedure again.
즉, 영상 압축 장치(100)는 한 프레임의 이미지(O)에 대응된 엣지 데이터(ED)의 전체 영역에 최대 코딩 유닛들(LCU)이 할당될 때까지, 각 최대 코딩 유닛(LCU)의 사이즈를 가리키는 인덱스를 출력한다. 예를 들어, 도 5의 제 1 코딩 유닛(LCU1)의 사이즈 할당이 종료된 경우, 최대 코딩 유닛(LCU)이 할당되지 않은 나머지 엣지 데이터가 존재한다. 최대 코딩 유닛(LCU)이 할당되지 않은 나머지 엣지 데이터에서, 가장 상단(또는 가장 좌측)의 픽셀들 중에서 가장 좌측(또는 가장 상단)의 픽셀로부터 새로운 최대 코딩 유닛(LCU)의 할당이 시도될 수 있다. 예를 들어, 새로운 최대 코딩 유닛(LCU)의 할당을 위해, S120 단계가 다시 수행될 수 있다.That is, the
영상 압축 장치(100)는 초기 인덱스 신호(IF)의 최대 코딩 유닛(LCU)에 대응된 엣지 비율이 초기 인덱스 신호(IF)의 임계 값과 같거나 임계값을 초과하는 경우 S160 단계를 수행할 수 있다. 예를 들어, 초기 인덱스 신호(IF)가 제 4 인덱스 신호(I4)인 경우, 제 4 엣지 비율(ER4)이 제 4 인덱스 신호(I4)의 임계값과 같거나 그보다 큰 경우 S160 단계가 수행될 수 있다.The
또한, 영상 압축 장치(100)는 S160 단계에서, 초기 인덱스 신호(IF)를 감소된 인덱스 신호(DI)로 재정의할 수 있다. 예를 들어, 초기 인덱스 신호(IF)가 제 4 인덱스 신호(I4)인 경우, 감소된 인덱스 신호(DI)는 S160 단계에서 제 3 인덱스 신호(I3)로 선택된다. S130 단계에서 비교된 인덱스 신호가 제 3 인덱스 신호(I3)인 경우, 감소된 인덱스 신호(DI)는 S160 단계에서 제 2 인덱스 신호(I2)로 선택된다. S130 단계에서 비교된 인덱스 신호가 제 2 인덱스 신호(I2)인 경우, 감소된 인덱스 신호(D1)는 S160 단계에서 제 1 인덱스 신호(I1)로 선택된다.In step S160, the
S170 단계에서, 영상 압축 장치(100)는 검출된 엣지 데이터(ED)를 기반으로 감소된 인덱스 신호(DI)의 최대 코딩 유닛(LCU)에 대응된 엣지 비율과 감소된 인덱스 신호(DI)의 임계값을 비교할 수 있다. 감소된 인덱스 신호(DI)에 대응된 엣지 비율이 감소된 인덱스 신호(DI)의 임계값 미만인 경우, 영상 압축 장치(100)는 S140 단계를 수행하여 감소된 인덱스 신호(DI)를 출력할 수 있다.In step S170, the
반대로, 감소된 인덱스 신호(DI)의 최대 코딩 유닛(LCU)에 대응된 엣지 비율이 감소된 인덱스 신호(DI)의 임계값과 같거나 임계값 이상인 경우, 영상 압축 장치(100)는 S160 단계를 다시 수행할 수 있다.Conversely, when the edge ratio corresponding to the maximum coding unit (LCU) of the reduced index signal DI is equal to or greater than a threshold value of the reduced index signal DI, the
또한, S170 단계에서, 감소된 인덱스 신호(DI)가 제 1 인덱스 신호(I1)인 경우, 영상 압축 장치(100)는 감소된 인덱스 신호(DI)의 최대 코딩 유닛에 대응된 엣지 비율과 감소된 인덱스 신호(DI)의 임계값을 비교하지 않고 바로 S140 단계를 수행하여 제 1 인덱스 신호(I1)를 출력할 수 있다.In step S170, when the reduced index signal DI is the first index signal I1, the
도 7은 제 1 내지 제 11 최대 코딩 유닛들(LCU1~LCU11)이 분할되는 과정을 좀 더 상세히 보여준다.FIG. 7 shows a process of dividing the first through eleventh maximum coding units LCU1 through LCU11 in more detail.
도 1 내지 도 7을 참조하면, 엣지 검출 회로(113)는 한 프레임 이미지(O)에 대해 도 6의 S110 단계를 수행하여 엣지 데이터(ED)를 검출한다. 이어. 인덱스 회로(115)는 제 1 최대 코딩 유닛(LCU1)의 좌측 상단을 기준으로 S120 단계를 수행한다. 그리고, 인덱스 회로(115)는 초기 인덱스 신호(IF)를 제 4 인덱스 신호(I4)로 설정할 수 있다. 이어, S130 단계가 수행된다.Referring to Figs. 1 to 7, the
S130 단계에서, 인덱스 회로(115)는 제 4 인덱스 신호(I4)의 최대 코딩 유닛(LCU1)에 대응된 제 1 엣지 비율(ER1)이 제 4 인덱스 신호(I4)의 임계값보다 작다고 판단한다. 따라서, S140 단계에서, 인덱스 회로(115)는 제 4 인덱스 신호(I4)를 출력할 수 있다. 제 4 인덱스 신호(I4)는 제 1 엣지 데이터(ED1)를 포함하는 제 1 최대 코딩 유닛(LCU1)을 제 4 사이즈(S4)로 할당시킨다. In step S130, the
S150 단계에서, 인덱스 회로(115)는 한 프레임 이미지(O)에 대응된 엣지 데이터(ED) 중에서 최대 코딩 유닛(LCU)으로 할당되지 않은 영역이 존재하기 때문에 제 2 최대 코딩 유닛(LCU2)의 좌측 상단을 기준으로 S120 단계를 다시 수행한다.In step S150, since the
마찬가지로, 엣지 검출 회로(113)는 제 2 최대 코딩 유닛(LCU2)의 좌측 상단을 기준으로 S120 단계를 수행할 수 있다. 인덱스 회로(115)는 초기 인덱스 신호(IF)를 제 4 인덱스 신호(I4)로 설정한다. 이어, S130 단계가 수행된다. 인덱스 회로(115)는 S130 단계에서, 제 4 인덱스 신호(I4)의 최대 코딩 유닛에 대응된 제 4 엣지 비율(ER4)이 제 4 인덱스 신호(I4)의 임계값을 초과하거나 임계값과 같다고 판단한다. 이어 S160 단계가 수행된다. Similarly, the
S160 단계에서, 인덱스 회로(115)는 제 4 인덱스 신호(I4)를 제 3 인덱스 신호(I3)로 감소시킨다. 이어, S170 단계에서, 인덱스 회로(115)는 감소된 인덱스 신호(DI)인 제 3 인덱스 신호(I3)의 최대 코딩 유닛에 대응된 엣지 비율(ER3)이 제 3 인덱스 신호(I3)의 임계값보다 작다고 판단한다. 따라서, 인덱스 회로(115)는 S140 단계에서 제 3 인덱스 신호(I3)가 출력할 수 있다. 이 때, 제 3 인덱스 신호(I3)는 제 2 엣지 데이터(ED2)를 포함하는 제 2 최대 코딩 유닛(LCU2)을 제 3 사이즈(S3)로 할당시킬 수 있다. In step S160, the
S150 단계에서, 인덱스 회로(115)는 한 프레임 이미지(O)에 대응된 엣지 데이터(ED) 중에서 최대 코딩 유닛(LCU)으로 할당되지 않은 영역이 존재하기 때문에 제 3 최대 코딩 유닛(LCU3)의 좌측 상단을 기준으로 S120 단계를 다시 수행한다.In step S150, since the
간결한 설명을 위해 제 3 최대 코딩 유닛(LCU3) 및 제 4 최대 코딩 유닛(LCU4)에 제 3 사이즈(S3)를 할당하는 과정은 앞서 언급된 제 2 최대 코딩 유닛(LCU2)에 제 3 사이즈(S3)를 할당하는 과정과 동일하므로 생략한다. The process of allocating the third size S3 to the third maximum coding unit LCU3 and the fourth maximum coding unit LCU4 for the sake of brevity may be performed by the second maximum coding unit LCU2 mentioned above in the third size S3 ) Is omitted.
엣지 검출 회로(113)는 제 5 최대 코딩 유닛(LCU5)의 좌측 상단을 기준으로 S120 단계를 수행한다. 그리고, 인덱스 회로(115)는 초기 인덱스 신호(IF)를 제 4 인덱스 신호(I4)로 설정한다. 이어, S130 단계가 수행된다. S130 단계에서, 인덱스 회로(115)는 제 4 인덱스 신호(I4)의 최대 코딩 유닛에 대응된 엣지 비율(ER4)이 제 4 인덱스 신호(I4)의 임계값을 초과하거나 임계값과 같다고 판단한다. 이어, S160 단계가 수행된다. The
S160 단계에서, 인덱스 회로(115)는 제 4 인덱스 신호(I4)를 제 3 인덱스 신호(I3)로 감소시킨다. In step S160, the
S170 단계에서, 인덱스 회로(115)는 감소된 인덱스 신호(DI)인 제 3 인덱스 신호(I3)의 최대 코딩 유닛(LCU)에 대응된 엣지 비율(ER3)이 제 3 인덱스 신호(I3)의 임계값을 초과하거나 임계값과 같다고 판단한다. 다시 S160 단계가 수행된다. In step S170, the
인덱스 회로(115)는 제 3 인덱스 신호(I3)를 제 2 인덱스 신호(I2)로 감소시킨다. 이어, 인덱스 회로(115)는 다시 수행된 S170 단계에서, 인덱스 회로(115)는 감소된 인덱스 신호(DI)인 제 2 인덱스 신호(I2)의 최대 코딩 유닛에 대응된 엣지 비율(ER2)이 제 2 인덱스 신호(I2)의 임계값보다 작다고 판단한다. The
S140 단계에서, 인덱스 회로(115)는 제 2 인덱스 신호(I2)가 출력할 수 있다. 이 때, 제 2 인덱스 신호(I2)는 제 5 엣지 데이터(ED5)를 포함하는 제 5 최대 코딩 유닛(LCU5)을 제 2 사이즈(S2)로 할당시킬 수 있다. In step S140, the
S150 단계에서, 인덱스 회로(115)는 한 프레임 이미지(O)에 대응된 엣지 데이터(ED) 중에서 최대 코딩 유닛(LCU)으로 할당되지 않은 영역이 존재하기 때문에 제 6 최대 코딩 유닛(LCU6)의 좌측 상단을 기준으로 S120 단계를 다시 수행한다.In step S150, since the
간결한 설명을 위해 제 6 최대 코딩 유닛(LCU6) 및 제 7 최대 코딩 유닛(LCU7)에 제 2 사이즈(S2)를 할당하는 과정은 앞서 언급된 제 5 최대 코딩 유닛(LCU5)에 제 2 사이즈(S2)를 할당하는 과정과 동일하므로 생략한다.The process of allocating the second size S2 to the sixth maximum coding unit LCU6 and the seventh maximum coding unit LCU7 for the sake of brevity is the same as the process of allocating the second size S2 to the fifth maximum coding unit LCU5, ) Is omitted.
엣지 검출 회로(113)는 제 8 최대 코딩 유닛(LCU8)의 좌측 상단을 기준으로 S120 단계를 수행한다. 그리고, 인덱스 회로(115)는 초기 인덱스 신호(IF)를 제 4 인덱스 신호(I4)로 설정한다. 이어, S130 단계가 수행된다. S130단계에서, 인덱스 회로(115)는 제 4 인덱스 신호(I4)의 최대 코딩 유닛에 대응된 엣지 비율(ER4)이 제 4 인덱스 신호(I4)의 임계값을 초과하거나 임계값과 같다고 판단한다. 이어, S160 단계가 수행된다. The
S160 단계에서, 인덱스 회로(115)는 제 4 인덱스 신호(I4)를 제 3 인덱스 신호(I3)로 감소시킨다. In step S160, the
S170 단계에서, 인덱스 회로(115)는 감소된 인덱스 신호(DI)인 제 3 인덱스 신호(I3)의 최대 코딩 유닛에 대응된 엣지 비율(ER3)이 제 3 인덱스 신호(I3)의 임계값을 초과하거나 임계값과 같다고 판단한다. 따라서, 다시 S160 단계가 수행된다.In step S170, the
S160 단계에서, 인덱스 회로(115)는 제 3 인덱스 신호(I3)를 제 2 인덱스 신호(I2)로 감소시킨다. In step S160, the
S170 단계에서, 인덱스 회로(115)는 감소된 인덱스 신호(DI)인 제 2 인덱스 신호(I2)의 최대 코딩 유닛에 대응된 엣지 비율(ER2)이 제 2 인덱스 신호(I2)의 임계값을 초과하거나 임계값과 같다고 판단한다. 따라서, 다시 S160 단계가 수행된다.In step S170, the
S160 단계에서, 인덱스 회로(115)는 제 2 인덱스 신호(I2)를 제 1 인덱스 신호(I1)로 감소시킨다. 또한, 인덱스 회로(115)는 제 1 인덱스 신호(I1)인 경우 S170 단계를 건너 뛰고 S140 단계로 진입하여 제 1 인덱스 신호(I1)가 출력될 수 있다. 예를 들어, 제 1 인덱스 신호(I1)는 제 8 엣지 데이터(ED8)를 포함하는 제 8 최대 코딩 유닛(LCU8)을 제 1 사이즈(S1)로 할당시킬 수 있다. In step S160, the
S150 단계에서, 인덱스 회로(115)는 한 프레임 이미지(O)에 대응된 엣지 데이터(ED) 중에서 최대 코딩 유닛(LCU)으로 할당되지 않은 영역이 존재하기 때문에 제 9 최대 코딩 유닛(LCU9)의 좌측 상단을 기준으로 S120 단계가 다시 수행한다. In step S150, since the
위와 같은 과정은 한 프레임 이미지(O)에 대응된 모든 엣지 데이터(ED)가 최대 코딩 유닛(LCU)으로 할당될 때까지 반복적으로 수행될 수 있다.The above process can be repeatedly performed until all the edge data ED corresponding to one frame image O are assigned to the maximum coding unit (LCU).
간결한 설명을 위해 제 9 최대 코딩 유닛(LCU9) 내지 제 11 최대 코딩 유닛(LCU11)에 제 1 사이즈(S1)를 할당하는 과정은 앞서 언급된 제 8 최대 코딩 유닛(LCU8)에 제 1 사이즈(S1)를 할당하는 과정과 동일하므로 생략한다. The process of assigning the first size S1 to the ninth maximum coding unit LCU9 to the eleventh maximum coding unit LCU11 for the sake of brevity is the same as the process of assigning the eighth maximum coding unit LCU8 to the first size S1 ) Is omitted.
도 7에 따라 최대 코딩 유닛(LCU)의 사이즈를 할당하는 순서는 예시적인 것이므로, 이에 제한되지 않음은 이해될 수 있을 것이다. 또한, S130 단계를 수행하는 과정에서, 제 1 내지 제 11 최대 코딩 유닛들(LCU1~LCU11)의 엣지 비율들과 인덱스 신호들의 임계값들을 비교하여 최대 코딩 유닛(LCU)의 사이즈를 할당하는 경우, 제 1 내지 제 11 최대 코딩 유닛들(LCU1~LCU11) 각각의 좌측 상단을 기준픽셀로 하였으나, 이에 한정되지 않고, 다양한 방식의 기준 픽셀을 이용해 최대 코딩 유닛들의 사이즈를 할당할 수 있음은 이해될 수 있을 것이다.It is to be understood that the order of allocating the size of the maximum coding unit (LCU) according to FIG. 7 is exemplary and not limited thereto. Also, in the course of performing step S130, when the edge rates of the first through eleventh maximum coding units LCU1 through LCU11 are compared with the threshold values of the index signals to allocate the size of the maximum coding unit (LCU) Although it is assumed that the upper left corner of each of the first through eleventh maximum coding units LCU1 through LCU11 is a reference pixel, the present invention is not limited to this, and it is understood that the sizes of the maximum coding units can be allocated using various reference pixels There will be.
도 1 내지 도 7을 참조하면, 한 프레임 내 이미지 영상을 가변적인 크기를 갖는 최대 코딩 유닛(LCU)들로 분할될 수 있음은 이해될 것이다. 또한, 가변적인 최대 코딩 유닛(LCU)들 중 가장 큰 사이즈를 갖는 최대 코딩 유닛(LCU)의 압축률은 상대적으로 작은 사이즈를 갖는 최대 코딩 유닛(LCU)의 압축률보다 크게 하는 방식을 통해 압축 영상 장치의 압축 효율이 향상될 수 있음도 이해될 것이다.Referring to Figures 1-7, it will be appreciated that an image within a frame can be divided into a maximum coding unit (LCU) having a variable size. Further, the compression ratio of the maximum coding unit (LCU) having the largest size among the variable maximum coding units (LCU) is made larger than the compression rate of the maximum coding unit (LCU) having the relatively small size. It will also be understood that the compression efficiency can be improved.
도 8은 화면 내 예측에 따른 영상 압축 장치의 인코딩 회로(130)의 내부 블록도이다.8 is an internal block diagram of the
도 1 내지 도 8을 참조하면, 영상 압축 장치(100)에 포함된 인코딩 회로(130)는 제 1 가산기(131), 변환회로(132), 엔트로피 부호화 회로(133), 역 변환 회로(134), 제 2 가산기(135), 예측 모듈(136), 인 루프 필터(137) 및 프레임 메모리(138)을 포함할 수 있다. 또한, 도 8의 인코딩 회로(130)의 입력 신호는 지연 버퍼 회로(120)에서 출력되는 동기 이미지 신호(OI)에 해당한다. 1 to 8, the
제 1 가산기(131)는 동기 이미지 신호(OI)와 예측 모듈(136)에서 출력되는 화면 내 예측 값(P)을 뺀 차분 블록(R)을 출력한다.The
변환 회로(132)는 차분 블록(R)을 수신하여 차분 블록에 대한 주파수 영역의 변환 계수로 변환함으로써. 차분 블록 내의 상관성을 제거할 수 있다. 이 경우 DCT(Discrete Cosine Transform), DST(Discrete Sine Transform), 정수 변환(Integer Transform), 또는 이들과 유사한 변환이 이용될 수 있다. 이어, 변환 회로(132)에서는 비트 레이트(Bit rate)를 더 줄이기 위해 주파수 영역의 변환 계수에 대해 양자화된 데이터(R1)를 출력한다.The converting
엔트로피 부호화 회로(133)는 양자화된 데이터(R1)을 수신하고, 이를 저장 또는 전송을 위해 압축된 비트 스트림(Compressed bitstream, CBS)을 출력한다.The
역 변환 회로(134)는 주파수 영역인 양자화된 데이터(R1)를 수신하여 이를 픽셀 영역으로 복원(Reconstruction)하기 위해 역 양자화 동작과 역 변환 동작을 각각 수행하여 복원된 차분 블록(R2)가 출력될 수 있다. 이러한 역 변환 동작을 수행하는 이유는 인코더 회로와 디코더 회로간에 미스-매치(Miss-match)가 발생되지 않도록 하기 위함이다. The
제 2 가산기(135)는 복원된 차분 블록(R2)과 화면 내 예측 값(P)을 합한 복원 블록 신호(O1)를 인 루프 필터(137) 및 예측 모듈(136) 내 화면 내 예측부(136a)로 출력할 수 있다. 이 경우 복원 블록 신호(O2)는 양자화 과정에서 발생한 에러를 포함한 신호이기 때문에 동기 이미지 신호(OI)와 동일한 신호가 아니다.The
예측 모듈(136)은 화면 내 예측부(136a) 및 화면 간 예측부(136b)를 포함할 수 있다. 도 8의 예측 모듈(136)의 화면 내 예측부(136a)는 코딩하려는 데이터 블록의 주변의 픽셀 값들로부터 예측 블록(P)을 생성하여 제 1 가산기(131) 및 제 2 가산기(135)에 출력할 수 있다. The
인 루프 필터(137)는 복원 블록 신호(O1)를 기반으로 보상 블록 신호(O2)를 출력한다. 구체적으로, 인 루프 필터(137)는 수신된 복원 블록 신호(O1)에 포함된 노이즈 신호를 제거하고, 원본 데이터 신호와 복원 블록 신호(O1) 사이의 왜곡을 보상하여 보상 블록 신호(O2)를 외부 출력 비디오 장치(미도시)로 출력할 수 있다.The in-
도 9는 화면 간 예측에 따른 영상 압축 장치의 인코딩 회로를 자세히 보여주는 블록도이다. 도 9에 도시된 예측 모듈(136)의 화면 간 예측부(136b)는 현재 코딩하려는 데이터 블록을 이전에 코딩된 데이터 블록으로부터 예측 블록(P)을 생성하고, 이를 제 1 가산기(131) 및 제 2 가산기(135)에 출력할 수 있다. 도 9에 표현된 구성요소 중 도 8에 도시된 구성요소와 동일한 참조부호를 병기하는 구성요소에 대해서는 그에 대한 구체적인 설명을 생략한다.9 is a block diagram showing in detail an encoding circuit of an image compression apparatus according to inter-picture prediction. The
도 10은 전자 기기에 적용된 본 발명의 응용 예를 도시한 블록도이다.10 is a block diagram showing an application example of the present invention applied to an electronic apparatus.
도 10을 참조하면, 전자 기기(1000)는 트랜시버 및 모뎀(1010), CPU(1001), DRAM(2001), 플래시 메모리(1040), 디스플레이 유닛(1020), 유저 인터페이스(1030), 및 엔코더(1050)를 포함한다. 10, the
CPU(1001)는 미리 설정된 프로그램에 따라 전자 기기의 제반 동작을 제어한다. DRAM(2001)은 CPU(1001)의 메인 메모리로서 기능 할 수 있다. DRAM(2001)은 동기식 또는 비동기식 랜덤 엑세스 메모리일 수 있다. The
트랜시버 및 모뎀(1010)은 통신 데이터의 변복조 기능을 수행한다. 디스플레이 유닛(1020)은 백라이트를 갖는 액정이나 LED 광원을 갖는 액정 또는 OLED 등의 소자로서 터치 스크린을 가질 수 있다. 디스플레이 유닛(1020)은 문자, 숫자, 그림 등의 이미지를 컬러로 표시하는 출력 소자로서 기능한다. 유저 인터페이스(1030)은 숫자키, 기능키 등을 포함하는 입력 소자일 수 있으며, 전자 기기와 사람간을 인터페이싱하는 역할을 한다. The transceiver and
플래시 메모리(1040)는 노어 타입 혹은 낸드 타입 플래시 메모리일 수 있다. 플래시 메모리(1040)는 텍스트, 그래픽, 소프트웨어 코드 등과 같은 다양한 데이터 형태들을 갖는 데이터 정보를 저장할 수 있다. The
엔코더(1050)는 본 발명의 실시 예에 따른 영상 압축 장치(100)를 의미할 수 있다. 예를 들어, 엔코더(1050)는 복수의 프레임의 이미지를 수신할 수 있다. 그리고, 엔코더(1050)는 수신된 복수의 프레임의 이미지 중 한 프레임의 이미지에 대응된 비트 스트림 신호들을 순차적으로 출력할 수 있다.The
전자 기기(1000)는 모바일 통신 장치나 필요한 경우에 구성 요소를 가감하여 스마트 카드나 SSD로서 기능할 수 있다. 전자기기(1000)는 별도의 인터페이스를 통해 외부의 통신 장치와 연결될 수 있다. 통신 장치는 DVD(digital versatile disc) 플레이어, 컴퓨터, 셋 탑 박스(set top box, STB), 게임기, 디지털 캠코더 등일 수 있다. 비록 도면에는 도시되지 않았지만, 전자기기(1000)에는 카메라 이미지 프로세서(Camera Image Processor: CIS) 등이 더 제공될 수 있음은 이 분야의 통상적인 지식을 가진 자에게 자명하다.The
본 발명의 상세한 설명에서는 구체적인 실시 예에 관하여 설명하였으나, 본 발명의 범위에서 벗어나지 않는 한도 내에서 여러 가지 변형이 가능하다. 그러므로, 본 발명의 범위는 상술한 실시 예에 국한되어 정해져서는 안되며 후술하는 특허청구범위뿐만 아니라 이 발명의 특허청구범위와 균등한 것들에 의해 정해져야 한다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art. Therefore, the scope of the present invention should not be limited to the above-described embodiments, but should be determined by the equivalents of the claims of the present invention as well as the following claims.
100: 영상 압축 장치 110: 인덱스 판단회로
111: 비디오 입력 버퍼 회로 112: 엣지 검출 회로
113: 인덱스 회로 120: 지연 버퍼 회로
130: 인코딩 회로 131: 제 1 가산기
132: 변환 회로 133: 엔트로피 부호화 회로
134: 역 변환 회로 135: 제 2 가산기
136: 예측 모듈 136a: 화면 내 예측부
136b: 화면 간 예측부 137: 인 루프 필터
138: 프레임 메모리100: image compressing apparatus 110: index judging circuit
111: Video input buffer circuit 112: Edge detection circuit
113: Index circuit 120: Delay buffer circuit
130: encoding circuit 131: first adder
132: conversion circuit 133: entropy coding circuit
134: Inverse conversion circuit 135: Second adder
136:
136b: inter-picture prediction unit 137: in-loop filter
138: Frame memory
Claims (14)
상기 한 프레임의 이미지와 상기 인덱스 신호들을 동기(synchronization)시킨 동기 이미지 신호를 출력하는 지연 버퍼 회로; 및
상기 동기 이미지 신호를 기반으로 압축된 비트 스트림을 출력하는 인코딩 회로를 포함하되,
상기 인덱스 신호들은 상기 한 프레임의 이미지에 대응하는 상기 최대 코딩 유닛(LCU)들의 사이즈에 대한 정보를 포함하는 영상 압축 장치.Detects edge data by filtering an image of a received frame, determines an initial index signal among index signals corresponding to each of a plurality of LCUs having different sizes, An index determination circuit for outputting the index signals based on the index signals;
A delay buffer circuit for outputting a synchronous image signal synchronized with an image of the frame and the index signals; And
And an encoding circuit outputting a compressed bitstream based on the synchronous image signal,
Wherein the index signals comprise information about a size of the maximum coding units (LCUs) corresponding to an image of the one frame.
상기 인덱스 판단회로는,
복수의 프레임들의 이미지들을 수신 및 저장하고 상기 복수의 프레임들의 이미지들을 순차적으로 출력하는 비디오 입력 버퍼 회로;
상기 순차적으로 출력된 각 프레임의 이미지를 수신하여 상기 필터링을 통해 상기 엣지 데이터를 검출하는 엣지 검출 회로; 및
상기 엣지 데이터를 기반으로 상기 초기 인덱스 신호의 최대 코딩 유닛에 대응된 엣지 비율과 상기 초기 인덱스 신호의 임계값을 비교하여, 상기 엣지 비율이 상기 초기 인덱스 신호의 임계값 미만이면 상기 초기 인덱스 신호를 출력하는 인덱스 회로를 포함하는 영상 압축 장치.The method according to claim 1,
The index determination circuit determines,
A video input buffer circuit for receiving and storing images of a plurality of frames and sequentially outputting images of the plurality of frames;
An edge detection circuit receiving an image of each sequentially output frame and detecting the edge data through the filtering; And
The edge index corresponding to the maximum coding unit of the initial index signal is compared with the threshold value of the initial index signal based on the edge data and if the edge ratio is less than the threshold value of the initial index signal, And an index circuit for performing an image compression.
상기 엣지 검출회로는 소벨 필터(Sobel filter)를 이용한 방식 또는 프리윗 필터(Prewitt filter)를 이용한 방식 중 어느 하나의 필터를 이용해 상기 필터링을 수행하는 영상 압축 장치. 3. The method of claim 2,
Wherein the edge detection circuit performs the filtering using any one of a filter using a Sobel filter or a filter using a prewitt filter.
상기 엣지 검출회로는 상기 필터와 상기 한 프레임 내의 픽셀들에 대응한 값들을 제 1 방향 및 제 2 방향으로 각각 컨벌루션한 값들을 제 1 행렬 및 제 2 행렬로 각각 저장하고, 상기 제 1 행렬 및 상기 제 2 행렬에 저장된 값들의 크기를 각각 연산하여 합한 후 루트를 씌운 값들을 상기 한 프레임의 이미지에 대응된 행렬로 저장하는 방식으로 필터링을 수행하는 영상 압축 장치. The method of claim 3,
Wherein the edge detection circuit stores values obtained by convoluting values of the filter and the pixels corresponding to the pixels in the first direction and the second direction respectively with a first matrix and a second matrix, Wherein the filtering is performed by calculating and summing the magnitudes of the values stored in the second matrix and then storing the rooted values as a matrix corresponding to the image of the one frame.
상기 인덱스 회로는 상기 초기 인덱스 신호의 최대 코딩 유닛에 대응된 엣지 비율이 상기 초기 인덱스 신호의 임계값과 같거나 상기 임계값을 초과하는 경우, 상기 초기 인덱스 신호를 감소시키고, 상기 감소된 인덱스 신호의 최대 코딩 유닛에 대응된 엣지 비율과 상기 감소된 인덱스 신호의 임계값을 비교하는 영상 압축 장치.3. The method of claim 2,
The index circuit decreasing the initial index signal when an edge ratio corresponding to a maximum coding unit of the initial index signal is equal to or exceeds a threshold value of the initial index signal, And compares the edge ratio corresponding to the maximum coding unit with the threshold value of the reduced index signal.
상기 엣지 비율은 상기 초기 인덱스 신호 또는 상기 감소된 인덱스 신호의 최대 코딩 유닛(LCU)의 사이즈가 커버하는 영역의 엣지 데이터의 총합을 상기 초기 인덱스 신호 또는 상기 감소된 인덱스 신호의 최대 코딩 유닛의 사이즈가 커버하는 영역 내 픽셀들의 수로 나눈 값인 영상 압축 장치.6. The method of claim 5,
The edge ratio is set such that the sum of the edge data of the area covered by the size of the maximum coding unit (LCU) of the initial index signal or the reduced index signal is smaller than the sum of the edge data of the initial index signal or the size of the maximum coding unit of the reduced index signal Which is a value divided by the number of pixels in the coverage area.
상기 서로 다른 사이즈들을 갖는 최대 코딩 유닛(LCU)들은 상기 인덱스 신호들에 따라 256X256 크기, 128X128 크기, 64X64 크기, 32X32 크기들 중 어느 하나의 크기를 갖는 영상 압축 장치.The method according to claim 1,
Wherein the maximum coding units (LCUs) having different sizes have a size of 256X256, 128X128, 64X64, or 32X32 according to the index signals.
상기 인덱스 판단회로는 상기 초기 인덱스 신호의 최대 코딩 유닛(LCU)의 사이즈를 상기 256X256 크기로 결정하는 영상 압축 장치. 8. The method of claim 7,
Wherein the index determination circuit determines the size of the maximum coding unit (LCU) of the initial index signal to be the 256X256 size.
서로 다른 사이즈들을 갖는 최대 코딩 유닛(LCU)들에 각각 대응하는 인덱스 신호들 중에서 초기 인덱스 신호를 결정하는 단계;
상기 엣지 데이터를 기반으로 상기 한 프레임에 대응하는 상기 최대 코딩 유닛(LCU)들의 사이즈를 가리키는 인덱스 신호들을 출력하는 단계;
상기 한 프레임의 이미지와 상기 인덱스 신호들을 동기 (synchronization)시켜 동기 이미지 신호로 출력하는 단계; 및
상기 동기 이미지 신호를 기반으로 압축된 비트 스트림을 출력하는 단계를 포함하는 영상 압축 방법.Detecting edge data by filtering pixel signals constituting a received frame image;
Determining an initial index signal among index signals corresponding to maximum coding units (LCUs) having different sizes;
Outputting index signals indicating a size of the maximum coding units (LCUs) corresponding to the one frame based on the edge data;
Synchronizing the image of the frame with the index signals and outputting the synchronized image signal; And
And outputting a compressed bitstream based on the synchronous image signal.
상기 엣지 데이터를 검출하는 단계는,
상기 픽셀 신호들의 밝기가 급격하게 변하는 부분들을 검출하는 단계를 포함하는 영상 압축 방법.10. The method of claim 9,
Wherein the step of detecting the edge data comprises:
And detecting portions of the pixel signals whose brightness changes rapidly.
상기 인덱스 신호들을 출력하는 단계는,
상기 엣지 데이터를 기반으로 상기 초기 인덱스 신호의 최대 코딩 유닛에 대응된 엣지 비율과 상기 초기 인덱스 신호의 임계값을 비교하고, 상기 초기 인덱스 신호의 최대 코딩 유닛에 대응된 상기 엣지 비율이 상기 인덱스 신호의 임계값보다 작으면 상기 초기 인덱스 신호를 출력하는 단계를 포함하는 영상 압축 방법.10. The method of claim 9,
The step of outputting the index signals comprises:
The edge ratio corresponding to the maximum coding unit of the initial index signal is compared with the threshold value of the initial index signal based on the edge data and the edge ratio corresponding to the maximum coding unit of the initial index signal is compared with the index ratio And outputting the initial index signal if the index index is smaller than a threshold value.
상기 인덱스 신호들을 출력하는 단계는,
상기 초기 인덱스 신호의 최대 코딩 유닛에 대응된 엣지 비율이 상기 초기 인덱스 신호의 임계값과 같거나 상기 임계값을 초과하면, 상기 초기 인덱스 신호를 감소시키고, 상기 감소된 인덱스 신호의 최대 코딩 유닛에 대응된 엣지 비율과 상기 감소된 인덱스 신호의 임계값을 비교하고, 상기 엣지 비율이 상기 감소된 인덱스 신호의 임계값 미만이면 상기 감소된 인덱스 신호를 출력하는 단계를 포함하는 영상 압축 방법.10. The method of claim 9,
The step of outputting the index signals comprises:
If the edge ratio corresponding to the maximum coding unit of the initial index signal is equal to or exceeds the threshold value of the initial index signal, decreasing the initial index signal and corresponding to the maximum coding unit of the reduced index signal And outputting the reduced index signal if the edge ratio is less than a threshold value of the reduced index signal.
상기 한 프레임 이미지 내 모든 픽셀 신호들에 최대 코딩 유닛(LCU)들이 할당될 때까지 상기 엣지 데이터를 기반으로 상기 인덱스 신호들을 출력하는 단계를 더 포함하는 영상 압축 방법.10. The method of claim 9,
Further comprising outputting the index signals based on the edge data until all pixel signals in the frame image are assigned maximum coding units (LCUs).
상기 최대 코딩 유닛(LCU)은 쿼드 트리(Quad-tree) 형태로 분할되어 코딩 유닛(CU)들을 형성하는 단계를 더 포함하는 영상 압축 방법.10. The method of claim 9,
Wherein the maximum coding unit (LCU) is further divided into a quad-tree form to form coding units (CUs).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160001650A KR20170082356A (en) | 2016-01-06 | 2016-01-06 | Image compression device and compression method for image compression device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160001650A KR20170082356A (en) | 2016-01-06 | 2016-01-06 | Image compression device and compression method for image compression device |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20170082356A true KR20170082356A (en) | 2017-07-14 |
Family
ID=59358706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160001650A KR20170082356A (en) | 2016-01-06 | 2016-01-06 | Image compression device and compression method for image compression device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20170082356A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210126102A (en) * | 2019-11-22 | 2021-10-19 | 텐센트 아메리카 엘엘씨 | Method and apparatus for compression/decompression of neural network models |
-
2016
- 2016-01-06 KR KR1020160001650A patent/KR20170082356A/en unknown
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20210126102A (en) * | 2019-11-22 | 2021-10-19 | 텐센트 아메리카 엘엘씨 | Method and apparatus for compression/decompression of neural network models |
EP4062320A4 (en) * | 2019-11-22 | 2023-04-05 | Tencent America LLC | METHOD AND APPARATUS FOR NEURONAL NETWORK MODEL COMPRESSION/DECOMPRESSION |
US11671110B2 (en) | 2019-11-22 | 2023-06-06 | Tencent America LLC | Method and apparatus for neural network model compression/decompression |
US11791837B2 (en) | 2019-11-22 | 2023-10-17 | Tencent America LLC | Method and apparatus for neural network model compression/decompression |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11252402B2 (en) | Mode-dependent coefficient scanning and directional transforms for different colour sampling formats | |
US11575906B2 (en) | Image coding device, image decoding device, image coding method, and image decoding method | |
US9532057B2 (en) | Inter-layer prediction using sample-adaptive adjustments for bit depth scalable video coding | |
JP6800896B2 (en) | Processing high dynamic range and wide color gamut video data for video coding | |
US9299133B2 (en) | Image encoding device, image decoding device, image encoding method, and image decoding method for generating a prediction image | |
US9800884B2 (en) | Device and method for scalable coding of video information | |
US9420280B2 (en) | Adaptive upsampling filters | |
CN113812157A (en) | Zero-set mode based low frequency non-separable transform signaling for video coding | |
CN110622514A (en) | Intra-frame reference filter for video coding | |
TW201639365A (en) | Downsampling process for linear model prediction mode | |
TWI535273B (en) | Apparatus and video coding device configured to code video information, method of encoding and decoding video information and non-transitory computer readable medium | |
CN111373753B (en) | Conversion factor level coding method and device thereof | |
US11290709B2 (en) | Image data encoding and decoding | |
KR20210087078A (en) | Quantization for video encoding or decoding based on the surface of a block | |
JP7247349B2 (en) | Inter-component linear modeling method, apparatus, decoder, encoder, and program for intra prediction | |
JP2020537468A (en) | Spatial variation conversion for video coding | |
JP2022539311A (en) | Separate CABAC for subsections of pictures | |
CN116489389B (en) | Encoder, decoder and corresponding methods | |
CN114556923B (en) | Encoder, decoder and corresponding method using interpolation filtering | |
KR20170082356A (en) | Image compression device and compression method for image compression device | |
KR20240049294A (en) | Extended operating range for versatile video coding | |
US20250078224A1 (en) | Methods for reducing the appearance of block-related artifacts | |
CN119071510A (en) | Initialization process for video encoding | |
JP2022548685A (en) | Encoding and decoding image data | |
CN117897958A (en) | System and method for entropy encoding a multi-dimensional dataset |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20160106 |
|
PG1501 | Laying open of application | ||
PC1203 | Withdrawal of no request for examination |