KR20030060534A - Image File Transfer System and Method for the Same - Google Patents

Image File Transfer System and Method for the Same Download PDF

Info

Publication number
KR20030060534A
KR20030060534A KR1020020001274A KR20020001274A KR20030060534A KR 20030060534 A KR20030060534 A KR 20030060534A KR 1020020001274 A KR1020020001274 A KR 1020020001274A KR 20020001274 A KR20020001274 A KR 20020001274A KR 20030060534 A KR20030060534 A KR 20030060534A
Authority
KR
South Korea
Prior art keywords
image
file
buffer
jpeg
inverse
Prior art date
Application number
KR1020020001274A
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 KR1020020001274A priority Critical patent/KR20030060534A/en
Publication of KR20030060534A publication Critical patent/KR20030060534A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • H04N21/2353Processing of additional data, e.g. scrambling of additional data or processing content descriptors specifically adapted to content descriptors, e.g. coding, compressing or processing of metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • H04N19/45Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder performing compensation of the inverse transform mismatch, e.g. Inverse Discrete Cosine Transform [IDCT] mismatch

Abstract

PURPOSE: A system and method for transmitting an image file are provided to omit an unnecessary calculation process when the same images are converted into the same JPEG files to increase an image transmission rate. CONSTITUTION: An image file transmission system includes the first and second buffers(B11,B12) and an image converter(10). The first buffer receives an image file through a signal transmission path. The image converter converts the image file inputted through the first buffer into an image file of the same image at a high rate. The second buffer outputs the converted image through the signal transmission path. The image converter converts a JPEG file among image files of the first buffer into a JPEG file having a quantization table different from a quantization table of the image files of the first buffer at a high rate and outputs the converted JPEG file to the second buffer.

Description

이미지 파일 전송시스템 및 그 전송방법{Image File Transfer System and Method for the Same}Image File Transfer System and Method for the Same

본 발명은 이미지 파일 전송시스템 및 그 전송방법에 관한 것으로서, 특히 신호 전송로를 통해 전송되는 복수개의 이미지 파일을 고속으로 압축/변환함으로서 신호 전송로의 이미지 파일 전송으로 인한 부하를 줄일 수 있는 이미지 파일 전송시스템 및 그 전송방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image file transmission system and a method of transmitting the same, and in particular, an image file capable of reducing the load due to image file transmission in a signal transmission path by compressing / converting a plurality of image files transmitted through a signal transmission path at high speed. The present invention relates to a transmission system and a transmission method thereof.

최근 들어 클라이언트-서버 시스템을 통해 데이터를 송수신하며 원하는 정보를 획득하는 경우가 증가함에 따라 상기 클라이언트-서버 시스템의 신호 전송로를 통해 수많은 신호가 송수신된다. 특히, 멀티미디어 정보의 사용이 증가하면서 상기 신호 전송로를 통해서는 단순히 텍스트로 이루어지는 데이터뿐만 아니라 이미지로 구성되는 그래픽 데이터도 활발히 송수신된다.In recent years, as the number of times of transmitting and receiving data through a client-server system and obtaining desired information increases, numerous signals are transmitted and received through a signal transmission path of the client-server system. In particular, as the use of multimedia information increases, not only data consisting of text but also graphic data consisting of images are actively transmitted and received through the signal transmission path.

도 1은 상기와 같은 클라이언트(C)와 서버(S) 시스템 사이에 연결되어 상기 여러 종류의 송수신 데이터 중 이미지 파일 데이터만을 송수신하는 이미지 파일 전송시스템(1)이 도시된 도이다.FIG. 1 is a diagram illustrating an image file transmission system 1 connected between a client C and a server S system and transmitting and receiving only image file data among the various types of transmission / reception data.

도시된 바와 같이, 상기 이미지 파일 전송시스템(1)은 상기 서버(S)에서 상기 클라이언트(C)로 전송하는 복수개의 데이터 중 이미지 파일이 입력되는 제1 버퍼(B1)와, 상기 제1 버퍼(B1)를 통해 입력된 이미지 파일 중 JPEG 파일의 역변환과정과 변환과정을 수행하는 이미지 변환부(2)와, 상기 이미지 변환부(2)를 통해 연산이 수행되는 중 발생하는 데이터가 저장되는 메모리(3)와, 상기 이미지 변환부(2)를 통해 변환이 종료된 이미지를 상기 신호 전송로로 출력하는 제2 버퍼(B2)로 구성된다.As illustrated, the image file transmission system 1 may include a first buffer B1 to which an image file is input among a plurality of data transmitted from the server S to the client C, and the first buffer ( An image converter 2 performing an inverse conversion process and a conversion process of the JPEG file among the image files inputted through B1), and a memory in which data generated while arithmetic operation is performed through the image converter 2 is stored; 3) and a second buffer B2 for outputting the converted image through the image conversion unit 2 to the signal transmission path.

도 2는 상기 도 1에 도시된 이미지 변환부(2)에서 JPEG 이미지를 변환하는 과정이 도시된 도이다.FIG. 2 is a diagram illustrating a process of converting a JPEG image by the image converter 2 shown in FIG. 1.

도시된 바와 같이, 먼저 제1 단계에서 JPEG 파일이 입력(S1)되면, 제2 단계에서 상기 입력된 JPEG 파일이 허프만 디코딩(S2)되며, 제3,4,5 단계에서 상기 디코딩된 JPEG 파일이 역양자화(S3), IDCT(Inverse Discrete Cosine Transform;S4), 역컬러변환(S5)된다. 여기서 역컬러변환이란 휘도(Y)와, 청색(Cb), 적색(Cr)로 표현된 이미지를 RGB 규격에 적합하도록 변환하는 것을 의미한다. 그 후 제6 단계에서 상기 이미지 변환부(2)는 상기 제5 단계의 이미지 파일의 에디팅 등을 수행함으로써 이미지의 사이즈를 압축(S6)하고, 제7,8,9 단계에서 컬러변환(S7), DCT(S8), 양자화(S9)를 수행하며, 제10 단계에서 허프만 코딩(S10)을 수행함에 따라 제11 단계에서 변환이 완료된 JPEG 파일을 출력(S11)한다.As shown, first, when a JPEG file is input (S1) in a first step, the input JPEG file is Huffman decoded (S2) in a second step, and the decoded JPEG file is displayed in steps 3, 4, and 5. Inverse quantization (S3), Inverse Discrete Cosine Transform (ID4), and Inverse Color Transformation (S5). Inverse color conversion herein means converting an image represented by luminance (Y), blue (Cb), and red (Cr) to conform to the RGB standard. Thereafter, in the sixth step, the image conversion unit 2 compresses the size of the image by performing the editing of the image file of the fifth step (S6), and performs color conversion (S7) in the seventh, eighth, and nineth steps. DCT (S8) and quantization (S9) are performed, and as Huffman coding (S10) is performed in step 10, the transformed JPEG file is output in step 11 (S11).

즉, 파일을 변환하기 위하여 '허프만 디코딩->IDCT->YCbCr을 RGB로 변환'한 후 'RGB를 YCbCr로 변환->DCT->허프만 인코딩'하여 이미지 파일을 저장하여야 한다. 따라서, IDCT와 DCT 수행에 많은 계산시간이 소요될 뿐만 아니라, 변환 과정 중 발생하는 데이터 손실로 인하여 이미지의 화질이 떨어진다는 문제점이 발생한다. 또한, 종래 이미지 파일 전송시스템 및 그 전송방법에 따르면, 이미지 변환 과정에서 발생하는 데이터를 저장하는 메모리부가 필수적이다.That is, in order to convert the file, the image file must be saved by 'Huffman decoding-> IDCT-> YCbCr to RGB' and then 'RGB to YCbCr-> DCT-> Huffman encoding'. Therefore, not only a lot of computation time is required to perform IDCT and DCT, but also a problem occurs that image quality is degraded due to data loss occurring during the conversion process. In addition, according to the conventional image file transmission system and its transmission method, a memory unit for storing data generated during the image conversion process is essential.

본 발명은 상기한 종래 기술의 문제점을 해결하기 위하여 안출된 것으로서, 그 목적은 신호 전송로를 통해 이미지를 전송하는 과정에서 동일한 이미지를 동일한 JPEG 파일로 변환하는 경우 불필요한 계산 과정을 생략시킴에 따라 이미지 전송속도가 빨리지는 동시에 이미지 변환을 최적화시키는 이미지 파일 전송시스템 및그 전송방법을 제공하는데 있다.The present invention has been made to solve the above problems of the prior art, the object of which is to eliminate the unnecessary calculation process when converting the same image to the same JPEG file in the process of transmitting the image through the signal transmission path image It is an object of the present invention to provide an image file transmission system and a method of transmitting the same, which optimizes image conversion at the same time.

도 1은 종래 이미지 파일 전송시스템이 도시된 도,1 is a view showing a conventional image file transmission system,

도 2는 종래 이미지 파일 변환과정이 도시된 도,2 is a diagram illustrating a conventional image file conversion process;

도 3은 본 발명에 따른 이미지 파일 전송시스템이 도시된 도,3 is a view showing an image file transmission system according to the present invention;

도 4는 본 발명에 따른 이미지 파일 전송과정이 도시된 도이다.4 is a diagram illustrating an image file transmission process according to the present invention.

<도면의 주요 부분에 관한 부호의 설명><Explanation of symbols on main parts of the drawings>

B11, B12 : 제1,2 버퍼10 : 이미지 변환수단B11, B12: 1st, 2nd buffer 10: Image conversion means

11 : 코덱부12 : 연산부11 codec section 12 calculation section

상기한 과제를 해결하기 위한 본 발명에 의한 이미지 파일 전송시스템의 특징에 따르면, 신호 전송로를 통해 이미지 파일이 입력되는 제1 버퍼와, 상기 제1 버퍼를 통해 입력되는 이미지 파일을 동일한 이미지의 이미지 파일로 고속 변환하는 이미지 변환수단과, 상기 이미지 변환수단을 통해 변환된 이미지를 상기 신호 전송로를 통해 출력하는 제2 버퍼로 구성된다.According to a feature of the image file transmission system according to the present invention for solving the above problems, the first image of the image file is input through the signal transmission path, and the image file input through the first buffer image of the same image And a second buffer for outputting the image converted by the image converting means through the signal transmission path.

또한, 본 발명에 의한 이미지 파일 전송방법의 특징에 따르면, 신호 전송로를 통해 입력되는 이미지 파일 중 JPEG 파일을 디코딩하는 제1 단계와, 상기 제1 단계에서 디코딩된 JPEG 파일의 역변환 과정과 변환 과정을 하나의 연산을 통해 수행하는 제2 단계와, 상기 제2 단계에서 변환된 JPEG 파일을 상기 신호 전송로로 출력하는 제3 단계로 이루어진다.In addition, according to a feature of the image file transmission method according to the present invention, the first step of decoding the JPEG file of the image file input through the signal transmission path, the inverse conversion process and the conversion process of the JPEG file decoded in the first step And a third step of outputting the JPEG file converted in the second step to the signal transmission path.

이하, 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에 의한 이미지 파일 전송시스템은 도 3에 도시된 바와 같이, 신호 전송로를 통해 서버(S)에서 출력된 이미지 파일인 JPEG 파일이 입력되는 제1 버퍼(B11)와, 상기 제1 버퍼(B11)를 통해 입력된 JPEG 파일을 상이한 양자화 테이블을 가지는 JPEG 파일로 고속 변환시키는 이미지 변환수단(10)과, 상기 이미지 변환수단(10)을 통해 변환된 JPEG 파일을 상기 신호 전송로를 통해 클라이언트(C)로 출력하는 제2 버퍼(B12)를 포함하여 구성된다.As shown in FIG. 3, the image file transmission system according to the present invention includes a first buffer B11 to which a JPEG file, which is an image file output from the server S, is input through a signal transmission path, and the first buffer ( Image converting means (10) for high speed converting the JPEG file input through B11) into a JPEG file having a different quantization table, and the JPEG file converted through the image converting means (10) through the signal transmission path through a client ( And a second buffer B12 for outputting to C).

특히, 본 발명의 핵심은 상기 이미지 변환수단(10)에서 종래의 IDCT 및 DCT 과정과, 역컬러변환 및 컬러변환 과정을 모두 생략하는데 있다. 즉, 종래의 '허프만 디코딩->IDCT->YCbCr을 RGB로 변환'한 후 'RGB를 YCbCr로 변환->DCT->허프만 인코딩'하는 과정을 생략하고, 개략적으로 '허프만 디코딩->곱셈 및 나눗셈->허프만 인코딩'을 통해 JPEG의 압축 및 변환을 고속으로 행할 수 있다.In particular, the core of the present invention is to omit all the conventional IDCT and DCT process, inverse color conversion and color conversion process in the image conversion means (10). That is, the conventional 'Huffman decoding-> IDCT-> YCbCr to RGB conversion' and 'RGB to YCbCr-> DCT-> Huffman encoding' are omitted, and 'Huffman decoding-> Multiplication and division is roughly omitted. -> Huffman Encoding 'enables fast JPEG compression and conversion.

여기서, 상기 곱셈 및 나눗셈은 양자화 테이블 원소간의 비율을 상기 디코딩된 JPEG 파일에 곱해주는 것을 의미하며, 디코딩된 JPEG 파일이 64개의 원소로 이뤄진다고 가정하면, 입력양자화(역양자화) 테이블과 출력양자화(양자화) 테이블을 구하고 상기 양 테이블의 비율값을 상기 디코딩하여 얻어진 값에 곱하여 곧바로 인코딩을 수행하면 된다. 특히, 본 발명의 이미지 파일 전송시스템 및 그 전송방법에 따르면, JPEG 파일을 압축해야 하므로 상기 '입력양자화 테이블/출력양자화 테이블'은 그 값이 '1'보다 작아야 한다.Here, the multiplication and division means multiplying the ratio between quantization table elements by the decoded JPEG file, and assuming that the decoded JPEG file is composed of 64 elements, the input quantization table and the output quantization ( A quantization) table may be obtained, and the encoding may be performed immediately by multiplying the ratio values of both tables by the decoded value. In particular, according to the image file transmission system and the transmission method of the present invention, since the JPEG file should be compressed, the value of the 'input quantization table / output quantization table' should be smaller than '1'.

다음은 본 발명에 따른 이미지 파일 전송시스템에서 이미지 파일이 변환되는 과정을 수학적으로 간략화하여 설명한다.Next, a process of converting an image file in the image file transmission system according to the present invention will be described by mathematically simplifying it.

먼저, IDCT 변환을 F 함수라 하고, YCbCr을 RGB로 변환하는 역컬러변환을 G 함수라 하고 G-1은 G의 역함수, F-1은 F의 역함수라 할 때, 상기 제1 버퍼로 입력된 JPEG 이미지는 '허프만 디코딩->F->G->G-1->F-1->허프만 인코딩'의 과정을 거치게 된다. 여기서, 'G->G-1'을 상호 상쇄될 수 있고, 그에 따라 '허프만 디코딩->F->F-1->허프만 인코딩'이 된다. 마찬가지로 'F->F-1'은 상쇄될 수 있다. 여기서, 주의해야 할 점은 완전히 등가로 소멸되는 것이 아니며, 입출력되는 JPEG 이미지의 양자화 테이블이 다른 점과 또 데이터 값을 얻기 위한 예측부호화 방법의 특성을 살려두어야 한다는 점이다.First, when an IDCT transform is called an F function, and an inverse color transform for converting YCbCr to RGB is called a G function, and G -1 is an inverse function of G and F -1 is an inverse function of F, the first buffer is input to the first buffer. JPEG images are processed through Huffman decoding->F->G-> G -1- > F -1- > Huffman encoding. Here, 'G-> G- 1 ' may be mutually cancelled, and thus 'Huffman decoding->F-> F- 1- > Huffman encoding'. Likewise, 'F-> F- 1 ' can be canceled out. It should be noted that the quantization table of the input / output JPEG image is different from each other and the characteristics of the predictive encoding method for obtaining data values should be kept in mind.

G 함수는 다음 수학식 1의 변환행렬과 같다.The G function is equal to the transformation matrix of Equation 1 below.

G-1함수는 다음 수학식 2의 변환행렬과 같다.The function G -1 is equivalent to the transformation matrix of Equation 2 below.

따라서, 이를 한번에 처리할 경우, 다음 수학식 3과 같이,Therefore, when processing this at once, as shown in Equation 3,

여기서, G 함수나 G-1함수는 모두 상수이며, 상호 역행렬관계에 있으므로 결국 수학식 4에서와 같이 입력과 출력이 동일해짐에 따라 상기 수학식 3의 변환과정을 행할 필요가 없다.Here, since the G function and the G- 1 function are both constants and have inverse matrix relationships, the conversion process of Equation 3 does not need to be performed as the input and output become the same as in Equation 4.

또한, QI는 입력양자화 테이블이고, D1~D64는 디코딩된 JPEG 파일의 값이라 가정하면 상기 Y,Cb,Cr은 다음의 과정을 따라 얻어진 값이다. 여기서, 다음 수학식 5는 Y를 구하는 수식을 나타내고 있으며, Cb,Cr도 동일한 변환행렬을 통해 얻어진 값이다. 즉, FFT(Fast Fourier Transform) 등 퓨리에 변환에 관련되는 루틴은 결국 64개의 값을 64개의 값으로 변환시키는 행렬 변환이므로 64×64 행렬로 정의된다. 특히 IDCT 변환행렬을 F라 하고, DCT의 변환행렬을 F-1이라 하면 수학식 5에서 F는 다음의 변환을 수행한다.In addition, assuming that QI is an input quantization table and D1 to D64 are values of a decoded JPEG file, Y, Cb, and Cr are values obtained by the following process. Here, Equation 5 shows an equation for obtaining Y, and Cb and Cr are also values obtained through the same conversion matrix. That is, a routine related to Fourier transform such as Fast Fourier Transform (FFT) is defined as a 64 × 64 matrix because it is a matrix transform that converts 64 values into 64 values. In particular, if the IDCT transformation matrix is called F and the DCT transformation matrix is F −1 , F in Equation 5 performs the following transformation.

또한, E1~E64는 인코딩된 값이라 하고, QO은 출력양자화 테이블이라 하면, E1~E64는 수학식 6과 수학식 7을 통해 얻어진다.Further, if E1 to E64 are encoded values and QO is an output quantization table, E1 to E64 are obtained through Equations 6 and 7.

여기서, 상기 수학식 6과 수학식 7을 상기 수학식 8과 같이 표현 가능하다.Here, Equations 6 and 7 can be expressed as in Equation 8.

결국 상기 수학식 8은 다음 수학식 9와 같이 축약된다.As a result, Equation 8 is reduced to Equation 9 below.

여기서, IDCT 후 128을 더하는 것이나 128을 빼고 DCT를 하는 것에 대해서는 상호 상쇄되므로 계산할 필요가 없다.Here, since IDCT is added to 128 or DCT is subtracted from 128, there is no need to calculate.

특히, 상기 이미지 변환수단은 도 3에 도시된 바와 같이 상기 허프만 디코딩과 인코딩을 수행하는 코덱부(11)와, 상기 코덱부(11)에서 디코딩이 수행된 JPEG 파일을 곱셈 및 나눗셈 연산함으로써 JPEG 이미지를 동일한 이미지의 상이한 양자화 테이블을 가지는 JPEG 이미지로 고속 변환하는 연산부(12)로 구성된다. 상기 연산부(12)를 통해 연산이 이루어진 데이터는 상기 코덱부(11)를 통해 인코딩되어 상기 제2 버퍼(B12)로 출력됨에 따라 그에 따라 고속 변환되며 압축이 이루어진 상기 JPEG 파일이 상기 신호 전송로를 통해 이미지 파일을 요청한 클라이언트(C)로 전송된다.In particular, the image converting means is a JPEG image by multiplying and dividing the codec unit 11 for performing the Huffman decoding and encoding, and the JPEG file decoded in the codec unit 11 as shown in FIG. Is composed of arithmetic unit 12 for high-speed conversion into a JPEG image having different quantization tables of the same image. The data calculated through the operation unit 12 is encoded through the codec unit 11 and output to the second buffer B12 so that the JPEG file is converted at a high speed according to the high speed and compressed into the signal transmission path. The image file is transmitted to the requesting client (C).

여기서, 상기 제2 버퍼(B12)로 상기 압축이 이루어진 JPEG 이미지가 출력되고 상기 제2 버퍼(B12)를 통해 JPEG 이미지가 출력됨에 따라 상기 제2 버퍼(B12)는 캐쉬로 기능하게 되며 그에 따라 상기 제2 버퍼(B12)의 데이터는 캐쉬데이터로 그 용도가 전환된다. 즉, 클라이언트(C)에서 동일한 이미지 파일의 전송을 상기 서버로 요청하는 경우, 상기 제2 버퍼(B12)에 저장된 압축이 이루어진 JPEG 이미지가 상기 클라이언트(C)로 출력됨에 따라 이미지 파일 전송 시 소요되는 시간을 단축시킨다.In this case, as the compressed JPEG image is output to the second buffer B12 and the JPEG image is output through the second buffer B12, the second buffer B12 functions as a cache. The data of the second buffer B12 is switched to the cache data. That is, when the client C requests the server to transmit the same image file, the compressed JPEG image stored in the second buffer B12 is output to the client C. Save time

도 4는 상기와 같이 구성되는 이미지 파일 전송시스템의 이미지 파일 전송방법이 도시된 도이다.4 is a diagram illustrating an image file transfer method of the image file transfer system configured as described above.

먼저 제21 단계에서 상기 제1 버퍼로 상기 서버에서 출력한 이미지 파일인 JPEG 파일이 입력된다. (S21)First, a JPEG file, which is an image file output from the server, is input to the first buffer in step 21. (S21)

제22 단계에서 상기 이미지 변환수단의 코덱부는 통해 상기 JPEG 파일로 허프만 디코딩이 행해진다. (S22)In a twenty-second step, Huffman decoding is performed on the JPEG file through the codec unit of the image converting means. (S22)

제23 단계에서 상기 이미지 변환수단의 연산부는 상기 역양자화, IDCT, 역컬러변환 및 컬러변환, DCT, 양자화 과정에서 사용되는 행렬을 상호 상쇄시켜 상기 제22 단계에서 디코딩이 행해진 데이터에 수학식 9에 나열된 식을 통해 간단한 곱셋 및 나눗셈 연산을 수행하여 JPEG 이미지를 사용자가 그 변화를 인식할 수 없는 정도까지 혹은 원하는 특정 화질까지 압축 및 변환한다. (S23) 여기서, 상기 연산부는 양자화 테이블 값을 조절함으로써 상기 JPEG 이미지의 화질을 조절하게 되는데, 상기 역양자화 테이블과 양자화 테이블의 값의 비는 상기에 언급한 바와 같이 1이하여야 상기 JPEG 이미지의 압축이 행해진다.In the twenty-third step, the calculating unit of the image converting means cancels the matrix used in the inverse quantization, IDCT, inverse color transform and color transform, DCT, quantization process, By performing simple multiplication and division operations using the equations listed, the JPEG image is compressed and transformed to the extent that the user cannot perceive the change or to a specific desired image quality. Here, the operation unit adjusts the image quality of the JPEG image by adjusting a quantization table value, and the ratio of the values of the inverse quantization table and the quantization table must be 1 or less as mentioned above to compress the JPEG image. This is done.

제24 단계에서 상기 이미지 변환수단의 코덱부는 상기 연산부를 통해 역변화과 변환 및 압축이 완료된 이미지를 허프만 인코딩한다. (S24)In a twenty-fourth step, the codec unit of the image converting means encodes the image which has been inversely transformed, transformed, and compressed by Huffman through the calculating unit. (S24)

제25 단계에서 상기 제2 버퍼는 상기 허프만 인코딩이 완료된 JPEG 파일을 상기 클라이언트로 전송한다. (S25)In step 25, the second buffer transmits the Huffman encoding-completed JPEG file to the client. (S25)

상기와 같이 구성되는 본 발명의 이미지 파일 전송시스템 및 그 전송방법은 클라이언트 서버 시스템에서 송수신되는 데이터 중 이미지 파일의 변환과정과 압축과정을 단순화 함으로써 동일한 클라이언트 서버 시스템에서 이미지 파일의 송수신 시 수행되는 연산량이 기존 방식보다 1/3 이하로 감소함에 따라 이미지 파일 전송속도가 3배 이상 속도가 빨라지는 동시에 기존 이미지 파일 변환과정 시 데이터 손실이 발생하는 DCT(Discrete Cosine Transform) 등을 제거함으로써 이미지 변환 시 누적되는 이미지의 열화를 줄이며, 이미지의 디코딩과 인코딩이 동시에 수행됨에 따라 이미지를 위한 버퍼를 제거할 수 있어 제조가 간단한 동시에 실시간으로 데이터 전송이 가능한 이미지 파일 전송시스템을 제공하고 또한 상기 이미지 파일 전송시스템의 제조비용을 감소시킬 수 있는 효과가 있다.The image file transmission system and the method of the present invention configured as described above simplify the conversion and compression of the image file among the data transmitted and received by the client server system, and thus the amount of computation performed when the image file is transmitted and received on the same client server system. As the image file transfer speed is three times faster than the conventional method, it is accumulated during image conversion by eliminating DCT (Discrete Cosine Transform), which causes data loss during the conversion process. It is possible to reduce the deterioration of the image, and to remove the buffer for the image as the decoding and encoding of the image are performed at the same time, thereby providing an image file transfer system that is simple in manufacturing and capable of real-time data transfer, and also manufactures the image file transfer system. Cut costs There is an effect that can be.

Claims (7)

신호 전송로를 통해 이미지 파일이 입력되는 제1 버퍼와; 상기 제1 버퍼를 통해 입력되는 이미지 파일을 동일한 이미지의 이미지 파일로 고속 변환하는 이미지 변환수단과; 상기 이미지 변환수단을 통해 변환된 이미지를 상기 신호 전송로를 통해 출력하는 제2 버퍼를 포함하여 구성되는 것을 특징으로 하는 이미지 파일 전송시스템.A first buffer through which an image file is input through a signal transmission path; Image conversion means for rapidly converting an image file input through the first buffer into an image file of the same image; And a second buffer for outputting the image converted by the image converting means through the signal transmission path. 제 1 항에 있어서,The method of claim 1, 상기 이미지 변환수단은 상기 제1 버퍼의 이미지 파일 중 JPEG 파일을 상기 제1 버퍼의 이미지 파일의 양자화 테이블과 다른 양자화 테이블을 가지는 JPEG 파일로 고속 변환하여 상기 제2 버퍼로 출력하도록 구성되는 것을 특징으로 하는 이미지 파일 전송시스템.And the image converting means is configured to convert the JPEG file among the image files of the first buffer into a JPEG file having a quantization table different from the quantization table of the image file of the first buffer and output the JPEG file to the second buffer. Image file transfer system. 제 2 항에 있어서,The method of claim 2, 상기 이미지 변환수단은 상기 제1 버퍼의 JPEG 이미지 파일의 허프만 코딩 및 디코딩을 수행하는 코덱부와; 상기 코덱부를 통해 디코딩된 JPEG 파일의 역양자화, IDCT(Inverse Discrete Cosine Transform), 역컬러변환과 상기 역양자화, IDCT, 컬러변환을 거친 이미지 파일의 컬러변환, DCT(Discreate Cosine Transform), 양자화를 하나의 연산을 통해 수행하고 상기 연산을 통해 고속 변환된JPEG 파일을 상기 제2 버퍼로 출력하는 연산부를 포함하여 구성되는 것을 특징으로 하는 이미지 파일 전송시스템.The image converting means includes: a codec unit for performing Huffman coding and decoding of the JPEG image file of the first buffer; Inverse quantization, inverse discrete cosine transform (IDCT), inverse color transformation and color inversion of image files that have undergone the inverse quantization, IDCT, color transformation, DCT (Discreate Cosine Transform), quantization And an operation unit configured to perform the operation of and to output the JPEG file, which has been quickly converted through the operation, to the second buffer. 제 3 항에 있어서,The method of claim 3, wherein 상기 연산부는 상기 역양자화, IDCT, 역컬러변환을 수행하기 위하여 상기 코덱부에서 디코딩된 JPEG 파일에 곱해지는 복수개의 행렬과 상기 컬러변환, DCT, 양자화을 수행하기 위하여 상기 역양자화, IDCT, 역컬러변환이 수행된 JPEG 파일에 곱해지는 복수개의 행렬을 상호 상쇄하여 하나의 연산을 통해 상기 JPEG 이미지 파일의 역변환 및 변환 과정을 수행하도록 구성되는 것을 특징으로 하는 이미지 파일 전송시스템.The operation unit performs a plurality of matrices multiplied by a JPEG file decoded by the codec unit to perform the inverse quantization, IDCT, inverse color transformation, and the inverse quantization, IDCT, inverse color transformation to perform color transformation, DCT, and quantization. And inversely converting the plurality of matrices multiplied by the performed JPEG file to perform inverse conversion and conversion of the JPEG image file through one operation. 제 2 항에 있어서,The method of claim 2, 상기 제2 버퍼는 상기 신호 전송로를 통해 전송되는 이미지 파일 중 변환된 JPEG 파일이 저장되어 캐쉬 기능을 수행하도록 구성되는 것을 특징으로 하는 이미지 파일 전송시스템.And the second buffer is configured to store a converted JPEG file among image files transmitted through the signal transmission path to perform a cache function. 신호 전송로를 통해 입력되는 이미지 파일 중 JPEG 파일을 디코딩하는 제1 단계와;A first step of decoding a JPEG file among image files input through a signal transmission path; 상기 제1 단계에서 디코딩된 JPEG 파일의 역변환 과정과 변환 과정을 하나의 연산을 통해 수행하는 제2 단계와;A second step of performing an inverse conversion process and a conversion process of the JPEG file decoded in the first step through one operation; 상기 제2 단계에서 변환된 JPEG 파일을 상기 신호 전송로로 출력하는 제3 단계를 포함하여 이루어지는 것을 특징으로 하는 이미지 파일 전송방법.And a third step of outputting the JPEG file converted in the second step to the signal transmission path. 제 6 항에 있어서,The method of claim 6, 상기 제2 단계는 상기 디코딩된 JPEG 파일의 역양자화, IDCT, 역컬러변환 및 컬러변환, DCT, 양자화를 수행하기 위하여 상기 JPEG 파일로 곱해지는 복수개의 행렬을 상호 상쇄시키는 행렬 상쇄 과정과;The second step includes a matrix cancellation process of mutually canceling a plurality of matrices multiplied by the JPEG file to perform inverse quantization, IDCT, inverse color transform and color transform, DCT, and quantization of the decoded JPEG file; 상기 행렬 상쇄 과정에서 얻어진 변수를 상기 디코딩된 JPEG 파일에 곱하는 연산 과정과;Multiplying the decoded JPEG file by the variable obtained in the matrix cancellation process; 상기 연산 과정이 행해진 JPEG 파일을 인코딩하는 인코딩 과정을 포함하여 이루어지는 것을 특징으로 하는 이미지 파일 전송방법.And an encoding step of encoding the JPEG file on which the calculation process is performed.
KR1020020001274A 2002-01-09 2002-01-09 Image File Transfer System and Method for the Same KR20030060534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020001274A KR20030060534A (en) 2002-01-09 2002-01-09 Image File Transfer System and Method for the Same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020001274A KR20030060534A (en) 2002-01-09 2002-01-09 Image File Transfer System and Method for the Same

Publications (1)

Publication Number Publication Date
KR20030060534A true KR20030060534A (en) 2003-07-16

Family

ID=32217481

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020001274A KR20030060534A (en) 2002-01-09 2002-01-09 Image File Transfer System and Method for the Same

Country Status (1)

Country Link
KR (1) KR20030060534A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101329676B1 (en) * 2011-12-28 2013-11-18 계명대학교 산학협력단 Transmission Method for Mobile Data Synchronization Based on Modified Huffman code

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960018942A (en) * 1994-11-15 1996-06-17 양승택 Compression / Restore Circuit of Video Data
KR960020501A (en) * 1994-11-26 1996-06-17 김광호 Variable length coding device and decoding device using a plurality of Huffman code tables
US5546477A (en) * 1993-03-30 1996-08-13 Klics, Inc. Data compression and decompression
JP2000125295A (en) * 1998-10-13 2000-04-28 Canon Inc Moving picture coder, its method, moving picture decoder, its method and storage medium
KR20020053572A (en) * 2000-12-27 2002-07-05 한국과학기술정보연구원 Image partial transmission apparatus and method of network
KR20020055479A (en) * 2000-12-28 2002-07-09 대표이사 서승모 Huffman coding block and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5546477A (en) * 1993-03-30 1996-08-13 Klics, Inc. Data compression and decompression
KR960018942A (en) * 1994-11-15 1996-06-17 양승택 Compression / Restore Circuit of Video Data
KR960020501A (en) * 1994-11-26 1996-06-17 김광호 Variable length coding device and decoding device using a plurality of Huffman code tables
JP2000125295A (en) * 1998-10-13 2000-04-28 Canon Inc Moving picture coder, its method, moving picture decoder, its method and storage medium
KR20020053572A (en) * 2000-12-27 2002-07-05 한국과학기술정보연구원 Image partial transmission apparatus and method of network
KR20020055479A (en) * 2000-12-28 2002-07-09 대표이사 서승모 Huffman coding block and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101329676B1 (en) * 2011-12-28 2013-11-18 계명대학교 산학협력단 Transmission Method for Mobile Data Synchronization Based on Modified Huffman code

Similar Documents

Publication Publication Date Title
KR100912415B1 (en) Implementation of a transform and of a subsequent quantization
US7242713B2 (en) 2-D transforms for image and video coding
CN101562749A (en) Video data compression with integrated lossy and lossless compression
CN102523367A (en) Real-time image compression and reduction method based on plurality of palettes
EP1349395A2 (en) Moving picture coding method, moving picture coding apparatus, and moving picture coding program
JP2005176361A (en) Color transformation method and apparatus
CN113613004A (en) Image encoding method, image encoding device, electronic device, and storage medium
CN103391437B (en) A kind of method and device of high-dynamics image virtually lossless compression
JP3759932B2 (en) Image compression method and decompression method
US8600181B2 (en) Method for compressing images and a format for compressed images
US8411976B2 (en) Image data compression apparatus, decompression apparatus, compressing method, decompressing method, and storage medium
KR20030060534A (en) Image File Transfer System and Method for the Same
JPH1066077A (en) Code amount control method for image data and its device
JP4241517B2 (en) Image encoding apparatus and image decoding apparatus
Ernawan et al. An Improved Image Compression Technique using Large Adaptive DCT Psychovisual Thresholds
JP3796990B2 (en) Color conversion processing method and apparatus
JPH0270127A (en) Conversion encoding system
JPH09247668A (en) Image signal coding system
JPH06338802A (en) Re-compression device
JP2776425B2 (en) Cell loss compensation image decoding method
Joshi et al. Performance Analysis of 2D-DCT based JPEG Compression Algorithm
JP2778166B2 (en) Method and apparatus for adaptive transform coding
JP2003299120A (en) Color image compressing method
CN114900693A (en) Image compression method, decompression method and device based on block truncation coding
JP2002209209A (en) Image companding system

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E601 Decision to refuse application