CN104219511A - Color correction system and method - Google Patents

Color correction system and method Download PDF

Info

Publication number
CN104219511A
CN104219511A CN201310215655.6A CN201310215655A CN104219511A CN 104219511 A CN104219511 A CN 104219511A CN 201310215655 A CN201310215655 A CN 201310215655A CN 104219511 A CN104219511 A CN 104219511A
Authority
CN
China
Prior art keywords
matrix
image
color
range value
pixel
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
CN201310215655.6A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN201310215655.6A priority Critical patent/CN104219511A/en
Publication of CN104219511A publication Critical patent/CN104219511A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The present invention relates to a color correction system which is applied in electronic equipment with a photographing function. The electronic equipment comprises a memory. The color correction system comprises: an image acquiring module for acquiring an image, the image being composed of a plurality of pixel points in an array arrangement and comprising a standard color card image; an array acquiring module for extracting a color gradation value of the standard color card image and generating an array S, the array acquiring module further being used for performing a pseudo-inverse matrix operation so as to calculate a correction array M and store the correction array M into the memory; an image analyzing module for performing color gradation value extraction on each pixel point on the image and generating a plurality of arrays A; and an image correction module for correcting the color gradation value of each pixel point on the image so as to obtain a plurality of arrays B after each pixel point is corrected. The present invention further relates to a color correction method.

Description

Color calibration system and method
Technical field
The present invention relates to a kind of color calibration system and method.
Background technology
Imageing sensor is seizure and process light signal is the signal of telecommunication, to form the semiconductor equipment of still image or video.The quality of the digital picture that imageing sensor produces, depends primarily on its sensitivity and many other factorses.Therefore, after imageing sensor is photosensitive, need through a series of process, to make the digital picture of formation meet human vision, typical image procossing comprises Automatic white balance, noise filtering, tone reproduction, Gamma correction, color saturation enhancing and colour correction etc.Wherein, colour correction is mainly in order to strengthen the accuracy of the color rendition of digital picture, and keep the true of color, what the digital picture of generation and human vision were seen is consistent.
Summary of the invention
In view of this, be necessary to provide a kind of color calibration system and the method that can strengthen the accuracy of the color rendition of image.
A kind of color calibration system, is applied to one and has in the electronic equipment of shoot function.Described electronic equipment comprises a memory.Described color calibration system comprises:
Image collection module, for obtaining an image, described image is formed by multiple pixel of arranging in array-like and is comprised a standard color card image;
Matrix acquisition module, for extracting the color range value of described standard color card image, and generates a matrix S; Described matrix acquisition module is further used for carrying out pseudo inverse matrix computing according to M × S=N, namely , wherein matrix N is the matrix of the color range value of the standard color card be stored on described memory, calculate a correction matrix M, and described correction matrix M is stored to described memory, described correction matrix M is used for correcting the color range value of each pixel of described image;
Image analysis module, for carrying out the extraction of color range value to each pixel on described image, and generates multiple matrix A;
Image correction module, for correcting the color range value of each pixel on described image, draw each pixel be corrected after multiple matrix B, i.e. M × A=B.
A kind of color correcting method, comprises the following steps:
Obtain an image, described image is formed by multiple pixel of arranging in array-like and is comprised the image of a standard color card;
Extract the color range value of the image of the standard color card on described image, and generate a matrix S;
Utilize the computing of pseudo inverse matrix, namely , , wherein N is the matrix of the color range value of the standard color card be stored on described memory, calculates a correction matrix M, and described correction matrix M is stored to memory, and the color range value for each pixel to described image corrects;
Extract the color range value of each pixel of described image, and generate multiple matrix A;
Correct the color range value of each pixel on described image, i.e. M × A=B, the matrix after the color range value of each pixel that wherein B represents on described image is corrected.
Compared with prior art, color calibration system provided by the invention and method, utilize the compute mode of pseudo inverse matrix, calculates a correction matrix, and then utilize the color range value of described correction matrix to each pixel of image to correct, enhance the accuracy of the color rendition of described image.
Accompanying drawing explanation
Fig. 1 is the functional block diagram of color calibration system provided by the invention.
Fig. 2 is the schematic diagram of the image that the image collection module in Fig. 1 is taken.
Fig. 3 is the flow chart of the color correcting method utilizing the color calibration system shown in Fig. 1.
Main element symbol description
Color calibration system 10
Image collection module 11
Matrix acquisition module 12
Image analysis module 13
Image correction module 14
Electronic equipment 20
Memory 21
Image 30
Standard color card image 31
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
To be described in further detail embodiment of the present invention below in conjunction with accompanying drawing.
See also Fig. 1 and Fig. 2, color calibration system 10 provided by the invention is applied to one and has in the electronic equipment 20 of shoot function, and described electronic equipment 20 comprises a memory 21.Described memory 21 is for storing the color range value of a standard color card.In present embodiment, described standard color card comprises 24 kinds of colors, and therefore the color range value of described standard color card stores with the form of the matrix of 3 × 24, namely
N 3×24=
Described color calibration system 10 comprises image collection module 11, matrix acquisition module 12, image analysis module 13 and image correction module 14.The elements such as described image collection module 11, matrix acquisition module 12, image analysis module 13 and image correction module 14 are electrically connected transmission and the exchange of carrying out data each other directly or indirectly.
Described image collection module 11 is for obtaining an image 30, and described image 30 is formed by multiple pixel of arranging in array-like and comprised a standard color card image 31.
Described matrix acquisition module 12 for extracting the color range value of described standard color card image 31, and generates a matrix S.In present embodiment, the color range value matrix N of corresponding standard color card, the color range value matrix S of described standard color card image 31 are similarly the matrix of 3 × 24, namely
S 3×24=
Described matrix acquisition module 12 is further used for the computing utilizing pseudo inverse matrix, calculates a correction matrix M, and described correction matrix M is stored to described memory 21.Described correction matrix M is the matrix form of one 3 × 3, namely
M 3×3=
Described correction matrix M is used for carrying out colour correction to each pixel on described image 30.Concrete, according to , carry out pseudo inverse matrix computing, calculate described canonical matrix M.Computational process is as follows:
, wherein, matrix representing matrix transposition;
, wherein, matrix representing matrix inverse matrix.
Described image analysis module 13 for carrying out the extraction of color range value to each pixel on described image 30, and generates multiple matrix A.Concrete, described image 30 has x × y pixel, and therefore, the color range value of the multiple pixels on described image generates the matrix A of x 3 × y, namely
A 1= ,…,A x=
Be understandable that, the storage mode of the color range value of the multiple pixels on described image 30 is not limited thereto.Such as, the color range value of the multiple pixels on described image 30 also can be the form of the matrix A of y 3 × x.
Described image correction module 14 is for correcting the color range value of each pixel on described image 30.Concrete, by the color range value matrix A of each pixel on described image 30 1..., A ncarry out matrix operation with described correction matrix M, draw each pixel be corrected after matrix B 1..., B n, that is, M × A 1=B 1..., M × A n=B n.
Described image analysis module 13 and described image correction module 14 are further used for utilizing correction matrix M to correct the color range value of each pixel of the arbitrary image that follow-up described image collection module 11 is taken.
Refer to Fig. 3, color correcting method provided by the invention, comprises the following steps:
S101: obtain an image 30, described image 30 is formed by multiple pixel of arranging in array-like and is comprised a standard color card image 31.
S102: the color range value extracting described standard color card image 31, and generate a matrix S.
Concrete, the matrix S of the color range value of described standard color card image 31 is the matrix form of 3 × 24, namely
S 3×24=
S103: the computing utilizing pseudo inverse matrix, calculates a correction matrix M.
Concrete, according to , wherein N 3 × 24represent the matrix of the color range value of standard color card, and then carry out the computing of pseudo inverse matrix, namely , , calculate correction matrix M.
S104: the color range value extracting each pixel of described image 30, and generate multiple matrix A.
Concrete, described image 30 has x × y pixel, and the matrix of the color range value of the multiple pixels on described image 30 is the form of the matrix A of x 3 × y, namely
A 1= ,…,A x=
S105: the color range value correcting each pixel on described image 30.
By the color range value matrix A of each pixel on described correction matrix M and described image 30 1..., A ncarry out matrix operation, draw each pixel be corrected after matrix B 1..., B n, that is, M × A 1=B 1..., M × A n=B n.
Repeat step S101, S104, S105, correction matrix M can be utilized to correct the color range value of each pixel of the arbitrary image that follow-up described image collection module 11 is taken.
Color calibration system provided by the invention and method, utilize the compute mode of pseudo inverse matrix, calculates a correction matrix, and then utilize the color range value of described correction matrix to each pixel of image to correct, and enhances the accuracy of the color rendition of image.
Be understandable that, for the person of ordinary skill of the art, other various corresponding change and distortion can be made by technical conceive according to the present invention, and all these change the protection range that all should belong to the claims in the present invention with distortion.

Claims (6)

1. a color calibration system, be applied to one and have in the electronic equipment of shoot function, described electronic equipment comprises a memory, and described color calibration system comprises:
Image collection module, for obtaining an image, described image is formed by multiple pixel of arranging in array-like and is comprised a standard color card image;
Matrix acquisition module, for extracting the color range value of described standard color card image, and generates a matrix S; Described matrix acquisition module is further used for carrying out pseudo inverse matrix computing according to M × S=N, namely , wherein matrix N is the matrix of the color range value of the standard color card be stored on described memory, calculate a correction matrix M, and described correction matrix M is stored to described memory, described correction matrix M is used for correcting the color range value of each pixel of described image;
Image analysis module, for carrying out the extraction of color range value to each pixel on described image, and generates multiple matrix A;
Image correction module, for correcting the color range value of each pixel on described image, draw each pixel be corrected after multiple matrix B, i.e. M × A=B.
2. color calibration system as claimed in claim 1, it is characterized in that: described matrix N and S are the matrix of one 3 × 24, described matrix M is the matrix of one 3 × 3.
3. color calibration system as claimed in claim 1, is characterized in that: described matrix A is the matrix of x 3 × y, and wherein x, y represent the number of pixels of described image row, column respectively.
4. a color correcting method, comprises the following steps:
Obtain an image, described image is formed by multiple pixel of arranging in array-like and is comprised the image of a standard color card;
Extract the color range value of the image of the standard color card on described image, and generate a matrix S;
Utilize the computing of pseudo inverse matrix, namely , , wherein N is the matrix of the color range value of the standard color card be stored on described memory, calculates a correction matrix M, and described correction matrix M is stored to memory, and described correction matrix M is used for correcting the color range value of each pixel of described image;
Extract the color range value of each pixel of described image, and generate multiple matrix A;
Correct the color range value of each pixel on described image, i.e. M × A=B, the matrix after the color range value of each pixel that wherein B represents on described image is corrected.
5. color correcting method as claimed in claim 4, it is characterized in that: described matrix N and S are the matrix of one 3 × 24, described matrix M is the matrix of one 3 × 3.
6. color correcting method as claimed in claim 4, is characterized in that: described matrix A is the matrix of x 3 × y, and wherein x, y represent the number of pixels of described image row, column respectively.
CN201310215655.6A 2013-06-03 2013-06-03 Color correction system and method Pending CN104219511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310215655.6A CN104219511A (en) 2013-06-03 2013-06-03 Color correction system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310215655.6A CN104219511A (en) 2013-06-03 2013-06-03 Color correction system and method

Publications (1)

Publication Number Publication Date
CN104219511A true CN104219511A (en) 2014-12-17

Family

ID=52100593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310215655.6A Pending CN104219511A (en) 2013-06-03 2013-06-03 Color correction system and method

Country Status (1)

Country Link
CN (1) CN104219511A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105678710A (en) * 2016-01-14 2016-06-15 佛山华芯微特科技有限公司 Color correction and restoration system and color correction and restoration method
CN105827897A (en) * 2015-11-16 2016-08-03 维沃移动通信有限公司 Adjustment card manufacturing method, system, color correction matrix debugging method and device
CN108495101A (en) * 2018-04-08 2018-09-04 北京大恒图像视觉有限公司 A kind of method for correcting image, device, image capture device and readable storage medium storing program for executing
CN109274948A (en) * 2017-07-17 2019-01-25 深圳市道通智能航空技术有限公司 Image color correction method, apparatus, storage medium and computer equipment
WO2020037635A1 (en) * 2018-08-24 2020-02-27 华为技术有限公司 Color correction method and apparatus
WO2020097802A1 (en) * 2018-11-13 2020-05-22 华为技术有限公司 Image colour correction method and device, and storage medium
CN111443087A (en) * 2020-04-07 2020-07-24 北京农业信息技术研究中心 Chlorophyll detection device and method
CN112858268A (en) * 2020-09-18 2021-05-28 武汉大学 Soil water and solute migration university measuring method based on chemical imaging-correction analysis

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568016A (en) * 2003-06-17 2005-01-19 明基电通股份有限公司 Color amendment apparatus and method for image forming device
CN1758705A (en) * 2005-11-11 2006-04-12 北京中星微电子有限公司 Realizing method of symmetric color matrix in color correction
US20080018962A1 (en) * 2006-07-20 2008-01-24 Canon Kabushiki Kaisha Color conversion table generation method and color conversion table generation device
CN101939997A (en) * 2007-12-10 2011-01-05 豪威科技有限公司 Image sensor apparatus and method for color correction with an illuminant-dependent color correction matrix
CN103079076A (en) * 2013-01-22 2013-05-01 无锡鸿图微电子技术有限公司 Method and device for generating color calibration matrix of self-adaption gamma calibration curve
KR20140075547A (en) * 2012-12-11 2014-06-19 한국전자통신연구원 Apparatus and method for processing images captured by multiple cameras

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568016A (en) * 2003-06-17 2005-01-19 明基电通股份有限公司 Color amendment apparatus and method for image forming device
CN1758705A (en) * 2005-11-11 2006-04-12 北京中星微电子有限公司 Realizing method of symmetric color matrix in color correction
US20080018962A1 (en) * 2006-07-20 2008-01-24 Canon Kabushiki Kaisha Color conversion table generation method and color conversion table generation device
CN101939997A (en) * 2007-12-10 2011-01-05 豪威科技有限公司 Image sensor apparatus and method for color correction with an illuminant-dependent color correction matrix
KR20140075547A (en) * 2012-12-11 2014-06-19 한국전자통신연구원 Apparatus and method for processing images captured by multiple cameras
CN103079076A (en) * 2013-01-22 2013-05-01 无锡鸿图微电子技术有限公司 Method and device for generating color calibration matrix of self-adaption gamma calibration curve

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827897A (en) * 2015-11-16 2016-08-03 维沃移动通信有限公司 Adjustment card manufacturing method, system, color correction matrix debugging method and device
CN105827897B (en) * 2015-11-16 2019-06-07 维沃移动通信有限公司 Adjust card manufacturing method, system, debugging color correction matrix method and apparatus
CN105678710A (en) * 2016-01-14 2016-06-15 佛山华芯微特科技有限公司 Color correction and restoration system and color correction and restoration method
CN105678710B (en) * 2016-01-14 2018-10-26 佛山华芯微特科技有限公司 Color correction also original system and color correction restoring method
CN109274948A (en) * 2017-07-17 2019-01-25 深圳市道通智能航空技术有限公司 Image color correction method, apparatus, storage medium and computer equipment
CN108495101A (en) * 2018-04-08 2018-09-04 北京大恒图像视觉有限公司 A kind of method for correcting image, device, image capture device and readable storage medium storing program for executing
CN108495101B (en) * 2018-04-08 2019-10-11 北京大恒图像视觉有限公司 A kind of method for correcting image, device, image capture device and readable storage medium storing program for executing
WO2020037635A1 (en) * 2018-08-24 2020-02-27 华为技术有限公司 Color correction method and apparatus
WO2020097802A1 (en) * 2018-11-13 2020-05-22 华为技术有限公司 Image colour correction method and device, and storage medium
CN111656759A (en) * 2018-11-13 2020-09-11 华为技术有限公司 Image color correction method and device and storage medium
CN111443087A (en) * 2020-04-07 2020-07-24 北京农业信息技术研究中心 Chlorophyll detection device and method
CN112858268A (en) * 2020-09-18 2021-05-28 武汉大学 Soil water and solute migration university measuring method based on chemical imaging-correction analysis

Similar Documents

Publication Publication Date Title
CN104219511A (en) Color correction system and method
US9516290B2 (en) White balance method in multi-exposure imaging system
CN111028137B (en) Image processing method, apparatus, electronic device, and computer-readable storage medium
KR102022812B1 (en) Image Contrast Reinforcement
US20150049215A1 (en) Systems And Methods For Generating High Dynamic Range Images
CN103745104A (en) Examination paper marking method based on augmented reality technology
CN110930301A (en) Image processing method, image processing device, storage medium and electronic equipment
CN113170028A (en) Method for generating image data of imaging algorithm based on machine learning
CN113112424B (en) Image processing method, device, computer equipment and storage medium
CN102422632A (en) Imaging device and image restoration method
EP3247107B1 (en) Method and device for obtaining a hdr image by graph signal processing
CN114979500B (en) Image processing method, image processing apparatus, electronic device, and readable storage medium
US8542919B2 (en) Method and system for correcting lens shading
CN114240782A (en) Image correction method and system and electronic equipment
CN115147304A (en) Image fusion method and device, electronic equipment, storage medium and product
JP2012204856A (en) Image processing method and camera module
CN103685854A (en) Image processing apparatus, image processing method, and program
CN112752009B (en) Image processing method, module, readable storage medium, and image sensor
CN109063562A (en) Image processing method and device, electronic equipment, computer readable storage medium
US9113121B2 (en) Method for white balance adjustment of images
TWI547138B (en) Color correction system and method thereof
US20140111665A1 (en) Method for white balance adjustment of images
TW201541174A (en) Method and apparatus for determining distance between image sensor and object irradiated
CN109410308A (en) Image processing method and device, electronic equipment, computer readable storage medium
CN111242087B (en) Object identification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141217