Search

CN-121981893-A - Near monochromatic light source color mixing white light achromatic high-image quality imaging method

CN121981893ACN 121981893 ACN121981893 ACN 121981893ACN-121981893-A

Abstract

The invention discloses a near monochromatic light source color mixing white light achromatic high-image quality imaging method, and belongs to the technical field of optical imaging and image processing. The method comprises the following steps of S1, configuring a red, green and blue near-monochromatic mixed-color white light source, S2, collecting standard color card data and white standard area reference data of a xenon lamp and mixed-color white light, S3, correcting color deviation in the imaging of the mixed-color white light source based on the color card data and the reference data, S4, adjusting and synchronously correcting position deviation and intensity calibration of a red channel and a blue channel based on a green channel, and S5, enhancing image contrast based on a Sobel operator. By adopting the near monochromatic light source color mixing white light achromatic high-quality imaging method, the problems of near monochromatic light imaging chromatic aberration and channel position deviation are solved, and achromatic, high-definition and high-color reduction high-quality imaging is realized.

Inventors

  • YAN GUOHUA
  • DU YIYUAN
  • ZHANG SHIJIE
  • ZHANG SHUAI
  • HUANG MEI

Assignees

  • 华北电力大学

Dates

Publication Date
20260505
Application Date
20260302

Claims (8)

  1. 1. A near monochromatic light source color mixing white light achromatic high-image quality imaging method is characterized by comprising the following steps: S1, configuring a red, green and blue near-monochromatic mixed-color white light source; s2, collecting standard color card data and white standard area reference data of the xenon lamp and the mixed white light; s3, correcting color deviation in the imaging of the mixed-color white light source based on the color card data and the reference data; s4, adjusting and synchronously correcting the position offset and the intensity calibration of the red channel and the blue channel by taking the green channel as a reference; s5, enhancing the image contrast based on the Sobel operator.
  2. 2. The method for near-monochromatic light source color mixing white light achromatic high-quality imaging according to claim 1, wherein S1 comprises: s11, measuring and acquiring red, green and blue three-channel photoelectric efficiency data of a target imaging photoelectric detector through a spectrometer, and taking the data as a light color screening basis; S12, screening red near monochromatic light, green near monochromatic light and blue near monochromatic light respectively, wherein the photoelectric response value of the three near monochromatic lights in a corresponding channel of the detector is not less than 80% of the maximum response value of the channel, and the response values of other channels are not more than 10% of the response values of the corresponding channels; S13, combining the red, green and blue near-monochromatic light which is qualified through S12 screening to form mixed-color white light.
  3. 3. The method for near-monochromatic light source color mixing white light achromatic high-quality imaging according to claim 2, wherein S2 comprises: S21, using a xenon lamp as a continuous white light reference light source, setting an object plane as a uniform diffuse reflection white screen, adjusting illumination to enable the maximum value of three-channel data to reach 90% -95% of a sampling value of a photoelectric imaging device, and collecting light intensity data in the object plane white screen area when the xenon lamp light source and the mixed color white light source are used for illumination; S22, setting a white standard area to be annular, placing a plurality of groups of standard color cards in the center, adjusting the light intensity to ensure that the maximum value of three-channel data in an imaging area does not exceed the sampling extremum of a photoelectric imaging device, and respectively collecting the three-channel light intensity data of the standard color cards and the three-channel light intensity data of the white standard area under the condition of a xenon lamp and mixed color white light.
  4. 4. The method for near-monochromatic light source color mixing white light achromatic high-quality image forming according to claim 3, wherein S3 comprises: S31, when the xenon lamp and the mixed color white light are used for illumination, gaussian filtering is adopted to carry out denoising treatment on three-channel object plane white screen data acquired by the detector, and then pixel point data of each channel image are divided by the maximum extremum of the corresponding channel image respectively to obtain respective object plane light intensity correction matrixes of each channel of the xenon lamp and the mixed color white light, and the correction matrixes are used for correcting the light intensity of each region of measured object plane data; s32, calling the light intensity correction matrix obtained in S31, and respectively correcting the original data of the annular white standard area and the original data of the standard color card in the process of illuminating the xenon lamp and the mixed color white light pixel by pixel to finish the light intensity calibration of each area; S33, respectively extracting the corrected data of each channel of the white reference area under the illumination of the xenon lamp and the corrected data of each channel of the white reference area under the illumination of the mixed color white light by taking the light intensity ratio of the white reference area red to green to blue as a reference, calculating the calibration ratio of each channel of the white reference area under the illumination of the xenon lamp, correcting the data of each channel of the white reference area to be 1:1:1 through the calibration ratio, correcting the corresponding channel data of the standard color card area under the illumination of the xenon lamp according to the calibration ratio, and obtaining the response value of each color card area on the detector when the xenon lamp is illuminated; S34, based on the standard color card area response values of the xenon lamp and the mixed color white light in S33, a single-channel mapping relation model of each channel data of the mixed color white light and the corresponding channel data of the xenon lamp is established by adopting a polynomial fitting algorithm of 3 times, and a best fitting curve of each channel is obtained by solving, wherein the formula of the polynomial of 3 times is as follows: ; Wherein, the For the color-mixed white light channel data, For the xenon lamp corresponding channel data, 、 、 、 Fitting coefficients; S35, correcting the light intensity of each area by using the S32 correction matrix according to the mixed color white light imaging data of the object to be detected, and correcting the light intensity data of the object plane area by using the light intensity proportion of red to green and blue in the white reference area as 1:1:1; S36, correcting the light intensity values of all channels of the color-mixed white light after the correction of S35 based on the mapping relation curve of all channels obtained in the S34, and completing color restoration of the object to be detected.
  5. 5. The method for near-monochromatic light source color mixing white light achromatic high-quality image forming according to claim 4, wherein S4 comprises: s41, setting equidistant two-dimensional array white light reflection lattices in an object plane imaging area, and collecting three-channel lattice imaging data; s42, calculating a lattice center coordinate through a centroid algorithm, wherein the formula is as follows: ; Wherein, the 、 Is a channel Is the first of (2) The centroid coordinates of the individual lattice are calculated, Is a channel At the position of The light intensity value at the pixel location, Respectively corresponding to a red channel, a green channel and a blue channel; s43, calculating differences between the mass center positions of each point in the dot matrix corresponding to the red and blue channels and the corresponding point in the green dot matrix by taking the dot matrix positions of the green channels as references, generating a full image plane offset correction matrix by bilinear interpolation algorithm based on dot matrix mass center coordinates of the green channels and the red and blue channels, and carrying out pixel translation correction on the red and blue channels.
  6. 6. The method for near-monochromatic light source color mixing white light achromatic high-quality image forming according to claim 5, wherein S5 comprises: s51, calculating image gradient values of all channels by adopting a Sobel operator, calculating a definition measurement value according to the image gradient values, and generating three-channel normalized weights; s52, obtaining a final generated image according to three-channel normalized weight fusion.
  7. 7. The method of high-quality achromatic color imaging of near-monochromatic light source mixed-color white light of claim 6, wherein the optoelectronic imaging device is a color camera, and the red, green and blue filters respectively allow 620-700nm, 500-600nm and 400-480nm wavelength band of light to penetrate through by adopting an isomorphic sensing unit and a differential filter design.
  8. 8. The method of claim 3, wherein the standard color chart in S2 covers more than 95% of the visible light band in the standard chromaticity diagram and includes 6 basic colors of red, green, blue, yellow, cyan and magenta and 3 gray levels of black, gray and white to ensure the comprehensiveness of the color mapping relationship and the accuracy of the 1:1:1 ratio calibration.

Description

Near monochromatic light source color mixing white light achromatic high-image quality imaging method Technical Field The invention relates to the technical field of optical imaging and image processing, in particular to a near monochromatic light source color mixing white light achromatic high-quality imaging method. Background In the field of optoelectronic imaging technology, polychromatic light illumination is a widely used approach in traditional imaging schemes, but this approach suffers from significant imaging quality drawbacks. The prior art proposes an improvement scheme for imaging by adopting near monochromatic light, and the imaging quality of a single channel is effectively improved by reducing the interference of other response wavelength signals in each channel. However, the improvement scheme still has two key defects that firstly, due to the influence of aberration of different colors of light, tiny position difference exists in the process of three-channel image synthesis, so that a synthesized image is still blurred, secondly, other similar color light information is lacking in the single-channel imaging process, so that single-channel data deviate, and finally, the color of an image formed after three-channel color mixing is obviously different from the color of an image formed during multi-color light illumination, so that the true color of an object cannot be accurately restored. Disclosure of Invention The invention aims to provide a near monochromatic light source color mixing white light achromatic high-image quality imaging method, which solves the technical problems. In order to achieve the above object, the present invention provides a near monochromatic light source color mixing white light achromatic high image quality imaging method, comprising the steps of: S1, configuring a red, green and blue near-monochromatic mixed-color white light source; s2, collecting standard color card data and white standard area reference data of the xenon lamp and the mixed white light; s3, correcting color deviation in the imaging of the mixed-color white light source based on the color card data and the reference data; s4, adjusting and synchronously correcting the position offset and the intensity calibration of the red channel and the blue channel by taking the green channel as a reference; s5, enhancing the image contrast based on the Sobel operator. Preferably, S1 specifically includes: s11, measuring and acquiring red, green and blue three-channel photoelectric efficiency data of a target imaging photoelectric detector through a spectrometer, and taking the data as a light color screening basis; S12, screening red near monochromatic light, green near monochromatic light and blue near monochromatic light respectively, wherein the photoelectric response value of the three near monochromatic lights in a corresponding channel of the detector is not less than 80% of the maximum response value of the channel, and the response values of other channels are not more than 10% of the response values of the corresponding channels; S13, combining the red, green and blue near-monochromatic light which is qualified through S12 screening to form mixed-color white light. Preferably, S2 specifically includes: S21, using a xenon lamp as a continuous white light reference light source, setting an object plane as a uniform diffuse reflection white screen, adjusting illumination to enable the maximum value of three-channel data to reach 90% -95% of a sampling value of a photoelectric imaging device, and collecting light intensity data in the object plane white screen area when the xenon lamp light source and the mixed color white light source are used for illumination; S22, setting a white standard area to be annular, placing a plurality of groups of standard color cards in the center, adjusting the light intensity to ensure that the maximum value of three-channel data in an imaging area does not exceed the sampling extremum of a photoelectric imaging device, and respectively collecting the three-channel light intensity data of the standard color cards and the three-channel light intensity data of the white standard area under the condition of a xenon lamp and mixed color white light. Preferably, S3 specifically includes: S31, when the xenon lamp and the mixed color white light are used for illumination, gaussian filtering is adopted to carry out denoising treatment on three-channel object plane white screen data acquired by the detector, and then pixel point data of each channel image are divided by the maximum extremum of the corresponding channel image respectively to obtain respective object plane light intensity correction matrixes of each channel of the xenon lamp and the mixed color white light, and the correction matrixes are used for correcting the light intensity of each region of measured object plane data; s32, calling the light intensity correction matrix obtained in S31, and respectively correcti