Claims (7)
일정한 배열의 다수 색성분이 매라인마다 교번적으로 나열되는 색필터를 구비한 컬러 CCD 카메라를 통해 촬영된 신호를 범용컴퓨터를 이용하여 화상처리하기 위한 방법에 있어서, 촬영신호를 디지탈데이타로 변환시켜 접속된 범용컴퓨터로 인가하는 단계; 상기 디지탈데이타들 중 색필터의 홀수라인을 통과한 인접한 두 신호와 차성분을 구하여 제1색 성분신호로 산출하는 단계; 상기 디지탈데이타들중 색필터의 짝수라인을 통과한 인접한 두신호의 차성분을 구하여 제2색성분신호로 산출하는 단계; 상기 디지탈데이타들중 색필터의 홀수라인을 통과한 인접한 두신호의 합성분을 구하여 휘도성분신호로 산출하는 단계; 및 상기 휘도성분신호, 제1색성분신호, 및 제2색성분신호로 부터 적,녹,청색의 3색신호들을 산출하는 단계를 포함하는 범용컴퓨터를 이용한 화상처리방법.A method for image 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 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 two adjacent signals and difference components passing through odd lines of the color filter among the digital data and calculating them as first color component signals; 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 composite component of two adjacent signals passing through an odd line of a color filter among the digital data and calculating them as luminance component signals; 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는 휘도성분신호, α는 일정한 상수값이다.Where C R 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 = YC R + C B
여기서, Y는 휘도성분신호, CR은 제1색성분신호, CB는 제2색성분신호이다.Here, Y is a luminance component signal, C R is a first color component signal, and C B is a second color component signal.
제1항에 있어서, 상기 청색신호(B)는 다음의 식과 같이 연산되는 것을 특징으로 하는 범용컴퓨터를 이용한 화상처리방법.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 + β (YC R )
여기서, CR은 제1색성분신호, CB는 제2색성분신호, Y는 휘도성분신호, β는 일정한 상수값이다.Where 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 constant value.
제5항에 있어서, 상기 상수값(β)은 0.2인 것을 특징으로 하는 범용 컴퓨터를 이용한 화상처리방법.6. An image processing method using a general-purpose computer as claimed in claim 5, wherein the constant value β is 0.2.
일정한 배열의 다수 색성분이 매라인마다 교번적으로 나열되는 색필터를 구비한 컬러 CCD 카메라를 통해 촬영된 신호를 화상처리하는 장치에 있어서, 촬영된 신호를 디지탈형태로 변환시켜 접속된 범용컴퓨터로 인가하는 수단; 입력되는 디지탈데이타들중 색필터의 홀수라인을 통과한 인접한 두신호의 차성분을 제1색성분신호를 발생하는 수단; 입력되는 디지탈데이타들중 색필터의 짝수라인을 통과한 인접한 두신호의 차성분을 제2색성분신호로 발생하는 수단; 입력되는 디지탈데이타들중 색필터의 홀수라인을 통과한 인접한 두 신호의 합성분을 휘도성분신호로 발생하는 수단; 및 상기 제1색성분신호와 제2색성분신호 및 휘도성분신호를 서로 가감산하여 순수한 색신호들을 구하는 수단을 포함하는 범용컴퓨터를 이용한 화상처리장치.An apparatus for processing a signal photographed through a color CCD camera having a color filter in which a plurality of color components in a constant array are arranged alternately every line, wherein the captured signal is converted into a digital form and applied to a connected general purpose computer. Means for doing so; Means for generating a first color component signal from a difference between two adjacent signals passing through the 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.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.