JPH0367435B2 - - Google Patents
Info
- Publication number
- JPH0367435B2 JPH0367435B2 JP61286273A JP28627386A JPH0367435B2 JP H0367435 B2 JPH0367435 B2 JP H0367435B2 JP 61286273 A JP61286273 A JP 61286273A JP 28627386 A JP28627386 A JP 28627386A JP H0367435 B2 JPH0367435 B2 JP H0367435B2
- Authority
- JP
- Japan
- Prior art keywords
- point
- contour
- image
- line
- display
- 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 - Lifetime
Links
Landscapes
- Automatic Embroidering For Embroidered Or Tufted Products (AREA)
- Sewing Machines And Sewing (AREA)
Description
(産業上の利用分野)
この発明は自動ミシン、主に複雑な刺繍模様の
針位置データを作成する刺繍ミシンのための針位
置データ処理装置に関するものである。
(従来の技術)
従来から自動刺繍縫いミシンにおいては針位置
データを作成する方法としては予め所定の用紙に
描かれた原図をタブレツト上に置き、この平面上
XY両方向に手で自由に移動されるように設置さ
れた位置検出機構の端子により、原図の輪郭線上
の点を指し、その点の位置情報を検出することに
より針落ち点の座標データを作成する方法が提案
されている。又、最も進んだ方法として、ビデオ
カメラから原図を読み取り、かつステツチプログ
ラムとして記憶装置に格納し、この記憶装置に格
納したデータに基づいて自動ステツチ装置を制御
する方法(特開昭58−99989号、特公昭57−8908
号)が提案されている。
(発明が解決しようとする問題点)
しかしながら、従来のタブレツトで縫目方向を
揃えるようにして位置情報を入力するにはタブレ
ツト上に基準とするものがないため、手間がかか
る問題があり、後者の方法は自動ではあつても、
模様、柄等の縫目方向を適宜選択することは不可
能であつた。
(目的)
この発明の目的は前記問題点を解消するために
なされたものであつて、模様、柄等に対応して縫
目方向を適宜選択することができ、模様、柄等に
対応した縫目方向の設定を早く行なうことができ
る刺繍ミシンのための針位置データ処理装置を提
供することにある。
(問題点を解決するための手段)
この発明は原画が描かれた担持体と、担持体の
原画を撮像する撮像手段と、画像表示面を有し、
前記撮像手段からの画像信号に基づいて画像表示
面に原画を表示する表示手段と、前記原画が表示
された前記表示手段の画像表示面上において、任
意の点を所望の刺繍縫目模様の輪郭点として指定
するための輪郭点指定手段と、前記指定された輪
郭点を通る輪郭線を前記表示手段に表示させる輪
郭線表示制御手段と、前記表示手段の画像表示面
に表示された輪郭線に交わる縫目方向参照線を指
定するための参照線指定手段と、前記参照線指定
手段により前記表示手段に縫目参照線を表示制御
する参照線表示制御手段と、当該輪郭線により囲
まれる領域を複数の多角形ブロツクに分割するブ
ロツクの頂点として前記縫目方向参照線と輪郭線
とが交わる点を指定するための頂点入力手段と、
各ブロツクを刺繍縫いするための縫目密度データ
を入力するための縫目密度入力手段と、前記頂点
座標データと縫目密度データとに基づいて前記各
ブロツクを刺繍縫いする針位置データを演算する
演算手段と、演算された針位置データを記憶する
記憶手段とを備えたことをその要旨とするもので
ある。
(作用)
この発明の装置は、撮像手段により担持体の原
画を撮像すると、表示手段が撮像手段からの画像
信号に基づいて画像表示面に原画を表示する。
そして、輪郭点指定手段により、前記原画が表
示された前記表示手段の画像表示面上の任意の点
を所望の刺繍縫目模様の輪郭点として指定する。
すると、輪郭線表示制御手段は指定された輪郭点
を通る輪郭線を前記表示手段に表示する。
次に参照線指定手段により表示手段の画像表示
面に表示された輪郭線に交わる縫目方向線を指定
する。そして、参照線表示制御手段は参照線指定
手段により表示手段に縫目参照線を表示制御す
る。縫目方向線と輪郭線とが交わる点を頂点とし
て頂点入力手段により指定し、前記輪郭線により
囲まれる領域を複数の多角形ブロツクに分割す
る。そして、縫目密度入力手段により各ブロツク
を刺繍縫いするための縫目密度データを入力する
と、演算手段は頂点入力手段により指定されて生
成された頂点座標データと縫目密度データとに基
づいて前記各ブロツクを刺繍縫いする針位置デー
タを演算する。演算された針位置データは記憶手
段にて記憶する。
(実施例)
以下、この発明の刺繍縫いミシンに具体化した
一実施例を第1図〜第9図に従つて説明する。
ミシンアーム1はテーブル2上に配設され、そ
の前端部には針棒支持ケース3が第2図における
矢印X方向に沿つて移動可能に支持されている。
5本の針棒4は前記支持ケース3にそれぞれ上下
動可能に支持され、下端には針5がそれぞれ着脱
可能に取着されている。そして、各針には図示し
ない糸供給源から針棒支持ケース3上の糸調子器
6及び天秤7を介して種類の異なる糸が供給され
る。針選択モータ8はミシンアーム1上に配設さ
れ、前記針棒支持ケース3に駆動連結されてい
る。そして、所定の針棒選択信号が前記針選択モ
ータ8に入力された時、前記針選択モータ8は針
棒支持ケース3を移動させて、1本の針5を所定
の使用位置に選択配置するようになつている。
ミシンモータ9はミシンアーム1の後部に配設
され、その動力がミシンアーム1内の動力伝達機
構(図示しない)を介して前記使用位置の針棒4
に伝達されてその針棒4が上下動されるようにな
つている。ミシンベツド10は前記使用位置に配
置された針棒4に対向してミシンテーブル2に突
設され、前記針5との協働により加工布Wに縫目
を形成するための糸輪捕捉器(図示しない)を内
蔵している。前記針5、糸輪捕捉器等により縫目
形成手段が構成されている。
一対のY方向移動枠11(一方のみ図示)はミ
シンテーブル2の左右両側縁においてY方向へ往
復動可能に配設され、図示しないY方向駆動モー
タによつて駆動される。又、両移動枠11間には
支持棒12が架設されている。X方向移動枠13
はその基端において前記支持棒12に沿つてX方
向へ移動可能に配設され、図示しないX方向駆動
モータによつて駆動される。加工布保持手段とし
ての加工布保持枠14は前記X方向移動枠13に
装着され、加工布Wを着脱可能に保持するように
なつている。
なお、前記Y,X方向移動枠11,13、支持
棒12及びY,X方向駆動モータにより、前記針
5の上下動に同期して加工布保持枠14と針5と
の相対位置を変化させるための送り手段としての
加工布送り装置15が構成され、加工布保持枠1
4と針5との相対移動によつて加工布Wに刺繍等
の縫目模様が形成される。
次にこの実施例におけるミシンの電気的構成に
ついて説明すると、外部記憶装置16は磁気デイ
スク及びデイスク駆動装置から構成され、その磁
気デイスク装置には縫製データとしての複数の縫
目模様データが記憶されている。この実施例では
縫目模様データは前記針5と加工布保持枠14と
の相対位置を指示する多数の相対位置データ、即
ち、針落ち位置(以下縫製点という)の座標Cn
(nは整数)によつて構成されている。
中央処理装置(以下、CPUという)17は輪
郭線表示制御手段、参照線表示手段、演算手段を
含んでいる。プログラムメモリ42は読出し専用
メモリからなり、このミシンの駆動制御、及び表
示手段としてのCRTからなるデイスクプレイ3
5を駆動制御するための各種制御フログラムを格
納している。作業用メモリ43は読出し及び書込
み可能なメモリからなり、針位置データを作成す
るとき、外部記憶装置16からの針位置データを
格納するとき等、各種データ、演算結果等を一時
的に記憶する領域等を有している。
操作キーボード18上には輪郭設定モードキー
19、ラインモードキー20、スムージングモー
ドキー21、スムージングモード終了キー22、
ロードキー23、ジヨグキー24、修正モードキ
ー25、取消しキー26、一連続輪郭線終了キー
27、一画像ブロツク終了キー28、縫製データ
作成モードキー29等の各種キーが設けられ、そ
れぞれのキーが操作されたときオン信号をCPU
17に出力する。輪郭設定モードキー19は輪郭
モードを設定するときに使用され、ラインモード
キー20は輪郭点の座標を入力するとき等に使用
される。このラインモードが設定されると、順次
入力される点をその順序で直線で結ぶものであ
る。スムージングモードキー21は指定された複
数個の点を滑かに曲線で近似するときに使用さ
れ、スムージングモード終了キー22はスムージ
ングモードを終了するときに使用される。
白黒のモノトーンモードにて原画を読取る撮像
手段としてのテレビカメラ30はエリアセンサと
呼ばれるCCD素子と、それに付属した同期信号
発生用及びタイミング発生用IC等を備えた制御
ユニツトから構成され、同じく原画を読取る撮像
手段としてのイメージセンサ31はラインセンサ
と呼ばれるCCD素子を主体に同期信号発生用及
びタイミング発生用IC等を含む制御ユニツトを
備えている。両撮像手段は原画の模様の色相、明
度又は彩度若しくはそれらの組合わせに応じて
CCD素子にて検出された画像信号を調整された
灰色しきい値と比較し、白色及び黒色の間の任意
の強度の灰色値を有する各画素をより明るい画素
とより暗い画素とに分類して2値化し、その2値
化した信号をビデオインタフエイス33を介して
CPU17に出力する。
なお、特に種々の色がラツプしている且つ縁取
りのない原画を読取る場合は各々の色と関連した
色フイルターを用いたり、色調設定値を種々選択
して所用の画像を得る方法をとる必要がある。こ
れらは公知である写真製版によるカラー印刷の技
術を援用することで解決できる。そして、CPU
17はその画像信号に基づきインタフエイス3
6、CRT駆動回路34を介してデイスプレイ3
5を表示駆動する。
輪郭点指定手段、頂点入力手段及び参照線指定
手段としてのライトペン37は位置検出回路3
8、インタフエイス36を介してCPU17に接
続され、デイスプレイ34上の画面を指したと
き、その指したポイントに基づいて位置検出手段
としての位置検出回路38は指示したポイントの
位置座標(以下、画像座標という)を検出し、
CPU17はその画像座標を画像メモリ44に記
憶する。又、画像メモリ44は輪郭線を指定確定
する際に確定された点群及び縫目方向参照線を参
照してブロツク化の処理が行なわれた時点での点
群(ターニングポイント)の画面上の位置を表わ
す座標値をそれらを結ぶ線(曲線を含む)ととも
に一画面そのまま記憶するようになつている。な
お、操作キーボード18に設けられた画像切替え
キー(図示しない)により選択的にテレビカメラ
30又はイメージセンサ31が読取つた画像信号
に基づいて信号にてデイスプレイ35に表示す
る。
駆動回路39,40,41はインタフエイス3
6を介してCPU17に接続され、CPU17から
の制御信号に基づいて針選択モータ8、ミシンモ
ータ9、加工布送り装置15をそれぞれ制御駆動
する。
さて、上記のように構成された針位置データ処
理装置によるサテン縫いのためのデータ入力を説
明する。
図示しない電源スイツチを投入し、針位置デー
タ処理装置のCPU17を有効化する。次に、原
画をテレビカメラ30又はイメージセンサ31に
て撮像すべくセツトし、画像切替えキーにて現在
原画Gを撮つている読取り手段に切替えCRTデ
イスプレイ35に画像を表示する(この実施例で
はテレビカメラ30による画像にて画面に表示)。
なお、原画は写真、既に加工布Wに縫製された刺
繍模様のサンプルであつてもよい。
今デイスプレイ35の画面35aにJパターン
51及びHパターン52が表示された場合、操作
キーボード18のエンベロープ線設定を兼用する
基準線設定キー(図示しない)のオン操作と、ラ
インペン37で画面35a上の所望の位置(ポイ
ントA)を指示することによりCPU17は制御
プログラムに基づいて参照すべき水平基準ライン
53を画面35a上に表示する。そして、両パタ
ーン51,52が画面35aの設定範囲内に納ま
るようにかつ、参照すべき水平基準ライン53が
原画Gの水平と同一になるようカメラ30の高さ
及びカメラ30と原画Gとを相対回転又は相対移
動することにより位置を合わせる。又、操作キー
ボード18上のデータ入力手段としての縫目ピツ
チ設定キー47及び数字キー48のキー入力によ
り縫目ピツチをCPU17に出力し、CPU17は
作業用メモリ43の所定記憶領域に記憶する。
次に画面35a上においてJ又はHパターンの
周囲に位置するポイントB点をラインペン37に
て指示することにより自動ミシンの加工布送り装
置15のX方向に対応するX方向エンベロープ線
54を表示させ、同様にC,D点を指示すること
により、同じく加工布送り装置15のY方向に対
応するY方向エンベロープ線55a,55bを表
示するとともに、X方向及びY方向のエンベロー
プ線のうち、少なくとも一方向が画面35a上に
おける画像表示範囲56の境界線56aと同一に
なるように表示画像の拡大変換を操作キーボード
18からの拡大キー(図示しない)操作に基づい
て行う。この時、変換は画像表示範囲56の左下
の点Eと、Y方向のエンベロープ線55a及びX
方向エンベロープ線(水平基準線)53との交点
Fとを一致させるとともに、原画Gのパターンの
Y方向の長さYAを基準として画像表示範囲56
におけるY方向範囲内にパターンが入るように
し、X方向はY方向の拡大比率と同一比率にする
のがよい。この時点でデイスプレイ35の画素と
これから作成していく縫い模様の大きさおよび縫
いデータとの比率が固定され、作業用メモリ43
の所定の記憶領域にその変換比率が記憶される。
例えば画素表示範囲56のY方向長さYDが
400ドツト、X方向長さXDは600ドツトのドツト
表示で表示されるようになつているとする。一
方、パターンのX方向長さXA=100、パターン
のY方向長さYA=80mmであるとすると、
画像表示範囲56のY方向の1ドツトは
YA/400=80/400=0.2mm
即ち、0.2mmの分解能であり、この0.2mmをX方
向に当はめれば
XA/XD1=0.2
(XD1は拡大後のパターン長さを表わすドツト
数)
XA=100であるから
XD1=100/0.2=500
即ち、パターンの拡大後のX方向は500ドツト
で表示される。
そのため、第5図に示すようにY方向エンベロ
ープ線55bは残ることになる。前記のように所
望に拡大した後、Y方向エンベロープ線55bを
消去すべくライトペン37にてY方向エンベロー
プ線55bを指示した後、操作シーボード18の
取消しキー26のオン操作すると、CPU17は
Y方向エンベロープ線55bを画面35aから消
去する。なお、原画Gの寸法に関係なく、縫い上
がり寸法を指定入力してもよく、又、XAの寸法
を基準としてもよく、もちろん、X方向及びY方
向の変換比率がそれぞれ異なつていても良いの
で、前のエンベロープ線を画像表示範囲いつぱい
になるように拡大、縮小してもよい。
(1) 輪郭点データ入力
次に画像の輪郭点を入力するステツプについ
て説明する。
なお、本実施例では縫われるべき刺繍模様の
大きさは加工布送り装置15の最小分解能の整
数倍の値であるとし、本実施例で使用される座
標系とはドツトによる画面の画像座標系と加工
送り装置15の分解能による針位置データ座標
系との2つを主とする。一方、CPU17にお
いて演算処理中に用いる数値はデイスプレイ3
5上の点の位置をライトペン37にて画像座標
系で入力されたデータを真数値座標系に変換処
理し、それらの演算結果は作業用メモリ43の
所定の領域にそれぞれ格納されるとともに、針
位置データとして保存されるときには外部記憶
装置16に真数値座標系で記憶される。
そして、真数値座標系のデータはデイスプレ
イ35に画面表示するときは画像座標系に、及
び加工布送り装置15を駆動制御して、縫目を
形成する為の針位置データ化を行う場合は、針
位置データ座標系にそれぞれ座標変換させるも
のとし、以後の説明においては必要に応じてこ
れらの座標変換を適宜行なつているものとして
座標系間における座標変換の説明を説明の便宜
上省略する。
第6図において作業者は輪郭設定モードキー
19をオン操作して輪郭設定モードにし、画像
35a上に表示されているJパターン51の輪
郭に沿つてライトペン37を用いて輪郭点をP
1から順次P15まで入力していく。このと
き、操作キーボード18から2つのモードが適
宜選択される。
まず、ラインモードキー20をキー入力して
ラインモードに設定し、この縫目模様の基準点
として第4図で使用した画像表示範囲56の左
下のポイントFを採る。この基準点というのは
縫いサイクル終了時、自動的に相対針位置をこ
のポイントFにもつてくるためのものである。
なお、このポイントFは縫いサイクルのスター
ト位置に当るものであつても良く、又、別の縫
目模様とコンビネーシヨンする時の参照点とし
てこの模様のX及びY方向の大きさを決める基
準点として使用してもよい。
次にP1点をライトペン37で画面の画像表
示範囲56内の画像を参照しながら、且つ作業
者の判断を混じえて入力する。この入力は画像
の輪郭上のエツジポイントを採つても良いし、
画像上のエツジポイントから離間した点を採つ
ても良い。ライトペン37で入力されたデータ
に基づいてCPU17は指示された点P1をデ
イスプレイ35の画面35aに点滅表示する。
所望の位置であればロードキー23をキー入力
してこの点を固定する(即ち点滅表示を解除し
て無点滅表示にする)。
尚、一点ずつ入力するのは繁雑になるので、
最も新しい入力ポイントを点滅表示にしてお
き、次の点ライトペン37で入力してもよい。
するとCPU17は先のP1点を自動的に固定
し、その時に入力された点を点滅させる。な
お、輪郭設定モード時において基準点(この実
施例ではポイントF)から最初に入力されたP
1点の間は直線で結ばれないようになつてい
る。
次に操作キーボード18からラインモードキ
ー20をキー入力し、ラインモードに設定す
る。その後、P2点を前記と同様選択指示する
と、CPU17は画面35a上のP1点を常灯
しP2点を点滅させる。そして、ロードキー2
3を入力することによりP2点も常灯として固
定すると、CPU17は両点P1・P2の間を
直線で結んだ輪郭線を表示する。尚、CPU1
7はそれらの二点間が直線で結ばれたのか曲線
で結ばれたのか線種類情報を作業用メモリ43
に記憶するようになつている。
次に画面35a上のP2点〜P3点〜P4点
の間は曲線としたいので改めて操作キーボード
18のスムージングモードキー21をキー入力
する。このスムージングモードでP3点,P4
点とライトペン37にて順次選択指示してい
き、P4点を選択指示した後スムージングモー
ド終了キー22をキー入力する。すると、
CPU17はP2点〜P3点〜P4点を滑かに
結ぶ曲線を表示しその曲線を点滅する。尚、P
3点とP2点との間、P3点とP4点との間は
1点以上を指示すれば精度を上げる上で望まし
い。
尚P3点が仮に指示されない場合はP2・P
4間を直径とする半円弧がP2点→P4点とい
う方向に関連して左右いずれかの側方に作られ
ることになる。又、点滅状態のP2点〜P3点
〜P4点を結ぶ曲線が意図した曲線でない時、
取消しキー26をキー入力すると、CPU17
はそのオン信号に基づいてP2点は残してP3
点、P4点を消し、それを結ぶ曲線をも消す。
そして、改めて操作キーボード18からスムー
ジングモードキー21をキー入力して前述と同
様に新たなP3点,P4点を入力し直す。
意図した曲線が得られたら、次にP4点〜P
11点迄の各点間を直線で結ぶべくラインモー
ドキー20をキー入力してラインモードとし、
P5点以下順次ライトペン37を用いてそれぞ
れポイントを選択指示し、P4点〜P11点迄
の各点間を直線で表示する。次にP11点〜P
15点迄の各点間をそれぞれ曲線で結ぶべくス
ムージングモードキー21をキー入力してスム
ージングモードとし、P12点以下順次ライト
ペン37を用いてそれぞれ点を選択指示し、P
11点〜P15点迄の各点間を曲線で表示す
る。
そして、P15点が点滅している状態又は固
定され常灯している状態のいずれの状態の場合
にも操作キーボード18から一連続輪郭線終了
キー27のキー入力がされると、CPU17は
P15点とP1点との間を直線で点滅表示す
る。尚、スムージングモードでP12点〜P1
3点〜P14点〜P15点と選択指示した場
合、スムージングモード終了キー22のキー入
力に先だつて一画像ブロツク終了キー28のキ
ー入力をした場合には、P15点に続いて既に
固定されているP1点間をスムージングすべき
終りの点として援用する。そして、この時点で
スムージングモート終了キー22を入力する
と、前記と同様にP12点〜P13点〜P14
点〜P15点〜P1点を滑かに結ぶ曲線を
CPU17は演算し、点滅する曲線として表示
する。このようにしてP15・P1間を点滅す
る直線又は曲線で表示した後、ロードキー23
のキー入力により点滅している前記直線又は曲
線を常灯表示する。
この結果、Jパターン51に基づいた輪郭線
51aが決定され、このようにして選択指定し
て固定された各P1〜P15の点は画の輪郭の
ターニングポイント(変曲区分点)となる。そ
して、輪郭点は入力するとき、固定された順に
F点から順次作業用メモリ43の所定の記憶領
域に座標(X,Y)が記憶され、そのX,Yの
位置はF点を絶対原点とした座標位置として記
憶される。
同様にHパターン52もライトペン37等に
て輪郭点P20〜P31を選択指示して固定し
て輪郭線52aを表示させる。このとき、それ
ぞれの輪郭点の座標は同様にF点からの座標位
置として順次作業用メモリ43の所定の記憶領
域に格納される。尚、採用した輪郭点の位置が
所望の位置でない時、その点が点滅している間
であればキーボード18上のジヨグキー24を
操作すると、そのときのキー入力に基づいて
CPU17は任意の方向にドツトピツチで輪郭
点を移動させる。既に固定している輪郭点を修
正したい場合はこの輪郭設定モード終了キー
(図示しない)のキー入力後、次の修正モード
にて行う。
(2) 修正モード
修正モードキー25をキー入力すると、
CPU17は修正モードに設定する。そして、
固定された輪郭点は作業用メモリ43に所定領
域に順次格納されているので数字キー48でス
テツプ数をキーインすることにより、修正すべ
き輪郭点を選択する。続いて、ジヨグキー24
を操作すると、そのキー入力に基づいてCPU
17は該輪郭点をドツト単位で移動し、その点
を点滅表示する。このとき、修正すべき輪郭点
に係る直線又は曲線の表示をCPU17は解消
する。さらに、操作キーボード上18の固定キ
ー(図示しない)のキー入力によりCPU17
は点滅表示を常灯表示して固定化し、CPU1
7は前記修正すべき輪郭点と、その輪郭点に隣
接する輪郭点との間が直線か曲線で結んでいた
かの線種類情報を作業用メモリ43から読出
し、その線種類情報に基づいて新たに修正され
た輪郭点と隣接する輪郭点の間を演算して両点
間を直線又は曲線で結ぶ。尚、既に固定された
輪郭点の間にさらに輪郭点を追加する場合には
操作キーボード18上の追加モードキー(図示
しない)をキー入力すると、CPU17は追加
モードに設定する。次にライトペン37により
新たに追加すべき輪郭点をどの輪郭点間に追加
するかを選択するために既に固定している互い
に隣接する一対の輪郭点をライトペン73で指
示選択する。
続いて、追加するべき輪郭点と隣接する一方
の輪郭点(最初に輪郭点を入力したときにより
早く入力された方の輪郭点)とを直線又は曲線
で結ぶかをラインモードキー20又はスムージ
ングモードキー21にてモード選択した後、追
加すべき点をライトペン37にて1つ以上指示
する。その後、ロードキー23をキー入力する
と、CPU17は追加した輪郭点を固定すると
ともに、その追加した輪郭点と隣接する一方の
輪郭点とを選択されたモードがラインモード
か、スムージングモードから従つて演算して直
線又は曲線に結ぶ。図中、P16点、P17
点、P18点、P19点はこのようにして新た
に追加された輪郭点である。
(3) ブロツク毎の針位置データの作成
次に、操作キーボード18の針位置データ作
成モード29をキー入力すると、CPU17は
データ基準点(スタート点)としてF点を点滅
させて相対位置を明示し、針位置データ作成モ
ードにする。次に、操作キーボード18に設け
た設定手段としてのレフアランススリツトモー
ドキー49をキー入力すると、CPU17はレ
フアランススリツトモードに設定する。又、こ
のとき作業者は縫目方向参照線(レフアランス
スリツト)の傾き(画面35aにおける水平
方向から時計方向に傾いている角度をいう)を
角度設定キー50にて設定すると、CPU17
はこの傾きを作業用メモリ43の所定の記憶
領域に格納する。
そして、このレフアランススリツトモードに
おいては作業者は前記表示された輪郭線上の任
意の点を指示することにより、その指示した点
を通る傾きを有する参照線を画面35a上に
表示し、表示された参照線と当該パターンの他
の輪郭線との交点を求める処理を行なう。すな
わち、第7図においてライトペン37にてP6
点を選択指定すると、CPU17はP6点の位
置座標と、P6点を通り傾きを有する縫目方
向参照線S1を画像表示範囲56内に表示す
る。そして、この参照線S1にて分割される輪
郭上の点を出すため、次に作業者はライトペン
37にてP7点とP8点とを選択指定する。す
ると、CPU17はP7点とP8点とを結ぶ輪郭線
と参照線S1との交点の座標を演算し、求めた
交点P34を画像表示範囲56に参照線S1の表
示とは異なる輝度で表示する。
又、同様にP5点をライトペン37にて選択
指定して、P5点を通る傾きを有する参照線
S2を表示し、次に、P7点とP8点とを選択
指定して、P7点とP8点とを結ぶ輪郭線と参
照線S2との交点を求め、求めた交点P35を
画像表示範囲56に参照線S2の表示とは異な
る輝度表示する。以下、同様の手順を行うこと
により輪郭線51aの輪郭点P10,P8,P
10,P1,P16,P15,P14,P4を
それぞれ通る参照線Sn(nは整数)と輪郭線5
1aとの他の交点P36,P37,P38,P
39,P40,P41,P42,P43を表示
する。
又、CPU17は前記交点の位置を演算して
求め、その交点を画面35aに表示したとき、
ライトペン37にて指定選択した輪郭点と、求
めた交点とを結ぶ直線S1a〜S10aのみ表
示し、参照線の他の要素をその度に画面から消
去する。このようにして輪郭線内を参照線を参
照して第8図に示すようにB1〜B13のブロツ
クを行なう。
次に区分したブロツク毎に針位置データを作
成する場合について説明する。
第8図に示すようにB1〜B13の各々のブロ
ツクをこの順でサテンでうめる場合について述
べる。まず、縫目密度を操作キーボード18に
設けた縫目密度設定キー46にて設定(これら
の値は再指定のない限り作業用メモリ43に保
存され、そのたびに用いられる)し、ライトペ
ン37にてブロツクB1の頂点101,102,
103の順に指定した後、ロードキー23をキ
ー入力する。なお、頂点102,103は前記
直線S6a上にとるが、このとき指定する頂点
は輪郭線51a上でもよいし、輪郭線51aか
ら離間した位置であつてもよい。いずれの場合
にもライトペン37にて指示した画面上35a
のポイントが選択指定されたものとCPU17
は判断する。
そして、CPU17は頂点101の画像座標
D101(XD101、YD101)は変換比率からこれを針
位置データ座標に置換えると、
C101(X、Y)=(XC101、YC101)
となる。以下、頂点102の針位置データ座標
(XC102、YC102)、頂点103の針位置データ座
標(XC103、YC103)をCPU17は演算し、さら
に縫目密度N(1mm当りN本の糸が渡る)を作
業用メモリ43から読出し、頂点102,10
3間の中点M1-2の座標の座標を下記の式に従
つて演算する。
中点M1-2のCM1-2=[XMa、YMa]=[(XC101+XC102)
/2、(YC101+YC102/2]
続いて中点M1-2と頂点101を直線で結んで
この距離lB1を割出し、
lB1=√(C101−Ma)2+(C101−Ma)2
これを縫目密度Nで掛けて、分割数m1を求め
る。
N×lB1=m1
そして、CPU17はこのm1で頂点101と頂
点102とを結ぶ直線素を割り、分割点110,
111,112の座標を割出す。同様にCPU1
7は頂点101と頂点103とを結ぶ直線素をも
割り、分割点120,121,122の座標を割
出す。そして、CPU17は各点の座標に基づき
加工布送り装置15の送り量及び縫製方向からな
る針位置データを下記の順に演算し、その演算結
果を外部記憶装置16に記憶する。
頂点101→分割点110→分割点121→分
割点112→頂点103
同様にブロツクB2の場合は四角形とみなして
縫目密度設定キー46で縫目密度を適正な数値に
入れなおした後、頂点201,202をライトペ
ン37にて入力した後、ロードキー23をキー入
力する。すると、CPU17は頂点201の画像
座標D201(XD201、YD201)及び頂点202の画像
座標D202(XD202、YD202)をそれぞれ針位置デー
タ座標に置換えて(XC201、YC201)、(XC202、
YC202)とし、さらに縫目密度N(1mm当りN本の
糸が渡る)を作業用メモリ43から読出し、頂点
201,202間の中点M2-3の座標を下記の式
に従つて演算する。
M2-3のCM2-3=[XMb、YMb]=[(XC201+XC202)/
2、(YC201+YC202/2]
続いて前記ブロツクB1のときにその座標を記
憶した中点M1-2と前記中点M2-3を直線で結んで
この距離lB2を割出し、
lB2=√(Ma−Mb)2+(Ma−Mb)2
これを縫目密度Nで掛けて、分割数m2を求め
る。
N×lB2=m2
そして、CPU17はこのm2で頂点102と頂
点201とを結ぶ直線素を割り、分割点210,
211,212の座標を割出す。同様にCPU1
7は頂点103と頂点202とを結ぶ直線素をも
割り、分割点220,221,222の座標を割
出す。そして、CPU17は各点の座標に基づき
加工布送り装置15の送り量及び縫製方向からな
る針位置データを下記の順に演算し、その演算結
果を外部記憶装置16に記憶する。
頂点103→分割点210→分割点221→分
割点212→頂点202
以下、ブロツクBが三角形である場合にはブロ
ツクB1と同様に、四角形である場合にはブロツ
クB2と同様にして以下B3〜B12における針位置
データを作成する。
なお、原画においてJ、Hの縁取りが行われて
いる場合には画面35aの色調を変えるだけでそ
の画像上のJパターン51、Hパターン52の縁
取りのみきわただせることが容易であるが、この
様な縁取りの無い場合、表示画面35aの各画素
即ち、各ドツトの内容の内、色調の階層(インテ
ンシテイ強化)を参照することにより、水平又は
垂直又は両方向を順次走査し、あるインテンシテ
イ以上の階層変化のあつたドツトを輪郭点と認知
し、この様な点の集合を改めて輪郭線として表示
させる自動プログラムや、画像の輪郭線上の点で
明白にエツジポイント(ターニングン点)と判断
できる点を自動的に表示して作業者をサポートす
るプログラムが採用されても助けになる。
なお、この発明は前記実施例に限定されるもの
ではなく、例えば輪郭点と認知された点の集合を
水平又は垂直又はこれらの両方向から走査し、走
査ライン上前述の点が1点から始まり、次に走査
ライン上ではその点の近傍で2点以上になつた点
又は逆にある走査ライン上で近接していた2点が
次の走査ライン上では1点となつたその点等をエ
ツジポイントとして、他の輪郭を表わす点群とは
表示上異なるように、例えば特定のサイクル数で
の点滅、又はカラーデイスプレイであれば特定の
色を付けて表示し、前述のターニングポイント選
択指定時の参考点として作業者を援助するととも
に、作業者がライトペン37でこれらのエツジポ
イントの近傍を選択指定した時、自動的にこのエ
ツジポイントが選択されたものとする自動ソフト
なども有効である。
又、前記実施例ではライトペン37を採用した
がデイスプレイ35上はマウス、タブレツトでポ
イントを表示して入力する方法もなんらさしつか
えない。さらに、輪郭線が表示されたとき、輪郭
点を輪郭線と区別できるように点滅又は色分表示
してもよく、又、画像の輪郭点を予めデイスプレ
イ35画面35a上にきわだたせて表示する表示
用プログラムが援助用に採用されても良い。
さらに、前記実施例では画面35a上には画像
座標系に基づいて縫製点を表示するようにしてい
るが、その代りに真数値座標系ににて画像表示し
たり、実際の針落ち点となる針位置データ座標系
にて画像表示したり、又、その両方の表示切替え
が可能に表示してもよいことは勿論のことであ
る。
(発明の効果)
以上詳述したようにこの発明は模様、柄等に対
応して縫目方向を適宜選択することができ、模
様、柄等に対応した縫目方向の設定を早く行なう
ことができ、データ入力のスピードアツプを図る
ことができる。さらに、この発明は原画を参照し
ながら自由に輪郭線を設定できるため、原画の形
状を若干修正して使いたい場合にも原画そのもの
を作成し直す必要がない等優れた効果を奏する。
(Industrial Application Field) The present invention relates to a needle position data processing device for automatic sewing machines, mainly embroidery sewing machines that create needle position data for complex embroidery patterns. (Prior art) Conventionally, in automatic embroidery sewing machines, the method of creating needle position data is to place an original drawing drawn on a predetermined sheet of paper on a tablet, and then
The terminal of the position detection mechanism installed so that it can be moved freely by hand in both the X and Y directions points to a point on the outline of the original drawing, and the coordinate data of the needle drop point is created by detecting the position information of that point. A method is proposed. The most advanced method is to read the original drawing from a video camera, store it in a storage device as a stitching program, and control an automatic stitching device based on the data stored in this storage device (Japanese Patent Laid-Open No. 58-99989). No., Special Publication Showa 57-8908
No.) has been proposed. (Problems to be Solved by the Invention) However, there is a problem in that it takes time and effort to input position information by aligning the seam directions on a conventional tablet because there is no reference on the tablet. Although the method is automatic,
It has been impossible to appropriately select the seam direction of patterns, patterns, etc. (Purpose) The purpose of this invention is to solve the above-mentioned problems, and it is possible to select the seam direction appropriately according to the pattern, pattern, etc. It is an object of the present invention to provide a needle position data processing device for an embroidery sewing machine that can quickly set the stitch direction. (Means for Solving the Problems) The present invention has a carrier on which an original picture is drawn, an imaging means for capturing an image of the original picture on the carrier, and an image display surface,
a display means for displaying an original image on an image display surface based on an image signal from the image pickup means; a contour point specifying means for specifying the specified contour point as a point; a contour display control means for causing the display means to display a contour line passing through the specified contour point; a reference line specifying means for specifying intersecting stitch direction reference lines, a reference line display control means for controlling display of the stitch reference line on the display means by the reference line specifying means, and an area surrounded by the contour line. vertex input means for specifying a point where the stitch direction reference line and the contour line intersect as the vertex of a block to be divided into a plurality of polygonal blocks;
Stitch density input means for inputting stitch density data for embroidering each block, and calculating needle position data for embroidering each block based on the vertex coordinate data and stitch density data. The gist thereof is to include a calculation means and a storage means for storing the calculated needle position data. (Function) In the apparatus of the present invention, when an original image on the carrier is imaged by the imaging means, the display means displays the original image on the image display surface based on an image signal from the imaging means. Then, the contour point specifying means specifies an arbitrary point on the image display surface of the display means on which the original image is displayed as the contour point of the desired embroidery stitch pattern.
Then, the contour line display control means displays a contour line passing through the designated contour points on the display means. Next, the reference line specifying means specifies a stitch direction line that intersects with the contour line displayed on the image display surface of the display means. The reference line display control means controls the display of the stitch reference line on the display means by the reference line designation means. The point where the stitch direction line and the contour line intersect is designated as a vertex by the vertex input means, and the area surrounded by the contour line is divided into a plurality of polygonal blocks. Then, when the stitch density data for embroidering each block is inputted by the stitch density input means, the calculation means calculates the stitch density data based on the vertex coordinate data and the stitch density data specified and generated by the vertex input means. Calculates needle position data for embroidering each block. The calculated needle position data is stored in the storage means. (Embodiment) An embodiment of an embroidery sewing machine according to the present invention will be described below with reference to FIGS. 1 to 9. The sewing machine arm 1 is disposed on a table 2, and a needle bar support case 3 is supported at its front end so as to be movable along the direction of arrow X in FIG.
The five needle bars 4 are each supported by the support case 3 so as to be movable up and down, and each needle 5 is detachably attached to the lower end thereof. Different types of thread are supplied to each needle from a thread supply source (not shown) via a thread tension device 6 and thread take-up 7 on the needle bar support case 3. A needle selection motor 8 is disposed on the sewing machine arm 1 and is drivingly connected to the needle bar support case 3. When a predetermined needle bar selection signal is input to the needle selection motor 8, the needle selection motor 8 moves the needle bar support case 3 to select and arrange one needle 5 at a predetermined use position. It's becoming like that. The sewing machine motor 9 is disposed at the rear of the sewing machine arm 1, and its power is transmitted to the needle bar 4 in the use position through a power transmission mechanism (not shown) in the sewing machine arm 1.
The needle bar 4 is moved up and down. A sewing machine bed 10 is provided in a protruding manner on the sewing machine table 2 opposite to the needle bar 4 disposed in the use position, and has a thread ring catcher (not shown) for forming stitches on the workpiece cloth W in cooperation with the needle 5. ) is built-in. The needle 5, thread loop catcher, etc. constitute a stitch forming means. A pair of Y-direction moving frames 11 (only one shown) is disposed on both left and right edges of the sewing machine table 2 so as to be able to reciprocate in the Y-direction, and is driven by a Y-direction drive motor (not shown). Further, a support rod 12 is installed between both moving frames 11. X direction moving frame 13
is disposed at its base end so as to be movable in the X direction along the support rod 12, and is driven by an X direction drive motor (not shown). A work cloth holding frame 14 serving as work cloth holding means is attached to the X-direction moving frame 13, and is configured to detachably hold the work cloth W. Note that the relative position between the work cloth holding frame 14 and the needle 5 is changed in synchronization with the vertical movement of the needle 5 by the Y- and X-direction moving frames 11 and 13, the support rod 12, and the Y- and X-direction drive motor. A work cloth feeding device 15 is configured as a feeding means for transporting the work cloth holding frame 1.
4 and the needle 5, a stitch pattern such as embroidery is formed on the work cloth W. Next, to explain the electrical configuration of the sewing machine in this embodiment, the external storage device 16 is composed of a magnetic disk and a disk drive device, and the magnetic disk device stores a plurality of stitch pattern data as sewing data. There is. In this embodiment, the stitch pattern data includes a large number of relative position data indicating the relative position between the needle 5 and the work cloth holding frame 14, that is, the coordinates Cn of the needle drop position (hereinafter referred to as sewing point).
(n is an integer). The central processing unit (hereinafter referred to as CPU) 17 includes contour line display control means, reference line display means, and calculation means. The program memory 42 consists of a read-only memory, and the drive control of this sewing machine and the disk display 3 consisting of a CRT as a display means.
It stores various control program for driving and controlling 5. The working memory 43 consists of a readable and writable memory, and is an area for temporarily storing various data, calculation results, etc. when creating needle position data, storing needle position data from the external storage device 16, etc. etc. On the operation keyboard 18 are a contour setting mode key 19, a line mode key 20, a smoothing mode key 21, a smoothing mode end key 22,
Various keys such as a load key 23, jog key 24, correction mode key 25, cancel key 26, one continuous contour line end key 27, one image block end key 28, and a sewing data creation mode key 29 are provided, and each key can be operated. CPU turns on signal when
Output to 17. The contour setting mode key 19 is used when setting the contour mode, and the line mode key 20 is used when inputting the coordinates of contour points. When this line mode is set, points input sequentially are connected with straight lines in that order. The smoothing mode key 21 is used to smoothly approximate a plurality of specified points with a curve, and the smoothing mode end key 22 is used to end the smoothing mode. The television camera 30, which serves as an imaging means for reading the original picture in black and white monotone mode, is composed of a CCD element called an area sensor and a control unit equipped with an attached IC for synchronization signal generation and timing generation. The image sensor 31 as a reading image pickup means is mainly equipped with a CCD element called a line sensor and a control unit including a synchronization signal generation IC, a timing generation IC, and the like. Both imaging means are used to capture images according to the hue, brightness, or saturation of the original pattern, or a combination thereof.
The image signal detected by the CCD element is compared with an adjusted gray threshold, and each pixel with a gray value of arbitrary intensity between white and black is classified as a brighter pixel or a darker pixel. The binarized signal is converted into a binary signal via the video interface 33.
Output to CPU17. In addition, especially when reading an original image in which various colors overlap and there is no border, it is necessary to use a color filter associated with each color or to select various tone settings to obtain the desired image. be. These problems can be solved by using a known color printing technique using photolithography. And the CPU
17 is the interface 3 based on the image signal.
6. Display 3 via CRT drive circuit 34
5 is displayed. A light pen 37 serving as a contour point specifying means, a vertex input means, and a reference line specifying means is connected to the position detection circuit 3.
8. It is connected to the CPU 17 via the interface 36, and when you point at the screen on the display 34, the position detection circuit 38 as a position detection means detects the position coordinates (hereinafter referred to as image) of the pointed point based on the pointed point. coordinates),
The CPU 17 stores the image coordinates in the image memory 44. In addition, the image memory 44 refers to the confirmed point group and stitch direction reference line when specifying and confirming the contour line, and stores the point group (turning point) on the screen at the time when the block processing is performed. The coordinate values representing the position are stored as is for one screen along with the lines (including curves) connecting them. Note that an image switching key (not shown) provided on the operation keyboard 18 is used to selectively display a signal on the display 35 based on an image signal read by the television camera 30 or the image sensor 31. Drive circuits 39, 40, 41 are interface 3
6 to the CPU 17, and controls and drives the needle selection motor 8, sewing machine motor 9, and work cloth feed device 15, respectively, based on control signals from the CPU 17. Now, data input for satin stitching using the needle position data processing device configured as described above will be explained. A power switch (not shown) is turned on to enable the CPU 17 of the needle position data processing device. Next, the original image is set to be imaged by the television camera 30 or image sensor 31, and the image switching key is used to switch to the reading means currently taking the original image G and display the image on the CRT display 35 (in this embodiment, the image is displayed on the TV camera 30 or the image sensor 31). (displayed on the screen as an image taken by the camera 30).
Note that the original image may be a photograph or a sample of an embroidery pattern already sewn onto the work cloth W. If the J pattern 51 and H pattern 52 are now displayed on the screen 35a of the display 35, turn on the reference line setting key (not shown) that also serves as envelope line setting on the operation keyboard 18 and use the line pen 37 to display the screen 35a. By instructing the desired position (point A), the CPU 17 displays the horizontal reference line 53 to be referred to on the screen 35a based on the control program. Then, the height of the camera 30 and the height of the camera 30 and the original image G are adjusted so that both patterns 51 and 52 fall within the setting range of the screen 35a, and the horizontal reference line 53 to be referenced is the same as the horizontal direction of the original image G. Align by relative rotation or relative movement. In addition, the stitch pitch is outputted to the CPU 17 by inputting the stitch pitch setting key 47 and the numeric keys 48 as data input means on the operation keyboard 18, and the CPU 17 stores it in a predetermined storage area of the working memory 43. Next, by pointing the point B located around the J or H pattern on the screen 35a with the line pen 37, an X-direction envelope line 54 corresponding to the X-direction of the work cloth feeder 15 of the automatic sewing machine is displayed. , by similarly indicating points C and D, the Y-direction envelope lines 55a and 55b corresponding to the Y-direction of the workpiece cloth feeding device 15 are displayed, and at least one of the X-direction and Y-direction envelope lines is displayed. The display image is enlarged based on an enlargement key (not shown) from the operation keyboard 18 so that the direction is the same as the boundary line 56a of the image display range 56 on the screen 35a. At this time, the conversion is performed between the lower left point E of the image display range 56, the envelope line 55a in the Y direction, and the
The image display range 56 is aligned with the intersection point F with the direction envelope line (horizontal reference line) 53, and the length YA of the pattern of the original image G in the Y direction is used as a reference.
It is preferable that the pattern is placed within the Y-direction range, and that the X-direction is set to the same enlargement ratio as the Y-direction enlargement ratio. At this point, the ratio between the pixels of the display 35 and the size and sewing data of the sewing pattern to be created from now on is fixed, and the working memory 43
The conversion ratio is stored in a predetermined storage area. For example, the length YD of the pixel display range 56 in the Y direction is
Assume that 400 dots and the length in the X direction XD are displayed as 600 dots. On the other hand, if the length of the pattern in the X direction is XA = 100, and the length of the pattern in the Y direction is YA = 80 mm, one dot in the Y direction of the image display range 56 is YA/400 = 80/400 = 0.2 mm, that is, 0.2 The resolution is mm, and if we apply this 0.2 mm to the X direction, then XA/XD1=0.2 (XD1 is the number of dots representing the pattern length after enlargement) Since XA=100, XD1=100/0.2=500, i.e. , the X direction after the pattern is enlarged is displayed as 500 dots. Therefore, the Y-direction envelope line 55b remains as shown in FIG. After enlarging as desired as described above, after instructing the Y-direction envelope line 55b with the light pen 37 to erase the Y-direction envelope line 55b, when the cancel key 26 of the operation seaboard 18 is turned on, the CPU 17 erases the Y-direction envelope line 55b. The direction envelope line 55b is deleted from the screen 35a. Note that, regardless of the dimensions of the original image G, the finished sewing dimensions may be specified and input, or the dimensions of XA may be used as a reference, and of course, the conversion ratios in the X direction and Y direction may be different. Therefore, you may enlarge or reduce the previous envelope line so that it fills the image display range. (1) Contour point data input Next, the steps for inputting the contour points of an image will be explained. In this embodiment, it is assumed that the size of the embroidery pattern to be sewn is an integral multiple of the minimum resolution of the work cloth feeder 15, and the coordinate system used in this embodiment is the image coordinate system of the screen using dots. and a needle position data coordinate system based on the resolution of the processing feed device 15. On the other hand, the numerical values used during arithmetic processing in the CPU 17 are displayed on the display 3.
5, the data input in the image coordinate system is converted into an exact numerical coordinate system using the light pen 37, and the results of these calculations are stored in predetermined areas of the working memory 43, respectively. When saved as needle position data, it is stored in the external storage device 16 in an exact numerical coordinate system. Then, when the data in the true numerical coordinate system is displayed on the screen on the display 35, it is converted into the image coordinate system, and when the workpiece cloth feeding device 15 is driven and controlled to convert it into needle position data for forming stitches, Coordinate transformation is performed in each coordinate system of the needle position data, and in the following explanation, it is assumed that these coordinate transformations are performed as necessary, and for the sake of convenience, explanation of coordinate transformation between the coordinate systems will be omitted. In FIG. 6, the operator turns on the contour setting mode key 19 to enter the contour setting mode, and uses the light pen 37 to set contour points along the contour of the J pattern 51 displayed on the image 35a.
Sequentially input from 1 to P15. At this time, two modes are appropriately selected from the operation keyboard 18. First, the line mode key 20 is input to set the line mode, and the lower left point F of the image display range 56 used in FIG. 4 is taken as the reference point for this stitch pattern. This reference point is used to automatically bring the relative needle position to point F at the end of the sewing cycle.
Note that this point F may correspond to the start position of the sewing cycle, and may also be used as a reference point for determining the size of this pattern in the X and Y directions when combining it with another stitch pattern. May be used as Next, point P1 is input using the light pen 37 while referring to the image within the image display range 56 on the screen and also with the operator's judgment. This input may take edge points on the outline of the image,
A point distant from the edge point on the image may be taken. Based on the data input with the light pen 37, the CPU 17 blinks and displays the designated point P1 on the screen 35a of the display 35.
If the desired position is reached, input the load key 23 to fix this point (that is, cancel the blinking display and change to a non-blinking display). Please note that inputting each item one by one is tedious, so
The newest input point may be displayed blinking, and the next point may be input using the light pen 37.
Then, the CPU 17 automatically fixes the previous point P1 and makes the point input at that time blink. In addition, in the contour setting mode, the first input P from the reference point (point F in this example)
Points are not connected by straight lines. Next, input the line mode key 20 from the operation keyboard 18 to set the line mode. Thereafter, when the user instructs to select point P2 in the same manner as described above, the CPU 17 lights point P1 on the screen 35a and causes point P2 to blink. And load key 2
When point P2 is also fixed as always lit by inputting 3, the CPU 17 displays an outline connecting both points P1 and P2 with a straight line. Furthermore, CPU1
7 is a working memory 43 that stores line type information as to whether those two points are connected by a straight line or a curved line.
I am learning to remember things. Next, since it is desired to form a curved line between points P2, P3, and P4 on the screen 35a, the smoothing mode key 21 of the operation keyboard 18 is pressed again. In this smoothing mode, P3 points, P4 points
Sequential selection instructions are made using the point and light pen 37, and after selecting and instructing point P4, the smoothing mode end key 22 is pressed. Then,
The CPU 17 displays a curve smoothly connecting points P2, P3, and P4, and blinks the curve. In addition, P
It is desirable to specify one or more points between points 3 and P2 and between points P3 and P4 in order to improve accuracy. In addition, if P3 point is not specified, P2・P
A semicircular arc having a diameter of 4 is created on either the left or right side in relation to the direction from point P2 to point P4. Also, when the curve connecting the blinking points P2, P3, and P4 is not the intended curve,
When the cancel key 26 is pressed, the CPU 17
is based on the on signal, leaving the P2 point and turning the P3 point on.
Erase the point P4 and the curve connecting it.
Then, the user presses the smoothing mode key 21 again from the operating keyboard 18 to input new points P3 and P4 in the same manner as described above. Once the intended curve is obtained, next point P4 ~ P
Enter line mode key 20 to connect each point up to 11 points with a straight line to enter line mode.
Points P5 and below are sequentially selected and instructed using the light pen 37, and each point from point P4 to point P11 is displayed as a straight line. Next, P11 points ~ P
Enter smoothing mode by inputting the smoothing mode key 21 to connect each point up to 15 points with a curved line, select and instruct each point using the light pen 37 sequentially from point P12, and
A curved line is displayed between each point from point 11 to point P15. Then, when the continuous contour end key 27 is pressed from the operation keyboard 18 in either the state where the P15 point is blinking or the state where it is fixed and constantly lit, the CPU 17 returns the P15 point. A blinking straight line is displayed between and the P1 point. In addition, in smoothing mode, P12 points to P1
When selecting points from 3 points to P14 points to P15 points, if the one-image block end key 28 is pressed before the smoothing mode end key 22 is pressed, the selected point is already fixed following the P15 point. The area between the P1 points is used as the end point to be smoothed. Then, when the smoothing mode end key 22 is input at this point, P12 points - P13 points - P14 points are input in the same way as above.
Draw a curve that smoothly connects the point ~ P15 point ~ P1 point
The CPU 17 calculates and displays it as a blinking curve. After displaying the blinking straight line or curve between P15 and P1 in this way, press the load key 2
When the key is input, the blinking straight line or curve is displayed as a constant light. As a result, a contour line 51a based on the J pattern 51 is determined, and each of the points P1 to P15 selected and fixed in this way becomes a turning point (inflection division point) of the contour of the image. When contour points are input, the coordinates (X, Y) are stored in a predetermined storage area of the working memory 43 in the fixed order starting from point F, and the X, Y positions are set with point F as the absolute origin. It is stored as the coordinate position. Similarly, for the H pattern 52, contour points P20 to P31 are selected and fixed using a light pen 37 or the like, and a contour line 52a is displayed. At this time, the coordinates of each contour point are similarly sequentially stored in a predetermined storage area of the working memory 43 as coordinate positions from point F. Furthermore, when the position of the adopted contour point is not the desired position, if the jog key 24 on the keyboard 18 is operated while the point is blinking, the position will be changed based on the key input at that time.
The CPU 17 moves the contour points in a dot pitch in an arbitrary direction. If it is desired to modify contour points that have already been fixed, enter the next modification mode after inputting the contour setting mode end key (not shown). (2) Modification mode When the modification mode key 25 is entered,
The CPU 17 is set to correction mode. and,
The fixed contour points are sequentially stored in predetermined areas in the working memory 43, so by keying in the number of steps using the numeric keys 48, the contour point to be corrected is selected. Next, Jiyog Key 24
When you operate the CPU, based on that keystroke.
Step 17 moves the contour point dot by dot and displays the point blinking. At this time, the CPU 17 cancels the display of straight lines or curved lines related to the contour points to be corrected. Furthermore, the CPU 17 can be activated by inputting 18 fixed keys (not shown) on the operation keyboard.
fixes the blinking display to a constant display, and CPU1
7 reads the line type information indicating whether the contour point to be corrected and the contour point adjacent to the contour point is connected by a straight line or a curve from the working memory 43, and creates a new line based on the line type information. Calculations are made between the corrected contour point and the adjacent contour point, and the two points are connected by a straight line or curve. In addition, when further contour points are to be added between already fixed contour points, when an addition mode key (not shown) on the operation keyboard 18 is inputted, the CPU 17 is set to the addition mode. Next, in order to select between which contour points a new contour point is to be added, the light pen 73 indicates and selects a pair of already fixed contour points adjacent to each other. Next, press the line mode key 20 or smoothing mode to select whether to connect the contour point to be added and one of the adjacent contour points (the contour point input earlier when inputting the contour point first) with a straight line or a curve. After selecting the mode using the key 21, one or more points to be added are indicated using the light pen 37. After that, when the load key 23 is pressed, the CPU 17 fixes the added contour point and calculates the added contour point and one of the adjacent contour points according to whether the selected mode is line mode or smoothing mode. and connect it to a straight line or curve. In the figure, P16 points, P17 points
Point, P18 point, and P19 point are contour points newly added in this way. (3) Creation of needle position data for each block Next, when the needle position data creation mode 29 is entered on the operation keyboard 18, the CPU 17 makes point F blink as the data reference point (start point) to clearly indicate the relative position. , enter needle position data creation mode. Next, when a reference slit mode key 49 as a setting means provided on the operation keyboard 18 is inputted, the CPU 17 sets the reference slit mode. Also, at this time, when the operator sets the inclination of the stitch direction reference line (reference slit) (the angle of inclination clockwise from the horizontal direction on the screen 35a) using the angle setting key 50, the CPU 17
stores this slope in a predetermined storage area of the working memory 43. In this reference slit mode, the operator specifies an arbitrary point on the displayed contour line to display a reference line having an inclination passing through the specified point on the screen 35a. A process is performed to find the intersection between the reference line and other contour lines of the pattern. That is, in FIG. 7, P6 is
When a point is selected and specified, the CPU 17 displays the position coordinates of point P6 and a stitch direction reference line S1 passing through point P6 and having an inclination within the image display range 56. Then, in order to find points on the contour divided by this reference line S1, the operator next selects and specifies points P7 and P8 with the light pen 37. Then, the CPU 17 calculates the coordinates of the intersection of the reference line S1 and the contour line connecting points P7 and P8, and displays the obtained intersection P34 in the image display range 56 with a brightness different from that of the reference line S1. Similarly, point P5 is selected and specified with the light pen 37 to display a reference line S2 having an inclination that passes through point P5, and then points P7 and P8 are selected and specified, and points P7 and P8 are displayed. The intersection point between the contour line connecting the points and the reference line S2 is determined, and the determined intersection point P35 is displayed in the image display range 56 with a brightness different from that of the reference line S2. Hereinafter, by performing the same procedure, the contour points P10, P8, P of the contour line 51a are
Reference line Sn (n is an integer) passing through 10, P1, P16, P15, P14, and P4, respectively, and contour line 5
Other intersections with 1a P36, P37, P38, P
39, P40, P41, P42, and P43 are displayed. Further, when the CPU 17 calculates and obtains the position of the intersection point and displays the intersection point on the screen 35a,
Only the straight lines S1a to S10a connecting the contour points designated and selected with the light pen 37 and the obtained intersection points are displayed, and other elements of the reference line are erased from the screen each time. In this manner, blocks B1 to B13 are performed within the contour line with reference to the reference line as shown in FIG. Next, the case where needle position data is created for each divided block will be explained. The case where each of the blocks B1 to B13 is filled with satin in this order as shown in FIG. 8 will be described. First, set the stitch density using the stitch density setting key 46 provided on the operation keyboard 18 (these values are stored in the working memory 43 and used each time unless specified again), and then press the light pen 37. At the vertices 101, 102 of block B1,
103, and then input the load key 23. Note that although the vertices 102 and 103 are taken on the straight line S6a, the specified vertices at this time may be on the contour line 51a or may be located at a position apart from the contour line 51a. In either case, 35a on the screen indicated by the light pen 37
The point is selected and CPU17
is to judge. Then, the CPU 17 uses the image coordinates of the vertex 101
When D101 (X D101 , Y D101 ) is replaced with needle position data coordinates from the conversion ratio, C101 (X, Y) = (X C101 , Y C101 ). Below, the CPU 17 calculates the needle position data coordinates (X C102 , Y C102 ) of the vertex 102 and the needle position data coordinates (X C103 , Y C103 ) of the vertex 103, and further calculates the stitch density N (N threads per 1 mm). ) is read from the working memory 43 and the vertices 102, 10 are
The coordinates of the midpoint M 1-2 between 3 are calculated according to the following formula. C M1-2 of midpoint M 1-2 = [X Ma , Y Ma ] = [(X C101 + X C102 )
/2, (Y C101 + Y C102 /2] Next, connect the midpoint M 1-2 and the vertex 101 with a straight line to find this distance l B1 , l B1 = √ ( C101 − Ma ) 2 + ( C101 − Ma ) 2 Multiply this by the stitch density N to find the number of divisions m1. N×l B1 = m1 Then, the CPU 17 divides the straight line element connecting the vertices 101 and 102 by this m1, and divides the division point 110,
Determine the coordinates of 111 and 112. Similarly, CPU1
7 also divides the line element connecting the vertices 101 and 103, and determines the coordinates of the division points 120, 121, and 122. Based on the coordinates of each point, the CPU 17 calculates needle position data consisting of the feed amount and sewing direction of the work cloth feed device 15 in the following order, and stores the calculation results in the external storage device 16. Vertex 101→Dividing point 110→Dividing point 121→Dividing point 112→Vertex 103 Similarly, block B2 is regarded as a rectangle, and after resetting the stitch density to an appropriate value using the stitch density setting key 46, the vertex 201 , 202 with the light pen 37, and then press the load key 23. Then, the CPU 17 replaces the image coordinates D201 (X D201 , Y D201 ) of the vertex 201 and the image coordinates D202 (X D202 , Y D202 ) of the vertex 202 with the needle position data coordinates (X C201 , Y C201 ), (X C202 ,
Y C202 ), read out the stitch density N (N threads per mm) from the working memory 43, and calculate the coordinates of the midpoint M 2-3 between the vertices 201 and 202 according to the following formula. do. C M2-3 of M2-3 = [X Mb , Y Mb ] = [(X C201 + X C202 )/
2. (Y C201 +Y C202 /2) Next, connect the midpoint M 1-2 whose coordinates were memorized in block B1 with a straight line and calculate this distance l B2 . l B2 = √ ( Ma - Mb ) 2 + ( Ma - Mb ) 2 Multiply this by the stitch density N to find the number of divisions m2. Divide the straight line element connecting 201 to the dividing point 210,
Determine the coordinates of 211 and 212. Similarly, CPU1
7 also divides the straight line connecting the vertices 103 and 202, and determines the coordinates of the division points 220, 221, and 222. Based on the coordinates of each point, the CPU 17 calculates needle position data consisting of the feed amount and sewing direction of the work cloth feed device 15 in the following order, and stores the calculation results in the external storage device 16. Vertex 103→Dividing point 210→Dividing point 221→Dividing point 212→Vertex 202 Hereinafter, when block B is a triangle, it is similar to block B1, and when it is a quadrilateral, it is processed similarly to block B2. Create needle position data at Note that if the original image has J and H edges, it is easy to make the edges of the J pattern 51 and H pattern 52 on the image stand out simply by changing the color tone of the screen 35a. If there is no such border, by referring to the color tone hierarchy (intensity enhancement) of the contents of each pixel, that is, each dot, on the display screen 35a, the horizontal, vertical, or both directions are sequentially scanned, and the contents of each pixel or dot of the display screen 35a are sequentially scanned, An automatic program that recognizes dots that have undergone a hierarchical change as contour points and displays a set of such points as a contour line, or a point on the contour line of an image that can be clearly determined to be an edge point (turning point). It would also be helpful if a program were adopted that automatically displays points to assist the operator. Note that the present invention is not limited to the above-mentioned embodiments; for example, a set of points recognized as contour points is scanned horizontally or vertically or in both directions, and the above-mentioned points on the scanning line start from one point, Next, a point where there are two or more points in the vicinity of that point on a scanning line, or conversely, where two points that were close on a certain scanning line become one point on the next scanning line, is the edge point. As a point group representing other contours, the display is different from the point group representing other contours, for example by blinking at a specific number of cycles, or by adding a specific color if it is a color display. It is also effective to use automatic software that not only assists the worker with edge points but also automatically assumes that when the worker selects and designates the vicinity of these edge points with the light pen 37, this edge point is selected. Further, although the light pen 37 was used in the above embodiment, it is also acceptable to display and input points using a mouse or a tablet on the display 35. Furthermore, when the contour line is displayed, the contour points may be displayed blinking or in different colors so as to be distinguishable from the contour line, or the contour points of the image may be displayed in advance in a prominent manner on the screen 35a of the display 35. Display programs may be employed to assist. Further, in the embodiment described above, the sewing points are displayed on the screen 35a based on the image coordinate system, but instead, the images may be displayed on the true numerical coordinate system, or the actual needle drop points may be displayed on the screen 35a. It goes without saying that the image may be displayed in the needle position data coordinate system, or may be displayed in such a way that the display can be switched between both. (Effects of the Invention) As detailed above, the present invention allows the seam direction to be appropriately selected in accordance with the pattern, pattern, etc., and allows the seam direction to be quickly set in accordance with the pattern, pattern, etc. This can speed up data entry. Furthermore, since the outline can be set freely while referring to the original image, the present invention has excellent effects such as eliminating the need to recreate the original image itself even when the shape of the original image is to be modified slightly.
第1図はこの発明を多針刺瀟ミシンに具体化し
た実施例の電気ブロツク回路図、第2図は同じく
多針刺瀟ミシンの全体斜視図、第3図はデイスプ
レイに画像が表示された状態の説明図、第4図は
同じくエンペロープ線が表示されたときの説明
図、第5図は画像を拡大したときの説明図、第6
図は同じく輪郭点を指示したときの説明図、第7
図は参照線を表示したときの説明図、第8図はブ
ロツク化したときの説明図、第9図は同じく要部
説明図である。
1はミシンアーム、3は針棒支持ケース、5は
針、14加工布保持枠、15は加工布送り装置、
16は記憶手段としての外部記憶装置、17は輪
郭線表示制御手段、参照線表示制御手段、演算手
段としての中央処理装置(CPU)、30は撮像手
段としてのビデオカメラ、31は同じく撮像手段
としてのイメージセンサ、35は表示手段として
のデイスプレイ、37は輪郭点指定手段、頂点入
力手段及び参照線指定手段としてのライトペン、
46は縫目密度入力手段としての縫目密度設定キ
ー、47は縫目ピツチ設定キー、Wは加工布。
Fig. 1 is an electrical block circuit diagram of an embodiment of the present invention as a multi-needle sewing machine, Fig. 2 is an overall perspective view of the multi-needle sewing machine, and Fig. 3 shows an image displayed on the display. An explanatory diagram of the state, Fig. 4 is an explanatory diagram when the envelope line is also displayed, Fig. 5 is an explanatory diagram when the image is enlarged, and Fig. 6 is an explanatory diagram when the image is enlarged.
The figure is also an explanatory diagram when specifying contour points, No. 7
The figure is an explanatory diagram when the reference line is displayed, FIG. 8 is an explanatory diagram when the reference line is displayed as a block, and FIG. 9 is an explanatory diagram of the main part. 1 is a sewing machine arm, 3 is a needle bar support case, 5 is a needle, 14 is a work cloth holding frame, 15 is a work cloth feeding device,
16 is an external storage device as a storage means, 17 is an outline display control means, a reference line display control means, and a central processing unit (CPU) as a calculation means; 30 is a video camera as an imaging means; 31 is also an imaging means. 35 is a display as a display means, 37 is a light pen as a contour point specifying means, a vertex input means and a reference line specifying means,
46 is a stitch density setting key as a stitch density input means, 47 is a stitch pitch setting key, and W is a work cloth.
Claims (1)
号に基づいて画像表示面に原画を表示する表示手
段と、 前記原画が表示された前記表示手段の画像表示
面上において、任意の点を所望の刺繍縫目模様の
輪郭点として指定するための輪郭点指定手段と、 前記指定された輪郭点を通る輪郭線を前記表示
手段に表示させる輪郭線表示制御手段と、 前記表示手段の画像表示面に表示された輪郭線
に交わる縫目方向参照線を指定するための参照線
指定手段と、 前記参照線指定手段により前記表示手段に縫目
参照線を表示制御する参照線表示制御手段と、 当該輪郭線により囲まれる領域を複数の多角形
ブロツクに分割するブロツクの頂点として前記縫
目方向参照線と輪郭線とが交わる点を指定するた
めの頂点入力手段と、 各ブロツクを刺繍縫いするための縫目密度デー
タを入力するための縫目密度入力手段と、 前記頂点座標データと縫目密度データとに基づ
いて前記各ブロツクを刺繍縫いする針位置データ
を演算する演算手段と、 演算された針位置データを記憶する記憶手段と
を備えたことを特徴とする刺繍ミシンのための針
位置データ処理装置。[Scope of Claims] 1. A carrier having an original image drawn thereon, an imaging means for capturing an image of the original image on the carrier, and an image display surface, the original image being displayed on the image display surface based on an image signal from the imaging means. a display means for displaying; a contour point designation means for designating an arbitrary point as a contour point of a desired embroidery stitch pattern on the image display surface of the display means on which the original image is displayed; a contour line display control means for displaying a contour line passing through the contour points on the display means; a reference line specifying means for specifying a stitch direction reference line that intersects the contour line displayed on the image display surface of the display means; , reference line display control means for controlling the display of a stitch reference line on the display means by the reference line specifying means; a vertex input means for specifying a point where a reference line and a contour line intersect; a stitch density input means for inputting stitch density data for embroidering each block; and the vertex coordinate data and stitches. A needle position for an embroidery sewing machine, comprising: a calculation means for calculating needle position data for embroidering each block based on the density data; and a storage means for storing the calculated needle position data. Data processing equipment.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28627386A JPS63139586A (en) | 1986-12-01 | 1986-12-01 | Needle position data processing device for embroidery sewing machine |
| GB8727104A GB2199165B (en) | 1986-11-21 | 1987-11-19 | Stitch data processing apparatus for embroidery sewing machine |
| US07/122,765 US4849902A (en) | 1986-11-21 | 1987-11-19 | Stitch data processing apparatus for embroidery sewing machine |
| DE3739647A DE3739647C2 (en) | 1986-11-21 | 1987-11-23 | Device for generating and processing stitch data for embroidery sewing machines |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28627386A JPS63139586A (en) | 1986-12-01 | 1986-12-01 | Needle position data processing device for embroidery sewing machine |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63139586A JPS63139586A (en) | 1988-06-11 |
| JPH0367435B2 true JPH0367435B2 (en) | 1991-10-22 |
Family
ID=17702229
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28627386A Granted JPS63139586A (en) | 1986-11-21 | 1986-12-01 | Needle position data processing device for embroidery sewing machine |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63139586A (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE3138364A1 (en) * | 1981-09-26 | 1983-04-07 | Männel, Friedrich, 7527 Kraichtal | "METHOD FOR CONTROLLING AN EMBROIDERY MACHINE" |
| JPS60119981A (en) * | 1983-12-01 | 1985-06-27 | 株式会社中日本システム | Embroidering sewing machine |
-
1986
- 1986-12-01 JP JP28627386A patent/JPS63139586A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63139586A (en) | 1988-06-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4849902A (en) | Stitch data processing apparatus for embroidery sewing machine | |
| US5095835A (en) | Method and apparatus for pattern duplication through image acquisition utilizing machine vision programs with a sewing apparatus having X-Y axis movement | |
| US8522701B2 (en) | Sewing machine and computer-readable medium storing control program executable on sewing machine | |
| JP3932625B2 (en) | Embroidery sewing machine and pattern data editing device | |
| US4998489A (en) | Embroidering machines having graphic input means | |
| JP2523346B2 (en) | Automatic device for creating embroidery data for computer embroidery machines | |
| US5740057A (en) | Embroidery data creating device | |
| US5592891A (en) | Embroidery data processing apparatus and process of producing an embroidery product | |
| USRE50499E1 (en) | Sewing machine | |
| JPH10137467A (en) | Pattern sewing apparatus, pattern sewing method and pattern display method | |
| EP2386673A1 (en) | Sewing machine and non-transitory computer-readable medium storing sewing machine control program | |
| JP2015093127A (en) | sewing machine | |
| WO2017090295A1 (en) | Embroidery pattern editing program and embroidery pattern editing device | |
| JP2020162764A (en) | Sewing machine and pattern alignment method | |
| JPH03861A (en) | Data-creating device for embroidery machine | |
| JPH05103884A (en) | Embroidery needle drop data creation device | |
| US5576968A (en) | Embroidery data creating system for embroidery machine | |
| JPH06339588A (en) | Sewing machine equipped with positioning function between fabric to be sewn and enbroidery frame | |
| US7210419B2 (en) | Sewing machine capable of embroidery sewing and display control program therefor | |
| JP2015104442A (en) | sewing machine | |
| JP2001000761A (en) | Embroidery sewing machine display | |
| JPH04364884A (en) | Embroidery data correcting apparatus | |
| JPH0367434B2 (en) | ||
| JPH0367435B2 (en) | ||
| JP3023376B2 (en) | Sewing machine embroidery data creation method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |