WO2012159586A1 - 成像系统或图像输出系统中颜色畸变校正方法及装置 - Google Patents
成像系统或图像输出系统中颜色畸变校正方法及装置 Download PDFInfo
- Publication number
- WO2012159586A1 WO2012159586A1 PCT/CN2012/076097 CN2012076097W WO2012159586A1 WO 2012159586 A1 WO2012159586 A1 WO 2012159586A1 CN 2012076097 W CN2012076097 W CN 2012076097W WO 2012159586 A1 WO2012159586 A1 WO 2012159586A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color
- data
- format
- block
- image data
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
- H04N9/646—Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/71—Circuitry for evaluating the brightness variation
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/02—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the way in which colour is displayed
- G09G5/026—Control of mixing and/or overlay of colours in general
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0242—Compensation of deficiencies in the appearance of colours
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
- G09G2320/0285—Improving the quality of display appearance using tables for spatial correction of display data
Definitions
- the present invention relates to color image technology, and more particularly to techniques for color distortion correction of color images. Background technique
- color image as an information carrier has been widely used in many fields such as printing, video, advertising, film and television, e-commerce, digital entertainment, etc.
- the requirements are also getting higher and higher.
- an imaging system such as a camera or a camera
- the output image The color appears to be biased.
- automatic white balance is usually used in the prior art for color correction.
- typical methods include white spot method, gray world method, perfect reflection method, edge detection method, Retinex method, and the like.
- the inventors of the present invention have found that the prior art color correction methods aim to maintain a constant white balance of the vision, and use gray single color balance to push other algorithms.
- the result of color correction depends entirely on the scene, although Has some usability, but still has a large color distortion. Because the imaging system or image output system is affected by factors such as imaging mechanism, color space, component performance, consumables characteristics, processing accuracy, etc., the color characteristics are very different, which makes the prior art color distortion correction method only visually
- the white balance which eliminates the color shift of the overall color; does not eliminate the color deviation introduced by the characteristics of the device itself.
- the red color may appear purpleish when it is displayed due to liquid crystal, or the yellow color may appear green when displayed, but the overall image background still reaches white balance. Therefore, the color distortion correction method of the prior art cannot effectively correct the color deviation caused by the characteristics of the device itself, and thus the goal of "what you see is what you get” cannot be achieved, and the scene cannot be more realistically displayed. colour.
- Embodiments of the present invention provide a color distortion correction method and apparatus in an imaging system or an image output system, which eliminates color deviation of a color image caused by characteristics of the device itself.
- a color distortion correction method in an imaging system comprising: the imaging system capturing a subject to obtain initial image data of the subject; according to the imaging system stored in advance A priori knowledge of color distortion, color distortion correction of the initial image data, to obtain corrected image data.
- the a priori knowledge of the color distortion specifically includes: an HLUT curve function, a SLUT curve function, and an ILUT curve function; or, the color distortion prior knowledge specifically includes: a HLUT curve table, a SLUT curve table, and an ILUT curve table;
- the color distortion prior knowledge acquisition method includes:
- the performing the crosstalk conversion on the initial color data of each color block to obtain the color data after the crosstalk of each color block is specifically:
- the crosstalk conversion is performed on the initial color data of each color block according to the following equation group 1, and the crosstalk-removed color data of each color block is obtained:
- G GD K g R K +K gg G K + K bg B K (equation 1) where ⁇ , Kgg, Kbb, K rg , K r b, Kgr, Kgb, K3 ⁇ 4 r , K3 ⁇ 4r are setting parameters ; RQD, GGD,
- B AD is the initial color data of the color block
- R K , G K , and B K are the obtained RGB format color data after crosstalk elimination.
- the color distortion correction of the initial image data according to the color distortion prior knowledge of the imaging system stored in advance includes the following steps:
- the initial image data is image data in a first format
- Performing color distortion correction on the second format image data after crosstalk elimination according to the prior knowledge of color distortion determining, according to the prior knowledge of the color distortion, the number of second format images after eliminating crosstalk Corresponding second format data, and the corresponding second format data is used as the corrected second format image data;
- the corrected second format image data is converted into data of the first format to obtain final corrected image data.
- Performing the crosstalk conversion on the initial image data to obtain image data after crosstalk cancellation is specifically:
- the crosstalk conversion is performed on the initial color data of each color block according to the following equation group 1, and the crosstalk-removed color data of each color block is obtained:
- B GD is the initial image data
- R K , G K , and B K are the obtained image data after crosstalk cancellation.
- the color distortion prior knowledge is specifically a color data comparison table; and the color distortion prior knowledge acquisition method includes:
- the obtaining method of the calibration curve function or the calibration curve table is:
- the second format color data wherein the standard color data of the color block is in the first format;
- determining a correspondence between the standard color data of the second format of the color block and the second format color data of the color block after the crosstalk cancellation, and determining the curve function according to the correspondence relationship includes: HLUT Curve function, curve function, ILUT curve function, or determination curve table includes: HLUT curve table, SLUT curve table, ILUT curve table.
- the first format is a device color space format, the device color space format includes but is not limited to RGB, CMY space; the second format is a color appearance color space format, and the color appearance color space format includes but is not limited to HSL HSB, HSV, HSL, LCH, HG1C1 space; HLUT curve function is the tone curve function of color appearance color space, SLUT curve function is saturation curve function in color appearance color space, ILUT curve function is intensity curve function of color appearance color space.
- a color distortion correction method in an image output system comprising: the image output system receiving image data of an image to be output; according to a color distortion of the image output system stored in advance The knowledge is corrected, and the received image data is subjected to color distortion correction to obtain corrected image data and output from the image output system.
- the a priori knowledge of the color distortion specifically includes: an HLUT curve function, a SLUT curve function, and an ILUT curve function; or, the color distortion prior knowledge specifically includes: a HLUT curve table, a SLUT curve table, and an ILUT curve table;
- the color distortion prior knowledge acquisition method includes:
- the output color data of each color block is in a first format
- standard color data of each color block is converted into the second format
- standard color data of the second format of each color block is obtained;
- the output color data of each color block is converted into the second format, the second format output color data of each color block is obtained.
- a correspondence between standard color data of the second format of the color block and second format output color data of the color block is determined, and the color distortion prior knowledge is generated according to the correspondence.
- the corrected second format image data is converted into data of the first format to obtain final pre-corrected image data.
- the color distortion prior knowledge is specifically a color data comparison table; and the color distortion prior knowledge acquisition method includes:
- the obtaining method of the calibration curve function or the calibration curve table is:
- determining a correspondence between standard color data of the second format of the color block and second format output color data of the color block, and determining a curve function according to the correspondence relationship includes:
- the HLUT curve function, the SLUT curve function, the ILUT curve function, or the determination curve table include: HLUT curve table, SLUT curve table, ILUT curve table.
- the image data received by the image output system is used as initial image data, and data corresponding to the initial image data is determined according to the color data comparison table, and the determined corresponding data is used as the corrected image. data.
- a color distortion correction apparatus in an imaging system including: a color distortion prior knowledge storage module, configured to store color distortion prior knowledge of the imaging system; an initial image data acquisition module, For capturing a subject, obtaining initial image data of a first format of the subject; an image data color correction module for prior knowledge based on the color distortion
- the color distortion a priori knowledge stored in the storage module is subjected to color distortion correction on the initial image data obtained by the initial image data acquisition module to obtain corrected image data; wherein the color distortion prior knowledge specifically includes: an HLUT curve function , the SLUT curve function, the ILUT curve function; or the color distortion prior knowledge specifically includes: an HLUT curve table, a SLUT curve table, an ILUT curve table; or the color distortion prior knowledge specifically includes each color block color first format color data Chart.
- the image data color correction module specifically includes:
- a crosstalk canceling unit configured to perform crosstalk canceling on the initial image data to obtain image data after crosstalk cancellation
- a first converting unit configured to convert the crosstalk-removed image data into data in a second format, to obtain second-format image data after crosstalk cancellation
- a color distortion correcting unit configured to perform color distortion correction on the second format image data after crosstalk elimination according to the prior knowledge of the color distortion: determining, according to the color distortion first face knowledge, a second format image after eliminating crosstalk The second format data corresponding to the data, and the corresponding second format data is used as the corrected second format image data;
- a second converting unit configured to convert the corrected second format image data into data of the first format to obtain final corrected image data.
- a color distortion prior knowledge acquisition device for an imaging system comprising:
- a color block initial color data obtaining module configured to acquire initial color data of a first format of each color block obtained by the imaging system after capturing each color block of the standard color card;
- a crosstalk cancellation module configured to perform crosstalk conversion on the initial color data of each color block to obtain color data after crosstalk cancellation of each color block;
- a format conversion module configured to convert standard color data of each color block into second format data, to obtain standard color data of a second format of each color block; convert color data of the crosstalk canceled by each color block into data of the second format, Obtaining second format color data after crosstalk cancellation of each color block;
- a color distortion prior knowledge generating module configured to determine, for each color block, a correspondence between standard color data of the second format of the color block and second color data of the color block after crosstalk elimination, and according to The correspondence produces a priori knowledge of color distortion of the imaging system.
- a color distortion correction apparatus in an imaging system including: a color distortion prior knowledge storage module, configured to store color distortion prior knowledge of the imaging system; an initial image data acquisition module, For capturing a subject, obtaining initial image data of a first format of the subject; an image data color correction module, configured to perform a priori knowledge of color distortion according to the color distortion prior knowledge storage module, Initiality obtained by the initial image data acquisition module The image data is subjected to color distortion correction to obtain corrected image data.
- the color distortion prior knowledge is specifically a color data comparison table, and the color data comparison table stores standard color data of the color block and the output of the color block. The correspondence between color data.
- a color distortion prior knowledge acquisition device of an imaging system including: a color block initial color data acquisition module, configured to acquire the color system of the standard color card after the imaging system is captured.
- the second format color data is subjected to color distortion correction, and the corrected second format color data of each color block is respectively obtained; the corrected second format color data of each color block is converted into the color data of the first format, respectively, and the correction of each color block is obtained respectively.
- the calibration curve function or the calibration curve table is specifically:
- determining a correspondence between the standard color data of the second format of the color block and the second format color data of the color block after the crosstalk cancellation, and determining the curve function according to the correspondence relationship includes: HLUT
- the curve function, the SLUT curve function, the ILUT curve function, or the determination curve table include: HLUT curve table, SLUT curve table, ILUT curve table.
- a color distortion correction apparatus in an image output system includes: a color distortion prior knowledge storage module for storing color distortion prior knowledge of the image output system; and an image data receiving module And image data for receiving an image to be output; an image data color correction module, configured to receive image data received by the image data receiving module according to a priori knowledge of color distortion stored by the color distortion prior knowledge storage module Performing color distortion correction; wherein, the color distortion prior knowledge specifically includes: an HLUT curve function, a SLUT curve function, an ILUT curve function; or the color distortion prior knowledge specifically includes: a HLUT curve table, a SLUT curve table, an ILUT The curve table; or the color distortion prior knowledge specifically includes a first format color data comparison table of each color block color.
- the image data color correction module specifically includes:
- a first conversion unit configured to convert image data received by the image output system as initial image data in a first format into data in a second format, to obtain second format image data before correction
- a color distortion correction unit Performing color distortion correction on the second format image data before the correction according to the prior knowledge of the color distortion: determining, according to the color distortion prior knowledge, the second format data corresponding to the second format image data before the correction And using the corresponding second format data as the corrected second format image data;
- a second converting unit configured to convert the corrected second format image data into data of the first format to obtain final corrected image data.
- a color distortion prior knowledge acquisition apparatus for an image output system, comprising: outputting color data acquisition blocks for acquiring image data of images of respective color patches output by the output system And determining, according to the collected image data, output color data of each color block; a format conversion module, configured to convert standard color data of each color block into second format data, to obtain standard color data of a second format of each color block; Converting the output color data of the block to the data of the second format, and obtaining output color data of the second format of each color block; the standard color data of each color block is the first format; the color distortion prior knowledge generating module, for each a color block, determining a correspondence between standard color data of the second format of the color block and output color data of the second format of the color block, and generating color distortion of the image output system according to the correspondence relationship Knowledge.
- a color distortion correction apparatus in an image output system includes: a color distortion prior knowledge storage module, configured to store color distortion prior knowledge of the image output system;
- the color distortion prior knowledge is specifically a color data comparison table, and the color data comparison table stores a correspondence relationship between the standard color data of the color block and the corrected color data of the first format of the color block; the image data receiving module And image data for receiving an image to be output; an image data color correction module, configured to receive image data received by the image data receiving module according to a priori knowledge of color distortion stored by the color distortion prior knowledge storage module Perform color distortion correction.
- a color distortion prior knowledge acquiring apparatus of an image output system comprising: outputting color data acquisition blocks for acquiring images of images of respective color patches output by the output system Data, and determining output color data of each color block according to the collected image data; color distortion prior knowledge generating module, for obtaining a calibration curve function or a calibration curve table; according to a calibration curve function or a calibration curve table, for each color block
- the second format outputs the color data for color distortion correction, and respectively obtains the corrected second format color data of each color block; the corrected number of each color block Converting the two format color data into color data of the first format, respectively obtaining color data of the corrected first format of each color block; for each color block, determining standard color data of the color block and the corrected color of the color block Corresponding relationship between the color data of the first format, and storing the determined correspondence in the color data comparison table;
- the obtaining method of the calibration curve function or the calibration curve table is:
- standard color data of each color block is converted into the second format
- standard color data of the second format of each color block is obtained;
- the output color data of each color block is converted into the second format, the second format output color data of each color block is obtained.
- determining a correspondence between standard color data of the second format of the color block and second format output color data of the color block, and determining a curve function according to the correspondence relationship includes:
- the HLUT curve function, the SLUT curve function, the ILUT curve function, or the determination curve table include: HLUT curve table, SLUT curve table, ILUT curve table.
- the color distortion prior knowledge of the imaging system or the image output system is acquired in advance, the color distortion characteristic of the color appearance color space of the imaging system or the image output system is known in advance, so that the color distortion a priori according to the system can be obtained.
- Knowledge corrects the color distortion of the image data of the captured image in the color appearance color space to eliminate the color deviation of the color image introduced by the characteristics of the system device itself, and achieve the goal of "what you see is what you get".
- FIG. 1 is a flow chart of a method for acquiring color distortion prior knowledge of an imaging system according to an embodiment of the present invention
- Figure lb is a schematic diagram of an HLUT curve according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for correcting color distortion in an imaging system according to an embodiment of the present invention
- FIG. 3 is a flow chart of a method for acquiring color distortion prior knowledge of another imaging system according to an embodiment of the present invention
- FIG. 4 is a flowchart of a color distortion correction method in another imaging system according to an embodiment of the present invention
- FIG. 5 is a flow chart of a color distortion prioritization knowledge acquisition method of an image output system according to an embodiment of the present invention
- FIG. 6 is a flowchart of a color distortion correction method in an imaging system according to an embodiment of the present invention
- FIG. 7 is a flowchart of another method for acquiring color distortion prior knowledge in an image output system according to an embodiment of the present invention
- FIG. 8 is a flowchart of another method for correcting color distortion in an image output image system according to an embodiment of the present invention
- 9a is a schematic structural diagram of a color distortion correction device and an image distortion system prior knowledge acquisition device in an imaging system according to an embodiment of the present invention.
- FIG. 9b is a schematic diagram showing the internal structure of an image data color correction module according to an embodiment of the present invention
- FIG. 10 is a diagram showing the structure of a color distortion prior knowledge acquisition device of a color distortion correction device and an imaging system in another imaging system according to an embodiment of the present invention
- 11a is a schematic structural diagram of a color distortion prior knowledge acquiring device of a color distortion correcting device and an image output system in an image output system according to an embodiment of the present invention
- FIG. 1 is a schematic diagram of an internal structure of another image data color correction module according to an embodiment of the present invention
- FIG. 12 is a color distortion correction device and a color distortion prior of an image output system in another image output system according to an embodiment of the present invention
- a module can be, but is not limited to: a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
- an application running on a computing device and this computing device can both be modules.
- One or more modules may be located within a process and/or thread of execution, and a module may be located on a single computer and/or distributed between two or more computers.
- these modules can be executed by a variety of computer readable media that store a variety of data structures.
- HLUT refers to color hue Hue transform LUT
- SLUT refers to color saturation Satuation LUT
- ILUT refers to color intensity or brightness or brightness or brightness defined as intensity or Brightness or Value or Lightness or Luminance.
- HLUT refers to color hue Hue transform LUT
- SLUT refers to color saturation Satuation LUT
- S C/SQRT (C2+L2)
- HG1C1 HLUT refers to color hue Hue transform LUT
- SLUT refers to color saturation Satuation LUT
- S C1/(G1 ten CI)
- Fig. la a flow of a prior art knowledge acquisition method for color distortion of an imaging system according to an embodiment of the present invention is shown.
- S101 The imaging system captures the color patches of the standard color card under uniform pure white E50 illumination.
- S102 Acquire initial color data of each color block obtained by the imaging system to capture each color block of the standard color card.
- the image data of the color block is imaged and generated in the imaging system; the image data of the color block is usually stored in the color data of the pixel dot matrix, for example, RGB format. Stored color data. Since the colors in the patches are consistent, the color data of each pixel of the image of the patch generated in the imaging system will be substantially the same; then, a pixel, such as the patch center point, can be obtained therefrom.
- the color data of the pixel is used as the initial color data of the color block; or, the color data of each pixel of the color block is averaged, and the average value is used as the initial color data of the color block.
- the initial color data of the obtained color block is the color data of the first format
- the storage format of the initial color data of the color block is generally directly related to the device characteristics, and generally, R, G, and B are red, green, and blue.
- Representation, ie RGB format That is, the first format in this article is the color format of the device color space such as the RGB format or the CMY format applied to the printer.
- the initial color data of the first format of the obtained color block may specifically be color data of the RGB format, that is, RGB three channel data values RGD, G GD , B GD , that is, three channel data values RG D of red, green, and blue . , G GD , B gd .
- RQ D , G OD , B gd may be related to the color block R, G, B standard value deviation.
- S103 Perform crosstalk elimination on the initial color data of each color block to obtain color data after eliminating crosstalk of each color block.
- the RGB channel of the sensor of the imaging system is selectively implemented using the pass spectrum (color) of the tinted glass.
- the physical realization of the filter characteristics of colored glass is that RGB cannot be completely isolated, so that the energy of the other two channels (spectrum) is mixed in the sensitization of one channel (spectrum), which will bring the channel into induction.
- the physical filter curve (crosstalk curve) of each channel is The AQE curve is part of the sensor's metrics. The crosstalk matrix can be found using the AQE curve to achieve crosstalk reduction.
- crosstalk elimination is a must.
- the crosstalk conversion is performed separately for the color data of the RGB format of each color patch generated in the imaging system, that is, the RGB initial color data for each color patch, that is, the three channel data values RQ D , G GD . GD , according to the absolute quantum efficiency curve (AQE) of the sensor, the crosstalk conversion is performed, and the cross-talking RGB format color data R K , G K , ⁇ ⁇ is obtained; thereby obtaining the crosstalk-removed color data of each color block, specifically
- the crosstalk reduction is performed according to the following equation 1:
- K GD K rg R K + K gg G K + K bg B K (equation 1)
- K gg , K bb , K rg , K rb , Kg,, K gb , K br , K br setting parameters; specifically, K ff , K gg , K bb are the self-coupling coefficients of the sensor, K , K A , Kgr , K gb , K to , K br are the mutual interference coefficients of the sensors.
- K gg , Kb b , K rg , K A , K gr , K gb , K br , K br can be as follows:
- Ron r R K + K gr G K + K br B K + K, Ir K
- K rr , Kg g , K bb , K rb , K gr , K gb , K br , K br , K ir , K ig , ⁇ are setting parameters; specifically, K rr , K gg , 6 are the self-coupling coefficients of the sensor, Krg, K rb , K ⁇ ,
- K gb , K br the mutual interference coefficient of the sensor, K ir , K ig , and the interference coefficient of the infrared band of the sensor.
- S104 Convert standard color data of each color block into HSI format data, and convert the crosstalk-removed color data of each color block into data of HSI format.
- the color data of the first format is difficult to visually represent the distortion characteristics; therefore, in the actual application, various data formats such as HSI, HSV, etc., which are easy to operate and have a hue of Hue as the core color attribute, are also applied.
- These formats of other color data that are convenient for distortion correction are referred to herein as the second format; that is, the second format includes: HSI, HSV, HSB, HSL, LCH, HG1C1 and the like.
- the HSI format is used as the second format as an example. The specific method is the same as the technical solution in the embodiment of the present invention, and the details are not described herein.
- the standard color data of the above color patches is usually the color data of the first format.
- the color data of the color block of the imaging system may be deviated due to the lens, color CCD/CMOS photoelectric sensor device and CCD/CMOS auxiliary processing circuit. Therefore, the standard color data of the color block may be related to the imaging. There is a deviation in the initial data of the patch in the system.
- each color patch is used to eliminate crosstalk color data in the imaging system, such as eliminating crosstalk RGB format color data R K , G K , ⁇ ⁇ into HSI format data: H K , S K , ⁇ ⁇ , thereby obtaining HSI format color data after crosstalk cancellation.
- Standard color data of each color patch such as standard RGB format color data
- HSI format data H s , S s , I s , thereby obtaining standard color data of the second format of each color patch. Since the method of converting RGB format color data into HSI format data is well known to those skilled in the art, no further details are provided herein. Table 2 below shows the standard RGB format color data of each color patch in the color card and the color data of the corresponding HSI format:
- Table 3 shows the RGB format color data after crosstalk elimination for each color block in the color card and the corresponding HSI format color data:
- S105 determining, for each color block, standard color data of the second format of the color block and the color block The correspondence between the color data of the second format after the crosstalk is eliminated, and the prior knowledge of the color distortion of the imaging system is obtained according to the correspondence relationship.
- the color block For each color block, establish a correspondence between the standard color data of the second format of the color block and the second format color data of the color block after the crosstalk is eliminated: For example, for a color block, the color block The second format is that the standard color data of the HSI format is 3 ⁇ 4, S s , I s , and the second format color data of the color block after crosstalk cancellation is H K , S K , ⁇ ⁇ ; then the data H s is established, Correspondence between S s , I s and data H K , S K , ⁇ .
- the correspondence between the HSI format data can be embodied as the correspondence between the three components of H, S, and I, that is, the specific embodiment. It is the correspondence between 3 ⁇ 4 and ⁇ ⁇ , the correspondence between S s and S K , and the correspondence between I s and ⁇ ⁇ . That is to say, the correspondence between the standard color data of the second format of the color patch and the second format color data of the color block after the crosstalk cancellation can be embodied in three components of the second format data: color tone Correspondence between Hue component, color saturation Satuation component, color intensity (or brightness) Intensity component. According to the correspondence of the data on these three components, three curves can be drawn separately: HLUT curve, SLUT curve, ILUT curve.
- the HLUT is generated according to the correspondence between the standard color data of the HSI format of the color block and the HSI format color data of the color block after the crosstalk cancellation.
- Figure lb shows an HLUT curve which is based on the H component of the second format color data after the crosstalk of the color block is removed, and the H component of the standard color data of the second format of the color block as the vertical axis. The resulting curve is fitted within the coordinate system.
- the H component of the standard color data of the second format of the color block may be the horizontal axis
- the H component of the color data of the second format after the crosstalk cancellation of the color block is the coordinate system of the vertical axis. Curve.
- a SLUT curve is generated according to the correspondence between the standard color data of the HSI format of the color block and the HSI format color data of the color block after the crosstalk cancellation; the SLUT curve may be a color block.
- the S component of the second format color data after the crosstalk is eliminated is the horizontal axis, and the S component of the standard color data of the second format of the color block is a curve fitted within the coordinate system of the vertical axis.
- the S component of the standard color data of the second format of the color block may be the horizontal axis, and the s component of the color data of the second format after the crosstalk of the color block is corrected to be the coordinate system of the vertical axis. Curve.
- the HIT format data according to the standard color data of the color block and the HSI format data of the cross-color data after cross-talk elimination are generated on the I component, and an ILUT curve is generated;
- the ILUT curve may be a color
- the I component of the second format color data after the crosstalk cancellation of the block is the horizontal axis
- the I component of the standard color data of the second format of the color block is the curve fitted in the coordinate system of the vertical axis.
- the I component of the standard color data of the second format of the color patch may be the horizontal axis
- the I component of the second format color data of the second block after the crosstalk of the color block is fitted to the coordinate system of the vertical axis. Curve.
- HLUT, SLUT and ILUT refer not only to HLUT, SLUT and ILUT in color appearance color space HSI, but to any HLUT in color color space containing color hue Hue, color saturation Satuation and color intensity Intensity, SLUT and ILUT, regardless of the specific definition of color hue, color saturation, and color intensity in their respective color appearance spaces. That is, HLUT refers to a color hue Hue transform LUT, SLUT refers to a color saturation Satuation transform LUT, ILUT refers to a generalized color intensity Intensity transform ILUT, and the generalized color intensity may include color intensity or brightness or brightness or brightness.
- This paper describes the generation method of HLUT curve, SLUT curve and ILUT curve by taking HSI format as an example.
- For other formats in the second format according to the standard color data of the second format of each color block and the crosstalk elimination of the color block.
- the correspondence between the second format color data is the same as the method for obtaining the HLUT curve, the SLUT curve, and the ILUT curve, and is not listed here.
- the specific meaning of color saturation and color intensity may be different from the specific meaning in HIS.
- Table 4 shows the correspondence between the standard HSI format color data of the patch and the HSI format color data of the patch after crosstalk elimination:
- HLUT, SLUT, ILUT curves can be saved as functions. It can also be saved in the form of a table. If the HLUT, SLUT, and ILUT curves are saved as functions, the resulting HLUT curve function, SLUT curve function, and ILUT curve function are prior knowledge of the color distortion of the imaging system; if, HLUT, SLUT, ILUT curves are tabulated The form is saved, and the obtained HLUT curve table, SLUT curve table, and ILUT curve table are the prior knowledge of the color distortion of the imaging system.
- the acquired color distortion prior knowledge can be advanced. It is stored in the imaging system; afterwards, the imaging system can use these color distortion prior knowledge to correct the color distortion of the captured image.
- the flow of the color distortion correction method in an imaging system provided by the embodiment of the present invention, as shown in FIG. 2, includes the following steps:
- the imaging system captures a subject, and obtains initial image data of the subject. After the imaging system takes a picture of the subject, the image is usually stored in color data of a pixel dot matrix, such as color data stored in the RGB format.
- the image data corrected without the color distortion is referred to as initial image data, for example, the image data of the image captured by the imaging system is the initial image data before the color distortion correction is performed on the image data in the imaging system.
- the initial image data is in the first format.
- step S202 Perform crosstalk elimination on the initial image data to obtain image data after crosstalk cancellation.
- the method of canceling crosstalk of the initial image data is the same as that previously described in step S103, and will not be described again.
- the image data after the crosstalk is eliminated is obtained. If the initial image data is data in RGB format, the image data after eliminating crosstalk is still
- Table 5 below shows the correspondence between the initial image data and the RGB format color data after crosstalk removal:
- S203 Convert the crosstalk-removed image data into the second format data, and obtain the second format image data after the crosstalk is eliminated.
- the RGB format image data after the crosstalk cancellation is converted into the HSI format data, thereby obtaining the second format image data after the crosstalk is eliminated.
- S204 Perform color distortion correction on the second format image data after the crosstalk is eliminated according to the prior knowledge of the color distortion of the imaging system, to obtain the corrected second format image data.
- the second format data corresponding to the second format image data after the crosstalk cancellation is determined, and the corrected second format is obtained.
- Image data Specifically, the second format after crosstalk is eliminated
- the image data is substituted into the HLUT curve function, the SLUT curve function, and the ILUT curve function, and the corresponding second format data is calculated, thereby obtaining the corrected second format image data.
- the second format is the HSI format
- the data of a certain pixel in the second format image data after the crosstalk is eliminated, Si
- the H-format data can be calculated by substituting into the HLUT curve function.
- Component 3 ⁇ 4 substituting Si into the SLUT curve function can calculate the S component S 2 of the corresponding HSI format data, and substituting ⁇ into the ILUT curve function can calculate the I component 1 2 of the corresponding HSI format data, thereby obtaining the The pixels are corrected in HSI format data 3 ⁇ 4, S 2 , 1 2 .
- the HSI format data corresponding to the second format image data after the crosstalk cancellation is determined, and the corrected second is obtained.
- Format image data Specifically, the corresponding HSI format data is searched in the HLUT curve table, the SLUT curve table, and the ILUT curve table according to the second format image data after the crosstalk is eliminated, thereby obtaining the corrected second format image data.
- the second format is the HIS format
- the data of a pixel in the second format image data after the crosstalk is eliminated, Si, I are found in the HLUT curve table and the corresponding H value, assuming the HLUT curve.
- Table 6 shows the correspondence between the second format image data after the crosstalk cancellation and the corrected second format image data (ie, the standard HSI format color data of the color patch), which can be stored in the HLUT curve table, SLUT.
- the curve table ILUT curve table:
- S205 Convert the corrected second format image data into data of the first format, and obtain corrected image data of the first format, thereby obtaining final corrected image data.
- the color distortion correction of the color object can be performed by the method shown in FIG. 2 above.
- the color distortion prior knowledge can be corrected for color distortion.
- S301 Obtain a calibration curve function or a calibration curve table.
- the calibration curve function is determined according to the methods of steps S101-S105 above: HLUT curve function, SLUT curve function, ILUT curve function; or a calibration curve table is determined: HLUT curve table, SLUT curve table, ILUT curve table.
- S302 Perform color distortion correction on the second format color data after crosstalk cancellation of each color block according to a calibration curve function or a calibration curve table, and obtain corrected second format color data of each color block.
- the corresponding second format color data is calculated according to the calibration curve function, and the corresponding second format color data is the corrected second format of the color block.
- Color data or,
- the corresponding second color The format color data is the corrected second format color data of the patch.
- S303 Convert the corrected second format color data of each color block into color data of the first format, and respectively obtain color data of the corrected first format of each color block.
- the color data comparison table is the prior knowledge of the color distortion of the imaging system. For example, if the RG D , G GD , and B GD values have a total of 16777216 combinations at the 8-bit data depth, the color data comparison table stores 16777216 R S and G S corresponding to the R GD , G GD , and B GD values. B S value.
- Table 7 shows the correspondence between the initial color data of a color patch and the corrected color data of the color patch, and Table 7 can be stored in the color data comparison table as a priori knowledge of the color distortion of the imaging system.
- the acquired color data comparison table may be pre-stored in the imaging system; thereafter, the imaging system The color distortion correction can be performed on the captured image using the color data comparison table.
- the flow of the color distortion correction method in another imaging system provided by the embodiment of the present invention, as shown in FIG. 4, includes the following steps:
- S401 The imaging system captures a subject, and obtains initial image data of the subject. After the imaging system takes a picture of the subject, the image is usually stored in color data of a pixel dot matrix, such as color data stored in the RGB format. Before the color distortion correction is performed on the image data in the imaging system, the image data of the image taken by the imaging system is referred to as initial image data.
- the initial image data is image data of the first format.
- S402 Acquire data corresponding to the initial image data according to the color data comparison table, and use the acquired corresponding data as the corrected image data, thereby completing color distortion correction on the initial image.
- the data corresponding to the initial image data is found in the color data comparison table acquired according to the method shown in FIG. 3, and the searched data corresponding to the initial image data is used as the corrected image.
- Image data For example, the data of a certain pixel in the initial image data is RGD, G GD , B GD , and the data corresponding to the data in the color data comparison table is R s , G s , B s , then the data R s , G s , B s are used as corrected image data for the pixel.
- a flow of a priori knowledge acquisition method for color distortion of an image output system according to an embodiment of the present invention, as shown in FIG. 5, includes the following steps:
- S501 The output system outputs an image of each color block according to standard color data of each color block of the standard color card, and obtains an image of each color block.
- the standard color data of a color patch is R s , G s , B s
- the output system outputs an image of the color block according to the color data
- the image may be a rectangular block, and the color of all the pixels in the image.
- the data are all Rs, G s , B s .
- S502 Acquire image data of an image of each color block output by the output system, and determine output color data of each output color block.
- the image data is collected by using the undistorted image data acquisition system, and the color data of the pixels in the collected image data is used as the output color data of the color block, and the output color data of the color block is Color data in the first format.
- the color data of all the pixels of the image data should be substantially identical; therefore, the color data of one of the pixels may be used as the output color data of the color block; or, The average of the color data of all the pixels is used as the output color data of the patch.
- S503 Convert standard color data of each color block into second format data, and convert output color data of each color block into data of a second format, such as HSI format data.
- the standard color data of the color block is the color data of the first format.
- the reason for printing ink it may cause deviations in the output color data of each color block, and thus the output color data of the color block may deviate from the standard color data of the color block.
- standard color data of each color block is converted into HSI format data
- standard color data of the second format of each color block is obtained; after the output color data of each color block is converted into data of the HSI format, the second format output color of each color block is obtained. data.
- S504 determining, for each color block, standard color data of the second format of the color block and the color block The second format outputs the correspondence between the color data, and the color distortion of the imaging system is obtained according to the corresponding relationship.
- a correspondence between the standard color data of the second format of the color block and the second format output color data of the color block is established: for example, for a color block, the second color of the color block
- the standard color data of the format is H s , S s , I s
- the second format output color data of the color block is H w , S w , I w
- the data 3 ⁇ 4, S s , I s and data H w are established.
- S w and I w Correspondence between S w and I w . Since the HSI format data is represented by three quantities of H, S, and I, the correspondence between the HSI format data can be embodied as the correspondence between the three components of H, S, and I, that is, the specific embodiment.
- the standard color data of the second format of the color patch and the second format of the color patch output a plurality of sets of correspondences of the full color range of the color data on the H component, The fit generates a HLUT curve.
- the standard color data of the second format of the color block and the second format of the color block output a plurality of correspondences of the full saturation range of the color data on the S component, and the fitting is generated.
- SLUT curve For a plurality of color patches of a full range, the standard color data of the second format of the color block and the second format of the color block output a plurality of correspondences of the full saturation range of the color data on the S component, and the fitting is generated. SLUT curve.
- the correspondence between the HSI format data of the standard color data of the color block and the multi-component quantity of the second format output color data of the color block in the I full intensity range is fitted to the ILUT. curve.
- the HLUT, SLUT, and ILUT curves can be saved as functions or in the form of tables. If the HLUT, SLUT. ILUT curve is saved as a function, the obtained HLUT curve function, SLUT curve function, ILUT curve function is the prior knowledge of the color distortion of the imaging system; if, HLUT, SLUT. ILUT curve is in the table The form is saved, and the obtained HLUT curve table, SLUT curve table, and ILUT curve table are the prior knowledge of the color distortion of the imaging system.
- the acquired color distortion prior knowledge can be obtained.
- the image output system Pre-stored in the image output system; after that, the image output system can use these color distortion prior knowledge to perform color distortion correction on the color image before outputting the color image, thereby outputting a color image without color distortion.
- the flow of the color distortion correction method in the imaging system provided by the embodiment of the present invention, as shown in FIG. 6, includes the following steps:
- the image output system receives image data of an image to be output.
- the image data of the image to be output received by the image output system is typically stored in color data of a pixel matrix of a first format, such as color data stored in RGB format.
- the image data corrected without color distortion is referred to herein as initial image data, for example, the image data is initial image data before color distortion correction is performed on the image data in the image output system.
- S602 Converting the data into the second format to obtain the second format image data before the correction.
- the method for converting the image from the first format data to the second format data is the same as the method described in the above step S203, and details are not described herein again.
- S603 Perform color distortion correction on the second format image data before the correction according to the prior knowledge of the color distortion of the image output system, to obtain the corrected second format image data.
- the specific method of correction is: for the prior knowledge of the color distortion obtained according to the method steps shown in FIG. 5, for example, the standard color data of the second format of the color patch is indicated in the HLUT curve function, the SLUT curve function, the ILUT curve function, and the The second format of the color block outputs a correspondence relationship between the color data; and the second format image data before the correction is substituted into the HLUT curve function, the SLUT curve function, and the ILUT curve function as the second format output color data of the color block.
- the standard color data of the second format of the corresponding color patch, the calculated standard color data of the second format of the corresponding color patch is used as the obtained corrected second format image data.
- the SLUT curve table, the ILUT curve table the correspondence between the standard color data of the second format of the color block and the second format output color data of the color block is indicated; in the HLUT curve table, SLUT Finding the same data as the second format image data before correction in the second format output color data of the color block of the curve table and the ILUT curve table, and according to the correspondence relationship recorded by the HLUT curve table, the SLUT curve table, and the ILUT curve table, The data of the second format corresponding to the found data is determined, and the second format data determined according to the correspondence relationship is used as the corrected second format image data.
- S604 Convert the corrected second format image data into data of the first format to obtain corrected first format image data, thereby obtaining final corrected image data.
- S605 Perform image output according to the corrected first format image data.
- printing, projection or display is performed based on the corrected RGB format image data, thereby outputting a color image free from color distortion.
- Another color distortion prior knowledge acquisition method process of the image output system provided by the embodiment of the present invention, as shown in FIG. 7, includes the following steps:
- the calibration curve function is determined according to the methods of steps S501-S504 above: HLUT curve function, SLUT curve function, ILUT curve function; or a calibration curve table is determined: HLUT curve table, SLUT curve table, ILUT curve table.
- S702 Perform color distortion correction on the second format output color data of each color block according to the calibration curve function or the calibration curve table, and obtain corrected second format color data of each color block.
- the prior knowledge of color distortion is HLUT curve function, SLUT curve function, ILUT curve function, HLUT curve function, SLUT curve function,
- the ILUT curve function indicates a correspondence between the standard color data of the second format of the color block and the second format output color data of the color block; and the second format output color data of the color block is used as the second format of the color block.
- the output color data is substituted into the HLUT curve function, the SLUT curve function, the ILUT curve function to calculate the standard color data of the second format of the corresponding color block, and the calculated standard color data of the second format of the corresponding color block is obtained as The corrected second format color data of the color block.
- the SLUT curve table, the ILUT curve table the correspondence between the standard color data of the second format of the color block and the second format output color data of the color block is indicated; in the HLUT curve table, SLUT In the second format output color data of the color block of the curve table and the ILUT curve table, the same data as the second format output color data of the color block is found, and the correspondence relationship is recorded according to the HLUT curve table, the SLUT curve table, and the ILUT curve table. And determining, in the second format data corresponding to the searched data, the second format data determined according to the correspondence relationship as the corrected second format color data of the color block.
- S703 Convert the corrected second format color data of each color block into color data of the first format, and respectively obtain color data of the corrected first format of each color block.
- the standard color data of a color patch is RG D , G GD , B gd
- the color data of the corrected first format of the color block is R S , G S , B S
- the data RG D , G GD The B gd and the data R S , G S , B S are correspondingly stored in the three-dimensional color data comparison table, so that the color data comparison table is the prior knowledge of the color distortion of the imaging system. For example, if the RQ D , G GD , and B GD values have a total of 16777216 combinations at the 8-bit data depth, the color data comparison table stores 16777216 R S and G S corresponding to the R GD , G GD , and B GD values. B S value.
- the acquired color data comparison table may be pre-stored in the image output system; thereafter, the image The output system can use the color data table to color the output image. Distortion correction, thereby outputting a color image without color distortion.
- the flow of the color distortion correction method in another image output image system provided by the embodiment of the present invention, as shown in FIG. 8, includes the following steps:
- the image output system receives image data of an image to be output.
- the image data of the image to be output received by the image output system is typically stored in color data of a pixel matrix of a first format, such as color data stored in RGB format.
- the image data corrected without color distortion is referred to herein as initial image data, for example, the image data is initial image data before color distortion correction is performed on the image data in the image output system.
- S802 Acquire data corresponding to the initial image data according to the color data comparison table, and use the acquired corresponding data as the corrected image data, thereby completing color distortion correction on the initial image.
- the correspondence between the standard color data of the color patch and the color data of the corrected first format of the color patch is stored in the color data comparison table acquired by the method shown in FIG. 7 according to FIG. 7
- the color data obtained by the method of the method finds the same data as the initial image data in the standard color data of the color block of the table, and determines the data corresponding to the found data according to the correspondence relationship recorded in the color data comparison table. Data, the corresponding data determined is used as the corrected image data.
- the data of a certain pixel in the initial image data is RGD, G GD , B gd , and the data RQ D , G GD , B gd are found in the standard color data of the color block of the color data comparison table, and according to the color data.
- the data corresponding to RGD, G QD , and B od is determined to be R S , G S , and B s in the correspondence relationship in the comparison table, the data R S , G S , and B S are used as the corrected image data of the pixel.
- the color distortion correction device 901 in the imaging system and the color distortion prior knowledge acquisition device 902 of the imaging system are provided in the embodiment of the present invention, as shown in FIG. 9a.
- the color distortion correcting device 901 in the imaging system includes: a color distortion prior knowledge storage module 911, an initial image data obtaining block 912, and an image data color correcting module 913.
- the color distortion prior knowledge acquisition device 902 of the imaging system comprises: a color block initial color data acquisition module 921, a crosstalk cancellation module 922, a format conversion module 923, and a color distortion prior knowledge generation module 924.
- the function of each module in the color distortion prior knowledge acquisition device 902 of the imaging system is as follows:
- the color block initial color data acquisition module 921 is configured to acquire the color blocks obtained by the imaging system after capturing the color blocks of the standard color card. Initial color data.
- the format of the initial color data of each color patch is the first format.
- the crosstalk canceling module 922 is configured to perform crosstalk conversion on the initial color data of each color block to obtain color data after crosstalk elimination of each color block.
- the color data after crosstalk elimination is still in the first format.
- the format conversion module 923 is configured to convert standard color data of each color block into HSI format data, to obtain standard color data of a second format of each color block; and convert color data after crosstalk cancellation of each color block For the HSI format data, the second format color data after the crosstalk is eliminated for each color block.
- the color distortion prior knowledge generation module 924 is configured to determine, for each color block, a correspondence between the standard color data of the second format of the color block and the second format color data of the color block after the crosstalk cancellation, and according to The correspondence relationship generates a priori knowledge of color distortion of the imaging system; wherein, the color distortion prior knowledge specifically includes: an HLUT curve function, a SLUT curve function, an ILUT curve function; or the color distortion prior knowledge specifically includes : HLUT curve table, SLUT curve table, ILUT curve table.
- each module in the color distortion correction device 901 in the imaging system is as follows:
- the color distortion prior knowledge storage module 911 is configured to store the color distortion prior face knowledge of the imaging system generated by the color distortion prior knowledge generating module 924 of the color distortion prior knowledge acquiring device 902; the color distortion prior knowledge specifically includes: HLUT Curve function, SLUT curve function, ILUT curve function; or, HLUT curve table, SLUT curve table, ILUT curve table.
- the initial image data acquisition module 912 is for photographing an object to obtain initial image data of the subject.
- the initial image data format of the commonly obtained subject is the first format.
- the image data color correction module 913 is configured to perform color distortion correction on the initial image data obtained by the initial image data acquiring module 912 according to the color distortion prior knowledge stored by the color distortion prior knowledge storage module 911, to obtain corrected image data;
- the color distortion prior knowledge specifically includes: an HLUT curve function, a SLUT curve function, an ILUT curve function; or the color distortion prior knowledge specifically includes: an HLUT curve table, a SLUT curve table, and an ILUT curve table.
- the image data color correction module 913 performs color distortion correction on the initial image data obtained by the initial image data acquisition module according to the color distortion prior knowledge stored by the color distortion prior knowledge storage module, and the method shown in FIG. 2 The details of the steps are not repeated here.
- a specific structure of the image data color correction module 913 includes a crosstalk canceling unit 931, a first converting unit 932, a color distortion correcting unit 933, and a second converting unit 934 as shown in Fig. 9b.
- each unit in the image data color correction module 913 is as follows:
- the crosstalk canceling unit 931 is configured to perform crosstalk conversion on the initial image data to obtain image data after crosstalk cancellation;
- the first converting unit 932 is configured to eliminate the The image data after the crosstalk is converted into the HSI format data to obtain the second format image data after the crosstalk is eliminated.
- the color distortion correcting unit 933 is configured to perform the second format image data after the crosstalk is eliminated according to the color distortion prior knowledge.
- Color distortion correction determining, according to the prior knowledge of the color distortion, second format data corresponding to the second format image data after the crosstalk is eliminated, and using the corresponding second format data as the corrected second format image Data; color distortion
- the specific method for performing the color distortion correction on the second format image data after the crosstalk is eliminated is described in detail in the above step S204, and is not described here.
- the second converting unit 934 is configured to convert the corrected second format image data into data of the first format to obtain final corrected image data.
- a color distortion correction device 1001 and a color distortion prior knowledge acquisition device 1002 of the imaging system are shown in FIG.
- the color distortion correction device 1001 in the imaging system includes: a color distortion prior knowledge storage module 1011, an initial image data acquisition module 1012, and an image data color correction module 1013.
- the color distortion prior knowledge acquisition device 1002 of the imaging system includes: a color block initial color data acquisition module 1021, and a color distortion prior knowledge generation module 1022.
- the function of each module in the color distortion prior knowledge acquisition device 1002 of the imaging system is as follows:
- the color block initial color data acquisition module 1021 is configured to acquire each color block obtained by the imaging system after capturing each color block of the standard color card. Initial color data;
- the initial color data of each color patch obtained after the shooting is usually the color data of the first format.
- the color distortion prior knowledge generating module 1022 is configured to obtain a calibration curve function or a calibration curve table; according to the calibration curve function or the calibration curve table, color distortion correction is performed on the second format color data after crosstalk cancellation of each color block, and each color block is obtained respectively.
- the corrected second format color data converting the corrected second format color data of each color block into color data of the first format, respectively obtaining color data of the corrected first format of each color block; for each color a block, determining a correspondence between the initial color data of the color block and the color data of the corrected first format of the color block, and storing the determined correspondence relationship in the color data comparison table;
- the calibration curve function or the calibration curve table is specifically: acquiring initial color data of each color block obtained by the imaging system after capturing each color block of the standard color card; the initial color data of the color block is the first format Performing crosstalk elimination on the initial color data of each color block to obtain color data after crosstalk elimination of each color block; converting standard color data of each color block into second format data, and obtaining standard color data of the second format of each color block; Converting the crosstalk-removed color data of each color block into the data of the second format, and obtaining the second format color data of each color block after the crosstalk is eliminated; wherein the standard color data of the color block is the first format; a color block, a correspondence between the standard color data of the second format of the color block and the second format color data of the color block after the crosstalk is eliminated, and determining a curve function according to the correspondence relationship includes: an HLUT curve Function, SLUT curve function, ILUT curve function, or determination curve table including: HLUT curve table, SLUT curve ,
- the functions of the modules in the color distortion correcting device 1001 in the imaging system are as follows:
- the color distortion prior knowledge storage module 1011 is used to store the color distortion prior knowledge acquiring module 1022 in the color distortion prior knowledge acquiring device 1002 of the imaging system.
- the initial image data acquisition module 1012 is configured to capture a subject and obtain initial image data of the subject.
- the initial image data of the commonly obtained subject is the data of the first format.
- the image data color correction module 1013 is configured to perform color distortion correction on the initial image data obtained by the initial image data acquiring module 1012 according to the color distortion prior knowledge stored by the color distortion prior knowledge storage module 1011, and obtain the corrected Image data.
- the image data color correction module 1013 performs the method of correcting the color distortion of the initial image data obtained by the initial image data acquiring module 1012 according to the prior knowledge of the color distortion, and is not described here.
- the color distortion correction device 1101 in the image output system and the color distortion prior knowledge acquisition device 1102 of the image output system are provided in the embodiment of the present invention, as shown in FIG. 11a.
- the color distortion correction device 1101 in the image output system includes: a color distortion prior knowledge storage module 1111, an image data receiving module 1112, and an image data color correction module 1113.
- the color distortion prior of the image output system includes: an output color data acquisition module 1121, a crosstalk cancellation module 1122, a format conversion module 1123, and a color distortion prior knowledge generation module 1124.
- the output color data acquisition module 1121 is configured to collect image data of images of the color patches output by the output system, and determine colors according to the collected image data.
- the output color data of the block usually the output color data of the color block is the color data of the first format.
- the format conversion module 1123 is configured to convert the standard color first format data of each color block into the second format data, to obtain standard color data of the second format of each color block; and convert the output color data of each color block into the data of the second format, Obtaining output color data of the second format of each color block; the color distortion prior knowledge generating module 1124 determines, for each color block, standard color data of the second format of the color block and output color data of the second format of the color block Corresponding relationship between the two, and generating a priori knowledge of color distortion of the image output system according to the correspondence relationship.
- the color distortion prior knowledge generation module 1124 generates the color distortion first risk knowledge method is the same as the method described in the above step S504, and details are not described herein again.
- the function of each module in the color distortion correcting device 1101 in the image output system is as follows:
- the color distortion prior knowledge storage module 1111 is configured to store the color distortion prior knowledge acquiring module in the color distortion prior knowledge acquiring device 1102 of the image output system.
- 1124 is a priori knowledge of the color distortion of the generated image output system;
- the image data receiving module 1112 is configured to receive the image data of the image to be output; and the format of the image data received by the image data receiving module 1112 may be specifically in the first format.
- the image data color correction module 1113 is configured to perform color distortion correction on the image data received by the image data receiving module 1112 according to the color distortion prior knowledge stored by the color distortion prior knowledge storage module 1111; wherein the color distortion prior knowledge Specifically, the method includes: an HLUT curve function, a SLUT curve function, and an ILUT curve function; or the prior knowledge of the color distortion specifically includes: a HLUT curve table, a SLUT curve table, and an ILUT curve table.
- the image data color correction module 1113 performs the method of correcting the color distortion of the received image data according to the prior knowledge of the color distortion, and the method described in the step shown in FIG. 6 is the same, and details are not described herein again.
- FIG. 1lib A specific internal structure of the image data color correction module 1113 is shown in FIG. 1lib, and includes: a first conversion unit 1132, a color distortion correction unit 1133, and a second conversion unit 1134.
- each unit in the image data color correction module 1113 is as follows:
- the first conversion unit 1132 is configured to convert the image data received by the image output system as the initial image first format data into the data of the second format to obtain the second format image data before the correction;
- the color distortion correcting unit 1133 is configured to: Performing color distortion correction on the second format image data before correction according to the prior knowledge of the color distortion: determining, according to the prior knowledge of the color distortion, the second format data corresponding to the second format image data before the correction, And the corresponding second format data is used as the corrected second format image data; the color distortion correcting unit 1133 performs color distortion correction on the second format image data before the correction according to the color distortion prior knowledge.
- the second converting unit 1134 is configured to convert the corrected second format image data into data of the first format to obtain final corrected image data.
- the color distortion correcting device 1201 in the image output system includes: a color distortion prior knowledge storage module 1211, an image data receiving module 1212, and an image data color correction module 1213.
- the color distortion prior knowledge acquisition means 1202 of the image output system comprises: an output color data acquisition module 1221, a color distortion prior knowledge generation module 1222.
- the function of each module in the color distortion prior knowledge acquiring device 1202 of the image output system is as follows:
- the output color data obtaining block 1221 is configured to collect image data of images of the respective color blocks output by the output system, and determine according to the collected image data. Output color data of each color block; usually, the output color data of the color block is color data of the first format.
- the color distortion prior knowledge generating module 1222 is configured to obtain a calibration curve function or a calibration curve table; perform color distortion correction on the second format output color data of each color block according to the calibration curve function or the calibration curve table, respectively, and obtain the corrected colors of the respective color blocks.
- the second format color data converting the corrected second format color data of each color block into the color data of the first format, respectively obtaining the corrected of each color block.
- the color data of the first format for each color block, determining a correspondence between the standard color data of the color block and the color data of the corrected first format of the color block, and storing the determined correspondence relationship in the
- the color data comparison table the color data comparison table is used as the color of the image output system.
- the method for acquiring the calibration curve function or the calibration curve table is: collecting image data of an image of each color block output by the output system, and determining output color data of each color block according to the collected image data; After the standard color data is converted into the second format, the standard color data of the second format of each color block is obtained; after the output color data of each color block is converted into the second format, the second format output color data of each color block is obtained; a color block, determining a correspondence between standard color data of the second format of the color block and output color data of the second format of the color block, and determining a curve function according to the correspondence relationship, including: HLUT curve function, SLUT curve function , ILUT curve function, or determine the curve table includes: HLUT curve table, SLUT curve table, ILUT curve table.
- the color distortion prior knowledge generating module 1222 generates the color distortion prior knowledge of the image output system in the same manner as the method shown in FIG. 7 above, and details are not described herein again.
- the function of each module in the color distortion correcting device 1201 in the image output system is as follows:
- the color distortion prior knowledge storage module 1211 is used to store the color distortion prior knowledge acquiring module 1202 in the color distortion prior knowledge acquiring device 1202 of the image output system.
- the image data receiving module 1212 is configured to receive the image data of the image to be output.
- the image data color correction module 1213 is configured to receive the color distortion prior knowledge stored by the color distortion first face knowledge storage module 1211, and receive the image data receiving module 1212.
- the obtained image data is subjected to the color distortion correction; the image data color correction module 1213 performs the color distortion correction on the received image data according to the color distortion prior knowledge, and is not described here.
- the color distortion a priori knowledge of the imaging system or the image output system is obtained in advance, that is, the color distortion characteristic of the imaging system or the image output system is known in advance, so that the image of the captured image can be obtained according to the color distortion prior knowledge of the system.
- the image data is subjected to color distortion correction to eliminate the color deviation of the color image introduced by the characteristics of the system device itself, and achieve the goal of "what you see is what you get". This can be done by a program that instructs the associated hardware, which can be stored in a computer readable storage medium such as: ROM/RAM, disk, CD, and so on.
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/119,419 US20140098258A1 (en) | 2011-05-26 | 2012-05-25 | Color distortion correction method and device for imaging systems and image output systems |
EP12788831.1A EP2717155A4 (en) | 2011-05-26 | 2012-05-25 | METHOD AND DEVICE FOR CORRECTING COLOR DISTORTION FOR IMAGING SYSTEMS AND PICTURE DISPENSING SYSTEMS |
JP2014511723A JP2014515574A (ja) | 2011-05-26 | 2012-05-25 | 画像形成システム又は画像出力システムにおける色歪みの補正方法及び装置 |
Applications Claiming Priority (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110139386 | 2011-05-26 | ||
CN201110139386.0 | 2011-05-26 | ||
CN201110151415.5 | 2011-06-08 | ||
CN201110151415 | 2011-06-08 | ||
CN201210135814.7A CN102946501B (zh) | 2011-05-26 | 2012-05-03 | 成像系统或图像输出系统中颜色畸变校正方法及装置 |
CN201210135814.7 | 2012-05-03 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012159586A1 true WO2012159586A1 (zh) | 2012-11-29 |
Family
ID=47216618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/076097 WO2012159586A1 (zh) | 2011-05-26 | 2012-05-25 | 成像系统或图像输出系统中颜色畸变校正方法及装置 |
Country Status (5)
Country | Link |
---|---|
US (1) | US20140098258A1 (zh) |
EP (1) | EP2717155A4 (zh) |
JP (1) | JP2014515574A (zh) |
CN (1) | CN102946501B (zh) |
WO (1) | WO2012159586A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104964745B (zh) * | 2015-07-20 | 2017-08-04 | 京东方科技集团股份有限公司 | 屏幕按压发黄判定方法及判定装置 |
KR102167287B1 (ko) | 2015-12-16 | 2020-10-19 | 닝보 써니 오포테크 코., 엘티디. | 렌즈의 조정에 의한 광학 시스템의 결상 품질 보상 방법 |
CN107623845B (zh) * | 2016-07-13 | 2019-09-06 | 中国科学院上海高等研究院 | 一种基于先验知识的图像处理方法及装置 |
CN106375636B (zh) * | 2016-10-10 | 2018-07-17 | 硕诺科技(深圳)有限公司 | 一种相机的闪光的渐晕效应的补偿方法 |
CN108174183A (zh) * | 2018-01-11 | 2018-06-15 | 鲁东大学 | 一种基于物联网的vr影像数据控制系统 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225778A (zh) * | 1997-03-14 | 1999-08-11 | 索尼公司 | 色彩修正装置和修正方法,图像处理装置和处理方法 |
CN1437097A (zh) * | 2002-02-07 | 2003-08-20 | 唯特科技股份有限公司 | 影像色彩校正的装置及方法 |
CN1568018A (zh) * | 2003-06-17 | 2005-01-19 | 明基电通股份有限公司 | 色彩修正装置及方法 |
US7561194B1 (en) * | 2003-10-17 | 2009-07-14 | Eastman Kodak Company | Charge diffusion crosstalk reduction for image sensors |
CN101968726A (zh) * | 2010-09-03 | 2011-02-09 | 云南师范大学 | 显示器到投影仪颜色再现装置及实现方法 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060034509A1 (en) * | 2004-08-16 | 2006-02-16 | Ning Lu | Color remapping |
US20080158396A1 (en) * | 2006-08-07 | 2008-07-03 | Transchip, Inc. | Image Signal Processor For CMOS Image Sensors |
-
2012
- 2012-05-03 CN CN201210135814.7A patent/CN102946501B/zh active Active
- 2012-05-25 US US14/119,419 patent/US20140098258A1/en not_active Abandoned
- 2012-05-25 JP JP2014511723A patent/JP2014515574A/ja active Pending
- 2012-05-25 WO PCT/CN2012/076097 patent/WO2012159586A1/zh active Application Filing
- 2012-05-25 EP EP12788831.1A patent/EP2717155A4/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1225778A (zh) * | 1997-03-14 | 1999-08-11 | 索尼公司 | 色彩修正装置和修正方法,图像处理装置和处理方法 |
CN1437097A (zh) * | 2002-02-07 | 2003-08-20 | 唯特科技股份有限公司 | 影像色彩校正的装置及方法 |
CN1568018A (zh) * | 2003-06-17 | 2005-01-19 | 明基电通股份有限公司 | 色彩修正装置及方法 |
US7561194B1 (en) * | 2003-10-17 | 2009-07-14 | Eastman Kodak Company | Charge diffusion crosstalk reduction for image sensors |
CN101968726A (zh) * | 2010-09-03 | 2011-02-09 | 云南师范大学 | 显示器到投影仪颜色再现装置及实现方法 |
Non-Patent Citations (2)
Title |
---|
See also references of EP2717155A4 * |
XU, WEI ET AL.: "Research of Color Correction Algorithm in Image-based Virtual Space", JOURNAL OF CHINESE COMPUTER SYSTEMS, vol. 22, no. 2, February 2001 (2001-02-01), pages 165 - 167, XP008171525 * |
Also Published As
Publication number | Publication date |
---|---|
EP2717155A4 (en) | 2015-03-25 |
EP2717155A1 (en) | 2014-04-09 |
JP2014515574A (ja) | 2014-06-30 |
CN102946501A (zh) | 2013-02-27 |
CN102946501B (zh) | 2015-03-04 |
US20140098258A1 (en) | 2014-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8890974B2 (en) | Methods and systems for automatic white balance | |
JP2018098630A5 (zh) | ||
US8023010B2 (en) | Defective pixel correction device | |
US20080043117A1 (en) | Method and Apparatus for Compensating Image Sensor Lens Shading | |
US8717460B2 (en) | Methods and systems for automatic white balance | |
JP2000311243A (ja) | 画像色補正方法及び装置 | |
WO2012159586A1 (zh) | 成像系统或图像输出系统中颜色畸变校正方法及装置 | |
JP2008085659A (ja) | デジタルカメラ | |
US20160088266A1 (en) | Automatic image color correciton using an extended imager | |
JP2004032060A (ja) | カラー画像信号処理方法およびカラー画像出力装置並びに撮影装置 | |
KR20090097796A (ko) | 색수차 정정 방법 | |
US9288456B2 (en) | Image processing apparatus and method | |
JP5523078B2 (ja) | 画像処理装置および画像処理方法 | |
JP2003149050A (ja) | 測色装置、測色方法、測色制御プログラムおよび測色制御プログラムが格納されたコンピュータ読み取り可能な記録媒体 | |
US8804025B2 (en) | Signal processing device and imaging device | |
US7512266B2 (en) | Method and device for luminance correction | |
KR101925370B1 (ko) | 영상 투영 장치에 대한 색 보정 장치 및 방법 | |
US20150092205A1 (en) | Image processing apparatus, image processing method, and recording medium | |
JP3539883B2 (ja) | 画像処理方法および装置、記録媒体、撮像装置並びに画像再生装置 | |
US20100177210A1 (en) | Method for adjusting white balance | |
JP4240257B2 (ja) | 電子カメラ | |
US9355471B2 (en) | Color balancing apparatus for multiple image synthesis and method therefor | |
US10356255B2 (en) | Image processing apparatus, projection apparatus, image processing method, projection method, and storage medium | |
JP2017112421A (ja) | 画像処理装置、撮像装置および画像処理プログラム | |
CN114463201A (zh) | 颜色校正方法、装置及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12788831 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012788831 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2014511723 Country of ref document: JP Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 14119419 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |