JP2000254373A - Embroidery data preparing device of sewing machine - Google Patents

Embroidery data preparing device of sewing machine

Info

Publication number
JP2000254373A
JP2000254373A JP2000056978A JP2000056978A JP2000254373A JP 2000254373 A JP2000254373 A JP 2000254373A JP 2000056978 A JP2000056978 A JP 2000056978A JP 2000056978 A JP2000056978 A JP 2000056978A JP 2000254373 A JP2000254373 A JP 2000254373A
Authority
JP
Japan
Prior art keywords
data
image data
embroidery
image
bits
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000056978A
Other languages
Japanese (ja)
Inventor
Takashi Nakamura
孝 中村
Takeshi Kongou
猛 金剛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Janome Corp
Original Assignee
Janome Sewing Machine Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Janome Sewing Machine Co Ltd filed Critical Janome Sewing Machine Co Ltd
Priority to JP2000056978A priority Critical patent/JP2000254373A/en
Publication of JP2000254373A publication Critical patent/JP2000254373A/en
Pending legal-status Critical Current

Links

Landscapes

  • Sewing Machines And Sewing (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To effectively remove noise of image data generated in reading in an original pattern by an image input device. SOLUTION: Image data of an original pattern read in by an image input device are stored in an image data memory part 41. A check bit indicating part 42a indicates check bits successively, and a periphery bit indicating part 42b indicates the peripheral bits. An all black/all white judging part 42e judges whether the peripheral bits read out by the image data memory part 41 are all black or white. If the peripheral bits are judged to be all one color, the check bits are changed to be of the same color. On the other hand, if the peripheral bits are not of one color, the check bits are stored in data as of the original colors.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明はミシンの画像データ処
理方式に関し、特に刺繍しようとする原画パターンを画
像入力装置から読込んで画像データを作成した後、該画
像データにノイズ除去等のデータ処理を施すようにした
ミシンの画像データ処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data processing system for a sewing machine, and more particularly to a method of reading an original image pattern to be embroidered from an image input device to generate image data, and then performing data processing such as noise removal on the image data. The present invention relates to an image data processing method of a sewing machine to be applied.

【0002】[0002]

【従来技術】従来、刺繍したい図案、文字等の原画パタ
ーンをイメージスキャナ等の画像入力装置から読込み、
読込まれた画像データから画像処理により縫いデータを
作成する刺繍データ作成装置が提案されている。
2. Description of the Related Art Conventionally, an original image pattern such as a design or a character to be embroidered is read from an image input device such as an image scanner.
An embroidery data creation device that creates sewing data by image processing from read image data has been proposed.

【0003】この刺繍データ作成装置においては、画像
データ中の黒ドットを水平方向(列方向)に探索し、黒
ドットが発見されると、該黒ドットを縫いデータの起点
とする。黒ドットが前記列方向に連続していると、前記
起点から予め決められたピッチで針落ち点の縫いデータ
を列方向に生成する。その後、白ドットが発見される
と、前記黒ドットの列の終端に来たものと判断し、この
終端を縫いデータの終点とする。以上の処理が終わる
と、前記列方向の縫いデータへの変換処理は終了したも
のと判断し、画像データの次の列を縫いデータに変換す
る処理に移る。
In this embroidery data creating apparatus, a black dot in image data is searched in the horizontal direction (column direction), and when a black dot is found, the black dot is used as a starting point of sewing data. When the black dots are continuous in the column direction, the sewing data of the needle drop point is generated in the column direction at a predetermined pitch from the starting point. Thereafter, when a white dot is found, it is determined that the end of the row of black dots has been reached, and this end is set as the end point of the sewing data. When the above processing is completed, it is determined that the conversion processing to the sewing data in the column direction has been completed, and the process proceeds to a processing of converting the next row of the image data into the sewing data.

【0004】なお、この時、縫いデータに変換された画
像データは消去される。上記の処理が連続して実行され
ることにより、原画データの黒の部分に縫いデータが生
成されていた。原画パターンの図案が、例えば図6の
(a) に示されているように、中が黒で塗り潰された丸い
形状11であった場合(図では説明を分かりやすくする
ために黒の塗り潰しは削除されている)、図示されてい
るように、a点を起点として終点のb点まで、所定のピ
ッチで列方向に縫いデータが形成されていた。
At this time, the image data converted into the sewing data is erased. By performing the above-described processing continuously, sewing data is generated in a black portion of the original image data. The design of the original pattern is, for example, as shown in FIG.
As shown in (a), if the inside is a round shape 11 filled with black (the black fill is deleted for clarity of explanation in the figure), as shown in FIG. In addition, the sewing data is formed in the column direction at a predetermined pitch from the point a as a starting point to the end point b.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前記画
像入力装置から読込んだ画像データにノイズが含まれて
いた場合、例えば図6の(b) に示されているように、中
が黒で塗り潰された丸い形状11中に白ドットのノイズ
12が含まれていた場合には、縫いデータはa点を起点
としてb点まで形成された後、c点へのジャンプデータ
が形成され、c点からd点まで縫いデータが形成される
こととなる。前記ノイズ12が1ビット幅の縦方向の線
ノイズであっても、前記のような縫いデータが形成され
る。
However, if the image data read from the image input device contains noise, for example, as shown in FIG. If the rounded shape 11 includes the noise 12 of white dots, the sewing data is formed up to the point b starting from the point a, and then the jump data to the point c is formed. The sewing data is formed up to the point d. Even when the noise 12 is a line noise in the vertical direction having a width of 1 bit, the sewing data as described above is formed.

【0006】したがって、画像データに1ビットの小さ
いノイズでも存在すると、刺繍模様の品質は非常に低下
するという問題があった。
Therefore, there is a problem that the quality of the embroidery pattern is greatly reduced when even a small noise of one bit exists in the image data.

【0007】本発明の目的は、前記した従来装置の問題
点を除去し、画像データからノイズを有効に除去するこ
とができるミシンの画像データ処理装置を提供すること
にある。
An object of the present invention is to provide an image data processing apparatus for a sewing machine which can eliminate the above-mentioned problems of the conventional apparatus and can effectively remove noise from image data.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、画像入力装置で読込んだ刺繍の原画パタ
ーンの画像データを記憶する画像データ記憶部と、該画
像データ記憶部に記憶された画像データに圧縮処理を施
し、該画像データから1または複数ビットのチェックビ
ットデータを順次抽出し、該チェックビットデータの周
辺ビットデータを抽出し、該周辺ビットデータが同一色
か否かを判定し、同一色であると判定された時には前記
チェックビットデータを同一色に変換し、同一色でない
と判定された時には前記チェックビットデータを元のま
まとするノイズ除去処理を施すデータ処理部と、該デー
タ処理部で圧縮およびノイズ除去処理された画像データ
を表示する表示手段と、該表示手段により、前記画像デ
ータからノイズ除去されたことが確認された後、該画像
データを刺繍データに変換する刺繍データ変換手段とを
具備した点に特徴がある。
In order to achieve the above object, the present invention provides an image data storage unit for storing image data of an embroidery original image pattern read by an image input device, A compression process is performed on the stored image data, one or more check bit data is sequentially extracted from the image data, peripheral bit data of the check bit data is extracted, and whether the peripheral bit data has the same color is determined. A data processing unit that performs a noise removal process that converts the check bit data to the same color when it is determined that the color is the same, and converts the check bit data to the original color when it is determined that the color is not the same Display means for displaying image data compressed and denoised by the data processing unit; and noise removal from the image data by the display means. After it has been has been confirmed, it is characterized in that comprising the embroidery data converting means for converting the image data in the embroidery data.

【0009】[0009]

【作用】本発明によれば、画像入力装置で読込んだ刺繍
の原画パターンの画像データが画像データ記憶部に記憶
され、次いで圧縮処理が施され、チェックビットが順次
抽出される。また、その周辺ビットも順次抽出される。
該周辺ビットは全部黒か白の同一色かあるいは黒と白が
混じったものかの判断がなされる。全部黒または白の同
一色と判断された時には、前記チェックビットは該同一
色に変換される。一方、前記周辺ビットが同一色でない
場合には、前記チェックビットは元のデータのまま保持
される。
According to the present invention, the image data of the original embroidery pattern read by the image input device is stored in the image data storage section, and then subjected to a compression process to sequentially extract check bits. Also, its surrounding bits are sequentially extracted.
It is determined whether the peripheral bits are all of the same color, black or white, or a mixture of black and white. When it is determined that all colors are the same color of black or white, the check bits are converted to the same color. On the other hand, if the peripheral bits are not the same color, the check bits are kept as they are.

【0010】以上の結果、画像入力装置で原画パターン
を読込む時に発生した画像データのノイズを有効に除去
することができる。
As a result, it is possible to effectively remove noise of image data generated when an original image pattern is read by the image input device.

【0011】[0011]

【実施例】以下に、図面を参照して、本発明を詳細に説
明する。図7は本発明が適用される刺繍ミシンの外観斜
視図を示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 7 is an external perspective view of an embroidery sewing machine to which the present invention is applied.

【0012】図において、10は通常の針と布送りとに
よる模様縫いと刺繍枠を駆動制御する刺繍縫いとが可能
な刺繍ミシンであり、刺繍ミシン10の前面には、ミシ
ンを始動および停止させるスタート/ストップキー1
1、液晶表示部12、模様選択部13、操作キー部1
4、RAMカードからデータを読んだりこれにデータを
書込んだりするカードリーダ/ライタ部15等が設けら
れている。
Referring to FIG. 1, reference numeral 10 denotes an embroidery sewing machine capable of performing pattern stitching using normal needles and cloth feed and embroidery stitching for driving and controlling an embroidery frame. Start / stop key 1
1, liquid crystal display section 12, pattern selection section 13, operation key section 1
4. A card reader / writer unit 15 for reading data from and writing data to the RAM card is provided.

【0013】16は刺繍布を保持する刺繍枠であり、該
刺繍枠はX、Y駆動する駆動手段に連結されたキャリッ
ジ(図示されていない)に着脱自在に固着されている。
該刺繍枠16の駆動の方式については、本出願人が先に
出願した特願平2−134217号に詳細に説明されて
いるので、説明を省略する。
Reference numeral 16 denotes an embroidery frame for holding an embroidery cloth. The embroidery frame is detachably fixed to a carriage (not shown) connected to driving means for X and Y drive.
The method of driving the embroidery frame 16 is described in detail in Japanese Patent Application No. 2-134217 filed earlier by the present applicant, so that the description will be omitted.

【0014】前記操作キー部14には、イメージスキャ
ナ入力モードを選択するためのイメージスキャナ入力モ
ード選択キー14a、後述する画像入力装置から読込ま
れた原画データを刺繍データに変換することを指示する
刺繍データ変換キー14b等が含まれている。また、前
記液晶表示部12には、ミシンの操作手順を縫製者に指
示するためのメッセージや、前記画像入力装置から読込
まれた原画データ等が表示される。
The operation key section 14 includes an image scanner input mode selection key 14a for selecting an image scanner input mode, and an embroidery instruction for converting original image data read from an image input device described later into embroidery data. A data conversion key 14b and the like are included. Further, the liquid crystal display unit 12 displays a message for instructing a sewing operator on an operation procedure of the sewing machine, original image data read from the image input device, and the like.

【0015】20は画像入力装置の一例としてのイメー
ジスキャナであり、その側面には読取り開始ボタン22
が設けられている。該イメージスキャナ20は専用ケー
ブル21および図示されていないプラグにより、刺繍ミ
シン10に電気的および機械的に接続されている。
An image scanner 20 is an example of an image input device.
Is provided. The image scanner 20 is electrically and mechanically connected to the embroidery sewing machine 10 by a dedicated cable 21 and a plug (not shown).

【0016】30は原画パターンが書かれた用紙であ
る。この用紙30としては好ましくは白い紙が用いら
れ、この紙上に、黒色のペン等で線幅1mm以上の文
字、絵等の原画パターンが描かれている。
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.

【0017】前記イメージスキャナ20としては、例え
ば、有効読取り幅63mm、白黒2値の階調出力、主走
査有効画素数504個の物を用いることができる。
As the image scanner 20, for example, a scanner having an effective reading width of 63 mm, binary grayscale output, and 504 main scanning effective pixels can be used.

【0018】次に、前記刺繍ミシン10のハード構成の
概略を、図8のブロック図を参照して説明する。なお、
図7と同一または同等物には、同じ符号あるいは同じ符
号に添字を付けて表されている。
Next, an outline of a hardware configuration of the embroidery sewing machine 10 will be described with reference to a block diagram of FIG. In addition,
7 that are the same as or equivalent to those in FIG. 7 are denoted by the same reference numerals or the same reference numerals with a suffix.

【0019】図において、40は刺繍ミシンの全体の動
作を制御する中央演算装置である。41は前記画像読取
り装置20によって読取られた画像データを記憶する画
像データ記憶手段である。42は前記画像データ記憶手
段41に記憶された画像データからノイズ除去等の処理
を行うデータ処理手段、43はこのデータ処理手段42
で処理されたデータを記憶する処理データ記憶手段であ
る。
In FIG. 1, reference numeral 40 denotes a central processing unit for controlling the entire operation of the embroidery sewing machine. Reference numeral 41 denotes image data storage means for storing image data read by the image reading device 20. 42 is a data processing means for performing processing such as noise removal from the image data stored in the image data storage means 41, and 43 is a data processing means 42
Is processing data storage means for storing the data processed in step (1).

【0020】また、44は刺繍データ記憶手段である。
この刺繍データ記憶手段44は、前記カードリーダ/ラ
イタ部15に装着されるRAMカード18等に相当し、
該刺繍データ記憶手段44には、前記処理データ記憶手
段43に記憶されたデータを中央演算装置40で変換し
た刺繍データが記憶される。
Reference numeral 44 denotes embroidery data storage means.
The embroidery data storage means 44 corresponds to the RAM card 18 or the like mounted on the card reader / writer section 15,
The embroidery data storage means 44 stores embroidery data obtained by converting the data stored in the processing data storage means 43 by the central processing unit 40.

【0021】45は内部模様記憶手段、46はプログラ
ム記憶手段である。このプログラム記憶手段46には、
前記データ処理手段42を制御するプログラムや、前記
処理データ記憶手段43に記憶されたデータを刺繍デー
タに変換するプログラム等の画像処理プログラム、およ
び刺繍ミシンの全体の動作を制御するための制御プログ
ラム等が格納されている。
Reference numeral 45 denotes internal pattern storage means, and 46 denotes program storage means. In this program storage means 46,
An image processing program such as a program for controlling the data processing means 42, a program for converting data stored in the processing data storage means 43 into embroidery data, and a control program for controlling the overall operation of the embroidery sewing machine Is stored.

【0022】また、47は回転速度指令手段であり、縫
製者が自由に操作できるコントローラ等に相当する。4
8は前記回転速度指令手段に応答して動作するミシンモ
ータ駆動回路、49はミシンモータである。50は該ミ
シンモータ49の回転速度を検出するミシンモータ回転
速度検出手段である。51はミシンの上軸の回転位相を
検出する上軸回転位相検出手段である。
Reference numeral 47 denotes a rotation speed command means, which corresponds to a controller or the like which can be freely operated by a sewing person. 4
Reference numeral 8 denotes a sewing machine motor drive circuit that operates in response to the rotation speed command means, and 49 denotes a sewing machine motor. Reference numeral 50 denotes sewing machine motor rotation speed detection means for detecting the rotation speed of the sewing machine motor 49. Reference numeral 51 denotes an upper shaft rotation phase detecting means for detecting a rotation phase of the upper shaft of the sewing machine.

【0023】さらに、52は布を張った刺繍枠を駆動す
るためのステッピングモータ駆動回路、53は該駆動回
路52により駆動されるX軸駆動用ステッピングモー
タ、54はY軸駆動用ステッピングモータである。
Further, 52 is a stepping motor drive circuit for driving the embroidery frame on which the cloth is stretched, 53 is an X-axis drive stepper motor driven by the drive circuit 52, and 54 is a Y-axis drive stepper motor. .

【0024】次に、前記のような構成の刺繍ミシンの概
略の動作を、図9のフローチャートを参照して説明す
る。
Next, a schematic operation of the embroidery sewing machine having the above-described configuration will be described with reference to a flowchart of FIG.

【0025】まず、刺繍ミシンに、図示されていない電
源スイッチがオンにされ電源が投入されると、初期セッ
トが行われる(ステップS1)。次に、操作キー部14
中のモード選択手段からモード選択が行われ(ステップ
S2)、本縫いモードが選択されると(ステップS3が
否定)、ステップS4に進む。ステップS4において、
模様選択部13から模様の選択が行われると、前記中央
演算装置40は選択された模様に対する縫いデータを、
前記内部模様記憶手段45の中から選択する。
First, when a power switch (not shown) is turned on to turn on the embroidery sewing machine, an initial setting is performed (step S1). Next, the operation key unit 14
Mode selection is performed by the middle mode selection means (step S2), and when the lockstitch mode is selected (step S3 is negative), the process proceeds to step S4. In step S4,
When a pattern is selected from the pattern selection unit 13, the central processing unit 40 transmits sewing data for the selected pattern to
A selection is made from the internal pattern storage means 45.

【0026】その後、ステップS5に進んで、使用者が
前記スタート/ストップキー11を押すと(ステップS
6が肯定)、中央演算装置40は、前記上軸回転位相検
出手段51からの検出信号に応答して前記内部模様記憶
手段45から縫いデータを読みだし、前記ステッピング
モータ駆動回路52に供給する。ステッピングモータ駆
動回路52は、供給された刺繍データに基づいて、X軸
駆動用ステッピングモータ53およびY軸駆動用ステッ
ピングモータ54を駆動する。以上のようにして、本縫
いモードの縫製が実行される(ステップS7)。
Thereafter, the process proceeds to step S5, where the user presses the start / stop key 11 (step S5).
6 is affirmative), the central processing unit 40 reads the sewing data from the internal pattern storage means 45 in response to the detection signal from the upper shaft rotation phase detection means 51, and supplies it to the stepping motor drive circuit 52. The stepping motor drive circuit 52 drives the X-axis driving stepping motor 53 and the Y-axis driving stepping motor 54 based on the supplied embroidery data. The sewing in the lockstitching mode is executed as described above (step S7).

【0027】次いで、ステップS8でキー入力があり、
このキーが前記スタート/ストップキー11であると判
断されると(ステップS9が肯定)、本縫いモードの処
理を終了する。
Next, in step S8, there is a key input,
When it is determined that this key is the start / stop key 11 (Yes at step S9), the processing in the lockstitch mode is ended.

【0028】次に、前記画像読取り装置20から原画パ
ターンを読込み、刺繍データを作成する動作について説
明する。
Next, the operation of reading an original image pattern from the image reading device 20 and creating embroidery data will be described.

【0029】ミシン10に電源を投入する前に、前記カ
ードリーダ/ライタ部15にRAMカードをセットし、
電源を投入する。そうすると、前記のようにミシンは初
期セットされる(ステップS1)。次に、前記モード選
択手段からモード選択が行われ(ステップS2)、刺繍
モードが選択されると(ステップS3が肯定)、画像入
力か刺繍縫いかの判断が行われる(ステップS10)。
Before turning on the power to the sewing machine 10, a RAM card is set in the card reader / writer section 15,
Turn on the power. Then, the sewing machine is initially set as described above (step S1). Next, mode selection is performed by the mode selection means (step S2). When the embroidery mode is selected (step S3 is affirmative), it is determined whether image input or embroidery is performed (step S10).

【0030】前記イメージスキャナ入力モード選択キー
14aにより、画像入力が選択されたと判断されると
(ステップS10が肯定)、ステップS11に進んで、
ミシンはイメージスキャナ入力モードになり、前記液晶
表示部12上に、例えば「イメージスキャナの読取り開
始ボタンを押してください。」という旨のメッセージが
表示される。一方、縫製者により、刺繍縫いが選択され
ると判断されると(ステップS10が否定)、ステップ
S14に進んで模様選択の処理に移る。
If it is determined that the image input has been selected by the image scanner input mode selection key 14a (Yes at Step S10), the process proceeds to Step S11.
The sewing machine enters the image scanner input mode, and a message, for example, "Press the reading start button of the image scanner." Is displayed on the liquid crystal display unit 12. On the other hand, when it is determined that the embroidery stitch is selected by the sewing operator (No at Step S10), the process proceeds to Step S14 and proceeds to the process of pattern selection.

【0031】ステップS11の前記メッセージに答え
て、縫製者が、原画パターンが描かれた用紙を平らな所
に置き、この用紙上にイメージスキャナ20を置いて、
その読取り開始ボタン22を押しながら前記原画パター
ンの最初から最後の位置まで移動させると、前記原画パ
ターンは2値データに変換され、ミシン中に設けられた
画像データ記憶手段41中に記憶される。
In response to the message in step S11, the sewing man places the sheet on which the original pattern is drawn on a flat surface, and places the image scanner 20 on the sheet.
When the user moves the original image pattern from the beginning to the last position while pressing the reading start button 22, the original image pattern is converted into binary data and stored in the image data storage means 41 provided in the sewing machine.

【0032】上記の記憶が終了すると、ステップS12
に進み、該画像データ記憶手段41中に記憶された2値
データは、データ処理手段42により、圧縮処理、ノイ
ズ除去等の処理が行われ、処理データ記憶手段43に記
憶される。該処理データ記憶手段43に記憶された原画
データは、前記液晶表示部12に表示される。なお、前
記処理データ記憶手段43は前記画像データ記憶手段4
1と同一の物であってもよい。
When the above storage is completed, step S12 is performed.
The binary data stored in the image data storage means 41 is subjected to processing such as compression processing and noise removal by the data processing means 42, and is stored in the processing data storage means 43. The original image data stored in the processing data storage unit 43 is displayed on the liquid crystal display unit 12. Note that the processing data storage unit 43 is provided in the image data storage unit 4.
It may be the same as 1.

【0033】前記処理データ記憶手段43に記憶された
原画データは、液晶表示部12に表示される。そこで、
ミシンの使用者は液晶表示部12に表示された文字や絵
により、入力したデータにノイズが含まれていず、正し
く入力されていることを確認した後、前記操作キー14
中の刺繍データ変換キーを押すと、前記プログラム記憶
手段46に記憶されている画像処理プログラムにより刺
繍データが生成され、刺繍データ記憶手段44、すなわ
ち前記RAMカードに記憶される(ステップS13)。
The original image data stored in the processing data storage means 43 is displayed on the liquid crystal display unit 12. Therefore,
The user of the sewing machine confirms from the characters and pictures displayed on the liquid crystal display section 12 that the input data does not contain noise and is correctly input, and then operates the operation keys 14.
When the embroidery data conversion key is pressed, embroidery data is generated by the image processing program stored in the program storage means 46 and stored in the embroidery data storage means 44, ie, the RAM card (step S13).

【0034】以上のようにして、画像読取り装置20か
ら読み取った原画パターンは刺繍データに変換され、R
AMカードに記憶される。
As described above, the original image pattern read from the image reading device 20 is converted into embroidery data.
Stored on the AM card.

【0035】このようにしてRAMカードに記憶した文
字または図形の刺繍を行う時には、キー入力により(ス
テップS15)、前記スタート/ストップキー11をオ
ンにする(ステップS16が肯定)。そうすると、前記
RAMカードから刺繍データが読み出され、ステッピン
グモータ駆動回路52が該刺繍データに基づいて前記
X、Y軸駆動用ステッピングモータ53、54を駆動す
る。この結果、前記布には、きれいな刺繍縫目が形成さ
れる(ステップS17)。
When embroidering characters or figures stored in the RAM card in this manner, the start / stop key 11 is turned on by key input (step S16 is affirmative). Then, the embroidery data is read from the RAM card, and the stepping motor drive circuit 52 drives the X and Y axis driving stepping motors 53 and 54 based on the embroidery data. As a result, beautiful embroidery stitches are formed on the cloth (step S17).

【0036】前記ステップS14に進んだ時には、前記
モード選択手段により、ミシンのカードリーダ/ライタ
部15に装着されたRAMカードから、刺繍模様が選択
される。そして、スタート/ストップキー11をオンに
すると(ステップS16が肯定)、ステップS17に進
んで前記刺繍模様の縫製が実行される。
When proceeding to step S14, an embroidery pattern is selected from the RAM card mounted on the card reader / writer section 15 of the sewing machine by the mode selection means. Then, when the start / stop key 11 is turned on (Step S16 is affirmative), the process proceeds to Step S17, and the embroidery pattern is sewn.

【0037】上記のような構成を有し、上記のような動
作をする刺繍ミシンにおいて、本発明は前記ステップS
12の圧縮処理を改善した点に特徴があり、以下に一実
施例を説明する。
In the embroidery sewing machine having the above-described structure and operating as described above, the present invention
There is a feature in that the compression processing of FIG. 12 is improved, and an embodiment will be described below.

【0038】図1は本発明の一実施例の機能ブロック図
を示す。図において、図8と同一又は同等物には、同じ
符号またはこれに添字を付けて表されている。
FIG. 1 shows a functional block diagram of one embodiment of the present invention. In the figure, the same or equivalent components as those in FIG. 8 are denoted by the same reference numerals or with a suffix.

【0039】42a〜42gは、前記データ処理手段4
2の機能を示し、42aはチェックビットを画像データ
記憶部41に対して指示するチェックビット指示部、4
2bは該チェックビットの上下左右の周辺ビットを指示
する周辺ビット指示部である。また、42cは前記チェ
ックビット指示部42aによって指示されたビットデー
タを保持するビットデータ保持部、42dは前記周辺ビ
ット指示部42bによって指示された周辺ビットデータ
を保持する周辺ビットデータ保持部、42eは前記周辺
ビットデータの全部が黒か白かを判定する全黒、全白判
定部、42fは前記全黒、全白判定部42eによって全
黒と判定された時には前記チェックビットを黒ビットと
し、全白と判定された時には前記チェックビットを白ビ
ットとするデータ変換部、42gは前記チェックビット
の変換が終わった時に、次のチェックビットを選択する
チェックビット更新部である。
42a to 42g correspond to the data processing means 4
Reference numeral 42a denotes a check bit instructing unit for instructing a check bit to the image data storage unit 41;
Reference numeral 2b denotes a peripheral bit designating unit for designating upper, lower, left and right peripheral bits of the check bit. Reference numeral 42c denotes a bit data holding unit that holds the bit data specified by the check bit specifying unit 42a, 42d denotes a peripheral bit data holding unit that holds the peripheral bit data specified by the peripheral bit specifying unit 42b, and 42e denotes An all-black, all-white judging section 42f for judging whether all of the peripheral bit data is black or white sets the check bit to a black bit when the all-black, all-white judging section 42e judges that all the peripheral bit data is black. A data conversion unit that sets the check bit to a white bit when it is determined to be white, and a check bit update unit 42g that selects the next check bit when the conversion of the check bit is completed.

【0040】次に、本実施例の動作を、図2のフローチ
ャートを参照して説明する。まず、前記チェックビット
指示部42aの働きにより、画像データ記憶部41に記
憶されている画像データの中から、最初のチェックビッ
トの抽出が行われる(ステップS1)。次に、前記チェ
ックビットの周辺ビットが周辺ビット指示部42bで求
められ、これの働きにより、画像データ記憶部41に記
憶されている画像データの中から、周辺ビットの抽出が
行われる(ステップS2)。
Next, the operation of this embodiment will be described with reference to the flowchart of FIG. First, the first check bit is extracted from the image data stored in the image data storage unit 41 by the operation of the check bit instruction unit 42a (step S1). Next, the peripheral bits of the check bits are obtained by the peripheral bit designating section 42b, and by this operation, the peripheral bits are extracted from the image data stored in the image data storage section 41 (step S2). ).

【0041】例えば、図4の具体例において、同図(a)
の四角で囲まれた白ビットがチェックビットであるとす
ると、その周辺の上下左右の4個の黒ビットが前記ステ
ップS2で選ばれる周辺ビットとなる。
For example, in the specific example of FIG.
Assuming that the white bits surrounded by the square are the check bits, the four black bits on the upper, lower, left and right sides thereof are the peripheral bits selected in step S2.

【0042】ステップS3では、全黒、全白判定部42
eの作用により、周辺ビットは全部黒か否かの判断がな
される。この判断が肯定の場合には、ステップS4に進
んで、前記チェックビットは黒とされる。ステップS3
が否定の場合には、ステップS5に進んで周辺ビットは
全部白か否かの判断がなされる。この判断が肯定の場合
にはステップS6に進んで、前記チェックビットは白と
される。ステップS4で黒、ステップS5で白とされた
ビットデータは、ステップS7に進んで、前記処理デー
タ記憶部43に記憶される。また、ステップS5が否定
の場合には、前記チェックビットは元のままで前記処理
データ記憶部43に記憶される。前記ステップS4、S
6の処理は前記データ変換部42fで行われる。
In step S3, the all black / all white determination section 42
By the operation of e, it is determined whether or not the peripheral bits are all black. If this determination is affirmative, the process proceeds to step S4, where the check bit is set to black. Step S3
Is negative, the process proceeds to step S5, where it is determined whether the peripheral bits are all white. If this determination is affirmative, the process proceeds to step S6, where the check bit is set to white. The bit data that is black in step S4 and white in step S5 proceeds to step S7 and is stored in the processing data storage unit 43. If step S5 is negative, the check bit is stored in the processing data storage unit 43 as it is. Steps S4 and S
The processing of No. 6 is performed by the data conversion unit 42f.

【0043】続いて、ステップS8で画像データ記憶部
41中の全画像データがチェックされたか否かの判断が
なされ、否定の場合にはステップS9に進んで、次のチ
ェックビットの抽出が行われる。そして、再度ステップ
S2から前記と同様の処理が繰り返される。
Subsequently, in step S8, it is determined whether or not all image data in the image data storage unit 41 has been checked. If not, the process proceeds to step S9, where the next check bit is extracted. . Then, the same processing as described above is repeated from step S2.

【0044】以上の動作により、前記画像データ記憶部
41中の全画像データがチェックされたと判断されると
(ステップS8が肯定)、全処理を終了する。
When it is determined by the above operation that all the image data in the image data storage section 41 have been checked (Yes at step S8), the entire processing is terminated.

【0045】本実施例によれば、図4(a) に示されてい
るように、チェックビットが白でその上下左右の周辺ビ
ットが全部黒であった場合には、該チェックビットは黒
に変換される。逆に、チェックビットが黒でその上下左
右の周辺ビットが全部白であった場合には、該チェック
ビットは白に変換される。その結果、処理後のビットデ
ータは、同図(b) のようになる。
According to the present embodiment, as shown in FIG. 4 (a), when the check bit is white and the upper, lower, left and right peripheral bits are all black, the check bit becomes black. Is converted. Conversely, if the check bit is black and the upper, lower, left and right peripheral bits are all white, the check bit is converted to white. As a result, the bit data after processing is as shown in FIG.

【0046】周辺ビットが同一色で、チェックビットが
他の色の場合には、このチェックビットはノイズである
確率が高いので、本実施例によれば、このノイズを有効
に除去することができる。この結果、本実施例により処
理された画像データを用いて刺繍データを作成すると、
ノイズがなくなるため、原画パターンの黒の領域はその
水平方向に関して起点から終点まで連続して水平方向に
伸びる刺繍糸により刺繍が形成され、また原画パターン
の白の領域に刺繍糸が落ちることもなくなるので、綺麗
な刺繍模様を得ることができる。
In the case where the peripheral bits are the same color and the check bits are other colors, the check bits have a high probability of being noise. Therefore, according to the present embodiment, this noise can be effectively removed. . As a result, when embroidery data is created using the image data processed according to the present embodiment,
Since noise is eliminated, the black area of the original pattern is embroidered with embroidery thread extending horizontally from the starting point to the end point in the horizontal direction, and the embroidery thread does not fall on the white area of the original pattern. Therefore, a beautiful embroidery pattern can be obtained.

【0047】次に、本発明の第2実施例を図3を参照し
て説明する。この実施例が第1実施例と異なる点は、前
記チェックビットに変えて、複数個のビットからなるチ
ェックビットグループにした点である。
Next, a second embodiment of the present invention will be described with reference to FIG. This embodiment differs from the first embodiment in that a check bit group consisting of a plurality of bits is used instead of the check bits.

【0048】ステップS11では、図5(a) に示されて
いるように、例えば4個のビットからなるチェックビッ
トグループが抽出される。ステップS12では該チェッ
クビットグループの上下左右の周辺ビットが抽出され
る。図示の例では、該周辺ビットは8個のビットにな
る。
In step S11, as shown in FIG. 5A, a check bit group consisting of, for example, four bits is extracted. In step S12, upper, lower, left and right peripheral bits of the check bit group are extracted. In the illustrated example, the peripheral bits are eight bits.

【0049】ステップS13では、前記周辺ビットが全
部黒であるか否かの判断がなされ、この判断が肯定であ
ると、ステップS14に進んで、前記チェックビットグ
ループは全部黒に変換される。ステップS15では、前
記周辺ビットが全部白であるか否かの判断がなされ、こ
の判断が肯定であると、前記チェックビットグループは
全部白に変換される。また、ステップS15が否定の場
合には、何らの変換もされないで元のままのデータで処
理データ記憶部43に格納される。
In step S13, it is determined whether or not the peripheral bits are all black. If this determination is affirmative, the process proceeds to step S14, where the check bit group is converted to all black. In step S15, it is determined whether or not the peripheral bits are all white. If the determination is affirmative, the check bit group is converted to all white. If step S15 is negative, the data is stored in the processing data storage unit 43 as it is without any conversion.

【0050】ステップS18では、画像データ記憶部4
1中の全画像データがチェックされたか否かの判断が行
われ、否定の場合には、ステップS19に進んで、次の
チェックビットが選択される。そして、再びステップS
12に戻って、再度前記と同様の動作が繰り返される。
上記の動作が繰り返し実行され、ステップS18の判断
が肯定になると、全部の処理は終了する。
In step S18, the image data storage unit 4
It is determined whether all the image data in 1 has been checked, and if not, the process proceeds to step S19, and the next check bit is selected. And, again, step S
Returning to 12, the same operation as described above is repeated.
The above operation is repeatedly performed, and if the determination in step S18 becomes affirmative, the entire process ends.

【0051】本実施例によれば、図5(a) の画像データ
が同図(b) のデータに変換される。一般に画像データの
ドット間の距離は通常0.5mm程度であり、刺繍の縫
い目を形成する場合は1mm以下の空間を縫い目で表現
することは困難である。したがって、本実施例のように
チェックビットグループの単位で処理すると、表現の困
難なデータを除去することができ、自然な刺繍縫いを行
うことができる刺繍データを得ることができる。
According to this embodiment, the image data shown in FIG. 5A is converted into the data shown in FIG. Generally, the distance between dots of image data is usually about 0.5 mm, and it is difficult to express a space of 1 mm or less by stitches when forming stitches for embroidery. Therefore, if processing is performed in units of check bit groups as in the present embodiment, data that is difficult to express can be removed, and embroidery data that can perform natural embroidery sewing can be obtained.

【0052】なお、前記の2つの実施例において、ステ
ップS1およびS11において抽出される画像データ
は、圧縮処理が施されたものであっても、施されていな
いものであってもよい。また、ステップS7およびS1
7において処理データ記憶部に格納された画像データを
圧縮処理するようにしてもよい。
In the above two embodiments, the image data extracted in steps S1 and S11 may or may not have been subjected to compression processing. Steps S7 and S1
In step 7, the image data stored in the processing data storage unit may be compressed.

【0053】[0053]

【発明の効果】以上の説明から明らかなように、本発明
によれば、画像入力装置により原画パターンを読込んだ
時のノイズを有効に除去できるという効果がある。
As is apparent from the above description, according to the present invention, there is an effect that the noise when the original image pattern is read by the image input device can be effectively removed.

【0054】また、刺繍の縫い目で表現するのが困難な
データを除去できるので、自然な刺繍縫いをすることの
できる刺繍データを作成することができる。
Further, since it is possible to remove data that is difficult to express with embroidery stitches, it is possible to create embroidery data that allows natural embroidery stitching.

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

【図1】本発明の一実施例の機能ブロック図である。FIG. 1 is a functional block diagram of an embodiment of the present invention.

【図2】前記実施例の動作を説明するためのフローチャ
ートである。
FIG. 2 is a flowchart for explaining the operation of the embodiment.

【図3】本発明の第2実施例の動作を説明するためのフ
ローチャートである。
FIG. 3 is a flowchart for explaining the operation of the second embodiment of the present invention.

【図4】第1実施例の動作の具体的説明図である。FIG. 4 is a specific explanatory diagram of the operation of the first embodiment.

【図5】第2実施例の動作の具体的説明図である。FIG. 5 is a specific explanatory diagram of the operation of the second embodiment.

【図6】画像データを刺繍データに変換する一例を示す
図である。
FIG. 6 is a diagram illustrating an example of converting image data into embroidery data.

【図7】本発明が適用される刺繍ミシンの斜視図であ
る。
FIG. 7 is a perspective view of an embroidery sewing machine to which the present invention is applied.

【図8】刺繍ミシンのハード構成を示すブロック図であ
る。
FIG. 8 is a block diagram illustrating a hardware configuration of the embroidery sewing machine.

【図9】刺繍ミシンの動作の概略を示すフローチャート
である。
FIG. 9 is a flowchart showing an outline of the operation of the embroidery sewing machine.

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

42a…チェックビット指示部、42b…周辺ビット指
示部、42c…ビットデータ保持部、42d…周辺ビッ
トデータ保持部、42f…データ変換部、42g…チェ
ックビット更新部。
42a: check bit instructing unit, 42b: peripheral bit instructing unit, 42c: bit data holding unit, 42d: peripheral bit data holding unit, 42f: data conversion unit, 42g: check bit updating unit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 画像入力装置で読込んだ刺繍の原画パタ
ーンの画像データを記憶する画像データ記憶部と、 該画像データ記憶部に記憶された画像データに圧縮処理
を施し、該画像データから1または複数ビットのチェッ
クビットデータを順次抽出し、該チェックビットデータ
の周辺ビットデータを抽出し、該周辺ビットデータが同
一色か否かを判定し、同一色であると判定された時には
前記チェックビットデータを同一色に変換し、同一色で
ないと判定された時には前記チェックビットデータを元
のままとするノイズ除去処理を施すデータ処理部と、 該データ処理部で圧縮およびノイズ除去処理された画像
データを表示する表示手段と、 該表示手段により、前記画像データからノイズ除去され
たことが確認された後、該画像データを刺繍データに変
換する刺繍データ変換手段とを具備したことを特徴とす
るミシンの刺繍データ作成装置。
An image data storage unit for storing image data of an original pattern of embroidery read by an image input device, a compression process is performed on the image data stored in the image data storage unit, Alternatively, check bit data of a plurality of bits are sequentially extracted, peripheral bit data of the check bit data is extracted, and it is determined whether the peripheral bit data is the same color. A data processing unit for converting the data into the same color and performing a noise removal process that retains the check bit data when it is determined that the data is not the same color; image data compressed and noise removed by the data processing unit Display means for displaying the image data. After the display means confirms that noise has been removed from the image data, the image data is displayed on the embroidery data. An embroidery data conversion device for converting the embroidery data into a embroidery data.
JP2000056978A 2000-01-01 2000-03-02 Embroidery data preparing device of sewing machine Pending JP2000254373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000056978A JP2000254373A (en) 2000-01-01 2000-03-02 Embroidery data preparing device of sewing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000056978A JP2000254373A (en) 2000-01-01 2000-03-02 Embroidery data preparing device of sewing machine

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP4863791A Division JPH04266789A (en) 1991-02-22 1991-02-22 Image data processing device for sewing machine

Publications (1)

Publication Number Publication Date
JP2000254373A true JP2000254373A (en) 2000-09-19

Family

ID=18577845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000056978A Pending JP2000254373A (en) 2000-01-01 2000-03-02 Embroidery data preparing device of sewing machine

Country Status (1)

Country Link
JP (1) JP2000254373A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102322546B1 (en) * 2020-11-13 2021-11-09 호전실업 주식회사 Sewing stitching defect detection method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102322546B1 (en) * 2020-11-13 2021-11-09 호전실업 주식회사 Sewing stitching defect detection method and system

Similar Documents

Publication Publication Date Title
JP2880306B2 (en) Embroidery data creation device
US6952626B1 (en) Embroidery data producing device and embroidery data producing control program stored on computer-readable medium
JP2013034513A (en) Sewing machine, embroidery data generating device, and embroidery data generating program
US5422819A (en) Image data processing system for sewing machine
JP2000254373A (en) Embroidery data preparing device of sewing machine
JP2001000761A (en) Display device for sewing machine capable of sewing embroidery
JPH04266789A (en) Image data processing device for sewing machine
JP2880305B2 (en) Sewing machine image data processing device
JP2880304B2 (en) Embroidery sewing machine data compression method
US6006686A (en) Sewing and embroidering machine system capable of changing display image during each stitching operation
JP3476549B2 (en) Embroidery pattern input device that gives control data
JPH09122366A (en) Embroidery pattern displaying sewing data processing equipment
JP2000102684A (en) Sewing machine
JP2880301B2 (en) Embroidery data creation device of embroidery sewing machine
JP2873398B2 (en) Automatic embroidery system and automatic embroidery sewing machine
JP2880302B2 (en) Embroidery data creation device of embroidery sewing machine
JPH04114692A (en) Making method of embroidery data of sewing machine
JP3716636B2 (en) Embroidery data processing device
JP3721929B2 (en) Embroidery data creation device
JP2001017759A (en) Embroidery pattern data editing device
JP3249113B2 (en) Sewing machine embroidery data generation method
JPH09122364A (en) Display apparatus of sewing information
JPH07136358A (en) Embroidery data generating device
JP3763481B2 (en) Embroidery pattern multi-stage input device with erroneous operation input prevention device
JPH11221377A (en) Sewing machine