CN116579934A - Embroidery plate making processing method and system based on edge detection - Google Patents

Embroidery plate making processing method and system based on edge detection Download PDF

Info

Publication number
CN116579934A
CN116579934A CN202310365178.5A CN202310365178A CN116579934A CN 116579934 A CN116579934 A CN 116579934A CN 202310365178 A CN202310365178 A CN 202310365178A CN 116579934 A CN116579934 A CN 116579934A
Authority
CN
China
Prior art keywords
stitch
type
platemaking
data file
embroidery
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
Application number
CN202310365178.5A
Other languages
Chinese (zh)
Other versions
CN116579934B (en
Inventor
孙舜尧
刘玉珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Yunxiu Technology Partnership Enterprise LP
Hunan Normal University
Original Assignee
Hunan Yunxiu Technology Partnership Enterprise LP
Hunan Normal University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hunan Yunxiu Technology Partnership Enterprise LP, Hunan Normal University filed Critical Hunan Yunxiu Technology Partnership Enterprise LP
Priority to CN202310365178.5A priority Critical patent/CN116579934B/en
Publication of CN116579934A publication Critical patent/CN116579934A/en
Application granted granted Critical
Publication of CN116579934B publication Critical patent/CN116579934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/77Retouching; Inpainting; Scratch removal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30124Fabrics; Textile; Paper
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • Sewing Machines And Sewing (AREA)

Abstract

The application relates to image data processing, and discloses an embroidery plate-making processing method and system based on edge detection, so as to improve plate-making efficiency and reliability. The method comprises the following steps: importing a prototype graph designated by a user and a corresponding first platemaking data file into a newly built platemaking page; scaling the prototype graph in a coordinate system shared by all layers in the corresponding first platemaking data file to align all reference coordinate points with corresponding mapping positions, and then respectively detecting blank areas formed by all layers in the aligned prototype graph and the first platemaking data file; and then, a fourth type of blank area formed by each layer is obtained through the combination of the two and a hierarchical screening mechanism; after synchronously amplifying the pattern areas of each layer according to the designated amplification ratio, automatically repairing the amplified corresponding areas of each fourth type of area in the length direction according to the designated amplification ratio and recovering the original space in the width direction, and editing and generating a second plate-making data file.

Description

Embroidery plate making processing method and system based on edge detection
Technical Field
The application relates to image data processing in intelligent manufacturing, in particular to an embroidery plate making processing method and system based on edge detection.
Background
The existing embroidery technology adopts the traditional manual embroidery mode and the computer embroidery mode, and has the defects of low efficiency, high reality and large mass production difficulty; the existing computerized embroidery has the advantages of being regular, uniform and exquisite due to the fact that program control operation is adopted, the process characteristics of the computerized embroidery are absolute regularity, and the computerized embroidery can embroider patterns which are strictly regular and repeated, and meanwhile the defect that the needle method cannot embody local characteristics due to the fact that the complete regularity is adopted.
The imitation hand embroidery is machine embroidery adopting manual needle method, and plate making is needed in the preparation process. At present, the imitation handmade embroidery platemaking based on Hunan embroidery is mostly performed manually by manually tracing in a line by adopting a manual needle method in platemaking software (such as TajimaDG/MLbyplus, wilcm software and the like) by referring to handmade embroidery samples; the overall plate making efficiency is very slow, and the plate making of a single image also requires more than one worship by an operator skilled in the operating software. Moreover, the multiplexing rate of the finally formed platemaking file is low, and one size needs to correspond to one exclusive platemaking file; for example: a special platemaking file is needed for the works with the same image corresponding to one square, and new platemaking files with the same image corresponding to four squares, nine squares and the like are needed one by one respectively; the main reasons for this result are: the thicknesses of silk threads used in different sizes are fixed, and the sizes of the silk threads cannot be synchronously scaled along with the scaling of the display sizes; and even if synchronous scaling can be realized, silk threads with different thickness are selected based on the same plate-making file, and the effect of finished products is far inferior to the expected scaling effect.
In order to solve the above problems, CN113298081a discloses a method and a system for processing image data in a process of making a plate by using a xiang embroidery method, however, in a practical use process, the patent technology has the following problems to be optimized:
gaps which show the characteristics of embroidery places are usually reserved between pattern areas of each layer carried by plate making data files, and are usually not reserved in prototype patterns (which are usually used for color printing on fabrics for embroidering and are used for embroidering in a 1:1 ratio, the definition of the subsequent prototype patterns is the same and is not repeated, so that the embroideries which are formed by the embroidering and are not in the reference to the prototype patterns are not in the protection scope of the application). For example: in a leaf, the whole outline is connected end to end, and the outline comprises two parts which are approximately symmetrical left and right or up and down and a bearing part which is similar to a symmetrical shaft in the middle; in the part of the hand embroidery works, the middle part and the two side parts are respectively represented by different colors, and the local characteristics and the artistic effect of a master can be reflected between the two side parts and the middle part through gaps. The root of the method is as follows: the design distribution characteristics of the hand embroidery products, which are mostly color printed on the fabric in the initial step, are not limited to be completely consistent with the design elements of the prototype graph. Therefore, if the transverse and longitudinal distances between the gaps are synchronously enlarged in the process of enlarging plate making, the gaps are easily seen as cracks by naked eyes of users to influence aesthetic effects, and further the plate making efficiency and reliability are reduced.
Disclosure of Invention
The application aims to disclose an embroidery plate-making processing method and system based on edge detection, so as to improve plate-making efficiency and reliability.
In order to achieve the above object, the present application discloses an embroidery plate making processing method based on edge detection, comprising:
storing a pairing relation between a prototype graph corresponding to the same manual embroidery finished product and a first platemaking data file in a database, wherein the first platemaking data file records the stitch sequence, the linear size, the stitch sequence range and the mapping relation between the stitch law of different colors of the corresponding manual embroidery finished product in a corresponding coordinate area according to a layer proportion of 1:1; and storing mapping positions of at least three reference coordinate points in the prototype graph in a coordinate system shared by each layer in the corresponding first platemaking data file in the pairing relation.
And importing a prototype graph designated by a user and a corresponding first platemaking data file into the newly built platemaking page.
And scaling the prototype graph in a coordinate system shared by all layers in the corresponding first platemaking data file to align all reference coordinate points with corresponding mapping positions, detecting the edge area of the aligned prototype graph, and identifying a first type of blank area formed in the outermost peripheral outline range of the prototype graph and connected end to end.
And identifying second type blank areas formed by the layers in an end-to-end mode from a first plate making data file corresponding to the prototype graph, and screening third type blank areas with at least one maximum interval smaller than a set threshold value from the second type blank areas, wherein the maximum intervals correspond to the X-axis direction and the Y-axis direction respectively.
And removing the blank area overlapped with the blank area of the first type from the blank area of the third type to obtain the rest blank area of the fourth type.
And acquiring a user-specified amplification ratio, and then synchronously carrying out corresponding amplification treatment on the pattern area of each layer according to the specified amplification ratio, stitch sequence, linear size and mapping relation between stitch sequence range and stitch method, wherein after amplification, the grid size data of each layer is unchanged.
And performing automatic restoration processing of the corresponding region amplified by each fourth type region according to the designated amplification proportion in the length direction and recovering the original space in the width direction, and then generating a second platemaking data file according to related processing of a user.
Preferably, in the process of performing automatic repair processing on the corresponding region amplified by each fourth type region, the automatic repair processing is performed by adopting a neighboring pattern region translation mode and/or a filling needle doping mode.
The application also discloses an embroidery plate making processing system based on edge detection, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the computer program.
In summary, the essence of the present application is that: importing a prototype graph designated by a user and a corresponding first platemaking data file into a newly built platemaking page; scaling the prototype graph in a coordinate system shared by all layers in the corresponding first platemaking data file to align all reference coordinate points with corresponding mapping positions, and then respectively detecting blank areas formed by all layers in the aligned prototype graph and the first platemaking data file; and then, a fourth type of blank area formed by each layer is obtained through the combination of the two and a hierarchical screening mechanism; after synchronously amplifying the pattern areas of each layer according to the designated amplification ratio, automatically repairing the amplified corresponding areas of each fourth type of area in the length direction according to the designated amplification ratio and recovering the original space in the width direction, and editing and generating a second plate-making data file. It has at least the following beneficial effects:
1. the third type blank area corresponding to the actual hand embroidery finished product is compared with the first type blank area of the prototype graph to screen out the fourth type blank area, and whether the corresponding blank areas overlap or not is judged to adapt to the difference between the actual hand embroidery finished product and the prototype graph, so that the recall ratio and the precision of the blank areas to be removed in the third type blank area are improved.
2. The data processing capacity of comparing the third type of blank area with the first type of blank area is reduced, and the real-time performance of automatic restoration processing is improved by filtering out the second type of blank area (such as a blank area with larger area surrounded by two leaves and branches) with the maximum distances respectively corresponding to the X-axis direction and the Y-axis direction being larger than or equal to a set threshold value.
3. In the process of filtering out the second type blank areas with the maximum distances respectively corresponding to the X-axis direction and the Y-axis direction being greater than or equal to the set threshold value, noise interference caused by the peripheral large-area non-pattern area on the repair treatment can be synchronously eliminated through reasonable threshold value setting; the real-time performance is further improved, and meanwhile, the positioning accuracy of the fourth type of blank area repairing treatment is further ensured, and the overall reliability of the system is further improved.
4. By storing the mapping positions of at least three reference coordinate points in the prototype graph in the common coordinate system of each layer in the corresponding first platemaking data file in the pairing relation, scaling and aligning treatment of the prototype graph are performed before comparing the third type blank area with the first type blank area, reliability of a comparison result is ensured, and reliability and universality of the whole system are further improved.
The application will be described in further detail with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
fig. 1 is a schematic flow chart of an embroidery plate making processing method based on edge detection according to an embodiment of the application.
Detailed Description
Embodiments of the application are described in detail below with reference to the attached drawings, but the application can be implemented in a number of different ways, which are defined and covered by the claims.
Example 1
The embodiment discloses an embroidery plate making processing method based on edge detection, as shown in fig. 1, comprising:
step S1, a pairing relation between a prototype graph corresponding to the same manual embroidery product and a first platemaking data file is stored in a database, and the first platemaking data file records the stitch sequence, the linear size and the mapping relation between the stitch sequence range and the stitch method of different colors of the corresponding manual embroidery product in a corresponding coordinate area according to a layer proportion of 1:1; and storing mapping positions of at least three reference coordinate points in the prototype graph in a coordinate system shared by all layers in the corresponding first platemaking data file in a pairing relation.
In the edition data file, one layer usually corresponds to one color of embroidery thread, and the linear size of the embroidery thread can be one kind or two or more kinds. In this step, as in CN113298081a, if a small pattern is formed inside a large pattern by covering (e.g. covering a needle) the large pattern and the small pattern can be separated into two hand embroidery patterns (i.e. corresponding to two first plate-making data files and two separated prototype patterns) respectively, so as to execute the series of steps of this embodiment; firstly, manufacturing an enlarged large pattern of the simulated hand embroidery by using a plate making file of the large pattern, and then amplifying the small pattern in the same proportion to obtain the plate making file; finally, the machine embroidery part of the small pattern is needled by an embroidery machine after the alignment is performed on the large pattern of the hand-embroidery.
In the calibration process, a surface is determined based on three points, so that the prototype graph is scaled for subsequent scaling to align each reference coordinate point with a mapping position corresponding to each layer in the first platemaking data file to form a calibration basis.
In addition, in this embodiment, the first platemaking data file may be processed by adopting a mode of performing corresponding data processing after automatic scanning disclosed in CN113298081a, or may be generated by adopting a conventional mode of manually tracing and layer layout in a platemaking software by manual needle method in a line by reference to a manual embroidery sample, or adopting a mode of performing corresponding data processing after a vibration and optical sensor is combined with a video synchronization acquisition embroidering process, or other processing modes.
And S2, importing a prototype graph designated by a user and a corresponding first platemaking data file into the newly built platemaking page.
In the step, the second platemaking data file is obtained through subsequent automatic repair, editing and other processing in the newly built platemaking page, so that the modification of the first platemaking data file is avoided, other data files with amplified proportions are convenient to plate by taking the first platemaking data file as a reference, and the resource utilization rate is further improved.
And S3, scaling the prototype graph in a coordinate system shared by all layers in the corresponding first platemaking data file to align all reference coordinate points with corresponding mapping positions, detecting the edge area of the aligned prototype graph, and identifying a first type blank area formed in the outermost peripheral outline range of the prototype graph and connected end to end.
In this embodiment, edge detection may be preferably performed based on the Roberts operator that finds edges using the local difference operator, and specific implementation is a technology well known to those skilled in the art, which is not described in detail. The method for judging whether the blank areas are connected end to end can be as follows: taking any RGB pixel point with white color in the area, judging whether the adjacent pixel points are white, if so, judging whether non-white pixel points exist in the direction of the folding line extending one by one after the two are connected, and if the white pixel points exist all the time in the direction of the folding line extending one by one, judging that the area is not a blank area connected end to end; otherwise, switching the extending fold line direction of the randomly selected pixel point and other adjacent white pixel points to repeat the process; and by analogy, when the non-white pixel points do not exist in all the extending directions of the folding lines of the currently selected pixel point are traversed, switching to the next white pixel point, repeating the process until all the white pixel points in the area are traversed, and judging that the area is a blank area connected end to end.
Noteworthy are: in this embodiment, before identifying a blank area, binarization processing of an image is avoided in order to maintain identification accuracy.
And S4, identifying second blank areas formed by the layers and connected end to end from a first plate making data file corresponding to the prototype graph, and screening third blank areas with at least one maximum interval smaller than a set threshold value from the second blank areas, wherein the maximum intervals correspond to the X axis direction and the Y axis direction respectively.
In this step, the logic for identifying the second type blank area is the same as that in step S3, and will not be described in detail. Furthermore, the threshold value of this step can be set appropriately according to statistical experience values. Preferably, when traversing the extending direction of the two pixel point folding lines in the blank area one by one, the maximum value of the extending quantity of the white pixel points can be saved and updated, and the maximum value is used as the maximum distance to be compared with a set threshold value, so that the data repetition processing logic of the system is reduced.
Noteworthy are: in this step, the second type of blank area is a blank area formed by the combined action of the bottom image and the orthographic projection of each image layer in the direction parallel to the Z axis. The Z-axis direction is the stacking direction of different layers, and the X-axis direction and the Y-axis direction are two directions orthogonal to the horizontal plane of the blank base map, so that a conventional three-dimensional coordinate system is formed.
And S5, removing the blank area overlapped with the first type blank area from the third type blank area to obtain the remaining fourth type blank area. The outline of the fourth type of blank area is similar to a rectangle, so the embodiment regards the outline as a rectangle to determine the length direction and the width direction in the following step S7.
And S6, acquiring a user-specified amplification ratio, and then synchronously carrying out corresponding amplification treatment on the pattern areas of each layer according to the specified amplification ratio, stitch sequence, linear size and mapping relation between stitch sequence range and stitch method, wherein after amplification, the grid size data of each layer are unchanged.
In this step, the specific amplifying process is the same as CN113298081a, and the main processes include:
step S61, firstly, the size of the corresponding boundary contour trend curve of each layer is amplified according to the amplification proportion.
Step S62, determining the number of stitch points of each segment on the boundary contour of each region in each image layer according to the enlargement ratio, the size of the enlarged contour trend curve, the number of stitch points in each segment corresponding to the 1:1 ratio manual embroidery pattern and the size data of the actual line type, mapping the corresponding number of stitch points into the boundary contour trend curve with scaled size, and reconstructing the connecting line between the scaled stitch points according to the mapping relation between the stitch sequence range of the continuous stitch of the corresponding 1:1 ratio manual embroidery pattern and the stitch method.
Other details refer to CN113298081a, and are not described in detail.
And S7, performing automatic restoration processing of amplifying the corresponding area amplified by each fourth type area in the length direction according to a designated amplifying proportion and recovering the original space in the width direction, and then generating a second platemaking data file according to related processing of a user.
In this step, preferably, in the process of performing automatic repair processing on the corresponding region after the enlargement of each fourth type of region, the automatic repair processing is performed by adopting a neighboring pattern region translation mode and/or a filling needle doping mode. The 'and/or' relationship, that is, the system can flexibly select the corresponding automatic repair processing mode according to the requirement of the user, either one or the combination of the two modes can be selected. If the embroidery thread is filled by the doped needle, the color, the line type and the pattern layer are generally consistent with the adjacent large-area pattern area. Similarly, in the translation method, the entire translation is generally performed in the adjacent large-area pattern region.
The relevant processing of this step includes, but is not limited to, manual adjustment of the stitch in accordance with a corresponding request sent by the user. Preferably, after the manual stitch adjustment request of the user is acquired; tracking the displacement of the mouse, highlighting the nearest stitch point of the searched mouse, and automatically dividing the connecting line exceeding the maximum distance range of the embroidery machine according to a preset dividing rule when the distance between two adjacent stitch points exceeds the maximum distance range of the embroidery machine.
Further, the manual adjustment request further includes a request for performing overall displacement (including translation, rotation, etc.) on the selected pattern area in the corresponding pattern layer, so as to be complementary to the automatic repair process for recovering the pitch in the step S7, so as to implement fine adjustment of the automatic repair process and repair of a very small number of pseudo fourth type areas that are automatically misclassified; and the system can track the displacement of the mouse and highlight the found outline area closest to the mouse after the user clicks the corresponding request through the right button of the mouse. In other words, the method of this embodiment may further include the following steps:
step S8, setting a request for a user to manually carry out integral displacement on the area.
And S9, after resolving a request for manually carrying out integral displacement on the region sent by a user, tracking the displacement of the mouse, and highlighting the found outline region closest to the mouse so as to execute automatic repair processing on the fourth region and/or repair the misclassified pseudo fourth region according to corresponding operation of the user.
Further, before the second platemaking data file is generated, traversing whether the distance between two stitch points of the amplified connecting line exceeds the maximum distance range of the embroidery machine with CN113298081A, if so, automatically dividing the connecting line exceeding the maximum distance range of the embroidery machine according to a preset dividing rule, or acquiring a manual dividing result of the user after prompting the user to manually divide; the dimension data of the connecting lines are consistent with the dimension data of the actual line type corresponding to each 1:1 ratio manual embroidery pattern calibrated in the database; thereby ensuring the reliability of the finally obtained second platemaking data file.
Example 2
Based on the same technical concept as the above embodiments, the present embodiment discloses an embroidery plate-making processing system based on edge detection, which includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, wherein the processor implements a series of steps corresponding to the above method when executing the computer program.
In summary, the method and the system respectively disclosed by the embodiment of the application have at least the following beneficial effects:
1. the third type blank area corresponding to the actual hand embroidery finished product is compared with the first type blank area of the prototype graph to screen out the fourth type blank area, and whether the corresponding blank areas overlap or not is judged to adapt to the difference between the actual hand embroidery finished product and the prototype graph, so that the recall ratio and the precision of the blank areas to be removed in the third type blank area are improved.
2. The data processing capacity of comparing the third type of blank area with the first type of blank area is reduced, and the real-time performance of automatic restoration processing is improved by filtering out the second type of blank area (such as a blank area with larger area surrounded by two leaves and branches) with the maximum distances respectively corresponding to the X-axis direction and the Y-axis direction being larger than or equal to a set threshold value.
3. In the process of filtering out the second type blank areas with the maximum distances respectively corresponding to the X-axis direction and the Y-axis direction being greater than or equal to the set threshold value, noise interference caused by the peripheral large-area non-pattern area on the repair treatment can be synchronously eliminated through reasonable threshold value setting; the real-time performance is further improved, and meanwhile, the positioning accuracy of the fourth type of blank area repairing treatment is further ensured, and the overall reliability of the system is further improved.
4. By storing the mapping positions of at least three reference coordinate points in the prototype graph in the common coordinate system of each layer in the corresponding first platemaking data file in the pairing relation, scaling and aligning treatment of the prototype graph are performed before comparing the third type blank area with the first type blank area, reliability of a comparison result is ensured, and reliability and universality of the whole system are further improved.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. An embroidery plate-making processing method based on edge detection, characterized by comprising the following steps:
storing a pairing relation between a prototype graph corresponding to the same manual embroidery finished product and a first platemaking data file in a database, wherein the first platemaking data file records the stitch sequence, the linear size, the stitch sequence range and the mapping relation between the stitch law of different colors of the corresponding manual embroidery finished product in a corresponding coordinate area according to a layer proportion of 1:1; storing mapping positions of at least three reference coordinate points in the prototype graph in a coordinate system shared by each layer in the corresponding first platemaking data file in the pairing relation;
importing a prototype graph designated by a user and a corresponding first platemaking data file into a newly built platemaking page;
scaling the prototype graph in a coordinate system shared by all layers in a corresponding first platemaking data file to align all reference coordinate points with corresponding mapping positions, detecting an edge area of the aligned prototype graph, and identifying a first type blank area formed in the outermost peripheral outline range of the prototype graph and connected end to end;
identifying second type blank areas formed by layers in an end-to-end mode from a first plate making data file corresponding to the prototype graph, and screening third type blank areas with at least one maximum interval set threshold value in maximum intervals corresponding to the X-axis direction and the Y-axis direction from the second type blank areas;
removing the blank areas overlapping with the first type blank areas from the third type blank areas to obtain the remaining fourth type blank areas;
acquiring a user-specified amplification ratio, and then synchronously carrying out corresponding amplification treatment on pattern areas of all layers according to the specified amplification ratio, stitch sequencing, linear size and mapping relation between stitch sequencing range and stitch method, wherein grid size data of all layers are unchanged after amplification;
and performing automatic restoration processing of the corresponding region amplified by each fourth type region according to the designated amplification proportion in the length direction and recovering the original space in the width direction, and then generating a second platemaking data file according to related processing of a user.
2. The method according to claim 1, wherein during the identification of the first type of blank area and the second type of blank area, edge detection is performed specifically based on the Roberts operator.
3. The method according to claim 1 or 2, wherein in the process of performing automatic repair treatment on the corresponding region amplified by each fourth type of region, the automatic repair treatment is performed by adopting a neighboring pattern region translation mode and/or a filling needle doping mode.
4. A method according to claim 3, wherein the step of synchronously performing the corresponding magnification processing on the pattern areas of each layer according to the designated magnification ratio comprises:
firstly, amplifying the size of the corresponding boundary contour trend curve of each layer according to the amplification proportion;
and then determining the number of stitch points of each segment on the boundary contour of each region in each layer according to the enlargement ratio, the size of the enlarged contour trend curve, the number of stitch points in each segment corresponding to the corresponding 1:1 ratio manual embroidery pattern and the size data of the actual line type, mapping the corresponding number of stitch points after enlargement into the boundary contour trend curve with scaled size, and reconstructing the connecting line between the stitch points after scaling according to the mapping relation between the stitch sequence range and the stitch method, which are continuous with the corresponding 1:1 ratio manual embroidery pattern.
5. The method as recited in claim 4, further comprising:
traversing whether the distance between two stitch points of the amplified connecting line exceeds the maximum distance range of the embroidery machine, if so, automatically dividing the connecting line exceeding the maximum distance range of the embroidery machine according to a preset dividing rule, or acquiring a manual dividing result of a user after prompting the user to manually divide; the dimension data of the connecting lines are consistent with the dimension data of the actual line type corresponding to each 1:1 ratio manual embroidery pattern calibrated in the database.
6. The method as recited in claim 5, further comprising:
acquiring a manual stitch adjustment request of a user;
tracking the displacement of the mouse, highlighting the nearest stitch point of the searched mouse, and automatically dividing the connecting line exceeding the maximum distance range of the embroidery machine according to a preset dividing rule when the distance between two adjacent stitch points exceeds the maximum distance range of the embroidery machine.
7. The method according to any one of claims 1 to 6, further comprising:
setting a request for a user to manually carry out integral displacement on the area;
after resolving a request for manually carrying out integral displacement on the region sent by a user, tracking the displacement of the mouse, and highlighting the found outline region closest to the mouse so as to execute automatic repair processing on the fourth-class region and/or repair a false fourth-class region misclassified according to corresponding operation of the user.
8. An embroidering platemaking processing system based on edge detection comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any one of the preceding claims 1 to 7 when executing the computer program.
CN202310365178.5A 2023-04-06 2023-04-06 Embroidery plate making processing method and system based on edge detection Active CN116579934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310365178.5A CN116579934B (en) 2023-04-06 2023-04-06 Embroidery plate making processing method and system based on edge detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310365178.5A CN116579934B (en) 2023-04-06 2023-04-06 Embroidery plate making processing method and system based on edge detection

Publications (2)

Publication Number Publication Date
CN116579934A true CN116579934A (en) 2023-08-11
CN116579934B CN116579934B (en) 2024-04-16

Family

ID=87543640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310365178.5A Active CN116579934B (en) 2023-04-06 2023-04-06 Embroidery plate making processing method and system based on edge detection

Country Status (1)

Country Link
CN (1) CN116579934B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5430658A (en) * 1993-10-04 1995-07-04 Pulse Microsystems, Ltd. Method for creating self-generating embroidery pattern
CN101859335A (en) * 2010-05-18 2010-10-13 南京大学 Computer-aided crewel embroidery production method
CN103294864A (en) * 2013-05-29 2013-09-11 南京大学 Computer-aided disordered needlework manufacture method using genetic algorithms
CN108389155A (en) * 2018-03-20 2018-08-10 北京奇虎科技有限公司 Image processing method, device and electronic equipment
CN108897781A (en) * 2018-06-06 2018-11-27 温州医科大学 Paper figure duplicate checking system
CN109345454A (en) * 2018-09-18 2019-02-15 徐庆 Method, storage medium and the system of bitmap images vector quantization
CN109543231A (en) * 2018-10-25 2019-03-29 武汉亘星智能技术有限公司 A kind of Garment Parametric pushes away an edition method and system
CN113298081A (en) * 2021-07-26 2021-08-24 湖南师范大学 Image data processing method and system in Hunan embroidery plate making process
CN113516587A (en) * 2021-04-23 2021-10-19 西安理工大学 Sock platemaking file reverse-calculation generation method based on pixel fusion

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5430658A (en) * 1993-10-04 1995-07-04 Pulse Microsystems, Ltd. Method for creating self-generating embroidery pattern
CN101859335A (en) * 2010-05-18 2010-10-13 南京大学 Computer-aided crewel embroidery production method
CN103294864A (en) * 2013-05-29 2013-09-11 南京大学 Computer-aided disordered needlework manufacture method using genetic algorithms
CN108389155A (en) * 2018-03-20 2018-08-10 北京奇虎科技有限公司 Image processing method, device and electronic equipment
CN108897781A (en) * 2018-06-06 2018-11-27 温州医科大学 Paper figure duplicate checking system
CN109345454A (en) * 2018-09-18 2019-02-15 徐庆 Method, storage medium and the system of bitmap images vector quantization
CN109543231A (en) * 2018-10-25 2019-03-29 武汉亘星智能技术有限公司 A kind of Garment Parametric pushes away an edition method and system
CN113516587A (en) * 2021-04-23 2021-10-19 西安理工大学 Sock platemaking file reverse-calculation generation method based on pixel fusion
CN113298081A (en) * 2021-07-26 2021-08-24 湖南师范大学 Image data processing method and system in Hunan embroidery plate making process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘梦林: "图像提取技术在服装轮廓与图案提取中的研究进展", 《北 京 服装 学 院 学 报 ( 自 然 科学 版)》, vol. 40, no. 3, pages 96 - 105 *

Also Published As

Publication number Publication date
CN116579934B (en) 2024-04-16

Similar Documents

Publication Publication Date Title
US20050119779A1 (en) System and method for digitizing a pattern
CN106017313B (en) Edge detection deviation correction value calculation method, edge detection deviation correction method and device
CN110489778B (en) Graph segmentation method and laser etching control system for laser etching processing
GB2371194A (en) Indicating image processing status
WO2007000909A1 (en) Method for forming master data for inspecting protruding and recessed figure
CN110033507B (en) Method, device and equipment for drawing internal trace of model map and readable storage medium
CN110148201B (en) Ultra-high-precision fabric real-time rendering method
CN112248436B (en) Multi-laser-based scanning path planning method and device and three-dimensional object manufacturing equipment
US7620234B2 (en) Image processing apparatus and method for generating a three-dimensional model of an object from a collection of images of the object recorded at different viewpoints and segmented using semi-automatic segmentation techniques
CN116579934B (en) Embroidery plate making processing method and system based on edge detection
CN113298081B (en) Image data processing method and system in Hunan embroidery plate making process
JP2010213748A (en) Embroidery data generating device, embroidery data generating program, and computer-readable medium storing embroidery data generating program
DE102018123717B4 (en) Calibration template and calibration method for geometrically calibrating a large number of cameras in a camera array
CN110801068A (en) Method for manufacturing ink-jet printed garment
CN110689586B (en) Tongue image identification method in traditional Chinese medicine intelligent tongue diagnosis and portable correction color card used for same
CN104978752A (en) Method for dividing area of interest for chip defect scanning
CN109790669B (en) Method for preparing a tufting process for tufting a fabric, in particular a carpet, and method for tufting a fabric
CN118328897B (en) Method for measuring slot hole size of sheet metal workpiece
TWI822126B (en) Sample observation device, sample observation method and computer system
CN112507405B (en) Rapid cutting method for deformation treatment of rectangular cutting path of printing material array
JP7006111B2 (en) Devices, methods, and programs for locating, devices, methods, and programs for displaying images.
CN105279509B (en) A kind of tissue independent positioning method based on gray value of image gradient
KR101053911B1 (en) Reverse engineering method of tire pattern
CN116000461A (en) Multi-head laser galvanometer flying marking typesetting optimization method
DE112021006891T5 (en) IMAGE PROCESSING DEVICE, PROGRAM AND IMAGE PROCESSING METHOD

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