This application claims priority to Japanese Patent Application No. 2009-240060, filed Oct. 19, 2009, the content of which is hereby incorporated herein by reference in its entirety.
The present disclosure relates to an embroidery data processing device, a computer-readable storage medium that stores an embroidery data processing program, and a sewing machine, the embroidery data processing program being capable of creating embroidery data for sewing a user's desired embroidery pattern.
A technology is known that causes a sewing machine to sew a user's desired embroidery pattern. In a case where the sewing machine is made to sew the embroidery pattern, the user's desired embroidery pattern must fit into a sewing area where the embroidery pattern is sewn. For example, an embroidery sewing machine exists that detects the sewing area by optically detecting a marker that is affixed to a work cloth. The embroidery sewing machine enlarges, reduces, or changes the shape of an embroidery pattern that has been selected by a user, such that the embroidery pattern conforms to the detected sewing area.
When the embroidery pattern has been processed such that it conforms to the detected sewing area and the sewing is performed, the embroidery pattern that is sewn may become a different embroidery pattern from what the user desired. Accordingly, it may be desirable for the sewing to be performed without the embroidery pattern having been processed. However, it may be cumbersome and difficult for the user to determine personally whether the embroidery pattern conforms to the detected sewing area.
Various exemplary embodiments of the general principles herein provide an embroidery data processing device, a computer-readable storage medium that stores an embroidery data processing program, and a sewing machine that can extract an embroidery pattern that is suitable for the sewing area and present the embroidery pattern to the user.
Exemplary embodiments provide an embroidery data processing device that processes embroidery data for sewing an embroidery pattern on a work cloth in a sewing machine that is capable of performing embroidery sewing. The embroidery data processing device includes an area defining portion, a computation portion, a comparison portion, an extraction portion, and a notification portion. The area defining portion defines a sewable area that is an area on the work cloth where the embroidery pattern can be sewn. The computation portion computes a first characteristic quantity that is a quantity that specifies a size of the sewable area defined by the area defining portion. The comparison portion compares the first characteristic quantity computed by the computation portion to at least one characteristic quantity for at least one embroidery pattern that can be sewn based on the embroidery data, the at least one characteristic quantity being stored in a storage portion that stores data and specifying a size of the at least one embroidery pattern. The extraction portion, in a case where a comparison by the comparison portion indicates that at least one sewable pattern exists, extracts the at least one sewable pattern, the at least one sewable pattern being at least one embroidery pattern that fits within the sewable area. The notification portion notifies a user about the at least one sewable pattern extracted by the extraction portion.
Exemplary embodiments further provide a computer-readable medium storing an embroidery data processing program for processing embroidery data for sewing an embroidery pattern on a work cloth in a sewing machine that is capable of performing embroidery sewing. The embroidery data processing program includes instructions that cause a computer to perform the steps of defining a sewable area that is an area on the work cloth where the embroidery pattern can be sewn, computing a first characteristic quantity that is a quantity that specifies a size of the sewable area that has been defined, comparing the first characteristic quantity that has been computed to at least one characteristic quantity for at least one embroidery pattern that can be sewn based on the embroidery data, the at least one characteristic quantity being stored in a strage portion that stores data and specifying a size of the at least one embroidery pattern, extracting at least one sewable pattern that is at least one embroidery pattern that fits within the sewable area, in a case where a comparison indicates that the at least one sewable pattern exists, and notifying a user about the at least one sewable pattern that has been extracted.
Exemplary embodiments further provide a sewing machine that is capable of processing embroidery data for sewing an embroidery pattern on a work cloth and performing embroidery sewing. The sewing machine includes an area defining portion, a computation portion, a comparison portion, an extraction portion, a notification portion, an image capture portion, a pattern setting portion, and a sewing portion. The area defining portion defines a sewable area that is an area on the work cloth where the embroidery pattern can be sewn. The computation portion computes a first characteristic quantity that is a quantity that specifies a size of the sewable area defined by the area defining portion. The comparison portion compares the first characteristic quantity computed by the computation portion to at least one characteristic quantity for at least one embroidery pattern that can be sewn based on the embroidery data, the at least one characteristic quantity being stored in a storage portion that stores data and specifying a size of the at least one embroidery pattern. The extraction portion, in a case where a comparison by the comparison portion indicates that at least one sewable pattern exists, extracts the at least one sewable pattern, the at least one sewable pattern being at least one embroidery pattern that fits within the sewable area. The notification portion notifies a user about the at least one sewable pattern extracted by the extraction portion. The image capture portion captures an image of the work cloth. The pattern setting portion takes one of the at least one sewable pattern about which the notification portion has notified the user, and that the user has selected, and sets the selected sewable pattern as the embroidery pattern that will be sewn on the work cloth. The sewing portion that sews, within the sewable area on the work cloth of which the image has been captured by the image capture portion, the embroidery pattern set by the pattern setting portion.
Exemplary embodiments will be described below in detail with reference to the accompanying drawings in which:
Hereinafter, an embodiment according to the present disclosure will be explained with reference to the drawings. Note that the referenced drawings are used to explain technological features that can be used in the present disclosure. Device configurations, flowcharts of various types of processing, and the like that are shown in the drawings are merely explanatory examples and do not have the effect of limiting the present disclosure only to those examples.
A physical configuration of a sewing machine 1 will be explained with reference to
An embroidery frame moving unit 14 is attached to the bed 2. An embroidery frame 12 is attached to the embroidery frame moving unit 14. The embroidery frame 12 holds a work cloth 13 and is moved by the embroidery frame moving unit 14 in an X axis direction (the left-right direction of the sewing machine 1) and a Y axis direction (the front-rear direction of the sewing machine 1). The sewing machine 1 performs sewing of an embroidery pattern by operating the needle bar 7 and the like while the work cloth 13 that is held by the embroidery frame 12 is moved by the embroidery frame moving unit 14. The operations of the embroidery frame moving unit 14, the needle bar 7 and the like are controlled by a CPU 61 (refer to
The pillar 3 is provided with a liquid crystal display 10 on its front face. The liquid crystal display 10 is provided with a touch panel 16 on its surface. The liquid crystal display 10 is a display that is capable of displaying in color, and it displays an embroidery pattern, an input key, and the like. A user inputs one of a desired embroidery pattern and an operating command to the sewing machine 1 by touching a portion of the touch panel 16 that corresponds to the position where the one of the embroidery pattern and the input key is respectively displayed on the liquid crystal display 10. An image that is captured by an image sensor 50 that will be described later is displayed on the liquid crystal display 10. By operating the touch panel 16 using one of a finger and a touch pen (not shown in the drawings), the user can designate an area where the embroidery pattern will be sewn. A card slot 17 (refer to
The arm 4, in its interior, houses a thread spool (not shown in the drawings) and the like that are used in sewing. A front face cover 19 is provided on the front faces of the arm 4 and the head 5. A plurality of operation switches, such as a sewing start-and-stop switch 21, a reverse stitch switch 22, and the like, are provided on the front face cover 19. The sewing start-and-stop switch 21 is a switch for accepting commands to start and stop the sewing. The reverse stitch switch 22 is a switch for using a feed dog (not shown in the drawings) to feed the work cloth 13 from the rear toward the front, which is the opposite of the normal feed direction. A speed controller 23 that adjusts the sewing speed (the revolution speed of the drive shaft) is provided on the front face cover 19. The image sensor 50 (refer to
The image sensor 50 may be, for example, a known CMOS image sensor. The image sensor 50 is mounted such that it faces downward and is capable of capturing an image of an area around a needle drop point through which passes a stitching needle (not shown in the drawings) that is mounted in the needle bar 7. The image sensor 50 may also be one of a CCD camera and another image capture element.
The main electrical configuration of the sewing machine 1 will be explained with reference to
The CPU 61 performs various types of computations and processing in accordance with a control program and performs control of the sewing machine 1. The ROM 62 is a read-only storage element and stores the control program and the like. The RAM 63 is a freely readable and writable storage element. The RAM 63 temporarily stores various types of data, such as data for an image that has been captured by the image sensor 50, a characteristic quantity for an embroidery pattern, which will be described later, and the like. the EEPROM 64 is a non-volatile memory. The EEPROM 64 stores various types of data, including image data for messages, operation keys, and the like that are displayed on the liquid crystal display 10. The external access RAM 68 stores various types of data, such as embroidery data and the like, that are read from the memory card 70 that is connected to the card slot 17. In the present embodiment, the memory card 70 that is connected to the external access RAM 68 is provided with a data table storage area 71. The data table storage area 71 stores a data table that includes various types of data that are related to a plurality of embroidery patterns. The data table will be described later.
The sewing start-and-stop switch 21, the reverse stitch switch 22, the speed controller 23, the touch panel 16, the image sensor 50, and the like are connected to the input interface 65. Drive circuits 73 to 77 are electrically connected to the output interface 66. The drive circuit 73 drives a feed adjustment pulse motor 78. The feed adjustment pulse motor 78 is a motor that adjusts an amount by which the work cloth 13 is fed by the feed dog (not shown in the drawings). The drive circuit 74 drives a sewing machine motor 79. The sewing machine motor 79 rotates the drive shaft. The drive circuit 75 drives an X axis motor 80. The drive circuit 76 drives a Y axis motor 81. The X axis motor 80 and the Y axis motor 81 are built into the embroidery frame moving unit 14. The X axis motor 80 moves the embroidery frame 12 in the X axis direction (the left-right direction). The Y axis motor 81 moves the embroidery frame 12 in the Y axis direction (the front-rear direction). The drive circuit 77 drives the liquid crystal display 10.
The data table that is stored in the memory card 70 will be explained with reference to
The control ID is an ID that is assigned to the embroidery data for an embroidery pattern in order to control the data that are related to the embroidery pattern. The file name is a name that is assigned to a data file for the embroidery pattern. The width is the width of the smallest rectangle into which the entire embroidery pattern fits, and the height is the height of that smallest rectangle. Therefore, if a rectangular area is larger than the rectangle whose width and height are stored in the data table, the embroidery pattern can be sewn in that area. The thread color list is a list of colors of threads that are to be used in the sewing of the embroidery pattern. The classification indicates a classification to which the embroidery pattern belongs. In the example that is shown in
The data for the width and the height are used in a case where an embroidery pattern that will fit into a sewable area is extracted, and in a case where extracted embroidery patterns are sorted in the order in which they will be displayed. The data for the thread color list and the classification are used in a case where embroidery patterns are sorted into the order in which they will be displayed, in a case where the embroidery patterns in a designated classification are extracted, and the like.
The sewing machine 1 can also extract the embroidery patterns that will fit into the sewable area and can display only the extracted embroidery patterns on the liquid crystal display 10. The user can therefore easily and accurately perceive the embroidery patterns that will fit into the sewable area. The user may select a desired embroidery pattern from among the extracted embroidery patterns. The sewing machine 1 can sew the selected embroidery pattern in an appropriate position on the work cloth 13. This processing will hereinafter be explained in detail.
Main processing that the sewing machine 1 performs will be explained with reference to
In the present embodiment, the user, before starting the main processing, attaches the work cloth 13 on which the embroidery pattern will be sewn to the embroidery frame 12, then attaches the embroidery frame 12 to the embroidery frame moving unit 14 (refer to
In the present embodiment, the user can allocate one allocated area, or two allocated areas on the work cloth 13. In a case where the user has allocated one allocated area, the sewing machine 1 treats the allocated area as the sewable area, which is the area where the embroidery pattern can be sewn. The user can also allocate a separate area within the one allocated area. In that case, the sewing machine 1 treats the larger area as the sewable area. The sewing machine 1 also treats the smaller area within the sewable area as a minimum sewing area. The minimum sewing area is an area that specifies the minimum size of the embroidery pattern that will be sewn.
In the present embodiment, the user can designate in advance a classification of the embroidery patterns that the user wants to sew. If the user designates a classification, the sewing machine 1 is capable of extracting only the embroidery patterns that belong to the designated classification and notifying the user. After going through the procedures that are described above, (the attaching the work cloth 13, the allocating of the allocated area, and, if necessary, the designating of the classification), the user starts the main processing.
As shown in
A determination is made as to whether two allocated areas have been recognized (Step S5). In a case where one allocated area has been recognized (NO at Step S5), first extraction processing (Step S6) and first sewing processing (Step S7) are performed, and the main processing is terminated. In a case where a separate allocated area is recognized within the already recognized one allocated area, that is, in a case where a total of two allocated areas are recognized (YES at Step S5), second extraction processing (Step S8) and second sewing processing (Step S9) are performed, and the main processing is terminated.
The first extraction processing will be explained with reference to
As shown in
As shown in
A determination is made as to whether the user has designated a desired classification for the embroidery pattern (Step S15). As explained previously, the user can designate in advance the classification of the embroidery patterns that the user wants to sew. If the classification has not been designated (NO at Step S15), the processing proceeds to Step S17. If the classification has been designated (YES at Step S15), only the embroidery patterns that belong to the designated classification are extracted from the embroidery patterns that have already been extracted as the embroidery patterns that fit within the sewable area R1 (Step S16). Next, sorting processing is performed that sorts the extracted embroidery patterns into a specified order (Step S17).
As shown in
As shown in
The second extraction processing and the second sewing processing will be explained with reference to
The characteristic quantities A for each of the embroidery patterns that are stored in the data table (refer to
As shown in
Specific examples of the extracting of the embroidery pattern by the first extraction processing and the second extraction processing will be explained. First, an example will be explained of a case in which the user has allocated one allocated area and has not designated a classification. When the user has allocated the one allocated area and the main processing (refer to
Next, an example will be explained of a case in which the user has started the main processing after allocating two allocated areas and designating “animal” as the classification. In the main processing (refer to
As explained previously, the sewing machine 1 according to the present embodiment defines the sewable area R1, which is the area within which the embroidery pattern can be sewn. the sewing machine 1 can extract the embroidery patterns that fit into the sewable area R1 and notify the user. The user can therefore easily and accurately recognize what embroidery patterns can be sewn in the sewable area R1 without being processed. If the user allocates two allocated areas, the sewing machine 1 defines the smaller of the allocated areas as the minimum sewing area R2. The sewing machine 1 does not extract the embroidery patterns for which the characteristic quantities are smaller than those for the minimum sewing area R2. The user can therefore easily cause the sewing machine 1 to extract the embroidery patterns of the desired size. The user can also adjust the position of the embroidery pattern within the sewable area R1 and within the range in which the embroidery pattern is superimposed on the minimum sewing area R2. In other words, fine adjustment of the position of the embroidery pattern can be performed easily by using the position of the minimum sewing area R2 as a reference.
The sewing machine 1 can sort the extracted embroidery patterns in a specified order and display them on the liquid crystal display 10. This makes it possible for the user to recognize the extracted embroidery patterns accurately in accordance with the specified order. The sewing machine 1 computes, as the characteristic quantities for the sewable area R1, the width and the height of the largest rectangle that fits within the sewable area R1. This makes it possible to easily extract the embroidery patterns that fit within the sewable area R1, regardless of the shape of the sewable area R1.
Based on the image data of the work cloth 13 that have been captured by the image sensor 50, the sewing machine 1 recognizes the allocated areas that have been allocated on the work cloth 13. The sewing machine 1 can define the recognized allocated areas as the sewable area R1 and the minimum sewing area R2. This makes it possible for the user to cause the sewing machine 1 to define the sewable area R1 and the minimum sewing area R2 of the desired sizes and in the desired positions on the work cloth 13, by allocating the allocated areas on the work cloth 13 and causing the image sensor 50 to capture an image of the work cloth 13. The sewing machine 1 can accurately sew the embroidery pattern that the user has selected in an appropriate position within the sewable area R1 on the work cloth 13 for which the image sensor 50 has captured the image. This makes it possible for the user to cause the desired embroidery pattern that fits within the sewable area R1 to be sewn in an appropriate position, simply by selecting the desired embroidery pattern from among the embroidery patterns that have been extracted and displayed. There is also no need for the user to perform cumbersome processing, such as resetting the position on the work cloth 13 after the embroidery pattern has been selected, and the like.
The present disclosure is not limited to the embodiment that is described above, and various types of modifications can obviously be made. Modified examples of the embodiment that is described above will hereinafter be explained.
A first modified example of the embodiment that is described above will be explained with reference to
As shown in
When a command is input by the user that indicates that the defining of the areas has been completed (YES at Step S74), a determination is made as to whether two areas have been defined (Step S75). If only one area has been defined (NO at Step S75), the one area that the user has defined is defined as the sewable area R1, and the subsequent processing is performed (Steps S6, S7). If two areas have been defined (YES at Step S75), the larger area is defined as the sewable area R1, the smaller area is defined as the minimum sewing area R2, and the subsequent processing is performed (Steps S8, S9).
As explained above, according to the sewing machine 1 according to the first modified example, the user is able to define the sewable area R1 and the minimum sewing area R2 of the appropriate sizes and in the appropriate positions on the work cloth 13 while watching the work cloth 13 that is displayed on the liquid crystal display 10. There is no need for the user to perform a task such as redrawing the areas on the work cloth 13 or the like.
A second modified example of the embodiment that is described above will be explained. The sewing machine 1 according to the second modified example recognizes at least one color of the portion of the work cloth 13 that is within the sewable area R1. The sewing machine 1 sorts the embroidery patterns that fit into the sewable area R1 in descending order according to the number of threads that the embroidery patterns use that are similar in color to the at least one color of the work cloth 13 that the sewing machine 1 has recognized. The sorting processing according to the second modified example (refer to
Other modifications can also be made to the embodiment that is described above. In the embodiment that is described above, the processing that extracts the embroidery patterns that fit within the sewable area R1 and notifies the user is performed by the sewing machine 1. However, it is obvious that the processing may also be performed by another device, such as a personal computer or the like. In the embodiment that is described above, the program for performing the main processing is stored in the ROM 62. However, it is obvious that the program may also be stored in another storage medium, such as the EEPROM 64, a CD-ROM that is not shown in the drawings, or the like.
The sewing machine 1 according to the embodiment that is described above performs the extracting of the embroidery patterns using the widths and the heights of the areas as the characteristic quantities. However, any quantity that at least makes it possible to specify the size of an area can be used as the characteristic quantity. For example, the sewing machine 1 may also extract the embroidery patterns by identifying the largest ellipse that fits within the sewable area R1, then comparing the major axis and the minor axis of the ellipse to the major axis and the minor axis of an ellipse that surrounds the entire embroidery pattern. Together with the quantity that specifies the size of the area, the sewing machine 1 may also use another parameter, such as a degree of circularity or the like, as a characteristic quantity.
In the embodiment that is described above, the method for computing the characteristic quantities for the minimum sewing area R2 is the same as the method for computing the characteristic quantities for the sewable area R1. That is, the width and the height of the largest rectangle that fits within the minimum sewing area R2 are computed as the characteristic quantities. However, it is obvious that the method for computing the characteristic quantities for the minimum sewing area R2 can be modified. For example, the sewing machine 1 may also compute the width and the height of the smallest rectangle within which the minimum sewing area R2 fits as the characteristic quantities. In that case, only the embroidery patterns of a size that can cover the entire minimum sewing area R2 will be extracted.
In the embodiment that is described above, the sewing machine 1 can further narrow down the embroidery patterns that are extracted by extracting, from among the embroidery patterns that fit within the sewable area R1, the embroidery patterns that belong to the classification that the user has designated. However, the method for narrowing down the embroidery patterns that are extracted can be modified. For example, the sewing machine 1 can narrow down the extracted embroidery patterns according to the number of the thread colors that are used in the sewing, the ratios of the colors, a history of the embroidery patterns that the user has selected in the past, or the like.
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 |
---|---|---|---|
2009-240060 | Oct 2009 | JP | national |