JPH0723210A - Color picture processor - Google Patents

Color picture processor

Info

Publication number
JPH0723210A
JPH0723210A JP5151982A JP15198293A JPH0723210A JP H0723210 A JPH0723210 A JP H0723210A JP 5151982 A JP5151982 A JP 5151982A JP 15198293 A JP15198293 A JP 15198293A JP H0723210 A JPH0723210 A JP H0723210A
Authority
JP
Japan
Prior art keywords
color
fluorescent
image processing
signals
pixel
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
JP5151982A
Other languages
Japanese (ja)
Other versions
JP3344771B2 (en
Inventor
Toshio Shirasawa
寿夫 白沢
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP15198293A priority Critical patent/JP3344771B2/en
Publication of JPH0723210A publication Critical patent/JPH0723210A/en
Application granted granted Critical
Publication of JP3344771B2 publication Critical patent/JP3344771B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To attain marker edit in a full color picture by extracting a marker color from the full color picture with high accuracy. CONSTITUTION:A fluorescent color identification section 3 discriminates a fluorescent color based on an RGB signal from a picture input section 1. Whether or not the fluorescent color is identified by comparing the input value of R, G with a predetermined threshold level because the reflectance of R or G takes a very high value in comparison with that of a white level. A picture processing section 5 executes the edit processing such as trimming or movement of an area surrounded by the fluorescent color or conversion of a predetermined area only into other color.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル複写機やカ
ラースキャナなどにおいて、画像中からマーカペンなど
で指定した領域を判定し、判定した領域のみに所定の画
像処理を施すようにした画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for a digital copying machine, a color scanner or the like, which determines an area designated by a marker pen or the like in an image and applies predetermined image processing only to the determined area. Regarding

【0002】[0002]

【従来の技術】近年、ディジタル複写機においては、マ
ーカ編集という方式が採り入られている。これは、編集
を行う際に、座標点をデジタイザ上で指定する代わり
に、原稿上で特定のペン(これをマーカペンという)を
用いて領域を囲み、その囲まれた領域を検出して、トリ
ミング、マスキング、カラー加工などの処理を施す方式
である。このようなマーカペンによる編集方式は、デジ
タイザ方式に比べて操作が簡単で、かつデジタイザとい
う特別の装置も不要になるという特徴がある。
2. Description of the Related Art In recent years, a method called marker editing has been adopted in digital copying machines. When editing, instead of designating coordinate points on the digitizer, a specific pen (this is called a marker pen) is used to enclose the area on the document, and the enclosed area is detected and trimmed. This is a method of performing processing such as masking and color processing. The editing method using such a marker pen is characterized in that it is easier to operate than the digitizer method and does not require a special device called a digitizer.

【0003】マーカ編集を行う従来の技術としては、例
えば、原稿をカラー画像として読み取り、カラー画像デ
ータを基に、白/無彩色/有彩色を判定し、有彩色をマ
ーカ信号とみなして処理する方式(特開平2−2493
54号公報を参照)、原稿を濃淡画像として読み取り、
濃淡画像データを異なる2つの閾値で2値化してマーカ
線の始点、終点を検出する方式(特開平3−35369
号公報を参照)などがある。
As a conventional technique for performing marker editing, for example, a document is read as a color image, white / achromatic color / chromatic color is determined based on color image data, and the chromatic color is regarded as a marker signal for processing. Method (JP-A-2-2493
54), read the original as a grayscale image,
A method of detecting the start point and the end point of a marker line by binarizing grayscale image data with two different thresholds (Japanese Patent Laid-Open No. 3-35369).
(See the official gazette).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
マーカ編集では有彩色や中間調をマーカとして判別して
いるため、対象画像が白黒濃淡画像や2値画像に限定さ
れ、またその機能も白黒画像の色加工処理に限定する必
要があり、フルカラー画像に適用した場合には誤動作す
る可能性があった。
However, in the conventional marker editing, since the chromatic color and the halftone are discriminated as the markers, the target image is limited to the black and white gray image and the binary image, and the function thereof is the black and white image. However, when applied to a full-color image, there is a possibility of malfunction.

【0005】これを図8のカラー画像を例にして説明す
ると、図8は絵柄と黒文字および表からなるカラー原稿
を示す。表の罫線は赤色で印刷されていて、表の中には
黒文字が書かれているものとする。いま、この原稿のタ
イトル部分の黒文字を色付けするために、ユーザが赤の
マーカペンでタイトルを囲み、色加工処理を施す場合に
ついて考える。
This will be described with reference to the color image of FIG. 8 as an example. FIG. 8 shows a color original consisting of a picture, black characters and a table. The ruled lines of the table are printed in red, and black characters are written in the table. Now, let us consider a case where the user encloses the title with a red marker pen and performs color processing in order to color the black characters in the title portion of the document.

【0006】このような例に対して、従来の方式によっ
て赤をマーカ色として判定すると、表の罫線をもマーカ
として判定してしまうので、色加工を施す必要のない表
中の黒文字が色付けされるという問題が生じる。同様
に、赤色の枠を含んでいるような絵柄の場合についても
色加工される可能性がある。
In contrast to such an example, if red is determined as the marker color by the conventional method, the ruled lines of the table are also determined as the markers, so that black characters in the table that do not require color processing are colored. Problem arises. Similarly, there is a possibility that color processing will be performed even in the case of a picture including a red frame.

【0007】さらに、図8の例では、マーカ色として赤
色を用いた場合について説明したが、従来の方式のよう
に有彩色や中間調をすべてマーカ色とみなす場合には、
非マーカ部分がマーカとして誤判定される可能性がより
一層増大する。このようなことから、従来のマーカ編集
機能をカラー複写機に適用することは極めて困難であ
り、ほとんどの画像編集はデジタイザ方式で行われてい
る。
Further, in the example of FIG. 8, the case where red is used as the marker color has been described, but when all chromatic colors and halftones are regarded as marker colors as in the conventional method,
The possibility that the non-marker portion is erroneously determined as a marker is further increased. For this reason, it is extremely difficult to apply the conventional marker editing function to the color copying machine, and most image editing is performed by the digitizer method.

【0008】本発明の目的は、フルカラー画像からマー
カ色を高精度に抽出し、フルカラー画像においてマーカ
編集を可能とした画像処理装置を提供することにある。
An object of the present invention is to provide an image processing apparatus capable of highly accurately extracting a marker color from a full color image and editing the marker in the full color image.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、カラー原稿を読み取り、
複数色の色信号を入力する画像入力手段を備えたカラー
画像処理装置において、該入力色信号または該色信号を
色変換した他の色信号から螢光色を判定する手段と、該
判定結果に応じて螢光色で指定された領域に対して画像
の編集を施す手段とを備えたことを特徴としている。
In order to achieve the above object, according to the invention of claim 1, a color original is read,
In a color image processing apparatus having image input means for inputting color signals of a plurality of colors, a means for determining a fluorescent color from the input color signal or another color signal obtained by color-converting the color signal, and the determination result It is characterized in that it is provided with means for editing an image in an area designated by a fluorescent color accordingly.

【0010】請求項2記載の発明では、前記判定手段
は、画素毎に、前記色信号の内の1以上の色信号が所定
の閾値以上であるとき、螢光色と判定することを特徴と
している。
According to a second aspect of the present invention, the determining means determines, for each pixel, a fluorescent color when one or more of the color signals of the color signals is equal to or more than a predetermined threshold value. There is.

【0011】請求項3記載の発明では、前記判定手段
は、画素毎に、前記色信号の内の1以上の色信号が第1
の閾値以上であり、かつ前記色信号の内の他の色信号が
第2の閾値以下(ただし、第1の閾値>第2の閾値)で
あるとき螢光色と判定することを特徴としている。
According to a third aspect of the present invention, the determination means determines that, for each pixel, one or more color signals of the color signals are first.
Is more than or equal to the threshold value and the other color signal among the color signals is less than or equal to the second threshold value (where the first threshold value> the second threshold value), the color is determined to be a fluorescent color. .

【0012】請求項4記載の発明では、前記判定手段
は、原稿の下地濃度を検出し、注目画素の色信号の内の
1以上の色信号が下地の色信号よりも高いとき螢光色と
判定することを特徴としている。
According to a fourth aspect of the present invention, the determination means detects the background density of the document, and when one or more of the color signals of the pixel of interest is higher than the background color signal, it is determined as a fluorescent color. It is characterized by making a judgment.

【0013】請求項5記載の発明では、前記判定手段
は、原稿の下地濃度を検出し、注目画素の色信号の内の
1以上の色信号が下地の色信号よりも高く、かつ色成分
間の値の差が大きいとき、螢光色と判定することを特徴
としている。
According to a fifth aspect of the present invention, the determining means detects the background density of the original document, and at least one of the color signals of the pixel of interest is higher than the background color signal, and between the color components. When the difference between the values of is large, it is characterized that it is determined to be a fluorescent color.

【0014】請求項6記載の発明では、前記下地濃度の
検出は、下地濃度の各色成分値を記憶する手段を備え、
入力画素が無彩色であるとともに、各色成分値が該記憶
されている値を超えるとき該記憶手段の内容を更新し、
更新による変更幅が小さく、かつ更新頻度が少ないとき
に下地濃度と判定することを特徴としている。
According to a sixth aspect of the present invention, the background density is detected by a means for storing each color component value of the background density.
When the input pixel is an achromatic color and the value of each color component exceeds the stored value, the contents of the storage means are updated,
The feature is that the background density is determined when the change width due to the update is small and the update frequency is low.

【0015】[0015]

【作用】螢光色を用いてマーカ編集を行うことによっ
て、白黒画像のみならずフルカラー画像に対してもトリ
ミング、マスキング、色変換、合成などのマーカ編集を
高精度に行うことができる。これにより、画像編集にお
ける操作が極めて簡単になり編集作業がより向上する。
By performing marker editing using fluorescent colors, marker editing such as trimming, masking, color conversion, and composition can be performed with high accuracy not only for black and white images but also for full-color images. As a result, the image editing operation becomes extremely simple and the editing work is further improved.

【0016】[0016]

【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。図1は、本発明のカラー画像処理装置の
ブロック構成図である。図において、1は、カラー原稿
からR,G,B(赤、緑、青)の色信号をそれぞれ多値
(例えば、0〜255)で読み取る画像入力部である。
2は、R,G,Bに対応する入力CCDセンサの感度の
違いなどを補正するための階調変換部(ガンマ変換とも
いう)である。3は、画像入力部からのRGB信号を基
に螢光色を判定するための螢光色識別部、4は、ガンマ
変換後のR,G,B値をY,M,C,K(イエロー、マ
ゼンタ、シアン、ブラック)値に変換する色変換部、5
は、画像に対し濃度調整、コントラスト変換、パステル
化、ポスタライゼーション等の加工処理や、トリミン
グ、マスキング等の編集処理などを行う画像処理部、6
は、レーザプリンタなどの画像出力部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram of a color image processing apparatus of the present invention. In the figure, reference numeral 1 is an image input unit for reading R, G, B (red, green, blue) color signals from a color original in multi-values (for example, 0 to 255).
Reference numeral 2 denotes a gradation conversion unit (also referred to as gamma conversion) for correcting a difference in sensitivity of input CCD sensors corresponding to R, G, and B. Reference numeral 3 denotes a fluorescent color identification unit for determining a fluorescent color based on the RGB signal from the image input unit, and 4 denotes Y, M, C, K (yellow) R, G, B values after gamma conversion. , Magenta, cyan, black) color conversion unit for converting 5 values
Is an image processing unit that performs processing such as density adjustment, contrast conversion, pastelization, and posterization on an image, and editing processing such as trimming and masking.
Is an image output unit such as a laser printer.

【0017】動作は以下のようになる。まず、カラー原
稿が画像入力部1で読み取られる。画像入力部1では
R,G,Bの3つの色成分をそれぞれに対応するCCD
で読み取り、各CCDからの電気信号をA/D変換によ
りn値データに変換し、RGB信号を出力する。本実施
例ではn=256として説明するが、n=128,51
2などでもよい。
The operation is as follows. First, a color original is read by the image input unit 1. In the image input section 1, CCDs corresponding to three color components of R, G and B respectively
Read, the electric signals from each CCD are converted into n-value data by A / D conversion, and RGB signals are output. In this embodiment, n = 256 will be described, but n = 128,51
2 or the like may be used.

【0018】また、画像入力部1が出力するR,G,B
の値は、反射率リニアになっている場合が多く、255
が最も明るい色、0が最も暗い色になる(これに対し、
濃度リニアでは255が最も暗い色、0が最も明るい色
となる)。反射率とは、原稿を照射する光と原稿からの
反射光の強度の比(=Ir/Io)であり、反射率の常
用対数をとったものを濃度(=log(Ir/Io))
という。
Further, R, G, B output from the image input unit 1
In many cases, the value of
Is the brightest color, and 0 is the darkest color (in contrast,
In the density linear, 255 is the darkest color and 0 is the brightest color). The reflectance is the ratio (= Ir / Io) of the intensity of the light illuminating the original and the intensity of the light reflected from the original, and the common logarithm of the reflectance is the density (= log (Ir / Io)).
Say.

【0019】この反射率に対しリニアな特性を持った色
信号を反射率リニアといい、通常は紙白よりも白い基準
白色を設けて、この基準白色の成分値がr=g=b=2
55となるように正規化されている。
A color signal having a linear characteristic with respect to this reflectance is called reflectance linear. Normally, a reference white color that is whiter than paper white is provided, and the component value of this reference white is r = g = b = 2.
It is normalized to be 55.

【0020】次いで、階調変換部2において、R,G,
Bの3つの入力CCDのばらつき信号を補正する。階調
変換は、一般にLUT(ルック・アップ・テーブル)を
用いて、R,G,Bを独立に変換する(図2)。このL
UTは無彩色がr=g=bになるように定める。また、
この階調変換で、反射率リニアなRGB信号を濃度リニ
アRGB信号に変換することが多いが、この場合はr=
g=b=0が最も明るい色になる。
Next, in the gradation conversion unit 2, R, G,
The variation signals of the three B input CCDs are corrected. In gradation conversion, R, G, and B are generally converted independently using a LUT (look-up table) (FIG. 2). This L
UT is defined so that the achromatic color is r = g = b. Also,
In this gradation conversion, an RGB signal having a linear reflectance is often converted into a linear RGB signal having a density. In this case, r =
The lightest color is g = b = 0.

【0021】色変換部4は、出力に適した色信号に変換
するもので、一般に画像出力装置はYMC(またはYM
CK)のインクで紙に出力するので、RGBからYMC
(K)への変換が必要であり、これを色変換部で行う。
この色変換は、例えば次式のような計算により行うこと
ができる。
The color conversion unit 4 converts a color signal suitable for output. Generally, the image output device is YMC (or YM).
(CK) ink is output on paper, so RGB to YMC
Conversion to (K) is necessary, and this is performed by the color conversion unit.
This color conversion can be performed by a calculation such as the following equation.

【0022】 Y=Ary×R+Agy×G+Aby×B+Aay×1 M=Arm×R+Agm×G+Abm×B+Aam×1 C=Arc×R+Agc×G+Abc×B+Aac×1 K=Ark×R+Agk×G+Abk×B+Aak×1 ただし、A**は所定の定数である。Y = Ary × R + Agy × G + Aby × B + Aay × 1 M = Arm × R + Agm × G + Abm × B + Aam × 1 C = Arc × R + Agc × G + Abc × B + Aac × 1 K = Ark × R + Agk × G + Abk × A + a + A + a + a + a ** is a predetermined constant.

【0023】その後、必要に応じて各種の画像処理を施
した後、プリンタ等に出力する。画像処理部5の機能と
しては、原稿の明暗やコントラストなどを調整する色修
正、絵柄にモザイクをかけたりイラスト調やパステル調
の絵柄に加工する画像の加工処理や、螢光色で囲まれた
領域をトリミングしたり、あるいは移動したり、所定の
領域のみを他の色に変換する画像編集処理などが挙げら
れる。
After that, various kinds of image processing are performed if necessary, and the result is output to a printer or the like. The functions of the image processing unit 5 include color correction for adjusting the lightness and darkness and contrast of a document, image processing for mosaicing a pattern, processing an illustration-like or pastel-like pattern, and enclosing with a fluorescent color. Examples include image editing processing for trimming or moving a region, and converting only a predetermined region into another color.

【0024】次に、本発明の主題である螢光色の識別に
ついて説明する。まず、螢光色識別の基本的な原理につ
いて説明する。本実施例における螢光色とは、螢光ペン
などで紙面に塗られた色を対象にしている。市販の螢光
ペンは、有機螢光体が広く用いられていて、紫外から可
視短波長域(紫、青、青緑)の光によって刺激されて、
刺激光と異なる波長の螢光(赤や黄色など)を発すると
いう特性がある。すなわち、一般の印刷物の色は、照射
された光の反射光のみで色が定まるのに対し、螢光色は
照射された光の反射光と、自ら発する螢光とを加えた光
によって色が定まるという点が異なっている。
Next, the identification of the fluorescent color which is the subject of the present invention will be described. First, the basic principle of fluorescent color identification will be described. The fluorescent color in this embodiment refers to the color applied to the paper surface with a fluorescent pen or the like. Organic fluorescent materials are widely used in commercially available fluorescent pens and are stimulated by light in the ultraviolet to visible short wavelength range (purple, blue, blue-green),
It has the characteristic that it emits a fluorescent light with a wavelength different from that of the stimulating light (such as red or yellow). That is, the color of a general printed matter is determined only by the reflected light of the irradiated light, whereas the fluorescent color is the color of the reflected light of the irradiated light and the light of the emitted fluorescent light. The difference is that it is fixed.

【0025】図3は、オレンジの螢光色を白紙上に塗布
し、それを標準光源下(CIEによって定められた光源
でC光源やD65光源などがある)で分光分布を測定し
た結果(1)と印刷物におけるオレンジ色の分光分布の
測定結果(2)を示したものである。図3から、標準白
色の光の反射率を100%とした場合、普通の印刷物の
色は必ず100%以下の値をとるのに対して、螢光色の
それは100%以上の反射率を有する波長域が存在して
いる。
FIG. 3 shows the result of measuring the spectral distribution under the standard light source (the light source defined by CIE, such as C light source and D65 light source) by applying the orange fluorescent color on a white paper (1 ) And the measurement result (2) of the orange spectral distribution in the printed matter. From FIG. 3, assuming that the reflectance of standard white light is 100%, the color of ordinary printed matter always takes a value of 100% or less, whereas that of a fluorescent color has a reflectance of 100% or more. There is a wavelength range.

【0026】C光源やD65光源の標準光源は、450
nm付近の波長の光にピークを持ち、可視光域に多くの
パワーを有している(図4(a)、(b))。そのた
め、刺激光のスペクトルが可視域に分布している赤、オ
レンジ、黄色などの螢光色が、特に螢光発光性が高い。
The standard light source of the C light source and the D65 light source is 450
It has a peak in light with a wavelength near nm and has a large amount of power in the visible light region (FIGS. 4A and 4B). Therefore, fluorescent colors such as red, orange, and yellow, in which the spectrum of the stimulating light is distributed in the visible region, have particularly high fluorescent emission properties.

【0027】以上のことから、赤や黄色の螢光色は比較
的長波長域で100%を超える高い分光反射率を示すこ
とになる。このような分光分布特性をカラースキャナで
読み取ると、RやG成分値が非常に大きな値となり、一
般の印刷物を入力した場合には現われないような色成分
を持つ画素データが得られる。例えば、通常のスキャナ
は、スキャナ内に張付けられた基準白色版を読み取った
時にr=g=b=255に近い値となるように入力範囲
を定めているため、白紙上に塗布された螢光色を読み取
った場合、R,G,B各256階調で読み取り可能なカ
ラースキャナでは、RまたはGの読み取り値が255に
なる。例として、図5は、各種螢光ペンのスキャナ入力
値を示す。
From the above, the red and yellow fluorescent colors show a high spectral reflectance of over 100% in a relatively long wavelength region. When such a spectral distribution characteristic is read by a color scanner, the R and G component values become very large values, and pixel data having a color component that does not appear when a general printed matter is input is obtained. For example, since a normal scanner sets the input range so that it becomes a value close to r = g = b = 255 when reading a reference white plate stuck in the scanner, the fluorescence applied on a white paper is determined. When a color is read, a read value of R or G is 255 in a color scanner capable of reading 256 gradations of R, G, and B. As an example, FIG. 5 shows scanner input values for various fluorescent pens.

【0028】従って、この特性を利用して、マーカ編集
時に赤や黄色などの螢光色で編集領域を指定することに
より、カラー原稿の有彩色部分をマーカ色と誤判定する
ことなく、高精度にカラー原稿の編集機能を実現するこ
とができる。
Therefore, by utilizing this characteristic, the editing area is designated by a fluorescent color such as red or yellow at the time of editing the marker, so that the chromatic color portion of the color document is not misjudged to be the marker color and high accuracy is achieved. It is possible to realize a color manuscript editing function.

【0029】また、比較的紙の濃度が高い原稿の下地部
分に螢光を塗布した場合には、螢光色の入力レベルがス
キャナの読み取り範囲内に含まれるようになる。このよ
うな下地濃度が高い原稿を対象にする場合には、下地領
域と比べてRGB成分値の何れかが十分大きな値になっ
ているかどうかで、螢光色を正確に識別することができ
る。
Further, when fluorescent light is applied to the background portion of the original having a relatively high paper density, the input level of the fluorescent color is included in the reading range of the scanner. When a document with such a high background density is targeted, the fluorescent color can be accurately identified by whether or not any of the RGB component values is sufficiently large compared to the background area.

【0030】本発明は、以上の原理に基づいて螢光色を
識別し、その螢光色の位置情報を出力することにより、
画像処理部においてトリミングなどの各種画像編集が可
能になる。
According to the present invention, the fluorescent color is identified based on the above principle, and the positional information of the fluorescent color is output,
Various image edits such as trimming can be performed in the image processing unit.

【0031】〈実施例1〉本実施例1は、カラー原稿と
して比較的白い紙を用い、その白地上に描かれた螢光色
を識別する実施例である。螢光色としては、赤、茶、ピ
ンク、オレンジ、黄色などの螢光発光性が高いものを想
定している。
<Embodiment 1> Embodiment 1 is an embodiment in which a relatively white paper is used as a color original and the fluorescent color drawn on the white background is identified. The fluorescent colors are assumed to be those with high fluorescent emission properties such as red, brown, pink, orange, and yellow.

【0032】これらの螢光色は、緑から赤の波長域で螢
光性が高いため、RあるいはGの反射率が紙白部のそれ
と比較して非常に高い値をとる。従って、原稿間であま
り反射率の差がない場合にはR,Gの入力値を閾値で判
定することにより螢光色か否かを区別することができ
る。また、青の波長域ではほとんど螢光を発しないの
で、通常の赤やオレンジと同様にB成分の反射率は比較
的低い値になる。
Since these fluorescent colors have high fluorescence in the wavelength range from green to red, the reflectance of R or G takes a very high value as compared with that of the white portion of the paper. Therefore, when there is not much difference in reflectance between the originals, it is possible to distinguish whether the color is fluorescent or not by determining the input values of R and G with the threshold value. Further, since almost no fluorescence is emitted in the blue wavelength region, the reflectance of the B component becomes a relatively low value, similar to ordinary red and orange.

【0033】そこで、スキャナの入力階調数をn、任意
の注目画素のスキャナからの色信号(反射率リニアの場
合)を[r,g,b]とすると、 r=n−1 or g=n−1 r≧Th1 or g≧Th2 (r=n−1 または g=n−1)and(b≦
Th3) (r≧Th1 or g≧Th2)and(b≦T
h3) などの簡単な閾値による判定によって螢光色を識別する
ことができる。ただし、Th1,Th2,Th3は所定
の閾値であり、例えば、Th1,Th2は240、Th
3は200である。図6は、上記したの判定を用いた
場合の螢光色識別部の構成を示す。
Therefore, assuming that the number of input gradations of the scanner is n and the color signal (when the reflectance is linear) from the scanner of an arbitrary pixel of interest is [r, g, b], r = n-1 or g = n-1 r ≧ Th1 or g ≧ Th2 (r = n−1 or g = n−1) and (b ≦
Th3) (r ≧ Th1 or g ≧ Th2) and (b ≦ T
The fluorescent color can be identified by a simple threshold judgment such as h3). However, Th1, Th2, and Th3 are predetermined threshold values, and for example, Th1 and Th2 are 240 and Th.
3 is 200. FIG. 6 shows the configuration of the fluorescent color identification section when the above determination is used.

【0034】また、青の波長域で螢光性が高い螢光色を
利用することができる場合は、以下のような判定によっ
て螢光色を識別することも可能である。すなわち、 r=n−1 or g=n−1 or b=n−1 r≧Th1 or g≧Th2 or b≧Th3 (Th1,Th2,Th3は所定の閾値で、例えば24
0)上記した閾値判定による螢光色の識別は、画像入力
部の色信号のみならず、階調補正を行ったRGB濃度信
号や色変換後のYMC濃度信号など他の色信号にも適用
可能である。
When a fluorescent color having a high fluorescent property in the blue wavelength range can be used, the fluorescent color can be identified by the following judgment. That is, r = n−1 or g = n−1 or b = n−1 r ≧ Th1 or g ≧ Th2 or b ≧ Th3 (Th1, Th2, and Th3 are predetermined threshold values, for example, 24
0) The identification of the fluorescent color by the threshold value judgment described above can be applied not only to the color signal of the image input section but also to other color signals such as the RGB density signal after gradation correction and the YMC density signal after color conversion. Is.

【0035】〈実施例2〉上記した実施例1では、原稿
の紙白の濃度差が比較的小さい場合を対象にしていた。
これに対して本実施例2は、例えば対象原稿の紙白の濃
度が、原稿によって異なる場合における螢光色の識別方
法に係るものである。
<Embodiment 2> In Embodiment 1 described above, the case where the density difference of the paper white of the document is relatively small is targeted.
On the other hand, the second embodiment relates to a method for identifying a fluorescent color when, for example, the density of the paper white of the target document differs depending on the document.

【0036】カラー原稿として比較的白い紙を用い、そ
の白地部分に螢光色を塗布した場合、前述したように
R,Gの反射率が非常に大きな値をとるので、閾値のみ
で螢光色を判定することが可能であった。しかしなが
ら、新聞などの濃度の高い紙に螢光色を塗布した場合、
螢光色についてもRやGの反射率が下がるので、螢光色
識別のための閾値を小さくしなければならない。そし
て、逆に、閾値を小さくしすぎると、さらに白い紙が入
力されたときに、その白地部分を螢光色として誤判定す
るという問題が生じる。
When a relatively white paper is used as a color original and a fluorescent color is applied to the white background, the reflectances of R and G take a very large value as described above, and therefore the fluorescent color is obtained only by the threshold value. It was possible to judge. However, when applying fluorescent color to high density paper such as newspaper,
Since the reflectance of R and G also decreases with respect to the fluorescent color, the threshold for distinguishing the fluorescent color must be reduced. On the contrary, if the threshold value is too small, a problem arises that when a white paper is input, the white background portion is erroneously determined as a fluorescent color.

【0037】そこで、原稿によって下地濃度が変動する
場合、原稿に適した閾値を用いて螢光色を識別する必要
があり、本実施例2では、カラー原稿として種々の紙を
用いたとき、その原稿の下地の濃度を検出し、検出した
下地よりも、RGB反射率が高い画素を検出することに
よって、螢光色を識別する。
Therefore, when the background density varies depending on the original, it is necessary to identify the fluorescent color by using a threshold value suitable for the original. In the second embodiment, when various papers are used as color originals, The fluorescent color is identified by detecting the density of the background of the document and detecting the pixels whose RGB reflectance is higher than the detected background.

【0038】すなわち、検出した下地のRGB反射率を
[rs,gs,bs]、注目画素のRGB反射率を
[r,g,b]とすると、 r>rs or g>gs or b>bs のとき、注目画素を螢光色と判定する。
That is, assuming that the RGB reflectance of the detected background is [rs, gs, bs] and the RGB reflectance of the pixel of interest is [r, g, b], r> rs or g> gs or b> bs At this time, the pixel of interest is determined to be a fluorescent color.

【0039】下地濃度の検出方法としては種々の方法が
考えられるが、例えば、プリスキャンを行って画像のヒ
ストグラムを作成することにより検出する方法、あるい
は1ライン毎にヒストグラムを作成することにより検出
する方法、ユーザの指定による方法などがある。
Various methods are conceivable as the method for detecting the background density. For example, the method is performed by performing a prescan to create an image histogram, or by creating a histogram for each line. There are methods, methods specified by the user, and the like.

【0040】本実施例ではスキャンしながら判定する方
法を採っている。まず、原稿の下地のRGB反射率を
[rs,gs,bs]と設定する。rs,gs,bsの
値は、一般に使用される紙に比べて充分小さい値、例え
ばrs=gs=bs=64とする。次いで、原稿をスキ
ャンしながら、画素毎にRGB反射率を読み取る。読み
取った値を[r,g,b]とするとき、 IF (r,g,bの差分値delta(r,g,b)<Th
1) AND(r>rs AND g>gs AND
b>bs) THEN rs=r, gs=g, bs=bとして下地反射率を
更新する。
In this embodiment, a method of making a judgment while scanning is adopted. First, the RGB reflectance of the background of the original is set to [rs, gs, bs]. The values of rs, gs, and bs are sufficiently smaller than those of commonly used paper, for example, rs = gs = bs = 64. Next, while scanning the document, the RGB reflectance is read for each pixel. When the read value is [r, g, b], IF (r, g, b difference value delta (r, g, b) <Th
1) AND (r> rs AND g> gs AND
b> bs) THEN rs = r, gs = g, bs = b and the background reflectance is updated.

【0041】これにより、原稿の下地が現われた段階
で、下地の反射率がrs,gs,bsにセットされる。
原稿の下地が現われたか否かは、更新時の更新幅が小さ
く、かつ更新頻度が少なくなることなどから分かる。従
って、更新頻度が少なく、かつ更新幅が小さくなった時
点から、螢光色の識別が開始される。
As a result, the reflectance of the background is set to rs, gs, and bs when the background of the original appears.
Whether or not the background of the manuscript appears can be known from the fact that the updating width at the time of updating is small and the updating frequency is low. Therefore, the fluorescent color identification is started from the time when the update frequency is low and the update width is small.

【0042】図7は、実施例2のブロック構成図であ
る。下地レベル判定部は、下地のRGB反射率(rs,
gs,bs)を検出して、コンパレータ(1,2,3)
に入力される。各コンパレータ(1,2,3)では、注
目画素のRGB反射率と下地のRGB反射率が比較さ
れ、r>rs or g>gs or b>bsのと
き、オアゲートを介して、注目画素が螢光色であるとし
て判定出力される。
FIG. 7 is a block diagram of the second embodiment. The background level determination unit determines the RGB reflectance (rs,
gs, bs) is detected and the comparator (1, 2, 3)
Entered in. In each comparator (1, 2, 3), the RGB reflectance of the pixel of interest is compared with the RGB reflectance of the background, and when r> rs or g> gs or b> bs, the pixel of interest is observable through the OR gate. It is determined and output as a light color.

【0043】本実施例では、螢光色の識別時に、螢光色
を白地と判定しないように、r,g,bの差分値を計算
するdelta(r,g,b)計算部を設けて、判定の
精度を向上させている。すなわち、 IF (r,g,bの差分値delta(r,g,b)>Th
2) AND(r>rs or g>gs or b>
bs) となる注目画素を螢光色と判定する。
In this embodiment, a delta (r, g, b) calculation unit for calculating the difference value of r, g, b is provided so that the fluorescent color is not judged to be a white background when the fluorescent color is identified. , The accuracy of judgment is improved. That is, IF (r, g, b difference value delta (r, g, b)> Th
2) AND (r> rs or g> gs or b>
The pixel of interest for which bs) is determined to be a fluorescent color.

【0044】このように、本実施例によれば、原稿によ
って下地の濃度が異なる場合でも、螢光色を高精度に識
別することができる。なお、上記実施例は、画像入力部
の色信号のみならず、階調補正を行ったRGB濃度信号
や色変換後のYMC濃度信号など他の色信号にも適用可
能である。
As described above, according to this embodiment, even when the density of the background differs depending on the original, the fluorescent color can be identified with high accuracy. The above-described embodiment can be applied not only to the color signal of the image input unit, but also to other color signals such as the RGB density signal after gradation correction and the YMC density signal after color conversion.

【0045】[0045]

【発明の効果】以上、説明したように、請求項1、2、
3記載の発明によれば、螢光ペンを用いてマーキングさ
れた原稿中から螢光色を高精度に検出しているので、フ
ルカラー原稿におけるマーカ編集が可能となり、また特
別なハードウェアを設けることなく、容易に画像編集を
行うことができる。
As described above, according to the first and second aspects,
According to the third aspect of the invention, since the fluorescent color is detected with high accuracy from the document marked with the fluorescent pen, it is possible to edit the marker in the full-color document and to provide special hardware. Without, the image can be easily edited.

【0046】請求項4、5、6記載の発明によれば、原
稿の下地濃度が異なる場合でも、螢光色をより高精度に
判定することができる。
According to the fourth, fifth and sixth aspects of the present invention, the fluorescent color can be determined with higher accuracy even when the background density of the original is different.

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

【図1】本発明のカラー画像処理装置のブロック構成図
である。
FIG. 1 is a block configuration diagram of a color image processing apparatus of the present invention.

【図2】階調変換を説明する図である。FIG. 2 is a diagram illustrating gradation conversion.

【図3】オレンジの螢光色と、印刷物におけるオレンジ
色のそれぞれの反射率特性を示す。
FIG. 3 shows reflectance characteristics of orange fluorescence and printed orange.

【図4】(a)はC光源の分光分布、(b)はD光源の
分光分布を示す。
4A shows a spectral distribution of a C light source, and FIG. 4B shows a spectral distribution of a D light source.

【図5】各種螢光ペンのスキャナ入力値を示す図であ
る。
FIG. 5 is a diagram showing scanner input values of various fluorescent pens.

【図6】実施例1の螢光色識別部の構成を示す図であ
る。
FIG. 6 is a diagram illustrating a configuration of a fluorescent color identifying unit according to the first embodiment.

【図7】実施例2の螢光色識別部の構成を示す図であ
る。
FIG. 7 is a diagram illustrating a configuration of a fluorescent color identifying unit according to a second embodiment.

【図8】カラー原稿の例を示す図である。FIG. 8 is a diagram showing an example of a color original.

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

1 画像入力部 2 階調変換部 3 螢光色識別部 4 色変換部 5 画像処理部 6 画像出力部 1 Image Input Section 2 Gradation Conversion Section 3 Fluorescent Color Identification Section 4 Color Conversion Section 5 Image Processing Section 6 Image Output Section

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 7/00 H04N 1/407 1/46 1/60 4226−5C H04N 1/40 101 B 4226−5C 1/46 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06T 7/00 H04N 1/407 1/46 1/60 4226-5C H04N 1/40 101 B 4226- 5C 1/46 Z

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 カラー原稿を読み取り、複数色の色信号
を入力する画像入力手段を備えたカラー画像処理装置に
おいて、該入力色信号または該色信号を色変換した他の
色信号から螢光色を判定する手段と、該判定結果に応じ
て螢光色で指定された領域に対して画像の編集を施す手
段とを備えたことを特徴とするカラー画像処理装置。
1. A color image processing apparatus having an image input means for reading a color original and inputting color signals of a plurality of colors, wherein the input color signal or another color signal obtained by color-converting the color signal is a fluorescent color. And a means for performing image editing on an area designated by a fluorescent color according to the determination result.
【請求項2】 前記判定手段は、画素毎に、前記色信号
の内の1以上の色信号が所定の閾値以上であるとき螢光
色と判定することを特徴とする請求項1記載のカラー画
像処理装置。
2. The color according to claim 1, wherein the determination unit determines, for each pixel, that the color is a fluorescent color when one or more color signals of the color signals are equal to or more than a predetermined threshold value. Image processing device.
【請求項3】 前記判定手段は、画素毎に、前記色信号
の内の1以上の色信号が第1の閾値以上であり、かつ前
記色信号の内の他の色信号が第2の閾値以下(ただし、
第1の閾値>第2の閾値)であるとき螢光色と判定する
ことを特徴とする請求項1記載のカラー画像処理装置。
3. The determining means, for each pixel, at least one color signal of the color signals is a first threshold value or more, and another color signal of the color signals is a second threshold value. Below (however,
The color image processing apparatus according to claim 1, wherein the color is determined to be a fluorescent color when (first threshold> second threshold).
【請求項4】 前記判定手段は、原稿の下地濃度を検出
し、注目画素の色信号の内の1以上の色信号が下地の色
信号よりも高いとき螢光色と判定することを特徴とする
請求項1記載のカラー画像処理装置。
4. The determination means detects the background density of a document, and determines that the color is a fluorescent color when at least one of the color signals of the pixel of interest is higher than the background color signal. The color image processing device according to claim 1.
【請求項5】 前記判定手段は、原稿の下地濃度を検出
し、注目画素の色信号の内の1以上の色信号が下地の色
信号よりも高く、かつ色成分間の値の差が大きいとき、
螢光色と判定することを特徴とする請求項1記載のカラ
ー画像処理装置。
5. The determination means detects the background density of the document, one or more of the color signals of the pixel of interest is higher than the background color signal, and the difference in value between the color components is large. When
The color image processing apparatus according to claim 1, wherein the color image processing apparatus determines that the color is a fluorescent color.
【請求項6】 前記下地濃度の検出は、下地濃度の各色
成分値を記憶する手段を備え、入力画素が無彩色である
とともに、各色成分値が該記憶されている値を超えると
き該記憶手段の内容を更新し、更新による変更幅が小さ
く、かつ更新頻度が少ないときに下地濃度と判定するこ
とを特徴とする請求項4または5記載のカラー画像処理
装置。
6. The detection of the background density includes means for storing each color component value of the background density, and when the input pixel is an achromatic color and each color component value exceeds the stored value, the storage means is provided. 6. The color image processing apparatus according to claim 4, wherein the content is updated, and the background density is determined when the change width due to the update is small and the update frequency is low.
JP15198293A 1993-06-23 1993-06-23 Color image processing equipment Expired - Fee Related JP3344771B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15198293A JP3344771B2 (en) 1993-06-23 1993-06-23 Color image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15198293A JP3344771B2 (en) 1993-06-23 1993-06-23 Color image processing equipment

Publications (2)

Publication Number Publication Date
JPH0723210A true JPH0723210A (en) 1995-01-24
JP3344771B2 JP3344771B2 (en) 2002-11-18

Family

ID=15530481

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15198293A Expired - Fee Related JP3344771B2 (en) 1993-06-23 1993-06-23 Color image processing equipment

Country Status (1)

Country Link
JP (1) JP3344771B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10108032A (en) * 1996-10-01 1998-04-24 Canon Inc Device and method for processing image and recording medium
JP2002079789A (en) * 2000-09-08 2002-03-19 Tokio Marine & Fire Insurance Co Ltd Writing tool
JP2004242106A (en) * 2003-02-06 2004-08-26 Sharp Corp Image processor, image reader, image forming device, image processing method, image processing program and recording medium recorded with image processing program
US8155945B2 (en) 2008-08-28 2012-04-10 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, computer-readable medium and computer data signal
US8260064B2 (en) 2008-08-28 2012-09-04 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, computer-readable medium and computer data signal
US8442312B2 (en) 2005-06-01 2013-05-14 Fujitsu Limited Method and apparatus for detecting image area, and computer product
JP2014099703A (en) * 2012-11-13 2014-05-29 Kyocera Document Solutions Inc Image forming apparatus
JP2017198609A (en) * 2016-04-28 2017-11-02 凸版印刷株式会社 Image processing method, image processing device and program
JP2017228973A (en) * 2016-06-23 2017-12-28 京セラドキュメントソリューションズ株式会社 Image processing apparatus
JP2019092028A (en) * 2017-11-14 2019-06-13 京セラドキュメントソリューションズ株式会社 Image processing apparatus
JP2019195133A (en) * 2018-05-01 2019-11-07 セイコーエプソン株式会社 Output information generation method for image reading apparatus, and image reading apparatus
US10645256B2 (en) 2018-04-20 2020-05-05 Kyocera Document Solutions Inc. Image forming apparatus and non-transitory computer-readable storage medium suitable for extracting areas in images specified by handwritten marker by line marker such as highlighter pen or the like, and electronic marker by digital pen

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10108032A (en) * 1996-10-01 1998-04-24 Canon Inc Device and method for processing image and recording medium
JP2002079789A (en) * 2000-09-08 2002-03-19 Tokio Marine & Fire Insurance Co Ltd Writing tool
JP2004242106A (en) * 2003-02-06 2004-08-26 Sharp Corp Image processor, image reader, image forming device, image processing method, image processing program and recording medium recorded with image processing program
US8442312B2 (en) 2005-06-01 2013-05-14 Fujitsu Limited Method and apparatus for detecting image area, and computer product
US8155945B2 (en) 2008-08-28 2012-04-10 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, computer-readable medium and computer data signal
US8260064B2 (en) 2008-08-28 2012-09-04 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, computer-readable medium and computer data signal
JP2014099703A (en) * 2012-11-13 2014-05-29 Kyocera Document Solutions Inc Image forming apparatus
JP2017198609A (en) * 2016-04-28 2017-11-02 凸版印刷株式会社 Image processing method, image processing device and program
JP2017228973A (en) * 2016-06-23 2017-12-28 京セラドキュメントソリューションズ株式会社 Image processing apparatus
JP2019092028A (en) * 2017-11-14 2019-06-13 京セラドキュメントソリューションズ株式会社 Image processing apparatus
US10645256B2 (en) 2018-04-20 2020-05-05 Kyocera Document Solutions Inc. Image forming apparatus and non-transitory computer-readable storage medium suitable for extracting areas in images specified by handwritten marker by line marker such as highlighter pen or the like, and electronic marker by digital pen
JP2019195133A (en) * 2018-05-01 2019-11-07 セイコーエプソン株式会社 Output information generation method for image reading apparatus, and image reading apparatus

Also Published As

Publication number Publication date
JP3344771B2 (en) 2002-11-18

Similar Documents

Publication Publication Date Title
KR960005016B1 (en) Printing color control method and circuit in cvp
JP3595579B2 (en) Image processing apparatus and image processing method
US8917406B2 (en) Image reading apparatus for determining whether a document contains a distinguishing pattern
US20080094517A1 (en) Image Processing Apparatus and Image Processing Method
JP3344771B2 (en) Color image processing equipment
KR101116682B1 (en) Image forming apparatus and control method thereof
US5408343A (en) Image processor in which colors in an original color image are identified as predetermined patterns on a monochromatic copy of the original
JP2008103987A (en) Image processor
US6894807B1 (en) Method and apparatus for printing a black-and-white image based on color image information
US7003166B2 (en) Method of encoding data in a monochrome media
JPH08130631A (en) Image processor and image processing method
JP2004007410A (en) Decoding method of data encoded in monochrome medium
US7583415B2 (en) Image processing apparatus
JPH10145623A (en) Original discrimination method and device therefor
JPH07222012A (en) Color image processor
JP3496911B2 (en) Document judgment device
JP3737230B2 (en) Color image processing device
JP3316077B2 (en) Background density level detector
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JP2002016798A (en) Image read method, recording medium and image reader
JPH03121669A (en) Color picture correction device
JP4578004B2 (en) Scanner and binarization method by controlling light source color of scanner
EP1605684B1 (en) Method of processing a digital image in order to enhance the text portion of said image
JP3352106B2 (en) Image processing apparatus and method
JP3121026B2 (en) Color image processing equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080830

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090830

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees