Machine vision and image processing system based on scanning of intelligent edge-searching engraving machine

By extracting and processing the color and texture features of items and scanning areas in an intelligent edge-finding engraving machine, and combining feature matching to determine edges, the problem of inaccurate edge features in the existing technology is solved, cost is reduced and accuracy is improved.

CN118864508APending Publication Date: 2024-10-29DABON (SUZHOU) INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410827068.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

When existing intelligent edge-finding engraving machines process items whose colors are similar to those of the scanning area, the edge characteristics are not determined accurately enough, resulting in blurred edge and contour information, and the existing technology investment cost is high.

Method used

A system based on the image acquisition unit and image preprocessing unit is used to extract the color features and texture features of the object and scanned area, perform color downsizing and enhancement processing, and combine feature matching to determine the edge of the object, thereby reducing the technical investment in edge-finding engraving machines.

Benefits of technology

It improves the accuracy and distinction of the edge contour of the object, reduces the technology and cost investment of the intelligent edge-finding engraving machine, and avoids contour errors caused by excessive color parameter values.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864508A_ABST
    Figure CN118864508A_ABST
Patent Text Reader

Abstract

The invention discloses a machine vision and image processing system based on scanning of an intelligent edge-searching engraving machine, which comprises an image acquisition unit, an image preprocessing unit and an image processing unit, wherein the image preprocessing unit is used for preprocessing an acquired image, namely, an image color feature module is used for extracting color features of an edge scanning area in the image and extracting color features of an engraved object respectively; and further analyzing the texture values of the scanning area and the article area to obtain image features of different areas, and respectively performing color fading processing and color enhancement processing on the different image features. According to the machine vision and image processing system based on scanning of the intelligent edge-finding carving machine, the edge contours of objects with similar colors can be determined only by using color features, excessive image processing technologies do not need to be additionally arranged on the edge-finding carving machine, and the technical input cost of the edge-finding carving machine is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of edge-finding engraving machines, and in particular relates to a machine vision and image processing system based on scanning of an intelligent edge-finding engraving machine. Background Art

[0002] The intelligent edge-finding engraving machine is a machine that uses artificial intelligence technology to automatically find edges and engrave. It can detect the edge position and shape of the workpiece in real time through sensing devices such as lasers or photoelectric sensors, and perform precise cutting and engraving operations according to the preset engraving path. The emergence of the intelligent edge-finding engraving machine makes the engraving process more intelligent and efficient, reduces the tediousness and error rate of manual operation, and improves production efficiency and product quality.

[0003] The core technologies of the intelligent edge-finding engraving machine mainly include 3D modeling and scanning technology, machine vision and image processing technology, motion control and path planning technology, automation and intelligent algorithms, and engraving tools and materials technology. The application and integration of these technologies enable the intelligent edge-finding engraving machine to achieve efficient and accurate engraving operations. Machine vision and image processing technology: The intelligent edge-finding engraving machine needs to be able to process and analyze the scanned image through machine vision technology to extract the edge and contour information of the object. In the prior art, there are many methods that use color-based edge detection to determine the edge features of objects. However, the edge features determined for objects with similar colors to the scanned area are not accurate enough, resulting in blurred or inaccurate edge and contour information of the extracted objects. The prior art will also use other features to further determine the edge contour. In this way, too much technology is invested in the intelligent edge-finding engraving machine, and the cost is high. If the image texture features and color features can be combined to determine the edge contour, not only can the edge contour of the object be accurately determined, but also the technical investment cost of the intelligent edge-finding engraving machine can be reduced.

[0004] To this end, the present invention provides a machine vision and image processing system based on scanning of an intelligent edge-finding engraving machine. Summary of the invention

[0005] The present invention aims to provide a machine vision and image processing system based on intelligent edge-finding engraving machine scanning to solve the technical problems raised in the background technology.

[0006] To achieve the above purpose, the specific technical solution of the present invention is as follows: a machine vision and image processing system based on intelligent edge-finding engraving machine scanning, comprising:

[0007] Image acquisition unit: using image acquisition equipment to acquire the image of the object to be processed;

[0008] Image preprocessing unit: preprocess the collected images, that is, use the image color feature module to extract the color features of the edge scanning area and the color features of the engraved object in the image, and further analyze the texture values ​​of the scanning area and the object area to obtain the image features of different areas, and perform color fading and color enhancement processing on different image features to obtain the processed scanning area color features ZYS 标 And the color characteristics of the processed items ZYS 物 ;

[0009] Edge feature processing unit: based on the color feature ZYS of the scanning area 标 and item color characteristics ZYS 物 Extract edge features to identify the boundaries of objects;

[0010] Feature matching: Match the extracted edge features with the preset template to determine the position and posture of the object.

[0011] Preferably, the specific steps of the image preprocessing unit are as follows:

[0012] S1: Extract the edge color features of the image and mark them as YS 标 , the edge color features of the image are the color features of the scanned area, and the color features of the engraved object are extracted and marked as YS 物 ;

[0013] S2: Use color histogram to compare YS 标 and YS 物 The color feature similarity is compared to obtain the similarity value XS. If XS<YS, no processing is done. If XS>YS, then according to BZ 标 and WP 物 The corresponding image texture features are further analyzed, where YS is the preset value of similarity;

[0014] S3: Get the texture value of the image feature of the scan area as WL 标 and the item's texture value WL 物 , that is, the scanned image feature is (YS 标 , W.L. 标 ), the image feature of the object is (YS 物 , W.L. 物 ), according to different image features, the color features of the scan area and the color features of the object are respectively lightened and enhanced using a feature processing algorithm to obtain the processed color features of the scan area ZYS 标 And the color characteristics of the processed items ZYS 物 , the specific formula of the feature processing algorithm is as follows:

[0015] ZYS标 =((YS 标 -1)*p) 2

[0016] ZYS 物 =((YS 物 +1)*p) 2

[0017] Where p is the texture feature coefficient and 1 is the processed color parameter value.

[0018] Preferably, the specific steps of the edge feature processing unit are as follows:

[0019] T1. According to the color characteristics of the scanning area ZYS 标 and item color characteristics ZYS 物 Determine ZYS 标 and ZYS 物 The critical point M X , X represents different critical points, x = 1, 2, 3...n, that is, the critical points are M1, M2, M3...M n ;

[0020] T2. Calculate the distance S between adjacent critical points X-(X-1) , if the distance between M1 and M2 is S 2-1 ;

[0021] T3. Judge S X-(X-1) With preset standard spacing S 标 For comparison, when S X-(X-1) <S 标 , no treatment, when S X-(X-1) >S 标 , it means that the extracted edge feature has a broken gap;

[0022] T4, based on the fracture gap in T3, find the corresponding two critical points;

[0023] T5. Modify the parameter values ​​in the feature processing algorithm based on the adjacent critical points in T4. That is, the feature processing algorithm formula for two adjacent critical points of the fracture gap is as follows:

[0024] ZYS 标 =((YS 标 -2)*p) 2

[0025] ZYS 物 =((YS 物 +2)*p) 2

[0026] Where 2 is the color parameter value to be processed. X-(X-1) >S标 , the parameter value is 1, 2, ...n, increasing in sequence until S X-(X-1) <S 标 .

[0027] The machine vision and image processing system based on intelligent edge-finding engraving machine scanning of the present invention has the following advantages:

[0028] 1. By extracting the color features and texture features of the scanning area and the object respectively, different image features are obtained, and then the color features are changed based on the image features to make the color distinction between the scanning area and the object more obvious. Therefore, only the color features can be used to determine the edge contour of objects of similar colors, and there is no need to add too much image processing technology to the edge-finding engraving machine, which reduces the technical investment cost of the edge-finding engraving machine.

[0029] 2. By gradually increasing the color parameter value, the gap in determining the object outline can be further compensated, and the color characteristic can be avoided from changing too much due to the color parameter value determined for the first time being too large, causing the final determined object outline to differ too much from the original object color, thus affecting the subsequent engraving of the object. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 This is an overall flow chart of the machine vision and image processing system based on the scanning of the intelligent edge-finding engraving machine of the present invention. DETAILED DESCRIPTION

[0032] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the embodiments of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0033] In the description of the embodiments of the present invention, it should be understood that the terms "length", "vertical", "horizontal", "top", "bottom", etc. indicating the orientation or positional relationship are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present invention.

[0034] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0035] In the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or a communication; it can be a direct connection, or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.

[0036] The disclosure below provides many different embodiments or examples to implement different structures of the embodiments of the present invention. In order to simplify the disclosure of the embodiments of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the embodiments of the present invention. In addition, the embodiments of the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplification and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed.

[0037] In order to better understand the purpose, structure and function of the present invention, the machine vision and image processing system based on the scanning of the intelligent edge-finding engraving machine of the present invention is further described in detail below in conjunction with the accompanying drawings.

[0038] like Figure 1 As shown, the machine vision and image processing system based on the scanning of the intelligent edge-finding engraving machine of the present invention comprises an image acquisition unit: using an image acquisition device to acquire an image of an object to be processed;

[0039] Image preprocessing unit: preprocess the collected images, that is, use the image color feature module to extract the color features of the edge scanning area and the color features of the engraved object in the image, and further analyze the texture values ​​of the scanning area and the object area to obtain the image features of different areas, and perform color fading and color enhancement processing on different image features to obtain the processed scanning area color features ZYS 标 And the color characteristics of the processed items ZYS 物 ;

[0040] The specific steps of the image preprocessing unit are as follows:

[0041] S1: Extract the edge color features of the image and mark them as YS 标 , the edge color features of the image are the color features of the scanned area, and the color features of the engraved object are extracted and marked as YS 物 ;

[0042] S2: Use color histogram to compare YS 标 and YS 物 The color feature similarity is compared to obtain the similarity value XS. If XS<YS, no processing is done. If XS>YS, then according to BZ 标 and WP 物 The corresponding image texture features are further analyzed, where YS is the preset value of similarity;

[0043] S3: Get the texture value of the image feature of the scan area as WL 标 and the item's texture value WL 物 , that is, the scanned image feature is (YS 标, WL 标 ), the image feature of the object is (YS 物 , W.L. 物 ), according to different image features, the color features of the scan area and the color features of the object are respectively lightened and enhanced using a feature processing algorithm to obtain the processed color features of the scan area ZYS 标 And the color characteristics of the processed items ZYS 物 , the specific formula of the feature processing algorithm is as follows:

[0044] ZYS 标 =((YS 标 -1)*p) 2

[0045] ZYS 物 =((YS 物 +1)*p) 2

[0046] Where p is the texture feature coefficient and 1 is the processed color parameter value.

[0047] Edge feature processing unit: based on the color feature ZYS of the scanning area 标 and item color characteristics ZYS 物 Extract edge features to identify the boundaries of objects;

[0048] The specific steps of the edge feature processing unit are as follows:

[0049] T1. According to the color characteristics of the scanning area ZYS 标 and item color characteristics ZYS 物Determine ZYS 标 and ZYS 物 The critical point M X , X represents different critical points, x = 1, 2, 3...n, that is, the critical points are M1, M2, M3...M n , that is, the outline formed by the critical points is the outline of the object.

[0050] T2. Calculate the distance S between adjacent critical points X-(X-1) , if the distance between M1 and M2 is S 2-1 ;

[0051] T3. Judge S X-(X-1) With preset standard spacing S 标 For comparison, when S X-(X-1) <S 标 , no treatment, when S X-(X-1) >S 标 , it means that the extracted edge feature has a broken gap;

[0052] T4, based on the fracture gap in T3, find the corresponding two critical points;

[0053] T5. Modify the parameter values ​​in the feature processing algorithm based on the adjacent critical points in T4. That is, the feature processing algorithm formula for two adjacent critical points of the fracture gap is as follows:

[0054] ZYS 标 =((YS 标 -2)*p) 2

[0055] ZYS 物 =((YS 物 +2)*p) 2

[0056] Where 2 is the color parameter value to be processed. It is characterized in that: if S X-(X-1) >S 标 , the parameter value is 1, 2, ...n, increasing in sequence until S X-(X-1) <S 标 .

[0057] The working principle of the machine vision and image processing system based on the scanning of the intelligent edge-finding engraving machine is as follows: the image acquisition device is used to obtain the image of the object to be processed, the image color feature module is used to extract the color features of the scanning area and the color features of the object, and the color features are judged for similarity. If XS < YS, no processing is performed, which means that the color similarity between the object and the scanning area is large, and the color edge detection algorithm can be used directly to determine the outline of the object; if XS > YS, it means that the color of the object is similar to the color of the scanning area, and the texture features of the object relative to the scanning area are further analyzed, and the texture features are combined with the color features to determine the overall image features of the object in the scanning area. The color features of the object and the scanning area are changed by the feature processing algorithm to increase the resolution, and ZYS can be determined. 标 and ZYS 物 The critical point M X , that is, the outline formed by the critical points is the outline of the object.

[0058] It is to be understood that the present invention is described by some embodiments, and it is known to those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are within the scope of protection of the present invention.

Claims

1. The machine vision and image processing system based on intelligent edge-finding engraving machine scanning is characterized by: include: Image acquisition unit: using image acquisition equipment to acquire the image of the object to be processed; Image preprocessing unit: preprocess the collected images, that is, use the image color feature module to extract the color features of the edge scanning area and the color features of the engraved object in the image, and further analyze the texture values ​​of the scanning area and the object area to obtain the image features of different areas, and perform color fading and color enhancement processing on different image features to obtain the processed scanning area color features ZYS 标 And the color characteristics of the processed items ZYS 物 ; Edge feature processing unit: based on the color feature ZYS of the scanning area 标 and item color characteristics ZYS 物 Extract edge features to identify the boundaries of objects; Feature matching: Match the extracted edge features with the preset template to determine the position and posture of the object.

2. The machine vision and image processing system based on scanning of the intelligent edge-finding engraving machine according to claim 1 is characterized in that: The specific steps of the image preprocessing unit are as follows: S1: Extract the edge color features of the image and mark them as YS 标 , the edge color features of the image are the color features of the scanned area, and the color features of the engraved object are extracted and marked as YS 物 ; S2: Use color histogram to compare YS 标 and YS 物 The color feature similarity is compared to obtain the similarity value XS. If XS<YS, no processing is done. If XS>YS, then according to BZ 标 and WP 物 The corresponding image texture features are further analyzed, where YS is the preset value of similarity; S3: Get the texture value of the image feature of the scan area as WL 标 and the item's texture value WL 物 , that is, the scanned image feature is (YS 标, WL 标 ), the image feature of the object is (YS 物, WL 物 ), according to different image features, the color features of the scan area and the color features of the object are respectively lightened and enhanced using a feature processing algorithm to obtain the processed color features of the scan area ZYS 标 And the color characteristics of the processed items ZYS 物 , the specific formula of the feature processing algorithm is as follows: ZYS 标 =((YS 标 -1)*p) 2 ZYS 物 =((YS 物 +1)*p) 2 Where p is the texture feature coefficient and 1 is the processed color parameter value.

3. The machine vision and image processing system based on scanning of the intelligent edge-finding engraving machine according to claim 1 is characterized in that: The specific steps of the edge feature processing unit are as follows: T1. According to the color characteristics of the scanning area ZYS 标 and item color characteristics ZYS 物 Determine ZYS 标 and ZYS 物 The critical point M X , X represents different critical points, x = 1, 2, 3...n, that is, the critical points are M1, M2, M3...M n ; T2. Calculate the distance S between adjacent critical points X-(X-1) , if the distance between M1 and M2 is S 2-1 ; T3. Judge S X-(X-1) With preset standard spacing S 标 For comparison, when S X-(X-1) <S 标 , no treatment, when S X-(X-1) >S 标 , it means that the extracted edge feature has a broken gap; T4, based on the fracture gap in T3, find the corresponding two critical points; T5. Modify the parameter values ​​in the feature processing algorithm based on the adjacent critical points in T4. That is, the feature processing algorithm formula for two adjacent critical points of the fracture gap is as follows: ZYS 标 =((YS 标 -2)*p) 2 ZYS 物 =((YS 物 +2)*p) 2 Where 2 is the color parameter value processed.

4. The machine vision and image processing system based on scanning of the intelligent edge-finding engraving machine according to claim 3 is characterized in that: If S X-(X-1) >S 标 , the parameter value is 1, 2, ...n, increasing in sequence until S X-(X-1) <S 标 .