JP2005230256A - Device, program and method of preparing printing embroidery data, and structure of printing embroidery data - Google Patents

Device, program and method of preparing printing embroidery data, and structure of printing embroidery data Download PDF

Info

Publication number
JP2005230256A
JP2005230256A JP2004043172A JP2004043172A JP2005230256A JP 2005230256 A JP2005230256 A JP 2005230256A JP 2004043172 A JP2004043172 A JP 2004043172A JP 2004043172 A JP2004043172 A JP 2004043172A JP 2005230256 A JP2005230256 A JP 2005230256A
Authority
JP
Japan
Prior art keywords
embroidery
data
print
output
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2004043172A
Other languages
Japanese (ja)
Other versions
JP4363216B2 (en
Inventor
Kenji Yamada
健司 山田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2004043172A priority Critical patent/JP4363216B2/en
Priority to US11/060,710 priority patent/US7587257B2/en
Publication of JP2005230256A publication Critical patent/JP2005230256A/en
Application granted granted Critical
Publication of JP4363216B2 publication Critical patent/JP4363216B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prepare printing data and embroidery data with consistency in the output size and output position, convertible so that the region suitable for the embroidery based on image data is embroidered and the other regions are printed. <P>SOLUTION: When a special color of an embroidery thread is specified (S11) and the output size and output position of image data are specified (S12), a pixel region constituting the image data is set as a special color region to be embroidered by an embroidery sewing machine or as a printed region to be printed by an ink-jet printer (S13). Embroidery data are prepared by special color based on the pixel region set as the special color region (S14). The embroidery data by each special color are synthesized as one embroidery data (S15). Printing data are prepared based on the pixel region set as the printed region (S16). The embroidery data and the printing data are edited as printing embroidery data (S17). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、刺繍装置で用いられる刺繍データ及び印刷装置で用いられる印刷データを作成する印刷刺繍データ作成装置に関し、詳細には、出力サイズ及び出力位置について整合性の取れた印刷データ及び刺繍データを作成する印刷刺繍データ作成装置に関する。   The present invention relates to a print embroidery data creation device that creates embroidery data used in an embroidery device and print data used in a printing device, and more specifically, print data and embroidery data that are consistent in output size and output position. The present invention relates to a print embroidery data creation apparatus to be created.

旧来より、画素の集合体である画像データに基づいて、この画像データに表された人物や動物、風景等の各種図柄を、インクジェットプリンタのような印刷装置においてTシャツ等の布帛へ印刷することが行われている。また、画像データに基づいて、この画像データに表された各種図柄を、刺繍ミシンのような刺繍装置においてTシャツ等の布帛へ刺繍することが行われている。   Traditionally, based on image data that is a collection of pixels, various designs such as people, animals, and landscapes represented in this image data are printed on a fabric such as a T-shirt in a printing device such as an ink jet printer. Has been done. Further, based on the image data, various designs represented in the image data are embroidered on a cloth such as a T-shirt by an embroidery apparatus such as an embroidery sewing machine.

そこで、従来、このようなTシャツ等への印刷及び刺繍を組合せて出力することが行われている。これは例えば、任意の刺繍データをTシャツ等へ刺繍し、その上から任意の印刷データを印刷する、といったものであった。   Thus, conventionally, printing on such a T-shirt or the like and embroidery are combined and output. For example, arbitrary embroidery data is embroidered on a T-shirt or the like, and arbitrary print data is printed thereon.

しかしながら、従来行われてきた方法では、組み合わせて1つの出力となる刺繍データと印刷データとの間には関係性が乏しく、例えば1つの画像データから刺繍用のデータと印刷用のデータを作成する場合でも、作業者の熟練によって、刺繍と印刷の位置及び大きさを一致させる必要があった。   However, in the conventional methods, there is little relationship between embroidery data and print data that are combined into one output, and for example, embroidery data and print data are created from one image data. Even in such a case, it is necessary to match the positions and sizes of the embroidery and printing according to the skill of the operator.

そのため、従来においては、同一の画像データに関して印刷及び刺繍を実行する場合、インクジェットプリンタで用いられる印刷データと刺繍ミシンで用いられる刺繍データとを、それぞれ別個に作成していた。そして、作業者が、その印刷データを用いて印刷を実行する時は、既に刺繍されている部分との位置合わせやサイズ調整を行いながら印刷を実行していた。または、作業者が、その刺繍データを用いて刺繍を実行する時は、既に印刷されている部分との位置合わせやサイズ調整を行いながら刺繍を実行していた。   Therefore, conventionally, when printing and embroidery are performed on the same image data, the print data used in the ink jet printer and the embroidery data used in the embroidery sewing machine are separately created. When the operator executes printing using the print data, the operator performs printing while performing alignment and size adjustment with the already embroidered portion. Alternatively, when the operator executes embroidery using the embroidery data, the embroidery is executed while performing alignment and size adjustment with the already printed portion.

また、従来の画像データの印刷及び刺繍に関するものとして、布地への刺繍機能とプリント機能とを1つの装置に具備させて、ユーザーの好みに応じて各機能を選択的に使用することができる、プリント装置を備えた刺繍機が知られている(例えば、特許文献1参照。)。これにより、布地の張り替えを行なうことなく、簡単な操作だけで刺繍作業とプリント作業を行なうことを可能とするとともに、プリントと刺繍からなるコンビネーション柄をこれら相互の柄位置が狂うことなく柄データ通りに正確に作成するものである。また、白色等の単一色の糸により刺繍を施した後にプリント装置により、既に刺繍された糸に対して所望の色付けを行なうものである。
特開平5−272046号公報
In addition, as related to printing and embroidery of conventional image data, an embroidery function for a fabric and a print function can be provided in one apparatus, and each function can be selectively used according to the user's preference. An embroidery machine provided with a printing apparatus is known (for example, see Patent Document 1). This makes it possible to perform embroidery work and print work with simple operations without re-upholstering the fabric. In addition, the combination pattern consisting of print and embroidery can be used according to the pattern data without distorting the mutual pattern position. To create exactly. Further, after embroidering with a single color thread such as white, a desired color is applied to the already embroidered thread by the printing apparatus.
JP-A-5-272046

しかしながら、このような従来の画像データの印刷及び刺繍に関する手法では、同一の画像データに関して印刷及び刺繍を実行する場合であっても、インクジェットプリンタで用いられる印刷データと刺繍ミシンで用いられる刺繍データとを、それぞれ別個に作成していたため、印刷データと刺繍データとの間では、実際に印刷及び刺繍を実行した場合における出力位置及び出力サイズに整合性がとれていなかった。そのため、印刷位置及び印刷サイズが刺繍位置及び刺繍サイズと一致せず、出力結果のずれや狂いの発生の原因となっていた。よって、印刷及び刺繍の実行時には、作業者が位置合わせやサイズ調整を行っていたが、このような作業を正確に行うためには、作業者の熟練を要していた。また、これらはあくまで人手による作業であるため、作業者に大きな負担と手間を与えていた。   However, in the conventional methods for printing and embroidery of image data, even when printing and embroidery are executed on the same image data, the print data used in the ink jet printer and the embroidery data used in the embroidery sewing machine Since the print data and the embroidery data are created separately, the output position and the output size when printing and embroidery are actually executed are not consistent. For this reason, the printing position and the printing size do not match the embroidery position and the embroidery size, which causes a shift in output results and a deviation. Therefore, when performing printing and embroidery, the operator performs alignment and size adjustment. However, in order to perform such work accurately, the skill of the operator is required. In addition, since these operations are manual operations only, a heavy burden and time are given to the workers.

また、上記特許文献1に記載の発明は、布地への刺繍機能とプリント機能とを具備させた装置によって、1つの装置で布地への刺繍とプリントを実行することで位置合わせやサイズ調整の問題を解決しようとするものであるが、布地への刺繍に用いられる刺繍データとプリントに用いられる印刷データが独立して存在している点は、従来の画像データの印刷及び刺繍に関する手法と同じであった。1つの装置で布地への刺繍とプリントを実行することで、布地の張り替えに伴う位置及びサイズのずれや狂いの発生は防止できるものの、印刷データと刺繍データとが別個に存在していることや、印刷データと刺繍データとで出力位置及び出力サイズに整合性がとれていないことを原因とする出力位置及び出力サイズのずれや狂いの発生は防止できなかった。そのため、特許文献1に記載の発明による装置で、実際に布地へのプリント及び刺繍を実行する場合にも、作業者による位置合わせやサイズ調整が必要とするという問題があった。   Further, the invention described in the above-mentioned Patent Document 1 is a problem of alignment and size adjustment by executing embroidery and printing on a cloth with a single apparatus using an apparatus having an embroidery function and a printing function on the cloth. However, the point that the embroidery data used for embroidery on the fabric and the print data used for printing exist independently is the same as the conventional method for printing image data and embroidery. there were. By executing embroidery and printing on the fabric with a single device, it is possible to prevent the occurrence of position and size shifts and deviations due to fabric re-covering, but the print data and embroidery data exist separately. Thus, it has not been possible to prevent the output position and output size from being shifted or out of order due to the inconsistency in the output position and output size between the print data and the embroidery data. For this reason, the apparatus according to the invention described in Patent Document 1 has a problem that alignment and size adjustment by an operator are necessary even when printing and embroidery on a fabric are actually executed.

本発明は、上記課題を解決するためになされたものであり、画像データに表された図柄をTシャツ等の布帛に刺繍及び印刷する際に、刺繍及び印刷のどちらの特徴も活かせるように、画像データから刺繍に適した部分は刺繍で、それ以外の部分は印刷で表現できるようにデータを変換でき、かつ、出力サイズ及び出力位置について整合性の取れた印刷データ及び刺繍データを作成できる印刷刺繍データ作成装置を提供することを目的とする。また、印刷データと刺繍データとを関連付けて、1つの印刷刺繍データとして保存することができる印刷刺繍データ作成装置を提供することを目的とする。   The present invention has been made in order to solve the above-described problems. When embroidering and printing a design represented by image data on a fabric such as a T-shirt, both the features of embroidery and printing can be utilized. The image data can be converted so that the part suitable for embroidery can be expressed by embroidery, and other parts can be expressed by printing, and the print data and embroidery data can be created with consistency in output size and output position. An object is to provide a printing embroidery data creation device. It is another object of the present invention to provide a print embroidery data creation apparatus that can store print data and embroidery data in association with each other as one piece of print embroidery data.

上記目的を達成するために、請求項1に係る発明の印刷刺繍データ作成装置は、画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成する印刷刺繍データ作成装置であって、任意の1以上の色である特色を指定するための特色指定手段と、前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定手段と、前記画像データの画素について、前記特色に対応するか否かを判定する画素判定手段と、前記画素判定手段により、前記特色に該当すると判定された画素の集合である画素領域を特色領域として設定する一方、前記特色に該当しないと判定された画素の集合である画素領域を印刷領域として設定する領域設定手段と、前記領域設定手段により前記特色領域として設定された画素領域が、各々該当する前記特色に対応する色の刺繍糸によって、前記出力情報設定手段によって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成手段と、前記領域設定手段により前記印刷領域として設定された画素領域が、前記画像データにおいて各々該当する画素の色によって、前記出力情報設定手段によって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成手段とを備えている。   In order to achieve the above object, a printing embroidery data creation device according to a first aspect of the present invention provides embroidery data that can be embroidered by an embroidery device and print data that can be printed by a printing device from image data consisting of a collection of pixels. A print embroidery data creation device to be created, comprising: special color designating means for designating a spot color that is any one or more colors; embroidery of the embroidery data by the embroidery device; and printing of the print data by the printing device Output information setting means for setting the output size and output position, pixel determination means for determining whether or not the pixel of the image data corresponds to the spot color, and the pixel determination means that the spot color corresponds to the spot color A pixel area that is a set of determined pixels is set as a spot color area, and a set of pixels that are determined not to correspond to the spot color An area setting means for setting a prime area as a print area, and a pixel area set as the spot color area by the area setting means is set by the output information setting means by an embroidery thread of a color corresponding to the corresponding spot color. The embroidery data creating means for creating embroidery data output by the embroidery device at the output size and output position, and the pixel area set as the print area by the area setting means respectively correspond to the image data. Print data creation means for creating print data output by the printing apparatus at the output size and output position set by the output information setting means according to the color of the pixel.

また、請求項2に係る発明の印刷刺繍データ作成装置は、請求項1に記載の発明の構成に加え、前記刺繍データと前記印刷データとを含む印刷刺繍データを作成する印刷刺繍データ作成手段を備えている。   According to a second aspect of the present invention, there is provided a print embroidery data creation device, in addition to the configuration of the invention according to the first aspect, print embroidery data creation means for creating print embroidery data including the embroidery data and the print data. I have.

また、請求項3に係る発明の印刷刺繍データ作成装置は、請求項1又は2に記載の発明の構成に加え、前記刺繍データにおける、前記画像データでの画素単位での大きさに対する前記刺繍装置において現実に刺繍される大きさの比率は、前記印刷データにおける、前記画像データでの画素単位での大きさに対する前記印刷装置において現実に印刷される大きさの比率と等しいことを特徴とする。   According to a third aspect of the present invention, there is provided a print embroidery data creating apparatus according to the first or second aspect, wherein the embroidery apparatus corresponds to a size of the embroidery data in pixel units in the image data. The ratio of the size that is actually embroidered is the same as the ratio of the size that is actually printed in the printing apparatus to the size in pixels of the image data in the print data.

また、請求項4に係る発明の印刷刺繍データ作成装置は、請求項1乃至3のいずれかに記載の発明の構成に加え、前記刺繍データは、色コード、刺繍位置及び刺繍サイズを示す情報と、前記特色領域を刺繍で表現するための縫目を示すステッチデータとから構成されることを特徴とする。   According to a fourth aspect of the present invention, there is provided a print embroidery data creation apparatus, in addition to the configuration of the invention according to any one of the first to third aspects, the embroidery data includes information indicating a color code, an embroidery position, and an embroidery size. , And the stitch color data indicating stitches for expressing the special color area by embroidery.

また、請求項5に係る発明の印刷刺繍データ作成装置は、請求項1乃至4のいずれかに記載の発明の構成に加え、前記印刷データは、前記画像データのうちで前記印刷領域として設定された画素領域を示す情報と、印刷位置及び印刷サイズを示す情報とから構成されることを特徴とする。   According to a fifth aspect of the present invention, there is provided a print embroidery data creation device, wherein the print data is set as the print region in the image data. It is characterized by comprising information indicating the pixel area and information indicating the print position and print size.

また、請求項6に係る発明の印刷刺繍データ作成装置は、請求項1乃至5のいずれかに記載の発明の構成に加え、前記刺繍データ作成手段は、前記領域設定手段により前記印刷領域として設定された画素領域から、第2の刺繍データを作成することを特徴とする   According to a sixth aspect of the present invention, there is provided the print embroidery data creation device, wherein the embroidery data creation means is set as the print area by the area setting means. Creating second embroidery data from the pixel area

また、請求項7に係る発明の印刷刺繍データ作成装置は、請求項6に記載の発明の構成に加え、前記第2の刺繍データは、白色の色コード、刺繍位置及び刺繍サイズを示す情報と、前記印刷領域を刺繍で表現するための前記刺繍装置での針落ち位置を示すステッチデータとから構成されることを特徴とする。   In addition to the configuration of the invention described in claim 6, the second embroidery data includes information indicating a white color code, an embroidery position, and an embroidery size. And stitch data indicating a needle drop position in the embroidery device for expressing the print area by embroidery.

また、請求項8に係る発明の印刷刺繍データ作成装置は、請求項1乃至7のいずれかに記載の発明の構成に加え、複数の刺繍糸と当該複数の刺繍糸の色コードが対応付けられて記憶された刺繍糸対応テーブルを備え、前記特色指定手段は、前記刺繍糸対応テーブルに記憶された複数の刺繍糸の色のうち、任意の1以上の刺繍糸の色である特色を指定するためのものであることを特徴とする。   According to an eighth aspect of the present invention, there is provided a print embroidery data creation device in which a plurality of embroidery threads and color codes of the plurality of embroidery threads are associated with each other in addition to the configuration of the invention according to any one of the first to seventh aspects. The spot color designating unit designates a spot color that is one or more embroidery thread colors from among a plurality of embroidery thread colors stored in the embroidery thread correspondence table. It is for the purpose.

また、請求項9に係る発明の印刷刺繍データ作成装置は、請求項1乃至8のいずれかに記載の発明の構成に加え、前記画素判定手段は、任意の色空間上における前記画素の色と前記特色の色コードの色との距離が、所定の閾値よりも小さい場合は前記特色領域として設定することを特徴とする。   According to a ninth aspect of the present invention, in addition to the configuration of the first aspect of the present invention, the pixel determination means includes the color of the pixel in an arbitrary color space. If the distance from the color code of the spot color is smaller than a predetermined threshold, the spot color area is set.

また、請求項10に係る発明の印刷刺繍データ作成プログラムは、コンピュータに、画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成させるための印刷刺繍データ作成プログラムであって、任意の1以上の色である特色を指定するための特色指定工程、前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定工程、前記画像データの画素について、前記特色に対応するか否かを判定する画素判定工程、前記画素判定工程により、前記特色に該当すると判定された画素の集合である画素領域を特色領域として設定する一方、前記特色に該当しないと判定された画素の集合である画素領域を印刷領域として設定する領域設定工程、前記領域設定工程により前記特色領域として設定された画素領域が、各々該当する前記特色に対応する色の刺繍糸によって、前記出力情報設定工程によって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成工程、前記領域設定工程により前記印刷領域として設定された画素領域が、前記画像データにおいて各々該当する画素の色によって、前記出力情報設定工程によって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成工程を実行させることを特徴とする。   According to a tenth aspect of the present invention, there is provided a print embroidery data creation program for causing a computer to create embroidery data that can be embroidered by an embroidery device and print data that can be printed by a printing device from image data consisting of a collection of pixels. A print embroidery data creation program for a spot color designating process for designating a spot color that is one or more arbitrary colors, an embroidery of the embroidery data by the embroidery device, and an output size in printing the print data by the printing device And an output information setting step for setting an output position, a pixel determination step for determining whether or not the pixel of the image data corresponds to the spot color, and a pixel determined to correspond to the spot color by the pixel determination step A pixel area that is a set of pixels is set as a spot color area, while pixels that are determined not to fall under the spot color An area setting step for setting a pixel area that is a set as a print area, and the output information setting step in which the pixel areas set as the spot color areas by the area setting step are respectively embroidery threads of the colors corresponding to the corresponding spot colors An embroidery data creation step for creating embroidery data output by the embroidery device at the output size and output position set by the step, and a pixel region set as the print region by the region setting step respectively corresponds to the image data. According to the color of the pixel to be printed, a print data creation step for creating print data output by the printing apparatus is executed at the output size and output position set by the output information setting step.

また、請求項11に係る発明の印刷刺繍データ作成方法は、画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成する印刷刺繍データ作成方法であって、任意の1以上の色である特色を指定するための特色指定ステップと、前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定ステップと、前記画像データの画素について、前記特色に対応するか否かを判定する画素判定ステップと、前記画素判定ステップにより、前記特色に該当すると判定された画素の集合である画素領域を特色領域として設定する一方、前記特色に該当しないと判定された画素の集合である画素領域を印刷領域として設定する領域設定ステップと、前記領域設定ステップにより前記特色領域として設定された画素領域が、各々該当する前記特色に対応する色の刺繍糸によって、前記出力情報設定ステップによって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成ステップと、前記領域設定ステップにより前記印刷領域として設定された画素領域が、前記画像データにおいて各々該当する画素の色によって、前記出力情報設定ステップによって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成ステップとを備えている。   According to the eleventh aspect of the present invention, there is provided a print embroidery data creation method for creating embroidery data that can be embroidered by an embroidery device and print data that can be printed by a printing device from image data composed of a collection of pixels. A spot color designation step for designating a spot color that is one or more arbitrary colors, and an output size and an output position in embroidery of the embroidery data by the embroidery device and printing of the print data by the printing device. An output information setting step for setting, a pixel determination step for determining whether or not the pixel of the image data corresponds to the spot color, and a set of pixels determined to correspond to the spot color by the pixel determination step Is set as a spot color area, while an image that is a set of pixels determined not to fall under the spot color. An area setting step for setting an area as a print area, and a pixel area set as the spot color area by the area setting step are set by the output information setting step by embroidery threads of a color corresponding to the corresponding spot color. The pixel region set as the print region by the embroidery data generation step for generating embroidery data output by the embroidery device at the output size and output position, and the pixel region set as the print region by the region setting step respectively corresponds to the pixel in the image data A print data creation step for creating print data output by the printing apparatus at the output size and output position set by the output information setting step.

また、請求項12に係る発明の印刷刺繍データのデータ構造は、被出力媒体への刺繍を実行する刺繍装置によって読取られ、該刺繍装置における出力サイズに対応した刺繍データと、被出力媒体への印刷を実行する印刷装置によって読取られ、該印刷装置における出力サイズに対応した印刷データとを含むことを特徴とする。   The data structure of the print embroidery data of the invention according to claim 12 is read by an embroidery device that executes embroidery on the output medium, and the embroidery data corresponding to the output size in the embroidery device and the output medium And print data corresponding to an output size in the printing apparatus.

また、請求項13に係る発明の印刷刺繍データのデータ構造は、請求項12に記載の発明の構成に加え、前記刺繍データにおける、前記画像データでの画素単位での大きさに対する前記刺繍装置において現実に刺繍される大きさの比率は、前記印刷データにおける、前記画像データでの画素単位での大きさに対する前記印刷装置において現実に印刷される大きさの比率と等しいことを特徴とする。   According to a thirteenth aspect of the present invention, there is provided a data structure of the print embroidery data in the embroidery apparatus for the size of the embroidery data in units of pixels in the image data in addition to the configuration of the invention of the twelfth aspect. The ratio of the size that is actually embroidered is equal to the ratio of the size that is actually printed in the printing apparatus to the size in units of pixels in the image data in the print data.

また、請求項14に係る発明の印刷刺繍データのデータ構造は、請求項12又は13に記載の発明の構成に加え、前記刺繍データは、色コード、刺繍位置及び刺繍サイズを示す情報と、前記特色領域を刺繍で表現するための縫目を示すステッチデータとから構成されることを特徴とする。   Further, the data structure of the print embroidery data of the invention according to claim 14 is the configuration of the invention of claim 12 or 13, wherein the embroidery data includes information indicating a color code, an embroidery position and an embroidery size, It is characterized by comprising stitch data indicating stitches for expressing the special color area by embroidery.

また、請求項15に係る発明の印刷刺繍データのデータ構造は、請求項12乃至14のいずれかに記載の発明の構成に加え、前記印刷データは、前記画像データのうちで前記印刷領域として設定された画素領域を示す情報と、印刷位置及び印刷サイズを示す情報とから構成されることを特徴とする。   According to a fifteenth aspect of the present invention, in addition to the configuration of the invention according to any one of the twelfth to fourteenth aspects, the print data is set as the print area in the image data. It is characterized by comprising information indicating the designated pixel area and information indicating the print position and print size.

請求項1に係る発明の印刷刺繍データ作成装置では、画像データを構成する画素を分析して特色領域と印刷領域とを設定して、特色領域に対応する刺繍データと印刷領域に対応する印刷データを作成するので、画像データをもとに刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性がとれた印刷データ及び刺繍データを作成することができる。   In the print embroidery data creation device according to the first aspect of the invention, the pixels constituting the image data are analyzed to set the spot color area and the print area, and the embroidery data corresponding to the spot color area and the print data corresponding to the print area are set. Therefore, it is possible to obtain an output result in which the characteristics of embroidery and printing are utilized based on image data, and the print data and the output position and output size of embroidery and printing are consistent. Embroidery data can be created.

また、請求項2に係る発明の印刷刺繍データ作成装置では、請求項1に係る発明の効果に加え、刺繍データと印刷データとを含む印刷刺繍データを作成するため、刺繍データと印刷データとを対応付けて保存することができる。   In addition, in the print embroidery data creation device of the invention according to claim 2, in addition to the effect of the invention of claim 1, in order to create print embroidery data including embroidery data and print data, It can be stored in association.

また、請求項3に係る発明の印刷刺繍データ作成装置では、請求項1又は2に係る発明の効果に加え、画像データの画素単位での大きさに対する刺繍装置での現実に出力される大きさとの比率が、画像データの画素単位での大きさに対する印刷装置での現実に出力される大きさとの比率が等しいため、画像データを元に刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性をとることができる。   Further, in the printed embroidery data creation device according to the third aspect of the invention, in addition to the effect of the invention according to the first or second aspect, the size actually output by the embroidery device with respect to the size of the image data in units of pixels Is equal to the actual output size of the printing apparatus with respect to the size of the image data in units of pixels. Therefore, based on the image data, the output results utilizing the characteristics of embroidery and printing are used. In addition, the output position and output size of embroidery and printing can be made consistent.

また、請求項4に係る発明の印刷刺繍データ作成装置では、請求項1乃至3のいずれかに係る発明の効果に加え、刺繍データは、色コード,刺繍位置,刺繍サイズを示す情報と、刺繍で表現するための縫目を示すステッチデータとから構成されるため、刺繍装置においては、画像データに表された図柄を正確に出力することができるとともに、刺繍の特性を活用した出力結果を得ることができる。   According to a fourth aspect of the present invention, in addition to the effects of the first to third aspects, the embroidery data includes information indicating a color code, an embroidery position, an embroidery size, and an embroidery data. The embroidery device can accurately output the pattern represented in the image data, and obtain an output result utilizing the characteristics of the embroidery. be able to.

また、請求項5に係る発明の印刷刺繍データ作成装置では、請求項1乃至4のいずれかに係る発明の効果に加え、印刷データは、印刷領域として設定された画素領域を示す情報と、印刷位置及び印刷サイズを示す情報とから構成されるため、印刷装置においては、画像データに表された図柄を正確に出力することができるとともに、印刷の特性を活用した出力結果を得ることができる。   In addition, in the printing embroidery data creation device according to the fifth aspect of the invention, in addition to the effects of the invention according to any one of the first to fourth aspects, the print data includes information indicating a pixel area set as a printing area, printing Since the printing apparatus includes the information indicating the position and the print size, the printing apparatus can accurately output the symbol represented in the image data and can obtain an output result utilizing the printing characteristics.

また、請求項6に係る発明の印刷刺繍データ作成装置では、請求項1乃至5のいずれかに係る発明の効果に加え、特色領域以外の領域(印刷領域)として設定された領域を第2の特色領域として、当該第2の特色領域にも所定の刺繍が施されるようにしたので、画像データを元に刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、特に、刺繍の上に印刷が施された出力結果を得ることができる。   In addition, in the print embroidery data creation device according to the sixth aspect of the invention, in addition to the effect of the invention according to any one of the first to fifth aspects, the area set as the area (print area) other than the spot color area is the second area. Since the predetermined special embroidery is also applied to the second special color area as the special color area, it is possible to obtain an output result utilizing the characteristics of embroidery and printing based on the image data. An output result obtained by printing on the embroidery can be obtained.

また、請求項7に係る発明の印刷刺繍データ作成装置では、請求項6に係る発明の効果に加え、第2の特色領域には白糸による刺繍が施されるようにしたので、白糸の刺繍の場合、その上に印刷を施しても、鮮明な印刷結果を得ることができるという特徴を活かして、刺繍の上に印刷が施された出力結果をより見映えのよいものとすることができる。   In addition, in the printing embroidery data creation device of the invention according to claim 7, in addition to the effect of the invention according to claim 6, since the second special color area is embroidered with white thread, In this case, the output result obtained by printing on the embroidery can be further improved by taking advantage of the feature that a clear print result can be obtained even if printing is performed thereon.

また、請求項8に係る発明の印刷刺繍データ作成装置では、請求項1乃至7のいずれかに係る発明の効果に加え、作業者が任意の特色を刺繍糸対応テーブルから指定できるようにしたので、作業者のニーズや刺繍装置の性能などの条件に応じて、より自由度と柔軟性の高い印刷刺繍データを作成することができる。   Further, in the printing embroidery data creation device according to the eighth aspect of the invention, in addition to the effect of the invention according to any one of the first to seventh aspects, the operator can designate any special color from the embroidery thread correspondence table. According to conditions such as the needs of the operator and the performance of the embroidery device, it is possible to create printed embroidery data with a higher degree of freedom and flexibility.

また、請求項9に係る発明の印刷刺繍データ作成装置では、請求項1乃至8のいずれかに係る発明の効果に加え、任意の色空間の絶対値の色差に基づいて特色領域と印刷領域とが設定されるようにしたので、任意の色空間で表現される画像データに基づいて印刷刺繍データを作成することができる。   According to a ninth aspect of the present invention, in addition to the effect of the first aspect of the present invention, the special color area and the print area are determined based on the color difference between the absolute values of an arbitrary color space. Is set, print embroidery data can be created based on image data expressed in an arbitrary color space.

また、請求項10に係る発明の印刷刺繍データ作成プログラムは、コンピュータに、画像データを構成する画素を分析して特色領域と印刷領域とを設定させて、特色領域に対応する刺繍データと印刷領域に対応する印刷データを作成させるので、画像データをもとに刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性がとれた印刷データ及び刺繍データを作成させることができる。   According to a tenth aspect of the present invention, there is provided a print embroidery data creation program that causes a computer to analyze pixels constituting image data and set a spot color area and a print area, and to embroidery data and a print area corresponding to the spot color area. Therefore, it is possible to obtain output results that make use of the characteristics of embroidery and printing based on image data, and the output position and output size of embroidery and printing are consistent. The acquired print data and embroidery data can be created.

また、請求項11に係る発明の印刷刺繍データ作成方法では、画像データを構成する画素を分析して特色領域と印刷領域とを設定して、特色領域に対応する刺繍データと印刷領域に対応する印刷データを作成するので、画像データをもとに刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性がとれた印刷データ及び刺繍データを作成することができる。   In the print embroidery data creation method according to the invention of claim 11, the pixels constituting the image data are analyzed to set the spot color area and the print area, and the embroidery data and the print area corresponding to the spot color area are handled. Since print data is created, it is possible to obtain output results that make use of the characteristics of embroidery and printing on the basis of image data, and printing that is consistent with the output position and output size of embroidery and printing. Data and embroidery data can be created.

また、請求項12に係る発明の印刷刺繍データのデータ構造では、刺繍装置に用いられる刺繍データと、印刷装置に用いられる印刷データとが1つの印刷刺繍データにまとめられているので、印刷データと刺繍データとを対応付けて記憶させることができる。   In the data structure of the print embroidery data according to the twelfth aspect, the embroidery data used in the embroidery device and the print data used in the printing device are combined into one print embroidery data. The embroidery data can be stored in association with each other.

また、請求項13に係る発明の印刷刺繍データのデータ構造では、請求項12に係る発明の効果に加え、画像データの画素単位での大きさに対する刺繍装置での現実に出力される大きさとの比率が、画像データの画素単位での大きさに対する印刷装置での現実に出力される大きさとの比率が等しいため、画像データを元に刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性をとることができる。   In the data structure of the print embroidery data according to the thirteenth aspect, in addition to the effect of the invention according to the twelfth aspect, the actual output size of the embroidery apparatus with respect to the size of the image data in units of pixels. Since the ratio of the ratio of the size of the image data in units of pixels to the size actually output by the printing apparatus is equal, an output result in which the characteristics of embroidery and printing are utilized based on the image data is obtained. In addition, the output position and output size of embroidery and printing can be made consistent.

また、請求項14に係る発明の印刷刺繍データのデータ構造では、請求項12又は13に係る発明の効果に加え、刺繍データは、色コード,刺繍位置,刺繍サイズを示す情報と、刺繍で表現するための縫目を示すステッチデータとから構成されるため、刺繍装置においては、画像データに表された図柄を正確に出力することができるとともに、刺繍の特性を活用した出力結果を得ることができる。   In the data structure of the print embroidery data according to the fourteenth aspect of the invention, in addition to the effects of the invention according to the twelfth or thirteenth aspect, the embroidery data is expressed by embroidery, information indicating the color code, the embroidery position, and the embroidery size. The embroidery device can output the pattern represented in the image data accurately and obtain an output result utilizing the characteristics of the embroidery. it can.

また、請求項15に係る発明の印刷刺繍データのデータ構造では、請求項12乃至14のいずれかに係る発明の効果に加え、印刷データは、印刷領域として設定された画素領域を示す情報と、印刷位置及び印刷サイズを示す情報とから構成されるため、印刷装置においては、画像データに表された図柄を正確に出力することができるとともに、印刷の特性を活用した出力結果を得ることができる。   In the data structure of the print embroidery data of the invention according to claim 15, in addition to the effects of the invention according to any of claims 12 to 14, the print data includes information indicating a pixel area set as a print area, Since it is composed of information indicating the print position and print size, the printing apparatus can accurately output the symbol represented in the image data and obtain an output result utilizing the printing characteristics. .

以下、本発明に係る印刷刺繍データ作成装置について、図面を参照して説明する。本発明に係る印刷刺繍データ作成装置は、画像データに表された図柄を、インクジェットプリンタによる印刷及び刺繍ミシンによる刺繍によって出力するために、印刷データと刺繍データとが関連付けられた印刷刺繍データを、当該画像データに基づいて作成するものである。   Hereinafter, a printing embroidery data creation apparatus according to the present invention will be described with reference to the drawings. The print embroidery data creation apparatus according to the present invention outputs print embroidery data in which print data and embroidery data are associated with each other in order to output the pattern represented in the image data by printing with an inkjet printer and embroidery with an embroidery sewing machine. It is created based on the image data.

ここで、インクジェットプリンタは、被記録媒体にインクを噴射して画像や文字等の印刷を行うものである。インクジェットプリンタは、インク供給源からインクジェットヘッドの複数の噴射チャンネルにインクを導き、発熱素子、圧電素子等のアクチュエータを選択的に駆動させて、噴射チャンネルの先端に設けられた噴射ノズルからインクの噴射を行っている。カラー画像を形成する場合には、画像を構成する各画素について、例えば、シアン(C)、マゼンタ(M)、イエロー(Y)の色の三原色にそれぞれ分解し、各色ごとに濃度を調整して噴射したインクの混合によってカラーの画素を形成している。黒色の画素は、3色の濃度をそれぞれ最大にして噴射したインクの混合によって、混合色として形成される。しかし、混合色として再現した黒色は、黒としてのコントラストが低くはっきりとしない、いわゆる締まりがない黒色となってしまうため、黒色の画素や、色の成分として黒色を含む画素についてはブラック(K)のインクを噴射して再現することが一般的である。   Here, the ink jet printer ejects ink onto a recording medium and prints images, characters, and the like. An ink jet printer guides ink from an ink supply source to a plurality of ejection channels of an ink jet head, selectively drives an actuator such as a heating element and a piezoelectric element, and ejects ink from an ejection nozzle provided at the tip of the ejection channel. It is carried out. When forming a color image, each pixel constituting the image is divided into, for example, three primary colors of cyan (C), magenta (M), and yellow (Y), and the density is adjusted for each color. Color pixels are formed by mixing the ejected ink. The black pixel is formed as a mixed color by mixing inks ejected with the density of the three colors maximized. However, the black color reproduced as a mixed color is a black color having a low contrast as black and so-called black with no tightening. Therefore, black (K) is used for black pixels and pixels including black as a color component. It is common to reproduce by ejecting the ink.

インクジェットプリンタには、当該インクジェットプリンタの動作を制御するためのパーソナルコンピュータが接続されており、このパーソナルコンピュータには、インクジェットプリンタの動作を制御するプログラムである各種アプリケーションや、また、印刷データを当該インクエジェットプリンタ固有のデータ形式に変換するプリンタドライバが記憶されている。また、メモリカード装置が搭載されており、印刷データが記憶されたメモリカードをメモリカード装置に装着することにより、外部から印刷データが供給される。印刷データには、印刷領域として設定された画素領域を示す情報と、印刷位置及び印刷サイズを示す情報が含まれており、この印刷データに基づいて、インクジェットプリンタの制御機構が自動的に印刷動作を実行する。   A personal computer for controlling the operation of the ink-jet printer is connected to the ink-jet printer. Various applications that are programs for controlling the operation of the ink-jet printer and print data are also transferred to the personal computer. A printer driver for conversion into a data format unique to the jet printer is stored. Also, a memory card device is mounted, and the print data is supplied from the outside by mounting the memory card storing the print data in the memory card device. The print data includes information indicating the pixel area set as the print area, and information indicating the print position and print size. Based on this print data, the control mechanism of the ink jet printer automatically performs a print operation. Execute.

一方、刺繍ミシンは、ミシンベッド上に配置された、刺繍を施そうとする加工布を保持する刺繍枠を、水平移動機構によって装置固有のX・Y座標系で示される所定位置に移動させながら、縫い針及び釜機構による縫製動作を行うことにより、その加工布に所定の図柄の刺繍を施すようになっており、前記水平移動機構や針棒等は、刺繍ミシンに内蔵されたマイクロコンピュータ等から構成される制御装置により制御される。   On the other hand, an embroidery sewing machine moves an embroidery frame arranged on a sewing machine bed, which holds a work cloth to be embroidered, to a predetermined position indicated by an apparatus-specific XY coordinate system by a horizontal movement mechanism. By performing a sewing operation with a sewing needle and a shuttle mechanism, the work cloth is embroidered with a predetermined pattern. The horizontal movement mechanism, the needle bar, etc. are a microcomputer built in the embroidery sewing machine, etc. It is controlled by a control device composed of

また、刺繍ミシンには、メモリカード装置が搭載されており、刺繍データが記憶されたメモリカードをメモリカード装置に装着することにより、外部から刺繍データが供給される。刺繍データには、色コード、刺繍位置及び刺繍サイズを示す情報と、刺繍で表現するための縫目を示すステッチデータが含まれており、この刺繍データに基づいて、刺繍ミシンの制御装置が自動的に刺繍動作を実行する。   The embroidery sewing machine is equipped with a memory card device, and embroidery data is supplied from the outside by mounting a memory card storing embroidery data on the memory card device. The embroidery data includes information indicating the color code, the embroidery position and the embroidery size, and stitch data indicating the stitches to be expressed by the embroidery. Based on this embroidery data, the embroidery sewing machine controller automatically The embroidery operation is executed.

まず、印刷刺繍データ作成装置についての構成について、図面を参照して説明する。図1は、印刷刺繍データ作成装置1の物理的構成を示す全体構成図である。図2は、印刷刺繍データ作成装置1の機能的構成を示すブロック図である。   First, the configuration of the print embroidery data creation device will be described with reference to the drawings. FIG. 1 is an overall configuration diagram showing a physical configuration of the print embroidery data creation apparatus 1. FIG. 2 is a block diagram showing a functional configuration of the print embroidery data creation apparatus 1.

図1に示すように、この印刷刺繍データ作成装置1は、上述したように、刺繍ミシンに供給される刺繍データと、インクジェットプリンタに供給される印刷データとを作成、編集するためのものである。基本的には、装置本体10と、この装置本体10に接続されるマウス21、キーボード22、メモリカードコネクタ23、表示装置24及びイメージスキャナ装置25から構成されている。   As shown in FIG. 1, this print embroidery data creation device 1 is for creating and editing embroidery data supplied to an embroidery sewing machine and print data supplied to an inkjet printer, as described above. . Basically, the apparatus main body 10 includes a mouse 21, a keyboard 22, a memory card connector 23, a display device 24, and an image scanner device 25 connected to the device main body 10.

また、図2に示すように、CPU11、ROM12、RAM13及びI/Oインターフェイス14を備えており、マウス21、キーボード22、メモリカードコネクタ23、表示装置24及びイメージスキャナ装置25がI/Oインターフェイス14に接続されている。MCは、メモリカードコネクタ23に接続可能なメモリカードである。   As shown in FIG. 2, the CPU 11, the ROM 12, the RAM 13, and the I / O interface 14 are provided, and the mouse 21, the keyboard 22, the memory card connector 23, the display device 24, and the image scanner device 25 are included in the I / O interface 14. It is connected to the. The MC is a memory card that can be connected to the memory card connector 23.

前記CPU11は、読み出し専用の記憶素子であるROM12に記憶された本発明に係る印刷刺繍データ作成プログラムに従って、各種演算及び処理を実行するものである。なお、専用機の場合は、ROMにプログラムが記憶されているが、汎用機(パーソナルコンピュータ等)の場合は、ハードディスク等に記憶されたプログラムをRAM上に読み込んで実行する。   The CPU 11 executes various operations and processes in accordance with a print embroidery data creation program according to the present invention stored in a ROM 12 which is a read-only storage element. In the case of a dedicated machine, the program is stored in the ROM, but in the case of a general-purpose machine (such as a personal computer), the program stored in the hard disk or the like is read into the RAM and executed.

前記RAM13は、任意に読み書き可能な記憶素子であり、イメージスキャナ装置25から読み込ませた画像データや、図示しないハードディスク、CD−ROM、CD−R等の外部記憶装置から読み出された画像データを記憶することができるようになっている。   The RAM 13 is a storage element that can be arbitrarily read and written, and stores image data read from the image scanner device 25 and image data read from an external storage device such as a hard disk, CD-ROM, or CD-R (not shown). It can be memorized.

次に、出力対象の画像データの入力から、図柄が印刷及び刺繍されたTシャツの完成までの全体の流れを説明する。図3は、「第1の実施の形態」における全体の流れを示すフローチャートである。図4は、人物の顔を映す写真画像の画像データを示す図である。   Next, the overall flow from the input of image data to be output to the completion of a T-shirt on which a design has been printed and embroidered will be described. FIG. 3 is a flowchart showing the overall flow in the “first embodiment”. FIG. 4 is a diagram showing image data of a photographic image showing a person's face.

図3に示すように、まず、作業者によって、画像データが装置本体10に入力される(S1)。画像データの入力は、イメージスキャナ装置25から読み込ませた画像データを入力してもよいし、ハードディスク、CD−ROM、CD−R等の外部記憶装置から読み出された画像データを装置本体10に直接入力することも可能である。本実施の形態においては、イメージスキャナ装置25によって、図4に示すような人物の顔を映す写真画像の画像データが読み込まれたものとする。   As shown in FIG. 3, first, image data is input to the apparatus main body 10 by an operator (S1). The image data may be input by inputting image data read from the image scanner device 25, or image data read from an external storage device such as a hard disk, CD-ROM, CD-R, etc. It is also possible to input directly. In the present embodiment, it is assumed that image data of a photographic image showing a person's face as shown in FIG. 4 is read by the image scanner device 25.

次に、作業者の指示により、印刷刺繍データ作成装置1において、印刷刺繍データ作成処理(S2)が実行される。この印刷刺繍データ作成処理により、入力された画像データに基づいて、印刷刺繍データが作成される。   Next, a print embroidery data creation process (S2) is executed in the print embroidery data creation apparatus 1 according to an instruction from the operator. By this print embroidery data creation process, print embroidery data is created based on the input image data.

この印刷刺繍データ作成処理(S2)の詳細を、図5乃至17を参照して説明する。図5は、印刷刺繍データ作成処理(S2)のメインフローチャートを示す図である。図6は、特色の入力画面を示す図である。図7は、特色対応テーブルを示す図である。図8は、特色領域分解処理(S13)の詳細を示すフローチャートである。図9は、(a)が特色領域分解処理(S13)によって設定された特色領域を示す図、(b)が特色領域分解処理(S13)によって設定された印刷領域を示す図である。図10は、(a)が刺繍データ作成処理(S14)によって作成された、特色領域に対応する刺繍データを示す図、(b)が刺繍データ作成処理(S13)によって作成された、特色領域以外の領域(印刷領域)に対応する刺繍データを示す図である。図11は、刺繍データ合成処理(S15)によって合成された刺繍データの一例を示す図である。図12は、刺繍データに含まれるステッチデータの概念を示す図である。図13は、刺繍データ合成処理(S15)によって合成された刺繍データを示す図である。図14は、印刷データ生成処理(S16)によって生成された印刷データの一例を示す図である。図15は、印刷データ生成処理(S16)によって生成された印刷データを示す図である。図16は、印刷刺繍データ編集処理(S17)によって出力される図柄を説明するための図である。   Details of the print embroidery data creation process (S2) will be described with reference to FIGS. FIG. 5 is a diagram showing a main flowchart of the print embroidery data creation process (S2). FIG. 6 shows a spot color input screen. FIG. 7 shows a spot color correspondence table. FIG. 8 is a flowchart showing details of the spot color area separation process (S13). FIG. 9A is a diagram showing a spot color area set by the spot color area separation process (S13), and FIG. 9B is a diagram showing a print area set by the spot color area separation process (S13). 10A is a diagram showing embroidery data corresponding to the spot color area created by the embroidery data creation process (S14), and FIG. 10B is a view other than the spot color area created by the embroidery data creation process (S13). It is a figure which shows the embroidery data corresponding to the area | region (printing area | region). FIG. 11 is a diagram showing an example of the embroidery data synthesized by the embroidery data synthesis process (S15). FIG. 12 is a diagram showing a concept of stitch data included in embroidery data. FIG. 13 is a diagram showing the embroidery data synthesized by the embroidery data synthesis process (S15). FIG. 14 is a diagram illustrating an example of print data generated by the print data generation process (S16). FIG. 15 is a diagram showing print data generated by the print data generation process (S16). FIG. 16 is a diagram for explaining the symbols output by the print embroidery data editing process (S17).

図5に示すように、まず、作業者によって、特色が指定される(S11)。特色とは、刺繍ミシンで使用される刺繍糸の糸色として、作業者が任意に指定した色である。この場合には、図6に示すような特色の入力画面が、表示装置24(図1参照)に表示されて、作業者はこの入力画面から、マウス21やキーボード22を用いて任意の1以上の色を特色として入力指定する。詳細には、まず、作業者は、使用する刺繍糸の糸色数を入力するが、入力する糸色数は単数であるか複数であるかを問わない。そして、作業者は、当該入力された糸色数だけ、図6の入力画面から使用する刺繍糸の糸色情報と色コードとを入力する。これにより、図7に示すような特色対応テーブルを作成される。図7に示す特色対応テーブルには、作業者が入力指定した特色の色コードと当該色コードのRGB値とが対応付けて記憶されている。なお、この特色対応テーブルは、装置本体10のRAM13において作成及び記憶される。また、このとき、作業者が、刺繍ミシンにおける糸色の縫い順を同時に設定するようにしてもよい。また、糸色の縫い順は、予め設定しておいてもよく、入力画面に従って、作業者が入力するようにしてもよい。なお、特色として指定された任意の色は、刺繍ミシンにおいて使用される刺繍糸の色と一致している場合に限らず、刺繍ミシン又は装置本体10にて、作業者が指定した特色に近い刺繍糸の色が選択されるようにしてもよい。   As shown in FIG. 5, first, a spot color is designated by the operator (S11). The special color is a color arbitrarily designated by the operator as the thread color of the embroidery thread used in the embroidery sewing machine. In this case, an input screen of a special color as shown in FIG. 6 is displayed on the display device 24 (see FIG. 1), and the operator can select any one or more from the input screen using the mouse 21 and the keyboard 22. The input color is specified as a special color. Specifically, first, the operator inputs the number of thread colors of the embroidery thread to be used, but it does not matter whether the number of thread colors to be input is singular or plural. Then, the operator inputs the thread color information and the color code of the embroidery thread to be used from the input screen of FIG. 6 by the number of the input thread colors. As a result, a spot color correspondence table as shown in FIG. 7 is created. In the spot color correspondence table shown in FIG. 7, the color code of the spot color specified by the operator and the RGB value of the color code are stored in association with each other. The spot color correspondence table is created and stored in the RAM 13 of the apparatus main body 10. At this time, the operator may simultaneously set the thread color sewing order in the embroidery sewing machine. The thread color sewing order may be set in advance, or may be input by the operator according to the input screen. The arbitrary color designated as the special color is not limited to the color of the embroidery thread used in the embroidery sewing machine, but the embroidery that is close to the special color designated by the operator on the embroidery sewing machine or the apparatus main body 10 is used. The color of the thread may be selected.

なお、本実施の形態では、作業者は特色として「黒」を指定したものとし、図6の入力画面から黒色の刺繍糸の糸色情報と色コードとが入力されて、RAM12の特色対応テーブルには黒色の色コードとそのRGB値が記憶されているものとする。   In the present embodiment, it is assumed that the operator has designated “black” as the spot color, and the thread color information and color code of the black embroidery thread are input from the input screen of FIG. Assume that a black color code and its RGB value are stored in.

次に、作業者により、S1で入力された画像データの出力サイズ及び出力位置が指定される(S12)。出力サイズは、出力対象の画像データが現実にTシャツ等へ印刷又は刺繍される際の大きさである。また、出力位置は、出力対象の画像データが現実に出力されるTシャツ等における位置である。この出力サイズ及び出力位置の指定は、作業者がインチやcm等の現実の大きさを示す単位で、表示装置24(図1参照)に表示される表示画面から、マウス21やキーボード22を用いて指定する。すなわち、Tシャツ等の布帛への出力対象である画像データが、インクジェットプリンタによる印刷及び刺繍ミシンによる刺繍によって出力されるサイズ及び位置を指定する。画像データを示すためのピクセル単位は、コンピュータにおける指標であって現実のサイズ等を示すものでない。よって、このステップにおいて、作業者は画像データがTシャツ等に出力される任意のサイズ及び位置を、例えば、cmやインチ等の現実の単位で指定する。本実施の形態においては、図4で示す画像データを、縦120mm×横90mmのサイズで、Tシャツ上の所定の位置に出力することを作業者が指定したものとして、説明を続ける。   Next, the operator specifies the output size and output position of the image data input in S1 (S12). The output size is the size when the image data to be output is actually printed or embroidered on a T-shirt or the like. The output position is a position on a T-shirt or the like where image data to be output is actually output. The output size and the output position are specified in units of the actual size such as inches or cm by the operator using the mouse 21 or the keyboard 22 from the display screen displayed on the display device 24 (see FIG. 1). Specify. That is, the size and position of image data to be output to a fabric such as a T-shirt is output by printing with an inkjet printer and embroidery with an embroidery sewing machine. A pixel unit for indicating image data is an index in a computer and does not indicate an actual size or the like. Therefore, in this step, the operator designates an arbitrary size and position at which image data is output to a T-shirt or the like, for example, in actual units such as cm and inches. In the present embodiment, the description will be continued on the assumption that the operator has designated that the image data shown in FIG. 4 be output at a predetermined position on the T-shirt in a size of 120 mm long × 90 mm wide.

ここで、図4に示すような画像データを構成する全ての画素を出力対象としてもよいし、当該画像データの一部を指定して、その指定された部分を出力対象とすることもできる。本実施の形態においては、図4に示す画像データのうち、人物以外の背景部分は出力対象から外して、人物の顔の図柄のみが印刷又は刺繍によって出力されるものとする。なお、この出力部分の指定は、表示装置24(図1参照)に図4に示すような画像データが表示されて、作業者はこの表示画面から、マウス21やキーボード22を用いて任意の出力部分を指定することができる。   Here, all the pixels constituting the image data as shown in FIG. 4 may be output targets, or a part of the image data may be specified and the specified portion may be the output target. In the present embodiment, it is assumed that, in the image data shown in FIG. 4, the background portion other than the person is excluded from the output target, and only the face pattern of the person is output by printing or embroidery. For the designation of the output portion, image data as shown in FIG. 4 is displayed on the display device 24 (see FIG. 1), and the operator can arbitrarily output from the display screen using the mouse 21 or the keyboard 22. A part can be specified.

S11において特色が指定され、また、S12において出力サイズ及び出力位置が指定されると、装置本体10において特色領域分解処理(S13)が実行される。特色領域分解処理は、S1で入力された画像データを構成する複数の画素が、S11で指定された特色に対応するか否かを判定し、特色に対応する場合には当該特色の刺繍糸によって刺繍される特色領域とする一方、それ以外の領域はインクジェットプリンタによって印刷される印刷領域とするものである。なお、本実施の形態においては、特色に対応する領域以外の領域(印刷領域)には、さらに、刺繍ミシンにおいて白色の刺繍糸が刺繍されるものとして、以下、説明を続ける。   When a spot color is designated in S11 and an output size and output position are designated in S12, spot color area separation processing (S13) is executed in the apparatus main body 10. In the spot color region separation process, it is determined whether or not a plurality of pixels constituting the image data input in S1 correspond to the spot color specified in S11. The special color area to be embroidered is used, while the other area is a print area printed by the ink jet printer. In the present embodiment, the description will be continued below assuming that a white embroidery thread is further embroidered in an embroidery sewing machine in a region (printing region) other than the region corresponding to the spot color.

図8に示すように、特色領域分解処理(S13)では、まず、閾値Tが設定される(S31)。閾値Tは、画像データを構成する各画素を、特色領域として設定すべき値か否かを判定する際の基準となる基準値である。この閾値Tは、作業者が特色毎に設定してもよいし、全ての特色に共通の1つの閾値Tを設定してもよい。また、予め装置本体10に記憶されている閾値Tを自動的に設定するようにしてもよい。   As shown in FIG. 8, in the spot color region separation process (S13), first, a threshold value T is set (S31). The threshold value T is a reference value serving as a reference when determining whether or not each pixel constituting the image data is a value to be set as a spot color area. The threshold T may be set for each spot color by the operator, or one threshold T common to all spot colors may be set. Further, the threshold value T stored in advance in the apparatus main body 10 may be automatically set.

次に、S1で入力された画像データを構成する個々の画素について、走査によって各画素の判定が実行される。そのため、最初に当該画像データのX・Y座標系におけるX座標の最初の値(X=0)及びY座標の最初の値(Y=0)が設定される(S32)。そして、画素(X,Y)のRGB値が取得される(S33)。なお、最初は、S32で設定された画素(0,0)のRGB値が取得されることになる。   Next, the determination of each pixel is performed by scanning the individual pixels constituting the image data input in S1. Therefore, first, the first value of the X coordinate (X = 0) and the first value of the Y coordinate (Y = 0) in the XY coordinate system of the image data are set (S32). Then, the RGB value of the pixel (X, Y) is acquired (S33). Initially, the RGB value of the pixel (0, 0) set in S32 is acquired.

S33において、画素(X,Y)のRGB値が取得されたら、当該RGB値に基づいて色差距離Dが計算される(S34)。色差距離Dは、特色のRGB値と画素のRGB値との、色の違いである色差を絶対値の距離で示したものであり、この値が大きいほど特色と画素との色差が大きいことを示し、逆にこの値が小さいほど特色と画素との色差が小さいことを示す。この色差距離Dは、以下の数1に示す数式を用いて計算される。なお、数1において、特色のRGB値(r1,g1,b1)、画素(X,Y)のRGB値(r2,g2,b2)である。

Figure 2005230256
When the RGB value of the pixel (X, Y) is acquired in S33, the color difference distance D is calculated based on the RGB value (S34). The color difference distance D indicates the color difference, which is the color difference between the RGB value of the spot color and the RGB value of the pixel, as an absolute value distance. The larger the value, the greater the color difference between the spot color and the pixel. Conversely, the smaller this value, the smaller the color difference between the spot color and the pixel. This color difference distance D is calculated using the following mathematical formula 1. In Equation 1, the RGB values (r1, g1, b1) of the special color and the RGB values (r2, g2, b2) of the pixel (X, Y) are shown.
Figure 2005230256

次に、S34で計算された色差距離DとS31で設定された閾値Tとが比較される(S35)。その結果、色差距離Dが閾値Tよりも小さいと判定された場合(S35:YES)、当該画素は特色領域として設定される(S36)。一方、色差距離Dが閾値Tよりも小さいと判定されなかった場合(S35:NO)、当該画素は印刷領域として設定される(S37)。すなわち、S35では、判定対象画素と特色との色差距離Dが閾値Tより小さい場合は、当該画素は特色によって表現できる範囲内の色であるとみなし、当該画素は刺繍によって出力されるべき領域であるとして特色領域が設定される。一方、判定対象画素と特色との色差距離Dが閾値Tより大きい場合は、当該画素は当該特色とは大きく色が異なっており、当該画素は当該特色では表現できない色であるから、当該画素は印刷によって出力されるべき領域であるとして印刷領域が設定される。   Next, the color difference distance D calculated in S34 is compared with the threshold T set in S31 (S35). As a result, when it is determined that the color difference distance D is smaller than the threshold value T (S35: YES), the pixel is set as a spot color area (S36). On the other hand, when it is not determined that the color difference distance D is smaller than the threshold value T (S35: NO), the pixel is set as a print area (S37). That is, in S35, when the color difference distance D between the determination target pixel and the special color is smaller than the threshold T, the pixel is regarded as a color within a range that can be expressed by the special color, and the pixel is an area to be output by embroidery. A spot color area is set as there is. On the other hand, when the color difference distance D between the determination target pixel and the spot color is larger than the threshold T, the pixel is greatly different from the spot color and the pixel cannot be expressed by the spot color. A print area is set as an area to be output by printing.

そして、画像データを構成する全ての画素について処理を実行されていなければ(S38:NO)、すなわち未処理の画素が残っていれば、次の画素のX及びYの値が設定されて(S39)、S33へ戻る。以上により、画像データを構成する全ての画素について処理が実行されるまで、S33〜S38の処理が繰り返される。その結果、例えば、特色「黒」である場合には、特色「黒」に対応する画素の集合である画素領域は特色領域として設定される。なお、それ以外の画素の集合である画素領域は、印刷領域として設定される。   If processing has not been performed for all the pixels constituting the image data (S38: NO), that is, if unprocessed pixels remain, the X and Y values of the next pixel are set (S39). ), Return to S33. As described above, the processing of S33 to S38 is repeated until the processing is executed for all the pixels constituting the image data. As a result, for example, when the spot color is “black”, a pixel area that is a set of pixels corresponding to the spot color “black” is set as the spot color area. A pixel area that is a set of other pixels is set as a print area.

画像データを構成する全ての画素について処理を実行された後(S38:YES)、全ての特色について処理が実行されていなければ(S40:NO)、すなわちS11において特色を複数指定されており、未処理の特色があれば、次の特色が選択されて(S41)、S31へ戻る。一方、全ての特色について処理を実行していれば(S40:YES)、本処理を終了する。以上により、S11において指定された全ての特色について処理が実行されるまで、S31〜S40の処理が繰り返される。その結果、例えば、S11において特色として「黒」と「赤」が設定された場合、特色「黒」である場合の特色領域及び印刷領域の加えて、特色「赤」である場合の特色領域及び印刷領域が設定されることになる。なお、このように複数の特色が設定されている場合は、いずれの特色にも対応しない画素領域が、最終的には印刷領域として設定され、それ以外の画素領域は、いずれかの特色に対応した特色領域が設定される。   After processing has been executed for all the pixels constituting the image data (S38: YES), if processing has not been executed for all the spot colors (S40: NO), that is, a plurality of spot colors have been designated in S11, If there is a processing spot color, the next spot color is selected (S41), and the process returns to S31. On the other hand, if the process has been executed for all the spot colors (S40: YES), this process ends. As described above, the processing of S31 to S40 is repeated until the processing is executed for all the spot colors specified in S11. As a result, for example, when “black” and “red” are set as the spot colors in S11, in addition to the spot color area and the print area when the spot color is “black”, the spot color area when the spot color is “red” and A print area is set. If multiple spot colors are set in this way, the pixel area that does not correspond to any spot color is finally set as a print area, and the other pixel areas correspond to any spot color. The special color area is set.

以上、図8に示す特色領域分解処理(S13)によって、S1で入力された画像データを構成する画素は、刺繍ミシンによって刺繍されるべき特色領域と、インクジェットプリンタによって印刷されるべき印刷領域とに分解及び設定される。本実施の形態においては、S1で入力された画像データは図4に示すような人物の顔の図柄を表すものであり、また、S11で作業者によって指定された特色が「黒」であるから、上記の処理によって、図4に示す画像データは、図9に示すように分解及び設定される。すなわち、図9(a)に示すように、画像データのうちで特色領域として設定された画素領域は、人物の顔の図柄のうち、特色「黒」に色差が近い髪の毛部分に対応している。また、図9(b)に示すように、画像データのうちで印刷領域として設定された画素領域は、人物の顔の図柄のうち、特色領域として設定された髪の毛部分以外に対応している。   As described above, the pixels constituting the image data input in S1 by the spot color area separation process (S13) shown in FIG. 8 are divided into the spot color area to be embroidered by the embroidery sewing machine and the print area to be printed by the inkjet printer. Disassemble and set. In the present embodiment, the image data input in S1 represents the figure of the person's face as shown in FIG. 4, and the spot color designated by the operator in S11 is “black”. By the above processing, the image data shown in FIG. 4 is decomposed and set as shown in FIG. That is, as shown in FIG. 9A, the pixel area set as the spot color area in the image data corresponds to the hair portion of the human face pattern whose color difference is close to the spot color “black”. . Further, as shown in FIG. 9B, the pixel area set as the print area in the image data corresponds to a part other than the hair portion set as the spot color area in the human face pattern.

図5に戻り、装置本体10において、特色領域分解処理(S13)の後に、特色領域に基づいて刺繍データを作成する刺繍データ作成処理が実行される(S14)。刺繍データは、色コード,刺繍位置,刺繍サイズを示す情報と、刺繍で表現するための縫目を示すステッチデータとから構成されるものである。ステッチデータにおいては、例えば刺繍ミシンに固有のX・Y座標系における一針毎の加工布のX・Y方向の移動量などで、各ステッチの針落ち位置が指示されている。   Returning to FIG. 5, in the apparatus main body 10, the embroidery data creation process for creating embroidery data based on the spot color area is executed after the spot color area separation process (S13) (S14). The embroidery data is composed of information indicating a color code, an embroidery position, and an embroidery size, and stitch data indicating a stitch to be expressed by embroidery. In the stitch data, for example, the needle drop position of each stitch is indicated by the amount of movement in the X / Y direction of the work cloth for each stitch in the X / Y coordinate system unique to the embroidery sewing machine.

また、この刺繍データ作成処理(S14)において、ピクセル単位の画像データは、刺繍ミシンにおいて刺繍される現実の出力サイズに変換され、画像データを刺繍する位置も現実のTシャツ等における位置に変換される。また、Tシャツ等における刺繍位置を示すステッチデータが作成される。なお、先述のように、S12において、画像データを縦12cm×横9cmで所定位置に出力することが指示されている。   In this embroidery data creation process (S14), the pixel unit image data is converted to an actual output size to be embroidered on the embroidery sewing machine, and the position where the image data is embroidered is also converted to a position on an actual T-shirt or the like. The Also, stitch data indicating the embroidery position in a T-shirt or the like is created. As described above, in S12, it is instructed to output the image data to a predetermined position with a length of 12 cm and a width of 9 cm.

ここで、刺繍データ作成処理(S14)における、画像データの画素単位での大きさに対する刺繍ミシンでの現実に出力される大きさとの比率は、後述の印刷データ生成処理(S16)における、画像データの画素単位での大きさに対するインクジェットプリンタでの現実に出力される大きさとの比率と、等しい値によって出力サイズが変換される。これにより、刺繍データ生成処理(S14)によって作成される刺繍データと、印刷データ生成処理(S16)によって作成される印刷データとは、同一の比率によって変換されるため、刺繍及び印刷の出力サイズ及び出力位置に整合性をとることができる。   Here, in the embroidery data creation process (S14), the ratio of the actual output size of the embroidery sewing machine to the size of the image data in pixel units is the image data in the print data generation process (S16) described later. The output size is converted by a value equal to the ratio of the actual size output by the inkjet printer to the size in units of pixels. Thus, since the embroidery data created by the embroidery data generation process (S14) and the print data created by the print data generation process (S16) are converted at the same ratio, the embroidery and print output sizes and Consistency can be achieved at the output position.

画像データから刺繍データを作成する手法としては、各種の公知技術が知られており、いずれの技術によるものでも適用可能である。本実施の形態では、一例として、濃淡や色等が2次元的に連続して変化するような写真画像等を刺繍によって忠実に再現することができる刺繍ミシンに適した刺繍データを作成する手法である特開平2001−259268号に記載の刺繍データ作成技術により、刺繍データが作成されるものとする。   Various known techniques are known as methods for creating embroidery data from image data, and any technique can be applied. In this embodiment, as an example, a method of creating embroidery data suitable for an embroidery sewing machine that can faithfully reproduce a photographic image or the like whose density, color, etc. changes continuously two-dimensionally by embroidery. It is assumed that embroidery data is created by an embroidery data creation technique described in JP-A-2001-259268.

本実施の形態では、上記の刺繍データ作成処理(S14)によって、特色「黒」についての刺繍データが作成される。さらに、本実施の形態では、特色領域以外の領域(印刷領域)として設定された画素領域については、白色の刺繍糸による刺繍が施される。そのため、印刷領域として設定された画素領域についても、刺繍データ作成処理(S14)が実行され、特色「白」の刺繍データ(第2の刺繍データ)が作成される。   In the present embodiment, embroidery data for the spot color “black” is created by the embroidery data creation process (S14). Further, in the present embodiment, the pixel area set as an area (printing area) other than the spot color area is embroidered with a white embroidery thread. Therefore, the embroidery data creation process (S14) is executed for the pixel area set as the print area, and the embroidery data (second embroidery data) for the special color “white” is created.

図10(a)は、特色「黒」についての刺繍データを図示したものであり、図8の特色領域分解処理(S13)によって特色領域として設定された画素領域である人物の髪の毛部分について、黒色の刺繍糸による刺繍データが作成されたことを示す。また、図10(b)は、特色「白」についての刺繍データを図示したものであり、図8の特色領域分解処理(S13)によって印刷領域として設定された画素領域である人物の髪の毛以外の部分について、白色の刺繍糸による刺繍データが作成されたことを示す。また、図10(a),(b)のいずれの刺繍データも、出力媒体であるTシャツにおける出力サイズは、縦12cm×横9cmであり、この出力サイズはS12において作業者により指定されたものである。   FIG. 10A illustrates embroidery data for the special color “black”. For a human hair portion which is a pixel area set as a special color area by the special color area decomposition process (S13) of FIG. This indicates that embroidery data with the embroidery thread is created. FIG. 10B illustrates the embroidery data for the spot color “white”, which is a pixel area set as a print area by the spot color area decomposition process (S13) of FIG. This indicates that the embroidery data with the white embroidery thread has been created for the portion. 10A and 10B, the output size of the T-shirt which is the output medium is 12 cm long × 9 cm wide, and this output size is designated by the operator in S12. It is.

図5に戻り、装置本体10において、刺繍データ作成処理(S14)によって特色毎の刺繍データが作成されると、これらを1つの刺繍データにまとめるための刺繍データ合成処理が実行される(S15)。すなわち、刺繍ミシンにおいて一括して実行できるように、特色毎の刺繍データを1つに合成して、
[白色の色コード]+[印刷領域のステッチデータ]+[特色1の色コード]+[特色1のステッチデータ]+[特色2の色コード]+[特色2のステッチデータ]…+[特色Xの色コード]+[特色Xのステッチデータ]
というような、特色毎の刺繍データが1つにまとまった刺繍データが合成される。すなわち、この合成された刺繍データは、特色毎の刺繍データが1つにまとまっており、かつ、Tシャツ等における刺繍位置を示すステッチデータと、特色の色コード等の関連情報を含むものであって、刺繍ミシンにおける現実の出力サイズ及び出力位置を示すものである。
Returning to FIG. 5, when the embroidery data for each spot color is created by the embroidery data creation process (S14) in the apparatus body 10, an embroidery data synthesis process is performed to combine these into one embroidery data (S15). . That is, the embroidery data for each spot color is combined into one so that it can be executed collectively on the embroidery sewing machine.
[White color code] + [Print area stitch data] + [Special color 1 color code] + [Special color 1 stitch data] + [Special color 2 color code] + [Special color 2 stitch data] ... + [Special color X color code] + [Stitch data of spot color X]
The embroidery data in which the embroidery data for each spot color is combined into one is synthesized. That is, the synthesized embroidery data is a single piece of embroidery data for each spot color, and includes stitch data indicating the embroidery position in a T-shirt and the like, and related information such as a color code of the spot color. Thus, the actual output size and output position of the embroidery sewing machine are shown.

この刺繍データについて、図11及び図12を参照して具体的に説明する。図11に示すように、合成された刺繍データは、色替えコード41,ステッチコード42,フィードコード43,終了コード44から構成されている。色替えコード41は特色の色コードを示すものである。ステッチコード42は、色替えコード41に示される特色の刺繍糸によって、刺繍が行われる位置を示す座標情報である。フィードコード43は、不連続なステッチ間に置かれて、ステッチの連続の区切りを示すものである。また、終了コード44は、当該刺繍データの終端に設けられ、刺繍ミシンが刺繍データの終了を認識するための識別コードである。特色毎の刺繍データは、色替えコード41を先頭に、以下ステッチコード42とフィードコード43の繰り返しによって構成される。これら特色毎の刺繍データが1つとなって構成され、終端に終了コード44が設けられたものが、S14において合成された刺繍データである。なお、図11における色替えコード41が[特色Xの色コード]に対応し、ステッチコード42及びフィードコード43が[特色Xのステッチデータ]に対応する。   The embroidery data will be specifically described with reference to FIG. 11 and FIG. As shown in FIG. 11, the synthesized embroidery data includes a color change code 41, a stitch code 42, a feed code 43, and an end code 44. The color change code 41 indicates a color code of a special color. The stitch code 42 is coordinate information indicating a position where the embroidery is performed by the special color embroidery thread indicated by the color change code 41. The feed code 43 is placed between the discontinuous stitches to indicate a continuous break between stitches. The end code 44 is an identification code that is provided at the end of the embroidery data and is used by the embroidery machine to recognize the end of the embroidery data. The embroidery data for each spot color is formed by repeating a stitch code 42 and a feed code 43 with the color change code 41 at the head. The embroidery data composed in one embroidery data for each spot color and provided with an end code 44 at the end is the embroidery data synthesized in S14. Note that the color change code 41 in FIG. 11 corresponds to [color code of spot color X], and the stitch code 42 and the feed code 43 correspond to [stitch data of spot color X].

刺繍ミシンにおいては、合成された刺繍データが先頭から順に読込まれていき、色替えコード41が読込まれると、色替えコード41に示された特色の刺繍糸が自動的に所定位置にセットされ、又は、当該特色の刺繍糸を所定位置にセットすべき旨を作業者に対して表示する等の処理が実行される。その後、後続のステッチコード42に示される座標位置(針落ち位置)に基づいて、当該特色の刺繍糸による刺繍が実行される。図11では、ステッチコードには、一針毎の加工布のX・Y方向の移動量が、X座標及びY座標が連続した数値によって示されている。   In the embroidery sewing machine, the synthesized embroidery data is read sequentially from the beginning, and when the color change code 41 is read, the embroidery thread of the special color indicated by the color change code 41 is automatically set at a predetermined position. Alternatively, processing such as displaying to the operator that the special color embroidery thread should be set at a predetermined position is executed. Thereafter, embroidery with the embroidery thread of the particular color is executed based on the coordinate position (needle drop position) indicated by the subsequent stitch code 42. In FIG. 11, the stitch code indicates the movement amount of the work cloth for each stitch in the X and Y directions by numerical values in which the X coordinate and the Y coordinate are continuous.

さらに後続のフィードコード43が読込まれると、刺繍ミシンにおいては、ステッチの連続の終端に至ったと判定されて、とめ縫いが実行される。そして、次のステッチコード42が読込まれると、当該ステッチコード42における最初の針落ち位置まで刺繍が中断された状態で移動がなされ、当該最初の針落ち位置において、再びとめ縫いが実行される。このようにフィードコード43の前後において、とめ縫いを実行するのは以下の理由による。刺繍での縫製の場合、通常は1ステッチ1〜3mmであるところ、同一特色によって刺繍されるステッチが不連続であった場合に、区切りを付けずにステッチを連続させてしまうと、刺繍がほどけてしまうという問題がある。そこで、不連続なステッチ間にはフィードコード43を設けて、連続したステッチのみで1つのまとまりとしてステッチコード42に格納し、各ステッチコード42の最初の針落ち位置及び最後の針落ち位置には、縫製のほぐれを防止するためのとめ縫いが実行されるようにしている。   When the subsequent feed code 43 is further read, the embroidery sewing machine determines that the end of continuous stitches has been reached, and performs the stitching. Then, when the next stitch code 42 is read, the movement is performed in a state where the embroidery is interrupted to the first needle drop position in the stitch code 42, and the end stitch is executed again at the first needle drop position. . The reason for performing the stitching before and after the feed code 43 in this way is as follows. In the case of sewing with embroidery, usually 1 stitch is 1 to 3 mm. However, if the stitches embroidered by the same spot color are discontinuous and the stitches are continued without being separated, the embroidery is unraveled. There is a problem that it ends up. Therefore, a feed code 43 is provided between the discontinuous stitches, and only a continuous stitch is stored as one unit in the stitch code 42, and the first needle drop position and the last needle drop position of each stitch code 42 are stored. In order to prevent loosening of the sewing, a seam stitch is executed.

全ての色替えコード41について、ステッチコード42及びフィードコード43の繰り返しによる刺繍が実行され、最後に終了コード44が読込まれると、刺繍ミシンにおいては、刺繍データの終了が認識されて刺繍作業が終了される。   For all the color change codes 41, embroidery is executed by repeating the stitch code 42 and the feed code 43, and when the end code 44 is finally read, the embroidery machine recognizes the end of the embroidery data and performs the embroidery work. Is terminated.

図12に示すように、実線で示される各ステッチコード42は、複数のステッチの連続であり、(Xa、Ya),(Xm1、Ym1),(Xm2、Ym2)・・・(Xb、Yb)のように、針落ち位置を示す座標によって示されている。各ステッチコード42の先頭座標と終端座標においては、とめ縫い44が施される。また、フィードコート43が読込まれると点線で示すように、刺繍が施されない状態で、ステッチコード42の終端座標(Xb、Yb)から次のステッチコード42の先頭座標(Xc、Yc)に移動され、その先頭座標から(Xc、Yc),(Xn1、Yn1),(Xn2、Yn2)・・・(Xd、Yd)という針落ち位置の順で、刺繍が実行される。   As shown in FIG. 12, each stitch code 42 indicated by a solid line is a sequence of a plurality of stitches, and (Xa, Ya), (Xm1, Ym1), (Xm2, Ym2)... (Xb, Yb) As shown, the coordinates indicate the needle drop position. At the start coordinate and the end coordinate of each stitch code 42, a stitch 44 is applied. When the feed coat 43 is read, as indicated by a dotted line, the stitch code 42 moves from the end coordinates (Xb, Yb) to the start coordinates (Xc, Yc) of the next stitch code 42 without being embroidered. Then, embroidery is executed in the order of the needle entry positions of (Xc, Yc), (Xn1, Yn1), (Xn2, Yn2)... (Xd, Yd) from the head coordinates.

本実施の形態においては、特色領域以外の画素領域(印刷領域として設定された画素領域)についても白色を特色とした第2の刺繍データが作成され、当該第2の刺繍データに基づいて白色の刺繍糸による刺繍が施されることから、[白色の色コード]と[印刷領域のステッチデータ]が刺繍データにおいて先頭位置に設けられている。しかし、特色領域以外の画素領域(印刷領域として設定された画素領域)に刺繍を施さない場合は、
[特色1の色コード]+[特色1のステッチデータ]+[特色2の色コード]+[特色2のステッチデータ]…+[特色Xの色コード]+[特色Xのステッチデータ]
というような、特色毎の刺繍データが1つにまとまった刺繍データが合成される。
In the present embodiment, second embroidery data with white as a special color is also created for pixel areas other than the spot color area (pixel areas set as print areas), and white color is generated based on the second embroidery data. Since embroidery is performed with the embroidery thread, [white color code] and [stitch data of the print area] are provided at the head position in the embroidery data. However, when not embroidering the pixel area (pixel area set as the print area) other than the spot color area,
[Special Color 1 Color Code] + [Special Color 1 Stitch Data] + [Special Color 2 Color Code] + [Special Color 2 Stitch Data] ... + [Special Color X Color Code] + [Special Color X Stitch Data]
The embroidery data in which the embroidery data for each spot color is combined into one is synthesized.

なお、本発明の刺繍データにおける、「色コードを示す情報」に相当するのが[特色Xの色コード](色替えコード41)であり、「刺繍位置及び刺繍サイズを示す情報」と「特色領域を刺繍で表現するための縫目を示すステッチデータ」とに相当するのが[特色Xのステッチデータ](ステッチコード42及びフィードコード43)である。   In the embroidery data of the present invention, “color code indicating color code” (color code of special color X) (color change code 41) corresponds to “information indicating embroidery position and embroidery size” and “spot color”. "Stitch data indicating stitches for expressing an area by embroidery" corresponds to [spot data of spot color X] (stitch code 42 and feed code 43).

上記の刺繍データ合成処理(S15)によって、特色毎の刺繍データが1つに合成された刺繍データを図13に示す。図10(a),(b)に示す特色毎の刺繍データが1つに合成された結果、特色領域として設定された画素領域である人物の髪の毛部分については、黒色の刺繍糸による刺繍が実行される一方、印刷領域として設定された画素領域である人物の髪の毛以外の部分については、白色の刺繍糸による刺繍が実行されることを示す刺繍データが合成されることを、図13は示している。なお、この合成された刺繍データについても、Tシャツにおける出力サイズは縦12cm×横9cmであり、指定された出力位置に刺繍が施される。   FIG. 13 shows embroidery data in which the embroidery data for each spot color is combined into one by the above-described embroidery data combining process (S15). As a result of combining the embroidery data for each spot color shown in FIGS. 10A and 10B into one, embroidery with a black embroidery thread is performed on the human hair portion which is the pixel area set as the spot color area. On the other hand, FIG. 13 shows that embroidery data indicating that embroidery with a white embroidery thread is executed is synthesized with respect to a portion other than the human hair that is the pixel region set as the print region. Yes. Note that this synthesized embroidery data also has an output size of 12 cm long × 9 cm wide in a T-shirt, and embroidery is applied at a designated output position.

図5に戻り、装置本体10において、次に、印刷領域に基づいて印刷データを生成する印刷データ生成処理が実行される(S16)。   Returning to FIG. 5, in the apparatus main body 10, next, a print data generation process for generating print data based on the print area is executed (S16).

ここで、印刷データ生成処理(S16)における、画像データの画素単位での大きさに対するインクジェットプリンタでの現実に出力される大きさとの比率は、先述の刺繍データ作成処理(S14)における、画像データの画素単位での大きさに対する刺繍ミシンでの現実に出力される大きさとの比率と、等しい値によって出力サイズが変換される。これにより、印刷データ生成処理(S16)によって作成される印刷データと、刺繍データ作成処理(S14)によって作成される刺繍データとは、同一の比率によって変換されるため、刺繍及び印刷の出力サイズに整合性をとることができる。   Here, in the print data generation process (S16), the ratio of the actual size output by the inkjet printer to the size of the image data in pixel units is the image data in the embroidery data creation process (S14). The output size is converted by a value equal to the ratio of the actual output size of the embroidery sewing machine to the size of each pixel unit. As a result, the print data created by the print data generation process (S16) and the embroidery data created by the embroidery data creation process (S14) are converted at the same ratio. Consistency can be taken.

印刷データ生成処理(S16)では、S13の特色領域分解処理において設定された印刷領域(特色領域以外の領域)に基づいて印刷データが生成されるところ、本実施の形態においては、S13において図9(b)に示すような画像データが印刷領域として設定されている。すなわち、図9(b)に示すように、人物の顔の図柄のうち、髪の毛部分以外の部分がインクジェットプリンタによって印刷される領域として設定されている。   In the print data generation process (S16), print data is generated based on the print area (area other than the spot color area) set in the spot color area separation process of S13. In the present embodiment, in FIG. Image data as shown in (b) is set as a print area. That is, as shown in FIG. 9B, a portion other than the hair portion of the human face design is set as a region to be printed by the ink jet printer.

このような画像データから、印刷データを生成する手法は、従来より各種の手法や公知技術が知られており、また、使用するアプリケーションやデータ形式によっても用いられる手法や技術が異なるが、いずれの手法や技術によるものでも適用可能である。以下、一例を説明する。   Various methods and known techniques are conventionally known as methods for generating print data from such image data, and the methods and techniques used differ depending on the application and data format used. Even methods and techniques can be applied. An example will be described below.

印刷データ生成処理(S16)においては、まず、画像データから印刷データを生成するために必要なデータ項目が設定される。印刷データに必要なデータ項目としては、少なくとも「印刷範囲」,「印刷解像度」,「印刷対象画像」がある。「印刷範囲」は、画像データがインクジェットプリンタによって印刷される際の被出力媒体での出力サイズ及び出力位置を示すものである。「印刷解像度」は、インクジェットプリンタによる画像データの印刷品質を指定する数値である。「印刷対象画像」は、画像データを構成する画素領域の情報である。   In the print data generation process (S16), first, data items necessary for generating print data from image data are set. The data items necessary for the print data include at least “print range”, “print resolution”, and “print target image”. The “printing range” indicates the output size and output position on the output medium when the image data is printed by the ink jet printer. “Print resolution” is a numerical value for designating the print quality of image data by the ink jet printer. The “print target image” is information on a pixel area constituting image data.

ここで、印刷データの「印刷範囲」において、出力サイズは横幅,高さによって定められ、出力位置は横開始位置,縦開始位置によって定められている。S12において作業者により指定された出力サイズである縦12cm×横9cmが取得される。これをインチに換算すれば、縦4.72インチ(≒12cm)×横3.54インチ(≒9cm)となる。また、「印刷対象画像」として、S13の特色領域分解処理において印刷領域として設定された図9(b)の画像データが設定される。また、「印刷解像度」は、作業者が任意に設定してよいし、予め設けられたデフォルト値が用いてもよいが、ここでは、「印刷解像度」については縦600dpi×横600dpiが設定されたものとする。   Here, in the “print range” of the print data, the output size is determined by the horizontal width and height, and the output position is determined by the horizontal start position and the vertical start position. In S12, 12 cm long × 9 cm wide, which is the output size designated by the operator, is acquired. When this is converted into inches, the length is 4.72 inches (≈12 cm) × 3.54 inches (≈9 cm). Further, as the “print target image”, the image data of FIG. 9B set as the print area in the special color area separation process of S13 is set. The “printing resolution” may be arbitrarily set by the operator, or a default value provided in advance may be used. Here, the “printing resolution” is set to 600 dpi vertical × 600 dpi horizontal. Shall.

以上のようにして、各種データ項目が設定された結果、図14に示すようなデータ項目を有する印刷データが生成される。図14に示すように印刷データは、印刷範囲を指示するデータであることを示す識別子である印刷範囲指示コード51と、印刷範囲指示コード51のデータ本体であって画像データの被出力媒体での出力サイズ及び出力位置(横開始位置,縦開始位置,横幅,高さ)を示す印刷範囲52と、印刷解像度を指示するデータであることを示す識別子である解像度指示コード53と、解像度指示コード53のデータ本体であって画像データの被出力媒体での印刷品質をドット単位で示す単位DPI54とから構成される。   As described above, as a result of setting various data items, print data having data items as shown in FIG. 14 is generated. As shown in FIG. 14, the print data includes a print range instruction code 51 that is an identifier indicating the print range, and a data body of the print range instruction code 51 and the image data on the output medium. A print range 52 indicating an output size and an output position (horizontal start position, vertical start position, horizontal width, height), a resolution instruction code 53 which is an identifier indicating data indicating print resolution, and a resolution instruction code 53 And a unit DPI 54 that indicates the print quality of the image data on the output medium in dot units.

また、画像データ情報を指示するデータであることを示す識別子である画像データ指示コード55を備える。当該画像データ情報には、画像データのサイズを指示するデータであることを示す識別子である画像サイズ指示コード56と、画像サイズ指示コード56のデータ本体であって画像データのサイズ(幅、高さ)をピクセル単位で示す画像サイズ57と、画像データを構成する画素を指示するデータであることを示す識別子である画素指示コード58と、各画素のRGB値を示す画素値59とから構成される。画素値59は、画像サイズ57の幅×高さのサイズを構成する画素の全部について、その画素値59が繰り返して表示される。また、印刷データの終端には、当該データの終了を指示する識別子である終了コード60が設けられている。   Further, an image data instruction code 55 that is an identifier indicating that the data is information indicating image data information is provided. The image data information includes an image size instruction code 56 that is an identifier indicating the size of the image data, and a data body of the image size instruction code 56 and the size (width, height) of the image data. ) In pixel units, a pixel designation code 58 that is an identifier that designates the data that constitutes the image data, and a pixel value 59 that represents the RGB value of each pixel. . The pixel value 59 is displayed repeatedly for all of the pixels constituting the width × height size of the image size 57. An end code 60 that is an identifier for instructing the end of the data is provided at the end of the print data.

なお、印刷データに必要なデータ項目のうち、「印刷範囲」が印刷範囲52に対応し、「印刷解像度」が単位DPI54に対応し、「印刷対象画像」が画素値59に対応している。そして、本発明の印刷データにおいて、「印刷領域として設定された画素領域を示す情報」に相当するのが、画素値59であり、「印刷位置及び印刷サイズを示す情報」に相当するのが、印刷範囲52である。   Of the data items necessary for the print data, “print range” corresponds to the print range 52, “print resolution” corresponds to the unit DPI 54, and “print target image” corresponds to the pixel value 59. In the print data of the present invention, the pixel value 59 corresponds to “information indicating the pixel area set as the print area”, and the information corresponding to “information indicating the print position and print size” This is the print range 52.

この印刷データは、図15に示すように、印刷領域として設定された画素領域である人物の髪の毛以外の部分について、インクジェットプリンタによる印刷が実行される。また、画像データの出力サイズは、縦4.72インチ(≒12cm)、横3.54インチ(≒9cm)であり、また、印刷解像度については縦600dpi×横600dpiが設定されているから、この画像データの出力範囲のドット数は、縦2833dot(600dpi×4.72インチ)×横2126dot(600dpi×3.54インチ)である。このドット数によって表現されるように、画像データが拡大・縮小される。そして、インクジェットプリンタにおいて、印刷の実行単位であるドット単位で印刷が実行される。なお、印刷データについても、出力媒体であるTシャツにおける出力サイズ及び出力位置は、先述のようにS12において作業者により指定された出力サイズ及び出力位置に対応している。   As shown in FIG. 15, this print data is printed by an ink jet printer on a portion other than the human hair, which is a pixel region set as a print region. The output size of the image data is 4.72 inches (≈12 cm) in length and 3.54 inches (≈9 cm) in width, and the printing resolution is set to 600 dpi × 600 dpi in width. The number of dots in the image data output range is 2833 dots (600 dpi × 4.72 inches) × 2126 dots (600 dpi × 3.54 inches). The image data is enlarged / reduced so as to be expressed by the number of dots. Then, in the ink jet printer, printing is executed in dot units that are printing execution units. As for the print data, the output size and output position of the T-shirt as the output medium correspond to the output size and output position specified by the operator in S12 as described above.

図5に戻り、装置本体10において、次に、S15の刺繍データとS16の印刷データを編集して、1つの印刷刺繍データとする印刷刺繍データ編集処理が実行される(S17)。これは、刺繍データ及び印刷データを1つの印刷刺繍データに編集して、両者を関連付けて保存するための処理である。   Returning to FIG. 5, in the apparatus main body 10, next, a print embroidery data editing process is executed by editing the embroidery data in S15 and the print data in S16 to obtain one print embroidery data (S17). This is a process for editing the embroidery data and the print data into one print embroidery data and storing them in association with each other.

この印刷刺繍データ編集処理(S17)では、
[刺繍データ開始コード]+[刺繍データ]+[印刷データ開始コード]+[印刷データ]+[印刷刺繍データ終了コード]
というデータ構成となるように、データ編集が実行される。
In this print embroidery data editing process (S17),
[Embroidery data start code] + [Embroidery data] + [Print data start code] + [Print data] + [Print embroidery data end code]
Data editing is executed so that the data structure is as follows.

なお、印刷刺繍データの先頭に、印刷刺繍データの開始を指示する識別子である[印刷刺繍データ開始コード]を設けてもよい。また、[刺繍データ]と[印刷データ]の各々に[開始コード]と[終了コード]を設けてもよいし、この場合には、[印刷刺繍データ終了コード]は不要である。   Note that [print embroidery data start code] that is an identifier for instructing the start of the print embroidery data may be provided at the head of the print embroidery data. [Embroidery data] and [Print data] may be provided with [Start code] and [End code]. In this case, [Print embroidery data end code] is unnecessary.

以上のようにして、図5の印刷刺繍データ作成処理(S2)が実行されて、刺繍ミシンで使用される刺繍データと、インクジェットプリンタで使用される印刷データとが関連付けられた印刷刺繍データが作成される。   As described above, the print embroidery data creation process (S2) of FIG. 5 is executed to create print embroidery data in which embroidery data used by the embroidery sewing machine and print data used by the inkjet printer are associated with each other. Is done.

図3に戻り、S2において印刷刺繍データが作成されると、当該印刷刺繍データに含まれる印刷データ及び刺繍データはメモリカードコネクタ23に接続されたメモリカードに出力される(S3)。メモリカードにデータを転送する際に、印刷刺繍データ作成装置1の刺繍データ転送アプリケーションが、刺繍ミシンで直接解釈できる形式のデータに変換する。[刺繍データ開始コード]は、印刷刺繍データのうち、刺繍データの開始を指示する識別子であって、刺繍データ転送アプリケーションはこの識別子を読取ると、後続の[刺繍データ]をメモリカードに転送し、[印刷データ開始コード]を読取ると、データ転送を終了する。また、印刷刺繍データ作成装置1の印刷データ転送アプリケーションが、プリンタドライバなどを通じてインクジェットプリンタで直接解釈できる形式のデータに変換する。[印刷データ開始コード]は、印刷刺繍データのうち、印刷データの開始を指示する識別子であって、印刷データ転送アプリケーションはこの識別子を読取ると、後続の[印刷データ]をメモリカードに転送し、[印刷刺繍データ終了コード]を読取ると、データ転送を終了する。以上のようにして、印刷データ及び刺繍データがデータ変換されてメモリカードに出力される。   Returning to FIG. 3, when the print embroidery data is created in S2, the print data and the embroidery data included in the print embroidery data are output to a memory card connected to the memory card connector 23 (S3). When data is transferred to the memory card, the embroidery data transfer application of the print embroidery data creation device 1 converts the data into a format that can be directly interpreted by the embroidery sewing machine. [Embroidery data start code] is an identifier instructing the start of embroidery data in the print embroidery data. When the embroidery data transfer application reads this identifier, it transfers the subsequent [embroidery data] to the memory card, When the [print data start code] is read, the data transfer is terminated. Also, the print data transfer application of the print embroidery data creation apparatus 1 converts the data into a format that can be directly interpreted by the ink jet printer through a printer driver or the like. [Print data start code] is an identifier for instructing the start of print data in the print embroidery data. When the print data transfer application reads this identifier, it transfers the subsequent [print data] to the memory card, When [print embroidery data end code] is read, the data transfer ends. As described above, the print data and the embroidery data are converted and output to the memory card.

なお、印刷刺繍データ作成装置1とインクジェットプリンタとが接続されて、直接データが転送されてもよい。また、印刷刺繍データ作成装置1と刺繍ミシンとが接続されて、直接データが転送されてもよい。   The print embroidery data creation apparatus 1 and the ink jet printer may be connected to directly transfer data. Further, the print embroidery data creation apparatus 1 and the embroidery sewing machine may be connected to directly transfer data.

作業者は、S3で刺繍データが出力されたメモリカードを、刺繍ミシンに搭載されているメモリカード装置に装着し、また、被出力媒体としての布帛であるTシャツを刺繍ミシンの所定箇所にセットして、刺繍作業を開始する。刺繍ミシンにおいては、メモリカード装置に装着されたメモリカードからデータ変換された刺繍データが読み出され、この刺繍データに基づいて、自動的にTシャツへの図柄の刺繍動作が実行される(S4)。   The operator attaches the memory card on which the embroidery data is output in S3 to the memory card device mounted on the embroidery sewing machine, and sets a T-shirt, which is a fabric as an output medium, at a predetermined position of the embroidery sewing machine. Then, the embroidery work is started. In the embroidery sewing machine, the embroidery data obtained by data conversion is read from the memory card mounted on the memory card device, and the design embroidery operation on the T-shirt is automatically executed based on the embroidery data (S4). ).

この刺繍ミシンによる刺繍動作の結果、図13に示される刺繍データの内容が、Tシャツに刺繍される。すなわち、S13の特色領域分解処理において、特色領域として設定された人物の顔の図柄の髪の毛部分について、特色「黒」の刺繍糸による刺繍が施される。また、特色領域以外の画素領域(印刷領域)として設定された領域については、特色「白」の刺繍糸による刺繍が施される。なお、これらの出力サイズ及び出力位置は、S12において作業者により指定された縦12cm×横9cmのサイズで、指定されたTシャツ上の位置に刺繍される。   As a result of the embroidery operation by the embroidery sewing machine, the contents of the embroidery data shown in FIG. 13 are embroidered on the T-shirt. That is, in the special color area decomposition process of S13, the hair portion of the human face pattern set as the special color area is embroidered with the special color “black” embroidery thread. In addition, an area set as a pixel area (print area) other than the spot color area is embroidered with an embroidery thread of the spot color “white”. These output sizes and output positions are embroidered at specified positions on the T-shirt with a size of 12 cm (length) × 9 cm (width) specified by the operator in S12.

刺繍ミシンでの刺繍作業が終了すると、S3で印刷データが出力されたメモリカードを、インクジェットプリンタの動作を制御するパーソナルコンピュータに搭載されているメモリカード装置に装着し、データ変換された印刷データをインクジェットプリンタに転送する。また、刺繍ミシンにおいて図柄が刺繍されたTシャツを、インクジェットプリンタの所定箇所にセットして、印刷作業を開始する。インクジェットプリンタにおいては、メモリカード装置に装着されたメモリカードからデータ変換された印刷データが転送され、この印刷データに基づいて印刷作業が実行される(S5)。   When the embroidery work on the embroidery sewing machine is completed, the memory card on which the print data is output in S3 is mounted on the memory card device mounted on the personal computer that controls the operation of the ink jet printer, and the converted print data is stored. Transfer to inkjet printer. In addition, the T-shirt with the pattern embroidered on the embroidery sewing machine is set at a predetermined location of the ink jet printer, and the printing operation is started. In the ink jet printer, print data converted from data is transferred from a memory card attached to the memory card device, and a printing operation is executed based on the print data (S5).

ここで、S2で作成される印刷データは、インクジェットプリンタにおける出力サイズと、インクジェットプリンタの印刷範囲に対する相対的な出力位置を反映した内容となっている。そして、S3で示すように、この印刷データを、プリンタドライバなどを通じて、インクジェットプリンタで解釈できる形式に変換して出力を行う。よって、印刷刺繍データに含まれる印刷データをプリンタで解釈できる形式に変換できる環境であれば、何れのプリンタにおいてもこの印刷データを使用可能である。   Here, the print data created in S2 reflects the output size in the inkjet printer and the output position relative to the print range of the inkjet printer. Then, as shown in S3, this print data is converted into a format that can be interpreted by an ink jet printer through a printer driver or the like and output. Therefore, the print data can be used in any printer as long as the print data included in the print embroidery data can be converted into a format that can be interpreted by the printer.

以上のようにして、インクジェットプリンタにおいては、印刷刺繍データに含まれている印刷データに基づいて、自動的にTシャツへの図柄の印刷動作が実行される。その結果、図15に示される印刷データの内容が、Tシャツに印刷される。すなわち、S13の特色領域分解処理において、印刷領域として設定された画素領域(人物の髪の毛以外の部分)について、印刷が施される。図15の場合、縦4.72インチ(≒12cm)×横3.54インチ(≒9cm)の出力サイズを縦2833dot×横2126dotのドット数によって、Tシャツ上の指定された出力位置に印刷が実行される。   As described above, in the ink jet printer, the design printing operation on the T-shirt is automatically executed based on the print data included in the print embroidery data. As a result, the contents of the print data shown in FIG. 15 are printed on the T-shirt. That is, in the special color area separation process of S13, printing is performed on the pixel area (part other than the human hair) set as the print area. In the case of FIG. 15, an output size of 4.72 inches (≈12 cm) × 3.54 inches (≈9 cm) in width is printed at a specified output position on a T-shirt by the number of dots of 2833 dots × 2126 dots horizontally. Executed.

なお、図15に示す印刷は、図13に示す刺繍が施されたTシャツに対して実行され、Tシャツにおいて白糸による刺繍が施された領域に、画像データに表された人物の図柄のうち、髪の毛以外の部分が印刷される。その結果、図16に示すように、Tシャツには、刺繍された領域と印刷された領域が組み合わされた形態で、画像データに表された人物の顔の図柄が出力される。すなわち、図16に示すように、(a)に示す刺繍データは、人物の顔を示す図柄のうち、髪の毛部分が特色「黒」の刺繍糸によって刺繍が施されるとともに、髪の毛部分以外の部分には特色「白」の刺繍糸によって刺繍が施されることを示す。また、(b)に示す印刷データは、人物の顔を示す図柄のうち、髪の毛部分以外の部分には印刷が施されることを示す。そして、(a)のような刺繍と、(b)のような印刷が実行される結果、(c)のように人物の顔を示す図柄がTシャツに出力される。   Note that the printing shown in FIG. 15 is performed on the T-shirt with the embroidery shown in FIG. 13, and the area of the T-shirt embroidered with white thread is included in the figure of the person represented in the image data. The part other than the hair is printed. As a result, as shown in FIG. 16, the design of the face of the person represented in the image data is output on the T-shirt in a form in which the embroidered area and the printed area are combined. That is, as shown in FIG. 16, the embroidery data shown in FIG. 16 (a) is the portion other than the hair portion of the pattern representing the person's face while the hair portion is embroidered with the embroidery thread having the characteristic “black”. Indicates that the embroidery is applied with the embroidery thread of the special color “white”. Also, the print data shown in (b) indicates that printing is performed on a portion other than the hair portion of the pattern representing the face of the person. Then, as a result of executing the embroidery as shown in (a) and the printing as shown in (b), a pattern indicating a person's face is output to the T-shirt as shown in (c).

以上、説明したように、本実施の形態における印刷刺繍データ作成装置1では、画像データを構成する画素を分析して特色領域と印刷領域とが設定されて、特色領域に対応する刺繍データと印刷領域に対応する印刷データとが対応付けられた印刷刺繍データが作成される。また、画像データを元に刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性がとれた印刷データ及び刺繍データを作成することができる。   As described above, in the print embroidery data creation device 1 according to the present embodiment, the pixels constituting the image data are analyzed, the spot color area and the print area are set, and the embroidery data and the print corresponding to the spot color area are set. Print embroidery data associated with print data corresponding to the area is created. Also, print data and embroidery data can be created based on the image data, which can obtain output results that make use of the characteristics of embroidery and printing, and that is consistent with the output position and output size of embroidery and printing. can do.

また、作業者によって指定された特色に基づいて、画像データを構成する画素を分析して特色領域と印刷領域とを設定するので、作業者のニーズや刺繍ミシンの性能等の条件に対応した印刷データ及び刺繍データを、自由かつ任意に作成することができる。また、作業者が指定した出力サイズ及び出力位置に応じた印刷データ及び刺繍データが作成することができ、これらの印刷データ及び刺繍データが対応付けられた印刷刺繍データを作成することができる。   Also, because the spot color area and the print area are set by analyzing the pixels that make up the image data based on the spot color specified by the operator, printing that meets conditions such as the operator's needs and the performance of the embroidery machine Data and embroidery data can be created freely and arbitrarily. Further, print data and embroidery data corresponding to the output size and output position designated by the operator can be created, and print embroidery data in which these print data and embroidery data are associated can be created.

また、この印刷データ及び刺繍データに基づいて、インクジェットプリンタによる印刷及び刺繍ミシンによる刺繍が実行された結果、画像データに表された図柄がTシャツに対して印刷及び刺繍が組合された形態で出力される。しかも、画像データの図柄のうち、印刷された領域と刺繍された領域が、出力サイズ及び出力位置の整合性がとれた形態で出力される。そのため、刺繍及び印刷のそれぞれの特性が活かされて、刺繍のみの出力や印刷のみの出力とは異なる印象を与えることができる図柄を、Tシャツ等の布帛へ出力することができる。   Also, based on the print data and embroidery data, as a result of printing by an ink-jet printer and embroidery by an embroidery sewing machine, the pattern represented in the image data is output in a combined form of printing and embroidery on a T-shirt. Is done. In addition, the printed area and the embroidered area of the image data design are output in a form in which the output size and the output position are consistent. Therefore, by utilizing the characteristics of embroidery and printing, it is possible to output a design that can give an impression different from the output of only embroidery or the output of printing to a fabric such as a T-shirt.

また、刺繍データと印刷データとを編集して1つの印刷刺繍データにしているので、刺繍データと印刷データとが独立に存在するよりも利便性が高く、また、刺繍データと印刷データの整合性を高めることができる。   Further, since the embroidery data and the print data are edited into one print embroidery data, it is more convenient than the case where the embroidery data and the print data exist independently, and the consistency between the embroidery data and the print data. Can be increased.

また、画像データを構成する画素のうち、印刷領域として設定された領域には、刺繍ミシンによって白糸の刺繍糸による刺繍が施されて、その上にインクジェットプリンタによる印刷が施されるため、刺繍の上に印刷が施された出力結果を得ることができ、従来にない興趣を与えることができる図柄をTシャツ上に出力することができる。   Of the pixels constituting the image data, the area set as the print area is embroidered with white embroidery thread by the embroidery sewing machine and printed by the ink jet printer on top of it. It is possible to obtain an output result obtained by performing printing on the top, and to output a design that can provide an unprecedented interest on the T-shirt.

次に、「第2の実施の形態」について説明する。「第2の実施の形態」では、インクジェットプリンタと刺繍ミシンが独立して存在するものではなく、印刷機能と刺繍機能とを具備する1つの装置として実現されている場合に、本発明に係る印刷刺繍データ作成装置1を適用した場合の例である。   Next, the “second embodiment” will be described. In the “second embodiment”, the ink jet printer and the embroidery sewing machine do not exist independently, but the printing according to the present invention is implemented when the ink jet printer and the embroidery sewing machine are realized as one apparatus having a printing function and an embroidery function. This is an example when the embroidery data creation apparatus 1 is applied.

図17は、「第2の実施の形態」における、全体の流れを示すフローチャートである。「第1の実施の形態」における全体の流れを示すフローチャート(図3)との違いは、刺繍ミシンでの刺繍とインクジェットプリンタでの印刷が同一装置において実行される点である。すなわち、S6において、印刷データ及び刺繍データに基づいて、刺繍機能による刺繍と印刷機能による印刷とが実行される。なお、刺繍機能による刺繍と印刷機能による印刷とのいずれを先に実行するかは、あらかじめ順序が設定されていてもよいし、作業者がS6の作業実行の際に選択できるようにしてもよい。その他の点は、「第1の実施の形態」と同じである。   FIG. 17 is a flowchart showing an overall flow in the “second embodiment”. The difference from the flowchart (FIG. 3) showing the overall flow in the “first embodiment” is that embroidery with an embroidery sewing machine and printing with an inkjet printer are executed in the same apparatus. That is, in S6, embroidery by the embroidery function and printing by the print function are executed based on the print data and the embroidery data. It should be noted that whether the embroidery by the embroidery function or the printing by the printing function is executed first may be set in advance, or may be selected by the operator when performing the operation of S6. . The other points are the same as those in the “first embodiment”.

本実施の形態によれば、被出力媒体であるTシャツ等の布帛の張り替えや、印刷データ及び刺繍データを記憶したメモリカードを、刺繍ミシンとインクジェットプリンタとのそれぞれのメモリカード装置に装着させる手間を省くことができる。また、Tシャツ等の張替えに伴う出力位置及び出力サイズのずれや狂いの発生を防止することができ、より正確に印刷及び刺繍の整合性をとることができる。   According to the present embodiment, it is troublesome to change the fabric of an output medium, such as a T-shirt, and to attach the memory card storing the print data and the embroidery data to the memory card devices of the embroidery sewing machine and the inkjet printer. Can be omitted. In addition, it is possible to prevent the output position and output size from being shifted or out of order due to the re-covering of the T-shirt or the like, and more accurately match the printing and embroidery.

次に、「第3の実施の形態」について説明する。「第3の実施の形態」では、刺繍ミシンにおいては特色領域として設定された領域のみが刺繍される場合の例である。すなわち、「第1の実施の形態」では、特色領域以外の領域(印刷領域)についても第2の刺繍データを作成して、当該第2の刺繍データに基づいて白糸の刺繍糸による刺繍を施していたところ、「第3の実施の形態」では印刷領域にはインクジェットプリンタによる印刷のみが施される。   Next, the “third embodiment” will be described. The “third embodiment” is an example in which only an area set as a spot color area is embroidered in the embroidery sewing machine. That is, in the “first embodiment”, the second embroidery data is also created for an area (printing area) other than the spot color area, and embroidery with white embroidery thread is performed based on the second embroidery data. In the case of the “third embodiment”, only the printing by the ink jet printer is performed in the printing area.

図18は、「第3の実施の形態」における、印刷刺繍データ編集処理(S17)によって出力される図柄を説明するための図である。すなわち、特色領域への刺繍と印刷領域への印刷とが実行された後に、Tシャツに出力される図柄を示す。図18に示すように、(a)に示す刺繍データは、人物の顔を示す図柄のうち、髪の毛部分のみが特色「黒」の刺繍糸によって刺繍が施されることを示す。また、(b)に示す印刷データは、「第1の実施の形態」に示すものと同じである。そして、(a)のような刺繍と、(b)のような印刷が実行される結果、(c)のように人物の顔を示す図柄がTシャツに出力される。その他の点は、「第1の実施の形態」と同じである。   FIG. 18 is a diagram for explaining the symbols output by the print embroidery data editing process (S17) in the “third embodiment”. That is, after the embroidery in the special color area and the printing in the print area are executed, the pattern output to the T-shirt is shown. As shown in FIG. 18, the embroidery data shown in FIG. 18A indicates that only the hair portion of the pattern representing the person's face is embroidered with the embroidery thread of the special color “black”. The print data shown in (b) is the same as that shown in the “first embodiment”. Then, as a result of executing the embroidery as shown in (a) and the printing as shown in (b), a pattern indicating a person's face is output to the T-shirt as shown in (c). The other points are the same as those in the “first embodiment”.

本実施の形態によれば、印刷領域に白糸の刺繍を施す必要がない場合には、印刷領域にはインクジェットプリンタによる印刷のみが実行されるため、一連の作業を迅速化することができる。また、印刷領域に白糸の刺繍を施す場合は、白糸の刺繍の上に印刷が施されるようにするために、先に刺繍ミシンによる刺繍を実行していたところ、印刷領域に白糸の刺繍を施さない場合は、印刷される領域と刺繍される領域とでは重複する部分が存在しない。よって、この場合には、インクジェットプリンタによる印刷と刺繍ミシンによる刺繍とが実行される順番を問わない。   According to the present embodiment, when it is not necessary to embroider the white thread on the print area, only printing by the ink jet printer is executed on the print area, so that a series of operations can be speeded up. In addition, when embroidering white thread on the print area, the embroidery machine was previously used to perform printing on the white thread embroidery. When not applied, there is no overlap between the printed area and the embroidered area. Therefore, in this case, the order in which printing by the ink jet printer and embroidery by the embroidery sewing machine are executed is not limited.

尚、上記「第1の実施の形態」〜「第3の実施の形態」において、図5に示すメインフローチャートの特色の指定(S11)を行うためのマウス21及びキーボード22が、本発明の「特色指定手段」に相当し、図5に示すメインフローチャートの出力サイズ及び出力位置の指定(S12)を行うためのマウス21及びキーボード22が、本発明の「出力情報指定手段」に相当する。また、図5に示すメインフローチャートの特色領域分解処理(S13)を行うCPU11が、本発明の「画素判定手段」として機能し、図8に示す特色領域分解処理(S13)において各領域設定(S36,S37)を実行するCPU11が、本発明の「領域設定手段」として機能し、図5に示すメインフローチャートの刺繍データ作成処理(S14)及び刺繍データ合成処理(S15)を実行するCPU11が、本発明の「刺繍データ作成手段」として機能し、図5に示すメインフローチャートの印刷データ生成処理(S16)を実行するCPU11が、本発明の「印刷データ作成手段」として機能し、図5に示すメインフローチャートの印刷刺繍データ編集処理(S17)を実行するCPU11が、本発明の「印刷刺繍データ作成手段」として機能する。   In the above “first embodiment” to “third embodiment”, the mouse 21 and the keyboard 22 for specifying the feature color (S11) of the main flowchart shown in FIG. The mouse 21 and the keyboard 22 for specifying the output size and output position (S12) in the main flowchart shown in FIG. 5 correspond to “spot color specifying means” and correspond to “output information specifying means” of the present invention. Further, the CPU 11 that performs the spot color area separation process (S13) of the main flowchart shown in FIG. 5 functions as the “pixel determination unit” of the present invention, and each area setting (S36) in the spot color area separation process (S13) shown in FIG. , S37) functions as the “region setting means” of the present invention, and the CPU 11 that executes the embroidery data creation processing (S14) and embroidery data composition processing (S15) of the main flowchart shown in FIG. The CPU 11 that functions as the “embroidery data creation means” of the invention and executes the print data generation process (S16) of the main flowchart shown in FIG. 5 functions as the “print data creation means” of the invention, and the main data shown in FIG. The CPU 11 that executes the print embroidery data editing process (S17) of the flowchart is the “print embroidery data creation means” of the present invention. Functions in.

尚、本発明は、以上詳述した「第1の実施の形態」〜「第3の実施の形態」に限定されるものではなく、種々の変更が可能である。   The present invention is not limited to the “first embodiment” to “third embodiment” described in detail above, and various modifications can be made.

上記実施の形態では、刺繍データにおけるステッチデータは、刺繍ミシンに固有のX・Y座標系における針落ち位置をX・Y方向の移動量で示すものと例示しているが、本発明におけるステッチデータは出力対象を刺繍で表現するための縫目を示すものであれば具体的なデータ内容は問わず、例えば、刺繍ミシンにおける内部座標系の絶対位置によって縫目を示すように構成しても良い。また、刺繍方式についてもステッチ単位による刺繍以外の方式も適用可能である。よって、本発明の印刷刺繍データ作成装置は、刺繍装置における実装に応じた各種のデータ構成による刺繍データを扱うことができる。   In the above embodiment, the stitch data in the embroidery data is exemplified as indicating the needle drop position in the X / Y coordinate system unique to the embroidery sewing machine by the movement amount in the X / Y directions. Can be configured so as to indicate the seam by the absolute position of the internal coordinate system in the embroidery sewing machine, for example, as long as it indicates the seam for expressing the output object by embroidery. . In addition, embroidery methods other than embroidery by stitch units are also applicable. Therefore, the print embroidery data creation device of the present invention can handle embroidery data having various data configurations according to the implementation in the embroidery device.

また、インクジェットプリンタによるドット印刷を例にして説明したが、印刷装置はインクジェットプリンタに限定されず、また印刷単位についてもドット単位に限定されない。例えば、ポイント(pt)やパイカ(pc)等の他の印刷単位によって印刷を実行してもよい。また、印刷方式についても、ビット単位やライン単位等の各種の形式が使用可能である。よって、本発明の印刷刺繍データ作成装置は、印刷装置における実装に応じた各種のデータ構成の印刷データを扱うことができる。   Further, although dot printing by an ink jet printer has been described as an example, the printing apparatus is not limited to the ink jet printer, and the printing unit is not limited to the dot unit. For example, printing may be executed by other printing units such as points (pt) and picas (pc). Also, various formats such as bit units and line units can be used for the printing method. Therefore, the print embroidery data creation apparatus of the present invention can handle print data having various data configurations according to the mounting in the printing apparatus.

また、S11において作業者が特色「黒」を指定しているが、特色は何色でも構わないし、また、複数の特色を指定できることは先述のとおりである。特色として指定できる色は、刺繍ミシンにおいて使用可能な刺繍糸の色に限らない。刺繍ミシンにおいて存在しない色については、指定された特色に最も近い色を割り当てるようにしてもよいし、また、作業者が任意の異なる色を割り当てるようにしてもよい。   In S11, the worker designates the spot color “black”, but the spot color may be any number, and a plurality of spot colors can be designated as described above. The color that can be designated as the special color is not limited to the color of the embroidery thread that can be used in the embroidery sewing machine. For colors that do not exist in the embroidery sewing machine, a color closest to the designated spot color may be assigned, or an operator may assign any different color.

また、刺繍ミシンによる刺繍(S4)とインクジェットプリンタによる印刷(S5)について、作業者はその実行順序を任意に選択することができる。具体的には、作業者は、印刷を先に実行したい場合は、先にインクジェットプリンタにおける印刷作業をすれば足りる。   In addition, regarding the embroidery (S4) by the embroidery sewing machine and the printing (S5) by the ink jet printer, the operator can arbitrarily select the execution order. Specifically, if the worker wants to execute printing first, it is sufficient to perform the printing work in the ink jet printer first.

また、1つの印刷刺繍データに、複数の刺繍データや複数の印刷データがまとめられるような構成としてもよい。   Further, a configuration may be adopted in which a plurality of embroidery data and a plurality of print data are collected into one print embroidery data.

また、特色領域分解処理(S13)において印刷領域として設定された領域についても、刺繍ミシンにおいて刺繍を実行する場合、その特色は「白」に限定されず、灰色や透明色などの他の特色による刺繍糸によって刺繍が施されるようにしてもよい。なお、本発明の「第2の刺繍データ」とは、刺繍データ作成処理(S14)において印刷領域に基づいて作成された刺繍データ、及び刺繍データ合成処理(S15)において印刷領域に基づく刺繍データを含めて合成された刺繍データに、それぞれ相当する。   Also, for the area set as the print area in the special color area separation process (S13), when embroidery is executed by the embroidery sewing machine, the special color is not limited to “white”, and other special colors such as gray and transparent colors are used. Embroidery may be applied with embroidery threads. The “second embroidery data” of the present invention refers to the embroidery data created based on the print area in the embroidery data creation process (S14) and the embroidery data based on the print area in the embroidery data composition process (S15). It corresponds to the embroidery data synthesized including them.

また、S11における作業者による特色の指定は、以下のようにすることもできる。図19は、他の特色の入力画面を示す図である。図20は、刺繍糸対応テーブルを示す図である。図20に示すように、複数の刺繍糸と当該複数の刺繍糸の色コードが対応付けられて登録された刺繍糸対応テーブルを予め設けておき、図19に示す入力画面にはこの刺繍糸対応テーブルに登録された刺繍糸を表示されて、作業者はこれらの刺繍糸のうち、任意の1以上の刺繍糸をチェックすることで特色を指定してもよい。そして、図19に示す入力画面から指定された刺繍糸について、図20の刺繍糸対応テーブルから糸色情報と色コードとが取得されて、図7に示すような特色対応テーブルを作成される。これにより、作業者は、特色の糸色情報と色コードを入力する必要がなく、より簡易に特色を指定できる。   Also, the designation of the spot color by the worker in S11 can be performed as follows. FIG. 19 is a diagram showing an input screen for another spot color. FIG. 20 shows an embroidery thread correspondence table. As shown in FIG. 20, an embroidery thread correspondence table in which a plurality of embroidery threads and color codes of the plurality of embroidery threads are associated and registered is provided in advance, and the input screen shown in FIG. The embroidery thread registered in the table may be displayed, and the operator may designate the spot color by checking any one or more of these embroidery threads. Then, for the embroidery thread designated from the input screen shown in FIG. 19, the thread color information and the color code are acquired from the embroidery thread correspondence table of FIG. 20, and a spot color correspondence table as shown in FIG. 7 is created. Thereby, the operator does not need to input the thread color information and the color code of the special color, and can easily specify the special color.

また、印刷刺繍データには印刷データ及び刺繍データの双方が含まれているが、S17の印刷刺繍データ編集処理を行わないようにして、同じ画像データに基づいて刺繍データ及び印刷データの各々を作成する印刷刺繍データ作成装置としてもよい。   The print embroidery data includes both print data and embroidery data. The embroidery data and the print data are created based on the same image data without performing the print embroidery data editing process in S17. The printing embroidery data creation device may be used.

また、印刷刺繍データは1つのデータに印刷データと刺繍データの両方を有する特別なデータ構造となっているため、刺繍ミシンにおいて刺繍動作を制御するアプリケーションが、このデータ構造の特徴に基づいて、刺繍動作に必要な刺繍データが読込まれるようにしてもよい。また、インクジェットプリンタにおいて印刷動作を制御するアプリケーションが、このデータ構造の特徴に基づいて、必要な印刷データが読込まれるようにしてもよい。なお、読込まれた印刷データ及び刺繍データは、各ドライバソフトなどで変換されて、その変換された印刷データ及び刺繍データに基づいて印刷動作及び刺繍動作が実行されればよい。   In addition, since the print embroidery data has a special data structure in which both the print data and the embroidery data are included in one data, an application for controlling the embroidery operation in the embroidery sewing machine can perform embroidery based on the characteristics of the data structure. Embroidery data necessary for the operation may be read. Further, an application that controls the printing operation in the ink jet printer may read necessary print data based on the characteristics of the data structure. The read print data and embroidery data may be converted by each driver software and the print operation and the embroidery operation may be executed based on the converted print data and embroidery data.

また、画像データはRGB形式による色空間を用いており、S11の特色の指定においてもRGB形式によって特色が特定され、特色領域分解処理(S13)においてRGB形式によって色差距離Dが算出され、作成される刺繍データや印刷データもRGB形式によって色コードが特定されている(S14〜17)。しかしながら、本発明の印刷刺繍データ作成装置において用いられる色空間は他の任意のものによっても構わず、例えばCMYK方式による色空間を用いて本発明を実現してもよい。また、L*a*b*空間やL*u*v*空間、YIQ空間、HSI空間等を用いてもよい。   The image data uses a color space in the RGB format. In the special color designation in S11, the special color is specified by the RGB format, and the color difference distance D is calculated by the RGB format in the special color region decomposition process (S13). Color codes are also specified in RGB format for embroidery data and print data (S14-17). However, the color space used in the print embroidery data creation apparatus of the present invention may be any other color space. For example, the present invention may be realized using a color space of the CMYK system. Further, an L * a * b * space, an L * u * v * space, a YIQ space, an HSI space, or the like may be used.

逆に、各プリンタドライバによって変換された印刷データは、例えばCMYK方式による色空間によって色コードが特定されているが、これは、インクジェットプリンタがCMYK方式のインクによる印刷を実行するためであって、他の方式による印刷を実行するインクジェットプリンタであれば、その形式に合わせた色空間による印刷データを用いてもよい。また、特色を指定する方法としてRGB空間を用いたが、どのような色空間であっても構わない。   On the other hand, the print data converted by each printer driver has a color code specified by, for example, a color space based on the CMYK method. This is because the ink-jet printer executes printing using ink of the CMYK method. In the case of an ink jet printer that performs printing by another method, print data in a color space that matches the format may be used. Further, although the RGB space is used as a method for designating the spot color, any color space may be used.

また、印刷刺繍データに含まれる印刷データの代わりに、プリンタドライバなどを通じてインクジェットプリンタで解釈できる形式に変換したデータを持つようにしてもよい。また、印刷刺繍データに含まれる刺繍データの代わりに、刺繍ミシンで直接解釈できる形式に変換したデータを持つようにしてもよい。また、印刷刺繍データを含まずに、刺繍ミシンでデータを転送する都度、画像データから刺繍データに変換するように、刺繍データをもつようにしてもよい。   Further, instead of the print data included in the print embroidery data, data converted into a format that can be interpreted by the ink jet printer through a printer driver or the like may be provided. Further, instead of the embroidery data included in the print embroidery data, data converted into a format that can be directly interpreted by the embroidery sewing machine may be provided. In addition, embroidery data may be provided so that image data is converted into embroidery data each time data is transferred by the embroidery sewing machine without including print embroidery data.

なお、印刷装置としてインクジェットプリンタを例示したが、レーザプリンタ、サーマルプリンタ等の他の印刷装置でもよい。また、刺繍装置として家庭用の刺繍ミシンを例示したが、具体的な刺繍方式や家庭用、産業用の用途を問わず、刺繍機能を有する刺繍装置であればよい。すなわち、印刷装置又は刺繍装置は、本発明の印刷刺繍データ作成装置1が作成する印刷データ又は刺繍データを利用可能であればよい。また、非出力媒体の布帛としては、Tシャツに限定されないことはいうまでもなく、また出力対象の画像データも写真画像に限定されず、各種画像データを利用可能であることもいうまでもない。   In addition, although the inkjet printer was illustrated as a printing apparatus, other printing apparatuses, such as a laser printer and a thermal printer, may be used. Moreover, although the home embroidery sewing machine has been exemplified as the embroidery device, any embroidery device having an embroidery function may be used regardless of a specific embroidery method, home use, or industrial use. In other words, the printing apparatus or the embroidery apparatus only needs to be able to use the printing data or embroidery data created by the printing embroidery data creation apparatus 1 of the present invention. Needless to say, the fabric of the non-output medium is not limited to a T-shirt, and the image data to be output is not limited to a photographic image, and various image data can be used. .

本発明の印刷刺繍データ作成装置は、インクジェットプリンタのような印刷装置による印刷及び刺繍ミシンのような刺繍装置による印刷に利用可能な印刷データ及び刺繍データを作成するためのコンピュータに適用できる。   The print embroidery data creation device of the present invention can be applied to a computer for creating print data and embroidery data that can be used for printing by a printing device such as an inkjet printer and printing by an embroidery device such as an embroidery sewing machine.

印刷刺繍データ作成装置1の物理的構成を示す全体構成図である。1 is an overall configuration diagram showing a physical configuration of a printing embroidery data creation device 1; 印刷刺繍データ作成装置1の機能的構成を示すブロック図である。3 is a block diagram illustrating a functional configuration of the printing embroidery data creation apparatus 1. FIG. 「第1の実施の形態」における全体の流れを示すフローチャートである。It is a flowchart which shows the whole flow in "1st Embodiment." 人物の顔を映す写真画像の画像データを示す図である。It is a figure which shows the image data of the photographic image which shows a person's face. 印刷刺繍データ作成処理(S2)のメインフローチャートを示す図である。It is a figure which shows the main flowchart of a printing embroidery data creation process (S2). 特色の入力画面を示す図である。It is a figure which shows the input screen of a spot color. 特色対応テーブルを示す図である。It is a figure which shows a spot color corresponding | compatible table. 特色領域分解処理(S13)の詳細を示すフローチャートである。It is a flowchart which shows the detail of a spot color area separation process (S13). (a)が特色領域分解処理(S13)によって設定された特色領域を示す図、(b)が特色領域分解処理(S13)によって設定された印刷領域を示す図である。(A) is a figure which shows the special color area set by the special color area separation process (S13), (b) is a figure which shows the printing area set by the special color area separation process (S13). (a)が刺繍データ作成処理(S14)によって作成された、特色領域に対応する刺繍データを示す図、(b)が刺繍データ作成処理(S13)によって作成された、特色領域以外の領域(印刷領域)に対応する刺繍データを示す図である。(A) is a diagram showing embroidery data corresponding to the spot color area created by the embroidery data creation process (S14), and (b) is an area other than the spot color area (printing) created by the embroidery data creation process (S13). It is a figure which shows the embroidery data corresponding to (area | region). 刺繍データ合成処理(S15)によって合成された刺繍データの一例を示す図である。It is a figure which shows an example of the embroidery data synthesize | combined by the embroidery data synthetic | combination process (S15). 刺繍データに含まれるステッチデータの概念を示す図である。It is a figure which shows the concept of the stitch data contained in embroidery data. 刺繍データ合成処理(S15)によって合成された刺繍データを示す図である。It is a figure which shows the embroidery data synthesize | combined by the embroidery data synthetic | combination process (S15). 印刷データ生成処理(S16)によって生成された印刷データの一例を示す図である。It is a figure which shows an example of the print data produced | generated by the print data production | generation process (S16). 印刷データ生成処理(S16)によって生成された印刷データを示す図である。It is a figure which shows the print data produced | generated by the print data production | generation process (S16). 印刷刺繍データ編集処理(S17)によって出力される図柄を説明するための図である。It is a figure for demonstrating the symbol output by printing embroidery data edit processing (S17). 「第2の実施の形態」における、全体の流れを示すフローチャートである。It is a flowchart which shows the whole flow in "2nd Embodiment." 「第3の実施の形態」における、印刷刺繍データ編集処理(S17)によって出力される図柄を説明するための図である。It is a figure for demonstrating the symbol output by the printing embroidery data edit process (S17) in "3rd Embodiment." 他の特色の入力画面を示す図である。It is a figure which shows the input screen of another spot color. 刺繍糸対応テーブルを示す図である。It is a figure which shows the embroidery thread corresponding | compatible table.

符号の説明Explanation of symbols

1 印刷刺繍データ作成装置
10 装置本体
11 CPU
12 ROM
13 RAM
14 I/Oインターフェイス
21 マウス
22 キーボード
23 メモリカードコネクタ
24 表示装置
25 イメージスキャナ装置

1 Printing Embroidery Data Creation Device 10 Device Body 11 CPU
12 ROM
13 RAM
14 I / O interface 21 Mouse 22 Keyboard 23 Memory card connector 24 Display device 25 Image scanner device

Claims (15)

画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成する印刷刺繍データ作成装置であって、
任意の1以上の色である特色を指定するための特色指定手段と、
前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定手段と、
前記画像データの画素について、前記特色に対応するか否かを判定する画素判定手段と、
前記画素判定手段により、前記特色に該当すると判定された画素の集合である画素領域を特色領域として設定する一方、前記特色に該当しないと判定された画素の集合である画素領域を印刷領域として設定する領域設定手段と、
前記領域設定手段により前記特色領域として設定された画素領域が、各々該当する前記特色に対応する色の刺繍糸によって、前記出力情報設定手段によって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成手段と、
前記領域設定手段により前記印刷領域として設定された画素領域が、前記画像データにおいて各々該当する画素の色によって、前記出力情報設定手段によって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成手段と
を備えることを特徴とする印刷刺繍データ作成装置。
A print embroidery data creation device that creates embroidery data that can be embroidered by an embroidery device and print data that can be printed by a printing device from image data consisting of a collection of pixels,
Spot color designating means for designating a spot color that is any one or more colors;
Output information setting means for setting an output size and an output position in embroidery of the embroidery data by the embroidery device and printing of the print data by the printing device;
Pixel determination means for determining whether the pixel of the image data corresponds to the spot color;
A pixel area that is a set of pixels determined to correspond to the spot color by the pixel determination unit is set as a spot color area, while a pixel area that is a set of pixels determined not to match the spot color is set as a print area. Area setting means to perform,
The pixel area set as the spot color area by the area setting means is output by the embroidery apparatus at the output size and output position set by the output information setting means by the embroidery thread of the color corresponding to the corresponding spot color. Embroidery data creation means for creating output embroidery data;
The pixel area set as the print area by the area setting means is output by the printing device at the output size and output position set by the output information setting means according to the color of each corresponding pixel in the image data. A print embroidery data creation device comprising: print data creation means for creating print data.
前記刺繍データと前記印刷データとを含む印刷刺繍データを作成する印刷刺繍データ作成手段を備えることを特徴とする請求項1に記載の印刷刺繍データ作成装置。   The print embroidery data creation device according to claim 1, further comprising print embroidery data creation means for creating print embroidery data including the embroidery data and the print data. 前記刺繍データにおける、前記画像データでの画素単位での大きさに対する前記刺繍装置において現実に刺繍される大きさの比率は、前記印刷データにおける、前記画像データでの画素単位での大きさに対する前記印刷装置において現実に印刷される大きさの比率と等しいことを特徴とする請求項1又は2に記載の印刷刺繍データ作成装置。   In the embroidery data, the ratio of the size that is actually embroidered in the embroidery device to the size in pixel units in the image data is the ratio of the size in pixel units in the image data in the print data. 3. The print embroidery data creation device according to claim 1, wherein the print embroidery data creation device is equal to a ratio of a size actually printed by the printing device. 前記刺繍データは、色コード、刺繍位置及び刺繍サイズを示す情報と、前記特色領域を刺繍で表現するための縫目を示すステッチデータとから構成されることを特徴とする請求項1乃至3のいずれかに記載の印刷刺繍データ作成装置。   4. The embroidery data includes information indicating a color code, an embroidery position and an embroidery size, and stitch data indicating a stitch for expressing the special color area by embroidery. The printing embroidery data creation device according to any one of the above. 前記印刷データは、前記画像データのうちで前記印刷領域として設定された画素領域を示す情報と、印刷位置及び印刷サイズを示す情報とから構成されることを特徴とする請求項1乃至4のいずれかに記載の印刷刺繍データ作成装置。   The print data includes information indicating a pixel area set as the print area in the image data, and information indicating a print position and a print size. The printing embroidery data creation device described in the above. 前記刺繍データ作成手段は、前記領域設定手段により前記印刷領域として設定された画素領域から、第2の刺繍データを作成することを特徴とする請求項1乃至5のいずれかに記載の印刷刺繍データ作成装置。   6. The print embroidery data according to claim 1, wherein the embroidery data creation means creates second embroidery data from the pixel area set as the print area by the area setting means. Creation device. 前記第2の刺繍データは、白色の色コード、刺繍位置及び刺繍サイズを示す情報と、前記印刷領域を刺繍で表現するための前記刺繍装置での針落ち位置を示すステッチデータとから構成されることを特徴とする請求項6に記載の印刷刺繍データ作成装置。   The second embroidery data is composed of information indicating a white color code, an embroidery position and an embroidery size, and stitch data indicating a needle drop position in the embroidery apparatus for expressing the print area by embroidery. The printing embroidery data creating apparatus according to claim 6. 複数の刺繍糸と当該複数の刺繍糸の色コードが対応付けられて記憶された刺繍糸対応テーブルを備え、
前記特色指定手段は、前記刺繍糸対応テーブルに記憶された複数の刺繍糸の色のうち、任意の1以上の刺繍糸の色である特色を指定するためのものであることを特徴とする請求項1乃至7のいずれかに記載の印刷刺繍データ作成装置。
An embroidery thread correspondence table in which a plurality of embroidery threads and color codes of the plurality of embroidery threads are associated and stored;
The spot color designating unit is for designating a spot color that is one or more embroidery thread colors among a plurality of embroidery thread colors stored in the embroidery thread correspondence table. Item 8. The print embroidery data creation device according to any one of Items 1 to 7.
前記画素判定手段は、任意の色空間上における前記画素の色と前記特色の色コードの色との距離が、所定の閾値よりも小さい場合、当該画素は当該特色に対応すると判定することを特徴とする請求項1乃至8のいずれかに記載の印刷刺繍データ作成装置。   The pixel determining unit determines that the pixel corresponds to the spot color when a distance between the color of the pixel and the color of the spot color code in an arbitrary color space is smaller than a predetermined threshold. A printing embroidery data creation device according to any one of claims 1 to 8. コンピュータに、画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成させるための印刷刺繍データ作成プログラムであって、
任意の1以上の色である特色を指定するための特色指定工程、
前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定工程、
前記画像データの画素について、前記特色に対応するか否かを判定する画素判定工程、
前記画素判定工程により、前記特色に該当すると判定された画素の集合である画素領域を特色領域として設定する一方、前記特色に該当しないと判定された画素の集合である画素領域を印刷領域として設定する領域設定工程、
前記領域設定工程により前記特色領域として設定された画素領域が、各々該当する前記特色に対応する色の刺繍糸によって、前記出力情報設定工程によって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成工程、
前記領域設定工程により前記印刷領域として設定された画素領域が、前記画像データにおいて各々該当する画素の色によって、前記出力情報設定工程によって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成工程
を実行させるための印刷刺繍データ作成プログラム。
A print embroidery data creation program for causing a computer to create embroidery data that can be embroidered by an embroidery device and print data that can be printed by a printing device from image data consisting of a collection of pixels,
A spot color designating process for designating a spot color which is any one or more colors;
An output information setting step for setting an output size and an output position in embroidery of the embroidery data by the embroidery device and printing of the print data by the printing device;
A pixel determination step for determining whether or not the pixel of the image data corresponds to the spot color;
A pixel area that is a set of pixels determined to correspond to the spot color in the pixel determination step is set as a spot color area, while a pixel area that is a set of pixels determined not to match the spot color is set as a print area. Area setting process,
The pixel area set as the spot color area by the area setting step is output by the embroidery device at the output size and output position set by the output information setting step by the embroidery thread of the color corresponding to the corresponding spot color. Embroidery data creation process for creating output embroidery data,
The pixel region set as the print region by the region setting step is output by the printing device at the output size and output position set by the output information setting step according to the color of each corresponding pixel in the image data. A print embroidery data creation program for executing a print data creation process for creating print data.
画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成する印刷刺繍データ作成方法であって、
任意の1以上の色である特色を指定するための特色指定ステップと、
前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定ステップと、
前記画像データの画素について、前記特色に対応するか否かを判定する画素判定ステップと、
前記画素判定ステップにより、前記特色に該当すると判定された画素の集合である画素領域を特色領域として設定する一方、前記特色に該当しないと判定された画素の集合である画素領域を印刷領域として設定する領域設定ステップと、
前記領域設定ステップにより前記特色領域として設定された画素領域が、各々該当する前記特色に対応する色の刺繍糸によって、前記出力情報設定ステップによって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成ステップと、
前記領域設定ステップにより前記印刷領域として設定された画素領域が、前記画像データにおいて各々該当する画素の色によって、前記出力情報設定ステップによって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成ステップと
を備えることを特徴とする印刷刺繍データ作成方法。
A print embroidery data creation method for creating embroidery data that can be embroidered by an embroidery device and print data that can be printed by a printing device from image data consisting of a collection of pixels,
A spot color specifying step for specifying a spot color that is one or more arbitrary colors;
An output information setting step for setting an output size and an output position in embroidery of the embroidery data by the embroidery device and printing of the print data by the printing device;
A pixel determination step for determining whether or not the pixel of the image data corresponds to the spot color;
A pixel area that is a set of pixels determined to correspond to the spot color in the pixel determination step is set as a spot color area, while a pixel area that is a set of pixels determined not to match the spot color is set as a print area. An area setting step to be performed;
The pixel area set as the spot color area by the area setting step is output by the embroidery device at the output size and output position set by the output information setting step by the embroidery thread of the color corresponding to the corresponding spot color. Embroidery data creation step for creating output embroidery data;
The pixel area set as the print area by the area setting step is output by the printing apparatus at the output size and output position set by the output information setting step according to the color of each corresponding pixel in the image data. A print embroidery data creation method comprising: a print data creation step for creating print data.
被出力媒体への刺繍を実行する刺繍装置によって読取られ、該刺繍装置における出力サイズ及び出力位置に対応した刺繍データと、被出力媒体への印刷を実行する印刷装置によって読取られ、該印刷装置における出力サイズ及び出力位置に対応した印刷データとを含む印刷刺繍データのデータ構造。   Read by the embroidery device that performs embroidery on the output medium, read by the printing device that executes printing on the output medium, and embroidery data corresponding to the output size and output position in the embroidery device. A data structure of print embroidery data including print data corresponding to an output size and an output position. 前記刺繍データにおける、前記画像データでの画素単位での大きさに対する前記刺繍装置において現実に刺繍される大きさの比率は、前記印刷データにおける、前記画像データでの画素単位での大きさに対する前記印刷装置において現実に印刷される大きさの比率と等しいことを特徴とする請求項12に記載の印刷刺繍データのデータ構造。   In the embroidery data, the ratio of the size that is actually embroidered in the embroidery device to the size in pixel units in the image data is the ratio of the size in pixel units in the image data in the print data. 13. The data structure of print embroidery data according to claim 12, wherein the data structure is equal to a ratio of the size actually printed by the printing apparatus. 前記刺繍データは、色コード、刺繍位置及び刺繍サイズを示す情報と、前記特色領域を刺繍で表現するための縫目を示すステッチデータとから構成されることを特徴とする請求項12又は13に記載の印刷刺繍データのデータ構造。   14. The embroidery data is composed of information indicating a color code, an embroidery position and an embroidery size, and stitch data indicating a stitch for expressing the spot color area by embroidery. Data structure of the print embroidery data described. 前記印刷データは、前記画像データのうちで前記印刷領域として設定された画素領域を示す情報と、印刷位置及び印刷サイズを示す情報とから構成されることを特徴とする請求項12乃至14のいずれかに記載の印刷刺繍データのデータ構造。



15. The print data according to claim 12, wherein the print data includes information indicating a pixel area set as the print area in the image data, and information indicating a print position and a print size. A data structure of the print embroidery data described in the above.



JP2004043172A 2004-02-18 2004-02-19 Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method Expired - Fee Related JP4363216B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004043172A JP4363216B2 (en) 2004-02-19 2004-02-19 Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method
US11/060,710 US7587257B2 (en) 2004-02-18 2005-02-18 Image editing device and print/embroidery data creating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004043172A JP4363216B2 (en) 2004-02-19 2004-02-19 Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method

Publications (2)

Publication Number Publication Date
JP2005230256A true JP2005230256A (en) 2005-09-02
JP4363216B2 JP4363216B2 (en) 2009-11-11

Family

ID=35013803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004043172A Expired - Fee Related JP4363216B2 (en) 2004-02-18 2004-02-19 Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method

Country Status (1)

Country Link
JP (1) JP4363216B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4040769A1 (en) * 2021-02-09 2022-08-10 Canon Kabushiki Kaisha Information processing apparatus, control method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4040769A1 (en) * 2021-02-09 2022-08-10 Canon Kabushiki Kaisha Information processing apparatus, control method, and program
US11659130B2 (en) 2021-02-09 2023-05-23 Canon Kabushiki Kaisha Information processing apparatus having multiple display regions, control method, and storage medium
US11936833B2 (en) 2021-02-09 2024-03-19 Canon Kabushiki Kaisha Information processing apparatus having multiple display regions, control method, and storage medium

Also Published As

Publication number Publication date
JP4363216B2 (en) 2009-11-11

Similar Documents

Publication Publication Date Title
US7587257B2 (en) Image editing device and print/embroidery data creating device
JP4211005B2 (en) Data processing device
US4998489A (en) Embroidering machines having graphic input means
JP4399806B2 (en) Compound data processing device
US5880963A (en) Embroidery data creating device
JPH08141244A (en) Embroidering data preparing device
US5794553A (en) Embroidery data processing apparatus
EP1838085A2 (en) Print data generating apparatus and controlling method therefor
CN101114211B (en) Image date output device, printing device, printing system, image data output method and image data output program installation method
US8164786B2 (en) Print data generating apparatus and computer usable medium therefor, and image processing apparatus and computer usable medium therefor
US6952626B1 (en) Embroidery data producing device and embroidery data producing control program stored on computer-readable medium
JP2003326014A (en) Stitching data generating device and stitching data generating program
JP4560780B2 (en) Data processing device
JP4363216B2 (en) Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method
US5559711A (en) Apparatus and method for processing embroidery data based on roundness of embroidery region
JP4274021B2 (en) Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method
US6944519B2 (en) Embroidery data producing device and embroidery data producing program stored in a computer readable medium
JP5070155B2 (en) Image processing apparatus, image processing method, and program
JP4399805B2 (en) Compound data processing device
JP2005231098A (en) Image editing apparatus and image editing method
JPH07136361A (en) Embroidery data generating device
JP2002166601A (en) Color image processor
US6098554A (en) Embroidery stitch data producing device
JPH09122366A (en) Embroidery pattern displaying sewing data processing equipment
JP2006180976A (en) Embroidery data processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061117

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090210

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090316

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090728

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090810

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120828

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees