KR101477772B1 - Computer readable redording meduim having recorded a computer program for executing a video decoding method using bit depth increasing - Google Patents

Computer readable redording meduim having recorded a computer program for executing a video decoding method using bit depth increasing Download PDF

Info

Publication number
KR101477772B1
KR101477772B1 KR20130077397A KR20130077397A KR101477772B1 KR 101477772 B1 KR101477772 B1 KR 101477772B1 KR 20130077397 A KR20130077397 A KR 20130077397A KR 20130077397 A KR20130077397 A KR 20130077397A KR 101477772 B1 KR101477772 B1 KR 101477772B1
Authority
KR
South Korea
Prior art keywords
bit depth
input signal
signal
bit
depth
Prior art date
Application number
KR20130077397A
Other languages
Korean (ko)
Other versions
KR20130082133A (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 KR20130077397A priority Critical patent/KR101477772B1/en
Publication of KR20130082133A publication Critical patent/KR20130082133A/en
Application granted granted Critical
Publication of KR101477772B1 publication Critical patent/KR101477772B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/184Methods 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 bits, e.g. of the compressed video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • 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
    • 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/176Methods 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 block, e.g. a macroblock

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

비트 심도 증가를 통한 복호화 방법을 실행하기 위한 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록 매체가 제공된다. 상기 프로그램은, 입력 신호의 비트 심도(bit depth)를 확인하는 단계, 상기 입력 신호의 비트 심도가 원신호의 비트 심도보다 감소된 경우, 상기 입력 신호의 비트 심도를 증가시키는 단계 및 상기 비트 심도가 증가된 입력 신호를 이용하여 영상을 복원하는 단계를 포함한다. There is provided a computer-readable recording medium having recorded thereon a program for executing a decoding method through an increase in bit depth. The program comprising the steps of: checking the bit depth of the input signal; increasing the bit depth of the input signal if the bit depth of the input signal is less than the bit depth of the original signal; And reconstructing the image using the increased input signal.

Figure R1020130077397
Figure R1020130077397

Description

비트 심도 증가를 통한 복호화 방법을 실행하기 위한 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록 매체{COMPUTER READABLE REDORDING MEDUIM HAVING RECORDED A COMPUTER PROGRAM FOR EXECUTING A VIDEO DECODING METHOD USING BIT DEPTH INCREASING}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a computer readable recording medium on which a program for executing a decoding method through an increase in bit depth is recorded.

본 발명의 실시예들은 부호화와 복호화 방법 및 그 장치에 관한 것이다.Embodiments of the present invention relate to a method and apparatus for encoding and decoding.

본 발명은 지식 경제부 및 정보통신연구진흥원의 IT원천기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2008-F-011-01, 과제명: 초고품질TV 및 고효율 비디오 코덱 기술 개발].The present invention has been derived from research carried out as part of the IT source technology development project of the Ministry of Knowledge Economy and the Korea Information Society Agency. [Assignment number: 2008-F-011-01, Title: Ultra high quality TV and high efficiency video codec technology Development].

일반적으로 동영상의 부호화 방법은 고정된 각각의 밝기 및 컬러 성분에 대하여 8, 10, 또는 12 비트 심도(bit depth)의 입력 정보를 받아서 해당 비트 심도로 부호화 및 복호화를 수행한다.Generally, a moving image encoding method receives input information of 8, 10, or 12 bit depth for each fixed brightness and color component, and performs encoding and decoding at the corresponding bit depth.

예를 들어, H.264/AVC의 경우에는 베이스라인 프로파일(baseline profile)은 8 비트(bits)의 비트 심도의 원신호에 대하여 부호화 및 복호화를 수행할 수 있으며, 하이 프로파일10(high profile10)은 10 비트(bits) 이상의 원신호에 대하여 부호화 및 복호화를 수행할 수 있다. For example, in the case of H.264 / AVC, the baseline profile can perform encoding and decoding on the original signal of 8 bits (bit depth), and the high profile 10 It is possible to perform encoding and decoding on the original signal of 10 bits or more.

본 발명의 일실시예는, 비디오의 부호화에서 각각의 밝기 및 컬러 성분의 비트 심도(bit depth)를 감소시킨다. 비트 심도의 감소를 슬라이스 혹은 매크로 블록 단위로 적응적으로 선택하여 수행함으로써, 필요 이상의 비트 심도로 부호화 되지 않도록 하여 부호화 효율을 향상시키고 시스템 복잡도를 줄이는 것을 목적으로 한다.One embodiment of the present invention reduces the bit depth of each brightness and color component in the encoding of video. It is an object of the present invention to improve the coding efficiency and reduce the system complexity by preventing the bit depths from being encoded more than necessary by adaptively selecting the slice or macroblock.

본 발명의 일실시예에 따른 비트 심도 증가를 통한 복호화 방법을 실행하기 위한 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록 매체에서, 상기 프로그램은 입력 신호의 비트 심도(bit depth)를 확인하는 단계, 상기 입력 신호의 비트 심도가 원신호의 비트 심도보다 감소된 경우, 상기 입력 신호의 비트 심도를 증가시키는 단계 및 상기 비트 심도가 증가된 입력 신호를 이용하여 영상을 복원하는 단계를 포함한다.
상기 입력 신호의 비트 심도가 원신호의 비트 심도보다 감소된 경우, 상기 입력 신호의 비트 심도를 상기 원신호의 비트 심도와 상기 입력 신호의 비트 심도 간의 차이만큼 좌방향으로 쉬프트(shift)하여 증가시킬 수 있다.
상기 입력 신호의 비트 심도는, 상기 입력 신호의 밝기 성분(luma)에 대한 비트 심도 및 상기 입력 신호의 컬러 성분(chroma)에 대한 비트 심도 중 적어도 하나를 포함할 수 있다.
상기 입력 신호의 비트 심도가 원신호의 비트 심도보다 감소된 경우, 복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 증가시킬 수 있다.
상기 증가된 입력 신호의 비트 심도는 상기 원신호의 비트 심도와 동일한 값일 수 있다.
상기 입력 신호는 부호화기에 입력된 영상 신호일 수 있다.
According to another aspect of the present invention, there is provided a computer-readable recording medium having recorded thereon a program for executing a decoding method through an increase in bit depth, the program comprising the steps of: checking a bit depth of an input signal; Increasing the bit depth of the input signal if the bit depth of the input signal is less than the bit depth of the original signal, and recovering the image using the increased input bit depth.
If the bit depth of the input signal is less than the bit depth of the original signal, the bit depth of the input signal is shifted to the left by the difference between the bit depth of the original signal and the bit depth of the input signal .
The bit depth of the input signal may include at least one of a bit depth for a brightness component (luma) of the input signal and a bit depth for a color component (chroma) of the input signal.
The bit depth of the input signal can be increased by using a mapping table in which the bit depth values of the plurality of signals are stored when the bit depth of the input signal is smaller than the bit depth of the original signal.
The bit depth of the increased input signal may be the same as the bit depth of the original signal.
The input signal may be a video signal input to the encoder.

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

삭제delete

본 발명의 일실시예에 따르면, 비디오의 부호화에서 각각의 밝기 및 컬러 성분의 비트 심도(bit depth)를 감소시키며, 비트 심도의 감소를 슬라이스 혹은 매크로 블록 단위로 적응적으로 선택하여 수행함으로써, 필요 이상의 비트 심도로 부호화 되지 않도록 하여 부호화 효율을 향상시키고 시스템 복잡도를 줄일 수 있다.According to an embodiment of the present invention, a bit depth of each brightness and color component is reduced in encoding a video, and a bit depth reduction is adaptively selected and performed in units of slices or macroblocks, The coding efficiency can be improved and the system complexity can be reduced.

도 1은 본 발명의 일실시예에 따른 부호화 장치의 구성도이다.
도 2는 본 발명의 또 다른 일실시예에 따른 부호화 장치의 구성도이다.
도 3은 본 발명의 일실시예에 따른 복호화 장치의 구성도이다.
도 4는 본 발명의 또 다른 일실시예에 따른 복호화 장치의 구성도이다.
도 5는 본 발명의 일실시예에 따른 부호화 방법을 설명하기 위한 흐름도이다.
도 6은 본 발명의 또 다른 일실시예에 따른 부호화 방법을 설명하기 위한 흐름도이다.
도 7은 본 발명의 일실시예에 따른 복호화 방법을 설명하기 위한 흐름도이다.
도 8은 본 발명의 또 다른 일실시예에 따른 복호화 방법을 설명하기 위한 흐름도이다.
1 is a configuration diagram of an encoding apparatus according to an embodiment of the present invention.
2 is a configuration diagram of an encoding apparatus according to another embodiment of the present invention.
3 is a block diagram of a decoding apparatus according to an embodiment of the present invention.
4 is a block diagram of a decoding apparatus according to another embodiment of the present invention.
5 is a flowchart illustrating an encoding method according to an embodiment of the present invention.
6 is a flowchart illustrating a coding method according to another embodiment of the present invention.
7 is a flowchart illustrating a decoding method according to an embodiment of the present invention.
8 is a flowchart illustrating a decoding method according to another embodiment of the present invention.

이하에서, 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다. 그러나, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to or limited by the embodiments. Like reference symbols in the drawings denote like elements.

도 1은 본 발명의 일실시예에 따른 부호화 장치의 구성도이다. 도 1을 참조하여 본 발명의 일실시예에 따른 부호화 장치의 구성을 설명하기로 한다.1 is a configuration diagram of an encoding apparatus according to an embodiment of the present invention. The configuration of an encoding apparatus according to an embodiment of the present invention will be described with reference to FIG.

본 발명의 일실시예에 따르는 부호화 장치는 비트 심도 조정부(110), 비트 심도 감소부(120), 비트 심도 양자화부(130), 및 비트 심도 증가부(140)를 포함한다.The encoding apparatus according to an embodiment of the present invention includes a bit depth adjustment unit 110, a bit depth reduction unit 120, a bit depth quantization unit 130, and a bit depth increasing unit 140.

비트 심도 조정부(110)는 입력 신호의 비트 심도(bit depth)를 감소시킬 것인지 판단한다.The bit depth adjustment unit 110 determines whether to reduce the bit depth of the input signal.

본 발명의 일실시예의 비트 심도로는 각 밝기 및 컬러 성분의 비트 심도가 사용될 수 있다.The bit depth of each brightness and color component may be used for the bit depth of an embodiment of the present invention.

이때, 비트 심도 조정부(110)는 비트 심도를 줄이더라도 부호화 효율의 감소가 미비하고 복잡도의 장점을 가질 수 있거나, 해당 블록 혹은 슬라이스의 비트 심도를 줄여 비트 심도를 줄이지 않은 다른 블록 혹은 슬라이스에 더 많은 비트를 할당 할 수 있도록하여 전체 시퀀스에서의 부호화 효율의 증대를 가져 올 수 있는 경우에, 비트 심도를 줄이도록 판단할 수 있다.At this time, although the bit depth adjustment unit 110 reduces the bit depth, there is little reduction in the coding efficiency, and the bit depth adjustment unit 110 may have an advantage of the complexity. Alternatively, the bit depth adjustment unit 110 may reduce the bit depth of the corresponding block or slice, It is possible to determine that the bit depth is reduced when the coding efficiency can be increased in the entire sequence by allowing the bits to be allocated.

비트 심도 조정부(110)가 비트 심도를 감소시킬 것으로 판단한 경우, 비트 심도 감소부(120)는 상기 입력 신호의 비트 심도를 감소시킨다.When the bit depth adjustment unit 110 determines that the bit depth is to be reduced, the bit depth reduction unit 120 reduces the bit depth of the input signal.

이때, 비트 심도 감소부(120)는 상기 입력 신호의 비트 심도를 선정된 값만큼 우방향으로 쉬프트(shift)하여 감소시키거나, 복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 감소시킬 수 있다.At this time, the bit depth reduction unit 120 shifts the bit depth of the input signal by a predetermined amount to the right direction and reduces the bit depth, or uses a mapping table in which bit depth values of a plurality of signals are stored So that the bit depth of the input signal can be reduced.

이때, 비트 심도 감소부(120)는 비트 심도 조정부(110)를 포함하여 구성되어, 비트 심도를 감소시킬 것인지를 판단할 수 있다.At this time, the bit depth reduction unit 120 may include a bit depth adjustment unit 110 to determine whether to reduce the bit depth.

비트 심도 양자화부(130)는 상기 입력 신호를 양자화한다.The bit depth quantization unit 130 quantizes the input signal.

비트 심도 증가부(140)는 상기 입력 신호의 비트 심도를 증가시킨다.The bit depth increasing unit 140 increases the bit depth of the input signal.

이때, 비트 심도 증가부(140)는 상기 입력 신호의 비트 심도를 선정된 값만큼 좌방향으로 쉬프트(shift)하여 증가시키거나, 복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 증가시킬 수 있다.At this time, the bit depth increasing unit 140 shifts the bit depth of the input signal to the left by a predetermined value, or increases the bit depth of the input signal by using a mapping table in which bit depth values of a plurality of signals are stored So that the bit depth of the input signal can be increased.

이후, 각 밝기 및 컬러 성분의 비트 심도(bit depth)가 M 비트 심도인 입력 신호의 예를 들어 설명하기로 한다.Hereinafter, an example of an input signal in which the bit depth of each brightness and color component is M-bit depth will be described.

본 발명의 일실시예에 따르면, H.264/AVC 인코더에, 비트 심도 조정부(Bit depth control, 110), 비트 심도 감소부(bit depth decreasing: 120), 및 비트 심도 증가부(bit depth increasing, 140)를 포함할 수 있다.According to an embodiment of the present invention, a H.264 / AVC encoder is provided with a bit depth control unit 110, a bit depth decreasing unit 120, and a bit depth increasing unit 120, 140).

비트 심도 조정부(110)는 상기 기술된 적응적 비트 심도 감소부(120)와 비트 심도 증가부(140)를 제어할 수 있다. 보다 상세하게 설명하면, 비트 심도 조정부(110)는 적응적 비트 심도 감소부(120)를 제어하여 비트 심도를 감소를 수행할 것인가 혹은 하지 않을 것인가를 조정하며, 비트 심도 증가부(140)를 제어하여 비트 심도를 증가 시킬지를 판단할 수 있다.The bit depth adjustment unit 110 may control the adaptive bit depth reduction unit 120 and the bit depth increasing unit 140 described above. More specifically, the bit depth adjustment unit 110 controls the adaptive bit depth reduction unit 120 to adjust whether the bit depth is to be reduced or not, and controls the bit depth increasing unit 140 It is possible to determine whether to increase the bit depth.

비트 심도 감소부(120)는 입력 신호의 샘플 비트 심도가 M 비트인 경우 슬라이스 혹은 블록 단위에서 비트 심도를 N으로 감소시킬 수 있다. 상기 비트 심도 N은 선정된 방법에 의해 정할 수 있다.The bit depth reduction unit 120 can reduce the bit depth to N in a slice or block unit when the sample bit depth of the input signal is M bits. The bit depth N may be determined by a predetermined method.

보다 상세하게 설명하면, 비트 심도 조정부(110)는 M 비트 심도의 입력 신호(M bit input signal)와 M 비트 심도의 참조 신호(M bit reference signal)에 대해 그 차이를 구해 잔여 신호(residual signal)를 구하고, 잔여 신호의 비트 심도를 감소 시킬지 여부를 판단할 수 있다.More specifically, the bit depth adjuster 110 obtains a difference between an M-bit input signal having an M-bit depth and an M-bit reference signal having an M-bit depth to obtain a residual signal, And determine whether to decrease the bit depth of the residual signal.

비트 심도 조정부(110)가 비트 심도를 감소시킬 것으로 판단한 경우, 비트 심도 감소부(120)는 M 비트 심도의 잔여 신호를 N 비트 심도의 신호로 변환한다.When the bit depth adjustment unit 110 determines that the bit depth is to be reduced, the bit depth reduction unit 120 converts the residual signal of M-bit depth into a signal of N-bit depth.

예를 들어, 비트 심도 감소부(120)는 M 비트 심도의 입력 신호를 α 만큼 우방향 쉬프트(shift)하여 N 비트 심도의 신호를 얻을 수 있다. 이때, N < M, M = N + α 이며, M, N, α는 양의 정수이다. For example, the bit depth reduction unit 120 may shift the input signal of M-bit depth by a to the right to obtain a signal of N-bit depth. At this time, N <M, M = N + α, and M, N, and α are positive integers.

또 달리, 비트 심도 감소부(120)는 M 비트 심도의 값에 대응하는 N 비트 심도의 값을 매핑 테이블(mapping table)로 미리 정의해 두고, 상기 매핑 테이블을 이용하여 입력되는 M 비트 심도의 값에 따라 N 비트 심도의 값을 선택할 수 있다.Alternatively, the bit depth reduction unit 120 may preliminarily define a value of N-bit depth corresponding to the value of the M-bit depth as a mapping table, and determine a value of the M-bit depth input using the mapping table The value of N-bit depth can be selected according to the number of bits.

비트 심도 감소부(120)에서 생성된 N 비트 심도의 신호를 N 비트 심도 양자화부(130) 측으로 제공할 수 있다. 한편, 비트 심도를 감소시키지 않는 경우, 입력 신호의 비트 심도에 해당하는 M 비트 심도의 신호를 M 비트 심도 양자화부(130) 측으로 제공할 수 있다.The N-bit depth quantization unit 130 can provide the N-bit depth signal generated by the bit depth reduction unit 120 to the N-bit depth quantization unit 130. On the other hand, when the bit depth is not reduced, a signal of M-bit depth corresponding to the bit depth of the input signal can be provided to the M-bit depth quantization unit 130 side.

비트 심도 양자화부(130)는 상기 입력 신호를 양자화한다.The bit depth quantization unit 130 quantizes the input signal.

비트 심도 증가부(140)는 부호기 내에서의 복호화하는 과정 중 감소된 비트 심도를 원신호의 비트 심도와 동일해지도록 비트 심도를 증가시킬 수 있다. 따라서, N 비트 심도로 감소된 신호를, 입력 신호 샘플의 비트 심도와 동일한 M 비트 심도의 신호로 출력할 수 있으며, M 비트 심도의 복호화된 정보를 다음 프레임의 참조 신호로 활용할 수 있다.The bit depth increasing unit 140 may increase the bit depth so that the reduced bit depth during the decoding process in the encoder becomes equal to the bit depth of the original signal. Therefore, the signal reduced in N-bit depth can be output as a signal having the M-bit depth equal to the bit depth of the input signal sample, and the decoded information having the M-bit depth can be utilized as the reference signal for the next frame.

보다 상세하게 설명하면, 비트 심도 증가부(140)는 비트 심도 증가부(140)에 입력된 신호의 비트 심도에 따라서 비트 심도를 증가시킬 수 있다.In more detail, the bit depth increasing unit 140 may increase the bit depth according to the bit depth of the signal input to the bit depth increasing unit 140.

즉, 비트 심도 조정부(110)는 입력 신호의 비트 심도를 측정하고, 비트 심도 조정부(110)의 판단 및 제어에 의해 비트 심도 증가부(140)는 입력 신호의 비트 심도가 원신호와 동일한 M 비트 심도인 경우에는 단지 통과시키며, 비트 심도가 N 비트 심도인 경우에는 α개만큼의 비트를 추가시켜 N 비트 심도를 M 비트 심도로 증가시킬 수 있다.That is, the bit depth adjustment unit 110 measures the bit depth of the input signal. By the determination and control of the bit depth adjustment unit 110, the bit depth increasing unit 140 determines that the bit depth of the input signal is equal to the M bit If the bit depth is N-bit depth, the N-bit depth can be increased to M-bit depth by adding a number of bits.

이때, 비트 심도 증가부(140)는 α만큼 좌향 쉬프트(shift)시켜 α개의 비트를 추가하고 β를 더해주어, 원신호와 동일한 M 비트 심도인 신호를 출력할 수 있다.At this time, the bit depth increasing unit 140 shifts leftward by? To add? Bits and add? To output a signal having the same M-bit depth as the original signal.

상기 β를 선택하는 방법의 실시예들을 보다 상세하게 설명하기로 한다.Embodiments of the method for selecting? Will be described in more detail.

일실시예로서 β가 나타내는 값은, 절삭한 비트의 중간값(=α/2), 즉 2(α=2) 비트를 절삭하여 β=1(=102진수)을 최하위 비트에 추가하여, 비트 심도 증가 및 감소로 인한 평균 오류를 최소화할 수 있다.
In one embodiment, the value indicated by? Is added to the least significant bit by cutting the intermediate value (=? / 2) of the cut bits, i.e., 2 The average error due to the increase and decrease of the depth can be minimized.

다른 일실시예로서, β는 부호화 특성에 따라 미리 정의한 값들 중 한가지로 대체할 수 있다. 즉, 화면내(intra) 부호화된 블록인 경우 β= 1(102진수), 화면간(inter) 부호화한 경우 β= 0(002진수)로 정의할 수 있다.As another embodiment,? Can be replaced by one of the predefined values according to the encoding characteristic. That is, it can be defined as? = 1 (102 decimal numbers) in the case of an intra-coded block and? = 0 (002 decimals) when inter-picture coding is performed.

또 다른 일실시예로서, N 비트 심도의 값에 대응하는 M 비트 심도의 값을 매핑 테이블로 미리 정의해 두고, 상기 매핑 테이블을 이용하여 입력되는 N 비트 심도의 값에 따라 M 비트 심도의 값을 획득할 수도 있다.As another embodiment, a value of M-bit depth corresponding to a value of N-bit depth may be defined in advance as a mapping table, and a value of M-bit depth may be calculated according to a value of N-bit depth input using the mapping table It can also be obtained.

따라서, 비트 심도 증가부(140)는 입력된 신호의 비트 심도에 따라서 비트 심도를 증가시킬 수 있다.Accordingly, the bit depth increasing unit 140 can increase the bit depth according to the bit depth of the input signal.

도 2는 본 발명의 또 다른 일실시예에 따른 부호화 장치의 구성도이다. 도 2를 참조하여 본 발명의 또 다른 일실시예에 따른 부호화 장치의 구성을 설명하기로 한다.2 is a configuration diagram of an encoding apparatus according to another embodiment of the present invention. The configuration of an encoding apparatus according to another embodiment of the present invention will be described with reference to FIG.

본 발명의 또 다른 일실시예에 따른 부호화 장치는 비트 심도 조정부(210), 비트 심도 양자화부(220), 및 비트 심도 역양자화부(230)를 포함한다.The encoding apparatus according to another embodiment of the present invention includes a bit depth adjustment unit 210, a bit depth quantization unit 220, and a bit depth inverse quantization unit 230.

도 2에 도시된 일실시예는, 도 1에 도시된 일실시예와는 달리, 주파수 변환(transform) 및 스케일링(scaling)을 원신호와 동일한 비트 심도로 연산하여 정보의 손실을 최대한 억제하고, 양자화 과정에서 비트 심도를 조절하기 위한 것이다.The embodiment shown in FIG. 2 differs from the embodiment shown in FIG. 1 in that the frequency transform and the scaling are operated at the same bit depth as the original signal to suppress the loss of information as much as possible, This is for adjusting the bit depth in the quantization process.

비트 심도 조정부(210)는 입력 신호의 비트 심도(bit depth)를 감소시킬 것인지 판단한다.The bit depth adjustment unit 210 determines whether to reduce the bit depth of the input signal.

비트 심도 조정부(210)가 비트 심도를 감소시킬 것으로 판단한 경우, 비트 심도 양자화부(220)는 상기 입력 신호의 비트 심도를 선정된 값으로 감소시켜 양자화한다.When the bit depth adjustment unit 210 determines that the bit depth is to be reduced, the bit depth quantization unit 220 reduces the bit depth of the input signal to a predetermined value and quantizes the bit depth.

비트 심도 역양자화부(230)는 상기 입력 신호의 비트 심도를 선정된 값으로 증가시켜 역양자화한다.The bit depth inverse quantization unit 230 increases the bit depth of the input signal to a predetermined value and inverse-quantizes the bit depth.

예를 들어, 비트 심도 양자화부(220)에서는 비트 심도 조정부(210)의 조정에 의해 M 비트 심도의 값을 M 혹은 N 비트 심도의 값으로 양자화할 수 있으며, 비트 심도 역양자화(230)부는 비트 심도 양자화부(220)와는 반대로 비트 심도 조정부(210)의 제어에 의해 M 혹은 N 비트 심도의 신호를, M 비트 심도의 값으로 역양자화할 수 있다.For example, the bit depth quantization unit 220 may quantize the value of M-bit depth to a value of M or N-bit depth by adjusting the bit depth adjustment unit 210, and the bit depth dequantization unit 230 may quantize Contrary to the depth quantization unit 220, it is possible to dequantize a signal of M or N-bit depth to a value of M-bit depth under the control of the bit depth adjustment unit 210. [

비트 심도 조정부(210)는, 입력과 동일한 비트 심도인 M으로 변환(transform) 및 스케일링(scaling)된 신호에 대하여, 비트 심도를 줄일지에 대한 판단을 할 수 있다.The bit depth adjuster 210 may determine whether to reduce the bit depth for a signal transformed and scaled by M that is the same bit depth as the input.

비트 심도 조정부(210)의 판단에 따라서, 비트 심도 양자화부(220)는 M 비트 심도 입력에 대하여 N 비트 심도로 감소한 출력을 실행하는 양자화를 실행하거나, 또는 M 비트 심도 입력과 M 비트 심도 출력인 양자화를 수행할 수 있다.
In accordance with the determination of the bit depth adjustment unit 210, the bit depth quantization unit 220 performs quantization for performing an output reduced to N-bit depth with respect to the M-bit depth input, or performs quantization for performing M- Quantization can be performed.

비트 심도 역양자화부(230)는 비트 심도 양자화부(220)에서 비트 심도를 감소 시킨 경우, N으로 감소된 비트 심도를 원신호의 비트 심도와 동일한 M 비트 심도로 증가시킬 수 있으며, 감소되지 않은 M 비트 심도인 신호인 경우에는 비트 심도의 증가 없이 역양자화 할 수 있다.The bit depth inverse quantization unit 230 may increase the bit depth reduced by N to a depth of M bits equal to the bit depth of the original signal when the bit depth is reduced in the bit depth quantization unit 220, In the case of a signal having a depth of M bits, inverse quantization can be performed without increasing the bit depth.

도 3은 본 발명의 일실시예에 따른 복호화 장치의 구성도이다. 도 3을 참조하여 본 발명의 일실시예에 따른 복호화 장치를 설명하기로 한다.3 is a block diagram of a decoding apparatus according to an embodiment of the present invention. A decoding apparatus according to an embodiment of the present invention will be described with reference to FIG.

본 발명의 일실시예에 따른 복호화 장치는 비트 심도 조정부(310) 및 비트 심도 증가부(320)를 포함한다.The decoding apparatus according to an embodiment of the present invention includes a bit depth adjusting unit 310 and a bit depth increasing unit 320.

비트 심도 조정부(310)는 입력 신호의 비트 심도(bit depth)가 감소되었는지를 판단한다.The bit depth adjustment unit 310 determines whether the bit depth of the input signal is reduced.

비트 심도 조정부(310)가 비트 심도가 감소된 것으로 판단한 경우, 비트 심도 증가부(320)는 상기 입력 신호의 비트 심도를 증가시킨다.When the bit depth adjustment unit 310 determines that the bit depth is reduced, the bit depth increasing unit 320 increases the bit depth of the input signal.

이때, 비트 심도 증가부(320)는 상기 입력 신호의 비트 심도를 선정된 값만큼 좌방향으로 쉬프트(shift)하여 증가시키거나, 또는 복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 증가시킬 수 있다.At this time, the bit depth increasing unit 320 shifts the bit depth of the input signal to the left by a predetermined value, or increases the bit depth of the input signal, or a mapping table storing the bit depth values of the plurality of signals The bit depth of the input signal can be increased.

즉, 비트 심도 조정부(310)는 입력 신호의 비트 심도를 측정하고, 비트 심도 조정부(310)의 판단 및 제어에 의해 비트 심도 증가부(320)가 입력 신호의 비트 심도가 원신호와 동일한 M 비트 심도인 경우에는 단지 통과시키고, 비트 심도가 N 비트 심도인 경우에는 α 개만큼의 비트를 추가시켜 N 비트 심도를 M 비트 심도로 증가시킬 수 있다.That is, the bit depth adjustment unit 310 measures the bit depth of the input signal. When the bit depth increasing unit 320 determines that the bit depth of the input signal is the same as the original signal, If the bit depth is N-bit depth, the N-bit depth can be increased to M-bit depth by adding a number of bits.

이때, 비트 심도 증가부(320)는 α 만큼 좌향 쉬프트(shift)시켜 α개의 비트를 추가하고 β를 더해주어, 원신호와 동일한 M 비트 심도인 신호를 출력할 수 있다.At this time, the bit depth increasing unit 320 shifts leftward by? To add? Bits and add? To output a signal having the same M-bit depth as that of the original signal.

상기 β를 선택하는 방법의 실시예들을 보다 상세하게 설명하기로 한다.Embodiments of the method for selecting? Will be described in more detail.

일실시예로서 β가 나타내는 값은, 절삭한 비트의 중간값(=α/2), 즉 2(α=2) 비트를 절삭하여 β=1(=102진수)을 최하위 비트에 추가하여, 비트 심도 증가 및 감소로 인한 평균 오류를 최소화할 수 있다.In one embodiment, the value indicated by? Is added to the least significant bit by cutting the intermediate value (=? / 2) of the cut bits, i.e., 2 The average error due to the increase and decrease of the depth can be minimized.

다른 일실시예로서, β는 부호화 특성에 따라 미리 정의한 값들 중 한가지로 대체할 수 있다. 즉, 화면내(intra) 부호화된 블록인 경우 β= 1(102진수), 화면간(inter) 부호화한 경우 β= 0(002진수)로 정의할 수 있다.As another embodiment,? Can be replaced by one of the predefined values according to the encoding characteristic. That is, it can be defined as? = 1 (102 decimal numbers) in the case of an intra-coded block and? = 0 (002 decimals) when inter-picture coding is performed.

또 다른 일실시예로서, N 비트 심도의 값에 대응하는 M 비트 심도의 값을 매핑 테이블로 미리 정의해 두고, 상기 매핑 테이블을 이용하여 입력되는 N 비트 심도의 값에 따라 M 비트 심도의 값을 획득할 수도 있다. 이때, 매핑 테이블은 부호화 장치 및 복호화 장치에 미리 정의되어 있거나, 비트스트림(bitstream)과 함께 부가적으로 전송될 수 있다.As another embodiment, a value of M-bit depth corresponding to a value of N-bit depth may be defined in advance as a mapping table, and a value of M-bit depth may be calculated according to a value of N-bit depth input using the mapping table It can also be obtained. At this time, the mapping table may be defined in advance in the encoding apparatus and the decoding apparatus, or may be additionally transmitted together with a bitstream.

즉, 본 발명의 일실시예에 따르면, 출력 직전에 입력과 동일한 비트 심도를 만들 때 중간 값을 이용하거나, 8 bit 값을 10 bit 값으로 사상(mapping)하기 위한 테이블 정보인 톤-매핑 테이블(ton-mapping table) 정보를 전송하거나, 또는 특정 값에 대한 정보를 부가 정보로 전송하여, 원영상에 가까운 값으로 비트 심도를 추가할 수 있다.That is, according to an embodiment of the present invention, a tone-mapping table (table information) for table information for mapping an 8 bit value to a 10 bit value, ton-mapping table information, or by transmitting information about a specific value as additional information, the bit depth can be added to a value close to the original image.

도 4는 본 발명의 또 다른 일실시예에 따른 복호화 장치의 구성도이다. 도 4를 참조하여 본 발명의 또 다른 일실시예에 따른 복호화 장치를 설명하기로 한다.4 is a block diagram of a decoding apparatus according to another embodiment of the present invention. A decoding apparatus according to another embodiment of the present invention will be described with reference to FIG.

본 발명의 또 다른 일실시예에 따른 복호화 장치는 비트 심도 조정부(410) 및 비트 심도 역양자화부(420)를 포함한다.The decoding apparatus according to another embodiment of the present invention includes a bit depth adjustment unit 410 and a bit depth inverse quantization unit 420.

비트 심도 조정부(410)는 입력 신호의 비트 심도(bit depth)가 감소되었는지를 판단한다.The bit depth adjuster 410 determines whether the bit depth of the input signal is reduced.

비트 심도 조정부(410)가 비트 심도가 감소된 것으로 판단한 경우, 비트 심도 역양자화부(420)는 상기 입력 신호의 비트 심도를 선정된 값으로 증가시켜 역양자화한다.When the bit depth adjustment unit 410 determines that the bit depth is reduced, the bit depth inverse quantization unit 420 increases the bit depth of the input signal to a predetermined value and inverse-quantizes the bit depth.

예를 들어, 비트 심도 역양자화부(420)는 비트 심도 조정부(410)에서의 입력 신호의 비트 심도가 감소되었는지를 판단한 결과 및 그에 따른 제어에 의해, N으로 감소된 비트 심도를 원신호의 비트 심도와 동일한 M 비트 심도로 증가시킬 수 있으며, 감소되지 않은 M 비트 심도인 신호인 경우에는 비트 심도의 증가 없이 역양자화할 수 있다.For example, the bit depth dequantization unit 420 determines whether or not the bit depth of the input signal in the bit depth adjustment unit 410 is reduced, The M-bit depth can be increased to the same depth as the depth, and in the case of the signal having the M-bit depth not reduced, the inverse quantization can be performed without increasing the bit depth.

따라서, 본 발명의 일실시예에 따르면, 비디오의 부호화에서 각각의 밝기 및 컬러 성분의 비트 심도(bit depth)를 감소시키며, 슬라이스 혹은 매크로 블록 단위로 적응적으로 선택하여 비트 심도의 감소를 수행함으로써, 필요 이상의 비트 심도로 부호화되지 않도록 하여 부호화 효율을 향상시키고 시스템 복잡도를 줄일 수 있다.Accordingly, according to an embodiment of the present invention, in the encoding of video, the bit depth of each brightness and color component is reduced, and the bit depth is reduced by adaptively selecting in units of slices or macroblocks , The coding efficiency is improved and the system complexity can be reduced by preventing coding at a bit depth more than necessary.

도 5는 본 발명의 일실시예에 따른 부호화 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating an encoding method according to an embodiment of the present invention.

본 발명의 일실시예에 따른 부호화 방법에 따르면, 부호화 장치가 입력 신호의 비트 심도(bit depth)를 감소시킬 것인지 판단한다(S510).According to the encoding method of the embodiment of the present invention, it is determined whether the bit depth of the input signal is reduced by the encoding apparatus (S510).

이때, 상기 부호화 장치는 비트 심도를 줄이더라도 부호화 효율의 감소가 미비하고 복잡도의 장점을 가질 수 있거나, 해당 블록 혹은 슬라이스의 비트 심도를 줄여 비트 심도를 줄이지 않은 다른 블록 혹은 슬라이스에 더 많은 비트를 할당 할 수 있도록하여 전체 시퀀스에서의 부호화 효율의 증대를 가져 올 수 있는 경우에, 비트 심도를 줄이도록 판단할 수 있다.At this time, even if the bit depth is reduced, the coding apparatus can not reduce the coding efficiency and have the advantage of complexity, or can reduce the bit depth of the corresponding block or slice and allocate more bits to another block or slice So that it is possible to determine that the bit depth is reduced when the encoding efficiency of the entire sequence can be increased.

상기 부호화 장치가 상기 비트 심도를 감소시킬 것으로 판단한 경우, 상기 입력 신호의 비트 심도를 감소시킨다(S520).If the encoding apparatus determines to decrease the bit depth, the bit depth of the input signal is decreased (S520).

이때, 상기 부호화 장치가 상기 입력 신호의 비트 심도를 선정된 값만큼 우방향으로 쉬프트(shift)하여 감소시키거나, 복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 감소시킬 수 있다.At this time, the encoding device shifts the bit depth of the input signal to the right by a predetermined value to reduce the bit depth, or uses a mapping table in which bit depth values of a plurality of signals are stored, The bit depth of the signal can be reduced.

이후, 상기 부호화 장치가 상기 입력 신호를 양자화한다(S530).Thereafter, the encoding apparatus quantizes the input signal (S530).

이후, 상기 부호화 장치가 상기 입력 신호의 비트 심도를 증가시킨다(S540).Thereafter, the encoding apparatus increases the bit depth of the input signal (S540).

이때, 상기 부호화 장치가 상기 입력 신호의 비트 심도를 선정된 값만큼 좌방향으로 쉬프트(shift)하여 증가시키거나, 복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 증가시킬 수 있다.At this time, the encoding device shifts the bit depth of the input signal to the left by a predetermined value, or increases the bit depth of the input signal by using a mapping table in which bit depth values of a plurality of signals are stored, The bit depth of the signal can be increased.

한편, 상기 부호화 장치는 상기 비트 심도를 감소시킬 것으로 판단하지 않은 경우에는, 입력 신호의 비트 심도를 감소시키지 않고 상기 입력 신호를 양자화한다(S550).Meanwhile, if the encoding device does not determine to decrease the bit depth, the encoding device quantizes the input signal without decreasing the bit depth of the input signal (S550).

도 6은 본 발명의 또 다른 일실시예에 따른 부호화 방법을 설명하기 위한 흐름도이다.6 is a flowchart illustrating a coding method according to another embodiment of the present invention.

본 발명의 또 다른 일실시예에 따른 부호화 방법에 의하면, 부호화 장치는 비트 심도 조정부가 입력 신호의 비트 심도(bit depth)를 감소시킬 것인지 판단한다(S610).According to another exemplary embodiment of the present invention, the encoder determines whether the bit depth adjustment unit is to reduce the bit depth of the input signal (S610).

상기 부호화 장치는 상기 비트 심도를 감소시킬 것으로 판단한 경우, 상기 입력 신호의 비트 심도를 선정된 값으로 감소시켜 양자화한다(S620).If it is determined that the bit depth is to be decreased, the encoding apparatus reduces the bit depth of the input signal to a predetermined value and quantizes the bit depth (S620).

이후, 상기 부호화 장치가 상기 입력 신호의 비트 심도를 선정된 값으로 증가시켜 역양자화 한다(S630).Thereafter, the encoding apparatus increases the bit depth of the input signal to a predetermined value and dequantizes the bit depth (S630).

한편, 상기 부호화 장치는 비트 심도를 감소시킬 것으로 판단한 경우에는, 입력 신호의 비트 심도를 감소시키지 않고 양자화하고, 이후 역양자화 한다(S640, S650).On the other hand, if it is determined that the bit depth is to be reduced, the encoder quantizes the input signal without decreasing the bit depth, and then dequantizes the input signal (S640, S650).

도 7은 본 발명의 일실시예에 따른 복호화 방법을 설명하기 위한 흐름도이다.7 is a flowchart illustrating a decoding method according to an embodiment of the present invention.

본 발명의 일실시예에 따른 복호화 방법에 의하면, 복호화 장치가 입력 신호의 비트 심도(bit depth)가 감소되었는지를 판단한다(S710).According to the decoding method according to the embodiment of the present invention, the decoding apparatus determines whether the bit depth of the input signal is reduced (S710).

상기 복호화 장치는 비트 심도가 감소된 것으로 판단한 경우, 비트 심도 증가부는 상기 입력 신호의 비트 심도를 증가시킨다(S720).If the decoding apparatus determines that the bit depth is reduced, the bit depth increasing unit increases the bit depth of the input signal (S720).

이때, 상기 복호화 장치는 상기 입력 신호의 비트 심도를 선정된 값만큼 좌방향으로 쉬프트(shift)하여 증가시키거나, 또는 복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 증가시킬 수 있다.At this time, the decoding apparatus shifts the bit depth of the input signal to the left by a predetermined value, or increases the bit depth of the input signal by using a mapping table in which bit depth values of a plurality of signals are stored, The bit depth of the input signal can be increased.

즉, 상기 복호화 장치는 입력 신호의 비트 심도를 측정하고 비트 심도 조정부의 판단 및 제어에 의해, 입력 신호의 비트 심도가 원신호와 동일한 M 비트 심도인 경우에는 단지 통과시키며, 비트 심도가 N 비트 심도인 경우에는 α 개만큼의 비트를 추가시켜 N 비트 심도를 M 비트 심도로 증가시킬 수 있다.That is, the decoding device measures the bit depth of the input signal and, if the bit depth of the input signal is the same as the original signal, passes through only if the depth of the input signal is the M-bit depth by the determination and control of the bit depth adjusting unit, The N-bit depth can be increased to M-bit depth by adding as many as? Bits.

도 8은 본 발명의 또 다른 일실시예에 따른 복호화 방법을 설명하기 위한 흐름도이다.8 is a flowchart illustrating a decoding method according to another embodiment of the present invention.

본 발명의 또 다른 일실시예에 따른 복호화 방법에 의하면, 복호화 장치가 입력 신호의 비트 심도(bit depth)가 감소되었는지를 판단한다(S810).According to the decoding method according to another embodiment of the present invention, the decoding apparatus determines whether the bit depth of the input signal is reduced (S810).

상기 복호화 장치가 비트 심도가 감소된 것으로 판단한 경우, 상기 입력 신호의 비트 심도를 선정된 값으로 증가시켜 역양자화한다(S820).If the decoding apparatus determines that the bit depth is reduced, the bit depth of the input signal is increased to a predetermined value and dequantized (S820).

한편, 상기 복호화 장치가는 비트 심도가 감소되지 않은 것으로 판단한 경우에는, 입력 신호를 증가시키지 않고 양자화한다(S830).On the other hand, if it is determined that the bit depth is not reduced, the decoding apparatus quantizes the input signal without increasing the input signal (S830).

예를 들어, 상기 복호화 장치가 입력 신호의 비트 심도가 감소되었는지를 판단한 결과 및 그에 따른 제어에 의해, N으로 감소된 비트 심도를 원신호의 비트 심도와 동일한 M 비트 심도로 증가시킬 수 있으며, 감소되지 않은 M 비트 심도인 신호인 경우에는 비트 심도의 증가 없이 역양자화할 수 있다.
For example, if the decoding apparatus determines that the bit depth of the input signal is reduced and controls accordingly, the bit depth reduced by N can be increased to the same M-bit depth as the bit depth of the original signal, In the case of a signal that is not M-bit depth, it can be inverse-quantized without increasing the bit depth.

상술한 바와 같은 본 발명의 실시예들은 컴퓨터로 읽을 수 있는 기록 매체에 컴퓨터가 실행할 수 있는 코드(프로그램)으로서 구현될 수 있다. 또한, 컴퓨터가 읽을 수 있는 기록 매체는 컴퓨터 시스템에 의해 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록 장치를 포함할 수 있다. 이러한 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치, 캐리어 웨이브(예컨대, 인터넷을 통한 전송) 등이 있다.
The embodiments of the present invention as described above can be implemented as a computer-executable code (program) on a computer-readable recording medium. In addition, the computer-readable recording medium may include any type of recording device in which data that can be read by a computer system is stored. Examples of such computer-readable recording media include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage, carrier wave (e.g., transmission over the Internet) and the like.

이상과 같이 본 발명에서는 구체적인 구성 요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명은 상기의 실시예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다. 따라서, 본 발명의 사상은 설명된 실시예에 국한되어 정해져서는 아니되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등하거나 등가적 변형이 있는 모든 것들은 본 발명 사상의 범주에 속한다고 할 것이다.As described above, the present invention has been described with reference to particular embodiments, such as specific elements, and specific embodiments and drawings. However, it should be understood that the present invention is not limited to the above- And various modifications and changes may be made thereto by those skilled in the art to which the present invention pertains. Accordingly, the spirit of the present invention should not be construed as being limited to the embodiments described, and all of the equivalents or equivalents of the claims, as well as the following claims, belong to the scope of the present invention .

110: 비트 심도 조정부
120: 비트 심도 감소부
130: 비트 심도 양자화부
140: 비트 심도 증가부
110: Bit depth adjustment unit
120: bit depth reduction unit
130: bit depth quantization unit
140: bit depth increasing part

Claims (6)

비트 심도 증가를 통한 복호화 방법을 실행하기 위한 프로그램이 기록된 컴퓨터로 읽을 수 있는 기록 매체에 있어서,
상기 프로그램은,
입력 신호의 비트 심도(bit depth)를 확인하는 단계;
상기 입력 신호의 비트 심도가 원신호의 비트 심도보다 감소된 경우, 상기 입력 신호의 비트 심도를 증가시키는 단계; 및
상기 비트 심도가 증가된 입력 신호를 이용하여 영상을 복원하는 단계; 및
상기 복원된 영상에 대해 디블록킹 필터를 수행할지를 결정하는 단계를 포함하는 기록 매체.
A computer-readable recording medium having recorded thereon a program for executing a decoding method through a bit depth increase,
The program includes:
Identifying a bit depth of an input signal;
Increasing the bit depth of the input signal if the bit depth of the input signal is less than the bit depth of the original signal; And
Reconstructing an image using the input signal with the increased bit depth; And
And determining whether to perform a deblocking filter on the restored image.
제1항에 있어서,
상기 입력 신호의 비트 심도가 원신호의 비트 심도보다 감소된 경우,
상기 입력 신호의 비트 심도를 상기 원신호의 비트 심도와 상기 입력 신호의 비트 심도 간의 차이만큼 좌방향으로 쉬프트(shift)하여 증가시키는 것을 특징으로 하는 기록 매체.
The method according to claim 1,
If the bit depth of the input signal is less than the bit depth of the original signal,
And shifts the bit depth of the input signal to the left by a difference between the bit depth of the original signal and the bit depth of the input signal.
제1항에 있어서,
상기 입력 신호의 비트 심도는,
상기 입력 신호의 밝기 성분(luma)에 대한 비트 심도 및 상기 입력 신호의 컬러 성분(chroma)에 대한 비트 심도 중 적어도 하나를 포함하는 것을 특징으로 하는 기록 매체.
The method according to claim 1,
Wherein the bit depth of the input signal,
A bit depth for a brightness component (luma) of the input signal, and a bit depth for a color component (chroma) of the input signal.
제1항에 있어서,
상기 입력 신호의 비트 심도가 원신호의 비트 심도보다 감소된 경우,
복수개의 신호의 비트 심도 값이 저장된 매핑 테이블(mapping table)을 이용하여, 상기 입력 신호의 비트 심도를 증가시키는 것을 특징으로 하는 기록 매체.
The method according to claim 1,
If the bit depth of the input signal is less than the bit depth of the original signal,
Wherein a bit depth of the input signal is increased by using a mapping table in which bit depth values of a plurality of signals are stored.
제1항에 있어서,
상기 증가된 입력 신호의 비트 심도는 상기 원신호의 비트 심도와 동일한 값인 것을 특징으로 하는 기록 매체.
The method according to claim 1,
Wherein the bit depth of the increased input signal is the same as the bit depth of the original signal.
제1항에 있어서,
상기 입력 신호는 부호화기에 입력된 영상 신호인 것을 특징으로 하는 기록 매체.
The method according to claim 1,
Wherein the input signal is a video signal input to an encoder.
KR20130077397A 2013-07-02 2013-07-02 Computer readable redording meduim having recorded a computer program for executing a video decoding method using bit depth increasing KR101477772B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130077397A KR101477772B1 (en) 2013-07-02 2013-07-02 Computer readable redording meduim having recorded a computer program for executing a video decoding method using bit depth increasing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130077397A KR101477772B1 (en) 2013-07-02 2013-07-02 Computer readable redording meduim having recorded a computer program for executing a video decoding method using bit depth increasing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020130055775A Division KR101378912B1 (en) 2013-05-16 2013-05-16 Method and apparatus for encoding and decoding using adaptive bit depth decreasing

Publications (2)

Publication Number Publication Date
KR20130082133A KR20130082133A (en) 2013-07-18
KR101477772B1 true KR101477772B1 (en) 2015-01-02

Family

ID=48993546

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130077397A KR101477772B1 (en) 2013-07-02 2013-07-02 Computer readable redording meduim having recorded a computer program for executing a video decoding method using bit depth increasing

Country Status (1)

Country Link
KR (1) KR101477772B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130056272A (en) * 2013-05-16 2013-05-29 한국전자통신연구원 Method and apparatus for encoding and decoding using adaptive bit depth decreasing
KR101277093B1 (en) * 2012-07-16 2013-06-20 한국전자통신연구원 Method and apparatus for encoding and decoding using adaptive bit depth decreasing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101277093B1 (en) * 2012-07-16 2013-06-20 한국전자통신연구원 Method and apparatus for encoding and decoding using adaptive bit depth decreasing
KR20130056272A (en) * 2013-05-16 2013-05-29 한국전자통신연구원 Method and apparatus for encoding and decoding using adaptive bit depth decreasing

Also Published As

Publication number Publication date
KR20130082133A (en) 2013-07-18

Similar Documents

Publication Publication Date Title
US11363264B2 (en) Sample adaptive offset control
US10855997B2 (en) Secondary transform kernel size selection
EP3026910B1 (en) Perceptual image and video coding
US9300967B2 (en) Sample adaptive offset control
US9282342B2 (en) Motion picture encoding apparatus and method thereof
US20210021841A1 (en) Method and apparatus for video coding
CN107925761B (en) Moving picture encoding/decoding device and method, and computer-readable recording medium
US20190191185A1 (en) Method and apparatus for processing video signal using coefficient-induced reconstruction
KR101277093B1 (en) Method and apparatus for encoding and decoding using adaptive bit depth decreasing
KR101378893B1 (en) Method and apparatus for encoding and decoding using adaptive bit depth decreasing
US11297338B2 (en) Selective quantization parameter transmission
KR101477772B1 (en) Computer readable redording meduim having recorded a computer program for executing a video decoding method using bit depth increasing
KR101378912B1 (en) Method and apparatus for encoding and decoding using adaptive bit depth decreasing
KR101378899B1 (en) Method and apparatus for encoding and decoding using adaptive bit depth decreasing
KR20160092816A (en) Video Coding Method and Apparatus thereof

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20181025

Year of fee payment: 5