JP3589799B2 - Embroidery data creation device - Google Patents

Embroidery data creation device Download PDF

Info

Publication number
JP3589799B2
JP3589799B2 JP18805196A JP18805196A JP3589799B2 JP 3589799 B2 JP3589799 B2 JP 3589799B2 JP 18805196 A JP18805196 A JP 18805196A JP 18805196 A JP18805196 A JP 18805196A JP 3589799 B2 JP3589799 B2 JP 3589799B2
Authority
JP
Japan
Prior art keywords
data
image
unit
reference length
skeletonized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP18805196A
Other languages
Japanese (ja)
Other versions
JPH1018157A (en
Inventor
里 隆 行 川
野 章 嘉 笹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Janome Sewing Machine Co Ltd
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 JP18805196A priority Critical patent/JP3589799B2/en
Publication of JPH1018157A publication Critical patent/JPH1018157A/en
Application granted granted Critical
Publication of JP3589799B2 publication Critical patent/JP3589799B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
この発明は画像データに基づく刺繍データ作成装置に関する。
【0002】
【従来の技術】
刺繍縫いが可能なミシンや刺繍縫い専用装置に刺繍縫いを行わせるためのデータは、装置のメーカ等がデータを作成し、このデータに基づいて刺繍縫いが行われるのが普通である。
しかし、近年パーソナルコンピュータ等の普及に伴い、ユーザ自らが画像を作成し、これを刺繍縫い目のデータとして使いたいとする要望が増えている。また、ユーザが作成した画像をイメージセンサ等で読みとり、これに基づいて縫い目データを作成する装置が家庭用の刺繍縫いミシンの付属品として既に市販されている。
このような画像データに基づいて刺繍データを作成する装置において、近年画像の中心線を割り出して、画像の骨格を表す所謂骨格化データを作成し、これに基づいて刺繍データを作成するものが、本願出願人により提案されている。
このような方法は線画を刺繍データ化する際に好適であり、骨格化データに基づいて直線縫いや直線縫いの2度縫い、或いはジグザグ縫いや幅の異なるジグザグ縫いの2度縫い更には直線縫いとジグザグ縫いを組み合わせた2度縫い等の刺繍縫い目データを生成することにより、線画の刺繍を簡単にまた優れた外観で実現することが可能になる。
【0003】
【発明が解決しようとする課題】
しかし、上記した骨格化データによる刺繍データの作成装置において、画像によっては、骨格化することにより原画のイメージが損なわれるものがある。
即ち骨格化データの生成において、骨格化データとなるまで原画像の幅の縮小を行うため、他の線分と離れた画像即ち単位画像はそれ自体が縮小されることになり、どのような大きさの画像であっても、一本の線になったり、或いは単位画像が円形の場合などは点になってしまう問題がある。
例えば、図6(A)に示す原画像Gは4種類の単位画像から形成されており、外形線51、目52、鼻53、及びヒゲ54の単位画像を有している。これらを骨格化すると、(B)に示すように外形線51nと目52nは細線になり、また鼻53nとヒゲ54nは微少の点になる。このように、鼻53nとヒゲ54nは点になってしまし、そのまま刺繍しても殆ど視認できないものとなる。
また、ノイズ除去の目的で微少の画像データをフィルタに掛けて消す構成の場合には鼻53nやヒゲ54nのような微少画像は除去されて刺繍には表れないことになり、原画のイメージが全くなくなってしまう事態が生ずる。
本発明はこのような問題を解決し、原画のイメージを損なうことのない刺繍データ作成装置を提供することを目的とする。
【0004】
【課題を解決するための手段】
上記目的を達成するために、本発明は、1以上の単位画像を有する画像を表す画像データを与えるための手段と、該与えられた画像データによる画像を骨格化し、該画像の骨格を表す骨格化データを与えるための手段と、前記骨格化データに基づく画像の長さを単位画像毎に所定の基準長さと比較するための手段と、前記所定の基準長さよりも短い単位画像については、前記画像データに基づいて該単位画像の輪郭を表す輪郭データを生成する手段と、前記所定の基準長さよりも長い単位画像については骨格化データに基づいて縫い目データを生成し、前記所定の基準長さよりも短い単位画像については、前記輪郭データに基づいて縫い目データを生成するための手段と、を有することを基本的な特徴とする。
骨格化データの画像は、単位画像毎に所定の基準長さと比較され、基準長さよりも短い場合には、該単位画像については輪郭データが生成され、この輪郭データに基づいて縫い目データが作成される。これにより、原画の持つイメージが損なわれることなく、縫い目データが作成される。
また、請求項2の発明においては、1以上の単位画像を有する画像を表す画像データを与えるための手段と、該与えられた画像データによる画像を骨格化し、該画像の骨格を表す骨格化データを与えるための手段と、前記骨格化データに基づく画像の長さを単位画像毎に所定の第1基準長さ及び第1基準長さよりも短い第2基準長さと比較するための手段と、前記所定の第1基準長さよりも短く且つ第2基準長さよりも長い単位画像については、前記画像データに基づいて該単位画像の輪郭を表す輪郭データを生成する手段と、前記所定の第1基準長さよりも長い単位画像については骨格化データに基づいて縫い目データを生成し、前記所定の第1基準長さよりも短く且つ第2基準長さよりも長い単位画像については前記輪郭データに基づいて縫い目データを生成し、前記第2基準長さよりも短い単位画像については、前記画像データに基づいて縫い目データを生成するための手段と、を有することを特徴とする。
以上の構成においては、輪郭縫いに不適当なより小さな画像については、輪郭縫いを行わずに、画像データに基づく縫い目を形成することが出来、更に優れた原画像の再現性を有する縫い目データを作成する事が可能になる。
なお、前記所定の基準長さは変更可能とし、ユーザ等が原画の状態などに応じて任意に変更できるようにしておくことが望ましい。
【0005】
【発明の実施の形態】
以下本発明の実施の形態を図面に基づいて説明する。
図1において、中央演算処理装置1はマイクロコンピュータを主体に構成されており、ここにイメージスキャナ10が接続され、ユーザが希望する原画を読み込んで画像データを中央演算処理装置1に入力するようになっている。読み込まれた画像は一度データ記憶装置2に格納されるようになっている。また、同時に表示装置8に表示されるようになっている。
イメージスキャナ10に変えて、例えば画像データを記憶しているメモリカード等の記憶媒体や或いはCAD等の画像処理装置を接続して画像データなどを読み込むようにすることも可能である。
【0006】
図3において、(A)は原画の一例を示すもので、この原画像Gは外形線51と2つの目52及び2つの鼻53と5つのヒゲ54の合計10個の単位画像から構成されている。これらの画像データは、この実施形態ではイメージスキャナ10からドットデータとして中央演算処理装置1に供給されるようになっているが、ベクトルデータ等他のどのような形態のデータであっても良い。
【0007】
中央演算処理装置1は画像データ骨格化プログラム記憶装置3に格納された画像データ骨格化プログラムに従って、読み込んだ画像データのデジタル化を行った上、該画像の骨格化を行うようになっている。
骨格化の手法としては、従来知られた種々の手法を採用可能であり、通常は画像の中心線を求めて骨格化を実行するようになっている。この骨格化されたデータもデータ記憶装置2に一時記憶されるようになっている。
【0008】
図3の(B)は骨格化されたデータに基づく骨格化画像Bを示すもので、細線化された外形線51bと線になった目52b及び微少な点になった鼻53bとヒゲ54bとから構成されており、表示装置8に表示されるようになっている。
【0009】
次いで中央演算処理装置1は線分長さ比較プログラム記憶装置8に記憶されたプログラムに従って、骨格化されたデータに基づく線分の長さを単位画像毎に基準長さL1と比較するように構成されている。この基準長さL1は基準線分長さ設定装置6によりユーザが任意に変更することが出来るようになっている。これにより、原画の状態にあわせてユーザ等が基準長さの設定を行えるようにな
また更にこの基準長さL1に加えて、必要に応じてこれより短い基準長さL2を設定できるようになっており、更に小さな単位画像について他の処理を行うことが可能なっている。なお、L2の長さも基準線分長さ設定装置6により変更可能である。
【0010】
中央演算処理装置1は骨格化された画像が基準長さL1以上の単位画像については、骨格化データに基づいて縫い目データを作成するように決定する。
また、骨格化された単位画像が基準長さL1以下の単位画像については、該単位画像について元の画像データから輪郭データを作成するように決定し、輪郭データ生成プログラム記憶装置4により輪郭データを作成する。そして、この輪郭データに基づいて縫い目データを作成するように決定する。
輪郭データ生成プログラム記憶装置4による輪郭データの作成は従来知られている種々の手法が採用可能である。
【0011】
なお、第2の基準長さL2が設定されている場合には、このL2以下の単位画像については、元の画像データに基づいて縫い目を作成するように決定する。この縫い目はサテン縫いや畳縫い等の縫い目を採用することが可能である。この実施形態については図4と図5により後述する。
【0012】
いま、基準長さL2が設定されておらず、基準長さL1が図3の目52bの長さ以下鼻53bの長さ以上に設定されているとすると、鼻53bとヒゲ54bが元の画像データに基づく輪郭データによる縫い目データとなり、外形線51bと目52bが骨格化データによる縫い目データとなる。
図3の(C)は骨格化データと元の画像データを仮想的に複合して示したもので、このような複合的なデータを一度画像化して表示装置8に示しても良い。
この元の画像データによる鼻53bとヒゲ54bは輪郭データ生成プログラム記憶装置4により輪郭データとされ、(D)に示すように輪郭画像Rを含む複合画像C’として表示装置8に表示されるようになっている。
【0013】
中央演算処理装置1は縫い目データ生成の基礎となるデータを単位画像毎に決定したら、該決定に従って、縫い目データ生成プログラム記憶装置5のプログラムに従って縫い目データを生成する。
外形線51b及び目52bのような骨格化データに基づく縫い目は、直線縫いの2度縫い或いは幅の異なるジグザグ縫いの2度縫い或いは直線縫いとジグザグ縫いの重ね縫いなどの縫い目とするのが望ましい。また、鼻53rやヒゲ54rのような輪郭データに基づく縫い目も同様な縫い目とするのが望ましい。
【0014】
生成された縫い目データは記憶媒体11に格納されるように構成されている。記憶媒体11は刺繍縫いミシン等に装着され、ここで刺繍縫いを実行するようになっている。
図3の(E)に完成された刺繍縫いNを示す。図6の(B)に示す従来のものに比較して原画像Gのイメージが保存されていることが明らかである。
なお、このような刺繍縫いNの画像も表示装置8に表示して、完成品のイメージをユーザが得られるようにするのが望ましい。
【0015】
図2により動作を説明する。
イメージスキャナ10により原画を読取り(ステップS1)、イメージスキャナ10からの画像データを入力してデータ記憶装置2に格納する(ステップS2)。そして、該画像データを骨格化処理して(ステップS3)、その線分長さを単位画像毎に基準長さL1と比較する(ステップS4、S5)。基準の所定長さL1より長い単位画像については該骨格化データにより縫い目データが生成される(ステップS6)。線分が所定の長さL1より短い場合には、元の画像データに基づいてその単位画像の外周輪郭データが生成される(ステップS7)。そして、該輪郭データに基づいて縫い目データが生成される(ステップS8)。そして、全ての単位画像について縫い目データの生成が終了したら(ステップS9)、該縫い目データを記憶媒体11に記憶させて(ステップS10)、動作を終了する。
【0016】
以上の構成により、単位画像が所定以下の大きさのものについては、輪郭縫いが行われるようになるから、図3(E)に示すような原画像Gのイメージを損なわない刺繍縫いデータを作成することが可能になる。
【0017】
次に基準線分長さ設定装置6により第1の基準長さL1に加えて第2の基準長さL2を設定しする場合の実施形態を説明する。
図5に示すようにL1を目52bよりも長く設定し、更に目52bよりも短く鼻53bよりも長い長さにL2を設定するとする。
この場合、図5の(C)に示すように、目52g、鼻53g、ヒゲ54gは、骨格データによらず、いずれも元の画像データに基づいて処理される。即ち目52gは輪郭データ化されるが、鼻53gとヒゲ54gはL2よりも短いため、輪郭データ化されず、輪郭画像Rとはならず、(D)に示すように元の画像データのまま残るようになっている。。
中央演算処理装置1は(D)に示す骨格化画像B、輪郭画像R、原画像Gに基づいて縫い目データを形成するようになっている。
【0018】
中央演算処理装置1は縫い目データ生成の基礎となるデータを単位画像毎に決定したら、該決定に従って、縫い目データ生成プログラム記憶装置5のプログラムに従って縫い目データを生成する。
外形線51bの骨格化データ及び目52rの輪郭データに基づく縫い目は、直線縫いの2度縫い或いは幅の異なるジグザグ縫いの2度縫い或いは直線縫いとジグザグ縫いの重ね縫いなどの縫い目とするのが望ましい。
また鼻53gとヒゲ54gはサテン縫い(ジグザグ縫い)や畳縫い(フィルステッチ縫い)等の縫い目により塗りつぶすようにするのが望ましい。
【0019】
以上により生成された縫い目データは記憶媒体11に格納されるように構成されている。記憶媒体11は刺繍縫いミシン等に装着され、ここで刺繍縫いを実行するようになっている。
図5の(E)に完成された刺繍縫いNを示す。ここでは目52が輪郭線で表されており、原画像Gのイメージが更に良好に保存されていることが明らかである。
なお、この刺繍縫いNの画像も表示装置8に表示され、完成品のイメージをユーザが得られるように構成されている。
【0020】
図4により動作を説明する。
イメージスキャナ10により原画を読取り(ステップS20)、イメージスキャナ10からの画像データを入力してデータ記憶装置2に格納する(ステップS21)。そして、該画像データを骨格化処理して(ステップS22)、その線分長さを単位画像毎に基準長さと比較する(ステップS23)。最初に第1の基準長さL1と比較し(ステップS24)、このL1より長い単位画像については該骨格化データにより縫い目データが生成される(ステップS25)。線分が第1の基準長さL1より短い場合には、更に第2の基準長さL2より長いか否か判定し(ステップS26)、長い場合には元の画像データに基づいてその単位画像の外周輪郭データが生成される(ステップS27)。そして、該輪郭データに基づいて縫い目データが生成される(ステップS28)。ステップS26で単位画像がL2よりも短い場合には元の画像データに基づいてサテン縫い目等の縫い目データが生成される(ステップS29)。
そして、全ての単位画像について縫い目データの生成が終了したら(ステップS30)、該縫い目データを記憶媒体11に記憶させて(ステップS31)、動作を終了する。
【0021】
【発明の効果】
以上説明したように本発明の刺繍データ作成装置によれば、原画のイメージを損なうことなく、線画を刺繍することが可能な刺繍データを作成できる効果がある。
【図面の簡単な説明】
【図1】本発明の一実施形態を示すブロック図。
【図2】本発明の一実施形態の動作を示すフローチャート図。
【図3】本発明の一実施形態の動作説明図。
【図4】本発明の他の実施形態の動作を示すフローチャート図。
【図5】本発明の他の実施形態の動作説明図。
【図6】従来技術の説明図。
【符号の説明】
1:中央演算処理装置、2:データ記憶装置、3:画像データ骨格化プログラム記憶装置、4:輪郭データ生成プログラム記憶装置、5:縫い目データ生成プログラム記憶装置、6:基準線分長さ設定装置、7:線分長さ比較プログラム記憶装置、8:表示装置、10:イメージスキャナ、11:記憶媒体、51:外形線、52:目、53:鼻、54:ヒゲ。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an embroidery data creation device based on image data.
[0002]
[Prior art]
As for data for causing a sewing machine capable of embroidery sewing or an embroidery sewing apparatus to perform embroidery, data is usually created by a maker of the apparatus and embroidery sewing is performed based on this data.
However, with the spread of personal computers and the like in recent years, there has been an increasing demand for users to create images themselves and use them as embroidery stitch data. Further, an apparatus that reads an image created by a user with an image sensor or the like and creates stitch data based on the image is already commercially available as an accessory of a home embroidery sewing machine.
In an apparatus for creating embroidery data based on such image data, in recent years, a device that determines a center line of an image, creates so-called skeletonized data representing a skeleton of the image, and creates embroidery data based on the skeletonized data, Proposed by the present applicant.
Such a method is suitable for converting a line drawing into embroidery data, and based on the skeletonized data, double stitching of straight stitching or straight stitching, or double stitching of zigzag stitching or zigzag stitching having different widths, and furthermore, straight stitching By generating embroidery stitch data such as double stitches, which is a combination of stitching and zigzag stitching, embroidery of a line drawing can be realized easily and with an excellent appearance.
[0003]
[Problems to be solved by the invention]
However, in the above-described embroidery data creating apparatus based on the skeletonized data, some images may damage the original image due to the skeletonization.
That is, in generating the skeletonized data, the width of the original image is reduced until it becomes the skeletonized data. Therefore, the image separated from other line segments, that is, the unit image itself is reduced, However, there is a problem that even if the image is a single line, or if the unit image is circular, it becomes a dot.
For example, the original image G shown in FIG. 6A is formed from four types of unit images, and has unit images of the outline 51, eyes 52, nose 53, and mustache 54. When these are skeletonized, the outline 51n and the eye 52n become thin lines, and the nose 53n and the whiskers 54n become minute points as shown in FIG. In this way, the nose 53n and the whiskers 54n become dots, and even if they are embroidered as they are, they become almost invisible.
Further, in the case of a configuration in which a very small image data is filtered and erased for the purpose of noise removal, a very small image such as the nose 53n or the beard 54n is removed and does not appear in the embroidery, and the image of the original image is completely lost. The situation that disappears occurs.
SUMMARY OF THE INVENTION It is an object of the present invention to solve such a problem and to provide an embroidery data creating apparatus which does not impair the image of an original image.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a means for providing image data representing an image having one or more unit images, a skeleton representing an image based on the given image data, and a skeleton representing a skeleton of the image. Means for providing coded data, means for comparing the length of the image based on the skeletonized data with a predetermined reference length for each unit image, and for a unit image shorter than the predetermined reference length, Means for generating outline data representing the outline of the unit image based on the image data, and generating seam data based on the skeletonized data for the unit image longer than the predetermined reference length, and generating the seam data based on the skeletonized data. And a means for generating stitch data based on the contour data for the shortest unit image.
The image of the skeletonized data is compared with a predetermined reference length for each unit image, and if shorter than the reference length, contour data is generated for the unit image, and stitch data is generated based on the contour data. You. Thus, the stitch data is created without damaging the image of the original image.
Further, according to the invention of claim 2, means for providing image data representing an image having one or more unit images, skeletonized image based on the given image data, and skeletonized data representing a skeleton of the image Means for comparing the length of the image based on the skeletonized data with a predetermined first reference length and a second reference length shorter than the first reference length for each unit image; and Means for generating contour data representing a contour of the unit image based on the image data for a unit image shorter than a predetermined first reference length and longer than a second reference length; Stitch data is generated based on the skeletonized data for unit images longer than the unit image, and unit images shorter than the predetermined first reference length and longer than the second reference length are based on the contour data. Generates stitch data for said second reference length shorter unit image than is characterized by having a means for generating stitch data based on the image data.
In the above configuration, a seam based on image data can be formed for a smaller image unsuitable for contour stitching without performing contour stitching. It can be created.
It is desirable that the predetermined reference length be changeable, so that a user or the like can arbitrarily change the length according to the state of the original image.
[0005]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
In FIG. 1, a central processing unit 1 is mainly composed of a microcomputer, and an image scanner 10 is connected thereto so that a user reads a desired original image and inputs image data to the central processing unit 1. Has become. The read image is stored once in the data storage device 2. Also, the information is displayed on the display device 8 at the same time.
Instead of the image scanner 10, for example, a storage medium such as a memory card storing image data, or an image processing apparatus such as CAD may be connected to read image data.
[0006]
In FIG. 3, (A) shows an example of an original image, and this original image G is composed of a total of ten unit images including an outline 51, two eyes 52, two nose 53, and five mustaches 54. I have. In the present embodiment, these image data are supplied as dot data from the image scanner 10 to the central processing unit 1, but may be data in any other form such as vector data.
[0007]
The central processing unit 1 digitizes the read image data in accordance with the image data skeletalization program stored in the image data skeletalization program storage device 3 and then skeletonizes the image.
As the skeletalization method, various conventionally known methods can be adopted. Usually, the skeletonization is performed by obtaining the center line of the image. The skeletonized data is also temporarily stored in the data storage device 2.
[0008]
FIG. 3B shows a skeletonized image B based on the skeletonized data, in which a thinned outline 51b, a lined eye 52b, and a nose 53b and a whisker 54b formed as minute points are shown. , And are displayed on the display device 8.
[0009]
Next, the central processing unit 1 is configured to compare the length of the line segment based on the skeletonized data with the reference length L1 for each unit image according to the program stored in the line length comparison program storage device 8. Have been. The reference length L1 can be arbitrarily changed by the user by the reference line segment length setting device 6. This allows the user or the like to set the reference length in accordance with the state of the original image. In addition to this reference length L1, a shorter reference length L2 can be set as necessary. Therefore, other processing can be performed on a smaller unit image. The length of L2 can also be changed by the reference line segment length setting device 6.
[0010]
The central processing unit 1 determines to create stitch data based on the skeletonized data for the unit image whose skeletonized image is equal to or longer than the reference length L1.
Further, for a unit image whose skeletonized unit image is equal to or less than the reference length L1, it is determined that contour data is created from the original image data for the unit image, and the contour data is stored in the contour data generation program storage device 4 by the contour data generation program storage device 4. create. Then, it is determined that stitch data is created based on the contour data.
Various methods known in the art can be used for creating contour data by the contour data generation program storage device 4.
[0011]
When the second reference length L2 is set, it is determined that a stitch is created based on the original image data for the unit image of L2 or less. As the stitches, stitches such as satin stitches and tatami stitches can be employed. This embodiment will be described later with reference to FIGS.
[0012]
Now, assuming that the reference length L2 is not set and the reference length L1 is set to be equal to or less than the length of the eye 52b in FIG. 3 and equal to or greater than the length of the nose 53b, the nose 53b and the mustache 54b are set to the original image. The stitch data is contour data based on the data, and the outline 51b and the eye 52b are stitch data based on the skeletonized data.
FIG. 3C shows the skeletonized data and the original image data as a virtual composite. Such composite data may be once imaged and displayed on the display device 8.
The nose 53b and the whiskers 54b based on the original image data are converted into outline data by the outline data generation program storage device 4, and displayed on the display device 8 as a composite image C 'including the outline image R as shown in FIG. It has become.
[0013]
After determining the data to be the basis of stitch data generation for each unit image, the central processing unit 1 generates stitch data according to the program in the stitch data generation program storage device 5 according to the determination.
The stitches based on the skeletonized data such as the outline 51b and the eyes 52b are preferably stitches such as double stitches of straight stitches, double stitches of zigzag stitches having different widths, or overlap stitches of straight stitches and zigzag stitches. . Further, it is desirable that the seam based on the contour data such as the nose 53r and the beard 54r be the same seam.
[0014]
The generated stitch data is configured to be stored in the storage medium 11. The storage medium 11 is mounted on an embroidery sewing machine or the like, where embroidery sewing is performed.
FIG. 3E shows the completed embroidery stitch N. It is clear that the image of the original image G is preserved as compared with the conventional one shown in FIG.
It is desirable that such an image of the embroidery stitch N is also displayed on the display device 8 so that the user can obtain an image of the finished product.
[0015]
The operation will be described with reference to FIG.
The original image is read by the image scanner 10 (step S1), and the image data from the image scanner 10 is input and stored in the data storage device 2 (step S2). Then, the image data is subjected to skeletonization processing (step S3), and the line segment length is compared with the reference length L1 for each unit image (steps S4 and S5). For unit images longer than the reference predetermined length L1, stitch data is generated from the skeletonized data (step S6). If the line segment is shorter than the predetermined length L1, outer peripheral contour data of the unit image is generated based on the original image data (step S7). Then, stitch data is generated based on the contour data (step S8). When the generation of the stitch data has been completed for all the unit images (step S9), the stitch data is stored in the storage medium 11 (step S10), and the operation ends.
[0016]
With the above configuration, contour stitching is performed on a unit image having a size equal to or smaller than a predetermined size. Therefore, embroidery sewing data that does not impair the image of the original image G as shown in FIG. It becomes possible to do.
[0017]
Next, an embodiment will be described in which the reference line segment length setting device 6 sets the second reference length L2 in addition to the first reference length L1.
As shown in FIG. 5, it is assumed that L1 is set longer than the eye 52b, and L2 is set shorter than the eye 52b and longer than the nose 53b.
In this case, as shown in FIG. 5C, the eye 52g, the nose 53g, and the beard 54g are all processed based on the original image data without depending on the skeleton data. That is, although the eye 52g is converted into outline data, the nose 53g and the beard 54g are shorter than L2, and thus are not converted into outline data, and do not become the outline image R, but remain as the original image data as shown in (D). It is supposed to remain. .
The central processing unit 1 forms stitch data based on the skeletonized image B, contour image R, and original image G shown in (D).
[0018]
After determining the data to be the basis of stitch data generation for each unit image, the central processing unit 1 generates stitch data according to the program in the stitch data generation program storage device 5 according to the determination.
The stitches based on the skeletonized data of the outline 51b and the contour data of the eyes 52r should be stitches such as double stitches of straight stitches, double stitches of zigzag stitches having different widths, or overlap stitches of straight stitches and zigzag stitches. desirable.
The nose 53g and the beard 54g are desirably filled with a seam such as satin stitching (zigzag stitching) or tatami stitching (fill stitch stitching).
[0019]
The generated stitch data is stored in the storage medium 11. The storage medium 11 is mounted on an embroidery sewing machine or the like, where embroidery sewing is performed.
FIG. 5E shows the completed embroidery stitch N. Here, the eye 52 is represented by an outline, and it is clear that the image of the original image G is better preserved.
The image of the embroidery stitch N is also displayed on the display device 8 so that the user can obtain an image of the finished product.
[0020]
The operation will be described with reference to FIG.
The original image is read by the image scanner 10 (step S20), and the image data from the image scanner 10 is input and stored in the data storage device 2 (step S21). Then, the image data is subjected to skeletonization processing (step S22), and the line segment length is compared with the reference length for each unit image (step S23). First, a comparison is made with the first reference length L1 (step S24), and for a unit image longer than this L1, stitch data is generated from the skeletonized data (step S25). If the line segment is shorter than the first reference length L1, it is further determined whether or not the line segment is longer than the second reference length L2 (step S26). If longer, the unit image based on the original image data is determined. Is generated (step S27). Then, stitch data is generated based on the contour data (step S28). If the unit image is shorter than L2 in step S26, stitch data such as a satin stitch is generated based on the original image data (step S29).
When the generation of the stitch data has been completed for all the unit images (step S30), the stitch data is stored in the storage medium 11 (step S31), and the operation ends.
[0021]
【The invention's effect】
As described above, according to the embroidery data creating apparatus of the present invention, there is an effect that embroidery data capable of embroidering a line drawing can be created without damaging the image of the original image.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a flowchart showing the operation of one embodiment of the present invention.
FIG. 3 is an operation explanatory diagram of one embodiment of the present invention.
FIG. 4 is a flowchart showing the operation of another embodiment of the present invention.
FIG. 5 is an operation explanatory view of another embodiment of the present invention.
FIG. 6 is an explanatory diagram of a conventional technique.
[Explanation of symbols]
1: Central processing unit 2: Data storage unit 3: Image data skeletonization program storage unit 4: Outline data generation program storage unit 5: Stitch data generation program storage unit 6: Reference line segment length setting unit , 7: line length comparison program storage device, 8: display device, 10: image scanner, 11: storage medium, 51: outline, 52: eye, 53: nose, 54: mustache.

Claims (3)

1以上の単位画像を有する画像を表す画像データを与えるための手段と;
該与えられた画像データによる画像を骨格化し、該画像の骨格を表す骨格化データを与えるための手段と;
前記骨格化データに基づく画像の長さを単位画像毎に所定の基準長さと比較するための手段と;
前記所定の基準長さよりも短い単位画像については、前記画像データに基づいて該単位画像の輪郭を表す輪郭データを生成する手段と;
前記所定の基準長さよりも長い単位画像については骨格化データに基づいて縫い目データを生成し、前記所定の基準長さよりも短い単位画像については、前記輪郭データに基づいて縫い目データを生成するための手段と;
を有する刺繍データ作成装置。
Means for providing image data representing an image having one or more unit images;
Means for skeletonizing an image based on the provided image data and providing skeletonized data representing a skeleton of the image;
Means for comparing the length of the image based on the skeletonized data with a predetermined reference length for each unit image;
Means for generating, for a unit image shorter than the predetermined reference length, outline data representing an outline of the unit image based on the image data;
For generating stitch data based on skeletonized data for a unit image longer than the predetermined reference length, and generating stitch data based on the outline data for a unit image shorter than the predetermined reference length. Means;
Embroidery data creation device having
1以上の単位画像を有する画像を表す画像データを与えるための手段と;
該与えられた画像データによる画像を骨格化し、該画像の骨格を表す骨格化データを与えるための手段と;
前記骨格化データに基づく画像の長さを単位画像毎に所定の第1基準長さ及び第1基準長さよりも短い第2基準長さと比較するための手段と;
前記所定の第1基準長さよりも短く且つ第2基準長さよりも長い単位画像については、前記画像データに基づいて該単位画像の輪郭を表す輪郭データを生成する手段と;
前記所定の第1基準長さよりも長い単位画像については骨格化データに基づいて縫い目データを生成し、
前記所定の第1基準長さよりも短く且つ第2基準長さよりも長い単位画像については前記輪郭データに基づいて縫い目データを生成し、
前記第2基準長さよりも短い単位画像については、前記画像データに基づいて縫い目データを生成するための手段と;
を有する刺繍データ作成装置。
Means for providing image data representing an image having one or more unit images;
Means for skeletonizing an image based on the provided image data and providing skeletonized data representing a skeleton of the image;
Means for comparing the length of the image based on the skeletonized data with a predetermined first reference length and a second reference length shorter than the first reference length for each unit image;
Means for generating, for a unit image shorter than the predetermined first reference length and longer than the second reference length, outline data representing an outline of the unit image based on the image data;
For the unit image longer than the predetermined first reference length, stitch data is generated based on the skeletonized data,
For a unit image shorter than the predetermined first reference length and longer than the second reference length, stitch data is generated based on the outline data;
Means for generating stitch data based on the image data for a unit image shorter than the second reference length;
Embroidery data creation device having
前記所定の基準長さが変更可能である、
請求項1又は2に記載の刺繍データ作成装置。
The predetermined reference length is changeable,
The embroidery data creation device according to claim 1 or 2.
JP18805196A 1996-07-01 1996-07-01 Embroidery data creation device Expired - Fee Related JP3589799B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18805196A JP3589799B2 (en) 1996-07-01 1996-07-01 Embroidery data creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18805196A JP3589799B2 (en) 1996-07-01 1996-07-01 Embroidery data creation device

Publications (2)

Publication Number Publication Date
JPH1018157A JPH1018157A (en) 1998-01-20
JP3589799B2 true JP3589799B2 (en) 2004-11-17

Family

ID=16216834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18805196A Expired - Fee Related JP3589799B2 (en) 1996-07-01 1996-07-01 Embroidery data creation device

Country Status (1)

Country Link
JP (1) JP3589799B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10577736B2 (en) 2017-06-23 2020-03-03 Janome Sewing Machine Co., Ltd. Embroidery data generating apparatus, embroidery data generating method, and program for embroidery data generating apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10577736B2 (en) 2017-06-23 2020-03-03 Janome Sewing Machine Co., Ltd. Embroidery data generating apparatus, embroidery data generating method, and program for embroidery data generating apparatus

Also Published As

Publication number Publication date
JPH1018157A (en) 1998-01-20

Similar Documents

Publication Publication Date Title
JP3552334B2 (en) Embroidery data processing device
JPH08141244A (en) Embroidering data preparing device
JPH10230088A (en) Embroidery data processor
JPH07238464A (en) Method for preparing embroidery data
JP3589799B2 (en) Embroidery data creation device
JP3332276B2 (en) Embroidery data creation device
JP3589798B2 (en) Embroidery data creation device
JPH0838755A (en) Embroidery data generating device
US6944519B2 (en) Embroidery data producing device and embroidery data producing program stored in a computer readable medium
JP3723291B2 (en) Embroidery data creation device
JP3982717B2 (en) Embroidery pattern data generation apparatus and method for sewing machine capable of embroidery sewing
JP3977851B2 (en) Embroidery data creation device
JP3467078B2 (en) Embroidery data creation device
JP3580861B2 (en) Pattern input device that adds a frame to a pattern
JP3973054B2 (en) Embroidery pattern data generation apparatus and method for sewing machine capable of embroidery sewing
JP3936406B2 (en) Embroidery pattern data generation device for sewing machine capable of contour sewing
JP2004110383A (en) Image forming system, its program and information storage medium
JP3939827B2 (en) Embroidery data creation device
JP3593740B2 (en) Embroidery data creation device for sewing machine
JP4093418B2 (en) Combination pattern data generation device and sewing machine equipped with the device
JP3671575B2 (en) Embroidery data processing device
JP2861580B2 (en) Embroidery data creation device
JP3973272B2 (en) Embroidery data creation device
JP2002119780A (en) Embroidery data processor
JP3702565B2 (en) Embroidery data processing device

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040802

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040818

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110827

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees