KR101522260B1 - Method for scaling a resolution and an apparatus thereof - Google Patents

Method for scaling a resolution and an apparatus thereof Download PDF

Info

Publication number
KR101522260B1
KR101522260B1 KR1020150012750A KR20150012750A KR101522260B1 KR 101522260 B1 KR101522260 B1 KR 101522260B1 KR 1020150012750 A KR1020150012750 A KR 1020150012750A KR 20150012750 A KR20150012750 A KR 20150012750A KR 101522260 B1 KR101522260 B1 KR 101522260B1
Authority
KR
South Korea
Prior art keywords
scaling
scaler
video signal
resolution
alpha value
Prior art date
Application number
KR1020150012750A
Other languages
Korean (ko)
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 KR1020150012750A priority Critical patent/KR101522260B1/en
Application granted granted Critical
Publication of KR101522260B1 publication Critical patent/KR101522260B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0117Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0135Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3188Scale or resolution adjustment

Abstract

According to an embodiment of the present invention, a method for scaling resolution of an image signal comprises the steps of: receiving the decoded image signal based on the encoded beat stream; selecting a scaling method based on the decoded image signal; operating scaling by corresponding to a first direction and a second direction of the image signal according to the selected scaling method; and outputting an image in which resolution is converted according to scaling.

Description

해상도 변환 방법 및 그 장치{Method for scaling a resolution and an apparatus thereof}TECHNICAL FIELD [0001] The present invention relates to a resolution conversion method and apparatus,

본 발명은 비디오 영상의 해상도 변환 방법 및 그 장치에 관한 것으로, 더욱 상세하게는 큐빅 컨볼루션 스케일러를 이용하여 화면 해상도를 변화시킴으로써 해상도 변환 성능을 개선시키는 해상도 변환 방법 및 그 장치에 관한 것이다.The present invention relates to a resolution conversion method and apparatus, and more particularly, to a resolution conversion method and apparatus for improving resolution conversion performance by changing a screen resolution using a cubic convolutional scaler.

최근 고해상도, 고화질 영상에 대한 요구가 증가함에 따라 차세대 영상 서비스를 위한 고효율의 비디오 압축 기술에 대한 필요성이 대두되었다. 이러한 시장의 요구에 따라 MPEG과 VCEG이 공동으로 구성한 JVT는 1990년대 후반부터 표준화를 시작하여 2004년에 H.264/AVC를 완성하였다. H.264/AVC 인코더 및 디코더는 이전 표준 코덱들의 구조와 유사하지만, 코덱 내부에 성능이 개선된 세부 모듈들이 추가 되었다. 또한, 현재 MPEG과 VCEG은 2010년 1월 JCT-VC(Joint Collaborative Team on Video Coding)를 구성하였으며, JCT-VC를 통하여 2013년 1월에 HEVC(High Efficiency Video Coding)라는 차세대 비디오 표준 기술을 제정하였다. 이러한 HEVC는 종래에 가장 높은 압축 효율을 갖는 것으로 알려진 비디오 표준인 H.264/AVC High 프로파일에 비하여 주관적 화질 관점에서 비교한 경우 약 50% 이상의 압축 효율을 갖는다.Recently, as the demand for high resolution and high definition video has increased, there has been a need for a highly efficient video compression technology for the next generation video service. JVT, which was jointly organized by MPEG and VCEG, started standardization in the late 1990s and completed H.264 / AVC in 2004 in response to market demand. H.264 / AVC encoders and decoders are similar in structure to previous standard codecs, but with the addition of sub-modules with improved performance inside the codec. In January 2010, MPEG and VCEG formed a Joint Collaborative Team on Video Coding (JCT-VC). In January 2013, JCT-VC established a next-generation video standard technology called HEVC (High Efficiency Video Coding) Respectively. The HEVC has a compression efficiency of about 50% or more when compared from the viewpoint of subjective image quality as compared with the H.264 / AVC High profile, which is conventionally known as having the highest compression efficiency.

한편, 화면 해상도를 변환하기 위한 해상도 변환 장치는 입력 영상에 대한 스케일링을 수행하여, 해상도를 확대 하거나 축소할 수 있다. 해상도 변환 장치에 적용되는 다양한 스케일러로서 Sample and hold, Bilinear, Cubic B-spline, Cubic convolution 등 여러 가지 기법이 제안되고 있다. 이 기법들 중 대표적으로 많이 사용되고 있는 기술로서 4개의 필터 탭으로 구성된 4 tap Cubic convolution scaler 기법이 예시될 수 있다. 4 tap Scaler는 영상의 가로와 세로 방향으로 적용될 수 있다. 그리고, 4 tap Scaler는 가로 및 세로축 폭을 각 4개 디지털 샘플에 대응시켜 4 tap Cubic convolution 커널의 basis 함수들을 적용함으로써 해상도 변환된 영상을 획득하는 방식을 사용할 수 있다.
Meanwhile, the resolution conversion device for converting the screen resolution may scale the input image to enlarge or reduce the resolution. Various techniques such as sample and hold, Bilinear, Cubic B-spline, and Cubic convolution have been proposed as various scalers applied to the resolution converter. A 4 tap Cubic convolution scaler technique consisting of four filter taps can be exemplified as a typical technique widely used among these techniques. The 4 tap Scaler can be applied to the horizontal and vertical directions of the image. And, 4 tap Scaler can use the method of acquiring the resolution converted image by applying the basis functions of the 4 tap Cubic convolution kernel by associating the width and the vertical axis width with four digital samples.

*이와 같은 4 tap Cubic convolution scaler는 지금까지 많은 연구 개발에서 사용되어 오고 있다. 그러나, 영상신호의 특성과 해상도가 큰 폭으로 향상되는 추세에 따라 4 tap Scaler만으로는 성능이 제한될 수밖에 없고, 그 결과 해상도 변환된 영상의 화질이 저하되는 등의 문제점이 나타나고 있다.* Such a 4 tap Cubic convolution scaler has been used in many research and development. However, according to the tendency that the characteristic and resolution of the video signal are greatly improved, the performance is limited only by the 4 tap scalar, and as a result, the image quality of the resolution converted image is lowered.

본 발명의 일 실시 예는 기존대비 향상된 커널을 이용하여 해상도 변환 모듈의 화질 및 성능을 개선하는데 그 목적이 있다.An embodiment of the present invention is directed to improving the image quality and performance of a resolution conversion module using an improved kernel.

또한, 본 발명의 다른 일 실시 예는 영상의 화소값을 이용한 적응적 커널 적용에 따라 해상도 변환 모듈의 화질 및 성능을 개선하는데 그 목적이 있다.Another aspect of the present invention is to improve the image quality and performance of the resolution conversion module according to adaptive kernel application using pixel values of an image.

그리고, 본 발명의 다른 일 실시 예는 영상 분석에 따른 선택적 스케일러 적용으로 해상도 변환 모듈의 화질 및 성능을 개선하는데 그 목적이 있다.Another aspect of the present invention is to improve image quality and performance of a resolution conversion module by applying an optional scaler according to image analysis.

한편, 본 발명의 다른 일 실시 예는 스케일링 방향에 따른 선택적 스케일러 적용으로 해상도 변환 모듈의 화질 및 성능을 개선하는데 그 목적이 있다.Another aspect of the present invention is to improve the image quality and performance of a resolution conversion module by applying an optional scaler according to a scaling direction.

본 발명의 실시 예가 이루고자 하는 기술적 과제는 상기된 바와 같은 기술적 과제들로 한정되지 않으며, 또 다른 기술적 과제들이 존재할 수 있다.The technical problem to be solved by the embodiments of the present invention is not limited to the above technical problems, and other technical problems may exist.

상기한 기술적 과제를 달성하기 위한 기술적 수단으로서, 본 발명의 실시 예에 따른 방법은 영상 신호의 해상도 스케일링 방법에 있어서, 부호화된 비트스트림에 기초하여 복호화된 영상 신호를 수신하는 단계; 상기 복호화된 영상 신호에 기반하여, 스케일링 방식을 선택하는 단계; 상기 선택된 스케일링 방식에 따라 상기 영상 신호의 제1 방향 및 제2 방향에 대응하여 적응적으로 스케일링을 수행하는 단계; 및 상기 스케일링 수행에 따라 해상도 변환된 영상을 출력하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of scaling a resolution of an image signal, the method comprising: receiving a decoded image signal based on an encoded bitstream; Selecting a scaling method based on the decoded video signal; Performing adaptively scaling corresponding to a first direction and a second direction of the video signal according to the selected scaling scheme; And outputting a resolution-converted image according to the scaling.

또한, 상기한 기술적 과제를 달성하기 위한 기술적 수단으로서, 본 발명의 실시 예에 따른 장치는 영상 신호의 해상도 변환 장치에 있어서, 부호화된 비트스트림에 기초하여 복호화된 영상 신호를 수신하는 입력부; 상기 복호화된 영상 신호에 기반하여, 스케일링 방식을 선택하고, 상기 선택된 스케일링 방식에 따라 상기 영상 신호의 제1 방향 및 제2 방향에 대응하여 적응적으로 스케일링을 수행하는 적어도 하나의 스케일러; 및 상기 스케일링 수행에 따라 해상도 변환된 영상을 출력하는 출력부를 포함한다.According to another aspect of the present invention, there is provided an apparatus for converting a resolution of a video signal, the apparatus comprising: an input unit for receiving a video signal decoded based on an encoded bitstream; At least one scaler for selecting a scaling method based on the decoded video signal and performing adaptive scaling corresponding to a first direction and a second direction of the video signal according to the selected scaling method; And an output unit for outputting a resolution-converted image according to the scaling.

본 발명의 일 실시 예는 기존대비 향상된 6 tap 커널을 이용하여 보다 많은 샘플들을 해상도 변환에 이용함으로써, 해상도 변환 모듈의 화질 및 성능을 개선할 수 있게 된다.An embodiment of the present invention can improve the image quality and performance of a resolution conversion module by using more samples for resolution conversion using an improved 6 tap kernel.

또한, 본 발명의 다른 일 실시 예는 영상의 화소값을 이용하여, 적응적으로 적절한 커널을 적용함에 따라 해상도 변환 모듈의 화질 및 성능을 개선할 수 있게 된다.In addition, according to another embodiment of the present invention, image quality and performance of the resolution conversion module can be improved by adapting an appropriate kernel using a pixel value of an image.

그리고, 본 발명의 다른 일 실시 예는 영상 분석에 따라 가장 최적화된 스케일러를 선택적으로 적용함으로써, 해상도 변환 모듈의 화질 및 성능을 개선할 수 있게 된다.In addition, according to another embodiment of the present invention, the image quality and performance of the resolution conversion module can be improved by selectively applying the most optimized scaler according to the image analysis.

한편, 본 발명의 다른 일 실시 예는 스케일링 방향에 따라 가로와 세로에 대한 스케일러를 상이하게 적용함으로써, 해상도 변환 모듈의 화질 및 성능을 개선할 수 있게 된다.Meanwhile, another embodiment of the present invention can improve the image quality and performance of the resolution conversion module by applying different scalers for the horizontal and vertical according to the scaling direction.

본 발명의 실시 예가 이루고자 하는 기술적 과제는 상기된 바와 같은 기술적 과제들로 한정되지 않으며, 또 다른 기술적 과제들이 존재할 수 있다.그리고, 미래에는 현재 영상보다 훨씬 큰 해상도의 영상 신호의 해상도를 스케일링할 것이고, 이런 환경에서 본 특허 기술의 효과는 매우 효율적으로 나타날 것이다.The present invention has been made in view of the above problems, and it is an object of the present invention to provide a method and apparatus for scaling a resolution of a video signal having a resolution higher than that of a current image, , The effect of this patented technology in such an environment will appear very efficiently.

도 1은 본 발명의 실시 예에 따른 해상도 변환 장치를 포함하는 복호화기를 나타내는 블록도이다.
도 2는 본 발명의 실시 예에 따른 해상도 변환 장치의 구성을 설명하기 위한 도면이다.
도 3 및 도 4는 본 발명의 제1 실시 예에 따른 스케일링 방법을 보다 구체적으로 설명하기 위한 도면들이다.
도 5 및 도 6은 본 발명의 제2 실시 예에 따른 영상 화소값에 따른 적응적 스케일링 방법을 설명하기 위한 도면들이다.
도 7은 본 발명의 제3 실시 예에 따른 선택적 스케일링 방법을 설명하기 위한 흐름도이다.
도 8은 본 발명의 제4 실시 예에 따른 해상도 변환 장치의 구성을 설명하기 위한 블록도이다.
1 is a block diagram illustrating a decoder including a resolution conversion apparatus according to an embodiment of the present invention.
2 is a diagram for explaining a configuration of a resolution conversion apparatus according to an embodiment of the present invention.
FIGS. 3 and 4 are views for explaining the scaling method according to the first embodiment of the present invention in more detail.
5 and 6 are views for explaining an adaptive scaling method according to an image pixel value according to a second embodiment of the present invention.
7 is a flowchart for explaining a selective scaling method according to a third embodiment of the present invention.
8 is a block diagram illustrating a configuration of a resolution conversion apparatus according to the fourth embodiment of the present invention.

아래에서는 첨부한 도면을 참조하여 본원이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본원의 실시 예를 상세히 설명한다. 그러나 본원은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본원을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. It should be understood, however, that the present invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In the drawings, the same reference numbers are used throughout the specification to refer to the same or like parts.

본원 명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다.Throughout this specification, when a part is referred to as being "connected" to another part, it is not limited to a case where it is "directly connected" but also includes the case where it is "electrically connected" do.

본원 명세서 전체에서, 어떤 부재가 다른 부재상에 위치하고 있다고 할 때, 이는 어떤 부재가 다른 부재에 접해 있는 경우뿐 아니라 두 부재 사이에 또 다른 부재가 존재하는 경우도 포함한다.Throughout this specification, when a member is located on another member, this includes not only when a member is in contact with another member but also when another member is present between the two members.

본원 명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함" 한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성 요소를 더 포함할 수 있는 것을 의미한다. 본원 명세서 전체에서 사용되는 정도의 용어 "약", "실질적으로" 등은 언급된 의미에 고유한 제조 및 물질 허용오차가 제시될 때 그 수치에서 또는 그 수치에 근접한 의미로 사용되고, 본원의 이해를 돕기 위해 정확하거나 절대적인 수치가 언급된 개시 내용을 비양심적인 침해자가 부당하게 이용하는 것을 방지하기 위해 사용된다. 본원 명세서 전체에서 사용되는 정도의 용어 "~(하는) 단계" 또는 "~의 단계"는 "~ 를 위한 단계"를 의미하지 않는다.Throughout this specification, when an element is referred to as "including " an element, it is understood that the element may include other elements as well, without departing from the other elements unless specifically stated otherwise. The terms "about "," substantially ", etc. used to the extent that they are used throughout the specification are intended to be taken to mean the approximation of the manufacturing and material tolerances inherent in the stated sense, Accurate or absolute numbers are used to help prevent unauthorized exploitation by unauthorized intruders of the referenced disclosure. The word " step (or step) "or" step "used to the extent that it is used throughout the specification does not mean" step for.

이하에서는, 본 발명의 일 실시 예에 따른 해상도 변환 방법 및 그 장치를 설명한다.Hereinafter, a resolution conversion method and apparatus according to an embodiment of the present invention will be described.

도 1은 본 발명의 실시 예에 따른 해상도 변환 장치를 포함하는 영상 복호화 장치의 구성에 대한 일 예를 블록도로 도시한 것으로, H.264의 복호화가 선행되는 영상 복호화 장치를 나타낸 것이나, HEVC 또는 이외 다른 코덱에 대한 복호화에도 동일 구조가 적용될 수 있다.FIG. 1 is a block diagram of an image decoding apparatus including a resolution converting apparatus according to an embodiment of the present invention. FIG. 1 shows an image decoding apparatus preceded by H.264 decoding. The same structure can be applied to decoding for other codecs.

도 1을 참조하면, 복호화 장치에서 데이터를 처리하는 단위는 가로 세로 16x16화소 크기의 매크로블록(Macroblock)일 수 있으며, 소정 단위의 코딩 유닛(Coding Unit)일 수 있다. 복호화 장치는 비트스트림을 입력 받아 인트라(Intra) 모드 또는 인터(Inter) 모드로 복호화를 수행하여 재구성된 영상을 출력(output)한다.Referring to FIG. 1, a unit for processing data in a decoding apparatus may be a macroblock having a size of 16 x 16 pixels, and may be a coding unit of a predetermined unit. The decoding apparatus receives the bitstream and decodes the bitstream into an intra mode or an inter mode to output a reconstructed image.

인트라 모드일 경우, 스위치가 인트라로 전환이 되며, 인터 모드일 경우에는 스위치가 인터로 전환이 된다. 복호화 과정의 주요한 흐름은 먼저 예측 블록을 생성한 후, 입력 받은 비트스트림을 복호화한 결과 블록과 예측 블록을 더하여 재구성된 블록을 생성하는 것이다. In the intra mode, the switch is switched to the intra mode, and in the inter mode, the switch is switched to the inter mode. The main flow of the decoding process is to generate a reconstructed block by adding a block and a prediction block as a result of decoding a bitstream after generating a prediction block.

먼저 예측 블록의 생성은 인트라 모드와 인터 모드에 따라 수행이 된다. 먼저 인트라 모드일 경우에는 인트라 예측 과정에서 현재 블록의 이미 부호화된 주변 화소값을 이용하여 공간적 예측을 수행하여 예측 블록을 생성하며, 인터 모드일 경우에는 움직임 벡터를 이용하여 참조 영상 버퍼에 저장되어 있는 참조 영상에서 영역을 찾아 움직임 보상을 수행함으로써 예측 블록을 생성한다. First, the generation of the prediction block is performed according to the intra mode and the inter mode. In case of the intra mode, spatial prediction is performed using the already encoded neighboring pixel values of the current block in the intra prediction process to generate a prediction block. In the inter mode, the motion vector is stored in the reference image buffer A prediction block is generated by searching a region in a reference image and performing motion compensation.

엔트로피 복호화부(Entropy Decoder)에서는 입력된 비트스트림을 확률 분포에 따른 엔트로피 복호화를 수행하여 양자화된 계수(Quantized Coefficient)를 출력한다. 복호화 장치는 양자화된 계수를 역양자화 과정과 역 변환을 수행하여 예측 영상과 가산기를 통해 재구성된 블록을 생성한 다음 디블록킹 필터 또는 샘플 적응적 오프셋 필터 중 적어도 하나를 통해 필터링한 후, 복호화된 영상으로 출력함과 동시에 참조 영상 버퍼에 저장한다.The entropy decoding unit performs entropy decoding of the input bitstream according to a probability distribution and outputs a quantized coefficient. The decoding apparatus generates a reconstructed block by performing a dequantization process and an inverse transform on a quantized coefficient to generate a reconstructed block through a prediction image and an adder, and then filters the block through at least one of a deblocking filter or a sample adaptive offset filter, And stores it in the reference image buffer at the same time.

이후, 이와 같이 재구성되어 복호화된 영상은 해상도 변환 장치(100)로 입력된다. Thereafter, the reconstructed and decoded image is input to the resolution conversion apparatus 100.

해상도 변환 장치(100)는 복호화된 영상을 입력 영상으로 수신하고, 해상도를 변환(스케일링)하여 확대 또는 축소된 영상을 출력할 수 있다. 특히, 본 발명의 제1 실시 예에 따르면, 해상도 변환 장치에서 사용되는 스케일러는 6 탭 기반의 큐빅 컨볼루션(cubic convolution) 커널을 이용한 스케일러가 사용될 수 있다. 이에 따라, 후술할 화면 해상도 변환 및 보간을 수행함으로써, 해상도 변환 효율 및 변환 화질을 향상시킬 수 있다.
The resolution conversion apparatus 100 receives the decoded image as an input image, and outputs the enlarged or reduced image by converting (scaling) the resolution. In particular, according to the first embodiment of the present invention, the scaler used in the resolution conversion apparatus can be a scaler using a 6-tap based cubic convolution kernel. Accordingly, resolution conversion efficiency and conversion image quality can be improved by performing screen resolution conversion and interpolation, which will be described later.

*또한, 본 발명의 제2 실시 예에 따르면, 해상도 변환 장치(100)에서 사용되는 스케일러는 영상 화소값에 따라 적응적으로 결정된 커널을 사용할 수 있다. 예를 들어, 스케일러는 영상 화소의 일부 영역에 대한 분산 값에 따라 서로 다른 튜닝파라미터 값을 할당하고, 이에 기초하여 적응적 큐빅 컨볼루션(cubic convolution) 커널을 사용할 수 있다. In addition, according to the second embodiment of the present invention, the scaler used in the resolution conversion apparatus 100 can use a kernel determined adaptively according to the image pixel value. For example, the scaler may assign different tuning parameter values according to the variance values for a portion of the image pixels, and use an adaptive cubic convolution kernel based thereon.

또한, 본 발명의 제3 실시 예에 따르면, 해상도 변환 장치(100)에서 사용되는 스케일러는 블록화된 영상 영역별로 효율을 계산하여, 4 탭 또는 6 탭 커널 중 어느 하나의 커널을 선택적으로 결정할 수 있다. 예를 들어, 스케일러는 영역별 cost 값을 연산하고, 이에 기초하여 4탭 또는 6탭 큐빅 컨볼루션(cubic convolution) 커널 중 어느 하나의 커널을 선택적으로 적용할 수 있다.In addition, according to the third embodiment of the present invention, the scaler used in the resolution conversion apparatus 100 can calculate the efficiency for each blocked image area and selectively determine any one of 4-tap and 6-tap kernels . For example, the scaler may calculate a cost value for each area, and selectively apply a kernel of either a 4-tap or a 6-tap cubic convolution kernel based on the cost value.

한편, 본 발명의 제4 실시 예에 따르면, 해상도 변환 장치(100)에서 사용되는 스케일러는 영상의 제1 방향으로의 스케일링에는 6 탭 커널을 사용하고, 제2 방향으로의 스케일링에는 상이한 커널을 사용할 수 있다. 예를 들어, 스케일러는 가로 방향으로 6 탭 커널을 적용할 수 있으며, 세로 방향으로는 4 탭 커널을 적용함으로써 연산 효율을 높일 수 있다.Meanwhile, according to the fourth embodiment of the present invention, the scaler used in the resolution conversion apparatus 100 uses a 6-tap kernel for scaling an image in a first direction and uses a different kernel for scaling in a second direction . For example, a scaler can apply a 6-tap kernel in the horizontal direction, and a 4-tap kernel in the vertical direction can increase the computation efficiency.

이하에서는 도 2 내지 도 5를 참조하여 본 발명의 실시 예에 따른 해상도 변환 장치(100)의 해상도 변환 과정을 보다 구체적으로 설명하도록 한다.Hereinafter, the resolution conversion process of the resolution conversion apparatus 100 according to the embodiment of the present invention will be described in more detail with reference to FIG. 2 to FIG.

도 2를 참조하면, 해상도 변환 장치(100)는 다음과 같은 단계로 해상도 변환을 수행할 수 있다.Referring to FIG. 2, the resolution conversion apparatus 100 may perform resolution conversion in the following steps.

해상도 변환 장치(100)는 가로 방향 스케일러(101) 및 세로 방향 스케일러(102)를 포함할 수 있다.The resolution conversion apparatus 100 may include a horizontal direction scaler 101 and a vertical direction scaler 102.

본 발명의 제1 실시 예에 따르면, 가로 방향 스케일러(101) 및 세로 방향 스케일러(102)는 각각 6 탭 큐빅 컨볼루션 스케일링 방식을 사용하여 해상도 변환을 수행할 수 있다.According to the first embodiment of the present invention, the horizontal direction scaler 101 and the vertical direction scaler 102 can perform resolution conversion using a six-tap cubic convolution scaling method, respectively.

보다 구체적으로, 본 발명의 제1 실시 예에 따른 6 탭 큐빅 컨볼루션 스케일러를 적용하기 위해 각각의 스케일러(101, 102)는 6개의 필터 탭으로 디지털 샘플들을 추출하여 가로 방향 및 세로 방향에 대한 디지털 샘플들의 스케일링 및 그 사이에 위치한 화소들의 보간을 수행할 수 있다. More specifically, in order to apply the 6-tap cubic convolutional scaler according to the first embodiment of the present invention, each of the scalers 101 and 102 extracts digital samples with six filter taps and outputs digital samples for the horizontal and vertical directions Scaling the samples and interpolating the pixels located therebetween.

이는 각각의 스케일러(101, 102)가 보간을 위해, 보간 위치 주위에 있는 6개의 픽셀정보를 사용하여 보간을 수행하는 것을 의미할 수 있다. 이와 같은 6 탭 큐빅 컨볼루션 방식을 이용한 보간을 위해, 각 스케일러(101, 102)는 하기와 같은 수식으로 Filter Kernel

Figure 112015008807418-pat00001
을 적용할 수 있다.This may mean that each scaler 101,102 performs interpolation using six pixel information around the interpolation position for interpolation. In order to interpolate using the 6-tap cubic convolution method, each of the scalers 101 and 102 converts the filter kernel
Figure 112015008807418-pat00001
Can be applied.

Figure 112015008807418-pat00002
Figure 112015008807418-pat00002

수학식 1의 미지수

Figure 112015008807418-pat00003
Figure 112015008807418-pat00004
를 이용하여 얻어진 연속신호
Figure 112015008807418-pat00005
의 연속성등을 이용해서 계산될 수 있으며 다음 수학식 2와 같이 표현될 수 있다.Unknown in equation (1)
Figure 112015008807418-pat00003
The
Figure 112015008807418-pat00004
Lt; RTI ID = 0.0 >
Figure 112015008807418-pat00005
And can be expressed by the following equation (2). &Quot; (2) "

Figure 112015008807418-pat00006
Figure 112015008807418-pat00006

수학식 2의 알파(α) 값은

Figure 112015008807418-pat00007
의 모양을 결정하는 튜닝 파라미터로써 α = 0.083으로 설정한
Figure 112015008807418-pat00008
를 도식화하면 도 3에 도시된 바와 같다. 일반적으로 알파 값(α)은 선택 가능한 튜닝 파라미터일 수 있으며, 알파 값 선택에 따라 해상도 변환된 영상의 엣지 부분 표현 강도가 가변될 수 있다.The alpha (alpha) value of equation
Figure 112015008807418-pat00007
0.0 > = 0.083 < / RTI >
Figure 112015008807418-pat00008
As shown in FIG. 3. In general, the alpha value alpha may be a selectable tuning parameter, and the edge partial intensity of the resolution-converted image may be varied according to the alpha value selection.

한편, 위 수식과 그림의

Figure 112015008807418-pat00009
를 이용하여 연속함수
Figure 112015008807418-pat00010
를 계산하는 식은 다음의 수학식 3과 같다. 여기서 보간 위치는
Figure 112015008807418-pat00011
Figure 112015008807418-pat00012
사이인
Figure 112015008807418-pat00013
로 가정될 수 있다.On the other hand,
Figure 112015008807418-pat00009
And the continuous function
Figure 112015008807418-pat00010
Is expressed by Equation (3). &Quot; (3) " Here, the interpolation position is
Figure 112015008807418-pat00011
Wow
Figure 112015008807418-pat00012
Saiin
Figure 112015008807418-pat00013
. ≪ / RTI >

Figure 112015008807418-pat00014
Figure 112015008807418-pat00014

이에 따라, 보간 하려는 위치에서 가장 인접한 화소 6개를 이용하여 보간을 수행할 수 있다. Accordingly, interpolation can be performed using the six pixels closest to each other at the position to be interpolated.

이 화소들을 각각 기호로 다시 나타내면 f(x_(k-2)), f(x_(k-1) ), f(x_k ), f(x_(k+1) ), f(x_(k+2)), f(x_(k+3))으로 표현될 수 있다. 보간 하려는 위치 x_{k} + t 에서 x_{k}까지의 거리를 t 라고 하면, 0 ≤t≤ 1이라고 할 수 있다. F (x_ (k-1)), f (x_k), f (x_ (k + 1)) and f ), and f (x_ (k + 3)). If the distance from the position x_ {k} + t to x_ {k} to be interpolated is t, 0? T? 1 can be obtained.

이와 같은 방법으로 가로 방향 스케일러(101)는 주어진 영상신호의 모든 화소에 대해 가로 방향으로 6 탭 큐빅 컨볼루션 스케일링을 적용할 수 있다. 그리고, 세로 방향 스케일러(102)는 가로 방향으로 스케일링된 신호의 데이터에 기초하여, 상기의

Figure 112015008807418-pat00015
를 사용하는 6 탭 큐빅 컨볼루션 스케일러를 세로 방향으로 적용하여 해상도 스케일링을 수행할 수 있다. 그리고, 가로 방향 및 세로 방향 스케일링이 종료되면, 해상도 변환 장치(100)는 해상도 변환된 영상을 raw 데이터의 형태로 프레임 단위 또는 실시간으로 출력할 수 있다.In this way, the horizontal direction scaler 101 can apply 6-tap cubic convolution scaling in the horizontal direction to all pixels of a given image signal. Then, the vertical direction scaler 102, based on the data of the horizontally scaled signal,
Figure 112015008807418-pat00015
A tap can be applied in the vertical direction to perform resolution scaling. When the horizontal and vertical scaling ends, the resolution conversion apparatus 100 can output the resolution-converted image in units of frames or in real time in the form of raw data.

도 4는 이와 같은 과정을 통해 도출되는 6탭 큐빅 컨볼루션 스케일러를 이용하여 주어진 디지털 신호로부터 아날로그 신호를 얻는 과정을 나타낸다. 도 4에서는 편의를 위해 단일 축 기준으로 도시하고 있으며, 기존의 4 탭 큐빅 컨볼루션 스케일러와 달리 6 탭을 가지는 basis 커널을 이용하여 영상신호의 해상도를 보다 세밀하게 변경함으로써 기존의 성능 제약을 극복할 수 있으며, 해상도 변환 영상의 화질 향상을 기대할 수 있게 된다.FIG. 4 shows a process of obtaining an analog signal from a given digital signal using a 6-tap cubic convolutional scaler derived through the above process. In FIG. 4, a single-axis reference is shown for convenience. In contrast to the conventional 4-tap cubic convolution scaler, the resolution of the video signal is finely changed by using a 6-tap basis kernel, And the image quality of the resolution conversion image can be expected to be improved.

도 5 및 도 6은 본 발명의 실시 예에 따른 영상 화소값에 따른 적응적 스케일링 방법을 설명하기 위한 도면들이다.5 and 6 are diagrams for explaining an adaptive scaling method according to an image pixel value according to an embodiment of the present invention.

앞에서 설명한 바와 같이, 4 탭 큐빅 컨볼루션 스케일러와 6 탭 큐빅 컨볼루션 스케일러에는 각각의 튜닝 파라미터 값이 존재할 수 있다. 일반적으로 이 값은 알파 값으로 정의되어 고정된 값으로 설정되고 있으나, 본 발명의 제2 실시 예에서는 화소값의 국지적 특성에 최적화 된 알파 값을 선택하는 방식을 제안한다. As described above, each tuning parameter value may exist in the 4-tap cubic convolutional scaler and the 6-tap cubic convolutional scaler. Generally, this value is defined as a fixed value by being defined as an alpha value. However, in the second embodiment of the present invention, a method of selecting an alpha value optimized for the local characteristic of a pixel value is proposed.

이에 따라, 도 5에 도시된 바와 같이, 본 발명의 제2 실시 예에 따른 해상도 변환 장치(100)는, 영상을 각각의 M x M 블록으로 분할하고, 각 분할 영역에 대한 큐빅 컨볼루션에 있어서, 서로 다른 튜닝 파라미터 알파를 적용할 수 있다. 즉, 해상도 변환 장치(100)의 스케일러는 블록마다 서로 다른 알파 값에 기초한 커널 함수를 적용할 수 있다. 이 때, 블록의 형태는 가로 길이와 세로 길이가 같은 정사각형일 수 있으며, 가로 길이와 세로 길이가 상이한 직사각형일 수 있다.Accordingly, as shown in FIG. 5, the resolution conversion apparatus 100 according to the second embodiment of the present invention divides an image into respective M x M blocks, and in a cubic convolution for each divided area , Different tuning parameters alpha can be applied. That is, the scaler of the resolution conversion apparatus 100 may apply a kernel function based on different alpha values for each block. In this case, the shape of the block may be a square having the same length and the same length, and may be a rectangle having a different length and a different length.

이 때, 각 블록의 특성을 고려하는 방법은 다양할 수 있다. 일 실시 예에 따르면, 블록 내부 화소값들의 분산값을 이용하여 알파 값을 선택할 수 있다. At this time, there are various ways to consider the characteristics of each block. According to one embodiment, the alpha value can be selected using the variance value of the intra-block pixel values.

도 6에서는 이와 같은 본 발명의 제2 실시 예에 따른 해상도 변환 방법을 설명하기 위한 흐름도를 도시하고 있다.FIG. 6 is a flowchart for explaining the resolution conversion method according to the second embodiment of the present invention.

도 6을 참조하면, 먼저 해상도 변환 장치(100)는 원본 영상을 수신한다(S101).Referring to FIG. 6, the resolution conversion apparatus 100 receives an original image (S101).

원본 영상은 앞서 설명한 바와 같이, 이미 복호화된 영상 데이터를 포함할 수 있다.The original image may include already decoded image data, as described above.

그리고, 해상도 변환 장치(100)는 영상을 블록화한다(S103).Then, the resolution conversion apparatus 100 blocks the image (S103).

해상도 변환 장치(100)는, 예를 들어 영상의 각 프레임을 M x M블록으로 분할함으로써 영상을 블록화할 수 있다. 이 때, 블록의 형태는 가로 길이와 세로 길이가 같은 정사각형일 수 있으며, 가로 길이와 세로 길이가 상이한 직사각형일 수 있다. 각 블록화된 영상들은 개별적으로 상이한 방식의 해상도 변환이 적용될 수 있다. 영상이 블록화되면 각 블록에 대응되는 처리 순서가 결정될 수 있으며, 순서에 따라 순차적으로 해상도 변환이 수행될 수 있다.The resolution conversion apparatus 100 can block an image by, for example, dividing each frame of the image into M x M blocks. In this case, the shape of the block may be a square having the same length and the same length, and may be a rectangle having a different length and a different length. Each blocked image can be individually subjected to resolution conversion in a different manner. When the image is blocked, the processing order corresponding to each block can be determined, and the resolution conversion can be sequentially performed according to the order.

이후, 해상도 변환 장치(100)는 현재 블록에 대응되는 분산 값을 연산한다(S105). Thereafter, the resolution conversion apparatus 100 calculates a variance value corresponding to the current block (S105).

본 발명의 실시 예에서, 해상도 변환 장치(100)는 현재 블록에 대응되는 블록 내 픽셀들의 화소값들을 이용하여 그 화소값들의 분산 값을 연산할 수 있다.In the embodiment of the present invention, the resolution conversion apparatus 100 may calculate the variance value of the pixel values using the pixel values of the pixels in the block corresponding to the current block.

그리고, 해상도 변환 장치(100)는 연산된 분산 값에 대응되는 알파 값을 획득한다(S107).Then, the resolution conversion apparatus 100 acquires an alpha value corresponding to the calculated dispersion value (S107).

해상도 변환 장치(100)는 미리 저장된 테이블에 기반하여 분산 값에 대응되는 최적의 알파 값을 획득할 수 있다. 이를 위해, 해상도 변환 장치(100)는 별도의 저장부를 포함할 수 있으며, 저장부에는 적어도 하나의 알파 값 테이블이 포함될 수 있다. The resolution conversion apparatus 100 may obtain an optimal alpha value corresponding to the variance value based on a table stored in advance. For this, the resolution conversion apparatus 100 may include a separate storage unit, and at least one alpha value table may be included in the storage unit.

또한, 알파 값 테이블은 복수 개 존재할 수 있다. 예를 들어, 도 5에 도시된 바와 같이, 스케일러가 분할 영역에 따라 적응적으로 적용되는 경우, 분산 값을 획득하기 위한 알파 값 테이블은 상이할 수 있다. 예를 들어, 해상도 변환 장치(100)에는 4 탭 컨볼루션 스케일러에 대응되는 4 탭용 알파 값 테이블이 포함될 수 있으며, 6 탭 컨볼루션 스케일러에 대응되는 6 탭용 알파 값 테이블이 별도 포함될 수 있다. 앞서 설명한 바와 같이, 각 알파 값에 따라 엣지의 표현 강도 등이 상이할 수 있으므로, 해상도 변환 장치(100) 설계자는 적절한 알파 값을 테이블로 미리 지정할 수 있게 된다.In addition, a plurality of alpha value tables may exist. For example, as shown in FIG. 5, when the scaler is adaptively applied according to the divided area, the alpha value table for obtaining the variance value may be different. For example, the resolution converter 100 may include a 4-tap alpha value table corresponding to a 4-tap convolutional scaler, and a 6-tap alpha value table corresponding to a 6-tap convolutional scaler may be separately included. As described above, since the expression intensity or the like of an edge may differ depending on each alpha value, the designer of the resolution conversion apparatus 100 can designate an appropriate alpha value in advance as a table.

그리고, 해상도 변환 장치(100)는 획득한 알파 값을 이용하여 해상도 변환을 수행한다(S109).Then, the resolution conversion apparatus 100 performs resolution conversion using the obtained alpha value (S109).

앞서 설명한 바와 같이, 해상도 변환 장치(100)는 알파 값이 획득되면, 이를 적용한 커널 함수를 생성할 수 있으며, 생성된 커널 함수를 이용하여 큐빅 컨볼루션 스케일링을 수행함으로써 해상도 변환된 영상 블록을 생성할 수 있게 된다. 또한, 알파 값은 커널 함수가 일반적인 4 탭 커널인지 본 발명에 따른 6 탭 커널인지에 따라 상이하게 적용될 수 있다.As described above, when the alpha value is acquired, the resolution conversion apparatus 100 can generate a kernel function using the kernel function, and performs cubic convolution scaling using the generated kernel function to generate a resolution-converted image block . In addition, the alpha value may be differently applied depending on whether the kernel function is a general 4-tap kernel or a 6-tap kernel according to the present invention.

이후, 해상도 변환 장치(100)는 현재 블록이 마지막 블록인지 판단하고(S111), 마지막 블록인 경우, 해상도 변환된 영상을 출력한다(S113). Thereafter, the resolution conversion apparatus 100 determines whether the current block is the last block (S111). If the current block is the last block, the resolution conversion apparatus 100 outputs the resolution-converted image (S113).

해상도 변환 장치(100)에서 변환된 영상은 프레임 단위 또는 블록 단위로 출력될 수 있다. 한편, 해상도 변환 장치(100)는 마지막 블록이 아닌 경우 다음 블록에 대응되는 분산 연산 단계(S105)부터 다시 수행할 수 있다.The image converted by the resolution conversion apparatus 100 may be output frame by frame or block by block. On the other hand, if the resolution conversion apparatus 100 is not the last block, the resolution conversion apparatus 100 may perform the operation again from the dispersion calculation step (S105) corresponding to the next block.

이와 같이, 영상 블록의 특징에 따라 서로 다른 알파 값을 사용한 커널을 적용함으로써, 화질 향상을 가져올 수 있다. 본 발명의 실시 예에서는 블록 내 분산 값을 사용하고 있으나, 이는 예시일 뿐이며, 본 발명이 영상 블록의 특징을 분류하는 방법에 대해서 제한하는 것은 아님은 자명하다. 또한, 본 발명은 4 탭 큐빅 컨볼루션 스케일러 또는 6 탭 큐빅 컨볼루션 스케일러가 사용되는 경우 모두에 대해서 적용될 수 있으며, 복수 테이블을 구비하게 함으로써 적응적으로 적용되는 경우에도 이용 가능하도록 확장될 수 있다.Thus, by applying a kernel using different alpha values according to the characteristics of the image block, the image quality can be improved. Although the intra-block variance value is used in the embodiment of the present invention, this is only an example, and it is obvious that the present invention does not limit the method of classifying the feature of the image block. In addition, the present invention can be applied to both cases where a 4-tap cubic convolutional scaler or a 6-tap cubic convolutional scaler is used, and can be extended even when adaptively applied by having a plurality of tables.

도 7은 본 발명의 제3 실시 예에 따른 선택적 스케일링 방법을 설명하기 위한 흐름도이다.7 is a flowchart for explaining a selective scaling method according to a third embodiment of the present invention.

본 발명의 제3 실시 예에 따른 선택적 스케일링 방법에서는 각 블록마다 선택적으로 최적의 스케일링 방식을 사용하는 방식을 제안한다.In the selective scaling method according to the third embodiment of the present invention, a method of selectively using an optimal scaling method for each block is proposed.

도 7을 참조하면, 먼저 해상도 변환 장치(100)는 원본 영상을 수신한다(S201). 원본 영상은 앞서 설명한 바와 같이, 이미 복호화된 영상 데이터를 포함할 수 있다.Referring to FIG. 7, the resolution conversion apparatus 100 receives an original image (S201). The original image may include already decoded image data, as described above.

그리고, 해상도 변환 장치(100)는 영상을 블록화한다(S203).Then, the resolution conversion apparatus 100 blocks the image (S203).

해상도 변환 장치(100)는, 예를 들어 영상의 각 프레임을 N x N블록으로 분할함으로써 영상을 블록화할 수 있다. 이 때, 블록의 형태는 가로 길이와 세로 길이가 같은 정사각형일 수 있으며, 가로 길이와 세로 길이가 상이한 직사각형일 수 있다. 각 블록화된 영상들은 개별적으로 상이한 방식의 해상도 변환이 적용될 수 있다. 영상이 블록화되면 각 블록에 대응되는 처리 순서가 결정될 수 있으며, 순서에 따라 순차적으로 해상도 변환이 수행될 수 있다.The resolution conversion apparatus 100 can block an image by, for example, dividing each frame of the image into N x N blocks. In this case, the shape of the block may be a square having the same length and the same length, and may be a rectangle having a different length and a different length. Each blocked image can be individually subjected to resolution conversion in a different manner. When the image is blocked, the processing order corresponding to each block can be determined, and the resolution conversion can be sequentially performed according to the order.

그리고, 해상도 변환 장치(100)는 cost 연산을 수행하여 J4와 J6를 획득하고(S204), 두 값을 비교하여 J4가 작거나 같은지를 판단한다(S205).Then, the resolution conversion apparatus 100 performs cost calculation to acquire J4 and J6 (S204), and compares the two values to determine whether J4 is smaller or equal (S205).

여기서, 본 발명의 제3 실시 예에 따른 해상도 변환 장치(100)는 각 블록마다 선택적으로 최적의 스케일링 방식을 결정할 수 있다. 특히, 바람직하게는 4 탭 큐빅 컨볼루션 스케일러와 6 탭 큐빅 컨볼루션 스케일러 중 더 적절한 스케일링 방식을 선택할 수 있다. Here, the resolution conversion apparatus 100 according to the third embodiment of the present invention can selectively determine an optimal scaling method for each block. In particular, a more suitable scaling scheme, preferably a 4-tap cubic convolutional scaler and a 6-tap cubic convolutional scaler, may be selected.

이 때, 각 블록에서 어느 scaler를 사용할 지, 즉 어느 스케일러가 최적인지는 경우에 따라 상이할 수 있다. 예를 들어, 블록마다 계산되어진 cost 값 J4와 J6을 비교 한 후 더 작은 cost 값을 갖는 scaler를 선택하여 사용할 수 있다. 여기서 J4는 해당 블록을 4 tap Cubic convolution scaler를 사용했을 경우의 cost 값이고, J6은 6 tap Cubic convolution scaler를 사용했을 경우의 cost 값을 의미할 수 있다. 뿐만 아니라, J4와 J6이 해당블록을 4 tap 또는 6 tap Cubic convolution scaler로 해상도를 변화시켰을 경우 발생하는 왜곡도로 정의될 수도 있다.At this time, it may be different depending on which scaler is used in each block, that is, which scaler is optimal. For example, a scaler with a smaller cost value can be selected after comparing cost values J4 and J6 calculated for each block. Here J4 is the cost value when the corresponding block is a 4 tap Cubic convolution scaler, and J6 is the cost value when the 6 tap Cubic convolution scaler is used. In addition, J4 and J6 may be defined as distortions that occur when the corresponding block is resolved by 4 tap or 6 tap Cubic convolution scaler.

또한, J4와 J6에 대한 Cost 함수는 화질, 연산량, 왜곡도 중 적어도 하나에 기초하여 결정될 수 있다. 또한 각각의 변수에 대한 가중치가 설정될 수 있으며, 이에 기초하여 생성된 해상도 변환을 위한 새로운 Cost 함수가 정의될 수도 있다. 따라서, 본 발명의 실시 예에서는 Cost 함수의 조건을 제한하는 것은 아니며, 다양한 방식으로 최적의 스케일링 방식을 수행할지를 결정할 수 있다.In addition, the cost function for J4 and J6 can be determined based on at least one of image quality, calculation amount, and degree of distortion. Also, a weight for each variable may be set, and a new cost function for resolution conversion generated based thereon may be defined. Therefore, in the embodiment of the present invention, the condition of the cost function is not limited, and it is possible to determine whether to perform an optimal scaling method in various ways.

J4가 J6보다 작거나 같은 경우, 해상도 변환 장치(100)는 4탭 큐빅 컨볼루션 스케일러를 이용한 확대 또는 축소를 수행할 수 있다(S207).If J4 is less than or equal to J6, the resolution conversion apparatus 100 may perform enlargement or reduction using the 4-tap cubic convolutional scaler (S207).

그리고, J6가 J4보다 작은 경우, 해상도 변환 장치(100)는 6탭 큐빅 컨볼루션 스케일러를 이용한 확대 또는 축소를 수행할 수 있다(S209).If J6 is smaller than J4, the resolution conversion apparatus 100 may perform enlargement or reduction using the 6-tap cubic convolutional scaler (S209).

이후, 해상도 변환 장치(100)는 현재 블록이 마지막 블록인지 판단하고(S211), 마지막 블록인 경우, 해상도 변환된 영상을 출력한다(S213). Thereafter, the resolution conversion apparatus 100 determines whether the current block is the last block (S211). If the current block is the last block, the resolution conversion apparatus 100 outputs the resolution-converted image (S213).

해상도 변환 장치(100)에서 변환된 영상은 프레임 단위 또는 블록 단위로 출력될 수 있다. 한편, 해상도 변환 장치(100)는 마지막 블록이 아닌 경우 다음 블록의 cost J4와 J6를 연산하는 단계(S204)부터 다시 수행할 수 있다.The image converted by the resolution conversion apparatus 100 may be output frame by frame or block by block. On the other hand, if the resolution conversion apparatus 100 is not the last block, the resolution conversion apparatus 100 can perform the operation again from the step S204 of calculating the cost J4 and J6 of the next block.

이와 같은 방식을 통해, 각 블록 별 최적의 스케일러가 선택될 수 있으며, 이에 따라 해상도 변환된 영상의 화질이 향상될 뿐만 아니라, cost 함수 설계에 따른 연산 성능 및 화질에 대한 최적화을 기대할 수 있게 된다.In this way, the optimal scaler for each block can be selected, thereby improving not only the image quality of the resolution-converted image, but also optimizing the calculation performance and image quality according to the cost function design.

도 8은 본 발명의 제4 실시 예에 따른 해상도 변환 장치(100)의 구성을 설명하기 위한 블록도이다.8 is a block diagram for explaining the configuration of the resolution conversion apparatus 100 according to the fourth embodiment of the present invention.

도 8을 참조하면, 본 발명에 제4 실시 예에 따른 해상도 변환 장치(100)는 가로 방향 6 탭 스케일링부(103) 및 세로 방향 4 탭 스케일링부(105)를 포함할 수 있다.Referring to FIG. 8, the resolution conversion apparatus 100 according to the fourth embodiment of the present invention may include a horizontal six-tap scaling unit 103 and a vertical four-tap scaling unit 105. [

본 발명의 제4 실시 예에 따르면, 해상도 변환 장치(100)는 앞서 설명한 바와 같은 6탭 큐빅 컨볼루션 스케일링을 가로 방향에 대해서만 수행할 수 있다. 그리고, 세로 방향에 대해서는 4 탭 큐빅 스케일링을 수행할 수 있다.According to the fourth embodiment of the present invention, the resolution conversion apparatus 100 can perform 6-tap cubic convolution scaling as described above only in the horizontal direction. In the vertical direction, 4-tap cubic scaling can be performed.

이와 같은 본 발명의 실시 예에 따르면, 영상의 해상도 변환시 가로 방향으로는 일반적으로 성능이 좋은 6 탭 큐빅 컨볼루션 스케일러로 변환을 하고, 세로 방향으로는 4 탭 큐빅 컨볼루션 스케일러로 변환하는 결과를 가져올 수 있다.According to the embodiment of the present invention, when the resolution of an image is converted, the result is converted into a 6-tap cubic convolution scaler having generally good performance in the horizontal direction and a 4-tap cubic convolution scaler in the vertical direction .

이와 같은 본 발명의 실시 예는 하드웨어 구현 시에 유리하게 적용될 수 있다. 일반적으로, 가로 방향으로 해상도 변환은 탭 수와 관계 없이 1개의 라인 메모리(line memory)를 이용하여 변환이 이루어질 수 있다. Such an embodiment of the present invention can be advantageously applied in hardware implementation. Generally, resolution conversion in the horizontal direction can be performed using one line memory regardless of the number of taps.

그러나, 세로 방향으로의 해상도 변환과정에서는 탭 수에 따라 복수 개의 라인 메모리(line memory)가 사용되어야 하기 때문에 6개의 라인 메모리(line memory)를 사용하는 6 탭 큐빅 컨볼루션 스케일러보다 4개의 라인 메모리(line memory)만 사용하는 4 탭 큐빅 컨볼루션 스케일러가 세로 방향으로 적용할 때의 메모리 요구량을 감축시킬 수 있다.However, since a plurality of line memories must be used according to the number of taps in the resolution conversion process in the vertical direction, it is necessary to use four line memories (6-tap cubic convolution scaler) tap memory can reduce the memory requirement when the 4-tap cubic convolutional scaler uses only vertical memory.

따라서, 본 발명의 실시 예에 따르면, 해상도 변환 장치(100)는 가로 방향에 대해서만 6 탭 큐빅 컨볼루션 스케일링 수행부(103)를 구비함으로써, 라인 메모리 요구량은 유지하면서도 성능 향상을 가져올 수 있게 된다.Therefore, according to the embodiment of the present invention, the resolution conversion apparatus 100 includes the 6-tap cubic convolution scaling unit 103 only in the horizontal direction, so that the performance can be improved while maintaining the line memory requirement.

상술한 본 발명에 따른 방법은 컴퓨터에서 실행되기 위한 프로그램으로 제작되어 컴퓨터가 읽을 수 있는 기록 매체에 저장될 수 있으며, 컴퓨터가 읽을 수 있는 기록 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있으며, 또한 캐리어 웨이브(예를 들어 인터넷을 통한 전송)의 형태로 구현되는 것도 포함한다.The method according to the present invention may be implemented as a program for execution on a computer and stored in a computer-readable recording medium. Examples of the computer-readable recording medium include a ROM, a RAM, a CD- , A floppy disk, an optical data storage device, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet).

컴퓨터가 읽을 수 있는 기록 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장되고 실행될 수 있다. 그리고, 상기 방법을 구현하기 위한 기능적인(function) 프로그램, 코드 및 코드 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.The computer readable recording medium may be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. And, functional programs, codes and code segments for implementing the above method can be easily inferred by programmers of the technical field to which the present invention belongs.

또한, 이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형 실시가 가능한 것은 물론이고, 이러한 변형 실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해 되어서는 안될 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It should be understood that various modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.

Claims (10)

영상 신호의 해상도 스케일링 방법에 있어서,
부호화된 비트스트림에 기초하여 복호화된 영상 신호 또는 디지털 처리된 영상 신호를 수신하는 단계;
상기 영상 신호에 기반하여, 스케일링 방식을 선택하는 단계;
상기 선택된 스케일링 방식에 따라 상기 영상 신호의 제1 방향 및 제2 방향에 대응하여 적응적으로 스케일링을 수행하는 단계; 및
상기 스케일링 수행에 따라 해상도 변환된 영상을 출력하는 단계를 포함하고,
상기 스케일링 방식을 선택하는 단계는
상기 영상 신호를 블록 분할하는 단계;
상기 분할된 블록에 포함된 화소값에 따라 상기 블록에 대응되는 분산 값을 연산하는 단계;
상기 연산된 분산 값에 대응되는 알파 값을 획득하는 단계; 및
상기 획득된 알파 값에 대응되는 커널을 생성하고, 상기 커널에 대응되는 스케일러를 상기 스케일링 방식으로 선택하는 단계를 포함하는 영상 신호의 해상도 스케일링 방법.
A method of scaling a resolution of a video signal,
Receiving a decoded video signal or a digitally processed video signal based on the encoded bitstream;
Selecting a scaling scheme based on the video signal;
Performing adaptively scaling corresponding to a first direction and a second direction of the video signal according to the selected scaling scheme; And
And outputting a resolution-converted image according to the scaling,
The step of selecting the scaling scheme
Dividing the video signal into blocks;
Calculating a variance value corresponding to the block according to a pixel value included in the divided block;
Obtaining an alpha value corresponding to the calculated variance value; And
Generating a kernel corresponding to the obtained alpha value, and selecting a scaler corresponding to the kernel by the scaling method.
제1항에 있어서,
상기 알파 값을 획득하기 위한 스케일러별 알파 값 테이블을 저장하는 단계를 더 포함하는 영상 신호의 해상도 스케일링 방법.
The method according to claim 1,
And storing a scaler-specific alpha value table for obtaining the alpha value.
제1항에 있어서,
상기 알파 값은 선택 가능한 튜닝 파라미터이며, 상기 알파 값 선택에 따라 상기 해상도 변환된 영상의 엣지 부분 표현 강도가 가변되는 것을 특징으로 하는 영상 신호의 해상도 스케일링 방법.
The method according to claim 1,
Wherein the alpha value is a selectable tuning parameter, and the intensity of the edge partial representation of the resolution-converted image is varied according to the alpha value selection.
제1항에 있어서,
상기 커널에 대응되는 스케일러는 4탭 또는 6탭 큐빅 컨볼루션 스케일러인 영상 신호의 해상도 스케일링 방법.
The method according to claim 1,
Wherein the scaler corresponding to the kernel is a 4-tap or 6-tap cubic convolution scaler.
제1항에 있어서,
상기 제1 방향은 상기 영상 신호에 대응되는 가로 방향이며, 상기 제2 방향은 상기 영상 신호에 대응되는 세로 방향인 것을 특징으로 하는 영상 신호의 해상도 스케일링 방법.
The method according to claim 1,
Wherein the first direction is a horizontal direction corresponding to the video signal and the second direction is a vertical direction corresponding to the video signal.
영상 신호의 해상도 변환 장치에 있어서,
부호화된 비트스트림에 기초하여 복호화된 영상 신호 또는 디지털 처리된 영상 신호를 수신하는 입력부;
상기 영상 신호에 기반하여, 스케일링 방식을 선택하고, 상기 선택된 스케일링 방식에 따라 상기 영상 신호의 제1 방향 및 제2 방향에 대응하여 적응적으로 스케일링을 수행하는 적어도 하나의 스케일러; 및
상기 스케일링 수행에 따라 해상도 변환된 영상을 출력하는 출력부를 포함하고,
상기 스케일러는 상기 영상 신호를 블록 분할하고, 상기 분할된 블록에 포함된 화소값에 따라 상기 블록에 대응되는 분산 값을 연산하며, 상기 연산된 분산 값에 대응되는 알파 값을 획득하고, 상기 획득된 알파 값에 대응되는 커널을 생성하며, 상기 커널에 대응하여 상기 스케일링 방식을 선택하는 영상 신호의 해상도 변환 장치.
An apparatus for converting a resolution of a video signal,
An input unit for receiving a decoded video signal or a digitally processed video signal based on the encoded bit stream;
At least one scaler for selecting a scaling method based on the video signal and performing adaptive scaling according to a first direction and a second direction of the video signal according to the selected scaling method; And
And an output unit for outputting a resolution-converted image according to the scaling,
Wherein the scaler divides the image signal, calculates a variance value corresponding to the block according to a pixel value included in the divided block, obtains an alpha value corresponding to the calculated variance value, And generates a kernel corresponding to the alpha value, and selects the scaling method corresponding to the kernel.
제6항에 있어서,
상기 알파 값을 획득하기 위한 스케일러별 알파 값 테이블을 저장하는 저장부를 더 포함하는 영상 신호의 해상도 변환 장치.
The method according to claim 6,
And a storage unit for storing a scaler-specific alpha value table for obtaining the alpha value.
제6항에 있어서,
상기 알파 값은 선택 가능한 튜닝 파라미터이며, 상기 알파 값 선택에 따라 상기 해상도 변환된 영상의 엣지 부분 표현 강도가 가변되는 것을 특징으로 하는 영상 신호의 해상도 변환 장치.
The method according to claim 6,
Wherein the alpha value is a selectable tuning parameter and the edge partial intensity of the resolution-converted image is varied according to the alpha value selection.
제6항에 있어서,
상기 커널에 대응되는 스케일러는 4탭 또는 6탭 큐빅 컨볼루션 스케일러인 영상 신호의 해상도 변환 장치.
The method according to claim 6,
Wherein the scaler corresponding to the kernel is a 4-tap or 6-tap cubic convolution scaler.
제1항 내지 제5항 중 어느 한 항에 기재된 방법을 컴퓨터에서 실행시키기 위한 프로그램이 기록된 기록 매체.A recording medium on which a program for causing a computer to execute the method according to any one of claims 1 to 5 is recorded.
KR1020150012750A 2015-01-27 2015-01-27 Method for scaling a resolution and an apparatus thereof KR101522260B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020150012750A KR101522260B1 (en) 2015-01-27 2015-01-27 Method for scaling a resolution and an apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020150012750A KR101522260B1 (en) 2015-01-27 2015-01-27 Method for scaling a resolution and an apparatus thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020140000114A Division KR101526321B1 (en) 2014-01-02 2014-01-02 Method for scaling a resolution and an apparatus thereof

Publications (1)

Publication Number Publication Date
KR101522260B1 true KR101522260B1 (en) 2015-05-26

Family

ID=53395265

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020150012750A KR101522260B1 (en) 2015-01-27 2015-01-27 Method for scaling a resolution and an apparatus thereof

Country Status (1)

Country Link
KR (1) KR101522260B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020231006A1 (en) * 2019-05-16 2020-11-19 삼성전자주식회사 Image processing device and operation method therefor
WO2021221250A1 (en) * 2020-04-29 2021-11-04 삼성전자 주식회사 Electronic device for scaling image, and operating method therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040100735A (en) * 2003-05-24 2004-12-02 삼성전자주식회사 Image interpolation apparatus, and method of the same
KR20060011280A (en) * 2004-07-30 2006-02-03 한종기 Transcoding system and method capable of optimizing resolution converting module and motion estimating module commonly
KR20090100189A (en) * 2008-03-19 2009-09-23 삼성전자주식회사 Method and apparatus for encoding stereoscopic image datastream including scaling information, and method and apparatus for the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040100735A (en) * 2003-05-24 2004-12-02 삼성전자주식회사 Image interpolation apparatus, and method of the same
KR20060011280A (en) * 2004-07-30 2006-02-03 한종기 Transcoding system and method capable of optimizing resolution converting module and motion estimating module commonly
KR20090100189A (en) * 2008-03-19 2009-09-23 삼성전자주식회사 Method and apparatus for encoding stereoscopic image datastream including scaling information, and method and apparatus for the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020231006A1 (en) * 2019-05-16 2020-11-19 삼성전자주식회사 Image processing device and operation method therefor
KR20200132306A (en) * 2019-05-16 2020-11-25 삼성전자주식회사 Image processing apparatus and operating method for the same
KR102266903B1 (en) * 2019-05-16 2021-06-18 삼성전자주식회사 Image processing apparatus and operating method for the same
WO2021221250A1 (en) * 2020-04-29 2021-11-04 삼성전자 주식회사 Electronic device for scaling image, and operating method therefor
KR20210133802A (en) * 2020-04-29 2021-11-08 삼성전자주식회사 Electronic device and operating method for scaling image
KR102484386B1 (en) * 2020-04-29 2023-01-03 삼성전자주식회사 Electronic device and operating method for scaling image

Similar Documents

Publication Publication Date Title
US20210281854A1 (en) Method and apparatus for encoding/decoding an image
US10979718B2 (en) Machine learning video processing systems and methods
CN108028931B (en) Method and apparatus for adaptive inter-frame prediction for video coding and decoding
KR101653039B1 (en) An appratus for scaling a resoltion using decoding information and a method thereof
JP5302010B2 (en) Re-sampling and image resizing algorithm for multi-resolution video encoding and decoding
JP6535744B2 (en) Image coding apparatus, image decoding apparatus, and programs therefor
JP2020517190A (en) Video decoding method and apparatus by intra prediction in video coding system
JP2016129379A (en) Method of interpolating video by using asymmetrical interpolation filter and device thereof
KR20120034057A (en) Method and apparatus for interpolating image using smoothed interpolation filter
JP2008507190A (en) Motion compensation method
JP2004297566A (en) Moving image encoder, method and program for moving image encoding moving image decoder, and method and program for moving image decoding
TW202315408A (en) Block-based prediction
US20180167638A1 (en) Method and apparatus for encoding and decoding video signal using adaptive sampling
KR20160051343A (en) A method and an apparatus for encoding/decoding a video signal using intra prediction
KR101522260B1 (en) Method for scaling a resolution and an apparatus thereof
KR101526321B1 (en) Method for scaling a resolution and an apparatus thereof
KR101522261B1 (en) Method for scaling a resolution and an apparatus thereof
KR101615503B1 (en) Method for scaling a resolution using intra mode and an apparatus thereof
KR102573577B1 (en) A method for processing a video, a method and an apparatus for frame rate conversion
KR101615507B1 (en) Method for scaling a resolution using motion information and an apparatus thereof
US20120300838A1 (en) Low resolution intra prediction
CN113395520A (en) Decoding prediction method, device and computer storage medium
KR20220136163A (en) Video Coding Method and Apparatus Using Deep Learning Based In-loop Filter for Inter Prediction
KR20160139898A (en) Method for scaling a resolution and an apparatus thereof
JP2024511636A (en) Video coding method and device using deep learning-based in-loop filter for inter prediction

Legal Events

Date Code Title Description
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180430

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190219

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20200306

Year of fee payment: 6