JPH09137358A - Embroidery data treating device - Google Patents

Embroidery data treating device

Info

Publication number
JPH09137358A
JPH09137358A JP30030595A JP30030595A JPH09137358A JP H09137358 A JPH09137358 A JP H09137358A JP 30030595 A JP30030595 A JP 30030595A JP 30030595 A JP30030595 A JP 30030595A JP H09137358 A JPH09137358 A JP H09137358A
Authority
JP
Japan
Prior art keywords
embroidery
image data
area
data
data processing
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
JP30030595A
Other languages
Japanese (ja)
Inventor
Masao Futamura
正生 二村
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 JP30030595A priority Critical patent/JPH09137358A/en
Publication of JPH09137358A publication Critical patent/JPH09137358A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Automatic Embroidering For Embroidered Or Tufted Products (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an embroidery data treating device capable of quickly and readily making embroidery data even about a new closed region created by the combination of plural patterns in making of an embroidery pattern. SOLUTION: This embroidery data treating device has an input means for inputting image data corresponding to plural patterns, a duplication detecting means for detecting existence of mutually superposed part in the plural patterns according to the image data, a synthesizing means for producing synthetic image data corresponding to a synthesized pattern of the plural patterns by synthesizing drawing element data of the plural patterns when a superposed part is detected, an embroidery region setting means for detecting a figure region and an inside-excepting region contained in the synthesized figure data and setting the detected regions to the embroidery region, a sewing character imparting means for imparting the sewing character to the embroidery region and an embroidery data making means for making the embroidery data of the embroidery region according to the image data corresponding to the embroidery region and imparted sewing character.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、刺繍を形成するた
めの刺繍データを処理する刺繍データ処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an embroidery data processing device for processing embroidery data for forming embroidery.

【0002】[0002]

【従来の技術】従来より、例えば工業用ミシンの分野に
おいては、マイクロコンピュータを利用して精度の高い
刺繍データを短時間で作成する刺繍データ処理装置が提
供されている。その刺繍データ処理装置は、例えば汎用
のパーソナルコンピュータシステムに、イメージスキャ
ナ、キーボード、マウス、ハードディスクドライブ、C
RTディスプレイ等を接続して構成されており、任意の
刺繍図柄の原画から、多色縫いの刺繍データを作成する
ことができるようになっている。
2. Description of the Related Art Conventionally, in the field of industrial sewing machines, for example, there has been provided an embroidery data processing apparatus which uses a microcomputer to create highly accurate embroidery data in a short time. The embroidery data processing device includes, for example, a general-purpose personal computer system, an image scanner, a keyboard, a mouse, a hard disk drive, and a C.
It is configured by connecting an RT display and the like, and it is possible to create embroidery data for multicolor sewing from an original image of an arbitrary embroidery pattern.

【0003】ところで近年では、需要者の嗜好の多様
化、高級化、刺繍ミシンの性能の向上などの事情を背景
にして、家庭用の刺繍ミシンであっても、あらかじめ記
憶されている刺繍データに基づく図柄の刺繍だけでな
く、使用者の所望の図柄の刺繍を可能とする、比較的安
価で操作の容易な刺繍データ処理装置が要望されてい
る。特に、複数色の刺繍糸を用いる多色図柄の刺繍デー
タの作成を可能とすることが望まれている。
By the way, in recent years, in the background of circumstances such as diversification of tastes of consumers, upgrading of quality, and improvement of performance of embroidery sewing machines, even embroidery sewing machines for home use have previously stored embroidery data. There is a demand for a relatively inexpensive and easy-to-operate embroidery data processing device that enables not only a design based embroidery but also a design desired by a user. In particular, it is desired to be able to create embroidery data of a multicolor pattern using embroidery threads of a plurality of colors.

【0004】従来の刺繍データ処理装置では、刺繍の作
成を希望する刺繍図柄の原画をイメージスキャナ等によ
り読み取り、あるいはマウス等によりトレースしてその
図柄の形状を示す画像データを生成する。そして、その
画像データに含まれる閉領域に対して、作業者が糸色、
縫い目方向等の縫製属性を設定することにより、多色図
柄の刺繍データを作成している。このような刺繍データ
処理装置では、刺繍図柄に含まれる個々の図形、即ち、
図形領域単位で糸色等の縫製属性を設定するようになっ
ている。従って、これら個々の図形単位で刺繍図柄内に
おける位置の移動、図形の拡大・縮小等の編集も可能で
ある。
In the conventional embroidery data processing device, an original image of an embroidery pattern for which embroidery is desired to be created is read by an image scanner or the like, or traced by a mouse or the like to generate image data showing the shape of the pattern. Then, for the closed region included in the image data, the worker
The embroidery data of the multicolor pattern is created by setting the sewing attributes such as the stitch direction. In such an embroidery data processing device, individual figures included in the embroidery pattern, that is,
Sewing attributes such as thread color are set for each figure area. Therefore, it is possible to edit the position of the embroidery pattern and enlarge / reduce the figure in units of these individual figures.

【0005】[0005]

【発明が解決しようとする課題】しかし、刺繍図柄の作
成の際には、2以上の図形を組み合わせて新たな刺繍図
柄を作成したい場合がある。例えば、既に画像データと
して保存されている図形、例えば、図5(A)に示す星
の図形Aと図5(B)に示す三日月Bの図形を組み合わ
せて、図6に示すような図形を作成し、これを刺繍図柄
としたい場合がある。このような場合、上述のように従
来の刺繍データ処理装置は各図形単位でしか縫製属性の
設定ができないので、図形A及びBの内部についてしか
縫製属性を設定することができない。即ち、図6の閉領
域C及びDのように、複数の図形の組み合わせにより新
たに生じた閉領域については縫製属性の設定ができず、
よって刺繍を施すことができない。
However, when creating an embroidery pattern, it is sometimes desired to combine two or more figures to create a new embroidery pattern. For example, a figure already stored as image data, for example, a figure A of a star shown in FIG. 5A and a figure of a crescent moon B shown in FIG. 5B are combined to create a figure shown in FIG. However, there are cases where this is desired to be used as an embroidery pattern. In such a case, as described above, the conventional embroidery data processing device can set the sewing attribute only for each figure unit, so that the sewing attribute can be set only for the inside of the figures A and B. That is, as in the closed areas C and D in FIG. 6, the sewing attribute cannot be set for a newly created closed area due to a combination of a plurality of figures,
Therefore, embroidery cannot be applied.

【0006】このような場合、新たに生じた閉領域をマ
ウスでトレースするなどして刺繍の対象となる閉領域
(以下、「刺繍領域」という)として設定すればその内
部に刺繍を施すことが可能である。しかし、図形を組み
合わせる度に作業者がそのような手入力作業を必要とす
るため、作業が煩雑となり時間も要する。
In such a case, if a newly created closed area is set as a closed area to be embroidered (hereinafter referred to as "embroidery area") by tracing with a mouse, the embroidery can be performed inside the closed area. It is possible. However, since the operator needs such a manual input work every time the figures are combined, the work is complicated and time-consuming.

【0007】本発明は上記の点に鑑みてなされたもので
あり、刺繍図柄の作成において、複数の図形を組み合わ
せてできる新たな閉領域についても迅速かつ容易に刺繍
データの作成が可能な刺繍データ処理装置を提供するこ
とを課題とする。
The present invention has been made in view of the above points, and in creating an embroidery pattern, embroidery data can be created quickly and easily for a new closed area formed by combining a plurality of figures. An object is to provide a processing device.

【0008】[0008]

【課題を解決するための手段】上記課題に鑑み、請求項
1記載の発明は、刺繍データ処理装置において、複数の
図形に対応する画像データを入力する入力手段と、前記
複数の図形に相互に重なり合う部分があるか否を、前記
画像データに基づいて検出する重なり検出手段と、重な
り合う部分が検出された場合に、前記複数の図形の画素
データを合成して前記複数の図形の合成図形に対応する
合成画像データを生成する合成手段と、前記合成画像デ
ータに基づいて、前記合成図形に含まれる図形領域及び
中抜け領域を検出し、刺繍領域に設定する刺繍領域設定
手段と、前記刺繍領域に対する縫製属性を付与する縫製
属性付与手段と、前記刺繍領域に対応する画像データと
付与された縫製属性とに基づいて、前記刺繍領域の刺繍
データを作成する刺繍データ作成手段と、を有するよう
に構成する。
In view of the above-mentioned problems, the invention according to claim 1 is, in an embroidery data processing device, an input means for inputting image data corresponding to a plurality of figures, and the plurality of figures mutually. Overlap detection means for detecting whether or not there is an overlapping portion based on the image data, and when the overlapping portion is detected, pixel data of the plurality of figures are combined to correspond to a combined figure of the plurality of figures. Synthesizing means for generating synthetic image data, embroidery area setting means for detecting a graphic area and a hollow area included in the synthetic figure based on the synthetic image data, and setting the embroidery area as embroidery area, Embroidery data for the embroidery area is created based on the sewing attribute adding means for giving a sewing attribute, the image data corresponding to the embroidery area, and the added sewing attribute.繍 data creation unit, configured to have.

【0009】上記のように構成された刺繍データ処理装
置によれば、作業者は刺繍図柄として使用したい複数の
図形に対応する画像データを入力手段を用いて入力す
る。その後、重なり検出手段は複数の図形が相互に重な
り合う部分を有するか否かを検出する。重なり合う部分
がある場合には、合成手段はそれらの図形を合成して合
成図形に対応する合成画像データを生成する。次に、刺
繍領域設定手段は、合成画像データに基づいて、合成図
形に含まれる図形領域及び中抜け領域を検出し、これら
を刺繍領域に設定する。その後、作業者は縫製属性付与
手段により各刺繍領域に対する縫製属性を付与し、刺繍
データ生成手段は刺繍領域に対応する画像データと付与
された縫製属性とに基づいて刺繍領域の刺繍データを作
成する。
According to the embroidery data processing device configured as described above, the operator inputs image data corresponding to a plurality of figures desired to be used as an embroidery pattern by using the input means. After that, the overlap detecting means detects whether or not the plurality of figures have portions overlapping each other. If there are overlapping portions, the synthesizing means synthesizes these figures to generate synthetic image data corresponding to the synthetic figure. Next, the embroidery area setting means detects a graphic area and a hollow area included in the composite graphic based on the composite image data, and sets these as the embroidery area. After that, the worker gives the sewing attribute to each embroidery area by the sewing attribute giving means, and the embroidery data generating means creates the embroidery data of the embroidery area based on the image data corresponding to the embroidery area and the given sewing attribute. .

【0010】また、請求項2記載の発明は、請求項1記
載の刺繍データ処理装置において、前記重なり検出手段
により重なり合う部分が検出された場合に、前記合成手
段が合成すべき複数の図形を指定する図形指定手段を有
するように構成する。
According to a second aspect of the present invention, in the embroidery data processing apparatus according to the first aspect, when the overlapping detecting section detects overlapping portions, the combining section specifies a plurality of figures to be combined. It is configured to have a graphic designating means.

【0011】上記のように構成された刺繍データ処理装
置によれば、作業者は、図形指定手段により、重なり合
う部分が検出された複数の図形のうち図形の合成を行な
うべき図形を指定する。
According to the embroidery data processing apparatus configured as described above, the operator designates, by the figure designating means, a figure to be combined with the figure among a plurality of figures in which overlapping portions are detected.

【0012】また、請求項3記載の発明は、請求項1又
は2記載の刺繍データ処理装置において、前記刺繍領域
設定手段は、前記複数の図形に含まれる閉領域及び前記
合成手段による合成によって新たに生じた閉領域を検出
するように構成する。
According to a third aspect of the present invention, in the embroidery data processing apparatus according to the first or second aspect, the embroidery area setting means is newly created by combining the closed areas included in the plurality of figures and the combining means. It is configured to detect the closed region generated in the.

【0013】上記のように構成された刺繍データ処理装
置によれば、刺繍領域設定手段は、合成の対象となる複
数の図形に含まれる閉領域、及び、合成により新たに生
じた閉領域を検出する。
According to the embroidery data processing device configured as described above, the embroidery area setting means detects a closed area included in a plurality of figures to be combined and a closed area newly generated by combining. To do.

【0014】また、請求項4記載の発明は、請求項1乃
至3のいずれかに記載の刺繍データ処理装置において、
前記画像データは2値のビットマップ画像データであ
り、前記重なり検出手段は前記複数の図形に対応する画
像データの論理積を演算するように構成する。
The invention according to claim 4 is the embroidery data processing apparatus according to any one of claims 1 to 3.
The image data is binary bit map image data, and the overlap detecting means is configured to calculate a logical product of image data corresponding to the plurality of figures.

【0015】上記のように構成された刺繍データ処理装
置によれば、前記重なり検出手段は前記複数の図形に対
応する2値のビットマップ画像データの論理積を演算し
て、前記複数の図形の重なり合う部分を検出する。
According to the embroidery data processing device configured as described above, the overlap detecting means calculates the logical product of the binary bit map image data corresponding to the plurality of figures to calculate the plurality of figures. Detect overlapping parts.

【0016】また、請求項5記載の発明は、請求項1乃
至4のいずれかに記載の刺繍データ処理装置において、
前記画像データは2値のビットマップ画像データであ
り、前記合成手段は前記複数の図形に対応する画像デー
タの論理和を演算するように構成する。
According to a fifth aspect of the present invention, in the embroidery data processing device according to any one of the first to fourth aspects,
The image data is binary bitmap image data, and the synthesizing unit is configured to calculate a logical sum of the image data corresponding to the plurality of figures.

【0017】上記のように構成された刺繍データ処理装
置によれば、前記合成手段は前記複数の図形に対応する
2値のビットマップ画像データの論理和を演算して、前
記合成図形に対応する合成画像データを生成する。
According to the embroidery data processing apparatus configured as described above, the synthesizing means calculates a logical sum of binary bit map image data corresponding to the plurality of figures to correspond to the synthesized figure. Generate composite image data.

【0018】[0018]

【発明の実施の形態】以下に、本発明の好適な実施の形
態を図面を参照して説明する。なお、以下の説明は、本
発明を家庭用刺繍ミシンのための刺繍データ処理装置に
適用した場合について行なう。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the drawings. The following description will be made when the present invention is applied to an embroidery data processing device for a domestic embroidery sewing machine.

【0019】まず、刺繍を行なうためのシステム全体に
ついて説明する。実際の刺繍作業は、まず刺繍データ処
理装置により刺繍データを作成し、次にその刺繍データ
を刺繍ミシンに供給して希望の図柄の刺繍を行うという
手順で行なわれる。
First, the entire system for performing embroidery will be described. The actual embroidery work is performed by first creating embroidery data by the embroidery data processing device and then supplying the embroidery data to the embroidery sewing machine to embroider a desired design.

【0020】図2に、本発明にかかる刺繍データ処理装
置の外観構成を示す。刺繍データ処理装置1は、刺繍図
柄を入力するためのイメージスキャナ12を有し、イメ
ージスキャナ12により読み込まれた刺繍図柄の画像デ
ータに基づいて刺繍データを作成する。作成された刺繍
データは、フラッシュメモリ(カードメモリ)10に記
憶される。作業者は、このフラッシュメモリ10を刺繍
用ミシンにセットする。すると、記憶された刺繍データ
は、フラッシュメモリ10から読みだされ、該刺繍デー
タに基づいて刺繍が行なわれる。
FIG. 2 shows the external structure of the embroidery data processing device according to the present invention. The embroidery data processing device 1 has an image scanner 12 for inputting an embroidery pattern, and creates embroidery data based on the image data of the embroidery pattern read by the image scanner 12. The created embroidery data is stored in the flash memory (card memory) 10. The operator sets the flash memory 10 on the sewing machine for embroidery. Then, the stored embroidery data is read from the flash memory 10 and embroidery is performed based on the embroidery data.

【0021】図3に、家庭用刺繍ミシンの外形を示す。
刺繍ミシン20は、ミシンベッド上に配置され、加工布
22を保持する刺繍枠21を水平移動機構により装置固
有のX−Y座標系で示される所定位置に移動させつつ、
縫い針23による縫い動作を行なうことにより、加工布
22上に所定の図柄の刺繍を施す。刺繍ミシン20には
フラッシュメモリ装置が内蔵されている。作業者が刺繍
データを記憶したフラッシュメモリ10をフラッシュメ
モリ挿入口24に挿入すると、記憶された刺繍データが
読みだされる。刺繍データは通常、上記X−Y座標系に
おける針落ち点の位置を示す座標データを含んでおり、
マイクロコンピュータ等から構成される制御装置は読み
だされた刺繍データに基づいて刺繍枠21の水平移動機
構等を制御し、加工布22上に刺繍を施す。
FIG. 3 shows the outer shape of a domestic embroidery sewing machine.
The embroidery sewing machine 20 is arranged on the sewing machine bed, and moves the embroidery frame 21 holding the work cloth 22 to a predetermined position indicated by the XY coordinate system unique to the apparatus by the horizontal movement mechanism.
By performing the sewing operation with the sewing needle 23, the work cloth 22 is embroidered with a predetermined pattern. The embroidery sewing machine 20 has a built-in flash memory device. When the operator inserts the flash memory 10 storing the embroidery data into the flash memory insertion port 24, the stored embroidery data is read out. The embroidery data usually includes coordinate data indicating the position of the needle drop point in the XY coordinate system.
A control device including a microcomputer controls the horizontal movement mechanism of the embroidery frame 21 based on the read embroidery data and embroiders the work cloth 22.

【0022】次に、本発明にかかる刺繍データ処理装置
1の構成について、図2及び図4を参照して説明する。
刺繍データ処理装置1は、刺繍データ処理における種々
の処理を行なうためのCPU2、種々の処理プログラム
やデータを記憶するROM3、及び、刺繍図柄を構成す
る図形の画像データ、及び、後述する重なり検出処理や
追加閉領域検出処理の結果等の種々のデータを記憶する
RAM4を有している。後述する刺繍データ処理は、基
本的にはROM3に記憶されたプログラムをCPU2が
実行することにより行なわれる。
Next, the configuration of the embroidery data processing device 1 according to the present invention will be described with reference to FIGS.
The embroidery data processing device 1 includes a CPU 2 for performing various processes in the embroidery data process, a ROM 3 for storing various processing programs and data, image data of graphics forming an embroidery pattern, and an overlap detection process described later. And a RAM 4 for storing various data such as the result of the additional closed area detection processing. The embroidery data processing described later is basically performed by the CPU 2 executing a program stored in the ROM 3.

【0023】さらに、刺繍データ処理装置1は、フラッ
シュメモリ装置5、インターフェイス6、入力部11、
イメージスキャナ12及びマウス13を有している。フ
ラッシュメモリ10は、フラッシュメモリ装置5内に挿
入され、作成された刺繍データがフラッシュメモリ10
内に記憶される。入力部11は、刺繍データ処理装置1
の本体に配設された入力ボタンK1−K3により構成さ
れ、後述する縫製属性、所定の指示などの入力に用いら
れる。また、イメージスキャナ12は、作業者が希望す
る刺繍図柄の原画を読み取るために使用され、読み取ら
れた刺繍図柄に対応する画像データを作成する。マウス
13は、作業者がイメージスキャナ12により読み取ら
れた画像データの輪郭線をトレースして刺繍図柄の輪郭
線データを作成するために用いられる。また、マウス1
3は、図形の合成にあたり、各図形の向きや相互の位置
関係等を指定するためにも用いられる。入力部11から
入力された指示情報や、イメージスキャナ12及びマウ
ス13により作成された画像データは、インターフェイ
ス6を介してCPU2やRAM4に供給される。
Further, the embroidery data processing device 1 includes a flash memory device 5, an interface 6, an input section 11,
It has an image scanner 12 and a mouse 13. The flash memory 10 is inserted into the flash memory device 5, and the created embroidery data is stored in the flash memory 10.
Is stored within. The input unit 11 is the embroidery data processing device 1.
The input buttons K1-K3 are provided on the main body of the machine and used for inputting sewing attributes, predetermined instructions, etc., which will be described later. The image scanner 12 is used to read the original image of the embroidery pattern desired by the operator, and creates image data corresponding to the read embroidery pattern. The mouse 13 is used by the operator to trace the contour line of the image data read by the image scanner 12 to create the contour line data of the embroidery pattern. In addition, mouse 1
3 is also used for designating the orientation of each figure, the mutual positional relationship, and the like when synthesizing the figures. The instruction information input from the input unit 11 and the image data created by the image scanner 12 and the mouse 13 are supplied to the CPU 2 and the RAM 4 via the interface 6.

【0024】さらに、刺繍データ処理装置1は、刺繍図
柄の画像データや刺繍領域等を画面7aに表示するため
の液晶ディスプレイ(LCD)7、及び、液晶ディスプ
レイ7を制御するための表示制御装置(LCDC)8、
を備えている。また、表示制御装置8には、画像記憶装
置(VRAM)9が接続され、モノクロのビットマップ
グラフィックス表示が可能なように構成されている。
Further, the embroidery data processing device 1 includes a liquid crystal display (LCD) 7 for displaying image data of an embroidery pattern, an embroidery area, etc. on the screen 7a, and a display control device (control device) for controlling the liquid crystal display 7. LCDC) 8,
It has. An image storage device (VRAM) 9 is connected to the display control device 8 so that monochrome bitmap graphic display can be performed.

【0025】なお、上記の構成において、フラッシュメ
モリ10、イメージスキャナ12またはマウス13が入
力手段に対応し、マウス13が図形指定手段に対応し、
入力部11が縫製属性付与手段に対応する。また、CP
U2、ROM3及びRAM4が重なり検出手段、合成手
段、刺繍領域設定手段、刺繍データ作成手段に対応す
る。また、図1のフローチャートにおいて、ステップS
2で重なり検出手段が機能し、ステップS5で合成手段
が機能し、ステップS8で刺繍領域設定手段が機能し、
ステップS10で刺繍データ作成手段が機能する。
In the above structure, the flash memory 10, the image scanner 12 or the mouse 13 corresponds to the input means, the mouse 13 corresponds to the figure designating means,
The input unit 11 corresponds to the sewing attribute imparting means. Also, CP
The U2, the ROM 3 and the RAM 4 correspond to the overlap detecting means, the combining means, the embroidery area setting means, and the embroidery data creating means. Further, in the flowchart of FIG. 1, step S
2, the overlap detecting means functions, the combining means functions in step S5, the embroidery area setting means functions in step S8,
In step S10, the embroidery data creating means functions.

【0026】次に、本発明による刺繍データ処理方法に
ついて、図1、図5乃至図7を参照して説明する。図1
は、刺繍データ処理を示すフローチャートである。な
お、以下の処理は、図5(A)及び図5(B)に示す図
形A及びBを合成して、図6に示すような刺繍図柄の刺
繍データを作成する場合を例にとって説明する。
Next, an embroidery data processing method according to the present invention will be described with reference to FIGS. 1 and 5 to 7. FIG.
3 is a flowchart showing embroidery data processing. The following processing will be described by taking as an example the case where the figures A and B shown in FIGS. 5A and 5B are combined to create embroidery data of an embroidery pattern as shown in FIG.

【0027】まず、作業者は図5(A)に示す星の図形
Aの画像データDA 、及び、図5(B)に示す三日月の
図形Bの画像データDB を入力する(ステップS1)。
この処理は、これらの図形が既に2値のビットマップ画
像データとして記憶媒体、例えばフロッピーディスクや
フラッシュメモリに保存されている場合には、それらを
該記憶媒体から読みだすことで行なわれる。なお、これ
らの図形に対する画像データが未作成である場合には、
原紙上に描かれたこれらの図形をイメージスキャナ12
を用いて読み取り、あるいは、マウス13でその輪郭を
トレースすることにより作成することになる。入力され
たビットマップ画像データDA 及びDBは、RAM4内
の記憶領域に展開される。また、これに対応して、図形
A及びBは液晶ディスプレイ7の画面7a上に独立に表
示される。図形A及び図形Bの相対位置関係は、ビット
マップ画像データDA 及びDB の入力により決定する。
但し、以下のように入力後に相互の位置を修正できるよ
うに構成することもできる。即ち、作業者は画面7aを
見ながらマウス13を操作して図形A及びBを希望の方
向、位置に配置する。この例では、作業者は図形A又は
図形Bの一方を他方の位置まで移動し、図6に示すよう
な位置関係に配置する作業を行なう。これにより画像デ
ータDA と画像データDB の各画素の相対位置が決定
し、対応する刺繍図柄が画面7a上に表示される。
First, the operator inputs the image data D A of the star figure A shown in FIG. 5A and the image data D B of the crescent figure B shown in FIG. 5B (step S1). .
This process is carried out by reading out these graphics from the storage medium, if these graphics are already stored in the storage medium as binary bit map image data, such as a floppy disk or flash memory. If image data for these figures has not been created,
The image scanner 12 uses these figures drawn on the base paper.
It is created by reading using the mouse or tracing the outline with the mouse 13. The input bitmap image data D A and D B are expanded in the storage area in the RAM 4. Correspondingly, figures A and B are independently displayed on the screen 7a of the liquid crystal display 7. The relative positional relationship between the graphic A and the graphic B is determined by inputting the bitmap image data D A and D B.
However, it is also possible to configure so that the mutual positions can be corrected after the input as described below. That is, the operator operates the mouse 13 while looking at the screen 7a to arrange the figures A and B in a desired direction and position. In this example, the worker moves one of the graphic A and the graphic B to the other position and performs the work of arranging them in the positional relationship shown in FIG. Thereby, the relative position of each pixel of the image data D A and the image data D B is determined, and the corresponding embroidery pattern is displayed on the screen 7a.

【0028】次に、図形Aと図形Bの重なり検出処理が
行なわれる(ステップS2)。即ち、CPU2はステッ
プS1で決定した配置で図形Aと図形Bとが重なる部分
があるか否かを検出する。この処理は、決定した図形A
及びBの位置関係において、対応する画素ごとに画像デ
ータDA と画像データDB との論理積(AND)を演算
することにより行なわれる。これにより、論理積演算の
結果が”1”となる画素が存在する場合には、図形A及
び図形Bに重なり部分があると判断し、結果が”1”と
なる画素が存在しない場合には、図形A及び図形Bに重
なり部分はないと判断する。図6の例では、図形Aの輪
郭線と図形Bの輪郭線の交点で論理積が”1”となるの
で、重なり部分があると判断される。
Next, an overlap detection process for the graphic A and the graphic B is performed (step S2). That is, the CPU 2 detects whether or not there is a portion where the graphic A and the graphic B overlap in the arrangement determined in step S1. This process is based on the determined figure A
And B in the positional relationship, the logical product (AND) of the image data D A and the image data D B is calculated for each corresponding pixel. As a result, when there is a pixel for which the result of the logical product operation is “1”, it is determined that there is an overlapping portion between the figure A and the figure B, and when there is no pixel for which the result is “1” does not exist. , It is determined that there is no overlapping portion between the graphic A and the graphic B. In the example of FIG. 6, since the logical product is "1" at the intersection of the contour line of the figure A and the contour line of the figure B, it is determined that there is an overlapping portion.

【0029】重なり部分がない場合には(ステップS
3:No)、処理はステップS9へ移行し、通常の場合
と同様に後述する手順で刺繍データが作成される。一
方、重なり部分があると判断された場合には(ステップ
S3:Yes)、CPU2は作業者に対し、2つの図形
を合成してよいか否かを尋ねる(ステップS4)。これ
は、ステップS1で決定した図形の位置関係によると、
作業者の意図していなかった重なり部分を含むことが後
で分かったため、作業者が修正を希望する場合があるか
らである。よって、合成を行なわない旨の指示がされた
場合には(ステップS4:No)、処理はステップS1
に戻り、図形A及びBの位置関係の再設定又は修正を行
なう。一方、合成を行なう旨の指示がなされた場合には
(ステップS4:Yes)、図形の合成処理が行なわれ
る(ステップS5)。この合成処理は、図形A及びBの
ビットマップ画像データDA 及びDB の論理和(OR)
を演算することにより行なわれる。その結果、図6に示
す合成図形Mに対応する合成画像データDM (一枚のビ
ットマップ画像データ)が生成される。
If there is no overlapping portion (step S
3: No), the process proceeds to step S9, and the embroidery data is created by the procedure described below as in the normal case. On the other hand, when it is determined that there is an overlapping portion (step S3: Yes), the CPU 2 inquires of the operator whether or not two figures may be combined (step S4). According to the positional relationship of the figures determined in step S1,
This is because the operator may desire to make corrections because it was later found that the overlap portion was not intended by the operator. Therefore, when the instruction not to perform the synthesis is given (step S4: No), the process is step S1.
Then, the positional relationship between the graphics A and B is reset or corrected. On the other hand, if an instruction to perform composition is given (step S4: Yes), graphic composition processing is performed (step S5). This synthesizing process is performed by the logical sum (OR) of the bitmap image data D A and D B of the graphics A and B.
It is performed by calculating. As a result, synthetic image data D M (one piece of bitmap image data) corresponding to the synthetic figure M shown in FIG. 6 is generated.

【0030】次に、その合成図形Mに、元の図形に含ま
れる閉領域以外の閉領域(以下、「追加閉領域」とい
う)が含まれているか否かが判断される(ステップS
6)。この処理は、以下のように行なわれる。まず、合
成画像データDM 、即ち、2値のビットマップ画像デー
タDM に対し適当な順序でラスター走査を行なってその
画素値が0から1、又は1から0というように反転する
境界画素を探索する。そして、それを起点画素として境
界線追跡アルゴリズムに従ってひとつの閉じた境界画素
の連鎖ループを抽出する。これにより一つの閉領域を規
定する輪郭線が検出される。次に、検出された輪郭線の
内部のみに同様のラスター走査を行ない、前述の様な境
界画素が検出されたなら、さらにそれを起点として一つ
の閉じた輪郭線を抽出する。これにより抽出された輪郭
線は、最初に検出された輪郭線によって規定される閉領
域の内部に存在することが分かる。このような処理をラ
スター走査により発見される境界画素が存在しなくなる
まで順次再帰的に繰り返し行なうと、合成画像データD
M 内に含まれる輪郭線により規定される閉領域を全て抽
出することができる。この処理により、図6に示す閉領
域C及びDが検出される。CPU2は、このようにして
検出された追加閉領域の画像データをRAM4に記憶す
る。
Next, it is judged whether or not the composite figure M includes a closed area (hereinafter referred to as "additional closed area") other than the closed area included in the original figure (step S).
6). This process is performed as follows. First, a boundary pixel in which the composite image data D M , that is, the binary bitmap image data D M is raster-scanned in an appropriate order and its pixel value is inverted from 0 to 1 or from 1 to 0 is determined. Explore. Then, a chain loop of one closed boundary pixel is extracted according to the boundary line tracking algorithm by using it as a starting point pixel. As a result, the contour line defining one closed region is detected. Next, the same raster scanning is performed only inside the detected contour line, and when the boundary pixel as described above is detected, one closed contour line is extracted with the boundary pixel as a starting point. It can be seen that the contour line thus extracted exists inside the closed region defined by the contour line detected first. If such a process is repeated recursively until no boundary pixel found by raster scanning is present, the composite image data D
It is possible to extract all closed regions defined by the contour lines included in M. By this processing, the closed areas C and D shown in FIG. 6 are detected. The CPU 2 stores the image data of the additional closed area thus detected in the RAM 4.

【0031】追加閉領域が検出された場合には(ステッ
プS7:Yes)、検出された閉領域を刺繍の対象とな
る刺繍領域に追加設定する(ステップS8)。つまり、
単に図形Aと図形Bを組み合わせた段階では、刺繍領域
は図形Aの内部、及び、図形Bの内部のみである。そこ
で、ステップS6で新たに検出された閉領域(中抜け領
域)C及びDを新たに刺繍領域に設定する。このように
刺繍領域に設定されると、閉領域C及びDについて縫製
属性の設定が可能となる。一方、追加閉領域が検出され
なかった場合には(ステップS7:No)、処理はステ
ップS9に移行する。この様な結果になるのは、例え
ば、図形Aと図形Bを図7に示すような位置関係で合成
する場合である。よって、この場合には、図形A及び図
形Bの内部のみが刺繍領域となる。
When the additional closed area is detected (step S7: Yes), the detected closed area is additionally set as the embroidery area to be embroidered (step S8). That is,
At the stage where the figure A and the figure B are simply combined, the embroidery area is only inside the figure A and inside the figure B. Therefore, the closed regions (middle void regions) C and D newly detected in step S6 are newly set as embroidery regions. When the embroidery area is set in this manner, the sewing attribute can be set for the closed areas C and D. On the other hand, when the additional closed region is not detected (step S7: No), the process proceeds to step S9. Such a result is obtained, for example, when the graphic A and the graphic B are combined in the positional relationship shown in FIG. Therefore, in this case, only the insides of the graphic A and the graphic B are embroidery areas.

【0032】次に、刺繍領域に設定されている全ての閉
領域について、縫製属性の付与が行なわれる(ステップ
S9)。この付与作業は、液晶ディスプレイ画面7aに
表示された刺繍図柄を参照しつつ、作業者が各刺繍領域
に対して、刺繍を施す糸の色、縫い目密度、縫い目ピッ
チ、縫い目形態、縫い方向等の縫製属性を入力部11を
介して入力することにより行なわれる。なお、この縫製
属性の付与作業は、上記のように作業者の入力作業によ
り行なう代わりに、適切な縫製属性を予めROM3に記
憶しておき、それを自動的に付与するように構成しても
よい。
Next, sewing attributes are assigned to all the closed areas set in the embroidery area (step S9). This applying work refers to the embroidery pattern displayed on the liquid crystal display screen 7a, and the operator determines the color of the thread to be embroidered, the stitch density, the stitch pitch, the stitch form, the stitching direction, etc. for each embroidery area. This is performed by inputting the sewing attribute via the input unit 11. It should be noted that, instead of performing the sewing attribute assigning work by the operator's input work as described above, an appropriate sewing attribute may be stored in the ROM 3 in advance and automatically assigned. Good.

【0033】各刺繍領域に対して縫製属性の設定が終了
すると、CPU2はRAM4に記憶されている各刺繍領
域の輪郭線を示す画像データ、及び、ステップS9で設
定された縫製属性に基づいて、刺繍データを作成する
(ステップS10)。ここでいう刺繍データは、一般的
には刺繍を施す刺繍領域における針落ち点座標データの
集合からなるものである。作成された刺繍データは、フ
ラッシュメモリ10に記憶される。以上で刺繍データ処
理は終了する。
When the setting of the sewing attribute for each embroidery area is completed, the CPU 2 makes a determination based on the image data indicating the outline of each embroidery area stored in the RAM 4 and the sewing attribute set in step S9. Embroidery data is created (step S10). The embroidery data referred to here generally consists of a set of needle drop point coordinate data in an embroidery area to be embroidered. The created embroidery data is stored in the flash memory 10. This is the end of the embroidery data processing.

【0034】以上の方法により刺繍データが作成された
後、実際に刺繍を行なう場合には、作業者は該フラッシ
ュメモリ10を家庭用ミシン20の挿入口24に挿入
し、希望の図柄に対応するファイルネームを入力する。
これにより、対応する刺繍データが読みだされ、制御部
の制御の下で刺繍が行なわれる。
When embroidery is actually performed after the embroidery data is created by the above method, the operator inserts the flash memory 10 into the insertion opening 24 of the home-use sewing machine 20 and corresponds to the desired design. Enter the file name.
As a result, the corresponding embroidery data is read out, and the embroidery is performed under the control of the controller.

【0035】上記の説明では、予め図形A及びBが刺繍
領域に設定されている状態でステップS6で検出された
追加閉領域を新たに刺繍領域に設定するようにしてい
る。この代わりに、ステップS6で検出された全ての閉
領域を自動的に刺繍領域に設定するように構成してもよ
い。この手法は、複数の図形の合成により、元の図形の
有する閉領域が変形して異なる形状の閉領域が現われる
様な場合に有効となる。
In the above description, the additional closed area detected in step S6 is newly set as the embroidery area while the figures A and B are set in the embroidery area in advance. Alternatively, all the closed areas detected in step S6 may be automatically set as embroidery areas. This method is effective when a plurality of figures are combined so that the closed area of the original figure is deformed and a closed area having a different shape appears.

【0036】[0036]

【発明の効果】以上説明したように、請求項1記載の刺
繍データ処理装置によれば、複数の図形を合成した場合
に新たに生じる閉領域を検出し、刺繍領域に設定する。
従って、元の図形の内部以外の閉領域についても希望の
態様で刺繍を施すことが可能となる。また、そのような
設定は、合成される各図形の画像データを利用して自動
的に行なわれるので、迅速かつ簡易に刺繍データの作成
が可能となる。
As described above, according to the embroidery data processing device of the first aspect, a closed area newly generated when a plurality of figures are combined is detected and set as the embroidery area.
Therefore, it is possible to embroider in a desired manner even in a closed area other than the inside of the original figure. Further, since such setting is automatically performed using the image data of each figure to be combined, it is possible to quickly and easily create the embroidery data.

【0037】また、請求項2記載の刺繍データ処理装置
によれば、複数の図形の重なり合う部分のうち図形のを
合成する部分を作業者が指定するので、希望の部分のみ
を合成することができ、作業者の自由度が増す。
Further, according to the embroidery data processing device of the second aspect, since the operator designates a portion of the overlapping portions of the plurality of figures to synthesize the figure, only the desired portion can be synthesized. , The degree of freedom of the operator is increased.

【0038】また、請求項3記載の刺繍データ処理装置
によれば、刺繍領域設定手段は画王政の対象となる複数
の図形の閉領域及び合成により新たに生じた閉領域の両
方を検出するので、新たに生じた閉領域に対しても漏れ
なく縫製属性の設定が可能となる。
Further, according to the embroidery data processing apparatus of the third aspect, the embroidery area setting means detects both the closed area and the newly created closed area of a plurality of figures to be subject to the king of kingdom. It is possible to set the sewing attribute for the newly generated closed area without omission.

【0039】また、請求項4記載の刺繍データ処理装置
によれば、重なり検出手段は2値のビットマップ画像デ
ータの論理積により重なり検出を行なうので、単純な論
理演算により重なり検出を行なうことができ、演算に要
する回路も単純化できる。
Further, according to the embroidery data processing apparatus of the fourth aspect, since the overlap detecting means detects the overlap by the logical product of the binary bit map image data, the overlap can be detected by a simple logical operation. Therefore, the circuit required for calculation can be simplified.

【0040】また、請求項5記載の刺繍データ処理装置
によれば、合成手段は2値のビットマップ画像データの
論理和により合成を行なうので、単純な論理演算により
図形合成を行なうことができ、演算に要する回路も単純
化できる。
According to the embroidery data processing device of the fifth aspect, since the synthesizing means synthesizes the binary bit map image data by the logical sum, the graphic synthesis can be performed by a simple logical operation. The circuit required for calculation can be simplified.

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

【図1】本発明の刺繍データ処理装置による刺繍データ
処理を示すフローチャートである。
FIG. 1 is a flowchart showing embroidery data processing by an embroidery data processing device of the present invention.

【図2】刺繍データ処理装置の外観構成を示す斜視図で
ある。
FIG. 2 is a perspective view showing an external configuration of an embroidery data processing device.

【図3】家庭用刺繍ミシンの外観を示す斜視図である。FIG. 3 is a perspective view showing an appearance of a domestic embroidery sewing machine.

【図4】刺繍データ処理装置の内部構成を示すブロック
図である。
FIG. 4 is a block diagram showing an internal configuration of an embroidery data processing device.

【図5】刺繍図柄として合成される図形の例を示す図で
ある。
FIG. 5 is a diagram showing an example of a graphic combined as an embroidery pattern.

【図6】図5に示す図形の合成後の図形の一例を示す図
である。
6 is a diagram showing an example of a figure after the figure shown in FIG. 5 is combined.

【図7】図5に示す図形の合成後の図形の他の例を示す
図である。
FIG. 7 is a diagram showing another example of the figure after the figure shown in FIG. 5 is combined.

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

1…刺繍データ処理装置 2…CPU 3…ROM 4…RAM 5…フラッシュメモリ装置 7…液晶ディスプレイ 10…フラッシュメモリ 12…イメージスキャナ 13…マウス 20…家庭用ミシン 1 ... Embroidery data processing device 2 ... CPU 3 ... ROM 4 ... RAM 5 ... Flash memory device 7 ... Liquid crystal display 10 ... Flash memory 12 ... Image scanner 13 ... Mouse 20 ... Home sewing machine

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 複数の図形に対応する画像データを入力
する入力手段と、前記複数の図形に相互に重なり合う部
分があるか否かを、前記画像データに基づいて検出する
重なり検出手段と、 重なり合う部分が検出された場合に、前記複数の図形の
画素データを合成して前記複数の図形の合成図形に対応
する合成画像データを生成する合成手段と、 前記合成画像データに基づいて、前記合成図形に含まれ
る図形領域及び中抜け領域を検出し、刺繍領域に設定す
る刺繍領域設定手段と、 前記刺繍領域に対する縫製属性を付与する縫製属性付与
手段と、 前記刺繍領域に対応する画像データと付与された縫製属
性とに基づいて、前記刺繍領域の刺繍データを作成する
刺繍データ作成手段と、 を有することを特徴とする刺繍データ処理装置。
1. Overlapping means for inputting image data corresponding to a plurality of graphics, and overlapping detection means for detecting, based on the image data, whether or not there are overlapping portions in the plurality of graphics. A synthesizing unit that synthesizes pixel data of the plurality of figures to generate synthesized image data corresponding to the synthesized figure of the plurality of figures when a portion is detected; and the synthesized figure based on the synthesized image data. The embroidery area setting means for detecting the graphic area and the hollow area included in the embroidery area and setting the embroidery area, the sewing attribute adding means for giving the sewing attribute to the embroidery area, and the image data corresponding to the embroidery area are added. An embroidery data processing device for creating embroidery data of the embroidery area based on the sewing attribute.
【請求項2】 前記重なり検出手段により重なり合う部
分が検出された場合に、前記合成手段が合成すべき複数
の図形を指定する図形指定手段を有することを特徴とす
る請求項1記載の刺繍データ処理装置。
2. The embroidery data processing according to claim 1, further comprising graphic designating means for designating a plurality of graphics to be synthesized by the synthesizing means when the overlapping detecting means detects overlapping portions. apparatus.
【請求項3】 前記刺繍領域設定手段は、前記複数の図
形に含まれる閉領域及び前記合成手段による合成によっ
て新たに生じた閉領域を検出することを特徴とする請求
項1又は2記載の刺繍データ処理装置。
3. The embroidery area setting means detects a closed area included in the plurality of figures and a closed area newly generated by the composition by the composition means. Data processing device.
【請求項4】 前記画像データは2値のビットマップ画
像データであり、前記重なり検出手段は前記複数の図形
に対応する画像データの論理積を演算することを特徴と
する請求項1乃至3のいずれかに記載の刺繍データ処理
装置。
4. The image data is binary bitmap image data, and the overlap detecting means calculates a logical product of image data corresponding to the plurality of graphics. An embroidery data processing device according to any one of the above.
【請求項5】 前記画像データは2値のビットマップ画
像データであり、前記合成手段は前記複数の図形に対応
する画像データの論理和を演算することを特徴とする請
求項1乃至4のいずれかに記載の刺繍データ処理装置。
5. The image data is binary bit map image data, and the synthesizing means calculates a logical sum of image data corresponding to the plurality of graphics. An embroidery data processing device according to claim 1.
JP30030595A 1995-11-17 1995-11-17 Embroidery data treating device Pending JPH09137358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30030595A JPH09137358A (en) 1995-11-17 1995-11-17 Embroidery data treating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30030595A JPH09137358A (en) 1995-11-17 1995-11-17 Embroidery data treating device

Publications (1)

Publication Number Publication Date
JPH09137358A true JPH09137358A (en) 1997-05-27

Family

ID=17883185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30030595A Pending JPH09137358A (en) 1995-11-17 1995-11-17 Embroidery data treating device

Country Status (1)

Country Link
JP (1) JPH09137358A (en)

Similar Documents

Publication Publication Date Title
JPH08141244A (en) Embroidering data preparing device
JPH08299630A (en) Embroidery data processor
JPH073608A (en) Method for making embroidery data and device therefor and embroidered pattern formed on the embroidery data
JPH0631068A (en) Embroidery data generating device
US5576968A (en) Embroidery data creating system for embroidery machine
JP3629854B2 (en) Sewing pattern processing device
JP3760541B2 (en) Embroidery data processing device
JPH0956942A (en) Sewing data processing device
JP3760536B2 (en) Embroidery data processing device
JPH07136357A (en) Embroidery data generating device
JPH10108987A (en) Method and device for editing sewing data
JPH09137358A (en) Embroidery data treating device
JPH09168681A (en) Sewing data processor
JP3922316B2 (en) Embroidery data processing apparatus and recording medium
JPH0928953A (en) Embroidery data processor
JPH09137357A (en) Making of embroidery data
JP3669018B2 (en) Sewing pattern processing device
JP3596123B2 (en) Embroidery data processing device
JP3505750B2 (en) Embroidery data creation device
JPH0910451A (en) Embroidery data processor
JPH08276087A (en) Embroidery data producing system
JPH08276084A (en) Combined pattern data generating device and sewing machine using the same
JPH09137360A (en) Embroidery data treating device
JPH0654970A (en) Embroidery data generating device
JPH0852291A (en) Embroidery data preparing device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040817

A02 Decision of refusal

Effective date: 20041214

Free format text: JAPANESE INTERMEDIATE CODE: A02