JPS6371784A - Binarizing device for picture signal - Google Patents

Binarizing device for picture signal

Info

Publication number
JPS6371784A
JPS6371784A JP61216402A JP21640286A JPS6371784A JP S6371784 A JPS6371784 A JP S6371784A JP 61216402 A JP61216402 A JP 61216402A JP 21640286 A JP21640286 A JP 21640286A JP S6371784 A JPS6371784 A JP S6371784A
Authority
JP
Japan
Prior art keywords
point
value
binarized
density
weighted average
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
JP61216402A
Other languages
Japanese (ja)
Inventor
Yuji Katsuta
祐司 勝田
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP61216402A priority Critical patent/JPS6371784A/en
Publication of JPS6371784A publication Critical patent/JPS6371784A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Image Input (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To effectively binarize both two and multiple tone wedge parts when the two and multiple tone wedge parts exist in the same original, by outputting binarized data in accordance with the density of a point to be binarized and the weighted mean density of the surroundings of the point. CONSTITUTION:In the case of a two tone wedge picture, such as a character, etc., with which the density of a point to be binarized and the weighted mean density of the surroundings of the point are largely different from each other, '1' or '0' is forcibly outputted to a terminal 13. Moreover, when the density value of the point to be binarized is smaller than the sum of the weighted mean density value of the surroundings and a prescribed value, but larger than a value obtained by subtracting the prescribed value from the weighted mean density value, the output of a comparator 7 becomes '0' and that of another comparator 8 goes to '1'. In case of a multiple tone wedge picture, such as a photograph, etc., with which the density of a point to be binary coded is close to the weighted mean density value of the surroundings of the point, binarized data are outputted in accordance with the weighted mean density value of the surroundings.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明はアナログ画像信号を2値化する画像信号2値化
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an image signal binarization device that binarizes an analog image signal.

〈従来の技術〉 写真のような多階調の原稿を画像信号に変換する方法と
してディザ法がある。また、文字のような2階調原稿は
2階調の画像信号に変換する。しかし、実際の原稿には
、写真のように多階調の画像信号に変換するほうがよい
ものと、文字のように2階調の画像信号に変換するほう
がよいものが混在する場合がある。この場合、ディザ法
を用いると文字が読めなくなるかあるいは読みにくくな
ることがあり、2階調の画像信号に変換すると多階調の
部分がつぶれてしまうという欠点があった。
<Prior Art> A dither method is a method for converting a multi-tone original such as a photograph into an image signal. Further, a two-tone original such as text is converted into a two-tone image signal. However, in actual documents, there may be a mixture of some documents, such as photographs, which are better converted into multi-tone image signals, and some documents, such as letters, which are better converted into two-tone image signals. In this case, when the dither method is used, the characters may become unreadable or difficult to read, and when converted to a two-tone image signal, the multi-tone portions are lost.

〈発明の目的〉 本発明は上記事情に鑑みてなされたものであり、同−原
稿内の多階調部分と2階調部分をともに効果的に画像信
号に変換できるようにした画像信号2値化装置の提供を
目的とする。
<Object of the Invention> The present invention has been made in view of the above-mentioned circumstances. The purpose is to provide a

〈実施例〉 以下、本発明の画像信号2値化装置の一実施例を図面に
基づいて説明する。
<Embodiment> Hereinafter, one embodiment of the image signal binarization device of the present invention will be described based on the drawings.

ADコンバータ1は、原稿画像の一定範囲のアナログビ
デオ信号を8ビツトのディジタルデータに変換する。こ
の変換されたディジタルデータの値が大きいほど、原稿
画像の濃度は大である。メモリ2は、ADコンバータ1
からのディジタルデータを記憶する。D形フリップフロ
ップ3は、原稿画像の2値化する点のディジタルデータ
をラッチする。
The AD converter 1 converts an analog video signal of a certain range of an original image into 8-bit digital data. The greater the value of the converted digital data, the greater the density of the original image. Memory 2 is AD converter 1
Store digital data from. The D-type flip-flop 3 latches digital data at points to be binarized in the original image.

荷重平均濃度演算回路4は、2値化する点を中心にして
15X15点のディジタルデータからこの範囲にある点
の濃度の荷重平均値を算出する。
The weighted average density calculating circuit 4 calculates the weighted average value of the density of points within this range from digital data of 15×15 points centered on the point to be binarized.

加算用FROM5は、荷重平均濃度演算回路4から濃度
の荷重平均値がアドレスデータとして与えられると、こ
の荷重平均値に所定の値を加算した値を出力する。減算
用FROM6は、荷重平均濃度演算回路4から濃度の荷
重平均値がアドレスデータとして与えられると、この荷
重平均値から所定の値を減算した値を出力する。
When the weighted average density value is given as address data from the weighted average density calculation circuit 4, the addition FROM 5 outputs a value obtained by adding a predetermined value to this weighted average value. When the weighted average density value is given as address data from the weighted average density calculation circuit 4, the subtraction FROM 6 outputs a value obtained by subtracting a predetermined value from this weighted average value.

コンパレータ7は、D形フリップフロップ3が保持する
データと加算用FROM5が出力したデータとを比較し
、D形フリップフロップ3のデータが加算用FROM5
のデータより大であると“1゛を出力する。コンパレー
タ8は、D形フリップフロンブ3のデータと減算用FR
OM6が出力したデータとを比較し、D形フリップフロ
ップ3のデータが減算用FROM6のデータより小であ
ると“0”を出力し、D形フリップフロップ3のデータ
が減算用FROM6のデータより大であると@1′″を
出力する。
The comparator 7 compares the data held by the D-type flip-flop 3 with the data output from the addition FROM 5, and the data of the D-type flip-flop 3 is compared with the data held by the addition FROM 5.
If the data is greater than the data of , it outputs "1".
It compares the data output by OM6, and if the data of D-type flip-flop 3 is smaller than the data of FROM 6 for subtraction, it outputs "0", and the data of D-type flip-flop 3 is larger than the data of FROM 6 for subtraction. If so, @1''' is output.

ディザ用FROM9は、与えられたアドレスデータの2
ビツトはディザタイプの選択に用い、残り6ビツトで8
×8デイザパターンのうちの1点の選択を行なう。コン
パレータ10はディザ用PROM9の出力データと荷重
平均濃度演算回路4からの濃度の荷重平均値を比較し、
荷重平均濃度をディザ法により2値化したデータを出力
する。
FROM9 for dithering is 2 of the given address data.
The bits are used to select the dither type, and the remaining 6 bits are used to select the dither type.
One point of the ×8 dither pattern is selected. The comparator 10 compares the output data of the dither PROM 9 and the weighted average value of the density from the weighted average density calculation circuit 4,
The weighted average concentration is binarized using the dither method and the data is output.

コンパレータ7の出力は、オア回路11に与えられる。The output of the comparator 7 is given to an OR circuit 11.

コンパレータ8とコンパレータ10の出力は、アンド回
路12に与えられ、このアンド回路12の出力はオア回
路11に与えられる。オア回路11の出力は、この画像
信号2値化装置の端子13に出力される。
The outputs of comparator 8 and comparator 10 are applied to an AND circuit 12, and the output of this AND circuit 12 is applied to an OR circuit 11. The output of the OR circuit 11 is output to a terminal 13 of this image signal binarization device.

いま、2値化する点の濃度値が周囲の濃度の荷重平均値
に所定値を加算した値より大であると、コンパレータ7
の出力は“1”になり、端子13は“11になる。また
、2値化する点の濃度値が周囲の濃度の荷重平均値から
所定値を減算した値より小であると、コンパレータ7.
8の出力は0”になり、端子13は“0”になる、すな
わち、2値化する点の濃度と周囲の荷重平均濃度とが大
きく異なる2階調の画像例えば文字等のときは、端子1
3には強制的に1“または“01が出力される。
Now, if the concentration value of the point to be binarized is larger than the value obtained by adding a predetermined value to the weighted average value of the surrounding concentration, the comparator 7
The output of the terminal 13 becomes "1", and the output of the terminal 13 becomes "11".In addition, if the density value of the point to be binarized is smaller than the value obtained by subtracting a predetermined value from the weighted average value of the surrounding density, the output of the comparator 7 becomes "1". ..
8 becomes "0" and terminal 13 becomes "0". In other words, when the density of the point to be binarized and the weighted average density of the surrounding area are significantly different from each other, the output of terminal 13 becomes "0". 1
3 is forcibly output as 1" or "01.

また、2値化する点の濃度値が周囲の濃度の荷重平均値
に所定値を加算した値より小であり且つ周囲の濃度の荷
重平均値から所定値を減算した値より大であると、コン
パレータ7の出力は“0”になり、コンパレータ8の出
力は“1”になる。
Further, if the concentration value of the point to be binarized is smaller than the value obtained by adding a predetermined value to the weighted average value of the surrounding concentration, and larger than the value obtained by subtracting the predetermined value from the weighted average value of the surrounding concentration, The output of comparator 7 becomes "0" and the output of comparator 8 becomes "1".

そして、コンパレータ10から出力された荷重平均濃度
をディザ法により2値化したデータが、アンド回路12
とオア回路11を介して端子13に出力される。すなわ
ち、2値化する点の濃度と周囲の荷重平均濃度とが近い
値である多階調の画像例えば写真等のときは、周囲の濃
度の荷重平均値に応じた2値化データが出力される。
Then, the data obtained by converting the weighted average concentration output from the comparator 10 into binary data using the dither method is sent to the AND circuit 12.
is output to the terminal 13 via the OR circuit 11. In other words, when the density of a point to be binarized is close to the weighted average density of the surrounding area, such as a multi-tone image such as a photograph, the binarized data is output according to the weighted average value of the surrounding density. Ru.

〈発明の効果〉 以上説明したように本発明においては、2値化する点の
濃度と周囲の荷重平均濃度とが大きく異なるときは周囲
の濃度との大小関係に応じて強制的に“1゛または“O
゛の2値化データを出力し、2値化する点の濃度と周囲
の荷重平均濃度とが近いときには荷重平均濃度に応じた
2値化データを出力するようにしたので、同−原稿内に
文字のような2階調の部分と写真のような多階調の部分
が混在する場合に2階調と多階調の両方の部分をともに
効果的に2値化することができる。また、ディザ化する
ときに荷重平均値を用いるので、原画像が網点画像であ
ってもモアレが生じない。又、荷重平均値を求める時の
重み付けを、入力画質に応じて適当な値に設定すること
により、入力画質に応じた適切な出力画像を得ることが
可能である。
<Effects of the Invention> As explained above, in the present invention, when the density of a point to be binarized and the weighted average density of the surrounding area are significantly different, "1" is forcibly set depending on the magnitude relationship with the surrounding density. or “O
When the density of the point to be binarized is close to the weighted average density of the surrounding area, the binarized data corresponding to the weighted average density is output. When a two-tone part such as text and a multi-tone part such as a photograph coexist, both the two-tone part and the multi-tone part can be effectively binarized. Further, since a weighted average value is used when dithering, moiré does not occur even if the original image is a halftone image. Further, by setting the weighting when calculating the weighted average value to an appropriate value according to the input image quality, it is possible to obtain an appropriate output image according to the input image quality.

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

図面は本発明実施例の基本構成を示すブロック図である
。 1・・・ADコンバータ 2・・−・メモリ 3−・−D形フリンブフロフプ 4−荷重平均濃度演算回路 5−・−加算用FROM 6−・・減算用FROM 7.8.10−・・コンパレータ 9・・・ディザ用PROM 11・−・オア回路 12・・・アンド回路
The drawing is a block diagram showing the basic configuration of an embodiment of the present invention. 1...AD converter 2...Memory 3--D-type flimback float 4-Loaded average concentration calculation circuit 5--FROM for addition 6--FROM for subtraction 7.8.10--Comparator 9 ... Dither PROM 11 ... OR circuit 12 ... AND circuit

Claims (1)

【特許請求の範囲】[Claims] アナログ画像信号を2値化する装置において、画像の2
値化する点の近傍の所定範囲の点の濃度の荷重平均値を
演算する演算手段と、上記2値化する点の濃度値と上記
荷重平均値との差が所定値以上であるときに上記2値化
する点の濃度値と上記荷重平均値との大小関係に応じた
2値化データを発生する第1の2値化データ発生手段と
、上記2値化する点の濃度値と上記荷重平均値との差が
所定値以下であるときに上記荷重平均値に応じた2値化
データを発生する第2の2値化データ発生手段を備えた
ことを特徴とする画像信号2値化装置。
In a device that binarizes an analog image signal, two
a calculation means for calculating a weighted average value of the concentration of points in a predetermined range in the vicinity of the point to be digitized; a first binarized data generation means for generating binarized data according to the magnitude relationship between the density value of the point to be binarized and the weighted average value; and the density value of the point to be binarized and the weighted average value. An image signal binarization device comprising second binarization data generation means for generating binarization data according to the weighted average value when the difference from the average value is less than or equal to a predetermined value. .
JP61216402A 1986-09-12 1986-09-12 Binarizing device for picture signal Pending JPS6371784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61216402A JPS6371784A (en) 1986-09-12 1986-09-12 Binarizing device for picture signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61216402A JPS6371784A (en) 1986-09-12 1986-09-12 Binarizing device for picture signal

Publications (1)

Publication Number Publication Date
JPS6371784A true JPS6371784A (en) 1988-04-01

Family

ID=16687999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61216402A Pending JPS6371784A (en) 1986-09-12 1986-09-12 Binarizing device for picture signal

Country Status (1)

Country Link
JP (1) JPS6371784A (en)

Similar Documents

Publication Publication Date Title
US4999629A (en) Two tone and multiple image discrimination and signal binarization system
JPH03248674A (en) Half-tone picture processor
US5301039A (en) Image processing apparatus with pixel tone discrimination
US5055944A (en) Image signal processing apparatus
JPS6371784A (en) Binarizing device for picture signal
JPS6371781A (en) Binarizing device for picture signal
JPS62185467A (en) Picture signal binary-coding device
JPS6371782A (en) Binarizing device for picture signal
JPS6371783A (en) Binarizing device for picture signal
JPS6354871A (en) Picture signal binarization device
EP0470266A1 (en) Image processor
KR960014317B1 (en) Image resolution converting apparatus
JPS6080365A (en) Processor of pseudo medium gradation picture
JPH0486156A (en) Picture binarizing method
JPS58119268A (en) Picture signal processing system
JPS58191571A (en) Picture processing system
JPS62107575A (en) Method and device for generating high resolution binarization picture data
JPS58215165A (en) Linear density converting system
JPH07203203A (en) Picture processing unit
JPS63223975A (en) Extracting system for contour of image
JPH04293358A (en) Picture processor
JPH0474062A (en) Picture processing method
JPH02135575A (en) Picture signal processor
JPS61123272A (en) Intermediate tone picture data converting system
JPS60236582A (en) Picture signal quantizing system