Analysis of color patterns during the growth period of pleurotus citrinopileatus and optimization method for deep learning dataset
摘要
Due to the reliance of deep learning on high-quality datasets and the uncertainty regarding the reproductive period segmentation and image annotation of the Pleurotus citrinopileatus maturity dataset, this study aims to enhance the accuracy of dataset annotation by leveraging the color change patterns of Pleurotus citrinopileatus. First, reproductive period division and color feature analysis were conducted. Specifically, considering the influence of the cultivation environment, a Pleurotus citrinopileatus color feature database was constructed using data from different environmental batches. Second, the growth process of Pleurotus citrinopileatus fruiting bodies was divided into four stages: primordium stage, young mushroom stage, forming stage, and maturation stage. Third, color pattern verification revealed that through HSV color space analysis, the main hue exhibited periodic changes. Experimental data showed that when the main hue exceeded 28°, it entered the next growth stage, decreasing to 23° before rising again, which validated the division of the four reproductive periods from primordium to maturity. Next, feature extraction and model construction were performed. Statistical measures such as mean, variance, and peak values of the H, S, and V channels for each sample were calculated to build a Gradient Boosting Tree (GBT) classification model based on color features. A new dataset was generated by adjusting expert annotations based on model validation. Finally, the experimental results of dataset quality were annotated and performance improvements were verified. Using the YOLO12 model for image feature learning of Pleurotus citrinopileatus, training and testing were conducted with both the original and improved datasets. The improved dataset(0.935 mAP@0.5 vs. 0.91 mAP@0.5), representing a 2.5 percentage point increase. On a test set of 417 images, the accuracy of the improved dataset reached 94.5%, compared to 92% for the original dataset, marking a 2.5 percentage point improvement. In conclusion, analyzing the color features of Pleurotus citrinopileatus effectively guides the division of maturity datasets, thereby enhancing the performance of deep learning-based Pleurotus citrinopileatus maturity recognition models.