JP3263232B2 - Image processing device - Google Patents
Image processing deviceInfo
- Publication number
- JP3263232B2 JP3263232B2 JP05074194A JP5074194A JP3263232B2 JP 3263232 B2 JP3263232 B2 JP 3263232B2 JP 05074194 A JP05074194 A JP 05074194A JP 5074194 A JP5074194 A JP 5074194A JP 3263232 B2 JP3263232 B2 JP 3263232B2
- Authority
- JP
- Japan
- Prior art keywords
- background
- density
- value
- threshold
- scan
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Color Electrophotography (AREA)
- Image Processing (AREA)
- Facsimile Scanning Arrangements (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像処理装置に関し、
特に地肌除去に係る画質向上処理に用いる画像処理装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus,
In particular, the present invention relates to an image processing apparatus used for image quality improvement processing related to background removal.
【0002】[0002]
【従来の技術】従来、デジタル複写機などの画像読取装
置で原稿を読み取って画像を忠実に再現しようとする
と、原稿の地肌もそのまま再現されてしまい、見づらい
画像となっている。また、地肌部分にまでインクを打つ
ので、インクの消費量も多くなる。そこで、従来から例
えば、画像を出力する前に比較的濃度レベルの低い画素
を地肌として検出し、その画素値を0に置き換えるなど
の処理を施して地肌除去を行なっている。一般的な地肌
領域の検出方法では、原稿の地肌の濃度レベルに相当す
る閾値を設定し、閾値以下の画素を地肌とみなしてい
る。この閾値を設定する方法として、ユーザーが設定す
る方法と入力画像の特徴を基に自動的に設定する方法が
ある。ユーザーが設定する方法の場合、地肌除去閾値を
高精度に設定すれば、高画質な地肌除去を行なうことが
できるが、適切な値に設定されなかった場合は、例え
ば、閾値が低すぎたときは地肌が残り、閾値が高すぎた
ときは、地肌以外の絵柄の部分のハイライトが再現され
ない。閾値を自動的に設定する方法の場合、画素単位処
理、ブロック単位処理などのリアルタイム処理で閾値を
設定することもできるが、高精度に設定するためにはプ
レスキャンを行なって、入力画像全体の特徴を解析する
必要があり、そのため、非常に処理時間がかかってしま
う。例えば、特開平4−313744号公報に記載され
ている画像記録装置の地肌除去方式においては、原稿の
地肌と画像を有効に分離して最適な地肌除去レベルを得
ようとしているが、やはりプリスキャンを行っており、
地肌判定に用いる閾値をプリスキャン時に決定し、本ス
キャン(コピースキャン)時に地肌除去部に地肌除去の
ための閾値として与えているので、依然として、入力画
像全体の特徴を解析するためにかなり処理時間がかか
る。2. Description of the Related Art Conventionally, if an image reading apparatus such as a digital copying machine reads an original and attempts to faithfully reproduce the image, the background of the original is also reproduced as it is, making the image hard to see. Further, since the ink is applied to the background, the ink consumption is increased. Therefore, conventionally, for example, a pixel having a relatively low density level is detected as a background before outputting an image, and the background is removed by performing processing such as replacing the pixel value with 0. In a general method of detecting a background area, a threshold corresponding to the density level of the background of the document is set, and pixels equal to or less than the threshold are regarded as the background. As a method of setting the threshold, there are a method of setting by the user and a method of automatically setting based on the characteristics of the input image. In the case of the method set by the user, high-quality background removal can be performed by setting the background removal threshold with high precision, but if the threshold is not set to an appropriate value, for example, when the threshold is too low If the background remains, and the threshold is too high, highlights of the pattern portion other than the background are not reproduced. In the method of automatically setting the threshold, the threshold can be set in real-time processing such as pixel-based processing or block-based processing. It is necessary to analyze the features, which requires a very long processing time. For example, in a background removal method of an image recording apparatus described in Japanese Patent Application Laid-Open No. 4-313744, an attempt is made to effectively separate a background and an image of a document to obtain an optimum background removal level. Has been conducted,
Since the threshold value used for the background determination is determined at the time of the pre-scan and is given to the background removal unit as the threshold value for the background removal at the time of the main scan (copy scan), it still takes a considerable processing time to analyze the characteristics of the entire input image. It takes.
【0003】[0003]
【発明が解決しようとする課題】本発明は、面順次方式
(1ドラム方式)のカラー画像出力装置において、プリ
スキャンを行なわないで地肌除去のための閾値を高精度
に自動的に設定することにより、高画質、かつ高速な地
肌除去ができる画像処理装置を提供することを目的とし
ている。SUMMARY OF THE INVENTION It is an object of the present invention to automatically set a threshold value for background removal without performing prescan in a color image output apparatus of a frame sequential type (one drum type). Accordingly, an object of the present invention is to provide an image processing apparatus capable of performing high-quality and high-speed background removal.
【0004】[0004]
【課題を解決するための手段】請求項1の発明では、画
像読取装置により原稿をR,G,Bのデジタル信号にて
読出し、面順次でK,C,M,Yの記録信号を得る色補
正処理手段を有する画像処理装置において、ファースト
スキャン時に、画像の濃度ヒストグラムをとって原稿の
地肌濃度レベルを検出し、該検出結果を地肌除去の閾値
として記憶する地肌除去閾値生成手段と、セカンドスキ
ャン以降に、前記記憶された閾値を用いて、画像の地肌
を検出し、該検出結果に基づいて、地肌と判定された画
素の濃度値を0にするかまたは周辺画素の濃度値に応じ
て適応的に変化する値を当該地肌と判定された画素の濃
度値から減じることで地肌の濃度を下げる地肌除去手段
とを具備することを特徴としている。According to the first aspect of the present invention, an image reading device reads an original with R, G, and B digital signals and obtains K, C, M, and Y recording signals in a frame sequence. In an image processing apparatus having a correction processing unit, at the time of a first scan, a background removal threshold generation unit that detects a background density level of an original by taking a density histogram of an image and stores the detection result as a background removal threshold, and a second scan Thereafter, the background of the image is detected using the stored threshold value, and based on the detection result, the image determined to be the background is detected.
Set the density value of the element to 0 or according to the density value of surrounding pixels
The value that adaptively changes by the darkness of the pixel determined to be the background
A background removing means for reducing the density of the background by subtracting from the degree value .
【0005】請求項2の発明では、画像読取装置により
原稿をR,G,Bのデジタル信号にて読出し、面順次で
C,M,Yの記録信号を得る色補正処理手段を有する画
像処理装置において、ファーストスキャン時に、画像の
濃度ヒストグラムをとって原稿の地肌濃度レベルを検出
し、該検出結果を地肌除去の閾値として記憶する地肌除
去閾値生成手段と、セカンドスキャン以降に、前記記憶
された閾値を用いて、画像の地肌を検出し、該検出結果
に基づいて、地肌と判定された画素の濃度値を0にする
かまたは周辺画素の濃度値に応じて適応的に変化する値
を当該地肌と判定された画素の濃度値から減じることで
地肌の濃度を下げる地肌除去手段とを具備することを特
徴としている。According to a second aspect of the present invention, there is provided an image processing apparatus having a color correction processing means for reading an original with an R, G, B digital signal by an image reading apparatus and obtaining C, M, Y recording signals in a frame sequential manner. At the time of the first scan,
A background removal threshold generating means for detecting the background density level of the document by taking a density histogram , storing the detection result as a background removal threshold, and after the second scan, using the stored threshold to determine the background of the image. Detected and the detection result
The density value of a pixel determined to be background based on 0
Or a value that changes adaptively according to the density value of surrounding pixels
Is subtracted from the density value of the pixel determined to be the background.
A background removing means for lowering the density of the background.
【0006】請求項3の発明では、ファーストスキャン
に先立ち、予め定めた任意の閾値を設定する手段を有
し、地肌除去手段は、ファーストスキャン時時に、前記
設定された閾値を用いて、画像の地肌を検出し、該検出
結果に基づいて、地肌と判定された画素の濃度値を0に
するかまたは周辺画素の濃度値に応じて適応的に変化す
る値を当該地肌と判定された画素の濃度値から減じるこ
とで地肌の濃度を下げることを特徴としている。According to the third aspect of the present invention, prior to the first scan, there is provided a means for setting a predetermined arbitrary threshold value, and the background removing means uses the set threshold value at the time of the first scan to obtain an image. Detects background and detects
Based on the result, set the density value of the pixel determined to be the background to 0
Or adaptively changes according to the density value of surrounding pixels.
Value is subtracted from the density value of the pixel determined to be the background.
This is characterized in that the density of the background is reduced by using.
【0007】請求項4の発明では、地肌除去閾値生成手
段は、ファーストスキャン時に、各画素値に応じてリア
ルタイムに地肌除去の閾値を決定し、該閾値を用いて地
肌除去を行うとともに該閾値を記憶することを特徴とし
ている。According to a fourth aspect of the present invention, the background removal threshold generation means determines a background removal threshold in real time according to each pixel value at the time of the first scan, performs the background removal using the threshold, and sets the threshold. It is characterized by memorizing.
【0008】請求項5の発明では、ファーストスキャン
時にK版の記録信号を作成することを特徴としている。[0008] The invention of claim 5 is characterized in that a K-version recording signal is created at the time of the first scan.
【0009】請求項6の発明では、画像読取装置により
原稿をR,G,Bのデジタル信号にて読出し、面順次で
記録信号を得る色補正処理手段を有する画像処理装置に
おいて、各スキャン時に、画像の濃度ヒストグラムをと
って原稿の地肌濃度レベルを検出し、当該スキャン時に
得られた地肌濃度レベルとそれ以前のスキャン時に得ら
れた地肌濃度レベルとの演算により次スキャン時の地肌
除去閾値を決定し、該決定した地肌除去閾値を記憶する
地肌除去閾値生成手段と、セカンドスキャン以降に、前
記記憶された当該スキャン時のための地肌除去閾値を用
いて、画像の地肌を検出し、該検出結果に基づいて、地
肌と判定された画素の濃度値を0にするかまたは周辺画
素の濃度値に応じて適応的に変化する値を当該地肌と判
定された画素の濃度値から減じることで地肌の濃度を下
げる地肌除去手段と、を具備することを特徴としてい
る。According to a sixth aspect of the present invention, in an image processing apparatus having a color correction processing means for reading an original with an R, G, B digital signal by an image reading apparatus and obtaining a recording signal in a frame sequential manner, Image density histogram
Detecting the background density level of the original I, by calculation of the background density level obtained when scanning the previous background density level obtained during scanning to determine the background removal threshold of the next scan, and the determined A background removal threshold generation unit that stores a background removal threshold; and, after the second scan, using the stored background removal threshold for the scan, the background of the image is detected, and the background is detected based on the detection result.
Set the density value of the pixel determined to be skin to 0 or
The value that changes adaptively according to the density of the element
Reduce the background density by subtracting from the specified pixel density value.
And means for removing scalp background.
【0010】[0010]
【実施例】以下、本発明の実施例を説明する。本発明
は、プリスキャンを行なわずに閾値を高精度に自動的に
設定することにより、高画質、かつ高速な地肌除去がで
きるようにしたものである。本発明が適用されるカラー
画像処理装置の一実施例の機能ブロック図を図1に示
す。スキャナー等の画像入力装置1から入力された、反
射率に対しリニアなR、G、B信号は、スキャナーγ変
換部2において対数変換され、濃度リニアなR、G、B
信号を生成する。次に、色補正部3においてR、G、B
信号を補色のY,M,Cに変換する。Y、M、C信号か
ら下色除去部4において下色除去(UCR/UCA)を
行なって黒のインク量を求め、Y,M,C,Kの信号を
生成する。下色除去部4以降の処理においては、例え
ば、ファーストスキャン時にはK版、セカンドスキャン
時にはC版、サードスキャン時にはM版、フォーススキ
ャン時にはY版の信号を処理する。地肌除去部5におい
て、後述するように、地肌除去閾値生成部8で設定され
た閾値を用いて、地肌除去処理を行ない、地肌の濃度を
下げる。プリンタγ変換部6において出力装置の特性に
適した濃度変換処理を施し、画像出力装置7にデータを
送る。なお、面順次で、Y,M,C版のみの記録信号を
得る場合には、下色除去部4によるK信号の生成は不要
となる。Embodiments of the present invention will be described below. The present invention enables high-quality, high-speed background removal by automatically setting a threshold value with high accuracy without performing prescan. FIG. 1 shows a functional block diagram of an embodiment of a color image processing apparatus to which the present invention is applied. The R, G, and B signals, which are linear with respect to the reflectance, input from the image input device 1 such as a scanner, are logarithmically converted by the scanner γ conversion unit 2 and are linearly density R, G, and B.
Generate a signal. Next, in the color correction unit 3, R, G, B
The signal is converted into complementary colors of Y, M, and C. Undercolor removal (UCR / UCA) is performed in the undercolor removal unit 4 from the Y, M, and C signals to determine the amount of black ink, and Y, M, C, and K signals are generated. In the processing subsequent to the under color removing unit 4, for example, the signal of the K plane is processed in the first scan, the signal of the C plane in the second scan, the signal of the M plane in the third scan, and the signal of the Y plane in the force scan. The background removal unit 5 performs a background removal process using the threshold value set by the background removal threshold value generation unit 8 to reduce the background density, as described later. The printer γ conversion unit 6 performs density conversion processing suitable for the characteristics of the output device, and sends the data to the image output device 7. In the case where the recording signals of only the Y, M, and C planes are obtained in the frame sequence, the generation of the K signal by the under color removing unit 4 becomes unnecessary.
【0011】まず、請求項1及び請求項2記載の発明を
図1、図2、図3及び図4に基づいて説明する。図2
は、図1の地肌除去部5のブロック図を示す。地肌除去
部5は地肌判定部9及び地肌濃度変換部10からなる。
地肌除去部5は、図1の地肌除去閾値生成部8において
設定された閾値を用いて地肌の濃度レベルを下げる(例
えば、0またはそれに近い値にする)ところである。地
肌除去閾値生成部8では、地肌濃度レベルを自動的に検
出し、その結果を地肌除去の閾値として地肌除去部5に
送る。地肌除去部5において、地肌判定部9では、地肌
除去閾値生成部8で決定された閾値を用い、入力画素デ
ータが閾値以下のとき地肌であるとみなし、その判定結
果を地肌濃度変換部10に送る。地肌濃度変換部10で
は地肌判定部9にて地肌と判定された画素の濃度を0ま
たはそれに近い値に変換して出力する。尚、地肌の濃度
変換方法は濃度を下げる方法であれば、例えば、周辺画
素の濃度値に応じて適応的に変化する値を地肌と判定さ
れた画素の濃度値から減算する方法やその他の方法でも
かまわない。First, the present invention will be described with reference to FIGS. 1, 2, 3 and 4. FIG.
2 shows a block diagram of the background removing unit 5 of FIG. The background removal unit 5 includes a background determination unit 9 and a background density conversion unit 10.
Surface color removal unit 5 lowers the background density level by using the threshold value set in the background removal threshold generator 8 of Fig. 1 (Example
For example, 0 or a value close to 0) . The background removal threshold generation unit 8 automatically detects the background density level and sends the result to the background removal unit 5 as a background removal threshold. In the background removal unit 5, the background determination unit 9 uses the threshold value determined by the background removal threshold generation unit 8, considers the background to be a background when the input pixel data is equal to or less than the threshold value, and sends the determination result to the background density conversion unit 10. send. The background density conversion unit 10 converts the density of the pixel determined as the background by the background determination unit 9 to 0 or a value close to it and outputs it. If the density conversion method of the background is a method of lowering the density, for example, a method of subtracting a value adaptively changing according to the density value of the peripheral pixel from the density value of the pixel determined to be the background or other methods But it doesn't matter.
【0012】図3は、図1の地肌除去閾値生成部8のブ
ロック図を示している。地肌除去閾値生成部8はMax
(R,G,B)保持部15、ヒストグラム生成部11、
地肌除去閾値レジスタ12からなる。Max(R,G,
B)保持部15はR,G,BデータのMax(R,G,
B)を保持する。Max(R,G,B)はR,G,Bデ
ータの中で最も濃度の高い値を意味し、例えば、R,
G,Bデータの中でRが最も濃度が高い場合、Max
(R,G,B)=R(濃度値)となる。なお、後述のM
in(R,G,B)は逆にR,G,Bデータの中で最も
濃度の低い値を意味する。ヒストグラム生成部11で
は、まずファーストスキヤン時のR,G,BデータのM
ax(R,G,B)について全画素の濃度についてのヒ
ストグラムをとる。図4に濃度間隔を5に設定してヒス
トグラムをとった結果を表す。所定の頻度(図4の場
合、300画素)を超える最もハイライト側の濃度を地
肌の濃度レベルとみなす。図4の場合、濃度の範囲が1
0〜15の画素が300画素以上出現している最もハイ
ライト側になり、濃度15を地肌の濃度レベルとみな
す。そして、地肌濃度レベルである15を地肌除去閾値
として地肌除去閾値レジスタ12に記憶する。セカンド
スキャン以降は、地肌除去部5が、このファーストスキ
ャン時に設定した地肌除去閾値レジスタ12の内容を地
肌除去閾値として用いて地肌除去処理を行う。FIG. 3 is a block diagram of the background removal threshold generator 8 shown in FIG. The background removal threshold generation unit 8 uses Max
(R, G, B) holding unit 15, histogram generation unit 11,
It comprises a background removal threshold register 12. Max (R, G,
B) The holding unit 15 stores Max (R, G,
Hold B). Max (R, G, B) means a value with the highest density among the R, G, B data.
If R has the highest density among the G and B data, Max
(R, G, B) = R (density value). In addition, M described later
conversely, in (R, G, B) means the lowest density value among the R, G, B data. The histogram generation unit 11 first sets the M of the R, G, and B data during the first scan.
For ax (R, G, B), a histogram is taken for the density of all pixels. FIG. 4 shows the result of taking a histogram with the density interval set to 5. The density on the highlight side exceeding a predetermined frequency (300 pixels in FIG. 4) is regarded as the density level of the background. In the case of FIG. 4, the density range is 1
Pixels 0 to 15 are the highlight side where 300 or more pixels appear, and the density 15 is regarded as the density level of the background. Then, the background density level 15 is stored in the background removal threshold register 12 as the background removal threshold. After the second scan, the background removal unit 5 performs the background removal processing using the contents of the background removal threshold register 12 set during the first scan as the background removal threshold.
【0013】図2において、地肌判定部9では、R,
G,Bデータに対して画素値のMax(R,G,B)が
地肌除去閾値以下のときは地肌と判定し、判定結果を地
肌濃度変換部10に送る。地肌濃度変換部10では、判
定結果が地肌のときは画素値(K,C,M,Y)または
(C,M,Y)をそれぞれ例えば(0,0,0,0)、
(0,0,0)に変換し、判定結果が非地肌のときは変
換しない。尚、地肌の濃度変換方法は濃度を下げる方法
であればこれらの方法に限らず他の方法でもよい。例え
ば、周辺画素の濃度値に応じて適応的に変化する値(V
k,Vc,Vm,Vy)を画素値(k,c,m,y)か
ら減算し、(k−Vk,c−Vc,m−Vm,y−V
y)に変換してもよい。ここで、Vk,Vc,Vyの値
は、例えば、着目画素を中心とする3×3画素の各画素
値の平均値などである。このようにして、地肌濃度変換
部10にて、地肌の濃度を0またはそれに近い値に下げ
る。 In FIG . 2, the background determination unit 9 determines R,
When Max (R, G, B) of the pixel value for the G and B data is equal to or smaller than the background removal threshold, the image is determined to be the background, and the determination result is sent to the background density conversion unit 10. The background density conversion unit 10, the pixel value when the determination result is background (K, C, M, Y) or (C, M, Y), respectively, for example, (0,0,0,0),
(0,0,0), and is not converted when the determination result is non-ground. The background density conversion method is not limited to these methods and may be another method as long as the density is reduced. For example, a value (V) that adaptively changes according to the density value of a peripheral pixel.
(k, Vc, Vm, Vy) is subtracted from the pixel value (k, c, m, y) to obtain (k−Vk, c−Vc, m−Vm, y−V).
y). Here, the values of Vk, Vc, and Vy are, for example, average values of the pixel values of 3 × 3 pixels centered on the target pixel. In this way, the background density conversion
In section 10, reduce the density of the background to 0 or a value close to it
You.
【0014】このように、ファーストスキャン時に、
K,C,M,Y版あるいはC,M,Y版のいずれかの記
録信号を得ると同時に、地肌除去閾値生成部8におい
て、セカンドスキャン以降の地肌の検出に用いる閾値を
自動設定し、セカンドスキャン後、地肌除去部5での地
肌検出・除去は、このファーストスキャン時に設定した
閾値を用いることとしたのが請求項1あるいは請求項2
記載の発明であり、ファーストスキャン時にK版の信号
を作成することとしたのが請求項5記載の発明である。Thus, at the time of the first scan,
At the same time that the K, C, M, Y version or the C, M, Y version of the recording signal is obtained, the background removal threshold generation unit 8 automatically sets the threshold used for the background detection after the second scan, and the second 3. The method according to claim 1, wherein the background detection and removal by the background removal unit after scanning uses a threshold set at the time of the first scan.
The invention described in claim 5, wherein a K-version signal is generated at the time of the first scan.
【0015】次に、請求項3記載の発明を、同じく図
2、図3に基づいて説明する。上記したように、図3の
地肌除去閾値生成部8における地肌除去閾値レジスタ1
2は地肌除去閾値を記憶する記憶手段である。上記の請
求項1や2の発明は、ファーストスキャン時に該地肌除
去閾値レジスタ12に設定した地肌除去閾値をセカンド
スキャン以降に利用するものであるが、請求項3の発明
は、ファーストスキャン時に用いる地肌除去閾値の値
を、該地肌除去閾値レジスタ12中に予め設定してお
き、ファーストスキャン時に、地肌除去部5において、
この地肌除去閾値レジスタ12に設定された閾値を用い
て地肌除去を行うものである。ファーストスキャン時に
用いる地肌除去閾値は任意に定める。例えば、閾値とし
て値20を地肌除去閾値レジスタ12に予め設定してお
くと、ファーストスキャン時に、地肌除去部5におい
て、この閾値により地肌除去が行われる。セカンドスキ
ャン以降は請求項1等の発明等と同様である。Next, the third aspect of the present invention will be described with reference to FIGS. As described above, the background removal threshold register 1 in the background removal threshold generation unit 8 in FIG.
A storage unit 2 stores a background removal threshold. In the first and second aspects of the present invention, the background removal threshold set in the background removal threshold register 12 at the time of the first scan is used after the second scan. The value of the removal threshold is set in advance in the background removal threshold register 12, and at the time of the first scan, the background removal unit 5
The background removal is performed using the threshold set in the background removal threshold register 12. The background removal threshold used in the first scan is arbitrarily determined. For example, if a value 20 is set in advance in the background removal threshold register 12 as a threshold value, the background removal is performed by the background removal unit 5 at the time of the first scan using the threshold value. The operation after the second scan is the same as that of the invention of claim 1.
【0016】次に、請求項4記載の発明を図5に基づい
て説明する。図5はリアルタイム処理による地肌除去閾
値生成部を示しており、無彩色判定部13、濃度レベル
判定部14、Max(R,G,B)保持部15、地肌除
去閾値メモリ16、アドレスレジスタ17からなる。フ
ァーストスキャン時に用いる地肌除去閾値は、図3の実
施例では20に固定しているが、請求項4記載の発明に
おいては、画素値に応じてリアルタイムに地肌除去閾値
を決定している。先ず、注目画素(R,G,B)が無彩
色であり、またハイライト色であるかを無彩色判定部1
3、濃度レベル判定部14で判定する。 無彩色か否か
の判定は、次の条件式 Max(R,G,B)−Min
(R,G,B)≦10 で判定する。即ち、Max
(R,G,B)−Min(R,G,B)が10以下のと
きは、無彩色と判定する。ハイライトか否かの判定は、
次の条件式 Max(R,G,B)≦30 で判定す
る。即ち、Max(R,G,B)が30以下のときは、
ハイライト色と判定する。この判定の結果、ファースト
スキャン時、無彩色且つハイライトのときは、Max
(R,G,B)の値を閾値として用いて地肌除去を行う
とともに、Max(R,G,B)の値を、地肌除去閾値
メモリ16に記憶する。地肌除去閾値メモリ16のアド
レスレジスタ17の値は、処理している画素位置を表す
値を設定する。セカンドスキャン以降の地肌の判定に
は、メモリ16に保持されている値を地肌除去閾値とし
て用いる。Next, the invention according to claim 4 will be described with reference to FIG. FIG. 5 shows a background removal threshold generation unit by real-time processing . The achromatic color determination unit 13, the density level determination unit 14, the Max (R, G, B) storage unit 15, the background removal threshold memory 16, and the address register 17 Become. The background removal threshold used in the first scan is fixed at 20 in the embodiment of FIG. 3, but in the invention according to claim 4, the background removal threshold is determined in real time according to the pixel value. First, whether the target pixel (R, G, B) is an achromatic color or a highlight color is determined by the achromatic color determination unit 1.
3. The determination is made by the density level determination unit 14. The determination as to whether an image is an achromatic color is made by the following conditional expression: Max (R, G, B) −Min
(R, G, B) ≦ 10 That is, Max
When (R, G, B) -Min (R, G, B) is 10 or less, it is determined that the color is achromatic. To determine whether or not it is a highlight,
It is determined by the following conditional expression Max (R, G, B) ≦ 30. That is, when Max (R, G, B) is 30 or less,
Judge as highlight color. As a result of this determination, during the first scan, when achromatic and highlighted, Max
Background removal is performed using the value of (R, G, B) as a threshold, and the value of Max (R, G, B) is stored in the background removal threshold memory 16. The value of the address register 17 of the background removal threshold value memory 16 sets a value indicating the pixel position being processed. For the determination of the background after the second scan, the value held in the memory 16 is used as the background removal threshold.
【0017】次に、請求項5記載の発明を図6、図7に
基づいて説明する。有彩色ハイライトの再現性を良くす
るために、一般に、ハイライト色には墨を打たないの
で、下色除去処理またはプリンタγ変換処理で作成され
る、地肌濃度レベル以下のK版の記録信号の濃度値は0
である。そのためにK版に対しては地肌除去は不要であ
る。請求項5記載の発明の実施例として、ファーストス
キャン時のK版の記録信号を作成し、下色除去処理また
はプリンタγ変換処理において地肌濃度以下のK版の記
録信号を0として生成する方法について説明する。Next, the invention according to claim 5 will be described with reference to FIGS. In order to improve the reproducibility of chromatic color highlights, in general, black is not applied to the highlight color. The density value of the signal is 0
It is. Therefore, background removal is not required for the K plate. As an embodiment of the invention according to claim 5, a method of generating a K-plate recording signal at the time of the first scan, and generating a K-plate recording signal with a density equal to or less than the background density as 0 in the undercolor removal processing or the printer γ conversion processing explain.
【0018】先ず、下色除去によって地肌濃度以下のK
版の記録信号を0として生成する方法について説明す
る。下色除去は画素値の信号値が(Y,M,C)のと
き、次の演算にてK信号を生成する。K0=Min
(Y,M,C)、そして、更に、テーブル変換でK=f
(K0)とする。f(K0)は、下色除去処理において
信号値K0の値を補正するためのテーブル変換処理であ
る。図6にテーブルfの例を示すが、ここでは、ハイラ
イト色のK信号を生成しないように、地肌濃度(ここで
は任意の値として30とする)を定め、30以下の濃度
は全て0になるように変換している。得られたK信号に
対して、(Y,M,C)の値は次式、Y=y−K,M=
m−K,C=c−K の演算にて変換する。次に、プリ
ンタγ変換処理部によって、地肌濃度以下のK版の記録
信号を0として生成する方法について説明する。プリン
タγ変換処理部において、Kin信号をKout信号に
テーブル変換Kout=g(Kin)により変換する。
テーブルgの例を図7に示す。テーブルgでは、Kin
信号が地肌濃度(ここでは任意の値として30とする)
以下のときは、Kout信号は0に変換される。すなわ
ち、Kin信号が地肌濃度(ここでは30)以下のとき
は、Koutは0として出力され、地肌に対してインク
が打たれない。First, K under the background density is removed by removing the undercolor.
A method of generating a plate recording signal as 0 will be described. In the under color removal, when the signal value of the pixel value is (Y, M, C), a K signal is generated by the following calculation. K0 = Min
(Y, M, C), and further, K = f
(K0). f (K0) is a table conversion process for correcting the signal value K0 in the under color removal process. FIG. 6 shows an example of the table f. Here, the background density (here, an arbitrary value of 30) is determined so that the K signal of the highlight color is not generated. It has been converted to become. For the obtained K signal, the value of (Y, M, C) is given by the following equation: Y = y−K, M =
Conversion is performed by calculation of m−K, C = c−K. Next, a description will be given of a method of generating a K-plate recording signal having a background density or less as 0 by the printer γ conversion processing unit. The printer γ conversion processing unit converts the Kin signal into a Kout signal by table conversion Kout = g (Kin).
FIG. 7 shows an example of the table g. In table g, Kin
The signal is the background density (30 as an arbitrary value here)
In the following cases, the Kout signal is converted to 0. That is, when the Kin signal is equal to or lower than the background density (here, 30), Kout is output as 0, and no ink is applied to the background.
【0019】次に、請求項6記載の発明を図8に基づい
て説明する。図8は、ファーストスキャン、セカンドス
キャン、サードスキャン時のMax(R,G,B)デー
タについて、全画素のヒストグラムと地肌濃度レベルの
関係を示している。それぞれの地肌濃度レベルは、スキ
ャナの特性の変動のため微妙に異なっている。そのた
め、例えば、ファーストスキャン時に設定された地肌除
去閾値をセカンドスキャン以降の地肌除去閾値として用
いた場合、スキャナの特性の変動が考慮されていないた
めに、地肌が除去されない場合が生じる。図8の例で
は、ファーストスキャン時には地肌濃度レベルが15で
あるが、サードスキャン時にはスキャナの特性が変動し
地肌濃度レベルが25に変動している。このためファー
ストスキャン時に設定された地肌濃度レベル15を用い
てサードスキャン時の地肌除去を行うと濃度レベルが1
5〜25の範囲にある画素は除去されない。請求項6の
発明では、地肌除去閾値を高精度に設定するために、全
スキャン時に請求項1の発明で説明した場合と同様の方
法で地肌濃度レベルを自動検出し、それらの結果をレジ
スタに保持し、例えば、セカンドスキャン以降に用いる
閾値は次の表1に示す演算式により決定する。Next, the invention according to claim 6 will be described with reference to FIG. FIG. 8 shows the relationship between the histogram of all pixels and the background density level for Max (R, G, B) data at the time of the first scan, the second scan, and the third scan. Each background density level is slightly different due to variations in scanner characteristics. Therefore, for example, when the background removal threshold set at the time of the first scan is used as the background removal threshold after the second scan, the background may not be removed because variations in the characteristics of the scanner are not taken into account. In the example of FIG. 8, the background density level is 15 at the time of the first scan, but the characteristics of the scanner are changed at the time of the third scan, and the background density level is changed to 25. For this reason, if the background removal at the time of the third scan is performed using the background density level 15 set at the time of the first scan, the density level becomes 1
Pixels in the range 5-25 are not removed. According to the sixth aspect of the present invention, in order to set the background removal threshold with high accuracy, the background density level is automatically detected by the same method as that described in the first aspect of the invention during all scans, and the result is stored in a register. For example, a threshold value to be held and used after the second scan is determined by an arithmetic expression shown in Table 1 below.
【0020】[0020]
【表1】 [Table 1]
【0021】表1において、TH1はファーストスキャ
ン時に検出される地肌濃度レベル、TH2はセカンドス
キャン時に検出される地肌濃度レベル、TH3はサード
スキャン時に検出される地肌濃度レベルを示している。In Table 1, TH1 indicates a background density level detected during the first scan, TH2 indicates a background density level detected during the second scan, and TH3 indicates a background density level detected during the third scan.
【0022】ここで、セカンドスキャン時は、請求項1
の発明で説明した場合と同様に、ファーストスキャン時
に検出された地肌濃度レベルTH1を地肌除去閾値とし
て地肌除去を行う。例えば、TH1=15のとき、セカ
ンドスキャン時には、このTH1=15を地肌除去閾値
に用いる。また、サードスキャン時には、例えば、ファ
ーストスキャンとセカンドスキャンの地肌濃度レベル
が、それぞれTH1=15,TH2=20のとき、サー
ドスキャン時に適用する地肌除去閾値はファーストスキ
ャン時の15を用いるのではなく、TH2+(TH2−
TH1)の演算結果の25を用いる。同様にして、フォ
ーススキャン時は、TH3+(TH3−TH2)の演算
結果を用いる。このようにしてスキャナ特性が各スキャ
ン毎に変動する場合においても地肌除去閾値を高精度に
設定することができる。Here, at the time of the second scan, the first claim
Similar to the case described in the invention, the background removal is performed using the background density level TH1 detected during the first scan as the background removal threshold. For example, when TH1 = 15 , in the second scan, TH1 = 15 is used as the background removal threshold. Further, at the time of the third scan, for example, when the background density levels of the first scan and the second scan are TH1 = 15 and TH2 = 20, respectively, the background removal threshold applied at the time of the third scan does not use 15 at the time of the first scan. TH2 + (TH2-
25 of the calculation result of TH1) is used. Similarly, at the time of the force scan, the calculation result of TH3 + (TH3-TH2) is used. In this way, the background removal threshold can be set with high accuracy even when the scanner characteristics vary for each scan.
【0023】本発明は、上記の実施例に限らず、プリス
キャンを行なわないで高画質、かつ高速に地肌を除去す
る画像処理装置、カラー複写機、画質向上用装置等に対
して広く適用することができる。The present invention is not limited to the above embodiment, but is widely applied to an image processing apparatus, a color copying machine, an apparatus for improving image quality, etc., which removes the background at high speed without performing prescan. be able to.
【0024】[0024]
【発明の効果】請求項1及び請求項2の発明によれば、
プリスキャンを行なうことなく地肌除去閾値の設定を高
精度に行なうことができ、セカンドスキヤン以降に作成
する記録信号に対し高画質な地肌除去を行なうことがで
きる。According to the first and second aspects of the present invention,
The background removal threshold can be set with high precision without performing prescan, and high-quality background removal can be performed on recording signals created after the second scan.
【0025】請求項3及びおよび請求項4の発明によれ
ば、プリスキヤンを行なうことなくファーストスキャン
時に作成する記録信号に対し同時に地肌除去を行なうこ
とができる。According to the third and fourth aspects of the present invention, the background can be simultaneously removed from a recording signal created at the time of the first scan without performing prescan.
【0026】請求項5の発明によれば、ファーストスキ
ャン時に地肌除去が不要な記録信号を作成することによ
って地肌除去閾値の設定精度を高め、プリスキヤンを行
なうことなく更に高画質な地肌除去を行なうことができ
る。According to the fifth aspect of the present invention, the accuracy of setting the background removal threshold is improved by creating a recording signal that does not require background removal at the time of the first scan, and background removal with higher image quality can be performed without performing pre-scanning. Can be.
【0027】請求項6の発明によれば、スキャナの特性
がスキヤン時に変動した場合においてもプリスキヤンを
行なうことなく高精度な地肌除去閾値の設定ができ画質
を向上させることができる。According to the sixth aspect of the invention, even when the characteristics of the scanner fluctuate during scanning, a highly accurate background removal threshold can be set without performing pre-scanning, and the image quality can be improved.
【図1】本発明の画像処理装置の一実施例の機能ブロッ
クを示す図。FIG. 1 is a diagram showing functional blocks of an embodiment of an image processing apparatus according to the present invention.
【図2】本発明の地肌除去部の実施例を示す図。FIG. 2 is a view showing an embodiment of a background removing unit according to the present invention.
【図3】本発明の地肌除去閾値生成部の実施例を示す
図。FIG. 3 is a diagram showing an embodiment of a background removal threshold generation unit according to the present invention.
【図4】濃度間隔5のヒストグラム例を示す図。FIG. 4 is a diagram showing an example of a histogram at a density interval of 5;
【図5】画素値に応じて局所的なリアルタイム処理によ
る地肌除去閾値生成部を示す図。FIG. 5 is a diagram illustrating a background removal threshold generation unit that performs local real-time processing according to pixel values.
【図6】テーブルfを示す図。FIG. 6 is a diagram showing a table f.
【図7】テーブルgを示す図。FIG. 7 is a diagram showing a table g.
【図8】全画素と地肌濃度レベルの関係を示す図。FIG. 8 is a diagram showing a relationship between all pixels and a background density level.
1 画像入力装置 2 スキャナγ変換部 3 色補正部 4 下色除去部 5 地肌除去部 6 プリンタγ変換部 7 画像出力装置 8 地肌除去閾値生成部 9 地肌判定部 10 地肌濃度変換部 11 ヒストグラム生成部 12 地肌除去閾値レジスタ 13 無彩色判定部 14 濃度レベル判定部 15 Max(R,G,B)保持部 16 地肌除去閾値メモリ REFERENCE SIGNS LIST 1 image input device 2 scanner γ conversion unit 3 color correction unit 4 under color removal unit 5 background removal unit 6 printer γ conversion unit 7 image output device 8 background removal threshold generation unit 9 background determination unit 10 background density conversion unit 11 histogram generation unit 12 background removal threshold register 13 achromatic determination unit 14 density level determination unit 15 Max (R, G, B) holding unit 16 background removal threshold memory
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI H04N 1/407 H04N 1/04 D (58)調査した分野(Int.Cl.7,DB名) H04N 1/46 - 1/64 H04N 1/40 - 1/409 G06T 1/00 510 G06T 5/00 100 ──────────────────────────────────────────────────の Continuing on the front page (51) Int.Cl. 7 identification symbol FI H04N 1/407 H04N 1/04 D (58) Investigated field (Int.Cl. 7 , DB name) H04N 1/46-1 / 64 H04N 1/40-1/409 G06T 1/00 510 G06T 5/00 100
Claims (6)
デジタル信号にて読出し、面順次でK,C,M,Yの記
録信号を得る色補正処理手段を有する画像処理装置にお
いて、 ファーストスキャン時に、画像の濃度ヒストグラムをと
って原稿の地肌濃度レベルを検出し、該検出結果を地肌
除去の閾値として記憶する地肌除去閾値生成手段と、 セカンドスキャン以降に、前記記憶された閾値を用い
て、画像の地肌を検出し、該検出結果に基づいて、地肌
と判定された画素の濃度値を0にするかまたは周辺画素
の濃度値に応じて適応的に変化する値を当該地肌と判定
された画素の濃度値から減じることで地肌の濃度を下げ
る地肌除去手段と、 を具備することを特徴とする画像処理装置。An image processing apparatus having a color correction processing means for reading an original with R, G, and B digital signals by an image reading apparatus and obtaining K, C, M, and Y recording signals in a frame-sequential manner. When scanning, the density histogram of the image
What detecting the background density level of the original, and background elimination threshold generating means for storing the detection result as the threshold value for background elimination, since the second scan, using the stored threshold value, detects the background of the image, Based on the detection result,
The density value of the pixel determined to be 0 or a peripheral pixel
Value that changes adaptively according to the density value of
The density of the background by subtracting from the density value of the pixel
The image processing apparatus characterized by comprising a background elimination unit that, the.
デジタル信号にて読出し、面順次でC,M,Yの記録信
号を得る色補正処理手段を有する画像処理装置におい
て、 ファーストスキャン時に、画像の濃度ヒストグラムをと
って原稿の地肌濃度レベルを検出し、該検出結果を地肌
除去の閾値として記憶する地肌除去閾値生成手段と、 セカンドスキャン以降に、前記記憶された閾値を用い
て、画像の地肌を検出し、該検出結果に基づいて、地肌
と判定された画素の濃度値を0にするかまたは周辺画素
の濃度値に応じて適応的に変化する値を当該地肌と判定
された画素の濃度値から減じることで地肌の濃度を下げ
る地肌除去手段と、を具備することを特徴とする画像処
理装置。2. An image processing apparatus which has a color correction processing means for reading an original with R, G, B digital signals by an image reading apparatus and obtaining C, M, Y recording signals in a frame-sequential manner. And image density histogram
What detecting the background density level of the original, and background elimination threshold generating means for storing the detection result as the threshold value for background elimination, since the second scan, using the stored threshold value, detects the background of the image, Based on the detection result,
The density value of the pixel determined to be 0 or a peripheral pixel
Value that changes adaptively according to the density value of
The density of the background by subtracting from the density value of the pixel
The image processing apparatus characterized by comprising a background elimination unit that, the.
た任意の閾値を設定する手段を有し、 地肌除去手段は、ファーストスキャン時に、前記設定さ
れた閾値を用いて、画像の地肌を検出し、該検出結果に
基づいて、地肌と判定された画素の濃度値を0 にするか
または周辺画素の濃度値に応じて適応的に変化する値を
当該地肌と判定された画素の濃度値から減じることで地
肌の濃度を下げることを特徴とする請求項1又は2記載
の画像処理装置。3. Prior to first scan comprises means for setting an arbitrary threshold value determined in advance, background removal means during first scan, using the set threshold, and detects the background of the image, the In the detection result
Based on whether the density value of the pixel determined to be the background is 0
Or a value that changes adaptively according to the density value of the surrounding pixels
By subtracting from the density value of the pixel determined to be the background,
3. The image processing apparatus according to claim 1 , wherein the density of the skin is reduced .
キャン時に、各画素値に応じてリアルタイムに地肌除去
の閾値を決定し、該閾値を用いて地肌除去を行うととも
に該閾値を記憶することを特徴とする請求項1又は2記
載の画像処理装置。4. The background removal threshold generation means determines a background removal threshold in real time according to each pixel value during a first scan, performs background removal using the threshold, and stores the threshold. The image processing apparatus according to claim 1 or 2, wherein
を作成することを特徴とする請求項1記載の画像処理装
置。5. The image processing apparatus according to claim 1, wherein a K-version recording signal is generated during the first scan.
デジタル信号にて読出し、面順次で記録信号を得る色補
正処理手段を有する画像処理装置において、各スキャン
時に、画像の濃度ヒストグラムをとって原稿の地肌濃度
レベルを検出し、当該スキャン時に得られた地肌濃度レ
ベルとそれ以前のスキャン時に得られた地肌濃度レベル
との演算により次スキャン時の地肌除去閾値を決定し、
該決定した地肌除去閾値を記憶する地肌除去閾値生成手
段と、 セカンドスキャン以降に、前記記憶された当該スキャン
時のための地肌除去閾値を用いて、画像の地肌を検出
し、該検出結果に基づいて、地肌と判定された画素の濃
度値を0にするかまたは周辺画素の濃度値に応じて適応
的に変化する値を当該地肌と判定された画素の濃度値か
ら減じることで地肌の濃度を下げる地肌除去手段と、 を具備することを特徴とする画像処理装置。6. The image reading an original by device R, G, read by the digital signal B, the image processing apparatus having a color correction processing means for obtaining a sequential recording signal plane, at each scan, the density histogram of the image taken by detecting the background density level of the original, by a calculation between said background density levels obtained when scanning the previous background density level obtained during scanning to determine the background removal threshold of the next scan,
A background removal threshold generation unit that stores the determined background removal threshold; and, after the second scan, the background of the image is detected using the stored background removal threshold for the scan , based on the detection result. The density of pixels determined to be background
Set the degree value to 0 or adapt according to the density value of surrounding pixels
Is the density value of the pixel determined to be the background color
An image processing apparatus comprising: a background removing unit that reduces the density of the background by reducing the background density .
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP05074194A JP3263232B2 (en) | 1994-03-22 | 1994-03-22 | Image processing device |
| US08/877,902 US5850298A (en) | 1994-03-22 | 1997-06-18 | Image processing device eliminating background noise |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP05074194A JP3263232B2 (en) | 1994-03-22 | 1994-03-22 | Image processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07264421A JPH07264421A (en) | 1995-10-13 |
| JP3263232B2 true JP3263232B2 (en) | 2002-03-04 |
Family
ID=12867271
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP05074194A Expired - Fee Related JP3263232B2 (en) | 1994-03-22 | 1994-03-22 | Image processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3263232B2 (en) |
-
1994
- 1994-03-22 JP JP05074194A patent/JP3263232B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07264421A (en) | 1995-10-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5850298A (en) | Image processing device eliminating background noise | |
| JP3327617B2 (en) | Image processing apparatus using halftone adaptive scanning to obtain good printable images | |
| KR950009697B1 (en) | Area dis criminating systems for an image processing system | |
| US20060187246A1 (en) | Image processor, image processing method, program that makes computer execute the method, and recording medium | |
| US6728418B1 (en) | Image read apparatus and method that can obtain favorable readout image | |
| JPH03248674A (en) | Half-tone picture processor | |
| JP3263232B2 (en) | Image processing device | |
| JP3578878B2 (en) | Image processing device | |
| JPH10283470A (en) | Image processor, image processing method and recording medium | |
| JP4228466B2 (en) | Image processing apparatus, image processing method, and computer-readable storage medium storing image processing procedure | |
| JPH0722327B2 (en) | Color image processor | |
| JPH0877350A (en) | Image processor | |
| JP3316077B2 (en) | Background density level detector | |
| JP3587740B2 (en) | Image processing device | |
| JP3330406B2 (en) | Image processing device | |
| JP2002185791A (en) | Image processing apparatus, image processing method, recording medium, and image forming apparatus | |
| JP3330408B2 (en) | Image processing device | |
| JPH07274017A (en) | Image processing device | |
| JP2672541B2 (en) | Image processing device | |
| JP2937368B2 (en) | Color image processing equipment | |
| JP4056275B2 (en) | Image processing device | |
| JPH05114999A (en) | Image recorder | |
| JP3448083B2 (en) | Image signal processing device | |
| JP2988093B2 (en) | How to adjust the density of a binary image | |
| JPH0561677B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071221 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081221 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081221 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091221 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101221 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |