JPH04266789A - Image data processing device for sewing machine - Google Patents

Image data processing device for sewing machine

Info

Publication number
JPH04266789A
JPH04266789A JP4863791A JP4863791A JPH04266789A JP H04266789 A JPH04266789 A JP H04266789A JP 4863791 A JP4863791 A JP 4863791A JP 4863791 A JP4863791 A JP 4863791A JP H04266789 A JPH04266789 A JP H04266789A
Authority
JP
Japan
Prior art keywords
data
image data
bits
embroidery
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4863791A
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 JP4863791A priority Critical patent/JPH04266789A/en
Priority to US07/837,802 priority patent/US5422819A/en
Publication of JPH04266789A publication Critical patent/JPH04266789A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To effectively eliminate a noise from image data generated at the time of reading an original image pattern via an image input device. CONSTITUTION:An image data memory section 41 stores the image data of an original image pattern read through an image input device. A check bit instruction section 42a instructs check bits in order, and a peripheral bit instruction section 42b instructs the peripheral bits thereof. A totally black and white judgement section 42e makes judgement as to whether peripheral bits read out from the aforesaid image data memory section 41 have the same color of black or white. When the peripheral bits are judged to have the same color, the aforesaid check bits are changed to that color. On the other hand, when the peripheral bits are judged not to be constituted of the same color, the check bits are held as data without any color change.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明はミシンの画像データ処
理方式に関し、特に刺繍しようとする原画パターンを画
像入力装置から読込んで画像データを作成した後、該画
像データにノイズ除去等のデータ処理を施すようにした
ミシンの画像データ処理方式に関する。
[Field of Industrial Application] This invention relates to an image data processing method for a sewing machine, and in particular, after reading an original pattern to be embroidered from an image input device and creating image data, the image data is subjected to data processing such as noise removal. The present invention relates to an image data processing method for a sewing machine.

【0002】0002

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

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

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

【0005】[0005]

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

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

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

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、画像入力装置で読込んだ原画パターンの
画像データを記憶する画像データ記憶部と、該画像デー
タから1または複数ビットのチェックビットデータを順
次抽出する手段と、前記抽出されたチェックビットデー
タの周辺ビットデータを抽出する手段と、該周辺ビット
データが同一色か否かを判定する手段と、該周辺ビット
データが同一色であると判定された時には前記チェック
ビットデータをこの同一色に変換し、同一色でないと判
定された時には前記チェックビットデータを元のままと
するデータ変換部とを具備した点に特徴がある。
Means for Solving the Problems In order to achieve the above object, the present invention provides an image data storage unit that stores image data of an original pattern read by an image input device, and one or more bits from the image data. means for sequentially extracting check bit data of the extracted check bit data; means for extracting peripheral bit data of the extracted check bit data; means for determining whether the peripheral bit data are of the same color; It is characterized in that it includes a data conversion unit that converts the check bit data into the same color when it is determined that the color is the same, and leaves the check bit data as it is when it is determined that they are not the same color. .

【0009】[0009]

【作用】本発明によれば、画像データ記憶部からチェッ
クビットが順次抽出される。また、その周辺ビットも順
次抽出される。該周辺ビットは全部黒か白の同一色かあ
るいは黒と白が混じったものかの判断がなされる。全部
黒または白の同一色と判断された時には、前記チェック
ビットは該同一色に変換される。一方、前記周辺ビット
が同一色でない場合には、前記チェックビットは元のデ
ータのまま保持される。
According to the present invention, check bits are sequentially extracted from the image data storage section. Further, its peripheral bits are also sequentially extracted. It is determined whether the peripheral bits are all the same color, black or white, or a mixture of black and white. When it is determined that they are all black or white, the check bits are converted to the same color. On the other hand, if the peripheral bits are not of the same color, the check bit is retained as the original data.

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

【0011】[0011]

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

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

【0013】16は刺繍布を保持する刺繍枠であり、該
刺繍枠はX、Y駆動する駆動手段に連結されたキャリッ
ジ(図示されていない)に着脱自在に固着されている。 該刺繍枠16の駆動の方式については、本出願人が先に
出願した特願平2−134217号に詳細に説明されて
いるので、説明を省略する。
Reference numeral 16 denotes an embroidery frame that holds the embroidery cloth, and the embroidery frame is detachably fixed to a carriage (not shown) connected to drive means for driving X and Y. The method of driving the embroidery frame 16 is described in detail in Japanese Patent Application No. 134217/1999 previously filed by the present applicant, so the explanation thereof 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 key 14a for instructing to convert original image data read from an image input device to be described later into embroidery data. It includes a data conversion key 14b and the like. Further, the liquid crystal display section 12 displays messages for instructing the sewing person on operating procedures of the sewing machine, original image data read from the image input device, and the like.

【0015】20は画像入力装置の一例としてのイメー
ジスキャナであり、その側面には読取り開始ボタン22
が設けられている。該イメージスキャナ20は専用ケー
ブル21および図示されていないプラグにより、刺繍ミ
シン10に電気的および機械的に接続されている。
Reference numeral 20 denotes an image scanner as an example of an image input device, and a reading start button 22 is provided on the side of the image scanner.
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 of paper on which an original pattern is written. Preferably, white paper is used as this paper 30,
On this paper, original patterns such as letters and pictures with a line width of 1 mm or more are drawn with a black pen or the like.

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

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

【0019】図において、40は刺繍ミシンの全体の動
作を制御する中央演算装置である。41は前記画像読取
り装置20によって読取られた画像データを記憶する画
像データ記憶手段である。42は前記画像データ記憶手
段41に記憶された画像データからノイズ除去等の処理
を行うデータ処理手段、43はこのデータ処理手段42
で処理されたデータを記憶する処理データ記憶手段であ
る。
In the figure, 40 is a central processing unit that controls the entire operation of the embroidery sewing machine. Reference numeral 41 denotes an 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; 43 is this data processing means 42;
This is a processed data storage means for storing processed data.

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

【0021】45は内部模様記憶手段、46はプログラ
ム記憶手段である。このプログラム記憶手段46には、
前記データ処理手段42を制御するプログラムや、前記
処理データ記憶手段43に記憶されたデータを刺繍デー
タに変換するプログラム等の画像処理プログラム、およ
び刺繍ミシンの全体の動作を制御するための制御プログ
ラム等が格納されている。
45 is an internal pattern storage means, and 46 is a program storage means. This program storage means 46 includes
Image processing programs such as a program for controlling the data processing means 42, a program for converting data stored in the processed 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 rotational speed command means, which corresponds to a controller or the like that can be operated freely by the sewing person. 4
8 is a sewing machine motor drive circuit that operates in response to the rotational speed command means, and 49 is a sewing machine motor. 50 is a sewing machine motor rotational speed detecting means for detecting the rotational speed of the sewing machine motor 49. 51 is an upper shaft rotational phase detection means for detecting the rotational 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 an embroidery frame covered with cloth, 53 is an X-axis stepping motor driven by the drive circuit 52, and 54 is a Y-axis stepping motor. .

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

【0025】まず、刺繍ミシンに、図示されていない電
源スイッチがオンにされ電源が投入されると、初期セッ
トが行われる(ステップS1)。次に、操作キー部14
中のモード選択手段からモード選択が行われ(ステップ
S2)、本縫いモードが選択されると(ステップS3が
否定)、ステップS4に進む。ステップS4において、
模様選択部13から模様の選択が行われると、前記中央
演算装置40は選択された模様に対する縫いデータを、
前記内部模様記憶手段45の中から選択する。
First, when the embroidery sewing machine is powered on by turning on a power switch (not shown), initial settings are performed (step S1). Next, the operation key section 14
Mode selection is performed from the mode selection means inside (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 section 13, the central processing unit 40 stores sewing data for the selected pattern.
Select 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 advances to step S5, and when the user presses the start/stop key 11 (step S5), the process proceeds to step S5.
6 is affirmative), the central processing unit 40 reads sewing data from the internal pattern storage means 45 in response to the detection signal from the upper shaft rotational phase detection means 51 and supplies it to the stepping motor drive circuit 52. The stepping motor drive circuit 52 drives the X-axis stepping motor 53 and the Y-axis stepping motor 54 based on the supplied embroidery data. As described above, sewing in the lockstitch mode is executed (step S7).

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

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

【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 initialized as described above (step S1). Next, a mode is selected from the mode selection means (step S2), and when the embroidery mode is selected (affirmative in step S3), it is determined whether image input or embroidery stitching is to be performed (step S10).

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

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

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

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

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

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

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

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

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

【0039】42a〜42gは、前記データ処理手段4
2の機能を示し、42aはチェックビットを画像データ
記憶部41に対して指示するチェックビット指示部、4
2bは該チェックビットの上下左右の周辺ビットを指示
する周辺ビット指示部である。また、42cは前記チェ
ックビット指示部42aによって指示されたビットデー
タを保持するビットデータ保持部、42dは前記周辺ビ
ット指示部42bによって指示された周辺ビットデータ
を保持する周辺ビットデータ保持部、42eは前記周辺
ビットデータの全部が黒か白かを判定する全黒、全白判
定部、42fは前記全黒、全白判定部42eによって全
黒と判定された時には前記チェックビットを黒ビットと
し、全白と判定された時には前記チェックビットを白ビ
ットとするデータ変換部、42gは前記チェックビット
の変換が終わった時に、次のチェックビットを選択する
チェックビット更新部である。
42a to 42g are the data processing means 4;
2, 42a is a check bit instruction section for instructing the image data storage section 41 to set a check bit;
Reference numeral 2b denotes a peripheral bit designation section that designates the peripheral bits above, below, left and right of the check bit. Further, 42c is a bit data holding section that holds the bit data specified by the check bit instruction section 42a, 42d is a peripheral bit data holding section that holds the peripheral bit data specified by the peripheral bit instruction section 42b, and 42e is a peripheral bit data holding section that holds the peripheral bit data specified by the peripheral bit instruction section 42b. An all-black/all-white determining unit 42f determines whether all of the peripheral bit data is black or white, and when it is determined to be all black by the all-black/all-white determining unit 42e, the check bit is set as a black bit, and all of the peripheral bit data is black or white. A data conversion section 42g converts the check bit into a white bit when the check bit is determined to be white, and a check bit update section 42g 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 explained with reference to the flowchart shown in FIG. First, the check bit instruction section 42a extracts the first check bit from the image data stored in the image data storage section 41 (step S1). Next, peripheral bits of the check bit are determined by the peripheral bit specifying section 42b, and 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.
) is the check bit, and the four black bits on the upper, lower, left, and right sides of the white bit 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 determining section 42
By the action of e, it is determined whether all peripheral bits are black. If this determination is affirmative, the process proceeds to step S4, where the check bit is set to black. Step S3
If the result is negative, the process proceeds to step S5, where it is determined whether all peripheral bits are white. If this determination is affirmative, the process proceeds to step S6, where the check bit is set to white. The bit data set to black in step S4 and white in step S5 is stored in the processed data storage section 43 in step S7. Further, if step S5 is negative, the check bit is stored in the processed data storage section 43 as is. Said steps S4, S
Processing No. 6 is performed by the data conversion section 42f.

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

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

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

【0046】周辺ビットが同一色で、チェックビットが
他の色の場合には、このチェックビットはノイズである
確率が高いので、本実施例によれば、このノイズを有効
に除去することができる。この結果、本実施例により処
理された画像データを用いて刺繍データを作成すると、
ノイズがなくなるため、原画パターンの黒の領域はその
水平方向に関して起点から終点まで連続して水平方向に
伸びる刺繍糸により刺繍が形成され、また原画パターン
の白の領域に刺繍糸が落ちることもなくなるので、綺麗
な刺繍模様を得ることができる。
If the surrounding bits are of the same color and the check bit is of a different color, there is a high probability that this check bit is noise, so according to this embodiment, this noise can be effectively removed. . As a result, when embroidery data is created using the image data processed according to this embodiment,
Since there is no noise, the black area of the original pattern will be embroidered with embroidery thread that stretches continuously in the horizontal direction from the starting point to the end point, and the embroidery thread will no longer fall into the white area of the original pattern. Therefore, beautiful embroidery patterns 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 the check bit is replaced by a check bit group consisting of a plurality of bits.

【0048】ステップS11では、図5(a) に示さ
れているように、例えば4個のビットからなるチェック
ビットグループが抽出される。ステップS12では該チ
ェックビットグループの上下左右の周辺ビットが抽出さ
れる。図示の例では、該周辺ビットは8個のビットにな
る。
In step S11, a check bit group consisting of, for example, four bits is extracted, as shown in FIG. 5(a). In step S12, the 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 the peripheral bits are all white, and if this determination is affirmative, the check bit group is converted to all white. If step S15 is negative, the data is stored in the processed 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 section 4
A determination is made as to whether all image data in 1 has been checked, and if the answer is negative, the process advances to step S19 and the next check bit is selected. Then step S again
Returning to step 12, the same operation as above is repeated again. The above operations are repeatedly executed, and when 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 of FIG. 5(a) is converted to the data of FIG. 5(b). In general, the distance between dots of image data is usually about 0.5 mm, and when forming embroidery stitches, it is difficult to express a space of 1 mm or less as a stitch. Therefore, when processing is performed in units of check bit groups as in this embodiment, it is possible to remove data that is difficult to express, and it is possible to obtain embroidery data that allows natural embroidery stitching.

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

【0053】[0053]

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

【0054】また、刺繍の縫い目で表現するのが困難な
データを除去できるので、自然な刺繍縫いをすることの
できる刺繍データを作成することができる。
Furthermore, 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 stitches.

【図面の簡単な説明】[Brief explanation of the drawing]

【図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 concrete explanatory diagram of the operation of the first embodiment.

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

【図6】画像データを刺繍データに変換する一例を示す
図である。
FIG. 6 is a diagram showing 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 showing the 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 instruction section, 42b... Peripheral bit instruction section, 42c... Bit data holding section, 42d... Peripheral bit data holding section, 42f... Data converting section, 42g... Check bit updating section.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  画像入力装置で読込んだ原画パターン
の画像データを記憶する画像データ記憶部と、該画像デ
ータから1または複数ビットのチェックビットデータを
順次抽出する手段と、前記抽出されたチェックビットデ
ータの周辺ビットデータを抽出する手段と、該周辺ビッ
トデータが同一色か否かを判定する手段と、該周辺ビッ
トデータが同一色であると判定された時には前記チェッ
クビットデータをこの同一色に変換し、同一色でないと
判定された時には前記チェックビットデータを元のまま
とするデータ変換部とを具備したことを特徴とするミシ
ンの画像データ処理装置。
1. An image data storage section for storing image data of an original pattern read by an image input device, means for sequentially extracting one or more bits of check bit data from the image data, and a means for sequentially extracting check bit data of one or more bits from the image data; means for extracting peripheral bit data of bit data; means for determining whether or not the peripheral bit data are of the same color; 2. An image data processing device for a sewing machine, comprising: a data conversion unit that converts the check bit data into the same color and leaves the check bit data as it is when it is determined that the colors are not the same.
JP4863791A 1991-02-22 1991-02-22 Image data processing device for sewing machine Pending JPH04266789A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP4863791A JPH04266789A (en) 1991-02-22 1991-02-22 Image data processing device for sewing machine
US07/837,802 US5422819A (en) 1991-02-22 1992-02-18 Image data processing system for sewing machine

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (1)

Publication Number Publication Date
JPH04266789A true JPH04266789A (en) 1992-09-22

Family

ID=12808888

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH04266789A (en)

Similar Documents

Publication Publication Date Title
JP2880306B2 (en) Embroidery data creation device
US5911182A (en) Embroidery sewing machine and embroidery pattern data editing device
US5740057A (en) Embroidery data creating device
US5751583A (en) Embroidery data processing method
US5499589A (en) Method and apparatus for producing image data to be used by embroidery data processing apparatus
US5422819A (en) Image data processing system for sewing machine
JPH04266789A (en) Image data processing device for sewing machine
JP2000254373A (en) Embroidery data preparing device of sewing machine
JP2001000761A (en) Display device for sewing machine capable of sewing embroidery
US6006686A (en) Sewing and embroidering machine system capable of changing display image during each stitching operation
JP2880305B2 (en) Sewing machine image data processing device
JP2880304B2 (en) Embroidery sewing machine data compression method
JP3476549B2 (en) Embroidery pattern input device that gives control data
JP3369600B2 (en) Embroidery sewing data creation device
JPH09122366A (en) Embroidery pattern displaying sewing data processing equipment
JP2873398B2 (en) Automatic embroidery system and automatic embroidery sewing machine
JP2000102684A (en) Sewing machine
JP2880301B2 (en) Embroidery data creation device of embroidery sewing machine
JPH04114692A (en) Making method of embroidery data of sewing machine
JP2880302B2 (en) Embroidery data creation device of embroidery sewing machine
JP3763481B2 (en) Embroidery pattern multi-stage input device with erroneous operation input prevention device
JP3843618B2 (en) Embroidery pattern display device
JP3249113B2 (en) Sewing machine embroidery data generation method
JP3716636B2 (en) Embroidery data processing device
JP3721929B2 (en) Embroidery data creation device