JP2002152511A - Image processor, image processing method and computer readable medium recording program for executing that method in computer - Google Patents

Image processor, image processing method and computer readable medium recording program for executing that method in computer

Info

Publication number
JP2002152511A
JP2002152511A JP2000339596A JP2000339596A JP2002152511A JP 2002152511 A JP2002152511 A JP 2002152511A JP 2000339596 A JP2000339596 A JP 2000339596A JP 2000339596 A JP2000339596 A JP 2000339596A JP 2002152511 A JP2002152511 A JP 2002152511A
Authority
JP
Japan
Prior art keywords
pixel
pattern
value
image
gradation
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
JP2000339596A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kawamoto
啓之 川本
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000339596A priority Critical patent/JP2002152511A/en
Publication of JP2002152511A publication Critical patent/JP2002152511A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To control the operation such that an edge having a level difference is made smoother and longitudinal, lateral or oblique line has a uniform line width when a document is read out with a scanner, a digital image signal thus obtained is subjected to image processing and an image is reproduced on a transfer sheet by means of a printer. SOLUTION: A decision is made whether an interested pixel is included in a halftone part or not, and if it is not included, a decision is made whether a pattern of 3×3 matrix of 9 pixels including the interested pixel matches a level difference pattern, an oblique line pattern, a longitudinal line pattern or a lateral line pattern, previous prepared as a sample, or not. If it matches any one sample pattern, Ndpi one pixel 1 bit binary gray scale of the interested pixel is converted into gray scale of Ndpi one pixel M gray scale corresponding to the matched sample pattern.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像処理装置およ
び画像処理方法に関し、特にNdpi一画素1ビット2
値の画像データをNdpi一画素M(ただし、M>2)
値の画像データに変換し、画像の段差部や斜め線などに
対して補正処理をおこなうことによって高品位の画像を
再現する技術に関する。ここで、Nの値は、特に限定し
ないが、たとえば400、600または1200などで
ある。
[0001] 1. Field of the Invention [0002] The present invention relates to an image processing apparatus and an image processing method, and more particularly to an Ndpi pixel 1 bit 2 bits.
Value image data is Ndpi one pixel M (where M> 2)
The present invention relates to a technique for reproducing high-quality images by converting the image data into value image data and performing correction processing on steps or diagonal lines of the images. Here, the value of N is not particularly limited, but is, for example, 400, 600, or 1200.

【0002】[0002]

【従来の技術】一般に、スキャナー等により原稿を読み
取り、得られたディジタル画像信号に対して画像処理を
おこない、プリンター等において転写紙に画像を再生す
る装置として、たとえばディジタル複写機やディジタル
複合機などがある。ディジタル複合機は、複写機能の他
にスキャナー機能やプリンター機能やファクシミリ機能
などを併せ持つ装置である。近時、ディジタル複写機や
ディジタル複合機などのプロッターは、コピー動作の場
合でもプリンター動作の場合でも、同一解像度のデータ
を扱うようになってきている。
2. Description of the Related Art In general, as a device for reading an original with a scanner or the like, performing image processing on the obtained digital image signal, and reproducing an image on transfer paper in a printer or the like, for example, a digital copying machine, a digital multifunction machine, etc. There is. A digital multifunction peripheral is a device having a scanner function, a printer function, a facsimile function, and the like in addition to a copying function. In recent years, plotters such as digital copiers and digital multifunction peripherals have come to handle data of the same resolution in both copying and printer operations.

【0003】たとえば特開平10−108009号公開
公報には、入力画像データを2値化または多値化する画
像処理方法が開示されている。この方法は、注目画素の
左右に位置する隣接画素を参照してドット配置を決定す
ることにより、画像に含まれるエッジ部分の再現性を高
めるようにしたものである。
[0003] For example, Japanese Patent Laid-Open Publication No. Hei 10-10809 discloses an image processing method for binarizing or multi-leveling input image data. This method improves the reproducibility of an edge portion included in an image by determining a dot arrangement with reference to adjacent pixels located on the left and right of a target pixel.

【0004】[0004]

【発明が解決しようとする課題】一般に、スキャナー等
により読み取った原稿の画像データから高品位の画像を
再現するためには、段差のあるエッジ部分をより滑らか
にしたり、縦線や横線や斜め線を一様の線幅とすること
などが望まれる。しかしながら、前記公報に開示された
画像処理方法は、たとえば段差部分のスムージングや、
線幅の制御をおこなうものではない。
Generally, in order to reproduce a high-quality image from image data of a document read by a scanner or the like, an edge portion having a step is made smoother, or a vertical line, a horizontal line, or an oblique line is formed. Is desired to have a uniform line width. However, the image processing method disclosed in the above publication, for example, smoothing of the step portion,
It does not control the line width.

【0005】本発明は、上記事情に鑑みてなされたもの
で、段差のあるエッジ部分をより滑らかにしたり、縦線
や横線や斜め線が一様の線幅となるように制御すること
によって高品位の画像を再現することが可能な画像処理
装置を提供することを目的とする。
[0005] The present invention has been made in view of the above circumstances, and has been achieved by smoothing an edge portion having a step or by controlling a vertical line, a horizontal line, and an oblique line to have a uniform line width. It is an object of the present invention to provide an image processing device capable of reproducing a high-quality image.

【0006】また、本発明は、段差のあるエッジ部分を
より滑らかにしたり、縦線や横線や斜め線を一様の線幅
に制御する画像処理方法を提供することを目的とする。
Another object of the present invention is to provide an image processing method for smoothing an edge portion having a step and controlling a vertical line, a horizontal line, and an oblique line to have a uniform line width.

【0007】[0007]

【課題を解決するための手段】上述した課題を解決し、
目的を達成するため、請求項1に記載の発明にかかる画
像処理装置は、一画素1ビット2値の入力画像データを
一画素M値の画像データに変換する装置において、注目
画素および前記注目画素を囲む8個の画素により構成さ
れる3×3マトリクス状画素群のパターンを取得する取
得手段と、3×3マトリクス状画素群に対してあらかじ
め用意された1または2以上のサンプルパターンを格納
した記憶手段と、3×3マトリクス状画素群のパターン
がサンプルパターンと一致するか否かを判定する判定手
段と、前記3×3マトリクス状画素群のパターンが前記
サンプルパターンのうちの特定サンプルパターンと一致
する場合、前記注目画素の階調を前記特定サンプルパタ
ーンに対応する値に変換する変換手段と、を備えたこと
を特徴とする。
Means for Solving the Problems The above-mentioned problems are solved,
In order to achieve the object, an image processing apparatus according to claim 1 is a device for converting input image data of one bit, one bit and two pixels into image data of one pixel, M value, wherein a target pixel and the target pixel are provided. Acquisition means for acquiring a pattern of a 3 × 3 matrix-like pixel group composed of eight pixels surrounding, and one or more sample patterns prepared in advance for the 3 × 3 matrix-like pixel group are stored. Storage means, determining means for determining whether the pattern of the 3 × 3 matrix pixel group matches the sample pattern, and determining whether the pattern of the 3 × 3 matrix pixel group is a specific sample pattern of the sample patterns. And converting means for converting the gradation of the target pixel into a value corresponding to the specific sample pattern when they match.

【0008】この請求項1に記載の発明によれば、一画
素1ビット2値の注目画素の階調は、その注目画素とそ
れを囲む8個の画素よりなる3×3マトリクスのパター
ンが一致するサンプルパターンに応じて、一画素M値の
階調に変換される。
According to the first aspect of the present invention, the 3 × 3 matrix pattern of the target pixel and the eight pixels surrounding the target pixel matches the gradation of the target pixel of one bit per pixel. According to the sample pattern to be converted, the gradation is converted into the gradation of one pixel M value.

【0009】また、請求項2に記載の発明にかかる画像
処理装置は、一画素1ビット2値の入力画像データを一
画素M値の画像データに変換する装置において、注目画
素がハーフトーン部に含まれるか否かを判定するハーフ
トーン判定手段と、前記注目画素がハーフトーン部に含
まれない場合、前記注目画素および前記注目画素を囲む
8個の画素により構成される3×3マトリクス状画素群
のパターンを取得する取得手段と、3×3マトリクス状
画素群に対してあらかじめ用意された1または2以上の
サンプルパターンを格納した記憶手段と、3×3マトリ
クス状画素群のパターンがサンプルパターンと一致する
か否かを判定するパターン判定手段と、前記3×3マト
リクス状画素群のパターンが前記サンプルパターンのう
ちの特定サンプルパターンと一致する場合、前記注目画
素の階調を前記特定サンプルパターンに対応する値に変
換する変換手段と、を備えたことを特徴とする。
According to a second aspect of the present invention, there is provided an image processing apparatus for converting input image data of one bit and one binary value into image data of one pixel M value in a halftone portion. A halftone determining means for determining whether or not the pixel of interest is included, and a 3 × 3 matrix-like pixel including the pixel of interest and eight pixels surrounding the pixel of interest when the pixel of interest is not included in the halftone portion Acquisition means for acquiring a group pattern; storage means for storing one or more sample patterns prepared in advance for a 3 × 3 matrix pixel group; and a pattern of the 3 × 3 matrix pixel group being a sample pattern. Pattern determining means for determining whether or not the pattern matches the pattern of the 3 × 3 matrix pixel group. If it matches the over emissions, characterized by comprising a conversion means for converting the gray level of the pixel of interest to a value corresponding to the specific sample pattern.

【0010】この請求項2に記載の発明によれば、注目
画素がハーフトーン部に含まれない場合、すなわち注目
画素が背景部分またはキャラクタ部分である場合、一画
素1ビット2値の注目画素の階調は、その注目画素とそ
れを囲む8個の画素よりなる3×3マトリクスのパター
ンが一致するサンプルパターンに応じて、一画素M値の
階調に変換される。
According to the second aspect of the present invention, when the target pixel is not included in the halftone portion, that is, when the target pixel is a background portion or a character portion, the 1-bit 1-bit binary pixel of the target pixel is used. The gradation is converted into a gradation of one pixel M value according to a sample pattern in which the pattern of the 3 × 3 matrix composed of the pixel of interest and eight pixels surrounding the pixel of interest matches.

【0011】また、請求項3に記載の発明にかかる画像
処理装置は、請求項1または2に記載の発明において、
前記特定サンプルパターンが画像の段差部に対応するパ
ターンである場合、前記変換手段は前記注目画素の階調
をゼロと最大との間の値に変換することを特徴とする。
According to a third aspect of the present invention, in the image processing apparatus according to the first or second aspect,
When the specific sample pattern is a pattern corresponding to a step portion of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and the maximum.

【0012】この請求項3に記載の発明によれば、注目
画素を含む3×3マトリクスのパターンが段差部のサン
プルパターンに一致する場合、一画素1ビット2値の注
目画素の階調は一画素M値の階調において白と黒の間の
階調となるように変換される。
According to the third aspect of the present invention, when the pattern of the 3 × 3 matrix including the target pixel matches the sample pattern of the stepped portion, the gradation of the target pixel of one bit per bit of one pixel is one. The conversion is performed so that the gray level of the pixel M value becomes a gray level between white and black.

【0013】また、請求項4に記載の発明にかかる画像
処理装置は、請求項1または2に記載の発明において、
前記特定サンプルパターンが画像の斜め線に対応するパ
ターンである場合、前記変換手段は前記注目画素の階調
をゼロと最大との間の値に変換することを特徴とする。
According to a fourth aspect of the present invention, in the image processing apparatus according to the first or second aspect,
When the specific sample pattern is a pattern corresponding to an oblique line of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and a maximum.

【0014】この請求項4に記載の発明によれば、注目
画素を含む3×3マトリクスのパターンが斜め線のサン
プルパターンに一致する場合、一画素1ビット2値の注
目画素の階調は一画素M値の階調において白と黒の間の
階調となるように変換される。
According to the fourth aspect of the invention, when the pattern of the 3 × 3 matrix including the target pixel coincides with the sample pattern of the oblique line, the gradation of the target pixel of one bit per pixel is one. The conversion is performed so that the gray level of the pixel M value becomes a gray level between white and black.

【0015】また、請求項5に記載の発明にかかる画像
処理装置は、請求項1または2に記載の発明において、
前記特定サンプルパターンが画像の縦線に対応するパタ
ーンである場合、前記変換手段は前記注目画素の階調を
ゼロと最大との間の値に変換することを特徴とする。
According to a fifth aspect of the present invention, in the image processing apparatus according to the first or second aspect,
When the specific sample pattern is a pattern corresponding to a vertical line of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and a maximum.

【0016】この請求項5に記載の発明によれば、注目
画素を含む3×3マトリクスのパターンが縦線のサンプ
ルパターンに一致する場合、一画素1ビット2値の注目
画素の階調は一画素M値の階調において白と黒の間の階
調となるように変換される。
According to the fifth aspect of the present invention, when the 3 × 3 matrix pattern including the target pixel matches the vertical line sample pattern, the gradation of the target pixel of one bit per pixel is one. The conversion is performed so that the gray level of the pixel M value becomes a gray level between white and black.

【0017】また、請求項6に記載の発明にかかる画像
処理装置は、請求項1または2に記載の発明において、
前記特定サンプルパターンが画像の横線に対応するパタ
ーンである場合、前記変換手段は前記注目画素の階調を
ゼロと最大との間の値に変換することを特徴とする。
According to a sixth aspect of the present invention, in the image processing apparatus according to the first or second aspect,
When the specific sample pattern is a pattern corresponding to a horizontal line of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and a maximum.

【0018】この請求項6に記載の発明によれば、注目
画素を含む3×3マトリクスのパターンが横線のサンプ
ルパターンに一致する場合、一画素1ビット2値の注目
画素の階調は一画素M値の階調において白と黒の間の階
調となるように変換される。
According to the sixth aspect of the invention, when the pattern of the 3 × 3 matrix including the target pixel matches the horizontal line sample pattern, the gradation of the target pixel of one bit per pixel is one pixel. The conversion is performed so that the gradation of the M value becomes a gradation between white and black.

【0019】また、請求項7に記載の発明にかかる画像
処理装置は、請求項1または2に記載の発明において、
前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンと一致しない場合、前記変換手段は、前記注
目画素の一画素M値に対応する階調を元の一画素2値に
おける階調に対応する値とすることを特徴とする。
An image processing apparatus according to a seventh aspect of the present invention is the image processing apparatus according to the first or second aspect,
When the pattern of the 3 × 3 matrix pixel group does not match the sample pattern, the conversion unit corresponds to the gray level corresponding to one pixel M value of the target pixel to the gray level of the original one pixel binary value. It is characterized by a value.

【0020】この請求項7に記載の発明によれば、注目
画素を含む3×3マトリクスのパターンがサンプルパタ
ーンに一致しなければ、一画素1ビット2値の注目画素
の階調は一画素M値の階調においても元と同じ白または
黒に変換される。
According to the seventh aspect of the present invention, if the pattern of the 3 × 3 matrix including the target pixel does not match the sample pattern, the gradation of the target pixel of one bit per pixel is one pixel M The value gradation is also converted to the same white or black as the original.

【0021】また、請求項8に記載の発明にかかる画像
処理装置は、請求項2に記載の発明において、前記注目
画素がハーフトーン部に含まれる場合、前記変換手段
は、前記注目画素の一画素M値に対応する階調を元の一
画素2値における階調に対応する値とすることを特徴と
する。
In the image processing apparatus according to the present invention, when the pixel of interest is included in a halftone portion, the conversion means may include a conversion unit for the pixel of interest. The gradation corresponding to the pixel M value is set to a value corresponding to the gradation in the original binary value of one pixel.

【0022】この請求項8に記載の発明によれば、注目
画素がハーフトーン部に含まれる場合、一画素1ビット
2値の注目画素の階調は一画素M値の階調においても元
と同じ白または黒に変換される。
According to the eighth aspect of the invention, when the target pixel is included in the halftone portion, the gradation of the target pixel of one bit and one binary value is the same as that of the M value of one pixel. Converted to the same white or black.

【0023】また、請求項9に記載の発明にかかる画像
処理装置は、請求項2に記載の発明において、前記ハー
フトーン判定手段は、注目画素として連続して入力され
る白画素の数が、ディザの黒部分どうしの間に存在する
画素数以下である場合、または注目画素として連続して
入力される黒画素の数が、ディザの黒部分を構成する画
素数以下である場合に、前記注目画素群はハーフトーン
部に含まれると判定することを特徴とする。
According to a ninth aspect of the present invention, in the image processing apparatus according to the second aspect, the halftone determining means determines that the number of white pixels continuously input as the pixel of interest is: When the number of pixels existing between the black portions of the dither is less than or equal to, or when the number of black pixels continuously input as the pixel of interest is less than the number of pixels constituting the black portion of the dither, The pixel group is determined to be included in the halftone portion.

【0024】この請求項9に記載の発明によれば、連続
して入力される白画素の数、または連続して入力される
黒画素の数に基づいて、注目画素がディザの白部分また
はディザの黒部分に含まれるのか、あるいはまったく含
まれないのかということが判定される。
According to the ninth aspect of the present invention, based on the number of continuously inputted white pixels or the number of continuously inputted black pixels, the target pixel is a white portion of dither or a dithered portion. It is determined whether or not it is included in the black portion of.

【0025】また、請求項10に記載の発明にかかる画
像処理装置は、請求項1に記載の発明において、前記取
得手段、前記判定手段および前記変換手段はSIMD
(single instruction multi
ple data stream)型のプロセッサーに
より構成されることを特徴とする。
According to a tenth aspect of the present invention, in the image processing apparatus according to the first aspect, the acquisition unit, the determination unit, and the conversion unit are SIMD.
(Single instruction multi
and a ple data stream type processor.

【0026】この請求項10に記載の発明によれば、一
画素1ビット2値から一画素M値への階調変換処理は、
高いパフォーマンスを備えたSIMD型のプロセッサー
よりなるミドルウエアでおこなわれる。
According to the tenth aspect of the present invention, the gradation conversion processing from one bit, one bit binary to one pixel M value is performed by:
It is performed with middleware consisting of a SIMD type processor with high performance.

【0027】また、請求項11に記載の発明にかかる画
像処理装置は、請求項2に記載の発明において、前記ハ
ーフトーン判定手段、前記取得手段、前記パターン判定
手段および前記変換手段はSIMD型のプロセッサーに
より構成されることを特徴とする。
In the image processing apparatus according to the present invention, the halftone determining means, the obtaining means, the pattern determining means, and the converting means may be of an SIMD type. It is characterized by being constituted by a processor.

【0028】この請求項11に記載の発明によれば、一
画素1ビット2値から一画素M値への階調変換処理は、
高いパフォーマンスを備えたSIMD型のプロセッサー
よりなるミドルウエアでおこなわれる。
According to the eleventh aspect of the present invention, the gradation conversion processing from one-bit one-bit binary to one-pixel M-value is performed by:
It is performed with middleware consisting of a SIMD type processor with high performance.

【0029】また、上述した目的を達成するため、請求
項12に記載の発明にかかる画像処理方法は、一画素1
ビット2値の入力画像データを一画素M値の画像データ
に変換するにあたり、注目画素および前記注目画素を囲
む8個の画素により構成される3×3マトリクス状画素
群のパターンが、3×3マトリクス状画素群に対してあ
らかじめ用意された1または2以上のサンプルパターン
と一致するか否かを判定する工程と、前記3×3マトリ
クス状画素群のパターンが前記サンプルパターンのうち
の特定サンプルパターンと一致する場合、前記注目画素
の階調を前記特定サンプルパターンに対応する値に変換
する工程と、を含んだことを特徴とする。
According to another aspect of the present invention, there is provided an image processing method comprising:
In converting the bit binary input image data into one pixel M-value image data, the pattern of a pixel of interest and a 3 × 3 matrix pixel group composed of eight pixels surrounding the pixel of interest is 3 × 3 Determining whether the matrix pixel group matches one or more sample patterns prepared in advance; and determining whether the pattern of the 3 × 3 matrix pixel group is a specific sample pattern of the sample patterns. And converting the tone of the pixel of interest to a value corresponding to the specific sample pattern.

【0030】この請求項12に記載の発明によれば、一
画素1ビット2値の注目画素の階調は、その注目画素と
それを囲む8個の画素よりなる3×3マトリクスのパタ
ーンが一致するサンプルパターンに応じて、一画素M値
の階調に変換される。
According to the twelfth aspect of the present invention, the 3 × 3 matrix pattern of the target pixel and the eight pixels surrounding the target pixel matches the gradation of the target pixel of one bit per pixel. According to the sample pattern to be converted, the gradation is converted into the gradation of one pixel M value.

【0031】また、請求項13に記載の発明にかかる画
像処理方法は、一画素1ビット2値の入力画像データを
一画素M値の画像データに変換するにあたり、注目画素
がハーフトーン部に含まれるか否かを判定する工程と、
前記注目画素がハーフトーン部に含まれない場合、前記
注目画素および前記注目画素を囲む8個の画素により構
成される3×3マトリクス状画素群のパターンが、3×
3マトリクス状画素群に対してあらかじめ用意された1
または2以上のサンプルパターンと一致するか否かを判
定する工程と、前記3×3マトリクス状画素群のパター
ンが前記サンプルパターンのうちの特定サンプルパター
ンと一致する場合、前記注目画素の階調を前記特定サン
プルパターンに対応する値に変換する工程と、を含んだ
ことを特徴とする。
In the image processing method according to the thirteenth aspect, when the input image data of one bit and one binary value is converted into the image data of one pixel M value, the target pixel is included in the halftone portion. Determining whether or not
When the target pixel is not included in the halftone portion, the pattern of the 3 × 3 matrix pixel group including the target pixel and eight pixels surrounding the target pixel is 3 ×
1 prepared in advance for a 3 matrix pixel group
Or a step of determining whether or not the pixel pattern matches two or more sample patterns; and, when the pattern of the 3 × 3 matrix pixel group matches a specific sample pattern among the sample patterns, Converting to a value corresponding to the specific sample pattern.

【0032】この請求項13に記載の発明によれば、注
目画素がハーフトーン部に含まれない場合、すなわち注
目画素が背景部分またはキャラクタ部分である場合、一
画素1ビット2値の注目画素の階調は、その注目画素と
それを囲む8個の画素よりなる3×3マトリクスのパタ
ーンが一致するサンプルパターンに応じて、一画素M値
の階調に変換される。
According to the thirteenth aspect of the present invention, when the target pixel is not included in the halftone portion, that is, when the target pixel is a background portion or a character portion, the 1-bit 1-bit binary target pixel is not included. The gradation is converted into a gradation of one pixel M value according to a sample pattern in which the pattern of the 3 × 3 matrix composed of the pixel of interest and eight pixels surrounding the pixel of interest matches.

【0033】また、請求項14に記載の発明にかかる画
像処理方法は、請求項12または13に記載の発明にお
いて、前記特定サンプルパターンが画像の段差部に対応
するパターンである場合、前記注目画素の階調をゼロと
最大との間の値に変換することを特徴とする。
According to a fourteenth aspect of the present invention, in the image processing method according to the twelfth or thirteenth aspect, when the specific sample pattern is a pattern corresponding to a step of an image, Is converted into a value between zero and the maximum.

【0034】この請求項14に記載の発明によれば、注
目画素を含む3×3マトリクスのパターンが段差部のサ
ンプルパターンに一致する場合、一画素1ビット2値の
注目画素の階調は一画素M値の階調において白と黒の間
の階調となるように変換される。
According to the fourteenth aspect of the present invention, when the 3 × 3 matrix pattern including the target pixel matches the sample pattern of the stepped portion, the gradation of the target pixel of one bit per pixel is one. The conversion is performed so that the gray level of the pixel M value becomes a gray level between white and black.

【0035】また、請求項15に記載の発明にかかる画
像処理方法は、請求項12または13に記載の発明にお
いて、前記特定サンプルパターンが画像の斜め線に対応
するパターンである場合、前記注目画素の階調をゼロと
最大との間の値に変換することを特徴とする。
According to a fifteenth aspect of the present invention, in the image processing method according to the twelfth or thirteenth aspect, when the specific sample pattern is a pattern corresponding to an oblique line of an image, Is converted into a value between zero and the maximum.

【0036】この請求項15に記載の発明によれば、注
目画素を含む3×3マトリクスのパターンが斜め線のサ
ンプルパターンに一致する場合、一画素1ビット2値の
注目画素の階調は一画素M値の階調において白と黒の間
の階調となるように変換される。
According to the fifteenth aspect, when the 3 × 3 matrix pattern including the target pixel matches the sample pattern of the oblique line, the gradation of the target pixel of one bit per pixel is one. The conversion is performed so that the gray level of the pixel M value becomes a gray level between white and black.

【0037】また、請求項16に記載の発明にかかる画
像処理方法は、請求項12または13に記載の発明にお
いて、前記特定サンプルパターンが画像の縦線に対応す
るパターンである場合、前記注目画素の階調をゼロと最
大との間の値に変換することを特徴とする。
In the image processing method according to the present invention, when the specific sample pattern is a pattern corresponding to a vertical line of an image, the target pixel Is converted into a value between zero and the maximum.

【0038】この請求項16に記載の発明によれば、注
目画素を含む3×3マトリクスのパターンが縦線のサン
プルパターンに一致する場合、一画素1ビット2値の注
目画素の階調は一画素M値の階調において白と黒の間の
階調となるように変換される。
According to the sixteenth aspect of the present invention, when the pattern of the 3 × 3 matrix including the target pixel matches the vertical line sample pattern, the gradation of the target pixel of one bit per pixel is one. The conversion is performed so that the gray level of the pixel M value becomes a gray level between white and black.

【0039】また、請求項17に記載の発明にかかる画
像処理方法は、請求項12または13に記載の発明にお
いて、前記特定サンプルパターンが画像の横線に対応す
るパターンである場合、前記注目画素の階調をゼロと最
大との間の値に変換することを特徴とする。
According to a seventeenth aspect of the present invention, in the image processing method according to the twelfth or thirteenth aspect, when the specific sample pattern is a pattern corresponding to a horizontal line of an image, It is characterized in that the gradation is converted into a value between zero and the maximum.

【0040】この請求項17に記載の発明によれば、注
目画素を含む3×3マトリクスのパターンが横線のサン
プルパターンに一致する場合、一画素1ビット2値の注
目画素の階調は一画素M値の階調において白と黒の間の
階調となるように変換される。
According to the seventeenth aspect, when the 3 × 3 matrix pattern including the target pixel matches the horizontal line sample pattern, the gradation of the target pixel of one bit per pixel is one pixel. The conversion is performed so that the gradation of the M value becomes a gradation between white and black.

【0041】また、請求項18に記載の発明にかかる画
像処理方法は、請求項12または13に記載の発明にお
いて、前記3×3マトリクス状画素群のパターンが前記
サンプルパターンと一致しない場合、前記注目画素の一
画素M値に対応する階調を元の一画素2値における階調
に対応する値とする工程をさらに含んだことを特徴とす
る。
Further, in the image processing method according to the present invention, when the pattern of the 3 × 3 matrix pixel group does not match the sample pattern in the invention of the twelfth or thirteenth aspect, The method further includes a step of setting a gradation corresponding to one pixel M value of the target pixel to a value corresponding to the gradation in the original one pixel binary value.

【0042】この請求項18に記載の発明によれば、注
目画素を含む3×3マトリクスのパターンがサンプルパ
ターンに一致しなければ、一画素1ビット2値の注目画
素の階調は一画素M値の階調においても元と同じ白また
は黒に変換される。
According to the eighteenth aspect of the present invention, if the pattern of the 3 × 3 matrix including the target pixel does not match the sample pattern, the gradation of the target pixel of one bit per pixel is one pixel M The value gradation is also converted to the same white or black as the original.

【0043】また、請求項19に記載の発明にかかる画
像処理方法は、請求項13に記載の発明において、前記
注目画素がハーフトーン部に含まれる場合、前記注目画
素の一画素M値に対応する階調を元の一画素2値におけ
る階調に対応する値とする工程をさらに含んだことを特
徴とする。
According to a nineteenth aspect of the present invention, in the image processing method according to the thirteenth aspect, when the target pixel is included in a halftone portion, the target pixel corresponds to one pixel M value of the target pixel. The method further includes a step of setting the gradation to be set to a value corresponding to the gradation in the original binary value of one pixel.

【0044】この請求項19に記載の発明によれば、注
目画素がハーフトーン部に含まれる場合、一画素1ビッ
ト2値の注目画素の階調は一画素M値の階調においても
元と同じ白または黒に変換される。
According to the nineteenth aspect of the present invention, when the target pixel is included in the halftone portion, the gradation of the target pixel having one bit and two bits per pixel is the same as that of the M value of one pixel. Converted to the same white or black.

【0045】また、請求項20に記載の発明にかかる画
像処理方法は、請求項13に記載の発明において、前記
注目画素がハーフトーン部に含まれるか否かを判定する
にあたり、注目画素として連続して入力される白画素の
数が、ディザの黒部分どうしの間に存在する画素数以下
である場合、または注目画素として連続して入力される
黒画素の数が、ディザの黒部分を構成する画素数以下で
ある場合に、前記注目画素群はハーフトーン部に含まれ
ると判定することを特徴とする。
The image processing method according to the twentieth aspect of the present invention is the image processing method according to the thirteenth aspect, wherein in determining whether or not the target pixel is included in a halftone portion, the image processing method determines whether the target pixel is a continuous pixel. If the number of white pixels input as a pixel is equal to or less than the number of pixels existing between the black portions of the dither, or the number of black pixels continuously input as the pixel of interest forms the black portion of the dither When the number of pixels is equal to or less than the number of pixels to be processed, the pixel group of interest is determined to be included in the halftone portion.

【0046】この請求項20に記載の発明によれば、連
続して入力される白画素の数、または連続して入力され
る黒画素の数に基づいて、注目画素がディザの白部分ま
たはディザの黒部分に含まれるのか、あるいはまったく
含まれないのかということが判定される。
According to the twentieth aspect of the present invention, based on the number of continuously input white pixels or the number of continuously input black pixels, the target pixel is a white portion of dither or a dithered portion. It is determined whether or not it is included in the black portion of.

【0047】また、請求項21に記載の発明にかかる記
憶媒体は、請求項12〜20に記載された方法をコンピ
ュータに実行させるプログラムを記録したことで、その
プログラムが機械読み取り可能となり、これによって、
請求項12〜20の動作をコンピュータによって実現す
ることができる。
The storage medium according to the twenty-first aspect of the present invention stores a program for causing a computer to execute the method according to the twelfth to twentieth aspects, so that the program becomes machine-readable. ,
The operations of claims 12 to 20 can be realized by a computer.

【0048】[0048]

【発明の実施の形態】以下に添付図面を参照しながら、
本発明にかかる画像処理装置の好適な実施の形態を詳細
に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
Preferred embodiments of the image processing apparatus according to the present invention will be described in detail.

【0049】図1は、本発明の実施の形態にかかる画像
処理装置の構成を機能的に示すブロック図である。この
画像処理装置は、画像データ制御ユニット100、画像
読取ユニット101、画像メモリー制御ユニット10
2、画像処理ユニット103および画像書込ユニット1
04を備えている。画像読取ユニット101、画像メモ
リー制御ユニット102、画像処理ユニット103およ
び画像書込ユニット104は、画像データ制御ユニット
100に接続されている。
FIG. 1 is a block diagram functionally showing the configuration of the image processing apparatus according to the embodiment of the present invention. The image processing apparatus includes an image data control unit 100, an image reading unit 101, an image memory control unit 10
2. Image processing unit 103 and image writing unit 1
04. The image reading unit 101, the image memory control unit 102, the image processing unit 103, and the image writing unit 104 are connected to the image data control unit 100.

【0050】画像読取ユニット101は、原稿を読み取
って画像データを得るためのユニットである。画像メモ
リー制御ユニット102は、画像データを蓄積するため
の画像メモリーに対して画像データの書き込みまたは読
み出しをおこなうためのユニットである。画像処理ユニ
ット103は、画像データに対して加工や編集等の画像
処理を施すためのユニットである。画像書込ユニット1
04は、画像データを転写紙等に書き込むためのユニッ
トである。
The image reading unit 101 is a unit for reading a document and obtaining image data. The image memory control unit 102 is a unit for writing or reading image data to or from an image memory for storing image data. The image processing unit 103 is a unit for performing image processing such as processing and editing on image data. Image writing unit 1
Reference numeral 04 denotes a unit for writing image data on transfer paper or the like.

【0051】(画像データ制御ユニット100)画像デ
ータ制御ユニット100によりおこなわれる処理とし
て、たとえば、つぎの(1)〜(11)の処理がある。
(Image Data Control Unit 100) The processing performed by the image data control unit 100 includes, for example, the following processing (1) to (11).

【0052】(1)データのバス転送効率を向上させる
ためのデータ圧縮処理(一次圧縮)。 (2)一次圧縮データの画像データへの転送処理。 (3)画像合成処理(複数ユニットからの画像データを
合成することが可能であり、また、データバス上での合
成も含む)。 (4)画像シフト処理(主走査および副走査方向の画像
のシフト)。 (5)画像領域拡張処理(画像領域を周辺へ任意量だけ
拡大することが可能)。 (6)画像変倍処理(たとえば、50%または200%
の固定変倍)。 (7)パラレルバス・インターフェース処理。 (8)シリアルバス・インターフェース処理(後述する
プロセス・コントローラー211とのインターフェー
ス)。 (9)パラレルデータとシリアルデータのフォーマット
変換処理。 (10)画像読取ユニット101とのインターフェース
処理。 (11)画像処理ユニット103とのインターフェース
処理。
(1) Data compression processing (primary compression) for improving the data bus transfer efficiency. (2) Transfer processing of primary compressed data to image data. (3) Image synthesis processing (image data from a plurality of units can be synthesized, and also includes synthesis on a data bus). (4) Image shift processing (shifting of an image in the main scanning and sub-scanning directions). (5) Image area extension processing (the image area can be enlarged to the periphery by an arbitrary amount). (6) Image scaling processing (for example, 50% or 200%
Fixed magnification). (7) Parallel bus interface processing. (8) Serial bus interface processing (interface with a process controller 211 described later). (9) Format conversion processing of parallel data and serial data. (10) Interface processing with the image reading unit 101. (11) Interface processing with the image processing unit 103.

【0053】(画像読取ユニット101)画像読取ユニ
ット101によりおこなわれる処理として、たとえば、
つぎの(1)〜(5)の処理がある。
(Image Reading Unit 101) As the processing performed by the image reading unit 101, for example,
There are the following processes (1) to (5).

【0054】(1)光学系による原稿反射光の読み取り
処理。 (2)受光素子での電気信号への変換処理。 (3)A/D変換器でのディジタル化処理。 (4)シェーディング補正処理(光源の照度分布ムラを
補正する処理)。 (5)スキャナーγ補正処理(読み取り経の濃度特性を
補正する処理)。
(1) Reading process of the original reflected light by the optical system. (2) Conversion into an electric signal in the light receiving element. (3) Digitization processing in the A / D converter. (4) Shading correction processing (processing for correcting illuminance distribution unevenness of the light source). (5) Scanner γ correction processing (processing for correcting the density characteristic of the reading process).

【0055】(画像メモリー制御ユニット102)画像
メモリー制御ユニット102によりおこなわれる処理と
して、たとえば、つぎの(1)〜(10)の処理があ
る。
(Image Memory Control Unit 102) The processing performed by the image memory control unit 102 includes, for example, the following processing (1) to (10).

【0056】(1)システム・コントローラーとのイン
ターフェース制御処理。 (2)パラレルバス制御処理(パラレルバスとのインタ
ーフェース制御処理)。 (3)ネットワーク制御処理。 (4)シリアルバス制御処理(複数の外部シリアルポー
トの制御処理)。 (5)内部バスインターフェース制御処理(操作部との
コマンド制御処理)。 (6)ローカルバス制御処理(システム・コントローラ
ーを起動させるためのROM、RAM、フォントデータ
のアクセス制御処理)。 (7)メモリー・モジュールの動作制御処理(メモリー
・モジュールの書き込み/読み出し制御処理等)。 (8)メモリー・モジュールへのアクセス制御処理(複
数のユニットからのメモリー・アクセス要求の調停をお
こなう処理)。 (9)データの圧縮/伸張処理(メモリー有効活用のた
めのデータ量を削減するための処理)。 (10)画像編集処理(メモリー領域のデータクリア、
画像データの回転処理、メモリー上での画像合成処理
等)。
(1) Interface control processing with the system controller. (2) Parallel bus control processing (interface control processing with the parallel bus). (3) Network control processing. (4) Serial bus control processing (control processing of a plurality of external serial ports). (5) Internal bus interface control processing (command control processing with the operation unit). (6) Local bus control processing (ROM, RAM, font data access control processing for activating the system controller). (7) Memory module operation control processing (memory module write / read control processing, etc.). (8) Processing for controlling access to memory modules (processing for arbitrating memory access requests from a plurality of units). (9) Data compression / expansion processing (processing for reducing the amount of data for effective use of memory). (10) Image editing processing (data clear in memory area,
Image data rotation processing, memory image synthesis processing, etc.).

【0057】(画像処理ユニット103)画像処理ユニ
ット103によりおこなわれる処理として、たとえば、
つぎの(1)〜(14)の処理がある。
(Image processing unit 103) As the processing performed by the image processing unit 103, for example,
There are the following processes (1) to (14).

【0058】(1)シェーディング補正処理(光源の照
度分布ムラを補正する処理)。 (2)スキャナーγ補正処理(読み取り経の濃度特性を
補正する処理)。 (3)MTF補正処理。 (4)平滑処理。 (5)主走査方向の任意変倍処理。 (6)濃度変換(γ変換処理:濃度ノッチに対応)。 (7)単純多値化処理。 (8)単純二値化処理。 (9)誤差拡散処理。 (10)ディザ処理。 (11)ドット配置位相制御処理(右寄りドット、左寄
りドット)。 (12)孤立点除去処理。 (13)像域分離処理(色判定、属性判定、適応処
理)。 (14)密度変換処理。
(1) Shading correction processing (processing for correcting uneven illuminance distribution of the light source). (2) Scanner γ correction processing (processing for correcting the density characteristic of the reading process). (3) MTF correction processing. (4) Smoothing processing. (5) Arbitrary scaling processing in the main scanning direction. (6) Density conversion (γ conversion processing: corresponding to density notch). (7) Simple multi-value processing. (8) Simple binarization processing. (9) Error diffusion processing. (10) Dither processing. (11) Dot arrangement phase control processing (rightward dot, leftward dot). (12) Isolated point removal processing. (13) Image area separation processing (color determination, attribute determination, adaptive processing). (14) Density conversion processing.

【0059】(画像書込ユニット104)画像書込ユニ
ット104によりおこなわれる処理として、たとえば、
つぎの(1)〜(4)の処理がある。
(Image Writing Unit 104) As processing performed by the image writing unit 104, for example,
There are the following processes (1) to (4).

【0060】(1)エッジ平滑処理(ジャギー補正処
理)。 (2)ドット再配置のための補正処理。 (3)画像信号のパルス制御処理。 (4)パラレルデータとシリアルデータのフォーマット
変換処理。
(1) Edge smoothing processing (jaggy correction processing). (2) Correction processing for dot rearrangement. (3) Image signal pulse control processing. (4) Format conversion processing between parallel data and serial data.

【0061】(ディジタル複合機のハードウエア構成)
つぎに、実施の形態にかかる画像処理装置がディジタル
複合機を構成する場合のハードウエア構成について説明
する。図2は、実施の形態にかかる画像処理装置のハー
ドウエア構成の一例を示すブロック図である。
(Hardware Configuration of Digital MFP)
Next, a hardware configuration when the image processing apparatus according to the embodiment forms a digital multifunction peripheral will be described. FIG. 2 is a block diagram illustrating an example of a hardware configuration of the image processing apparatus according to the embodiment.

【0062】実施の形態にかかる画像処理装置は、読取
ユニット201、センサー・ボード・ユニット202、
画像データ制御部203、画像処理プロセッサー20
4、ビデオ・データ制御部205および作像ユニット
(エンジン)206を備えている。また、画像処理装置
は、シリアルバス210、プロセス・コントローラー2
11、RAM212およびROM213を備えている。
The image processing apparatus according to the embodiment includes a reading unit 201, a sensor board unit 202,
Image data control unit 203, image processor 20
4. It has a video data control unit 205 and an imaging unit (engine) 206. The image processing apparatus includes a serial bus 210, a process controller 2
11, a RAM 212 and a ROM 213.

【0063】読取ユニット201、センサー・ボード・
ユニット202、画像データ制御部203、ビデオ・デ
ータ制御部205、作像ユニット(エンジン)206、
プロセス・コントローラー211、RAM212および
ROM213は、シリアルバス210を介して相互に接
続されている。画像処理プロセッサー204は画像デー
タ制御部203およびビデオ・データ制御部205に接
続されている。
The reading unit 201, the sensor board
Unit 202, image data control unit 203, video / data control unit 205, imaging unit (engine) 206,
The process controller 211, the RAM 212, and the ROM 213 are mutually connected via the serial bus 210. The image processor 204 is connected to the image data control unit 203 and the video data control unit 205.

【0064】また、画像処理装置は、パラレルバス22
0、画像メモリー・アクセス制御部221、メモリー・
モジュール222およびファクシミリ制御ユニット22
4を備えている。画像メモリー・アクセス制御部22
1、ファクシミリ制御ユニット224および画像データ
制御部203は、パラレルバス220を介して相互に接
続されている。
Further, the image processing apparatus is provided with a parallel bus 22.
0, image memory access control unit 221, memory
Module 222 and facsimile control unit 22
4 is provided. Image memory access control unit 22
1. The facsimile control unit 224 and the image data control unit 203 are mutually connected via a parallel bus 220.

【0065】メモリー・モジュール222は画像メモリ
ー・アクセス制御部221に接続される。画像メモリー
・アクセス制御部221は外部PC(パーソナル・コン
ピューター)223に接続される。ファクシミリ制御ユ
ニット224は公衆回線(PN)225に接続される。
The memory module 222 is connected to the image memory access control unit 221. The image memory access control unit 221 is connected to an external PC (personal computer) 223. The facsimile control unit 224 is connected to a public line (PN) 225.

【0066】また、画像処理装置はシステム・コントロ
ーラー231、RAM232、ROM233および操作
パネル234を備えている。システム・コントローラー
231、RAM232、ROM233および操作パネル
234は画像メモリー・アクセス制御部221に接続さ
れる。
The image processing device includes a system controller 231, a RAM 232, a ROM 233, and an operation panel 234. The system controller 231, the RAM 232, the ROM 233, and the operation panel 234 are connected to the image memory access control unit 221.

【0067】ここで、図2に示す各構成部201〜20
6,221,222と、図1に示す各ユニット100〜
104との対応関係について説明する。読取ユニット2
01およびセンサー・ボード・ユニット202は画像読
取ユニット101(図1参照)としての機能を有してい
る。また、画像データ制御部203は画像データ制御ユ
ニット100(図1参照)としての機能を有している。
また、画像処理プロセッサー204は画像処理ユニット
103(図1参照)としての機能を有している。
Here, the components 201 to 20 shown in FIG.
6, 221, 222 and each unit 100- shown in FIG.
The correspondence relationship with the 104 will be described. Reading unit 2
01 and the sensor board unit 202 have a function as the image reading unit 101 (see FIG. 1). Further, the image data control unit 203 has a function as the image data control unit 100 (see FIG. 1).
Further, the image processing processor 204 has a function as the image processing unit 103 (see FIG. 1).

【0068】また、ビデオ・データ制御部205および
作像ユニット(エンジン)206は画像書込ユニット1
04(図1参照)としての機能を有している。また、画
像メモリー・アクセス制御部221およびメモリー・モ
ジュール222は画像メモリー制御ユニット102(図
1参照)としての機能を有している。
The video data control unit 205 and the image forming unit (engine) 206 include the image writing unit 1
04 (see FIG. 1). The image memory access control unit 221 and the memory module 222 have a function as the image memory control unit 102 (see FIG. 1).

【0069】つぎに、図2に示す画像処理装置の各構成
部の内容について説明する。原稿を光学的に読み取る読
取ユニット201は、特に図示しないが、たとえばラン
プ、ミラーおよびレンズを備えている。読取ユニット2
01は、原稿に対するランプ照射の反射光をミラーおよ
びレンズにより受光素子に集光させる構成となってい
る。
Next, the contents of each component of the image processing apparatus shown in FIG. 2 will be described. Although not shown, the reading unit 201 for optically reading an original includes, for example, a lamp, a mirror, and a lens. Reading unit 2
Reference numeral 01 denotes a configuration in which reflected light of lamp irradiation on a document is condensed on a light receiving element by a mirror and a lens.

【0070】受光素子はたとえばCCD(Charge
Coupled Device:電荷結合素子)で構
成される。CCDは、センサー・ボード・ユニット20
2に搭載されている。CCDは、原稿で反射した光信号
を電気信号に変換する。センサー・ボード・ユニット2
02は、電気信号に変換した画像データをディジタル信
号に変換して画像データ制御部203に出力する。
The light receiving element is, for example, a CCD (Charge).
It is composed of a Coupled Device (charge coupled device). CCD is a sensor board unit 20
2 is installed. The CCD converts a light signal reflected by the original into an electric signal. Sensor board unit 2
Reference numeral 02 converts the image data converted into an electric signal into a digital signal and outputs the digital signal to the image data control unit 203.

【0071】画像データ制御部203は、機能デバイス
(処理ユニット)およびデータバス間における画像デー
タの伝送を制御する。画像データ制御部203は、画像
データに関し、センサー・ボード・ユニット202、パ
ラレルバス220および画像処理プロセッサー204間
のデータ転送、画像データに対するプロセス・コントロ
ーラー211と画像処理装置の全体制御を司るシステム
・コントローラー231との間の通信をおこなう。
The image data control unit 203 controls transmission of image data between the functional device (processing unit) and the data bus. An image data control unit 203 is a system controller that controls the data transfer between the sensor board unit 202, the parallel bus 220, and the image processing processor 204, the process controller 211 for the image data, and the overall control of the image processing apparatus. 231 is performed.

【0072】RAM212はプロセス・コントローラー
211のワークエリアとして使用される。ROM213
はプロセス・コントローラー211のブートプログラム
等を記憶している。
The RAM 212 is used as a work area of the process controller 211. ROM 213
Stores a boot program of the process controller 211 and the like.

【0073】画像データ制御部203は、センサー・ボ
ード・ユニット202から送られてきた画像データを画
像処理プロセッサー204に転送する。画像処理プロセ
ッサー204は、光学系およびディジタル信号への量子
化にともなう信号劣化(スキャナー系の信号劣化とす
る)の補正をおこなう。また、画像処理プロセッサー2
04は、センサー・ボード・ユニット202のCCDに
よる輝度データを面積階調に変換するための画質処理を
おこなう。
The image data control unit 203 transfers the image data sent from the sensor board unit 202 to the image processor 204. The image processor 204 corrects signal degradation (referred to as signal degradation of a scanner system) due to quantization into an optical system and a digital signal. In addition, image processing processor 2
Reference numeral 04 performs image quality processing for converting luminance data from the CCD of the sensor board unit 202 into area gradation.

【0074】画像メモリー・アクセス制御部221は、
メモリー・モジュール222に対する画像データの書き
込みまたは読み出しを制御する。また、画像メモリー・
アクセス制御部221は、パラレルバス220に接続さ
れた各構成部の動作を制御する。RAM232はシステ
ム・コントローラー231のワークエリアとして使用さ
れる。ROM233はシステム・コントローラー231
のブートプログラム等を記憶している。
The image memory access control unit 221 comprises:
It controls writing or reading of image data to / from the memory module 222. In addition, image memory
The access control unit 221 controls the operation of each component connected to the parallel bus 220. The RAM 232 is used as a work area of the system controller 231. ROM 233 is the system controller 231
And the like are stored.

【0075】操作パネル234は、画像処理装置がおこ
なうべき処理を入力するためのものである。たとえば、
処理の種類(複写、ファクシミリ送信、画像読込、プリ
ント等)および処理の枚数等が操作パネル234を介し
て入力される。これにより、画像データ制御情報の入力
がおこなわれる。
The operation panel 234 is for inputting processing to be performed by the image processing apparatus. For example,
The type of processing (copying, facsimile transmission, image reading, printing, etc.), the number of processings, and the like are input via the operation panel 234. Thereby, the input of the image data control information is performed.

【0076】つづいて、図2に示す構成の画像処理装置
におけるデータの流れの一例を説明する。読取ユニット
201およびセンサー・ボード・ユニット202におい
て、原稿が光学的に読み取られ、電気信号に変換され
る。電気信号に変換された画像データは、センサー・ボ
ード・ユニット202においてディジタル信号に変換さ
れ、画像データ制御部203を経由して画像処理プロセ
ッサー204に送られる。
Next, an example of a data flow in the image processing apparatus having the configuration shown in FIG. 2 will be described. In the reading unit 201 and the sensor board unit 202, the original is optically read and converted into an electric signal. The image data converted into the electric signal is converted into a digital signal in the sensor board unit 202 and sent to the image processor 204 via the image data control unit 203.

【0077】画像処理プロセッサー204において、画
像データに対して光学系およびディジタル信号への量子
化にともなう信号劣化(スキャナー系の信号劣化とす
る)の補正処理がおこなわれる。その補正処理後、一旦
画像データは、たとえば画像データ制御部203および
画像メモリー・アクセス制御部221を経由してメモリ
ー・モジュール222に格納される。その格納された画
像データは、再び画像処理プロセッサー204に転送さ
れ、そこで、センサー・ボード・ユニット202のCC
Dによる輝度データを面積階調に変換するための画質処
理がおこなわれる。
In the image processor 204, correction processing of signal deterioration (referred to as signal deterioration of a scanner system) due to quantization of image data into an optical system and a digital signal is performed. After the correction processing, the image data is temporarily stored in the memory module 222 via, for example, the image data control unit 203 and the image memory access control unit 221. The stored image data is transferred again to the image processor 204, where the CC of the sensor board unit 202 is
An image quality process for converting the luminance data by D into an area gradation is performed.

【0078】画質処理が終了した画像データは、ビデオ
・データ制御部205へ転送され、そこで、面積階調に
変化された信号に対して、ドット配置に関する後処理お
よびドットを再現するためのパルス制御がおこなわれ
る。その後、作像ユニット206において転写紙上に再
生画像として出力される。
The image data on which the image quality processing has been completed is transferred to the video data control section 205, where the post-processing relating to the dot arrangement and the pulse control for reproducing the dots are performed on the signal changed to the area gradation. Is performed. Thereafter, the image is output as a reproduced image on transfer paper in the image forming unit 206.

【0079】画像データの流れにおいて、パラレルバス
220および画像データ制御部203でのバス制御によ
り、ディジタル複合機の機能が実現される。ファクシミ
リ送信機能は、読み取られた画像データを画像処理プロ
セッサー204にて画像処理を実施し、画像データ制御
部203およびパラレルバス220を経由してファクシ
ミリ制御ユニット224へ転送する。ファクシミリ制御
ユニット224は通信網へのデータ変換をおこない、公
衆回線(PN)225へファクシミリデータとして送信
する。
In the flow of image data, the functions of the digital multi-function peripheral are realized by the bus control by the parallel bus 220 and the image data control unit 203. In the facsimile transmission function, the read image data is subjected to image processing by the image processor 204 and transferred to the facsimile control unit 224 via the image data control unit 203 and the parallel bus 220. The facsimile control unit 224 performs data conversion to a communication network, and transmits the data to a public line (PN) 225 as facsimile data.

【0080】一方、受信されたファクシミリデータにつ
いては、ファクシミリ制御ユニット224は、公衆回線
(PN)225からの回線データを画像データに変換す
る。変換された画像データは、パラレルバス220およ
び画像データ制御部203を経由して画像処理プロセッ
サー204へ転送される。画像処理プロセッサー204
は、特別な画質処理をおこなわずに画像データをビデオ
・データ制御部205に転送する。ビデオ・データ制御
部205において画像データに対してドット再配置およ
びパルス制御がおこなわれる。その後、作像ユニット2
06において転写紙上に再生画像が形成される。
On the other hand, with respect to the received facsimile data, facsimile control unit 224 converts line data from public line (PN) 225 into image data. The converted image data is transferred to the image processor 204 via the parallel bus 220 and the image data control unit 203. Image processing processor 204
Transfers image data to the video data control unit 205 without performing special image quality processing. The video data control unit 205 performs dot rearrangement and pulse control on the image data. Then, the imaging unit 2
At 06, a reproduced image is formed on the transfer paper.

【0081】複数ジョブ、たとえば、コピー機能、ファ
クシミリ送受信機能およびプリンター出力機能が並行に
動作する状況において、読取ユニット201、作像ユニ
ット206およびパラレルバス220の使用権のジョブ
への割り振りは、システム・コントローラー231およ
びプロセス・コントローラー211において制御され
る。
In a situation where a plurality of jobs, for example, a copy function, a facsimile transmission / reception function, and a printer output function operate in parallel, allocation of the right to use the reading unit 201, the imaging unit 206, and the parallel bus 220 to the job is performed by the system. It is controlled by the controller 231 and the process controller 211.

【0082】プロセス・コントローラー211は画像デ
ータの流れを制御し、システム・コントローラー231
はシステム全体を制御し、各リソースの起動を管理す
る。また、ディジタル複合機の機能選択は操作部の操作
パネル234において選択入力し、コピー機能、ファク
シミリ機能等の処理内容を設定する。
The process controller 211 controls the flow of image data, and the system controller 231
Controls the entire system and manages the activation of each resource. In addition, the function selection of the digital multi-function peripheral is selectively inputted on the operation panel 234 of the operation unit, and the processing contents such as the copy function and the facsimile function are set.

【0083】システム・コントローラー231とプロセ
ス・コントローラー211は、パラレルバス220、画
像データ制御部203およびシリアルバス210を介し
て相互に通信をおこなう。具体的には、画像データ制御
部203内においてパラレルバス220とシリアルバス
210とのデータインターフェースのためのデータフォ
ーマット変換をおこなうことにより、システム・コント
ローラー231とプロセス・コントローラー211間の
通信をおこなう。
The system controller 231 and the process controller 211 communicate with each other via the parallel bus 220, the image data control unit 203, and the serial bus 210. Specifically, communication between the system controller 231 and the process controller 211 is performed by performing a data format conversion for a data interface between the parallel bus 220 and the serial bus 210 in the image data control unit 203.

【0084】図3は、実施の形態にかかる画像処理装置
の階調変換に係わるデータの流れを説明するためのブロ
ック線図であり、図4はその要部を示す図である。スキ
ャナー(読み取りユニット201)での原稿の読み取り
により、たとえば主走査副走査Ndpi8ビット256
階調の画像データが得られる。
FIG. 3 is a block diagram for explaining a flow of data related to gradation conversion of the image processing apparatus according to the embodiment, and FIG. 4 is a diagram showing a main part thereof. When the original is read by the scanner (reading unit 201), for example, the main scanning sub-scanning Ndpi 8 bits 256
Gradation image data is obtained.

【0085】この画像データは、シェーディング補正ブ
ロック51、主走査電気変倍ブロック52およびフィル
タ処理ブロック53にてそれぞれシェーディング補正、
主走査電気変倍およびフィルタ処理を施されたのち、階
調処理ブロック54に送られる。階調処理ブロック54
では、入力された8ビットデータを固定閾値で量子化す
る単純2値量子化、2値ディザ、または2値誤差拡散な
どが画質モードに応じておこなわれる。
This image data is subjected to shading correction by a shading correction block 51, a main scanning electric scaling block 52 and a filter processing block 53, respectively.
After being subjected to main scanning electrical scaling and filter processing, it is sent to the gradation processing block 54. Gradation processing block 54
In this example, simple binary quantization, binary dither, binary error diffusion, or the like for quantizing input 8-bit data with a fixed threshold is performed according to the image quality mode.

【0086】また、プリンターコントローラー55では
Ndpi1ビット2階調のデータが生成される。階調処
理ブロック54またはプリンターコントローラー55の
いずれかのブロックで生成されたデータは階調変換ブロ
ック56に入力される。階調変換ブロック56に入力さ
れたNdpi1ビット2階調の画像データは、Ndpi
M階調の画像データに変換されて出力される。Ndpi
M階調の出力画像データは、多値データを書き込むこと
が可能なプロッターに送られ、そこで画像形成がおこな
われる。これらのブロックは画像処理プロセッサー20
4上に実装されている。
The printer controller 55 generates Ndpi 1-bit 2-tone data. Data generated by either the gradation processing block 54 or the printer controller 55 is input to the gradation conversion block 56. The Ndpi 1-bit 2-tone image data input to the gradation conversion block 56 is Ndpi
The image data is converted into M gradation image data and output. Ndpi
The output image data of M gradation is sent to a plotter capable of writing multi-value data, where an image is formed. These blocks are used by the image processor 20
4 is implemented.

【0087】図5は、画像処理プロセッサー204の構
成を示すブロック図である。このプロセッサーは、プロ
セッサーアレイ30に対してデータの入出力をおこなう
ための複数組の入出力ポート31a,31b,31c,
31d,31e(VD0〜VD4)を有しており、それ
ぞれ入力または出力を任意に設定することができる構成
となっている。また、複数のRAMからなるローカルメ
モリー群32が設けられている。
FIG. 5 is a block diagram showing a configuration of the image processor 204. The processor includes a plurality of sets of input / output ports 31a, 31b, 31c for inputting and outputting data to and from the processor array 30.
31d and 31e (VD0 to VD4), and the input or output can be set arbitrarily. Further, a local memory group 32 including a plurality of RAMs is provided.

【0088】このローカルメモリー群32は、入力され
たデータまたは出力のためのデータを格納するバッファ
ーメモリーとして用いられる。このバッファーメモリー
によって、入出力データは、外部とのインターフェース
を制御される。ローカルメモリー群32は複数のメモリ
ー制御部33に接続されている。メモリー制御部33
は、使用するメモリー領域やデータパスの経路を制御す
る。
The local memory group 32 is used as a buffer memory for storing input data or data for output. The input / output data is controlled by the buffer memory at the interface with the outside. The local memory group 32 is connected to a plurality of memory control units 33. Memory control unit 33
Controls the memory area to be used and the path of the data path.

【0089】ローカルメモリー群32に格納された画像
データは、プロセッサーアレイ30において各種処理を
施され、出力結果は再度ローカールメモリー群32に格
納される。プロセッサーの処理手順、処理のためのパラ
メータ等はプログラムRAMおよびデータRAMとの間
でやり取りされる。プログラムRAMまたはデータRA
Mの内容は、シリアルインターフェースを介して、プロ
セス・コントローラー211(図2参照)からダウンロ
ードされる。あるいは、プロセス・コントローラー21
1がデータRAMの内容を読み出し、処理の経過を監視
する。
The image data stored in the local memory group 32 is subjected to various processes in the processor array 30, and the output result is stored again in the local memory group 32. The processing procedure of the processor, parameters for the processing, and the like are exchanged between the program RAM and the data RAM. Program RAM or data RA
The contents of M are downloaded from the process controller 211 (see FIG. 2) via the serial interface. Alternatively, the process controller 21
1 reads the contents of the data RAM and monitors the progress of the processing.

【0090】処理の内容を変えたり、システムで要求さ
れる処理形態を変更する場合には、プロセッサーアレイ
30が参照するプログラムRAMおよびデータRAMの
内容を更新して対応する。この画像処理プロセッサー2
04では、所定の長さの画像データを入出力ポート31
a,31b,31c,31d,31eのうちのいずれか
のポートから入力し、プログラムの制御に基づいてプロ
セッサーアレイ30により所望の画像処理をおこない、
処理後のデータを別の入出力ポート31a,31b,3
1c,31d,31eから出力するような動作が可能で
ある。
When the contents of the processing are changed or the processing form required by the system is changed, the contents of the program RAM and the data RAM referred to by the processor array 30 are updated. This image processor 2
In the input / output port 31, image data of a predetermined length is input / output port 31.
a, 31b, 31c, 31d, and 31e, input from any of the ports, and perform desired image processing by the processor array 30 based on the control of the program.
The processed data is transferred to another input / output port 31a, 31b, 3
An operation of outputting from 1c, 31d, and 31e is possible.

【0091】なお、図5において、符号34はメモリー
コントローラー群であり、符号35はバススイッチ群で
あり、符号36はSCI群であり、符号37は割込みコ
ントローラーである。また、符号38はタイマーであ
り、符号39はROMブート外部アクセスであり、符号
40はホストインターフェースであり、符号41はクロ
ックジェネレータである。
In FIG. 5, reference numeral 34 denotes a memory controller group, reference numeral 35 denotes a bus switch group, reference numeral 36 denotes an SCI group, and reference numeral 37 denotes an interrupt controller. Reference numeral 38 denotes a timer, reference numeral 39 denotes a ROM boot external access, reference numeral 40 denotes a host interface, and reference numeral 41 denotes a clock generator.

【0092】図6は、階調変換ブロック56内における
データの流れを示すブロック線図である。階調変換ブロ
ック56は、ハーフトーン判定手段61、取得手段6
2、パターン判定手段63および変換手段64を備えて
いる。ハーフトーン判定手段61は、処理対象の画素で
ある注目画素がハーフトーン部分、文字や線などのキャ
ラクタ部分、または白画素よりなる背景部分のいずれに
含まれるかということの判定をおこなう。
FIG. 6 is a block diagram showing the flow of data in the gradation conversion block 56. The gradation conversion block 56 includes a halftone determination unit 61 and an acquisition unit 6
2, a pattern determining means 63 and a converting means 64 are provided. The halftone determination unit 61 determines whether the pixel of interest, which is a pixel to be processed, is included in a halftone portion, a character portion such as a character or a line, or a background portion including white pixels.

【0093】ハーフトーン判定手段61における判定動
作については後述する。取得手段62は、注目画素およ
びこの注目画素を囲む8個の画素よりなる3×3マトリ
クスの画像パターンを取得する。具体的には、画像処理
プロセッサー204内のRAMに2本のFIFOメモリ
ーが割り当てられる。そして、そのFIFOメモリーに
Ndpi2値の主走査データが蓄積されることによって
3×3マトリクスが生成される。
The judgment operation of the halftone judgment means 61 will be described later. The acquiring unit 62 acquires an image pattern of a 3 × 3 matrix including a target pixel and eight pixels surrounding the target pixel. Specifically, two FIFO memories are allocated to the RAM in the image processor 204. Then, a 3 × 3 matrix is generated by accumulating the Ndpi 2 value main scanning data in the FIFO memory.

【0094】パターン判定手段63は、取得手段62で
取得した3×3マトリクスの画像パターンを、あらかじ
め用意された3×3マトリクス状のサンプルパターンと
比較し、両パターンが一致しているか否かの判定をおこ
なう。この判定は、画像処理プロセッサー204に用意
されたパターンマッチング用の専用命令により実施され
る。サンプルパターンには段差パターン71、斜め線パ
ターン72、横線パターン73および縦線パターン74
があり、これらのサンプルパターンはROMやデータR
AMなどの記憶手段7から読み出される。
The pattern judging means 63 compares the 3 × 3 matrix image pattern acquired by the acquiring means 62 with a 3 × 3 matrix sample pattern prepared in advance, and determines whether the two patterns match. Make a decision. This determination is performed by a dedicated command for pattern matching prepared in the image processor 204. The sample pattern includes a step pattern 71, an oblique line pattern 72, a horizontal line pattern 73, and a vertical line pattern 74.
These sample patterns are stored in ROM or data R
It is read from the storage means 7 such as AM.

【0095】段差パターン71、斜め線パターン72、
横線パターン73および縦線パターン74については後
述する。変換手段64は、階調変換ブロック56に入力
されたNdpi一画素1ビット2値(2階調)の画像デ
ータを、ハーフトーン判定手段61およびパターン判定
手段63から送られてくる制御信号に基づいて、Ndp
i一画素M値(M階調)の画像データに変換する。
A step pattern 71, an oblique line pattern 72,
The horizontal line pattern 73 and the vertical line pattern 74 will be described later. The conversion means 64 converts the Ndpi one pixel 1 bit binary (two gradations) image data input to the gradation conversion block 56 based on the control signals sent from the halftone judgment means 61 and the pattern judgment means 63. And Ndp
The image data is converted into image data of i-pixel M value (M gradation).

【0096】図7は、段差パターン71を示す模式図で
ある。段差パターン71として、たとえば図7に示す9
種類のパターンがある。図7において、*は注目画素を
表し、数字はその画素のM階調における値を表している
(図8においても同じ)。また、一つの画素はたとえば
600dpi1画素を表す。
FIG. 7 is a schematic diagram showing the step pattern 71. As the step pattern 71, for example, 9 shown in FIG.
There are different patterns. In FIG. 7, * indicates a target pixel, and a number indicates a value of the pixel at M gradation (the same applies to FIG. 8). One pixel represents, for example, 600 dpi1 pixel.

【0097】したがって、たとえば、600dpi一画
素2値の画像データを600dpi一画素5値の画像デ
ータに変換する場合、全白をゼロとし、全黒を4に対応
付ける。注目画素を中心とする3×3マトリクスのパタ
ーンが図7に示すいずれかのパターンと一致した場合に
は、変換手段64は注目画素に600dpiのフルドッ
トよりも小さいドットを割り当てる。つまり、注目画素
のM階調における値は本来ゼロであるが、それをゼロと
4の間の値、たとえば2とする。このようにスムージン
グ処理をおこなうことによって、画像の段差部分が小さ
くなり、滑らかな画像が得られる。
Therefore, for example, when converting 600 dpi / pixel binary image data to 600 dpi / pixel 5 pixel image data, all white is set to zero and all black is associated with 4. If the 3 × 3 matrix pattern centered on the target pixel matches any of the patterns shown in FIG. 7, the conversion unit 64 assigns a dot smaller than a full 600 dpi dot to the target pixel. In other words, the value of the target pixel in the M gradation is originally zero, but is set to a value between zero and four, for example, two. By performing the smoothing process in this way, the step portion of the image is reduced, and a smooth image is obtained.

【0098】図8は、斜め線パターン72、横線パター
ン73および縦線パターン74よりなる線パターンを示
す模式図である。斜め線パターン72として、たとえば
図8に示す4種類のパターンがある。注目画素を中心と
する3×3マトリクスのパターンが図8に示す斜め線パ
ターン72のいずれかのパターンと一致した場合には、
変換手段64は注目画素のM階調における値をゼロと4
の間の値、たとえば1とする。こうすることによって、
斜め線は本来途切れやすいが、斜め線を途切れることな
く再現することができる。
FIG. 8 is a schematic diagram showing a line pattern composed of an oblique line pattern 72, a horizontal line pattern 73, and a vertical line pattern 74. As the diagonal line pattern 72, for example, there are four types of patterns shown in FIG. When the pattern of the 3 × 3 matrix centering on the target pixel matches any one of the oblique line patterns 72 shown in FIG.
The conversion means 64 sets the value of the target pixel in the M gradation to zero and 4
, For example, 1. By doing this,
The diagonal lines are originally easily broken, but the diagonal lines can be reproduced without interruption.

【0099】また、電子写真エンジンがたとえば横線よ
りも縦線を太く再現する傾向にあると仮定する。この場
合、注目画素を中心とする3×3マトリクスのパターン
が図8に示す縦線パターン74と一致したら、変換手段
64は、本来M階調では4である注目画素の階調をそれ
よりも低い、たとえば3に変換する。しかし、変換手段
64は、注目画素を中心とする3×3マトリクスのパタ
ーンが図8に示す横線パターン73と一致しても、注目
画素の階調をそのまま4とする。電子写真エンジンがた
とえば縦線よりも横線を太く再現する傾向にある場合に
は、この逆となる。
It is also assumed that the electrophotographic engine tends to reproduce vertical lines thicker than horizontal lines, for example. In this case, if the pattern of the 3 × 3 matrix centered on the target pixel matches the vertical line pattern 74 shown in FIG. Convert to low, for example, 3. However, even if the pattern of the 3 × 3 matrix centered on the target pixel matches the horizontal line pattern 73 shown in FIG. The reverse is true if the electrophotographic engine tends to reproduce horizontal lines thicker than vertical lines, for example.

【0100】これをパターンが一致するすべての画素に
対しておこなうことによって、縦線と横線の太さが同じ
になるように再現することができる。なお、横線パター
ン73と一致したときに注目画素の階調を低くする場合
と、縦線パターン74と一致したときに注目画素の階調
を低くする場合のいずれを選択するかは、電子写真エン
ジンの特性に応じて決められる。
By performing this for all pixels having the same pattern, it is possible to reproduce the vertical line and the horizontal line so that they have the same thickness. It should be noted that whether to lower the gradation of the pixel of interest when matching with the horizontal line pattern 73 or to lower the gradation of the pixel of interest when matching with the vertical line pattern 74 is determined by the electrophotographic engine. Is determined according to the characteristics of

【0101】つぎに、ハーフトーン判定手段61におけ
る判定動作について説明する。ここでは、ディザや誤差
拡散で構成されるハーフトーン部と、文字や線などのキ
ャラクタ部とを切り分けるために画素の連続性が特徴量
として用いられる。黒画素の連続性を見つけるため、本
実施の形態では、一例として図9に示す状態遷移図にし
たがって動作するステートマシーンで構成された検出器
がハーフトーン判定手段61に設けられている。SIM
Dプロセッサーでは主走査方向に逐次的に動作させるの
は効率がわるいため、ここでは副走査方向に動作させ
る。
Next, the determination operation in the halftone determination means 61 will be described. Here, the continuity of pixels is used as a feature amount in order to separate a halftone portion formed by dither or error diffusion from a character portion such as a character or a line. In order to find the continuity of black pixels, in the present embodiment, for example, a detector including a state machine operating according to the state transition diagram shown in FIG. 9 is provided in the halftone determination unit 61. SIM
Since it is inefficient for the D processor to operate sequentially in the main scanning direction, it is operated here in the sub-scanning direction.

【0102】まず、原稿読み取り時は背景の状態から開
始する。このときはスムージング処理はオン(smtO
N)になっている。この状態で、入力画素が白であるう
ちは背景の状態を維持し、入力画素が黒であればキャラ
クタの状態に遷移する。キャラクタの状態ではスムージ
ング処理はオン(smtON)である。キャラクタの状
態で、入力画素が白であればディザ(白)の状態に遷移
する。ディザ(白)の状態では、スムージング処理はオ
フ(smtOFF)になる。
First, when reading a document, the process starts from the background state. At this time, the smoothing processing is on (smtO
N). In this state, while the input pixel is white, the background state is maintained, and if the input pixel is black, the state changes to the character state. In the state of the character, the smoothing process is on (smtON). If the input pixel is white in the character state, the state transits to the dither (white) state. In the dither (white) state, the smoothing processing is turned off (smtOFF).

【0103】また、ディザ(白)の状態に遷移すると、
内部のカウンターwcntの値はゼロにクリアされる。
そして、つぎの入力画素が白であればカウンターwcn
tの値がインクリメントされる。カウンターwcntの
値がディザの間隔、すなわちディザの黒部分どうしの間
に存在する画素数dwidより小さいうちは、ディザ
(白)の状態を維持する。カウンターwcntの値がデ
ィザの間隔dwidより大きくなると背景の状態に遷移
する。
When the state transits to the dither (white) state,
The value of the internal counter wcnt is cleared to zero.
If the next input pixel is white, the counter wcn
The value of t is incremented. The dither (white) state is maintained as long as the value of the counter wcnt is smaller than the dither interval, that is, the number of pixels dwid existing between the black portions of the dither. When the value of the counter wcnt becomes larger than the dither interval dwid, the state transits to the background state.

【0104】一方、ディザ(白)の状態において、黒画
素が入力された場合には、ディザ(黒)の状態に遷移す
る。ディザ(黒)の状態では、スムージング処理はオフ
(smtOFF)である。ディザ(黒)の状態に遷移す
ると、内部のカウンターbcntの値はクリアされてゼ
ロとなる。
On the other hand, when a black pixel is input in the dither (white) state, the state transits to the dither (black) state. In the dither (black) state, the smoothing processing is off (smtOFF). When the state transits to the dither (black) state, the value of the internal counter bcnt is cleared to zero.

【0105】つぎの入力画素が黒であればカウンターb
cntの値をインクリメントする。カウンターbcnt
の値がディザの黒部分の大きさdsizeよりも小さい
うちはディザ(黒)の状態を維持する。カウンターbc
ntの値がディザの大きさdsizeよりも大きくなる
とキャラクタの状態に遷移する。そして、白画素が入力
されるまでキャラクタの状態を維持し、白画素が入力さ
れたらディザ(白)の状態に遷移する。
If the next input pixel is black, the counter b
Increment the value of cnt. Counter bcnt
Is smaller than the size dsize of the black portion of the dither, the dither (black) state is maintained. Counter bc
When the value of nt becomes larger than the dither size dsize, the state transits to the character state. Then, the state of the character is maintained until a white pixel is input, and when a white pixel is input, the state transits to a dither (white) state.

【0106】図10は、上述したステートマシーンの画
像処理プロセッサー204への実装形態を示す模式図で
ある。また、図11は、上述したステートマシーンが実
装されたSIMDプロセッサーの演算部を示すブロック
図である。PEはプロセッサーエレメント81であり、
図11のALU82と対応している。
FIG. 10 is a schematic diagram showing an implementation of the above-described state machine in the image processor 204. FIG. 11 is a block diagram illustrating an arithmetic unit of the SIMD processor in which the above-described state machine is mounted. PE is a processor element 81,
This corresponds to the ALU 82 in FIG.

【0107】各ALU82にはたとえば20個の8ビッ
トのレジスタ(REG)83が備わっており、これが2
24組存在する。それらのレジスタ83にステートを表
す信号とカウンターwcnt,bcnが割り当てられ
る。主走査方向の各画素毎に状態は異なるので、このよ
うに主走査単位で状態を保持し、スキャンをおこないな
がらスムージング処理のオン/オフの判定がおこなわれ
る。
Each ALU 82 is provided with, for example, 20 8-bit registers (REG) 83,
There are 24 sets. Signals representing states and counters wcnt and bcn are assigned to these registers 83. Since the state is different for each pixel in the main scanning direction, the state is maintained in the main scanning unit as described above, and the on / off determination of the smoothing processing is performed while performing the scanning.

【0108】つぎに、本発明の実施の形態にかかる画像
処理方法について説明する。図12は、本発明の実施の
形態にかかる画像処理方法の一例を示すフローチャート
である。
Next, an image processing method according to an embodiment of the present invention will be described. FIG. 12 is a flowchart illustrating an example of the image processing method according to the embodiment of the present invention.

【0109】まず、Ndpi一画素1ビット2値の入力
画素を注目画素とし、ハーフトーン判定手段61は、そ
の注目画素がハーフトーン部に含まれるか否かを判定す
る(ステップS1)。このときの判定動作については、
図9に関連して説明したとおりである。注目画素がハー
フトーン部に含まれない場合(ステップS1:No)、
すなわち注目画素が文字や線などのキャラクタ部分また
は背景部分に含まれる場合、ハーフトーン判定手段61
から取得手段62に、3×3マトリクスを生成するため
の制御信号が供給される。
First, an input pixel of Ndpi one pixel 1 bit binary is set as a target pixel, and the halftone determining means 61 determines whether or not the target pixel is included in the halftone portion (step S1). Regarding the judgment operation at this time,
This is as described with reference to FIG. When the target pixel is not included in the halftone portion (Step S1: No),
That is, when the target pixel is included in a character portion such as a character or a line or a background portion, the halftone determination unit 61
Is supplied with a control signal for generating a 3 × 3 matrix.

【0110】取得手段62にはNdpi一画素1ビット
2値の画像データが供給されており、そのデータに基づ
いて、取得手段62は、注目画素を含む9個の画素によ
り3×3マトリクスを生成する(ステップS2)。生成
されたマトリクスの画像パターンのデータはパターン判
定手段63に送られる。
The acquisition means 62 is supplied with 1-bit binary image data of Ndpi one pixel. Based on the data, the acquisition means 62 generates a 3 × 3 matrix by nine pixels including the pixel of interest. (Step S2). The data of the generated image pattern of the matrix is sent to the pattern determination unit 63.

【0111】パターン判定手段63は、記憶手段7から
サンプルパターンを読み込ムコとにより取得し(ステッ
プS3)、3×3マトリクスのパターンとサンプルパタ
ーンとを比較(パターンマッチング)する(ステップS
4)。その比較の結果は、パターン判定手段63から変
換手段64に供給される。変換手段64にはNdpi一
画素1ビット2値の画像データが供給されている。
The pattern judging means 63 acquires the sample pattern from the storage means 7 by reading mucos (step S3), and compares the pattern of the 3 × 3 matrix with the sample pattern (pattern matching) (step S3).
4). The result of the comparison is supplied from the pattern determination means 63 to the conversion means 64. The conversion means 64 is supplied with Ndpi image data of one bit and one bit binary.

【0112】比較の結果、3×3マトリクスのパターン
が斜め線のパターンと一致する場合(ステップS5)に
は、図8に関連して説明したとおり、変換手段64は注
目画素の階調をたとえば1に変換する。また、縦線が強
調される傾向にある電子写真エンジンの場合、パターン
を比較した結果、3×3マトリクスのパターンが横線の
パターンと一致する場合には、変換手段64は注目画素
の階調をそのまま4とし、縦線のパターンと一致する場
合には、変換手段64は注目画素の階調をたとえば3に
変換する。
As a result of the comparison, when the pattern of the 3 × 3 matrix matches the pattern of the oblique line (step S5), as described with reference to FIG. Convert to 1. In the case of an electrophotographic engine in which vertical lines tend to be emphasized, if the pattern is compared and the 3 × 3 matrix pattern matches the horizontal line pattern, the conversion unit 64 changes the gradation of the target pixel. If it is 4, and the pattern matches the pattern of the vertical line, the conversion means 64 converts the gradation of the target pixel to, for example, 3.

【0113】横線が強調される傾向にある電子写真エン
ジンの場合には、3×3マトリクスのパターンが縦線の
パターンと一致する場合には、変換手段64は注目画素
の階調をそのまま4とし、横線のパターンと一致する場
合には、変換手段64は注目画素の階調をたとえば3に
変換する(ステップS6)。
In the case of an electrophotographic engine in which horizontal lines tend to be emphasized, if the 3 × 3 matrix pattern matches the vertical line pattern, the conversion means 64 sets the gradation of the pixel of interest to 4 as it is. If the pattern coincides with the horizontal line pattern, the conversion means 64 converts the gradation of the pixel of interest to, for example, 3 (step S6).

【0114】また、ステップS4での比較の結果、3×
3マトリクスのパターンが段差のパターンと一致する場
合(ステップS5)には、図7に関連して説明したとお
り、変換手段64は注目画素の階調をたとえば2に変換
する(ステップS8)。さらに、ステップS4での比較
の結果、3×3マトリクスのパターンがいずれのパター
ンとも一致しない場合(ステップS5)には、変換手段
64は注目画素のM階調における階調を、Ndpi一画
素1ビット2値のときの階調に対応する階調とする(ス
テップS7)。つまり、M=5の場合、Ndpi一画素
1ビット2値のときの階調がゼロであればNdpi一画
素M値の階調もゼロとし、Ndpi一画素1ビット2値
のときの階調が1であればNdpi一画素M値の階調を
4とする。
As a result of the comparison in step S4, 3 ×
If the three-matrix pattern matches the step pattern (step S5), as described with reference to FIG. 7, the conversion unit 64 converts the gradation of the target pixel to, for example, 2 (step S8). Further, as a result of the comparison in step S4, if the pattern of the 3 × 3 matrix does not match any of the patterns (step S5), the conversion unit 64 converts the gray level of the target pixel in the M gray level into Ndpi one pixel 1 A gradation corresponding to the gradation when the bit is binary is set (step S7). That is, when M = 5, if the gradation at the time of Ndpi one pixel 1 bit binary is zero, the gradation of the Ndpi one pixel M value is also zero, and the gradation at the time of Ndpi one pixel 1 bit binary is zero. If it is 1, the gradation of the M value of one Ndpi pixel is set to 4.

【0115】一方、ステップS1での判定の結果、注目
画素がハーフトーン部に含まれない場合には、注目画素
のM階調における階調を、Ndpi一画素1ビット2値
のときの階調に対応する階調とするための制御信号がハ
ーフトーン判定部61から変換手段64に供給される。
それによって、注目画素のM階調における階調は、ステ
ップS7と同様に、Ndpi一画素1ビット2値のとき
の階調に対応する階調にされる(ステップS10)。以
上の処理を全画素について終了するまで繰り返しおこな
い(ステップS9,S11,S12)、全画素について
終了したら階調変換処理を終了する。
On the other hand, if the result of the determination in step S1 indicates that the target pixel is not included in the halftone portion, the gray scale in the M gray scale of the target pixel is changed to the gray scale when the Ndpi pixel is 1 bit binary. Is supplied from the halftone determination unit 61 to the conversion unit 64.
As a result, the gray scale of the target pixel in the M gray scale is set to a gray scale corresponding to the gray scale when Ndpi is one bit per pixel, as in step S7 (step S10). The above processing is repeated until the processing is completed for all the pixels (steps S9, S11, S12). When the processing is completed for all the pixels, the gradation conversion processing is completed.

【0116】上述した実施の形態によれば、一画素1ビ
ット2値の入力画像データを一画素M値の画像データに
変換する際に、注目画素を含む9個の画素よりなる3×
3マトリクスのパターンが、あらかじめサンプルとして
用意された段差パターンに一致する場合には、段差をな
す部分の白画素が白と黒の間の階調に変換されるので、
段差部分の画像をより滑らかに再現することができる。
According to the above-described embodiment, when converting 1-bit 1-bit binary input image data into 1-pixel M-value image data, 3 × 9 pixels including the target pixel are used.
When the three-matrix pattern matches a step pattern prepared as a sample in advance, the white pixels in the step forming part are converted into gray levels between white and black.
The image of the step can be reproduced more smoothly.

【0117】高密度な書き込み装置を有するコピー機や
プリンターにおいても画像をより滑らかにするスムージ
ング処理は画質向上に有効であるため、従来、このよう
なスムージング処理は専用のハードウエアで実現されて
きた。しかし、プロッターの書き込み密度や特性などに
よって適するアルゴリズムがかわるため、DSPなどを
用いたミドルウエア化が望まれている。本実施の形態に
よれば、高いパフォーマンスを備えるSIMD型のプロ
セッサーを用いたミドルウエアでスムージング処理をお
こなうことができる。
Even in a copying machine or a printer having a high-density writing device, a smoothing process for making an image smoother is effective for improving the image quality. Conventionally, such a smoothing process has been realized by dedicated hardware. . However, since a suitable algorithm changes according to the writing density and characteristics of the plotter, middleware using a DSP or the like is desired. According to the present embodiment, smoothing processing can be performed by middleware using a SIMD processor having high performance.

【0118】また、上述した実施の形態によれば、一画
素1ビット2値の入力画像データを一画素M値の画像デ
ータに変換する際に、注目画素を含む9個の画素よりな
る3×3マトリクスのパターンが、あらかじめサンプル
として用意された斜め線パターンに一致する場合には、
斜め線の周囲の白画素が白と黒の間の階調に変換される
ので、斜め線を途切れることなく再現することができ
る。
According to the above-described embodiment, when converting 1-bit binary image data of one pixel to M-value image data of one pixel, 3 × 9 pixels including the target pixel are used. If the pattern of the three matrices matches the oblique line pattern prepared as a sample in advance,
Since the white pixels around the oblique line are converted into gray levels between white and black, the oblique line can be reproduced without interruption.

【0119】また、上述した実施の形態によれば、一画
素1ビット2値の入力画像データを一画素M値の画像デ
ータに変換する際に、注目画素を含む9個の画素よりな
る3×3マトリクスのパターンが、あらかじめサンプル
として用意された縦線パターン(または横線パターン)
に一致する場合には、その縦線(または横線)を構成す
る黒画素が白と黒の間の階調に変換されるので、縦線と
横線を同じ線幅となるように再現することができる。
According to the above-described embodiment, when converting 1-bit 1-bit binary input image data into 1-pixel M-value image data, 3 × 9 pixels including the target pixel are used. A vertical line pattern (or horizontal line pattern) in which three matrix patterns are prepared in advance as a sample
, The black pixels constituting the vertical line (or horizontal line) are converted into gray levels between white and black, so that the vertical line and horizontal line can be reproduced so as to have the same line width. it can.

【0120】一般に、プリンターの印字品質の要求とし
て、どのような傾きの線分においても同一の太さで再現
することが求められるが、出力形態が電子写真などの場
合には縦線と横線を同一の強度で描画しても、出力させ
る画像の太さがそろわないことが多い。このような場
合、角度に応じて線の太さを制御する必要があるが、本
実施の形態によれば、上述したように縦線(または横
線)の階調を制御することによって線の太さを同じにす
ることができる。
In general, as a requirement for the printing quality of a printer, it is required to reproduce a line segment of any inclination with the same thickness. However, when the output form is an electronic photograph or the like, a vertical line and a horizontal line are drawn. Even when drawing is performed with the same intensity, the thickness of the output image is often not uniform. In such a case, it is necessary to control the thickness of the line according to the angle. However, according to the present embodiment, the thickness of the line is controlled by controlling the gradation of the vertical line (or the horizontal line) as described above. Can be the same.

【0121】また、上述した実施の形態によれば、注目
画素がハーフトーン部に含まれる場合には、段差パター
ンや線パターンと一致した場合の階調変換処理をおこな
わないため、文字や線などのキャラクタ部分を滑らかに
再現することができるとともに、階調性の良いハーフト
ーン画像を再現することができる。従来は、スムージン
グ処理によってディザや誤差拡散後の画像など独立した
画素で構成されるハーフトーン画像において階調性の劣
化を招く場合があったが、本実施の形態によれば、ハー
フトーン画像における階調性の劣化を回避することがで
きる。
Further, according to the above-described embodiment, when the pixel of interest is included in the halftone portion, gradation conversion processing is not performed when the pixel of interest coincides with a step pattern or a line pattern. Character portion can be reproduced smoothly, and a halftone image with good gradation can be reproduced. Conventionally, there has been a case where the gradation property is deteriorated in a halftone image composed of independent pixels such as an image after dithering and error diffusion by a smoothing process. However, according to the present embodiment, in a halftone image, Degradation of gradation can be avoided.

【0122】以上において本発明は、種々変更可能であ
る。たとえば、3×3マトリクスのパターンが段差パタ
ーン、斜め線パターン、縦線パターンまたは横線パター
ンに一致したときの注目画素のM階調における階調の値
については上述した例に限らない。
In the above, the present invention can be variously modified. For example, the gradation value in the M gradation of the target pixel when the 3 × 3 matrix pattern matches the step pattern, the oblique line pattern, the vertical line pattern, or the horizontal line pattern is not limited to the above-described example.

【0123】なお、本実施の形態で説明した画像処理方
法は、あらかじめ用意されたプログラムをコンピュータ
で実行することにより実現される。このプログラムは、
ハードディスク、フロッピー(登録商標)ディスク、C
D−ROM、MO、DVD等のコンピュータで読み取り
可能な記録媒体に記録され、コンピュータによって記録
媒体から読み出されることによって実行される。またこ
のプログラムは、上記記録媒体を介して、また伝送媒体
として、インターネット等のネットワークを介して配布
することができる。
The image processing method described in the present embodiment is realized by executing a prepared program on a computer. This program is
Hard disk, floppy (registered trademark) disk, C
The program is recorded on a computer-readable recording medium such as a D-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. Further, this program can be distributed via the recording medium and as a transmission medium via a network such as the Internet.

【0124】[0124]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、一画素1ビット2値の入力画像データを
一画素M値の画像データに変換する装置において、注目
画素および前記注目画素を囲む8個の画素により構成さ
れる3×3マトリクス状画素群のパターンを取得する取
得手段と、3×3マトリクス状画素群に対してあらかじ
め用意された1または2以上のサンプルパターンを格納
した記憶手段と、3×3マトリクス状画素群のパターン
がサンプルパターンと一致するか否かを判定する判定手
段と、前記3×3マトリクス状画素群のパターンが前記
サンプルパターンのうちの特定サンプルパターンと一致
する場合、前記注目画素の階調を前記特定サンプルパタ
ーンに対応する値に変換する変換手段と、を備えた構成
となっている。そのため、一画素1ビット2値の注目画
素の階調は、その注目画素とそれを囲む8個の画素より
なる3×3マトリクスのパターンが一致するサンプルパ
ターンに応じて、一画素M値の階調に変換されるので、
一画素1ビット2値を一画素M値に変換することが可能
な画像処理装置が得られるという効果を奏する。
As described above, according to the first aspect of the present invention, there is provided an apparatus for converting one-bit, one-bit, binary input image data into one-pixel M-value image data. An acquisition unit for acquiring a pattern of a 3 × 3 matrix pixel group composed of eight pixels surrounding the target pixel, and one or more sample patterns prepared in advance for the 3 × 3 matrix pixel group Storage means for storing, a determination means for determining whether or not the pattern of the 3 × 3 matrix pixel group matches the sample pattern; and a determination of whether the pattern of the 3 × 3 matrix pixel group is a specific sample of the sample pattern. And converting means for converting the gradation of the pixel of interest to a value corresponding to the specific sample pattern when the pattern matches the pattern. Therefore, the gradation of the target pixel of one bit and one bit of one pixel is represented by the M value of one pixel in accordance with the sample pattern in which the pattern of the 3 × 3 matrix including the target pixel and eight pixels surrounding the target pixel matches. Is converted to a key.
An effect is obtained that an image processing device capable of converting one bit and one bit binary value to one pixel M value is obtained.

【0125】また、請求項2に記載の発明によれば、一
画素1ビット2値の入力画像データを一画素M値の画像
データに変換する装置において、注目画素がハーフトー
ン部に含まれるか否かを判定するハーフトーン判定手段
と、前記注目画素がハーフトーン部に含まれない場合、
前記注目画素および前記注目画素を囲む8個の画素によ
り構成される3×3マトリクス状画素群のパターンを取
得する取得手段と、3×3マトリクス状画素群に対して
あらかじめ用意された1または2以上のサンプルパター
ンを格納した記憶手段と、3×3マトリクス状画素群の
パターンがサンプルパターンと一致するか否かを判定す
るパターン判定手段と、前記3×3マトリクス状画素群
のパターンが前記サンプルパターンのうちの特定サンプ
ルパターンと一致する場合、前記注目画素の階調を前記
特定サンプルパターンに対応する値に変換する変換手段
と、を備えた構成となっている。そのため、注目画素が
背景部分またはキャラクタ部分である場合、一画素1ビ
ット2値の注目画素の階調は、その注目画素とそれを囲
む8個の画素よりなる3×3マトリクスのパターンが一
致するサンプルパターンに応じて、一画素M値の階調に
変換されるので、一画素1ビット2値を一画素M値に変
換することが可能な画像処理装置が得られるという効果
を奏する。
According to the second aspect of the present invention, in a device for converting one-bit one-bit binary image data into one-pixel M-value image data, the pixel of interest is included in a halftone portion. Halftone determination means for determining whether or not the target pixel is not included in the halftone portion,
Acquiring means for acquiring a pattern of a 3 × 3 matrix pixel group composed of the target pixel and eight pixels surrounding the target pixel; and 1 or 2 prepared in advance for the 3 × 3 matrix pixel group Storage means for storing the above sample patterns, pattern determination means for determining whether or not the pattern of the 3 × 3 matrix pixel group matches the sample pattern; And converting means for converting the gradation of the target pixel into a value corresponding to the specific sample pattern when the pattern matches the specific sample pattern. Therefore, when the pixel of interest is a background portion or a character portion, the gradation of the pixel of interest having one bit per pixel and a pattern of a 3 × 3 matrix composed of eight pixels surrounding the pixel of interest match the pixel of interest. Since the gradation is converted into the gradation of one pixel M value according to the sample pattern, there is an effect that an image processing apparatus capable of converting one bit 1 pixel binary value into one pixel M value is obtained.

【0126】また、請求項3に記載の発明によれば、請
求項1または2に記載の発明において、前記特定サンプ
ルパターンが画像の段差部に対応するパターンである場
合、前記変換手段は前記注目画素の階調をゼロと最大と
の間の値に変換する構成となっている。そのため、注目
画素を含む3×3マトリクスのパターンが段差部のサン
プルパターンに一致する場合、一画素1ビット2値の注
目画素の階調は一画素M値の階調において白と黒の間の
階調となるように変換されるので、段差部の画像をより
滑らかに再現することが可能な画像処理装置が得られる
という効果を奏する。
According to a third aspect of the present invention, in the first or second aspect of the invention, when the specific sample pattern is a pattern corresponding to a step portion of an image, the converting means sets the target The configuration is such that the gradation of the pixel is converted to a value between zero and the maximum. Therefore, when the pattern of the 3 × 3 matrix including the pixel of interest matches the sample pattern of the stepped portion, the gradation of the pixel of interest having one bit and two bits per pixel is between the white and black in the gradation of one pixel M value. Since the conversion is performed so as to obtain the gradation, there is an effect that an image processing apparatus capable of more smoothly reproducing the image of the step portion can be obtained.

【0127】また、請求項4に記載の発明によれば、請
求項1または2に記載の発明において、前記特定サンプ
ルパターンが画像の斜め線に対応するパターンである場
合、前記変換手段は前記注目画素の階調をゼロと最大と
の間の値に変換する構成となっている。そのため、注目
画素を含む3×3マトリクスのパターンが斜め線のサン
プルパターンに一致する場合、一画素1ビット2値の注
目画素の階調は一画素M値の階調において白と黒の間の
階調となるように変換されるので、途切れのない斜め線
の画像を再現することが可能な画像処理装置が得られる
という効果を奏する。
According to the invention described in claim 4, in the invention described in claim 1 or 2, when the specific sample pattern is a pattern corresponding to a diagonal line of an image, the conversion means sets the target The configuration is such that the gradation of the pixel is converted to a value between zero and the maximum. Therefore, when the pattern of the 3 × 3 matrix including the target pixel matches the sample pattern of the oblique line, the gradation of the target pixel of one bit and one bit per pixel is between the white and black in the gradation of one pixel M value. Since the conversion is performed so as to obtain the gradation, there is an effect that an image processing apparatus capable of reproducing an image of an oblique line without interruption is obtained.

【0128】また、請求項5に記載の発明によれば、請
求項1または2に記載の発明において、前記特定サンプ
ルパターンが画像の縦線に対応するパターンである場
合、前記変換手段は前記注目画素の階調をゼロと最大と
の間の値に変換する構成となっている。そのため、注目
画素を含む3×3マトリクスのパターンが縦線のサンプ
ルパターンに一致する場合、一画素1ビット2値の注目
画素の階調は一画素M値の階調において白と黒の間の階
調となるように変換されるので、横線よりも縦線が強調
される傾向にある電子写真エンジンにおいて縦線と横線
を同じ幅で再現することが可能な画像処理装置が得られ
るという効果を奏する。
According to a fifth aspect of the present invention, in the first or second aspect of the invention, when the specific sample pattern is a pattern corresponding to a vertical line of an image, the converting means sets the target The configuration is such that the gradation of the pixel is converted to a value between zero and the maximum. Therefore, when the pattern of the 3 × 3 matrix including the target pixel matches the sample pattern of the vertical line, the gray level of the target pixel of one bit and one bit per pixel is between the white and black in the gray level of one pixel M value. Since the conversion is performed so that the gradation is obtained, an image processing apparatus capable of reproducing the vertical line and the horizontal line with the same width in an electrophotographic engine in which the vertical line tends to be emphasized rather than the horizontal line can be obtained. Play.

【0129】また、請求項6に記載の発明によれば、請
求項1または2に記載の発明において、前記特定サンプ
ルパターンが画像の横線に対応するパターンである場
合、前記変換手段は前記注目画素の階調をゼロと最大と
の間の値に変換する構成となっている。そのため、注目
画素を含む3×3マトリクスのパターンが横線のサンプ
ルパターンに一致する場合、一画素1ビット2値の注目
画素の階調は一画素M値の階調において白と黒の間の階
調となるように変換されるので、縦線よりも横線が強調
される傾向にある電子写真エンジンにおいて縦線と横線
を同じ幅で再現することが可能な画像処理装置が得られ
るという効果を奏する。
According to the invention described in claim 6, in the invention described in claim 1 or 2, when the specific sample pattern is a pattern corresponding to a horizontal line of an image, the converting means sets the pixel of interest to the target pixel. Is converted to a value between zero and the maximum. Therefore, when the pattern of the 3 × 3 matrix including the target pixel matches the horizontal line sample pattern, the gradation of the target pixel of one bit and one bit per pixel is the gradation between white and black in the gradation of one pixel M value. Is converted so that the horizontal line is more emphasized than the vertical line. In an electrophotographic engine in which the horizontal line tends to be emphasized more than the vertical line, an image processing apparatus capable of reproducing the vertical line and the horizontal line with the same width is obtained. .

【0130】また、請求項7に記載の発明によれば、請
求項1または2に記載の発明において、前記3×3マト
リクス状画素群のパターンが前記サンプルパターンと一
致しない場合、前記変換手段は、前記注目画素の一画素
M値に対応する階調を元の一画素2値における階調に対
応する値とする構成となっている。そのため、注目画素
を含む3×3マトリクスのパターンがサンプルパターン
に一致しなければ、一画素1ビット2値の注目画素の階
調は一画素M値の階調においても元と同じ白または黒に
変換されるので、一画素M値の階調において白と黒の間
の階調となる必要がない画素については、一画素1ビッ
ト2値の元の階調をそのまま一画素M値の階調において
白または黒の階調に変換することが可能な画像処理装置
が得られるという効果を奏する。
According to the invention of claim 7, in the invention of claim 1 or 2, if the pattern of the 3 × 3 matrix pixel group does not match the sample pattern, the conversion means The tone corresponding to the M value of one pixel of the target pixel is set to a value corresponding to the tone of the original binary value of one pixel. Therefore, if the pattern of the 3 × 3 matrix including the target pixel does not match the sample pattern, the grayscale of the target pixel of one bit and one binary value is the same as the original white or black even in the grayscale of one pixel M value. Since the pixel is not required to be converted between white and black in the gray level of one pixel M value, the original gray level of one bit and one bit of one pixel is directly converted to the gray level of one pixel M value. In this case, it is possible to obtain an image processing apparatus capable of converting the image into white or black gradation.

【0131】また、請求項8に記載の発明によれば、請
求項2に記載の発明において、前記注目画素がハーフト
ーン部に含まれる場合、前記変換手段は、前記注目画素
の一画素M値に対応する階調を元の一画素2値における
階調に対応する値とする構成となっている。そのため、
注目画素がハーフトーン部に含まれる場合、一画素1ビ
ット2値の注目画素の階調は一画素M値の階調において
も元と同じ白または黒に変換されるので、キャラクタ部
分の画像をより滑らかに再現するとともに、ハーフトー
ン部分の画像の階調性を劣化させることなく再現するこ
とが可能な画像処理装置が得られるという効果を奏す
る。
According to an eighth aspect of the present invention, in the second aspect of the invention, when the target pixel is included in a halftone portion, the conversion means sets one pixel M value of the target pixel. Is set to a value corresponding to the gradation in the original binary value of one pixel. for that reason,
When the pixel of interest is included in the halftone portion, the grayscale of the pixel of interest having one bit and two bits per pixel is converted to the same white or black as the original in the grayscale of one pixel M value. An effect is obtained that an image processing device that can reproduce more smoothly and that can reproduce without degrading the gradation of the image of the halftone portion is obtained.

【0132】また、請求項9に記載の発明によれば、請
求項2に記載の発明において、前記ハーフトーン判定手
段は、注目画素として連続して入力される白画素の数
が、ディザの黒部分どうしの間に存在する画素数以下で
ある場合、または注目画素として連続して入力される黒
画素の数が、ディザの黒部分を構成する画素数以下であ
る場合に、前記注目画素群はハーフトーン部に含まれる
と判定する構成となっている。そのため、連続して入力
される白画素の数、または連続して入力される黒画素の
数に基づいて、注目画素がディザの白部分またはディザ
の黒部分に含まれるのか、あるいはまったく含まれない
のかということが判定されるので、ハーフトーン部分と
キャラクタ部分と背景部分とを容易に識別することが可
能な画像処理装置が得られるという効果を奏する。
According to a ninth aspect of the present invention, in the second aspect of the present invention, the halftone determining means determines that the number of white pixels continuously input as the pixel of interest is a black dither. If the number of black pixels continuously input as the target pixel is equal to or less than the number of pixels existing between the portions, or if the number of black pixels continuously input as the target pixel is equal to or less than the number of pixels constituting the black portion of the dither, the target pixel group is The configuration is such that it is determined to be included in the halftone section. Therefore, based on the number of continuously input white pixels or the number of continuously input black pixels, the target pixel is included in the white portion of dither, the black portion of dither, or not included at all. Therefore, it is possible to obtain an image processing apparatus that can easily identify a halftone portion, a character portion, and a background portion.

【0133】また、請求項10に記載の発明によれば、
請求項1に記載の発明において、前記取得手段、前記判
定手段および前記変換手段はSIMD型のプロセッサー
により構成される。そのため、一画素1ビット2値から
一画素M値への階調変換処理は、高いパフォーマンスを
備えたSIMD型のプロセッサーよりなるミドルウエア
でおこなうことが可能な画像処理装置が得られるという
効果を奏する。
According to the tenth aspect of the present invention,
In the invention described in claim 1, the acquisition unit, the determination unit, and the conversion unit are configured by a SIMD type processor. Therefore, there is an effect that an image processing apparatus can be obtained in which the gradation conversion processing from one-bit one-bit binary to one-pixel M-value can be performed by middleware including a SIMD type processor having high performance. .

【0134】また、請求項11に記載の発明によれば、
請求項2に記載の発明において、前記ハーフトーン判定
手段、前記取得手段、前記パターン判定手段および前記
変換手段はSIMD型のプロセッサーにより構成され
る。そのため、一画素1ビット2値から一画素M値への
階調変換処理は、高いパフォーマンスを備えたSIMD
型のプロセッサーよりなるミドルウエアでおこなうこと
が可能な画像処理装置が得られるという効果を奏する。
According to the eleventh aspect of the present invention,
In the invention described in claim 2, the halftone determination unit, the acquisition unit, the pattern determination unit, and the conversion unit are configured by a SIMD type processor. For this reason, the gradation conversion processing from one-bit one-bit binary to one-pixel M-value is performed by SIMD with high performance.
There is an effect that an image processing apparatus that can be performed by middleware including a processor of a type is obtained.

【0135】また、請求項12に記載の発明によれば、
一画素1ビット2値の入力画像データを一画素M値の画
像データに変換するにあたり、注目画素および前記注目
画素を囲む8個の画素により構成される3×3マトリク
ス状画素群のパターンが、3×3マトリクス状画素群に
対してあらかじめ用意された1または2以上のサンプル
パターンと一致するか否かを判定する工程と、前記3×
3マトリクス状画素群のパターンが前記サンプルパター
ンのうちの特定サンプルパターンと一致する場合、前記
注目画素の階調を前記特定サンプルパターンに対応する
値に変換する工程と、を含む構成となっている。そのた
め、一画素1ビット2値の注目画素の階調は、その注目
画素とそれを囲む8個の画素よりなる3×3マトリクス
のパターンが一致するサンプルパターンに応じて、一画
素M値の階調に変換されるので、一画素1ビット2値を
一画素M値に変換することが可能な画像処理方法が得ら
れるという効果を奏する。
Further, according to the twelfth aspect of the present invention,
In converting one-bit one-bit binary input image data into one-pixel M-value image data, a pattern of a pixel of interest and a 3 × 3 matrix pixel group composed of eight pixels surrounding the pixel of interest includes: Judging whether or not it matches one or more sample patterns prepared in advance for the 3 × 3 matrix pixel group;
Converting the gradation of the target pixel into a value corresponding to the specific sample pattern when the pattern of the three-matrix pixel group matches a specific sample pattern of the sample patterns. . Therefore, the gradation of the target pixel of one bit and one bit is determined by the M value of one pixel according to the sample pattern in which the pattern of the 3 × 3 matrix including the target pixel and the eight pixels surrounding the target pixel matches. Since the image data is converted to a gray scale, there is an effect that an image processing method capable of converting one bit 1 bit binary value to one pixel M value is obtained.

【0136】また、請求項13に記載の発明によれば、
一画素1ビット2値の入力画像データを一画素M値の画
像データに変換するにあたり、注目画素がハーフトーン
部に含まれるか否かを判定する工程と、前記注目画素が
ハーフトーン部に含まれない場合、前記注目画素および
前記注目画素を囲む8個の画素により構成される3×3
マトリクス状画素群のパターンが、3×3マトリクス状
画素群に対してあらかじめ用意された1または2以上の
サンプルパターンと一致するか否かを判定する工程と、
前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンのうちの特定サンプルパターンと一致する場
合、前記注目画素の階調を前記特定サンプルパターンに
対応する値に変換する工程と、を含む構成となってい
る。そのため、注目画素が背景部分またはキャラクタ部
分である場合、一画素1ビット2値の注目画素の階調
は、その注目画素とそれを囲む8個の画素よりなる3×
3マトリクスのパターンが一致するサンプルパターンに
応じて、一画素M値の階調に変換されるので、一画素1
ビット2値を一画素M値に変換することがが可能な画像
処理方法が得られるという効果を奏する。
According to the thirteenth aspect of the present invention,
A step of determining whether or not the target pixel is included in the halftone portion when converting the input image data of one bit and one bit binary into image data of one pixel M value; If not, the target pixel and 3 × 3 pixels constituted by eight pixels surrounding the target pixel
Determining whether the pattern of the matrix pixel group matches one or more sample patterns prepared in advance for the 3 × 3 matrix pixel group;
Converting the tone of the pixel of interest into a value corresponding to the specific sample pattern when the pattern of the 3 × 3 matrix pixel group matches a specific sample pattern of the sample patterns. Has become. Therefore, when the target pixel is a background portion or a character portion, the gradation of the target pixel of one bit per pixel is 3 × 3 which is composed of the target pixel and eight pixels surrounding the target pixel.
Since the conversion is performed to the gradation of one pixel M value according to the sample pattern in which the patterns of the three matrices match, one pixel
An effect is obtained that an image processing method capable of converting a binary value into an M value per pixel is obtained.

【0137】また、請求項14に記載の発明によれば、
請求項12または13に記載の発明において、前記特定
サンプルパターンが画像の段差部に対応するパターンで
ある場合、前記注目画素の階調をゼロと最大との間の値
に変換する構成となっている。そのため、注目画素を含
む3×3マトリクスのパターンが段差部のサンプルパタ
ーンに一致する場合、一画素1ビット2値の注目画素の
階調は一画素M値の階調において白と黒の間の階調とな
るように変換されるので、段差部の画像をより滑らかに
再現することが可能な画像処理方法が得られるという効
果を奏する。
According to the fourteenth aspect of the present invention,
The invention according to claim 12 or 13, wherein when the specific sample pattern is a pattern corresponding to a step portion of an image, a gradation of the pixel of interest is converted into a value between zero and a maximum. I have. Therefore, when the pattern of the 3 × 3 matrix including the pixel of interest matches the sample pattern of the stepped portion, the gradation of the pixel of interest having one bit and two bits per pixel is between the white and black in the gradation of one pixel M value. Since the conversion is performed so as to obtain the gradation, there is an effect that an image processing method capable of more smoothly reproducing the image of the step portion can be obtained.

【0138】また、請求項15に記載の発明によれば、
請求項12または13に記載の発明において、前記特定
サンプルパターンが画像の斜め線に対応するパターンで
ある場合、前記注目画素の階調をゼロと最大との間の値
に変換する構成となっている。そのため、注目画素を含
む3×3マトリクスのパターンが斜め線のサンプルパタ
ーンに一致する場合、一画素1ビット2値の注目画素の
階調は一画素M値の階調において白と黒の間の階調とな
るように変換されるので、途切れのない斜め線の画像を
再現することが可能な画像処理方法が得られるという効
果を奏する。
According to the fifteenth aspect of the present invention,
The invention according to claim 12 or 13, wherein when the specific sample pattern is a pattern corresponding to a diagonal line of an image, a gradation of the pixel of interest is converted into a value between zero and a maximum. I have. Therefore, when the pattern of the 3 × 3 matrix including the target pixel matches the sample pattern of the oblique line, the gradation of the target pixel of one bit and one bit per pixel is between the white and black in the gradation of one pixel M value. Since the conversion is performed so as to obtain the gradation, there is an effect that an image processing method capable of reproducing an image of an oblique line without interruption is obtained.

【0139】また、請求項16に記載の発明によれば、
請求項12または13に記載の発明において、前記特定
サンプルパターンが画像の縦線に対応するパターンであ
る場合、前記注目画素の階調をゼロと最大との間の値に
変換する構成となっている。そのため、注目画素を含む
3×3マトリクスのパターンが縦線のサンプルパターン
に一致する場合、一画素1ビット2値の注目画素の階調
は一画素M値の階調において白と黒の間の階調となるよ
うに変換されるので、横線よりも縦線が強調される傾向
にある電子写真エンジンにおいて縦線と横線を同じ幅で
再現することが可能な画像処理方法が得られるという効
果を奏する。
According to the sixteenth aspect of the present invention,
The invention according to claim 12 or 13, wherein when the specific sample pattern is a pattern corresponding to a vertical line of an image, a gradation of the pixel of interest is converted to a value between zero and a maximum. I have. Therefore, when the pattern of the 3 × 3 matrix including the target pixel matches the sample pattern of the vertical line, the gray level of the target pixel of one bit and one bit per pixel is between the white and black in the gray level of one pixel M value. Since the conversion is performed so that the gradation is obtained, the image processing method that can reproduce the vertical line and the horizontal line with the same width in an electrophotographic engine in which the vertical line tends to be emphasized rather than the horizontal line is obtained. Play.

【0140】また、請求項17に記載の発明によれば、
請求項12または13に記載の発明において、前記特定
サンプルパターンが画像の横線に対応するパターンであ
る場合、前記注目画素の階調をゼロと最大との間の値に
変換する構成となっている。そのため、注目画素を含む
3×3マトリクスのパターンが横線のサンプルパターン
に一致する場合、一画素1ビット2値の注目画素の階調
は一画素M値の階調において白と黒の間の階調となるよ
うに変換されるので、縦線よりも横線が強調される傾向
にある電子写真エンジンにおいて縦線と横線を同じ幅で
再現することが可能な画像処理方法が得られるという効
果を奏する。
According to the seventeenth aspect of the present invention,
The invention according to claim 12 or 13, wherein when the specific sample pattern is a pattern corresponding to a horizontal line of an image, the gradation of the pixel of interest is converted to a value between zero and the maximum. . Therefore, when the pattern of the 3 × 3 matrix including the target pixel matches the horizontal line sample pattern, the gradation of the target pixel of one bit and one bit per pixel is the gradation between white and black in the gradation of one pixel M value. Since the image data is converted so that the horizontal lines are emphasized rather than the vertical lines, an image processing method capable of reproducing the vertical lines and the horizontal lines with the same width in an electrophotographic engine is obtained. .

【0141】また、請求項18に記載の発明によれば、
請求項12または13に記載の発明において、前記3×
3マトリクス状画素群のパターンが前記サンプルパター
ンと一致しない場合、前記注目画素の一画素M値に対応
する階調を元の一画素2値における階調に対応する値と
する工程をさらに含む構成となっている。そのため、注
目画素を含む3×3マトリクスのパターンがサンプルパ
ターンに一致しなければ、一画素1ビット2値の注目画
素の階調は一画素M値の階調においても元と同じ白また
は黒に変換されるので、一画素M値の階調において白と
黒の間の階調となる必要がない画素については、一画素
1ビット2値の元の階調をそのまま一画素M値の階調に
おいて白または黒の階調に変換することが可能な画像処
理方法が得られるという効果を奏する。
According to the eighteenth aspect of the present invention,
In the invention according to claim 12 or 13, the 3 ×
When the pattern of the three-matrix pixel group does not match the sample pattern, the method further includes the step of setting the tone corresponding to one pixel M value of the target pixel to a value corresponding to the original one pixel binary value. It has become. Therefore, if the pattern of the 3 × 3 matrix including the target pixel does not match the sample pattern, the grayscale of the target pixel of one bit and one binary value is the same as the original white or black even at the grayscale of one pixel. Since the pixel is not required to be converted between white and black in the gray level of one pixel M value, the original gray level of one bit and one bit of one pixel is directly converted to the gray level of one pixel M value. In this case, it is possible to obtain an image processing method capable of converting the image into white or black gradation.

【0142】また、請求項19に記載の発明によれば、
請求項13に記載の発明において、前記注目画素がハー
フトーン部に含まれる場合、前記注目画素の一画素M値
に対応する階調を元の一画素2値における階調に対応す
る値とする工程をさらに含む構成となっている。そのた
め、注目画素がハーフトーン部に含まれる場合、一画素
1ビット2値の注目画素の階調は一画素M値の階調にお
いても元と同じ白または黒に変換されるので、キャラク
タ部分の画像をより滑らかに再現するとともに、ハーフ
トーン部分の画像の階調性を劣化させることなく再現す
ることが可能な画像処理方法が得られるという効果を奏
する。
According to the nineteenth aspect,
In the invention according to claim 13, when the target pixel is included in a halftone portion, a gradation corresponding to one pixel M value of the target pixel is set to a value corresponding to two original pixel binary values. The configuration further includes a step. Therefore, when the pixel of interest is included in the halftone portion, the grayscale of the pixel of interest having one bit and one binary value is converted to the same white or black as the original in the grayscale of one pixel M value. An effect is obtained that an image processing method that can reproduce an image more smoothly and that can reproduce the image without deteriorating the gradation of an image in a halftone portion is obtained.

【0143】また、請求項20に記載の発明によれば、
請求項13に記載の発明において、前記注目画素がハー
フトーン部に含まれるか否かを判定するにあたり、注目
画素として連続して入力される白画素の数が、ディザの
黒部分どうしの間に存在する画素数以下である場合、ま
たは注目画素として連続して入力される黒画素の数が、
ディザの黒部分を構成する画素数以下である場合に、前
記注目画素群はハーフトーン部に含まれると判定する構
成となっている。そのため、連続して入力される白画素
の数、または連続して入力される黒画素の数に基づい
て、注目画素がディザの白部分またはディザの黒部分に
含まれるのか、あるいはまったく含まれないのかという
ことが判定されるので、ハーフトーン部分とキャラクタ
部分と背景部分とを容易に識別することが可能な画像処
理方法が得られるという効果を奏する。
According to the twentieth aspect of the present invention,
In the invention according to claim 13, in determining whether or not the target pixel is included in a halftone portion, the number of white pixels continuously input as the target pixel is determined between black portions of dither. If the number of existing pixels is equal to or less than the number of existing pixels, or the number of black pixels continuously input as the pixel of interest,
When the number of pixels constituting the dither black portion is equal to or less than the number of pixels, the target pixel group is determined to be included in the halftone portion. Therefore, based on the number of continuously input white pixels or the number of continuously input black pixels, the target pixel is included in the white portion of dither, the black portion of dither, or not included at all. Therefore, it is possible to obtain an image processing method that can easily identify a halftone portion, a character portion, and a background portion.

【0144】また、請求項21に記載の発明にかかる記
憶媒体によれば、請求項12〜20に記載された方法を
コンピュータに実行させるプログラムを記録したこと
で、そのプログラムを機械読み取り可能となり、これに
よって、請求項12〜20の動作をコンピュータによっ
て実現することができるという効果を奏する。
According to the storage medium of the present invention, since the program for causing a computer to execute the method according to any one of claims 12 to 20 is recorded, the program can be machine-readable. Thus, an effect is obtained that the operations of claims 12 to 20 can be realized by a computer.

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

【図1】本発明の実施の形態にかかる画像処理装置の構
成を機能的に示すブロック図である。
FIG. 1 is a block diagram functionally showing a configuration of an image processing apparatus according to an embodiment of the present invention.

【図2】実施の形態にかかる画像処理装置のハードウエ
ア構成の一例を示すブロック図である。
FIG. 2 is a block diagram illustrating an example of a hardware configuration of the image processing apparatus according to the embodiment;

【図3】実施の形態にかかる画像処理装置の階調変換に
係わるデータの流れを説明するためのブロック線図であ
る。
FIG. 3 is a block diagram for explaining a data flow relating to gradation conversion of the image processing apparatus according to the embodiment;

【図4】図3の要部を示す図である。FIG. 4 is a diagram showing a main part of FIG. 3;

【図5】実施の形態にかかる画像処理装置の階調変換を
おこなうプロセッサーの構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a processor that performs gradation conversion of the image processing apparatus according to the embodiment;

【図6】実施の形態にかかる画像処理装置の階調変換ブ
ロック内でのデータの流れを示すブロック線図である。
FIG. 6 is a block diagram showing a data flow in a gradation conversion block of the image processing apparatus according to the embodiment;

【図7】実施の形態にかかる画像処理装置に用意された
段差パターンを示す模式図である。
FIG. 7 is a schematic diagram illustrating a step pattern prepared in the image processing apparatus according to the embodiment;

【図8】実施の形態にかかる画像処理装置に用意された
線パターンを示す模式図である。
FIG. 8 is a schematic diagram illustrating a line pattern prepared in the image processing apparatus according to the embodiment;

【図9】実施の形態にかかる画像処理装置においてハー
フトーンを認識するためのステートマシーンを説明する
ための状態遷移図である。
FIG. 9 is a state transition diagram for explaining a state machine for recognizing halftone in the image processing apparatus according to the embodiment;

【図10】実施の形態にかかる画像処理装置のステート
マシーンの実装形態を示す模式図である。
FIG. 10 is a schematic diagram illustrating an implementation of a state machine of the image processing apparatus according to the embodiment;

【図11】実施の形態にかかる画像処理装置のステート
マシーンが実装されたSIMDプロセッサーの演算部を
示すブロック図である。
FIG. 11 is a block diagram illustrating a calculation unit of the SIMD processor in which the state machine of the image processing apparatus according to the embodiment is mounted.

【図12】本発明の実施の形態にかかる画像処理方法の
一例を示すフローチャートである。
FIG. 12 is a flowchart illustrating an example of an image processing method according to an embodiment of the present invention.

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

61 ハーフトーン判定手段 62 取得手段 63 パターン判定手段 64 変換手段 100 画像データ制御ユニット 101 画像読取ユニット 102 画像メモリー制御ユニット 103 画像処理ユニット 104 画像書込ユニット 201 読取ユニット 202 センサー・ボード・ユニット 203 画像データ制御部 204 画像処理プロセッサー 205 ビデオ・データ制御部 210 シリアルバス 211 プロセス・コントローラー 220 パラレルバス 221 画像メモリー・アクセス制御部 222 メモリー・モジュール 224 ファクシミリ制御ユニット 231 システム・コントローラー 61 Halftone determination means 62 Acquisition means 63 Pattern determination means 64 Conversion means 100 Image data control unit 101 Image reading unit 102 Image memory control unit 103 Image processing unit 104 Image writing unit 201 Reading unit 202 Sensor board unit 203 Image data Control unit 204 Image processing processor 205 Video data control unit 210 Serial bus 211 Process controller 220 Parallel bus 221 Image memory access control unit 222 Memory module 224 Facsimile control unit 231 System controller

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 一画素1ビット2値の入力画像データを
一画素M値の画像データに変換する装置において、 注目画素および前記注目画素を囲む8個の画素により構
成される3×3マトリクス状画素群のパターンを取得す
る取得手段と、 前記3×3マトリクス状画素群に対してあらかじめ用意
された1または2以上のサンプルパターンを格納した記
憶手段と、 前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンと一致するか否かを判定する判定手段と、 前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンのうちの特定サンプルパターンと一致する場
合、前記注目画素の階調を前記特定サンプルパターンに
対応する値に変換する変換手段と、 を備えたことを特徴とする画像処理装置。
1. An apparatus for converting one-bit, one-bit, binary input image data into one-pixel M-value image data, comprising: a 3 × 3 matrix comprising a target pixel and eight pixels surrounding the target pixel Acquisition means for acquiring a pattern of a pixel group; storage means for storing one or more sample patterns prepared in advance for the 3 × 3 matrix pixel group; and patterns of the 3 × 3 matrix pixel group Determining means for determining whether or not the pixel pattern matches the sample pattern; and when the pattern of the 3 × 3 matrix pixel group matches a specific sample pattern among the sample patterns, An image processing apparatus, comprising: conversion means for converting a value corresponding to a specific sample pattern into a value.
【請求項2】 一画素1ビット2値の入力画像データを
一画素M値の画像データに変換する装置において、 注目画素がハーフトーン部に含まれるか否かを判定する
ハーフトーン判定手段と、 前記注目画素が前記ハーフトーン部に含まれない場合、
前記注目画素および前記注目画素を囲む8個の画素によ
り構成される3×3マトリクス状画素群のパターンを取
得する取得手段と、 前記3×3マトリクス状画素群に対してあらかじめ用意
された1または2以上のサンプルパターンを格納した記
憶手段と、 前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンと一致するか否かを判定するパターン判定手
段と、 前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンのうちの特定サンプルパターンと一致する場
合、前記注目画素の階調を前記特定サンプルパターンに
対応する値に変換する変換手段と、 を備えたことを特徴とする画像処理装置。
2. An apparatus for converting one-bit, one-bit, binary input image data into one-pixel M-value image data, comprising: a halftone determining unit that determines whether a target pixel is included in a halftone unit; When the target pixel is not included in the halftone portion,
Acquiring means for acquiring a pattern of a 3 × 3 matrix pixel group constituted by the target pixel and eight pixels surrounding the target pixel; and 1 or 2 provided in advance for the 3 × 3 matrix pixel group Storage means for storing two or more sample patterns; pattern determination means for determining whether the pattern of the 3 × 3 matrix pixel group matches the sample pattern; and pattern of the 3 × 3 matrix pixel group Converting means for converting the gradation of the pixel of interest into a value corresponding to the specific sample pattern, when the pattern matches a specific sample pattern of the sample patterns.
【請求項3】 前記特定サンプルパターンが画像の段差
部に対応するパターンである場合、前記変換手段は前記
注目画素の階調をゼロと最大との間の値に変換すること
を特徴とする請求項1または2に記載の画像処理装置。
3. When the specific sample pattern is a pattern corresponding to a step portion of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and a maximum. Item 3. The image processing device according to item 1 or 2.
【請求項4】 前記特定サンプルパターンが画像の斜め
線に対応するパターンである場合、前記変換手段は前記
注目画素の階調をゼロと最大との間の値に変換すること
を特徴とする請求項1または2に記載の画像処理装置。
4. When the specific sample pattern is a pattern corresponding to an oblique line of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and a maximum. Item 3. The image processing device according to item 1 or 2.
【請求項5】 前記特定サンプルパターンが画像の縦線
に対応するパターンである場合、前記変換手段は前記注
目画素の階調をゼロと最大との間の値に変換することを
特徴とする請求項1または2に記載の画像処理装置。
5. The method according to claim 1, wherein when the specific sample pattern is a pattern corresponding to a vertical line of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and a maximum. Item 3. The image processing device according to item 1 or 2.
【請求項6】 前記特定サンプルパターンが画像の横線
に対応するパターンである場合、前記変換手段は前記注
目画素の階調をゼロと最大との間の値に変換することを
特徴とする請求項1または2に記載の画像処理装置。
6. When the specific sample pattern is a pattern corresponding to a horizontal line of an image, the conversion means converts the gradation of the pixel of interest to a value between zero and a maximum. 3. The image processing device according to 1 or 2.
【請求項7】 前記3×3マトリクス状画素群のパター
ンが前記サンプルパターンと一致しない場合、前記変換
手段は、前記注目画素の一画素M値に対応する階調を元
の一画素2値における階調に対応する値とすることを特
徴とする請求項1または2に記載の画像処理装置。
7. When the pattern of the 3 × 3 matrix pixel group does not match the sample pattern, the conversion unit calculates a gradation corresponding to one pixel M value of the target pixel in the original one pixel binary value. The image processing apparatus according to claim 1, wherein the value corresponds to a gradation.
【請求項8】 前記注目画素がハーフトーン部に含まれ
る場合、前記変換手段は、前記注目画素の一画素M値に
対応する階調を元の一画素2値における階調に対応する
値とすることを特徴とする請求項2に記載の画像処理装
置。
8. When the pixel of interest is included in a halftone portion, the conversion means converts a gray level corresponding to one pixel M value of the target pixel to a value corresponding to a gray level in an original binary value of one pixel. The image processing apparatus according to claim 2, wherein:
【請求項9】 前記ハーフトーン判定手段は、 注目画素として連続して入力される白画素の数が、ディ
ザの黒部分どうしの間に存在する画素数以下である場
合、または注目画素として連続して入力される黒画素の
数が、ディザの黒部分を構成する画素数以下である場合
に、前記注目画素群はハーフトーン部に含まれると判定
することを特徴とする請求項2に記載の画像処理装置。
9. The halftone determining means, wherein the number of white pixels continuously input as a target pixel is equal to or less than the number of pixels existing between black portions of dither, or The pixel group of interest is determined to be included in a halftone portion when the number of black pixels input as a result is equal to or less than the number of pixels forming a black portion of dither. Image processing device.
【請求項10】 前記取得手段、前記判定手段および前
記変換手段はSIMDプロセッサーにより構成されるこ
とを特徴とする請求項1に記載の画像処理装置。
10. The image processing apparatus according to claim 1, wherein the acquisition unit, the determination unit, and the conversion unit are configured by a SIMD processor.
【請求項11】 前記ハーフトーン判定手段、前記取得
手段、前記パターン判定手段および前記変換手段はSI
MDプロセッサーにより構成されることを特徴とする請
求項2に記載の画像処理装置。
11. The halftone determination unit, the acquisition unit, the pattern determination unit, and the conversion unit include an SI
The image processing device according to claim 2, wherein the image processing device is configured by an MD processor.
【請求項12】 一画素1ビット2値の入力画像データ
を一画素M値の画像データに変換するにあたり、 注目画素および前記注目画素を囲む8個の画素により構
成される3×3マトリクス状画素群のパターンが、3×
3マトリクス状画素群に対してあらかじめ用意された1
または2以上のサンプルパターンと一致するか否かを判
定する工程と、 前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンのうちの特定サンプルパターンと一致する場
合、前記注目画素の階調を前記特定サンプルパターンに
対応する値に変換する工程と、 を含んだことを特徴とする画像処理方法。
12. A 3 × 3 matrix pixel composed of a target pixel and eight pixels surrounding the target pixel when converting one-bit / one-bit binary input image data into one-pixel M-value image data. Group pattern is 3 ×
1 prepared in advance for a 3 matrix pixel group
Or a step of determining whether or not the pixel pattern matches two or more sample patterns. If the pattern of the 3 × 3 matrix pixel group matches a specific sample pattern of the sample patterns, Converting the value to a value corresponding to the specific sample pattern.
【請求項13】 一画素1ビット2値の入力画像データ
を一画素M値の画像データに変換するにあたり、 注目画素がハーフトーン部に含まれるか否かを判定する
工程と、 前記注目画素がハーフトーン部に含まれない場合、前記
注目画素および前記注目画素を囲む8個の画素により構
成される3×3マトリクス状画素群のパターンが、前記
3×3マトリクス状画素群に対してあらかじめ用意され
た1または2以上のサンプルパターンと一致するか否か
を判定する工程と、 前記3×3マトリクス状画素群のパターンが前記サンプ
ルパターンのうちの特定サンプルパターンと一致する場
合、前記注目画素の階調を前記特定サンプルパターンに
対応する値に変換する工程と、 を含んだことを特徴とする画像処理方法。
13. Converting one-bit one-bit binary image data into one-pixel M-value image data to determine whether or not the pixel of interest is included in a halftone portion; When not included in the halftone portion, a pattern of a 3 × 3 matrix pixel group including the target pixel and eight pixels surrounding the target pixel is prepared in advance for the 3 × 3 matrix pixel group. Determining whether the selected pixel pattern matches one or more sample patterns. If the pattern of the 3 × 3 matrix pixel group matches a specific sample pattern of the sample patterns, Converting the gradation into a value corresponding to the specific sample pattern.
【請求項14】 前記特定サンプルパターンが画像の段
差部に対応するパターンである場合、前記注目画素の階
調をゼロと最大との間の値に変換することを特徴とする
請求項12または13に記載の画像処理方法。
14. The method according to claim 12, wherein when the specific sample pattern is a pattern corresponding to a step portion of an image, the gradation of the target pixel is converted into a value between zero and a maximum. The image processing method according to 1.
【請求項15】 前記特定サンプルパターンが画像の斜
め線に対応するパターンである場合、前記注目画素の階
調をゼロと最大との間の値に変換することを特徴とする
請求項12または13に記載の画像処理方法。
15. The method according to claim 12, wherein when the specific sample pattern is a pattern corresponding to an oblique line of an image, the gradation of the target pixel is converted into a value between zero and a maximum. The image processing method according to 1.
【請求項16】 前記特定サンプルパターンが画像の縦
線に対応するパターンである場合、前記注目画素の階調
をゼロと最大との間の値に変換することを特徴とする請
求項12または13に記載の画像処理方法。
16. The method according to claim 12, wherein when the specific sample pattern is a pattern corresponding to a vertical line of an image, the gradation of the pixel of interest is converted to a value between zero and the maximum. The image processing method according to 1.
【請求項17】 前記特定サンプルパターンが画像の横
線に対応するパターンである場合、前記注目画素の階調
をゼロと最大との間の値に変換することを特徴とする請
求項12または13に記載の画像処理方法。
17. The method according to claim 12, wherein when the specific sample pattern is a pattern corresponding to a horizontal line of an image, the gradation of the target pixel is converted into a value between zero and the maximum. The image processing method described in the above.
【請求項18】 前記3×3マトリクス状画素群のパタ
ーンが前記サンプルパターンと一致しない場合、前記注
目画素の一画素M値に対応する階調を元の一画素2値に
おける階調に対応する値とする工程をさらに含んだこと
を特徴とする請求項12または13に記載の画像処理方
法。
18. When the pattern of the 3 × 3 matrix pixel group does not match the sample pattern, the gray scale corresponding to one pixel M value of the target pixel corresponds to the original binary gray level of one pixel. 14. The image processing method according to claim 12, further comprising a step of setting a value.
【請求項19】 前記注目画素がハーフトーン部に含ま
れる場合、前記注目画素の一画素M値に対応する階調を
元の一画素2値における階調に対応する値とする工程を
さらに含んだことを特徴とする請求項13に記載の画像
処理方法。
19. When the target pixel is included in a halftone portion, the method further includes a step of setting a gradation corresponding to one pixel M value of the target pixel to a value corresponding to the original two-pixel gradation. 14. The image processing method according to claim 13, wherein:
【請求項20】 前記注目画素がハーフトーン部に含ま
れるか否かを判定するにあたり、 注目画素として連続して入力される白画素の数が、ディ
ザの黒部分どうしの間に存在する画素数以下である場
合、または注目画素として連続して入力される黒画素の
数が、ディザの黒部分を構成する画素数以下である場合
に、前記注目画素群はハーフトーン部に含まれると判定
することを特徴とする請求項13に記載の画像処理方
法。
20. In determining whether or not the target pixel is included in a halftone portion, the number of white pixels continuously input as the target pixel is determined by the number of pixels existing between black portions of dither. If the number of black pixels continuously input as the target pixel is equal to or smaller than the number of pixels constituting the black portion of the dither, the target pixel group is determined to be included in the halftone portion. 14. The image processing method according to claim 13, wherein:
【請求項21】 前記請求項12〜請求項20に記載さ
れた方法をコンピュータに実行させるプログラムを記録
したことを特徴とするコンピュータ読み取り可能な記録
媒体。
21. A computer-readable recording medium having recorded thereon a program for causing a computer to execute the method according to any one of claims 12 to 20.
JP2000339596A 2000-11-07 2000-11-07 Image processor, image processing method and computer readable medium recording program for executing that method in computer Pending JP2002152511A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000339596A JP2002152511A (en) 2000-11-07 2000-11-07 Image processor, image processing method and computer readable medium recording program for executing that method in computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000339596A JP2002152511A (en) 2000-11-07 2000-11-07 Image processor, image processing method and computer readable medium recording program for executing that method in computer

Publications (1)

Publication Number Publication Date
JP2002152511A true JP2002152511A (en) 2002-05-24

Family

ID=18814647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000339596A Pending JP2002152511A (en) 2000-11-07 2000-11-07 Image processor, image processing method and computer readable medium recording program for executing that method in computer

Country Status (1)

Country Link
JP (1) JP2002152511A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421448C (en) * 2005-10-14 2008-09-24 致伸科技股份有限公司 Method for enhancing self-tone picture edge
US8120817B2 (en) * 2008-02-29 2012-02-21 Samsung Electronics Co., Ltd. Revising halftone image by adding dot to or filtering edge pixel

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100421448C (en) * 2005-10-14 2008-09-24 致伸科技股份有限公司 Method for enhancing self-tone picture edge
US8120817B2 (en) * 2008-02-29 2012-02-21 Samsung Electronics Co., Ltd. Revising halftone image by adding dot to or filtering edge pixel

Similar Documents

Publication Publication Date Title
JP3927388B2 (en) Image processing apparatus, image processing method, and recording medium
JP4568748B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2007088783A (en) Image processing device, program and image processing method
US8264730B2 (en) Image processing apparatus and image forming apparatus
JP2010278933A (en) Image processing device, image forming device, image processing method, program and recording medium
JP2002152511A (en) Image processor, image processing method and computer readable medium recording program for executing that method in computer
JP2002300407A (en) Image processor, image processing method, image processing program and computer-readable recording medium recorded with the program
JP4753253B2 (en) Image processing device
JP2004128664A (en) Image processor and processing method
JP2005094126A (en) Image processing apparatus, image processing method, and image processing program executable by computer
JP2008092323A (en) Image processing equipment, and image reading apparatus and image forming apparatus equipped with the same
JP3964088B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing program for causing computer to execute the method
JP2010074300A (en) Image processor, image reader and image forming apparatus
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JP2004282720A (en) Image processor, image forming apparatus, image processing method, image processing program and computer readable recording medium with image processing program recorded thereon
JP2002101303A (en) Image processing unit
JP2001189864A (en) Image processor, image processing method computer- readable recording medium recorded with program to allow computer to execute the method
JP2001184502A (en) Device and method for processing image and computer readable recording medium with recorded program for computer to execute the same method
JP2002330288A (en) Image processor and image forming device provided with the same
JP2003274166A (en) Image processor
JP2007036793A (en) Color image processing system
JP2003037739A (en) Data transfer controller, control method therefor, and control program
JPH1188697A (en) Circuit and method for processing image
JP2001186343A (en) Picture processor, picture processing method and computer-readable recording medium with program for making computer perform the method recorded thereon
JPH099038A (en) Picture processor and picture processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060502

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070313