JP3140182B2 - Embroidery sewing data creation device - Google Patents
Embroidery sewing data creation deviceInfo
- Publication number
- JP3140182B2 JP3140182B2 JP04180501A JP18050192A JP3140182B2 JP 3140182 B2 JP3140182 B2 JP 3140182B2 JP 04180501 A JP04180501 A JP 04180501A JP 18050192 A JP18050192 A JP 18050192A JP 3140182 B2 JP3140182 B2 JP 3140182B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- distribution
- stitch
- data
- peaks
- 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
Links
Landscapes
- Sewing Machines And Sewing (AREA)
- Automatic Embroidering For Embroidered Or Tufted Products (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は刺繍縫いデータ作成装
置に関し、特に原画データの形状により自動的に最適の
縫い目方向を決定し、縫い上がりの見栄えを改善した刺
繍縫いデータを作成できる刺繍縫いデータ作成装置に関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an embroidery sewing data creating apparatus, and more particularly to an embroidery sewing data which can automatically determine an optimum stitch direction based on the shape of original image data and create embroidery sewing data with an improved appearance of sewing. Related to a creating device.
【0002】[0002]
【従来の技術】従来、白紙に描かれた原画パターンをイ
メージスキャナで読取って“0”、“1”の2値データ
に変換し、該2値データを刺繍縫いデータに変換する刺
繍縫いデータ作成装置が提案され、特許出願されている
(特願昭2−250101号)。2. Description of the Related Art Conventionally, embroidery stitching data generation is performed in which an original image pattern drawn on a blank sheet is read by an image scanner, converted into binary data "0" and "1", and the binary data is converted into embroidery sewing data. An apparatus has been proposed and a patent application has been filed (Japanese Patent Application No. 2-250101).
【0003】その概略の構成を、図12を参照して説明
する。図において、20は画像入力装置の1例としての
イメージスキャナであり、その側面には読み取り開始ボ
タン22が設けられている。該イメージスキャナ20は
専用ケーブル21、およびプラグ23により、画像→刺
繍縫いデータ変換装置24に電気的及び機械的に接続さ
れている。[0003] The schematic configuration will be described with reference to FIG. In the figure, reference numeral 20 denotes an image scanner as an example of an image input device, and a reading start button 22 is provided on a side surface thereof. The image scanner 20 is electrically and mechanically connected to an image-to-embroidery sewing data conversion device 24 by a dedicated cable 21 and a plug 23.
【0004】また、前記画像→刺繍縫いデータ変換装置
24には、表示部25、操作キー部26、RAMカード
18からデータを書き込むカードライタ部27等が設け
られている。The image-to-embroidery sewing data converter 24 includes a display unit 25, an operation key unit 26, a card writer unit 27 for writing data from the RAM card 18, and the like.
【0005】30は原画パターンが書かれた用紙であ
る。この用紙30としては好ましくは白い紙が用いら
れ、この紙上に、黒色のペン等で線幅1ミリメートル以
上の文字、絵等の原画パターンが描かれている。Reference numeral 30 denotes a sheet on which an original pattern is written. Preferably, white paper is used as the paper 30, on which original patterns such as characters and pictures having a line width of 1 mm or more are drawn with a black pen or the like.
【0006】次に、前記刺繍縫いデータ作成装置の動作
を説明する。前記イメージスキャナ20が読み取り開始
ボタン22を押しながらY方向に移動されると、原画パ
ターンが2値データとして読み取られ、画像→刺繍縫い
データ変換装置24の図示されていないメモリに記憶さ
れる。Next, the operation of the embroidery sewing data creating apparatus will be described. When the image scanner 20 is moved in the Y direction while pressing the reading start button 22, the original image pattern is read as binary data and stored in a memory (not shown) of the image → embroidery sewing data conversion device 24.
【0007】画像→刺繍縫いデータ変換装置24は、該
メモリに記憶された2値データを刺繍縫いデータに変換
する。この時、画像→刺繍縫いデータ変換装置24は、
イメージスキャナ20の移動方向と垂直な方向に刺繍縫
いされるように縫いデータを形成する。図示の例では、
イメージスキャナ20はY方向に移動されるので、X方
向に刺繍縫いされるように縫いデータを形成する。形成
された縫いデータは、RAMカード18に書き込まれ
る。The image-to-embroidery sewing data converter 24 converts the binary data stored in the memory into embroidery sewing data. At this time, the image → embroidery sewing data conversion device 24
The sewing data is formed so that the embroidery is sewn in the direction perpendicular to the moving direction of the image scanner 20. In the example shown,
Since the image scanner 20 is moved in the Y direction, sewing data is formed so that embroidery is performed in the X direction. The formed sewing data is written to the RAM card 18.
【0008】さて、例えば、横方向に長い模様を刺繍縫
いする場合、該横方向に縫い目を形成して刺繍をするよ
り、縦方向に縫い目を形成して刺繍をする方が、その仕
上がりが綺麗であることが知られている。逆に、縦方向
に長い模様に対しては、縦方向に縫い目を形成するよ
り、横方向に縫い目を形成する方が、その仕上がりが綺
麗になることが知られている。For example, when embroidering a pattern that is long in the horizontal direction, it is better to embroider by forming the seam in the vertical direction than to perform embroidering by forming the seam in the horizontal direction. It is known that Conversely, it is known that forming a seam in the horizontal direction makes the finish more beautiful for a pattern that is long in the vertical direction than forming a seam in the vertical direction.
【0009】換言すれば、長細い模様を刺繍縫いする場
合には、この模様と並行方向に縫い方向を選択すると縫
い上がりがあまり綺麗にならないことが知られている。In other words, it is known that, when embroidering a long and thin pattern, if the sewing direction is selected in a direction parallel to this pattern, the sewing finish is not so beautiful.
【0010】[0010]
【発明が解決しようとする課題】そこで、従来の刺繍縫
いデータ作成装置で綺麗に刺繍縫いできる縫いデータを
作成しようとすると、前記イメージスキャナ20の移動
方向を原画パターンによって変えなければならず、操作
が煩雑になるという問題があった。Therefore, in order to create sewing data that can be neatly sewn with a conventional embroidery sewing data creating apparatus, the moving direction of the image scanner 20 must be changed according to the original image pattern. Is complicated.
【0011】また、原画パターンによっては、X、Y方
向のいずれの方向に縫い目を形成した方が縫い上がりが
綺麗になるかの判断が難しいという問題があった。Also, depending on the original pattern, it is difficult to determine in which of the X and Y directions the stitches are formed to make the stitching clearer.
【0012】本発明の目的は、前記した従来技術の問題
点を除去し、イメージスキャナの移動方向に拘束されず
に、自動的に最適の縫い目方向を決定できる刺繍縫いデ
ータ作成装置を提供することにある。SUMMARY OF THE INVENTION It is an object of the present invention to provide an embroidery sewing data creating apparatus which can eliminate the above-mentioned problems of the prior art and can automatically determine an optimal stitch direction without being restricted by a moving direction of an image scanner. It is in.
【0013】[0013]
【課題を解決するための手段】前記目的を達成するため
に、本発明は、図1に示されているように、画像入力装
置から読み込まれた原画データを記憶する画像データ記
憶手段1と、該画像データ記憶手段1に記憶されている
画像データの少なくとも2方向の分布を測定する分布測
定手段2と、前記画像データの分布から、各方向の山又
は谷の数を比較する比較手段3と、前記山又は谷の一番
多い方向とは垂直の方向を縫い目方向に設定する縫い目
方向設定手段4と、前記画像データを、前記設定された
縫い目方向の縫い目データに変換する縫い目データ変換
手段5とを具備した点に特徴がある。なお、前記縫い目
データ変換手段5によって変換された縫い目データはR
AMカード等で構成された縫い目データ記憶手段6に記
憶される。According to the present invention, there is provided an image data storage means for storing original image data read from an image input device, as shown in FIG. A distribution measuring unit 2 for measuring a distribution of image data stored in the image data storing unit 1 in at least two directions, and a comparing unit 3 for comparing the number of peaks or valleys in each direction from the distribution of the image data. A stitch direction setting means 4 for setting a direction perpendicular to the direction of the largest number of peaks or valleys as a stitch direction; and a stitch data conversion means 5 for converting the image data into stitch data in the set stitch direction. It is characterized by having the following. The stitch data converted by the stitch data converting means 5 is R
It is stored in the stitch data storage means 6 constituted by an AM card or the like.
【0014】[0014]
【作用】本発明によれば、画像データ記憶手段に記憶さ
れた画像データの分布の山又は谷の数を求めることによ
り、原画パターンの要素がいずれの方向に長い傾向があ
るかを求めることができる。前記縫い目方向設定手段
は、この長い方向とは垂直の方向に縫い目方向を設定
し、縫い目データ変換手段は、前記画像データを該設定
された縫い目方向の縫い目データに変換する。According to the present invention, by determining the number of peaks or valleys in the distribution of image data stored in the image data storage means, it is possible to determine in which direction the elements of the original image pattern tend to be longer. it can. The stitch direction setting means sets a stitch direction in a direction perpendicular to the long direction, and the stitch data conversion means converts the image data into stitch data in the set stitch direction.
【0015】以上の動作により、自動的に縫いデータの
変換の最適方向を決定することができるので、使用者は
読み取り方向を気にすることなく、自由に原画を読み取
ることができ、かつ刺繍縫いの仕上がりの見栄えを良く
することができる。By the above operation, the optimum direction of the conversion of the sewing data can be automatically determined, so that the user can freely read the original image without worrying about the reading direction, and can perform the embroidery sewing. Can improve the appearance of the finish.
【0016】[0016]
【実施例】以下に、図面を参照して、本発明を詳細に説
明する。図2は、本発明の刺繍縫いデータ作成装置のハ
ード構成を示すブロック図であり、20は原画30を読
み取る画像読取装置、40は該刺繍縫いデータ作成装置
の動作を制御する中央演算装置(CPU)、41は前記
画像読取装置20から読み取られた画像データを記憶す
るデータ記憶手段、42は刺繍縫いデータ作成装置の動
作プログラムを記憶するプログラム記憶手段、43は刺
繍データ記憶手段である。該刺繍データ記憶手段43は
例えばRAMカードから構成されている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing a hardware configuration of the embroidery sewing data creation device of the present invention. Reference numeral 20 denotes an image reading device that reads an original image 30, and 40 denotes a central processing unit (CPU) that controls the operation of the embroidery sewing data creation device. ) And 41 are data storage means for storing image data read from the image reading apparatus 20, 42 is a program storage means for storing an operation program of the embroidery sewing data creating apparatus, and 43 is an embroidery data storage means. The embroidery data storage means 43 is composed of, for example, a RAM card.
【0017】また、44は表示部制御手段、25は液晶
表示部である。該液晶表示部25には、操作者に指示す
るための操作順序や、画像読取装置20で読み取られた
原画パターン等が表示される。Reference numeral 44 denotes a display control means, and reference numeral 25 denotes a liquid crystal display. The liquid crystal display unit 25 displays an operation sequence for instructing an operator, an original image pattern read by the image reading device 20, and the like.
【0018】次に、該刺繍縫いデータ作成装置の概略の
機能を、図3の機能ブロック図により説明する。Next, a schematic function of the embroidery sewing data creating apparatus will be described with reference to a functional block diagram of FIG.
【0019】画像読取装置20によって原画パターンが
読み込まれると、読み込まれた画像データは画像データ
記憶手段41aに記憶される。画像データ記憶手段41
aに記憶された画像データは、データ処理手段40aに
より、ノイズ除去等の処理を受け、処理データ記憶手段
41bに記憶される。該処理データ記憶手段41bに記
憶された画像データは、刺繍データ変換手段40bによ
り、畳み縫い、ジグザグ縫い等の刺繍データに変換さ
れ、刺繍データ記憶手段43に記憶される。When the original image pattern is read by the image reading device 20, the read image data is stored in the image data storage means 41a. Image data storage means 41
The image data stored in a is subjected to processing such as noise removal by the data processing unit 40a, and is stored in the processed data storage unit 41b. The image data stored in the processing data storage unit 41b is converted by the embroidery data conversion unit 40b into embroidery data such as folding stitching and zigzag stitching, and stored in the embroidery data storage unit 43.
【0020】ここに、前記画像データ記憶手段41aお
よび処理データ記憶手段41bは図2の画像データ記憶
手段41と対応させることができ、またデータ処理手段
40aと刺繍データ変換手段40bは前記中央演算装置
(CPU)の動作に対応させることができる。Here, the image data storage means 41a and the processed data storage means 41b can correspond to the image data storage means 41 of FIG. 2, and the data processing means 40a and the embroidery data conversion means 40b are connected to the central processing unit. (CPU) operation.
【0021】本発明は、前記刺繍データ変換手段40b
を改善した点に特徴があり、以下にその実施例を詳細に
説明する。The present invention relates to the embroidery data converting means 40b.
The feature of the present embodiment is that it is improved, and its embodiment will be described in detail below.
【0022】まず、本実施例の原理を図4を参照して説
明する。いま、図示されているようなx方向に伸びる3
本の線からなる原画パターン51があったとすると、こ
の原画パターンの画像データ、すなわち“0”、“1”
からなるデータのうちの“1”データのx方向の分布X
yjとy方向の分布Yxiを求める。次いで、該分布から
x、y両方向の山の数を求め、その大小を比較する。図
示の例では、x方向の分布Xyjの山の数は3、Y方向の
分布Yxiの山の数は1となり、x方向の分布Xyjの山の
数の方が大きくなる。First, the principle of this embodiment will be described with reference to FIG. Now, as shown in FIG.
Assuming that there is an original image pattern 51 composed of book lines, the image data of this original image pattern, that is, “0”, “1”
Distribution x in the x direction of "1" data among the data consisting of
yj and the distribution Yxi in the y direction are obtained. Next, the number of peaks in both the x and y directions is obtained from the distribution, and the magnitudes are compared. In the illustrated example, the number of peaks in the distribution Xyj in the x direction is 3, the number of peaks in the distribution Yxi in the Y direction is 1, and the number of peaks in the distribution Xyj in the x direction is larger.
【0023】図からも明らかなように、原画パターン5
1の図形要素が細長く伸びている方向は、山の数が大き
い方であるということができる。図示の例では、x方向
の分布Xyjの山の数が大きいので、原画パターン51は
x方向に細長く伸びる図形要素を多く含んでいるという
ことができる。As is apparent from FIG.
It can be said that the direction in which one graphic element is elongated is the direction in which the number of peaks is large. In the illustrated example, since the number of peaks in the distribution Xyj in the x direction is large, it can be said that the original image pattern 51 includes many graphic elements elongated in the x direction.
【0024】以上のようにして原画パターン51の図形
要素が全体としてx方向またはy方向のいずれに細長く
伸びているかが分かると、その伸び方向とは垂直な方向
に縫いデータを作成する。この結果、自動的に最適の縫
い目方向を決定できるようになる。As described above, when it is determined whether the graphic element of the original image pattern 51 is elongated in the x direction or the y direction as a whole, sewing data is created in a direction perpendicular to the extending direction. As a result, the optimum stitch direction can be automatically determined.
【0025】図5は、前記の原理を実現するための本発
明の一実施例のフローチャートである。ステップS1で
は、2値化された画像データの中の“1”(黒)データ
のx方向の分布の山の数Cx とy方向の分布の山の数C
y とを求める。ステップS2では、前記山の数Cx とC
y とを比較し、Cx >Cy であればステップS3に進
み、Cx ≦Cy であればステップS4に進む。FIG. 5 is a flow chart of one embodiment of the present invention for realizing the above principle. In step S1, the number Cx of peaks in the x direction of the "1" (black) data in the binarized image data and the number C of peaks in the distribution in the y direction
and y. In step S2, the numbers Cx and C
y, the process proceeds to step S3 if Cx> Cy, and proceeds to step S4 if Cx ≦ Cy.
【0026】ステップS3では縫いデータの作成方向を
x軸方向とは垂直方向であるy軸方向に設定し、ステッ
プS4ではy軸方向とは垂直方向であるx軸方向に設定
する。ステップS5では、画像データを縫い目データ、
例えば畳み縫いデータに変換する。この時、縫い目デー
タは、縫い目がステップS3、S4で設定した方向に進
むように作成される。In step S3, the creation direction of the sewing data is set to the y-axis direction which is perpendicular to the x-axis direction, and in step S4, the creation direction is set to the x-axis direction which is perpendicular to the y-axis direction. In step S5, the image data is converted to stitch data,
For example, it is converted into folding sewing data. At this time, the stitch data is created so that the stitch advances in the direction set in steps S3 and S4.
【0027】次に、前記ステップS1の具体例を、図6
〜図8を参照して説明する。まず、ステップS11にお
いて、カウンタiとjをクリアする。このカウンタi、
jは、図4又は図9に示されているように、それぞれ前
記画像データのx、y方向の座標の番号を示すものであ
る。なお、図9は、画像データのx、y方向の分布を求
める時の概念図であり、54は前記イメージスキャナ2
0によって読み取られた画像データの一例を示す。Next, a specific example of step S1 will be described with reference to FIG.
This will be described with reference to FIGS. First, in step S11, the counters i and j are cleared. This counter i,
j indicates the number of the coordinates of the image data in the x and y directions, respectively, as shown in FIG. 4 or FIG. FIG. 9 is a conceptual diagram when obtaining the distribution of the image data in the x and y directions.
0 shows an example of image data read.
【0028】ステップS12では、x方向の座標xi に
対する座標yj に、前記画像データの“1”が存在する
か否かの検査をする。ステップS13にて、“1”のデ
ータが存在すると判定されると、ステップS14に進ん
で、y方向の分布Yxiに1が加算される。一方、“1”
のデータが存在しないと判定されると、ステップS15
に進む。ステップS15では、前記カウンタjに1が加
算され、ステップS16に進んで該jがオーバフローし
たか否かの判断がなされる。たとえば、図9ではカウン
タjは0〜j0 を計数できるものであるので、カウンタ
jがj0 より大きくなるとオーバフローする。In step S12, it is checked whether or not the image data "1" exists at the coordinate yj with respect to the coordinate xi in the x direction. If it is determined in step S13 that data of "1" exists, the process proceeds to step S14, where 1 is added to the distribution Yxi in the y direction. On the other hand, "1"
If it is determined that there is no data of step S15, step S15
Proceed to. In step S15, 1 is added to the counter j, and the flow advances to step S16 to determine whether or not j has overflowed. For example, in FIG. 9, since the counter j can count from 0 to j0, an overflow occurs when the counter j becomes larger than j0.
【0029】ステップS16の判断が否定の時にはステ
ップS12に戻って、x方向の座標xi に対する座標y
(j+1) に、前記画像データの“1”が存在するか否かの
検査をする。“1”のデータが存在すると、前記y方向
の分布Yxiに1が加算される。 以上の処理が続行さ
れ、ステップS16が肯定になると、x方向の座標xi
に対するy方向の分布Yxiが求まったことになる。If the determination in step S16 is negative, the process returns to step S12, where the coordinate y with respect to the coordinate xi in the x direction.
At (j + 1), it is checked whether or not "1" of the image data exists. When data of "1" exists, 1 is added to the distribution Yxi in the y direction. The above processing is continued, and if step S16 becomes affirmative, the coordinates xi in the x direction are obtained.
Is obtained in the y direction.
【0030】ステップS17では、j←0、i←i+1
となされ、ステップS18に進んで前記iがオーバフロ
ーしたか否かの判断がなされる。たとえば、図9ではカ
ウンタiは0〜i0 を計数できるものであるので、カウ
ンタiがi0 より大きくなるとオーバフローする。In step S17, j ← 0, i ← i + 1
The process proceeds to step S18 to determine whether or not i has overflowed. For example, in FIG. 9, since the counter i can count from 0 to i0, an overflow occurs when the counter i becomes larger than i0.
【0031】ステップS18の判断が否定の時にはステ
ップS12に戻って、前記の処理が繰り返される。When the determination in step S18 is negative, the process returns to step S12, and the above processing is repeated.
【0032】したがって、ステップS18が肯定になる
と、各xi 値に対するy方向の“1”の数、すなわちy
方向の分布Yxiが求まったことになる。Therefore, if step S18 is affirmative, the number of "1" s in the y direction for each xi value, ie, y
This means that the direction distribution Yxi has been determined.
【0033】ステップS19〜S27では、上記と同様
の処理がy方向の座標yj に対して行われる。そして、
ステップS27が肯定になると、各yj 値に対するx方
向の“1”の数、すなわちx方向の分布Xyjが求まった
ことになる。In steps S19 to S27, the same processing as described above is performed on the coordinate yj in the y direction. And
If step S27 is positive, it means that the number of "1" s in the x direction for each yj value, that is, the distribution Xyj in the x direction, has been determined.
【0034】図7のステップS28に進むと、x方向の
分布の山の数Cx とy方向の分布の山の数Cy を0に
し、前記カウンタ値i、jを0にする。そして、ステッ
プS29に進んで、前記カウンタ値iがオーバーフロー
をしたか否かの判断がなされる。この判断が否定の時に
は、ステップS30に進んで、Yx(i+1)≧Yxiが成立す
るか否かの判断がなされる。この判断が肯定の場合に
は、分布Yx(i)は+(プラス)勾配であるので山とはみ
なさずステップS32に進んで、iは1インクリメント
される。そして、ステップS29、S30の処理が再度
行われる。In step S28 in FIG. 7, the number Cx of peaks in the distribution in the x direction and the number Cy of peaks in the distribution in the y direction are set to zero, and the counter values i and j are set to zero. Then, proceeding to step S29, it is determined whether or not the counter value i has overflowed. If this determination is negative, the process proceeds to step S30, where it is determined whether Yx (i + 1) ≧ Yxi holds. If this determination is affirmative, the distribution Yx (i) has a + (plus) gradient, so it is not regarded as a mountain, and the process proceeds to step S32, where i is incremented by one. Then, the processing of steps S29 and S30 is performed again.
【0035】前記ステップS30が否定になると、すな
わち分布Yxiが+勾配から−勾配に転じると、分布Yx
(i)に山があったとみなして、ステップS31でy方向
の分布の山の数Cy を1インクリメントする。If step S30 is negative, that is, if the distribution Yxi changes from a positive gradient to a negative gradient, the distribution Yx
Assuming that there is a peak in (i), the number Cy of distributions in the y direction is incremented by one in step S31.
【0036】ステップS33では前記iがオーバーフロ
ーをしたか否かの判断を行い、この判断が否定の時には
ステップS34に進んでYx(i+1)>Yxiが成立するか否
かの判断がなされる。そして、この判断が否定の時には
ステップS35に進んで、前記iが1インクリメントさ
れる。なお、ステップS34が否定の時には、前記分布
Yxiの−(マイナス)勾配が続いていることを示してい
る。In step S33, it is determined whether or not i has overflowed. If the determination is negative, the flow advances to step S34 to determine whether or not Yx (i + 1)> Yxi holds. . If the determination is negative, the process proceeds to step S35, where i is incremented by one. When step S34 is negative, it indicates that the distribution (Yxi) has a negative (negative) gradient.
【0037】前記ステップS34が肯定になると、前記
分布Yxiの−勾配が+勾配に転じたことになるので、谷
があったと判断する。そして、ステップS32に進ん
で、前記の処理を繰り返す。If the step S34 is affirmative, the negative gradient of the distribution Yxi has turned into a positive gradient, so that it is determined that there is a valley. Then, the process proceeds to step S32 to repeat the above-described processing.
【0038】上記の処理が実行され、前記ステップS2
9またはS33の判断が肯定になると、y方向の分布Y
xiの山の全部の数Cy が求まったことになる。The above-described processing is executed, and step S2 is performed.
9 or S33 is affirmative, the distribution Y in the y direction
This means that the total number Cy of the mountains of xi has been obtained.
【0039】ステップS36〜S42は前記ステップS
29〜S35と同様の動作であるので、説明を省略す
る。この処理により、x方向の分布の山の全部の数Cx
が求まったことになる。Steps S36 to S42 correspond to step S
Since the operation is the same as in steps 29 to S35, the description is omitted. By this processing, the total number Cx of the peaks in the distribution in the x direction is obtained.
Is determined.
【0040】以上の処理により、x方向の分布の山の数
Cx とy方向の分布の山の数Cy とが求まると、前記図
5のステップS1の処理が終り、ステップS2で該山の
数Cx とCy の大小が比較され、ステップS3またはS
4で縫いデータ作成方向が設定されることになる。When the number of peaks Cx in the distribution in the x direction and the number Cy in the distribution in the y direction are obtained by the above processing, the processing in step S1 in FIG. 5 is completed, and the number of peaks in step S2 is determined in step S2. The magnitudes of Cx and Cy are compared, and step S3 or S3
In step 4, the sewing data creation direction is set.
【0041】図10、図11に、具体的な原画パターン
51を用いて、x方向の分布Xyj、y方向の分布Yxiを
求めた具体例を示す。図10は原画パターン51が「か
ぼちゃ」であり、x方向の分布の山の数Cx は8個であ
り、y方向の分布の山の数Cy は10個となる。よっ
て、y方向の分布の山の数Cy がCx より大きく、該原
画パターンはy方向に細長い図形要素が多いから、縫い
データ作成方向はy方向とは垂直のx軸方向に設定され
る。FIGS. 10 and 11 show specific examples in which the distribution Xyj in the x direction and the distribution Yxi in the y direction are obtained using the specific original image pattern 51. FIG. In FIG. 10, the original pattern 51 is “pumpkin”, the number of peaks Cx in the distribution in the x direction is eight, and the number Cy of peaks in the distribution in the y direction is ten. Therefore, the number Cy of the peaks in the distribution in the y-direction is greater than Cx, and the original image pattern has many elongated graphic elements in the y-direction. Therefore, the sewing data creation direction is set in the x-axis direction perpendicular to the y-direction.
【0042】また、図11は原画パターン51が「ペン
ギン」であり、x方向の分布の山の数Cx は10個であ
り、y方向の分布の山の数Cy は8個となる。よって、
x方向の分布の山の数Cx がCy より大きく、該原画パ
ターンはx方向に細長い図形要素が多いから、縫いデー
タ作成方向はx方向とは垂直のy軸方向に設定される。In FIG. 11, the original pattern 51 is a "penguin", the number of peaks Cx in the distribution in the x direction is ten, and the number Cy of the peaks in the distribution in the y direction is eight. Therefore,
Since the number Cx of peaks in the distribution in the x direction is larger than Cy and the original pattern has many elongated graphic elements in the x direction, the sewing data creation direction is set in the y axis direction perpendicular to the x direction.
【0043】以上のように、本実施例によれば、イメー
ジスキャナ20の移動方向がx、y軸方向のいずれであ
っても、原画パターンを構成する図形要素がx、y軸の
いずれの方向に長いかを自動的に判定し、該長い方向と
は垂直の方向に縫いデータを作成することができる。As described above, according to the present embodiment, even if the moving direction of the image scanner 20 is either the x-axis or the y-axis, the graphic elements constituting the original image pattern can be displayed in either the x-axis or the y-axis. Is automatically determined, and the sewing data can be created in a direction perpendicular to the long direction.
【0044】なお、上記の実施例では、x、y軸の2方
向の分布を求めたが、本発明はこれに限定されることな
く、たとえばx軸に対して、30°、45°、60°傾
いた3以上の方向の画像データの分布を求め、各々の方
向の画像データの山の数を数えて、原画パターンを構成
する図形要素が前記x軸、30°、45°、60°およ
びy軸方向のいずれに長いかを求め、一番長い方向と垂
直の方向に縫いデータを作成するようにしてもよい。In the above-described embodiment, the distributions in the two directions of the x and y axes are obtained. However, the present invention is not limited to this. For example, the distribution may be 30 °, 45 °, 60 ° with respect to the x axis. Obtain the distribution of image data in three or more inclined directions, count the number of peaks of the image data in each direction, and determine whether the graphic elements constituting the original image pattern are the x-axis, 30 °, 45 °, 60 ° and It is also possible to determine which one in the y-axis direction is longer, and create the sewing data in a direction perpendicular to the longest direction.
【0045】また、画像データの山の数ではなく、谷の
数を求めるようにしてもよい。The number of valleys may be obtained instead of the number of hills in the image data.
【0046】[0046]
【発明の効果】以上の説明から明らかなように、本発明
によれば、読み取った原画パターンのデータにより、自
動的に縫いデータの変換の最適方向を決定することがで
きるので、使用者は読み取り方向を気にすることなく、
自由に原画を読み取ることができ、かつ刺繍縫いの仕上
がりの見栄えが良くなるという効果がある。As is apparent from the above description, according to the present invention, the optimum direction of the conversion of the sewing data can be automatically determined based on the read original image pattern data. Without worrying about the direction,
The effect is that the original picture can be freely read and the finish of the embroidery stitching improves.
【図1】 本発明の要部の機能を説明するためのブロッ
ク図である。FIG. 1 is a block diagram for explaining a function of a main part of the present invention.
【図2】 本発明のハード構成を説明するためのブロッ
ク図である。FIG. 2 is a block diagram for explaining a hardware configuration of the present invention.
【図3】 図2の構成の機能ブロック図である。FIG. 3 is a functional block diagram of the configuration of FIG. 2;
【図4】 本発明の原理を説明するための図である。FIG. 4 is a diagram for explaining the principle of the present invention.
【図5】 本発明の一実施例の動作を説明するためのフ
ローチャートである。FIG. 5 is a flowchart for explaining the operation of one embodiment of the present invention.
【図6】 図5のサブルーチンS1の一具体例を示すフ
ローチャートである。6 is a flowchart showing a specific example of a subroutine S1 of FIG.
【図7】 図6の続きのフローチャートである。FIG. 7 is a flowchart continued from FIG. 6;
【図8】 図7の続きのフローチャートである。FIG. 8 is a flowchart continued from FIG. 7;
【図9】 画像データのy、x方向の分布を説明するた
めの概念図である。FIG. 9 is a conceptual diagram illustrating the distribution of image data in the y and x directions.
【図10】 本発明を「かぼちゃ」の原画パターンに適
用した時の説明図である。FIG. 10 is an explanatory diagram when the present invention is applied to an original pattern of “pumpkin”.
【図11】 本発明を「ペンギン」の原画パターンに適
用した時の説明図である。FIG. 11 is an explanatory diagram when the present invention is applied to an original image pattern of “Penguin”.
【図12】 本発明が適用される刺繍縫いデータ作成装
置の一例の斜視図である。FIG. 12 is a perspective view of an example of an embroidery sewing data creation device to which the present invention is applied.
【符号の説明】 1…画像データ記憶手段、2…画像データの分布測定手
段、3…山(又は谷)の数の比較手段、4…縫い目方向
設定手段、5…縫い目データ変換手段[Description of Signs] 1 ... Image data storage means, 2 ... Image data distribution measuring means, 3 ... Comparison means of the number of peaks (or valleys), 4 ... Seam direction setting means, 5 ... Seam data conversion means
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−129585(JP,A) 特許2847947(JP,B2) 特許2734122(JP,B2) 特許2800365(JP,B2) (58)調査した分野(Int.Cl.7,DB名) D05B 19/00 - 21/00 ────────────────────────────────────────────────── (5) References JP-A-4-129585 (JP, A) Patent 2847947 (JP, B2) Patent 2731422 (JP, B2) Patent 2800365 (JP, B2) (58) Fields investigated (Int.Cl. 7 , DB name) D05B 19/00-21/00
Claims (3)
を記憶する画像データ記憶手段と、 該画像データ記憶手段に記憶されている画像データの少
なくとも2方向の分布を測定する分布測定手段と、 前記画像データの分布から、各方向の山又は谷の数を比
較する比較手段と、該比較手段の比較結果に基づいて 縫い目方向を設定する
縫い目方向設定手段と、 前記画像データを、前記設定
された縫い目方向の縫い目データに変換する縫い目デー
タ変換手段とを具備したことを特徴とする刺繍縫いデー
タ作成装置。An image data storage unit for storing original image data read from an image input device; a distribution measurement unit for measuring a distribution of image data stored in the image data storage unit in at least two directions; A comparison unit that compares the number of peaks or valleys in each direction from the distribution of the image data, a stitch direction setting unit that sets a stitch direction based on a comparison result of the comparison unit, and the image data, An embroidery stitching data creating apparatus, comprising: stitch data converting means for converting stitch data into stitch data in a stitch direction.
を記憶する画像データ記憶手段と、 該画像データ記憶手段に記憶されている画像データの少
なくとも2方向の分布を測定する分布測定手段と、 前記画像データの分布から、各方向の山又は谷の数を比
較する比較手段と、 前記山又は谷の数の一番多い方向とは垂直の方向を縫い
目方向に設定する縫い目方向設定手段と、 前記画像データを、前記設定された縫い目方向の縫い目
データに変換する縫い目データ変換手段とを具備したこ
とを特徴とする 刺繍縫いデータ作成装置。2. Original image data read from an image input device
An image data storage means for storing, of the image data stored in said image data storage means small
A distribution measuring means for measuring distribution in at least two directions, and a ratio of the number of peaks or valleys in each direction from the distribution of the image data.
The comparison means to compare and the direction in which the number of peaks or valleys is the largest is sewn in a direction perpendicular to the direction.
A stitch direction setting means for setting a stitch direction; and a stitch in the set stitch direction for the image data.
Seam data conversion means for converting the
An embroidery sewing data creation device characterized by the following .
方向の分布を測定し、前記縫い目方向設定手段は、前記
x、y方向のいずれか一方を縫い目方向に設定するよう
にしたことを特徴とする請求項2記載の刺繍縫いデータ
作成装置。 3. The distribution measuring means according to claim 1, wherein said distribution measuring means comprises :
Direction distribution, and the stitch direction setting means,
Set either the x or y direction to the stitch direction
3. The embroidery sewing data according to claim 2, wherein
Creating device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04180501A JP3140182B2 (en) | 1992-06-16 | 1992-06-16 | Embroidery sewing data creation device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04180501A JP3140182B2 (en) | 1992-06-16 | 1992-06-16 | Embroidery sewing data creation device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05345085A JPH05345085A (en) | 1993-12-27 |
| JP3140182B2 true JP3140182B2 (en) | 2001-03-05 |
Family
ID=16084348
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP04180501A Expired - Fee Related JP3140182B2 (en) | 1992-06-16 | 1992-06-16 | Embroidery sewing data creation device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3140182B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2734122B2 (en) | 1989-10-13 | 1998-03-30 | ブラザー工業株式会社 | Embroidery sewing machine data processor |
| JP2800365B2 (en) | 1990-05-11 | 1998-09-21 | ブラザー工業株式会社 | Sewing data creation device for embroidery sewing machine |
| JP2847947B2 (en) | 1990-10-19 | 1999-01-20 | ブラザー工業株式会社 | Embroidery data creation device |
-
1992
- 1992-06-16 JP JP04180501A patent/JP3140182B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2734122B2 (en) | 1989-10-13 | 1998-03-30 | ブラザー工業株式会社 | Embroidery sewing machine data processor |
| JP2800365B2 (en) | 1990-05-11 | 1998-09-21 | ブラザー工業株式会社 | Sewing data creation device for embroidery sewing machine |
| JP2847947B2 (en) | 1990-10-19 | 1999-01-20 | ブラザー工業株式会社 | Embroidery data creation device |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05345085A (en) | 1993-12-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3552334B2 (en) | Embroidery data processing device | |
| US5701830A (en) | Embroidery data processing apparatus | |
| JPH07148369A (en) | Embroidery data creation device | |
| JPH0844848A (en) | Image processing device and embroidery data creation device | |
| JPH07236784A (en) | Design image data reading method and device in embroidery data creation device | |
| US5740056A (en) | Method and device for producing embroidery data for a household sewing machine | |
| US5576968A (en) | Embroidery data creating system for embroidery machine | |
| JPH0956942A (en) | Sewing data processing device | |
| US5803000A (en) | Embroidery sewing machine | |
| JP3332276B2 (en) | Embroidery data creation device | |
| US5422819A (en) | Image data processing system for sewing machine | |
| JP3140182B2 (en) | Embroidery sewing data creation device | |
| JP3149270B2 (en) | Embroidery sewing data creation device | |
| JP3023376B2 (en) | Sewing machine embroidery data creation method | |
| JPH10179963A (en) | Embroidery data processing device | |
| US5515289A (en) | Stitch data producing system and method for determining a stitching method | |
| JP3369600B2 (en) | Embroidery sewing data creation device | |
| JP3369599B2 (en) | Embroidery sewing data creation device | |
| JPH09168681A (en) | Sewing data processing device | |
| JP3982717B2 (en) | Embroidery pattern data generation apparatus and method for sewing machine capable of embroidery sewing | |
| 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 | |
| JP3467078B2 (en) | Embroidery data creation device | |
| JP3369602B2 (en) | Embroidery sewing data creation device | |
| JPH06265A (en) | Embroidery data generating device | |
| JPH0623166A (en) | Embroidery sewing data preparing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081215 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091215 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091215 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101215 Year of fee payment: 10 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111215 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111215 Year of fee payment: 11 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |