[go: up one dir, main page]

JPH06217114A - Halftone image processor - Google Patents

Halftone image processor

Info

Publication number
JPH06217114A
JPH06217114A JP5077712A JP7771293A JPH06217114A JP H06217114 A JPH06217114 A JP H06217114A JP 5077712 A JP5077712 A JP 5077712A JP 7771293 A JP7771293 A JP 7771293A JP H06217114 A JPH06217114 A JP H06217114A
Authority
JP
Japan
Prior art keywords
image
unit
data
edge
edge portion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5077712A
Other languages
Japanese (ja)
Other versions
JP3136024B2 (en
Inventor
Toshihiro Okabashi
俊裕 岡橋
Hiroshi Maeda
博 前田
Toshio Yamagishi
外志雄 山岸
Norihide Kunikawa
憲英 国川
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP05077712A priority Critical patent/JP3136024B2/en
Priority to US08/152,975 priority patent/US5515180A/en
Priority to EP99121885A priority patent/EP0982929B1/en
Priority to DE69328660T priority patent/DE69328660T2/en
Priority to DE69333444T priority patent/DE69333444T2/en
Priority to EP93118756A priority patent/EP0599243B1/en
Publication of JPH06217114A publication Critical patent/JPH06217114A/en
Priority to US08/449,542 priority patent/US5748794A/en
Application granted granted Critical
Publication of JP3136024B2 publication Critical patent/JP3136024B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To improve the gradation expression of print picture quality in a halftone by reducing driving nonuniformity at a printing part in the case of recording an image. CONSTITUTION:Concernng data inputted by an image reader, data quantized by a halftone image processing circuit are successively processed for the unit of two pixels. Concerning these data of two pixels, first of all, whether it is an edge or not is decided by an edge decision part 1. Based on the result of this decision, an objective image for performing arithmetic operation between pixels is switched. When it is not the edge, arithmetic operation is executed by an arithmetic part 2 and when it is the edge, correction emphasis is performed. Thus, even when a dot is moved by driving nonuniformity at the printer part, it does not stand out and picture quality is improved especially concerning the halftone part.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、中間調画像処理装置に
関し、より詳細には、中間調画像処理で量子化されたデ
ータに画素間演算を行うことにより、中間調の印字画質
の向上を図るようにした中間調画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a halftone image processing apparatus, and more particularly, to an improvement in halftone print image quality by performing inter-pixel calculation on data quantized by halftone image processing. The present invention relates to a halftone image processing device.

【0002】[0002]

【従来の技術】従来の中間調画像処理においては、量子
化された値をそのままの状態で印字していた。すなわ
ち、ディジタル情報として入力された画像データを、例
えば、0〜255の階調で1画素が読み込まれる。この
ままの状態では、1画素0〜255のいずれかで表現さ
れるために8bitの情報が必要であり、これを画像全体
で記憶しようとすると膨大なメモリが必要となる。ま
た、このままの状態では、1画素を0〜255の階調で
印字できる装置がないと読み取った画像を印字できな
い。そこで、1画素のデータ量を減らし、印字の際の1
画素の階調を少なくすることで、少ないメモリ量と階調
性がそれほど高くない印字装置でも表現できるようにし
たものである。
2. Description of the Related Art In conventional halftone image processing, a quantized value is printed as it is. That is, one pixel of the image data input as digital information is read with a gradation of 0 to 255, for example. In this state, 8-bit information is required to be expressed by one pixel 0 to 255, and an enormous memory is required to store this information in the entire image. Further, in this state, the read image cannot be printed unless there is a device capable of printing one pixel with gradation of 0 to 255. Therefore, the amount of data for one pixel is reduced to
By reducing the gradation of pixels, it is possible to represent even a printing device having a small memory amount and gradation not so high.

【0003】処理手順として、画像入力時における画素
の階調は、0〜255のレベルで読み込まれる。図20
に示すように、まず、読み取られたデータに対して、0
〜255を量子化する。つまり、0〜255を図20の
W,X,Y,Zのポイントで量子化する。この量子化
は、ある固定のしきい値t1,t2,t3を設定するこ
とで、以下のように判定を行って量子化を行う。入力デ
ータをfとする。 255≧f>t1の時 W t1≧f>t2の時 X t2≧f>t3の時 Y t3≧f≧ 0の時 Z 次に、量子化を行っただけでは、小領域における原デー
タとの濃度保存ができていないために画質のなめらかさ
がなくなる。これをなくすために、図21に示すよう
に、量子化の際に発生する原データとの差を誤差分とし
て、これを処理注目画素の周りの画素濃度に影響を与え
るような処理を行うことで小領域での濃度保存を行う。
As a processing procedure, the gradation of a pixel at the time of image input is read at a level of 0 to 255. Figure 20
First, as shown in FIG.
Quantize ~ 255. That is, 0 to 255 are quantized at the points W, X, Y, and Z in FIG. In this quantization, by setting certain fixed threshold values t1, t2, t3, the following determination is performed and quantization is performed. Let the input data be f. 255 ≧ f> t1 W t1 ≧ f> t2 X t2 ≧ f> t3 Y t3 ≧ f ≧ 0 Z Next, if the quantization is performed, The image quality is not smooth because the density cannot be saved. In order to eliminate this, as shown in FIG. 21, the difference from the original data generated at the time of quantization is set as an error amount, and the difference is processed so as to affect the pixel density around the pixel of interest. Save the density in a small area with.

【0004】図22は、従来の中間調画像処理を説明す
るためのフローチャートである。まず、図21に示して
あるように、注目ラインiの一つ後のラインi+1のラ
イン方向に並んだ注目画素の左下、真下、右下の各画素
及び注目ラインi上の右側の画素の各々に、誤差εをあ
る配分比率で配分する(step1)。次に、画像データを
すべて処理したかどうかを判断し(step2)、すべて処
理してあれば終了し、すべて処理してなければ、i=i
+1とし(step3)、前記step1に戻り、処理を繰り返
す。
FIG. 22 is a flow chart for explaining the conventional halftone image processing. First, as shown in FIG. 21, each of the lower left pixel, the lower right pixel, the lower right pixel, and the right pixel on the attention line i of the attention pixel arranged in the line direction of the line i + 1 immediately after the attention line i, respectively. Then, the error ε is distributed at a certain allocation ratio (step 1). Next, it is judged whether or not all the image data have been processed (step 2). If all the image data have been processed, the process ends. If not all processed, i = i
It is set to +1 (step 3), the process returns to step 1 and the process is repeated.

【0005】[0005]

【発明が解決しようとする課題】前述のように、従来の
中間調画像処理で量子化された値をそのままの状態で印
字しており、面積で階調表現を表わすため、量子化値で
のドット表現がランダム的で、プリンタの駆動ムラによ
るドットの印字位置が変化した時に、ドット間隔が近づ
いた部分やはなれた部分、またはドットどうしがつなが
ったりする場合が発生する。このために、画像処理以外
での影響を画質上受けやすい。また、0〜255レベル
での階調表現とコピー濃度との関係が図10の点線で示
したようになることから、濃度変化が急激に変わり、な
めらかさが出ない(中間調部)という問題点があった。
更に、非エッジやエッジの領域判定を行わない中間調画
像処理回路では、中間調部のみの画質補正ができないと
いう問題点があった。
As described above, the quantized value in the conventional halftone image processing is printed as it is, and the gradation expression is expressed by the area. The dot expression is random, and when the printing position of the dot changes due to uneven driving of the printer, there may occur a case where the dot intervals are close to each other, a separated part, or the dots are connected to each other. For this reason, the image quality is easily affected by other than image processing. Further, since the relationship between the gradation expression on the 0 to 255 level and the copy density is as shown by the dotted line in FIG. 10, the density change drastically changes and smoothness does not appear (halftone part). There was a point.
Further, in the halftone image processing circuit that does not determine the non-edge or edge regions, there is a problem that the image quality of only the halftone portion cannot be corrected.

【0006】本発明は、このような実情に鑑みてなされ
たもので、画像読取装置により入力されたデータを中間
調画像処理を行い、その量子化されたデータに対して等
間隔での画素間演算を行い、画像記録等のプリンタ部で
の駆動ムラを画質上低減させ、中間調の印字画質の階調
表現を向上させること、また、量子化されたデータの配
列をもとに画像上のエッジ部を判定し、画素間演算を行
う対象画像を切り換えることにより、中間調の印字画質
の階調表現を向上させること、さらに、エッジか非エッ
ジ部かの領域判定を行う手段を設け、画素間演算の対象
を切り換えることで、非エッジ部に対しては画素間演算
を実行し、エッジ部は補正強調を行うようにした中間調
画像処理装置を提供することを目的としている。
The present invention has been made in view of such a situation, and performs halftone image processing on data input by an image reading device, and the inter-pixels are equally spaced with respect to the quantized data. Calculation is performed to reduce driving unevenness in the printer unit such as image recording in terms of image quality and improve gradation expression of halftone print image quality. Also, based on the array of quantized data, By improving the gradation expression of halftone print image quality by determining the edge part and switching the target image for inter-pixel calculation, a means for determining the area of the edge part or the non-edge part is provided. An object of the present invention is to provide a halftone image processing apparatus in which inter-pixel calculation is executed for a non-edge portion and correction emphasis is performed for the edge portion by switching the target of the inter-pixel calculation.

【0007】[0007]

【課題を解決するための手段】本発明は、上記目的を達
成するために、(1)原稿の画像データを2値化変換す
る画像データ入力部と、画像データを最終的に変換する
画像処理部と、該画像処理部により処理された画像デー
タを記憶する記憶部と、該記憶部に記憶されている画像
データを復元し、中間調表現となるデータの誤差拡散を
行う画像データ出力部とから成り、該画像データ出力部
におけるデータの誤差拡散処理のあとに、画素間演算を
行う演算手段を設けたこと、更には、(2)前記演算手
段の前段にエッジ部判定手段を設けたこと、更には、
(3)前記(2)において、前記エッジ部判定手段を主
走査方向のエッジ部と副走査方向のエッジ部を判定する
主走査方向エッジ部判定手段と副走査方向判定手段とで
構成したこと、更には、(4)前記(2)又は(3)に
おいて、前記エッジ部判定手段が、エッジ部と非エッジ
部の領域を判定するものであることを特徴とするもので
ある。
In order to achieve the above object, the present invention provides (1) an image data input unit for binarizing and converting image data of an original, and an image processing for finally converting the image data. Section, a storage section that stores the image data processed by the image processing section, and an image data output section that restores the image data stored in the storage section and performs error diffusion of the data that is a halftone expression. And an arithmetic means for performing inter-pixel arithmetic after the error diffusion processing of the data in the image data output portion, and further, (2) an edge portion judging means provided before the arithmetic means. , And even
(3) In the above (2), the edge determination unit is composed of a main scanning direction edge determination unit and a sub scanning direction determination unit for determining an edge in the main scanning direction and an edge in the sub scanning direction. Further, (4) in (2) or (3) above, the edge portion determination means determines the area of the edge portion and the non-edge portion.

【0008】[0008]

【作用】画像読取装置により入力されたデータに対し
て、中間調画像処理で量子化されたデータを、2画素単
位で処理を進める。該2画素のデータに対して、まずエ
ッジ判定部によりエッジであるかどうかの判定を行う。
この判定の結果に基づいて画素間演算を行う対象画像を
切り換える。エッジでなければ、演算部により演算を実
行し、エッジであれば、補正強調を行う。このように、
中間調画像処理で量子化されたデータに対して、等間隔
での画素間演算を行うことで、画像記録時のプリンタ部
での駆動ムラによる画質上の影響を低減させ、中間調の
印字画質の階調表現を向上させる。また、エッジ判定を
行うことで画素間演算の対象画像を切り換え、エッジ部
の保存を行う。なお、エッジ判定は、まず、処理しよう
とする主走査方向の注目画素2個に対して、注目画素よ
りも大きいエリアを設定してこれを分割し、分割した分
割エリア内での量子化値を計算して、計算値の中の最大
値、最小値を決定する。量子化値の最大値と最小値との
差の値が所定値よりも大きいときは主走査方向のエッジ
部と判断し、小さいときは非エッジ部と判断する。同様
のエッジ判断を前記主走査方向の注目画素2個の中の1
つの注目画素に対し副走査方向においても行う。
With respect to the data input by the image reading device, the data quantized by the halftone image processing is processed in units of two pixels. For the data of the two pixels, the edge determination unit first determines whether or not it is an edge.
Based on the result of this determination, the target image for which the inter-pixel calculation is performed is switched. If it is not an edge, calculation is executed by the calculation unit, and if it is an edge, correction enhancement is performed. in this way,
By performing pixel-to-pixel calculations at equal intervals on the quantized data in the halftone image processing, the influence on the image quality due to drive unevenness in the printer unit during image recording is reduced, and the print quality of the halftone image is reduced. Improve gradation expression. In addition, the target image for inter-pixel calculation is switched by performing edge determination, and the edge portion is saved. In the edge determination, first, for two target pixels in the main scanning direction to be processed, an area larger than the target pixel is set, the area is divided, and the quantized value in the divided area is divided. Calculate and determine the maximum and minimum values among the calculated values. When the difference between the maximum value and the minimum value of the quantized value is larger than a predetermined value, it is determined as the edge portion in the main scanning direction, and when it is smaller, it is determined as the non-edge portion. The same edge judgment is performed for one of the two target pixels in the main scanning direction.
This is also performed for one target pixel in the sub-scanning direction.

【0009】[0009]

【実施例】実施例について、図面を参照して以下に説明
する。まず、図1は、本発明による中間調画像処理装置
における印字データ変換方式の位置づけを説明するため
のフローチャートで、本方式では、従来の中間調画像処
理(step1)に等間隔での画素間演算(step2)を付加
したフローとなっている。従来の中間調画像処理によっ
て量子化されたデータを0〜255の入力データに対し
てW,X,Y,Zとする。この量子化値に対して、以下
の手順で演算処理を進める。まず、主走査方向に対し、
等間隔で次の演算を行う。まず、図2において、A,B
を注目画素とした場合に、この2画素が画像中のエッジ
にあたるかどうかを判定する。判定は、注目画素A,B
を含め、図2のE,F,A,B,C,Dを判定材料とす
る。この6画素が図3に示すように、あらかじめ決めら
れたエッジ部と判定されるパターンに合えば、その注目
画素A,B間での演算は行わず、スルーの状態で画素を
保持する。
Embodiments will be described below with reference to the drawings. First, FIG. 1 is a flowchart for explaining the positioning of a print data conversion method in a halftone image processing apparatus according to the present invention. In this method, inter-pixel calculation at equal intervals is performed in the conventional halftone image processing (step 1). The flow has (step 2) added. The data quantized by the conventional halftone image processing is set to W, X, Y, and Z for the input data of 0 to 255. With respect to this quantized value, calculation processing is performed in the following procedure. First, for the main scanning direction,
The following calculation is performed at equal intervals. First, in FIG. 2, A and B
When is the target pixel, it is determined whether these two pixels correspond to the edge in the image. The judgment is made on the target pixels A and B.
Including E, F, A, B, C, and D in FIG. As shown in FIG. 3, if these 6 pixels match a pattern determined to be a predetermined edge portion, the calculation is not performed between the target pixels A and B, and the pixels are held in the through state.

【0010】また、処理しようとする注目画素に対し
て、n×m(n≧1,m≧注目画素の数)のエりアの情
報を図4のように分割する。この分割した領域a,b,
c,dのそれぞれの量子化値の合計を計算し(図5step
1)、さらに最大値と最小値を決定し(図5step2)、
この最大値と最小値との差がある固定のしきい値thよ
りも小さければ、次の処理を実行する。図4において、
A,Bを注目画素とした場合に、この2画素が画像中の
エッジにあたるかどうかを判定する(step3,4)。判
定は注目画素A,Bを含め、図の主走査方向のE,F,
A,B,C,Dを判定材料とする。この6画素が図3に
示すように、あらかじめエッジ部と判定されるパターン
に合えば、その注目画素部は、エッジ部とし、後述する
(2)式の処理を行う(step6)。逆にパターンに合わ
なければ非エッジ部とし、後述する(1)式の処理を行
う(step5)。また、前記step2において、固定のしき
い値thよりも大きければエッジ部とし、後述する
(2)式の処理を行う(step6)。
Further, for the target pixel to be processed, the information on the area of n × m (n ≧ 1, m ≧ the number of target pixel) is divided as shown in FIG. This divided area a, b,
The sum of the quantized values of c and d is calculated (Fig. 5 step
1) Then, determine the maximum and minimum values (Fig. 5, step 2),
If the difference between the maximum value and the minimum value is smaller than the fixed threshold value th, the next process is executed. In FIG.
When A and B are the target pixels, it is determined whether or not these two pixels correspond to the edge in the image (steps 3 and 4). The determination includes the target pixels A and B, and E, F, and
A, B, C and D are used as judgment materials. As shown in FIG. 3, if the 6 pixels match the pattern that is determined to be the edge portion in advance, the target pixel portion is set as the edge portion, and the processing of the equation (2) described later is performed (step 6). On the contrary, if it does not match the pattern, it is set as a non-edge portion, and the processing of equation (1) described later is performed (step 5). Further, in step 2, if it is larger than the fixed threshold value th, it is regarded as an edge portion, and the processing of equation (2) described later is performed (step 6).

【0011】画素間演算は次のように実行する。A,B
を処理の注目画素、量子化の値の数をnとした時、各画
素の処理結果をA′,B′とすると、以下の数1のよう
になる。
The inter-pixel calculation is executed as follows. A, B
Where n is the number of pixels to be processed and the number of quantized values is n, and the processing results of each pixel are A ′ and B ′, the following expression 1 is obtained.

【0012】[0012]

【数1】 [Equation 1]

【0013】判定がエッジ部である時は、以下の数2の
ような処理を行い、エッジ部の補正強調を行う。
When the determination is for the edge portion, the processing shown in the following equation 2 is performed to correct and emphasize the edge portion.

【0014】[0014]

【数2】 [Equation 2]

【0015】次は、(C,D)が対象画素となる。これ
を量子化データの最終まで行うことで実現する。この方
式を使用することで従来の中間調画像処理で量子化され
た値のみで印字した画質より向上が図れる。すなわち、
入力された画像データに対して、中間調画像処理によっ
て量子化を行い、その量子化データに対して、主走査方
向(印字時)に一定の画素間隔で所定の処理を行う画素
間演算手段を設けることで、画像記録時のプリンタ部で
の駆動ムラを画質上低減させ、中間調印字画質の階調表
現を向上させる。
Next, (C, D) is the target pixel. This is realized by performing the process to the end of the quantized data. By using this method, it is possible to improve the image quality printed by using only the quantized value in the conventional halftone image processing. That is,
An inter-pixel calculation means for performing quantization on the input image data by halftone image processing and performing a predetermined process on the quantized data at a constant pixel interval in the main scanning direction (during printing). The provision reduces the drive unevenness in the printer unit during image recording in terms of image quality, and improves the gradation expression of the halftone print image quality.

【0016】要するに、本発明による画素間演算は、以
下のような処理とする。 処理対象の画素間隔:m 量子化値の数 :n 対象画素 :A123…Am 結果 :A′1,A′2,A′3…A′m A′m=A1+A2+A3+…+Am もし、A′m>n−1ならば A′n-1=A1+…+Am−(n−1) A′m=n−1 m=2までを行う。
In short, the inter-pixel calculation according to the present invention is the following processing. Pixel interval to be processed: m Number of quantized values: n Target pixel: A 1 A 2 A 3 ... Am Result: A ′ 1 , A ′ 2 , A ′ 3 ... A ′ m A ′ m = A 1 + A 2 + a 3 + ... + a m If, a 'm> n-1 if a' n-1 = a 1 + ... + a m - performing to (n-1) a 'm = n-1 m = 2.

【0017】また、量子化されたデータの配列をもとに
画像上のエッジ部を判定する方式を用いることで、画素
間演算を行う対象画素を切り換える。画素間演算は、次
の条件で実行する。 エッジ部の時 :量子化値そのまま エッジ部でない時:注目画素をA01…Amとする。
(A0,A1,…,Am=0,〜,n−1(量子化値の
数)) Am=Am+Am-1+…+A1+A0 もし、Am>n−1の時 Am=n−1 m=jからm=0までを実行する(演算対象画素数
j)。
Further, by using a method of determining the edge portion on the image based on the array of quantized data, the target pixel for inter-pixel calculation is switched. The inter-pixel calculation is executed under the following conditions. Edge part: Quantized value as it is Not edge part: Target pixel is A 0 A 1 ... Am .
(A 0 , A 1 , ..., A m = 0, to, n-1 (number of quantized values)) Am = A m + A m-1 + ... + A 1 + A 0 If A m > n-1 At time A m = n−1 m = j to m = 0 is executed (the number of calculation target pixels is j).

【0018】更に、量子化されたデータの配列をもとに
画像内のエッジ部、非エッジ部の領域判定する方式を用
いることで、非エッジ部には画素間演算を行い、また、
エッジ部は補正強調を行う。この時、画素間演算は、次
のように実行する。 エッジ部:補正強調を行う。量子化値を1レベル上の
ものとする。(n−1:量子化値の数)注目画素A01
mとすると Am=Am+Am+1 非エッジ部:Am=Am+Am-1+…+A1+A0 もし、Am>n−1の時 Am=n−1 をm=jからm=0まで実行する(j:演算対象画素
数)。
Further, by using the method of determining the areas of the edge portion and the non-edge portion in the image based on the array of the quantized data, the inter-pixel calculation is performed on the non-edge portion, and
Correction enhancement is applied to the edge portion. At this time, the inter-pixel calculation is executed as follows. Edge part: Correction enhancement is performed. The quantized value is one level higher. (n-1: number of quantized values) target pixel A 0 A 1 ...
When A m A m = A m + A m +1 non-edge portions: A m = A m + A m-1 + ... + A 1 + A 0 If the A m = n-1 when A m> n-1 m = Execute from j to m = 0 (j: number of calculation target pixels).

【0019】図6は、本発明による中間調画像処理装置
の一実施例を示すブロック図で、図中、1はエッジ判定
部、2は演算部である。入力されたデータに対して、従
来の中間調画像処理で量子化されたデータ(図1におけ
るstep1)を図7(a),図8(a),図9(a),図
11(a),(b)に示す。このデータを、2画素単位
で図2に示す主走査方向へ処理を進める。ここでは、量
子化値の数を4値とする。この2画素のデータに対し
て、まず、エッジ判定部1によりエッジであるかどうか
の判定を行う。この判定の結果にもとづいて画素間演算
を行う対象画像を切り換える。エッジでなければ、演算
部2により演算を実行する。
FIG. 6 is a block diagram showing an embodiment of a halftone image processing apparatus according to the present invention. In the figure, 1 is an edge determination unit and 2 is a calculation unit. Data (step 1 in FIG. 1) quantized by the conventional halftone image processing with respect to the input data is shown in FIG. 7A, FIG. 8A, FIG. 9A, and FIG. 11A. , (B). This data is processed in units of two pixels in the main scanning direction shown in FIG. Here, the number of quantized values is four. The edge determination unit 1 first determines whether or not the data of these two pixels is an edge. Based on the result of this determination, the target image for which the inter-pixel calculation is performed is switched. If it is not an edge, the calculation unit 2 executes the calculation.

【0020】このブロック図では、入力に対して、2画
素単位に並びかえるようにして処理を実行する。例え
ば、入力を4画素分とすると(A,B)の画素を先に演
算処理を実行し、(C,D)の画素については、時間を
遅くらせて次の時間で実行する。このようにして、実行
した結果について図7(b)及び図8(b),(c),図
9(b),(c)に示す。又、本方式において、原データ
の濃度90のレベルでの印字状態を図11(c),
(d)に示す。以上より、本方式を実施することで、副
走査方向に対して、ドットが並ぶことによりプリンタ部
での駆動ムラによるドットの移動がおこっても目立ちに
くく、画質が向上する。また、本発明によれば、画像形
成装置、例えばディジタル複写機等における操作パネル
54には、図6のブロック図で示すように画像形成を行
う際に指示する画像モード指示キー等が配置されてい
る。図6中、54aは文字モードであって、読み取り原
稿等が文字のみであれば、該文字モードキー54aが操
作される。また、原稿が写真であれば、写真モードキー
54bが操作され、原稿に文字及び写真が混在した画像
であれば、文字/写真モードキー54cが操作される。
そこで、上記キーの操作に応じて、図5に示すstep1と
step2との間で、操作パネル54での画像処理モードを
指示するキー54a〜54cのいずれが操作されたかに
応じて、次の処理を実行する。例えば、原稿が文字原稿
であれば、step5及びstep6の中間調処理にかかる式を
実行することなく、そのままの出力を行えばよい。ま
た、原稿が写真原稿であれば、step5の(1)式に従っ
た本発明による中間画像処理のための画素間演算が実行
される。更に、原稿が文字及び写真が混在する場合に
は、キー54cの指示に従ってエッジの判定に基づいて
上述したstep2以降の処理を実行し、最終的に(1)又
は(2)式の演算を実行する。
In this block diagram, the processing is executed so that the input is rearranged in units of two pixels. For example, if the input is for four pixels, the calculation processing is executed for the pixel of (A, B) first, and for the pixel of (C, D), the processing is delayed and executed at the next time. The results thus obtained are shown in FIGS. 7 (b), 8 (b), (c), and 9 (b), (c). In addition, in this method, the printing state at the density 90 of the original data is shown in FIG.
It shows in (d). As described above, by implementing this method, even if the dots are moved in the sub-scanning direction due to the unevenness of driving in the printer unit, the dots are less noticeable and the image quality is improved. According to the present invention, the operation panel 54 of the image forming apparatus, such as a digital copying machine, is provided with an image mode instruction key or the like for instructing the image formation as shown in the block diagram of FIG. There is. In FIG. 6, reference numeral 54a is a character mode, and if the read original or the like is only characters, the character mode key 54a is operated. If the original is a photograph, the photograph mode key 54b is operated, and if the original is an image in which characters and photographs are mixed, the character / photograph mode key 54c is operated.
Therefore, in accordance with the operation of the above keys, step 1 shown in FIG.
Between step 2 and step 2, the following processing is executed depending on which of the keys 54a to 54c instructing the image processing mode on the operation panel 54 has been operated. For example, if the manuscript is a text manuscript, the output may be performed as it is without executing the equations related to the halftone processing of step 5 and step 6. If the original is a photographic original, the inter-pixel calculation for the intermediate image processing according to the present invention is executed according to the equation (1) in step 5. Further, when the original includes both characters and photographs, the above-described processing from step 2 is executed based on the edge determination according to the instruction of the key 54c, and finally the calculation of the equation (1) or (2) is executed. To do.

【0021】しかし、上述のように、画像処理部におい
て、単に量子化された値を無条件に画像全体に対し等間
隔に画素間演算処理を行うと、文字原稿や写真・文字原
稿のようにエッジ部を有する画像に対しても画素間演算
をするので、エッジ部が飛び出したり、欠けたりする不
具合が発生する。また、中間調画像の中でも中間調のエ
ッジ部をエッジと誤判定される結果、中間調でのエッジ
が強調されるような不具合が発生し、また逆に、中間調
でのエッジが白抜け画像になるなどの不具合が起きる。
この不具合をなくすため、図12に示したように、図4
で画素A,Bを注目画素として主走査方向にエッジがあ
るかどうかの判定を行ったと同様に、副走査方向に、エ
ッジ判定を行う。この場合、例えば注目画素Aを含み画
J,K,G,H,Iを判定材料とする。
However, as described above, when the quantized value is unconditionally subjected to the pixel-to-pixel arithmetic processing on the entire image at equal intervals, as in the case of a character original or a photograph / character original. Since the pixel-to-pixel calculation is also performed on an image having an edge portion, a defect that the edge portion is popped out or chipped occurs. In addition, as a result of the erroneous determination of the halftone edge portion as an edge in the halftone image, a problem occurs that the edge in the halftone is emphasized, and conversely, the edge in the halftone is a blank image. It causes problems such as.
In order to eliminate this problem, as shown in FIG.
The edge determination is performed in the sub-scanning direction similarly to the determination as to whether or not there is an edge in the main scanning direction with the pixels A and B as the target pixels. In this case, for example, the images J, K, G, H, and I including the target pixel A are used as the determination material.

【0022】すなわち、処理しようとする主走査方向の
注目画素2個に対して、注目画素よりも大きいエリアを
設定してこれを分割し、分割した分割エリア内での量子
化値を計算して、計算値の中の最大値、最小値を決定す
る。量子化値の最大値と最小値との差の値が所定値より
も大きいとは主走査方向のエッジ部と判断し、小さいと
きは非エッジ部と判断する。同様のエッジ判断を、前記
主走査方向の注目画素2個の中の1つの注目画素に対し
て副走査方向において行う。
That is, for two target pixels in the main scanning direction to be processed, an area larger than the target pixel is set, the area is divided, and the quantized value in the divided area is calculated. , Determine the maximum and minimum of the calculated values. It is determined that the difference between the maximum value and the minimum value of the quantized value is larger than the predetermined value as the edge portion in the main scanning direction, and if the difference is smaller than the predetermined value, it is determined as the non-edge portion. Similar edge determination is performed in the sub-scanning direction for one of the two target pixels in the main scanning direction.

【0023】図13は、副走査方向エッジのパターン条
件を示す図で、数値は量子化された濃度を表わし、図示
のように、副走査方向に配置された6画素J,K,A,
G,H,Iが、あらかじめエッジ部と判定されるパター
ンに合えば、A,Gはエッジ部とし、逆に、このパター
ンに合わないものは、非エッジ部とする。ここで、判定
結果が、エッジ部であるときは、注目画素A,Bは量子
化されたデータをそのままのデータでスルーされるもの
とする。
FIG. 13 is a diagram showing the pattern condition of the edge in the sub-scanning direction. The numerical values represent the quantized density, and as shown in the figure, 6 pixels J, K, A, arranged in the sub-scanning direction.
If G, H, and I match a pattern that is determined to be an edge portion in advance, A and G are edge portions, and conversely, those that do not match this pattern are non-edge portions. Here, when the determination result is the edge portion, it is assumed that the quantized data of the target pixels A and B is passed through as it is.

【0024】また、ここで、判定結果が、非エッジ部と
した場合は、図3の量子化処理を示す図において、A,
Bを注目画素として、E,F,A,B,C,Dの主走査
方向に6画素を判定材料とし、この6画素が、図3の主
走査方向のエッジ部パターン条件に示すように、あらか
じめエッジ部と判定されるパターンに合えばエッジ部、
パターンに合わなければ、非エッジ部とし、再度判定処
理を行う。ここで、最終的に非エッジ部と判定した時、
先ほどと同じように画素間演算を行う。処理内容は
(1)式と同じである。また、ここでエッジ部と判定し
た時は、注目画素A,Bは量子化されたデータをそのま
まのデータでスルーさせる。このように、本方式では、
領域分割での判定情報と主走査方向、副走査方向判定情
報をもとにエッジ、非エッジ部の判定を正確に行えるこ
とで、従来の無条件に画像全体に画素間、演算処理を行
って印字した画質より向上がはかれる。
If the determination result is a non-edge portion, in the figure showing the quantization processing of FIG.
With B as the pixel of interest, 6 pixels in the main scanning direction of E, F, A, B, C, and D are used as the determination material, and these 6 pixels are as shown in the edge part pattern condition in the main scanning direction of FIG. If it matches the pattern that is determined as the edge part in advance, the edge part,
If it does not match the pattern, it is determined as a non-edge portion and the determination process is performed again. Here, when it is finally determined to be a non-edge part,
Inter-pixel calculation is performed in the same manner as above. The processing content is the same as that of equation (1). When it is determined that the edge portion is present, the quantized data of the target pixels A and B is passed through as it is. Thus, in this method,
By accurately determining the edge / non-edge portion based on the determination information in the area division and the determination information in the main scanning direction and the sub-scanning direction, it is possible to perform the arithmetic processing between pixels on the entire image unconditionally in the past. The image quality is better than the printed one.

【0025】図14は、図5に示した主走査方向のエッ
ジを判定するフローチャートに副走査方向のエッジ判定
を付加したフローチャートである。すなわち、量子値化
された画素入力を注目画素を含むn×mのエリアを選択
して、これを、a,b,c,dの分割エリアに分割す
る。分割エリアa,b,c,dの量子化値中で、最大値
と最小値の画素濃度情報を得る(step1)。分割エリア
a,b,c,dの量子化値の最大値と最小値との差が、
予め定められた固定しきい値thより大きいか、小さい
かを判定する(step2)。step2で求められた差値が、
固定しきい値thよりも小さいと判定したとき、主走査
ラインのパターンが予め定められたパターンとの合致を
みる(step3)。step2で求められた差値が固定しきい
値thと等しいか大きいと判定したとき、副走査ライン
のパターンが予め定められたパターンとの合致をみる(s
tep4)。副走査ラインのパターンが非エッジと判定され
たときは step3に進み、エッジ部と判定されたときは
そのままスルーする(step5)。step3で主走査ライン
のパターンが予め定められたパターンと合致しているか
否かにより非エッジ部かエッジ部かを判定する。エッジ
部であるときは、そのままスルーする(step6)。主走
査ライン、副走査ラインのパターンが非エッジ部である
と判定されたときは(1)式により注目画素の演算処理
がなされる(step7)。
FIG. 14 is a flowchart in which the edge determination in the sub-scanning direction is added to the flowchart for determining the edge in the main scanning direction shown in FIG. That is, the n × m area including the pixel of interest is selected from the quantized pixel input, and this is divided into a, b, c, and d divided areas. Among the quantized values of the divided areas a, b, c, d, the pixel density information of the maximum value and the minimum value is obtained (step 1). The difference between the maximum value and the minimum value of the quantized values of the divided areas a, b, c, d is
It is determined whether it is larger or smaller than a predetermined fixed threshold value th (step 2). The difference value obtained in step 2 is
When it is determined that it is smaller than the fixed threshold th, the pattern of the main scanning line is checked for a match with a predetermined pattern (step 3). When it is determined that the difference value obtained in step 2 is equal to or larger than the fixed threshold value th, the pattern of the sub-scanning line is checked for matching with a predetermined pattern (s
tep4). When the pattern of the sub-scanning line is determined to be non-edge, the process proceeds to step 3, and when it is determined to be the edge portion, the process is directly performed (step 5). In step 3, it is determined whether the pattern of the main scanning line matches the predetermined pattern, that is, the non-edge portion or the edge portion. If it is an edge part, it is directly passed through (step 6). When it is determined that the pattern of the main scanning line and the sub-scanning line is the non-edge portion, the calculation processing of the target pixel is performed by the equation (1) (step 7).

【0026】図16の従来技術での出力結果では、エッ
ジ部、非エッジ部の境界(図中に太線の枠にて示す)が
図15の中間調画像処理で量子化されたデータに対して
忠実度が低いのに反し、図17の本発明による出力結果
では、忠実にエッジ部を再現している。
In the output result of the prior art of FIG. 16, the boundary between the edge portion and the non-edge portion (shown by a thick frame in the figure) is compared with the data quantized by the halftone image processing of FIG. In contrast to the low fidelity, the output result according to the present invention in FIG. 17 faithfully reproduces the edge portion.

【0027】図18は、本発明による中間調画像処理機
能を備えたディジタル複写機の全体構成を示す断面図
で、図中、10はディジタル複合機、11はスキャナ
部、12はレーザプリンタ部、13は多段給紙ユニッ
ト、14はソータ、15は原稿載置台、16は両面対応
自動原稿送り装置(RDF)、20はスキャナユニッ
ト、21はランプリフレクタアセンブリ、22は光電変
換素子(CCD)、23は反射ミラー、24はレンズ、
25は手差し原稿トレイ、26はレーザ書き込みユニッ
ト、27は電子写真プロセス部、28は感光体ドラム、
29は定着器、30は搬送路、31は第1カセット、3
2は第2カセット、33は第3カセット、35は第5カ
セット、36は共通搬送路、37〜41は搬送路であ
る。
FIG. 18 is a sectional view showing the overall construction of a digital copying machine having a halftone image processing function according to the present invention. In the figure, 10 is a digital multi-function peripheral, 11 is a scanner section, 12 is a laser printer section, 13 is a multi-stage paper feeding unit, 14 is a sorter, 15 is a document placing table, 16 is a double-sided automatic document feeder (RDF), 20 is a scanner unit, 21 is a lamp reflector assembly, 22 is a photoelectric conversion element (CCD), and 23. Is a reflection mirror, 24 is a lens,
25 is a manual document tray, 26 is a laser writing unit, 27 is an electrophotographic process section, 28 is a photoconductor drum,
29 is a fixing device, 30 is a conveying path, 31 is a first cassette, 3
2 is a second cassette, 33 is a third cassette, 35 is a fifth cassette, 36 is a common conveyance path, and 37 to 41 are conveyance paths.

【0028】ディジタル複写機10は、スキャナ部11
とレーザプリンタ部12と多段給紙ユニット13及びソ
ータ14が備えられている。前記スキャナ部11は、透
明ガラスから成る原稿載置台15と両面対応自動原稿送
り装置(RDF)16及びスキャナユニット20から成
り、前記多段給紙ユニット13は、第1カセット31、
第2カセット32、第3カセット33及び選択により追
加可能な第5カセット35を有している。また、該多段
給紙ユニット13では、各段のカセットに収容された用
紙の上から用紙が1枚ずつ送り出され、レーザプリンタ
部12へ向けて搬送される。
The digital copying machine 10 includes a scanner section 11
A laser printer unit 12, a multi-stage paper feeding unit 13, and a sorter 14 are provided. The scanner unit 11 includes a document placing table 15 made of transparent glass, a double-sided automatic document feeder (RDF) 16 and a scanner unit 20, and the multi-stage paper feeding unit 13 includes a first cassette 31 and a first cassette 31.
It has a second cassette 32, a third cassette 33 and a fifth cassette 35 which can be added by selection. Further, in the multi-stage sheet feeding unit 13, the sheets are fed out one by one from the sheets stored in the cassettes of the respective stages and are conveyed toward the laser printer unit 12.

【0029】RDF16は、複数枚の原稿を一度にセッ
トしておき、自動的に原稿を1枚ずつスキャナユニット
20へ送給して、オペレータの選択に応じて原稿の片面
又は両面をスキャナユニット20に読み取らせる。スキ
ャナユニット20は、原稿を露光するランプリフレクタ
アセンブリ21と原稿からの反射光像を光電変換素子
(CCD)22に導くための複数の反射ミラー23及び
原稿からの反射光像をCCD22に結像させるためのレ
ンズ24を含んでいる。
The RDF 16 sets a plurality of originals at one time and automatically feeds the originals one by one to the scanner unit 20 so that one side or both sides of the original can be scanned according to the operator's selection. To read. The scanner unit 20 forms a lamp reflector assembly 21 for exposing a document, a plurality of reflection mirrors 23 for guiding a reflected light image from the document to a photoelectric conversion element (CCD) 22, and a reflected light image from the document on the CCD 22. Lens 24 for

【0030】スキャナ部11は、原稿載置台15に載置
された原稿を走査する場合には、原稿載置台15の下面
に沿ってスキャナユニット20が移動しながら原稿画像
を読み取るように構成されており、RDF16を使用す
る場合には、該RDF16の下方の所定位置にスキャナ
ユニット20を停止させた状態で原稿を搬送しながら原
稿画像を読み取るように構成されている。原稿画像をス
キャナユニット20で読み取ることにより得られた画像
データは、画像処理部へ送られ各種処理が施された後、
画像処理部のメモリに一旦記憶され、出力指示に応じて
メモリ内の画像データをレーザプリンタ部12に与えて
用紙上に画像を形成する。
When scanning a document placed on the document placing table 15, the scanner section 11 is configured to read the document image while the scanner unit 20 moves along the lower surface of the document placing table 15. When the RDF 16 is used, the document image is read while the document is conveyed while the scanner unit 20 is stopped at a predetermined position below the RDF 16. The image data obtained by reading the original image with the scanner unit 20 is sent to the image processing unit and subjected to various processes.
The image data is temporarily stored in the memory of the image processing unit, and the image data in the memory is given to the laser printer unit 12 according to an output instruction to form an image on a sheet.

【0031】レーザプリンタ部12は、手差し原稿トレ
イ25とレーザ書き込みユニット26及び画像を形成す
るための電子写真プロセス部27を備えている。また、
レーザ書き込みユニット26は、上述のメモリからの画
像データに応じたレーザ光を出射する半導体レーザ、レ
ーザ光を等角速度偏向するポリゴンミラー等角速度偏向
されたレーザ光が静電写真プロセス部27の感光体ドラ
ム28上で等速度傾向されるように補正するf−θレン
ズ等を有している。電子写真プロセス部27は、感光体
ドラム28の周囲に帯電器、現像器、転写器、剥離器、
クリーニング器、除電器及び定着器29を配置して成っ
ている。該定着器29より画像が形成されるべき用紙の
搬送方向下流側には搬送路30が設けられており、搬送
路30はソータ14へ通じている搬送路37と多段給紙
ユニット13へ通じている搬送路38とに分岐してい
る。
The laser printer unit 12 is provided with a manual document tray 25, a laser writing unit 26, and an electrophotographic process unit 27 for forming an image. Also,
The laser writing unit 26 is a semiconductor laser that emits a laser beam according to the image data from the above-described memory, and a polygon mirror that deflects the laser beam at a constant angular velocity. The drum 28 has an f-θ lens and the like for performing correction so that it tends to have a constant velocity. The electrophotographic process unit 27 includes a charging device, a developing device, a transfer device, a peeling device,
A cleaning device, a static eliminator and a fixing device 29 are arranged. A transport path 30 is provided on the downstream side of the fixing device 29 in the transport direction of the sheet on which the image is to be formed. The transport path 30 communicates with the transport path 37 leading to the sorter 14 and the multi-stage sheet feeding unit 13. It branches to the transport path 38 that is located.

【0032】搬送路38は、多段給紙ユニット13にお
いて分岐しており、分岐後の搬送路として反転搬送路3
0a及び両面/合成搬送路30bが設けられている。前
記反転搬送路30aは、原稿の両面を複写する両面複写
モードにおいて、用紙の裏表を反転するための搬送路で
ある。また、前記両面/合成搬送路30bは、両面複写
モードにおいて反転搬送路30aから感光ドラム28の
画像形成位置まで用紙を搬送したり、用紙の片面に異な
る原稿の画像や異なる色のトナーで画像を形成する合成
複写を行う片面合成複写モードにおいて用紙を反転する
ことなく感光ドラム28の画像形成位置まで搬送するた
めの搬送路である。
The conveyance path 38 is branched in the multi-stage sheet feeding unit 13, and the reversal conveyance path 3 is formed as a conveyance path after branching.
0a and a double-sided / composite transport path 30b are provided. The reversal conveyance path 30a is a conveyance path for reversing the front and back sides of a sheet in a double-sided copy mode for copying both sides of a document. The double-sided / composite conveyance path 30b conveys a sheet from the reverse conveyance path 30a to the image forming position of the photosensitive drum 28 in the double-sided copying mode, or images on one side of the sheet with images of different originals or toners of different colors. This is a conveyance path for conveying the sheet to the image forming position of the photosensitive drum 28 without reversing the sheet in the single-sided synthetic copy mode for performing the synthetic copy to be formed.

【0033】多段給紙ユニット13は共通搬送路36を
含んでおり、該共通搬送路36は、第1カセット31と
第2カセット32と第3カセット33とからの用紙を電
子写真プロセス部27に向かって搬送するように構成さ
れている。また、前記共通搬送路36は、電子写真プロ
セス部27へ向かう途中で第5カセット35からの搬送
路39と合流して搬送路40に通じている。該搬送路4
0は、両面/合成搬送路30b及び手差し原稿トレイ2
5からの搬送路41と合流点42で合流して静電写真プ
ロセス部27の感光体ドラム28と転写器との間の画像
形成位置へ通じるように構成されており、これら3つの
搬送路の合流点42は画像形成位置に近い位置に設けら
れている。
The multi-stage paper feeding unit 13 includes a common transport path 36, which feeds the sheets from the first cassette 31, the second cassette 32, and the third cassette 33 to the electrophotographic process section 27. It is configured to be conveyed toward. Further, the common conveyance path 36 joins the conveyance path 39 from the fifth cassette 35 on the way to the electrophotographic process section 27 and communicates with the conveyance path 40. The transport path 4
0 indicates the double-sided / composite transport path 30b and the manual feed tray 2
It is configured so that it merges with the conveyance path 41 from 5 at the confluence point 42 and leads to the image forming position between the photoconductor drum 28 of the electrostatic photography process section 27 and the transfer device. The confluence point 42 is provided at a position close to the image forming position.

【0034】従って、レーザ書き込みユニット26及び
電子写真プロセス部27において、上述のメモリから読
み出された画像データは、レーザ書き込みユニット26
によってレーザ光線を走査させることにより、感光体ド
ラム28の表面上に静電潜像として形成され、トナーに
より可視像化されたトナー像は、多段給紙ユニット13
から搬送された用紙の面上に静電転写され定着される。
このようにして、画像が形成された用紙は、定着器29
から搬送路30及び37を介してソータ14へ送られた
り、搬送路30及び38を介して反転搬送路30aへ搬
送されたりする。
Therefore, in the laser writing unit 26 and the electrophotographic process section 27, the image data read from the above-mentioned memory is stored in the laser writing unit 26.
The toner image formed as an electrostatic latent image on the surface of the photoconductor drum 28 by being scanned with a laser beam by the toner is visualized by the toner.
It is electrostatically transferred and fixed on the surface of the sheet conveyed from.
The sheet on which the image is formed in this way is fixed in the fixing unit 29.
Is sent to the sorter 14 via the transport paths 30 and 37, or is transported to the reverse transport path 30a via the transport paths 30 and 38.

【0035】次に、ディジタル複写機に含まれている画
像処理部及び各制御系の構成及び機能について、図19
に基づいて説明する。図19は、図18に示したファク
シミリ機能付ディジタル複写機に含まれている画像処理
部及び各制御系のブロック構成図で、図中、50は画像
データ入力部、50aはCCD部、50bはヒストグラ
ム処理部、50cは誤差拡散処理部、51は画像処理
部、51a,51bは多値化処理部、51cは合成処理
部、51dは濃度変換処理部、51eは変倍処理部、5
1fは画像プロセス部、51gは誤差拡散処理部、51
hは圧縮処理部、52は画像データ出力部、52aは復
元部、52bは多値化処理部、52cは誤差拡散処理
部、52dはレーザ出力部、53はメモリ、54は操作
パネル、54aは文字モードキー、54bは写真モード
キー、54cは文字/写真モードキー、55はコピー濃
度キー、56は倍率キー、57は画像処理CPU(中央
処理装置)である。
Next, the configuration and function of the image processing unit and each control system included in the digital copying machine will be described with reference to FIG.
It will be described based on. FIG. 19 is a block configuration diagram of an image processing unit and each control system included in the digital copying machine with a facsimile function shown in FIG. 18, in which 50 is an image data input unit, 50a is a CCD unit, and 50b is a control unit. Histogram processing section, 50c error diffusion processing section, 51 image processing section, 51a and 51b multi-value processing section, 51c combining processing section, 51d density conversion processing section, 51e scaling processing section, 5e.
1f is an image processing unit, 51g is an error diffusion processing unit, 51
h is a compression processing unit, 52 is an image data output unit, 52a is a decompression unit, 52b is a multi-value quantization processing unit, 52c is an error diffusion processing unit, 52d is a laser output unit, 53 is a memory, 54 is an operation panel, 54a is A character mode key, 54b is a photograph mode key, 54c is a character / photograph mode key, 55 is a copy density key, 56 is a magnification key, and 57 is an image processing CPU (central processing unit).

【0036】ディジタル複写機10に含まれている画像
処理部は、画像データ入力部50、画像処理部51、画
像データ出力部52、RAM(ランダムアクセスメモ
リ)等から構成されるメモリ53及び画像処理中央処理
演算装置(CPU)57を備えている。画像データ入力
部50は、CCD部50aとヒストグラム処理部50b
及び誤差拡散処理部50cを含んでいる。また、画像デ
ータ入力部50は、図18のCCD22から読み込まれ
た原稿の画像データを2値化変換して、2値のディジタ
ル量としてヒストグラムをとりながら、誤差拡散法によ
り画像データを処理して、メモリ53に一旦記憶するよ
うに構成されている。すなわち、CCD部50aでは、
画像データの各画像濃度に応じたアナログ電気信号がA
/D変換された後、MTF(Modulation Transfer Func
tion)補正、白黒補正又はガンマ補正が行われ、256
階調(8ビット)のディジタル信号としてヒストグラム
処理部50bへ出力される。
The image processing unit included in the digital copying machine 10 includes an image data input unit 50, an image processing unit 51, an image data output unit 52, a memory 53 including a RAM (random access memory), and an image processing unit. A central processing unit (CPU) 57 is provided. The image data input unit 50 includes a CCD unit 50a and a histogram processing unit 50b.
And an error diffusion processing unit 50c. The image data input unit 50 processes the image data by the error diffusion method while binarizing and converting the image data of the original read from the CCD 22 of FIG. 18 and taking a histogram as a binary digital amount. , And is temporarily stored in the memory 53. That is, in the CCD unit 50a,
The analog electric signal corresponding to each image density of the image data is A
After D / D conversion, MTF (Modulation Transfer Func
correction), black and white correction or gamma correction is performed.
It is output to the histogram processing section 50b as a gradation (8-bit) digital signal.

【0037】ヒストグラム処理部50bでは、CCD部
50aから出力されたディジタル信号が256階調の画
素濃度別に加算されて濃度情報(ヒストグラムデータ)
が得られると共に、必要に応じて、得られたヒストグラ
ムデータは画像処理CPU57へ送られ、又は画素デー
タとして誤差拡散処理部50cへ送られる。該誤差拡散
処理部50cでは、擬似中間調処理部の一種である誤差
拡散法、すなわち、2値化の誤差を隣接画素の2値化判
定に反映させる方法により、CCD部50aから出力さ
れた8ビット/画素のディジタル信号が1ビット(2
値)に変換され、原稿における局所領域濃度を忠実に再
現するための再配分演算が行われる。
In the histogram processing section 50b, the digital signal output from the CCD section 50a is added for each pixel density of 256 gradations to obtain density information (histogram data).
And the obtained histogram data is sent to the image processing CPU 57 or as pixel data to the error diffusion processing unit 50c as necessary. In the error diffusion processing unit 50c, the error diffusion method which is a kind of the pseudo halftone processing unit, that is, the method of reflecting the binarization error in the binarization judgment of the adjacent pixel, is output from the CCD unit 50a. Bit / pixel digital signal is 1 bit (2
Value), and the redistribution operation is performed to faithfully reproduce the local area density in the original.

【0038】画像処理部51は多値化処理部51a,5
1bと合成処理部51cと濃度変換処理部51dと変倍
処理部51eと画像プロセス部51fと誤差拡散処理部
51g並びに圧縮処理部51bを含んでいる。また、画
像処理部51は、操作パネル54により指示される画像
処理モードに従って入力された画像データをオペレータ
が希望する画像データに最終的に変換する処理部であ
り、メモリ53に最終的に変換された出力画像データと
して記憶されるまでこの処理部にて処理するように構成
されている。但し、画像処理部51に含まれている上述
の各処理部は必要に応じて機能するものであり、機能し
ない場合もある。
The image processing unit 51 is a multi-valued processing unit 51a, 5
1b, a combination processing unit 51c, a density conversion processing unit 51d, a scaling processing unit 51e, an image processing unit 51f, an error diffusion processing unit 51g, and a compression processing unit 51b. The image processing unit 51 is a processing unit that finally converts the image data input according to the image processing mode instructed by the operation panel 54 into image data desired by the operator, and is finally converted into the memory 53. The processing unit is configured to process the data until it is stored as output image data. However, each of the above-described processing units included in the image processing unit 51 functions as necessary and may not function.

【0039】すなわち、多値化処理部51a,51bで
は、誤差拡散処理部50cで2値化されたデータが再度
256階調に変換される。合成処理部51cでは、画素
毎の論理演算、すなわち、論理和、論理積又は排他的論
理和の演算が選択的に行われる。この演算の対象となる
データは、メモリ53に記憶されている画像データ及び
パターンジェネレータ(PG)からのビットデータであ
る。濃度変換処理部51dでは、操作パネル54のコピ
ー濃度キー55の指示に従い、256階調のディジタル
信号に対して、所定の階調変換テーブルに基づいて入力
濃度に対する出力濃度の関係が任意に設定される。変倍
処理部51eでは、操作パネル54の倍率キー56にて
指示された変倍率に応じて、入力される既知データによ
り補間処理を行うことによって、変倍後の対象画素に対
する画素データ(濃度値)が求められ、副走査が変倍さ
れた後に主走査が変倍処理される。
That is, in the multi-value quantization processing units 51a and 51b, the data binarized by the error diffusion processing unit 50c is converted again into 256 gradations. In the combination processing unit 51c, a logical operation for each pixel, that is, an operation of a logical sum, a logical product, or an exclusive logical sum is selectively performed. The data to be the target of this calculation are the image data stored in the memory 53 and the bit data from the pattern generator (PG). In the density conversion processing unit 51d, according to the instruction of the copy density key 55 of the operation panel 54, the relationship between the input density and the output density is arbitrarily set for the digital signal of 256 gradations based on a predetermined gradation conversion table. It In the scaling processing unit 51e, the pixel data (density value for the target pixel after scaling is performed by performing interpolation processing with known data that is input according to the scaling ratio designated by the scaling key 56 of the operation panel 54. ) Is calculated, the main scanning is scaled after the sub-scanning is scaled.

【0040】画像プロセス部51fでは、入力された画
素データに対して様々な画像処理が行われ、又、特徴抽
出等データ列に対する情報収集が行われ得る。誤差拡散
処理部51gでは、画像データ入力部50の誤差拡散処
理部50cと同様な処理が行われる。圧縮処理部51h
では、ランレングスという符号化により2値データが圧
縮される。又、画像データの圧縮に関しては、最終的な
出力画像データが完成した時点で最後の処理ループにお
いて圧縮が機能する。
In the image processing section 51f, various image processings may be performed on the input pixel data, and information collection such as feature extraction may be performed on the data string. The error diffusion processing unit 51g performs the same processing as the error diffusion processing unit 50c of the image data input unit 50. Compression processing unit 51h
Then, binary data is compressed by the encoding called run length. Regarding the compression of image data, the compression functions in the final processing loop when the final output image data is completed.

【0041】画像データ出力部52は復元部52aと多
値化処理部52bと誤差拡散処理部52c及びレーザ出
力部52dを含んでいる。本発明による中間調画像処理
装置の印字データ変換方式は、誤差拡散処理部52cと
レーザ出力部52dとの間において適用されるものであ
る。画像データ出力部52は、圧縮状態でメモリ53に
記憶されている画像データを復元し、もとの256階調
に再度変換し、2値データより滑らかな中間調表現とな
る4値データの誤差拡散を行い、レーザ出力部52dへ
データを転送するように構成されている。すなわち、復
元部52aでは、圧縮処理部51bによって圧縮された
画像データが復元される。多値化処理部52bでは、画
像処理部51の多値化処理部51a,51bと同様な処
理が行われる。誤差拡散処理部52cでは、画像データ
入力部50の誤差拡散処理部50cと同様な処理が行わ
れる。レーザ出力部52dでは、プリント部制御用CP
Uからの制御信号に基づき、ディジタル画像データがレ
ーザのオン/オフ信号に変換され、レーザがオン/オフ
状態となる。なお、画像データ入力部50及び画像デー
タ出力部52において扱われるデータは、メモリ53の
容量の削減のため、基本的には2値データの形でメモリ
53に記憶されているが、画像データの劣化を考慮して
4値のデータの形で処理することも可能である。
The image data output unit 52 includes a restoration unit 52a, a multi-value quantization processing unit 52b, an error diffusion processing unit 52c, and a laser output unit 52d. The print data conversion method of the halftone image processing apparatus according to the present invention is applied between the error diffusion processing section 52c and the laser output section 52d. The image data output unit 52 restores the image data stored in the memory 53 in a compressed state, converts the image data into the original 256 gradations again, and corrects the error of the four-valued data which is a smoother halftone expression than the binary data. It is configured to perform diffusion and transfer the data to the laser output unit 52d. That is, the restoration unit 52a restores the image data compressed by the compression processing unit 51b. The multilevel halftoning processing unit 52b performs the same processing as the multilevel halftoning processing units 51a and 51b of the image processing unit 51. The error diffusion processing unit 52c performs the same processing as the error diffusion processing unit 50c of the image data input unit 50. In the laser output unit 52d, the print control CP
Based on the control signal from U, the digital image data is converted into a laser on / off signal, and the laser is turned on / off. The data handled by the image data input unit 50 and the image data output unit 52 is basically stored in the memory 53 in the form of binary data in order to reduce the capacity of the memory 53. It is also possible to process in the form of four-valued data in consideration of deterioration.

【0042】[0042]

【発明の効果】以上の説明から明らかなように、本発明
によると、以下のような効果がある。すなわち、従来に
おいて、中間調画像処理回路で量子化された値をそのま
ま印字していたために発生する画質上の問題点を解決す
る方法として、中間調画像処理回路で量子化されたデー
タに対して、等間隔での画素間演算を行うことで、画像
記録時のプリンタ部での駆動ムラによる画質上の影響を
低減させ、中間調の印字画質の階調表現を向上させる。
また、従来の中間調画像処理を変更せずに、本方式の処
理部を付加するだけで実現できる。さらに、エッジ判定
する手段を設けることで、画素間演算の対象画像を切り
換えることでエッジ部の保存を行うことが可能である。
更には、分割エリア内の画素の量子化値の最大値と最小
値とを算出してその差値を求め、これと固定しきい値と
を主走査方向及び副走査方向で比較することにより正確
に非エッジ部、エッジ部の判定を行うことが可能となっ
た。この結果、従来発生していたエッジ部での飛び出し
や、欠けといった画像の不具合も低減する。このとこか
ら、文字と写真とが混在した原稿について、文字および
写真部分の両方に応じた印字表現を行うことができる。
As is apparent from the above description, the present invention has the following effects. That is, in the past, as a method for solving the problem in image quality that occurs because the value quantized by the halftone image processing circuit is printed as it is, the data quantized by the halftone image processing circuit is By performing the pixel-to-pixel calculation at equal intervals, the influence on the image quality due to the drive unevenness in the printer unit during image recording is reduced, and the gradation expression of the halftone print image quality is improved.
Further, it can be realized by adding the processing unit of this system without changing the conventional halftone image processing. Furthermore, by providing a means for determining the edge, it is possible to save the edge portion by switching the target image of the inter-pixel calculation.
Furthermore, the maximum value and the minimum value of the quantized values of the pixels in the divided area are calculated, the difference value is obtained, and the fixed value is compared with the fixed threshold value in the main scanning direction and the sub scanning direction to obtain an accurate value. It is now possible to determine the non-edge portion and the edge portion. As a result, it is possible to reduce the image defects such as the protrusion at the edge portion and the chipping that have conventionally occurred. From this point, it is possible to perform the print expression according to both the character and the photograph portion on the document in which the character and the photograph are mixed.

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

【図1】本発明による中間調画像処理装置における印字
データ変換方式の位置づけを説明するためのフローチャ
ートである。
FIG. 1 is a flowchart for explaining the positioning of a print data conversion method in a halftone image processing apparatus according to the present invention.

【図2】本発明による処理方向を示す図である。FIG. 2 is a diagram showing processing directions according to the present invention.

【図3】本発明による注目画素に対する判定パターンを
示す図である。
FIG. 3 is a diagram showing a determination pattern for a target pixel according to the present invention.

【図4】本発明による量子化処理方法の一例を示す図で
ある。
FIG. 4 is a diagram showing an example of a quantization processing method according to the present invention.

【図5】本発明のエッジ部判定処理を示すフローチャー
トである。
FIG. 5 is a flowchart showing an edge determination process of the present invention.

【図6】本発明による中間調画像処理装置の一実施例を
説明するための構成図である。
FIG. 6 is a configuration diagram for explaining an embodiment of a halftone image processing device according to the present invention.

【図7】本発明による中間調画像処理で量子化されたデ
ータと従来の出力データとを比較するための図である。
FIG. 7 is a diagram for comparing data quantized by halftone image processing according to the present invention with conventional output data.

【図8】本発明による他の中間調画像処理で量子化され
たデータと従来の出力データとを比較するための図であ
る。
FIG. 8 is a diagram for comparing data quantized by another halftone image processing according to the present invention with conventional output data.

【図9】本発明による他の中間調画像処理で量子化され
たデータと従来の出力データとを比較するための図であ
る。
FIG. 9 is a diagram for comparing data quantized by another halftone image processing according to the present invention with conventional output data.

【図10】本発明による印字時の各データと濃度の関係
及び従来技術のそれとを示す図である。
FIG. 10 is a diagram showing the relationship between each data and the density at the time of printing according to the present invention and that of the prior art.

【図11】本発明による原データの濃度90のレベルで
の印字状態及び従来技術のそれとを比較するための図で
ある。
FIG. 11 is a diagram for comparing a printing state at a density of 90 of original data according to the present invention and that of a conventional technique.

【図12】本発明による量子化値処理方法の他の例を説
明するための図である。
FIG. 12 is a diagram for explaining another example of the quantized value processing method according to the present invention.

【図13】副走査方向エッジの判定パターンを示す図で
ある。
FIG. 13 is a diagram showing a determination pattern of an edge in the sub-scanning direction.

【図14】本発明による中間画像処理装置のフローチャ
ートを示す図である。
FIG. 14 is a diagram showing a flowchart of an intermediate image processing apparatus according to the present invention.

【図15】本発明による中間調画像処理装置の効果を説
明するための図である。
FIG. 15 is a diagram for explaining the effect of the halftone image processing apparatus according to the present invention.

【図16】本発明による中間調画像処理装置の効果を説
明するための図である。
FIG. 16 is a diagram for explaining the effect of the halftone image processing device according to the present invention.

【図17】本発明による中間調画像処理装置の効果を説
明するための図である。
FIG. 17 is a diagram for explaining the effect of the halftone image processing device according to the present invention.

【図18】本発明による中間調画像処理機能を備えたデ
ィジタル複写機の全体構成を示す断面図である。
FIG. 18 is a sectional view showing the overall configuration of a digital copying machine having a halftone image processing function according to the present invention.

【図19】図18におけるディジタル複写機に含まれる
画像処理部及び各制御系のブロック構成図である。
19 is a block configuration diagram of an image processing unit and each control system included in the digital copying machine in FIG.

【図20】従来の量子化処理手順を説明するための図で
ある。
FIG. 20 is a diagram for explaining a conventional quantization processing procedure.

【図21】従来の濃度保存を説明するための図である。FIG. 21 is a diagram for explaining conventional density storage.

【図22】従来の中間調画像処理を説明するためのフロ
ーチャートである。
FIG. 22 is a flowchart for explaining conventional halftone image processing.

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

1…エッジ判定部、2…演算部、10…ディジタル複合
機、11…スキャナ部、12…レーザプリンタ部、13
…多段給紙ユニット、14…ソータ、15…原稿載置
台、16…両面対応自動原稿送り装置(RDF)、20
…スキャナユニット、21…ランプリフレクタアセンブ
リ、22…光電変換素子(CCD)、23…反射ミラ
ー、24…レンズ、25…手差し原稿トレイ、26…レ
ーザ書き込みユニット、27…電子写真プロセス部、2
8…感光体ドラム、29…定着器、30…搬送路、31
…第1カセット、32…第2カセット、33…第3カセ
ット、35…第5カセット、36…共通搬送路、37〜
41…搬送路、50…画像データ入力部、51…画像処
理部、52…画像データ出力部、53…メモリ、54…
操作パネル、55…コピー濃度キー、56…倍率キー、
57…画像処理CPU(中央処理装置)。
DESCRIPTION OF SYMBOLS 1 ... Edge determination unit, 2 ... Calculation unit, 10 ... Digital multi-function peripheral, 11 ... Scanner unit, 12 ... Laser printer unit, 13
... multi-stage paper feeding unit, 14 ... sorter, 15 ... document placing table, 16 ... double-sided automatic document feeder (RDF), 20
... Scanner unit, 21 ... Lamp reflector assembly, 22 ... Photoelectric conversion element (CCD), 23 ... Reflecting mirror, 24 ... Lens, 25 ... Manual document tray, 26 ... Laser writing unit, 27 ... Electrophotographic process section, 2
8 ... Photosensitive drum, 29 ... Fixing device, 30 ... Transport path, 31
... 1st cassette, 32 ... 2nd cassette, 33 ... 3rd cassette, 35 ... 5th cassette, 36 ... Common conveyance path, 37-
41 ... Conveyance path, 50 ... Image data input section, 51 ... Image processing section, 52 ... Image data output section, 53 ... Memory, 54 ...
Operation panel, 55 ... Copy density key, 56 ... Magnification key,
57 ... Image processing CPU (central processing unit).

───────────────────────────────────────────────────── フロントページの続き (72)発明者 国川 憲英 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Norihide Kunikawa 22-22 Nagaike-cho, Abeno-ku, Osaka City, Osaka Prefecture

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 原稿の画像データを2値化変換する画像
データ入力部と、画像データを最終的に変換する画像処
理部と、該画像処理部により処理された画像データを記
憶する記憶部と、該記憶部に記憶されている画像データ
を復元し、中間調表現となるデータの誤差拡散を行う画
像データ出力部とから成り、該画像データ出力部におけ
るデータの誤差拡散処理のあとに、画素間演算を行う演
算手段を設けたことを特徴とする中間調画像処理装置。
1. An image data input unit for binarizing and converting image data of a document, an image processing unit for finally converting the image data, and a storage unit for storing the image data processed by the image processing unit. , An image data output unit that restores the image data stored in the storage unit and performs error diffusion of data that is a halftone expression. After the error diffusion processing of the data in the image data output unit, An intermediate-tone image processing device, characterized in that it is provided with a calculation means for performing an interval calculation.
【請求項2】 前記演算手段の前段にエッジ部判定手段
を設けたことを特徴とする請求項1記載の中間調画像処
理装置。
2. The halftone image processing apparatus according to claim 1, further comprising an edge determination unit provided in front of the calculation unit.
【請求項3】 前記エッジ部判定手段を主走査方向のエ
ッジ部と副走査方向のエッジ部を判定する主走査方向エ
ッジ部判定手段と副走査方向判定手段とで構成したこと
を特徴とする請求項2記載の中間調画像処理装置。
3. The edge portion determining means comprises main scanning direction edge portion determining means and sub scanning direction determining means for determining an edge portion in the main scanning direction and an edge portion in the sub scanning direction. Item 2. The halftone image processing device according to item 2.
【請求項4】 前記エッジ部判定手段が、エッジ部と非
エッジ部の領域を判定するものであることを特徴とする
請求項2又は3記載の中間調画像処理装置。
4. The halftone image processing apparatus according to claim 2, wherein the edge portion determination means determines an area of an edge portion and a non-edge portion.
JP05077712A 1992-11-24 1993-03-10 Halftone image processing device Expired - Fee Related JP3136024B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP05077712A JP3136024B2 (en) 1992-11-24 1993-03-10 Halftone image processing device
US08/152,975 US5515180A (en) 1992-11-24 1993-11-16 Image processing device
DE69328660T DE69328660T2 (en) 1992-11-24 1993-11-22 Image processing device
DE69333444T DE69333444T2 (en) 1992-11-24 1993-11-22 Image processing device
EP99121885A EP0982929B1 (en) 1992-11-24 1993-11-22 Image processing device
EP93118756A EP0599243B1 (en) 1992-11-24 1993-11-22 Image processing device
US08/449,542 US5748794A (en) 1992-11-24 1995-05-24 Image processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP33664292 1992-11-24
JP4-336642 1992-11-24
JP05077712A JP3136024B2 (en) 1992-11-24 1993-03-10 Halftone image processing device

Publications (2)

Publication Number Publication Date
JPH06217114A true JPH06217114A (en) 1994-08-05
JP3136024B2 JP3136024B2 (en) 2001-02-19

Family

ID=26418785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05077712A Expired - Fee Related JP3136024B2 (en) 1992-11-24 1993-03-10 Halftone image processing device

Country Status (1)

Country Link
JP (1) JP3136024B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6677994B1 (en) * 1997-06-26 2004-01-13 Sony Corporation Image processing apparatus method of the same and camera apparatus
KR100750119B1 (en) * 2005-04-01 2007-08-21 삼성전자주식회사 Image forming method and device using edge information of image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6677994B1 (en) * 1997-06-26 2004-01-13 Sony Corporation Image processing apparatus method of the same and camera apparatus
KR100750119B1 (en) * 2005-04-01 2007-08-21 삼성전자주식회사 Image forming method and device using edge information of image

Also Published As

Publication number Publication date
JP3136024B2 (en) 2001-02-19

Similar Documents

Publication Publication Date Title
JP2000032278A (en) Image processor
JP3311549B2 (en) Magnification control device for image processing device
JP3136024B2 (en) Halftone image processing device
EP0876052B1 (en) An image forming apparatus and an image forming method thereof
JPH1051609A (en) Image forming device, image forming method, information processing system and its method
JP2978012B2 (en) Image forming device
JP3124839B2 (en) Image forming device
JP3313748B2 (en) Copying apparatus having additional information synthesizing function and additional information synthesizing method
JP2877603B2 (en) Image processing device
JP3031590B2 (en) Halftone image recording device
JP2992167B2 (en) Image forming device
JP2863039B2 (en) Halftone image recording circuit
JPH06125456A (en) Picture processor
JPH1028225A (en) Mtf-correcting device
JP3877416B2 (en) Image processing apparatus and image processing method
JP3625158B2 (en) Image forming apparatus and image forming method
JP2922736B2 (en) Digital copier
JP2719473B2 (en) Image forming device
JPH0622140A (en) Electronic photography type copying machine
JPH0670166A (en) Image forming device
JPH0678152A (en) Image processor
JP3590627B2 (en) Image processing device
JPH0670161A (en) Image forming device
JPH06166245A (en) Apparatus for automatically correcting printing position
JPH0614180A (en) Image data processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071201

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081201

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091201

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101201

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees