JPH04313744A - Surface removing system for image recorder - Google Patents
Surface removing system for image recorderInfo
- Publication number
- JPH04313744A JPH04313744A JP3007573A JP757391A JPH04313744A JP H04313744 A JPH04313744 A JP H04313744A JP 3007573 A JP3007573 A JP 3007573A JP 757391 A JP757391 A JP 757391A JP H04313744 A JPH04313744 A JP H04313744A
- Authority
- JP
- Japan
- Prior art keywords
- density
- value
- threshold
- histogram
- background removal
- 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
Links
- 238000005070 sampling Methods 0.000 claims abstract description 26
- 238000000034 method Methods 0.000 claims description 11
- 238000001514 detection method Methods 0.000 description 15
- 239000003086 colorant Substances 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000007257 malfunction Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000003705 background correction Methods 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000010902 straw Substances 0.000 description 1
Landscapes
- Exposure Or Original Feeding In Electrophotography (AREA)
- Control Of Exposure In Printing And Copying (AREA)
- Control Or Security For Electrophotography (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、複写機、ファクシミリ
、プリンタ等の画像記録装置における地肌除去に関する
。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to background removal in image recording apparatuses such as copying machines, facsimiles, and printers.
【0002】0002
【従来の技術】複写機やファクシミリ、プリンタ等の画
像記録装置では、通常の白地の用紙を用いた原稿だけで
なく、例えば新聞や藁半紙、再生紙、青図等、様々な地
肌濃度を有する用紙を用いた原稿が読み取りの対象とさ
れている。このような通常の白地用紙以外の用紙を用い
た原稿は地肌濃度が高いため、デジタル系の複写機にお
いては、CCDセンサ等の原稿読み取り手段で読み取っ
た画像データをそのまま出力すると、原稿の地肌も再現
されてしまい、汚れたものとなってしまう。そこで、画
像記録装置においては、このような地肌が一定の濃度を
持った原稿に対して地肌を除去するために、地肌除去回
路が設けられるのが一般的である。その例を図6に示す
。図6は本出願人が先に提案したリアルタイム地肌除去
方式の概略構成を示す図であり、地肌レベル検出部1に
は所定のビット数、例えば8ビットの濃度データが入力
される。このようなデジタル濃度データは、フルカラー
センサから出力される緑(G)、青(B)、赤(R)の
3色アナログ信号にシェーディング補正等の所定の信号
処理を施した後デジタル化し、所定の演算を施すことに
よって得ることができることは当業者に明らかである。
なお、このようにフルカラーセンサを用いた画像記録装
置においては、黒色以外の色も記録することが可能であ
り、従って当該画素の濃度データ以外にも当該画素がど
のような色であるかを示すカラーフラグも必要となるが
、本質的な事項ではないので図6では省略している。[Prior Art] Image recording devices such as copying machines, facsimile machines, and printers handle not only originals using normal white paper, but also paper with various background densities, such as newspapers, straw paper, recycled paper, blueprints, etc. Manuscripts using this are subject to reading. Originals using paper other than normal white paper have a high background density, so if digital copying machines output the image data read by a document reading device such as a CCD sensor as is, the background of the original will also be affected. It ends up being reproduced and becomes unclean. Therefore, in an image recording apparatus, a background removal circuit is generally provided in order to remove the background from a document having a constant density. An example is shown in FIG. FIG. 6 is a diagram showing a schematic configuration of a real-time background removal method previously proposed by the present applicant, in which density data of a predetermined number of bits, for example 8 bits, is input to the background level detection section 1. Such digital density data is obtained by performing predetermined signal processing such as shading correction on three-color analog signals of green (G), blue (B), and red (R) output from a full-color sensor, and then digitizing them. It is clear to those skilled in the art that it can be obtained by performing the calculation. In addition, in an image recording device that uses a full-color sensor as described above, it is possible to record colors other than black, and therefore, it is possible to record colors other than black, and therefore it is possible to record information that indicates what color the pixel is in addition to the density data of the pixel. Although a color flag is also required, it is omitted in FIG. 6 because it is not an essential matter.
【0003】地肌レベル検出部1における地肌レベル検
出は次のように行われる。地肌レベル検出部1には制御
部3から最大地肌検出レベルMSLと最小地肌検出レベ
ルLSLが供給されており、図7に示すように、この二
つのレベルの範囲が地肌濃度範囲となる。そしていま、
図7の4で示すような濃度データが入力されたとすると
、地肌レベル検出部1は濃度データをそのまま地肌除去
部2に出力すると共に、入力濃度データの中から所定の
画素毎にサンプリングを行う。図7では、4画素に1画
素の割合で濃度データを取り込むようになされており、
「*」が付された画素が取り込まれる。そして、取り込
んだ濃度データが地肌濃度範囲にあるか否かを判断し、
地肌濃度範囲内にあるサンプルデータのみを所定画素分
、図7では4サンプル画素分だけ平均し、その結果を検
出地肌レベルDLとして地肌除去部2に出力する。
この結果、検出地肌レベルDLは、図7に示すように地
肌濃度に追随して変化することになる。Background level detection in the background level detection section 1 is performed as follows. The maximum background detection level MSL and the minimum background detection level LSL are supplied to the background level detection unit 1 from the control unit 3, and as shown in FIG. 7, the range of these two levels becomes the background density range. and now,
When density data as shown by 4 in FIG. 7 is input, the background level detection section 1 outputs the density data as is to the background removal section 2, and samples each predetermined pixel from the input density data. In FIG. 7, density data is imported at a rate of 1 in 4 pixels.
Pixels marked with "*" are captured. Then, it is determined whether the imported density data is within the background density range,
Only sample data within the background density range is averaged for a predetermined number of pixels, four sample pixels in FIG. 7, and the result is output to the background removal section 2 as a detected background level DL. As a result, the detected background level DL changes following the background density as shown in FIG.
【0004】以上の一連の動作を主走査の1ライン毎に
繰り返し行い、次の主走査ラインの開始時には直前のラ
インの最後のDL値をクリアして、検出地肌レベルDL
として、制御部3から供給される初期除去レベルILを
出力する。地肌除去部2は、入力された検出地肌レベル
DLに制御部3から供給されるオフセット値OFSET
を加算して地肌除去レベルとし、この地肌除去レベルと
入力される濃度データとを比較し、濃度データが地肌除
去レベル以上である場合には入力された濃度データをそ
のまま出力し、地肌除去レベル未満である場合には濃度
値を零として出力する。これによって画像部分の濃度は
変えずに地肌部分の濃度だけを除去することができる。The above series of operations is repeated for each main scanning line, and at the start of the next main scanning line, the last DL value of the previous line is cleared, and the detected background level DL is cleared.
, the initial removal level IL supplied from the control unit 3 is output. The background removal unit 2 uses an offset value OFSET supplied from the control unit 3 to the input detected background level DL.
is added to obtain the background removal level, this background removal level is compared with the input density data, and if the density data is equal to or higher than the background removal level, the input density data is output as is, and the value is lower than the background removal level. If so, the density value is output as zero. This allows only the density of the background portion to be removed without changing the density of the image portion.
【0005】また、A3の原稿長でプリスキャンを行い
、所定の濃度エリア毎のヒストグラムを作成し、ヒスト
グラムの度数の最大値から地肌除去の閾値を求めたり、
ヒストグラムの度数の最大値より高濃度側において、最
大値の次に多い度数の濃度エリアを基に閾値を求めたり
するヒストグラム地肌除去方式も知られている。[0005] Also, prescanning is performed on an A3 document length, a histogram is created for each predetermined density area, and a threshold value for background removal is determined from the maximum frequency of the histogram.
A histogram background removal method is also known in which a threshold value is determined based on the density area with the next highest frequency on the higher density side than the maximum frequency of the histogram.
【0006】[0006]
【発明が解決しようとする課題】上記従来のリアルタイ
ム地肌除去方式によれば、地肌除去レベルは逐次原稿の
濃度レベルを監視して得られるので、地肌濃度が一様で
ない場合においてもそれに応じた地肌除去レベルを求め
ることができるが、しかしながら、実際の画像の濃度も
地肌レベル決定の対象となるので、画像の内容によって
地肌除去レベルが変動し、その結果不自然な地肌除去が
行われるという問題があった。[Problems to be Solved by the Invention] According to the conventional real-time background removal method, the background removal level is obtained by sequentially monitoring the density level of the original, so even if the background density is not uniform, the background removal level can be adjusted accordingly. However, since the density of the actual image is also subject to determining the background level, the background removal level varies depending on the image content, resulting in unnatural background removal. there were.
【0007】また、上記従来のヒストグラム地肌除去方
式の場合、画像の内容の影響は少なくなるが、ヒストグ
ラム度数の最大値から閾値を求めると、最大値より濃い
濃度エリアの地肌部分は除去されないという問題がある
。また、最大値より高濃度側において、最大値の次に多
い度数のエリアから閾値を求めても同様の問題がある。
更に、これらの方式は、ヒストグラムの最大値を求める
段階で、それまでに最大であった値を保持し、その値と
比較し、新たな最大値に変更する必要があり、処理が複
雑となり、高速化の点で問題があった。[0007] In addition, in the case of the conventional histogram background removal method, the influence of the image content is reduced, but when the threshold value is determined from the maximum value of the histogram frequency, the problem is that the background part in the density area darker than the maximum value is not removed. There is. Furthermore, the same problem occurs even if the threshold value is determined from the area with the next highest frequency on the higher density side than the maximum value. Furthermore, in these methods, when calculating the maximum value of the histogram, it is necessary to hold the maximum value up to that point, compare it with that value, and change it to the new maximum value, which makes the processing complicated. There was a problem with speeding up.
【0008】本発明は、上記の課題を解決するものであ
って、原稿の地肌と画像とを有効に分離して最適な地肌
除去レベルを得ることができる画像記録装置の地肌除去
方式を提供することを目的とするものである。The present invention solves the above-mentioned problems and provides a background removal method for an image recording apparatus that can effectively separate the background of a document from an image to obtain an optimal background removal level. The purpose is to
【0009】[0009]
【課題を解決するための手段及び作用】サンプリング部
13は、プリスキャン時に読み取った原稿の画像データ
を主走査方向に所定の間隔でサンプリングする。同時に
主走査方向及び副走査方向のゲート信号を発生する。サ
ンプリングデータ及びゲート信号はヒストグラム作成部
14に入力され、所定の濃度エリア毎のヒストグラムが
作成される。地肌除去レベル決定部15は、このヒスト
グラムの度数を高濃度側からサーチし、しょていの値を
最初に越える濃度エリアを検知し、それに対応する地肌
除去濃度の閾値を求める。決定された閾値はコピースキ
ャン時に地肌除去部11に与えられる。地肌除去部11
は濃度が前記閾値以下の画素については濃度値を零とし
て出力し、濃度が前記閾値の所定倍数を越える画素につ
いては入力された濃度値をそのまま出力し、濃度が前記
閾値を越え、且つ前記閾値の所定倍数以下の画素につい
ては入力濃度値を所定倍して出力する。以上により、各
原稿毎に最適な一定閾値が決定され、その閾値に基づい
て地肌除去が行われるので、綺麗な地肌除去を行うこと
ができる。[Means and Operations for Solving the Problems] The sampling unit 13 samples image data of a document read during prescanning at predetermined intervals in the main scanning direction. At the same time, gate signals in the main scanning direction and the sub-scanning direction are generated. The sampling data and gate signal are input to the histogram creation section 14, and a histogram for each predetermined density area is created. The background removal level determination unit 15 searches the frequency of this histogram from the high density side, detects the density area that first exceeds the gray value, and determines the corresponding background removal density threshold. The determined threshold value is given to the background removal unit 11 at the time of copy scanning. Skin removal section 11
outputs the density value as zero for pixels whose density is below the threshold value, outputs the input density value as is for pixels whose density exceeds a predetermined multiple of the threshold value, and outputs the input density value as is for pixels whose density exceeds the threshold value and the threshold value. For pixels that are a predetermined multiple or less, the input density value is multiplied by a predetermined value and output. As described above, an optimal constant threshold value is determined for each document, and background removal is performed based on the threshold value, so that beautiful background removal can be performed.
【0010】0010
【実施例】以下、図面を参照しつつ実施例を説明する。
図1は本発明に係る画像記録装置の地肌除去方式を、黒
色と黒色以外の1色の2色で画像記録を行う、いわゆる
プラス1カラーの複写機に適用した場合の一実施例の構
成を示す図であり、図中、10は色分離部(以下、CS
と称す)、11は地肌除去部、12は地肌レベル検出部
、13はサンプリング部、14はヒストグラム作成部、
15は地肌除去レベル決定部を示す。Embodiments Hereinafter, embodiments will be described with reference to the drawings. FIG. 1 shows the configuration of an embodiment in which the background removal method of the image recording apparatus according to the present invention is applied to a so-called plus one color copying machine that records images in two colors: black and one color other than black. In the figure, 10 is a color separation unit (hereinafter referred to as CS).
), 11 is a background removal section, 12 is a background level detection section, 13 is a sampling section, 14 is a histogram creation section,
Reference numeral 15 indicates a background removal level determining section.
【0011】フルカラーセンサ(図1には図示せず)か
ら出力され、シェーディング補正等の所定の信号処理が
施され、所定のビット数、例えば8ビットにデジタル化
されたG,B,Rの濃度データはCS10に入力される
。CS10は入力されたG,B,Rの濃度に基づいて、
当該画素が指定された色(以下、有彩色と称す)か、ま
たは黒を含めたそれ以外の色(以下、無彩色と称す)か
を判断し、濃度データと、各種のフラグ、図1ではメイ
ンカラーフラグ(MCF)及びサブカラーフラグ(SC
F)、を出力する。ここで、MCFとSCFは画素が有
彩色か無彩色かを示すフラグであり、例えば、MCFは
無彩色の画素で、且つ濃度が所定の値、例えば濃度範囲
が絶対白から絶対黒まで256階調とした場合10〜2
0程度の値、以上の時にのみ「1」、それ未満のときは
「0」となされ、SCFは有彩色の画素で、且つ濃度が
所定の値、例えば上記の濃度範囲では「1」、以上の時
にのみ1となされ、濃度が零のときは「0」となされる
。黒とその外の1色の2色を記録する場合には、画素は
有彩色か無彩色のいずれかであるから、画素が無彩色か
有彩色かを示すフラグは一つで足りるが、上記のように
MCFとSCFの2種類のフラグを用いるのは次のよう
な理由による。即ち、人間に白と見える部分もフルカラ
ーセンサで読み取ると極小さい値ではあるが零以外のあ
る濃度値を有している。従って、一つのフラグで無彩色
と有彩色を区別する場合には、その濃度で出力されるこ
とになり、絶対白ではなく、ある零でない濃度を持って
出力されることになる。しかし、このようなことは望ま
しいことではなく、無彩色で小さい濃度値を有する画素
は実際は絶対白で出力するのが望ましいものである。そ
こで、無彩色と有彩色の区別を行うフラグ、この場合S
CFと、無彩色の画素について絶対白で出力するか、読
み取って得られた濃度で出力するかを区別するフラグ、
この場合MCF、の二種類のフラグを用いるのである。
従って、最終段の画像出力部ではMCF=0となされた
画素は、実際はある濃度を有するが、絶対白、即ち濃度
零として扱われる。CS10から出力された濃度データ
は地肌除去部11及び地肌レベル検出部12に供給され
、二つのフラグMCF,SCFは地肌除去部11に供給
される。G, B, and R densities output from a full color sensor (not shown in FIG. 1), subjected to predetermined signal processing such as shading correction, and digitized into a predetermined number of bits, for example, 8 bits. Data is input to CS10. CS10 is based on the input concentrations of G, B, and R.
It is determined whether the pixel is a specified color (hereinafter referred to as a chromatic color) or any other color including black (hereinafter referred to as an achromatic color), and the density data and various flags, as shown in Figure 1, are determined. Main color flag (MCF) and sub color flag (SC)
F). Here, MCF and SCF are flags indicating whether the pixel is chromatic or achromatic. For example, MCF is an achromatic pixel and the density is a predetermined value, for example, the density range is 256 steps from absolute white to absolute black. 10 to 2 in tonality
When the value is around 0, it is set as "1", and when it is less than that, it is set as "0", and the SCF is a chromatic pixel and the density is a predetermined value, for example, in the above density range, it is set as "1" or above. It is set to 1 only when the density is zero, and it is set to ``0'' when the density is zero. When recording two colors, black and one other color, the pixel is either chromatic or achromatic, so one flag indicating whether the pixel is achromatic or chromatic is sufficient, but the above The reason for using two types of flags, MCF and SCF, is as follows. That is, even a portion that appears white to humans has a density value other than zero when read by a full-color sensor, although it is an extremely small value. Therefore, when a single flag is used to distinguish between an achromatic color and a chromatic color, the color will be output at that density, and will not be absolute white but will be output at a certain non-zero density. However, this is not desirable, and it is actually desirable that pixels having achromatic colors and small density values be output as absolute white. Therefore, a flag that distinguishes between achromatic colors and chromatic colors, in this case S
CF and a flag that distinguishes whether to output absolute white or the density obtained by reading for achromatic pixels,
In this case, two types of flags, MCF, are used. Therefore, in the final image output section, a pixel for which MCF=0 actually has a certain density, but is treated as absolute white, that is, a density of zero. The density data output from the CS 10 is supplied to the background removal section 11 and the background level detection section 12, and the two flags MCF and SCF are supplied to the background removal section 11.
【0012】さて、本発明においては地肌レベルの検出
はプリスキャン時に行われる。従って、図1の構成にお
いて、スタートボタン(図示せず)が押下されるとフル
カラーセンサを含むイメージングユニットが動作し、原
稿画像の読み取りが行われ、CS10からは濃度データ
、MCF,SCFが出力され、地肌レベル検出部12は
地肌レベル検出の動作を行う。この動作は次のようであ
る。Now, in the present invention, detection of the background level is performed at the time of pre-scanning. Therefore, in the configuration shown in FIG. 1, when the start button (not shown) is pressed, the imaging unit including the full color sensor operates, the document image is read, and the density data, MCF, and SCF are output from the CS 10. , the background level detection section 12 performs the operation of detecting the background level. This operation is as follows.
【0013】まずサンプリング部13は、入力される濃
度データを、主走査方向(FS)について所定の間隔で
サンプリングする。FS方向のサンプリングは、通常の
サンプリングのように所定の間隔で濃度データを取り込
むというのではなく、所定の画素数の濃度データを監視
し、その中の最小の濃度値を当該サンプリング範囲の濃
度として取り込むことによってサンプリングを行うもの
である。例えば96画素間隔でサンプリングを行うもの
とすると、サンプリング部13は、当該主走査ラインの
最初の96画素を監視してその中の最小濃度を取り込み
、次に、その次の96画素、即ち、第97番目の画素か
ら第192番目の画素までを監視して、その中の最小濃
度値を取り込む動作を1ラインについて繰り返し行うの
である。また、副走査方向(SS)については所定のラ
イン数、例えば96ライン間隔でゲートを行ない、FS
方向のサンプリング信号を有効とすることによって得た
ゲート信号により、ヒストグラム作成部14のゲーティ
ングを行うことでサンプリングを行う。First, the sampling unit 13 samples the input density data at predetermined intervals in the main scanning direction (FS). Sampling in the FS direction does not involve capturing density data at predetermined intervals like normal sampling, but instead monitors the density data of a predetermined number of pixels and takes the minimum density value as the density in the sampling range. Sampling is performed by capturing the data. For example, if sampling is performed at intervals of 96 pixels, the sampling unit 13 monitors the first 96 pixels of the main scanning line, captures the minimum density among them, and then samples the next 96 pixels, that is, the first 96 pixels. The operation of monitoring the 97th pixel to the 192nd pixel and capturing the minimum density value among them is repeated for each line. In addition, in the sub-scanning direction (SS), gates are performed at a predetermined number of lines, for example, at intervals of 96 lines, and the FS
Sampling is performed by gating the histogram creation unit 14 using a gate signal obtained by validating the direction sampling signal.
【0014】SS方向のサンプリング間隔は任意に設定
できるが、設定したサンプリング間隔は固定される。従
って、プリスキャンの速度が変更された場合には、SS
方向のサンプリングが所定のライン間隔、例えば96ラ
イン間隔で正しく行われるように、サンプリングライン
をゲートする信号のタイミングが調整される。具体的に
は次のようである。プリスキャンが常に原稿がプラテン
上に載置された状態で行われるのであれば、プリスキャ
ンの速度は常に一定となるが、自動原稿送り装置あるい
は両面自動原稿送り装置が用いられる場合には、単位時
間当りのコピー枚数を向上させるために、原稿の引き込
み時にイメージングユニットを動作させ、プリスキャン
時間を短縮することが行われる。このときには原稿をプ
ラテン上に配置してプリスキャンを行う場合に比較して
相対速度が大きくなるので、サンプリングラインをゲー
トするための信号のタイミングも異なってくる。そこで
、例えば図2に示すように、分周比設定回路22に、プ
ラテンモードでの分周比、自動原稿送り装置を使用した
場合の分周比、両面自動原稿送り装置を使用した場合の
分周比等、種々のモードでの分周比を予め設定しておき
、制御装置(図示せず)から指示されたモードに応じた
分周比をSS方向分周器21に設定するようにする。
これによってSS方向分周器21は、クロックCLK、
例えばライン同期信号用パルスを設定された分周比に分
周することができるので、所定のライン間隔でSS方向
のサンプリングを行うことができる。なお、FS方向分
周器20はビデオクロックVCLKを固定の分周比で分
周する。そして、FS方向分周器20とSS方向分周器
21の出力はアンド回路23に入力され、その出力がゲ
ート信号としてヒストグラム作成部14に供給される。Although the sampling interval in the SS direction can be set arbitrarily, the set sampling interval is fixed. Therefore, if the prescan speed is changed, the SS
The timing of the signal gating the sampling lines is adjusted so that the directional sampling occurs correctly at a predetermined line spacing, eg, 96 line spacing. Specifically, it is as follows. If prescanning is always performed with the document placed on the platen, the prescanning speed will always be constant, but if an automatic document feeder or duplex automatic document feeder is used, the unit speed will be constant. In order to increase the number of copies per unit of time, an imaging unit is operated when a document is pulled in to shorten the prescan time. At this time, the relative speed is greater than when prescanning is performed with the document placed on the platen, so the timing of the signal for gating the sampling line also differs. For example, as shown in FIG. 2, the frequency division ratio setting circuit 22 includes a frequency division ratio in the platen mode, a frequency division ratio when an automatic document feeder is used, and a frequency division ratio when a double-sided automatic document feeder is used. Frequency division ratios in various modes, such as frequency ratio, are set in advance, and the frequency division ratio according to the mode instructed by the control device (not shown) is set in the SS direction frequency divider 21. . As a result, the SS direction frequency divider 21 outputs the clock CLK,
For example, since the line synchronization signal pulse can be frequency-divided to a set frequency division ratio, sampling in the SS direction can be performed at predetermined line intervals. Note that the FS direction frequency divider 20 divides the video clock VCLK at a fixed frequency division ratio. The outputs of the FS direction frequency divider 20 and the SS direction frequency divider 21 are input to an AND circuit 23, and the output thereof is supplied to the histogram creation section 14 as a gate signal.
【0015】サンプリング部13でサンプリングされた
濃度データとゲート信号はヒストグラム作成部14に供
給され、所定の濃度エリア毎のヒストグラムが作成され
る。ヒストグラムの例を図3に示す。図3においては、
濃度階調を0〜255の256階調とした場合において
、濃度が0〜143の範囲について、0〜8の9つの濃
度エリアが設定されている。即ち、この場合には地肌レ
ベルは濃度値が143以下であるものとなされている。
各濃度エリアの濃度範囲は図3Bに示すようである。The density data and gate signal sampled by the sampling section 13 are supplied to a histogram creation section 14, where a histogram for each predetermined density area is created. An example of a histogram is shown in FIG. In Figure 3,
When the density gradation is set to 256 gradations from 0 to 255, nine density areas from 0 to 8 are set for the density range from 0 to 143. That is, in this case, the background level has a density value of 143 or less. The density range of each density area is as shown in FIG. 3B.
【0016】このように濃度範囲を重複して濃度エリア
を設定することは重要である。なぜなら、例えば濃度エ
リアとして、図3の濃度エリア0,2,4,6,8のみ
を設定した場合には、微妙な濃度差で両方の濃度範囲に
跨るような濃度の場合には、同一の原稿でも場合によっ
てヒストグラムの形状が格好が異なり、その結果地肌レ
ベルの検出に誤動作を生じることがある。例えば、微妙
な濃度差がある場合には、同じ原稿の同じ位置であって
も、あるときには濃度が11と認識されたり、またある
ときには12と認識されたりすることがあり、その時々
によってヒストグラムの形状が異なってくる場合がある
。そこで、このような場合の誤動作を防止するために図
3に示すように濃度範囲を重複して濃度エリアを設定し
ているのである。図3の濃度エリアによれば、例えば濃
度11は濃度エリア0にもカウントされ、濃度エリア1
にもカウントされるので、上記のような誤動作を回避す
ることができることは明らかである。以上のようにヒス
トグラム作成部14は、ゲート信号が入力される度毎に
サンプリングデータに該当する濃度エリアのカウントア
ップを行う。但しサンプリングデータの濃度値が144
以上である場合には無視することは上述した通りである
。It is important to set density areas with overlapping density ranges in this way. This is because, for example, if only density areas 0, 2, 4, 6, and 8 in Figure 3 are set as density areas, if the density spans both density ranges with a slight difference in density, the same density Even in manuscripts, the shape of the histogram varies depending on the case, which may result in malfunctions in detecting the background level. For example, if there is a slight difference in density, even at the same position on the same document, the density may be recognized as 11 at one time, and 12 at another, and the histogram may change depending on the situation. The shape may vary. Therefore, in order to prevent malfunctions in such cases, density areas are set so that the density ranges overlap, as shown in FIG. According to the density areas in FIG. 3, for example, density 11 is also counted as density area 0, and density area 1
It is clear that the above-mentioned malfunctions can be avoided because the number is also counted. As described above, the histogram creation unit 14 counts up the density areas corresponding to the sampling data every time the gate signal is input. However, the concentration value of the sampling data is 144.
As described above, if it is more than that, it is ignored.
【0017】プリスキャンが終了するとヒストグラム作
成が完了し、地肌除去レベル決定部15は作成されたヒ
ストグラムに基づいて地肌除去レベルを決定する。その
動作は次のようである。まず、地肌除去レベル決定部1
5は、ヒストグラムの度数を高濃度側からサーチし、予
め設定されている濃度チェック値を最初に越える濃度エ
リアを検知し、検知された濃度エリアに属する地肌スレ
ッシュレベル(DEC)(図3B参照)を求め、更に当
該地肌スレッシュレベル(DEC)に予め設定されてい
るオフセット値(OFST)を加算して地肌除去スレッ
シュレベル(THRD)を得、地肌除去部11に出力す
る。また、濃度チェック値を越える度数が存在しない場
合には、予め定められたスレッシュレベル(OHPT)
、例えば原稿がOHP用紙でも有効に地肌除去を行える
レベルを地肌除去スレッシュレベル(THRD)として
出力する。上記の説明において、濃度チェック値は面積
換算で100cm2 程度の度数に設定しておけば通常
使用されるサイズの原稿に対して最適な地肌除去レベル
を求めることができる。この場合には、例えば名刺等の
ように100cm2 以下の原稿の場合には常にOHP
Tが設定されることになるが、これを避けるためには濃
度チェック値を必要に応じて変更できるようにすればよ
い。When the prescan is completed, the histogram creation is completed, and the background removal level determination unit 15 determines the background removal level based on the created histogram. Its operation is as follows. First, the background removal level determining section 1
5 searches the frequency of the histogram from the high density side, detects the density area that first exceeds a preset density check value, and determines the background threshold level (DEC) belonging to the detected density area (see Figure 3B). Further, a preset offset value (OFST) is added to the background threshold level (DEC) to obtain a background removal threshold level (THRD), which is output to the background removal section 11. In addition, if there is no frequency exceeding the concentration check value, the predetermined threshold level (OHPT)
For example, the level at which the background can be effectively removed even if the original is OHP paper is output as the background removal threshold level (THRD). In the above description, if the density check value is set to a frequency of about 100 cm 2 in terms of area, the optimum background removal level can be determined for a document of a commonly used size. In this case, if the original is 100cm2 or less, such as a business card, please use OHP.
T will be set, but in order to avoid this, the density check value may be changed as necessary.
【0018】以上のようにしてプリスキャン時に求めら
れた地肌除去スレッシュレベル(THRD)は地肌除去
部11に与えられて、コピースキャン時に地肌除去が行
われる。その動作は次のようである。地肌除去部11は
、地肌除去スレッシュレベルTHRDを用いて、図4に
示す入出力特性を設定する。即ち、入力画像データ(濃
度)がTHRD以下の場合には出力画像データを零とし
、入力画像データがTHRDの 1.5倍を越える場合
にはそのまま出力し、入力画像データがTHRDを越え
、且つTHRDの 1.5倍以下である場合には、入力
画像データとTHRDとの差を3倍して出力する。従来
は、THRD以下の画像データは零とし、THRDを越
える画像データはそのまま出力していたのであるが、こ
の場合には画像の輪郭近辺の地肌の濃度が上がる傾向が
あり、この現象は特に複雑な文字の場合に顕著であり、
画像が不自然なものとなっていたが、本発明のように、
零として出力するものと、入力画像データをそのまま出
力するものとの間に所定の傾斜を設けることによって、
従来生じていた出力画像の不自然さを解消することがで
きることが確認されている。なお、この傾斜は種々の実
験により好ましいものであると確認されている傾斜であ
るが、図4とは異なる任意の傾斜に設定することができ
ることは当業者に明らかである。The background removal threshold level (THRD) obtained at the time of pre-scanning as described above is given to the background removal section 11, and background removal is performed at the time of copy scanning. Its operation is as follows. The background removal unit 11 sets the input/output characteristics shown in FIG. 4 using the background removal threshold level THRD. That is, if the input image data (density) is less than or equal to THRD, the output image data is set to zero, if the input image data exceeds 1.5 times THRD, it is output as is, and if the input image data exceeds THRD and If it is less than 1.5 times the THRD, the difference between the input image data and the THRD is multiplied by 3 and output. Conventionally, image data below THRD was set to zero, and image data above THRD was output as is, but in this case, the density of the background near the outline of the image tends to increase, and this phenomenon is particularly complex. This is noticeable in the case of characters such as
The image was unnatural, but like the present invention,
By providing a predetermined slope between what is output as zero and what is output as input image data,
It has been confirmed that it is possible to eliminate the unnaturalness of output images that has conventionally occurred. Although this slope has been confirmed to be preferable through various experiments, it is clear to those skilled in the art that the slope can be set to any slope other than that shown in FIG.
【0019】地肌除去部11は上述した地肌除去の動作
を行うと共に、MCF,SCFの値を補正する。即ち、
上述したように、無彩色の画素については濃度が所定の
レベル以上であるときにはMCFは「1」となされ、有
彩色の画素についても濃度が所定のレベル以上であると
きにはSCFは「1」となされているが、上記の地肌除
去により濃度が零または前記所定のレベル未満になるこ
とがある。そこで、地肌除去部11は、地肌除去によっ
て濃度が所定のレベル未満になった場合、無彩色につい
てはMCFを零と補正し、有彩色についてはSCFを零
と補正する。The background removal section 11 performs the above-mentioned background removal operation and also corrects the values of MCF and SCF. That is,
As described above, when the density of an achromatic pixel is above a predetermined level, the MCF is set to "1", and when the density of a chromatic pixel is above a predetermined level, the SCF is set to "1". However, the density may become zero or less than the predetermined level due to the above-mentioned background removal. Therefore, when the density becomes less than a predetermined level due to background removal, the background removal unit 11 corrects the MCF to zero for achromatic colors, and corrects the SCF to zero for chromatic colors.
【0020】以上がコピースキャン時における地肌除去
部11の動作であるが、プリスキャン時には、THRD
として予め定められた値、例えば80が設定されて、図
5に示す入出力特性が設定される。従って、プリスキャ
ン時には図5に示す入出力特性により地肌除去が行われ
、地肌除去が行われた画像データは原稿サイズ検知部等
、当該地肌除去手段の後段に配置される手段に供給され
る。The above is the operation of the background removal section 11 during copy scanning, but during pre-scanning, THRD
A predetermined value, for example 80, is set as the input/output characteristic shown in FIG. 5. Therefore, during pre-scanning, background removal is performed according to the input/output characteristics shown in FIG. 5, and the image data from which the background has been removed is supplied to a means disposed after the background removal means, such as a document size detection section.
【0021】以上、本発明の一実施例について説明した
が、本発明は上記実施例に限定されるものではなく、種
々の変形が可能であることは当業者に明らかである。Although one embodiment of the present invention has been described above, it is clear to those skilled in the art that the present invention is not limited to the above embodiment, and that various modifications can be made.
【0022】[0022]
【発明の効果】以上の説明から明らかなように、本発明
によれば、原稿毎に最適な地肌除去レベルを決定するこ
とができるので、従来生じていた画像の不自然さを解消
することができる。[Effects of the Invention] As is clear from the above description, according to the present invention, it is possible to determine the optimal background removal level for each document, and therefore it is possible to eliminate the unnaturalness of images that conventionally occurs. can.
【図1】 本発明に係る画像記録装置の地肌除去方式
をプラス1カラーの複写機に適用した場合の一実施例の
構成を示す図である。FIG. 1 is a diagram showing the configuration of an embodiment in which a background removal method of an image recording apparatus according to the present invention is applied to a plus one color copying machine.
【図2】 地肌レベル検出部のサンプリング部の構成
例を示す図である。FIG. 2 is a diagram showing a configuration example of a sampling section of a background level detection section.
【図3】 ヒストグラムの作成を説明するための図で
ある。FIG. 3 is a diagram for explaining creation of a histogram.
【図4】 コピースキャン時に地肌除去部に設定され
る入出力特性の例を示す図である。FIG. 4 is a diagram illustrating an example of input/output characteristics set in a background removal section during copy scanning.
【図5】 プリスキャン時に地肌除去部に設定される
入出力特性の例を示す図である。FIG. 5 is a diagram illustrating an example of input/output characteristics set in the background removal section during pre-scanning.
【図6】 従来の地肌除去方式の構成例を示す図であ
る。FIG. 6 is a diagram showing a configuration example of a conventional background removal method.
【図7】 従来の地肌除去レベル検出の動作を説明す
るための図である。FIG. 7 is a diagram for explaining the operation of conventional background removal level detection.
10…色分離部、11…地肌除去部、12…地肌レベル
検出部、13…サンプリング部、14…ヒストグラム作
成部、14…地肌除去レベル決定部。DESCRIPTION OF SYMBOLS 10... Color separation section, 11... Background removal section, 12... Background level detection section, 13... Sampling section, 14... Histogram creation section, 14... Background removal level determination section.
Claims (2)
データを主走査方向及び副走査方向に所定の間隔でサン
プリングして画素濃度のヒストグラムを作成し、ヒスト
グラムの度数を高濃度側からサーチし、所定の値を最初
に越える濃度エリアの濃度値に基づいて地肌除去濃度の
閾値を求めることを特徴とする画像記録装置の地肌除去
方式。Claim 1: A histogram of pixel density is created by sampling the image data of the document read during pre-scanning at predetermined intervals in the main scanning direction and the sub-scanning direction, and the frequency of the histogram is searched from the high density side to obtain a predetermined value. A background removal method for an image recording apparatus, characterized in that a background removal density threshold is determined based on a density value of a density area that first exceeds a value of .
データを主走査方向及び副走査方向に所定の間隔でサン
プリングして画素濃度のヒストグラムを作成し、ヒスト
グラムの度数を高濃度側からサーチし、所定の値を最初
に越える濃度エリアの濃度値に基づいて地肌除去濃度の
閾値を求め、画像記録を行う際のスキャン時には濃度が
前記閾値以下の画素については濃度値を零として出力し
、濃度が前記閾値の所定倍数を越える画素については入
力された濃度値をそのまま出力し、濃度が前記閾値を越
え、且つ前記閾値の所定倍数以下の画素については入力
濃度値を所定倍して出力することを特徴とする画像記録
装置の地肌除去方式。2. A histogram of pixel density is created by sampling the image data of the document read during pre-scanning at predetermined intervals in the main scanning direction and the sub-scanning direction, and the frequency of the histogram is searched from the high density side to obtain a predetermined value. A threshold value for background removal density is determined based on the density value of the density area that first exceeds the value of For pixels exceeding a predetermined multiple of the threshold value, the input density value is output as is, and for pixels whose density exceeds the threshold value and is less than a predetermined multiple of the threshold value, the input density value is multiplied by a predetermined value and output. Background removal method for image recording devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3007573A JP2886693B2 (en) | 1991-01-25 | 1991-01-25 | Background removal method for image recording device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3007573A JP2886693B2 (en) | 1991-01-25 | 1991-01-25 | Background removal method for image recording device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH04313744A true JPH04313744A (en) | 1992-11-05 |
JP2886693B2 JP2886693B2 (en) | 1999-04-26 |
Family
ID=11669554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3007573A Expired - Fee Related JP2886693B2 (en) | 1991-01-25 | 1991-01-25 | Background removal method for image recording device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2886693B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5850298A (en) * | 1994-03-22 | 1998-12-15 | Ricoh Company, Ltd. | Image processing device eliminating background noise |
WO2000052922A1 (en) * | 1999-03-02 | 2000-09-08 | Seiko Epson Corporation | Image data background judging device, image data background judging method, and medium on which image data background judging control program is recorded |
WO2004080057A1 (en) * | 1997-12-19 | 2004-09-16 | Hiroki Kanno | Image processor |
US6917707B1 (en) | 1999-09-28 | 2005-07-12 | Sharp Kabushiki Kaisha | Image processing method and image processing apparatus |
US8031370B2 (en) | 2007-09-14 | 2011-10-04 | Kabushiki Kaisha Toshiba | Device and method removes background component from image using white reference value and background removal level value |
-
1991
- 1991-01-25 JP JP3007573A patent/JP2886693B2/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5850298A (en) * | 1994-03-22 | 1998-12-15 | Ricoh Company, Ltd. | Image processing device eliminating background noise |
WO2004080057A1 (en) * | 1997-12-19 | 2004-09-16 | Hiroki Kanno | Image processor |
WO2000052922A1 (en) * | 1999-03-02 | 2000-09-08 | Seiko Epson Corporation | Image data background judging device, image data background judging method, and medium on which image data background judging control program is recorded |
US6917707B1 (en) | 1999-09-28 | 2005-07-12 | Sharp Kabushiki Kaisha | Image processing method and image processing apparatus |
US8031370B2 (en) | 2007-09-14 | 2011-10-04 | Kabushiki Kaisha Toshiba | Device and method removes background component from image using white reference value and background removal level value |
Also Published As
Publication number | Publication date |
---|---|
JP2886693B2 (en) | 1999-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5341226A (en) | Automatic image segmentation for color documents | |
EP0557099B1 (en) | Image processing apparatus and method | |
EP0732842B1 (en) | Image processing for removing a background density portion from a scanned document image | |
US7295341B2 (en) | System for processing monochrome and full-color digital image data | |
JP2002232708A (en) | Image processing apparatus, image forming apparatus including the same, and image processing method | |
JP3178541B2 (en) | Image processing method and apparatus | |
JP3134292B2 (en) | Image processing device | |
EP0643528A2 (en) | Image processing apparatus capable of performing marker editing | |
JP4531606B2 (en) | Image processing apparatus, image forming apparatus, and image processing method | |
JP2886693B2 (en) | Background removal method for image recording device | |
JP3316077B2 (en) | Background density level detector | |
JP3738810B2 (en) | Image printing method and apparatus | |
JP3077204B2 (en) | Image reading device | |
JP3767210B2 (en) | Document type determination device and image processing device | |
JPH07154593A (en) | Image processor | |
JP3581756B2 (en) | Image processing device | |
JP3489787B2 (en) | Image processing device | |
JPH06311359A (en) | Background eliminating device | |
JPH06197218A (en) | Image processor | |
JP2002125121A (en) | Image processing method and image processing unit, and image forming device provided with them | |
JP2006270148A (en) | Image processing method, image processor and image forming apparatus | |
JP3359045B2 (en) | Image processing apparatus and image processing method | |
JP3913160B2 (en) | Color image processing apparatus and color image processing method | |
JPH07288657A (en) | Detector for size of original | |
JPH04180349A (en) | Picture processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080212 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090212 Year of fee payment: 10 |
|
LAPS | Cancellation because of no payment of annual fees |