Underwear registration and typesetting method based on machine vision
Through the machine vision-based underwear type-type method, using high-definition probes and feature profile recognition technology, the problem of low efficiency of underwear type-type-type in the prior art is solved, and efficient and accurate flower type-type processing of underwear of different sizes is achieved.
Patent Information
- Application Number
- CN202510242540.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2045-03-03
AI Technical Summary
The existing underwear typesetting methods are inefficient and cannot adapt to different sizes of underwear for flower typesetting.
Using a machine vision-based method, the underwear surface image is obtained through a high-definition probe, the initial processing and feature profile recognition is performed, the flower layout area is determined, and the preset flower template is matched and adjusted to ensure that the flower template can be accurately applied to the flower layout area.
It realizes efficient and accurate lingerie layout processing, improves the quality and efficiency of lingerie layout, and can meet the needs of lingerie layout of different sizes.
Smart Images

Figure CN119722874A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of underwear processing, and in particular to a method for pattern layout of underwear based on machine vision. Background Art
[0002] When producing underwear, in order to ensure that the patterns and designs on the surface of the underwear remain coherent, symmetrical and coordinated after splicing and sewing, the patterns on each piece need to be accurately arranged and positioned. This process is the underwear patterning. For example, for a bra with a floral pattern, after sewing the cup surface, side wings and other different pieces together, the floral pattern should be naturally connected so that it looks like a whole painting, rather than being messy and incomplete.
[0003] Patent application CN113408237B discloses a fancy layout method for improving the utilization rate of cutting materials. The fancy layout shape is similar to a circular shape and is symmetrical. Combined with the size of the SET, it is placed horizontally or vertically and matched according to the size of the large material. The present invention provides a fancy layout method for improving the utilization rate of cutting materials. Through a fancy layout method, the utilization rate of the plate is improved and the cost of the plate is reduced.
[0004] In the process of pattern typesetting of the underwear, the associated areas to be typeset are typeset based on the corresponding preset templates, but each area to be typeset of different sizes needs to correspond to preset templates of different sizes. In the comparison process, this method is cumbersome and inefficient, and it is not possible to perform pattern typesetting on underwear of different sizes. The original pattern typesetting method is not comprehensive enough. Summary of the invention
[0005] In view of the deficiencies of the prior art, the present invention provides a method for pattern layout of underwear based on machine vision, which solves the problem that the original pattern layout processing method cannot perform pattern layout processing on underwear of different sizes.
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a method for pattern layout of underwear based on machine vision, comprising the following steps: Step 1: Place the underwear to be patterned at the designated position, use a high-definition probe to obtain the surface image of the underwear, and perform preliminary processing on the obtained surface image to select the complete image of the underwear. The specific sub-steps are: S11, converting the underwear surface image obtained by the high-definition probe to convert the original color image into a grayscale image, confirming the grayscale values associated with different grayscale points in the converted grayscale image, and calibrating the different grayscale values as H i , where i represents different grayscale points; S12, the gray value H of different gray points iCompare with the preset value Y1 and set H i Grayscale points ≤Y1 are marked as background points, otherwise, no marking is performed; Eliminate the background area associated with the background point from the underwear surface image, and record the image after the elimination process as the complete underwear image; Step 2: reconvert the determined complete underwear image into a color image, and then perform feature contour processing on the converted complete underwear image to identify the pixel values associated with different pixel points in the complete underwear image, and then confirm the feature contour existing in the corresponding complete underwear image based on the gradient performance of different pixel points, and confirm the contour area. The specific sub-steps are: S21, calibrating the pixel values associated with different pixel points in the complete underwear image after the conversion processing as X k , where k represents different pixels, and then based on the adjacent pixels around the corresponding pixel, the pixel values associated with the adjacent pixels are confirmed, and then the Sobel algorithm is used to process the confirmed groups of pixel values to confirm the lateral gradient HT associated with the corresponding pixel. k and the longitudinal gradient ZT k ; S22, based on the confirmed transverse gradient HT k and the longitudinal gradient ZT k , lock the comprehensive gradient associated with the corresponding pixel point, using Confirm its comprehensive gradient ZH k , the comprehensive gradient ZH confirmed by the corresponding pixel point k Compare with the preset value Y2, when ZH k >Y2, the corresponding pixel point is marked as a gradient pixel point. k When ≤Y2, no processing is performed; S23, based on the groups of gradient pixel points confirmed in the complete underwear image, adjacent gradient pixel points are connected, characteristic contours existing in the complete underwear image are confirmed in sequence, and then specific areas included in each different characteristic contour are marked as contour areas; Step 3: From among the several groups of contour areas confirmed in the complete underwear image, the center point associated with the corresponding contour area is preferentially determined, and then the contour area is aligned with the preset feature area and coincidence analysis is performed simultaneously, and the pattern layout area is selected in the complete underwear image. The specific method is as follows: S31, based on different edge contours associated with different contour areas, placing the corresponding edge contours in a two-dimensional coordinate system, and confirming the two-dimensional coordinates associated with the corresponding contour points, performing mean processing on several groups of two-dimensional coordinates of several groups of contour points associated with the corresponding edge contours, confirming the mean coordinates, and marking the point associated with the determined mean coordinates in the corresponding contour area, and recording it as the center point of this contour area; S32, confirm the center points inside different contour areas in turn, align the center points of the contour area after the center point confirmation with the preset feature area, where the preset feature area is the originally planned layout area, and after alignment, rotate the contour area according to the center point or the feature area according to the center point, where the center point is preset inside the feature area, and record the overlapped area between the contour area and the feature area in real time during the rotation process, confirm the area ratio of the overlapped area in the feature area, and use: ZB p = overlapping area ÷ total area of feature area, where p represents different rotation processes. When the contour area or feature area rotates 360° based on the corresponding center point, it stops rotating; Different area ratio values ZB associated with different rotation processes p , select ZB p max is the eigenvalue associated with this contour area; S33, the characteristic value ZB associated with different contour areas p max is confirmed in turn, which will satisfy: ZB p The contour area with max≥95% is calibrated for the layout area, otherwise, no calibration is performed; If ZB does not exist in the complete image of the underwear p For contour areas with max≥95%, an error signal is directly generated for display; Step 4: Based on the determined pattern layout area and the preset pattern layout template, the relevant features of the overall outline of the pattern layout area are preferentially determined, and the starting layout line is selected from the pattern layout area. Then, based on the preset printing starting line in the pattern layout template, the pattern layout template is combined with the pattern layout area, and the combined pattern complete area is displayed. The specific method is as follows: S41, confirming the contour of the determined pattern layout area, locking the edge contour belonging to the pattern layout area, and then confirming the point angles between corresponding contour points from the locked edge contour, and calibrating the confirmed different point angles as Jo, where o represents different corresponding contour points; The corresponding contour points that satisfy Jo≤150° are calibrated as characteristic inflection points, otherwise no calibration is performed; Confirm the length of the partial edge contour associated between adjacent feature inflection points, and mark the confirmed length as CL q, where q represents different partial edge profiles, from the multiple sets of lengths CL identified q In the q The edge contour associated with max is recorded as the starting layout line of this layout area; S42, based on a preset pattern alignment template, selecting a printing start line in the pattern alignment template, calibrating the length of the printing start line as YL, and calibrating the length of the start layout line in the pattern alignment area as QL; If YL<QL, the pattern template is enlarged proportionally until the length of the printing starting line YL≥QL; If YL ≥ QL, no treatment is performed; S43, confirming the center point Z1 of the printing starting line and the center point Z of the starting layout line, making Z1 coincide with Z2, and adjusting the angle feature between the center point Z1 of the printing starting line and the adjacent points based on the angle feature between the center point Z2 and the adjacent points in the starting layout line, and then adjusting the angle feature of the surrounding points in turn based on the center point, and gradually adjusting in this way until a group of curves in the printing starting line completely coincide with the starting layout line or the printing starting line completely coincides with the starting layout line, and stopping; After the printing start line and the start layout line are completely overlapped, the pattern template and the pattern layout area are overlapped, and the overlap area is selected, and the selected overlap area is used as the complete pattern area and displayed.
[0007] The present invention provides a method for pattern layout of underwear based on machine vision. Compared with the prior art, it has the following beneficial effects: The present invention can accurately identify the inner and outer contours of underwear by using the Sobel algorithm to confirm the contour area based on the pixel gradient. This analysis method based on pixel features fully considers the changing rules of pixel values in the image and has good adaptability to the contour features of different types of underwear, so that the underwear area can be accurately divided, providing a reliable basis for determining the matching area; By calculating the center point of the contour area and aligning and analyzing the overlap with the preset feature area, the pattern layout area can be scientifically selected. This method can effectively select the appropriate layout area based on the actual contour characteristics of the underwear and the preset layout requirements; if the area that meets the requirements is not found, an error signal is issued, which helps to promptly discover problems such as uneven placement of the underwear, ensuring the accuracy and reliability of the pattern layout; The starting layout line is selected based on the contour features of the pattern layout area, and then matched with the printing starting line of the pattern layout template; the pattern layout template is proportionally enlarged and the angle features are adjusted to make the two overlap, and finally the complete pattern layout area is determined; this process ensures that the pattern layout template can be accurately applied to the pattern layout area, realizes efficient and accurate pattern layout processing, improves the quality and efficiency of underwear pattern layout, and can meet the needs of refined pattern layout in the production process. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 It is a schematic diagram of the process of the present invention; Figure 2 It is a schematic diagram for determining the starting typesetting line of the present invention. DETAILED DESCRIPTION
[0009] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0010] See also Figure 1 The present application provides a method for layout of underwear patterns based on machine vision, comprising the following steps: Step 1: Place the underwear that needs to be patterned at a designated position, use a high-definition probe to obtain the surface image of the underwear, and perform preliminary processing on the obtained surface image to select a complete image belonging to the underwear. Specifically, after the underwear is placed at the designated position, the corresponding high-definition probe obtains the image of the designated position. Then the obtained image includes not only the relevant image of the corresponding underwear, but also the specific image of the background where the corresponding underwear is located. Therefore, for subsequent feature recognition and specific processing, it is necessary to remove the corresponding background image from the obtained surface image to determine the complete image of the corresponding underwear. The specific sub-steps for selection are: S11, converting the underwear surface image obtained by the high-definition probe to convert the original color image (that is, the underwear surface image) into a grayscale image, and confirming the grayscale values associated with different grayscale points in the converted grayscale image, and calibrating the different grayscale values as H i , where i represents different grayscale points; S12, the gray value H of different gray points i Check with the preset value Y1, where the specific value of Y1 is determined by the operator based on experience. i Grayscale points ≤Y1 are marked as background points, otherwise, no marking is performed; The background area associated with the background point is removed from the underwear surface image, and the removed image is recorded as the complete underwear image. Specifically, the grayscale features in the corresponding grayscale image and the background image are significantly different, so the background image and the complete underwear image can be distinguished based on the grayscale features in the corresponding grayscale image, which is convenient for subsequent feature confirmation of the complete underwear image and completion of the overall layout of the relevant patterns of the complete underwear image. Step 2: reconvert the determined complete underwear image into a color image, and then perform feature contour processing on the converted complete underwear image, identify the pixel values associated with different pixel points in the complete underwear image, and then confirm the feature contour in the corresponding complete underwear image based on the gradient performance of different pixel points, and confirm the contour area. Specifically, there are associated pixel values for different pixel points in the corresponding image, and the corresponding pixel points can select gradient pixel points from several groups of pixel points based on the change characteristics between the corresponding pixel values, and then confirm the specific area contour based on the comprehensive contour performance of the gradient pixel points, so as to determine the comprehensive contour and internal contour of the corresponding image, and then confirm the specific pattern area from the confirmed corresponding contour area. For different types of underwear, the corresponding pattern area can be locked based on the different performances of the corresponding contour area, wherein the specific sub-steps for confirming the contour area are: S21, calibrating the pixel values associated with different pixel points in the complete underwear image after the conversion processing as X k , where k represents different pixels, and then based on the adjacent pixels around the corresponding pixel, the pixel values associated with the adjacent pixels are confirmed, and then the Sobel algorithm is used to process the confirmed groups of pixel values to confirm the lateral gradient HT associated with the corresponding pixel. k and the longitudinal gradient ZT k Specifically, when confirming the gradient value of the corresponding pixel point, the horizontal gradient kernel and the vertical gradient kernel associated with the corresponding convolution process are first determined, and then the pixel value associated with the corresponding pixel point is assigned the corresponding weight based on the specific weight factor associated with the corresponding gradient kernel. Then, based on the specific numerical performance state of each pixel point at different positions after being assigned different weights, the gradient value associated with the corresponding pixel point is comprehensively confirmed, so that the horizontal gradient and the vertical gradient associated with the corresponding pixel point can be confirmed. The associated horizontal gradient kernel is , the associated vertical gradient kernel is ; S22, based on the confirmed transverse gradient HT k and the longitudinal gradient ZT k , lock the comprehensive gradient associated with the corresponding pixel point, using Confirm its comprehensive gradient ZH k, the comprehensive gradient ZH confirmed by the corresponding pixel point k Compare with the preset value Y2, where the specific value of Y2 is determined by the operator based on experience. k ≤Y2, no processing is performed. k >Y2, the corresponding pixel point is marked as a gradient pixel point; S23, based on the groups of gradient pixel points confirmed in the complete underwear image, adjacent gradient pixel points are connected, characteristic contours existing in the complete underwear image are confirmed in sequence, and then specific areas included in each different characteristic contour are marked as contour areas; Specifically, when the underwear is imaged, because of the specific contour features inside and outside the underwear, the inner and outer contours of the corresponding underwear can be specifically confirmed, and from the confirmed groups of contours, different areas of the corresponding underwear can be divided, and then the characteristics of the divided contour areas are analyzed to determine the specific areas that need to be patterned; Step 3: From among the several groups of contour areas confirmed in the complete underwear image, the center point associated with the corresponding contour area is preferentially determined, and then the contour area is aligned with the preset feature area and coincidence analysis is performed simultaneously, and the pattern layout area is selected in the complete underwear image, wherein the specific method of selecting is as follows: S31, based on different edge contours associated with different contour areas, placing the corresponding edge contours in a two-dimensional coordinate system, and confirming the two-dimensional coordinates associated with the corresponding contour points, performing mean processing on several groups of two-dimensional coordinates of several groups of contour points associated with the corresponding edge contours, confirming the mean coordinates, and marking the point associated with the determined mean coordinates in the corresponding contour area, and recording it as the center point of this contour area; S32, confirm the center points inside different contour areas in turn, align the center points of the contour areas after the center point confirmation with the preset feature areas, where the preset feature areas are the originally planned layout areas, and the relevant operators confirm and input the areas in advance, and the system itself performs feature comparison and overlap, and after alignment, the contour area is rotated according to the center point or the feature area is rotated according to the center point (only one group of the two is required to rotate), and the feature area is synchronously preset with a center point, and the overlap area generated by the contour area and the feature area during the rotation process is recorded in real time, and the area ratio of the overlap area in the feature area is confirmed, and the use of: ZB p = overlapping area ÷ total area of feature area, where p represents different rotation processes. When the contour area or feature area rotates 360° (i.e. one cycle) based on the corresponding center point, the rotation stops; Different area ratio values ZB associated with different rotation processes p , select ZB pmax is the eigenvalue associated with this contour area; S33, the characteristic value ZB associated with different contour areas p max is confirmed in turn, which will satisfy: ZB p max≥95% of the contour area is calibrated for the layout area, otherwise no calibration is performed. If there is no ZB in the complete underwear image, p If max≥95% of the contour area, an error signal will be directly generated for display, indicating that there is a deviation in the processing process and human intervention is required. It is very likely that the corresponding underwear is not placed flat enough, resulting in a large deviation in the area of the corresponding contour area; Step 4: Based on the determined pattern layout area and the preset pattern layout template, the relevant features of the overall outline of the pattern layout area are preferentially determined, and the starting layout line is selected from the pattern layout area. Then, based on the preset printing starting line in the pattern layout template, the pattern layout template is combined with the pattern layout area, and the combined pattern complete area is displayed. The specific sub-steps of combining are: S41, Combination Figure 2 , confirm the contour of the determined pattern layout area, lock the edge contour belonging to this pattern layout area, and then confirm the point angle between the corresponding contour points from the locked edge contour (the angle between the three groups of points generally has two orientations, an internal angle and an external angle. The point angle determined here is the corresponding angle facing the center point of the corresponding pattern layout area. The three points determine a group of point angles, and the corresponding contour point is located at the middle point of the three groups of points), and mark the confirmed different point angles as Jo, where o represents different corresponding contour points; The corresponding contour points that satisfy Jo≤150° are calibrated as characteristic inflection points, otherwise no calibration is performed; Confirm the length of the partial edge contour associated between adjacent feature inflection points, and mark the confirmed length as CL q , where q represents different partial edge profiles, from the multiple sets of lengths CL identified q In the q The part of the edge contour associated with max is recorded as the starting layout line of this pattern layout area (that is, the longest set of edge lines on the edge contour of the pattern layout area. The endpoints between the corresponding edge lines are all characteristic inflection points. Therefore, when performing layout processing, typesetting based on the longest edge line can achieve a better pattern layout processing effect); S42, based on the preset pattern template, selecting a printing start line in the pattern template, the printing start line has been marked in advance in the pattern template, the length of the printing start line is marked as YL, and the length of the starting layout line in the pattern layout area is marked as QL; If YL<QL, the pattern template is enlarged proportionally until the length of the printing starting line YL≥QL; If YL ≥ QL, no treatment is performed; S43, confirm the center point Z1 of the printing starting line and the center point Z of the starting layout line, make Z1 coincide with Z2, and adjust the angle feature between the center point Z1 of the printing starting line and the adjacent points based on the angle feature between the center point Z2 and the adjacent points in the starting layout line, and then adjust the angle feature of the surrounding points in turn based on the center point, and gradually adjust in this way until there is a group of curves in the printing starting line that completely coincide with the starting layout line (corresponding to YL>QL) or the printing starting line completely coincides with the starting layout line (corresponding to YL=QL, the processing process here can be equivalent to a group of straight lines or curves, the straight line is the printing starting line, and the curve is the starting layout line. In order to convert the straight line into a curve, it is necessary to change the angle feature of the same point in the straight line according to the change of the angle feature between the adjacent points in the curve, so as to adjust the corresponding straight line to a curve); After the printing start line and the start layout line are completely overlapped, the pattern template is overlapped with the pattern layout area, and the overlap area is selected, and the selected overlap area is used as the complete pattern area and displayed, completing the pattern layout processing of the designated area of the corresponding underwear; The starting layout line is selected based on the contour features of the pattern layout area, and then matched with the printing starting line of the pattern layout template; the pattern layout template is proportionally enlarged and the angle features are adjusted to make the two overlap, and finally the complete pattern layout area is determined; this process ensures that the pattern layout template can be accurately applied to the pattern layout area, realizes efficient and accurate pattern layout processing, improves the quality and efficiency of underwear pattern layout, and can meet the needs of refined pattern layout in the production process.
[0011] Some of the data in the above formulas are numerically calculated by removing their dimensions. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.
[0012] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A method for layout of underwear patterns based on machine vision, characterized in that: The following steps are involved: Step 1: Place the underwear to be patterned at a designated position, use a high-definition probe to obtain a surface image of the underwear, and perform preliminary processing on the obtained surface image to select a complete image of the underwear; Step 2: reconvert the determined complete underwear image into a color image, and then perform feature contour processing on the converted complete underwear image to identify the pixel values associated with different pixel points in the complete underwear image, and then confirm the feature contour existing in the corresponding complete underwear image based on the gradient performance of different pixel points, and confirm the contour area; Step 3: From among the several groups of contour areas confirmed in the complete underwear image, the center points associated with the corresponding contour areas are preferentially determined, and then the contour areas are aligned with the preset feature areas and coincidence analysis is performed simultaneously, and the pattern layout area is selected in the complete underwear image; Step 4: Based on the determined pattern layout area and the preset pattern layout template, prioritize the relevant features of the overall outline of the pattern layout area, select the starting layout line from the pattern layout area, and then combine the pattern template with the pattern layout area based on the preset printing starting line in the pattern template, and display the combined complete pattern area.
2. The method for underwear pattern layout based on machine vision according to claim 1, characterized in that: In the step 1, the specific sub-steps of selecting the complete image belonging to the underwear are: S11, converting the underwear surface image obtained by the high-definition probe to convert the original color image into a grayscale image, confirming the grayscale values associated with different grayscale points in the converted grayscale image, and calibrating the different grayscale values as H i , where i represents different grayscale points; S12, the gray value H of different gray points i Compare with the preset value Y1 and set H i Grayscale points ≤Y1 are marked as background points, otherwise, no marking is performed; The background area associated with the background points is removed from the underwear surface image, and the image after the removal is recorded as the complete underwear image.
3. The method for underwear pattern layout based on machine vision according to claim 1, characterized in that: In step 2, the specific sub-steps of confirming the contour area are: S21, calibrating the pixel values associated with different pixel points in the complete underwear image after the conversion processing as X k , where k represents different pixels, and then based on the adjacent pixels around the corresponding pixel, the pixel values associated with the adjacent pixels are confirmed, and then the Sobel algorithm is used to process the confirmed groups of pixel values to confirm the lateral gradient HT associated with the corresponding pixel. k and the longitudinal gradient ZT k ; S22, based on the confirmed transverse gradient HT k and the longitudinal gradient ZT k , lock the comprehensive gradient associated with the corresponding pixel point, using Confirm its comprehensive gradient ZH k , the comprehensive gradient ZH confirmed by the corresponding pixel point k Compare with the preset value Y2, when ZH k >Y2, the corresponding pixel point is marked as a gradient pixel point; S23, based on the confirmed groups of gradient pixel points in the complete underwear image, adjacent gradient pixel points are connected, characteristic contours existing in the complete underwear image are confirmed in sequence, and then specific areas contained in each different characteristic contour are marked as contour areas.
4. The method for underwear pattern layout based on machine vision according to claim 3, characterized in that: In step S22, when ZH k When ≤Y2, no processing is performed.
5. The method for underwear pattern layout based on machine vision according to claim 1, characterized in that: In the step 3, the specific method of selecting the pattern layout area in the complete underwear image is: S31, based on different edge contours associated with different contour areas, placing the corresponding edge contours in a two-dimensional coordinate system, and confirming the two-dimensional coordinates associated with the corresponding contour points, performing mean processing on several groups of two-dimensional coordinates of several groups of contour points associated with the corresponding edge contours, confirming the mean coordinates, and marking the point associated with the determined mean coordinates in the corresponding contour area, and recording it as the center point of this contour area; S32, confirm the center points inside different contour areas in turn, align the center points of the contour area after the center point confirmation with the preset feature area, where the preset feature area is the originally planned layout area, and after alignment, rotate the contour area according to the center point or the feature area according to the center point, where the center point is preset inside the feature area, and record the overlapped area between the contour area and the feature area in real time during the rotation process, confirm the area ratio of the overlapped area in the feature area, and use: ZB p = overlapping area ÷ total area of feature area, where p represents different rotation processes. When the contour area or feature area rotates 360° based on the corresponding center point, it stops rotating; Different area ratio values ZB associated with different rotation processes p , select ZB p max is the eigenvalue associated with this contour area; S33, the characteristic value ZB associated with different contour areas p max is confirmed in turn, which will satisfy: ZB p The contour area with max ≥ 95% is calibrated for the layout area, otherwise no calibration is performed.
6. The method for underwear pattern layout based on machine vision according to claim 5, characterized in that: In step S33, if ZB does not exist in the complete underwear image, p For contour areas with max≥95%, an error signal is directly generated for display.
7. The method for underwear pattern layout based on machine vision according to claim 1, characterized in that: In the step 4, the specific method of selecting the starting layout line from the pattern layout area is: S41, confirming the contour of the determined pattern layout area, locking the edge contour belonging to the pattern layout area, and then confirming the point angles between corresponding contour points from the locked edge contour, and calibrating the confirmed different point angles as Jo, where o represents different corresponding contour points; The corresponding contour points that satisfy Jo≤150° are calibrated as characteristic inflection points, otherwise no calibration is performed; Confirm the length of the partial edge contour associated between adjacent feature inflection points, and mark the confirmed length as CL q , where q represents different partial edge profiles, from the multiple sets of lengths CL identified q In the q The partial edge contour associated with max is recorded as the starting layout line of this layout area.
8. The method for underwear pattern layout based on machine vision according to claim 7, characterized in that: In step 4, the specific method of determining the complete area of the flower is: S42, based on a preset pattern alignment template, selecting a printing start line in the pattern alignment template, calibrating the length of the printing start line as YL, and calibrating the length of the start layout line in the pattern alignment area as QL; If YL<QL, the pattern template is enlarged proportionally until the length of the printing starting line YL≥QL; If YL ≥ QL, no treatment is performed; S43, confirming the center point Z1 of the printing starting line and the center point Z of the starting layout line, making Z1 coincide with Z2, and adjusting the angle feature between the center point Z1 of the printing starting line and the adjacent points based on the angle feature between the center point Z2 and the adjacent points in the starting layout line, and then adjusting the angle feature of the surrounding points in turn based on the center point, and gradually adjusting in this way until a group of curves in the printing starting line completely coincide with the starting layout line or the printing starting line completely coincides with the starting layout line, and stopping; After the printing start line and the start layout line are completely overlapped, the pattern template and the pattern layout area are overlapped, and the overlap area is selected, and the selected overlap area is used as the complete pattern area and displayed.
Citation Information
Patent Citations
A creative layout method to improve material utilization
CN113408237B
Method for automatically optimizing positions of cutting pieces
CN109597353A
Processing control method and device and equipment
CN113971661A
Excess material recognition and typesetting system based on vision
CN115861782A
Ultrasonic cardiogram image recognition method
CN117243637A
Cited By
Timing gear assembly assembling and positioning system based on machine vision
CN120293005A
Timing gear assembly positioning system based on machine vision
CN120293005B
Control optimization method based on paperboard digital intelligent grooving machine
CN120985992A
Control optimization method based on digital slotting machine for paperboard
CN120985992B