JPH0722325B2 - Method and device for making cutout mask - Google Patents

Method and device for making cutout mask

Info

Publication number
JPH0722325B2
JPH0722325B2 JP33013389A JP33013389A JPH0722325B2 JP H0722325 B2 JPH0722325 B2 JP H0722325B2 JP 33013389 A JP33013389 A JP 33013389A JP 33013389 A JP33013389 A JP 33013389A JP H0722325 B2 JPH0722325 B2 JP H0722325B2
Authority
JP
Japan
Prior art keywords
color
threshold
candidate
pixel data
image data
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
JP33013389A
Other languages
Japanese (ja)
Other versions
JPH03190469A (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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP33013389A priority Critical patent/JPH0722325B2/en
Priority to EP19900124904 priority patent/EP0435167A3/en
Publication of JPH03190469A publication Critical patent/JPH03190469A/en
Priority to US08/355,320 priority patent/US5454050A/en
Publication of JPH0722325B2 publication Critical patent/JPH0722325B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention 【産業上の利用分野】[Industrial applications]

本発明は、切抜きマスク作成方法及び装置に係り、特
に、印刷製版用フィルム作成のために、カラー画像デー
タを表示手段の画面上に表示して切抜きマスクを作成す
るのに好適な、切抜きマスク作成方法及び装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for producing a cutout mask, and more particularly, to make a cutout mask by displaying color image data on a screen of a display means to create a cutout mask for producing a film for printing plate making. A method and apparatus.

【従来の技術】[Prior art]

カラー画像データから印刷製版用原版のフィルムを作成
するに際して、不必要な領域(例えば背景画像領域)に
ついて切抜きマスクを作成し、当該マスクで必要な実体
部を切抜く場合がある。 この切抜きマスクを作成する技術には、従来から種々の
ものがある。例えば、入力された画素データをディスプ
レイ画面上に表示し、オペレータが当該画面上の画像を
見ながら、切抜き対象画像の輪郭線を精密に指示して切
抜く技術がある。 又、オペレータが、ディスプレイ画面上に表示された画
像を見ながら、マスクしたい領域(背景領域)の色を指
示し、当該指示から切抜き線を自動的に作成する技術が
ある。 又、オペレータが、ディスプレイ画面上に表示された画
像を見ながら、マスクしたい領域の一部を指示し、その
領域の濃度の変化軸をみつけ、その濃度変化軸を考慮し
た濃度分布により切抜き線を自動的に抽出する技術があ
る。
When creating a film for a printing plate precursor from color image data, a cutout mask may be created for an unnecessary area (for example, a background image area), and a necessary substantial portion may be cut out with the mask. There are various conventional techniques for producing the cutout mask. For example, there is a technique in which input pixel data is displayed on a display screen, and an operator precisely specifies the contour line of the image to be cut out and cuts it out while looking at the image on the screen. There is also a technique in which an operator designates a color of a region (background region) to be masked while looking at an image displayed on a display screen and automatically creates a cutout line from the designation. Also, while looking at the image displayed on the display screen, the operator points out a part of the area to be masked, finds the axis of change in the density of that area, and draws a cutout line according to the density distribution considering the axis of density change. There is a technology for automatic extraction.

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

しかしながら、前記従来の、オペレータが指示した輪郭
線に従って忠実に切抜く技術においては、オペレータが
カーソル等で画像の輪郭線の全てを指定する必要がある
ため時間がかかると共に、オペレータの負担も大きいと
いう問題点がある。 又、色の指示に従って切抜き線を自動的に作成する技術
においては、背景部と近い色の領域が切抜こうとする実
体部の内部にあった場合に、その領域を誤って切抜く恐
れがあると共に、輪郭付近に影があった場合にも、うま
く切抜けないという問題点がある。又、自動的には切抜
けない画像を全自動で処理しようとした場合は、演算時
間がかかると共に、正しく切抜けず、その修正に時間が
かかるという問題点が生じる。 本発明は、前記従来の問題点を解消するべくなされたも
ので、所望する切抜きマスクを少ない演算で高速、且
つ、高精度に作成することができる、切抜きマスク作成
方法及び装置を提供することを課題とする。
However, in the above-described conventional technique of faithfully cutting out according to the contour line instructed by the operator, it takes time because the operator needs to specify all of the contour lines of the image with a cursor or the like, and the burden on the operator is large. There is a problem. Further, in the technique of automatically creating a cutout line according to a color instruction, when a region of a color close to the background part is inside the substance part to be cut out, there is a possibility that the region may be cut out by mistake. At the same time, there is a problem that even if there is a shadow near the contour, it cannot be cut through well. Further, when an image that cannot be automatically cut out is to be processed fully automatically, there is a problem that it takes a long time for calculation, and the image cannot be cut out correctly, and correction thereof takes time. The present invention has been made to solve the above-mentioned conventional problems, and provides a method and an apparatus for creating a cutout mask, which can create a desired cutout mask with a small number of calculations at high speed and with high accuracy. It is an issue.

【課題を解決するための手段】[Means for Solving the Problems]

本発明は、カラー画像データを表示手段の画面上に表示
して、切抜きマスクを作成する方法において、表示され
た画像データについて、切抜きを所望する実体部及び背
景部間の輪郭を含む範囲をトレーニングエリアとして指
示し、該トレーニングエリア内の画素について、前記カ
ラー画像データの各色画素値に基づいて計算される評価
関数により各色毎に閾値候補を求め、この各色毎の閾値
候補の評価関数の値に基づいて、前記閾値候補の色を選
択すると共に、選択された閾値候補を閾値とし、当該色
の画素データを当該閾値で二値化し、二値化された画素
データの背景部に基づき、切抜きマスクを作成して、前
記課題を解決したものである。 又、本発明は、カラー画像データの表示手段と、演算手
段とを有する切抜きマスク作成装置において、前記画像
表示手段に表示された画像データについて、切抜きを所
望する実体部及び背景部間の輪郭を含む範囲をトレーニ
ングエリアとして指示するための手段と、該トレーニン
グエリア内の画素について、前記カラー画像データの各
色画素値に基づいて計算される評価関数により各色毎に
閾値候補を求めるための演算手段と、この各色毎の閾値
候補の評価関数の値に基づいて、前記閾値候補の色を選
択すると共に、選択された閾値候補を閾値とし、当該色
の画素データを、当該閾値で二値化処理し、「1」、
「0」の二値化画素データに変換するための手段と、ト
レーニングエリア内の二値化画素データについて、
「1」、「0」のうちのいずれが背景部であるかを指示
するための手段と、背景部の二値化画素データに基づ
き、切抜きマスクを作成するための手段とを備えたこと
により、同じく前記課題を解決したものである。
The present invention is a method for displaying color image data on a screen of a display unit to create a cutout mask. In the displayed image data, a range including a contour between a substantial portion and a background portion desired to be cutout is trained. Indicated as an area, for pixels in the training area, a threshold candidate is obtained for each color by an evaluation function calculated based on each color pixel value of the color image data, and the value of the evaluation function of the threshold candidate for each color is set. Based on the selection of the color of the threshold value candidate, the selected threshold value candidate as a threshold value, the pixel data of the color is binarized by the threshold value, based on the background portion of the binarized pixel data, the cutout mask To solve the above problems. Further, according to the present invention, in a cutout mask creating apparatus having a color image data display unit and a calculation unit, the image data displayed on the image display unit is provided with a contour between a substantial portion and a background portion desired to be cut out. Means for indicating a range including the training area, and calculation means for obtaining a threshold candidate for each color by an evaluation function calculated based on each color pixel value of the color image data for pixels in the training area , Based on the value of the evaluation function of the threshold value candidate for each color, while selecting the color of the threshold value candidate, the selected threshold value candidate as a threshold value, the pixel data of the color, the binarization process with the threshold value. , "1",
Regarding the means for converting the binary pixel data of “0” and the binary pixel data in the training area,
By providing means for indicating which of “1” and “0” is the background portion and means for creating a cutout mask based on the binarized pixel data of the background portion Similarly, the above problem is solved.

【作用】[Action]

本発明においては、切抜きマスクを作成するに際して、
表示手段の画面上に表示される画像データについて、切
抜きを所望する実体部及び背景部間の輪郭を含む範囲を
トレーニングエリアとして指示し、該トレーニングエリ
ア内の画素について、前記カラー画像データの各色画素
値に基づいて計算される評価関数により各色毎に閾値候
補を求め、この各色毎の閾値候補の評価関数の値に基づ
いて、前記閾値候補の色を選択すると共に、選択された
閾値候補を閾値とし、当該色の画素データを当該閾値で
二値化し、二値化された画素データの背景部に基づき、
切抜きマスクを作成する。 本発明によれば、トレーニングエリア内の各色画素デー
タを対象とするため、全自動の切抜きに比べて処理範囲
が少なくて済む。しかも、各色画素データ全てを処理対
象とするのではなく、各色画素データのうち、その評価
関数の値に基づいて選択された閾値候補を閾値とし、当
該色の画素データを当該色の閾値で二値化しているた
め、処理するべきデータが従来に比較して格段に少なく
なり、このため、演算負荷が小さい。従って、高速に切
抜きマスクを作成することができる。又、背景部、実体
部の画素データが一色ずつの範囲をトレーニングエリア
に指定すれば、より迅速、正確にマスク作成ができる。 以下、各画素値に基づいて計算される評価関数による閾
値候補の選定について説明する。その評価関数には、例
えば文献(電子通信学界論文誌1980年4月vol,J63−D
のNo.4、大津展之著「判別及び最小二乗基準に基づく自
動閾値選定法」)に記載された次のものがある。 例えば、与えられた画像の単色データの濃度レベルが、
第1図のヒストグラムのような確率分布を有していると
する。この場合、濃度レベルkは0から255までのもの
として、全画素数Nに対する濃度レベルの画素の存在す
る確率P(k)は、次式(1)で示される。 P(k)=n(k)/N …(1) 但し、n(k)は濃度レベルがkの画素数である。 画素の全平均レベルμと全分散σは、次式(2)、
(3)で示すことができる。 次いで、レベルLを閾値として、レベル0からLまでと
L+1から255までとに分類する場合の累積量ω
(L)、μ(L)を、次式(4)、(5)のように表わ
す。 このときの0からLまでの分類と、L+1から255まで
の分類とにおける生起確率ω、ωは、次式(6)、
(7)となる。 ω=ω(L) …(6) ω=1−ω(L) …(7) 又、平均レベルは、次式(8)、(9)で示される。 μ=μ(L)/ω(L) …(8) μ={μ−μ(L)}/{1−ω(L)}…(9) 閾値の良さを示す基準として、次式(10)のように全分
散σT 2に対するクラスタ間の分散σ0 2の比η(L)を用
いる。即ち、この比η(L)を最適閾値の評価関数とす
る。 η(L)=σ0 2T 2 …(10) なお、クラスタ間の分散σ0 2は次式(11)で示される。 σ0 2(L) =ω(μ−μ+ω(μ−μ =ω・ω・(μ−μ …(11) 評価関数η(L)が最大になるレベルLを、単色の画素
データにおえる最適な閾値(即ち、閾値候補)とする。
この場合、評価関数η(L)の中で、全分散σT 2はレベ
ルLによらずに一定であるので、クラスタ間の分散σ0 2
(L)が最大になるとき評価関数η(L)も最大とな
る。そこで、クラスタ間の分散σ0 2(L)を計算するこ
とにより、閾値候補を決定することができる。 ここで、前記分散σ0 2(L)を各累積量ω(L)、μ
(L)と合わせば、次式(12)となる。 σ0 2(L) =ω(L){1−ω(L)} ×μ(L)/ω(L) −{μ−μ(L)}2/{1−ω(L)} ={μω(L)−μ(L)} /ω(L){1−ω(L)} …(12) レベルLは0から255がとられ、0<ω(L)<1の範
囲で分散σ0 2(L)が最大となるレベルLを閾値候補と
する。 なお、二値化画素データについて、「1」、「0」のう
ちのいずれが背景部であるかを指示するようにすれば、
マスク作成に誤りが生じないため、迅速さ及び精度が更
に向上する。又、いずれの側かを自動的に判断しようと
するときに比べて演算負荷が減少し、より高速に切抜き
マスクを作成できる。
In the present invention, when creating a cutout mask,
For the image data displayed on the screen of the display means, a range including the contour between the substantial part and the background part desired to be cut out is designated as a training area, and for the pixels in the training area, each color pixel of the color image data is specified. A threshold candidate is obtained for each color by an evaluation function calculated based on the value, and the color of the threshold candidate is selected based on the value of the evaluation function of the threshold candidate for each color, and the selected threshold candidate is set as a threshold. And, the pixel data of the color is binarized by the threshold value, based on the background portion of the binarized pixel data,
Create a cutout mask. According to the present invention, since each color pixel data in the training area is targeted, the processing range is smaller than that in the fully automatic clipping. Moreover, not all the pixel data of each color is processed, but the threshold value candidate selected based on the value of the evaluation function of each color pixel data is set as the threshold value, and the pixel data of the color is set to the threshold value of the color. Since the data is digitized, the amount of data to be processed is significantly smaller than that in the conventional case, and thus the calculation load is small. Therefore, the cutout mask can be produced at high speed. Further, by designating a range in which the pixel data of the background part and the pixel data of the substantial part are one color at a time as the training area, the mask can be created more quickly and accurately. Hereinafter, selection of a threshold candidate by an evaluation function calculated based on each pixel value will be described. The evaluation function may be, for example, a document (Journal of the Institute of Electronics and Communications, April 1980 vol, J63-D).
No. 4, No. 4, Nobuyuki Otsu "Automatic threshold selection method based on discrimination and least squares standard"). For example, the density level of monochrome data of a given image is
It is assumed that it has a probability distribution like the histogram of FIG. In this case, the density level k is from 0 to 255, and the probability P (k) of the pixels having the density level with respect to the total number N of pixels is expressed by the following equation (1). P (k) = n (k) / N (1) where n (k) is the number of pixels with a density level of k. The total average level μ T and the total variance σ T of pixels are calculated by the following equation (2),
It can be shown by (3). Next, with the level L as a threshold, the cumulative amount ω when classifying into levels 0 to L and L + 1 to 255
(L) and μ (L) are expressed by the following equations (4) and (5). At this time, the occurrence probabilities ω A and ω B in the classification from 0 to L and the classification from L + 1 to 255 are expressed by the following equation (6),
It becomes (7). ω A = ω (L) (6) ω B = 1-ω (L) (7) Further, the average level is expressed by the following equations (8) and (9). μ A = μ (L) / ω (L) (8) μ B = {μ T −μ (L)} / {1-ω (L)} (9) As a reference indicating the goodness of the threshold value, The ratio η (L) of the inter-cluster variance σ 0 2 to the total variance σ T 2 is used as in Expression (10). That is, this ratio η (L) is used as the evaluation function of the optimum threshold. η (L) = σ 0 2 / σ T 2 (10) The variance σ 0 2 between clusters is expressed by the following equation (11). σ 0 2 (L) = ω AA −μ T ) 2 + ω BB −μ T ) 2 = ω A · ω B · (μ A −μ B ) 2 (11) Evaluation function η ( The level L that maximizes L) is set as the optimum threshold value (that is, a threshold value candidate) for the pixel data of a single color.
In this case, the evaluation function η in (L), since the total variance sigma T 2 is constant regardless of the level L, the dispersion between clusters sigma 0 2
When (L) becomes maximum, the evaluation function η (L) also becomes maximum. Therefore, the threshold candidate can be determined by calculating the variance σ 0 2 (L) between the clusters. Here, the variance σ 0 2 (L) is set to each cumulative value ω (L), μ
When combined with (L), the following equation (12) is obtained. σ 0 2 (L) = ω (L) {1-ω (L)} × μ (L) / ω (L)-{μ T −μ (L)} 2 / {1-ω (L)} = {[Mu] T [ omega] (L)-[mu] (L)} 2 / [omega] (L) {1- [omega] (L)} (12) Level L is taken from 0 to 255 and 0 <[omega] (L) <1. The level L having the maximum variance σ 0 2 (L) in the range is set as the threshold candidate. For the binarized pixel data, if one of “1” and “0” is the background portion,
Since there is no error in making the mask, the speed and accuracy are further improved. Further, the calculation load is reduced as compared with the case of automatically determining which side, and the cutout mask can be produced at a higher speed.

【実施例】【Example】

以下、図面を参照して本発明の実施例を詳細に説明す
る。 この実施例は、第2図に示すような構成のイエロ
(Y)、マゼンタ(M)、シアン(C)の印刷製版用カ
ラー画像データを表示手段14の画面上に表示して、該画
素データの切抜きマスクを作成する装置である。 第2図に示すように、この作成装置には、カラー画像デ
ータを蓄積するためのストレージ10と、当該ストレージ
10中の画素データの1画面分を格納するためのフレーム
メモリ12と、該フレームメモリ12内の画像データをその
画面上に表示するためのカラー陰極線管(CRT)14と、
該カラーCRT14で表示された画面について、切抜きを所
望する実体部及び背景部間の輪郭を含む範囲をトレーニ
ングエリアとして指示するためのデジタイザ(あるいは
マウス)16と、該デジタイザ16の指示に従ってトレーニ
ングエリア内の画素についてC、M、Yの各色版の画素
データの閾値候補を、前記(1)〜(12)式により求め
て、各色の閾値候補のうち評価関数が最大となる色のも
のを閾値に決定するための判別分析手段18と、決定され
た閾値で、トレーニングエリア内の当該色(評価関数が
最大となる色)の画素データを二値化するための二値化
手段20と、二値化された画像データのうちデジタイザ16
で指示された背景部画素データからマスタデータを作成
するための制御CPU22とが備えられる。 この実施例は、前記のような構成を有して、第3図に示
す手順でマスタデータを作成する。 即ち、切抜こうとするカラー画像がカラーCRT14上に表
示されている状態において、まず、オペレータがデジタ
イザ16により、例えば第4図に示すように、当該CRT14
画面上のカラー画像の切抜きたい実体部と背景部とに跨
がって、その輪郭を含む範囲をトレーニングエリアとし
て指示する(ステップ101)。このトレーニングエリア
の形状は任意であり、色の変化の少ないものであれば実
体部を一周させるものでもよい。 次いで、判別分析手段18は、そのトレーニングエリア内
の画素について、C、M、Yの各色の画素データについ
て、例えば第5図のようなヒストグラムから前出(1)
〜(12)式を用いて閾値候補ly、lm、lcを決定する(ス
テップ102)。 次いで、その各色の閾値候補ly、lm、lcについて、それ
らの評価関数ηymax、ηmmax、ηcmaxが最大である閾値
候補を閾値に決定する(ステップ103)。第5図ではηy
max>ηmmax>ηcmaxで閾値はY版のものである。 次いで、二値化手段20は、C、M、Yの3色版の画像デ
ータのうち前記評価関数が最大の色の版(第5図の場
合、Y版)の画素データについて、決定された閾値で、
第6図のように二値化する(ステップ104)。次いで、
オペレータが二値化された画素データのうち、「1」、
「0」のうちのいずれが背景部であるかを選択して指示
する(ステップ105)。例えば第6図ではAを背景部と
して指示する。 次いで、指示された部分に含まれる画素に基づき、例え
ば第7図に示すように、マスクデータを作成して、その
マスクデータを画面上に表示して確認する(ステップ10
6)。 これにより、トレーニングエリア内(=カッティングエ
リア)についてマスクが作成される。次いで、他のトレ
ーニングエリアを指示する場合はステツプ101に戻りマ
スクを作成し、指示しない場合は終了する。 なお、前記実施例においては、YMCの画素データについ
てマスクを作成していたが、YMCデータを例えば輝度
Y、色度I、Qデータに変換した後にY、M、C各色に
ついて評価することもできる。即ち、YMC空間での分布
が、例えば第8図(A)に示すように形成されていて、
クラスタ間分散が不充分で、各色軸の度数に明確な谷部
(の底)が現われていない状態の場合、正確な閾値を求
めるのが困難になる。これに対して、ある種の座標変換
を加えることにより、第8図(B)に示すように、分布
度数に明確な谷部(の底)が現われるようにすれば、正
確な閾値を求めることができる。なお、座標変換の手法
には、前記輝度Y、色度I、Q変換することに限定され
ず、谷部(の底)を出現させて正確な閾値を求め得る限
りいずれの座標軸変換を用いてもよい。 又、前記実施例では、Y、M、C画素データをそのまま
処理していたが、処理手法はこれに限定されず、RGBとY
MCとは補色関係(実質的に等価)にあると見做して、YM
Cの画素データの代わりにRGBの画素データを用いること
ができる。又、カラー画像データは印刷用のものに限定
されない。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In this embodiment, color image data for printing plate making of yellow (Y), magenta (M) and cyan (C) having the structure shown in FIG. 2 is displayed on the screen of the display means 14 and the pixel data is displayed. This is a device for making a cutout mask. As shown in FIG. 2, the creating apparatus includes a storage 10 for storing color image data and a storage 10 for storing the color image data.
A frame memory 12 for storing one screen of pixel data in 10 and a color cathode ray tube (CRT) 14 for displaying the image data in the frame memory 12 on the screen,
Regarding the screen displayed by the color CRT 14, a digitizer (or mouse) 16 for instructing a range including the contour between the actual part and the background part desired to be cut out as a training area, and a training area in accordance with the instruction of the digitizer 16 The threshold value candidates of the pixel data of each color plate of C, M, and Y are obtained for the pixels of (1) to (12), and the one having the maximum evaluation function is set as the threshold value among the threshold value candidates of each color. Discrimination analysis means 18 for determining, a binarization means 20 for binarizing the pixel data of the color (the color having the maximum evaluation function) in the training area with the determined threshold value, and binary Digitizer 16 out of the converted image data
And a control CPU 22 for creating master data from the background portion pixel data instructed in. This embodiment has the configuration as described above and creates master data by the procedure shown in FIG. That is, in a state where the color image to be cut out is displayed on the color CRT 14, first, the operator uses the digitizer 16 to display the CRT 14 as shown in FIG.
A range including the contour of the color image on the screen, which straddles the real part to be cut out and the background part, is designated as a training area (step 101). The shape of this training area is arbitrary, and the body portion may be made to go around once as long as the change in color is small. Next, the discriminant analysis unit 18 extracts the pixel data of each color of C, M and Y for the pixels in the training area from the histogram as shown in FIG. 5, for example (1).
~ The threshold candidates ly, lm, and lc are determined using the equation (12) (step 102). Next, with respect to the threshold candidates ly, lm, and lc of each color, the threshold candidate having the largest evaluation function ηymax, ηmmax, ηcmax is determined as the threshold (step 103). In Fig. 5, ηy
max>ηmmax> ηcmax, and the threshold value is that of the Y version. Next, the binarization means 20 determines the pixel data of the color plate (Y plate in the case of FIG. 5) of the color having the largest evaluation function among the three color image data of C, M, and Y. With a threshold
Binarization is performed as shown in FIG. 6 (step 104). Then
Of the pixel data binarized by the operator, “1”,
One of "0" is the background portion is selected and instructed (step 105). For example, in FIG. 6, A is designated as the background portion. Next, based on the pixels included in the designated portion, mask data is created, for example, as shown in FIG. 7, and the mask data is displayed and confirmed on the screen (step 10).
6). As a result, a mask is created within the training area (= cutting area). Next, if another training area is designated, the process returns to step 101 to create a mask, and if not designated, the procedure ends. In the above embodiment, the mask was created for the YMC pixel data, but it is also possible to evaluate the Y, M, and C colors after converting the YMC data into, for example, luminance Y, chromaticity I, and Q data. . That is, the distribution in the YMC space is formed, for example, as shown in FIG.
In the case where the inter-cluster dispersion is insufficient and a clear valley (bottom) of the frequency of each color axis does not appear, it becomes difficult to obtain an accurate threshold value. On the other hand, an accurate threshold value can be obtained by adding a certain kind of coordinate transformation so that a clear valley (bottom) appears in the distribution frequency as shown in FIG. 8 (B). You can The coordinate conversion method is not limited to the above-described luminance Y, chromaticity I, and Q conversion, and any coordinate axis conversion may be used as long as a valley (bottom) can be made to appear and an accurate threshold value can be obtained. Good. In the above embodiment, the Y, M, and C pixel data are processed as they are, but the processing method is not limited to this, and RGB and Y
Considered to have a complementary color relationship (substantially equivalent) with MC, and YM
RGB pixel data can be used instead of C pixel data. Further, the color image data is not limited to that for printing.

【発明の効果】【The invention's effect】

以上説明した通り、本発明によれば、画像データの切抜
きマスク作成を、高速に且つ精度良く行うことができる
という優れた効果が得られる。
As described above, according to the present invention, it is possible to obtain an excellent effect that a cutout mask for image data can be created at high speed and with high accuracy.

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

第1図は、本発明を説明するための濃度レベルのヒスト
グラムを示す線図、 第2図は、本発明の実施例に係る切抜きマスク作成装置
の構成を示すブロック図、 第3図は、前記実施例におけるマスク作成手順を示す流
れ図、 第4図〜第7図は、前記実施例の作用を説明するため
の、画像データ例を示す平面図又は線図、 第8図は、本発明の実施に際し、閾値を求めるべく画素
データを座標軸変換する例を示す線図である。 10……ストレージ、 12……フレームメモリ、 14……表示手段であるカラー陰極線管(CRT)、 16……デジタイザあるいはマウス、 18……判別分析手段、 20……二値化手段、 22……制御CPU。
FIG. 1 is a diagram showing a histogram of density levels for explaining the present invention, FIG. 2 is a block diagram showing a configuration of a cutout mask creating apparatus according to an embodiment of the present invention, and FIG. FIG. 4 is a flow chart showing a mask making procedure in the embodiment, FIG. 4 to FIG. 7 are plan views or diagrams showing image data examples for explaining the operation of the embodiment, and FIG. FIG. 6 is a diagram showing an example of coordinate axis conversion of pixel data in order to obtain a threshold value. 10 ... Storage, 12 ... Frame memory, 14 ... Color cathode ray tube (CRT) as display means, 16 ... Digitizer or mouse, 18 ... Discriminant analysis means, 20 ... Binarization means, 22 ... Control CPU.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 7/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G06T 7/00

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】カラー画像データを表示手段の画面上に表
示して、切抜きマスクを作成する方法において、 表示された画像データについて、切抜きを所望する実体
部及び背景部間の輪郭を含む範囲をトレーニングエリア
として指示し、 該トレーニングエリア内の画素について、前記カラー画
像データの各色画素値に基づいて計算される評価関数に
より各色毎に閾値候補を求め、この各色毎の閾値候補の
評価関数の値に基づいて、前記閾値候補の色を選択する
と共に、選択された閾値候補を閾値とし、当該色の画素
データを当該閾値で二値化し、 二値化された画素データの背景部に基づき、切抜きマス
クを作成することを特徴とする切抜きマスク作成方法。
1. A method of displaying color image data on a screen of a display means to create a cutout mask, wherein a range including a contour between a substantial portion and a background portion desired to be cutout is displayed in the displayed image data. Designated as a training area, for pixels in the training area, a threshold candidate is obtained for each color by an evaluation function calculated based on each color pixel value of the color image data, and the value of the threshold candidate evaluation function for each color Based on the above, the color of the threshold value candidate is selected, the selected threshold value candidate is used as a threshold value, the pixel data of the color is binarized by the threshold value, and the clipping is performed based on the background portion of the binarized pixel data. A method for making a cutout mask, which comprises making a mask.
【請求項2】カラー画像データの表示手段と、演算手段
とを有する切抜きマスク作成装置において、 前記画像表示手段に表示された画像データについて、切
抜きを所望する実体部及び背景部間の輪郭を含む範囲を
トレーニングエリアとして指示するための手段と、 該トレーニングエリア内の画素について、前記カラー画
像データの各色画素値に基づいて計算される評価関数に
より各色毎に閾値候補を求めるための演算手段と、 この各色毎の閾値候補の評価関数の値に基づいて、前記
閾値候補の色を選択すると共に、選択された閾値候補を
閾値とし、当該色の画素データを、当該閾値で二値化処
理し、「1」、「0」の二値化画素データに変換するた
めの手段と、 トレーニングエリア内の二値化画素データについて、
「1」、「0」のうちのいずれが背景部であるかを指示
するための手段と、 背景部の二値化画素データに基づき、切抜きマスクを作
成するための手段とを備えたことを特徴とする切抜きマ
スク作成装置。
2. A cutout mask creating apparatus having a color image data display means and a calculation means, the image data displayed on the image display means including a contour between a substantial portion and a background portion desired to be cut out. Means for designating a range as a training area, and a computing means for obtaining a threshold value candidate for each color by an evaluation function calculated based on each color pixel value of the color image data for pixels in the training area, Based on the value of the evaluation function of the threshold candidate for each color, while selecting the color of the threshold candidate, the selected threshold candidate as a threshold, the pixel data of the color, the binarization process with the threshold, Means for converting the binary pixel data of "1" and "0", and the binary pixel data in the training area,
A means for instructing which of "1" and "0" is a background portion and a means for creating a cutout mask based on the binarized pixel data of the background portion are provided. Characteristic cutout mask making device.
JP33013389A 1989-12-20 1989-12-20 Method and device for making cutout mask Expired - Fee Related JPH0722325B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP33013389A JPH0722325B2 (en) 1989-12-20 1989-12-20 Method and device for making cutout mask
EP19900124904 EP0435167A3 (en) 1989-12-20 1990-12-20 Cut mask preparation method and apparatus
US08/355,320 US5454050A (en) 1989-12-20 1994-12-13 Cut mask preparation method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33013389A JPH0722325B2 (en) 1989-12-20 1989-12-20 Method and device for making cutout mask

Publications (2)

Publication Number Publication Date
JPH03190469A JPH03190469A (en) 1991-08-20
JPH0722325B2 true JPH0722325B2 (en) 1995-03-08

Family

ID=18229180

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33013389A Expired - Fee Related JPH0722325B2 (en) 1989-12-20 1989-12-20 Method and device for making cutout mask

Country Status (1)

Country Link
JP (1) JPH0722325B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2734759B1 (en) * 1995-05-31 1998-03-27 Oce Graphics France DOT IMAGE PRINTING PROCESS USING A MULTIPOINT PRINT HEAD, IN SEVERAL PASSES

Also Published As

Publication number Publication date
JPH03190469A (en) 1991-08-20

Similar Documents

Publication Publication Date Title
JP5713790B2 (en) Image processing apparatus, image processing method, and program
US8180161B2 (en) Image classification device and image classification program
US7440638B2 (en) Image retrieving system, image classifying system, image retrieving program, image classifying program, image retrieving method and image classifying method
US8135216B2 (en) Systems and methods for unsupervised local boundary or region refinement of figure masks using over and under segmentation of regions
US6711292B2 (en) Block selection of table features
JP4098021B2 (en) Scene identification method, apparatus, and program
US6731789B1 (en) Image processing apparatus and method, and storage medium
JP4300098B2 (en) Object identification method and apparatus, program and recording medium
CN113313680B (en) Colorectal cancer pathological image prognosis auxiliary prediction method and system
US6360006B1 (en) Color block selection
CA2267828A1 (en) Multiple size reductions for image segmentation
EP1246124B1 (en) Image space display method and apparatus
JP2001092980A (en) Method and device for extracting contour
US5761385A (en) Product and method for extracting image data
US8131077B2 (en) Systems and methods for segmenting an image based on perceptual information
JP6546385B2 (en) IMAGE PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
CN101777126A (en) Clustering method for multidimensional characteristic vectors
JP2004199622A (en) Apparatus and method for image processing, recording media, and program
JP6343998B2 (en) Image processing apparatus, image processing method, and program
JP2012003358A (en) Background determination device, method, and program
JPH0722325B2 (en) Method and device for making cutout mask
CN113095147A (en) Skin area detection method, system, image processing terminal and storage medium
JPH08263522A (en) Image retrieving method
US7080319B1 (en) Technology to translate non-text display generation data representing an indicator into text variables
JP2001043312A (en) Document picture processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20090308

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees