KR101923971B1 - Imaging device and image processing method - Google Patents

Imaging device and image processing method Download PDF

Info

Publication number
KR101923971B1
KR101923971B1 KR1020120127622A KR20120127622A KR101923971B1 KR 101923971 B1 KR101923971 B1 KR 101923971B1 KR 1020120127622 A KR1020120127622 A KR 1020120127622A KR 20120127622 A KR20120127622 A KR 20120127622A KR 101923971 B1 KR101923971 B1 KR 101923971B1
Authority
KR
South Korea
Prior art keywords
image data
filter
image
unit
data
Prior art date
Application number
KR1020120127622A
Other languages
Korean (ko)
Other versions
KR20130069373A (en
Inventor
미네키 타오카
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to US13/715,195 priority Critical patent/US8934028B2/en
Publication of KR20130069373A publication Critical patent/KR20130069373A/en
Application granted granted Critical
Publication of KR101923971B1 publication Critical patent/KR101923971B1/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Studio Devices (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은, 외부 메모리를 거치지 않고 화상처리 후의 화상을 복수의 블록으로 분할하여 JPEG압축 부호화함으로써 효율적인 JPEG 압축 부호화가 가능하며, 또한 자연스러운 압축 화상을 생성할 수 있는 촬상 장치를 제공한다. 본 발명에 따른 촬상 장치는, 촬상 소자에 입력되는 광으로부터 화상 데이터를 생성하는 화상 처리부와, 상기 화상 데이터를 부호화하여 부호화 화상 데이터를 생성하는 부호화부와, 상기 부호화 화상 데이터를 저장하는 저장부를 포함한다.The present invention provides an imaging apparatus capable of efficiently compressing and encoding a JPEG image by dividing an image subjected to image processing without passing through an external memory into a plurality of blocks and performing JPEG compression encoding, and also capable of generating a natural compressed image. An image pickup apparatus according to the present invention includes an image processing unit for generating image data from light input to an image pickup device, an encoding unit for encoding the image data to generate encoded image data, and a storage unit for storing the encoded image data do.

Figure R1020120127622
Figure R1020120127622

Description

촬상 장치 및 화상 처리 방법{IMAGING DEVICE AND IMAGE PROCESSING METHOD}[0001] IMAGING DEVICE AND IMAGE PROCESSING METHOD [0002]

본 발명은 촬상 장치 및 화상처리 방법에 관한 것이다.The present invention relates to an image pickup apparatus and an image processing method.

JPEG방식에 의한 화상의 압축 부호화는, 하나의 화면 전체를 하나의 단위로서 처리한다. 반면에 디지털 스틸 카메라 등에 설치되는 LSI(Large Scale Integration)의 내부에서는, 라인 메모리의 용량을 절약하기 위하여 하나의 화상을 세로 방향의 복수의 블록으로 분할하여 처리한다. The compression encoding of an image by the JPEG method processes one screen as one unit. On the other hand, in an LSI (Large Scale Integration) installed in a digital still camera or the like, in order to save the capacity of the line memory, one image is divided into a plurality of blocks in the vertical direction and processed.

그로 인하여 하나의 화상 전부를 처리하여 JPEG압축이 가능한 상태로 하기 위해서는, 모든 블록의 처리를 종료하고, 상기 처리 결과를 SDRAM 등의 외부 메모리에 기록하여 상기 블록들과 상기 처리 결과를 결합할 필요가 있다. 그리고 JPEG 압축을 위한 JPEG 압축 부호화기는, 외부 메모리에 구성된 화상을 읽어내어 압축 부호화를 실행한다. 이를 위하여 디지털 스틸 카메라에서의 JPEG압축은, 항상 화상을 1개의 SDRAM 등의 외부 메모리에 기록하고, 또한 해당 외부 메모리로부터 독출하는 절차로 이루어진다. Therefore, in order to process all one image and make it possible to perform JPEG compression, it is necessary to end the processing of all the blocks and to record the processing result in an external memory such as SDRAM and combine the blocks and the processing result have. A JPEG compression encoder for JPEG compression reads an image composed in an external memory and performs compression encoding. For this purpose, JPEG compression in a digital still camera always includes a procedure of recording an image in an external memory such as one SDRAM and reading it from the external memory.

종래의 디지털 스틸 카메라의 속도 성능은, 촬상 소자의 속도 성능에 의해 결정되는 부분이 많았다. 또한 디지털 스틸 카메라의 속도 성능이 1초 동안에 3매에서 7매 정도의 연사 성능밖에 요구되지 않았다. 그러나 최근에는 촬상 소자의 고성능화가 진행되고, 그 해상도도 1200만 화소에서 2000만 화소 이상의 것이 이용되고 있는 추세이다. 또한, 최근에는 연사 성능도 1초 동안 10매에서 15매 정도의 속도 성능이 요구되고 있으며, 디지털 스틸 카메라에 요구되는 처리 성능은 종래의 카메라에 비하여 현격히 높아지고 있다. The speed performance of the conventional digital still camera is determined by the speed performance of the image pickup device. In addition, the speed performance of a digital still camera required only 3 to 7 frames of continuous shooting performance per second. However, in recent years, the performance of an image pickup device has progressed, and a resolution of 12 million pixels to 20 million pixels or more has been used. Also, in recent years, the speed performance of 10 to 15 frames per second is required for the continuous shooting performance, and the processing performance required for the digital still camera is significantly higher than that of the conventional camera.

상기와 같이 처리 성능이 높아져 화상의 JPEG압축 부호화를 위해 디지털 스틸 카메라는 화상을 외부 메모리로부터 읽거나 상기 외부 메모리에 쓰기를 매회 되풀이하게 된다. 또한 그에 따라 소비 전력이 증대하고, 읽고 쓰기의 증가에 따른 속도 저하의 해소를 위해 탑재된 외부 메모리 수가 증가하고, 외부 메모리 수의 증가에 따라 디지털 스틸 카메라의 가격이 상승하는 등의 발생한다. 따라서 외부 메모리로의 읽고 쓰기를 가능한 한 하지 않고 화상의 JPEG압축 부호화를 실행할 필요성이 높아지고 있다. As a result, the digital still camera reads the image from the external memory or repeatedly writes the image in the external memory for JPEG compression coding of the image. In addition, the power consumption increases and the number of external memories mounted increases in order to solve the decrease in speed due to the increase of reading and writing, and the price of the digital still camera increases as the number of external memories increases. Therefore, there is an increasing need to perform JPEG compression coding of an image without making it possible to read and write data to an external memory.

한편 JPEG압축 부호화는, DCT을 기본으로 하는 부호화로서, 수직 8 화소 단위로밖에 부호화할 수 없다. 일반적으로 최하부까지 8화소가 되지 않는 경우에는, 최종 라인을 복사하거나, 블랙 라인을 삽입함으로써 상기 최하부를 부호화하는 방법을 사용하였다. 그러나 최종 라인을 복사하거나, 블랙 라인을 삽입하여 최하부를 부호화하면, 최하부에 해당하는 화상이 부자연스러운 화상이 되는 문제가 있다. On the other hand, JPEG compression coding is based on DCT, and can be encoded only in units of 8 pixels vertically. Generally, in the case where the lowermost portion does not reach 8 pixels, a method of copying the last line or coding the lowermost portion by inserting a black line is used. However, if the last line is copied or the black line is inserted to encode the lowermost portion, there is a problem that an image corresponding to the lowermost portion becomes an unnatural image.

따라서 본 발명은 상기와 같은 문제를 감안하여 이루어진 것으로, 본 발명의 목적은, 외부 메모리를 통하지 않고 화상 처리 후의 화상을 복수의 블록으로 분할하여 JPEG압축 부호화할 수 있을 뿐만 아니라 JPEG 압축부호화 시에 효율성 있는 JPEG압축 부호화가 가능하고 자연스러운 압축 화상을 생성할 수 있는 촬상 장치 및 화상처리 방법을 제공함에 있다. SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide an image processing apparatus and a method thereof, which can divide an image after image processing into a plurality of blocks, An image pickup apparatus and an image processing method capable of JPEG compression encoding and capable of generating a natural compressed image.

상기한 과제를 해결하기 위해, 본 발명의 일 실시예에 따른 촬상 장치는, 촬상 소자에 입력된 광으로부터 화상 데이터를 생성하는 화상 처리부와, 상기 화상 데이터를 부호화하여 부호화 화상 데이터를 생성하는 부호화부와, 상기 부호화 화상 데이터를 저장하는 저장부를 포함하며, 상기 화상 처리부는, 상기 화상 데이터를 가로방향으로 복수의 블록으로 분할하여 상기 부호화부에 공급하고, 상기 화상 처리부는, 상기 화상 데이터에 대하여 소정의 필터 처리를 수행하는 적어도 하나의 필터부와, 상기 필터부의 필터 처리를 제어하는 필터 제어부를 포함하며, 상기 필터 제어부는, 상기 화상 데이터의 수직 화소 수의 정보를 취득하고, 상기 화상 데이터의 수직 화소 수가 미리 설정된 부호화 단위의 수직 화소 수로 나누어 떨어지지 않는 경우 나누어 떨어질 때까지 상기 화상 데이터의 가장 마지막 행의 데이터를 복사하여 상기 화상 데이터에 추가하도록 상기 필터부를 제어함을 특징으로 한다.According to an aspect of the present invention, there is provided an image pickup apparatus including an image processing section for generating image data from light input to an image pickup element, an encoding section for encoding the image data to generate encoded image data, And a storage unit for storing the encoded image data, wherein the image processing unit divides the image data into a plurality of blocks in the horizontal direction and supplies the divided data to the encoding unit, And a filter control unit for controlling a filter process of the filter unit, wherein the filter control unit acquires information on the number of vertical pixels of the image data, If the number of pixels is not divided by the number of vertical pixels of a predetermined coding unit, The control unit controls the filter unit to copy the data of the last row of the image data until the data is copied and add the data of the last row of the image data to the image data.

상기와 같은 구성에 의하면, 상기 필터부가 수행하는 소정의 필터 처리는, 입력 데이터의 화소 수와 출력 데이터의 화소 수가 일치하도록 하는 필터 처리이다. 또한 상기 화상 처리부는, 상기 필터부를 적어도 2개 포함하고, 상기 적어도 2개의 필터부들은, 종속 접속되며상기 적어도 2개의 필터부들 중 최후 단의 필터부는, 입력 데이터의 화소 수와 출력 데이터의 화소 수가 일치하도록 하는 필터 처리를 수행한다. 또한 상기 화상 처리부는, 상기 부호화 화상 데이터의 수직 화소 수를 취득하고, 상기 부호화 화상 데이터의 수직 화소 수가 부호화 단위인 수직 화소 수로 나누어 떨어지지 않은 경우 상기 부호화 단위에서 부족한 만큼을 상기 화상 데이터의 상하로 분담하여 상기 부호화 화상 데이터를 생성함을 특징으로 한다. 이로써 본 발명에 따른 디지털 스틸 카메라는 외부 메모리를 거치지 않고 화상처리 후의 화상을 복수의 블록으로 분할하여 JPEG압축 부호화할 때, 효율적으로 JPEG압축 부호화할 수 있으며 또한 자연스러운 압축 화상을 생성할 수 있다. According to the above configuration, the predetermined filter processing performed by the filter unit is a filter process for making the number of pixels of input data coincide with the number of pixels of output data. The image processing unit includes at least two filter units, the at least two filter units are cascade-connected, and the filter unit at the rearmost end of the at least two filter units has a number of pixels of input data and a number of pixels of output data And performs a filter process for matching them. The image processing unit acquires the number of vertical pixels of the coded image data, and when the number of vertical pixels of the coded image data is not divided by the number of vertical pixels, which is a coding unit, And generates the encoded image data. As a result, the digital still camera according to the present invention can efficiently JPEG compress and encode the image after image processing without dividing it into a plurality of blocks without going through an external memory, and can generate a natural compressed image.

본 발명의 일 실시예에 따른 화상처리 방법은, 촬상 소자로의 입광으로부터 화상 데이터를 생성하는 화상처리과정과, 상기 화상 데이터를 부호화하여 부호화 화상 데이터를 생성하는 부호화과정과, 상기 부호화 화상 데이터를 저장하는 저장과정을 포함하고, 상기 화상처리과정에서, 상기 화상 데이터가 가로방향으로 복수의 블록들로 분할되면, 상기 기억과정을 상기 부호화과정에서 상기 화상 데이터가 부호화되며, 상기 화상처리과정은, 상기 화상 데이터에 대한 소정의 필터 처리를 수행하는 적어도 하나의 필터처리과정과, 상기 필터과정에서의 상기 필터 처리를 제어하는 필터제어과정을 포함하고, 상기 필터제어과정은, 상기 부호화과정에서 부호화되는 상기 화상 데이터의 수직 화소 수를 취득하고, 상기 화상 데이터의 수직 화소 수가 상기 부호화 스텝에서의 부호화 단위인 수직 화소 수로 나누어 떨어지지 않는 경우 나누어 떨어질 때까지, 상기 화상 데이터의 가장 마지막 행의 데이터를 복사하여 상기 화상 데이터에 추가하도록 상기 필터처리과정에서의 상기 필터 처리를 제어하는 과정을 포함한다.An image processing method according to an embodiment of the present invention includes an image processing step of generating image data from an incident light to an image pickup element, a coding step of coding the image data to generate encoded image data, Wherein in the image processing step, if the image data is divided into a plurality of blocks in a horizontal direction, the image data is encoded in the encoding step, and the image processing step comprises: At least one filter process for performing a predetermined filter process on the image data, and a filter control process for controlling the filter process in the filter process, wherein the filter control process comprises: Acquires the number of vertical pixels of the image data, A step of controlling the filter processing in the filter processing so that data of the last row of the image data is copied and added to the image data until the image data is divided by the number of vertical pixels divided by the number of vertical pixels .

이상 설명한 바와 같이 본 발명에 따르면, 외부 메모리를 거치지 않고 화상처리 후의 화상을 복수의 블록으로 분할하여 JPEG압축 부호화함으로써 효율적인 JPEG압축 부호화가 가능하고, 자연스러운 압축 화상을 생성하는 것이 가능한 촬상 장치 및 화상처리 방법을 제공할 수 있다. As described above, according to the present invention, there is provided an image pickup apparatus and an image processing method capable of efficiently compressing a JPEG image by dividing an image subjected to image processing without passing through an external memory into a plurality of blocks and performing JPEG compression encoding, Method can be provided.

도 1은 종래 기술에 따른 디지털 스틸 카메라의 JPEG 압축 부호화를 도시한 도면,
도 2는 종래 기술에 따라 블록들 간에 차분 부호화를 사용할 수 없는 경우를 설명하기 위한 도면,
도 3은 종래 기술에 따른 화상 데이터를 나타낸 도면,
도 4는 본 발명의 일 실시 예에 따른 디지털 스틸 카메라의 구성을 나타낸 블록도,
도 5는, 본 발명의 일 실시 예에 따른 디지털 스틸 카메라에 포함된 현상부의 구성을 나타낸 블록도,
도 6은 링 픽셀을 제거하는 통상의 필터 처리에 대하여 도시한 도면,
도 7은 본 발명의 일 실시 예에 따른 디지털 스틸 카메라에 포함된 현상부의 제1 내지 제3필터부에 의한 필터 처리를 나타낸 도면,
도 8은, 본 발명의 일 실시 예에 따른 디지털 스틸 카메라의 동작을 나타내는 순서도,
도 9는 본 발명의 일 실시예에 따른 디지털 스틸 카메라에 포함된 현상부의 제1 내지 제3필터부에 의한 필터 처리를 나타낸 도면, 그리고
도 10은 본 발명의 다른 실시예에 따른 현상부를 포함하는 디지털 스틸 카메라의 구성을 나타낸 블록도이다.
FIG. 1 is a diagram showing a JPEG compression coding of a digital still camera according to the prior art,
2 is a diagram for explaining a case where differential coding between blocks can not be used according to the prior art,
3 is a diagram showing image data according to the prior art,
4 is a block diagram illustrating the configuration of a digital still camera according to an exemplary embodiment of the present invention.
5 is a block diagram showing the configuration of a developing unit included in a digital still camera according to an embodiment of the present invention;
Fig. 6 is a diagram showing a normal filter process for removing ring pixels, Fig.
FIG. 7 is a view illustrating filter processing by the first to third filter units of the developing unit included in the digital still camera according to the embodiment of the present invention; FIG.
8 is a flowchart showing an operation of a digital still camera according to an embodiment of the present invention;
9 is a view showing a filter process by the first to third filter units of the developing unit included in the digital still camera according to the embodiment of the present invention, and
10 is a block diagram illustrating the configuration of a digital still camera including a developing unit according to another embodiment of the present invention.

이하, 첨부 도면을 참조하면서 본 발명의 바람직한 실시 예에 대해서 상세하게 설명한다. 아울러, 본 명세서 및 도면에 있어서, 실질적으로 동일한 기능 구성을 가지는 구성요소에 대해서는 동일한 부호를 사용함으로써 중복설명을 생략한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the present specification and drawings, elements having substantially the same functional configuration are denoted by the same reference numerals, and redundant description will be omitted.

1. 종래 기술 및 그 문제점1. Prior art and its problems

우선, 본 발명의 바람직한 실시 예에 대해서 상세하게 설명하기 전에, 종래 기술 및 종래 기술의 문제점에 대하여 설명하기로 한다.Before describing the preferred embodiments of the present invention in detail, problems of the prior art and the prior art will be described.

도 1은 종래 기술에 따른 디지털 스틸 카메라의 JPEG 압축 부호화를 도시한 도면이다. 또한 도 1은 일본 특허 공개공보 제2007-267349호(이하, ‘인용특허’라 한다)에 기재되어 있는 발명의 구성을 나타내는 도면이기도 하다.1 is a diagram showing JPEG compression coding of a digital still camera according to the related art. 1 is a diagram showing the configuration of the invention described in Japanese Patent Application Laid-Open No. 2007-267349 (hereinafter referred to as "patent citation").

상기 인용특허는 JPEG압축 부호화 시의 외부 메모리로의 액세스를 경감하기 위해, 1개의 화상을 세로로 분할하고, 세로로 분할한 복수의 블록들 각각에 대하여 RST 마커 코드를 부가하는 발명에 대하여 서술하고 있다.The above cited patent describes an invention in which one image is vertically divided and an RST marker code is added to each of a plurality of vertically divided blocks in order to reduce access to the external memory at the time of JPEG compression coding have.

상기와 같은 종래 기술에서의 JPEG압축 부호화는, 반드시 1개의 화상 전체에 행해야 하는 것은 아니며, 화상의 일부를 RST 마커 코드로 나누어 부호화하는 방식도 적용 가능하다. 도 1에서는 1개의 화상을 4개의 블록들(타일 0, 타일 1, 타일 2, 타일 3)로 분할하고, 블록들 각각의 MCU 라인의 가장 우측에 RST 마커 코드를 부가하여 압축 부호화하고 있다. 상기와 같이, 종래 기술에서 하나의 화상을 복수의 블록들로 분할하는 경우에는, 블록들 각각에 포함된 MCU 라인의 끝에 RST 마커 코드를 붙여서 부호화한다.The JPEG compression coding in the conventional technique as described above is not necessarily performed on one entire image, and a method of coding a part of the image by dividing the RST marker code into RST marker codes is also applicable. In FIG. 1, one picture is divided into four blocks (tile 0, tile 1, tile 2, and tile 3), and RST marker code is added to the rightmost MCU line of each block to compress-encode. As described above, when dividing one picture into a plurality of blocks in the conventional art, an RST marker code is attached to the end of the MCU line included in each of the blocks, and is encoded.

그러나 상기와 같이 부호화하면 데이터의 보존 방향이 블록 단위가 되어, 상기 보존 방향이 '타일 0 -> 타일 1 -> 타일 2 -> 타일 3'이 되지는 않는다. 따라서 부호화 후의 화상 데이터를 보존하기 위해서는, 부호화한 데이터를 '타일 0의 최상 행의 MCU 라인 -> 타일 1의 최상 행의 MCU 라인 -> …'과 같은 순서로 다시 배열할 필요가 있다. However, if the data is coded as described above, the data storage direction becomes block unit, and the storage direction does not become 'tile 0 -> tile 1 -> tile 2 -> tile 3'. Therefore, in order to preserve the encoded image data, the encoded data is referred to as the MCU line of the top row of the tile 0 -> the MCU line of the top row of the tile 1 -> ... 'And so on.

JPEG의 부호화에서는 가변 길이 부호화를 사용하기 때문에, 화소마다 또는 MCU 마다의 부호량은 일정하지 않으며, 바이트 단위도 아니다. 단, RST 마커 코드는 바이트의 경계에 있어야 하므로 MCU 열들 각각은 바이트 단위가 되고, 그에 따라 외부 메모리에서의 취급은 간단해진다. Since JPEG coding uses variable length coding, the code amount per pixel or per MCU is not constant, nor is it in units of bytes. However, since the RST marker code must be at the boundary of bytes, each of the MCU columns is in units of bytes, and handling in the external memory is thereby simplified.

그러나 인용특허에 기재되어 있는 RST 마커 코드를 부가하여 압축하는 방법은 아래와 같은 문제점을 가진다. However, the method of adding and compressing the RST marker code described in the cited patent has the following problems.

먼저, RST 마커 코드를 부가하여 압축하면 부호화 효율이 저하된다. 상기 인용특허에 따른 분할 화상 처리 시스템에서의 JPEG 압축 부호화는 JPEG 좌측의 블록 정보를 기초로 차분을 취하고, 상기 차분을 이용하여 DC예측을 행함으로써 부호화가 이루어진다. 화상을 복수의 블록으로 분할하고, RST 마커 코드로 나누는 경우, 블록 단위로 차분이 리셋되기 때문에 구성은 간단할 수 있지만, 그만큼 RST 마커 코드 부호를 부가할 필요성이 생기고, 또 블록들 간에 차분 부호화를 사용할 수 없기 때문에 부호화 효율이 저하된다. First, if the RST marker code is added and compressed, the encoding efficiency is lowered. In the JPEG compression coding in the divided image processing system according to the cited patent, coding is performed by taking a difference on the basis of the block information on the left side of the JPEG and performing DC prediction using the difference. In the case of dividing an image into a plurality of blocks and dividing the image into RST marker codes, since the difference is reset in units of blocks, the configuration can be simple. However, there is a need to add RST marker code codes thereto and differential coding Coding efficiency is lowered because it can not be used.

도 2는 종래 기술에 따라 블록들 간에 차분 부호화를 사용할 수 없는 경우를 설명하기 위한 도면이다. 도 2에 도시된 바와 같이, 동일한 블록 내에서는 MCU 사이에 DC 예측을 행하여 부호화할 수 있다. 그러나, 블록을 넘어 버리면 차분 부호화를 사용할 수 없으므로, 이 블록을 넘은 부분(타일 0 -> 타일 1)에서의 부호화 효율이 저하된다. 2 is a diagram for explaining a case where differential coding between blocks can not be used according to the related art. As shown in Fig. 2, in the same block, DC prediction can be performed between MCUs to perform coding. However, if the block is exceeded, the differential encoding can not be used, and the coding efficiency at the portion beyond this block (tile 0 -> tile 1) is lowered.

다음으로 RST 마커 코드를 부가한 압축에는, 화상 사이즈의 제한이 있다. RST 마커 코드간의 화상 사이즈는 일정할 필요가 있다. 통상적으로 디지털 스틸 카메라 JPEG에서는 휘도 성분으로 수평 16화소 단위에서의 처리를 행하기 때문에, 각각의 블록은 16화소 단위이어야 한다. 예를 들면 4개의 블록에 세로 길이로 분할하는 구성이면, 64화소 단위로만 화상 사이즈를 변경할 수 있다. Next, there is a limitation on the image size in the compression in which the RST marker code is added. The image size between the RST marker codes needs to be constant. Normally, a digital still camera JPEG performs processing in units of horizontal 16 pixels with luminance components, and therefore, each block must be in units of 16 pixels. For example, in the case of a configuration in which four blocks are divided into vertical lengths, the image size can be changed only in units of 64 pixels.

통상적으로 블록의 크기는 수평 256pixel, 512pixel 등으로 작아지고 있는 반면에, 화상 전체는 5000~8000pixel등으로 커지고 있다. 이 때문에, 예를 들어 32블록으로 화상을 분할하여 처리하면 256화소 단위로만 화상사이즈를 변경할 수 있다. Normally, the size of a block is reduced to 256 pixels horizontally or 512 pixels wide, while the entire image is enlarged to 5000 to 8000 pixels or the like. For this reason, for example, if the image is divided and processed into 32 blocks, the image size can be changed only in units of 256 pixels.

그러나 상기와 같이 적절한 촬상 소자는 많지 않으며, 나누어 떨어지지 않는 부분은 화상의 우측에 블랙을 삽입해야만 한다. 도 3은 종래 기술에 따른 화상 데이터를 나타낸 도면으로서, 종래 기술에 따라 우측에 블랙을 삽입할 필요가 발생한 화상을 나타낸 도면이다. 도 3에 도시된 화상 데이터(310)의 사이즈는 가로 7952화소이고, 블록들 각각의 폭은 256화소이다. 그에 따라 도 3에 도시된 화상 데이터(310) 중 가장 우측의 블록(311)은 16화소의 폭을 가지는 화상 데이터(321)만이 실제의 화상 데이터이다. 그에 따라 블록으로서의 처리를 위하여 나머지 240 화소의 폭을 가지는 화상 데이터(322)에는 블랙(black)의 데이터를 삽입하였다.However, as described above, there are not many suitable image pickup devices, and a portion that does not divide must insert black on the right side of the image. FIG. 3 is a diagram showing image data according to the related art, and shows an image in which it is necessary to insert black on the right side according to the related art. The size of the image data 310 shown in Fig. 3 is 7952 pixels in width, and the width of each of the blocks is 256 pixels. Accordingly, the rightmost block 311 of the image data 310 shown in Fig. 3 is only image data 321 having a width of 16 pixels, which is actual image data. Accordingly, black data is inserted in the image data 322 having the remaining 240 pixels for processing as a block.

따라서, 본 발명에서는, 외부 메모리를 거치지 않고 화상 처리한 화상 데이터를 복수의 블록들로 분할하여 JPEG 압축 부호화할 때, 부호화 효율을 저하시키지 않으면서 복수의 블록들의 화상 사이즈를 제한하지 않고 JPEG 압축 부호화를 수행하는 동시에 압축 후에도 화상 데이터의 결합을 용이하게 할 수 있는 촬상 장치를 제공하기로 한다.
Therefore, in the present invention, when image data obtained by performing image processing without passing through an external memory is divided into a plurality of blocks and subjected to JPEG compression coding, the image size of a plurality of blocks is not limited without lowering the coding efficiency, And an image pickup apparatus which can easily combine image data even after compression is performed.

2. 본 발명의 실시 예 2. Embodiments of the Invention

[디지털 스틸 카메라의 기능 구성 예] [Example of function configuration of digital still camera]

먼저 본 발명의 일 실시 예에 따른 디지털 스틸 카메라의 구성에 대하여 설명하기로 한다. 도 4는 본 발명의 일 실시 예에 따른 디지털 스틸 카메라의 구성을 나타낸 블록도이다. 도 4를 참조하면 디지털 스틸 카메라(100)는, 카메라부(102), CPU(104), ROM(105), 멀티플렉서(MUX)(106), 현상부(110), 화상 압축부(112), 왜곡 보정 처리부(113), 메모리 카드(114), LCD(116), SDRAM I/F(118) 및 SDRAM(120)을 포함하여 구성될 수 있다. First, the configuration of a digital still camera according to an embodiment of the present invention will be described. 4 is a block diagram illustrating the configuration of a digital still camera according to an exemplary embodiment of the present invention. 4, the digital still camera 100 includes a camera unit 102, a CPU 104, a ROM 105, a multiplexer (MUX) 106, a development unit 110, an image compression unit 112, Distortion correction processor 113, a memory card 114, an LCD 116, an SDRAM I / F 118, and an SDRAM 120, as shown in FIG.

도 4에 도시하지는 않았지만 카메라부(102)는 줌 렌즈, 포커스 렌즈, 베이어 배열의 색 필터가 설치된 촬상소자 등으로 이루어질 수 있으며, 피사체로부터의 빛을 촬상 소자로 광전 변환하고, 촬상 소자로부터의 베이어 배열의 RGB 화상 데이터를 출력한다. 여기서, 촬상 소자는 CCD 이미지 센서 또는 CMOS 이미지 센서로 구현될 수 있다. 카메라부(102)는 베이어 배열의 RGB 화상 데이터를 생성한다. 또한 카메라부(102)는, 생성된 상기 RGB 화상 데이터를 SDRAM I/F(118)을 통해 SDRAM(120)에 전송하거나 또는 직접 멀티플렉서(106)로 전송한다. 이하에서는, 설명의 편이를 위하여 카메라부(102)로부터 출력되는 베이어 배열의 RGB 화상 데이터를 '데이터'라 하기로 한다. Although not shown in FIG. 4, the camera unit 102 may be composed of a zoom lens, a focus lens, an imaging element provided with a color filter arranged in a Bayer array, etc., and photoelectrically converts light from the object into an image pickup element, And outputs RGB image data of the array. Here, the image pickup element may be implemented as a CCD image sensor or a CMOS image sensor. The camera unit 102 generates RGB image data in Bayer arrangement. The camera unit 102 transfers the generated RGB image data to the SDRAM 120 via the SDRAM I / F 118 or directly to the multiplexer 106. [ Hereinafter, for convenience of explanation, the RGB image data of the Bayer array outputted from the camera unit 102 will be referred to as 'data'.

CPU(104)는 디지털 스틸 카메라(100)에 포함된 구성요소들 각각의 동작을 제어한다. ROM(105)에는 디지털 스틸 카메라(100)의 동작 제어에 이용되는 각종 프로그램이나 설정 정보가 저장된다. 멀티플렉서(106)에는 카메라부(102)에서 생성되어 출력되는 데이터와 SDRAM(120)에 저장된 화상 데이터가 입력된다. 멀티플렉서(106)는 상기 데이터 또는 화상 데이터를 현상부(110)에 전송한다. The CPU 104 controls the operation of each of the components included in the digital still camera 100. The ROM 105 stores various programs and setting information used for controlling the operation of the digital still camera 100. The multiplexer 106 receives the data generated and output by the camera unit 102 and the image data stored in the SDRAM 120. The multiplexer 106 transmits the data or image data to the developing section 110. [

현상부(110)는 카메라부(102)에서 생성된 데이터, 즉 촬상 소자에 입력된 광을 이용하여 화상 데이터를 생성한다. 화상 데이터는 휘도 신호와 색차 신호를 포함하는 YCbCr정보로 이루어지며, 현상부(110)는 상기 데이터를 현상 처리하여 상기 화상 데이터를 생성한다. 현상부(110)에 의하여 생성된 화상 데이터는 화상 압축부(112)로 전달된다. The developing unit 110 generates image data using data generated by the camera unit 102, that is, light input to the image pickup device. The image data is composed of YCbCr information including a luminance signal and a color difference signal, and the developing section 110 develops the data to generate the image data. The image data generated by the developing unit 110 is transferred to the image compressing unit 112.

화상 압축부(112)는 현상부(110)에 의해 생성된 화상 데이터에 대하여 소정의 화상압축 처리를 수행한다. 화상 압축부(112)는 상기 화상 데이터에 대한 소정의 화상압축 처리로서 상기 화상 데이터를 JPEG로 압축 처리한다. CPU(104)의 제어 하에 화상 압축부(112)에 의하여 압축 처리된 화상 데이터, 즉 부호화 화상 데이터는 SDRAM I/F(118)을 통하여 SDRAM(120)으로 전달된다. The image compressing section 112 performs predetermined image compression processing on the image data generated by the developing section 110. [ The image compression section 112 compresses the image data by JPEG as predetermined image compression processing on the image data. The image data compressed by the image compression unit 112 under the control of the CPU 104, that is, the coded image data, is transferred to the SDRAM 120 through the SDRAM I /

왜곡 보정 처리부(113)는 SDRAM(120)로 제공되는 클럭의 공급을 제어함으로써 소비 전력을 억제하는 동시에, SDRAM(120)에 저장된 부호화 화상 데이터에 대한 왜곡을 보정한다. 상기와 같이 왜곡 보정 처리부(113)에 의하여 SDRAM(120)에 저장된 부호화 화상 데이터의 왜곡이 보정될 수 있다. The distortion correction processor 113 controls the supply of the clock to the SDRAM 120 to suppress the power consumption and at the same time corrects the distortion of the encoded image data stored in the SDRAM 120. [ The distortion of the encoded image data stored in the SDRAM 120 can be corrected by the distortion correction processing unit 113 as described above.

메모리 카드(114)에는 화상 압축부(112)에 의하여 압축되고 SDRAM(120)에 저장된 부호화 화상 데이터가 저장된다. 부호화 화상 데이터는, CPU(104)의 제어 하에 메모리 카드(114)에 기록될 수 있다. The memory card 114 stores encoded image data compressed by the image compression unit 112 and stored in the SDRAM 120. [ The coded image data can be recorded in the memory card 114 under the control of the CPU 104. [

LCD(116)는 디지털 스틸 카메라(100)의 각종 설정 화면을 표시한다. 또한 LCD(116)는 카메라부(102)에 의해 생성된 데이터를 리얼 타임(real time)으로 표시(예를 들어, 라이브 뷰(Live view) 표시)하거나, 또는 메모리 카드(114)에 저장된 부호화 화상 데이터를 표시할 수 있다. 본 실시 예에서는 디지털 스틸 카메라(100)의 각종 데이터를 표시하기 위하여 LCD(116)를 사용하고 있지만, 본 발명의 다른 실시예에 따라 디지털 스틸 카메라(100)는 LCD(116) 이외의 표시 디바이스, 예를 들면 유기 EL 등의 표시 디바이스를 이용하여 상기 디지털 스틸 카메라(100)의 각종 데이터를 표시할 수도 있다.The LCD 116 displays various setting screens of the digital still camera 100. The LCD 116 also displays the data generated by the camera unit 102 in real time (for example, in live view) or displays the encoded image stored in the memory card 114 Data can be displayed. In this embodiment, the LCD 116 is used to display various data of the digital still camera 100. However, according to another embodiment of the present invention, the digital still camera 100 may include a display device other than the LCD 116, For example, various data of the digital still camera 100 may be displayed using a display device such as an organic EL.

SDRAM I/F(118)은 SDRAM(120)과의 사이에 위치하는 인터페이스로서, SDRAM(120)에 데이터를 기록하거나 또는 SDRAM(120)으로부터 데이터를 독출하는 경우에 상기 기록 또는 독출을 중개한다. SDRAM(120)은 카메라부(102)에 의해 생성된 데이터(예를 들어, 화상 데이터)나, 현상부(110)에 의해 현상 처리된 데이터, 화상 압축부(112)에 의해 압축된 화상 데이터(예를 들어 부호화 화상 데이터) 등을 일시적으로 저장한다. The SDRAM I / F 118 is an interface located between the SDRAM 120 and the SDRAM 120. The SDRAM I / F 118 mediates the writing or reading when writing data to the SDRAM 120 or reading data from the SDRAM 120 . The SDRAM 120 stores data (for example, image data) generated by the camera section 102, data developed by the developing section 110, image data compressed by the image compressing section 112 For example, coded image data) is temporarily stored.

도 4에는 도시하지 않았지만, 다른 실시예에 따라 디지털 스틸 카메라(100)는 사용자의 입력 조작을 접수하는 입력부를 더 포함할 수 있다. 상기 입력부는 촬영 처리를 실행하기 위한 셔터 버튼, 디지털 스틸 카메라(100)를 조작하기 위한 조작 버튼 등을 포함할 수 있다. Although not shown in FIG. 4, according to another embodiment, the digital still camera 100 may further include an input unit for accepting a user's input operation. The input unit may include a shutter button for executing photographing processing, an operation button for operating the digital still camera 100, and the like.

본 실시 예에서는 현상부(110)에 의해 화상 데이터가 생성되면, 상기 화상 데이터는 SDRAM(120)을 거치지 않고 화상 압축부(112)로 직접 공급되고 있다. 상기와 같이 화상 데이터가 화상 압축부(112)로 직접 공급됨으로써 카메라부(102)에 의한 촬영에서부터 화상 압축부(112)에 의한 압축까지 요구되는 시간을 단축하고, 그로써 처리속도의 고속화를 도모할 수 있다. In the present embodiment, when image data is generated by the developing unit 110, the image data is directly supplied to the image compressing unit 112 without passing through the SDRAM 120. [ As described above, since the image data is directly supplied to the image compressing unit 112, the time required from the photographing by the camera unit 102 to the compression by the image compressing unit 112 is shortened, thereby increasing the processing speed .

이상, 도 4을 이용하여 본 발명의 일 실시 예에 관련되는 디지털 스틸 카메라(100)의 구성에 대해서 설명하였다. 이하에서는, 본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)에 포함되는 현상부(110)의 구성에 대해서 설명하기로 한다. The configuration of the digital still camera 100 according to the embodiment of the present invention has been described above with reference to Fig. Hereinafter, the configuration of the developing unit 110 included in the digital still camera 100 according to an embodiment of the present invention will be described.

도 5는 본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)에 포함된 현상부(110)의 구성을 나타낸 블록도이다. 이하, 도 5를 참조하여 본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)에 포함된 현상부(110)에 대해서 설명하기로 한다. 5 is a block diagram showing the configuration of the developing unit 110 included in the digital still camera 100 according to an embodiment of the present invention. Hereinafter, the developing unit 110 included in the digital still camera 100 according to an embodiment of the present invention will be described with reference to FIG.

도 5에 도시된 바와 같이, 본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)에 포함된 현상부(110)은, 제1 내지 제3필터부(131a, 13lb, 131c) 및 리퀘스트 제어부(132)를 포함할 있다. 또한 도 5에 도시된 바와 같이, 현상부(110)는 입력 DMA(133) 및 JPEG 버퍼(134)를 더 포함할 수 있다. 또한 화상 압축부(112)는 JPEG 부호화부(141) 및 출력 DMA(142)를 포함할 수 있다. 5, the developing unit 110 included in the digital still camera 100 according to an embodiment of the present invention includes first to third filter units 131a, 131b, 131c and a request control unit 132). 5, the developing unit 110 may further include an input DMA 133 and a JPEG buffer 134. [ The image compression unit 112 may include a JPEG encoding unit 141 and an output DMA 142. [

제1 내지 제3필터부(131a, 13lb, 131c)는 각각 입력 DMA(133)가 SDRAM(120)으로부터 독출한 데이터에 대한 필터 처리를 수행한다. 예를 들면, 제1필터부(131a)는 베이어 데이터를 YUV 데이터로 변환하고, 제2필터부(13lb)는 노이즈 리덕션를 수행하고, 제3필터부(131c)는 에지를 강조하는 보정 등을 수행할 수 있다. The first to third filter units 131a, 131b, and 131c perform filter processing on the data read from the SDRAM 120 by the input DMA 133, respectively. For example, the first filter unit 131a converts Bayer data into YUV data, the second filter unit 13lb performs noise reduction, and the third filter unit 131c performs correction such as emphasizing edges can do.

리퀘스트 제어부(132)는 JPEG 버퍼(134)의 출력 라인 수를 관측하여 JPEG 버퍼(134)로 라인이 입력되는 타이밍을 제어한다. 상기와 같이 JPEG 버퍼(134)로 라인이 입력되는 타이밍을 제어함으로써 리퀘스트 제어부(132)는 JPEG 버퍼(134)가 출력을 완료할 때까지 상기 JPEG 버퍼(134)로 새로이 데이터가 입력되지 않도록 할 수 있다. 리퀘스트 제어부(132)는 입력 DMA(133) 및 제1 내지 제3필터부(131a, 13lb, 131c)가 언제 라인을 출력할지, 즉 라인 출력 타이밍을 제어할 수 있다. The request control unit 132 observes the number of output lines of the JPEG buffer 134 and controls the timing of inputting the lines to the JPEG buffer 134. The timing of inputting the line to the JPEG buffer 134 is controlled as described above so that the request control unit 132 can prevent the data from being newly input to the JPEG buffer 134 until the JPEG buffer 134 completes the output have. The request control unit 132 can control when the input DMA 133 and the first to third filter units 131a, 131b, and 131c output lines, i.e., the line output timing.

입력 DMA(133)는 리퀘스트 제어부(132)로부터 리퀘스트를 수신하면, SDRAM(120)에 저장되어 있는 원래의 화상 데이터를, 상기 화상 데이터의 상단부터 하단 방향으로 1라인 또는 복수 라인씩 읽어 제1필터부(131a)로 출력한다. 본 실시예에서는 도 5에 도시된 바와 같이 3개의 필터부(131a, 13lb, 131c)를 도시하고 있으나, 본 발명에서 필터의 수는 한정되지 않는다. 필터의 수는 2개 이하이든 4개 이상이든 상관없다. 이하에서는 본 발명의 일 실시예에 따른 디지털 스틸 카메라(100)에 포함된 현상부(110)의 제1 내지 제3필터부(131a, 13lb, 131c)에 의한 필터 처리에 대해서 설명하기로 한다. Upon reception of the request from the request control unit 132, the input DMA 133 reads the original image data stored in the SDRAM 120 in one line or a plurality of lines in the bottom direction from the top of the image data, And outputs it to the unit 131a. In this embodiment, three filter units 131a, 131b, and 131c are illustrated as shown in FIG. 5, but the number of filters is not limited in the present invention. The number of filters may be two or less or four or more. Hereinafter, filter processing by the first to third filter units 131a, 131b, and 131c of the developing unit 110 included in the digital still camera 100 according to an embodiment of the present invention will be described.

일반적으로 디지털 스틸 카메라가 필터 처리를 하기 위해서는 상기 필터의 마진이 되는 부분, 즉 링 픽셀이 필요하다. 필터로부터 출력된 데이터는 상기 링 픽셀부분이 제거된 데이터. 그러나 상기와 같이 링 픽셀을 제거하면, 링 픽셀 부분만큼 화상 데이터가 작아지게 된다. 특히 최근의 화상 데이터가 점점 고화질화됨에 따라 필터의 탭 수도 증가하고 있으며 또한 탭 수의 증가에 따라 링 픽셀의 화소 수도 커지고 있는 실정이다. In general, in order for a digital still camera to perform a filtering process, a margin portion of the filter, that is, a ring pixel is required. The data output from the filter is the data from which the ring pixel portion is removed. However, if the ring pixel is removed as described above, the image data becomes smaller by the ring pixel portion. In particular, as the recent image data is gradually increased in image quality, the number of taps of the filter increases, and the number of pixels of the ring pixel also increases with the increase of the number of taps.

도 6은 링 픽셀을 제거하는 통상의 필터 처리에 대하여 도시한 도면이다. 도 6에서는 화상 데이터의 수직방향으로 최종 5라인(최종라인-4, 최종라인-3, 최종라인-2, 최종라인-1, 최종라인)에 대응하여 라인 메모리들 각각에 화상 데이터가 입력되고 있는 상태를 나타내고 있다. 상기와 같이 화상 데이터의 수직방향으로 최종 5 라인의 필터 처리는, '최종라인-4'에서부터 최종라인까지 라인 메모리에 입력됨으로써 필터 처리가 이루어진다. 또한 '최종라인-4'에서부터 최종라인까지 라인 메모리에 입력되면 필터 처리 동작이 종료된다.6 is a diagram showing a normal filter process for removing ring pixels. In Fig. 6, image data is input to each of the line memories corresponding to the last five lines (final line-4, final line-3, last line-2, last line-1, final line) in the vertical direction of the image data Respectively. As described above, the filter processing of the last five lines in the vertical direction of the image data is input to the line memory from the 'last line -4' to the last line, thereby performing the filter processing. In addition, the filter processing operation is terminated when inputted from the 'last line -4' to the last line in the line memory.

이때 본 발명의 일 실시예에 따른 디지털 스틸 카메라(100)의 제1 내지 제3필터부(131a, 13lb, 131c)는 상술한 바와 같은 통상적인 링 픽셀 제거 동작을 수행하지 않을 수 있다. 본 실시예에 따른 제1내지 제3필터부(131a, 13lb, 131c)는 입력 화상 데이터의 사이즈와 같은 사이즈의 화상 데이터를 출력함으로써 화상 데이터에 대한 필터 처리(링리스(ringless) 처리)를 수행한다. 이러한 링리스 처리는 제1 내지 제3필터부(131a, 13lb, 131c) 모두에 의하여 실행될 수 있으며 다른 실시예에 따라 마지막 단인 제3필터부(131c)에 의해서만 실행될 수도 있다. At this time, the first to third filter units 131a, 131b, and 131c of the digital still camera 100 according to an embodiment of the present invention may not perform the normal ring pixel removal operation as described above. The first to third filter units 131a, 131b, 131c according to the present embodiment perform filter processing (ringless processing) on image data by outputting image data having the same size as the size of input image data do. This ring-less processing may be performed by all of the first to third filter units 131a, 13lb, 131c, and may be performed only by the third filter unit 131c, which is the last unit according to another embodiment.

도 7은 본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)에 포함된 현상부(110)의 제1 내지 제3필터부(131a, 13lb, 131c)에 의한 필터 처리를 나타낸 도면이다. 도 7에서도 도 6과 같이 화상 데이터의 수직방향으로 최종 5 라인에 대한 처리가 도시되어 있다. 도 6과 달리 도 7에 도시된 바와 같이, 본 실시예에 따른 디지털 스틸 카메라(100)의 제1 내지 제3필터부(131a, 131b, 131c)는 최종 3 라인(최종 라인-2, 최종 라인-1, 최종 라인)을 라인 메모리에 입력한다. 또한 제1 내지 제3필터부(131a, 131b, 131c)는 상기 최종 라인을 복사한 나머지 2 라인(추가 라인+1, 추가 라인+2)을 라인 메모리에 입력한다. 이와 같이, 라인 메모리에 화상 데이터가 입력됨에 따라 링 픽셀을 제거하지 않고도 입력 화상의 사이즈와 같은 사이즈의 화상 데이터를 출력하는 필터 처리를 실현할 수 있다. 7 is a diagram illustrating filter processing by the first to third filter units 131a, 131b, and 131c of the developing unit 110 included in the digital still camera 100 according to an embodiment of the present invention. 7 also shows processing for the last five lines in the vertical direction of the image data as shown in Fig. 7, the first to third filter units 131a, 131b, and 131c of the digital still camera 100 according to the present embodiment include the last three lines (the last line-2, the last line- -1, final line) is input to the line memory. Further, the first to third filter units 131a, 131b and 131c input the remaining 2 lines (additional line + 1, additional line + 2) of the last line to the line memory. Thus, as image data is input to the line memory, filter processing for outputting image data of the same size as the size of the input image can be realized without removing the ring pixels.

이하에서는 제1 내지 제3필터부(131a, 13lb, 131c)에 의한 필터 처리에 대하여 간단히 설명하기로 한다. 상술한 바와 같이, 본 실시 예에서 제1필터부(131a)는 베이어 데이터를 YUV 데이터로 변환하고, 제2필터부(13lb)는 노이즈 리덕션을 수행하고, 제3필터부(131c)는 에지 강조 보정 등을 수행한다. Hereinafter, the filter processing by the first to third filter units 131a, 131b, and 131c will be briefly described. As described above, in this embodiment, the first filter unit 131a converts Bayer data into YUV data, the second filter unit 13lb performs noise reduction, and the third filter unit 131c performs edge reduction Correction and so on.

본 실시예에 따른 제1 내지 제3필터(131a, 131b, 131c)는 직렬로 직접 연결되어 있고, 제1 내지 제3필터(131a, 131b, 131c) 각각으로부터 출력된 데이터는 직접, 이후 공정의 필터로 입력된다. 또 제1 내지 제3필터(131a, 131b, 131c) 각각은 복수 픽셀의 화소들에 기초하여 1개의 화소를 구성하는 처리를 수행하며, 입력된 화상에 대하여 처리를 수행하면 그만큼의 화소가 감소되는 것을 막기 위해서 제1 내지 제3필터(131a, 131b, 131c) 각각에서 입력된 라인에 링 픽셀을 부가할 수 있다. The first to third filters 131a, 131b and 131c according to the present embodiment are directly connected in series, and data output from each of the first to third filters 131a, 131b, Lt; / RTI > Each of the first to third filters 131a, 131b, and 131c performs a process of forming one pixel based on the pixels of a plurality of pixels, and when the process is performed on the input image, the corresponding pixels are reduced It is possible to add ring pixels to the lines input from the first to third filters 131a, 131b and 131c.

보다 구체적으로, JPEG 버퍼(134)가 입력된 라인 수보다도 적은 라인 수를 출력할 경우, 리퀘스트 제어부(132)는 특히 제1 내지 제3필터부(131a, 131b, 131c)를 제어하지 않을 수 있다다. 그에 따라 JPEG 버퍼(134)로의 입력대기가 없게 되어 상기 제1 내지 제3필터부(131a, 131b, 131c)는 연속해서 라인을 입력하게 되며, 제1 내지 제3필터부(131a, 13lb, 131c)는 입력되는 라인이 없어진 것을 검출하고, 하부측의 링 라인을 다음의 필터 또는 JPEG 버퍼(134)에 입력한다. More specifically, when the JPEG buffer 134 outputs a line number smaller than the input number of lines, the request control unit 132 may not particularly control the first to third filter units 131a, 131b, and 131c All. The first to third filter units 131a, 131b, and 131c sequentially input lines, and the first to third filter units 131a, 131b, and 131c Detects that the input line is missing and inputs the lower ring line to the next filter or JPEG buffer 134. [

JPEG 버퍼(134)가 1라인 입력에 대하여 1라인 이상을 출력하는 경우에는, 리퀘스트 제어부(132)는 SDRAM(120)에 기억되어 있는 원래의 화상 데이터의 모든 라인이 출력될 때까지 입력 DMA(133)에 의한 라인의 독출 및 상기 입력 DMA(133)에서의 라인 출력 타이밍을 제어할 수 있다. When the JPEG buffer 134 outputs one or more lines to one line input, the request control unit 132 controls the input DMA 133 (i. E., Until the output of all the lines of the original image data stored in the SDRAM 120) ) And the line output timing in the input DMA 133 can be controlled.

구체적으로, 리퀘스트 제어부(132)는 JPEG 버퍼(134)가 출력을 완료한 것을 확인하면, 다음 라인을 읽어 들이도록 입력 DMA(133)에 리퀘스트한다. 그 후 리퀘스트 제어부(132)는, 제1 내지 제3필터(131a, 131b, 131c) 각각이 부가하는 링 픽셀 테두리에 맞춰서 각 하부측 링 라인이 JPEG 버퍼(134)까지 입력되도록, 제1 내지 제3필터부(131a, 13lb, 131c)의 순으로 상기 각 하부측 링 라인을 출력하도록 상기 제1 내지 제3필터부(131a, 131b, 131c)에 리퀘스트한다. Specifically, when the request control unit 132 confirms that the JPEG buffer 134 has completed the output, the request control unit 132 requests the input DMA 133 to read the next line. Thereafter, the request controller 132 controls the first to third filters 131a, 131b, and 131c so that each lower ring line is input to the JPEG buffer 134 in accordance with the ring pixel frame added by each of the first to third filters 131a, 131b, And requests the first to third filter units 131a, 131b and 131c to output the lower ring lines in the order of the three filter units 131a, 131b, and 131c.

이러한 리퀘스트 제어부(132)의 리퀘스트는 아래와 같은 순서로 그 순서가 결정될 수 있다. 이때 원래의 화상 데이터를 분할한 입력 라인 수를 A, 제3필터부(131c)로부터 지금까지 출력된 출력 라인 수를 B, 제1 내지 제3필터부(131a, 13lb, 131c)에서의 하부측 링 라인의 수를 각각 L1, L2, L3라고 가정한다. 또한 'A-(L1+L2+L3) ≤ B < A-(L2+L3)'인 경우, 즉 'A-(L1+L2+L3)'와 'A-(L2+L3)'의 사이에 출력 라인 수 B가 있다고 가정한다. 상기와 같은 경우 리퀘스트 제어부(132)는, 제1필터부(131a)에 하부측 링 라인을, 위에서 아래로 순서대로 출력되도록 리퀘스트한다. The order of the requests of the request control unit 132 can be determined in the following order. A represents the number of input lines obtained by dividing the original image data, B represents the number of output lines output from the third filter unit 131c so far, and B represents the number of output lines from the first filter unit 131a to the third filter unit 131b Let the number of ring lines be L1, L2, and L3, respectively. (L1 + L2 + L3) 'and' A- (L2 + L3) 'in the case of' A- (L1 + L2 + L3) It is assumed that there is an output line number B. In such a case, the request control section 132 requests the first filter section 131a to output the lower ring line in order from top to bottom.

그 다음, 'A-(L2+L3) ≤ B < A-L3'인 경우, 즉 'A-(L2+L3)'와 'A-L3'의 사이에 출력 라인 수 B가 있는 경우, 리퀘스트 제어부(132)는, 제2필터부(13lb)에 하부측 링 라인을, 위에서 순서대로 출력하도록 리퀘스트한다. If there is an output line number B between 'A- (L2 + L3) B' A-L3 ', that is, between' A- (L2 + L3) 'and' A- The second filter section 132 requests the second filter section 13lb to output the lower ring line in order from above.

마지막으로, 'A-L3 ≤ B < A'인 경우, 즉 'A-L3'과 'A'의 사이에 출력 라인 수 B가 있는 경우, 리퀘스트 제어부(132)는, 제3필터부(131c)에 하부측 링 라인을 위에서 순서대로 출력하도록 리퀘스트한다. Finally, when there is an output line number B between 'A-L3' and B 'A', that is, between A-L3 and A, the request control unit 132 controls the third filter unit 131c, The lower ring line is requested to be output in order from above.

실시예에 따라 제1 내지 제3필터부(131a, 13lb, 131c)에 의한 필터 처리는 상기에서 서술한 예에 한정되지 않으며, 이는 당업자에게 자명하다 할 것이다. The filter processing by the first to third filter units 131a, 131b, and 131c according to the embodiment is not limited to the example described above, and will be apparent to those skilled in the art.

화상 압축부(112)가 수행하는 JPEG로의 부호화는, DCT를 기본으로 하는 부호화이므로 수직 8화소 단위로밖에 부호화할 수 없다. 그러나 현상부(110)에서의 화상처리는 베이어의 사이즈 이상은 출력하지 않는다. 그로 인하여, 예를 들어 수직 라인 수가 100라인인 경우 마지막에 4라인이 부족하게 된다. 종래 기술에 따라 화상 데이터를 수직 8화소 단위로 부호화하여 최하부에 8화소가 차지 않은 경우, 상기 종래 기술에서는 8라인이 차지 않은 행에 대하여 최종 라인을 복사하거나 또는 블랙 데이터를 삽입하였다. The JPEG coding performed by the image compressing unit 112 is a coding based on the DCT, so it can be encoded only in the vertical 8-pixel unit. However, the image processing in the developing section 110 does not output more than the size of the Bayer. Thereby, for example, when the number of vertical lines is 100 lines, the last 4 lines are insufficient. According to the conventional technique, when the image data is encoded in units of 8 pixels vertically and the 8 pixels are not occupied at the lowermost portion, the last line is copied or the black data is inserted in a row not occupied by the 8 lines in the conventional technique.

본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)는 현상부(110)가 화상 처리한 화상 데이터를, SDRAM(120)을 거치지 않고 화상 압축부(112)에 공급하므로 JPEG에서의 수직 화소 수를 화상 압축부(112)(또는 JPEG 버퍼(134))에서 알 수 있다. 따라서 화상 압축부(112) 또는 JPEG 버퍼(134)가 제1 내지 제3필터부(131a, 13lb, 131c)에 대한 출력처리를 수행할 수 있다. 도 5에서 JPEG 버퍼(134)는 리퀘스트 제어부(132)에 제1 내지 제3필터부(131a, 13lb, 131c)에 대한 출력 처리를 지시하고 있다. The digital still camera 100 according to the embodiment of the present invention supplies the image data processed by the development unit 110 to the image compression unit 112 without going through the SDRAM 120, (Or the JPEG buffer 134) can be known from the image compression unit 112 (or the JPEG buffer 134). Therefore, the image compression unit 112 or the JPEG buffer 134 can perform the output processing on the first to third filter units 131a, 131b, and 131c. In FIG. 5, the JPEG buffer 134 instructs the request control unit 132 to process the first through third filter units 131a, 131b, and 131c.

구체적으로는, 본 발명의 일 실시예에 따른 디지털 스틸 카메라(100)는 아래와 같은 처리를 수행할 수 있다. Specifically, the digital still camera 100 according to an embodiment of the present invention can perform the following processing.

(1) 프레임이 유효한 경우 (1) When the frame is valid

일반적인 필터 처리 동작을 수행한다. 화상 압축부(112)에서 JPEG의 IP가 타이밍에 맞춰진 동안 JPEG 버퍼(134)는 리퀘스트 제어부(132)로부터의 라인에 대한 리퀘스트에 따른 동작을 수행한다. And performs a general filter processing operation. The JPEG buffer 134 performs an operation according to a request for a line from the request control unit 132 while the IP of JPEG is timed in the image compressing unit 112.

(2)프레임이 무효가 된 경우 (2) When the frame becomes invalid

프레임의 유효 기간 중에 제1 내지 제3필터부(131a, 13lb, 131c)에 포함되는 라인 카운터가 동작을 시작하면, 리퀘스트 제어부(132)는, 8의 배수가 될 때까지 제1 내지 제3필터부(131a, 13lb, 131c)에 링리스 처리에 대한 리퀘스트를 발행하고, 8의 배수가 된 시점에서 상기 링리스 처리 동작을 완료한다. 상기와 같이 제1 내지 제3필터부(131a, 13lb, 131c)가 상술한 링리스 처리를 수행하고 있기 때문에 현상부(110)는 입력되는 화상과 큰 차이가 나지 않는 화상 데이터를 출력할 수 있게 된다. When the line counter included in the first to third filter units 131a, 131b, and 131c starts to operate during the valid period of the frame, the request control unit 132 sets the first to third filters A request for ring-less processing is issued to the units 131a, 13lb, and 131c, and the ring-less processing operation is completed when a multiple of 8 is reached. Since the first to third filter units 131a, 131b, and 131c perform the ring-less processing as described above, the developing unit 110 can output image data that does not differ greatly from the input image do.

도 8은, 본 발명의 일 실시 예에 따른 디지털 스틸 카메라의 동작을 나타내는 순서도이다. 도 8에 도시된 순서도는, 본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)에서의 현상부(110)의 필터 처리를 나타낸 것이다. 이하, 도 8을 이용하여 본 발명의 일 실시 예에 따른 디지털 스틸 카메라(100)의 동작에 대해서 설명하기로 한다. 8 is a flowchart showing the operation of a digital still camera according to an embodiment of the present invention. The flowchart shown in Fig. 8 shows the filter processing of the developing section 110 in the digital still camera 100 according to an embodiment of the present invention. Hereinafter, the operation of the digital still camera 100 according to an embodiment of the present invention will be described with reference to FIG.

JPEG 버퍼(134)는 JPEG 부호화 전의 수직 라인의 수를 취득한다(S101). JPEG 버퍼(134)는 단계 S101에서 취득한 수직 라인 수에 대한 정보를 리퀘스트 제어부(132)로 전달한다. The JPEG buffer 134 obtains the number of vertical lines before JPEG encoding (S101). The JPEG buffer 134 transfers information on the number of vertical lines acquired in step S101 to the request control unit 132. [

JPEG 버퍼(134)로부터 JPEG 부호화 전의 수직 라인 수에 대한 정보가 전달되면, 리퀘스트 제어부(132)는 상기 수직 라인 수가, MCU의 수직 화소 수인 8로 나누어 떨어지는지 여부를 판단한다(S102). When information on the number of vertical lines before JPEG encoding is transmitted from the JPEG buffer 134, the request control unit 132 determines whether the number of vertical lines is divided by 8, which is the number of vertical pixels of the MCU (S102).

상기 단계 S102의 판단 결과, JPEG부호화 전의 수직 라인 수가 8로 나누어 떨어지지 않는 라인 수일 경우(S102: 아니오), 리퀘스트 제어부(132)는 상기 수직 라인 수가 8로 나누어 떨어질 때까지, 즉 최종 라인 이후에 라인을 추가함으로써 추가된 라인(추가 라인)까지 포함한 수직 라인 수가 8로 나누어 떨어지게 될 때까지 상기 추가 라인을 라인 메모리에 삽입하도록 제1 내지 제3필터부(131a, 13lb, 131c)에 리퀘스트한다(S103). As a result of the determination in step S102, if the number of vertical lines before JPEG encoding is a number of lines that do not divide by eight (S102: NO), the request control unit 132 determines whether the number of vertical lines is divided by eight, To the first to third filter units 131a, 13lb, and 131c to insert the additional line into the line memory until the number of vertical lines including the added line (additional line) is divided by 8 (S103 ).

상기 단계 S102의 판단 결과, JPEG 부호화 전의 수직 라인 수가 8로 나누어 떨어지는 경우(S102: 예) 리퀘스트 제어부(132)는 최종 라인을 라인 메모리에 삽입하도록 제1 내지 제3필터부(131a, 131b, 131c)에 리퀘스트한다. 또한 상기 단계 S103에서 리퀘스트 제어부(132)가 제1 내지 제3필터부(131a, 13lb, 131c)에 추가 라인의 추가를 리퀘스트하면, 제1 내지 제3필터부(131a, 13lb, 131c), 입력 DMA(133)가 SDRAM(120)으로부터 독출된 데이터에 대한 필터 처리, 즉 링리스 처리에 따른 필터 처리를 수행한다(S104). If it is determined in step S102 that the number of vertical lines before JPEG encoding is divided by 8 (S102: YES), the request control unit 132 controls the first to third filter units 131a, 131b, and 131c ). When the request control unit 132 requests the addition of additional lines to the first to third filter units 131a, 13lb and 131c in step S103, the first to third filter units 131a, 131b, and 131c, The DMA 133 performs filter processing on data read from the SDRAM 120, that is, filter processing according to ring-less processing (S104).

도 9는 본 발명의 일 실시예에 따른 디지털 스틸 카메라(100)에 포함된 현상부(110)의 제1 내지 제3필터부(131a, 13lb, 131c)에 의한 필터 처리를 나타낸 도면이다. 도 9에는 도 6 및 도 7과 같이 화상 데이터의 수직방향에 있어서의 최종 5라인에 대한 처리가 도시되어 있다. 9 is a diagram illustrating filter processing by the first to third filter units 131a, 131b, and 131c of the developing unit 110 included in the digital still camera 100 according to an embodiment of the present invention. Fig. 9 shows the processing for the last five lines in the vertical direction of the image data as shown in Figs. 6 and 7. Fig.

우선, 제1필터부(131a)는, 최종 3라인(최종 라인-2, 최종 라인-1, 최종 라인)을 라인 메모리에 입력하고, 최종 라인을 복사(copy)한 나머지 2라인(추가 라인+1, 추가 라인+2)을 라인 메모리에 입력하여 출력한다. 계속해서 제2필터부(13lb)는, 최종 2라인(최종 라인-1, 최종 라인)을 라인 메모리에 입력하고, 최종 라인을 복사한 나머지 3라인(추가 라인+1, 추가 라인+2, 추가 라인+3)을 라인 메모리에 입력하여 출력한다. 마지막으로 제3필터부(131c)는, 최종 라인을 라인 메모리에 입력하고, 상기 최종 라인을 복사한 나머지 4라인(추가 라인+1, 추가 라인+2, 추가 라인3, 추가 라인+4)을 라인 메모리에 입력하여 출력한다. First, the first filter section 131a inputs the last three lines (the last line-2, the last line-1, and the last line) to the line memory, 1 and an additional line + 2) to the line memory and outputs it. Subsequently, the second filter section 13lb inputs the last two lines (final line-1, final line) into the line memory, and adds the remaining three lines (additional line + 1, additional line + Line +3) to the line memory and outputs the same. Finally, the third filter unit 131c inputs the last line to the line memory, and adds the remaining 4 lines (additional line + 1, additional line + 2, additional line 3, additional line + 4) And outputs it to the line memory.

상기와 같이 본 발명에 따른 필터 처리는 최종 라인의 데이터를 순차적으로 라인 메모리에 입력해 가는 것이다. 종래 기술에 따른 필터 처리가 8라인이 되지 않는 행에 대하여 최종 라인을 복사하거나 블랙 데이터를 삽입하여 JPEG부호화를 수행하는 방식과 비교할 때 본 발명에 따른 필터 처리는 화상 데이터 하부의 화질을 개선하고 그에 따라 보다 자연스러운 화상 데이터를 얻을 수 있게 된다. As described above, the filter processing according to the present invention sequentially inputs data of the last line into the line memory. Compared with a method of performing JPEG coding by copying the last line or inserting black data for a row in which the filter processing according to the prior art does not reach 8 lines, the filter processing according to the present invention improves the image quality under the image data, Thus, more natural image data can be obtained.

도 10은 본 발명의 다른 실시예에 따른 현상부를 포함하는 디지털 스틸 카메라의 구성을 나타낸 블록도이다. 이하, 도 5를 참조하여 본 발명의 다른 실시 예에 따른 현상부를 포함하는 디지털 스틸 카메라에 대하여 설명하기로 한다. 10 is a block diagram illustrating the configuration of a digital still camera including a developing unit according to another embodiment of the present invention. Hereinafter, a digital still camera including a developing unit according to another embodiment of the present invention will be described with reference to FIG.

도 10에 도시한 바와 같이, 본 발명의 다른 실시 예에 따른 디지털 스틸 카메라(100)에 포함된 현상부(110)는, 제1 내지 제3필터부(131a, 13lb, 131c), 리퀘스트 제어부(132) 및 연산부(135)를 포함할 수 있다. 또한 도 10에서, 현상부(110)는 입력 DMA(133) 및 JPEG 버퍼(134)를 더 포함하여 구성되고 있다. 화상 압축부(112)는 JPEG 부호화부(141) 및 출력 DMA(142)를 포함할 수 있다. 10, the developing unit 110 included in the digital still camera 100 according to another embodiment of the present invention includes first to third filter units 131a, 131b and 131c, a request control unit 132 and an operation unit 135. [ 10, the developing section 110 further comprises an input DMA 133 and a JPEG buffer 134. [ The image compressing unit 112 may include a JPEG encoding unit 141 and an output DMA 142.

연산부(135)는 출력 라인수 레지스터(151), 감산부(152), 제산부(153) 및 가산부(154)를 포함할 수 있다.The arithmetic operation unit 135 may include an output line number register 151, a subtractor 152, a divider 153 and an adder 154.

출력 라인 수 레지스터(151)에는 JPEG에 의한 부호화 후의 부호화 화상 데이터의 수직 라인 수가 기록된다. 감산부(152)는 출력 라인 수 레지스터(151)에 기록된 출력 라인 수를 1개의 MCU의 수직 화소 수인 8로 감산한다. 제산부(153)는 감산부(152)의 감산 결과를 2로 나눈다. 가산부(154)는 출력 라인 수 레지스터(151)에 기입한 출력 라인 수와 제산부(153)에 의한 나눗셈 결과를 가산하여 출력한다. In the output line number register 151, the number of vertical lines of encoded image data after encoding by JPEG is recorded. The subtraction section 152 subtracts the number of output lines recorded in the output line number register 151 from the number of vertical pixels of one MCU to eight. The divider 153 divides the subtraction result of the subtracter 152 into two. The addition unit 154 adds the number of output lines written in the output line number register 151 and the division result by the divider 153 and outputs the result.

JPEG 부호화 후의 부호화 화상 데이터의 수직 라인 수는 설정되면 미리 알 수 있으므로, CPU(104)는 출력 라인 수를 출력 라인수 레지스터(151)에 기입할 수 있다. 감산부(152)는 출력 라인 수 레지스터(151)에 기입된 출력 라인수에 대하여 LSB 3비트를, 1개의 MCU의 수직 화소수인 8로 감산하고, 상기 감산 결과를 제산부(153)에 전달한다. 제산부(153)는 감산부(152)의 감산 결과를 2로 나눈다. 그리고 가산부(154)는 출력 라인 수 레지스터(151)에 기입된 출력 라인수와, 제산부(153)의 제산 결과를 가산하고 상기 가산 결과를 출력 라인수로서 리퀘스트 제어부(132)로 출력한다. The CPU 104 can write the number of output lines to the output line number register 151 since the number of vertical lines of the coded image data after JPEG encoding can be known in advance. Subtraction unit 152 subtracts 3 bits of LSB from the number of output lines written in output line number register 151 to 8, which is the number of vertical pixels of one MCU, and sends the subtraction result to divider 153 do. The divider 153 divides the subtraction result of the subtracter 152 into two. The addition unit 154 adds the number of output lines written to the output line number register 151 and the dividing result of the divider 153 and outputs the addition result to the request control unit 132 as the number of output lines.

상기와 같이 연산부(135)가 출력 라인수를 연산하여 리퀘스트 제어부(132)에 출력하면, 제1 내지 제3필터부(131a, 13lb, 131c)는 8라인이 차지 않은 행에 대한 연산을 화면의 상하로 분담하여 처리할 수 있고, 그에 따라 본 실시예에 따른 JPEG 부호화는 보다 자연스러운 화상을 얻도록 해준다. When the operation unit 135 calculates the number of output lines and outputs the calculated number of output lines to the request control unit 132 as described above, the first to third filter units 131a, 131b, So that the JPEG coding according to the present embodiment makes it possible to obtain a more natural image.

예를 들면, 연산부(135)가 JPEG 부호화 후의 부호화 화상 데이터의 수직 라인 수를 8로 나눈 나머지로서 4를 출력하였다고 가정하면, 리퀘스트 제어부(132)는 최초 2라인 만큼의 여분에 리퀘스트를 발행한다. 그 후 제1 내지 제3필터부(131a, 13lb, 131c)에 의하여 상기 화상에 대한 필터 처리가 수행되면, 최하부의 2라인 만큼에 대해서 상기 제1 내지 제3필터부(131a, 13lb, 131c)는 최종 라인을 복사한 데이터를 라인 메모리에 삽입할 수 있다. 상기와 같이 필터 처리를 화면의 상하로 분담함으로써, JPEG 부호화만을 수행할 때보다 자연스러운 화상을 얻을 수 있다.
For example, when it is assumed that the arithmetic operation unit 135 outputs 4 as a remainder obtained by dividing the number of vertical lines of the encoded image data after JPEG encoding by 8, the request control unit 132 issues a request for the first two lines. When the filter processing for the image is performed by the first to third filter units 131a, 131b, and 131c, the first through third filter units 131a, 131b, The data copied from the last line can be inserted into the line memory. By sharing the filter processing above and below the screen as described above, it is possible to obtain a more natural image than when only JPEG encoding is performed.

3. 결론3. Conclusion

이상, 설명한 바와 같이 본 발명의 일 실시 예에 관련된 디지털 스틸 카메라(100)에 의하면, 현상부(110)가 휘도 신호와 색차 신호를 포함하는 YCbCr정보로 이루어지는 화상 데이터를 생성하고, 상기 화상 데이터는 SDRAM(120)을 거치지 않고 화상 압축부(112)로 공급되며, 현상부(110)는 1개의 화상을 복수의 타일로 분할하여 화상 압축부(112)로 공급한다. 화상 압축부(112)는 타일 단위로 화상 데이터를 가변 길이 부호화한다. As described above, according to the digital still camera 100 according to the embodiment of the present invention, the developing unit 110 generates image data composed of YCbCr information including a luminance signal and a color difference signal, Is supplied to the image compression unit 112 without passing through the SDRAM 120. The development unit 110 divides one image into a plurality of tiles and supplies the image to the image compression unit 112. [ The image compression unit 112 performs variable length coding on the image data in units of tiles.

그리고 본 발명의 일 실시 예에 관련된 디지털 스틸 카메라(100)의 현상부(110)는 링리스 처리에 따른 필터 처리를 실행하지만, JPEG 부호화는 MCU 단위로 수행되므로 수직 8라인 단위로밖에 부호화할 수가 없다. 그에 따라 본 발명에 따른 현상부(110)는 제1 내지 제3필터부(131a, 13lb, 131c)를 이용하여 필터 처리를 수행함에 있어 8라인이 차지 않은 부분은 최종 라인을 복사한 라인을 라인 메모리에 삽입함으로써 필터 처리를 수행한다. 이로 이하여 디지털 스틸 카메라(100)는 JPEG부호화 이후를 수행한 경우에도 보다 자연스러운 화상을 얻을 수 있게 된다. The development unit 110 of the digital still camera 100 according to an embodiment of the present invention performs filter processing according to the ring-less processing, but since the JPEG encoding is performed on an MCU basis, it can be encoded only in units of eight vertical lines . Accordingly, the developing unit 110 according to the present invention performs filter processing using the first to third filter units 131a, 131b, and 131c, And performs filter processing by inserting it into the memory. In this way, the digital still camera 100 can obtain a more natural image even after performing JPEG coding.

이상, 첨부의 도면을 참조하여 본 발명의 바람직한 실시 형태에 대해서 상세하게 설명했지만, 본 발명은 이러한 예에 한정되지 않는다. 본 발명이 속하는 기술 분야에 있어서의 통상의 지식을 가진 자라면, 특허청구의 범위에 기재된 기술적 사상의 범주 내에서, 각종 변경 예 또는 수정 예를 예측할 수 있는 것은 자명하며, 이들에 대해서도, 당연히 본 발명의 기술적 범위에 속하는 것임을 알 수 있다.Although the preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, the present invention is not limited to these examples. It will be apparent to those skilled in the art that various changes and modifications can be made without departing from the scope of the invention as defined in the appended claims. It is understood that the invention is within the technical scope of the invention.

100: 디지털 스틸 카메라 102: 카메라부
104: CPU 105: ROM
106: 멀티플렉서 110: 현상부
112: 화상 압축부 113: 왜곡 보정 처리부
114: 메모리 카드 116: LCD
118: SDRAM I/F 120: SDRAM
100: digital still camera 102: camera unit
104: CPU 105: ROM
106: Multiplexer 110:
112: image compression section 113: distortion correction processing section
114: memory card 116: LCD
118: SDRAM I / F 120: SDRAM

Claims (5)

촬상 소자에 입력되는 광으로부터 화상 데이터를 생성하는 화상 처리부와,
상기 화상 데이터를 부호화하여 부호화 화상 데이터를 생성하는 부호화부와,
상기 부호화 화상 데이터를 저장하는 저장부를 포함하며,
상기 화상 처리부는, 상기 화상 데이터를 가로방향으로 복수의 블록으로 분할하여 상기 부호화부에 공급하고,
상기 화상 처리부는,
상기 화상 데이터에 대하여 소정의 필터 처리를 수행하는 적어도 하나의 필터부와,
상기 필터부의 필터 처리를 제어하는 필터 제어부를 포함하며,
상기 필터 제어부는,
상기 화상 데이터의 수직 화소 수를 취득하고, 상기 화상 데이터의 수직 화소 수가 미리 설정된 부호화 단위의 수직 화소 수로 나누어 떨어지지 않는 경우 나누어 떨어질 때까지 상기 화상 데이터의 가장 마지막 행의 데이터를 복사하여 상기 화상 데이터에 추가하도록 상기 필터부를 제어함을 특징으로 하는 촬상 장치.
An image processing section for generating image data from light input to the image pickup device,
An encoding unit for encoding the image data to generate encoded image data;
And a storage unit for storing the encoded image data,
Wherein the image processing section divides the image data into a plurality of blocks in the horizontal direction and supplies the divided data to the encoding section,
Wherein the image processing unit comprises:
At least one filter unit for performing predetermined filter processing on the image data,
And a filter control unit for controlling a filter process of the filter unit,
Wherein the filter control unit comprises:
The data of the last row of the image data is copied until the number of vertical pixels of the image data is divided by the number of vertical pixels divided by a predetermined number of vertical pixels Wherein the control unit controls the filter unit to add the image data.
제1항에 있어서, 상기 필터부가 수행하는 소정의 필터 처리는,
입력 데이터의 화소 수와 출력 데이터의 화소 수가 일치하도록 하는 필터 처리임을 특징으로 하는 촬상 장치.
The method according to claim 1, wherein the predetermined filter processing performed by the filter unit comprises:
Wherein the number of pixels of the input data is equal to the number of pixels of the output data.
제1항에 있어서,
상기 화상 처리부는, 상기 필터부를 적어도 2개 포함하고,
상기 적어도 2개의 필터부들은, 종속 접속되며상기 적어도 2개의 필터부들 중 최후 단의 필터부는, 입력 데이터의 화소 수와 출력 데이터의 화소 수가 일치하도록 하는 필터 처리를 수행함을 특징으로 하는 촬상 장치.
The method according to claim 1,
Wherein the image processing unit includes at least two filter units,
Wherein the at least two filter units are cascade-connected and the filter unit at the rearmost end of the at least two filter units performs a filtering process so that the number of pixels of the input data matches the number of pixels of the output data.
제1항에 있어서, 상기 화상 처리부는,
상기 부호화 화상 데이터의 수직 화소 수를 취득하고, 상기 부호화 화상 데이터의 수직 화소 수가 부호화 단위인 수직 화소 수로 나누어 떨어지지 않은 경우 상기 부호화 단위에서 부족한 만큼을 상기 화상 데이터의 상하로 분담하여 상기 부호화 화상 데이터를 생성하는 것을 특징으로 하는 촬상 장치.
The image processing apparatus according to claim 1,
Wherein when the number of vertical pixels of the coded image data is not divided by the number of vertical pixels which are coded units, the number of vertical pixels of the coded image data is divided into upper and lower portions of the image data, And generates an image of the object.
촬상 소자로 입력되는 광으로부터 화상 데이터를 생성하는 화상처리과정과,
상기 화상 데이터를 부호화하여 부호화 화상 데이터를 생성하는 부호화 과정과,
상기 부호화 화상 데이터를 저장하는 저장 과정을 포함하고,
상기 화상처리 과정에서, 상기 화상 데이터가 가로방향으로 복수의 블록들로 분할되면, 상기 저장 과정을 상기 부호화과정에서 상기 화상 데이터가 부호화되며,
상기 화상처리 과정은,
상기 화상 데이터에 대한 소정의 필터 처리를 수행하는 적어도 하나의 필터처리 과정과,
상기 필터처리 과정에서의 상기 필터 처리를 제어하는 필터제어 과정을 포함하고,
상기 필터제어 과정은,
상기 부호화 과정에서 부호화되는 상기 화상 데이터의 수직 화소 수를 취득하고, 상기 화상 데이터의 수직 화소 수가 상기 부호화 과정에서의 부호화 단위인 수직 화소 수로 나누어 떨어지지 않는 경우 나누어 떨어질 때까지, 상기 화상 데이터의 가장 마지막 행의 데이터를 복사하여 상기 화상 데이터에 추가하도록 상기 필터처리과정에서의 상기 필터 처리를 제어하는 과정을 포함함을 특징으로 하는 화상처리 방법.
An image processing step of generating image data from light input to the image pickup element,
A coding step of coding the image data to generate coded image data;
And a storage step for storing the encoded image data,
In the image processing, if the image data is divided into a plurality of blocks in a horizontal direction, the image data is encoded in the encoding process,
Wherein the image processing step comprises:
At least one filter process for performing a predetermined filter process on the image data,
And a filter control step of controlling the filter processing in the filter processing step,
The filter control process includes:
Wherein the image data is obtained by dividing the vertical pixel number of the image data by the number of vertical pixels divided by the number of vertical pixels in the encoding process, And controlling the filter process in the filter process so that the data of the row is copied and added to the image data.
KR1020120127622A 2011-12-15 2012-11-12 Imaging device and image processing method KR101923971B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/715,195 US8934028B2 (en) 2011-12-15 2012-12-14 Imaging apparatus and image processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2011-275010 2011-12-15
JP2011275010A JP2013126186A (en) 2011-12-15 2011-12-15 Imaging apparatus and image processing method

Publications (2)

Publication Number Publication Date
KR20130069373A KR20130069373A (en) 2013-06-26
KR101923971B1 true KR101923971B1 (en) 2019-02-22

Family

ID=48777175

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120127622A KR101923971B1 (en) 2011-12-15 2012-11-12 Imaging device and image processing method

Country Status (2)

Country Link
JP (1) JP2013126186A (en)
KR (1) KR101923971B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4151684B2 (en) * 2005-01-26 2008-09-17 ソニー株式会社 Encoding apparatus, encoding method, encoding program, and imaging apparatus
JP4769039B2 (en) * 2005-07-26 2011-09-07 パナソニック株式会社 Digital signal encoding and decoding apparatus and method
JP4288623B2 (en) * 2007-01-18 2009-07-01 ソニー株式会社 Imaging device, noise removal device, noise removal method, noise removal method program, and recording medium recording noise removal method program
KR20100036601A (en) * 2008-09-30 2010-04-08 엘지전자 주식회사 Apparatus and method for removing noise-image

Also Published As

Publication number Publication date
JP2013126186A (en) 2013-06-24
KR20130069373A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
RU2473968C2 (en) Video camera
US20090274365A1 (en) Image processing device and electronic camera
JPH10271530A (en) Image data compression coder, method therefor and digital camera
JP2006238407A (en) Device, method and program for encoding, and imaging device
JP2016508700A (en) Video camera
JP4560180B2 (en) Imaging device
JP2007088806A (en) Image signal processor and image signal processing method
KR20160135826A (en) Image processing apparatus, method for controlling image processing apparatus, image pickup apparatus, method for controlling image pickup apparatus, and recording medium
US8049794B2 (en) Method and apparatus for processing image data
JP6278712B2 (en) Imaging apparatus and control method thereof
JP6871727B2 (en) Imaging equipment, image processing methods, and programs
JP2008288947A (en) Image processing apparatus and program thereof
JP6700798B2 (en) Imaging device and control method thereof
JP2011035863A (en) Imaging apparatus
KR102012715B1 (en) Imaging apparatus and imaging processing method
KR101923971B1 (en) Imaging device and image processing method
JP6702792B2 (en) Image processing apparatus and control method thereof
JP2010028758A (en) Image processing apparatus and method, program, and imaging apparatus
JP6465570B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2006295573A (en) Device and method for embedding electronic openwork, and image forming apparatus
KR101646673B1 (en) An apparatus and a method for processing image, and a computer-readable medium storing a computer program for performing the method
US8934028B2 (en) Imaging apparatus and image processing method
JP6225137B2 (en) In-vehicle camera image processing device
JP2006254333A (en) Coding device, coding method, and digital camera
JP2009201153A (en) Digital camera and photographing method

Legal Events

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