CN117455221A - Processing flow management system suitable for baking cream - Google Patents
Processing flow management system suitable for baking cream Download PDFInfo
- Publication number
- CN117455221A CN117455221A CN202311785973.6A CN202311785973A CN117455221A CN 117455221 A CN117455221 A CN 117455221A CN 202311785973 A CN202311785973 A CN 202311785973A CN 117455221 A CN117455221 A CN 117455221A
- Authority
- CN
- China
- Prior art keywords
- cream
- gray
- time
- process image
- contour
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000006071 cream Substances 0.000 title claims abstract description 92
- 238000012545 processing Methods 0.000 title claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 165
- 230000002159 abnormal effect Effects 0.000 claims abstract description 54
- 238000000465 moulding Methods 0.000 claims abstract description 40
- 238000000605 extraction Methods 0.000 claims abstract description 16
- 239000011159 matrix material Substances 0.000 claims description 80
- 235000014121 butter Nutrition 0.000 claims description 14
- 238000004364 calculation method Methods 0.000 claims description 13
- 238000012216 screening Methods 0.000 claims description 13
- 239000013598 vector Substances 0.000 description 8
- 235000013305 food Nutrition 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 3
- 235000008429 bread Nutrition 0.000 description 2
- 235000013365 dairy product Nutrition 0.000 description 2
- 238000000354 decomposition reaction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 240000004808 Saccharomyces cerevisiae Species 0.000 description 1
- 235000014680 Saccharomyces cerevisiae Nutrition 0.000 description 1
- 239000000654 additive Substances 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000013601 eggs Nutrition 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 235000013312 flour Nutrition 0.000 description 1
- 239000010794 food waste Substances 0.000 description 1
- 235000021552 granulated sugar Nutrition 0.000 description 1
- 239000004519 grease Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 150000003839 salts Chemical class 0.000 description 1
- 235000002639 sodium chloride Nutrition 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/04—Manufacturing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/761—Proximity, similarity or dissimilarity measures
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- General Health & Medical Sciences (AREA)
- Entrepreneurship & Innovation (AREA)
- Primary Health Care (AREA)
- Artificial Intelligence (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Development Economics (AREA)
- Quality & Reliability (AREA)
- Manufacturing & Machinery (AREA)
- Computing Systems (AREA)
- Databases & Information Systems (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a processing flow management system suitable for baking cream, which belongs to the technical field of data processing and comprises a cream procedure image acquisition unit, a cream contour extraction unit, a contour comparison unit and an abnormal working point determination unit; the cream procedure image acquisition unit is used for acquiring procedure images at all moments; the cream contour extraction unit is used for determining the molding contour of the baked cream; the contour comparison unit is used for judging whether the molding contour at the current moment is qualified or not; the abnormal operating point determining unit is used for determining an abnormal operating time point of the baked cream. The invention discloses a processing flow management system suitable for baking cream, which is used for extracting contours of current process images, judging whether the cream shape at the current moment is qualified or not, and determining an abnormal working time point when the cream shape at the current moment is unsuitable, so that a user can conveniently know an accurate error point of the cream processing flow.
Description
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a processing flow management system suitable for baking cream.
Background
The baked food is an instant food which is prepared by taking flour, yeast, salt, granulated sugar and water as basic raw materials, adding proper amount of grease, dairy products, eggs, additives and the like, and baking by a series of complex technological means. Cream products are food materials which are very commonly applied in the fields of baking, catering and the like, and comprise products of the types of full cream, half cream, non-dairy cream and the like. With the development of food processing technology, in order to improve the taste of baked food, cream with a fixed shape needs to be coated on the baked food, for example, cream is coated on the surface of bread, so that the taste of bread can be improved, however, when an automatic cream molding machine is used, the situation that the cream shape is not satisfactory may occur, and food waste is caused, so that the baking molding process of the cream needs to be monitored.
Disclosure of Invention
In order to solve the problems, the invention provides a processing flow management system suitable for baking cream.
The technical scheme of the invention is as follows: a processing flow management system suitable for baking cream comprises a cream procedure image acquisition unit, a cream contour extraction unit, a contour comparison unit and an abnormal working point determination unit;
the cream procedure image acquisition unit is used for acquiring procedure images of baked cream at each moment;
the cream contour extraction unit is used for determining the forming contour of the baked cream at the current moment according to the current moment working procedure image of the baked cream;
the contour comparison unit is used for comparing the molding contour of the baked butter at the current moment with the standard contour and judging whether the molding contour of the baked butter at the current moment is qualified or not;
the abnormal working point determining unit is used for determining abnormal working time points of the baked cream according to the process images at other moments when the molded outline of the baked cream at the current moment is unqualified.
The standard profile is determined by the user according to the actual requirements.
Further, the cream profile extraction unit determining the molding profile of the baked cream at the current time includes the steps of:
a1, constructing a gray level matrix of each pixel point according to the gray value of each pixel point in the process image of the baking cream at the current moment;
a2, constructing an integral gray matrix for the current time process image according to the gray level matrix of each pixel point in the current time process image of the baking cream;
a3, determining the constraint gray value of each pixel point in the current time process image according to the gray level matrix of each pixel point and the whole gray level matrix of the current time process image;
and A4, taking all pixel points with constraint gray values smaller than the characteristic values of the whole gray matrix as the molding contour at the current moment.
The beneficial effects of the above-mentioned further scheme are: in the invention, the gray level matrix of a certain pixel point is generated according to the gray level values of the certain pixel point and the surrounding four adjacent areas, and the generated gray level matrix contains the gray level conditions of the pixel point and the surrounding gray level, so that the gray level matrix of the whole process image at the current moment can be constructed. The singular value decomposition of the matrix can simplify the complex matrix, so that the invention can determine the restricted gray value of each pixel point through the magnitude comparison between the singular value corresponding to the gray level matrix of each pixel point and the singular value corresponding to the whole gray level matrix, and then the pixel points at the edge are screened through the characteristic value to determine the forming contour of cream at the moment, the gray characteristics of the pixel points are fully invoked in the whole process, and the accuracy of contour extraction is improved.
Further, in A1, the gray level matrix C of the pixel point of the x-th row and y-th column in the current process image x,y The expression of (2) is:the method comprises the steps of carrying out a first treatment on the surface of the In the formula, h x,y Representing gray value of pixel point in x row and y column, h x-1,y A gray value h representing the pixel point of the x-1 row and the y column x+1,y A gray value h representing the pixel point of the x+1th row and y-th column x,y-1 Representing gray value of pixel point of the x-th row and y-1 th column, h x,y+1 Gray values of the pixel points in the x row and the y+1 column are represented;
in A2, the expression of the whole gray matrix Z of the current process image is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein C is 1,1 Gray value matrix representing 1 st row and 1 st column pixel points, C 1,2 Gray level matrix representing 1 st row and 2 nd column pixel points, C 1,Y Gray level matrix representing 1 st row and Y column pixel points, C 2,1 Gray value matrix representing 2 nd row and 1 st column pixel points, C 2,2 Gray level matrix representing 2 nd row and 2 nd column pixel points, C 2,Y Gray level matrix representing 2 nd row and Y column pixel points, C X,1 Gray value matrix representing X-th row and 1-st column pixel points, C X,2 Gray level matrix representing X row and 2 column pixel points, C X,Y The gray level matrix of the pixel points of the X row and the Y column is represented, X represents the number of rows of the process image at the current moment, and Y represents the number of columns of the process image at the current moment.
Further, in A3, the constraint gray level L of the pixel point of the x-th row and y-th column in the current time process image x,y The expression of (2) is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein Z represents the whole gray matrix of the current process image, C x,y Gray level matrix representing x-th row and y-th column pixel points in process image at current moment, ρ 0 Singular values, ρ, of the entire gray matrix representing the current time process image x,y And the singular value of the gray level matrix of the x-th row and y-th column pixel points in the process image at the current moment is represented.
Further, the specific method for judging whether the molded contour of the baked butter at the current moment is qualified by the contour comparison unit is as follows: and calculating the comparison similarity between the molded contour at the current moment and the standard contour by using a cosine similarity algorithm, if the comparison similarity is smaller than or equal to a similarity threshold value, the molded contour of the baked butter at the current moment is unqualified, otherwise, the molded contour of the baked butter at the current moment is qualified.
Cosine similarity is a commonly used method for measuring similarity between vectors, and can be used for calculating cosine values of included angles between two vectors. In image similarity calculation, an image may be converted into feature vectors, and then cosine similarity is used to compare the degrees of similarity of the feature vectors. In the present invention, other calculation of contour similarity may be used in addition to cosine similarity algorithm. The similarity threshold may be manually determined according to actual needs.
Further, the abnormal operating point determining unit determining an abnormal operating point of the baked cream includes the steps of:
b1, determining an abnormal time range according to process images at other moments and the molding outline of the baked cream at the current moment;
b2, constructing pixel constraint conditions;
and B3, screening process images with acquisition time belonging to an abnormal time range and conforming to pixel constraint conditions, obtaining an abnormal process image set, and taking the minimum acquisition time in the abnormal process image set as an abnormal working time point.
The beneficial effects of the above-mentioned further scheme are: in the present invention, when determining the abnormal working time point of the baked cream, two screening conditions are established, the first screening condition is time screening, the whole collection period is divided into two parts, that is, three time points (initial time,time and current time), respectively calculating forming weights between every two time points, determining the forming weights by using standard deviation representing the gray value discrete degree of the pixel points, and determining a approximate abnormal time range by comparing the sizes of the forming weights; next, determining an accurate abnormal working time point in the process images with the acquisition time belonging to an abnormal time range, constructing a second screening condition, namely a pixel constraint condition for carrying out pixel screening, and taking the earliest acquisition time as the abnormal time working point if a plurality of process images exist in the abnormal time range and meet the pixel constraint condition.
Further, B1 comprises the sub-steps of:
b11, extractionA time process image; wherein T represents the currentTime of day (I)>Representing an upward rounding operation;
b12, calculating the initial time process imageForming weights among the time procedure images to obtain first forming weights; calculate->Forming weights between the time procedure image and the forming contour at the current time are obtained;
b13, if the first molding weight is greater than or equal to the second molding weight, the abnormal time range isIf the first molding weight is smaller than the second molding weight, the abnormal time range is +.>。
Further, in B12, the first molding weight α 1 The calculation formula of (2) is as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein H is 0 Representing standard deviation, H, between gray values of all pixel points in the process image at initial time 1 Representation->Standard deviation, M, between gray values of all pixels in a time process image 0 Representing the number of pixels of the process image at the initial time, M 1 Representation->The number of pixels of the time procedure image, h 0 Representing the maximum gray value, h, in the process image at the initial time 1 Representation->In the time step image, the maximum gradation value, e, represents an index, and max (·) represents a maximum value calculation.
Further, in B12, the second molding weight α 2 The calculation formula of (2) is as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein H is 1 Representation->Standard deviation between gray values of all pixel points in time procedure image, H 2 Representing standard deviation, M, between gray values of all pixel points in a molded contour at the current moment 1 Representation->The number of pixels of the time process image, M 2 The number of pixel points of the molding contour at the current moment is represented by h 0 Representing the maximum gray value, h, in the process image at the initial time 1 Representation->Maximum gray value h in time process image 2 The maximum gray value in the molding contour at the current moment is represented, e represents an index, and max (·) represents a maximum value operation.
Further, in B2, the expression of the pixel constraint is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein P is 0 Representing the average value of gray values of all pixel points in the process image at the initial moment, P t Representing the gray value average value of all pixel points in the process image at the time t, P t+1 Representing the gray value average value, P of all pixel points in the process image at time t+1 T The gray value average value of all pixel points in the process image at the current moment is represented, T represents the current moment, min (·) represents the minimum value operation, c represents a constant, and lambda represents the characteristic value of the whole gray matrix.
The beneficial effects of the invention are as follows: the invention discloses a processing flow management system suitable for baking cream, which is used for extracting contours of current procedure images, judging whether the cream shape at the current moment is qualified or not, and determining an abnormal working time point when the cream shape at the current moment is unsuitable, so that a user can conveniently know an accurate error point of the cream processing flow, and more processing defective products can be determined; when an abnormal working time point is determined, the whole acquisition time length is effectively divided, constraint conditions are constructed to screen working procedure images at all times, an accurate time point is finally determined, and the productivity of cream production is improved.
Drawings
Fig. 1 is a schematic diagram of a process flow management system suitable for baking cream.
Detailed Description
Embodiments of the present invention are further described below with reference to the accompanying drawings.
As shown in fig. 1, the invention provides a processing flow management system suitable for baking cream, which comprises a cream procedure image acquisition unit, a cream contour extraction unit, a contour comparison unit and an abnormal working point determination unit;
the cream procedure image acquisition unit is used for acquiring procedure images of baked cream at each moment;
the cream contour extraction unit is used for determining the forming contour of the baked cream at the current moment according to the current moment working procedure image of the baked cream;
the contour comparison unit is used for comparing the molding contour of the baked butter at the current moment with the standard contour and judging whether the molding contour of the baked butter at the current moment is qualified or not;
the abnormal working point determining unit is used for determining abnormal working time points of the baked cream according to the process images at other moments when the molded outline of the baked cream at the current moment is unqualified.
The standard profile is determined by the user according to the actual requirements.
In an embodiment of the present invention, the cream profile extraction unit determines a molding profile of the baked cream at the current time, comprising the steps of:
a1, constructing a gray level matrix of each pixel point according to the gray value of each pixel point in the process image of the baking cream at the current moment;
a2, constructing an integral gray matrix for the current time process image according to the gray level matrix of each pixel point in the current time process image of the baking cream;
a3, determining the constraint gray value of each pixel point in the current time process image according to the gray level matrix of each pixel point and the whole gray level matrix of the current time process image;
and A4, taking all pixel points with constraint gray values smaller than the characteristic values of the whole gray matrix as the molding contour at the current moment.
In the invention, the gray level matrix of a certain pixel point is generated according to the gray level values of the certain pixel point and the surrounding four adjacent areas, and the generated gray level matrix contains the gray level conditions of the pixel point and the surrounding gray level, so that the gray level matrix of the whole process image at the current moment can be constructed. The singular value decomposition of the matrix can simplify the complex matrix, so that the invention can determine the restricted gray value of each pixel point through the magnitude comparison between the singular value corresponding to the gray level matrix of each pixel point and the singular value corresponding to the whole gray level matrix, and then the pixel points at the edge are screened through the characteristic value to determine the forming contour of cream at the moment, the gray characteristics of the pixel points are fully invoked in the whole process, and the accuracy of contour extraction is improved.
In the embodiment of the invention, in A1, the gray level matrix C of the pixel points of the x row and the y column in the process image at the current moment x,y The expression of (2) is:the method comprises the steps of carrying out a first treatment on the surface of the In the formula, h x,y Representing gray value of pixel point in x row and y column, h x-1,y A gray value h representing the pixel point of the x-1 row and the y column x+1,y A gray value h representing the pixel point of the x+1th row and y-th column x,y-1 Representing gray value of pixel point of the x-th row and y-1 th column, h x,y+1 Gray values of the pixel points in the x row and the y+1 column are represented;
in A2, the expression of the whole gray matrix Z of the current process image is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein C is 1,1 Gray value matrix representing 1 st row and 1 st column pixel points, C 1,2 Gray level matrix representing 1 st row and 2 nd column pixel points, C 1,Y Gray level matrix representing 1 st row and Y column pixel points, C 2,1 Gray value matrix representing 2 nd row and 1 st column pixel points, C 2,2 Gray level matrix representing 2 nd row and 2 nd column pixel points, C 2,Y Gray level matrix representing 2 nd row and Y column pixel points, C X,1 Gray value matrix representing X-th row and 1-st column pixel points, C X,2 Gray level matrix representing X row and 2 column pixel points, C X,Y The gray level matrix of the pixel points of the X row and the Y column is represented, X represents the number of rows of the process image at the current moment, and Y represents the number of columns of the process image at the current moment.
In the embodiment of the invention, in A3, the gray level L is restricted by the pixel point of the x-th row and the y-th column in the process image at the current moment x,y The expression of (2) is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein Z represents the whole gray matrix of the current process image, C x,y Gray level matrix representing x-th row and y-th column pixel points in process image at current moment, ρ 0 Singular values, ρ, of the entire gray matrix representing the current time process image x,y And the singular value of the gray level matrix of the x-th row and y-th column pixel points in the process image at the current moment is represented.
In the embodiment of the invention, the specific method for judging whether the molding contour of the baked butter at the current moment is qualified by the contour comparison unit is as follows: and calculating the comparison similarity between the molded contour at the current moment and the standard contour by using a cosine similarity algorithm, if the comparison similarity is smaller than or equal to a similarity threshold value, the molded contour of the baked butter at the current moment is unqualified, otherwise, the molded contour of the baked butter at the current moment is qualified.
Cosine similarity is a commonly used method for measuring similarity between vectors, and can be used for calculating cosine values of included angles between two vectors. In image similarity calculation, an image may be converted into feature vectors, and then cosine similarity is used to compare the degrees of similarity of the feature vectors. In the present invention, other calculation of contour similarity may be used in addition to cosine similarity algorithm. The similarity threshold may be manually determined according to actual needs.
In an embodiment of the present invention, the abnormal operating point determining unit determines an abnormal operating point of the baked cream including the steps of:
b1, determining an abnormal time range according to process images at other moments and the molding outline of the baked cream at the current moment;
b2, constructing pixel constraint conditions;
and B3, screening process images with acquisition time belonging to an abnormal time range and conforming to pixel constraint conditions, obtaining an abnormal process image set, and taking the minimum acquisition time in the abnormal process image set as an abnormal working time point.
In the present invention, when determining the abnormal working time point of the baked cream, two screening conditions are established, the first screening condition is time screening, the whole collection period is divided into two parts, that is, three time points (initial time,time and current time), respectively calculating forming weights between every two time points, determining the forming weights by using standard deviation representing the gray value discrete degree of the pixel points, and determining a approximate abnormal time range by comparing the sizes of the forming weights; next, determining an accurate abnormal working time point in the process images with the acquisition time belonging to an abnormal time range, constructing a second screening condition, namely a pixel constraint condition for carrying out pixel screening, and taking the earliest acquisition time as the abnormal time working point if a plurality of process images exist in the abnormal time range and meet the pixel constraint condition.
In an embodiment of the present invention, B1 comprises the following sub-steps:
b11, extractionA time process image; in the formula, T represents the current time,/>representing an upward rounding operation;
b12, calculating the initial time process imageForming weights among the time procedure images to obtain first forming weights; calculate->The forming weight between the time procedure image and the forming contour at the current time is used for obtaining a second forming weight;
b13, if the first molding weight is greater than or equal to the second molding weight, the abnormal time range isIf the first molding weight is smaller than the second molding weight, the abnormal time range is +.>。
In the embodiment of the present invention, in B12, the first forming weight α 1 The calculation formula of (2) is as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein H is 0 Representing standard deviation, H, between gray values of all pixel points in the process image at initial time 1 Representation->Standard deviation, M, between gray values of all pixels in a time process image 0 Representing the number of pixels of the process image at the initial time, M 1 Representation->The number of pixels of the time procedure image, h 0 Representing the maximum gray value, h, in the process image at the initial time 1 Representation->In the time step image, the maximum gradation value, e, represents an index, and max (·) represents a maximum value calculation.
In the embodiment of the invention, in B12, the second molding weight alpha 2 The calculation formula of (2) is as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein H is 1 Representation->Standard deviation between gray values of all pixel points in time procedure image, H 2 Representing standard deviation, M, between gray values of all pixel points in a molded contour at the current moment 1 Representation->The number of pixels of the time process image, M 2 The number of pixel points of the molding contour at the current moment is represented by h 0 Representing the maximum gray value, h, in the process image at the initial time 1 Representation->Maximum gray value h in time process image 2 The maximum gray value in the molding contour at the current moment is represented, e represents an index, and max (·) represents a maximum value operation.
In the embodiment of the present invention, in B2, the expression of the pixel constraint condition is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein P is 0 Representing the average value of gray values of all pixel points in the process image at the initial moment, P t Representing the gray value average value of all pixel points in the process image at the time t, P t+1 Representing the gray value average value, P of all pixel points in the process image at time t+1 T The gray value average value of all pixel points in the process image at the current moment is represented, T represents the current moment, min (·) represents the minimum value operation, c represents a constant, and lambda represents the characteristic value of the whole gray matrix.
Those of ordinary skill in the art will recognize that the embodiments described herein are for the purpose of aiding the reader in understanding the principles of the present invention and should be understood that the scope of the invention is not limited to such specific statements and embodiments. Those of ordinary skill in the art can make various other specific modifications and combinations from the teachings of the present disclosure without departing from the spirit thereof, and such modifications and combinations remain within the scope of the present disclosure.
Claims (10)
1. The processing flow management system suitable for baking cream is characterized by comprising a cream procedure image acquisition unit, a cream contour extraction unit, a contour comparison unit and an abnormal working point determination unit;
the cream procedure image acquisition unit is used for acquiring procedure images of baked cream at all moments;
the cream contour extraction unit is used for determining the forming contour of the baked cream at the current moment according to the current moment working procedure image of the baked cream;
the contour comparison unit is used for comparing the molding contour of the baked butter at the current moment with the standard contour and judging whether the molding contour of the baked butter at the current moment is qualified or not;
the abnormal working point determining unit is used for determining abnormal working time points of the baked cream according to the process images at other moments when the molded outline of the baked cream at the current moment is unqualified.
2. The processing flow management system for baked cream according to claim 1, wherein the cream profile extraction unit determines a molding profile of the baked cream at a current time, comprising the steps of:
a1, constructing a gray level matrix of each pixel point according to the gray value of each pixel point in the process image of the baking cream at the current moment;
a2, constructing an integral gray matrix for the current time process image according to the gray level matrix of each pixel point in the current time process image of the baking cream;
a3, determining the constraint gray value of each pixel point in the current time process image according to the gray level matrix of each pixel point and the whole gray level matrix of the current time process image;
and A4, taking all pixel points with constraint gray values smaller than the characteristic values of the whole gray matrix as the molding contour at the current moment.
3. The process flow management system for baked cream according to claim 2, wherein in A1, the gray level matrix C of the x-th row and y-th column pixels in the current time process image x,y The expression of (2) is:the method comprises the steps of carrying out a first treatment on the surface of the In the formula, h x,y Representing gray value of pixel point in x row and y column, h x-1,y A gray value h representing the pixel point of the x-1 row and the y column x+1,y A gray value h representing the pixel point of the x+1th row and y-th column x,y-1 Representing gray value of pixel point of the x-th row and y-1 th column, h x,y+1 Gray values of the pixel points in the x row and the y+1 column are represented;
in A2, the expression of the whole gray matrix Z of the current time process image is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein C is 1,1 Gray value matrix representing 1 st row and 1 st column pixel points, C 1,2 Gray level matrix representing 1 st row and 2 nd column pixel points, C 1,Y Gray level matrix representing 1 st row and Y column pixel points, C 2,1 Gray value matrix representing 2 nd row and 1 st column pixel points, C 2,2 Gray level matrix representing 2 nd row and 2 nd column pixel points, C 2,Y Gray level matrix representing 2 nd row and Y column pixel points, C X,1 Gray value matrix representing X-th row and 1-st column pixel points, C X,2 Gray level matrix representing X row and 2 column pixel points, C X,Y The gray level matrix of the pixel points of the X row and the Y column is represented, X represents the number of rows of the process image at the current moment, and Y represents the number of columns of the process image at the current moment.
4. According toThe process flow management system for baked cream according to claim 2, wherein in A3, the gray level L is defined by the pixel point of the x-th row and y-th column in the current process image x,y The expression of (2) is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein Z represents the whole gray matrix of the current process image, C x,y Gray level matrix representing x-th row and y-th column pixel points in process image at current moment, ρ 0 Singular values, ρ, of the entire gray matrix representing the current time process image x,y And the singular value of the gray level matrix of the x-th row and y-th column pixel points in the process image at the current moment is represented.
5. The processing flow management system for baked cream according to claim 1, wherein the specific method for determining whether the molded contour of the baked cream at the current time is acceptable by the contour comparison unit is as follows: and calculating the comparison similarity between the molded contour at the current moment and the standard contour by using a cosine similarity algorithm, if the comparison similarity is smaller than or equal to a similarity threshold value, the molded contour of the baked butter at the current moment is unqualified, otherwise, the molded contour of the baked butter at the current moment is qualified.
6. The processing flow management system for bakery cream according to claim 1, wherein the abnormal operating point determining unit determines an abnormal operating point of the bakery cream comprises the steps of:
b1, determining an abnormal time range according to process images at other moments and the molding outline of the baked cream at the current moment;
b2, constructing pixel constraint conditions;
and B3, screening process images with acquisition time belonging to an abnormal time range and conforming to pixel constraint conditions, obtaining an abnormal process image set, and taking the minimum acquisition time in the abnormal process image set as an abnormal working time point.
7. The process flow management system for baking cream according to claim 6, wherein B1 comprises the sub-steps of:
b11, extractionA time process image; wherein T represents the current time, +.>Representing an upward rounding operation;
b12, calculating the initial time process imageForming weights among the time procedure images to obtain first forming weights; calculate->The forming weight between the time procedure image and the forming contour at the current time is used for obtaining a second forming weight;
b13, if the first molding weight is greater than or equal to the second molding weight, the abnormal time range isIf the first molding weight is smaller than the second molding weight, the abnormal time range is +.>。
8. The process flow management system for baked cream of claim 7, wherein in B12, a first forming weight α 1 The calculation formula of (2) is as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein H is 0 Representing standard deviation, H, between gray values of all pixel points in the process image at initial time 1 Representation->Standard deviation, M, between gray values of all pixels in a time process image 0 Representing the number of pixels of the process image at the initial time, M 1 Representation->The number of pixels of the time procedure image, h 0 Representing the maximum gray value, h, in the process image at the initial time 1 Representation->In the time step image, the maximum gradation value, e, represents an index, and max (·) represents a maximum value calculation.
9. The process flow management system for baked cream of claim 7, wherein in B12, the second forming weight α 2 The calculation formula of (2) is as follows:the method comprises the steps of carrying out a first treatment on the surface of the Wherein H is 1 Representation->Standard deviation between gray values of all pixel points in time procedure image, H 2 Representing standard deviation, M, between gray values of all pixel points in a molded contour at the current moment 1 Representation->The number of pixels of the time process image, M 2 The number of pixel points of the molding contour at the current moment is represented by h 0 Representing the maximum gray value, h, in the process image at the initial time 1 Representation->Maximum gray value h in time process image 2 Representing the maximum gray value, e, in the profiled contour at the current momentIndicating the exponent, max (·) indicates the maximum value operation.
10. The process flow management system for baked cream of claim 6, wherein in B2, the expression of the pixel constraint is:the method comprises the steps of carrying out a first treatment on the surface of the Wherein P is 0 Representing the average value of gray values of all pixel points in the process image at the initial moment, P t Representing the gray value average value of all pixel points in the process image at the time t, P t+1 Representing the gray value average value, P of all pixel points in the process image at time t+1 T The gray value average value of all pixel points in the process image at the current moment is represented, T represents the current moment, min (·) represents the minimum value operation, c represents a constant, and lambda represents the characteristic value of the whole gray matrix.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311785973.6A CN117455221B (en) | 2023-12-25 | 2023-12-25 | Processing flow management system suitable for baking cream |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311785973.6A CN117455221B (en) | 2023-12-25 | 2023-12-25 | Processing flow management system suitable for baking cream |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117455221A true CN117455221A (en) | 2024-01-26 |
CN117455221B CN117455221B (en) | 2024-03-26 |
Family
ID=89593250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311785973.6A Active CN117455221B (en) | 2023-12-25 | 2023-12-25 | Processing flow management system suitable for baking cream |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117455221B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006139374A (en) * | 2004-11-10 | 2006-06-01 | Matsushita Electric Ind Co Ltd | Abnormality image extraction method and abnormality image extraction device |
JP2010158279A (en) * | 2009-01-06 | 2010-07-22 | Gifu Univ | Ocular-fundus image analyzing system and ocular-fundus image analyzing program |
CN109857114A (en) * | 2019-02-26 | 2019-06-07 | 温州市职业中等专业学校 | Campus Mobile Intelligent Robot and campus intelligent management system |
JP2019149787A (en) * | 2018-02-28 | 2019-09-05 | 株式会社ニコン | Imaging apparatus, image processing apparatus, and image processing program |
CN113296992A (en) * | 2021-03-26 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | Method, device, equipment and storage medium for determining abnormal reason |
CN113847881A (en) * | 2021-01-06 | 2021-12-28 | 西华大学 | Free-form surface profile tolerance detection method based on machine vision |
CN114565612A (en) * | 2022-04-29 | 2022-05-31 | 惠州威尔高电子有限公司 | PCB U-shaped groove processing abnormity detection method based on image contrast |
CN115861648A (en) * | 2022-12-05 | 2023-03-28 | 中山大学中山眼科中心 | Object detection equipment and method based on artificial intelligence |
CN116071365A (en) * | 2023-03-29 | 2023-05-05 | 季华实验室 | Part detection method, device, equipment and storage medium |
CN116612470A (en) * | 2023-07-17 | 2023-08-18 | 临沂农业科技职业学院(筹) | Bread detection method and system based on visual characteristics |
CN117152747A (en) * | 2023-10-31 | 2023-12-01 | 南通鼎城船舶技术有限公司 | Microorganism identification method for ship ballast water |
CN117190900A (en) * | 2023-11-07 | 2023-12-08 | 中铁八局集团第二工程有限公司 | Tunnel surrounding rock deformation monitoring method |
CN117252878A (en) * | 2023-11-17 | 2023-12-19 | 青岛天仁微纳科技有限责任公司 | Image defect detection method of nano-imprint mold |
-
2023
- 2023-12-25 CN CN202311785973.6A patent/CN117455221B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006139374A (en) * | 2004-11-10 | 2006-06-01 | Matsushita Electric Ind Co Ltd | Abnormality image extraction method and abnormality image extraction device |
JP2010158279A (en) * | 2009-01-06 | 2010-07-22 | Gifu Univ | Ocular-fundus image analyzing system and ocular-fundus image analyzing program |
JP2019149787A (en) * | 2018-02-28 | 2019-09-05 | 株式会社ニコン | Imaging apparatus, image processing apparatus, and image processing program |
CN109857114A (en) * | 2019-02-26 | 2019-06-07 | 温州市职业中等专业学校 | Campus Mobile Intelligent Robot and campus intelligent management system |
CN113847881A (en) * | 2021-01-06 | 2021-12-28 | 西华大学 | Free-form surface profile tolerance detection method based on machine vision |
CN113296992A (en) * | 2021-03-26 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | Method, device, equipment and storage medium for determining abnormal reason |
CN114565612A (en) * | 2022-04-29 | 2022-05-31 | 惠州威尔高电子有限公司 | PCB U-shaped groove processing abnormity detection method based on image contrast |
CN115861648A (en) * | 2022-12-05 | 2023-03-28 | 中山大学中山眼科中心 | Object detection equipment and method based on artificial intelligence |
CN116071365A (en) * | 2023-03-29 | 2023-05-05 | 季华实验室 | Part detection method, device, equipment and storage medium |
CN116612470A (en) * | 2023-07-17 | 2023-08-18 | 临沂农业科技职业学院(筹) | Bread detection method and system based on visual characteristics |
CN117152747A (en) * | 2023-10-31 | 2023-12-01 | 南通鼎城船舶技术有限公司 | Microorganism identification method for ship ballast water |
CN117190900A (en) * | 2023-11-07 | 2023-12-08 | 中铁八局集团第二工程有限公司 | Tunnel surrounding rock deformation monitoring method |
CN117252878A (en) * | 2023-11-17 | 2023-12-19 | 青岛天仁微纳科技有限责任公司 | Image defect detection method of nano-imprint mold |
Non-Patent Citations (4)
Title |
---|
LAI, C等: "Extraction and Insertion of Tumor Masses in Cone Beam Breast CT Images", 《MEDICAL PHYSICS》, vol. 39, no. 6, 28 June 2012 (2012-06-28), pages 3915 - 3915 * |
刘屿等: "基于形状上下文特征和ICP的高精度轮廓视觉检测算法", 华南理工大学学报(自然科学版), no. 01, 15 January 2018 (2018-01-15), pages 131 - 138 * |
李潇;李映;: "高分辨率遥感图像中机场目标的并行快速提取", 计算机工程与应用, 11 February 2012 (2012-02-11), pages 213 - 216 * |
柳倩: "基于机器视觉的带钢表面孔洞检测系统的研究", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, 15 March 2012 (2012-03-15), pages 138 - 2417 * |
Also Published As
Publication number | Publication date |
---|---|
CN117455221B (en) | 2024-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104680524B (en) | A kind of leafy vegetable disease screening method | |
CN109740721B (en) | Wheat ear counting method and device | |
CN116091455A (en) | Steel mesh surface defect judging method based on machine vision | |
CN116030052B (en) | Etching quality detection method for lamination process of computer display panel | |
CN111291686B (en) | Extraction method and system for crop root-fruit phenotype parameters and root-fruit phenotype discrimination method and system | |
CN114549525B (en) | Industrial image detection method based on improved canny algorithm | |
CN117011303A (en) | Oil production quality detection method based on machine vision | |
CN108492263A (en) | A kind of camera lens Lens Distortion Correction method | |
CN117455221B (en) | Processing flow management system suitable for baking cream | |
CN114332091B (en) | Printed matter defect detection method based on artificial intelligence | |
CN115100208B (en) | Film surface defect evaluation method based on histogram and dynamic light source | |
CN112215859A (en) | Texture boundary detection method based on deep learning and adjacency constraint | |
CN117173175B (en) | Image similarity detection method based on super pixels | |
JP2017121062A (en) | Image processing method, image processing apparatus, and image forming device | |
CN117934483B (en) | Cod sausage production and processing quality detection method based on computer vision | |
CN111583272B (en) | Improved Niblack infrared image segmentation method combining maximum entropy | |
CN110428401B (en) | Measuring and analyzing method for pear germplasm resource phenotype fruit point data | |
CN117179083A (en) | Automatic black tea fermentation control system and method | |
CN103366161B (en) | The statistical method of a kind of trialeurodes vaporariorum quantity and system | |
CN114881984A (en) | Detection method and device for rice processing precision, electronic equipment and medium | |
CN118570113B (en) | Yellow ginger saponin fermentation process monitoring method and system based on image processing | |
CN114603912B (en) | Tablet press sticking adjusting method and system based on artificial intelligence | |
CN114972348A (en) | Seam beautifying effect detection method based on image processing | |
CN117894012B (en) | Machine vision-based mass cake baking stage identification method | |
CN111126259A (en) | Cell fusion degree calculation method, cell fusion degree calculation device, computer device, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |