This application claims priority to Japanese Patent Application No. 2012-210940, filed Sep. 25, 2012, the content of which is hereby incorporated herein by reference in its entirety.
The present disclosure relates to a sewing machine that is capable of sewing an applique pattern based on sewing data.
A sewing machine is known that is capable of sewing an applique pattern based on sewing data. For example, the sewing machine stores data to be used to form a plurality of types of stitches for applique sewing. A user first sets an applique material on an embroidery frame that is mounted on the sewing machine. Based on first data, the sewing machine forms, on the applique material, stitches that act as markers to cut out a contour of an applique piece. The user sets a base material in the embroidery frame in place of the applique material. Based on second data, the sewing machine forms, on the base material, stitches that form a guide position for positioning the applique piece. Taking the guide position stitches formed on the base material as markers, the user temporarily fixes the applique piece cut out from the applique material to the base material using adhesive. Based on third data, the sewing machine attaches the applique piece onto the base material by sewing. The applique sewing by the sewing machine can be completed in this manner.
In the above-described sewing machine, the third data to be used to sew the applique piece onto the base material is set based on an assumption that the applique piece will be accurately positioned in relation to the guide position stitches. Thus, in a case where the user has not been able to accurately position the applique piece in relation to the guide position stitches, positions of the stitches for attaching the applique piece onto the base material may be misaligned in relation to the contour of the applique piece. Further, once the sewing machine forms the guide position stitches on the base material, it is not possible to change the position and angle at which the applique piece will be arranged in relation to the base material. As a result, the user may need to perform accurate positioning when setting the base material in the embroidery frame as well.
Various embodiments of the broad principles derived herein provide a sewing machine that allows a user to easily set a position and an angle of an applique piece in relation to a base material and sew the applique piece onto the base material in an accurate position.
Various embodiments herein provide a sewing machine that includes an imaging device configured to capture an image, a processor, and a memory. The memory is configured to store sewing data and computer-readable instructions. The sewing data includes at least first stitch data and second stitch data. The first stitch data is data to be used to form first stitches on a first work cloth. The first stitches are stitches that indicate a contour of a pattern. The second stitch data is data to be used to form second stitches. The second stitches are stitches that attach the pattern cut out from the first work cloth along the first stitches onto a second work cloth. The computer-readable instructions, when executed by the processor, cause the processor to perform processes. The processes include causing the imaging device to capture a first image, identifying, based on the first stitch data and on first image data, a position and an angle of a marker in relation to the contour, causing the imaging device to capture a second image, identifying, based on second image data and on the identified position and angle of the marker in relation to the contour, a position and an angle of the contour in relation to the second work cloth, and correcting the second stitch data in accordance with the identified position and angle of the contour in relation to the second work cloth. The first image is an image including the marker affixed inside the first stitches formed on the first work cloth based on the first stitch data. The first image data is image data of the first image. The second image is an image including the marker affixed to the pattern, wherein the pattern has been cut out from the first work cloth along the first stitches in a state in which the marker is affixed and wherein the pattern is temporarily fixed at a desired position and angle on the second work cloth. The second image data is image data of the second image.
Various embodiments also provide a sewing machine that includes an imaging device configured to capture an image, a processor, and a memory. The memory is configured to store sewing data and computer-readable instructions. The sewing data includes at least first stitch data and second stitch data. The first stitch data is data to be used to form first stitches on a first work cloth. The first stitches are stitches that indicate a contour of a pattern. The second stitch data is data to be used to form second stitches. The second stitches are stitches that attach the pattern cut out from the first work cloth along the first stitches onto a second work cloth. The computer-readable instructions, when executed by the processor, cause the processor to perform processes. The processes include causing the imaging device to capture a first image, identifying, based on the first stitch data and on first image data, a position and an angle, in relation to the contour, of at least two feature points on the first work cloth, the at least two feature points being inside the contour, causing the imaging device to capture a second image, identifying, based on second image data and on the identified position and angle of the at least two feature points in relation to the contour, a position and an angle of the contour in relation to the second work cloth, and correcting the second stitch data in accordance with the identified position and angle of the contour in relation to the second work cloth. The first image is an image including the first stitches formed on the first work cloth based on the first stitch data. The first image data is image data of the first image. The second image is an image including the at least two feature points in the pattern, wherein the pattern has been cut out from the first work cloth along the first stitches and wherein the pattern is temporarily fixed at a desired position and angle on the second work cloth. The second image data is image data of the second image.
Various embodiments further provide a sewing machine that includes an imaging device configured to capture an image, a processor, and a memory. The memory is configured to store sewing data and computer-readable instructions. The sewing data includes at least first stitch data and second stitch data. The first stitch data is data to be used to form at least first stitches on a first work cloth. The first stitches are stitches that indicate a contour of a pattern. The second stitch data is data to be used to form second stitches. The second stitches are stitches that attach the pattern cut out from the first work cloth along the first stitches onto a second work cloth. The computer-readable instructions, when executed by the processor, cause the processor to perform processes. The processes include causing the imaging device to capture a pattern image, identifying, in a case where the first stitch data only includes contour data to be used to form the first stitches on the first work cloth, a position and an angle of the contour in relation to the second work cloth based on the first stitch data and on image data of the pattern image, identifying, in a case where the first stitch data includes the contour data and internal pattern data to be used to form third stitches representing another pattern inside the contour, a position and an angle of the contour or the third stitches in relation to the second work cloth, based on the first stitch data and on the image data of the pattern image, and correcting the second stitch data in accordance with the identified position and angle of the contour or the third stitches in relation to the second work cloth. The pattern image is an image including the pattern, wherein the pattern has been cut out from the first work cloth along the first stitches formed on the first work cloth based on the first stitch data and wherein the pattern is temporarily fixed at a desired position and angle to the second work cloth.
Embodiments will be described below in detail with reference to the accompanying drawings in which:
Hereinafter, embodiments will be explained with reference to the drawings. First, a physical configuration of a sewing machine 1 will be explained with reference to
As shown in
A needle plate (not shown in the drawings) that has a needle hole is disposed in a top face of the bed portion 11. A feed dog, a feed mechanism and a shuttle mechanism etc. (all of which are not shown in the drawings) are provided below the needle plate (namely, inside the bed portion 11). During normal sewing, which is not embroidery sewing, the feed dog is driven by the feed mechanism and moves a work cloth by a predetermined feed amount.
The bed potion 11 is configured such that a known frame moving device 33, which is used at a time of embroidery sewing, can be mounted on and detached from the bed portion 11. A box-shaped carriage 35 that is long in the front-rear direction is provided on an upper portion of the frame moving device 33. A frame holder (not shown in the drawings) is provided inside the carriage 35, along with a Y axis moving mechanism (not shown in the drawings) that is configured to move the frame holder in the front-rear direction (the Y axis direction). An embroidery frame 34, which is configured to hold a work cloth 30, can be detachably mounted on the frame holder. The embroidery frame 34 has a known structure in which the work cloth 30 is clamped between an inner frame and an outer frame. The Y axis moving mechanism may be driven by a Y axis motor 83 (refer to
An X axis moving mechanism (not shown in the drawings), which is configured to move the carriage 35 in the left-right direction (the X axis direction), is provided inside a main body of the frame moving device 33. The X axis moving mechanism may be driven by an X axis motor 82 (refer to
A rectangular liquid crystal display (hereinafter referred to as an LCD) 15, which is long in the up-down direction, is provided on a front surface of the pillar 12. The LCD 15 is configured to display an image that includes various items, such as commands, illustrations, setting values and messages. A touch panel 26 is provided on a front surface side of the LCD 15. When a user performs a pressing operation on the touch panel 26 using a finger or a dedicated touch pen, which item is selected can be recognized, corresponding to the pressed position detected by the touch panel 26. Hereinafter, the pressing operation of the touch panel 26 is referred to as a panel operation. Through the panel operation, the user can select a pattern to be sewn and a command to be executed.
A cover 16 that can open and close is provided on an upper portion of the arm portion 13. In
As shown in
During embroidery sewing, the needle bar drive mechanism and the shuttle mechanism are driven as the embroidery frame 34 is moved in the left-right direction (the X axis direction) and in the front-rear direction (the Y axis direction) by the frame moving device 33. In this manner, an embroidery pattern can be sewn on the work cloth 30, which is held by the embroidery frame 34, by the sewing needle 7 attached to the needle bar 6. During normal sewing of utility stitches that are not an embroidery pattern, the sewing is performed while the work cloth 30 is fed by the feed dog in a state in which the frame moving device 33 is removed from the bed portion 11.
An electrical configuration of the sewing machine 1 will be explained with reference to
The CPU 61 is configured to perform main control of the sewing machine 1, and to perform various arithmetic calculations and processing relating to sewing in accordance with various programs stored in the ROM 62. Although not shown in the drawings, the ROM 62 has a plurality of storage areas that include a program storage area and a pattern storage area. Various programs for operating the sewing machine 1 may be stored in the program storage area. The stored programs may include, for example, a program that causes the sewing machine 1 to perform applique sewing processing that will be explained later. Sewing data for sewing various patterns may be stored in the pattern storage area. The various patterns may include, for example, utility stitches, embroidery patterns and applique patterns. The sewing data of the applique pattern (hereinafter referred to as applique data) that is used in the applique sewing processing of the present embodiment will be explained in detail later.
A storage area may be provided as necessary in the RAM 63. The storage area may store calculation results etc. of the arithmetic processing performed by the CPU 61. Various parameters etc. that are used for the sewing machine 1 to perform various processing may be stored in the flash ROM 64. Drive circuits 71 to 74, the touch panel 26, the start/stop switch 32 and the image sensor 50 are connected to the input/output (I/O) interface 66.
The sewing machine motor 81 is connected to the drive circuit 71. The drive circuit 71 may drive the sewing machine motor 81 in accordance with a control signal from the CPU 61. The needle bar up-and-down moving mechanism (not shown in the drawings) may be driven via the drive shaft (not shown in the drawings) of the sewing machine 1 in accordance with the driving of the sewing machine motor 81, and thus the needle bar 6 may be moved up and down. The X axis motor 82 is connected to the drive circuit 72. The Y axis motor 83 is connected to the drive circuit 73. The drive circuits 72 and 73 may respectively drive the X axis motor 82 and the Y axis motor 83 in accordance with a control signal from the CPU 61. The embroidery frame 34 may be moved in the left-right direction (the X axis direction) and in the front-rear direction (the Y axis direction), by a movement amount corresponding to the control signal, in accordance with the driving of the X axis motor 82 and the Y axis motor 83. The drive circuit 74 may drive the LCD 15 in accordance with a control signal from the CPU 61 and thus cause a screen to be displayed on the LCD 15.
Hereinafter, the applique data of the present embodiment will be explained. The applique data is data to be used to perform the applique sewing by the sewing machine 1. In the applique sewing, after a pattern of a selected shape is cut out from a first work cloth along a contour, the pattern is sewn onto a second work cloth that is different from the first work cloth. The applique data includes at least contour data and sewing-on data. The contour data is data to be used to form stitches that indicate a contour of a pattern (hereinafter referred to as contour stitches) on the first work cloth. The sewing-on data is data to be used to form stitches that attach, onto the second work cloth, the pattern cut out from the first work cloth along the contour stitches, namely along the contour of the pattern. Hereinafter, the pattern to be cut out along the contour is referred to as a cut out pattern.
The contour data and the sewing-on data each indicate at least positions of needle drop points and a sequence of the needle drop points. The needle drop point is a point at which the sewing needle 7 (refer to
In the embroidery coordinate system, the left-right direction of the sewing machine 1 is the X axis direction and the direction from the left to the right is the X axis plus direction. The front-rear direction of the sewing machine 1 is the Y axis direction, and the direction from the front to the rear is the Y axis plus direction. In the present embodiment, an initial position of the embroidery frame 34 is set to an origin point of the embroidery coordinate system. The initial position of the embroidery frame 34 is a position where the needle drop point coincides with a center point of a sewing area that is set automatically by the CPU 61 in accordance with the type of the embroidery frame 34. Then, the coordinate data of the needle drop points included in each of the contour data and the sewing-on data defines an initial layout of the applique pattern. The initial layout of the applique pattern is set such that a center point of the applique pattern coincides with the origin point of the embroidery coordinate system, namely with the center point of the sewing area.
In addition to the contour data and the sewing-on data, the applique data may also include at least one of internal pattern data and additional pattern data. The internal pattern data is data to be used to sew another pattern by embroidery inside the contour, before the contour stitches are sewn on the first work cloth. The additional pattern data is data to be used to sew yet another pattern by embroidery on the second work cloth, after the cut out pattern is sewn onto the second work cloth. Hereinafter, another pattern to be sewn inside the contour is referred to as an internal pattern. Another pattern to be sewn on the second work cloth after the cut out pattern is sewn onto the second work cloth is referred to as an additional pattern. Similarly to the contour data and the sewing-on data, each of the internal pattern data and the additional pattern data also includes at least data representing positions of needle drop points and a sequence of the needle drop points. Each of the contour data, the sewing-on data, the internal pattern data and the additional pattern data may further include data indicating a color of an embroidery thread (needle thread).
The applique data will be explained in more detail while taking as examples applique patterns 200 and 250 that are respectively shown in
The applique pattern 200 shown in
The applique data for the applique pattern 200 includes the following type of internal pattern data, contour data, sewing-on data and additional pattern data. First, the internal pattern data is data to be used to sew the pattern 213 on the first work cloth using satin stitches, for example. The contour data is data to be used to form the contour stitches in the first work cloth along the contour 212 of the pattern 211 using running stitches, for example. The sewing-on data is data to be used to sew the pattern 211 that has been cut out along the contour stitches onto the second work cloth along the contour 212, using zigzag stitches, for example. The sewing-on data may be, at the very least, data that enables the sewing machine 1 to form stitches that attaches the pattern 211 onto the second work cloth. The sewing-on data may further include, for example, data of satin stitches that cover the zigzag stitches. The additional pattern data is data to be used to sew the pattern 220 using satin stitches, for example, on top of the pattern 210 that is sewn on the second work cloth.
All of the coordinate data in these pieces of data are set such that a center point 202 of the applique pattern 200 (more specifically, of a minimum rectangle 201 that encloses the applique pattern 200) coincides with the origin point of the embroidery coordinate system.
The applique pattern 250 shown in
The applique sewing processing according to the present embodiment will be explained with reference to
As shown in
The CPU 61 acquires the applique data of the selected pattern from the ROM 62 and stores the applique data in the RAM 63 (step S102). At this time, the CPU 61 causes a screen 300 (refer to
The selected pattern section 301 corresponds to a sewing area that has been set in correspondence to the embroidery frame 34 mounted on the frame moving device 33. The left-right direction and the up-down direction of the selected pattern section 301 respectively indicate the X axis direction and the Y axis direction of the embroidery coordinate system. Thus, the sewing result of the selected pattern is displayed such that the center point of the sewing result (the center point 202 of the applique pattern 200 in the example shown in
After that, when the user presses the start/stop switch 32 (refer to
On the other hand, in a case where the internal pattern is not included in the selected pattern, as in the case of the applique pattern 250 shown in
When the forming of the contour stitches is complete, the CPU 61 causes a screen (not shown in the drawings) to be displayed on the LCD 15 (step S112), the screen including a message that instructs the user to affix a marker 110 such as that exemplified in
The marker 110 will be explained with reference to
The first circle 101 is drawn such that the first center point 111 is the center point of the square shaped sheet 108. The second circle 102 is in contact with the first circle 101 and is drawn in a position such that a virtual line (not shown in the drawings) that passes through the first center point 111 and the second center point 112 is parallel to a side of the sheet 108. The diameter of the second circle 102 is smaller than the diameter of the first circle 101. The line segment 103 and the line segment 104 are line segments that overlap with the virtual line (not shown in the drawings) that passes through the first center point 111 and the second center point 112 and that extend, respectively, from the first circle 101 and the second circle 102 to the outer edge of the sheet 108. The line segment 105 and the line segment 106 are line segments that overlap with a virtual line (not shown in the drawings) that passes through the first center point 111 of the first circle 101 and that is perpendicular to the line segment 103. The line segment 105 and the line segment 106 extend, respectively, from the outer edge of the first circle 101 to the outer edge of the sheet 108.
The user affixes the marker 110 on the inside of the contour stitches on the first work cloth in accordance with the instructions. After that, the user selects, by a panel operation, an OK button that is displayed on the screen on the LCD 15 along with the above-described message. When the OK button is selected, as shown in
At step S115, as shown in
As shown in
In a case where the CPU 61 can recognize the marker 110 (yes at step S121), the CPU 61 identifies the position and the angle of the marker 110 in relation to the contour stitches, based on the contour data acquired at step S102 and the latest image data acquired at step S115 (step S125). Hereinafter, “the position and the angle” will simply be referred to as a “layout.” The image capture range of the image sensor 50 is fixed and therefore, a relationship is fixed between a position of a point in the captured image when the embroidery frame 34 is in the initial position and coordinates of the position in the embroidery coordinate system. Accordingly, for example, the CPU 61 can identify the coordinates, in the embroidery coordinate system, of the first center point 111 and the second center point 112 of the marker 110 that is recognized at step S121. The CPU 61 then identifies the layout of the marker 110 in relation to the contour stitches by associating the coordinates of the first center point 111 and the second center point 112 with the coordinate data of the contour stitches.
The CPU 61 causes a screen (not shown in the drawings) to be displayed on the LCD 15, the screen including a message instructing the user to remove the first work cloth from the embroidery frame 34, to cut out the cut out pattern from the first work cloth along the contour stitches and to set the second work cloth in the embroidery frame 34 (step S127). In accordance with the instructions, the user cuts out the cut out pattern and sets the second work cloth in the embroidery frame 34. After that, the user selects, by a panel operation, an OK button that is displayed along with the above-described message on the screen of the LCD 15.
When the OK button is selected, the CPU 61 causes a screen (not shown in the drawings) to be displayed on the LCD 15, the screen including a message instructing the user to temporarily fix the cut out pattern in a desired position on the second work cloth that is held by the embroidery frame 34 (step S128). In accordance with the instructions, the user temporarily fixes the cut out pattern using adhesive, for example, to the second work cloth. The user then selects, by a panel operation, an OK button that is displayed along with the above-described message on the screen of the LCD 15.
When the OK button is selected, the CPU 61 controls the image sensor 50 in a state in which the embroidery frame 34 is in the initial position and causes the image sensor 50 to perform image capture. The CPU 61 acquires the latest image data output from the image sensor 50 (step S131 shown in
In a case where the CPU 61 cannot recognize the marker 110 in the captured image (no at step S132), similarly to the above-described processing at step S122, the CPU 61 causes a screen to be displayed on the LCD 15, the screen notifying an error occurrence (step S133). The CPU 61 then returns the processing to step S131. In a case where the CPU 61 can recognize the marker 110 (yes at step S132), the CPU 61 identifies the layout of the contour of the cut out pattern in relation to the second work cloth, based on the contour data acquired at step S102 and on the layout of the marker 110 in relation to the contour stitches identified at the above-described step S125 (step S136). First, from the positions in the captured image of the first center point 111 and the second center point 112 of the marker 110 recognized at step S132, the CPU 61 identifies the coordinates of the first center point 111 and the second center point 112. The CPU 61 identifies the layout of the contour of the cut out pattern in relation to the second work cloth by converting the coordinates of the needle drop points represented by the contour data, based on the layout of the marker 110 in relation to the contour stitches identified at step S125.
In addition, the CPU 61 corrects the sewing-on data based on the layout of the contour of the cut out pattern in relation to the second work cloth (step S141). More specifically, the CPU 61 corrects the sewing-on data by converting the coordinate data of the needle drop points included in the sewing-on data acquired at the above-described step S102 in accordance with a conversion relationship of the needle drop points of the contour stitches identified at step S136.
The CPU 61 determines whether or not the additional pattern is included in the selected pattern (step S143). In a case where the additional pattern is included (yes at step S143), the CPU 61 corrects the additional pattern data acquired at step S102 (step S145). The method of correcting the additional pattern data is the same as the above-described method used to correct the sewing-on data at step S141. The CPU 61 advances the processing to step S147. In a case where the additional pattern is not included in the selected pattern (no at step S143), the CPU 61 directly advances the processing to step S147.
The CPU 61 causes a screen (not shown in the drawings) to be displayed on the LCD 15. The screen includes a message instructing the user to remove the marker 110 from the second work cloth (step S147), so that the sewing needle 7 will not pierce the marker 110 when sewing on the cut out pattern and sewing the additional pattern.
After the user has removed the marker 110 from the second work cloth in accordance with the instructions, the user inputs the command to start sewing by depressing the start/stop switch 32. When the instruction to start the sewing is input, the CPU 61 controls the sewing machine motor 81, the X axis motor 82 and the Y axis motor 83 in accordance with the sewing-on data corrected at step S141, and performs processing to sew the cut out pattern onto the second work cloth (step S150). In the example of the applique pattern 200, after the pattern 211 has been sewn onto the second work cloth using zigzag stitches along the contour 212 of the pattern 211, satin stitches are formed to cover the zigzag stitches.
In addition, in a case where the additional pattern is included in the selected pattern (yes at step S151), the CPU 61 controls the sewing machine motor 81, the X axis motor 82 and the Y axis motor 83 in accordance with the additional pattern data corrected at step S145, and performs processing to sew the additional pattern (step S152). In the example of the applique pattern 200 shown in
As explained above, the sewing machine 1 of the present embodiment identifies the position of the marker 110 in the captured image including the marker 110 that is affixed to the first work cloth held by the embroidery frame 34. The sewing machine 1 also identifies the position of the marker 110 in the captured image of the cut out pattern that has been cut out from the first work cloth in a state in which the marker 110 is affixed and that is temporarily fixed onto the second work cloth. The sewing machine 1 can identify the position and the angle of the contour of the cut out pattern that is temporarily fixed to the second work cloth based on the identified positions of the marker 110. Based on the identified position and angle of the contour of the pattern in relation to the second work cloth, the sewing machine 1 can correct the sewing-on data to be used to form the stitches to sew the cut out pattern onto the second work cloth. As a result, even when the user temporarily fixes the cut out pattern cut out from the first work cloth onto the second work cloth at a desired position and angle, the sewing machine 1 can accurately sew the cut out pattern onto the second work cloth.
Further, with the sewing machine 1, it is not necessary to form guide stitches in the second work cloth that indicate the position and angle at which the cut out pattern should be temporarily fixed, which is necessary in known methods. In known methods, when the guide stitches are once formed in the second work cloth, after that, it is not possible to change the position and angle at which the cut out pattern is arranged in relation to the second work cloth. Therefore, in known methods, it is necessary for the user to perform accurate positioning when setting the second work cloth in the embroidery frame 34. On the other hand, according to the applique sewing processing of the present embodiment, after setting the second work cloth in the embroidery frame 34, the user can temporarily fix the cut out pattern easily at a desired position and angle, considering the pattern etc. of the second work cloth.
Further, in a case where there is the additional pattern to be sewn on the second work cloth after the cut out pattern is sewn onto the second work cloth, the additional pattern data to be used to sew the additional pattern can also be corrected, based on the position and angle of the contour of the cut out pattern in relation to the second work cloth. Thus, even when the user temporarily fixes the cut out pattern cut out from the first work cloth onto the second work cloth at a desired position and angle, it is possible to sew the additional pattern in an accurate position in relation to the cut out pattern.
The above-described embodiment explains an example in which the layout of the contour of the cut out pattern in relation to the second work cloth is identified using the marker 110. However, other methods, which will be explained below, may be used to identify the layout of the contour of the cut out pattern in relation to the second work cloth.
Another embodiment will be explained with reference to
As shown in
More specifically, the CPU 61 first extracts the at least two feature points that are inside the contour stitches in the captured image, based on the acquired image data. The extraction of the feature points may be performed using any known image recognition method. In a case where the applique pattern 200 shown in
Next, in accordance with instructions displayed on the LCD 15, the user cuts out the cut out pattern from the first work cloth and sets the second work cloth in the embroidery frame 34. After the cut out pattern is temporarily fixed onto the second work cloth by the user, the CPU 61 acquires the latest image data (step S127 to step S131). The CPU 61 identifies the layout of the contour of the cut out pattern in relation to the second work cloth (step S134) based on the acquired image data and on the layout of the feature points in relation to the contour stitches identified at step S124.
Based on the acquired image data, the CPU 61 first extracts at least two feature points from the captured image, using the same method as that used at step S124, and identifies the coordinates of the feature points. For example, in a case where the eight corners of the points P1 to P8 are extracted at step S124, at step S134 the CPU 61 also extracts eight corners corresponding to the points P1 to P8. Then, based on the layout of the at least two features points in relation to the contour stitches that has been identified at step S124, the CPU 61 identifies the layout of the contour of the cut out pattern in relation to the second work cloth by converting the coordinates of the needle drop points indicated by the contour data.
After that, the CPU 61 corrects the sewing-on data (step S141) based on the layout of the contour of the cut out pattern in relation to the second work cloth that has been identified at step S134. In a case where there is the additional pattern, the CPU 61 also corrects the additional pattern data (step S143 to step S145). Following that, the CPU 61 sews the cut out pattern onto the second work cloth in accordance with the corrected sewing-on data (step S150). In a case where there is the additional pattern, the CPU 61 sews the additional pattern in accordance with the corrected additional pattern data (step S151 to step S152) and ends the applique sewing processing. The content of the processing from step S141 to step S152 is the same as that of the previously described embodiment.
As described above, the sewing machine 1 of the present embodiment extracts the at least two feature points that are inside the contour stitches from the captured image of the inside of the contour stitches formed in the first work cloth held by the embroidery frame 34. The sewing machine 1 also extracts the at least two feature points from the captured image of the cut out pattern that has been cut out from the first work cloth and that is temporarily fixed onto the second work cloth. Based on the positions of the extracted feature points, the sewing machine 1 can identify the position and angle of the contour of the cut out pattern that is temporarily fixed to the second work cloth. Based on the identified position and angle of the contour of the cut out pattern in relation to the second work cloth, the sewing machine 1 can correct the sewing-on data to be used to form the stitches to sew the cut out pattern onto the second work cloth. As a result, even when the user temporarily fixes the cut out pattern that is cut out from the first work cloth onto the second work cloth at a desired position and angle, it is possible to accurately sew the cut out pattern onto the second work cloth. Therefore, with the sewing machine 1, it is not necessary to form the guide stitches in the second work cloth that indicate the position and angle at which the cut out pattern should be temporarily fixed.
Yet another embodiment will be explained with reference to
As shown in
More specifically, at step S135, the CPU 61 identifies the contour of the cut out pattern or identifies the internal pattern, depending on whether or not the applique data acquired at step S102 includes the internal pattern data. In a case where the applique data does not include the internal pattern data, the CPU 61 identifies the layout of the contour of the cut out pattern in relation to the second work cloth based on the contour data. Based on the coordinate data included in the contour data, the CPU 61 first identifies the contour of the cut out pattern. The CPU 61 then extracts feature points in the captured image represented by the acquired image data, and identifies the contour of the cut out pattern in the captured image by performing pattern matching with the contour of the cut out pattern. The extraction of the feature points may be performed using any known image recognition method. The CPU 61 identifies coordinates, in the embroidery coordinate system, of needle drop points on the contour identified in the captured image. The layout of the contour of the cut out pattern in relation to the second work cloth is identified in this manner.
In a case where the internal pattern data is included in the applique data, the CPU 61 may identify the layout of the contour of the cut out pattern in relation to the second work cloth based on the contour data, as described above, or may identify the layout of the internal pattern in relation to the second work cloth based on the internal pattern data, as described below. Based on coordinate data of needle drop points included in the internal pattern data, the CPU 61 first identifies a shape of the internal pattern. The CPU 61 extracts feature points in the captured image represented by the acquired image data, and identifies the internal pattern in the captured image by performing pattern matching with the shape of the internal pattern. The extraction of the feature points may be performed using any known image recognition method. By identifying coordinates, in the embroidery coordinate system, of the needle drop points of the internal pattern identified in the captured image, the CPU 61 identifies the layout of the internal pattern in relation to the second work cloth.
After that, the CPU 61 corrects the sewing-on data (step S141) based on the layout of the contour of the cut out pattern in relation to the second work cloth or on the layout of the internal pattern in relation to the second work cloth that has been identified at step S135. In a case where there is the additional pattern, the CPU 61 also corrects the additional pattern data (step S143 to step S145). Following that, the CPU 61 sews the cut out pattern onto the second work cloth in accordance with the corrected sewing-on data (step S150). In a case where there is the additional pattern, the CPU 61 sews the additional pattern in accordance with the corrected additional pattern data (step S151 to step S152) and ends the applique sewing processing. The content of the processing from step S141 to step S152 is the same as that of the previously described embodiment.
A cut out line may be slightly displaced from the contour stitches when the user actually cuts out the cut out pattern from the first work cloth. In the present embodiment, the contour of the cut out pattern that is identified by the feature points extracted at step S135 using image recognition processing corresponds to an actual cut out line. Thus, based on data representing the identified actual cut out line and on the contour data, the CPU 61 may correct the contour data depending on an amount of displacement occurring when the cut out pattern is cut out. In a case where the additional pattern data is included in the applique data, the additional pattern data may also be similarly corrected.
As described above, based on the contour data and on the captured image of the cut out pattern that is cut out from the first work cloth and that is temporarily fixed onto the second work cloth, the sewing machine 1 of the present embodiment can identify the position and angle of the contour of the cut out pattern that is temporarily fixed to the second work cloth. Based on the identified position and angle of the contour of the cut out pattern in relation to the second work cloth, the sewing machine 1 can correct the sewing-on data to be used to form stitches to sew the cut out pattern onto the second work cloth. Thus, even when the user temporarily fixes the cut out pattern that is cut out from the first work cloth onto the second work cloth at a desired position and angle, the sewing machine 1 can accurately sew the cut out pattern onto the second work cloth. As a result, it is not necessary for the sewing machine 1 to form the guide stitches in the second work cloth that indicate the position and angle at which the cut out pattern should be temporarily fixed.
The present disclosure is not limited to the above-described embodiments, and various other modifications are possible. For example, in addition to the sewing machine 1 that has the single needle bar 6, a multi-needle sewing machine that has a plurality of needle bars may be used as the sewing machine that performs the applique sewing processing.
In the above-described embodiments, the example is given in which the sewing data for the applique patterns are stored in the ROM 62. However, the sewing data may be stored in another storage device, such as the flash ROM 64, of the sewing machine 1. Further, in a case where the sewing machine 1 is configured to be connectable to a medium such as a memory card, the sewing machine 1 may acquire sewing data that is stored in the medium, and may store the acquired sewing data in a storage device, such as the flash ROM 64, of the sewing machine 1. In a case where the sewing machine 1 is configured to be connectable to an external device, via a wired connection or a wireless connection, the sewing machine 1 may acquire sewing data that is stored in the external device and may store the acquired sewing data in the storage device.
A type and a position of the image sensor 50 may be changed as appropriate. For example, the image sensor 50 may be a device that is capable of capturing an image and outputting image data thereof, such as a CCD camera. Further, in a case where the image capture range of the image sensor 50 is smaller than the sewing area of the embroidery frame 34, the whole sewing area may be divided into a plurality of blocks and processing to recognize the marker 110 or the cut out pattern may be performed while causing the embroidery frame 34 to move, in sequence, to a position corresponding to each of the blocks.
The apparatus and methods described above with reference to the various embodiments are merely examples. It goes without saying that they are not confined to the depicted embodiments. While various features have been described in conjunction with the examples outlined above, various alternatives, modifications, variations, and/or improvements of those features and/or examples may be possible. Accordingly, the examples, as set forth above, are intended to be illustrative. Various changes may be made without departing from the broad spirit and scope of the underlying principles.
Number | Date | Country | Kind |
---|---|---|---|
2012-210940 | Sep 2012 | JP | national |