JPH11289456A - Image processor - Google Patents

Image processor

Info

Publication number
JPH11289456A
JPH11289456A JP10091849A JP9184998A JPH11289456A JP H11289456 A JPH11289456 A JP H11289456A JP 10091849 A JP10091849 A JP 10091849A JP 9184998 A JP9184998 A JP 9184998A JP H11289456 A JPH11289456 A JP H11289456A
Authority
JP
Japan
Prior art keywords
filter
pixel
density
difference
data
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
JP10091849A
Other languages
Japanese (ja)
Inventor
Arinori Hikosaka
有儀 彦阪
Katsuya Honda
勝也 本田
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.)
Kyocera Mita Industrial Co Ltd
Original Assignee
Mita Industrial 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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP10091849A priority Critical patent/JPH11289456A/en
Publication of JPH11289456A publication Critical patent/JPH11289456A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To relax a specific step difference in the output signal of a scanner. SOLUTION: A scanner unit 26 is configured by coupling pluralities of line sensor chips. Thus, a step difference corresponding to a chip coupling section appears a specific period in output data. Then a density difference arithmetic section 54 that calculates a density difference between adjacent pixels, a comparison section 55 that compares the density difference with a reference value, and a period discrimination section 56 that collates the comparison result by the comparison section with a specific period are used to discriminate whether or not each pixel is a pixel corresponding to the step difference. A flag corresponding to the discrimination result is written in a flag line memory 53. Based on the written flag, a filter control section 52 changes a filter coefficient of a differentiation filter 51. That is, filter processing to relax a density difference between pixels is applied to density data corresponding to the pixels of the step difference part.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、たとえば、ファ
クシミリ装置やイメージスキャナ等の画像読み取り装置
に適用される画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus applied to an image reading apparatus such as a facsimile apparatus and an image scanner.

【0002】[0002]

【従来の技術】ファクシミリ装置やイメージスキャナな
どの画像読み取り装置には、画像を光学的に読み取り、
その画像に対応した電気信号を発生するための一次元イ
メージセンサが備えられている。このようなイメージセ
ンサには、密着型イメージセンサが適用される場合があ
る。密着型イメージセンサは、読み取り対象の全幅をカ
バーすることができる長さに渡って読み取り画素を配列
した構成を有している。しかし、1チップの半導体素子
でこのような大きなイメージセンサを構成することはで
きないから、複数の一次元イメージセンサチップを直列
に結合することにより、全体として大きなイメージセン
サユニットを構成している。
2. Description of the Related Art An image reading apparatus such as a facsimile apparatus or an image scanner optically reads an image,
A one-dimensional image sensor for generating an electric signal corresponding to the image is provided. A contact image sensor may be applied to such an image sensor. The contact type image sensor has a configuration in which read pixels are arrayed over a length that can cover the entire width of a read target. However, since such a large image sensor cannot be constituted by a single chip semiconductor element, a large image sensor unit is constituted as a whole by connecting a plurality of one-dimensional image sensor chips in series.

【0003】ところが、複数のイメージセンサチップの
特性を厳密に揃えることはできないから、密着型イメー
ジセンサユニットの出力信号には、チップの結合部に対
応した段差が現れる。この出力信号中の段差は、全ての
読み取りラインにおいて同じ位置に現れるから、読み取
られた画像中にはいわゆる縦筋が形成されることにな
る。
However, since the characteristics of a plurality of image sensor chips cannot be strictly matched, a step corresponding to the joint of the chips appears in the output signal of the contact image sensor unit. Since the step in the output signal appears at the same position on all reading lines, a so-called vertical streak is formed in the read image.

【0004】また、画像読み取り装置のなかには、各画
素が文字領域、写真領域、網点領域などの複数種類の領
域のうちのいずれに属するかを判定する領域分離処理を
行うものもある。この領域分離処理による判定結果に基
づいて、各画素に対してエッジ強調処理や中間調処理な
どの適切な処理を施すことにより、たとえば、文字およ
び写真が混在している原稿画像の読み取り処理を良好に
行える。
Some image reading apparatuses perform an area separation process for determining which one of a plurality of types of areas, such as a character area, a photograph area, and a halftone area, each pixel belongs to. Appropriate processing such as edge enhancement processing or halftone processing is performed on each pixel based on the determination result of this area separation processing, so that, for example, reading processing of a document image in which characters and photographs are mixed can be improved. Can be done.

【0005】ところが、上述のような複数個のチップを
結合した密着型イメージセンサを用いる場合には、出力
信号中の段差の影響のために、領域分離処理が不良にな
り、各画素が属する領域の種類を適切に判定することが
できなくなるおそれがある。たとえば、写真画像の読み
取り信号の途中にチップの結合部に相当する段差が現れ
ると、急激な濃度差が生じているものと判定され、その
付近の画素が文字領域に属するものと判定されるおそれ
がある。この場合、写真画像の一部に対してエッジ強調
処理が施され、中間調画像のなめらかさが損なわれるお
それがある。
However, when the contact type image sensor in which a plurality of chips are combined as described above is used, the area separation processing becomes defective due to the influence of the step in the output signal, and the area to which each pixel belongs May not be properly determined. For example, if a step corresponding to the joining portion of a chip appears in the middle of a read signal of a photographic image, it is determined that a sharp density difference has occurred, and pixels in the vicinity thereof may be determined to belong to a character area. There is. In this case, edge enhancement processing is performed on a part of the photographic image, and the smoothness of the halftone image may be impaired.

【0006】[0006]

【発明が解決しようとする課題】そこで、この発明の目
的は、上述の技術的課題を解決し、読み取り手段の出力
信号中の固有段差を緩和し、これにより、適切な画像処
理を実現できる画像処理装置を提供することである。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to solve the above-mentioned technical problem and to reduce an inherent step in an output signal of a reading means, thereby realizing an image processing which can realize appropriate image processing. It is to provide a processing device.

【0007】[0007]

【課題を解決するための手段および発明の効果】上記の
目的を達成するための請求項1記載の発明は、画像を画
素ごとに読み取って各画素の濃度データを出力するとと
もに、出力データ中にほぼ一定の固有周期で段差が現れ
る読み取り手段(1)から出力される濃度データを処理
するための画像処理装置であって、所定方向に沿って隣
接する画素間の濃度データの差を順次求め、この濃度デ
ータの差が極大値をとる極大値点を求める手段(54,
55)と、この求められた極大値点の出現周期を上記固
有周期に相当する基準値と比較する手段(56)と、こ
の比較結果に基づき、上記出現周期と上記固有周期との
間に予め定める一定の関係がある場合に、その極大値点
に対応する画素位置を上記段差に対応した段差画素位置
であると判定する段差位置判定手段(56)と、上記段
差画素位置の付近に相当する画素の濃度データに対し
て、画素間の濃度差を緩和するためのフィルタ処理を施
す濃度差緩和フィルタ(51,DF2,IF)とを含む
ことを特徴とする画像処理装置である。なお、括弧内
は、後述の実施形態における対応構成要素を表す。以
下、この項において同じである。
According to the first aspect of the present invention, an image is read pixel by pixel, and density data of each pixel is output. An image processing apparatus for processing density data output from a reading unit (1) in which a step appears at a substantially constant natural period, and sequentially obtains a difference in density data between adjacent pixels along a predetermined direction, A means (54, 54) for obtaining a maximum value point at which the difference between the density data takes a maximum value.
55), means (56) for comparing the obtained appearance cycle of the maximum value point with a reference value corresponding to the natural cycle, and A step position determining means (56) for determining that a pixel position corresponding to the local maximum value point is a step pixel position corresponding to the step when there is a predetermined fixed relationship; An image processing apparatus characterized by including a density difference mitigation filter (51, DF2, IF) for performing filter processing for reducing the density difference between pixels on the density data of the pixels. Note that the components in parentheses represent corresponding components in the embodiment described later. Hereinafter, the same applies in this section.

【0008】読み取り手段が出力する濃度データに段差
が生じている場合、隣接画素間の濃度データの差は、そ
の段差位置において極大値をとる。そこで、この発明で
は、隣接画素間の濃度データの差が極大値をとる極大値
点の出現周期が、読み取り手段の濃度データに現れる段
差の固有周期と一定の関係にある場合に、その極大値点
の画素位置を段差画素位置と判定するようにしている。
そして、このように段差画素位置とされた画素の付近の
濃度データに対しては、画素間の濃度データの差を緩和
するためのフィルタ処理が施される。
When a step occurs in the density data output from the reading means, the difference in the density data between adjacent pixels takes a local maximum value at the position of the step. Therefore, in the present invention, when the appearance cycle of the maximum value point at which the difference in density data between adjacent pixels takes a maximum value has a fixed relationship with the natural period of the step appearing in the density data of the reading means, The pixel position of the point is determined to be a step pixel position.
Then, the density data in the vicinity of the pixel at the stepped pixel position is subjected to a filtering process for reducing the difference in the density data between the pixels.

【0009】これにより、読み取り手段の出力濃度デー
タ中の段差の影響を緩和することができるので、全ての
画素に対して適切な画像処理(たとえば、領域分離処
理)を施すことが可能になる。なお、上記読み取り手段
は、複数の読み取りセンサチップを結合して構成された
密着型イメージセンサであってもよい。この場合、密着
型イメージセンサの出力信号には、個々のセンサチップ
が有する読み取り画素数を固有周期とした段差が現れる
が、この発明によれば、このような段差の影響を緩和で
きる。
Thus, the effect of the step in the output density data of the reading means can be reduced, so that appropriate image processing (for example, area separation processing) can be performed on all the pixels. Note that the reading unit may be a contact-type image sensor configured by combining a plurality of reading sensor chips. In this case, in the output signal of the contact type image sensor, a step appears with the number of read pixels of each sensor chip as a natural period. According to the present invention, the influence of such a step can be reduced.

【0010】また、密着型イメージセンサは、一次元イ
メージセンサを構成していてもよく、この場合に、上記
「所定方向」は、一次元イメージセンサの読み取り画素
の配列方向に沿う方向とされることが好ましい。また、
極大値点の検出は、隣接間の濃度データが所定の基準値
よりも大きくなる画素位置を検出することにより行われ
てもよい。
The contact type image sensor may constitute a one-dimensional image sensor. In this case, the "predetermined direction" is a direction along the arrangement direction of the read pixels of the one-dimensional image sensor. Is preferred. Also,
The detection of the maximum value point may be performed by detecting a pixel position where the density data between adjacent pixels is larger than a predetermined reference value.

【0011】請求項2記載の発明は、上記読み取り手段
の複数の読み取り画素にそれぞれ対応したフラグを記憶
するためのフラグ用メモリ(53)と、上記段差位置判
定手段によって段差画素位置と判定された画素位置に相
当する読み取り画素に対応付けて、上記フラグ用メモリ
に段差フラグを格納する手段(56)とをさらに含むこ
とを特徴とする請求項1記載の画像処理装置である。
According to a second aspect of the present invention, there is provided a flag memory (53) for storing flags respectively corresponding to a plurality of read pixels of the reading means, and the step position determining means determines the position of the stepped pixel. 2. The image processing apparatus according to claim 1, further comprising means (56) for storing a step flag in said flag memory in association with a read pixel corresponding to a pixel position.

【0012】この構成によれば、段差位置判定手段によ
る判定結果が段差フラグとして保存されるので、この段
差フラグを参照することによって、段差画素位置付近の
画素に対して上記濃度差緩和フィルタによる処理を施す
ことができる。つまり、段差画素位置の検出を一度行え
ば、その後においては、その検出結果を利用できる。な
お、請求項3記載のように、上記画像処理装置は、画素
間の濃度データの差を強調するためのエッジ強調フィル
タ(DF1)と、段差画素位置の付近に相当する画素の
濃度データには上記濃度差緩和フィルタによる処理を施
し、残余の画素の濃度データには上記エッジ強調フィル
タによる処理を施すフィルタ選択手段(52)とをさら
に含むことが好ましい。
According to this structure, the result of the determination by the step position determining means is stored as a step flag. By referring to this step flag, the pixels near the step pixel position are processed by the density difference reducing filter. Can be applied. That is, once the step pixel position is detected, the detection result can be used thereafter. According to a third aspect of the present invention, the image processing apparatus includes an edge enhancement filter (DF1) for enhancing a difference in density data between pixels and a density data of a pixel corresponding to the vicinity of a stepped pixel position. It is preferable that the image processing apparatus further includes a filter selecting means (52) for performing processing by the density difference reduction filter and performing processing by the edge enhancement filter on the density data of the remaining pixels.

【0013】この場合に、請求項4記載のように、上記
濃度差緩和フィルタは、上記エッジ強調フィルタよりも
弱いエッジ強調を施す弱エッジ強調フィルタ(DF2)
であってもよい。また、請求項5記載のように、上記濃
度差緩和フィルタは、積分フィルタ(IF)であっても
よい。
In this case, as described in claim 4, the density difference mitigation filter is a weak edge enhancement filter (DF2) that performs edge enhancement that is weaker than the edge enhancement filter.
It may be. Further, the density difference mitigation filter may be an integration filter (IF).

【0014】[0014]

【発明の実施の形態】以下では、この発明の実施の形態
を、添付図面を参照して詳細に説明する。図1は、この
発明の一実施形態が適用されたファクシミリ装置の画像
処理に関連する部分の電気的構成を示すブロック図であ
る。ファクシミリ装置にセットされた原稿は、スキャナ
1で読み取られる。スキャナ1には、密着型イメージス
キャナユニットが含まれている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a portion related to image processing of a facsimile apparatus to which an embodiment of the present invention is applied. The document set on the facsimile machine is read by the scanner 1. The scanner 1 includes a contact image scanner unit.

【0015】スキャナ1で読み取られた原稿のイメージ
データは、入力インタフェース部2へ与えられ、このイ
ンタフェース部2で信号のサンプルホールド処理等が行
われる。入力インタフェース部2は、この実施形態にお
いては、アナログ回路で構成されており、上記処理はア
ナログ的に行われる。入力インタフェース部2で処理さ
れたイメージデータは、ディジタルAGC回路3へ与え
られて、信号(イメージデータ)のレベルを所望の範囲
に納めるためのゲインコントロールが行われ、かつ、ア
ナログ信号からディジタル信号への変換が行われる。
Image data of a document read by the scanner 1 is supplied to an input interface unit 2, which performs a signal sample-and-hold process and the like. In this embodiment, the input interface unit 2 is configured by an analog circuit, and the above processing is performed in an analog manner. The image data processed by the input interface unit 2 is applied to a digital AGC circuit 3, where a gain control for keeping the level of a signal (image data) within a desired range is performed, and an analog signal is converted to a digital signal. Is performed.

【0016】次いで、ゲインコントロールされたイメー
ジデータは、シェーディング補正回路4へ与えられ、シ
ェーディング歪みが軽減または除去される。シェーディ
ング歪みとは、スキャナ1で原稿を読み取る際の読み取
り用光源の照明むらやその他の原因による画素間濃度む
らをいう。シェーディング歪みが軽減または除去された
イメージデータは、解像度補償フィルタ処理部50へ与
えられる。この解像度補償フィルタ処理部50は、解像
度補償のための微分フィルタ処理を行う。たとえば、ス
キャナ1で文字などの線画を読み取った場合に、画像の
エッジにおいて急峻に変化する信号が出力されるのが理
想的であるが、実際には、スキャナ1の特性上、画像の
エッジ部において信号になまりが生じる。このエッジ部
の信号のなまりを補償して画像のエッジ部を強調するの
が、解像度補償フィルタ処理部50の働きである。
Next, the gain-controlled image data is applied to a shading correction circuit 4 to reduce or eliminate shading distortion. The shading distortion refers to unevenness in illumination of a reading light source when reading an original by the scanner 1 or unevenness in density between pixels due to other causes. The image data from which the shading distortion has been reduced or removed is provided to the resolution compensation filter processing unit 50. This resolution compensation filter processing unit 50 performs differential filter processing for resolution compensation. For example, when a line image such as a character is read by the scanner 1, it is ideal that a signal which changes sharply at the edge of the image is output. , The signal becomes dull. It is the function of the resolution compensation filter processing section 50 to compensate for the rounding of the signal at the edge and enhance the edge of the image.

【0017】解像度補償後のイメージデータは、領域分
離回路5へ与えられる。領域分離回路5では、入力され
るイメージデータが文字を読み取ったイメージデータ
(文字データ)であるか、写真を読み取ったイメージデ
ータ(写真データ)であるか、または、印刷写真、たと
えば新聞紙や雑誌等の写真画像を読み取った網点のイメ
ージデータ(網点データ)であるのかの判別か行われ
る。
The image data after the resolution compensation is applied to the area separating circuit 5. In the region separating circuit 5, the input image data is image data (character data) obtained by reading characters, image data (photo data) obtained by reading a photograph, or a printed photograph, such as newspaper or magazine. It is determined whether the image data is image data (halftone data) of halftone dots obtained by reading the photographic image.

【0018】もし、入力されるイメージデータ中に、文
字データ、写真データおよび網点データが混在している
場合には、各データの領域分離が行われる。領域分離回
路5の出力側には、領域分離されたデータの種類別に異
なる処理を施すフィルタ部6が接続されている。フィル
タ部6は、微分フィルタ6A、積分フィルタ6B、積分
微分フィルタ6Cおよびデータスルーフィルタ6Dを備
えている。そして、フィルタ部6は、領域分離回路5か
ら各画素がいずれの領域のデータであるかを表す領域分
離信号を受けて、各画素に対して適切なフィルタによる
処理を施す。すなわち、文字データは、微分フィルタ6
Aに与えられ、輪郭を鮮明にするための処理が施され
る。網点データは、積分フィルタ6Bに与えられ、デー
タの平滑化がされる。また、各領域の境界画素は、積分
微分フィルタ6Cに与えられ、異なる画素情報の急激な
濃度変化を緩和するための処理が施される。さらに、文
字データおよび網点データ以外のデータ、すなわち、写
真データは、データスルーフィルタ6Dに与えられ、そ
のまま、次の回路に送られる。
If character data, photograph data and halftone data are mixed in the input image data, each data is separated into regions. On the output side of the region separation circuit 5, a filter unit 6 that performs different processing for each type of region-separated data is connected. The filter unit 6 includes a differentiation filter 6A, an integration filter 6B, an integration differentiation filter 6C, and a data through filter 6D. Then, the filter unit 6 receives, from the region separation circuit 5, a region separation signal indicating which region each pixel belongs to, and performs an appropriate filter process on each pixel. That is, the character data is stored in the differential filter 6.
A, and a process for sharpening the outline is performed. The halftone data is supplied to the integration filter 6B, and the data is smoothed. Also, the boundary pixels of each area are provided to the integral / differential filter 6C, and are subjected to processing for alleviating a sudden change in the density of different pixel information. Further, data other than the character data and the halftone dot data, that is, the photographic data, is given to the data through filter 6D and sent to the next circuit as it is.

【0019】フィルタ部6からのデータは、ズーム・ス
ムージング回路9へ与えられる。ズーム・スムージング
回路9では、画像を拡大または縮小する場合に、その拡
大または縮小処理およびそれに伴う画像の歪みを補正す
る処理が行われる。もし、画像を拡大または縮小しない
場合には、ズーム・スムージング回路9は、イメージデ
ータに何らの処理も施さない。
The data from the filter section 6 is applied to a zoom / smoothing circuit 9. In the case of enlarging or reducing an image, the zoom / smoothing circuit 9 performs an enlarging or reducing process and a process of correcting image distortion accompanying the enlarging or reducing process. If the image is not enlarged or reduced, the zoom / smoothing circuit 9 does not perform any processing on the image data.

【0020】ズーム・スムージング回路9までの処理を
経たイメージデータは、その後、種類に応じて次のいず
れかの回路での処理が施され、多値データ(たとえば、
8ビット(0〜255))から二値データ(「0」また
は「1」)への変換が行われる。すなわち、イメージデ
ータが写真データまたは網点データであって、中間調処
理を施すべきものである場合には、γ補正回路10へ与
えられ、人間の目の特性に合わせるようにデータの感度
特性が補正される。さらに、誤差拡散回路11へ与えら
れて良好な中間調表現のための処理が施されたうえで、
二値化される。
The image data that has undergone the processing up to the zoom / smoothing circuit 9 is then subjected to processing in one of the following circuits depending on the type, so that multi-valued data (for example,
Conversion from 8 bits (0 to 255) to binary data ("0" or "1") is performed. That is, when the image data is photograph data or halftone data and is to be subjected to halftone processing, the image data is supplied to the γ correction circuit 10 and the sensitivity characteristics of the data are adjusted to match the characteristics of human eyes. Will be corrected. Further, after being given to the error diffusion circuit 11 and subjected to a process for good halftone expression,
It is binarized.

【0021】他方、イメージデータが文字データであ
り、単純二値化処理を施すべきデータの場合には、二値
化回路12へ与えられる。二値化回路12は、二値化の
ためのスライスレベルを調整して、背景と文字や線画等
とを区別する。このとき、濃度が適正になるよう、自動
濃度調整処理も行われる。そして二値化回路12の出力
は、孤立点除去回路13へ与えられて、ノイズ等のため
に現れた孤立した黒点や白点等の除去がなされる。
On the other hand, if the image data is character data and data to be subjected to simple binarization processing, it is supplied to the binarization circuit 12. The binarization circuit 12 adjusts a slice level for binarization to distinguish a background from characters, line drawings, and the like. At this time, an automatic density adjustment process is also performed so that the density becomes appropriate. The output of the binarizing circuit 12 is supplied to an isolated point removing circuit 13 to remove isolated black points and white points that appear due to noise or the like.

【0022】以上の処理により生成された二値化データ
は、出力回路14へ与えられ、図示しない送信回路へ出
力され、或いは印刷回路へ出力される。図2は、解像度
補償フィルタ処理部50等の構成を説明するための図で
ある。この実施形態に係るファクシミリ装置では、ロー
ラ21により搬送される原稿の搬送経路22上の所定の
位置が読み取り位置23とされている。読み取り位置2
3には、たとえば、原稿搬送経路22の搬送方向に直交
する方向に延びるシェーディング補正用濃度基準板とし
ての白基準板24が配置されている。また、この白基準
板24または原稿搬送経路22を搬送される原稿を読み
取り位置23において照明するためのランプ25と、こ
のランプ25で照明された白基準板24または読み取り
位置23における原稿内容を読み取るための密着型イメ
ージスキャナユニット26が配置されている。
The binarized data generated by the above processing is supplied to the output circuit 14 and output to a transmission circuit (not shown) or to a printing circuit. FIG. 2 is a diagram for explaining a configuration of the resolution compensation filter processing unit 50 and the like. In the facsimile apparatus according to this embodiment, a predetermined position on the conveyance path 22 of the document conveyed by the roller 21 is a reading position 23. Reading position 2
For example, a white reference plate 24 serving as a shading correction density reference plate extending in a direction orthogonal to the conveyance direction of the document conveyance path 22 is disposed in the reference numeral 3. Further, a lamp 25 for illuminating the original conveyed through the white reference plate 24 or the original conveyance path 22 at the reading position 23, and reading the original content at the white reference plate 24 or the reading position 23 illuminated by the lamp 25. Contact type image scanner unit 26 is arranged.

【0023】密着型イメージスキャナユニット26は、
原稿の全幅をカバーする長さの範囲に渡って一直線状に
読み取り画素を配列して構成されている。このような密
着型イメージスキャナユニット26は、単一の半導体チ
ップで構成することができないので、複数のラインセン
サチップを直列に結合して構成されている。ところが、
複数のラインセンサチップは、異なる特性を有している
のが通常であるから、チップの結合部付近において、密
着型イメージスキャナユニット26の出力レベルには段
差が生じることになる。
The contact type image scanner unit 26 includes:
Read pixels are arranged in a straight line over a range of length covering the entire width of the document. Since such a contact type image scanner unit 26 cannot be constituted by a single semiconductor chip, it is constituted by connecting a plurality of line sensor chips in series. However,
Since a plurality of line sensor chips usually have different characteristics, a step occurs in the output level of the contact image scanner unit 26 near the junction of the chips.

【0024】イメージスキャナユニット26で読み取ら
れたイメージデータは、図1で説明したように、入力イ
ンタフェース部2およびディジタルAGC回路3を経
て、さらにシェーディング補正回路4へと与えられる。
シェーディング補正回路4は、イメージスキャナユニッ
ト26の複数の読み取り画素にそれぞれ対応した白基準
値WSTおよび黒基準値BSTに基づいて、入力画像デ
ータDに対して、下記第(1) 式によるシェーディング補
正演算を施し、シェーディング補正後のデータSOUT
を演算して、解像度補償フィルタ処理部50に与える。
The image data read by the image scanner unit 26 is supplied to the shading correction circuit 4 through the input interface unit 2 and the digital AGC circuit 3 as described with reference to FIG.
The shading correction circuit 4 performs a shading correction operation on the input image data D based on the white reference value WST and the black reference value BST corresponding to a plurality of read pixels of the image scanner unit 26 using the following equation (1). And the data SOUT after shading correction
Is given to the resolution compensation filter processing unit 50.

【0025】[0025]

【数1】 (Equation 1)

【0026】上記第(1) 式において、OFFSETは、オフセ
ット値を表す。たとえば、ディジタルAGC回路3に備
えられたアナログ/ディジタル変換器が7ビットのデー
タ深さを有している場合に、白基準値の最小値が「00
00111」であるとすると、実質的には4ビットで階
調表現が行われていることになる。そこで、シェーディ
ング補正演算式の除数および被除数から一定のオフセッ
ト値OFFSETを減じておくことにより、濃度を7ビットで
階調表現したデータをシェーディング補正後のデータS
OUTとして得ることができる。つまり、アナログ/デ
ィジタル変換器のデータ深さを有効に利用して、補正後
のデータSOUTのダイナミックレンジを大きくとるこ
とができる。
In the above equation (1), OFFSET represents an offset value. For example, when the analog / digital converter provided in the digital AGC circuit 3 has a data depth of 7 bits, the minimum value of the white reference value is “00”.
If it is "00111", it means that the gradation expression is substantially performed by 4 bits. Therefore, by subtracting a constant offset value OFFSET from the divisor and the dividend in the shading correction operation expression, the data representing the density in 7-bit gradation is represented by the data S after the shading correction.
OUT can be obtained. That is, the dynamic range of the corrected data SOUT can be increased by effectively utilizing the data depth of the analog / digital converter.

【0027】白基準値WSTは、密着型イメージスキャ
ナユニット26によって白基準板24の読み取りを行わ
せ、そのときにシェーディング補正回路4に入力される
イメージデータをラインメモリに記憶することによって
取得できる。また、黒基準値BSTは、ランプ25を消
灯した状態で密着型イメージスキャナユニット26に読
み取り動作を行わせ、そのときにシェーディング補正回
路4に入力されるイメージデータをラインメモリに記憶
することによって取得できる。
The white reference value WST can be obtained by causing the contact type image scanner unit 26 to read the white reference plate 24 and storing the image data input to the shading correction circuit 4 in the line memory at that time. The black reference value BST is obtained by causing the contact-type image scanner unit 26 to perform a reading operation with the lamp 25 turned off, and storing the image data input to the shading correction circuit 4 in the line memory at that time. it can.

【0028】解像度補償フィルタ処理部50は、シェー
ディング補正回路4からのイメージデータに対して微分
フィルタ処理を施す微分フィルタ51を備えている。こ
の微分フィルタ51は、画像のエッジ部を強調する働き
を有しており、この微分フィルタ51の出力データが、
領域分離回路5に入力されるようになっている。微分フ
ィルタ51による処理は一定ではなく、フィルタ制御部
52によって、フィルタ係数が、たとえば、強いエッジ
強調のための係数と、弱いエッジ強調のための係数との
2種類に可変設定されるようになっている。
The resolution compensation filter processing section 50 includes a differential filter 51 for performing a differential filter process on the image data from the shading correction circuit 4. The differential filter 51 has a function of enhancing an edge portion of an image, and output data of the differential filter 51 is
The data is input to the area separation circuit 5. The processing by the differential filter 51 is not constant, and the filter control unit 52 variably sets the filter coefficients to two types, for example, a coefficient for strong edge enhancement and a coefficient for weak edge enhancement. ing.

【0029】フィルタ制御部52は、スキャナユニット
26における半導体チップの結合部に相当する段差部の
画素のイメージデータに対しては、弱いエッジ強調処理
を施し、それ以外の画素のイメージデータに対しては強
いエッジ強調処理を施すように、微分フィルタ51のフ
ィルタ係数を制御する。いずれの画素が段差部の画素で
あるかは、フラグ用ラインメモリ53に記憶されてい
る。このフラグ用ラインメモリ53は、スキャナユニッ
ト26の各読み取り画素に対して、その画素が段差部の
画素であるか否かを表すフラグを記憶できるようになっ
ている。フィルタ制御部52は、フラグ用ラインメモリ
53に記憶されたフラグを参照して、微分フィルタ51
のフィルタ係数を制御する。
The filter control unit 52 performs a weak edge emphasis process on the image data of the pixel at the stepped portion corresponding to the connection portion of the semiconductor chip in the scanner unit 26, and performs image processing on the image data of the other pixels. Controls the filter coefficient of the differential filter 51 so that strong edge enhancement processing is performed. Which pixel is the pixel of the step is stored in the flag line memory 53. The flag line memory 53 can store, for each read pixel of the scanner unit 26, a flag indicating whether or not the pixel is a pixel of a step portion. The filter control unit 52 refers to the flag stored in the flag line memory 53 and
Is controlled.

【0030】フラグ用ラインメモリ53に上記フラグを
書き込むために、解像度補償フィルタ処理部50は、隣
接画素間のイメージデータの差分を演算するための濃度
差分演算部54と、この濃度差分演算部54で演算され
た差分を所定の基準値と大小比較する比較部55と、こ
の比較部55から隣接画素間のイメージデータの差分が
上記基準値を超える周期が、スキャナユニット26に固
有の周期と合致するか否かを判定する周期判定部56と
を備えている。
In order to write the flag in the flag line memory 53, the resolution compensation filter processing unit 50 includes a density difference calculation unit 54 for calculating a difference between image data between adjacent pixels, and a density difference calculation unit 54. And a period in which the difference between the image data between adjacent pixels from the comparison unit 55 exceeds the reference value matches a period unique to the scanner unit 26. And a cycle determination unit 56 for determining whether or not to perform.

【0031】スキャナユニット26を構成する複数の半
導体チップの結合部においては、ディジタルAGC回路
3から出力されるイメージデータに段差が生じる。この
段差は、1つの半導体チップ上の読み取り画素数の周期
で現れるはずである。すなわち、たとえば、8本/mmの
読み取り解像度で、半導体チップが8mmピッチで結合さ
れているとすれば、1つの半導体チップには、64個の
読み取り画素が形成されている。この場合には、64画
素周期で段差が現れるはずである。
At the junction of the plurality of semiconductor chips constituting the scanner unit 26, a step occurs in the image data output from the digital AGC circuit 3. This step should appear in the cycle of the number of read pixels on one semiconductor chip. That is, for example, assuming that the semiconductor chips are coupled at a pitch of 8 mm at a reading resolution of 8 lines / mm, 64 read pixels are formed on one semiconductor chip. In this case, a step should appear every 64 pixels.

【0032】そこで、この実施形態においては、たとえ
ば、シェーディング補正のための白基準値WSTを検出
する際に、濃度差分演算部54において隣接画素間のイ
メージデータ(白基準板24を読み取って得られるデー
タ)の差分(絶対値)を求め、この差分が一定値を超え
る画素位置を濃度データの差の極大値点として比較部5
5で検出して、その画素位置を段差候補とする。そし
て、この段差候補が、固有の周期(上述の場合には64
画素)で現れた場合には、その画素位置において段差が
生じているものと判定して、フラグ用ラインメモリ53
の当該画素位置に対応する領域に、段差位置であること
を表す段差フラグが格納される。
Therefore, in this embodiment, for example, when detecting the white reference value WST for shading correction, the image data between adjacent pixels (obtained by reading the white reference plate 24) in the density difference calculating section 54. The difference (absolute value) of the data) is determined, and a pixel position where the difference exceeds a certain value is determined as the maximum value point of the difference of the density data.
5, and the pixel position is determined as a step candidate. Then, this step candidate has a unique period (64 in the above case).
When the pixel line appears at the pixel position, it is determined that a step occurs at the pixel position, and the flag line memory 53 is determined.
In the area corresponding to the pixel position, a step flag indicating the step position is stored.

【0033】この場合に、段差位置と判定された画素位
置についてのみ段差フラグをセットしてもよいが、段差
位置と判定された画素位置の近隣の複数の画素位置につ
いても、段差フラグをセットしてもよい。いくつの画素
位置について段差フラグをセットするかは、段差におけ
る濃度差が微分フィルタ51のフィルタ処理の空間マト
リクスに影響を及ぼす範囲を考慮して定められればよ
い。たとえば、3×3画素の空間マトリクスによるフィ
ルタ処理では、段差位置の画素位置の前後の1画素分の
画素位置について段差フラグをセットすればよい。
In this case, the step flag may be set only for the pixel position determined to be the step position, but the step flag is also set for a plurality of pixel positions near the pixel position determined to be the step position. You may. The number of pixel positions at which the step flag is set may be determined in consideration of the range in which the density difference at the step affects the spatial matrix of the filter processing of the differential filter 51. For example, in the filtering process using a 3 × 3 pixel space matrix, the step flag may be set for one pixel position before and after the pixel position at the step position.

【0034】図3は、フィルタ制御部52の働きを説明
するための図である。スキャナユニット26の読み取り
画素列PRが図解的に示されており、段差位置の読み取
り画素が「*」で示されている。この段差位置の読み取
り画素「*」およびその前後の読み取り画素を含む3つ
の読み取り画素に対して、フラグが「1」(段差フラ
グ)にセットされ、残余の画素位置に対応するフラグは
「0」にクリアされている。
FIG. 3 is a diagram for explaining the operation of the filter control unit 52. A read pixel row PR of the scanner unit 26 is schematically illustrated, and a read pixel at a step position is indicated by “*”. The flag is set to “1” (step flag) for the three read pixels including the read pixel “*” at this step position and the read pixels before and after it, and the flag corresponding to the remaining pixel position is “0”. Has been cleared.

【0035】フィルタ制御部52は、たとえば、強いエ
ッジ強調のための3×3の空間マトリクスを形成する第
1の微分フィルタDF1に対応したフィルタ係数を微分
フィルタ51に設定することができ、また、弱いエッジ
強調のための3×3の空間マトリクスを形成する第2の
微分フィルタDF2に対応したフィルタ係数を微分フィ
ルタ51に設定することができる。具体的には、フィル
タ制御部52は、段差フラグが「1」にセットされてい
る画素位置に相当する読み取り画素からのイメージデー
タに対しては、第2の微分フィルタDF2に対応したフ
ィルタ係数を微分フィルタ51に設定し、フラグが
「0」にリセットされている画素位置に相当する読み取
り画素からのイメージデータに対しては、第1の微分フ
ィルタDF1に対応したフィルタ係数を微分フィルタ5
1に設定する。
The filter control unit 52 can set a filter coefficient corresponding to the first differential filter DF1 forming a 3 × 3 spatial matrix for strong edge enhancement in the differential filter 51, for example. A filter coefficient corresponding to the second differential filter DF2 that forms a 3 × 3 spatial matrix for weak edge enhancement can be set in the differential filter 51. Specifically, the filter control unit 52 applies a filter coefficient corresponding to the second differential filter DF2 to image data from a read pixel corresponding to a pixel position where the level difference flag is set to “1”. For the image data from the read pixel corresponding to the pixel position where the flag is reset to “0”, the filter coefficient corresponding to the first differential filter DF 1 is set to the differential filter 5.
Set to 1.

【0036】このように、スキャナユニット26の出力
信号の段差位置付近のイメージデータに対しては、弱い
エッジ強調処理が施されるので、チップ結合部に対応す
る出力信号の段差が緩和される。これにより、出力画像
中において、チップ結合部に対応した縦筋が形成された
りすることを防止できる。また、領域分離回路5におけ
る領域分離処理に対する段差部の悪影響を抑制できるか
ら、各画素の領域判定を正確に行うことができるように
なり、各画素の属する領域の種類に応じた処理を適正に
施すことができる。これにより、再生画像の品質を向上
することができる。
As described above, since the weak edge enhancement processing is performed on the image data in the vicinity of the step position of the output signal of the scanner unit 26, the step of the output signal corresponding to the chip connecting portion is reduced. Accordingly, it is possible to prevent the formation of vertical streaks corresponding to the chip connection portion in the output image. Further, since the adverse effect of the step portion on the area separation processing in the area separation circuit 5 can be suppressed, the area determination of each pixel can be performed accurately, and the processing according to the type of the area to which each pixel belongs can be appropriately performed. Can be applied. Thereby, the quality of the reproduced image can be improved.

【0037】この発明の一実施形態について説明した
が、この発明は他の形態で実施することも可能である。
たとえば、上述の実施形態では、強いエッジ強調のため
の第1の微分フィルタDF1と、弱いエッジ強調のため
の第2の微分フィルタDF2とを使い分けることによ
り、段差部の画素とそれ以外の画素に対する解像度補償
のためのフィルタ処理を異ならせているが、微分フィル
タと積分フィルタと切り換えて使うようにしてもよい。
すなわち、たとえば、段差部の画素については、図3に
おいて参照符号IFで示すような3×3の空間マトリク
スを形成する積分フィルタを用い、残余の画素について
は、強いエッジ強調のための第1の微分フィルタDF1
を使うようにしてもよい。
Although one embodiment of the present invention has been described, the present invention can be embodied in other forms.
For example, in the above-described embodiment, by selectively using the first differential filter DF1 for strong edge enhancement and the second differential filter DF2 for weak edge enhancement, the pixel of the step portion and the other pixels are not used. Although the filter processing for the resolution compensation is different, the filter processing may be switched between the differential filter and the integral filter.
That is, for example, an integration filter that forms a 3 × 3 spatial matrix as indicated by reference numeral IF in FIG. 3 is used for the pixels in the stepped portion, and the first pixels for strong edge enhancement are used for the remaining pixels. Differential filter DF1
May be used.

【0038】また、フィルタサイズは、3×3画素のマ
トリクスに限らず、図4に示すような、5×5画素のマ
トリクスが適用されてもよい。この図4には、5×5の
空間マトリクスを形成する微分フィルタの一例が示され
ている。この場合には、段差フラグは、段差部の画素
「*」と、その前後の2画素ずつとを含む連続5画素に
ついて、「1」にセットすることが好ましい。
Further, the filter size is not limited to a matrix of 3 × 3 pixels, and a matrix of 5 × 5 pixels as shown in FIG. 4 may be applied. FIG. 4 shows an example of a differential filter forming a 5 × 5 spatial matrix. In this case, it is preferable that the step flag is set to “1” for five consecutive pixels including the pixel “*” at the step portion and two pixels before and after the pixel.

【0039】さらに、この発明は、ファクシミリ装置に
限らず、イメージスキャナおよびディジタル複写機など
にも適用することが可能である。その他、特許請求の範
囲に記載された技術的事項の範囲で種々の設計変更を施
すことが可能である。
Further, the present invention can be applied not only to a facsimile apparatus but also to an image scanner, a digital copying machine, and the like. In addition, it is possible to make various design changes within the technical scope described in the claims.

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

【図1】この発明の一実施形態が適用されたファクシミ
リ装置の画像処理に関連する構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration related to image processing of a facsimile apparatus to which an embodiment of the present invention is applied.

【図2】解像度補償フィルタ処理部の構成を説明するた
めのブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a resolution compensation filter processing unit.

【図3】解像度補償フィルタ処理部の動作を説明するた
めのブロック図である。
FIG. 3 is a block diagram for explaining an operation of a resolution compensation filter processing unit.

【図4】5×5画素のマトリクスの微分フィルタの一例
を示す図である。
FIG. 4 is a diagram showing an example of a differential filter of a 5 × 5 pixel matrix.

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

1 スキャナ 50 解像度補償フィルタ処理部 51 微分フィルタ 52 フィルタ制御部 53 フラグ用ラインメモリ 54 濃度差演算部 55 比較部 56 周期判定部 DF1 第1の微分フィルタ DF2 第2の微分フィルタ IF 積分フィルタ Reference Signs List 1 scanner 50 resolution compensation filter processing unit 51 differentiation filter 52 filter control unit 53 flag line memory 54 density difference calculation unit 55 comparison unit 56 cycle determination unit DF1 first differentiation filter DF2 second differentiation filter IF integration filter

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】画像を画素ごとに読み取って各画素の濃度
データを出力するとともに、出力データ中にほぼ一定の
固有周期で段差が現れる読み取り手段から出力される濃
度データを処理するための画像処理装置であって、 所定方向に沿って隣接する画素間の濃度データの差を順
次求め、この濃度データの差が極大値をとる極大値点を
求める手段と、 この求められた極大値点の出現周期を上記固有周期に相
当する基準値と比較する手段と、 この比較結果に基づき、上記出現周期と上記固有周期と
の間に予め定める一定の関係がある場合に、その極大値
点に対応する画素位置を上記段差に対応した段差画素位
置であると判定する段差位置判定手段と、 上記段差画素位置の付近に相当する画素の濃度データに
対して、画素間の濃度差を緩和するためのフィルタ処理
を施す濃度差緩和フィルタとを含むことを特徴とする画
像処理装置。
An image processing apparatus for reading an image for each pixel and outputting density data of each pixel, and processing density data output from a reading unit in which a step appears in the output data at a substantially constant natural period. An apparatus for sequentially calculating a difference in density data between adjacent pixels along a predetermined direction, and determining a maximum value point at which the difference in the density data takes a maximum value; and an appearance of the determined maximum value point. Means for comparing the cycle with a reference value corresponding to the natural cycle, and, when there is a predetermined fixed relationship between the appearance cycle and the natural cycle, based on the comparison result, A step position determining means for determining a pixel position to be a step pixel position corresponding to the step; and a density difference between pixels for density data of a pixel corresponding to the vicinity of the step pixel position. An image processing apparatus comprising: a density difference mitigation filter for performing the filter processing of (1).
【請求項2】上記読み取り手段の複数の読み取り画素に
それぞれ対応したフラグを記憶するためのフラグ用メモ
リと、 上記段差位置判定手段によって段差画素位置と判定され
た画素位置に相当する読み取り画素に対応付けて、上記
フラグ用メモリに段差フラグを格納する手段とをさらに
含むことを特徴とする請求項1記載の画像処理装置。
2. A flag memory for storing flags respectively corresponding to a plurality of read pixels of said reading means, and a read memory corresponding to a pixel position determined as a step pixel position by said step position determining means. 2. The image processing apparatus according to claim 1, further comprising means for storing a level difference flag in the flag memory.
【請求項3】画素間の濃度データの差を強調するための
エッジ強調フィルタと、 段差画素位置の付近に相当する画素の濃度データには上
記濃度差緩和フィルタによる処理を施し、残余の画素の
濃度データには上記エッジ強調フィルタによる処理を施
すフィルタ選択手段とをさらに含むことを特徴とする請
求項1または2記載の画像処理装置。
3. An edge emphasis filter for emphasizing a difference in density data between pixels, and density data of a pixel corresponding to the vicinity of a step pixel position are subjected to processing by the density difference mitigation filter. 3. The image processing apparatus according to claim 1, further comprising: a filter selecting unit that performs processing by the edge enhancement filter on the density data.
【請求項4】上記濃度差緩和フィルタは、上記エッジ強
調フィルタよりも弱いエッジ強調を施す弱エッジ強調フ
ィルタであることを特徴とする請求項3記載の画像処理
装置。
4. The image processing apparatus according to claim 3, wherein the density difference mitigation filter is a weak edge emphasis filter that performs edge emphasis weaker than the edge emphasis filter.
【請求項5】上記濃度差緩和フィルタは、積分フィルタ
であることを特徴とする請求項1ないし3のいずれかに
記載の画像処理装置。
5. An image processing apparatus according to claim 1, wherein said density difference reduction filter is an integration filter.
JP10091849A 1998-04-03 1998-04-03 Image processor Pending JPH11289456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10091849A JPH11289456A (en) 1998-04-03 1998-04-03 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10091849A JPH11289456A (en) 1998-04-03 1998-04-03 Image processor

Publications (1)

Publication Number Publication Date
JPH11289456A true JPH11289456A (en) 1999-10-19

Family

ID=14038030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10091849A Pending JPH11289456A (en) 1998-04-03 1998-04-03 Image processor

Country Status (1)

Country Link
JP (1) JPH11289456A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008164745A (en) * 2006-12-27 2008-07-17 Kyocera Mita Corp Image forming device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008164745A (en) * 2006-12-27 2008-07-17 Kyocera Mita Corp Image forming device

Similar Documents

Publication Publication Date Title
US7068852B2 (en) Edge detection and sharpening process for an image
JPH0646255A (en) Picture processing unit
JP3134292B2 (en) Image processing device
JP3083673B2 (en) Image area identification device
JP4502001B2 (en) Image processing apparatus and image processing method
JPH08235355A (en) Picture processor
JP4024737B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method, and program
JPH11289456A (en) Image processor
JP2861410B2 (en) Image processing device
JP3124168B2 (en) Shading correction device
JP3589847B2 (en) Shading correction device and shading correction method
JP3725255B2 (en) Digital image processing device
JP2001285631A (en) Area discrimination method and device
JP2002290727A (en) Image processing method, its apparatus, its storage medium, and its program
JP3974236B2 (en) Image processing apparatus and method
JP2810897B2 (en) Image signal processing device
JPH08340447A (en) Image processor with through prevention function
JP3792402B2 (en) Image processing apparatus, binarization method, and machine-readable recording medium recording a program for causing a computer to execute the binarization method
JP2002152473A (en) Image input device
JPH11215372A (en) Shading correction device and shading correction method
JPH11275358A (en) Device and method for processing picture
JPH11205600A (en) Image processor and image processing method
JPH02163883A (en) Picture processing system
JP3679993B2 (en) Image processing device
JPH11205599A (en) Image processor and image processing method