JP2001149679A - Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device - Google Patents

Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device

Info

Publication number
JP2001149679A
JP2001149679A JP33361499A JP33361499A JP2001149679A JP 2001149679 A JP2001149679 A JP 2001149679A JP 33361499 A JP33361499 A JP 33361499A JP 33361499 A JP33361499 A JP 33361499A JP 2001149679 A JP2001149679 A JP 2001149679A
Authority
JP
Japan
Prior art keywords
chromaticity
range
data
brightness
input
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
JP33361499A
Other languages
Japanese (ja)
Inventor
Hiroshi Horimoto
浩 堀本
Kanji Michioku
勘治 道奥
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.)
Juki Corp
Original Assignee
Juki Corp
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 Juki Corp filed Critical Juki Corp
Priority to JP33361499A priority Critical patent/JP2001149679A/en
Publication of JP2001149679A publication Critical patent/JP2001149679A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To originate embroidery sewing data by easily extracting desired image area data from images having continuous gradation and natural tones and brightness. SOLUTION: An embroidery sewing data originating device originates the embroidery sewing data from input images. As an input means for a user to designate a desired chromaticity range or further a desired brightness range, an area designating dialog 20 is displayed on a display device 6 and the desired chromaticity range or further the desired brightness range is input through the operation of a mouse 2. Determination is made as to whether or not the chromaticity of pixels constituting input image data is contained within the designated chromaticity range or further the designated brightness range, and an image area consisting of the pixels contained within the chromaticity or brightness range designated from the input image data is extracted as the subject of data origination according to the determination result.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は入力画像データから
対応する刺繍の縫い目を形成するための刺繍縫いデータ
を生成する刺繍縫いデータ作成装置、その制御方法、お
よびその制御プログラムを格納したコンピュータ読取可
能な記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an embroidery sewing data creating apparatus for generating embroidery sewing data for forming a corresponding embroidery stitch from input image data, a control method thereof, and a computer readable program storing the control program. It relates to a simple storage medium.

【0002】[0002]

【従来の技術】従来よりミシンなどの縫製装置のための
刺繍縫いデータ作成装置が知られている。図1、図2に
従来の刺繍縫いデータ作成装置の構成を示す。
2. Description of the Related Art An embroidery sewing data creating apparatus for a sewing apparatus such as a sewing machine is conventionally known. 1 and 2 show the configuration of a conventional embroidery sewing data creation device.

【0003】図1は従来の刺繍縫いデータ作成装置の一
構成例を示す外観図で、符号1は本体、2はマウス、3
はキーボード、4はイメージスキャナ、5はメモリカー
ドなどの記憶媒体(あるいはフロッピーディスクなど)
を装着するためのカードコネクタ(あるいはフロッピー
ディスクドライブなど)、6はCRTディスプレイなど
から成る表示装置である。
FIG. 1 is an external view showing an example of the configuration of a conventional embroidery sewing data creating apparatus.
Is a keyboard, 4 is an image scanner, 5 is a storage medium such as a memory card (or a floppy disk, etc.)
And a display device 6 such as a CRT display.

【0004】図2は図1の装置の制御系の構造を示して
おり、図において符号7はマイクロプロセッサなどから
成るCPU、8はCPU7の主記憶装置としてのRA
M、9はCPU7のプログラムを格納するROM、10
はI/Oポートで前述のマウス2、キーボード3、イメ
ージスキャナ4、カードコネクタ(あるいはフロッピー
ディスクドライブなど)5がこのI/Oポート10を介
して接続される。符号11は、カードコネクタ5に装着
されるメモリカ一ド(あるいはフロッピーディスクな
ど)である。
FIG. 2 shows the structure of a control system of the apparatus shown in FIG. 1. In FIG. 2, reference numeral 7 denotes a CPU comprising a microprocessor or the like, and reference numeral 8 denotes an RA as a main storage of the CPU 7.
M and 9 are ROMs for storing the program of the CPU 7, 10
Is an I / O port to which the mouse 2, keyboard 3, image scanner 4, and card connector (or floppy disk drive or the like) 5 are connected via this I / O port 10. Reference numeral 11 denotes a memory card (or a floppy disk or the like) mounted on the card connector 5.

【0005】上記のような従来の縫いデータ作成装置に
おける縫いデータの作成は(1)下絵として供給された
ビットマップデータあるいは手書きや印刷された画像を
イメージスキャナ4で読込み、ビットマップデータとし
て表示装置6に表示し、(2a)マウス2(あるいは他
のポインティングデバイスなど)を用いて輪郭を描く
か、(2b)マウス2により点あるいは領域を指定し、
その指定部位の画像の特性に基づき自動的に輪郭を抽出
する(オートトレース)などのような手法により下絵か
ら1つの輪郭データを抽出し、(3)描いた輪郭内、あ
るいは輪郭線に対応する縫いデータを作成し、(4)縫
いデータをメモリカード11に格納するように行われて
いた。
[0005] The creation of sewing data in the conventional sewing data creation apparatus as described above is performed by (1) reading bitmap data supplied as a sketch or a handwritten or printed image with the image scanner 4 and displaying the bitmap data as bitmap data. 6 and (2a) draw an outline using the mouse 2 (or another pointing device or the like), or (2b) specify a point or area using the mouse 2
One contour data is extracted from the sketch by a method such as automatically extracting the contour based on the characteristics of the image of the designated part (auto tracing), and (3) corresponding to the inside of the drawn contour or the contour line. The sewing data is created, and (4) the sewing data is stored in the memory card 11.

【0006】なお、手順(2b)のオートトレースにお
ける輪郭データの抽出には、下絵の画像の濃淡の変化を
微分処理し、自動的に輪郭を抽出する方法などが知られ
ている。
In order to extract the contour data in the auto tracing in the procedure (2b), there is known a method of differentiating a change in shading of a draft image and automatically extracting a contour.

【0007】[0007]

【発明が解決しようとする課題】従来の縫いデータ作成
装置では、縫目生成領域である輪郭データを作成あるい
は抽出する際、上記の(2a)の手順は、輪郭を一点一
点指定するものであったために、ほとんど手書きによる
データ作成と変りがなく、作業に手間がかかり煩雑であ
る、という問題があった。また、手順(2b)の方法に
おいては、マウス2により指定した色のみを検索して輪
郭を抽出するものであるために、連続階調と、自然な色
調、明度を有する画像は扱えないという問題があった。
In the conventional sewing data creating apparatus, when creating or extracting contour data which is a stitch generating area, the above-mentioned procedure (2a) designates a contour point by point. Therefore, there is almost no difference from the data creation by handwriting, and there is a problem that the work is troublesome and complicated. Further, in the method of the procedure (2b), since only the color designated by the mouse 2 is searched to extract the contour, an image having continuous tone and natural color tone and brightness cannot be handled. was there.

【0008】従来では、その他に、イメージスキャナで
原画を読込む場合に、CPUが輪郭を識別できるように
原画に輪郭を追加する、色のしきい値で判別するために
色毎の原画を読込ませるなどの手間が掛る作業や、読込
んだ原画データの色を平均化する、或は設定された多段
階の色区分によって粗く色別する。といった、前処理を
手動(あるいは半手動)により行なう作業が必要であ
り、作業が面倒で、しかも自然な下絵が表示できず、ま
た、特に連続階調と、自然な色調、明度を有する画像か
ら所望の輪郭データを抽出するのは非常に困難であり、
作業には熟練を要する問題があった。
Conventionally, when an original image is read by an image scanner, an outline is added to the original image so that the CPU can identify the outline, and an original image for each color is read in order to determine the color threshold value. It takes time and effort such as squeezing, averaging the colors of the read original image data, or roughly classifying the colors by set multi-stage color divisions. It is necessary to perform pre-processing manually (or semi-manually), which is troublesome and cannot display natural sketches. In particular, continuous tone, natural color tone, and brightness It is very difficult to extract the desired contour data,
There was a problem that the operation required skill.

【0009】そこで本発明の課題は、上記の問題を解決
し、容易に連続階調と、自然な色調、明度を有する画像
から所望の画像領域データを抽出し、刺繍縫いデータを
生成できるようにすることにある。
Accordingly, an object of the present invention is to solve the above-mentioned problem and to easily extract desired image area data from an image having continuous tone, natural color tone and lightness, and generate embroidery sewing data. Is to do.

【0010】[0010]

【課題を解決するための手段】上記の課題を解決するた
め、本発明によれば、入力画像データから対応する刺繍
の縫い目を形成するための刺繍縫いデータを生成する縫
いデータ作成装置、その制御方法、その制御プログラム
を格納したコンピュータ読取可能な記憶媒体において、
ユーザに所望の色度範囲を指定させ、入力画像データを
構成する画素の色度が指定された色度範囲に含まれるか
否かを判定し、その判定結果に基づき、入力画像データ
からユーザが指定した色度範囲に含まれる画素から成る
画像領域を刺繍縫いデータの作成対象として抽出する構
成を採用した。
According to the present invention, there is provided a sewing data creating apparatus for generating embroidery sewing data for forming a corresponding embroidery stitch from input image data, and a control thereof. A method, in a computer-readable storage medium storing the control program,
The user is allowed to specify a desired chromaticity range, and it is determined whether or not the chromaticity of the pixels constituting the input image data is included in the specified chromaticity range. A configuration is adopted in which an image area composed of pixels included in the specified chromaticity range is extracted as a target for creating embroidery sewing data.

【0011】あるいはさらに、ユーザに所望の明度範囲
を指定させ、入力画像データを構成する画素の明度が指
定された明度範囲に含まれるか否かを判定し、前記抽出
手段による画像領域の抽出において、画像領域の抽出の
条件として前記色度範囲に加えて前記明度範囲判定の結
果を用いる構成を採用した。
Alternatively, the user is allowed to specify a desired lightness range, and it is determined whether or not the lightness of the pixels constituting the input image data is included in the specified lightness range. In addition, a configuration is used in which the result of the lightness range determination is used in addition to the chromaticity range as a condition for extracting an image region.

【0012】あるいはさらに、入力画像データ中の前記
抽出手段により抽出した画像領域と前記抽出手段により
抽出されなかった画像領域とを区別して表示する構成を
採用した。
Alternatively, an image area extracted by the extracting means in the input image data and an image area not extracted by the extracting means are displayed separately.

【0013】[0013]

【発明の実施の形態】以下、図を参照して本発明の実施
の形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0014】図3に本発明を採用した縫いデータ作成装
置の構成を示す。図3においては、図2の従来構成と同
一ないし相当する部材には同一符号を付し、以下ではそ
の詳細な説明は省略するものとする。装置の外観構成は
図1とほぼ同様である。
FIG. 3 shows the configuration of a sewing data creating apparatus employing the present invention. In FIG. 3, members that are the same as or correspond to those in the conventional configuration of FIG. 2 are denoted by the same reference numerals, and detailed description thereof will be omitted below. The external configuration of the device is almost the same as that of FIG.

【0015】図3において、符号12はビデオコントロ
ーラで、グラフィックコントローラ12aおよびVRA
M12bを有する。CPU7は、このビデオコントロー
ラ12を介して表示装置6に対する表示制御を行なう。
In FIG. 3, reference numeral 12 denotes a video controller, which includes a graphic controller 12a and a VRA.
M12b. The CPU 7 performs display control on the display device 6 via the video controller 12.

【0016】CPU7は、イメージスキャナ4(あるい
は他の画像入力手段であってもよい)から入力した画像
データを所定のデータ形式でRAM8上に展開し、その
データを所定の制御コマンドなどの制御データとともに
ビデオコントローラ12に入力することにより表示装置
6に表示させる。
The CPU 7 develops image data input from the image scanner 4 (or other image input means) on the RAM 8 in a predetermined data format, and converts the data into control data such as a predetermined control command. Together with the input to the video controller 12 to be displayed on the display device 6.

【0017】図4はこの表示装置6での画像表示状態を
示している。イメージスキャナ4から入力される画像デ
ータは、多値のカラー画像データであり、図示のような
連続階調を有するものとする。本実施形態では、1画素
はR(赤)、G(緑)、B(青)それぞれ8ビットの輝
度データにより表現されるものとする。
FIG. 4 shows an image display state on the display device 6. The image data input from the image scanner 4 is multi-valued color image data and has continuous tone as shown in the figure. In this embodiment, one pixel is represented by 8-bit luminance data for each of R (red), G (green), and B (blue).

【0018】本実施形態では、ユーザは表示装置6に入
力画像を表示させた上、この画像から縫いデータの輪郭
を抽出することができる。
In this embodiment, the user can display the input image on the display device 6 and extract the outline of the sewing data from the image.

【0019】本実施形態では、従来のようなマウスで輪
郭を指定したり、画像の濃淡などに基いて輪郭を自動抽
出するのではなく、色度(あるいはさらに明度)の範囲
を指定して、その範囲に属する領域を抽出する。この抽
出した領域は、縫いつぶしデータなどとして用いられ
る。
In the present embodiment, instead of specifying a contour with a mouse as in the related art or automatically extracting a contour based on the density of an image, a range of chromaticity (or lightness) is designated. An area belonging to the range is extracted. The extracted area is used as sewing data.

【0020】この領域抽出のために、図4に示すよう
に、表示装置6で入力画像に重畳して領域抽出ダイアロ
グ20を表示し、この領域抽出ダイアログ20を用いて
ユーザに色度(あるいはさらに明度)の範囲を指定さ
せ、その範囲に属する領域を抽出する。
For this region extraction, as shown in FIG. 4, a region extraction dialog 20 is displayed on the display device 6 so as to be superimposed on the input image, and the chromaticity (or further, A range of (brightness) is designated, and a region belonging to the range is extracted.

【0021】領域抽出ダイアログ20の構成を図5に詳
細に示す。領域抽出ダイアログ20の表示、およびこの
領域抽出ダイアログ20に対する入力はCPU7により
全て制御されるものとする。
FIG. 5 shows the structure of the area extraction dialog 20 in detail. The display of the area extraction dialog 20 and the input to the area extraction dialog 20 are all controlled by the CPU 7.

【0022】図5において符号21は色度設定部で、色
度横設定スイッチ21a、色度縦設定スイッチ21b、
色度表示部21cから構成される。
In FIG. 5, reference numeral 21 denotes a chromaticity setting unit which includes a chromaticity horizontal setting switch 21a, a chromaticity vertical setting switch 21b,
It comprises a chromaticity display section 21c.

【0023】色度表示部21cは、いわゆるxy色度表
として構成されており、連続的にその色が変化するよう
に異なる色の画素を多数配列したものである(色度表示
部21cの色表示については、図8を用いて後述す
る)。色度表示部21cの色度表示方式の構成(各色の
画素の配列)は任意であるが、後述のように本実施形態
ではxy色度表の構成を用いるものとする。
The chromaticity display section 21c is configured as a so-called xy chromaticity table, and is formed by arranging a large number of pixels of different colors so that the color continuously changes (color of the chromaticity display section 21c). The display will be described later with reference to FIG. 8). The configuration of the chromaticity display method of the chromaticity display unit 21c (arrangement of pixels of each color) is arbitrary, but in the present embodiment, the configuration of the xy chromaticity table is used as described later.

【0024】ユーザはこの色度表示部21c内の所望の
色の画素をマウス2でクリックするか、あるいは縦、横
の色度設定スイッチ21a、21bを用いることによ
り、ある色度値を指定する。横、縦の色度設定スイッチ
21a、21bはいわゆるスクロールバーとして構成さ
れており、マウス2でスクロールボックス(斜線部分)
を移動させるか、あるいは両端部の矢印部分を操作する
ことにより色度表示部21c内の所望の色の画素のxy
座標を指定することができる。
The user designates a certain chromaticity value by clicking a pixel of a desired color in the chromaticity display section 21c with the mouse 2, or by using the vertical and horizontal chromaticity setting switches 21a and 21b. . The horizontal and vertical chromaticity setting switches 21a and 21b are configured as so-called scroll bars, and a scroll box (shaded portion) is
Is moved, or the xy of the pixel of the desired color in the chromaticity display section 21c is operated by operating the arrow portions at both ends.
Coordinates can be specified.

【0025】符号22は明度設定部であり、明度設定ス
イッチ22a、明度表示部22bから成る。明度表示部
22bには明度下限値/上限値により抽出範囲が明度変
化で表示される。
Reference numeral 22 denotes a brightness setting section, which comprises a brightness setting switch 22a and a brightness display section 22b. In the brightness display section 22b, the extraction range is displayed as a brightness change based on the brightness lower limit value / upper limit value.

【0026】明度表示部22bには、明度が上下方向に
連続して変化するように、色度設定部21で指定された
色度の色を表示する。ユーザは任意の明度を明度設定ス
イッチ22aにより指定することができる。明度設定ス
イッチ22aは、色度設定スイッチ21a、21b同様
にスクロールバーの構成を有し、ユーザは上述と同じ操
作により明度指定を行なえる。
The color of the chromaticity designated by the chromaticity setting section 21 is displayed on the brightness display section 22b so that the brightness continuously changes in the vertical direction. The user can specify an arbitrary brightness with the brightness setting switch 22a. The lightness setting switch 22a has a scroll bar configuration like the chromaticity setting switches 21a and 21b, and the user can specify the lightness by the same operation as described above.

【0027】符号23は色度範囲設定部で、色度範囲設
定スイッチ23a、色度範囲表示23bから成る。色度
範囲設定スイッチ23aは、アップダウンスイッチの構
成を有し、ユーザは操作により色度の範囲(%)指定を
行なえる。すなわち、色度設定部21で指定した色度値
の上下何%の範囲を所望の色度範囲とするかを色度範囲
設定スイッチ23aを用いて設定できる。図5では色度
範囲として5%が指定されている。指定された色度範囲
は色度範囲表示23bに表示されるが、キーボード3か
ら直接数値を色度範囲表示23b内に入力してもよい。
Reference numeral 23 denotes a chromaticity range setting unit which includes a chromaticity range setting switch 23a and a chromaticity range display 23b. The chromaticity range setting switch 23a has a configuration of an up-down switch, and the user can specify a chromaticity range (%) by operation. That is, it is possible to use the chromaticity range setting switch 23a to determine what percentage of the chromaticity value above and below the chromaticity value specified by the chromaticity setting unit 21 is to be the desired chromaticity range. In FIG. 5, 5% is specified as the chromaticity range. Although the designated chromaticity range is displayed on the chromaticity range display 23b, a numerical value may be directly input from the keyboard 3 into the chromaticity range display 23b.

【0028】符号24は明度範囲設定部で、上記の色度
範囲設定部23と同様の構成を有する。すなわち、明度
範囲設定部24は明度範囲設定スイッチ24a、および
明度範囲表示部24bから成る。操作方法は色度範囲設
定部23と同様であり、ユーザは明度範囲設定スイッチ
24a(あるいは明度範囲表示部24bへの数値直接入
力)により明度設定部22で指定した明度の上下何%の
範囲を所望の明度範囲とするかを設定できる。
Reference numeral 24 denotes a lightness range setting unit having the same configuration as that of the chromaticity range setting unit 23 described above. That is, the brightness range setting unit 24 includes a brightness range setting switch 24a and a brightness range display unit 24b. The operation method is the same as that of the chromaticity range setting unit 23. The user can use the brightness range setting switch 24a (or directly input a numerical value to the brightness range display unit 24b) to change the range of the percentage of the brightness specified by the brightness setting unit 22 above and below. It is possible to set whether or not to have a desired brightness range.

【0029】さらに、図5のダイアログでは、符号25
〜29、31のスイッチが設けられている。符号25は
全ての設定を有効とし確定するためのOKスイッチ、2
6はダイアログの設定操作を全てキャンセルするための
キャンセルスイッチ、27は抽出領域を手動で修正する
ための修正スイッチ、28は修正スイッチ27による修
正を取消すための取消スイッチ、29は現在の画像抽出
状態を確認表示させるための確認スイッチである。
Further, in the dialog of FIG.
To 29 and 31 are provided. Reference numeral 25 denotes an OK switch for validating and setting all settings, 2
6 is a cancel switch for canceling all the setting operations of the dialog, 27 is a correction switch for manually correcting the extraction area, 28 is a cancel switch for canceling the correction by the correction switch 27, and 29 is the current image extraction state. Is a confirmation switch for confirming the display.

【0030】符号31は全範囲/解除スイッチで、色度
範囲設定部23および明度範囲設定部24の範囲設定を
100%(全範囲)とするか否かを制御するためのもの
である。全範囲/解除スイッチ31を有効とすると、色
度範囲設定部23および明度範囲設定部24の設定状態
に拘らず下絵19が100%抽出され全面が明るく表示
される。
Reference numeral 31 denotes an all range / cancel switch for controlling whether or not the range setting of the chromaticity range setting unit 23 and the brightness range setting unit 24 is set to 100% (entire range). When the full range / release switch 31 is enabled, the sketch 19 is extracted 100% regardless of the setting state of the chromaticity range setting unit 23 and the lightness range setting unit 24, and the entire surface is displayed bright.

【0031】符号30は設定表示部で、設定表示30に
は現在選択されている色度と明度の設定値中心を色彩で
表示する。この設定表示部30の表示は、確認スイッチ
29を操作したタイミングなどにおいて更新してもよい
し、あるいは色度範囲設定部23および明度範囲設定部
24などの操作に応じて常時更新してもよい。
Reference numeral 30 denotes a setting display section. The setting display 30 displays the currently selected chromaticity and lightness set value centers in color. The display of the setting display unit 30 may be updated at the timing when the confirmation switch 29 is operated, or may be constantly updated according to the operation of the chromaticity range setting unit 23 and the lightness range setting unit 24. .

【0032】図5の色度表示部21cとして表示するx
y色度表を図8に示す。このxy色度表はXYZ表色系
(CIE 1931 標準表色系)に基くもので、RG
B表色系の3刺激値は、次式に基づきXYZ表色系の3
刺激値に変換することができる。
X displayed as the chromaticity display section 21c in FIG.
FIG. 8 shows the y chromaticity table. This xy chromaticity table is based on the XYZ color system (CIE 1931 standard color system),
The tristimulus values of the B color system are calculated based on the following equation.
It can be converted to a stimulus value.

【0033】[0033]

【数1】 (Equation 1)

【0034】そして、 x=X/(X+Y+Z) …(2) y=Y/(X+Y+Z) …(3) z=Z/(X+Y+Z) …(4) として求められるx、y、z のうち、(x,y)をい
わゆる色度(xy色度)として取り扱うことができ、
x,yをそれぞれ横軸、縦軸にとって配列すると図8の
ようなxy色度表となる。色度表示部21cはこのxy
色度表の配列で各色の画素を表示したものである。各色
の画素は連続的に変化するように配列されるため、ユー
ザは所望の色度を容易に特定することができる。
Then, x = X / (X + Y + Z) (2) y = Y / (X + Y + Z) (3) z = Z / (X + Y + Z) (4) x, y) can be treated as so-called chromaticity (xy chromaticity),
When x and y are arranged on the horizontal axis and the vertical axis, respectively, an xy chromaticity table as shown in FIG. 8 is obtained. The chromaticity display section 21c displays the xy
The pixels of each color are displayed in an array of a chromaticity table. Since the pixels of each color are arranged to change continuously, the user can easily specify a desired chromaticity.

【0035】次に上記構成における動作につき、詳細に
説明する。以上の構成において、イメージスキャナ4な
どから入力した画像データに基づき、CPU7が図6の
フローチャートに示す処理を実行することにより、領域
抽出が行なわれる。図6の制御はCPU7のプログラム
としてROM9、あるいは不図示のハードディスクドラ
イブやフロッピーディスクなどの記憶媒体に格納され、
供給されるものとする。これらの記憶媒体は本発明の記
憶媒体に相当する。
Next, the operation in the above configuration will be described in detail. In the above configuration, the CPU 7 executes the processing shown in the flowchart of FIG. 6 based on the image data input from the image scanner 4 or the like, thereby extracting the area. The control shown in FIG. 6 is stored as a program of the CPU 7 in the ROM 9 or a storage medium such as a hard disk drive or a floppy disk (not shown).
Shall be supplied. These storage media correspond to the storage media of the present invention.

【0036】図6のステップS1では、まず領域抽出ダ
イアログ20(図5)を表示する。ダイアログ20は図
4に示したように下絵19(既にイメージスキャナ4な
どから入力されているものとする)の上に重ねて常時表
示される。ダイアログ20では、上述のようにXYZ表
色系の横色度x、縦色度yを変数として形成した色マト
リクスを表示する。
In step S1 of FIG. 6, first, an area extraction dialog 20 (FIG. 5) is displayed. As shown in FIG. 4, the dialog 20 is always displayed on the sketch 19 (it is assumed that the image is already input from the image scanner 4 or the like). The dialog 20 displays a color matrix formed by using the horizontal chromaticity x and the vertical chromaticity y of the XYZ color system as variables as described above.

【0037】この状態で、ユーザは、色度設定部21、
色度範囲設定部23、および明度範囲設定部24により
色度および明度による領域指定を行なう。ユーザの色度
および明度による指定は次のようにして入力される。こ
こでは、ダイアログ20の操作状態から、色度の中心
値、およびその縦横(x、y)の下限値(xminおよび
ymin)と上限値(xmaxおよびymax)、および、明度
の中心値、およびその下限値(Smin)と上限値(Sma
x)とが取り出される(具体的な処理は後述の図6ステ
ップS10、S11、S12)。
In this state, the user operates the chromaticity setting section 21,
The chromaticity range setting unit 23 and the lightness range setting unit 24 specify an area based on chromaticity and lightness. The designation based on the user's chromaticity and lightness is input as follows. Here, from the operation state of the dialog 20, the central value of the chromaticity, the lower limit value (xmin and ymin) and the upper limit value (xmax and ymax) of the vertical and horizontal (x, y), the central value of the lightness, and the Lower limit (Smin) and upper limit (Sma
x) is extracted (specific processing is described later with reference to steps S10, S11, and S12 in FIG. 6).

【0038】すなわち、色度範囲設定部23で色度の中
心と範囲の設定を行なうことにより、これらxy色度の
横、縦の下限値と上限値を求めるとともに、後述のよう
にしてRGBの刺激和Sを求め、これに対して明度範囲
設定部24により中心と範囲の設定を行なうことによっ
て明度の下限値と上限値を求める。
That is, by setting the center and range of chromaticity in the chromaticity range setting section 23, the horizontal and vertical lower and upper limits of these xy chromaticities are obtained, and the RGB chromaticity is determined as described later. The stimulus sum S is obtained, and the center and the range are set by the lightness range setting unit 24, thereby obtaining the lower limit value and the upper limit value of the lightness.

【0039】ステップS2では、ダイアログ20の設定
値に基づき、下絵の画像データから設定範囲内画素を抽
出する。
In step S2, pixels within the set range are extracted from the image data of the sketch based on the set values of the dialog 20.

【0040】たとえば、図9のような下絵100から、
所望の明度および色度範囲を指定することにより、図1
0に符号101で示すような画像領域を抽出することが
できる。抽出した画像領域は、たとえば、2値の抽出デ
ータとしてRAM8に格納すると共に設定範囲内画素を
明るく、範囲外画素を暗く表示することにより同じ下絵
の画像中で強調表示する(あるいは抽出した部分のみ別
のウィンドウを生成して別表示してもよい)。
For example, from the sketch 100 shown in FIG.
By specifying the desired lightness and chromaticity ranges, FIG.
It is possible to extract an image area as indicated by reference numeral 101 at 0. The extracted image area is stored in the RAM 8 as binary extraction data, for example, and the pixels within the set range are displayed brighter and the pixels outside the set range are displayed darker, thereby highlighting the image in the same sketch (or only the extracted part). Another window may be created and displayed separately.)

【0041】下絵の画像データの各画素がユーザが指定
した色度および明度の設定範囲内か否かは、画素のR
(赤)、G(緑)、B(青)データから求めた刺激和S
とXYZ表色系に変換した色度(x、y)により判定す
る。この処理を図7に示す。
It is determined whether each pixel of the image data of the sketch is within the setting range of the chromaticity and lightness specified by the user or not.
(Red), G (Green), B (Blue) Stimulus sum S obtained from data
And the chromaticity (x, y) converted to the XYZ color system. This process is shown in FIG.

【0042】図7の処理は、下絵の画像データを順次走
査して、各画素がユーザが指定した色度および明度の設
定範囲内か否かを決定し、ディスプレイ上での下絵の表
示を制御するものである。ここで先に図7の処理を説明
する。
In the processing of FIG. 7, the image data of the sketch is sequentially scanned to determine whether each pixel is within the setting range of the chromaticity and lightness specified by the user, and control the display of the sketch on the display. Is what you do. Here, the processing of FIG. 7 will be described first.

【0043】図7のステップS21、S22では、垂直
および水平の画素のカウンタj、iをそれぞれ0に初期
化する。これにより下絵の原点にある画素が指し示され
ることになる。
In steps S21 and S22 of FIG. 7, the counters j and i of the vertical and horizontal pixels are initialized to 0, respectively. As a result, the pixel at the origin of the sketch is indicated.

【0044】続くステップS23以降のループにおい
て、まず、ステップS23ではカウンタj、iに示され
る画素の色刺激値をレジスタR、G、Bにそれぞれ読み
出す。
In the subsequent loop after step S23, first, in step S23, the color stimulus values of the pixels indicated by the counters j and i are read out to the registers R, G and B, respectively.

【0045】ステップS24では、その画素の刺激和S
を算出する(S=R+G+B)。この刺激和Sは画素の
明度として用いる。
In step S24, the stimulus sum S of the pixel
Is calculated (S = R + G + B). This stimulus sum S is used as the brightness of the pixel.

【0046】さらに、ユーザがダイアログ20によりX
YZ表色系に基づき指定した色度/明度範囲と比較する
ために、ステップS25において、上述の式(1)を用
いてレジスタR、G、BのRGB表色系のデータをXY
Z表色系に変換する。画素の横色度xおよび縦色度yは
上述の式(2)および(3)により求めることができ
る。
Further, the user inputs X
In order to compare with the chromaticity / brightness range specified based on the YZ color system, in step S25, the RGB color system data of the registers R, G, and B is converted into XY using the above-described equation (1).
Convert to Z color system. The horizontal chromaticity x and the vertical chromaticity y of the pixel can be obtained by the above equations (2) and (3).

【0047】ステップS26およびS27では、この画
素の色度(x、y)と明度(刺激和S)がユーザの指定
した範囲内にあるか否かを判定する。
In steps S26 and S27, it is determined whether or not the chromaticity (x, y) and lightness (stimulus sum S) of this pixel are within the range specified by the user.

【0048】すなわち、ステップS26では、xy色度
値について、 xmin <x<xmax …(5) ymin <y<ymax …(6) が、また、ステップS27では、 Smin<S<Smax …(7) が判定される。
That is, in step S26, xmin <x <xmax (5) ymin <y <ymax (6), and in step S27, Smin <S <Smax (7) Is determined.

【0049】ステップS26およびS27で画素の色度
および明度がユーザの指定範囲内であれば、ステップS
28で抽出制御データに1をセットし、ステップS29
でこの画素を明るく表示する。
If the chromaticity and lightness of the pixel are within the range specified by the user in steps S26 and S27, step S
In step 28, 1 is set in the extraction control data, and step S29
Displays this pixel brightly.

【0050】一方、ステップS26およびS27で画素
の色度および明度がユーザの指定範囲外であれば、ステ
ップS30で抽出制御データに0をセットし、ステップ
S31でこの画素を暗く表示する。
On the other hand, if the chromaticity and lightness of the pixel are out of the range specified by the user in steps S26 and S27, 0 is set in the extraction control data in step S30, and this pixel is displayed dark in step S31.

【0051】なお、ステップS28、S30で設定した
抽出制御データは、各画素と関連づけてRAM8の所定
領域(画素のRGBデータの空いているビットを利用し
てもよい)に記憶する。また、抽出領域を別ウィンドウ
に表示する場合は、ステップS29、S31の処理は、
別ウィンドウのための画像データ領域にデータをコピー
する処理に置換すればよい。
The extraction control data set in steps S28 and S30 is stored in a predetermined area of the RAM 8 (a vacant bit of the RGB data of the pixel may be used) in association with each pixel. When the extraction region is displayed in another window, the processing in steps S29 and S31
What is necessary is just to replace with the process of copying data to the image data area for another window.

【0052】ステップS32では、下絵の画素の水平方
向1ラインの走査を終了したか否かを判定し、水平方向
の1ラインの走査を終了していなければステップS33
でカウンタiをインクリメントしてステップS23に復
帰し、水平方向の1ラインの走査を続行する。
In step S32, it is determined whether or not scanning of one pixel in the horizontal direction has been completed for the pixel of the sketch, and if scanning of one line in the horizontal direction has not been completed, it is determined in step S33.
Then, the counter i is incremented, and the process returns to step S23 to continue scanning one line in the horizontal direction.

【0053】水平方向の1ラインの走査が終了すると、
ステップS34で下絵の画素の垂直方向の走査(全ライ
ンの走査)を終了したか否かを判定し、垂直方向の走査
が終了していなければステップS35でカウンタjをイ
ンクリメントしてステップS22に復帰し、次の水平ラ
インの走査を行なう。
When scanning of one line in the horizontal direction is completed,
In step S34, it is determined whether or not the vertical scanning (scanning of all lines) of the pixels of the sketch is completed. If the vertical scanning is not completed, the counter j is incremented in step S35 and the process returns to step S22. Then, the next horizontal line is scanned.

【0054】以上のようにして、ユーザがダイアログ2
0により行なった色度および明度の範囲指定に基づき、
図9の下絵から図10の領域を抽出し、明るく強調表示
(あるいは別ウィンドウに表示)することができる。
As described above, the user can set the dialog 2
Based on the chromaticity and lightness ranges specified by 0,
The region of FIG. 10 can be extracted from the sketch in FIG. 9 and highlighted and displayed brightly (or displayed in another window).

【0055】再び図6において、ステップS3では修正
スイッチ27の操作を判断し、修正スイッチ27が操作
されている場合には、ステップS4で、上記のようにし
て抽出した画像領域を手動で修正させる。たとえば、図
10の符号102のように、画像領域101をマウス2
により領域指定する。そして、この指定部分102の対
象部分を抽出有り(たとえば縫いつぶしデータとして出
力の対象とする)、あるいは抽出なし(出力の対象とし
ない)に変更したり、抽出した画像領域の輪郭を手動修
正したりする操作を受け付ける。さらに、この修正操作
の結果に基づき、下絵101の表示を更新する。
Referring again to FIG. 6, in step S3, the operation of the correction switch 27 is determined. If the correction switch 27 is operated, the image region extracted as described above is manually corrected in step S4. . For example, as indicated by reference numeral 102 in FIG.
To specify the area. Then, the target portion of the designated portion 102 is changed to one with extraction (for example, output as stitching data) or no extraction (not output), or manually correct the contour of the extracted image area. Or other operations. Further, the display of the sketch 101 is updated based on the result of the correction operation.

【0056】たとえば、図10の表示の場合は、指定部
分102のみを強調表示したり、あるいはさらにこの部
分を縫いつぶしデータとして出力の対象とする/しない
の別によりさらに輝度や色を変更して表示する。あるい
は、さらに図11のように別ウィンドウに指定部分10
2に対応する部分103のみを取り出して表示してもよ
い。
For example, in the case of the display shown in FIG. 10, only the designated portion 102 is highlighted, or the brightness or color is further changed depending on whether this portion is to be output as stitched data or not. indicate. Alternatively, as shown in FIG.
Alternatively, only the portion 103 corresponding to 2 may be extracted and displayed.

【0057】この時の変更部分はRAM8に記憶してお
き、修正処理の後、再度ステップS3で取消スイッチ2
8の操作を検出すると、修正スイッチ27による変更部
分を元に戻し再表示する。
The changed portion at this time is stored in the RAM 8, and after the correction processing, the cancel switch 2 is again set in step S3.
When the operation 8 is detected, the portion changed by the correction switch 27 is restored and displayed again.

【0058】ステップS5では、OKスイッチ25を判
断し、オンされてなければステップS6で確認スイッチ
29の操作を判断する。確認スイッチ29がオンならば
ステップS7に進み、現状で抽出されている画像領域か
ら作成した縫いデータに基づいて縫い形状を下絵19に
重ねて表示する。この縫い形状の表示は下絵とは別のウ
ィンドウへの表示であってもよい。
In step S5, the OK switch 25 is determined, and if it is not turned on, the operation of the confirmation switch 29 is determined in step S6. If the confirmation switch 29 is on, the process proceeds to step S7, and the sewing shape is displayed on the sketch 19 based on the sewing data created from the currently extracted image area. The display of the sewing shape may be displayed in a window different from the sketch.

【0059】ステップS8では、キャンセルスイッチ2
6のオン判断により、ステップS9で縫い形状表示を消
去し元の表示に戻す。
In step S8, the cancel switch 2
In accordance with the ON determination of step 6, the display of the sewing shape is deleted in step S9 and the display is returned to the original display.

【0060】一方、ステップS6が否定された場合は、
ステップS10において、領域抽出ダイアログ20の設
定状態に変更があったか否かを判定する。すなわち、領
域抽出ダイアログ20の横色度設定スイッチ21a、縦
色度設定スイッチ21b、明度設定スイッチ22a、色
度範囲設定スイッチ23a、明度範囲設定スイッチ24
a、全範囲/解除スイッチ31などの設定状態に変更が
あったか否かを判断し、これらの設定状態に変更があれ
ばステップS13に進む。
On the other hand, if step S6 is denied,
In step S10, it is determined whether or not the setting state of the area extraction dialog 20 has been changed. That is, the horizontal chromaticity setting switch 21a, the vertical chromaticity setting switch 21b, the brightness setting switch 22a, the chromaticity range setting switch 23a, and the brightness range setting switch 24 of the area extraction dialog 20
a, It is determined whether or not the setting states of the all range / release switch 31 and the like have been changed, and if these setting states have been changed, the process proceeds to step S13.

【0061】ステップS10で各部の設定変更がなけれ
ば、ステップS11でマウス2による画像指示を判断す
る。ここで、下絵19あるいは領域抽出ダイアログ20
の色度表示部21c内にマウス2による指示があれば、
ステップS12において指示位置に該当する画像データ
の画素を読み込み、そのRGBデータから横色度x、縦
色度y、および明度を算出する。ここでは上述の式
(1)を用いて色度(x、y)、刺激和Sを求める。色
度および明度の範囲は色度範囲設定スイッチ23a、明
度範囲設定スイッチ24aの状態から入力される。
If there is no change in the setting of each section in step S10, an image instruction by the mouse 2 is determined in step S11. Here, the sketch 19 or the region extraction dialog 20
If there is an instruction by the mouse 2 in the chromaticity display section 21c of
In step S12, the pixel of the image data corresponding to the designated position is read, and the horizontal chromaticity x, the vertical chromaticity y, and the brightness are calculated from the RGB data. Here, the chromaticity (x, y) and the stimulus sum S are obtained by using the above equation (1). The ranges of chromaticity and lightness are input from the states of the chromaticity range setting switch 23a and the lightness range setting switch 24a.

【0062】ステップS13では、設定変更をダイアロ
グ20に反映表示しステップS2に戻り再度画像データ
を抽出し下絵19を表示する。このとき全範囲/解除3
1がセットされていると、下絵19が100%抽出され
全面が明るく表示される。
In step S13, the setting change is reflected and displayed on the dialog 20, the process returns to step S2, and the image data is extracted again and the sketch 19 is displayed. At this time, all range / cancel 3
When 1 is set, the sketch 19 is extracted 100%, and the entire surface is displayed bright.

【0063】一方、ステップS5でOKキー25がオン
ならば、ステップS14で領域抽出ダイアログ20を非
表示とし、ステップS15で設定表示30の表示色を糸
色として抽出データに基づいて縫いデータを作成しRA
M8に格納する。ここでは不図示の縫いデータ作成ダイ
アログを用い、公知の縫いデータ作成プログラムに基く
処理により縫いデータの作成が行なわれる。
On the other hand, if the OK key 25 is turned on in step S5, the area extraction dialog 20 is not displayed in step S14, and the sewing color is created based on the extracted data using the display color of the setting display 30 as the thread color in step S15. Shi RA
Store it in M8. Here, a sewing data creation dialog (not shown) is used to create sewing data by a process based on a known sewing data creation program.

【0064】複数の縫い領域について縫いデータを作成
する場合は上記処理ステップS1〜ステップS15を繰
り返す。ステップS16では不図示の縫いデータ作成終
了スイッチの判断により、縫いデータ作成作業を終え、
ステップS17でRAM8の縫いデータを読み出しメモ
リカード11に書込み、処理を終了する。
When creating sewing data for a plurality of sewing areas, the above processing steps S1 to S15 are repeated. In step S16, the sewing data creation operation is terminated according to the determination of the sewing data creation end switch (not shown).
In step S17, the sewing data in the RAM 8 is read out and written in the memory card 11, and the process is terminated.

【0065】以上のように、本実施形態によれば、以下
の優れた効果が得られる。
As described above, according to the present embodiment, the following excellent effects can be obtained.

【0066】(1)ユーザに色度範囲、あるいはさらに
明度範囲を指定させ、多階調、多色の画像データから縫
い目生成領域を抽出できるようにしたので、自然な画像
を下絵として用いることができる。
(1) The user is allowed to specify a chromaticity range or a lightness range so that a stitch generation area can be extracted from multi-tone and multi-color image data, so that a natural image can be used as a draft. it can.

【0067】(2)画像データからの抽出条件を色度と
明度で別々に設定できるようにしたので、同じ色調の範
囲内での微妙な濃淡変化も区別して抽出でき、仕上がり
の美しい縫いデータを作成することができる。
(2) Since the extraction conditions from the image data can be set separately for chromaticity and lightness, subtle shade changes within the same color tone range can be distinguished and extracted, and beautifully sewn data with a beautiful finish can be obtained. Can be created.

【0068】(3)色度範囲あるいはさらに明度範囲の
指定に基づき、自動的に縫い目生成領域を抽出できるよ
うにしたので、誰にでも容易に縫いデータを作成するこ
とができる。
(3) Since the stitch generation area can be automatically extracted based on the designation of the chromaticity range or the lightness range, anyone can easily create the stitching data.

【0069】(4)色度範囲あるいはさらに明度範囲の
指定に基づき抽出した画像領域を他の画像領域と区別し
て表示する、たとえば、同じ下絵の画像中で強調表示し
たり、抽出した画像領域を別ウィンドウに表示したりす
ることにより、ひと目で画像領域の抽出結果を視認で
き、作業効率を大きく向上することができる。
(4) The image area extracted based on the specification of the chromaticity range or the lightness range is displayed so as to be distinguished from other image areas. For example, the highlighted image area in the same sketch image or the extracted image area is displayed. By displaying it in another window, the extraction result of the image area can be visually recognized at a glance, and the working efficiency can be greatly improved.

【0070】以上の実施形態では、イメージスキャナ4
から下絵画像を入力しているが、本実施形態によれば自
然な画像を処理できるので、デジタルスチルカメラ、デ
ジタルビデオカメラ、ビデオデコーダ等、種々の機器か
ら入力した画像や媒体により入手できるデジタル画像を
下絵として用いることができる。
In the above embodiment, the image scanner 4
According to the present embodiment, a natural image can be processed, so that a digital image obtained from various devices or media, such as a digital still camera, a digital video camera, and a video decoder, is input. Can be used as a sketch.

【0071】また、上記実施形態では、ユーザに xmin <x<xmax ymin <y<ymax なる色度範囲を選択させており、これは図8のような色
度表中の矩形領域を選択することに他ならない。しか
し、xy色度表の所望の範囲を切り出す方法はこれに限
らず、任意の方法を用いることができる。
Further, in the above embodiment, the user is allowed to select a chromaticity range of xmin <x <xmax ymin <y <ymax, which is to select a rectangular area in the chromaticity table as shown in FIG. Nothing else. However, the method of cutting out a desired range of the xy chromaticity table is not limited to this, and any method can be used.

【0072】たとえば、色度(x、y)の設定値からの
差分Δx、Δyについて、Δx・Δx+Δy・Δyが所
定値r・rとなるような範囲は色度表の設定値(x、
y)を中心とした半径rの円となる。したがって、所望
の色度の中心(x、y)の他に、上記の半径の値を適当
な方法でユーザに指定させれば、色度表中の円形の色度
範囲を設定させることができる。もちろん、円形領域の
みならず適当な計算式を用いれば、楕円などの任意の色
度範囲をユーザに選択させることもできる。
For example, with respect to the differences Δx and Δy from the set values of the chromaticity (x, y), the range in which Δx · Δx + Δy · Δy becomes the predetermined value rr is the set value (x, y) of the chromaticity table.
A circle having a radius r centered on y) is obtained. Therefore, if the user specifies the radius value in addition to the desired chromaticity center (x, y) by an appropriate method, the circular chromaticity range in the chromaticity table can be set. . Of course, if an appropriate calculation formula is used in addition to the circular region, the user can select an arbitrary chromaticity range such as an ellipse.

【0073】上記実施形態では、色度範囲の指定は、ス
クロールバー形式の色度設定スイッチ21a、21bを
用いているが、たとえば、色度表示部21c中に色度範
囲に相当する、矩形や、円、楕円などの図形を表示し、
これをユーザがマウス2により適宜ドラッグすることに
より変形させ、その図形の枠内をユーザの選択した色度
範囲として入力するようにしてもよい。
In the above embodiment, the chromaticity range is specified by using the scroll bar type chromaticity setting switches 21a and 21b. For example, a rectangular or chromaticity range corresponding to the chromaticity range is displayed in the chromaticity display section 21c. , Circles, ellipses, and other shapes,
This may be deformed by the user appropriately dragging with the mouse 2, and the inside of the frame of the figure may be input as the chromaticity range selected by the user.

【0074】[0074]

【発明の効果】以上の説明から明らかなように、本発明
によれば、入力画像データから対応する刺繍の縫い目を
形成するための刺繍縫いデータを生成する縫いデータ作
成装置、その制御方法、その制御プログラムを格納した
コンピュータ読取可能な記憶媒体において、ユーザに所
望の色度範囲を指定させ、入力画像データを構成する画
素の色度が指定された色度範囲に含まれるか否かを判定
し、その判定結果に基づき、入力画像データからユーザ
が指定した色度範囲に含まれる画素から成る画像領域を
刺繍縫いデータの作成対象として抽出する構成を採用し
ているので、連続階調と、自然な色調、明度を有する画
像を下絵として、誰にでも容易に刺繍縫いデータを作成
することができる、という優れた効果がある。
As is apparent from the above description, according to the present invention, a sewing data creating apparatus for generating embroidery sewing data for forming a corresponding embroidery stitch from input image data, a control method therefor, and a control method therefor are provided. In the computer-readable storage medium storing the control program, the user is allowed to specify a desired chromaticity range, and it is determined whether or not the chromaticity of the pixels constituting the input image data is included in the specified chromaticity range. Based on the determination result, an image area composed of pixels included in the chromaticity range designated by the user is extracted from the input image data as a target for creating embroidery sewing data. There is an excellent effect that anyone can easily create embroidery stitching data using an image having an appropriate color tone and brightness as a draft.

【0075】あるいはさらに、ユーザに所望の明度範囲
を指定させ、入力画像データを構成する画素の明度が指
定された明度範囲に含まれるか否かを判定し、前記抽出
手段による画像領域の抽出において、画像領域の抽出の
条件として前記色度範囲に加えて前記明度範囲判定の結
果を用いる構成を採用することにより、同じ色調の範囲
内での微妙な濃淡変化も区別して抽出でき、仕上がりの
美しい縫いデータを作成することができる、という優れ
た効果がある。
Alternatively, the user is allowed to specify a desired lightness range, and it is determined whether or not the lightness of the pixels constituting the input image data is included in the specified lightness range. By adopting a configuration that uses the result of the lightness range determination in addition to the chromaticity range as a condition for extracting an image area, a subtle shade change within the same color tone range can be distinguished and extracted, and the finish is beautiful. There is an excellent effect that sewing data can be created.

【0076】あるいはさらに、入力画像データ中の前記
抽出手段により抽出した画像領域と前記抽出手段により
抽出されなかった画像領域とを区別して表示する構成を
採用することにより、ひと目で画像領域の抽出結果を視
認でき、作業効率を大きく向上することができる、とい
う優れた効果がある。
Alternatively, the image area extracted by the extracting means and the image area not extracted by the extracting means in the input image data are distinguished and displayed so that the image area extraction result can be seen at a glance. And the work efficiency can be greatly improved.

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

【図1】従来の縫いデータ作成装置の外観構成を示した
説明図である。
FIG. 1 is an explanatory diagram showing an external configuration of a conventional sewing data creation device.

【図2】従来の縫いデータ作成装置の制御系を示したブ
ロック図である。
FIG. 2 is a block diagram showing a control system of a conventional sewing data creation device.

【図3】本発明の縫いデータ作成装置の制御系を示した
ブロック図である。
FIG. 3 is a block diagram showing a control system of the sewing data creation device of the present invention.

【図4】本発明の縫いデータ作成装置の表示装置におけ
る下絵および領域抽出ダイアログの構成を示した説明図
である。
FIG. 4 is an explanatory diagram showing the configuration of a sketch and area extraction dialog on the display device of the sewing data creation device of the present invention.

【図5】本発明の領域抽出ダイアログの構成を詳細に示
した説明図である。
FIG. 5 is an explanatory diagram showing the configuration of an area extraction dialog according to the present invention in detail.

【図6】本発明の縫いデータ作成装置の領域抽出制御の
流れを示したフローチャート図である。
FIG. 6 is a flowchart showing a flow of region extraction control of the sewing data creation device of the present invention.

【図7】本発明の刺繍縫いデータ作成装置において、ユ
ーザが指定した色度および明度範囲に基づき下絵の画像
データから領域抽出を行なう際の制御の流れを示したフ
ローチャート図である。
FIG. 7 is a flowchart showing a control flow when extracting an area from the image data of the sketch based on the chromaticity and lightness range specified by the user in the embroidery sewing data creating device of the present invention.

【図8】図5の領域抽出ダイアログの色度表示部に表示
するxy色度表を示した説明図である。
8 is an explanatory diagram showing an xy chromaticity table displayed on a chromaticity display section of the region extraction dialog of FIG. 5;

【図9】本発明の縫いデータ作成装置に用いられる下絵
画像の例を示した説明図である。
FIG. 9 is an explanatory diagram showing an example of a sketch image used in the sewing data creation device of the present invention.

【図10】図9の下絵画像から抽出した画像領域を示し
た説明図である。
FIG. 10 is an explanatory diagram showing an image area extracted from the sketch image of FIG. 9;

【図11】図9の下絵画像から抽出した画像領域の表示
例を示した説明図である。
11 is an explanatory diagram showing a display example of an image area extracted from a sketch image of FIG. 9;

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

2 マウス 3 キーボード 4 イメージスキャナ 5 カードコネクタ 6 表示装置 7 CPU 8 RAM 9 ROM 10 I/Oポート 12 ビデオコントローラ 19 下絵 20 領域抽出ダイアログ 21 色度設定部 21a 色度横設定スイッチ 21b 色度縦設定スイッチ 21c 色度表示部 22 明度設定部 22a 明度設定スイッチ 22b 明度表示部 23 色度範囲設定部 23a 色度範囲設定スイッチ 23b 色度範囲表示 24 明度範囲設定部 24a 明度範囲設定スイッチ 24b 明度範囲表示部 29 確認スイッチ 31 全範囲/解除スイッチ 2 mouse 3 keyboard 4 image scanner 5 card connector 6 display device 7 CPU 8 RAM 9 ROM 10 I / O port 12 video controller 19 sketch 20 area extraction dialog 21 chromaticity setting section 21a chromaticity horizontal setting switch 21b chromaticity vertical setting switch 21c chromaticity display section 22 brightness setting section 22a brightness setting switch 22b brightness display section 23 chromaticity range setting section 23a chromaticity range setting switch 23b chromaticity range display 24 brightness range setting section 24a brightness range setting switch 24b brightness range display section 29 Confirmation switch 31 All range / release switch

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 3B150 CB04 CE09 CE23 GF01 GF04 LA44 LA63 MA03 NA59 NB18 QA06 QA07 QA08 5E501 AA02 AA07 AA30 AC15 CB09 CB13 EA15 FA08 FA14 FB28 ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 3B150 CB04 CE09 CE23 GF01 GF04 LA44 LA63 MA03 NA59 NB18 QA06 QA07 QA08 5E501 AA02 AA07 AA30 AC15 CB09 CB13 EA15 FA08 FA14 FB28

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力画像データから対応する刺繍の縫い
目を形成するための刺繍縫いデータを生成する刺繍縫い
データ作成装置において、 ユーザが所望の色度範囲を指定するための色度範囲入力
手段と、 入力画像データを構成する画素の色度が前記色度範囲入
力手段により指定された色度範囲に含まれるか否かを判
定する色度判定手段と、 前記色度判定手段の判定結果に基づき、入力画像データ
から前記色度範囲入力手段により指定された色度範囲に
含まれる画素から成る画像領域を刺繍縫いデータの作成
対象として抽出する抽出手段を有することを特徴とする
刺繍縫いデータ作成装置。
1. An embroidery stitching data generating apparatus for generating embroidery stitching data for forming a corresponding embroidery stitch from input image data, comprising: a chromaticity range input means for allowing a user to specify a desired chromaticity range; A chromaticity determining unit that determines whether or not the chromaticity of the pixels that constitute the input image data is included in the chromaticity range specified by the chromaticity range input unit, based on a determination result of the chromaticity determining unit An embroidery sewing data creating apparatus, comprising: extracting means for extracting an image area including pixels included in the chromaticity range designated by the chromaticity range input means from input image data as an object for creating embroidery sewing data. .
【請求項2】 ユーザが所望の明度範囲を指定するため
の明度範囲入力手段と、入力画像データを構成する画素
の明度が前記明度範囲入力手段により指定された明度範
囲に含まれるか否かを判定する明度判定手段とを有し、
前記抽出手段による画像領域の抽出において、画像領域
の抽出の条件として前記色度範囲に加えて前記明度範囲
判定手段の判定結果を用いることを特徴とする請求項1
に記載の刺繍縫いデータ作成装置。
2. A lightness range input means for a user to specify a desired lightness range, and whether or not the lightness of pixels constituting input image data is included in the lightness range specified by the lightness range input means. Brightness determination means for determining,
2. A method according to claim 1, wherein, in the extraction of the image region by the extraction unit, a determination result of the lightness range determination unit is used in addition to the chromaticity range as a condition for extracting the image region.
The embroidery sewing data creation device described in.
【請求項3】 入力画像データ中の前記抽出手段により
抽出した画像領域と前記抽出手段により抽出されなかっ
た画像領域とを区別して表示する表示手段を有すること
を特徴とする請求項1に記載の刺繍縫いデータ作成装
置。
3. The display device according to claim 1, further comprising a display unit for distinguishing and displaying an image region extracted by the extraction unit and an image region not extracted by the extraction unit in the input image data. Embroidery sewing data creation device.
【請求項4】 入力画像データから対応する刺繍の縫い
目を形成するための刺繍縫いデータを生成する刺繍縫い
データ作成装置の制御方法において、 ユーザが所望の色度範囲を指定するための色度範囲入力
工程と、 入力画像データを構成する画素の色度が前記色度範囲入
力工程により指定された色度範囲に含まれるか否かを判
定する色度判定工程と、 前記色度判定工程の判定結果に基づき、入力画像データ
から前記色度範囲入力工程により指定された色度範囲に
含まれる画素から成る画像領域を刺繍縫いデータの作成
対象として抽出する抽出工程を有することを特徴とする
刺繍縫いデータ作成装置の制御方法。
4. A control method for an embroidery sewing data creation device for generating embroidery sewing data for forming a corresponding embroidery stitch from input image data, wherein a chromaticity range for a user to specify a desired chromaticity range. An input step, a chromaticity determination step of determining whether or not the chromaticity of the pixels constituting the input image data is included in the chromaticity range specified by the chromaticity range input step, and a determination of the chromaticity determination step An embroidery sewing step of extracting an image area composed of pixels included in the chromaticity range specified by the chromaticity range input step from input image data as a target for creating embroidery sewing data based on the result; A control method for a data creation device.
【請求項5】 ユーザが所望の明度範囲を指定するため
の明度範囲入力工程と、入力画像データを構成する画素
の明度が前記明度範囲入力工程により指定された明度範
囲に含まれるか否かを判定する明度判定工程とを有し、
前記抽出工程による画像領域の抽出において、画像領域
の抽出の条件として前記色度範囲に加えて前記明度範囲
判定工程の判定結果を用いることを特徴とする請求項4
に記載の刺繍縫いデータ作成装置の制御方法。
5. A brightness range inputting step for the user to specify a desired brightness range, and determining whether or not the brightness of the pixels constituting the input image data is included in the brightness range specified by the brightness range inputting step. And a brightness determination step of determining
5. The method according to claim 4, wherein in the extraction of the image area in the extraction step, a determination result of the lightness range determination step is used in addition to the chromaticity range as a condition for extracting the image area.
The control method of the embroidery sewing data creation device according to the above.
【請求項6】 入力画像データ中の前記抽出工程により
抽出した画像領域と前記抽出工程により抽出されなかっ
た画像領域とを区別して表示する表示工程を有すること
を特徴とする請求項4に記載の刺繍縫いデータ作成装置
の制御方法。
6. The display device according to claim 4, further comprising a display step of distinguishing and displaying an image area in the input image data extracted in the extraction step and an image area not extracted in the extraction step. A control method for the embroidery sewing data creation device.
【請求項7】 入力画像データから対応する刺繍の縫い
目を形成するための刺繍縫いデータを生成する刺繍縫い
データ作成装置の制御プログラムを格納したコンピュー
タ読取可能な記憶媒体において、 ユーザが所望の色度範囲を指定するための色度範囲入力
工程と、 入力画像データを構成する画素の色度が前記色度範囲入
力工程により指定された色度範囲に含まれるか否かを判
定する色度判定工程と、 前記色度判定工程の判定結果に基づき、入力画像データ
から前記色度範囲入力工程により指定された色度範囲に
含まれる画素から成る画像領域を刺繍縫いデータの作成
対象として抽出する抽出工程を格納したことを特徴とす
る刺繍縫いデータ作成装置の制御プログラムを格納した
コンピュータ読取可能な記憶媒体。
7. A computer-readable storage medium storing a control program of an embroidery stitching data creating apparatus for generating embroidery stitching data for forming a corresponding embroidery stitch from input image data, comprising: A chromaticity range inputting step for specifying a range, and a chromaticity determining step for determining whether or not the chromaticity of the pixels constituting the input image data is included in the chromaticity range specified by the chromaticity range inputting step Extracting an image area composed of pixels included in the chromaticity range specified by the chromaticity range input step from input image data as a target for creating embroidery sewing data, based on a determination result of the chromaticity determination step A computer-readable storage medium storing a control program for an embroidery sewing data creation device, wherein the control program stores a control program.
【請求項8】 ユーザが所望の明度範囲を指定するため
の明度範囲入力工程と、入力画像データを構成する画素
の明度が前記明度範囲入力工程により指定された明度範
囲に含まれるか否かを判定する明度判定工程とを有し、
前記抽出工程による画像領域の抽出において、画像領域
の抽出の条件として前記色度範囲に加えて前記明度範囲
判定工程の判定結果を用いるための制御手順を格納した
ことを特徴とする請求項7に記載の刺繍縫いデータ作成
装置の制御プログラムを格納したコンピュータ読取可能
な記憶媒体。
8. A brightness range inputting step for the user to specify a desired brightness range, and determining whether or not the brightness of the pixels constituting the input image data is included in the brightness range specified by the brightness range inputting step. And a brightness determination step of determining
8. The method according to claim 7, wherein in the extraction of the image area in the extraction step, a control procedure for using a determination result of the lightness range determination step in addition to the chromaticity range as a condition for extracting the image area is stored. A computer-readable storage medium storing a control program for the embroidery sewing data creation device described above.
【請求項9】 入力画像データ中の前記抽出工程により
抽出した画像領域と前記抽出工程により抽出されなかっ
た画像領域とを区別して表示する表示工程を格納したこ
とを特徴とする請求項7に記載の刺繍縫いデータ作成装
置の制御プログラムを格納したコンピュータ読取可能な
記憶媒体。
9. The image processing apparatus according to claim 7, further comprising a display step of distinguishing and displaying an image area in the input image data extracted in the extraction step and an image area not extracted in the extraction step. And a computer-readable storage medium storing a control program for the embroidery sewing data creation device.
JP33361499A 1999-11-25 1999-11-25 Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device Pending JP2001149679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33361499A JP2001149679A (en) 1999-11-25 1999-11-25 Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33361499A JP2001149679A (en) 1999-11-25 1999-11-25 Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device

Publications (1)

Publication Number Publication Date
JP2001149679A true JP2001149679A (en) 2001-06-05

Family

ID=18268030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33361499A Pending JP2001149679A (en) 1999-11-25 1999-11-25 Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device

Country Status (1)

Country Link
JP (1) JP2001149679A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170592A (en) * 2014-06-24 2014-09-18 Omron Corp Image processing apparatus
US9728168B2 (en) 2010-04-07 2017-08-08 Omron Corporation Image processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9728168B2 (en) 2010-04-07 2017-08-08 Omron Corporation Image processing apparatus
JP2014170592A (en) * 2014-06-24 2014-09-18 Omron Corp Image processing apparatus

Similar Documents

Publication Publication Date Title
US5386789A (en) Embroidery data producing apparatus for controlling a sewing machine
US10630849B2 (en) Image processing device and medium storing image processing program
US5474000A (en) Apparatus for processing embroidery data
US5791271A (en) Embroidery data processing device and method
US5794553A (en) Embroidery data processing apparatus
JP2003271125A (en) Device, method and program for image display
CN102087578A (en) Color designation control device and color designation control method
JPH08299630A (en) Embroidery data processor
JP2007275105A (en) Embroidery data preparing device, embroidery data preparing program and computer-readable recording medium
US5563795A (en) Embroidery stitch data producing apparatus and method
JPH07238464A (en) Method for preparing embroidery data
JP2007275104A (en) Embroidery data preparing device, embroidery data preparing program and computer-readable recording medium
JP2008110008A (en) Embroidery data creating device, embroidery data creating program, and recording medium recorded with the embroidery data creating program
US5740056A (en) Method and device for producing embroidery data for a household sewing machine
JPH07236784A (en) Pattern image reading and its device for embroidery data origination equipment
US5960726A (en) Embroidery data processor
JP2006203595A (en) Device for partially replacing color in image color space and color partially replacing system
US5558033A (en) Image figure processing method and device
JP2001149679A (en) Embroidery sewing data originating device, method for controlling the device, and computer-readable storage medium storing control program the device
JP3769823B2 (en) Image processing device
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
JP3813131B2 (en) Embroidery data creation device
JP2002263386A (en) Embroidery data-making system and program
JPH10314471A (en) Embroidery data processor and embroidery sewing machine
JP2001104670A (en) Sewing data processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061114

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20070209

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080415

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080902