A method and system for improving the body color of Oriental starfish based on light regulation
By using image acquisition devices and cluster analysis technology in Eastern Star Spot breeding, we construct a light and body color correlation data table and dynamically adjust lighting parameters, solving the problem of inaccurate lighting control in traditional breeding and improving the quality of Eastern Star Spot color and breeding efficiency. .
Patent Information
- Application Number
- CN202411125209.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-16
AI Technical Summary
The control of light conditions in traditional Eastern star spot breeding relies on manual experience and is difficult to achieve precise adjustment, resulting in uneven body color and quality and affecting economic benefits.
The historical monitoring video data of Eastern Star Spots is collected based on the preset image acquisition device. Through color feature extraction and cluster analysis, a lighting and body color correlation data table is constructed, and the lighting parameters are dynamically adjusted to optimize the body color of Eastern Star Spots.
It has achieved precise, information-based and dynamic management of Eastern Star Spot's body color, improved breeding efficiency and ensured the consistency and high quality of body color.
Smart Images

Figure CN118648556B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aquaculture data analysis, and more specifically, to a method and system for improving the body color of grouper based on light regulation. Background Art
[0002] As a high-end aquaculture species, grouper is deeply loved by consumers for its tender meat, delicious taste, rich nutrition and bright color. However, the body color of grouper is affected by many factors, among which light is one of the important factors affecting its body color. In the traditional grouper breeding process, the control of light conditions often relies on manual experience, which is difficult to achieve precise adjustment, and there is a lack of corresponding light change control means for the change of grouper body color, resulting in uneven body color quality of grouper, affecting the economic benefits of breeding. Summary of the invention
[0003] The present invention overcomes the defects of the prior art and proposes a method and system for improving the body color of Oriental starfish based on light regulation.
[0004] The first aspect of the present invention provides a method for improving the body color of Ornithogalum spp. based on light regulation, comprising:
[0005] Based on the preset image acquisition device, the historical monitoring video data of the eastern star grouper under different lighting conditions are collected, and the color characteristics of the eastern star grouper body color are extracted through the historical monitoring video data to obtain the color characteristic data under multiple breeding cycles;
[0006] Analyze the changes of color feature data, calculate the distance with the preset standard color features, mark the breeding cycle that meets the expected color changes, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table;
[0007] In one analysis cycle, monitoring video data of a grouper breeding farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form color feature data of grouper, the color feature data of grouper is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results;
[0008] The color feature data in the largest cluster group are subjected to DCA-based feature fusion to form fused body color feature data. The optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the optimal lighting parameters are selected for farm application.
[0009] In the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and a secondary optimal lighting parameter association analysis is performed based on the illumination body color association data table, and secondary optimal lighting parameters are dynamically generated.
[0010] In this scheme, the preset image acquisition device is used to collect historical monitoring video data of the eastern star grouper under different lighting conditions, and the color characteristics of the eastern star grouper body color are extracted through the historical monitoring video data to obtain color characteristic data under multiple breeding cycles, specifically:
[0011] Based on a preset image acquisition device, monitoring video data under different lighting parameter conditions are collected in multiple breeding cycles, and the monitoring video data is marked as historical monitoring video data;
[0012] Each breeding cycle corresponds to one light condition;
[0013] Extract key frames from historical monitoring video data to form an image set;
[0014] Taking one breeding cycle as the analysis unit, the corresponding image data is obtained from the image set to identify the grouper area using a deep learning-based image recognition model. Based on the recognition results, the grouper area images are annotated and the color features of the annotated images are extracted to obtain the color feature data corresponding to one breeding cycle.
[0015] The image data corresponding to all breeding cycles are analyzed and features are extracted to obtain color feature data under multiple breeding cycles.
[0016] In this solution, the color feature data is analyzed for changes, and the distance with the preset standard color feature is calculated to mark the breeding cycle that meets the expected color change, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table, specifically:
[0017] Taking one breeding cycle as the analysis unit, the color feature data corresponding to one breeding cycle is extracted as the current color feature data;
[0018] Based on the time dimension, the current color feature data is divided into multiple feature data;
[0019] Calculate the distance between the plurality of feature data and the preset standard color feature respectively, the distance calculation is based on the standard Euclidean distance method, and obtain a plurality of distance values;
[0020] Based on the time dimension sequence, multiple distance values are sorted, and the sorted distance values are analyzed to see whether they are continuously increasing. If so, it is determined that the breeding cycle meets the expected color change;
[0021] Associating the illumination parameter information of the breeding cycle with the corresponding current color feature data to form association information;
[0022] All breeding cycles that meet the expected color changes are marked and all related information is integrated to form a light-body-color correlation data table.
[0023] In this scheme, in one analysis cycle, the monitoring video data of the grouper farm is collected by a preset image acquisition device, and the image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form the color feature data of the grouper. The color feature data of the grouper is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results, specifically:
[0024] In one analysis cycle, the monitoring video data of the grouper breeding farm is collected by a preset image acquisition device;
[0025] Acquire key image frames of monitoring video data to form a real-time image set;
[0026] Based on the image recognition model, the real-time image set is subjected to oriental star spot recognition, and oriental star spot images are extracted to obtain oriental star spot image data;
[0027] Extracting color features from the image data of the eastern star spot, and forming multiple groups of eastern star spot color feature data based on the number of eastern star spots;
[0028] A clustering model based on the DBSCAN algorithm was constructed, and multiple groups of color feature data of Eastern Star Spot were imported into the clustering model for clustering and grouping, and the clustering results were obtained;
[0029] Based on the clustering results, the multiple groups of color feature data of eastern star grouper are divided into multiple cluster groups, and one cluster group includes at least one group of color feature data of eastern star grouper;
[0030] The cluster group with the largest number of color feature data groups of Eastern Star Spot is selected from multiple cluster groups and marked as the largest cluster group.
[0031] In this scheme, the color feature data in the largest cluster group is subjected to DCA-based feature fusion to form fused body color feature data, and the optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the preferred lighting parameters are selected for farm application, specifically:
[0032] Obtain the color feature data of N groups of Eastern Star Spot within the largest cluster group;
[0033] Extract feature maps of N groups of oriental starfish color feature data through the CNN network to obtain N feature maps;
[0034] Based on the DCA feature fusion algorithm, the preset weights are set to perform weighted fusion on N feature maps and obtain the fused image features;
[0035] Using the fused image features as fused body color feature data;
[0036] According to the illumination body color associated data table, the similarity between the fused body color feature data and the color feature data in the data table is calculated. The similarity calculation is based on the standard Euclidean distance calculation method. The color feature data in the data table with the highest similarity to the fused body color feature data is marked, and the associated illumination parameter information is found, and the associated illumination parameter information is used as the preferred illumination parameter.
[0037] In this solution, in the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and secondary optimal illumination parameter association analysis is performed based on the illumination body color association data table, and secondary optimal illumination parameters are dynamically generated, specifically:
[0038] In the next analysis cycle, the corresponding monitoring video data is collected in real time to obtain key image frames and extract color features of the eastern star spot, and secondary clustering and feature fusion are performed based on the DBSCAN clustering algorithm. The secondary optimal lighting parameters are screened out based on the illumination body color association data table;
[0039] Dynamic lighting adjustment is performed through secondary optimization of lighting parameters.
[0040] The second aspect of the present invention further provides a system for improving the body color of a starfish based on light regulation, the system comprising: a memory and a processor, the memory comprising a program for improving the body color of a starfish based on light regulation, and the program for improving the body color of a starfish based on light regulation is executed by the processor to implement the following steps:
[0041] Based on the preset image acquisition device, the historical monitoring video data of the eastern star grouper under different lighting conditions are collected, and the color characteristics of the eastern star grouper body color are extracted through the historical monitoring video data to obtain the color characteristic data under multiple breeding cycles;
[0042] Analyze the changes of color feature data, calculate the distance with the preset standard color features, mark the breeding cycle that meets the expected color changes, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table;
[0043] In one analysis cycle, monitoring video data of a grouper breeding farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form color feature data of grouper, the color feature data of grouper is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results;
[0044] The color feature data in the largest cluster group are subjected to DCA-based feature fusion to form fused body color feature data. The optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the optimal lighting parameters are selected for farm application.
[0045] In the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and a secondary optimal lighting parameter association analysis is performed based on the illumination body color association data table, and secondary optimal lighting parameters are dynamically generated.
[0046] The third aspect of the present invention also provides a computer-readable storage medium, which includes a program for improving the body color of the eastern star spot based on light adjustment. When the program for improving the body color of the eastern star spot based on light adjustment is executed by a processor, the steps of the method for improving the body color of the eastern star spot based on light adjustment as described above are implemented.
[0047] The present invention discloses a method and system for improving the body color of grouper based on light regulation. First, historical video data of grouper is collected by a preset image acquisition device, body color characteristics are extracted, and a light-body-color correlation data table is constructed. Then, during the breeding cycle, real-time monitoring video data is collected, the color characteristics of the largest cluster group are identified by the DBSCAN clustering algorithm, and the cluster group feature data are fused to form fused body color feature data by the DCA fusion algorithm. Combined with the correlation data table, the optimal lighting parameter analysis is performed, and the preferred parameters are screened out for application. In the next cycle, the data is updated in real time, and the lighting parameters are dynamically adjusted to realize the precise, information-based and dynamic management of lighting for grouper breeding. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A flow chart of a method for improving the body color of Ornithogalum spp. based on light regulation according to the present invention is shown;
[0049] Figure 2 The block diagram of a system for improving the body color of Ornithogalum spp. based on light regulation according to the present invention is shown. DETAILED DESCRIPTION
[0050] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0051] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0052] Figure 1 The flowchart of the method for improving the body color of Oriental star spot based on light regulation of the present invention is shown.
[0053] like Figure 1 As shown, the first aspect of the present invention provides a method for improving the body color of Oriental star spot based on light regulation, comprising:
[0054] S102, based on a preset image acquisition device, collecting historical monitoring video data of the eastern star grouper under different lighting conditions, extracting color features of the eastern star grouper body color through the historical monitoring video data, and obtaining color feature data under multiple breeding cycles;
[0055] S104, analyzing the changes of the color feature data, calculating the distance with the preset standard color feature, marking the breeding cycle that meets the expected color change, obtaining the corresponding lighting parameter information, and associating the lighting parameter information with the color feature data to form a lighting body color association data table;
[0056] S106, in one analysis cycle, collecting monitoring video data of a grouper breeding farm by a preset image acquisition device, performing image frame acquisition, image recognition and color feature extraction on the monitoring video data to form color feature data of grouper, clustering and grouping the color feature data of grouper based on a DBSCAN clustering algorithm, and obtaining a maximum cluster group through the clustering results;
[0057] S108, performing DCA-based feature fusion on the color feature data in the largest cluster group to form fused body color feature data, performing optimal lighting parameter association analysis based on the fused body color feature data and the light body color association data table, and selecting the optimal lighting parameters for farm application;
[0058] S110, in the next analysis cycle, corresponding monitoring video data is collected in real time for secondary clustering and grouping, and secondary optimal illumination parameter association analysis is performed based on the illumination body color association data table, and secondary optimal illumination parameters are dynamically generated.
[0059] It should be noted that the historical monitoring video data can be the historical monitoring data of the farm or the monitoring data of the breeding test process under different lighting conditions. The historical data is collected to screen out the lighting parameters and corresponding body color characteristics with the expected adjustment effect, and further generate an association table.
[0060] According to an embodiment of the present invention, the preset image acquisition device is used to collect historical monitoring video data of the eastern star grouper under different lighting conditions, and the color feature data of the eastern star grouper under multiple breeding cycles are obtained by extracting the color feature data of the eastern star grouper through the historical monitoring video data. Specifically,
[0061] Based on a preset image acquisition device, monitoring video data under different lighting parameter conditions are collected in multiple breeding cycles, and the monitoring video data is marked as historical monitoring video data;
[0062] Each breeding cycle corresponds to one light condition;
[0063] Extract key frames from historical monitoring video data to form an image set;
[0064] Taking one breeding cycle as the analysis unit, the corresponding image data is obtained from the image set to identify the grouper area using a deep learning-based image recognition model. Based on the recognition results, the grouper area images are annotated and the color features of the annotated images are extracted to obtain the color feature data corresponding to one breeding cycle.
[0065] The image data corresponding to all breeding cycles are analyzed and features are extracted to obtain color feature data under multiple breeding cycles.
[0066] It should be noted that the different lighting conditions are mainly different lighting intensity conditions and different lighting time conditions, and the user sets multiple conditions. The color features of the extracted labeled image are the color features of the body color of the Oriental star spot. The image recognition model based on deep learning can adopt a CNN image recognition model.
[0067] According to an embodiment of the present invention, the color feature data is analyzed for changes, and the distance with the preset standard color feature is calculated to mark the breeding cycle that meets the expected color change, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table, specifically:
[0068] Taking one breeding cycle as the analysis unit, the color feature data corresponding to one breeding cycle is extracted as the current color feature data;
[0069] Based on the time dimension, the current color feature data is divided into multiple feature data;
[0070] Calculate the distance between the plurality of feature data and the preset standard color feature respectively, the distance calculation is based on the standard Euclidean distance method, and obtain a plurality of distance values;
[0071] Based on the time dimension sequence, multiple distance values are sorted, and the sorted distance values are analyzed to see whether they are continuously increasing. If so, it is determined that the breeding cycle meets the expected color change;
[0072] Associating the illumination parameter information of the breeding cycle with the corresponding current color feature data to form association information;
[0073] All breeding cycles that meet the expected color changes are marked and all related information is integrated to form a light-body-color correlation data table.
[0074] It should be noted that the preset standard color feature is the color feature data of the body color of the eastern star spot under the ideal body color state, which can be obtained by feature extraction based on user settings or based on historically selected eastern star spot images, and is used for feature comparison and analysis. The smaller the distance value, the closer the body color feature is to the ideal state. If the distance value continues to increase, it means that the body color of the eastern star spot under the corresponding breeding cycle changes in the expected direction. On the contrary, no continuous growth means that the body color of the eastern star spot does not change or the body color changes in an unexpected direction. The lighting parameter information is the corresponding lighting condition information. In the present invention, by forming a lighting body color association data table, the corresponding optimal lighting parameters can be screened based on the corresponding body color characteristics, and the purpose of dynamic lighting adjustment for breeding can be achieved in the subsequent process.
[0075] According to an embodiment of the present invention, in one analysis cycle, monitoring video data of a grouper farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form grouper color feature data, and the grouper color feature data is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results, specifically:
[0076] In one analysis cycle, the monitoring video data of the grouper breeding farm is collected by a preset image acquisition device;
[0077] Acquire key image frames of monitoring video data to form a real-time image set;
[0078] Based on the image recognition model, the real-time image set is subjected to oriental star spot recognition, and oriental star spot images are extracted to obtain oriental star spot image data;
[0079] Extracting color features from the image data of the eastern star spot, and forming multiple groups of eastern star spot color feature data based on the number of eastern star spots;
[0080] A clustering model based on the DBSCAN algorithm was constructed, and multiple groups of color feature data of Eastern Star Spot were imported into the clustering model for clustering and grouping, and the clustering results were obtained;
[0081] Based on the clustering results, the multiple groups of color feature data of eastern star grouper are divided into multiple cluster groups, and one cluster group includes at least one group of color feature data of eastern star grouper;
[0082] The cluster group with the largest number of color feature data groups of Eastern Star Spot is selected from multiple cluster groups and marked as the largest cluster group.
[0083] It should be noted that the image data of the eastern star grouper includes multiple image data of the eastern star grouper. When color feature extraction is performed, the color feature extraction is performed with the eastern star grouper as a unit to form multiple groups of feature data, each group corresponding to one piece of eastern star grouper body color data. In the present invention, the role of forming multiple cluster groups is to aggregate and group the eastern star groupers in a farm, and use the characteristic similarity of body color as the basis for classification. After the eastern star groupers with similar body color are formed into cluster groups, the largest number of groups (one or more groups) are screened, which can effectively screen out representative color features for the existing eastern star grouper population from the aquaculture farm, and perform corresponding real-time lighting control based on the screened color features to maximize benefits.
[0084] According to an embodiment of the present invention, the color feature data in the largest cluster group is subjected to DCA-based feature fusion to form fused body color feature data, and optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the preferred lighting parameters are screened out for farm application, specifically:
[0085] Obtain the color feature data of N groups of Eastern Star Spot within the largest cluster group;
[0086] Extract feature maps of N groups of oriental starfish color feature data through the CNN network to obtain N feature maps;
[0087] Based on the DCA feature fusion algorithm, the preset weights are set to perform weighted fusion on N feature maps and obtain the fused image features;
[0088] Using the fused image features as fused body color feature data;
[0089] According to the illumination body color associated data table, the similarity between the fused body color feature data and the color feature data in the data table is calculated. The similarity calculation is based on the standard Euclidean distance calculation method. The color feature data in the data table with the highest similarity to the fused body color feature data is marked, and the associated illumination parameter information is found, and the associated illumination parameter information is used as the preferred illumination parameter.
[0090] It should be noted that the feature fusion process can aggregate and enhance the representative body color features in the farm, and based on the fused data, perform similarity analysis and optimal lighting parameter screening in the light and body color association data table to obtain the current optimal lighting control plan.
[0091] According to an embodiment of the present invention, in the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and secondary optimal illumination parameter association analysis is performed based on the illumination body color association data table, and secondary optimal illumination parameters are dynamically generated, specifically:
[0092] In the next analysis cycle, the corresponding monitoring video data is collected in real time to obtain key image frames and extract color features of the eastern star spot, and secondary clustering and feature fusion are performed based on the DBSCAN clustering algorithm. The secondary optimal lighting parameters are screened out based on the illumination body color association data table;
[0093] Dynamic lighting adjustment is performed through secondary optimization of lighting parameters.
[0094] It should be noted that the secondary optimal lighting parameters are consistent with the analysis process of the first analysis cycle. The present invention extracts the grouper image and performs color cluster analysis in each analysis cycle, and dynamically screens out the optimal lighting parameters through the analysis of fusion features to adjust the lighting plan, thereby effectively improving the body color of grouper farming, realizing dynamic farming analysis, and reducing costs and increasing efficiency.
[0095] The analysis cycle can be consistent with the breeding cycle, or set according to the actual user.
[0096] Figure 2 The block diagram of a system for improving the body color of Ornithogalum spp. based on light regulation according to the present invention is shown.
[0097] The second aspect of the present invention further provides a system 2 for improving the body color of a starfish based on light regulation, the system comprising: a memory 21 and a processor 22, wherein the memory comprises a program for improving the body color of a starfish based on light regulation, and when the program for improving the body color of a starfish based on light regulation is executed by the processor, the following steps are implemented:
[0098] Based on the preset image acquisition device, the historical monitoring video data of the eastern star grouper under different lighting conditions are collected, and the color characteristics of the eastern star grouper body color are extracted through the historical monitoring video data to obtain the color characteristic data under multiple breeding cycles;
[0099] Analyze the changes of color feature data, calculate the distance with the preset standard color features, mark the breeding cycle that meets the expected color changes, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table;
[0100] In one analysis cycle, monitoring video data of a grouper breeding farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form color feature data of grouper, the color feature data of grouper is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results;
[0101] The color feature data in the largest cluster group are subjected to DCA-based feature fusion to form fused body color feature data. The optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the optimal lighting parameters are selected for farm application.
[0102] In the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and a secondary optimal lighting parameter association analysis is performed based on the illumination body color association data table, and secondary optimal lighting parameters are dynamically generated.
[0103] According to an embodiment of the present invention, the preset image acquisition device is used to collect historical monitoring video data of the eastern star grouper under different lighting conditions, and the color feature data of the eastern star grouper under multiple breeding cycles are obtained by extracting the color feature data of the eastern star grouper through the historical monitoring video data. Specifically,
[0104] Based on a preset image acquisition device, monitoring video data under different lighting parameter conditions are collected in multiple breeding cycles, and the monitoring video data is marked as historical monitoring video data;
[0105] Each breeding cycle corresponds to one light condition;
[0106] Extract key frames from historical monitoring video data to form an image set;
[0107] Taking one breeding cycle as the analysis unit, the corresponding image data is obtained from the image set to identify the grouper area using a deep learning-based image recognition model. Based on the recognition results, the grouper area images are annotated and the color features of the annotated images are extracted to obtain the color feature data corresponding to one breeding cycle.
[0108] The image data corresponding to all breeding cycles are analyzed and features are extracted to obtain color feature data under multiple breeding cycles.
[0109] It should be noted that the different lighting conditions are mainly different lighting intensity conditions and different lighting time conditions, and the user sets multiple conditions. The color features of the extracted labeled image are the color features of the body color of the Oriental star spot. The image recognition model based on deep learning can adopt a CNN image recognition model.
[0110] According to an embodiment of the present invention, the color feature data is analyzed for changes, and the distance with the preset standard color feature is calculated to mark the breeding cycle that meets the expected color change, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table, specifically:
[0111] Taking one breeding cycle as the analysis unit, the color feature data corresponding to one breeding cycle is extracted as the current color feature data;
[0112] Based on the time dimension, the current color feature data is divided into multiple feature data;
[0113] Calculate the distance between the plurality of feature data and the preset standard color feature respectively, the distance calculation is based on the standard Euclidean distance method, and obtain a plurality of distance values;
[0114] Based on the time dimension sequence, multiple distance values are sorted, and the sorted distance values are analyzed to see whether they are continuously increasing. If so, it is determined that the breeding cycle meets the expected color change;
[0115] Associating the illumination parameter information of the breeding cycle with the corresponding current color feature data to form association information;
[0116] All breeding cycles that meet the expected color changes are marked and all related information is integrated to form a light-body-color correlation data table.
[0117] It should be noted that the preset standard color feature is the color feature data of the body color of the eastern star spot under the ideal body color state, which can be obtained by feature extraction based on user settings or based on historically selected eastern star spot images, and is used for feature comparison and analysis. The smaller the distance value, the closer the body color feature is to the ideal state. If the distance value continues to increase, it means that the body color of the eastern star spot under the corresponding breeding cycle changes in the expected direction. On the contrary, no continuous growth means that the body color of the eastern star spot does not change or the body color changes in an unexpected direction. The lighting parameter information is the corresponding lighting condition information. In the present invention, by forming a lighting body color association data table, the corresponding optimal lighting parameters can be screened based on the corresponding body color characteristics, and the purpose of dynamic lighting adjustment for breeding can be achieved in the subsequent process.
[0118] According to an embodiment of the present invention, in one analysis cycle, monitoring video data of a grouper farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form grouper color feature data, and the grouper color feature data is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results, specifically:
[0119] In one analysis cycle, the monitoring video data of the grouper breeding farm is collected by a preset image acquisition device;
[0120] Acquire key image frames of monitoring video data to form a real-time image set;
[0121] Based on the image recognition model, the real-time image set is subjected to oriental star spot recognition, and oriental star spot images are extracted to obtain oriental star spot image data;
[0122] Extracting color features from the image data of the eastern star spot, and forming multiple groups of eastern star spot color feature data based on the number of eastern star spots;
[0123] A clustering model based on the DBSCAN algorithm was constructed, and multiple groups of color feature data of Eastern Star Spot were imported into the clustering model for clustering and grouping, and the clustering results were obtained;
[0124] Based on the clustering results, the multiple groups of color feature data of eastern star grouper are divided into multiple cluster groups, and one cluster group includes at least one group of color feature data of eastern star grouper;
[0125] The cluster group with the largest number of color feature data groups of Eastern Star Spot is selected from multiple cluster groups and marked as the largest cluster group.
[0126] It should be noted that the image data of the eastern star grouper includes multiple image data of the eastern star grouper. When color feature extraction is performed, the color feature extraction is performed with the eastern star grouper as a unit to form multiple groups of feature data, each group corresponding to one piece of eastern star grouper body color data. In the present invention, the role of forming multiple cluster groups is to aggregate and group the eastern star groupers in a farm, and use the characteristic similarity of body color as the basis for classification. After the eastern star groupers with similar body color are formed into cluster groups, the largest number of groups (one or more groups) are screened, which can effectively screen out representative color features for the existing eastern star grouper population from the aquaculture farm, and perform corresponding real-time light regulation based on the screened color features.
[0127] According to an embodiment of the present invention, the color feature data in the largest cluster group is subjected to DCA-based feature fusion to form fused body color feature data, and optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the preferred lighting parameters are screened out for farm application, specifically:
[0128] Obtain the color feature data of N groups of Eastern Star Spot within the largest cluster group;
[0129] Extract feature maps of N groups of oriental starfish color feature data through the CNN network to obtain N feature maps;
[0130] Based on the DCA feature fusion algorithm, the preset weights are set to perform weighted fusion on N feature maps and obtain the fused image features;
[0131] Using the fused image features as fused body color feature data;
[0132] According to the illumination body color associated data table, the similarity between the fused body color feature data and the color feature data in the data table is calculated. The similarity calculation is based on the standard Euclidean distance calculation method. The color feature data in the data table with the highest similarity to the fused body color feature data is marked, and the associated illumination parameter information is found, and the associated illumination parameter information is used as the preferred illumination parameter.
[0133] It should be noted that the feature fusion process can aggregate and enhance the representative body color features in the farm, and based on the fused data, perform similarity analysis and optimal lighting parameter screening in the light and body color association data table to obtain the current optimal lighting control plan.
[0134] According to an embodiment of the present invention, in the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and secondary optimal illumination parameter association analysis is performed based on the illumination body color association data table, and secondary optimal illumination parameters are dynamically generated, specifically:
[0135] In the next analysis cycle, the corresponding monitoring video data is collected in real time to obtain key image frames and extract color features of the eastern star spot, and secondary clustering and feature fusion are performed based on the DBSCAN clustering algorithm. The secondary optimal lighting parameters are screened out based on the illumination body color association data table;
[0136] Dynamic lighting adjustment is performed through secondary optimization of lighting parameters.
[0137] It should be noted that the secondary optimal lighting parameters are consistent with the analysis process of the first analysis cycle. The present invention extracts the grouper image and performs color cluster analysis in each analysis cycle, and dynamically screens out the optimal lighting parameters through the analysis of fusion features to adjust the lighting plan, thereby effectively improving the body color of grouper farming, realizing dynamic farming analysis, and reducing costs and increasing efficiency.
[0138] The analysis cycle can be consistent with the breeding cycle, or set according to the actual user.
[0139] The third aspect of the present invention also provides a computer-readable storage medium, which includes a program for improving the body color of the eastern star spot based on light adjustment. When the program for improving the body color of the eastern star spot based on light adjustment is executed by a processor, the steps of the method for improving the body color of the eastern star spot based on light adjustment as described above are implemented.
[0140] The present invention discloses a method and system for improving the body color of grouper based on light regulation. First, historical video data of grouper is collected by a preset image acquisition device, body color characteristics are extracted, and a light-body-color correlation data table is constructed. Then, during the breeding cycle, real-time monitoring video data is collected, the color characteristics of the largest cluster group are identified by the DBSCAN clustering algorithm, and the cluster group feature data are fused to form fused body color feature data by the DCA fusion algorithm. Combined with the correlation data table, the optimal lighting parameter analysis is performed, and the preferred parameters are screened out for application. In the next cycle, the data is updated in real time, and the lighting parameters are dynamically adjusted to realize the precise, information-based and dynamic management of lighting for grouper breeding.
[0141] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0142] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0143] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0144] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0145] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0146] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for improving the body color of Oriental starfish based on light regulation, characterized in that: include: Based on the preset image acquisition device, the historical monitoring video data of the eastern star grouper under different lighting conditions are collected, and the color characteristics of the eastern star grouper body color are extracted through the historical monitoring video data to obtain the color characteristic data under multiple breeding cycles; Analyze the changes of color feature data, calculate the distance with the preset standard color features, mark the breeding cycle that meets the expected color changes, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table; In one analysis cycle, monitoring video data of a grouper breeding farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form color feature data of grouper, the color feature data of grouper is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results; The color feature data in the largest cluster group are subjected to DCA-based feature fusion to form fused body color feature data. The optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the optimal lighting parameters are selected for farm application. In the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and secondary optimal lighting parameter association analysis is performed based on the illumination body color association data table, and secondary optimal lighting parameters are dynamically generated; Wherein, based on the preset image acquisition device, the historical monitoring video data of the eastern star grouper under different lighting conditions is collected, and the color feature of the eastern star grouper body color is extracted through the historical monitoring video data to obtain the color feature data under multiple breeding cycles, specifically: Based on a preset image acquisition device, monitoring video data under different lighting parameter conditions are collected in multiple breeding cycles, and the monitoring video data is marked as historical monitoring video data; Each breeding cycle corresponds to one light condition; Extract key frames from historical monitoring video data to form an image set; Taking one breeding cycle as the analysis unit, the corresponding image data is obtained from the image set to identify the grouper area using a deep learning-based image recognition model. Based on the recognition results, the grouper area images are annotated and the color features of the annotated images are extracted to obtain the color feature data corresponding to one breeding cycle. Analyze and extract features of image data corresponding to all breeding cycles to obtain color feature data under multiple breeding cycles; Among them, the change analysis of the color feature data is performed, and the distance with the preset standard color feature is calculated, the breeding cycle that meets the expected color change is marked, the corresponding lighting parameter information is obtained, and the lighting parameter information is associated with the color feature data to form a lighting body color association data table, specifically: Taking one breeding cycle as the analysis unit, the color feature data corresponding to one breeding cycle is extracted as the current color feature data; Based on the time dimension, the current color feature data is divided into multiple feature data; Calculate the distance between the plurality of feature data and the preset standard color feature respectively, the distance calculation is based on the standard Euclidean distance method, and obtain a plurality of distance values; Based on the time dimension sequence, multiple distance values are sorted, and the sorted distance values are analyzed to see whether they are continuously increasing. If so, it is determined that the breeding cycle meets the expected color change; Associating the illumination parameter information of the breeding cycle with the corresponding current color feature data to form association information; Mark all breeding cycles that meet the expected color changes and integrate all related information to form a light-body-color correlation data table; Among them, in one analysis cycle, the monitoring video data of the grouper farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form the grouper color feature data, and the grouper color feature data is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results, specifically: In one analysis cycle, the monitoring video data of the grouper breeding farm is collected by a preset image acquisition device; Acquire key image frames of monitoring video data to form a real-time image set; Based on the image recognition model, the real-time image set is subjected to oriental star spot recognition, and oriental star spot images are extracted to obtain oriental star spot image data; Extracting color features from the image data of the eastern star spot, and forming multiple groups of eastern star spot color feature data based on the number of eastern star spots; A clustering model based on the DBSCAN algorithm was constructed, and multiple groups of color feature data of Eastern Star Spot were imported into the clustering model for clustering and grouping, and the clustering results were obtained; Based on the clustering results, the multiple groups of color feature data of eastern star grouper are divided into multiple cluster groups, and one cluster group includes at least one group of color feature data of eastern star grouper; The cluster group with the largest number of color feature data groups of Eastern Star Spot is selected from multiple cluster groups and marked as the largest cluster group; Among them, the color feature data in the largest cluster group is subjected to feature fusion based on DCA to form fused body color feature data, and the optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the preferred lighting parameters are screened out for farm application, specifically: Obtain the color feature data of N groups of Eastern Star Spot within the largest cluster group; Extract feature maps of N groups of oriental starfish color feature data through the CNN network to obtain N feature maps; Based on the DCA feature fusion algorithm, the preset weights are set to perform weighted fusion on N feature maps and obtain the fused image features; Using the fused image features as fused body color feature data; According to the illumination body color associated data table, the similarity between the fused body color feature data and the color feature data in the data table is calculated. The similarity calculation is based on the standard Euclidean distance calculation method. The color feature data in the data table with the highest similarity to the fused body color feature data is marked, and the associated illumination parameter information is found, and the associated illumination parameter information is used as the preferred illumination parameter.
2. The method for improving the body color of Ornithogalum spp. based on light regulation according to claim 1, characterized in that: In the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and secondary optimal illumination parameter association analysis is performed based on the illumination body color association data table, and secondary optimal illumination parameters are dynamically generated, specifically: In the next analysis cycle, the corresponding monitoring video data is collected in real time to obtain key image frames and extract color features of the eastern star spot, and secondary clustering and feature fusion are performed based on the DBSCAN clustering algorithm. The secondary optimal lighting parameters are screened out based on the illumination body color association data table; Dynamic lighting adjustment is performed through secondary optimization of lighting parameters.
3. A system for improving the body color of Oriental starfish based on light regulation, characterized in that: The system comprises: a memory and a processor, wherein the memory comprises a program for improving the body color of the eastern star spot based on light adjustment, and when the program for improving the body color of the eastern star spot based on light adjustment is executed by the processor, the following steps are implemented: Based on the preset image acquisition device, the historical monitoring video data of the eastern star grouper under different lighting conditions are collected, and the color characteristics of the eastern star grouper body color are extracted through the historical monitoring video data to obtain the color characteristic data under multiple breeding cycles; Analyze the changes of color feature data, calculate the distance with the preset standard color features, mark the breeding cycle that meets the expected color changes, obtain the corresponding lighting parameter information, and associate the lighting parameter information with the color feature data to form a lighting body color association data table; In one analysis cycle, monitoring video data of a grouper breeding farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form color feature data of grouper, the color feature data of grouper is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results; The color feature data in the largest cluster group are subjected to DCA-based feature fusion to form fused body color feature data. The optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the optimal lighting parameters are selected for farm application. In the next analysis cycle, the corresponding monitoring video data is collected in real time for secondary clustering and grouping, and secondary optimal lighting parameter association analysis is performed based on the illumination body color association data table, and secondary optimal lighting parameters are dynamically generated; Wherein, based on the preset image acquisition device, the historical monitoring video data of the eastern star grouper under different lighting conditions is collected, and the color feature of the eastern star grouper body color is extracted through the historical monitoring video data to obtain the color feature data under multiple breeding cycles, specifically: Based on a preset image acquisition device, monitoring video data under different lighting parameter conditions are collected in multiple breeding cycles, and the monitoring video data is marked as historical monitoring video data; Each breeding cycle corresponds to one light condition; Extract key frames from historical monitoring video data to form an image set; Taking one breeding cycle as the analysis unit, the corresponding image data is obtained from the image set to identify the grouper area using a deep learning-based image recognition model. Based on the recognition results, the grouper area images are annotated and the color features of the annotated images are extracted to obtain the color feature data corresponding to one breeding cycle. Analyze and extract features of image data corresponding to all breeding cycles to obtain color feature data under multiple breeding cycles; Among them, the change analysis of the color feature data is performed, and the distance with the preset standard color feature is calculated, the breeding cycle that meets the expected color change is marked, the corresponding lighting parameter information is obtained, and the lighting parameter information is associated with the color feature data to form a lighting body color association data table, specifically: Taking one breeding cycle as the analysis unit, the color feature data corresponding to one breeding cycle is extracted as the current color feature data; Based on the time dimension, the current color feature data is divided into multiple feature data; Calculate the distance between the plurality of feature data and the preset standard color feature respectively, the distance calculation is based on the standard Euclidean distance method, and obtain a plurality of distance values; Based on the time dimension sequence, multiple distance values are sorted, and the sorted distance values are analyzed to see whether they are continuously increasing. If so, it is determined that the breeding cycle meets the expected color change; Associating the illumination parameter information of the breeding cycle with the corresponding current color feature data to form association information; Mark all breeding cycles that meet the expected color changes and integrate all related information to form a light-body-color correlation data table; Among them, in one analysis cycle, the monitoring video data of the grouper farm is collected by a preset image acquisition device, image frame acquisition, image recognition and color feature extraction are performed on the monitoring video data to form the grouper color feature data, and the grouper color feature data is clustered and grouped based on the DBSCAN clustering algorithm, and the maximum cluster group is obtained through the clustering results, specifically: In one analysis cycle, the monitoring video data of the grouper breeding farm is collected by a preset image acquisition device; Acquire key image frames of monitoring video data to form a real-time image set; Based on the image recognition model, the real-time image set is subjected to oriental star spot recognition, and oriental star spot images are extracted to obtain oriental star spot image data; Extracting color features from the image data of the eastern star spot, and forming multiple groups of eastern star spot color feature data based on the number of eastern star spots; A clustering model based on the DBSCAN algorithm was constructed, and multiple groups of color feature data of Eastern Star Spot were imported into the clustering model for clustering and grouping, and the clustering results were obtained; Based on the clustering results, the multiple groups of color feature data of eastern star grouper are divided into multiple cluster groups, and one cluster group includes at least one group of color feature data of eastern star grouper; The cluster group with the largest number of color feature data groups of Eastern Star Spot is selected from multiple cluster groups and marked as the largest cluster group; Among them, the color feature data in the largest cluster group is subjected to feature fusion based on DCA to form fused body color feature data, and the optimal lighting parameter association analysis is performed based on the fused body color feature data and the light body color association data table, and the preferred lighting parameters are screened out for farm application, specifically: Obtain the color feature data of N groups of Eastern Star Spot within the largest cluster group; Extract feature maps of N groups of oriental starfish color feature data through the CNN network to obtain N feature maps; Based on the DCA feature fusion algorithm, the preset weights are set to perform weighted fusion on N feature maps and obtain the fused image features; Using the fused image features as fused body color feature data; According to the illumination body color associated data table, the similarity between the fused body color feature data and the color feature data in the data table is calculated. The similarity calculation is based on the standard Euclidean distance calculation method. The color feature data in the data table with the highest similarity to the fused body color feature data is marked, and the associated illumination parameter information is found, and the associated illumination parameter information is used as the preferred illumination parameter.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a program for improving the body color of a starfish spot based on light regulation. When the program for improving the body color of a starfish spot based on light regulation is executed by a processor, the steps of the method for improving the body color of a starfish spot based on light regulation as described in any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Garment color segmentation extraction method, device and equipment based on mathematical statistics
CN112784854A
Euphausia superba rapid identification and biological characteristic parameter determination device
CN116245801A
