US 20010045984 A1 Abstract An object of the Invention is to provide a hue adjusting method that is simply and easily possible to adjust finely the hue and a hue adjusting device. The CPU
18 calculates an off set matrix that is in a pair with an off set matrix to said central matrix X when a matrix X and an off set matrix A are inputted from an operating part 11. Then the CPU 18 carries out the following operation when a parameter a is inputted from the operating part 11. X′=(a·A+(1−a)B)/2 It is possible to execute matrix conversion to adjust the hue by setting a matrix coefficient of each component of the matrix X′ to multiplication circuit
21 through 26 in the matrix 20. Claims(8) 1. A hue adjusting method for adjusting the hue of a color image signal indicated by three primary color signals, said hue adjusting method comprising the steps of:
inputting a central matrix coefficient deciding a central matrix X and that is the center of the variable range of a matrix coefficient; storing said central matrix coefficient; inputting a first matrix coefficient deciding a first matrix A and that is one end of the variable range of the matrix coefficient; storing said first matrix coefficient; inputting a parameter a for adjusting said central matrix coefficient; storing said parameter a; calculate X′ by X′={a·A+(1−a)B}/2 when the second matrix B is B=2·X−A according to the stored central matrix coefficient, the first matrix coefficient and the parameter a; and setting X′ as the coefficient of a matrix converting means for converting the hue of a color image signal indicated by said three primary color signals. 2. A hue adjusting method according to claim 1 3. A hue adjusting method according to claim 1 indicating information for urging to input said parameter on an indicating means. 4. A hue adjusting apparatus for adjusting the hue of a color image signal indicated by three primary color signals, said hue adjusting apparatus comprising:
a central matrix coefficient input means for inputting the central matrix coefficient deciding a central matrix X and that is the center of the variable range of a matrix coefficient; a central matrix coefficient storing means for storing said central matrix coefficient; a first matrix coefficient input means for inputting a first matrix coefficient deciding a first matrix A and that is one end of the variable range of the matrix coefficient; a first matrix coefficient storing means for storing said first matrix coefficient; a parameter input means for inputting a parameter a for adjusting said central matrix coefficient; a parameter storing means for storing said parameter a; a calculating means for calculating X′ by X′={a·A+(1−a)B}/2 when the second matrix B is B=2·X−A according to the stored central matrix coefficient, the first matrix coefficient and the parameter a; a matrix converting means for converting the hue of a color image signal indicated by said three primary color signals; and a setting means for setting X′ as a coefficient of hue conversion of said matrix means. 5. A hue adjusting method for adjusting the hue of a color image signal indicated by three primary color signals, said hue adjusting method comprising the steps of:
inputting a first matrix coefficient deciding a first matrix A and that is an end of the variable range of a matrix coefficient; storing said first matrix coefficient; inputting a second matrix coefficient deciding a second matrix B and that is the other end of the variable range of the matrix coefficient; storing said second matrix coefficient; inputting a parameter a for adjusting said matrix coefficients between the matrix coefficients of said first matrix A and said second matrix B; storing said parameter a; calculating X′ by X′={a·A+(1−a)B}/2 according to the stored first and second matrix coefficients and the parameter a; and setting X′ as the coefficient of a matrix converting means for converting the hue of a color image signal indicated by said three primary color signals. 6. The hue adjusting method according to claim 5 indicating information for urging to input said first matrix coefficient on an indicating means. 7. The hue adjusting method according to claim 5 indicating information for urging to input said parameter on an indicating means. 8. A hue adjusting apparatus for adjusting the hue of a color image signal indicated by three primary color signals, said hue adjusting apparatus comprising:
a first matrix coefficient input means for inputting a first matrix coefficient deciding a first matrix A and that is an end of the variable range of a matrix coefficient; a first matrix coefficient storing means for storing said first matrix coefficient; a second matrix coefficient input means for inputting a second matrix coefficient deciding a second matrix B and that is the other end of the variable range of the matrix coefficient; a second matrix coefficient storing means for storing said second matrix coefficient; a parameter input means for inputting a parameter a for adjusting matrix coefficients between the matrix coefficients of said first matrix A and said second matrix B; a parameter storing means for storing said parameter a; a calculating means for calculating X′ by X′={a·A+(1−a)B}/2 according to the stored first and second matrix coefficients and the parameter a; and a setting means for setting X′ as a coefficient of a matrix converting means for converting the hue of a color image signal indicated by said three colors' signals. Description [0001] 1. Field of the Invention [0002] The present invention relates to a hue adjusting method for adjusting the hue by executing matrix conversion processing of a color signal and so on. [0003] 2. Description of the Related Art [0004] At a processing part used for a camera device and so on, the hue is adjusted by executing matrix conversion to, for example, color signals of the three primary colors. Here, if the color signals of the three primary colors R, G and B, color signals R′, G′ and B′, to which the matrix conversion is executed, and a matrix X are as follows:
[0005] the matrix conversion is represented by an expression (1). [0006] As the matrix X comprises six variable matrix coefficients of s, t, u, v, w and x and the color signals are related each other, when one matrix coefficient is changed, another matrix coefficients are also changed. Therefore, a user had to input six matrix coefficients every time when the hue was adjusted and it was inconvenient. [0007] The present invention was performed considering said problems, and an object of the present invention is to provide a hue adjusting method and a hue adjusting device that are possible to adjust simply and easily the hue. [0008] According to the present invention, a hue adjusting method, for adjusting the hue of a color image signal indicated by the three primary color signals, includes the steps of: inputting a central matrix coefficient deciding a central matrix X and that is the center of the variable range of a matrix coefficient; storing said central matrix coefficient; inputting a first matrix coefficient deciding a first matrix A and that is one end of the variable range of the matrix coefficient; storing said first matrix coefficient; inputting a parameter a for adjusting said central matrix coefficient; storing said parameter a; calculate X′ by X′={a·A+(1−a)B}/2 when the second matrix B is B=2?X−A according to the stored central matrix coefficient, the first matrix coefficient and the parameter a; and setting X′ as the coefficient of a matrix converting means for converting the hue of a color image signal indicated by said three primary color signals. [0009] According to the present invention, a hue adjusting apparatus, for adjusting the hue of a color image signal indicated by three primary color signals, includes: a central matrix coefficient input means for inputting a central matrix coefficient deciding a central matrix X and that is the center of the variable range of a matrix coefficient; a central matrix coefficient storing means for storing said central matrix coefficient; a first matrix coefficient input means for inputting the first matrix coefficient deciding a first matrix A and that is one end of the variable range of the matrix coefficient; a first matrix coefficient storing means for storing said first matrix coefficient; a parameter input means for inputting a parameter a for adjusting said central matrix coefficient; a parameter storing means for storing said parameter a; a calculating means for calculating X′ by X′={a·A+(1−a)B}/2 when the second matrix B is B=2·X−A according to the stored central matrix coefficient, the first matrix coefficient and the parameter a; a matrix converting means for converting the hue of a color image signal indicated by said three primary color signals; and a setting means for setting X′ as a coefficient of huge conversion of said matrix means. [0010] According to the present invention, a hue adjusting method, for adjusting the hue of a color image signal indicated by three primary color signals, includes the steps of: inputting first matrix coefficient deciding a first matrix A and that is an end of the variable range of a matrix coefficient; storing said first matrix coefficient; inputting a second matrix coefficient deciding a second matrix B and that is the other end of the variable range of the matrix coefficient; storing said second matrix coefficient; inputting a parameter a for adjusting said matrix coefficients between the matrix coefficients of said first matrix A and said second matrix B; storing said parameter a; calculating X′ by X′={a·A+(1−a)B}/2 according to the stored first and second matrix coefficients and the parameter a; and setting X′ as the coefficient of a matrix converting means for converting the hue of a color image signal indicated by said three primary color signals. [0011] According to the present invention, a hue adjusting apparatus, for adjusting the hue of a color image signal indicated by three primary color signals, includes: a first matrix coefficient input means for inputting a first matrix coefficient deciding a first matrix A and that is an end of the variable range of a matrix coefficient; a first matrix coefficient storing means for storing said first matrix coefficient; a second matrix coefficient input means for inputting a second matrix coefficient deciding a second matrix B and that is the other end of the variable range of the matrix coefficient; a second matrix coefficient storing means for storing said second matrix coefficient; a parameter input means for inputting a parameter a for adjusting matrix coefficients between the matrix coefficients of said first matrix A and said second matrix B; a parameter storing means for storing said parameter a; a calculation means for calculating X′ by X′={a·A+(1−a)B}/2 according to the stored first and second matrix coefficients and the parameter a; and a setting means for setting X′ as a coefficient of a matrix converting means for converting the hue of a color image signal indicated by said three colors' signals. [0012]FIG. 1 is a block diagram showing the schematic structure of a camera apparatus according to the present invention. [0013]FIG. 2 is a block diagram showing the concrete structure of a process circuit of said camera apparatus. [0014]FIG. 3 is an explanatory view of the concept of adjusting the hue by using said camera apparatus. [0015]FIG. 4 is a flow chart for describing actuation of the first matrix adjusting mode of said camera apparatus. [0016]FIG. 5 is a flow chart for describing actuation of the second matrix adjusting mode of said camera apparatus. [0017] An embodiment according to the present invention will be described referring to drawings. [0018] A camera apparatus according to the present invention adjusts finely the hue by adjusting six matrix coefficients by a parameter when multiplying color signals obtained corresponding to image pick-up light of a subject by the six matrix coefficients. [0019] Said camera apparatus includes, for example as shown in FIG. 1: a lens [0020] The CCD image sensor [0021] Further, said camera apparatus includes a synchronous signal generating circuit [0022] Further, said camera apparatus includes an operation part [0023] The CPU [0024] Here, the process circuit includes, for example as shown in FIG. 2, a matrix circuit [0025] The matrix circuit [0026] Further, the matrix circuit [0027] Here, if vector comprising the color signals R, G and B is P, vector comprising the color signals R , Gand Bis Q and the central matrix is X:[0028] relation between the color signals R, G and B and the color signals R′, G′ and B′ which matrix conversion is executed is shown by an expression (1). [0029] The camera apparatus constructed as above mentioned, is set to the matrix adjusting modes 1 and 2 corresponding to operation of the operating part [0030] At the matrix adjusting mode 1, an operator inputs central matrix coefficients of s, t, u, v, w and x which are the central values within the variable range of the matrix coefficients in the following fine adjustment and the matrix coefficients of s1, t1, u1, v1, w1 and x1 instead of inputting the matrix coefficient that is actually set actually. Still, the central matrix X is decided by deciding the central matrix coefficients s, t, u, v, w and x, and the matrix A is decided by inputting the matrix coefficients of s1, t1, u1, v1, w1 and x1. [0031] The matrix coefficient which is actually set, as shown in FIG. 3, is adjustable between the matrixes B and A that are symmetrical as the central matrix X is the center. [0032] Further, said camera apparatus, as shown in FIG. 3, is possible to move an arbitrary point Q of routs Q [0033] As concretely shown in FIG. 4, after the CPU [0034] At a step S [0035] At the step S [0036] At a step S [0037] At a step S [0038] Here, if the off set matrixes A and B are as follows:
[0039] relation between the central X and the off set matrixes A and B is as follows: [0040] That is, the relation between matrix coefficients of the matrix X, the off set matrix A and B, for example, the relation between s, s [0041] Still, the relation between other matrix coefficients t, u, v, w, x and so on is similar. [0042] Therefore, the CPU [0043] That is, the CPU [0044] However, z=s, t, u, v, w and x [0045] At the step S [0046] At a step S [0047] At a step S [0048] Here, the CPU [0049] That is, the CPU [0050] At a step S [0051] Here, the embodiment will be described as follows. When the color signals R, G and B are supplied to the process circuit [0052] That is, when said camera apparatus adjusts the hue, it is easily possible to adjust the hue by setting the central matrix X and the off set matrix A and by changing only the parameter a without inputting again all of six matrix coefficients in which the hue is changed with being related to each other. Said camera apparatus, as shown in FIG. 3, it is possible to adjust the hue by changing the routes Q [0053] Next, the actuating state of the camera apparatus at the mode 2 will be described. [0054] Said camera apparatus calculates the center matrix X when the off set matrixes A and B are inputted at the mode 2. Said camera device, as shown in FIG. 3, is possible to move an arbitrary point Q of the routes Q [0055] Concretely to say, as shown in FIG. 5, the CPU [0056] At the step S [0057] At the step [0058] At the step S [0059] At the step [0060] That is, each matrix coefficient is found as follows. [0061] Where t, u, v, w and x. [0062] Further, the CPU [0063] At the step [0064] At the step [0065] An a step S [0066] At a step S [0067] At a step S [0068] That is, every time when said camera apparatus adjusts the hue, it is easily possible to adjust the hue by setting the central matrix X and the off set matrix A and by changing only the parameter a without inputting again all of six matrix coefficients in which the hue is changed being related each other. Further, said camera apparatus is possible to input the off set matrixes A and B in which the predetermined off set is added to the central matrix X, therefore, it is possible to set the variable range of the matrix coefficient and to avoid executing adjustment of the hue that deviates from the original object. [0069] Though the parameters a are inputted from the operating part [0070] As above mentioned, according to the present invention, if the matrix X and the off set matrix A have been set in advance without inputting any component of the matrix again every time when adjusting the hue, it is possible to adjust easily the hue by changing only the parameter a. Further, in said hue adjusting method, it is possible to change the range for adjusting the hue without changing the reference of the matrix conversion by changing the off set matrix A. [0071] Further, in the hue adjusting method according to the present invention, if the off set matrixes A and B have been set in advance without inputting any component of the matrix again every time when adjusting the hue, it is possible to adjust easily the hue by changing only the parameter a. Further, according to said hue adjusting method, it is possible to input the off set matrixes A and B in which the fixed off set has added to the matrix X in advance, therefore, it is possible to set the range that the matrix conversion is executed in advance and possible to avoid adjusting the hue that deviates from the object of the present invention. Referenced by
Classifications
Legal Events
Rotate |