JP3813131B2 - Embroidery data creation device - Google Patents

Embroidery data creation device Download PDF

Info

Publication number
JP3813131B2
JP3813131B2 JP2003067544A JP2003067544A JP3813131B2 JP 3813131 B2 JP3813131 B2 JP 3813131B2 JP 2003067544 A JP2003067544 A JP 2003067544A JP 2003067544 A JP2003067544 A JP 2003067544A JP 3813131 B2 JP3813131 B2 JP 3813131B2
Authority
JP
Japan
Prior art keywords
embroidery
area
data
embroidery data
image
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
JP2003067544A
Other languages
Japanese (ja)
Other versions
JP2003230782A (en
Inventor
正生 二村
光康 久野
幸好 武藤
雅裕 水野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2003067544A priority Critical patent/JP3813131B2/en
Publication of JP2003230782A publication Critical patent/JP2003230782A/en
Application granted granted Critical
Publication of JP3813131B2 publication Critical patent/JP3813131B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Sewing Machines And Sewing (AREA)

Description

【0001】
【産業上の利用分野】
本発明は、加工布に対し所定の図柄の刺繍を形成するミシンにおける、刺繍の形成に必要な刺繍データを作成する刺繍データ作成装置に関するものである。
【0002】
【従来の技術】
従来より、加工布に対する刺繍形成動作を自動的に実行する刺繍ミシンが供されている。この刺繍ミシンは、例えば一針毎の加工布のX,Y方向移動量を指示するステッチデータに基づいて動作するようになっている。本出願人は、かかる刺繍ミシンにおける刺繍データ(前記ステッチデータあるいはブロックデータ)の作成を自動的に行う刺繍データ作成装置を開発し、先に出願している。
【0003】
この刺繍データ作成装置は、例えばパーソナルコンピュータ本体に、イメージスキャナ、キーボード、ハードディスクドライブ、CRTディスプレイ等を接続して構成されている。そして、例えば刺繍図柄の形状を描いた原画から、次のようにしてステッチデータを作成するようになっている。
【0004】
まず、前記原画をイメージスキャナにより読取らせることにより、イメージデータが作成され、次に、そのイメージデータから、刺繍図柄の輪郭を画定するアウトラインデータが作成される。そして、このアウトラインデータから、輪郭の内部が刺繍進行方向に連なる複数個の四角形等のブロックに分割されてそれら各ブロックの頂点の位置座標を示すブロックデータが作成され、最後に、このブロックデータからいわゆる一針展開がなされることにより、ステッチデータが作成されるのである。
【0005】
【発明が解決しようとする課題】
ところで、近年では、刺繍に対する需要者の嗜好が多様化,高級化し、また、刺繍ミシンの性能も向上してきており、これに伴い、刺繍の多色化,巧緻化が図られてきている。特に、家庭用の刺繍ミシンにあっても、予め記憶されている刺繍データに基づく図柄の刺繍形成だけでなく、使用者の所望する図柄の刺繍を形成することを可能とする等の機能の向上が望まれてきている。
【0006】
この場合、異なった色の刺繍糸により多色の刺繍を行うには、刺繍図柄を色毎に複数の領域に分割し、各領域に関して夫々刺繍データを作成する必要がある。
【0007】
しかしながら、上記のような従来の刺繍データ作成装置では、例えば原画が白い紙に図柄を描いたようなものの場合、背景の部分も白色の領域として刺繍データが作成されてしまう等、実際に刺繍を形成しなくても良い部分まで刺繍データが作成されて刺繍が行われてしまう不具合が起ってしまう。
【0008】
本発明は上記事情に鑑みてなされたもので、その目的は、多色の刺繍に係る刺繍データを容易に作成することができると共に、不要部の刺繍データを作成せずに済ませることができる刺繍データ作成装置を提供することにある。
【0009】
【課題を解決するための手段】
上記目的を達成するために、本発明の第1の刺繍データ作成装置は、加工布に対し所定の図柄の刺繍を形成するミシンにおける、前記刺繍の形成に必要な刺繍データを作成するものにあって、図柄の彩色原画を画素毎に原画の色に応じた色相値を備える図柄画像データとして読取る画像読取手段と、前記図柄画像データに基づいて前記図柄をその全領域を対象として前記色相値に基づく色毎に複数の領域に分割する領域分割手段と、前記領域分割手段によって分割された領域に対する刺繍データの作成に先立って、前記分割された領域のうち刺繍の形成が不要な刺繍不要領域を指定するための指定手段と、前記指定手段によって指定された前記刺繍不要領域を除く各領域に関する刺繍データを作成する刺繍データ作成手段とを具備している。
【0010】
そして、本発明の第2の刺繍データ作成装置は、刺繍不要領域を刺繍データの作成領域に修正する修正手段を設けるようにしたものである。
【0011】
上記構成を有する本発明の第1の刺繍データ作成装置によれば、画像読取手段により図柄の彩色原画が画素毎に原画の色に応じた色相値を備える図柄画像データとして読取られ、領域分割手段によりその図柄画像データに基づいて前記図柄がその全領域を対象として前記色相値に基づく色毎に複数の領域に分割される。そして、色毎に分割された各領域に関する刺繍データが刺繍データ作成手段により作成されるのに先立って、オペレータは、指定手段により、刺繍の形成が不要な刺繍不要領域を指定することができ、その領域に関しては、刺繍データの作成から除かれるようになる。
【0012】
従って、オペレータがさほど手間をかけることなく、彩色原画に基づいた色毎の別個の刺繍データが自動で作成されるようになり、しかも、背景等の刺繍の形成が不要である領域に関しては刺繍データを作成せずに済ませることができる。
【0013】
そして、本発明の第2の刺繍データ作成装置によれば、同色の領域に含まれる部分部分について、刺繍データを作成するかしないかを、より緻密に設定することが可能となる。
【0014】
【発明の実施の形態】
以下、本発明を家庭用刺繍ミシンの刺繍データ作成に適用した第1の実施例について、図1乃至図7を参照して説明する。尚、本実施例では、図5に示すような、図柄A(丘の上に家があり、空に雲が浮かんでいる図柄)における刺繍データを作成する場合を具体例としてあげながら説明する。この場合、ハッチングの形態を変えて示すように、図柄Aの原画のうち、「丘」,「家」,「雲」の部分B,C,Dに夫々異なる彩色がなされ、残りの部分(「空」及び「家の窓」の部分E及びF)は地の色(原画が描かれている紙の色)そのままの状態とされている。
【0015】
まず、図示はしないが、家庭用刺繍ミシンについて簡単に触れておく。刺繍ミシンは、ミシンベッド上に配置され加工布を保持する刺繍枠を、水平移動機構により装置固有のx,y座標系で示される所定位置に移動させつつ、縫針及び釜機構による縫い動作を行うことにより、その加工布に所定の図柄Aの刺繍を施すようになっている。
【0016】
この場合、前記水平移動機構や針棒などは、マイコン等から構成される制御装置により制御されるようになっており、従って、一針毎の加工布のx,y方向の移動量(針落ち位置)を指示する刺繍データ(ステッチデータ)が与えられることにより、制御装置は、刺繍動作を自動的に実行することが可能となるのである。また、本実施例では、刺繍ミシンにはフラッシュメモリ装置が設けられ、後述するフラッシュメモリ(カードメモリ)により、外部から刺繍データが与えられるように構成されている。本実施例に係る刺繍データ作成装置は、このような刺繍データを作成する機能を備えるものである。
【0017】
次に、本実施例に係る刺繍データ作成装置の全体構成について、図3及び図4を参照して述べる。図3は刺繍データ作成装置の外観を示し、図4は電気的構成を示しており、ここで、作成装置本体1は、マイコンを主体として成り、CPU2,ROM3,RAM4,フラッシュメモリ装置(FMD)5,入出力インターフェイス6をバスを介して相互に接続して構成されている。
【0018】
この作成装置本体1の上面部には、図柄A等を画面7aにカラー表示するための液晶ディスプレイ(LCD)7が設けられている。この液晶ディスプレイ7は、表示制御装置(LCDC)8により制御されるようになっており、この表示制御装置8には表示記憶装置9が接続されている。また、前記フラッシュメモリ装置5には、フラッシュメモリ10が着脱可能にセットされるようになっている。そして、作成装置本体1には、オペレータが各種の指示を行うためのマウス11、及び、図柄Aの原画の画像データを取込むためのイメージスキャナ12が、前記入出力インターフェイス6を介して接続されている。
【0019】
この場合、前記イメージスキャナ12は、カラーの読取りが可能なハンドスキャナからなり、オペレータがその上部を手で持って、下部の読取部を原画上に宛がい、ボタンを押しながら原画に沿ってなぞるように一方向に移動させることにより、図柄Aをラスター形式のデジタル画像データとして読取るようになっている。従って、このイメージスキャナ12が、本発明にいう画像読取手段として機能する。読取られた図柄画像データは、画素毎に、8ビットデータで表される原画の色に応じた色相値を備え、RAM4に記憶されるようになっている。
【0020】
さて、前記作成装置本体1は、そのソフトウエア構成により、図柄Aの原画に基づいて、刺繍データを自動的に作成するようになっている。刺繍データを作成するにあたっては、まず、前記イメージスキャナ12により図柄Aの画像データを読取り、この図柄画像データに基づいて、図柄Aを色毎に複数の単色領域に分割し、各単色領域に関して、刺繍データを作成するようになっている。
【0021】
このとき、詳しくは後述するように、作成装置本体1は、分割した各単色領域の画像を液晶ディスプレイ7に表示し、オペレータのマウス11の操作による刺繍不要領域の指定操作を待ち、オペレータにより刺繍不要領域が指定された場合には、その領域を除いて刺繍データを作成するようになっている。従って、作成装置本体1が本発明にいう領域分割手段及び刺繍データ作成手段として機能し、また、マウス11等から本発明にいう指定手段が構成されるのである。
【0022】
さらに、特に本実施例では、オペレータにより刺繍不要領域が指定された場合に、作成装置本体1は、刺繍不要領域の画像を液晶ディスプレイ7に表示し、オペレータによる修正の操作を待つようになっている。本実施例では、刺繍不要領域のうちでも、オペレータが刺繍データを作成したい部分があれば、修正操作によりその部分領域を刺繍不要領域から除いて刺繍データを作成することができるようになっているのである。これにて、本発明にいう修正手段の機能が実現されるようになっている。
【0023】
次に、このように構成された刺繍データ作成装置の動作について、図1及び図2並びに図5乃至図7も参照して述べる。ここでは、図5に示した図柄Aを具体例としながら説明する。また、図1のフローチャートは、刺繍データの作成手順の全体の概略を示しており、図2は、図1のフローチャートにおける、ステップS2の処理内容を示している。
【0024】
作成装置本体1において刺繍データ作成のプログラムが起動されると、図1のフローチャートに示す処理が実行される。まず、ステップS1では、図柄Aを描いた原画を、イメージスキャナ12により読取らせることにより、図柄画像データが読込まれる。この場合、上述のように、原画には所定の彩色がなされており、図柄画像データは、読込み画像の各画素毎に色に応じた色相値を備えることになる。また、この図柄画像データに基づいて、液晶ディスプレイ7の画面7aに図柄Aが表示されるようになっている。
【0025】
次のステップS2では、前記図柄画像データから、図5に示される図柄Aをその全領域を対象として色毎に複数の領域(単色領域)に分割する処理が行われる。この処理は、例えば図2のフローチャートに示すように、図柄画像データから、色相値が0から63までの画素を取出して(ステップS11)その画素の集合を赤色の単色領域とし(ステップS12)、色相値が64から127までの画素を取出して(ステップS13)その画素の集合を青色の単色領域とし(ステップS14)、色相値が128から191までの画素を取出して(ステップS15)その画素の集合を黄色の単色領域とし(ステップS16)、残り(色相値が192以上)の画素の集合を白色の単色領域とする(ステップS17)ことにより行われる。
【0026】
図5の図柄Aの例では、その図柄Aの全領域は、「丘」の部分B、「家」の部分C、「雲」の部分D、「空」及び「家の窓」の部分E及びFの4色(4個)の単色領域に分割されるようになる。このように分割された単色領域のデータは、一旦RAM4に格納される。
【0027】
ここで、上記4個の単色領域の中には、背景等の実際に刺繍を形成しなくても良い部分が存在する場合があり、必ずしも全ての単色領域に関して刺繍データを作成する必要はない。そこで、ステップS3及びS4にて、オペレータが刺繍の形成が不要な領域を指定することができるようになっている。即ち、各単色領域の画像が液晶ディスプレイ7の画面7aに表示される(ステップS3)。この場合、図柄Aの例では、図6に示すように、4個の単色領域の画像が一画面に表示されるようになる(四角の枠内にハッチングで示す部分が単色領域)。オペレータは、その画面を見ながらマウス11を操作して、刺繍不要領域を指定する(ステップS4)。この場合、オペレータは「空」及び「家の窓」の部分E及びFの画像を、刺繍不要領域として指定する。
【0028】
このような指定により、指定された刺繍不要領域に関して、刺繍データの作成の対象から除かれるのであるが、その領域の中でもオペレータが刺繍を形成したい部分が存在する場合がある。図柄Aの例では、「空」の部分Eは背景のため刺繍形成が不要であるが、「家の窓」の部分Fは、オペレータが刺繍を形成したいにも拘らず、「空」の部分Eと同色であったため「空」の部分Eと共に一つの単色領域とされ、オペレータの要望に反して刺繍不要領域に含まれてしまっていることになる。
【0029】
そこで、本実施例では、ステップS5及びS6にて、刺繍不要領域のうちでも、オペレータが刺繍データを作成したい部分があれば、その部分を指定することができるようになっている。即ち、図7に示すように、上記ステップS4にて指定された刺繍不要領域が液晶ディスプレイ7の画面7aに拡大表示され(ステップS5)、オペレータはマウス11の操作により、刺繍データを作成したい部分を指示することができるのである(ステップS6)。図柄Aの例では、オペレータ「家の窓」の部分Fを指示することにより、この部分だけは刺繍データの作成の対象とされるようになるのである。
【0030】
これにて、ステップS7では、「空」の部分Eを除く各領域(「丘」,「家」,「雲」,「家の窓」の部分B,C,D,F)に関する刺繍データが作成される。詳しい説明は省略するが、この刺繍データの作成は、この場合4個の各領域に対して、夫々、領域の輪郭を抽出してアウトラインデータが作成され、その領域内が複数個の四角形等のブロックに分割されてブロックデータが作成され、このブロックデータからいわゆる一針展開がなされることにより行われる。作成された刺繍データは、フラッシュメモリ10に記憶される(ステップS8)。そして、このフラッシュメモリ10を刺繍ミシンにセットすることにより、図柄Aの多色(4色)の刺繍形成が可能となるのである。
【0031】
このように本実施例の刺繍データ作成装置によれば、イメージスキャナ12により彩色された原画から画像データを読込むことに基づいて、図柄Aが色毎に複数の領域に分割されて各領域に関する刺繍データが自動的に作成される。従って、色毎の複数の図柄に分割した複数の原画を使用するような場合と異なり、オペレータがさほど手間をかけることなく、多色の刺繍に係る刺繍データを容易に作成することができる。そして、オペレータが背景等の刺繍の形成が不要な刺繍不要領域を指定することができ、その領域に関しては、刺繍データの作成から除かれるようになるので、不要部の刺繍データを作成せずに済ませることができるものである。
【0032】
さらに、特に本実施例では、刺繍不要領域の領域の中でもオペレータが刺繍を形成したい部分が存在する場合には、その部分を指定して刺繍データ作成の対象とする修正を行うことができるようにしたので、同色の領域に含まれる部分部分について、刺繍データを作成するかしないかを、より緻密に設定することが可能となるものである。
【0033】
次に、本発明の第2の実施例について、図8及び図9を参照して説明する。本実施例が上記第1の実施例と異なる点は、作成装置本体1のソフトウエア構成にある。即ち、本実施例では、作成装置本体1は、分割された単色領域のうち、図柄Aの背景である背景領域を自動判別し、その背景領域を除く各単色領域に関して刺繍データを作成するように構成されている。さらに、特に本実施例では、背景領域と判別された単色領域の中に、実際には背景でない部分があるかどうかをやはり自動判別し、その部分を刺繍データ作成の対象とする修正を行うように構成されている。
【0034】
図8のフローチャートは、本実施例における刺繍データの作成手順の全体の概略を示している。ステップS21及びS22では、上記第1実施例のステップS1及びS2と同様に、イメージスキャナ12により図柄Aを描いた彩色原画から図柄画像データが読込まれ、その図柄画像データから図柄Aを色毎に複数の単色領域に分割する処理が行われる。
【0035】
さて、ステップS23では、単色領域のうち、図柄Aの背景である背景領域を判別する処理が行われる。この判別は、例えば次のようにして行われる。即ち、図9に示すように、まず、各単色領域の画像に、二次元アドレス(x,y)を付し(但し、1≦x≦W、1≦y≦H)、縁辺領域Ψmを次のように定める。Ψm={(x,y)|1≦x≦wl,W−wr+1≦x≦W,1≦y≦hu,H−hd+1≦y≦H}ここで、wl,wr,hu,hdはそれぞれ縁辺領域の左,右,上,下の幅に相当する。
【0036】
そして、縁辺領域Ψm中の全画素に対して、画素が有効(黒レベル)であるものの数を算出することにより、n面の各単色領域の画像の縁辺有効画素数Ni(i=1,2,…,n)がそれぞれ求められる。ここで、縁辺領域の全画素数をN(Ψm)、しきい値をK(0.5<K<1)としたとき、
Ni/N(Ψm) > Kである単色領域を背景領域であると判断するのである。また、Niの値が最も大きい単色領域を背景領域であると判断するようにしても良い。これにより、図5の図柄Aの例では、「空」及び「家の窓」の部分E及びFの単色領域が背景であると判別される。
【0037】
このようにして背景領域が自動判別されると、次のステップS24にて、背景領域とされた単色領域の中で、刺繍を形成すべきところがあるかどうかが判別される。この処理は、任意の有効画素を選び、その4近傍あるいは8近傍を逐次探索することにより孤立した連結成分を取出し、全ての連結成分Φi(i=1,2,…,n)に対して(図9の例ではΦ1及びΦ2の2成分)以下の判別基準、
【0038】
【数1】

Figure 0003813131
【0039】
また、別の方法として、連結成分図形が縁辺領域にかかっている画素数のしきい値をP、連結成分図形の画素数のしきい値をQとし、
【0040】
【数2】
Figure 0003813131
【0041】
この後、ステップS25及びS26では、上記第1実施例のステップS7及びS8と同様に、各領域(「丘」,「家」,「雲」,「家の窓」の部分B,C,D,F)に関する刺繍データが作成され、作成された刺繍データがフラッシュメモリ10に記憶される。
【0042】
このように本実施例によれば、上記第1の実施例と同様に、多色の刺繍に係る刺繍データを容易に作成することができると共に、不要部の刺繍データを作成せずに済ませることができる。そして、図柄の背景である領域が自動で判別されるので、オペレータの手間をより一層低減することができる。しかも、特に本実施例では、背景領域と判断された単色領域のうち、刺繍を形成すべき部分を自動で判別して修正するようにしたので、同色の領域に含まれる部分部分について、刺繍データを作成するかしないかがより緻密に設定されるようになるのである。
【0043】
尚、上記各実施例においては、刺繍不要領域の修正(ステップS5及びS6)あるいは背景領域の修正(ステップS24)を行うようにしたが、これらの修正処理を必ずしも行わなくとも、所期の目的を達成することができる。また、第2の実施例の背景領域の自動修正(ステップS24)に代えて、第1の実施例の手動修正(ステップS5及びS6)を採用したり、第1の実施例の刺繍不要領域の手動修正(ステップS5及びS6)に代えて、第2の実施例の自動修正(ステップS24)を採用するようにすることもできる。
【0044】
【0045】
その他、本発明は上記した各実施例に限定されるものではなく、例えば単色領域をもっと細かい色毎に分割するようにしても良く、さらには、作成装置本体のハードウエア構成としても汎用のパーソナルコンピュータや、イメージスキャナを採用するようにしても良いなど、要旨を逸脱しない範囲内で適宜変更して実施し得るものである。
【0046】
【発明の効果】
以上の説明にて明らかなように、本発明によれば、次のような優れた実用的効果を得ることができる。
【0047】
即ち、請求項1の刺繍データ作成装置によれば、多色の刺繍に係る刺繍データを容易に作成することができると共に、不要部の刺繍データを作成せずに済ませることができるものである。
【0048】
さらに、請求項2の刺繍データ作成装置によれば、前記請求項1において、刺繍不要領域を刺繍データの作成領域に修正する修正手段を設けるようにしたので、同色の領域に含まれる部分部分について、刺繍データを作成するかしないかを、より緻密に設定することが可能となるものである。
【図面の簡単な説明】
【図1】 本発明の第1の実施例を示すもので、刺繍データの作成手順を示すフローチャート
【図2】 図1のステップS2の処理の内容を示すフローチャート
【図3】 刺繍データ作成装置の外観を示す斜視図
【図4】 電気的構成を示すブロック図
【図5】 図柄の一例を示す図
【図6】 刺繍不要領域の指定時の画面を示す図
【図7】 刺繍不要領域の修正時の画面を示す図
【図8】 本発明の第2の実施例を示す図1相当図
【図9】 背景領域の自動判断方法の説明のための図
【符号の説明】
1 作成装置本体
2 CPU
3 ROM
4 RAM
5 フラッシュメモリ装置
7 液晶ディスプレイ
10 フラッシュメモリ
11 マウス
12 イメージスキャナ[0001]
[Industrial application fields]
The present invention relates to an embroidery data creation apparatus for creating embroidery data necessary for embroidery formation in a sewing machine that forms embroidery with a predetermined pattern on a work cloth.
[0002]
[Prior art]
Conventionally, an embroidery sewing machine that automatically executes an embroidery forming operation on a work cloth has been provided. The embroidery sewing machine is operated based on stitch data instructing the amount of movement of the work cloth for each stitch in the X and Y directions, for example. The present applicant has developed and applied for an embroidery data creation apparatus that automatically creates embroidery data (stitch data or block data) in such an embroidery sewing machine.
[0003]
This embroidery data creation apparatus is configured, for example, by connecting an image scanner, a keyboard, a hard disk drive, a CRT display, and the like to a personal computer main body. Then, for example, stitch data is created from an original picture depicting the shape of an embroidery pattern as follows.
[0004]
First, image data is created by causing the original image to be read by an image scanner, and then outline data for defining the outline of the embroidery pattern is created from the image data. Then, from this outline data, the inside of the outline is divided into a plurality of blocks such as quadrangles that continue in the direction of embroidery, and block data indicating the position coordinates of the vertices of each block is created. Finally, from this block data Stitch data is created by so-called one-needle development.
[0005]
[Problems to be solved by the invention]
Incidentally, in recent years, consumers' preference for embroidery has been diversified and upgraded, and the performance of embroidery sewing machines has been improved, and accordingly, embroidery has become multicolored and sophisticated. In particular, even in a home embroidery sewing machine, not only can an embroidery of a pattern be created based on pre-stored embroidery data, but also an improvement in functions such as making it possible to form an embroidery of a user's desired pattern. Has been desired.
[0006]
In this case, in order to perform multicolor embroidery with different embroidery threads, it is necessary to divide the embroidery pattern into a plurality of areas for each color and create embroidery data for each area.
[0007]
However, in the conventional embroidery data creation apparatus as described above, for example, when the original image is a drawing on white paper, the embroidery data is created with the background portion also being a white area. This causes a problem that embroidery data is created up to a portion that does not need to be formed and embroidery is performed.
[0008]
The present invention has been made in view of the above circumstances, and an object of the present invention is to easily create embroidery data related to multi-colored embroidery and to eliminate the need to create embroidery data for unnecessary portions. To provide a data creation device.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, a first embroidery data creating apparatus according to the present invention creates an embroidery data necessary for forming an embroidery in a sewing machine that forms an embroidery of a predetermined pattern on a work cloth. An image reading means for reading a chromatic original image of a symbol as a symbol image data having a hue value corresponding to the color of the original image for each pixel, and based on the symbol image data, the symbol is set to the hue value for the entire area. a region dividing means for dividing into a plurality of areas for each color based, prior to the creation of embroidery data for the divided regions by the region dividing unit, an unnecessary embroidery unnecessary area formed embroidery among the divided regions Designating means for designating and embroidery data creating means for creating embroidery data relating to each area excluding the embroidery unnecessary area designated by the designating means .
[0010]
The second embroidery data creation apparatus of the present invention is provided with a correcting means for correcting an embroidery unnecessary area into an embroidery data creation area .
[0011]
According to the first embroidery data creation apparatus of the present invention having the above-described configuration, the color original image of the design is read by the image reading unit as design image data having a hue value corresponding to the color of the original image for each pixel , and the region dividing unit Thus, based on the design image data, the design is divided into a plurality of regions for each color based on the hue value for the entire region. Then, before the embroidery data creation means creates the embroidery data for each area divided for each color, the operator can designate the embroidery unnecessary area that does not require embroidery formation by the designation means, The area is excluded from the creation of embroidery data.
[0012]
Therefore, separate embroidery data for each color based on the colored original image is automatically created without much trouble for the operator, and the embroidery data for the area where embroidery formation such as the background is not required. Can be done without creating.
[0013]
Then, according to the second embroidery data creation apparatus of the present invention, the portion part included in the same color area, to create a embroidery data, or not, it is possible to set more precisely.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a first embodiment in which the present invention is applied to the creation of embroidery data for a home embroidery sewing machine will be described with reference to FIGS. In the present embodiment, a case where embroidery data for symbol A (a symbol where a house is on a hill and a cloud is floating in the sky) as shown in FIG. 5 is created will be described as a specific example. In this case, as shown by changing the form of hatching, portions B, C, and D of “hill”, “house”, and “cloud” in the original picture of the pattern A are colored differently, and the remaining portions (“ The portions “E” and “F” of “sky” and “house window” are left as they are (the color of the paper on which the original picture is drawn).
[0015]
First of all, although not shown, a home embroidery sewing machine will be briefly described. The embroidery sewing machine performs a sewing operation by a sewing needle and a shuttle mechanism while moving an embroidery frame arranged on a sewing machine bed and holding a work cloth to a predetermined position indicated by an x and y coordinate system unique to the apparatus by a horizontal movement mechanism. Thus, the embroidery of a predetermined pattern A is applied to the work cloth.
[0016]
In this case, the horizontal movement mechanism, the needle bar, and the like are controlled by a control device composed of a microcomputer or the like, and accordingly, the movement amount (needle drop) of the work cloth for each needle in the x and y directions. When the embroidery data (stitch data) instructing the (position) is given, the control device can automatically execute the embroidery operation. In this embodiment, the embroidery sewing machine is provided with a flash memory device, and embroidery data is provided from the outside by a flash memory (card memory) described later. The embroidery data creation apparatus according to this embodiment has a function of creating such embroidery data.
[0017]
Next, the overall configuration of the embroidery data creation apparatus according to the present embodiment will be described with reference to FIGS. FIG. 3 shows the appearance of the embroidery data creation device, and FIG. 4 shows the electrical configuration. Here, the creation device main body 1 is composed mainly of a microcomputer, and includes a CPU 2, a ROM 3, a RAM 4, and a flash memory device (FMD). 5 and the input / output interface 6 are connected to each other via a bus.
[0018]
A liquid crystal display (LCD) 7 for color-displaying the pattern A etc. on the screen 7 a is provided on the upper surface portion of the creating apparatus main body 1. The liquid crystal display 7 is controlled by a display control device (LCDC) 8, and a display storage device 9 is connected to the display control device 8. A flash memory 10 is detachably set in the flash memory device 5. A mouse 11 for an operator to give various instructions and an image scanner 12 for fetching image data of the original image of the pattern A are connected to the creating apparatus body 1 via the input / output interface 6. ing.
[0019]
In this case, the image scanner 12 is a hand scanner capable of reading a color, and an operator holds the upper part by hand, addresses the lower reading part on the original picture, and traces along the original picture while pressing the button. By moving in one direction as described above, the pattern A is read as raster format digital image data. Therefore, this image scanner 12 functions as the image reading means referred to in the present invention. The read symbol image data has a hue value corresponding to the color of the original image represented by 8-bit data for each pixel, and is stored in the RAM 4.
[0020]
Now, the creation device body 1 automatically creates embroidery data based on the original image of the pattern A by its software configuration. In creating the embroidery data, first, the image scanner 12 reads the image data of the design A, and based on the design image data, the design A is divided into a plurality of single color regions for each color. Embroidery data is created.
[0021]
At this time, as will be described in detail later, the creation apparatus main body 1 displays the image of each divided single color area on the liquid crystal display 7 and waits for an operation for designating an embroidery unnecessary area by the operation of the mouse 11 of the operator. When an unnecessary area is designated, embroidery data is created excluding the area. Therefore, the creation apparatus main body 1 functions as the area dividing means and the embroidery data creating means according to the present invention, and the designation means according to the present invention is constituted by the mouse 11 and the like.
[0022]
Further, particularly in the present embodiment, when the embroidery unnecessary area is designated by the operator, the creating apparatus main body 1 displays an image of the embroidery unnecessary area on the liquid crystal display 7 and waits for a correction operation by the operator. Yes. In this embodiment, if there is a part in which the operator wants to create embroidery data in the embroidery unnecessary area, the embroidery data can be created by removing the partial area from the embroidery unnecessary area by a correction operation. It is. Thus, the function of the correcting means according to the present invention is realized.
[0023]
Next, the operation of the embroidery data creation apparatus configured as described above will be described with reference to FIGS. 1 and 2 and FIGS. Here, a description will be given using the design A shown in FIG. 5 as a specific example. Further, the flowchart of FIG. 1 shows an outline of the entire procedure of creating embroidery data, and FIG. 2 shows the processing contents of step S2 in the flowchart of FIG.
[0024]
When the embroidery data creation program is started in the creation apparatus main body 1, the processing shown in the flowchart of FIG. 1 is executed. First, in step S1, the design image data is read by causing the image scanner 12 to read an original picture depicting the design A. In this case, as described above, the original picture has a predetermined color, and the design image data has a hue value corresponding to the color for each pixel of the read image. Further, the symbol A is displayed on the screen 7a of the liquid crystal display 7 based on the symbol image data.
[0025]
In the next step S2, a process of dividing the design A shown in FIG. 5 into a plurality of regions (monochromatic regions) for each color from the design image data is performed for the entire region. In this process, for example, as shown in the flowchart of FIG. 2, pixels having hue values from 0 to 63 are extracted from the design image data (step S11), and the set of pixels is set as a red single color region (step S12). Pixels having a hue value of 64 to 127 are extracted (step S13), and the set of pixels is set as a blue single color region (step S14). Pixels having a hue value of 128 to 191 are extracted (step S15). This is done by setting the set as a yellow monochrome region (step S16) and setting the set of remaining pixels (hue value 192 or more) as a white monochrome region (step S17).
[0026]
In the example of the pattern A in FIG. 5, the entire area of the pattern A includes a “hill” part B, a “house” part C, a “cloud” part D, an “sky” and a “house window” part E. And F are divided into four (four) monochrome areas. The data of the monochrome area divided in this way is temporarily stored in the RAM 4.
[0027]
Here, there are cases where the embroidery data such as the background may not be actually formed in the four monochrome areas, and it is not always necessary to create embroidery data for all the monochrome areas. Therefore, in steps S3 and S4, the operator can designate an area where embroidery formation is unnecessary. That is, the image of each single color area is displayed on the screen 7a of the liquid crystal display 7 (step S3). In this case, in the example of the pattern A, as shown in FIG. 6, images of four monochrome areas are displayed on one screen (the hatched portion in the square frame is a monochrome area). The operator operates the mouse 11 while looking at the screen to designate an embroidery unnecessary area (step S4). In this case, the operator designates the images of the portions E and F of “sky” and “house window” as embroidery unnecessary areas.
[0028]
By such designation, the designated embroidery unnecessary area is excluded from the target of creation of embroidery data, but there may be a part where the operator wants to form embroidery in the area. In the example of the pattern A, the “empty” portion E does not need to be embroidered because it is a background, but the “house window” portion F is the “empty” portion even though the operator wants to form embroidery. Since it is the same color as E, it is a single color area together with the “empty” portion E, and it is included in the embroidery unnecessary area against the request of the operator.
[0029]
Therefore, in this embodiment, if there is a part where the operator wants to create embroidery data among the embroidery unnecessary areas in steps S5 and S6, the part can be designated. That is, as shown in FIG. 7, the embroidery unnecessary area designated in step S4 is enlarged and displayed on the screen 7a of the liquid crystal display 7 (step S5), and the operator wants to create embroidery data by operating the mouse 11. Can be instructed (step S6). In the example of pattern A, when the operator instructs the part F of the "house window", this portion only is become to be the subject of creation of embroidery data.
[0030]
At step S7, the embroidery data relating to each region (parts B, C, D, F of “hill”, “house”, “cloud”, “house window”) excluding the “sky” portion E is obtained. Created. Although detailed description is omitted, in this case, the embroidery data is created by extracting outlines of the areas for each of the four areas, and creating outline data. Block data is created by being divided into blocks, and so-called single stitch expansion is performed from the block data. The created embroidery data is stored in the flash memory 10 (step S8). By setting the flash memory 10 on the embroidery sewing machine, it is possible to form a multicolor (four colors) embroidery of the pattern A.
[0031]
As described above, according to the embroidery data creation apparatus of this embodiment, the pattern A is divided into a plurality of areas for each color based on reading the image data from the original image colored by the image scanner 12. Embroidery data is automatically created. Therefore, unlike the case of using a plurality of original images divided into a plurality of symbols for each color, it is possible to easily create embroidery data relating to multicolor embroidery without much labor for the operator. An operator can specify an embroidery-free area that does not require the formation of embroidery such as a background, and the area is excluded from the creation of embroidery data. It can be done.
[0032]
Further, particularly in the present embodiment, when there is a part where the operator wants to form embroidery in the area of the embroidery unnecessary area, it is possible to specify the part and perform correction to create embroidery data. since the, for the part portion included in the same color area, to create a embroidery data, or not, in which it is possible to set more precisely.
[0033]
Next, a second embodiment of the present invention will be described with reference to FIGS. The difference between the present embodiment and the first embodiment lies in the software configuration of the creation apparatus main body 1. That is, in the present embodiment, the creation apparatus body 1 automatically determines the background area that is the background of the pattern A among the divided monochrome areas, and creates embroidery data for each monochrome area except the background area. It is configured. Further, particularly in the present embodiment, it is automatically determined whether or not there is a portion that is not actually the background in the single color region determined to be the background region, and the correction is performed so that the portion is the target for creating the embroidery data. It is configured.
[0034]
The flowchart of FIG. 8 shows an outline of the entire procedure for creating embroidery data in this embodiment. In steps S21 and S22, as in steps S1 and S2 of the first embodiment, the pattern image data is read from the original color image depicting the pattern A by the image scanner 12, and the pattern A is read from the pattern image data for each color. A process of dividing into a plurality of single color areas is performed.
[0035]
Now, in step S23, the process which discriminate | determines the background area | region which is the background of the pattern A among monochromatic areas is performed. This determination is performed as follows, for example. That is, as shown in FIG. 9, first, a two-dimensional address (x, y) is assigned to each monochrome region image (where 1 ≦ x ≦ W, 1 ≦ y ≦ H), and the edge region Ψm is set to the following. It is determined as follows. Ψm = {(x, y) | 1 ≦ x ≦ wl, W−wr + 1 ≦ x ≦ W, 1 ≦ y ≦ hu, H−hd + 1 ≦ y ≦ H} where wl, wr, hu, and hd are edges. Corresponds to the left, right, top, and bottom width of the region.
[0036]
Then, by calculating the number of pixels that are valid (black level) with respect to all the pixels in the edge region Ψm, the number of edge effective pixels Ni (i = 1, 2) in the image of each monochrome region on the n plane. ,..., N) are respectively obtained. Here, when the total number of pixels in the edge region is N (Ψm) and the threshold value is K (0.5 <K <1),
A single color area where Ni / N (Ψm)> K is determined to be a background area. Further, it may be determined that the monochrome area having the largest Ni value is the background area. Thereby, in the example of the pattern A in FIG. 5, it is determined that the monochromatic areas of the portions E and F of “sky” and “house window” are the background.
[0037]
When the background area is automatically determined in this way, in the next step S24, it is determined whether or not there is a place where embroidery should be formed in the single color area as the background area. In this process, an arbitrary effective pixel is selected, and an isolated connected component is extracted by sequentially searching the vicinity of 4 or 8 thereof, and all connected components Φi (i = 1, 2,..., N) are ( In the example of FIG. 9, the following two discrimination criteria: Φ1 and Φ2)
[0038]
[Expression 1]
Figure 0003813131
[0039]
As another method, the threshold value for the number of pixels of the connected component graphic over the edge region is P, the threshold value for the number of pixels of the connected component graphic is Q,
[0040]
[Expression 2]
Figure 0003813131
[0041]
Thereafter, in steps S25 and S26, as in steps S7 and S8 of the first embodiment, each region (parts B, C, D of “hill”, “house”, “cloud”, “house window”) , F) is created, and the created embroidery data is stored in the flash memory 10.
[0042]
As described above, according to this embodiment, similarly to the first embodiment, it is possible to easily create embroidery data relating to multi-colored embroidery and to avoid creating unnecessary embroidery data. Can do. And since the area | region which is a background of a symbol is discriminate | determined automatically, an operator's effort can be reduced further. In addition, in the present embodiment, since the portion where the embroidery is to be formed is automatically determined and corrected in the single color region determined to be the background region, the embroidery data for the portion included in the same color region is corrected. Whether to create or not will be set more precisely.
[0043]
In each of the above-described embodiments, the embroidery unnecessary area is corrected (steps S5 and S6) or the background area is corrected (step S24). Can be achieved. Further, instead of the automatic correction of the background area (step S24) of the second embodiment, the manual correction (steps S5 and S6) of the first embodiment is adopted, or the embroidery unnecessary area of the first embodiment is changed. Instead of manual correction (steps S5 and S6), the automatic correction (step S24) of the second embodiment may be employed.
[0044]
[0045]
In addition, the present invention is not limited to the above-described embodiments. For example, the monochromatic area may be divided into finer colors, and the general-purpose personal computer may be used as the hardware configuration of the creation apparatus body. For example, a computer or an image scanner may be adopted, and the present invention can be implemented with appropriate modifications within a range not departing from the gist.
[0046]
【The invention's effect】
As apparent from the above description, according to the present invention, the following excellent practical effects can be obtained.
[0047]
That is, according to the embroidery data creation apparatus of claim 1, embroidery data relating to multi-colored embroidery can be easily created, and unnecessary embroidery data need not be created.
[0048]
Further, according to the embroidery data creating apparatus of claim 2, in the above-mentioned claim 1, since the correcting means for correcting the embroidery unnecessary area into the embroidery data creating area is provided, the partial portion included in the same color area is provided. , to create the embroidery data, or not, in which it is possible to set more precisely.
[Brief description of the drawings]
FIG. 1 is a flowchart showing a procedure for creating embroidery data according to a first embodiment of the present invention; FIG. 2 is a flowchart showing the contents of processing in step S2 of FIG. FIG. 4 is a block diagram showing an electrical configuration. FIG. 5 is a diagram showing an example of a design. FIG. 6 is a diagram showing a screen when an embroidery unnecessary area is specified. FIG. 8 is a diagram illustrating a time screen. FIG. 8 is a diagram corresponding to FIG. 1 illustrating a second embodiment of the present invention. FIG. 9 is a diagram for explaining an automatic determination method of a background region.
1 Production device body 2 CPU
3 ROM
4 RAM
5 Flash memory device 7 Liquid crystal display 10 Flash memory 11 Mouse 12 Image scanner

Claims (2)

加工布に対し所定の図柄の刺繍を形成するミシンにおける、前記刺繍の形成に必要な刺繍データを作成するものであって、
前記図柄の彩色原画を画素毎に原画の色に応じた色相値を備える図柄画像データとして読取る画像読取手段と、
前記図柄画像データに基づいて前記図柄をその全領域を対象として前記色相値に基づく色毎に複数の領域に分割する領域分割手段と、
前記領域分割手段によって分割された領域に対する刺繍データの作成に先立って、前記分割された領域のうち刺繍の形成が不要な刺繍不要領域を指定するための指定手段と、
前記指定手段によって指定された前記刺繍不要領域を除く各領域に関する刺繍データを作成する刺繍データ作成手段とを具備することを特徴とする刺繍データ作成装置。
In a sewing machine that forms an embroidery of a predetermined pattern on a work cloth, embroidery data necessary for the formation of the embroidery is created,
Image reading means for reading the chromatic original image of the design for each pixel as design image data having a hue value corresponding to the color of the original image;
Area dividing means for dividing the design based on the design image data into a plurality of areas for each color based on the hue value for the entire area;
Prior to the creation of embroidery data for the area divided by the area dividing means, designation means for designating an embroidery unnecessary area that does not require embroidery formation among the divided areas;
An embroidery data creation device comprising: embroidery data creation means for creating embroidery data for each area excluding the embroidery unnecessary area designated by the designation means .
前記刺繍不要領域を刺繍データの作成領域に修正する修正手段を具備することを特徴とする請求項1に記載の刺繍データ作成装置。2. The embroidery data creation apparatus according to claim 1, further comprising a correction unit that corrects the embroidery unnecessary area to an embroidery data creation area .
JP2003067544A 2003-03-13 2003-03-13 Embroidery data creation device Expired - Fee Related JP3813131B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003067544A JP3813131B2 (en) 2003-03-13 2003-03-13 Embroidery data creation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003067544A JP3813131B2 (en) 2003-03-13 2003-03-13 Embroidery data creation device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP14184793A Division JP3424956B2 (en) 1993-06-14 1993-06-14 Embroidery data creation device

Publications (2)

Publication Number Publication Date
JP2003230782A JP2003230782A (en) 2003-08-19
JP3813131B2 true JP3813131B2 (en) 2006-08-23

Family

ID=27785867

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003067544A Expired - Fee Related JP3813131B2 (en) 2003-03-13 2003-03-13 Embroidery data creation device

Country Status (1)

Country Link
JP (1) JP3813131B2 (en)

Also Published As

Publication number Publication date
JP2003230782A (en) 2003-08-19

Similar Documents

Publication Publication Date Title
JP3424956B2 (en) Embroidery data creation device
US9979839B2 (en) Image processing device and medium storing image processing program
JP3552334B2 (en) Embroidery data processing device
JPH07238464A (en) Method for preparing embroidery data
JPH08141244A (en) Embroidering data preparing device
JP2007275104A (en) Embroidery data preparing device, embroidery data preparing program and computer-readable recording medium
JP2008110008A (en) Embroidery data creating device, embroidery data creating program, and recording medium recorded with the embroidery data creating program
JP2010131272A (en) Embroidery data generating device and embroidery data generating program
JPH07236784A (en) Pattern image reading and its device for embroidery data origination equipment
JPH07136357A (en) Embroidery data generating device
JP2019058411A (en) sewing machine
JP3813131B2 (en) Embroidery data creation device
JP3436420B2 (en) Image graphic processing method and image graphic processing apparatus
JP3769823B2 (en) Image processing device
JPH11114260A (en) Embroidery data processing apparatus and recording medium
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
JP2015084960A (en) Embroidery data creation device, embroidery data creation program, and computer-readable storage medium storing embroidery data creation program therein
JP2001149679A (en) Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device
JP3969159B2 (en) Embroidery data creation device, storage medium, and program
JPH07236785A (en) Pattern image reading and its device for embroidery data origination equipment
JPH10314471A (en) Embroidery data processor and embroidery sewing machine
JPH07144078A (en) Embroidery data preparing device
JP2001104670A (en) Sewing data processor
JPH07112084A (en) Sewing data generating device and sewing machine
JPH0838759A (en) Image pattern processor

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041026

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050118

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050318

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050324

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050415

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060530

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110609

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120609

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees