JPS60193077A - Sorting-out system of color graph - Google Patents

Sorting-out system of color graph

Info

Publication number
JPS60193077A
JPS60193077A JP59049923A JP4992384A JPS60193077A JP S60193077 A JPS60193077 A JP S60193077A JP 59049923 A JP59049923 A JP 59049923A JP 4992384 A JP4992384 A JP 4992384A JP S60193077 A JPS60193077 A JP S60193077A
Authority
JP
Japan
Prior art keywords
color
graph
black
colors
white
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
JP59049923A
Other languages
Japanese (ja)
Other versions
JPH055141B2 (en
Inventor
Toshiyuki Sakai
坂井 利之
Yoshihiro Okada
至弘 岡田
Kenichi Arakawa
賢一 荒川
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP59049923A priority Critical patent/JPS60193077A/en
Publication of JPS60193077A publication Critical patent/JPS60193077A/en
Publication of JPH055141B2 publication Critical patent/JPH055141B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Character Discrimination (AREA)

Abstract

PURPOSE:To lighten the burden imposed on hardware by inputting a color graph as black and white various density data to a computer and by extracting the specific color area only by utilizing the black and white various density data. CONSTITUTION:A color graph is drawn with selected colors on a color document 10, which is inputted to a picture input device 11 and read out as black and white various density data. A processor 13 uses a RAM15 as a buffer of the black/white various density data or a register of an intermediate result, etc., with respect to the black and white various density data read out by the picture input device 11 and extracts a color graph corresponding to the specific color. The graph with the specific color extracted by the processor 13 is displayed in the black-and -white or a pseudo color by a picture output device 16.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、複数の色を用いて系統図、路線図、配線図な
どが描かれている所謂カラーグラフから一つあるいは数
種の任意の色に対応するグラフを選別する方式に関する
[Detailed Description of the Invention] [Technical Field] The present invention corresponds to one or several arbitrary colors from so-called color graphs in which system diagrams, route diagrams, wiring diagrams, etc. are drawn using a plurality of colors. This paper relates to a method for selecting graphs to be used.

〔従来技術〕[Prior art]

カラー文書画像のうち、カラー写真や文字の部分を除い
たものをカラーグラフと呼んでいる。カラーグラフはカ
ラー写真やカラースライドなどを対象とする複雑なアル
ゴリズムを用いなくても処理は可能である。即ち、色彩
学的な立場では、すべての色のカテゴリ分類をおこなう
のには(R・G−B)、(X−Y、−Z)(7)ような
3つの組の↑、〒徴が必要である。ここで、lくは赤、
Gは緑、Bは青であり、Xは明度、Yは彩度、Zは色相
を意味する。しかし、カラー文書画像を対象とする場合
は処理を簡単にするため、特徴量として知覚的な要素の
強いマンセルの色相のみを選択し、色相環に近い分布を
するx−y分布の利用により、知覚色に適合し、しかも
−次元の特徴量についての力テゴリ分類による効率のよ
い領域分割処理を実現できる。
A color document image excluding color photographs and text is called a color graph. Color graphs can be processed without using complex algorithms for color photographs, color slides, etc. In other words, from a coloristic standpoint, to classify all colors into categories, three sets of ↑ and 〒 signs such as (R・G−B), (X−Y, −Z) (7) is necessary. Here, l is red,
G means green, B means blue, X means brightness, Y means saturation, and Z means hue. However, when targeting color document images, in order to simplify processing, only Munsell's hue, which has a strong perceptual element, is selected as a feature quantity, and by using the x-y distribution, which has a distribution close to the color wheel, It is possible to realize efficient region segmentation processing based on power category classification for -dimensional feature quantities that is compatible with perceived colors.

しかしながら、マンセルの色相のみを用いる方法は、知
覚的に色相に準じて重要である明度、彩度の概念が欠落
しているため、例えば明度のみ異なる桃色と赤の2色の
領域の分割抽出は不可能である。また、x−y分布をめ
るには、画像入力装置の段階でR−G−Bデータに分け
られた大量の画像データの処理を必要とするので、ハー
ドウェアに対する負担が非常に大きい。
However, the method using only Munsell's hue lacks the concept of brightness and saturation, which are perceptually important just like hue. It's impossible. Furthermore, in order to determine the x-y distribution, it is necessary to process a large amount of image data divided into R-G-B data at the image input device stage, which places a very heavy burden on the hardware.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、ハードウェアに対する負担をあまりか
けずに、しかもカラーグラフ上の任意の色に対応するグ
ラフを容易に抽出することを可能とするカラーグラフ選
別方式を提供することにある。
An object of the present invention is to provide a color graph sorting method that makes it possible to easily extract graphs corresponding to arbitrary colors on a color graph without placing too much burden on hardware.

〔発明の概要〕[Summary of the invention]

R−G−Bデータよりも容易に得ることのできる白黒濃
淡データと色情報との関係を調べると、該データの濃淡
値とマンセルの明度との間に強い相関のあることが分か
る。そこで1本発明では、明度の異なる色をあらかじめ
指定し、その色を用いてカラーグラフを描き、該色の指
定されたカラーグラフを白黒の濃淡データとしてコンピ
ュータに入力し、この白黒の濃淡データのみを使って特
定の色領域の抽出処理を行う。
When examining the relationship between black and white gradation data, which can be obtained more easily than RGB data, and color information, it is found that there is a strong correlation between the gradation values of the data and Munsell lightness. Therefore, in the present invention, colors with different lightness are specified in advance, a color graph is drawn using the colors, and the color graph with the specified color is input into a computer as black and white shading data, and only this black and white shading data is used. Extract a specific color area using .

処理アルゴリスムは、白黒濃淡画像の各ブロック(各走
査線)での色変化点の特徴を示すスロープポイント間の
ランについて、ランの平均濃淡値を用い、該ランが特定
の色の領域の一部であるかどうか判断していく。この処
理は白黒濃淡データ用として数ブロック分のバッファを
持つだけでよいので、ハードウェア化も容易であり、実
時間処理の実現の可能性も多い。また、マンセルの明度
を基準とした色の選択により、実際に士数色の領域の分
割抽出が可能であるので、カラーグラフに対する処理と
しては十分な能力をもってしλる。
The processing algorithm uses the average gray value of the run for runs between slope points that represent the characteristics of color change points in each block (each scan line) of a black and white gray image, and calculates whether the run is part of a specific color area. We will decide whether it is. Since this process only requires a buffer for several blocks for black-and-white grayscale data, it is easy to implement it in hardware, and there are many possibilities for realizing real-time processing. In addition, by selecting colors based on Munsell's lightness, it is actually possible to divide and extract a number of color regions, so this method has sufficient capability for processing color graphs.

〔発明の実施例〕[Embodiments of the invention]

以下1本発明の一実施例について図面により詳細に説明
する。
EMBODIMENT OF THE INVENTION Below, one embodiment of the present invention will be described in detail with reference to the drawings.

はじめ、カラーグラフの色の指定について説明する。マ
ンセルの色表示の3属性のうち、明度は視感覚での光の
相対反射率と深い相関がある。従って、カラー画像入力
装置を特定すれば、濃淡値と明度は適当な相関をもつと
考えてよい。第1図は、Jacol 220(マンセル
表記を付した色票集)より明度が1.0〜9.5の間で
0.5ずつ毎に1色ずつ選び、合計18色についてそれ
ぞれ濃淡値を測り、その平均濃淡値、標準偏差をまとめ
たものである。また、第2図は第1図の18色について
明度と濃淡値の関係をグラフにしたものである。
First, we will explain how to specify colors in a color graph. Among the three attributes of Munsell's color display, brightness has a deep correlation with the relative reflectance of light in the visual sense. Therefore, if a color image input device is specified, it can be considered that the gradation value and brightness have an appropriate correlation. Figure 1 shows the shading values of a total of 18 colors selected from Jacol 220 (a collection of color charts with Munsell notation) from 1.0 to 9.5 in brightness increments of 0.5. , its average gradation value, and standard deviation are summarized. Further, FIG. 2 is a graph showing the relationship between brightness and shading values for the 18 colors shown in FIG. 1.

明度と濃淡値は完全に比例するわけではないが。However, brightness and shading values are not completely proportional.

おうよそ明度が大きい色はど平均濃淡値も大きいという
ことが言える。第3図は、同じく第1図の18色につい
て平均濃度値の平方根をとった値と明度の関係を示した
ものであるが、はぼ比例関係となっている。
It can be said that the color with a larger lightness has a larger average gradation value. FIG. 3 similarly shows the relationship between the square root of the average density value and the brightness for the 18 colors shown in FIG. 1, and the relationship is approximately proportional.

次に、マンセルの3属性のうち、彩度および色相と濃淡
値の関係を知るため、明度が9.0,7゜5.4.0の
色をそれぞれ数色ずつ選び、その濃淡値を調べてみた。
Next, in order to know the relationship between saturation, hue, and shading value among Munsell's three attributes, we selected several colors with lightness of 9.0 and 7° 5.4.0, and examined their shading values. I tried it.

第4図は、選んだ色と平均濃淡値、標準偏差をまとめた
ものである。これより、同一の明度であれば、色相、彩
度の違いによる平均濃淡値の極端な変化はないことが分
かる。しかし、以下の2つの傾向がある。
Figure 4 summarizes the selected colors, average shading values, and standard deviations. From this, it can be seen that if the brightness is the same, there is no extreme change in the average gradation value due to differences in hue and saturation. However, there are the following two trends.

■、青に近い(波長の短い)色の濃淡値の方が、黄に近
い(波長が長い)色のそれより小さい値をとる。これは
画像入力装置に用いられるドラムスキャナ等の光学系の
分光特性が強く影響しているためと思われる。
■The shading value of a color close to blue (with a short wavelength) is smaller than that of a color close to yellow (with a long wavelength). This seems to be due to the strong influence of the spectral characteristics of the optical system such as a drum scanner used in the image input device.

2、同一の色相および明度をもつ色では、彩度の値が大
きいほど濃淡値も大きくなる。
2. For colors with the same hue and brightness, the greater the saturation value, the greater the shade value.

以上、マンセル色表示の3屈性と濃淡値の関係について
述べたが、これらのことよりカラーグラフを構成する色
の指定については1次の順序で行えはよいことがわかる
The relationship between tritropism and gradation values in the Munsell color display has been described above, and it can be seen from these facts that the colors constituting the color graph can be specified in a linear order.

(1)明度がすべて異なり、しかも他の属性についても
偏らないように色を選ぶ。
(1) Select colors so that they all have different lightness and are not biased in terms of other attributes.

(11)選ばれた色で濃淡値を測り、平均濃淡値から標
準偏差分をそれぞれ考えて、相互に重ならないような色
のみ残す。
(11) Measure the shading value of the selected color, consider the standard deviation from the average shading value, and leave only colors that do not overlap each other.

すなわち、(1)の段階で大まかに選んでおき、(11
)では濃淡値のばらつきを考えて、さらに厳密に色を選
ぶようにする。例えば第1図に選んだ18色は、明度が
すべて異っている。そこで、第2図のグラフで、各色に
対し平均濃淡値、中心に標Qli偏差分の幅をとった線
分がそれぞれ重ならないように色を選ぶと、第1図の「
*」印の12色のようになる。なお、第1図の■で示す
組は、実際の処理で分割不可能であった色の組を示す。
In other words, after making a rough selection in step (1),
), the colors should be selected more precisely, taking into account the variation in the gradation values. For example, the 18 colors selected in Figure 1 all have different lightness. Therefore, in the graph of Figure 2, if you select colors so that the average gray value for each color and the line segment with the width of the standard Qli deviation in the center do not overlap, then the graph in Figure 1
It will look like the 12 colors marked with *. It should be noted that the groups indicated by ■ in FIG. 1 are color groups that could not be divided in actual processing.

次に1本発明の中心をなすカラーグラフ中からの特定色
領域の抽出処理について説明する。
Next, a process for extracting a specific color area from a color graph, which is the central feature of the present invention, will be explained.

第5図は全体のハードウェア溝成図を示す。同図におい
て、カラー文書10上には、上述の方法で選んだ色によ
りカラーグラフが描かれている。
FIG. 5 shows the overall hardware configuration. In the figure, a color graph is drawn on a color document 10 using the colors selected by the method described above.

このカラーグラフの描かれた文書10を画像入力装置1
1に入力し、白黒の濃淡データとして読み取る。画像入
力袋allとしては、例えば固体撮像素子を用いたドラ
ムスキャナ、ブックスキャナ等を使用する。処理装置1
3では、画像入力装置11で読み取った白黒の濃淡デー
タに対し、RAM 15を該濃淡データのバッファある
いは中間結果のレジスタ等に用いて、特定色に対応する
カラーグラフの抽出処理を行う。この処理装置13での
抽出処理に必要とするパラメータはキーボード12によ
り入力する。また、必要なプログラムはROM l /
lに用意されている。処理装[13で抽出された特定色
のグラフは、画像出力装置16によって白黒または擬似
カラーとして表示される。
The document 10 on which this color graph is drawn is transferred to the image input device 1
1 and read it as black and white grayscale data. As the image input bag all, for example, a drum scanner, a book scanner, etc. using a solid-state image sensor is used. Processing device 1
3, the RAM 15 is used as a buffer for the black and white gray data read by the image input device 11 or as a register for intermediate results to extract a color graph corresponding to a specific color. Parameters required for the extraction process in the processing device 13 are input using the keyboard 12. In addition, the necessary programs are in ROM l/
It is provided in l. The graph of the specific color extracted by the processing device [13] is displayed as black and white or pseudo color by the image output device 16.

画像出力装置16はプリンタあるいはディスプレイであ
る。なお、抽出された該当グラフ・データは、通信回線
を通し遠隔の類似装置に伝送するようにしてもよい。
Image output device 16 is a printer or a display. Note that the extracted graph data may be transmitted to a remote similar device through a communication line.

第6図にカラーグラフの特定色領域抽出アルゴリズムの
フローチャートを示す。このアルゴリズムは、lブロッ
ク(l走査線゛)中で色変化点の特徴を示すスロープポ
イント間は一定の色のラン(以下、単に色ランと云う)
であるという考えに立って、常に上下のブロックの色ラ
ンとの位置関係を参照しながら処理を進めていくもので
ある。
FIG. 6 shows a flowchart of the algorithm for extracting a specific color area from a color graph. This algorithm uses a constant color run (hereinafter simply referred to as color run) between slope points that indicate the characteristics of color change points in l blocks (l scan lines).
Based on this idea, processing proceeds while always referring to the positional relationship of the upper and lower blocks with the color run.

また、次のような特徴も有している。It also has the following features:

10文書(テクスチャ)部分のマスキング2、位置的な
ずれを利用した雑音除去及び補正以下、第6図のフロー
チャートの各ステップの処理を説明する。
10 Masking of Document (Texture) Part 2, Noise Removal and Correction Using Positional Shift The processing of each step in the flowchart of FIG. 6 will be described below.

ステップ1 ステップlで入力するパラメータは次の5つである。Step 1 The following five parameters are input in step l.

LAP:ランの平均ラプラシアンオペレータ値のしきい
値(文字部分のマスキング用)DIST:ランの位置的
ずれのしきい値(雑音除去及び補正用) MAXGL、MINGL:ランの平均濃淡値の上限、下
限(特定色の指定用) S P T L−1ニスロープポインI〜検出のための
しきい値 ここで文字部分のマスキングについて説明すると、文字
部分は細かく濃淡値が変化するため、受光管のレスポン
ス特性の影響で本来の色の濃淡値とはならない。一方、
文字部分にラプラシアンオペレータを試みると、文字部
分以外の部分に比べてその値は高い。そこで、文字部分
中のランでのラプラシアンオペレータの値を平均し、適
当なしきい値(LAP)を設定することにより、文字部
分のマスキングが可能となる。
LAP: Threshold value of the average Laplacian operator value of the run (for masking text parts) DIST: Threshold value of the positional deviation of the run (for noise removal and correction) MAXGL, MINGL: Upper and lower limits of the average gray value of the run (For specifying a specific color) S P T L-1 Nithrop point I ~ Threshold value for detection To explain the masking of the text part here, the text part changes finely in gradation value, so the response of the light receiving tube is Due to the influence of the characteristics, the original color shading value will not be achieved. on the other hand,
When we try the Laplacian operator on text parts, the value is higher than on non-text parts. Therefore, by averaging the values of the Laplacian operator in runs in the character part and setting an appropriate threshold value (LAP), masking of the character part becomes possible.

ステップ2 ステップ2では、白黒濃淡データのブロック(走査線)
を次々に入力して、3×3メツシユでのスムージングを
施したあと、色変化点の特徴を示すスロープポイントを
検出する。原画像データ(白黒?r!、淡デー少データ
ムージング済データ、スロープポイント判定ベクトルの
関係を第7図に示す。第7図(a)は5ブロツク(5走
査線)分の原画像データであり、このうちの4ブロツク
を、ラプラシアンオペレータの計算のため、逐次メモリ
(RAM15)上に確保しておく。lブロックの原画像
データが入力される毎に、3×3メツシユでの濃淡値の
平均をとるスムージングを施こす。
Step 2 In Step 2, blocks of black and white gray data (scanning lines)
are input one after another and smoothed with a 3x3 mesh, and then a slope point indicating the characteristics of the color change point is detected. Figure 7 shows the relationship between the original image data (black and white? r!, light color data, smoothed data, and slope point determination vector. Figure 7 (a) shows the original image data for 5 blocks (5 scanning lines). Of these, 4 blocks are reserved in the memory (RAM 15) sequentially for calculation of the Laplacian operator.Every time one block of original image data is input, the grayscale values of the 3x3 mesh are Apply smoothing to take the average of.

第7図(b)はスムージング済データである。このスム
ージング済データをしきい値5PTHと比較してスロー
プポイントを検出する。第7図(c)はスロープポイン
ト判定ベクトルで、対応する画素がスロープポイントな
らrt 111.その他ならII OIIの値をとる。
FIG. 7(b) shows smoothed data. This smoothed data is compared with a threshold value 5PTH to detect a slope point. FIG. 7(c) is a slope point determination vector, and if the corresponding pixel is a slope point, rt 111. Otherwise, take the value II OII.

この1107+のランが色ランの候補となる。This 1107+ run becomes a color run candidate.

なお、スロープポイン1−は次のように定義する。Note that slope point 1- is defined as follows.

対象とするカラー文占画像中には全く同じ平均濃淡値を
もつ2つの色が存在しないと仮定すると、各色領域の境
界イ」近には、濃淡値の特徴的な変化が存在する。この
ため、3X3メツシユでのスムージングを施したあと、
あるlブロック(l走査線)の画素の濃淡値の変化を調
べると、領域境界の色の変化する部分で濃淡値が急激に
増加あるいは減少していることがわかる。そこで、適当
なしきい値(SPTH)を設定して濃淡値が急激に変化
する点を検出し、その画素を色変化点の特徴を示すスロ
ープポイントとするのである。
Assuming that there are no two colors with exactly the same average gradation value in the target color Bunshi image, there will be a characteristic change in gradation value near the boundary of each color area. For this reason, after smoothing with 3X3 mesh,
When examining changes in the grayscale values of pixels in a certain l block (l scanning line), it is found that the grayscale values rapidly increase or decrease at the area where the color changes at the boundary of the area. Therefore, an appropriate threshold value (SPTH) is set to detect a point where the gray value suddenly changes, and that pixel is defined as a slope point indicating the characteristic of the color change point.

ステップ3 ステップ3では、ステップ2で得たそれぞれの色ランの
候補について、平均濃淡値、平均ラプラシアンオペレー
タ値、始点、ラン長をめる。そして、その色ランの候補
中で平均ラプラシアンオペレータ値がLAPより小さく
、平均濃淡値がMAXGLとMINGLの間の値をもつ
ものだけについて、次のステップ4の処理を行う。
Step 3 In Step 3, for each color run candidate obtained in Step 2, the average gray value, average Laplacian operator value, starting point, and run length are calculated. Then, among the color run candidates, only those whose average Laplacian operator value is smaller than LAP and whose average gray value is between MAXGL and MINGL are subjected to the next step 4.

ステップ4 ステップ4では、連続した3ブロツク(3走査線)につ
いて、次に示す条件を一つでも満足すれば、指定した色
領域の一部である色ランとして出力する。ここで、連続
するブロックを上からa。
Step 4 In step 4, if at least one of the following conditions is satisfied for three consecutive blocks (three scanning lines), the color run is output as a part of the designated color area. Here, the consecutive blocks are a from the top.

b、cとする。Let them be b and c.

1、bに色ランがあり、aまたはCにその始点座標のず
れ及び終点座標のずれがそれぞれDISTより小さい色
ランがあるとき、bの色ランを出力する。
When there are color runs in 1 and b, and there is a color run in a or C whose start point coordinate shift and end point coordinate shift are each smaller than DIST, the color run of b is output.

2、aとCに始点座標のずれ及び終点座標のずれがそれ
ぞれDISTより小さい色ランがあり。
2. There are color runs in a and C in which the deviation of the starting point coordinates and the deviation of the ending point coordinates are each smaller than DIST.

bにはないとき、aのその色ランと同じものをbに作り
出力する。
If b does not have the same color run, create and output the same color run as a in b.

第8図は、この条件lおよび2の例を示したもので、(
a)と(b)図は条件1の例、(c)図は条件2の例で
ある。即ち、ステップ4では、3本のブロック中の色ラ
ンの関係を利用し、位置的に極端に離れたところにある
色ランは雑音として除去し、また、連続するブロックで
1ブロツクのみ色ランが途切れているとき補正する処理
が行われる。
FIG. 8 shows an example of conditions 1 and 2, and (
Figures a) and (b) are examples of condition 1, and figure (c) is an example of condition 2. That is, in step 4, the relationship between the color runs in the three blocks is used, color runs that are extremely far apart are removed as noise, and only one color run in consecutive blocks is removed. When there is a break, correction processing is performed.

ステップ5 ステップ5では、結局1MAXGLとMINGLの間の
濃淡値をもつ指定された色の領域のみ黒とし、それ以外
は白とした2値画像を出力する。
Step 5 In step 5, a binary image is output in which only the designated color area having a gray level value between 1MAXGL and MINGL is black, and the rest is white.

−ステップ6 ステップ6では、原画像データのすべてのブロックにつ
いて処理が終了したかどうか判定し、終了していなけ]
tばステップ2以降の処理を繰り返す。
-Step 6 In Step 6, it is determined whether processing has been completed for all blocks of the original image data, and it must be completed.]
If t, repeat the process from step 2 onwards.

カラーグラフの特定の構成色を上述の方法で選択する場
合、それぞれの色の濃淡値の範囲は(平均)±(標準偏
差)で考えている。濃淡値の分布が、各色について正規
分布と考えると、その範囲では各色の画素数のうち68
.3%を含んでいるだけであり、不安定な濃淡値をもつ
画素は含まれない。しかし、本発明による特定色領域の
抽出法がよい処理結果を示しているのは、以下の理由に
よる。
When selecting specific constituent colors of a color graph using the above-described method, the range of shading values of each color is considered as (average)±(standard deviation). If we assume that the distribution of grayscale values is a normal distribution for each color, then in that range, 68 out of the number of pixels of each color
.. 3%, and pixels with unstable gray values are not included. However, the reason why the specific color region extraction method according to the present invention shows good processing results is as follows.

1、色ランごとの平均濃淡値を用いて指定された色かど
うかを判定するので、異常な濃淡値をもつ画素の影響が
少ない。
1. Since it is determined whether the specified color is a specified color using the average gray value for each color run, the influence of pixels with abnormal gray values is small.

2.3木の連続するブロック(走査線)でランの位置関
係を調べて、途切九の補正や雑音の除去をおこなってい
る。
2.3 The positional relationship of runs is examined in consecutive blocks (scanning lines) of the tree, and breaks are corrected and noise is removed.

〔発明の効果〕〔Effect of the invention〕

本発明によれは、多数の色を用いて作成されたカラーグ
ラフから任意の色のグラフを抽出する処理が、計算機上
で白黒の濃淡データのみを扱うことで可能であるため、
大量のカラー画像データの処理を必要とせず、ハードウ
ェアに対する負担を軽減することができる。しかも、特
定色領域の抽出精度は高く、例えばカラーグラフの出力
装置としてカラーインクジェットプリンタを、画像入力
装置として固定撮像素子を用いてブックスキャナ等を使
ったシステムなどに利用すれば、その効果は極めて大き
い。即ち、このようなシステムでは、出力される画像が
再び色情報で持つことで知覚的に理解しやすくなるし、
計算機上では白黒濃淡データを扱うだけであるから処理
も容易である。従って、情報の圧縮、蓄積、伝送などの
応用の前処理を施すシステムとして極めて有効である。
According to the present invention, it is possible to extract a graph of any color from a color graph created using a large number of colors by handling only black and white shading data on a computer.
It is not necessary to process a large amount of color image data, and the burden on hardware can be reduced. Moreover, the extraction accuracy of specific color regions is high, and if used in a system that uses, for example, a color inkjet printer as a color graph output device, a fixed image sensor as an image input device, and a book scanner, etc., the effect will be extremely effective. big. In other words, in such a system, the output image has color information again, making it easier to understand perceptually.
Processing is easy on a computer because it only deals with black-and-white grayscale data. Therefore, it is extremely effective as a system for preprocessing applications such as information compression, storage, and transmission.

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

第1図は18色を選択して、その平均濃淡値、標準偏差
を示した図、第2図は第1図の18色について明度と濃
淡値の関係を示した図、第3図は第1図の18色につい
て明度と平均濃淡値の平方根との関係を示した図、第4
図は同じ明度をもつ色の濃淡値を示した図、第5図は本
発明方式を実現するハードウェア構成例の概略ブロック
図、第6図は本発明による特定色領域の抽出処理フロー
例を示す図、第7図は原画像データとスムージング済デ
ータ、スロープポイント判定ベクトルとの関係を示す図
、第8図は位置的ずれによる補正例を示す図である。 10・・・カラー文書、11・・・画像入力装置。 12・・・キーボード、13・・・処理装置、14・・
・ROM、 15・・・RAM、16・・・画像出力装
置。 オI図 1 (C) (0,1,0,0,0,1,−−9)(α) 工え太鮮劃目
Figure 1 shows the average shading value and standard deviation of 18 selected colors, Figure 2 shows the relationship between lightness and shading value for the 18 colors in Figure 1, and Figure 3 shows the relationship between lightness and shading value for the 18 colors in Figure 1. Figure 4 shows the relationship between brightness and the square root of the average gray value for the 18 colors in Figure 1.
The figure shows the shading values of colors with the same brightness, Figure 5 is a schematic block diagram of an example of a hardware configuration for realizing the method of the present invention, and Figure 6 shows an example of the process flow for extracting a specific color area according to the present invention. FIG. 7 is a diagram showing the relationship between original image data, smoothed data, and slope point determination vectors, and FIG. 8 is a diagram showing an example of correction due to positional deviation. 10... Color document, 11... Image input device. 12... Keyboard, 13... Processing device, 14...
- ROM, 15...RAM, 16...image output device. Figure 1 (C) (0,1,0,0,0,1,--9)(α)

Claims (2)

【特許請求の範囲】[Claims] (1)複数の色を用いて描かれたカラーグラフを白黒の
濃淡データとして読み取り、該白黒の濃淡データについ
て色変化点の特徴を示すスロープポイントを検出し、該
スロープポイント間のランの濃淡値により該当ランが特
定色領域であるかどうか判定し、前記カラーグラフ中の
任意の色に対応するグラフを抽出することを特徴とする
カラーグラフ選別方式。
(1) Read a color graph drawn using multiple colors as black-and-white grayscale data, detect slope points that indicate the characteristics of color change points in the black-and-white grayscale data, and detect the grayscale values of runs between the slope points. A color graph sorting method characterized by determining whether a corresponding run is a specific color area or not, and extracting a graph corresponding to an arbitrary color in the color graph.
(2)前記カラーグラフの作成は、その色として、白黒
濃淡値上での分布が、真黒から真白に至るレベル間に確
実に分離できるように、その対応するカラーの3属性(
明度、彩度、色相)上で定まる特定色の組をあらかじめ
指定して作成することを特徴とする特許請求の範囲第1
項記載のカラーグラフ選別方式。
(2) In creating the color graph, the three attributes of the corresponding color (
Claim 1, characterized in that a set of specific colors determined based on (brightness, saturation, hue) is specified in advance and created.
Color graph sorting method described in section.
JP59049923A 1984-03-15 1984-03-15 Sorting-out system of color graph Granted JPS60193077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59049923A JPS60193077A (en) 1984-03-15 1984-03-15 Sorting-out system of color graph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59049923A JPS60193077A (en) 1984-03-15 1984-03-15 Sorting-out system of color graph

Publications (2)

Publication Number Publication Date
JPS60193077A true JPS60193077A (en) 1985-10-01
JPH055141B2 JPH055141B2 (en) 1993-01-21

Family

ID=12844532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59049923A Granted JPS60193077A (en) 1984-03-15 1984-03-15 Sorting-out system of color graph

Country Status (1)

Country Link
JP (1) JPS60193077A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5739594A (en) * 1980-08-20 1982-03-04 Ricoh Co Ltd Coupling method for light source and optical fiber

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5739594A (en) * 1980-08-20 1982-03-04 Ricoh Co Ltd Coupling method for light source and optical fiber

Also Published As

Publication number Publication date
JPH055141B2 (en) 1993-01-21

Similar Documents

Publication Publication Date Title
US7747071B2 (en) Detecting and correcting peteye
US10373030B2 (en) Image processing apparatus that executes halftone process on target image data including edge pixel
JP2000148980A (en) Image processing method, image processor and recording medium
US8285036B2 (en) Image processing method, image processing apparatus, and computer-readable storage medium for computer program
US7133564B2 (en) Dynamic chain-based thresholding using global characteristics
US5930385A (en) Apparatus and method for image conversion
US20230316697A1 (en) Association method, association system, and non-transitory computer-readable storage medium
EP3096294B1 (en) Computer program, image processing apparatus, and method for improving quality of image data
US20110187721A1 (en) Line drawing processing apparatus, storage medium storing a computer-readable program, and line drawing processing method
JP2019046225A (en) Recognition device, recognition program, and recognition method
JP4217969B2 (en) Image processing apparatus and program
JP2003087562A (en) Image processor and image processing method
JPS60193077A (en) Sorting-out system of color graph
JP4259310B2 (en) Image processing apparatus and program
JPS62204379A (en) Picture processor
JP4998496B2 (en) Image processing apparatus, information processing apparatus, and image reading apparatus
JPH0856287A (en) Image discrimination device
JP2004320447A (en) Image processing apparatus, image processing method, and program for execution by computer
JP2000261677A (en) Processing unit
JP4228905B2 (en) Image processing apparatus and program
JP2013202927A (en) Image forming method and image forming apparatus
JPH06350861A (en) Method and device for discriminating automatically picture classification and method and device for determining threshold for discrimination
JP4193687B2 (en) Image processing apparatus and program
JP2001053977A (en) Color picture contour line extracting device
JP4311183B2 (en) Image processing apparatus and program