Collaborative image processing method, device, equipment and storage medium
Through the collaborative cooperation of distributed processing models and imaging equipment, it solves the problem of traditional technology being difficult to process large-scale image data, achieves efficient parallel processing and complex image analysis, and is suitable for complex image recognition tasks.
Patent Information
- Application Number
- CN202410879324.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-02
AI Technical Summary
The traditional single computer processing method is difficult to meet the demand for efficient and rapid processing of large-scale image data sets.
A collaborative image processing method is used to connect computing nodes through a distributed processing model, divide the image processing area into multiple sub-processing areas, and assign them to different computing nodes to achieve parallel processing and feature processing, and use imaging equipment to collect images and perform initialization Segmentation and feature processing, and finally summarizing the processing results.
It significantly speeds up image processing, improves work efficiency, can handle more complex image analysis tasks, dynamically adjusts resource allocation, avoids idle resources, and is suitable for complex image recognition and understanding tasks.
Smart Images

Figure CN118429784B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a collaborative image processing method, device, equipment and storage medium. Background Art
[0002] In today's high-tech image processing field, as image data becomes increasingly massive and complex, traditional single computer processing methods can no longer meet the needs of efficiently and quickly processing large-scale image data sets. Summary of the invention
[0003] The main purpose of the present invention is to provide a collaborative image processing method, device, equipment and storage medium that can process large-scale image data sets efficiently and quickly.
[0004] To achieve the above object, the present invention provides a collaborative image processing method, comprising:
[0005] Connect each computing node through a distributed processing model, obtain the test information of the unit to be tested, associate the computing node with the unit to be tested, divide the image processing area into a corresponding number of image sub-processing areas according to the test information, and assign each image sub-processing area to a corresponding computing node;
[0006] Obtain the photographic coordinates of each unit to be tested through the information to be tested, and collect the image to be tested of the unit to be tested according to the photographic coordinates through the imaging device;
[0007] Mapping the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmitting the segmented image and the image to be tested to the corresponding computing node;
[0008] Perform feature processing on the segmented image by combining the image to be tested with the computing node to obtain image processing information, and send the image processing information to the distributed processing model;
[0009] All received image processing information is aggregated and processed through a distributed processing model to obtain target image information.
[0010] Furthermore, the connecting of each computing node through the distributed processing model, obtaining the test information of the unit to be tested, and associating the computing node with the unit to be tested includes:
[0011] Through the distributed processing model, a network connection is established with each of the computing nodes according to the distributed network architecture, and after the connection is established, whether the node information sent by the computing node is complete is detected, and when the registration information is detected to be incomplete, the connection with the computing node is re-established; when the node information is detected to be complete, the associated information of the computing node is extracted;
[0012] The information to be tested is subjected to association processing according to the association information to obtain corresponding association data, and the computing node is subjected to corresponding association processing with the unit to be tested according to the association data.
[0013] Furthermore, the step of dividing the image processing region into a corresponding number of image sub-processing regions according to the information to be tested, and allocating each image sub-processing region to a corresponding computing node includes:
[0014] The image processing area is constructed according to a preset processing algorithm through the distributed processing model, and data analysis is performed on the information to be tested to obtain the quantity data and processing requirement complexity of the unit to be tested. The image processing area is segmented according to the quantity data through the distributed processing model to obtain a corresponding number of image sub-processing areas. The computing nodes are load analyzed to obtain the load processing rate, and each image sub-processing area is allocated to the corresponding computing node according to the load processing rate.
[0015] Furthermore, the obtaining of the photographing coordinates of each unit to be tested through the information to be tested, and collecting the image to be tested of the unit to be tested according to the photographing coordinates through the imaging device, includes:
[0016] Perform coordinate analysis on the information to be tested to obtain coordinate information, map the unit to be tested to a preset image coordinate system in combination with the information to be tested and the coordinate information, obtain the photographing coordinates on the image coordinate system, mobilize the imaging device to a specified position according to the photographing coordinates, and control the imaging device to capture the image to be tested at a predetermined time according to a preset time synchronization mechanism.
[0017] Furthermore, mapping the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmitting the segmented image and the image to be tested to the corresponding computing node includes:
[0018] After the imaging device acquires the first image to be tested, the first image to be tested is mapped to the corresponding image sub-processing area, and the first image to be tested is initially segmented according to the information to be tested by the image sub-processing area to obtain a first target segmented image and a first interference image;
[0019] Sequentially mapping the second image to be tested, the third image to be tested, and the fourth image to be tested acquired by the imaging device to the corresponding image sub-processing area, and sequentially performing initial image segmentation on the second image to be tested, the third image to be tested, and the fourth image to be tested according to the information to be tested through the image sub-processing area to obtain a second target segmentation map, a third target segmentation map, a fourth target segmentation map, a second interference image, a third interference image, and a fourth interference image;
[0020] The first image to be tested, the first target segmentation image, the first interference image, the second image to be tested, the second target segmentation map and the second interference image are sent to the corresponding computing nodes; the third image to be tested, the third target segmentation image, the third interference image, the fourth image to be tested, the fourth target segmentation map and the fourth interference image are sent to the corresponding computing nodes.
[0021] Furthermore, the step of performing feature processing on the segmented image by combining the image to be tested with the computing node to obtain image processing information, and sending the image processing information to the distributed processing model includes:
[0022] When the computing node receives the first image to be tested, the first target segmented image, the first interference image, the second image to be tested, the second target segmented image and the second interference image, the computing node performs preliminary feature extraction on the first target segmented image and the second target segmented image based on the combination of the first image to be tested and the second image to be tested, to obtain a first initial feature image;
[0023] Performing feature calibration processing on a first initial feature image according to the first interference image and the second interference image to obtain a first feature image, performing comprehensive processing on the first image to be tested and the second image to be tested according to the first feature image to obtain a first comprehensive image, integrating the first feature image and the first comprehensive image to obtain first image processing information, and sending the first image processing information to the distributed processing model;
[0024] When the computing node receives the third image to be tested, the third target segmented image, the third interference image, the fourth image to be tested, the fourth target segmented image and the fourth interference image, the computing node performs preliminary feature extraction on the third target segmented image and the fourth target segmented image based on the third image to be tested and the fourth image to be tested, to obtain a second initial feature image;
[0025] The second initial feature image is feature-corrected based on the third interference image and the fourth interference image to obtain a second feature image, the third image to be tested and the fourth image to be tested are comprehensively processed based on the second feature image to obtain a second comprehensive image, the second feature image and the second comprehensive image are integrated to obtain second image processing information, and the second image processing information is sent to the distributed processing model.
[0026] Furthermore, the distributed processing model is used to aggregate all received image processing information to obtain target image information, including:
[0027] The first image processing information and the second image processing information received from different computing nodes are read and processed by the distributed processing model to obtain the corresponding first feature image, the first comprehensive image, the second feature image and the second comprehensive image;
[0028] Perform state feature extraction on the first feature image and the second feature image to obtain state feature information, perform fusion processing on the first comprehensive image and the second comprehensive image based on a preset fusion algorithm to obtain fused image information, and perform comprehensive analysis on the state feature information and the fused image information based on the information to be measured to obtain the target image information.
[0029] The present invention further provides a collaborative image processing device, which is applied to any one of the collaborative image processing methods described above, comprising:
[0030] A configuration module, the configuration module is used to connect each computing node through a distributed processing model, obtain the test information of the unit to be tested, associate the computing node with the unit to be tested, divide the image processing area into a corresponding number of image sub-processing areas according to the test information, and assign each image sub-processing area to a corresponding computing node;
[0031] An acquisition module, the acquisition module is used to acquire the photographing coordinates of each unit to be tested through the information to be tested, and to collect the image to be tested of the unit to be tested according to the photographing coordinates through an imaging device;
[0032] A segmentation module, which is used to map the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmit the segmented image and the image to be tested to the corresponding computing node;
[0033] A processing module, the processing module is used to perform feature processing on the segmented image by combining the image to be tested through the computing node, obtain image processing information, and send the image processing information to the distributed processing model;
[0034] A control module is used to aggregate all received image processing information through a distributed processing model to obtain target image information.
[0035] The present invention also provides a collaborative image processing device, comprising:
[0036] Memory, used to store programs;
[0037] The processor is used to execute the program to implement each step of a collaborative image processing method as described in any one of the above.
[0038] The present invention also provides a storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute any of the above methods.
[0039] The present invention provides the following beneficial effects:
[0040] By adopting a distributed processing model, the processing power of each computing node in the network can be fully utilized to achieve parallel processing, so that when facing large-scale image data sets or high-resolution images, the image processing speed can be significantly accelerated, the processing time can be shortened, and the work efficiency can be improved. By dividing the image into multiple sub-processing areas and assigning them to different computing nodes, each node focuses on processing a part of the task, which not only improves the processing speed, but also effectively allocates computing resources, so that the system can handle more complex image analysis tasks and improve the complexity and depth of processing. The distributed processing model allows the task allocation to be dynamically adjusted according to the actual load of each computing node, avoiding idle resources, and can also dynamically expand the processing capacity as needed to achieve the optimal configuration and utilization of resources. The collaborative image processing method encourages cross-node information sharing and collaboration, which is conducive to integrating the processing results of different nodes to form more comprehensive and in-depth image analysis conclusions. It is particularly suitable for complex image recognition and understanding tasks that require cross-domain knowledge fusion. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a flow chart of a collaborative image processing method provided by the present invention;
[0042] Figure 2 It is a structural diagram of a collaborative image processing device provided by the present invention;
[0043] Figure 3 This is a structural diagram of a collaborative image processing device provided by the present invention.
[0044] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0046] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods.
[0047] Reference Figure 1 As shown, the present invention provides a collaborative image processing method, comprising:
[0048] Step S1: Connect each computing node through a distributed processing model, obtain the test information of the unit to be tested, associate the computing node with the unit to be tested, divide the image processing area into a corresponding number of image sub-processing areas according to the test information, and assign each image sub-processing area to a corresponding computing node;
[0049] Step S2: obtaining the photographing coordinates of each unit to be tested through the information to be tested, and collecting the image to be tested of the unit to be tested according to the photographing coordinates through the imaging device;
[0050] Step S3: Mapping the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmitting the segmented image and the image to be tested to the corresponding computing node;
[0051] Step S4: performing feature processing on the segmented image by combining the image to be tested with the computing node to obtain image processing information, and sending the image processing information to the distributed processing model;
[0052] Step S5: All received image processing information is aggregated and processed through a distributed processing model to obtain target image information.
[0053] Based on the above steps, the detailed steps are as follows:
[0054] Step S1: Start and configure a central coordination server, which is responsible for managing and scheduling each computing node, and establishes a network channel through the server to complete the network connection, ensuring that all computing nodes can communicate smoothly. The coordination server receives detailed information about the units to be tested from the database or external interface, including the number and characteristics of the units to be tested and the required image analysis requirements. Based on the number and characteristics of the units to be tested, the server matches the computing nodes to them one by one or allocates them according to the load balancing strategy.
[0055] Based on the information to be tested, the server calculates the image processing area that needs to be analyzed and divides it into several sub-areas, the number of which matches the available computing nodes. The task of each image sub-processing area is assigned to the corresponding computing node, and the task instructions and necessary parameter settings are sent to prepare for image acquisition and processing.
[0056] Step S2: The coordination server or computing node extracts the precise photographic coordinates of each unit to be tested from the information to be tested according to the assigned tasks. The computing node sends a control instruction to the connected imaging device (such as a camera) to instruct it to accurately locate according to the specified photographic coordinates.
[0057] The imaging device takes pictures of the units to be tested one by one according to the received coordinate parameters, captures high-quality images to be tested, and temporarily stores or directly transmits them.
[0058] Step S3: After receiving the image to be tested, the computing node maps the entire image to its corresponding image sub-processing area, and applies the image segmentation algorithm to divide the large image into small blocks for subsequent processing. The segmentation process generates a series of small images, each of which corresponds to a sub-processing area and contains all the detailed features in the area. The segmented image and the original image to be tested are packaged and transmitted to the corresponding computing node through a secure network channel.
[0059] Step S4: After receiving the image, the computing node uses image processing algorithms (such as edge detection, feature point extraction, texture analysis, etc.) to conduct in-depth analysis on the segmented image and the image to be tested. Based on the extracted features, the computing node executes specific algorithms, such as machine learning models, to further process the data and generate image processing information containing key features and attributes. After processing, the computing node transmits the obtained image processing information back to the central coordination server to prepare for the final summary processing.
[0060] Step S5: The coordination server collects the image processing information uploaded by all computing nodes, integrates and formats the information, eliminates redundancy, and ensures data consistency and integrity. Advanced data analysis or machine learning models are applied to conduct in-depth analysis of the aggregated data to extract key information about the unit under test, such as classification labels, anomaly detection results, etc. Finally, the analysis results are organized into an easy-to-understand target image information report, including graphical display and detailed text description.
[0061] A collaborative image processing method provided by the present invention can make full use of the processing power of each computing node in the network by adopting a distributed processing model to realize parallel processing, so that in the face of large-scale image data sets or high-resolution images, the image processing speed can be significantly accelerated, the processing time can be shortened, and the work efficiency can be improved. By dividing the image into multiple sub-processing areas and assigning them to different computing nodes, each node focuses on processing a part of the task, which can not only improve the processing speed, but also effectively allocate computing resources, so that the system can handle more complex image analysis tasks and improve the complexity and depth of processing. The distributed processing model allows the task allocation to be dynamically adjusted according to the actual load of each computing node, avoiding idle resources, and can also dynamically expand the processing capacity as needed to achieve the optimal configuration and utilization of resources. The collaborative image processing method encourages cross-node information sharing and collaboration, which is conducive to integrating the processing results of different nodes to form a more comprehensive and in-depth image analysis conclusion, and is particularly suitable for complex image recognition and understanding tasks that require cross-domain knowledge fusion.
[0062] In one embodiment, each computing node is connected through a distributed processing model, the test information of the unit to be tested is obtained, and the computing node is associated with the unit to be tested, including:
[0063] The central coordination server or master node starts the distributed processing model, which defines the network architecture and communication protocols for efficiently managing multiple computing nodes. The model attempts to establish a connection with a preset address or automatically discovered computing node through TCP / IP, UDP or other suitable network protocols. Each computing node actively registers with the central controller or responds to a connection request from the central controller when the system starts.
[0064] The central coordination server receives the registration information sent by the computing node, including node ID, hardware configuration, software version, service capabilities, etc. The received information is fully checked to confirm whether it contains all the required fields and parameters. If the information is missing or the format is wrong, the central controller records the error log and enters the retry process.
[0065] When it is detected that the registration information is incomplete, the central coordination server sends an error notification to the corresponding computing node, requiring it to resend the complete information. After receiving the notification, the computing node retries registration according to the instructions until the information verification is successful.
[0066] For nodes whose information has been verified to be complete, the central coordination server extracts relevant capability information from the information sent by them, such as preference for specific processing tasks, upper limit of processing capability, etc. The central coordination server may receive detailed information of all units under test from an external system, including but not limited to location, test requirements, expected results, etc.
[0067] According to the capabilities of the computing nodes and the requirements of the units under test, the associated data is generated through processing by algorithms or rule engines, for example, optimized matching is performed based on factors such as processing speed, memory size, and specific algorithm support.
[0068] Based on the association data, the central coordination server assigns one or more units to be tested to each computing node, ensuring that the test requirements of each unit match the node capabilities. This process involves dynamic load balancing to ensure system efficiency and resource utilization.
[0069] The central coordination server sends task instructions to each computing node, including information about the unit to be tested, test requirements, schedule, etc. After receiving the instructions, the computing node confirms that it accepts the task and starts preparation work, including environment configuration, algorithm loading, etc.
[0070] This embodiment can ensure that each computing node is reasonably assigned tasks according to its processing capacity and characteristics through the association processing mechanism, avoiding idle or overloaded resources, thereby improving the resource utilization efficiency of the overall system. The information integrity check and error reconnection mechanism are performed during the node connection stage, which reduces the failure of task execution due to information errors and enhances the stability and reliability of the system. This helps to continuously provide high-quality services and reduce maintenance costs. Through distributed processing, large tasks can be split into multiple subtasks for parallel execution, significantly shortening the processing time, especially when processing a large number of units under test, which can achieve fast response and efficient testing. Through sophisticated association processing, each unit under test can be assigned to the computing node that best suits its needs, which means that the test environment is closer to the actual operating conditions, the test results are more accurate, and more personalized test strategies can be provided for different types of units under test.
[0071] In one embodiment, the image processing area is divided into a corresponding number of image sub-processing areas according to the information to be tested, and each image sub-processing area is assigned to a corresponding computing node, including:
[0072] According to the preset image processing algorithm and target analysis requirements, determine the basic framework of image processing and the required resource level. This includes selecting appropriate image segmentation algorithms, feature extraction methods, etc.
[0073] The central coordination server or master node collects and analyzes the information to be tested, identifies the specific number of units to be tested, the characteristics and size of each unit, and the required image analysis complexity. Based on the number of units to be tested and the complexity of the processing requirements, the total number of image processing areas and the size of each sub-area are determined. For example, if there are many units to be tested and the complexity is high, the number of sub-areas may be increased to achieve more fine-grained processing.
[0074] Using the image processing algorithm, the entire image processing area is divided into a corresponding number of image sub-processing areas. This step involves the optimization of the image segmentation algorithm to ensure that the segmentation boundary fits the actual layout of the unit to be tested as closely as possible to reduce information loss.
[0075] Monitor the resource usage of each computing node in real time, including CPU load, memory usage, network bandwidth, etc. Based on the collected monitoring data, calculate the current load processing rate of each computing node, which reflects the node's ability to process new tasks. The processing rate takes into account the node's historical processing efficiency, current task burden, and remaining resource potential.
[0076] Based on the calculated load processing rate, an intelligent task allocation strategy is adopted, including but not limited to priority-based allocation, load balancing algorithms (such as polling, minimum number of connections, etc.), or matching strategies that consider the special skills of nodes.
[0077] The central coordination server distributes the information of each image sub-processing area and its corresponding unit to be tested to the corresponding computing node. After receiving the task, the computing node confirms the receipt of the task and prepares to execute it, including loading the necessary algorithms, configuration parameters, etc.
[0078] This embodiment ensures that each node can operate efficiently by intelligently allocating tasks according to the load processing rate of the computing node, avoiding waste of resources and improving the processing capacity and response speed of the overall system. The division of the image processing area and the task allocation are dynamically adjusted according to the information to be tested, so that the areas with high complexity or the units to be tested can be allocated to nodes with strong processing capabilities, which speeds up the image processing process and shortens the task completion time. By subdividing the image processing area and matching and allocating according to the characteristics of the units to be tested, it helps to improve the accuracy and depth of image processing, ensure that each sub-area can obtain the algorithm and resource processing that best suits its characteristics, and improve the accuracy of the analysis results.
[0079] In one embodiment, the photographing coordinates of each unit to be tested are obtained through the information to be tested, and the image to be tested of the unit to be tested is collected by an imaging device according to the photographing coordinates, including:
[0080] Analyze the information to be tested, which includes but is not limited to key parameters such as the position, size, and appearance characteristics of the unit to be tested. The key parameter data usually comes from the early planning or site layout drawings.
[0081] Based on the information to be tested, the coordinate position of each unit to be tested in the actual physical space is accurately extracted through algorithm analysis. This step involves computer vision technology, such as template matching and feature point recognition.
[0082] Mapping the coordinate information in the physical space to the preset image coordinate system requires considering factors such as the camera's viewing angle, focal length, and distortion correction to ensure the accuracy of the mapping. Through mathematical transformations such as perspective transformation, the real-world coordinates are converted into pixel coordinates under the camera's viewing angle. Based on the photographic coordinates on the mapped image coordinate system, the imaging equipment (such as industrial cameras, cameras mounted on drones, etc.) is precisely controlled to move to the corresponding position.
[0083] By adopting a preset time synchronization mechanism, including NTP (Network Time Protocol) timing, internal clock synchronization or external trigger signal, when the predetermined acquisition time is reached, all pre-positioned imaging devices start the shutter simultaneously or in sequence to capture the image of the unit under test. This process involves high-speed photography technology to freeze dynamic scenes or improve image clarity.
[0084] During or after acquisition, preliminary image quality checks are performed, such as exposure, focus accuracy, image noise level, etc., to ensure that the acquired images meet the requirements of subsequent analysis. Images that do not meet the standards will be marked and need to be retaken.
[0085] This embodiment ensures that each unit to be tested can be accurately positioned in the preset image coordinate system through precise coordinate analysis and mapping, reduces the error of manual operation, and significantly improves the accuracy of acquisition. At the same time, the automated process speeds up the overall image acquisition speed and is suitable for large-scale or continuous image acquisition tasks. Synchronous acquisition controlled by the time synchronization mechanism avoids image quality fluctuations caused by factors such as lighting changes and object movement, ensures that images collected at different times and by different devices are highly consistent, and provides a reliable basis for subsequent image analysis and comparison. Through fine equipment control, unnecessary movement and waiting time are avoided, the use efficiency of imaging equipment is improved, and energy consumption and maintenance costs are reduced. At the same time, precise positioning reduces the need for repeated shooting, saving storage space and processing time.
[0086] In one embodiment, mapping the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmitting the segmented image and the image to be tested to the corresponding computing node includes:
[0087] After the imaging device acquires the first image to be tested, the first image to be tested is mapped to the corresponding image sub-processing area, and the first image to be tested is initially segmented according to the information to be tested by the image sub-processing area to obtain a first target segmented image and a first interference image;
[0088] Sequentially mapping the second image to be tested, the third image to be tested, and the fourth image to be tested acquired by the imaging device to the corresponding image sub-processing area, and sequentially performing initial image segmentation on the second image to be tested, the third image to be tested, and the fourth image to be tested according to the information to be tested through the image sub-processing area to obtain a second target segmentation map, a third target segmentation map, a fourth target segmentation map, a second interference image, a third interference image, and a fourth interference image;
[0089] The first image to be tested, the first target segmentation image, the first interference image, the second image to be tested, the second target segmentation map and the second interference image are sent to the corresponding computing nodes, and the third image to be tested, the third target segmentation image, the third interference image, the fourth image to be tested, the fourth target segmentation map and the fourth interference image are sent to the corresponding computing nodes.
[0090] This embodiment realizes parallel processing of tasks by segmenting the image to be tested into target segmented images and interference images, and sending these images to different computing nodes according to the corresponding relationship. This not only speeds up the image processing speed, but also makes full use of computing resources, and is particularly suitable for processing a large number of image data sets. The initial image segmentation process is performed according to the information to be tested, ensuring the pertinence and accuracy of the segmentation. The target segmented image focuses on the area containing key information, while the interference image helps to exclude irrelevant background. Such a processing strategy helps the subsequent algorithm to focus more on effective information and improve the accuracy of the analysis. By processing different types of segmented images (target segmented images and interference images) separately, the most appropriate workload can be allocated to the computing node according to the image content and processing requirements. This helps to optimize resource utilization and avoid the waste of resources on processing irrelevant information.
[0091] In one embodiment, the computing node performs feature processing on the segmented image in combination with the image to be tested to obtain image processing information, and sends the image processing information to the distributed processing model, including:
[0092] When the computing node receives the first image to be tested, the first target segmented image, the first interference image, the second image to be tested, the second target segmented image, and the second interference image, the computing node performs preliminary feature extraction on the first target segmented image and the second target segmented image based on the combination of the first image to be tested and the second image to be tested, to obtain a first initial feature image;
[0093] Performing feature calibration processing on the first initial feature image according to the first interference image and the second interference image to obtain a first feature image, performing comprehensive processing on the first image to be tested and the second image to be tested according to the first feature image to obtain a first comprehensive image, integrating the first feature image and the first comprehensive image to obtain first image processing information, and sending the first image processing information to the distributed processing model;
[0094] When the computing node receives the third image to be tested, the third target segmented image, the third interference image, the fourth image to be tested, the fourth target segmented image and the fourth interference image, the computing node performs preliminary feature extraction on the third target segmented image and the fourth target segmented image based on the third image to be tested and the fourth image to be tested, to obtain a second initial feature image;
[0095] The second initial feature image is feature-corrected based on the third interference image and the fourth interference image to obtain a second feature image, the third image to be tested and the fourth image to be tested are comprehensively processed based on the second feature image to obtain a second comprehensive image, the second feature image and the second comprehensive image are integrated to obtain second image processing information, and the second image processing information is sent to the distributed processing model.
[0096] This embodiment can make full use of global and local information and improve the accuracy and comprehensiveness of feature extraction by combining the image to be tested with the target segmented image for preliminary feature extraction. In particular, it can better handle complex background and noise in the image and enhance the robustness of feature recognition. The interference image is used for feature proofreading, which effectively eliminates the interference of non-target information and ensures the purity of the feature image, which is crucial for subsequent image analysis and recognition, and improves the reliability and accuracy of the processing results. By comprehensively processing the feature image and the image to be tested to generate a comprehensive image, not only the rich details of the original image are retained, but also the refined feature information is incorporated, and efficient information integration is achieved. This helps to discover and utilize the relationship between images and enhance the overall analysis depth. The steps of feature processing and comprehensive processing are distributed on different computing nodes, which realizes parallel processing of tasks and greatly improves processing efficiency. The image processing information of each node is integrated through a distributed processing model to form an analysis result from a global perspective, optimize resource allocation and utilization, and enhance the processing capability of the system.
[0097] In one embodiment, all received image processing information is aggregated and processed through a distributed processing model to obtain target image information, including:
[0098] The first image processing information and the second image processing information received from different computing nodes are read and processed by a distributed processing model to obtain a corresponding first feature image, a first comprehensive image, a second feature image, and a second comprehensive image;
[0099] The state features of the first feature image and the second feature image are extracted to obtain state feature information, the first comprehensive image and the second comprehensive image are fused based on a preset fusion algorithm to obtain fused image information, and the state feature information and the fused image information are comprehensively analyzed according to the information to be measured to obtain the target image information.
[0100] This embodiment can process image processing information from multiple computing nodes simultaneously through a distributed processing model, significantly improving the efficiency of processing large amounts of image data. This architecture is particularly suitable for image analysis in a big data environment, can effectively respond to large-scale image processing needs, and accelerate the information extraction process. The state feature extraction process is performed on the first feature image and the second feature image, aiming to extract the key information that best represents the image state. This operation helps to reduce redundant data and focus on core features, thereby improving the accuracy and reliability of feature recognition. Fusion processing is not limited to pixel-level merging of the image itself, but is based on a preset fusion algorithm (such as weighted average, maximum fusion, minimum fusion, etc.) to deeply combine the information of the first comprehensive image and the second comprehensive image to achieve complementary advantages. This strategy can integrate image data from different perspectives or time points, improve the comprehensiveness and depth of analysis, and help identify more complex and subtle image features.
[0101] Reference Figure 2 As shown, the present invention further provides a collaborative image processing device, which is applied to any one of the collaborative image processing methods described above, comprising:
[0102] A configuration module, the configuration module is used to connect each computing node through a distributed processing model, obtain the test information of the unit to be tested, associate the computing node with the unit to be tested, divide the image processing area into a corresponding number of image sub-processing areas according to the test information, and assign each image sub-processing area to a corresponding computing node;
[0103] An acquisition module is used to acquire the photographing coordinates of each unit to be tested through the information to be tested, and to collect the image to be tested of the unit to be tested according to the photographing coordinates through an imaging device;
[0104] A segmentation module is used to map the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmit the segmented image and the image to be tested to the corresponding computing node;
[0105] A processing module, the processing module is used to perform feature processing on the segmented image by combining the image to be tested through the computing node, obtain image processing information, and send the image processing information to the distributed processing model;
[0106] The control module is used to aggregate and process all received image processing information through a distributed processing model to obtain target image information.
[0107] A collaborative image processing device provided by the present invention can make full use of the processing power of each computing node in the network by adopting a distributed processing model to realize parallel processing, so that in the face of large-scale image data sets or high-resolution images, the image processing speed can be significantly accelerated, the processing time can be shortened, and the work efficiency can be improved. By dividing the image into multiple sub-processing areas and assigning them to different computing nodes, each node focuses on processing a part of the task, which can not only improve the processing speed, but also effectively allocate computing resources, so that the system can handle more complex image analysis tasks and improve the complexity and depth of processing. The distributed processing model allows the task allocation to be dynamically adjusted according to the actual load of each computing node, avoiding idle resources, and can also dynamically expand the processing capacity as needed to achieve the optimal configuration and utilization of resources. The collaborative image processing method encourages cross-node information sharing and collaboration, which is conducive to integrating the processing results of different nodes to form a more comprehensive and in-depth image analysis conclusion, and is particularly suitable for complex image recognition and understanding tasks that require cross-domain knowledge fusion.
[0108] Reference Figure 3 As shown, the present invention also provides a collaborative image processing device, comprising:
[0109] Memory, used to store programs;
[0110] The processor is used to execute the program to implement each step of a collaborative image processing method as described above.
[0111] In this embodiment, the processor and the memory may be connected via a bus or other means. The memory may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk, or a solid-state drive. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application-specific integrated circuit, or one or more integrated circuits configured to implement the embodiments of the present invention.
[0112] The present invention also provides a storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute any of the above methods.
[0113] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and conciseness of description, the specific working process of the system and each module described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0114] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A collaborative image processing method, It is characterized in that include: Connect each computing node through a distributed processing model, obtain the test information of the unit to be tested, associate the computing node with the unit to be tested, divide the image processing area into image sub-processing areas with a matching number of computing nodes according to the test information, and assign each image sub-processing area to a corresponding computing node; Obtain the photographic coordinates of each unit to be tested through the information to be tested, and collect the image to be tested of the unit to be tested according to the photographic coordinates through the imaging device; Mapping the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmitting the segmented image and the image to be tested to the corresponding computing node; Perform feature processing on the segmented image by combining the image to be tested with the computing node to obtain image processing information, and send the image processing information to the distributed processing model; All received image processing information is aggregated and processed through a distributed processing model to obtain target image information.
2. The collaborative image processing method according to claim 1, It is characterized in that The method of connecting each computing node through a distributed processing model, obtaining the test information of the unit to be tested, and associating the computing node with the unit to be tested includes: Through the distributed processing model, a network connection is established with each of the computing nodes according to the distributed network architecture, and after the connection is established, whether the node information sent by the computing node is complete is detected, and when the node information is detected to be incomplete, the connection with the computing node is re-established; when the node information is detected to be complete, the associated information of the computing node is extracted; The information to be tested is subjected to association processing according to the association information to obtain corresponding association data, and the computing node is subjected to corresponding association processing with the unit to be tested according to the association data.
3. The collaborative image processing method according to claim 1, It is characterized in that The method of dividing the image processing area into image sub-processing areas of a number matching the number of computing nodes according to the information to be tested, and allocating each image sub-processing area to a corresponding computing node, comprises: The image processing area is constructed according to a preset processing algorithm through the distributed processing model, and data analysis is performed on the information to be tested to obtain the quantity data and processing requirement complexity of the unit to be tested. The image processing area is segmented according to the quantity data through the distributed processing model to obtain a corresponding number of image sub-processing areas. The computing nodes are load analyzed to obtain the load processing rate, and each image sub-processing area is allocated to the corresponding computing node according to the load processing rate.
4. The collaborative image processing method according to claim 1, It is characterized in that The method of obtaining the photographing coordinates of each unit to be tested through the information to be tested, and collecting the image to be tested of the unit to be tested according to the photographing coordinates through the imaging device, includes: Perform coordinate analysis on the information to be tested to obtain coordinate information, map the unit to be tested to a preset image coordinate system in combination with the information to be tested and the coordinate information, obtain the photographing coordinates on the image coordinate system, mobilize the imaging device to a specified position according to the photographing coordinates, and control the imaging device to capture the image to be tested at a predetermined time according to a preset time synchronization mechanism.
5. The collaborative image processing method according to claim 1, It is characterized in that The step of mapping the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmitting the segmented image and the image to be tested to the corresponding computing node includes: After the imaging device acquires the first image to be tested, the first image to be tested is mapped to the corresponding image sub-processing area, and the first image to be tested is initially segmented according to the information to be tested by the image sub-processing area to obtain a first target segmented image and a first interference image; The second image to be tested, the third image to be tested, and the fourth image to be tested acquired by the imaging device are sequentially mapped to the corresponding image sub-processing area, and initial image segmentation is performed on the second image to be tested, the third image to be tested, and the fourth image to be tested in sequence according to the information to be tested by the image sub-processing area to obtain a second target segmented image, a third target segmented image, a fourth target segmented image, a second interference image, a third interference image, and a fourth interference image; The first image to be tested, the first target segmented image, the first interference image, the second image to be tested, the second target segmented image and the second interference image are sent to the corresponding computing nodes; the third image to be tested, the third target segmented image, the third interference image, the fourth image to be tested, the fourth target segmented image and the fourth interference image are sent to the corresponding computing nodes.
6. The collaborative image processing method according to claim 5, It is characterized in that The method performs feature processing on the segmented image by combining the computing node with the image to be tested to obtain image processing information, and sends the image processing information to the distributed processing model, including: When the computing node receives the first image to be tested, the first target segmented image, the first interference image, the second image to be tested, the second target segmented image and the second interference image, the computing node performs preliminary feature extraction on the first target segmented image and the second target segmented image based on the combination of the first image to be tested and the second image to be tested, to obtain a first initial feature image; Performing feature calibration processing on a first initial feature image according to the first interference image and the second interference image to obtain a first feature image, performing comprehensive processing on the first image to be tested and the second image to be tested according to the first feature image to obtain a first comprehensive image, integrating the first feature image and the first comprehensive image to obtain first image processing information, and sending the first image processing information to the distributed processing model; When the computing node receives the third image to be tested, the third target segmented image, the third interference image, the fourth image to be tested, the fourth target segmented image and the fourth interference image, the computing node performs preliminary feature extraction on the third target segmented image and the fourth target segmented image based on the third image to be tested and the fourth image to be tested, to obtain a second initial feature image; The second initial feature image is feature-corrected based on the third interference image and the fourth interference image to obtain a second feature image, the third image to be tested and the fourth image to be tested are comprehensively processed based on the second feature image to obtain a second comprehensive image, the second feature image and the second comprehensive image are integrated to obtain second image processing information, and the second image processing information is sent to the distributed processing model.
7. The collaborative image processing method according to claim 6, It is characterized in that The distributed processing model is used to aggregate all received image processing information to obtain target image information, including: The first image processing information and the second image processing information received from different computing nodes are read and processed by the distributed processing model to obtain the corresponding first feature image, the first comprehensive image, the second feature image and the second comprehensive image; Perform state feature extraction on the first feature image and the second feature image to obtain state feature information, perform fusion processing on the first comprehensive image and the second comprehensive image based on a preset fusion algorithm to obtain fused image information, and perform comprehensive analysis on the state feature information and the fused image information based on the information to be measured to obtain the target image information.
8. A collaborative image processing device, applied to a collaborative image processing method according to any one of claims 1 to 7, It is characterized in that include: A configuration module, the configuration module is used to connect each computing node through a distributed processing model, obtain the test information of the unit to be tested, associate the computing node with the unit to be tested, divide the image processing area into image sub-processing areas corresponding to the number of computing nodes according to the test information, and assign each image sub-processing area to a corresponding computing node; An acquisition module, the acquisition module is used to acquire the photographing coordinates of each unit to be tested through the information to be tested, and to collect the image to be tested of the unit to be tested according to the photographing coordinates through an imaging device; A segmentation module, which is used to map the image to be tested to the corresponding image sub-processing area to perform initial image segmentation to obtain a segmented image, and transmit the segmented image and the image to be tested to the corresponding computing node; A processing module, the processing module is used to perform feature processing on the segmented image by combining the image to be tested through the computing node, obtain image processing information, and send the image processing information to the distributed processing model; A control module is used to aggregate all received image processing information through a distributed processing model to obtain target image information.
9. A collaborative image processing device, It is characterized in that include: Memory, used to store programs; A processor is used to execute the program to implement each step of a collaborative image processing method as described in any one of claims 1 to 7.
10. A storage medium, It is characterized in that Computer instructions are stored, and the computer instructions are used to make a computer execute the method according to any one of claims 1 to 7.
