JPH04174699A - Embroidery data making out method for sewing machine - Google Patents

Embroidery data making out method for sewing machine

Info

Publication number
JPH04174699A
JPH04174699A JP30131490A JP30131490A JPH04174699A JP H04174699 A JPH04174699 A JP H04174699A JP 30131490 A JP30131490 A JP 30131490A JP 30131490 A JP30131490 A JP 30131490A JP H04174699 A JPH04174699 A JP H04174699A
Authority
JP
Japan
Prior art keywords
data
original image
color
embroidery
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP30131490A
Other languages
Japanese (ja)
Other versions
JP3023376B2 (en
Inventor
Takeshi Kongou
猛 金剛
Hachiro Makabe
真壁 八郎
Akira Orii
折井 章
Takashi Nakamura
孝 中村
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.)
Janome Corp
Original Assignee
Janome Sewing Machine Co 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 Janome Sewing Machine Co Ltd filed Critical Janome Sewing Machine Co Ltd
Priority to JP2301314A priority Critical patent/JP3023376B2/en
Publication of JPH04174699A publication Critical patent/JPH04174699A/en
Application granted granted Critical
Publication of JP3023376B2 publication Critical patent/JP3023376B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To conduct color embroidery, by reading original picture data by means of an image input means at every color from a plurality of 2nd original pictures made out by separating previously the 1st original picture at every color, and making out stitch data from the original picture data of each color, and adding a color change code between the stitch data of each color thus made out. CONSTITUTION:Original picture data are read from 2nd original pictures, and letters and pictures inputted from original picture data that have been subjected to compression and noise removal by means of image processing, are shown on an LCD display screen 12. When the operation keys 11 of an embroidery data making out device 10 are pressed, original picture data that have been subjected to compression and noise removal by means of image processing algorithm, are conducted with research by means of an image processing program, and embroidery data added with color change codes are made out, which are written on a RAM card 30 set at a card writing portion 13 by means of the portion 13. Processing is conducted in regard to the remaining 2nd original pictures, and the RAM card on which embroidery data written, is made out.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、ミシンの刺しゅうデータ作成方法に係わり、
第1の原画から各色毎に分離した複数の第2の原画から
、モノクロの画像入力装置を用いて簡単な操作によりそ
れぞれ原画データを読み取り、読み取っt;原画データ
から刺しゅうデータを作成し、カラー刺しゅうが行える
ようにしたミシンの刺しゅうデータ作成方法に関する。
The present invention relates to a method for creating embroidery data for a sewing machine.
From a plurality of second original images separated for each color from the first original image, each original image data is read and read by a simple operation using a monochrome image input device; embroidery data is created from the original image data, and color embroidery is performed. This article relates to a method for creating embroidery data for a sewing machine.

【従来の技術及び発明が解決しようとする課題】従来、
作業者がデジタイザー等を用いてステッチデータを入力
し、色替え等のの指示をして、刺しゅうデータを作成し
ていた。 また画像入力装置から入力した原画データを画像処理後
、作業者が縫い順序、縫いピッチ等を指示し、刺しゅう
データを作成していた。 しかしこれらの操作は専門的な知識および技術を必要と
し、また入力作業に関連する装置の費用も嵩み、家庭用
ミシンに導入することは殆ど不可能であっt;。
[Prior art and problems to be solved by the invention] Conventionally,
Workers used digitizers to input stitch data and give instructions such as changing colors to create embroidery data. Furthermore, after image processing of original image data input from an image input device, the operator instructs the sewing order, sewing pitch, etc., and creates embroidery data. However, these operations require specialized knowledge and skills, and the equipment involved in input operations is expensive, making it almost impossible to implement them into home sewing machines.

【課題を解決するための手段及び発明の作用】本発明は
、原画パターンから原画データを読み込み該rjK画デ
ータから画像処理により刺しゅうデータを作成するもの
において、 予め第1の原画を各色毎に分離して作成した複数の第2
の原画から各色毎に画像入力手段により原画データを読
み取り、各色の原画データからステッチデータを生成し
、生成された各色のステッチデータの間に色替えコード
を付加することにより、カラー刺しゅうが行えるように
したミシンの刺しゅうデータ作成方法を提供するもので
あり、更には、予め第1の原画を各色毎に分離し、それ
ぞれ定められた位置に基準標識を設けた複数の第2の原
画を作成し、第2の原画から前記基準標識を含めて各色
毎に画像入力手段により原画データを読み取り、前記基
準標識に基づき第2のW、画データの原点に対する補正
移動量およびX軸またはY軸に対する補正回転角度を演
算し、原画データを移動および回転補正し、該補正演算
後に基準標識を消去し、各色のrjK画データからステ
ッチデータを生成し、生成された各色のステッチデータ
の間に色替えコードを付加することにより、カラー刺し
ゅうが行えるようにしたミシンの刺しゅうデータ作成方
法を提供するものであり、また更には、予め第1の原画
を各色毎に分離し、それぞれ定められた位置に基準標識
を設けた第2の原画を作成し、第2の原画から前記基準
標識を含めた各色毎にガイド手段により案内された画像
入力手段により原画データを読み取り、前記基準標識に
基づき第2の原画データの原点に対する補正移動量を演
算し、原画データを移動補正し、該演算処理後に基準標
識を消去し、各色の原画データからステッチデータを生
成し、生成された各色のステッチデータの間に色替えコ
ードを付加することにより、カラー刺しゅうが行えるよ
うにしたミシンの刺しゅうデータ生成方法を提供するも
のであり、比較的安価なモノクロ画像入力装置による簡
単な入力操作によりカラーによる刺しゅうが可能な刺し
ゅうデータが作成でき、また原画パターンの読み取りに
よる入力時に各色毎に分離した第2の原画の所望の構成
部分が重なるようにすることにより、縫目の一部に重な
り部分の厚みが生じ、立体感のある美麗なカラー刺しゅ
うが可能になる等の効果が得られる。
[Means for Solving the Problems and Effects of the Invention] The present invention reads original image data from an original image pattern and creates embroidery data from the RJK image data by image processing, in which the first original image is separated for each color in advance. Multiple second
Color embroidery can be performed by reading original image data for each color from the original image using an image input means, generating stitch data from the original image data of each color, and adding a color change code between the generated stitch data of each color. The present invention provides a method for creating embroidery data for a sewing machine using the following methods.Furthermore, the first original image is separated for each color in advance, and a plurality of second original images each having a reference mark provided at a predetermined position are created. , the original image data is read by the image input means for each color including the reference mark from the second original image, and based on the reference mark, the second W, the correction movement amount with respect to the origin of the image data, and the correction with respect to the X-axis or Y-axis are Calculate the rotation angle, correct the movement and rotation of the original image data, erase the reference mark after the correction calculation, generate stitch data from the rjk image data of each color, and insert a color change code between the generated stitch data of each color. The present invention provides a method for creating embroidery data for a sewing machine that enables color embroidery by adding .Additionally, the first original image is separated into each color in advance, and reference marks are placed at predetermined positions. A second original image is created in which a second original image is provided, and original image data is read from the second original image for each color including the reference mark by an image input means guided by a guide means, and the second original image data is generated based on the reference mark. Calculate the corrected movement amount with respect to the origin, correct the movement of the original image data, erase the reference mark after the calculation process, generate stitch data from the original image data of each color, and change colors between the generated stitch data of each color. This provides a method for generating embroidery data for a sewing machine that allows color embroidery by adding a code, and allows embroidery data that can be embroidered in color to be created by simple input operations using a relatively inexpensive monochrome image input device. In addition, by making the desired constituent parts of the second original image separated for each color overlap when inputting by reading the original image pattern, the thickness of the overlapped part is created in a part of the seam, giving a three-dimensional effect. Effects such as beautiful colored embroidery can be obtained.

【実施例】【Example】

以下、本発明を実施例により説明する。 まず、第3図を参照しながら刺しゅうデータ作成装置の
構成について説明する。刺しゅうデータ作成装置10は
、該装置をイメージスキャナ入力モードにする操作キ一
部11、後記する原画データの画像処理に関連する表示
を行う表示装置12を備え、該装置の側面には画像入力
手段としてのイメージスキャナ20を専用ケーブル21
で接続するためのプラグ受けおよび外部記憶媒体として
のRAMカード30をセットして作成された縫いデータ
を書き込むためのカード書き込み部13が配設されてい
る。 刺しゅうデータ作成装置10には図示しないが、画像処
理プログラム等が記憶されたリードオンリーメモリRO
M、画像処理の過程で原画データを記憶するVRAM領
域、および画像地理の過程でデータ等を一時記憶するワ
ークエリア等の各領域をそなえたランダムアクセスメモ
リRAMおよびこれらを総合的に制御する中央演算装置
CPU等が内蔵されている。 イメージスキャナ20は本実施例では有効読み収り幅6
3mmで、階訳出力が白黒2値梨、主走査有効画素数5
04個である。 イメージスキャナ20の読み取り開始ボタン22はイメ
ージスキャナ入力モードで押し、イメージスキャナ20
を台紙35にセットされた入力したい原画パターン上に
載置し読み取り開始ボタン22を押しながら移動させる
と、イメージスキャナ20で読み取られた原画データが
縫いデータ作成装置lOに内蔵されたVRAMに読み込
まれるようになっている。 O刺しゅうミシンの構成 次に、第4図を参照しながら刺しゅうミシン40の構成
について説明する。 同図において、刺しゅうミシン40の前面には、ミシン
を始動および停止させるスタート/ストップキー41、
ミシンの各種の表示を行うLCD表示装置42が配設さ
れている。 カードリーダ一部43は、そこにセットされたROMカ
ードおよびRAMカードの読み取りが可能である。 O操作手順の概要 刺しゅうデータの作成 1)電源投入前に縫いデータ作成装置10に縫いデータ
記憶装置としてのRAMカード30をカード書き込みs
13にセットし、プラグ受けにイメージスキャナ20の
専用ケーブル21のコネクタ23を接続する。 2)次に刺しゅうデータ作成装置10の電源を投入し、
操作キ一部11の操作キーを押すと、イメージスキャナ
入力モードになり、LCD表示装置12の画面上にイメ
ージスキャナの読み取り開始ボタンを押して下さいとい
う旨のメツセージが表示される。 3)予め白い紙に黒色のペン等で入力したい文字や絵を
線幅1mm以上で描いた第1の原画に対して、予めこの
第1の原画から各色毎に分離した複数の第2の原画を作
成しておく。 4)これらの第2の原画の内の1枚を平らな台紙35等
にセットし、第2の原画上にイメージスキャナ20を載
置し、読み取り開始ボタン22を押しながらそれぞれの
第2の原画上を最初の位置から最後の位置まで移動させ
る。 この操作により第2のW、画から原画データが読み込ま
れ、LCD表示画面12上に画像処理により圧縮および
ノイズ除去された後の原画データにより入力した文字や
絵が表示される。 5)刺しゅうデータ作成装置10の操作キー11を押す
と、画像処理アルゴリズムにより、圧縮されノイズ除去
された後の原画データが画像処理プログラムによりサー
チされて色替えコードが付加された刺しゅうデータが生
成され、カード書き込み部13により、そこにセットさ
れたRAMカード30に書き込まれる。 6)残りの第2の原画に対して3)4)の処理を行い刺
しゅうデータが書き込まれたRAMカードを作成する。 7)刺しゅうミシン40による刺しゅう縫いを行うには
、ミシンの電源を投入する前にカードリーダ一部43に
、刺しゅうデータが書き込まれたRAMカード30をセ
ントし、ミシンに布を張った刺しゅう枠をセントし、電
源を投入後スタート/ストップキー41を押すことによ
り読み込まれた刺しゅうデータに基づき刺しゅう縫いが
開始され、色替えコード毎にミシンが停止し、上糸の色
を交換することにより、カラーによる刺しゅう縫目が形
成される。 以上の手順において、使用者の操作に対する刺しゅうデ
ータの生成、RAMカードへの書き込みまでの一連の制
御は、刺しゅうデータ作成装置IOに内蔵記憶された画
像処理プログラムにより行われる。 0画像処理プログラム 1)原画入力 イメージスキャナ20の操作により、横方向データは5
04ドツト/1ライン、縦方向データは504ライン分
(504ドツト)を−旦ミシンのVRAM上に格納する
。この−旦格納したデータをVRAMの別のエリアに横
方向データについては1ビツトおきに間引きして、同様
に縦方向データについては1ラインおきに間引きして2
52×252ドツト構成の原画データを格納する。 2)ノイズ除去 次に、後記する画像処理言語の4連結圧縮法(*1)l
−ヨ’)、VRAM1:格納した252X252ドツト
のデータを上下、左右にド・ソトがある場合のみデータ
とし、VRAMのまた別のエリアに横方向データは12
6ドツト/1ライン、縦方向データは126ライン分の
データ+26X126ド・ノド構成のデータとして格納
する。このデータは画像処理用のデータとして使用する
。 さらにこのデータを圧縮し、画像表示用の63×63ド
ツト構成のデータを生成し、VRAMの前記とはまた別
のエリアに格納する。 *l;4連結圧縮法 第6図において、白黒の丸はドツトデータを示し、対象
となる黒丸データに対して上下、左右に白丸データがあ
る場合のみ黒丸データを有効にする方法。 本実施例では、この処理を252X252ド・ン  ゛
ト構成のデータに対して、横方向データついては1ドツ
トおきに、縦方向データについてはlラインおきに行う
。 処理後のドツトデータは第7図に示すようになる。 O針落点座標の設定 ステッチデータの針落点座標は、第5区に黒点で示すよ
うに各行および各行間に予め針落点を設定する座標を与
えておき、分局後の原画データのサーチによる各行にお
けるドツト列の左端および右端の座標とその内側に位置
する針落点座標とでステッチデータを生成する。 O入力画像のずれの補正と刺しゅうデータの生成状に、
主として第1図および第8図〜第15図を参照しながら
入力画像の補正と刺しゅうデータの生成の手順について
説明する。 以下の説明は基準標識として第1の基準点および第2の
基準点を使用し、読み取った画像データのXY力方向平
面的位置および回転角度の補正を行う場合について説明
する。 第1図において、5n(n= 12.3・・・・)は各
処理のステップを示す。 第1図の51に先立ち第1の原画を各色毎に分離し、複
数の第2の原画を作成する。 第8図の例で説明すると、同図に示す「赤」 「緑」「
黒」の3色からなる第1の原画○POを各色毎に、第9
区〜第11図に示すように3枚の第2の原画OPI〜O
P3に分離し、読み取り枠の同じ位置に基準標識として
の第1の基準点P1、第2の基準点P2を設けて、3枚
の第2の原画を作成する。 [1]画像の読み取り 画像読み取りステップであり、各色毎に分離した第2の
原画の内の1枚を画像入力手段で読み取り、画像データ
を刺しゅうデータ作成装置10のVRAMに書き込む。 [2]第1の基準点の中心座標を求める。 以下に示す処理手順で第1の基準点P1の中心座標を求
める。 人力した画像データの上部の矩形範囲内をサーチする。 第14図において、入力した原画データの原点POかも
、予め定められた範囲内を定められた順番に画像のドツ
トをサーチし、広がりのある基準点PIのどこかのドツ
トを見つける。 矩形範囲内にドツトが検出されたかを判別する。 ドツトが検出されない場合は、原画の入力が適正でない
ので、Slに戻り再入力後、以後の処理を行い、ドツト
が検出された場合は次のステップに進む。 まず、その行(横方向)にある連続したドツト列の左端
と右端のドツト位置を求め、求めた両ドツト位置間の範
囲でその上の行をサーチし、ドツトがあればそのドツト
列の左端と右端とを求め、更にその上の行に対しても同
様の操作を行い、ドツト列が無くなる直前の行番号とド
ツト列の左端の位置、即ち上端の位置Yal(第14図
)を求める。 S4で検出した両ド/ト位置間の範囲でその下の行をサ
ーチし、前記と同様に下の行に向けてサーチし、下端の
位置Yb1(第14図)を求める。 第1の基準点P1の中心座標(X cl 、 Y cl
)のうちY方向のYclを求める。Yclは次式により
求める。 Ycl=(Yal+ Yb1)/ 2 Yclの行の連続したドツト列をサーチし、その左mX
alと右1XblからX方向の中心座標Xclを求める
。Xclは次式により求める。 Xcl−(Xal+Xbl)/ 2 [3]第2の基準点の中心座標を求める。 S8〜513 52〜S7と同様にして、原画データの原点POから予
め定められた範囲にある第2の基準点P2を探し、P2
の中心座標(X c2. Y c2)を求める。 S8からの処理中59で矩形範囲内にドツトが検出され
たかを判別する。ドツトが検出されない場合は、原画の
入力が適正でないので、Slに戻り再入力後、それ以後
の処理を行う。 [4]回転方向およびX、Y方向のずれを求める。 基準点P1、P2の中心座標から原画データの各ドツト
の回転方向のずれeoを次式により求める。 eo −tan−’((Xc2−Xcl)/(Yc2−
 Ycl]P1を原画データの原点POに一致させた場
合に対する原画データの各ドツトのX、Y方向のずれX
dSYdを求める。 X d= X cl d−Ycl [5]入力した画像の各ドツトを補正後の座標位置に移
動する補正演算処理ステップである。 515.516 Slで、入力した画像メモリをサーチし、次式により補
正後の座標を演算し、516で新しい座標位置に画素(
ドツト)を移動する。 補正前の位置座標X、 Y 補正後の位置座標X new、 Y newとすると、 new −X−Xc   +  Y−Yc   −5in 19
−e。 new −−Xc  十Y−Ycl ・cos 19−e。 但し、 e−tan ’f(X−Xcl)/(Y−Ycl))[
6コ第1、第2の基準点のドツトデータを消去する基準
標識消去ステップ 全ドツトを移動後、第1の基準点PLおよび第2の基準
点P2のドツトデータを消去する。 [7]刺しゅうデータの生成 ステッチデータ生成処理ステップであり、第2図に示す
フローチャートのステッチデータ生成処理に示す方法に
従ってステッチデータを生成し、生成後に色替えコード
を付加する。 本実施例では、最初は第9図の「赤」の原画パターンに
対する補正後の原画データからステッチデータを生成処
理した後、色替えコードを付加する。 次の色が有るかを判別し、入力すべき次の色が有る場合
には、Slに戻り、以後の処理を実行する。 本寅施例では第1O図および第11図の「緑」「黒」の
画像に対しても前記[1]から[7]の操作を行う。次
の色がなくなった場合には、S20に進む。 エンドコードを付加し、プログラムを終了する。 ○ステッチデー生成処理 次に、第2図を参照しながら第1図の518ステツプの
ステッチデータ生成処理の詳細について説明する。 同図において、Tn (n=1,2.3・・・・)は各
処理のステップを示す。 画像の左上端(第13図の例では21点)をサーチの開
始点とする。 [11]第1の検出ステップ 矩形内をサーチし、画像データ(以後ドツト)の有無を
訳べるステップである。 予め定められた矩形状の比較的狭い範囲内を定められた
順番にサーチする。 最初のサーチでは画像の左上端から予め定められた矩形
状の範囲の右下1/4の範囲をサーチする。 ドツトの有無を判別し、ドツトがある場合にはT8に進
み、ドツトがない場合にはT4に進む。 [12]第2の検出ステップ 前回の最終ステンチ位置からその行内を左から右ヘサー
チし、右端にきたときはその下の行を左から右ヘサーチ
する。この操作をドツトが見つかるまで行う。 前回の最終ステンチ位置からその行内を右から左ヘサー
チし、左端にきたときはその上の行を右から左ヘサーチ
する。二の操作をドツトが見つかるまで行う。 ドツトの有無を判別し、ドツトがある場合にはT7に進
み、ドツトがない場合にはT25に進む。 T4、T5のサーチでドツトが見つかった場合は、これ
らのドツトのうち前回の最終ステッチ位置から距離の短
い方を選択する。見つかったドツトが1つの場合はそれ
を選択する。 T4、T5のサーチでドツトが見つからない場合はl!
!2の原画がらの読み取り画像の処理が終わり、ステッ
チデータへの変換が終了しているので、色替えコードを
付加し第1図に示すメインルーチンに戻る。 [13]第1の開始点決定ステップ 画像ブロックの上端および下端をサーチし、ジャンプス
テッチを生成するステップである。 T2あるいはT7で選択しブこドツトのある行で、ドツ
ト列の左端と右端のドツト位!を求め、求めた両ドツト
位置の範囲内でその上の行をサーチし、ドツトがあれば
そのドツト列の左端と右端を求め、さらにその上の行に
対しても同様にサーチをし、ドツト列がなくなる直前の
行番号とドツト列の左端の位置を上端の位置として求め
る。 T2あるいはT7で選択したドツトのある行で、ドツト
列の左端と右端のドツト位置を求め、求めた両ドツト位
置の範囲内でその下の行をサーチし、ドツトがあればそ
のドツト列の左端と右端を求め、さらにその下の行に対
しても同様にサーチをし、ドツト列がなくなる直前の行
番号とドツト列の左端の位置を下端の位置として求める
。 IO 上端および下端の内、前回の最終ステッチ位置に近い方
を今回のステッチ開始位置とする。 ll 前回の最終ステッチ位置から今回のステッチ開始位置ま
での間にジャンプデータを生成する。 今回のステッチ開始位置がブロックの上端か下端かによ
り刺しゅう方向が定まるので、該当するステップに分岐
する。 713〜T18の処理は、ステッチ開始位置から直線縫
いのステッチを形成し、ブロックの上端から下方に向け
てサーチしながらステッチを生成し、処理済みのドツト
列を消去する針落点設定ステップであり、719〜T2
3の処理はそれと並行して前(上)の行をサーチする第
2の開始点決定ステップである。 T33〜T38の処理は、ステッチ開始位置から直線縫
いのステッチを形成し、ブロックの下端から上方に向け
てサーチしながらステッチを生成し、処理済みのドツト
列を消去する処理であり、T39〜T43の処理はそれ
と並行して前(下)の行をサーチする処理である。 733〜T43の一連の処理は、713〜T23の処理
と上下の向きが逆になるだけで、基本的には同様である
ので、ここでは主としてT13〜T23の処理について
説明する。 [14]針落点設定ステップ T13、T14 T13でステッチ開始位置の行にあるドツト列の左端と
右端とを求め、その間に直線縫いの針落点を設定するス
テップで、第1針を左端の位置に設定し、第2針以後は
第5図に示したように、予め定められた縫いピッチと行
番号で関係付けられる位置に設定し、最後は右端の位置
に針落点を設定し、T14で針落点設定の処理済みの行
に対するドツト列を画像メモリから消去する。 T15〜718 次の行としての下の行のドツト列の左端をサーチして求
め、下の行にドツト列がある場合には、前の行の右端と
の間に行番号で関係付けられる位置に右端から左端に向
けて針落点を設定する。 [15]第2の開始点決定ステップ 図示しないが前の行としての上の行をサーチし、T19
の判別で、前の行に未処理のドツト列がある場合にはT
20に進み、ドツト列がない場合はT23以降に進む。 上方向をサーチし、スタート点としての上端位置を求め
る。 スタート点の有無を判別する。スタート点の有無は前回
の最終ステッチ位置からの距離がある一定距離を纏えて
いるか否かで判別する。スタート点がある場合は、T2
2以降に進み、スタート点が無い場合はT23以降に進
む。 スタート点がある場合は、ジャンプステッチを生成する
。 図示しないが下の行をサーチし、ドツト列があるか判別
する。ドツト列がある場合はT13に戻り、713〜T
23の処理を繰り返し、ドツト列が無い場合にはT2に
戻り、T2がらの処理を行う。 733〜T43の処理は、T13〜T23の処理と上下
の向きが逆になるだけで、基本的には同様であるので、
ここでは説明を省略する。 以上説明した刺しゅうデータ作成方法により、第1の原
画から各色毎に分離作成された複数の第2の原画からカ
ラー刺しゅうが可能な刺しゅうデータが作成される。 
第8図に示す第1の原画○POから各色毎に第9図〜第
11図に示す複数の第2の原画0PI−〇P3を作成し
、以上説明した刺しゅうデータ作成方法により刺しゅう
データを作成し、刺しゅう縫いを行うことにより、各色
が重なり合うことなくカラーによる美麗な刺しゅうが可
能となる。 O立体感のある刺しゅう縫い 刺しゅうの対象となる原画パターンの内、柄、デザイン
等によっては、各色の刺しゅう部分を部分的に重ね合わ
せた刺しゅうをし、立体感を出した方が効果的なものが
ある。 その場合には、第2の原画の基準標識を畔的に応じて互
いにシフトさせたり、それぞれの線の幅を太くする等の
処理をしてから、以上に説明した刺しゅうデータ作成方
法により刺しゅうデータを作成し、刺しゅう縫いを行う
ことにより、色の異なる縫目の一部が重なり、立体感の
ある縫目による美麗なカラー刺しゅう縫いが可能となる
。 O基準標識として基準線を設ける場合 以上の説明は第1の原画から各色毎に分離作成した12
のW画に基準標識としてMlの基準点と第2の基準点を
設けた場合について説明したが、これらに変えて第2の
原画のそれぞれに基準標識として基準線を設けることに
よっても第1の基準点と第2の基準点を設けた場合と同
様の処理を行うことが可能である。 以下、第16図を参照しながら説明する。同図は、$2
の原画から読み取られたW画データの一部であり、Qは
読み取られた基準線のドツトデータである。 基準線のドツトデータQ(以後基準線Q)に対して適宜
の方法により第1の基準点R1および第2の基準点R2
を求めることにより、原画データのXY丈方向補正移動
量と補正回転角度を前記したのと同様な方法で求めるこ
とができ、前記と同様に第1の基準点R1の座標をXY
丈方向補正移動量を求めるために使用し、第1の基準点
R1と第2の基準点R2の座標の位置関係から補正回転
角度を求めることができる。基準線Qに対する第1の基
準点R1,第2の基準点R2は、第16図の例では、そ
れぞれ基準41tQの左上端、左下端の点となっている
が、この場合に第2の基準点はR2に代えて第1の基準
点から一定の距離にある基準線Qの左端の点R2’とす
ることもできる。 また、基準線Qに対する第1の基準点R1、第2の基準
点R2は、第16図の例に代えて、例えば基準線Qの中
心線に関連して設定することも可能である。 Q基準標識として基準点を1個だけ使用する場合基準標
識として基準点を1個だけ使用する場合について、第1
7図を参照しながら説明する。 同図において、ガイド手段としてのスキャナーガイド5
0には、基板51上に第1のガイド52および第2のガ
イド53が配設されており、第1のガイド52はイメー
ジスキャナ20(第3図)のY方向の最大可動範囲の上
端を規制し、第2のガイド53はイメージスキャナ20
のX方向をガイドする。 第2の原画OP4からの原画データの読み取りに当たっ
ては、まず第2の原画OP4を基板51上に第2のガイ
ド53に対してそのY方向成分が平行となるように載置
固定し、イメージスキャナ20を第2の原画OF2上に
載置し、その上端が第1のガイド52に当接するように
載置した後、イメージスキャナ20を第2のガイド53
のガイド面53aに接触させながら移動させて第2の原
画OP4から原画データを読み取る。 この場合、読み取り後の原画データの補正は回転角度に
ついては不要となり、XY丈方向補正だけでよいので、
第2の原画の基準標識は、xY力方向位置の基準となる
ものだけを設けるだけでよく、例えば第17図に示すよ
うに基準標識として単一の基準点R′を使用することが
できる。 O刺しゅうデータの使用形態 以上の実施例は、刺しゅうデータ作成装置l。 で作成された刺しゅうデータが記憶されたRAMカード
30をミシンにセットし、ミシンのスタート/ストップ
キー41を押すことにより、オフラインのRAMカード
30から読み込まれた刺しゅうデータに基づき刺しゅう
縫いが行われ、また色替えコードがあるとミシンが自動
的に停止し、上糸の色を交換できるようになるが、これ
に変えてオンライン形式とすることもできる。 即ち、以上説明した実施例において、ミシンに内蔵され
たROMに画像処理プログラムを記憶させておき、ミシ
ンIこ専用の端子を設け、画像λ力装置としてのイメー
ジスキャナを接続し、前記したと同様に原画パターンか
ら原画データを読み込み、オンラインにより前記した刺
しゅうデータ作成装置と同様の処理プログラムにより刺
しゅうデータを作成し、作成された刺しゅうデータを一
時記憶し、データバッファ等を介して刺しゅう縫いを行
うようにすることもできる。
The present invention will be explained below using examples. First, the configuration of the embroidery data creation device will be explained with reference to FIG. The embroidery data creation device 10 includes an operation key portion 11 for setting the device to an image scanner input mode, a display device 12 for displaying information related to image processing of original image data to be described later, and an image input means on the side of the device. The image scanner 20 as a dedicated cable 21
A plug receptacle for connection with the sewing machine and a card writing section 13 for writing sewing data created by setting a RAM card 30 as an external storage medium are provided. Although not shown in the embroidery data creation device 10, there is a read-only memory RO in which image processing programs and the like are stored.
M, a random access memory RAM that has various areas such as a VRAM area for storing original image data in the process of image processing and a work area for temporarily storing data etc. in the process of image geography, and a central processing unit that comprehensively controls these areas. The device CPU etc. are built-in. In this embodiment, the image scanner 20 has an effective reading width of 6
3mm, level translation output is black and white binary, number of effective main scanning pixels is 5
There are 04 pieces. Press the reading start button 22 of the image scanner 20 in the image scanner input mode, and the image scanner 20
When placed on the original image pattern to be input set on the mount 35 and moved while pressing the reading start button 22, the original image data read by the image scanner 20 is read into the VRAM built in the sewing data creation device IO. It looks like this. O Construction of Embroidery Machine Next, the construction of the embroidery machine 40 will be explained with reference to FIG. In the figure, on the front of the embroidery sewing machine 40, there is a start/stop key 41 for starting and stopping the sewing machine;
An LCD display device 42 is provided to display various information about the sewing machine. The card reader part 43 is capable of reading ROM cards and RAM cards set therein. O Overview of operating procedure Creation of embroidery data 1) Before turning on the power, write the RAM card 30 as a sewing data storage device into the sewing data creation device 10.
13, and connect the connector 23 of the dedicated cable 21 of the image scanner 20 to the plug receiver. 2) Next, turn on the power of the embroidery data creation device 10,
When an operation key in the operation key section 11 is pressed, the image scanner input mode is entered, and a message to the effect that the image scanner reading start button should be pressed is displayed on the screen of the LCD display device 12. 3) For a first original drawing in which characters or pictures to be inputted are drawn in advance on white paper with a black pen or the like with a line width of 1 mm or more, a plurality of second original drawings are prepared in advance by separating each color from this first original drawing. Create. 4) Set one of these second original images on a flat mount 35 or the like, place the image scanner 20 on the second original image, and scan each second original image while pressing the reading start button 22. Move the top from the first position to the last position. By this operation, the original image data is read from the second W and image, and the input characters and pictures are displayed on the LCD display screen 12 using the original image data that has been compressed and noise removed by image processing. 5) When the operation key 11 of the embroidery data creation device 10 is pressed, the image processing algorithm searches the compressed and noise-removed original image data and generates embroidery data with a color change code added. , is written into the RAM card 30 set therein by the card writing section 13. 6) Perform the processes 3) and 4) on the remaining second original image to create a RAM card in which the embroidery data is written. 7) To perform embroidery using the embroidery machine 40, insert the RAM card 30 containing the embroidery data into the card reader 43 before turning on the power to the machine, and insert the embroidery frame covered with fabric into the machine. embroidery is started based on the read embroidery data by pressing the start/stop key 41 after turning on the power, the sewing machine stops for each color change code, and by changing the upper thread color, embroidery stitches are formed. In the above procedure, a series of controls from generation of embroidery data in response to user operations to writing to the RAM card are performed by an image processing program stored internally in the embroidery data creation device IO. 0 image processing program 1) By operating the original image input image scanner 20, the horizontal direction data is
04 dots/line, vertical direction data for 504 lines (504 dots) is stored in the VRAM of the sewing machine. This data is then stored in another area of the VRAM, with horizontal data being thinned out every other bit, and vertical data being thinned out every other line.
Original image data of 52 x 252 dots is stored. 2) Noise removal Next, the 4-concatenation compression method (*1) of the image processing language described later
-Y'), VRAM1: Stored data of 252 x 252 dots is treated as data only when there are dots on the top and bottom, left and right, and 12 horizontal data are stored in another area of VRAM.
6 dots/line, vertical data is stored as data of 126 lines + 26 x 126 dots configuration. This data is used as data for image processing. Furthermore, this data is compressed to generate data with a 63x63 dot structure for image display, and is stored in a separate area of the VRAM. *l: 4-concatenation compression method In Figure 6, black and white circles indicate dot data, and a method in which the black circle data is made valid only when there are white circle data above, below, left and right of the target black circle data. In this embodiment, this process is performed for data having a 252×252 dot configuration, every other dot for horizontal data, and every other line for vertical data. The dot data after processing is as shown in FIG. O Setting the needle drop point coordinates For the needle drop point coordinates of the stitch data, give the coordinates for setting the needle drop point in each line and between each line in advance as shown by black dots in the 5th section, and search the original data after division. Stitch data is generated using the coordinates of the left and right ends of the dot column in each row and the needle drop point coordinates located inside the coordinates. O For correction of input image deviation and generation of embroidery data,
The procedure for correcting an input image and generating embroidery data will be explained with reference mainly to FIG. 1 and FIGS. 8 to 15. In the following description, a case will be described in which the first reference point and the second reference point are used as reference markers, and the planar position and rotation angle of the read image data in the XY force direction are corrected. In FIG. 1, 5n (n=12.3...) indicates the steps of each process. Prior to step 51 in FIG. 1, the first original image is separated for each color to create a plurality of second original images. To explain using the example in Figure 8, "red", "green" and "
The first original picture ○PO consisting of three colors of ``black'' is divided into the 9th original for each color.
As shown in Figure 11, three second original pictures OPI~O
A first reference point P1 and a second reference point P2 as reference markers are provided at the same position in the reading frame to create three second original images. [1] Image reading In the image reading step, one of the second original images separated for each color is read by the image input means, and the image data is written into the VRAM of the embroidery data creation device 10. [2] Find the center coordinates of the first reference point. The center coordinates of the first reference point P1 are determined by the following processing procedure. Search within the rectangular area above the manually generated image data. In FIG. 14, dots of the image are searched in a predetermined order within a predetermined range, including the origin PO of the input original image data, and a dot somewhere among the spread reference points PI is found. Determine whether a dot is detected within the rectangular range. If no dots are detected, the input of the original image is incorrect, so the process returns to Sl and after re-inputting, the subsequent processing is performed, and if any dots are detected, the process proceeds to the next step. First, find the left and right end dot positions of a continuous dot column in that row (horizontal direction), search the row above it in the range between the two found dot positions, and if there is a dot, find the left end of that dot column. and the right end, and then perform the same operation on the row above it to find the row number immediately before the dot row disappears and the position of the left end of the dot row, that is, the upper end position Yal (FIG. 14). A search is made for the line below the do/do positions detected in S4, and the search is performed in the same manner as above to find the lower end position Yb1 (FIG. 14). Center coordinates of the first reference point P1 (X cl , Y cl
), find Ycl in the Y direction. Ycl is determined by the following formula. Ycl=(Yal+Yb1)/2 Search the continuous dot column in the row of Ycl, and search the left mX
Find the center coordinate Xcl in the X direction from al and the right 1Xbl. Xcl is determined by the following formula. Xcl-(Xal+Xbl)/2 [3] Find the center coordinates of the second reference point. S8-513 Similar to 52-S7, search for a second reference point P2 within a predetermined range from the origin PO of the original image data, and
Find the center coordinates (X c2. Y c2) of. In the process 59 from S8, it is determined whether a dot is detected within the rectangular range. If no dots are detected, the input of the original image is incorrect, so the process returns to Sl, and after re-inputting, the subsequent processing is performed. [4] Find the deviation in the rotational direction and in the X and Y directions. The rotational deviation eo of each dot of the original image data from the center coordinates of the reference points P1 and P2 is determined by the following equation. eo -tan-'((Xc2-Xcl)/(Yc2-
Ycl] Displacement X of each dot in the original image data in the X and Y directions when P1 is made to match the origin PO of the original image data
Find dSYd. X d = X cl d - Ycl [5] This is a correction calculation processing step in which each dot of the input image is moved to a corrected coordinate position. 515.516 In Sl, the input image memory is searched, and the coordinates after correction are calculated using the following formula, and in 516, the pixel (
Move the dot). If the position coordinates before correction are X, Y and the position coordinates after correction are X new, Y new, then new -X-Xc + Y-Yc -5in 19
-e. new --Xc 10Y-Ycl ・cos 19-e. However, e-tan 'f(X-Xcl)/(Y-Ycl)) [
6. Reference marker erasing step for erasing dot data at the first and second reference points After moving all the dots, the dot data at the first reference point PL and the second reference point P2 are erased. [7] Generation of embroidery data This is a stitch data generation processing step, in which stitch data is generated according to the method shown in the stitch data generation process of the flowchart shown in FIG. 2, and a color change code is added after the generation. In this embodiment, first, stitch data is generated from corrected original image data for the "red" original image pattern shown in FIG. 9, and then a color change code is added. It is determined whether there is a next color, and if there is a next color to be input, the process returns to Sl and executes the subsequent processing. In this embodiment, the above operations [1] to [7] are also performed for the "green" and "black" images in FIGS. 1O and 11. If the next color is exhausted, the process advances to S20. Add an end code and terminate the program. ○Stitch data generation process Next, details of the stitch data generation process of step 518 in FIG. 1 will be explained with reference to FIG. In the figure, Tn (n=1, 2.3, . . . ) indicates each processing step. The upper left corner of the image (21 points in the example of FIG. 13) is the starting point of the search. [11] First detection step This is a step in which the inside of a rectangle is searched and the presence or absence of image data (hereinafter referred to as a dot) can be determined. Search within a relatively narrow predetermined rectangular area in a predetermined order. In the first search, a range from the upper left end of the image to the lower right quarter of a predetermined rectangular range is searched. The presence or absence of a dot is determined, and if there is a dot, the process proceeds to T8, and if there is no dot, the process proceeds to T4. [12] Second detection step Search the line from the previous final stitching position from left to right, and when the right end is reached, search the line below from left to right. Repeat this operation until a dot is found. Starting from the previous final stitching position, search from right to left within that line, and when the left end is reached, search the line above it from right to left. Repeat step 2 until you find the dot. The presence or absence of a dot is determined, and if there is a dot, the process proceeds to T7; if there is no dot, the process proceeds to T25. If a dot is found in the searches at T4 and T5, the one with the shorter distance from the previous final stitch position is selected. If only one dot is found, select it. If the dot is not found by searching T4 and T5, please use l!
! Since the processing of the read image from the original picture No. 2 has been completed and the conversion to stitch data has been completed, a color change code is added and the process returns to the main routine shown in FIG. [13] First starting point determination step This is a step of searching the upper and lower ends of the image block and generating jump stitches. In the row with the dots selected with T2 or T7, the leftmost and rightmost dots of the dot column! Find the row above it within the range of both found dot positions, and if there is a dot, find the left and right ends of that dot column, search the row above it in the same way, and find the dot. Find the row number and left end position of the dot column immediately before the column disappears as the top end position. In the row with the dot selected in T2 or T7, find the left and right end dot positions of the dot column, search the row below it within the range of both found dot positions, and if there is a dot, search the left end of that dot column. The right end is found, and the rows below that are searched in the same way, and the row number and the left end position of the dot row immediately before the end of the dot row are found as the lower end position. IO Set the current stitch start position to be the one closest to the previous final stitch position between the top and bottom ends. ll Generate jump data between the previous final stitch position and the current stitch start position. The embroidery direction is determined depending on whether the current stitch start position is the top or bottom of the block, so the process branches to the corresponding step. The processing from 713 to T18 is a needle drop point setting step in which a straight stitch is formed from the stitch start position, a stitch is generated while searching downward from the upper end of the block, and the processed dot row is erased. , 719~T2
Processing No. 3 is a second starting point determining step in which the previous (upper) row is searched in parallel. The processes from T33 to T38 form a straight stitch from the stitch start position, generate stitches while searching upward from the bottom edge of the block, and erase the processed dot rows. Processing is a process of searching the previous (lower) row in parallel. The series of processing from 733 to T43 is basically the same as the processing from 713 to T23, except that the vertical direction is reversed, so the processing from T13 to T23 will be mainly described here. [14] Needle drop point setting step T13, T14 At T13, find the left and right ends of the dot row in the row of the stitch start position, and in the meantime set the straight stitch needle drop point, set the first needle to the left end. As shown in Fig. 5, the second needle and subsequent needles are set at positions that are related to the predetermined sewing pitch and line number, and finally, the needle drop point is set at the right end position. At T14, the dot row for the row for which the needle drop point setting has been processed is deleted from the image memory. T15~718 Find the left end of the dot column in the lower row as the next row, and if there is a dot column in the lower row, find the position related by row number between it and the right end of the previous row. Set the needle drop point from the right edge to the left edge. [15] Second starting point determination step (not shown) searches the upper row as the previous row, T19
If there is an unprocessed dot column in the previous row, T
The process proceeds to T20, and if there is no dot row, the process proceeds to T23 and thereafter. Search in the upward direction to find the top position as the starting point. Determine whether there is a starting point. The presence or absence of a start point is determined based on whether the distance from the previous final stitch position is within a certain distance. If there is a starting point, T2
If there is no starting point, proceed to T23 or later. If there is a starting point, generate a jump stitch. Although not shown, the lower row is searched to determine if there is a dot column. If there is a dot row, return to T13 and 713 to T
The process of 23 is repeated, and if there is no dot row, the process returns to T2 and the process from T2 is performed. The processing from 733 to T43 is basically the same as the processing from T13 to T23, except that the vertical direction is reversed.
The explanation will be omitted here. According to the embroidery data creation method described above, embroidery data that can be used for color embroidery is created from a plurality of second original images that are created separately for each color from the first original image.
From the first original picture ○PO shown in Fig. 8, a plurality of second original pictures 0PI-〇P3 shown in Figs. 9 to 11 are created for each color, and embroidery data is created using the embroidery data creation method explained above. However, by performing embroidery stitching, beautiful embroidery using colors is possible without overlapping each color. O Embroidery stitching with a three-dimensional effect Depending on the pattern, design, etc. of the original pattern to be embroidered, it is more effective to embroider by partially overlapping the embroidery parts of each color to create a three-dimensional effect. There is. In that case, the reference markers of the second original image should be shifted relative to each other depending on the edge, the width of each line should be made thicker, etc., and then the embroidery data should be created using the embroidery data creation method described above. By creating and sewing embroidery, some of the stitches of different colors overlap, making it possible to create beautiful colored embroidery with stitches that have a three-dimensional feel. O When setting a reference line as a reference mark The above explanation is based on the 12 images created separately for each color from the first original drawing.
Although we have explained the case where the Ml reference point and the second reference point are provided as reference marks on the W image of It is possible to perform the same processing as when a reference point and a second reference point are provided. This will be explained below with reference to FIG. The figure is $2
This is part of the W image data read from the original image, and Q is the read dot data of the reference line. The first reference point R1 and the second reference point R2 are set using an appropriate method with respect to the dot data Q of the reference line (hereinafter referred to as reference line Q).
By determining the corrected movement amount and corrected rotation angle of the original image data in the XY length direction, it is possible to obtain the corrected movement amount and corrected rotation angle of the original image data in the same manner as described above, and similarly to the above, the coordinates of the first reference point R1 are
It is used to determine the corrected movement amount in the length direction, and the corrected rotation angle can be determined from the positional relationship of the coordinates of the first reference point R1 and the second reference point R2. In the example of FIG. 16, the first reference point R1 and the second reference point R2 with respect to the reference line Q are the upper left end and lower left end points of the reference 41tQ, respectively. Instead of point R2, the point R2' at the left end of the reference line Q, which is a certain distance from the first reference point, can also be used. Further, the first reference point R1 and the second reference point R2 with respect to the reference line Q can be set in relation to the center line of the reference line Q, for example, instead of the example shown in FIG. Q When using only one reference point as a reference mark When using only one reference point as a reference mark, the first
This will be explained with reference to FIG. In the figure, a scanner guide 5 as a guide means
0, a first guide 52 and a second guide 53 are arranged on a substrate 51, and the first guide 52 extends over the upper end of the maximum movable range in the Y direction of the image scanner 20 (FIG. 3). The second guide 53 is the image scanner 20
guide in the X direction. When reading the original image data from the second original image OP4, first, the second original image OP4 is placed and fixed on the substrate 51 so that its Y-direction component is parallel to the second guide 53, and then the image scanner 20 is placed on the second original image OF2 so that its upper end is in contact with the first guide 52, and then the image scanner 20 is placed on the second guide 53.
The original image data is read from the second original image OP4 by moving it in contact with the guide surface 53a of the second original image OP4. In this case, correction of the original image data after reading is not necessary for the rotation angle, and only correction in the XY length direction is required.
It is only necessary to provide a reference mark for the second original image that serves as a reference for the position in the x and Y force directions. For example, as shown in FIG. 17, a single reference point R' can be used as the reference mark. O Embroidery data usage mode The above embodiment is an embroidery data creation device l. By setting the RAM card 30 storing the embroidery data created in the sewing machine into the sewing machine and pressing the start/stop key 41 of the sewing machine, embroidery is sewn based on the embroidery data read from the offline RAM card 30. In addition, the color change code automatically stops the sewing machine and allows you to change the upper thread color, but this can also be done online. That is, in the embodiment described above, an image processing program is stored in the ROM built into the sewing machine, a dedicated terminal is provided for the sewing machine I, an image scanner as an image scanning device is connected, and the same process as described above is performed. The original image data is read from the original image pattern, the embroidery data is created online using a processing program similar to that of the embroidery data creation device described above, the created embroidery data is temporarily stored, and embroidery is performed via a data buffer, etc. It can also be done.

【発明の効果】【Effect of the invention】

以上のように本発明によれば、比較的安価なモノクロ画
像入力装置による簡単な入力操作によりカラーによる刺
しゅうが可能な刺しゅうデータが作成でき、また原画パ
ターンの読み取りによる入力時に各色毎に分離した第2
の原画の所望の構成部分が重なるようにすることにより
、縫目の一部に重なり部分の厚みが生じ、美麗で立体感
のある刺しゅうが可能になる等、顕著な効果が得られる
As described above, according to the present invention, embroidery data that can be embroidered in color can be created by simple input operations using a relatively inexpensive monochrome image input device, and when input by reading the original pattern, the 2
By overlapping the desired constituent parts of the original drawings, the thickness of the overlapping part is created in some of the seams, and remarkable effects such as beautiful and three-dimensional embroidery can be achieved.

【図面の簡単な説明】[Brief explanation of drawings]

第1図〜第15図は本発明の実施例に係り、第1図は刺
しゅうデータ生成処理プログラムのフローチャート、第
2図はステッチデータ生成処理プログラムのフローチャ
ート、第3図は縫いデータ作成装置の外観斜視図、第4
図は刺しゅうミシンの外観斜視図、第5図は画像ブロッ
ク内部に針落点を設定する場合の座標位置である。第6
図、第7区は4連結収縮処理を説明する図で、第6図は
処理前、第7図は処理後を示す。fsS図は複数の色か
らなる第1の原画、第9図〜第11図は第1の原画を各
色毎に分離して作成した第2の原画で、第9図は赤色の
第2の原画、第10図は緑色の第2のyC画、第11図
は黒色の第2の製画である。 第12図は第2の原画の読み取り状態を示す図、第13
図は読み取り後の第2の原画の補正結果を視覚的に表示
する図、第148Vは第1の基準点の中心座標の求め方
を説明するための図、第15図は補正する回転角度の求
め方を説明するための図である。 第16図は基準標識として基準点にかえて基準線を使用
した場合の補正を説明する図、第17図は画像入力手段
としてのイメージスキャナ用のスキャナガイドの1例を
示す斜視図である。 20は画像入力手段としてのイメージスキャナ、50は
ガイド手段としてのスキャナーガイド、OPOは第1の
原画、OPI〜OP4は第2の原画、POは第2の原画
の原点、PlおよびP2はこの順に基準標識としての第
1の基準点および第2の基準点、Qは基準標識としての
基準線、R′は基準標識としての基準点、Slは画像読
み取りステップ、S14〜S16は補正演算処理ステッ
プ、S17は基準標識消去ステップ、T1〜T23およ
びT33〜T43はステッチデータ生成処理ステップ、
T1は色替えコード付加ステップである。 特許出願人 蛇の目ミシン工業株式会社第  3 図 ゛   10 第  4  図 第5図 ←−−−−−−;右から左へのステッチーーーーー二左
から右へのステッチ 1行中は3romのピッチでステッチを形成する左から
右へのステッチと右から左へのステッチ闘始位置は1m
noづつ針落点がず(ていく 刺しゅうデータを生成する 第  6  図    $7   図 717一 第8図    第10図 :−−−一本−−−−4 匠羽−−−−撒 第  9  図           第 11 図第
12図 μ2 第13図 第14図 第15図 回転方向のずれeo eo−Lan−11(Xc2−Xcl)/(Yc2−Y
cl))原点POに対するXY方向のずれ (Xcj Ill 16図
Figures 1 to 15 relate to embodiments of the present invention; Figure 1 is a flowchart of an embroidery data generation processing program, Figure 2 is a flowchart of a stitch data generation processing program, and Figure 3 is an external appearance of a sewing data creation device. Perspective view, 4th
The figure is an external perspective view of the embroidery sewing machine, and FIG. 5 shows the coordinate position when setting the needle drop point inside the image block. 6th
Section 7 in the figure is a diagram for explaining the four-connection contraction process, with FIG. 6 showing the state before the process and FIG. 7 showing the state after the process. The fsS diagram is the first original picture consisting of multiple colors, Figures 9 to 11 are the second original pictures created by separating the first original picture for each color, and Figure 9 is the second original picture in red. , FIG. 10 is the second yC drawing in green, and FIG. 11 is the second drawing in black. FIG. 12 is a diagram showing the reading state of the second original image, and FIG.
The figure is a diagram visually displaying the correction result of the second original image after reading, No. 148V is a diagram for explaining how to obtain the center coordinates of the first reference point, and Fig. 15 is a diagram for explaining the method of determining the center coordinates of the first reference point. FIG. 3 is a diagram for explaining how to obtain the information. FIG. 16 is a diagram illustrating correction when a reference line is used instead of a reference point as a reference mark, and FIG. 17 is a perspective view showing an example of a scanner guide for an image scanner as an image input means. 20 is an image scanner as an image input means, 50 is a scanner guide as a guide means, OPO is the first original image, OPI to OP4 are the second original images, PO is the origin of the second original image, Pl and P2 are in this order A first reference point and a second reference point as reference markers, Q is a reference line as a reference marker, R' is a reference point as a reference marker, Sl is an image reading step, S14 to S16 are correction calculation processing steps, S17 is a reference mark erasing step, T1 to T23 and T33 to T43 are stitch data generation processing steps,
T1 is a color change code addition step. Patent applicant Janome Sewing Machine Industry Co., Ltd. Fig. 3 ゛ 10 Fig. 4 Fig. 5 ← -------; Stitching from right to left --- 2 Stitching from left to right 3 rom in one row Stitches from left to right forming stitches with a pitch of 1m and starting position of stitches from right to left
Generate embroidery data one by one. Figure 6 $7 Figure 717-Figure 8 Figure 10: --- One piece ----4 Takumi feather --- Figure 9 Fig. 11 Fig. 12 Fig. μ2 Fig. 13 Fig. 14 Fig. 15 Displacement in rotational direction eo eo-Lan-11 (Xc2-Xcl)/(Yc2-Y
cl)) Misalignment in the XY direction with respect to the origin PO (Xcj Ill Figure 16)

Claims (1)

【特許請求の範囲】 I 、原画パターンから原画データを読み込み該原画デ
ータから画像処理により刺しゅうデータを作成するもの
において、 予め第1の原画を各色毎に分離して作成した複数の第2
の原画から各色毎に画像入力手段により原画データを読
み取る画像読み取りステップと、各色の原画データから
ステッチデータを生成するステッチデータ生成処理ステ
ップと、生成された各色のステッチデータの間に色替え
コードを付加する色替えコード付加ステップとからなり
、カラー刺しゅうが行えるようにしたことを特徴とする
ミシンの刺しゅうデータ作成方法。 II、原画パターンから原画データを読み込み該原画デー
タから画像処理により刺しゅうデータを作成するものに
おいて、 予め第1の原画を各色毎に分離し、それぞれ定められた
位置に基準標識を設けた複数の第2の原画を作成し、第
2の原画から前記基準標識を含めて各色毎に画像入力手
段により原画データを読み取る画像読み取りステップと
、前記基準標識に基づき第2の原画データの原点に対す
る補正移動量およびX軸またはY軸に対する補正回転角
度を演算し、原画データを移動および回転補正する補正
演算処理テップと、該補正演算後に基準標識を消去する
基準標識消去ステップと、各色の原画データからステッ
チデータを生成するステッチデータ生成処理ステップと
、生成された各色のステッチデータの間に色替えコード
を付加する色替えコード付加ステップとからなり、カラ
ー刺しゅうが行えるようにしたことを特徴とするミシン
の刺しゅうデータ作成方法。 III、原画パターンから原画データを読み込み該原画デ
ータから画像処理により刺しゅうデータを作成するもの
において、 予め第1の原画を各色毎に分離し、それぞれ定められた
位置に基準標識を設けた第2の原画を作成し、第2の原
画から前記基準標識を含めた各色毎にガイド手段により
案内された画像入力手段により原画データを読み取る画
像読み取りステップと、前記基準標識に基づき第2の原
画データの原点に対する補正移動量を演算し、原画デー
タを移動補正する補正演算処理ステップと、該演算処理
後に基準標識を消去する基準標識消去ステップと、各色
の原画データからステッチデータを生成するステッチデ
ータ生成処理ステップと、生成された各色のステッチデ
ータの間に色替えコードを付加する色替えコード付加ス
テップとからなり、カラー刺しゅうが行えるようにした
ことを特徴とするミシンの刺しゅうデータ作成方法。
[Scope of Claims] I. In an apparatus for reading original image data from an original image pattern and creating embroidery data from the original image data by image processing, a plurality of second embroidery data are created by separating the first original image for each color in advance.
An image reading step of reading original image data for each color from the original image using an image input means, a stitch data generation processing step of generating stitch data from the original image data of each color, and a color change code between the generated stitch data of each color. A method of creating embroidery data for a sewing machine is characterized in that it comprises a step of adding a color change code to be added, and is capable of performing color embroidery. II. In a method that reads original image data from an original image pattern and creates embroidery data by image processing from the original image data, the first original image is separated for each color in advance, and a plurality of embroidery patterns are prepared in which reference marks are provided at predetermined positions. an image reading step of creating a second original image, and reading original image data for each color from the second original image including the reference mark using an image input means; and a correction movement amount of the second original image data with respect to the origin based on the reference mark. and a correction calculation processing step that calculates a correction rotation angle with respect to the X-axis or Y-axis to move and correct the rotation of the original image data, a reference mark erasing step that erases the reference mark after the correction calculation, and stitch data from the original image data of each color. An embroidery machine characterized by comprising a stitch data generation processing step for generating stitch data, and a color change code addition step for adding a color change code between the generated stitch data of each color, thereby enabling color embroidery. How to create data. III. In a device that reads original image data from an original image pattern and creates embroidery data by image processing from the original image data, the first original image is separated for each color in advance, and a second embroidery pattern is created in which reference marks are provided at predetermined positions. an image reading step of creating an original image and reading original image data from a second original image for each color including the reference mark using an image input means guided by a guide means; and an origin point of the second original image data based on the reference mark. a correction calculation processing step of calculating a correction movement amount for the original image data and correcting the movement; a reference mark erasing step of erasing the reference mark after the calculation processing; and a stitch data generation processing step of generating stitch data from the original image data of each color. and a color change code addition step of adding a color change code between the generated stitch data of each color, thereby enabling color embroidery.
JP2301314A 1990-11-07 1990-11-07 Sewing machine embroidery data creation method Expired - Fee Related JP3023376B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2301314A JP3023376B2 (en) 1990-11-07 1990-11-07 Sewing machine embroidery data creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2301314A JP3023376B2 (en) 1990-11-07 1990-11-07 Sewing machine embroidery data creation method

Publications (2)

Publication Number Publication Date
JPH04174699A true JPH04174699A (en) 1992-06-22
JP3023376B2 JP3023376B2 (en) 2000-03-21

Family

ID=17895363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2301314A Expired - Fee Related JP3023376B2 (en) 1990-11-07 1990-11-07 Sewing machine embroidery data creation method

Country Status (1)

Country Link
JP (1) JP3023376B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05171561A (en) * 1991-12-25 1993-07-09 Hideo Yamaguchi Fiber product and method for preparing crest data of fiber product
JPH07136360A (en) * 1993-11-15 1995-05-30 Brother Ind Ltd Embroidery data generating device
US5499589A (en) * 1994-02-25 1996-03-19 Brother Kogyo Kabushiki Kaisha Method and apparatus for producing image data to be used by embroidery data processing apparatus
US5751583A (en) * 1994-02-25 1998-05-12 Brother Kogyo Kabushiki Kaisha Embroidery data processing method
US5867391A (en) * 1995-06-15 1999-02-02 Brother Kogyo Kabushiki Kaisha Sewing data processor for preparing sewing data for use in sewing machines
US5880963A (en) * 1995-09-01 1999-03-09 Brother Kogyo Kabushiki Kaisha Embroidery data creating device
CN112581419A (en) * 2019-09-30 2021-03-30 陈永忠 Method for forming embroidery by embroidery color analysis

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05171561A (en) * 1991-12-25 1993-07-09 Hideo Yamaguchi Fiber product and method for preparing crest data of fiber product
JPH07136360A (en) * 1993-11-15 1995-05-30 Brother Ind Ltd Embroidery data generating device
US5499589A (en) * 1994-02-25 1996-03-19 Brother Kogyo Kabushiki Kaisha Method and apparatus for producing image data to be used by embroidery data processing apparatus
US5751583A (en) * 1994-02-25 1998-05-12 Brother Kogyo Kabushiki Kaisha Embroidery data processing method
US5867391A (en) * 1995-06-15 1999-02-02 Brother Kogyo Kabushiki Kaisha Sewing data processor for preparing sewing data for use in sewing machines
US5880963A (en) * 1995-09-01 1999-03-09 Brother Kogyo Kabushiki Kaisha Embroidery data creating device
USRE38718E1 (en) * 1995-09-01 2005-03-29 Brother Kogyo Kabushiki Kaisha Embroidery data creating device
CN112581419A (en) * 2019-09-30 2021-03-30 陈永忠 Method for forming embroidery by embroidery color analysis

Also Published As

Publication number Publication date
JP3023376B2 (en) 2000-03-21

Similar Documents

Publication Publication Date Title
JP3552334B2 (en) Embroidery data processing device
US5740057A (en) Embroidery data creating device
US5839380A (en) Method and apparatus for processing embroidery data
EP0147087B1 (en) Embroidery machine
US5390126A (en) Embroidering data production system
GB2199165A (en) Stitch data processing apparatus for embroidery sewing machine
US11060221B2 (en) Sewing machine
US6256551B1 (en) Embroidery data production upon partitioning a large-size embroidery pattern into several regions
JP2013099455A (en) Sewing machine
JPH10230088A (en) Embroidery data processor
US5560306A (en) Embroidery data producing apparatus and process for forming embroidery
JPH04174699A (en) Embroidery data making out method for sewing machine
JP2017093990A (en) Embroidery pattern editing program and embroidery pattern editing device
KR920003667B1 (en) Sewing data forming method and device for sewing machine
JP3467077B2 (en) Embroidery data creation device
US5576968A (en) Embroidery data creating system for embroidery machine
JPH0956942A (en) Sewing data processing device
JP2005279068A (en) Embroidery data processing apparatus and recording medium to record embroidery data processing program
JPH07136357A (en) Embroidery data generating device
JP2014213060A (en) Embroidery data generating apparatus, embroidery data generating program and computer readable medium
JPH0838758A (en) Image pattern processing method and device thereof
JP3145462B2 (en) Embroidery data creation device
JP3249113B2 (en) Sewing machine embroidery data generation method
JP3741381B2 (en) Embroidery data creation device
WO2019176639A1 (en) Non-transitory computer readable medium and embroidery data generation method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees