CN1377191A - Colour reconstruction method for colour filter array in digital camera - Google Patents

Colour reconstruction method for colour filter array in digital camera Download PDF

Info

Publication number
CN1377191A
CN1377191A CN02116750.8A CN02116750A CN1377191A CN 1377191 A CN1377191 A CN 1377191A CN 02116750 A CN02116750 A CN 02116750A CN 1377191 A CN1377191 A CN 1377191A
Authority
CN
China
Prior art keywords
component
represented
picture element
point
green
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN02116750.8A
Other languages
Chinese (zh)
Inventor
唐彦予
王勇
徐远
赵建军
韩勇
康叮咚
罗山鹰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHANGXINJIA INFORMATION TECHNOLOGY Co Ltd BEIJING
Original Assignee
CHANGXINJIA INFORMATION TECHNOLOGY Co Ltd BEIJING
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 CHANGXINJIA INFORMATION TECHNOLOGY Co Ltd BEIJING filed Critical CHANGXINJIA INFORMATION TECHNOLOGY Co Ltd BEIJING
Priority to CN02116750.8A priority Critical patent/CN1377191A/en
Publication of CN1377191A publication Critical patent/CN1377191A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)

Abstract

The invention relates to a method for regenerating colors of a color filter in a digital code camera. The characteristics of the method are as follows. The green component of the green pixel is represented by itself; and its red component and blue component are represented by the mean of upper and lower two points or the mean of the left and right two points. The red component of the red pixel is represented by itself; its blue component is represented by the mean of four adjacent points at top left, lower left, top right and lower right; its green component is represented by the mean of four points at top, lower, left, right. The blue component of the blue pixel is represented by itself; and its red component is represented by the mean of four adjacent points at top left, lower left, top right and lower right; its green component is represented by the mean of four points at top, lower, left, right.

Description

The colour reconstruction method of colour filter array in the digital camera
Technical field
The present invention relates to the colour reconstruction method of colour filter array in the digital camera.
Background technology
The image device of present common digital camera is a charge-coupled device (CCD), it is that the full light-sensitive element of a piece of cloth is the photographic plate of charge-coupled device, digital camera activates charge coupling device sensor with shutter, light signal is converted to the signal of telecommunication, the intensity-conversion of illumination is become corresponding numerical value, the signal of telecommunication is converted into digital signal and handles then, at last the digital picture that obtains is kept in the memory.
In fact charge-coupled device (CCD) itself can not be differentiated color, so need use colour filter when practical application, generally coats different colors at the filter layer of CCD device exactly.Color lumps different on the filter are arranged as mosaic by the order of G-R-G-B (green-R-G-B), make the different color of pixel induction under each sheet " mosaic ", when light passes from the red, green, blue filter, just can obtain the response value of every kind of coloured light, colour filter is arranged (CFA) as shown in Figure 1.Like this, each picture element in the original image has only a three primary colors component: red R, green G, or blue B, but in picture reproducer, each picture element needs red, green, blue three components, this will ask for help from raw information interpolation go out the color component that is lacked, Here it is CFA color interpolation.
The company and the personnel that research and develop digital camera at home are considerably less, and about the patent or the blank out of digital camera CFA color rendition interpolation algorithm.
Summary of the invention
The object of the present invention is to provide a kind of interpolation of can reducing to go out the three primary colors component value that is lacked in each picture element, make the clear wash rice of the image that restores, and the colour reconstruction method of the colour filter array (CFA) of the brightness of energy true reappearance original image and colourity.
The colour reconstruction method of colour filter array in the digital camera, its characteristics are:
The green component of green pixel point represented by itself, its red component and blue component by its up and down 2 average or about 2 average represent;
The red component of red pixel point represented by itself, and its blue component is by upper left, the lower-left, and the mean value of upper right four the amount of blue adjacent with the bottom right is represented; Its green component is by last, and down, the intermediate value of the amount of green color that a left side and the right side are 4 is represented;
The blue component of blue picture element point represented by itself, and its red component is by upper left, the lower-left, and the mean value of upper right four the amount of red adjacent with the bottom right is represented; Its green component is by last, and down, the intermediate value of the amount of green color that a left side and the right side are 4 is represented;
Median computation methods is: the component value with four points sorts by size earlier, gets the intermediate value of the mean value of its middle two values as this four number again.
Because in the colour reconstruction method that the present invention relates to, when rebuilding green component, adopt median method, can consider its information on every side, it is image blurring to prevent that again mean value method from making, mean value for not crucial redness and blue component employing consecutive points can have smoothing effect to a certain extent, eliminates noise, its brightness and colourity are more near its reality, can make the clear wash rice of image of reconstruction like this, color is accurate, can guarantee the speed of handling again.
Description of drawings
Fig. 1 is the distribution map of colour filter (CFA)
Fig. 2 is 16 * 16 colour filter matrix diagram
Fig. 3 is the reconstruction flow chart of colour filter array of the present invention (CFA)
Embodiment
In the colour filter array (CFA) of charge-coupled device (CCD), red, green, the distribution of blue three look filters has certain rule, and wherein red and blue filter accounts for whole 1/4th respectively, and green filter accounts for whole 1/2nd, it is relatively responsive to green that this has taken into full account human eye, and three primary colors to other color system (as YUV, YCrCb, YIQ etc.) in the transformational relation, the shared proportion of green component is also bigger.So the quality that green component is rebuild in each picture element will directly influence clear wash rice degree of image and color.
Can not simply adopt mean value method and linear interpolation method when rebuilding green component, when rebuilding, will take into full account the information of its consecutive points simultaneously.In this algorithm, when rebuilding green component, adopt median method, can consider its information on every side, it is image blurring to prevent that again mean value method from making, mean value for not crucial redness and blue component employing consecutive points, can have smoothing effect to a certain extent, eliminate noise, can make the clear wash rice of image of reconstruction like this, color is accurate, can guarantee the speed of handling again.
The method for reconstructing of colour filter array involved in the present invention (CFA) adopts diverse ways at different picture elements.For a width of cloth original image, its CFA distributes as shown in Figure 2, if during green point, the green component of this point represented by itself, red component and blue component adopt up and down 2 average or about 2 average represent; If during red point, the red component of this point represented by itself, and blue component is by upper left, the lower-left, and the mean value of upper right four the amount of blue adjacent with bottom right represents that green component is by last, down, the intermediate value of the amount of green color that a left side and the right side are 4 is represented; If during blue dot, the blue component of this point represented by itself, and red component is by upper left, the lower-left, and the mean value of upper right four the amount of red adjacent with the bottom right represents, and green component is by last, and down, the intermediate value of a left side and right 4 s' amount of green color is represented.Median computation methods is as follows: the component value with four points sorts by size earlier, gets the intermediate value of the mean value of its middle two values as this four number again.
As shown in Figure 3, treatment step of the present invention is as follows:
(1) judges whether picture element into G? be execution in step 2 then, otherwise execution in step 4;
(2) determine the average of B picture element in the adjacent image point point;
(3) determine the average of R picture element in the adjacent image point point, jump to step 8;
(4) intermediate value of G picture element in the calculating adjacent image point point;
(5) judge whether picture element into B? be execution in step 6 then, otherwise execution in step 7;
(6) determine the average of R picture element in the adjacent image point point;
(7) determine the average of B picture element in the adjacent image point point;
(8) rebuild the RGB three-component of this picture element;
(9) judge whether to also have untreated picture element? be execution in step 1 then, otherwise finish.

Claims (2)

1, the colour reconstruction method of colour filter array in the digital camera is characterized in that:
The green component of green pixel point is represented by itself; Its red component and blue component by its up and down 2 average or about 2 average represent;
The red component of red pixel point is represented by itself; Its blue component is by upper left, the lower-left, and the mean value of upper right four the amount of blue adjacent with the bottom right is represented; Its green component is by last, and down, the intermediate value of the amount of green color that a left side and the right side are 4 is represented;
The blue component of blue picture element point is represented by itself; Its red component is by upper left, the lower-left, and the mean value of upper right four the amount of red adjacent with the bottom right is represented; Its green component is by last, and down, the intermediate value of the amount of green color that a left side and the right side are 4 is represented;
Median computation methods is: the component value with four points sorts by size earlier, gets the intermediate value of the mean value of its middle two values as this four number again.
2, the colour reconstruction method of colour filter array in the digital camera as claimed in claim 1 is characterized in that:
Its treatment step is:
(1) judges whether picture element into G? be execution in step 2 then, otherwise execution in step 4
(2) determine the average of B picture element in the adjacent image point point
(3) determine the average of R picture element in the adjacent image point point, jump to step 8
(4) intermediate value of G picture element in the calculating adjacent image point point
(5) judge whether picture element into B? be execution in step 6 then, otherwise execution in step 7
(6) determine the average of R picture element in the adjacent image point point
(7) determine the average of B picture element in the adjacent image point point
(8) rebuild the RGB three-component of this picture element
(9) judge whether to also have untreated picture element? be execution in step 1 then, otherwise finish
CN02116750.8A 2002-05-09 2002-05-09 Colour reconstruction method for colour filter array in digital camera Pending CN1377191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN02116750.8A CN1377191A (en) 2002-05-09 2002-05-09 Colour reconstruction method for colour filter array in digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN02116750.8A CN1377191A (en) 2002-05-09 2002-05-09 Colour reconstruction method for colour filter array in digital camera

Publications (1)

Publication Number Publication Date
CN1377191A true CN1377191A (en) 2002-10-30

Family

ID=4744215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN02116750.8A Pending CN1377191A (en) 2002-05-09 2002-05-09 Colour reconstruction method for colour filter array in digital camera

Country Status (1)

Country Link
CN (1) CN1377191A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334886C (en) * 2004-04-13 2007-08-29 矽统科技股份有限公司 Method for sampling image data filtered from Baeyer color filter mirror array
CN1992907B (en) * 2005-12-28 2010-08-18 华晶科技股份有限公司 Reconstruction method of picture element color information
WO2014019339A1 (en) * 2012-07-31 2014-02-06 Tao Linmi Colour image sensor and method for acquiring colour digital image
CN104394391A (en) * 2014-11-25 2015-03-04 广东威创视讯科技股份有限公司 Method and system for processing image data of dot matrix images acquired by camera
CN105959657A (en) * 2016-05-27 2016-09-21 乐视控股(北京)有限公司 Image processing method and system
CN103955882B (en) * 2005-12-08 2017-05-31 高智83基金会有限责任公司 Electronic image capture equipment and the method for capturing and processing coloured image
CN109104595A (en) * 2018-06-07 2018-12-28 中国科学院西安光学精密机械研究所 FPGA implementation method for Hamilton adaptive interpolation in real-time image processing

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334886C (en) * 2004-04-13 2007-08-29 矽统科技股份有限公司 Method for sampling image data filtered from Baeyer color filter mirror array
CN103955882B (en) * 2005-12-08 2017-05-31 高智83基金会有限责任公司 Electronic image capture equipment and the method for capturing and processing coloured image
CN1992907B (en) * 2005-12-28 2010-08-18 华晶科技股份有限公司 Reconstruction method of picture element color information
WO2014019339A1 (en) * 2012-07-31 2014-02-06 Tao Linmi Colour image sensor and method for acquiring colour digital image
CN104394391A (en) * 2014-11-25 2015-03-04 广东威创视讯科技股份有限公司 Method and system for processing image data of dot matrix images acquired by camera
CN105959657A (en) * 2016-05-27 2016-09-21 乐视控股(北京)有限公司 Image processing method and system
CN109104595A (en) * 2018-06-07 2018-12-28 中国科学院西安光学精密机械研究所 FPGA implementation method for Hamilton adaptive interpolation in real-time image processing
CN109104595B (en) * 2018-06-07 2019-09-20 中国科学院西安光学精密机械研究所 FPGA implementation method for Hamilton adaptive interpolation in real-time image processing

Similar Documents

Publication Publication Date Title
JP5118047B2 (en) System and method for high performance color filter mosaic array
CN105578078B (en) Imaging sensor, imaging device, mobile terminal and imaging method
EP0885527B1 (en) Image restoration of a single-chip image sensor
CN103327220B (en) With green channel for the denoising method guided on low-light (level) Bayer image
US20050185836A1 (en) Image data processing in color spaces
CN105578006B (en) Imaging method, imaging device and electronic installation
JPH11285012A (en) Image sensor for digital camera
CN102204258A (en) Image inputting apparatus
CN102959958A (en) Color imaging device
CN108171657B (en) Image interpolation method and device
CN107342037A (en) Data method for transformation, device and computer-readable recording medium
CN107370917A (en) Control method, electronic installation and computer-readable recording medium
CN101448163A (en) Down-sampling method based on sub-pel and device therefor
CN105430357B (en) The demosaicing methods and device of imaging sensor
CN106303474A (en) A kind of demosaicing methods based on G pattern color filter array and device
CN101770759A (en) Method and device for downsampling based on sub-pixel
CN1377191A (en) Colour reconstruction method for colour filter array in digital camera
CN102801984A (en) Color image sensor and method for acquiring color digital images
CN105979233B (en) Demosaicing methods, image processor and imaging sensor
CN107622477A (en) A kind of RGBW images joint demosaicing and deblurring method
CN103430552B (en) Imaging device
CN108513112A (en) Color filter array and image processing method
CN107786857A (en) A kind of image restoring method and device
US20110170776A1 (en) Image distortion correcting method and image processing apparatus
CN100539707C (en) The color picture processing system that data-driven is reconfigurable

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: GUANGBAOKE INFORMATION TECHNOLOGY ( BEIJING ) CO.

Free format text: FORMER OWNER: CHANGXINJIA INFORMATION TECHNOLOGY CO LTD, BEIJING

Effective date: 20040323

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20040323

Address after: 100086 room 113, No. 501, Haidian District, Beijing, Zhichun Road

Applicant after: Lite on Information Technology (Beijing) Co., Ltd.

Address before: 100086, No. forty Zhongguancun Avenue, Beijing, Haidian District, nine floor

Applicant before: Changxinjia Information Technology Co., Ltd., Beijing

AD01 Patent right deemed abandoned
C20 Patent right or utility model deemed to be abandoned or is abandoned