JPH0147946B2 - - Google Patents

Info

Publication number
JPH0147946B2
JPH0147946B2 JP55018784A JP1878480A JPH0147946B2 JP H0147946 B2 JPH0147946 B2 JP H0147946B2 JP 55018784 A JP55018784 A JP 55018784A JP 1878480 A JP1878480 A JP 1878480A JP H0147946 B2 JPH0147946 B2 JP H0147946B2
Authority
JP
Japan
Prior art keywords
dither
image
gradation
original
document
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
Application number
JP55018784A
Other languages
Japanese (ja)
Other versions
JPS56115073A (en
Inventor
Yukio Sato
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP1878480A priority Critical patent/JPS56115073A/en
Publication of JPS56115073A publication Critical patent/JPS56115073A/en
Publication of JPH0147946B2 publication Critical patent/JPH0147946B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/405Halftoning, i.e. converting the picture signal of a continuous-tone original into a corresponding signal showing only two levels

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、デイザ法を用いた画像階調再現方法
に関するものである。 画像の階調表現方法のうちデイジタル情報のみ
で、これを、実現させるために用いられる手段と
して、デイザ法がある。このデイザ法は後で述べ
る様にデイザマトリツクスを使用するもので、こ
のマトリツクスをどのレベルに設定するかによつ
て階調表現が異なつてくる。従つて、このレベル
設定が階調表現において重要なポイントとなる。
又原稿の地色レベルを設定できれば、原稿の地汚
れを消したうえ、画像のみ階調性のある美しい原
稿走査が可能である。 ここで、先ず、デイザについて、簡単に述べ
る。デイジタル情報それ自体は濃淡を出すことは
できないが、黒いドツトが高密度に集まつていれ
ば、黒に見えるし、反対に黒いドツトが疎になる
に従つて、灰色から白に近づいていく。すなわ
ち、近距離で見た場合には、単に黒いドツトの集
合にしかみえないが、これを少し目を離なして見
ると、灰色に見える。つまり人間の目がごまかさ
れるわけである。この凝似網点法を第1図に示し
てあるが、これがデイザマトリツクスと称され
る。図示のものは、2×2=4個のセルで1ブロ
ツクを構成し、どのセルを「ON」(黒)とする
かによつて階調の表現が行なわれる。 次に、このデイザマトリツクスを用いて階調を
表現しようとした場合、第1図に示すように、各
セルAに図示のように、番号を付し、各セルに対
して、しきい値を設定し、画素レベルがこのしき
い値を超せば、そのセルが黒と表現されるとすれ
ば、例えば、第2図に示すように、白から黒まで
の階調表現を行うことができる。 以上述べた様にデイザ法はデイジタル処理にお
ける濃淡表現としては有効であるが、各セルのし
きい値設定がむづかしく、階調を表現しようとし
た場合原稿によつてしきい値を変化させなければ
ならない。 本発明は以上の点を考慮し、最適なデイザ法の
しきい値の組み合せを設定しようとするものであ
る。 このような目的で、本発明はデイザマトリツク
スを用いて原稿画像をデイザ処理し階調画像を再
現する画像階調再現方法において、原稿を走査し
て得られたレベル信号を各々異なる比較レベルを
有する複数のコンパレータにて比較することによ
り原稿の地色の濃さを判断する判断手段と、互い
に異なる閾値配列を有する複数種類のデイザマト
リツクスとを設け、前記判断手段の判断結果に基
づいて前記複数種類のデイザマトリツクスのいず
れかを選択するようにしたことを特徴とする画像
階調再現方法を提供する。 以下、図面に示す本発明の実施例を参照して詳
細に説明する。 第3図は本発明を実施する装置の一例を示す回
路図で、図中、Rは抵抗、Qはコンパレータ、
DEはデコーダを示す。 本実施例によれば、先ず、原稿の地色を検出す
る為に原稿を走査する。この基準レベルは第3図
の入力Vinに加えられ、これはコンパレータQ1
〜Q4に分配される。また、Voが抵抗R1〜R
4により分割されて、それぞれのコンパレータQ
1〜Q4に分配され、基準レベルと抵抗分割レベ
ルが比較される。この抵抗分割レベルは走査した
基準原稿がどの程度の濃度をもつているかを判定
するためのものである。基準原稿が淡い場合は、
コンパレータQ1が「ON」となり、コンパレー
タQ1の出力D1が「0」になる。同様に、基準
原稿がやや濃い場合にはコンパレータQ2が
「ON」となり、コンパレータQ2の出力D2も
「0」になる。従つて、コンパレータQ3,Q4
も考えると、次の5通り考えられる。
The present invention relates to an image gradation reproduction method using a dither method. Among the image gradation expression methods, a dither method is used to achieve this using only digital information. This dither method uses a dither matrix, as will be described later, and the gradation expression differs depending on the level at which this matrix is set. Therefore, this level setting is an important point in gradation expression.
Furthermore, if the background color level of the original can be set, it is possible to erase the background stains on the original and also scan the original with beautiful gradation in the image. First, a brief description of dither will be given. Digital information itself cannot produce shading, but if black dots are densely gathered, it will appear black, and conversely, as the black dots become sparse, it will move from gray to white. In other words, if you look at it from a close distance, it looks like just a collection of black dots, but if you look at it a little further away, it looks gray. In other words, the human eye is fooled. This condensed dot method is shown in FIG. 1 and is called a dither matrix. In the illustrated block, 2×2=4 cells constitute one block, and gradation is expressed depending on which cell is set to “ON” (black). Next, when trying to express gradations using this dither matrix, as shown in Figure 1, each cell A is numbered as shown, and a threshold value is assigned to each cell. If a value is set, and if the pixel level exceeds this threshold, that cell will be expressed as black, then for example, as shown in Figure 2, gradations from white to black will be expressed. Can be done. As mentioned above, the dither method is effective for expressing gradation in digital processing, but it is difficult to set the threshold value for each cell, and when trying to express gradation, the threshold value has to be changed depending on the original. There must be. The present invention takes the above points into consideration and attempts to set an optimal combination of threshold values for the dither method. For this purpose, the present invention provides an image gradation reproduction method that uses a dither matrix to perform dither processing on an original image to reproduce a gradation image. A determination means for determining the density of the ground color of a document by comparing it with a plurality of comparators having a The present invention provides an image gradation reproduction method characterized in that one of the plurality of types of dither matrices is selected based on the number of dither matrices. Hereinafter, the present invention will be described in detail with reference to embodiments shown in the drawings. FIG. 3 is a circuit diagram showing an example of a device implementing the present invention, in which R is a resistor, Q is a comparator,
DE indicates decoder. According to this embodiment, first, the original is scanned in order to detect the background color of the original. This reference level is applied to the input Vin in Figure 3, which is connected to comparator Q1.
-Distributed to Q4. Also, Vo is the resistance R1 to R
4, each comparator Q
1 to Q4, and the reference level and resistance division level are compared. This resistance division level is used to determine the density of the scanned reference document. If the standard manuscript is pale,
Comparator Q1 becomes "ON" and output D1 of comparator Q1 becomes "0". Similarly, when the reference original is a little dark, the comparator Q2 turns "ON" and the output D2 of the comparator Q2 also becomes "0". Therefore, comparators Q3, Q4
Considering this, the following five possibilities can be considered.

【表】 次に、出力D1〜D4がこの様な値をとる場
合、第4図に示した真理値表をもつたデコーダ
DEに、これを入力するとこのデコーダDEの出力
はY1〜Y5となる。このY1〜Y5のいずれか
一つが「0」になり選択されることを意味する。
例えばD1=0、D2=0、D3=1、D4=1
のときY3が選択される。 ここで、予め5種類のデイザマトリツクスを用
意しておいて、基準原稿に応じて、これを選択す
るようにする。例えば、第5図、又は第6図に示
すように5種類のデイザマトリツクスを用意し、
それぞれ、Y1〜Y5と対比するようにする。図
中、セルの番号はしきい値をあらわしている。 即ち、原稿の地色が白く薄い場合には、デイザ
マトリツクスの周辺のしきい値を下げ、原稿の地
色が濃い場合にはデイザマトリツクスの周辺のし
きい値を上げるように構成している。かかる構成
により原稿の地色に応じて、デイザマトリツクス
の周辺のしきい値が変化するので、画像のエツジ
部分が鮮明に再現される。 第6図に示したのは3×3のデイザマトリツク
スである。ここで例えば画像の再現を矢印B方向
に走査して行う場合、走査方向のしきい値レベル
が同じで一番低いと、走査方向に線が現われやす
くなる。この様な事態を防ぐ為に第6図のデイザ
マトリツクスは走査方向に垂直な方向のしきい値
レベルを同じにして一番低いレベルに設定してい
る。 以上の様に本発明によれば原稿の地色の濃さに
基づいて異なる閾値配列のデイザマトリツクスを
選択することができるので、例えば原稿の地色等
を除去したより高品位の階調画像を再現すること
ができる。 尚、本実施例においては、原稿を予め走査する
ことにより、原稿の地色を検出したが、オペレー
タが例えば原稿の地色と基準チヤートとを比較し
てデイザマトリツクスのしきい値を決定してもよ
い。
[Table] Next, when outputs D1 to D4 take such values, a decoder with the truth table shown in Figure 4 is used.
When this is input to DE, the output of this decoder DE becomes Y1 to Y5. Any one of Y1 to Y5 becomes "0", meaning that it is selected.
For example, D1=0, D2=0, D3=1, D4=1
In this case, Y3 is selected. Here, five types of dither matrices are prepared in advance, and one is selected according to the reference document. For example, as shown in FIG. 5 or 6, five types of dither matrices are prepared,
Each is compared with Y1 to Y5. In the figure, the cell numbers represent thresholds. That is, if the background color of the document is white and light, the threshold value around the dither matrix is lowered, and if the background color of the document is dark, the threshold value around the dither matrix is raised. are doing. With this configuration, the threshold value around the dither matrix changes depending on the background color of the original, so the edge portions of the image are clearly reproduced. What is shown in FIG. 6 is a 3×3 dither matrix. Here, for example, when an image is reproduced by scanning in the direction of arrow B, if the threshold level in the scanning direction is the same and is the lowest, lines are likely to appear in the scanning direction. In order to prevent such a situation, the dither matrix shown in FIG. 6 has the same threshold level in the direction perpendicular to the scanning direction and is set to the lowest level. As described above, according to the present invention, it is possible to select dither matrices with different threshold arrays based on the density of the background color of the original, so that, for example, higher quality gradation can be achieved by removing the background color of the original. Images can be reproduced. In this embodiment, the background color of the document was detected by scanning the document in advance, but the operator may determine the threshold value of the dither matrix by comparing the background color of the document with a reference chart, for example. You may.

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

第1図はデイザマトリツクスを示す図、第2図
はデイザマトリツクスを用いてなされる階調表現
を説明する図、第3図は本発明方法を実施する装
置の一例を示す回路図、第4図はデコーダの真理
値表、第5図および第6図は5種類のデイザマト
リツクスとデコーダ出力との対応を示す図であ
る。 A…デイザマトリツクスのセル、R…抵抗、Q
…コンパレータ、DE…デコーダ。
Fig. 1 is a diagram showing a dither matrix, Fig. 2 is a diagram illustrating gradation expression made using the dither matrix, and Fig. 3 is a circuit diagram showing an example of a device implementing the method of the present invention. , FIG. 4 is a truth table of the decoder, and FIGS. 5 and 6 are diagrams showing the correspondence between five types of dither matrices and decoder outputs. A...Dither matrix cell, R...resistance, Q
…Comparator, DE…Decoder.

Claims (1)

【特許請求の範囲】 1 デイザマトリツクスを用いて原稿画像をデイ
ザ処理し階調画像を再現する画像階調再現方法に
おいて、 原稿を走査して得られたレベル信号を各々異な
る比較レベルを有する複数のコンパレータにて比
較することにより原稿の地色の濃さを判断する判
断手段と、 互いに異なる閾値配列を有する複数種類のデイ
ザマトリツクスとを設け、 前記判断手段の判断結果に基づいて前記複数種
類のデイザマトリツクスのいずれかを選択するよ
うにしたことを特徴とする画像階調再現方法。
[Claims] 1. In an image gradation reproduction method in which a gradation image is reproduced by dithering a document image using a dither matrix, level signals obtained by scanning the document each have different comparison levels. A determining means for determining the depth of the ground color of the original by comparing it with a plurality of comparators, and a plurality of types of dither matrices having mutually different threshold value arrays are provided, and the aforementioned method is provided based on the determination result of the determining means. An image gradation reproduction method characterized in that one of a plurality of types of dither matrices is selected.
JP1878480A 1980-02-18 1980-02-18 Picture scanning method Granted JPS56115073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1878480A JPS56115073A (en) 1980-02-18 1980-02-18 Picture scanning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1878480A JPS56115073A (en) 1980-02-18 1980-02-18 Picture scanning method

Publications (2)

Publication Number Publication Date
JPS56115073A JPS56115073A (en) 1981-09-10
JPH0147946B2 true JPH0147946B2 (en) 1989-10-17

Family

ID=11981238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1878480A Granted JPS56115073A (en) 1980-02-18 1980-02-18 Picture scanning method

Country Status (1)

Country Link
JP (1) JPS56115073A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57125577A (en) * 1981-01-29 1982-08-04 Ricoh Co Ltd Binarized tonal processing method for analog video signal
JPS58223964A (en) * 1982-06-22 1983-12-26 Konishiroku Photo Ind Co Ltd Shading compensating circuit
JPH01255568A (en) * 1988-04-05 1989-10-12 Seiko Instr Inc Thermal transfer color printer
JP6615182B2 (en) 2014-08-21 2019-12-04 コンチネンタル オートモーティヴ ゲゼルシャフト ミット ベシュレンクテル ハフツング Valve core for electronic valve and electronic valve having valve core

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54144127A (en) * 1978-05-01 1979-11-10 Ricoh Co Ltd Display system of intermediate tone by binary picture element

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54144127A (en) * 1978-05-01 1979-11-10 Ricoh Co Ltd Display system of intermediate tone by binary picture element

Also Published As

Publication number Publication date
JPS56115073A (en) 1981-09-10

Similar Documents

Publication Publication Date Title
JPH07106646B2 (en) Image processing device
US6118547A (en) Image processing method and apparatus
JPS60204177A (en) Picture signal processor
JPS6198069A (en) Image processor
JPS583374A (en) Intermediate tone processing system
JP2815157B2 (en) Image processing device
JPH0147946B2 (en)
JPH0456508B2 (en)
JPH01115272A (en) Image processor
JPH01115271A (en) Image processor
JPS63288565A (en) Image processor
JPH0457274B2 (en)
JPH0644800B2 (en) Image processing device
JPS63164570A (en) Image processing method
JP2629699B2 (en) Image area identification device
JPH0550187B2 (en)
JPH07298074A (en) Image processing unit
JP2851662B2 (en) Image processing device
JP2675792B2 (en) Image processing device
JP3587740B2 (en) Image processing device
JP3780664B2 (en) Image processing apparatus and image processing method
JPH02210960A (en) Picture processor
JPS6336713B2 (en)
JPH0691605B2 (en) Image processing device
JP3304108B2 (en) Image processing method and apparatus