KR20120069551A - Apparatus and method for processing image - Google Patents

Apparatus and method for processing image Download PDF

Info

Publication number
KR20120069551A
KR20120069551A KR1020110120907A KR20110120907A KR20120069551A KR 20120069551 A KR20120069551 A KR 20120069551A KR 1020110120907 A KR1020110120907 A KR 1020110120907A KR 20110120907 A KR20110120907 A KR 20110120907A KR 20120069551 A KR20120069551 A KR 20120069551A
Authority
KR
South Korea
Prior art keywords
line
image processing
output
lines
image data
Prior art date
Application number
KR1020110120907A
Other languages
Korean (ko)
Other versions
KR101862181B1 (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/328,596 priority Critical patent/US9019404B2/en
Publication of KR20120069551A publication Critical patent/KR20120069551A/en
Application granted granted Critical
Publication of KR101862181B1 publication Critical patent/KR101862181B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/28DMA

Abstract

PURPOSE: An image processing apparatus and an image processing method are provided to reduce bandwidth of a memory by configuration of an image processing unit and to processes an image at high speed. CONSTITUTION: An image processing unit(52) processes an image. The image processing unit outputs a line after image process. An image converting unit(56) inputs a line after image process. The image converting unit outputs a line after performing copy or enlargement of the line. An output timing controlling unit(57) controls timing for outputting a line from the image processing unit.

Description

화상처리 장치 및 화상처리 방법{APPARATUS AND METHOD FOR PROCESSING IMAGE}Image processing apparatus and image processing method {APPARATUS AND METHOD FOR PROCESSING IMAGE}

본 발명은, 화상처리를 행했을 때에 링(Ring) 픽셀 분만큼 화소가 감소하는 것에 의해 시야율이 저하하는 것을 방지할 수 있는 화상처리 장치 및 화상처리 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and an image processing method which can prevent the field of view from being lowered due to the reduction of pixels by a ring pixel when performing image processing.

종래부터, 디지털 카메라 등의 촬상 장치에 있어서는, 화상을 생성할 때에 촬상 소자로부터 삽입된 베이어(bayer) 데이터(원화상 데이터)에 대해서, YUV 데이터로의 변환, 노이즈 리덕션이나, 에지 강조 등의 화상보정 등의 각 화상처리 및 확대, 축소, 카피 등의 각종 화상변환을 행하고 있다.Background Art [0002] Conventionally, in an imaging device such as a digital camera, an image such as conversion to YUV data, noise reduction, or edge enhancement is performed on bayer data (original image data) inserted from an imaging device when an image is generated. Image processing such as correction and various image conversion such as enlargement, reduction and copying are performed.

상술한 바와 같은 화상처리를 행할 경우, 상기 원화상 데이터를 위에서 아래로 순서대로 라인마다 순차 화상처리부로 입력해서 처리를 하고 있다. 이러한 화상처리를 할 때는, 복수의 화소를 참조하여 하나의 새로운 화소를 생성하도록 구성되어 있는 것이 있고, 그 경우, 원화상 데이터에 아무런 대책을 행하지 않고 화상처리를 하면, 도 4의 왼쪽에 도시한 바와 같이 링 픽셀이라고 불리는 원화상 데이터의 주위의 분만큼 작아진 상태에서 처리 후에 화상 데이터를 얻게 된다. 이렇게 입력 화상에 대해서 화상처리후의 출력 화상이 작아져 시야율이 저하하는 것을 방지하기 위해서 도 4의 오른쪽 도면의 점선으로 나타낸 바와 같이 입력 화상 데이터의 주위에 화상처리로 소실되는 링 픽셀 분만큼 원화상 데이터의 주위에 대해서 부가한 픽셀인 링픽셀 틀을 화상처리전에 구비하는 것이 행해지고 있다. When performing the image processing as described above, the original image data is input to the image processing section sequentially for each line in order from the top to the bottom to perform the processing. When performing such image processing, one may be configured to generate a new pixel with reference to a plurality of pixels. In that case, if image processing is performed without taking any countermeasure to the original image data, the left side of FIG. As described above, image data is obtained after processing in a state of being smaller by the periphery of the original image data called ring pixels. In order to prevent the output image after image processing from being reduced and the field of view of the input image in this manner, as shown by the dotted line in the right drawing of FIG. Before the image processing, a ring pixel frame which is a pixel added to the periphery is provided.

이러한 입력 화상 데이터에 대해서 같은 화소수의 출력 화상 데이터를 출력하는 화상처리 이외에, 예를 들어, 입력된 화상을 2배로 확대하는, 픽셀 카피라고 하는 화상변환도 화상처리후에 행해지는 경우가 있다. 이러한 화상처리, 및 화상변환이 연속으로 행해지는 경우의 구성은, 도 5에 도시한 바와 같은 것을 생각할 수 있다. 즉, SDRAM(4A)에 원화상 데이터가 기억되어 있고, 상기 SDRAM(4A)으로부터의 원화상 데이터를 라인마다 독출하는 입력 DMA(Direct Memory Access)(51A)(이하, 독출부)과, 상기 독출부(51A)에 의해 독출된 라인에 대해서 각종 화상처리를 하는 직결해서 구비되는 제1필터(53A), 제2필터(54A), 제3필터(55A)로 이루어지면서 화상처리 후 라인을 출력하는 화상처리부(52A)와, 상기 화상처리부(52A)와 직결해서 구비되어, 상기 화상처리후 라인을 확대 또는 카피하는 화상변환부(56A)(Resize)과, 확대 또는 카피된 라인을 상기 SDRAM(4A)에 기억시키는 출력부인 출력DMA(58A)를 구비하고 있다. In addition to image processing for outputting output image data having the same number of pixels with respect to such input image data, for example, an image conversion such as pixel copy, which enlarges an input image twice, may be performed after image processing. The configuration in the case where such image processing and image conversion are performed continuously can be considered as shown in FIG. That is, the original image data is stored in the SDRAM 4A, and an input DMA (Direct Memory Access) 51A (hereinafter referred to as a readout unit) for reading out the original image data from the SDRAM 4A for each line, and The first filter 53A, the second filter 54A, and the third filter 55A, which are directly connected to each other to perform various image processing on the lines read by the reading unit 51A, output the lines after the image processing. The image processing unit 52A, the image conversion unit 56A (Resize) which is provided in direct connection with the image processing unit 52A, and enlarges or copies the lines after the image processing, and enlarges or copies the lines. The output DMA 58A which is an output part stored in 4A) is provided.

여기에서, 상기 화상변환부(56A)는, 라인을 확대할 때에 예를 들어, 1라인에 대해서 2라인을 출력하는 경우 등에 있어서는, 입력보다도 출력하여 상기 SDRAM(4A)에 기억시키는 데에 시간이 더 걸리게 된다. 이러한 화상변환부(56A)에 있어서 출력 중에 새로운 라인 입력이 수행되면, 정상적인 동작을 할 수 없게 되어 버리므로, 출력이 끝나고 나서 상기 화상변환부(56A)에 다음 연산에 필요한 라인이 입력되도록 타이밍을 리퀘스트하는 리퀘스트(Request) 신호를 상기 독출부(51A)로 입력하고 있다. 이 리퀘스트 신호에 따라서, 상기 독출부(51A)가 새로운 라인을 독출하면, 상기 제1필터(53A)에 그 라인이 입력되고, 차례차례로 제2필터(54A), 제3필터(55A)로 입력되어서 화상처리가 수행된 후, 상기 화상변환부(56A)로 새로운 라인이 입력된다. In this case, when the image conversion unit 56A enlarges a line, for example, when two lines are output for one line or the like, the image conversion unit 56A has a longer time to output than the input and store it in the SDRAM 4A. It takes longer. If a new line input is performed during the output by the image conversion unit 56A, normal operation cannot be performed. Therefore, timing is performed so that a line necessary for the next operation is input to the image conversion unit 56A after the output is completed. The request (Request) signal to request is input into the said reading part 51A. In response to the request signal, when the reading unit 51A reads out a new line, the line is input to the first filter 53A, which in turn is input to the second filter 54A and the third filter 55A. After the image processing is performed, a new line is input to the image conversion section 56A.

그러나, 이러한 구성에서는, 도 6에서 도시한 링 픽셀 틀 중 하측의 링 라인에 관해서 데이터의 분출을 행할 수 없게 되어 버린다. 구체적으로는, 상기 독출부(51A)가 원화상 데이터의 하단의 라인을 독출하면, 상기 SDRAM(4A)에는 하측의 링 라인의 데이터는 기억되어 있지 않으므로, 상기 독출부(51A)에 리퀘스트가 있어도 대응할 수 없다. 따라서, 하측의 링 라인에 대응하는 분출 동작을 계속할 수 없게 되어 버린다. 그렇다고 해서, 이러한 문제가 생기지 않도록 하기 위해서 상기 화상처리부(52A)에 대해서, 상기 화상변환부(56A)를 직결하는 구성을 중단하면, SDRAM의 밴드 폭을 삭감할 수 없어, 화상처리에 관련되는 동작의 고속화의 달성이 어렵게 된다.However, in such a configuration, data cannot be ejected to the lower ring line of the ring pixel frame shown in FIG. Specifically, when the reading unit 51A reads the lower line of the original image data, since the data of the lower ring line is not stored in the SDRAM 4A, even if there is a request in the reading unit 51A. Can't cope Therefore, the ejection operation corresponding to the lower ring line cannot be continued. However, in order to prevent such a problem from occurring, if the configuration of directly connecting the image conversion unit 56A to the image processing unit 52A is stopped, the bandwidth of the SDRAM cannot be reduced and the operation related to image processing is performed. It is difficult to achieve high speed.

본 발명은 상술한 바와 같은 문제점을 감안하여 이루어진 것으로, 화상처리부에 대해서 화상변환부를 직결한 구성에 의해 메모리의 밴드 폭을 삭감하고, 고속화상처리를 행할 수 있게 하는 동시에, 링 픽셀 분의 감소에 의한 시야율의 저하가 생기지 않도록 할 수 있는 화상처리 장치 및 화상처리 방법을 제공한다. SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and the structure in which the image converting portion is directly connected to the image processing portion reduces the bandwidth of the memory, enables high-speed image processing, and reduces the number of ring pixels. Provided are an image processing apparatus and an image processing method which can prevent a decrease in a field of view caused by the above.

상기한 바를 달성하기 위해 본 발명의 화상처리 장치는, 원화상 데이터를 저장하는 원화상 데이터 기억부와, 상기 원화상 데이터를 하나 이상의 라인마다 독출하여 출력하는 독출부와, 상기 라인이 입력되면, 입력되는 라인마다 화상처리에 따른 링 픽셀을 부가한 후에 상기 화상처리를 하고, 상기 화상처리 후 라인을 출력하는 화상처리부와, 상기 화상처리 후 라인이 입력되면, 상기 화상처리 후 라인에 대해서 확대 또는 카피를 행한 라인을 출력하는 화상변환부와, 상기 독출부에서 상기 라인이 출력되는 타이밍 또는 상기 화상처리부에서 상기 화상처리후 라인이 출력되는 타이밍을 제어하는 출력 타이밍 제어부를 구비한 것을 특징으로 한다. In order to achieve the above, the image processing apparatus of the present invention includes an original image data storage unit for storing original image data, a reading unit for reading out and outputting the original image data for at least one line, and the line is inputted. The image processing unit adds a ring pixel according to image processing for each input line and then outputs the line after the image processing, and when the line after the image processing is input, the image processing unit enlarges or resizes the line after the image processing. And an output timing controller for controlling the timing at which the line is output at the reader and the timing at which the line is output after the image processing at the image processor.

또한 본 발명의 화상처리 방법은, 원화상 데이터를 저장하는 원화상 데이터 저장 과정과, 상기 원화상 데이터를 하나 이상의 라인마다 독출하여 출력하는 독출 과정과, 상기 라인이 입력되면, 입력되는 라인마다 화상처리에 따른 링 픽셀을 부가한 후에 상기 화상처리를 하고, 상기 화상처리 후 라인을 출력하는 화상처리 과정과, 상기 화상처리 후 라인이 입력되어, 상기 화상처리후 라인에 대해서 확대 또는 카피를 행한 라인을 출력하는 화상변환 과정과, 상기 독출 시에 상기 라인이 출력되는 타이밍 또는 상기 화상처리 후 라인이 출력되는 타이밍을 제어하는 출력 타이밍 제어 과정을 포함함을 특징으로 한다.In addition, the image processing method of the present invention includes an original image data storing process for storing original image data, a reading process for reading and outputting the original image data for each of one or more lines, and an image for each input line when the line is input. An image processing step of adding the ring pixel according to the processing and outputting a line after the image processing, a line after the image processing is input, and a line which is enlarged or copied to the line after the image processing And an output timing control process of controlling the timing of outputting the line or the timing of outputting the line after the image processing.

이렇게 본 발명의 화상처리 장치, 화상처리 방법에 따르면, 고속화상처리를 가능하게 하는 동시에, 링 픽셀의 감소에 의한 시야율의 저하도 막을 수 있다.  As described above, according to the image processing apparatus and the image processing method of the present invention, high-speed image processing is enabled, and at the same time, a decrease in the field of view due to the reduction of the ring pixels can be prevented.

도 1은 본 발명의 일실시예에 관한 화상처리 장치가 탑재된 디지털 카메라의 전체구성을 나타내는 블록도,
도 2는 본 발명의 실시예에 따른 화상처리 장치를 나타내는 모식적 기능 블록도,
도 3은 본 발명의 실시예에 따른 각종 화상처리의 타이밍에 대해서 나타내는 타이밍 차트,
도 4는 종래의 링 픽셀의 감소에 의해 시야율의 저하에 대해서 나타내는 모식도,
도 5는 종래의 링 픽셀 틀을 원화상에 구비한 경우의 화상처리 공정의 일예를 나타내는 모식도,
도 6은 상기 도 5의 실시예에서 생기는 문제에 대해서 설명하는 모식도.
1 is a block diagram showing the overall configuration of a digital camera equipped with an image processing apparatus according to an embodiment of the present invention;
2 is a schematic functional block diagram showing an image processing apparatus according to an embodiment of the present invention;
3 is a timing chart showing timing of various image processing according to an embodiment of the present invention;
4 is a schematic diagram showing a decrease in field of view due to the reduction of a conventional ring pixel;
5 is a schematic diagram showing an example of an image processing step in the case where a conventional ring pixel frame is provided on an original image;
FIG. 6 is a schematic diagram for explaining a problem occurring in the embodiment of FIG. 5. FIG.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다. 또한, 본 발명을 설명함에 있어서, 관련된 공지기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear.

이하, 본 발명의 실시예에 따라 도 2의 화상처리 장치(200)에 대해서 설명한다. 상기 화상처리 장치(200)는, 도 1의 디지털 카메라(100)에 탑재되는 것으로, 예를 들어, 촬상 소자에 의해 생성된 베이어 데이터를 YUV데이터로 변환할 때의 각종 화상처리 및 확대, 카피 등의 화상변환 처리를 하도록 구성되어 있다. Hereinafter, the image processing apparatus 200 of FIG. 2 will be described in accordance with an embodiment of the present invention. The image processing apparatus 200 is mounted on the digital camera 100 of FIG. 1, for example, various image processing and enlargement, copying, etc., when the Bayer data generated by the imaging device is converted into YUV data. Is configured to perform image conversion processing.

상기 디지털 카메라(100)에 있어서, 도 1에 도시한 바와 같이 피사체는 렌즈(1)을 통해서, CCD(2)위에 결상되고, 그 상을 전기 신호로서 아날로그 프론트 엔드부(Analog-Front End :AFE)(3)로 보내진다. 아날로그 프론트 엔드부(3)에서는 우선, 자동 게인 컨트롤부(Automatic Gain Control: AGC)(31)에 의해, 신호가 증폭되어, AD 컨버터(32)에서 디지털 신호로 변환된다. In the digital camera 100, as shown in FIG. 1, the subject is imaged on the CCD 2 through the lens 1, and the image is an analog front end portion (AFE) as an electrical signal. Is sent to (3). In the analog front end section 3, the signal is first amplified by the automatic gain control section (AGC) 31 and converted into a digital signal by the AD converter 32.

디지털 신호로 변환된 화상(베이어 데이터)은 SDRAM(4) 등의 메모리에 저장된다. An image (bayer data) converted into a digital signal is stored in a memory such as the SDRAM 4 or the like.

메모리에 저장된 베이어 데이터의 화상은, 이미지 프로세서(5)에서 YUV화상으로 변환된 후, 화상압축부(6)에 순서대로 보내져서, 예를 들어, 화상압축부(6)에서 JPEG형식으로 부호화된다. 부호화된 압축 화상은 메모리카드(7)에 기억된다. The image of the Bayer data stored in the memory is converted into a YUV image by the image processor 5, and then sent to the image compression unit 6 in order, for example, encoded by the image compression unit 6 in JPEG format. . The encoded compressed image is stored in the memory card 7.

그리고, 도시된 각 구성부가 협업함으로써 상기 화상처리 장치 200로서의 기능을 발휘하도록 구성되어 있다. 여기서, 상기 이미지 프로세서(5)는 도 2의 화상처리부(52) 및 화상변환부(56)에 해당하는 것이다. 이하에 상세히 설명한다. Each of the illustrated components cooperates to perform a function as the image processing apparatus 200. The image processor 5 corresponds to the image processor 52 and the image converter 56 of FIG. 2. It demonstrates in detail below.

상기 화상처리 장치(200)는, 도 2에 도시한 바와 같이 원화상 데이터 기억부인 SDRAM(4)(이하, 원화상 데이터 기억부), 입력DMA(51), 화상처리부(52), 화상변환부(56), 출력 타이밍 제어부인 리퀘스트 제어(57)(이하, 출력 타이밍 제어부) 및 출력DMA(58)로서의 기능을 발휘하도록 구성되어 있다. As shown in Fig. 2, the image processing apparatus 200 includes an SDRAM 4 (hereinafter, referred to as an original image data storage unit), an input DMA 51, an image processing unit 52, and an image conversion unit. (56), it is configured to exhibit functions as a request control 57 (hereinafter, referred to as an output timing controller) and an output DMA 58 as an output timing controller.

상기 원화상 데이터 기억부(4)에는, 원화상 데이터가 저장되어 있고, 구체적으로는, 상기 CCD(2)로부터 변환된 피사체의 화상신호를 상기 아날로그 프론트 엔드부(3)에 의해 디지털 신호로 변환한 화상인 베이어 데이터를 상기 메모리인 원화상 데이터 기억부(4)에 저장하고 있는 것이다. The original image data is stored in the original image data storage section 4. Specifically, the analog front end section 3 converts the image signal of the subject converted from the CCD 2 into a digital signal. Bayer data, which is an image, is stored in the original image data storage section 4, which is the memory.

상기 입력DMA(51)은, 독출부에 해당하는 것으로, 상기 원화상 데이터 기억부(4)에 MPU(Micro Processor Uint)를 통하지 않고 액세스하여, 상기 원화상 데이터를 후술하는 상기 화상처리부(52)에 입력한다. 이 입력DMA(51)은 상기 출력 타이밍 제어부(57)로부터 리퀘스트가 있었을 경우에, 원화상 데이터를 상단으로부터 하단을 향해서 1라인 또는 복수 라인마다 독출하여, 상기 화상처리부(52)로 출력하도록 구성되어 있다. The input DMA 51 corresponds to a reading unit, and accesses the original image data storage unit 4 without using a microprocessor unit (MPU) to describe the original image data. Type in The input DMA 51 is configured to read original image data for one line or a plurality of lines from the upper end to the lower end when the request is received from the output timing control unit 57, and output it to the image processing unit 52. have.

상기 화상처리부(52)는, 상기 입력DMA(51)에 의해 독출된 라인에 대해서 각종 화상처리를 수행하고, 화상처리후 라인을 후속의 상기 화상변환부(56)로 출력하는 것이다. 상기 화상처리부(52)는, 3개의 필터로 구성되어 있는 것으로, 예를 들어, 제1필터(53)(filter1)는 베이어 데이터로부터 YUV데이터로의 변환, 제2필터(54)(filter2)는 노이즈 리덕션, 제3필터(55)(filter3)는 에지 강조의 보정 등을 순차적으로 행하는 것이다. 상기 3개의 필터는 직렬로 직결되어 있고, 각 필터로부터 출력된 데이터는 직접 다음 공정의 필터에 입력되게 된다. The image processing unit 52 performs various image processing on the lines read by the input DMA 51, and outputs the lines to the subsequent image conversion unit 56 after the image processing. The image processing unit 52 is composed of three filters. For example, the first filter 53 (filter1) converts Bayer data into YUV data, and the second filter 54 (filter2) The noise reduction and the third filter 55 (filter3) sequentially perform edge correction and the like. The three filters are directly connected in series, and the data output from each filter is directly input to the filter of the next process.

또한, 각 필터에 있어서 복수 픽셀의 화소에 근거하여 하나의 화소를 구성하는 처리를 하도록 되어 있고, 그대로 입력된 화상에 대해서 처리를 행하면 그만큼 화소가 감소해버리는 것을 막기 위해서, 각 필터에 있어서, 링 픽셀을 입력된 라인에 대해서 부가하도록 하고 있고, 링 픽셀의 하측부분의 라인을 하측 링 라인이라고 본 실시예에서는 칭한다. 부가하여, 상기 제1필터(53), 제2필터(54), 제3필터(55)에 있어서 부가되는 하측 링 라인의 라인수를 L1, L2, L3이라고 칭한다. 또한, 각 필터에는 처리에 필요한 수의 라인을 기억하기 위한 저장 영역을 상기 원화상 데이터 기억부(4)에 형성하고 있다. In addition, in each filter, a process of constituting one pixel is performed based on the pixels of a plurality of pixels, and in order to prevent the pixels from decreasing by processing the input image as it is, in each filter, a ring The pixel is added to the input line, and the line of the lower portion of the ring pixel is referred to as the lower ring line in this embodiment. In addition, the number of lines of the lower ring line added in the first filter 53, the second filter 54, and the third filter 55 is referred to as L1, L2, L3. In each filter, a storage area for storing the number of lines required for processing is formed in the original image data storage section 4.

상기 화상변환부(56)(Resize)는, 상기 화상처리부(52)에 대해서, 직접 연결하여 구비되어 있는 것으로, 본 발명의 실시예에서는, 입력된 라인을 확대해서 출력하도록 구성되어 있다. 즉, 상기 화상변환부(56)는, 예를 들어 1라인의 입력에 대해서 2라인의 출력을 행하는 것이며, 출력된 라인은, 상기 출력DMA(58)에 의해 상기 원화상 데이터 기억부(4)에 보존된다. The image converting unit 56 (Resize) is provided to be directly connected to the image processing unit 52. In the embodiment of the present invention, the image converting unit 56 (Resize) is configured to enlarge and output the input line. In other words, the image conversion section 56 outputs two lines for one line input, for example, and the output lines are outputted by the output DMA 58 to the original image data storage section 4. Are preserved in

상기 출력 타이밍 제어부(57)(Request 제어)는, 상기 제3필터(55)의 출력 라인수를 관측하여, 상기 화상변환부(56)에 대해서 라인이 입력되는 타이밍을 제어하기 위한 것이다. 이것은, 상기 화상변환부(56)가 라인을 확대 또는 카피하는 것일 경우, 출력이 완료할 때까지 새로운 입력이 되지 않도록 하기 위한 것이다. 이 출력 타이밍 제어부(57)는, 상기 입력DMA(51) 및 상기 화상처리부(52)의 각 필터에 대해서 라인을 언제 출력할지에 대해서 그 타이밍을 제어하도록 구성되어 있다. The output timing controller 57 (Request control) is for observing the number of output lines of the third filter 55 and controlling the timing at which the lines are input to the image converter 56. This is to prevent new input until the output is completed when the image conversion section 56 is to enlarge or copy the line. The output timing control unit 57 is configured to control the timing of when to output a line to each of the filters of the input DMA 51 and the image processing unit 52.

이러한 상기 출력 타이밍 제어부(57)의 구체적인 동작으로써, 상기 출력 타이밍 제어부(57)는, 입력DMA에 해당하는 독출부에 의해 상기 원화상 데이터의 모든 라인이 독출될 때까지는, 상기 독출부의 출력 타이밍을 제어하고, 상기 독출부에 의해 상기 원화상 데이터의 모든 라인이 독출된 후는, 상기 화상처리부(52)의 출력 타이밍을 제어하도록 구성된다.As a specific operation of the output timing controller 57, the output timing controller 57 adjusts the output timing of the read unit until all the lines of the original image data are read by the read unit corresponding to the input DMA. The control unit is configured to control the output timing of the image processing unit 52 after all lines of the original image data have been read by the reading unit.

보다 구체적으로는, 상기 출력 타이밍 제어부(57)은, 상기 화상변환부(56)가 축소 처리, 즉, 입력된 라인수보다도 적은 라인수를 출력할 경우에는, 특별히 제어를 행하지 않는다. 이 경우, 상기 화상변환부(56)로의 입력대기가 없으므로, 연속해서 라인을 입력하면 되고, 각 필터의 블록은, 입력되는 라인이 없어진 것을 검출해서 각 하측 링 라인을 다음 필터 또는 화상변환부(56)에 입력하도록 구성해 두면 된다. 즉, 제1필터(53)이면, L1분의 하측 링 라인을 순차, 다음 제2필터(54)로 입력하도록 되어 있다. More specifically, the output timing control section 57 does not perform any control when the image conversion section 56 outputs a reduction process, that is, the number of lines smaller than the number of input lines. In this case, since there is no input waiting to the image converting section 56, the input lines can be input continuously, and each block of the filter detects that the input line is missing and replaces each lower ring line with the next filter or image converting section ( 56). That is, in the case of the first filter 53, the lower ring line for L1 is sequentially input to the next second filter 54.

상기 화상변환부(56)가 확대 처리 또는 카피를 행하는, 즉, 1라인 입력에 대해서 1라인 출력이상이 행해질 경우에는, 상기 출력 타이밍 제어부(57)는, 상기 원화상 데이터 기억부(4)에 기억되어 있는 원화상 데이터의 모든 라인이 출력될 때까지의 동안은, 상기 입력DMA(51)의 라인의 독출, 및 그 출력 타이밍을 제어한다. 구체적으로는, 상기 화상변환부(56)에서 출력이 완료된 것을 감지하면, 다음 라인을 독출하도록 입력DMA(51)에 리퀘스트를 행하도록 하고 있다. When the image conversion section 56 performs enlargement processing or copying, that is, when more than one line output is performed for one line input, the output timing control section 57 sends the original image data storage section 4 to the original image data storage section 4. While all the lines of the stored original image data are outputted, reading of the lines of the input DMA 51 and output timing thereof are controlled. Specifically, upon detecting that the output is completed by the image conversion section 56, a request is made to the input DMA 51 to read the next line.

그 후, 각 필터에 있어서 부가되는 링 픽셀 틀에 맞추어, 각 하측 링 라인이 상기 화상변환부(56)까지 입력되도록, 제1필터(53), 제2필터(54), 제3필터(55)의 순으로 각 하측 링 라인을 출력하는 리퀘스트를 행하도록 구성되어 있다. 이 리퀘스트에 관해서는 이하와 같은 순서로 그 순번이 결정된다. 여기에서, 원화상 데이터를 분할한 라인수인 입력 라인수를 A, 상기 제3필터(55)로부터 지금까지 출력된 출력 라인수를 B, 각 필터에 있어서의 하측 링 라인의 수를 L1, L2, L3이라고 한 경우, A-(L1+L2+L3)≤B <A-(L2+L3)의 사이에 출력 라인수 B가 있을 때는, 상기 제1필터(53)로부터 하측 링 라인을 위에서 아래로 차례대로 출력하도록 리퀘스트한다. 이어서 A-(L2+L3)≤B <A-L3의 사이에 출력 라인수 B가 있을 경우에는, 상기 출력 타이밍 제어부(57)은, 상기 제2필터(54)에 하측 링 라인을 위에서 순서대로 출력하도록 리퀘스트한다. 마지막으로, A-L3≤B <A의 사이에 출력 라인수 B가 있을 경우에는 상기 제3필터(55)에 하측 링 라인을 위에서 순서대로 출력하도록 리퀘스트한다. Then, the first filter 53, the second filter 54, and the third filter 55, so that each lower ring line is inputted to the image conversion unit 56, in accordance with the ring pixel frame added in each filter. Is configured to make a request for outputting each of the lower ring lines in the following order. The order of these requests is determined in the following order. Here, A is the number of input lines which are the number of lines obtained by dividing the original image data, A is the number of output lines output so far from the third filter 55, B is the number of lower ring lines in each filter, and L1 and L2. , L3, when there is an output line number B between A- (L1 + L2 + L3) ≤B <A- (L2 + L3), the lower ring line is moved from top to bottom from the first filter 53. The output timing control section 57, when there are output lines B between A- (L2 + L3) < = B < Requests the lower ring lines to be output in order from above, and finally, if there is an output line number B between A-L3 &lt; B &lt; A, outputs the lower ring lines to the third filter 55 in order from above. Request to do so.

이렇게 상기 출력 타이밍 제어부(57)가 동작하므로, 상기 입력 타이밍 및 각 필터의 입출력 타이밍에 관한 타이밍 차트는 도 3처럼 된다. Since the output timing controller 57 operates as described above, a timing chart relating to the input timing and the input / output timing of each filter is shown in FIG. 3.

이렇게 본 발명의 실시예의 화상처리 장치 200에 따르면, 링 픽셀 틀을 구비하는 동시에, 상기 화상처리부(52)인 각 필터 처리의 출력을 직접 확대 처리 등이 행해지는 화상변환부(56)에 입력하여, 확대 처리 등을 행하도록 하고 있으므로, 원화상으로부터 화상처리를 행한 후 확대 화상으로 변환해도, 확대 화상의 시야율을 저하시키지 않고, 또한 원화상 데이터 기억부(4)의 밴드 폭을 삭감하여, 고속으로 소비 전력을 억제한 처리를 실현할 수 있다.Thus, according to the image processing apparatus 200 of the embodiment of the present invention, at the same time having a ring pixel frame, the output of each filter process, which is the image processing unit 52, is inputted to the image converting unit 56 where direct magnification processing or the like is performed. Since the image processing is carried out from the original image and then converted into the enlarged image, the band width of the original image data storage unit 4 is reduced without reducing the field of view of the enlarged image. In this way, a process with reduced power consumption can be realized.

상기한 바와 같이 본 발명에 따르면, 상기 독출부에 의해 상기 원화상 데이터 기억부로부터 상기 원화상 데이터에 대해서 모든 라인이 독출된 후에 대해서도, 상기 화상처리부에 대해서 라인의 출력을 요구할 수 있고, 상기 화상처리부에 있어서 부가되는 링 픽셀 분의 라인에 대해서도 상기 화상변환부에서 출력할 수 있게 된다. 또한, 그 출력 타이밍이 제어되고 있으므로, 확대 또는 카피라고 한 1라인의 입력에 대해서 1라인이상의 출력을 행하는 경우에 있어서도 출력 도중에 새로운 입력이 있어 정상적인 동작을 할 수 없게 되는 상황을 막을 수 있다. 또한, 상기 화상처리부에 대해서 직렬로 직접 연결되는 상기 화상변환부를 구비하고 있으므로, 화상처리부에서의 처리 결과를 우선 메모리 등에 기억시켜서 다시 화상변환을 행하기 위해서 메모리로부터 독출하는 것을 하지 않아도 되므로, 메모리의 밴드 폭을 삭감하여, 고속처리를 행할 수 있게 된다. As described above, according to the present invention, even after all the lines are read from the original image data storage unit to the original image data by the reading unit, the output of the lines can be requested to the image processing unit. The image conversion section can also output lines for ring pixels added in the processing section. In addition, since the output timing is controlled, even when one or more lines of output are output to one line of input such as enlargement or copying, it is possible to prevent a situation in which a new input occurs during the output and normal operation cannot be performed. In addition, since the image conversion section is connected directly in series with the image processing section, the processing result in the image processing section is first stored in a memory or the like, so that it is not necessary to read out from the memory in order to perform image conversion again. By reducing the band width, the high speed processing can be performed.

상기한 바 이외에 그 밖의 실시예에 대해서 설명한다. 상기 본 발명의 실시예에서는 복수의 필터에 의한 화상처리를 행하고 있었지만, 이러한 필터의 수는 도 2에서의 필터 수에 한정되지 않으며, 그 이상이거나 1개이어도 된다. 즉, 화상처리부에 대해서 화상변환부가 직결해 있으면 된다. 또한, 본 발명의 화상처리 장치는, 디지털 카메라뿐만 아니라 그 밖의 화상처리를 필요로 하는 기기에 탑재해도 상관없다. 그 외, 본발명의 취지에 반하지 않는 한, 다양한 변형이나 실시예의 조합을 해도 되는 것은 말할 필요도 없다.In addition to the above, other embodiments will be described. In the above embodiment of the present invention, image processing by a plurality of filters is performed, but the number of such filters is not limited to the number of filters in FIG. In other words, the image conversion section may be directly connected to the image processing section. In addition, the image processing apparatus of the present invention may be mounted not only in a digital camera but also in a device that requires other image processing. In addition, it goes without saying that various modifications and combinations of the embodiments may be made without departing from the spirit of the present invention.

200 화상처리 장치
4 원화상 데이터 기억부
51 독출부
52 화상처리부
56 화상변환부
57 출력 타이밍 제어부
200 image processing unit
4 original image data storage
51 readers
52 Image Processing Unit
56 Image Converter
57 output timing control

Claims (12)

원화상 데이터를 저장하는 원화상 데이터 기억부와,
상기 원화상 데이터를 하나 이상의 라인마다 독출하여 출력하는 독출부와,
상기 라인이 입력되면, 입력되는 라인마다 화상처리에 따른 링 픽셀을 부가한 후에 상기 화상처리를 하고, 상기 화상처리 후 라인을 출력하는 화상처리부와,
상기 화상처리 후 라인이 입력되면, 상기 화상처리 후 라인에 대해서 확대 또는 카피를 행한 라인을 출력하는 화상변환부와,
상기 독출부에서 상기 라인이 출력되는 타이밍 또는 상기 화상처리부에서 상기 화상처리후 라인이 출력되는 타이밍을 제어하는 출력 타이밍 제어부를 구비한 것을 특징으로 하는 화상처리 장치.
An original image data storage unit for storing original image data;
A reading unit configured to read and output the original image data for at least one line;
An image processing unit which adds a ring pixel according to image processing for each input line after inputting the line, and performs the image processing, and outputs the line after the image processing;
An image conversion unit for outputting a line which has been enlarged or copied to the line after the image processing when the line after the image processing is input;
And an output timing controller for controlling the timing at which the line is output at the reader or the timing at which the line is output after the image processing at the image processing unit.
제1항에 있어서, 상기 출력 타이밍 제어부는,
상기 독출부에 의해 상기 원화상 데이터의 모든 라인이 독출될 때까지 상기 독출부의 출력 타이밍을 제어하고,
상기 독출부에 의해 상기 원화상 데이터의 모든 라인이 독출된 후에는, 상기 화상처리부의 출력 타이밍을 제어함을 특징으로 하는 화상처리 장치.
The method of claim 1, wherein the output timing control unit,
The output timing of the reading unit is controlled until all lines of the original image data are read by the reading unit,
And after all lines of the original image data are read by the reading unit, controlling the output timing of the image processing unit.
제2항에 있어서, 상기 출력 타이밍 제어부는,
상기 독출부에 의해 상기 원화상 데이터의 모든 라인이 독출됨에 따라 상기 화상변환부에서 출력이 완료된 것을 감지하면, 다음 라인을 독출하도록 상기 독출부에 리퀘스트함을 특징으로 하는 화상처리 장치.
The method of claim 2, wherein the output timing control unit,
And if the image conversion unit detects that the output is completed as all lines of the original image data are read by the reading unit, requesting the reading unit to read the next line.
제1항에 있어서, 상기 독출부는,
상기 출력 타이밍 제어부로부터의 리퀘스트가 있을 경우 상기 원화상 데이터 기억부에 저장된 원화상 데이터를 1라인 또는 복수 라인마다 독출하여, 상기 화상처리부로 출력하는 DMA(Direct Memory Access)인 것을 특징으로 하는 화상처리 장치.
The method of claim 1, wherein the reading unit,
Image processing, characterized in that the DMA (Direct Memory Access) reads out the original image data stored in the original image data storage unit for one line or a plurality of lines when the request is received from the output timing control unit and outputs the image data to the image processing unit. Device.
제1항에 있어서, 상기 화상변환부는,
상기 화상처리부와 직렬로 직접 연결된 것임을 특징으로 하는 화상처리 장치.
The method of claim 1, wherein the image conversion unit,
And an image processor directly connected in series with the image processor.
제1항에 있어서, 상기 화상처리부는,
적어도 하나의 필터로 구성되는 것을 특징으로 하는 화상처리 장치.
The method of claim 1, wherein the image processing unit,
And at least one filter.
제6항에 있어서, 상기 출력 타이밍 제어부는,
상기 원화상 데이터를 분할한 입력 라인수와, 상기 적어도 하나의 필터로부터 출력된 출력 라인수와, 상기 적어도 하나의 필터 각각에 있어서의 링 픽셀의 하측부분의 라인인 하측 링 라인수를 이용하여 상기 타이밍을 결정함을 특징으로 하는 화상처리 장치.
The method of claim 6, wherein the output timing control unit,
The number of input lines obtained by dividing the original image data, the number of output lines output from the at least one filter, and the number of lower ring lines which are lines of the lower portion of the ring pixel in each of the at least one filter are used. And the timing is determined.
원화상 데이터를 저장하는 원화상 데이터 저장 과정과,
상기 원화상 데이터를 하나 이상의 라인마다 독출하여 출력하는 독출 과정과,
상기 라인이 입력되면, 입력되는 라인마다 화상처리에 따른 링 픽셀을 부가한 후에 상기 화상처리를 하고, 상기 화상처리 후 라인을 출력하는 화상처리 과정과,
상기 화상처리 후 라인이 입력되어, 상기 화상처리후 라인에 대해서 확대 또는 카피를 행한 라인을 출력하는 화상변환 과정과,
상기 독출 시에 상기 라인이 출력되는 타이밍 또는 상기 화상처리 후 라인이 출력되는 타이밍을 제어하는 출력 타이밍 제어 과정을 포함함을 특징으로 하는 화상처리 방법.
An original image data storing process for storing original image data;
A reading process of reading and outputting the original image data for at least one line;
An image processing step of adding the ring pixel according to image processing for each input line after the line is input, performing the image processing, and outputting the line after the image processing;
An image conversion process of inputting a line after the image processing to output a line which has been enlarged or copied to the line after the image processing;
And an output timing control step of controlling the timing at which the line is output at the time of reading or the timing at which the line is output after the image processing.
제8항에 있어서, 상기 출력 타이밍 제어 과정은,
상기 원화상 데이터의 모든 라인이 독출될 때까지 상기 독출 시에 상기 라인이 출력되는 타이밍을 제어하는 과정과,
상기 원화상 데이터의 모든 라인이 독출된 후에는, 상기 화상처리 후 라인이 출력되는 타이밍을 제어하는 과정을 포함함을 특징으로 하는 화상처리 방법.
The method of claim 8, wherein the output timing control process,
Controlling the timing at which the lines are output at the time of reading until all the lines of the original image data are read;
And after all the lines of the original image data are read out, controlling the timing at which the lines are output after the image processing.
제9항에 있어서, 상기 독출 시에 상기 라인이 출력되는 타이밍을 제어하는 과정은,
상기 화상처리후 라인에 대해서 확대 또는 카피를 행한 라인의 출력이 완료된 것을 감지하면, 상기 독출 시에 다음 라인을 독출하도록 리퀘스트함을 특징으로 하는 화상처리 방법.
The method of claim 9, wherein the controlling of the timing at which the line is output when the read is performed comprises:
And requesting to read the next line upon the reading, upon detecting that the output of the line which has been enlarged or copied to the line after the image processing is completed.
제8항에 있어서, 상기 화상처리 과정은,
적어도 하나의 필터를 이용하여 상기 화상처리 후 라인을 출력하는 과정임을 특징으로 하는 화상처리 방법.
The method of claim 8, wherein the image processing process,
And outputting a line after the image processing by using at least one filter.
제11항에 있어서, 상기 출력 타이밍 제어 과정은,
상기 원화상 데이터를 분할한 입력 라인수와, 상기 적어도 하나의 필터로부터 출력된 출력 라인수와, 상기 적어도 하나의 필터 각각에 있어서의 링 픽셀의 하측부분의 라인인 하측 링 라인수를 이용하여 상기 타이밍을 결정함을 특징으로 하는 화상처리 방법.
The method of claim 11, wherein the output timing control process comprises:
The number of input lines obtained by dividing the original image data, the number of output lines output from the at least one filter, and the number of lower ring lines which are lines of the lower portion of the ring pixel in each of the at least one filter are used. And determining timing.
KR1020110120907A 2010-12-20 2011-11-18 Apparatus and method for processing image KR101862181B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/328,596 US9019404B2 (en) 2010-12-20 2011-12-16 Image processing apparatus and method for preventing image degradation

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2010-283454 2010-12-20
JP2010283454A JP2012134648A (en) 2010-12-20 2010-12-20 Image processing apparatus and image processing method

Publications (2)

Publication Number Publication Date
KR20120069551A true KR20120069551A (en) 2012-06-28
KR101862181B1 KR101862181B1 (en) 2018-07-05

Family

ID=46649748

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110120907A KR101862181B1 (en) 2010-12-20 2011-11-18 Apparatus and method for processing image

Country Status (2)

Country Link
JP (1) JP2012134648A (en)
KR (1) KR101862181B1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004260265A (en) * 2003-02-24 2004-09-16 Nikon Corp Pixel extracting circuit having pixel turning over function, and image pickup apparatus
JP5152670B2 (en) * 2008-12-23 2013-02-27 カシオ計算機株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP2012134648A (en) 2012-07-12
KR101862181B1 (en) 2018-07-05

Similar Documents

Publication Publication Date Title
JP4254969B2 (en) Imaging device
US8194155B2 (en) Information processing apparatus, buffer control method, and computer program
US20130021504A1 (en) Multiple image processing
JP2007221273A (en) Imaging apparatus and control method thereof, program, and storage medium
RU2394388C1 (en) Image forming device and method of controlling said device
US20160112640A1 (en) Imaging apparatus and imaging method
US8149285B2 (en) Video camera which executes a first process and a second process on image data
JP4636755B2 (en) Imaging apparatus, image processing method, recording medium, and program
JP2015053644A (en) Imaging device
US8531538B2 (en) Image processing apparatus, imaging apparatus, and image processing method
KR101364050B1 (en) Method and apparatus for image processing
US10681266B2 (en) Method, apparatus, and system for processing digital images
US20100135644A1 (en) Photographing apparatus and method of controlling the same
JP5996418B2 (en) Imaging apparatus and imaging method
JP2007124542A (en) Imaging apparatus, and control method, program and recording medium thereof
US20230086519A1 (en) Multimedia processing chip, electronic device, and method for dynamic-image processing
JP2010028758A (en) Image processing apparatus and method, program, and imaging apparatus
US10397587B2 (en) Image processing apparatus and control method thereof
US9019404B2 (en) Image processing apparatus and method for preventing image degradation
KR101862181B1 (en) Apparatus and method for processing image
JP2000354193A (en) Camera system and video signal processor
JP2004312072A (en) Image processing device, camera, and image processing method
KR20130069347A (en) Imaging apparatus and imaging method
US10250829B2 (en) Image processing apparatus that uses plurality of image processing circuits
JP4181655B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium

Legal Events

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