JPH08186725A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPH08186725A
JPH08186725A JP6339810A JP33981094A JPH08186725A JP H08186725 A JPH08186725 A JP H08186725A JP 6339810 A JP6339810 A JP 6339810A JP 33981094 A JP33981094 A JP 33981094A JP H08186725 A JPH08186725 A JP H08186725A
Authority
JP
Japan
Prior art keywords
data
pixel
color
signal
edge
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
JP6339810A
Other languages
Japanese (ja)
Other versions
JP3289530B2 (en
Inventor
Yoshihiko Hirota
好彦 廣田
Hiroyuki Suzuki
浩之 鈴木
Toru Kasamatsu
徹 笠松
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP33981094A priority Critical patent/JP3289530B2/en
Priority to US08/578,947 priority patent/US6064494A/en
Publication of JPH08186725A publication Critical patent/JPH08186725A/en
Priority to US09/472,436 priority patent/US6417932B1/en
Priority to US09/834,940 priority patent/US6721066B2/en
Application granted granted Critical
Publication of JP3289530B2 publication Critical patent/JP3289530B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To prevent a peripheral void accompanying an edge processing by detecting the edge part of a black character plotted on a colored base. CONSTITUTION: Analog picture data read by a CCD image sensor are passed through A/D conversion, shading correction, monochromatic/full-color correction and a variable magnification processing, etc., and inputted to an HVC conversion part 1100 as RGB picture data R, G and B57-50 . The HVC conversion part 1100 generates brightness signals V7-0 and saturation data W7-0 from input signals. An area discrimination part 1500 performs the edge detection of pictures from the derivation of the brightness signals V7-0 , refers to the saturation data W7-0 , and at the time of judging the edge part of black, replaces the respective color data of the cyan(C), magenta(M) and yellow(Y) of the picture element with the data of a lowest density among the data of the C, M and Y colors of the peripheral picture element. Also, the value of the black(BK) color data is replaced with the data of the high density for a prescribed amount.

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 such as a digital color copying machine.

【0002】[0002]

【従来の技術】従来より、イメージリーダで読み取った
RGB画像データをシアン(C)、マゼンタ(M)、イ
エロー(Y)、ブラック(BK)の4色の画像データに
色変換し、得られた画像データに基づいて、上記4色の
トナーを複写紙に現像するフルカラーデジタル複写機で
あって、MTF補正として、原稿画像中の黒文字を検出
し、検出された部分に対し、BKデータは、明度エッジ
成分を用いてエッジ強調を行い、C,M,Yデータは、
明度エッジ成分を用いてエッジ除去を行う。これによ
り、黒文字部分をBKデータ単色で再現し、複写紙上に
再現される画像品質の向上を図る。
2. Description of the Related Art Conventionally, RGB image data read by an image reader is obtained by color conversion into four color image data of cyan (C), magenta (M), yellow (Y), and black (BK). A full-color digital copying machine that develops the above-mentioned four-color toners on a copy paper based on image data, detects black characters in an original image as MTF correction, and detects BK data for the detected portion. Edge enhancement is performed using edge components, and C, M, and Y data are
Edge removal is performed using the lightness edge component. As a result, the black character portion is reproduced with a single color of BK data, and the quality of the image reproduced on the copy paper is improved.

【0003】[0003]

【発明が解決しようとする課題】しかし、黒文字周辺部
が色の付いた下地に描かれている場合、C,M,Yデー
タを明度エッジ成分によってエッジ除去すると、除去す
るデータ量が多すぎるため、図69(a)に示すよう
に、原稿の黒文字の周辺部分に白抜けが生じる。一般
に、原稿中の画像が黒文字か否かの判定は、以下のよう
にして行われる。文字は、基本的に”エッジ部分”及び
そのエッジ部分に挟まれた”べた塗り”の部分の2つの
要素より成り立っている。線の細い文字の場合には、エ
ッジのみとなる。即ち、文字の判定は、エッジの判定を
行うことで達成される。また、黒の判定は、彩度データ
7〜0の値に基づいて行われる。具体的には彩度データ
7〜0の値が所定の基準値以下の場合にこれを黒と判定
する。上記文字及び黒の判定により、エッジ部分であっ
て、黒色の画像は、黒文字であると判定することができ
る。ところが、上記文字(エッジ)判定及び黒の判定の
みでは、明度データV7〜0の値が低く、かつ彩度データ
WS7〜0の値も低い(例えば濃い青色や深緑色の)文字
を黒文字のエッジ部分と誤判別することがある。また、
網点画像を構成する画素を黒文字のエッジ部であると誤
判定してエッジ強調を行うと、モアレが発生する。ま
た、電子写真式の画像処理装置の場合、図70(a)に
示すように、複写紙の通紙方向を基準としてエッジの立
ち上がり部分にトナーがつき過ぎ、エッジのたち下がり
部分のトナーがかすれるといった現象が生じる。
However, when the peripheral portion of black characters is drawn on a colored background, if the C, M, and Y data are edge-removed by the lightness edge component, the amount of data to be removed is too large. As shown in FIG. 69A, white spots appear around the black characters on the document. In general, the determination as to whether or not an image in a document is black characters is performed as follows. A character basically consists of two elements, an "edge part" and a "solid fill" part sandwiched between the edge parts. In the case of thin line characters, only the edges are available. That is, the character determination is achieved by performing the edge determination. The black determination is made based on the values of the saturation data W7-0 . Specifically, when the value of the saturation data W7-0 is less than or equal to a predetermined reference value, it is determined to be black. By the above character and black determination, the black image at the edge portion can be determined to be a black character. However, the character (edge) only determination and black determination, the value of the brightness signal V 7 to 0 is low, black and chroma value data WS 7 to 0 is low (e.g., dark blue or dark green) character May be erroneously discriminated as the edge part of. Also,
If the pixels forming the halftone image are erroneously determined to be the edges of black characters and edge enhancement is performed, moire occurs. Further, in the case of the electrophotographic image processing apparatus, as shown in FIG. 70A, the toner is excessively attached to the rising portion of the edge and the toner is faint in the falling portion of the edge with reference to the sheet passing direction of the copy paper. Such a phenomenon occurs.

【0004】本発明の第1の目的は、MTF補正とし
て、より確実に黒文字の判定を行い、適切なエッジ強調
処理を行う画像処理装置を提供することである。また、
第2の目的は、画像の種類の応じて適切なMTF補正を
行う画像処理装置を提供することである。また、第3の
目的は、通紙方向を基準として発生するエッジの立ち上
がり部分でのトナーのつき過ぎ、エッジのたち下がり部
分でのトナーのかすれを解消する画像処理装置を提供す
ることである。
A first object of the present invention is to provide an image processing apparatus which more reliably determines a black character and performs an appropriate edge enhancement process as MTF correction. Also,
A second object is to provide an image processing device that performs appropriate MTF correction according to the type of image. A third object of the present invention is to provide an image processing apparatus that eliminates excessive toner sticking at the rising edge of the edge and toner fading at the falling edge of the edge, which occurs with the sheet passing direction as a reference.

【0005】[0005]

【課題を解決するための手段】本発明の第1の画像処理
装置では、原稿のRGB画像データを読み取る読取手段
と、読取手段により読み取られたRGB画像データをシ
アン(C),マゼンタ(M),イエロー(Y),ブラッ
ク(BK)の色データ(以下、それぞれの色データをC
データ、Mデータ、Yデータ、BKデータという。)に
変換する色補正手段と、読取手段により読み取られた原
稿のRGB画像データより、原稿内の各画素の明度デー
タVと、彩度データWを求めるHVC変換手段と、HV
C変換手段により得られた原稿内の各画素の明度データ
Vから当該画素がエッジ部分の画素であるか否かを判定
し、彩度データWから画素が黒色か否かを判定する判定
手段と、判定手段により黒色のエッジ部分であると判定
された画素を中心画素とする所定のマトリクス内の各周
辺画素のC,M,Yデータの内、最も低濃度のデータ
を、当該画素のC,M,Yデータと置換するC,M,Y
データ置換手段と、検出手段により検出された黒色のエ
ッジ部分の画素のBKデータの値を所定量だけ高濃度の
データに置換するBKデータ置換手段とを備える。
In the first image processing apparatus of the present invention, the reading means for reading the RGB image data of the document, and the RGB image data read by the reading means are cyan (C) and magenta (M). , Yellow (Y), black (BK) color data (hereinafter, each color data is C
They are called data, M data, Y data, and BK data. ), A HVC conversion unit for obtaining the brightness data V and the saturation data W of each pixel in the original from the RGB image data of the original read by the reading unit, and HV.
Determination means for determining whether or not the pixel is an edge portion pixel from the brightness data V of each pixel in the document obtained by the C conversion means, and determining whether or not the pixel is black based on the saturation data W. Of the C, M, and Y data of each peripheral pixel in a predetermined matrix whose center pixel is a pixel determined to be a black edge portion by the determination unit, the lowest density data is the C, M, and Y of that pixel. C, M, Y to replace M, Y data
The data replacement means and the BK data replacement means for replacing the value of the BK data of the pixel in the black edge portion detected by the detection means with the high-density data by a predetermined amount.

【0006】また、第2の画像処理装置では、原稿のR
GB画像データを読み取る読取手段と、読取手段により
読み取られたRGB画像データをシアン(C),マゼン
タ(M),イエロー(Y),ブラック(BK)の色デー
タ(以下、それぞれの色データをCデータ、Mデータ、
Yデータ、BKデータという。)に変換する色補正手段
と、読取手段により読み取られた原稿のRGB画像デー
タより、原稿内の各画素の明度データVと、彩度データ
Wを求めるHVC変換手段と、HVC変換手段により得
られた原稿内の各画素の明度データVから当該画素がエ
ッジ部分の画素であるか否かを判定し、彩度データWか
ら画素が黒色か否かを判定する判定手段と、判定手段に
より黒色のエッジ部分の画素であると判定された画素を
中心画素とする所定のマトリクス内において、HVC変
換手段により求められた明度データVが所定値以下であ
って、かつ彩度データWが所定値以上であり、かつ判定
手段によりエッジ部分でないと判定された画素を検出す
る検出手段と、検出手段により検出された画素の数をカ
ウントするカウント手段と、カウント手段によるカウン
ト値が所定値以上になった場合、上記判定手段が黒色の
エッジ部分の画素であると判定した画素についての判定
結果を無効とする誤判定訂正手段とを備える。
Further, in the second image processing apparatus, the R of the original is read.
A reading unit that reads GB image data, and the RGB image data read by the reading unit is color data of cyan (C), magenta (M), yellow (Y), and black (BK) (hereinafter, each color data is C Data, M data,
They are called Y data and BK data. ) Is obtained by the HVC conversion means for obtaining the brightness data V and the saturation data W of each pixel in the document from the RGB correction image data of the document read by the reading means, and the HVC conversion means. The brightness data V of each pixel in the original document is used to determine whether the pixel is an edge pixel, and the saturation data W is used to determine whether the pixel is black. In the predetermined matrix having the pixel determined to be the pixel of the edge portion as the central pixel, the lightness data V obtained by the HVC conversion means is less than the predetermined value, and the saturation data W is not less than the predetermined value. A detection unit that detects a pixel that is present and that is not determined to be an edge portion by the determination unit, a counting unit that counts the number of pixels detected by the detection unit, and a counting unit. If the count value exceeds a predetermined value, and a misjudgment correcting means for invalidating the determination result for the pixel in which the determination means determines that the pixel of an edge portion of the black.

【0007】また、第3の画像処理装置では、原稿のR
GB画像データを読み取る読取手段と、読取手段により
読み取られたRGB画像データをシアン(C),マゼン
タ(M),イエロー(Y),ブラック(BK)の色デー
タ(以下、それぞれの色データをCデータ、Mデータ、
Yデータ、BKデータという。)に変換する色補正手段
と、読取手段により読み取られた原稿のRGB画像デー
タより、原稿内の各画素の明度データVと、彩度データ
Wを求めるHVC変換手段と、HVC変換手段により得
られた原稿内の各画素の明度データVから当該画素がエ
ッジ部分の画素であるか否かを判定し、彩度データWか
ら画素が黒色か否かを判定する判定手段と、判定手段に
より黒色のエッジ部分であると判定された画素と、当該
画素を中心画素とする所定のマトリクス内の周辺画素の
C,M,Yデータの内、最も低濃度のデータを当該画素
のC,M,Yデータと置換するC,M,Yデータ置換手
段と、判定手段により黒色のエッジ部分であると判定さ
れた画素のBKデータの値を所定量だけ高濃度のデータ
に置換するBKデータ置換手段と、HVC変換手段によ
り求めた明度データVの値より、所定のマトリクス内に
おいて、全ての周辺画素の明度データVの値と、注目画
素の明度データVの値との差が、所定値以上である当該
注目画素を孤立画素として検出する孤立画素検出手段
と、上記とは別の所定のマトリクス内において、上記孤
立画素検出手段により検出された孤立画素の数をカウン
トするカウント手段と、カウント手段によるカウント値
に比例して、上記BKデータ置換手段のデータ置換量を
減少するエッジ強調量調節手段とを備える。
Further, in the third image processing apparatus, the R of the original is
A reading unit that reads GB image data, and the RGB image data read by the reading unit is color data of cyan (C), magenta (M), yellow (Y), and black (BK) (hereinafter, each color data is C Data, M data,
They are called Y data and BK data. ) Is obtained by the HVC conversion means for obtaining the brightness data V and the saturation data W of each pixel in the document from the RGB correction image data of the document read by the reading means, and the HVC conversion means. The brightness data V of each pixel in the original document is used to determine whether the pixel is an edge pixel, and the saturation data W is used to determine whether the pixel is black. Of the C, M, and Y data of the pixel determined to be the edge portion and the peripheral pixels in a predetermined matrix having the pixel as the center pixel, the lowest density data is the C, M, and Y data of the pixel. C, M, Y data replacing means for replacing with BK data replacing means for replacing the value of the BK data of the pixel determined to be a black edge portion by the determining means with high density data by a predetermined amount, and HVC Converter From the value of the brightness data V obtained by the above, in the predetermined matrix, the target pixel in which the difference between the value of the brightness data V of all the peripheral pixels and the value of the brightness data V of the target pixel is a predetermined value or more is determined. The isolated pixel detecting means for detecting as an isolated pixel, the counting means for counting the number of isolated pixels detected by the isolated pixel detecting means in a predetermined matrix different from the above, and the count value by the counting means are proportional to And an edge emphasis amount adjusting means for reducing the data replacement amount of the BK data replacement means.

【0008】また、第4の画像処理装置では、原稿のR
GB画像データを読み取る読取手段と、感光体と、読み
取られたRGB画像データに基づいて、感光体上にトナ
ー像を形成する現像器と、感光体上に形成されたトナー
像を、所定の方向で搬送される用紙に転写する転写手段
と、上記転写手段に用紙を所定の方向で搬送する搬送手
段と、搬送手段が転写手段に用紙を搬送する方向を基準
として、エッジの立ち上がり部分に該当する画素と、エ
ッジの立ち下がり部分に該当する画素とを検出する検出
手段と、検出手段により検出されたエッジの立ち上がり
部分における画素の上記通紙方向に1つ前の画素と、エ
ッジの立ち下がり部分における画素の上記通紙方向に1
つ後ろの画素とに、所定の補正データを加算する補正デ
ータ加算手段とを備える。
Further, in the fourth image processing apparatus, the R of the original is read.
A reading unit that reads GB image data, a photoconductor, a developing unit that forms a toner image on the photoconductor based on the read RGB image data, and a toner image that is formed on the photoconductor in a predetermined direction. The transfer means for transferring the paper to the paper conveyed by the transfer means, the transfer means for transferring the paper to the transfer means in a predetermined direction, and the rising portion of the edge with reference to the direction in which the transfer means transfers the paper to the transfer means. A detection unit that detects a pixel and a pixel corresponding to a falling portion of the edge, a pixel immediately preceding the pixel at the rising portion of the edge detected by the detection unit in the sheet passing direction, and a falling portion of the edge. 1 in the paper feed direction of pixels in
A correction data addition unit that adds predetermined correction data to the next pixel is provided.

【0009】また、第5の画像処理装置では、原稿のR
GBデジタル画像データを読み取る読取手段と、読取手
段により読み取られたRGB画像データをシアン
(C),マゼンタ(M),イエロー(Y),ブラック
(BK)の色データ(以下、それぞれの色データをCデ
ータ、Mデータ、Yデータ、BKデータという。)に変
換する色補正手段と、読み取られたRGB画像データよ
り、原稿内の各画素の明度データVと、彩度データWを
求めるHVC変換手段と、HVC変換手段により求めら
れた原稿内の各画素の明度データVから当該画素がエッ
ジ部分の画素であるか否かを判定し、彩度データWから
当該画素が黒色か否かを判定する判定手段と、読取手段
による原稿の画像データの読み取りに同期して、モノカ
ラー/モノクロのエリア情報を入力するエリア情報入力
手段と、エリア情報入力手段による入力及び判定手段に
よる判定結果から、フルカラー原稿の黒エッジ部である
と判定された画素に対し、該画素を中心画素とする所定
のマトリクス内の周辺画素のC,M,Yデータの内、最
も低濃度のデータを当該画素のC,M,Yデータと置換
するC,M,Yデータ置換手段と、エリア情報入力手段
による入力及び判定手段による判定結果から、フルカラ
ー原稿の黒エッジ部又はモノクロ原稿の黒エッジ部分で
あると判定された画素のBKデータを明度エッジ成分で
強調し、フルカラー原稿の色エッジ部又はモノカラー原
稿のエッジ部であると判定された画素のBKデータはそ
のまま出力するBKデータ強調手段と、エリア情報入力
手段による入力及び判定手段による判定結果から、フル
カラー原稿の色エッジ部又はモノカラー原稿のエッジ部
であると判定された画素のC,M,Yデータを濃度エッ
ジ成分で強調し、モノクロ原稿のエッジ部であると判定
された画素のC,M,Yデータをそのまま出力するC,
M,Yデータ強調手段とを備える。
Further, in the fifth image processing apparatus, the R of the original is
A reading unit that reads GB digital image data, and the RGB image data that is read by the reading unit is color data of cyan (C), magenta (M), yellow (Y), and black (BK) (hereinafter, each color data is C data, M data, Y data, and BK data), and a HVC conversion unit that obtains the brightness data V and the saturation data W of each pixel in the original from the read RGB image data. Then, it is determined from the brightness data V of each pixel in the document obtained by the HVC conversion means whether or not the pixel is an edge pixel, and from the saturation data W whether or not the pixel is black. An area information input unit for inputting monochromatic / monochrome area information in synchronization with the reading of the image data of the document by the determination unit and the reading unit, and an area information input unit. With respect to the pixel determined to be the black edge portion of the full-color original from the input by the determination unit and the determination result by the determination unit, among C, M, and Y data of peripheral pixels in a predetermined matrix having the pixel as a central pixel, Based on the C, M, Y data replacing means for replacing the lowest density data with the C, M, Y data of the pixel concerned, and the input by the area information input means and the judgment result by the judging means, the black edge portion or monochrome of the full color original document. The BK data of the pixel determined to be the black edge portion of the document is emphasized by the lightness edge component, and the BK data of the pixel determined to be the color edge part of the full-color document or the edge part of the monocolor document is output as it is. The color edge portion of the full-color original or the mono-color original is determined based on the BK data emphasizing means, the input by the area information inputting means, and the judgment result by the judging means. Of pixels determined as an edge portion C, M, Y data highlighted in density edge component, and outputs C of pixels determined as an edge portion of the monochrome document, M, Y data as C,
And M and Y data emphasizing means.

【0010】[0010]

【作用】本発明の第1の画像処理装置では、読取手段に
より読み取られたRGB画像データから、判定手段が黒
色のエッジ部分であると判定した画素に対し、C,M,
Yデータ置換手段により当該画素を中心画素とする所定
のマトリクス内の周辺画素のC,M,Yデータの内、最
も低濃度のデータを当該画素のC,M,Yデータと置換
すると共に、BKデータ置換手段により当該画素のBK
データを所定量だけ高濃度に置換する。これにより、フ
ルカラー原稿の黒エッジ部周辺に白抜けが生じることを
防止する。
In the first image processing apparatus of the present invention, from the RGB image data read by the reading means, C, M, and
The Y data replacing means replaces the lowest density data of the C, M, Y data of the peripheral pixels in the predetermined matrix having the pixel as the center pixel with the C, M, Y data of the pixel, and BK. BK of the pixel by the data replacement means
Replace the data with a high amount by a predetermined amount. This prevents white spots from occurring around the black edge portion of the full-color document.

【0011】また、第2の画像処理装置では、判定手段
により黒色のエッジ部であると判定された画素を中心と
する所定のマトリクス内において、明度データVが所定
値以下であって、かつ彩度データWが所定値以上であ
り、判定手段によりエッジ部分でないと判別された画素
の数をカウント手段によりカウントする。ここで、カウ
ント手段によるカウント値が所定の数以上である場合、
判定手段による判定を取り消す。これにより、シアンか
らイエローへの色の境界線を黒色のエッジ部と誤判別す
ることを防止する。
In the second image processing apparatus, the brightness data V is equal to or less than the predetermined value and the color is within the predetermined matrix centered on the pixel determined to be the black edge portion by the determination unit. The counting means counts the number of pixels whose frequency data W is equal to or larger than a predetermined value and which is determined not to be an edge portion by the determining means. Here, when the count value by the counting means is a predetermined number or more,
Cancel the judgment made by the judging means. This prevents the color boundary line from cyan to yellow from being erroneously determined to be a black edge portion.

【0012】また、第3の画像処理装置では、判定手段
により黒色のエッジ部分であると判定された画素を中心
画素とする所定のマトリクス内において、全ての周辺画
素の明度データの値と、注目画素の明度データVの値と
の差が所定値以上である場合、当該注目画素を孤立画素
として検出し、上記とは別の所定のマトリクス内におけ
る上記孤立点の数をカウント手段によりカウントし、こ
のカウント値に比例して、BKデータ置換手段によるデ
ータ置き換え量をエッジ強調量調節手段により減少す
る。
Further, in the third image processing apparatus, the brightness data values of all the peripheral pixels in the predetermined matrix whose central pixel is the pixel judged to be the black edge portion by the judging means, When the difference from the value of the brightness data V of the pixel is equal to or more than a predetermined value, the target pixel is detected as an isolated pixel, and the number of the isolated points in a predetermined matrix different from the above is counted by the counting means, In proportion to this count value, the data replacement amount by the BK data replacement means is reduced by the edge emphasis amount adjustment means.

【0013】また、第4の画像処理装置では、搬送手段
が転写手段に用紙を搬送する方向を基準として、検出手
段により、エッジの立ち上がり部分及び立ち下がり部分
を検出する。補正データ加算手段は、検出手段により検
出されたエッジの立ち上がり部分における画素の通紙方
向に1つ前の画素と、立ち下がり部分における1つ後の
画素とに所定の補正データを加算する。
Further, in the fourth image processing apparatus, the detecting means detects the rising portion and the falling portion of the edge with reference to the direction in which the conveying means conveys the sheet to the transfer means. The correction data addition means adds predetermined correction data to the pixel immediately preceding the pixel in the sheet passing direction at the rising portion of the edge detected by the detection means and the pixel immediately after the falling portion.

【0014】また、第5の画像処理装置では、エリア情
報入力手段による入力、及び判定手段における判定結果
に基づいて、フルカラー原稿の黒色エッジ部、色エッジ
部、モノカラー原稿のエッジ部、モノクロ原稿のエッジ
部のそれぞれに応じて、C,M,Y,BKデータの値を
置換する。
Further, in the fifth image processing apparatus, the black edge portion, the color edge portion of the full-color original, the edge portion of the mono-color original, the monochrome original based on the input by the area information input means and the judgment result by the judging means. The values of the C, M, Y, and BK data are replaced according to each of the edge portions of.

【0015】[0015]

【実施例】以下、添付の図面を用いて本実施例の画像処
理装置について以下の順で説明する。 (a)画像処理装置の構成 (a-1)複写機本体の構成 (a-2)操作パネル (b)読取信号処理部20における各処理の説明 (b-1)A/D変換部 (b-2)シェーディング補正部 (b-2-1)ピーク値ホールド回路 (b-2-2)逆数変換処理 (b-3)ライン間補正部 (b-3-1)ライン間補正処理 (b-3-2)補間処理 (b-4)AE処理部 (b-4-1)ヒストグラム生成部 (b-4-2)原稿サイズ検出部 (b-4-3)AE処理部 (b-5)変倍・移動処理部 (b-5-1)縮小補間部 (b-5-2)変倍・移動処理部 (b-5-2-1)変倍処理 (b-5-2-2)移動処理 (b-5-2-3)イメージリピート (b-5-3)拡大補間部 (b-6)画像インターフェース部 (b-7)HVC変換部 (b-7-1)HVC変換 (b-7-2)画質モニタ機能 (b-8)濃度変換部 (b-9)UCR/BP処理部 (b-10)色補正部 (b-11)領域判別部 (b-11-1)文字(エッジ)の判定 (b-11-1-1)1次微分フィルタ (b-11-1-2)2次微分フィルタ (b-11-1-3)エッジ判定 (b-11-2)黒の判定 (b-11-3)黒文字誤判別領域の抽出 (b-11-4)網点領域の判別 (b-11-5)他の判別 (b-12)MTF補正部 (b-12-1)フルカラー標準モード設定時におけるMTF補
正 (b-12-1-1)黒エッジ部 (b-12-1-1-1)BKの印字処理中 (b-12-1-1-2)C,M,Yの印字処理中 (b-12-1-2)色エッジ部 (b-12-1-3)ハイライト平坦部 (b-12-1-4)非エッジ部 (b-12-2)フルカラー写真モード設定時におけるMTF補
正 (b-12-2-1)黒エッジ部及び色エッジ部 (b-12-2-2)ハイライト平坦部 (b-12-2-3)非エッジ部 (b-12-3)モノカラー標準モード設定時におけるMTF補
正 (b-12-3-1)エッジ部 (b-12-3-2)ハイライト平坦部 (b-12-4)モノカラー写真モード設定時におけるMTF補
正 (b-12-4-1)エッジ部 (b-12-4-2)ハイライト平坦部 (b-12-5)モノクロ標準モード設定時 (b-12-5-1)エッジ部 (b-12-5-2)ハイライト平坦部 (b-12-6)モノクロ写真モード設定時におけるMTF補正 (b-12-7)MTF補正部1600の説明 (b-13)γ補正部
DESCRIPTION OF THE PREFERRED EMBODIMENTS The image processing apparatus of this embodiment will be described below in the following order with reference to the accompanying drawings. (A) Configuration of image processing apparatus (a-1) Configuration of copying machine main body (a-2) Operation panel (b) Description of each processing in the read signal processing unit 20 (b-1) A / D conversion unit (b) -2) Shading correction section (b-2-1) Peak value hold circuit (b-2-2) Reciprocal conversion processing (b-3) Line correction section (b-3-1) Line correction processing (b- 3-2) Interpolation processing (b-4) AE processing section (b-4-1) Histogram generation section (b-4-2) Original size detection section (b-4-3) AE processing section (b-5) Magnification / movement processing unit (b-5-1) Reduction interpolation unit (b-5-2) Magnification / movement processing unit (b-5-2-1) Magnification / reduction processing (b-5-2-2) Moving process (b-5-2-3) Image repeat (b-5-3) Enlargement interpolation part (b-6) Image interface part (b-7) HVC conversion part (b-7-1) HVC conversion (b -7-2) Image quality monitor function (b-8) Density conversion unit (b-9) UCR / BP processing unit (b-10) Color correction unit (b-11) Area discrimination unit (b-11-1) Character (Edge) judgment (b-11-1-1) First order differential filter (b-11-1-2) Second order differential filter (b-11-1-3) Edge judgment (b-11-2) Judgment of black (b-11-3) Extraction of black character misjudgment area (b-11-4) Judgment of halftone dot area (b-11-5) Other judgment (b-12) MTF correction part (b-12-1) MTF correction when full color standard mode is set (b-12-1-1) Black edge part (b-12-1-1-1) BK printing process (b-12 -1-1-2) During C, M, Y printing process (b-12-1-2) Color edge part (b-12-1-3) Highlight flat part (b-12-1-4) Non-edge part (b-12-2) MTF correction when full color photo mode is set (b-12-2-1) Black edge part and color edge part (b-12-2-2) Flat highlight part (b- 12-2-3) Non-edge part (b-12-3) MTF correction when mono color standard mode is set (b-12-3-1) Edge part (b-12-3-2) Flat highlight part ( b-12-4) MTF correction when mono-color photo mode is set (b-12-4-1) Edge part (b-12-4-2) Highlight flat part (b-12-5) Monochrome standard mode setting Hour (b-12-5-1) Edge part (b-12-5-2) Highlight flat part (b-12-6) Monochrome photo mode setting MTF correction at fixed time (b-12-7) Description of MTF correction unit 1600 (b-13) γ correction unit

【0016】(a)画像処理装置の構成 (a-1)複写機本体の構成 図1は、本実施例で用いるデジタルカラー複写機の概略
構成図である。デジタルカラー複写機は、原稿画像を読
み取るイメージリーダ部100と、イメージリーダ部1
00で読み取った画像データを再現する複写部200と
に大きく分けられる。イメージリーダ部100におい
て、スキャナ10は、原稿を照射する露光ランプ12
と、原稿からの反射光を集光するロッドレンズアレー1
3、及び集光された光を電気信号に変換する密着型のC
CDカラーイメージセンサ14を備えている。CCDカ
ラーイメージセンサ14は、R(赤),G(緑),B
(青)の各成分のデジタル画像データの読み取りを行う
ために所定の間隔で配置された3ラインのCCDからな
る。スキャナ10は、原稿画像の読み取り時には、モー
タ11により駆動されて、矢印の方向(副走査方向)に
移動し、まず、シェーディング補正用の白色板16のデ
ータを読み取った後、プラテン15上に載置された原稿
を走査する。露光ランプ12により照射された原稿面の
画像は、CCDイメージセンサ14で光電変換される。
CCDイメージセンサ14により得られるR,G,Bの3
色の多値電気信号は、読取信号処理部20において、シ
ェーディング補正、ライン間補正の施されたY(イエロ
ー)、M(マゼンダ)、C(シアン)、BK(ブラッ
ク)の8ビットの階調データに変換され、MTF補正及
びγ補正等が施された後に、同期用バッファメモリ30
に記憶される。
(A) Configuration of image processing apparatus (a-1) Configuration of copying machine main body FIG. 1 is a schematic configuration diagram of a digital color copying machine used in this embodiment. The digital color copying machine includes an image reader unit 100 for reading a document image and an image reader unit 1.
The copying unit 200 that reproduces the image data read by 00 is roughly divided. In the image reader unit 100, the scanner 10 includes an exposure lamp 12 that illuminates a document.
And a rod lens array 1 that collects the reflected light from the original
3, and a contact-type C that converts the condensed light into an electric signal
A CD color image sensor 14 is provided. The CCD color image sensor 14 has R (red), G (green) and B
It is composed of three lines of CCDs arranged at predetermined intervals for reading digital image data of each component of (blue). When reading a document image, the scanner 10 is driven by the motor 11 and moves in the direction of the arrow (sub-scanning direction). First, after reading the data of the white plate 16 for shading correction, the scanner 10 is placed on the platen 15. The placed document is scanned. The image of the document surface illuminated by the exposure lamp 12 is photoelectrically converted by the CCD image sensor 14.
R, G, B 3 obtained by the CCD image sensor 14
The multivalued electrical signal of color is an 8-bit gradation of Y (yellow), M (magenta), C (cyan), and BK (black) that has been subjected to shading correction and line correction in the read signal processing unit 20. After being converted into data and subjected to MTF correction, γ correction, etc., the synchronization buffer memory 30
Is stored.

【0017】次に、複写部200において、プリンタヘ
ッド部31は、入力される階調データをD/A変換して
半導体レーザ駆動信号を生成し、この駆動信号により半
導体レーザを発光させる。この半導体レーザは、発光時
の立ち上がり応答を良くするために常に微弱な発光状態
にされている。この際に半導体レーザが発光する微弱な
光をバイアス光という。
Next, in the copying section 200, the printer head section 31 D / A converts the inputted gradation data to generate a semiconductor laser drive signal, and the semiconductor laser is caused to emit light by this drive signal. This semiconductor laser is always in a weak light emitting state in order to improve the rising response at the time of light emission. The weak light emitted by the semiconductor laser at this time is called bias light.

【0018】階調データに対応してプリンタヘッド部3
1から発生されるレーザビームは、反射鏡37を介し
て、回転駆動される感光体ドラム41を露光する。感光
体ドラム41は、1複写毎に露光を受ける前にイレーサ
ランプ42で照射され、帯電チャージャ43により一様
に帯電されている。この状態で露光を受けると、感光体
ドラム41上に原稿の静電潜像が形成される。C(シア
ン)、M(マゼンダ)、Y(イエロー)、BK(ブラッ
ク)のトナー現像器45a〜45dのうちの何れか1つ
だけが選択され、感光体ドラム41上の静電潜像を現像
する。現像されたトナー像は、転写チャージャ46によ
り転写ドラム51上に巻き付けられた複写紙に転写され
る。ファーブラシ47は、転写ドラムの用紙外に転写さ
れたトナーを回収する。
The printer head unit 3 corresponding to the gradation data
The laser beam emitted from the laser beam No. 1 exposes the photosensitive drum 41, which is rotationally driven, via the reflecting mirror 37. The photosensitive drum 41 is irradiated by the eraser lamp 42 before being exposed for each copy, and is uniformly charged by the charging charger 43. When exposed in this state, an electrostatic latent image of the original is formed on the photosensitive drum 41. Only one of the C (cyan), M (magenta), Y (yellow), and BK (black) toner developing devices 45a to 45d is selected to develop the electrostatic latent image on the photosensitive drum 41. To do. The developed toner image is transferred by the transfer charger 46 onto the copy paper wound around the transfer drum 51. The fur brush 47 collects the toner transferred to the outside of the transfer drum.

【0019】上記印字工程は、Y(イエロー)、M(マ
ゼンダ)、C(シアン)及びBK(ブラック)の4色に
ついて繰り返し行われている。このとき、感光体ドラム
41と、転写ドラム51の動作に同期して、スキャナ1
0はスキャン動作を繰り返す。その後、複写紙は、分離
爪47を作動させることで転写ドラム51から分離さ
れ、定着装置48を通ってトナー像が定着された後、排
紙トレー49に排紙される。なお、複写紙は、用紙カセ
ット50より給紙され、転写ドラム51上のチャッキン
グ機構52によりその先端がチャッキングされ、転写時
に位置ずれが生じないようにしている。
The above printing process is repeated for four colors of Y (yellow), M (magenta), C (cyan) and BK (black). At this time, the scanner 1 is synchronized with the operations of the photosensitive drum 41 and the transfer drum 51.
0 repeats the scan operation. After that, the copy paper is separated from the transfer drum 51 by operating the separation claw 47, passes through the fixing device 48 and the toner image is fixed, and is then discharged to the paper discharge tray 49. The copy paper is fed from the paper cassette 50, and the chucking mechanism 52 on the transfer drum 51 chucks the front end of the copy paper to prevent misalignment during transfer.

【0020】(a-2)操作パネル 図2は、本実施例の複写機の備える操作パネル25の正
面図である。操作パネル25は、表示部71を備える。
使用者により画質モニタ選択キー77が押下された場
合、表示部71は、コピー枚数や複写倍率などの通常の
表示以外に、マスキング係数、シェープネス、γカーブ
及びカラーバランスの4種類の作像条件を表示する。こ
の場合、後に説明するように複写機は、表示部71に表
示される作像条件に基づいて形成される8つの画像を1
枚の複写紙上にプリントアウトする。上記4種類の作像
条件は、画質選択キー74a〜dを操作することでそれ
ぞれ変更することができる。使用者は、実際にプリント
アウトされた上記8つの画像から好みの画像の番号をテ
ンキー72を用いて選択した後にプリントキー73を押
下することで、所望する作像条件(即ち画質)の印字出
力を得ることができる。また、キー75は、サービスマ
ンモードに入るためのキーであり、このモードが選択さ
れた場合にはLED75aが点灯する。サービスマンモ
ードは、後に説明するようにHVC変換部1000で用
いるHVC変換用の係数a1,a2,a3を設定するモー
ドである。また、ネガ/ポジ反転キー76は、複写紙上
に再現される原稿を反転する際に用いられる。
(A-2) Operation Panel FIG. 2 is a front view of the operation panel 25 provided in the copying machine of this embodiment. The operation panel 25 includes a display unit 71.
When the user presses the image quality monitor selection key 77, the display unit 71 displays four types of image forming conditions, such as masking coefficient, shapeness, γ curve, and color balance, in addition to the normal display such as the number of copies and the copy magnification. indicate. In this case, as will be described later, the copying machine displays one of eight images formed based on the image forming condition displayed on the display unit 71.
Print out on a sheet of copy paper. The above four types of image forming conditions can be changed by operating the image quality selection keys 74a to 74d. The user presses the print key 73 after selecting a desired image number from the above eight images actually printed out by using the ten-key 72, thereby printing out the desired image forming condition (that is, image quality). Can be obtained. The key 75 is a key for entering the serviceman mode, and when this mode is selected, the LED 75a lights up. The serviceman mode is a mode for setting the HVC conversion coefficients a 1 , a 2 , and a 3 used in the HVC conversion unit 1000 as described later. The negative / positive reversal key 76 is used when reversing a document reproduced on a copy sheet.

【0021】(b)読取信号処理部20における各処理
の説明 以下、上記デジタルカラー複写機が備える読取信号処理
部20で実行される各処理の概略説明を行う。この概略
説明の後、それぞれの処理について詳細に説明する。
(B) Description of each process in the read signal processing unit 20 The following is a brief description of each process executed in the read signal processing unit 20 included in the digital color copying machine. After this schematic description, each process will be described in detail.

【0022】次の図3及び図4は、上記読取信号処理部
20の処理ブロック図である。CCDイメージセンサ1
4により読み取られたアナログの画像データOSR1及
び2,OSG1及び2,OSB1及び2は、A/D変換
部300に入力される。A/D変換部300は、上記入
力信号を8ビットのデジタル画像データR17〜10、G
17〜10、B17〜10に変換してシェーディング補正部40
0に出力する。
Next, FIGS. 3 and 4 are processing block diagrams of the read signal processing section 20. CCD image sensor 1
The analog image data OSR1 and 2, OSG1 and 2, OSB1 and 2 read by 4 are input to the A / D conversion unit 300. The A / D converter 300 converts the input signal into 8-bit digital image data R 17-10 , G
17-10, the shading correction section 40 is converted into B 17-10
Output to 0.

【0023】シェーディング補正部400では、露光ラ
ンプ12による原稿の照明むら等による読取データのば
らつきを修正する。まず、均一な白色板16の主走査方
向の複数ライン分のデータを読み取る。読み取られた複
数ラインのデータについて、副走査方向の同一ライン上
に並ぶ画素のデータを比較する。ここで、各画素につい
て最も明るい(白い)データをシェーディング補正用の
データとする。これにより、インクの飛び散り等の白色
板16の汚れが原因で生じる不良データを削除し、精度
の良いシェーディング補正を可能にする。また、本実施
例のシェーディング補正部400では、シェーディング
補正データの算出時に実行される逆数変換処理におい
て、入力データより多ビットの出力データを用いる。こ
れにより、より高精度のシェーディング補正を実現す
る。シェーディング補正の施されたRGB画像データの
各成分R27〜20、G27〜20、B27〜20は、次のライン間
補正部500に入力される。
The shading correction section 400 corrects variations in read data due to uneven illumination of the original by the exposure lamp 12. First, the data of a plurality of lines in the main scanning direction of the uniform white plate 16 is read. With respect to the read data of a plurality of lines, the data of pixels arranged on the same line in the sub-scanning direction is compared. Here, the brightest (white) data for each pixel is the data for shading correction. As a result, defective data caused by contamination of the white plate 16 such as ink splattering can be deleted, and accurate shading correction can be performed. Further, in the shading correction unit 400 of the present embodiment, output data having more bits than input data is used in the reciprocal conversion process executed when calculating the shading correction data. Thereby, more accurate shading correction is realized. The respective components R 27 to 20 , G 27 to 20 and B 27 to 20 of the RGB image data which have been subjected to the shading correction are input to the next inter-line correction unit 500.

【0024】CCDイメージセンサ14には、RGB画
像データを読み取るために3ラインのCCDが所定の間
隔をもって設けられている(図8参照)。以下、RGB
画像データの各成分を、単にRデータ、Gデータ、Bデ
ータと記す。ライン間補正部500は、Rデータ及びG
データを一旦メモリに格納して所定時間だけ遅延させる
ことで上記所定の間隔によって生じるBデータとのずれ
を修正する。本実施例の複写機では、画像を形成する複
写紙の最大サイズがA3に特定されることに注目し、複
写倍率に応じて、1ライン内の有効ドット数を制御す
る。これにより上記ずれの修正に必要なメモリ容量の増
加を抑える。また、ライン間データの補間処理を実行し
てより細かい読取データのずれを修正する。上記ずれの
修正されたデータは、AE処理部600へ入力されると
共に、変倍・移動処理部800へ入力される。
The CCD image sensor 14 is provided with 3-line CCDs at predetermined intervals for reading RGB image data (see FIG. 8). Below, RGB
Each component of the image data will be simply referred to as R data, G data, and B data. The inter-line correction unit 500 uses the R data and G
The data is temporarily stored in the memory and delayed by a predetermined time to correct the deviation from the B data caused by the predetermined interval. In the copying machine of this embodiment, attention is paid to the fact that the maximum size of the copy paper on which an image is formed is specified as A3, and the number of effective dots in one line is controlled according to the copy magnification. This suppresses an increase in the memory capacity required to correct the above deviation. Further, the inter-line data interpolation processing is executed to correct a finer deviation in the read data. The data in which the deviation is corrected is input to the AE processing unit 600 and the scaling / moving processing unit 800 as well.

【0025】AE処理部600は、原稿サイズの検出、
ACS(Auto Color Selectionの略)、AE処理を実行す
る。ここで、原稿サイズの検出とは、プラテン15上に
載置された原稿の存在範囲を主走査方向1ライン単位で
検出するものである(図17参照)。ACSとは、原稿
中に占めるモノクロ画素の割合より、原稿がフルカラー
であるのか、もしくはモノクロであるのかを判別するこ
とである。AE処理とは、原稿中の最も明るい色が白色
(階調レベル255)となるように原稿の下地レベルを
定める処理であるが、これをフルカラー原稿に対して施
すと、複写紙上に再現される画像は全体的に色あせた感
じになる。そこで、本実施例の複写機では、上記ACS
の結果に基づいて、原稿の下地レベルを定め、フルカラ
ー原稿に対するAE処理を禁止する。
The AE processing section 600 detects the document size,
ACS (abbreviation of Auto Color Selection) and AE processing are executed. Here, the detection of the document size is to detect the existence range of the document placed on the platen 15 in units of one line in the main scanning direction (see FIG. 17). The ACS is to determine whether the document is full color or monochrome based on the ratio of monochrome pixels in the document. The AE process is a process of determining the background level of the original so that the brightest color in the original becomes white (gradation level 255). When this is applied to a full-color original, it is reproduced on the copy paper. The image looks faded overall. Therefore, in the copying machine of this embodiment, the ACS
Based on the result of (3), the background level of the original is determined, and the AE process for the full-color original is prohibited.

【0026】変倍・移動処理部800では、入力される
37〜30データ、G37〜30データ、B37〜30データに対
して、不要領域データの削除、縮小補間処理、縮小,等
倍,拡大出力、イメージリピート及び拡大補間処理を実
行する。上記不要領域とは、原稿台上で原稿の存在して
いない領域と、原稿画像を縮小したため生じる領域との
2つがあり、AE処理部600での原稿サイズの検出結
果に基づいて実行される。例えば原稿を50%に縮小す
るには、本来ならば読取密度を400dpiのスキャナ
のかわりに200dpiのスキャナを用いて原稿の画像
データを読み取り、読み取って得られる画像データを4
00dpiの密度で印字処理すべきである。しかし実際
には400dpiのスキャナで読み取って得られる画像
データを半分に間引いて、400dpiの密度で印字処
理を行う。この場合、細い線のデータが消去されてしま
い、再現画像の画質が低下する。そこで、縮小率に応じ
たサイズで補間処理を実行する。これにより、再現画像
の画質の低下を防止する。また、原稿を拡大する場合
に、単純にデータを水増しするだけではエッジのがたつ
きが目立つ等、画像の劣化が激しい。そこで、原稿を拡
大する場合には、拡大倍率に応じて画像データにスムー
ジング処理を施す。これにより、拡大時の画像の劣化を
防止する。なお、使用者により操作パネル上の画質モニ
タ選択キー77が押下された場合には、原稿画像の一部
を8回イメージリピートして出力する。
The scaling / move processing unit 800 deletes unnecessary area data, reduces interpolation processing, reduces, and scales the input R 37 to 30 data, G 37 to 30 data, and B 37 to 30 data. , Enlargement output, image repeat and enlargement interpolation processing are executed. The unnecessary areas include two areas, that is, an area where no original exists on the original table and an area generated by reducing the original image. The unnecessary area is executed based on the result of the original size detection by the AE processing unit 600. For example, in order to reduce the size of the original document to 50%, the image data of the original document is read using a scanner with a reading density of 200 dpi instead of the scanner with a reading density of 400 dpi, and the image data obtained by the reading is 4
Printing should be done at a density of 00 dpi. However, actually, the image data obtained by reading with a scanner of 400 dpi is thinned out in half, and the printing process is performed at a density of 400 dpi. In this case, the data of the thin line is erased and the quality of the reproduced image deteriorates. Therefore, the interpolation process is executed with a size according to the reduction rate. This prevents the quality of the reproduced image from deteriorating. Further, when enlarging a document, if the data is simply padded, the image is severely deteriorated, such as the noticeable edge rattling. Therefore, when enlarging the original, smoothing processing is performed on the image data according to the enlargement ratio. This prevents the deterioration of the image at the time of enlargement. When the user presses the image quality monitor selection key 77 on the operation panel, a part of the original image is image-repeated eight times and output.

【0027】画像インターフェース部1000には、外
部装置900から入力されたR,G,Bの各データ(R
-VIDEO7〜0,G-VIDEO7〜0,B-VIDEO7〜0)と内部デー
タ(R67〜60,G67〜60,B67〜60)との選択及びはめ
込み合成を行う。また、RGBインターフェースやプリ
ンタインターフェースにイメージデータを伝送するとき
のタイミング信号を生成する。
In the image interface unit 1000, the R, G, and B data (R
-VIDEO 7 to 0 , G-VIDEO 7 to 0 , B-VIDEO 7 to 0 ) and internal data (R 67 to 60 , G 67 to 60 , B 67 to 60 ) are selected and combined by fitting. It also generates a timing signal when transmitting image data to the RGB interface or printer interface.

【0028】図4に示すHVC変換部1100では、C
CDカラーイメージセンサ14によりカラーパッチを実
際に読み取って得られるRGBデータ(R57〜50,G
57〜50,B57〜50)と、ROMに記憶されている上記カ
ラーパッチRGBデータとに基づいて、明度信号(V
7〜0)、色差信号(WR8〜0、WB7〜0)を生成し、さら
に、色差信号から彩度データ(W7〜0)及び色相信号
(H7〜0)を生成する。これにより各CCD素子の読取
特性のばらつきを修正する。また、HVC変換部110
0は画質制御回路1103を備える。画質制御回路11
03は、使用者による画質モニタ選択キー77の押下に
応答して、上記変倍・移動処理部800でイメージリピ
ートされる8つの画像のそれぞれについて異なる作像条
件(マスキング係数、シェープネス、γカーブ及びカラ
ーバランス)を設定する。
In the HVC converter 1100 shown in FIG. 4, C
RGB data (R 57-50 , G) obtained by actually reading a color patch by the CD color image sensor 14.
57 to 50 , B 57 to 50 ) and the color patch RGB data stored in the ROM, based on the brightness signal (V
7-0), the color difference signal (WR 8 to 0, to generate a WB 7-0), further generates the chroma data (W 7-0) and the hue signal (H 7-0) from the color difference signals. This corrects the variations in the reading characteristics of each CCD element. In addition, the HVC conversion unit 110
0 includes an image quality control circuit 1103. Image quality control circuit 11
03, different image forming conditions (masking coefficient, shapeness, γ curve, and Color balance).

【0029】濃度補正部1200は、露光ランプによる
原稿の反射光量に比例して変化するRGBデータ(R
67〜60,G67〜60,B67〜60)を、濃度に比例して変化
するデータ(DR7〜0,DG7〜0,DB7〜0)に変換す
る。また、ネガポジ反転部1250は、編集エリア信号
である−NEGA信号(ネガポジ反転信号)を受け
て、”L”のときDR7〜0,DG7〜0,DB7〜0,DV
7〜0を反転出力(ネガ出力)し、”H”のときにはその
まま通過させる。
The density correction unit 1200 changes the RGB data (R) that changes in proportion to the amount of light reflected from the original by the exposure lamp.
67~60, G 67~60, a B from 67 to 60), data that changes in proportion to the concentration (DR 7~0, DG 7~0, converted to DB 7 to 0). Further, the negative / positive inversion unit 1250 receives the -NEGA signal (negative / positive inversion signal) which is the editing area signal, and when it is "L", DR 7-0 , DG 7-0 , DB 7-0 , DV.
Inverted output (negative output) of 7 to 0, and when it is "H", pass it through as it is.

【0030】UCR/BP処理部1300は、D
7〜0,DG7〜0,DB7〜0のデータの最小値(MIN
(DR,DG,DB))を算出し、これを墨色であると
して、そのある割合をBKデータとして扱い、プリンタ
で黒色トナーを加える(BP処理)操作と、上記加えた
BKデータに応じてC,M,Y色材料の量を少なくする
下色除去(UCR処理)を実行する。
The UCR / BP processing unit 1300
The minimum value of the data of R 7-0 , DG 7-0 , DB 7-0 (MIN
(DR, DG, DB)), assume that this is a black color, treat a certain proportion as BK data, and add black toner by the printer (BP processing) operation and C according to the BK data added above. Undercolor removal (UCR processing) is performed to reduce the amounts of M, Y color materials.

【0031】色補正部1400では、所定のマスキング
演算処理を実行し、上記原稿とコピーの色再現を合わ
す。これは、CCDイメージセンサ14の読取画素毎に
配設されている色分解フィルタの分光特性が図45に斜
線で示す不要透過領域を有し、プリンタ側で用いられる
C,M,Yの色トナーも図46に斜線で示す不要吸収成
分を有していることによる。
The color correction unit 1400 executes a predetermined masking calculation process to match the color reproduction of the original and the copy. This is because the spectral characteristics of the color separation filter provided for each read pixel of the CCD image sensor 14 has an unnecessary transmission area indicated by hatching in FIG. 46 also has unnecessary absorption components indicated by diagonal lines in FIG.

【0032】領域判別部1500では、原稿画像中の黒
文字部分の判別と、網点領域の判別処理を実行する。上
記黒文字判別は、大別すれば、文字(エッジ)部分の検
出と、黒色の検出、そして誤って黒色として検出されや
すい領域の検出とに分けられる。文字(エッジ)部分の
検出は、微分フィルタを用いて検出する。また、黒色の
検出は、彩度の値に基づいて行う。本実施例の複写機の
場合、CCDカラーイメージセンサ14の画像データの
読み取り時の振動で、R,G,B各のデータが僅かにず
れた場合に生じる誤判定を、彩度データにスムージング
処理を施すことで防止する。また、明度が低くかつ彩度
も低い文字を黒文字であると誤判定することを防止する
ために、色べた部分を判別する。黒文字であると判定さ
れた場合であっても、色べた部分であると判定された箇
所については、上記黒文字であるとの判定を取り消す。
これにより正確な黒文字判別を実現する。
The area discrimination unit 1500 executes the discrimination processing of the black character portion in the document image and the discrimination processing of the halftone dot area. The black character discrimination can be roughly divided into detection of a character (edge) portion, detection of black, and detection of a region that is apt to be erroneously detected as black. The detection of the character (edge) portion is performed using a differential filter. The black color is detected based on the saturation value. In the case of the copying machine of the present embodiment, the erroneous determination that occurs when the R, G, and B data slightly shifts due to the vibration of the CCD color image sensor 14 when reading the image data is smoothed to the saturation data. It is prevented by applying. Further, in order to prevent a character having low lightness and low saturation from being erroneously determined to be a black character, a solid portion is discriminated. Even if it is determined to be a black character, the above-described determination to be a black character is canceled for a portion determined to be a solid color portion.
As a result, accurate black character discrimination is realized.

【0033】MTF補正部1600は、領域判別部15
00による領域判別結果により認識される原稿の画素の
種類及び印字状況に基づいて、画素データに対して最も
適当なエッジ強調処理及びスムージング処理を実行す
る。特にフルカラー標準モードでコピーを行う際、黒色
のエッジ部分ではC,M,Yのデータについてエッジ強
調を行わず、かつC,M,Yデータの最小値を画像デー
タとして用いることで、C,M,Yデータの微細なはみ
出し線を消去する(図68(a)参照)。また、モノカ
ラー標準モード又は写真モードでコピーを行う際、BK
の印字処理中にはエッジ強調を行わない。これにより、
色文字のエッジ部分が黒く縁取られることを防止する。
また、領域判別部1500において認識された画素の種
類に応じて画素クロック1サイクル単位でのレーザ発光
デューティ比を変更する。ここで、発光デューティ比と
は、画素クロックが1サイクルする間にレーザ発光しな
い期間を設けた場合におけるレーザ発光期間の割合をい
う。網点画素の場合には、モアレの発生を防止するため
に発光デューティ比を100%に設定する。また、網点
以外の画素の場合には、ライン間ノイズを目立たなくす
るために発光デューティ比を、例えば80%に設定す
る。さらに、エッジの立ち上がり及び立ち下がり部分の
画素データに所定値を加算し、感光体ドラム41上に形
成したトナー像を複写紙上に転写する際に生じるエッジ
の立ち上がり部分でのトナーの付きすぎ及び立ち下がり
部分でのトナーのかすれを補正する。
The MTF correction unit 1600 has a region discrimination unit 15
The most suitable edge enhancement process and smoothing process are performed on the pixel data based on the type of pixels and the printing status of the document recognized by the area determination result of 00. In particular, when copying in the full color standard mode, by not performing edge enhancement on C, M, Y data in the black edge portion and using the minimum value of C, M, Y data as image data, C, M , The Y data fine protruding lines are erased (see FIG. 68 (a)). Also, when copying in the mono color standard mode or photo mode, BK
Edge emphasis is not performed during the print processing of. This allows
It prevents the edge portion of the color character from being blackened.
Further, the laser light emission duty ratio is changed in one cycle of the pixel clock according to the type of pixel recognized by the area discrimination unit 1500. Here, the light emission duty ratio means the ratio of the laser light emission period in the case where a period in which the laser light is not emitted is provided during one cycle of the pixel clock. In the case of a halftone dot pixel, the light emission duty ratio is set to 100% in order to prevent the occurrence of moire. In the case of pixels other than halftone dots, the light emission duty ratio is set to, for example, 80% in order to make noise between lines inconspicuous. Further, a predetermined value is added to the pixel data of the rising and falling portions of the edge, and when the toner image formed on the photoconductor drum 41 is transferred onto the copy paper, the toner is excessively attached and rises at the rising portion of the edge. Corrects toner fading in the falling part.

【0034】γ補正部1700は、MTF補正後のイメ
ージデータ(VIDEO37〜30)に対し、使用者の好み
に応じてγカーブを変更して所望する画質のデータを出
力する。使用者は、操作パネル25上に設けられている
画質選択キー74cの操作により、γカーブ切換信号G
2〜0を変更することができる。
The γ correction unit 1700 changes the γ curve of the image data (VIDEO 37 to 30 ) after MTF correction according to the user's preference and outputs data of desired image quality. The user operates the image quality selection key 74c provided on the operation panel 25 to operate the γ curve switching signal G
A 2 to 0 can be changed.

【0035】(b-1)A/D変換部 A/D変換部300は、上記入力信号を8ビットのデジ
タル画像データR17〜10、G17〜10、B17〜10に変換し
てシェーディング補正部400に出力する。図5は、A
/D変換部300の構成図である。CCDイメージセン
サ14は、クロック信号発生部301から出力される所
定のCCD駆動信号に従って動作し、露光ランプ12に
よる原稿画像の反射光量に比例するR,G,Bのアナロ
グ画像データOSR1及び2、OSG1及び2、OSB
1及び2を出力する。ここで、OSR1,OSG1,O
SB1は、偶数ドットのアナログ画像データであり、O
SR2,OSG2,OSB2は、奇数ドットのアナログ
画像データである。R、G,Bの各画像データは、R−
A/D変換部307、G−A/D変換部308、B−A
/D変換部309にそれぞれ入力される。A/D変換部
307〜309の構成及び処理内容は同じである。ここ
では、A/D変換処理についてB−A/D変換部309
を用いて説明する。A/D変換部309内には、A/D
変換を行う前に奇数ドット及び偶数ドットの各画像デー
タの最適化処理を行う処理部310及び311が設けら
れている。最適化処理部310及び311の構成及び処
理内容は同じである。ここでは、最適化処理について偶
数ドットデータ最適化処理部311を用いて説明する。
偶数ドットデータ最適化処理部310に入力された偶数
ドットのアナログ画像データOSB2は、サンプリング
ホールド回路302によって、リセット・ノイズが除去
され、VCA回路303により信号が増幅され、クラン
プ回路304により所定のDCレベルに調節される。
(B-1) A / D conversion section The A / D conversion section 300 converts the input signal into 8-bit digital image data R 17-10 , G 17-10 , B 17-10 and shading. Output to the correction unit 400. FIG. 5 shows A
6 is a configuration diagram of a / D conversion unit 300. FIG. The CCD image sensor 14 operates according to a predetermined CCD drive signal output from the clock signal generator 301, and has R, G, B analog image data OSR1 and OSG2 proportional to the amount of reflected light of the original image from the exposure lamp 12. And 2, OSB
Output 1 and 2. Where OSR1, OSG1, O
SB1 is analog image data of even dots, and O
SR2, OSG2, OSB2 are analog image data of odd dots. Each image data of R, G, B is R-
A / D conversion unit 307, G-A / D conversion unit 308, B-A
It is input to the / D conversion unit 309. The configurations and processing contents of the A / D conversion units 307 to 309 are the same. Here, regarding the A / D conversion processing, the B-A / D conversion unit 309
Will be explained. In the A / D conversion unit 309, the A / D
Processing units 310 and 311 are provided for performing optimization processing of each image data of odd-numbered dots and even-numbered dots before conversion. The configurations and processing contents of the optimization processing units 310 and 311 are the same. Here, the optimization process will be described using the even-dot data optimization processing unit 311.
The even-dot analog image data OSB2 input to the even-dot data optimization processing unit 310 has the reset noise removed by the sampling and holding circuit 302, the signal amplified by the VCA circuit 303, and the predetermined DC signal by the clamp circuit 304. Adjusted to the level.

【0036】ここで、上記処理のレベルは、D/Aコン
バータ305からのVG2B,VC2B等の制御電圧に
従って設定される。SCLK信号は、サンプリングホー
ルド回路に対するサンプリングパルスである。−BKH
D信号(ここで、信号の前に付されている”−”は、信
号BKHDの反転信号であることを意味する。以下、全
ての信号に対して同じ。)は、アナログSWのスイッチ
ングを行い、VCA回路303で信号を増幅するために
一旦DCレベルを0Vにクランプするための信号であ
る。−CLAMP信号は、フィードバックランプ回路3
04によってD/Cコンバータ305の制御電圧にDC
レベルをクランプするためのクランプパルスである。
Here, the level of the above processing is set according to the control voltage of the VG2B, VC2B, etc. from the D / A converter 305. The SCLK signal is a sampling pulse for the sampling and holding circuit. -BKH
The D signal (here, "-" added to the front of the signal means that it is an inverted signal of the signal BKHD. The same applies to all signals below), and the analog SW is switched. , VCA circuit 303 is a signal for temporarily clamping the DC level to 0V in order to amplify the signal. -CLAMP signal is used in the feedback ramp circuit 3
DC to the control voltage of the D / C converter 305 by 04
This is a clamp pulse for clamping the level.

【0037】各最適化処理部310及び311で最適化
処理の施された奇数ドット及び偶数ドットの画像データ
は、OSSEL信号によるスイッチング切り換えによっ
て連続する画像データに合成される。合成された画像デ
ータは、バッファ312を介してA/Dコンバータ30
6に入力され、8ビットのデジタル画像データに変換さ
れる。ADCK信号は、A/Dコンバータのサンプリン
グパルスである。
The image data of the odd-numbered dots and the even-numbered dots which have been subjected to the optimization processing by the respective optimization processing units 310 and 311 are combined into continuous image data by switching switching by the OSSEL signal. The combined image data is sent to the A / D converter 30 via the buffer 312.
6 and is converted into 8-bit digital image data. The ADCK signal is a sampling pulse of the A / D converter.

【0038】(b-2)シェーディング補正部 シェーディング補正部400では、露光ランプ12によ
る原稿の照明むら等による読取データのばらつきを修正
する。まず、均一な白色板16の主走査方向の複数ライ
ン分のデータを読み取る。読み取れた複数ラインのデー
タについて、副走査方向の同一ライン上に並ぶ画素のデ
ータを比較する。ここで、各画素について最も明るい
(白い)データをシェーディング補正用のデータとす
る。これにより、インクの飛び散り等の白色板16の汚
れが原因で生じる不良データを削除し、精度の良いシェ
ーディング補正を可能にする。また、シェーディング補
正部400では、シェーディング補正データの算出時に
実行される逆数変換処理において、入力データより多ビ
ットの出力データを用いる。これにより、より高精度の
シェーディング補正を実現する。
(B-2) Shading Correction Unit The shading correction unit 400 corrects variations in read data due to uneven illumination of the original by the exposure lamp 12 and the like. First, the data of a plurality of lines in the main scanning direction of the uniform white plate 16 is read. The data of the read plural lines is compared with the data of the pixels arranged on the same line in the sub-scanning direction. Here, the brightest (white) data for each pixel is the data for shading correction. As a result, defective data caused by contamination of the white plate 16 such as ink splattering can be deleted, and accurate shading correction can be performed. Further, in the shading correction unit 400, output data having more bits than input data is used in the reciprocal conversion processing executed when calculating the shading correction data. Thereby, more accurate shading correction is realized.

【0039】図6は、シェーディング補正部400の構
成図である。A/D変換部300から出力される各8ビ
ットのR17〜10,G17〜10,B17〜10のデジタル画像デ
ータは、それぞれ、R−補正部401、G−補正部40
2、B−補正部403に入力される。このようにR
17〜10,G17〜10,B17〜10の各画像データついて独立
してシェーディング補正を実行することで、RGBデジ
タル画像データを読み取るために設けられている3ライ
ンのCCDの各々の読取データについて適切なシェーデ
ィング補正を行うことができる。補正部401〜403
の構成及び処理内容は同じである。以下、本実施例のシ
ェーディング補正についてB−補正部403を用いて説
明する。
FIG. 6 is a block diagram of the shading correction unit 400. The 8-bit digital image data of R 17 to 10 , G 17 to 10 , and B 17 to 10 output from the A / D conversion unit 300 are respectively the R-correction unit 401 and the G-correction unit 40.
2, input to the B-correction unit 403. Thus R
17-10 , G17-10 , and B17-10 image data are read independently from each of the three-line CCDs provided for reading RGB digital image data by independently performing shading correction. Shading correction can be performed appropriately. Correction units 401 to 403
Has the same configuration and processing content. Hereinafter, the shading correction of this embodiment will be described using the B-correction unit 403.

【0040】(b-2-1)ピーク値ホールド回路 CCDイメージセンサ14が白色板16の主走査方向の
所定の第1ラインを読み取って得られるデータB17〜10
が入力された場合、ピーク値ホールド回路404は、デ
ータをそのままシェーディングメモリ405に格納す
る。ピーク値ホールド回路404は、白色板16の第2
ラインの画像データの入力に同期してシェーディングメ
モリ405に格納している第1ライン後にデータを順に
読み出し、対応画素毎にそのデータ値を比較する。そし
て、より明るい(白い)データの値をホールドし、当該
データをシェーディングメモリ405に格納する。第
3、第4のラインのデータについても同じ処理を施す。
このように、白色板16の複数ラインのデータのうち各
画素の最も明るい(白い)データの値をシェーディング
補正用のデータとして格納することで、白色板16に付
着したインクやごみ等による不良データの影響を除去す
る。
(B-2-1) Peak value hold circuit Data B 17 to 10 obtained by the CCD image sensor 14 reading the predetermined first line of the white plate 16 in the main scanning direction.
Is input, the peak value hold circuit 404 stores the data in the shading memory 405 as it is. The peak value hold circuit 404 is the second plate of the white plate 16.
The data is sequentially read after the first line stored in the shading memory 405 in synchronization with the input of the image data of the line, and the data value is compared for each corresponding pixel. Then, the value of brighter (white) data is held and the data is stored in the shading memory 405. The same processing is performed on the data of the third and fourth lines.
In this way, by storing the value of the brightest (white) data of each pixel among the data of a plurality of lines of the white plate 16 as the data for shading correction, defective data due to ink or dust adhering to the white plate 16 is stored. Remove the effect of.

【0041】ピーク値ホールド回路404に入力される
−SHWR信号は、シェーディング補正用のデータの読
み取り時以外では”H”を維持する。−SHWR信号の
値が”H”の場合、ピーク値ホールド回路404にはデ
ータの入力が禁止される。この結果、シェーディングメ
モリ405内に格納されたデータは、その値が保持され
る。一方、ピーク値ホールド回路404にシェーディン
グ補正用のデータが入力される場合、−SHWR信号
は”L”に切り換えられる。−SHWR信号の値が”
L”の期間中、ピーク値ホールド回路404は、読み込
まれるシェーディング補正用のデータとシェーディング
メモリ405に格納されている対応する画素のデータと
を比較してより大きな値のデータをシェーディングメモ
リ405に出力する。シェーディングメモリ405には
初期値として値0のデータが格納されている。従って、
前記したように第1ラインのデータはそのままシェーデ
ィングメモリに格納される。第2ライン以降のデータが
入力された場合、シェーディングメモリ405から対応
する画素のデータを読み出して上記比較処理を実行させ
る。−SHWR信号は、CCDイメージセンサ14によ
り原稿画像の画像データの読み取りが開始されると、再
び”H”に戻り、データの入力を禁止してシェーディン
グメモリ405に格納されているデータを保持する。
The -SHWR signal input to the peak value hold circuit 404 maintains "H" except when reading the data for shading correction. When the value of the −SHWR signal is “H”, data input to the peak value hold circuit 404 is prohibited. As a result, the data stored in the shading memory 405 retains its value. On the other hand, when the data for shading correction is input to the peak value hold circuit 404, the -SHWR signal is switched to "L". -The value of the SHWR signal is "
During the L ″ period, the peak value hold circuit 404 compares the read shading correction data with the data of the corresponding pixel stored in the shading memory 405, and outputs a larger value data to the shading memory 405. Data of value 0 is stored as an initial value in the shading memory 405.
As described above, the data of the first line is stored in the shading memory as it is. When the data of the second and subsequent lines is input, the data of the corresponding pixel is read from the shading memory 405 and the comparison process is executed. The -SHWR signal returns to "H" again when the CCD image sensor 14 starts reading the image data of the original image, prohibits the data input, and holds the data stored in the shading memory 405.

【0042】(b-2-2)逆数変換処理 シェーディングメモリ405に格納されたシェーディン
グ補正データは、次の逆変換テーブル406に入力され
る。逆数変換テーブル406は、8ビットの入力データ
Dinに対して次の「数1」に示す演算処理を実行し、1
2ビットの逆数変換データDoutを出力する。
(B-2-2) Inverse conversion processing The shading correction data stored in the shading memory 405 is input to the next inverse conversion table 406. The reciprocal conversion table 406 executes the arithmetic processing shown in the following “Equation 1” on the 8-bit input data Din to obtain 1
2-bit reciprocal conversion data Dout is output.

【数1】Dout=255×Q/Din (但し、Din≧4ならば、Dout=1とする。) ここで、Doutを12ビットデータとしたのは、Dinの
値が異なるにもかかわらず、その差が僅かであるために
その逆数変換データDoutの値が同じ値となることを避
け、シェーディング補正の精度を一定のレベルに維持す
るためである。図7のグラフは、DinとDoutの関係を
示す。Dinの値が極端に低い場合、例えばDin=255
×Q/4以下では、Doutの値が急激に増加する。これ
が原因で生じるシェーディング補正のエラーを防止する
ため、逆数変換テーブル406は、Doutの値が4(1
6進数ではFFF)以上となる場合には、Doutの値を
強制的に1(16進数では400)に変換してシェーデ
ィング補正を無効にする。
## EQU1 ## Dout = 255 × Q / Din (However, if Din ≧ 4, Dout = 1.) Here, Dout is 12-bit data even though the value of Din is different. This is to prevent the value of the reciprocal conversion data D out from becoming the same value due to the slight difference, and to maintain the shading correction accuracy at a constant level. The graph of FIG. 7 shows the relationship between Din and Dout. When the value of Din is extremely low, for example, Din = 255
The value of Dout sharply increases below × Q / 4. In order to prevent an error in shading correction caused by this, the reciprocal conversion table 406 has a Dout value of 4 (1
When it is equal to or greater than FFF in hexadecimal, the value of Dout is forcibly converted to 1 (400 in hexadecimal) to invalidate the shading correction.

【0043】シェーディング補正は、原稿画像のデータ
17〜10に上記「数1」により求められる逆数データを
乗算器407において掛け合わすことで実行される。こ
の演算は、次の「数2」に示される。
The shading correction is executed by multiplying the data B 17 to 10 of the original image by the reciprocal data obtained by the above " Formula 1" in the multiplier 407. This calculation is shown in the following "Equation 2".

【数2】 B27〜20=B17〜10×Dout =B17〜10×255×Q/Din 上記「数2」の計算は、B17〜10のデータ値を255×
Qの値に正規化するものである。上記係数Qは、ホワイ
トバランスを補正するためにシェーディング補正用の白
色板16の分光分布に従ってR,G,B毎に定められる
値である。これは、複写機に配設されるシェーディング
補正用の板16が、完全な白色(R=255,G=25
5,B=255)でなく、R,G,B何れかの色に偏っ
ている場合、例えば僅かに緑がかっているような場合
(R=200,G=242,B=211)を考慮したも
のである。上記場合にR,G,Bの各Qの値は、QR
200/255、QG=242/255、QB=211/
255である。また、上記「数2」に示す係数255の
値は、下地レベルを定める係数Xであり、この値を例え
ば240に変更することで、下地レベルの変更を行うこ
とができる。本実施例の複写機では、図3に示したAE
処理部600において、モノクロ画素の原稿全体に占め
る割合に応じて上記係数255の値を変更する処理、即
ちAE処理を実行する。
[ Formula 2] B 27 to 20 = B 17 to 10 × Dout = B 17 to 10 × 255 × Q / Din In the calculation of the above " Formula 2", the data value of B 17 to 10 is 255 ×
The value is normalized to the value of Q. The coefficient Q is a value determined for each of R, G, and B according to the spectral distribution of the white plate 16 for shading correction in order to correct the white balance. This is because the shading correction plate 16 provided in the copying machine is completely white (R = 255, G = 25).
5, B = 255), but a case in which the color is biased to any one of R, G, and B, for example, a case where it is slightly greenish (R = 200, G = 242, B = 211) It is a thing. In the above case, the value of each Q of R, G and B is Q R =
200/255, Q G = 242/255, Q B = 211 /
255. The value of the coefficient 255 shown in the above “Equation 2” is the coefficient X that determines the background level, and the background level can be changed by changing this value to, for example, 240. In the copying machine of this embodiment, the AE shown in FIG.
In the processing unit 600, a process of changing the value of the coefficient 255 according to the ratio of monochrome pixels in the entire document, that is, an AE process is executed.

【0044】(b-3)ライン間補正部 図8に示すように、CCDイメージセンサ14には、R
GB画像データを読み取るために3ラインのCCDが8
0μmの間隔で設けられている。本実施例の複写機の場
合、1画素の幅は10μmであり、上記3ラインのCC
Dは、8ライン分の間隔で設けられていることになる。
このため、RGB画像データのB成分(Bデータ)に対
してG成分(Gデータ)は8ライン、R成分(Rデー
タ)は16ライン先行して読み取られる。実際には、ス
キャナ10の副走査方向への移動速度によって上記先行
するライン数は変化する。即ち、副走査方向の複写倍率
Yを掛け合わせた数(8×Yライン,16×Yライン)
が実際の先行するライン数となる。ライン間補正部50
0は、Rデータ及びGデータを一旦メモリに格納して所
定のタイミングで遅延させ、Bデータとのずれを修正す
る。複写倍率を2倍にすると、各ライン間のデータのず
れは2倍に増え、当該ずれを修正するのに必要なメモリ
の容量も2倍になる。ライン間補正部500では、画像
を形成する複写紙の最大サイズがA3であることに注目
し、複写倍率に応じて、1ライン内の有効ドット数を制
御する。具体的には、複写倍率を2倍にした場合には、
1ラインで読み取る範囲を1/2の範囲にする。これに
より上記ずれの修正に必要なメモリ容量の増加を抑え
る。また、ライン間データの補間処理を実行すること
で、より細かな読取データのずれを修正する。
(B-3) Line-to-line correction section As shown in FIG.
8 lines of 3 line CCD to read GB image data
It is provided at intervals of 0 μm. In the case of the copying machine of this embodiment, the width of one pixel is 10 μm, and the CC of the above three lines is used.
D is provided at intervals of 8 lines.
Therefore, the G component (G data) is read by 8 lines and the R component (R data) is read by 16 lines before the B component (B data) of the RGB image data. Actually, the preceding line number changes depending on the moving speed of the scanner 10 in the sub-scanning direction. That is, the number obtained by multiplying the copy magnification Y in the sub-scanning direction (8 × Y line, 16 × Y line)
Is the actual number of preceding lines. Interline correction unit 50
With 0, the R data and the G data are temporarily stored in the memory and delayed at a predetermined timing to correct the deviation from the B data. When the copy magnification is doubled, the data shift between the lines is doubled, and the memory capacity required to correct the shift is doubled. The line-to-line correction unit 500 pays attention to the maximum size of copy paper on which an image is formed is A3, and controls the number of effective dots in one line according to the copy magnification. Specifically, if the copy magnification is doubled,
Reduce the range read by one line to 1/2. This suppresses an increase in the memory capacity required to correct the above deviation. Further, by executing the interpolation processing of the inter-line data, a finer deviation of the read data is corrected.

【0045】(b-3-1)ライン間補正処理 図9は、ライン間補正処理部501及び補間処理部50
2の構成図である。シェーディング補正部400より入
力される画像データR27〜20及びG27〜20は、フィール
ドメモリ503及び505に入力される。フィールドメ
モリ503〜505は、256K×8ビットの容量をも
つ。R,G,Bの画像データは8ビットのデジタルデー
タである。CCDイメージセンサ14の読み取る原稿の
最大サイズがA3であり、解像度が400dpiの場
合、主走査方向1ライン分のデータ量は、約5kビット
である。従って、1つのフィールドメモリには、51ラ
イン分の画像データを格納することができる。読み取っ
た原稿を副走査方向に拡大(Y倍)して印字出力する場
合、原稿の各ラインの画像データをY回繰り返し読み取
り、副走査方向のデータ量をY倍に水増しする。ここ
で、上記したように、Rデータは、Bデータに対して1
6×Yラインだけ先行しており、Gデータは、Bデータ
に対して8×Yラインだけ先行している。このずれを補
正するには、フィールドメモリ503〜505が8×Y
ライン分のデータを格納できることが要求される。とこ
ろが、先に説明したように、フィールドメモリ503〜
505は、51ライン分のデータしか格納することがで
きない。即ち、このままではY=51/8=6.375
倍までしか複写倍率を上げることができないことにな
る。そこで、ライン間補正処理部501は、印字可能な
複写紙の最大サイズが予め特定される(多くの複写機の
場合A3である。)ことに注目し、主走査方向に倍率X
(但し、X≧1である)の逆数に比例してイメージスキ
ャナで原稿を読み取る範囲を限定する。これにより主走
査方向1ライン分のデータ量は、約5k/Xビットとな
り、フィールドメモリには、256k/約5k×(1/
X)≒51×Xライン分のデータを格納することが可能
となる。このように、ライン間補正部500ではメモリ
を増加せずに最大の複写倍率値を増加する。
(B-3-1) Interline Correction Processing FIG. 9 shows an interline correction processing section 501 and an interpolation processing section 50.
It is a block diagram of 2. The image data R 27 to 20 and G 27 to 20 input from the shading correction unit 400 are input to the field memories 503 and 505. The field memories 503 to 505 have a capacity of 256K × 8 bits. The R, G, B image data is 8-bit digital data. When the maximum size of the document read by the CCD image sensor 14 is A3 and the resolution is 400 dpi, the data amount for one line in the main scanning direction is about 5 kbits. Therefore, 51 lines of image data can be stored in one field memory. When the read document is enlarged (Y times) in the sub-scanning direction and printed out, the image data of each line of the document is repeatedly read Y times, and the data amount in the sub-scanning direction is padded to Y times. Here, as described above, the R data is 1 with respect to the B data.
It is preceded by 6 × Y lines and the G data is preceded by 8 × Y lines with respect to the B data. To correct this shift, the field memories 503 to 505 are 8 × Y.
It is required to be able to store data for lines. However, as described above, the field memories 503 ...
The 505 can store only 51 lines of data. That is, Y = 51/8 = 6.375 as it is.
This means that you can only increase the copy magnification up to twice. Therefore, the line-to-line correction processing unit 501 pays attention to the fact that the maximum size of printable copy paper is specified in advance (A3 in many copying machines), and the magnification X in the main scanning direction.
The range in which the document is read by the image scanner is limited in proportion to the reciprocal of (where X ≧ 1). As a result, the data amount for one line in the main scanning direction becomes about 5k / X bits, and the field memory stores 256k / about 5k × (1 /
X) ≈51 × X lines of data can be stored. In this way, the interline correction unit 500 increases the maximum copy magnification value without increasing the memory.

【0046】図10は、ライン間補正処理部501に入
力される−FIFOEN信号、−FRES1信号、−F
RES2信号、−FRES3信号、及びライン間補正処
理部501に入力/出力されるR,G,Bデータを示す
タイムチャートである。 −TG信号は、CCDイメージセンサ14の主走査方向
1ラインの読取周期tに同期して出力されるトリガ信号
である。 −FIFOEN信号は、主走査方向の複写倍率により定
まる読み取り範囲内で”L”となる信号である。−FR
ES1信号は、フィールドメモリ503及び505に入
力される書き込み開始信号であり、周期T={INT
(8×Y)+1}×tで立ち上がる。 −FRES2信号は、フィールドメモリ503及び50
5に対して読み出し開始信号であり、−FRES1信号
と同期した周期Tの信号である。フィールドメモリ50
3及び505は、−FRES1信号の立ち上がりに同期
してデータの書き込みを開始する。そして、周期T経過
後に−FRES2信号の立ち上がりに同期して読み出さ
れる。また、−FRES2信号は、フィールドメモリ5
04に対して書き込み開始信号として働く。フィールド
メモリ504は、−FRES2信号の立ち上がりに同期
してフィールドメモリ503から出力されるデータを書
き込む。 −FRES3信号は、上記−FRES1及び−FRES
2信号に対して1ライン分の読み取り期間tだけ進んで
いる周期Tの信号である。ここで、−FRES3信号を
1ライン分の読み取り期間tだけ進ましているのは、次
の補間処理部502における補間処理をRGB画像デー
タの緑色成分Gデータに合わす処理を実行するためであ
る。
FIG. 10 shows the -FIFOEN signal, -FRES1 signal, -F input to the interline correction processing unit 501.
7 is a time chart showing a RES2 signal, a −FRES3 signal, and R, G, B data input / output to / from the line correction processing unit 501. The -TG signal is a trigger signal output in synchronization with the reading cycle t of the CCD image sensor 14 for one line in the main scanning direction. The -FIFOEN signal is a signal that becomes "L" within the reading range determined by the copy magnification in the main scanning direction. -FR
The ES1 signal is a write start signal input to the field memories 503 and 505, and has a cycle T = {INT.
It rises at (8 × Y) +1} × t. -The FRES2 signal is applied to the field memories 503 and 50.
5 is a read start signal, and is a signal having a cycle T synchronized with the -FRES1 signal. Field memory 50
3 and 505 start writing data in synchronization with the rising edge of the -FRES1 signal. Then, after the lapse of the period T, the signal is read in synchronization with the rising edge of the -FRES2 signal. Also, the -FRES2 signal is used in the field memory 5
It acts as a write start signal for 04. The field memory 504 writes the data output from the field memory 503 in synchronization with the rising edge of the -FRES2 signal. -FRES3 signal is the above-FRES1 and -FRES
It is a signal of a cycle T which is advanced by a reading period t for one line with respect to two signals. Here, the reason why the -FRES3 signal is advanced by the reading period t for one line is that the interpolation processing in the next interpolation processing unit 502 is performed to match the green component G data of the RGB image data.

【0047】(b-3-2)補間処理 −FRES1〜3信号の立ち上がり、即ち周期Tは、I
NT関数により整数化され−TG信号に同期する。この
ためフィールドメモリ503〜505からのデータの出
力は、期間t(即ち複写倍率1/8倍)単位でしか調節
できない。補間処理部502では、複写倍率が小数部分
を有する場合に、上記ライン間補正処理部501で補正
することのできなかった{8×Y−INT(8×Y)}
ライン分のデータのずれを補う。
(B-3-2) Interpolation processing-The rising of the FRES1 to 3 signals, that is, the period T is I
It is converted into an integer by the NT function and synchronized with the TG signal. Therefore, the output of the data from the field memories 503 to 505 can be adjusted only in the unit of the period t (that is, the copy magnification ⅛). In the interpolation processing unit 502, when the copy magnification has a decimal part, the line-to-line correction processing unit 501 could not correct {8 × Y-INT (8 × Y)}.
Compensate for the data shift of the line.

【0048】ライン間補正処理部501において、Rデ
ータは、2T−tだけ遅延して出力される。Gデータ
は、Tだけ遅延して出力される。ところが実際にはR,
G,Bの各画像データは、互いに8×Yライン分ずれて
いる。この8×Yにより生じる小数部分のため、Rデー
タは、Gデータに対してa1={8×Y−INT(8×
Y)}だけ先行する。一方、Bデータは、Gデータに対
してb1=[1−{8×Y−INT(8×Y)}]先行
する。図11は、フィールドメモリ504より出力され
るR27〜20データと、フィールドメモリ505より出力
されるG27〜20データと、B2〜20データとの読取位置
に関するデータのずれについて示す。
In the interline correction processing unit 501, the R data is output after being delayed by 2T-t. The G data is delayed by T and then output. However, in reality, R,
The G and B image data are offset from each other by 8 × Y lines. Due to the fractional part generated by this 8 × Y, the R data is a 1 = {8 × Y-INT (8 ×
Y)} precedes. On the other hand, B data precedes G data by b 1 = [1- {8 × Y-INT (8 × Y)}]. FIG. 11 shows the deviation of the data regarding the read position between the R 27 to 20 data output from the field memory 504, the G 27 to 20 data output from the field memory 505, and the B 2 to 20 data.

【0049】図9に示すようにRデータは、2つの信号
に分岐される。一方の枝を流れるデータはラインメモリ
507により1ライン分遅延される。ここで、第mライ
ンのデータをRmで表すと、乗算器506にはRmデータ
が入力される。乗算器508にはRm+1のデータが入力
される。乗算器506では、次の「数3」の演算が実行
される。
As shown in FIG. 9, the R data is branched into two signals. The data flowing through one branch is delayed by one line by the line memory 507. Here, when the data of the m-th line is represented by R m , the R m data is input to the multiplier 506. The data of R m + 1 is input to the multiplier 508. The multiplier 506 executes the following operation of “Equation 3”.

【数3】Rx×Rm ここで、Rxは、次の「数4」により求められる係数で
ある。
## EQU3 ## Rx × R m Here, Rx is a coefficient obtained by the following "Equation 4".

【数4】 256:1=Rx:1−a1 =Rx:1−{8×Y−INT(8×Y)} ∴Rx=256[1−{8×Y−INT(8×Y)}] また、演算器508では、次の「数5」に示す演算が実
行される。
Equation 4] 256: 1 = Rx: 1- a 1 = Rx: 1- {8 × Y-INT (8 × Y)} ∴Rx = 256 [1- {8 × Y-INT (8 × Y)} Further, the computing unit 508 executes the computation shown in the following “Equation 5”.

【数5】(1−Rx)×Rm+1 ここで、Rxは上記「数4」で求められる係数である。## EQU00005 ## (1-Rx) .times.R.sub.m + 1 where Rx is the coefficient obtained by the above "Equation 4".

【0050】演算器506及び508より出力されたデ
ータは、加算器509において加算される。以上の演算
を実行することで、Rデータについての複写倍率の小数
部分にかかる補間処理が達成される。
The data output from the arithmetic units 506 and 508 are added in the adder 509. By executing the above calculation, the interpolation process for the decimal part of the copy magnification for the R data is achieved.

【0051】同じく図9に示すようにBデータも2つの
信号に分岐される。一方の枝を流れるデータはラインメ
モリ511により1ライン分遅延される。ここで、第m
ラインのデータをBmで表すと、演算器510にはBm
ータが入力される。演算器512にはBm+1のデータが
入力される。演算器510では、次の「数6」の演算が
実行される。
Similarly, as shown in FIG. 9, B data is also branched into two signals. The data flowing through one branch is delayed by one line by the line memory 511. Where m-th
When the line data is represented by B m , B m data is input to the calculator 510. B m + 1 data is input to the arithmetic unit 512. The computing unit 510 executes the following computation of "Equation 6".

【数6】(1−Bx)×Bm ここで、Bxは、次の「数7」により求められる係数で
ある。
(1−Bx) × B m Here, Bx is a coefficient obtained by the following “Equation 7”.

【数7】 256:1=255−Bx:1−b1 =255−Bx:8×Y−INT(8×Y) ∴Bx=256[1−{8×Y−INT(8×Y)}] また、演算器512では、次の「数8」に示す演算が実
行される。
Equation 7] 256: 1 = 255-Bx: 1-b 1 = 255-Bx: 8 × Y-INT (8 × Y) ∴Bx = 256 [1- {8 × Y-INT (8 × Y)} Further, the computing unit 512 executes the computation shown in the following “Equation 8”.

【数8】Bx×Bm+1 ここで、Bxは、上記「数7」により求められる係数で
ある。
## EQU00008 ## Bx.times.B.sub.m + 1 where Bx is a coefficient obtained by the above "expression 7".

【0052】演算器510及び演算器512により出力
されたデータは、加算器513において、加算される。
以上の演算を実行することで、Bデータについての複写
倍率の小数部分にかかる補間処理が達成される。このよ
うに、Gデータを基準として、R及びBデータの補間処
理を実行することで、1/2024倍単位で複写倍率の
設定を行うことが可能になる。補間処理部502により
上記補間処理の施されたR37〜30データ,G37〜30デー
タ,B37〜30データは、それぞれ変倍・移動処理部80
0へ出力されると共に、AE処理部600に入力され
る。
The data output from the arithmetic units 510 and 512 are added by the adder 513.
By executing the above calculation, the interpolation processing for the decimal part of the copy magnification for B data is achieved. As described above, by performing the interpolation process of the R and B data with the G data as a reference, it is possible to set the copy magnification in units of 1/2024 times. The R 37 to 30 data, G 37 to 30 data, and B 37 to 30 data which have been subjected to the above-mentioned interpolation processing by the interpolation processing unit 502 are respectively the scaling / movement processing unit 80.
It is output to 0 and is input to the AE processing unit 600.

【0053】(b-4)AE処理部 AE処理部600は、原稿サイズの検出、ACS(Auto
Color Selectionの略)、AE処理を実行する。原稿サイ
ズの検出とは、プラテン15上に載置された原稿の存在
範囲を主走査方向1ライン単位で検出することをいう。
本実施例の複写機では、原稿カバーを所定の均一濃度の
色にすることで、原稿との境界線を検知する。ACSと
は、検出された原稿サイズから、原稿中に占めるモノク
ロ画素の割合を求め、求めた割合から、原稿がフルカラ
ー原稿であるのか、もしくはモノクロ原稿であるのかを
判別することをいう。AE処理とは、原稿の中で一番明
るい色が複写紙上で白色(階調レベル255)に再現さ
れるように原稿の下地レベルを補正する処理である。と
ころがこのAE処理をフルカラー原稿に施すと、複写紙
上に再現される画像が全体的に色褪せた感じになる。そ
こで、AE処理部600では、上記ACSによる判定の
結果に基づいて、AE処理を実行する。図12は、AE
処理部600の構成を示すブロック図である。ヒストグ
ラム生成部602は、原稿画像中にあるモノクロ256
階調データのヒストグラム求める。原稿サイズ検出部6
50では、原稿サイズの検出を行う。ラインデータモニ
タ部700は、RGB画像データ1ライン分のデータを
ストアしてモニタし、露光ランプ12やCCDセンサ1
4等のトラブルによる信号の読取異常を検出する。
(B-4) AE Processing Unit The AE processing unit 600 detects the document size, ACS (Auto
(Abbreviation of Color Selection), AE processing is executed. The detection of the document size means to detect the existing range of the document placed on the platen 15 in units of one line in the main scanning direction.
In the copying machine according to the present embodiment, the boundary line between the original and the original is detected by making the original cover a color having a predetermined uniform density. The ACS refers to obtaining the ratio of monochrome pixels in the document from the detected document size, and determining whether the document is a full-color document or a monochrome document from the calculated ratio. The AE process is a process for correcting the background level of the original so that the brightest color of the original is reproduced as white (tone level 255) on the copy paper. However, when this AE processing is applied to a full-color original, the image reproduced on the copy paper will appear to be entirely faded. Therefore, the AE processing unit 600 executes the AE processing based on the result of the determination by the ACS. Figure 12 shows AE
3 is a block diagram showing the configuration of a processing unit 600. FIG. The histogram generation unit 602 uses the monochrome 256 in the original image.
Obtain a histogram of gradation data. Document size detector 6
At 50, the document size is detected. The line data monitor unit 700 stores and monitors data for one line of RGB image data, and monitors the exposure lamp 12 and the CCD sensor 1.
Detects a signal reading error due to a problem such as 4.

【0054】(b-4-1)ヒストグラム生成部 図13は、ヒストグラム生成部602の構成を示す図で
ある。ヒストグラム生成部602は、入力されるR
37〜30、G37〜30、B37〜30の全画素データを適当に間
引いて得られる画素データのうち、モノクロ画素の階調
データについてのヒストグラムを求める。ヒストグラム
生成部602で求められるヒストグラムは、後に説明す
るAE処理において、原稿内でモノクロ画素が占める割
合を求める際に用いられる。主走査方向の画素データの
間引きは、主走査1/16dot間引き回路603〜6
05において行われる。主走査1/16dot間引き回
路603〜605は、主走査方向のデータを16ドット
に1回の割合でヒストグラムメモリ606〜608のA
DR端子に出力する。これにより、主走査方向のデータ
量は1/16に間引かれる。また、副走査方向のデータ
の間引きは、V方向カウンタ616、比較器617、及
びNANDゲート619により行われる。比較器617
は、V方向カウンタ616によるカウント出力がヒスト
グラムメモリ制御部618より出力されるVdot7〜0
に等しくなると”L”の信号を出力する。V方向カウン
タ616は、比較器617より−CLR端子に”L”の
信号が出力された場合にカウント値をリセットする。N
ANDゲート619は、主走査方向同期信号−HD、副
走査方向同期信号−VD、及び比較器617から共に”
L”の信号が入力されたときに”L”の信号をヒストグ
ラムメモリ606〜608の−CS端子にそれぞれ入力
する。これにより副走査方向のデータ量は、1/(Vd
ot2〜0の値)に間引かれる。また、R37〜30、G
37〜30、B37〜30の各データがモノクロ画素のデータで
あるのか否かについての判断は、最小値検出部612、
最大値検出部613、演算器614、及び比較器615
において行われる。この判断は、モノクロ画素ではR,
G,Bの各画像データの差が殆ど無いことを利用して行
う。最小値検出部612は、同時に入力されるR,G,
B各データのうち最も小さな値のデータを出力する。最
大値検出部613は、同時に入力されるR,G,B各デ
ータのうち最も大きな値のデータを出力する。演算器6
14は、両者の差を求め、これを出力する。比較器61
5は、演算器614で求められた差の値が、ヒストグラ
ムメモリ制御部618より出力される基準値SREF
17〜10よりも小さい場合には、これをモノクロ画素であ
ると判断して”L”の信号を、ヒストグラムメモリ60
6〜608の−WE端子に出力する。ここで、SREF
17〜10の値をある程度大きな値に設定すれば、原稿の下
地がカラーである場合であってもヒストグラム化を行な
い、故意に下地の色をハイキーにすることができる。ヒ
ストグラムメモリ606〜608は、適当に間引いて得
られる画素データのうち、モノクロ画素であると判断さ
れた画素データの各階調データの頻出度を計数する。例
えば、CPU1による初期化の後、−CS端子及び−W
E端子に共に”L”の信号が入力される時、ヒストグラ
ムメモリ606は、ADR端子に入力される画素データ
の値の頻度値をDout端子よりRAE15〜10として出力
する。加算器609は、入力された頻度値に1を加えた
後、ヒストグラムメモリ606のDin端子にこの値を入
力する。ヒストグラムメモリ607及び608において
も同様の動作が行われる。以上のようにして、ヒストグ
ラム生成部602は、原稿画像に含まれるモノクロ画素
についてヒストグラムを生成する。図14は、ある原稿
について生成されたヒストグラムである。ここで、階調
レベルm=0は黒色、m=255は白色である。図中A
の範囲のデータは、後に説明するように、原稿内のモノ
クロ画素の占める割合を求める際には排除される。これ
は、本実施例の複写機の原稿押さえ板が鏡面圧板であ
り、原稿以外の範囲は”黒”として読み取られるためで
ある。
(B-4-1) Histogram Generating Unit FIG. 13 is a diagram showing the configuration of the histogram generating unit 602. The histogram generation unit 602 receives the input R
Of the pixel data obtained by appropriately thinning out all the pixel data of 37 to 30 , G 37 to 30 , and B 37 to 30 , a histogram for the gradation data of monochrome pixels is obtained. The histogram obtained by the histogram generation unit 602 is used when obtaining the ratio of monochrome pixels in the document in the AE process described later. Pixel data in the main scanning direction is thinned by the main scanning 1/16 dot thinning circuits 603 to 603.
At 05. The main scanning 1/16 dot thinning circuits 603 to 605 output the data in the main scanning direction once every 16 dots to the A of the histogram memories 606 to 608.
Output to the DR terminal. As a result, the amount of data in the main scanning direction is thinned out to 1/16. The thinning of the data in the sub-scanning direction is performed by the V direction counter 616, the comparator 617, and the NAND gate 619. Comparator 617
Indicates that the count output from the V direction counter 616 is output from the histogram memory control unit 618 as Vdot 7 to 0.
When it is equal to, an "L" signal is output. The V-direction counter 616 resets the count value when the comparator 617 outputs an “L” signal to the −CLR terminal. N
The AND gate 619 outputs from the main scanning direction synchronization signal −HD, the sub scanning direction synchronization signal −VD, and the comparator 617.
When the "L" signal is input, the "L" signal is input to the -CS terminals of the histogram memories 606 to 608. As a result, the data amount in the sub-scanning direction is 1 / (Vd
ot 2 to 0 )). In addition, R 37-30 , G
The determination as to whether or not each of the data 37 to 30 and B 37 to 30 is monochrome pixel data is performed by the minimum value detection unit 612,
Maximum value detector 613, calculator 614, and comparator 615
Done in. This judgment is made by R,
This is performed by utilizing the fact that there is almost no difference between the G and B image data. The minimum value detection unit 612 receives R, G, and
B The data having the smallest value among the respective data is output. The maximum value detection unit 613 outputs the data having the largest value among the R, G, and B data that are simultaneously input. Calculator 6
14 finds the difference between the two and outputs it. Comparator 61
5 is the reference value SREF output from the histogram memory control unit 618 as the difference value obtained by the calculator 614.
If it is smaller than 17 to 10, it is determined that the pixel is a monochrome pixel, and the signal of "L" is set to the histogram memory 60.
It outputs to -WE terminal of 6-608. Where SREF
If the value of 17 to 10 is set to a relatively large value, even if the background of the original is color, a histogram is created and the background color can be intentionally set to a high key. The histogram memories 606 to 608 count the frequency of each gradation data of the pixel data determined to be a monochrome pixel among the pixel data obtained by appropriately thinning out. For example, after initialization by the CPU 1, -CS terminal and -W
When both "L" signals are input to the E terminal, the histogram memory 606 outputs the frequency value of the pixel data value input to the ADR terminal as RAE 15 to 10 from the Dout terminal. The adder 609 adds 1 to the input frequency value and then inputs this value to the Din terminal of the histogram memory 606. Similar operations are performed in the histogram memories 607 and 608. As described above, the histogram generation unit 602 generates a histogram for monochrome pixels included in the original image. FIG. 14 is a histogram generated for a certain document. Here, the gradation level m = 0 is black, and m = 255 is white. A in the figure
As will be described later, the data in the range is excluded when obtaining the ratio of monochrome pixels in the document. This is because the original pressing plate of the copying machine of this embodiment is a mirror surface pressure plate and the area other than the original is read as "black".

【0055】(b-4-2)原稿サイズ検出部 原稿サイズ検出部650は、複写動作の実行前にCCD
イメージセンサ14により行われる予備スキャンにより
プラテン15上に載置された原稿の存在範囲を主走査方
向1ライン単位で検出する(図16参照)。本実施例の
複写機では、原稿カバーを所定の均一濃度の色にするこ
とで、原稿との境界線を検知する。図16に示すよう
に、予備スキャンは、最大原稿サイズに相当する領域
(A3)に対して行われる。この原稿サイズ検出部65
0で検出された原稿のサイズは、後に説明するAE処理
において、原稿内でモノクロ画素の占める割合を求める
際に用いられる。図15は、原稿サイズ検出部650の
構成を示す図である。原稿サイズ検出部650では、入
力されるR97〜90,G97〜90,B97〜90の画像データに
基づいて、原稿サイズデータSZD7〜0をCPU1に出
力する。NANDゲート654は、入力される
97〜90,G97〜90,B97〜90が、原稿の画素データで
あると判断される場合に”H”のSZON信号を出力す
る。NANDゲート654には、原稿の読取可能な範囲
内で”H”から”L”に切り替わる−HD信号と、比較
部653から出力される比較結果信号が入力される。上
記比較部653は、入力されたR97〜90、G97〜90、B
97〜90を5:6:5の比率で混合して得られる濃淡デー
タS7〜0が、原稿下地レベルSREF7〜0以下の場合
に、”L”の比較結果信号を出力する。上記濃淡データ
7〜0は、入力されたR97〜90、G97〜90、B
97〜90を、乗算器651で各々×5,×6,×5倍した
後、演算器652で合算したものを1/16倍して得ら
れるデータである。SZON信号の入力されるシフトレ
ジスタ回路655は、4ドット毎にSZON信号の値を
抽出してANDゲート656に出力する。ANDゲート
656では、SZON信号が全て”H”になった場合に
のみ”H”の信号を出力する。これは、原稿領域が16
ドット(約1mm)以上、連続して検出されたことを意
味する。これにより原稿サイズの誤判定を防止すること
ができる。ANDゲート656から出力される信号の値
が”L”から”H”に切り替わるのに応答して、D−F
F659は、図16のタイムチャートに示すように”
H”のVCLKEN信号を出力する。また、原稿領域が
終了し、SZON信号の値が”L”に切り替わるのに応
答して、D−FF659は、図16のタイムチャートに
示すようにVCLKEN信号の値を”L”に切り換え
る。VCLKEN信号によって原稿下地エリアのVCL
K信号がイネーブルされ、ANDゲート658よりLA
STCK信号が出力される。LASTCK信号は、原稿
エリアの主走査後端側におけるVCLKEN信号の立ち
下がりに応じてディスイネーブルされ、原稿エリア後端
部の主走査アドレスHAC〜0をD−FF660にラッチ
する。また、LASTCK信号は、フリップフロップ6
64においてFIRSTCK信号を生成し、1ラインの
先頭で−TG信号によりクリヤされているD−FF66
1の出力を”H”に変更する。即ち、1ラインの最初の
LASTCK信号の立ち上がりの時に、FIRSTCK
信号も立ち上がる。このFIRSTCK信号でD−FF
661にラッチされた主走査アドレスが、原稿エリア先
頭アドレスになる。D−FF660及びD−FF661
にラッチされたアドレスを、次にラインの−TG信号の
立ち上がり時にANDゲート665より出力される”
H”の信号によりD−FF662及びD−FF663で
再度ラッチし、原稿サイズアドレス信号(LASTSZ
C〜0及びFIRSTSZC〜0)を作成する。CPU1
は、これらの信号を読み込むため、再度ラッチを行う−
TG信号を、一旦、−TGSTP信号でディスイネーブ
ルし、SZSEL1,0によって必要なアドレス信号を
選択して読み込む。セレクタ667は、入力されるSZ
SEL0及び1が”0”ならば、原稿後端アドレスの下
位8ビットを選択し、SZSEL0が”0”、SZSE
L1が”1”ならば、原稿後端アドレスの上位5ビット
を選択し、これを原稿サイズデータSZD7〜0としてC
PU1に出力する。更に、セレクタ667は、SZSE
L0が”1”、SZSEL1が”0”ならば、原稿先端
アドレスの下位8ビットを選択し、SZSEL0及び1
が”1”ならば、原稿先端アドレスの上位5ビットを選
択し、原稿サイズデータSZD7〜0としてCPU1に出
力する。CPU1は、上記データ読み込み動作を繰り返
し実行することで、副走査方向の原稿エリアも認識す
る。
(B-4-2) Document Size Detection Unit The document size detection unit 650 is a CCD before the copying operation is executed.
The existence range of the document placed on the platen 15 is detected by the unit of one line in the main scanning direction by the preliminary scan performed by the image sensor 14 (see FIG. 16). In the copying machine according to the present embodiment, the boundary line between the original and the original is detected by making the original cover a color having a predetermined uniform density. As shown in FIG. 16, the preliminary scan is performed on the area (A3) corresponding to the maximum document size. This document size detection unit 65
The size of the document detected as 0 is used when obtaining the ratio of monochrome pixels in the document in the AE process described later. FIG. 15 is a diagram showing the configuration of the document size detection unit 650. The document size detecting section 650 outputs document size data SZD 7-0 to the CPU 1 based on the input image data of R 97-90 , G 97-90 , B 97-90 . The NAND gate 654 outputs an "H" SZON signal when it is determined that the input R 97 to 90 , G 97 to 90 , and B 97 to 90 are original pixel data. To the NAND gate 654, the −HD signal that switches from “H” to “L” within the readable range of the document and the comparison result signal output from the comparison unit 653 are input. The comparing unit 653 receives the input R 97 to 90 , G 97 to 90 , B
97-90 5: 6: shading data S 7 to 0 obtained by mixing in a ratio of 5, the following cases document background level SREF 7 to 0, and outputs a comparison result signal of "L". The shading data S 7 to 0 are inputted R 97~90, G 97~90, B
This is data obtained by multiplying 97 to 90 by × 5, × 6, × 5 by the multiplier 651 and then multiplying by 1/16 by summing them by the calculator 652. The shift register circuit 655 to which the SZON signal is input extracts the value of the SZON signal for every 4 dots and outputs it to the AND gate 656. The AND gate 656 outputs the signal of "H" only when all the SZON signals become "H". This is because the original area is 16
It means that dots (about 1 mm) or more are continuously detected. This makes it possible to prevent erroneous determination of the document size. In response to the value of the signal output from the AND gate 656 switching from “L” to “H”, DF
As shown in the time chart of FIG. 16, F659 is "
The VCLKEN signal of "H" is output. Further, in response to the end of the original area and the value of the SZON signal being switched to "L", the D-FF 659 outputs the VCLKEN signal of the VCLKEN signal as shown in the time chart of FIG. Switch the value to “L.” VCL of the original background area by the VCLKEN signal
When the K signal is enabled, the AND gate 658 causes LA
The STCK signal is output. The LASTCK signal is disabled according to the trailing edge of the VCLKEN signal on the trailing end side of the main scanning area of the original area, and the main scanning address HA C to 0 at the trailing end portion of the original area is latched in the D-FF 660. Further, the LASTCK signal is the flip-flop 6
A FIRSTCK signal is generated at 64, and the D-FF 66 is cleared by the -TG signal at the beginning of one line.
Change the output of 1 to "H". That is, when the first LASTCK signal on one line rises, FIRSTCK
The signal also rises. D-FF with this FIRSTCK signal
The main scanning address latched by 661 becomes the original area head address. D-FF660 and D-FF661
The address latched in is output from the AND gate 665 at the next rise of the -TG signal on the line.
It is latched again by the D-FF 662 and D-FF 663 by the signal of "H", and the original size address signal
C-0 and FIRSTSZ C-0 ). CPU1
Latches again to read these signals −
The TG signal is temporarily disabled by the -TGSTP signal, and the necessary address signal is selected and read by SZSEL1, 0. Selector 667 receives input SZ
If SEL0 and SEL0 are "0", the lower 8 bits of the document trailing edge address are selected, SZSEL0 is "0", SZSE
L1 is if "1", selects the most significant 5 bits of the original rear end address, C it as a document size data SZD 7 to 0
Output to PU1. Further, the selector 667 is an SZSE
If L0 is "1" and SZSEL1 is "0", the lower 8 bits of the document leading edge address are selected, and SZSEL0 and SZSEL1 are selected.
If There "1", selects the most significant 5 bits of the original tip address and outputs the original size data SZD 7 to 0 in the CPU 1. The CPU 1 repeatedly recognizes the original area in the sub-scanning direction by repeatedly executing the data reading operation.

【0056】ここで、順次検出された主走査の先頭、後
端アドレスより原稿の主走査方向及び副走査方向の位置
に対応したビットマップメモリ上に原稿内を0、外を1
として、原稿サイズデータSZD7〜0を書き込む(図1
7参照)。上記ビットマップメモリは、CPU1内に設
けられている。次に、ビットマップメモリ内の1→0及
び0→1への変化点が副走査方向に対して連続的な線と
して存在するかを判定する。このとき不連続と検出すれ
ばその主走査アドレス1→0、0→1の変化点を前後ラ
インの変化情報より修正する。これは、ブック原稿の綴
じ込み部において、原稿が原稿ガラス面から浮かぶ箇所
が黒く読み取られたり、あるいは原稿の端部の汚れによ
って誤検知してしまったアドレス情報を修正する目的で
行う。このようにして、ビットマップメモリ上の1から
0、または0から1への変化点を全て判断及び修正した
後に、コピー動作開始に同期してCPU1がビットマッ
プ情報に基づいて順次主走査側の原稿有効領域を決定す
る。
Here, the inside of the document is 0 and the outside is 1 on the bitmap memory corresponding to the positions of the document in the main scanning direction and the sub scanning direction from the sequentially detected leading and trailing end addresses of the main scanning.
As the original size data SZD 7 to 0 is written (Fig. 1
7). The bitmap memory is provided in the CPU 1. Next, it is determined whether the change points 1 → 0 and 0 → 1 in the bitmap memory exist as continuous lines in the sub-scanning direction. At this time, if discontinuity is detected, the change point of the main scanning address 1 → 0, 0 → 1 is corrected from the change information of the preceding and following lines. This is done for the purpose of correcting the address information that is mistakenly detected in the binding portion of the book original, where the original floats from the glass surface of the original, is read in black, or the edge of the original is dirty. In this way, after all the change points from 1 to 0 or 0 to 1 on the bit map memory are determined and corrected, the CPU 1 sequentially synchronizes with the start of the copy operation based on the bit map information. Determine the original valid area.

【0057】CPU1により決定された原稿有効領域の
画像サイズデータSZD7〜0は、後述する変倍・移動処
理部800の変倍・移動制御回路801に送られる。変
倍・移動制御回路801では、送られて来た原稿有効領
域のデータに基づいて、原稿領域以外は、”H”、原稿
領域では”L”のDCLR1信号を生成し、画像処理に
不必要な領域をマスクする。これにより、図17に示す
ように、原稿が斜めに置かれていても、領域外を原稿配
置に合わせてマスクすることができる。なお、−TGS
TP信号及び−SZCS信号は、CPU1がSZD7〜0
の信号を読取にくい場合にONにされる。−OE2信号
は、CPU1のソード信号である。
The image size data SZD 7-0 of the document effective area determined by the CPU 1 is sent to a scaling / movement control circuit 801 of a scaling / movement processing unit 800 described later. The scaling / movement control circuit 801 generates a DCLR1 signal of "H" in the area other than the original area and "L" in the area of the original based on the sent data of the effective area of the original, which is unnecessary for image processing. Areas that are not visible. As a result, as shown in FIG. 17, even if the document is placed obliquely, the outside of the area can be masked according to the document arrangement. Note that -TGS
TP signal and -SZCS signal, CPU 1 is SZD 7 to 0
It is turned on when it is difficult to read the signal. The -OE2 signal is a sword signal of the CPU 1.

【0058】(b-4-3)AE処理 CPU1は、上記ヒストグラム生成部602において生
成されたモノクロ画素に関するヒストグラム及び原稿サ
イズ検出部650において検出された原稿用紙のサイズ
とに基づいて、前にシェーディング補正部400の説明
で記した下地レベルの係数値Xを定める。図18〜図2
0は、CPU1の実行するAE処理のフローチャートで
ある。予備スキャンの終了後(ステップS600)、原
稿サイズ検出部650により求められる原稿サイズよ
り、原稿領域外の総ドット数を求める(ステップS60
1)。次に、最大の原稿サイズ(A3)の総ドット数に
対して主走査方向及び副走査方向の間引き率を掛け合わ
せてヒストグラムメモリ606〜608にそれぞれ記憶
され得る総ドット数Tnを求めると共に、原稿サイズ検
出部650において検出された原稿サイズ以外の領域に
あるドット数に対して主走査方向及び副走査方向の間引
き率を掛け合わせて領域外ドット数Unを求める(ステ
ップS602)。次に、ヒストグラムメモリ606〜6
08にそれぞれ格納されている総度数RSn,GSn,
BSnを調べ、その中で最大値Sn=MAX(RSn,
GSn,BSn)を求める(ステップS603)。この
ようにして求められた総ドット数Tn、領域外ドット数
Un及び最大値Snより、原稿画像においてモノクロ画
素の占める割合BKn=(Sn−Un)/(Tn−U
n)を求める(ステップS604)。ここで、Sn及び
Tnの値よりUnを差し引くのは、領域外の画素データ
が0に近い”黒”データとして読み取られているためで
ある。このようにして求められた割合BKnの値が所定
のしきい値TH1以下の場合には(ステップS605で
NO)、原稿はカラーであると判断し、下地レベルの係
数値Xを255に設定する(ステップS606)。ま
た、BKnの値が所定のしきい値TH1以上の場合には
(ステップS605でYES)、モノクロ原稿であると
判断し、更に以下に説明するようにヒストグラムの分布
を解析する。
(B-4-3) AE processing The CPU 1 performs shading before based on the histogram of the monochrome pixels generated by the histogram generation unit 602 and the size of the document sheet detected by the document size detection unit 650. The coefficient value X of the background level described in the description of the correction unit 400 is determined. 18 to 2
0 is a flowchart of the AE process executed by the CPU 1. After the completion of the preliminary scan (step S600), the total number of dots outside the document area is calculated from the document size calculated by the document size detection unit 650 (step S60).
1). Next, the total number of dots of the maximum document size (A3) is multiplied by the thinning rate in the main scanning direction and the sub scanning direction to obtain the total number of dots Tn that can be stored in each of the histogram memories 606 to 608, and The number of dots outside the area Un is obtained by multiplying the number of dots in the area other than the original size detected by the size detection unit 650 by the thinning rate in the main scanning direction and the sub scanning direction (step S602). Next, the histogram memories 606-6
08, total frequency RSn, GSn,
BSn is checked, and the maximum value Sn = MAX (RSn, RSn,
GSn, BSn) is calculated (step S603). Based on the total dot number Tn, the out-of-region dot number Un, and the maximum value Sn thus obtained, the ratio BKn = (Sn-Un) / (Tn-U of monochrome pixels in the original image
n) is calculated (step S604). Here, the reason why Un is subtracted from the values of Sn and Tn is that the pixel data outside the region is read as "black" data close to zero. When the value of the ratio BKn thus obtained is equal to or smaller than the predetermined threshold value TH1 (NO in step S605), it is determined that the original is color, and the coefficient value X of the background level is set to 255. (Step S606). If the value of BKn is greater than or equal to the predetermined threshold value TH1 (YES in step S605), it is determined that the original document is a monochrome document, and the distribution of the histogram is analyzed as described below.

【0059】CPU1は、R,G,Bそれぞれのヒスト
グラムデータ毎に255からあるレベルLV1までの各
階調レベルの度数RS(m),GS(m),BS(m)
(但し、255≧m≧LV1の関係を満たす)を調べる
(ステップS607)。次に各階調レベルの度数RS
(m),GS(m),BS(m)より各総度数RPn,
GPn,BPnを求め、求めたRPn,GPn,BPn
の最大値Pn=MAX(RPn,GPn,BPn)を求
めると共に、最大値Pnよりモノクロ原稿の下地比率W
Hn=Pn/(Sn−Un)を求める(ステップS60
8)。下地比率WHnの値が所定のしきい値TH2より
も大きければ(ステップS609でYES)、R,G,
B毎に、階調値255からみて最初に現れる極大値の階
調レベルRX,GX,BXを調べる(ステップS61
0)。階調レベルRX,GX,BXの全てが存在する場
合(ステップS611でYES)、更にそれらのうちの
最小値MIN(RX,GX,BX)を求め、求めた最小
値の値を下地レベルの係数値Xとする(ステップS61
2)。ここで、下地レベルとして最小値MIN(RX,
GX,BX)を用いるのは、R,G,B毎に下地レベル
を定めると下地以外のカラーバランスが崩れるためであ
る。また、原稿よりR,G,Bのヒストグラム曲線のう
ちの1つが極大値を持たない場合や(ステップS611
でNO)、下地比率WHnの値が所定のしきい値TH2
よりも小さい場合(ステップS609でNO)には、原
稿の下地レベルが255以上であるか、または下地のな
い写真等の原稿であると判断して(ステップS61
4)、下地レベルの係数値をX=255に設定する(ス
テップS615)。また、RX,GX,BXがそれぞれ
存在する場合であっても、写真モード設定時には、係数
値をX=255に設定する(ステップS613でYE
S)。
The CPU 1 has a frequency RS (m), GS (m), BS (m) of each gradation level from 255 to a certain level LV1 for each histogram data of R, G, B respectively.
(However, the relationship of 255 ≧ m ≧ LV1 is satisfied) is checked (step S607). Next, the frequency RS of each gradation level
(M), GS (m), BS (m) from each total frequency RPn,
RPn, GPn, BPn obtained by obtaining GPn, BPn
The maximum value Pn = MAX (RPn, GPn, BPn) of the monochrome original is calculated from the maximum value Pn.
Hn = Pn / (Sn-Un) is calculated (step S60)
8). If the value of the background ratio WHn is larger than the predetermined threshold value TH2 (YES in step S609), R, G,
For each B, the grayscale levels RX, GX, and BX having the maximum values that first appear in the grayscale value 255 are checked (step S61).
0). When all of the gradation levels RX, GX, BX are present (YES in step S611), the minimum value MIN (RX, GX, BX) among them is calculated, and the calculated minimum value is related to the background level. The value is set to X (step S61)
2). Here, the minimum value MIN (RX,
(GX, BX) is used because if the background level is set for each of R, G, and B, the color balance other than the background is lost. In addition, when one of the R, G, and B histogram curves does not have a maximum value from the original document (step S611).
NO), the value of the background ratio WHn is a predetermined threshold value TH2.
If it is smaller than the above (NO in step S609), it is determined that the background level of the original is 255 or more, or the original is a photograph or the like with no background (step S61).
4), the coefficient value of the background level is set to X = 255 (step S615). Even when RX, GX, and BX are present, the coefficient value is set to X = 255 when the photo mode is set (YE in step S613).
S).

【0060】標準モード設定時には、AE処理が実行さ
れる(ステップS616でYES)。後に説明するよう
に、AE処理の実行時には係数Pの値は1に設定される
(ステップS617)。また、露出レベルがマニュアル
設定される場合には(ステップS616でNO)、後に
「表1」を用いて説明するように、1〜7の設定値に応
じて係数Pの値を定める(ステップS618)。この場
合、係数Xの値は、全て255に設定される。シェーデ
ィング補正部400の説明に記したように、シェーディ
ング補正用の板16は、必ずしも理想的な白色ではない
ため、この分光分布比をCCDイメージセンサ14の
R,G,Bの感度比に置き換えた値をRN:GN:BN
とする。シェーディング補正用の板16のG波長域の感
度をWH1、コピーの濃度階調ダイナミックレンジの最小
値をWH2とすると、シェーディング補正の逆数変換テー
ブルの所望値255×Qに対して、以下の「数9」によ
りR,G,B毎にQを求める(ステップS619)。
When the standard mode is set, AE processing is executed (YES in step S616). As will be described later, the value of the coefficient P is set to 1 when executing the AE processing (step S617). When the exposure level is manually set (NO in step S616), the value of the coefficient P is determined according to the set values of 1 to 7 (step S618), as will be described later using "Table 1". ). In this case, the values of the coefficient X are all set to 255. As described in the description of the shading correction unit 400, since the shading correction plate 16 is not necessarily an ideal white color, this spectral distribution ratio is replaced with the R, G, and B sensitivity ratios of the CCD image sensor 14. The value is RN: GN: BN
And Assuming that the sensitivity of the shading correction plate 16 in the G wavelength region is WH1 and the minimum value of the copy density gradation dynamic range is WH2, for the desired value 255 × Q of the reciprocal conversion table for shading correction, 9 ”to obtain Q for each of R, G and B (step S619).

【数9】 QR=P×(RN/GN)×10WH1-WH2×(255/
X) QG=P× 1 ×10WH1-WH2×(255/
X) QB=P×(BN/GN)×10WH1-WH2×(255/
X) 上記係数Pは、下地レベルのマニュアル設定時に用いら
れる係数であり、AE処理の実行時には1に設定されて
いる。下地レベルがマニュアル設定される場合には、下
地レベルの係数値Xは、255に設定される。次の「表
1」に、AE処理時と、下地レベルのマニュアル設定時
における係数Pの値と係数Xの値とを示す。表示するよ
うに、マニュアルで設定することのできる下地レベル
は、7段階である。設定値は、4を中心として3→2→
1となるほど下地がとぶように係数Pの値が設定され、
5→6→7となるほど下地がかぶるように係数Pの値が
設定される。
Equation 9] Q R = P × (RN / GN) × 10 WH1-WH2 × (255 /
X) Q G = P × 1 × 10 WH1-WH2 × (255 /
X) Q B = P × (BN / GN) × 10 WH1-WH2 × (255 /
X) The coefficient P is a coefficient used when the background level is manually set, and is set to 1 when the AE process is executed. When the background level is manually set, the coefficient value X of the background level is set to 255. The following "Table 1" shows the value of the coefficient P and the value of the coefficient X at the time of AE processing and when the background level is manually set. As shown, there are seven levels of background levels that can be set manually. The setting value is centered around 4, 3 → 2 →
The value of the coefficient P is set so that the lower the value, the more the background is blown,
The value of the coefficient P is set so that the background is covered more as it becomes 5 → 6 → 7.

【表1】 上記ステップS619にて求めたQR,QG,QBのそれ
ぞれの値に基づいて、R,G,B毎に逆数変換テーブル
406に変換データをダウンロードする(ステップS6
20)。以上のAE処理により原稿が写真や有彩色であ
っても再現するコピーのカラーバランスが原稿と異なる
ことがないように、原稿の下地を最適に処理する。
[Table 1] Q R, Q G obtained in step S619, based on the respective values of Q B, R, G, downloads the converted data for each B to the inverse conversion table 406 (step S6
20). By the above AE processing, the background of the original is optimally processed so that the color balance of the reproduced copy does not differ from the original even if the original is a photograph or chromatic color.

【0061】上記AE処理では、下地レベルの係数値X
及び係数Pを変更してシェーディング補正を適正化する
ものであるが、これに限定されず、例えば、図73に示
すγ補正部1700で使用する下地除去レベルUDC
7〜0及び傾き補正値GDC7〜0を変更して行うものであ
ってもよい。この場合、下地除去レベルUDC7〜0及び
傾き補正値GDC7〜0は、次の「数10」に示すLOG
補正式に基づいて定められる。
In the above AE processing, the coefficient value X of the background level is
And the coefficient P is changed to optimize the shading correction, but the present invention is not limited to this, and for example, the background removal level UDC used in the γ correction unit 1700 shown in FIG. 73.
It may be performed by changing 7 to 0 and the inclination correction value GDC 7 to 0 . In this case, the background removal level UDC 7 to 0 and the inclination correction value GDC 7 to 0 are the LOG shown in the following " Equation 10".
It is determined based on the correction formula.

【数10】UDC7〜0=−(255/DMAX)×lo
g(X/255) GDC7〜0={255/(255−UDC7〜0)}×1
28 但し、シェーディング補正の所望する値255×Qは、
X=255として設定する。
[ Expression 10] UDC 7-0 =-(255 / DMAX) x lo
g (X / 255) GDC 7-0 = {255 / (255-UDC 7-0 )} x 1
28 However, the desired value 255 × Q for shading correction is
Set as X = 255.

【0062】更に、ヒストグラムデータの解析中に求め
られた原稿の無彩色比率は、原稿がカラー原稿であるの
かモノクロ原稿であるのかを示す信号である。このた
め、上記原稿の無彩色比率を原稿の識別に用いれば、フ
ルカラーPPCとしてACS動作を行うことができる。
原稿がモノクロ原稿であれば、BKトナーのみを使用し
て印字処理を実行するようにすることも可能であり、こ
の場合には、トナーの消費量の節約、及び印字処理の高
速化を図ることができる。また、原稿下地がカラーであ
っても、故意に下地を飛ばすことができる。これは、S
REF7〜0のレベルを大きくして無彩色として扱われる
範囲を広げ、広げた範囲内でR,G,Bデータのヒスト
グラム化を行うことで実現される。この場合に無彩色比
率を求める必要はなく、ヒストグラムの解析を実行して
原稿下地レベルXの検出すればよい。また更に、原稿下
地レベルの係数値Xを求めるため、R,G,Bデータの
ヒストグラムより、最大極大値を検出しているが、平均
階調レベルと最大値、最小値とを求め。原稿の平均的な
明るさと、階調ダイナミックレンジから係数値Xを求め
てもよい。
Furthermore, the achromatic color ratio of the original document obtained during the analysis of the histogram data is a signal indicating whether the original document is a color original document or a monochrome original document. Therefore, if the achromatic color ratio of the original is used for identifying the original, the ACS operation can be performed as a full-color PPC.
If the original is a monochrome original, it is possible to execute the print processing by using only BK toner. In this case, it is possible to save the toner consumption amount and speed up the print processing. You can Further, even if the background of the original is color, the background can be intentionally skipped. This is S
This is realized by increasing the level of REF 7 to 0 to widen the range treated as an achromatic color, and histogram the R, G, B data within the widened range. In this case, it is not necessary to obtain the achromatic color ratio, but the analysis of the histogram may be executed to detect the document background level X. Furthermore, in order to obtain the coefficient value X of the original background level, the maximum maximum value is detected from the histogram of the R, G, B data, but the average gradation level and the maximum and minimum values are obtained. The coefficient value X may be obtained from the average brightness of the document and the gradation dynamic range.

【0063】(b-5)変倍・移動処理部 変倍・移動処理部800では、入力されるR37〜30デー
タ、G37〜30データ、B37〜30データに対して、不要領
域データの削除、縮小補間処理、縮小,等倍,拡大出
力、イメージリピート及び拡大補間処理を実行する。上
記不要領域とは、原稿台上で原稿の存在していない領域
と、原稿画像を縮小したため生じる領域との2つがあ
り、AE処理部600での原稿サイズの検出結果に基づ
いて実行される。例えば原稿を50%に縮小するには、
本来ならば読取密度を400dpiのスキャナのかわり
に200dpiのスキャナを用いて原稿の画像データを
読み取り、読み取って得られる画像データを400dp
iの密度で印字処理すべきである。しかし実際には40
0dpiのスキャナで読み取って得られる画像データを
半分に間引いたデータが用いられる。この場合、細い線
のデータが消去されてしまい、再現画像の画質が低下す
る。そこで、縮小率に応じたサイズで補間処理を実行す
る。これにより、再現画像の画質の低下を防止する。ま
た、原稿を拡大する場合に、単純にデータを水増しする
だけではエッジのがたつきが目立つ等、画像の劣化が激
しい。拡大補間部では、拡大倍率に応じてスムージング
処理を施す。これにより、拡大時の画像の劣化を防止す
る。なお、使用者により操作パネル上の画質モニタ選択
キー77が押下された場合には、原稿画像の一部を8回
イメージリピートして出力する。
(B-5) Magnification / Movement Processing Unit In the magnification / movement processing unit 800, unnecessary area data is input to the input R 37 to 30 data, G 37 to 30 data, and B 37 to 30 data. Deletion, reduction interpolation processing, reduction, equal magnification, enlargement output, image repeat, and enlargement interpolation processing. The unnecessary areas include two areas, that is, an area where no original exists on the original table and an area generated by reducing the original image. The unnecessary area is executed based on the result of the original size detection by the AE processing unit 600. For example, to reduce the original to 50%,
Originally, the image data of the original is read by using a scanner of 200 dpi instead of the scanner of reading density of 400 dpi, and the image data obtained by reading is read by 400 dpi.
Printing should be done at a density of i. But actually 40
Data obtained by thinning out image data obtained by reading with a 0 dpi scanner is used. In this case, the data of the thin line is erased and the quality of the reproduced image deteriorates. Therefore, the interpolation process is executed with a size according to the reduction rate. This prevents the quality of the reproduced image from deteriorating. Further, when enlarging a document, if the data is simply padded, the image is severely deteriorated, such as the noticeable edge rattling. The enlargement interpolation unit performs smoothing processing according to the enlargement magnification. This prevents the deterioration of the image at the time of enlargement. When the user presses the image quality monitor selection key 77 on the operation panel, a part of the original image is image-repeated eight times and output.

【0064】図21は、Rデータ、Gデータ、Bデータ
がそれぞれ入力される変倍・移動処理部800の構成を
示す。領域外イレース部805では、入力された画像デ
ータDin(R37〜30,G37〜30,B37〜30)から不要な
領域の画像データを消去する。ここで不要な領域とは、
図22(a)に示すように、原稿台ガラス15上に載置
された原稿用紙以外の部分をいう。この不要な領域での
読み取りデータの値は、黒色のデータであり、コピーの
品質低下の原因となる。この不要な領域のデータは、変
倍・移動制御回路801より出力されるDCLR1信号
の出力に基づいて実行される。DCLR1信号は、水平
方向同期信号である−TG信号と、イメージデータの同
期信号であるVCLK信号とに基づいて切り替えられ
る。制御回路801は、VCLK信号によりイメージデ
ータの終了を検知する。そして−TG信号により次のラ
インの同期信号が立ち上がるまでの間に読み取られたデ
ータを不要領域のデータと判断して領域外イレース部8
05にデータ消去を実行させる。
FIG. 21 shows the configuration of the scaling / movement processing unit 800 to which R data, G data, and B data are input. The out-of-region erase unit 805 erases the image data of an unnecessary region from the input image data Din ( R37 to 30 , G37 to 30 , B37 to 30 ). Here, the unnecessary area is
As shown in FIG. 22A, it refers to a portion other than the original sheet placed on the original table glass 15. The value of the read data in this unnecessary area is black data, which causes deterioration of copy quality. The data in this unnecessary area is executed based on the output of the DCLR1 signal output from the scaling / movement control circuit 801. The DCLR1 signal is switched based on the -TG signal which is a horizontal synchronizing signal and the VCLK signal which is a synchronizing signal of image data. The control circuit 801 detects the end of image data by the VCLK signal. Then, the data read until the synchronization signal of the next line rises by the -TG signal is judged as the data of the unnecessary area, and the out-of-area erase section 8
05 is executed to erase data.

【0065】(b-5-1)縮小補間部 縮小補間部806は、順に入力される画素データをその
前後にある画素のデータを用いて補間する。縮小補間部
806には、領域外イレース部805により不要領域の
データの消去されたR37〜30,G37〜30,B37〜30の各
データが入力される。縮小補間部806で補間処理を実
行するのは、以下の理由による。一般に原稿画像の縮小
は、画像データを間引くことで実行される。例えば、読
み取った原稿画像を半分に縮小して出力するには、画像
データを1つ置きに間引くことで、データ量を半分にす
る。図23(a)に示すように、400dpiで画像デ
ータを読み取るCCDイメージスキャナで読み取られた
画像を、半分に縮小する場合、本来ならば図23(b)
に示すように原稿画像の画像データを200dpiのイ
メージスキャナで読み取り、400dpiで印字出力す
ることが必要である。しかし、実際には、図23(c)
に示すように、400dpiで原稿の画像データを読み
取った際に得られる画像データのうち、所定の位置にあ
る画素のデータを用いて読取解像度を変更する。しかし
原稿画像が網点の場合、縮小率を大きくするとモアレが
生じる。また、単純にデータを間引くため、縮小率に比
例して画像の解像度が低下する。また、一般にモノクロ
2値画像の場合、そのモノクロ各画素の存在確立が50
%の場合は稀であり、通常は白色画素の占める割合が大
きい。このような場合に単純にデータを間引くとデータ
の欠損を生じる。このデータの欠損による影響を緩和す
るため、縮小補間部806において、その前後のデータ
と共に所定の補間処理を施す。演算器807は、次の
「数11」に示される演算を実行する。
(B-5-1) Reduction Interpolation Unit The reduction interpolation unit 806 interpolates sequentially input pixel data using the data of pixels before and after it. The data of R 37 to 30 , G 37 to 30 , and B 37 to 30 from which the data of the unnecessary area is erased by the out-of-area erase unit 805 are input to the reduction interpolation unit 806. The reason why the reduction interpolation unit 806 executes the interpolation process is as follows. Generally, reduction of a document image is executed by thinning out image data. For example, in order to reduce the read document image to half and output it, the data amount is halved by thinning out every other image data. As shown in FIG. 23A, when an image read by a CCD image scanner that reads image data at 400 dpi is reduced to half, originally, FIG.
It is necessary to read the image data of the original image with a 200 dpi image scanner and print out with 400 dpi as shown in FIG. However, in reality, FIG.
As shown in, the reading resolution is changed by using the pixel data at a predetermined position among the image data obtained when the image data of the original is read at 400 dpi. However, when the original image is halftone dots, moire occurs when the reduction ratio is increased. Moreover, since the data is simply thinned out, the resolution of the image decreases in proportion to the reduction rate. In general, in the case of a monochrome binary image, the existence of each monochrome pixel is not established.
% Is rare, and the ratio of white pixels is usually large. In such a case, if data is simply thinned out, data loss will occur. In order to mitigate the influence of this data loss, the reduction interpolation unit 806 performs a predetermined interpolation process together with the data before and after it. The computing unit 807 executes the computation shown in the following “Equation 11”.

【数11】W=a・y+(1−a)・(x+z)/2 ここで、係数aの値は、主走査方向の倍率Xの値であ
る。また、xは、n+1番目のデータの値である。y
は、n番目のデータの値である。zは、n−1番目のデ
ータの値である。上記式で求められるWは、主走査方向
の複写倍率に基づいて補間処理の施されたn番目の画像
データの値である。
## EQU11 ## W = a.y + (1-a). (X + z) / 2 Here, the value of the coefficient a is the value of the magnification X in the main scanning direction. Also, x is the value of the (n + 1) th data. y
Is the value of the nth data. z is the value of the (n-1) th data. W obtained by the above equation is a value of the n-th image data which is interpolated based on the copy magnification in the main scanning direction.

【0066】(b-5-2)変倍・移動処理部 演算器807により上記補間処理の施された画像データ
は、次の変倍メモリ1及び2に入力される。変倍メモリ
1及び2に入力される信号は、次の通りである。WCK
(ライトクロック)信号は、データを書き込む際に使用
され、複写倍率によりその周期が制御される信号であ
る。RCK(リードクロック)信号は、データを読み出
す際に用いられ、複写倍率により周期が制御される信号
である。−WE(ライトイネーブル)信号1,2は、デ
ータの書き込みを禁止する信号である。−RE(リード
イネーブル)信号1,2は、データの読み出しを禁止す
る信号である。−WRST(ライトアドレスリセット)
信号1,2と−RRST(リードアドレスリセット)信
号1,2は、変倍メモリからデータの読み出しを開始す
る際に出力される信号である。変倍・移動制御回路80
1は、変倍メモリ1もしくは2の何れか一方に−WE信
号を出力する一方で、他方の変倍メモリには−RE信号
を出力し、変倍メモリ1もしくは2の何れか一方の変倍
メモリにデータを書き込む間に、他方の変倍メモリに格
納されたデータを読み出す。
(B-5-2) Magnification / Movement Processing Unit The image data subjected to the above-mentioned interpolation processing by the calculator 807 is inputted to the next magnification memory 1 and 2. The signals input to the scaling memories 1 and 2 are as follows. WCK
The (write clock) signal is a signal which is used when writing data and whose period is controlled by the copy magnification. The RCK (read clock) signal is a signal that is used when reading data and whose period is controlled by the copy magnification. -WE (write enable) signals 1 and 2 are signals for prohibiting data writing. -RE (read enable) signals 1 and 2 are signals that prohibit reading of data. -WRST (write address reset)
Signals 1 and 2 and -RRST (read address reset) signals 1 and 2 are signals that are output when data reading from the scaling memory is started. Magnification / movement control circuit 80
1 outputs a -WE signal to either one of the scaling memories 1 and 2, while outputting a -RE signal to the other scaling memory, and scales either scaling memory 1 or 2. While writing the data in the memory, the data stored in the other scaling memory is read out.

【0067】変倍移動処理部803は、上記したWCK
信号/RCK信号の周期及び立ち上がりパルスのデュー
ティ比を変更することで、変倍処理を実行する。また、
−WE信号及び−RE信号の位相を変更することで、画
像の移動を実行する。また、更に−WRST信号及びR
RST信号の位相を変更して画像のリピート位置を制御
する。
The scaling movement processing unit 803 uses the above WCK.
The scaling processing is executed by changing the cycle of the signal / RCK signal and the duty ratio of the rising pulse. Also,
Image movement is executed by changing the phases of the -WE signal and the -RE signal. In addition, -WRST signal and R
The phase of the RST signal is changed to control the repeat position of the image.

【0068】(b-5-2-1)変倍処理 図24〜図26は、読取データを等倍、拡大及び縮小し
て出力する際の入力データDinとWCK信号及びRCK
信号そして出力データDoutのタイミング関係を表す。 (i)等倍出力 図24は、読取画像を等倍出力する際の上記各信号のタ
イミング関係を示す図である。この場合WCK信号とR
CK信号とは、各画素データの入力タイミングと同じ周
期tc及び所定のデューティ比dに設定される。変倍メ
モリ1では、−WE1信号が”L”の間、WCK信号の
パルスの立ち上がりに同期して画像データDinを順に格
納する。次に−RE1信号が”L”に切り替わるのを待
ち、メモリに格納した画像データをRCK信号の立ち上
がりパルスに同期して順に出力する。変倍メモリ2の場
合でも同様である。このようなタイミングでデータの書
き込み及び読み出しを実行することで、等倍の画像デー
タが出力される。なお、先に説明したように、変倍メモ
リ1にデータが書き込まれている間に、変倍メモリ2に
データが書き込まれるようなことはない。一方の変倍メ
モリにデータの書き込み許可がなされているときには、
他方の変倍メモリにはデータを読み出すことしか許可さ
れない。
(B-5-2-1) Magnification / Magnification Processing FIGS. 24 to 26 show input data Din, WCK signal and RCK when outputting read data by enlarging / reducing the read data.
The timing relationship between the signal and the output data Dout is shown. (I) Same Size Output FIG. 24 is a diagram showing the timing relationship of the above signals when the read image is outputted at the same size. In this case WCK signal and R
The CK signal is set to have the same cycle t c and a predetermined duty ratio d as the input timing of each pixel data. The scaling memory 1 sequentially stores the image data Din in synchronization with the rising edge of the pulse of the WCK signal while the -WE1 signal is "L". Next, waiting for the -RE1 signal to switch to "L", the image data stored in the memory is sequentially output in synchronization with the rising pulse of the RCK signal. The same applies to the scaling memory 2. By executing the writing and reading of the data at such a timing, the same size image data is output. Note that, as described above, data is not written to the scaling memory 2 while data is being written to the scaling memory 1. When data write permission is given to one of the scaling memories,
Only data can be read into the other scaling memory.

【0069】(ii)拡大出力 図25は、読取画像を主走査方向にX倍(但し、X>1
である)して出力する場合の上記各信号のタイミング関
係を示す図である。この場合、WCK信号は、周期
c,デューティ比dに設定される。一方、RCK信号
は、周期tc×X,デューティ比をd/Xに設定され
る。なお、図25は、X=2の場合について示す図であ
る。変倍メモリへのデータの書き込み及び読み出しの手
順は、上記図24を用いて説明した等倍出力の場合と同
じである。しかし、変倍メモリからデータを読み出す際
のRCK信号の周期がX倍されている。これは、データ
DoutがX倍に水増しされて出力されることを意味す
る。このようなタイミングでデータの書き込み及び読み
出しを実行することで、主走査方向にX倍に拡大された
データDoutが出力される。ここで、倍率Xの値は、少
数部分を含むものであってもよい。次に説明するように
画像を縮小する場合とは異なり、データの読み出すタイ
ミングを主走査方向の倍率Xの値に比例して延長するだ
けだからである。
(Ii) Enlarged Output In FIG. 25, the read image is multiplied by X in the main scanning direction (where X> 1).
FIG. 3 is a diagram showing a timing relationship of each of the above signals in the case of outputting the signals. In this case, the WCK signal is set to have a cycle t c and a duty ratio d. On the other hand, the RCK signal is set to have a cycle t c × X and a duty ratio of d / X. Note that FIG. 25 is a diagram showing a case where X = 2. The procedure for writing and reading data to and from the variable-magnification memory is the same as in the case of equal-magnification output described with reference to FIG. However, the cycle of the RCK signal when reading data from the scaling memory is multiplied by X. This means that the data Dout is padded X times and output. By executing the writing and reading of the data at such timing, the data Dout enlarged X times in the main scanning direction is output. Here, the value of the magnification X may include a minority part. This is because unlike the case of reducing the image as described below, the timing of reading data is only extended in proportion to the value of the magnification X in the main scanning direction.

【0070】(iii)縮小出力 図26は、読取画像を主走査方向にX倍(但し、X<1
である。)して出力する場合の上記各信号のタイミング
関係を示す図である。この場合、WCK信号は、周期t
c/X,デューティ比d×Xに設定される。一方、RC
K信号は、周期tc,デューティ比dに設定される。な
お、図26は、X=1/2の場合について示す。変倍メ
モリへのデータの書き込み及び読み出しは上記図24を
用いて説明した等倍出力の場合と同じである。しかし、
変倍メモリにデータを書き込む際のWCK信号の周期が
X倍されている。これは、図示されるように、データD
inを半分に間引いて変倍メモリに読み取ることを意味す
る。変倍メモリに格納されたデータを等倍出力の場合と
同じ周期及びデュ−ティ比のRCK信号を用いて読み出
すことで、主走査方向にX倍に縮小されたデータDout
が出力される。
(Iii) Reduced output In FIG. 26, the read image is multiplied by X in the main scanning direction (where X <1.
Is. FIG. 4 is a diagram showing a timing relationship of the above signals when the signals are output as a signal. In this case, the WCK signal has a cycle t
c / X and duty ratio d × X are set. On the other hand, RC
The K signal is set to have a cycle t c and a duty ratio d. Note that FIG. 26 shows the case where X = 1/2. The writing and reading of data to and from the variable-magnification memory are the same as the case of equal-magnification output described with reference to FIG. But,
The cycle of the WCK signal at the time of writing data in the scaling memory is multiplied by X. This is the data D, as shown.
This means that in is decimated to half and the data is read into the variable-magnification memory. The data stored in the variable-magnification memory is read out by using the RCK signal having the same cycle and duty ratio as in the case of equal-magnification output, so that the data Dout reduced to X times in the main scanning direction is obtained.
Is output.

【0071】(b-5-2-2)移動処理 制御回路801では、−WE1,2信号及び−RE1,
2信号の位相を制御することで出力データの移動処理を
実行する。ここで、出力データの移動とは、図27
(a)及び(b)に示すように、読み取った原稿の画像
を複写紙上で左右に移動させることをいう。図28
(a)は、変倍・移動制御部801から各変倍メモリ1
及び2に入力される−WRST1及び−RRST2の波
形と、−WRST2及び−RRST1の波形とを示す。
図28(b)は、(a)の波形に同期して出力される各
信号(Din,-WE1,-WE2,-RE1,-RE2,Dout)の波形を示す。
読み取った原稿画像のデータを複写紙上で右に移動して
出力させるには、図28(b)に示すように、−RE1
及び−RE2を”L”に切り換えるタイミングを遅らせ
る。当該タイミングを遅らせることで、変倍メモリより
データが読み出されるタイミングが遅延する。これによ
り複写紙上に形成される原稿画像は、全体的に右に移動
することになる。また、読み取った原稿画像を複写紙上
で左方向に移動させて出力させるには、図28(c)に
示すように−WE1,2信号を”L”に切り換えるタイ
ミングを遅らせる。変倍メモリは、−WE1,2信号
が”L”に切り替わった後に入力されるラインデータを
スタートアドレスから書き込む。このようにして書き込
まれたデータを通常のタイミングで読み出せば、複写紙
上に全体的に左側に移動された画像が形成される。な
お、読み取った原稿画像を複写紙上で上下に移動させる
には、CCDイメージセンサ14の原稿読取開始時間
と、複写紙の現像開始のタイミングを調節して行う。こ
の処理の詳細な説明は省略する。
(B-5-2-2) Movement processing In the control circuit 801, -WE1,2 signals and -RE1,
The movement processing of the output data is executed by controlling the phases of the two signals. Here, the movement of output data refers to FIG.
As shown in (a) and (b), it means moving an image of a read document on the copy paper left and right. FIG.
(A) shows the scaling / movement control unit 801 to the scaling memory 1
2 shows the waveforms of -WRST1 and -RRST2 and the waveforms of -WRST2 and -RRST1 that are input to the input terminals 2 and 2.
FIG. 28B shows the waveform of each signal (Din, -WE1, -WE2, -RE1, -RE2, Dout) output in synchronization with the waveform of (a).
To move the data of the read original image to the right on the copy paper and output it, as shown in FIG. 28B, -RE1
And delay the timing of switching -RE2 to "L". By delaying the timing, the timing of reading data from the scaling memory is delayed. As a result, the original image formed on the copy paper is moved to the right as a whole. Further, in order to move the read original image to the left on the copy paper and output it, the timing of switching the -WE1 and 2 signals to "L" is delayed as shown in FIG. 28 (c). The variable-magnification memory writes the line data input after the −WE1 and 2 signals are switched to “L” from the start address. When the data thus written is read out at a normal timing, an image moved to the left side is formed on the copy paper. To move the read original image up and down on the copy paper, the original reading start time of the CCD image sensor 14 and the development start timing of the copy paper are adjusted. Detailed description of this process is omitted.

【0072】(b-5-2-3)イメージリピート 変倍・移動制御回路801は、−WRST1,2信号及
び−RRST1,2信号の出力制御を行うことで、図2
9に示すように1枚の複写紙上に読取原稿の画像を複数
回出力するイメージリピートを実行する。例えば、主走
査方向の1ライン上に等間隔に2回同じイメージデータ
を出力させるには、図30に示すように、−RRST
1,2信号を当該ラインの読み出しの最初と中間時にそ
れぞれ1回出力すればよい。変倍メモリは−RRST信
号の出力に応じて格納されているデータを最初のアドレ
スより出力する。これにより主走査方向1ライン上に同
一のイメージデータが2回繰り返して出力される。これ
を読取画像データの各ラインについて繰り返し実行する
ことでイメージリピートが実現される。使用者により画
質モニタ選択キー77が押下された場合には、原稿の一
部の画像を8回イメージリピートして出力する。
(B-5-2-3) Image repeat The variable magnification / movement control circuit 801 controls the output of the -WRST1 and 2 signals and the -RRST1 and 2 signals, and thus
As shown in FIG. 9, image repeat is performed in which the image of the read document is output multiple times on one copy sheet. For example, to output the same image data twice at equal intervals on one line in the main scanning direction, as shown in FIG.
It suffices to output the 1 and 2 signals once each at the beginning and in the middle of the reading of the line. The scaling memory outputs the stored data from the first address in response to the output of the -RRST signal. As a result, the same image data is repeatedly output twice on one line in the main scanning direction. By repeating this for each line of the read image data, image repeat is realized. When the user presses the image quality monitor selection key 77, a part of the image of the document is image-repeated eight times and output.

【0073】上記図24〜図26の何れかのタイミング
で変倍メモリ1または2から読み出されたデータは、領
域外イレース部808により不要領域のデータの白色デ
ータへの変更がなされる。ここで不要領域とは、図22
(b)に示すように、例えば原稿用紙のサイズがA3で
あって、これをA4に縮小して出力するような場合に生
じる領域をいう。この領域のデータを白色データに変更
するのは、A3からA4に縮小コピーを取る際に、複写
紙にA3サイズの複写紙が選択されていたような場合に
上記不要領域が黒色で塗りつぶされ、見苦しくなること
を防ぐためである。
The data read from the variable-magnification memory 1 or 2 at any of the timings shown in FIGS. 24 to 26 is changed by the out-of-area erase unit 808 to white data of the unnecessary area. Here, the unnecessary area refers to FIG.
As shown in (b), for example, the area that occurs when the size of the original paper is A3 and this is reduced to A4 for output. The data in this area is changed to white data because the unnecessary area is painted in black when A3 size copy paper is selected as the copy paper when making a reduction copy from A3 to A4, This is to prevent it from becoming unsightly.

【0074】(b-5-3)拡大補間部 拡大補間部804は、入力データに対して、その拡大率
に応じた補間処理を実行する。これは、読取画像を拡大
する場合、単純に読取データを水増しするだけでは、エ
ッジ部分のがたつきが目立つ等、画像の劣化が著しいた
めである。拡大補間部804では、領域外イレース部8
08より出力された画像データをスムージングフィルタ
809〜816に入力する。スムージングフィルタ80
9〜916には、画素列の中央の注目画素と外の隣接画
素のそれぞれに、拡大倍率に応じて適当な荷重(重み付
け)係数が与えられている。スムージングフィルタ80
9〜816は、順に拡大倍率×1〜×8に対応する。例
えば、拡大倍率×1のフィルタ809では、注目画素の
みが処理の対象となり、荷重係数の値は1に設定され
る。即ち、スムージングフィルタ809では、入力され
た画像データをそのままセレクタ818に出力する。主
走査倍率検出回路817は、変倍メモリに入力されるR
CK信号の周期及びデューティ比より主走査方向の複写
倍率Xの整数値を求め、求めた倍率値をセレクタ818
に入力する。セレクタ818は、入力された倍率値に対
応するスムージングフィルタからのデータを出力データ
outとして出力する。
(B-5-3) Enlargement Interpolation Unit The enlargement interpolation unit 804 executes an interpolation process on the input data according to the enlargement ratio. This is because when the read image is enlarged, the image is significantly deteriorated, for example, the rattling of the edge portion is conspicuous if the read data is simply padded. The enlargement interpolation unit 804 uses the outside area erase unit 8
The image data output from 08 is input to smoothing filters 809 to 816. Smoothing filter 80
9 to 916, appropriate weighting factors are given to the pixel of interest in the center of the pixel row and the adjacent pixels outside thereof in accordance with the enlargement ratio. Smoothing filter 80
9 to 816 correspond to the enlargement magnifications x1 to x8 in order. For example, in the filter 809 having a magnification of × 1, only the pixel of interest is the processing target, and the value of the weighting factor is set to 1. That is, the smoothing filter 809 outputs the input image data as it is to the selector 818. The main scanning magnification detection circuit 817 inputs R to the scaling memory.
An integer value of the copy magnification X in the main scanning direction is obtained from the cycle and duty ratio of the CK signal, and the obtained magnification value is selected by the selector 818.
To enter. The selector 818 outputs the data from the smoothing filter corresponding to the input magnification value as output data D out .

【0075】(b-6)画像インターフェース部 変倍・移動処理部800より出力されるR47〜40デー
タ,G47〜40データ,B47〜40データは、画像インター
フェース部1000に入力される。画像インターフェー
ス部1000では、外部から入力されたR,G,Bの各
データ(R-VIDEO7〜0,G-VIDEO7〜0,B-VIDEO7〜0
と上記R47〜40データ,G47〜40データ,B47〜40デー
タとの選択及びはめ込み合成を行う。また、RGBイン
ターフェースやプリンタインターフェースにイメージデ
ータを伝送するときのタイミング信号も生成する。
(B-6) Image Interface Unit The R 47 to 40 data, G 47 to 40 data, and B 47 to 40 data output from the scaling / movement processing unit 800 are input to the image interface unit 1000. In the image interface unit 1000, R, G, and B data (R-VIDEO 7 to 0 , G-VIDEO 7 to 0 , B-VIDEO 7 to 0 ) input from the outside.
And R 47 to 40 data, G 47 to 40 data, and B 47 to 40 data are selected and inset-combined. It also generates a timing signal for transmitting image data to the RGB interface or printer interface.

【0076】(b-7)HVC変換部 図31に示したHVC変換部1100は、入力されるR
GBデータ(R57〜50,G57〜50,B57〜50)から、明
度信号(V7〜0)、色差信号(WR7〜0、WB7〜0)を生成
し、さらに、色差信号から彩度データ(W7〜0)及び色
相信号(H7〜0)を生成する。使用者によりサービスマ
ンモード設定キー75が押下された場合に、予めセット
されたカラーパッチを読み取り、実際に読み取られたR
GBデータの値に基づいて上記データを求める。これに
より各CCD素子の読取特性のばらつきを修正する。
(B-7) HVC conversion section The HVC conversion section 1100 shown in FIG.
GB Data (R 57~50, G 57~50, B 57~50) from the brightness signal (V 7 to 0), the color difference signal (WR 7~0, WB 7~0) generates a further color difference signals To generate saturation data ( W7-0 ) and a hue signal ( H7-0 ). When the user presses the serviceman mode setting key 75, the preset color patch is read, and the actually read R patch is read.
The above data is obtained based on the value of GB data. This corrects the variations in the reading characteristics of each CCD element.

【0077】(b-7-1)HVC変換 入力されたRGBデータは、演算器1101に入力され
る。演算器1101は、次の「数12」に示す各変換式
を実行して、明度信号(V7〜0)、色差信号(WR7〜0
WB7〜0)を出力する。
(B-7-1) HVC conversion The input RGB data is input to the arithmetic unit 1101. The computing unit 1101 executes the respective conversion formulas shown in the following "Equation 12" to calculate the brightness signal ( V7-0 ), the color difference signal ( WR7-0 ,
Output WB 7 to 0 ).

【数12】V=a1・R+a2・G+a3・B (但し、a1+a2+a3=1の式を満たす。) WR=(R−V)/(1−a1) WB=(B−V)/(1−a3) 上記a1,a2の係数値は、通常のTVのRGB画像デー
タの場合、a1=0.3,a2=0.1程度に設定される。
これは、RGB画像データの混合率が3:6:1である
ことを意味する。この混合率は、CCDイメージセンサ
の特性や縮小光学系のレンズの色特性により若干変化す
る。例えば、本実施例の複写機で用いたCCDイメージ
センサ14では、a1=0.35,a2=0.55程度であ
る。上記a1,a2の係数値は、図32に示すフローチャ
ートに従って定められる。まず、使用者によりサービス
マンモード設定キー75が押下された後(ステップS1
100でYES)、原稿台ガラス15上に、カラーパッ
チを載置する。プリントキー73の押下を待って、CC
Dイメージセンサ14によりカラーパッチのRGBデー
タを読み取る(ステップS1111)。予め記憶してあ
る標準値より実際のカラーパッチの明度Vの値を読み出
す(ステップS1112)。この後、読み取られたRG
B画像データと明度Vの値から、最小二乗法を用いてa
1及びa2の値を定める(ステップS1113)。使用者
によりサービスマンモード設定キー75が再び押下され
るのを待って(ステップS1114でYES)、LED
75aを消灯した後に通常モードに復帰する(ステップ
S1115)。
## EQU12 ## V = a 1 .R + a 2 .G + a 3 .B (provided that a 1 + a 2 + a 3 = 1 is satisfied.) WR = (R−V) / (1-a 1 ) WB = ( coefficient values of B-V) / (1- a 3) above a 1, a 2 in the case of normal TV of the RGB image data, a 1 = 0.3, is set to about a 2 = 0.1 .
This means that the mixing ratio of RGB image data is 3: 6: 1. This mixing ratio slightly changes depending on the characteristics of the CCD image sensor and the color characteristics of the lens of the reduction optical system. For example, in the CCD image sensor 14 used in the copying machine of this embodiment, a 1 = 0.35 and a 2 = 0.55. The coefficient values of a 1 and a 2 are determined according to the flowchart shown in FIG. First, after the user presses the serviceman mode setting key 75 (step S1
If YES at 100), the color patch is placed on the platen glass 15. Wait for the print key 73 to be pressed, then CC
The RGB data of the color patch is read by the D image sensor 14 (step S1111). The value of the lightness V of the actual color patch is read from the standard value stored in advance (step S1112). RG read after this
From the B image data and the value of the brightness V, using the method of least squares, a
The values of 1 and a 2 are determined (step S1113). Wait for the user to press the serviceman mode setting key 75 again (YES in step S1114), and then the LED
After turning off 75a, it returns to the normal mode (step S1115).

【0078】演算器1101で求められた色差信号(WR
7〜0、WB7〜0)は、図33に示すように、色空間上の色
相面の直交座標軸で表される。彩度信号W7〜0は、上記
色差信号(WR7〜0,WB7〜0)を演算器1102に入力し
て求める。演算器1102は、次の「数13」の演算を
実行して彩度信号W7〜0を出力する。
Color difference signal (WR
7 to 0 , WB 7 to 0 ) are represented by orthogonal coordinate axes of the hue plane in the color space, as shown in FIG. The saturation signal W 7-0 is obtained by inputting the color difference signals (WR 7-0 , WB 7-0 ) to the calculator 1102. The calculator 1102 executes the following calculation of "Equation 13" and outputs the saturation signals W7-0 .

【数13】W=(WR2+WB21/2 [Equation 13] W = (WR 2 + WB 2 ) 1/2

【0079】(b-7-2)画質モニタ機能 HVC変換部1100には、上記演算器1101及び1
102の外に、使用者の画質調節キー74a〜dの操作
により選択される画質(マスキング係数、シャープネ
ス、γカーブ、カラーバランス)の調節信号を制御する
画質制御回路1103を備える。画質制御回路1103
は、以下に説明する画質モニタ機能を実行制御する回路
である。
(B-7-2) Image quality monitor function The HVC conversion unit 1100 includes the arithmetic units 1101 and 1
In addition to 102, an image quality control circuit 1103 for controlling an image quality (masking coefficient, sharpness, γ curve, color balance) adjustment signal selected by the user's operation of the image quality adjustment keys 74a to 74d is provided. Image quality control circuit 1103
Is a circuit for controlling execution of the image quality monitor function described below.

【0080】フルカラー複写機では使用者は、所望する
画像がどのような作像条件で得られるのかを知ることが
難しい。しかし、1枚複写する毎に異なる作像条件を設
定し、所望する画質のコピーが得られるまでこれを繰り
返し行うことは不経済である。本実施例の複写機は、実
際にプリントアウトされた複数の画像から好みの画像を
選択するだけで、容易に所望する画像を得ることができ
る画質モニタ機能を備える。具体的には、操作パネル2
5上に設けられている画質モニタ設定キー77の押下に
対応して、まず、最初に原稿面上の一部の画像を図35
に示すように8個にイメージリピートし、各々に対し
て、異なるマスキング係数、シャープネス(エッジ強調
・スムージングレベル)、γカーブ、カラーバランス
(下地除去・傾き補正レベル)を設定したものをプリン
トアウトする。使用者は、プリントアウトされた画像よ
り、好みの画質の画像を選択し、操作パネル25上に設
けられているテンキー72から該当する画像の番号を入
力する。画質制御回路1103は、入力された番号に対
応する画像の形成条件のデータ(マスキング補正係数切
換信号MA2〜0、シェープネス切換信号SH2〜0、γカ
ーブ切換信号GA2〜0、カラーバランス切換信号CO
2〜0)を該当する処理部へ出力する。
In the full-color copying machine, it is difficult for the user to know under what image forming conditions a desired image is obtained. However, it is uneconomical to set different image forming conditions each time one copy is made and repeat this until a desired image quality copy is obtained. The copying machine of this embodiment has an image quality monitor function that can easily obtain a desired image by simply selecting a desired image from a plurality of images actually printed out. Specifically, the operation panel 2
In response to the pressing of the image quality monitor setting key 77 provided on the No. 5, first, a part of the image on the document surface is first shown in FIG.
As shown in, the image is repeated to eight, and different masking coefficients, sharpness (edge enhancement / smoothing level), γ curve, and color balance (background removal / tilt correction level) are set for each. . The user selects an image having a desired image quality from the printed out images and inputs the number of the corresponding image from the ten-key pad 72 provided on the operation panel 25. The image quality control circuit 1103 outputs image forming condition data corresponding to the input number (masking correction coefficient switching signals MA 2 to 0 , shapeness switching signals SH 2 to 0 , γ curve switching signals GA 2 to 0 , color balance switching). Signal CO
2 to 0 ) is output to the corresponding processing unit.

【0081】変倍・移動処理部800は、画質モニタ設
定キー77の押下に応じて原稿の一部の画像データを8
回イメージリピートする。図34は、画質制御回路11
03の回路構成を示す。主走査方向のライントリガ信号
である−TG信号によりリセットされた主走査カウンタ
1104は、VCLK信号に同期してカウントを開始す
る。主走査カウンタ1104のカウント出力は、それぞ
れ比較器1105,1106,1107,1108のP
端子に入力される。比較器1105〜1108のQ端子
には、それぞれXEC〜0,XFC〜0,XGC〜0,0が入
力される。上記XEC〜0,XFC〜0,XGC〜0は、それ
ぞれ変倍・移動処理部800で実行されるイメージリピ
ートのリピートポイントに該当する主走査方向のカウン
ト値である(図35下段参照)。各比較部1105〜1
108は、主走査カウンタ1104から入力されるカウ
ント値がそれぞれQ端子から入力されるカウント値と一
致した場合に”L”の信号を出力する。NANDゲート
1109は、何れかの比較部から”L”の信号が入力さ
れた場合に”L”のカウンタ・パルス信号(以下、CP
信号という)を遅延回路1110を介してモニタエリア
カウンタ1111に出力する。モニタエリアカウンタ1
111では、入力されるCP信号をクロック信号として
動作して、NUM2-0信号を出力する。モニタエリアカ
ウンタ1111は、ロードデータであるLD2-0信号に
よりイメージリピートされる画像の識別番号が指定され
る。カウントダウン信号は、モニタエリアカウンタ11
11をアップカウントするのか、もしくはダウンカウン
トするのかを設定する。
The scaling / movement processing section 800 responds to the depression of the image quality monitor setting key 77 by shifting the image data of a part of the document to 8
Repeat image times. FIG. 34 shows the image quality control circuit 11
03 shows the circuit configuration of 03. The main scanning counter 1104 reset by the -TG signal, which is a line trigger signal in the main scanning direction, starts counting in synchronization with the VCLK signal. The count output of the main scanning counter 1104 is the P output of the comparators 1105, 1106, 1107, 1108, respectively.
Input to the terminal. XE C to 0, XF C to 0, XG C to 0, 0 are input to the Q terminals of the comparators 1105 to 1108, respectively. The XE C to 0 , XF C to 0 , and XG C to 0 are count values in the main scanning direction corresponding to the repeat points of the image repeat executed by the magnification / move processing unit 800 (see the lower part of FIG. 35). ). Each comparison unit 1105-1
Reference numeral 108 outputs a signal of "L" when the count value input from the main scanning counter 1104 matches the count value input from the Q terminal. The NAND gate 1109 is a counter pulse signal of “L” (hereinafter, CP) when the signal of “L” is input from any of the comparison units.
A signal) is output to the monitor area counter 1111 via the delay circuit 1110. Monitor area counter 1
In 111, the inputted CP signal is used as a clock signal to output a NUM 2-0 signal. The monitor area counter 1111 is designated with the identification number of the image to be image-repeated by the LD 2-0 signal which is the load data. The countdown signal is the monitor area counter 11
Set whether to up-count or down-count 11.

【0082】主走査方向の画像の識別番号の切替は、C
P信号を作成する比較器1105〜1108の基準値
(XEC-0,XFC-0,XGC-0,0)によって行われ、
副走査方向の画像識別番号の切替は、モニタエリアカウ
ンタ1111に入力するカウントダウン信号とLD2-0
信号の値を変化させることによって行われる。例えば、
LD2〜0信号の値が5の場合には、モニタエリアカウン
タ1111には、画像の識別番号の初期値として5が設
定される。カウントダウン信号によりダウンカウントが
設定されている場合には、モニタエリアカウンタ111
1は、最初の”L”のCP信号の入力に対応してカウン
トダウンされた値4を、NUM2〜0信号の値として出力
する。以下、モニタエリアカウンタ1111は、”L”
のCP信号の入力に対応して、順に4→3→2→1のN
UM2〜0信号を繰り返し出力する。副走査方向に2枚目
の画像の出力が開始するのに同期して、カウントダウン
信号は、モニタエリアカウンタ1111をアップカウン
トさせる。ここで、LD2〜0信号の値を3に設定する
と、モニタエリアカウンタ1111からは、4→5→6
→7のNUM2〜0信号が出力される(図35参照)。モ
ニタエリアカウンタ1111から出力されるNUM2〜0
信号は、それぞれセレクタ1114,1117,112
0,1123に入力される。セレクタ1114,111
7,1120,1123のS端子には、それぞれ選択信
号であるMSEL0〜3が入力されている。各MSEL
0〜3は、通常は、”H”が設定されており、これに対
してセレクタ1114,1117,1120,1123
は、B端子に入力されている固定値M2〜0,S2〜0,G
2〜0,C2〜0を、それぞれY端子から出力する。
Switching of the image identification number in the main scanning direction is performed by C
It is performed by the reference values (XE C-0 , XF C-0 , XG C-0 , 0) of the comparators 1105 to 1108 which generate the P signal,
The image identification number in the sub-scanning direction is switched by the countdown signal input to the monitor area counter 1111 and LD 2-0.
This is done by changing the value of the signal. For example,
When the value of the LD 2-0 signal is 5, the monitor area counter 1111 is set to 5 as the initial value of the image identification number. When the down count is set by the count down signal, the monitor area counter 111
1 outputs the value 4 counted down corresponding to the input of the first "L" CP signal as the value of the NUM 2-0 signal. Hereinafter, the monitor area counter 1111 is "L".
Corresponding to the input of CP signal of 4 → 3 → 2 → 1
The UM 2-0 signals are repeatedly output. The countdown signal causes the monitor area counter 1111 to count up in synchronization with the output of the second image in the sub-scanning direction. Here, if the value of the LD 2-0 signal is set to 3, the monitor area counter 1111 displays 4 → 5 → 6.
→ 7 NUM 2-0 signals are output (see FIG. 35). NUM 2 to 0 output from the monitor area counter 1111
The signals are selectors 1114, 1117, 112, respectively.
0, 1123. Selector 1114,111
Selection signals MSEL0 to MSEL3 are input to the S terminals of 7, 1120 and 1123, respectively. Each MSEL
Normally, "H" is set to 0 to 3, and selectors 1114, 1117, 1120, 1123 are set to this.
Is a fixed value M 2 to 0 , S 2 to 0 , G input to the B terminal.
2 to 0 and C 2 to 0 are output from the Y terminal, respectively.

【0083】使用者によりマスキング係数設定キー74
aが押下された場合には、MSEL0が”L”に切り換
えられ、セレクタ1114のA端子に入力されるNUM
2〜0がY端子からMA2〜0として出力される。即ち、こ
の場合、複写紙上には、マスキング係数切換信号MA
2〜0の値を4→3→2→1と切り換えた画像が4つイメ
ージリピートされ、次の段にマスキング係数切換信号M
2〜0の値を4→5→6→7と切り換えた画像が4つイ
メージリピートされたものがプリントアウトされる。こ
の後、使用者により、例えば6番の画像識別信号が入力
されると、固定値M2〜0の値が、6に更新される。引き
続き、使用者によりシェープネス設定キー74bが押下
された場合には、MSEL1の値が”L”に切り換えら
れ、セレクタ1117のA端子に入力されるNUM2〜0
がY端子からSH2〜0として出力される。この場合、複
写紙上には、シェープネス切換信号SH2〜0の値を4→
3→2→1と切り換えた画像が4つイメージリピートさ
れ、次の段にシャープネス切換信号SH2〜0の値を4→
5→6→7と切り換えた画像が4つイメージリピートさ
れたものがプリントアウトされる。この際、セレクタ1
117以外のセレクタ1114,1120,1123か
らは、固定値M2〜0,G2〜0,C2〜0が各Y端子から出
力される。なお、固定値M2〜0の値は、更新された値6
である。この後、使用者により、例えば2番の画像識別
信号が入力されると、固定値S2〜0の値が、2に更新さ
れる。以下、同様にしてγカーブ設定キー74cまたは
カラーバランス設定キー74dが押下された場合には、
複写紙上には、γカーブ切換信号GA2〜0またはカラー
バランス切換信号CO2〜0の値を4→3→2→1と切り
換えた画像が4つイメージリピートされ、次の段にγカ
ーブ切換信号GA2〜0またはカラーバランス切換信号C
2〜0の値を4→5→6→7と切り換えた画像が4つイ
メージリピートされたものがプリントアウトされる。こ
の後、使用者による画像識別番号の入力に応じて固定値
2〜0またはC2〜0が更新される。以上の処理により使
用者は、迅速に好みの画質のプリントを得ることが可能
になる。
The masking coefficient setting key 74 is selected by the user.
When a is pressed, MSEL0 is switched to "L" and the NUM input to the A terminal of the selector 1114 is entered.
2 to 0 are output as MA 2 to 0 from the Y terminal. That is, in this case, the masking coefficient switching signal MA is displayed on the copy paper.
The image of which the values of 2 to 0 are switched to 4 → 3 → 2 → 1 is repeated four times, and the masking coefficient switching signal M is sent to the next stage.
An image in which four images in which the values of A 2 to 0 are switched to 4 → 5 → 6 → 7 are image-repeated is printed out. After that, when the user inputs, for example, the sixth image identification signal, the fixed values M 2 to 0 are updated to 6. Subsequently, when the user presses the shapeness setting key 74b, the value of MSEL1 is switched to "L" and NUM 2 to 0 input to the A terminal of the selector 1117.
Is output as SH 2-0 from the Y terminal. In this case, on the copy paper, the values of the shapeness switching signals SH 2 to 0 are changed from 4 →
The image switched from 3 → 2 → 1 is repeated four times, and the values of the sharpness switching signals SH 2 to 0 are changed to 4 →
The image in which four images that have been switched in the order of 5 → 6 → 7 are repeated is printed out. At this time, selector 1
From the selectors 1114, 1120 and 1123 other than 117, fixed values M 2 to 0 , G 2 to 0 and C 2 to 0 are output from each Y terminal. Note that the fixed values M 2 to 0 are the updated values 6
Is. After that, when the user inputs, for example, a second image identification signal, the fixed values S 2 to 0 are updated to 2. Similarly, when the γ curve setting key 74c or the color balance setting key 74d is pressed,
On the copy paper, four images in which the values of the γ-curve switching signals GA 2 to 0 or the color balance switching signals CO 2 to 0 are switched to 4 → 3 → 2 → 1 are image repeated, and the γ-curve switching is performed in the next stage. Signal GA 2 to 0 or color balance switching signal C
An image in which four images in which the values of O 2 to 0 are switched to 4 → 5 → 6 → 7 is image-repeated is printed out. Thereafter, the fixed value G 2-0 or C 2-0 is updated according to the input of the image identification number by the user. With the above processing, the user can quickly obtain a print with desired image quality.

【0084】以下、4種類の画像調整切替信号によって
設定される内容について説明する。マスキング係数切換
信号MA2-0は、の地に説明する色補正部の欄でも述べ
るように、マスキング係数を切り替え、コピーの色合い
調整を行う。これは、図36に示すように、本来原稿と
コピーの色差が無くなるように係数を最小二乗法等の手
法により求めて行う。その係数に対して、再現されるコ
ピーの色循環を時計方向、あるいは反時計方向に回転す
るように他の6種類の係数を設定する。次の「表2」
は、MA2〜0の値と、設定されるマスキング係数との関
係を示す。
The contents set by the four types of image adjustment switching signals will be described below. The masking coefficient switching signal MA 2-0 switches the masking coefficient and adjusts the tint of the copy, as described in the section of the color correction section described in the section below. As shown in FIG. 36, this is performed by obtaining the coefficient by a method such as the least square method so that the original color difference between the original and the copy is eliminated. With respect to the coefficient, six other kinds of coefficients are set so as to rotate the color circulation of the reproduced copy clockwise or counterclockwise. Next "Table 2"
Indicates the relationship between the values of MA 2 to 0 and the masking coefficient to be set.

【表2】 通常、5Rという原稿色は、マスキング係数切換信号M
2〜0の値が4のとき、コピーの色も5Rになるように
マスキング係数を設定する。マスキング係数切換信号M
2〜0の値が、3→2→1と小さくなるのに伴い、5Y
側に(時計方向に)再現されるように(色循環図が回転
するように)、マスキング係数が設定される。逆にマス
キング係数切換信号MA2〜0が5→6→7と大きくなる
のに伴い、5RP側に再現されるようにマスキング係数
が設定される。なお、マスキング係数切換信号MA2〜0
の値が0のときには、セピアカラー用のマスキング係数
が設定される。即ち、色補正部1400で述べるよう
に、−SEPIA信号が”L”ならば、マスキング係数
切換信号MA2〜0の値が0となるようにマスキング係数
選択ブロック内のセピアカラー用係数を選択する。
[Table 2] Normally, the original color of 5R is the masking coefficient switching signal M
When the value of A 2 to 0 is 4, the masking coefficient is set so that the color of the copy also becomes 5R. Masking coefficient switching signal M
As the value of A 2-0 decreases from 3 → 2 → 1, 5Y
The masking coefficient is set so as to be reproduced to the side (clockwise) (to rotate the color circulation diagram). On the contrary, as the masking coefficient switching signals MA 2 to 0 increase in the order of 5 → 6 → 7, the masking coefficient is set so as to be reproduced on the 5RP side. The masking coefficient switching signals MA 2 to 0
When the value of is 0, the masking coefficient for sepia color is set. That is, as described in the color correction unit 1400, when the -SEPIA signal is "L", the sepia color coefficient in the masking coefficient selection block is selected so that the values of the masking coefficient switching signals MA 2 to 0 become 0. .

【0085】シャープネス切換信号SH2〜0は、画像の
シャープネスを調整する信号である。これは、MTF補
正部1600の説明で述るようにエッジ強調量係数と、
スムージングフィルタサイズを変更することで、画像の
シャープさを調節する。次の「表3」は、SH2〜0の値
に対するエッジ強調係数ED7〜0の値と、スムージング
フィルタのサイズSD7〜0との関係を示す。
The sharpness switching signals SH 2 to SH 0 are signals for adjusting the sharpness of the image. This is the edge emphasis amount coefficient as described in the explanation of the MTF correction unit 1600,
Adjust the image sharpness by changing the smoothing filter size. The following "Table 3" indicates the value of the edge emphasis coefficient ED 7 to 0 with respect to the value of SH 2 to 0, the relationship between the size SD 7 to 0 of the smoothing filter.

【表3】 表示するように、SH2〜0の値が4より小さくなると、
エッジ強調量係数ED7〜0の値が大きくなるように、エ
ッジ強調係数切り換えブロックで選択される。SH2〜0
の値が4以下であれば、スムージングフィルタをかけて
いないデータをSD7〜0として、スムージングフィルタ
切換ブロックで選択する。逆に、SH7〜0が大きくなる
のに伴い、ED7〜0を小さくし、スムージングフィルタ
のサイズが大きいフィルタをフィルタ1とする。これに
よって、SH2〜0が小さいほど画像がシャープになり、
大きいほど画像が滑らかになる(ぼける)。
[Table 3] As you can see, when the value of SH 2-0 becomes smaller than 4,
The edge emphasis coefficient switching block is selected so that the value of the edge emphasis coefficient ED 7 to 0 becomes large. SH 2 ~ 0
If the value of 4 is 4 or less, the data not subjected to the smoothing filter is set to SD 7 to 0 and selected by the smoothing filter switching block. On the other hand, as SH 7-0 becomes larger, ED 7-0 becomes smaller and the filter having a larger smoothing filter size is designated as filter 1. As a result, the smaller the SH 2 to 0 , the sharper the image,
The larger the value, the smoother (blurred) the image.

【0086】γカーブ切換信号GA2〜0は、γカーブを
選択する信号でγ補正部1700で説明するように、画
像の明暗調節とコントラスト調整を図74及び図75に
示すグラフに従って設定する。GA2〜0の値が4のとき
には、明暗及びコントラスト何れの調整も入出力のデー
タが等しいようにしている。明暗調整は、GA2〜0の値
が大きくなるとシャドー型カーブが選択され、小さくな
るとハイライト型カーブが選択される。コントラスト調
整では、GA2〜0が大きくなるとハイライトシャドー型
が選択され、小さくなると中間調強調型が選択される。
The .gamma.-curve switching signals GA.sub.2-0 are signals for selecting .gamma.-curves, and as described in the .gamma. When the value of GA 2 to 0 is 4, the input and output data are set to be the same for both the adjustment of brightness and contrast. For the light / dark adjustment, a shadow type curve is selected when the value of GA 2 to 0 is large, and a highlight type curve is selected when the value is small. In contrast adjustment, the highlight shadow type is selected when GA 2 to 0 is large, and the halftone emphasis type is selected when GA 2 to 0 is small.

【0087】CO2〜0は、3種類のカラーバランスと画
像の彩度及びコピー濃度を調整するものである。カラー
バランスの調整には、C−R調整、M−G調整、Y−B
調整がある。C−R調整を例にとると、CO2〜0の値が
4よりも大きくなると、傾き補正レベルGDC7〜0を、
Cトナー現像に128(傾き=1)より大きくし、M,
Y現像に128より小さくして、画像データのシアン濃
度をマゼンタ、イエロー濃度よりも強調する。逆にCO
2〜0の値が、”4”よりも小さくなると、GDC
7〜0を、Cトナー現像に128(傾き=1)より小さく
し、M,Y現像に128より大きくして、画像データの
シアン濃度をマゼンタ、イエロー濃度より弱くすること
でレッド濃度を強くする。同様にM−G調整,Y−B調
整もC,M,Y現像時のGDC7〜0を「表4」に示すよ
うに調整している。表示されているように、C−R調整
では、Cの量をΔだけ増加した場合、M,Yのそれぞれ
の値を−Δ/2だけ増加してやる。即ち、複写紙に単位
面積当たりに付着されるトナー量を変えずにC,M,Y
トナーの付着量を調整する。
CO 2 to 0 are for adjusting three types of color balance, image saturation and copy density. For color balance adjustment, CR adjustment, MG adjustment, YB adjustment
There are adjustments. Taking the C-R adjustment as an example, when the value of CO 2 to 0 becomes larger than 4, the inclination correction level GDC 7 to 0 ,
For C toner development, make it larger than 128 (slope = 1), and
By making it smaller than 128 for Y development, the cyan density of the image data is emphasized more than the magenta and yellow densities. On the contrary, CO
When the value of 2-0 becomes smaller than "4", GDC
7 to 0 is made smaller than 128 (slope = 1) for C toner development and larger than 128 for M and Y development, and the red density is strengthened by making the cyan density of image data weaker than magenta and yellow density. . Similarly, for M-G adjustment and Y-B adjustment, GDC 7 to 0 during C, M, and Y development are adjusted as shown in "Table 4". As shown, in the C-R adjustment, when the amount of C is increased by Δ, the respective values of M and Y are increased by −Δ / 2. That is, C, M, Y without changing the amount of toner adhered to the copy paper per unit area
Adjust the toner adhesion amount.

【表4】 表示するように、CO2〜0の値が4の時は、どの現像工
程であってもGDC7〜0=128とし、BK現像時に
は、GDC7〜0=128のまま可変しない。この調整
は、図37に示すように色循環を操作していることにな
る。彩度調整は、CO2〜0の値が4より大きくなると、
GDC7〜0をC,M,Y現像時に128より小さくし
て、BK現像時に128より大きくする。これにより有
彩色成分(C,M,Y)の濃度を弱くし、無彩色成分
(BK)の濃度を強くする。CO2〜0の値が”4”より
小さくなると、逆の処理を行う。この調整は、図38に
示す色循環を操作していることになる。カラーバランス
調整で重要なことは、コピー全体の濃度、即ち複写紙に
単位面積当たりに付着されるトナー量を変えないことで
ある。これは、単位面積当たりに付着されるトナー量が
変化すると、画像調整前後で原稿全体の濃度が変化する
だけでなく、定着温度が変化して光沢が変化したり、ト
ナーの定着不良が発生するためである。この時、もう一
方のパラメータである下地除去レベルUDC7〜0は0の
ままである。なお、コピー濃度調整は、C,M,Y,B
Kの現像工程に関係なく動作させる。CO2〜0の値が4
よりも大きければ濃くなり、小さければ薄くなる。
[Table 4] To display, when the value of the CO 2 to 0 is 4, which a developing process is also a GDC 7 to 0 = 128, at the time of the BK developing, not variable remains GDC 7~0 = 128. This adjustment is operating the color circulation as shown in FIG. Saturation adjustment, when the value of CO 2 ~ 0 becomes larger than 4,
GDC 7 to 0 is made smaller than 128 at the time of C, M, and Y development, and is made larger than 128 at the time of BK development. This weakens the density of the chromatic color component (C, M, Y) and strengthens the density of the achromatic color component (BK). When the value of CO 2 to 0 becomes smaller than “4”, the reverse process is performed. This adjustment is operating the color cycle shown in FIG. What is important in color balance adjustment is not to change the density of the entire copy, that is, the amount of toner adhered to the copy paper per unit area. This is because when the amount of toner attached per unit area changes, not only the density of the entire document changes before and after image adjustment, but also the fixing temperature changes and gloss changes, and toner fixing failure occurs. This is because. At this time, the other parameter, that is, the background removal level UDC 7 to 0 remains 0. In addition, copy density adjustment can be performed with C, M, Y, B
It is operated regardless of the K developing process. CO 2 to 0 is 4
If it is larger than, it becomes thicker, and if it is smaller, it becomes thinner.

【0088】(b-8)濃度補正部 濃度補正部1200は、露光ランプによる原稿の反射光
量に比例して変化するRGBデータ(R67〜60,G
67〜60,B67〜60)を、濃度に比例して変化するデータ
(DR17〜10,DG17〜10,DB17〜10)に変換する。
図39は、濃度変換部1200の構成を示す図である。
入力されたR67〜60,G67〜60,B67〜60のデータは、
それぞれLOGテーブル1201〜1203に入力され
る。LOGテーブル1201〜1203は、同一のテー
ブルであり、図40に示すテーブルである。LOGテー
ブル1201〜1203では、次の「数14」に示す変
換処理を実行して得られる濃度データ(DR17〜10,D
17〜10,DB17〜10)を出力する。
(B-8) Density Correcting Section The density correcting section 1200 is an RGB data (R 67 to 60 , G) that changes in proportion to the amount of light reflected from the original by the exposure lamp.
67 to 60 , B 67 to 60 ) are converted into data (DR 17 to 10 , DG 17 to 10 , DB 17 to 10 ) that change in proportion to the concentration.
FIG. 39 is a diagram showing the configuration of the density conversion unit 1200.
The input data of R 67-60 , G 67-60 , B 67-60 is
These are respectively input to the LOG tables 1201 to 1203. The LOG tables 1201 to 1203 are the same table and are the tables shown in FIG. In the LOG tables 1201-1203, the density data (DR 17-10 , D 17) obtained by executing the conversion process shown in the following "Equation 14" is executed.
G 17-10 and DB 17-10 ) are output.

【数14】DR=−(255/DMAX)×LOG(R
/255) DG=−(255/DMAX)×LOG(G/255) DB=−(255/DMAX)×LOG(B/255) 但し、DMAXは、最大反射濃度値である。
## EQU14 ## DR =-(255 / DMAX) × LOG (R
/ 255) DG = − (255 / DMAX) × LOG (G / 255) DB = − (255 / DMAX) × LOG (B / 255) where DMAX is the maximum reflection density value.

【0089】また、RGBデータ(R67〜60
67〜60,B67〜60)は、重み付け部1204で5:
6:5の比で重み付けされ、次の加算部1205で混合
された後に、LOGテーブル1206に入力される。L
OGテーブル1206より出力されるDV17〜10は、モ
ノカラー時の濃度レベルを表す信号である。
Further, the RGB data (R 67 to 60 ,
G 67 to 60 and B 67 to 60 ) in the weighting unit 1204:
It is weighted with a ratio of 6: 5, mixed in the next addition unit 1205, and then input to the LOG table 1206. L
DVs 17 to 10 output from the OG table 1206 are signals representing the density level in mono color.

【0090】次のネガポジ反転部1250は、−NEG
A信号(ネガポジ反転信号)が”L”のときにDR
17〜10,DG17〜10,DB17〜10,DV17〜10を反転出
力(ネガ出力)し、”H”の時にはそのまま通過させ
る。上記−NEGA信号は、使用者により操作パネル2
5上に設けられているネガ/ポジ反転キー76により設
定されるオプショナル信号である。通常のコピー時に
は、”H”に保持されている。
Next, the negative / positive reversing unit 1250 is operated by -NEG.
DR when A signal (negative-positive inversion signal) is "L"
17-10 , DG 17-10 , DB 17-10 , and DV 17-10 are inverted output (negative output), and when "H", they are passed through as they are. The -NEGA signal is sent to the operation panel 2 by the user.
5 is an optional signal which is set by the negative / positive reversing key 76 provided on the No. 5. It is held at "H" during normal copying.

【0091】(b-9)UCR/BP処理部 フルカラー再現に必要なシアン(C)、マゼンタ
(M)、イエロー(Y)、黒(BK)の各色データは、
面順次方式によって1スキャン毎に作成され、計4回の
スキャンによりフルカラーを再現される。ここで、黒の
印字も行うのは、シアン,マゼンタ,イエローを重ね合わ
せて黒を再現しても、各トナーの分光特性の影響により
鮮明な黒の再現が難しいためである。そこで、本実施例
の複写機では、データY,M,Cによる減法混色法と黒デ
ータKによる墨加刷によって、黒の再現性を向上し、フ
ルカラーを実現する。
(B-9) UCR / BP processing section Each color data of cyan (C), magenta (M), yellow (Y) and black (BK) necessary for full color reproduction is
It is created for each scan by the frame sequential method, and full color is reproduced by a total of four scans. Here, the reason why black is also printed is that even if cyan, magenta, and yellow are superimposed to reproduce black, it is difficult to reproduce clear black due to the influence of the spectral characteristics of each toner. Therefore, in the copying machine of this embodiment, the reproducibility of black is improved and full color is realized by the subtractive color mixture method using the data Y, M, and C and the black printing using the black data K.

【0092】UCR/BP処理部1300は、DR
27〜20,DG27〜20,DB27〜20のデータの最小値(M
IN(DR,DG,DB))を算出し、これを墨色であ
るとして、そのある割合をBKデータとして扱い、プリ
ンタで黒色トナーを加える処理(以下、この処理をBP
処理という。)と、上記加えたBKデータに応じてC,
M,Y色材料の量を少なくする下色除去処理(以下、こ
の処理をUCR処理という。)を実行する。
The UCR / BP processor 1300 uses the DR
27-20 , DG 27-20 , DB 27-20 minimum data (M
IN (DR, DG, DB) is calculated, it is assumed that it is a black color, a certain ratio thereof is treated as BK data, and a process of adding black toner by the printer (hereinafter, this process is referred to as BP).
Called processing. ), And C, according to the BK data added above.
Undercolor removal processing (hereinafter, this processing is referred to as UCR processing) for reducing the amounts of M and Y color materials is executed.

【0093】図41は、UCR/BP処理部1300の
構成を示す図である。入力された濃度データD
27〜20,DG27〜20,DB27〜20のデータは、それぞ
れ最小値検出回路1301に入力される。最小値検出回
路1301は、図42(a)に示すように、入力された
DR27〜20,DG27〜20,DB27〜20のデータの最小値
(MIN(DR,DG,DB))を検出して出力する。
次の差分回路1302では、CPU1より送られてくる
下地レベルXのデータ(図中、BPCと表す)を最小値
(MIN(DR,DG,DB)から差し引く。なお、U
CR処理時は、このデータは0である。
FIG. 41 is a diagram showing the structure of the UCR / BP processing unit 1300. Input density data D
The data of R 27 to 20 , DG 27 to 20 , and DB 27 to 20 are input to the minimum value detection circuit 1301. The minimum value detection circuit 1301 determines the minimum value (MIN (DR, DG, DB)) of the input data of DR 27 to 20 , DG 27 to 20 , and DB 27 to 20 , as shown in FIG. Detect and output.
In the next difference circuit 1302, the background level X data (represented by BPC in the figure) sent from the CPU 1 is subtracted from the minimum value (MIN (DR, DG, DB).
At the time of CR processing, this data is 0.

【0094】HVC変換部1100で算出された彩度信
号W7〜0は、UCRテーブル1303に入力される。同
じくUCRテーブル1303に入力される−CMY/K
信号は、C(シアン)、M(マゼンタ)、Y(イエロ
ー)の印字行程の際に”L”に設定され、BK(黒)の
印字行程の際に”H”に切り替えられる。UCRテーブ
ル1303は、UCR処理時にはUCR係数データα
(W)を出力すると共に、BP処理時にはBP係数デー
タβ(W)を出力する。図43にUCRテーブルを示
す。読取画像が無彩色(白黒)の場合には、黒色のトナ
ーのみで画像を再現した方がトナーの付着量が少なく、
黒が引き締まって見る。従って、彩度信号W7〜0信号の
値が小さい場合には、UCRテーブル1303は、出力
するα(W)及びβ(W)の値を大きくして下色除去量
及び黒色加算量を共に増加する。一方、読取画像が有彩
色(カラー)の場合には、α(W)及びβ(W)値が余
り大きいと逆に濁った色が再現される。このため、彩度
信号W7〜0の値が大きな場合には、UCRテーブル13
03は、出力するα(W)及びβ(W)値を小さく設定
する。このように彩度信号W7〜0の値の大きさに応じて
出力するα(W)及びβ(W)値を変更することで、よ
り適切なUCR/BP処理を実行する。
The saturation signals W 7 to 0 calculated by the HVC converter 1100 are input to the UCR table 1303. Also input to the UCR table 1303 -CMY / K
The signal is set to "L" during the C (cyan), M (magenta), and Y (yellow) printing process, and switched to "H" during the BK (black) printing process. The UCR table 1303 stores UCR coefficient data α during UCR processing.
In addition to outputting (W), the BP coefficient data β (W) is output during BP processing. FIG. 43 shows the UCR table. If the scanned image is achromatic (black and white), reproducing the image with black toner alone will reduce the amount of toner adhesion,
I see black tightly. Therefore, when the value of the saturation signal W 7 to 0 signal is small, the UCR table 1303 increases the values of α (W) and β (W) to be output so that both the undercolor removal amount and the black addition amount are set. To increase. On the other hand, when the read image is chromatic (color), if the α (W) and β (W) values are too large, a muddy color is reproduced. Therefore, when the value of the saturation signal W 7 to 0 is large, the UCR table 13
03 sets the output α (W) and β (W) values to be small. By changing the α (W) and β (W) values to be output according to the magnitude of the saturation signals W 7 to 0 in this manner, more appropriate UCR / BP processing is executed.

【0095】UCRテーブル1303より出力されたα
(W)もしくはβ(W)は、演算器1304に入力され
る。演算器1304は、UCR処理時にはMIN(D
R,DG,DB)の各データにα(W)/256を掛け
合わして下色除去量(図42(b)で破線で示す量)を
減算器1305〜1307に出力する。減算器1305
〜1307では、次の「数15」が実行され、UCR処
理の施されたC07〜0,M07〜0,Y07〜0が出力され
る。
Α output from the UCR table 1303
(W) or β (W) is input to the calculator 1304. The computing unit 1304 uses the MIN (D
Each data of R, DG, and DB is multiplied by α (W) / 256, and the undercolor removal amount (the amount shown by the broken line in FIG. 42B) is output to the subtractors 1305 to 1307. Subtractor 1305
In ~1307, "number 15" in the following is executed, C0 7 to 0 has been subjected to UCR processing, M0 7 to 0, Y0 7 to 0 is output.

【数15】C0=DR−MIN(DR,DG,DB)×
α(W)/256 M0=DG−MIN(DR,DG,DB)×α(W)/
256 Y0=BR−MIN(DR,DG,DB)×α(W)/
256
[Equation 15] C0 = DR-MIN (DR, DG, DB) ×
α (W) / 256 M0 = DG-MIN (DR, DG, DB) × α (W) /
256 Y0 = BR-MIN (DR, DG, DB) × α (W) /
256

【0096】一方、演算器1304は、BP処理時には
次の「数16」の演算を実行する。すなわち、所定の下
色レベルのデータBPCを差し引いたMIN(DR,D
G,DB)の各データにβ(W)/256を掛け合わ
し、加算する黒色トナー量BK(図42(b)参照)を
出力する。
On the other hand, the computing unit 1304 executes the following computation of "Equation 16" during the BP processing. That is, MIN (DR, D
(G, DB) data is multiplied by β (W) / 256, and the black toner amount BK to be added (see FIG. 42B) is output.

【数16】BK=(MIN(DR,DG,DB)−k)
×β(W)/256
BK = (MIN (DR, DG, DB) -k)
× β (W) / 256

【0097】(b-10)色補正部 CCDイメージセンサ14の読取画素毎に配設されてい
る色分解フィルタの分光特性は、図45に斜線で示す不
要透過領域を有する。また、プリンタ側で用いられる
C,M,Yの色トナーも図46に斜線で示す不要吸収成
分を有している。色補正部1400は、所定のマスキン
グ演算処理を実行し、上記原稿とコピーの色再現を合わ
す。色補正部1400では、UCR処理されたC
7〜0,M07〜0,Y07〜0及びその非線形項である
{(C0+M0)/2)}2,{(M0+Y0)/
2)}2,{(Y0+C0)/2)}2、さらに定数項を
次の「数17」に示すマトリクス計算してC,M,Yデ
ータを求める。色補正部1400では、この処理により
原稿とコピーの色再現性を整合する。
(B-10) Color Correction Section The spectral characteristic of the color separation filter provided for each read pixel of the CCD image sensor 14 has an unnecessary transmission area indicated by hatching in FIG. Further, the C, M, and Y color toners used on the printer side also have unnecessary absorption components indicated by hatching in FIG. The color correction unit 1400 executes a predetermined masking calculation process to match the color reproduction of the original and the copy. In the color correction unit 1400, the UCR-processed C
0 7-0 , M0 7-0 , Y0 7-0 and its nonlinear term {(C0 + M0) / 2)} 2 , {(M0 + Y0) /
2)} 2 , {(Y0 + C0) / 2)} 2 , and the constant term is further matrix-calculated as shown in the following "Equation 17" to obtain C, M, Y data. The color correction unit 1400 matches the color reproducibility of the original and the copy by this processing.

【数17】 マスキング係数c11〜c17,m21〜m27,y3
1〜y37の各係数は、以下の手順で定められる。ま
ず、CCDイメージスキャナ14にテストチャートを読
み取らせてテスト用プリントを形成する。次に出力され
たテスト用プリントをCCDイメージセンサ14に読み
取らせる。ここで、テストチャートの読取データと、実
際にプリントされたテスト用プリントの読取データとを
比較し、両データの差が最小となるように上記各係数の
値を定める。具体的には、シアン作像時にマスキング係
数c11〜c17が設定される。マゼンタ作像時にマス
キング係数m21〜m27が設定される。イエロー作像
時には、マスキング係数y31〜y37が設定される。
[Equation 17] Masking coefficients c11 to c17, m21 to m27, y3
Each coefficient of 1 to y37 is determined by the following procedure. First, the CCD image scanner 14 is caused to read the test chart to form a test print. Then, the output test print is read by the CCD image sensor 14. Here, the read data of the test chart is compared with the read data of the actually printed test print, and the value of each coefficient is determined so that the difference between the two data is minimized. Specifically, the masking coefficients c11 to c17 are set during cyan image formation. Masking coefficients m21 to m27 are set during magenta image formation. At the time of yellow image formation, the masking coefficients y31 to y37 are set.

【0098】図44は、色補正部1400の構成を示す
図である。入力されるC07〜0,M07〜0,Y07〜0
各データは、それぞれ、乗算器1409〜1411に入
力されると共に、演算器1402〜1404に入力され
る。演算器1402〜1404には、各A端子にC0,
M0,Y0の順にデータが入力され、各B端子にM0,
Y0,C0の順にデータが入力される。演算器1402
〜1404では、A端子に入力されたデータとB端子に
入力されたデータの平均値を求め、これを出力する。演
算器1402〜1404より出力された各データは、次
の演算器1405〜1407のX端子に入力される。各
演算器1405〜1407では、入力データの二乗を2
56で割った値を乗算器1412〜1414に出力す
る。各乗算器1409〜1414には色補正制御部14
01よりマスキング係数c11〜c17,m21〜m2
7,y31〜y37が入力される。各乗算器1409〜
1414での乗算結果は、演算器1415のA〜F端子
にそれぞれ入力される。また、演算器1415には、色
補正制御部1401より定数項データがG端子に直接入
力される。演算器1415は、A〜Fのデータ合計値よ
り定数項データDを差し引いた値を次のセレクタ141
6に出力する。即ち以上の処理により、上記「数17」
のマトリクス計算が実行される。
FIG. 44 is a diagram showing the structure of the color correction unit 1400. An inputted C0 7 to 0, M0 7 to 0, the data of Y0 7 to 0, respectively, is input to the multiplier 1409 to 1411, is input to the calculator 1402 to 1404. The arithmetic units 1402-1404 have C0,
Data is input in the order of M0, Y0, and M0,
Data is input in the order of Y0 and C0. Arithmetic unit 1402
At 1404, the average value of the data input to the A terminal and the data input to the B terminal is calculated and output. The respective data output from the arithmetic units 1402-1404 are input to the X terminals of the next arithmetic units 1405 to 1407. Each of the arithmetic units 1405 to 1407 calculates the square of the input data by 2
The value divided by 56 is output to the multipliers 1412 to 1414. The color correction control unit 14 is provided in each of the multipliers 1409 to 1414.
From 01, masking coefficients c11 to c17, m21 to m2
7, y31 to y37 are input. Each multiplier 1409-
The multiplication result of 1414 is input to each of the terminals A to F of the arithmetic unit 1415. Further, the constant term data is directly input to the G terminal from the color correction control unit 1401 in the calculator 1415. The computing unit 1415 uses the value obtained by subtracting the constant term data D from the data total value of A to F as the next selector 141.
6 is output. That is, by the above processing, the above "Equation 17"
Matrix calculation is performed.

【0099】シアン、マゼンタ、イエローの各作像時
に、上記色補正部1401は、前記した手順で定められ
るマスキング係数の他に故意に色相のバランスを変更す
るようなマスキング係数等、同時に8種類のマスキング
係数を設定することができる。これらの係数の内、何れ
のデータをマスキング係数として出力するかは、マスキ
ング係数切換信号MA2〜0とセピアエリア信号−SEP
IAによってリアルタイム(1ドット毎)に切換える。
At the time of forming each of cyan, magenta and yellow images, the color correction unit 1401 simultaneously provides eight types of masking coefficients, such as a masking coefficient that intentionally changes the hue balance, in addition to the masking coefficient determined by the above-described procedure. The masking coefficient can be set. Which data of these coefficients is to be output as the masking coefficient is determined by the masking coefficient switching signals MA 2 to 0 and the sepia area signal -SEP.
It switches in real time (every 1 dot) by IA.

【0100】色補正部1401は、BK(黒)の印字工
程の際には”H”の−CMY/K信号を出力し、他の
(シアン、マゼンタ、イエローの)印字工程では”L”
の−CMY/K信号を出力する。セレクタ1416
は、”H”の−CMY/K信号の入力に対応してBK
7〜0データを次のセレクタ1417に出力する。一
方、”L”の−CMY/K信号の入力に対応して演算器
1415からのデータを次のセレクタ1417に出力す
る。
The color correction unit 1401 outputs a "H" -CMY / K signal in the BK (black) printing process, and "L" in the other (cyan, magenta, and yellow) printing processes.
Output the -CMY / K signal. Selector 1416
Corresponds to the input of "H" -CMY / K signal and BK
7-0 data is output to the next selector 1417. On the other hand, the data from the calculator 1415 is output to the next selector 1417 in response to the input of the "L" -CMY / K signal.

【0101】色補正制御部1401は、使用者により操
作パネルを介して入力されるモノカラー再現色データに
応じてプリンタの作像工程(C,M,Y,BK)に応じ
て切り替わる係数(MM7〜0:C18,M18,Y18、BK
18)を乗算器1408に出力する。乗算器1408は、
モノカラー用の濃度データDV17〜10に上記係数M
7〜0を掛け合わしてモノカラーデータをセレクタ14
17に出力する。
The color correction control section 1401 switches the coefficient (MM) according to the image forming process (C, M, Y, BK) of the printer according to the mono color reproduction color data input by the user through the operation panel. 7 to 0 : C 18 , M 18 , Y 18 , BK
18 ) is output to the multiplier 1408. The multiplier 1408 is
The above-mentioned coefficient M is added to the density data DV17 to 10 for mono color.
Selector 14 for mono color data by multiplying M 7 to 0
Output to 17.

【0102】また、色補正制御部1401には、画素ご
とに属性をもつ編集エリア信号であるモノカラーエリア
(−COLMONO)信号及びモノクロエリア(−BK
MONO)信号が入力される。−COLMONO信号及
び−BKMONO信号は、ORゲート1418に入力さ
れる。−COLMONO信号及び−BKMONO信号の
両方が”L”、即ち画素データがフルカラーモードエリ
アのデータである場合、ORゲート1418は、セレク
タ1417に”L”の信号を出力する。この場合、セレ
クタ1417は、セレクタ1416より入力されたフル
カラーデータをVIDEO7〜0信号として出力する。
Further, the color correction control section 1401 has a mono-color area (-COLMONO) signal and an monochrome area (-BK) which are edit area signals having attributes for each pixel.
(MONO) signal is input. The −COLMONO signal and the −BKMONO signal are input to the OR gate 1418. When both the -COLMONO signal and the -BKMONO signal are "L", that is, the pixel data is data in the full color mode area, the OR gate 1418 outputs the "L" signal to the selector 1417. In this case, the selector 1417 outputs the full color data input from the selector 1416 as VIDEO7-0 signals.

【0103】しかし、−COLMONO信号及び−BK
MONO信号の何れか一方が”H”の場合、即ち画素デ
ータがモノカラーモードエリアもしくはモノクロモード
エリアのデータである場合、ORゲートは、セレクタ1
417のS端子に”H”の信号を出力する。この場合、
セレクタ1417は、乗算器1408に入力されたモノ
カラーデータをVIDEO7〜0信号として出力する。
However, the -COLMONO signal and -BK
When either one of the MONO signals is "H", that is, when the pixel data is data in the mono color mode area or the monochrome mode area, the OR gate operates as the selector 1
The "H" signal is output to the S terminal of 417. in this case,
The selector 1417 outputs the monocolor data input to the multiplier 1408 as a VIDEO 7-0 signal.

【0104】(b-11)領域判別部 図47及び図48は、原稿画像中の黒文字部分の判別
と、網点領域の判別処理を実行する領域判別部1500
の構成を示す図である。黒文字判別は、大別すれば”文
字(エッジ)の判定”、”黒の判定”、”黒文字誤判別
領域の抽出”、そして後に説明するMTF補正部160
0で黒文字の再現性を向上するために実行する”黒エッ
ジ再生信号の生成”の4つの処理に分類される。以下、
この4つの処理について説明する。
(B-11) Area Discriminating Section FIGS. 47 and 48 show an area discriminating section 1500 for executing the discrimination processing of the black character portion in the original image and the discrimination of the halftone dot area.
It is a figure which shows the structure of. The black character determination is roughly divided into "character (edge) determination", "black determination", "black character erroneous determination area extraction", and the MTF correction unit 160 described later.
When it is 0, it is classified into four processes of "generation of black edge reproduction signal" which is executed to improve the reproducibility of black characters. Less than,
The four processes will be described.

【0105】(b-11-1)文字(エッジ)の判定 文字は、基本的に”エッジ部分”及びそのエッジ部分に
挟まれた”べた塗り”の部分2つの要素より成り立って
いる。また、線の細い文字の場合には、エッジのみとな
る。即ち、文字の判定は、エッジの判定を行うことで達
成される。
(B-11-1) Judgment of Character (Edge) A character basically consists of two elements, "edge portion" and "solid painting" sandwiched between the edge portions. Further, in the case of a thin line character, only the edge is provided. That is, the character determination is achieved by performing the edge determination.

【0106】HVC変換部1100で作成された明度信
号V7〜0は、N/P反転部1501を介して、ラインメ
モリ1502に入力される。N/P反転部1501は、
入力される−NEGA信号が”L”の場合に入力された
データを反転して出力する。ここで、−NEGA信号
は、使用者により操作パネル25のネガ/ポジ反転キー
76により設定されるオプショナル信号である。
The lightness signals V 7 to 0 generated by the HVC conversion section 1100 are input to the line memory 1502 via the N / P inversion section 1501. The N / P inversion unit 1501
When the input -NEGA signal is "L", the input data is inverted and output. Here, the −NEGA signal is an optional signal set by the user using the negative / positive inversion key 76 of the operation panel 25.

【0107】ラインメモリ1502より読み出されるデ
ータは、それぞれ5×5マトリクスよりなる主走査方向
の1次微分フィルタ1503及び副走査方向の1次微分
フィルタ1504に入力されると共に、2次微分フィル
タ1508に入力される。ここで、エッジの判定に1次
微分フィルタ及び2次微分フィルタの双方を使用するの
は、各フィルタに以下のような特徴があるからである。
図49(a)は、太さの異なる5つのラインの明度分布
を示すものであり、図中右へ行くに従って太いラインと
なる。図49(b)は、上記各ラインの1次微分結果を
示す図である。また、図49(c)は、上記各ラインの
2次微分結果を示す図である。図より理解されるよう
に、1次微分フィルタは、太いライン(幅4ドット以
上)のエッジ部分で2次微分フィルタよりも高い検出値
を出力する。一方、2次微分フィルタは、細いライン
(幅4ドット未満)のエッジ部分で1次微分フィルタよ
りも高い検出値を出力する。即ち、幅4ドット以上の太
いエッジ部分の検出には1次微分フィルタが適してお
り、幅4ドット未満の細いラインのエッジ部分の検出に
は2次微分フィルタが適している。本実施例の領域判別
部1500では、各フィルタの当該特徴に注目し、1次
微分フィルタ及び2次微分フィルタの何れか一方の微分
値がそれぞれの所定のしきい値を越えた場合にエッジ部
分であると判定する。これによりラインの太さによらず
一定のエッジ検出精度を維持する。
The data read from the line memory 1502 is input to the primary differential filter 1503 in the main scanning direction and the primary differential filter 1504 in the sub-scanning direction, each of which is composed of a 5 × 5 matrix, and also to the secondary differential filter 1508. Is entered. Here, both the first-order differential filter and the second-order differential filter are used for edge determination because each filter has the following features.
FIG. 49A shows the lightness distribution of five lines having different thicknesses, and the line becomes thicker toward the right in the figure. FIG. 49 (b) is a diagram showing the results of the first-order differentiation of the above lines. Further, FIG. 49 (c) is a diagram showing a second-order differentiation result of each line. As understood from the figure, the first-order differential filter outputs a higher detection value than the second-order differential filter at the edge portion of the thick line (width of 4 dots or more). On the other hand, the secondary differential filter outputs a higher detection value than the primary differential filter at the edge portion of the thin line (width less than 4 dots). That is, the primary differential filter is suitable for detecting a thick edge portion having a width of 4 dots or more, and the secondary differential filter is suitable for detecting an edge portion of a thin line having a width of less than 4 dots. In the area discriminating unit 1500 of this embodiment, paying attention to the feature of each filter, when the differential value of one of the primary differential filter and the secondary differential filter exceeds a predetermined threshold value, the edge portion It is determined that This maintains a constant edge detection accuracy regardless of the line thickness.

【0108】(b-11-1-1)1次微分フィルタ 図47に示すラインメモリ1502から読み出されるデ
ータは、5×5マトリクスよりなる主走査方向の1次微
分フィルタ1503及び副走査方向の1次微分フィルタ
1504に入力される。主走査方向の1次微分フィルタ
1503は、図50に示すフィルタが用いられる。ま
た、副走査方向の1次微分フィルタ1504は、図51
に示すフィルタが用いられる。各1次微分フィルタ15
03及び1504により求められた微分結果は、次の演
算器1505及び1506に入力され、その絶対値が求
められる。ここで、1次微分結果の絶対値を求めるの
は、図50及び図51に示した1次微分フィルタ150
3及び1504内に負の係数が存在するためである。1
次微分フィルタ1503及び1504による1次微分結
果の絶対値は、次の演算器1507において平均値が求
められる。このように平均値を求めるのは、主走査方向
及び副走査方向の双方の1次微分結果を考慮に入れるた
めである。このようにして求められた平均値FL17〜10
は、図48に示すエッジ判定コンパレータ1521,1
524,1526及び1528のそれぞれに入力され
る。
(B-11-1-1) Primary Differential Filter The data read from the line memory 1502 shown in FIG. 47 is a primary differential filter 1503 in the main scanning direction consisting of a 5 × 5 matrix and 1 in the sub scanning direction. It is input to the next derivative filter 1504. As the primary differential filter 1503 in the main scanning direction, the filter shown in FIG. 50 is used. The primary differential filter 1504 in the sub-scanning direction is shown in FIG.
The filter shown in is used. Each first derivative filter 15
The differential results obtained by 03 and 1504 are input to the next computing units 1505 and 1506, and their absolute values are obtained. Here, the absolute value of the first-order differentiation result is obtained by the first-order differentiation filter 150 shown in FIGS.
This is because there are negative coefficients in 3 and 1504. 1
The absolute value of the first-order differentiation result by the second-order differentiation filters 1503 and 1504 is averaged by the next computing unit 1507. The reason for obtaining the average value in this way is to take into consideration the first-order differential results in both the main scanning direction and the sub-scanning direction. The average value FL 17 to 10 thus obtained
Are the edge determination comparators 1521, 1 shown in FIG.
It is input to each of 524, 1526 and 1528.

【0109】(b-11-1-2)2次微分フィルタ 図47に示すラインメモリ1502から読み出されるデ
ータは、2次微分フィルタ1508にも入力される。2
次微分フィルタ1508は、図52に示すフィルタが用
いられる。2次微分結果D7〜0は、演算器1509によ
り絶対値FL27〜20が求められる。これは、上記1次微
分フィルタと同じくフィルタ内に負の係数が存在するた
めである。この絶対値FL27〜20は、図48に示すエッ
ジ判定コンパレータ1522,1523,1525及び
1527のそれぞれに入力される。また、2次微分結果
7〜0は、VMTFテーブル1512に入力される。図
59は、VMTFテーブル1512を示す図である。V
MTFテーブル1512は、入力される2次微分結果D
7〜0に対応する明度エッジ成分VMTF7〜0を出力す
る。
(B-11-1-2) Secondary Differential Filter The data read from the line memory 1502 shown in FIG. 47 is also input to the secondary differential filter 1508. Two
As the second derivative filter 1508, the filter shown in FIG. 52 is used. The absolute value FL 27 to 20 of the second derivative D 7 to 0 is calculated by the computing unit 1509. This is because there is a negative coefficient in the filter as in the first derivative filter. The absolute values FL 27 to 20 are input to the edge determination comparators 1522, 1523, 1525 and 1527 shown in FIG. 48, respectively. The second-order differential results D 7 to 0 are input to the VMTF table 1512. FIG. 59 is a diagram showing the VMTF table 1512. V
The MTF table 1512 is used to input the second derivative result D
Brightness edge components VMTF 7 to 0 corresponding to 7 to 0 are output.

【0110】(b-11-1-3)エッジ判定 図48に示すエッジ判別コンパレータ1521は、1次
微分結果FL17〜10と第1エッジリファレンスレベルED
Gref17〜10とを比較する。ここで、1次微分結果FL
17〜10が第1エッジリファレンスレベルEDGref17〜10
りも大きな場合には、”L”の信号を出力する。また、
エッジ判別コンパレータ1522は、2次微分結果FL
27〜20と第2エッジリファレンスレベルEDGref27〜20
を比較する。ここで、2次微分結果が第2エッジリファ
レンスレベルEDGref27〜20よりも大きな場合には、”
L”の信号を出力する。エッジ判定コンパレータ152
1及び1522における判定結果は、ANDゲート15
33に入力される。ANDゲート1533は、エッジ判
定コンパレータ1521又は1522の少なくとも一方
から”L”の信号を受け取った場合には、エッジ部分で
あることを意味する”L”の−EG信号を出力する。
(B-11-1-3) Edge Judgment The edge judgment comparator 1521 shown in FIG. 48 uses the first-order differential results FL 17-10 and the first edge reference level ED.
Compare with Gref 17-10 . Here, the first derivative result FL
When 17 to 10 are larger than the first edge reference level EDGref 17 to 10, the "L" signal is output. Also,
The edge discrimination comparator 1522 is a second derivative FL
27 to 20 are compared with the second edge reference level EDGref 27 to 20. Here, when the second derivative result is larger than the second edge reference level EDGref 27 to 20, "
It outputs a signal of L ″. Edge judgment comparator 152
The determination results in 1 and 1522 are the AND gate 15
33 is input. When the AND gate 1533 receives the "L" signal from at least one of the edge determination comparators 1521 and 1522, the AND gate 1533 outputs the "L" -EG signal indicating the edge portion.

【0111】(b-11-2)黒の判定 黒の判定は、彩度データW7〜0の値に基づいて行われ
る。即ち、彩度データW7〜0の値が所定の基準値以下の
場合にこれを黒と判定する。ところが、彩度データW
7〜0の値は、黒色の画素であるにもかかわらず大きな値
となることがある。例えば、CCDイメージセンサ14
の画像データの読み取り時の振動で、図53上段に示す
ように、R,G,B各のデータの位相が僅かながらずれ
た場合、黒の画素であるにもかかわらず、図53下段に
示すように、彩度データW7〜0の値は大きくなる。この
場合に上記基準で黒の判定を行えば、カラー画素である
と誤判定してしまう。本実施例では、まず、HVC変換
部1100で求められた彩度データW7〜0をラインメモ
リ1514に入力して3×3マトリクスのデータにした
後、図54に示すスムージングフィルタ1515を用い
てスムージング処理を施す。スムージング処理の施され
た彩度データWS7〜0は、図53下段に示すようになだ
らかな値に変更される。これにより上記の誤判定が回避
される。
(B-11-2) Black Judgment Black judgment is performed based on the values of the saturation data W 7 to 0 . That is, when the value of the saturation data W7-0 is less than or equal to a predetermined reference value, it is determined to be black. However, the saturation data W
A value of 7 to 0 may be a large value even though it is a black pixel. For example, the CCD image sensor 14
When the phase of each of the R, G, and B data is slightly shifted as shown in the upper part of FIG. 53 due to the vibration at the time of reading the image data of the above, it is shown in the lower part of FIG. As described above, the value of the saturation data W 7 to 0 becomes large. In this case, if black is determined based on the above criteria, it is erroneously determined to be a color pixel. In the present embodiment, first, the saturation data W 7 to 0 obtained by the HVC conversion unit 1100 is input to the line memory 1514 to form 3 × 3 matrix data, and then the smoothing filter 1515 shown in FIG. 54 is used. Apply smoothing processing. The saturation data WS7-0 subjected to the smoothing processing is changed to a gentle value as shown in the lower part of FIG. This avoids the above erroneous determination.

【0112】スムージング処理の施された彩度データW
7〜0は、図48に示す彩度判定コンパレータ1529
で彩度リファレンスデータWREF7〜0と比較される。
彩度データWS7〜0の値が彩度リファレンスデータWR
EF7〜0の値よりも小さい場合、この彩度データWS
7〜0をもつ画素は、黒色であると判定する。この場合、
コンパレータ1529は、”L”の−BK信号をORゲ
ート1537に出力する。
Saturation data W subjected to smoothing processing
S 7 to 0 are the saturation determination comparator 1529 shown in FIG.
In it is compared to the chroma reference data WREF 7 to 0.
The value of saturation data WS 7 to 0 is the saturation reference data WR.
When it is smaller than the value of EF 7 to 0 , this saturation data WS
Pixels with 7-0 are determined to be black. in this case,
The comparator 1529 outputs the “L” −BK signal to the OR gate 1537.

【0113】上記彩度リファレンスデータWREF7〜0
は、ラインメモリ1502に入力された明度データV
7〜0をWREFテーブル1513に入力して得る。WR
EFテーブル1513は、図55に示すように、明度デ
ータV7〜0が所定の値よりも明るい場合には、WREF
7〜0の値をその明るさに比例して小さくすることを特徴
とする。これは、明度の明るい箇所では、誤判定により
生じる黒色画素が目立つことを考慮したものである。
The saturation reference data WREF 7 to 0
Is the lightness data V input to the line memory 1502.
It is obtained by inputting 7 to 0 into the WREF table 1513. WR
As shown in FIG. 55, the EF table 1513 shows that when the brightness data V 7 to 0 is brighter than a predetermined value, WREF.
The feature is that the value of 7 to 0 is reduced in proportion to the brightness. This is because the black pixels caused by the erroneous determination are conspicuous in the bright areas.

【0114】以上、文字(エッジ)判定及び黒の判定の
行われた画素が、エッジ部分の画素であり(−EG信号
が”L”である)、黒色画素であって(−BK信号が”
L”である)、かつ−BKEGEN信号が”L”の場
合、ORゲート1537は、当該画素が黒色のエッジ部
分であることを意味する”L”の−BKEG信号を出力
する。
As described above, the pixel for which the character (edge) determination and the black determination are performed is the pixel of the edge portion (-EG signal is "L") and the black pixel (-BK signal is "").
If the LBK signal is "L") and the -BKEGEN signal is "L", the OR gate 1537 outputs the "L" -BKEG signal, which means that the pixel is a black edge portion.

【0115】(b-11-3)黒文字誤判別領域の抽出 上記文字(エッジ)判定及び黒の判定のみでは、明度デ
ータV7〜0の値が低く、かつ彩度データWS7〜0の値も
低い(例えば濃い青色や深緑色の)文字を黒文字のエッ
ジ部分と誤判別することがある。また、図56に示すよ
うに、シアンとイエローといった反対色に対応する画像
の隣り合う箇所では、その色の移り変わり部分において
彩度データW7〜0の値が一旦低くなる。即ち、色の移り
変わりの部分で黒色に変化する箇所が生じる。上記文字
(エッジ)判定及び黒の判定のみでは、この箇所を黒文
字のエッジ部分であると誤って判定してしまう。エッジ
部分であると誤判定された場合、シアンと、イエローの
色の移り変わりに黒いラインが描かれてしまう。このよ
うなケースは、雑誌の表紙などで黄色の下地に青色の文
字が印刷されるような場合に発生し易い。
[0115] (b-11-3) black characters only erroneously extracted the character determination region (edge) determined and black determination, low value of the brightness signal V 7 to 0, chroma values of the data WS 7 to 0 Characters (for example, dark blue or dark green) may be erroneously determined as an edge portion of a black character. Further, as shown in FIG. 56, in the adjacent portions of the images corresponding to the opposite colors such as cyan and yellow, the values of the saturation data W 7 to 0 are once lowered at the transition portions of the colors. That is, there is a portion where the color changes to black at the color transition portion. If only the character (edge) determination and the black determination are made, this portion is erroneously determined to be the edge portion of the black character. If it is erroneously determined to be an edge portion, a black line will be drawn instead of transition between cyan and yellow colors. Such a case is likely to occur when blue letters are printed on a yellow background on a magazine cover or the like.

【0116】本実施例では、黒文字誤判別領域の抽出処
理として上記課題を解消するために色べた部分を判別す
る。そして、上記黒文字と判定された場合であっても、
この色べた部分であると判定された部分についてはその
判定をキャンセルする。これにより、より確実な黒文字
の判定を実現する。
In this embodiment, in order to solve the above-mentioned problems, a solid portion is discriminated as the extraction processing of the black character erroneous discrimination area. And, even when it is determined that the black character,
The determination is canceled for the portion determined to be this solid portion. As a result, more reliable black character determination is realized.

【0117】色べた部分は、非エッジ部であって、カラ
ーモードエリアの画素であり、さらに明度の低い画素が
所定の範囲内に一定レベル以上存在することを特徴とす
る。この特徴に基づいて、色べた部の判定は以下のよう
に実行される。1次微分フィルタの結果FL17〜10及び
2次微分フィルタの結果FL27〜20がエッジ判定コンパ
レータ1523及び1524において第3エッジリファ
レンスレベルEDGref37〜30及び第4エッジリファレンス
レベルEDGref47〜40の値よりも低い場合、ORゲート1
534は、非エッジ部の画素であることを意味する”
L”の−BETA1信号を出力する。また、彩度判定コ
ンパレータ1530において彩度データWS7〜0の値が
所定の基準値WREF27〜20より小さい場合、コンパレ
ータ1530は、この部分がカラーデータであることを
意味する”L”の−COL信号を出力する。更に、明度
判定コンパレータ1531は、明度データV17〜10の値
が所定の基準値Vref17〜10よりも小さい場合、”L”
の−VL1信号を出力する。ORゲート1538は、そ
れぞれ”L”の−BETA1信号、−COL信号及び−
VL1信号の入力に対して、当該画素が非エッジ部であ
って、カラーモードエリアの画素であり、さらに明度の
低い画素であることを意味する”L”の−CAN信号を
出力する。この部分は、非背景部の有彩色平坦部である
と見なされる。次のカウンタ1542は”L”の−CA
N信号の数を、9×9画素単位でカウントする。カウン
ト判定コンパレータ1543は、カウンタ1542より
入力されるカウント結果データCnt15〜10の値が基準
値Cntref7〜0よりも小さな場合に”L”の−BKE
GON信号を出力する。
The solid-colored portion is a non-edge portion, is a pixel in the color mode area, and is further characterized in that pixels having a low lightness are present at a certain level or more within a predetermined range. Based on this feature, the determination of the color solid portion is executed as follows. The third edge reference level EDGref 37-30 and the value of the fourth edge reference level EDGref 47~40 1 derivative filter results FL from 17 to 10 and the secondary differential filter results FL twenty-seven to twenty is in the edge determination comparator 1523 and 1524 OR gate 1 if lower than
534 means that it is a pixel in the non-edge portion "
Outputs a -BETA1 signal of L ". When the value of the chroma data WS 7 to 0 is a predetermined reference value WREF twenty-seven to twenty smaller in the saturation determination comparator 1530, the comparator 1530, this part color data If the value of the brightness data V 17-10 is smaller than a predetermined reference value Vref 17-10 , the brightness determination comparator 1531 outputs "L".
The -VL 1 signal of is output. The OR gate 1538 has the -BETA1 signal, the -COL signal, and the -L signal of "L", respectively.
In response to the input of the VL 1 signal, the pixel outputs the “L” -CAN signal, which means that the pixel is a non-edge portion, a pixel in the color mode area, and a pixel with low lightness. This part is considered to be a chromatic flat part of the non-background part. The next counter 1542 is "L" -CA.
The number of N signals is counted in 9 × 9 pixel units. The count judgment comparator 1543 outputs "L" -BKE when the count result data Cnt 15 to 10 input from the counter 1542 is smaller than the reference value Cntref 7 to 0.
Output GON signal.

【0118】ORゲート1544には、上記−BKEG
信号と−BKEGON信号とが入力される。上記BKE
G信号は、ORゲート1544に同一画素についての信
号が入力されるように遅延回路1541により遅延され
ている。ORゲート1544に黒のエッジ部であるとの
判定結果を表す”L”の−BKEG信号が入力されてい
る場合であっても、所定の範囲内にカラーデータが所定
の基準値以上存在し、色べた部分であると判断された場
合には、”H”の−BKEGON信号が入力され、上記
黒のエッジ部であるとの判定をキャンセルし、”H”の
−PAPA信号を出力する。本実施例では、無彩色の下
地に黒文字が描かれている場合にのみエッジ強調処理を
実行する。また、所定の範囲内に色べた部分と判定され
た画素が所定の基準値に満たない場合、黒のエッジ部分
であるとの判定を維持して”L”の−PAPA信号を出
力する。
The OR gate 1544 is connected to the above-mentioned BKEG.
The signal and the -BKEGON signal are input. Above BKE
The G signal is delayed by the delay circuit 1541 so that the signals for the same pixel are input to the OR gate 1544. Even when the "L" -BKEG signal indicating the determination result of the black edge portion is input to the OR gate 1544, the color data exists within the predetermined range and is equal to or larger than the predetermined reference value. When it is determined that the color is a solid portion, the "H" -BKEGON signal is input, the determination of the black edge portion is canceled, and the "H" -PAPA signal is output. In this embodiment, the edge emphasis processing is executed only when black characters are drawn on an achromatic background. Further, when the pixel determined to be a solid portion within the predetermined range does not satisfy the predetermined reference value, the determination of the black edge portion is maintained and the "-PAPA" signal of "L" is output.

【0119】(b-11-4)網点領域の判別 図47に示すように、ラインメモリ1502より出力さ
れるデータは、白網点検出フィルタ1510及び黒網点
検出フィルタ1511に入力される。各フィルタは、図
57に示すように注目画素Xを取り囲む8方向の前後2
画素の平均に対して注目画素が、あるレベル(AMIRE
F7〜0)よりもすべての方向に対して大きい(白網点)
か小さいか(黒網点)を判定し、更に孤立点化するため
に注目画素が回りの8個の画素よりも大きいとき、白網
点と判定し、(−WAMI=”L”)、さらにすべて小
さい時、黒網点と確定(−KAMI=”L”)する。
(B-11-4) Discrimination of halftone dot area As shown in FIG. 47, the data output from the line memory 1502 is input to the white halftone dot detection filter 1510 and the black halftone dot detection filter 1511. As shown in FIG. 57, each of the filters surrounds the pixel of interest X and is arranged in two directions in eight directions.
The target pixel is at a certain level (AMIRE
Greater than F 7-0 ) in all directions (white dots)
If the pixel of interest is larger than the eight surrounding pixels in order to make it an isolated point, it is determined to be a white dot (−WAMI = “L”), and When all are small, it is determined as a black dot (-KAMI = "L").

【0120】具体的には、図47に示す白網点検出フィ
ルタ1510は、次の「数18」に示す各条件式を満足
し、かつ次の「数19」に示す条件式をすべて満足する
場合にのみ”L”の−WAMI信号を出力する。
Specifically, the white halftone dot detection filter 1510 shown in FIG. 47 satisfies each conditional expression shown in the following "Equation 18" and all the conditional expressions shown in the following "Equation 19". Only in this case, the "L" -WAMI signal is output.

【数18】X−(a11+a22)/2>AMIREF7〜0 X−(a31+a32)/2>AMIREF7〜0 X−(a51+a42)/2>AMIREF7〜0 X−(a53+a43)/2>AMIREF7〜0 X−(a55+a44)/2>AMIREF7〜0 X−(a35+a34)/2>AMIREF7〜0 X−(a15+a24)/2>AMIREF7〜0 X−(a13+a23)/2>AMIREF7〜0 X- (a 11 + a 22 ) / 2> AMIREF 7 to 0 X- (a 31 + a 32 ) / 2> AMIREF 7 to 0 X- (a 51 + a 42 ) / 2> AMIREF 7 to 0 X - (a 53 + a 43) / 2> AMIREF 7~0 X- (a 55 + a 44) / 2> AMIREF 7~0 X- (a 35 + a 34) / 2> AMIREF 7~0 X- (a 15 + a 24) / 2> AMIREF 7~0 X- (a 13 + a 23) / 2> AMIREF 7~0

【数19】X>a22 X>a32 X>a42 X>a43 X>a44 X>a34 X>a24 X>a23 X> a 22 X> a 32 X> a 42 X> a 43 X> a 44 X> a 34 X> a 24 X> a 23

【0121】また、黒網点検出フィルタ1511は、次
の「数20」に示す各条件式を満足し、かつ次の「数2
1」に示す各条件式をすべて満足する場合にのみ”L”
の−KAMI信号を出力する。
Further, the black halftone dot detection filter 1511 satisfies each conditional expression shown in the following "Equation 20", and the following "Equation 2" is satisfied.
"L" only when all the conditional expressions shown in "1" are satisfied
-KAMI signal is output.

【数20】X−(a11+a22)/2<AMIREF7〜0 X−(a31+a32)/2<AMIREF7〜0 X−(a51+a42)/2<AMIREF7〜0 X−(a53+a43)/2<AMIREF7〜0 X−(a55+a44)/2<AMIREF7〜0 X−(a35+a34)/2<AMIREF7〜0 X−(a15+a24)/2<AMIREF7〜0 X−(a13+a23)/2<AMIREF7〜0 Equation 20] X- (a 11 + a 22) / 2 <AMIREF 7~0 X- (a 31 + a 32) / 2 <AMIREF 7~0 X- (a 51 + a 42) / 2 <AMIREF 7~0 X - (a 53 + a 43) / 2 <AMIREF 7~0 X- (a 55 + a 44) / 2 <AMIREF 7~0 X- (a 35 + a 34) / 2 <AMIREF 7~0 X- (a 15 + a 24) / 2 <AMIREF 7~0 X- (a 13 + a 23) / 2 <AMIREF 7~0

【数21】X<a22 X<a32 X<a42 X<a43 X<a44 X<a34 X<a24 X<a23 X <a 22 X <a 32 X <a 42 X <a 43 X <a 44 X <a 34 X <a 24 X <a 23

【0122】白及び黒網点検出フィルタ1510及び1
511より出力された−WAMI信号及び−KAMI信
号は、それぞれ、図48に示すカウンタ1550及び1
551に入力される。カウンタ1550及び1551
は、41×9画素マトリクス内の各信号の”L”の信号
の数をカウントする。各カウンタ1550及び1551
より出力されるカウンタ値は、最大値検出回路1552
に入力される。最大値検出回路1552では、入力され
たカウンタ値のより大きなほうを網点個数(Amicn
7〜0)として出力する。Amicnt7〜0は、4個の
網点個数判定コンパレータ1553〜1556に入力さ
れる。各コンパレータ1553〜1556では、図58
に示すように4段階の網点判定リファレンスレベル(C
NTREF17〜10、CNTREF27〜20、CNTREF37〜30
CNTREF47〜40)によって2値化される。各コンパレ
ータ1553〜1556は、Amicnt7〜0が網点判
定リファレンスレベル(CNTREF17〜10、CNTREF
27〜20、CNTREF37〜30、CNTREF47〜40)よりも大
きい場合に”L”の信号(−AMI0,−AMI1,−
AMI2,−AMI3)を出力する。
White and black halftone dot detection filters 1510 and 1
The -WAMI signal and the -KAMI signal output from 511 are counters 1550 and 1 shown in FIG. 48, respectively.
551 is input. Counters 1550 and 1551
Counts the number of “L” signals of each signal in the 41 × 9 pixel matrix. Each counter 1550 and 1551
The counter value output from the maximum value detection circuit 1552
Is input to In the maximum value detection circuit 1552, the larger input counter value is used as the number of halftone dots (Amicn).
It is output as t7-0 ). Amicnt 7 to 0 are input to the four halftone dot number determination comparators 1553 to 1556. In each of the comparators 1553 to 1556, FIG.
As shown in FIG.
NTREF 17-10 , CNTREF 27-20 , CNTREF 37-30 ,
It is binarized by CNTREF 47-40 ). In each of the comparators 1553 to 1556, Amicnt 7 to 0 are halftone dot determination reference levels (CNTREF 17 to 10 and CNTREF
27~20, CNTREF 37~30, CNTREF 47~40) signal "L" is greater than (-AMI0, -AMI1, -
AMI2, -AMI3) is output.

【0123】(b-11-5)他の判別 明度データV7〜0を図48に示す明度判定コンパレータ
1532に入力して、第2明度リファレンスレベルVRE
F27〜20と比較する。ここで、明度データV7〜0が、第
2明度リファレンスレベルVREF27〜20よりも大きな値
の場合、この部分がハイライト部分であることを意味す
る”L”の−VH1信号を出力する。また、黒の判定の
場合と同様に、非エッジ部分の判定を行う。1次微分フ
ィルタの結果FL17〜10及び2次微分フィルタの結果F
27〜20がエッジ判定コンパレータ1527及び152
8において第7エッジリファレンスレベルEDGref77〜70
及び第8エッジリファレンスレベルEDGref87〜80の値よ
りも低い場合、ORゲート1536は、非エッジ部の画
素であることを意味する”L”の−BETA2信号を出
力する。ORゲート1539は、それぞれ”L”の−V
H1信号及び−BETA2信号の入力に対して、当該部
分がハイライト平坦部であることを意味する”L”信号
を出力する。この信号は遅延回路1546により遅延さ
れ、−HLIGHT信号として出力される。
(B-11-5) Other discrimination: The lightness data V 7 to 0 are input to the lightness judgment comparator 1532 shown in FIG. 48, and the second lightness reference level VRE is inputted.
Compare with F 27-20 . Here, the brightness signal V 7 to 0 is the case of a value greater than the second lightness reference level VREF 27 to 20, and outputs a -VH1 signal of this portion is meant to be a highlight portion "L". Further, as in the case of black determination, the non-edge portion is determined. Results FL 17 to 10 of the first derivative filter and result F of the second derivative filter
L 27 to 20 are edge determination comparators 1527 and 152
7th edge reference level EDGref 77-70 in 8
And the eighth edge reference level EDGref 87 to 80 , the OR gate 1536 outputs the -BETA2 signal of "L", which means that the pixel is a non-edge pixel. The OR gates 1539 are -L of "L".
With respect to the input of the H1 signal and the −BETA2 signal, the “L” signal indicating that the relevant portion is the highlight flat portion is output. This signal is delayed by the delay circuit 1546 and output as the -HLIGHT signal.

【0124】また、1次微分フィルタの結果FL17〜10
及び2次微分フィルタの結果FL27〜20は、エッジ判定
コンパレータ1525及び1526に入力され、第5エ
ッジリファレンスレベルEDGREF57〜50及び第6エッ
ジリファレンスレベルEDGREF67〜60と比較され、大
きければANDゲート1535よりエッジ部であること
を意味する”L”の−EG2信号が出力される。−EG
2信号は遅延回路1545により遅延され、−MAMA
信号として出力される。
Also, the results of the first order differential filter FL 17-10
And the results FL 27 to 20 of the second-order differential filter are input to the edge determination comparators 1525 and 1526, and are compared with the fifth edge reference level EDGREF 57 to 50 and the sixth edge reference level EDGREF 67 to 60. From 1535, the -EG2 signal of "L" meaning that it is an edge portion is output. -EG
The two signals are delayed by the delay circuit 1545, and -MAMA
It is output as a signal.

【0125】(b-12)MTF補正部 図60及び図61は、MTF補正部1600の構成を示
す図である。MTF補正部1600は、領域判別部15
00による領域判別結果(−AMI0〜−AMI3、−
MAMA、−PAPA、−EDG、−HLIGHT)に
より認識される画素の種類、及び状態信号(MODE、
−CMY/K、−BKER、−COLER)により認識
される印字状況に基づいて、画素データ(MVIDEO
7〜0またはVIDEO7〜0)に対して最も適当なエッジ
強調処理及びスムージング処理を実行する。また、認識
された画素の種類に応じて画素クロック1サイクル単位
でのレーザ発光デューティ比を変更する。ここで、発光
デューティ比とは、画素クロックが1サイクルする間に
レーザ発光しない期間を設けた場合におけるレーザ発光
期間の割合をいう。さらに、エッジの立ち上がり及び立
ち下がり部分の画素データに所定値を加算し、感光体ド
ラム41上に形成したトナー像を複写紙上に転写する際
に生じるエッジの立ち上がり部分でのトナーのつき過ぎ
及び立ち下がり部分でのトナーのかすれを補正する。
(B-12) MTF Correction Section FIGS. 60 and 61 are diagrams showing the configuration of the MTF correction section 1600. The MTF correction unit 1600 includes the area determination unit 15
Area discrimination result by 00 (-AMI0-AMI3,-
Types of pixels recognized by MAMA, -PAPA, -EDG, -HLIGHT, and status signals (MODE,
Based on the print status recognized by -CMY / K, -BKER, -COLER, pixel data (MVIDEO)
7 to 0 or VIDEO 7 to 0 ), the most suitable edge enhancement processing and smoothing processing are executed. Also, the laser light emission duty ratio is changed in one cycle of the pixel clock in accordance with the recognized pixel type. Here, the light emission duty ratio means the ratio of the laser light emission period in the case where a period in which the laser light is not emitted is provided during one cycle of the pixel clock. Further, a predetermined value is added to the pixel data at the rising and falling portions of the edge, and when the toner image formed on the photoconductor drum 41 is transferred onto the copy paper, the toner is excessively attached and risen at the rising portion of the edge. Corrects toner fading in the falling part.

【0126】MTF補正部1600は、−CMY/K信
号より現在印字処理中のトナーの色を認識する。−CM
Y/K=”L”の場合には、C(シアン),M(マゼン
タ),Y(イエロー)のトナーについての印字処理を行
っていることが認識される。また、−CMY/K=”
H”の場合には、BK(ブラック)のトナーについての
印字処理を行っていることが認識される。また、MOD
E、−BKER、−COLERの3つの信号より、フル
カラー標準モード(-BKER="H",-COLER="H",MODE="H")、
フルカラー写真モード(-BKER="H",-COLER="H",MODE="
L")、モノカラー標準モード(-BKER="H",-COLER="L",MOD
E="H")、モノカラー写真モード(-BKER="H",-COLER="L",
MODE="L")、モノクロ標準モード(-BKER="L",-COLER="
L",MODE="H")、またはモノクロ写真モード(-BKER="L",-
COLER="L",MODE="L")の何れのモードが設定されている
かを認識する。さらに、領域判別結果に基づいて、印字
処理する画素の種類が、ハイライト平坦部(-HLIGHT="
L")の画素、非エッジ部(-HLIGHT="H",-EDG="H",-PAPA="
H")の画素、色エッジ部(-HLIGHT="H",-EDG="L",-PAPA="
H")の画素及び黒エッジ部(-HLIGHT="H",-EDG="L",-PAPA
="L")の画素の何れであるのかを認識する。以下、上記
各モード設定時における各種の画素について実行される
MTF補正について説明した後に図60及び図61に示
す構成図に基づいてMTF補正部1600の説明を行
う。
The MTF correction unit 1600 recognizes the color of the toner currently undergoing print processing from the -CMY / K signal. -CM
When Y / K = “L”, it is recognized that the print processing is performed for the C (cyan), M (magenta), and Y (yellow) toners. Also, -CMY / K = "
In the case of H ", it is recognized that the printing process is performed on the BK (black) toner.
Full color standard mode (-BKER = "H",-COLER = "H", MODE = "H") from three signals of E, -BKER, -COLER,
Full color photo mode (-BKER = "H",-COLER = "H", MODE = "
L "), mono color standard mode (-BKER =" H ",-COLER =" L ", MOD
E = "H"), Mono-color photo mode (-BKER = "H",-COLER = "L",
MODE = "L"), monochrome standard mode (-BKER = "L",-COLER = "
L ", MODE =" H "), or monochrome photo mode (-BKER =" L ",-
Recognize which mode (COLER = "L", MODE = "L") is set. Further, based on the area discrimination result, the type of pixel to be printed is the flat highlight portion (-HLIGHT = "
L ") pixel, non-edge part (-HLIGHT =" H ",-EDG =" H ",-PAPA ="
H ") pixel, color edge part (-HLIGHT =" H ",-EDG =" L ",-PAPA ="
H ") pixels and black edges (-HLIGHT =" H ",-EDG =" L ",-PAPA
Recognize which pixel is "L"). The MTF correction unit 1600 will be described below based on the configuration diagrams shown in FIGS. 60 and 61, after describing the MTF correction that is performed on various pixels when the above modes are set.

【0127】(b-12-1)フルカラー標準モード設定時(-BK
ER="H",-COLER="H",MODE="H")におけるMTF補正 次の表5は、フルカラー標準モード設定時に、MTF補
正パラメータ制御部1601に入力される各データの信
号のレベルと、各信号のレベルが意味する印字状況と、
この場合にMTFパラメータ制御部1601より出力さ
れるDMPX0、DMPX1、DMPX5及びDMPX
6の各信号レベルとを表示する。
(B-12-1) Full color standard mode setting (-BK
MTF correction in ER = "H",-COLER = "H", MODE = "H") Table 5 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the full color standard mode is set. And the printing status that the level of each signal means,
In this case, DMPX0, DMPX1, DMPX5 and DMPX output from the MTF parameter controller 1601.
Each signal level of 6 is displayed.

【表5】 [Table 5]

【0128】(b-12-1-1)黒エッジ部(-HLIGHT="H",-EDG
="L",-PAPA="L") (b-12-1-1-1)BKの印字処理中(-CMY/K="H") フルカラー標準モード設定時におけるBK(ブラック)
のトナーの印字処理中、黒エッジ部の画素については、
通常の画像データSD7〜0に明度エッジ成分VMTF
7〜0を加算したデータをVIDEO37〜30として出力す
る。ここで、濃度エッジ成分DMTF7〜0のかわりに明
度エッジ成分VMTF7〜0を使用するのは、明度エッジ
成分の方が濃度エッジ成分よりも下地からの画像エッジ
に対して敏感に反応するためである。ここで、画素が網
点画像を構成する場合、その程度(網点の密度)に応じ
てエッジ強調量(明度エッジ成分VMTF7〜0の値)を
制限する。これにより、網点画像をエッジ強調した場合
に生じるモアレの発生を防止する。
(B-12-1-1) Black edge part (-HLIGHT = "H",-EDG
= "L",-PAPA = "L") (b-12-1-1-1) BK printing process (-CMY / K = "H") BK (black) when full color standard mode is set
During the toner printing process of,
Normal image data SD 7 to 0 have brightness edge component VMTF
The data obtained by adding 7 to 0 is output as VIDEO 37 to 30. Here, the use of lightness edge component VMTF 7 to 0 instead of density edge component DMTF 7 to 0, since the direction of lightness edge component is sensitive to the image edge from the background than density edge component Is. Here, when pixels form a halftone image, the amount of edge enhancement (values of the lightness edge components VMTF 7 to 0 ) is limited according to the degree (density of halftone dots). This prevents the occurrence of moire when the halftone image is edge-emphasized.

【0129】(b-12-1-1-2)C,M,Yの印字処理中(-CM
Y/K="L") C,M,Yの印字処理にある黒エッジ部の画素について
は、エッジ強調は行わず、5×5又は3×3画素マトリ
クス内で最も小さな値のデータMIN7〜0をVIDEO
37〜30として出力する。このように、所定のマトリクス
内の最小値データをC,M,Yの画像データとすること
で、図68(a)に破線で囲まれた部分に示されるC,
M,Yデータの微細なはみ出し線を消去し、図68
(b)に破線で囲まれた部分に示す状態に変更する。図
68(a)に破線で囲まれた部分に示すC,M,Yデー
タの微細なはみ出し線を消去するのに、所定のマトリク
ス内の最小値のデータMIN7〜0を用いるのは、以下の
理由による。従来、上記微細なはみ出し線を消去するた
め、C,M,Yの各画像データの値からエッジ検出結果
(本実施例ではFL17〜10又はFL27〜20)を差し引い
たデータをC,M,Yの各画像データとして使用する複
写機があった。しかし、上記従来の複写機では、黒文字
のエッジ部分周辺のCMYデータの値まで0になってし
まい、図69(a)に示すように、黒文字のエッジ部分
周辺に白抜けが生じるといった課題があった。そこで、
本実施例では、上記所定のマトリクス内の最小値のデー
タMIN7〜0を用いることで、図68(b)に示すよう
に黒文字内部のC,M,Yの各画像データの値のみを0
にする。これにより図69(b)に示すように、白抜け
のない、エッジ強調された黒文字を印刷することができ
る。
(B-12-1-1-2) Printing process of C, M, Y (-CM
Y / K = “L”) For the pixels in the black edge portion in the C, M, and Y print processing, edge enhancement is not performed, and the data of the smallest value in the 5 × 5 or 3 × 3 pixel matrix MIN 7 ~ 0 for VIDEO
Output as 37 to 30. Thus, by setting the minimum value data in the predetermined matrix as C, M, and Y image data, C, M shown in the portion surrounded by the broken line in FIG.
68. The fine protruding line of M and Y data is erased, and FIG.
The state is changed to the state surrounded by the broken line in (b). In order to erase the fine protruding line of the C, M, Y data shown in the portion surrounded by the broken line in FIG. 68 (a), the minimum value data MIN 7 to 0 in the predetermined matrix is used. For the reason. Conventionally, in order to erase the minute protruding line, data obtained by subtracting the edge detection result (FL 17 to 10 or FL 27 to 20 in this embodiment) from the value of each image data of C, M and Y is C and M. , Y for each image data. However, in the above-mentioned conventional copying machine, the value of CMY data around the edge portion of the black character becomes 0, and as shown in FIG. 69 (a), there is a problem that white spots occur around the edge portion of the black character. It was Therefore,
In this embodiment, by using the minimum value data MIN 7 to 0 in the predetermined matrix, only the value of each image data of C, M and Y inside the black character is set to 0 as shown in FIG. 68 (b).
To As a result, as shown in FIG. 69 (b), it is possible to print black characters with no white spots and with edge enhancement.

【0130】(b-12-1-2)色エッジ部(-HLIGHT="H",-EDG
="L",-PAPA="H") 前に説明したように、本実施例の領域判別1500で
は、”(b-11-3)黒文字誤判別領域の抽出”の処理を実行
し色文字と黒文字のエッジ部分を区別する。MTF補正
部1600は、フルカラー標準モード設定時における色
エッジ部の画素については、BKトナーの印字処理中は
エッジ強調を行わずに通常の画素データSD7〜0をVI
DEO37〜30として出力する。また、C,M,Yの印字
処理中は、画素データSD7〜0に濃度エッジ成分データ
DMTF7〜0を加算したデータをVIDEO37〜30とし
て出力する。MTF補正部1600は、色文字のエッジ
部分の画素のデータに対してBK印字処理中のエッジ強
調を取りやめる。これによりエッジ強調された文字の周
囲が黒く縁取られることを排除する。
(B-12-1-2) Color edge part (-HLIGHT = "H",-EDG
"=" L ",-PAPA =" H ") As described above, in the area discrimination 1500 of the present embodiment, the processing of" (b-11-3) Extraction of black character erroneous discrimination area "is executed and the color character And the edge part of a black character are distinguished. The MTF correction unit 1600 does not perform edge enhancement on the pixels of the color edge portion when the full-color standard mode is set and performs normal pixel data SD 7 to VI on the VI edge without performing edge enhancement.
Output as DEO 37-30 . Moreover, C, M, during the printing process of the Y outputs data obtained by adding the density edge component data DMTF 7 to 0 in the pixel data SD 7 to 0 as VIDEO 37 to 30. The MTF correction unit 1600 cancels the edge enhancement during the BK printing process on the pixel data of the edge portion of the color character. This eliminates a black border around the edge-enhanced character.

【0131】(b-12-1-3)ハイライト平坦部(-HLIGHT="
L") ハイライト平坦部では、エッジ強調せず、スムージング
処理の施されたFSD7〜0を画像データVIDEO
37〜30として用いる。これによりハイライト部でのノイ
ズを目立たなくする。
(B-12-1-3) Highlight flat part (-HLIGHT = "
L ") In the flat part of the highlight, the FSD 7 to 0 that has been subjected to smoothing processing without edge enhancement is used as the image data VIDEO.
Used as 37-30 . This makes noise in the highlight part inconspicuous.

【0132】(b-12-1-4)非エッジ部(-HLIGHT="H",-EDG
="H",-PAPA="H") 非エッジ部、即ち、色べた部では、エッジ強調せず、通
常の画素データSD7〜0をVIDEO37〜30として出力
する。
(B-12-1-4) Non-edge part (-HLIGHT = "H",-EDG
"H",-PAPA = "H") In the non-edge portion, that is, in the solid-colored portion, the edge enhancement is not performed, and the normal pixel data SD 7 to 0 is output as VIDEO 37 to 30.

【0133】(b-12-2)フルカラー写真モード設定時(-BK
ER="H",-COLER="H",MODE="L")におけるMTF補正 次の表6は、フルカラー写真モード設定時に、MTF補
正パラメータ制御部1601に入力される各データの信
号レベルと、各信号レベルの意味する印字状況と、この
場合にMTFパラメータ制御部1601より出力される
DMPX0、DMPX1、DMPX5及びDMPX6の
各信号レベルとを表示する。
(B-12-2) When full-color photo mode is set (-BK
MTF correction in ER = "H",-COLER = "H", MODE = "L") Table 6 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the full color photographic mode is set. , The print statuses indicated by the signal levels and the signal levels of DMPX0, DMPX1, DMPX5, and DMPX6 output from the MTF parameter control unit 1601 in this case are displayed.

【表6】 [Table 6]

【0134】(b-12-2-1)黒エッジ部(-HLIGHT="H",-EDG
="L",-PAPA="L")及び色エッジ部(-HLIGHT="H",-EDG="
L",-PAPA="H") フルカラー写真モード設定時には、その中間調画素の階
調特性を損なわないようにするためにスムージング処理
の施されたデータFSD7〜0に濃度エッジ成分データD
MTF7〜0を加算したものを画素データVIDEO
37〜30として出力する。このようなエッジ強調処理を実
行することで、階調特性を壊さずに適切なエッジ強調を
実現する。
(B-12-2-1) Black edge part (-HLIGHT = "H",-EDG
= "L",-PAPA = "L") and color edge (-HLIGHT = "H",-EDG = "
L ",-PAPA =" H ") When the full-color photo mode is set, the density edge component data D is added to the data FSD 7 to 0 that has been smoothed so as not to impair the gradation characteristics of the halftone pixel.
Pixel data VIDEO obtained by adding MTF 7 to 0
Output as 37 to 30. By executing such edge enhancement processing, appropriate edge enhancement is realized without destroying the gradation characteristics.

【0135】(b-12-2-2)ハイライト平坦部(-HLIGHT="
L") ハイライト部では、C,M,Y,BKの印字処理中にエ
ッジ強調は行わず、スムージング処理の施されたFSD
7〜0を画素データVIDEO37〜30として出力する。こ
れによりハイライト部分でのノイズを目立たなくする。
(B-12-2-2) Highlight flat part (-HLIGHT = "
L ") In the highlight area, edge enhancement is not performed during C, M, Y, and BK printing processing, and FSD that has been subjected to smoothing processing.
7 to 0 are output as pixel data VIDEO 37 to 30. This makes noise in the highlight part less noticeable.

【0136】(b-12-2-3)非エッジ部(-HLIGHT="H",-EDG
="H",-PAPA="H") 非エッジ部、即ち、色べた部に対しては、C,M,Y,
BKの印字処理中にエッジ強調処理は行わず、スムージ
ング処理の施されたFSD7〜0をVIDEO37〜30とし
て出力する。これにより写真画像の階調特性を維持す
る。
(B-12-2-3) Non-edge part (-HLIGHT = "H",-EDG
= "H",-PAPA = "H") For non-edge parts, that is, solid parts, C, M, Y,
The edge enhancement processing is not performed during the BK printing processing, and the smoothed FSD 7 to 0 are output as VIDEO 37 to 30. This maintains the gradation characteristics of the photographic image.

【0137】(b-12-3)モノカラー標準モード設定時(-BK
ER="H",-COLER="L",MODE="H")におけるMTF補正 次の表7は、モノカラー標準モード設定時に、MTF補
正パラメータ制御部1601に入力される各データの信
号レベルと、各信号レベルの意味する印字状況と、この
場合にMTFパラメータ制御部1601より出力される
DMPX0、DMPX1、DMPX5及びDMPX6の
各信号レベルとを表示する。
(B-12-3) Mono color standard mode setting (-BK
MTF correction in ER = "H",-COLER = "L", MODE = "H") Table 7 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the mono color standard mode is set. And the print statuses that the respective signal levels mean and the respective signal levels of DMPX0, DMPX1, DMPX5 and DMPX6 output from the MTF parameter control unit 1601 in this case are displayed.

【表7】 [Table 7]

【0138】(b-12-3-1)エッジ部(-HLIGHT="H",-EDG="
L") モノカラー標準モード設定時におけるBKの印字処理中
は、エッジ強調を行わず、通常の画素データSD7〜0
VIDEO37〜30として出力する。また、C,M,Y印
字処理中には、通常の画素データSD7〜0に濃度エッジ
成分データDMTF7〜0を加算したものをVIDEO
37〜30として出力する。これにより色文字のエッジ部分
が黒く縁取られることを防止する。
(B-12-3-1) Edge part (-HLIGHT = "H", -EDG = "
L ") During the BK printing process in the mono color standard mode, the normal pixel data SD 7 to 0 are output as VIDEO 37 to 30 without performing edge enhancement. Also, during the C, M, Y printing process. Is the normal pixel data SD 7-0 added with the density edge component data DMTF 7-0.
Output as 37 to 30. This prevents the edge portion of the color character from being blackened.

【0139】(b-12-3-2)ハイライト平坦部(-HLIGHT="
L")及び非エッジ部(-HLIGHT="H",-EDG="H") ハイライト平坦部では、C,M,Y,BKの印字処理中
にエッジ強調処理は行われず、スムージング処理の施さ
れたFSD7〜0をVIDEO37〜30として出力する。こ
れによりハイライト部分でのノイズを目立たなくする。
また、非エッジ部、即ち、色べた部に対してはエッジ強
調は行わず、C,M,Y,BKの印字処理中にエッジ強
調処理は行われず、スムージング処理の施されたFSD
7〜0をVIDEO37〜30として出力する。
(B-12-3-2) Highlight flat part (-HLIGHT = "
L ") and non-edge part (-HLIGHT =" H ", -EDG =" H ") In the highlight flat part, edge enhancement processing is not performed during C, M, Y, and BK printing processing, and smoothing processing is performed. The applied FSD 7 to 0 are output as VIDEO 37 to 30. This makes noise in the highlight portion inconspicuous.
Further, the edge enhancement is not performed on the non-edge portion, that is, the solid color portion, the edge enhancement processing is not performed during the printing processing of C, M, Y, and BK, and the smoothed FSD is performed.
7 ~ 0 is output as VIDEO 37 ~ 30 .

【0140】(b-12-4)モノカラー写真モード設定時(-BK
ER="H",-COLER="L",MODE="L")におけるMTF補正 次の表8は、モノカラー写真モード設定時に、MTF補
正パラメータ制御部1601に入力される各データの信
号レベルと、各信号レベルの意味する印字状況と、この
場合にMTFパラメータ制御部1601より出力される
DMPX0、DMPX1、DMPX5及びDMPX6の
各信号レベルとを表示する。
(B-12-4) Mono-color photo mode setting (-BK
MTF correction in ER = "H", -COLER = "L", MODE = "L") Table 8 below shows the signal level of each data input to the MTF correction parameter control unit 1601 when the mono-color photo mode is set. And the print statuses that the respective signal levels mean and the respective signal levels of DMPX0, DMPX1, DMPX5 and DMPX6 output from the MTF parameter control unit 1601 in this case are displayed.

【表8】 [Table 8]

【0141】(b-12-4-1)エッジ部(-HLIGHT="H",-EDG="
L") モノカラー写真モード設定時には、その中間調画素の階
調特性を損なわないようにするため画素データとしてス
ムージング処理の施されたデータFSD7〜0を使用す
る。エッジの強調は、C,M,Yの印字処理中において
のみデータFSD7〜0に濃度エッジ強調成分DMTF
7〜0を加算して行われる。このようにすることで、色文
字のエッジ部分が黒く縁取られることを防止する。
(B-12-4-1) Edge part (-HLIGHT = "H", -EDG = "
L ") When the mono-color photographic mode is set, smoothed data FSD 7 to 0 is used as pixel data so as not to impair the gradation characteristics of the halftone pixel. The density edge enhancement component DMTF is added to the data FSD 7 to 0 only during the printing process of M and Y.
It is performed by adding 7 to 0 . By doing so, it is possible to prevent the edge portion of the color character from being blacked.

【0142】(b-12-4-2)ハイライト平坦部(-HLIGHT="
L")及び非エッジ部(-HLIGHT="H",-EDG="H") ハイライト平坦部では、C,M,Y,BKの印字処理中
にエッジ強調処理は行われず、スムージング処理の施さ
れたFSD7〜0をVIDEO37〜30として出力する。こ
れによりハイライト部分でのノイズを目立たなくする。
また、非エッジ部、即ち、色べた部に対しては、C,
M,Y,BKの印字処理中にエッジ強調処理は行われ
ず、スムージング処理の施されたFSD7〜0をVIDE
37〜30として出力する。
(B-12-4-2) Highlight flat part (-HLIGHT = "
L ") and non-edge part (-HLIGHT =" H ", -EDG =" H ") In the highlight flat part, edge enhancement processing is not performed during C, M, Y, and BK printing processing, and smoothing processing is performed. The applied FSD 7 to 0 are output as VIDEO 37 to 30. This makes noise in the highlight portion inconspicuous.
For the non-edge part, that is, the solid part, C,
The edge enhancement processing is not performed during the M, Y, and BK printing processing, and the smoothed FSD 7 to 0 are set to VIDE.
Output as O 37-30 .

【0143】(b-12-5)モノクロ標準モード設定時(-BKER
="L",MODE="H")におけるMTF補正 次の表9は、モノクロ標準モード設定時に、MTF補正
パラメータ制御部1601に入力される各データの信号
レベルと、各信号レベルの意味する印字状況と、この場
合にMTFパラメータ制御部1601より出力されるD
MPX0、DMPX1、DMPX5及びDMPX6の各
信号レベルとを表示する。
(B-12-5) Monochrome standard mode setting (-BKER
MTF correction in "L", MODE = "H") The following Table 9 shows the signal level of each data input to the MTF correction parameter control unit 1601 when the monochrome standard mode is set and the print meaning of each signal level. The situation and D output from the MTF parameter control unit 1601 in this case
The signal levels of MPX0, DMPX1, DMPX5, and DMPX6 are displayed.

【表9】 [Table 9]

【0144】(b-12-5-1)エッジ部(-HLIGHT="H",-EDG="
L") モノクロ標準モードの設定時には、画素データとして通
常のデータSD7〜0を使用し、エッジの強調は、BKの
印字処理中に明度エッジ成分VMTF7〜0を上記データ
SD7〜0に加算して行う。C,M,Y印字処理中は、エ
ッジ強調を行わない。
(B-12-5-1) Edge part (-HLIGHT = "H", -EDG = "
L ") When the monochrome standard mode is set, normal data SD 7 to 0 is used as pixel data, and edge emphasis is performed by changing the lightness edge component VMTF 7 to 0 into the data SD 7 to 0 during the BK printing process. Edge addition is not performed during C, M, and Y print processing.

【0145】(b-12-5-2)ハイライト平坦部(-HLIGHT="
L")及び非エッジ部(-HLIGHT="H",-EDG="H") ハイライト平坦部では、C,M,Y,BKの印字処理中
にエッジ強調処理は行われず、スムージング処理の施さ
れたFSD7〜0をVIDEO37〜30として出力する。こ
れによりハイライト部分でのノイズを目立たなくする。
また、非エッジ部に対しては、C,M,Y,BKの印字
処理中にエッジ強調処理を行わず、通常のデータSD
7〜0をVIDEO37〜30として出力する。
(B-12-5-2) Highlight flat part (-HLIGHT = "
L ") and non-edge part (-HLIGHT =" H ", -EDG =" H ") In the highlight flat part, edge enhancement processing is not performed during C, M, Y, and BK printing processing, and smoothing processing is performed. The applied FSD 7 to 0 are output as VIDEO 37 to 30. This makes noise in the highlight portion inconspicuous.
For the non-edge portion, the edge enhancement processing is not performed during the printing processing of C, M, Y, and BK, and the normal data SD is used.
7 ~ 0 is output as VIDEO 37 ~ 30 .

【0146】(b-12-6)モノクロ写真モード設定時におけ
るMTF補正 次の表10は、モノクロ写真モード設定時に、MTF補
正パラメータ制御部1601に入力される各データの信
号レベルと、各信号レベルの意味する印字状況と、この
場合にMTFパラメータ制御部1601より出力される
DMPX0、DMPX1、DMPX5及びDMPX6の
各信号レベルとを表示する。
(B-12-6) MTF correction in monochrome photography mode setting The following table 10 shows the signal level of each data input to the MTF correction parameter control section 1601 and each signal level in the monochrome photography mode setting. And the signal levels of DMPX0, DMPX1, DMPX5, and DMPX6 output from the MTF parameter control unit 1601 in this case are displayed.

【表10】 モノクロ写真モード設定時には、その中間調画素の階調
特性を損なわないようにするため、画像データとしてス
ムージング処理の施されたデータFSD7〜0を使用す
る。エッジの強調は、上記スムージング処理の施された
データFSD7〜0に濃度エッジ成分データDMTF7〜0
を加算して行われる。ハイライト平坦部及び非エッジ部
では、その中間調画素の階調特性を損なわないようにす
るため、画像データとしてスムージング処理の施された
データFSD 7〜0を使用する。
[Table 10]When set to monochrome photography mode, the gradation of the halftone pixel
In order not to damage the characteristics, the image data is
Data FSD with smoothing processing7 ~ 0Use
It The edges are emphasized with the smoothing process described above.
Data FSD7 ~ 0Concentration edge component data DMTF7 ~ 0
Is done by adding. Highlight flat area and non-edge area
Then, make sure not to impair the gradation characteristics of the halftone pixel.
Therefore, smoothing processing was applied as image data.
Data FSD 7 ~ 0To use.

【0147】(b-12-7)MTF補正部1600の説明 次に、図60及び図61に示すMTF補正部1600の
構成に基づいて、MTF補正部1600の実行するMT
F補正について説明する。MTF補正パラメータ制御部
1601には、前に説明した領域判別部1500より各
1ビットの−AMI0信号〜−AMI3信号、−HLI
GHT信号、−EDG信号、−PAPA信号、−MAM
A信号とが入力される。更に、制御部1601には、各
1ビットのMODE信号、−CMY/K信号、−BKE
R信号そして−COLER信号が入力される。MODE
信号は、原稿の種類を表す信号であり、写真モードの場
合には”L”であり、通常モードの場合には”H”であ
る。−CMY/K信号は、印字状況を示す状態信号であ
り、C(シアン),M(マゼンタ),Y(イエロー)の
トナーについての印字処理中は”L”であり、BK(ブ
ラック)のトナーについての印字処理中は”H”であ
る。−BKER信号は、モノクロモードで信号処理を実
行することを要求する信号である。−COLER信号
は、モノカラーモードで信号処理をすることを要求する
1ビットの信号である。−BKER信号及び−COLE
R信号は、エリア信号である。MTF補正パラメータ制
御部1601は、入力される上記8種類の信号の値に基
づいて、上記「表5」〜「表10」に示すようにDMP
X0〜DMPX6を出力すると共に、次の「表11」に
示すようにLIMOSを出力する。
(B-12-7) Description of MTF Correction Unit 1600 Next, based on the configuration of the MTF correction unit 1600 shown in FIGS. 60 and 61, the MT executed by the MTF correction unit 1600 will be described.
The F correction will be described. The MTF correction parameter control unit 1601 has the -AM0 signal to the -AMI3 signal of 1 bit each, -HLI from the area discrimination unit 1500 described above.
GHT signal, -EDG signal, -PAPA signal, -MAM
A signal and are input. Further, the control unit 1601 is provided with a 1-bit MODE signal, -CMY / K signal, -BKE.
The R signal and the -COLER signal are input. MODE
The signal is a signal indicating the type of document, and is "L" in the photo mode and "H" in the normal mode. The CMY / K signal is a status signal indicating the printing status, and is “L” during the printing process for the C (cyan), M (magenta), and Y (yellow) toners, and the BK (black) toner. Is "H" during the printing process. The -BKER signal is a signal that requests signal processing to be executed in the monochrome mode. The -COLER signal is a 1-bit signal that requests signal processing in the mono color mode. -BKER signal and -COLE
The R signal is an area signal. The MTF correction parameter control unit 1601 uses the values of the eight types of input signals as described above to perform DMP as shown in Tables 5 to 10 above.
In addition to outputting X0 to DMPX6, LIMOS is output as shown in "Table 11" below.

【表11】 LIMOS信号は、イメージデータに対するレーザダイ
オードの発光デューティ比を変更する信号である。ここ
で、発光デューティ比とは、画素クロックが1サイクル
する間にレーザ発光しない期間を設けた場合におけるレ
ーザ発光期間の割合をいう。また、レーザダイオードの
発光デューティ比の変更とは、画素クロック1周期中に
所定の割合の非発光期間を設けることをいう。図62
は、画素クロックに同期して送られてくるイメージデー
タの値に対応して生成される発光デューティ非100%
のLD駆動信号と、制限パルスにより発光デューティ比
を80%に制限されたLD駆動信号とを示す図である。
本実施例では、LIMOS=”L”の場合に発光デュー
ティ比を、100%に設定する。また、LIMOS=”
H”の場合に発光デューティ比を、80%に設定する。
表示されるように、MODE=”H”の場合、即ち標準
モード設定時におけるエッジ部(−MAMA=”L”)
及び網点部(−AMI0=”L”)の画素に対してはL
IMOS=”L”を設定する。これにより、エッジ部分
や網点部分の再現性を向上させる。一方、標準モード設
定時における非エッジ部及び写真モード設定時には、L
IMOS=”H”として非発光期間を設ける。これによ
り、主走査方向に生じるライン間ノイズを目立たなくす
る。
[Table 11] The LIMOS signal is a signal for changing the light emission duty ratio of the laser diode with respect to the image data. Here, the light emission duty ratio means the ratio of the laser light emission period in the case where a period in which the laser light is not emitted is provided during one cycle of the pixel clock. Further, changing the light emission duty ratio of the laser diode means providing a non-light emitting period of a predetermined ratio in one cycle of the pixel clock. FIG. 62
Is the non-100% light emission duty generated corresponding to the value of the image data sent in synchronization with the pixel clock.
FIG. 3 is a diagram showing the LD drive signal and the LD drive signal whose light emission duty ratio is limited to 80% by a limiting pulse.
In this embodiment, the light emission duty ratio is set to 100% when LIMOS = “L”. Also, LIMOS = ""
In the case of "H", the light emission duty ratio is set to 80%.
As shown, in the case of MODE = "H", that is, the edge part (-MAMA = "L") when the standard mode is set.
And L for the pixel of the halftone dot part (-AMI0 = "L")
Set IMOS = "L". This improves the reproducibility of the edge portion and the halftone dot portion. On the other hand, when the standard mode is set, the non-edge portion and the photo mode are set to L
A non-light emitting period is provided with IMOS = “H”. As a result, line-to-line noise generated in the main scanning direction is made inconspicuous.

【0148】MODE信号、−CMY/K信号、−BK
ER信号及び−COLER信号は、そのままNANDゲ
ート1602に入力され、−PAPA信号は、反転され
た後にNANDゲート1602に入力される。これらの
5つの信号が入力されたNANDゲート1602は、D
MPX7信号をセレクタ1603のS端子に出力する。
NANDゲート1602は、MODE信号、−CMY/
K信号、−BKER信号及び−COLER信号が”H”
であって、−PAPA信号が”L”の場合にのみ”L”
の信号を出力する。即ち、ANDゲート1602は、フ
ルカラー標準コピーモード設定時であって、黒エッジ部
のBK印字処理中にのみ”L”の信号をセレクタ160
3のS端子に出力する。セレクタ1603は、”H”信
号の入力に対して濃度データVIDEO7〜0を出力
し、”L”信号の入力に対してマスキング処理の施され
た明度データMVIDEOを出力する。
MODE signal, -CMY / K signal, -BK
The ER signal and the -COLER signal are directly input to the NAND gate 1602, and the -PAPA signal is inverted and then input to the NAND gate 1602. The NAND gate 1602 to which these five signals are input is D
The MPX7 signal is output to the S terminal of the selector 1603.
The NAND gate 1602 has a MODE signal, -CMY /
K signal, -BKER signal and -COLER signal are "H"
And only when the -PAPA signal is "L", "L"
The signal of is output. That is, the AND gate 1602 outputs the signal of “L” to the selector 160 only when the full color standard copy mode is set and the BK printing process of the black edge portion is performed.
Output to the S terminal of 3. The selector 1603 outputs the density data VIDEO 7 to 0 in response to the input of the “H” signal, and outputs the brightness data MVIDEO subjected to the masking process in response to the input of the “L” signal.

【0149】セレクタ1603のA端子にはマスキング
処理された画像データMVIDEO 7〜0がC,M,Y,
Kの順で入力され、B端子には、濃度変換されたVID
EO7〜0データがC,M,Y,Kの順で入力される。セ
レクタ1603より出力されるデータは、それぞれ5×
5マトリクスのデータを形成するラインメモリ1604
を介してラプラシアンフィルタ1605、スムージング
フィルタ1607〜1609、5×5マトリクス最小値
検出フィルタ1612、3×3マトリクス最小値検出フ
ィルタ1613、そしてプリンタエッジ補正部1615
に入力される。
Masking is applied to the A terminal of the selector 1603.
Processed image data MVIDEO 7 ~ 0Is C, M, Y,
Input in the order of K, and the density converted VID is input to the B terminal
EO7 ~ 0Data is input in the order of C, M, Y, K. SE
The data output from the lector 1603 is 5 ×
Line memory 1604 for forming 5 matrix data
Laplacian filter 1605 via smoothing
Filters 1607 to 1609, 5 × 5 matrix minimum value
Detection filter 1612, 3 × 3 matrix minimum value detection filter
Filter 1613 and printer edge correction unit 1615
Entered in.

【0150】ラプラシアンフィルタ1605は、図63
に示すフィルタであり、中央に位置する注目画素のデー
タを強調データに変換する。ラプラシアンフィルタ16
05より出力されたデータは次のDMTFテーブル16
06に入力される。DMTFテーブル1606は、図6
4に示す変換を実行して濃度エッジ成分データDMTF
7〜0を出力する。.
The Laplacian filter 1605 is shown in FIG.
The filter shown in FIG. 3 converts the data of the pixel of interest located in the center into the emphasis data. Laplacian filter 16
The data output from 05 is the next DMTF table 16
It is input to 06. The DMTF table 1606 is shown in FIG.
The density edge component data DMTF is executed by performing the conversion shown in FIG.
Outputs 7 to 0 . .

【0151】スムージングフィルタ1607〜1609
は、入力されるデータを、それぞれ300dpi、20
0dpi及び100dpi相当にまで平滑化するフィル
タであり、例えば、図65〜図67に示すフィルタを用
いる。各フィルタによりスムージング処理の施された各
データは、スムージングしていないデータと共にスムー
ジングフィルタ制御部1610に入力される。スムージ
ングフィルタ制御部1601は、HVC変換部1100
より出力されるシャープネス切換信号SH2〜0が入力さ
れる。このシャープネス切換信号SH2〜0は、図34に
示した画質制御回路1103にて設定される信号であ
る。スムージングフィルタ制御部1610は、入力され
たシャープネス切換信号SH2〜0の値に応じてスムージ
ングされていないデータ及びスムージングフィルタ16
07〜1609によりスムージングされたデータから該
当するデータを選択してSD7〜0として出力する。また
シャープネス切換信号SH2〜0は、エッジ強調係数制御
部1611から出力される8種類のエッジ強調係数ED
7〜0をリアルタイム(1画素毎)に切り換えることがで
き、複数のシャープネスを同時に8エリアまで変更する
ことができる。
Smoothing filters 1607 to 1609
Inputs the input data to 300 dpi and 20 dpi, respectively.
It is a filter that smoothes to 0 dpi and 100 dpi, and for example, the filters shown in FIGS. 65 to 67 are used. Each data that has been smoothed by each filter is input to the smoothing filter control unit 1610 together with the data that has not been smoothed. The smoothing filter control unit 1601 includes an HVC conversion unit 1100.
The sharpness switching signals SH 2 to SH 0 to be output are input. The sharpness switching signals SH2-0 are signals set by the image quality control circuit 1103 shown in FIG. The smoothing filter control unit 1610 is configured to smooth the data and the smoothing filter 16 that are not smoothed according to the values of the input sharpness switching signals SH 2 to 0.
Corresponding data is selected from the data smoothed by 07 to 1609 and output as SD 7 to 0 . Further, the sharpness switching signals SH 2 to 0 are the eight types of edge enhancement coefficient ED output from the edge enhancement coefficient control unit 1611.
7-0 can be switched in real time (every 1 pixel), and multiple sharpness can be changed up to 8 areas at the same time.

【0152】5×5マトリクス最小値検出フィルタ16
12及び3×3マトリクス最小値検出フィルタ1613
では、各マトリクスの中央に注目画素を配置した場合の
当該マトリクス内にあるデータの最小値を出力するフィ
ルタである。最小値検出フィルタ1612及び1613
から出力される最小値データは、セレクタ1614に入
力される。セレクタ1614は、フィルタ選択信号FS
EL2の値に応じて上記入力される最小値データの内の
何れか一方のデータを選択し、MIN7〜0として出力す
る。フィルタ選択信号FSEL7〜0の値は、実験的に定
められる。このように、所定の画素マトリクス内の最小
値データを注目画素のデータとすれば、線の細い文字部
は削除されることとなる。即ち、図68(a)に破線で
囲まれた部分に示されるC,M,Yデータの微細なはみ
出し線を消去し、図68(b)に破線で囲まれた部分に
示す状態に変更する。図68(a)に破線で囲まれた部
分に示すC,M,Yデータの微細なはみ出し線を消去す
るのに、所定のマトリクス内の最小値のデータMIN
7〜0を用いるのは、以下の理由による。従来、上記微細
なはみ出し線を消去するため、CMYデータの値からエ
ッジ検出結果FL17〜10又はFL27〜20を差し引いたデ
ータをC,M,Yの画像データとして使用する複写機が
あった。しかし、上記従来の複写機では、黒文字のエッ
ジ部分周辺のCMYデータの値まで0になってしまい、
図69(a)に示すように、黒文字のエッジ部分周辺に
白抜けが生じる。そこで、本実施例では、上記所定のマ
トリクス内の最小値のデータMIN7〜0を用いること
で、図68(b)に示すように黒文字内部のCMYデー
タの値のみを0にする。これにより図69(b)に示す
ように、白抜けのない、エッジ強調された黒文字を印刷
することができる。
5 × 5 matrix minimum value detection filter 16
12 and 3 × 3 matrix minimum value detection filter 1613
Is a filter that outputs the minimum value of the data in the matrix when the target pixel is arranged in the center of each matrix. Minimum value detection filters 1612 and 1613
The minimum value data output from is input to the selector 1614. The selector 1614 has a filter selection signal FS.
Depending on the value of EL2, one of the input minimum value data is selected and output as MIN 7-0 . The value of the filter selection signal FSEL 7 to 0 are determined experimentally. In this way, if the minimum value data in the predetermined pixel matrix is used as the data of the target pixel, the thin line character portion will be deleted. That is, the fine protruding line of the C, M, Y data shown in the portion surrounded by the broken line in FIG. 68A is erased, and the state is changed to the state shown in the portion surrounded by the broken line in FIG. 68B. . Data MIN of the minimum value in a predetermined matrix is used to erase the fine protruding line of C, M, Y data shown in the portion surrounded by the broken line in FIG.
The reason for using 7 to 0 is as follows. Conventionally, there is a copying machine which uses data obtained by subtracting the edge detection result FL 17 to 10 or FL 27 to 20 from the value of CMY data as C, M, and Y image data in order to erase the fine protruding line. . However, in the above conventional copying machine, the CMY data value around the edge portion of the black character becomes 0,
As shown in FIG. 69 (a), white spots occur around the edge portion of the black character. Therefore, in this embodiment, by using the minimum value data MIN 7 to 0 in the predetermined matrix, only the value of the CMY data inside the black character is set to 0 as shown in FIG. 68 (b). As a result, as shown in FIG. 69 (b), it is possible to print black characters with no white spots and with edge enhancement.

【0153】プリンタエッジ補正部1615は、感光体
ドラムに形成されたトナー像を複写紙に転写する際に生
じる印字特性を考慮に入れたエッジ補正処理を実行す
る。ここで、印字特性とは、例えば文字のエッジ部で
は、エッジの両端部に同量のトナーが付着すべきである
のに対して、その印字開始位置には多めのトナーが付着
する一方で、エッジの終端部分では、逆にトナーがかす
れ気味になることをいう。これは、エッジの立ち上がり
または立ち下がりの程度が大きく、かつ下地となる立ち
上がり前の画素のデータの値がほぼ0であると見なされ
るような場合に発生する。これに対して、エッジ補正
は、図70(a)に示すように、所定のデータ値を持つ
エッジ部分のデータに対して、斜線で示す領域のデータ
を付加して行われる。図70(b)に実線で補正前に用
紙に付着するトナーの量を示すと共に、点線で補正後の
用紙に付着するトナーの量とを示す。図示するように、
補正後では、エッジの立ち上がり部分でのトナーのつき
過ぎ、及び立ち下がり部分でのトナーのかすれが軽減さ
れる。
The printer edge correction unit 1615 executes an edge correction process in consideration of the printing characteristics that occur when the toner image formed on the photosensitive drum is transferred onto a copy sheet. Here, the printing characteristics, for example, at the edge portion of the character, while the same amount of toner should be attached to both ends of the edge, while a large amount of toner is attached to the print start position, On the contrary, it means that the toner becomes faint at the end portion of the edge. This occurs when the degree of rising or falling of the edge is large and the value of the pixel data before rising, which is the base, is considered to be almost zero. On the other hand, the edge correction is performed by adding the data in the hatched area to the data in the edge portion having the predetermined data value, as shown in FIG. In FIG. 70B, the solid line shows the amount of toner attached to the sheet before correction, and the dotted line shows the amount of toner attached to the sheet after correction. As shown
After the correction, too much toner is attached at the rising portion of the edge, and toner blurring at the falling portion is reduced.

【0154】図71は、プリンタエッジ補正部1615
の構成図である。減算器1650は、中心画素のデータ
を(L)で表した場合に、(L+1)番目の画素のデー
タから(L)番目のデータを差し引いた値を求める。ま
た、減算器1651は、(L−1)番目のデータから
(L)番目のデータを差し引いた値を求める。比較器1
653は、減算器1650で求められた差が所定の基準
値REF17〜10よりも大きな場合には、”L”の信号を
0端子に出力する。また、比較器1654は、減算器
1651で求められた差が所定の基準値REF27〜20
りも大きな場合には、”L”の信号をS1端子に出力す
る。また、比較器1652は、(L)番目のデータと基
準値REF37〜30とを比較する。ここで、(L)番目の
データの値が基準値REF37〜30よりも小さい場合に
は、”L”の信号をS2端子に出力する。S2、S1及び
0の3つの端子に”L”が入力された場合、当該画素
は、図72(b)に示すようにエッジの谷間にあり、か
つ所定値以下のデータであることが分かる。この場合、
セレクタ1655は、加算データPD7〜0をADD
17〜10として出力する。また、S1の端子に”H”の信
号が入力され、S0及びS2の端子に”L”の信号が入力
された場合、当該画素は、図72(a)に示すようにエ
ッジの立ち上がり部分であり、かつ所定値以下の画素で
あることがわかる。この場合、セレクタ1655は、加
算データPD17〜10をADD17〜10として出力する。ま
た、S0の端子に”H”の信号が入力され、S1及びS2
の端子に”L”が入力された場合、当該画素は、図72
(c)に示すように、エッジの立ち下がり部分であり、
かつ所定値以下の画素であることが分かる。この場合、
セレクタ1655は、加算データPD27〜20をADD
17〜10として出力する。セレクタ1655は、S2
子、S1端子及びS0端子に入力される各信号が上記組み
合わせ以外の場合には全て値0のデータをADD17〜10
として出力する。
FIG. 71 shows the printer edge correction unit 1615.
FIG. When the data of the central pixel is represented by (L), the subtractor 1650 obtains a value obtained by subtracting the (L) th data from the data of the (L + 1) th pixel. Further, the subtractor 1651 obtains a value obtained by subtracting the (L) -th data from the (L-1) -th data. Comparator 1
When the difference obtained by the subtracter 1650 is larger than the predetermined reference values REF 17 to 10, 653 outputs a signal of "L" to the S 0 terminal. Further, the comparator 1654 outputs an “L” signal to the S 1 terminal when the difference obtained by the subtractor 1651 is larger than the predetermined reference values REF 27 to 20. Further, the comparator 1652 compares the (L) th data with the reference values REF 37 to 30. Here, when the value of the (L) th data is smaller than the reference value REF 37 to 30 , the "L" signal is output to the S 2 terminal. When “L” is input to the three terminals of S 2 , S 1 and S 0 , the pixel is in the valley of the edge as shown in FIG. 72 (b) and the data is less than the predetermined value. I understand. in this case,
The selector 1655 ADD the addition data PD 7 to 0 .
Output as 17 to 10. Further, the signal of "H" to the terminal of S 1 is entered, if the signal of "L" to the terminals of the S 0 and S 2 are input, the pixel is an edge as shown in FIG. 72 (a) It can be seen that the pixel is the rising portion and is equal to or less than the predetermined value. In this case, the selector 1655 outputs the addition data PD 17-10 as ADD 17-10 . Also, the "H" signal is input to the terminal of S 0 , and S 1 and S 2
When “L” is input to the terminal of
As shown in (c), it is the trailing edge of the edge,
It can be seen that the number of pixels is less than or equal to the predetermined value. in this case,
The selector 1655 ADDs the addition data PD 27 to 20.
Output as 17 to 10. The selector 1655, S 2 terminal, the signal input to the S 1 terminal and S 0 terminal the data of all values 0 if other than the above combinations ADD from 17 to 10
Output as

【0155】更に、図61に示すMTF補正部の構成に
基づいて、MTF補正部1600の実行するMTF補正
について説明する。図示するセレクタ1616及びセレ
クタ1617は、前述したように、印字処理にある画素
の種類に応じて明度エッジ成分データVMTF7〜0、濃
度エッジ成分データDMTF7〜0もしくはエッジ強調量
0のデータから適当なデータを選択してエッジ強調成分
データUSM7〜0として出力する。セレクタ1616及
びセレクタ1617には、MTF補正パラメータ制御部
1610より出力されるDMPX0及びDMPX1がそ
れぞれ入力される。DMPX0及びDMPX1は、各モ
ード設定時における印字処理中にある画素の種類に応じ
て前に説明した「表5」〜「表10」に示すように出力
される。
Further, the MTF correction executed by the MTF correction unit 1600 will be described based on the configuration of the MTF correction unit shown in FIG. As described above, the selectors 1616 and 1617 shown in the figure are suitable from the data of the lightness edge component data VMTF 7 to 0 , the density edge component data DMTF 7 to 0 or the edge emphasis amount 0 according to the type of the pixel in the printing process. Data is selected and output as edge emphasis component data USM 7-0 . DMPX0 and DMPX1 output from the MTF correction parameter control unit 1610 are input to the selector 1616 and the selector 1617, respectively. DMPX0 and DMPX1 are output as shown in "Table 5" to "Table 10" described above according to the type of pixel in the printing process in each mode setting.

【0156】また、セレクタ1622及びセレクタ16
23は、領域判別部1500より入力される網点判別結
果−AMI0〜−AMI3に基づいてエッジ強調係数E
7〜0を抑制して出力する。セレクタ1622のD端子
に入力されるエッジ強調係数ED7〜0はCPU1により
設定される信号であり、エッジ強調の程度(シャープネ
ス)を制御する係数である。また、セレクタ1623の
A端子〜C端子には、それぞれ、係数ED7〜0信号を1
/4倍,2/4倍,3/4倍にしたデータが入力され
る。MTF補正パラメータ制御部1601より、セレク
タ1622にはDMPX2及びDMPX3が入力され、
セレクタ1623にはDMPX4が入力される。DMP
X2〜DMPX4は、次の「表12」に示すように−A
MI0〜−AMI3の値に基づいて出力される。−AM
I0〜−AMI3の全てが”H”である場合、即ち、領
域判別部1500で網点画像でないと判別された場合に
は、エッジ強調係数ED7〜0をそのままED17〜10とし
て演算器1618に出力する。前に説明したように領域
判別部1500では、網点の度合いが高くなるのに従
い、−AMI0、−AMI1、−AMI2、−AMI3
を順に”L”に切り換えて出力する。MTF補正パラメ
ータ制御部1601では、この網点度に応じてA端子〜
C端子に入力されたデータを選択して出力する。
In addition, the selector 1622 and the selector 16
23 is an edge emphasis coefficient E based on the halftone dot discrimination results -AMI0 to -AMI3 input from the area discrimination unit 1500.
D 7 to 0 are suppressed and output. The edge enhancement coefficients ED 7 to 0 input to the D terminal of the selector 1622 are signals set by the CPU 1 and control the degree of edge enhancement (sharpness). Further, the coefficient ED 7 to 0 signals are respectively set to 1 to A terminal to C terminal of the selector 1623.
Data that has been multiplied by / 4, 2/4, and 3/4 is input. DMPF2 and DMPX3 are input to the selector 1622 from the MTF correction parameter control unit 1601,
DMPX4 is input to the selector 1623. DMP
X2 to DMPX4 are -A as shown in the following "Table 12".
It is output based on the values of MI0 to -AMI3. -AM
If all I0~-AMI3 is "H", i.e., if it is determined not to be a halftone image area determination unit 1500, the arithmetic unit edge emphasis coefficient ED 7 to 0 as it ED 17-10 1618 Output to. As described above, in the area discriminating unit 1500, -AMI0, -AMI1, -AMI2, -AMI3 increases as the degree of halftone dots increases.
Are sequentially switched to "L" and output. In the MTF correction parameter control unit 1601, the A terminal to
The data input to the C terminal is selected and output.

【表12】 演算器1618は、エッジ強調量USM7〜0にエッジ強
調係数ED17〜10を掛け合わせて得られるデータをエッ
ジ強調量USM17〜10として出力する。
[Table 12] Calculator 1618 outputs the data obtained by multiplying the edge emphasis coefficient ED from 17 to 10 to the amount of edge enhancement USM 7 to 0 as the edge enhancement amount USM from 17 to 10.

【0157】セレクタ1626及びセレクタ1627に
は、MTF補正パラメータ制御部1601より出力され
るDMPX5及びDMPX6がそれぞれ入力される。こ
こでは、印字に用いる画像データを、印字処理にある画
素の種類に応じて通常の画素データSD7〜0、スムージ
ング処理の施されたデータFSD7〜0、図60に示した
セレクタ1614より出力されるデータMIN7〜0より
選択してVIDEO17〜10として出力する。DMPX5
及びDMPX6は、各モード設定時における印字処理中
にある画素の種類に応じて前に説明した「表5」〜「表
10」に示すように出力される。
DMPX5 and DMPX6 output from the MTF correction parameter control unit 1601 are input to the selector 1626 and the selector 1627, respectively. Here, the image data used for printing is output from the normal pixel data SD 7 to 0 , the smoothed data FSD 7 to 0 , and the selector 1614 shown in FIG. The selected data MIN 7 to 0 is output as VIDEO 17 to 10. DMPX5
And DMPX6 are output as shown in "Table 5" to "Table 10" described above according to the type of pixel in the printing process in each mode setting.

【0158】加算器1624は、エッジ強調量USM
17〜10を画素データVIDEO17〜10に加算し、これを
VIDEO27〜20として出力する。加算器1628は、
VIDEO27〜20にプリンタエッジ補正部1615より
出力される加算データADD17〜10を加算し、これをV
IDEO37〜30として出力する。前に説明したように、
加算データADD17〜10は、エッジの立ち上がりまたは
立ち下がり部分にある画素のデータに対して加算するデ
ータである。
The adder 1624 determines the edge emphasis amount USM.
17 to 10 are added to the pixel data VIDEO 17 to 10, and this is output as VIDEO 27 to 20. The adder 1628 is
Addition data ADD 17 to 10 output from the printer edge correction unit 1615 are added to VIDEO 27 to 20 , and this is added to V
Output as IDEO 37 ~ 30 . As I explained before,
The addition data ADD 17 to 10 are data to be added to the pixel data at the rising or falling edge portion.

【0159】(b-12)γ補正部 MTF補正後のイメージデータ(VIDEO37〜30
は、図73に示すγ補正部1700に入力される。γ補
正部1700では、使用者の好みに応じてγカーブを変
更し、所望する画質のデータに変更して出力する。VI
DEO37〜30は、γカーブ切換信号GA2〜0と共にγ補
正テーブル1702に入力される。γカーブ切換信号G
2〜0は、図34に示した画質制御回路1103にて設
定される信号である。γ補正テーブル1702は、γカ
ーブ切換信号GA2〜0をテーブルのBANK信号として
8種類の階調カーブをリアルタイムに切り換えることが
できる。この8種類の階調カーブを図74及び図75に
示す。図74は、明暗調整モード設定時のγカーブ切換
信号GA2〜0の値に対応する階調カーブを示す。また、
図75は、コントラスト調整モード設定時のγカーブ切
換信号GA2〜0に対応する階調カーブを示す。γ補正テ
ーブル1702では、γカーブ切換信号GA2〜0により
選択された階調カーブに従い、VIDEO37〜30のデー
タDin7〜0に対応するデータDout7〜0をVIDEO
47〜40として出力する。γ補正テーブル1702より出
力されたVIDEO47〜40は、演算器1703及び17
04において、次の「数22」に示す演算が施される。
(B-12) γ correction section Image data after MTF correction (VIDEO 37 to 30 )
Is input to the γ correction unit 1700 shown in FIG. 73. The γ correction unit 1700 changes the γ curve according to the preference of the user, changes it to data of desired image quality, and outputs it. VI
The DEOs 37 to 30 are input to the γ correction table 1702 together with the γ curve switching signals GA 2 to 0 . γ curve switching signal G
A 2 to 0 are signals set by the image quality control circuit 1103 shown in FIG. The γ correction table 1702 can switch eight kinds of gradation curves in real time by using the γ curve switching signals GA 2 to 0 as BANK signals of the table. These eight types of gradation curves are shown in FIGS. 74 and 75. FIG. 74 shows a gradation curve corresponding to the values of the γ curve switching signals GA 2 to 0 when the brightness adjustment mode is set. Also,
FIG. 75 shows a gradation curve corresponding to the γ curve switching signals GA 2 to 0 when the contrast adjustment mode is set. In the γ correction table 1702, the data Dout 7 to 0 corresponding to the data Din 7 to 0 of VIDEO 37 to 30 is converted into VIDEO according to the gradation curve selected by the γ curve switching signals GA 2 to 0 .
Output as 47-40 . The VIDEO 47 to 40 output from the γ correction table 1702 are the operation units 1703 and 17
In 04, the operation shown in the following "Equation 22" is performed.

【数22】VIDEO77〜70=(VIDEO47〜40−U
DC7〜0)×GDC7〜0/128 (但し、値が256を越える場合には、VIDEO
77〜70=256とする。) ここで、下地除去データUDC7〜0及び傾き補正データ
GDC7〜0は、次の「表13」に示すように、CO2〜0
に対応してカラーバランス制御部701が出力する8種
類のデータである。
[ Equation 22] VIDEO 77 to 70 = (VIDEO 47 to 40 -U
DC 7-0 ) x GDC 7-0 / 128 (However, if the value exceeds 256, VIDEO
77-70 = 256. ) Here, the background removal data UDC 7-0 and the inclination correction data GDC 7-0 are CO 2-0 as shown in the following "Table 13".
There are eight types of data output by the color balance control unit 701 corresponding to.

【表13】 図76は、CO2〜0の値が1〜7の各々の場合における
VIDEO47〜40とVIDEO77〜70との関係を示すグ
ラフである。図77に示すように、VIDEO47〜40
対して、下地除去データUDC7〜0を除去し、傾き補正
データGDC7〜0分だけ傾きを補正する。
[Table 13] FIG. 76 is a graph showing the relationship between VIDEO 47 to 40 and VIDEO 77 to 70 when the values of CO 2 to 0 are 1 to 7, respectively. As shown in FIG. 77, the background removal data UDC 7 to 0 are removed from the VIDEO 47 to 40 , and the inclination is corrected by the inclination correction data GDC 7 to 0 .

【0160】[0160]

【発明の効果】本発明の第1の画像処理装置では、原稿
中、黒色のエッジ部であると判定された箇所のC,M,
YデータをC,M,Yデータ置換手段により置き換える
ため、黒文字の周辺部が白抜けにならず、より適切なエ
ッジ強調を実行することができる。また、第2の画像処
理装置では、原稿中、明度データV7〜0の値が低く、か
つ彩度データWS7〜0の値も低い(例えば濃い青色や深
緑色の)文字に対する誤判定を防止することができる。
また、第3の画像処理装置では、所定のマトリクス内に
ある孤立画素のカウント値に基づいて、原稿の網点度を
判定し、当該カウント値に比例して、BKデータ置換手
段によるBKデータの置換量を減少することで、エッジ
強調により生じるモアレを防止することができる。ま
た、第4の画像処理装置では、搬送手段が転写手段へ用
紙を搬送する方向を基準としてエッジの立ち上がり部に
生じるトナーのつき過ぎ、及び立ち下がり部に生じるト
ナーのかすれを解消することができる。また、第5の画
像処理装置では、エリア情報入力手段による入力及び判
定手段による判定結果に基づいて、原稿の種類に応じて
適切なエッジ強調処理を実行することができる。
According to the first image processing apparatus of the present invention, the C, M, and
Since the Y data is replaced by the C, M, Y data replacement means, the peripheral portion of the black character is not blank and more appropriate edge enhancement can be executed. Further, in the second image processing apparatus, in a document, the value of the brightness signal V 7 to 0 is low, an erroneous determination for the chroma value of the data WS 7 to 0 is low (e.g., dark blue or dark green) character Can be prevented.
Further, in the third image processing apparatus, the halftone dot degree of the document is determined based on the count value of the isolated pixels in the predetermined matrix, and the BK data of the BK data replacement unit is proportional to the count value. By reducing the replacement amount, it is possible to prevent moire caused by edge enhancement. Further, in the fourth image processing apparatus, it is possible to eliminate excessive toner sticking to the rising part of the edge and toner blurring to the falling part of the edge with respect to the direction in which the carrying part carries the sheet to the transfer part. . Further, in the fifth image processing apparatus, based on the input by the area information input means and the determination result by the determination means, it is possible to execute the appropriate edge enhancement processing according to the type of the document.

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

【図1】 本実施例のデジタルカラー複写機の構成断面
図である。
FIG. 1 is a cross-sectional view of the configuration of a digital color copying machine of this embodiment.

【図2】 操作パネル25の正面図である。FIG. 2 is a front view of an operation panel 25.

【図3】 読取信号処理部20の処理ブロック図であ
る。
FIG. 3 is a processing block diagram of a read signal processing unit 20.

【図4】 読取信号処理部20の処理ブロック図であ
る。
FIG. 4 is a processing block diagram of a read signal processing unit 20.

【図5】 A/D変換部300の構成図である。5 is a configuration diagram of an A / D conversion unit 300. FIG.

【図6】 シェーディング補正部400の構成図であ
る。
6 is a configuration diagram of a shading correction unit 400. FIG.

【図7】 8ビットの入力データDinに対して逆数変換
テーブル406から出力される12ビットの逆数変換デ
ータDoutの関係を示すグラフである。
FIG. 7 is a graph showing the relationship between 8-bit input data Din and 12-bit reciprocal conversion data Dout output from the reciprocal conversion table 406.

【図8】 CCDイメージセンサ14の構成を示す図で
ある。
FIG. 8 is a diagram showing a configuration of a CCD image sensor 14.

【図9】 ライン間補正処理部501及び補間処理部5
02の構成図である。
FIG. 9 is an inter-line correction processing unit 501 and an interpolation processing unit 5
It is a block diagram of 02.

【図10】 ライン間補正処理部501に入力される−
FIFOEN信号、−FRES1信号、−FRES2信
号、−FRES3信号、及びライン間補正処理部501
に入力/出力されるR,G,Bデータを示すタイムチャ
ートである。
FIG. 10 is input to the interline correction processing unit 501-
FIFOEN signal, -FRES1 signal, -FRES2 signal, -FRES3 signal, and line-to-line correction processing unit 501
4 is a time chart showing R, G, B data input / output to / from.

【図11】 フィールドメモリ504より出力されるR
27〜20データと、フィールドメモリ505より出力され
るG27〜20データと、B2〜20データとの読取位置に関
するデータのずれについて示す図である。
FIG. 11: R output from the field memory 504
27-20 and data, G 27-20 data output from the field memory 505 is a diagram showing a deviation of the data relating to the reading position of the B 2 to 20 data.

【図12】 AE処理部600の構成を示すブロック図
である。
FIG. 12 is a block diagram showing a configuration of an AE processing unit 600.

【図13】 ヒストグラム生成部602の構成を示す図
である。
FIG. 13 is a diagram showing a configuration of a histogram generation unit 602.

【図14】 ある原稿の濃度ヒストグラムを示す図であ
る。
FIG. 14 is a diagram showing a density histogram of a document.

【図15】 原稿サイズ検出部650の構成を示す図で
ある。
FIG. 15 is a diagram showing a configuration of a document size detection unit 650.

【図16】 原稿台ガラス上に載置された原稿と、原稿
サイズ検出部650における各信号との関係を示す図で
ある。
FIG. 16 is a diagram showing a relationship between a document placed on a platen glass and each signal in the document size detection unit 650.

【図17】 原稿台ガラス上に載置された原稿と、変倍
・移動処理回路801より出力されるDCLR1信号と
の関係を示す図である。
FIG. 17 is a diagram showing a relationship between a document placed on a platen glass and a DCLR1 signal output from a scaling / movement processing circuit 801.

【図18】 CPU1の実行するAE処理のフローチャ
ートである。
FIG. 18 is a flowchart of AE processing executed by the CPU 1.

【図19】 CPU1の実行するAE処理のフローチャ
ートである。
FIG. 19 is a flowchart of AE processing executed by the CPU 1.

【図20】 CPU1の実行するAE処理のフローチャ
ートである。
FIG. 20 is a flowchart of AE processing executed by the CPU 1.

【図21】 Rデータ、Gデータ、Bデータがそれぞれ
入力される変倍・移動処理部800の構成を示す。
FIG. 21 shows a configuration of a scaling / movement processing unit 800 to which R data, G data, and B data are respectively input.

【図22】 (a)は、原稿台ガラス15上に載置され
た原稿用紙以外の部分を示し、(b)は、原稿を縮小す
ることで生じる余白部分を示す。
22A shows a portion other than the original sheet placed on the original platen glass 15, and FIG. 22B shows a blank portion generated by reducing the original.

【図23】 (a)は、400dpiの密度での読取デ
ータD1,D2,…を示し、(b)は、200dpiの
密度での読取データD1',D2',…を示し、(c)
は、400dpiで読み取られたデータを半分に間引い
て200dpiとして用いる際の読取データD1",D
2",…を示す。
23 (a) shows read data D1, D2, ... At a density of 400 dpi, (b) shows read data D1 ', D2', ... At a density of 200 dpi, and (c).
Is read data D1 ″, D when the data read at 400 dpi is thinned to half and used as 200 dpi.
2 ", ...

【図24】 読取画像を等倍出力する際の上記各信号の
タイミング関係を示す図である。
FIG. 24 is a diagram showing a timing relationship of the above signals when outputting a read image at a normal size.

【図25】 読取画像を主走査方向にX倍(但し、X>
1である)して出力する場合の上記各信号のタイミング
関係を示す図である。
FIG. 25 shows the read image X times in the main scanning direction (where X>
FIG. 3 is a diagram showing a timing relationship of each of the signals in the case of outputting (1).

【図26】 読取画像を主走査方向にX倍(但し、X<
1である。)して出力する場合の上記各信号のタイミン
グ関係を示す図である。
FIG. 26 shows a read image multiplied by X in the main scanning direction (where X <
It is 1. FIG. 4 is a diagram showing a timing relationship of the above signals when the signals are output as a signal.

【図27】 (a)及び(b)は、読み取った原稿の画
像の左右への移動を示す図である。
27A and 27B are diagrams showing left and right movement of an image of a read document.

【図28】 (a)は、変倍・移動制御部801から各
変倍メモリ1及び2に入力される−WRST1及び−R
RST2の波形と、−WRST2及び−RRST1の波
形とを示し、(b)は、(a)の波形に同期して出力さ
れる各信号(Din,-WE1,-WE2,-RE1,-RE2,Dout)の波形を
示し、(c)は、−WE1,2信号を”L”に切り換え
るタイミングを遅らした場合の波形を示す図である。
FIG. 28A shows -WRST1 and -R input to the scaling memories 1 and 2 from the scaling / movement control unit 801.
The waveform of RST2 and the waveforms of -WRST2 and -RRST1 are shown, and (b) shows each signal (Din, -WE1, -WE2, -RE1, -RE2, which is output in synchronization with the waveform of (a). Dout) waveform is shown, and (c) is a diagram showing a waveform when the timing of switching the -WE1 and 2 signals to "L" is delayed.

【図29】 1枚の複写紙上に読取原稿の画像を複数回
出力するイメージリピートを示す図である。
FIG. 29 is a diagram showing an image repeat in which an image of a read document is output multiple times on one copy sheet.

【図30】 イメージリピートを行う際の各信号のタイ
ミングを示すタイムチャートである。
FIG. 30 is a time chart showing the timing of each signal when performing image repeat.

【図31】 HVC変換部1100を構成する処理ブロ
ックを示す図である。
[Fig. 31] Fig. 31 is a diagram illustrating processing blocks that configure the HVC conversion unit 1100.

【図32】 明度信号(V7〜0)、色差信号(WR7〜0
WB7〜0)を求める際に使用するa1,a2の係数値を定め
る際のフローチャートである。
FIG. 32: Lightness signal (V 7-0 ), color difference signal (WR 7-0 ,
A 1 to be used in determining the WB 7 to 0), a flowchart when determining the coefficient values of a 2.

【図33】 色差信号(WR7〜0、WB7〜0)を色空間上の
色相面の直交座標軸で表したものである。
FIG. 33 is a diagram showing color difference signals (WR 7 to 0 , WB 7 to 0 ) by orthogonal coordinate axes of the hue plane in the color space.

【図34】 画質制御回路1103の回路構成を示す図
である。
FIG. 34 is a diagram showing a circuit configuration of an image quality control circuit 1103.

【図35】 画質モニタ機能により複写紙上にプリント
アウトされる画像と、画質制御回路1103内の各信号
との関係を示す図である。
FIG. 35 is a diagram showing a relationship between an image printed out on a copy sheet by an image quality monitor function and each signal in the image quality control circuit 1103.

【図36】 マスキング係数切換信号MA2-0の値と、
色循環との関係を示す図である。
FIG. 36 is a value of a masking coefficient switching signal MA 2-0 ,
It is a figure which shows the relationship with color circulation.

【図37】 カラーバランス切り換え信号CO2〜0の値
と、色循環との関係を示す図である。
FIG. 37 is a diagram showing the relationship between the values of color balance switching signals CO 2 to CO 2 and color circulation.

【図38】 彩度調整を行う際の色循環の様子を示す図
である。
FIG. 38 is a diagram showing a state of color circulation when performing saturation adjustment.

【図39】 濃度変換部1200の構成を示す図であ
る。
FIG. 39 is a diagram showing a configuration of a density conversion unit 1200.

【図40】 LOGテーブル1201〜1203[FIG. 40] LOG tables 1201-1203

【図41】 UCR/BP処理部1300の構成を示す
図である。
FIG. 41 is a diagram showing a configuration of a UCR / BP processing unit 1300.

【図42】 (a)及び(b)は、UCR/BP処理を
説明するための図である。
42A and 42B are diagrams for explaining the UCR / BP processing.

【図43】 UCRテーブルを示す図である。FIG. 43 is a diagram showing a UCR table.

【図44】 色補正部1400の構成を示す図である。FIG. 44 is a diagram showing a configuration of a color correction unit 1400.

【図45】 Gフィルターの分光特性を示す図である。FIG. 45 is a diagram showing a spectral characteristic of a G filter.

【図46】 Mトナーの分光特性を示す図である。FIG. 46 is a diagram showing spectral characteristics of M toner.

【図47】 領域判別部1500の構成を示す図であ
る。
FIG. 47 is a diagram showing a structure of a region discriminating unit 1500.

【図48】 領域判別部1500の構成を示す図であ
る。
FIG. 48 is a diagram showing a configuration of a region discriminating unit 1500.

【図49】 (a)は、太さの異なる5つのラインの明
度分布を示し、(b)は、(a)の各ラインの1次微分
結果を示す図であり、(c)は、(a)の各ラインの2
次微分結果を示す図である。
49 (a) is a diagram showing the lightness distribution of five lines having different thicknesses, FIG. 49 (b) is a diagram showing the first-order differentiation result of each line in FIG. 49 (a), and FIG. 2 of each line in a)
It is a figure which shows a secondary differentiation result.

【図50】 主走査方向の1次微分フィルタ1503を
示す図である。
FIG. 50 is a diagram showing a primary differential filter 1503 in the main scanning direction.

【図51】 副走査方向の1次微分フィルタ1504を
示す図である。
FIG. 51 is a diagram showing a primary differential filter 1504 in the sub-scanning direction.

【図52】 2次微分フィルタ1508を示す図であ
る。
FIG. 52 is a diagram showing a second derivative filter 1508.

【図53】 R,G,B各のデータの位相が僅かながら
ずれたため、黒の画素であるにもかかわらず、彩度デー
タW7〜0の値が大きくなる場合を示し、当該彩度データ
7〜0をスムージングして得られるWS7〜0を重ねて表
した図である。
FIG. 53 shows a case where the values of the saturation data W 7 to 0 become large even though the pixel is a black pixel because the phases of the R, G, and B data are slightly shifted. It is the figure which overlapped and represented WS7-0 obtained by smoothing W7-0 .

【図54】 スムージングフィルタ1515を示す図で
ある。
FIG. 54 is a diagram showing a smoothing filter 1515.

【図55】 WREFテーブルを示す図である。FIG. 55 is a diagram showing a WREF table.

【図56】 黒文字と誤判別されやすい領域のRGB画
像データ及び彩度データW7〜0、色差信号WR及びWBを示
す図である。
FIG. 56 is a diagram showing RGB image data and saturation data W 7 to 0 , and color difference signals WR and WB in an area that is likely to be erroneously discriminated as a black character.

【図57】 白網点検出フィルタ1510及び黒網点検
出フィルタ1511において、注目画素Xを取り囲む8
方向の前後2画素の位置を示す図である。
57 is a diagram illustrating a white halftone dot detection filter 1510 and a black halftone dot detection filter 1511 that surrounds a target pixel X. FIG.
It is a figure which shows the position of two pixels before and behind a direction.

【図58】 4段階の網点判定リファレンスレベル(C
NTREF17〜10、CNTREF27〜20、CNTREF37〜30
CNTREF47〜40)と、−AMI0〜−AMI3との関
係を示す図である。
FIG. 58 is a four-step halftone dot determination reference level (C
NTREF 17-10 , CNTREF 27-20 , CNTREF 37-30 ,
It is a figure which shows the relationship between CNTREF 47-40 ) and -AMI0-AMI3.

【図59】 VMTFテーブルを示す図である。FIG. 59 is a diagram showing a VMTF table.

【図60】 MTF補正部1600の構成を示す図であ
る。
FIG. 60 is a diagram showing the configuration of an MTF correction unit 1600.

【図61】 MTF補正部1600の構成を示す図であ
る。
FIG. 61 is a diagram showing a configuration of an MTF correction unit 1600.

【図62】 画素クロックに同期して送られてくるイメ
ージデータの値に対応して生成される発光デューティ比
100%のLD駆動信号と、制限パルスにより発光デュ
ーティ比を80%に制限されたLD駆動信号とを示す図
である。
FIG. 62 is an LD drive signal having a light emission duty ratio of 100% generated corresponding to the value of image data sent in synchronization with a pixel clock, and an LD having a light emission duty ratio limited to 80% by a limiting pulse. It is a figure which shows a drive signal.

【図63】 ラプラシアンフィルタ1605を示す図で
ある。
FIG. 63 is a diagram showing a Laplacian filter 1605.

【図64】 DMTFテーブル1606を示す図であ
る。
FIG. 64 is a diagram showing a DMTF table 1606.

【図65】 入力される400dpiのデータを300
dpi相当に平滑化するスムージングフィルタである。
FIG. 65 is a diagram showing input 400 dpi data of 300
This is a smoothing filter that smoothes to a level equivalent to dpi.

【図66】 入力される400dpiのデータを200
dpi相当に平滑化するスムージングフィルタである。
FIG. 66 is a flow chart showing the input data of 400 dpi to 200
This is a smoothing filter that smoothes to a level equivalent to dpi.

【図67】 入力される400dpiのデータを100
dpi相当に平滑化するスムージングフィルタである。
FIG. 67: Inputting 400 dpi data into 100
This is a smoothing filter that smoothes to a level equivalent to dpi.

【図68】 (a)は、C,M,YデータがBkデータ
からわずかにはみ出していることを示し、(b)は、
C,M,Yデータの値を所定の最小値MIN7〜0として
上記データのはみ出しを削除した場合の各データの関係
を示す図である。
FIG. 68 (a) shows that the C, M, Y data slightly protrude from the Bk data, and (b) shows
It is a figure which shows the relationship of each data when the protrusion of the said data is deleted by making the value of C, M, and Y data into predetermined minimum value MIN7-0 .

【図69】 (a)は、Bkデータと、C,M,Yデー
タとの関係が図69(a)の場合に複写紙上に再現され
る画像を表し、(b)は、上記関係が図69(b)の場
合に複写紙上に再現される画像を表す。
69A shows an image reproduced on a copy sheet when the relationship between Bk data and C, M, Y data is shown in FIG. 69A, and FIG. 69B shows the above relationship. In the case of 69 (b), it represents an image reproduced on the copy paper.

【図70】 (a)は、画像データのエッジ部分に斜線
で示す補正データを付加するさいの図であり、(b)
は、実線で補正前に用紙に付着するトナーの量を示すと
共に、点線で補正後の用紙に付着するトナーの量とを示
す。
FIG. 70A is a diagram when correction data indicated by diagonal lines is added to the edge portion of the image data, and FIG.
Indicates the amount of toner attached to the sheet before correction with a solid line, and the amount of toner attached to the sheet after correction with a dotted line.

【図71】 プリンタエッジ補正部1615の構成を示
す図である。
71 is a diagram showing a configuration of a printer edge correction unit 1615. FIG.

【図72】 (a)は、エッジの立ち上がり部分の画像
データにPD7〜0を加算する場合を示し、(b)は、エ
ッジとエッジの谷間にある箇所の画像データにPD
17〜10を加算する場合を示し、(c)は、エッジの立ち
下がり部分の画像データにPD2720を加算する場合を
示す。
72A shows a case where PDs 7 to 0 are added to the image data of the rising edge portion of the edge, and FIG. 72B shows the PD data to the image data of the portion between the edges and the valley of the edge.
17 to 10 are added, and (c) shows a case where PDs 27 to 20 are added to the image data of the trailing edge of the edge.

【図73】 γ補正部1700の構成を示す図である。FIG. 73 is a diagram showing a configuration of a γ correction unit 1700.

【図74】 明暗調節モードにおけるγ補正テーブルを
示す図である。
FIG. 74 is a diagram showing a γ correction table in the brightness adjustment mode.

【図75】 コントラスト調整モードにおけるγ補正テ
ーブルを示す図である。
FIG. 75 is a diagram showing a γ correction table in the contrast adjustment mode.

【図76】 CO2〜0の値が1〜7の各々の場合におけ
るVIDEO47〜40とVIDEO77〜70との関係を示す
グラフである。
FIG. 76 is a graph showing the relationship between VIDEO 47 to 40 and VIDEO 77 to 70 when the values of CO 2 to 0 are 1 to 7 respectively.

【図77】 VIDEO47〜40に対して、下地除去デー
タUDC7〜0を除去し、傾き補正データGDC7〜0分だ
け傾きを補正する場合のグラフの変化を示す図である。
77 is a diagram showing changes in the graph when the background removal data UDC 7 to 0 is removed and the inclination is corrected by the inclination correction data GDC 7 to 0 for the VIDEOs 47 to 40. FIG.

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

100…イメージリーダ部 600…AE処理部 1100…HVC変換部 1400…色補正部 1500…領域判別部 1600…MTF補正部 Reference numeral 100 ... Image reader unit 600 ... AE processing unit 1100 ... HVC conversion unit 1400 ... Color correction unit 1500 ... Region discrimination unit 1600 ... MTF correction unit

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成7年5月17日[Submission date] May 17, 1995

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図68[Correction target item name] Fig. 68

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【図68】 黒文字のエッジ強調時におけるBkデータ
とC,M,Yデータとの関係を示す図である。
FIG. 68 is a diagram showing a relationship between Bk data and C, M, Y data at the time of edge enhancement of a black character.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 原稿のRGB画像データを読み取る読取
手段と、 読取手段により読み取られたRGB画像データをシアン
(C),マゼンタ(M),イエロー(Y),ブラック
(BK)の色データ(以下、それぞれの色データをCデ
ータ、Mデータ、Yデータ、BKデータという。)に変
換する色補正手段と、 読取手段により読み取られた原稿のRGB画像データよ
り、原稿内の各画素の明度データVと、彩度データWを
求めるHVC変換手段と、 HVC変換手段により得られた原稿内の各画素の明度デ
ータVから当該画素がエッジ部分の画素であるか否かを
判定し、彩度データWから画素が黒色か否かを判定する
判定手段と、 判定手段により黒色のエッジ部分であると判定された画
素を中心画素とする所定のマトリクス内の各周辺画素の
C,M,Yデータの内、最も低濃度のデータを、当該画
素のC,M,Yデータと置換するC,M,Yデータ置換
手段と、 検出手段により検出された黒色のエッジ部分の画素のB
Kデータの値を所定量だけ高濃度のデータに置換するB
Kデータ置換手段とを備えることを特徴とする画像処理
装置。
1. A reading unit for reading RGB image data of an original, and color data of cyan (C), magenta (M), yellow (Y), black (BK) (hereinafter referred to as RGB image data read by the reading unit). , The color correction means for converting the respective color data into C data, M data, Y data, and BK data), and the brightness data V of each pixel in the original from the RGB image data of the original read by the reading means. And HVC conversion means for obtaining the saturation data W, and it is judged from the brightness data V of each pixel in the document obtained by the HVC conversion means whether or not the pixel is an edge pixel, and the saturation data W Determining means for determining whether or not the pixel is black, and C of each peripheral pixel in a predetermined matrix having the pixel determined to be a black edge portion by the determining means as a central pixel. M, of the Y data, the most low levels of data, of the pixel C, M, C replacing the Y data, M, and Y data replacing means, the pixels of an edge portion of the black detected by the detecting means B
Replace the value of K data with high density data by a predetermined amount B
An image processing apparatus comprising: K data replacement means.
【請求項2】 原稿のRGB画像データを読み取る読取
手段と、 読取手段により読み取られたRGB画像データをシアン
(C),マゼンタ(M),イエロー(Y),ブラック
(BK)の色データ(以下、それぞれの色データをCデ
ータ、Mデータ、Yデータ、BKデータという。)に変
換する色補正手段と、 読取手段により読み取られた原稿のRGB画像データよ
り、原稿内の各画素の明度データVと、彩度データWを
求めるHVC変換手段と、 HVC変換手段により得られた原稿内の各画素の明度デ
ータVから当該画素がエッジ部分の画素であるか否かを
判定し、彩度データWから画素が黒色か否かを判定する
判定手段と、 判定手段により黒色のエッジ部分の画素であると判定さ
れた画素を中心画素とする所定のマトリクス内におい
て、HVC変換手段により求められた明度データVが所
定値以下であって、かつ彩度データWが所定値以上であ
り、かつ判定手段によりエッジ部分でないと判定された
画素を検出する検出手段と、 検出手段により検出された画素の数をカウントするカウ
ント手段と、 カウント手段によるカウント値が所定値以上になった場
合、上記判定手段が黒色のエッジ部分の画素であると判
定した画素についての判定結果を無効とする誤判定訂正
手段とを備えることを特徴とする画像装置装置。
2. Reading means for reading RGB image data of an original, and color data of cyan (C), magenta (M), yellow (Y), and black (BK) (hereinafter referred to as RGB image data read by the reading means). , The color correction means for converting the respective color data into C data, M data, Y data, and BK data), and the brightness data V of each pixel in the original from the RGB image data of the original read by the reading means. And HVC conversion means for obtaining the saturation data W, and it is judged from the brightness data V of each pixel in the document obtained by the HVC conversion means whether or not the pixel is an edge pixel, and the saturation data W And a predetermined matrix whose center pixel is a pixel determined to be a black edge portion pixel by the determination means, Detection means for detecting a pixel for which the brightness data V obtained by the VC conversion means is less than or equal to a predetermined value, the saturation data W is at least a predetermined value, and the determination means has determined that the pixel is not an edge portion; Counting means for counting the number of pixels detected by the means, and when the count value by the counting means is greater than or equal to a predetermined value, the determination result for the pixel determined to be the pixel of the black edge portion by the determination means is displayed. An image device apparatus comprising: an erroneous determination correction unit that invalidates.
【請求項3】 原稿のRGB画像データを読み取る読取
手段と、 読取手段により読み取られたRGB画像データをシアン
(C),マゼンタ(M),イエロー(Y),ブラック
(BK)の色データ(以下、それぞれの色データをCデ
ータ、Mデータ、Yデータ、BKデータという。)に変
換する色補正手段と、 読取手段により読み取られた原稿のRGB画像データよ
り、原稿内の各画素の明度データVと、彩度データWを
求めるHVC変換手段と、 HVC変換手段により得られた原稿内の各画素の明度デ
ータVから当該画素がエッジ部分の画素であるか否かを
判定し、彩度データWから画素が黒色か否かを判定する
判定手段と、 判定手段により黒色のエッジ部分であると判定された画
素と、当該画素を中心画素とする所定のマトリクス内の
周辺画素のC,M,Yデータの内、最も低濃度のデータ
を当該画素のC,M,Yデータと置換するC,M,Yデ
ータ置換手段と、 判定手段により黒色のエッジ部分であると判定された画
素のBKデータの値を所定量だけ高濃度のデータに置換
するBKデータ置換手段と、 HVC変換手段により求めた明度データVの値より、所
定のマトリクス内において、全ての周辺画素の明度デー
タVの値と、注目画素の明度データVの値との差が、所
定値以上である当該注目画素を孤立画素として検出する
孤立画素検出手段と、 上記とは別の所定のマトリクス内において、上記孤立画
素検出手段により検出された孤立画素の数をカウントす
るカウント手段と、 カウント手段によるカウント値に比例して、上記BKデ
ータ置換手段のデータ置換量を減少するエッジ強調量調
節手段とを備えることを特徴とする画像処理装置。
3. A reading unit for reading RGB image data of an original, and color data of cyan (C), magenta (M), yellow (Y), black (BK) (hereinafter referred to as RGB image data read by the reading unit). , The color correction means for converting the respective color data into C data, M data, Y data, and BK data), and the brightness data V of each pixel in the original from the RGB image data of the original read by the reading means. And HVC conversion means for obtaining the saturation data W, and it is judged from the brightness data V of each pixel in the document obtained by the HVC conversion means whether or not the pixel is an edge pixel, and the saturation data W Determining means for determining whether or not the pixel is black, a pixel determined to be a black edge portion by the determining means, and a circumference in a predetermined matrix having the pixel as a central pixel. Among the C, M, Y data of the pixel, C, M, Y data replacing means for replacing the lowest density data with the C, M, Y data of the pixel, and the judging means judges that it is a black edge portion. Based on the value of the brightness data V obtained by the HVC conversion means and the BK data replacement means for replacing the value of the BK data of the selected pixel with high density data by a predetermined amount, the brightness of all peripheral pixels in a predetermined matrix. In a predetermined matrix different from the above, an isolated pixel detection unit that detects the target pixel whose difference between the value of the data V and the value of the brightness data V of the target pixel is a predetermined value or more as an isolated pixel, Counting means for counting the number of isolated pixels detected by the isolated pixel detecting means, and the data replacement amount of the BK data replacing means are reduced in proportion to the count value by the counting means. The image processing apparatus characterized by comprising a Tsu di enhancement amount adjustment means.
【請求項4】 原稿のRGB画像データを読み取る読取
手段と、 感光体と、 読み取られたRGB画像データに基づいて、感光体上に
トナー像を形成する現像器と、 感光体上に形成されたトナー像を、所定の方向で搬送さ
れる用紙に転写する転写手段と、 上記転写手段に用紙を所定の方向で搬送する搬送手段
と、 搬送手段が転写手段に用紙を搬送する方向を基準とし
て、エッジの立ち上がり部分に該当する画素と、エッジ
の立ち下がり部分に該当する画素とを検出する検出手段
と、 検出手段により検出されたエッジの立ち上がり部分にお
ける画素の上記通紙方向に1つ前の画素と、エッジの立
ち下がり部分における画素の上記通紙方向に1つ後ろの
画素とに、所定の補正データを加算する補正データ加算
手段とを備えることを特徴とする画像処理装置。
4. A reading unit for reading RGB image data of an original, a photoconductor, a developing unit for forming a toner image on the photoconductor based on the read RGB image data, and a developing unit formed on the photoconductor. A transfer unit that transfers the toner image to a sheet that is transported in a predetermined direction, a transport unit that transports the sheet to the transfer unit in a predetermined direction, and a direction in which the transport unit transports the sheet to the transfer unit, Detection means for detecting a pixel corresponding to the rising edge portion of the edge and a pixel corresponding to the falling edge portion of the edge, and a pixel immediately preceding the pixel at the rising edge portion of the edge detected by the detection means in the sheet passing direction. And a correction data adding unit that adds predetermined correction data to a pixel that is one pixel behind the pixel at the trailing edge of the edge in the sheet passing direction. Processing equipment.
【請求項5】 原稿のRGBデジタル画像データを読み
取る読取手段と、 読取手段により読み取られたRGB画像データをシアン
(C),マゼンタ(M),イエロー(Y),ブラック
(BK)の色データ(以下、それぞれの色データをCデ
ータ、Mデータ、Yデータ、BKデータという。)に変
換する色補正手段と、 読み取られたRGB画像データより、原稿内の各画素の
明度データVと、彩度データWを求めるHVC変換手段
と、 HVC変換手段により求められた原稿内の各画素の明度
データVから当該画素がエッジ部分の画素であるか否か
を判定し、彩度データWから当該画素が黒色か否かを判
定する判定手段と、 読取手段による原稿の画像データの読み取りに同期し
て、モノカラー/モノクロのエリア情報を入力するエリ
ア情報入力手段と、 エリア情報入力手段による入力及び判定手段による判定
結果から、フルカラー原稿の黒エッジ部であると判定さ
れた画素に対し、該画素を中心画素とする所定のマトリ
クス内の周辺画素のC,M,Yデータの内、最も低濃度
のデータを当該画素のC,M,Yデータと置換するC,
M,Yデータ置換手段と、 エリア情報入力手段による入力及び判定手段による判定
結果から、フルカラー原稿の黒エッジ部又はモノクロ原
稿の黒エッジ部分であると判定された画素のBKデータ
を明度エッジ成分で強調し、フルカラー原稿の色エッジ
部又はモノカラー原稿のエッジ部であると判定された画
素のBKデータはそのまま出力するBKデータ強調手段
と、 エリア情報入力手段による入力及び判定手段による判定
結果から、フルカラー原稿の色エッジ部又はモノカラー
原稿のエッジ部であると判定された画素のC,M,Yデ
ータを濃度エッジ成分で強調し、モノクロ原稿のエッジ
部であると判定された画素のC,M,Yデータをそのま
ま出力するC,M,Yデータ強調手段とを備えることを
特徴とする画像処理装置。
5. A reading means for reading RGB digital image data of an original, and color data of cyan (C), magenta (M), yellow (Y), black (BK) for the RGB image data read by the reading means ( Hereinafter, color correction means for converting each color data into C data, M data, Y data, and BK data), and lightness data V and saturation of each pixel in the document based on the read RGB image data. Based on the HVC conversion unit that obtains the data W and the brightness data V of each pixel in the document that is obtained by the HVC conversion unit, it is determined whether or not the pixel is an edge pixel, and from the saturation data W, the pixel is determined. Area information input for inputting area information of mono-color / monochrome in synchronization with reading of image data of an original by the reading means For the pixel determined to be the black edge portion of the full-color original document based on the step, the input by the area information input unit, and the determination result by the determination unit, C of the peripheral pixel in the predetermined matrix having the pixel as the central pixel, Of the M and Y data, the lowest density data is replaced with the C, M, and Y data of the pixel concerned.
The BK data of the pixel determined to be the black edge portion of the full-color original document or the black edge portion of the monochrome original document based on the M / Y data replacement means, the input by the area information input means, and the determination result by the determination means is defined as the lightness edge component. Based on the BK data emphasizing means that outputs the BK data of the pixels which are emphasized and are determined to be the color edge portion of the full-color original or the edge portion of the monocolor original, and the determination result by the input and the determination means by the area information input means, The C, M, and Y data of the pixels determined to be the color edge portion of the full-color original document or the edge portion of the mono-color original document are emphasized by the density edge component, and the C, M, and Y data of the pixels determined to be the edge portion of the monochrome original document. An image processing apparatus comprising: C, M, Y data emphasizing means for outputting M, Y data as it is.
JP33981094A 1994-11-18 1994-12-29 Image processing device Expired - Fee Related JP3289530B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP33981094A JP3289530B2 (en) 1994-12-29 1994-12-29 Image processing device
US08/578,947 US6064494A (en) 1994-11-18 1995-12-27 Image processor
US09/472,436 US6417932B1 (en) 1994-11-18 1999-12-27 Image processor
US09/834,940 US6721066B2 (en) 1994-11-18 2001-04-16 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33981094A JP3289530B2 (en) 1994-12-29 1994-12-29 Image processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002004888A Division JP3729131B2 (en) 2002-01-11 2002-01-11 Image forming apparatus

Publications (2)

Publication Number Publication Date
JPH08186725A true JPH08186725A (en) 1996-07-16
JP3289530B2 JP3289530B2 (en) 2002-06-10

Family

ID=18331037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33981094A Expired - Fee Related JP3289530B2 (en) 1994-11-18 1994-12-29 Image processing device

Country Status (1)

Country Link
JP (1) JP3289530B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081580A (en) * 2005-09-12 2007-03-29 Canon Inc Image processing method, image processing unit, and program
US10194055B2 (en) 2015-03-31 2019-01-29 Kyocera Document Solutions, Inc. Image processing apparatus and image forming apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081580A (en) * 2005-09-12 2007-03-29 Canon Inc Image processing method, image processing unit, and program
US10194055B2 (en) 2015-03-31 2019-01-29 Kyocera Document Solutions, Inc. Image processing apparatus and image forming apparatus

Also Published As

Publication number Publication date
JP3289530B2 (en) 2002-06-10

Similar Documents

Publication Publication Date Title
JP3777785B2 (en) Image processing device
US5748773A (en) Image processing apparatus
JP3700381B2 (en) Image processing device
JP3626966B2 (en) Image processing device
US6417932B1 (en) Image processor
US6721066B2 (en) Image processor
JP2001292333A (en) Color image processing apparatus
JPH09139843A (en) Image processor
JP3477858B2 (en) Image processing apparatus and image data processing method
JP3609525B2 (en) Image processing device
JPH10341341A (en) Image processor
JPH07274021A (en) Picture processor
JP3333894B2 (en) Image processing device
JP3376081B2 (en) Image processing method and apparatus
JP3302041B2 (en) Image processing device
JPH08149323A (en) Image processor
JP3289530B2 (en) Image processing device
JPH08186728A (en) Image processor
JP2002262078A (en) Image processing unit and image forming device
JP3360456B2 (en) Image processing device
JP3729131B2 (en) Image forming apparatus
JP3297452B2 (en) Image processing apparatus and image processing method
JP3316077B2 (en) Background density level detector
JPH07273973A (en) Image processor
JPH08149285A (en) Image processing unit

Legal Events

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

Free format text: PAYMENT UNTIL: 20080322

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100322

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120322

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130322

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140322

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees