JP2602199B2 - Image processing method - Google Patents
Image processing methodInfo
- Publication number
- JP2602199B2 JP2602199B2 JP59220896A JP22089684A JP2602199B2 JP 2602199 B2 JP2602199 B2 JP 2602199B2 JP 59220896 A JP59220896 A JP 59220896A JP 22089684 A JP22089684 A JP 22089684A JP 2602199 B2 JP2602199 B2 JP 2602199B2
- Authority
- JP
- Japan
- Prior art keywords
- threshold
- threshold value
- minimum
- maximum
- difference
- 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 - Lifetime
Links
- 238000003672 processing method Methods 0.000 title claims description 6
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
Landscapes
- Facsimile Image Signal Circuits (AREA)
Description
【発明の詳細な説明】 〈技術分野〉 この発明は画像処理方法に関し、さらに詳細にいえ
ば、特に原稿濃度をイメージセンサで読取るディジタル
複写機の濃度調整に好適に使用される画像処理方法に関
する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method, and more particularly, to an image processing method which is suitably used for adjusting the density of a digital copying machine which reads the density of an original with an image sensor.
〈従来技術〉 従来から、読取画像を2値化するにあたっては、各読
取画像信号を2値化閾値と比較することにより、白、黒
の識別を行うようにしている。<Prior Art> Conventionally, when a read image is binarized, white and black are distinguished by comparing each read image signal with a binarization threshold.
そして、2値化閾値としては、予め定めた1個の閾値
のみを使用するものと、予め定めた複数個の閾値の中か
ら適宜選択して使用するものがある。このうち、前者の
ものは、青焼原稿、新聞、コピー原稿等種々の原稿に対
して良質な処理画像を得ることができないが、後者のも
のは、かなり広範囲の原稿に対して良質な処理画像を得
ることができ、好ましい。As the binarization threshold, there are a threshold that uses only one predetermined threshold, and a threshold that is used by appropriately selecting from a plurality of predetermined thresholds. Of the above, the former cannot obtain high-quality processed images for various types of originals such as blue-printed originals, newspapers, and copy originals, while the latter can obtain good-quality processed images for a wide range of originals. Can be obtained, which is preferable.
上記複数個の閾値を設定する方法としては、青焼原
稿、新聞、コピー原稿等の原稿の種類に対応させて最適
と思われる閾値を予め設定する方法、および原稿の種類
とは無関係に等差的に閾値を設定する方法の2つがあ
る。前者の最適と思われる閾値を予め設定する方法は、
閾値を原稿の種類ごとに1つ設定するのみであるから、
全ての原稿に対して良質な処理画像信号を得ることはで
きない。より詳細にいえば、原稿の種類に対応させて最
適と思われる閾値を設定しても、実際には、同種の原稿
であっても濃度のばらつきがかなりあるから、必ずしも
各原稿に対して最適の閾値である保証はなく、最悪の場
合には、到底判別不可能な処理画像しか得られなくなる
という不都合がある。また、閾値を等差的に設定する場
合には、種々の原稿に対して良質な処理画像を得ようと
思うと、設定閾値数を多くしなければならないが、実際
に設定閾値数を多くすることは、操作キーの使い勝手等
の面から制約があるので、やはり全ての原稿に対して良
質な処理画像を得ることができないという不都合があ
る。As the method of setting the plurality of thresholds, there are a method of presetting a threshold value which is considered to be optimal in accordance with the type of the original such as a blueprint original, a newspaper, a copy original, and the like. There are two methods for setting the threshold value in a proper manner. The former method of setting the threshold that seems to be optimal is
Since only one threshold is set for each document type,
High quality processed image signals cannot be obtained for all originals. More specifically, even if a threshold value that seems to be optimal is set according to the type of the original, there is considerable variation in density even for the same type of original. Is not guaranteed, and in the worst case, there is an inconvenience that only a processed image which cannot be determined at all is obtained. When the thresholds are set differentially, the number of set thresholds must be increased in order to obtain high-quality processed images for various documents, but the number of set thresholds is actually increased. That is, since there is a restriction in terms of usability of the operation keys and the like, there is also a disadvantage that a high-quality processed image cannot be obtained for all originals.
特に、濃度差のある画像が混在している原稿に対して
は、選定される2値化閾値が不適切であれば、ベタ黒、
或は白ヌケ等が発生し易いという問題がある。In particular, for a document in which images having different density are mixed, if the selected binarization threshold is inappropriate, solid black,
Alternatively, there is a problem that white dropout or the like is easily generated.
この発明は上記の問題点に鑑みてなされたものであ
り、少数の閾値を設定するのみで、種々の読取画像に対
して良質な処理画像が得られる画像処理方法を提供する
ことを目的としている。The present invention has been made in view of the above-described problems, and has as its object to provide an image processing method that can obtain a high-quality processed image for various read images only by setting a small number of threshold values. .
〈構成〉 上記の目的を達成するための、この発明の画像処理方
法は、原稿の読取画像信号の最大レベル、および最小レ
ベルに基いて、読取画像に対する基準閾値、最大閾値、
および最小閾値を算出し、最大閾値と基準閾値との差
を、基準閾値と最小閾値との差よりも大きく設定し、し
かも最大閾値、および最小閾値と基準閾値との間におい
て設定される中間閾値を、基準閾値に近いものほど閾値
の差が小さくなるよう設定し、この設定された複数個の
閾値の中から1つを選定して読取画像信号を2値化する
ものであり、基準閾値に近い閾値を少しずつ変化させる
ことにより、基準閾値近傍できめ細かい閾値の変化を達
成するとともに、広範囲に亘って閾値を変化させ得るよ
うにし、しかも特に基準閾値より大きい側の閾値の差が
小さい側よりも大きくなるようにすることにより、白ヌ
ケを起し易い読取画像に対する閾値の選定を行い得るよ
うにし、以って各種の読取画像に対する良質な処理画像
を得ることができる。<Structure> In order to achieve the above object, the image processing method of the present invention is based on a maximum level and a minimum level of a read image signal of a document, based on a reference threshold value and a maximum threshold value for a read image,
And the minimum threshold is calculated, the difference between the maximum threshold and the reference threshold is set to be larger than the difference between the reference threshold and the minimum threshold, and the maximum threshold, and the intermediate threshold set between the minimum threshold and the reference threshold Is set so that the difference between the threshold values becomes smaller as the threshold value becomes closer to the reference threshold value, one of the set threshold values is selected, and the read image signal is binarized. By changing the close threshold value little by little, a fine threshold value change can be achieved in the vicinity of the reference threshold value, and the threshold value can be changed over a wide range. , The threshold value can be selected for a read image in which white dropout is likely to occur, and a high-quality processed image for various read images can be obtained.
〈実施例〉 以下、ディジタル複写機に適用した実施例について詳
細に説明する。<Embodiment> An embodiment applied to a digital copying machine will be described in detail below.
ディジタル複写機は従来公知の構成であり、プレスキ
ャン機能(コピー動作のための、本来の露光動作を行う
に先立って、原稿濃度を読取るための露光動作を行う機
能)を持たせている。The digital copying machine has a conventionally known configuration, and has a prescan function (a function of performing an exposure operation for reading a document density prior to performing an original exposure operation for a copy operation).
したがって、プレスキャン動作を行うことにより、原
稿の濃度の薄い部分に対応する最大レベルMax、および
濃い部分に対応する最小レベルMinを得ることができ
る。Therefore, by performing the pre-scan operation, it is possible to obtain the maximum level Max corresponding to the low density portion of the document and the minimum level Min corresponding to the high density portion.
そして、以上のようにして得られた最大レベルMax、
最小レベルMinに基いて、先ず次のようにして最小閾値T
H(0)、基準閾値TH(4)、最大閾値TH(8)算出す
ることができる。And the maximum level Max obtained as above,
Based on the minimum level Min, first, the minimum threshold T
H (0), reference threshold TH (4), and maximum threshold TH (8) can be calculated.
TH(0)=Min+C1、 TH(4)=C2/(Max-Min)−C3、 TH(8)=TH(0)+C4(Max-Min)2+C5 但し、C1乃至C5は定数である。TH (0) = Min + C1, TH (4) = C2 / (Max-Min) −C3, TH (8) = TH (0) + C4 (Max-Min) 2 + C5 where C1 to C5 are constants.
次いで上記TH(0)、TH(4)、TH(8)に基いて、
次式によってα、α′を算出する。Next, based on the above TH (0), TH (4) and TH (8),
Α and α ′ are calculated by the following equations.
α=(TH(4)−TH(0)+C6)/C7 α′=(TH(8)−TH(4)+C6)/C7 但し、上記C6、C7は定数である。α = (TH (4) −TH (0) + C6) / C7 α ′ = (TH (8) −TH (4) + C6) / C7 where C6 and C7 are constants.
そして、TH(4)、α、α′に基いて、次式によって
中間閾値TH(1)、TH(2)、TH(3)、TH(5)、TH
(6)、TH(7)を算出する。Then, based on TH (4), α and α ′, the intermediate threshold values TH (1), TH (2), TH (3), TH (5), TH
(6), TH (7) is calculated.
TH(1)=TH(4)−C8α′ TH(2)=TH(4)−C9α′ TH(3)=TH(4)−C10α′ TH(5)=TH(4)+C10α TH(6)=TH(4)+C9α TH(7)=TH(4)+C8α 但し、上記C8、C9、C10は定数である。TH (1) = TH (4) −C8α ′ TH (2) = TH (4) −C9α ′ TH (3) = TH (4) −C10α ′ TH (5) = TH (4) + C10α TH (6) = TH (4) + C9α TH (7) = TH (4) + C8α where C8, C9 and C10 are constants.
以上のようにして得られた閾値TH(0)乃至TH(8)
は、ディジタル複写機の操作パネルに取付けた濃度設定
キーの指示目盛に対応するものであり、第1図に示す対
応関係を有している。ここで第1図の横軸は使用者の設
定する濃度設定キーの指示目盛に対応し、右側は淡めの
複写に対応し左側は濃いめの複写に対応する。縦軸は閾
値に対応し、上側は薄い原稿に対応し下側は濃い原稿に
対応する。また、第2図は、第1図の対応関係をより明
確に示す図であり、各指示目盛に対応する閾値と基準閾
値TH(4)との差の絶対値を示している。The threshold values TH (0) to TH (8) obtained as described above
Corresponds to the indication scale of the density setting key attached to the operation panel of the digital copying machine, and has the correspondence shown in FIG. Here, the horizontal axis in FIG. 1 corresponds to the scale indicated by the density setting key set by the user, the right side corresponds to light copying, and the left side corresponds to dark copying. The vertical axis corresponds to the threshold value, the upper side corresponds to a light original, and the lower side corresponds to a dark original. FIG. 2 is a diagram more clearly showing the correspondence relationship of FIG. 1, and shows the absolute value of the difference between the threshold value corresponding to each designated scale and the reference threshold value TH (4).
第1図、および第2図から明らかなように、最大閾値
TH(8)と基準閾値TH(4)との差が、基準閾値TH
(4)と最小閾値TH(0)との差よりも大きく、しか
も、基準閾値TH(4)に近い閾値ほど閾値の差が小さく
なっている。As is clear from FIGS. 1 and 2, the maximum threshold
The difference between TH (8) and the reference threshold TH (4) is the reference threshold TH
The threshold difference is smaller as the threshold value is larger than the difference between (4) and the minimum threshold value TH (0) and is closer to the reference threshold value TH (4).
以上のように設定された閾値であれば、青焼原稿、新
聞、コピー原稿等各種の原稿のうち、標準的な濃度の原
稿に対しては、基準閾値TH(4)を2値化閾値として選
定することにより、良質な処理画像を得ることができ
る。If the threshold value is set as described above, the standard threshold value TH (4) is used as a binarization threshold value for a standard density original among various originals such as a blueprint original, a newspaper, and a copy original. By selection, a high-quality processed image can be obtained.
また、標準的な濃度からややずれた濃度の原稿、或は
標準的な濃度の原稿であっても、使用者の好みにより、
やや濃いめ、或はやや淡めの複写物が要求される場合に
は、基準閾値に最も近い中間閾値TH(3)、或はTH
(5)を2値化閾値として選定することにより、良質
な、或は好みに合わせた処理画像を得ることができる。Also, even if the original has a density slightly deviated from the standard density or a standard density, depending on the user's preference,
If a slightly darker or slightly lighter copy is required, the intermediate threshold TH (3) or TH closest to the reference threshold is used.
By selecting (5) as the binarization threshold, a high-quality or tailored processed image can be obtained.
その他、標準的な濃度から大幅にずれた濃度の原稿で
あれば、閾値を余りきめ細かく変化させなくてもよくな
り、閾値の数を全体として減少させることができる。ま
た、中間閾値TH(1)、TH(7)或は最小閾値TH
(0)、最大閾値TH(8)を2値化閾値として選定する
ことにより、かなり良質な処理画像を得ることができ
る。In addition, if the original has a density greatly deviated from the standard density, the threshold value does not need to be changed very finely, and the number of threshold values can be reduced as a whole. Also, the intermediate threshold TH (1), TH (7) or the minimum threshold TH
(0) By selecting the maximum threshold value TH (8) as the binarization threshold value, it is possible to obtain a processed image of considerably high quality.
また、基準閾値TH(4)より上側の閾値の差が、下側
の閾値の差と比べて大きく設定されているので、通常白
ヌケが発生し易い原稿に対する良質な処理画像を得るこ
とができる。Further, since the difference between the thresholds above the reference threshold TH (4) is set to be larger than the difference between the thresholds below the reference threshold TH (4), it is possible to obtain a high-quality processed image for a document in which white dropout is likely to occur. .
尚、この発明は上記の実施例に限定されるものではな
く、各閾値を異なる数式に基いて算出すること、設定閾
値数を増減させることができる他、この発明の要旨を変
更しない範囲内において種々の設計変更を施すことがで
きる。It should be noted that the present invention is not limited to the above embodiment, and that each threshold value can be calculated based on a different mathematical expression, the number of set threshold values can be increased or decreased, and the scope of the present invention is not changed. Various design changes can be made.
〈効果〉 以上のようにこの発明は、読取画像信号の最大レベ
ル、および最小レベルに基いて、読取画像に対する基準
閾値、最大閾値、および最小閾値を算出し、最大閾値と
基準閾値との差を、基準閾値と最小閾値との差よりも大
きく設定し、しかも最大閾値、および最小閾値と基準閾
値との間において設定される中間閾値を、基準閾値に近
いものほど閾値の差が小さくなるよう設定するものであ
るから、広範囲の原稿に対して良質の2値化処理画像を
得ることができるとともに、基準閾値近傍におけるきめ
細かな濃度調整を行うことができ、しかも閾値の数を増
加させることなく広範囲の閾値幅をカバーしてベタ黒、
白ヌケになり易い混在画像に対しても良質の2値化処理
画像を得ることができるという特有の効果を奏する。<Effect> As described above, the present invention calculates a reference threshold, a maximum threshold, and a minimum threshold for a read image based on the maximum level and the minimum level of the read image signal, and calculates a difference between the maximum threshold and the reference threshold. The difference between the reference threshold and the minimum threshold is set to be larger than the difference between the reference threshold and the maximum threshold, and the intermediate threshold set between the minimum threshold and the reference threshold is set such that the closer the reference threshold is, the smaller the difference between the thresholds becomes. Therefore, a high-quality binarized image can be obtained for a wide range of originals, fine density adjustment near the reference threshold can be performed, and a wide range can be obtained without increasing the number of thresholds. Solid black covering the threshold width of
A unique effect is obtained in that a high-quality binarized image can be obtained even for a mixed image that is apt to be white.
第1図は2値化閾値と濃度設定目盛との関係を示す図で
ある。 第2図は2値化閾値と基準閾値との間隔を濃度設定目盛
に対応させて示す図である。FIG. 1 is a diagram showing a relationship between a binarization threshold and a density setting scale. FIG. 2 is a diagram showing an interval between a binarization threshold and a reference threshold in correspondence with a density setting scale.
Claims (1)
読取画像信号の最小レベルに基いて、読取画像に対する
基準閾値、最大閾値、および最小閾値を算出し、最大閾
値と基準閾値との差を、基準閾値と最小閾値との差より
も大きく設定し、しかも最大閾値、および最小閾値と基
準閾値との間において設定される中間閾値を、基準閾値
に近いものほど閾値の差が小さくなるよう複数個の閾値
を設定し、この設定された複数個の閾値の中から一つを
選定して上記読取画像信号を2値化することを特徴とす
る画像処理方法。A reference threshold, a maximum threshold, and a minimum threshold for a read image are calculated based on a maximum level of a read image signal of a document and a minimum level of the read image signal, and a difference between the maximum threshold and the reference threshold is calculated. The intermediate threshold set between the reference threshold and the minimum threshold is set to be larger than the difference between the reference threshold and the minimum threshold, and the intermediate threshold set between the maximum threshold and the minimum threshold is set to be smaller as the threshold is closer to the reference threshold. An image processing method comprising: setting a plurality of threshold values; selecting one of the plurality of set threshold values; and binarizing the read image signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59220896A JP2602199B2 (en) | 1984-10-19 | 1984-10-19 | Image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59220896A JP2602199B2 (en) | 1984-10-19 | 1984-10-19 | Image processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6199463A JPS6199463A (en) | 1986-05-17 |
| JP2602199B2 true JP2602199B2 (en) | 1997-04-23 |
Family
ID=16758228
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59220896A Expired - Lifetime JP2602199B2 (en) | 1984-10-19 | 1984-10-19 | Image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2602199B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5829674B2 (en) | 2011-03-14 | 2015-12-09 | Jxエンジニアリング株式会社 | Ultrasonic inspection apparatus for tube and ultrasonic inspection method for tube |
-
1984
- 1984-10-19 JP JP59220896A patent/JP2602199B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5829674B2 (en) | 2011-03-14 | 2015-12-09 | Jxエンジニアリング株式会社 | Ultrasonic inspection apparatus for tube and ultrasonic inspection method for tube |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6199463A (en) | 1986-05-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0008739B1 (en) | Reprographic apparatus capable of reproducing various tone and line originals and methods of operation thereof | |
| US5392137A (en) | Image processing apparatus in which filtering is selected for input image characteristics | |
| US5748773A (en) | Image processing apparatus | |
| US7518755B2 (en) | Image processing apparatus, image forming apparatus, method for processing image, computer program, and recording medium | |
| JPH0646255A (en) | Picture processing unit | |
| JPH04229850A (en) | copying device | |
| US5834762A (en) | Image reading apparatus and method | |
| US5852677A (en) | Image data processing apparatus | |
| JP3134292B2 (en) | Image processing device | |
| US6175660B1 (en) | Image reading apparatus | |
| JPH06133159A (en) | Image processing device | |
| JP2602199B2 (en) | Image processing method | |
| US5960121A (en) | Image processing apparatus for reducing image noise | |
| JPH05336386A (en) | Image forming device | |
| JP3253117B2 (en) | Image processing apparatus and method | |
| JP2861410B2 (en) | Image processing device | |
| JP3137702B2 (en) | Image processing device | |
| JP3767210B2 (en) | Document type determination device and image processing device | |
| JP3974236B2 (en) | Image processing apparatus and method | |
| CA1150637A (en) | Three decision thresholding mode switch and method for mode selection | |
| JPH06311359A (en) | Background eliminating device | |
| JP2694255B2 (en) | Facsimile machine | |
| JP3193582B2 (en) | Image recording device | |
| JPS59197032A (en) | Controller for copy density | |
| JP2752527B2 (en) | Halftone processing circuit |