Not Applicable
Not Applicable
Not Applicable
1. Field of the Invention
The present invention relates to a system for automatically sizing words and other designs for embroidery. Specifically, the invention provides a system for use in automated stitching machines to analyze and alter the height and width of a word or other stitch pattern so that it fits into a space provided as a sewing area.
2. Prior Art
The high volume sewn personalization trade requires automation to produce stitching data for embroidery and monogram machines. This stitching data must meet certain criteria specific to the garment or material to be embroidered, lettering height, font, type of thread, and general look and feel desired.
Due to the variable name lengths of proper noun personalization and the fixed size of the item being personalized, be it a badge, the inside of a border, or a certain position on a garment, a technique to best fit the personalization onto the item to be sewn is desirable.
U.S. Pat. No. 5,983,816 to Tomita discloses a method of automatically sizing a stitch pattern so that it fits in a sewing area of predetermined size. Three stitch patterns of different size are prerecorded for each design that may be used in a sewing area. Which stitch pattern is used is determined by the size of the sewing area available. This patent discloses a method suitable only for single stitch patterns and not combinations thereof. It does not use the dimensions of an original stitch pattern to determine an optimum size for a stitch pattern for a particular sewing area.
Similarly, attempts to auto-size or auto-fit previously generated stitch data have included fixed tables with personalization character lengths and associated lettering heights. As the name lengths increase the sewing size is reduced at predefined intervals.
A stitch job generally includes a series of words to be stitched which is transformed into a series of stitch patterns. This is accomplished by either generating a stitch pattern for the word as a whole or by combining the stored stitch patterns for individual letters. A stitching machine may be programmed to automatically use a certain size font when a word is 5 characters or less, a smaller font when a word is between 5 and 7 characters, and a still smaller font for words greater than 7 characters in length. The font is thereby chosen by the number of characters in a word, and a stitch pattern is generated. This method, however, is not perfect. Different characters have different sizes. For example, a “W” is much wider than an “I.” Words made up of especially wide characters may not fit into the predefined space even after they have been sized. Similarly, words made up of narrow characters may be sized smaller than necessary. Therefore, a stitch job often must be sized manually even when auto-sizing or auto-fit software is used in order to prevent a stitch pattern from instructing an embroidery machine to apply the stitching needle to areas outside the sewing area.
A number of factors influence the dimensions of an word's or individual character's stitch pattern, such as lettering height, horizontal or vertical letter spacing, horizontal or vertical line spacing, stitch density, stitch width/pull compensation, capitalization, apostrophes and other enhancements, character kerning, and special effects like italics, arches, and slants.
Typically, a stitch job made up of a series of names or other words is provided to an embroidery machine operator. These stitch jobs are generally provided from a source having little or no knowledge of the operation and functionality of a stitching machine. Therefore, the words or patterns of character sequences are not optimized for the sewing area used in the embroidery process. An operator must therefore approximate a size for the stitch job series and then test whether the approximated size is suitable.
For example, a stitch job made up of a series of names may be provided to be embroidered onto name tags. The names may be provided written or typed on paper, or more commonly, stored in a computer file. The operator must first select a vertical height or font size to be used with the names that is appropriate for the vertical height of the name tag to be embroidered.
Once a font size is chosen, the operator may then apply an automated, step-wise program of the stitching machine to automatically adjust the size of the letters according to the number of letters in each name in the series. However, as indicated above, the operator must still double check the results of the step-wise auto-fitting program after the modified, sized word patterns are converted into stitch patterns. Depending on the various lengths of the names in a particular stitch job, an operator may then be required to further adjust the sizing of some or all of the names to optimize them for the sewing frame used.
It is therefore desirable to provide a method for accurately determining the optimal size for a word in a sewing area.
It is therefore also desirable to provide a method for accurately and rapidly determining the optimal size of a word for use in a sewing area that may be readily incorporated into existing methods of operating embroidery machinery.
The invention provides a means for processing a series of words in a stitch job so that they are optimally sized to fit into a sewing area. This processing is preferably done by computer software as part of or in conjunction with software operating one or more machines. Stitch patterns are created for one or more words using known methods. The maximum horizontal and vertical dimensions of the stitch pattern are then compared to the dimensions of the sewing area. This comparison is expressed as a ratio which may be used to adjust the size of the stitch pattern to optimally fit the sewing area.
A sewing area, such as a nametag, is typically substantially rectangular having a height and a width. The maximum sewing limits and optimal size of stitch patterns applied to a sewing area are defined by these dimensions. An image, such as one or more words, is converted into a stitch pattern, which is comprised of a series of commands directing the needles of an automatic embroidery machine. The invention measures the maximum vertical and horizontal distances traveled by the needle when performing the stitch pattern. These distances define the maximum height and width of the stitch pattern. The height and width of the stitch pattern are compared to the height and width of the sewing area to be fit. When at least one of the dimensions of the stitch pattern is not equal to a corresponding dimension of the sewing area, an adjustment ratio is calculated. The dimensions of the original image are then adjusted using the adjustment ratio to form a new, optimally sized image. This optimally sized image is then converted into an optimal stitch pattern that is properly sized to the sewing area. This process is repeated for each image in a stitch job. Optionally, the invention may adjust the size of the stitch pattern only if one of the dimensions of the stitch pattern is greater than the corresponding dimension of the sewing area. A stitch pattern is only reduced to fit within a sewing area and is not enlarged when the size of the sewing area allows it.
A guard area within the desired dimensions may also be used to refine the approximated stitch pattern. The guard area is a buffer zone between a sewing frame and the sewing area. This protects the sewing machinery presser foot and needle assembly from floating point/decimal precision and other errors in the size and ratio computations. Often the sewing area is bordered with a frame or hooping device which must not be sewn onto. Hoops or frames are constructed of materials that are rigid and cannot be penetrated by a sewing needle without risk of damage to the item being sewn, needle, sewing machine, or risk of shrapnel to a machine operator.
The present invention reconstructs stitch patterns to an optimal size for a specific sewing area. Stitch patterns are created from images consisting of one or more words, lines of text or other images. The stitch patterns are typically created using software known in the art. Each stitch pattern is a series of commands that instruct an embroidery machine where to place a needle and make individual stitches, what thread to use and other information. The sewing area is typically a portion of a clothing item, a textile item, a patch, a nametag, or the like. The sewing area is often bounded by a frame, or “hoop.” The frame is often a rigid item through which a needle may not pass. Frames are used to tightly hold a sewing area in place while it is being embroidered and often define the boundaries of a sewing area.
The height and width, i.e. the maximum horizontal and vertical dimensions, of a stitch pattern are readily determined by parsing the commands of a stitch pattern into horizontal and vertical components and determining the maximum distances traveled in each dimension during performance of the stitch pattern. The image and corresponding stitch pattern are both referred to as rectangular because they may both be defined by a height and a width.
The invention calculates an adjustment ratio that is used to reduce or increase the overall size of a stitch pattern. This adjustment ratio is applied to the original image from which an initial stitch pattern was created. This is done using methods similar to or the same as those used for adjusting the size of images or fonts by means of computer software. This adjusted image is then used to create an adjusted stitch pattern. The adjusted stitch pattern does not exceed the dimensions of the sewing area.
Image 10 is formed from a first character 16 for the letter “W,” a second character 17 for the letter “O,” and a third character 18 for the letter “W.” Character 16 has a width 20, character 17 has a width 21 and character 18 has a width 22. These widths sum to form a width 12 of the composite image 10. The characters 16, 17 and 18 of image 10 also have equivalent heights 14. Because the characters of image 10 are linearly sequential along their widths, the heights 14 of the characters 16, 17 and 18 are equal to the height of the composite image 10.
Both composite images 10 and 30 are comprised of three characters of the Roman alphabet. Although heights 14 and 34 are equivalent, their widths 12 and 32 are substantially different. This is because the characters of image 10 are substantially wider than the characters of image 30. It is common for words or other composite images having the same height, often referred to as font size, to have different widths. In the prior art, stepwise methods of reducing a composite image are used to adjust image size according to the number of characters regardless of actual width. An operator using a stepwise size adjusting method would have to manually verify that the wide image 10 does not exceed the width requirements of the sewing frame. Similarly, a relatively narrow word such as image 30, may have its size reduced unnecessarily due to a stepwise adjustment method automatically changing the size of the image regardless of the images actual dimensions.
Flowchart 50 begins with the input 52 of stitch job data. The data may include several different types of information. If the invention is embodied in a software program that is used in conjunction with or is incorporated into software for operating one or several embroidery machines, the total amount and types of data may far exceed the data required for the invention. Job stitch data typically includes a series of images to be embroidered, the height and width of the frame, the guard area to be used when adjusting the images, the type and color of thread to be used, and other data. The invention typically only requires the height and width dimensions of the sewing area and the series of images to be embroidered.
In step 54 data for the first or next image in a series is selected for adjustment, and an image is created from it. The invention adjusts images in a series of images one at a time. Before being processed by the invention, the image is an initial, rectangular image. Often the image is provided as a series of characters and a preferred character height. When this is the case, the image is generated by forming it from the character sequence at the given height.
When the image is a character sequence and no initial height is specified, it may be created in step 54 by forming the initial image at the height provided for the sewing area. In this manner, one dimension of the image is already sized to fit the sewing area. This is possible because when the image is horizontally linear, such as with a word, the height of the character images is equal to the height of the word image. Similarly, the invention can process a vertically linear character sequence by forming the initial word image at the width provided for the sewing area. This may be preferable when the image is vertically linear, such as with a Chinese word, where the width of the character images is equal to the width of the word image. In addition, the invention may form the initial word image by selecting a character height equal to the height of the sewing area divided by the number of rows of the linear sequences in the image. E.g., if the image comprises two rows of linear character sequences, the invention may initially form the image by using character images that are one half the height of the sewing area. The invention may similarly determine the appropriate width for character images in a vertically linear sequence by dividing the width of the sewing area by the number of columns in the image. The initial image is rectangular having a height YO and a width XO.
In step 56 a stitch pattern is created based on the image formed in step 54. It is known in the art of embroidery to use software and computer processing means to convert an image into a stitch pattern that is typically used to operate an automated embroidery machine.
In measuring step 58, the height, Yi, and the width, Xi, of the initial, unmodified stitch pattern is determined. This is done by parsing the commands of the stitch pattern into horizontal and vertical movements. The highest and lowest vertical points and the furthest left and right points of the stitch pattern and the distances between them are determined. This provides the minimum height and width needed in a sewing area for the stitch pattern to fit.
In calculation step 59, two adjustment ratios are calculated. The vertical adjustment ratio, Ry, and the horizontal adjustment ratio, Rx, measure the differences in height and width of the initial image and the sewing area. RX and RY are calculated using the following equations:
R
x=(XF−2GX)/Xi Ry=(YF−2Gy)/Yi
Where XF is the width of the sewing area, YF is the height of the sewing area, Gx is a horizontal guard area and Gy is a vertical guard area. The guard areas are factored into the equation as a buffer zone to insure that sufficient room is provided between a frame and the sewing area. As frames are moved through a stitching machine, small inaccuracies in the placement of the frame and the movement of a stitching needle are possible. A variety of other factors contribute to inaccuracies identifying the precise boundaries of the sewing area. To compensate for these generally unavoidable small errors, a guard area is provided around the sewing area. The values Gx and Gy are doubled in the above equations to reflect that Gx is on either side of the width of the sewing area and Gy is both above and below the sewing area. The values of the guard areas are generally provided as part of the input of step 52. If no values are entered for the guard areas, then Gx and Gy are equal to 0.
In the following step 60, ratios Rx and Ry are compared, and the lesser value is chosen to adjust the image. The adjusted image is then used to reconstruct the stitch pattern so that it fits within the sewing area. By selecting the adjustment ratio with the smaller value, the image is sized so that it fits within the sewing area whether the initial stitch pattern was smaller or larger than optimal.
When Ry is the smaller value, it is used in step 62 to adjust the size of the image. The width and height of the image, XO and YO, are multiplied by Ry resulting in XA and YA, respectively. Alternatively, when RX is the smaller value, it is used in step 64 to adjust the size of the image. The width and height of the initial image, XO and YO, are multiplied by Rx resulting in XA and YA, respectively. Either step 62 or 64 is used to adjust the image.
Alternatively, images for individual characters may be adjusted using the adjustment ratios and an adjusted composite image may be formed from the adjusted character images. Once the character images of a composite image are adjusted, they are used to reconstruct the image to form an adjusted composite image in the same sequence as in the original image.
In step 66, the new, adjusted image is formed having the dimensions calculated in step 62 or 64. The modified image is sized correctly to optimally fit within a sewing area.
Alternatively, in step 66 the individual character images are adjusted and then recombined to form the adjusted image. Whether the modified image is constructed using individually modified character images or by applying the adjustment ratio directly to the initial image created, as e.g. in step 54, will depend upon how the invention is integrated into the embroidery automation system.
Regardless of whether the adjustment ratio is applied to the individual character images in order to form an adjusted image or the initial image is adjusted directly using the selected adjustment ratio, one of the significant advantages of the invention is its use of the initial stitch pattern to determine the minimum height and width of a sewing area necessary to ensure the accuracy of calculating an optimally sized and proportioned final, adjusted stitch pattern. This “virtual” dry run saves an operator the significant time and effort involved other methods of insuring that a needle of an embroidery machine will not stray into a dangerous area. In addition, it eliminates the possibility of user error in failing to notice an unacceptable movement by a needle during an actual dry run or a stitch pattern.
In step 67 the adjusted composite image is converted into an adjusted stitch pattern. Once the adjusted stitch pattern has been constructed, it is stored in step 68 so that it may be used with an automatic embroidery machine to stitch the stitch pattern into a sewing area. Step 70 repeats the process of steps 54, 55, 56, 58, 60, 62, 64, 66, 67 and 68 until all of the word images have been modified to match the sewing area.
In final step 72, the invention creates a signal to indicate that the sizing process is completed. This informs an operator that the initial stitch job data has been processed to optimally size the composite images of the job.
Whereas, the present invention has been described in relation to the drawings attached hereto, it should be understood that other and further modifications, apart from those shown or suggested herein, may be made within the spirit and scope of this invention.