WO2004091223A1 - 撮像システム、画像処理プログラム - Google Patents

撮像システム、画像処理プログラム Download PDF

Info

Publication number
WO2004091223A1
WO2004091223A1 PCT/JP2004/005054 JP2004005054W WO2004091223A1 WO 2004091223 A1 WO2004091223 A1 WO 2004091223A1 JP 2004005054 W JP2004005054 W JP 2004005054W WO 2004091223 A1 WO2004091223 A1 WO 2004091223A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
saturation
hue
correction coefficient
value
Prior art date
Application number
PCT/JP2004/005054
Other languages
English (en)
French (fr)
Inventor
Takao Tsuruoka
Original Assignee
Olympus Corporation
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 Olympus Corporation filed Critical Olympus Corporation
Publication of WO2004091223A1 publication Critical patent/WO2004091223A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters

Definitions

  • the present invention relates to color signal processing of a color video signal, and more particularly to an imaging system and an image processing program for obtaining a high-quality video signal by correcting a chroma signal in correspondence with a gradation conversion of a luminance signal.
  • imaging systems such as digital still cameras and video cameras mainly use a single-panel CCD having a complementary color filter or a primary color filter disposed on the front side.
  • the color signals from the CCD are subjected to WB (white balance) processing and interpolation processing, and thereafter, image processing such as edge enhancement processing, saturation enhancement processing, and gradation correction processing is performed.
  • WB white balance
  • image processing such as edge enhancement processing, saturation enhancement processing, and gradation correction processing is performed.
  • the output is made.
  • chroma-sub processing to reduce false colors that may occur in the edge part in the above interpolation processing, and highlight cyan processing to reduce false colors that may occur in high-luminance parts due to differences in the spectral sensitivity characteristics of the CCD. Is also performed.
  • the above-mentioned picture creation processing may be performed directly on the color signal from the CCD, but usually, it is necessary to convert to a different color space and separate the luminance signal and the color signal before processing. Many. In this case, the color signal may deviate from the color reproduction range due to saturation enhancement processing, or the color signal may become unnatural when only the luminance signal is subjected to gradation conversion. Therefore, it is necessary to respond to these issues.
  • Japanese Patent Publication No. 3190500 describes a process of compressing the saturation in the direction of the origin for each hue so as to be within the color reproduction range.
  • the present invention has been made in view of the above circumstances, and an object of the present invention is to provide an imaging system and an image processing program capable of performing color reproduction that is not unnatural and easily controlling color reproducibility.
  • Another object of the present invention is to provide an imaging system and an image processing program that can perform high-speed processing at low cost with a small amount of calculation. Disclosure of the invention
  • An imaging system is an imaging system for converting a primary color signal or a complementary color signal from an imaging system into a gray scale and outputting the converted color signal, wherein the color signal is a luminance signal, a hue signal, and a saturation signal.
  • Correction coefficient calculating means for calculating a saturation correction coefficient; a first maximum chroma value in the color space for the luminance signal from the color space converting means and a hue signal from the color space converting means; Maximum saturation calculation means for calculating a luminance signal converted by the conversion means and a second maximum saturation value in the color space with respect to the hue signal from the color space conversion means; and the first maximum saturation value And the second maximum saturation value Based on the Kiirodorido correction coefficient is obtained by anda saturation correction means for performing correction for the luminance signal.
  • An imaging system is an imaging system for converting a color signal of a primary color system or a color signal of a complementary color system from an imaging system into a gray scale and outputting the converted color signal.
  • Color space conversion means for converting a signal into a color space composed of three signals of chroma signals, gradation conversion means for performing gradation conversion on the luminance signal, and a hue signal within a predetermined range.
  • Correction coefficient calculating means for calculating a hue correction coefficient for correcting the hue signal and calculating a saturation correction coefficient for correcting the chroma signal for the hue signal within a predetermined range; A first maximum saturation value in the color space for the luminance signal from the color space conversion means and the hue signal from the color space conversion means, a luminance signal converted by the gradation conversion means, and the hue correction; Maximum saturation calculating means for calculating a second maximum saturation value in the color space with respect to the hue signal corrected by the coefficient; and a first maximum saturation value and a second maximum saturation value.
  • the saturation signal based on the saturation correction coefficient and , A saturation correction means for performing correction for those provided with the.
  • an imaging system is an imaging system for converting a primary color system color signal or a complementary color system color signal from an imaging system into a gray scale and outputting the converted color signal.
  • a color space conversion means for converting a signal into a color space composed of three signals of a saturation signal, a gradation conversion means for performing a gradation conversion on the luminance signal, and a correction for the saturation signal
  • a first correction coefficient calculating means for calculating a first saturation correction coefficient for performing the hue signal, and a hue correction coefficient for correcting the hue signal within the predetermined range and a predetermined hue correction coefficient.
  • a second correction coefficient calculating means for calculating a second saturation correction coefficient for correcting the saturation signal with respect to the hue signal in the color signal;
  • Saturation correction for correcting the saturation signal based on the second maximum saturation value for the hue signal corrected by the correction coefficient and the first saturation correction coefficient and the second saturation correction coefficient. Means. .
  • An imaging system is the imaging system according to the first to third inventions, wherein the color space conversion means uses a YCbCr color space or a CIELab color space as a color space. is there.
  • An imaging system is the imaging system according to the first aspect, wherein the correction coefficient calculating unit calculates a chroma correction coefficient based on an edge intensity value calculated from the luminance signal; Highlight cyan means for obtaining a saturation correction coefficient based on a luminance signal, and saturation emphasis means for obtaining a saturation correction coefficient based on the hue signal are provided.
  • An imaging system according to a sixth aspect is the imaging system according to the third aspect, wherein the first correction coefficient calculating means obtains a first saturation correction coefficient based on an edge intensity value calculated from the luminance signal. At least one of chroma suppress means, highlight cyan means for obtaining a first saturation correction coefficient based on the luminance signal, and saturation emphasis means for obtaining a first saturation correction coefficient based on the hue signal .
  • An imaging system is the imaging system according to the first to third aspects, wherein the maximum saturation calculating means relates a luminance signal and a maximum saturation value with respect to a plurality of predetermined hue planes.
  • Recording means for recording a function to be attached; searching means for searching the nearest two sets of hue planes adjacent to the hue signal from a plurality of hue planes recorded in the recording means; Extracting means for extracting from the recording means two functions relating to the two sets of hue planes searched by the step; and two sets of maximum chroma values based on the two sets of functions extracted by the extracting means and the luminance signal.
  • a calculating means for calculating, and interpolating means for obtaining a maximum chroma value for the hue signal by interpolation from the two sets of maximum chroma values.
  • An imaging system is the imaging system according to the seventh aspect, wherein the recording unit is configured to determine, for each of the plurality of predetermined hue planes, a luminance signal equal to or more than a predetermined luminance value and a maximum chroma value. , A low luminance function relating a luminance signal equal to or less than a predetermined luminance value and a maximum chroma value, and the predetermined luminance value.
  • An imaging system is the imaging system according to the seventh aspect, wherein the recording means includes at least one of a linear function, a polynomial function, a power function, and a spline function as the function. The one that records one.
  • An imaging system is the imaging system according to the seventh aspect, wherein the recording means includes, as the plurality of predetermined hue planes, red, green, blue, cyan, magenta, and yellow hue planes. Is included. '
  • An imaging system is the imaging system according to the first to third aspects, wherein the maximum saturation calculating means records a maximum saturation value in the color space for a luminance signal and a hue signal. It is configured to have the table means described above.
  • An imaging system is the imaging system according to the first or second aspect, wherein the saturation correction unit includes a first maximum saturation value and a second maximum saturation value.
  • Ratio calculating means for calculating a ratio of the color signal, multiplying means for multiplying the chroma signal by the ratio and the chroma correction coefficient, and the chroma signal multiplied by the ratio and chroma correction coefficient by the multiplying means. the above And limiting means for imposing restrictions so as not to deviate from the second maximum saturation value.
  • An imaging system is the imaging system according to the third invention, wherein the saturation correction means calculates a ratio between the first maximum saturation value and the second maximum saturation value.
  • Multiplying means for multiplying the chroma signal by the ratio, the first chroma correction coefficient, and the second chroma correction coefficient; and Limiting means for imposing a limit so that the saturation signal multiplied by the saturation correction coefficient and the second saturation correction coefficient does not deviate from the second maximum saturation value. is there.
  • An imaging system is the imaging system according to the twelfth or thirteenth aspect, wherein the limiting means is configured such that the saturation signal from the multiplying means represents the second maximum saturation value. When there is a deviation, the color saturation signal is replaced with the second maximum color saturation value.
  • An imaging system is the imaging system according to the twelfth or thirteenth aspect, wherein the limiting means is such that the saturation signal from the multiplying means is less than the second maximum saturation value And a non-linear compression means for converting the saturation signal to a value between the second maximum saturation value and the threshold value when the threshold value exceeds a predetermined threshold value.
  • An image processing program converts a computer from a primary color signal or a complementary color signal to a signal in a color space composed of three signals of a luminance signal, a hue signal, and a saturation signal.
  • Color space conversion means for performing tone conversion on the luminance signal; correction coefficient calculation means for calculating a saturation correction coefficient for performing correction on the saturation signal; The first maximum chroma value in the color space for the luminance signal from the conversion means and the hue signal from the color space conversion means, the luminance signal converted by the gradation conversion means, and the color space conversion means
  • Maximum saturation calculation means for calculating a second maximum saturation value in the color space for the hue signal of the first hue signal, the first maximum saturation value, the second maximum saturation value, and the saturation correction coefficient Correction based on the above saturation signal
  • An image processing program converts a computer from a primary color signal or a complementary color signal to a signal in a color space composed of three signals of a luminance signal, a hue signal, and a saturation signal.
  • Color space conversion means for converting the luminance signal into gradation data, and calculating a hue correction coefficient for correcting the hue signal for the hue signal within a predetermined range.
  • Correction coefficient calculating means for calculating a saturation correction coefficient for correcting the saturation signal with respect to the hue signal within a fixed range; a luminance signal from the color space conversion means; The first maximum chroma value in the color space for the hue signal, the luminance signal converted by the gradation conversion means and the hue signal corrected by the hue correction coefficient in the color space.
  • Maximum saturation calculating means for calculating the maximum saturation value of the second, the correction of the saturation signal based on the first maximum saturation value, the second maximum saturation value, and the saturation correction coefficient This is an image processing program that functions as a saturation correction unit.
  • An image processing program converts a computer from a color signal of a primary color system or a color signal of a complementary color system to a signal of a color space composed of three signals of a luminance signal, a hue signal, and a saturation signal.
  • Color space conversion means for converting the luminance signal; gradation conversion means for performing gradation conversion on the luminance signal; first correction coefficient for calculating a first saturation correction coefficient for correcting the saturation signal Calculating means for calculating a hue correction coefficient for correcting the hue signal with respect to the hue signal within a predetermined range, and a second means for correcting the chroma signal with respect to the hue signal within a predetermined range.
  • a second correction coefficient calculating means for calculating a saturation correction coefficient of the first color saturation value in the color space with respect to the luminance signal from the color space conversion means and the hue signal from the color space conversion means.
  • Brightness converted by the above tone conversion means Maximum saturation calculating means for calculating a second maximum saturation value in the color space for the signal and the hue signal corrected by the hue correction coefficient, the first maximum saturation value and the second maximum saturation value
  • An image processing program functioning as saturation correction means for performing correction on the saturation signal based on a saturation value, the first saturation correction coefficient, and the second saturation correction coefficient.
  • FIG. 1 is a block diagram illustrating a configuration of an imaging system according to a first embodiment of the present invention.
  • FIG. 2 is a diagram for explaining correction of a saturation signal in a YCbCr color space in the first embodiment.
  • FIG. 3 is a block diagram illustrating a configuration of a maximum saturation calculating unit according to the first embodiment.
  • FIG. 4 is a diagram for explaining modeling of a maximum saturation value in a YCbCr space in the first embodiment. '
  • FIG. 5 is a diagram illustrating various coefficients in a correction coefficient calculation unit according to the first embodiment.
  • FIG. 6 is a block diagram illustrating a configuration of a saturation correction unit according to the first embodiment.
  • FIG. 7 is a flowchart showing a process of correcting a saturation signal by an image processing program in the first embodiment.
  • FIG. 8 is a block diagram illustrating a configuration of an imaging system according to a second embodiment of the present invention.
  • FIG. 9 is a diagram for explaining adjustment of a specific color in the second embodiment.
  • FIG. 10 is a block diagram showing a configuration of a maximum saturation calculating section in the second embodiment.
  • FIG. 11 is a diagram for describing modeling of a maximum saturation value in a Lab space in the second embodiment.
  • FIG. 12 is a diagram showing a weighting function used in the limiting unit of the saturation correcting unit in the second embodiment.
  • FIGS. 1 to 7 show a first embodiment of the present invention.
  • FIG. 1 is a block diagram showing the configuration of an imaging system.
  • FIG. 2 shows correction of a saturation signal in a YCbCr color space.
  • Fig. 3 is a block diagram showing the configuration of the maximum saturation calculator,
  • Fig. 4 is a diagram illustrating the modeling of the maximum saturation value in the YCbCr space, and
  • Fig. 5 is a correction coefficient.
  • FIG. 6 is a block diagram showing a configuration of a saturation correction unit, and
  • FIG. 7 is a flowchart showing a correction process of a saturation signal by an image processing program.
  • the imaging system includes a lens system 1, a CCD 2, an AZD converter 3, an image buffer 4, an interpolation unit 5, a work buffer 6, a color conversion unit 7,
  • the tone correction unit 8, the maximum saturation calculation unit 9, the edge calculation unit 10, the correction coefficient calculation unit 11, the saturation enhancement ROM 12, the chroma suppression ROM 13, and the high It includes a ROM 14 for light cyan, a saturation correction sound 15, an inverse color conversion section 16, an output section 17, and a control section 18.
  • the lens system 1 is for forming a subject image.
  • the CCD 2 is for photoelectrically converting an optical subject image formed by the lens system 1 and outputting an electrical image signal, and is configured as a single-chip color image sensor. .
  • the AZD transformation 3 converts an analog image signal output from the CCD 2 into a digital signal.
  • the image buffer 4 stores the digital image data output from the A / D converter 3. This is temporarily stored.
  • the interpolator 5 converts the single-plate image data stored in the image buffer 4 into three-plate image data by interpolating using a known interpolation method.
  • the work buffer 6 temporarily stores the image data of the three boards interpolated by the interpolation unit 5.
  • the color conversion unit 7 is a color space conversion means, which converts the image data of the three plates stored in the working buffer 6 into signals of a predetermined color space, and calculates luminance, hue, and saturation. It is.
  • the tone correction unit 8 is a tone conversion unit that corrects a luminance signal in the color space signal converted by the color conversion unit 7 based on a predetermined tone conversion characteristic. .
  • the maximum saturation calculation unit 9 is a maximum saturation calculation unit, and includes a first maximum saturation value for a luminance signal and a hue signal at the time of input from the color conversion unit 7, and a gradation correction unit. The second maximum saturation value for the luminance signal subjected to gradation correction and the hue signal at the time of input according to 8 is calculated.
  • the edge calculation section 10 receives an input luminance signal from the color conversion section 7 and extracts an edge component.
  • the saturation emphasis ROM 12 stores a saturation emphasis coefficient (see FIG. 5 (C)) which is a saturation correction coefficient corresponding to the hue.
  • the above-mentioned chroma suppress ROM 13 stores a chroma suppress coefficient (see FIG. 5 (A)), which is a saturation correction coefficient corresponding to the edge strength.
  • the above-described highlight cyan ROM 14 stores a highlight cyan coefficient (see FIG. 5 (B)) which is a saturation correction coefficient corresponding to a luminance value.
  • the correction coefficient calculation unit 11 refers to the saturation enhancement ROM 12, the chroma suppression ROM 13, and the highlight cyan ROM 14, and calculates the edge calculated by the edge calculation unit 10.
  • a correction coefficient for correcting the chroma signal is calculated based on the intensity, and the luminance and the hue from the color conversion unit 7.
  • the saturation correction unit 15 is a saturation correction unit, and corrects a saturation signal using the first maximum saturation value and the second maximum saturation value from the maximum saturation calculation unit 9.
  • the correction coefficient is calculated by multiplying the correction coefficient and the correction coefficient calculated by the correction coefficient calculation unit 11 by the saturation signal from the color conversion unit 7. .
  • the color inverse conversion section 16 performs conversion into a YCbCr signal based on the luminance signal and the hue signal from the gradation correction section 8 and the saturation signal from the saturation correction section 15. , And also converts it to an RGB signal.
  • the output unit 17 outputs the RGB image data converted by the color inverse conversion unit 16 for recording and storing the image data in, for example, a memory card.
  • the control unit 18 includes the interpolation unit 5, the color conversion unit 7, the gradation correction unit 8, the maximum saturation calculation unit 9, the edge calculation unit 10, the correction coefficient calculation unit 11, the saturation correction unit 15,
  • the control means is bidirectionally connected to the color inverse conversion section 16 and the output section 17, and is a control means for integrally controlling the imaging system including these, and is constituted by, for example, a microcomputer.
  • a video signal captured by the CCD 2 via the lens system 1 is converted to a digital signal by the A / D converter 3 and transferred to the image buffer 4.
  • a single-plate primary color CCD conforming to the NTSC color television system is assumed as the CCD in the imaging system.
  • the video signal in the image buffer 4 is transferred to the interpolation unit 5 under the control of the control unit 18, subjected to known interpolation processing, and transferred to the working buffer 6 as an RGB three-chip signal.
  • the video signal in the working buffer 6 is transferred to the color conversion unit 7 under the control of the control unit 18 and converted into a signal in a predetermined color space.
  • the YCbCr color space is assumed as the color space, and the conversion from the RGB signal to the YCbCr color space is performed based on the following Equation 1.
  • the color conversion unit 7 calculates a luminance signal V, a hue signal H, and a saturation signal C in the YCbCr color space based on the following equation (2).
  • the luminance signal V since the luminance signal V is equivalent to Y in the YCbCr color space, the luminance signal will be represented by Y in the following.
  • the luminance signal, the hue signal, and the saturation signal at the time of input are each represented by Y. , H. , C.
  • the hue signal H org are transferred to the gradation correction unit 8.
  • the gradation correction unit 8 generates a luminance signal Y based on a predetermined gradation conversion characteristic. To obtain the luminance signals Y and ra , and transfer them to the maximum saturation calculating section 9 and the color inverse converting section 16 respectively.
  • the tone correction unit 8 further outputs the hue signal H to the color inverse conversion unit 16. Also transfer.
  • the maximum saturation calculator 9 further receives the input luminance signal Y org and the input hue signal H from the color converter 7. And receive the transfer.
  • the maximum saturation calculator 9 calculates the luminance signal Yorg and the hue signal H at the time of input.
  • the first maximum chroma value ma XC org and the second maximum chroma value ma XC tra thus calculated by the maximum chroma calculating section 9 are transferred to the chroma correcting section 15.
  • the edge calculation unit 10 receives the luminance signal Y when input from the color conversion unit 7. , And performs edge extraction processing using a known Laplacian or the like, and transfers the edge strength value to the correction coefficient calculation unit 11.
  • the correction coefficient calculation unit 11 also serves as a correction coefficient calculation unit, a first correction coefficient calculation unit, a second correction coefficient calculation unit, a chroma suppression unit, a highlight reduction unit, and a saturation enhancement unit.
  • a correction coefficient k for chroma suppression processing is calculated with reference to the chroma suppression ROM 13.
  • the chroma suppression process is a process of multiplying a saturation signal by a correction coefficient from 0 to 1 according to edge strength in order to reduce false colors generated at an edge portion.
  • FIG. 5 (A) shows the chroma according to the wedge intensity stored in advance in the above-mentioned chroma-suppressing ROM 13 which also serves as the correction coefficient calculating means, the first correction coefficient calculating means, and the chroma-suppressing means.
  • FIG. 7 is a diagram showing a correction coefficient (chroma suppression coefficient) k.
  • the highlight cyan process is a process of multiplying a saturation signal by a correction coefficient from 0 to 1 according to a brightness value in order to reduce a false color generated in a high brightness portion.
  • FIG. 5 (B) shows the correction coefficient of the saturation according to the luminance value stored in advance in the highlight cyan ROM 14 which also serves as the correction coefficient calculating means, the first correction coefficient calculating means, and the highlight cyan means.
  • FIG. 7 is a diagram showing a number of illite cyan coefficients) k 2 .
  • the correction coefficient calculation unit 11 calculates a correction coefficient k used for the saturation enhancement process based on the control of the control unit 18.
  • the correction coefficient k used for the saturation emphasis processing can be calculated by various means. In the present embodiment, a means for performing different emphasis for each hue is used. In response to this, the correction coefficient calculation unit 11 calculates the hue signal H transferred from the color conversion unit 7. using rs, with reference to the saturation enhancement for R OM 1 2, calculates a correction coefficient k 3.
  • FIG. 5 (C) shows the saturation correction coefficient corresponding to the hue stored in advance in the saturation emphasis ROM 12 which also serves as the correction coefficient calculation means, the first correction coefficient calculation means, and the saturation emphasis means.
  • FIG. 3 is a diagram illustrating (saturation enhancement coefficient) k.
  • the saturation enhancement coefficient k 3 is a coefficient that varies an appropriate value depending on the color, in the illustrated example, although varied between 1-2, but is not limited thereto.
  • the characteristics shown in Fig. 5 (A) to Fig. 5 (C) are assigned to the chroma suppression ROM13, highlight cyan ROM14, and saturation emphasis ROM12. Each of them is stored in advance, and is read out as needed by the correction coefficient calculation unit 11.
  • the saturation correction section 15 calculates the first maximum saturation value ma C and the second maximum saturation value max C tra from the maximum saturation calculation section 9 and the chroma suppression coefficient k ls high from the correction coefficient calculation section 11.
  • the light cyan coefficient k and the saturation enhancement coefficient k are received, and the saturation signal C is received from the color conversion unit 7.
  • the saturation correction unit 15 sets the first maximum saturation value ma XC. 3 ⁇ 4 a second maximum chroma value ma xC, by using the ra, tone-converted luminance signal Y, the correction coefficient k c to the luminance signal for the ra, calculated as shown in the following Equation 3 .
  • the saturation correction unit 15 multiplies the correction coefficient kc calculated in this way and each correction coefficient kkk 3 transferred from the correction coefficient calculation unit 11 by the saturation signal C 0 from the color conversion unit 7. As a result, the corrected saturation signal Ctra is calculated.
  • the corrected saturation signal Clra is further subjected to an inverse color conversion by the saturation correction section 15 after an upper limit is imposed so as not to deviate from the second maximum saturation value ma XC, ra. Transferred to part 16.
  • the color inverse conversion section 16 receives the luminance signal Y, ra and the hue signal H transferred from the gradation correction section 8. And a saturation signal C, ra transferred from the saturation correction unit 15, and calculates a YCbCr signal as shown in the following Expression 4.
  • the color inverse converter 1316 further converts the YCbCr signal into an RGB signal using the following Expression 5 and transfers the signal to the output unit 17.
  • the output unit 17 outputs the RGB signal output from the color inverse conversion unit 16 for recording and storing it on a memory card or the like.
  • YCb brightness and hue in C r color space is determined (shown, luminance signal Y org and the hue signal H input signal "given as 3 ⁇ 4, chroma signal of the input signal at this time is a C org Has become. ) And the luminance signal Y. And hue signal H.
  • the maximum saturation value ma C or B available within the range of rs .
  • ⁇ , C) (Y org, H or 8 , C org) A line segment obtained by extending the line segment connecting the second point in the direction of the second point and YC b C r The value of C at the point where the outline of the color space intersects.
  • the hue is constant (that is, the hue signal H 0 output from the color conversion unit 7 is substantially unchanged at the time when it is input to the color inverse conversion unit 16), and only the luminance signal is changed from Y to Y, r » If the chroma signal Clra in the case where the ratio is corrected so that the ratio to the maximum chroma value is constant, natural color reproduction can be obtained. '
  • the saturation signal C lra for obtaining natural color reproduction should satisfy the following relationship.
  • the correction coefficient kc shown in Equation 3 is used as the saturation signal C.
  • rs By multiplying rs , it is possible to perform a correction accompanying a change in the brightness signal.
  • the maximum saturation calculation unit 9 includes an adjacent hue plane search unit 21, a function extraction unit 22, a function recording ROM 23, a saturation calculation unit 24, a saturation interpolation unit 25, Is configured.
  • the adjacent hue plane search unit 21 receives the hue signal H from the color conversion unit 7. This is a search means for searching for two sets of hues adjacent to from the function recording ROM 23 described later.
  • the function extracting unit 22 is an extracting unit that reads out parameters and the like of functions corresponding to the two sets of hues from the adjacent hue plane searching unit 21 from a function recording ROM 23 described later.
  • the function recording ROM 23 is recording means in which parameters of a function for modeling the maximum saturation values of a plurality of hue planes in the YCbCr space are stored in advance.
  • the above-mentioned saturation calculating section 24 receives the luminance signal Y from the above-mentioned color converting section 7 or the above-mentioned gradation correcting section 8. This is a calculating means for calculating the maximum saturation value for the two sets of hues based on the luminance signals Y, ra from the CPU and the parameters from the function extracting unit 22.
  • the saturation interpolation unit 25 calculates the hue signal H from the color conversion unit 7 using the maximum saturation values for the two hues calculated by the saturation calculation unit 24. This is an interpolation means which is obtained by interpolating the maximum chroma value for the image data and transferring it to the above-mentioned chroma correction section 15.
  • the control unit 18 is bidirectionally connected to the adjacent hue plane search unit 21, the saturation calculation unit 24, and the saturation capture unit 25, and controls these. .
  • FIG. 4 (A) to 4 (F) show red (R), magenta (Ma), blue (B), cyan (Cy), green (G), and yellow (Ye) in the YCbCr color space.
  • Fig. 4 (G) shows the arrangement of each hue plane on the CbCr plane
  • Fig. 4 (H) shows the cross section of the chroma signal C and the luminance signal Y on each hue plane.
  • FIG. 9 is a diagram for explaining calculation of a maximum saturation value ma XC by the following method.
  • Luminance T i (i R, Ma, B, Cy, G, Y e) corresponding to the maximum saturation value on each hue plane (Ma in the subscripts in the figure, Ma is M, Cy is C, Y e is abbreviated as Y, etc.).
  • the threshold as a threshold, the maximum chroma value maxCi is modeled by a high-luminance function for the portion where the luminance Y is greater than or equal to the luminance Ti, and the luminance Y is The part where the luminance T is less than or equal to the following is modeled using a function for low luminance. Note that the function for high luminance and the function for low luminance take the same maximum chroma value max C i at the luminance T i. At this time, a linear function as shown in the following Expression 6 is used in the YCbCr color space as a function for the maximum chroma value max C.
  • the function recording ROM 23 stores a hue H i, a luminance T i as a threshold, parameters aw , ⁇ ,... For a high luminance function, and parameters a husband, ⁇ elle for a low luminance function, respectively. It is stored in advance.
  • Function extraction unit 22 the luminance Tj corresponding from the function recording ROM 23 to the two sets of hue, T k and parameters a beta hj of the function for the high brightness, a hk, hk and parameters a function for low brightness ij, ⁇ , j, a, k ,] 3 n and are extracted and transferred to the saturation calculating section 24.
  • the saturation calculator 24 calculates the parameters and the like from the function extractor 22 and the luminance signal Y from the color converter 7. Alternatively , based on the luminance signal Y tra from the tone correction unit 8 and the maximum saturation value ma XC for the two sets of hue signals H j and H k. ”, Max C. k or max C traj, ma
  • the subsequent processing is performed on the luminance signal Y from the color conversion unit 7. And the luminance signal Y tra from the gradation correction unit 8, so that two sets of maximum chroma values are indicated as max XC ′′ and max C k .
  • the maximum chroma values ma XC ′′ and max C k calculated by the chroma calculator 24 are transferred to the chroma interpolator 25.
  • Chroma interpolation unit 2 under the control of the control unit 1 8, the maximum saturation value max C j, with a max C k, the hue signal H from the color conversion section 7.
  • the maximum saturation value ma XC for is calculated by interpolation according to the following equation 7, as shown in FIG.
  • the hue is H ⁇ > H. it is assumed that the relationship of rg> H k.
  • the calculation of the maximum saturation value by the above equation 7 is based on the luminance signal Y from the color conversion unit 7. Is performed on the luminance signal Y tra from the gradation correction unit 8, so that the total is performed twice, whereby the first maximum chroma value ma XC 03 ⁇ 4 and the second maximum saturation value max Cra are calculated.
  • the saturation correction section 15 includes a ratio calculation section 31, a multiplication section 32, and a restriction section 33.
  • the ratio calculator 31 calculates the first maximum chroma value max C transferred from the chroma interpolator 25 of the maximum chroma calculator 9.
  • the ratio calculating means calculates the correction coefficient kc as shown in Equation 3 based on the second maximum saturation value max Clra .
  • the multiplying unit 32 divides the correction coefficient kc calculated by the ratio calculating unit 31 with the correction coefficients kk 2 and k 3 from the correction coefficient calculating unit 11 by using the saturation signal C from the color converting unit 7. .
  • the limiting section 33 also serves as a limiting section, a replacing section, and a non-linear compression section, and the saturation signal Ctra calculated by the multiplication section 32 is calculated by the second saturation calculation section 9 calculated by the maximum saturation calculating section 9.
  • the maximum saturation value max C lra is limited so as not to exceed, and the limited saturation signals C and ra are transferred to the color inverse conversion unit 16.
  • the limiting unit 3 3 chroma signal is multiplied by various coefficients by the multiplying portion 3 2 C, if ra deviates the second maximum chroma value max C tra, ⁇ It is provided with a replacement means for replacing the degree signal C lra with the second maximum saturation value ma XC lra .
  • the limiting section 33 sets the saturation signal Ctra multiplied by various coefficients by the multiplying section 32 as described above. if it exceeds a predetermined threshold value less than the second maximum chroma value max C tra, converts the ⁇ degree signal C lra to a value between the second maximum chroma value max C tra and the threshold value It may be configured to include non-linear compression means.
  • control unit 18 is bidirectionally connected to the ratio calculation unit 31, the multiplication unit 32, and the restriction unit 33, and controls these.
  • processing is performed by hardware, but the present invention is not limited to this, and processing can be performed by software.
  • the video signal output from the CCD 2 is left as unprocessed Raw data, and filter information and image size information are added to the raw data as header information.
  • the Raw data to which the header information is added may be output to a processing device such as a computer, and the processing device may process the raw data by using separate software.
  • step Sl a video signal composed of Raw data, and header information including information such as filter information and image size information are read.
  • the color signals of the single plate read as raw data are interpolated to generate three color signals (step S2).
  • the three color signals are converted into a luminance signal, a hue signal, and a saturation signal (Step S3).
  • the luminance signal is converted based on a predetermined gradation conversion characteristic, the converted luminance signal is transferred to step S5 described later, and the converted luminance signal and the hue signal at the time of input are described later. Transfer to step S9 (step S4).
  • edge intensity is extracted from the luminance signal at the time of input, and is transferred to the next step S7 (step S6).
  • the correction coefficient kc shown in equation 3 above is calculated, and based on the edge strength from step S6 above, a function as shown in FIG. chroma suppression coefficient k, and the high light cyan coefficient k 2 by a function as shown in Figure 5 (B) based on the luminance signal from the step S 3, view on the basis of the color signal from the step S 3 5 by ( saturation emphasis coefficient k 3 by a function as shown in C), is calculated respectively, and transfers to the next step S 8 (step S 7).
  • step S7 The various saturation coefficients calculated in step S7 are multiplied by the saturation signal from step S3, and the corrected saturation signal deviates from the second maximum saturation value maXCtra. After imposing an upper limit, the process transfers to the next step S9 (step S8).
  • step S9 using the luminance signal after conversion from the above step S4 and the hue signal at the time of input, and the saturation signal after correction from the above step S8, The calculation is performed, and processing for returning to the original color signal is performed (step S9).
  • the processed signal is output (step S10), and this series of processing ends.
  • a single-color CCD of a primary color system is assumed.
  • the present invention is not limited to this, and the present invention can be applied to an imaging system using a two-color CCD or a three-color CCD.
  • the color system may be a complementary color system.
  • a linear function is used as a function of the maximum chroma value recorded in the function recording ROM 23, the present invention is not limited to this, and a polynomial function, a power function and a power function may be used depending on the required accuracy.
  • Arbitrary functions such as numbers and spline functions can be used.
  • hue planes of red (R), magenta (M a), blue (B), cyan (C y), green (G), and yellow (Y e) were used as hue planes to be functionalized.
  • R magenta
  • B blue
  • C y cyan
  • G green
  • Y e yellow
  • the present invention is not limited to this.
  • the picture creation processing and correction are performed so as not to cause unnaturalness in the color signal. Processing can be performed, and the degree of freedom in painting is increased, and the desired image can be obtained.
  • the saturation signal correction processing and the enhancement processing are integrated and processed, high-speed processing can be performed while reducing costs.
  • the saturation signal is corrected so that the ratio to the theoretical characteristic value of the reproduction range becomes constant, so that natural color reproduction can be obtained.
  • the maximum chroma value is stored in the form of a function, the capacity of the recording ROM can be reduced, and cost can be reduced.
  • the maximum saturation value is converted into a function using a linear function. Since the function is separated into one for high luminance and one for low luminance based on the change of, the chroma signal can be corrected with high accuracy with relatively few parameters.
  • the saturation signal is restricted so as not to deviate from the second maximum saturation value, the corrected saturation signal does not deviate from the color gamut, and the image is not broken. Can be obtained.
  • the saturation signal exceeding the second maximum saturation value is replaced with the second maximum saturation value, the processing is simplified, and the processing speed is reduced while reducing the cost. Processing can be performed.
  • FIGS. 8 to 12 show a second embodiment of the present invention
  • FIG. FIG. 9 is a block diagram illustrating the configuration of a specific color
  • FIG. 10 is a block diagram illustrating a configuration of a maximum saturation calculating unit
  • FIG. 11 is a block diagram of a maximum saturation value in a Lab space.
  • FIG. 12 is a diagram illustrating a weighting function used in the limiting unit of the saturation correction unit.
  • the color conversion unit 7 includes a color conversion LUT 41 serving as a color space conversion unit and a saturation correction unit 15. Are replaced with a hue / saturation correction unit 43 as a saturation correction unit, and the color inverse conversion unit 16 is replaced with a color inverse conversion LUT 44, respectively.
  • the specific color as the correction coefficient calculation unit and the second correction coefficient calculation unit The adjustment ROM 42 has been added.
  • Other basic configurations are the same as those of the imaging system of the first embodiment described above.
  • the color conversion LUT 41 receives the video signal transferred from the work buffer 6 and converts the RGB signal into a CIEL ab color space, and also outputs a luminance signal V, a hue signal H, Calculates the saturation signal C, and transfers the calculation results to the tone correction unit 8, the maximum saturation calculation unit 9, the edge calculation unit 10, the correction coefficient calculation unit 11, and the hue saturation correction unit 43, respectively. It has become.
  • the specific color adjustment ROM 42 stores a hue correction coefficient for a specific color in advance, and stores the hue correction coefficient in the maximum saturation calculation section 9, the correction coefficient calculation section 11, the hue saturation correction section. Each part is forwarded to 43.
  • the correction coefficient calculator 11 calculates the respective correction coefficients kk 2) k and also calculates the correction coefficient k for performing the saturation correction of the specific color based on the specific color adjustment ROM 42. It is supposed to.
  • the hue / saturation correction unit 43 calculates a correction coefficient k c based on the first maximum saturation value max C and the second maximum saturation value ma C tra transferred from the maximum saturation calculation unit 9.
  • the correction coefficients kk 2 and kk from the correction coefficient calculator 11 are also used to convert each correction coefficient to the saturation signal C from the color conversion LUT 41. Irodoridoshin No. C of correction and the upper limit is imposed by multiplying the, calculates the ra, hue corrected for specific color hue signals H from the color conversion LUT 41 on the basis of the specific color adjustment ROM42 The signal H lra is also calculated, and the calculation results are transferred to the color inverse conversion LUT 44.
  • the color inverse transform LUT 44 includes a luminance signal Y tra from the gradation correction unit 8 and the hue / saturation.
  • An RGB signal is obtained based on the saturation signals C and ra and the hue signal H lra from the correction unit 43, and the result is transferred to the output unit 17.
  • the control unit 18 is also bidirectionally connected to the color conversion LUT 41, the hue / saturation correction unit 43, and the color inverse conversion LUT 44, and controls these.
  • the video signals stored in the work buffer 6 are sequentially transferred to the color conversion LUT 41 under the control of the control unit 18. '
  • the color conversion LUT 41 is a look-up table created based on the well-known CMS (Color Management System) technology. And the subsequent processing of calculating the luminance signal V, hue signal H, and saturation signal C based on the following equation (8).
  • tan- 1 indicates the inverse function of tan, as described above.
  • the luminance signal V is equivalent to L in the Lab color space
  • the luminance signal will be represented by L in the following.
  • the luminance signal, hue signal, and saturation signal at the time of input are set to L respectively. 3 ⁇ 4 , H. , C.
  • the luminance signal L from the color conversion LUT 41. Is transferred to the gradation correction section 8.
  • the gradation correction unit 8 generates a luminance signal L based on a predetermined gradation conversion characteristic. To obtain the luminance signals L and ra , and transfer them to the maximum chroma calculation unit 9 and the color inverse conversion LUT 44, respectively.
  • the maximum saturation calculator 9 further calculates the input luminance signal L from the color conversion LUT 41. And the input hue signal H. And the transfer of the hue correction coefficient for the specific color from the specific color adjustment ROM 42.
  • FIG. 9A is a diagram illustrating an example of a characteristic for correcting a hue of a specific color recorded in the specific color adjustment ROM.
  • the area for the hue of a specific color (specifically, skin color, sky blue, etc.) Only the hue area other than the specific color is adjusted so that the hue area is not affected.
  • the maximum saturation calculating section 9 uses the characteristic shown in FIG. 9A stored in the specific color adjustment ROM 42 to calculate the hue signals H and ra detected from the hue signal H 03 ⁇ 4. Is calculated.
  • the maximum saturation calculator 9 calculates the luminance signal L at the time of input. And hue signal H.
  • the second maximum chroma value ma XC tra for the gradation-converted luminance signals L and ra and the hue signal H lra corrected for the specific color.
  • the first maximum saturation value maxCOTg and the second maximum saturation value maXC , ra calculated by the maximum saturation calculation section 9 are transferred to the hue saturation correction section 43.
  • the correction coefficient calculation unit 11 performs correction for chroma suppression processing based on the edge strength value transferred from the edge calculation unit 10 and the chroma suppression ROM 13 similarly to the first embodiment described above.
  • the correction coefficient k3 is calculated.
  • the correction coefficient calculator 11 calculates the luminance signal ⁇ . , Hue signal H. Based on rg and the characteristics shown in FIG. 9B stored in the specific color adjustment ROM 42, a correction coefficient ks for performing the saturation correction of the specific color is calculated.
  • FIG. 9B is a diagram illustrating an example of a characteristic for correcting a saturation signal of a specific color recorded in the specific color adjustment ROM 42.
  • the value of the correction coefficient k s for the saturation signal is larger than 1 only in the hue region of the specific color, and the correction coefficient k s is set to 1 so that it is not affected.
  • a plurality of curves showing such characteristics are prepared according to the luminance value, and different correction coefficients are used for each luminance level.
  • the correction coefficients interpolated from the characteristic curves of the adjacent luminance levels may of course be used.
  • the correction coefficient ks for the particular color of the chroma signals described above, to the correction coefficient k 3 for use in chroma enhancement may be prepared in consideration, or only the hue of a specific color, Irodoridokyo it may be the correction coefficient k 3 for use in the tone process to the 1.
  • the correction coefficients k k2, k 3, and k s calculated by the correction coefficient calculation unit 11 in this way are transferred to the hue / saturation correction unit 43.
  • the hue / saturation correcting section 43 obtains the first maximum chroma value max C transferred from the maximum chroma calculating section 9. And the second maximum saturation value max C lra , and calculates a correction coefficient k to the saturation signal for the gradation-converted luminance signals L and ra, and calculates the calculated k and the correction coefficient k, kkk and the chroma signal C. To obtain the corrected chroma signal C.
  • the saturation signal C tra corrected by the hue / saturation correction unit 43 is a second maximum saturation value max
  • the hue saturation correction unit 43 calculates also the hue signal H tra the hue signal corrected about the specific color based on the specific color adjustment ROM 42, the color of the calculated hue signal H lra Transfer to the reverse conversion LUT44.
  • the color inversion LUT 44 is a lookup table for obtaining an RGB signal from a luminance signal, a hue signal, and a saturation signal.
  • the luminance signal Y lra from the gradation correction unit 8 and the saturation signal from the hue / saturation correction unit 43 are provided.
  • An RGB signal is obtained based on C, ra, and the hue signal H, and the obtained RGB signal is transferred to the output unit 17.
  • the output unit 17 outputs the RGB signal output from the color inverse conversion LUT 44 for recording and storing in a memory card or the like.
  • the maximum saturation calculating section 9 includes a saturation reading section 51 and a maximum saturation LUT 52.
  • the maximum saturation LUT 52 is a table means, and stores information on the maximum saturation value max C in the Lab color space.
  • the saturation reading section 51 receives the luminance signal L from the color conversion LUT 41. And hue signal H.
  • the second maximum saturation value maxC lra corresponding to the hue signals H, ra obtained by correcting rg and the luminance signals L, r chassisfrom the tone correction unit 8 is obtained from the maximum saturation LUT 52. It is read out and transferred to the hue / saturation correction unit 43.
  • control unit 18 is bidirectionally connected to the saturation reading unit 51 to perform control.
  • FIG. 11 is a diagram showing information on the maximum saturation value maxC in the Lab color space recorded in the maximum saturation LUT 52.
  • Figure 11 (A) to Figure 11 (F) show the red (R), magenta (Ma), blue (B), cyan (Cy), green (G), and yellow (Ye) colors in the Lab color space.
  • FIG. 11 (G) is a diagram showing a cross section of a saturation signal C and a luminance signal L on each hue surface
  • FIG. 11 (G) is a diagram showing an arrangement of each hue surface.
  • Luminance T i (i R, Ma, B, Cy, G, Y e) corresponding to the maximum saturation value in each hue plane (Ma in the subscripts in the figure, Ma is M, Cy is C, Y e is abbreviated to Y or the like as appropriate.)
  • the threshold as a threshold, the maximum saturation value maxC i is modeled with a high-brightness function for the portion where the brightness L is greater than or equal to the brightness T i, The part where L is less than or equal to the luminance Ti is modeled using a function for low luminance. Note that the function for high luminance and the function for low luminance take the same maximum chroma value max C i at the luminance T i.
  • a cubic function as shown in the following Expression 9 is used in the Lab color space as a function for the maximum chroma value max C.
  • the saturation reading unit 51 calculates the maximum saturation value ma XC i corresponding to the above-described hue signal and luminance signal from the color conversion LUT 41 and the gradation correction unit 8.
  • the maximum saturation LUT 52 is read out with reference to the maximum saturation LUT 52, and the read maximum saturation value maxCi is transferred to the hue / saturation correction unit 43.
  • the second maximum saturation signal C, ra does not deviate from the second maximum saturation value maxC, ra , as in the first embodiment described above. It is performed a process of replacing the chroma ma xC tra, as mentions the embodiment of the first, not limited thereto.
  • the function f (C) as shown in FIG. 12 may be used to perform non-linear compression.
  • This function f (C) indicates that the same saturation signal as the input is output until the saturation signal is in the range of 0 to C1, but the saturation signal exceeds C1 and falls in the range of C1 to C2.
  • C 1! It has become one with the characteristics that are compacted into a non-linear to the output range of na xC tra.
  • C l and C 2 are thresholds given as predetermined constants, and have a relationship of C 1 and ma XC, ra ⁇ C 2.
  • the second maximum chroma value ma xC tra Since all the exceeded saturation signals are not uniformly replaced by the second maximum saturation values max C and ra , it is possible to improve the reproducibility of the high-saturation gradation.
  • the processing is performed by hardware.
  • the present invention is not limited to this, and the processing can be performed by software in the same manner as in the first embodiment described above. is there.
  • the video signal output from the CCD 2 is left as unprocessed Raw data, and filter information and image size information are added as header information to the raw data.
  • the raw data to which the header information has been added may be output to a processing device such as a computer, and the processing device may process the raw data using separate software.
  • the CIELab color space was used as the color space, but the present invention is not limited to this. Since the color conversion LUT 41 uses a table, it is possible to use the YCbCr color space or any other color space as in the first embodiment described above. At this time, instead of using a table, it is also possible to adopt a configuration using a function as shown in Expression 9 as in the first embodiment described above.
  • the second embodiment almost the same effects as those of the first embodiment can be obtained, and only the luminance signal is operated independently of the saturation signal and the like in the color space.
  • the saturation signal correction processing, the specific color adjustment processing for flesh color, sky blue, etc., and the enhancement processing are integrated into one processing, high-speed processing can be performed while reducing costs. It is possible.
  • the saturation signal is corrected so that the ratio of the reproduction range to the theoretical characteristic value is constant, so that natural color reproduction can be obtained.
  • a CIELab color space that can obtain high-precision luminance signals and color signals is used, high-quality images can be obtained.
  • the maximum saturation value is stored in the form of a table, it is possible to calculate the maximum saturation value at high speed.
  • the maximum chroma is calculated using a cubic function separated into high and low luminance. Since the saturation value is calculated and the calculated maximum saturation value is stored in the form of a table, the saturation signal can be corrected with higher accuracy with relatively few parameters.
  • the saturation signal is restricted so as not to deviate from the second maximum saturation value, the corrected saturation signal does not deviate from the color reproduction range, and an image without failure is obtained. Obtainable.
  • the saturation signal exceeding the second maximum saturation value is replaced with the second maximum saturation value, the processing is simplified and the cost is reduced. High-speed processing can be performed.
  • the saturation signal Crushing can be reduced, and the reproducibility of gradation can be improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Image Communication Systems (AREA)
  • Processing Of Color Television Signals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)
  • Picture Signal Circuits (AREA)
  • Color Television Image Signal Generators (AREA)

Abstract

CCD(2)からの原色系または補色系の色信号を輝度,色相,彩度で構成される色空間の信号へ変換する色変換部(7)と、輝度信号に対して階調変換を行う階調補正部(8)と、彩度信号を補正するための彩度補正係数を算出する補正係数算出部(11)と、色変換部(7)からの輝度信号および色相信号に対する第1の最大彩度値と色変換部(7)からの色相信号および階調補正部(8)により変換された輝度信号に対する第2の最大彩度値とを算出する最大彩度算出部(9)と、第1および第2の最大彩度値に基づき補正係数を算出しこの補正係数と補正係数算出部(11)からの彩度補正係数とに基づいて彩度信号を補正する彩度補正部(15)と、を備えた撮像システム。

Description

明 細 書 撮像システム、 画像処理プログラム 技術分野
この発明は、 カラー映像信号の色信号処理に係り、 特に輝度信号の階調変換に対応して 彩度信号を補正することにより高品位な映像信号を得る撮像システム、 画像処理プログラ ムに関する。 背景技術
現在のデジタルスチルカメラやビデオカメラなどの撮像系は、 補色系のカラーフィルタ または原色系のカラーフィルタを前面に配置した単板 C C Dを用いたものが主流となって いる。
このような撮像系においては、 C C Dからの色信号に、 WB (ホワイトバランス) 処理 や補間処理がなされ、 その後にエッジ強調処理, 彩度強調処理, .階調補正処理などの絵作 り処理がなされて出力される。
また、 上記補間処理においてエッジ部に発生し得る偽色を低減するためのクロマサブレ ス処理や、 C C Dの分光感度特性の差異により高輝度部に発生し得る偽色を低減するため のハイライトシアン処理なども併せて行われる。
上述したような絵作り処理は、 C C Dからの色信号に対して直接行われる場合もあるが、 通常は別の色空間に変換して輝度信号と色信号とを分離してから処理することが多い。 こ の場合には、 彩度強調処理などにより色信号が色再現域を逸脱する可能性があったり、 輝 度信号のみを階調変換したときに色信号が不自然になる可能性があったりするために、 こ れらへの対応が課題となる。
. 色再現域を逸脱する課題に対しては、 例えば特許公報第 2 5 6 7 2 1 4号に、 各色相毎 に彩度のヒストグラムを求めて、 このヒストグラムが色再現域に収まるようにヒストグラ ムの全体形状を圧縮する処理が記載されている。
また、 特許公報第 3 1 9 0 0 5 0号には、 色再現域に収まるように、 各色相毎に彩度を 原点方向へ圧縮する処理が記載されている。
一方、 色信号が不自然になる課題に対しては、 例えば特開 2 0 0 1 - 2 3 8 1 2 9号公 報に、.輝度信号を変化させたときに色再現域の理論特性値に対する比率が一定となるよう に色信号を補正する技術が記載されている。
上記特許公報第 2 5 6 7 2 1 4号に記載されたようなヒストグラムの全体形状を圧縮す る技術や、 上記特許公報第 3 1 9 0 0 5 0号に記載されたような彩度を原点方向へ圧縮す る技術を用いると、 画像全体として色再現域を逸脱することはなくなるが、 処理後の色再 現性に関しては処理対象の画像に依存することになつてしまう。 このために、 彩度強調な どの意図した絵作り処理が反映されなくなり、 色再現性の制御が困難になるという課題が める。
また、 上記特開 2 0 0 1— 2 3 8 1 2 9号公報に記載されたような色再現域の理論特性 値に対する比率を一定とする技術を用いれば、自然な色再現が得られるが、計算量が多く、 処理時間が長くなってしまうとともに、 装置全体のコストが高くなるという課題がある。 本発明は上記事情に鑑みてなされたものであり、 不自然でない色再現を行い得るととも に色再現性を容易に制御し得る撮像システム、 画像処理プログラムを提供することを目的 としている。
さらに本発明は、 計算量が少なく高速な処理を低コストに行い得る撮像システム、 画像 処理プログラムを提供することを目的としている。 発明の開示
第 1の発明による撮像システムは、 撮像系からの原色系の色信号または補色系の色信号 を階調変換して出力する撮像システムであって、 上記色信号を輝度信号, 色相信号, 彩度 信号の三信号から構成される色空間の信号へ変換する色空間変換手段と、 上記輝度信号に 対して階調変換を行う階調変換手段と、 上記彩度信号に対して補正を行うための彩度補正 係数を算出する補正係数算出手段と、 上記色空間変換手段からの輝度信号およぴ該色空間 変換手段からの色相信号に対する上記色空間における第 1の最大彩度値と上記階調変換手 段により変換された輝度信号および上記色空間変換手段からの色相信号に対する該色空間 における第 2の最大彩度値とを算出する最大彩度算出手段と、 上記第 1の最大彩度値と上 記第 2の最大彩度値と上記彩度補正係数とに基づいて上記彩度信号に関する補正を行う彩 度補正手段と、 を具備したものである。
また、 第 2の発明による撮像システムは、 撮像系からの原色系の色信号または補色系の 色信号を階調変換して出力する撮像システムであって、上記色信号を輝度信号,色相信号, 彩度信号の三信号から構成される色空間の信号へ変換する色空間変換手段と、 上記輝度信 号に対して階調変換を行う階調変換手段と、 所定範囲内の上記色相信号に対して該色相信 号を補正するための色相補正係数を算出するとともに所定範囲内の該色相信号に対して上 記彩度信号を補正するための彩度補正係数を算出する補正係数算出手段と、 上記色空間変 換手段からの輝度信号および該色空間変換手段からの色相信号に対する上記色空間におけ る第 1の最大彩度値と上記階調変換手段により変換された輝度信号および上記色相補正係 数により補正された色相信号に対する該色空間における第 2の最大彩度値とを算出する最 大彩度算出手段と、 上記第 1の最大彩度値と上記第 2の最大彩度値と上記彩度補正係数と に基づいて上記彩度信号に関する補正を行う彩度補正手段と、 を具備したものである。 さらに、 第 3の発明による撮像システムは、 撮像系からの原色系の色信号または補色系 の色信号を階調変換して出力する撮像システムであって、 上記色信号を輝度信号, 色相信 号, 彩度信号の三信号から構成される色空間の信号へ変換する色空間変換手段と、 上記輝 度信号に対して階調変換を行う階調変換手段と、 上記彩度信号に対して補正を行うための 第 1の彩度補正係数を算出する第 1の補正係数算出手段と、 所定範囲内の上記色相信号に 対して該色相信号を補正するための色相補正係数を算出するとともに所定範囲内の該色相 信号に対して上記彩度信号を補正するための第 2の彩度補正係数を算出する第 2の補正係 数算出手段と、 輝度信号および色相信号が与えられたときに上記色空間における最大彩度 値を算出する最大彩度算出手段と、 上記色空間変換手段からの輝度信号およぴ該色空間変 換手段からの色相信号に対する第 1の最大彩度値と上記階調変換手段により変換された輝 度信号および上記色相補正係数により補正された色相信号に対する第 2の最大彩度値と上 記第 1の彩度補正係数と上記第 2の彩度補正係数とに基づいて上記彩度信号に関する補正 を行う彩度補正手段と、 を具備したものである。 .
第 4の発明による撮像システムは、 上記第 1から第 3の発明による撮像システムにおい て、 上記色空間変換手段が、 色空間として、 Y C b C r色空間または C I E L a b色空 間を用いるものである。
第 5の発明による撮像システムは、 上記第 1の発明による撮像システムにおいて、 上記 補正係数算出手段が、 上記輝度信号から算出されたエッジ強度値に基づき彩度補正係数を 求めるクロマサプレス手段と、 上記輝度信号に基づき彩度補正係数を求めるハイライトシ アン手段と、 上記色相信号に基づき彩度補正係数を求める彩度強調手段と、 の内の少なく とも 1つを有して構成されたものである。 第 6の発明による撮像システムは、 上記第 3の発明による撮像システムにおいて、 上記 第 1の補正係数算出手段が、 上記輝度信号から算出されたェッジ強度値に基づき第 1の彩 度補正係数を求めるクロマサプレス手段と、 上記輝度信号に基づき第 1の彩度補正係数を 求めるハイライトシアン手段と、 上記色相信号に基づき第 1の彩度補正係数を求める彩度 強調手段と、 の内の少なくとも 1つを有して構成されたものである。
第 7の発明による撮像システムは、 上記第 1力 ら第 3の発明による撮像システムにおい て、 上記最大彩度算出手段が、 複数の所定の色相面に関して輝度信号と最大彩度値とを関 係付ける関数を記録している記録手段と、 上記記録手段に記録されている複数の色相面の 中から上記色相信号に隣接する最近傍の 2組の色相面を探索する探索手段と、 上記探索手 段により探索された 2組の色相面に関する関数を上記記録手段から抽出する抽出手段と、 上記抽出手段により抽出された 2組の関数と上記輝度信号とに基づいて 2組の最大彩度値 を算出する算出手段と、 上記 2組の最大彩度値から上記色相信号に関する最大彩度値を補 間して求める補間手段と、 を有して構成されたものである。
第 8の発明による撮像システムは、 上記第 7の発明による撮像システムにおいて、 上記 記録手段が、 上記複数の所定の色相面の各々に関して、 所定の輝度値以上の輝度信号と最 大彩度値とを関係付ける高輝度用関数と、 所定の輝度値以下の輝度信号と最大彩度値とを 関係付ける低輝度用関数と、 上記所定の輝度値と、 を記録しているものである。
第 9の発明による撮像システムは、 上記第 7の発明による撮像システムにおいて、 上記 記録手段が、 上記関数として、 1次式関数と、 多項式関数と、 べき乗関数と、 スプライン 関数と、 の内の少なくとも 1つを記録しているものである。
第 1 0の発明による撮像システムは、 上記第 7の発明による撮像システムにおいて、 上 記記録手段が、 上記複数の所定の色相面として、 赤, 緑, 青, シアン, マゼンタ, 黄の各 色相面を含むものである。 '
第 1 1の発明による撮像システムは、 上記第 1から第 3の発明による撮像システムにお いて、 上記最大彩度算出手段が、 輝度信号および色相信号に対する上記色空間における最 大彩度値を記録したテーブル手段を有して構成されたものである。
第 1 2の発明による撮像システムは、 上記第 1または第 2の発明による撮像システムに おいて、 上記彩度補正手段が、 上記第 1の最大彩度値と上記第 2の最大彩度値との比率を 算出する比率算出手段と、 上記彩度信号に上記比率および上記彩度補正係数を乗算する乗 算手段と、 上記乗算手段により比率および彩度補正係数を乗算された上記彩度信号が上記 第 2の最大彩度値を逸脱しないように制限を課す制限手段と、 を有して構成されたもので める。
第 1 3の発明による撮像システムは、 上記第 3の発明による撮像システムにおいて、 上 記彩度補正手段が、 上記第 1の最大彩度値と上記第 2の最大彩度値との比率を算出する比 率算出手段と、 上記彩度信号に上記比率と上記第 1の彩度補正係数と上記第 2の彩度補正 係数とを乗算する乗算手段と、 上記乗算手段により比率と第 1の彩度補正係数と第 2の彩 度補正係数とを乗算された上記彩度信号が上記第 2の最大彩度値を逸脱しないように制限 を課す制限手段と、 を有して構成されたものである。
第 1 4の発明による撮像システムは、 上記第 1 2または第 1 3の発明による撮像システ ムにおいて、 上記制限手段が、 上記乗算手段からの上記彩度信号が上記第 2の最大彩度値 を逸脱した場合に、 該彩度信号を上記第 2の最大彩度値に置き換える置換手段を有して構 成されたものである。
第 1 5の発明による撮像システムは、 上記第 1 2または第 1 3の発明による撮像システ ムにおいて、 上記制限手段が、 上記乗算手段からの上記彩度信号が上記第 2の最大彩度値 未満の所定の閾値を超えた場合に、 該彩度信号を上記第 2の最大彩度値と上記閾値との間 の値に変換する非線形圧縮手段を有して構成されたものである。
第 1 6の発明による画像処理プログラムは、 コンピュータを、 原色系の色信号または補 色系の色信号を輝度信号, 色相信号, 彩度信号の三信号から構成される色空間の信号へ変 換する色空間変換手段、 上記輝度信号に対して階調変換を行う階調変換手段、 上記彩度信 号に対して補正を行うための彩度補正係数を算出する補正係数算出手段、 上記色空間変換 手段からの輝度信号およぴ該色空間変換手段からの色相信号に対する上記色空間における 第 1の最大彩度値と上記階調変換手段により変換された輝度信号および上記色空間変換手 段からの色相信号に対する該色空間における第 2の最大彩度値とを算出する最大彩度算出 手段、 上記第 1の最大彩度値と上記第 2の最大彩度値と上記彩度補正係数とに基づいて上 記彩度信号に関する補正を行う彩度補正手段、 として機能させる画像処理プログラムであ る。
第 1 7の発明による画像処理プログラムは、 コンピュータを、 原色系の色信号または補 色系の色信号を輝度信号, 色相信号, 彩度信号の三信号から構成される色空間の信号へ変 換する色空間変換手段、 上記輝度信号に対して階調変換を行う階調変換手段、 所定範囲内 の上記色相信号に対して該色相信号を捕正するための色相捕正係数を算出するとともに所 定範囲内の該色相信号に対して上記彩度信号を補正するための彩度補正係数を算出する補 正係数算出手段、 上記色空間変換手段からの輝度信号およぴ該色空間変換手段からの色相 信号に対する上記色空間における第 1の最大彩度値と上記階調変換手段により変換された 輝度信号およぴ上記色相補正係数により補正された色相信号に対する該色空間における第
2の最大彩度値とを算出する最大彩度算出手段、 上記第 1の最大彩度値と上記第 2の最大 彩度値と上記彩度補正係数とに基づいて上記彩度信号に関する補正を行う彩度補正手段、 として機能させる画像処理プログラムである。
第 1 8の発明による画像処理プログラムは、 コンピュータを、 原色系の色信号または補 色系の色信号を輝度信号, 色相信号, 彩度信号の三信号から構成される色空間の信号へ変 換する色空間変換手段、 上記輝度信号に対して階調変換を行う階調変換手段、 上記彩度信 号に対して補正を行うための第 1の彩度補正係数を算出する第 1の補正係数算出手段、 所 定範囲内の上記色相信号に対して該色相信号を補正するための色相補正係数を算出すると ともに所定範囲内の該色相信号に対して上記彩度信号を補正するための第 2の彩度補正係 数を算出する第 2の補正係数算出手段、 上記色空間変換手段からの輝度信号および該色空 間変換手段からの色相信号に対する上記色空間における第 1の最大彩度値と上記階調変換 手段により変換された輝度信号および上記色相補正係数により補正された色相信号に対す る該色空間における第 2の最大彩度値とを算出する最大彩度算出手段、 上記第 1の最大彩 度値と上記第 2の最大彩度値と上記第 1の彩度補正係数と上記第 2の彩度補正係数とに基 づいて上記彩度信号に関する補正を行う彩度補正手段、 として機能させる画像処理プログ ラムである。 図面の簡単な説明
図 1は、 本発明の第 1の実施形態における撮像システムの構成を示すプロック図。 図 2は、 上記第 1の実施形態において、 Y C b C r色空間における彩度信号の補正を説 明するための図。
図 3は、 上記第 1の実施形態における最大彩度算出部の構成を示すプロック図。
図 4は、 上記第 1の実施形態において、 Y C b C r空間の最大彩度値のモデル化を説明 するための線図。 '
図 5は、 上記第 1の実施形態の補正係数算出部における各種の係数を示す線図。
図 6は、 上記第 1の実施形態における彩度補正部の構成を示すプロック図。 図 7は、 上記第 1の実施形態において、 画像処理プログラムによる彩度信号の補正処理 を示すフローチヤ一ト。
図 8は、 本発明の第 2の実施形態における撮像システムの構成を示すプロック図。
図 9は、 上記第 2の実施形態において、 特定色の調整を説明するための線図。
図 1 0は、 上記第 2の実施形態における最大彩度算出部の構成を示すブロック図。
図 1 1は、 上記第 2の実施形態において、 L a b空間の最大彩度値のモデル化を説明す るための 図。
図 1 2は、 上記第 2の実施形態において、 彩度補正部の制限部で用いる重み関数を示す 線図。 発明を実施するための最良の形態
以下、 図面を参照して本発明の実施の形態を説明する。
図 1から図 7は本発明の第 1の実施形態を示したものであり、 図 1は撮像システムの構 成を示すブロック図、 図 2は Y C b C r色空間における彩度信号の補正を説明するための 図、 図 3は最大彩度算出部の構成を示すブロック図、 図 4は Y C b C r空間の最大彩度値 のモデル化を説明するための線図、図 5は補正係数算出部における各種の係数を示す線図、 図 6は彩度補正部の構成を示すプロック図、 図 7は画像処理プログラムによる彩度信号の 補正処理を示すフローチヤ一トである。
この撮像システムは、 図 1に示すように、 レンズ系 1と、 C C D 2と、 AZD変換器 3 と、 画像用バッファ 4と、 補間部 5と、 作業用パッファ 6と、 色変換部 7と、 階調補正部 8と、 最大彩度算出部 9と、 エッジ算出部 1 0と、 補正係数算出部 1 1と、 彩度強調用 R OM 1 2と、 クロマサプレス用 R OM 1 3と、 ハイライトシアン用 R OM 1 4と、 彩度補 正音 1 5と、色逆変換部 1 6と、出力部 1 7と、制御部 1 8と、 を有して構成されている。 上記レンズ系 1は、 被写体像を結像するためのものである。
上記 C C D 2は、 このレンズ系 1により結像される光学的な被写体像を光電変換して電 気的な画像信号を出力するためのものであり、 単板式のカラー撮像素子として構成されて いる。
上記 AZD変^^ 3は、 この C C D 2から出力されるアナ口グの画像信号をデジタル信 号へ変換するものである。
上記画像用バッファ 4は、 この A/D変換器 3から出力されたデジタルの画像データを 一時的に記憶するものである。
上記補間部 5は、 この画像用バッファ 4に記憶された単板の画像データを、 公知の補間 方法で補間することにより、 三板の画像データに変換するものである。
上記作業用バッファ 6は、 この補間部 5により補間された三板の画像データを一時的に 記憶するものである。
上記色変換部 7は、 色空間変換手段であって、 この作業用バッファ 6に記憶された三板 の画像データを所定の色空間の信号へ変換するとともに、 輝度, 色相, 彩度を算出するも のである。
上記階調補正部 8は、 階調変換手段であって、 この色変換部 7により変換された色空間 の信号の内の輝度信号を、 所定の階調変換特性に基づいて補正するものである。
上記最大彩度算出部 9は、 最大彩度算出手段であって、 上記色変換部 7からの入力時の 輝度信号およぴ色相信号に対する第 1の最大彩度値と、 上記階調補正部 8により階調補正 された輝度信号およぴ入力時の色相信号に対する第 2の最大彩度値と、 を算出するもので ある。
上記エッジ算出部 1 0は、 上記色変換部 7から入力時の輝度信号を受けてエッジ成分を 抽出するものである。
上記彩度強調用 R OM 1 2は、 色相に応じた彩度の補正係数である彩度強調係数 (図 5 ( C ) 参照) を記憶するものである。
上記クロマサプレス用 R OM 1 3は、 エッジ強度に応じた彩度の補正係数であるクロマ サプレス係数 (図 5 (A) 参照) を記憶するものである。
上記ハイライトシアン用 R OM 1 4は、 輝度値に応じた彩度の補正係数であるハイライ トシアン係数 (図 5 (B ) 参照) を記憶するものである。
上記補正係数算出部 1 1は、 これら彩度強調用 R OM 1 2 , クロマサプレス用 R OM 1 3 , ハイライトシアン用 R OM 1 4を参照して、 上記エッジ算出部 1 0により算出された エッジ強度と、 上記色変換部 7からの輝度および色相と、 に基づき、 彩度信号を補正する ための補正係数を算出するものである。
上記彩度補正部 1 5は、 彩度補正手段であって、 上記最大彩度算出部 9からの第 1の最 大彩度値および第 2の最大彩度値を用いて彩度信号を補正するための捕正係数を算出し、 この補正係数と上記補正係数算出部 1 1により算出された補正係数とを上記色変換部 7か らの彩度信号に乗算して補正を行うものである。 上記色逆変換部 1 6は、 上記階調補正部 8からの輝度信号および色相信号と、 上記彩度 補正部 15からの彩度信号と、 に基づいて、 YCb C r信号への変換を行い、 さらには R GB信号への変換を行うものである。
上記出力部 1 7は、 この色逆変換部 16により変換された RGBの画像データを、 例え ばメモリカード等に記録して保存するために出力するものである。
上記制御部 18は、 上記補間部 5, 色変換部 7, 階調補正部 8, 最大彩度算出部 9, ェ ッジ算出部 10, 捕正係数算出部 1 1, 彩度補正部 15, 色逆変換部 1 6, 出力部 1 7に 双方向に接続されていて、 これらを含むこの撮像システムを統合的に制御する制御手段で あり、 例えばマイクロコンピュータ等により構成されている。
次に、 図 1に示したような撮像システムにおける信号の流れについて説明する。
上記レンズ系 1を介して C C D 2により撮影された映像信号は、 A/D変換器 3によつ てデジタル信号へ変換されて画像用バッファ 4へ転送される。
なお、 本実施形態においては、 撮像系における CCDとして、 NT SCカラーテレビジ ョン方式に準拠した単板原色 CCDを想定している。
上記画像用バッファ 4内の映像信号は、制御部 18の制御に基づき補間部 5へ転送され、 公知の補間処理がなされて RGBの三板信号として作業用バッファ 6へ転送される。
この作業用バッファ 6内の映像信号は、 制御部 18の制御に基づき色変換部 7へ転送さ れ、 所定の色空間の信号へ変換される。 本実施形態においては、 色空間として YCb C r 色空間を想定しており、 RGB信号から YC b C r色空間への変換は、 次の数式 1に基づ いて行われる。
[数式 1]
Y = 0 29900 R+0 58700 G+ 0 1 1400 B
C b =一 0 16874 R- 0 331 26 G+ 0 50000 B
C r = 0 50000 R- 0 41869 G— 0 081 31 B
さらに、 色変換部 7は、 YCb C r色空間における輝度信号 V, 色相信号 H, 彩度信号 Cを、 次の数式 2に基づいてそれぞれ算出する。
[数式 2 ]
V = Y
H= t a n"1 (C b/C r )
C= (Cb 2 + C r 2) 1/2 ここに、 t a η—'は t a nの逆関数を示している。
この数式 2に示すように、 輝度信号 Vは Y C b C r色空間の Yと等価であるために、 以 下では輝度信号を Yにより示すことにする。 また、 入力時 (つまり色変換部 7から出力さ れる時点) の輝度信号, 色相信号, 彩度信号を、 それぞれ Y 。 , H 。 , C。 として示す。 上記色変換部 7からの輝度信 Y。 と色相信号 H orgとは、 階調補正部 8 へ転送される。 階調補正部 8は、 所定の階調変換特性に基づき輝度信号 Y 。 を変換して輝度信号 Y ,ra を求め、 最大彩度算出部 9と色逆変換部 1 6とへそれぞれ転送する。 階調補正部 8は、 該 色逆変換部 1 6に対しては、 さらに色相信号 H。 も転送する。
最大彩度算出部 9は、 さらに、 上記色変換部 7から、 入力時の輝度信号 Y org と、 入力 時の色相信号 H。 と、 の転送を受ける。
最大彩度算出部 9は、 入力時の輝度信号 Y orgおよび色相信号 H。 に対する彩度信号の 第 1の最大彩度値 m a x C 。rs と、 階調変換された輝度信号 Y traおよび入力時の色相信号 H„r8に対する彩度信号の第 2の最大彩度値 m a X C traと、 を算出する。
こうして最大彩度算出部 9により算出された第 1の最大彩度値 m a X C orgおよび第 2 の最大彩度値 m a X C traは、 彩度補正部 1 5へ転送される。
エッジ算出部 1 0は、 色変換部 7から入力時の輝度信号 Y 。 の転送を受けて、 公知の ラプラシアンなどを用いたエッジ抽出処理を行い、 エッジ強度値を補正係数算出部 1 1 へ 転送する。
補正係数算出部 1 1は、 補正係数算出手段、 第 1の補正係数算出手段、 第 2の補正係数 算出手段、 クロマサプレス手段、 ハイライトシァン手段、 彩度強調手段を兼ねたものであ り、 制御部 1 8の制御に基づき、 上記エッジ算出部 1 0から転送されたエッジ強度値を用 いて、 クロマサプレス用 R OM 1 3を参照し、 クロマサプレス処理のための補正係数 k 】 を算出する。 このクロマサプレス処理は、 エッジ部に生じる偽色を低減するために、 エツ ジ強度に応じて 0〜 1までの補正係数を彩度信号に乗算する処理である。
図 5 (A) は、 捕正係数算出手段、 第 1の補正係数算出手段、 クロマサプレス手段を兼 ねた上記クロマサプレス用 R OM 1 3に予め記憶されているェッジ強度に応じた彩度の補 正係数 (クロマサプレス係数) k ,を示す線図である。
このクロマサプレス係数 k ,は、 図示のように、 エッジ強度が一定値以下では k , = 1 となり彩度信号を変化させないが、 エッジ強度が一定値以上になると最初は緩やかに減少 し、 その後はほぼエッジ強度に比例して 0へ向けて減少する係数となっている。 このよう なクロマサプレス係数 k ,によって、 彩度信号は、 エッジ強度に応じて値が減少される。 また、 補正係数算出部 1 1は、 制御部 1 8の制御に基づき、 上記色変換部 7から転送さ れた輝度信号 Y 。 を用いて、 ハイライトシアン用 R OM 1 4を参照し、 ハイライトシァ ン処理のための補正係数 k 2を算出する。 このハイライトシアン処理は、 高輝度部に発生 する偽色を低減するために、 輝度値に応じて 0〜1までの補正係数を彩度信号に乗算する 処理である。
図 5 (B ) は、 捕正係数算出手段、 第 1の補正係数算出手段、 ハイライトシアン手段を 兼ねたハイライトシアン用 R OM 1 4に予め記憶されている輝度値に応じた彩度の補正係 数 レ、イライトシアン係数) k 2を示す線図である。
このハイライトシアン係数 k 2は、 輝度値が一定値以下では k = 1となり彩度信号を 変化させないが、 輝度値が一定値以上になると比較的急激に 0へと減少する係数となって いる。 このようなハイライトシアン係数 k 2によって、 彩度信号は、 輝度値に応じて値が 減少される。
さらに、 補正係数算出部 1 1は、 制御部 1 8の制御に基づき、 彩度強調処理に用いる捕 正係数 k を算出する。 この彩度強調処理に用いる補正係数 k は、 多様な手段により算 出することが可能であるが、 本実施形態においては、 色相毎に異なる強調を行う手段を用 いることにする。 これに応じて、 該補正係数算出部 1 1は、 上記色変換部 7から転送され た色相信号 H。rsを用いて、 彩度強調用 R OM 1 2を参照し、 補正係数 k 3を算出する。 図 5 ( C ) は、 補正係数算出手段、 第 1の補正係数算出手段、 彩度強調手段を兼ねた彩 度強調用 R OM 1 2に予め記憶されている色相に応じた彩度の補正係数 (彩度強調係数) k を示す線図である。
この彩度強調係数 k 3は、 色相に応じて適宜の値を変動する係数となっており、 図示の 例では、 1〜2の間を変動しているが、 これに限るものではない。
図 5 (A) 〜図 5 ( C) に示したような各特性は、 上述したように、 クロマサプレス用 R OM 1 3 , ハイライトシアン用 R OM 1 4 , 彩度強調用 R OM 1 2に予めそれぞれ記憶 されており、 捕正係数算出部 1 1により必要に応じて読み出されるようになつている。 彩度補正部 1 5は、 最大彩度算出部 9から第 1の最大彩度値 m a C および第 2の 最大彩度値 m a x C traを、 補正係数算出部 1 1からクロマサプレス係数 k ls ハイライト シアン係数 k 、 および彩度強調係数 k を、 色変換部 7から彩度信号 C を、 それぞれ 受け取る。 そして彩度補正部 1 5は、 制御部 18の制御に基づき、 第 1の最大彩度値 m a X C 。¾ と第 2の最大彩度値 ma xC ,ra とを用いて、 階調変換された輝度信号 Y ,ra に対する彩度 信号への補正係数 k cを、 次の数式 3に示すように算出する。
[数式 3]
k c— m a X o tra / m a org
彩度補正部 15は、 このように算出した補正係数 k cと、 上記補正係数算出部 1 1から 転送された各補正係数 k k k 3と、 を上記色変換部 7からの彩度信号 C 0 に乗算す ることにより、 補正された彩度信号 Ctraを算出する。
この補正された彩度信号 C lra は、 該彩度補正部 1 5において、 さらに、 上記第 2の最 大彩度値 m a X C ,ra を逸脱しないように上限が課せられた後に、 色逆変換部 16へ転送 される。
色逆変換部 16は、 上記階調補正部 8から転送される輝度信号 Y,raおよび色相信号 H。 と、 上記彩度補正部 1 5から転送される彩度信号 C ,ra と、 に基づいて、 YCbC r信号 を次の数式 4に示すように算出する。
[数式 4]
Figure imgf000014_0001
C b =C • s i n (H org)
C r = C • C O S (H org)
色逆変換咅 1316は、 さらに 次の数式 5を用いて、 YC b C r信号を RGB信号に変換 し、 出力部 17へ転送する。
[数式 5] '
R = Y + 1 40200 C r
G = Y— 0. 34414Cb-0 7141 C r
B=Y+ 1. 77200 C b
出力部 1 7は、 上記色逆変換部 16から出力される RGB信号を、 メモリカード等へ記 録し保存するために出力する。
次に、 図 2を参照して、 YCb C r色空間の外観形状と、 上記数式 3に示した補正係数 k cと、 について説明する。
YCb C r色空間における輝度および色相が定まる (図示の例では、 入力信号の輝度信 号 Y orgおよび色相信号 H„¾として与えられ、 このときの該入力信号の彩度信号は C orgと なっている。) と、 該輝度信号 Y。 および色相信号 H。rsの範囲内で取り得る最大彩度値 m a C orB力疋まる。
この最大彩度値 m a x C。 は、 (Y, Η, C ) = (Υ 。 , 0 , 0 ) の第 1の点と、 (Υ,
Η, C) = (Y org, H or8, C org) の第 2の点とを結んで得られる線分を、 該第 2の点の方 向へ延長して得られる半直線と、 Y C b C r色空間の輪郭外形と、 が交わる点の Cの値と なる。
色相が一定 (つまり、 色変換部 7から出力される色相信号 H 力 色逆変換部 1 6に 入力される時点で実質的に変化していない) で輝度信号のみが Y から Y ,r»へ変換され た場合の彩度信号 C lra は、 最大彩度値に対する比率が一定となるように補正されると、 自然な色再現が得られる。 '
すなわち、 輝度信号 Y tra、 色相信号 H。 が与えられると、 上述したように、 このときの 最大彩度値 m a X C ,raが定まる。 従って、 自然な色再現を得るための彩度信号 C lraは、 次の関係を満たすようにすると良い。
org: IH 3. X org tra . Ώ1 3. X C« tra
すなわち、
C tra = (m a X C tra /m a X C org) X C 。rg
~ k C X org
こうして、 上記数式 3に示した補正係数 k cを彩度信号 C 。rsへ乗算することにより、 輝 度信号の変更に伴う補正を行うことができる。
続いて、 図 3を参照して、 上記最大彩度算出部 9のより詳細な構成の一例について説明 する。
この最大彩度算出部 9は、 隣接色相面探索部 2 1と、 関数抽出部 2 2と、 関数記録用 R OM 2 3と、 彩度算出部 2 4と、 彩度補間部 2 5と、 を有して構成されている。
上記隣接色相面探索部 2 1は、 上記色変換部 7からの色相信号 H。 に隣接する 2組の 色相を後述する関数記録用 R OM 2 3から探索する探索手段である。
上記関数抽出部 2 2は、 この隣接色相面探索部 2 1からの 2組の色相に対応する関数の パラメータ等を後述する関数記録用 R OM 2 3から読み出す抽出手段である。
上記関数記録用 R OM 2 3は、 Y C b C r空間内における複数の色相面の最大彩度値を モデル化する関数のパラメータが予め記憶されている記録手段である。
上記彩度算出部 2 4は、 上記色変換部 7からの輝度信号 Y または上記階調補正部 8 からの輝度信号 Y ,ra と上記関数抽出部 22からのパラメータとに基づいて上記 2組の色 相に関する最大彩度値を算出する算出手段である。
上記彩度補間部 25は、 上記彩度算出部 24により算出された 2組の色相に関する最大 彩度値を用いて上記色変換部 7からの色相信号 H 。 に対する最大彩度値を補間して求め 上記彩度補正部 1 5へ転送する補間手段である。
また、 上記制御部 1 8は、 上記隣接色相面探索部 21、 彩度算出部 24、 彩度捕間部 2 5に対して双方向に接続されており、 これらを制御するようになっている。
ここで、 図 4を参照して、 上記関数記録用 ROM23に記録されている YCb C r色空 間の最大彩度値 ma X Cに関する関数情報について説明する。
図 4 (A) から図 4 (F) は、 YC b C r色空間における赤 (R), マゼンタ (M a ), 青 (B), シアン (Cy), 緑 (G), 黄 (Ye) の各色相面における彩度信号 Cと輝度信 号 Yの断面をそれぞれ示す図、 図 4 (G) は CbC r平面上における各色相面の配置を示 す図、 図 4 (H) は捕間による最大彩度値 ma X Cの算出を説明するための図である。 各色相面における最大の彩度値に対応する輝度 T i ( i =R, Ma, B, Cy, G, Y e) (図中の添え字部分等において、 Maを M、 Cyを C、 Y eを Yなどと適宜省略して いる。) を閾値として、 最大彩度値 ma xC iを、 輝度 Yが輝度 T i以上となる部分につい て高輝度用関数でモデル化するとともに、 輝度 Yが輝度 T ,以下となる部分について低輝 度用関数でモデル化する。 なお、 高輝度用関数と低輝度用関数とは、 輝度 T iにおいて同 一の最大彩度値 ma x C i を取るようになつている。 このとき、 該最大彩度値 ma x Cに 対する関数として、 YCb C r色空間では次の数式 6に示すような 1次関数を用いる。
[数式 6]
ma xCi = a hi Y+i3.,i (Y≥T■)
ma x C i = a r, Y+ j3 ,i (Y≤T
上記関数記録用 ROM 23には、 色相 H i と、 閾値である輝度 T i と、 高輝度用関数の パラメータ a w, β ,.と、 低輝度用関数のパラメータ a„, β„と、 がそれぞれ予め記憶さ れている。
次に、 上記図 3に示したような最大彩度算出部 9の作用について説明する。
上記隣接色相面探索部 21は、 制御部 18の制御に基づき、 上記関数記録用 ROM 23 に記録されている色相信号 H i を読み出して、 読み出した色相信号 H i を上記色変換部 7 からの色相信号 H。 と比較する。 そして、 該隣接色相面探索部 21は、 図 4 (H) に示すように、 該色相信号 H 。 を挟 み込むように隣接する最近傍の 2組の色相信号 Hj, H k ( j , k = R, Ma , B, C y, G, Y e , j ≠ k) を探索して、 これら 2組の色相を関数抽出部 22へ転送する。
関数抽出部 22は、 関数記録用 ROM 23から上記 2組の色相に対応する輝度 Tj, T k と、 高輝度用関数のパラメータ a β hj, a hkhkと、 低輝度用関数のパラメータ a ij, β ,j, a ,k, ]3 n と、 を抽出して、 上記彩度算出部 2 4へ転送する。
彩度算出部 24は、 関数抽出部 2 2からの上記パラメータ等と、 上記色変換部 7からの 輝度信号 Y。 または上記階調補正部 8からの輝度信号 Y tra と、 に基づいて、 2組の色相 信号 H j, H kに関する最大彩度値 m a X C。」, m a x C。 k、 または m a x C traj, ma
C ,ra_kを算出する。
以降の処理は、 色変換部 7からの輝度信号 Y 。 と、 階調補正部 8からの輝度信号 Y tra と、 の何れに対しても共通であるために、 2組の最大彩度値を ma X C 』, ma x C k と して示すこととする。 この彩度算出部 24により算出された最大彩度値 ma X C 』, ma x C kは、 彩度補間部 2 5へ転送される。
彩度補間部 2 5は、 制御部 1 8の制御に基づき、 上記最大彩度値 m a x C j, m a x C k を用いて、 上記色変換部 7からの色相信号 H 。 に対する最大彩度値 m a X Cを、 次の数 式 7に従って、 図 4 (H) に示すように、 補間により算出する。
[数式 7]
m a X C = m a x C j (Η 0 — H k / (H j— H k)
+ ma x C k (Hj - Hcrg) / (Hj— Hk)
なお、 色相は、 H〗 >H。rg >Hkの関係にあるものとする。
上記数式 7による最大彩度値の算出は、 上記色変換部 7からの輝度信号 Y 。 に対して 行われるとともに、 上記階調捕正部 8からの輝度信号 Y tra に対して行われるために、 合 計 2回行われることになり、 これによつて第 1の最大彩度値 ma X C と第 2の最大彩 度値 ma x Craとが算出される。
こうして算出された第 1の最大彩度値 m a X C。rsと第 2の最大彩度値 m a x C traとは、 該彩度捕間部 2 5から上記彩度補正部 1 5へ転送される。
次に、図 6を参照して、上記彩度補正部 15のより詳細な構成の一例について説明する。 上記彩度補正部 15は、 比率算出部 31と、 乗算部 32と、 制限部 33と、 を有して構 成されている。 上記比率算出部 3 1は、 上記最大彩度算出部 9の彩度補間部 2 5から転送された第 1の 最大彩度値 m a x C 。 と第 2の最大彩度値 m a x C lra とに基づき、 上記数式 3に示した ように補正係数 k cを算出する比率算出手段である。
上記乗算部 3 2は、 この比率算出部 3 1により算出された補正係数 k cと上記補正係数 算出部 1 1からの補正係数 k k 2, k 3とを上記色変換部 7からの彩度信号 C。 に乗算 することにより補正された彩度信号 C lraを算出する乗算手段である。
上記制限部 3 3は、 制限手段、 置換手段、 非線形圧縮手段を兼ねており、 この乗算部 3 2により算出された彩度信号 C traが上記最大彩度算出部 9により算出された第 2の最大 彩度値 m a x C lra を越えることのないように制限して、 この制限された彩度信号 C ,ra を 上記色逆変換部 1 6へ転送するものである。 . ここに、上記制限部 3 3は、上記乗算部 3 2により各種の係数を乗算された彩度信号 C ,ra が上記第 2の最大彩度値 m a x C tra を逸脱した場合に、 該彩度信号 C lra を上記第 2の最 大彩度値 m a X C lraに置き換える置換手段を有して構成されている。
なお、 後述する第 2の実施形態において図 1 2を参照して説明するように、 上記制限部 3 3は、 上記乗算部 3 2により各種の係数を乗算された上記彩度信号 C traが上記第 2の 最大彩度値 m a x C tra未満の所定の閾値を超えた場合に、 該彩度信号 C lra を上記第 2の 最大彩度値 m a x C tra と上記閾値との間の値に変換する非線形圧縮手段を有して構成さ れていても良い。
また、 上記制御部 1 8は、 上記比率算出部 3 1、 乗算部 3 2、 制限部 3 3に対して双方 向に接続されており、 これらを制御するようになっている。
なお、上述ではハードウエアにより処理を行うことを前提としていたが、これに限らず、 ソフトウエアによって処理することも可能である。
例えば、 C C D 2から出力される映像信号を未処理のままの R a wデータとしておき、 この R a wデータに、 フィルタ情報や画像サイズ情報などをへッダ情報として付加する。 このへッダ情報が付カ卩された R a wデータをコンピュータ等の処理装置に出力して、 該処 理装置において、 別途のソフトウエアにより処理するようにしても良い。
図 7を参照して、 コンピュータにおいて画像処理プログラムにより彩度信号を補正する 処理の例について説明する。
処理を開始すると、 まず、 R a wデータでなる映像信号と、 フィルタ情報や画像サイズ 情報などの情報を含むヘッダ情報と、 を読み込む (ステップ S l )。 次に、 Rawデータとして読み込んだ単板の色信号を補間処理して、 三板の色信号を生 成する (ステップ S 2)。
そして、上記数式 1と数式 2とに示したように、三板の色信号を、輝度信号, 色相信号, 彩度信号へ変換する (ステップ S 3)。
さらに、 所定の階調変換特性に基づいて輝度信号を変換し、 変換後の輝度信号を後述す るステップ S 5へ転送するとともに、 変換後の輝度信号おょぴ入力時の色相信号を後述す るステップ S 9へ転送する (ステップ S 4)。
続いて、 入力時の輝度信号および色相信号に関する 2組の最大彩度値と、 階調変換され た輝度信号および入力時の色相信号に関する 2組の最大彩度値と、 を上記数式 7に示すよ うに算出して、 後述するステップ S 7へ転送する (ステップ S 5)。
また、 入力時の輝度信号からエッジ強度を抽出して、 次のステップ S 7へ転送する (ス テツプ S 6)。
上記ステップ S 5からの 2組の最大彩度値に基づいて上記数式 3に示した補正係数 k c を算出するとともに、 上記ステップ S 6からのエッジ強度に基づき図 5 (A) に示したよ うな関数によりクロマサプレス係数 k ,を、 上記ステップ S 3からの輝度信号に基づき図 5 (B) に示したような関数によりハイライトシアン係数 k 2を、 上記ステップ S 3から の色相信号に基づき図 5 (C) に示したような関数により彩度強調係数 k 3を、 それぞれ 算出して、 次のステップ S 8へ転送する (ステップ S 7)。
このステップ S 7により算出された各種の補正係数を上記ステツプ S 3からの彩度信号 に乗算して、 さらに、 補正後の彩度信号が上記第 2の最大彩度値 ma X C tra を逸脱しな いように上限を課してから、 次のステップ S 9へ転送する (ステップ S 8)。
そして、 上記ステップ S 4からの変換後の輝度信号および入力時の色相信号と、 上記ス テツプ S 8からの補正後の彩度信号と、 を用いて上記数式 4, 数式 5に示したように演算 を行い、 本来の色信号へ戻す処理を行う (ステップ S 9)。
その後、 処理後の信号を出力して (ステップ S 10)、 この一連の処理を終了する。 なお、 上述では原色系の単板 CCDを前提としていたが、 これに限定されるものではな く、 二板 CCDまたは三板 CCDを用いた撮像系に適用することも可能であるし、 原色系 に限らず補色系であっても構わない。
また、 上記関数記録用 ROM23に記録される最大彩度値の関数として 1次関数を用い たが、 これに限定されるものではなく、 必要となる精度に応じて、 多項式関数, べき乗関 数, スプライン関数などの任意の関数を使用することも可能である。
このとき、 関数化する色相面として、 赤 (R) , マゼンタ (M a ) , 青 (B ), シアン (C y ) , 緑 (G) , 黄 (Y e ) の 6つの色相面を使用したが、 これに限るものでないのは勿論 である。 例えば、 低コスト化を優先するために、 赤 (R) , 青 (B ) , 緑 (G) の 3つの色 相面を使用することも可能であるし、 あるいは高精度化を優先させるために、 上記 6つ色 相面の中間の色相面を加えた 1 2の色相面を使用することも可能であるし、 用途や目的な どに応じて任意の構成をとることができる。
このような第 1の実施形態によれば、 色空間内で輝度信号のみを彩度信号などとは独立 して操作しても、 色信号に不自然さを生じさせないように絵作り処理や補正処理を行うこ とができ、 絵作りに関する自由度が高まって、 希望する画像を得ることが可能となる。 また、 彩度信号の捕正処理と強調処理などとを一体化して処理するようにしたために、 低コスト化を図りながら、 高速処理を行うことが可能となる。
さらに、 階調補正によつて輝度信号が変化したときに、 再現域の理論特性値に対する比 率が一定となるように彩度信号を捕正しているために、自然な色再現を得ることができる。 そして、 変換および逆変換が容易な Y C b C r色空間を使用しているために、 高速かつ 低コストな撮像システムを構築することができる。
加えて、 最大彩度値を関数の形態で保存しているために、 記録用 R OMの容量を低減す ることができ、 低コスト化を図ることが可能となる。
また、 最大彩度値の変化量が大きい赤, 緑, 青, シアン, マゼンタ, 黄の各色相面に関 して 1次関数を使用して該最大彩度値を関数化し、 その際に形状の変化に基づいて関数を 高輝度用と低輝度用とに分離したために、 比較的少ないパラメータで彩度信号を高精度に 補正することが可能となる。
さらに、 彩度信号が第 2の最大彩度値を逸脱しないように制限を課しているために、 各 種補正後の彩度信号が色再現域を逸脱することはなく、 破綻のない画像を得ることができ る。 このときに、 第 2の最大彩度値を越える彩度信号を該第 2の最大彩度値で置換処理す るようにしているために、 処理が単純となり、 低コスト化を図りながら、 高速な処理を行 うことができる。
そして、 彩度信号に関する捕正係数を一括的に算出しているために、 低コスト化を図り ながら高速な処理を行うことが可能となる。
図 8から図 1 2は本発明の第 2の実施形態を示したものであり、 図 8は撮像システムの 構成を示すブロック図、 図 9は特定色の調整を説明するための線図、 図 10は最大彩度算 出部の構成を示すプロック図、 図 1 1は L a b空間の最大彩度値のモデル化を説明するた めの線図、 図 12は彩度補正部の制限部で用いる重み関数を示す線図である。
この第 2の実施形態において、 上述の第 1の実施形態と同様である部分については同一 の符号を付して説明を省略し、 主として異なる点についてのみ説明する。
この第 2の実施形態の撮像システムは、 図 8に示すように、 上述した第 1の実施形態の 構成において、 色変換部 7が色空間変換手段たる色変換 LUT 41に、 彩度補正部 15が 彩度補正手段たる色相彩度補正部 43に、 色逆変換部 16が色逆変換 LUT 44に、 それ ぞれ置換され、 さらに補正係数算出手段であり第 2の補正係数算出手段たる特定色調整用 ROM42が追加されたものとなっている。 その他の基本的な構成は、 上述した第 1の実 施形態の撮像システムと同様である。
上記色変換 LUT41は、 作業用バッファ 6から転送される映像信号を受けて、 RGB 信号から C I E L a b色空間への変換を行うとともに、 該 C I E L a b色空間におけ る輝度信号 V, 色相信号 H, 彩度信号 Cを算出するものであり、 算出結果を上記階調補正 部 8, 最大彩度算出部 9, エッジ算出部 10, 補正係数算出部 1 1, 色相彩度補正部 43 へそれぞれ転送するようになっている。
上記特定色調整用 ROM 42は、 特定色に関する色相補正係数が予め記憶されているも のであり、 該色相補正係数を上記最大彩度算出部 9, 捕正係数算出部 1 1, 色相彩度補正 部 43へそれぞれ転送するようになっている。
なお、上記補正係数算出部 1 1は、上記各補正係数 k k 2) k を算出するとともに、 さらに、上記特定色調整用 ROM 42に基づき特定色の彩度補正を行うための補正係数 k も算出するようになっている。
上記色相彩度捕正部 43は、 最大彩度算出部 9から転送される第 1の最大彩度値 m a x C および第 2の最大彩度値 ma C traに基づき補正係数 k cを算出して、 上記補正係 数算出部 1 1からの補正係数 k k 2, k k も用いて、 各補正係数を上記色変換 L UT41からの彩度信号 C 。 に乗算することにより補正および上限が課せられた彩度信 号 C ,ra を算出するとともに、 上記特定色調整用 ROM42に基づいて上記色変換 LUT 41からの色相信号 H を特定色に関して補正した色相信号 H lraも算出するものであり、 これらの算出結果は、 上記色逆変換 LUT 44へ転送されるようになっている。
上記色逆変換 LUT44は、 上記階調補正部 8からの輝度信号 Y tra と、 上記色相彩度 補正部 43からの彩度信号 C ,raおよび色相信号 Hlraと、 に基づいて、 RGB信号を求め、 その結果を上記出力部 1 7へ転送するものである。
また、 上記制御部 1 8は、 上記色変換 LUT41、 色相彩度補正部 43、 色逆変換 LU T44に対しても双方向に接続されており、 これらを制御するようになっている。
次に、 図 8に示したような撮像システムにおける信号の流れについて説明する。 この撮 像システムにおける信号の流れは、 基本的に上述した第 1の実施形態と同様であるので、 異なる部分についてのみ説明する。
作業用バッファ 6内に記憶されている映像信号は、 制御部 18の制御に基づいて、 色変 換 LUT41へ順次転送される。 '
色変換 LUT41は、 公知の CMS (Color Management System) 技術に基づいて作成 されたルックアップテーブルであり、 RGB信号から C I E L a b色空間への変換を行 う前段の処理と、 さらに該 L a b色空間における輝度信号 V, 色相信号 H, 彩度信号 Cを 次の数式 8に基づいて各算出する後段の処理と、 を一括的に行うものである。
[数式 8 ]
V=L
H= t a n (b/a)
C= ( a 2 + b 2) 1/2
ここに、 t a n—1が t a nの逆関数を示しているのは、 上述と同様である。
この数式 8に示すように、 輝度信号 Vは L a b色空間の Lと等価であるために、 以下で は輝度信号を Lにより示すことにする。また、入力時の輝度信号, 色相信号,彩度信号を、 それぞれ L。¾, H。 , C として示す。
上記色変換 LUT 41からの輝度信号 L。 は、 階調捕正部 8へ転送される。
階調補正部 8は、 所定の階調変換特性に基づき輝度信号 L 。 を変換して輝度信号 L ,ra を求め、 最大彩度算出部 9と色逆変換 LUT 44とへそれぞれ転送する。
最大彩度算出部 9は、 さらに、 上記色変換 LUT41から、 入力時の輝度信号 L。 と、 入力時の色相信号 H 。 との転送を受けるとともに、 上記特定色調整用 ROM42から特 定色に関する色相補正係数の転送を受ける。
図 9 (A) は、 特定色調整用 ROM 42に記録されている特定色の色相を補正するため の特性の一例を示す線図である。
図示のように、 特定色 (具体的な例としては、 肌色や空色など) の色相に対する領域の みが調整されて、 該特定色以外の色相領域は影響を受けることのない特性となっている。 最大彩度算出部 9は、 特定色調整用 R OM 4 2に格納されているこの図 9 (A) に示す ような特性を用いて、 色相信号 H から捕正された色相信号 H ,raを算出する。
そして、 最大彩度算出部 9は、 入力時の輝度信号 L。 および色相信号 H。 に対する第 1の最大彩度値 m a x C 。 と、 階調変換された輝度信号 L ,raおよび特定色に関する補正 がなされた色相信号 H lraに対する第 2の最大彩度値 m a X C traと、 を算出する。
この最大彩度算出部 9により算出された第 1の最大彩度値 m a x C OTgおよぴ第 2の最 大彩度値 m a X C ,raは、 色相彩度補正部 4 3へ転送される。
補正係数算出部 1 1は、 上述した第 1の実施形態と同様に、 エッジ算出部 1 0から転送 されたエッジ強度値およびクロマサプレス用 R OM 1 3に基づいてクロマサプレス処理の ための捕正係数 k ,を、 輝度信号 Y。rgおよびハイライトシアン用 R OM 1 4に基づいてハ イライトシァン処理のための補正係数 k 2を、 色相信号 H 0¾およぴ彩度強調用 R〇 M 1 2 に基づいて彩度強調処理に用いる補正係数 k 3を、 それぞれ算出する。
さらに補正係数算出部 1 1は、 輝度信号 Υ。、 色相信号 H。rg、 および特定色調整用 R O M 4 2に記憶されている図 9 (B ) に示すような特性に基づいて、 特定色の彩度補正を行 うための補正係数 k sを算出する。
図 9 (B ) は、 特定色調整用 R OM 4 2に記録されている特定色の彩度信号を補正する ための特性の一例を示す線図である。
この図 9 (B ) に示す例では、 彩度信号に対する補正係数 k sの値が、 特定色の色相領 域についてのみ 1よりも大きくなっており、 該特定色以外の色相領域は補正係数 k sが 1 となって影響を受けることのないようになつている。 このような特性を示す曲線は、 輝度 値に応じて複数用意されており、輝度レベル毎に異なる補正係数が使用される。このとき、 特性曲線が予め用意されている輝度レベルの中間の輝度レベルについては、 隣接する輝度 レベルの特性曲線から補間された補正係数を使用しても良いのは勿論である。
なお、 上述した特定色の彩度信号に対する補正係数 k sは、 彩度強調処理に用いる補正 係数 k 3を考慮して作成するようにしても良いし、 あるいは、 特定色の色相のみ、 彩度強 調処理に用いる補正係数 k 3を 1とするようにしても構わない。
このようにして補正係数算出部 1 1により算出された補正係数 k k 2, k 3, k sは、 色相彩度補正部 4 3へ転送される。
色相彩度捕正部 4 3は、 最大彩度算出部 9から転送された第 1の最大彩度値 m a x C 。 および第 2の最大彩度値 ma x C lra に基づいて、 階調変換された輝度信号 L ,ra に対する 彩度信号への捕正係数 k を算出し、 算出した k と上記補正係数 k ,, k k k と を彩度信号 C。 に乗算することにより、 補正された彩度信号 C を取得する。
この色相彩度捕正部 43により補正された彩度信号 C traは、 第 2の最大彩度値 ma x
C tra を逸脱することのないよう上記第 1の実施形態と同様に上限が課せられた後に、 上 記色逆変換 LUT 44へ転送される。
また、 上記色相彩度補正部 43.は、 上記特定色調整用 ROM 42に基づいて特定色に関 する色相信号を補正した色相信号 H tra も算出して、 算出した色相信号 H lra を上記色逆変 換 LUT44へ転送する。
色逆変換 LUT44は、 輝度信号, 色相信号, 彩度信号から RGB信号を求めるルック アップテーブルであり、 階調補正部 8からの輝度信号 Y lra と、 色相彩度補正部 43から の彩度信号 C ,raおよび色相信号 H と、 に基づいて RGB信号を求めて、 求めた RGB 信号を出力部 1 7へ転送する。
出力部 17は、 上記色逆変換 LUT44から出力される RGB信号を、 メモリカード等 へ記録し保存するために出力する。
次に、 図 10を参照して、 上記最大彩度算出部 9の構成の一例について説明する。 最大彩度算出部 9は、 彩度読出部 51と、 最大彩度 LUT52と、 を有して構成されて いる。
上記最大彩度 LUT52は、 テーブル手段であって、 L a b色空間の最大彩度値 m a x Cに関する情報が記憶されている。
上記彩度読出部 51は、 上記色変換 LUT 41からの輝度信号 L。 および色相信号 H。 に対応する第 1の最大彩度値 ma xC 。 をこの最大彩度 LUT 52から読み出すととも に、 上記特定色調整用 ROM 42を参照して該色相信号 H。rg を補正することにより得ら れる色相信号 H ,raおよび上記階調補正部 8からの輝度信号 L ,r„ に対応する第 2の最大彩 度値 ma xC lra をこの最大彩度 LUT 52から読み出し、 上記色相彩度補正部 43へ転 送するものである。
また、 上記制御部 18は、 上記彩度読出部 51に対して双方向に接続されて制御を行う ようになっている。
続いて、 図 1 1は、 最大彩度 LUT 52に記録されている L a b色空間の最大彩度値 m a xCに関する情報を示す線図である。 図 1 1 (A) から図 1 1 (F) は、 L a b色空間における赤 (R), マゼンタ (Ma), 青 (B), シアン (Cy), 緑 (G), 黄 (Ye) の各色相面における彩度信号 Cと輝度信 号 Lの断面をそれぞれ示す図、 図 1 1 (G) は各色相面の配置を示す図である。
各色相面における最大の彩度値に対応する輝度 T i ( i =R, Ma, B, Cy, G, Y e) (図中の添え字部分等において、 Maを M、 Cyを C、 Y eを Yなどと適宜省略して いる。) を閾値として、 最大彩度値 ma xC iを、 輝度 Lが輝度 T i以上となる部分にっレヽ て高輝度用関数でモデル化するとともに、 輝度 Lが輝度 T i以下となる部分について低輝 度用関数でモデル化する。 なお、 高輝度用関数と低輝度用関数とは、 輝度 T iにおいて同 一の最大彩度値 ma x C i を取るようになつている。 このとき、 該最大彩度値 ma x Cに 対する関数として、 L a b色空間では次の数式 9に示すような 3次関数を用いる。
[数式 9]
m a X C i = a hi L 3 + i3 hi L 2 + γ hi L + 5 hi (Y≥T
ma xCi = a H L3 + j3 H L 2 + y ,i L+5 ,i (Y≤T
上記最大彩度 LUT 52には、 各色相おょぴ輝度に対する最大彩度値が、 この数式 9の 関数に基づいて上述した第 1の実施形態と同様の補間演算により予め算出された後に、 記 録されている。
上記彩度読出部 51は、 制御部 18の制御に基づいて、 色変換 LUT 41および階調補 正部 8からの上述した色相信号およぴ輝度信号に対応する最大彩度値 m a X C i をこの最 大彩度 LUT52を参照して読み出し、 読み出した最大彩度値 m a xC iを上記色相彩度 補正部 43へ転送する。
なお、 上述では、 補正された彩度信号 C ,raが第 2の最大彩度値 ma xC ,ra を逸脱する ことのないように、 上述した第 1の実施形態と同様に、 第 2の最大彩度値 ma xC tra に 置換する処理を行っているが、 該第 1の実施形態においても言及したように、 これに限定 されるものでない。
例えば、 図 12に示すような関数 f (C) を用いて、 非線形に圧縮するようにしても良 レ、。 この関数 f (C) は、 彩度信号が 0〜C 1の範囲までは入力と同じ彩度信号が出力さ れるが、 彩度信号が該 C 1を越えて C 1〜C 2の範囲になると、 C 1〜! na xC tra の出 力範囲に非線形に圧縮される特性をもつものとなっている。 ここに、 C l, C 2は所定の 定数として与えられる閾値であり、 C 1く ma X C ,ra < C 2の関係となっている。
このような特性の関数 f (C) を用いることにより、 第 2の最大彩度値 ma xC tra を 越えた彩度信号がすべて一律に第 2の最大彩度値 m a x C ,ra に置換されることがなくな るために、 高彩度のグラデーションの再現性を向上することが可能となる。
また、 この第 2の実施形態においてもハードウエアにより処理を行うことを前提として いたが、 これに限らず、 ソフトウェアによって処理することも可能であるのは、 上述した 第 1の実施形態と同様である。
この場合にも、 例えば、 C C D 2から出力される映像信号を未処理のままの R a wデー タとしておき、 この R a wデータに、 フィルタ情報や画像サイズ情報などをヘッダ情報と して付加して、 このヘッダ情報が付加された R a wデータをコンピュータ等の処理装置に 出力し、 該処理装置において、 別途のソフトウェアにより処理するようにすれば良い。 さらに、 上述では色空間として C I E L a b色空間を用いたが、 これに限定されるも のでもない。 色変換 L U T 4 1は、 テーブルを用いるものであるために、 上述した第 1の 実施形態と同様に、 Y C b C r色空間や、 その他の任意の色空間を用いることが可能であ る。 このとき、 テーブルを用いる代わりに、 上述した第 1の実施形態と同様に、 上記数式 9に示したような関数を用いる構成とすることも可能である。
このような第 2の実施形態によれば、 上述した第 1の実施形態とほぼ同様の効果を奏す ることができ、 色空間内で輝度信号のみを彩度信号などとは独立して操作しても、 色信号 に不自然さを生じさせないように絵作り処理や補正処理を行うことができ、 絵作りに関す る自由度が高まって、 希望する画像を得ることが可能となる。
また、 彩度信号の補正処理と、 肌色, 空色などの特定色調整処理と、 強調処理と、 を一 体化して処理するようにしたために、 低コスト化を図りながら、 高速処理を行うことが可 能となる。
さらに、 輝度信号および色相信号が変化したときに、 再現域の理論特性値に対する比率 が一定となるように彩度信号を補正しているために、 自然な色再現を得ることができる。 そして、 高精度な輝度信号と色信号とを得ることができる C I E L a b色空間を使用 しているために、 高品位な画像を得ることが可能となる。
加えて、 最大彩度値をテーブルの形態で保存するようにしたために、 最大彩度値の算出 を高速に行うことが可能となる。 このとき、 最大彩度値の変化量が大きい赤, 緑, 青, シ アン, マゼンタ, 黄の各色相面に関して高輝度用と低輝度用とに分離した 3次関数を使用 して該最大彩度値を算出し、 該算出した最大彩度値をテーブルの形態で保存しているため に、 比較的少ないパラメータで彩度信号をより高精度に補正することが可能となる。 また、 彩度信号が第 2の最大彩度値を逸脱しないように制限を課しているために、 各種 補正後の彩度信号が色再現域を逸脱することはなく、破綻のない画像を得ることができる。 このときに、 第 2の最大彩度値を越える彩度信号を該第 2の最大彩度値で置換処理するよ うにしているために、 処理が単純となり、 低コス ト化を図りながら、 高速な処理を行うこ とができる。 これに対して、 第 2の最大彩度値未満の所定値を越える彩度信号を、 該所定 値と該第 2の最大彩度値との間に非線形に圧縮する場合には、 彩度のつぶれを低減するこ とができ、 グラデーションの再現性を向上することが可能となる。
そして、 彩度信号に関する補正係数を一括的に算出しているために、 低コスト化を図り ながら高速な処理を行うことが可能となる。
なお、 本発明は上述した実施形態に限定されるものではなく、 発明の主旨を逸脱しない 範囲内において種々の変形や応用が可能であることは勿論である。 産業上の利用可能性
以上説明したように本発明の撮像システム、 画像処理プログラムによれば、 不自然でな い色再現を行い得るとともに、 色再現性を容易に制御することができる。 さらに、 計算量 が少なく高速な処理を低コストに行うことが可能となる。

Claims

請 求 の 範 囲
1 . 撮像系からの原色系の色信号または補色系の色信号を階調変換して出力する撮像シ ステムであって、
上記色信号を輝度信号, 色相信号, 彩度信号の三信号から構成される色空間の信号へ変 換する色空間変換手段と、
上記輝度信号に対して階調変換を行う階調変換手段と、
上記彩度信号に対して補正を行うための彩度捕正係数を算出する補正係数算出手段と、 上記色空間変換手段からの輝度信号およぴ該色空間変換手段からの色相信号に対する上 記色空間における第 1の最大彩度値と、 上記階調変換手段により変換された輝度信号およ ぴ上記色空間変換手段からの色相信号に対する該色空間における第 2の最大彩度値と、 を 算出する最大彩度算出手段と、
上記第 1の最大彩度値と、 上記第 2の最大彩度値と、 上記彩度補正係数と、 に基づいて 上記彩度信号に関する補正を行う彩度補正手段と、
を具備したことを特徴とする撮像システム。
2 . 撮像系からの原色系の色信号または補色系の色信号を階調変換して出力する撮像シ ステムであって、
上記色信号を輝度信号, 色相信号, 彩度信号の三信号から構成される色空間の信号へ変 換する色空間変換手段と、
上記輝度信号に対して階調変換を行う階調変換手段と、
所定範囲内の上記色相信号に対して該色相信号を捕正するための色相補正係数を算出す るとともに、 所定範囲内の該色相信号に対して上記彩度信号を補正するための彩度補正係 数を算出する補正係数算出手段と、
上記色空間変換手段からの輝度信号およぴ該色空間変換手段からの色相信号に対する上 記色空間における第 1の最大彩度値と、 上記階調変換手段により変換された輝度信号およ ぴ上記色相補正係数により補正された色相信号に対する該色空間における第 2の最大彩度 値と、 を算出する最大彩度算出手段と、
上記第 1の最大彩度値と、 上記第 2の最大彩度値と、 上記彩度補正係数と、 に基づいて 上記彩度信号に関する補正を行う彩度補正手段と、 を具備したことを特徴とする撮像システム。
3 . 撮像系からの原色系の色信号または補色系の色信号を階調変換して出力する撮像シ ステムであって、
上記色信号を輝度信号, 色相信号, 彩度信号の三信号から構成される色空間の信号へ変 換する色空間変換手段と、
上記輝度信号に対して階調変換を行う階調変換手段と、
上記彩度信号に対して補正を行うための第 1の彩度補正係数を算出する第 1の補正係数 算出手段と、
所定範囲内の上記色相信号に対して該色相信号を補正するための色相補正係数を算出す るとともに、 所定範囲内の該色相信号に対して上記彩度信号を補正するための第 2の彩度 補正係数を算出する第 2の補正係数算出手段と、
上記色空間変換手段からの輝度信号および該色空間変換手段からの色相信号に対する上 記色空間における第 1の最大彩度値と、 上記階調変換手段により変換された輝度信号およ ぴ上記色相補正係数により補正された色相信号に対する該色空間における第 2の最大彩度 値と、 を算出する最大彩度算出手段と、
上記第 1の最大彩度値と、 上記第 2の最大彩度値と、 上記第 1の彩度補正係数と、 上記 第 2の彩度補正係数と、 に基づいて上記彩度信号に関する補正を行う彩度補正手段と、 を具備したことを特徴とする撮像システム。
4 . 上記色空間変換手段は、 色空間として、 Y C b C r <fe空間または C I E L a b色 空間を用いるものであることを特徴とする請求の範囲第 1項、 請求の範囲第 2項、 または 請求の範囲第 3項に記載の撮像システム。
5 . 上記補正係数算出手段は、
上記輝度信号から算出されたェッジ強度値に基づき彩度補正係数を求めるクロマサブレ ス手段と、
上記輝度信号に基づき彩度補正係数を求めるハイライトシァン手段と、
上記色相信号に基づき彩度補正係数を求める彩度強調手段と、
の内の少なくとも 1つを有して構成されたものであることを特徴とする請求の範囲第 1 項に記載の撮像システム。
6 . 上記第 1の補正係数算出手段は、
上記輝度信号から算出されたェッジ強度値に基づき第 1の彩度補正係数を求めるクロマ サプレス手段と、
上記輝度信号に基づき第 1の彩度補正係数を求めるハイライトシアン手段と、 上記色相信号に基づき第 1の彩度補正係数を求める彩度強調手段と、
の内の少なくとも 1つを有して構成されたものであることを特徴とする請求の範囲第 3 項に記載の撮像システム。
7 . 上記最大彩度算出手段は、
複数の所定の色相面に関して輝度信号と最大彩度値とを関係付ける関数を記録している 記録手段と、
上記記録手段に記録されている複数の色相面の中から、 上記色相信号に隣接する最近傍 の 2組の色相面を探索する探索手段と、
上記探索手段により探索された 2組の色相面に関する関数を上記記録手段から抽出する 抽出手段と、
上記抽出手段により抽出された 2組の関数と上記輝度信号とに基づいて 2組の最大彩度 値を算出する算出手段と、
上記 2組の最大彩度値から上記色相信号に関する最大彩度値を補間して求める補間手段 と、
を有して構成されたものであることを特徴とする請求の範囲第 1項、請求の範囲第 2項、 または請求の範囲第 3項に記載の撮像システム。
8 . 上記記録手段は、
上記複数の所定の色相面の各々に関して、 所定の輝度値以上の輝度信号と最大彩度値と を関係付ける高輝度用関数と、 所定の輝度値以下の輝度信号と最大彩度値とを関係付ける 低輝度用関数と、 上記所定の輝度値と、 を記録しているものであることを特徴とする請求 の範囲第 7項に記載の撮像システム。
9 . 上記記録手段は、
上記関数として、 1次式関数と、 多項式関数と、 べき乗関数と、 スプライン関数と、 の 内の少なくとも 1つを記録しているものであることを特徴とする請求の範囲第 7項に記載 の撮像システム。
1 0 . 上記記録手段は、
上記複数の所定の色相面として、 赤, 緑, 青, シアン, マゼンタ, 黄の各色相面を含む ものであることを特徴とする請求の範囲第 7項に記載の撮像システム。
1 1 . 上記最大彩度算出手段は、
輝度信号およぴ色相信号に対する上記色空間における最大彩度値を記録したテーブル手 段を有して構成されたものであることを特徴とする請求の範囲第 1項、請求の範囲第 2項、 または請求の範囲第 3項に記載の撮像システム。
1 2 . 上記彩度補正手段は、
上記第 1の最大彩度値と上記第 2の最大彩度値との比率を算出する比率算出手段と、 上記彩度信号に上記比率および上記彩度補正係数を乗算する乗算手段と、
上記乗算手段により比率およぴ彩度補正係数を乗算された上記彩度信号が上記第 2の最 大彩度値を逸脱しないように制限を課す制限手段と、
を有して構成されたものであることを特徴とする請求の範囲第 1項、 または請求の範囲 第 2項に記載の撮像システム。
1 3 . 上記彩度補正手段は、
上記第 1の最大彩度値と上記第 2の最大彩度値との比率を算出する比率算出手段と、 上記彩度信号に上記比率と上記第 1の彩度補正係数と上記第 2の彩度補正係数とを乗算 する乗算手段と、
上記乗算手段により比率と第 1の彩度補正係数と第 2の彩度補正係数とを乗算された上 記彩度信号が上記第 2の最大彩度値を逸脱しないように制限を課す制限手段と、
を有して構成されたものであることを特徴とする請求の範囲第 3項に記載の撮像システ ム。
1 4 . 上記制限手段は、
上記乗算手段からの上記彩度信号が上記第 2の最大彩度値を逸脱した場合に、 該彩度信 号を上記第 2の最大彩度値に置き換える置換手段を有して構成されたものであることを特 徴とする請求の範囲第 1 2項または請求の範囲第 1 3項に記載の撮像システム。
1 5 . 上記制限手段は、
上記乗算手段からの上記彩度信号が上記第 2の最大彩度値未満の所定の閾値を超えた場 合に、 該彩度信号を上記第 2の最大彩度値と上記閾値との間の値に変換する非線形圧縮手 段を有して構成されたものであることを特徴とする請求の範囲第 1 2項または請求の範囲 第 1 3項に記載の撮像システム。
1 6 . コンピュータを、
原色系の色信号または補色系の色信号を輝度信号, 色相信号, 彩度信号の三信号から構 成される色空間の信号へ変換する色空間変換手段、
上記輝度信号に対して階調変換を行う階調変換手段、
上記彩度信号に対して補正を行うための彩度補正係数を算出する補正係数算出手段、 上記色空間変換手段からの輝度信号およぴ該色空間変換手段からの色相信号に対する上 記色空間における第 1の最大彩度値と、 上記階調変換手段により変換された輝度信号およ び上記色空間変換手段からの色相信号に対する該色空間における第 2の最大彩度値と、 を 算出する最大彩度算出手段、
上記第 1の最大彩度値と、 上記第 2の最大彩度値と、 上記彩度補正係数と、 に基づいて 上記彩度信号に関する補正を行う彩度補正手段、
として機能させることを特徴とする画像処理プログラム。
1 7 . コンピュータを、
原色系の色信号または捕色系の色信号を輝度信号, 色相信号, 彩度信号の三信号から構 成される色空間の信号へ変換する色空間変換手段、
上記輝度信号に対して階調変換を行う階調変換手段、
所定範囲内の上記色相信号に対して該色相信号を補正するための色相補正係数を算出す るとともに、 所定範囲内の該色相信号に対して上記彩度信号を補正するための彩度補正係 数を算出する補正係数算出手段、
上記色空間変換手段からの輝度信号およぴ該色空間変換手段からの色相信号に対する上 記色空間における第 1の最大彩度値と、 上記階調変換手段により変換された輝度信号およ ぴ上記色相補正係数により補正された色相信号に対する該色空間における第 2の最大彩度 値と、 を算出する最大彩度算出手段、
上記第 1の最大彩度値と、 上記第 2の最大彩度値と、 上記彩度補正係数と、 に基づいて 上記彩度信号に関する補正を行う彩度補正手段、
として機能させることを特徴とする画像処理プログラム。
1 8 . コンピュータを、
原色系の色信号または補色系の色信号を輝度信号, 色相信号, 彩度信号の三信号から構 成される色空間の信号へ変換する色空間変換手段、
上記輝度信号に対して階調変換を行う階調変換手段、
上記彩度信号に対して補正を行うための第 1の彩度補正係数を算出する第 1の補正係数 算出手段、 所定範囲内の上記色相信号に対して該色相信号を補正するための色相補正係数を算出す るとともに、 所定範囲内の該色相信号に対して上記彩度信号を補正するための第 2の彩度 補正係数を算出する第 2の補正係数算出手段、
上記色空間変換手段からの輝度信号およぴ該色空間変換手段からの色相信号に対する上 記色空間における第 1の最大彩度値と、 上記階調変換手段により変換された輝度信号およ び上記色相補正係数により補正された色相信号に対する該色空間における第 2の最大彩度 値と、 を算出する最大彩度算出手段、
上記第 1の最大彩度値と、 上記第 2の最大彩度値と、 上記第 1の彩度補正係数と、 上記 第 2の彩度補正係数と、 に基づいて上記彩度信号に関する補正を行う彩度補正手段、 として機能させることを特徴とする画像処理プログラム。
PCT/JP2004/005054 2003-04-08 2004-04-08 撮像システム、画像処理プログラム WO2004091223A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003104485A JP3914168B2 (ja) 2003-04-08 2003-04-08 撮像システム、画像処理プログラム
JP2003-104485 2003-04-08

Publications (1)

Publication Number Publication Date
WO2004091223A1 true WO2004091223A1 (ja) 2004-10-21

Family

ID=33156855

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/005054 WO2004091223A1 (ja) 2003-04-08 2004-04-08 撮像システム、画像処理プログラム

Country Status (3)

Country Link
US (1) US7339619B2 (ja)
JP (1) JP3914168B2 (ja)
WO (1) WO2004091223A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8736723B2 (en) 2005-11-16 2014-05-27 Olympus Corporation Image processing system, method and program, including a correction coefficient calculation section for gradation correction
CN113450687A (zh) * 2020-03-24 2021-09-28 西安诺瓦星云科技股份有限公司 色彩管理校正方法、装置和系统

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4189328B2 (ja) * 2004-01-16 2008-12-03 セイコーエプソン株式会社 画像処理装置、画像表示装置、画像処理方法および画像処理プログラム
US7379208B2 (en) * 2004-05-06 2008-05-27 Canon Kabushiki Kaisha Hybrid gamut mapping
JP4770154B2 (ja) * 2004-11-08 2011-09-14 ソニー株式会社 画像処理装置、および画像処理方法、並びにコンピュータ・プログラム
JP4767525B2 (ja) * 2004-11-16 2011-09-07 オリンパス株式会社 撮像システム及び撮像処理プログラム
JP4860914B2 (ja) * 2004-12-07 2012-01-25 キヤノン株式会社 画像投影装置、画像投影方法、プログラム
JP2006203841A (ja) * 2004-12-24 2006-08-03 Sharp Corp 画像処理装置、カメラ装置、画像出力装置、画像処理方法、色補正処理プログラムおよび可読記録媒体
JP4784097B2 (ja) * 2005-01-12 2011-09-28 株式会社ニコン 信号処理方法、信号処理装置、信号処理手順を格納した記憶媒体
GB2423660B (en) * 2005-02-25 2010-08-18 Imagination Tech Ltd A method and apparatus for controlling overshoot in a video enhancement system
TW200632856A (en) * 2005-03-09 2006-09-16 Sunplus Technology Co Ltd System and method for color signal interpolation
JP4752431B2 (ja) * 2005-10-03 2011-08-17 セイコーエプソン株式会社 カラー画像複写装置、カラー画像複写方法、およびコンピュータプログラム
KR100791380B1 (ko) 2006-01-17 2008-01-07 삼성전자주식회사 보색 대비를 이용하여 영상을 향상하는 방법 및 장치
CN101563650B (zh) * 2006-12-19 2013-02-06 皇家飞利浦电子股份有限公司 用于数字图像采集的颜色序列闪光
JP4916341B2 (ja) 2007-02-28 2012-04-11 オリンパス株式会社 画像処理装置及び画像処理プログラム
WO2008111236A1 (en) * 2007-03-14 2008-09-18 Olympus Corporation Image processing system and image processing program
JP2009004893A (ja) * 2007-06-19 2009-01-08 Olympus Corp 画像処理装置およびこれを備える撮像システム
JP4863011B2 (ja) * 2007-08-24 2012-01-25 富士ゼロックス株式会社 画像処理装置および画像処理プログラム
JP5017597B2 (ja) * 2007-11-27 2012-09-05 株式会社メガチップス 画素補間方法
JP4517308B2 (ja) * 2007-12-13 2010-08-04 ソニー株式会社 情報処理装置および方法、プログラム、並びに情報処理システム
JP4544308B2 (ja) 2008-01-11 2010-09-15 ソニー株式会社 画像処理装置、撮像装置、方法およびプログラム
JP5183568B2 (ja) 2009-05-21 2013-04-17 キヤノン株式会社 画像処理装置及び方法、及びプログラムを記録した記憶媒体
JP5487737B2 (ja) * 2009-06-08 2014-05-07 カシオ計算機株式会社 画像処理装置、画像処理方法及び画像処理プログラム
JP5586031B2 (ja) * 2012-03-21 2014-09-10 オリンパス株式会社 画像処理システム、画像処理方法および画像処理プログラム
TWI519151B (zh) * 2012-08-30 2016-01-21 義晶科技股份有限公司 影像處理方法以及影像處理裝置
JP5675856B2 (ja) * 2013-01-15 2015-02-25 キヤノン株式会社 画像処理装置及び方法、及びプログラムを記録した記憶媒体
JP6239358B2 (ja) * 2013-12-02 2017-11-29 株式会社メガチップス 画素補間装置、撮像装置、プログラムおよび集積回路
JP6415062B2 (ja) * 2014-02-21 2018-10-31 キヤノン株式会社 画像処理装置、画像処理方法、制御プログラム、および記録媒体
EP3747349A1 (en) 2015-05-17 2020-12-09 Endochoice, Inc. Endoscopic image enhancement using contrast limited adaptive histogram equalization (clahe) implemented in a processor
EP3367659A1 (en) * 2017-02-28 2018-08-29 Thomson Licensing Hue changing color gamut mapping
KR20210045027A (ko) * 2019-10-16 2021-04-26 주식회사 실리콘웍스 미세 보정이 가능한 색역 매핑 장치

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6359292A (ja) * 1986-08-29 1988-03-15 アグファ−ゲ−ヴェルト・アクチエンゲゼルシャフト 電子画像処理における彩度補正方法
JPH03127278A (ja) * 1989-10-13 1991-05-30 Matsushita Electric Ind Co Ltd カラー画像処理方法及び装置
JP2002140700A (ja) * 2000-11-02 2002-05-17 Keiogijuku カラー画像処理方法および処理装置
JP2003047020A (ja) * 2001-07-27 2003-02-14 Hitachi Ltd 映像表示装置及び色温度補正方法
JP2003069846A (ja) * 2001-08-27 2003-03-07 Fujitsu Ltd 画像処理プログラム

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0423653B1 (en) 1989-10-13 1997-08-06 Matsushita Electric Industrial Co., Ltd. Method and apparatus for compensating for color in color images
JP3190050B2 (ja) 1990-12-18 2001-07-16 キヤノン株式会社 カラー画像処理方法
JPH07101916B2 (ja) * 1991-05-14 1995-11-01 富士ゼロックス株式会社 カラー画像編集装置
JPH0678320A (ja) * 1992-08-25 1994-03-18 Matsushita Electric Ind Co Ltd 色調整装置
JP2567214B2 (ja) 1995-03-27 1996-12-25 キヤノン株式会社 画像処理方法
US5748785A (en) * 1996-09-26 1998-05-05 Xerox Corporation Inter-separation color image processing using error diffusion
JP2001238129A (ja) 2000-02-22 2001-08-31 Olympus Optical Co Ltd 画像処理装置、記録媒体
JP2002016818A (ja) * 2000-04-28 2002-01-18 Fuji Photo Film Co Ltd 色補正方法および装置並びに記録媒体
JP4294896B2 (ja) * 2001-09-26 2009-07-15 富士フイルム株式会社 画像処理方法および装置並びにそのためのプログラム
KR20040009966A (ko) * 2002-07-26 2004-01-31 삼성전자주식회사 색 보정장치 및 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6359292A (ja) * 1986-08-29 1988-03-15 アグファ−ゲ−ヴェルト・アクチエンゲゼルシャフト 電子画像処理における彩度補正方法
JPH03127278A (ja) * 1989-10-13 1991-05-30 Matsushita Electric Ind Co Ltd カラー画像処理方法及び装置
JP2002140700A (ja) * 2000-11-02 2002-05-17 Keiogijuku カラー画像処理方法および処理装置
JP2003047020A (ja) * 2001-07-27 2003-02-14 Hitachi Ltd 映像表示装置及び色温度補正方法
JP2003069846A (ja) * 2001-08-27 2003-03-07 Fujitsu Ltd 画像処理プログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8736723B2 (en) 2005-11-16 2014-05-27 Olympus Corporation Image processing system, method and program, including a correction coefficient calculation section for gradation correction
CN113450687A (zh) * 2020-03-24 2021-09-28 西安诺瓦星云科技股份有限公司 色彩管理校正方法、装置和系统

Also Published As

Publication number Publication date
US7339619B2 (en) 2008-03-04
JP3914168B2 (ja) 2007-05-16
JP2004312467A (ja) 2004-11-04
US20040218075A1 (en) 2004-11-04

Similar Documents

Publication Publication Date Title
WO2004091223A1 (ja) 撮像システム、画像処理プログラム
JP4001015B2 (ja) 画像入力装置及び画像入力方法
US8199227B2 (en) Image-signal processing apparatus for performing space-variant image-signal processing
US8265411B2 (en) Image recording apparatus, image recording method, image processing apparatus, image processing method and image processing system
US8890974B2 (en) Methods and systems for automatic white balance
US8736723B2 (en) Image processing system, method and program, including a correction coefficient calculation section for gradation correction
JP5034003B2 (ja) 画像処理装置
WO2006004151A1 (ja) 信号処理システム及び信号処理プログラム
JP4466378B2 (ja) 履歴付加装置、電子カメラ、および画像処理プログラム
US20100295977A1 (en) Image processor and recording medium
WO2004098202A1 (ja) 特定色の色再現を考慮したカラーバランス調整
JP2000224607A (ja) 画像処理装置
JP2014033273A (ja) 色域変換装置、デジタルカメラ、色域変換プログラムおよび色域変換方法
US20020085750A1 (en) Image processing device
JP4007964B2 (ja) 画像処理装置、画像処理方法、及び画像処理プログラム
JP4396479B2 (ja) 画像処理装置における補正処理方法および画像処理装置。
CN109600596B (zh) 一种非线性无色恒常的白平衡方法
WO2008050548A1 (fr) Dispositif de traitement d&#39;image, programme de traitement d&#39;image et procédé de traitement d&#39;image
JP4767525B2 (ja) 撮像システム及び撮像処理プログラム
JP3543766B2 (ja) 画像処理装置
JP6318497B2 (ja) 画像処理装置、撮像装置およびプログラム
KR101009367B1 (ko) 영상의 색상 신호 처리 시스템 및 방법
JP2002314827A (ja) 画像処理方法、画像処理装置、及びそれを備えた画像形成装置、画像処理プログラム、並びに記録媒体
JP2006203430A (ja) 画像処理装置およびその方法
JP4537665B2 (ja) 画像データの信号処理回路および方法

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase