KR0149522B1 - Image processing method and apparatus for commercial computer - Google Patents

Image processing method and apparatus for commercial computer

Info

Publication number
KR0149522B1
KR0149522B1 KR1019930020210A KR930020210A KR0149522B1 KR 0149522 B1 KR0149522 B1 KR 0149522B1 KR 1019930020210 A KR1019930020210 A KR 1019930020210A KR 930020210 A KR930020210 A KR 930020210A KR 0149522 B1 KR0149522 B1 KR 0149522B1
Authority
KR
South Korea
Prior art keywords
color
signal
component signal
image processing
purpose computer
Prior art date
Application number
KR1019930020210A
Other languages
Korean (ko)
Other versions
KR950009487A (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 KR1019930020210A priority Critical patent/KR0149522B1/en
Publication of KR950009487A publication Critical patent/KR950009487A/en
Application granted granted Critical
Publication of KR0149522B1 publication Critical patent/KR0149522B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Color Television Image Signal Generators (AREA)
  • Image Processing (AREA)

Abstract

본 발명은 범용 컴퓨터를 이용하여 화상처리하는 방법 및 그 장치에 관한 것이다. 본 발명은 컬러코체촬상소자카메라를 컴퓨터를 이용한 화상처리에 이용시 고체촬상소자상으 색필터로 부터 추출된 신호들을 바로 디지탈형태로 변환하여 접속된 범용컴퓨터에 입력시켜, 색정보를 컴퓨터상의 소프트웨어적으로 추출하도록 하는 것에 관한 것이다. 따라서, 본 발명은 컴퓨터를 이용한 화상처리시스템 하드웨어적 구성을 간략화시킬 수 있을 뿐 아니라 직접 R. G. B 신호를 추출하기 때문에 R, G, B 신호를 합성영상신호(Composite Video Signal)로 합성시키고 다시 R. G. B 정보를 추출하는 과정에서 필연적으로 생기는 해상도의 저하를 막아 해상도를 향상시킬 수 있는 효과를 제공한다.The present invention relates to a method and apparatus for image processing using a general-purpose computer. The present invention converts signals extracted from a color filter on a solid-state image pickup device into a digital form by directly inputting the color coded image pickup device camera to a general-purpose computer connected to the computer. To extract. Therefore, the present invention not only simplifies the hardware configuration of the image processing system using a computer, but also directly extracts the RG B signal, thereby synthesizing the R, G, and B signals into a composite video signal, and again, the RG B. It provides an effect that can improve the resolution by preventing a decrease in resolution inevitably occurred in the process of extracting information.

Description

범용컴퓨터를 이용한 화상처리방법 및 그 장치Image processing method and apparatus using general-purpose computer

제1도는 종래의 범용컴퓨터를 이용한 화상처리장치를 나타내는 회로도,1 is a circuit diagram showing an image processing apparatus using a conventional general-purpose computer,

제2도는 단판식 컬러 고체촬상소자(CCD)의 색필터배열을 나타내는 개념도,2 is a conceptual diagram showing a color filter arrangement of a single-plate color solid-state imaging device (CCD),

제3도는 본 발명에 의한 범용컴퓨터를 이용한 화상처리장치를 나타내는 블록도.3 is a block diagram showing an image processing apparatus using a general-purpose computer according to the present invention.

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

10 : 고체촬상소자 20 : 상관이중샘플링부10: solid state imaging device 20: correlated double sampling unit

60 : A/D변환부 70 : 인터페이스60: A / D converter 70: interface

80 : 범용컴퓨터80: general purpose computer

본 발명은 컬러고체촬상소자카메라를 컴퓨터를 이용한 화상처리에 이용시 고체촬상소자(Charge Coupled Device;이하 CCD라 함)에서 추출된 신호를 바로 디지탈변환하여 접속된 컴퓨터에 입력시켜 색정보를 추출하도록 하므로써 화상처리시스템의 하드웨어적 구성을 간략화하는 범용 컴퓨터를 이용한 화상처리방법 및 그 장치에 관한 것이다.According to the present invention, when a color solid-state imaging device camera is used for image processing using a computer, a signal extracted from a solid-state imaging device (hereinafter referred to as a CCD) is directly digitally converted and input to a connected computer to extract color information. An image processing method using a general-purpose computer for simplifying the hardware configuration of an image processing system and an apparatus thereof.

요즘 컴퓨터(Computer)를 이용한 화상처리기술이 매우 발달하고 있다. 특히 전자출판이나 인사관리시 필요한 사진들을 켐코더(Camcorder)등을 이용하여 촬영하고, 이때 촬영된 영상신호를 컴퓨터내의 영상처리보드를 통하여 티.아이.에프(TIF)내지 피.시.엑스(PCX)와 같은 형식의 그래픽화일(Graphic file)로 저장하여 추후에 문서와 결합하여 사용한다. 이때 촬영된 대상물을 전기신호로 변환시키는 CCD로 부터 출력되는 신호에서 색신호인 적(R), 녹(G),청(B)색 신호를 추출하여 영상신호로 만들고, 컴퓨터내의 영상처리보드에서 다시 색정보를 추출하여 그래픽화일로 저장한다. 이와 같은 종래의 범용컴퓨터를 이용한 화상처리장치를 나타내는 블록도가 제1도에 도시되어 있다.Nowadays, image processing technology using a computer is very developed. In particular, photographs required for electronic publishing or personnel management are taken by using a camcorder, etc., and the captured video signals are recorded through T.I.F. Save as a graphic file in the form of) and later combine it with the document. At this time, red (R), green (G), and blue (B) signals, which are color signals, are extracted from the signal output from the CCD that converts the photographed object into an electrical signal, and the image signal is extracted. Extract color information and save it as a graphic file. A block diagram showing such an image processing apparatus using a conventional general purpose computer is shown in FIG.

제1도는 종래의 범용컴퓨터를 이용한 화상처리장치를 나타내는 회로도로서, 캠코더(Camcorder)와 같은 촬영장치상의 고체촬영소자(CCD)(10)로부터 구해진 광전변환시호는 상관이중샘플링부(Correlated Double Sampling;CDS)(20)에서 리셋트노이즈 및 엠프노이즈가 제거된다. 노이즈가 제거된 신호는 색정보추출부(30)로 입력되어 R, G, B 신호로 추출되는데 구체적인 추출과정을 설명하기에 앞서 먼저 제2도에 도시된 컬러 CCD의 색필터에 대해 설명하기로 한다.1 is a circuit diagram showing a conventional image processing apparatus using a general-purpose computer, wherein a photoelectric conversion signal obtained from a solid state image pickup device (CCD) 10 on a photographing apparatus such as a camcorder is selected from a correlated double sampling unit; In the CDS) 20, reset noise and amp noise are removed. The signal from which the noise is removed is input to the color information extraction unit 30 and extracted as R, G, and B signals. Before describing the specific extraction process, the color filter of the color CCD shown in FIG. 2 will be described. do.

제2도는 단판식컬러(CCD)(10)의 색 필터 배열을 나타내는 개념도로서, 녹(Green; G), 시안 (Cyan;Cy), 마젠타(Mageta;Mg), 황(Yellow; Ye)의 4색으 샌필터를 각 화소상에 모자이크상으로 배열한 것이다. 각 단위화상의 광전하를 필드(Field)읽어내기로 구동하게 되면 4색의 컬러신호는 2열으 전하가 혼합되어 출력된다. 출력되는 전하의 순서는 현 입력라인(0H)에서 보면 [G+Cy], [Mg+Ye], [G+Cy], [Mg+Ye]가 신호로써 출력된다. 이전 1H라인을 살펴보면, [Mg+Cy], [G+Ye], [Mg+Cy], [G+Ye]의 순서로 출력된다. 출력되는 신호는 1H주기마다 색성분이 교번적으로 바뀌게 됨을 알 수 있다.FIG. 2 is a conceptual diagram showing the color filter arrangement of the single plate color (CCD) 10. Green, G, Cyan, Magta, Mg, and Yellow (Ye) are shown in FIG. The color filters are arranged in mosaic on each pixel. When the photocharges of each unit image are driven by field reading, the color signals of four colors are output by mixing the charges in two columns. In the order of the output charges, [G + Cy], [Mg + Ye], [G + Cy], and [Mg + Ye] are output as signals in the current input line (0H). Looking at the previous 1H line, the output is in the order of [Mg + Cy], [G + Ye], [Mg + Cy], [G + Ye]. It can be seen that the color signal is alternately changed every 1H cycle.

상관이중샘플링부(CDS)(20)는 고체촬상소자(10)로부터 인가되는 신호의 노이즈성분을 제거한 후, CCD(10)이상에 배열된 4색필터의 컬러신호를 2개씩 샘플링하여 [G+Cy]의 제1신호(S1) 와 [Mg+Ye]의 제2신호(S2)를 출력하고, 이전 라인에서는 [Mg+Cy]의 제3신호(S3)와 [G+Ye]의 제4신호(S4)를 출력한다. 일반적으로 녹(G)색 필터에서는 피사체의 R과 B 성분이 통과되지 못하고 G성분만이 통과하여, 시안(Cy)필터에서는 R성분이 제지되고 B와 G성분만이 통과한다. 또한, 마젠다(Mg)필터에서는 G성분이 제지되고 R과 B 성분만이 통과하며, 황(Ye)필터에서는 G성분이 제지되고 R 과 G 성분만이 통과한다. 따라서, 색정보추출부(30)는 상관이중샘플링부(20)로 부터 인가되는 신호들을 공지된 기술을 통해 R, G, B 신호를 추출한다. 좀 더 구체적으로 설명하면, 색정보추출부(30)의 감산기(32)는 상관이중샘플링부(20)로부터 인가되는 두신호의 차성분을 구한다. 즉, 다음과 같이 나타내어진다.The correlation double sampling unit (CDS) 20 removes a noise component of a signal applied from the solid state image pickup device 10, and then samples two color signals of four color filters arranged on the CCD 10 or higher by [G +]. Outputs the first signal S1 of Cy] and the second signal S2 of [Mg + Ye], and the third signal S3 of [Mg + Cy] and the fourth of [G + Ye] in the previous line. Output the signal S4. In general, the green (G) filter does not pass the R and B components of the subject, but only the G component passes. In the Cy filter, the R component is restrained and only the B and G components pass. In addition, in the magenta (Mg) filter, the G component is restrained and only the R and B components pass. In the sulfur (Ye) filter, the G component is restrained and only the R and G components pass. Therefore, the color information extraction unit 30 extracts the signals applied from the correlation double sampling unit 20 through R, G, and B signals through known techniques. More specifically, the subtractor 32 of the color information extracting unit 30 obtains a difference component between two signals applied from the correlation double sampling unit 20. That is, it is represented as follows.

S2 - S1 = (Mg+Ye) - (G+Cy)S2-S1 = (Mg + Ye)-(G + Cy)

= (R + B + R + G) - (G + B + G)= (R + B + R + G)-(G + B + G)

= 2R - G= 2R-G

= COH= COH

S4 - S3 = (G + Ye) - (Mg + Cy)S4-S3 = (G + Ye)-(Mg + Cy)

= (G + R + G) - (G + B + B + G)= (G + R + G)-(G + B + B + G)

= G - 2B= G-2B

= - (2B - G)=-(2B-G)

= C1H= C1H

감산기(32)로 부터 구해진 차성분은 제1지연기(33)와 연산부(35)로 각각 인가된다. 제 1지연기(33)는 감산기(32)로 부터 인가되는 차성분(S2 - S1) 즉, COH를 일정시간 지연한 후 제2지연기(34)와 멀티플렉서(37)로 각각 인가한다. 제2지연기(34)는 제1지연기(33)로부터 인가되는 일정시간 지연된 차성분(S4 - S3) 즉, C1H를 다시 일정시간 지연한 후 연산부(35)로 인가한다. 즉, 여기서는 R, G, B 신호를 매트릭스(38)에서 구하기 때문에 2R-G, - (SB-G)가 동일시점에 필요하므로 1H 지연선을 시용하여 1H지연된 C1H신호, 2H 지연된 C2H신호의 평균을 구하여 멀티플렉서(37)의 대응되는 집짐으로 인가한다. 한편, 가산기(31)를 통해 상관이중샘플링부(20)로 부터 인가되는 두신호의 합성분을 구하여 휘도신호( Yi)로 출력한다. 즉, 현 입력라인의 휘도신호인 YOH는 S2 + S1 이고, 이전 입력라인의 휘도신호인 Y1H는 S4 + S3 이 된다.The difference components obtained from the subtractor 32 are applied to the first delay unit 33 and the calculation unit 35, respectively. The first delay unit 33 delays the difference components S2-S1, that is, C OH from the subtractor 32, to the second delay unit 34 and the multiplexer 37, respectively. The second delay unit 34 applies the delayed difference components S4-S3, that is, C 1H , which are applied from the first delay unit 33 to the operation unit 35 after delaying the predetermined time again. In other words, since R, G, and B signals are obtained from the matrix 38, 2R-G and-(SB-G) are required at the same time, so the 1H delayed C 1H signal and the 2H delayed C 2H signal are applied using the 1H delay line. Is averaged and applied to the corresponding collection of the multiplexer 37. On the other hand, through the adder 31 to obtain a composite of the two signals applied from the correlation double sampling unit 20 and outputs as a luminance signal (yi). That is, YOH, which is the luminance signal of the current input line, is S2 + S1, and Y1H, which is the luminance signal of the previous input line, is S4 + S3.

멀티플렉서(37)는 가산기(35)와 제1지연기(33)로부터 매 라인마다 교번적으로 인가되는 신호를 소정의 제어신호(ID)에 따라 교대로 매트릭스(38)에 공급한다. 가산기(31)로 부터 출력되는 휘도신호Yi는 제 3지연기(36)를 거쳐 매트릭스(38)로 입력된다. 매트릭스(38)는 멀티플렉서(37)로 부터 인가되는 2R-G =CR, - (2B - G) = CB신호와 제3지연기(36)로부터 인가되는 휘도신호 Yi를 소정의 매트릭스구조에 상응하여 R.G.B신호를 추출한다. 휘도/색차신호추출부(40)는 색정보추출부(30)로 부터 추출된 R.G.B 신호를 이용하여 휘도신호(Y)와 색차신호(R-Y, B-Y)를 추출한다. 신호합성부(50)는 휘도/색차신호추출부(41)로부터 추출된 휘도신호(Y)와 색차신호(R-Y, B-Y)를 합성항 현시가능한 영상신호로 만든다. A/D변환부 (60)는 신호합성부(50)로부터 인가되는 영상신호를 디지탈형태로 변환시켜 텔레비젼의 수상관에 디스플레이 시키거나 컴퓨터를 이용한 화상처리의 경우에는 인터페이스(70)를 거쳐 범용컴퓨터(80)로 인가한다. 범용컴퓨터(80)는 영상신호를 인가받아 화상디스플레이시 필요한 정보인 R.G.B를 추출하게 된다.The multiplexer 37 alternately supplies, to the matrix 38, a signal that is alternately applied from the adder 35 and the first delay unit 33 every line according to a predetermined control signal ID. The luminance signal Yi output from the adder 31 is input to the matrix 38 via the third delay unit 36. The matrix 38 converts the 2R-G = C R ,-(2B-G) = C B signals applied from the multiplexer 37 and the luminance signal Yi applied from the third delay unit 36 into a predetermined matrix structure. Correspondingly extract the RGB signal. The luminance / color difference signal extractor 40 extracts the luminance signal Y and the color difference signals RY and BY using the RGB signal extracted from the color information extractor 30. The signal synthesizing unit 50 combines the luminance signal Y and the color difference signals RY and BY extracted from the luminance / color difference signal extracting unit 41 into a synthesizeable image signal. The A / D conversion unit 60 converts the video signal applied from the signal synthesis unit 50 into a digital form and displays it on the receiving tube of a television or, in the case of image processing using a computer, through an interface 70 through a general purpose computer. (80). The general purpose computer 80 receives an image signal to extract RGB, which is information required for image display.

이처럼 색정보를 추출하기 위해서는 매우 복잡한 하드웨어적 구성이 필요하고 또한, 컴퓨터를 이용한 화상처리의 경우에도 별도의 색정보추출과정을 거쳐야 하는 번거로운 문제점이 있었다.As described above, in order to extract color information, a very complicated hardware configuration is required, and in the case of image processing using a computer, a separate color information extraction process has to be performed.

따라서, 본 발명의 목적은 촬영된 신호를 컴퓨터에서의 화상처리에만 이용하는 경우에는 별도의 색정보추출을 갖지 않고 컴퓨터내에서 직접 그과정을 수행하도록 하므로써 시스템 구성을 매우 간소화하는 범용 컴퓨터를 이용한 화상처리방법을 제공함에 있다.Accordingly, an object of the present invention is to use a general-purpose computer that greatly simplifies the system configuration by performing the process directly in a computer without using a separate color information extraction when the photographed signal is used only for image processing on a computer. In providing a method.

본 발명의 다른 목적은 전술한 색정보추출과정을 구비한 범용컴퓨터를 이용한 화상처리방법을 구현하기 위한 장치를 제공함에 있다.Another object of the present invention is to provide an apparatus for implementing an image processing method using a general-purpose computer having the above-described color information extraction process.

이와 같은 목적들을 달성하기 위한 본 발명의 특징은, 일정한 배열의 다수 색성분이 매라인마다 교번적으로 나열되는 색필터를 구비한 컬러 CCD 카메라를 통해 촬영된 신호를 범용 컴퓨터를 이용하여 화상처리하기 위한 방법에 있어서, 촬영신호를 디지탈데이타로 변환시켜 접속된 범용컴퓨터로 인가하는 단계와, 상기 디지탈데이타들 중 색필터의 홀수라인을 통과한 인접한 두신호의 차성분을 구하여 제 1색성분신호로 산출하는 단계와, 상기 디지탈 데이타들중 색필터의 짝수라인을 통과한 인접한 두 신호의 차성분을 구하여 제2색성분신호로 산출하는 단계와, 상기 디지탈데이타들 중 색필터의 홀수라인을 통과한 인접한 두신호의 합성분을 구하여 휘도성분신호로 산출하는 단계, 및 상기 휘도성분신호, 제1색성분신호, 및 제2색성분시호로부터 적, 녹, 청색의 3색신호들을 산출하는 단계에 있다.A feature of the present invention for achieving the above object is to use a general purpose computer to image a signal photographed by a color CCD camera having a color filter in which a plurality of color components in a constant array are arranged alternately every line. A method of converting a photographing signal into digital data and applying the same to a connected general purpose computer, calculating a difference component between two adjacent signals passing through an odd line of a color filter among the digital data, and calculating the difference as a first color component signal. And calculating a difference component between two adjacent signals passing through the even lines of the color filter among the digital data and calculating the difference components as a second color component signal, and two adjacent signals passing through the odd line of the color filter among the digital data. Calculating a composite component of the luminance component signal and calculating it as a luminance component signal; and from the luminance component signal, the first color component signal, and the second color component time signal, , In the step of calculating the third color signal blue.

본 발명의 다른 목적을 달성하기 위한 본 발명의 특징은, 일정한 배열의 다수 색성분이 매라인마다 교번적으로 나열되는 색필터를 구비한 컬러 CCD카메라를 통해 촬영된 신호를 화상처리하는 장치에 있어서, 촬영된 신호를 디지탈형태로 변환시켜 접속된 범용컴퓨터로 인가하는 수단과, 입력되는 디지탈데이타들중 색필터의 홀수라인을 통과한 인접한 두신호의 차성분을 제1색성분신호로 발생하는 수단과, 입력되는 디지탈데이타들중 색필터의 짝수라인을 통과한 입접한 두 신호의 차성분을 제2색생분신호로 발생하는 수단과, 입력되는 디지탈데이타들 중 색필터의 홀수라인을 통과한 입접한 두신호의 합성분을 휘도성분신호로 발생하는 수단, 및 상기 제1 색성분신호와 제2색성분신호 및 휘도성분신호를 서로 가감산하여 순수한 색신호들을 구하는 수단을 구비함에 있다.A feature of the present invention for achieving another object of the present invention is an apparatus for image processing a signal photographed through a color CCD camera having a color filter in which a plurality of color components of a constant array alternately arranged every line, Means for converting a photographed signal into a digital form and applying it to a connected general purpose computer; means for generating a difference component between two adjacent signals passing through an odd line of a color filter among the input digital data as a first color component signal; Means for generating a difference component between two indirect signals passing through the even lines of the color filter among the input digital data as a second color subsignal signal, and two indenting passes through the odd line of the color filter among the input digital data. Means for generating a synthesized signal as a luminance component signal, and a number for obtaining pure color signals by adding and subtracting the first color component signal, the second color component signal, and the luminance component signal to each other; The stage is provided.

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

제3도는 본 발명에 따른 범용컴퓨터를 이용한 화상처리장치를 나타내는 블록도이다. 본 발명의 범용컴퓨터를 이용한 화상처리장치는 고체촬상소자(CCD)(10)와, CCD(10)로부터 나오는 신호의 노이즈를 제거하는 상관이중샘플링부(20)를 구비한다. 상관이중샘플링부(20)의 출력단에는 아날로그신호를 디지탈형태로 변환시키는 A/D변환부(60)가 연결된다. A/D 변환부(60)의 출력단에는 인터페이스(70)와 범용컴퓨터(80)가 차례로 연결되도록 구성된다.3 is a block diagram showing an image processing apparatus using a general-purpose computer according to the present invention. An image processing apparatus using a general-purpose computer of the present invention includes a solid state image pickup device (CCD) 10 and a correlated double sampling unit 20 for removing noise of a signal from the CCD 10. An A / D converter 60 for converting an analog signal into a digital form is connected to an output terminal of the correlation double sampling unit 20. The output terminal of the A / D conversion unit 60 is configured such that the interface 70 and the general purpose computer 80 are sequentially connected.

우선, 제3도는 캠코더와 같은 촬영수단을 통해 촬영한 장면을 단지 컴퓨터를 이용한 화상처리시에 사용하는 경우에 적용되는 장치이다. 먼저, 단판식컬러CCD카메라에서는 CCD(10)상에 제2도에 도시된 바와 같은 Cy, G, Ye, Mg로 구성되는 색필터를 달아 이로부터 색정보를 추출해낸다. 상관이중샘플링부(20)는 CCD(10)로부터 나오는 신호에서 노이즈를 제거한뒤 바로 A/D변환부(60)로 인가한다. A/D 변환부(60)는 노이즈가 제거된 CCD(10)의 출력신호를 디지탈데이타로 변환시켜 인터페이스(70)를 거쳐 접속되어진 범용컴퓨터(80)로 인가한다. 범용컴퓨터(80)는 인터페이스(70)를 통하여 입력받은 데이타를 다음과 같은 식에 적용하여 휘도성분( Yi)과 R 및 B성분(Cr, CB)을 구한다.First, Fig. 3 is an apparatus applied to the case where a scene photographed through a photographing means such as a camcorder is used only in image processing using a computer. First, in the single-color color CCD camera, a color filter composed of Cy, G, Ye, and Mg as shown in FIG. 2 is attached on the CCD 10 to extract color information therefrom. The correlation double sampling unit 20 removes noise from the signal from the CCD 10 and immediately applies the A / D converter 60 to the signal. The A / D converter 60 converts the output signal of the CCD 10 from which noise is removed to digital data and applies it to the general purpose computer 80 connected via the interface 70. The general purpose computer 80 calculates luminance components Yi and R and B components Cr and CB by applying the data input through the interface 70 to the following equation.

Yi = S1 + S2 ..................... (1)Yi = S1 + S2 ..................... (1)

CR = S2 - S1 .....................(2)CR = S2-S1 ..................... (2)

CB = S4 - S3 .....................(3)CB = S4-S3 ..................... (3)

여기서, S1, S2는 현 입력라인의 신호성분이고, S2, S4는 바로 이전라인의 신호성분으로 S1 = Gy + G, S2 = Ye + MG, S3 = Cy + Mg, S4 = Ye + G 이다.Here, S1 and S2 are signal components of the current input line, and S2 and S4 are signal components of the previous line, and S1 = Gy + G, S2 = Ye + MG, S3 = Cy + Mg, and S4 = Ye + G.

따라서, 화상디스플레이 및 그래픽화일형식에 필요한 색정보 R,G,B신호를 다음과 같은 식에 의해 구하게 된다.Therefore, the color information R, G, and B signals required for the image display and the graphic file format are obtained by the following equation.

R = CR + 0.12Yi = S1 - S2 + 0.12(S1 + S2) = 1.12S1 - 0.88S2 ....... (4)R = CR + 0.12 Yi = S1-S2 + 0.12 (S1 + S2) = 1.12 S1-0.88 S2 ....... (4)

G = Yi - CR + CB = S1 + S2 - (S1 - S2) + (S3 - S4)G = Yi-CR + CB = S1 + S2-(S1-S2) + (S3-S4)

= 2S2 + S3 - S4 ........ (5)= 2S2 + S3-S4 ........ (5)

B = - CB + 0.2(Yi - CR)B =-CB + 0.2 (Yi-CR)

= - (S3 - S4) + 0.2 [S1 + S2 - (S1 - S2)]=-(S3-S4) + 0.2 [S1 + S2-(S1-S2)]

= 0.4S2 - S3 + S4 .......... (6)= 0.4S2-S3 + S4 .......... (6)

여기서, 0.12와 0.2등의 계수는 변수데이타이다.Here, coefficients such as 0.12 and 0.2 are variable data.

범용컴퓨터(80)는 촬영된 화상신호를 직접 인가받아 전술의 식을 통하여 간단하게 필요한 R, G, B 신호를 추출하여 그래픽화일로 저장한다.The general purpose computer 80 directly receives the captured image signal, and simply extracts the necessary R, G, and B signals through the above-described equation, and stores them as a graphic file.

상술한 바와 같이 본 발명은 범용컴퓨터를 이용한 화상처리방법 및 그 장치에 관한 것으로, 컴퓨터를 이용한 화상처리시는 CCD로부터 촬영된 화상신호를 별도의 색정보추출을 위한 하드웨어적 구성을 거치지 않고 직접 컴퓨터상의 소프트웨어적으로 처리하도록 하므로써 하드웨어적 구성을 간소화시킬 수 있을 뿐 아니라 해상도를 향상시킬 수 있는 효과를 갖는다.As described above, the present invention relates to an image processing method and a device using a general-purpose computer, and when performing image processing using a computer, a computer directly without going through a hardware configuration for extracting color information from an image signal photographed from a CCD. In addition to simplifying the hardware configuration, it is possible to improve the resolution.

Claims (7)

일정한 배열의 다수 색성분이 매라인마다 교번적으로 나열되는 색필터를 구비한 컬러CCD카메라를 통해 촬영된 신호를 범용컴퓨터를 이용하여 화상처리하기 위한 방법에 있어서, 촬영신호를 디지탈데이타로 변환시켜 접속된 범용컴퓨터로 인가하는 단계; 상기 디지탈데이타들 중 색필터의 홀수라인을 통과한 인접한 두신호의 차성분을 구하여 제1색성분신호로 산출하는 단계; 상기 디지탈데이타들 중 색필터의 짝수라인을 통과한 인접한 두신호의 차성분을 구하여 제2색성분신호로 산출하는 단계; 상기 디지탈데이타들 중 색필터의 홀수라인을 통과한 인접한 두신호의 힙성분을 구하여 휘도성분신호로 산출하는 단계; 및 상기 휘도성분신호, 제 1 색성분신호, 및 제2색성분신호로부터 적, 녹, 청색의 3색신호들을 산출하는 단계를 포함하는 범용컴퓨터를 이용한 화상처리방법.A method for image processing a signal taken by a color CCD camera having a color filter in which a plurality of color components in a constant array are arranged alternately every line using a general purpose computer, wherein the photographed signal is converted into digital data and connected. Applying to the general-purpose computer; Obtaining a difference component between two adjacent signals passing through the odd line of the color filter among the digital data and calculating the difference component as a first color component signal; Obtaining a difference component between two adjacent signals passing through an even line of a color filter among the digital data and calculating the difference component as a second color component signal; Calculating a heap component of two adjacent signals passing through an odd line of a color filter among the digital data and calculating the result as a luminance component signal; And calculating red, green, and blue color signals from the luminance component signal, the first color component signal, and the second color component signal. 제 1항에 있어서, 상기 적색신호(R)는 다음의 식과 같이 연산되는 것을 특지응로 하는 범용컴퓨터를 이용한 화상처리방법.The image processing method according to claim 1, wherein the red signal (R) is calculated as in the following equation. R = CR+ αYR = C R + αY 여기서, CR은 제1색성분신호, Y 는 휘도성분신호, α는 일정한 상수값이다.Here, CR is the first color component signal, Y is the luminance component signal, and α is a constant constant value. 제 2항에 있어서, 상기 상수값(α)은 0.12인 것을 특징으로 하는 범용컴퓨터를 이용한 화상처리방법.The image processing method using a general-purpose computer according to claim 2, wherein the constant value α is 0.12. 제 1항에 있어서, 상기 녹색신호(G)는 다음의 식과 같이 연산되는 것을 특징으로 하는 범용컴퓨터를 이용한 화상처리방법.The image processing method according to claim 1, wherein the green signal (G) is calculated as in the following equation. G = Y - CR+ CB G = Y-C R + C B 여기서, Y는 휘도성분신호, CR은 제 1색성분신호, CB는 제 2색성분신호이다.Here, Y is a luminance component signal, CR is a first color component signal, and C B is a second color component signal. 제 1항에 있어서, 상기 청색신호(B)는 다음의 식의 같이 연산되는 것을 특징으로 하는 범용 컴퓨터를 이용한 화상처리방법.2. The image processing method according to claim 1, wherein the blue signal (B) is calculated as in the following equation. B = - CB+ (Y - CR)B =-C B + (Y-C R ) 여기서, CR은 제 1색성분신호, CB는 제 2색성분신호, Y 는 휘도성분신호, β는 일정한 상수값이다.Here, C R is the first color component signal, C B is the second color component signal, Y is the luminance component signal, and β is a constant value. 제 5항에 있어서, 상기 상수값(β)은 0.2인 것을 특징으로 하는 범용컴퓨터를 이용한 화상처리방법.6. The image processing method using a general-purpose computer according to claim 5, wherein said constant value (beta) is 0.2. 일정한 배열의 다수 색성분이 매라인마다 교번적으로 나열되는 색 필터를 구비한 컬러 CCD 카메라를 통해 촬영된 신호를 화상처리하는 장치에 있어서, 촬영된 신호를 디지탈형태로 변환시켜 접속된 범용컴퓨터로 인가하는 수단; 입력되는 디지탈데아타들중 색필터의 홀수라인을 통과한 인접한 두신호의 차성분을 제1 색성분신호로 발생하는 수단; 입력되는 디지탈데이타들중 색필터의 짝수라인을 통과한 인접한 두신호의 차성분을 제2색성분신호로 발생하는 수단; 입력되는 디지탈데이타들중 색필터의 홀수라인을 통과한 인접한 두 신호의 합성분을 휘도성분신호로 발생하는 수단; 및 상기 제1색성분신호와 제2색성분신호 및 휘도성분신호를 서로 가감산하여 순수한 색신호들을 구하는 수단을 포함하는 범용컴퓨터를 이용한 화상처리장치.An apparatus for processing a signal photographed by a color CCD camera having a color filter in which a plurality of color components in a constant array are alternately arranged every line, wherein the photographed signal is converted into a digital form and applied to a connected general purpose computer. Means for doing so; Means for generating, as a first color component signal, a difference component between two adjacent signals passing through an odd line of the color filter among the input digital data; Means for generating, as a second color component signal, a difference component between two adjacent signals passing through the even line of the color filter among the input digital data; Means for generating, as a luminance component signal, a composite of two adjacent signals passing through an odd line of a color filter among input digital data; And means for obtaining pure color signals by adding and subtracting the first color component signal, the second color component signal, and the luminance component signal to each other.
KR1019930020210A 1993-09-28 1993-09-28 Image processing method and apparatus for commercial computer KR0149522B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930020210A KR0149522B1 (en) 1993-09-28 1993-09-28 Image processing method and apparatus for commercial computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930020210A KR0149522B1 (en) 1993-09-28 1993-09-28 Image processing method and apparatus for commercial computer

Publications (2)

Publication Number Publication Date
KR950009487A KR950009487A (en) 1995-04-24
KR0149522B1 true KR0149522B1 (en) 1998-10-15

Family

ID=19364991

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930020210A KR0149522B1 (en) 1993-09-28 1993-09-28 Image processing method and apparatus for commercial computer

Country Status (1)

Country Link
KR (1) KR0149522B1 (en)

Also Published As

Publication number Publication date
KR950009487A (en) 1995-04-24

Similar Documents

Publication Publication Date Title
JP5108172B2 (en) Image data size conversion processing apparatus, electronic still camera, and image data size conversion processing recording medium
US5541648A (en) Color image pickup apparatus having a plurality of color filters arranged in an offset sampling structure
JP2936760B2 (en) Color television camera device
US5579047A (en) Image signal processing apparatus using color filters and an image pick-up device providing interlaced field signals
US5043803A (en) Signal processing circuit for a solid-state image pickup device
GB2306074A (en) CCD camera with two CCDs having mutually different colour filter arrays
KR960016443B1 (en) Solid state color television camera
KR0149522B1 (en) Image processing method and apparatus for commercial computer
JP3967392B2 (en) Imaging device
KR100665489B1 (en) Video camera
JP3035988B2 (en) Color television camera device
JP3524118B2 (en) Imaging device
JP3038738B2 (en) Signal processing circuit of solid-state imaging device
JPS62118686A (en) Single board type solid-state image pickup device
JP3501472B2 (en) Imaging device
JP3890095B2 (en) Image processing device
JP2770479B2 (en) Signal processing circuit of solid-state imaging device and color television camera device
JP2751248B2 (en) Signal processing circuit of solid-state imaging device
JP3846305B2 (en) Imaging apparatus and method, recording medium, and program
JP3263848B2 (en) Color television camera device
JP3832689B2 (en) Video signal processing method and video signal processing apparatus
JPH06125565A (en) Solid state image pickup device
JPH09252472A (en) Solid-state image pickup device
JP3422027B2 (en) Luminance balance circuit in color camera and signal processing circuit thereof
JP3127871B2 (en) Color camera color signal processing apparatus and color camera color signal processing 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
FPAY Annual fee payment

Payment date: 20060529

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee