JPH1056561A - Image processor - Google Patents

Image processor

Info

Publication number
JPH1056561A
JPH1056561A JP8211651A JP21165196A JPH1056561A JP H1056561 A JPH1056561 A JP H1056561A JP 8211651 A JP8211651 A JP 8211651A JP 21165196 A JP21165196 A JP 21165196A JP H1056561 A JPH1056561 A JP H1056561A
Authority
JP
Japan
Prior art keywords
pattern
pixel
resolution
value
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
JP8211651A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kono
裕之 河野
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
Priority to JP8211651A priority Critical patent/JPH1056561A/en
Publication of JPH1056561A publication Critical patent/JPH1056561A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To satisfactorily convert the resolution of an input image while suppressing degradation in picture quality after resolution conversion by synthesizing correspondent patterns coincident with two predetermined thresholds and resolution converted image data when an area suitable for the patterns set by using the respective thresholds is detected. SOLUTION: The inputted image data of resolution 400dpi, for example, are stored from an input terminal A to a line buffer 11 successively from the leading picture element of a leading line and outputted to a suitable pattern detector 12 and a pattern separator 13. When any one of 18 kinds of patterns is detected, for example, at the pattern detector 12, the value of a concerned picture element in that pattern is inverted by the pattern separator 13 and inputted to a resolution converter 14. Binary image data of which the resolution is converted to 600dpi, for example, from the resolution converter 14 and the binary pattern data of 600dpi selected by a pattern generator 15 are synthesized by a synthesizer 16 and outputted to an output terminal B.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は画像処理装置に関
し、特に画像の解像度を変換する画像処理装置に関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus for converting the resolution of an image.

【0002】[0002]

【従来の技術】近年、ゼログラフィー技術やサーマルイ
ンクジェット技術の発展に伴ってプリントエンジンの解
像度は急速に高まってきている。最近では600dpi
(dpi=dot per Inch,1インチあたり
の画素数)程度の高い解像度をもつプリントエンジンが
複写機・プリンタ・ファクシミリ装置およびそれらの複
合装置に搭載されている。
2. Description of the Related Art In recent years, the resolution of a print engine has been rapidly increasing with the development of xerographic technology and thermal ink jet technology. Recently 600 dpi
A print engine having a resolution as high as about (dpi = dot per inch, the number of pixels per inch) is mounted on a copying machine, a printer, a facsimile machine, and a composite machine thereof.

【0003】こういったプリントエンジンに入力される
画像は様々な解像度をもっており、必ずしもプリントエ
ンジンの解像度と一致しない。このとき、入力された画
像をそのままプリントアウトすると、入力された画像の
解像度がプリントエンジンの解像度より低い場合には、
画像は縮小されてプリントアウトされる。このため小さ
な文字や絵柄の細かい部分がつぶれてしまう。逆に入力
された画像の解像度がプリントエンジンの解像度より高
い場合には、画像は拡大されてプリントアウトされる。
[0003] Images input to such a print engine have various resolutions, and do not always match the resolutions of the print engine. At this time, if the input image is printed out as it is, if the resolution of the input image is lower than the resolution of the print engine,
The image is reduced and printed out. For this reason, small parts of small characters and patterns are crushed. Conversely, if the resolution of the input image is higher than the resolution of the print engine, the image is enlarged and printed out.

【0004】このため例えば本来A4サイズであった画
像がA4用紙に収まらずに一部がはみ出すといった不都
合が生じる。従って、入力された画像の解像度をプリン
トエンジンの解像度に合うように変換してプリントアウ
トする必要がある。このような解像度変換を行う方法と
して、最近傍法、論理和法、投影法等の様々な方法が提
案されている。しかし特に解像度変換比率が整数でない
場合、例えば解像度を400dpiから600dpiに
変換する場合(解像度変換比率は1.5)には画質劣化
を生じやすい。
[0004] For this reason, for example, there arises a problem that an image originally having an A4 size does not fit on an A4 sheet but partially protrudes. Therefore, it is necessary to convert the resolution of the input image so as to match the resolution of the print engine and print out the image. Various methods, such as a nearest neighbor method, a logical sum method, and a projection method, have been proposed as methods for performing such resolution conversion. However, in particular, when the resolution conversion ratio is not an integer, for example, when the resolution is converted from 400 dpi to 600 dpi (the resolution conversion ratio is 1.5), the image quality tends to deteriorate.

【0005】[0005]

【発明が解決しようとする課題】上記問題を解決する方
法として、例えば特開平4−240970号公報に開示
されている解像度変換方法がある。この方法は、解像度
変換の際に互いに大きさの異なる複数の監視領域を用い
て孤立黒画素(周辺画素がすべて白画素である黒画素)
を孤立の度合いに応じて検出し、検出された孤立黒画素
を監視領域の大きさに応じて複数の黒画素に分割する。
As a method for solving the above problem, for example, there is a resolution conversion method disclosed in Japanese Patent Laid-Open No. Hei 4-240970. According to this method, an isolated black pixel (a black pixel whose peripheral pixels are all white pixels) is used by using a plurality of monitoring areas having different sizes at the time of resolution conversion.
Is detected according to the degree of isolation, and the detected isolated black pixel is divided into a plurality of black pixels according to the size of the monitoring area.

【0006】つまり、画像の低濃度領域(ハイライト領
域)に発生する孤立黒画素を分散させて、該領域におけ
る粒状性を向上させる。しかし解像度変換比率が整数で
ない場合に該領域での濃淡を解像度変換前後で合わせる
ためには、同じ孤立黒画素を分散させる場合と分散させ
ない場合に分けなければならず、処理が複雑になる。
That is, isolated black pixels generated in a low-density area (highlight area) of an image are dispersed to improve graininess in the area. However, if the resolution conversion ratio is not an integer, in order to match the shading in the area before and after the resolution conversion, it is necessary to divide the same isolated black pixel into a case where it is dispersed and a case where it is not dispersed, which complicates the processing.

【0007】また別の方法として、例えば特開平5−3
44322号公報に開示されている解像度変換方法があ
る。この方法は注目画素とその周辺画素のパターンに応
じて注目画素を複数画素に変換する。この方法によれ
ば、孤立黒画素あるいは1ドット細線を保存しながら解
像度変換を行うことができる。
Another method is disclosed in, for example,
There is a resolution conversion method disclosed in Japanese Patent No. 44322. This method converts the target pixel into a plurality of pixels according to the pattern of the target pixel and its surrounding pixels. According to this method, resolution conversion can be performed while preserving isolated black pixels or one-dot fine lines.

【0008】しかしパターンを検出する範囲を広くする
と変換パターン数が膨大な数となって回路規模の増大あ
るいは処理速度の低下を招く。一方、パターンを検出す
る範囲を狭くすると検出パターンの周囲の状況にかかわ
らず同じパターンに変換されてしまうため、変換後の画
像に画質劣化を生じやすい。
However, if the pattern detection range is widened, the number of conversion patterns becomes enormous, resulting in an increase in circuit scale or a reduction in processing speed. On the other hand, if the range in which the pattern is detected is narrowed, the pattern is converted into the same pattern irrespective of the situation around the detected pattern, so that the image quality after conversion tends to deteriorate.

【0009】更に別の方法として、例えば特開平2−2
39280号公報に開示されている解像度変換方法があ
る。この方法は、入力された2値画像を投影法により多
値化するとともに解像度を変換し、多値化された解像度
変換後の入力画像を誤差拡散法により再2値化する。入
力された2値画像から多値画像を推定して解像度を変換
し、再2値化しているため、画質劣化が生じにくい。
As another method, for example, Japanese Patent Laid-Open No. 2-2
There is a resolution conversion method disclosed in JP-A-39280. In this method, an input binary image is converted into a multi-valued image by a projection method, the resolution is converted, and the multi-valued input image after the resolution conversion is re-binarized by an error diffusion method. Since the multi-valued image is estimated from the input binary image and the resolution is converted and binarized again, the image quality hardly deteriorates.

【0010】なお、投影法に関する公知の文献として
は、新井・安田による「ファクシミリ線密度変換の一検
討」(画像電子学会誌第7巻第1号第11頁−第18
頁、1978)、誤差拡散法に関する公知の文献として
は、M.R.Schroederによる「Images
from Computer 」(IEEE Spe
ctrum, vol.6, 1969)がある。
A well-known document relating to the projection method is described in "A Study of Facsimile Line Density Conversion" by Arai and Yasuda (Journal of the Image Electronics Society of Japan, Vol. 7, No. 1, page 11, pages 18-18).
P., 1978), and well-known documents relating to the error diffusion method include M.S. R. "Images" by Schroeder
from Computer ”(IEEE Spee)
ctrum, vol. 6, 1969).

【0011】しかし、写真等の絵柄をファクシミリで伝
送する際によく用いられる、誤差拡散法により2値化し
た画像に上記技術を適用すると、低濃度部分を誤差拡散
法により2値化した際に出現する孤立黒画素が連結した
複数個の黒画素に変換されて目障りなノイズパターンと
なったり、逆に孤立黒画素が消失して原画像と解像度変
換後の画像の濃淡表現が一致しなくなる。また、高濃度
部分を誤差拡散法により2値化した際に出現する孤立白
画素(周辺画素がすべて黒画素である白画素)について
も同様の現象が発生する。
However, when the above technique is applied to an image which has been binarized by the error diffusion method, which is often used when transmitting a picture such as a photograph by facsimile, when the low density portion is binarized by the error diffusion method, Appearing isolated black pixels are converted into a plurality of connected black pixels to form an unsightly noise pattern, or conversely, isolated black pixels disappear, and the grayscale expression of the original image and the image after resolution conversion do not match. Further, the same phenomenon occurs for an isolated white pixel (white pixels whose peripheral pixels are all black pixels) that appear when the high-density portion is binarized by the error diffusion method.

【0012】本発明は、以下のような問題点を解決する
ためになされたものであり、解像度変換後の画質劣化を
抑えつつ、入力画像の解像度を良好に変換することがで
きる画像処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the following problems, and an image processing apparatus capable of satisfactorily converting the resolution of an input image while suppressing deterioration in image quality after resolution conversion is provided. The purpose is to provide.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、本発明の請求項1に記載の画像処理装置は、入力さ
れた画像データの解像度を変換する解像度変換手段を備
え、さらに前記画像データから予め定めた特定パターン
に適合する領域を検出するパターン検出手段と、前記特
定パターンに対応して定められる対応パターンを発生す
る対応パターン発生手段と、前記パターン検出手段によ
り前記領域が検出された場合に、その一致した前記特定
パターンに対応する前記対応パターンと、前記解像度変
換手段により解像度変換された前記画像データとを、合
成する合成手段とを備えている。
In order to achieve the above object, an image processing apparatus according to a first aspect of the present invention comprises a resolution conversion means for converting the resolution of input image data, and further comprises: Pattern detection means for detecting an area matching a predetermined specific pattern from the data, corresponding pattern generation means for generating a corresponding pattern defined corresponding to the specific pattern, and detection of the area by the pattern detection means In this case, there is provided a synthesizing means for synthesizing the corresponding pattern corresponding to the matched specific pattern and the image data whose resolution has been converted by the resolution converting means.

【0014】これによれば、従来技術において発生して
いた、ノイズパターンへの変換や画素の消失等による画
質劣化の可能性がある領域については、予め特定パター
ンとして検出させ、これに対応する対応パターンを用意
して、解像度変換後の画像に反映させることにより、良
好な画質の画像を得ることができる。また、特定パター
ンに該当しない領域については、対応パターンの発生や
合成を行わないため、装置の回路規模の増大や処理速度
の低下を招かない。
According to this, an area in which the image quality may be degraded due to conversion into a noise pattern or loss of pixels, etc., which is generated in the prior art, is detected in advance as a specific pattern, and a corresponding countermeasure is taken. By preparing a pattern and reflecting it on the image after resolution conversion, an image with good image quality can be obtained. In addition, since a corresponding pattern is not generated or combined for an area that does not correspond to a specific pattern, an increase in the circuit scale of the apparatus and a decrease in processing speed do not occur.

【0015】また、請求項2に記載の画像処理装置は、
前記パターン検出手段により前記領域が検出された場合
に、その領域内の特定画素を代替画素により置き換える
パターン分離手段を備え、前記解像度変換手段は、前記
パターン分離手段により前記特定画素が前記代替画素に
より置き換えられた場合には、その置き換えられた後の
画像データに対して解像度変換を施す、よう構成されて
いる。
[0015] The image processing apparatus according to claim 2 is
When the area is detected by the pattern detection means, the image processing apparatus further includes a pattern separation unit that replaces a specific pixel in the area with an alternative pixel, and the resolution conversion unit uses the alternative pixel to replace the specific pixel by the pattern separation unit. When the image data is replaced, resolution conversion is performed on the replaced image data.

【0016】これによれば、特定パターンが検出された
場合には、注目画素を代替画素に置き換えてから、解像
度変換を行い、その後対応パターンとの合成を行うた
め、さらに良好な画質の画像を得ることができる。
According to this, when a specific pattern is detected, the pixel of interest is replaced with a substitute pixel, resolution conversion is performed, and then synthesis with the corresponding pattern is performed. Obtainable.

【0017】さらに、請求項3記載の構成にあっては、
請求項1又は2記載の画像処理装置において、前記特定
パターンは、2つのしきい値により定められ、かつ、第
二のしきい値は第一のしきい値以下の値に設定されるパ
ターンであり、前記領域内の注目画素の値が前記第一の
しきい値よりも大きい場合には、その注目画素の周辺の
画素の値が前記第一のしきい値よりも小さいパターンで
あり、前記注目画素の値が前記第二のしきい値よりも小
さい場合には、前記注目画素の周辺の画素の値が前記第
二のしきい値よりも大きいパターンであるように定めら
れる。
Further, in the configuration according to the third aspect,
3. The image processing apparatus according to claim 1, wherein the specific pattern is a pattern determined by two thresholds, and the second threshold is set to a value equal to or less than the first threshold. In the case where the value of the pixel of interest in the region is larger than the first threshold, the value of the pixels around the pixel of interest is a pattern smaller than the first threshold, When the value of the pixel of interest is smaller than the second threshold value, it is determined that the pattern of the pixels around the pixel of interest is larger than the second threshold value.

【0018】これによれば、特定パターンを、2つのし
きい値を用いて設定するため、2値画像においても、多
値画像においても、簡便に特定パターンの設定を行うこ
とができる。
According to this, since the specific pattern is set using the two thresholds, the specific pattern can be easily set in both the binary image and the multi-value image.

【0019】さらに、請求項4記載の構成にあっては、
請求項1又は2に記載の画像処理装置において、前記特
定パターンは、2つのしきい値により定められ、かつ、
第二のしきい値は第一のしきい値以下の値に設定される
パターンであり、前記領域内の注目画素の値が前記第一
のしきい値よりも大きい場合には、その注目画素の周辺
の画素の値が1つの画素を除いて前記第一のしきい値よ
りも小さいパターンであり、前記注目画素の値が前記第
二のしきい値よりも小さい場合には、前記注目画素の周
辺の画素の値が、1つの画素を除いて前記第二のしきい
値よりも大きいパターンであるように定められる。
Further, in the structure according to the fourth aspect,
3. The image processing device according to claim 1, wherein the specific pattern is determined by two threshold values, and
The second threshold value is a pattern set to a value equal to or less than the first threshold value, and when the value of the pixel of interest in the area is larger than the first threshold value, Is a pattern in which the value of pixels around is smaller than the first threshold value except for one pixel, and when the value of the target pixel is smaller than the second threshold value, Are determined so as to be a pattern larger than the second threshold value except for one pixel.

【0020】これによれば、特定パターンを、2つのし
きい値を用いて設定するため、2値画像においても、多
値画像においても、簡便に特定パターンの設定を行うこ
とができ、さらに、周辺が素の1つを他の周辺画素と異
なるしきい値に設定するため、きめ細かな特定パターン
の設定が可能となる。
According to this, since the specific pattern is set by using two threshold values, the specific pattern can be set easily in both the binary image and the multi-valued image. Since one of the peripheral pixels is set to a threshold value different from that of the other peripheral pixels, a detailed specific pattern can be set.

【0021】[0021]

【発明の実施の形態】以下、本発明による画像処理装置
の実施形態を、解像度400dpiの2値画像を解像度
600dpiに変換する場合を例にとり、図1〜図15
を参照しながら説明する。なお2値画像における白は'
0'、黒は'1'とする。 (実施形態1)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of an image processing apparatus according to the present invention will be described with reference to FIGS. 1 to 15 in which a binary image having a resolution of 400 dpi is converted to a resolution of 600 dpi.
This will be described with reference to FIG. The white in the binary image is'
0 and black are set to '1'. (Embodiment 1)

【0022】まず、本発明による画像処理装置の第一の
実施形態を図1〜図12を参照しながら説明する。図1
は、本発明による画像処理装置の第一の実施形態の一構
成例を示す。11はラインバッファ、12はパターン検
出手段としてのパターン検出器、13はパターン分離手
段としてのパターン分離器、14は解像度変換手段とし
ての解像度変換器、15はパターン発生手段としてのパ
ターン発生器、16は合成手段としての合成器である。
First, an image processing apparatus according to a first embodiment of the present invention will be described with reference to FIGS. FIG.
1 shows a configuration example of the first embodiment of the image processing apparatus according to the present invention. 11 is a line buffer, 12 is a pattern detector as pattern detection means, 13 is a pattern separator as pattern separation means, 14 is a resolution converter as resolution conversion means, 15 is a pattern generator as pattern generation means, 16 Is a synthesizer as synthesis means.

【0023】IDは入力端Aとラインバッファ11との
間の画像バス、BDはラインバッファ11とパターン検
出器12との間の画像バス、BIDはラインバッファ1
1とパターン分離器13との間の画像バス、NPDはパ
ターン分離器13と解像度変換器14との間の画像バ
ス、CPDはパターン発生器15と合成器16との間の
画像バス、CNPDは解像度変換器14と合成器16と
の間の画像バス、CIDは合成器16と出力端Bとの間
の画像バスでありねPTSはパターン検出器12よりパ
ターン分離器13、パターン発生器15および合成器1
6に出力される制御信号バスである。
ID is an image bus between the input terminal A and the line buffer 11, BD is an image bus between the line buffer 11 and the pattern detector 12, and BID is a line buffer 1.
NPD is an image bus between the pattern separator 13 and the resolution converter 14, CPD is an image bus between the pattern generator 15 and the synthesizer 16, and CNPD is an image bus between the pattern separator 13 and the resolution converter 14. The image bus between the resolution converter 14 and the synthesizer 16, the CID is the image bus between the synthesizer 16 and the output end B, and the PTS is the pattern separator 12, the pattern generator 15, Synthesizer 1
6 is a control signal bus output to the control signal bus 6.

【0024】図2はパターン検出器12の構成例を示
す。201は図4に示す内容の、主走査方向5画素、副
走査方向5画素の容量をもつブロックバッファ、202
〜219はそれぞれ互いに異なる400dpiパターン
を検出するパターン検出回路である。BBDはブロック
バッファ201からパターン検出回路202〜219へ
画素データを供給するためのバス、PTS0〜PTS1
7はパターン検出回路202〜219がそれぞれ検出す
べき400dpiパターンを検出した際にアクティブと
なる信号である。PTSはPTS0〜PTS17により
構成されるバスである。パターン検出回路202〜21
9が検出する400dpiパターンは、図5に示した計
18種類のパターンのいずれかである。パターン検出回
路と検出パターンの対応を表1に示す。
FIG. 2 shows a configuration example of the pattern detector 12. 201 is a block buffer having a capacity of 5 pixels in the main scanning direction and 5 pixels in the sub-scanning direction, having the contents shown in FIG.
Reference numerals 219 to 219 denote pattern detection circuits for detecting 400 dpi patterns different from each other. BBD is a bus for supplying pixel data from the block buffer 201 to the pattern detection circuits 202 to 219, and PTS0 to PTS1.
Reference numeral 7 denotes a signal which becomes active when the pattern detection circuits 202 to 219 respectively detect 400 dpi patterns to be detected. PTS is a bus composed of PTS0 to PTS17. Pattern detection circuits 202-21
The 400 dpi pattern detected by 9 is any of the 18 types of patterns shown in FIG. Table 1 shows the correspondence between the pattern detection circuit and the detection pattern.

【0025】[0025]

【表1】 [Table 1]

【0026】パターン検出回路の構成は、パターン検出
信号を正論理とすると、パターン検出回路202〜21
0の場合は、各パターン検出回路が検出すべき400d
piパターンの注目画素位置がブロックバッファ201
の中心画素(図4の位置2、2)となり、且つ該パター
ン内の各画素の相対的な位置関係がブロックバッファ2
01に格納されている各画素の相対的な位置関係と一致
するよう入力線を構成し、該パターン内の黒画素の位置
の入力の論理否定と他の入力とのNOR(論理和の否
定)をパターン検出信号とすればよい。
The configuration of the pattern detection circuit is such that when the pattern detection signal is positive logic, the pattern detection circuits 202 to 21
If 0, 400d to be detected by each pattern detection circuit
The target pixel position of the pi pattern is the block buffer 201
Is the central pixel (positions 2 and 2 in FIG. 4), and the relative positional relationship of each pixel in the pattern is
An input line is configured to match the relative positional relationship of each pixel stored in the pattern No. 01, and a logical negation of an input at a position of a black pixel in the pattern and a NOR (negation of a logical sum) with another input. May be used as the pattern detection signal.

【0027】また、パターン検出回路211〜219の
場合は、各パターン検出回路が検出すべき400dpi
パターンの注目画素位置がブロックバッファ201の中
心画素となり、且つ該パターン内の各画素の相対的な位
置関係がブロックバッファ201に格納されている各画
素の相対的な位置関係と一致するよう入力線を構成し、
該パターン内の白画素の位置の入力の論理否定と他の入
力とのAND(論理積)をパターン検出信号とすればよ
い。パターン検出回路203およびパターン検出回路2
12の構成例を図3(a)および図3(b)に示す。
In the case of the pattern detection circuits 211 to 219, 400 dpi to be detected by each pattern detection circuit is used.
The input line is set so that the target pixel position of the pattern becomes the center pixel of the block buffer 201, and the relative positional relationship of each pixel in the pattern matches the relative positional relationship of each pixel stored in the block buffer 201. Constitute
The AND of the logical negation of the input at the position of the white pixel in the pattern and another input may be used as the pattern detection signal. Pattern detection circuit 203 and pattern detection circuit 2
12 (a) and 3 (b) show an example of the configuration of the twelfth embodiment.

【0028】図3において、31、32、34および3
5は論理否定素子、33は全入力のNORをとる14入
力NOR回路、36は全入力のANDをとる14入力A
ND回路、BBDm,n(m、nは0≦m≦4、0≦n≦
4なる整数)はブロックバッファ201に格納されてい
る5画素×5画素のデータのうちの1つの画素の値を伝
達する信号線である。
In FIG. 3, 31, 32, 34 and 3
5 is a logical NOT element, 33 is a 14-input NOR circuit that takes NOR of all inputs, and 36 is a 14-input A that takes AND of all inputs.
ND circuit, BBD m, n (m and n are 0 ≦ m ≦ 4, 0 ≦ n ≦
(An integer of 4) is a signal line for transmitting the value of one pixel among the data of 5 pixels × 5 pixels stored in the block buffer 201.

【0029】図4に、m、nの値とブロックバッファ2
01に格納されている画素の位置との関係を示す。な
お、ブロックバッファ201には、注目画素を中心とす
る5画素×5画素のウィンドウを原画像上に設定した場
合に該ウィンドウ内に存在しない部分がある場合に、パ
ターン検出回路202〜210において400dpiパ
ターンを検出する際には、該部分の画素値を'1'として
取り扱い、パターン検出回路211〜219において4
00dpiパターンを検出する際には、該部分の画素値
を'0'として取り扱う。
FIG. 4 shows the values of m and n and the block buffer 2
The relationship with the position of the pixel stored in 01 is shown. In the case where a window of 5 × 5 pixels centering on the target pixel is set on the original image and there is a portion that does not exist in the window, the block buffer 201 uses 400 dpi in the pattern detection circuits 202 to 210. When detecting a pattern, the pixel value of the portion is treated as “1”, and the pattern detection circuits 211 to 219 treat the pixel value as “1”.
When detecting a 00 dpi pattern, the pixel value of the portion is treated as '0'.

【0030】図6は、パターン分離器13の構成例を示
す。61は画素の値を反転させる画素値変換回路、62
はマルチプレクサである。パターン検出器12において
400dpiパターンa〜rのいずれかが検出されて制
御信号PTS0〜PTS17のいずれかがアクティブと
なると、マルチプレクサ62は画素値変換回路61の出
力をNPDに出力し、PTS0〜PTS17のいずれも
アクティブでない場合には入力IDをそのままNPDに
出力する。つまり、パターン検出器12において400
dpiパターンa〜rのいずれかが検出されると、該パ
ターンの注目画素の値が反転されて解像度変換器14に
入力され、いずれのパターンも検出されないと注目画素
の値がそのまま解像度変換器14に入力される。
FIG. 6 shows a configuration example of the pattern separator 13. 61 is a pixel value conversion circuit for inverting the pixel value, 62
Is a multiplexer. When any of the 400 dpi patterns a to r is detected by the pattern detector 12 and any of the control signals PTS0 to PTS17 becomes active, the multiplexer 62 outputs the output of the pixel value conversion circuit 61 to the NPD, and outputs the PTS0 to PTS17. If neither is active, the input ID is output to the NPD as it is. That is, 400 in the pattern detector 12
When any one of the dpi patterns a to r is detected, the value of the pixel of interest of the pattern is inverted and input to the resolution converter 14. If no pattern is detected, the value of the pixel of interest is directly input to the resolution converter 14. Is input to

【0031】図7は、解像度変換器14の構成例を示し
たものであり、71はラインバッファ、72は多値化・
解像度変換回路、73は2値化回路、74は量子化誤差
バッファであり、BNPDはラインバッファ71の出
力、PMDは多値化・解像度変換回路72により多値化
され解像度を変換された画像出力、ERDは2値化回路
73が量子化誤差バッファ74に量子化誤差データを読
み書きするための双方向データバスである。
FIG. 7 shows an example of the configuration of the resolution converter 14, wherein 71 is a line buffer, and 72 is a multi-valued / multi-level
A resolution conversion circuit, 73 is a binarization circuit, 74 is a quantization error buffer, BNPD is an output of the line buffer 71, and PMD is an image output converted into a multi-level image by the multi-level / resolution conversion circuit 72 and converted in resolution. , ERD are bidirectional data buses for the binarization circuit 73 to read and write quantization error data in the quantization error buffer 74.

【0032】なお、多値化・解像度変換回路72におい
ては投影法に基づいて、バスNPDおよびラインバッフ
ァ71を通じてパターン分離器13より入力された画像
を多値化するとともに解像度を400dpiから600
dpiに変換して出力し、2値化回路73は多値化・解
像度変換回路72により多値化され解像度を変換された
画像を誤差拡散法に基づいて再2値化するものとする。
The multi-level / resolution converting circuit 72 multi-levels the image input from the pattern separator 13 through the bus NPD and the line buffer 71 based on the projection method, and increases the resolution from 400 dpi to 600.
The image is converted to dpi and output, and the binarization circuit 73 re-binarizes the image whose resolution has been converted by the multi-value / resolution conversion circuit 72 based on the error diffusion method.

【0033】ここで、投影法および誤差拡散法について
説明する。まず、投影法について説明する。投影法は、
求めようとする解像度変換後の画像の画素(以下変換画
素と呼ぶ)の値を、該画素の近傍にある解像度変換前の
画像の画素(以下原画素と呼ぶ)の値の、該近傍画素と
値を求める画素との距離に応じて重み付けした平均値と
する方法であり、以下の手順により変換画素値を求め
る。
Here, the projection method and the error diffusion method will be described. First, the projection method will be described. The projection method is
The value of the pixel of the image after resolution conversion to be obtained (hereinafter referred to as a conversion pixel) is determined by the value of the pixel of the image before resolution conversion (hereinafter referred to as an original pixel) in the vicinity of the pixel and the value of the neighboring pixel. This is a method of obtaining an average value weighted according to the distance from the pixel whose value is to be obtained. The converted pixel value is obtained by the following procedure.

【0034】1.原画像を同じ大きさの、各画素位置を
中心とする正方形に分割する 2.変換画像を同じ大きさの、各画素位置を中心とする
正方形に分割する 3.両画像の左上隅にある正方形の中心を合わせる 4.変換画像上の正方形の中心を中心とする、原画像上
の正方形と同じ大きさのウィンドウを設定する 5.原画像上の正方形の上記ウィンドウ内に占める面積
の割合に、各正方形内にある画素値をかけた値の総和を
とり、変換画素値とする
1. 1. Divide the original image into squares of the same size, centered on each pixel position 2. Divide the converted image into squares of the same size centered on each pixel position 3. Center the squares in the upper left corner of both images. 4. Set a window centered on the center of the square on the converted image and the same size as the square on the original image Multiply the ratio of the area occupied by the square in the original image in the above window to the pixel value in each square, and take the sum of the values to obtain the converted pixel value

【0035】400dpiから600dpiに解像度を
変換する場合、原画素と変換画素の位置関係は図8に示
すようになる(上記1〜3)。なお、図8において、P
1〜P9は変換画素、 Pa 〜Piは原画素である。ここ
で、変換画素P5の値を求めるために、P5の中心を中
心とする、原画素と同じ大きさのウィンドウ(図8中の
影付き矩形)を設定する(上記4)。上記ウィンドウ内
にある原画素はPa 、Pb、 PdおよびPeであり、各原
画素が上記ウィンドウ内に占める割合はPa:Pb
d:Pe=1:2:2:4であるので、変換画素P5
値は式(5)により求めることができる(上記5)。
When the resolution is converted from 400 dpi to 600 dpi, the positional relationship between the original pixel and the converted pixel is as shown in FIG. In FIG. 8, P
1 to P 9 are converted pixel, P a to P i is the original pixel. In order to determine the value of the converted pixel P5, centered on the center of the P 5, is set the same size of the window as the original pixel (square shaded in FIG. 8) (4) above. The original pixels within the window is P a, P b, P d and P e, the percentage of each original pixel occupies in the window P a: P b:
Since P d : P e = 1: 2: 2: 4, the value of the converted pixel P 5 can be obtained by equation (5) (5 above).

【0036】 P1=Pa (1) P2=(Pa+2Pb)/3 (2) P3=(Pb+2Pc)/3 (3) P4=(Pa+2Pd)/3 (4) P5=(Pa+2Pb+2Pd+4Pe)/9 (5) P6=(2Pb+Pc+4Pe+2Pf)/9 (6) P7=(2Pd+Pf)/3 (7) P8=(4Pe+2Pf+2Ph+P1)/9 (8) P9=(2Pd+4Pe+Pg+2Ph)/9 (9)P 1 = P a (1) P 2 = (P a + 2P b ) / 3 (2) P 3 = (P b + 2P c ) / 3 (3) P 4 = (P a + 2P d ) / 3 (4) P 5 = (P a + 2P b + 2P d + 4P e) / 9 (5) P 6 = (2P b + P c + 4P e + 2P f) / 9 (6) P 7 = (2P d + P f) / 3 (7) P 8 = (4P e + 2P f + 2P h + P 1) / 9 (8) P 9 = (2P d + 4P e + P g + 2P h) / 9 (9)

【0037】他の原画素P1〜 P4およびP6〜 P9も同
様に式(1)〜式(4)および式(6)〜式(9)によ
り求められる。なお、図8には一部の画素しか示してい
ないが、この他の画素の値も式(1)〜式(9)のいず
れかによって求めることができる。
The other original pixels P 1 to P 4 and P 6 to P 9 are similarly obtained by equations (1) to (4) and (6) to (9). Although only some of the pixels are shown in FIG. 8, the values of the other pixels can be obtained by any one of Expressions (1) to (9).

【0038】[0038]

【数1】 (Equation 1)

【0039】次に、誤差拡散法について説明する。誤差
拡散法は、ある画素を量子化する際に既に量子化した画
素の量子化誤差を参照する階調数変換方法であり、各画
素値を算出するための式は式(10)および式(11)
で表すことができる。
Next, the error diffusion method will be described. The error diffusion method is a gradation number conversion method that refers to a quantization error of a pixel that has already been quantized when a certain pixel is quantized. Expressions for calculating each pixel value are Expression (10) and Expression (10). 11)
Can be represented by

【0040】なお、式(10)および式(11)におい
て、 Pi,jは注目画素、 Ci+m,j+nは重み係数、e
i+m,j+nは量子化誤差、〔・〕は量子化を表し、Iは主
走査方向の画素番号、jは副走査方向の画素番号、mは
注目画素からの主走査方向のオフセット値、nは注目画
素からの副走査方向のオフセット値を表し、iおよびj
は0以上の整数、mは整数、nは0以下の整数である。
In equations (10) and (11), P i, j is the pixel of interest, C i + m, j + n is a weighting factor, and e
i + m, j + n represent the quantization error, [•] represents the quantization, I is the pixel number in the main scanning direction, j is the pixel number in the sub-scanning direction, and m is the offset in the main scanning direction from the pixel of interest. The value n represents an offset value in the sub-scanning direction from the pixel of interest, i and j
Is an integer of 0 or more, m is an integer, and n is an integer of 0 or less.

【0041】式(10)におけるmおよびnの変化する
範囲は、量子化誤差を参照する範囲によって決まる。例
えば、注目画素の左斜め上・上・右斜め上および左の画
素の量子化誤差を参照する場合では、mとnの組合せは
表2に示すとおりとなり、式(10)は例えば式(1
2)のように書き換えることができる。
The range in which m and n change in equation (10) is determined by the range in which the quantization error is referenced. For example, when referring to the quantization error of the pixel at the upper left, the upper, the upper right, and the left of the target pixel, combinations of m and n are as shown in Table 2, and Expression (10) is expressed by Expression (1).
It can be rewritten as in 2).

【0042】[0042]

【表2】 [Table 2]

【0043】本実施形態では、解像度変換器14におい
ては、入力画像における'0'を'0'、'1'を'255'に
変換して8bit/pixelの2値画像とした後、式
(1)〜式(9)によって解像度600dpi、8bi
t/pixelの多値画像に変換し、式(12)におい
て量子化しきい値は'128'として、式(12)の右辺
の〔〕内の値が'128'以上である場合にはP'i,jに'
1'を'128'より小さい場合には'0'を代入して、再
び2値化するものとする。
In the present embodiment, the resolution converter 14 converts "0" into "0" and "1" into "255" in the input image to obtain an 8-bit / pixel binary image, and then obtains the following expression ( 1) to 600 dpi, 8 bi by equation (9)
It is converted into a multi-valued image of t / pixel, and the quantization threshold value is set to “128” in Expression (12). i, j '
If "1" is smaller than "128", "0" is substituted and binarized again.

【0044】なお、式(11)における量子化誤差は符
号付9bitデータ('−255'〜'255)とする。 P'i,j=〔Pi,j+(1/8)ei-j,j-1 +(3/8)ei,j-1+(3/8)ei+j,j-1 +(1/8)ei-1,j〕 (12)
The quantization error in equation (11) is assumed to be signed 9-bit data ('-255' to '255). P ' i, j = [P i, j + (1/8) e ij, j-1 + (3/8) e i, j-1 + (3/8) e i + j, j-1 + (1/8) e i-1, j ] (12)

【0045】図9は、パターン発生器15の構成例を示
したものであり、901〜918はそれぞれ互いに異な
る600dpiパターンを発生するパターン発生回路、
919はマルチプレクサであり、PD0〜PD17はそ
れぞれパターン発生回路901〜918より出力される
600dpiパターンデータを出力するためのバスであ
る。パターン発生回路901〜918が発生する600
dpiパターンは図10に示した計18種類のパターン
のいずれかであり、パターン発生回路と発生する600
dpiパターンとの対応は表3に示す通りである。
FIG. 9 shows an example of the configuration of the pattern generator 15. Numerals 901 to 918 denote pattern generating circuits for generating mutually different 600 dpi patterns.
919 is a multiplexer, and PD0 to PD17 are buses for outputting 600 dpi pattern data output from the pattern generation circuits 901 to 918, respectively. 600 generated by the pattern generation circuits 901 to 918
The dpi pattern is one of a total of 18 types of patterns shown in FIG.
The correspondence with the dpi pattern is as shown in Table 3.

【0046】[0046]

【表3】 [Table 3]

【0047】図11は、合成器16の構成例を示したも
のであり、111は制御回路、112はラインバッファ
であり、BDは制御回路111とラインバッファ112
との間の双方向画像バス、CTRLはラインバッファ制
御信号バスである。解像度変換器14より出力される画
像データCNPDは、制御回路111では何ら処理を施
さずに出力され、ラインバッファ112に格納される。
FIG. 11 shows an example of the configuration of the synthesizer 16, where 111 is a control circuit, 112 is a line buffer, and BD is the control circuit 111 and the line buffer 112.
CTRL is a line buffer control signal bus. The image data CNPD output from the resolution converter 14 is output without any processing in the control circuit 111 and stored in the line buffer 112.

【0048】一方、パターン発生器15より出力される
画像データCPDは、発生パターンがパターンA〜パタ
ーンIの場合は、ラインバッファ112に格納されてい
る解像度変換器14の出力画像データとのOR(論理
和)をとり、発生パターンがパターンJ〜パターンRの
場合は、ラインバッファ112に格納されている解像度
変換器14の出力画像データとのAND(論理積)をと
って再びラインバッファ112に格納する。
On the other hand, the image data CPD output from the pattern generator 15 is ORed with the output image data of the resolution converter 14 stored in the line buffer 112 when the generated patterns are patterns A to I. If the generated pattern is pattern J to pattern R, AND (logical product) with the output image data of the resolution converter 14 stored in the line buffer 112 is calculated and stored in the line buffer 112 again. I do.

【0049】以下、本実施形態の画像処理装置に解像度
400dpi画像を入力した場合の動作を説明する。ま
ず、本実施形態の画像処理装置に入力された解像度40
0dpiの画像データは、先頭ラインの先頭画素より順
に、入力端Aより一旦ラインバッファ11に格納され、
適宜パターン検出器12およびパターン分離器13に出
力される。
Hereinafter, an operation when a 400 dpi resolution image is input to the image processing apparatus of this embodiment will be described. First, the resolution 40 input to the image processing apparatus of the present embodiment is
The image data of 0 dpi is temporarily stored in the line buffer 11 from the input terminal A in order from the head pixel of the head line,
It is output to the pattern detector 12 and the pattern separator 13 as appropriate.

【0050】パターン検出器12は、注目画素の位置に
応じて、注目画素を中心とする5画素×5画素のブロッ
クデータをラインバッファ11からブロックバッファ2
01に読み込み、ブロックバッファ201にブロックデ
ータが格納され、パターン検出回路202〜219にお
いて、図4に示した18種類のパターンa〜パターンr
のいずれかをブロックデータ内に検出すると、検出した
パターンの種類に応じてPTS0〜PTS17のいずれ
かがアサートされる。
The pattern detector 12 sends block data of 5 pixels × 5 pixels centered on the target pixel from the line buffer 11 to the block buffer 2 according to the position of the target pixel.
01, the block data is stored in the block buffer 201, and the pattern detection circuits 202 to 219 use the 18 types of patterns a to r shown in FIG.
Is detected in the block data, one of PTS0 to PTS17 is asserted according to the type of the detected pattern.

【0051】パターン分離器13は、PTS0〜PTS
17のいずれかがアサートされると、ラインバッファ1
1から入力される画像データの画素値を反転させ、PT
S0〜PTS17のいずれもアサートされないと、ライ
ンバッファ11から入力される画像データをそのまま解
像度変換器14に入力する。
The pattern separator 13 includes PTS0 to PTS
17 is asserted, the line buffer 1
Invert the pixel value of the image data input from
If none of S0 to PTS17 is asserted, the image data input from the line buffer 11 is input to the resolution converter 14 as it is.

【0052】解像度変換器14は、式(1)〜式(9)
により解像度変換後の画素値を算出する投影法によりパ
ターン分離器13より入力される画像データを一旦多値
化するとともに解像度を600dpiに変換し、式(1
1)および式(12)により再び2値化する。
The resolution converter 14 is calculated by the equations (1) to (9).
The image data input from the pattern separator 13 is once multi-valued by the projection method of calculating the pixel value after the resolution conversion by using the formula (1), and the resolution is converted to 600 dpi.
Binarization is performed again by 1) and equation (12).

【0053】パターン発生器15は、パターン発生回路
901〜918より発生されるパターンA〜パターンR
のいずれかの600dpiパターンデータを、PTS0
〜PTS17のいずれかがアサートされたかに応じてマ
ルチプレクサ919にて1つのパターンデータを選択
し、合成器16に出力する。
The pattern generator 15 includes patterns A to R generated by the pattern generation circuits 901 to 918.
Any of the 600 dpi pattern data in PTS0
One of the pattern data is selected by the multiplexer 919 in accordance with whether any one of .about.PTS 17 is asserted and output to the synthesizer 16.

【0054】合成器16は、解像度変換器14より出力
される、600dpiに解像度を変換された2値画像デ
ータと、パターン発生器15より出力される600dp
iの2値パターンデータを、PTS0〜PTS17のい
ずれがアサートされたかに応じて合成し、出力端Bに出
力する。
The synthesizer 16 outputs the binary image data whose resolution has been converted to 600 dpi, which is output from the resolution converter 14, and the 600 dpi which is output from the pattern generator 15.
The binary pattern data of i is synthesized according to which of PTS0 to PTS17 is asserted and output to the output terminal B.

【0055】この際、PTS0〜PTS8がアサートさ
れると、解像度変換器14より出力される画像データと
パターン発生器15より出力されるパターンデータを論
理和により合成し、PTS9〜PTS17がアサートさ
れると、解像度変換器14より出力される画像データと
パターン発生器15より出力されるパターンデータを論
理積により合成し、PTS0〜PTS17のいずれもア
サートされない時には、解像度変換器14より出力され
る画像データには何の処理も施さない。ラインバッファ
112に格納されている画像データは、合成処理が終了
した部分がラインバッファ112より読み出されて、出
力端Bより本実施形態の外部に出力される。
At this time, when PTS0 to PTS8 are asserted, the image data output from the resolution converter 14 and the pattern data output from the pattern generator 15 are combined by logical OR, and PTS9 to PTS17 are asserted. And the image data output from the resolution converter 14 and the pattern data output from the pattern generator 15 are combined by AND, and when none of PTS0 to PTS17 is asserted, the image data output from the resolution converter 14 Does nothing. As for the image data stored in the line buffer 112, the portion where the synthesis processing is completed is read out from the line buffer 112 and output from the output terminal B to the outside of the present embodiment.

【0056】例えば、パターン検出器12においてパタ
ーンaが検出された場合、パターン検出回路202の出
力PTS0がアサートされる。パターン分離器13にお
いては、PTS0がアサートされたことを検知すると、
マルチプレクサ62の出力画像バスNPDに画素値変換
回路61の出力が選択されて出力され、解像度変換器1
4に入力される。
For example, when the pattern a is detected by the pattern detector 12, the output PTS0 of the pattern detection circuit 202 is asserted. When the pattern separator 13 detects that PTS0 is asserted,
The output of the pixel value conversion circuit 61 is selected and output to the output image bus NPD of the multiplexer 62, and the resolution converter 1
4 is input.

【0057】つまり、黒画素である注目画素の値が反転
されて(白画素に変換されて)、解像度変換器14に入
力される。解像度変換器14においては、パターン分離
器13より入力された画素値から式(1)〜式(9)に
基づいて一旦多値化するとともに解像度を600dpi
に変換し、式(11)および式(12)に基づいて再2
値化し、合成器16に出力する。
That is, the value of the target pixel, which is a black pixel, is inverted (converted to a white pixel) and input to the resolution converter 14. In the resolution converter 14, the pixel value input from the pattern separator 13 is once multi-valued based on the equations (1) to (9) and the resolution is set to 600 dpi.
And based on equations (11) and (12),
The value is output to the synthesizer 16.

【0058】一方、パターン発生器15においては、P
TS0がアサートされたことを検知すると、パターン発
生回路901の出力PD0、つまりパターンAがマルチ
プレクサ919にて選択され、合成器16に出力され
る。合成器16においては、PTS0がアサートされた
ことを検知すると、ラインバッファ112に格納されて
いる、解像度変換器14より出力された画像にパターン
Aが論理和によって合成される。
On the other hand, in the pattern generator 15, P
When detecting that TS0 is asserted, the output PD0 of the pattern generation circuit 901, that is, the pattern A, is selected by the multiplexer 919 and output to the synthesizer 16. When the synthesizer 16 detects that PTS0 is asserted, the pattern A is synthesized with the image stored in the line buffer 112 and output from the resolution converter 14 by logical OR.

【0059】(実施形態2)次に、上記とは別の第二の
実施形態を、図12〜図13を参照しながら説明する。
図12は、本実施形態の一構成例を示す図であり、12
1はラインバッファ、122はパターン検出器、123
は解像度変換器、124はパターン発生器、125は合
成器であり、IDは入力端Aとラインバッファ121と
の間の画像バス、BDはラインバッファ121とパター
ン検出器122との間の画像バス、NPDはラインバッ
ファ121と解像度変換器123との間の画像バス、C
PDはパターン発生器124と合成器125との間の画
像バス、CNPDは解像度変換器123と合成器125
との間の画像バス、CIDは合成器125と出力端Bと
の間の画像バスであり、PTSはパターン検出器122
よりパターン発生器124および合成器125に出力さ
れる制御信号バスである。
(Embodiment 2) Next, a second embodiment different from the above will be described with reference to FIGS.
FIG. 12 is a diagram illustrating a configuration example of the present embodiment.
1 is a line buffer, 122 is a pattern detector, 123
Is a resolution converter, 124 is a pattern generator, 125 is a synthesizer, ID is an image bus between the input terminal A and the line buffer 121, and BD is an image bus between the line buffer 121 and the pattern detector 122. , NPD are the image bus between the line buffer 121 and the resolution converter 123, C
PD is an image bus between the pattern generator 124 and the synthesizer 125, and CNPD is a resolution converter 123 and the synthesizer 125.
CID is an image bus between the synthesizer 125 and the output terminal B, and PTS is an image bus between the synthesizer 125 and the output terminal B.
This is a control signal bus output to the pattern generator 124 and the synthesizer 125.

【0060】なお、本実施形態においては、ラインバッ
ファ121は図1のラインバッファ11、パターン検出
器122は図1のパターン検出器12、解像度変換器1
23は図1の解像度変換器14、パターン発生器124
は図1のパターン発生器15とそれぞれ動作が同じであ
るとし、詳細な説明を省略する。
In this embodiment, the line buffer 121 is the line buffer 11 of FIG. 1, the pattern detector 122 is the pattern detector 12 of FIG.
23 is a resolution converter 14 and a pattern generator 124 of FIG.
Operate in the same manner as the pattern generator 15 of FIG. 1, and a detailed description thereof will be omitted.

【0061】図13は、図12における合成器125の
一構成例を示す図であり、131は制御回路、132は
ラインバッファであり、BDは制御回路131とライン
バッファ132との間の画像バス、CTRLはラインバ
ッファ制御信号バスである。解像度変換器123より出
力される画像データCNPDは、制御回路131では何
ら処理を施さずに出力され、ラインバッファ132に格
納される。一方、パターン発生器124より出力される
画像データCPDは、ラインバッファ132に格納され
ている、解像度変換器123より出力された画像データ
上に上書きされる。
FIG. 13 is a diagram showing an example of the configuration of the synthesizer 125 in FIG. 12. Reference numeral 131 denotes a control circuit, 132 denotes a line buffer, and BD denotes an image bus between the control circuit 131 and the line buffer 132. , CTRL are line buffer control signal buses. The image data CNPD output from the resolution converter 123 is output without any processing in the control circuit 131 and stored in the line buffer 132. On the other hand, the image data CPD output from the pattern generator 124 is overwritten on the image data output from the resolution converter 123 and stored in the line buffer 132.

【0062】以下、本実施形態の画像処理装置に解像度
400dpiの画像を入力した場合の動作を説明する。
本実施形態の画像処理装置に入力された解像度400d
piの画像データは、先頭ラインの先頭画素より順に、
入力端Aより一旦ラインバッファ121に格納され、適
宜パターン検出器122および解像度変換器123に出
力される。パターン検出器122は、図4に示した18
種類のパターンa〜パターンrのいずれかをブロックデ
ータ内に検出すると、検出したパターンの種類に応じて
PTS0〜PTS17のいずれかがアサートされる。
The operation when an image having a resolution of 400 dpi is input to the image processing apparatus according to the present embodiment will be described below.
Resolution 400d input to the image processing apparatus of the present embodiment
pi image data, in order from the first pixel of the first line,
From the input terminal A, the data is temporarily stored in the line buffer 121 and output to the pattern detector 122 and the resolution converter 123 as appropriate. The pattern detector 122 uses the 18 shown in FIG.
When any of patterns a to r is detected in the block data, one of PTS0 to PTS17 is asserted according to the type of the detected pattern.

【0063】解像度変換器123は、式(1)〜式
(9)により解像度変換後の画素値を算出する投影法に
より、ラインバッファ121より入力される画像データ
を一旦多値化するとともに解像度を600dpiに変換
し、式(11)および式(12)により再び2値化す
る。
The resolution converter 123 temporarily multi-values the image data input from the line buffer 121 and adjusts the resolution by the projection method of calculating the pixel value after the resolution conversion by the equations (1) to (9). It is converted to 600 dpi and binarized again according to the equations (11) and (12).

【0064】パターン発生器124は、パターン発生回
路901〜918より発生されるパターンA〜パターン
Rのいずれかの600dpiパターンデータを、PTS
0〜PTS17のいずれがアサートされたかに応じてマ
ルチプレクサ919にて1つのパターンデータを選択
し、合成器125に出力する。
The pattern generator 124 converts the 600 dpi pattern data of any of the patterns A to R generated by the pattern generation circuits 901 to 918 into PTS data.
One pattern data is selected by the multiplexer 919 according to which one of 0 to PTS 17 is asserted and output to the combiner 125.

【0065】合成器125は、解像度変換器123より
出力される、600dpiに解像度を変換された2値画
像データと、パターン発生器124より出力される60
0dpiの2値パターンデータを、PTS0〜PTS1
7のいずれがアサートされたかに応じて合成し、出力端
Bに出力する。この際、PTS0〜PTS8がアサート
されると、解像度変換器123より出力される画像デー
タとパターン発生器124より出力されるパターンデー
タを論理和により合成し、PTS9〜PTS17がアサ
ートされると、解像度変換器123より出力される画像
データとパターン発生器124より出力されるパターン
データを論理積により合成する。
The synthesizer 125 outputs the binary image data whose resolution has been converted to 600 dpi output from the resolution converter 123 and the binary image data 60 which is output from the pattern generator 124.
0 dpi binary pattern data is converted to PTS0 to PTS1.
7 are synthesized according to which one of them is asserted, and output to the output terminal B. At this time, when PTS0 to PTS8 are asserted, the image data output from the resolution converter 123 and the pattern data output from the pattern generator 124 are combined by OR, and when PTS9 to PTS17 are asserted, the resolution is increased. The image data output from the converter 123 and the pattern data output from the pattern generator 124 are combined by a logical product.

【0066】一方、PTS0〜PTS17のいずれもア
サートされない時には、解像度変換器123より出力さ
れる画像データには何の処理も施さない。ラインバッフ
ァ112に格納されている画像データは、合成処理が終
了した部分がラインバッファ112より読み出されて、
出力端Bより本実施形態の外部に出力される。
On the other hand, when none of PTS0 to PTS17 is asserted, no processing is performed on the image data output from the resolution converter 123. As for the image data stored in the line buffer 112, the portion where the synthesis processing is completed is read out from the line buffer 112,
The signal is output from the output terminal B to the outside of the present embodiment.

【0067】例えば、パターン検出器122においてパ
ターンaが検出された場合、PTS0がアサートされ
る。解像度変換器123においては、ラインバッファ1
21より入力された画素値から式(1)〜式(9)に基
づいて一旦多値化するとともに解像度を600dpiに
変換し、式(11)および式(12)に基づいて再2値
化し、合成器125に出力する。
For example, when the pattern a is detected by the pattern detector 122, PTS0 is asserted. In the resolution converter 123, the line buffer 1
The pixel value input from 21 is once multi-valued based on equations (1) to (9), the resolution is converted to 600 dpi, and re-binarized based on equations (11) and (12). Output to the synthesizer 125.

【0068】一方、パターン発生器124においては、
PTS0がアサートされたことを検知すると、パターン
Aが合成器125に出力される。合成器125において
は、PTS0がアサートされたことを検知すると、解像
度変換器123より出力された画像にパターンAを上書
きによって合成される。
On the other hand, in the pattern generator 124,
When detecting that PTS0 is asserted, the pattern A is output to the synthesizer 125. When the synthesizer 125 detects that PTS0 is asserted, it synthesizes the image output from the resolution converter 123 by overwriting the pattern A.

【0069】以上に述べたように、入力端Aより第一お
よび第二の実施形態に入力された、誤差拡散法により2
値化された400dpiの画像は、低濃度部分の孤立黒
画素や高濃度部分の孤立白画素がパターン変換により保
存されながら600dpiの画像に変換されるため、従
来技術で発生していた孤立黒画素や孤立白画素が目障り
なノイズパターンに変換されたり、逆に消失して原画素
と解像度変換後の画像の濃淡表現が一致しなくなるとい
った画質劣化が抑えられ、解像度を良好に600dpi
に変換することができる。
As described above, by the error diffusion method, the two signals input to the first and second embodiments from the input terminal A are used.
The valued 400 dpi image is converted into a 600 dpi image while the isolated black pixels in the low density portion and the isolated white pixels in the high density portion are preserved by the pattern conversion. Or isolated white pixels are converted into an unsightly noise pattern, or conversely, disappear, and the original pixel and the grayscale expression of the image after resolution conversion do not match, thereby suppressing image quality deterioration, and achieving a good resolution of 600 dpi.
Can be converted to

【0070】なお、第一および第二の実施形態では、解
像度を400dpiから600dpiに変換する場合を
例にとったが、本発明の趣旨は、同じ変換比である他の
解像度変換にも適用できることは明白であり、更には他
の変換比の解像度変換にも応用できることは当業者にと
っては明らかである。
In the first and second embodiments, the case where the resolution is converted from 400 dpi to 600 dpi is taken as an example. However, the gist of the present invention is that it can be applied to other resolution conversions having the same conversion ratio. It is obvious to those skilled in the art that the present invention can be applied to resolution conversion of other conversion ratios.

【0071】また、第一および第二の実施形態において
は、誤差拡散法により2値化された画像を対象としてい
るが、本発明の趣旨は、例えばディザ法等の他の2値化
方法により2値化された画像についても応用できること
は明らかである。
Further, in the first and second embodiments, the image binarized by the error diffusion method is targeted, but the gist of the present invention is that the image is binarized by another binarization method such as the dither method. Obviously, the present invention can be applied to a binarized image.

【0072】また、第一および第二の実施形態において
は、2値化された画像を対象としているため、注目画素
が黒画素(すなわち'1')である場合には、その周辺画
素がすべて白画素(すなわち'0')であるか、その周辺
画素のうち1つの画素のみが黒画素であり他の周辺画素
は白画素であるパターンを、注目画素が白画素である場
合には、その周辺画素がすべて黒画素であるか、その周
辺画素のうち1つの画素のみが白画素であり他の周辺画
素は黒画素であるパターンをパターン検出器12あるい
はパターン検出器122において検出しているので、第
1のしきい値および第1のしきい値以下の値である第2
のしきい値をともに'0'より大きく且つ'1'より小さい
値、例えば'0.5'に設定していることになる。
Further, in the first and second embodiments, since the binarized image is targeted, if the target pixel is a black pixel (ie, '1'), all of its peripheral pixels If the target pixel is a white pixel (that is, '0') or only one of its peripheral pixels is a black pixel and the other peripheral pixels are white pixels, The pattern detector 12 or 122 detects a pattern in which all peripheral pixels are black pixels, or only one of the peripheral pixels is a white pixel and the other peripheral pixels are black pixels. , A first threshold and a second threshold that is less than or equal to the first threshold.
Are set to values larger than '0' and smaller than '1', for example, '0.5'.

【0073】ここで、多値画像を対象とする場合には、
第1のしきい値と第1のしきい値以下の値である第2の
しきい値を設定し、注目画素の値が第1のしきい値より
も大きい場合には、注目画素の周辺の画素の値がすべて
第1のしきい値よりも小さいか、その周辺画素のうち1
つの画素のみが第1のしきい値よりも大きく他の周辺画
素は第1のしきい値よりも小さいパターンを、注目画素
の値が第2のしきい値よりも小さい場合には、注目画素
の周辺の画素の値がすべて第2のしきい値よりも大きい
か、その周辺画素のうち1つの画素のみが第2のしきい
値よりも小さく他の周辺画素は第2のしきい値よりも大
きいパターンをパターン検出器12あるいはパターン検
出器122において検出するようにすればよい。
Here, when a multivalued image is targeted,
A first threshold value and a second threshold value that is equal to or less than the first threshold value are set, and when the value of the target pixel is larger than the first threshold value, the vicinity of the target pixel Pixel values are smaller than the first threshold value, or 1
The pattern in which only one pixel is larger than the first threshold value and the other peripheral pixels are smaller than the first threshold value, and when the value of the target pixel is smaller than the second threshold value, Are all larger than the second threshold value, or only one of the peripheral pixels is smaller than the second threshold value and the other peripheral pixels are larger than the second threshold value. The pattern detector 12 or the pattern detector 122 may detect a large pattern.

【0074】なお、解像度変換器14あるいは解像度変
換器123における入力画像の処理については、投影法
による多値化の階調数が原画像の階調数以上となるよう
にし、式(10)において互いに値が異なり且つ値が画
素値の範囲内にある量子化しきい値を原画像の階調数か
ら1を減じた数だけ設定して処理を行えばよく、パター
ン発生器15あるいはパターン発生器124にて発生さ
れるパターンについては、原画像の階調数と同じ階調数
のパターンを発生するようにすればよい。
In the processing of the input image in the resolution converter 14 or the resolution converter 123, the number of gradations of the multi-valued conversion by the projection method is set to be equal to or larger than the number of gradations of the original image. The processing may be performed by setting the quantization thresholds having different values from each other and within the range of pixel values by the number obtained by subtracting 1 from the number of gradations of the original image. For the pattern generated by, a pattern having the same number of gradations as that of the original image may be generated.

【0075】また、第一および第二の実施形態において
は、パターン検出器12およびパターン検出器122よ
り検出されるパターンは図2に示したパターンとしてい
るが、これに限定されないことは明らかである。
In the first and second embodiments, the pattern detected by the pattern detector 12 and the pattern detector 122 is the pattern shown in FIG. 2, but it is obvious that the present invention is not limited to this. .

【0076】また、第一および第二の実施形態において
は、パターン検出器12およびパターン検出器122よ
り出力される制御信号PTS0−PTS17と各検出パ
ターンとの対応は表1に示した割当てとしているが、こ
れに限定されないことは明らかである。
In the first and second embodiments, the correspondence between the control signals PTS0 to PTS17 output from the pattern detector 12 and the pattern detector 122 and each detection pattern is assigned as shown in Table 1. However, it is clear that the present invention is not limited to this.

【0077】また、第一および第二の実施形態において
は、パターン検出器12およびパターン検出器122よ
り出力される制御信号PTSの値に応じて、パターン発
生器15およびパターン発生器124より出力される6
00dpiパターンは図3に示すパターンとしている
が、本発明の趣旨を逸脱しない限りは他のパターンでも
よいことは明らかである。
In the first and second embodiments, the output from the pattern generator 15 and the pattern generator 124 is performed according to the value of the control signal PTS output from the pattern detector 12 and the pattern detector 122. 6
The 00 dpi pattern is the pattern shown in FIG. 3, but it is clear that other patterns may be used without departing from the spirit of the present invention.

【0078】また、第一および第二の実施形態において
は、誤差拡散法による2値化を式(11)および式(1
2)により行っているが、誤差拡散法による2値化式は
式(12)に限定されないことは式(10)からも明ら
かである。
Further, in the first and second embodiments, the binarization by the error diffusion method is performed by the equations (11) and (1).
Although it is performed according to 2), it is clear from Expression (10) that the binarization expression by the error diffusion method is not limited to Expression (12).

【0079】また、第一および第二の実施形態において
は、誤差拡散法による2値化の際の量子化しきい値を'
128'に固定しているが、これに限定されるものでは
なく、画素ごとに量子化しきい値を変えても本発明の趣
旨を逸脱しないことは明らかである。
In the first and second embodiments, the quantization threshold value for binarization by the error diffusion method is
Although it is fixed at 128 ', the present invention is not limited to this, and it is apparent that changing the quantization threshold for each pixel does not depart from the gist of the present invention.

【0080】また、第一および第二の実施形態において
は、合成器16を図11に示すように構成しているが、
同じ機能を果たすならば別の構成でもよく、例えば図1
4に示す構成とすることもできる。なお、図14におい
て、141はラインバッファ、142は制御回路、14
3は合成回路であり、LBDはラインバッファ141の
出力画像データバス、SELは制御回路142から合成
回路143に出力される制御信号、CTRLは制御回路
142からラインバッファ141に出力される制御信号
である。図15は、合成回路143の構成例を示したも
のであり、151は論理積回路、152は論理和回路、
153はマルチプレクサである。
In the first and second embodiments, the synthesizer 16 is configured as shown in FIG.
Another configuration may be used as long as it performs the same function.
The configuration shown in FIG. In FIG. 14, 141 is a line buffer, 142 is a control circuit, 14
Reference numeral 3 denotes a synthesizing circuit, LBD denotes an output image data bus of the line buffer 141, SEL denotes a control signal output from the control circuit 142 to the synthesizing circuit 143, and CTRL denotes a control signal output from the control circuit 142 to the line buffer 141. is there. FIG. 15 shows a configuration example of the synthesis circuit 143, where 151 is an AND circuit, 152 is an OR circuit,
153 is a multiplexer.

【0081】図14および図15において、パターン発
生器15より出力された600dpiパターンデータ
は、一旦ラインバッファ141に格納され、合成回路1
43に出力される。合成回路143では、マルチプレク
サ153において、論理積回路151によって得られる
解像度変換器14から入力された画像データとラインバ
ッファ141から入力されたパターンデータの画素ごと
の論理積回路151及び論理和回路152によって得ら
れる解像度変換器14から入力された画像データとライ
ンバッファ141から入力されたパターンデータの画素
ごとの論理和、および解像度変換器14から入力された
画像データのいずれかを、制御回路142から入力され
る信号SELの値に応じて選択し、出力する。
14 and 15, 600 dpi pattern data output from the pattern generator 15 is temporarily stored in the line buffer 141, and
43. In the synthesizing circuit 143, the multiplexer 153 uses the AND circuit 151 and the OR circuit 152 for each pixel of the image data input from the resolution converter 14 obtained by the AND circuit 151 and the pattern data input from the line buffer 141. Either of the obtained image data input from the resolution converter 14 and the logical sum of the pattern data input from the line buffer 141 for each pixel and the image data input from the resolution converter 14 are input from the control circuit 142. Selected according to the value of the signal SEL to be output.

【0082】この際、信号SELは解像度変換器14か
ら入力された画像データと合成すべきパターンが、表2
に示すパターンIのときは論理和回路152の出力を、
パターンJ〜パターンRのときは論理積回路151の出
力をバスCIDに、パターンを合成しないときは解像度
変換器14から入力された画像をそのままバスCIDに
出力するよう制御される。
At this time, the signal SEL has a pattern to be synthesized with the image data input from the resolution converter 14, as shown in Table 2.
In the case of the pattern I shown in FIG.
When the pattern is J to R, the output of the AND circuit 151 is controlled to the bus CID, and when the pattern is not synthesized, the image input from the resolution converter 14 is directly output to the bus CID.

【0083】また、第一および第二の実施形態において
は、本発明による画像処理装置の構成を図1に示した構
成としているが、本発明の趣旨を実現するための構成で
あれば他の構成であっても構わない。
In the first and second embodiments, the configuration of the image processing apparatus according to the present invention is the configuration shown in FIG. 1. However, any other configuration for realizing the gist of the present invention can be used. It may be a configuration.

【0084】[0084]

【発明の効果】以下の説明により明らかになるように、
本発明の請求項1に記載の画像処理装置によれば、特定
パターンに一致する領域を検出し、これに対応する対応
パターンを用意して、解像度変換後の画像に反映させる
ことにより、低濃度部の孤立黒画素や高濃度部分の孤立
画素が目障りなノイズパターンに変換されたり、逆に孤
立黒画素や孤立白画素が消失して原画像と解像度変換後
の画像の濃淡表現が一致しなくなるといった画質劣化を
抑えつつ、画像の解像度を良好に変換することができ、
特に解像度変換比が整数でない場合に顕著に効果を発揮
する。
As will be apparent from the following description,
According to the image processing apparatus according to the first aspect of the present invention, a region corresponding to a specific pattern is detected, a corresponding pattern corresponding to the detected region is prepared, and the corresponding pattern is reflected on the image after the resolution conversion, thereby obtaining a low density image. The isolated black pixel and the isolated pixel in the high-density part are converted into an unsightly noise pattern, or the isolated black pixel and the isolated white pixel disappear, and the grayscale expression of the original image and the image after resolution conversion do not match. It is possible to convert the resolution of the image satisfactorily while suppressing image quality deterioration,
In particular, the effect is remarkable when the resolution conversion ratio is not an integer.

【0085】また、請求項2に記載の画像処理装置によ
れば、特定のパターンが検出された場合には、注目画素
を代替画素に置き換えてから解像度変換を行い、その後
対応パターンとの合成を行うようにしたので、さらに良
好な解像度変換結果を得ることができる。
According to the image processing apparatus of the second aspect, when a specific pattern is detected, the pixel of interest is replaced with a substitute pixel, resolution conversion is performed, and then synthesis with the corresponding pattern is performed. Since the resolution conversion is performed, a better resolution conversion result can be obtained.

【0086】さらに請求項3に記載の画像処理装置によ
れば、特定パターンを2つのしきい値を用いて設定する
ようにしたので、2値画像においても、多値画像におい
ても、簡便に特定パターンの設定を行うことができる。
Further, according to the image processing apparatus of the present invention, since the specific pattern is set using two threshold values, the specific pattern can be easily specified in both a binary image and a multi-value image. The pattern can be set.

【0087】また請求項4に記載の画像処理装置によれ
ば、特定パターンを2つのしきい値を用いて設定するよ
うにしたので、2値画像においても、多値画像において
も、簡便に特定パターンの設定を行うことができ、さら
に周辺画素の1つを他の周辺画素と異なるしきい値に設
定するようにしたので、きめ細かな特定パターンの設定
をすることができる。
According to the image processing apparatus of the present invention, since the specific pattern is set using two threshold values, the specific pattern can be easily specified in both a binary image and a multi-value image. Since a pattern can be set and one of the peripheral pixels is set to a threshold value different from that of the other peripheral pixels, a detailed specific pattern can be set.

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

【図1】 本発明による画像処理装置の第一の実施形態
の一構成例を示す図である。
FIG. 1 is a diagram illustrating a configuration example of a first embodiment of an image processing apparatus according to the present invention.

【図2】 図1におけるパターン検出器12の構成例を
示す図である。
FIG. 2 is a diagram showing a configuration example of a pattern detector 12 in FIG.

【図3】 図2におけるパターン検出回路の構成例を示
す図であり、(a)はパターン検出回路203、(b)
はパターン検出回路212の構成例を示す図である。
3A and 3B are diagrams illustrating a configuration example of a pattern detection circuit in FIG. 2; FIG.
3 is a diagram illustrating a configuration example of a pattern detection circuit 212. FIG.

【図4】 図2におけるブロックバッファ201の内容
を示す図である。
FIG. 4 is a diagram showing the contents of a block buffer 201 in FIG. 2;

【図5】 図2におけるパターン検出回路202〜21
9において検出されるパターンを示す図である。
FIG. 5 is a diagram illustrating pattern detection circuits 202 to 21 in FIG. 2;
FIG. 9 is a diagram showing a pattern detected in 9.

【図6】 図1におけるパターン分離器13の構成例を
示す図である。
FIG. 6 is a diagram showing a configuration example of a pattern separator 13 in FIG.

【図7】 図1における解像度変換器14の構成例を示
す図である。
FIG. 7 is a diagram showing a configuration example of a resolution converter 14 in FIG.

【図8】 投影法の原理を説明するための図である。FIG. 8 is a diagram for explaining the principle of the projection method.

【図9】 図1におけるパターン発生器15の構成例を
示す図である。
9 is a diagram showing a configuration example of a pattern generator 15 in FIG.

【図10】 図9におけるパターン発生回路901−9
18において発生されるパターンを示す図である。
FIG. 10 shows a pattern generation circuit 901-9 in FIG.
FIG. 8 is a diagram showing a pattern generated in 18.

【図11】 図1における合成器16の構成例を示す図
である。
11 is a diagram illustrating a configuration example of a combiner 16 in FIG.

【図12】 本発明による画像処理装置の第二の実施形
態の一構成例を示す図である。
FIG. 12 is a diagram illustrating a configuration example of an image processing apparatus according to a second embodiment of the present invention.

【図13】 図12における合成器125の構成例を示
す図である。
13 is a diagram illustrating a configuration example of a combiner 125 in FIG.

【図14】 図1における合成器16の、図11に示し
た構成例とは別の構成例を示す図である。
FIG. 14 is a diagram illustrating a configuration example of the combiner 16 in FIG. 1 that is different from the configuration example illustrated in FIG. 11;

【図15】 図12における合成回路143の構成例を
示す図である。
15 is a diagram illustrating a configuration example of a synthesis circuit 143 in FIG.

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

12、122 パターン検出器 13 パターン分離器 14、123 解像度変換器 15、124 パターン発生器 16、125 合成器 61 画素値変換回路 62、153、919 マルチプレクサ 71、112、132、141 ラインバッファ 72 多値化・解像度変換回路 73 2値化回路 74 量子化誤差バッファ 111、131、142制御回路 143 合成回路 151 論理積回路 152 論理和回路 201 ブロックバッファ 202〜219 パターン検出回路 901〜918 パターン発生回路 12, 122 pattern detector 13 pattern separator 14, 123 resolution converter 15, 124 pattern generator 16, 125 synthesizer 61 pixel value conversion circuit 62, 153, 919 multiplexer 71, 112, 132, 141 line buffer 72 multi-value Conversion / resolution conversion circuit 73 binarization circuit 74 quantization error buffer 111, 131, 142 control circuit 143 synthesis circuit 151 logical product circuit 152 logical sum circuit 201 block buffer 202-219 pattern detection circuit 901-918 pattern generation circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像データの解像度を変換する解像度変
換手段を備えた画像処理装置において、 前記画像データから、予め定めた特定パターンに適合す
る領域を検出するパターン検出手段と、 前記特定パターンに対応して定められる対応パターンを
発生する対応パターン発生手段と、 前記パターン検出手段により前記領域が検出された場合
に、前記対応パターンと前記解像度変換手段により解像
度変換された画像データとを合成する合成手段とを備え
たことを特徴とする画像処理装置。
1. An image processing apparatus comprising: resolution conversion means for converting the resolution of image data; a pattern detection means for detecting, from the image data, an area that matches a predetermined specific pattern; A corresponding pattern generating means for generating a corresponding pattern determined as follows; and a synthesizing means for synthesizing the corresponding pattern and image data whose resolution has been converted by the resolution converting means when the area is detected by the pattern detecting means. An image processing apparatus comprising:
【請求項2】 前記パターン検出手段により前記領域が
検出された場合に、前記領域内の特定画素を代替画素に
置き換えるパターン分離手段を更に備え、 前記解像度変換手段は、前記パターン分離手段が前記特
定画素を前記代替画素に置き換えた画像データに解像度
変換を施す手段を有することを特徴とする請求項1に記
載の画像処理装置。
2. The image processing apparatus according to claim 1, further comprising: a pattern separating unit that replaces a specific pixel in the region with a substitute pixel when the region is detected by the pattern detecting unit. The image processing apparatus according to claim 1, further comprising a unit configured to perform resolution conversion on image data in which a pixel is replaced with the substitute pixel.
【請求項3】 前記特定パターンは、 2つのしきい値により定められ、かつ、第二のしきい値
は第一のしきい値以下の値に設定されるパターンであ
り、 前記領域内の注目画素の値が前記第一のしきい値よりも
大きい場合には、その注目画素の周辺の画素の値が前記
第一のしきい値よりも小さいパターンであり、 前記注目画素の値が前記第二のしきい値よりも小さい場
合には、前記注目画素の周辺の画素の値が前記第二のし
きい値よりも大きいパターンであることを特徴とする請
求項1又は2に記載の画像処理装置。
3. The pattern in which the specific pattern is determined by two thresholds, and the second threshold is set to a value equal to or less than a first threshold. When the value of the pixel is larger than the first threshold, the value of the pixel around the pixel of interest is a pattern smaller than the first threshold, and the value of the pixel of interest is the 3. The image processing according to claim 1, wherein when the pixel value is smaller than the second threshold value, a value of a pixel around the target pixel is a pattern larger than the second threshold value. 4. apparatus.
【請求項4】 前記特定パターンは、2つのしきい値に
より定められ、かつ、第二のしきい値は第一のしきい値
以下の値に設定されるパターンであり、 前記領域内の注目画素の値が前記第一のしきい値よりも
大きい場合には、その注目画素の周辺の画素の値が1つ
の画素を除いて前記第一のしきい値よりも小さいパター
ンであり、 前記注目画素の値が前記第二のしきい値よりも小さい場
合には、前記注目画素の周辺の画素の値が、1つの画素
を除いて前記第二のしきい値よりも大きいパターンであ
ることを特徴とする請求項1又は2に記載の画像処理装
置。
4. The specific pattern is a pattern determined by two thresholds, and a second threshold is set to a value equal to or less than a first threshold. When the value of the pixel is larger than the first threshold value, the pattern of the pixels around the target pixel is smaller than the first threshold value except for one pixel. When the value of the pixel is smaller than the second threshold value, it is determined that the value of the pixel around the target pixel is a pattern larger than the second threshold value except for one pixel. The image processing device according to claim 1 or 2, wherein
JP8211651A 1996-08-09 1996-08-09 Image processor Pending JPH1056561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8211651A JPH1056561A (en) 1996-08-09 1996-08-09 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8211651A JPH1056561A (en) 1996-08-09 1996-08-09 Image processor

Publications (1)

Publication Number Publication Date
JPH1056561A true JPH1056561A (en) 1998-02-24

Family

ID=16609330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8211651A Pending JPH1056561A (en) 1996-08-09 1996-08-09 Image processor

Country Status (1)

Country Link
JP (1) JPH1056561A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016221882A (en) * 2015-06-01 2016-12-28 株式会社リコー Image formation device and image formation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016221882A (en) * 2015-06-01 2016-12-28 株式会社リコー Image formation device and image formation method

Similar Documents

Publication Publication Date Title
US6449060B1 (en) Image processing apparatus and method
US8477324B2 (en) Image processor and image processing method that uses s-shaped gamma curve
US6504949B2 (en) Image processing apparatus and method
US5729663A (en) Method and apparatus for gray screening
US5565994A (en) Multiple separation error diffusion, with cross separation correlation control for color images
US6373990B1 (en) Image processing utilizing luminance-density conversion
US20060256123A1 (en) Generation of attribute pattern image by patterning attribute information
JPH077619A (en) Document processing system
US20100182637A1 (en) Image forming apparatus, control method, and program
JP3088010B2 (en) Line drawing separation method and apparatus
US20090021791A1 (en) Compression of grayscale image data using multi-bit halftoning
US7057764B1 (en) Color image processing apparatus and method, and storage medium
US6141114A (en) Edge enhanced error diffusion with artifact correction in areas of highlights and shadows
US5751929A (en) Image processing apparatus
US6222641B1 (en) Method and apparatus for image descreening
JPH1056561A (en) Image processor
US6249354B1 (en) Image processing apparatus and method
JP2001119575A (en) Image processing unit
US6341019B1 (en) Method and apparatus for processing an image
JP2002158879A (en) Method for compressing/uncompressing image with gradation and compressing/uncompressing device
JP2008092323A (en) Image processing equipment, and image reading apparatus and image forming apparatus equipped with the same
JP3629509B2 (en) Shading processor
JP4437621B2 (en) Region detection apparatus and method
JP2004112604A (en) Image processing apparatus
JP3854414B2 (en) Image processing apparatus and image forming apparatus