Results and Discussion Through the verification of the 6 common polynomial color correction algorithms, it was found that the linear color correction algorithm with white balance constraint had lower regression accuracy. After correction, the average color difference of the 24 color blocks in the color card was reduced from 38. 67 to 13. 61 under the illumination of white LED light source, and reduced from 43. 13 to 21. 52 under the illumination of halogen lamps. This color correction algorithm maintained good white balance. The third-order polynomial color correction algorithm had the highest regression accuracy. Under the illumination of white LED light source, the average color difference of 24 color blocks in the color card was reduced from 38. 67 to 3. 82 after correction, and the average color difference was reduced from 43. 13 to 3. 92 under the illumination of halogen lamps.The third-order root polynomial color correction algorithm ranked the second. Under the illumination of white LED light source,the average color difference of 24 color blocks in the color card was reduced from 38. 67 to 4. 15 after correction by using this color correction algorithm, and from 43. 13 to 4. 24 after correction under the illumination of halogen lamps. Experiments showed that, unlike the third-order polynomial color correction algorithm, the third-order root polynomial color correction algorithm demonstrated good exposure invariance with no color deviation across different exposure intensities.
Conclusion In this paper, the color card was used to calibrate the imaging system under two kinds of light sources, and 6 kinds of commonly used color correction algorithms were used to correct the captured particle images. The experimental results showed that using color cards to calibrate the imaging system could effectively reduce the color bias in the imaging system, thereby theoretically aligning the particle color more closely to the RGB values under the D65 standard light source. Among the 6 color correction algorithms tested in this paper, the third-order root polynomial color correction algorithm showed good performance in terms of correction efficiency and exposure invariance, making it the recommended choice for color correction. For the characterization of particle colors, this paper transformed the average RGB values of particles to their corresponding chromaticity coordinates. The particle count was used to describe the relationship between the particle color and count in the particle system. Color moments and main colors were used to represent the color characteristics of individual particles, among which, the main color was the area where the color of particles was most concentrated in the Lab color space. This approach is beneficial in mitigating extraction errors of the main color caused by uniform color values appearing locally in the particle image.
Keywords:imaging method; particle measurement; color correction; color representation
[1]GALATAD L, MESZAROSL A, KALLAI-SZABO N, et al. Applications of machine vision in pharmaceutical technology: a review[J].European Journal of Pharmaceutical Sciences,2021,159:105717.
[2]GOSSELIN R, DURÃO P, ABATZOGLOU N, et al. Monitoring the concentration of flowing pharmaceutical powders in a tableting feed frame[J].Pharmaceutical Development and Technology,2017,22(6):699-705.
[3]LIU Y, ZHAN L, WEN L, et al. Effects of particle size and color on photocuring performance of Si3N4 ceramic slurry by stereolithography[J].Journal of the European Ceramic Society,2021,41(4):2386-2394.
[4]GAUCI A, DEIDUN A, MONTEBELLO J, et al. Automating the characterisation of beach microplastics through the application of image analyses[J].Ocean & Coastal Management,2019,182:104950.
[5]COWGER W, GRAY A, CHRISTIANSEN S H, et al. Critical review of processing and classification techniques for images and spectra in microplastic research[J].Applied Spectroscopy,2020,74(9):989-1010.
[6]SUNOJ S, IGATHINATHANE C, SALIENDRA N, et al. Color calibration of digital images for agriculture and other applications[J].ISPRS Journal of Photogrammetry and Remote Sensing,2018,146:221-234.
[7]褚璇,王伟,张楠楠,等. 基于颜色特征的含黄曲霉毒素玉米颗粒的检出方法[J].中国粮油学报,2015,30(4):112-118.CHU X, WANG W, ZHANG N N, et al. Detection method of corn kernels infected aflatoxin based on color features[J].Journal of the Chinese Cereals and Oils Association,2015,30(4):112-118.
[8]HUNT R W G, POINTER M R. Measuring colour[M].Hoboken: John Wiley & Sons,2011:25-30.
[9]SHARMAG, BALAR. Digital color imaging handbook[M].Boca Raton: CRC Press,2017:76-89.
[10]葛超. 数字图像颜色校正方法研究[D].武汉:武汉大学,2022.GE C. Research on color correction methods of digital image[D].Wuhan: Wuhan University,2022.
[11]ASHRAF M, SAPAICO L R. Evaluation of color correction methods for printed surfaces[C]//2018 Colour and Visual Computing Symposium (CVCS).New York: IEEE,2018:1-6.
[12]COLANTONI P, THOMAS J B, HARDEBERG J Y. High‐end colorimetric display characterization using an adaptive training set[J].Journal of the Society for Information Display,2011,19(8):520-530.
[13]GOÑI S M, SALVADORI V O. Color measurement: comparison of colorimeter vs. computer vision system[J].Journal of Food Measurement and Characterization,2017,11:538-547.
[14]MA K, SHI J. Colorimetric characterization of digital camera based on RBF neural network[C]//Optoelectronic Imaging and Multimedia Technology VII. California: SPIE,2020,11550:282-288.
[15]ASTER R C, BORCHERS B, THURBER C H. Parameter estimation and inverse problems[M].Massachusetts: Elsevier,2018:55-63.
[16]HONG G, LUO M R, RHODES P A. A study of digital camera colorimetric characterization based on polynomial modeling[J].Color Research & Application,2001,26(1):76-84.
[17]FINLAYSON G D, MACKIEWICZ M, HURLBERT A. Color correction using root-polynomial regression[J].IEEE Transactions on Image Processing,2015,24(5):1460-1470.
[18]FANG F, GONG H, MACKIEWICZ M, et al. Colour correction toolbox[C]// Proceedings of 13th AIC Congress 2017.Jeju: Korea Society of Color Studies,2017:48-53.
[19]QUINTANA J, GARCIA R, NEUMANN L. A novel method for color correction in epiluminescence microscopy[J].Computerized Medical Imaging and Graphics,2011,35(7/8):646-652.
[20]International Organization for Standardization. ISO 12640-2:2004, Graphic technology-Prepress digital data exchange-Part 2: XYZ/sRGB encoded standard colour image data (XYZ/SCID)[S/OL].[2024-05-04].http: www. iso. org/obp/ui/#iso:std:iso:12640:-2:ed-1:v1:en.
[21]STRICKER M A, ORENGO M. Similarity of color images[C]// Storage and retrieval for image and video databases III.California: SPIE,1995:381-392.