Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2856164B2 - Mask making method and image processing apparatus - Google Patents
[go: Go Back, main page]

JP2856164B2 - Mask making method and image processing apparatus - Google Patents

Mask making method and image processing apparatus

Info

Publication number
JP2856164B2
JP2856164B2 JP8208955A JP20895596A JP2856164B2 JP 2856164 B2 JP2856164 B2 JP 2856164B2 JP 8208955 A JP8208955 A JP 8208955A JP 20895596 A JP20895596 A JP 20895596A JP 2856164 B2 JP2856164 B2 JP 2856164B2
Authority
JP
Japan
Prior art keywords
mask
sample
image
threshold value
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP8208955A
Other languages
Japanese (ja)
Other versions
JPH1040370A (en
Inventor
大 皆川
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP8208955A priority Critical patent/JP2856164B2/en
Publication of JPH1040370A publication Critical patent/JPH1040370A/en
Application granted granted Critical
Publication of JP2856164B2 publication Critical patent/JP2856164B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理方法及び
画像処理装置に関し、特にカラー画像の任意の領域から
マスク情報を生成する画像処理の方法と、マスク作成の
機能を具備した画像処理装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing method and an image processing apparatus, and more particularly to an image processing method for generating mask information from an arbitrary area of a color image and an image processing apparatus having a mask creation function. .

【0002】[0002]

【従来の技術】従来、この種の画像処理装置は、画像の
任意の領域に対して画像処理を行いマスク作成するため
に用いられている。
2. Description of the Related Art Conventionally, this type of image processing apparatus has been used for performing image processing on an arbitrary area of an image to create a mask.

【0003】従来のマスク作成方法の一例として、例え
ば特開平2−284275号公報には、矩形や円など予
め定められた形状で切り取る方法や、マウスなどのポイ
ンティングデバイスにより、切り取りたい領域の輪郭を
追うという方法における問題点を解消すべく、マスク対
象領域の代表画素の特徴情報を抽出し、該特徴情報が共
通する画素を検出することによりマスク情報を生成し、
このマスク情報に対して閉領域処理を行うようにした画
像処理方法が提案されている。
As an example of a conventional mask making method, for example, Japanese Patent Application Laid-Open No. 2-284275 discloses a method of cutting out a predetermined shape such as a rectangle or a circle, and a method of using a pointing device such as a mouse to outline a region to be cut out. In order to solve the problem in the method of following, the feature information of the representative pixel of the mask target area is extracted, and the mask information is generated by detecting a pixel having the common feature information.
An image processing method has been proposed in which closed area processing is performed on the mask information.

【0004】また、別なマスク作成方法の一例として、
例えば特開平4−308980号公報には、既知の関数
を使って設定された検査領域中に任意形状の非検査領域
を設定するための画像処理におけるマスク生成方法とし
て、既知の関数により設定された検査領域中に不特定形
状の非検査マスクを生成するためのに明度のしきい値を
入力し、入力した多階調画像データにおいて、前記しき
い値以下または以上の明度を有する画素をマスク情報と
して検査領域から削除する方法が提案されている。同公
報には、また作成されたマスクの縁を、任意の画素数だ
けマスク領域内へ縮小あるいはマスク領域外へ拡大する
ことを特徴とするマスク作成方法が提案されている。
[0004] As another example of a method for producing a mask,
For example, Japanese Patent Application Laid-Open No. 4-308980 discloses a method of generating a mask in an image processing for setting a non-inspection area of an arbitrary shape in an inspection area set by using a known function. A lightness threshold for generating a non-inspection mask of an unspecified shape in the inspection area is input, and in the input multi-tone image data, pixels having lightness equal to or less than the threshold are mask information. As a method, a method of deleting the inspection area from the inspection area has been proposed. The publication also proposes a mask creation method characterized in that the edge of the created mask is reduced into the mask region by an arbitrary number of pixels or enlarged outside the mask region.

【0005】[0005]

【発明が解決しようとする課題】上記従来方法において
は、下記記載の問題点を有している。
The above-mentioned conventional method has the following problems.

【0006】(1)第1の問題点として、代表画素の特
徴情報を抽出し、該特徴情報が共通する画素を検出する
ことによりマスク情報を生成するという上記特開平2−
284275号公報に記載の方法では、必ずしもオペレ
ータの所望する領域がマスクとして得られるとは限らな
い、ということである。
(1) As a first problem, Japanese Unexamined Patent Application Publication No. Hei 2 (1995) -1990 discloses that feature information of a representative pixel is extracted and mask information is generated by detecting pixels having the same feature information.
According to the method described in Japanese Patent No. 284275, a region desired by an operator is not always obtained as a mask.

【0007】その理由は、画像のRGBの階調の状況に
よって、得られるマスク領域が様々に変化する、ためで
ある。例えば、RGBのRの値の階調のみが画面全体に
段階的に変化し、G、Bの値が画面全体で「0」に近い
ような極端な画像の例においては、この従来の方式でマ
スクを選択すると、画面全体がマスク領域として選択さ
れてしまう、という不具合が生じることにもなる。
The reason is that the obtained mask area varies in various ways depending on the RGB gradation state of the image. For example, in the case of an extreme image in which only the gradation of the R value of RGB changes stepwise over the entire screen and the values of G and B are close to “0” over the entire screen, the conventional method is used. When a mask is selected, there is a problem that the entire screen is selected as a mask area.

【0008】(2)第2の問題点として、明度のしきい
値を入力し、前記しきい値以下または以上の明度を有す
る画素をマスク情報として生成するという上記特開平4
−308980号公報に記載の方法では、目的のマスク
領域を得るために、しきい値の変更をくり返して試行錯
誤しながら、操作を行わなければならない、ということ
である。
(2) A second problem is that a threshold value of brightness is input and pixels having brightness equal to or less than the threshold value are generated as mask information.
In the method disclosed in Japanese Patent Application No. 308980, in order to obtain a target mask area, it is necessary to perform an operation while repeatedly changing the threshold value and performing trial and error.

【0009】その理由は、しきい値を変更した時点で
は、どのようなマスク領域が選択されるかをオペレータ
は事前に分らず、しきい値を変更した後に、実際に選択
されたマスク領域を画面上で確認して、初めて目的の画
像領域が得られたか否かが分るためである。
The reason is that when the threshold value is changed, the operator does not know in advance what mask area is to be selected. After changing the threshold value, the operator selects the mask area actually selected. This is because it is possible to confirm whether or not the target image area has been obtained for the first time by checking on the screen.

【0010】(3)第3の問題点は、作成されたマスク
の縁を任意の画素数だけマスク領域内へ縮小、あるいは
マスク領域外へ拡大するという上記方法においては、必
ずしもオペレータの所望するマスク領域が得られるとは
限らない、ということである。
(3) The third problem is that, in the above-mentioned method of reducing the edge of the created mask by an arbitrary number of pixels into the mask area or expanding it outside the mask area, the mask is not always desired by the operator. That is, an area is not always obtained.

【0011】その理由は、オペレータの所望するマスク
領域が、選択されているマスク領域から一定の画素数分
小さいまたは大きいとは限らないためである。
The reason is that the mask area desired by the operator is not always smaller or larger than the selected mask area by a certain number of pixels.

【0012】従って、本発明は、上記問題点に鑑みてな
されたものであって、その目的は、従来のマスク作成方
法に比べて、オペレータの所望するマスク領域に、より
近いマスク領域を作成する、画像処理方法及び装置を提
供することにある。
Accordingly, the present invention has been made in view of the above problems, and an object thereof is to create a mask region closer to a mask region desired by an operator as compared with a conventional mask creation method. , Image processing method and apparatus.

【0013】本発明の他の目的は、試行錯誤の回数をで
きるだけ行わず、繰り返し処理回数を大幅に削減し、少
ない操作でオペレータの所望のマスク領域を作成する画
像処理方法及び装置を提供することにある。
Another object of the present invention is to provide an image processing method and apparatus which can reduce the number of times of trial and error as much as possible, greatly reduce the number of times of repetitive processing, and create a mask area desired by an operator with a small number of operations. It is in.

【0014】[0014]

【課題を解決するための手段】前記目的を達成するた
め、本発明の画像処理装置は、入力された画像のある一
点を代表点として選択する代表点選択手段(図1の10
2)と、代表点を元に画像の選択領域のサンプルを生成
し一覧表示するサンプル生成手段(図1の103)と、
選択領域のサンプルの一覧表示から、適当なサンプルを
選択するためのサンプル選択手段(図1の104)と、
選択されたサンプルから、マスクを作成するマスク領域
決定手段(図1の105)とを有する。
In order to achieve the above object, an image processing apparatus according to the present invention comprises a representative point selecting means (10 in FIG. 1) for selecting a certain point of an input image as a representative point.
2) and sample generation means (103 in FIG. 1) for generating a sample of the selected area of the image based on the representative point and displaying the sample in a list.
Sample selection means (104 in FIG. 1) for selecting an appropriate sample from a list of samples in the selected area;
A mask area determining unit (105 in FIG. 1) for creating a mask from the selected sample;

【0015】本発明の第2のマスク作成方法と画像処理
装置は、上記第1のマスク作成方法と画像処理装置に加
え、しきい値変化度合い変更手段(図6の601)を有
する。
A second method for producing a mask and an image processing apparatus according to the present invention include a threshold change degree changing means (601 in FIG. 6) in addition to the first method for producing a mask and the image processing apparatus.

【0016】また、本発明のマスク作成方法は、(a)
入力された画像についてある点を代表点として選択する
工程と、(b)前記代表点を基にしきい値を段階的に変
化させてマスク領域のサンプルを複数生成し、該生成し
たサンプル一覧を表示する工程と、(c)前記サンプル
一覧の中から適当なサンプルを選択する工程と、(d)
前記選択したサンプルを基にマスク領域を生成する工程
と、を含むことを特徴とする。
The method for producing a mask according to the present invention comprises the steps of (a)
Selecting a certain point as a representative point in the input image; and (b) generating a plurality of samples of the mask area by gradually changing a threshold value based on the representative point, and displaying a list of the generated samples. (C) selecting an appropriate sample from the sample list, and (d)
Generating a mask region based on the selected sample.

【0017】[0017]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0018】図1は、本発明の第1の実施の形態におけ
るマスク作成方法の構成を機能ブロックにて示した図で
ある。図1を参照すると、本発明の実施の形態は、画像
入力手段101と、代表点選択手段102と、サンプル
生成手段103と、サンプル選択手段104と、マスク
領域決定手段105と、を備えて構成されている。
FIG. 1 is a functional block diagram showing the configuration of a mask creating method according to the first embodiment of the present invention. Referring to FIG. 1, an embodiment of the present invention includes an image input unit 101, a representative point selecting unit 102, a sample generating unit 103, a sample selecting unit 104, and a mask area determining unit 105. Have been.

【0019】画像入力手段101は、画像信号をRGB
信号など量子化した画像データを入力する。
The image input means 101 converts the image signal into RGB
Inputs quantized image data such as a signal.

【0020】代表点選択手段102は、表示画面上にお
いてマウスなどのポインティングデバイスを用いて、画
像上のある1点を入力し、その点を代表点として記憶す
る。
The representative point selecting means 102 inputs a certain point on the image using a pointing device such as a mouse on the display screen and stores the point as a representative point.

【0021】サンプル生成手段103は、入力された画
像データと代表点を基に、しきい値を段階的に変化させ
たマスク領域のサンプルを複数個作成し、画面に一覧表
示する。
The sample generating means 103 generates a plurality of samples of the mask region in which the threshold value is changed stepwise based on the input image data and the representative points, and displays a list on the screen.

【0022】サンプル選択手段104は、画面上に一覧
表示されたサンプルの中から、オペレータが所望するマ
スク領域に最も近いサンプルを選択する。
The sample selection means 104 selects a sample closest to the mask area desired by the operator from among the samples listed on the screen.

【0023】マスク領域決定手段105は、オペレータ
が選択したサンプルを基に、マスク情報を作成する。
The mask area determining means 105 creates mask information based on the sample selected by the operator.

【0024】図2は、サンプル生成手段103によって
一覧表示されたマスクのサンプルの一例を示す図であ
る。オペレータによって入力された代表点201を基
に、得られるマスク領域202が、しきい値rについて
r=1、2、3、…と、段階的に変化させて得られる様
子を、それぞれ203、204、205で示している
(図2(A)、図2(B)、図2(C)参照)。
FIG. 2 is a diagram showing an example of mask samples listed by the sample generating means 103. In FIG. Based on the representative point 201 input by the operator, the obtained mask area 202 is obtained by changing the threshold value r stepwise as r = 1, 2, 3,. , 205 (see FIGS. 2A, 2B, and 2C).

【0025】図3は、本発明に係る画像処理装置の一実
施例の構成を示すブロック図である。本実施例に係る画
像処理装置は、システムバス300と、ディスプレイコ
ントローラ310と、ディスプレイ311と、CPU3
20と、メモリ330と、キーボードコントローラ34
0と、キーボード341と、マウスコントローラ350
と、マウス351と、ディスクコントローラ360と、
固定ディスク361と、を備えて構成される。
FIG. 3 is a block diagram showing the configuration of an embodiment of the image processing apparatus according to the present invention. The image processing apparatus according to the present embodiment includes a system bus 300, a display controller 310, a display 311, and a CPU 3.
20, the memory 330, and the keyboard controller 34
0, keyboard 341 and mouse controller 350
, A mouse 351, a disk controller 360,
And a fixed disk 361.

【0026】固定ディスク361には、この画像処理装
置で用いる画像データ362と、CPU320で処理さ
れる画像処理プログラム363が格納され、必要に応じ
てメモリ330に展開され処理される。
The fixed disk 361 stores image data 362 used by the image processing apparatus and an image processing program 363 processed by the CPU 320. The image processing program 363 is developed and processed in the memory 330 as necessary.

【0027】画像データ362は、スキャナコントロー
ラ370を介してイメージスキャナ371などから入力
する。なお、イメージスキャナの代りに、デジタルカメ
ラ、ビデオキャプチャ、CD−ROMなどの画像入力機
器で代用することも可能である。
The image data 362 is input from an image scanner 371 or the like via a scanner controller 370. Note that, instead of the image scanner, an image input device such as a digital camera, a video capture, or a CD-ROM can be used instead.

【0028】オペレータは、キーボード341からしき
い値の情報を、マウス351から代表点や、サンプル一
覧の選択情報などを入力することが可能であり、入力さ
れた情報は、キーボードコントローラ340や、マウス
コントローラ350によって、メモリ330に格納され
る。なお、マウスの代わりに、タブレットなどのポイン
ティングデバイスで代用することも可能である。
The operator can input threshold information from the keyboard 341 and representative points and sample list selection information from the mouse 351. The input information can be input from the keyboard controller 340 or the mouse. The data is stored in the memory 330 by the controller 350. Note that a pointing device such as a tablet can be used instead of a mouse.

【0029】CPU320で処理された画像や、マスク
のサンプルなどは、ディスプレイコントローラ310を
介し、ディスプレイ311に表示される。
The image processed by the CPU 320 and the sample of the mask are displayed on the display 311 via the display controller 310.

【0030】図4は、上記した本発明の実施の形態に係
るマスク生成方法を更に具体的に示す実施例を説明する
ための図であり、該実施例の処理フローを示すフローチ
ャートである。
FIG. 4 is a diagram for explaining an example showing the above-mentioned mask generating method according to the embodiment of the present invention more specifically, and is a flowchart showing a processing flow of the example.

【0031】図4を参照すると、まずステップ401の
最大サンプル数設定処理では、サンプル生成手段103
(図1参照)によって作成するサンプルの最大数を定数
Nとして設定する。
Referring to FIG. 4, first, in the maximum sample number setting process of step 401, the sample generation means 103
The maximum number of samples created by (see FIG. 1) is set as a constant N.

【0032】ステップ402の画像入力処理では、予め
スキャナやその他の画像入力機器などから入力し、固定
ディスク装置361に格納しておいた画像データを、メ
モリ上に画像データFとして展開する。
In the image input processing in step 402, image data input in advance from a scanner or other image input devices and stored in the fixed disk device 361 is developed as image data F on a memory.

【0033】ステップ403は代表点を入力する処理で
あり(代表点入力処理)、マウスなどのポインティング
デバイスから、代表点Cを入力する。
Step 403 is a process of inputting a representative point (representative point input process), in which a representative point C is input from a pointing device such as a mouse.

【0034】ステップ404はしきい値の初期化を行う
ものであり、しきい値rの値を「1」に初期化する。
In step 404, the threshold value is initialized, and the value of the threshold value r is initialized to "1".

【0035】次のステップ405のマスクサンプル生成
処理では、F内の画素Pn(n=1、2、…)につい
て、代表点CとPnとのRGB色空間上の距離|C−P
n|が、しきい値r以下の画素Pnの集合をマスク領域
M(r)として作成する。
In the mask sample generation processing in the next step 405, for the pixel Pn (n = 1, 2,...) In F, the distance | CP in the RGB color space between the representative points C and Pn
A set of pixels Pn where n | is equal to or smaller than the threshold value r is created as a mask region M (r).

【0036】RGB色空間上の距離は、CのRGB成分
を(RC、GC、BC)、PnのRGB成分を(RP、
GP、BP)とすると、次式(1)で求められる。
The distances in the RGB color space are as follows: the RGB components of C are (RC, GC, BC), and the RGB components of Pn are (RP,
GP, BP) is obtained by the following equation (1).

【0037】ステップ406はマスクサンプル表示処理
であり、上記ステップ405のマスクサンプル生成処理
で生成したマスク領域M(r)をディスプレイ311に
表示する。
Step 406 is a mask sample display process. The mask area M (r) generated in the mask sample generation process of step 405 is displayed on the display 311.

【0038】ステップ407はしきい値の更新処理を行
うものであり、rの値を「1」増加させる。
Step 407 updates the threshold value, and increases the value of r by "1".

【0039】ステップ408はサンプル作成終了条件を
判断する処理であり、rとNの値を比較し、r≦Nであ
れば次のサンプルを生成するためにループ処理に分岐
し、r>Nであればループを終了する。
Step 408 is a process for judging the condition for terminating the sample preparation. The value of r is compared with the value of N. If r.ltoreq.N, the process branches to a loop process to generate the next sample. If so, end the loop.

【0040】ついで、ステップ409のサンプル選択処
理では、ディスプレイに表示されたサンプルの一覧の中
から、オペレータが最も適当と考えるマスク領域M
(x)を選択する。
Next, in the sample selection process of step 409, the mask area M which the operator considers most appropriate from the list of samples displayed on the display.
Select (x).

【0041】最後に、ステップ410のマスク決定処理
において、オペレータが選択したマスク領域M(x)を
基に、マスク情報を生成する。
Finally, in the mask determination processing of step 410, mask information is generated based on the mask area M (x) selected by the operator.

【0042】図6は、本発明の第2の実施形態のマスク
作成方法の構成を示すブロック図である。
FIG. 6 is a block diagram showing a configuration of a mask making method according to the second embodiment of the present invention.

【0043】図6を参照すると、この実施の形態に係る
マスク作成方法においては、図1に示した前記実施の形
態の構成に加え、さらに、しきい値変化度合い変更手段
601を含む。
Referring to FIG. 6, the mask forming method according to this embodiment further includes a threshold change degree changing means 601 in addition to the configuration of the above-described embodiment shown in FIG.

【0044】しきい値変化度合い変更手段601では、
マスクのサンプルを作成する際の、しきい値の変化する
度合いを、オペレータがサンプルを選択する度に徐々に
狭めてゆき、さらに詳細なマスク領域を得られるように
している。
In the threshold change degree changing means 601,
The degree of change of the threshold value when creating a mask sample is gradually narrowed each time the operator selects a sample, so that a more detailed mask area can be obtained.

【0045】図5は、本発明の第2の実施形態をより具
体的に説明するための実施例の動作を示すフローチャー
トである。
FIG. 5 is a flowchart showing the operation of the example for explaining the second embodiment of the present invention more specifically.

【0046】ステップ501の初期化処理では、しきい
値の変化する最大の値R、作成する最大サンプル数N、
しきい値r=0、しきい値の変化の度合いd=R/Nを
それぞれ初期化する。
In the initialization processing of step 501, the maximum value R at which the threshold value changes, the maximum number of samples N to be created,
The threshold r = 0 and the degree of change d = R / N of the threshold are initialized.

【0047】ステップ502の画像入力処理、ステップ
503の代表点入力処理は、図4と同様とされ、その説
明を省略する。
The image input processing in step 502 and the representative point input processing in step 503 are the same as those in FIG. 4, and a description thereof will be omitted.

【0048】ステップ504のしきい値更新処理では、
しきい値rをdだけ増加する。ステップ505のマスク
サンプル生成処理と、ステップ506のマスクサンプル
表示処理は、図4に示したステップ405、406と同
じである。
In the threshold value updating process in step 504,
The threshold r is increased by d. The mask sample generation processing in step 505 and the mask sample display processing in step 506 are the same as steps 405 and 406 shown in FIG.

【0049】ステップ507のサンプル作成終了条件判
断処理では、r≦Rであれば、次のサンプルを生成する
ために、ループに分岐する。r>Rであればループを終
了する。またステップ508のサンプル選択処理は、図
4のステップ409と同じである。
In the sample preparation end condition determination processing in step 507, if r ≦ R, the flow branches to a loop to generate the next sample. If r> R, the loop ends. Further, the sample selection processing in step 508 is the same as step 409 in FIG.

【0050】ステップ509の詳細選択分岐処理では、
オペレータがさらに詳細なマスクを選択したいか否かを
入力し、「Yes」の場合、サンプル作成条件更新処理
510に分岐する。
In the detailed selection branching process of step 509,
The operator inputs whether or not he or she wants to select a more detailed mask. If “Yes”, the process branches to sample preparation condition update processing 510.

【0051】ステップ510のサンプル作成条件更新処
理では、オペレータが望むしきい値は、x−dより大き
く、x+dより小さいと考えられるため、rの初期値
を、x−d、rの変化する最大値Rを、x+d、に初期
化し、さらに、 d=((x+d)−(x−d))/N=2d/N に初期化する。
In the sample preparation condition updating process in step 510, the threshold value desired by the operator is considered to be larger than x−d and smaller than x + d. The value R is initialized to x + d, and d = ((x + d)-(x-d)) / N = 2d / N.

【0052】これら初期化により、しきい値をより詳細
に変化させたサンプルを効率的に得ることが可能にな
る。なお、ステップ511のマスク決定処理は、図4の
ステップ410と同じとされるため、説明を省略する。
By these initialization, it is possible to efficiently obtain a sample in which the threshold value is changed in more detail. Note that the mask determination processing in step 511 is the same as step 410 in FIG. 4, and a description thereof will be omitted.

【0053】[0053]

【発明の効果】以上説明したように、本発明によれば、
下記記載の効果を奏する。
As described above, according to the present invention,
The following effects are obtained.

【0054】(1)第1の効果は、従来のマスク作成方
法に比べてオペレータの所望のマスク領域により近いマ
スク領域を作成することができる、ということである。
(1) The first effect is that a mask area closer to an operator's desired mask area can be created as compared with the conventional mask creation method.

【0055】その理由は、本発明においては、しきい値
を段階的に変えた複数のマスクのサンプルから選択する
ようにしたことにより、オペレータの目的により近いマ
スクが存在する可能性が高まるためである。
The reason is that, in the present invention, by selecting from a plurality of mask samples in which the threshold value is changed stepwise, there is a high possibility that a mask closer to the purpose of the operator exists. is there.

【0056】(2)第2の効果は、試行錯誤の回数をで
きるだけ行わず、少ない操作でオペレータの所望のマス
ク領域を作成することができる、ということである。
(2) The second effect is that a desired mask area of an operator can be created with a small number of operations without performing trial and error as much as possible.

【0057】その理由は、本発明においては、画面上に
表示されるマスクのサンプルにより、オペレータは、得
られるマスク領域を予め知ることができ、このため無駄
な試行錯誤の操作を省くことが可能になるためである。
The reason is that, in the present invention, the operator can know in advance the mask area to be obtained by using the mask sample displayed on the screen, so that unnecessary trial and error operations can be omitted. Because it becomes.

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

【図1】本発明の第1の実施の形態に係るマスク作成方
法の構成を機能ブロックで示した図である。
FIG. 1 is a functional block diagram illustrating a configuration of a mask creating method according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態を説明するための図
であり、サンプル生成手段で表示するサンプルの一例を
示す図である。
FIG. 2 is a diagram for describing the first embodiment of the present invention, and is a diagram illustrating an example of a sample displayed by a sample generation unit.

【図3】本発明の画像処理装置の一実施例を示すブロッ
ク図である。
FIG. 3 is a block diagram showing an embodiment of the image processing apparatus of the present invention.

【図4】本発明の一実施例の処理手順を示すフローチャ
ートである。
FIG. 4 is a flowchart illustrating a processing procedure according to an embodiment of the present invention.

【図5】本発明の第2の実施例の処理手順を示すフロー
チャートである。
FIG. 5 is a flowchart illustrating a processing procedure according to a second embodiment of the present invention.

【図6】本発明の第2の実施の形態に係るマスク作成方
法の構成を機能ブロックにて示した図である。
FIG. 6 is a diagram showing a configuration of a mask creating method according to a second embodiment of the present invention in functional blocks.

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

101 画像入力手段 102 代表点選択手段 103 サンプル生成手段 104 サンプル選択手段 105 マスク領域決定手段 201 代表点 202 マスク領域 203 r=1のサンプル 204 r=2のサンプル 205 r=3のサンプル 300 システムバス 310 ディスプレイコントローラ 311 ディスプレイ 320 CPU 330 メモリ 340 キーボードコントローラ 341 キーボード 350 マウスコントローラ 351 マウス 360 ディスクコントローラ 361 固定ディスク装置 362 画像データ 363 画像処理プログラム 370 スキャナコントローラ 371 イメージスキャナ 401 最大サンプル数設定処理 402 画像入力処理 403 代表点入力処理 404 しきい値初期値代入処理 405 マスクサンプル生成処理 406 マスクサンプル表示処理 407 しきい値更新処理 408 サンプル作成終了条件判断処理 409 サンプル選択処理 410 マスク決定処理 501 初期化処理 502 画像入力処理 503 代表点入力処理 504 しきい値更新処理 505 マスクサンプル生成処理 506 マスクサンプル表示処理 507 サンプル作成終了条件判断処理 508 サンプル選択処理 509 詳細選択分岐処理 510 サンプル作成条件更新処理 511 マスク決定処理 601 しきい値変化度合い変更手段 Reference Signs List 101 image input means 102 representative point selecting means 103 sample generating means 104 sample selecting means 105 mask area determining means 201 representative point 202 mask area 203 r = 1 sample 204 r = 2 sample 205 r = 3 sample 300 system bus 310 Display controller 311 Display 320 CPU 330 Memory 340 Keyboard controller 341 Keyboard 350 Mouse controller 351 Mouse 360 Disk controller 361 Fixed disk device 362 Image data 363 Image processing program 370 Scanner controller 371 Image scanner 401 Maximum sample number setting processing 402 Image input processing 403 Representative Point input processing 404 Initial threshold value substitution processing 405 Mask sample generation processing 406 Mask sample display processing 407 Threshold update processing 408 Sample creation end condition determination processing 409 Sample selection processing 410 Mask determination processing 501 Initialization processing 502 Image input processing 503 Representative point input processing 504 Threshold update processing 505 Mask sample generation processing 506 Mask sample display processing 507 Sample preparation end condition judgment processing 508 Sample selection processing 509 Detailed selection branch processing 510 Sample preparation condition update processing 511 Mask determination processing 601 Threshold change degree changing means

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06T 5/00Continuation of front page (58) Field surveyed (Int.Cl. 6 , DB name) G06T 5/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】(a)入力された画像についてある点を代
表点として選択する工程と、 (b)前記代表点を基にしきい値を段階的に変化させて
マスク領域のサンプルを複数生成し、該生成したサンプ
ル一覧を表示する工程と、 (c)前記サンプル一覧の中から適当なサンプルを選択
する工程と、 (d)前記選択したサンプルを基にマスク領域を生成す
る工程と、 を含むことを特徴とするマスクの作成方法。
(A) selecting a certain point as a representative point in an input image; and (b) generating a plurality of samples of a mask region by changing a threshold value stepwise based on the representative point. Displaying the generated sample list; (c) selecting an appropriate sample from the sample list; and (d) generating a mask region based on the selected sample. A method for producing a mask, characterized in that:
【請求項2】前記しきい値を段階的に変化させてマスク
領域のサンプルを生成する際に、前記しきい値を変化さ
せる度合いを変更するように制御する、ことを特徴とす
る請求項1記載のマスク作成方法。
2. The method according to claim 1, wherein, when generating the sample of the mask area by changing the threshold value in a stepwise manner, control is performed so as to change the degree of change of the threshold value. The mask creation method described.
【請求項3】画像を入力する手段と、 入力された画像についてある点を代表点として選択する
手段と、 前記代表点を基にしきい値を段階的に変化させてマスク
領域のサンプルを複数生成する手段と、 該生成したサンプル一覧を表示する手段と、 前記表示されたサンプル一覧の中から適当なサンプルを
選択する手段と、 前記選択されたサンプルを基にマスク領域を生成する手
段と、 を備えたことを特徴とする画像処理装置。
3. A means for inputting an image, means for selecting a certain point in the input image as a representative point, and generating a plurality of samples of a mask area by changing a threshold value stepwise based on the representative point. Means for displaying the generated sample list; means for selecting an appropriate sample from the displayed sample list; and means for generating a mask area based on the selected sample. An image processing apparatus comprising:
【請求項4】前記しきい値を変化させて度合いを変更す
るように制御する手段を備えたことを特徴とする請求項
3記載の画像処理装置。
4. The image processing apparatus according to claim 3, further comprising means for controlling the degree of change by changing the threshold value.
JP8208955A 1996-07-19 1996-07-19 Mask making method and image processing apparatus Expired - Fee Related JP2856164B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8208955A JP2856164B2 (en) 1996-07-19 1996-07-19 Mask making method and image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8208955A JP2856164B2 (en) 1996-07-19 1996-07-19 Mask making method and image processing apparatus

Publications (2)

Publication Number Publication Date
JPH1040370A JPH1040370A (en) 1998-02-13
JP2856164B2 true JP2856164B2 (en) 1999-02-10

Family

ID=16564923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8208955A Expired - Fee Related JP2856164B2 (en) 1996-07-19 1996-07-19 Mask making method and image processing apparatus

Country Status (1)

Country Link
JP (1) JP2856164B2 (en)

Also Published As

Publication number Publication date
JPH1040370A (en) 1998-02-13

Similar Documents

Publication Publication Date Title
US7492375B2 (en) High dynamic range image viewing on low dynamic range displays
US6999068B2 (en) System and method for enabling users to edit graphical images
JP3870109B2 (en) Image display apparatus, image display method, and image display program
US5473740A (en) Method and apparatus for interactively indicating image boundaries in digital image cropping
US20030053147A1 (en) Method and system for scanning with one-scan-and-done feature
US6388679B1 (en) Multi-resolution computer display system
US6748119B1 (en) Systems and methods for interactively using and training an automatic image processing technique
JPH1145334A (en) Comparative display method for images and recording medium
JPH07200807A (en) Image processing method and apparatus
JP2856164B2 (en) Mask making method and image processing apparatus
JP2001159967A (en) How to adjust window size by screen resolution
US6751339B1 (en) Texture advisor
JPH1185962A (en) Picture position adjustment device and computer readable recording medium recording picture position adjustment program
JPH07131653A (en) Image gradation compression display circuit
US7034965B2 (en) Method and system for automatic scanning system
JP4116325B2 (en) Image display control device
JP2005196444A (en) Image data processor, image data processing method and its program
JP3208063B2 (en) Image information processing method and processing device
JPH05108776A (en) Picture display system
JPH07193812A (en) Image compression apparatus and image compression method
US20040066971A1 (en) Picture image processing method, processing apparatus and recording medium
JP3508182B2 (en) Image display device and image display method
JPH0546717A (en) Image display
AU745107B2 (en) Texture advisor
JPH07306937A (en) Enlargement display method of arbitrary area of figure

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981027

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071127

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081127

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081127

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091127

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091127

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101127

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111127

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111127

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111127

Year of fee payment: 13

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111127

Year of fee payment: 13

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111127

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131127

Year of fee payment: 15

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees