KR100634568B1 - Method for processing image signal capable of controlling jpeg file size and apparatus thereof - Google Patents

Method for processing image signal capable of controlling jpeg file size and apparatus thereof Download PDF

Info

Publication number
KR100634568B1
KR100634568B1 KR1020050056099A KR20050056099A KR100634568B1 KR 100634568 B1 KR100634568 B1 KR 100634568B1 KR 1020050056099 A KR1020050056099 A KR 1020050056099A KR 20050056099 A KR20050056099 A KR 20050056099A KR 100634568 B1 KR100634568 B1 KR 100634568B1
Authority
KR
South Korea
Prior art keywords
image data
filter
amount
image
smoothing filter
Prior art date
Application number
KR1020050056099A
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 KR1020050056099A priority Critical patent/KR100634568B1/en
Application granted granted Critical
Publication of KR100634568B1 publication Critical patent/KR100634568B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/409Edge or detail enhancement; Noise or error suppression
    • H04N1/4092Edge or detail enhancement

Abstract

An image processing method and an apparatus thereof are provided to control a JPEG file size by controlling a filter included in the image processing apparatus to prevent buffering memory overflow. An image processing apparatus(320) includes an image signal processor(330), a JPEG encoder(340), and a file size controller(350). The image signal processor includes a smoothing filter for converting a high-frequency component of a video signal into a low-frequency component. The JPEG encoder compresses video data inputted from the video processor. The file size controller measures the quantity of video data outputted from the JPEG encoder and controls on/off of the smoothing filter of the image signal processor in response to the measured quantity of video data. The file size controller operates the smoothing filter when the quantity of video data is greater than a predetermined reference value and does not operate the smoothing filter when the quantity of video data is smaller than the reference value.

Description

제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치{Method for processing image signal capable of controlling JPEG file size and Apparatus thereof}Method for processing image signal capable of controlling JPEG file size and Apparatus

도 1은 일반적인 제이펙 인코더를 도시한 블록 구성도. 1 is a block diagram illustrating a typical JPEG encoder.

도 2는 일반적인 제이펙 디코더를 도시한 블록 구성도. 2 is a block diagram illustrating a typical JPEG decoder.

도 3은 본 발명의 바람직한 실시예에 따른 영상 처리 장치를 도시한 블록 구성도. 3 is a block diagram illustrating an image processing apparatus according to an exemplary embodiment of the present invention.

도 4는 본 발명의 바람직한 실시예에 따른 영상 데이터를 처리하는 영상 처리부를 도시한 블록 구성도. 4 is a block diagram illustrating an image processor for processing image data according to an exemplary embodiment of the present invention.

도 5는 본 발명의 바람직한 실시예에 따른 영상 처리 장치에서 수행되는 가우시안 필터링 흐름도. 5 is a Gaussian filtering flowchart performed in an image processing apparatus according to a preferred embodiment of the present invention.

도 6은 본 발명의 바람직한 실시예에 따른 파일 크기 제어부를 도시한 블록 구성도. 6 is a block diagram illustrating a file size control unit according to a preferred embodiment of the present invention.

도 7은 본 발명의 바람직한 제1 실시예에 따른 영상 처리 장치를 도시한 블록 구성도.7 is a block diagram illustrating an image processing apparatus according to a first embodiment of the present invention.

도 8은 본 발명의 바람직한 제2 실시예에 따른 영상 처리 장치를 도시한 블록 구성도.8 is a block diagram illustrating an image processing apparatus according to a second exemplary embodiment of the present invention.

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

310 : 영상 센서310: image sensor

320 : 영상 처리 장치320: image processing device

330 : 영상 처리부330: image processing unit

340 : 제이펙 인코더340: JP encoder

350 : 파일 크기 제어부350: File size control

360 : 메모리360: memory

620 : 파일 크기 제어부620: File size control

630 : 카운터630: Counter

640 : 비교기640: comparator

650 : 제어 신호 발생부650: control signal generator

본 발명은 영상 처리 방법 및 그 장치에 관한 것으로, 특히 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치에 관한 것이다.The present invention relates to an image processing method and apparatus, and more particularly, to an image processing method and apparatus capable of controlling a JPEG file size.

영상 처리 장치는 디지털 카메라, 휴대폰, 컴퓨터 등 다양한 디지털 처리 장치에서 이용되며, 특히 영상 압축 기술과 관련된다. 영상 압축 기술은 정지 영상인 경우 JPEG(이후 '제이펙'이라고 한다), 비디오 영상인 경우 MPEG(이후 '엠펙'이라고 한다)이 많이 이용된다. 여기서, JPEG표준인 ISO/IEC 10918은 오늘날 가장 많이 사용되고 있는 정지 영상 압축 포맷이다. 이 표준은 상당히 높은 압축율의 고품질 사진이나 매우 높은 압축 비율의 적정한 품질의 사진 중에서 선택할 수 있는 유연성을 가지고 있다. 카메라나 화면과 같은 시스템은 이 기술의 단순함으로 인해 저렴하게 제작될 수 있다. 일반적으로는 JPEG으로 압축한 사진은 원래의 사진과 비교할 때 시각적인 차이점을 나타내지 않는다. 실제 이미지를 만드는 것은 코사인 차이 변환(DCT)이며 불필요한 이미지를 제거하는 정량화 후에 적용된다.Image processing apparatuses are used in various digital processing apparatuses, such as digital cameras, mobile phones, and computers, and are particularly related to image compression technology. Image compression technology is often used as a JPEG (hereinafter referred to as `` JPEG '') in the case of a still image, MPEG (hereinafter referred to as 'MPEG') in the case of a video. Here, the JPEG standard ISO / IEC 10918 is the most popular still image compression format used today. The standard has the flexibility to choose between high quality photos with very high compression rates or moderate quality photos with very high compression ratios. Systems such as cameras and screens can be made inexpensively because of the simplicity of this technology. Generally, JPEG-compressed photos show no visual difference compared to the original. Creating the actual image is a cosine difference transform (DCT) and is applied after quantification to remove unwanted images.

실제 제이펙 코덱을 사용하는 시스템에서 압축된 데이터를 전송할 때, 전송 받을 장치의 클럭 주파수가 다르거나 데이터 버스의 크기가 다를 수 있다. 이런 경우에, 버퍼링을 하기 위해서 선입선출(FIFO : first-in first-out, 이하 'FIFO'라고 한다)를 사용하여 데이터를 전송하거나, 혹은 보다 빠른 주파수의 클럭을 사용하여 영상을 보내게 된다. 하지만, 이러한 방법은 영상의 크기와 고주파 성분등에 의존하게 되어 근원적인 문제 해결 책이 되지 못한다. When transmitting compressed data in a system using an actual J-CODEC, the clock frequency of a device to be transmitted may be different or the size of a data bus may be different. In this case, the first-in first-out (FIFO) (FIFO) (FIFO) to transfer the data, or a faster frequency clock is used for buffering. However, this method is dependent on the size of the image and high frequency components, and thus cannot be a fundamental problem-solving solution.

이러한 전송상의 문제를 해결하기 위해서 종래기술에 따르면, 디지털 스틸 카메라로 촬영한 영상을 압축하여 메모리에 저장 시킬 때, 메모리의 남은 용량을 판단하여 압축률을 결정하는 가장 큰 부분인 q-factor를 변경시켜 일정 수 만큼 촬영된 영상을 기록하도록 하고 있다. 또한, 다른 종래 기술에 따르면, 제이펙 인코더에 입력될 이미지의 에지 성분을 분석하여 q-factor를 자동으로 조정함으로서 제이펙 파일 크기를 일정하게 유지 시킬 수 있는 방법을 제시하였다. In order to solve such a transmission problem, according to the prior art, when compressing an image photographed with a digital still camera and storing it in a memory, the remaining portion of the memory is judged to change the q-factor, which is the largest part for determining the compression ratio. A certain number of images taken are recorded. In addition, according to another conventional technology, a method of maintaining the size of a JPEG file by automatically adjusting the q-factor by analyzing edge components of an image to be input to the JPEG encoder has been proposed.

그러나 이러한 방법들은 영상의 크기에 의존하게 되어, 압축된 데이터를 전송할 때 FIFO의 크기와 클럭 주파수가 입력된 영상의 크기에 의존하게 되어 영상의 크기에 따라 버퍼링 메모리 혹은 사용 주파수를 변경해야 하는 문제점이 있다.However, these methods depend on the size of the image, and when transmitting compressed data, the size of the FIFO and the clock frequency depend on the size of the input image, so that the buffering memory or the use frequency should be changed according to the size of the image. have.

본 발명은 영상 처리 장치에 구비된 필터를 제어함으로써 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치를 제공한다. The present invention provides an image processing method and apparatus capable of controlling the JPEG file size by controlling a filter included in the image processing apparatus.

또한, 본 발명은 영상 처리 장치에 구비된 필터를 제어함으로써 미리 설정된 크기에 상응하여 제이펙 파일 크기를 제어함으로써 버퍼링 메모리 오버플로우를 막을 수 있는 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치를 제공한다.The present invention also provides an image processing method and apparatus capable of controlling a JPEG file size capable of preventing a buffering memory overflow by controlling a JPEG file size corresponding to a preset size by controlling a filter included in the image processing apparatus. do.

본 발명의 일 측면에 따르면, 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터가 구비된 영상 처리부, 영상 처리부로부터 입력된 영상 데이터를 압축하는 제이펙 인코더, 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하고 측정된 영상 데이터의 양에 상응하여 영상 처리부의 스무딩 필터의 온/오프를 제어하는 파일 크기 제어부를 포함하는 영상 처리 장치를 제시할 수 있다.According to an aspect of the present invention, an image processing unit including a smoothing filter for converting high frequency components of image data into low frequency components, a JPEG encoder for compressing image data input from the image processing unit, and an amount of image data output from the JPEG encoder The image processing apparatus may include a file size control unit configured to measure and control the on / off of the smoothing filter of the image processor according to the measured amount of image data.

여기서, 파일 크기 제어부는 영상 데이터 양이 미리 설정된 기준값보다 크면 상기 스무딩 필터를 작동시키고, 영상 데이터 양이 미리 설정된 기준값보다 작으면 스무딩 필터를 작동시키지 않을 수 있다. Here, the file size controller may operate the smoothing filter when the amount of image data is greater than a preset reference value, and may not operate the smoothing filter when the amount of image data is smaller than a preset reference value.

본 발명의 다른 측면에 따르면, 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터가 구비된 영상 처리부, 영상 처리부로부터 입력된 영상 데이터를 압축하는 제이펙 인코더, 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하는 카운터, 카운터에서 측정된 영상 데이터 양을 미리 설정된 기준값과 비교하여 제어 기초 신호를 생성하는 비교기, 비교기로부터 입력된 제어 기초 신호에 상응하여 영상 처리부의 스무딩 필터의 온/오프를 제어하는 필터부 제어 신호를 생성하는 제어 신호 발생부를 포함하는 영상 처리 장치를 제시할 수 있다.According to another aspect of the present invention, an image processing unit including a smoothing filter for converting high frequency components of image data into low frequency components, a JPEG encoder for compressing image data input from the image processing unit, and an amount of image data output from the JPEG encoder A counter for measuring a signal, a comparator for generating a control base signal by comparing the amount of image data measured by the counter with a preset reference value, and a filter for controlling on / off of the smoothing filter of the image processor in accordance with the control base signal input from the comparator An image processing apparatus including a control signal generator configured to generate a sub control signal may be provided.

여기서, 영상 처리부는 영상 센서로부터 입력된 영상 데이터를 베이어 패턴으로 배열하는 베이어 필터부, 베이어 필터로부터 입력된 영상 데이터를 보간하는 보간부, 보간부에서 보간된 영상 데이터를 감마 보정하는 감마 보정부, 감마 보정부로부터 입력된 영상 데이터를 색채 보정하는 색채 보정부를 포함할 수 있다. Here, the image processing unit includes a Bayer filter unit for arranging the image data input from the image sensor in a Bayer pattern, an interpolation unit for interpolating the image data input from the Bayer filter, a gamma correction unit for gamma-correcting the image data interpolated in the interpolation unit, The apparatus may include a color corrector configured to color correct the image data input from the gamma corrector.

여기서, 베이어 필터부, 보간부, 감마 보정부 및 색채 보정부 중 적어도 어느 하나는 스무딩 필터를 포함할 수 있고, 스무딩 필터는 가우시안 필터일 수 있다. Here, at least one of the Bayer filter unit, the interpolation unit, the gamma correction unit, and the color correction unit may include a smoothing filter, and the smoothing filter may be a Gaussian filter.

여기서, 필터부 제어 신호는 영상 데이터 양이 미리 설정된 기준값보다 크면 스무딩 필터를 작동시키고, 영상 데이터 양이 미리 설정된 기준값보다 작으면 스무딩 필터를 작동시키지 않는 제어 신호일 수 있다. Here, the filter unit control signal may be a control signal that operates the smoothing filter when the amount of the image data is greater than a preset reference value, and does not operate the smoothing filter when the amount of the image data is smaller than the preset reference value.

본 발명의 또 다른 측면에 따르면, 영상 센서로부터 입력된 영상 데이터에 대해서 영상 처리하는 영상 처리부(영상 처리는 베이어 패턴 배열, 보간, 감마 보정 및 색채 보정 중 적어도 어느 하나를 포함함), 영상 처리부로부터 입력된 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 다수의 스무딩 필터가 구비된 스무딩 필터부, 스무딩 필터부로부터 입력된 영상 데이터를 압축하는 제이펙 인코더, 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하고 측정된 영상 데이터의 양에 상응하여 스무딩 필터의 온/오프를 제어하는 파일 크기 제어부를 포함하는 영상 처리 장치를 제시할 수 있다. According to another aspect of the invention, the image processing unit for performing image processing on the image data input from the image sensor (image processing includes at least one of Bayer pattern arrangement, interpolation, gamma correction and color correction), from the image processing unit A smoothing filter unit having a plurality of smoothing filters for converting high frequency components of the input image data into low frequency components; a jpeg encoder for compressing the image data input from the smoothing filter unit; and an amount of image data output from the jpeg encoder And a file size controller for controlling on / off of the smoothing filter according to the measured amount of image data.

여기서, 파일 크기 제어부는 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하는 카운터, 카운터에서 측정된 영상 데이터 양을 미리 설정된 기준값과 비교하여 제어 기초 신호를 생성하는 비교기, 비교기로부터 입력된 제어 기초 신호에 상응하여 스무딩 필터의 온/오프를 제어하는 필터부 제어 신호를 생성하는 제어 신호 발생부를 포함할 수 있다. The file size control unit may include a counter for measuring the amount of image data output from the JPEG encoder, a comparator for generating a control base signal by comparing the amount of image data measured at the counter with a preset reference value, and a control base signal input from the comparator. Correspondingly, it may include a control signal generator for generating a filter control signal for controlling the on / off of the smoothing filter.

여기서, 필터부 제어 신호의 수는 스무딩 필터부에 구비된 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터의 수와 동일할 수 있다. Here, the number of filter part control signals may be equal to the number of smoothing filters for converting a high frequency component of the smoothing filter part into a low frequency component.

여기서, 필터부 제어 신호는 영상 데이터 양이 미리 설정된 기준값보다 크면 스무딩 필터를 작동시키고, 영상 데이터 양이 미리 설정된 기준값보다 작으면 스무딩 필터를 작동시키지 않는 제어 신호일 수 있다. Here, the filter unit control signal may be a control signal that operates the smoothing filter when the amount of the image data is greater than a preset reference value, and does not operate the smoothing filter when the amount of the image data is smaller than the preset reference value.

여기서, 스무딩 필터부에 구비된 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터는 가우시안 필터일 수 있다. Here, the smoothing filter for converting a high frequency component of the image data included in the smoothing filter unit into a low frequency component may be a Gaussian filter.

본 발명의 또 다른 측면에 따르면, (a) 영상 처리부가 영상 데이터에 대해서 영상 처리를 하는 단계(상기 영상 처리는 베이어 패턴 배열, 보간, 감마 보정, 색채 보정 중 적어도 어느 하나를 포함함), (b) 영상 처리된 영상 데이터를 제이펙 인코더가 압축하는 단계, (c) 압축된 영상 데이터를 메모리로 출력하는 단계를 포함하되, 단계 (a)는 스무딩 필터링을 수행하며, 스무딩 필터링은 제이펙 압축되어 메모리로 출력되는 영상 데이터 양에 상응하는 필터부 제어 신호에 의해 온/오프가 제어되는 영상 처리 방법을 제시할 수 있다. According to another aspect of the invention, (a) the image processing step of the image processing unit for the image data (the image processing includes at least one of Bayer pattern arrangement, interpolation, gamma correction, color correction), ( b) compressing the processed image data by the JPEG encoder, and (c) outputting the compressed image data to the memory, wherein step (a) performs smoothing filtering, and smoothing filtering is performed by the JPEG compression. The present invention can provide an image processing method in which on / off is controlled by a filter control signal corresponding to an amount of image data output to a memory.

여기서, 필터부 제어 신호는 영상 데이터 양이 미리 설정된 기준값보다 크면 스무딩 필터링을 수행하도록 하고, 영상 데이터 양이 미리 설정된 기준값보다 작으면 스무딩 필터링을 수행하지 않도록 제어하는 신호일 수 있다. Here, the filter control signal may be a signal for controlling smoothing filtering when the amount of image data is greater than a preset reference value, and not performing smoothing filtering when the amount of image data is smaller than a preset reference value.

본 발명의 또 다른 측면에 따르면, (a) 영상 처리부가 영상 데이터에 대해서 영상 처리를 하는 단계(상기 영상 처리는 베이어 패턴 배열, 보간, 감마 보정, 색채 보정 중 적어도 어느 하나를 포함함), (b) 영상 처리된 영상 데이터에 대해 스무딩 필터에서 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터링을 수행하는 단계, (c) 영상 처리된 영상 데이터를 제이펙 인코더가 압축하는 단계, (d) 압축된 영상 데이터를 메모리로 출력하는 단계를 포함하되, 스무딩 필터는 제이펙 인코더에서 압축되어 메모리로 출력되는 영상 데이터 양에 상응하는 필터부 제어 신호에 의해 온/오프가 제어되는 영상 처리 방법을 제시할 수 있다.According to another aspect of the invention, (a) the image processing step of the image processing unit for the image data (the image processing includes at least one of Bayer pattern arrangement, interpolation, gamma correction, color correction), ( b) performing smoothing filtering on the processed image data by converting a high frequency component of the image data into a low frequency component in a smoothing filter; (c) compressing the processed image data by a JPEG encoder, (d) And outputting the compressed image data to the memory, wherein the smoothing filter proposes an image processing method in which on / off is controlled by a filter control signal corresponding to the amount of image data compressed by the JPEG encoder and output to the memory. can do.

또한, 본 발명에 따른 영상 처리 방법은 (e) 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하는 단계, (f) 측정된 영상 데이터 양을 미리 설정된 기준값과 비교하여 제어 기초 신호를 생성하는 단계, (g) 제어 기초 신호에 상응하여 스무딩 필터의 온/오프를 제어하는 필터부 제어 신호를 생성하는 단계를 더 포함할 수 있다. In addition, the image processing method according to the present invention comprises the steps of (e) measuring the amount of image data output from the JPEG encoder, (f) generating a control base signal by comparing the measured image data amount with a preset reference value, (g) generating a filter part control signal for controlling on / off of the smoothing filter corresponding to the control elementary signal.

여기서, 필터부 제어 신호의 수는 스무딩 필터부에 구비된 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터의 수와 동일할 수 있다. Here, the number of filter part control signals may be equal to the number of smoothing filters for converting a high frequency component of the smoothing filter part into a low frequency component.

또한, 본 발명에 따른 영상 처리 방법은 (h) 필터부 제어 신호는 영상 데이터 양이 미리 설정된 기준값보다 크면 스무딩 필터를 작동시키고, 영상 데이터 양이 미리 설정된 기준값보다 작으면 스무딩 필터를 작동시키지 않는 단계를 더 포함할 수 있다. In addition, the image processing method according to the present invention comprises the step of (h) the filter control signal to operate the smoothing filter if the amount of the image data is greater than the preset reference value, and if the amount of the image data is less than the preset reference value does not operate the smoothing filter It may further include.

이하, 본 발명에 따른 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치의 바람직한 실시예를 첨부도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 또한, 본 발명의 바람직한 실시예들을 상세히 설명하기에 앞서 제이펙 인코딩 및 디코딩에 대해서 먼저 설명하기로 한다.Hereinafter, a preferred embodiment of a JPEG file size controllable image processing method and apparatus according to the present invention will be described in detail with reference to the accompanying drawings, and in the following description with reference to the accompanying drawings, the same configuration irrespective of the reference numerals Elements are given the same reference numerals and redundant descriptions thereof will be omitted. In addition, prior to the detailed description of the preferred embodiments of the present invention will be described with respect to JPEG encoding and decoding.

도 1은 일반적인 제이펙 인코더를 개략적으로 도시한 블록 구성도이고, 도 2는 일반적인 제이펙 디코더를 도시한 블록 구성도이다. 제이펙 코덱은 디지털 영상을 처리하는 장치이면, 디지털 카메라, 이동 통신 단말기, 컴퓨터, 게임 단말기 등에 이용될 수 있으며, 이하에서는 이동 통신 단말기에 이용되는 경우를 위주로 설명한다. FIG. 1 is a block diagram schematically illustrating a typical JPEG encoder, and FIG. 2 is a block diagram illustrating a typical JPEG decoder. If the JPEG codec is a device for processing a digital image, it may be used in a digital camera, a mobile communication terminal, a computer, a game terminal, and the like.

도 1을 참조하면, 원 영상 데이터(110), 제이펙 인코더(120) 및 압축된 데이 터(160)가 도시되어 있고, 제이펙 인코더(120)는 이산 코사인 변환부(FDCT : Forward Discrete Cosine Transformation)(130), 양자화기(Quantizer)(140), 엔트로피 코딩부(Entropy Encoder)(150)를 포함하며, 양자화기(Quantizer)(140), 엔트로피 코딩부(Entropy Encoder)(150)는 각각 테이블(Table Specification)(145, 155)과 결합되어 기능을 수행한다. Referring to FIG. 1, an original image data 110, a JPEG encoder 120, and a compressed data 160 are illustrated, and the JPEG encoder 120 includes a discrete cosine transform unit (FDCT). 130, the quantizer 140, and the entropy encoder 150, the quantizer 140 and the entropy encoder 150 are tables, respectively. (Table Specification) (145, 155) and performs a function.

또한, 도 2를 참조하면, 압축된 데이터(160), 제이펙 디코더(210) 및 복원된 영상(250)이 도시되어 있고, 제이펙 디코더(210)는 엔트로피 디코더(Entropy Decoder)(220), 역양자화기(De-Quantizer)(230) 및 이산 코사인 변환부(IDCT : Inverse Discrete Cosine Transformation)(240)를 포함하며, 엔트로피 디코더(Entropy Decoder)(220)와 역양자화기(De-Quantizer)(230)는 각각 테이블(Table Specification)(225, 235)과 결합되어 기능을 수행한다. 2, the compressed data 160, the JPEG decoder 210, and the reconstructed image 250 are illustrated, and the JPEG decoder 210 includes an entropy decoder 220, De-Quantizer 230 and a discrete cosine transform (IDCT: Inverse Discrete Cosine Transformation (240)) includes an entropy decoder (Entropy Decoder) 220 and De-Quantizer ( 230 is combined with Table Specification 225 and 235 to perform a function.

일반적으로 제이펙 인코더(120)는 원 영상 데이터(110)를 8x8블록으로 나누고, 각각의 블록에 대해 이산 코사인 변환(130)을 행한다. 이후 입력 영상 데이터에 대해서 양자화(140)를 행하고, 계수값을 코딩한 후 헤더를 붙이고 미리 지정된 형식에 맞춰서 영상 데이터를 저장한다. 이후 제이펙 디코더는 파일을 읽어서 영상 데이터를 디코딩한 후 역양자화를 행하고, 각각의 블록에 대하여 이산 코사인 변환(IDCT : Inverse Discrete Cosine Transformation)을 수행하고 원영상을 재구성한다.In general, the JPEG encoder 120 divides the original image data 110 into 8x8 blocks, and performs discrete cosine transform 130 on each block. Thereafter, quantization 140 is performed on the input image data, the coefficients are coded, headers are stored, and the image data is stored according to a predetermined format. Then, the JPEG decoder reads the file, decodes the image data, performs inverse quantization, performs discrete cosine transform (IDCT) on each block, and reconstructs the original image.

여기서, 무손실 압축법이 적용되는 경우 영상 데이터에 대해 이산 코사인 변환(130)을 수행하고, 양자화기(140)를 통과하면서 손실 압축을 수행하며, 무손실 압축법인 엔트로피 코딩을 수행함으로서 약 2배의 영상 압축률을 더 얻게 된다. 따라서, 압축률은 양자화기(140)의 사용형태에 의존하여 결정되는 부분이 크다. 제이펙 코덱과 관련된 기술은 본 발명이 속하는 기술분야에서 통상의 지식을 가지는 기술자에게는 당연한 기술이므로, 이와 관련된 자세한 설명은 생략한다. Here, when the lossless compression method is applied, discrete cosine transform 130 is performed on the image data, lossy compression is performed while passing through the quantizer 140, and entropy coding, which is a lossless compression method, is about 2 times the image. More compression is obtained. Therefore, the compression ratio is largely determined depending on the usage form of the quantizer 140. Since the technology related to the Jpec codec is a natural technology to those skilled in the art, detailed description thereof will be omitted.

도 3은 본 발명의 바람직한 실시예에 따른 스무딩(Smoothing) 필터를 구비한 영상 처리 장치를 도시한 블록 구성도이다. 도 3을 참조하면, 대상 물체의 영상을 촬상하는 영상 센서(310), 영상 처리 장치(320), 메모리(360) 및 베이스 밴드(Baseband) 또는 카메라 컨트롤 프로세서(CCP)가 도시되어 있으며, 영상 처리 장치(320)는 영상 처리부(330), 제이펙 인코더(340) 및 파일 크기 제어부(350)를 포함한다. 3 is a block diagram illustrating an image processing apparatus including a smoothing filter according to an exemplary embodiment of the present invention. Referring to FIG. 3, an image sensor 310, an image processing apparatus 320, a memory 360, and a baseband or camera control processor (CCP) for capturing an image of an object are illustrated. The device 320 includes an image processor 330, a JPEG encoder 340, and a file size controller 350.

영상 센서(310)로부터 입력된 영상 데이터는 영상 처리부(330)를 통과한 후, 제이펙 인코더(340)에서 압축된다. 베이스 밴드 혹은 카메라 컨트롤 프로세서(CCP)(370)로 압축된 데이터를 전송할 때, 주파수와 데이터 버스의 불일치로 인해 버퍼링을 할 수 있는 메모리(360)를 사용하게 된다. The image data input from the image sensor 310 passes through the image processor 330 and is then compressed by the JPEG encoder 340. When transmitting compressed data to the baseband or camera control processor (CCP) 370, a memory 360 capable of buffering may be used due to a mismatch between the frequency and the data bus.

여기서, 파일 크기 제어부(350)는 제이펙 인코더(340)로부터 출력되어 메모리(360)로 입력되는 영상 데이터 양을 측정하고 측정된 영상 데이터의 양에 상응하여 영상 처리 장치의 스무딩 필터의 온/오프를 제어한다. 즉, 본 발명에서는 파일 크기 제어부(350)라는 부가 회로를 두고 메모리(360)의 상태 정보를 분석하여 영상 처리부(330)의 필터들을 자동으로 가변 시킨다. 이러한 동작은 영상 센서(310)로부 터 입력된 고주파 성분을 스무딩(smoothing) 시키게 되어 결과적으로 제이펙 인코더(340)로부터 출력되는 데이터량을 조절하게 되어 버퍼링 메모리(360)에 로드되는 압축된 데이터량은 일정하게 유지된다. Here, the file size control unit 350 measures the amount of image data output from the JPEG encoder 340 and inputs to the memory 360, and on / off the smoothing filter of the image processing apparatus according to the measured amount of image data. To control. That is, according to the present invention, the filter of the image processor 330 is automatically changed by analyzing the state information of the memory 360 with an additional circuit called the file size controller 350. This operation smoothes the high frequency components input from the image sensor 310, and as a result, adjusts the amount of data output from the JPEG encoder 340, and thus the amount of compressed data loaded into the buffering memory 360. Remains constant.

파일 크기 제어부(350)는 제이펙 인코더(340)로부터 출력되어 메모리(360)로 입력되는 영상 데이터 양이 미리 설정된 기준값보다 크면 스무딩 필터를 작동시키고, 제이펙 인코더(340)로부터 출력되어 메모리(360)로 입력되는 영상 데이터 양이 미리 설정된 기준값보다 작으면 스무딩 필터를 작동시키지 않음으로써 출력되는 제이펙 파일의 크기를 일정하게 조절할 수 있다. 여기서, 미리 설정된 기준값은 영상 처리 장치(320)에 디폴트로 설정될 수도 있고, 사용자 인터페이스를 이용해서 사용자가 직접 설정할 수도 있다. 이경우 사용자는 메모리(360)의 크기에 상응하여 기준값을 조절할 수 있으며, 예를 들면, 메모리(360)의 크기가 작은 경우 사용자는 메모리(360)의 부담을 줄이기 위해 영상 데이터 양의 기준값을 작게 할 수 있다. The file size control unit 350 operates the smoothing filter when the amount of image data output from the JPEG encoder 340 and input to the memory 360 is greater than a preset reference value, and is output from the JPEG encoder 340 to output the memory 360. If the amount of the image data inputted at) is smaller than the preset reference value, the size of the output JPEG file can be adjusted uniformly by not operating the smoothing filter. Here, the preset reference value may be set to the image processing apparatus 320 by default or may be set directly by the user using the user interface. In this case, the user may adjust the reference value according to the size of the memory 360. For example, when the size of the memory 360 is small, the user may reduce the reference value of the amount of image data to reduce the burden of the memory 360. Can be.

또한, 영상 처리 장치(360)에는 미리 설정된 수의 스무딩 필터가 포함되어 있으며, 스무딩 필터는 영상 처리부(330)에 구비된 구성요소에 포함될 수도 있고, 별도의 필터로 구현될 수도 있다. 이에 대해서는 구체적인 실시예와 함께 자세히 설명한다. In addition, the image processing apparatus 360 may include a preset number of smoothing filters, and the smoothing filter may be included in a component included in the image processor 330 or may be implemented as a separate filter. This will be described in detail with specific embodiments.

도 4는 본 발명의 바람직한 실시예에 따른 영상 센서로부터 입력된 영상 데이터를 처리하는 영상 처리부와 제이펙 인코더를 도시한 블록 구성도이다. 도 4를 참조하면, 영상 센서(310), 영상 처리부(330), 제이펙 인코더(340)가 도시되어 있 으며, 영상 처리부(330)는 베이어 필터(Bayer Filter)(331), 보간부(Interpolation)(333), 감마 보정부(Gamma Correction)(335), 색채 보정부(Color Correction)(337) 및 포맷 변환부(RGB to YCbCr Converter)(339)를 포함한다. 4 is a block diagram illustrating an image processing unit and a Jpeg encoder for processing image data input from an image sensor according to an exemplary embodiment of the present invention. Referring to FIG. 4, an image sensor 310, an image processor 330, and a JPEG encoder 340 are shown. The image processor 330 includes a Bayer filter 331 and an interpolation unit. ) 333, a gamma correction unit 335, a color correction unit 337, and a format converter (RGB to YCbCr Converter) 339.

베이어 필터(331)는 대상 물체의 밝기와 색상을 모아 점으로 이루어진 영상을 만들기 위해 2차원 평면상에 RGB 각각의 밝기를 받아들이는 점들을 배치한다. 이러한 점들을 배치할 때 사람 눈에 가장 민감한 녹색의 비율이 50%, 레드와 블루는 각각 25%씩 할당하는 베이어 컬러 필터를 이용하여 베이어 패턴으로 배열된다. The Bayer filter 331 arranges the points receiving the respective brightnesses of RGB on the two-dimensional plane in order to collect the brightness and the color of the object and make an image composed of the points. When placing these dots, the Bayer pattern is arranged using a Bayer color filter that assigns 50% of the most sensitive green to the human eye and 25% of red and blue.

이후 보간부(Interpolation)(333)에서 영상 데이터에 대해 픽셀간 보간하며, 감마 보정부(Gamma Correction)(335) 및 색채 보정부(Color Correction)(337)에서 보간된 영상 데이터에 대해 감마 보정 및 색채/휘도 보정을 수행한다. 이러한 보간 및 보정을 수행하는 순서는 기술 구현의 상황에 따라서 서로 바뀔 수도 있다. 이후 포맷 변환부(RGB to YCbCr Converter)(339)는 RGB 정보로 저장된 영상 데이터를 YUV 포맷으로 변환하여 더 작은 데이터를 만들어낸다. 이러한 영상 처리부(330)의 구성 요소는 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게는 일반적인 내용이므로, 이에 대한 자세한 설명은 생략한다. The interpolation unit 333 interpolates the image data, and performs gamma correction on the image data interpolated by the gamma correction unit 335 and the color correction unit 337. Perform color / luminance correction. The order of performing such interpolation and correction may be interchanged depending on the situation of the technology implementation. The RGB to YCbCr Converter 339 then converts the image data stored as RGB information into the YUV format to produce smaller data. Since the components of the image processor 330 are general contents to those skilled in the art, detailed description thereof will be omitted.

여기서 베이어 필터(Bayer Filter)(331), 보간부(Interpolation)(333), 감마 보정부(Gamma Correction)(335), 색채 보정부(Color Correction)(337) 중 적어도 어느 하나는 스무딩 필터를 구비한다. 각각의 스무딩 필터는 영상 데이터의 고주파 성분을 저주파 성분으로 변환하며, 스무딩 필터를 통과하는 영상 데이터는 그 크기 가 작아 진다. Here, at least one of the Bayer filter 331, the interpolation unit 333, the gamma correction unit 335, and the color correction unit 337 includes a smoothing filter. do. Each smoothing filter converts high frequency components of the image data into low frequency components, and the image data passing through the smoothing filter is reduced in size.

도 5는 본 발명의 바람직한 실시예에 따른 영상 처리 장치에서 수행되는 가우시안 필터링 흐름도이다. 5 is a Gaussian filtering flowchart performed in an image processing apparatus according to a preferred embodiment of the present invention.

도 5를 참조하면, 스무딩 필터로서 3-tap 가우시안 필터(510)와 픽셀(520)이 도시되어 있으며, 픽셀(520)이 3-tap 가우시안 필터(510)에 통과하여 변환되는 식(530)이 예시적으로 도시되어 있다. 3번 픽셀은 3-tap 가우시안 필터(510)의 2번과 곱셈 연산을 한 후 2번 및 4번 픽셀과 합산되어 4번 픽셀의 값으로 나누어 질 수 있다. 즉, 3-tap 가우시안 필터(510)는 1,2, 3, 4, 5로 구분된 픽셀에 적용되어 고주파 성분을 스무딩(smoothing)하게 변환하여 제이펙 인코더의 압축률을 높임으로써 제이펙 출력 파일의 크기를 일정하게 유지할 수 있다. Referring to FIG. 5, a 3-tap Gaussian filter 510 and a pixel 520 are illustrated as a smoothing filter, and Equation 530 in which the pixel 520 passes through the 3-tap Gaussian filter 510 is converted. Illustrated illustratively. The third pixel may be multiplied with the second and third pixels of the 3-tap Gaussian filter 510 and then summed with the second and fourth pixels to be divided into four pixel values. That is, the 3-tap Gaussian filter 510 is applied to pixels divided into 1, 2, 3, 4, and 5 to smooth the high frequency components to increase the compression ratio of the Jpeg encoder to increase the compression rate of the JPEG output file. The size can be kept constant.

여기서는 스무딩 필터로서 가우시안 필터만 도시하였으나, 라플라시안 필터 등 다른 필터도 스무딩 필터의 역할을 수행할 수 있으면, 본 발명에 적용될 수 있다. Here, only the Gaussian filter is illustrated as the smoothing filter, but other filters such as a Laplacian filter may also be applied to the present invention as long as the filter can serve as a smoothing filter.

도 6은 본 발명의 바람직한 실시예에 따른 파일 크기 제어부를 도시한 블록 구성도이다. 도 6을 참조하면, 메모리(610)와 파일 크기 제어부(620)가 도시되어 있으며, 파일 크기 제어부(620)는 카운터(630), 비교기(640) 및 제어 신호 발생부(650)를 포함한다. 6 is a block diagram illustrating a file size control unit according to an exemplary embodiment of the present invention. Referring to FIG. 6, a memory 610 and a file size controller 620 are illustrated, and the file size controller 620 includes a counter 630, a comparator 640, and a control signal generator 650.

메모리(610)는 제이펙 인코더로부터 압축된 영상 데이터를 수신하며, 카운터(630)는 제이펙 인코더로부터 출력되어 메모리(610)에 입력되는 영상 데이터 크기/양을 측정한다. The memory 610 receives compressed image data from the JPEG encoder, and the counter 630 measures the size / amount of image data output from the JPEG encoder and input to the memory 610.

비교기(640)는 카운터(630)에서 측정된 영상 데이터 양을 미리 설정된 기준값과 비교하여 제어 기초 신호를 생성한다. 제어 기초 신호는 다양한 포맷으로 생성될 수 있으며, 도 6을 참조하면, 제어 기초 신호는 'almost full', 'almost empty', 'full' 및 'empty'의 4개로 분류된다. 이러한 분류는 파일 크기 제어부(620)에 디폴트로 또는 사용자 인터페이스를 통해서 사용자가 직접 설정할 수 있다. The comparator 640 generates a control base signal by comparing the amount of image data measured by the counter 630 with a preset reference value. The control basic signal may be generated in various formats. Referring to FIG. 6, the control basic signal is classified into four types of 'almost full', 'almost empty', 'full' and 'empty'. This classification may be set by default in the file size control unit 620 or directly by the user through the user interface.

제어 신호 발생부(650)는 비교기(640)로부터 입력된 제어 기초 신호에 상응하여 영상 처리부에 관련된 스무딩 필터의 온/오프를 제어하는 필터부 제어 신호를 생성한다. 제어 기초 신호는 필터부 제어 신호를 생성하는 기초 신호이며, 그 수가 서로 같지 않을 수 있다. 즉, 제어 기초 신호는 4개인 경우 필터부 제어 신호는 4개와 무관하게 정해질 수 있다. The control signal generator 650 generates a filter control signal for controlling on / off of the smoothing filter associated with the image processor in accordance with the control base signal input from the comparator 640. The control base signal is a base signal for generating the filter unit control signal, and the number may not be the same. That is, when there are four control base signals, the filter unit control signals may be determined irrespective of four.

여기서 필터부 제어 신호의 개수는 스무딩 필터의 개수와 동일하거나 작을 수 있다. 즉, 스무딩 필터의 개수가 4개인 경우 필터부 제어 신호의 개수는 4개 이하이고, 각각의 필터부 제어 신호는 상응하는 스무딩 필터의 온/오프를 제어할 수 있다. The number of filter control signals may be equal to or less than the number of smoothing filters. That is, when the number of smoothing filters is four, the number of filter control signals is four or less, and each filter control signal may control on / off of a corresponding smoothing filter.

이상에서 본 발명에 따른 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치를 일반적으로 도시한 시스템 구성도를 설명하였으며, 이하에서는 첨부 도 면을 참조하여, 본 발명에 따른 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치를 구체적인 실시예를 기준으로 설명하기로 한다. 본 발명에 따른 실시예는 크게 두가지로 구분되는데, 첫째, 영상 처리부의 각 구성요소에 구비된 다수의 스무딩 필터를 이용하여 제이펙 파일 크기를 제어하는 방법, 둘째, 별도로 구비된 다수의 스무딩 필터를 이용하여 제이펙 파일 크기를 제어하는 방법으로 나뉜다. 이하에서 차례대로 설명한다. In the above description, a system configuration diagram of an image processing method and apparatus for controlling a JPEG file size according to the present invention has been described in general. Hereinafter, with reference to the accompanying drawings, an image of a JPEG file size control according to the present invention may be described. The processing method and apparatus thereof will be described with reference to specific embodiments. Embodiments according to the present invention can be broadly classified into two types. First, a method of controlling a jpeg file size using a plurality of smoothing filters included in each component of an image processor, and second, a plurality of separately provided smoothing filters are provided. It is divided into the method of controlling the JPEG file size by using. It demonstrates in order below.

도 7은 본 발명의 바람직한 제1 실시예에 따른 영상 처리부의 각 구성요소에 구비된 다수의 스무딩 필터를 이용하여 제이펙 파일 크기를 제어하는 영상 처리 장치를 도시한 블록 구성도이다. 도 7을 참조하면, 제이펙 인코더(340)에서 출력되어 버퍼 메모리(710)로 입력되는 데이터가 FIFO에 쌓인 정도를 카운터(730)가 체크한다. 비교기(740)는 파일 크기를 조정하는데 설정된 수치(Register setting value for file size adjustment)를 참조하며, 제어 기초 신호(예를 들면, 'almost full', 'almost empty', 'full' 및 'empty'등)를 생성한다. 제어 신호 발생부(750)는 비교기(740)로부터 제어 기초 신호를 수신하여 필터부 제어 신호(예를 들면, 1, 2, 3, 4)를 출력한다. FIG. 7 is a block diagram illustrating an image processing apparatus for controlling a JPEG file size using a plurality of smoothing filters included in each component of an image processing unit according to a first exemplary embodiment of the present invention. Referring to FIG. 7, the counter 730 checks the degree of accumulation of data output from the JPEG encoder 340 and input to the buffer memory 710 in the FIFO. The comparator 740 refers to the register setting value for file size adjustment, and controls basic signals (e.g. 'almost full', 'almost empty', 'full' and 'empty'). And the like). The control signal generator 750 receives the control base signal from the comparator 740 and outputs a filter control signal (for example, 1, 2, 3, 4).

여기서, 제1 필터부 제어 신호(1)는 베이어 필터(331)의 스무딩 필터를 제어하고, 제2 필터부 제어 신호(2)는 보간부(333)의 스무딩 필터를 제어하고, 제3 필터부 제어 신호(3)는 색채 보정부(337)의 스무딩 필터를 제어하고, 제4 필터부 제어 신호(4)는 감마 보정부(335)의 스무딩 필터를 제어한다. 각각의 필터부 제어 신 호와 스무딩 필터 간의 결합은 임의적으로 결정될 수 있다. 이러한 필터부 제어 신호간의 조합은 제어 기초 신호에 따라서 달라질 수 있다. 예를 들면, 비교기(740)가 영상 데이터의 양/크기가 미리 설정된 수치보다 매우 크다고 판단되는 경우 제어 기초 신호 중 'full'을 생성하여 제어 신호 발생부(750)로 출력한다. 제어 신호 발생부(750)는 'full'의 신호를 수신하여 모든 스무딩 필터를 작동하는 신호를 발생하여 영상 처리부(330)로 전송함으로써 출력되는 제이펙 파일의 크기를 일정하게 유지할 수 있다. 여기서 스무딩 필터가 4개이고 필터부 제어 신호가 4개인 경우 각각의 필터부 제어 신호에 온/오프 두가지 방법이 있으므로, 스무딩 필터를 동작시키는 방법은 총 16가지가 된다. Here, the first filter part control signal 1 controls the smoothing filter of the Bayer filter 331, the second filter part control signal 2 controls the smoothing filter of the interpolation part 333, and the third filter part. The control signal 3 controls the smoothing filter of the color corrector 337, and the fourth filter control signal 4 controls the smoothing filter of the gamma corrector 335. The combination between each filter part control signal and the smoothing filter can be arbitrarily determined. The combination between the filter unit control signals may vary depending on the control base signal. For example, when the comparator 740 determines that the amount / size of the image data is much larger than a preset value, the comparator 740 generates 'full' among the control base signals and outputs the 'full' to the control signal generator 750. The control signal generator 750 may receive a signal of 'full', generate a signal for operating all smoothing filters, and transmit the signal to the image processor 330 to maintain a constant size of the output JPEG file. Here, when there are four smoothing filters and four filter control signals, there are two methods of turning on / off each filter control signal. Thus, a total of 16 smoothing filters are operated.

도 8은 본 발명의 바람직한 제2 실시예에 따른 별도로 구비된 다수의 스무딩 필터를 이용하여 제이펙 파일 크기를 제어하는 영상 처리 장치를 도시한 블록 구성도이다. 이하에서는 제1 실시예와의 차이점을 위주로 설명한다. FIG. 8 is a block diagram illustrating an image processing apparatus for controlling a JPEG file size using a plurality of separately provided smoothing filters according to a second exemplary embodiment of the present invention. Hereinafter, the differences from the first embodiment will be mainly described.

스무딩 필터부(800)는 포맷 변환부(RGB to YCbCr Converter)(339)로부터 영상 데이터를 수신하여 필터링하고 제이펙 인코더(340)로 출력한다. 스무딩 필터부(800)는 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 다수의 스무딩 필터를 포함하고 있다. 스무딩 필터는 동일한 종류의 필터가 다수 구비될 수도 있고, 서로 다른 종류의 필터가 다양하게 구비될 수도 있다. 예를 들면, 가우시안 필터가 여러 개 구비될 수도 있고, 스무딩 필터로서 역할을 수행할 수 있는 라플라시안 필터와 가우시안 필터가 서로 다양할 결합을 하면서 구비될 수도 있다. 제어 신호 발생부(750)에 출력하는 필터부 제어 신호는 스무딩 필터부(800)에 구비된 각각의 스무딩 필터의 온/오프를 제어한다. The smoothing filter unit 800 receives the image data from the format converter (RGB to YCbCr Converter) 339, filters the image data, and outputs the image data to the JPEG encoder 340. The smoothing filter unit 800 includes a plurality of smoothing filters for converting high frequency components of the image data into low frequency components. The smoothing filter may be provided with a plurality of filters of the same type, or may be provided with various filters of different types. For example, a plurality of Gaussian filters may be provided, or a Laplacian filter and a Gaussian filter, which may serve as smoothing filters, may be provided with various combinations. The filter unit control signal output to the control signal generator 750 controls on / off of each smoothing filter included in the smoothing filter unit 800.

본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 사상 내에서 당 분야에서 통상의 지식을 가진 자에 의하여 가능함은 물론이다.The present invention is not limited to the above embodiments, and many variations are possible by those skilled in the art within the spirit of the present invention.

상술한 바와 같이 본 발명에 따른 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치는 영상 처리 장치에 구비된 필터를 제어함으로써 제이펙 파일 크기를 제어 가능하다. As described above, the image processing method and apparatus for controlling the JPEG file size according to the present invention can control the JPEG file size by controlling a filter included in the image processing apparatus.

또한, 본 발명에 따른 제이펙 파일 크기 제어 가능한 영상 처리 방법 및 그 장치는 영상 처리 장치에 구비된 필터를 제어함으로써 미리 설정된 크기에 상응하여 제이펙 파일 크기를 제어함으로써 버퍼링 메모리 오버플로우를 막을 수 있다. In addition, the Jpek file size controllable image processing method and apparatus according to the present invention may prevent the buffering memory overflow by controlling the Jpek file size corresponding to a preset size by controlling a filter provided in the image processing device. .

Claims (15)

영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터가 구비된 영상 처리부;An image processor including a smoothing filter for converting high frequency components of the image data into low frequency components; 상기 영상 처리부로부터 입력된 영상 데이터를 압축하는 제이펙 인코더; 및A JPEG encoder for compressing image data input from the image processor; And 상기 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하고 상기 측정된 영상 데이터의 양에 상응하여 상기 영상 처리부의 스무딩 필터의 온/오프를 제어하는 파일 크기 제어부를 포함하는 영상 처리 장치.And a file size controller configured to measure an amount of image data output from the JPEG encoder and to control on / off of the smoothing filter of the image processor in accordance with the measured amount of image data. 제1항에 있어서,The method of claim 1, 상기 파일 크기 제어부는 상기 영상 데이터 양이 미리 설정된 기준값보다 크면 상기 스무딩 필터를 작동시키고, 상기 영상 데이터 양이 미리 설정된 기준값보다 작으면 상기 스무딩 필터를 작동시키지 않는 것을 특징으로 하는 영상 처리 장치.And the file size control unit operates the smoothing filter when the amount of the image data is greater than a preset reference value, and does not operate the smoothing filter when the amount of the image data is smaller than a preset reference value. 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터가 구비된 영상 처리부;An image processor including a smoothing filter for converting high frequency components of the image data into low frequency components; 상기 영상 처리부로부터 입력된 영상 데이터를 압축하는 제이펙 인코더; A JPEG encoder for compressing image data input from the image processor; 상기 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하는 카운터;A counter for measuring the amount of image data output from the JPEG encoder; 상기 카운터에서 측정된 영상 데이터 양을 미리 설정된 기준값과 비교하여 제어 기초 신호를 생성하는 비교기; 및A comparator configured to generate a control base signal by comparing the amount of image data measured by the counter with a preset reference value; And 상기 비교기로부터 입력된 상기 제어 기초 신호에 상응하여 상기 영상 처리부의 스무딩 필터의 온/오프를 제어하는 필터부 제어 신호를 생성하는 제어 신호 발생부를 포함하는 영상 처리 장치.And a control signal generation unit configured to generate a filter unit control signal for controlling on / off of the smoothing filter of the image processing unit in response to the control basic signal input from the comparator. 제3항에 있어서, 상기 영상 처리부는 The image processing apparatus of claim 3, wherein the image processor 영상 센서로부터 입력된 영상 데이터를 베이어 패턴으로 배열하는 베이어 필터부; A Bayer filter unit for arranging image data input from the image sensor in a Bayer pattern; 상기 베이어 필터로부터 입력된 영상 데이터를 보간하는 보간부;An interpolation unit which interpolates the image data input from the Bayer filter; 상기 보간부에서 보간된 영상 데이터를 감마 보정하는 감마 보정부; 및A gamma correction unit which gamma-corrects the image data interpolated by the interpolation unit; And 상기 감마 보정부로부터 입력된 영상 데이터를 색채 보정하는 색채 보정부를 포함하되, Including a color correction unit for color correction of the image data input from the gamma correction unit, 상기 베이어 필터부, 보간부, 감마 보정부 및 색채 보정부 중 적어도 어느 하나는 스무딩 필터를 포함하는 것을 특징으로 하는 영상 처리 장치. And at least one of the Bayer filter, the interpolator, the gamma corrector, and the color corrector comprises a smoothing filter. 제3항에 있어서, The method of claim 3, 상기 필터부 제어 신호는 상기 영상 데이터 양이 미리 설정된 기준값보다 크면 상기 스무딩 필터를 작동시키고, 상기 영상 데이터 양이 미리 설정된 기준값보다 작으면 상기 스무딩 필터를 작동시키지 않는 제어 신호인 것을 특징으로 하는 영상 처리 장치.The filter unit control signal may be a control signal that operates the smoothing filter when the amount of the image data is greater than a preset reference value, and does not operate the smoothing filter when the amount of the image data is less than a preset reference value. Device. 영상 센서로부터 입력된 영상 데이터에 대해서 영상 처리하는 영상 처리부-상기 영상 처리는 베이어 패턴 배열, 보간, 감마 보정 및 색채 보정 중 적어도 어느 하나를 포함함-; An image processor which performs image processing on image data input from an image sensor, the image processing including at least one of Bayer pattern arrangement, interpolation, gamma correction, and color correction; 상기 영상 처리부로부터 입력된 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 다수의 스무딩 필터가 구비된 스무딩 필터부;A smoothing filter unit having a plurality of smoothing filters for converting high frequency components of the image data input from the image processing unit into low frequency components; 상기 스무딩 필터부로부터 입력된 영상 데이터를 압축하는 제이펙 인코더; 및A JPEG encoder for compressing the image data input from the smoothing filter unit; And 상기 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하고 상기 측정된 영상 데이터의 양에 상응하여 상기 스무딩 필터의 온/오프를 제어하는 파일 크기 제어부를 포함하는 영상 처리 장치. And a file size control unit for measuring the amount of image data output from the JPEG encoder and controlling on / off of the smoothing filter in accordance with the measured amount of image data. 제6항에 있어서, The method of claim 6, 상기 파일 크기 제어부는 The file size control unit 상기 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하는 카운터;A counter for measuring the amount of image data output from the JPEG encoder; 상기 카운터에서 측정된 영상 데이터 양을 미리 설정된 기준값과 비교하여 제어 기초 신호를 생성하는 비교기; 및A comparator configured to generate a control base signal by comparing the amount of image data measured by the counter with a preset reference value; And 상기 비교기로부터 입력된 상기 제어 기초 신호에 상응하여 상기 스무딩 필터의 온/오프를 제어하는 필터부 제어 신호를 생성하는 제어 신호 발생부를 포함하는 것을 특징으로 하는 영상 처리 장치.And a control signal generator for generating a filter unit control signal for controlling on / off of the smoothing filter in response to the control basic signal input from the comparator. 제7항에 있어서, The method of claim 7, wherein 상기 필터부 제어 신호의 수는 상기 스무딩 필터부에 구비된 상기 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터의 수와 동일한 것을 특징으로 하는 영상 처리 장치.The number of the filter unit control signal is the same as the number of the smoothing filter for converting the high frequency component provided in the smoothing filter unit to a low frequency component. 제7항에 있어서, The method of claim 7, wherein 상기 필터부 제어 신호는 상기 영상 데이터 양이 미리 설정된 기준값보다 크면 상기 스무딩 필터를 작동시키고, 상기 영상 데이터 양이 미리 설정된 기준값보다 작으면 상기 스무딩 필터를 작동시키지 않는 제어 신호인 것을 특징으로 하는 영상 처리 장치.The filter unit control signal may be a control signal that operates the smoothing filter when the amount of the image data is greater than a preset reference value, and does not operate the smoothing filter when the amount of the image data is less than a preset reference value. Device. (a) 영상 처리부가 영상 데이터에 대해서 영상 처리를 하는 단계-상기 영상 처리는 베이어 패턴 배열, 보간, 감마 보정, 색채 보정 중 적어도 어느 하나를 포함함-;(a) the image processing unit performing image processing on the image data, the image processing including at least one of Bayer pattern arrangement, interpolation, gamma correction, and color correction; (b) 상기 영상 처리된 영상 데이터를 제이펙 인코더가 압축하는 단계; 및(b) a JPEG encoder compressing the image processed image data; And (c) 상기 압축된 영상 데이터를 메모리로 출력하는 단계를 포함하되, (c) outputting the compressed image data to a memory; 상기 단계 (a)는 스무딩 필터링을 수행하며, 상기 스무딩 필터링은 상기 제이펙 압축되어 메모리로 출력되는 영상 데이터 양에 상응하는 필터부 제어 신호에 의해 온/오프가 제어되는 영상 처리 방법. The step (a) performs smoothing filtering, wherein the smoothing filtering is controlled on / off by a filter control signal corresponding to the amount of image data compressed and output to the memory. 제10항에 있어서,The method of claim 10, 상기 필터부 제어 신호는 상기 영상 데이터 양이 미리 설정된 기준값보다 크면 상기 스무딩 필터링을 수행하도록 하고, 상기 영상 데이터 양이 미리 설정된 기준값보다 작으면 상기 스무딩 필터링을 수행하지 않도록 제어하는 신호인 것을 특징으로 하는 영상 처리 방법.The filter unit control signal is a signal for controlling the smoothing filtering when the amount of the image data is greater than a preset reference value and not performing the smoothing filtering when the amount of the image data is smaller than a preset reference value. Image processing method. (a) 영상 처리부가 영상 데이터에 대해서 영상 처리를 하는 단계-상기 영상 처리는 베이어 패턴 배열, 보간, 감마 보정, 색채 보정 중 적어도 어느 하나를 포 함함-;(a) the image processing unit performing image processing on the image data, wherein the image processing includes at least one of Bayer pattern arrangement, interpolation, gamma correction, and color correction; (b) 상기 영상 처리된 영상 데이터에 대해 스무딩 필터에서 영상 데이터의 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터링을 수행하는 단계;(b) performing smoothing filtering on the image processed image data by converting a high frequency component of the image data into a low frequency component in a smoothing filter; (c) 상기 스무딩 필터링된 영상 데이터를 제이펙 인코더가 압축하는 단계; 및(c) a JPEG encoder compressing the smoothed filtered image data; And (d) 상기 압축된 영상 데이터를 메모리로 출력하는 단계를 포함하되, (d) outputting the compressed image data to a memory; 상기 스무딩 필터는 상기 제이펙 인코더에서 압축되어 메모리로 출력되는 영상 데이터 양에 상응하는 필터부 제어 신호에 의해 온/오프가 제어되는 영상 처리 방법.And the smoothing filter is controlled on / off by a filter control signal corresponding to the amount of image data compressed by the JPEG encoder and output to the memory. 제12항에 있어서, The method of claim 12, (e) 상기 제이펙 인코더로부터 출력되는 영상 데이터 양을 측정하는 단계;(e) measuring the amount of image data output from the JPEG encoder; (f) 상기 측정된 영상 데이터 양을 미리 설정된 기준값과 비교하여 제어 기초 신호를 생성하는 단계; 및generating a control base signal by comparing the measured image data amount with a preset reference value; And (g) 상기 제어 기초 신호에 상응하여 스무딩 필터의 온/오프를 제어하는 필터부 제어 신호를 생성하는 단계를 더 포함하는 것을 특징으로 하는 영상 처리 방법.and (g) generating a filter unit control signal for controlling on / off of the smoothing filter in correspondence with the control basic signal. 제12항에 있어서, The method of claim 12, 상기 필터부 제어 신호의 수는 상기 스무딩 필터부에 구비된 상기 고주파 성분을 저주파 성분으로 변환하는 스무딩 필터의 수와 동일한 것을 특징으로 하는 영상 처리 방법.The number of the filter unit control signal is the same as the number of the smoothing filter for converting the high frequency component provided in the smoothing filter unit to a low frequency component. 제12항에 있어서, The method of claim 12, (h) 상기 필터부 제어 신호는 상기 영상 데이터 양이 미리 설정된 기준값보다 크면 상기 스무딩 필터를 작동시키고, 상기 영상 데이터 양이 미리 설정된 기준값보다 작으면 상기 스무딩 필터를 작동시키지 않는 단계를 더 포함하는 것을 특징으로 하는 영상 처리 방법.(h) the filter unit control signal may further include operating the smoothing filter if the amount of the image data is greater than a preset reference value, and disabling the smoothing filter if the amount of the image data is less than a preset reference value. An image processing method characterized by the above-mentioned.
KR1020050056099A 2005-06-28 2005-06-28 Method for processing image signal capable of controlling jpeg file size and apparatus thereof KR100634568B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050056099A KR100634568B1 (en) 2005-06-28 2005-06-28 Method for processing image signal capable of controlling jpeg file size and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050056099A KR100634568B1 (en) 2005-06-28 2005-06-28 Method for processing image signal capable of controlling jpeg file size and apparatus thereof

Publications (1)

Publication Number Publication Date
KR100634568B1 true KR100634568B1 (en) 2006-10-13

Family

ID=37626324

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050056099A KR100634568B1 (en) 2005-06-28 2005-06-28 Method for processing image signal capable of controlling jpeg file size and apparatus thereof

Country Status (1)

Country Link
KR (1) KR100634568B1 (en)

Similar Documents

Publication Publication Date Title
US11064209B2 (en) System and method for content adaptive clipping
US8233060B2 (en) Image data processing apparatus, image data processing method, and program
US8213498B2 (en) Bitrate reduction techniques for image transcoding
US9805442B2 (en) Fine-grained bit-rate control
KR102486233B1 (en) Method and apparatus for tone-mapping an image using a parametric tone-adjustment function
EP3434017B1 (en) Apparatus and method for encoding video information with adaptive calculation of quantization parameters in display stream compression
KR100504649B1 (en) Device for compressing image data
WO2009060970A1 (en) Signal processing apparatus and signal processing program
US20050024651A1 (en) Adaptive complexity scalable post-processing method
US8755621B2 (en) Data compression method and data compression system
US10142604B2 (en) Imaging apparatus and control method thereof
JPH02215278A (en) Image signal compressing encoder
US20170302932A1 (en) Apparatus and methods for perceptual quantization parameter (qp) weighting for display stream compression
TWI390959B (en) Video signal processing device, video signal processing method and video signal processing program
KR100634568B1 (en) Method for processing image signal capable of controlling jpeg file size and apparatus thereof
Hanhart et al. Evaluation of JPEG XT for high dynamic range cameras
US10951891B2 (en) Coding apparatus capable of recording raw image, control method therefor, and storage medium storing control program therefor
JP7256629B2 (en) Image encoding device and its control method and program
KR100252677B1 (en) Apparatus and method for controlling a jpeg file
Singh Recent Patents on Image Compression- A Survey
KR100771138B1 (en) Imaging device and image correcting method
JP2006271002A (en) Coding apparatus and coding method
CN114514743A (en) Server device and program
JP2005020386A (en) Image pickup device and image pickup method
JP2003163947A (en) Image-compression method, program, and digital camera

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120928

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20130926

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140929

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151001

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 13