JPH0316380A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH0316380A
JPH0316380A JP2143709A JP14370990A JPH0316380A JP H0316380 A JPH0316380 A JP H0316380A JP 2143709 A JP2143709 A JP 2143709A JP 14370990 A JP14370990 A JP 14370990A JP H0316380 A JPH0316380 A JP H0316380A
Authority
JP
Japan
Prior art keywords
output
image
value
picture
comparator
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
Application number
JP2143709A
Other languages
Japanese (ja)
Other versions
JPH0728375B2 (en
Inventor
Hiroshi Tanioka
宏 谷岡
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 JP2143709A priority Critical patent/JPH0728375B2/en
Publication of JPH0316380A publication Critical patent/JPH0316380A/en
Publication of JPH0728375B2 publication Critical patent/JPH0728375B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To execute the intermediate tone processing suitable for a picture by varying the intermediate tone processing of an input picture signal in response to the output destination of the picture signal. CONSTITUTION:An output of an AND gate circuit 9 goes to logical 1 only when a signal whose maximum value is larger than a prescribed value A is given to a comparator 6, a signal whose minimum value is smaller than a prescribed value C is given to a comparator 8, that is, a '1' level output is generated from the comparators 6, 8 respectively in addition to the presence of the output of a comparator 7. Then a multiplexer 10 selects a binary picture data being an output of a dither binarizing circuit 4. Thus, in addition to the density gradient being a conventional image area criterion, the maximum value and the minimum value of the density are used for the discrimination. Then the dither processing to a black level picture or a white level picture is not required, and the compression rate at NH coding is improved.

Description

【発明の詳細な説明】 本発明は入力した画像信号を出力先に応じて適切に中間
調処理する画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image processing device that appropriately performs halftone processing on an input image signal depending on the output destination.

原稿画像をCOD,A − Si等のイメージセンサに
より光電的に読取り、この読取信号をレベルに応じて2
値化し、レーザビームプリンタ,インクジェットプリン
タ等の2値プリンタにて像再生することが提案されてい
る。また、2値化された読取信号をモデイファイドホフ
マン符号回路等により圧縮し、伝送或いは磁気,、光゛
学メモリ等に蓄積することが提案されている。
The original image is photoelectrically read by an image sensor such as COD or A-Si, and this read signal is converted into 2 signals depending on the level.
It has been proposed to convert the image into a value and reproduce the image using a binary printer such as a laser beam printer or an inkjet printer. It has also been proposed to compress the binarized read signal using a modified Huffman code circuit or the like and store it in a transmission or magnetic or optical memory.

原稿画像を2値信号に変換する方法として、ある固定レ
ベルの閾値を設定し、この間値と読取信号とを比較する
ここにより濃淡判別するものと、あらかじめ決められた
画素ブロック(たとえば4画素×画素)内の各画素をそ
れぞれ異なる白〜黒に相当する複数の閾値と比較し、ブ
ロックを1単位とし該ブロック内の画素のうちいくつを
黒(或いは白)と判断するかによって、擬似的に多諧調
の像再生を行なうデイザ法と呼ばれるものがある。
There are two methods for converting a document image into a binary signal: one is to set a threshold value at a fixed level and then compare the threshold value with the read signal, and this is used to determine the lightness and darkness. ) is compared with multiple threshold values corresponding to different white to black, and a block is considered as one unit, and depending on how many pixels in the block are judged to be black (or white), There is a method called the dither method that reproduces tonal images.

後者のデイザ法は比較的簡単な構成で、多諧調の画像再
生が出来る為、有効な手法である。しかしながら、デイ
ザ法の欠点として再生画像の解像度が低下することが挙
げられる。また、前者の固定閾値による2値化では解像
度は良好だが諧調再生が出来ない欠点がある。
The latter dither method is an effective method because it has a relatively simple configuration and can reproduce images with multiple tones. However, a drawback of the dither method is that the resolution of the reproduced image decreases. Furthermore, although the former method of binarization using a fixed threshold provides good resolution, it has the disadvantage that gradation cannot be reproduced.

従って、解像度の低下を防止し、かつ諧調性を持つ像再
生を行なう為にはオリジナル画像を多諧調再生領域と高
解像再生領域とに分け、前者はデイザによる2値化、後
者は一定閾値による2値化という形式で、それぞれ2値
化処理を画像内容に応じて自動的或いは手動で切り換え
ることが提案されている。
Therefore, in order to prevent resolution degradation and perform image reproduction with tonality, the original image is divided into a multi-tone reproduction area and a high-resolution reproduction area, the former being binarized by dithering, and the latter being binarized using a fixed threshold. It has been proposed to switch the binarization process automatically or manually depending on the image content.

原稿上の画像内容を自動的に且つリアルタイムで判定す
る方法として、ディザ法に用いる複数の閾値からなるデ
ィザマトリックスの大きさに相当するブロック内の画像
領域の内の画素濃度の最大値と最小値との差を用いる手
法がある。この手法は主走査方向に数ラインのメモリと
比較器及び減算器とにより比較的簡単に構戒でき、有効
である。
As a method for automatically and in real time determining the image content on a document, the maximum and minimum values of pixel density in an image area within a block corresponding to the size of a dither matrix consisting of multiple threshold values used in the dither method are used. There is a method that uses the difference between This method is relatively simple and effective using several lines of memory in the main scanning direction, a comparator, and a subtracter.

そして、その判断は濃度差が所定値(一般には黒と白の
中間値)よりも大きい時、線画あるいは文字領域等であ
るとみなし、一定値による2値化一(以後スライス2値
と称す)処理を行なう。逆に濃度差が所定値以下の時、
写真等の中間調画像であるとみなしデイザ法による2値
化処理を行なう。従って、たとえばほぼ一様に黒(ある
いは白)である様な領域に関しては鷹度差がほぼ0に等
しいので中間調画像と判断しデイザ法による2値化処理
を実行してしまう。
Then, when the density difference is larger than a predetermined value (generally an intermediate value between black and white), it is considered to be a line drawing or character area, and it is binarized using a constant value (hereinafter referred to as slice binary). Process. Conversely, when the concentration difference is less than the predetermined value,
It is assumed that the image is a halftone image such as a photograph, and binarization processing is performed using the dither method. Therefore, for example, in a region that is almost uniformly black (or white), since the difference in eagleness is approximately equal to 0, it is determined that the image is a halftone image, and binarization processing using the dither method is executed.

この時たとえば2値化した画像データをLBP等で像再
生する場合においては、たかだか4×4画像域中にディ
ザにより白(あるいは黒)と判断された画素が1〜2画
素含まれる程度であるために再生画像を見るかぎりにお
いてはそれほど目ざゎりとはならない。
At this time, for example, when binarized image data is reproduced using LBP, etc., at most 1 to 2 pixels determined to be white (or black) due to dithering are included in the 4 x 4 image area. Therefore, as long as you look at the reproduced image, it is not that disturbing.

ところが、この2値画像データを符号化して伝送する場
合、あるいはあらかじめ用意したページメモリに格納す
る場合においてはデータの圧縮率をきわめて、低下させ
ることになり、伝送時間が長くなったりあるいは用意し
たメモリを占有し、有効に画像を蓄積することが出来な
いといった問題点が発生してくる。
However, when this binary image data is encoded and transmitted, or when it is stored in a page memory prepared in advance, the compression rate of the data is extremely reduced, resulting in a longer transmission time or when storing it in a page memory prepared in advance. The problem arises that images cannot be stored effectively.

本発明は以上の点に鑑みてなされたもので、画像内容の
判断を更に確実に行ない、これにより画像に適した中間
調処理を実行せしめることを目的とし、特に、画像圧縮
等において、有効な画像の中間調を行なう画像処理装置
を提供するものである。
The present invention has been made in view of the above points, and an object of the present invention is to more reliably judge the content of an image and thereby execute halftone processing suitable for the image. The present invention provides an image processing device that performs halftones of an image.

以下、図面を用い本発明を更に.詳細に説明する。The present invention will be further explained below using the drawings. Explain in detail.

第1図は本発明の一実施例の回路構成を示す図であり、
イメージセンサによって読取られた原稿の画像信号は不
図示のA/D変換器にて6ビットのデジタル画像信号に
変換され、人力端子INに印加きれる。デジタル画像信
号は並列に最小値検出ブロック、最大値検出ブロック、
デイザ2値化回路及びスライス2値化回路に供給される
。lは隣接する8×8の画素で構成される領域( 0 
. 5 m m )内の濃度の最大値を検出する回路で
あり主走査方向を4B短手とした場合IKx6bitの
メモリによって各像域の最大値(黒)が検出されて格納
される。同様にして最小値検出ブロクツ2は各領域ブロ
ック内の最小値(白)が検出格納されており、それぞれ
9ライン目の主走査読み込みに同期して読み出される。
FIG. 1 is a diagram showing a circuit configuration of an embodiment of the present invention,
The image signal of the document read by the image sensor is converted into a 6-bit digital image signal by an A/D converter (not shown), and then applied to the manual terminal IN. The digital image signal is processed by the minimum value detection block, maximum value detection block,
The signal is supplied to a dither binarization circuit and a slice binarization circuit. l is an area (0
.. This circuit detects the maximum density value within 5 mm), and when the main scanning direction is 4B short side, the maximum value (black) of each image area is detected and stored by an IK x 6 bit memory. Similarly, the minimum value detection block 2 detects and stores the minimum value (white) in each area block, and is read out in synchronization with the main scanning reading of the 9th line.

その各ブロック1.2内の最大値及び最小値は減算器5
によって減算されることにより、濃度勾配が演算される
。そしてこの値が6ビットの一定値Bよりも小さい時つ
まり一様濃度に近い場合においてはコンバレータ7によ
り″l′レベルの出力をアンドゲート9に入力する。
The maximum and minimum values within each block 1.2 are subtracted by the subtractor 5.
The concentration gradient is calculated by subtracting . When this value is smaller than the 6-bit constant value B, that is, when the density is close to uniform density, the converter 7 inputs an output of the "l" level to the AND gate 9.

従来はこのコンバレータ出力によってデイザによる2値
化回路3或いは固定スライスによる2値化回路4による
2値化処理のいずれかの出力の選択切換えを行なってい
たが、本実施例においては、コンバレータ7の出力に加
えさらに最大値が一定値Aよりも大きい場合かつ、最小
値が一定値Cよりも小さい場合のみ、即ち、それぞれコ
ンパレータ6およびコンバレータ8より′1”レベルの
出力が発生した場合にアンドゲート回路9の出力が“l
“となることによって、デイザ2値化回路4の出力2値
画像データをマルチブレクサIOで選択する。
Conventionally, the output of the comparator 7 was used to select either the output of the binarization process by the dither binarization circuit 3 or the fixed slice binarization circuit 4. In addition to the output, the AND gate is applied only when the maximum value is larger than the constant value A and the minimum value is smaller than the constant value C, that is, when the comparator 6 and the comparator 8 output a '1'' level, respectively. The output of circuit 9 is “l”
``, the output binary image data of the dither binarization circuit 4 is selected by the multiplexer IO.

1lは2値化データを符号化するMHデコーダ、l3は
符号化データを記憶するページメモリ、l4はFAX等
の送信部である。
1l is an MH decoder that encodes binary data, l3 is a page memory that stores encoded data, and l4 is a transmitter such as a FAX.

表1に各種の場合における本実施例と従来方式どによる
2値化方式選択の例を示す。
Table 1 shows examples of binarization method selection between the present embodiment and the conventional method in various cases.

ここで入力端子INに入力する画像濃度信号は6bit
(0〜63)信号でありレベル0を真白、レベル63を
真黒とする。また、前述の一定値Aを6,Bを32,C
を58とする。
Here, the image density signal input to the input terminal IN is 6 bits.
(0 to 63) signal, level 0 is pure white, and level 63 is pure black. Also, the above-mentioned constant values A are 6, B are 32, and C
is 58.

表1において■の場合は最大値50.最小値lOである
為、コンパレータ6において、50>A(=6)従って
出力は“1”、また、最小値はNo > 58である為
コンバレータ8の出力は“1”、同様にしてコンパレー
タ7の出力はOとなりアンドゲート9の出力はOとなり
、マルチプレクサ10はスライス2値化回路4の出力を
選択する。
In Table 1, the maximum value is 50. Since the minimum value lO is 50>A (=6), the output of the comparator 6 is "1", and since the minimum value is No>58, the output of the comparator 8 is "1", and similarly, the output of the comparator 7 is "1". The output of the AND gate 9 becomes O, and the multiplexer 10 selects the output of the slice binarization circuit 4.

■及び■の場合は、濃度勾配が小さくかつ、最大値、最
小値が、そこそこにハーフトーンである為デイザ2値化
回路3の出力を選択する。
In the cases of (1) and (2), the density gradient is small and the maximum and minimum values are fairly halftones, so the output of the dither binarization circuit 3 is selected.

ところが■及び■の場合は濃度勾配が小さい為従来方式
ではデイザと判定されていたわけであるが、最小値、最
大値がそれぞれ、C = 58,A. = 6を越えて
黒,白側に片寄っている為、スライス2値と判定される
。圧縮は符号化を考える上では領域全面を黒あるいは白
に2値化した方が好ましい。
However, in the case of ■ and ■, the concentration gradient was small, so the conventional method would have determined that it was a dither, but the minimum and maximum values were C = 58 and A. = 6 and is biased toward the black and white sides, so it is determined to be a slice binary value. When considering compression and encoding, it is preferable to binarize the entire area into black or white.

このように、本実施例においては、従来の像域判定基準
であるところの濃度勾配の他に、濃度の最大値と最小値
を加味して判定することによって黒画像、或いは白画像
をデイザ処理することがないので、例えばNH符号化時
の圧縮率の向上を画ることが可能となった。尚符号化の
圧縮率について例を述べれば、表1の■の場合従来例に
よってデイザ法で2値化するとすればデイザの閾値がO
〜63の64通りであれば必らず白と判定される画素が
3つ存在するわけで、主走査方向において全域■の場合
、連続する黒と判定されたデータの中間に白データが周
期的に表われる。たとえばMH (ModifiedH
 u f m a n )符号化を行なう場合、B41
ライン総黒の場合、1ライン情報は40〜50bitで
表わされるのに対し、中央部に白が1画素挿入されると
たちまち20bit程度加算されることとなる。従って
本考案による像域判定及び2値化方式の選択手段は、画
像信号符号化時の圧縮率向上に大きくその効果が発揮さ
れるものである。
In this way, in this embodiment, in addition to the density gradient, which is the conventional image area judgment criterion, the maximum and minimum values of the density are taken into consideration to perform dither processing on a black image or a white image. This makes it possible to improve the compression rate during NH encoding, for example. To give an example of the compression rate of encoding, in the case of ■ in Table 1, if binarization is performed using the dither method according to the conventional example, the dither threshold value is O.
If there are 64 pixels from 63 to 63, there will always be three pixels that are determined to be white, so if the area is ■ in the main scanning direction, white data will periodically appear in the middle of consecutive data determined to be black. It appears in For example, MH (ModifiedH
u f m a n ) When performing encoding, B41
In the case of a completely black line, one line information is represented by 40 to 50 bits, but when one white pixel is inserted in the center, about 20 bits are immediately added. Therefore, the image area determination and binarization method selection means according to the present invention is highly effective in improving the compression rate during image signal encoding.

尚、圧縮等の処理を必要とせず、黒又は白の点が現われ
てもそれほど問題とならない場合には、コンバレータ7
の出力のみで、2値化処理を選択する様にしてもよい。
In addition, if processing such as compression is not required and the appearance of black or white dots is not a big problem, use the converter 7.
The binarization process may be selected only based on the output of .

即ち、デイザ2値回路3及びスライス2値化回路4の両
出力を人力とするマルチブレクサl2を設け、コンバレ
ータ7の出力により、マルチプレクサl2を駆動し、レ
ーザビームプリンタ等の2値プリンタ15に2値画像信
号を供給する様になす。
That is, a multiplexer l2 is provided which manually outputs both the outputs of the dither binary circuit 3 and the slice binary circuit 4, and the multiplexer l2 is driven by the output of the comparator 7, and the binary printer 15, such as a laser beam printer, outputs a binary value. It is designed to supply an image signal.

また、本実施例ではアンドゲート9の出力で、2通りの
2値化処理の行なわれた信号を選択したが、例えばコン
バレー夕に出力するデイザパターンを記憶するROMに
更に固定スライスレベルを記憶せしめ、アンドゲート9
の出力で、ROMの出力を選択するようになすことも可
能である。また原稿読取以外のデータ、例えば伝送され
たデータの2値化処理にも用いることができる。
Furthermore, in this embodiment, a signal that has undergone two types of binarization processing is selected as the output of the AND gate 9, but a fixed slice level is also stored in the ROM that stores a dither pattern to be output in a combo barrette, for example. Seshime, And Gate 9
It is also possible to select the output of the ROM based on the output of the ROM. It can also be used for data other than document reading, for example, for binarization processing of transmitted data.

又、各コンバレータのスライスレベルは本実施例のもの
に限らないことは言うまでもない。
Furthermore, it goes without saying that the slice level of each converter is not limited to that of this embodiment.

以上説明した様に、本発明の実施例によれば、原稿の広
範囲な黒或は白領域をデイザ処理してしまうことによる
不都合を除去し、画像内容に応じた2値化処理を達戊す
ることができる。また、特に、2値化データを圧縮処理
する場合において、圧縮効率を向上せしめ、例えば伝送
時間の短縮等に有効である。
As explained above, according to the embodiments of the present invention, it is possible to eliminate the inconvenience caused by dithering a wide range of black or white areas of a document, and to achieve binarization processing according to the image content. be able to. In addition, especially when compressing binary data, it is effective in improving compression efficiency and, for example, shortening transmission time.

以上の様に本発明によれば、入力した画像信号を出力先
に応じて適切に中間調処理することができる。
As described above, according to the present invention, an input image signal can be appropriately subjected to halftone processing depending on the output destination.

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

第1図は本発明による画像処理装置の一実施例の回路ブ
ロック図であり、lは最大値検出ブロック、2は最小値
検出ブロック、3はデイザ2値化回路、4はスライス2
値化回路、5は減算器、6,7.8はコンバレー夕、9
はアンドゲ−1−、’10はマルチブ1ノクサ、11は
MHエンコーダである。 表 1
FIG. 1 is a circuit block diagram of an embodiment of an image processing apparatus according to the present invention, where l is a maximum value detection block, 2 is a minimum value detection block, 3 is a dither binarization circuit, and 4 is a slice 2
Value conversion circuit, 5 is a subtracter, 6, 7.8 is a combiner, 9
is an andgame-1-, '10 is a multi-build noxa, and 11 is a MH encoder. Table 1

Claims (1)

【特許請求の範囲】[Claims] 入力された画像信号を中間調処理し出力する画像処理装
置において、画像信号の出力先に応じて、前記入力画像
信号の中間調処理を変更することを特徴とする画像処理
装置。
An image processing device that performs halftone processing on an input image signal and outputs the resultant image signal, the image processing device changing the halftone processing of the input image signal depending on an output destination of the image signal.
JP2143709A 1990-06-01 1990-06-01 Image processing device Expired - Lifetime JPH0728375B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2143709A JPH0728375B2 (en) 1990-06-01 1990-06-01 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2143709A JPH0728375B2 (en) 1990-06-01 1990-06-01 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP58097169A Division JPS59223073A (en) 1983-06-01 1983-06-01 Picture processor

Publications (2)

Publication Number Publication Date
JPH0316380A true JPH0316380A (en) 1991-01-24
JPH0728375B2 JPH0728375B2 (en) 1995-03-29

Family

ID=15345152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2143709A Expired - Lifetime JPH0728375B2 (en) 1990-06-01 1990-06-01 Image processing device

Country Status (1)

Country Link
JP (1) JPH0728375B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5778278A (en) * 1980-10-31 1982-05-15 Ricoh Co Ltd Video coding method
JPS583374A (en) * 1981-06-29 1983-01-10 Nippon Telegr & Teleph Corp <Ntt> Intermediate tone processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5778278A (en) * 1980-10-31 1982-05-15 Ricoh Co Ltd Video coding method
JPS583374A (en) * 1981-06-29 1983-01-10 Nippon Telegr & Teleph Corp <Ntt> Intermediate tone processing system

Also Published As

Publication number Publication date
JPH0728375B2 (en) 1995-03-29

Similar Documents

Publication Publication Date Title
JPS59223073A (en) Picture processor
US4975786A (en) Image processing method and apparatus with error diffusion capability
JPH05199413A (en) Picture processor
JPS6198069A (en) Image processor
JPH0354506B2 (en)
JPH03248674A (en) Half-tone picture processor
US5594555A (en) Image processing method and apparatus empolying the same
JP2756371B2 (en) Image processing device
US5329380A (en) Image processing machine
JPH01115271A (en) Image processor
JPH01115272A (en) Image processor
JPH0316380A (en) Picture processor
JP3117331B2 (en) Image data processing device
JP3265100B2 (en) Facsimile machine
KR930007984B1 (en) Two-tone picture method for fax
JP2667860B2 (en) Image processing method and apparatus
KR930007980B1 (en) Middle tone picture display method
JPS5814673A (en) Gradation signal restoring system
JPH0644800B2 (en) Image processing device
KR0159418B1 (en) Apparatus for improving the transmission picture quality in the facsimile system and method thereof
JPS6180969A (en) Picture signal processor
JPH01137378A (en) Picture processing system
JPH05122535A (en) Image processor
JPH0486156A (en) Picture binarizing method
JPS61146068A (en) Deciding method for image area