CN103258317B - The method realizing image color correction conversion based on sample image in computer system - Google Patents

The method realizing image color correction conversion based on sample image in computer system Download PDF

Info

Publication number
CN103258317B
CN103258317B CN201310125283.8A CN201310125283A CN103258317B CN 103258317 B CN103258317 B CN 103258317B CN 201310125283 A CN201310125283 A CN 201310125283A CN 103258317 B CN103258317 B CN 103258317B
Authority
CN
China
Prior art keywords
image
component
target image
iteration
sample image
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.)
Active
Application number
CN201310125283.8A
Other languages
Chinese (zh)
Other versions
CN103258317A (en
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.)
Third Research Institute of the Ministry of Public Security
Original Assignee
Third Research Institute of the Ministry of Public Security
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 Third Research Institute of the Ministry of Public Security filed Critical Third Research Institute of the Ministry of Public Security
Priority to CN201310125283.8A priority Critical patent/CN103258317B/en
Publication of CN103258317A publication Critical patent/CN103258317A/en
Application granted granted Critical
Publication of CN103258317B publication Critical patent/CN103258317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)

Abstract

The present invention relates to a kind of method realizing image color correction conversion based on sample image in computer system, set up the matrixing model of rgb space including system, rgb space reads in sample image and target image, calculate the transformation matrix from sample image to target image according to the minimum chromatism method of Newton iteration, update the rgb space component of target image according to matrixing model by transformation matrix and complete the colour correction conversion of target image。Adopt the method realizing image color correction conversion based on sample image in this kind of computer system, overcome color of image problem pockety;It is simultaneously achieved the calculating of coupling matrix, the method optimized by newton aberration calculates target image colourity, overcome the tradition insurmountable problem of color correcting method based on sample image, ensure that the colour correction correctness in global and local, and processing procedure simple and fast, efficiency is higher, stable and reliable working performance, and the scope of application is relatively broad。

Description

The method realizing image color correction conversion based on sample image in computer system
Technical field
The present invention relates to Computer Image Processing field, particularly to image color correction technical field, a kind of method specifically referring to realize image color correction conversion based on sample image in computer system。
Background technology
Image color correction is the processing procedure changing input picture color。The colour correction technology of early stage is mainly used in photochrome or film, and generally adopts artificially colored method to process photo or film。Such workload done is very huge。Along with the appearance of computer technology, computer assisted color correcting method drastically increases the work efficiency of process。Computer assisted color correcting method is generally divided into: based on the method for the method of template and semi-artificial intervention。The former is obtain suitable image template at the ultimate challenge doing colour correction。The latter is then the color adjusting target image by adding manual intervention。Therefore relative to the color correcting method of manual intervention, based on template human input more less than the colour correction needs joined。
Through the literature search of prior art is found, the algorithm adopted based on the color correcting method of manual intervention is mainly by the dependency of brightness and colourity, neighbor similarity and geodesic distance are at interior multiple characteristics of image, such as A.Levin., D.Lischinski., Y.Weiss is at " ACMTransactionOnGraphics " (american computer association graphics transactions) the 23rd volume, 3rd phase, 689th page to 694 pages " ColorizationUsingOptimization " delivered literary compositions propose assume based on yuv space brightness and chroma dependency, by the method that Minimum Mean Square Error solves target image colourity。ReinhardE, AdhikhminM is at " IEEEComputerGraphicsandApplication " (IEEE computer graphical and application) the 21st volume, 5th phase, the 34th page to 41 pages " colortransferbetweenimages " delivered (color based on color space shifts) literary compositions propose the color correcting method based on coupling matrix。
Said method is all based on the method for global statistics information, make use of the dependency of color space to solve the colourity of target image, often adopts simple global statistics parameter such as average, variance etc. when color notation conversion space。But, these methods fail to consider the heterochromia of image local, thus in the discordance of local distribution after being easily caused colour correction,。
Summary of the invention
It is an object of the invention to overcome above-mentioned shortcoming of the prior art, it is provided that a kind of method that ensure that colour correction realizes image color correction conversion based on sample image in the correctness of global and local, processing procedure simple and fast, efficiency is higher, stable and reliable working performance, the scope of application are relatively broad computer system。
In order to realize above-mentioned purpose, in the computer system of the present invention based on sample image realize image color correction conversion method as follows:
The method realizing image color correction conversion based on sample image in this computer system, it is mainly characterized by, and described method comprises the following steps:
(1) system sets up the matrixing model of rgb space;
(2) system reads in sample image and target image in described rgb space;
(3) system calculates the transformation matrix from described sample image to target image according to the minimum chromatism method of Newton iteration;
(4) according to described matrixing model, the rgb space component of described target image is updated by described transformation matrix, thus completing the colour correction conversion of target image。
This computer system realizes the matrixing model setting up rgb space in the method for image color correction conversion based on sample image, particularly as follows:
According to below equation, rgb space is set up transformation matrix:
Y=M x;
Wherein, x = R 1 * R 2 * R N * G 1 * G 2 * ... G N * B 1 * B 2 * B N * For sample image matrix, R 1 * R 2 * ... R N * For the R component value of sample image, G 1 * G 2 * ... G N * For the G component value of sample image, B 1 * B 2 * ... B N * For the B component value of sample image, N is image pixel index number, y = R 1 R 2 R N G 1 G 2 ... G N B 1 B 2 B N For target image matrix, [R1R2…RN] for the R component value of target image, [G1G2…GN] for the G component value of target image, [B1B2…BN] for the B component value of target image, M = m 11 m 12 m 13 m 21 m 22 m 23 m 31 m 32 m 33 For transformation matrix, m11,m12,m13For image R component conversion coefficient, m21,m22,m23For image G component conversion coefficient, m31,m32,m33For image B component conversion coefficient。
This computer system realizes based on sample image the method for image color correction conversion calculates transformation matrix from described sample image to target image according to the minimum chromatism method of Newton iteration, comprises the following steps:
(31) rectangular coordinate system is set up with the pixel in the upper left corner in described sample image for initial point;
(32) iteration primary quantity T is calculated according to below equation1、T2、T3:
T 1 = X T · M 1 = X ( R , G , B ) ( 1 ) 1 X ( R , G , B ) ( 1 ) 2 . . . X ( R , G , B ) ( 1 ) N = R 1 R 2 . . . R N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * · m 11 m 12 m 13 ;
T 2 = X T · M 2 = X ( R , G , B ) ( 2 ) 1 X ( R , G , B ) ( 2 ) 2 . . . X ( R , G , B ) ( 2 ) N = G 1 G 2 . . . G N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * · m 21 m 22 m 23 ;
T 3 = X T · M 3 = X ( R , G , B ) ( 3 ) 1 X ( R , G , B ) ( 3 ) 2 . . . X ( R , G , B ) ( 3 ) N = B 1 B 2 . . . B N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * · m 31 m 32 m 33 ;
Wherein, X (R, G, B)(1)1,...,X(R,G,B)(1)NFor the R component of target image, X (R, G, B)(2)1,...,X(R,G,B)(2)NFor the G component of target image, X (R, G, B)(3)1,...,X(R,G,B)(3)NFor the B component of target image, T is for turning order operator, and N is pixel pixel index value in rgb space, M1For image R component conversion coefficient vector, M2For image G component conversion coefficient vector, M3For image B component conversion coefficient vector;
(33) it is iterated calculating according to following iteration more new-standard cement:
T(k)i+1=T(k)i(k)i
Wherein, i is iterations, Δ(k)i=-J(k)iε(k)i, Δ(k)iIt is the color component residual error in the i-th step iteration in kth spatial component, J(k)iIt is the Jacobian matrix of 3 × N in kth spatial component, ε in the i-th step iteration(k)iIt is the color space residual error in the i-th step iteration in kth spatial component, and:
ε(k)i=xT·M(k)i-T(k)i, k=1,2,3;
Wherein, k is rgb color space component index value, and k=1 represents R space, and k=2 represents G space, and k=3 represents B space, and i is iterations, and x is sample image matrix, wherein comprises RGB component value, M(k)iIt is the vector in kth spatial component of the transformation matrix M in the i-th step iteration, T(k)iIt it is the iteration updated value in the i-th step iteration in kth spatial component;
(34) whether the iterative computation of real-time judge step (33) has met relationship below:
||ε(k)i+J(k)iΔ(k)i| | < ε '
Wherein, | | | | for modulo operation, ε ' is iteration threshold, and ε is color space residual error, and J is the Jacobian matrix of 3 × N, and Δ is that target image color component iteration is poor;
(35) if be unsatisfactory for, then step (33) is continued;
(36) if it is satisfied, then obtain corresponding optimum color transformed matrix M, and M = m 11 m 12 m 13 m 21 m 22 m 23 m 31 m 32 m 33 .
The iteration threshold ε ' realized based on sample image in this computer system in the method for image color correction conversion is 0.6。
Have employed the method realizing image color correction conversion based on sample image in the computer system of this invention, owing to wherein make use of what coupling matrixing and the optimization method of Newton iteration method established target image color space to solve framework, thus overcoming color of image problem pockety;Fully taken into account the diversity in color transformation process simultaneously, by adopting the optimization method based on Newton iteration method to achieve the calculating of coupling matrix, owing to the method that colour correction is optimized by newton aberration is calculated target image colourity, thus overcoming the tradition insurmountable problem of color correcting method based on sample image, ensure that the colour correction correctness in global and local, and processing procedure simple and fast, efficiency is higher, stable and reliable working performance, the scope of application is relatively broad。
Accompanying drawing explanation
Fig. 1 be the present invention computer system in realize the overall flow figure of method of image color correction conversion based on sample image。
Fig. 2 a be the present invention computer system in based on sample image realize image color correction conversion method specific embodiment in sample image。
Fig. 2 b is the image RGB rectangular histogram of Fig. 2 a。
Fig. 3 a be the present invention computer system in based on sample image realize image color correction conversion method specific embodiment in target image。
Fig. 3 b is the image RGB rectangular histogram of Fig. 3 a。
Fig. 4 a be the present invention computer system in based on sample image realize image color correction conversion method specific embodiment in treatment effect image。
Fig. 4 b is the image RGB rectangular histogram of Fig. 4 a。
Detailed description of the invention
In order to be more clearly understood that the technology contents of the present invention, describe in detail especially exemplified by following example。
Refer to shown in Fig. 1 to Fig. 4 b, the method realizing image color correction conversion based on sample image in this computer system, including following steps:
(1) system sets up the matrixing model of rgb space, particularly as follows:
According to below equation, rgb space is set up transformation matrix:
Y=M x;
Wherein, x = R 1 * R 2 * R N * G 1 * G 2 * ... G N * B 1 * B 2 * B N * For sample image matrix, R 1 * R 2 * ... R N * For the R component value of sample image, G 1 * G 2 * ... G N * For the G component value of sample image, B 1 * B 2 * ... B N * For the B component value of sample image, N is image pixel index number, y = R 1 R 2 R N G 1 G 2 ... G N B 1 B 2 B N For target image matrix, [R1R2…RN] for the R component value of target image, [G1G2…GN] for the G component value of target image, [B1B2…BN] for the B component value of target image, M = m 11 m 12 m 13 m 21 m 22 m 23 m 31 m 32 m 33 For transformation matrix, m11,m12,m13For image R component conversion coefficient, m21,m22,m23For image G component conversion coefficient, m31,m32,m33For image B component conversion coefficient;
(2) system reads in sample image and target image in described rgb space;
(3) system calculates the transformation matrix from described sample image to target image according to the minimum chromatism method of Newton iteration, comprises the following steps:
A () sets up rectangular coordinate system with the pixel in the upper left corner in described sample image for initial point;
B () calculates iteration primary quantity T according to below equation1、T2、T3:
T 1 = X T &CenterDot; M 1 = X ( R , G , B ) ( 1 ) 1 X ( R , G , B ) ( 1 ) 2 . . . X ( R , G , B ) ( 1 ) N = R 1 R 2 . . . R N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 11 m 12 m 13 ;
T 2 = X T &CenterDot; M 2 = X ( R , G , B ) ( 2 ) 1 X ( R , G , B ) ( 2 ) 2 . . . X ( R , G , B ) ( 2 ) N = G 1 G 2 . . . G N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 21 m 22 m 23 ;
T 3 = X T &CenterDot; M 3 = X ( R , G , B ) ( 3 ) 1 X ( R , G , B ) ( 3 ) 2 . . . X ( R , G , B ) ( 3 ) N = B 1 B 2 . . . B N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 31 m 32 m 33 ;
Wherein, X (R, G, B)(1)1,...,X(R,G,B)(1)NFor the R component of target image, X (R, G, B)(2)1,...,X(R,G,B)(2)NFor the G component of target image, X (R, G, B)(3)1,...,X(R,G,B)(3)NFor the B component of target image, T is for turning order operator, and N is pixel pixel index value in rgb space, M1For image R component conversion coefficient vector, M2For image G component conversion coefficient vector, M3For image B component conversion coefficient vector;
C () is iterated calculating according to following iteration more new-standard cement:
T(k)i+1=T(k)i(k)i
Wherein, i is iterations, Δ(k)i=-J(k)iε(k)i, Δ(k)iIt is the color component residual error in the i-th step iteration in kth spatial component, J(k)iIt is the Jacobian matrix of 3 × N in kth spatial component, ε in the i-th step iteration(k)iIt is the color space residual error in the i-th step iteration in kth spatial component, and:
ε(k)i=xT·M(k)i-T(k)i, k=1,2,3;
Wherein, k is rgb color space component index value, and k=1 represents R space, and k=2 represents G space, and k=3 represents B space, and i is iterations, and x is sample image matrix, wherein comprises RGB component value, M(k)iIt is the vector in kth spatial component of the transformation matrix M in the i-th step iteration, T(k)iIt it is the iteration updated value in the i-th step iteration in kth spatial component;
Whether the iterative computation of (d) real-time judge step (33) has met relationship below:
||ε(k)i+J(k)iΔ(k)i| | < ε '
Wherein, | | | | for modulo operation, ε ' is iteration threshold, and ε is color space residual error, and J is the Jacobian matrix of 3 × N, and Δ is that target image color component iteration is poor;
If e () is unsatisfactory for, then continue step (c);
(f) if it is satisfied, then obtain corresponding optimum color transformed matrix M, and M = m 11 m 12 m 13 m 21 m 22 m 23 m 31 m 32 m 33 ;
(4) according to described matrixing model, the rgb space component of described target image is updated by described transformation matrix, thus completing the colour correction conversion of target image。
In the middle of actually used, the present invention is achieved by the following technical solutions, specifically includes following steps:
Step one, sets up transformation matrix at rgb space,
Y=M x ... (1)
X is sample image, and y is target image, and M is transformation matrix。Being described in detail below at rgb space:
R 1 R 2 R N G 1 G 2 ... G N B 1 B 2 B N = m 11 m 12 m 13 m 21 m 22 m 23 m 31 m 32 m 33 &CenterDot; R 1 * R 2 * R N * G 1 * G 2 * ... G N * B 1 * B 2 * B N * ...... ( 2 )
Step 2, adopts the method for the minimum aberration of Newton iteration to calculate transformation matrix:
T 1 = X T &CenterDot; M 1 = X ( R , G , B ) ( 1 ) 1 X ( R , G , B ) ( 1 ) 2 . . . X ( R , G , B ) ( 1 ) N = R 1 R 2 . . . R N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 11 m 12 m 13 ...... ( 3 )
T 2 = X T &CenterDot; M 2 = X ( R , G , B ) ( 2 ) 1 X ( R , G , B ) ( 2 ) 2 . . . X ( R , G , B ) ( 2 ) N = G 1 G 2 . . . G N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 21 m 22 m 23 ...... ( 4 )
T 3 = X T &CenterDot; M 3 = X ( R , G , B ) ( 3 ) 1 X ( R , G , B ) ( 3 ) 2 . . . X ( R , G , B ) ( 3 ) N = B 1 B 2 . . . B N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 31 m 32 m 33 ...... ( 5 )
Assumed appearance color space residual error is:
ε(k)i=xT·M(k)i-T(k)i, k=1,2,3 ... (6)
I represents iterations, and iteration more new-standard cement is:
T(k)i+1=T(k)i(k)i……(7)
Δ(K)i=-J(k)iε(k)i……(8)
J is the Jacobian matrix of 3 × N, updates termination and meets following formula:
||ε(k)i+J(k)iΔ(k)i| | < ε ' ... (9)
When constraints meets, we obtain optimum color transformed matrix M from sample image point and target image point。
Step 2, obtains the final three-channel color component of target image RGB by the transformation matrix of step 2。
Compared with prior art, the invention has the beneficial effects as follows: utilize what coupling matrixing and the optimization method of Newton iteration method set up target image color space to solve framework, overcome color of image problem pockety;The color correcting method of existing sample image, simple global statistics parameter such as average, variance etc. is often adopted when color notation conversion space, and the present invention has fully taken into account the diversity in color transformation process, by adopting the optimization method based on Newton iteration method to achieve the calculating of coupling matrix。Owing to the method that colour correction is optimized by newton aberration is calculated target image colourity by the present invention, thus overcoming the tradition insurmountable problem of color correcting method based on sample image。
In inventive embodiment, the image that 1 image is sized to 256 × 256 pixels does colour correction, and algorithm flow refers to shown in Fig. 1, comprises the steps:
The first step, reads in sample image and target image。
Second step, calculates the sample image transformation matrix to target image, and specific formula for calculation is as follows:
T 1 = X T &CenterDot; M 1 = X ( R , G , B ) ( 1 ) 1 X ( R , G , B ) ( 1 ) 2 . . . X ( R , G , B ) ( 1 ) N = R 1 R 2 . . . R N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 11 m 12 m 13 ;
T 2 = X T &CenterDot; M 2 = X ( R , G , B ) ( 2 ) 1 X ( R , G , B ) ( 2 ) 2 . . . X ( R , G , B ) ( 2 ) N = G 1 G 2 . . . G N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 21 m 22 m 23 ;
T 3 = X T &CenterDot; M 3 = X ( R , G , B ) ( 3 ) 1 X ( R , G , B ) ( 3 ) 2 . . . X ( R , G , B ) ( 3 ) N = B 1 B 2 . . . B N = R 1 * G 1 * B 1 * R 2 * G 2 * B 2 * . . . R N * G N * B N * &CenterDot; m 31 m 32 m 33 ;
Assumed appearance color space residual error is:
ε(k)i=xT·M(k)i-T(k)i, k=1,2,3;
I represents iterations, and iteration more new-standard cement is:
T(k)i+1=T(k)i(k)i
Δ(K)i=-J(k)iε(k)i
J is the Jacobian matrix of 3 × N, updates termination and meets following formula:
||ε(k)i+J(k)iΔ(k)i| | < ε ';
Threshold epsilon ' generally value be 0.6, so, we obtain the color transformed matrix M of the point from sample image to target image。
3rd step, is updated the rgb space of target image, uses formula calculated as below by transformation matrix:
R 1 R 2 R N G 1 G 2 ... G N B 1 B 2 B N = m 11 m 12 m 13 m 21 m 22 m 23 m 31 m 32 m 33 &CenterDot; R 1 * R 2 * R N * G 1 * G 2 * ... G N * B 1 * B 2 * B N * .
The principle of the colour correction of the present embodiment is: by the calculating of color transformed matrix, introduces newton residual minimization method, efficiently solves the problem that distribution of color is uneven;Under Unified frame, achieve the colour correction of image, obtain target image color space values by Optimized Matching matrix calculus;Therefore, by establishing a kind of Computational frame based on coupling matrix, it may be achieved the colour correction of effective image。
For Fig. 2 b, 3b and 4b, it corresponds respectively to the RGB rectangular histogram of Fig. 2 a, 3a, 4a, and wherein horizontal axis is gray value coordinate, and vertical axis represents the quantity of pixel under given gray value。
Have employed the method realizing image color correction conversion based on sample image in above-mentioned computer system, owing to wherein make use of what coupling matrixing and the optimization method of Newton iteration method established target image color space to solve framework, thus overcoming color of image problem pockety;Fully taken into account the diversity in color transformation process simultaneously, by adopting the optimization method based on Newton iteration method to achieve the calculating of coupling matrix, owing to the method that colour correction is optimized by newton aberration is calculated target image colourity, thus overcoming the tradition insurmountable problem of color correcting method based on sample image, ensure that the colour correction correctness in global and local, and processing procedure simple and fast, efficiency is higher, stable and reliable working performance, the scope of application is relatively broad。
In this description, the present invention is described with reference to its specific embodiment。But it is clear that still may be made that various amendment and conversion are without departing from the spirit and scope of the present invention。Therefore, specification and drawings is regarded in an illustrative, rather than a restrictive。

Claims (2)

1. the method realizing image color correction conversion based on sample image in a computer system, it is characterised in that described method comprises the following steps:
(1) system sets up the matrixing model of rgb space;
(2) system reads in sample image and target image in described rgb space;
(3) system calculates the transformation matrix from described sample image to target image according to the minimum chromatism method of Newton iteration;
(4) according to described matrixing model, the rgb space component of described target image is updated by described transformation matrix, thus completing the colour correction conversion of target image;
The described matrixing model setting up rgb space, particularly as follows:
According to below equation, rgb space is set up transformation matrix:
Y=M x;
Wherein,For sample image matrix,For the R component value of sample image,For the G component value of sample image,For the B component value of sample image, N is image pixel index number,For target image matrix, [R1R2…RN] for the R component value of target image, [G1G2…GN] for the G component value of target image, [B1B2…BN] for the B component value of target image,For transformation matrix, m11,m12,m13For image R component conversion coefficient, m21,m22,m23For image G component conversion coefficient, m31,m32,m33For image B component conversion coefficient;
Described calculates the transformation matrix from described sample image to target image according to the minimum chromatism method of Newton iteration, comprises the following steps:
(31) rectangular coordinate system is set up with the pixel in the upper left corner in described sample image for initial point;
(32) iteration primary quantity T is calculated according to below equation1、T2、T3:
Wherein, X is the rgb space vector of target image, X (R, G, B)(1)1,...,X(R,G,B)(1)NFor the R component of target image, X (R, G, B)(2)1,...,X(R,G,B)(2)NFor the G component of target image, X (R, G, B)(3)1,...,X(R,G,B)(3)NFor the B component of target image, T is for turning order operator, and N is pixel pixel index value in rgb space, M1For image R component conversion coefficient vector, M2For image G component conversion coefficient vector, M3For image B component conversion coefficient vector;
(33) it is iterated calculating according to following iteration more new-standard cement:
T(k)i+1=T(k)i(k)i
Wherein, i is iterations, Δ(k)i=-J(k)iε(k)i, Δ(k)iIt is the color component residual error in the i-th step iteration in kth spatial component, J(k)iIt is the Jacobian matrix of 3 × N in kth spatial component, ε in the i-th step iteration(k)iIt is the color space residual error in the i-th step iteration in kth spatial component, and:
ε(k)i=xT·M(k)i-T(k)i, k=1,2,3;
Wherein, k is rgb color space component index value, and k=1 represents R space, and k=2 represents G space, and k=3 represents B space, and i is iterations, and x is sample image matrix, wherein comprises RGB component value, M(k)iIt is the vector in kth spatial component of the transformation matrix M in the i-th step iteration, T(k)iIt it is the iteration updated value in the i-th step iteration in kth spatial component;
(34) whether the iterative computation of real-time judge step (33) has met relationship below:
||ε(k)i+J(k)iΔ(k)i| | < ε '
Wherein, | | | | for modulo operation, ε ' is iteration threshold, and ε is color space residual error, and J is the Jacobian matrix of 3 × N, and Δ is that target image color component iteration is poor;
(35) if be unsatisfactory for, then step (33) is continued;
(36) if it is satisfied, then obtain corresponding optimum color transformed matrix M, and
2. the method realizing image color correction conversion based on sample image in computer system according to claim 1, it is characterised in that described iteration threshold ε ' is 0.6。
CN201310125283.8A 2013-04-11 2013-04-11 The method realizing image color correction conversion based on sample image in computer system Active CN103258317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310125283.8A CN103258317B (en) 2013-04-11 2013-04-11 The method realizing image color correction conversion based on sample image in computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310125283.8A CN103258317B (en) 2013-04-11 2013-04-11 The method realizing image color correction conversion based on sample image in computer system

Publications (2)

Publication Number Publication Date
CN103258317A CN103258317A (en) 2013-08-21
CN103258317B true CN103258317B (en) 2016-06-22

Family

ID=48962212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310125283.8A Active CN103258317B (en) 2013-04-11 2013-04-11 The method realizing image color correction conversion based on sample image in computer system

Country Status (1)

Country Link
CN (1) CN103258317B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529447B (en) * 2022-11-23 2023-05-02 芯动微电子科技(珠海)有限公司 Display method, system and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101939997A (en) * 2007-12-10 2011-01-05 豪威科技有限公司 Image sensor apparatus and method for color correction with an illuminant-dependent color correction matrix

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4251317B2 (en) * 2003-06-23 2009-04-08 株式会社ニコン Imaging apparatus and image processing program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101939997A (en) * 2007-12-10 2011-01-05 豪威科技有限公司 Image sensor apparatus and method for color correction with an illuminant-dependent color correction matrix

Also Published As

Publication number Publication date
CN103258317A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
CN108765481B (en) Monocular video depth estimation method, device, terminal and storage medium
CN103093444B (en) Image super-resolution reconstruction method based on self-similarity and structural information constraint
US20220044442A1 (en) Bi-level optimization-based infrared and visible light fusion method
CN110503688A (en) A kind of position and orientation estimation method for depth camera
CN104486608B (en) Image processing method and device
CN104881681A (en) Image sequence category labeling method based on mixed graph model
CN103248793B (en) The colour of skin optimization method of gamut conversion system and device
CN105761233A (en) FPGA-based real-time panoramic image mosaic method
CN105678687A (en) Stereo image stitching method based on content of images
Wang et al. Variational single nighttime image haze removal with a gray haze-line prior
CN103414910B (en) Low-distortion three-dimensional picture outer polar line correcting method
CN101901472B (en) Method for aligning non-rigid robust batch images based on matrix rank minimization
CN102184533A (en) Non-local-restriction-based total variation image deblurring method
WO2024017093A1 (en) Image generation method, model training method, related apparatus, and electronic device
CN103310443A (en) Quick processing method and system for high-resolution remote sensing image
CN103617596A (en) Image color style transformation method based on flow pattern transition
CN103729882A (en) Point cloud relative pose estimation method based on three-dimensional curve matching
CN107220955A (en) A kind of brightness of image equalization methods based on overlapping region characteristic point pair
CN105869112A (en) Method for tone mapping of high dynamic range picture with edge kept minimized
CN102280096A (en) Method for combining image scaling and color space switching
CN106204477A (en) Video frequency sequence background restoration methods based on online low-rank background modeling
Grogan et al. L2 registration for colour transfer
CN103258317B (en) The method realizing image color correction conversion based on sample image in computer system
CN105915757A (en) Color correction method based on RGB color channel error function
CN103413331A (en) High-resolution video image content sparse expression method supporting edition and propagation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant