JPH01196971A - Background density sensing method for read picture - Google Patents

Background density sensing method for read picture

Info

Publication number
JPH01196971A
JPH01196971A JP63020679A JP2067988A JPH01196971A JP H01196971 A JPH01196971 A JP H01196971A JP 63020679 A JP63020679 A JP 63020679A JP 2067988 A JP2067988 A JP 2067988A JP H01196971 A JPH01196971 A JP H01196971A
Authority
JP
Japan
Prior art keywords
density
background
value
histogram
read picture
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.)
Pending
Application number
JP63020679A
Other languages
Japanese (ja)
Inventor
Yasuhiko Yamaguchi
恭彦 山口
Hiroshi Kato
浩 加藤
Hiroyuki Yamamoto
裕之 山本
Takashi Hasebe
孝 長谷部
Masahiko Matsunawa
松縄 正彦
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP63020679A priority Critical patent/JPH01196971A/en
Publication of JPH01196971A publication Critical patent/JPH01196971A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate accurately the background by detecting the density of background in response to the density histogram of a read picture. CONSTITUTION:A density data of each picture element of a read picture is outputted from an A/D converter 2 and the density data is counted by a counter 3 for each density and its frequency of occurrence is stored in a memory 4 and the density histogram of one original is generated by the repetition of the processing above. Then the threshold value (background density) to eliminate background is set by the density histogram, a comparator 5 and an arithmetic circuit 6. That is, the density maximum value and the density minimum value are obtained, the tentative background density is detected from the density whose frequency of occurrence is maximum and the density maximum value and the background density is detected from the tentative background density and the density minimum value. Thus, the background of the read picture is eliminated accurately.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、読み取った原稿画像の下地の濃度レベルを検
知する方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for detecting the density level of the background of a read original image.

〔発明の背景〕[Background of the invention]

下地のある原稿としては、単色カラー原稿に文字や記号
を記載したもの、或いは薄いカラーやモノクロの絵の上
に文字や記号を記載したものがある。従来では、このよ
うな下地を有する原稿から下地を除去するには、濃度の
最大値からある程度の下地を画一的に求めて、それ以上
の濃度データを下地データとして処理していた。
Documents with a background include those in which characters and symbols are written on a monochromatic color document, and those in which characters and symbols are written on a light color or monochrome picture. Conventionally, in order to remove the background from a document having such a background, a certain amount of the background has been uniformly determined from the maximum density value, and density data beyond that level has been processed as background data.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

ところが、このように画一的に処理する方法では、ムラ
のある下地の原稿では確実さに欠けて、下地の除去が不
完全となることがあった。
However, this uniform processing method lacks reliability when it comes to originals with uneven backgrounds, and the removal of the background may be incomplete.

本発明の目的は、このような事情に鑑み、読取画像の下
地を正確に除去できるようにすることである。
In view of such circumstances, an object of the present invention is to enable accurate removal of the background of a read image.

〔課題を解決するための手段〕[Means to solve the problem]

このために本発明の下地濃度検知方法は、読み取った画
像データのヒストグラムを作成する第1手順と、該ヒス
トグラムから濃度最大値と濃度最小値を求める第2手順
と、度数最大値の濃度と上記濃度最大値から仮下地濃度
を検知する第3手順と、該仮下地濃度と上記濃度最小値
から下地濃度を検知する第4手順とで構成した。
For this purpose, the background density detection method of the present invention includes a first step of creating a histogram of read image data, a second step of calculating a maximum density value and a minimum density value from the histogram, and a second step of calculating the maximum density value and the minimum density value from the histogram. The procedure consisted of a third step of detecting the temporary base density from the maximum density value, and a fourth step of detecting the base density from the temporary base density and the above-mentioned minimum density value.

〔実施例〕〔Example〕

以下、本発明の実施例について説明する。第2図はその
下地濃度検知処理ブロックを示す図である。原稿画像は
CCD1により読み取られた後、A/D変換器2により
デジタル信号に変換されると同時にシェーディング補正
が施される。これにより、A/D変換器2からは読取画
像の各画素の濃度データが出力する。この濃度データは
濃度毎にカウンタ3によりカウントされて、メモリ4に
その度数が格納され、この繰り返しにより1枚の原稿の
濃度ヒストグラムが作成される。なお、このヒストグラ
ム作成のための原稿読取は、プリスキャンにより予め決
めた数ポイントのデータのみを取り込んで行うこともで
きる。そして、このように作成される濃度ヒストグラム
と比較器5及び演算回路6により、下地除去の闇値(下
地濃度)が設定される。そして、事後の処理によりその
闇値以上の濃度レヘルの画像データがすべて最高濃度値
(つまり白レベル)に変換されて、下地成分が除去され
る。
Examples of the present invention will be described below. FIG. 2 is a diagram showing the base density detection processing block. After the original image is read by the CCD 1, it is converted into a digital signal by the A/D converter 2, and shading correction is performed at the same time. As a result, the A/D converter 2 outputs density data for each pixel of the read image. This density data is counted by the counter 3 for each density, and the frequency is stored in the memory 4, and by repeating this process, a density histogram of one document is created. Note that the document reading for creating this histogram can also be performed by capturing only data of several predetermined points by prescanning. Then, using the density histogram created in this manner, the comparator 5, and the arithmetic circuit 6, a darkness value (background density) for background removal is set. Then, through post-processing, all image data with a density level higher than the darkness value is converted to the highest density value (that is, white level), and the background component is removed.

次に、下地濃度値を検知する方法について第1図を参照
して説明する。
Next, a method for detecting the background density value will be explained with reference to FIG.

■、第1手順:上記したように読取画像データの各画素
から第1図に示すような濃度ヒストグラムを作成する。
(2) First step: As described above, a density histogram as shown in FIG. 1 is created from each pixel of the read image data.

■、第第2順順:読取った画像データの内のサンプル総
数の10%のラインaに交差するヒストグラムの濃度最
大値をDsaX’濃度最小値をDっ8゜とする。これに
より1割ぐらい含まれると考えられるノイズ成分を除去
できる。
(2) Second order: The maximum density value of the histogram that intersects line a of 10% of the total number of samples in the read image data is DsaX' and the minimum density value is D8°. This makes it possible to remove noise components that are thought to be included in about 10%.

■、第3手順:その濃度最大値D mixと度数最大値
の濃度り、との間の濃度差を八とし、その濃度差Aの0
.2倍、0.5倍だけ濃度値DPより高い濃度値を各々
D+、Dzとして、それらの濃度値D+、Dzと同程度
度数の別の濃度値D:l、D4を濃度シフトにより求め
る。そして、この濃度値D3、D4を通る直線すを描き
、その直線すの度数Oの点の濃度値をD5として、これ
を仮下地濃度値とする。
■, Third step: The density difference between the maximum density value D mix and the density maximum value is 8, and the density difference A is 0.
.. The density values that are twice and 0.5 times higher than the density value DP are respectively set as D+ and Dz, and other density values D:l and D4 having the same frequency as those density values D+ and Dz are determined by density shift. Then, a straight line passing through these density values D3 and D4 is drawn, and the density value at the point of the degree O on the straight line is set as D5, and this is set as a temporary base density value.

■、第4手順:この仮下地濃度値り、と濃度最小値D 
m i nとの濃度差をBとし、仮下地濃度値D5から
0.4Bだけ低い濃度値Dbを下地濃度値、つまり闇値
THとする。
■, Fourth step: This temporary base density value and the minimum density value D
Let B be the density difference from min, and let the density value Db lower by 0.4B from the temporary base density value D5 be the base density value, that is, the darkness value TH.

この結果、この例では、下地濃度値Db以上の濃度のデ
ータは全て下地のデータと見做され、白色に変換される
As a result, in this example, all data having a density equal to or higher than the background density value Db is regarded as background data and is converted to white.

なお、第1図のヒトダラムに点線で示すように、左側の
山がない場合がある。このような場合には、式0.4B
を例えば0.2B等に変化して処理する。
Note that, as shown by the dotted line in the human duram in FIG. 1, there are cases where the mountain on the left side is not present. In such a case, the formula 0.4B
The processing is performed by changing the value to, for example, 0.2B.

また、ヒストグラムによっては、第3図に示すように第
1図のヒストグラムと大きく相違する形状のものもある
。このような場合には、仮下地濃度値り、が曲線の外側
に位置するので、濃度値D1、D2を決めるための式0
.2A、0.5八を各々0.1^、0.4A等に変更し
て同様な処理により闇値濃度り、を求める。
Furthermore, some histograms have shapes that are significantly different from the histogram shown in FIG. 1, as shown in FIG. In such a case, the temporary base density value D is located outside the curve, so the formula 0 for determining the density values D1 and D2 is
.. 2A, 0.58 are changed to 0.1^, 0.4A, etc., respectively, and the dark value density is determined by the same process.

また、ヒストグラムは第1図や第3図に示すように滑ら
かな曲線となるとは限らず、ノイズ成分を含むとギザギ
ザの線となる。このような場合にはそのギザギザの線を
平均化して滑らかな曲線に変換してから、上記した処理
を行うことが望ましい。
Further, the histogram does not necessarily have a smooth curve as shown in FIGS. 1 and 3, and if noise components are included, the histogram becomes a jagged line. In such a case, it is desirable to average the jagged lines and convert them into smooth curves before performing the above processing.

また、カラー原稿の場合には、R(赤)、G(緑)、(
B)青の各々の色の画像データについて個別的に下地濃
度を検知して、下地除去を行なうようにする。
In addition, in the case of color originals, R (red), G (green), (
B) The background density is individually detected for image data of each color of blue, and the background is removed.

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

以上のように本発明によれば、棹取画像の濃度ヒストグ
ラムに応じて下地濃度が検知されるので、その下地を正
確に除去することができる。
As described above, according to the present invention, since the background density is detected according to the density histogram of the sampled image, the background can be accurately removed.

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

第1図は本発明の一実施例の下地濃度(闇値)検知の説
明用の濃度ヒストグラム、第2図はその下地濃度検知用
のブロック図、第3図は別の例の濃度ヒストグラムであ
る。 代理人 弁理士 長 尾 常 明 第2図 第3図 U      v5 [b<’+b
FIG. 1 is a density histogram for explaining the detection of the background density (dark value) in one embodiment of the present invention, FIG. 2 is a block diagram for detecting the background density, and FIG. 3 is a density histogram of another example. . Agent Patent Attorney Tsuneaki Nagao Figure 2 Figure 3 U v5 [b<'+b

Claims (1)

【特許請求の範囲】[Claims] (1)、読み取った画像データのヒストグラムを作成す
る第1手順と、該ヒストグラムから濃度最大値と濃度最
小値を求める第2手順と、度数最大値の濃度と上記濃度
最大値から仮下地濃度を検知する第3手順と、該仮下地
濃度と上記濃度最小値から下地濃度を検知する第4手順
とでなることを特徴とする読取画像の下地濃度検知方法
(1) The first step is to create a histogram of the read image data, the second step is to find the maximum density value and minimum density value from the histogram, and the provisional base density is calculated from the maximum density value and the maximum density value. A method for detecting the background density of a read image, comprising: a third step of detecting the background density; and a fourth step of detecting the background density from the temporary background density and the minimum density value.
JP63020679A 1988-01-30 1988-01-30 Background density sensing method for read picture Pending JPH01196971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63020679A JPH01196971A (en) 1988-01-30 1988-01-30 Background density sensing method for read picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63020679A JPH01196971A (en) 1988-01-30 1988-01-30 Background density sensing method for read picture

Publications (1)

Publication Number Publication Date
JPH01196971A true JPH01196971A (en) 1989-08-08

Family

ID=12033866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63020679A Pending JPH01196971A (en) 1988-01-30 1988-01-30 Background density sensing method for read picture

Country Status (1)

Country Link
JP (1) JPH01196971A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US7099041B1 (en) 1999-03-02 2006-08-29 Seiko Epson Corporation Image data background determining apparatus image data background determining method, and medium recording thereon image data background determination control program

Similar Documents

Publication Publication Date Title
US9185265B2 (en) Image processing method and image processing apparatus for performing a tone correction to acquire a combined image
JPS62172867A (en) Picture processor
JPH1084475A (en) Image area discrimination method and image-processing unit
JPH0435167A (en) Line picture separation system
JPH1132236A (en) Image-processing unit
US6192153B1 (en) Image processing device
US7463785B2 (en) Image processing system
JPH01196971A (en) Background density sensing method for read picture
JPH07107275A (en) Image data discrimination device
KR100213013B1 (en) A circuit for improving contrast of image
JPH04188948A (en) Picture processor
CN111125413B (en) Text picture filtering method and device and electronic equipment
JPS63205238A (en) Image processing apparatus
JP2647458B2 (en) Halftone dot area separation device
JPH05292312A (en) Dot area separator
JP2507948B2 (en) Image area identification device
JPH05303639A (en) Edge extraction circuit from digital video signal
JP3355656B2 (en) Apparatus and method for extracting edges from digital image signal
JPH0575850A (en) Picture area discriminating device
JP3216165B2 (en) Image region identification device and image region identification method
JP2022186166A (en) Imaging apparatus, control method for the same, program, and storage medium
JPH0494266A (en) Half tone picture processing unit
JPH03153167A (en) Character area separation system
JP2007288690A (en) Region separation device of picture and its method
JPH01169581A (en) Image processor