JPH07184051A - Image processor - Google Patents

Image processor

Info

Publication number
JPH07184051A
JPH07184051A JP6224858A JP22485894A JPH07184051A JP H07184051 A JPH07184051 A JP H07184051A JP 6224858 A JP6224858 A JP 6224858A JP 22485894 A JP22485894 A JP 22485894A JP H07184051 A JPH07184051 A JP H07184051A
Authority
JP
Japan
Prior art keywords
signal
pixel
triangular wave
pattern
line
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
JP6224858A
Other languages
Japanese (ja)
Inventor
Mikihiro Mori
美樹博 森
Yuzuru Suzuki
譲 鈴木
Yoshiharu Hibi
日比吉晴
Yoshihiro Terada
寺田義弘
Hiroshi Sekine
弘 関根
Kazuyasu Takaya
貴家和保
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Publication of JPH07184051A publication Critical patent/JPH07184051A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To apply the processor to a high speed system with comparatively simple configuration by providing a means for generating two specific patterns and a means for generating a binary signal to the processor, thereby eliminating broken or interrupted character or line and improving the resolution and reproducibility while keeping the gradation reproducibility of an intermediate tone image area. CONSTITUTION:Two triangle wave having a period twice the picture element period with high gradation reproducibility generated by pattern generating circuits 103, 104 are used for pattern signals to generate a binarizing signal with pulse width modulation. An edge direction detection circuit 107 detects the presence and direction of an edge based on the absolute value of a difference between two photoelectric conversion element with an attentional picture element inbetween and on the relation of quantity. If the signal is an edge, a proper triangle wave in the two triangle waves is selected depending on the direction, and the selected triangle wave and analog signal obtained by convering a digital picture signal are compared to select a generated binary signal with a time width. Thus, a picture having high quality is obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、多値画像信号を所定周
期のパターン信号と比較してパルス幅変調された2値画
像信号を得るようにした画像処理装置、及び画素引き寄
せを可能にした中間調生成を行う画像処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention enables an image processing apparatus for obtaining a binary image signal which is pulse width modulated by comparing a multi-valued image signal with a pattern signal having a predetermined period, and enables pixel attraction. The present invention relates to an image processing device that performs halftone generation.

【0002】[0002]

【従来の技術】従来、デジタル画像信号を2値化し、電
子写真方式のデジタル複写機およびレーザービームプリ
ンタなどで画像形成する方式として、デジタル画像信号
を一旦アナログ画像信号に変換し、この信号を三角波等
の周期的なパターン信号と比較することで、パルス幅変
調をかけた2値化信号を発生させるものが提案されてい
る(特開昭62−39972等)。これらの方式におい
ては、原稿画像全域に対して、文字等の高い空間周波数
を有する性質の多い場合には、高周波数の三角波パター
ンを、写真等の低い空間周波数を有する性質の多い場合
には階調再現性を重視した低周波数の三角波パターンを
適用したり、あるいは文字/写真の両方の領域が混在す
る原稿画像に対しては、像域分離やエッジ検出結果に応
じて、画素毎に高周波数/低周波数の三角波パターンを
切り換えて適用するといったものが代表的であった。
2. Description of the Related Art Conventionally, as a method of binarizing a digital image signal and forming an image by an electrophotographic digital copying machine, a laser beam printer, etc., the digital image signal is once converted into an analog image signal, and this signal is converted into a triangular wave. It has been proposed to generate a binarized signal subjected to pulse width modulation by comparing it with a periodic pattern signal such as (JP-A-62-39972). In these methods, a high-frequency triangular wave pattern is used when there are many properties with high spatial frequencies such as characters over the entire area of the original image, and a high-frequency triangular wave pattern is used when there are many properties with low spatial frequencies such as photographs. When applying a low frequency triangular wave pattern that emphasizes tonality reproducibility, or for a document image in which both text and photo areas are mixed, high frequency is applied to each pixel according to the image area separation and edge detection results. A typical example is to switch and apply a low frequency triangular wave pattern.

【0003】図15は後者の従来例を図示したもので、
例えば400dpiのデジタル複写機システムにおい
て、200線(lines/inch),400線の2
種の三角波パターンを像域分離処理あるいはエッジ検出
処理結果によって切り換える構成となっている。図15
において、デジタル画像信号はD/A変換器101でア
ナログ信号に変換されたのち、2つのコンパレータ10
2にそれぞれ入力される。一方、パターン発生回路10
3では200線の三角波信号が、パターン発生回路10
4では400線の三角波信号がそれぞれ生成され、2つ
のコンパレータ102の参照比較信号としてそれぞれ入
力される。2つのコンパレータ102では、2つの三角
波と画像信号との大小比較が行われ、大小に対応した時
間幅の2値出力信号がそれぞれ生成される。像域分離ま
たはエッジ検出処理回路105では、文字または写真領
域、エッジ等の検出を行う。この像域分離またはエッジ
検出処理回路105は、例えば、図16(a)に示すよ
うに、4×4のブロックで画素をまとめ、この中で最大
濃度と最小濃度との差を求めて閾値と比較し、最大濃度
と最小濃度との差が閾値以上であれば文字領域、それ以
外の場合は写真領域と判断するようなものか、あるい
は、図16(b)、図16(c)に示すように3×3マ
トリックスからなる一次微分フィルタにより、微分値が
最大になる位置でエッジを検出するような構成のもので
ある。この像域分離またはエッジ検出処理回路105の
検出結果に応じてセレクタ106は、2つの三角波で生
成された2つの2値出力信号のうちで、エッジ再現に適
している方の2値出力信号を最終的な出力信号として選
択する。このような構成により、文字等の領域には高解
像の400線、写真等の領域には200線のスクリーン
が選択的に適用され、双方ともある程度のレベルでの再
現が達成できる。
FIG. 15 shows the latter conventional example.
For example, in a 400 dpi digital copying machine system, 200 lines (lines / inch) and 2 lines of 400 lines are used.
The kind of triangular wave pattern is switched according to the result of image area separation processing or edge detection processing. Figure 15
, The digital image signal is converted into an analog signal by the D / A converter 101, and then the two comparators 10
2 are input respectively. On the other hand, the pattern generation circuit 10
In 3, the 200-line triangular wave signal is output by the pattern generation circuit 10
In 4, the triangular wave signals of 400 lines are respectively generated and input as the reference comparison signals of the two comparators 102. The two comparators 102 compare the magnitudes of the two triangular waves and the image signal, and generate binary output signals having time widths corresponding to the magnitudes. The image area separation or edge detection processing circuit 105 detects a character or a photograph area, an edge and the like. The image area separation or edge detection processing circuit 105 collects pixels in a 4 × 4 block, for example, as shown in FIG. 16A, finds the difference between the maximum density and the minimum density in the block, and sets it as a threshold value. If the difference between the maximum density and the minimum density is greater than or equal to the threshold value, it is determined to be a character area, otherwise it is determined to be a photograph area, or as shown in FIGS. 16 (b) and 16 (c). As described above, the first-order differential filter composed of the 3 × 3 matrix detects the edge at the position where the differential value is maximum. According to the detection result of the image area separation or edge detection processing circuit 105, the selector 106 selects one of the two binary output signals generated by the two triangular waves, whichever is more suitable for edge reproduction. Select as final output signal. With such a configuration, a high-resolution screen of 400 lines is selectively applied to the area of characters and the like, and a screen of 200 lines is selectively applied to the area of photographs and the like, and both can be reproduced at a certain level.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、特に文
字/ライン等において、さらに高画質再現画像を要求す
るシステムへの適用を考えたときは、システムの解像度
と同等のスクリーン(ここでは400線)を用いたとし
ても満足できるレベルではない。図17は、この理由に
ついて説明するもので、図17(a)に示すような0,
128,128,0(濃度レベル0〜255)と続く2
ドット・ラインの再現を例にとって説明する。400線
三角波と濃度レベル128とが比較され、濃度レベル1
28が三角波信号レベルより大きい場合は「1」、濃度
レベル128が三角波信号レベルより小さい場合は
「0」とする2値化信号が図17(b)に示す如く得ら
れ、2ドット・ラインの線幅再現性はほぼ良好ではあ
る。しかし、図17(b)から分かるように、ラインが
分割されてしまう。出力装置の再現性がそれほど高くな
いものであれば、このライン分割の影響はほとんど検知
できないが、出力装置の再現性が向上するに従って、ラ
イン割れが検知されてしまう。これを改善するための方
法として、画素単位の周期をもつ400線の右下がり、
左下がりの2つのノコギリ波をエッジの方向によって選
択し、ライン割れを極力防止し、ライン等の線幅再現性
を高めるようにしたものも提案されている(特開昭62
−233981)。しかし、この方法では400線スク
リーンを使用しているために、空間周波数の高い文字等
の場合は解像力再現性はよいが、空間周波数の低い写真
等の場合の階調再現性が低下し、写真等の領域に対して
も階調再現性を向上させようとすると、別途200線ス
クリーンを持つ必要が生ずる。
However, when considering the application to a system that requires a higher quality reproduced image, especially in the case of characters / lines, a screen equivalent to the resolution of the system (400 lines here) is used. Even if it is used, it is not at a satisfactory level. FIG. 17 explains the reason for this. As shown in FIG.
128,128,0 (density level 0-255) and the following 2
Reproduction of dot lines will be described as an example. The 400-line triangular wave and the density level 128 are compared, and the density level 1
A binarized signal that is "1" when 28 is higher than the triangular wave signal level and "0" when the density level 128 is lower than the triangular wave signal level is obtained as shown in FIG. The line width reproducibility is almost good. However, as can be seen from FIG. 17B, the line is divided. If the reproducibility of the output device is not so high, the influence of this line division can hardly be detected, but as the reproducibility of the output device improves, line breakage will be detected. As a method for improving this, a 400 line having a period of a pixel unit descends to the right,
It is also proposed that two sawtooth waves falling to the left are selected according to the direction of the edge to prevent line breakage as much as possible, and to improve the line width reproducibility of lines and the like (JP-A-62-62).
-233981). However, since a 400-line screen is used in this method, resolution reproducibility is good for characters with high spatial frequency, but gradation reproducibility is reduced for photos with low spatial frequency. In order to improve the gradation reproducibility even in the same area, it is necessary to have a separate 200-line screen.

【0005】このように、システムの解像度と同等のス
クリーン(ここでは400線)を用いると解像力再現性
は良いものの、階調再現性は良好とは言えないため写真
等の中間調画像再現性が低下する欠点がある。
As described above, when a screen having the same resolution as the system (400 lines in this case) is used, the reproducibility of resolution is good, but the reproducibility of gradation is not so good that the reproducibility of halftone images such as photographs is improved. There is a drawback to decrease.

【0006】ところで、エッジ補正やスムージングのた
めに画素引き寄せ処理が知られているが、これを可能に
した中間調生成を行う画像処理装置は、ノコギリ波を使
用して画素の生成位置を制御する方法が一般的であっ
た。これは特開昭62−233980、特開昭62−2
33981、特開平2−211775等のようにノコギ
リ波のみを使用するものや特開平2−47973のよう
にノコギリ波と三角波を組み合わせたものがある。しか
し近年の画像処理の高速化に伴い、中間調生成動作周波
数が高くなり、ノコギリ波を発生させる場合に、波形に
歪みや訛りが生じ易く、階調特性に悪影響を及ぼす傾向
にある。又、ノコギリ波を組み合わせる場合に、ノコギ
リ波のタイミングずれにより出力信号に割れや段差がで
きる事があり、階調特性に悪影響を及ぼす原因となって
いた。これを防止する為に、ノコギリ波発生用の信号を
タイミング調整しているが、その調整も各デバイスや外
的要素の変化により完全個別対応するのには調整費や部
品費等がかかり、安定性悪化やコストアップの要因にな
っている。
Pixel pulling processing is known for edge correction and smoothing, and an image processing apparatus capable of generating this halftone controls a pixel generation position using a sawtooth wave. The method was common. This is disclosed in JP-A-62-233980 and JP-A-62-2.
There are those which use only a sawtooth wave such as 33981 and Japanese Patent Laid-Open No. 2-217175, and those which combine a sawtooth wave and a triangular wave such as Japanese Patent Laid-Open No. 2-47973. However, as the image processing speed has increased in recent years, the halftone generation operating frequency has increased, and when a sawtooth wave is generated, the waveform tends to be distorted or accentuated, which tends to adversely affect the gradation characteristics. Further, when the sawtooth wave is combined, a timing shift of the sawtooth wave may cause a crack or a step in the output signal, which adversely affects the gradation characteristics. In order to prevent this, the timing of the sawtooth wave generation signal is adjusted, but it takes a stable adjustment because adjustment costs and parts costs etc. are required to fully respond to changes due to changes in each device and external elements. This is a cause of sexual deterioration and increased costs.

【0007】そして、上記ノコギリ波を使用した場合の
不具合を解消する方法の一つとして、三角波を用いた方
法が、特開平5−244526や特開平5−32810
8で提案されている。三角波を用いることにより、ノコ
ギリ波の場合に出る不具合点である波形に歪みや訛りに
よる階調特性悪化やノコギリ波のタイミングずれによる
出力信号に割れや段差等の安定性悪化による階調性悪化
を防止する事ができる。しかし、三角波での構成は、画
素引き寄せの位置が右/左/中と3方向の場合に、3種
類の三角波を用いなくてはならず、回路構成の複雑化や
コストアップを招いている。
As one of the methods for solving the problem when the sawtooth wave is used, a method using a triangular wave is disclosed in JP-A-5-244526 and JP-A-5-32810.
Proposed in 8. By using the triangular wave, the gradation characteristics deteriorate due to the distortion and accent of the waveform, which is a problem in the case of the sawtooth wave, and the deterioration of the gradation due to the deterioration of the stability of the output signal due to the timing deviation of the sawtooth wave and the step difference. It can be prevented. However, the triangular wave configuration requires three types of triangular waves to be used when the pixel pulling position is in three directions of right / left / middle, which leads to a complicated circuit configuration and an increase in cost.

【0008】本発明は、従来方式に見られていた問題点
を改善するためになされたもので、注目画素に隣接する
画素の相対的レベルより、エッジの有無および方向を検
知し、中間調画像域の階調再現性を保持したまま文字・
ライン等の割れ、とぎれをなくして解像力再現性を良く
し、高品位な出力画像が得られる画像処理装置を提供す
ることを目的とする。
The present invention has been made in order to solve the problems found in the conventional method, and detects the presence or absence of an edge and the direction based on the relative level of the pixel adjacent to the pixel of interest to obtain a halftone image. Characters while maintaining the tone reproduction of the range
It is an object of the present invention to provide an image processing apparatus that eliminates cracks and breaks in lines and the like, improves reproducibility of resolution, and obtains a high-quality output image.

【0009】また本発明は、比較的簡易な構成で、従来
の方式よりも動作スピードを半減でき、より高速のシス
テムへの適用も可能にすることを目的とする。
It is another object of the present invention to have a relatively simple structure and reduce the operating speed by half as compared with the conventional system, and to enable application to a higher speed system.

【0010】また本発明は、三角波を用いた最小構成に
よる画素引き寄せを可能にした中間調生成を行う画像処
理装置を提供する事を目的とする。
It is another object of the present invention to provide an image processing device for generating a halftone which is capable of attracting pixels with a minimum configuration using a triangular wave.

【0011】[0011]

【課題を解決するための手段】本発明の画像処理装置
は、注目画素を挟む少なくとも2つの画素間の差分の絶
対値および大小関係より、エッジの有無および方向を検
知する手段と、画素周期の2倍の周期を有する互いに位
相が反転している2つのパターンを発生する手段と、そ
れらの一方ないしは両方とデジタル画像信号をアナログ
信号に変換したのちに比較して、大小に対応した時間幅
の2値信号を生成する手段を備えることを特徴とする。
An image processing apparatus according to the present invention comprises means for detecting the presence or absence of an edge and a direction based on the absolute value and the magnitude relation of the difference between at least two pixels sandwiching the pixel of interest, and the pixel cycle A means for generating two patterns having a phase that is two times the phase of each other and one or both of them and a digital image signal after being converted into an analog signal are compared and compared with each other. It is characterized in that it comprises means for generating a binary signal.

【0012】また、本発明は、2種類の参考波を用い、
画像引き寄せモードにおいて、1つの参考波と画像信号
との比較により中寄せのパルス出力を得、他の1つの参
考波と画像信号との比較は、画像引き寄せモードが右寄
せか左寄せかに応じて画像信号を反転または非反転と
し、あるいは比較結果による2値出力を反転出力または
非反転出力とすることにより、3種類の参考波を用いる
場合と同様に中寄せ、右寄せ、左寄せの画素引き寄せを
可能にしたことを特徴とする。
The present invention also uses two types of reference waves,
In the image pulling mode, a centered pulse output is obtained by comparing one reference wave with the image signal, and another one of the reference waves and the image signal is compared with the image pulling mode depending on whether the image pulling mode is right aligning or left aligning. By inverting or non-inverting the signal, or by inverting or non-inverting the binary output depending on the comparison result, it is possible to pull the pixels centered, right-justified and left-justified as in the case of using three types of reference waves. It is characterized by having done.

【0013】[0013]

【作用】本発明の画像処理装置は、パルス幅変調をかけ
て2値化信号を発生させるための周期的なパターン信号
として、階調再現性の高い画素周期の2倍の周期を有す
る互いに位相が反転している2つの三角波を用い、注目
画素を挟む2つの画素間の差分の絶対値および大小関係
より、エッジの有無および方向を検知し、もしエッジ部
であればその方向に応じて、2つの三角波の適切な方の
一方を選択し、選択した三角波と、デジタル画像信号を
変換して得たアナログ信号との比較結果により、生成さ
れる時間幅の2値信号を選択することにより高品位の画
像出力を達成している。また、2種類の三角波を用いて
パルス幅変調を用い、画素の右方向及び左方向及び中方
向(中間)に出力パルスを引き寄せ、出力像のエッジ補
正(スムージング)を行うことが可能となる。
According to the image processing apparatus of the present invention, as a periodic pattern signal for generating a binarized signal by performing pulse width modulation, phase signals having a cycle twice as long as a pixel cycle having high gradation reproducibility are provided. Using two triangular waves in which is reversed, the presence or absence of an edge and the direction are detected from the absolute value of the difference between the two pixels sandwiching the pixel of interest and the magnitude relationship, and if there is an edge part, depending on the direction, By selecting an appropriate one of the two triangular waves and comparing the selected triangular wave with the analog signal obtained by converting the digital image signal, the binary signal of the time width generated is selected to increase the Achieved high quality image output. Further, it is possible to perform edge correction (smoothing) of the output image by pulling the output pulse in the right direction, the left direction, and the middle direction (intermediate) of the pixel by using pulse width modulation using two types of triangular waves.

【0014】[0014]

【実施例】図1は本発明の一実施例を示す図である。図
1において、デジタル画像信号はD/A変換器101で
アナログ信号に変換されたのち、2つのコンパレータ1
02のそれぞれに入力される。一方、パターン発生回路
103、104では、互いに位相が180度反転してい
る2つの三角波信号が生成され、これらがコンパレータ
102への比較参照信号として入力される。ここで生成
する三角波の周期は、画素周期の2倍の周期である。2
つのコンパレータ102では、2つの三角波と画像信号
との大小比較が行われ、大小に対応した時間幅の2値出
力信号がそれぞれ生成される。エッジ・方向検出回路1
07では、後述する方式でエッジ部におけるエッジ方向
(右下がり又は左下がり)が検出され、この検出結果信
号がセレクタ106に出力される。セレクタ106で
は、位相が反転している2つの三角波で生成された2つ
の2値出力信号のうち、後述するようにエッジ再現に適
している方の2値出力信号を最終的な出力信号として選
択する。
FIG. 1 is a diagram showing an embodiment of the present invention. In FIG. 1, a digital image signal is converted into an analog signal by a D / A converter 101, and then two comparators 1
It is input to each of 02. On the other hand, the pattern generation circuits 103 and 104 generate two triangular wave signals whose phases are inverted by 180 degrees, and these are input as comparison reference signals to the comparator 102. The period of the triangular wave generated here is twice the period of the pixel. Two
The two comparators 102 compare the magnitudes of the two triangular waves with the image signal, and generate binary output signals having time widths corresponding to the magnitudes. Edge / direction detection circuit 1
In 07, the edge direction (downward rightward or downward leftward) in the edge portion is detected by the method described later, and this detection result signal is output to the selector 106. The selector 106 selects, as a final output signal, one of the two binary output signals generated by the two triangular waves whose phases are inverted, whichever is more suitable for edge reproduction, as described later. To do.

【0015】次に、エッジ部およびエッジ方向(右下が
り、左下がり)検出方式について説明する。図2はエッ
ジ部およびエッジ方向検出のフローチャートを示す図で
あり、3つの連続する画素ABCを考え、2つの画素
A、Cに挟まれた画素Bを注目画素とする。注目画素B
を挟む2つの画素A、Cの濃度差レベルの絶対値E(=
|A−C|)を検出し(ステップ、)、これとあら
かじめ設定された閾域Thとを比較し(ステップ)、
Thより大きい場合にエッジ領域と判断する(ステップ
)。また、Thより小さい場合は非エッジ領域と判断
する。そして、EとThとの大小関係に応じて、三角波
が選択されるように図1のセレクタ106が制御され
る。EがThより大きく、エッジ領域と判定された場合
は、画素A、Cの濃度の大小関係を比較し(ステップ
)、画素Aの濃度が大きい場合には右下がりのエッジ
と判断し(ステップ)、画素Cの濃度の方が大きい場
合には左下がりのエッジと判断する(ステップ)。図
3はエッジ及びエッジ方向検出器の具体的構成を示すも
のである。2つのラッチ回路201で1画素分づつ遅延
させて連続する3画素ABCを取り込む。減算器202
では注目画素Bを挟む画素A、Cの濃度差レベルの絶対
値Eを求め、求めた絶対値Eと閾値Thとの比較を比較
器203で行う。また、比較器204では画素A、Cの
濃度を比較し、比較器203、204と画素毎に0,1
が反転する画素フラグの3つの信号をパターン判定論理
回路205に入力し、最終的な三角波パターンのセレク
ト信号を導く構成となっている。パターン判定論理回路
205における三角波セレクト・パターンの選択論理は
表1に示すように設定されている。
Next, an edge portion and an edge direction (downward rightward, downward leftward) detection method will be described. FIG. 2 is a diagram showing a flowchart of edge part and edge direction detection. Considering three consecutive pixels ABC, a pixel B sandwiched between two pixels A and C is set as a pixel of interest. Target pixel B
The absolute value E (= the density difference level of two pixels A and C sandwiching
| AC |) is detected (step), and this is compared with a preset threshold Th (step),
If it is larger than Th, it is determined as an edge region (step). If it is smaller than Th, it is determined to be a non-edge region. Then, the selector 106 of FIG. 1 is controlled so that the triangular wave is selected according to the magnitude relationship between E and Th. When E is larger than Th and is determined to be an edge area, the magnitude relationship of the densities of pixels A and C is compared (step), and when the density of pixel A is large, it is determined to be a right-down edge (step). When the density of the pixel C is higher, it is determined that the edge is a left-down edge (step). FIG. 3 shows a specific configuration of the edge and edge direction detector. Two latch circuits 201 delay one pixel by one pixel and fetch three consecutive pixels ABC. Subtractor 202
Then, the absolute value E of the density difference levels of the pixels A and C sandwiching the pixel of interest B is calculated, and the calculated absolute value E and the threshold value Th are compared by the comparator 203. Further, the comparator 204 compares the densities of the pixels A and C, and compares the densities of the pixels 203 and 204 with 0 and 1 for each pixel.
Are input to the pattern determination logic circuit 205 to derive the final select signal of the triangular wave pattern. The selection logic of the triangular wave select pattern in the pattern determination logic circuit 205 is set as shown in Table 1.

【0016】 表1において、画素フラグは画素の位置、即ちスタート
画素から奇数番目か偶数番目かを表すフラグであり、三
角波パターンのスタート画素時の右傾斜、左傾斜が分か
っているとすれば画素フラグにより各画素に対応するパ
ターンの波形を特定できる。
[0016] In Table 1, the pixel flag is a flag indicating the position of the pixel, that is, whether it is an odd number or an even number from the start pixel. If the right tilt and the left tilt at the start pixel of the triangular wave pattern are known, each pixel flag indicates The waveform of the pattern corresponding to the pixel can be specified.

【0017】エッジ再現は三角波のパターン(周期、位
相)で変化し高品位の再現を達成しようとする場合は、
最適なものを選択する必要があり、表1、及び図4、図
5を参照して三角波パターンの選択について説明する。
図4はパターン2を選択する場合、図5はパターン1を
選択する場合の説明図である。図17の場合と同様に、
画像データとして0,128,128,0(濃度レベル
0〜255)と続く2ドット・ラインの再現を考える。
また、図4、図5において、画素周期の2倍の周期の2
00線三角波パターン1、パターン2は互いに180度
位相反転しており、画素フラグは図示の如くになってい
ると仮定する。図4において、注目画素Bを挟む画素
A、Cの濃度を比較すると、A<Cであるためエッジの
方向は左下がりであり、注目画素に対応する画素フラグ
は「0」であるので、表1よりパターン2が選択され
る。また、注目画素を1画素右にずらしたときは、エッ
ジ方向は右下がり、画素フラグは「1」となるので表1
よりパターン2が選択される。パターン2を選択する
と、図4(c)に示すように、ライン割れが発生せず、
シャープで高品位なライン再現が可能になる。なお、パ
ターン1では、図4(b)に示すようにライン割れが生
じている。
When the edge reproduction changes in a triangular wave pattern (cycle, phase) to achieve high-quality reproduction,
It is necessary to select the optimum one, and the selection of the triangular wave pattern will be described with reference to Table 1 and FIGS. 4 and 5.
FIG. 4 is an explanatory diagram when the pattern 2 is selected, and FIG. 5 is an explanatory diagram when the pattern 1 is selected. As in the case of FIG. 17,
Reproduction of 0,128,128,0 (density level 0-255) and subsequent 2-dot lines is considered as image data.
In addition, in FIG. 4 and FIG.
It is assumed that the 00-line triangular wave pattern 1 and pattern 2 are 180 degrees out of phase with each other and the pixel flags are as shown in the figure. In FIG. 4, when comparing the densities of the pixels A and C sandwiching the pixel of interest B, since A <C, the edge direction is downward to the left, and the pixel flag corresponding to the pixel of interest is “0”. Pattern 2 is selected from 1. Also, when the pixel of interest is shifted to the right by one pixel, the edge direction goes down to the right and the pixel flag becomes "1".
Pattern 2 is selected. When pattern 2 is selected, as shown in FIG. 4 (c), line cracks do not occur,
It enables sharp and high-quality line reproduction. In the pattern 1, line cracks are generated as shown in FIG.

【0018】このように、三角波パターン1とそれと1
80度位相がずれた三角波パターン2の選択は、画素毎
に右下がり、左下がりパターン出現が繰り返されるた
め、選択論理が画素毎に反転するように設定しなければ
ならず、表1に示したように、画素フラグが0のとき右
下がりであったならパターン1とすると、現実にはない
が1画素ずれたところで同様に右下がりである場合はパ
ターン2となる。
In this way, the triangular wave pattern 1 and it and 1
In the selection of the triangular wave pattern 2 with a phase shift of 80 degrees, the pattern of falling to the right and the pattern of falling to the left appear repeatedly for each pixel, so the selection logic must be set to be inverted for each pixel, as shown in Table 1. As described above, if the pixel flag is 0 and the pixel is falling to the right, the pattern 1 is set.

【0019】また、図5に示すように、画像データのラ
イン位置が図4に対して1画素分右にずれた場合、注目
画素Bを挟む画素A、Cの濃度を比較すると、A<Cで
あるためエッジの方向は左下がりであり、このとき画素
フラグは「1」であるので、表1よりパターン1が選択
される。また、注目画素を1画素右にずらしたときは、
エッジ方向は右下がり、画素フラグは「0」となるので
表1よりパターン1が選択され、図5(b)に示すよう
に、ライン割れが発生せず、シャープで高品位なライン
再現が可能になる。なお、パターン2では、図5(c)
に示すようにライン割れが生じている。
Further, as shown in FIG. 5, when the line position of the image data is shifted to the right by one pixel with respect to FIG. 4, when the densities of the pixels A and C sandwiching the pixel of interest B are compared, A <C Therefore, the direction of the edge is downward to the left, and the pixel flag is "1" at this time, so pattern 1 is selected from Table 1. When the pixel of interest is shifted to the right by one pixel,
Since the edge direction is falling to the right and the pixel flag is "0", pattern 1 is selected from Table 1, and as shown in Fig. 5 (b), line cracks do not occur, and sharp and high-quality line reproduction is possible. become. In addition, in the pattern 2, FIG.
Line cracks are generated as shown in.

【0020】このように、ラインの中心からのドット成
長方向と200線三角波の波形パターンの再現方向を一
致させることにより、ライン割れのない高品位なライン
再現が可能であり、原理的には全てのエッジ部でのライ
ン/ドット成長方向は、右下がりか左下がりかの2通り
しかなく、位相が180度反転した2つの200線三角
波を保持していれば、どちらかを選択すれば、かならず
一致させることができる。
As described above, by matching the dot growth direction from the center of the line with the reproduction direction of the waveform pattern of the 200-line triangular wave, it is possible to reproduce a high-quality line without line cracks, and in principle, all There are only two line / dot growth directions at the edge part of the right-down or left-down direction, and if two 200-line triangular waves with phases inverted by 180 degrees are held, you must select either one. Can be matched.

【0021】図6は本発明の第2の実施例を示す図であ
る。本実施例は、パターン発生回路103、104の直
後にセレクタ106が挿入されて、2値化処理の前にパ
ターンの選択を行い、コンパレータを1個ですませた構
成となっている以外は、図1の実施例と同じである。
FIG. 6 is a diagram showing a second embodiment of the present invention. In this embodiment, a selector 106 is inserted immediately after the pattern generation circuits 103 and 104 to select a pattern before the binarization process, and only one comparator is used. This is the same as the first embodiment.

【0022】なお、上記実施例では2つのパターン発生
回路を設けて互いに180度位相反転した200線三角
波を発生させるようにしたが、図7に示すようにパター
ン発生回路は1つのみとし、発生したパターンと、位相
反転回路を通したパターンとをセレクタで選択すること
により、2つの三角波パターンを発生させるようにして
もよい。
In the above embodiment, the two pattern generating circuits are provided to generate the 200-line triangular wave that is 180 degrees out of phase with each other. However, as shown in FIG. 7, only one pattern generating circuit is used. Two triangular wave patterns may be generated by selecting the selected pattern and the pattern that has passed through the phase inversion circuit with the selector.

【0023】次に、本発明の画素引き寄せの前提となる
三角波を用いた画素引き寄せについて説明する。図8は
三角波を用いた画素引き寄せ回路の全体ブロック図、図
9は画素引き寄せ回路部分を示すブロック図である。図
8において、画像処理装置301は、例えば、読み取っ
た画像信号にダーク補正、シェーディング補正、色補
正、縮小拡大等の画像処理を施す機能を有しており、そ
の8ビットビデオデータは、インタフェース302、F
IFO又はラインメモリ303に一時保持され、D/A
コンバータ304でアナログデータに変換され、バッフ
ァとして機能する演算増幅器305を通してコンパレー
タ321、322、323の一方の入力に加えられる。
コンパレータ321、322、323の他方の入力に
は、それぞれ400線三角波、200線A相三角波、2
00線B相三角波が加えられる。400線三角波は、発
振器310からのビデオクロック信号を直接バッファ3
12を通して400線三角波発生器315に加えて発生
させ、また、200線A相三角波、200線B相三角波
は、発振器310からのビデオクロック信号をDーF/
Fからなる分周器311で周波数を1/2とし、バッフ
ァ313、314を介して200線A相三角波発生器3
16、200線B相三角波発生器317に加えて互いに
位相を180°ずらせて発生させる。各三角波は、それ
ぞれカップリングコンデンサで直流成分をカットし、D
C成分発生器318〜320からのDC成分が加えられ
てレベル調整され、各コンパレータに加えられる。一
方、図2で説明したような画像処理装置での差分演算に
より求められる2ビットのエッジ方向信号(Tag)
は、インタフェース306、FIFO又はラインメモリ
307に一時保持され、タイミング調整回路308で遅
延させてタイミング調整しセレクタへのセレクト信号と
して加えられ、エッジ方向に応じてコンパレータ32
1、コンパレータ322、323の何れかの出力が選択
され、バッファ331を通してレーザダイオード332
へ出力される。
Next, the pixel attraction using a triangular wave, which is the premise of the pixel attraction of the present invention, will be described. FIG. 8 is an overall block diagram of a pixel attracting circuit using a triangular wave, and FIG. 9 is a block diagram showing a pixel attracting circuit portion. In FIG. 8, the image processing apparatus 301 has a function of performing image processing such as dark correction, shading correction, color correction, and reduction / enlargement on the read image signal, and its 8-bit video data is the interface 302. , F
Temporarily stored in the IFO or line memory 303, D / A
The converted data is converted into analog data by the converter 304 and added to one input of the comparators 321, 322, 323 through the operational amplifier 305 functioning as a buffer.
The other inputs of the comparators 321, 322, 323 are 400-line triangular wave, 200-line A-phase triangular wave, and 2 line, respectively.
00 line B phase triangular wave is added. The 400-line triangular wave directly buffers the video clock signal from the oscillator 310.
In addition to the 400-line triangular wave generator 315, the 200-line A-phase triangular wave and the 200-line B-phase triangular wave generate the video clock signal from the oscillator 310 through DF / F.
The frequency is divided into 1/2 by the frequency divider 311 composed of F, and the 200-line A-phase triangular wave generator 3 is passed through the buffers 313 and 314.
In addition to the 16,200-line B-phase triangular wave generator 317, they are generated by shifting their phases by 180 °. Each triangular wave has a coupling capacitor to cut the DC component,
The DC component from the C component generators 318 to 320 is added, the level is adjusted, and the DC component is added to each comparator. On the other hand, a 2-bit edge direction signal (Tag) obtained by the difference calculation in the image processing apparatus as described in FIG.
Is temporarily stored in the interface 306, the FIFO or the line memory 307, delayed by the timing adjustment circuit 308, adjusted in timing, and added as a select signal to the selector.
1, the output of one of the comparators 322 and 323 is selected, and the laser diode 332 is passed through the buffer 331.
Is output to.

【0024】画素引き寄せについて図9により説明する
と、図9(a)に示すように、画素引き寄せ回路前の前
段の画像処理装置301からのビデオデータは、前述の
ようにDAC(D/Aコンバータ)304でアナログビ
デオ信号に変換される。アナログビデオ信号と比較され
る参考波(三角波)は、3種類のパターン発生装置によ
り、図9(b)に示すように、三角波400線、位相が
180°異なる三角波200線A相とB相が生成され、
コンパレータでアナログビデオ信号と比較して3種類の
出力パルスが得られ、識別回路301aからのエッジ方
向信号により、3種類の三角波比較出力パルスを選択す
ることにより画素引き寄せを行う。なお、識別回路30
1aは図8においては画像処理装置301内に含まれて
いる。本発明での画素引き寄せとは、図9(c)に示す
ように、中寄せ(中間)、右寄せ、左寄せであるが、中
寄せとは、1画素中の中間位置よりパルスが成長するこ
とを言い、右寄せとは、1画素中の右位置よりパルスが
成長することを言い、左寄せとは、1画素中の左位置よ
りパルスが成長することを言う。
The pixel attraction will be described with reference to FIG. 9. As shown in FIG. 9A, the video data from the image processing device 301 in the preceding stage before the pixel attraction circuit is the DAC (D / A converter) as described above. At 304, it is converted into an analog video signal. The reference wave (triangular wave) to be compared with the analog video signal is, as shown in FIG. 9B, a triangular wave 400 line, a triangular wave 200 line with a phase difference of 180 °, and an A phase and a B phase by three types of pattern generators. Is generated,
Three types of output pulses are obtained by the comparator in comparison with the analog video signal, and the pixel pulling is performed by selecting three types of triangular wave comparison output pulses according to the edge direction signal from the identification circuit 301a. The identification circuit 30
1a is included in the image processing apparatus 301 in FIG. Pixel pulling in the present invention means centering (middle), right aligning, and left aligning as shown in FIG. 9C, but center aligning means that a pulse grows from an intermediate position in one pixel. The right alignment means that the pulse grows from the right position in one pixel, and the left alignment means that the pulse grows from the left position in one pixel.

【0025】三角波を用いた画素引き寄せの動作現象を
図10に示す。図10において、ビデオクロックに同期
して出力されるビデオデータの奇数/偶数は、表1の画
素フラグに対応し、主走査同期信号が立ち上がったスタ
ート画素から奇数番目か偶数番目かを表している。ビデ
オデータはDACで、図示するようなアナログデータに
変換される。参考波(三角波)は、400線三角波、2
00線三角波A相及び200線三角波B相となる。20
0線三角波A相と200線三角波B相は、位相が180
°ずれている三角波を示す。もちろん、600線三角
波、300線三角波A相及び300線三角波B相等、周
波数比2:1、A相とB相(位相が180°異なる)の
関係にある3種類の三角波でも良いことはいうまでもな
い。画素引き寄せは、基本的方向として1画素内での中
寄せ、右寄せ、左寄せとなるが、従来の文字や地図等の
400線や写真等の200線も各三角波を使用すること
により可能である。文字や地図等及び写真等において
は、600線と300線等の組合せによる場合も良いこ
とはいうまでもない。
FIG. 10 shows an operation phenomenon of drawing a pixel using a triangular wave. In FIG. 10, odd / even of the video data output in synchronization with the video clock corresponds to the pixel flag in Table 1 and indicates whether it is an odd number or an even number from the start pixel at which the main scanning synchronization signal rises. . The video data is converted into analog data as shown by the DAC. The reference wave (triangular wave) is 400-line triangular wave, 2
It becomes a 00-line triangular wave A phase and a 200-line triangular wave B phase. 20
The phase of 0-line triangular wave A phase and 200-line triangular wave B phase is 180
Shows triangular waves that are offset. Needless to say, three types of triangular waves having a frequency ratio of 2: 1, A phase and B phase (phases differ by 180 °), such as 600-line triangular wave, 300-line triangular wave A-phase and 300-line triangular wave B-phase, can be used. Nor. Pixel drawing can be centered, right-justified, or left-justified within one pixel as a basic direction, but 400 lines of a conventional character or map or 200 lines of a photograph or the like can be obtained by using each triangular wave. It goes without saying that a combination of 600 lines and 300 lines may be used for letters, maps and photographs.

