3D printer operation status remote monitoring system based on cloud computing
By analyzing the shared indicators between pixels and neighboring pixels in the real-time image of the 3D printer, a specific mixed Gaussian model is constructed, which solves the problems of large calculation amount and low monitoring efficiency in traditional technology, and achieves a more efficient and accurate 3D printer. Running status monitoring.
Patent Information
- Application Number
- CN202410961534.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-18
AI Technical Summary
Existing Technology In monitoring the operating status of 3D printers, the traditional mixed Gaussian model requires maintaining multiple Gaussian models and frequent model matching, resulting in a large amount of calculation and low monitoring efficiency and accuracy.
Through image preprocessing, image analysis and model building modules, obtain grayscale images of real-time image sequences of 3D printers, analyze shared indicators between pixels and neighboring pixels, classify categories and build specific mixture Gaussian models for monitoring 3D The operating status of the printer.
The amount of calculation is reduced, the adaptability and recognition speed of the Gaussian mixture model are improved, and the accuracy of monitoring the operating status of the 3D printer is enhanced.
Smart Images

Figure CN118506288B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a remote monitoring system for the operating status of a 3D printer based on cloud computing. Background Art
[0002] During the operation of the 3D printer, after the camera collects real-time images of the 3D printer for a period of time, the image data is uploaded to the cloud computing platform. After receiving the image data transmitted by the camera, the cloud computing platform processes and analyzes the image data to monitor whether the operating status of the 3D printer is abnormal.
[0003] However, when monitoring the operating status of a 3D printer, especially when identifying a moving target such as a printer nozzle, the prior art usually uses a traditional mixed Gaussian model to perform target recognition on images during the operation of the 3D printer. When the traditional mixed Gaussian model is used for target recognition, each pixel in the image must maintain multiple Gaussian models, and each time a new image frame is received, it is necessary to perform repeated model matching and parameter updates, which generates a large amount of calculation, thereby resulting in untimely monitoring of the operating status of the 3D printer.
[0004] Therefore, how to improve the efficiency and accuracy of monitoring the operating status of 3D printers has become an urgent problem to be solved. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a remote monitoring system for the operating status of a 3D printer based on cloud computing to solve the problem of how to improve the efficiency and accuracy of monitoring the operating status of a 3D printer.
[0006] An embodiment of the present invention provides a remote monitoring system for the operation status of a 3D printer based on cloud computing, the system comprising the following steps:
[0007] An image preprocessing module is used to collect a real-time image sequence of the 3D printer within a preset period of time during the operation of the 3D printer, obtain a grayscale image sequence corresponding to the real-time image sequence, and perform region segmentation on the first grayscale image in the grayscale image sequence to obtain at least two initial regions;
[0008] An image analysis module, for obtaining, for any grayscale image except the first grayscale image in the grayscale image sequence, a sharing index between each pixel in the grayscale image and each of its neighboring pixels according to the region to which each pixel in the grayscale image belongs and the grayscale value;
[0009] A model building module, used to divide all pixels in the grayscale image into a preset number of categories according to a shared index between each pixel in the grayscale image and each of its neighboring pixels, obtain a mixed Gaussian model corresponding to each of the initial regions, and use the mixed Gaussian model corresponding to each of the initial regions to obtain a specific mixed Gaussian model for each of the categories;
[0010] The state monitoring module is used to extract the foreground target area in the grayscale image by using the specific mixed Gaussian model of each category, and monitor the operation state of the 3D printer according to the foreground target area in each grayscale image in the grayscale image sequence.
[0011] Preferably, the image analysis module obtains a sharing index between each pixel in the grayscale image and each of its neighboring pixels according to the region to which each pixel in the grayscale image belongs and the grayscale value, including:
[0012] According to the grayscale value changes between the grayscale image in the grayscale image sequence and all grayscale images before the grayscale image, respectively obtaining the self-stability index of each pixel point in the grayscale image;
[0013] According to each initial area in the first grayscale image, the grayscale image is divided into the same number of areas, and for any pixel point in the grayscale image, within the neighborhood range of the pixel point, pixels in the same area as the pixel point are obtained as neighborhood pixels, and according to the stability index of each pixel point in the grayscale image, the stability similarity between the pixel point and each of the neighborhood pixels is obtained respectively;
[0014] According to the change of grayscale value of each pixel in the grayscale image, the similarity of grayscale change trend between the pixel and each of the neighboring pixel points is obtained respectively; according to the similarity of grayscale change trend and stability between the pixel and each of the neighboring pixel points, the shared index between the pixel and each of the neighboring pixel points is obtained respectively.
[0015] Preferably, the image analysis module obtains the self-stability index of each pixel in the grayscale image according to the grayscale value change between the grayscale image in the grayscale image sequence and all grayscale images before the grayscale image, including:
[0016] For any pixel point in the grayscale image, obtain the grayscale value of the position at the same position as the pixel point in each grayscale image before the grayscale image, and form a grayscale value sequence of the pixel point with the grayscale value of the pixel point, and count the occurrence probability of each gray level in the grayscale value sequence;
[0017] The occurrence probability of each gray level is used as a weight, and the absolute value of the difference between the gray value corresponding to each gray level and the gray value of the pixel point is weightedly summed to obtain a corresponding weighted summation result. The weighted summation result is negatively mapped using an exponential function with a natural constant as the base, and the corresponding result is used as the pixel point's own stability indicator.
[0018] Preferably, the image analysis module obtains the stability similarity between each pixel and each of the neighboring pixels according to the stability index of each pixel in the grayscale image, including:
[0019] For any neighboring pixel point of the pixel point, obtain the absolute value of the difference between the pixel point's own stability index and the neighboring pixel point's own stability index, and take the difference between a constant 1 and the absolute value of the difference as the stability similarity between the pixel point and the neighboring pixel point.
[0020] Preferably, the image analysis module obtains the similarity of the grayscale change trend between the pixel and each of the neighboring pixels according to the grayscale value change of each pixel in the grayscale image, including:
[0021] For any neighboring pixel of the pixel, obtain a first absolute value of the difference between the grayscale value of the pixel and its previous adjacent grayscale value in the grayscale value sequence of the pixel, and take the ratio of the first absolute value to the previous adjacent grayscale value as the grayscale change degree of the pixel;
[0022] Obtaining a second absolute value of the difference between the grayscale value of the neighborhood pixel and its previous adjacent grayscale value in the grayscale value sequence of the neighborhood pixel, and taking the ratio of the second absolute value to the previous adjacent grayscale value as the grayscale change degree of the neighborhood pixel;
[0023] Calculating the ratio of the grayscale change degree of the pixel point to the grayscale change degree of the neighboring pixel point, obtaining a third absolute value of the difference between the ratio and a constant 1, and performing negative mapping on the third absolute value using an exponential function with a natural constant as a base to obtain a corresponding mapping value;
[0024] Obtain a preceding adjacent grayscale image of the grayscale image; if the preceding adjacent grayscale image is the first grayscale image in the grayscale image sequence, then the grayscale change trend similarity between the pixel point and the neighborhood pixel point is the mapping value; if the preceding adjacent grayscale image is not the first grayscale image in the grayscale image sequence, then obtain in the preceding adjacent grayscale image the grayscale change trend similarity between two pixel points at the same position as the pixel point and the neighborhood pixel point as the target value, and calculate the mean between the target value and the mapping value as the grayscale change trend similarity between the pixel point and the neighborhood pixel point.
[0025] Preferably, the image analysis module obtains the sharing index between the pixel point and each of the neighboring pixel points according to the similarity of grayscale change trend and stability between the pixel point and each of the neighboring pixel points, including:
[0026] The addition result between the grayscale change trend similarity and the stability similarity between the pixel point and each of the neighboring pixel points is obtained as a sharing index between the pixel point and each of the neighboring pixel points.
[0027] Preferably, the model building module divides all pixels in the grayscale image into a preset number of categories according to a shared index between each pixel in the grayscale image and each of its neighboring pixels, including:
[0028] Obtain a preset first sharing index threshold and a second sharing index threshold, wherein the first sharing index threshold is greater than the second sharing index threshold, and for any pixel point in any area of the grayscale image, according to the sharing index between the pixel point and each of its neighboring pixel points, obtain a neighboring pixel point corresponding to a sharing index greater than the first sharing index threshold as a first target pixel point, determine a first target pixel point corresponding to a maximum sharing index among all first target pixel points, and use the first target pixel point corresponding to the maximum sharing index and the pixel point as first-category pixel points;
[0029] According to the sharing index between the pixel point and each of its neighboring pixel points, a neighboring pixel point corresponding to a sharing index less than or equal to the first sharing index threshold and greater than the second sharing index threshold is obtained as a second target pixel point, a second target pixel point corresponding to the maximum sharing index is determined among all the second target pixel points, and the second target pixel point corresponding to the maximum sharing index and the pixel point are taken as second-category pixel points;
[0030] The non-first category pixel points and non-second category pixel points in the region are regarded as the third category pixel points, and the pixel points in each region in the grayscale image are respectively divided into the first category pixel points, the second category pixel points and the third category pixel points.
[0031] Preferably, the Gaussian mixture model corresponding to each of the initial regions is obtained in the model building module, including:
[0032] For any initial region, the EM algorithm is used to fit the mixed Gaussian model to the grayscale values of the pixels in the initial region to obtain the mixed Gaussian model corresponding to the initial region.
[0033] Preferably, the model building module uses the mixed Gaussian model corresponding to each of the initial regions to obtain a specific mixed Gaussian model for each of the categories, including:
[0034] For any area in the grayscale image, a mixed Gaussian model of the initial area corresponding to the area is used to match all the first-category pixels in the area. If the match is successful, the mixed Gaussian model of the initial area corresponding to the area is updated according to the grayscale values of all the first-category pixels in the area to obtain a specific mixed Gaussian model of all the first-category pixels in the area. If the match is unsuccessful, a Gaussian model is constructed according to the grayscale values of all the first-category pixels in the area, and the Gaussian model is used to replace the Gaussian model corresponding to the minimum weight in the mixed Gaussian model of the initial area corresponding to the area to obtain a specific mixed Gaussian model of all the first-category pixels in the area.
[0035] Clustering the second-category pixel points in the area to obtain at least one small area, and for any small area, matching all the second-category pixel points in the small area with a mixed Gaussian model of an initial area corresponding to the area to obtain a corresponding matching result, and updating the mixed Gaussian model of the initial area corresponding to the area according to the matching result to obtain a specific mixed Gaussian model of the small area;
[0036] The mixed Gaussian model of the initial area corresponding to the area is matched with all the third-category pixels in the area to obtain a corresponding matching result, and the mixed Gaussian model of the initial area corresponding to the area is updated according to the matching result to obtain a specific mixed Gaussian model of all the third-category pixels in the area.
[0037] Preferably, the state monitoring module monitors the operating state of the 3D printer according to the foreground target area in each grayscale image in the grayscale image sequence, including:
[0038] Acquire the region center point of the foreground target region of each grayscale image in the grayscale image sequence, and obtain a displacement vector sequence according to the displacement vectors of the region center points between two adjacent grayscale images;
[0039] A standard displacement vector sequence corresponding to a preset movement path of the 3D printer is obtained, and if any displacement vector in the displacement vector sequence is inconsistent with a displacement vector in the standard displacement vector sequence, it is determined that an abnormality exists in the operation state of the 3D printer.
[0040] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0041] The present invention provides a remote monitoring system for the operation status of a 3D printer based on cloud computing, comprising an image preprocessing module, which is used to collect a real-time image sequence of the 3D printer within a preset period of time during the operation of the 3D printer, obtain a grayscale image sequence corresponding to the real-time image sequence, and perform region segmentation on the first grayscale image in the grayscale image sequence to obtain at least two initial regions; an image analysis module, which is used to obtain, for any grayscale image except the first grayscale image in the grayscale image sequence, the relationship between each pixel point in the grayscale image and each of its neighboring pixels according to the region to which each pixel point in the grayscale image belongs and the grayscale value. a sharing index between each pixel in the grayscale image and each of its neighboring pixels; a model building module, for dividing all the pixels in the grayscale image into a preset number of categories according to the sharing index between each pixel in the grayscale image and each of its neighboring pixels, obtaining a mixed Gaussian model corresponding to each of the initial regions, and obtaining a specific mixed Gaussian model for each of the categories using the mixed Gaussian model corresponding to each of the initial regions; a state monitoring module, for extracting a foreground target region in the grayscale image using the specific mixed Gaussian model for each of the categories, and monitoring the operating state of the 3D printer according to the foreground target region in each grayscale image in the grayscale image sequence. Among them, considering that the grayscale values or colors of pixels in the image of the 3D printer usually show certain similarities and continuity, such similarities and continuity can reflect the attributes between any pixel and its neighboring pixels. Therefore, by analyzing the shared index between each pixel in the grayscale image and each of its neighboring pixels, the pixels with the same characteristics around a single pixel in the grayscale image can share a mixed Gaussian model, so that according to the shared index between each pixel in the grayscale image and each of its neighboring pixels, all pixels in the grayscale image are divided into multiple categories to obtain a specific mixed Gaussian model corresponding to each category, which can make the mixed Gaussian model adapt to scene changes more quickly and avoid the limitation of the traditional mixed Gaussian model that each pixel needs to maintain multiple Gaussian models, thereby reducing the amount of calculation and improving the recognition speed and accuracy of the operation status of the 3D printer by using the foreground target area in the grayscale image detected by the mixed Gaussian model. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 This is a structural block diagram of a remote monitoring system for the operating status of a 3D printer based on cloud computing provided in Embodiment 1 of the present invention. DETAILED DESCRIPTION
[0044] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, but should not be understood as limiting the present disclosure.
[0045] It should be noted that the terms "first", "second", etc. in the specification of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0046] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0047] The specific scenario targeted by the present invention is: during the operation of a 3D printer, after the camera collects real-time images of the 3D printer within a period of time, these image data are uploaded to a cloud computing platform. After receiving the image data transmitted by the camera, the cloud computing platform processes and analyzes the image data to monitor whether the operating status of the 3D printer is abnormal.
[0048] See also Figure 1 , is a structural block diagram of a remote monitoring system for the operation status of a 3D printer based on cloud computing provided in Embodiment 1 of the present invention, such as Figure 1 As shown, the system may include:
[0049] The image preprocessing module 11 is used to collect a real-time image sequence of the 3D printer within a preset time period during the operation of the 3D printer, obtain a grayscale image sequence corresponding to the real-time image sequence, and perform region segmentation on the first grayscale image in the grayscale image sequence to obtain at least two initial regions.
[0050] The camera is pointed directly at the 3D printer. During the operation of the 3D printer, real-time image acquisition is performed on the 3D printer to obtain a video within a preset period of time. The video corresponds to a real-time image sequence, wherein the preset period is set to 30 minutes, that is, a video is re-acquired every 30 minutes to avoid too many images in the real-time image sequence, thereby affecting the real-time judgment of the operation status of the 3D printer. After obtaining the real-time image sequence, each real-time image in the real-time image sequence is grayed to obtain a corresponding gray image sequence, wherein the graying process belongs to the prior art and will not be described in detail here.
[0051] Since the grayscale image of the 3D printer collected in the actual processing scene includes a moving area of the 3D printer and a fixed background area, that is, the movement of the 3D printer will not affect such areas, therefore, in an embodiment of the present invention, the first frame image in the grayscale image sequence is used as a reference, and the first grayscale image in the grayscale image sequence is segmented by using the region growing method to obtain at least two initial regions, and the pixels in the initial regions themselves have similar grayscale values.
[0052] The image analysis module 12 is used to obtain, for any grayscale image except the first grayscale image in the grayscale image sequence, a sharing index between each pixel in the grayscale image and each of its neighboring pixels according to the region to which each pixel in the grayscale image belongs and the grayscale value.
[0053] Taking into account that adjacent pixels are often affected by similar external conditions such as lighting, reflection and surface characteristics of objects due to their close positions, the grayscale changes of pixels in a small local range in the image have certain similarities, and the corresponding mixed Gaussian models also have high similarity. Therefore, by considering the spatial relationship between pixels and allowing adjacent pixels with similar grayscale in the image to share the same mixed Gaussian model, false detections caused by background interference can be effectively reduced, thereby improving the accuracy of moving target detection.
[0054] However, compared with the area that is easily affected by the operation of the 3D printer, the pixels in the fixed background area have higher similarity and change trend. Only in this way can multiple pixels share the mixed Gaussian model while ensuring the accuracy of 3D printer recognition, thereby reducing the amount of calculation in the subsequent recognition process. Therefore, in the embodiment of the present invention, the stability of each area in the grayscale image is first judged, so as to extract the fixed background area that can share the mixed Gaussian background model.
[0055] For any grayscale image except the first grayscale image in the grayscale image sequence, recorded as the i-th grayscale image, according to the area and grayscale value to which each pixel in the i-th grayscale image belongs, the sharing index between each pixel in the i-th grayscale image and each of its neighboring pixels is obtained, so that the pixels with the same characteristics around a single pixel share a mixed Gaussian model, which can not only make the mixed Gaussian model adapt to scene changes more quickly, but also avoid the limitation of the traditional mixed Gaussian model that each pixel needs to maintain multiple Gaussian models, thereby reducing the amount of calculation.
[0056] The shared index between each pixel in the i-th grayscale image and each of its neighboring pixels is obtained, including:
[0057] (1) According to the grayscale value changes between the grayscale image in the grayscale image sequence and all grayscale images before the grayscale image, the self-stability index of each pixel in the grayscale image is obtained respectively.
[0058] Specifically, for any pixel point in the grayscale image, the grayscale value at the same position as the pixel point in each grayscale image before the grayscale image is obtained, and the grayscale value sequence of the pixel point is formed with the grayscale value of the pixel point, and the occurrence probability of each gray level in the grayscale value sequence is counted;
[0059] The occurrence probability of each gray level is used as a weight, and the absolute value of the difference between the gray value corresponding to each gray level and the gray value of the pixel point is weightedly summed to obtain a corresponding weighted summation result. The weighted summation result is negatively mapped using an exponential function with a natural constant as the base, and the corresponding result is used as the pixel point's own stability indicator.
[0060] In one embodiment, taking the jth pixel in the i-th grayscale image as an example, assuming that the coordinate position of the j-th pixel is (a, b), the grayscale value of the pixel with the coordinate position (a, b) in each grayscale image before the i-th grayscale image is obtained in the grayscale image sequence, and the grayscale value of the j-th pixel is combined with the grayscale value of the j-th pixel to form a grayscale value sequence of the j-th pixel. The probability of occurrence of each gray level in the grayscale value sequence of the j-th pixel is obtained by counting , according to the occurrence probability of each gray level in the gray value sequence of the j-th pixel point, and the gray difference between each gray level and the j-th pixel point, the self-stability index of the j-th pixel point is obtained, and the calculation expression of the self-stability index of the j-th pixel point is:
[0061]
[0062] in, represents the self-stability index of the j-th pixel, exp() represents the exponential function with a natural constant as the base, represents the probability of occurrence of the rth gray level in the gray value sequence of the jth pixel, Represents the grayscale value of the rth grayscale level in the grayscale value sequence of the jth pixel, represents the gray value of the jth pixel, | | represents the absolute value symbol, Represents the total number of gray levels in the gray value sequence of the jth pixel.
[0063] It should be noted that according to the occurrence probability of each gray value in the gray value sequence of the jth pixel point and the difference between the gray values To characterize the stability of the j-th pixel, the difference The smaller it is, the more stable the grayscale change of the j-th pixel is, and the larger the corresponding self-stability index of the j-th pixel is. Conversely, the more unstable the grayscale change of the j-th pixel is, and the smaller the corresponding self-stability index of the j-th pixel is.
[0064] (2) According to each initial area in the first grayscale image, the grayscale image is divided into the same number of areas, and for any pixel point in the grayscale image, within the neighborhood of the pixel point, the pixel points in the same area as the pixel point are obtained as neighborhood pixel points, and according to the stability index of each pixel point in the grayscale image, the stability similarity between the pixel point and each of the neighborhood pixel points is obtained respectively.
[0065] Specifically, all the initial regions in the first grayscale image are known, and then the i-th grayscale image is divided into regions according to the initial regions with reference to the initial regions, and the i-th grayscale image is divided into regions with the same number as the initial regions. For the j-th pixel in the i-th grayscale image, the pixels belonging to the same region as the j-th pixel are selected within the eight neighborhoods of the j-th pixel as the neighborhood pixels of the j-th pixel. Then, according to the stability index of the j-th pixel in the i-th grayscale image and its neighborhood pixels, the stability similarity between the j-th pixel and each neighborhood pixel is obtained.
[0066] Among them, obtaining the stability similarity between the j-th pixel and each neighboring pixel includes:
[0067] For any neighboring pixel point of the pixel point, obtain the absolute value of the difference between the pixel point's own stability index and the neighboring pixel point's own stability index, and take the difference between a constant 1 and the absolute value of the difference as the stability similarity between the pixel point and the neighboring pixel point.
[0068] In one embodiment, taking the kth neighboring pixel of the jth pixel as an example, the calculation expression of the stability similarity between the jth pixel and the kth neighboring pixel is:
[0069]
[0070] in, represents the stability similarity between the j-th pixel and the k-th neighboring pixel, 1 represents a constant, Represents the self-stability index of the j-th pixel, represents the self-stability index of the kth neighborhood pixel of the jth pixel, and || represents the absolute value sign.
[0071] It should be noted that if the j-th pixel has a higher stability, it means that the pixel is less affected by the environment, and the probability that the pixel is a background pixel is higher. At this time, if the similarity between the neighborhood pixel and the j-th pixel is higher, the probability that the neighborhood pixel belongs to the background pixel is also greater, and the probability that the j-th pixel and its neighborhood pixel can share the same Gaussian mixture model is greater. Therefore, The smaller the value of , the greater the stability similarity between the corresponding j-th pixel and the k-th neighboring pixel.
[0072] (3) According to the change of the gray value of each pixel in the gray image, respectively obtain the similarity of the gray value change trend between the pixel and each of the neighboring pixels.
[0073] Specifically, for any neighboring pixel point of the pixel point, a first absolute value of the difference between the grayscale value of the pixel point and its previous adjacent grayscale value is obtained in the grayscale value sequence of the pixel point, and a ratio between the first absolute value and the previous adjacent grayscale value is used as the grayscale change degree of the pixel point;
[0074] Obtaining a second absolute value of the difference between the grayscale value of the neighborhood pixel and its previous adjacent grayscale value in the grayscale value sequence of the neighborhood pixel, and taking the ratio of the second absolute value to the previous adjacent grayscale value as the grayscale change degree of the neighborhood pixel;
[0075] Calculating the ratio of the grayscale change degree of the pixel point to the grayscale change degree of the neighboring pixel point, obtaining a third absolute value of the difference between the ratio and a constant 1, and performing negative mapping on the third absolute value using an exponential function with a natural constant as a base to obtain a corresponding mapping value;
[0076] Obtain a preceding adjacent grayscale image of the grayscale image; if the preceding adjacent grayscale image is the first grayscale image in the grayscale image sequence, then the grayscale change trend similarity between the pixel point and the neighborhood pixel point is the mapping value; if the preceding adjacent grayscale image is not the first grayscale image in the grayscale image sequence, then obtain in the preceding adjacent grayscale image the grayscale change trend similarity between two pixel points at the same position as the pixel point and the neighborhood pixel point as the target value, and calculate the mean between the target value and the mapping value as the grayscale change trend similarity between the pixel point and the neighborhood pixel point.
[0077] In one embodiment, if the pixel itself has low stability but has the same grayscale change trend as the neighboring pixel points, these pixel points can also share the mixed Gaussian model. For example, if the local area is suddenly exposed to light, the pixel point itself has a large grayscale change, but it has the same change trend as the surrounding pixels. Therefore, for the jth pixel in the i-th grayscale image, if the similarity between the self-stability of the pixel point and its neighboring pixel points is low, it can be further considered whether there is the same grayscale change trend. The calculation expression of the grayscale change trend similarity between the jth pixel point and the kth neighboring pixel point is:
[0078]
[0079] in, Indicates the similarity of grayscale change trend between the jth pixel in the i-th grayscale image and its k-th neighboring pixel. It represents the similarity of grayscale change trend between the jth pixel in the i-1th grayscale image and its kth neighboring pixel. exp() represents an exponential function with a natural constant as the base. Indicates the grayscale change degree of the jth pixel in the i-th grayscale image. It represents the grayscale change degree of the kth neighboring pixel of the jth pixel in the i-th grayscale image, 1 represents a constant, and || represents the absolute value sign.
[0080] It should be noted that The closer the value is to 1, the more similar the change trend of the j-th pixel and its k-th neighboring pixel is, and the greater the probability that the two pixels can share a mixed Gaussian model; conversely, the less similar the change trend of the two pixels is, the lower the probability that the two pixels can share a mixed Gaussian model. Secondly, when the i-th grayscale image is the second grayscale image in the grayscale image sequence, the calculation expression for the grayscale change trend similarity between any pixel in its image and its neighboring pixel is: .
[0081] Among them, the grayscale change degree of the jth pixel in the i-th grayscale image is The method for obtaining is: obtaining the first absolute value of the difference between the grayscale value of the j-th pixel and its previous adjacent grayscale value in the grayscale value sequence of the j-th pixel, and taking the ratio of the first absolute value to the previous adjacent grayscale value as the grayscale change degree of the j-th pixel.
[0082] The grayscale change degree of the kth neighboring pixel of the jth pixel in the i-th grayscale image The method for obtaining is: obtaining the second absolute value of the difference between the grayscale value of the kth neighborhood pixel and its previous adjacent grayscale value in the grayscale value sequence of the kth neighborhood pixel, and taking the ratio of the second absolute value to the previous adjacent grayscale value as the grayscale change degree of the kth neighborhood pixel.
[0083] (4) According to the grayscale change trend similarity and stability similarity between the pixel point and each of the neighboring pixel points, respectively obtain the sharing index between the pixel point and each of the neighboring pixel points.
[0084] Specifically, the addition result between the grayscale change trend similarity and the stability similarity between the pixel point and each of the neighborhood pixels is obtained as the sharing index between the pixel point and each of the neighborhood pixels.
[0085] In one embodiment, after obtaining the grayscale change trend similarity and stability similarity between the jth pixel point in the i-th grayscale image and its k-th neighboring pixel point, the sum of the grayscale change trend similarity and the stability similarity is used as a shared index between the jth pixel point in the i-th grayscale image and its k-th neighboring pixel point. Similarly, according to the method for obtaining the shared index between the jth pixel point in the i-th grayscale image and its k-th neighboring pixel point, the shared index between the jth pixel point in the i-th grayscale image and each of its neighboring pixel points is obtained respectively.
[0086] At this point, according to the method for obtaining the shared index between the jth pixel point in the ith grayscale image and each of its neighboring pixels, the shared index between each pixel point in the ith grayscale image and each of its neighboring pixels is obtained respectively.
[0087] The model building module 13 is used to divide all the pixels in the grayscale image into a preset number of categories according to the shared index between each pixel in the grayscale image and each of its neighboring pixels, obtain the mixed Gaussian model corresponding to each of the initial regions, and use the mixed Gaussian model corresponding to each of the initial regions to obtain a specific mixed Gaussian model for each of the categories.
[0088] Since pure background areas or areas that the 3D printer occasionally passes through during operation are relatively stable, it is more reliable to use a single mixed Gaussian model to characterize multiple pixels. For pure background areas, the grayscale values of the pixels in these areas are similar to those of their neighboring pixels and the changes are relatively stable. Therefore, the pixels in such areas not only have a high stability similarity, but also a high trend similarity. For areas that the 3D printer occasionally passes through during operation, the grayscale values of the pixels in these areas will have large changes, but have a high trend similarity. For areas that the 3D printer frequently passes through during operation, since the grayscale changes of the pixels in such areas are large and the changes are more frequent, the grayscale changes of different pixels are also different. In other words, the grayscale stability of such pixels themselves is poor, and there are also differences in the grayscale change trends between them and the surrounding pixels. Therefore, for such pixels, the probability of sharing a mixed Gaussian model is also low, that is, the above method can reduce the amount of data while ensuring high reliability for the recognition of moving targets.
[0089] Based on the above analysis, in an embodiment of the present invention, first, all pixels in the ith grayscale image are divided into a preset number of categories according to the sharing index between each pixel in the ith grayscale image and each of its neighboring pixels, and then, a mixed Gaussian model corresponding to each initial region in the first grayscale image is obtained. Finally, the mixed Gaussian model corresponding to each initial region is used to obtain a specific mixed Gaussian model for each category in the ith grayscale image, so that pixels with the same characteristics around a single pixel share a mixed Gaussian model, so that the mixed Gaussian model adapts to scene changes more quickly and ensures the accuracy of target recognition.
[0090] Among them, according to the shared index between each pixel in the i-th grayscale image and each of its neighboring pixels, all pixels in the i-th grayscale image are divided into a preset number of categories, including:
[0091] Obtain a preset first sharing index threshold and a second sharing index threshold, wherein the first sharing index threshold is greater than the second sharing index threshold, and for any pixel point in any area of the grayscale image, according to the sharing index between the pixel point and each of its neighboring pixel points, obtain a neighboring pixel point corresponding to a sharing index greater than the first sharing index threshold as a first target pixel point, determine a first target pixel point corresponding to a maximum sharing index among all first target pixel points, and use the first target pixel point corresponding to the maximum sharing index and the pixel point as first-category pixel points;
[0092] According to the sharing index between the pixel point and each of its neighboring pixel points, a neighboring pixel point corresponding to a sharing index less than or equal to the first sharing index threshold and greater than the second sharing index threshold is obtained as a second target pixel point, a second target pixel point corresponding to the maximum sharing index is determined among all the second target pixel points, and the second target pixel point corresponding to the maximum sharing index and the pixel point are taken as second-category pixel points;
[0093] The non-first category pixel points and non-second category pixel points in the region are regarded as the third category pixel points, and the pixel points in each region in the grayscale image are respectively divided into the first category pixel points, the second category pixel points and the third category pixel points.
[0094] In one embodiment, the first sharing index threshold is set to 1, and the second sharing index threshold is set to 0.6. Taking the jth pixel point in any area of the ith grayscale image as an example, since there is a sharing index between the jth pixel point and each of its neighboring pixel points, each sharing index is compared with the first sharing index threshold, and the neighboring pixel points corresponding to the value greater than the first sharing index threshold are marked as first target pixel points, and the first target pixel point corresponding to the maximum sharing index is determined among the first target pixel points, and the first target pixel point corresponding to the maximum sharing index and the jth pixel point are both marked as first-category pixel points; similarly, the neighboring pixel points corresponding to the sharing index less than or equal to the first sharing index threshold and greater than the second sharing index threshold are obtained as second target pixel points. Determine the second target pixel corresponding to the maximum shared index among all the second target pixels, and take the second target pixel corresponding to the maximum shared index and the j-th pixel as second-category pixels; similarly, perform the same analysis on each pixel in the region as the j-th pixel, so as to divide the pixels in the region into first-category pixels and second-category pixels, and for the pixels in the region that are not divided into the first-category pixels and the second-category pixels, take these pixels as third-category pixels, so far, the pixels in the region are divided into first-category pixels, second-category pixels and third-category pixels, and similarly, perform the same operation on each region in the grayscale image, so that the pixels in each region in the grayscale image can be divided into first-category pixels, second-category pixels and third-category pixels, respectively.
[0095] The mixed Gaussian model corresponding to each initial region in the first grayscale image is obtained, including:
[0096] For any initial region, the EM algorithm is used to fit the mixed Gaussian model to the grayscale values of the pixels in the initial region to obtain the mixed Gaussian model corresponding to the initial region.
[0097] In one embodiment, the number of Gaussian models in the mixed Gaussian model of the initial region is set to 5. For each initial region in the first grayscale image, the mixed Gaussian model composed of 5 Gaussian models is fitted using the EM algorithm according to the grayscale value of each pixel point contained in the initial region, and the mixed Gaussian model of the initial region is obtained accordingly, wherein the EM algorithm and the fitting of the mixed Gaussian model belong to the prior art and will not be described in detail here. At this point, the mixed Gaussian model corresponding to each fitted initial region can be obtained.
[0098] Among them, using the mixed Gaussian model corresponding to each initial region, a specific mixed Gaussian model of each category in the i-th grayscale image is obtained, including:
[0099] For any area in the grayscale image, a mixed Gaussian model of the initial area corresponding to the area is used to match all the first-category pixels in the area. If the match is successful, the mixed Gaussian model of the initial area corresponding to the area is updated according to the grayscale values of all the first-category pixels in the area to obtain a specific mixed Gaussian model of all the first-category pixels in the area. If the match is unsuccessful, a Gaussian model is constructed according to the grayscale values of all the first-category pixels in the area, and the Gaussian model is used to replace the Gaussian model corresponding to the minimum weight in the mixed Gaussian model of the initial area corresponding to the area to obtain a specific mixed Gaussian model of all the first-category pixels in the area.
[0100] Clustering the second-category pixel points in the area to obtain at least one small area, and for any small area, matching all the second-category pixel points in the small area with a mixed Gaussian model of an initial area corresponding to the area to obtain a corresponding matching result, and updating the mixed Gaussian model of the initial area corresponding to the area according to the matching result to obtain a specific mixed Gaussian model of the small area;
[0101] The mixed Gaussian model of the initial area corresponding to the area is matched with all the third-category pixels in the area to obtain a corresponding matching result, and the mixed Gaussian model of the initial area corresponding to the area is updated according to the matching result to obtain a specific mixed Gaussian model of all the third-category pixels in the area.
[0102] In one embodiment, it is considered that there is a category conversion of pixels during the actual operation of the 3D printer, that is, the first category of pixels in the pure background area will become the second category of pixels, or the second category of pixels will become the third category of pixels. At this time, the mixed Gaussian model of each category of pixels and the previous category of pixels is the initial model. If a pixel changes from a first category of pixels to a second category of pixels, the initial model of the mixed Gaussian model of the second category of pixels is the mixed Gaussian model corresponding to the pixel belonging to the first category of pixels. For example: assuming that the jth pixel is initially a first category of pixels, it corresponds to a mixed Gaussian model A. If the jth pixel is subsequently determined to be a second category of pixels, the mixed Gaussian model A is used as the initial model of the pixel, and the mixed Gaussian model A is continued to be maintained and updated, thereby obtaining a specific mixed Gaussian model for each category.
[0103] For the specific mixed Gaussian model of each category in the i-th grayscale image, it is maintained and updated through the mixed Gaussian model of the initial area. The method for obtaining the specific mixed Gaussian model is as follows: first, for any area in the i-th grayscale image, it is known that the area is obtained by dividing the initial area, that is, the initial area and the area belong to the same position. Therefore, the mixed Gaussian model of the initial area corresponding to the area is used as the initial model of the area, and for the first type of pixels in the area, the initial model is used to match the first type of pixels in the area. If the match is successful, it means that these first type of pixels are background points, and then the grayscale values of these first type of pixels are used to update the initial model to obtain a new mixed Gaussian model as the specific mixed Gaussian model of all the first type of pixels in the area; conversely, if the match is unsuccessful, it means that these first type of pixels are foreground targets, then a Gaussian model is constructed according to the grayscale values of all the first type of pixels in the area, and this Gaussian model replaces the Gaussian model corresponding to the minimum weight in the initial model to obtain the specific mixed Gaussian model of all the first type of pixels in the area.
[0104] Similarly, for the second type of pixel points in the area, taking into account the inconsistent degree of change in different positions in the same area, that is, there may be multiple different sub-areas composed of second type pixel points in the same area, but the degree of change of these areas is inconsistent. Therefore, in order to ensure the accuracy of foreground target recognition, the embodiment of the present invention uses the DBSCAN clustering algorithm to divide the second type of pixel points into regions according to the coordinates of the second type of pixel points in the area, and each clustering result obtained corresponds to a small area, wherein the DBSCAN clustering algorithm belongs to the prior art and will not be repeated here.
[0105] Since each small area belongs to this region, the initial model of each small area is also the mixed Gaussian model of the initial area corresponding to the region. Then, for any small area, according to the method of updating the initial model according to the grayscale value of the first type of pixel pairs in the region, the grayscale value of each second type of pixel in the small area is used to obtain the specific mixed Gaussian model of the small area, thereby obtaining the specific mixed Gaussian model of each small area. Similarly, for the third type of pixel in the region, the initial model of the third type of pixel is also the mixed Gaussian model of the initial area corresponding to the region. Therefore, according to the method of updating the initial model according to the grayscale value of the first type of pixel pairs in the region, the grayscale value of the third type of pixel is used to obtain the specific mixed Gaussian model of all the third type of pixel in the region. At this point, the maintenance and update of the mixed Gaussian model of the region is completed.
[0106] Similarly, according to the method of maintaining and updating the mixed Gaussian model of the area, the grayscale values of the pixels in each area in the i-th grayscale image are used to maintain and update the mixed Gaussian model of all pixels, thereby obtaining a specific mixed Gaussian model for each category in the i-th grayscale image, thereby achieving the purpose of multiple pixels sharing one mixed Gaussian model.
[0107] The state monitoring module 14 is used to extract the foreground target area in the grayscale image by using the specific mixed Gaussian model of each category, and monitor the operation state of the 3D printer according to the foreground target area in each grayscale image in the grayscale image sequence.
[0108] After determining the specific mixed Gaussian model of each category in the i-th grayscale image, each specific mixed Gaussian model can be used to extract the foreground target area in the i-th grayscale image. Similarly, according to extracting the foreground target area in the i-th grayscale image, the foreground target area in each grayscale image in the grayscale image sequence except the first grayscale image is obtained. For the first grayscale image in the grayscale image sequence, the foreground target area in the grayscale image is directly extracted according to the mixed Gaussian model of each initial area in the grayscale image. So far, the foreground target area in each grayscale image in the grayscale image sequence is obtained. Among them, the foreground target area refers to a 3D printer.
[0109] Further, monitoring the operating state of the 3D printer according to the foreground target area in each grayscale image in the grayscale image sequence includes:
[0110] Acquire the region center point of the foreground target region of each grayscale image in the grayscale image sequence, and obtain a displacement vector sequence according to the displacement vectors of the region center points between two adjacent grayscale images;
[0111] A standard displacement vector sequence corresponding to a preset movement path of the 3D printer is obtained, and if any displacement vector in the displacement vector sequence is inconsistent with a displacement vector in the standard displacement vector sequence, it is determined that an abnormality exists in the operation state of the 3D printer.
[0112] In one embodiment, the present invention uses the change of the area center point of the foreground target area in the adjacent grayscale images to determine whether the operation status of the 3D printer is normal (for example, whether there is a delay or advance operation). Specifically, the set movement path of the 3D printer is first obtained, and the projection vector of the set movement path on the camera plane is used as the standard displacement vector sequence of the 3D printer. Then, according to the displacement vector of the area center point between two adjacent grayscale images, a displacement vector sequence is obtained, and it is detected whether any displacement vector in the displacement vector sequence is consistent with the displacement vector in the standard displacement vector sequence. If all are consistent, it is determined that the operation status of the 3D printer is normal; conversely, if there is at least one displacement vector in the displacement vector sequence that is inconsistent with the displacement vector in the standard displacement vector sequence, it is determined that the operation status of the 3D printer is abnormal.
[0113] In summary, an embodiment of the present invention provides a remote monitoring system for the operation status of a 3D printer based on cloud computing, comprising an image preprocessing module, for collecting a real-time image sequence of the 3D printer within a preset period of time during the operation of the 3D printer, obtaining a grayscale image sequence corresponding to the real-time image sequence, and performing region segmentation on the first grayscale image in the grayscale image sequence to obtain at least two initial regions; an image analysis module, for obtaining, for any grayscale image except the first grayscale image in the grayscale image sequence, a region to which each pixel in the grayscale image belongs and a grayscale value, a relationship between each pixel in the grayscale image and each of its neighbors. a sharing index between domain pixels; a model building module, used to divide all pixels in the grayscale image into a preset number of categories according to the sharing index between each pixel in the grayscale image and each of its neighboring pixels, obtain a mixed Gaussian model corresponding to each of the initial regions, and use the mixed Gaussian model corresponding to each of the initial regions to obtain a specific mixed Gaussian model for each of the categories; a state monitoring module, used to extract a foreground target area in the grayscale image using the specific mixed Gaussian model for each of the categories, and monitor the operating state of the 3D printer according to the foreground target area in each grayscale image in the grayscale image sequence. Among them, considering that the grayscale values or colors of pixels in the image of the 3D printer usually show certain similarities and continuity, such similarities and continuity can reflect the attributes between any pixel and its neighboring pixels. Therefore, by analyzing the shared index between each pixel in the grayscale image and each of its neighboring pixels, the pixels with the same characteristics around a single pixel in the grayscale image can share a mixed Gaussian model, so that according to the shared index between each pixel in the grayscale image and each of its neighboring pixels, all pixels in the grayscale image are divided into multiple categories to obtain a specific mixed Gaussian model corresponding to each category, which can make the mixed Gaussian model adapt to scene changes more quickly and avoid the limitation of the traditional mixed Gaussian model that each pixel needs to maintain multiple Gaussian models, thereby reducing the amount of calculation and improving the recognition speed and accuracy of the operation status of the 3D printer by using the foreground target area in the grayscale image detected by the mixed Gaussian model.
[0114] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A remote monitoring system for the operation status of a 3D printer based on cloud computing, characterized in that: The system comprises: An image preprocessing module is used to collect a real-time image sequence of the 3D printer within a preset period of time during the operation of the 3D printer, obtain a grayscale image sequence corresponding to the real-time image sequence, and perform region segmentation on the first grayscale image in the grayscale image sequence to obtain at least two initial regions; An image analysis module, for obtaining, for any grayscale image except the first grayscale image in the grayscale image sequence, a sharing index between each pixel in the grayscale image and each of its neighboring pixels according to the region to which each pixel in the grayscale image belongs and the grayscale value; A model building module, used to divide all pixels in the grayscale image into a preset number of categories according to a shared index between each pixel in the grayscale image and each of its neighboring pixels, obtain a mixed Gaussian model corresponding to each of the initial regions, and use the mixed Gaussian model corresponding to each of the initial regions to obtain a specific mixed Gaussian model for each of the categories; a state monitoring module, for extracting a foreground target region in the grayscale image by using a specific mixed Gaussian model of each of the categories, and monitoring the operating state of the 3D printer according to the foreground target region in each grayscale image in the grayscale image sequence; The image analysis module obtains a sharing index between each pixel in the grayscale image and each of its neighboring pixels according to the region to which each pixel in the grayscale image belongs and the grayscale value, including: For any pixel point in the grayscale image, obtain the grayscale value of the position at the same position as the pixel point in each grayscale image before the grayscale image, and form a grayscale value sequence of the pixel point with the grayscale value of the pixel point, and count the occurrence probability of each gray level in the grayscale value sequence; Using the occurrence probability of each gray level as a weight, weighted summing is performed on the absolute value of the difference between the gray value corresponding to each gray level and the gray value of the pixel point to obtain a corresponding weighted summing result, and negative mapping is performed on the weighted summing result using an exponential function with a natural constant as a base, and the corresponding result is used as the self-stability index of the pixel point; According to each initial area in the first grayscale image, the grayscale image is divided into the same number of areas, and for any pixel point in the grayscale image, within the neighborhood range of the pixel point, pixels in the same area as the pixel point are obtained as neighborhood pixels, and for any neighborhood pixel point of the pixel point, the absolute value of the difference between the self-stability index of the pixel point and the self-stability index of the neighborhood pixel point is obtained, and the difference between a constant 1 and the absolute value of the difference is used as the stability similarity between the pixel point and the neighborhood pixel point; For any neighboring pixel of the pixel, obtain a first absolute value of the difference between the grayscale value of the pixel and its previous adjacent grayscale value in the grayscale value sequence of the pixel, and take the ratio of the first absolute value to the previous adjacent grayscale value as the grayscale change degree of the pixel; Obtaining a second absolute value of the difference between the grayscale value of the neighborhood pixel and its previous adjacent grayscale value in the grayscale value sequence of the neighborhood pixel, and taking the ratio of the second absolute value to the previous adjacent grayscale value as the grayscale change degree of the neighborhood pixel; Calculating the ratio of the grayscale change degree of the pixel point to the grayscale change degree of the neighboring pixel point, obtaining a third absolute value of the difference between the ratio and a constant 1, and performing negative mapping on the third absolute value using an exponential function with a natural constant as a base to obtain a corresponding mapping value; Obtain a previous adjacent grayscale image of the grayscale image, and if the previous adjacent grayscale image is the first grayscale image in the grayscale image sequence, then the grayscale change trend similarity between the pixel point and the neighborhood pixel point is the mapping value; if the previous adjacent grayscale image is not the first grayscale image in the grayscale image sequence, then obtain the grayscale change trend similarity between two pixels at the same position as the pixel point and the neighborhood pixel point in the previous adjacent grayscale image as the target value, and calculate the mean value between the target value and the mapping value as the grayscale change trend similarity between the pixel point and the neighborhood pixel point; Obtaining the addition result between the grayscale change trend similarity and the stability similarity between the pixel point and each of the neighboring pixel points as a sharing index between the pixel point and each of the neighboring pixel points; The model building module divides all pixels in the grayscale image into a preset number of categories according to the shared index between each pixel in the grayscale image and each of its neighboring pixels, including: Obtain a preset first sharing index threshold and a second sharing index threshold, wherein the first sharing index threshold is greater than the second sharing index threshold, and for any pixel point in any area of the grayscale image, according to the sharing index between the pixel point and each of its neighboring pixel points, obtain a neighboring pixel point corresponding to a sharing index greater than the first sharing index threshold as a first target pixel point, determine a first target pixel point corresponding to a maximum sharing index among all first target pixel points, and use the first target pixel point corresponding to the maximum sharing index and the pixel point as first-category pixel points; According to the sharing index between the pixel point and each of its neighboring pixel points, a neighboring pixel point corresponding to a sharing index less than or equal to the first sharing index threshold and greater than the second sharing index threshold is obtained as a second target pixel point, a second target pixel point corresponding to the maximum sharing index is determined among all the second target pixel points, and the second target pixel point corresponding to the maximum sharing index and the pixel point are taken as second-category pixel points; The non-first-category pixel points and the non-second-category pixel points in the region are taken as the third-category pixel points, and the pixel points in each region in the grayscale image are respectively divided into the first-category pixel points, the second-category pixel points and the third-category pixel points; The model building module uses the mixed Gaussian model corresponding to each of the initial regions to obtain a specific mixed Gaussian model for each of the categories, including: For any area in the grayscale image, a mixed Gaussian model of the initial area corresponding to the area is used to match all the first-category pixels in the area. If the match is successful, the mixed Gaussian model of the initial area corresponding to the area is updated according to the grayscale values of all the first-category pixels in the area to obtain a specific mixed Gaussian model of all the first-category pixels in the area. If the match is unsuccessful, a Gaussian model is constructed according to the grayscale values of all the first-category pixels in the area, and the Gaussian model is used to replace the Gaussian model corresponding to the minimum weight in the mixed Gaussian model of the initial area corresponding to the area to obtain a specific mixed Gaussian model of all the first-category pixels in the area. Clustering the second-category pixel points in the area to obtain at least one small area, and for any small area, matching all the second-category pixel points in the small area with a mixed Gaussian model of an initial area corresponding to the area to obtain a corresponding matching result, and updating the mixed Gaussian model of the initial area corresponding to the area according to the matching result to obtain a specific mixed Gaussian model of the small area; The mixed Gaussian model of the initial area corresponding to the area is matched with all the third-category pixels in the area to obtain a corresponding matching result, and the mixed Gaussian model of the initial area corresponding to the area is updated according to the matching result to obtain a specific mixed Gaussian model of all the third-category pixels in the area.
2. The cloud computing-based 3D printer operation status remote monitoring system according to claim 1, characterized in that: The Gaussian mixture model corresponding to each of the initial regions is obtained in the model building module, including: For any initial region, the EM algorithm is used to fit the mixed Gaussian model to the grayscale values of the pixels in the initial region to obtain the mixed Gaussian model corresponding to the initial region.
3. The cloud computing-based 3D printer operation status remote monitoring system according to claim 1, characterized in that: The state monitoring module monitors the operating state of the 3D printer according to the foreground target area in each grayscale image in the grayscale image sequence, including: Acquire the region center point of the foreground target region of each grayscale image in the grayscale image sequence, and obtain a displacement vector sequence according to the displacement vectors of the region center points between two adjacent grayscale images; A standard displacement vector sequence corresponding to a preset movement path of the 3D printer is obtained, and if any displacement vector in the displacement vector sequence is inconsistent with a displacement vector in the standard displacement vector sequence, it is determined that an abnormality exists in the operation state of the 3D printer.
Citation Information
Patent Citations
Object contour detection method, device and equipment and storage medium
CN112085755A
Rotary table operation state stability detection method and system
CN115272259A
Image enhancement and identification method applied to box panoramic detection
CN115861135A
Construction engineering safety construction method and system based on video analysis
CN116095347A
Rotary table state monitoring method based on video monitoring
CN117372966A
