JPS59165567A - Adaptive binary coding device - Google Patents

Adaptive binary coding device

Info

Publication number
JPS59165567A
JPS59165567A JP58038556A JP3855683A JPS59165567A JP S59165567 A JPS59165567 A JP S59165567A JP 58038556 A JP58038556 A JP 58038556A JP 3855683 A JP3855683 A JP 3855683A JP S59165567 A JPS59165567 A JP S59165567A
Authority
JP
Japan
Prior art keywords
circuit
halftone
picture
binary
image
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
JP58038556A
Other languages
Japanese (ja)
Inventor
Toru Usubuchi
臼「淵」 徹
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co Ltd
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58038556A priority Critical patent/JPS59165567A/en
Publication of JPS59165567A publication Critical patent/JPS59165567A/en
Pending 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/40062Discrimination between different image types, e.g. two-tone, continuous tone

Abstract

PURPOSE:To ensure the binary coding with stable picture quality at both a binary picture region and a halftone picture region by dividing both regions in block units. CONSTITUTION:The analog picture supplied through a terminal 1 is converted into a digital picture signal of 6-bit by an A/D converter 2 and supplied to a feature extracting circuits 3, a binary coding circuit 4 and a dot converting circuit 5 respectively together with the clock supplied from a terminal 9. The circuit 3 divides the digital picture signals for each block by counting the clocks and distinguished whether the input picture signal is equal to a binary picture or a halftone picture. This distinguished picture signal is supplied to a feature quantity deciding circuit 6. The digital picture signal is binary coded by the circuit 4 and then converted into dots by the circuit 5 in the form of a halftone picture for binary coding. A multiplexer 7 selects the binary signals of circuits 4 and 5 for each block on the basis of the result of the circuit 6. These selected signals are delivered through a terminal 8.

Description

【発明の詳細な説明】 本発明は、2値画像および写真等の中間調画像信号を2
値化する適応2値化装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a method for converting halftone image signals such as binary images and photographs into two
This invention relates to an adaptive binarization device that performs digitization.

従来この種の混在画像を2値化する適応2値化装置がな
かったために、スイッチ等の切シ変えによって単純2値
化を行うか、網点化(ディザ化)を行っていた。単純2
値化の場合には、中間調画像の部分も単純2値化してし
まうために、写真等において十分な画質が得られない欠
点があった。
Conventionally, there was no adaptive binarization device for binarizing this kind of mixed image, so simple binarization was performed by turning on/off a switch or the like, or halftone dot conversion (dithering) was performed. simple 2
In the case of digitization, halftone image portions are also simply binarized, which has the disadvantage that sufficient image quality cannot be obtained in photographs and the like.

一方網点化(ディザ化)を行った場合には、逆に文字や
網点化された画像を網点化するために、文字の場合には
、網点化による画質劣化が表われ、網点写真の場合には
、モアレ等が表われるという欠点があった。
On the other hand, when halftone conversion (dithering) is performed, characters and halftone images are converted into halftone dots. In the case of point photographs, there is a drawback that moiré and the like appear.

本発明の目的は、従来方式の上記欠点を改良するもので
あシ、2値画像領域と中間調画像領域をブロック単位で
区切ることによシ、2値画像領域、中間調画像領域どち
らの領域にも安定した画質の2値化を与える適応2値化
方式を提供することにある。
An object of the present invention is to improve the above-mentioned drawbacks of the conventional method. The object of the present invention is to provide an adaptive binarization method that provides stable image quality binarization.

本発明によれば、2値画像および中間調画像の混在した
画像信号を2値化する2値化装置において、入力画信号
をA/D変換し多値のディジタル画像信号を得る手段と
、前記ディジタル画像信号を用いて中間調画像らしさの
特徴量を抽出する手段と前記特徴量に従ってディジタル
画像信号を2値画1象領域と中間調画像領域にブロック
単位で分離する手段と、前記分離された2値画像額域の
部分は単純2値化する手段と、中間調画1域領域の部分
は網点化することで2値化する手段とから構成されるこ
とを特徴とする適応2値化装置が得られる。
According to the present invention, in a binarization device that binarizes an image signal including a binary image and a halftone image, there is provided a means for A/D converting an input image signal to obtain a multi-value digital image signal; means for extracting a characteristic amount of a halftone image using a digital image signal; means for separating the digital image signal into a binary image area and a halftone image area in units of blocks according to the feature amount; Adaptive binarization characterized by comprising a means for simply binarizing the frame area of the binary image, and a means for binarizing the halftone image 1 area by halftone dot conversion. A device is obtained.

次に図面を用いて本発明の詳細な説明する。Next, the present invention will be explained in detail using the drawings.

第1図は、本発明の一実施例を表わす図である。FIG. 1 is a diagram representing one embodiment of the present invention.

端子1よ多入力されたアナログ画像信号は、N0変換器
2でディジタル画像信号6ビツトに変換され、端子9よ
多入力されるクロックとともに特徴抽出回路3.2値化
回路4、網点化回路5に入力される。特徴抽出回路3で
は、ディジタル画像信号をクロックを数える事でブロッ
ク単位で区切シ、入力画像信号が2値画像であるか中間
調画像であるかを区別するための特徴を抽出し、特徴量
判定回路6に入力する。ディジタル画像信号は、2値化
回路4で通常の2値画像として2値化が行なわれ、網点
化回路5で中間調画像として網点化を行うことで2値化
が行なわれ、マルチプレクサ7に入力される。マルチプ
レクサ7では、特徴量判定回路6の結果よジブロック単
位で、2値化回路4の2値信号か網点化回路5の2値信
号が選択され、2値画像信号として端子8より出力され
る。
The multiple analog image signals input to the terminal 1 are converted into 6-bit digital image signals by the N0 converter 2, and together with the clock input to the terminal 9, the signals are sent to a feature extraction circuit 3, a binarization circuit 4, and a halftone dot conversion circuit. 5 is input. The feature extraction circuit 3 divides the digital image signal into blocks by counting clocks, extracts features for distinguishing whether the input image signal is a binary image or a halftone image, and performs feature amount determination. Input to circuit 6. The digital image signal is binarized as a normal binary image in the binarization circuit 4, halftone-ized as a halftone image in the halftone conversion circuit 5, and then binarized by the multiplexer 7. is input. In the multiplexer 7, the binary signal from the binarization circuit 4 or the binary signal from the halftone dot formation circuit 5 is selected for each block based on the result of the feature determination circuit 6, and is outputted from the terminal 8 as a binary image signal. Ru.

第2図(ト)、(B)は、本発明に用いられる特徴量抽
出回路3として濃度差ヒストグラムを用いた場合の効果
を説明するだめの図である。2値画像信号の濃度差ヒス
トグラムを求めると、2値画像信号の場合にはエッヂの
部分だけ濃度差が大きく、背景および文字の中心部では
濃度差が小さいというように、第2図(3)の濃度差ヒ
ストグラムに示しだように濃度差の大きい部分と小さい
部分の両方にピークのできる2山型の分布をとる。一方
中間調画像信号の濃度差ヒストグラムを求めると、第2
図(均に示したようにすべて濃度差で平均的な値をとる
1山型の分布をとる。つまbe度差ヒストグラムを求め
、−山型であるか2山型であるかを判定すれば、2値画
像であるか中間調画像であるかの分離は可能である。
FIGS. 2(G) and 2(B) are diagrams for explaining the effect when a density difference histogram is used as the feature extraction circuit 3 used in the present invention. When we calculate the density difference histogram of a binary image signal, we find that in the case of a binary image signal, the density difference is large only at the edges, and the density difference is small at the background and the center of the characters, as shown in Figure 2 (3). As shown in the density difference histogram, a two-peaked distribution with peaks at both large and small density differences is obtained. On the other hand, when calculating the density difference histogram of the halftone image signal, the second
As shown in the figure, all concentration differences have a one-peak distribution with an average value.If you calculate the degree difference histogram and determine whether it is a -mountain shape or a two-mountain shape, , it is possible to separate whether the image is a binary image or a halftone image.

第3図は、第2図で説明した濃度差ヒストグラムを特徴
量として用いる場合の特徴量抽出回路の一例である。図
におて、まず最初にブロックの始tbでメモリ(ランダ
ムアクセスメモリ)13の内容に0が書き込まれる。次
にA/D変換器2よ多入力されたディジタル画像信号は
レジスタ10で、1サンプル遅処され、加算器12に入
力される。一方インバータ11で反転されたディジタル
画像信号が加算器12の別の端子に入力され、加算され
る事で一画素前のディジタル画像信号との濃度差が求め
られ、メモリ13のアドレスとして与えられる。メモリ
13では与えられたアドレスの内容が読み出され、加算
器14で1が加えられた後レジスタ15に一旦蓄えられ
た後で、メモリ13の同じアドレスに書き込むことで濃
度差ヒストグラムが求められる。求められた濃度差ヒス
ト5− ダラムは、ブロックの終シに読み出され、特徴量判定回
路6に入力される。ここで特徴量判定回路6は、マイク
ロプロセッサ、ROM (リードオンリーメモリ)、R
AM (ランダムアクセスメモリ)。
FIG. 3 is an example of a feature quantity extraction circuit when the density difference histogram explained in FIG. 2 is used as a feature quantity. In the figure, 0 is first written to the contents of the memory (random access memory) 13 at the beginning tb of the block. Next, the digital image signals input to the A/D converter 2 are delayed by one sample in the register 10, and then input to the adder 12. On the other hand, the digital image signal inverted by the inverter 11 is input to another terminal of the adder 12 and added, thereby determining the density difference with the digital image signal of one pixel before, and giving it as an address in the memory 13. The contents of the given address are read out in the memory 13, 1 is added in the adder 14, and the contents are temporarily stored in the register 15. Then, the density difference histogram is obtained by writing to the same address in the memory 13. The obtained density difference histogram 5-Durham is read out at the end of the block and inputted to the feature quantity determining circuit 6. Here, the feature value determination circuit 6 includes a microprocessor, ROM (read only memory), R
AM (Random Access Memory).

I10ポート等で構成されるマイクロコンピュータであ
り、特徴量抽出回路5の濃度差ヒストグラムを用いて、
1山型か2山型であるかを判定し、その結果に従って選
択信号を出力するものである。
It is a microcomputer configured with an I10 port, etc., and uses the density difference histogram of the feature quantity extraction circuit 5.
It determines whether it is a single peak type or a double peak type, and outputs a selection signal according to the result.

以上の特徴量抽出回路は、単なる一例であり、それ以外
にも、画像信号に含まれている周波数成分を求める事に
よって、2値画像信号であるか中間調画像であるかを判
定する等積々の方法が考えられる。
The feature amount extraction circuit described above is just an example, and there is also an equal product that determines whether the image signal is a binary image signal or a halftone image by determining the frequency components included in the image signal. Various methods are possible.

第4図は、本発明に用いられる網点化回路5の一例を示
したものである。アドレス発生器20は、ディジタル画
像信号に付加されたクロックに従い、第5図に示された
ような網点の閾値を発生するアドレスを発生する。RO
M21は、アドレス発生器20のアドレスに従い、現在
のディジタル画像信号を2値化する閾値を発生し、比較
器22で入力6− されたディジタル画像信号と比較することで2値化が行
なわれ、網点画像が得られる。2値化回路4は、網点化
回路5の中の比較器22の一方の入力を固定にすること
で構成できる。
FIG. 4 shows an example of the halftone dotting circuit 5 used in the present invention. The address generator 20 generates an address for generating a halftone dot threshold as shown in FIG. 5 in accordance with a clock added to the digital image signal. R.O.
M21 generates a threshold value for binarizing the current digital image signal according to the address of the address generator 20, and performs binarization by comparing it with the input digital image signal in the comparator 22. A halftone image is obtained. The binarization circuit 4 can be constructed by fixing one input of the comparator 22 in the halftone conversion circuit 5.

以上本発明は、実施例に従って説明されたが、これは単
なる例示的なものであって制限的な意味を有するもので
ない。つまシ、中間調画像の表現として網点化を行った
がディザ化又は多値のまま出力する専権々の方法が用い
られることは勿論である。
Although the present invention has been described above according to embodiments, these are merely illustrative and do not have a restrictive meaning. Although halftone dots are used to express halftone images, it goes without saying that dithering or proprietary methods of outputting as multivalued images may also be used.

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

第1図は、本発明の一実施例を示すブロック図、第2図
(3)、(B)は本発明に用いられる特徴量として濃度
差ヒストグラムを用いた場合の効果を示す図、第3図は
特徴量抽出回路の一例を示すブロック図、第4図は網点
化回路の一例を示すブロック図、第5図は網点の閾値の
一例を示す図である。 なお、図において、参照数字1は入力端子、2はA/D
変換器、3は特徴抽出回路、4は2値化回路、5は網点
化回路、6は特徴量判定回路、7はマルチプレクサ、8
は出力端子、10はレジスタ、11はインバータ、12
は加算器、13はメモリ、14は加算器、15はレジス
タ、20はアドレス発生器、21はROM (リードオ
ンリーメモリ)、22は比較器を衣わす。 1′2  図 特開昭59−165567 (4)
FIG. 1 is a block diagram showing an embodiment of the present invention, FIGS. 2(3) and (B) are diagrams showing the effect of using a density difference histogram as a feature quantity used in the present invention, and FIG. FIG. 4 is a block diagram showing an example of a feature amount extraction circuit, FIG. 4 is a block diagram showing an example of a halftone dot formation circuit, and FIG. 5 is a diagram showing an example of threshold values for halftone dots. In the figure, reference number 1 is an input terminal, and 2 is an A/D terminal.
Converter, 3 is a feature extraction circuit, 4 is a binarization circuit, 5 is a halftoning circuit, 6 is a feature quantity determination circuit, 7 is a multiplexer, 8
is an output terminal, 10 is a register, 11 is an inverter, 12
is an adder, 13 is a memory, 14 is an adder, 15 is a register, 20 is an address generator, 21 is a ROM (read only memory), and 22 is a comparator. 1'2 Figure JP-A-59-165567 (4)

Claims (1)

【特許請求の範囲】[Claims] 2値画像(文字又は網点画像)および中間調画像の混在
した画像信号を2値化する2値化装置において、入力画
像信号をA/D変換し多値のディジタル画像信号を出力
する手段と、前記ディジタル画像信号を用いて中間調画
像らしさの特徴量を抽出する手段と、前記特徴量に従っ
て前記ディジタル画像信号を2値画像領域と多値画像領
域にブロック単位で分離する手段と、前記分離された2
値画像領域の部分は、単純2値化する手段と、中間調画
像領域の部分は網点化(又はディザ化)することで2値
化する手段とから構成されることを特徴とする適応2値
化装置。
In a binarization device that binarizes an image signal in which a binary image (character or halftone image) and a halftone image are mixed, means for A/D converting an input image signal and outputting a multivalued digital image signal; , means for extracting a characteristic amount of a halftone image using the digital image signal, means for separating the digital image signal into a binary image region and a multivalued image region in units of blocks according to the feature amount, and the separating method. was done 2
Adaptation 2 characterized in that the value image area portion is comprised of a means for simple binarization, and the halftone image area portion is comprised of a means for binarizing the halftone image area by halftone dotting (or dithering). Value device.
JP58038556A 1983-03-09 1983-03-09 Adaptive binary coding device Pending JPS59165567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58038556A JPS59165567A (en) 1983-03-09 1983-03-09 Adaptive binary coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58038556A JPS59165567A (en) 1983-03-09 1983-03-09 Adaptive binary coding device

Publications (1)

Publication Number Publication Date
JPS59165567A true JPS59165567A (en) 1984-09-18

Family

ID=12528561

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58038556A Pending JPS59165567A (en) 1983-03-09 1983-03-09 Adaptive binary coding device

Country Status (1)

Country Link
JP (1) JPS59165567A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6191772A (en) * 1984-10-11 1986-05-09 Canon Inc Picture processor
JPS63115455A (en) * 1986-11-01 1988-05-20 Canon Inc Data communication equipment
JPH09102861A (en) * 1996-05-10 1997-04-15 Canon Inc Data communication equipment and its method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6191772A (en) * 1984-10-11 1986-05-09 Canon Inc Picture processor
JPS63115455A (en) * 1986-11-01 1988-05-20 Canon Inc Data communication equipment
JPH09102861A (en) * 1996-05-10 1997-04-15 Canon Inc Data communication equipment and its method

Similar Documents

Publication Publication Date Title
JPS6198069A (en) Image processor
JPS58202666A (en) Binary coding system
JPS5810960A (en) Picture signal processing circuit
JPS60229573A (en) Encoding and transmitting system for half-tone picture information
JPS6348225B2 (en)
JPS59165567A (en) Adaptive binary coding device
JPH0122665B2 (en)
JPS58205376A (en) Method for discriminating and processing picture region
JPH04248766A (en) Image area separation system
JPH0393355A (en) Character area separation system
JPH0888770A (en) Image processing unit
JPS5817778A (en) Binary coding system
JPS5814673A (en) Gradation signal restoring system
JP2757868B2 (en) Image information binarization processing circuit
JPS58215165A (en) Linear density converting system
JPS58119268A (en) Picture signal processing system
JP2972171B2 (en) Halftone area detection method
JPS6080365A (en) Processor of pseudo medium gradation picture
JPH04299784A (en) Binarizing circuit
JPS58191571A (en) Picture processing system
JPH04270561A (en) Picture processor
JPH0526389B2 (en)
JP2986844B2 (en) Image binarization method and apparatus
JPS6226227B2 (en)
JPH04191986A (en) Character synthesizer