【0026】まず、画素引き寄せ位置について説明す
る。中寄せの場合は、図10中に示す400線三角波を
用い、アナログビデオデータと比較することにより、出
力パルスは、図10に示すように、画素の中位置(中
間)から成長するパルスとなる。なお、ここでは三角波
がビデオデータより大きい場合に出力パルスが得られる
ものとする。右寄せの場合は、図10中に示す主走査同
期信号が有効になってから、ビデオデータが奇数画素目
の場合においては、200線B相を選択し、ビデオデー
タが偶数画素目の場合においては、200線A相を選択
することにより、図10中に示す出力パルスのように、
右から成長するパルスを得ることができる。左寄せの場
合は、図10中に示す主走査同期信号が有効になってか
ら、ビデオデータが奇数画素目の場合においては、20
0線A相を選択し、ビデオデータが偶数画素目の場合に
おいては、200線B相を選択することにより、図10
中に示す出力パルスのように、左から成長するパルスを
得ることができる。又、画素引き寄せではないが、従来
の文字や地図等の場合は400線を、写真等の場合は2
00線A相を選択する。
First, the pixel pulling position will be described. In the case of centering, the 400-line triangular wave shown in FIG. 10 is used, and by comparing with analog video data, the output pulse becomes a pulse that grows from the middle position (intermediate) of the pixel as shown in FIG. . Here, it is assumed that the output pulse is obtained when the triangular wave is larger than the video data. In the case of right alignment, the 200-line B phase is selected when the video data is the odd pixel and the 200-line B phase is selected after the main scanning synchronization signal shown in FIG. 10 is valid, and when the video data is the even pixel. , 200 line A phase is selected, the output pulse shown in FIG.
You can get a pulse that grows from the right. In the case of left-justification, if the video data is an odd-numbered pixel after the main scanning synchronization signal shown in FIG.
By selecting the 0-line A phase and selecting the 200-line B phase when the video data is an even pixel, the B-phase of FIG.
A pulse that grows from the left can be obtained, such as the output pulse shown inside. Also, although it is not a pixel drawing, 400 lines are used for conventional characters and maps, and 2 for photos.
00 line A phase is selected.

【0027】このように、三角波を用いて画素引き寄せ
が可能となるが、中寄せ、右寄せ、左寄せと3種類の引
き寄せをする場合に、3種類の三角波を用いるため、従
来の文字や地図等の400線や写真等の200線の場合
に比べ、1回路分増える事となりコストアップや回路の
複雑化やボードの面積が増大する。本発明においては、
400線/200線の回路を用い、2種類の三角波で3
種類の三角波を用いた画素引き寄せと同じ効果が得られ
る。
As described above, the pixels can be attracted by using the triangular wave, but when three types of attraction such as centering, right justification, and left justification are performed, three kinds of triangle waves are used, so that the conventional characters, maps, etc. Compared to the case of 400 lines or 200 lines such as photographs, the number of circuits is increased by one circuit, resulting in cost increase, circuit complexity, and board area increase. In the present invention,
Using a 400-wire / 200-wire circuit, 3 with 2 types of triangular waves
The same effect as the pixel attraction using the types of triangular waves can be obtained.

【0028】以下、本発明の実施例を説明する。図11
は本発明の三角波を用いた画素引き寄せ回路の全体ブロ
ック図、図12は画素引き寄せ回路部分を示すブロック
図である。図11、図12において、ビデオデータはD
AC304でアナログビデオ信号に変換され、参考波
(三角波)は、2種類のパターン発生装置により図12
(b)に示すように三角波400線、三角波200線A
相が生成され、コンパレータでアナログビデオ信号と参
考波(三角波)を比較して3種類の出力パルスを得、識
別回路301aからのエッジ方向信号で3種類の三角波
比較出力パルスを選択する事により画素引き寄せを行
う。なお、図11のセレクタ340は、反転増幅器34
1、非反転増幅器342からの反転、非反転8ビットビ
デオデータをエッジ方向信号で選択して取り出すための
ものであり、コンパレータ324は180°位相の異な
る出力を取り出すためのものであり、これにより、以下
で示すように三角波200線B相の省略を可能にしてい
る。
Examples of the present invention will be described below. Figure 11
Is an overall block diagram of a pixel attracting circuit using a triangular wave of the present invention, and FIG. 12 is a block diagram showing a pixel attracting circuit portion. In FIGS. 11 and 12, the video data is D
The reference wave (triangular wave) converted into an analog video signal by AC 304 is generated by two types of pattern generators.
As shown in (b), 400 triangular wave lines and 200 triangular wave lines A
A phase is generated, the comparator compares the analog video signal with the reference wave (triangular wave) to obtain three types of output pulses, and the edge direction signal from the identification circuit 301a selects three types of triangular wave comparison output pulses to select pixels. Attract. The selector 340 of FIG.
1. The non-inverting amplifier 342 selects the inverted and non-inverted 8-bit video data by the edge direction signal and extracts it. The comparator 324 extracts the outputs having 180 ° different phases. The triangular wave 200 line B phase can be omitted as shown below.

【0029】次に、図13、図14により2種類の三角
波を用いた画素引き寄せの動作現象を説明する。三角波
は400線と200線A相の2種類を使用し、3種類の
三角波を使用した場合の200線B相を200線A相で
実現することにより、2種類の三角波で3種類の三角波
を使用した場合と同じ効果が得られるようにする。図1
3に示すようなアナログビデオデータが得られたとき、
このアナログビデオデータと参考200線B相三角波と
の比較により、図示するような参考200線B相出力パ
ルスが得られる。そこで、画素引き寄せモードにおいて
200線B相が選択された場合には、セレクタ340で
アナログビデオデータを反転させ(8bitデジタルデ
ータであれば、0→255,255→0を反転させる)
たデータを取り出して200線A相三角波と比較し、従
来コンパレータにおいて、三角波とアナログビデオデー
タの関係が、三角波の方が大きい(レベルが高い)場合
に、Hiレベルパルス(Hiでレーザダイオード点灯、
像形成)を出力していたのを、アナログビデオデータの
方が大きい(レベルが高い)場合に、Hiレベルパルス
を出力するようにすれば、200線A相三角波を用い
て、参考200線B相出力パルスと同じ仮想B相出力パ
ルスを得ることができる。これは、コンパレータ324
の逆位相出力を選択することによっても同様に200線
A相を用いて作り出した仮想B相出力パルスを得ること
ができる。このようにして、2種類の三角波のみで、中
寄せ、右寄せ、左寄せ3種類の画素引き寄せが可能とな
る。
Next, the operation phenomenon of pixel attraction using two types of triangular waves will be described with reference to FIGS. 13 and 14. Two types of triangular waves are used, 400 lines and 200 lines A phase, and 200 lines B phase is realized by 200 lines A phase when three types of triangular waves are used. Make sure you get the same effect as if you used it. Figure 1
When analog video data as shown in 3 is obtained,
By comparing the analog video data with the reference 200-line B-phase triangular wave, a reference 200-line B-phase output pulse as shown in the figure is obtained. Therefore, when the 200-line B-phase is selected in the pixel drawing mode, the selector 340 inverts the analog video data (in the case of 8-bit digital data, 0 → 255, 255 → 0 is inverted).
Data is extracted and compared with the 200-line A-phase triangular wave, and in the conventional comparator, when the triangular wave and the analog video data have a larger relationship (higher level) in the triangular wave, a Hi level pulse (laser diode lighting at Hi,
If the analog video data is larger (the level is higher), the Hi level pulse is output instead of the (image formation). The same virtual B-phase output pulse as the phase output pulse can be obtained. This is the comparator 324
Similarly, by selecting the opposite phase output of, the virtual B phase output pulse created by using the 200 line A phase can be obtained. In this way, three types of pixel pulling can be performed with only two types of triangular waves, centering, right aligning, and left aligning.

【0030】本発明による2種類の三角波のみでの中寄
せ、右寄せ、左寄せ動作について個別に説明すると、中
寄せの場合は、図14中に示す400線三角波を用いる
ことにより、出力パルスは、図14中に示す三角波動作
の中寄せに示す通り、画素の中位置(中間)から成長す
るパルスを得ることができる。右寄せの場合は、図14
中に示す主走査同期信号が有効になってから、ビデオデ
ータが奇数画素目の場合においては、200線A相を使
用した仮想200線B相を選択し(図14中の反転アナ
ログデータを使用)、ビデオデータが偶数画素目の場合
においては、200線A相を選択(図14中のアナログ
データを使用)することにより、図14中に示す出力パ
ルスのように、右から成長するパルスを得ることができ
る。左寄せの場合は、図14中に示す主走査同期信号が
有効になってから、ビデオデータが奇数画素目の場合に
おいては、200線A相を選択(図14中のアナログデ
ータを使用)し、ビデオデータが偶数画素目の場合にお
いては、200線A相を使用した仮想200線B相を選
択(図14中の反転アナログデータを使用)することに
より、図14中に示す出力パルスのように、左から成長
するパルスを得ることができる。このように、2種類の
三角波及び従来と同様な2回路構成で、画素引き寄せが
可能であり、コストアップや回路の複雑化やボードの面
積増大という不具合を解決できる。又、画素引き寄せで
はないが、従来の文字や地図等の場合は400線を、写
真等の場合は200A線を選択する。
The centering operation, the right-justifying operation, and the left-justifying operation using only two types of triangular waves according to the present invention will be described individually. In the case of the centering operation, by using the 400-line triangular wave shown in FIG. As shown in the centering of the triangular wave operation shown in 14, it is possible to obtain a pulse growing from the middle position (intermediate position) of the pixel. In case of right alignment,
When the video data is an odd-numbered pixel after the main scanning synchronization signal shown in FIG. 14 is enabled, the virtual 200-line B-phase using the 200-line A-phase is selected (the inverted analog data in FIG. 14 is used. ), When the video data is an even-numbered pixel, by selecting the 200-line A phase (using the analog data in FIG. 14), a pulse that grows from the right like the output pulse shown in FIG. 14 is generated. Obtainable. In the case of left alignment, after the main scanning synchronization signal shown in FIG. 14 becomes effective, when the video data is an odd pixel, the 200-line A phase is selected (using the analog data in FIG. 14), When the video data is an even-numbered pixel, by selecting the virtual 200-line B-phase using the 200-line A phase (using the inverted analog data in FIG. 14), the output pulse shown in FIG. , You can get the pulse growing from the left. In this way, with two types of triangular waves and two circuit configurations similar to the conventional one, pixels can be attracted, and problems such as cost increase, circuit complexity, and board area increase can be solved. Also, although it is not a pixel drawing, 400 lines are selected for conventional characters and maps, and 200 A lines are selected for photographs and the like.

【0031】ところで、出力パルス幅調整(像形成によ
る濃度(面積))は、図8、図11に示すように、コン
パレータ入力の三角波をACカップリングし、DC成分
を印加して行ってきた。しかし本実施例では、200線
三角波A相については従来どおりDC成分を印加を調整
することにより可能であるが、200線三角波A相の仮
想B相動作においては、比較するアナログデータを反転
させているため、200線三角波A相のDC成分では調
整できず、三角波振幅値若しくは、アナログビデオデー
タ振幅値を調整すれば出力パルス幅調整が可能となる。
しかし、そもそも画素引き寄せは、エッジ補正やスムー
ジング時に行われるものであり、濃度的には濃い方向の
データに働く傾向にあり、写真等の階調性を必要とする
場合には200線A相を使用し、B相は画素引き寄せ時
のみの使用となる傾向にある。このような場合は、ある
範囲に三角波振幅値やアナログビデオデータ振幅値を固
定し、B相は無調整とすることも可能であり、(なお、
濃度の薄い時にも画素引き寄せを行う場合は、この限り
でない。)、従来通りの回路構成や制御方法及び調整方
法で、画素引き寄せが可能である。
By the way, the output pulse width adjustment (density (area) by image formation) has been performed by AC coupling the triangular wave input to the comparator and applying the DC component, as shown in FIGS. However, in this embodiment, the 200-line triangular wave A phase can be adjusted by adjusting the application of the DC component as in the conventional case. However, in the virtual B-phase operation of the 200-line triangular wave A phase, the analog data to be compared is inverted. Therefore, the DC component of the 200-line triangular wave A phase cannot be adjusted, and the output pulse width can be adjusted by adjusting the triangular wave amplitude value or the analog video data amplitude value.
However, pixel pulling is performed at the time of edge correction and smoothing in the first place, and tends to work on data in the dark direction in terms of density, and when the gradation of a photograph or the like is required, the 200-line A phase is used. The B phase tends to be used only when the pixels are attracted. In such a case, it is possible to fix the triangular wave amplitude value or the analog video data amplitude value in a certain range and leave the B phase unadjusted.
This is not the case when pixels are drawn even when the density is low. ), It is possible to attract pixels by the conventional circuit configuration, control method, and adjustment method.

【0032】[0032]

【発明の効果】以上説明してきたように本発明によれ
ば、階調再現性の高い画素周期の2倍の周期を有する位
相反転した2つの三角波パターンのみを用い、画像デー
タの各画素ごとに検出したエッジ方向に応じて選択的に
切り換えることによって、文字、ライン等はとぎれなく
シャープに再現でき、かつ中間調画像等の再現性も劣化
させることはない。また、動作周波数が処理速度の1/
2のクロックで実現できる三角波で、文字、ライン/写
真の高品位再現が可能で、今後の複写システム、プリン
タの高速化にも有利であり、安定性にも優れたものであ
る。
As described above, according to the present invention, only two phase-inverted triangular wave patterns having a period twice the pixel period having high gradation reproducibility are used, and each pixel of the image data is used. By selectively switching according to the detected edge direction, characters, lines, etc. can be reproduced without interruption and sharpness, and the reproducibility of halftone images, etc. is not deteriorated. The operating frequency is 1 / the processing speed.
With the triangular wave that can be realized with 2 clocks, high-quality reproduction of characters and lines / photos is possible, which is advantageous for future high-speed copying systems and printers, and has excellent stability.

【0033】また、2種類の三角波を用いて3種類の三
角波を用いたと同様の画素引き寄せができ、低価格で簡
単、安定性のある画素引き寄せが可能となる。
Further, by using two types of triangular waves, it is possible to attract pixels in the same manner as when using three types of triangular waves, and it is possible to attract pixels at a low cost with ease and stability.

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

【図1】 本発明の一実施例を説明する図である。FIG. 1 is a diagram illustrating an embodiment of the present invention.

【図2】 エッジ及びエッジ方向検出のフローチャート
を示す図である。
FIG. 2 is a diagram showing a flowchart of edge and edge direction detection.

【図3】 エッジ及びエッジ方向検出器の構成を示す図
である。
FIG. 3 is a diagram showing a configuration of an edge and edge direction detector.

【図4】 三角波パターンの選択を説明する図である。FIG. 4 is a diagram illustrating selection of a triangular wave pattern.

【図5】 三角波パターンの選択を説明する図である。FIG. 5 is a diagram illustrating selection of a triangular wave pattern.

【図6】 コンパレータを1つにした本発明の他の実施
例を説明する図である。
FIG. 6 is a diagram for explaining another embodiment of the present invention in which one comparator is used.

【図7】 三角波パターン発生回路を1つにした本発明
の他の実施例を説明する図である。
FIG. 7 is a diagram for explaining another embodiment of the present invention in which one triangular wave pattern generation circuit is used.

【図8】 三角波を用いた画素引き寄せを説明するため
の構成を示す全体ブロック図である。
FIG. 8 is an overall block diagram showing a configuration for explaining pixel attraction using a triangular wave.

【図9】 三角波を用いた画素引き寄せ回路を説明する
図である。
FIG. 9 is a diagram illustrating a pixel drawing circuit using a triangular wave.

【図10】 三角波を用いた画素引き寄せ時の三角波動
作現象を説明する図である。
FIG. 10 is a diagram illustrating a triangular wave operation phenomenon when a pixel is drawn using a triangular wave.

【図11】 本発明の三角波を用いた画素引き寄せの構
成を示す全体ブロック図である。
FIG. 11 is an overall block diagram showing a configuration of pixel attraction using a triangular wave according to the present invention.

【図12】 本発明の三角波を用いた画素引き寄せ回路
を説明する図である。
FIG. 12 is a diagram illustrating a pixel attracting circuit using a triangular wave according to the present invention.

【図13】 本発明の三角波動作現象を説明する図であ
る。
FIG. 13 is a diagram illustrating a triangular wave operation phenomenon of the present invention.

【図14】 本発明の三角波を用いた画素引き寄せ時の
三角波動作現象を説明する図である。
FIG. 14 is a diagram illustrating a triangular wave operation phenomenon when a pixel is drawn using the triangular wave according to the present invention.

【図15】 像域分離またはエッジ検出結果により高周
波数/低周波数の三角波を切り換える従来例を示す図で
ある。
FIG. 15 is a diagram showing a conventional example in which a high frequency / low frequency triangular wave is switched depending on a result of image area separation or edge detection.

【図16】 像域分離またはエッジ検出方式を説明する
図である。
FIG. 16 is a diagram illustrating an image area separation or edge detection method.

【図17】 400線三角波を用いた場合の像再現を説
明する図である。
FIG. 17 is a diagram illustrating image reproduction when a 400-line triangular wave is used.

【符号の説明】[Explanation of symbols]

101…D/A変換器、102…コンパレータ、103
…パターン発生回路、104…パターン発生回路、10
5…像域分離又はエッジ検出回路、106…セレクタ、
107…エッジ及びエッジ方向検出回路、201…ラッ
チ回路、202…減算器、203,204…比較器、2
05…パターン判定論理回路、301…画像処理装置、
304…DCコンバータ、315…400線三角波発生
器、316…200線A相三角波発生器、317…20
0線B相三角波発生器、318〜320…DC成分発生
器、321〜323…コンパレータ、330…セレク
タ、340…セレクタ。
101 ... D / A converter, 102 ... Comparator, 103
... pattern generating circuit, 104 ... pattern generating circuit, 10
5 ... Image area separation or edge detection circuit, 106 ... Selector,
107 ... Edge and edge direction detection circuit, 201 ... Latch circuit, 202 ... Subtractor, 203, 204 ... Comparator, 2
05 ... Pattern determination logic circuit, 301 ... Image processing device,
304 ... DC converter, 315 ... 400-line triangular wave generator, 316 ... 200-line A-phase triangular wave generator, 317 ... 20
0-line B-phase triangular wave generator, 318-320 ... DC component generator, 321-323 ... Comparator, 330 ... Selector, 340 ... Selector.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/68 320 A (72)発明者 寺田義弘 神奈川県海老名市本郷2274番地富士ゼロッ クス株式会社内 (72)発明者 関根 弘 神奈川県海老名市本郷2274番地富士ゼロッ クス株式会社内 (72)発明者 貴家和保 神奈川県海老名市本郷2274番地富士ゼロッ クス株式会社内─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 6 Identification number Reference number within the agency FI Technical display location G06F 15/68 320 A (72) Inventor Yoshihiro Terada 2274 Hongo, Ebina City, Kanagawa Prefecture Fuji Xerox Co., Ltd. (72) Inventor Hiroshi Sekine 2274 Hongo, Ebina City, Kanagawa Prefecture Fuji Xerox Co., Ltd. (72) Inventor Waho Kiya 2274, Hongo, Ebina City, Kanagawa Prefecture Fuji Xerox Co., Ltd.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 多値画像信号を2値化処理して2値画像
信号を得る画像処理装置において、画素周期の2倍の周
期をもつ互いに位相反転した1対のパターン信号を発生
する手段と、該パターン信号と画像信号との比較を行い
大小に対応した時間幅の2値信号を出力する2値化手段
と、注目画素周辺の画素の濃度レベル判定より前記パタ
ーン信号を選択するパターン信号判別手段とを有し、画
素毎にパターン信号を選択して2値信号を得るように構
成したことを特徴とする画像処理装置。
1. An image processing apparatus for binarizing a multi-valued image signal to obtain a binary image signal, and means for generating a pair of phase-inverted pattern signals having a period twice the pixel period. , A binarizing means for comparing the pattern signal with the image signal and outputting a binary signal having a time width corresponding to the magnitude, and a pattern signal discrimination for selecting the pattern signal based on the density level determination of pixels around the target pixel And an image processing apparatus configured to obtain a binary signal by selecting a pattern signal for each pixel.
【請求項2】 多値画像信号を2値化処理して2値画像
信号を得る画像処理装置において、第1の参考波と、第
1の参考波に対して2倍の周期を持つ第2の参考波とを
発生する参考波発生手段と、第1、第2の参考波と画像
信号との比較を行い大小に対応した時間幅の2値信号を
出力する2値化手段と、注目画素周辺の画素の濃度レベ
ル判定より第1又は第2の参考波に対応する2値信号を
選択する選択手段とを有し、画素引き寄せモードが第2
の参考波に対応する2値信号選択時は、画素引き寄せモ
ードに応じて比較する画像信号レベルを反転/非反転す
る手段、または2値化手段出力の反転/非反転信号を選
択する手段を備えたことを特徴とする画像処理装置。
2. An image processing apparatus for binarizing a multi-valued image signal to obtain a binary image signal, the first reference wave and a second reference wave having a period twice as long as that of the first reference wave. A reference wave generating means for generating the reference wave, and a binarizing means for comparing the first and second reference waves with the image signal and outputting a binary signal having a time width corresponding to the magnitude, and a pixel of interest. And a selecting unit for selecting a binary signal corresponding to the first or second reference wave based on the density level judgment of the surrounding pixels, and the pixel pulling mode is the second.
When a binary signal corresponding to the reference wave is selected, a means for inverting / non-inverting the image signal level to be compared according to the pixel pulling mode, or a means for selecting an inverted / non-inverted signal output from the binarizing means is provided. An image processing device characterized by the above.
JP6224858A 1993-09-30 1994-09-20 Image processor Pending JPH07184051A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP5-244526 1993-09-30
JP24452693 1993-09-30

Publications (1)

Publication Number Publication Date
JPH07184051A true JPH07184051A (en) 1995-07-21

Family

ID=17120005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6224858A Pending JPH07184051A (en) 1993-09-30 1994-09-20 Image processor

Country Status (1)

Country Link
JP (1) JPH07184051A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008048390A (en) * 2006-06-30 2008-02-28 Konica Minolta Systems Lab Inc Circuitry to support justification of pwm pixels
JP2011193074A (en) * 2010-03-12 2011-09-29 Kyocera Mita Corp Image information processing method and image forming device
CN114485457A (en) * 2021-12-31 2022-05-13 四川深瑞视科技有限公司 Depth information detection system and method based on binary orthogonal grating

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008048390A (en) * 2006-06-30 2008-02-28 Konica Minolta Systems Lab Inc Circuitry to support justification of pwm pixels
JP2011193074A (en) * 2010-03-12 2011-09-29 Kyocera Mita Corp Image information processing method and image forming device
CN114485457A (en) * 2021-12-31 2022-05-13 四川深瑞视科技有限公司 Depth information detection system and method based on binary orthogonal grating
CN114485457B (en) * 2021-12-31 2024-05-10 四川深瑞视科技有限公司 Binary orthogonal grating-based depth information detection system and method

Similar Documents

Publication Publication Date Title
JPS6249771A (en) Optical beam scanner
US5020119A (en) System for producing serrated, alternating pixel pattern on character boundaries
US4999718A (en) Image processing apparatus with interference suppression
JPH07184051A (en) Image processor
US4989098A (en) Processing apparatus using selectable period triangular or sawtooth waves
JPH03185574A (en) Multivalued image filtering processor
JP3251988B2 (en) Image forming device
JP3046034B2 (en) Image forming device
JP2866091B2 (en) Image processing device
JPH09277604A (en) Image output apparatus
JPH0131344B2 (en)
JPH1155519A (en) Image processing method and printer using it
JP2765838B2 (en) Image processing device
JP3391809B2 (en) Image processing method and apparatus
JP2839097B2 (en) Image forming device
JPH10126610A (en) Image processor
JP3183788B2 (en) Halftone area determination device
JPH04345267A (en) Device for forming picture
JPH10336441A (en) Image area attribute discrimination method
JP2000188678A (en) Image processing unit and method for correcting tilting
JP3017249B2 (en) Image reproduction device
JPH03216362A (en) Image forming device
JPH04345268A (en) Device for forming picture
JPH11289453A (en) Picture processor
JP2002247404A (en) Color image processing unit