[go: up one dir, main page]

JP2001104670A - Sewing data processor - Google Patents

Sewing data processor

Info

Publication number
JP2001104670A
JP2001104670A JP28899599A JP28899599A JP2001104670A JP 2001104670 A JP2001104670 A JP 2001104670A JP 28899599 A JP28899599 A JP 28899599A JP 28899599 A JP28899599 A JP 28899599A JP 2001104670 A JP2001104670 A JP 2001104670A
Authority
JP
Japan
Prior art keywords
color
image data
sewing
target
sewing 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.)
Pending
Application number
JP28899599A
Other languages
Japanese (ja)
Inventor
Yuichi Sukegawa
祐一 助川
Yoshiro Kawashima
義朗 川島
Fumio Wada
文夫 和田
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.)
Juki Corp
Original Assignee
Juki Corp
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 Juki Corp filed Critical Juki Corp
Priority to JP28899599A priority Critical patent/JP2001104670A/en
Publication of JP2001104670A publication Critical patent/JP2001104670A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Image Analysis (AREA)

Abstract

(57)【要約】 【課題】 一様な模様が描かれている元絵から読み込ん
だ画像データが一様な色になっていない場合でも、該画
像データから模様の輪郭を確実に抽出し、縫いデータを
作成できるようにする。 【解決手段】 カラー画像データを記憶する画像データ
記憶部28と、記憶されている画像データ上の一様な色
の領域の境界を輪郭として抽出し、縫いデータを作成す
る手段とを備えた縫いデータ処理装置において、前記画
像データから輪郭を抽出する際の目標とする複数の色を
規定する目標色をそれぞれ記憶する色情報記憶部30
と、前記画像データを構成する各ピクセルの色と、各目
標色との間の色差を演算する演算手段と、各ピクセルの
色を、色差が最小の目標色にそれぞれ書き換える書換手
段と、を備えている。
(57) [Summary] Even if image data read from an original picture on which a uniform pattern is drawn does not have a uniform color, the contour of the pattern is reliably extracted from the image data. Enable to create sewing data. A sewing device includes an image data storage unit that stores color image data, and a unit that extracts a boundary of a uniform color area on the stored image data as an outline and creates sewing data. In the data processing device, a color information storage unit (30) for storing a target color defining a plurality of colors as a target when extracting a contour from the image data.
Calculating means for calculating a color difference between each pixel constituting the image data and each target color; and rewriting means for respectively rewriting the color of each pixel to a target color having the smallest color difference. ing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明が属する技術分野】本発明は、縫いデータ処理装
置、特に針位置と保持物を相対的に移動させて縫製する
パターン縫いミシンで用いられる縫いデータの作成に適
用して好適な縫いデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sewing data processing apparatus, and more particularly, to a sewing data processing apparatus suitable for application to creation of sewing data used in a pattern sewing machine for sewing by relatively moving a needle position and a holder. Related to the device.

【0002】[0002]

【従来の技術】従来より、針位置と布等の保持物を相対
的に移動させて縫製するパターン縫いミシンとしては、
任意の模様が描かれている元絵からスキャナ等の画像読
取装置により画像データを読取り、その画像データ上の
輪郭を抽出すると共に、得られた輪郭や輪郭同士の関係
を認識して、その内側を縫い潰す縫いデータを作成する
ものが、例えば特開平6−154445に提案されてい
る。
2. Description of the Related Art Conventionally, as a pattern stitch sewing machine for sewing by moving a holding position such as a needle and a cloth relative to each other,
Image data is read from an original picture on which an arbitrary pattern is drawn by an image reading device such as a scanner, and the contours on the image data are extracted. For example, Japanese Unexamined Patent Publication No. 6-154445 proposes a method for creating sewing data for sewing.

【0003】一般に、スキャナ等で読み込んだ画像デー
タから縫いデータを作成する場合には、メモリに記憶さ
れている画像データについて、ある点を基準に2次元画
像上の右隣りのピクセル(画素)を検査し、それが基準
のピクセルの色(基準色)と同じ色であれば更に1つ進
んだ右隣りを検査するという操作を繰り返し、異なる色
が検出されると、その最終の点のピクセル位置を開始点
として記憶する。
Generally, when sewing data is created from image data read by a scanner or the like, a pixel (pixel) on the right side of a two-dimensional image on a two-dimensional image is determined with respect to image data stored in a memory. The inspection is repeated, and if it is the same color as the reference pixel (reference color), the operation of inspecting the next right is further advanced. If a different color is detected, the pixel position of the final point is detected. Is stored as the starting point.

【0004】その後、その開始点のピクセルの8近傍の
各ピクセルについて時計方向又は反時計方向に色を検査
し、そのときの最初に基準色と同じ色のピクセルが検索
されたら、その位置を記憶し、更にここで位置が記憶さ
れたピクセルについて同様に検査を行い、最初の開始点
になるまでこの操作を繰り返す。このような操作により
得られたピクセルの位置の座標列を輪郭として抽出する
ことにより、その内側を縫い潰す縫いデータを作成して
いる。このような縫いデータの作成方法は、画像データ
上の模様範囲が全てが同一色(一様な色)の場合には有
効である。
Thereafter, the color of each of the eight pixels in the vicinity of the pixel at the starting point is examined in the clockwise or counterclockwise direction, and if a pixel having the same color as the reference color is first searched, the position is stored. Then, the inspection is performed in the same manner on the pixels whose positions are stored, and this operation is repeated until the first starting point is reached. By extracting a coordinate sequence of pixel positions obtained by such an operation as a contour, sewing data is created to sew the inside of the pixel. Such a method of creating sewing data is effective when all the pattern ranges on the image data are the same color (uniform color).

【0005】[0005]

【発明が解決しようとする課題】しかしながら、元絵で
は、例えば花びらや葉等の模様の要素が一様な色である
にも拘らず、スキャナ等により読み込んだ画像データで
は、その性能等により一様な色にならなかったり、ある
いは元絵そのものが一様でないために画像データも一様
にならなかったりして、斑になってしまうことがある。
このように模様の要素が一様な色になっていない画像デ
ータについて、上述した方法により輪郭を抽出すると、
目的とする輪郭が得られない場合があり、その結果画像
データをピクセル毎に色を変更したり、画像データをな
ぞって輪郭線を手入力したりする等の作業が必要とな
り、大きな手間がかかるという問題があった。
However, in the original picture, although the pattern elements such as petals and leaves have a uniform color, the image data read by a scanner or the like may have a poor performance due to its performance. The color may not be uniform, or the image data may not be uniform because the original picture itself is not uniform, resulting in spots.
When the contour is extracted by the above-described method for the image data in which the pattern elements are not uniform in color,
The desired outline may not be obtained. As a result, it is necessary to perform operations such as changing the color of the image data for each pixel and manually inputting the outline by tracing the image data. There was a problem.

【0006】本発明は、前記従来の問題点を解決するべ
くなされたもので、本来は一様な色の模様が描かれてい
る元絵から読み込んだ画像データが一様な色になってい
ない場合でも、該画像データから模様の輪郭を確実に抽
出し、縫いデータを作成することができる縫いデータ処
理装置を提供することを課題とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and image data read from an original picture in which a uniform color pattern is originally drawn is not a uniform color. Even in such a case, an object of the present invention is to provide a sewing data processing device capable of reliably extracting a contour of a pattern from the image data and creating sewing data.

【0007】[0007]

【課題を解決するための手段】本発明は、カラー画像デ
ータを記憶する手段と、記憶されている画像データ上の
一様な色の領域の境界を輪郭として抽出し、縫いデータ
を作成する手段とを備えた縫いデータ処理装置におい
て、前記画像データから輪郭を抽出する際の目標とする
複数の目標色をそれぞれ記憶する色情報記憶手段と、前
記画像データを構成する各ピクセルの色と、各目標色と
の間の色差を演算する演算手段と、各ピクセルの色を、
色差が最小の目標色にそれぞれ書き換える書換手段と、
を備えたことにより、前記課題を解決したものである。
According to the present invention, there is provided means for storing color image data, and means for extracting a boundary of a uniform color area on the stored image data as a contour and creating sewing data. In a sewing data processing device comprising: a color information storage unit for storing a plurality of target colors as targets when extracting a contour from the image data; a color of each pixel constituting the image data; Calculating means for calculating a color difference between the target color and a color of each pixel;
Rewriting means for rewriting the target color with the smallest color difference,
By providing the above, the above-mentioned problem has been solved.

【0008】即ち、本発明においては、画像データを構
成する各ピクセルの色を、目標色として設定した複数の
色の中で、最も色差が小さい目標色に書き換えるように
したので、任意の色領域で部分的に同系色の濃淡が生じ
て斑になっている場合でも、その領域全体を一様な色の
画像データに修正することができる。従って、従来と同
様の輪郭抽出方法を適用することにより、確実に縫いデ
ータを作成することができる。
That is, in the present invention, the color of each pixel constituting the image data is rewritten to the target color having the smallest color difference among a plurality of colors set as the target colors. Therefore, even if a similar shade of color occurs partially and becomes uneven, the entire area can be corrected to image data of a uniform color. Therefore, by applying the same contour extraction method as that of the related art, it is possible to reliably create sewing data.

【0009】[0009]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態について詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0010】図1は、本発明に係る一実施形態の縫いデ
ータ処理装置が適用される刺繍(パターン)縫いミシン
の制御系の要部を示すブロック図、図2は、該縫いデー
タ処理装置の要部構成を示すブロック図である。
FIG. 1 is a block diagram showing a main part of a control system of an embroidery (pattern) sewing machine to which a sewing data processing device according to an embodiment of the present invention is applied, and FIG. 2 is a block diagram of the sewing data processing device. FIG. 3 is a block diagram illustrating a main configuration.

【0011】前記刺繍縫いミシンは、CPU(中央演算
処理装置)10によりミシン全体を制御する演算が実行
されるようになっており、このCPU10には後述する
編集作業等の各作業やデータの保存に用いられるメモリ
12と、図示しない針を上下動させるために主軸モータ
14により駆動される主軸モータ駆動部16と、図示し
ない刺繍枠をX・Y方向に移動させるためにX軸・Y軸
モータ18により駆動されるXYテーブル用モータ駆動
部20とが接続され、更にI/Oインターフェイス22
を介してキースイッチ24と共にカラースキャナ26が
接続されている。そして、このCPU10は、上記主軸
モータ14の駆動、X軸・Y軸モータ18の駆動による
縫製制御と共に、後述する画像処理を含む制御全般を行
うようになっている。
In the embroidery sewing machine, a CPU (Central Processing Unit) 10 executes an operation for controlling the entire sewing machine. The CPU 10 stores various operations such as an editing operation described later and data storage. , A spindle motor driving unit 16 driven by a spindle motor 14 to move a needle (not shown) up and down, and an X-axis and Y-axis motor to move an embroidery frame (not shown) in X and Y directions. And an XY table motor drive unit 20 driven by the I / O interface 18.
The color scanner 26 is connected together with the key switch 24 via. The CPU 10 performs sewing control by driving the spindle motor 14 and the X-axis / Y-axis motor 18 and also performs overall control including image processing to be described later.

【0012】上記ミシンには、又、縫いデータ処理装置
が内蔵されている。この縫いデータ処理装置は、要部を
図2に示したように、前記スキャナ26により読み込ま
れるカラー画像データ等を記憶する画像データ記憶部2
8と、ここに記憶されている画像データ上の一様な色の
領域の境界を輪郭として抽出し、縫いデータを作成する
輪郭抽出手段とを備えていると共に、前記画像データか
ら輪郭を抽出する際の目標とする複数の目標色をそれぞ
れ記憶する色情報記憶部30と、前記画像データを構成
する各ピクセルの色と、前記色情報記憶部30に記憶さ
れている各目標色との間の色差を演算する演算手段と、
各ピクセルの色を、色差が最小の目標色にそれぞれ書き
換える書換手段とを備えている。
The sewing machine has a built-in sewing data processing device. As shown in FIG. 2, a main part of the sewing data processing apparatus is an image data storage unit 2 for storing color image data and the like read by the scanner 26.
8 and a contour extracting means for extracting a boundary of a region of a uniform color on the image data stored therein as a contour and creating sewing data, and extracting a contour from the image data. A color information storage unit 30 that stores a plurality of target colors to be targeted at the time, a color of each pixel constituting the image data, and a target color stored in the color information storage unit 30. Calculating means for calculating the color difference;
Rewriting means for rewriting the color of each pixel to a target color having the smallest color difference.

【0013】但し、ここでは、上記画像データ記憶部2
8及び色情報記憶部30は記憶装置32に内蔵され、該
記憶装置32は前記ミシン全体を制御するプログラムが
格納されているROM34と共に、前記メモリ12に含
まれている。又、前記輪郭抽出手段、演算手段及び書換
手段は、同じく上記ROM34から読み込まれるプログ
ラムにより実行する前記CPU10により実現されてい
る。
However, here, the image data storage unit 2
The memory 8 and the color information storage unit 30 are incorporated in a storage device 32. The storage device 32 is included in the memory 12 together with a ROM 34 in which a program for controlling the entire sewing machine is stored. Further, the contour extracting means, the calculating means and the rewriting means are realized by the CPU 10 which is also executed by a program read from the ROM 34.

【0014】上記図2において、前記画像データ記憶部
28及び色情報記憶部30を内蔵する記憶装置32に
は、半導体メモリ、ハードディスク、フロッピーディス
ク、光磁気記憶装置、ICカード等の記憶装置を利用す
ることができる。そして、上記画像データ記憶部28に
は、前記図1のキースイッチの操作等に従って、元絵か
ら前記スキャナ26によりカラー画像として読み込ま
れ、記憶される。この画像データは、各ピクセルの色
を、例えばR、G、Bの3つの値の組合せ、即ち3次元
座標値として記録されている。但し、色情報の表現形式
は、このR、G、Bに限定されず、色を数値で表わすこ
とができるものであれば任意の形式を採用できる。
In FIG. 2, as the storage device 32 containing the image data storage unit 28 and the color information storage unit 30, storage devices such as a semiconductor memory, a hard disk, a floppy disk, a magneto-optical storage device, and an IC card are used. can do. The image data storage unit 28 reads and stores a color image from the original picture by the scanner 26 according to the operation of the key switch in FIG. In this image data, the color of each pixel is recorded as, for example, a combination of three values of R, G, and B, that is, a three-dimensional coordinate value. However, the expression format of the color information is not limited to these R, G, and B, and any format can be adopted as long as the color can be represented by a numerical value.

【0015】又、色情報記憶部30には、R、G、B等
の画像データ記憶部28に記憶されている色と同じ表現
形式で規定される所定個数の目標色を色情報として記憶
している。この目標色としては、例えば図3に模式的に
示すように、青い空を背景にした赤い花のチューリップ
が描かれている基絵の場合であれば、青、赤、それに葉
を表わす濃い緑及び茎や葉の裏側を表わす薄い緑の4色
を挙げることができる。
The color information storage unit 30 stores, as color information, a predetermined number of target colors, such as R, G, and B, defined by the same expression format as the colors stored in the image data storage unit 28. ing. As the target color, for example, as shown schematically in FIG. 3, in the case of a base picture in which a red flower tulip against a blue sky is drawn, blue, red, and dark green representing leaves And four light green colors representing the underside of stems and leaves.

【0016】この目標色を規定する色情報は、前記CP
U10により画像データの全ピクセルについて色毎に度
数分布を調べ、この例ではそれらの上位4つ分を選択
し、記憶するようにしてもよいし、目標色に近いピクセ
ルについてR、G、Bの各値を常法により予め測定し、
その値をキースイッチ24等を用いて入力し、記憶する
ようにしてもよい。
The color information that defines the target color is the above-mentioned CP.
U10 is used to check the frequency distribution for each color for all the pixels of the image data, and in this example, the top four of them may be selected and stored, or the R, G, and B values of the pixels close to the target color Each value is measured in advance by an ordinary method,
The value may be input using the key switch 24 or the like and stored.

【0017】図4には、本実施形態の縫いデータ処理装
置による処理の特徴を概念的に示し、図5にはその処理
手順を示した。
FIG. 4 conceptually shows the characteristics of the processing by the sewing data processing apparatus of the present embodiment, and FIG. 5 shows the processing procedure.

【0018】まず、図示しない基絵を前記スキャナ26
により読み込み、例えば前記図3のような画像データを
前記画像データ記憶部28に保存する。又、これとは別
に、前述した方法で目標色を選択し、各色の値を色情報
記憶部30に記憶する。図4ではNo.NまでのN色で
ある場合が示してあるが、この例では青、赤、濃い緑及
び薄い緑の4色である。
First, a basic picture (not shown) is stored in the scanner 26.
The image data as shown in FIG. 3 is stored in the image data storage unit 28, for example. Apart from this, the target color is selected by the above-described method, and the value of each color is stored in the color information storage unit 30. In FIG. Although the case of N colors up to N is shown, in this example, there are four colors of blue, red, dark green and light green.

【0019】その後、この画像データ記憶部28から読
み出された画像データについて、例えば画像の左上端に
位置するピクセルに着目し、該画像データから着目して
いるピクセルの色の値を取出し(ステップ1)、色情報
記憶部30に記憶されている1つの目標色、例えば赤色
の値との色の差(色差)を演算し(ステップ2)、それ
を色情報記憶部30の各目標色に関連付けて、同じく記
憶装置32内にある色差記憶部(図2では省略)に記憶
する。
Thereafter, for the image data read from the image data storage unit 28, for example, attention is paid to the pixel located at the upper left end of the image, and the color value of the pixel of interest is extracted from the image data (step 1) A color difference (color difference) from one target color, for example, a red value stored in the color information storage unit 30 is calculated (step 2), and is calculated as a target color in the color information storage unit 30. The image data is stored in a color difference storage unit (omitted in FIG. 2) also in the storage device 32 in association therewith.

【0020】ここで、色の値について説明すると、目標
色Ctが、(R,G,B)表記で(Rt,Gt,Bt)で与
えられ、着目しているi番目のピクセルの色Ciが(R
i,Gi,Bi)で与えられるとすると、両者のRGB座
標で規定される色空間上のイメージは、R、G、Bの各
値が0〜255の256階調で設定されているとする
と、図6のようになる。従って、色差は、CtとCiの
R、G、Bの座標値の差として算出されることになる。
因に、目標色Ctが赤の場合であれば、例えばRt=25
0,Gt=Bt=0のように規定できる。
Here, the color value will be described. The target color Ct is given by (Rt, Gt, Bt) in (R, G, B) notation, and the color Ci of the ith pixel of interest is given by (R
i, Gi, Bi), the image on the color space defined by the two RGB coordinates is assumed to have R, G, and B values set in 256 gradations from 0 to 255. FIG. Therefore, the color difference is calculated as the difference between the R, G, and B coordinate values of Ct and Ci.
If the target color Ct is red, for example, Rt = 25
0, Gt = Bt = 0.

【0021】なお、各ピクセルの色Ciと目標色Ctとの
色差は、R、G、Bの各値の単純な減算値でもよいが、
図6に併記したような色空間上のCi−Ct間の距離Lと
して、次式で求めるようにしてもよい。
The color difference between the color Ci of each pixel and the target color Ct may be a simple subtraction value of each of R, G, and B.
The distance L between Ci and Ct in the color space as also shown in FIG. 6 may be obtained by the following equation.

【0022】L={(Rt−Ri)2+(Gt−Gi)2
(Bt−Bi)21/2
L = {(Rt−Ri) 2 + (Gt−Gi) 2 +
(Bt−Bi) 21/2

【0023】以上の着目ピクセルに関する色差演算を、
目標色を次の、例えば青に変更して同様に実行し、最終
的に全ての目標色について実行する(ステップ3)。そ
の後、各目標色について得られた色差が記憶されている
No.1〜No.Nの色差記憶部の中で最小となる値を
検索し、それに対応する色情報記憶部30にある目標色
の値を取り出し、着目しているピクセルの色の値を書き
換える(ステップ4)。以上の処理を各ピクセル、即ち
全ピクセルに対して順次実行する(ステップ5)。
The above color difference calculation for the pixel of interest is
The target color is changed to the next color, for example, blue, and the same process is performed. Finally, the process is performed for all the target colors (step 3). Thereafter, the color difference obtained for each target color is stored in No. 1 to No. The minimum value is searched from the N color difference storage units, the corresponding target color value stored in the color information storage unit 30 is retrieved, and the color value of the pixel of interest is rewritten (step 4). The above processing is sequentially executed for each pixel, that is, for all pixels (step 5).

【0024】又、本実施形態では、以上のようにして各
ピクセルが対応する目標色に書き換えられ、一様な色の
部分領域が形成されると、従来と同様に、該領域から輪
郭を抽出し、該輪郭を、その内側を縫い潰す縫いデータ
として、該当する目標色も輪郭に対応付けて記憶するよ
うになっている。前記記憶装置32に記憶すると共に、
その後、上記縫いデータに従って模様を縫製する時に
は、そのデータに含まれている輪郭が抽出された部分領
域に該当する目標色の色名が、図示しない液晶表示部に
表示され、オペレータが糸を交換する際の支援を行うよ
うになっている。
In the present embodiment, when each pixel is rewritten to the corresponding target color as described above and a uniform color partial area is formed, the contour is extracted from the area as in the conventional case. Then, the target color is stored in association with the outline as the sewing data for sewing the inside of the outline. While being stored in the storage device 32,
Thereafter, when the pattern is sewn in accordance with the sewing data, the color name of the target color corresponding to the partial area in which the contour included in the data is extracted is displayed on a liquid crystal display (not shown), and the operator exchanges the thread. To help you do that.

【0025】以上詳述した本実施形態によれば、スキャ
ナ入力された画像データに、元絵にはない、例えば赤い
花の一部にピンク等の同系色で斑が生じている場合で
も、元絵のように一様な赤い花の画像データに修正する
ことができるため、画像処理で輪郭を抽出して縫いデー
タを作成する場合、オペレータの希望する形状の模様を
縫える縫いデータを簡単に得ることができるようにな
り、大幅な作業効率の向上を図ることができる。
According to the present embodiment described above, even if the image data input by the scanner has a spot of a similar color such as pink in a part of a red flower which is not in the original picture, for example, Since the image data can be corrected to image data of a uniform red flower like a picture, when creating sewing data by extracting an outline by image processing, sewing data that can sew a pattern of a shape desired by an operator can be easily obtained. And the work efficiency can be greatly improved.

【0026】又、抽出される輪郭等が、元絵に対して精
度良く得られることから、美麗な縫いデータを生成する
ことができる。
Further, since the extracted contour and the like can be obtained with high accuracy from the original picture, beautiful sewing data can be generated.

【0027】以上、本発明について具体的に説明した
が、本発明は、前記実施形態に示したのに限られるもの
でなく、その要旨を逸脱しない範囲で種々変更可能であ
る。
Although the present invention has been specifically described above, the present invention is not limited to the above-described embodiment, and can be variously modified without departing from the gist thereof.

【0028】例えば、前記実施形態では、色差の演算
を、各色の値について実行する場合を示したが、任意の
色、例えばGの階調(明度)のみについて実行してもよ
い。
For example, in the above-described embodiment, the case where the calculation of the color difference is performed for each color value has been described. However, the calculation may be performed only for an arbitrary color, for example, only G gradation (lightness).

【0029】又、前記実施形態では、着目ピクセルにつ
いて各目標色との間で得られる色差から、その値が最小
の目標色を選択する際、全ての目標色との色差を色差記
憶部に記憶させる例を示したが、これに限らず、演算を
実行しながら目標色を単位に順次比較していき、色差が
以前より小さい目標色の場合に、そのときの値を記憶
し、順次更新するようにしてもよい。
In the above embodiment, when the target color having the minimum value is selected from the color differences obtained between the target pixel and each target color, the color differences with all target colors are stored in the color difference storage unit. However, the present invention is not limited to this example. The target colors are sequentially compared in units while executing the calculation. If the target color has a smaller color difference, the value at that time is stored and sequentially updated. You may do so.

【0030】又、画像データ記憶部に記憶されている画
像データは、前記スキャナにより読み取ったものに限定
されない。スキャナに代わる画像読取装置としては、デ
ジタルカメラやビデオ装置等、あるいはCCD撮像素
子、撮像管を利用した装置等を使用するようにしてもよ
い。
The image data stored in the image data storage section is not limited to data read by the scanner. As an image reading device instead of the scanner, a digital camera, a video device, or the like, or a device using a CCD image pickup device or an image pickup tube may be used.

【0031】[0031]

【発明の効果】以上説明したとおり、本発明によれば、
本来は一様な模様が描かれている基絵から読み込んだ画
像データが一様な色になっていない場合でも、該画像デ
ータから模様の輪郭を確実に抽出し、縫いデータを作成
することができる。
As described above, according to the present invention,
Even if the image data read from the base picture on which a uniform pattern is originally drawn is not a uniform color, it is possible to reliably extract the outline of the pattern from the image data and create sewing data. it can.

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

【図1】本発明に係る一実施形態の縫いデータ処理装置
が適用される刺繍縫いミシンの要部を示すブロック図
FIG. 1 is a block diagram showing a main part of an embroidery sewing machine to which a sewing data processing device according to an embodiment of the present invention is applied;

【図2】本実施形態の縫いデータ処理装置の要部を示す
ブロック図
FIG. 2 is a block diagram showing a main part of the sewing data processing device according to the embodiment;

【図3】画像データの一例を示す説明図FIG. 3 is an explanatory diagram showing an example of image data.

【図4】実施形態により実行される処理の特徴を示す説
明図
FIG. 4 is an explanatory diagram showing features of processing executed by the embodiment;

【図5】実施形態により実行される処理の手順を示すフ
ローチャート
FIG. 5 is a flowchart illustrating a procedure of a process executed by the embodiment;

【図6】目標色とピクセルの色の値の関係を示す線図FIG. 6 is a diagram showing a relationship between a target color and a color value of a pixel;

【符号の説明】[Explanation of symbols]

10…CPU 12…メモリ 14…主軸モータ 18…X軸・Y軸モータ 24…キースイッチ 26…スキャナ 28…画像データ記憶部 30…色情報記憶部 32…記憶装置 34…ROM DESCRIPTION OF SYMBOLS 10 ... CPU 12 ... Memory 14 ... Spindle motor 18 ... X-axis / Y-axis motor 24 ... Key switch 26 ... Scanner 28 ... Image data storage part 30 ... Color information storage part 32 ... Storage device 34 ... ROM

フロントページの続き (72)発明者 和田 文夫 東京都調布市国領町8丁目2番地の1 ジ ューキ株式会社内 Fターム(参考) 3B150 AA15 CB04 CE27 LA57 MA03 MA15 NA53 QA06 QA07 5L096 AA02 AA06 BA08 BA12 EA18 FA06 FA35 FA66 GA06 GA38Continued on the front page (72) Fumio Wada, Inventor F-term (reference) in Juki Co., Ltd., 8-2 Kokuryo-cho, Chofu, Tokyo 3B150 AA15 CB04 CE27 LA57 MA03 MA15 NA53 QA06 QA07 5L096 AA02 AA06 BA08 BA12 EA18 FA06 FA35 FA66 GA06 GA38

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】カラー画像データを記憶する手段と、記憶
されている画像データ上の一様な色の領域の境界を輪郭
として抽出し、縫いデータを作成する手段とを備えた縫
いデータ処理装置において、 前記画像データから輪郭を抽出する際の目標とする複数
の目標色をそれぞれ記憶する色情報記憶手段と、 前記画像データを構成する各ピクセルの色と、各目標色
との間の色差を演算する演算手段と、 各ピクセルの色を、色差が最小の目標色にそれぞれ書き
換える書換手段と、を備えていることを特徴とする縫い
データ処理装置。
1. A sewing data processing apparatus comprising: means for storing color image data; and means for extracting a boundary of a region of a uniform color on the stored image data as an outline and creating sewing data. A color information storage unit that stores a plurality of target colors as targets at the time of extracting an outline from the image data; and a color difference between each of the pixels constituting the image data and each of the target colors. A sewing data processing device, comprising: a calculating means for calculating; and a rewriting means for rewriting the color of each pixel to a target color having the smallest color difference.
【請求項2】請求項1において、 記憶されている前記画像データを構成する全ピクセルに
ついて色毎に度数分布を演算する手段と、度数が多い色
の中から所定数を、前記目標色に設定する手段と、を備
えていることを特徴とする縫いデータ処理装置。
2. The apparatus according to claim 1, wherein a means for calculating a frequency distribution for each color for all the pixels constituting the stored image data, and setting a predetermined number of colors having a high frequency as the target color. A sewing data processing device, comprising:
【請求項3】請求項1において、 前記目標色を、測定値を用いて設定する手段を備えてい
ることを特徴とする縫いデータ処理装置。
3. The sewing data processing device according to claim 1, further comprising means for setting the target color using a measured value.
【請求項4】請求項1において、 前記画像データを構成する各ピクセルの色と目標色との
色差を、色空間上の2点間の距離として演算する手段を
備えていることを特徴とする縫いデータ処理装置。
4. The apparatus according to claim 1, further comprising means for calculating a color difference between a color of each pixel constituting the image data and a target color as a distance between two points in a color space. Sewing data processing device.
【請求項5】請求項1において、 前記色を階調で表示し、前記色差を階調差として算出す
ることを特徴とする縫いデータ処理装置。
5. The sewing data processing apparatus according to claim 1, wherein the color is displayed in gradations, and the color difference is calculated as a gradation difference.
【請求項6】請求項1において、 前記目標色に書き換えられた一様な色の部分領域から抽
出される輪郭を、その内側を縫い潰す縫いデータとし
て、該当する目標色に対応付けて記憶する手段と、 縫製時に前記部分領域に対応付けられている該当する目
標色を表示する手段と、を備えていることを特徴とする
縫いデータ処理装置。
6. The stitching system according to claim 1, wherein the contour extracted from the partial area of the uniform color rewritten to the target color is stored as the sewing data for sewing the inside thereof in association with the corresponding target color. Means for displaying a target color corresponding to the partial area at the time of sewing.
JP28899599A 1999-10-12 1999-10-12 Sewing data processor Pending JP2001104670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28899599A JP2001104670A (en) 1999-10-12 1999-10-12 Sewing data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28899599A JP2001104670A (en) 1999-10-12 1999-10-12 Sewing data processor

Publications (1)

Publication Number Publication Date
JP2001104670A true JP2001104670A (en) 2001-04-17

Family

ID=17737492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28899599A Pending JP2001104670A (en) 1999-10-12 1999-10-12 Sewing data processor

Country Status (1)

Country Link
JP (1) JP2001104670A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005148522A (en) * 2003-11-18 2005-06-09 Fuji Xerox Co Ltd Portable terminal device
US8215143B2 (en) 2008-10-13 2012-07-10 Thyssenkrupp Steel Europe Ag Method for determining shape changes of a workpiece

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005148522A (en) * 2003-11-18 2005-06-09 Fuji Xerox Co Ltd Portable terminal device
US8215143B2 (en) 2008-10-13 2012-07-10 Thyssenkrupp Steel Europe Ag Method for determining shape changes of a workpiece

Similar Documents

Publication Publication Date Title
US5386789A (en) Embroidery data producing apparatus for controlling a sewing machine
US5839380A (en) Method and apparatus for processing embroidery data
US11781255B2 (en) Non-transitory computer-readable storage medium, embroidery pattern displaying device, and method
US5474000A (en) Apparatus for processing embroidery data
JP3552334B2 (en) Embroidery data processing device
US5794553A (en) Embroidery data processing apparatus
JPH10118367A (en) Image data processing device and embroidery data processing device
JP2019058411A (en) sewing machine
JP2003326014A (en) Sewing data creation device and sewing data creation program
US6407745B1 (en) Device, method and storage medium for processing image data and creating embroidery data
JPH1176658A (en) Embroidery data processing device, sewing machine and recording medium
US5576968A (en) Embroidery data creating system for embroidery machine
JP2001104670A (en) Sewing data processor
US5558033A (en) Image figure processing method and device
JPH0838755A (en) Embroidery data creation device
JPH07136357A (en) Embroidery data creation device
JP3023376B2 (en) Sewing machine embroidery data creation method
US9080268B2 (en) Device and non-transitory computer-readable medium
JPH11123289A (en) Embroidery data processing device, embroidery sewing machine and recording medium
JP2013192579A (en) Embroidery data creating device, embroidery data creating program and computer-readable medium storing embroidery data creating program
JPH11169568A (en) Image data processing device, embroidery data processing device, recording medium recording image data processing program, and recording medium recording embroidery data processing program
JPH06296777A (en) Embroidery data generating device
JP3813131B2 (en) Embroidery data creation device
JP2001149679A (en) Embroidery sewing data creation device, control method for embroidery sewing data creation device, and computer-readable storage medium storing control program for embroidery sewing data creation device
JP2000271357A (en) Embroidery data preparing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080415

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080610

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081202