JPH0832809A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JPH0832809A
JPH0832809A JP6165555A JP16555594A JPH0832809A JP H0832809 A JPH0832809 A JP H0832809A JP 6165555 A JP6165555 A JP 6165555A JP 16555594 A JP16555594 A JP 16555594A JP H0832809 A JPH0832809 A JP H0832809A
Authority
JP
Japan
Prior art keywords
image
condition
pattern
image data
satisfied
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP6165555A
Other languages
Japanese (ja)
Other versions
JP3810817B2 (en
Inventor
Akihiro Ito
昭博 伊東
Koji Aikawa
幸二 相川
Kenichi Obara
謙一 小原
Kenji Hara
健児 原
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 JP16555594A priority Critical patent/JP3810817B2/en
Publication of JPH0832809A publication Critical patent/JPH0832809A/en
Application granted granted Critical
Publication of JP3810817B2 publication Critical patent/JP3810817B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To apply proper smoothing processing to image data in the case of superimposing a character onto an image part of the image data or the like. CONSTITUTION:An address generating section 10 applies pattern matching to dot patterns around a noted picture element among those of image data of a reference area stored in a shift register 5 based on various pattern conditions. Furthermore, a comparator 8 provides an output of a level 1 when the reference area satisfies the image condition. In this case, when the dot pattern satisfies a long pattern condition, smoothing processing is conducted and when the dot pattern satisfies a short pattern condition, no smoothing processing is conducted. Thus, when a character or the like (satisfying the long pattern condition) is superimposed on the image data (consecutive short patterns), smoothing processing is applied only to the latter without giving effect on the former.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複写機等に用いて好
適な画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus suitable for use in a copying machine or the like.

【0002】[0002]

【従来の技術】複写機、プリンタ等によって二値画像を
出力する場合、出力装置の解像度が低い場合には、斜線
部などにジャギーが発生し画像品質が劣化するという問
題がある。これに対して、高品質の画像出力を得るべ
く、以下のような各種のスムージング処理技術が提案さ
れている。例えば、特開昭53−41115号公報にお
いては、解像度変換時において、各画素とその周囲の画
素との論理演算により、解像度変換後の小画素の白黒状
態を変換する技術が開示されている。
2. Description of the Related Art When a binary image is output by a copying machine, a printer or the like, if the resolution of the output device is low, jaggies occur in the shaded area and the image quality deteriorates. On the other hand, the following various smoothing processing techniques have been proposed in order to obtain a high quality image output. For example, Japanese Patent Application Laid-Open No. 53-41115 discloses a technique of converting the monochrome state of a small pixel after resolution conversion by a logical operation of each pixel and its surrounding pixels at the time of resolution conversion.

【0003】また、特開平2−112966号公報にお
いては、プリンタの文字発生器から得られたイメージデ
ータと、既知のパターンとの間でパターンマッチングを
行い、スムージングを行う技術が開示されている。例え
ば、「b」という文字を印字する場合を想定すると、
「b」という文字のドットパターンが文字発生器から出
力される。次に、質向上回路において、該ドットパター
ンの各部分と複数の既知のパターンとが照合され、一致
する既知のパターンが存在する場合には、予めスムージ
ング処理の施されたパターンが出力装置に供給される。
Further, Japanese Patent Application Laid-Open No. 2-112966 discloses a technique for performing pattern matching between image data obtained from a character generator of a printer and a known pattern for smoothing. For example, assuming that the character "b" is printed,
The dot pattern of the character "b" is output from the character generator. Next, in the quality improvement circuit, each portion of the dot pattern is collated with a plurality of known patterns, and if there is a known known pattern, the pattern subjected to the smoothing process in advance is supplied to the output device. To be done.

【0004】ところで、このようなスムージング処理を
無条件に施すと、不具合の生じる場合がある。すなわ
ち、画像データに文字部分とイメージ部分(写真等)と
が含まれる場合、イメージ部分にスムージング処理が施
されると、その階調特性が崩れ、画像品質が悪化する。
このため、イメージ部分についてスムージング処理を回
避すべく、以下のような技術が提案されている。
By the way, if such smoothing processing is performed unconditionally, a problem may occur. That is, when the image data includes a character portion and an image portion (such as a photograph), if the image portion is subjected to smoothing processing, the gradation characteristics of the image portion deteriorate, and the image quality deteriorates.
Therefore, the following techniques have been proposed in order to avoid the smoothing process on the image part.

【0005】まず、特開平4−189564号公報にあ
っては、ホストコンピュータから供給されるデータのコ
ードに基づいてイメージ部分のスタート/エンドアドレ
スを記憶し、このアドレスに基づいてスムージング機能
をオン/オフする技術が開示されている。また、特開平
4−268867号公報にあっては、画像データの所定
区間毎に画像の密集度を求め、画像が密集している部分
ではスムージング機能をオフにする技術が開示されてい
る。この技術は、注目画素を中心とする「11×9」ド
ットの参照領域について「16」程度の小領域を定め、
各小領域毎の特徴を検出し、しかる後にその結果を総合
することにより、参照領域の密集度を求めるものであ
る。
First, in Japanese Patent Laid-Open No. 4-189564, the start / end address of the image portion is stored based on the code of the data supplied from the host computer, and the smoothing function is turned on / off based on this address. Techniques for turning off are disclosed. In addition, Japanese Patent Laid-Open No. 268867/1992 discloses a technique in which the density of images is obtained for each predetermined section of image data, and the smoothing function is turned off in a portion where the images are dense. This technique defines a small area of about “16” for a reference area of “11 × 9” dots centered on a pixel of interest,
The density of the reference area is obtained by detecting the characteristics of each small area and then combining the results.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た技術においては、以下のように種々の欠点があった。
まず、スムージング処理の効果の点から検討すると、特
開昭53−41115号公報のものは、画像データを1
画素単位で補正するため、充分な効果が得られないのみ
ならず、不要な補正によって画像品質に悪影響を及ぼす
可能性も多い。また、特開平2−112966号公報の
ものは、プリンタの文字発生器から得られたイメージデ
ータを対象としているため、複写機等に応用することが
困難であった。すなわち、プリンタの文字発生器から得
られるイメージデータはその種類が限定されているが、
複写機等においては画像データの内容が千差万別である
ため、かかる画像データに対して充分なスムージング処
理を施すことが困難であった。
However, the above-mentioned technique has various drawbacks as described below.
First, considering the effect of the smoothing processing, in the case of JP-A-53-41115, the image data is
Since the correction is performed on a pixel-by-pixel basis, not only a sufficient effect cannot be obtained, but also unnecessary correction may adversely affect the image quality. Further, since the one disclosed in Japanese Patent Laid-Open No. 2-112966 is intended for image data obtained from a character generator of a printer, it is difficult to apply it to a copying machine or the like. That is, the type of image data obtained from the character generator of the printer is limited,
In a copying machine or the like, the content of image data varies so much that it is difficult to perform sufficient smoothing processing on the image data.

【0007】次に、画像データのイメージ部分について
スムージング処理を回避する点について検討すると、特
開平4−189564号公報のものはホストコンピュー
タからデータのコードが供給されることを必須としてお
り、そのようなコードが得られない複写機等に適用する
ことは不可能であった。また、特開平4−268867
号公報のものは、画像の密集度が高い部分に文字や線画
等が存在する場合(例えば、写真イメージに文字や線画
が重ね合わされていたり、文字に網かけ等の修飾がなさ
れている場合)に、かかる文字等に対して、スムージン
グ機能がオフにされるという問題があった。この発明は
上述した事情に鑑みてなされたものであり、適切なスム
ージング処理を行う画像処理装置を提供することを目的
としている。
Next, considering the point of avoiding the smoothing process for the image portion of the image data, the one disclosed in Japanese Patent Laid-Open No. 4-189564 requires that the data code be supplied from the host computer. It was impossible to apply it to copiers, etc., where such a code cannot be obtained. In addition, JP-A-4-268867
In the case of the gazette, when characters or line drawings are present in a portion where the image density is high (for example, when characters or line drawings are overlaid on a photographic image, or characters are modified by shading, etc.) In addition, there is a problem that the smoothing function is turned off for such characters. The present invention has been made in view of the above circumstances, and an object thereof is to provide an image processing apparatus that performs appropriate smoothing processing.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
請求項1に係る構成によれば、画像データが、所定長の
画素列の状態を規定する第1のパターン条件と該第1の
パターン条件よりも長い画素列の状態を規定する第2の
パターン条件のうち、何れを満たすかを判定するパター
ン条件判定手段と、前記第1のパターン条件に対応した
スムージング処理の内容を第1の領域に記憶し、前記第
2のパターン条件に対応したスムージング処理の内容を
第2の領域に記憶する記憶手段と、前記第1のパターン
条件が満たされ前記第2のパターン条件が満たされなか
った場合は前記第1の領域に記憶された内容に基づいて
前記画像データにスムージング処理を施す一方、前記第
1のパターン条件と前記第2のパターン条件とが共に満
たされた場合は前記第2の領域に記憶された内容に基づ
いて前記画像データにスムージング処理を施すスムージ
ング手段とを具備することを特徴とする。
In order to solve the above problems, according to the structure of claim 1, the image data has a first pattern condition and a first pattern condition that define a state of a pixel column of a predetermined length. Of the second pattern conditions that define the state of the pixel column longer than the condition, the pattern condition determining means for determining which is satisfied, and the content of the smoothing process corresponding to the first pattern condition are described in the first area. Storage means for storing the content of the smoothing processing corresponding to the second pattern condition in the second area, and the case where the first pattern condition is satisfied and the second pattern condition is not satisfied. Applies smoothing processing to the image data based on the contents stored in the first area, while if both the first pattern condition and the second pattern condition are satisfied, Characterized by comprising a smoothing means for performing smoothing processing on the image data based on the contents stored in the second region.

【0009】また、請求項2に係る構成によれば、画像
データが、所定長の画素列の状態を規定する第1のパタ
ーン条件と該第1のパターン条件よりも長い画素列の状
態を規定する第2のパターン条件のうち、何れを満たす
かを判定するパターン条件判定手段と、前記画像データ
が所定のイメージ画像条件を満たすか否かを判定するイ
メージ画像条件判定手段と、前記第1のパターン条件に
対応したスムージング処理の内容を第1の領域に記憶
し、前記第2のパターン条件に対応したスムージング処
理の内容を第2の領域に記憶する記憶手段と、前記第2
のパターン条件が満たされた場合は前記第2の領域に記
憶された内容に基づいて前記画像データにスムージング
処理を施し、前記第1のパターン条件が満たされ前記イ
メージ画像条件と前記第2のパターン条件とが共に満た
されなかった場合は前記第1の領域に記憶された内容に
基づいて前記画像データにスムージング処理を施す一
方、前記第1のパターン条件と前記イメージ画像条件と
が共に満たされ前記第2のパターン条件が満たされなか
った場合はスムージング処理を禁止するスムージング手
段とを具備することを特徴とする。
According to the second aspect of the invention, the image data defines the first pattern condition that defines the state of the pixel column of a predetermined length and the state of the pixel column that is longer than the first pattern condition. Pattern condition determining means for determining which of the second pattern conditions is satisfied, image image condition determining means for determining whether the image data satisfies a predetermined image image condition, and the first image condition determining means. Storage means for storing the content of the smoothing processing corresponding to the pattern condition in the first area and storing the content of the smoothing processing corresponding to the second pattern condition in the second area;
If the pattern condition is satisfied, the image data is subjected to smoothing processing based on the contents stored in the second area, and the first pattern condition is satisfied, and the image image condition and the second pattern are satisfied. If both conditions are not satisfied, smoothing processing is performed on the image data based on the content stored in the first area, while both the first pattern condition and the image image condition are satisfied. And a smoothing unit that prohibits the smoothing process when the second pattern condition is not satisfied.

【0010】また、請求項3に係る構成によれば、請求
項2記載の画像処理装置において、さらに、前記イメー
ジ画像条件判定手段は、前記画像データの所定領域内に
おいて、主走査方向または副走査方向に沿って隣接する
各画素の内容が相違する回数を出力する相違回数出力手
段と、この回数が所定の閾値以上になると前記イメージ
画像条件が満たされたものと判定する比較手段とを具備
することを特徴とする。
According to a third aspect of the present invention, in the image processing apparatus according to the second aspect, the image image condition determining means further includes a main scanning direction or a sub-scan in a predetermined area of the image data. A difference number output means for outputting the number of times the contents of adjacent pixels along the direction are different, and a comparison means for judging that the image image condition is satisfied when the number of times is equal to or more than a predetermined threshold value. It is characterized by

【0011】また、請求項4に係る構成によれば、請求
項2記載の画像処理装置において、前記画像データは黒
画素と白画素とから構成される二値画像データであり、
前記イメージ画像条件判定手段は、前記画像データの所
定領域内における黒画素数が所定値以上である場合に、
前記イメージ画像条件が満たされたものと判定すること
を特徴とする。
According to a fourth aspect of the present invention, in the image processing apparatus according to the second aspect, the image data is binary image data composed of black pixels and white pixels,
The image image condition determination means, when the number of black pixels in a predetermined area of the image data is a predetermined value or more,
It is characterized in that it is determined that the image condition is satisfied.

【0012】また、請求項5記載の構成によれば、請求
項2記載の画像処理装置において、前記画像データは黒
画素と白画素とから構成される二値画像データであり、
前記イメージ画像条件判定手段は、前記画像データ内に
おいて相隣接する画素間で白・黒状態が相違する回数
と、黒画素数とに基づいて前記イメージ画像条件が満た
されたか否かを判定することを特徴とする。
According to a fifth aspect of the present invention, in the image processing apparatus according to the second aspect, the image data is binary image data composed of black pixels and white pixels,
The image image condition determination means determines whether or not the image image condition is satisfied based on the number of times the white / black states are different between adjacent pixels in the image data and the number of black pixels. Is characterized by.

【0013】[0013]

【作用】請求項1に係る構成によれば、第1のパターン
条件が満たされ第2のパターン条件が満たされなかった
場合は第1の領域に記憶された内容に基づいて画像デー
タにスムージング処理が施される。ここで、第1のパタ
ーン条件における画素列の長さは第2のパターン条件の
ものよりも短いため、画像データの内、比較的多数の箇
所において第1のパターン条件が満たされる。これによ
り、画像データの内、比較的多数の箇所についてスムー
ジング処理が施される。
According to the first aspect of the invention, when the first pattern condition is satisfied and the second pattern condition is not satisfied, the image data is smoothed based on the contents stored in the first area. Is applied. Here, since the length of the pixel row under the first pattern condition is shorter than that under the second pattern condition, the first pattern condition is satisfied in a relatively large number of places in the image data. As a result, the smoothing process is performed on a relatively large number of places in the image data.

【0014】一方、第1のパターン条件と第2のパター
ン条件とが共に満たされた場合は、第2の領域に記憶さ
れた内容に基づいて画像データにスムージング処理が施
されるから、画像データのうち第2のパターン条件が満
たされる箇所においては、画像データの状態に一層適合
したスムージング処理が施される。
On the other hand, when both the first pattern condition and the second pattern condition are satisfied, the image data is subjected to smoothing processing based on the contents stored in the second area. In the area where the second pattern condition is satisfied, smoothing processing more suited to the state of the image data is performed.

【0015】また、請求項2ないし5に係る構成によれ
ば、イメージ画像条件が満たされた場合には、第1のパ
ターン条件に基づくスムージング処理が禁止されるか
ら、イメージ画像の階調特性を損なうことなくスムージ
ング処理を行うことができる。かかる場合においても、
第2のパターン条件に基づくスムージング処理は実行さ
れるから、イメージの上に重ねられた文字等、長いパタ
ーン条件を満たす箇所については、スムージング処理を
行うことが可能になる。
According to the second to fifth aspects, when the image image condition is satisfied, the smoothing process based on the first pattern condition is prohibited. Smoothing processing can be performed without loss. Even in such a case,
Since the smoothing process based on the second pattern condition is executed, it is possible to perform the smoothing process on a portion such as a character overlaid on the image that satisfies the long pattern condition.

【0016】[0016]

【実施例】A.実施例の原理 A−1.スムージング処理 まず、スムージング処理の内容を図2を参照し説明す
る。同図(a)はスムージング処理が施される前の画像デ
ータであり、格子の各升目が一画素の単位になってい
る。以下、各画素の位置は、主走査方向の座標(a,
b,c,・・・・)と副走査方向の座標(1,2,3,・・・
・)によって、例えば「b3」のように表現する。ま
た、「黒」という文字が書かれた画素は全黒画素であ
り、何も書かれていない画素は全白画素である。図2
(a)においては、全ての画素は全黒または全白である。
EXAMPLES A. Example Principle A-1. Smoothing Process First, the contents of the smoothing process will be described with reference to FIG. FIG. 7A shows image data before the smoothing process is performed, and each grid of the grid is a unit of one pixel. Hereinafter, the position of each pixel is the coordinate (a,
b), c, ...) And the coordinates (1, 2, 3, ...) In the sub-scanning direction.
・), For example, "b3". Pixels in which the character "black" is written are all black pixels, and pixels in which nothing is written are all white pixels. Figure 2
In (a), all pixels are all black or all white.

【0017】次に、図2(a)の画素にスムージング処理
を施した後の画像データを同図(b)に示す。この図にお
いて、一部が黒色の画素(以下、中間画素という)は、
黒色の部分をハッチングによって表示する。同図(a),
(b)を比較すると、例えば同図(a)の座標c4〜c7の
全黒画素と座標c8〜c11の全白画素とは、同図(b)
においては中間画素に変換されている。これら中間画素
の黒色部分の面積は、副走査方向に下にいくほど小とな
っている。また、その他のエッジ部分の画素も同様に変
換されている。
Next, FIG. 2B shows the image data after smoothing the pixels of FIG. 2A. In this figure, some black pixels (hereinafter referred to as intermediate pixels) are
The black part is displayed by hatching. The same figure (a),
When (b) is compared, for example, all black pixels at coordinates c4 to c7 and all white pixels at coordinates c8 to c11 in FIG.
Is converted into an intermediate pixel. The area of the black portion of these intermediate pixels becomes smaller as it goes downward in the sub-scanning direction. In addition, the pixels of the other edge portions are similarly converted.

【0018】ところで、同図(a)の左端のエッジ部の全
黒画素に着目すると、副走査方向に全黒画素が8回連続
した後、主走査方向に1回シフトするようなパターンが
続いている。一方、同図(b)によれば、例えば座標c4
〜c11の各中間画素の黒色部分の面積は、副走査方向
に向かうに従って一画素の約「1/8」づつ減少してい
る。このように、周囲の画素との関係に基づいて各中間
画素における黒色部分の面積を決定しなければ、適切な
スムージングを施すことができない。
By the way, paying attention to all black pixels at the left edge portion of FIG. 3A, a pattern in which all black pixels are continuous eight times in the sub-scanning direction and then shifted once in the main scanning direction. ing. On the other hand, according to FIG.
The area of the black portion of each intermediate pixel of c11 to c11 decreases by about “1/8” of one pixel as it goes in the sub-scanning direction. As described above, appropriate smoothing cannot be performed unless the area of the black portion in each intermediate pixel is determined based on the relationship with the surrounding pixels.

【0019】このため、本実施例にあっては、まず画像
データの中から処理対象となる画素(以下、注目画素と
いう)を中心として、主走査方向に「17」画素、副走
査方向に「9」画素の領域(以下、参照領域という)が
抽出される。そして、この参照領域のドットパターン
が、複数のパターン条件の何れかに合致するか否かが判
定され、合致する場合には、黒色部分の面積は該パター
ン条件に対応する値に設定される。
For this reason, in the present embodiment, first, "17" pixels in the main scanning direction and "17" pixels in the sub scanning direction are centered on the pixel to be processed (hereinafter referred to as the target pixel) in the image data. An area of 9 "pixels (hereinafter referred to as a reference area) is extracted. Then, it is determined whether or not the dot pattern of the reference area matches any of the plurality of pattern conditions, and if they match, the area of the black portion is set to a value corresponding to the pattern condition.

【0020】ここで、図3(a)にパターン条件の一例を
示す。この条件は、注目画素の座標「i5」に対して、
参照領域内の座標「a5〜i5,i4,j4」が白画素
であって、座標「a6〜i6,j5」が黒画素である場
合に満たされる。この条件に対して、黒色部分の面積比
率Lは「46.0%」になるように設定されており、座
標「i5」の注目画素が出力された結果は同図(b)に示
すようになる。なお、参照領域内の他の画素について
は、各画素がそれぞれ注目画素になった場合に同様の処
理が行われる。図4(a)〜(f)に各種のパターン条件の
例と、対応する黒色面積比率Lを示す。なお、これらの
図において、省略されている部分は全て「処理に関係の
無い画素(−)」である。
Here, FIG. 3A shows an example of the pattern condition. This condition is that for the coordinate "i5" of the pixel of interest,
This is satisfied when the coordinates “a5 to i5, i4, j4” in the reference area are white pixels and the coordinates “a6 to i6, j5” are black pixels. Under this condition, the area ratio L of the black portion is set to be “46.0%”, and the result of outputting the pixel of interest at the coordinate “i5” is as shown in FIG. Become. The same processing is performed on the other pixels in the reference area when each pixel becomes the target pixel. 4A to 4F show examples of various pattern conditions and the corresponding black area ratio L. In addition, in these figures, all the omitted parts are "pixels (-) unrelated to processing".

【0021】図2(b)の画像データは、図2(a)の画像
データの各画素について、かかるパターンマッチングが
繰り返されることによって得られるものである。ところ
で、参照領域は複数のパターン条件を満たすことがあ
る。例えば、参照領域が図3(a)のパターン条件を満足
するのであれば、図4(d)〜(f)の条件も必ず満たされ
る筈である。かかる場合、本実施例にあっては、「有効
部分(処理に関係の無い画素を除いた部分)の最も長い
パターン条件」のみが満たされたものとみなされる。例
えば、図3(a)のパターン条件の有効部分の長さは「1
0」であり、図4(d)〜(f)のものは各々「9」、
「3」および「4」である。従って、図3(a)の条件が
満たされる限り、黒色面積比率Lは「46.0%」に設
定される。
The image data of FIG. 2B is obtained by repeating such pattern matching for each pixel of the image data of FIG. 2A. By the way, the reference area may satisfy a plurality of pattern conditions. For example, if the reference area satisfies the pattern condition of FIG. 3A, the conditions of FIGS. 4D to 4F should be satisfied. In such a case, in the present embodiment, it is considered that only "the longest pattern condition of the effective portion (the portion excluding the pixels not related to the processing)" is satisfied. For example, the length of the effective part of the pattern condition of FIG.
0 ", and those of FIGS. 4D to 4F are" 9 ",
They are "3" and "4". Therefore, as long as the condition of FIG. 3A is satisfied, the black area ratio L is set to “46.0%”.

【0022】ところで、複写機等で得られる画像データ
はその内容が千差万別であるが、画像データの各部が短
いパターン条件(図4(e),(f)等)を満たす可能性は
高く、これによって複雑な画像データに対してもある程
度のスムージング処理を施すことが可能である。さら
に、同図(d)あるいは図3(a)のように有効部分の長い
パターン条件が同時に満たされた場合には、長いパター
ン条件に基づいてスムージング処理が施されるから、そ
の部分については、一層好適なスムージング処理が行わ
れる。このように、本実施例においては、有効部分の短
いパターン条件を各種設定するとともに、長いパターン
条件をこれに優先して適用するから、複写機等で得られ
る画像データに対しても効果的なスムージング処理を行
うことが可能になる。
By the way, although the contents of image data obtained by a copying machine and the like are various, there is a possibility that each part of the image data satisfies the short pattern condition (FIGS. 4E, 4F, etc.). This is high, and thus smoothing processing can be performed to some extent even on complicated image data. Further, when the long pattern condition of the effective portion is simultaneously satisfied as shown in FIG. 3D or FIG. 3A, smoothing processing is performed based on the long pattern condition. A more suitable smoothing process is performed. As described above, in this embodiment, various pattern conditions for the effective portion are set, and the long pattern condition is prioritized and applied, which is effective for image data obtained by a copying machine or the like. It becomes possible to perform smoothing processing.

【0023】A−2.スムージング処理の制限 上述したように、画像データのイメージ部分についてス
ムージング処理を無条件に施すと、その階調特性が崩れ
画像品質が悪化するような不具合を招くため、スムージ
ング処理を制限する必要がある。本実施例においては、
主走査方向および副走査方向に沿って参照領域内の画素
色が変化する回数がカウントされる。そのカウント結果
が所定値(例えば「90」)以上になった場合に、該参
照領域はイメージ部分であるとみなされる。
A-2. Limitation of smoothing process As described above, if the smoothing process is unconditionally performed on the image portion of the image data, the gradation characteristics are deteriorated and the image quality is deteriorated. Therefore, it is necessary to limit the smoothing process. . In this embodiment,
The number of times the pixel color in the reference area changes along the main scanning direction and the sub scanning direction is counted. When the count result is equal to or larger than a predetermined value (for example, "90"), the reference area is considered to be an image portion.

【0024】イメージ部分であるとみなされた参照領域
は、スムージング処理が一部制限される。すなわち、図
4(a)〜(d)のように有効部分の長いパターン条件が満
たされた場合は注目画素にスムージング処理が施される
が、同図(e),(f)のように短いパターン条件(例えば
有効部分の長さが「4」以下のパターン条件)のみが満
たされた場合は、スムージング処理は施されない。イメ
ージ部分は、短いパターンの繰り返しによって構成され
るため、これによってスムージング処理を回避すること
が可能になる。
The smoothing process is partially limited for the reference area that is considered to be the image portion. That is, when the long pattern condition of the effective portion is satisfied as shown in FIGS. 4A to 4D, the target pixel is subjected to the smoothing process, but as shown in FIGS. 4E and 4F, it is short. When only the pattern condition (for example, the pattern condition in which the length of the effective portion is “4” or less) is satisfied, the smoothing process is not performed. Since the image portion is formed by repeating a short pattern, this makes it possible to avoid the smoothing process.

【0025】一方、イメージ部分に文字や線画が重ねあ
わされている場合、これら文字等を構成する各画素は長
いパターン条件を満たす可能性が高い。長いパターン条
件が満たされると、その画素についてはスムージング処
理が施される。ここに本実施例の特徴があり、写真イメ
ージに文字や線画が重ね合わされていたり、文字に網か
け等の修飾がなされている場合に、写真イメージや網か
け部分の階調特性を崩すことなく、文字や線画にスムー
ジング処理を施すことができるのである。
On the other hand, when a character or a line drawing is superimposed on the image portion, each pixel forming the character or the like is likely to satisfy a long pattern condition. When the long pattern condition is satisfied, the smoothing process is performed on the pixel. Here is the feature of the present embodiment, and when characters or line drawings are superimposed on the photographic image, or when the characters are modified by shading, the gradation characteristics of the photographic image or the shaded part are not destroyed. It is possible to apply smoothing processing to characters and line drawings.

【0026】B.実施例の構成 以下、図1を参照して本実施例の構成を説明する。図に
おいて1は画像入力部であり、イメージスキャナ等によ
って原稿を読取り、画像データを出力する。2は二値画
像変換部であり、この画像データを二値画像データに変
換する。この二値画像データにおいては、黒画素は
“1”、白画素は“0”として表現される。3は画像メ
モリであり、変換された二値画像データを記憶する。4
はアドレス発生部であり、画像メモリ3内の二値画像デ
ータを、主走査方向に「1」画素、副走査方向に「9」
画素の領域を一単位として、主走査方向に沿って順次ア
クセスするアドレス信号を出力する。これによって二値
画像データが画像メモリ3から順次読み出される。
B. Configuration of Embodiment The configuration of this embodiment will be described below with reference to FIG. In the figure, reference numeral 1 is an image input unit, which reads an original by an image scanner or the like and outputs image data. Reference numeral 2 denotes a binary image conversion unit that converts this image data into binary image data. In this binary image data, black pixels are represented as "1" and white pixels are represented as "0". An image memory 3 stores the converted binary image data. Four
Is an address generator, which stores the binary image data in the image memory 3 by "1" pixels in the main scanning direction and "9" in the sub scanning direction.
An address signal for sequentially accessing in the main scanning direction is output with the pixel region as one unit. Thereby, the binary image data is sequentially read from the image memory 3.

【0027】5はシフトレジスタであり、主走査方向に
「17」画素、副走査方向に「9」画素の二値画像デー
タを記憶する。シフトレジスタ5は、画像メモリ3から
一単位の二値画像データを受信すると、主走査方向の一
端に位置する「9」個のレジスタにその内容を記憶する
とともに、他のレジスタの内容を主走査方向に向かって
シフトする。なお、あふれ出たデータは破棄される。こ
れにより、シフトレジスタ5には、参照領域の二値画像
データが記憶される。参照領域の中央の画素、すなわち
注目画素の値は、注目画素データCPXとして出力され
る。
A shift register 5 stores binary image data of "17" pixels in the main scanning direction and "9" pixels in the sub scanning direction. Upon receiving one unit of binary image data from the image memory 3, the shift register 5 stores the contents in "9" registers located at one end in the main scanning direction and the contents of other registers in the main scanning. Shift in the direction. The overflowed data is discarded. As a result, the binary image data of the reference area is stored in the shift register 5. The pixel at the center of the reference area, that is, the value of the target pixel is output as target pixel data CPX.

【0028】次に、6はEOR(排他的論理和)回路群
であり、参照領域内において主走査方向および副走査方
向に相互に隣接する画素データ間の排他的論理和を演算
し出力する、多数のEOR回路から構成されている。7
は加算器であり、各EOR回路の出力信号を加算しその
結果を出力する。一例として、参照領域内で注目画素の
みが黒(“1”)でその他の画素が全て白(“0”)の
場合の加算結果を求める。まず、注目画素は主走査方向
および副走査方向に各二個の画素と隣接する。これらの
画素データと注目画素の画素データを入力信号とする四
個のEOR回路は“1”信号を出力するが、他のEOR
回路は全て“0”信号を出力する。従って、かかる場合
は、加算器7の加算結果は「4」になる。
Next, 6 is an EOR (exclusive OR) circuit group, which calculates and outputs an exclusive OR between pixel data adjacent to each other in the main scanning direction and the sub scanning direction in the reference area. It is composed of many EOR circuits. 7
Is an adder, which adds the output signals of the respective EOR circuits and outputs the result. As an example, the addition result is obtained when only the pixel of interest is black (“1”) and all other pixels are white (“0”) in the reference area. First, the target pixel is adjacent to two pixels in each of the main scanning direction and the sub scanning direction. The four EOR circuits having these pixel data and the pixel data of the target pixel as input signals output "1" signals, but other EOR circuits.
The circuits all output a "0" signal. Therefore, in such a case, the addition result of the adder 7 becomes "4".

【0029】8は比較器であり、加算器7の加算結果
と、レジスタ9に記憶された閾値(例えば「90」)と
を比較し、加算結果が閾値以上であれば“1”になり、
それ以外の場合は“0”になる条件選択信号PSLを出
力する。13はルックアップテーブルであり、全黒画
素、全白画素および各種の中間画素の画像データ(黒色
面積比率と黒色部分の配置位置)を記憶し、アドレス信
号が供給されると対応する画像データを出力する。すな
わち、ルックアップテーブル13から出力される画像デ
ータは、サブピクセル単位(一画素よりも小さい単位)
で白/黒の指定を行うものである。
Reference numeral 8 denotes a comparator, which compares the addition result of the adder 7 with a threshold value (for example, "90") stored in the register 9, and becomes "1" when the addition result is equal to or more than the threshold value.
In other cases, the condition selection signal PSL that becomes "0" is output. A look-up table 13 stores image data of all black pixels, all white pixels, and various intermediate pixels (black area ratio and arrangement position of black portion), and when the address signal is supplied, the corresponding image data is stored. Output. That is, the image data output from the lookup table 13 is in units of sub-pixels (units smaller than one pixel).
Is used to specify white / black.

【0030】14は画像出力部であり、ルックアップテ
ーブル13から供給された画像データに基づいて、画像
をプリントアウトする。その詳細を図5,6を参照し説
明する。図5において、画像出力部14は、ASG(点
灯開始位置制御付きパルス幅変調装置)141と、AS
G141によって点灯タイミングが制御されるレーザダ
イオード142と、レーザダイオード142が発光する
タイミングにおいて用紙を帯電させるとともに帯電位置
にトナーを定着させる電子写真方式画像出力装置143
とから構成されている。ルックアップテーブル13は、
上記画像データ(黒色面積比率と黒色部分の配置位置)
に基づいて、点灯時間信号と点灯位置信号とを画像出力
部14に供給する。
An image output unit 14 prints out an image based on the image data supplied from the look-up table 13. The details will be described with reference to FIGS. In FIG. 5, the image output unit 14 includes an ASG (pulse width modulation device with lighting start position control) 141 and an AS.
A laser diode 142 whose lighting timing is controlled by G141, and an electrophotographic image output device 143 that charges a sheet and fixes toner at a charging position at the timing when the laser diode 142 emits light.
It consists of and. The lookup table 13 is
The above image data (black area ratio and black part placement position)
Based on the above, the lighting time signal and the lighting position signal are supplied to the image output unit 14.

【0031】ここで、点灯時間信号は、1画素内におけ
る黒色部分の面積に対応してレーザダイオード142の
点灯時間を指定する信号である。また、点灯位置信号は
「Left」、「Right」または「Center」
なる値をとる3値の信号であり、レーザダイオード14
2の点灯位置、すなわち上記黒色部分の配置位置を指定
する信号である。例えば、点灯時間信号によって黒色部
分の面積が「50%」に指定されたとしても、黒色部分
の配置は、点灯位置信号の値に応じて、図6(a)〜(c)
に示すように設定される。
Here, the lighting time signal is a signal for designating the lighting time of the laser diode 142 corresponding to the area of the black portion in one pixel. The lighting position signal is "Left", "Right", or "Center".
The laser diode 14 is a three-valued signal that takes
2 is a signal for designating the lighting position of 2, that is, the arrangement position of the black portion. For example, even if the area of the black portion is designated as "50%" by the lighting time signal, the arrangement of the black portion is determined depending on the value of the lighting position signal as shown in FIGS.
It is set as shown in.

【0032】10はアドレス発生部であり、シフトレジ
スタ5に記憶された参照領域のドットパターンと各種の
パターン条件(図4参照)とを比較し、満たされたパタ
ーン条件のうち最も有効部分の長いパターン条件(以
下、確定パターン条件という)に基づいて、アドレス信
号ADLを出力する。このアドレス信号ADLはルック
アップテーブル13の読出しアドレスを指定するもので
あり、仮にアドレス信号ADLがそのままルックアップ
テーブル13に供給されると、確定パターン条件に対応
した黒色面積比率Lを有する画像データがルックアップ
テーブル13から出力されることになる。
An address generator 10 compares the dot pattern of the reference area stored in the shift register 5 with various pattern conditions (see FIG. 4) and finds the longest effective part of the satisfied pattern conditions. The address signal ADL is output based on the pattern condition (hereinafter, referred to as a definite pattern condition). The address signal ADL designates the read address of the look-up table 13. If the address signal ADL is directly supplied to the look-up table 13, the image data having the black area ratio L corresponding to the fixed pattern condition is generated. It will be output from the lookup table 13.

【0033】また、アドレス発生部10は、確定パター
ン条件の有効部分の長さに基づいて、長パターンマッチ
信号LMTおよび短パターンマッチ信号SMTを出力す
る。長パターンマッチ信号LMTは、有効部分の長さが
「5」以上の場合に“1”になり、それ以外の場合は
“0”になる信号である。また、短パターンマッチ信号
SMTは、有効部分の長さが「4」以下の場合に“1”
になり、それ以外の場合は“0”になる信号である。こ
こで、参照領域のドットパターンが何れのパターン条件
も満たさない場合は、アドレス信号ADLは出力され
ず、短パターンマッチ信号SMTおよび長パターンマッ
チ信号LMTは“0”になる。
The address generator 10 also outputs a long pattern match signal LMT and a short pattern match signal SMT based on the length of the effective portion of the fixed pattern condition. The long pattern match signal LMT is a signal that becomes "1" when the length of the effective portion is "5" or more, and becomes "0" otherwise. The short pattern match signal SMT is "1" when the length of the effective portion is "4" or less.
The signal is "0" in all other cases. Here, when the dot pattern of the reference area does not satisfy any of the pattern conditions, the address signal ADL is not output, and the short pattern match signal SMT and the long pattern match signal LMT are “0”.

【0034】次に、12はセレクタであり、選択入力端
SEL1〜SEL4において各信号PSL,SMT,L
MT,CPXを受信し、その結果に基づいて、データ入
力端A〜Cに供給されたアドレス信号のうち何れかを選
択し出力端OUTから出力する。ここで、データ入力端
Aには、レジスタ11から、ルックアップテーブル13
の全黒パターンのアドレスが供給されている。また、デ
ータ入力端Bには、同様に全白パターンのアドレスが供
給されている。セレクタ12における選択条件は、下表
1の通りである。
Next, reference numeral 12 is a selector, which selects signals PSL, SMT, L at the selection input terminals SEL1 to SEL4.
MT, CPX are received, and based on the result, any one of the address signals supplied to the data input terminals A to C is selected and output from the output terminal OUT. Here, at the data input terminal A, from the register 11 to the lookup table 13
All black pattern addresses are being supplied. Further, the data input terminal B is similarly supplied with the address of the all-white pattern. The selection conditions in the selector 12 are as shown in Table 1 below.

【0035】[0035]

【表1】 [Table 1]

【0036】C.実施例の動作 次に、本実施例の動作を説明する。まず、画像入力部1
から画像データが入力されると、この画像データが二値
画像変換部2を介して二値画像データに変換され、画像
メモリ3に記憶される。次に、アドレス発生部4によっ
て、画像メモリ3内の一単位(主走査方向に「1」画
素、副走査方向に「9」画素の領域)の二値画像データ
が順次読出されると、その内容がシフトされつつシフト
レジスタ5に記憶される。以後の動作は、シフトレジス
タ5に記憶された参照領域の内容に基づいて異なるた
め、場合を分けて説明する。
C. Operation of Embodiment Next, the operation of this embodiment will be described. First, the image input unit 1
When the image data is input from, the image data is converted into binary image data via the binary image conversion unit 2 and stored in the image memory 3. Next, when the address generator 4 sequentially reads out binary image data of one unit (a region of “1” pixels in the main scanning direction and “9” pixels in the sub scanning direction) in the image memory 3, the binary image data is read out. The contents are stored in the shift register 5 while being shifted. Subsequent operations differ depending on the contents of the reference area stored in the shift register 5, and therefore will be described separately.

【0037】C−1.何れのパターン条件も満足されな
い場合 参照領域のドットパターンが何れのパターン条件も満足
しない場合は、短パターンマッチ信号SMTおよび長パ
ターンマッチ信号LMTが共に“0”になる。ここで、
注目画素が黒画素であれば、注目画素データCPXが
“1”になる。この場合、表1(a)によれば、セレクタ
12においてデータ入力端Aが選択され、全黒パターン
のアドレスがルックアップテーブル13に供給される。
一方、注目画素が白画素であれば、注目画素データCP
Xが“0”になる。この場合、表1(b)によれば、デー
タ入力端Bが選択され、全白パターンのアドレスがルッ
クアップテーブル13に供給される。この結果、画像出
力部14に供給される画像データは、注目画素データC
PXに応じた全黒パターンまたは全白パターンであり、
スムージング処理の施されていない画像が出力される。
C-1. Neither pattern condition is satisfied
If the dot pattern in the reference area does not satisfy any of the pattern conditions, both the short pattern match signal SMT and the long pattern match signal LMT become “0”. here,
If the pixel of interest is a black pixel, the pixel of interest data CPX becomes "1". In this case, according to Table 1 (a), the data input terminal A is selected by the selector 12, and the address of the all black pattern is supplied to the lookup table 13.
On the other hand, if the target pixel is a white pixel, the target pixel data CP
X becomes "0". In this case, according to Table 1 (b), the data input terminal B is selected and the address of the all-white pattern is supplied to the lookup table 13. As a result, the image data supplied to the image output unit 14 is the target pixel data C.
All black pattern or all white pattern according to PX,
An image that has not been smoothed is output.

【0038】C−2.長いパターン条件が満足された場
有効部分の長さが「5」以上の確定パターン条件が満足
された場合、長パターンマッチ信号LMTが“1”に設
定される。表1(e)によれば、かかる場合は他の信号の
値にかかわらずデータ入力端Cが選択される。この結
果、アドレス信号ADLがセレクタ12を介してルック
アップテーブル13に供給され、ルックアップテーブル
13から中間画素に係る画像データが出力される。すな
わち、スムージング処理の施された画像データが画像出
力部14から出力される。
C-2. When long pattern conditions are satisfied
When the defined pattern condition that the length of the combined effective portion is "5" or more is satisfied, the long pattern match signal LMT is set to "1". According to Table 1 (e), in such a case, the data input terminal C is selected regardless of the values of other signals. As a result, the address signal ADL is supplied to the look-up table 13 via the selector 12, and the look-up table 13 outputs the image data relating to the intermediate pixel. That is, the image data subjected to the smoothing process is output from the image output unit 14.

【0039】C−3.短いパターン条件が満足された場
有効部分の長さが「4」以下の確定パターン条件が満足
された場合、短パターンマッチ信号SMTが“1”に設
定される。ここで、参照領域の白/黒の変化数が閾値以
上であれば、条件選択信号PSLが“1”になる。かか
る場合、表1(c),(d)によれば、注目画素データCP
Xに応じてデータ入力端A,Bの何れかが選択される。
すなわち、参照領域のドットパターンが何れのパターン
条件も満足しない場合と同様に、スムージング処理の施
されていない画像が画像出力部14から出力される。
C-3. When the short pattern condition is satisfied
When the fixed pattern condition that the length of the combined effective portion is "4" or less is satisfied, the short pattern match signal SMT is set to "1". Here, if the number of white / black changes in the reference area is greater than or equal to the threshold value, the condition selection signal PSL becomes "1". In this case, according to Tables 1 (c) and 1 (d), the target pixel data CP
Either of the data input terminals A and B is selected according to X.
That is, as in the case where the dot pattern of the reference region does not satisfy any of the pattern conditions, the image output unit 14 outputs an image that has not been subjected to smoothing processing.

【0040】一方、参照領域の白/黒の変化数が閾値未
満であれば、条件選択信号PSLが“0”になる。かか
る場合、表1(f)によれば、セレクタ12においてデー
タ入力端Cが選択される。すなわち、長いパターン条件
が満足された場合と同様に、スムージング処理の施され
た画像データが画像出力部14から出力される。
On the other hand, if the number of white / black changes in the reference area is less than the threshold value, the condition selection signal PSL becomes "0". In such a case, according to Table 1 (f), the data input terminal C is selected by the selector 12. That is, as in the case where the long pattern condition is satisfied, the image data subjected to the smoothing process is output from the image output unit 14.

【0041】以上説明した各動作のうち何れが実行され
るかは、シフトレジスタ5内の参照領域の内容に基づい
て決定される。すなわち、画像メモリ3から新たな二値
画像データが読出されシフトレジスタ5の内容が更新さ
れる毎に、これに応じてセレクタ12の選択状態が変更
される。従って、画像メモリ3にイメージデータが記憶
され、しかもそのイメージデータに文字や線画が重なっ
ている場合は、条件選択信号PSLが“1”に固定され
たまま、短パターンマッチ信号SMTまたは長パターン
マッチ信号LMTの値が変動することになる。
Which of the operations described above is executed is determined based on the contents of the reference area in the shift register 5. That is, each time new binary image data is read from the image memory 3 and the contents of the shift register 5 are updated, the selection state of the selector 12 is changed accordingly. Therefore, when image data is stored in the image memory 3 and a character or a line drawing overlaps the image data, the short pattern match signal SMT or the long pattern match is kept while the condition selection signal PSL is fixed at "1". The value of the signal LMT will change.

【0042】すなわち、注目画素がイメージの背景部分
に位置する場合は短パターンマッチ信号SMTが“1”
になり、スムージング処理の施されていない画像データ
が出力される一方、注目画素がイメージ上の文字や線画
上に位置する場合は、長パターンマッチ信号LMTが
“1”になり、かかる文字等にスムージング処理が施さ
れる。
That is, when the pixel of interest is located in the background portion of the image, the short pattern match signal SMT is "1".
Then, while the image data that has not been subjected to the smoothing process is output, when the pixel of interest is located on a character or line drawing on the image, the long pattern match signal LMT becomes “1”, and Smoothing processing is performed.

【0043】このように、本実施例によれば、条件選択
信号PSLが“1”に固定された場合には、短パターン
マッチ信号SMTおよび長パターンマッチ信号LMTの
状態に応じてセレクタ12の選択状態が変更されるか
ら、イメージの背景部分に対するスムージング処理を回
避しつつ、該イメージに重ねられた文字や線画にスムー
ジング処理を施すことが可能である。
As described above, according to this embodiment, when the condition selection signal PSL is fixed at "1", the selection of the selector 12 is made according to the states of the short pattern match signal SMT and the long pattern match signal LMT. Since the state is changed, it is possible to perform the smoothing process on the character or line drawing superimposed on the image while avoiding the smoothing process on the background portion of the image.

【0044】また、画像入力部1から出力される多値画
像データを二値画像変換部2を介して二値画像データに
変換する際に、二値画像データにノッチの生ずる場合も
あるが、本実施例によってスムージング処理を施すこと
により、ノッチを目立たないようにすることも可能にな
る。
When multivalued image data output from the image input section 1 is converted into binary image data via the binary image conversion section 2, notches may occur in the binary image data. By performing the smoothing process according to the present embodiment, it becomes possible to make the notches inconspicuous.

【0045】D.変形例 なお、本発明は上述した実施例に限定されるものではな
く、例えば以下説明するように種々の変形が可能であ
る。
D. Modifications The present invention is not limited to the embodiments described above, and various modifications can be made, for example, as described below.

【0046】D−1.変形例1 上記実施例においては、イメージ画像条件は、参照領域
内の画素色の変化する回数が所定値以上であるか否かに
基づいて判定されたが、イメージ画像条件は実施例以外
のものを用いてもよい。その一例を図7,8を参照し説
明する。図7は変形例1による画像処理装置のブロック
図であり、図1におけるEOR回路群6、加算器7、比
較器8およびレジスタ9,11に代えて条件判定回路1
5が設けられている。ここで、条件判定回路15の詳細
を図8に示す。図8において151は黒画素計数回路で
あり、参照領域内の黒画素数BKをカウントし出力す
る。また、152は画素変化点計数回路であり、上記実
施例におけるEOR回路群6および加算器7と同様に構
成され、主走査方向または副走査方向に沿って隣接する
各画素の内容が相違する回数(以下、画素変化点数CH
という)を出力する。
D-1. Modification 1 In the above embodiment, the image image condition is determined based on whether or not the number of times the pixel color in the reference area changes is equal to or more than a predetermined value, but the image image condition is other than that in the embodiment. May be used. An example thereof will be described with reference to FIGS. FIG. 7 is a block diagram of an image processing apparatus according to the first modification, in which the EOR circuit group 6, the adder 7, the comparator 8 and the registers 9 and 11 in FIG.
5 are provided. Details of the condition determination circuit 15 are shown in FIG. In FIG. 8, reference numeral 151 denotes a black pixel counting circuit, which counts and outputs the number BK of black pixels in the reference area. Further, reference numeral 152 denotes a pixel change point counting circuit, which has the same configuration as the EOR circuit group 6 and the adder 7 in the above-described embodiment, and is the number of times the contents of adjacent pixels in the main scanning direction or the sub scanning direction differ. (Hereinafter, the pixel change point CH
Is output).

【0047】157はイメージ画像判定ブロックであ
り、以下の条件1〜3が満たされるか否かを判定する。 条件1: CH≧A 条件2: BK≧B 条件3: CH/2+C≧BK 但し、上記条件1〜3において、Aは画素変化点閾値、
Bは黒画素閾値、Cは演算オフセットであり、各々レジ
スタ153〜155に記憶されている。
An image image determination block 157 determines whether or not the following conditions 1 to 3 are satisfied. Condition 1: CH ≧ A Condition 2: BK ≧ B Condition 3: CH / 2 + C ≧ BK However, in the above Conditions 1 to 3, A is a pixel change point threshold,
B is a black pixel threshold value, and C is a calculation offset, which are stored in the registers 153-155, respectively.

【0048】156は条件制御モードレジスタであり、
上記条件1〜3を選択するか否かを各条件毎に記憶し、
その内容を条件セレクト信号として出力する。なお、一
般的には、条件1〜3は全て選択状態にしておくとよ
い。次に、157はイメージ画像判定ブロックであり、
条件1〜3のうち選択されたものが満たされたか否かを
判定する。そして、選択された条件のうち少なくとも一
つの条件が満たされた場合は条件選択信号PSLを
“1”に設定する一方、選択された何れの条件も満たさ
れなかった場合は条件選択信号PSLを“0”に設定す
る。
Reference numeral 156 is a condition control mode register,
Whether or not to select the above conditions 1 to 3 is stored for each condition,
The content is output as a condition select signal. In general, all of the conditions 1 to 3 should be selected. Next, 157 is an image image determination block,
It is determined whether the selected one of the conditions 1 to 3 is satisfied. Then, when at least one of the selected conditions is satisfied, the condition selection signal PSL is set to "1", while when none of the selected conditions is satisfied, the condition selection signal PSL is set to "1". Set to 0 ".

【0049】上記以外の構成は図1のものと同様であ
る。すなわち、本変形例においても、条件選択信号PS
Lが“1”に設定された場合には、短パターンマッチ信
号SMTおよび長パターンマッチ信号LMTの状態に応
じてセレクタ12の選択状態が変更されるから、イメー
ジの背景部分に対するスムージング処理を回避しつつ、
該イメージに重ねられた文字や線画にスムージング処理
を施すことが可能である。
The configuration other than the above is the same as that of FIG. That is, also in this modification, the condition selection signal PS
When L is set to "1", the selection state of the selector 12 is changed according to the states of the short pattern match signal SMT and the long pattern match signal LMT, so smoothing processing for the background portion of the image is avoided. While
It is possible to perform a smoothing process on a character or line drawing superimposed on the image.

【0050】さらに、本変形例においては、複数の条件
に基づいて条件選択信号PSLを設定するから、イメー
ジ画像を一層正確に検出することが可能である。特に、
条件2および条件3は本変形例独自のものである。これ
らの条件は、「イメージ部分においては、参照領域内の
画素数の半分に達するまでは、黒画素数の増加に伴って
画素変化点数は単調増加する一方、黒画素数が参照領域
内の画素数の半分を超えると、黒画素数の増加に伴って
画素変化点数は単調減少する傾向にある」こと、およ
び、「黒画素数が多くなると、文字が現れなくなる傾向
にある」ことに鑑みて設けたものである。
Furthermore, in the present modification, the condition selection signal PSL is set based on a plurality of conditions, so it is possible to detect the image image more accurately. In particular,
The conditions 2 and 3 are unique to this modification. These conditions are as follows: "In the image part, the number of pixel change points increases monotonically with the increase in the number of black pixels until half the number of pixels in the reference region is reached. In consideration of the fact that when the number of pixels exceeds half, the number of pixel change points tends to decrease monotonously with the increase in the number of black pixels. "And" When the number of black pixels increases, the characters tend not to appear. " It is provided.

【0051】D−2.変形例2 上記変形例1においては、条件1〜3の結果に基づいて
条件選択信号PSLを設定したが、一般的に、条件選択
信号PSLは黒画素数BKおよび画素変化点数CHの関
数として設定してもよい。例えば、黒画素数BKをY
軸、画素変化点数CHをX軸とする平面を想定すると、
参照領域における黒画素数BK、画素変化点数CHに基
づいて該平面上の点(BK,CH)が特定される。この
点(BK,CH)が図9(a)、(b)または(c)でハッチ
ングを施した領域に属する場合は条件選択信号PSLを
“0”に設定し、それ以外の場合は条件選択信号PSL
を“1”に設定してもよい。また、予めBK・CH面で
の判定結果を収めたルックアップテーブルを作成してお
き、点(BK,CH)の判定結果をルックアップテーブ
ルを参照することによって求めてもよい。
D-2. Modification 2 In Modification 1, the condition selection signal PSL is set based on the results of the conditions 1 to 3, but generally, the condition selection signal PSL is set as a function of the number of black pixels BK and the number of pixel change points CH. You may. For example, if the number of black pixels BK is Y
Assuming a plane with the axis and the pixel change point CH as the X axis,
The point (BK, CH) on the plane is specified based on the black pixel number BK and the pixel change point CH in the reference area. If this point (BK, CH) belongs to the hatched area in FIG. 9 (a), (b) or (c), the condition selection signal PSL is set to "0", otherwise the condition selection signal PSL is set. Signal PSL
May be set to "1". Alternatively, a lookup table containing the determination results on the BK / CH plane may be created in advance, and the determination result of the point (BK, CH) may be obtained by referring to the lookup table.

【0052】[0052]

【発明の効果】以上説明したように、請求項1に係る構
成によれば、第1のパターン条件を設けることによって
比較的多数の箇所についてスムージング処理を施すこと
ができ、しかも第2のパターン条件を満たす箇所につい
ては画像データの状態に一層適合したスムージング処理
を施すことが可能である。また、請求項2ないし5に係
る構成によれば、イメージ画像条件が満たされた場合に
は、第2のパターン条件に基づくスムージング処理のみ
を実行されるから、イメージの上に重ねられた文字等に
対してスムージング処理を行うことが可能になる。
As described above, according to the first aspect of the invention, by providing the first pattern condition, it is possible to perform the smoothing process on a relatively large number of places, and the second pattern condition can be applied. It is possible to perform smoothing processing more suitable for the state of the image data on the portion satisfying the condition. Further, according to the configurations of claims 2 to 5, when the image image condition is satisfied, only the smoothing process based on the second pattern condition is executed, so that the characters etc. superimposed on the image are It is possible to perform smoothing processing on the.

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

【図1】 一実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of an example.

【図2】 一実施例の動作説明図である。FIG. 2 is a diagram illustrating the operation of the embodiment.

【図3】 一実施例の動作説明図である。FIG. 3 is an operation explanatory diagram of an example.

【図4】 一実施例の動作説明図である。FIG. 4 is a diagram illustrating the operation of the embodiment.

【図5】 画像出力部14のブロック図である。5 is a block diagram of the image output unit 14. FIG.

【図6】 画像出力部14の動作説明図である。FIG. 6 is an operation explanatory diagram of the image output unit 14.

【図7】 変形例1のブロック図である。FIG. 7 is a block diagram of a first modification.

【図8】 条件判定回路15のブロック図である。FIG. 8 is a block diagram of the condition determination circuit 15.

【図9】 変形例2の動作説明図である。FIG. 9 is an operation explanatory diagram of the second modification.

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

10 アドレス発生部(パターン条件判定手段、スムー
ジング手段) 13 ルックアップテーブル(記憶手段) 8 比較器(イメージ画像条件判定手段、比較手段) 7 加算器(イメージ画像条件判定手段、相違回数出力
手段) 6 EOR回路群(イメージ画像条件判定手段、相違回
数出力手段) 12 セレクタ(スムージング手段) 15 条件判定回路(イメージ画像条件判定手段)
10 Address Generation Unit (Pattern Condition Judgment Means, Smoothing Means) 13 Lookup Table (Storage Means) 8 Comparator (Image Image Condition Judgment Means, Comparison Means) 7 Adder (Image Image Condition Judgment Means, Difference Count Output Means) 6 EOR circuit group (image image condition determination means, difference number output means) 12 selector (smoothing means) 15 condition determination circuit (image image condition determination means)

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 5/00 G06F 15/66 405 15/68 350 (72)発明者 原 健児 神奈川県海老名市本郷2274番地 富士ゼロ ックス株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Internal reference number FI Technical indication location G06T 5/00 G06F 15/66 405 15/68 350 (72) Inventor Kenji Hara Hongo, Ebina, Kanagawa Prefecture Address 2274 Fuji Xerox Co., Ltd.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 画像データが、所定長の画素列の状態を
規定する第1のパターン条件と該第1のパターン条件よ
りも長い画素列の状態を規定する第2のパターン条件の
うち、何れを満たすかを判定するパターン条件判定手段
と、 前記第1のパターン条件に対応したスムージング処理の
内容を第1の領域に記憶し、前記第2のパターン条件に
対応したスムージング処理の内容を第2の領域に記憶す
る記憶手段と、 前記第1のパターン条件が満たされ前記第2のパターン
条件が満たされなかった場合は前記第1の領域に記憶さ
れた内容に基づいて前記画像データにスムージング処理
を施す一方、前記第1のパターン条件と前記第2のパタ
ーン条件とが共に満たされた場合は前記第2の領域に記
憶された内容に基づいて前記画像データにスムージング
処理を施すスムージング手段とを具備することを特徴と
する画像処理装置。
1. A first pattern condition for prescribing a state of a pixel column having a predetermined length, or a second pattern condition prescribing a state of a pixel column longer than the first pattern condition. Pattern condition determining means for determining whether or not the condition is satisfied, content of the smoothing process corresponding to the first pattern condition is stored in the first area, and content of the smoothing process corresponding to the second pattern condition is stored in the second region. Storage means for storing in the area, and smoothing processing on the image data based on the content stored in the first area when the first pattern condition is satisfied and the second pattern condition is not satisfied. On the other hand, when both the first pattern condition and the second pattern condition are satisfied, the image data is smoothed based on the contents stored in the second area. The image processing apparatus characterized by comprising a smoothing means for performing processing.
【請求項2】 画像データが、所定長の画素列の状態を
規定する第1のパターン条件と該第1のパターン条件よ
りも長い画素列の状態を規定する第2のパターン条件の
うち、何れを満たすかを判定するパターン条件判定手段
と、 前記画像データが所定のイメージ画像条件を満たすか否
かを判定するイメージ画像条件判定手段と、 前記第1のパターン条件に対応したスムージング処理の
内容を第1の領域に記憶し、前記第2のパターン条件に
対応したスムージング処理の内容を第2の領域に記憶す
る記憶手段と、 前記第2のパターン条件が満たされた場合は前記第2の
領域に記憶された内容に基づいて前記画像データにスム
ージング処理を施し、前記第1のパターン条件が満たさ
れ前記イメージ画像条件と前記第2のパターン条件とが
共に満たされなかった場合は前記第1の領域に記憶され
た内容に基づいて前記画像データにスムージング処理を
施す一方、前記第1のパターン条件と前記イメージ画像
条件とが共に満たされ前記第2のパターン条件が満たさ
れなかった場合はスムージング処理を禁止するスムージ
ング手段とを具備することを特徴とする画像処理装置。
2. The image data is selected from a first pattern condition that defines a state of a pixel column having a predetermined length and a second pattern condition that defines a state of a pixel column longer than the first pattern condition. Pattern condition determining means for determining whether the image data satisfies a predetermined image image condition, image image condition determining means for determining whether or not the image data satisfies a predetermined image image condition, and contents of smoothing processing corresponding to the first pattern condition. Storage means for storing the contents of the smoothing processing corresponding to the second pattern condition in the second region, and the second region if the second pattern condition is satisfied. Smoothing processing is performed on the image data based on the content stored in the image data, the first pattern condition is satisfied, and the image image condition and the second pattern condition are both satisfied. If not, the image data is smoothed based on the contents stored in the first area, while the first pattern condition and the image image condition are both satisfied and the second pattern condition is satisfied. An image processing apparatus comprising: a smoothing unit that prohibits the smoothing process when the above condition is not satisfied.
【請求項3】 前記イメージ画像条件判定手段は、 前記画像データの所定領域内において、主走査方向また
は副走査方向に沿って隣接する各画素の内容が相違する
回数を出力する相違回数出力手段と、 この回数が所定の閾値以上になると前記イメージ画像条
件が満たされたものと判定する比較手段とを具備するこ
とを特徴とする請求項2記載の画像処理装置。
3. The image image condition determination means, and a difference number output means for outputting the number of times that the content of each pixel adjacent to each other in the main scanning direction or the sub scanning direction is different within a predetermined area of the image data. 3. The image processing apparatus according to claim 2, further comprising a comparing unit that determines that the image image condition is satisfied when the number of times exceeds a predetermined threshold value.
【請求項4】 前記画像データは黒画素と白画素とから
構成される二値画像データであり、 前記イメージ画像条件判定手段は、前記画像データの所
定領域内における黒画素数が所定値以上である場合に、
前記イメージ画像条件が満たされたものと判定すること
を特徴とする請求項2記載の画像処理装置。
4. The image data is binary image data composed of black pixels and white pixels, and the image image condition determining means determines that the number of black pixels in a predetermined area of the image data is a predetermined value or more. In some cases,
The image processing apparatus according to claim 2, wherein it is determined that the image image condition is satisfied.
【請求項5】 前記画像データは黒画素と白画素とから
構成される二値画像データであり、 前記イメージ画像条件判定手段は、前記画像データ内に
おいて相隣接する画素間で白・黒状態が相違する回数
と、黒画素数とに基づいて前記イメージ画像条件が満た
されたか否かを判定することを特徴とする請求項2記載
の画像処理装置。
5. The image data is binary image data composed of black pixels and white pixels, and the image / image condition determining means determines whether a white / black state is present between adjacent pixels in the image data. The image processing apparatus according to claim 2, wherein it is determined whether the image image condition is satisfied based on the number of times of difference and the number of black pixels.
JP16555594A 1994-07-18 1994-07-18 Image processing device Expired - Fee Related JP3810817B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16555594A JP3810817B2 (en) 1994-07-18 1994-07-18 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16555594A JP3810817B2 (en) 1994-07-18 1994-07-18 Image processing device

Publications (2)

Publication Number Publication Date
JPH0832809A true JPH0832809A (en) 1996-02-02
JP3810817B2 JP3810817B2 (en) 2006-08-16

Family

ID=15814595

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16555594A Expired - Fee Related JP3810817B2 (en) 1994-07-18 1994-07-18 Image processing device

Country Status (1)

Country Link
JP (1) JP3810817B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09216413A (en) * 1996-02-15 1997-08-19 Nec Corp Printer
JPH106559A (en) * 1996-06-26 1998-01-13 Nec Niigata Ltd Led printer
US7711202B2 (en) 2003-07-23 2010-05-04 Marvell International Technology Ltd. Image enhancement employing partial template matching

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09216413A (en) * 1996-02-15 1997-08-19 Nec Corp Printer
JPH106559A (en) * 1996-06-26 1998-01-13 Nec Niigata Ltd Led printer
US7711202B2 (en) 2003-07-23 2010-05-04 Marvell International Technology Ltd. Image enhancement employing partial template matching

Also Published As

Publication number Publication date
JP3810817B2 (en) 2006-08-16

Similar Documents

Publication Publication Date Title
US6377711B1 (en) Methods and systems for detecting the edges of objects in raster images using diagonal edge detection
US6266153B1 (en) Image forming device having a reduced toner consumption mode
JPH10334228A (en) Method for improving resolution of raster image
EP0506379A2 (en) Image processing apparatus and method
JP4386216B2 (en) Color printing system and control method thereof
JP3384115B2 (en) Image processing device
JP4140519B2 (en) Image processing apparatus, program, and recording medium
JPH0879516A (en) Image processor
JP3810817B2 (en) Image processing device
JPH08298598A (en) Image processor and image processing method
JP4050382B2 (en) Multi-value image smoothing apparatus and image forming apparatus
JPH10145601A (en) Image processing unit
JP3796985B2 (en) Image processing apparatus, image processing method, and storage medium
JP4492090B2 (en) Image forming apparatus and image forming method
JP2812401B2 (en) Image processing device
JP6867609B2 (en) Image processing equipment and computer programs
JP3229141B2 (en) Halftone area determination device
JP2002103683A (en) Apparatus and method for forming image as well as storage medium
JP3582245B2 (en) Image forming device
JPH08214156A (en) Image processing unit
JP4124900B2 (en) Color printer and control method thereof
JP2557479B2 (en) Color image processor
JP5205364B2 (en) Image forming apparatus and image forming method
JPH06152960A (en) Picture processor
JPH08298597A (en) Image processor and method therefor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040413

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040614

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040617

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040917

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060525

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100602

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110602

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110602

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120602

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130602

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140602

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees