METHOD AND SYSTEM FOR AUTOMATICALLY DETECTING CHARACTERISTIC POINTS OF A HERRINGBONE FABRIC WITH A VIEW TO AUTOMATICALLY CUTTING PIECES
20230143017 · 2023-05-11
Inventors
Cpc classification
B26D2005/002
PERFORMING OPERATIONS; TRANSPORTING
G05B19/408
PHYSICS
G06V10/42
PHYSICS
A41H3/007
HUMAN NECESSITIES
B26D5/00
PERFORMING OPERATIONS; TRANSPORTING
International classification
A41H3/00
HUMAN NECESSITIES
Abstract
A method and system are provided for automatically detecting characteristic points of a herringbone fabric with a view to automatically cutting pieces. The herringbone patterns are formed by V-shaped features with vertices that are aligned along a plurality of parallel axes. The method proceeds with a step of acquiring an image of a segment of the fabric, a detection initialization step including, on the basis of predefined parameters or on the basis of the image, acquiring geometric parameters of the herringbone patterns and defining lines of operation perpendicular to the axes of the herringbone patterns, and a step of determining, in the image, coordinates of points of passage of axes of the herringbone patterns along lines of operation via the optimization of a criterion of symmetry of two mirror sub-images acquired along lines of operation.
Claims
1.-10. (canceled)
11. A method for automatically detecting characteristic points of a herringbone fabric with a view to automatically cutting pieces, the herringbone patterns being formed by V-shaped features with vertices that are aligned along a plurality of parallel axes, the method comprising: a step of acquiring an image of a segment of the fabric; a detection initialization step comprising, on the basis of predefined parameters or on the basis of the image, acquiring geometric parameters of the herringbone patterns and defining lines of operation perpendicular to the axes of the herringbone patterns; and a step of determining, in the image, coordinates of points of passage of axes of the herringbone patterns along lines of operation via the optimization of a criterion of symmetry of two mirror sub-images acquired along lines of operation.
12. The method according to claim 11, wherein the detection initialization step comprises: the determination by an operator of an initial point of coordinates corresponding to the first theoretical point of passage on the first line of operation; the determination by the operator or on the basis of predefined parameters of the theoretical spacing between two herringbone pattern axes; the definition on the basis of the initial point of the lines of operation perpendicular to the axes of the herringbone patterns, the lines of operation being spaced from each other by a pitch defined by the operator or on the basis of predefined parameters; and the creation of an analysis window, initially centered on the initial point, the dimensions of which are determined by the operator or on the basis of predefined parameters.
13. The method according to claim 12, wherein the set of the points of passage of axes of the herringbone patterns form a deformed grid which is used to reposition and/or deform the pieces to be cut.
14. The method according to claim 12, wherein the step of determining the coordinates of points of passage of axes of the herringbone pattern comprises iteratively moving the analysis window within the image along each of the lines of operation.
15. The method according to claim 12, wherein the step of determining the coordinates of points of passage of axes of the herringbone patterns comprises calculating correlation coefficients between the two mirror sub-images inscribed in the analysis window.
16. The method according to claim 15, wherein the step of determining the coordinates of points of passage of axes of the herringbone patterns further comprises the recording of the coordinates of the geometric center of the analysis window when the correlation coefficient is maximized in absolute value.
17. The method according to claim 12, wherein the analysis window has a width corresponding to about 40% of the distance between two adjacent herringbone pattern axes.
18. The method according to claim 11, wherein the step of determining the coordinates of points of passage of axes of the herringbone patterns comprises the calculation of the coordinates of the theoretical points of passage along lines of operation.
19. The method according to claim 11, wherein in the case of vertical herringbone patterns, the lines of operation are horizontal, and in the case of horizontal herringbone patterns, the lines of operation are vertical.
20. A system for automatically detecting characteristic points of a herringbone fabric with a view to automatically cutting pieces, the herringbone patterns being formed by V-shaped features with vertices that are aligned along a plurality of parallel axes, the system comprising: means for acquiring an image of a segment of the fabric; detection initialization means comprising, on the basis of predefined parameters or on the basis of the image, acquiring geometric parameters of the herringbone patterns and defining lines of operation perpendicular to the axes of the herringbone patterns; and means for determining in the image the coordinates of points of passage of axes of the herringbone patterns along lines of operation by the optimization of a criterion of symmetry of two mirror sub-images acquired along lines of operation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0037]
[0038]
[0039]
[0040]
[0041]
DESCRIPTION OF EMBODIMENTS
[0042] The invention relates to the automatic detection of characteristic points of a zigzag or sawtooth herringbone fabric, such as the fabrics T-A and T-B shown in
[0043] In a known manner, herringbone fabrics are weaves used in weaving and obtained by reproducing, after inversion, weaves in twill or twill derivatives.
[0044] More specifically, the herringbone patterns of these fabrics T-A, T-B are formed by V-shaped features with vertices P that are aligned along a plurality of parallel axes. In the case of vertical herringbone patterns (
[0045] In the example of
[0046] The method according to the invention aims at recognizing the presence of herringbone patterns in the image of a segment of a herringbone fabric (as described in connection with
[0047] In particular, as shown in
[0048] The lines of operation are lines that are predefined by the operator to be perpendicular to the herringbone pattern axes, parallel to each other, and spaced (preferably with a regular pitch) from each other.
[0049] Thus, in the case of
[0050] Of course, in the case of detection of horizontal herringbone patterns, the axes of the latter are horizontal lines, and the lines of operation are defined to be vertical lines.
[0051] This recognition operation according to the invention allows to model a grid reflecting distortions mainly due to the imperfect unwinding of the width of fabric on the cutting table, this deformed grid being used to reposition and/or deform the pieces to be cut.
[0052] To this end, the method according to the invention provides for the following successive main steps:
[0053] 1/A step of acquiring an image of a segment of the fabric:
[0054] This step is carried out in a manner known per se by spreading the fabric on the cutting table to take an image of a segment thereof by means of an image sensor.
[0055] 2/A detection initialization step:
[0056] This step consists in acquiring, on the basis of the image acquired previously or on the basis of parameters predefined by the operator, the geometric parameters of the herringbone patterns, as well as defining the lines of operation. This step is carried out by the operator using a calculator onboard the cutting machine or separate therefrom. The parameters can be determined at the last moment on the cutting machine or be defined beforehand.
[0057] 3/A step of determining the points of passage of the axes of the herringbone patterns along lines of operation:
[0058] This step consists of an automatic algorithm for optimizing a criterion of symmetry of two mirror sub-images acquired along lines of operation. It is for example carried out at the calculator used during the previous step. It allows to obtain the coordinates of the vertices of the herringbone patterns in the fabric which constitute characteristic points of the patterned fabric.
[0059] In connection with
[0060] This step consists for the operator in defining a certain number of parameters relating to the herringbone patterns of the fabric, namely: [0061] the direction of the herringbone patterns which can be vertical (case of
[0067] This initialization step may advantageously include the verification of a coherent detection of the vertical herringbone (respectively horizontal) patterns by ensuring that the vertical pitch dX (respectively the horizontal pitch dY) verifies the following relationship: (dY×tan(a)+r) is strictly less than dX/2 for vertical herringbone patterns, and (dX×tan(a)+r) is strictly less than dY/2 for horizontal herringbone patterns.
[0068] In connection with
[0069] For the vertical herringbone patterns (
[0070] The axes Kj of the herringbone patterns are lines with a vertical tendency which are numbered, for example from left to right of the image, the first axis of the herringbone patterns being numbered KO (j=0). The theoretical points of passage N of the j-th herringbone pattern axis with the i-th line of operation are the points of coordinates xA(i,j), yA(i,j) with i varying from 0 to the number of lines of operation.
[0071] Similarly, for the horizontal herringbone patterns (
[0072] The axes Ki of the herringbone patterns are lines with a horizontal tendency which are numbered, for example from top to bottom of the image, the first axis of the herringbone patterns being numbered KO (i=0). The theoretical points of passage N′ of the i-th herringbone pattern axis with the j-th line of operation are the points of coordinates xA(i,j), yA(i,j) with j varying from 0 to the number of lines of operation.
[0073] The determination step of the method according to the invention consists in iteratively moving the analysis window F defined beforehand along the various lines of operation Li, Lj within the image starting from the initial predefined point I.
[0074] The analysis window is moved at each iteration by a distance corresponding to the vertical pitch dX (for the vertical herringbone patterns) and the horizontal pitch dY (for the horizontal herringbone patterns).
[0075] During the movement of the analysis window, the algorithm calculates the coordinates of the points of passage xA(i,j), yA(i,j) of axes of the herringbone patterns with the lines of operation.
[0076] To this end, at each iteration, the algorithm calculates a correlation coefficient between two mirror sub-images inscribed in the analysis window F. When the correlation coefficient thus calculated is maximized in absolute value, the coordinates of the geometric center of the analysis window F correspond to those of the theoretical point of passage N of the corresponding herringbone pattern axis with the corresponding line of operation.
[0077] In a scanned image, the probability of a vertical herringbone pattern axis passing through a point of passage will be even greater if the segments of the image located on either side of the vertical passing through this point are symmetrical relative to each other (within luminance inversion).
[0078] As shown in
[0079] The algorithm then calculates the correlation coefficient δ between the sub-image ML and the sub-image MR (mirror of ML). The calculation of this correlation coefficient δ is performed from tables containing the series of luminance t1, t2 of the two sub-images ML, MR, respectively, and its result is typically given by the following mathematical formula: δ=Cov (t1, t2)/e1×e2; where “Cov” denotes the covariance between series t1 and t2, and e1 and e2 denote the standard deviation of series t1 and t2, respectively.
[0080] The interpretation of the result obtained is as follows:
[0081] 1/When the result obtained is equal to or close to +1 (case of
[0082] 2/When the result obtained is equal to or close to 0 (positively or negatively—case of
[0083] 3/When the result obtained is equal to or close to −1 (case of
[0084] Thus, the presence of herringbone patterns will be confirmed for a correlation coefficient close to 1 in absolute value. In this situation, the coordinates of the geometric center of the analysis window will be systematically stored because they correspond to the position of the herringbone pattern vertices on the fabric.
[0085] Note that the analysis window can be moved along a line of operation from pixel to pixel. In this case, for each pixel, the algorithm calculates the correlation coefficient of the two sub-images on either side of the axis of symmetry, which gives a plot of the correlation coefficient as a function of the position along the line of operation. This curve shows local maximums whenever the analysis window is centered on a herringbone pattern axis. The coordinates of the geometric center of the analysis window when these maximums are reached are systematically stored.
[0086] It will also be noted that the set of points of passage N, N′ of the axes of the herringbone patterns form a grid as shown in