JP4274021B2 - Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method - Google Patents

Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method Download PDF

Info

Publication number
JP4274021B2
JP4274021B2 JP2004096584A JP2004096584A JP4274021B2 JP 4274021 B2 JP4274021 B2 JP 4274021B2 JP 2004096584 A JP2004096584 A JP 2004096584A JP 2004096584 A JP2004096584 A JP 2004096584A JP 4274021 B2 JP4274021 B2 JP 4274021B2
Authority
JP
Japan
Prior art keywords
embroidery
data
print
area
color
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.)
Expired - Fee Related
Application number
JP2004096584A
Other languages
Japanese (ja)
Other versions
JP2005278860A (en
Inventor
健司 山田
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 JP2004096584A priority Critical patent/JP4274021B2/en
Priority to US11/060,710 priority patent/US7587257B2/en
Publication of JP2005278860A publication Critical patent/JP2005278860A/en
Application granted granted Critical
Publication of JP4274021B2 publication Critical patent/JP4274021B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 image 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.

また、画像データが表す図柄のうちで、いずれの領域を印刷として出力し、いずれの領域を刺繍として出力するかは、作業者の任意の判断によって決定されていた。そして、この作業者の判断に基づいて、印刷する領域に関する印刷データが作成され、また、刺繍する領域に関する刺繍データが作成されていた。   Also, which area of the design represented by the image data is output as print and which area is output as embroidery has been determined by the operator's arbitrary judgment. Based on the judgment of the operator, print data relating to the area to be printed is created, and embroidery data relating to the area to be embroidered is created.

そのため、従来においては、同一の画像データに関して印刷及び刺繍を実行する場合、インクジェットプリンタで用いられる印刷データと刺繍ミシンで用いられる刺繍データとを、それぞれ別個に作成していた。そして、作業者が、その印刷データを用いて印刷を実行する時は、既に刺繍されている部分との位置合わせやサイズ調整を行いながら印刷を実行していた。または、作業者が、その刺繍データを用いて刺繍を実行する時は、既に印刷されている部分との位置合わせやサイズ調整を行いながら刺繍を実行していた。   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

しかしながら、このような従来の画像データの印刷及び刺繍に関する手法では、作業者の任意に判断によって、1つの画像データの中で印刷する領域と刺繍する領域とが決定されていたが、実際には、画像データには刺繍に適する領域と適さない領域が存在する。   However, in such a conventional technique relating to printing and embroidery of image data, an area to be printed and an area to be embroidered are determined in one image data by an operator's arbitrary judgment. The image data includes a region suitable for embroidery and a region not suitable for embroidery.

例えば、刺繍ミシンにおける1ステッチ(刺繍で表現するための縫目の1つ)が画像データのうちの複数の画素と対応する場合、当該1ステッチに対応する複数画素が同じ刺繍糸の色に対応すれば問題ないが、これら複数画素がそれぞれ大きく異なる色を示す場合は問題である。すなわち、1ステッチは1つの刺繍糸による1回の刺繍動作であり、1ステッチにおいては刺繍糸の色を途中で変化させることはできない。よって、それぞれ大きく異なる色を示す複数画素が1ステッチに対応する場合は、これら複数画素の色の変化を表現できないため、そのような領域を刺繍によって表すとTシャツ等へ出力される図柄が画像データにおける図柄と比較して、ずれやゆがみが発生する問題があった。   For example, when one stitch in an embroidery sewing machine (one stitch for expressing by embroidery) corresponds to a plurality of pixels in the image data, the plurality of pixels corresponding to the one stitch correspond to the same embroidery thread color. If this is the case, there is no problem, but it is a problem if these multiple pixels show different colors. That is, one stitch is one embroidery operation using one embroidery thread, and the color of the embroidery thread cannot be changed in the middle of one stitch. Therefore, when a plurality of pixels each having a significantly different color corresponds to one stitch, the color change of these pixels cannot be expressed. Therefore, when such a region is represented by embroidery, a pattern output to a T-shirt or the like is an image. There was a problem that a shift or distortion occurred compared to the pattern in the data.

よって、画像データの中で印刷する領域と刺繍する領域とを、作業者が設定する場合には刺繍に適する領域と適さない領域とを判断しなければならず、このような判断を正確に行うためには作業者の熟練を要していた。また、作業者が印刷する領域と刺繍する領域をその都度設定しなければならず、これらはあくまで人手による作業であるため、作業者に大きな負担と手間を与えていた。   Therefore, when the operator sets the area to be printed and the area to be embroidered in the image data, it is necessary to determine an area suitable for embroidery and an area unsuitable for embroidery. In order to do so, the skill of the operator was required. In addition, the area to be printed and the area to be embroidered by the worker must be set each time, and these are manual tasks, which places a heavy burden and effort on the worker.

また、上記特許文献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 operator arbitrarily sets the area to be printed and the area to be embroidered in the image data is the same as the conventional technique for printing and embroidering image data. Therefore, when setting it arbitrarily by the worker, the worker must determine the region suitable for embroidery and the region not suitable for embroidery, and the operator sets the region to be printed and the region to be embroidered each time. It does not solve the problem of having to.

また、布地への刺繍に用いられる刺繍データとプリントに用いられる印刷データが独立して存在している点も、従来の画像データの印刷及び刺繍に関する手法と同じであって、1つの装置で布地への刺繍とプリントを実行することで、布地の張り替えに伴う位置及びサイズのずれや狂いの発生は防止できるものの、印刷データと刺繍データとが別個に存在することを原因とする位置及びサイズのずれや狂いの発生は防止できなかった。そのため、特許文献1に記載の発明による装置で、実際に布地へのプリント及び刺繍を実行する場合にも、作業者による位置合わせやサイズ調整が必要とするという問題があった。   In addition, the embroidery data used for embroidery on the fabric and the print data used for printing exist independently, which is the same as the conventional method for printing and embroidery of image data. By executing embroidery and printing on the fabric, it is possible to prevent the occurrence of position and size shifts and deviations due to fabric re-covering, but the position and size of the print data and embroidery data that exist separately exist. The occurrence of misalignment and madness could not be prevented. 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以上の刺繍糸の色を設定するための使用可能色設定手段と、前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定手段と、刺繍模様を構成するステッチデータを設定するステッチデータ設定手段と、前記ステッチデータにおけるステッチの表出部分を構成する各線分を、前記画像データにおける微小領域として設定する微小領域設定手段と、前記微小領域設定手段により設定された前記微小領域に含まれる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, usable color setting means for setting the color of any one or more embroidery threads used in the embroidery device, embroidery of the embroidery data by the embroidery device, and the Output information setting means for setting an output size and an output position in printing of the print data by the printing apparatus, stitch data setting means for setting stitch data constituting an embroidery pattern, and a stitch expression portion in the stitch data A minute area setting means for setting each line segment constituting the image data as a minute area in the image data, and the minute area Pixel determining means for determining whether or not one or more pixels included in the minute area set by the determining means correspond to the usable color; and one or more pixels included in the minute area by the pixel determining means When it is determined that a pixel corresponds to the usable color, the minute area is set as an embroidery area, and when it is determined that the pixel does not correspond to the usable color, an area setting unit that sets the minute area as a print area And the minute area set as the embroidery area by the area setting means is the output size and output position set by the output information setting means by the embroidery thread of the color corresponding to the corresponding usable color, Embroidery data creating means for creating embroidery data output by the embroidery device, and a micro area set as the print area by the area setting means Each the color of the corresponding pixel in the set output size and output position by said output information setting unit, and a print data creating means for creating print data to be output by the printing apparatus.

また、請求項2に係る発明の印刷刺繍データ作成装置は、請求項1に記載の発明の構成に加え、前記領域設定手段は、前記画素判定手段が前記微小領域に含まれる1以上の画素のうち、あらかじめ定められた割合以上の画素が前記使用可能色に対応すると判定した場合、該微小領域を刺繍領域として設定することを特徴とする。   According to a second aspect of the present invention, in addition to the configuration of the first aspect of the invention, the region setting unit includes the pixel setting unit that includes one or more pixels included in the minute region. Among these, if it is determined that pixels of a predetermined ratio or more correspond to the usable color, the minute area is set as an embroidery area.

また、請求項3に係る発明の印刷刺繍データ作成装置は、請求項2に記載の発明の構成に加え、前記画素判定手段は、前記微小領域に含まれる1以上の画素のうち、前記ステッチの始点に対応する画素が前記使用可能色の1つに対応する場合において、該微小領域に含まれる1以上の画素のうち、あらかじめ定められた割合以上の画素が該使用可能色の1つに対応する場合は、前記使用可能色に対応すると判定することを特徴とする。   According to a third aspect of the present invention, in addition to the configuration of the second aspect, the pixel determining means includes the stitch deciding means of the stitch among one or more pixels included in the minute region. In a case where a pixel corresponding to a start point corresponds to one of the usable colors, out of one or more pixels included in the minute area, pixels of a predetermined ratio or more correspond to one of the usable colors. If it is to be determined, it is determined that it corresponds to the usable color.

また、請求項4に係る発明の印刷刺繍データ作成装置は、請求項1乃至3のいずれかに記載の発明の構成に加え、前記ステッチデータ設定手段は、予め作成されたステッチデータを読み込むステッチデータ読み込み手段を備えている。   According to a fourth aspect of the present invention, there is provided the printing embroidery data creation device, in addition to the configuration of the invention according to any one of the first to third aspects, the stitch data setting means reads stitch data for reading stitch data created in advance. Reading means are provided.

また、請求項5に係る発明の印刷刺繍データ作成装置は、請求項1乃至4のいずれかに記載の発明の構成に加え、前記領域設定手段は、前記画像データのうちで、前記微小領域すべてに含まれない領域を前記印刷領域として設定することを特徴とする。   According to a fifth aspect of the present invention, there is provided the print embroidery data creation device, in addition to the configuration of the invention according to any one of the first to fourth aspects, the area setting means includes all the minute areas in the image data. An area not included in the print area is set as the print area.

また、請求項6に係る発明の印刷刺繍データ作成装置は、請求項1乃至5のいずれかに記載の発明の構成に加え、前記領域設定手段により前記印刷領域として設定された前記微小領域から、第2の刺繍データを作成することを特徴とする。   In addition to the configuration of the invention according to any one of claims 1 to 5, the print embroidery data creation device according to the invention according to claim 6 includes the minute area set as the print area by the area setting unit, Second embroidery data is created.

また、請求項7に係る発明の印刷刺繍データ作成装置は、請求項1乃至6のいずれかに記載の発明の構成に加え、前記画素判定手段は、任意の色空間上における前記画素の色の位置と前記使用可能色の色の位置との距離が、所定の閾値よりも小さい場合は、該画素が該使用可能色に対応すると判定することを特徴とする。   According to a seventh aspect of the present invention, there is provided the print embroidery data creation device, in addition to the configuration of the invention according to any one of the first to sixth aspects, wherein the pixel determining means When the distance between the position and the color position of the usable color is smaller than a predetermined threshold, it is determined that the pixel corresponds to the usable color.

また、請求項8に係る発明の印刷刺繍データ作成装置は、請求項1乃至7のいずれかに記載の発明の構成に加え、前記刺繍データと前記印刷データとを含む印刷刺繍データを作成する印刷刺繍データ作成手段を備えている。   According to an eighth aspect of the present invention, there is provided a print embroidery data creating apparatus that creates print embroidery data including the embroidery data and the print data in addition to the configuration of the invention according to any one of the first to seventh aspects. Embroidery data creation means is provided.

また、請求項9に係る発明の印刷刺繍データ作成プログラムは、コンピュータに、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成させるための印刷刺繍データ作成プログラムであって、前記刺繍装置で使用される任意の1以上の刺繍糸の色を設定するための使用可能色設定工程、前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定工程、刺繍模様を構成するステッチデータを設定するステッチデータ設定工程、前記ステッチデータにおけるステッチの表出部分を構成する各線分を、前記画像データにおける微小領域として設定する微小領域設定工程、前記微小領域設定工程により設定された前記微小領域に含まれる1以上の画素が、前記使用可能色に対応するか否かを判定する画素判定工程、前記画素判定工程により前記微小領域に含まれる1以上の画素が前記使用可能色に対応すると判定された場合、該微小領域を刺繍領域として設定する一方、前記使用可能色に対応しないと判定された場合、該微小領域を印刷領域として設定する領域設定工程、前記領域設定工程により前記刺繍領域として設定された微小領域が、各々該当する前記使用可能色に対応する色の刺繍糸によって、前記出力情報設定工程によって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成工程、前記領域設定工程により前記印刷領域として設定された微小領域が、各々該当する画素の色によって、前記出力情報設定工程によって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成工程、を実行させることを特徴とする。   The print embroidery data creation program of the invention according to claim 9 is a print embroidery data creation program for causing a computer to create embroidery data that can be embroidered by the embroidery device and print data that can be printed by the printing device, Usable color setting step for setting the color of any one or more embroidery threads used in the embroidery device, embroidery of the embroidery data by the embroidery device, and output size in printing of the print data by the printing device; An output information setting step for setting an output position, a stitch data setting step for setting stitch data constituting an embroidery pattern, and each line segment constituting an exposed portion of the stitch in the stitch data as a minute region in the image data The micro region setting step to be set, and the micro region setting step set by the micro region setting step A pixel determination step for determining whether or not one or more pixels included in the small area correspond to the usable color, and at least one pixel included in the minute area corresponds to the usable color by the pixel determination step. If it is determined, the minute area is set as an embroidery area, while if it is determined that the minute area does not correspond to the usable color, the embroidery is performed by the area setting process for setting the minute area as a print area, and the area setting process. Embroidery data output by the embroidery device at the output size and output position set by the output information setting step by using the embroidery thread of the color corresponding to the corresponding usable color for each minute area set as the area The embroidery data creation process for creating the print area, and the micro area set as the print area by the area setting process is changed according to the color of the corresponding pixel. In set output size and output position by the output information setting step, characterized in that to execute the print data creation process, creating print data to be output by the printing apparatus.

また、請求項10に係る発明の印刷刺繍データ作成方法は、画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成する印刷刺繍データ作成方法であって、前記刺繍装置で使用される任意の1以上の刺繍糸の色を設定するための使用可能色設定ステップと、前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定ステップと、刺繍模様を構成するステッチデータを設定するステッチデータ設定ステップと、前記ステッチデータにおけるステッチの表出部分を構成する各線分を、前記画像データにおける微小領域として設定する微小領域設定ステップと、前記微小領域設定ステップにより設定された前記微小領域に含まれる1以上の画素が、前記使用可能色に対応するか否かを判定する画素判定ステップと、前記画素判定ステップにより前記微小領域に含まれる1以上の画素が前記使用可能色に対応すると判定された場合、該微小領域を刺繍領域として設定する一方、前記使用可能色に対応しないと判定された場合、該微小領域を印刷領域として設定する領域設定ステップと、前記領域設定ステップにより前記刺繍領域として設定された微小領域が、各々該当する前記使用可能色に対応する色の刺繍糸によって、前記出力情報設定ステップによって設定された出力サイズ及び出力位置で、前記刺繍装置によって出力される刺繍データを作成する刺繍データ作成ステップと、前記領域設定ステップにより前記印刷領域として設定された微小領域が、各々該当する画素の色によって、前記出力情報設定ステップによって設定された出力サイズ及び出力位置で、前記印刷装置によって出力される印刷データを作成する印刷データ作成ステップとを備えている。   According to a tenth 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 comprising a collection of pixels A method comprising: a usable color setting step for setting a color of any one or more embroidery threads used in the embroidery device; embroidery of the embroidery data by the embroidery device; and the print data by the printing device. An output information setting step for setting an output size and an output position in printing, a stitch data setting step for setting stitch data constituting the embroidery pattern, and each line segment constituting the exposed portion of the stitch in the stitch data. A micro area setting step for setting the micro area in the image data; and the micro area setting A pixel determining step for determining whether or not one or more pixels included in the minute region set in step correspond to the usable color; and one or more pixels included in the minute region by the pixel determining step An area setting step of setting the minute area as an embroidery area when determined to correspond to the usable color, and setting the minute area as a print area when determined not to correspond to the usable color; The micro area set as the embroidery area by the area setting step is the output size and the output position set by the output information setting step by the embroidery thread of the color corresponding to the corresponding usable color. Embroidery data creation step for creating embroidery data output by the embroidery device, and the printing by the region setting step A print data creation step for creating print data to be 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, It has.

請求項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 embroidery area and the print area, the embroidery data based on the embroidery area and the print data based on the print area Was created. Therefore, embroidery data and print data can be obtained based on the same image data, and output results utilizing the characteristics of embroidery and printing can be obtained, and the output position and output size of embroidery and printing can be consistent. Can be created.

また、請求項2に係る発明の印刷刺繍データ作成装置では、請求項1に係る発明の効果に加え、微小領域の一定割合以上の画素が使用可能色に対応する場合、その微小領域を刺繍領域に設定するので、画像データを構成する画素のうちで刺繍に適する領域を適切に特定することができる。   In addition, in the printing embroidery data creation device according to the second aspect of the invention, in addition to the effect of the invention according to the first aspect, when a certain percentage or more of the pixels in the minute area correspond to usable colors, the minute area is converted into the embroidery area. Therefore, it is possible to appropriately specify an area suitable for embroidery among the pixels constituting the image data.

また、請求項3に係る発明の印刷刺繍データ作成装置では、請求項2に係る発明の効果に加え、ステッチの始点に対応する画素が使用可能色の1つに対応する場合に、微小領域に含まれる画素のうち、所定割合以上の画素が使用可能色の1つにに対応する場合に刺繍領域として設定するようにしたので、画像データを構成する画素のうちで刺繍に適する領域を適切に特定することができる。   In addition, in the printing embroidery data creation device according to the invention according to claim 3, in addition to the effect of the invention according to claim 2, when the pixel corresponding to the start point of the stitch corresponds to one of the usable colors, Since an embroidery area is set when a predetermined percentage or more of the included pixels correspond to one of the usable colors, an area suitable for embroidery is appropriately selected among the pixels constituting the image data. Can be identified.

また、請求項4に係る発明の印刷刺繍データ作成装置では、請求項1乃至3のいずれかに係る発明の効果に加え、予め作成されたステッチデータを読み込まれるようにしたので、ステップデータを容易に設定することができる。   Further, in the printing embroidery data creation device according to the invention according to claim 4, in addition to the effect of the invention according to any one of claims 1 to 3, since the stitch data created in advance is read, step data can be easily obtained. Can be set to

また、請求項5に係る発明の印刷刺繍データ作成装置では、請求項1乃至4のいずれかに係る発明の効果に加え、画像データのうちで微小領域すべてに含まれない領域を印刷領域として設定されるようにしたので、画像データのうちで刺繍データが対応していない部分については、印刷によって表現されるようにすることができる。   In addition, in the printing embroidery data creation device according to the invention according to claim 5, in addition to the effect of the invention according to any one of claims 1 to 4, an area not included in all the minute areas in the image data is set as a printing area. Thus, the portion of the image data that does not correspond to the embroidery data can be expressed by printing.

また、請求項6に係る発明の印刷刺繍データ作成装置では、請求項1乃至5のいずれかに係る発明の効果に加え、印刷領域に対応する第2の刺繍データが作成されるようにしたので、インクジェットプリンタによる印刷が実行される領域に、刺繍を施すようにすることができる。   Further, in the print embroidery data creation device of the invention according to claim 6, in addition to the effect of the invention according to any one of claims 1 to 5, the second embroidery data corresponding to the print area is created. The embroidery can be applied to the area where printing by the ink jet printer is executed.

また、請求項7に係る発明の印刷刺繍データ作成装置では、請求項1乃至6のいずれかに係る発明の効果に加え、任意の色空間の絶対値の色差に基づいて刺繍領域が設定されるようにしたので、画像データを構成する画素のうちで、使用可能色と近似の色を刺繍に適する領域として特定することができる。   In addition, in the printed embroidery data creation device according to the seventh aspect of the invention, in addition to the effect of the invention according to any one of the first to sixth aspects, the embroidery region is set based on the color difference of the absolute value of an arbitrary color space. Since it did in this way, among the pixels which comprise image data, the color which can be used and an approximate color can be specified as an area | region suitable for embroidery.

また、請求項8に係る発明の印刷刺繍データ作成装置では、請求項1乃至7のいずれかに係る発明の効果に加え、刺繍データと印刷データとを含む印刷刺繍データを作成するため、刺繍データと印刷データとを対応付けて保存することができる。   According to an eighth aspect of the present invention, there is provided a printing embroidery data creating apparatus for creating printing embroidery data including embroidery data and printing data in addition to the effects of the invention according to any one of the first to seventh aspects. And print data can be stored in association with each other.

また、請求項9に係る発明の印刷刺繍データ作成プログラムでは、画像データを構成する画素を分析して刺繍領域と印刷領域とを設定して、その刺繍領域に基づく刺繍データとその印刷領域に基づく印刷データが作成されるようにした。よって、同一の画像データを元に刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性がとれた刺繍データ及び印刷データを作成することができる。   In the print embroidery data creation program according to the ninth aspect, the pixels constituting the image data are analyzed to set the embroidery area and the print area, and the embroidery data based on the embroidery area and the print area are used. Print data was created. Therefore, embroidery data and print data can be obtained based on the same image data, and output results utilizing the characteristics of embroidery and printing can be obtained, and the output position and output size of embroidery and printing can be consistent. Can be created.

また、請求項10に係る発明の印刷刺繍データ作成方法では、画像データを構成する画素を分析して刺繍領域と印刷領域とを設定して、その刺繍領域に基づく刺繍データとその印刷領域に基づく印刷データが作成されるようにした。よって、同一の画像データを元に刺繍及び印刷のそれぞれの特性が活かされた出力結果を得ることができ、かつ、刺繍及び印刷の出力位置及び出力サイズに整合性がとれた刺繍データ及び印刷データを作成することができる。   In the print embroidery data creation method according to the tenth aspect, the pixels constituting the image data are analyzed to set the embroidery area and the print area, and the embroidery data based on the embroidery area and the print area are used. Print data was created. Therefore, embroidery data and print data can be obtained based on the same image data, and output results utilizing the characteristics of embroidery and printing can be obtained, and the output position and output size of embroidery and printing can be consistent. Can be created.

以下、本発明に係る印刷刺繍データ作成装置について、図面を参照して説明する。本発明に係る印刷刺繍データ作成装置は、画像データに表された図柄を、インクジェットプリンタによる印刷及び刺繍ミシンによる刺繍によって出力するために、印刷データと刺繍データとが関連付けられた印刷刺繍データを、当該画像データに基づいて作成するものである。   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 embroidery data is supplied from the outside by mounting the memory card storing the print embroidery data on the memory card device. The print embroidery data includes print data having information indicating a pixel area set as a print area and information indicating a print position and a print size. Based on this print data, the control mechanism of the inkjet printer The embroidery operation is automatically executed.

一方、刺繍ミシンは、ミシンベッド上に配置された、刺繍を施そうとする加工布を保持する刺繍枠を、水平移動機構によって装置固有の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

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

まず、印刷刺繍データ作成装置についての構成について、図面を参照して説明する。図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, the print embroidery data creation apparatus 1 supplies print embroidery data supplied to an embroidery sewing machine while being recorded on a non-volatile memory card, as well as to an inkjet printer. It is for creating and editing. 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上に読み込んで実行する。RAM13は、任意に読み書き可能な記憶素子であり、イメージスキャナ装置25から読み込ませた画像データや、図示しないハードディスク、CD−ROM、CD−R等の外部記憶装置から読み出された画像データを記憶する。   The CPU 11 executes various calculations and processes in accordance with the print embroidery data creation program according to the present invention stored in the 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. The RAM 13 is an arbitrarily readable / writable storage element that 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). To do.

次に、出力対象の画像データの入力から、図柄が印刷及び刺繍されたTシャツの完成までの全体の流れを、図3の「第1の実施の形態」における全体の流れを示すフローチャートに基づいて説明する。   Next, the entire flow from the input of image data to be output to the completion of the T-shirt on which the design is printed and embroidered is based on the flowchart showing the overall flow in the “first embodiment” of FIG. I will explain.

図3に示すように、まず、作業者によって、画像データが装置本体10に入力される(S1)。画像データの入力は、イメージスキャナ装置25から読み込ませた画像データを入力してもよいし、ハードディスク、CD−ROM、CD−R等の外部記憶装置から読み出された画像データを装置本体10に直接入力することも可能である。本実施の形態においては、イメージスキャナ装置25によって、図4に示すような画像データ4が読み込まれたものとする。図4に示す図柄には、左半分が黒色によって表される画素領域4aが存在する一方、右半分が白色で表された画素領域4bが存在しており、両色の境目にあたる中央部分においては左右方向に徐々に色合いが変化している画素領域4cが存在することが表れている。   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 4 as shown in FIG. 4 is read by the image scanner device 25. In the pattern shown in FIG. 4, there is a pixel area 4a whose left half is represented by black, while there is a pixel area 4b whose right half is represented by white. In the central portion corresponding to the boundary between both colors, It can be seen that there is a pixel region 4c whose hue gradually changes in the left-right direction.

次に、作業者の指示により、印刷刺繍データ作成装置1において、印刷刺繍データ作成処理(S2)が実行される。この印刷刺繍データ作成処理により、入力された画像データ4に基づいて、印刷刺繍データが作成される。   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. Through this print embroidery data creation process, print embroidery data is created based on the input image data 4.

この印刷刺繍データ作成処理(S2)の詳細を、図5乃至18を参照して説明する。図5は、印刷刺繍データ作成処理(S2)のメインフローチャートを示す図である。図6は、使用可能色の入力画面を示す図である。図7は、使用可能色対応テーブルを示す図である。図8は、ステッチ及び出力サイズの入力画面を示す図である。図9は、仮定されたステッチを説明するための図である。図10は、図9に示す仮定されたステッチの一部を拡大した図である。図11乃至15は、色連続性検査処理(S13)に関する図である。図16は、刺繍データ合成処理(S15)によって合成された刺繍データに基づく出力図柄4´を示す図である。図17は、印刷データ生成処理(S16)によって生成された印刷データに基づく出力図柄4´を示す図である。図18は、刺繍と印刷が組み合わされて出力される出力図柄4´を説明するための図である。   Details of the print embroidery data creation processing (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 is a diagram showing a usable color input screen. FIG. 7 is a diagram showing a usable color correspondence table. FIG. 8 is a diagram showing an input screen for stitches and output sizes. FIG. 9 is a diagram for explaining the assumed stitches. FIG. 10 is an enlarged view of a part of the assumed stitch shown in FIG. 11 to 15 are diagrams relating to the color continuity inspection process (S13). FIG. 16 is a diagram showing an output symbol 4 ′ based on the embroidery data synthesized by the embroidery data synthesis process (S15). FIG. 17 is a diagram showing an output pattern 4 ′ based on the print data generated by the print data generation process (S16). FIG. 18 is a diagram for explaining an output pattern 4 ′ output by combining embroidery and printing.

図5に示すように、まず、作業者によって、使用可能色が指定される(S10)。使用可能色とは、刺繍ミシンにおいて使用可能な刺繍糸の糸色として、作業者が任意に指定した色である。この場合には、図6に示すような使用可能色の入力画面が、表示装置24(図1参照)に表示されて、作業者はこの入力画面から、マウス21やキーボード22を用いて使用可能色を入力指定する。詳細には、まず、作業者は、使用可能な刺繍糸の糸色の全数量を入力するが、入力する糸色数は単数であるか複数であるかを問わない。そして、作業者は、当該入力された糸色数だけ、図6の入力画面から使用する刺繍糸の糸色情報と色コードとを入力する。これにより、図7に示すような使用可能色対応テーブルを作成される。図7に示す使用可能色対応テーブルには、作業者が入力指定した使用可能色の色コードと当該色コードのRGB値とが対応付けて記憶されている。なお、この使用可能色対応テーブルは、装置本体10のRAM13において作成及び記憶される。また、このとき、作業者が、刺繍ミシンにおける糸色の縫い順を同時に設定するようにしてもよい。また、糸色の縫い順は、予め設定しておいてもよく、入力画面に従って、作業者が入力するようにしてもよい。   As shown in FIG. 5, first, an available color is designated by the operator (S10). The usable color is a color arbitrarily designated by the operator as the thread color of the embroidery thread that can be used in the embroidery sewing machine. In this case, an input screen of usable colors as shown in FIG. 6 is displayed on the display device 24 (see FIG. 1), and the operator can use the input screen using the mouse 21 and the keyboard 22. Specify the color. Specifically, first, the operator inputs the total number of thread colors of the embroidery thread that can 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 usable color correspondence table as shown in FIG. 7 is created. In the usable color correspondence table shown in FIG. 7, the color code of the usable color input and designated by the operator and the RGB value of the color code are stored in association with each other. The usable 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.

次に、作業者により、刺繍ミシンにおける刺繍動作で施されるステッチの仮定がなされる(S11)。ステッチの仮定とは、刺繍ミシンにおける刺繍動作で施されるステッチの縫い方を予め設定することである。すなわち、図柄を刺繍する場合には、畳縫い、サテン縫い等の複数の縫い方が存在しているため、いずれの縫い方によって刺繍を施すかを仮定し、また、ステッチの方向、ピッチ、密度なども仮定する。   Next, the operator makes an assumption of stitches to be performed by the embroidery operation in the embroidery sewing machine (S11). The assumption of stitches is to set in advance how to sew stitches that are applied in an embroidery operation in an embroidery sewing machine. In other words, when embroidering a pattern, there are a plurality of sewing methods such as tatami stitching and satin stitching. Therefore, it is assumed which embroidery is used, and the stitch direction, pitch, density Etc. are also assumed.

具体的には、図8に示すようなステッチの仮定するための画面が、表示装置24(図1参照)に表示されて、作業者はこの画面から、マウス21やキーボード22を用いてステッチを仮定する。ここでは、ステッチを仮定するために、ステッチの種類,方向,密度,ピッチが、プルダウンメニューからの選択又は数値入力によって入力可能となっている。ここでは、図4の画像データ4をTシャツ等に出力するために、仮定されたステッチとして、水平方向の畳縫いが選択されて、3mmのピッチ及び3本/mmの密度が入力されている。   Specifically, a screen for assuming stitches as shown in FIG. 8 is displayed on the display device 24 (see FIG. 1), and the operator uses the mouse 21 and the keyboard 22 to perform stitches from this screen. Assume. Here, in order to assume a stitch, the type, direction, density, and pitch of the stitch can be input by selecting from a pull-down menu or by inputting a numerical value. Here, in order to output the image data 4 of FIG. 4 to a T-shirt or the like, a horizontal tatami stitch is selected as an assumed stitch, and a pitch of 3 mm and a density of 3 lines / mm are input. .

次に、作業者により、S1で入力された画像データ4の出力サイズ及び出力位置の指定が指定される(S12)。出力サイズは、出力対象の画像データ4が現実にTシャツ等へ印刷又は刺繍される際の大きさである。また、出力位置は、出力対象の画像データ4が現実に出力されるTシャツ等における位置である。この出力サイズ及び出力位置の指定は、作業者がインチやmm等の現実の大きさを示す単位で、表示装置24(図1参照)に表示される表示画面から、マウス21やキーボード22を用いて指定する。本実施の形態においては、図4で示す画像データ4を、縦120mm×横90mmのサイズで、Tシャツ上の所定の位置に出力することを作業者が指定したものとして、説明を続ける。   Next, the operator designates the output size and output position of the image data 4 input in S1 (S12). The output size is the size when the image data 4 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 the image data 4 to be output is actually output. The output size and the output position are specified in units of an actual size such as inches or mm 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. In the present embodiment, the description will be continued on the assumption that the operator has specified that the image data 4 shown in FIG. 4 is output at a predetermined position on the T-shirt in a size of 120 mm long × 90 mm wide.

ここで、S11で仮定されたステッチ及びS12で指定された出力サイズ及び出力位置について、図9及び図10を用いて詳細に説明する。出力対象の画像データ4は、刺繍ミシンによる刺繍又はインクジェットプリンタによる印刷によって、縦120mm×横90mmの出力サイズでTシャツ等の布帛に出力される。特に、刺繍ミシンによる刺繍の場合は、ステッチが「水平方向の畳縫い」として仮定されているから、図9のように仮定されたステッチに基づいて、画像データ4は複数のステッチが水平方向に畳状の施された刺繍によって出力される。また、3mmのピッチ及び3本/mmの密度でステッチが施されるから、図9の一部を拡大した図10に示すように、垂直方向に対しては1つのステッチが3mmの幅で施され、横90mmについて30ステッチが施される。一方、縦方向に対しては1mmの幅に3本分のステッチが施されるから、縦120mmについて360本のステッチが施される。   Here, the stitch assumed in S11 and the output size and output position specified in S12 will be described in detail with reference to FIGS. The image data 4 to be output is output to a fabric such as a T-shirt with an output size of 120 mm long by 90 mm wide by embroidery by an embroidery sewing machine or printing by an inkjet printer. In particular, in the case of embroidery by an embroidery sewing machine, since the stitch is assumed to be “horizontal tatami stitching”, the image data 4 is based on the assumed stitch as shown in FIG. Output by tatami-shaped embroidery. Further, since stitches are applied at a pitch of 3 mm and a density of 3 pieces / mm, as shown in FIG. 10 in which a part of FIG. 9 is enlarged, one stitch is applied with a width of 3 mm in the vertical direction. 30 stitches are applied to 90 mm in width. On the other hand, since three stitches are applied to a width of 1 mm in the vertical direction, 360 stitches are applied to a length of 120 mm.

ここで、画像データ4を構成する全ての画素を出力対象としてもよいし、当該画像データ4の一部を指定して、その指定された部分を出力対象とすることもできる。なお、この出力部分の指定は、表示装置24(図1参照)に図4に示すような画像データ4が表示されて、作業者はこの表示画面から、マウス21やキーボード22を用いて任意の出力部分を指定する。   Here, all the pixels constituting the image data 4 may be output targets, or a part of the image data 4 may be specified and the specified portion may be the output target. This output portion is designated by displaying the image data 4 as shown in FIG. 4 on the display device 24 (see FIG. 1), and the operator can arbitrarily select the output portion using the mouse 21 or the keyboard 22 from this display screen. Specify the output part.

次に、装置本体10において色連続性検査処理(S13)が実行される。色連続性検査処理では、S1で入力された画像データ4について、各ステッチに対応する微小領域に含まれる複数の画素が、同一の使用可能色に対応する場合は、そのステッチに対応する画素を刺繍領域として設定する。一方、それ以外の領域は印刷領域として設定するものである。本実施の形態においては、使用可能色に対応する領域以外の領域(印刷領域)には、さらに、刺繍ミシンにおいて白色の刺繍糸が刺繍されるものとして、以下、説明を続ける。なお、各ステッチに対応する微小領域を設定して刺繍データを作成する技術は、特開2001−259268号公報や特開2000−288275号公報などに詳細に開示されている。   Next, a color continuity inspection process (S13) is executed in the apparatus body 10. In the color continuity inspection process, when a plurality of pixels included in the minute region corresponding to each stitch correspond to the same usable color in the image data 4 input in S1, the pixel corresponding to the stitch is selected. Set as embroidery area. On the other hand, the other areas are set as print areas. In the present embodiment, the description will be continued below assuming that a white embroidery thread is further embroidered in the embroidery sewing machine in a region (printing region) other than the region corresponding to the usable color. A technique for creating embroidery data by setting a minute region corresponding to each stitch is disclosed in detail in Japanese Patent Laid-Open Nos. 2001-259268 and 2000-288275.

この色連続性検査処理(S13)の詳細を、図11乃至図15を参照して説明する。図11は、色連続性検査処理(S13)の詳細を示すフローチャートを示す図である。図12は、画像データ4を構成する画素と仮定されたステッチとの関係を説明するための図である。図13は、刺繍ミシン又はインクジェットプリンタによって出力される出力図柄4´を示す図である。図14は、画像データ4のうち、刺繍領域として設定された画素領域を示す図である。図15は、画像データ4のうち、印刷領域として設定された画素領域を示す図である。   Details of the color continuity inspection process (S13) will be described with reference to FIGS. FIG. 11 is a flowchart illustrating details of the color continuity inspection process (S13). FIG. 12 is a diagram for explaining a relationship between pixels constituting the image data 4 and assumed stitches. FIG. 13 is a diagram showing an output pattern 4 ′ output by an embroidery sewing machine or an ink jet printer. FIG. 14 is a diagram showing a pixel area set as an embroidery area in the image data 4. FIG. 15 is a diagram illustrating a pixel area set as a print area in the image data 4.

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

次に、検査対象となるステッチが特定される(S32)。すなわち、画像データ4を出力するために必要なステッチのうち、1つのステッチが検査対象として特定される。   Next, a stitch to be inspected is specified (S32). That is, one stitch among the stitches necessary for outputting the image data 4 is specified as an inspection target.

ここで、S1において入力された画像データ4を構成する画素と、S11で仮定されたステッチ及びS12で指定された出力サイズ及び出力位置との関係を説明する。先述のように、画像データ4に表された図柄は、縦120mm×横90mmの出力サイズで、指定されたTシャツ上の位置において、仮定された360本のステッチに従って、刺繍ミシンによって刺繍が施されると仮定されている。図12に示すように、仮定されたステッチは、その始点と終点が刺繍ミシンでの針落ち位置となる。そして、各ステッチはそれぞれ画像データ4の複数画素に対応しており、例えば、ステッチの始点は画素401と、ステッチの終点は画素403と、それぞれ対応している。   Here, the relationship between the pixels constituting the image data 4 input in S1, the stitch assumed in S11, and the output size and output position specified in S12 will be described. As described above, the pattern shown in the image data 4 is an output size of 120 mm in length × 90 mm in width, and is embroidered by the embroidery sewing machine in accordance with the assumed 360 stitches at the specified position on the T-shirt. It is assumed that As shown in FIG. 12, the assumed stitch has a needle drop position on the embroidery machine at the start and end points. Each stitch corresponds to a plurality of pixels of the image data 4. For example, the stitch start point corresponds to the pixel 401, and the stitch end point corresponds to the pixel 403.

S32では、この仮定された360本のステッチのうちの1つが特定されるが、ここでは、刺繍ミシンにおける座標系の開始位置に近いステッチから順に選択されるものとする。そして、特定されたステッチに対応する微小領域が設定され、この微小領域においてステッチの始点に対応する画素(X0,Y0)401が取得され(S33)、さらに、S33で取得された画素(X0,Y0)401のRGB値が取得される(S34)。   In S32, one of the assumed 360 stitches is specified. Here, it is assumed that the stitches are selected in order from the stitch closest to the start position of the coordinate system in the embroidery sewing machine. Then, a minute area corresponding to the specified stitch is set, and a pixel (X0, Y0) 401 corresponding to the start point of the stitch is obtained in this minute area (S33), and further, the pixel (X0, Y0) obtained in S33 is acquired. Y0) The RGB value of 401 is acquired (S34).

次に、検査に用いられる使用可能色が特定される(S35)。使用可能色の特定は、RAM13において記憶された使用可能色対応テーブル(図7)を参照し、格納されている使用可能色が先頭エントリから順に特定される。そして、S34で取得された画素(X0,Y0)401のRGB値と、S35で特定された使用可能色のRGB値とに基づいて、色差距離Dが計算される(S36)。色差距離Dは、使用可能色のRGB値と画素のRGB値との、色の違いである色差を絶対値の距離で示したものであり、この値が大きいほど使用可能色と画素との色差が大きいことを示し、逆にこの値が小さいほど使用可能色と画素との色差が小さいことを示す。この色差距離Dは、以下の数1に示す数式を用いて計算される。なお、数1において、使用可能色のRGB値(r1,g1,b1)、画素(X0,Y0)401のRGB値(r2,g2,b2)である。
Next, usable colors used for inspection are specified (S35). The usable colors are identified with reference to the usable color correspondence table (FIG. 7) stored in the RAM 13 and the stored usable colors are identified in order from the first entry. Then, the color difference distance D is calculated based on the RGB value of the pixel (X0, Y0) 401 acquired in S34 and the RGB value of the usable color specified in S35 (S36). The color difference distance D indicates the color difference, which is the color difference between the RGB value of the usable color and the RGB value of the pixel, as an absolute value distance. The larger the value, the color difference between the usable color and the pixel. Indicates that the smaller the value, the smaller the color difference between the usable 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 usable colors and the RGB values (r2, g2, b2) of the pixel (X0, Y0) 401 are shown.

次に、S36で計算された色差距離DとS31で設定された閾値Tとが比較される(S37)。その結果、色差距離Dが閾値Tよりも大であると判定された場合(S37:YES)、画素(X0,Y0)401の色は当該使用可能色とは大きく色が異なっており、当該使用可能色では表現できない色である。よって、画素(X0,Y0)401を当該使用可能色の刺繍糸で刺繍することは不適当であるから、全ての使用可能色について処理していなければ(S38:NO)、S35へ戻り、使用可能色対応テーブルから次の使用可能色を特定する。以上のようにして、S35〜S38が繰り返し実行されて、使用可能色対応テーブルに格納されている全ての使用可能色について、画素(X0,Y0)401との色差が判定され、画素(X0,Y0)401を表現できる使用可能色が検索される。   Next, the color difference distance D calculated in S36 is compared with the threshold T set in S31 (S37). As a result, when it is determined that the color difference distance D is greater than the threshold T (S37: YES), the color of the pixel (X0, Y0) 401 is significantly different from the usable color, and the use It is a color that cannot be expressed with possible colors. Therefore, since it is inappropriate to embroidery the pixel (X0, Y0) 401 with the embroidery thread of the usable color, if all the usable colors have not been processed (S38: NO), the process returns to S35 and used. The next usable color is specified from the possible color correspondence table. As described above, S35 to S38 are repeatedly executed, and the color difference from the pixel (X0, Y0) 401 is determined for all the usable colors stored in the usable color correspondence table, and the pixel (X0, Y0) A usable color that can express 401 is searched.

また、使用可能色対応テーブルに格納された全ての使用可能色について処理したならば(S38:YES)、その場合は使用可能色対応テーブルに画素(X0,Y0)401を表現可能な使用可能色が存在しないため、当該ステッチを刺繍によって表現することは不適当である。よって、当該ステッチに対応する微小領域に含まれる全ての画素が、インクジェットプリンタによる印刷によって表現される印刷領域として設定される(S39)。これにより、図12の場合には、当該ステッチに対応する微小領域の画素として、画素(X0,Y0)401,画素(X1,Y1)402,…,画素(X1,Y1)403の、 当該ステッチの始点から終点までの対応する画素の全てが、印刷領域として設定される。   If all the usable colors stored in the usable color correspondence table have been processed (S38: YES), in this case, usable colors that can represent the pixel (X0, Y0) 401 in the usable color correspondence table. Therefore, it is inappropriate to express the stitch by embroidery. Therefore, all the pixels included in the minute area corresponding to the stitch are set as a print area expressed by printing by the ink jet printer (S39). Thus, in the case of FIG. 12, the stitches of the pixel (X0, Y0) 401, the pixel (X1, Y1) 402,..., The pixel (X1, Y1) 403 as the pixels in the minute region corresponding to the stitch. All the corresponding pixels from the start point to the end point are set as the print area.

一方、S37において、色差距離Dが閾値Tよりも大でない使用可能色が存在する場合(S37:NO)、その使用可能色が判定対象色として設定される(S40)。判定対象色は、S32で特定されたステッチに対応する微小領域の画素が、1つの使用可能色で表現できるか否かを判定するために用いられる。   On the other hand, in S37, when there is a usable color whose color difference distance D is not greater than the threshold T (S37: NO), the usable color is set as a determination target color (S40). The determination target color is used to determine whether or not the pixels in the minute area corresponding to the stitch specified in S32 can be expressed by one usable color.

その後、S32で特定されたステッチの方向に沿ってX,Yが増減され、当該ステッチに対応する次の画素が取得される(S41)。ここで、ステッチの方向は、S12のステッチの仮定において「水平方向」と設定されているから、微小領域内で画素のX,Y座標が水平方向に増減されて、次の画素が特定される。図12では、ステッチの始点401の次の画素として、画素(X1,Y1)402が取得されることになる。   Thereafter, X and Y are increased or decreased along the stitch direction specified in S32, and the next pixel corresponding to the stitch is acquired (S41). Here, since the stitch direction is set to “horizontal direction” in the assumption of the stitch in S12, the X and Y coordinates of the pixel in the minute area are increased or decreased in the horizontal direction to specify the next pixel. . In FIG. 12, a pixel (X1, Y1) 402 is acquired as the pixel next to the stitch start point 401.

そして、画素(X1,Y1)402のRGB値が取得され(S42)、この画素(X1,Y1)402のRGB値と、S40で設定された判定対象色のRGB値とに基づいて、色差距離Dが計算される(S43)。この色差距離Dも、数1に示す数式を用いて計算される。なお、数1において、判定対象色のRGB値(r1,g1,b1)、画素(X1,Y1)402のRGB値(r2,g2,b2)である。   Then, the RGB value of the pixel (X1, Y1) 402 is acquired (S42), and based on the RGB value of the pixel (X1, Y1) 402 and the RGB value of the determination target color set in S40, the color difference distance D is calculated (S43). This color difference distance D is also calculated using the mathematical formula shown in Equation 1. In Equation 1, the RGB values (r1, g1, b1) of the determination target color and the RGB values (r2, g2, b2) of the pixel (X1, Y1) 402 are shown.

次に、S43で計算された色差距離DとS31で設定された閾値Tとが比較される(S44)。その結果、色差距離Dが閾値Tよりも大であると判定された場合は(S44:YES)、画素(X1,Y1)402の色は判定対象色とは大きく色が異なっており、当該判定対象色では表現できない色である。よって、画素(X1,Y1)402を当該判定対象色の刺繍糸で刺繍することは不適当であるから、当該ステッチに対応する微小領域に含まれる画素は、印刷領域として設定される(S45)。すなわち、S44において色差距離Dが閾値Tよりも大と判定された場合は、当該ステッチの始点に対応する画素を表現できる使用可能色(判定対象色)が存在しているものの、その使用可能色(判定対象色)では表現できない画素が、微小領域内に存在することを意味する。言い換えれば、1つのステッチ中に色が大きく異なる画素が含まれているため、ステッチを1色では表現できない。1つのステッチは1つの刺繍糸による一回の針落ち動作で施されるため、途中で色を変えることができないから、このような場合には当該ステッチに対応する画素を印刷によって出力するようにしている。   Next, the color difference distance D calculated in S43 is compared with the threshold value T set in S31 (S44). As a result, when it is determined that the color difference distance D is greater than the threshold T (S44: YES), the color of the pixel (X1, Y1) 402 is significantly different from the determination target color, and the determination is made. It is a color that cannot be expressed with the target color. Therefore, since it is inappropriate to embroidery the pixel (X1, Y1) 402 with the embroidery thread of the determination target color, the pixel included in the minute area corresponding to the stitch is set as the print area (S45). . That is, when it is determined in S44 that the color difference distance D is greater than the threshold value T, there is a usable color (determination target color) that can represent the pixel corresponding to the start point of the stitch, but the usable color This means that a pixel that cannot be expressed by (determination target color) exists in a minute region. In other words, since a pixel having greatly different colors is included in one stitch, the stitch cannot be expressed by one color. Since one stitch is applied by one needle drop operation with one embroidery thread, the color cannot be changed in the middle. In such a case, the pixel corresponding to the stitch is output by printing. ing.

一方、色差距離Dが閾値Tよりも大でないと判定された場合は(S44:NO)、画素(X1,Y1)402は判定対象色で表現可能である。この場合、画素(X1,Y1)402がステッチの終点に対応するか否かを判定し(S46)、ステッチの終点に対応するものでなければ(S46:NO)、S41に戻り、さらに次の画素を取得して同様に上記処理(S41〜S46)が繰り返される。その結果、S41で取得された画素(Xn,Yn)がステッチの終点に対応する場合は(S46:YES)、当該ステッチに対応する微小領域に含まれる全ての画素が判定対象色で表現可能であるから、すなわち、1つの刺繍糸によって表現可能であるから、当該ステッチに対応する微小領域に含まれる全ての画素は、刺繍領域として設定される(S47)。図12の場合では、画素(X1,Y1)402からステッチの終点に対応する画素(Xm,Ym)403までの画素(Xn,Yn)について上記処理(S41〜S46)が繰り返されて、これらの画素が判定対象色で表現可能な場合(色差距離D<閾値T)には、画素(X0,Y0)401,…,画素(Xm,Ym)403の当該ステッチの始点から終点までの対応する画素の全てが、刺繍領域として設定される。   On the other hand, when it is determined that the color difference distance D is not greater than the threshold value T (S44: NO), the pixel (X1, Y1) 402 can be expressed in the determination target color. In this case, it is determined whether or not the pixel (X1, Y1) 402 corresponds to the end point of the stitch (S46). If the pixel (X1, Y1) 402 does not correspond to the end point of the stitch (S46: NO), the process returns to S41. The above processing (S41 to S46) is repeated in the same manner after obtaining the pixels. As a result, when the pixel (Xn, Yn) acquired in S41 corresponds to the end point of the stitch (S46: YES), all the pixels included in the minute area corresponding to the stitch can be expressed in the determination target color. Therefore, that is, since it can be expressed by one embroidery thread, all the pixels included in the minute area corresponding to the stitch are set as the embroidery area (S47). In the case of FIG. 12, the above processing (S41 to S46) is repeated for the pixels (Xn, Yn) from the pixel (X1, Y1) 402 to the pixel (Xm, Ym) 403 corresponding to the stitch end point. When the pixel can be expressed by the determination target color (color difference distance D <threshold T), the corresponding pixel from the start point to the end point of the stitch of the pixel (X0, Y0) 401,..., Pixel (Xm, Ym) 403 Are all set as embroidery areas.

以上により、S32で特定されたステッチに対応する画素を、刺繍で表現するのに適した領域か否かによって、刺繍領域又は印刷領域のいずれかに設定することができる。S39,S45,S47のいずれかの処理後は、画像データ4の出力に必要な全てのステッチについて処理を実行しているのでなければ(S48:NO)、S32に戻り、次の検査対象となるステッチが特定される。全てのステッチについて処理を実行していれば(S48:YES)、図5に戻る。以上のように、S32〜S48が繰り返し実行されて、画像データ4について仮定された全ステッチについて、印刷領域又は刺繍領域が判定される。図4に示す画像データ4では、S12において仮定されたステッチは360本であり、これらのステッチ全てについて処理が実行されることになる。   As described above, the pixel corresponding to the stitch specified in S32 can be set to either the embroidery area or the print area depending on whether or not the area is suitable for embroidery expression. After any of the processes of S39, S45, and S47, unless all the stitches necessary for outputting the image data 4 have been processed (S48: NO), the process returns to S32 and becomes the next inspection target. A stitch is identified. If the process has been executed for all the stitches (S48: YES), the process returns to FIG. As described above, S32 to S48 are repeatedly executed to determine the print area or the embroidery area for all the stitches assumed for the image data 4. In the image data 4 shown in FIG. 4, there are 360 stitches assumed in S12, and the processing is executed for all these stitches.

この色連続性検査処理(S13)によって、図4に示す画像データ4の画素が印刷領域又は刺繍領域のいずれかに設定されて出力される点を、具体的に説明する。図4に示す画像データ4のうちで、黒色で表される画素領域4aと白色で表される画素領域4bは刺繍によって表現できるから、図11に示す色連続性検査処理(S13)のS47において、図14に示すように画素領域4aと画素領域4bは刺繍領域として設定される。一方、画素領域4cは色が大きく変化しているために刺繍では表現できないから、色連続性検査処理(S13)のS45において、図15に示すように印刷領域として設定される。   The point that the pixel of the image data 4 shown in FIG. 4 is set in either the print area or the embroidery area and output by this color continuity inspection process (S13) will be specifically described. In the image data 4 shown in FIG. 4, the pixel area 4a expressed in black and the pixel area 4b expressed in white can be expressed by embroidery. Therefore, in S47 of the color continuity inspection process (S13) shown in FIG. As shown in FIG. 14, the pixel area 4a and the pixel area 4b are set as embroidery areas. On the other hand, the pixel area 4c cannot be expressed by embroidery because the color has changed greatly. Therefore, in S45 of the color continuity inspection process (S13), it is set as a print area as shown in FIG.

そして、図14に示すように刺繍領域として設定された画素領域4a,4bと、図15に示すように印刷領域として設定された画素領域4cとに基づいて、図13に示すように、出力図柄4´が現実にTシャツ上に出力されることになる。画像データ4のうち、黒色で表される画素領域4a(図14参照)は出力図柄4´における出力領域4a´(図13参照)に対応し、同様に、白色で表される画素領域4b(図14参照)は出力領域4b´(図13参照)に対応する。一方、色が変化している画素領域4c(図15参照)は出力領域4c´(図13参照)に対応する。また、図9における刺繍部位Aは、図13における出力部位A´に対応し、同様に、刺繍部位Bは出力部位B´に対応し、刺繍部位Cは出力部位C´に対応する。さらに、図13に示すように、出力部位A´は出力領域4a´に含まれ、同様に、出力部位B´は出力領域4b´に含まれ、出力部位C´は出力領域4c´に含まれる。   Then, based on the pixel areas 4a and 4b set as the embroidery area as shown in FIG. 14 and the pixel area 4c set as the print area as shown in FIG. 15, as shown in FIG. 4 'is actually output on the T-shirt. In the image data 4, a pixel area 4a (see FIG. 14) expressed in black corresponds to the output area 4a ′ (see FIG. 13) in the output pattern 4 ′, and similarly, a pixel area 4b (shown in white) 14) corresponds to the output area 4b '(see FIG. 13). On the other hand, the pixel area 4c (see FIG. 15) where the color is changed corresponds to the output area 4c ′ (see FIG. 13). Further, the embroidery part A in FIG. 9 corresponds to the output part A ′ in FIG. 13, similarly, the embroidery part B corresponds to the output part B ′, and the embroidery part C corresponds to the output part C ′. Further, as shown in FIG. 13, the output part A ′ is included in the output area 4a ′, similarly, the output part B ′ is included in the output area 4b ′, and the output part C ′ is included in the output area 4c ′. .

すなわち、使用可能色「黒」による刺繍領域に設定された画素領域4aに基づいて、刺繍ミシンにおいて黒糸による刺繍が出力領域4a´に施される。詳細には、黒糸で表現できる領域である出力部位A´は、刺繍部位Aに示されるようなステッチで刺繍が施される。同様に、使用可能色「白」による刺繍領域に設定された画素領域4bに基づいて、刺繍ミシンにおいて白糸による刺繍が出力領域4b´に施される。詳細には、白糸で表現できる領域である出力部位B´は、刺繍部位Bに示されるようなステッチで刺繍が施される。一方、印刷領域に設定された画素領域4cに基づいて、インクジェットプリンタによる印刷が出力領域4c´に施されて、図13に示すように、出力図柄4´がTシャツ上に印刷又は刺繍が組合されて出力される。なお、本実施の形態においては、印刷領域に設定された画素領域4cに基づいて、出力領域4c´にも刺繍ミシンによって白糸による刺繍が施されるが、詳細は後述する。   That is, based on the pixel area 4a set in the embroidery area with the usable color “black”, the embroidery sewing machine performs embroidery with black thread on the output area 4a ′. Specifically, the output part A ′, which is an area that can be expressed by black thread, is embroidered with stitches as shown in the embroidery part A. Similarly, embroidery with white thread is performed on the output area 4b ′ in the embroidery sewing machine based on the pixel area 4b set in the embroidery area with the usable color “white”. Specifically, the output part B ′, which is an area that can be expressed by white thread, is embroidered with stitches as shown in the embroidery part B. On the other hand, based on the pixel area 4c set as the print area, printing by an ink jet printer is performed on the output area 4c ′, and as shown in FIG. 13, the output pattern 4 ′ is combined with printing or embroidery on the T-shirt. Is output. In the present embodiment, the output area 4c ′ is also embroidered with white thread by the embroidery sewing machine based on the pixel area 4c set as the print area. Details will be described later.

図5に戻り、装置本体10において、S11で仮定されたステッチデータとS13で設定された刺繍領域とに基づいて刺繍データを作成する刺繍データ作成処理が実行される(S14)。刺繍データは、色コード,刺繍位置,刺繍サイズを示す情報と、刺繍で表現するための縫目を示すステッチデータとから構成されるものである。ステッチデータにおいては、例えば一針毎の加工布のX・Y方向の移動量などで、各ステッチの針落ち位置が指示されている。   Returning to FIG. 5, the apparatus main body 10 executes an embroidery data creation process for creating embroidery data based on the stitch data assumed in S11 and the embroidery area set in 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 instructed by the amount of movement of the work cloth for each stitch in the X and Y directions.

刺繍データ作成処理(S14)における、画像データの画素単位での大きさに対する刺繍ミシンでの現実に出力される大きさとの比率は、後述の印刷データ生成処理(S16)における、画像データの画素単位での大きさに対するインクジェットプリンタでの現実に出力される大きさとの比率と、等しい値によって出力サイズが変換される。これにより、刺繍データ作成処理(S14)によって作成される刺繍データと、印刷データ生成処理(S16)によって作成される印刷データとは、同一の比率によって変換されるため、刺繍及び印刷の出力サイズ及び出力位置に整合性をとることができる。   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 pixel unit of 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 size actually output by the ink jet printer to the size of the above. Thus, since the embroidery data created by the embroidery data creation 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.

本実施の形態では、図14に示すように画素領域4a,4bが刺繍領域として設定された画像データ4に基づいて、上記の刺繍データ作成処理(S14)によって、画素領域4aについて使用可能色「黒」についての刺繍データが作成され、また、画素領域4bについて使用可能色「白」についての刺繍データが作成される。さらに、刺繍領域以外の領域(印刷領域)として設定された画素領域4cについては、白色の刺繍糸で刺繍する。そのため、印刷領域として設定された画素領域4cについても、刺繍データ作成処理(S14)が実行され、使用可能色「白」の刺繍データが作成される。なお、画素領域4b及び画素領域4cは、使用可能色「白」である点で共通するため、両者をデータ上、1つの領域として扱ってもよいし、別個独立の領域として扱ってもよい。ここでは、使用可能色毎に刺繍データが作成されて、使用可能色「白」の画素領域4b及び画素領域4cが1つの刺繍データとして扱われるものとする。   In the present embodiment, as shown in FIG. 14, based on the image data 4 in which the pixel areas 4a and 4b are set as the embroidery areas, the usable color “ Embroidery data for black is created, and embroidery data for the usable color “white” is created for the pixel area 4b. Further, the pixel area 4c set as an area (printing area) other than the embroidery area is embroidered with a white embroidery thread. Therefore, the embroidery data creation process (S14) is also executed for the pixel area 4c set as the print area, and embroidery data for the usable color “white” is created. Since the pixel area 4b and the pixel area 4c are common in that the usable color is “white”, both may be handled as one area in the data or may be handled as separate independent areas. Here, embroidery data is created for each usable color, and the pixel area 4b and the pixel area 4c of the usable color “white” are handled as one embroidery data.

図5に戻り、装置本体10において、刺繍データ作成処理(S14)によって使用可能色毎の刺繍データが作成されると、これらを1つの刺繍データにまとめるための刺繍データ合成処理が実行される(S15)。すなわち、刺繍ミシンにおいて一括して実行できるように、使用可能色毎の刺繍データを1つに合成して、
[白色の色コード]+[白色のステッチデータ]+[使用可能色1の色コード]+[使用可能色1のステッチデータ]+[使用可能色2の色コード]+[使用可能色2のステッチデータ]…+[使用可能色Xの色コード]+[使用可能色Xのステッチデータ]
というような、使用可能色毎の刺繍データが1つにまとまった刺繍データが合成される。
Returning to FIG. 5, when the embroidery data for each usable color is created in the apparatus body 10 by the embroidery data creation process (S14), an embroidery data synthesis process for combining these into one embroidery data is executed ( S15). In other words, embroidery data for each available color is combined into one so that it can be executed collectively on the embroidery sewing machine,
[White color code] + [White stitch data] + [Usable color 1 color code] + [Usable color 1 stitch data] + [Usable color 2 color code] + [Usable color 2 Stitch data] ... + [Color code of usable color X] + [Stitch data of usable color X]
The embroidery data in which the embroidery data for each usable color is combined into one is synthesized.

なお、本実施の形態においては、刺繍領域以外の画素領域(印刷領域として設定された画素領域)についても使用可能色「白」の刺繍データが作成され、当該刺繍データに基づいて印刷領域にも白色の刺繍糸による刺繍が施されることから、[白色の色コード]と[白色のステッチデータ]を、他の使用可能色のものと区別するために、刺繍データにおいて先頭位置に設けられている。しかし、刺繍領域以外の画素領域(印刷領域として設定された画素領域)に刺繍を施さない場合は、使用可能色「白」も通常の使用可能色と区別せずに同じように取扱って、
[使用可能色1の色コード]+[使用可能色1のステッチデータ]+[使用可能色2の色コード]+[使用可能色2のステッチデータ]…+[使用可能色Xの色コード]+[使用可能色Xのステッチデータ]
というような、使用可能色毎の刺繍データが1つにまとまった刺繍データが合成されるようにしてもよい。
In the present embodiment, the embroidery data of the usable color “white” is also created for the pixel area other than the embroidery area (the pixel area set as the print area), and the print area is also based on the embroidery data. Since embroidery is performed with white embroidery thread, [white color code] and [white stitch data] are provided at the head position in the embroidery data to distinguish them from other usable colors. Yes. However, if the pixel area other than the embroidery area (pixel area set as the print area) is not embroidered, the usable color “white” is handled in the same manner without being distinguished from the normal usable color,
[Color code of usable color 1] + [Stitch data of usable color 1] + [Color code of usable color 2] + [Stitch data of usable color 2] ... + [Color code of usable color X] + [Stitch data of usable color X]
The embroidery data in which the embroidery data for each usable color is combined into one may be synthesized.

上記の刺繍データ合成処理(S15)によって、使用可能色毎の刺繍データが1つに合成された刺繍データに基づく出力図柄4´を図16に示す。使用可能色毎の刺繍データが1つに合成された結果、使用可能色「黒」の刺繍領域として設定された画素領域4aに対応する出力領域4a´は、黒色の刺繍糸による刺繍が実行される。そして、使用可能色「白」の刺繍領域として設定された画素領域4bに対応する出力領域4b´は、白色の刺繍糸による刺繍が実行される。また、印刷領域として設定された画素領域4cに対応する出力領域4c´についても、白色の刺繍糸による刺繍が実行されることを、図16は示している。なお、この合成された刺繍データについても、Tシャツへの出力サイズは縦120mm×横90mmであり、図9に示すステッチのパターンに基づいて、指定された出力位置に刺繍が施される。   FIG. 16 shows an output pattern 4 ′ based on the embroidery data obtained by combining the embroidery data for each usable color into one by the above-described embroidery data synthesis process (S 15). As a result of combining the embroidery data for each usable color into one, the output area 4a ′ corresponding to the pixel area 4a set as the embroidery area of the usable color “black” is embroidered with the black embroidery thread. The The output area 4b ′ corresponding to the pixel area 4b set as the usable color “white” embroidery area is subjected to embroidery with a white embroidery thread. In addition, FIG. 16 shows that embroidery with a white embroidery thread is executed for the output area 4c ′ corresponding to the pixel area 4c set as the print area. The synthesized embroidery data also has an output size to the T-shirt of 120 mm long × 90 mm wide, and is embroidered at the designated output position based on the stitch pattern shown in FIG.

図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)では、図15に示すような印刷領域として設定された画素領域4cに基づいて、印刷データが生成される。画像データ4から印刷データを生成する手法は、従来より各種の手法や公知技術が知られており、また、使用するアプリケーションやデータ形式によっても用いられる手法や技術が異なるが、いずれの手法や技術によるものでも適用可能である。   In this print data generation process (S16), print data is generated based on the pixel area 4c set as a print area as shown in FIG. Various methods and known techniques have been conventionally known as methods for generating print data from the image data 4, and the methods and techniques used differ depending on the application and data format used. It is also possible to apply it.

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

ここで、印刷データの「印刷範囲」において、出力サイズは横幅,高さによって定められ、出力位置は横開始位置,縦開始位置によって定められている。S12において作業者により指定された出力サイズである縦120mm×横90mmが取得される。これをインチに換算すれば、縦4.72インチ(≒12cm)×横3.54インチ(≒9cm)となる。また、「印刷対象画像」として、図15に示すように印刷領域として設定された画素領域4cが設定される。また、「印刷解像度」は、作業者が任意に設定してよいし、予め設けられたデフォルト値が用いてもよいが、ここでは、「印刷解像度」については縦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, the output size designated by the operator, that is 120 mm in length × 90 mm in width, 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”, a pixel area 4c set as a print area as shown in FIG. 15 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.

これらの「印刷範囲」,「印刷解像度」,「印刷対象画像」等の情報に基づいて、画像データ4から、インクジェットプリンタによる印刷を実行するための印刷データが生成される。以上の印刷データ生成処理(S16)によって生成された印刷データに基づく出力図柄4´を、図17に示す。図17は、画素領域4cに対応する出力領域4c´に、インクジェットプリンタによる印刷が実行されることを示している。この印刷データの出力サイズは、縦4.72インチ(≒12cm)、横3.54インチ(≒9cm)であり、また、印刷解像度については縦600dpi×横600dpiが設定されているから、この印刷データの出力範囲のドット数は、縦2835dot(600dpi×4.72インチ)×横2126dot(600dpi×3.54インチ)である。なお、印刷データについても、出力媒体であるTシャツにおける出力サイズ及び出力位置は、先述のようにS12において作業者により指定された出力サイズ及び出力位置に対応する。なお、出力領域4a´,4b´には、印刷は実行されないため、図17において空白で表現されている。   Based on the information such as “print range”, “print resolution”, “print target image”, and the like, print data for executing printing by the ink jet printer is generated from the image data 4. FIG. 17 shows an output pattern 4 ′ based on the print data generated by the print data generation process (S16). FIG. 17 shows that printing by the ink jet printer is executed in the output area 4c ′ corresponding to the pixel area 4c. The output size of the print data is 4.72 inches (≈12 cm) in length and 3.54 inches (≈9 cm) in width, and the print resolution is set to 600 dpi × 600 dpi in width. The number of dots in the data output range is 2835 dots (600 dpi × 4.72 inches) × 2126 dots (600 dpi × 3.54 inches). 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. In addition, since printing is not performed in the output areas 4a ′ and 4b ′, the output areas 4a ′ and 4b ′ are represented by blanks in FIG.

図5に戻り、装置本体10において、次に、S15の刺繍データとS16の印刷データを編集して、1つの印刷刺繍データとする印刷刺繍データ編集処理が実行される(S17)。これは、独立して存在する刺繍データと印刷データとを1つの印刷刺繍データに編集して、両者を関連付けて保存するための処理である。この印刷刺繍データ編集処理(S17)では、
[刺繍データ開始コード]+[刺繍データ]+[印刷データ開始コード]+[印刷データ]+[印刷刺繍データ終了コード]
というデータ構成となるように、データ編集が実行される。
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 embroidery data and print data which exist independently into one print embroidery data and storing them in association with each other. 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], respectively, and 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 embroidery data is 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 inkjet 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.

作業者は、このメモリカードを、刺繍ミシンに搭載されているメモリカード装置に装着し、また、被出力媒体としての布帛であるTシャツを刺繍ミシンの所定箇所にセットして、刺繍作業を開始する。刺繍ミシンにおいては、メモリカード装置に装着されたメモリカードから刺繍データが読み出され、この刺繍データに基づいて、自動的にTシャツへの図柄の刺繍動作が実行される(S4)。   The operator inserts the memory card into a 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 and starts embroidery work. To do. In the embroidery sewing machine, embroidery data is read from a memory card attached to the memory card device, and based on this embroidery data, a design embroidery operation on the T-shirt is automatically executed (S4).

この刺繍ミシンによる刺繍では、図9に示すような仮定されたステッチに基づいて、縦10mm×横90mmのサイズで、Tシャツ上の指定された所定位置に出力される。その結果、図16に示される刺繍データに基づく出力図柄4´が、Tシャツに刺繍される。すなわち、色連続性検査処理(S13)において、刺繍領域として設定された画素領域4aに対応する出力領域4a´について、使用可能色「黒」の刺繍糸による刺繍が施される。そして、画素領域4bに対応する出力領域4b´について、使用可能色「白」の刺繍糸による刺繍が施される。また、印刷領域として設定された画素領域4cに対応する出力領域4c´については、使用可能色「白」の刺繍糸による刺繍が施される。   In the embroidery by this embroidery sewing machine, a size of 10 mm in length × 90 mm in width is output to a predetermined position on the T-shirt based on an assumed stitch as shown in FIG. As a result, the output pattern 4 ′ based on the embroidery data shown in FIG. 16 is embroidered on the T-shirt. That is, in the color continuity inspection process (S13), embroidery is performed on the output area 4a ′ corresponding to the pixel area 4a set as the embroidery area with the embroidery thread of the usable color “black”. Then, the output area 4b ′ corresponding to the pixel area 4b is embroidered with the embroidery thread of the usable color “white”. The output area 4c ′ corresponding to the pixel area 4c set as the print area is embroidered with an embroidery thread of usable color “white”.

刺繍ミシンでの刺繍作業が終了すると、作業者は、刺繍ミシンに搭載されているメモリカード装置に装着されているメモリカードを、インクジェットプリンタの動作を制御するパーソナルコンピュータに搭載されているメモリカード装置に装着する。また、刺繍ミシンにおいて図柄が刺繍されたTシャツを、インクジェットプリンタの所定箇所にセットして、印刷作業を開始する(S5)。インクジェットプリンタにおいては、メモリカード装置に装着されたメモリカードから印刷データが読み出され、この印刷データが取得される。   When the embroidery work on the embroidery sewing machine is completed, the operator uses the memory card mounted on the memory card device mounted on the embroidery sewing machine as the memory card device mounted on the personal computer that controls the operation of the inkjet printer. Attach to. Further, the T-shirt with the pattern embroidered on the embroidery sewing machine is set at a predetermined position of the ink jet printer, and the printing operation is started (S5). In an ink jet printer, print data is read from a memory card attached to a memory card device, and the print data is acquired.

ここで、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. In step S3, the 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シャツへの図柄の印刷動作が実行される(S5)。その結果、図17に示される印刷データに基づく出力図柄4´が、Tシャツに印刷される。すなわち、S13の色連続性検査処理(図11参照)において、印刷領域として設定された画素領域4c(図15参照)に対応する出力領域4c´について印刷が施される。   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 (S5). As a result, the output design 4 ′ based on the print data shown in FIG. 17 is printed on the T-shirt. That is, in the color continuity inspection process in S13 (see FIG. 11), printing is performed on the output area 4c ′ corresponding to the pixel area 4c (see FIG. 15) set as the print area.

なお、図17に示す印刷は、図16に示す刺繍が施されたTシャツに対して実行され、Tシャツにおいて白糸による刺繍が施された出力領域4c´(図13参照)の上に印刷される。その結果、図18に示すように、非出力媒体のTシャツには、刺繍された領域と印刷された領域が組み合わされた形態で、画像データ4に表された図柄が出力される。すなわち、図18に示すように、(a)に示す刺繍データは、画素領域4aには使用可能色「黒」の刺繍糸によって刺繍が施されるとともに、それ以外の画素領域4b,4cには使用可能色「白」の刺繍糸によって刺繍が施されることを示す(図14参照)。また、(b)に示す印刷データは、画素領域4cには印刷が施されることを示す(図15参照)。そして、(c)に示す出力図柄4´は、(a)の刺繍データに基づく刺繍と(b)の印刷データに基づく印刷が実行される結果、画像データ4に表された図柄が刺繍と印刷が組み合された形態でTシャツに出力されることを示す(図13参照)。   Note that the printing shown in FIG. 17 is performed on the T-shirt with the embroidery shown in FIG. 16, and is printed on the output area 4c ′ (see FIG. 13) on which the embroidery with white threads is applied. The As a result, as shown in FIG. 18, the design represented in the image data 4 is output on the T-shirt of the non-output medium in a form in which the embroidered area and the printed area are combined. That is, as shown in FIG. 18, in the embroidery data shown in (a), the pixel area 4a is embroidered with an embroidery thread of the usable color “black”, and the other pixel areas 4b and 4c It shows that the embroidery is performed with the embroidery thread of the usable color “white” (see FIG. 14). The print data shown in (b) indicates that printing is performed on the pixel region 4c (see FIG. 15). The output design 4 'shown in (c) is obtained by executing the embroidery based on the embroidery data (a) and the printing based on the print data (b). As a result, the design shown in the image data 4 is printed with the embroidery. Is output to the T-shirt in a combined form (see FIG. 13).

以上、説明したように、本実施の形態における印刷刺繍データ作成装置1では、画像データ4についてステッチに対応する微小領域に含まれる画素を分析し、使用可能色に対応する場合には刺繍領域として設定する一方、使用可能色に対応しない場合には印刷領域として設定する。そして、刺繍に適する画素領域4a,4bについて刺繍データを作成し、印刷に適する画素領域4cについて印刷データを作成する。よって、画像データから刺繍に適した部分は刺繍で、それ以外の部分は印刷で表現することができる。   As described above, the print embroidery data creation apparatus 1 according to the present embodiment analyzes pixels included in a minute area corresponding to a stitch in the image data 4 and determines an embroidery area when corresponding to a usable color. On the other hand, if it does not correspond to a usable color, it is set as a print area. Then, embroidery data is created for the pixel areas 4a and 4b suitable for embroidery, and print data is created for the pixel area 4c suitable for printing. Therefore, the part suitable for embroidery from the image data can be expressed by embroidery, and the other part can be expressed by printing.

また、作業者が、任意の使用可能色を指定でき、また、画像データ4の現実の出力サイズ及び出力位置を任意に指定できるので、画像データ4を構成する画素のうちで刺繍に適する画素領域4a,4bを適切に特定することができる。そして、作業者のニーズや刺繍ミシンの実装などの条件に応じて、より自由度と柔軟性の高い刺繍データを、任意の出力サイズ及び出力位置に基づいて作成することができる。さらに、画像データ4の刺繍実行時に用いられる任意のステッチを仮定できるようにしているので、また、刺繍ミシンでの刺繍態様に基づいて、画像データ4のうちで刺繍に適する画素領域4a,4bが特定されるため、画像データ4を正確に刺繍することができる刺繍データを、任意のステッチに基づいて作成することができる。   In addition, since the operator can specify any usable color and can also arbitrarily specify the actual output size and output position of the image data 4, a pixel area suitable for embroidery among the pixels constituting the image data 4. 4a and 4b can be specified appropriately. Then, embroidery data with a higher degree of freedom and flexibility can be created based on an arbitrary output size and output position according to conditions such as the needs of the operator and the implementation of the embroidery sewing machine. Further, since any stitch used when executing the embroidery of the image data 4 can be assumed, the pixel areas 4a and 4b suitable for embroidery are included in the image data 4 based on the embroidery mode of the embroidery sewing machine. Therefore, the embroidery data capable of accurately embroidering the image data 4 can be created based on an arbitrary stitch.

また、画像データ4に表される図柄は、刺繍で表現できる画素領域4a,4bについては刺繍ミシンによる刺繍が施される一方、刺繍で表現できない画素領域4cはインクジェットプリンタによる印刷が施されるため、Tシャツ上に刺繍と印刷とが組合された形態で出力される。しかも、刺繍と印刷との出力サイズ及び出力位置に整合性がとれた形で出力される。よって、作業者による位置合わせ等の負担を与えることなく、刺繍と印刷とが組合された形態の出力図柄4´を、正確にTシャツ上に施すことができる。   Further, in the pattern represented by the image data 4, the pixel areas 4a and 4b that can be expressed by embroidery are embroidered by the embroidery sewing machine, while the pixel area 4c that cannot be expressed by embroidery is printed by the ink jet printer. The embroidery and printing are output on the T-shirt in a combined form. In addition, the output size and output position of embroidery and printing are output in a consistent manner. Therefore, the output design 4 ′ in a form in which embroidery and printing are combined can be accurately applied on the T-shirt without giving a burden such as alignment by an operator.

また、刺繍データと印刷データとを編集して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.

また、画像データ4のうちで刺繍に適さない画素領域4cについても、白糸による刺繍データ(第2の刺繍データ)が作成される。そして、画像データ4のうちで印刷領域として設定された出力領域4c´には、刺繍ミシンによって白糸の刺繍糸による刺繍が施されて、その上にインクジェットプリンタによる印刷が施されるため、刺繍の上に印刷が施された出力結果を得ることができ、従来にない興趣を与えることができる出力図柄4´をTシャツ上に出力することができる。   In addition, embroidery data (second embroidery data) using white thread is also created for the pixel region 4c that is not suitable for embroidery in the image data 4. The output area 4c ′ set as the print area in the image data 4 is embroidered with white embroidery thread by the embroidery sewing machine and printed by the ink jet printer on the embroidery machine. It is possible to obtain an output result obtained by performing printing on the top, and to output an output pattern 4 ′ 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.

図19は、「第2の実施の形態」における、全体の流れを示すフローチャートである。「第1の実施の形態」における全体の流れを示すフローチャート(図3)との違いは、刺繍ミシンでの刺繍とインクジェットプリンタでの印刷が同一装置において実行される点である。すなわち、S6において、印刷刺繍データに基づいて、刺繍機能による刺繍と印刷機能による印刷とが実行される。なお、刺繍機能による刺繍と印刷機能による印刷とのいずれを先に実行するかは、あらかじめ順序が設定されていてもよいし、作業者がS6の作業実行の際に選択できるようにしてもよい。その他の点は、「第1の実施の形態」と同じである。   FIG. 19 is a flowchart showing the 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 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 possible to save the trouble of changing the fabric of an output medium such as a T-shirt or the like, and mounting the memory card storing the print embroidery data on the memory card devices of the embroidery sewing machine and the inkjet printer. be able to. 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 the area set as the embroidery 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 embroidery 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.

図20は、「第3の実施の形態」における、印刷刺繍データ編集処理(S17)によって出力される図柄を説明するための図である。すなわち、刺繍領域への刺繍と印刷領域への印刷とが実行された後に、Tシャツに出力される図柄を示す。図20に示すように、(a)に示す刺繍データは、画素領域4cには刺繍は施されない点が「第1の実施の形態」と異なる。また、(b)に示す印刷データは、「第1の実施の形態」に示すものと同じである。そして、(a)の刺繍データに基づく刺繍と、(b)の印刷データに基づく印刷が実行される結果、(c)のように出力図柄4´がTシャツに出力される。その他の点は、「第1の実施の形態」と同じである。   FIG. 20 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 embroidery area and the printing in the print area are executed, the symbols output to the T-shirt are shown. As shown in FIG. 20, the embroidery data shown in FIG. 20 (a) is different from the “first embodiment” in that embroidery is not applied to the pixel area 4c. The print data shown in (b) is the same as that shown in the “first embodiment”. As a result of executing the embroidery based on the embroidery data of (a) and the printing based on the print data of (b), the output pattern 4 '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に示すメインフローチャートの使用可能色の指定(S10)を行うためのマウス21及びキーボード22が、本発明の「使用可能色設定手段」に相当し、ステッチの仮定(S11)を行うためのマウス21及びキーボード22が、本発明の「ステッチデータ設定手段」に相当し、出力サイズ及び出力位置の指定(S12)を行うためのマウス21及びキーボード22が、本発明の「出力情報設定手段」に相当する。   Note that in the above “first embodiment” to “third embodiment”, the mouse 21 and the keyboard 22 for specifying the usable colors (S10) in the main flowchart shown in FIG. The mouse 21 and the keyboard 22 for performing the stitch assumption (S11) correspond to the “stitch data setting means” of the present invention, and specify the output size and output position ( The mouse 21 and the keyboard 22 for performing S12) correspond to the “output information setting means” of the present invention.

また、図5に示すメインフローチャートの色連続性検査処理(S13)を行うCPU11が、「微小領域設定手段」,「画素判定手段」,「領域設定手段」として機能する。詳細には、図11の色連続性検査処理(S13)において、微小領域の仮定と画素の特定(S32〜S34,S38,S41,S46,S48)を実行するCPU11が、本発明の「微小領域設定手段」として機能する。また、画素の判定(S31,S35〜S37,S40,S42〜S44)を実行するCPU11が、本発明の「画素判定手段」として機能する。また、領域の設定(S39,S45,S47)を実行するCPU11が、本発明の「領域設定手段」として機能する。   Further, the CPU 11 that performs the color continuity inspection process (S13) of the main flowchart shown in FIG. 5 functions as a “micro area setting unit”, “pixel determination unit”, and “area setting unit”. Specifically, in the color continuity inspection process (S13) of FIG. 11, the CPU 11 that executes the assumption of the minute area and the specification of the pixels (S32 to S34, S38, S41, S46, S48) It functions as “setting means”. In addition, the CPU 11 that executes pixel determination (S31, S35 to S37, S40, S42 to S44) functions as the “pixel determination unit” of the present invention. Further, the CPU 11 that executes the region setting (S39, S45, S47) functions as the “region setting means” of the present invention.

また、図5に示すメインフローチャートの刺繍データ作成処理(S14)及び刺繍データ合成処理(S15)を実行するCPU11が、本発明の「刺繍データ作成手段」として機能し、印刷データ生成処理(S16)を実行するCPU11が、本発明の「印刷データ作成手段」として機能する。   The CPU 11 that executes the embroidery data creation process (S14) and the embroidery data composition process (S15) in the main flowchart shown in FIG. 5 functions as the “embroidery data creation means” of the present invention, and print data generation process (S16). The CPU 11 that executes the above functions as the “print data creating means” of the present invention.

尚、本発明は、以上詳述した「第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 indicates the needle drop position in the X / Y coordinate system unique to the embroidery sewing machine by the amount of movement in the X / Y direction. Any data content can be used as long as it indicates a stitch for expressing the embroidery by embroidery. For example, the stitch may be indicated by the absolute position of the internal coordinate system in the embroidery sewing machine. In addition, embroidery methods other than embroidery by stitch units are also applicable. Therefore, the print embroidery data creation apparatus of the present invention can handle embroidery data having various data configurations according to the implementation in the embroidery sewing machine.

また、インクジェットプリンタによるドット印刷を例にして説明したが、印刷装置はインクジェットプリンタに限定されず、また印刷単位についてもドット単位に限定されない。例えば、ポイント(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.

また、刺繍ミシンによる刺繍(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つの印刷刺繍データに、複数の刺繍データや複数の印刷データがまとめられるような構成としてもよい。また、色連続性検査処理(S13)において印刷領域として設定された領域についても、刺繍ミシンにおいて刺繍を実行する場合、その使用可能色は「白」に限定されず、灰色や透明色などの他の使用可能色による刺繍糸によって刺繍が施されるようにしてもよい。   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. In addition, when an embroidery is executed in the embroidery sewing machine for the area set as the print area in the color continuity inspection process (S13), the usable color is not limited to “white”, and other colors such as gray and transparent colors can be used. The embroidery may be applied with the embroidery thread of the usable colors.

また、S10における作業者による使用可能色の指定は、図22に示すように、複数の刺繍糸と当該複数の刺繍糸の色コードが対応付けられて登録された刺繍糸対応テーブルを予め設けておき、図21に示す入力画面にはこの刺繍糸対応テーブルに登録された刺繍糸が表示されて、作業者はこれらの刺繍糸のうち、任意の1以上の刺繍糸をチェックすることで使用可能色を指定してもよい。そして、図22に示す入力画面から指定された刺繍糸について、図22の刺繍糸対応テーブルから糸色情報と色コードとが取得されて、図7に示すような使用可能色対応テーブルが作成されれば、作業者は使用可能色の糸色情報と色コードを入力する必要がなく、より簡易に使用可能色を指定できる。   In addition, as shown in FIG. 22, an operator can specify usable colors in S10 by providing an embroidery thread correspondence table in which a plurality of embroidery threads and color codes of the plurality of embroidery threads are registered in advance. In addition, the embroidery thread registered in the embroidery thread correspondence table is displayed on the input screen shown in FIG. 21, and the operator can use it by checking any one or more embroidery threads among these embroidery threads. A color may be specified. Then, for the embroidery thread designated from the input screen shown in FIG. 22, the thread color information and the color code are acquired from the embroidery thread correspondence table in FIG. 22, and the usable color correspondence table as shown in FIG. 7 is created. Thus, the operator does not need to input the thread color information and color code of the usable color, and the usable color can be specified more easily.

また、S11における作業者によるステッチの仮定は、図8に示すような入力画面から数値などを入力する方法に限定されない。例えば、ステッチの種類、方向、ピッチ、密度等が予め設定されて、複数のステッチの配列が定められたひな形であるステッチパターンを複数記憶するステッチパターン記憶手段をRAM13に設けておく。そして、このステッチパターン記憶手段に記憶されたステッチパターンが、表示装置24(図1参照)に図9又は図10に示すように具体的に表示されて、作業者はこの画面から、マウス21やキーボード22を用いて任意のステッチパターンを選択するようにしてもよい。これにより、作業者は、ステッチの種類、方向、ピッチ、密度等を入力する必要がなく、より簡易にステッチを仮定できる。   Further, the stitch assumption by the operator in S11 is not limited to the method of inputting a numerical value or the like from the input screen as shown in FIG. For example, stitch patterns storage means for storing a plurality of stitch patterns, which are templates with preset stitch type, direction, pitch, density, etc. and a plurality of stitch arrangements, is provided in the RAM 13. Then, the stitch pattern stored in the stitch pattern storage means is specifically displayed on the display device 24 (see FIG. 1) as shown in FIG. 9 or FIG. An arbitrary stitch pattern may be selected using the keyboard 22. Thus, the operator does not need to input the stitch type, direction, pitch, density, etc., and can more easily assume the stitch.

また、図9の例では簡単のため、一定方向の刺繍縫目の例を示したが、当然これに限ることなく、ステッチの仮定は始点と終点からなる線分の集合なので、既存の刺繍データを読み込んで、これの縫目一つ一つを始点と終点からなる線分の集合に変換し、これをステッチの仮定として利用することも容易にできる。これはつまり、入力画像と独立な任意の刺繍データを利用することができるということである。例えば、図4に示す画像データとは別の画像データを用意して、特開2001−259268号公報で示されるような方法で該画像データから刺繍データを自動的に作成し、この刺繍データを利用することも可能である。   In addition, in the example of FIG. 9, for the sake of simplicity, an example of embroidery stitches in a certain direction is shown. However, naturally, the present invention is not limited to this, and the assumption of stitches is a set of line segments composed of a start point and an end point. Can be easily converted into a set of line segments each consisting of a start point and an end point, and this can be used as a stitch assumption. This means that arbitrary embroidery data independent of the input image can be used. For example, image data different from the image data shown in FIG. 4 is prepared, and embroidery data is automatically created from the image data by a method as disclosed in Japanese Patent Laid-Open No. 2001-259268. It can also be used.

また、図9の例では、刺繍データが画像データ全体に対して存在するような例を示したが、当然これに限ることはない。特には図示しないが、刺繍データが画像データの一部のみに対応して存在するような場合は、画像データのうちで、刺繍データが対応していない部分については、すべて印刷データを作成する、とすることも容易に実現できる。   Further, in the example of FIG. 9, an example in which the embroidery data exists for the entire image data is shown, but the present invention is not limited to this. Although not specifically shown, if the embroidery data exists corresponding to only a part of the image data, print data is created for all portions of the image data that do not correspond to the embroidery data. It can also be easily realized.

また、印刷刺繍データには印刷データ及び刺繍データの双方が含まれているが、印刷刺繍データの合成を行わないようにして、すなわちS17の印刷刺繍データ編集処理を行わないようにして、同じ画像データ4に基づいて刺繍データ及び印刷データを作成する印刷刺繍データ作成装置として構成してもよい。また、画像データ4に基づいて刺繍データと印刷データのいずれか一方を作成する印刷刺繍データ作成装置として構成してもよい。   The print embroidery data includes both the print data and the embroidery data. However, the same image is displayed without combining the print embroidery data, that is, without performing the print embroidery data editing process of S17. You may comprise as a printing embroidery data creation apparatus which produces embroidery data and printing data based on the data 4. FIG. Further, it may be configured as a print embroidery data creation device that creates either embroidery data or print data based on the image data 4.

また、本発明の印刷刺繍データ作成装置において用いられる色空間は他の任意のものによっても構わず、例えばCMYK方式による色空間を用いて本発明を実現してもよい。また、L*a*b*空間やL*u*v*空間、YIQ空間、HSI空間等を用いてもよい。また、特色を指定する方法としてRGB空間を用いたが、どのような色空間であっても構わない。   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. Further, although the RGB space is used as a method for designating the spot color, any color space may be used.

また、図11の色連続性検査処理(S13)では、ステッチに対応する微小領域の全ての画素が、使用可能色(判定対象色)に対応していなくても、所定の割合以上の画素が対応していれば、当該ステッチは使用可能色(判定対象色)に対応すると判定してもよい。例えば、微小領域の全ての画素の80%以上が使用可能色(判定対象色)に対応していれば、そのステッチに対応する微小領域の画素を刺繍領域として設定してもよい。   Further, in the color continuity inspection process (S13) in FIG. 11, even if all the pixels in the minute area corresponding to the stitch do not correspond to the usable color (determination target color), pixels of a predetermined ratio or more are included. If it corresponds, you may determine with the said stitch corresponding to the usable color (determination target color). For example, if 80% or more of all the pixels in the minute area correspond to usable colors (determination target colors), the pixels in the minute area corresponding to the stitch may be set as the embroidery area.

また、印刷刺繍データに含まれる印刷データの代わりに、プリンタドライバなどを通じてインクジェットプリンタで解釈できる形式に変換したデータを持つようにしてもよい。また、印刷刺繍データに含まれる刺繍データの代わりに、刺繍ミシンで直接解釈できる形式に変換したデータを持つようにしてもよい。また、印刷刺繍データを含まずに、刺繍ミシンでデータを転送する都度、画像データから刺繍データに変換するように、刺繍データをもつようにしてもよい。   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シャツに限定されないことはいうまでもなく、また出力対象の画像データ4も写真画像に限定されず、各種画像を利用可能であることもいうまでもない。   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. That is, the printing apparatus and the embroidery apparatus only need to be able to use the print embroidery data created by the print 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 4 to be output is not limited to a photographic image, and various images can be used. .

本発明の印刷刺繍データ作成装置は、画像データに基づいて、刺繍に適する領域に関する刺繍データや刺繍に適さない領域に関する印刷データを作成するためのコンピュータに適用できる。   The print embroidery data creation apparatus of the present invention can be applied to a computer for creating embroidery data related to an area suitable for embroidery and print data related to an area not suitable for embroidery based on image data.

印刷刺繍データ作成装置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. 全体の流れを示すフローチャートである。It is a flowchart which shows the whole flow. 画像データ4を示す図である。It is a figure which shows the image data. 印刷刺繍データ作成処理(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 the usable color. 使用可能色対応テーブルを示す図である。It is a figure which shows the usable color corresponding | compatible table. ステッチ及び出力サイズの入力画面を示す図である。It is a figure which shows the input screen of a stitch and output size. 仮定されたステッチを示す図である。It is a figure which shows the assumed stitch. 図9に示す仮定されたステッチの一部を拡大した図である。FIG. 10 is an enlarged view of a part of the assumed stitch shown in FIG. 9. 色連続性検査処理(S13)の詳細を示すフローチャートを示す図である。It is a figure which shows the flowchart which shows the detail of a color continuity inspection process (S13). 画像データを構成する画素と仮定されたステッチとの関係を説明するための図である。It is a figure for demonstrating the relationship between the pixel which comprises image data, and the assumed stitch. 刺繍ミシン又はインクジェットプリンタによって出力される出力図柄4´を示す図である。It is a figure which shows the output design 4 'output by an embroidery sewing machine or an inkjet printer. 画像データ4のうち、刺繍領域として設定された画素領域を示す図である。It is a figure which shows the pixel area | region set as an embroidery area | region among the image data 4. FIG. 画像データ4のうち、印刷領域として設定された画素領域を示す図である。It is a figure which shows the pixel area | region set as a printing area | region among the image data. 刺繍データ合成処理(S15)によって合成された刺繍データに基づく出力図柄4´を示す図である。It is a figure which shows the output design 4 'based on the embroidery data synthesize | combined by the embroidery data synthetic | combination process (S15). 印刷データ生成処理(S16)によって生成された印刷データに基づく出力図柄4´を示す図である。It is a figure which shows the output design 4 'based on the print data produced | generated by the print data production | generation process (S16). 刺繍と印刷が組み合わされて出力される出力図柄4´を説明するための図である。It is a figure for demonstrating the output design 4 'output combining embroidery and printing. 「第2の実施の形態」における、全体の流れを示すフローチャートである。It is a flowchart which shows the whole flow in "2nd Embodiment." 「第3の実施の形態」における、刺繍と印刷が組み合わされて出力される出力図柄4´を説明するための図である。It is a figure for demonstrating the output design 4 'output combining embroidery and printing in "3rd Embodiment." 他の使用可能色の入力画面を示す図である。It is a figure which shows the input screen of another usable 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 (10)

画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成する印刷刺繍データ作成装置であって、
前記刺繍装置で使用される任意の1以上の刺繍糸の色を設定するための使用可能色設定手段と、
前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定手段と、
刺繍模様を構成するステッチデータを設定するステッチデータ設定手段と、
前記ステッチデータにおけるステッチの表出部分を構成する各線分を、前記画像データにおける微小領域として設定する微小領域設定手段と、
前記微小領域設定手段により設定された前記微小領域に含まれる1以上の画素が、前記使用可能色に対応するか否かを判定する画素判定手段と、
前記画素判定手段により前記微小領域に含まれる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,
Usable color setting means for setting the color of any one or more embroidery threads used in the embroidery device;
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;
Stitch data setting means for setting stitch data constituting an embroidery pattern;
A minute region setting means for setting each line segment constituting the exposed portion of the stitch in the stitch data as a minute region in the image data;
Pixel determination means for determining whether or not one or more pixels included in the minute area set by the minute area setting means correspond to the usable color;
When it is determined by the pixel determination means that one or more pixels included in the minute area correspond to the usable color, it is determined that the minute area is set as an embroidery area and does not correspond to the usable color. A region setting means for setting the minute region as a print region;
The micro area set as the embroidery area by the area setting means has the embroidery 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 usable color. Embroidery data creation means for creating embroidery data output by the apparatus;
The micro area set as the print area by the area setting means is the print data output by the printing apparatus at the output size and output position set by the output information setting means, depending on the color of the corresponding pixel. A print embroidery data creation device comprising: print data creation means for creating.
前記領域設定手段は、前記画素判定手段が前記微小領域に含まれる1以上の画素のうち、あらかじめ定められた割合以上の画素が前記使用可能色に対応すると判定した場合、該微小領域を刺繍領域として設定することを特徴とする請求項1に記載の印刷刺繍データ作成装置。   When the pixel determining unit determines that more than a predetermined ratio of pixels corresponding to the usable color among the one or more pixels included in the minute region corresponds to the usable color, the region setting unit determines the minute region as an embroidery region. The print embroidery data creation device according to claim 1, wherein 前記画素判定手段は、前記微小領域に含まれる1以上の画素のうち、前記ステッチの始点に対応する画素が前記使用可能色の1つに対応する場合において、該微小領域に含まれる1以上の画素のうち、あらかじめ定められた割合以上の画素が該使用可能色の1つに対応する場合は、前記使用可能色に対応すると判定することを特徴とする請求項2に記載の印刷刺繍データ作成装置。   The pixel determination unit may include one or more pixels included in the minute region when a pixel corresponding to the start point of the stitch corresponds to one of the usable colors among the one or more pixels included in the minute region. 3. The print embroidery data creation according to claim 2, wherein when at least a predetermined percentage of pixels corresponds to one of the usable colors, it is determined that the usable color corresponds to the usable color. apparatus. 前記ステッチデータ設定手段は、予め作成されたステッチデータを読み込むステッチデータ読み込み手段を備えることを特徴とする請求項1乃至3のいずれかに記載の印刷刺繍データ作成装置。   4. The print embroidery data creation apparatus according to claim 1, wherein the stitch data setting means includes stitch data reading means for reading stitch data created in advance. 前記領域設定手段は、前記画像データのうちで、前記微小領域すべてに含まれない領域を前記印刷領域として設定することを特徴とする請求項1乃至4のいずれかに記載の印刷刺繍データ作成装置。   5. The print embroidery data creation device according to claim 1, wherein the region setting unit sets, as the print region, a region that is not included in all the minute regions in the image data. . 前記刺繍データ作成手段は、前記領域設定手段により前記印刷領域として設定された前記微小領域から、第2の刺繍データを作成することを特徴とする請求項1乃至5のいずれかに記載の印刷刺繍データ作成装置。   The printed embroidery data according to any one of claims 1 to 5, wherein the embroidery data creating means creates second embroidery data from the minute area set as the print area by the area setting means. Data creation device. 前記画素判定手段は、任意の色空間上における前記画素の色の位置と前記使用可能色の色の位置との距離が、所定の閾値よりも小さい場合は、該画素が該使用可能色に対応すると判定することを特徴とする請求項1乃至6のいずれかに記載の印刷刺繍データ作成装置。   If the distance between the color position of the pixel and the color position of the usable color in an arbitrary color space is smaller than a predetermined threshold, the pixel determination unit corresponds to the usable color. The printing embroidery data creation device according to claim 1, wherein the printing embroidery data creation device is determined. 前記刺繍データと前記印刷データとを含む印刷刺繍データを作成する印刷刺繍データ作成手段を備えることを特徴とする請求項1乃至7のいずれかに記載の印刷刺繍データ作成装置。   8. 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以上の刺繍糸の色を設定するための使用可能色設定工程、
前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定工程、
刺繍模様を構成するステッチデータを設定するステッチデータ設定工程、
前記ステッチデータにおけるステッチの表出部分を構成する各線分を、前記画像データにおける微小領域として設定する微小領域設定工程、
前記微小領域設定工程により設定された前記微小領域に含まれる1以上の画素が、前記使用可能色に対応するか否かを判定する画素判定工程、
前記画素判定工程により前記微小領域に含まれる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,
A usable color setting step for setting the color of any one or more embroidery threads used in the embroidery device;
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;
Stitch data setting process for setting stitch data constituting an embroidery pattern;
A minute region setting step for setting each line segment constituting the exposed portion of the stitch in the stitch data as a minute region in the image data;
A pixel determination step of determining whether or not one or more pixels included in the minute region set by the minute region setting step correspond to the usable color;
When it is determined in the pixel determination step that one or more pixels included in the minute area correspond to the usable color, it is determined that the minute area is set as an embroidery area and does not correspond to the usable color. A region setting step for setting the minute region as a print region,
The micro area set as the embroidery area by the area setting step is the embroidery at the output size and output position set by the output information setting step by using the embroidery thread of the color corresponding to the corresponding usable color. Embroidery data creation process for creating embroidery data output by the device,
The minute area set as the print area by the area setting step is the print data output by the printing apparatus at the output size and output position set by the output information setting step according to the color of the corresponding pixel. A print embroidery data creation program for executing a print data creation process to be created.
画素の集合体からなる画像データから、刺繍装置によって刺繍可能な刺繍データ及び印刷装置によって印刷可能な印刷データを作成する印刷刺繍データ作成方法であって、
前記刺繍装置で使用される任意の1以上の刺繍糸の色を設定するための使用可能色設定ステップと、
前記刺繍装置による前記刺繍データの刺繍及び前記印刷装置による前記印刷データの印刷における出力サイズ及び出力位置を設定するための出力情報設定ステップと、
刺繍模様を構成するステッチデータを設定するステッチデータ設定ステップと、
前記ステッチデータにおけるステッチの表出部分を構成する各線分を、前記画像データにおける微小領域として設定する微小領域設定ステップと、
前記微小領域設定ステップにより設定された前記微小領域に含まれる1以上の画素が、前記使用可能色に対応するか否かを判定する画素判定ステップと、
前記画素判定ステップにより前記微小領域に含まれる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 composed of a collection of pixels,
An available color setting step for setting the color of any one or more embroidery threads used in the embroidery device;
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 stitch data setting step for setting stitch data constituting an embroidery pattern;
A micro area setting step for setting each line segment constituting the exposed portion of the stitch in the stitch data as a micro area in the image data;
A pixel determination step for determining whether or not one or more pixels included in the minute region set by the minute region setting step correspond to the usable color;
When it is determined in the pixel determination step that one or more pixels included in the minute area correspond to the usable color, it is determined that the minute area is set as an embroidery area and does not correspond to the usable color. An area setting step for setting the minute area as a print area;
The micro area set as the embroidery area by the area setting step is the embroidery 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 usable color. An embroidery data creation step for creating embroidery data output by the device;
The minute area set as the print area by the area setting step is the print data output by the printing device at the output size and output position set by the output information setting step according to the color of the corresponding pixel. A print embroidery data creation method comprising: a print data creation step to create.













JP2004096584A 2004-02-18 2004-03-29 Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method Expired - Fee Related JP4274021B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004096584A JP4274021B2 (en) 2004-03-29 2004-03-29 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
JP2004096584A JP4274021B2 (en) 2004-03-29 2004-03-29 Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method

Publications (2)

Publication Number Publication Date
JP2005278860A JP2005278860A (en) 2005-10-13
JP4274021B2 true JP4274021B2 (en) 2009-06-03

Family

ID=35177888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004096584A Expired - Fee Related JP4274021B2 (en) 2004-02-18 2004-03-29 Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method

Country Status (1)

Country Link
JP (1) JP4274021B2 (en)

Also Published As

Publication number Publication date
JP2005278860A (en) 2005-10-13

Similar Documents

Publication Publication Date Title
US7587257B2 (en) Image editing device and print/embroidery data creating device
JP4399806B2 (en) Compound data processing device
JP4211005B2 (en) Data processing device
US4998489A (en) Embroidering machines having graphic input means
US7155302B2 (en) Embroidery data producing device, embroidery data producing method, embroidery data producing control program stored on computer-readable medium and embroidery method
JP4678857B2 (en) Image processing apparatus, image processing method, and program
US7302308B2 (en) Embroidery data processing device
JPH08141244A (en) Embroidering data preparing device
US5592891A (en) Embroidery data processing apparatus and process of producing an embroidery product
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
JP2005279068A (en) Embroidery data processing apparatus and recording medium to record embroidery data processing program
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
JP4363216B2 (en) Print embroidery data creation apparatus, print embroidery data creation program, and print embroidery data creation method
JP4399805B2 (en) Compound data processing device
JP2005231098A (en) Image editing apparatus and image editing method
JPH09122366A (en) Embroidery pattern displaying sewing data processing equipment
JP2006180976A (en) Embroidery data processor
JP3939827B2 (en) Embroidery data creation device
JPH11253675A (en) Picture data processor for patchwork and medium for recording picture data processing program for patchwork
JP2005041146A (en) Information recording device
JP2006180975A (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: 20070208

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080212

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: 20090210

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: 20090223

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130313

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130313

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140313

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees