JPH01259363A - Image contour data generating method - Google Patents

Image contour data generating method

Info

Publication number
JPH01259363A
JPH01259363A JP63087929A JP8792988A JPH01259363A JP H01259363 A JPH01259363 A JP H01259363A JP 63087929 A JP63087929 A JP 63087929A JP 8792988 A JP8792988 A JP 8792988A JP H01259363 A JPH01259363 A JP H01259363A
Authority
JP
Japan
Prior art keywords
image
data
contour
partial image
color separation
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.)
Granted
Application number
JP63087929A
Other languages
Japanese (ja)
Other versions
JPH0642068B2 (en
Inventor
Ikuo Osawa
大澤 郁夫
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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP8792988A priority Critical patent/JPH0642068B2/en
Priority to DE68918886T priority patent/DE68918886T2/en
Priority to EP89106143A priority patent/EP0336430B1/en
Priority to US07/335,866 priority patent/US5091967A/en
Publication of JPH01259363A publication Critical patent/JPH01259363A/en
Publication of JPH0642068B2 publication Critical patent/JPH0642068B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Preparing Plates And Mask In Photomechanical Process (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To clearly detect a contour even if a density level difference of a specific image and a background image is small by comparing a differential value of a density level of a picture element with a reference level. CONSTITUTION:First of all, image data of each color resolution plate of YMCK of an image which has been stored in an image memory 5 is displayed as a color image on an image display device 9. Subsequently, a partial image block frame N containing a part of a contour line l of a specific image I is instructed with a stylus pen 11, image data corresponding to an area of the frame N is read out and a differential processing is performed at every picture element, and an obtained value is stored in a RAM 3. Next, a plate whose statistic quantity is maximum and whose line l is the clearest is selected, a prescribed differential value is determined to a reference level, and thereafter, based on its level, each differential value is binarized, and binary data is written in a mask memory 7. Subsequently, the processing is executed in the same way in order from the plate whose statistic quantity is large in the next place, and contour data is obtained.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、写真画像などの被処理原画に対する抜きマス
クを作成する際に用いる画像輪郭データの作成方法に関
する0作成された画像輪郭データは、写真製版機、レイ
アウトスキャナ、自動作図機等において利用される。
Detailed Description of the Invention <Industrial Application Field> The present invention relates to a method for creating image contour data used when creating a punching mask for an original image to be processed such as a photographic image. Used in photoengraving machines, layout scanners, automatic drafting machines, etc.

〈従来の技術〉 抜きマスクは、例えば写真製版作業において、写真画像
の所望画像領域のみの複製画像を得たり、所望画像領域
のみの色調を変更したりするときに使用される。
<Prior Art> A punching mask is used, for example, in photoengraving work to obtain a duplicate image of only a desired image area of a photographic image or to change the tone of only a desired image area.

例えば、商品カタログを印刷する場合、印刷原画として
の商品写真は通常必要な商品画像部の周囲に背景が盪影
されているが、印刷物としてはその背景部を消去して商
品部分のみを表示することが多い。
For example, when printing a product catalog, the product photo used as the original print image usually has a background around the necessary product image area, but as a printed product, that background area is erased and only the product area is displayed. There are many things.

このような作業に際しては、まず必要な画像領域の輪郭
線のデータを作成し、次に輪郭線の内部領域または外部
領域のいずれか一方を“H”レベル(物理的には不透明
(または透明)に相当する)にし、他方をL”レベル(
透明(または不透明)に相当する)にした抜きマスクパ
ターンデータを作成し、抜きマスクパターンデータに基
づいて被処理原画のうちの所望画像領域のみを抽出して
複製画像を得る。
When performing such work, first create outline data for the required image area, then set either the internal or external area of the outline to the "H" level (physically opaque (or transparent)). ), and set the other to L” level (corresponding to
Cutting mask pattern data that is made transparent (corresponding to opaque) is created, and based on the punching mask pattern data, only a desired image area of the original image to be processed is extracted to obtain a duplicate image.

従来の優れた画像輪郭データ作成方法の一つに、特公昭
63−5745号公報(発明の名称「抜きマスク版の作
製方法」)が知られている。それは、特定画像の濃度レ
ベルと背景画像の濃度レベルとの差を利用して特定画像
の輪郭データを得るものである。その方法の概要は、次
のとおりである。
Japanese Patent Publication No. 63-5745 (title of the invention: ``Method for Preparing Cutout Mask Plate'') is known as one of the conventional excellent image contour data preparation methods. This method uses the difference between the density level of a specific image and the density level of a background image to obtain contour data of a specific image. The outline of the method is as follows.

まず、原画像データをCRTモニタなどの画像   □
表示装置に表示する。表示された画像のうち抽出すべき
特定画像における輪郭線を含む小領域を部分画像区画枠
(ノズルと称している)で指定する。
First, convert the original image data to an image on a CRT monitor, etc. □
Display on a display device. A small area including an outline in a specific image to be extracted from the displayed image is specified using a partial image division frame (referred to as a nozzle).

その部分画像区画枠の領域内における各画素の濃度レベ
ルと基準濃度レベルとを比較し、画素4変レベルが基準
濃度レベル以上の画素部位については、これをH″ (
または“L”)とし、画素濃度レベルが基準濃度レベル
未満の画素部位については、これを“L” (またはH
″)とするというように2値化することによって、部分
画像区画枠の領域における特定画像の輪郭データを得る
The density level of each pixel in the area of the partial image division frame is compared with the reference density level, and for pixel portions where the pixel 4-change level is equal to or higher than the reference density level, this is set to H'' (
or "L"), and for pixel parts whose pixel density level is less than the reference density level, this is set to "L" (or "H").
''), contour data of the specific image in the area of the partial image partition frame is obtained.

次いで、表示されている特定画像の輪郭線に沿って部分
画像区画枠を隣接する領域に移動し、前記と同様の処理
を行う、以下同様に、順次、部分画像区画枠を輪郭線に
沿って移動し、その区画枠領域の輪郭データを決定する
0輪郭線を一巡すると、特定画像の輪郭線全体(閉ルー
プ)についての輪郭データが得られる。
Next, the partial image partition frame is moved to an adjacent area along the contour line of the specific image being displayed, and the same process as described above is performed. By moving and going around the 0 contour line that determines the contour data of the partition frame area, contour data for the entire contour line (closed loop) of the specific image is obtained.

この従来方法においては、基準濃度レベルを必要に応じ
て変更できるようになっている。特定画像の輪郭線に沿
って部分画像区画枠を移動するにつれて、特定画像の濃
度レベルと背景画像の濃度レベルのいずれか一方または
両方が変化する。もし、基準濃度レベルが一定に固定さ
れているとすると、H″となるべきところがL”となっ
たり、′L″となるべきところが”H″となったりし、
特定画像の輪郭線全体についての輪郭データに不連続な
部分が発生することになる。しかし、基準濃度レベルを
特定画像の濃度レベルの変化に応じて変更することによ
って、特定画像濃度レベルと背景画像濃度レベルとの間
に常に明確な差をもたせることができ、連続した輪郭線
としての輪郭データを得ることができる。
In this conventional method, the reference concentration level can be changed as necessary. As the partial image section frame is moved along the contour line of the specific image, either or both of the density level of the specific image and the background image changes. If the reference concentration level is fixed, a place that should be H'' may be L, or a place that should be 'L' may be H.
Discontinuous portions will occur in the contour data for the entire contour line of the specific image. However, by changing the reference density level according to changes in the density level of a specific image, it is possible to always maintain a clear difference between the density level of the specific image and the background image density level, and to Contour data can be obtained.

〈発明が解決しようとする課題〉 しかしながら、この従来例の場合においては、前述のと
おり、輪郭線に沿って濃度レベルが変化するのに伴って
オペレータがいちいち基準濃度レベルの設定の変更をし
なければならず、また、どのレベルまで変更すべきかの
判断がむずかしいため、作業能率の面で改善の余地があ
る。さらに、基準濃度レベルの変更が可能であるといっ
ても、特定画像濃度レベルと背景画像濃度レベルとの差
が充分に小さい領域においては、輪郭線の検出能力が低
くなり、検出できない場合が生じる可能性がある。
<Problems to be Solved by the Invention> However, in the case of this conventional example, as described above, the operator has to change the setting of the reference density level each time the density level changes along the contour line. In addition, it is difficult to judge to what level changes should be made, so there is room for improvement in terms of work efficiency. Furthermore, even if it is possible to change the reference density level, in areas where the difference between the specific image density level and the background image density level is sufficiently small, the ability to detect contours will be low and it may not be possible to detect them. there is a possibility.

また、特定画像が多色画像であり複数の色分解版に色分
解されているときには、どの版を24a化するかはオペ
レータが判断しなければならないとともに、輪郭の途中
で太き(色相が変わる場合には、スムーズに部分画像区
画枠を移動させることができない。
In addition, when a specific image is a multicolor image and is separated into multiple color separation plates, the operator must decide which plate to convert to 24a, and the outline may become thicker (the hue changes). In some cases, the partial image partition frame cannot be moved smoothly.

本発明は、このような事情に鑑みてなされたものであっ
て、基準濃度レベルの変更の手間を省略でき、また、特
定画像と背景画像との濃度レベル差が小さくても明確に
輪郭線を検出でき、また、色分解版の選択を自動的にで
きるようにすることを目的とする。
The present invention has been made in view of the above circumstances, and it is possible to omit the trouble of changing the reference density level, and also to clearly draw contour lines even if the difference in density level between a specific image and a background image is small. The purpose is to enable detection and automatic selection of color separations.

本発明は、従来例における問題の原因が「濃度レベル差
」で輪郭線を検出しようとしていた点と基準濃度レベル
および色分解版の選択をオペレータに一部していた点に
あると考え、次のような手法でその問題を解決したもの
である。
The present invention believes that the causes of the problems in the conventional example are that the outline was attempted to be detected by "density level difference" and that part of the selection of the reference density level and color separation plate was left to the operator. The problem was solved using a method like this.

く課題を解決するための手段〉 本発明の第1の画像輪郭データ作成方法は、特定画像を
含む階謂画像を表示し、その特定画像の輪郭線の一部を
含む部分画像区画枠を指示し、その部分画像区画枠領域
内で各画素ごとに微分処理を施し、各画素の濃度レベル
の微分値と適当な基準レベルとの比較に基づいて各画素
の微分値を2値化し、その2値データを前記部分画像区
画枠における輪郭データとして記憶し、部分画像区画枠
を特定画像の輪郭線に沿って1唄次移動させて各部分画
像区画枠において前記と同様の処理を施し、得られた2
(aデータを順次記憶して特定画像の輪郭線についての
輪郭データを得るものである。
Means for Solving the Problems> A first image contour data creation method of the present invention displays a floor image including a specific image, and designates a partial image section frame including a part of the contour of the specific image. Then, a differential process is applied to each pixel within the partial image division frame area, and the differential value of each pixel is binarized based on a comparison between the differential value of the density level of each pixel and an appropriate reference level. The value data is stored as contour data in the partial image partition frame, and the partial image partition frame is moved one step along the contour line of the specific image, and the same processing as described above is performed on each partial image partition frame. Ta2
(A data is sequentially stored to obtain contour data regarding the contour line of a specific image.

本発明の第2の画像輪郭データ作成方法は、第1の方法
において、特定画像を含む被処理原画が多色原画である
場合において、特定画像の画像データが複数の色分解版
に色分解されているとき、その色分解版のうちから輪郭
線の明確なものから順に1つ以上の色分解版を選択し、
選択された色分解版ごとに各部分画像区画枠における微
分処理。
In the second method for creating image contour data of the present invention, in the first method, when the original image to be processed including the specific image is a multicolor original image, the image data of the specific image is color-separated into a plurality of color separation plates. , select one or more color separations in order from those with clear outlines,
Differential processing in each sub-image partition frame for each selected color separation.

微分値と基準レベルとの比較による微分値の2(石化を
行い、各部分画像区画枠において色分解版ごとに得られ
た2値データを順次記憶する際に先に得られた色分解版
ごとの2値データがある場合にはその2値データとの論
理和をとって記憶するものである。
2 of the differential value by comparing the differential value with the reference level (for each color separation plate obtained earlier when performing petrification and sequentially storing the binary data obtained for each color separation plate in each partial image partition frame) If there is binary data, the logical OR with that binary data is calculated and stored.

本発明の第3の画像輪郭データ作成方法は、第2の方法
において、各部分画像区画枠ごとに、明確な輪郭線をも
つ色分解版の選択を、各色分解版のその部分画像区画枠
内の各画素の微分値についてのばらつきを示す統計量の
大きいものから順に行うものである。
A third image contour data creation method of the present invention includes, in the second method, selecting a color separation plate having a clear contour line for each partial image partition frame within the partial image partition frame of each color separation plate. This is performed in descending order of the statistical amount indicating the dispersion of the differential value of each pixel.

本発明の第4の画像輪郭データ作成方法は、第1または
第2の方法において、各部分画像区画枠ごとに、統計量
におけるp−タイル比に基づいて基準レベルを決定する
ものである。
A fourth image contour data creation method of the present invention is to determine a reference level for each partial image partition frame based on the p-tile ratio in the statistics in the first or second method.

なお、この明細書では、「濃度」という用語を、狭義の
光学的濃度値のみでなく、マンセルバリューや原画読取
り装置の出力信号レベル、それに、網点画像記録におけ
る網点面積率など、光学的濃度値に応じた量一般を指す
用語として使用する。
In this specification, the term "density" is used not only to refer to optical density values in a narrow sense, but also to optical density values, such as the Munsell value, the output signal level of an original image reading device, and the halftone area ratio in halftone image recording. This term is used to refer to a general amount depending on the concentration value.

く作用〉 本発明の上記各構成による作用は、それぞれ次のとおり
である。
Effects> The effects of each of the above configurations of the present invention are as follows.

第1の方法によれば、基準レベルと比較して2値データ
を得る対象が画素の濃度レベルではなく、その濃度レベ
ルの微分値であるから、特定画像濃度レベルと背景画像
濃度レベルとの差が小さくても、輪郭線の検出能力が向
上し、また、基準レベルを変更する頻度が少なくなる。
According to the first method, the target for obtaining binary data by comparison with a reference level is not the density level of a pixel but the differential value of that density level, so the difference between the specific image density level and the background image density level Even if the value is small, the contour detection ability is improved and the reference level is changed less frequently.

第2の方法は、特定画像を含む被処理原画が多色原画で
ある場合に対処するものであって、色分解版によって輪
郭線の明確さに差があるので、輪郭線の明確な色分解版
から順に選択した幾つかの色分解版ごとに各部分画像区
画枠における微分処理、微分値と基準レベルとの比較に
よる微分値の2値化を行い、各部分画像区画枠において
色分解版ごとに得られた2値データを順次記憶するのに
先に得られた色分解版ごとの2イ直データとの論理和を
とって記憶するから、微分値の差に起因する検出能力の
低下をカバーできる。
The second method deals with the case where the original image to be processed including the specific image is a multicolor original image, and since the clarity of the outline differs depending on the color separation version, clear color separation of the outline is necessary. Differential processing is performed in each partial image division frame for each color separation plate selected in order from the plate, and the differential value is binarized by comparing the differential value with a reference level. Since the binary data obtained for each color separation plate is sequentially stored, the logical OR with the 2-value data for each color separation plate obtained earlier is calculated and the detection ability is reduced due to the difference in differential values. I can cover it.

第3の方法によれば、第2の方法における色分解版の選
択を、色分解版の各部分画像区画枠内の各画素の微分値
についてのばらつきを示す統計量の大きいものから順に
選択するから、その選択の自動化が可能なものとなる。
According to the third method, the color separation plates in the second method are selected in descending order of the statistical amount indicating the dispersion of the differential value of each pixel in each partial image section frame of the color separation plate. This makes it possible to automate the selection.

第4の方法によれば、第1または第2の方法において、
各部分画像区画枠ごとに、統計量におけるp−タイル比
に基づいて基準レベルを決定するから、同じ輪gV1m
上に濃度変化のゆるやかな部分と急峻な部分とが混在し
ていても、それぞれに応じた基準レベルが自動的に決定
される。
According to the fourth method, in the first or second method,
Since the reference level is determined for each partial image partition frame based on the p-tile ratio in the statistics, the same ring gV1m
Even if there are parts where the density changes gradually and parts where the density changes steeply, the reference level corresponding to each part is automatically determined.

〈実施例〉 以下、本発明の実施例を図面に基づいて詳細に説明する
<Example> Hereinafter, an example of the present invention will be described in detail based on the drawings.

第1図は本発明の画像輪郭データ作成方法を実施するシ
ステムの概略構成を示す。
FIG. 1 shows a schematic configuration of a system implementing the image contour data creation method of the present invention.

図において、符号1は、システム全体を制御するための
マイクロコンピュータにおけるCPU。
In the figure, reference numeral 1 denotes a CPU in a microcomputer for controlling the entire system.

2は、実行プログラムを格納したROM(あるいはRA
M)、3は、後述する微分値テーブル3a。
2 is a ROM (or RA) that stores the execution program.
M), 3 is a differential value table 3a which will be described later.

微分値度数分布(ヒストグラム)テーブル3b。Differential value frequency distribution (histogram) table 3b.

その他のデータテーブルを有するRAMである。This is a RAM that has other data tables.

4は、被処理原画を光電走査して得られた多値画像デー
タを、Y(イエロー)2M(マゼンタ)。
4 is multivalued image data obtained by photoelectrically scanning the original image to be processed, which is Y (yellow) and 2M (magenta).

C(シアン)、K(墨)の4色に色分解して格納してい
るディスクメモリ、5は、CPU 1の制御によってパ
スライン6を介してディスクメモリ4から読み出された
YMCKの各色分解版の画像データをストアするイメー
ジメモリであって、Yメモリ5v、Mメモリ5,4.C
メモリ56.にメモリ5にの4つからなる。
A disk memory 5 stores color separation into four colors, C (cyan) and K (black), and 5 indicates each color separation of YMCK read out from the disk memory 4 via a pass line 6 under the control of the CPU 1. An image memory for storing image data of a plate, including Y memory 5v, M memory 5, 4 . C
Memory 56. and memory 5.

7は、作成された輪郭データを格納するマスクメモリ、
8は、D/A変換機能、イメージメモリ5から読み出し
たYMCKの各色分解版の画像データをR(赤)、G(
緑)、B(青)の信号に変換する機能、デジタイザ10
に合わせて部分画像区画枠(ノズル)Nの形状を表示す
る機能、変倍機能、画像回転機能、コントラスト調整機
能、マスクメモリ7内のデータを着色して表示する機能
、マスクメモリ7内のデータを半透明で表示する機能、
表示優先順序の変更機能、イメージメモリ5内のデータ
とマスクメモリ7内のデータとを重畳して表示する機能
等を有する画像表示調整装置である。9は、CRTデイ
スプレィ等のカラー画像表示装置である。
7 is a mask memory that stores the created contour data;
8 is a D/A conversion function, which converts the image data of each color separation version of YMCK read from the image memory 5 into R (red) and G (
Digitizer 10, function to convert into green) and B (blue) signals
A function to display the shape of the partial image division frame (nozzle) N according to A function to display semi-transparently,
This image display adjustment device has a function of changing the display priority order, a function of superimposing and displaying data in the image memory 5 and data in the mask memory 7, and the like. 9 is a color image display device such as a CRT display.

10は、スタイラスペン11による座標点指定により、
イメージメモリ5およびマスクメモリ7のアドレスと対
応した座標点データを入力するX−Yデジタイザ等であ
り、指定された座標点は画像表示装置9の画面において
対応する位置に部分画像区画枠として表示される。スタ
イラスペン11は、それに付属のスイッチを押すことに
よって、画像表示装置9の画面に表示された部分画像区
画枠について輪郭線の検出を行うことをCPUIに対し
指示する。
10, by specifying the coordinate point with the stylus pen 11,
It is an X-Y digitizer or the like that inputs coordinate point data corresponding to addresses in the image memory 5 and mask memory 7, and the specified coordinate points are displayed as a partial image section frame at the corresponding position on the screen of the image display device 9. Ru. By pressing the switch attached to the stylus pen 11, the stylus pen 11 instructs the CPU to detect the outline of the partial image partition frame displayed on the screen of the image display device 9.

12は、YMCKの色分解版のうち輪郭線の明確なもの
から順に幾つの色分解版を採用するかを指示したり、必
要な指示を入力したりするキーボード、13は、部分画
像区画枠Nの大きさ(半径)を設定しまた変更する第1
エンコーダ、14は、後述するp−タイル比を設定しま
た変更する第2エンコーダである。
12 is a keyboard for instructing how many color separations to adopt from among the YMCK color separations starting from those with clear outlines and inputting necessary instructions; 13 is a partial image division frame N; The first step is to set and change the size (radius) of
Encoder 14 is a second encoder that sets and changes the p-tile ratio, which will be described below.

次に、この実施例の動作を第2図のフローチャートを中
心にし、第3図〜第9図の動作説明図を参照しつつ説明
する。
Next, the operation of this embodiment will be explained with reference to the flowchart of FIG. 2 and the operation diagrams of FIGS. 3 to 9.

オペレータの指示によりCPUIは、ステップS1にお
いて、抽出すべき特定画像を含む画像のYMCKの各色
分解版の画像データをディスクメモリ4から読み出し、
イメージメモリ5の対応するYメモリ5y、Mメモリ5
N、Cメモリ5.。
In step S1, according to an operator's instruction, the CPU reads image data of each YMCK color separation version of the image including the specific image to be extracted from the disk memory 4,
Corresponding Y memory 5y and M memory 5 of image memory 5
N, C memory5. .

Kメモリ5、にそれぞれ格納する。ステップS2で、マ
スクメモリ7をクリアする。
K memory 5, respectively. In step S2, the mask memory 7 is cleared.

ステップS3で、イメージメモリ5から画像表示調整装
置8にYMCKの各色分解版の画像データを送出すると
、それらの画像データは画像表示調整装置8によってD
/A変換された後、RGB信号に変換されて画像表示装
置9に特定画像を含むカラー画像が表示される。その−
例を第3図(A)に示す、■が特定画像を、2が輪郭線
を表す。
In step S3, when the image data of each color separation version of YMCK is sent from the image memory 5 to the image display adjustment device 8, those image data are transferred to the image display adjustment device 8.
After the /A conversion, the image is converted into RGB signals, and a color image including the specific image is displayed on the image display device 9. That-
An example is shown in FIG. 3(A), where ■ represents a specific image and 2 represents a contour line.

次いで、オペレータは、キーボード12の操作によって
、YMCKの色分解版のうち輪郭線の明確なものから順
に(この点については後述する)、幾つの色分解版を採
用するかの採用版数Tの初期値を入力するが、CPUI
は、ステップS4で、入力された採用版数Tのデータを
RAM3に格納する。
Next, by operating the keyboard 12, the operator selects the number T of YMCK color separations to be adopted, starting from the one with the clearest outline (this point will be described later). Enter the initial value, but the CPU
In step S4, data of the input version number T is stored in the RAM3.

次いで、オペレータがデジタイザ10においてスタイラ
スペン11で指示する座標点データおよび第1エンコー
ダ13で指示される部分画像区画枠Nの大きさをステッ
プS5で読み取ってRAM3に格納するとともに、画像
表示装置9の画面上の対応する位置を中心として指示さ
れた大きさで部分画像区画枠Nを表示する。第3図(A
)のNはその例を示す。部分画像区画枠Nの位置および
大きさはスタイラスペン11の移動および第1エンコー
ダ13の操作に伴って変化する。オペレータは、画像表
示装置9の画面を見ながら、表示されている特定画像I
の輪郭線2上に部分画像区画枠Nがくるようにスタイラ
スペン11を操作する。
Next, in step S5, the coordinate point data specified by the operator with the stylus pen 11 on the digitizer 10 and the size of the partial image division frame N specified with the first encoder 13 are read and stored in the RAM 3, and the data on the image display device 9 are read. The partial image division frame N is displayed in the specified size with the corresponding position on the screen as the center. Figure 3 (A
) indicates an example. The position and size of the partial image division frame N change as the stylus pen 11 moves and the first encoder 13 is operated. The operator, while looking at the screen of the image display device 9, selects the specific image I being displayed.
The stylus pen 11 is operated so that the partial image division frame N is placed on the contour line 2 of .

ステップS6で、キーボード12から処理終了の指示が
入力されたかどうかを判断するが、輪郭データの検出が
終了していないので、次のステップS7に進む、スタイ
ラスペン11の操作によって部分画像区画枠Nが輪郭線
Pの上または直近にきたときに、オペレータはスタイラ
スペン11のスイッチを押して輪郭線の検出を指示する
が、それがステップS7で判断される。この判断がNO
であることは部分画像区画枠Nの移動操作中であること
を示しており、そのときはステップS5にリターンする
In step S6, it is determined whether an instruction to end the process has been input from the keyboard 12, but since the detection of contour data has not been completed, the process proceeds to the next step S7. When the line P is on or near the contour line P, the operator presses a switch on the stylus pen 11 to instruct contour detection, which is determined in step S7. This judgment is NO
This indicates that the partial image division frame N is being moved, and in that case, the process returns to step S5.

ステップS8で、イメージメモリ5から部分画像区画枠
Nの領域に対応したYMCKの各色分解版の画像データ
を順序的に読み出し、各々の版の各画素ごとに微分処理
を施し、その結果得られた微分値をRAM3の微分値テ
ーブル3aに格納するとともに、RAM3の微分値度数
分布(ヒストグラム)テーブル3bを作成し、微分値の
ばらつき(分布)を表す統計量を算出してRAM3に格
納する。
In step S8, the image data of each color separation version of YMCK corresponding to the area of the partial image division frame N is sequentially read out from the image memory 5, and differential processing is performed for each pixel of each version. The differential values are stored in the differential value table 3a of the RAM 3, a differential value frequency distribution (histogram) table 3b of the RAM 3 is created, and statistics representing variations (distribution) of the differential values are calculated and stored in the RAM 3.

具体例を示すと、第4図(A)のように、ある色分解版
の画像データのうち部分画像区画枠NのiJl域内にあ
る各画素のレベルPI (i=1.2゜3・・・・rz
nは部分画像区画枠Nの領域内の全画素数)について、
公知のmXm画素の微分オペレーションを施し、微分値
Ei  (+=1.2.3・・・・n)を算出し、それ
を第4図(B)に示すように微分値テーブル3aに格納
する0画素のレベルP1は、輪郭線2を境として大きく
変化し、輪郭線lの両側においてはそれぞれほぼ一定の
値を保つ。したがって、微分値E1は、輪郭線lを構成
する画素において大きな値をとり、それ以外のレベルの
平坦な画素においては小さい値をとる。
To give a specific example, as shown in FIG. 4(A), the level PI (i=1.2°3...・・rz
n is the total number of pixels in the area of the partial image division frame N),
Perform a known differential operation on mXm pixels to calculate the differential value Ei (+=1.2.3...n), and store it in the differential value table 3a as shown in FIG. 4(B). The level P1 of the 0 pixel changes greatly with the contour line 2 as a boundary, and maintains a substantially constant value on both sides of the contour line l. Therefore, the differential value E1 takes a large value in pixels forming the contour line l, and takes a small value in flat pixels of other levels.

微分(IIE + は、YMCKの各色分解版ごとに異
なるのが普通である。YMCKごとの微分値Eiをそれ
ぞれEYi+ EIIi+ Li+ EK!で表し、各
々のばらつきを示す統計量をそれぞれSV、S、。
The differential value (IIE+) usually differs for each color separation of YMCK.The differential value Ei for each YMCK is expressed as EYi+EIIi+Li+EK!, and the statistics indicating the respective variations are SV, S, respectively.

Sc、Sイて表す。ばらつきを示す統計量としては、分
散や残差の絶対値和等があり、それぞれ例えば次式に基
づいて算出される。
Represented by Sc and S. The statistical quantities indicating dispersion include variance, the sum of absolute values of residuals, etc., and each is calculated based on, for example, the following equation.

残差の絶対値和=Σ 1Ei4ま ただし、ここで、 である。Sum of absolute values of residuals = Σ 1Ei4 However, here, It is.

各統計量Sv、s+4.Sc、S11は、YMCKの各
色分解版の微分値EYj+ ENI+ EC1,Ex+
の分布の偏りを示すもので、明確な輪郭線をもつ色分解
版はど大きな値をもち、輪郭線の形状が不明確な色分解
版では小さな値をもつ。
Each statistic Sv, s+4. Sc, S11 are the differential values of each color separation of YMCK EYj+ ENI+ EC1, Ex+
It shows the bias in the distribution of color separations, where color separations with clear outlines have large values, and color separations with unclear outlines have small values.

第5図(A)〜(D)は、各色分解版の微分値Evt、
 E、l、  EC1,BKIのヒストグラムの一例を
示し、横軸が微分値、縦軸が度数を表す。この例では、
ばらつきを表す統計ISy 、SM 、Sc 。
FIGS. 5(A) to (D) show the differential value Evt of each color separation plate,
An example of a histogram of E, l, EC1, and BKI is shown, where the horizontal axis represents the differential value and the vertical axis represents the frequency. In this example,
Statistics representing the dispersion ISy, SM, Sc.

S、は、Sc >Sv >S14>SKとなっている。S is such that Sc>Sv>S14>SK.

ステップS4において、キーボード12の操作によりY
MCKの各色分解版のうち輪郭線の明確なものから順に
幾つかの色分解版を採用することを決定したが、それは
統計量Sv 、 Ss 、  Sc 、  SKの大小
関係に基づいて行うのであり、例えば第5図の場合にお
いて3つの色分解版を採用するときは、統計量の大きい
方から0版、Y版0M版を採用することになる。
In step S4, by operating the keyboard 12, Y
Among the MCK color separations, it was decided to adopt several color separations in order from those with clear outlines, but this was done based on the magnitude relationship of the statistics Sv, Ss, Sc, and SK. For example, in the case of FIG. 5, when three color separation plates are employed, the 0 edition, Y edition, and 0M edition are adopted from the one with the largest statistical amount.

次いで、ステップS9で、キーボード12から採用版数
Tの変更の指示があれば、RAM3に格納する採用版数
Tを更新する。変更がなければ、RAMa内にすでに格
納されている採用版数Tを保持する。
Next, in step S9, if there is an instruction to change the adopted version number T from the keyboard 12, the adopted version number T stored in the RAM 3 is updated. If there is no change, the adopted version number T already stored in RAMa is retained.

ステップ310で、第2エンコーダ14からp−タイル
比αを読み込み、RAM3に格納する。p−タイル比α
は、次のようにして予め決められている。すなわち、第
6図はMMCKの色分解版のうちのいずれか1つの色分
解版の統計量を示すヒストグラムであるが、このヒスト
グラムにおいて、部分画像区画枠Nの領域内で2値化に
よってONとなる画素数P。8とOFFとなる画素数P
。F、トの比(ヒストグラムにおける面積比)、すなわ
ち、p−タイル比−P aN/ P OFFまたは、 p−タイル比−P。FF / P ONとして定義され
る。
At step 310, the p-tile ratio α is read from the second encoder 14 and stored in the RAM 3. p-tile ratio α
is predetermined as follows. That is, FIG. 6 is a histogram showing the statistics of any one of the color separations of MMCK. The number of pixels P. 8 and the number of pixels P that turns OFF
. F, the ratio of area (area ratio in the histogram), i.e., p-tile ratio-PaN/P OFF or p-tile ratio-P. Defined as FF/P ON.

p−タイル比は、あるいは全画素数と、2値化によりO
N(または0FF)となる画素数P。、l(またはPO
FF)との比、すなわち、p−タイル比−P o+i/
 (P (lN+ P OFF )または、 p−タイル比= P (IFF / (P llN+ 
P o□)として定義してもよい。
The p-tile ratio is the total number of pixels and O by binarization.
Number of pixels P that is N (or 0FF). , l (or PO
FF), i.e. p-tile ratio-P o+i/
(P(lN+POFF) or p-tile ratio=P(IFF/(PllN+)
It may also be defined as P o□).

次に、ステップ311において、ステップS9で更新さ
れた採用版数T1あるいはステップS9での更新がなか
った場合にはステップS4で設定された採用版数Tの色
分解版のうちから、統計量が最大で輪郭線が最も明確な
色分解版を選択する。
Next, in step 311, statistics are calculated from among the color separations of the adopted version number T1 updated in step S9 or, if there is no update in step S9, of the adopted version number T set in step S4. Select the largest color separation with the clearest outline.

ステップS12において、ステップS10で読み込んだ
p−タイル比αに基づいて、その選択色分解版について
の現在の部分画像区画枠Nの領域内のヒストグラムを部
分し、その部分の境界に相当する微分値を、微分値の2
41i化のための基準レベルEthとして決定し、RA
M3に格納する。第6図の例では、p−タイル比−P 
OFF / (P ON+POFF )に基づいてヒス
トグラムを部分している。
In step S12, based on the p-tile ratio α read in step S10, the histogram in the area of the current partial image division frame N for the selected color separation is divided into parts, and the differential value corresponding to the boundary of the part is divided. , the differential value 2
Determined as the reference level Eth for 41i conversion, RA
Store in M3. In the example of FIG. 6, p-tile ratio-P
The histogram is divided based on OFF/(P ON+POFF).

このヒストグラムとp−タイル比とから基準レベルEt
hを決定する方法は、例えば第7図のように部分画像区
画枠Nの領域内の一定割合の画素が輪郭線を形成するよ
うに基準レベルEthを決定したい場合において、たと
え、微分値が第8図(A)のように大きい方に偏って分
布していても、逆に同図(B)のように小さい方に偏っ
て分布していても、同じp−タイル比を与えるだけで自
動的に基準レベルEthが調整されて決定されることか
ら、濃度変化において特にゆるやかな輪郭部と急峻な輪
郭部とを同じ輪郭線上にもつ特定画像の輪郭線を検出す
る際にも安定した結果が得られる。
From this histogram and the p-tile ratio, the reference level Et
The method for determining h is, for example, when you want to determine the reference level Eth so that a certain percentage of pixels in the area of the partial image partition frame N form a contour line as shown in FIG. 7, even if the differential value is Even if the distribution is biased towards the large side as shown in Figure 8 (A), or conversely towards the small side as shown in Figure 8 (B), it can be automatically calculated by simply giving the same p-tile ratio. Since the reference level Eth is determined by adjusting the reference level Eth, stable results can be obtained even when detecting the contour of a specific image that has both a gentle contour and a steep contour on the same contour due to density changes. can get.

例えば、第7図において、輪郭部の画素数をAよ、輪郭
部の両側の画素数をAv 、Azとして、分割比Ax 
/ (Ax + Av + Az ) ””20%とし
たい場合、p−タイル比は80/100口80%となり
、ヒストグラムを80 : 20で部分したとき、第8
図(A)の場合はEth−70、同図(B)の場合はE
th−30となっている。ただし、第8図の横軸は相対
微分値を表している。
For example, in FIG. 7, the number of pixels in the contour is A, the numbers of pixels on both sides of the contour are Av and Az, and the division ratio Ax is
/ (Ax + Av + Az) ""If you want to set it to 20%, the p-tile ratio is 80/100, which is 80%, and when the histogram is divided into 80:20 parts, the 8th
In the case of diagram (A), Eth-70, and in the case of diagram (B), Eth-70
It is th-30. However, the horizontal axis in FIG. 8 represents the relative differential value.

ステップ513では、部分画像区画枠Nの領域内におい
て、選択色分解版の各画素の微分値をRAM3内の微分
値テーブル3aから読み出し、その微分値を前記の決定
された基準レベルEthとの比較に基づいて2値化し、
その2値データとマスクメモリ7内のデータとの論理和
(OR)をとって、その結果を再びマスクメモリ7内に
書き込む。このような2(1化、論理和演算および書き
込みは、部分画像区画枠Nの領域内の1画素ごとについ
て順序的に行われる。
In step 513, within the area of the partial image division frame N, the differential value of each pixel of the selected color separation is read from the differential value table 3a in the RAM 3, and the differential value is compared with the determined reference level Eth. Binarize based on
The binary data and the data in the mask memory 7 are logically summed (OR)ed, and the result is written into the mask memory 7 again. Such 2 (unification, logical sum operation, and writing) are sequentially performed for each pixel within the area of the partial image division frame N.

輪郭線の最も明確な最初の選択色分解版についての論理
和の場合、マスクメモリ7内はステップS3で予めクリ
アされているので、その選択色分解版のみの2値デーク
がマスクメモリ7に書き込まれる。
In the case of the logical sum for the first selected color separation with the clearest outline, the mask memory 7 has been cleared in advance in step S3, so a binary data of only that selected color separation is written into the mask memory 7. It will be done.

論理和をとるのは、この部分画像区画枠Nの領域によっ
て検出される輪郭線と、その前後に隣接する部分画像区
画枠Nによって検出される輪郭線とをスムーズにつなぐ
ためと、その選択色分解版だけでは、”H”  (また
はL”)となる2値データが部分画像区画枠Nの領域内
にある輪郭線の全長に沿った画素で連続しない場合があ
るためである。すなわち、色分解版によっては、特定画
像■の輪郭線lの内側と外側とで画素のレベルの差かほ
どんど生しない画素部分が存在する場合があるからであ
る。この点は、後述する動作説明によってより明らかと
なる。
The reason for calculating the logical sum is to smoothly connect the contour line detected by the area of this partial image partition frame N with the contour line detected by the adjacent partial image partition frame N before and after it, and to calculate the selected color. This is because with only the separated version, the binary data that becomes "H" (or L) may not be continuous in pixels along the entire length of the contour line within the area of the partial image division frame N. In other words, the color This is because, depending on the decomposition version, there may be pixel parts where there is almost no difference in pixel level between the inside and outside of the contour line l of the specific image (■).This point will become clearer from the explanation of the operation described later. becomes.

部分画像区画枠Nの領域内の全画素についての順序的な
2値データの書き込みが完了すると、ステップS14に
進み、統計量が2番目に大きい色分解版を選択する。
When sequential binary data writing for all pixels within the area of the partial image division frame N is completed, the process proceeds to step S14, and the color separation plate with the second largest statistic is selected.

ステップS15で、それまでに選択された色分解版の総
数が採用版数Tよりも大きくなったかどうかを判断し、
達していないときにはステップS12にリターンし、前
述同様にステップ312〜515を実行する。
In step S15, it is determined whether the total number of color separation plates selected so far has become larger than the adopted number T,
If it has not been reached, the process returns to step S12, and steps 312 to 515 are executed in the same manner as described above.

すなわち、2番目に輪郭線の明確な色分解版について、
前回と同じp−タイル比に基づいて、2番目の選択色分
解版について同一の部分画像区画枠Nでの基準レベルE
thの決定と、2値化と、論理和処理後の2値データの
マスクメモリ7への書き込みとを、その部分画像区画枠
Nの領域内の全画素について1画素ずつ順次的に行う。
That is, for the second color separation with clear outlines,
Based on the same p-tile ratio as before, the reference level E at the same sub-image partition frame N for the second selected color separation.
The determination of th, the binarization, and the writing of the binary data after the OR processing into the mask memory 7 are sequentially performed pixel by pixel for all pixels within the area of the partial image division frame N.

この場合、マスクメモリ7への書き込みに際して、2値
データとマスクメモリ7内にすでに格納されている1番
目の選択色分解版についての2値デークとの論理和をと
ることにより、換言すれば、1番目と2番目の2値デー
タどうしを合成することにより、1番目の2値データで
は不連続となっていた画素部分の一部または全部に2値
データが書き込まれることになり、輪郭データとして連
続性が向上することとなる。
In this case, when writing to the mask memory 7, the binary data is logically ORed with the binary data for the first selected color separation already stored in the mask memory 7, in other words, By combining the first and second binary data, binary data will be written to some or all of the pixel parts that were discontinuous in the first binary data, and the binary data will be written as contour data. Continuity will be improved.

2番目の選択色分解版についてのステップS15での判
断で、それまでに選択された色分解版の総数が採用版数
Tにいまだ達していないときには再びステップS12に
リターンし、3番目に大きな統計量の色分解版について
前述同様にステップ312〜S15を実行する。これに
より、輪郭データの連続性が一層向上する0通常の被処
理原画であれば、輪郭データは、その部分画像区画枠N
の領域内に存在する特定画像Iの輪郭線lの全長に沿っ
て連続したものとなる。このときのマスクメモリ7内の
輪郭データを視覚的に表すと第9図(A)のようになる
If it is determined in step S15 regarding the second selected color separation plate that the total number of color separation plates selected up to that point has not yet reached the adoption number T, the process returns to step S12 again, and the third largest statistic is selected. Steps 312 to S15 are executed in the same manner as described above for the color separations. This further improves the continuity of the contour data.0 If it is a normal original image to be processed, the contour data will be divided into its partial image partition frame N
It is continuous along the entire length of the contour line l of the specific image I existing within the area. The contour data in the mask memory 7 at this time is visually represented as shown in FIG. 9(A).

採用版数Tのすべての色分解版についての前述の処理が
終了すると、ステップS16に進み、マスクメモリ7か
ら輪郭データを表す2値データを画像表示調整装置8に
送出し、着色の処理、半透明化の処理をするなどしてそ
の部分画像区画枠Nでの部分的な検出輪郭線を画像表示
装置9に特定画像とともに再表示させる。
When the above-mentioned processing is completed for all the color separations of the adopted version number T, the process proceeds to step S16, where binary data representing contour data is sent from the mask memory 7 to the image display adjustment device 8, and coloring processing and half-coloring processing are performed. The partial detected contour line in the partial image division frame N is re-displayed on the image display device 9 together with the specific image by performing a process of transparency or the like.

次いで、ステップS5にリターンし、デジタイザ10に
おけるスタイラスペン11の操作によって、先の1番目
の部分画像区画枠Nに一部重畳する状態で隣接する2番
目の部分画像区画枠Nを画像表示装置9に表示し、今度
はその2番目の部分画像区画枠Nにおいて前述同様の動
作を実行する。これによって、マスクメモリ7には、1
番目の部分画像区画枠Nの輪郭データと2番目の部分画
像区画枠Nの輪郭データとが格納されることになる。
Next, the process returns to step S5, and by operating the stylus pen 11 on the digitizer 10, the adjacent second partial image partition frame N is displayed on the image display device 9 in a state that it partially overlaps the previous first partial image partition frame N. This time, the same operation as described above is performed in the second partial image division frame N. As a result, the mask memory 7 contains 1
The contour data of the th partial image partition frame N and the contour data of the second partial image partition frame N are stored.

すなわち、ステップS13で論理和操作を行っているか
らである。
That is, this is because the logical sum operation is performed in step S13.

そして、2番目の部分画像区画枠Nでの部分的な検出輪
郭線が1番目の部分画像区画枠Nでの部分的な検出輪郭
線に連続した状態で画像表示装置9に表示される。
Then, the partial detected contour line in the second partial image partition frame N is displayed on the image display device 9 in a state that it is continuous with the partial detected contour line in the first partial image partition frame N.

以下、同様にして、第3図の(B)〜(C)に示すよう
に、3番目、4番目・・・・というように部分画像区画
枠Nを輪郭線lに沿って順次移動させながら同様の処理
を実行する。最後には1番目の部分画像区画枠Nに一部
重畳する状態の部分画像区画枠Nでの処理を実行する0
以上によって輪郭線2に沿って一巡した処理が完了し、
画像表示装置9にはすべての部分的な検出輪郭線が連続
した最終の閉ループの検出輪郭線が表示される。
Thereafter, in the same manner, as shown in FIG. 3 (B) to (C), while sequentially moving the partial image partition frame N to the third, fourth, etc. along the outline l, Perform similar processing. Finally, processing is executed in the partial image partition frame N that partially overlaps the first partial image partition frame N.
With the above, one round of processing along contour line 2 is completed,
The image display device 9 displays the final closed-loop detection contour line in which all the partial detection contour lines are continuous.

第3図(B)の段階でのマスクメモリ7内の輪郭データ
を視覚的に表すと第9図(B)のようになり、第3図(
C)の段階でのマスクメモリ7内の輪郭データを視覚的
に表すと第9図(C)のようになる。
The contour data in the mask memory 7 at the stage of FIG. 3(B) is visually represented as shown in FIG. 9(B), and the contour data in the mask memory 7 at the stage of FIG.
The contour data in the mask memory 7 at step C) is visually represented as shown in FIG. 9(C).

そして、オペレータがキーボード12から処理終了の指
示を与えると、ステップS6においてシーケンス動作を
終了する。この処理終了の指示は、デジタイザ10から
行うように構成してもよい。
Then, when the operator gives an instruction to end the process from the keyboard 12, the sequence operation is ended in step S6. The instruction to end this process may be configured to be issued from the digitizer 10.

なお、閉ループの検出輪郭線を表示した段階では、マス
クメモリ7に閉ループの輪郭データが格納されているこ
とはいうまでもないが、上記のシーケンス動作の終了前
に、あるいは終了に引き続いたサブルーチンにおいて、
検出輪郭データを”H” (または“L”)として有す
る閉ループの画素群の内側または外側に位置する全画素
群を公知の方法によってH°“ (または“L”)に変
換するいわゆる塗りつぶしや、前記閉ループの画素群に
対するベクトル化処理を電子的に施すことによって、抜
きマスクを作成することができる。
It goes without saying that the closed-loop contour data is stored in the mask memory 7 at the stage when the closed-loop detection contour line is displayed. ,
So-called filling in which all pixel groups located inside or outside of a closed loop pixel group having detected contour data as "H" (or "L") are converted to H°" (or "L") by a known method, An extraction mask can be created by electronically performing vectorization processing on the closed-loop pixel group.

部分画像区画枠Nの大きさは、第1エンコーダ13によ
って変更することができるので、濃度レベルが互いに異
なる領域が複雑に入り込んでいる場合であっても、部分
画像区画枠Nを小さく変更することにより、抽出すべき
特定画像のみの輪郭線のデータを検出することができ、
また、逆に部分画像区画枠Nを大きくしてもよい場合に
は、スタイラスペン11による部分画像区画枠Nの位置
指示の操作回数が少なくなり、作業性を向上できる。
The size of the partial image partition frame N can be changed by the first encoder 13, so even if areas with different density levels are intricately included, the partial image partition frame N can be changed to a smaller size. By using this method, it is possible to detect the contour data of only the specific image to be extracted.
On the other hand, if the partial image partition frame N can be made larger, the number of times the stylus pen 11 is used to specify the position of the partial image partition frame N is reduced, and workability can be improved.

なお、部分画像区画枠(ノズル)Nの形状は、円形に限
る必要はなく、方形その他任意の形状のものが使用でき
る。また、部分画像区画枠Nの移動の仕方としては、必
ずしも輪郭線lに沿って連続的に移動させる必要はなく
、飛び飛びに移動させたり、同じ箇所に繰り返して形成
してもよい。
Note that the shape of the partial image division frame (nozzle) N does not have to be limited to a circle, and any shape other than a rectangle can be used. Further, as for how to move the partial image division frame N, it is not necessarily necessary to move it continuously along the contour line 1, but it may be moved intermittently or it may be formed repeatedly at the same location.

ただし、最終的には輪郭線Pの全長範囲をカバーする必
要がある。
However, ultimately it is necessary to cover the entire length range of the contour line P.

また、本発明では、検出された輪郭線を、マスクメモリ
7に論理和をとって書き加えていくため、修正手段とし
てマスクメモリ7の全面あるいはデジタイザ10の座標
指示による部分的な消去およびデジタイザ10の座標指
示による直線や円弧を用いた加筆ができる。
Further, in the present invention, since the detected contour line is logically added to the mask memory 7 and added to the mask memory 7, correction means may include erasing the entire surface of the mask memory 7 or partially by specifying the coordinates of the digitizer 10. You can make additions using straight lines and arcs by specifying the coordinates.

被処理原画の条件が良く、単に1つの色分解版において
抽出すべき特定画像の輪郭線が明確である場合には、採
用版数Tを1とし、その色分解版のみを選択すればよい
、また、被処理原画がモノクロの場合には、イメージメ
モリ5を構成する4つのYメモリ5Y、Mメモリ50.
Cメモリ5c。
If the conditions of the original image to be processed are good and the outline of the specific image to be extracted is clear in just one color separation, the adopted version number T should be 1 and only that color separation should be selected. Furthermore, when the original image to be processed is monochrome, four Y memories 5Y, M memories 50 .
C memory 5c.

Kメモリ5にのうちいずれか1つのメモリのみを使用す
るように構成すればよい。
Only one of the K memories 5 may be used.

〈発明の効果〉 本発明によれば、次の効果が発揮される。<Effect of the invention> According to the present invention, the following effects are achieved.

基準レベルと比較して2値データを得る対象を画素の濃
度レベルではなく、その濃度レベルの微分値とする第1
の方法によれば、特定画像濃度レベルと背景画像濃度レ
ベルとの差が小さくても、輪郭線の検出能力を向上でき
るとともに、基準レベルの変更回数を減少して作業性を
改善できる。
The first method is to compare the density level of a pixel with the differential value of the density level to obtain binary data, rather than the density level of the pixel.
According to the above method, even if the difference between the specific image density level and the background image density level is small, the ability to detect contour lines can be improved, and the number of changes in the reference level can be reduced, thereby improving work efficiency.

また、第2の方法によれば、特定画像が多色画像である
場合に、輪郭線の明確な色分解版から順に処理し、かつ
、輪郭データを色分解版ごとの2値データの論理和とし
て記憶するから、色分解版間の微分値の差に起因する検
出能力の低下をカバーできる。
According to the second method, when the specific image is a multicolor image, processing is performed in order from color separations with clear outlines, and the outline data is logically summed with binary data for each color separation. Since it is stored as , it is possible to compensate for the decrease in detection ability caused by the difference in differential values between color separation plates.

第3の方法によれば、第2の方法における色分解版の選
択を、各部分画像区画枠内の各画素の微分値についての
ばらつきを示す統計量の大きいものから順に行うから、
その選択を容易に自動化して作業性を一層向上すること
ができる。
According to the third method, the color separation plates in the second method are selected in descending order of the statistical amount indicating the dispersion of the differential value of each pixel in each partial image partition frame.
The selection can be easily automated to further improve work efficiency.

第4の方法によれば、第1または第2の方法において、
各部分画像区画枠ごとに統計量におけるp−タイル比に
基づいて基準レベルを決定するから、同じ輪郭線上に濃
度変化のゆるやかな部分と急峻な部分とが混在していて
も、それぞれに応じた基準レベルを自動的に決定でき、
被処理原画の状態の変化に対するフレキシビリティを拡
張することができる。
According to the fourth method, in the first or second method,
Since the reference level is determined based on the p-tile ratio in the statistics for each partial image partition frame, even if there are parts with gradual density changes and parts with steep changes on the same contour line, the The reference level can be determined automatically,
Flexibility with respect to changes in the state of the original image to be processed can be expanded.

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

第1図から第9図は本発明の実施例に係り、第1図は画
像輪郭データ作成方法を実施するシステムの概略構成図
、第2図は動作説明に供するフローチャート、第3図は
部分画像区画枠の順次移動の様子の説明図、第4図は部
分画像区画枠領域内における各画素の濃度レベルの微分
値をとる説明図、第5図は色分解版ごとに異なるヒスト
グラムの様子の説明図、第6図はヒストグラムから基準
レベルの決定法の説明図、第7図は特定画像の輪郭線の
一例を示す図、第8図はヒストグラムの状態変化を示す
図、第9図はマスクメモリに順次記憶されていく輪郭デ
ータを示す図である。 ■・・・特定画像 2・・・輪郭線 N・・・部分画像区画枠 Eth・・・基準レベル E長・・・微分値 出願人 大日本スクリーン製造株式会社代理人 弁理士
   杉 谷   勉 第3図     第9図 第 4 (A) 第5 (A)    (B) □欲廻直E (B) 図 (C)         CD)
1 to 9 relate to embodiments of the present invention, FIG. 1 is a schematic configuration diagram of a system implementing the image contour data creation method, FIG. 2 is a flowchart for explaining the operation, and FIG. 3 is a partial image An explanatory diagram of the sequential movement of the division frame, Fig. 4 is an explanatory diagram of the differential value of the density level of each pixel within the partial image division frame area, and Fig. 5 is an explanation of the state of the histogram that differs for each color separation. Figure 6 is an explanatory diagram of the method for determining the reference level from the histogram, Figure 7 is a diagram showing an example of the contour line of a specific image, Figure 8 is a diagram showing changes in the state of the histogram, and Figure 9 is the mask memory. FIG. 3 is a diagram illustrating contour data that is sequentially stored. ■...Specific image 2...Contour line N...Partial image division frame Eth...Reference level E length...Differential value Applicant Dainippon Screen Manufacturing Co., Ltd. Agent Patent attorney Tsutomu Sugitani No. 3 Figure 9 Figure 4 (A) 5th (A) (B) □Gourmet NaoE (B) Figure (C) CD)

Claims (4)

【特許請求の範囲】[Claims] (1)特定画像を含む階調画像を表示し、その特定画像
の輪郭線の一部を含む部分画像区画枠を指示し、その部
分画像区画枠領域内で各画素ごとに微分処理を施し、各
画素の濃度レベルの微分値と適当な基準レベルとの比較
に基づいて各画素の微分値を2値化し、その2値データ
を前記部分画像区画枠における輪郭データとして記憶し
、部分画像区画枠を特定画像の輪郭線に沿って順次移動
させて各部分画像区画枠において前記と同様の処理を施
し、得られた2値データを順次記憶して特定画像の輪郭
線についての輪郭データを得る画像輪郭データ作成方法
(1) Displaying a gradation image including a specific image, specifying a partial image partitioning frame that includes a part of the outline of the specific image, and performing differential processing for each pixel within the partial image partitioning frame area, The differential value of each pixel is binarized based on the comparison between the differential value of the density level of each pixel and an appropriate reference level, and the binary data is stored as outline data in the partial image partition frame, and is sequentially moved along the contour line of a specific image, the same processing as described above is performed on each partial image partition frame, and the obtained binary data is sequentially stored to obtain contour data about the contour line of the specific image. How to create contour data.
(2)請求項(1)に記載の方法において、特定画像を
含む被処理原画が多色原画であり、複数の色分解版に色
分解されているとき、その色分解版のうちから輪郭線の
明確なものから順に1つ以上の色分解版を選択し、選択
された色分解版ごとに各部分画像区画枠における微分処
理、微分値と基準レベルとの比較による微分値の2値化
を行い、各部分画像区画枠において色分解版ごとに得ら
れた2値データを順次記憶する際に先に得られた色分解
版ごとの2値データがある場合にはその2値データとの
論理和をとって記憶する画像輪郭データ作成方法。
(2) In the method according to claim (1), when the original image to be processed including the specific image is a multicolor original image and has been color-separated into a plurality of color separation plates, a contour line is selected from among the color separation plates. One or more color separations are selected in order from the clearest one, and for each selected color separation, differential processing is performed in each partial image partition frame, and the differential value is binarized by comparing the differential value with a reference level. When the binary data obtained for each color separation plate is sequentially stored in each partial image partition frame, if there is binary data for each color separation plate obtained earlier, the logic with that binary data is calculated. A method for creating image contour data that calculates the sum and stores it.
(3)請求項(2)に記載の方法において、各部分画像
区画枠ごとに、明確な輪郭線をもつ色分解版の選択を、
各色分解版のその部分画像区画枠内の各画素の微分値に
ついてのばらつきを示す統計量の大きいものから順に行
う画像輪郭データ作成方法。
(3) In the method according to claim (2), selecting a color separation plate having a clear outline for each partial image partition frame,
A method for creating image contour data in descending order of the statistical amount indicating the variation in the differential value of each pixel within the partial image partition frame of each color separation.
(4)請求項(1)または(2)に記載の方法において
、各部分画像区画枠ごとに、統計量におけるp−タイル
比に基づいて基準レベルを決定する画像輪郭データ作成
方法。
(4) An image contour data creation method according to claim (1) or (2), in which the reference level is determined for each partial image partition frame based on the p-tile ratio in the statistics.
JP8792988A 1988-04-08 1988-04-08 Image contour data creation method Expired - Fee Related JPH0642068B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP8792988A JPH0642068B2 (en) 1988-04-08 1988-04-08 Image contour data creation method
DE68918886T DE68918886T2 (en) 1988-04-08 1989-04-07 Process for obtaining the outline of an object in an image.
EP89106143A EP0336430B1 (en) 1988-04-08 1989-04-07 Method of extracting contour of subject image from original
US07/335,866 US5091967A (en) 1988-04-08 1989-04-10 Method of extracting contour of a subject image from an original

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8792988A JPH0642068B2 (en) 1988-04-08 1988-04-08 Image contour data creation method

Publications (2)

Publication Number Publication Date
JPH01259363A true JPH01259363A (en) 1989-10-17
JPH0642068B2 JPH0642068B2 (en) 1994-06-01

Family

ID=13928606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8792988A Expired - Fee Related JPH0642068B2 (en) 1988-04-08 1988-04-08 Image contour data creation method

Country Status (1)

Country Link
JP (1) JPH0642068B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02105152A (en) * 1988-10-14 1990-04-17 Dainippon Printing Co Ltd Cut mask formation system
JPH03231247A (en) * 1990-02-06 1991-10-15 Dainippon Screen Mfg Co Ltd Method for producing image contour data
JPH05101182A (en) * 1991-04-15 1993-04-23 Mitani Shoji Kk Automatic illustration generating method and device used for the same
JP2003156427A (en) * 2001-11-21 2003-05-30 Mauntekku:Kk Method and device for analyzing particle shape

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02105152A (en) * 1988-10-14 1990-04-17 Dainippon Printing Co Ltd Cut mask formation system
JPH03231247A (en) * 1990-02-06 1991-10-15 Dainippon Screen Mfg Co Ltd Method for producing image contour data
JPH05101182A (en) * 1991-04-15 1993-04-23 Mitani Shoji Kk Automatic illustration generating method and device used for the same
JP2003156427A (en) * 2001-11-21 2003-05-30 Mauntekku:Kk Method and device for analyzing particle shape

Also Published As

Publication number Publication date
JPH0642068B2 (en) 1994-06-01

Similar Documents

Publication Publication Date Title
US4868884A (en) Image extraction mask
US6778186B2 (en) Method of and apparatus for carrying out gray conversion on color image
EP0484890B1 (en) Method of and apparatus for producing overlapping image area
US6226010B1 (en) Color selection tool
KR20000068697A (en) Image data processing device and method, and transmission medium
JPH05250462A (en) Image processing method
US4956704A (en) Image processing apparatus and methods for making a creative image from an original image
KR20060048146A (en) Segmentation technique of a color image according to colors
JPS60198688A (en) Page makeup apparatus
EP0503606B1 (en) Method of and apparatus for coloring an image area
JPH10210306A (en) Image processing method and image processor
JPH01259363A (en) Image contour data generating method
JP2000246862A (en) Image inspecting apparatus and sheet for result of inspection
JP2000030039A (en) Picture processor and picture processing method
JPH0514750A (en) Picture color separation device
US5559903A (en) Method for generating geometric masks with a digital color computer
US5502642A (en) HSL neighborhoods in CMY color space
US6809742B1 (en) Image editing device permitting user to register desired patterns
JPH03121571A (en) Color picture processor
KR100545116B1 (en) Color Correction Device and Color Correction Method, Image Processing Device and Image Processing Method
JP2000255019A (en) Apparatus for detecting superimposed position and instructional direction
JP2987169B2 (en) How to make a cutout mask
JPH06162180A (en) Area extraction system
JPH05128224A (en) Color extracting device for color picture and method therefor
JPH05290133A (en) Color image processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees