KR20030053108A - Method for resizing images in block-DCT domain - Google Patents

Method for resizing images in block-DCT domain Download PDF

Info

Publication number
KR20030053108A
KR20030053108A KR1020010083146A KR20010083146A KR20030053108A KR 20030053108 A KR20030053108 A KR 20030053108A KR 1020010083146 A KR1020010083146 A KR 1020010083146A KR 20010083146 A KR20010083146 A KR 20010083146A KR 20030053108 A KR20030053108 A KR 20030053108A
Authority
KR
South Korea
Prior art keywords
sample
samples
dct
symmetric
image
Prior art date
Application number
KR1020010083146A
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 KR1020010083146A priority Critical patent/KR20030053108A/en
Priority to PCT/KR2002/002083 priority patent/WO2003056837A1/en
Priority to AU2002354281A priority patent/AU2002354281A1/en
Publication of KR20030053108A publication Critical patent/KR20030053108A/en

Links

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/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/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/48Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals

Abstract

PURPOSE: A method for transforming the size of an image at a block discrete cosine transform domain is provided to randomly transform the size of the image and remarkably reduce the amount of calculation by simplifying window functions. CONSTITUTION: In the case of downsampling, 8xM samples are made by inserting M-1 zeros in the back of each sample of a DCT(Discrete Cosine Transform) block formed of 8 samples. The adjacent 8xM samples are symmetrically convoluted with DCT coefficients of M window functions. Upper 8 samples of the M results of the symmetrical convolution are added with each other to make 8-sample DCT. In the case of upsampling, 8xL samples are made by inserting (L-1)x8 zeros after each sample of a DCT block formed of 8 samples. 8xL samples are symmetrically convoluted with DCT coefficients of L window functions. Every L sample is collected from the 8xL sample result value of the symmetrical convolution to make L 8-sample DCT block.

Description

블록 이산코사인변환 영역에서의 영상 크기 변환 방법 {Method for resizing images in block-DCT domain}Image size conversion method in block discrete cosine transform domain {Method for resizing images in block-DCT domain}

본 발명은 블록 DCT 영역에서 대칭 컨볼류션을 이용하여 영상의 크기를 줄이거나 늘일 수 있는 방법에 관한 것이다.The present invention relates to a method for reducing or increasing the size of an image using symmetric convolution in a block DCT region.

디지털 영상이 폭넓게 사용됨에 따라 이들 영상을 처리할 수 있는 효과적인 도구에 대한 필요성이 커지고 있다. 영상 크기 변환도 기본적이고 중요한 영상 처리 도구에 속한다. 특히, 하나의 디지털 영상 데이터로 다양한 영상 매체를 지원하기 위해서는 영상의 크기 변환이 필연적으로 따르게 된다. 예를 들면, VOD(VideoOn Demand) 서비스가 지원해야 하는 영상 매체로는 일반적인 컴퓨터의 모니터, HDTV, 일반 텔레비전 이외에도 휴대폰의 액정 표시 장치 등 다양한 크기의 영상매체가 존재한다. 이들 영상매체에 맞는 크기의 디지털 영상 데이터를 모두 마련하여 저장하고 있는 것은 거의 불가능하다. 따라서, 하나의 디지털 영상 데이터를 생성 및 저장하여 두고 영상매체에 따라 그 크기만을 변환시키도록 해야 한다.As digital images are widely used, there is a growing need for effective tools to process these images. Image size conversion is also a basic and important image processing tool. In particular, in order to support various image media with one digital image data, image size conversion necessarily follows. For example, video media that must be supported by a Video On Demand (VOD) service include video media of various sizes such as liquid crystal displays of mobile phones, in addition to general computer monitors, HDTVs, and general televisions. It is almost impossible to prepare and store all the digital image data of the size suitable for these image media. Therefore, one digital image data should be generated and stored, and only its size should be converted according to the image medium.

일반적으로 영상의 크기를 변환시키기 위해서는 샘플링 레이트(sampling rate)의 변경과 저역통과 필터링(low pass filtering)의 두가지 동작이 필요하다. 영상의 크기를 줄이기 위해서는 영상에 대해서 저역통과 필터링을 한 다음에 다운샘플링(downsampling)을 한다(decimation). 영상의 크기를 늘이기 위해서는 영상에 대해서 업샘플링(upsampling)을 한 다음에 저역통과 필터링 한다(interpolation). 통상적으로 이러한 동작은 픽셀 영역에서 이루어진다.In general, in order to convert an image size, two operations, a change of a sampling rate and a low pass filtering, are required. To reduce the size of the image, lowpass filtering is performed on the image and then downsampling. In order to increase the size of the image, upsampling is performed on the image and then low pass filtering is performed. Typically this is done in the pixel region.

그런데, 대부분의 정지영상이나 동영상들은 압축된 형태로 저장되어 있다. 따라서, 종래에는 압축된 영상의 크기를 변환하기 위하여 압축을 푼 다음에 크기 변환을 하고 다시 압축하여야 하였다. 즉, 영상의 크기를 줄이기 위해서 압축의 해제, 영상 크기 변환, 압축의 세 과정을 거쳐야 하기 때문에 시간이 많이 소요된다고 하는 단점이 있다.However, most still images and moving images are stored in a compressed form. Therefore, in order to convert the size of a compressed image, it has to be decompressed and then recompressed. In other words, in order to reduce the size of the image, it is necessary to go through three processes of decompression, image size conversion, and compression.

이러한 문제점을 해결하기 위하여 압축된 영상에 대해서 직접 영상 크기 변환을 하는 방법이 많이 제시되고 있다. 압축된 영상은 주로 이산코사인변환(Discrete Cosine Transform, 이하 DCT라 함) 되어 있으므로, 압축된 영상에 대해서 영상 크기 변환을 한다는 것은 DCT 영역에서 크기 변환을 한다는것을 의미한다.In order to solve this problem, many methods of directly converting the image size of a compressed image have been proposed. Since the compressed image is mainly Discrete Cosine Transform (DCT), the image size conversion for the compressed image means that the size conversion in the DCT region.

이러한 방법 중의 하나로 미국특허 제5,708,732호(Fast DCT domain downsampling and inverse motion compensation)가 있다. 여기에서는 n개의 8x8 DCT 블록의 평균을 취하여 1개의 8x8 DCT 블록을 생성함으로써 1/n의 다운샘플링을 구현하고 있다. 그러나, 이 방법에 따르면 1/n과 같은 축소율은 달성할 수 있지만, m/n과 같은 임의의 축소율은 달성할 수 없다고 하는 단점이 있다.One such method is US Patent No. 5,708,732 (Fast DCT domain downsampling and inverse motion compensation). Here, 1 / n downsampling is realized by taking the average of n 8x8 DCT blocks and generating one 8x8 DCT block. However, according to this method, a reduction ratio such as 1 / n can be achieved, but there is a disadvantage that an arbitrary reduction ratio such as m / n cannot be achieved.

또 다른 방법으로는 미국특허 제5,845,015호(Method and apparatus for resizing images using the discrete cosine transform)이 있다. 여기에서는 DCT 계수에 대해서 저역통과 필터의 변환 계수를 곱함으로써 저역통과 필터링 연산을 한 다음에 필터링 연산된 계수를 접어서(folding over) 빼줌으로써 4x4 DCT 블록을 생성한다. 그러나, 이 방법에 따르면 생성되는 DCT 블록의 크기가 일반적인 압축방법에서 사용되는 8x8이 아니므로 DCT 영역에서 곧바로 사용할 수 없다고 하는 단점이 있다.Another method is US Patent No. 5,845,015 (Method and apparatus for resizing images using the discrete cosine transform). In this case, the low pass filtering operation is performed by multiplying the DCT coefficients by the transform coefficients of the low pass filter, and then a 4 × 4 DCT block is generated by folding and subtracting the filtered coefficients. However, this method has a disadvantage in that the size of the generated DCT block is not 8x8 used in the general compression method, so that it cannot be used immediately in the DCT region.

본 발명은 이러한 점을 감안하여 이루어진 것으로서, 임의의 크기로 변환할 수 있는 DCT 영역에서의 영상 크기 변환 방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made in view of this point, and an object thereof is to provide a method for converting an image size in a DCT region which can be converted to an arbitrary size.

본 발명의 다른 목적은 크기 변환된 DCT 블록의 크기가 일반적인 압축 표준에서 사용하는 8x8인 DCT 영역에서의 영상 크기 변환 방법을 제공하는 것이다.Another object of the present invention is to provide a method for converting an image size in a DCT region in which the size of the size-converted DCT block is 8x8 used in a general compression standard.

본 발명의 다른 목적은 계산량이 적은 영상 크기 변환 방법을 제공하는 것이다.Another object of the present invention is to provide a method for converting an image size having a small amount of calculation.

도 1은 본 발명의 2폴드 다운샘플링의 개념을 설명하기 위한 개념도이다.1 is a conceptual diagram illustrating the concept of two-fold downsampling of the present invention.

도 2는 본 발명의 2폴드 다운샘플링을 수행하기 위한 장치의 블록도이다.2 is a block diagram of an apparatus for performing two fold downsampling of the present invention.

도 3은 본 발명의 2폴드 업샘플링의 개념을 설명하기 위한 개념도이다.3 is a conceptual diagram illustrating the concept of two-fold upsampling of the present invention.

도 4는 본 발명의 2폴드 업샘플링을 수행하기 위한 장치의 블록도이다.4 is a block diagram of an apparatus for performing two fold upsampling of the present invention.

도 5a 및 도 5b는 임의의 변환율로 영상의 크기를 변환하는 방법을 설명하기 위한 개념도이다.5A and 5B are conceptual views for explaining a method of converting an image size at an arbitrary conversion rate.

본 발명의 다운샘플링 방법에서는 각 블록의 샘플 뒤에 0을 삽입하여 M개의 윈도우 함수의 DCT 계수와 대칭 컨볼루션을 한다. M개의 인접한 블록의 컨볼루션 결과값을 더한 다음 첫 8샘플만을 취하여 1/M의 다운샘플링을 한다. 업샘플링 방법에서는 하나의 블록의 8샘플에 8샘플의 0을 패딩하여 L개의 윈도우 함수의 DCT 계수와 대칭 컨볼루션을 한다. 컨볼루션 결과값에서 짝수 샘플만을 취함으로써 L배의 업샘플링을 한다. L배의 업샘플링을 한 다음, 1/M의 다운샘플링을 함으로써 L/M의 크기 변환을 할 수 있다. 이들 계산을 행렬식을 이용하여 한번에 구할 수도 있다. 또한, 윈도우 함수를 간략화함으로써 계산량을 현저히 감소시킬 수 있다.In the downsampling method of the present invention, 0 is inserted after a sample of each block to perform symmetric convolution with DCT coefficients of M window functions. The convolution result of M adjacent blocks is added and then only the first 8 samples are taken for 1 / M downsampling. In the upsampling method, 8 samples of one block are padded with 8 samples of zero to perform symmetric convolution with DCT coefficients of L window functions. L-times upsampling by taking only even samples from the convolution results. After L times upsampling, 1 / M downsampling enables L / M size conversion. These calculations can also be obtained at once using determinants. In addition, the amount of computation can be significantly reduced by simplifying the window function.

먼저, 다운샘플링과 업샘플링에서 이용되는 필터를 구현하기 위해 기본이 되는 DCT 영역에서의 곱-컨볼루션 특성(multiplication-convolution property)에 대한 관계식에 대해서 알아본다. DCT 영역에서의 곱-컨볼루션 관계에 대해서는 S.A.Martucci의 "Symmetric Convolution and the Discrete Sine and Cosine Transforms"(IEEE Trans. Signal Processing, vol. 42, No.5, May 1994)에 설명되어 있다.First, the relation equations for multiplication-convolution properties in the DCT domain, which are used to implement filters used in downsampling and upsampling, will be described. The product-convolutional relationship in the DCT domain is described in S.A. Martucci's "Symmetric Convolution and the Discrete Sine and Cosine Transforms" (IEEE Trans.Signal Processing, vol. 42, No. 5, May 1994).

영상 압축에 일반적으로 이용되는 DCT는 여러가지의 형태 중에서 타입2이며, 이에 대한 곱-컨볼루션 특성은 다음과 같이 정리된다.DCT, which is generally used for image compression, is type 2 among various forms, and its product-convolution characteristics are summarized as follows.

크기 N을 가지는 시퀀스x(n)에 대한 타입2 DCT는 수학식 1과 같으며, 역변환은 수학식 2와 같다.Type 2 DCT for a sequence x ( n ) having a size N is represented by Equation 1, and an inverse transform is represented by Equation 2.

여기에서 가중함수(weighting function)u(k)는 수학식 3과 같다.Here, the weighting function u ( k ) is expressed by Equation 3 below.

수학식 1 내지 3에서 DCT의 곱-컨볼루션 특성은 수학식 4과 같이 정의된다.In Equations 1 to 3, the product-convolution characteristic of DCT is defined as in Equation 4.

여기에서w(n)은 임의의 함수이고, 본 발명에서는 업샘플링/다운샘플링을 할 때의 필터함수가 될 수 있다.Here, w ( n ) is an arbitrary function, and in the present invention, it may be a filter function for upsampling / downsampling.

한편,는 대칭 컨볼루션으로서, 수학식 5와 같이 정의된다.Meanwhile, Is a symmetric convolution, which is defined as in Equation 5.

X e ,W e 는 각각X(k),W(k)의 반대칭 확장(anti-symmetric extension)이다. 예를 들어,X(k)로부터X e (k)는 수학식 6과 같이 정의된다. X e and W e are anti-symmetric extensions of X ( k ) and W ( k ), respectively. For example, X ( k ) to X e ( k ) are defined as in Equation 6.

따라서, 공간 영역에서 임의의 필터를 생각한다면, 수학식 4를 사용하여 쉽게 DCT 영역에서의 필터를 구할 수 있다.Therefore, if one considers an arbitrary filter in the spatial domain, Equation 4 can be used to easily obtain a filter in the DCT domain.

한편, 실제 영상압축에서 사용되는 DCT는 타입2 DCT의 직교 형태(orthogonal form)이므로 전체 계산에서의 스케일링 팩터(scaling factor)가 필요하다.Meanwhile, since DCT used in actual image compression is an orthogonal form of Type 2 DCT, a scaling factor in the entire calculation is required.

직교 형태와 일반타입의 타입2 DCT변환 관계식은 다음과 같다.Orthogonal form and general type Type 2 DCT transformation relations are as follows.

직교형태를 고려하면 수학식 4는 다음과 같이 정리될 수 있다.Considering the orthogonal form, Equation 4 can be summarized as follows.

이와 같은 배경을 가지고, 본 발명의 영상크기변환방법에 대해서 설명한다.With this background, the image size conversion method of the present invention will be described.

도 1은 본 발명의 2폴드 다운샘플링의 개념을 설명하기 위한 개념도이다. 도1에서 좌측은 공간 영역에서의 디지털 영상 신호의 예이고, 우측은 같은 신호를 DCT 한 후의 계수이다.1 is a conceptual diagram illustrating the concept of two-fold downsampling of the present invention. In FIG. 1, the left side is an example of a digital video signal in a spatial domain, and the right side is a coefficient after DCT of the same signal.

(a)에서x 1(n)8,x 2(n)8은 인접한 블록의 8 샘플의 신호이고,X 1(k)8,X 2(k)8는 이들의 DCT 계수이다. (b)에서,는 공간영역에서x 1(n)8,x 2(n)8을 각각 중심에 대칭되게 확장한 것이며, 이는 DCT 영역에서 각 DCT 계수의 샘플 뒤에 0을 삽입한,에 대응된다. (c)는 (b)의 신호에서 원하는 부분을 잘라내기 위한 윈도우 함수(window function)w 1(n)16,w 2(n)16및 그에 대응되는 DCT 계수W 1(k)16,W 2(k)16를 보여주고 있다..In (a) x 1 ( n ) 8 , x 2 ( n ) 8 are signals of 8 samples of adjacent blocks, and X 1 ( k ) 8 and X 2 ( k ) 8 are their DCT coefficients. in (b) , Is a symmetric extension of x 1 ( n ) 8 and x 2 ( n ) 8 in the spatial domain, respectively, which inserts 0 after the sample of each DCT coefficient in the DCT domain. , Corresponds to. (c) is a window function w 1 ( n ) 16 , w 2 ( n ) 16 and corresponding DCT coefficients W 1 ( k ) 16 , W 2 for cutting out the desired portion of the signal of (b). ( k ) shows 16 .

공간영역에서 (b)의 신호에 윈도우 함수를 곱하면 (d)와 같은 신호가 나타나며, 이는 DCT 영역에서는 (b)의 DCT 계수와 윈도우 함수의 DCT 계수를 대칭 컨볼루션을 취한 것에 대응된다.When the signal of (b) is multiplied by the window function in the spatial domain, a signal such as (d) appears, which corresponds to the symmetric convolution of the DCT coefficient of (b) and the DCT coefficient of the window function in the DCT domain.

(e)에서 볼 수 있는 것처럼 윈도우 처리(windowing)를 한 후의 두 신호의 합x(n)16은 원래의 신호, 즉 (a)에서의 신호와 같다. 이를 DCT 영역에서 표현하면, 수학식 8과 같다.As can be seen in (e), the sum x ( n ) 16 of the two signals after windowing is equal to the original signal, i.e., the signal in (a). If this is expressed in the DCT domain, Equation 8 is given.

따라서, (e)의 16 샘플은 인접한 2 블록 전체에 대해서 DCT를 한 것과 마찬가지이므로, 저주파수쪽 8 계수만 취하면 2폴드 다운샘플링을 구현할 수 있다.Therefore, since 16 samples of (e) are the same as DCT for all two adjacent blocks, two-fold downsampling can be realized by taking only 8 coefficients on the low frequency side.

이상의 절차를 구현하기 위한 장치의 블록도가 도 2에 도시되어 있다.A block diagram of an apparatus for implementing the above procedure is shown in FIG.

0 삽입기(11,12)는 입력되는 인접 블록의 두 8샘플 신호 X1과 X2의 샘플 뒤에 0을 삽입하여 두개의 16샘플 신호를 출력한다. 대칭 컨볼루션 연산기(13,14)는 이들 두개의 16샘플 신호를 각각 윈도우 함수 W1과 W2에 대해서 대칭 컨볼루션을 행한다. 덧셈기(15)는 대칭 컨볼루션 연산기(13,14)의 출력을 더해서 수학식 8과 같은 결과를 출력한다. 첫 8샘플 추출기(17)는 수학식 8의 결과인 16샘플 신호로부터 첫 8샘플, 즉 저파수쪽 8샘플을 취하여 2폴드 다운샘플링된 신호 Z가 출력된다.The zero inserters 11 and 12 insert two zeros after two eight-sample signals X 1 and X 2 of the input adjacent block to output two 16-sample signals. Symmetric convolution operators 13 and 14 perform symmetric convolution on these two 16 sample signals for the window functions W 1 and W 2 , respectively. The adder 15 adds the outputs of the symmetric convolution operators 13 and 14 and outputs a result as shown in Equation (8). The first eight-sample extractor 17 takes the first eight samples, that is, the low-wavelength eight samples from the 16-sample signal resulting from Equation 8, and outputs a two-fold downsampled signal Z.

윈도우 함수W 1(k)16,W 2(k)16은 수학식 1을 이용하여 구할 수 있으며, 각각의 결과를 표 1에 나타내었다.The window functions W 1 ( k ) 16 and W 2 ( k ) 16 can be obtained using Equation 1, and the results of the results are shown in Table 1 below.

표 1을 살펴보면, 계수들이 0을 많이 가지고 있고, 대칭 컨볼루션이 대칭성을 가지고 있으므로, 각각을 8x8의 행렬 형태로 다음과 같이 정리할 수 있다.Looking at Table 1, since the coefficients have a lot of zeros and the symmetry convolution has symmetry, we can arrange each of them as a matrix of 8x8 as follows.

수학식 9 및 10에서 각 행렬은 다음과 같다.In Equations 9 and 10, each matrix is as follows.

결과적으로, 다운샘플링(z or )을 행렬 형태로 정리하면 수학식 16과 같다.As a result, when downsampling ( z or ) is arranged in the form of a matrix, Equation 16 is used.

여기에서FG는 스케일링 팩터로 각각 수학식 17 및 수학식 18과 같다.Here, F and G are scaling factors, which are represented by Equations 17 and 18, respectively.

수학식 16에서와 같이 대칭 컨볼루션을 행렬 형태로 구현하여 0 계수를 고려하고 수학식 16에서 { }안의 일부분을 미리 계산하여 사용할 수 있으므로 실제 업샘플링/다운샘플링에 대한 계산량을 기존의 영상크기 변환방법보다 크게 줄일 수 있다.As shown in Equation 16, symmetric convolution can be implemented in the form of a matrix to consider the zero coefficient, and part of {} in Equation 16 can be used in advance to calculate the actual amount of upsampling / downsampling. It can be greatly reduced than the method.

같은 방법으로 3폴드 다운샘플링은 인접한 3 블록의 8 샘플에 대해서 3개의 윈도우 함수를 가지고 구할 수 있다. 이때, 첫번째 윈도우 함수는 왼쪽 8샘플이 1이고 나머지 16샘플은 0, 두번째 윈도우 함수는 가운데 8샘플이 1이고 나머지 16샘플은 0, 세번째 윈도우 함수는 오른쪽 8샘플이 1이고 나머지 16샘플은 0이다. 이들윈도우 함수의 DCT 계수는 수학식 1로부터 구할 수 있다.In the same way, three-fold downsampling can be obtained with three window functions for eight samples of three adjacent blocks. In this case, the first window function has 1 left 8 sample is 1, the remaining 16 samples are 0, the second window function has 1 middle 8 sample is 1, the remaining 16 samples is 0, the third window function is right 8 sample is 1 and the remaining 16 samples is 0. . The DCT coefficients of these window functions can be obtained from Equation 1.

이러한 방법을 확장하면 1/M의 다운샘플링을 구현할 수 있다. 즉, 인접한 M 블록의 8 샘플에 대해서 M개의 윈도우 함수를 가지고 동일한 절차를 거쳐서 다운샘플링을 할 수 있다.By extending this approach, you can achieve 1 / M downsampling. That is, downsampling can be performed with the M window functions for 8 samples of adjacent M blocks through the same procedure.

이를 설명하면 다음과 같다. 먼저, 8 샘플로 이루어진 DCT 블록의 각 샘플 뒤에 0으로 된 샘플을 M-1개 삽입하여 8xM 샘플을 만든다. 그리고, 인접하는 M개의 DCT 블록의 8xM 샘플들을 각각 M개의 윈도우 함수의 DCT 계수와 대칭 컨볼류션을 한다. 이 M개의 대칭 컨볼루션의 결과값의 상위 8샘플을 각각 더하여 1개의 8샘플 DCT을 만들면 1/M의 다운샘플링이 완료된다. 이때, M개의 윈도우 함수는 그 크기가 8xM 샘플이며, n번째 윈도우 함수가 n번째의 8샘플이 1이고 나머지 샘플은 모두 0인 함수이다.This is described as follows. First, 8xM samples are made by inserting M-1 zero samples after each sample of the 8-sample DCT block. The 8xM samples of the adjacent M DCT blocks are symmetrically convolved with the DCT coefficients of the M window functions, respectively. When the upper eight samples of the M symmetric convolutions are added together to form one eight-sample DCT, 1 / M downsampling is completed. In this case, the M window functions are 8xM samples in size, and the nth window function is a function in which the nth 8th sample is 1 and the remaining samples are all 0.

M개의 대칭 컨볼루션의 결과값의 상위 8샘플을 각각 더하여 1개의 8샘플 DCT을 만드는 방법으로는, M개의 대칭 컨볼루션의 결과값을 각 샘플끼리 더해서 1개의 8xM 샘플을 만들고, 여기에서 상위 8샘플을 취하여 1개의 8샘플 DCT 블록을 만들면 된다. 또는, M개의 대칭 컨볼루션의 결과값에서 상위 8샘플을 취한 다음에 각 샘플끼리 더해서 1개의 8샘플 DCT 블록을 만들어도 된다.To create one 8-sample DCT by adding each of the top 8 samples of the M symmetric convolutions, add the results of the M symmetric convolutions to each sample to create one 8xM sample, where the top 8 You can take a sample and make one 8-sample DCT block. Alternatively, the upper 8 samples may be taken from the result values of the M symmetric convolutions, and each sample may be added to form one 8-sample DCT block.

다음으로 도 3을 참조하여 본 발명의 2폴드 업샘플링의 개념에 대해서 설명한다. 도 3에서 좌측은 공간 영역에서의 디지털 영상 신호의 예이고, 우측은 같은 신호를 DCT 한 후의 계수이다.Next, the concept of two-fold upsampling of the present invention will be described with reference to FIG. In FIG. 3, the left side is an example of a digital video signal in a spatial domain, and the right side is a coefficient after DCT of the same signal.

(a)에서x(n)8은 한 블록의 8 샘플의 신호이고X(k)8x(n)8의 DCT 계수이다. (b)에서의 신호Y(k)16X(k)8의 고주파수 쪽에 0을 8개 삽입했을 때의 신호이고,y(n)16은 이때 공간영역에서 나타나는 신호이다. 공간영역에서의 신호는 업샘플링된 16샘플 신호임을 알 수 있다. (c)는 (b)의 신호에서 원하는 부분을 잘라내기 위한 윈도우 함수(window function)w 1(n)16,w 2(n)16및 그에 대응되는 DCT 계수W 1(k)16,W 2(k)16를 보여주고 있다.In (a) x ( n ) 8 is the signal of 8 samples of one block and X ( k ) 8 is the DCT coefficient of x ( n ) 8 . The signal Y ( k ) 16 in (b) is a signal when 8 zeros are inserted into the high frequency side of X ( k ) 8 , and y ( n ) 16 is a signal appearing in the spatial domain at this time. It can be seen that the signal in the spatial domain is an upsampled 16-sample signal. (c) is a window function w 1 ( n ) 16 , w 2 ( n ) 16 and corresponding DCT coefficients W 1 ( k ) 16 , W 2 for cutting out the desired portion of the signal of (b). ( k ) shows 16 .

공간영역에서 (b)의 신호에 윈도우 함수를 곱하면 (d)와 같은 신호가 나타나며, 이는 DCT 영역에서는 (b)의 DCT 계수와 윈도우 함수의 DCT 계수를 대칭 컨볼루션을 취한 것에 대응된다. 여기에서, 업샘플링에서 사용되는 윈도우 함수는 다운샘플링에서 사용되는 것과 동일하다는 것을 알 수 있다. (d)에서의 첫번째 8샘플을 취하고의 마지막 8샘플을 취하면 (e)에서와 같이x(n)8을 2폴드 업샘플링한 신호y 1(n)8,y 2(n)8을 구할 수 있다. 이는 DCT 영역에서는 (d)의 신호에서 짝수 샘플을 취하는 것과 동일하다.When the signal of (b) is multiplied by the window function in the spatial domain, a signal such as (d) appears, which corresponds to the symmetric convolution of the DCT coefficient of (b) and the DCT coefficient of the window function in the DCT domain. Here, it can be seen that the window function used in upsampling is the same as that used in downsampling. in (d) Taking the first eight samples of Taking the last 8 samples of, we can obtain the signals y 1 ( n ) 8 and y 2 ( n ) 8 obtained by double-folding up x ( n ) 8 as shown in (e). This is equivalent to taking even samples in the signal of (d) in the DCT region.

이상의 절차를 구현하기 위한 장치의 블록도가 도 4에 도시되어 있다.A block diagram of an apparatus for implementing the above procedure is shown in FIG.

하나의 블록에서의 8샘플 신호 X는 0 패딩기(21)에서 고주파수 영역 8샘플에 0이 삽입되어 16샘플의 신호가 출력된다. 이 신호는 대칭 컨볼루션 연산기(23, 24)에 의해 각각 윈도우 함수 W1및 W2와 대칭 컨볼루션 연산이 이루어진다. 짝수 샘플 추출기(25,26)는 대칭 컨볼루션 연산기(23,24)로부터의 출력에서 짝수 샘플만을 추출해내어 두개의 8샘플 신호 Y1, Y2를 출력함으로써 2폴드 업샘플링이 완료된다.In the eight-sample signal X in one block, zero is inserted into eight samples of the high frequency region by the zero padding unit 21 so that a signal of 16 samples is output. This signal is subjected to symmetric convolution operations with the window functions W 1 and W 2 by the symmetric convolution operators 23 and 24, respectively. The even sample extractors 25 and 26 extract only the even samples from the outputs from the symmetric convolution operators 23 and 24 and output two eight-sample signals Y 1 and Y 2 to complete two-fold upsampling.

업샘플링 절차를 행렬 형태로 표현하면 수학식 19 및 수학식 20과 같다.When the upsampling procedure is expressed in the form of a matrix, Equations 19 and 20 are used.

여기에서,,는 각각 업샘플링된 8샘플의 결과치이고, 다른 행렬들은 다운샘플링의 경우와 동일하다.From here, , Are the results of each upsampled eight samples, and the other matrices are the same as for downsampling.

같은 방법으로, 3폴드 업샘플링은 3폴드 다운샘플링에서와 같이 한 블록의 8샘플에 대해 3개의 각기 다른 윈도우 함수를 가지고 구할 수 있다.In the same way, three-fold upsampling can be obtained with three different window functions for eight samples of a block, as in three-fold downsampling.

이를 일반화하여 설명하면 다음과 같다. 먼저, 8 샘플로 이루어진 DCT 블록의 8 샘플 뒤에 0으로 된 샘플을 (L-1)x8개 삽입하여 8xL 샘플을 만든다. 그리고 이 8xL 샘플을 L개의 윈도우 함수의 DCT 계수와 대칭 컨볼루션을 한다. 그러면 8xL 샘플의 대칭 컨볼루션 결과값이 L개 생성된다. 이들 각각에서 매 L번째 샘플을 취하여 L개의 8 샘플 DCT 블록을 만들면 L폴드 업샘플링이 이루어진다. 이때, L개의 윈도우 함수는 그 크기가 8xL 샘플이며, n번째 윈도우 함수가 n번째의 8샘플이 1이고 나머지 샘플은 모두 0인 함수이다.The generalized description is as follows. First, an 8xL sample is made by inserting (L-1) x8 zero samples after 8 samples of a DCT block of 8 samples. The 8xL sample is then symmetrically convolved with the DCT coefficients of the L window functions. This produces L symmetric convolution results of 8xL samples. L-fold upsampling is achieved by taking every L-th sample from each of them to make L 8-sample DCT blocks. In this case, the L window functions are 8xL samples, and the nth window function is a function in which the nth 8th sample is 1 and the remaining samples are all 0.

DCT 도메인에서 컨볼루션을 수행할 때 윈도우 함수와 영상의 DCT 계수에는 0이 포함되어 있고, DCT에서의 컨볼루션이 대칭 컨볼루션이므로 이를 간단히 행렬 형태로 표현할 수 있고, 윈도우 함수도 화질이 허용되는 범위 내에서 더욱 간략화시킬 수 있다.When performing the convolution in the DCT domain, the DCT coefficients of the window function and the image contain 0, and since the convolution in the DCT is symmetric convolution, it can be expressed simply in matrix form, and the window function is also in the range that image quality is allowed. It can be further simplified within.

예를 들어, 다운샘플링의 윈도우 함수를 몇몇의 계수를 0으로 대치시켜서 사용하는 경우에는 수학식 21과 같은 행렬을 얻을 수 있다.For example, when using the window function of downsampling by replacing some coefficients with 0, a matrix such as Equation 21 can be obtained.

수학식 21과 같은 간략한 행렬을 사용하는 경우에는 수학식 11과 12의 행렬을 사용하는 경우에 비해서 약 60%로 계산량을 줄일 수 있다.When a simple matrix such as Equation 21 is used, the amount of calculation can be reduced to about 60% compared to the case of using the Equations 11 and 12.

다음으로, 임의의 비율의 영상크기변환을 구현하는 방법에 대해서 설명한다.Next, a description will be given of a method for implementing image ratio conversion of any ratio.

가령, L/M 배의 영상크기 변환을 하고자 하는 경우에는 위에 설명한 방법을 사용하여 L배의 업샘플링을 한 후에 M배의 다운샘플링을 함으로써 원하는 비율의 영상크기 변환을 구현하게 된다. 이러한 예가 도 5a에 도시되어 있다. 이때 수학식16과, 수학식 19, 20을 임의의 크기의 업샘플링/다운샘플링의 식 형태로 쉽게 변형할 수 있고, 그에 따른 윈도우 함수도 본 발명에서 제시한 방법으로 쉽게 구할 수 있다.For example, in the case of converting the image size of L / M times, the image size conversion of the desired ratio is realized by performing M times downsampling after performing L times upsampling using the method described above. An example of this is shown in FIG. 5A. In this case, Equations 16, 19, and 20 may be easily transformed into a form of upsampling / downsampling of an arbitrary size, and a window function according to the present invention may also be easily obtained.

도 5b는 3/2배, 즉 1.5배의 영상크기변환을 하는 경우를 보여주고 있다. 도 5b에서 8샘플 신호는 먼저 세개의 8샘플 신호로 업샘플링되고, 다시 2개의 8샘플 신호가 하나의 8샘플 신호로 다운샘플링됨으로써 3/2배의 영상크기변환을 달성하고 있다.5b shows a case of converting an image size of 3/2 times, that is, 1.5 times. In FIG. 5B, an eight-sample signal is first upsampled into three eight-sample signals, and two eight-sample signals are downsampled into one eight-sample signal to achieve a 3 / 2-fold image size conversion.

이를 일반화하여 설명하면 다음과 같다. 먼저, 8 샘플로 이루어진 DCT 블록의 8 샘플 뒤에 0으로된 샘플을 (L-1)x8개 삽입하여 8xL 샘플을 만든다. 그리고, 이 8xL 샘플을 L개의 윈도우 함수의 DCT 계수와 대칭 컨볼루션한다. 그러면 8xL 샘플의 대칭 컨볼루션 결과값이 L개 생성된다. 이들 각각에서 매 L번째 샘플을 취하여 L개의 8 샘플 DCT 블록을 만들어서 L배의 업샘플링을 달성한다. 그리고, 업샘플링된 후의 8샘플 DCT 블록의 각 샘플 뒤에 0으로 된 샘플을 M-1개 삽입하여 8xM 샘플을 만든다. 그리고, 인접하는 M개의 DCT 블록의 8xM 샘플들을 각각 M개의 윈도우 함수의 DCT 계수와 대칭 컨볼류션을 한다. 그러면, M개의 대칭 컨볼루션의 결과값이 생성된다. 이 결과값의 상위 8샘플을 각각 더하여 1개의 8샘플 DCT을 생성함으로써 L/M배의 크기 변환이 완료된다.The generalized description is as follows. First, an 8xL sample is made by inserting (L-1) x8 zero samples after 8 samples of a DCT block of 8 samples. The 8xL samples are then symmetrically convolved with the DCT coefficients of the L window functions. This produces L symmetric convolution results of 8xL samples. Each Lth sample is taken from each of them to make L 8 sample DCT blocks to achieve L times upsampling. Then, after each sample of the upsampled 8-sample DCT block, M-1 zero-inserted samples are inserted to make 8xM samples. The 8xM samples of the adjacent M DCT blocks are symmetrically convolved with the DCT coefficients of the M window functions, respectively. The result of M symmetric convolutions is then generated. L / M times size conversion is completed by generating one 8-sample DCT by adding each of the upper 8 samples of the result.

이때, L개의 윈도우 함수는 그 크기가 8xL 샘플이며, n번째 윈도우 함수가 n번째의 8샘플이 1이고 나머지 샘플은 모두 0인 함수이다. 또한, M개의 윈도우 함수는 그 크기가 8xM 샘플이며, m번째 윈도우 함수가 m번째의 8샘플이 1이고 나머지샘플은 모두 0인 함수이다.In this case, the L window functions are 8xL samples, and the nth window function is a function in which the nth 8th sample is 1 and the remaining samples are all 0. In addition, the M window functions are 8xM samples in size, and the mth window function is a function in which the mth 8th sample is 1 and the remaining samples are all 0.

이상 설명한 것처럼, 본 발명에 따르면 크기 변환된 DCT 블록의 크기가 일반적인 압축 표준에서 사용하는 8x8이므로 역DCT 변환을 할 필요가 없다고 하는 효과가 있다.As described above, according to the present invention, since the size of the size-converted DCT block is 8x8 used in a general compression standard, there is an effect that there is no need for inverse DCT transformation.

또한, L배의 업샘플링을 한 후에 M배의 다운샘플링을 함으로써 L/M배와 같이 임의의 크기로 변환할 수 있다고 하는 효과가 있다.In addition, by performing L-sampling upsampling and M-folding downsampling, there is an effect that it can be converted to an arbitrary size such as L / M times.

또한, 윈도우 함수의 간략화함으로써 계산량을 현저히 줄일 수 있다고 하는 효과가 있다.In addition, there is an effect that the amount of calculation can be significantly reduced by simplifying the window function.

Claims (11)

8 샘플로 이루어진 DCT 블록의 각 샘플 뒤에 0으로 된 샘플을 M-1개 삽입하여 8xM 샘플을 만드는 제1단계와,A first step of creating an 8xM sample by inserting M-1 zero samples after each sample of an 8-sample DCT block, 인접하는 M개의 DCT 블록의 8xM 샘플들을 각각 M개의 윈도우 함수의 DCT 계수와 대칭 컨볼류션을 하는 제2단계와,Performing a symmetric convolution of 8xM samples of adjacent M DCT blocks with DCT coefficients of M window functions, respectively; M개의 상기 대칭 컨볼루션의 결과값의 상위 8샘플을 각각 더하여 1개의 8샘플 DCT을 만드는 제3단계를 구비하며,A third step of adding one of the eight upper samples of the M symmetric convolution results to create one eight-sample DCT, 상기 M개의 윈도우 함수는 그 크기가 8xM 샘플이며, n번째 윈도우 함수가 n번째의 8샘플이 1이고 나머지 샘플은 모두 0인 함수인 것을 특징으로 하는 영상 크기 변환 방법.The M window functions are 8xM samples in size, and the nth window function is a function in which the nth 8th sample is 1 and the remaining samples are all 0. 제1항에 있어서, 상기 제3단계는The method of claim 1, wherein the third step M개의 상기 대칭 컨볼루션의 결과값을 각 샘플끼리 더해서 1개의 8xM 샘플을 만드는 단계와Adding the results of the M symmetric convolutions to each sample to produce one 8xM sample; and 상기 1개의 8xM 샘플에서 상위 8샘플을 취하여 1개의 8샘플 DCT 블록을 만드는 단계를 포함하는 것을 특징으로 하는 영상 크기 변환 방법.And taking one upper eight sample from the one 8xM sample to create one eight-sample DCT block. 제1항에 있어서, 상기 제3단계는The method of claim 1, wherein the third step M개의 상기 대칭 컨볼루션의 결과값에서 상위 8샘플을 취하는 단계와,Taking a top eight samples from the results of the M symmetric convolutions, 상기 M개의 8샘플을 각 샘플끼리 더해서 1개의 8샘플 DCT 블록을 만드는 단계를 포함하는 것을 특징으로 하는 영상 크기 변환 방법.And adding eight M samples to each sample to create one eight-sample DCT block. 8 샘플로 이루어진 DCT 블록의 8 샘플 뒤에 0으로된 샘플을 (L-1)x8개 삽입하여 8xL 샘플을 만드는 단계와,Creating 8xL samples by inserting (L-1) x8 zero-samples after 8 samples of a DCT block of 8 samples, 8xL 샘플을 L개의 윈도우 함수의 DCT 계수와 대칭 컨볼루션을 하는 단계와,Symmetric convolution of the 8xL samples with the DCT coefficients of the L window functions, L개의 상기 대칭 컨볼루션의 8xL 샘플 결과값에서 매 L번째 샘플을 취하여 L개의 8 샘플 DCT 블록을 만드는 단계를 구비하며,Taking every Lth sample from the 8xL sample results of the L symmetric convolutions to produce L 8 sample DCT blocks, 상기 L개의 윈도우 함수는 그 크기가 8xL 샘플이며, n번째 윈도우 함수가 n번째의 8샘플이 1이고 나머지 샘플은 모두 0인 함수인 것을 특징으로 하는 영상 크기 변환 방법.The L window functions are 8 × L samples, and the n th window function is a function in which the n th 8 sample is 1 and the remaining samples are all 0. 8 샘플로 이루어진 DCT 블록의 8 샘플 뒤에 0으로된 샘플을 (L-1)x8개 삽입하여 8xL 샘플을 만드는 제1단계와,The first step of inserting (L-1) x8 zero samples after 8 samples of a DCT block of 8 samples to make 8xL samples, 8xL 샘플을 L개의 윈도우 함수의 DCT 계수와 대칭 컨볼루션을 하는 제2단계와,Performing a symmetric convolution of the 8xL samples with the DCT coefficients of the L window functions, L개의 상기 대칭 컨볼루션의 8xL 샘플 결과값에서 매 L번째 샘플을 취하여 L개의 8 샘플 DCT 블록을 만드는 제3단계와,A third step of taking every Lth sample from the 8xL sample results of the L symmetric convolutions to produce L 8 sample DCT blocks, 제3단계의 상기 8샘플 DCT 블록의 각 샘플 뒤에 0으로 된 샘플을 M-1개 삽입하여 8xM 샘플을 만드는 제4단계와,A fourth step of making 8xM samples by inserting M-1 zero samples after each sample of the eight-sample DCT block of the third step; 인접하는 M개의 DCT 블록의 8xM 샘플들을 각각 M개의 윈도우 함수의 DCT 계수와 대칭 컨볼류션을 하는 제5단계와,A fifth step of symmetrically convolving 8xM samples of adjacent M DCT blocks with DCT coefficients of M window functions, M개의 상기 대칭 컨볼루션의 결과값의 상위 8샘플을 각각 더하여 1개의 8샘플 DCT을 만드는 제6단계를 구비하며,A sixth step of adding one of the eight upper samples of the M symmetric convolution results to create one eight-sample DCT, 상기 L개의 윈도우 함수는 그 크기가 8xL 샘플이며, n번째 윈도우 함수가 n번째의 8샘플이 1이고 나머지 샘플은 모두 0인 함수이며,The L window functions are 8xL samples in size, the nth window function is a function in which the nth 8th sample is 1 and the remaining samples are all 0. 상기 M개의 윈도우 함수는 그 크기가 8xM 샘플이며, m번째 윈도우 함수가 m번째의 8샘플이 1이고 나머지 샘플은 모두 0인 함수인 것을 특징으로 하는 영상 크기 변환 방법.The M window functions are 8xM samples in size, and the m th window function is a function in which the m th eighth sample is 1 and the remaining samples are all zero. 제5항에 있어서, 상기 제6단계는The method of claim 5, wherein the sixth step M개의 상기 대칭 컨볼루션의 결과값을 각 샘플끼리 더해서 1개의 8xM 샘플을 만드는 단계와Adding the results of the M symmetric convolutions to each sample to produce one 8xM sample; and 상기 1개의 8xM 샘플에서 상위 8샘플을 취하여 1개의 8샘플 DCT 블록을 만드는 단계를 포함하는 것을 특징으로 하는 영상 크기 변환 방법.And taking one upper eight sample from the one 8xM sample to create one eight-sample DCT block. 제5항에 있어서, 상기 제6단계는The method of claim 5, wherein the sixth step M개의 상기 대칭 컨볼루션의 결과값에서 상위 8샘플을 취하는 단계와,Taking a top eight samples from the results of the M symmetric convolutions, 상기 M개의 8샘플을 각 샘플끼리 더해서 1개의 8샘플 DCT 블록을 만드는 단계를 포함하는 것을 특징으로 하는 영상 크기 변환 방법.And adding eight M samples to each sample to create one eight-sample DCT block. 두개의 8샘플 DCT 블록x 1=[X 1(0)8 X 1(1)8 X 1(2)8 X 1(3)8 X 1(4)8 X 1(5)8 X 1(6)8 X 1(7)8]Tx 2=[X 2(0)8 X 2(1)8 X 2(2)8 X 2(3)8 X 2(4)8 X 2(5)8 X 2(6)8 X 2(7)8]T로부터 하나의 8샘플 DCT 블록z=[Z(0)8 Z(1)8 Z(2)8 Z(3)8 Z(4)8 Z(5)8 Z(6)8 Z(7)8]T로 다운샘플링하여 영상의 크기를 변환하는 방법에 있어서,Two 8-sample DCT blocks x 1 = [ X 1 (0) 8 X 1 (1) 8 X 1 (2) 8 X 1 (3) 8 X 1 (4) 8 X 1 (5) 8 X 1 (6 ) 8 X 1 (7) 8 ] T and x 2 = [ X 2 (0) 8 X 2 (1) 8 X 2 (2) 8 X 2 (3) 8 X 2 (4) 8 X 2 (5) 8 X 2 (6) 8 X 2 (7) 8 ] One 8 sample DCT block from T z = [ Z (0) 8 Z (1) 8 Z (2) 8 Z (3) 8 Z (4) 8 Z (5) 8 Z (6) 8 Z (7) 8 ] In the method of downsampling to T to convert the size of an image, 상기z는 다음 행렬식 Z is the following determinant 에 의해 구해지며,Saved by 여기에서From here , , , , , , , , W 1(k)16= [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] W 1 ( k ) 16 = [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] 인 것을 특징으로 하는 영상 크기 변환 방법.Image size conversion method characterized in that. 두개의 8샘플 DCT 블록x 1=[X 1(0)8 X 1(1)8 X 1(2)8 X 1(3)8 X 1(4)8 X 1(5)8 X 1(6)8 X 1(7)8]Tx 2=[X 2(0)8 X 2(1)8 X 2(2)8 X 2(3)8 X 2(4)8 X 2(5)8 X 2(6)8 X 2(7)8]T로부터 하나의 8샘플 DCT 블록z=[Z(0)8 Z(1)8 Z(2)8 Z(3)8 Z(4)8 Z(5)8 Z(6)8 Z(7)8]T로 다운샘플링하여 영상의 크기를 변환하는 방법에 있어서,Two 8-sample DCT blocks x 1 = [ X 1 (0) 8 X 1 (1) 8 X 1 (2) 8 X 1 (3) 8 X 1 (4) 8 X 1 (5) 8 X 1 (6 ) 8 X 1 (7) 8 ] T and x 2 = [ X 2 (0) 8 X 2 (1) 8 X 2 (2) 8 X 2 (3) 8 X 2 (4) 8 X 2 (5) 8 X 2 (6) 8 X 2 (7) 8 ] One 8 sample DCT block from T z = [ Z (0) 8 Z (1) 8 Z (2) 8 Z (3) 8 Z (4) 8 Z (5) 8 Z (6) 8 Z (7) 8 ] In the method of downsampling to T to convert the size of an image, 상기z는 다음 행렬식 Z is the following determinant 에 의해 구해지며,Saved by 여기에서From here , , , , , , , , W 1(k)16= [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] W 1 ( k ) 16 = [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] 인 것을 특징으로 하는 영상 크기 변환 방법.Image size conversion method characterized in that. 하나의 8샘플 DCT 블록x=[X(0)8 X(1)8 X(2)8 X(3)8 X(4)8 X(5)8 X(6)8 X(7)8]T로부터 두개의 8샘플 DCT 블록y 1 =[Y 1(0)8 Y 1(1)8 Y 1(2)8 Y 1(3)8 Y 1(4)8 Y 1(5)8 Y 1(6)8 Y 1(7)8]Ty 2 =[Y 2(0)8 Y 2(1)8 Y 2(2)8 Y 2(3)8 Y 2(4)8 Y 2(5)8 Y 2(6)8 Y 2(7)8]T로 업샘플링하여 영상의 크기를 변환하는 방법에 있어서,One 8-sample DCT block x = [ X (0) 8 X (1) 8 X (2) 8 X (3) 8 X (4) 8 X (5) 8 X (6) 8 X (7) 8 ] Two 8-sample DCT blocks from T y 1 = [ Y 1 (0) 8 Y 1 (1) 8 Y 1 (2) 8 Y 1 (3) 8 Y 1 (4) 8 Y 1 (5) 8 Y 1 (6) 8 Y 1 (7) 8 ] T and y 2 = [ Y 2 (0) 8 Y 2 (1) 8 Y 2 (2) 8 Y 2 (3) 8 Y 2 (4) 8 Y 2 ( 5) 8 Y 2 (6) 8 Y 2 (7) 8 ] In the method of converting the size of an image by upsampling to T , 상기y 1 ,y 2 는 다음 행렬식 Y 1 and y 2 are the following determinants . . 에 의해 구해지며,Saved by 여기에서From here , , , , , , , , W 1(k)16= [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] W 1 ( k ) 16 = [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] 인 것을 특징으로 하는 영상 크기 변환 방법.Image size conversion method characterized in that. 하나의 8샘플 DCT 블록x=[X(0)8 X(1)8 X(2)8 X(3)8 X(4)8 X(5)8 X(6)8 X(7)8]T로부터 두개의 8샘플 DCT 블록y 1 =[Y 1(0)8 Y 1(1)8 Y 1(2)8 Y 1(3)8 Y 1(4)8 Y 1(5)8 Y 1(6)8 Y 1(7)8]Ty 2 =[Y 2(0)8 Y 2(1)8 Y 2(2)8 Y 2(3)8 Y 2(4)8 Y 2(5)8 Y 2(6)8 Y 2(7)8]T로 업샘플링하여 영상의 크기를 변환하는 방법에 있어서,One 8-sample DCT block x = [ X (0) 8 X (1) 8 X (2) 8 X (3) 8 X (4) 8 X (5) 8 X (6) 8 X (7) 8 ] Two 8-sample DCT blocks from T y 1 = [ Y 1 (0) 8 Y 1 (1) 8 Y 1 (2) 8 Y 1 (3) 8 Y 1 (4) 8 Y 1 (5) 8 Y 1 (6) 8 Y 1 (7) 8 ] T and y 2 = [ Y 2 (0) 8 Y 2 (1) 8 Y 2 (2) 8 Y 2 (3) 8 Y 2 (4) 8 Y 2 ( 5) 8 Y 2 (6) 8 Y 2 (7) 8 ] In the method of converting the size of an image by upsampling to T , 상기y 1 ,y 2 는 다음 행렬식 Y 1 and y 2 are the following determinants . . 에 의해 구해지며,Saved by 여기에서From here , , , , , , , , W 1(k)16= [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] W 1 ( k ) 16 = [16.0000, 10.2023, 0, -3.4449, 0, 2.1214, 0, -1.5763, 0, 1.2936, 0, -1.1339, 0, 1.0450, 0, -1.0048] 인 것을 특징으로 하는 영상 크기 변환 방법.Image size conversion method characterized in that.
KR1020010083146A 2001-12-22 2001-12-22 Method for resizing images in block-DCT domain KR20030053108A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020010083146A KR20030053108A (en) 2001-12-22 2001-12-22 Method for resizing images in block-DCT domain
PCT/KR2002/002083 WO2003056837A1 (en) 2001-12-22 2002-11-08 Method for resizing images in block dct domain
AU2002354281A AU2002354281A1 (en) 2001-12-22 2002-11-08 Method for resizing images in block dct domain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020010083146A KR20030053108A (en) 2001-12-22 2001-12-22 Method for resizing images in block-DCT domain

Publications (1)

Publication Number Publication Date
KR20030053108A true KR20030053108A (en) 2003-06-28

Family

ID=19717434

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020010083146A KR20030053108A (en) 2001-12-22 2001-12-22 Method for resizing images in block-DCT domain

Country Status (3)

Country Link
KR (1) KR20030053108A (en)
AU (1) AU2002354281A1 (en)
WO (1) WO2003056837A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100948413B1 (en) * 2008-03-05 2010-03-19 경희대학교 산학협력단 Method and apparatus for up/down sampling of image block in the integer DCT domain
WO2010085125A2 (en) * 2009-01-22 2010-07-29 삼성전자 주식회사 Method and device for transformation of image and method and device for reverse transformation of image

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100809686B1 (en) * 2006-02-23 2008-03-06 삼성전자주식회사 Method and apparatus for resizing images using discrete cosine transform
CA2687340C (en) * 2007-06-04 2017-11-28 Research In Motion Limited Method and device for selecting optimal transform matrices for down-sampling dct image
CA2688041C (en) 2007-06-04 2013-07-30 Research In Motion Limited Method and device for selecting transform matrices for down-sampling dct image using learning with forgetting algorithm
US8094956B2 (en) 2007-06-04 2012-01-10 Research In Motion Limited Method and device for down-sampling a DCT image in the DCT domain
US8233727B2 (en) 2007-10-19 2012-07-31 Research In Motion Limited Arbitrary ratio image resizing in the DCT domain
CN105263027B (en) * 2015-09-17 2019-01-29 东南大学 The Downsapling method and top sampling method and method for transmission processing of a kind of video frame

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995015538A1 (en) * 1993-11-30 1995-06-08 Polaroid Corporation Coding methods and apparatus for scaling and filtering images using discrete cosine transforms
WO1997014252A1 (en) * 1995-10-12 1997-04-17 Sarnoff Corporation Method and apparatus for resizing images using the discrete cosine transform
JPH09322165A (en) * 1996-05-31 1997-12-12 Sony Corp Image decoding device and method, and image reproducing device
US6222944B1 (en) * 1998-05-07 2001-04-24 Sarnoff Corporation Down-sampling MPEG image decoder

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995015538A1 (en) * 1993-11-30 1995-06-08 Polaroid Corporation Coding methods and apparatus for scaling and filtering images using discrete cosine transforms
WO1997014252A1 (en) * 1995-10-12 1997-04-17 Sarnoff Corporation Method and apparatus for resizing images using the discrete cosine transform
JPH09322165A (en) * 1996-05-31 1997-12-12 Sony Corp Image decoding device and method, and image reproducing device
US6222944B1 (en) * 1998-05-07 2001-04-24 Sarnoff Corporation Down-sampling MPEG image decoder

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100948413B1 (en) * 2008-03-05 2010-03-19 경희대학교 산학협력단 Method and apparatus for up/down sampling of image block in the integer DCT domain
WO2010085125A2 (en) * 2009-01-22 2010-07-29 삼성전자 주식회사 Method and device for transformation of image and method and device for reverse transformation of image
WO2010085125A3 (en) * 2009-01-22 2010-11-04 삼성전자 주식회사 Method and device for transformation of image and method and device for reverse transformation of image
US8483501B2 (en) 2009-01-22 2013-07-09 Samsung Electronics Co., Ltd. Method and device for transformation of image and method and device for reverse transformation of image
KR101480412B1 (en) * 2009-01-22 2015-01-09 삼성전자주식회사 Method and apparatus for transforming image, and method and apparatus for inverse-transforming image

Also Published As

Publication number Publication date
AU2002354281A1 (en) 2003-07-15
WO2003056837A1 (en) 2003-07-10

Similar Documents

Publication Publication Date Title
KR100349416B1 (en) Method and apparatus for resizing images using the discrete cosine transform
JP4040041B2 (en) Method and apparatus for converting resolution of video signal
Dugad et al. A fast scheme for image size change in the compressed domain
US5717789A (en) Image enhancement by non-linear extrapolation in frequency space
Park et al. L/M-fold image resizing in block-DCT domain using symmetric convolution
DE69632622T2 (en) Universal MPEG decoder with scalable image size
US5422827A (en) Integrated video scaling and sharpening filter
JP2002500455A (en) High-speed IDCT / downsampling combined operation method and apparatus
Park et al. Design and analysis of an image resizing filter in the block-DCT domain
KR20030053108A (en) Method for resizing images in block-DCT domain
US6628827B1 (en) Method of upscaling a color image
US6934420B1 (en) Wave image compression
US5483474A (en) D-dimensional, fractional bandwidth signal processing apparatus
US6128539A (en) Method and apparatus for forming image scaling filters
JP2000165664A (en) Resolution converter for image and resolution conversing method for image
US8081847B2 (en) Method for up-scaling an input image and an up-scaling system
KR100247963B1 (en) Image format convertel
Mehta et al. А Primer To Video Transcoding: Image Transcoding
Dugad et al. A fast scheme for downsampling and upsampling in the DCT domain
Eslami et al. Design of regular wavelets using a three-step lifting scheme
JP2743037B2 (en) Encoding method and encoding device
Shu et al. A resizing algorithm with two-stage realization for DCT-based transcoding
Tan et al. Fast arbitrary resizing of images in the discrete cosine transform domain
Pau et al. Modified M-band synthesis filter bank for fractional scalability of images
de Queiroz et al. Fast downscaled inverses for images compressed with M-channel lapped transforms

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
NORF Unpaid initial registration fee