JPH06205204A - Picture processing unit - Google Patents
Picture processing unitInfo
- Publication number
- JPH06205204A JPH06205204A JP5000222A JP22293A JPH06205204A JP H06205204 A JPH06205204 A JP H06205204A JP 5000222 A JP5000222 A JP 5000222A JP 22293 A JP22293 A JP 22293A JP H06205204 A JPH06205204 A JP H06205204A
- Authority
- JP
- Japan
- Prior art keywords
- color correction
- color
- correction coefficient
- photograph
- original
- 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
Links
- 238000000034 method Methods 0.000 claims description 27
- 238000006243 chemical reaction Methods 0.000 claims description 10
- 229910052709 silver Inorganic materials 0.000 claims description 9
- 239000004332 silver Substances 0.000 claims description 9
- -1 silver halide Chemical class 0.000 claims description 9
- GGCZERPQGJTIQP-UHFFFAOYSA-N sodium;9,10-dioxoanthracene-2-sulfonic acid Chemical compound [Na+].C1=CC=C2C(=O)C3=CC(S(=O)(=O)O)=CC=C3C(=O)C2=C1 GGCZERPQGJTIQP-UHFFFAOYSA-N 0.000 abstract description 28
- 150000003839 salts Chemical class 0.000 abstract 1
- 238000009499 grossing Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 6
- 239000003086 colorant Substances 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000002708 enhancing effect Effects 0.000 description 3
- 238000000926 separation method Methods 0.000 description 3
- 239000000975 dye Substances 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Color, Gradation (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、原稿の種類に応じて最
適な色補正を行う画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus which performs optimum color correction according to the type of original.
【0002】[0002]
【従来の技術】ディジタル画像処理技術の進展によっ
て、カラー画像を高画質に再現するフルカラーのディジ
タル複写機が製品化されている。このようなディジタル
複写機には、付加機能の一つとして「エリア加工」があ
る。この機能は、複写の前に原稿の特定領域を「エリア
指定」し、目的の処理を施す「エリア編集」を行うもの
である。2. Description of the Related Art With the progress of digital image processing technology, full-color digital copying machines for reproducing color images with high image quality have been commercialized. In such a digital copying machine, "area processing" is one of the additional functions. This function is to "designate an area" of a specific area of a document before copying and perform "area editing" to perform a target process.
【0003】編集のメニューとしては、例えば、画像を
拡大/縮小する「変倍」、画像を移動してコピーする
「移動」、指定したエリアをフルカラーまたはモノクロ
でコピーする「カラー選択」、原稿の種類を指定してコ
ピーする「写真モード」などがある。このうち、「写真
モード」では、目的のエリアに対して写真用の処理(例
えば色補正など)を施している。The editing menu includes, for example, "magnification" for enlarging / reducing an image, "move" for moving and copying an image, "color selection" for copying a designated area in full color or monochrome, and original document. There is a "photo mode" where you can specify the type and copy. Of these, in the "photograph mode", the process for a photograph (for example, color correction) is performed on the target area.
【0004】ここで、写真には2種類あり、つまり銀塩
からなる写真と、印刷、新聞などにおける網点写真があ
るが、一般的にオペレータが上記したディジタル複写機
を操作するときに、原稿中の絵柄が何れの写真であるか
を判定することは非常に煩わしい。There are two types of photographs, namely photographs of silver salt and halftone photographs of printing and newspapers. Generally, when an operator operates the above-mentioned digital copying machine, a manuscript is used. It is very troublesome to determine which picture the picture inside is.
【0005】[0005]
【発明が解決しようとする課題】ところで、原稿では同
じ色に見える銀塩写真と網点写真であっても、一般のカ
ラースキャナによって原稿を読み取って入力した場合、
その信号値が異なり、すなわちスキャナでは同じ色とし
ては読み取っていない。これは、主に銀塩写真と網点写
真の色素が異なるために起こる現象である。By the way, even if a silver halide photograph and a halftone dot photograph appearing to have the same color in the original, if the original is read by a general color scanner and input,
The signal values are different, that is, the scanner does not read the same color. This is a phenomenon mainly caused by the difference in the dyes of silver salt photographs and halftone photographs.
【0006】従って、銀塩写真と網点写真に対して同一
の処理、例えば色補正などを行った場合、何れの写真原
稿も満足すべき色再現を期待することができない。そし
て、複写機における一般的な色補正係数の求め方は、複
写機自身のカラープリンタで出力したカラーパッチをカ
ラースキャナで読み込んだ情報を基にして算出してい
る。このため、特に銀塩写真原稿とカラープリンタの色
素が大きく異なり、この結果、銀塩写真の色再現が悪化
するという問題が生じる。Therefore, when the same processing, for example, color correction, is performed on a silver halide photograph and a halftone photograph, satisfactory photographic color reproduction cannot be expected from any photographic original. A general color correction coefficient for a copying machine is calculated based on information obtained by reading a color patch output by the color printer of the copying machine itself with a color scanner. For this reason, the dyes of the silver salt photographic original and the color printer are greatly different from each other, resulting in a problem that the color reproduction of the silver salt photographic is deteriorated.
【0007】また、複写原稿がモノクロ原稿であれば、
記録系にブラックを持つ場合に限るが、例えばブラック
単色でモノクロ原稿を再生することも可能となる。この
ように、ブラック単色で再生することによって、シア
ン、マゼンタ、イエローの3色でモノクロ原稿を再生す
る場合に比べて、グレーバランスが取りやすいく、イン
クの節約になるという、メリットがある。本発明は、以
上の点を考慮してなされたもので、本発明の目的は、エ
リア指定されたエリア内を写真モード処理する場合、そ
のエリアがカラーであるかモノクロであるか、また原稿
の種類、特に絵柄が銀塩写真であるのか網点写真である
のかを自動判定し、本スキャン時には、それぞれに適し
た色補正などの処理を切り替え、エリア内の写真を色再
現性よく再生する画像処理装置を提供することにある。If the copy original is a monochrome original,
Although it is limited to the case where the recording system has black, it is also possible to reproduce a monochrome original with a single black color, for example. As described above, reproducing black monochromatic color has an advantage that gray balance is easier to take and ink is saved as compared with a case where a monochrome original is reproduced with three colors of cyan, magenta, and yellow. The present invention has been made in consideration of the above points, and an object of the present invention is to determine whether the area is color or monochrome, and whether the area of the original is specified when the photograph mode processing is performed in the area designated by the area. An image that automatically determines the type, especially whether the pattern is a silver salt photograph or a halftone photograph, and switches the processing such as color correction suitable for each at the time of main scanning to reproduce the photograph in the area with good color reproducibility It is to provide a processing device.
【0008】[0008]
【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、原稿をR,G,Bのディ
ジタル信号として読み出し、予め所定の方法によって定
められた色補正係数群を用いて、各画素毎に、該R,
G,B信号を記録信号に変換する画像処理装置におい
て、前記原稿中の絵柄領域を指定する手段と、該指定さ
れた絵柄領域から所定の特徴量を検出する手段と、該特
徴量によって前記絵柄領域の色および種類を判定する手
段と、該判定結果に基づいて前記色補正係数群を選択す
る手段とを備えたことを特徴としている。In order to achieve the above object, according to the invention of claim 1, the original is read as R, G, B digital signals, and a group of color correction coefficients determined in advance by a predetermined method. For each pixel,
In an image processing apparatus for converting G and B signals into recording signals, means for designating a picture area in the original document, means for detecting a predetermined characteristic amount from the designated picture area, and the picture pattern according to the characteristic quantity. It is characterized by comprising means for determining the color and type of the area and means for selecting the color correction coefficient group based on the determination result.
【0009】請求項2記載の発明では、原稿をR,G,
Bのディジタル信号として読み出し、予め所定の方法に
よって定められた色補正係数群を用いて、各画素毎に、
該R,G,B信号を記録信号に変換する画像処理装置に
おいて、前記原稿中の絵柄領域を指定する手段と、該指
定された絵柄領域から所定の特徴量を検出する手段と、
該特徴量によって、前記絵柄領域がカラーであるかモノ
クロであるか、銀塩写真の絵柄であるか網点写真の絵柄
であるかを判定する手段と、該判定結果に基づいて前記
色補正係数群を選択する手段とを備えたことを特徴とし
ている。According to the second aspect of the invention, the manuscripts are R, G,
It is read out as a digital signal of B, and a group of color correction coefficients determined in advance by a predetermined method is used for each pixel.
In the image processing apparatus for converting the R, G, B signals into recording signals, means for designating a picture area in the document, and means for detecting a predetermined feature amount from the designated picture area,
A means for judging whether the picture area is color or monochrome, a picture of a silver salt photograph or a picture of a halftone dot photograph based on the characteristic amount; and the color correction coefficient based on the judgment result. And a means for selecting a group.
【0010】請求項3記載の発明では、前記絵柄領域が
カラーであるかモノクロであるかを判定する手段は、
R,G,B値の差の絶対値が所定値より小さい画素をモ
ノクロ画素として検出し、該画素のヒストグラムに基づ
いて判定することを特徴としている。According to a third aspect of the present invention, the means for determining whether the pattern area is color or monochrome is
A feature is that a pixel in which the absolute value of the difference between R, G, and B values is smaller than a predetermined value is detected as a monochrome pixel, and determination is performed based on the histogram of the pixel.
【0011】請求項4記載の発明では、前記絵柄領域が
銀塩写真の絵柄であるか網点写真の絵柄であるかを判定
する手段は、網点ドットの中心に相当する画素パターン
を検出し、該画素のヒストグラムに基づいて判定するこ
とを特徴としている。According to a fourth aspect of the present invention, the means for determining whether the picture area is a picture of a silver halide photograph or a picture of a halftone dot photograph detects a pixel pattern corresponding to the center of the halftone dot dot. It is characterized in that the determination is made based on the histogram of the pixel.
【0012】[0012]
【作用】原稿判定回路は、プレスキャン時にグリーン信
号から、エリア指定された領域の原稿の種類(モノクロ
/カラー、網点写真/銀塩写真)を判定する。色補正係
数格納部には、原稿の種類毎の色補正係数群が格納され
ている。本スキャン時には、原稿判定回路の判定結果に
基づいて、色補正係数格納部から色補正係数群が選択さ
れて、色補正回路に設定され、原稿に最適な色補正処理
が行われる。他の実施例では、原稿判定回路の判定結果
に基づいて、平滑化処理とエッジ強調処理の度合いを制
御する。The document determination circuit determines the type of document (monochrome / color, halftone dot photograph / silver salt photograph) in the area designated area from the green signal during the prescan. The color correction coefficient storage unit stores a color correction coefficient group for each type of document. At the time of the main scan, a color correction coefficient group is selected from the color correction coefficient storage unit based on the determination result of the original determination circuit, set in the color correction circuit, and the optimum color correction processing is performed on the original. In another embodiment, the degree of smoothing processing and edge enhancement processing is controlled based on the determination result of the original determination circuit.
【0013】[0013]
【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。図1は、本発明の実施例のブロック構成
図である。図1において、1は、カラー原稿を読み取っ
てr,g,bの3色の色分解信号を出力するカラースキ
ャナ、2は、r,g,bのデジタル信号を濃度変換して
出力するlog変換回路、3は、log変換後のR,
G,Bの濃度データからY,M,Cのプリンタ駆動信号
を発生する色補正回路、4は、カラープリンタ、5は、
プレスキャン時に、g(グリーン)データを用いて原稿
の種類を判定する原稿判定回路、6は、原稿の種類に応
じた色補正係数群が格納された色補正係数格納部であ
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, reference numeral 1 is a color scanner that reads a color original document and outputs color separation signals of three colors r, g, and b. Reference numeral 2 is a log conversion that performs density conversion of digital signals of r, g, and b and outputs them. Circuit 3 is R after log conversion,
A color correction circuit for generating Y, M, and C printer drive signals from G and B density data, 4 is a color printer, and 5 is
An original determination circuit 6 that determines the original type using g (green) data during prescanning, and 6 is a color correction coefficient storage unit that stores a group of color correction coefficients corresponding to the original type.
【0014】本発明は、プレスキャン時における原稿の
判定結果に基づいて色補正処理を行うようにしたもので
ある。まず、原稿判定回路5について説明する。プレス
キャンを行う前に、オペレータは所謂デジタイザと呼ば
れる機器を使用して、「写真」としてエリア指定(例え
ば、四角形と多角形で指定可能)した領域について、原
稿の種類(カラー/モノクロ、網点/銀塩)を判定し、
該判定結果に基づいて原稿に最適な処理を施す。プレス
キャンの領域は、指定エリア内の全てをサーチしてもよ
いが、時間短縮のために、一部分のサーチでプレスキャ
ンを中止すれば、高速化が可能となる。According to the present invention, the color correction processing is performed based on the result of the determination of the original at the time of prescanning. First, the document determination circuit 5 will be described. Before performing pre-scan, the operator uses a device called a digitizer to specify the type of the document (color / monochrome, halftone dot) for the area designated as a "photograph" (for example, a rectangle and a polygon can be designated). / Silver salt)
Optimal processing is performed on the document based on the determination result. As for the prescan area, all of the designated area may be searched, but if the prescan is stopped in a part of the search in order to shorten the time, the speed can be increased.
【0015】図2は、原稿判定回路5のブロック構成図
である。図2において、モノクロ画素検出部21では、
原稿の色判定を行う。すなわち、入力信号r,g,bを
利用して、下記の式(1)に示すように、r,g,b値
の絶対値が所定の値th1より小さい画素をモノクロ画
素として検出し、それをカウンタ22で計数し、その計
数値M(ヒストグラム)と所定の閾値THaとを比較器
23によって比較し、対象原稿がモノクロであるかカラ
ーであるかを判定する。FIG. 2 is a block diagram of the document determination circuit 5. In FIG. 2, in the monochrome pixel detection unit 21,
The color of the original is judged. That is, using the input signals r, g, and b, as shown in the following equation (1), a pixel whose absolute value of r, g, and b value is smaller than a predetermined value th1 is detected as a monochrome pixel, and Is counted by the counter 22, and the count value M (histogram) is compared with a predetermined threshold value THa by the comparator 23 to determine whether the target document is monochrome or color.
【0016】 max(|r−g|,|g−b|,|b−r|)<th1....式(1) ピーク画素検出部24では、原稿の種類、つまり網点で
あるか否かを判定する。この方法としては、本出願人が
先に提案した論文「文字/絵柄(網点、写真)混在画像
の像域分離方式」(電子情報通信学会論文誌 Vol.
J75−DI1No.1 pp39−47 1992年
1月を参照)に記載された、「ピーク画素」検出による
網点領域検出の技術を用いる。Max (| r−g |, | g−b |, | b−r |) <th1. . . . Expression (1) The peak pixel detection unit 24 determines the type of document, that is, whether it is a halftone dot. As this method, the paper “Image area separation method for mixed image of characters / pictures (dots, photographs)” previously proposed by the present applicant (The Institute of Electronics, Information and Communication Engineers, Vol.
J75-DI1 No. 1 pp39-47, January 1992), the technique of dot area detection by "peak pixel" detection is used.
【0017】すなわち、ピーク画素を演算によって検出
する。具体的には、3×3のブロックにおいて、中心画
素の濃度レベルLが周囲のすべての画素のそれよりも高
い、あるいは低く、かつ、Lと中心画素を挾んで対角線
に存在する対画素の濃度レベルa,bが、4対ともに、
|2×L−a−b|>TH(固定の閾値)であるとき、
中心画素をピーク画素とする。That is, the peak pixel is detected by calculation. Specifically, in a 3 × 3 block, the density level L of the central pixel is higher or lower than that of all the surrounding pixels, and the density of the diagonal pixel existing diagonally across L and the central pixel. Levels a and b are 4 pairs,
When | 2 × L−a−b |> TH (fixed threshold),
The central pixel is the peak pixel.
【0018】本実施例のピーク画素検出部24では、こ
のピーク画素をプレスキャンで検出し、それをカウンタ
25で計数し、その計数値P(ヒストグラム)と所定の
閾値THbとを比較することによって、対象原稿が網点
であるか銀塩であるかを判定する。なお、判定の際の入
力信号としては、g(グリーン)信号を利用する。In the peak pixel detecting section 24 of this embodiment, the peak pixel is detected by the pre-scan, the counter 25 counts it, and the count value P (histogram) is compared with a predetermined threshold value THb. , It is determined whether the target document is a halftone dot or a silver salt. The g (green) signal is used as the input signal for the determination.
【0019】本発明は、前述したように、プレスキャン
時における原稿の判定結果に基づいて色補正係数群を選
択し、原稿に適合した色補正処理を行うようにしたもの
であるが、以下、説明を簡単にするために、色補正回路
3は線形一次式で色補正を行うものとする。As described above, the present invention selects the color correction coefficient group based on the determination result of the original at the time of prescanning and performs the color correction processing suitable for the original. In order to simplify the description, the color correction circuit 3 is assumed to perform color correction using a linear linear equation.
【0020】すなわち、この色補正方法は、R,G,B
をlog変換後の信号(各8ビット)とし、Y,M,C
をプリンタ駆動信号(各8ビット)とし、a0〜a3、
b0〜b3、c0〜c3を色補正係数群とすると、式
(2)によって表される。In other words, this color correction method uses R, G, B
Be the signals after log conversion (8 bits each), and Y, M, C
As a printer drive signal (8 bits each), a0 to a3,
When b0 to b3 and c0 to c3 are a color correction coefficient group, the color correction coefficient group is represented by Expression (2).
【0021】 C=a0+a1×R+a2×G+a3×B M=b0+b1×R+b2×G+b3×B Y=c0+c1×R+c2×G+c3×B...式(2) 本実施例は、上記した色補正方法に限定されるものでは
なく、例えば、Rの2乗、G×Bなどの2次項を考慮し
た非線形二次の色補正方法、あるいはこのよう非線形二
次の近似式の結果を利用して、RGB空間の代表点にC
MY値を設定し、その値を補間することによって色補正
を行うメモリ補間法(例えば、特公昭58−16180
号公報を参照)などにも適用することができる。また、
4色(C,M,Y,K)へ適用する場合は、式(2)の
色補正後に、式(3)の所謂UCR処理したC’,
M’,Y’,K信号を求めればよい。C = a0 + a1 * R + a2 * G + a3 * B M = b0 + b1 * R + b2 * G + b3 * B Y = c0 + c1 * R + c2 * G + c3 * B. . . Formula (2) The present embodiment is not limited to the above-described color correction method, and may be, for example, a non-linear quadratic color correction method considering a quadratic term such as R squared or G × B, or By using the result of the non-linear quadratic approximation formula, C
A memory interpolation method for performing color correction by setting MY values and interpolating the values (for example, Japanese Patent Publication No. 58-16180).
(See Japanese Patent Publication) and the like. Also,
When applied to four colors (C, M, Y, K), the so-called UCR-processed C ′ of the equation (3) after the color correction of the equation (2),
The M ', Y', K signals may be obtained.
【0022】 K=min(C,M,Y) C’=C−K M’=M−K Y’=Y−K....式(3) 上記した原稿判定回路5の判定結果(銀塩写真/網点写
真)に基づいて、後述する銀塩写真用の色補正係数群
(a0〜a3,b0〜b3,c0〜c3)あるいは網点
写真用の色補正係数群(a0〜a3,b0〜b3,c0
〜c3)が選択される。また、指定エリアの外について
は、原稿の判定処理を行っていないので、銀塩/網点写
真用の色補正係数群(a0〜a3,b0〜b3,c0〜
c3)を用いて色補正を行う。K = min (C, M, Y) C ′ = C−K M ′ = M−K Y ′ = Y−K. . . . Formula (3) A group of color correction coefficients for silver salt photography (a0 to a3, b0 to b3, c0 to c3), which will be described later, based on the determination result (silver salt photography / halftone dot photography) of the original determination circuit 5 described above. Alternatively, a group of color correction coefficients for halftone pictures (a0 to a3, b0 to b3, c0
~ C3) is selected. Further, since the document determination processing is not performed outside the designated area, a group of color correction coefficients (a0 to a3, b0 to b3, c0 for silver salt / halftone dot photography).
Color correction is performed using c3).
【0023】また、原稿判定回路5の判定の結果、モノ
クロと判定されると、本スキャン時に、色補正回路3が
例えば次のような色補正係数を選択するように、指示す
る。すなわち、 a0=0,a1=0,a2=1,a3=0 b0=0,b1=0,b2=1,b3=0 c0=0,c1=0,c2=1,c3=0 次に、色補正係数格納部6に、予め準備する色補正係数
群、つまり網点写真用の色補正係数群、銀塩写真用の色
補正係数群、銀塩/網点写真用の色補正係数群の設定方
法について説明する。If the result of the determination by the document determination circuit 5 is monochrome, the color correction circuit 3 is instructed to select, for example, the following color correction coefficient during the main scan. That is, a0 = 0, a1 = 0, a2 = 1, a3 = 0 b0 = 0, b1 = 0, b2 = 1, b3 = 0 c0 = 0, c1 = 0, c2 = 1, c3 = 0 The color correction coefficient storage unit 6 stores a color correction coefficient group prepared in advance, that is, a color correction coefficient group for halftone dot photographs, a color correction coefficient group for silver halide photographs, and a color correction coefficient group for silver salt / halftone dots photographs. The setting method will be described.
【0024】(イ)この色補正係数群の設定のために、
プリンタ近似式(L*,a*,b*−C,M,Y)を作
成する。すなわち、C,M,Y信号を適当なサンプリン
グ間隔で選択し、混色パッチをカラープリンタ4で出力
する。そして、この混色パッチを適当な測色計で測定す
る。ここでは、測定された測色値をL*,a*,b*で
表す。これにより、次のようなデータ群が得られる。(B) To set this color correction coefficient group,
A printer approximation formula (L *, a *, b * -C, M, Y) is created. That is, the C, M and Y signals are selected at appropriate sampling intervals, and the color mixture patch is output by the color printer 4. Then, this mixed color patch is measured with an appropriate colorimeter. Here, the measured colorimetric values are represented by L *, a *, and b *. As a result, the following data group is obtained.
【0025】 C, M, Y − L*, a*, b* 0 0 0 88.5,−2.5, 0.8 0 0 8 ............... 0 0 16 ............... .......... ............... .......... ............... .......... ............... 255,255,255 ............... 上記データ群に基づいて、例えば、次式のような近似式
の係数(α0〜α9,β0〜β9,γ0〜γ9)を最小
二乗法によって決定する。C, M, Y−L *, a *, b * 0 0 0 88.5, −2.5, 0.8 0 0.88. . . . . . . . . . . . . . . 0 0 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255, 255, 255. . . . . . . . . . . . . . . Based on the above data group, for example, the coefficients (α0 to α9, β0 to β9, γ0 to γ9) of an approximate expression such as the following expression are determined by the least squares method.
【0026】 C=α0+α1L*+α2a*+α3b*+α4L*L*+α5a*a*+α6 b*b*+α7L*a*+α8a*b*+α9b*L* M=β0+β1L*+β2a*+β3b*+β4L*L*+β5a*a*+β6 b*b*+β7L*a*+β8a*b*+β9b*L* Y=γ0+γ1L*+γ2a*+γ3b*+γ4L*L*+γ5a*a*+γ6 b*b*+γ7L*a*+γ8a*b*+γ9b*L*...式(4)。C = α0 + α1L * + α2a * + α3b * + α4L * L * + α5a * a * + α6 b * b * + α7L * a * + α8a * b * + α9b * L * M = β0 + β1L * + β2a * + β3b * + β4L * L * + β5a * a * + β6 b * b * + β7L * a * + β8a * b * + β9b * L * Y = γ0 + γ1L * + γ2a * + γ3b * + γ4L * L * + γ5a * a * + γ6b * b * + γ7L * a * + γ8a * b * + γ9b * L *. . . Formula (4).
【0027】(ロ)続いて、銀塩写真からなるカラーパ
ッチ(例えば、512色程度)をカラースキャナ1から
入力し、log変換後の各パッチのR,G,B信号を得
る。実際には、ノイズを低減する目的で各パッチの中心
付近の複数画素を平均(平滑化処理)する。一方、銀塩
写真からなるカラーパッチを前述した測色計で測定(L
*,a*,b*)する。これにより、各パッチの(R,
G,B)と(L*,a*,b*)の関係が求まる。(B) Subsequently, a color patch (for example, about 512 colors) composed of a silver halide photograph is input from the color scanner 1 to obtain R, G, B signals of each patch after log conversion. In practice, a plurality of pixels near the center of each patch are averaged (smoothed) for the purpose of reducing noise. On the other hand, a color patch consisting of a silver salt photograph was measured by the above-mentioned colorimeter (L
*, A *, b *). As a result, (R,
The relationship between (G, B) and (L *, a *, b *) is obtained.
【0028】(ハ)上記した(イ)と同様に、網点写真
のカラーパッチを入力して、パッチの(R,G,B)と
(L*,a*,b*)の関係を求める。(C) In the same manner as in (a) above, a color patch of a halftone picture is input and the relationship between (R, G, B) and (L *, a *, b *) of the patch is obtained. .
【0029】上記した(イ)、(ロ)、(ハ)の結果か
ら、式(2)の色補正係数群(a0〜a3,b0〜b
3,c0〜c3)を決定する。すなわち、銀塩写真用の
色補正係数群(a0〜a3,b0〜b3,c0〜c
3);(ロ)で求めた(R,G,B)と(L*,a*,
b*)の関係、さらに式(4)を利用することにより、
(R,G,B)と(C,M,Y)のデータ群を得ること
ができる。このデータ群に対し、最小二乗法を用いて、
銀塩写真の原稿色とカラープリントされた色が合うよう
に、銀塩写真用の色補正係数群(a0〜a3,b0〜b
3,c0〜c3)を決定する。From the results of the above (a), (b) and (c), the color correction coefficient group (a0 to a3, b0 to b) of the equation (2) is obtained.
3, c0 to c3) are determined. That is, a group of color correction coefficients for silver salt photography (a0 to a3, b0 to b3, c0 to c
3); (R, G, B) and (L *, a *, obtained in (b))
By using the relationship of b *) and the equation (4),
A data group of (R, G, B) and (C, M, Y) can be obtained. For this data group, using the least squares method,
A group of color correction coefficients for silver salt photographs (a0 to a3, b0 to b) so that the original color of the silver salt photograph matches the color printed.
3, c0 to c3) are determined.
【0030】網点写真用の色補正係数群(a0〜a3,
b0〜b3,c0〜c3);(ハ)で求めた(R,G,
B)と(L*,a*,b*)の関係、さらに式(4)を
利用することにより、(R,G,B)と(C,M,Y)
のデータ群を得る。このデータ群に対し、最小二乗法を
用いて網点写真用の色補正係数群(a0〜a3,b0〜
b3,c0〜c3)を決定する。Color correction coefficient group (a0 to a3,
b0 to b3, c0 to c3); (R), (R, G,
B) and (L *, a *, b *), and by using equation (4), (R, G, B) and (C, M, Y)
Get the data group of. For this data group, a color correction coefficient group (a0 to a3, b0
b3, c0 to c3) are determined.
【0031】銀塩/網点写真用の色補正係数群(a0〜
a3,b0〜b3,c0〜c3);(ロ)と(ハ)で求
めた(R,G,B)と(C,M,Y)のデータ群を適当
な比(ここでは、1[512パッチ]:1[512パッ
チ])でセレクトし、このデータ群に対し、最小二乗法
を用いて銀塩/網点写真用の色補正係数群(a0〜a
3,b0〜b3,c0〜c3)を決定する。A group of color correction coefficients for silver salt / halftone dot photography (a0-a0)
a3, b0 to b3, c0 to c3); the data groups of (R, G, B) and (C, M, Y) obtained in (b) and (c) are set to an appropriate ratio (here, 1 [512 [Patch]: 1 [512 patch]), and the least squares method is applied to this data group for the silver salt / halftone dot color correction coefficient group (a0 to a).
3, b0 to b3, c0 to c3) are determined.
【0032】このようにして決定された網点写真用の色
補正係数群、銀塩写真用の色補正係数群、銀塩/網点写
真用の色補正係数群は、それぞれROMあるいはRAM
で構成された色補正係数格納部6に書き込まれる。The color correction coefficient group for the halftone dot photograph, the color correction coefficient group for the silver salt photograph, and the color correction coefficient group for the silver salt / halftone dot photograph thus determined are respectively ROM or RAM.
It is written in the color correction coefficient storage unit 6 configured by.
【0033】そして、原稿判定回路5は、プレスキャン
時にモノクロ画素を検出し、その計数値(M)を算出す
る。この値Mと所定の閾値THaとを比較し、M>TH
aならば、モノクロと判定し、そうでなければカラーと
判定する。モノクロと判定されたときは、本スキャン時
に先の判定信号に基づいて、色補正回路3に対して色補
正係数を選択する信号を与え、前述したように、式
(2)の係数a2,b2,c2のみを“1”に設定す
る。Then, the document determination circuit 5 detects monochrome pixels at the time of prescanning and calculates the count value (M). This value M is compared with a predetermined threshold THa, and M> TH
If a, it is determined to be monochrome, otherwise it is determined to be color. When it is determined to be monochrome, a signal for selecting a color correction coefficient is given to the color correction circuit 3 based on the above determination signal at the time of main scanning, and as described above, the coefficients a2 and b2 of the equation (2) are given. , C2 are set to "1".
【0034】また、同時にピーク画素を検出し、その計
数値(P)を算出する。この値Pと所定の閾値THbと
を比較し、P>THaならば、網点写真用の色補正係数
群(a0〜a3,b0〜b3,c0〜c3)を選択する
信号を出力し、そうでなければ銀塩写真用の色補正係数
群(a0〜a3,b0〜b3,c0〜c3)を選択する
信号を出力する。At the same time, the peak pixel is detected and the count value (P) thereof is calculated. This value P is compared with a predetermined threshold value THb, and if P> THa, a signal for selecting a color correction coefficient group (a0 to a3, b0 to b3, c0 to c3) for halftone dot photography is output, and Otherwise, it outputs a signal for selecting a color correction coefficient group (a0 to a3, b0 to b3, c0 to c3) for silver salt photography.
【0035】そして、本スキャン時に、先の選択信号に
基づいて色補正係数格納部6から色補正係数群が読み出
されて、色補正回路3に設定され、入力原稿に適した色
補正係数群を用いて、式(2)に従って色補正処理が行
われる。Then, during the main scan, the color correction coefficient group is read out from the color correction coefficient storage unit 6 based on the previous selection signal and set in the color correction circuit 3, and the color correction coefficient group suitable for the input document is read. Is used to perform color correction processing in accordance with equation (2).
【0036】図3は、本発明の他の実施例のブロック構
成図である。図において、1は、カラー原稿を読み取っ
てr,g,bの3色の色分解信号を出力するカラースキ
ャナ、2は、r,g,bのデジタル信号を濃度変換して
出力するlog変換回路、3は、log変換後のR,
G,Bの濃度データからY,M,Cのプリンタ駆動信号
を発生する色補正回路(この色補正回路では、予め所定
の方法によって設定された色補正係数を用いて、例えば
式(2)に従って色補正処理を行う)、4は、カラープ
リンタ、5は、プレスキャン時に、g(グリーン)デー
タを用いて原稿の種類を判定する原稿判定回路、6は、
原稿の種類に応じたフィルタ係数群が格納されたフィル
タ係数格納部、7は、平滑化処理部、8は、エッジ強調
部である。FIG. 3 is a block diagram of another embodiment of the present invention. In the figure, 1 is a color scanner that reads a color original and outputs color separation signals of three colors r, g, and b. 2 is a log conversion circuit that density-converts and outputs the digital signals of r, g, and b. 3 is R after log conversion,
A color correction circuit for generating Y, M, and C printer drive signals from the G and B density data (this color correction circuit uses color correction coefficients set in advance by a predetermined method, for example, according to equation (2)). (Color correction processing is performed), 4 is a color printer, 5 is a document determination circuit that determines the type of document using g (green) data during prescan, and 6 is
A filter coefficient storage unit that stores a filter coefficient group corresponding to the type of document, 7 is a smoothing processing unit, and 8 is an edge enhancement unit.
【0037】この実施例では、原稿判定回路5の判定結
果に基づいて、フィルタ係数を切り替えるように構成し
ている。すなわち、カラー複写機においては、画質向上
のためにフィルタ処理を施しているが、網点写真と銀塩
写真とでは特に網点特有のモアレ防止の点から要求され
るフィルタ処理が異なる。そこで、本実施例では、プレ
スキャンにおける原稿判定結果に基づいて、適応的なフ
ィルタ処理を行うようにしている。また、指定エリアの
外では、原稿の判定処理を行っていないので、スルーで
フィルタ処理する。In this embodiment, the filter coefficient is switched based on the judgment result of the manuscript judgment circuit 5. That is, in a color copying machine, a filter process is performed to improve image quality, but a halftone dot photograph and a silver salt photograph differ from each other in a filter process required in terms of preventing moire peculiar to a halftone dot. Therefore, in this embodiment, adaptive filter processing is performed based on the document determination result in the prescan. Further, outside the designated area, since the original document determination processing is not performed, through processing is performed.
【0038】網点写真に対しては、網点写真用のフィル
タ処理を行う。すなわち、原稿判定回路5の判定結果に
基づいて、本スキャン時に、フィルタ係数格納部6から
網点写真用のフィルタ係数群が読み出されて平滑化部7
とエッジ強調部8に設定され、平滑化部7では強い平滑
化処理を施し、エッジ強調部8では弱いエッジ強調処理
あるいはスルーの処理(図4の例では、中央の32以外
の係数値を0とする)を施す。強い平滑化処理は、モア
レ除去のために行う。The halftone dot photograph is filtered for the halftone dot photograph. That is, on the basis of the determination result of the document determination circuit 5, the filter coefficient group for halftone dot photography is read from the filter coefficient storage unit 6 and the smoothing unit 7 is executed during the main scan.
Is set in the edge enhancement unit 8, the smoothing unit 7 performs strong smoothing processing, and the edge enhancement unit 8 performs weak edge enhancement processing or through processing (in the example of FIG. 4, coefficient values other than 32 at the center are set to 0). And)). The strong smoothing process is performed to remove moire.
【0039】図4は、強平滑化処理と弱エッジ強調処理
を行う具体的なフィルタ係数を示す。本実施例では、フ
ィルタリングの効果を説明するために2つのフィルタを
シリアルに並べた場合について示したが、コンボリュー
ションしたフィルタ1つで構成することも可能である。FIG. 4 shows specific filter coefficients for performing the strong smoothing process and the weak edge emphasizing process. In the present embodiment, the case where two filters are arranged in series has been described in order to explain the effect of filtering, but it is also possible to configure with one convoluted filter.
【0040】銀塩写真に対するフィルタ処理は、平滑化
部7では弱い平滑化処理を施し、エッジ強調部8では強
いエッジ強調処理を施す。弱い平滑化処理はノイズ除去
のためであり、強いエッジ強調処理は輪郭を強調するた
めに行う。図5は、弱平滑化処理と強エッジ強調処理を
行う具体的なフィルタ係数を示す。As for the filtering process for the silver salt photograph, the smoothing unit 7 performs a weak smoothing process, and the edge enhancing unit 8 performs a strong edge enhancing process. The weak smoothing process is for noise removal, and the strong edge enhancement process is for enhancing the contour. FIG. 5 shows specific filter coefficients for performing weak smoothing processing and strong edge enhancement processing.
【0041】[0041]
【発明の効果】以上、説明したように、請求項1、2記
載の発明によれば、原稿の種類毎に最適な色補正係数群
を設定しているので、銀塩写真原稿、網点写真原稿、さ
らにはモノクロ原稿に対して、最適な色再現が可能とな
る。As described above, according to the first and second aspects of the present invention, the optimum color correction coefficient group is set for each type of original, so that silver halide photograph originals and halftone dot photographs are set. Optimal color reproduction is possible for originals and even for monochrome originals.
【0042】請求項3記載の発明によれば、複写対象の
原稿がモノクロ原稿であるかカラー原稿であるかを自動
的に判定し、その判定結果に基づいて最適な色補正係数
群を選択しているので、最適な色再現が可能となる。According to the third aspect of the present invention, it is automatically determined whether the original document to be copied is a monochrome original document or a color original document, and an optimum color correction coefficient group is selected based on the determination result. Therefore, optimal color reproduction is possible.
【0043】請求項4記載の発明によれば、複写対象の
原稿が網点写真原稿であるか銀塩写真原稿であるかを自
動的に判定し、その判定結果に基づいて最適な色補正係
数群を選択しているので、最適な色再現が可能となる。According to the fourth aspect of the present invention, it is automatically determined whether the original to be copied is a halftone dot original or a silver halide photographic original, and the optimum color correction coefficient is determined based on the result of the determination. Since a group is selected, optimal color reproduction is possible.
【図1】本発明の実施例のブロック構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】原稿判定回路のブロック構成図である。FIG. 2 is a block configuration diagram of a document determination circuit.
【図3】本発明の他の実施例のブロック構成図である。FIG. 3 is a block diagram of another embodiment of the present invention.
【図4】強平滑化処理と弱エッジ強調処理を行うフィル
タ係数を示す。FIG. 4 shows filter coefficients for performing strong smoothing processing and weak edge enhancement processing.
【図5】弱平滑化処理と強エッジ強調処理を行うフィル
タ係数を示す。FIG. 5 shows filter coefficients for performing weak smoothing processing and strong edge enhancement processing.
1 カラースキャナ 2 log変換回路 3 色補正回路 4 カラープリンタ 5 原稿判定回路 6 色補正係数格納部 7 平滑化部 8 エッジ強調部 1 Color Scanner 2 Log Conversion Circuit 3 Color Correction Circuit 4 Color Printer 5 Original Discrimination Circuit 6 Color Correction Coefficient Storage Section 7 Smoothing Section 8 Edge Enhancement Section
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 9068−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04N 1/46 9068-5C
Claims (4)
て読み出し、予め所定の方法によって定められた色補正
係数群を用いて、各画素毎に、該R,G,B信号を記録
信号に変換する画像処理装置において、前記原稿中の絵
柄領域を指定する手段と、該指定された絵柄領域から所
定の特徴量を検出する手段と、該特徴量によって前記絵
柄領域の色および種類を判定する手段と、該判定結果に
基づいて前記色補正係数群を選択する手段とを備えたこ
とを特徴とする画像処理装置。1. An original document is read out as R, G, B digital signals, and the R, G, B signals are converted into recording signals for each pixel by using a color correction coefficient group determined in advance by a predetermined method. In the image processing apparatus for conversion, means for designating a picture area in the original document, means for detecting a predetermined characteristic amount from the designated picture area, and determining the color and type of the picture area based on the characteristic quantity. An image processing apparatus comprising: means and means for selecting the color correction coefficient group based on the determination result.
て読み出し、予め所定の方法によって定められた色補正
係数群を用いて、各画素毎に、該R,G,B信号を記録
信号に変換する画像処理装置において、前記原稿中の絵
柄領域を指定する手段と、該指定された絵柄領域から所
定の特徴量を検出する手段と、該特徴量によって、前記
絵柄領域がカラーであるかモノクロであるか、銀塩写真
の絵柄であるか網点写真の絵柄であるかを判定する手段
と、該判定結果に基づいて前記色補正係数群を選択する
手段とを備えたことを特徴とする画像処理装置。2. An original is read out as R, G, B digital signals, and the R, G, B signals are converted into recording signals for each pixel by using a color correction coefficient group determined in advance by a predetermined method. In the image processing apparatus for conversion, means for designating a picture area in the original, means for detecting a predetermined characteristic amount from the designated picture area, and whether the picture area is color or monochrome depending on the characteristic quantity. Or a pattern of a silver halide photograph or a pattern of a halftone photograph, and a means for selecting the color correction coefficient group based on the determination result. Image processing device.
であるかを判定する手段は、R,G,B値の差の絶対値
が所定値より小さい画素をモノクロ画素として検出し、
該画素のヒストグラムに基づいて判定することを特徴と
する請求項2記載の画像処理装置。3. The means for determining whether the pattern area is color or monochrome detects a pixel whose absolute value of the difference between R, G and B values is smaller than a predetermined value as a monochrome pixel,
The image processing apparatus according to claim 2, wherein the determination is performed based on a histogram of the pixels.
網点写真の絵柄であるかを判定する手段は、網点ドット
の中心に相当する画素パターンを検出し、該画素のヒス
トグラムに基づいて判定することを特徴とする請求項2
記載の画像処理装置。4. The means for determining whether the picture area is a picture of a silver halide photograph or a picture of a halftone dot photograph detects a pixel pattern corresponding to the center of the halftone dot dot, and a histogram of the pixel is obtained. The determination is based on
The image processing device described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP00022293A JP3330408B2 (en) | 1993-01-05 | 1993-01-05 | Image processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP00022293A JP3330408B2 (en) | 1993-01-05 | 1993-01-05 | Image processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06205204A true JPH06205204A (en) | 1994-07-22 |
JP3330408B2 JP3330408B2 (en) | 2002-09-30 |
Family
ID=11467942
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP00022293A Expired - Fee Related JP3330408B2 (en) | 1993-01-05 | 1993-01-05 | Image processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3330408B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1703714A1 (en) | 2005-03-16 | 2006-09-20 | Ricoh Company, Ltd. | Image data processing device, image processing device, image forming device, and image transmitting system |
US8411318B2 (en) | 2005-12-06 | 2013-04-02 | Ricoh Company, Ltd. | Color and monochrome image processing and outputting apparatus |
-
1993
- 1993-01-05 JP JP00022293A patent/JP3330408B2/en not_active Expired - Fee Related
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1703714A1 (en) | 2005-03-16 | 2006-09-20 | Ricoh Company, Ltd. | Image data processing device, image processing device, image forming device, and image transmitting system |
US7646504B2 (en) | 2005-03-16 | 2010-01-12 | Ricoh Company, Limited | Image data processing device, image processing device, image forming device, and image transmitting system |
US8411318B2 (en) | 2005-12-06 | 2013-04-02 | Ricoh Company, Ltd. | Color and monochrome image processing and outputting apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP3330408B2 (en) | 2002-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5134667A (en) | Area discriminating system for an image processing system | |
US5339365A (en) | Image processing apparatus capable of using fuzzy logic | |
JP3436828B2 (en) | Image processing device | |
JP3784649B2 (en) | Image processing apparatus, image forming apparatus including the same, and image processing method | |
JP3333894B2 (en) | Image processing device | |
JP3560776B2 (en) | Color type discriminator | |
JP3407525B2 (en) | Image reproduction device | |
JPH05316377A (en) | Picture processing unit | |
JPH10126631A (en) | Original type judging method, color image processor and recording medium | |
US20070070463A1 (en) | Image forming apparatus | |
JP3847565B2 (en) | Image processing apparatus, image forming apparatus including the same, and image processing method | |
JP3330408B2 (en) | Image processing device | |
JP3330406B2 (en) | Image processing device | |
JP3489787B2 (en) | Image processing device | |
JP3767210B2 (en) | Document type determination device and image processing device | |
JP2002044464A (en) | Image processing method and apparatus | |
JPH07298074A (en) | Image processing unit | |
JP2696902B2 (en) | Color image processing equipment | |
JP3064896B2 (en) | Image processing device | |
JP3587740B2 (en) | Image processing device | |
JPH07154593A (en) | Image processor | |
JP2003125198A (en) | Image processing apparatus and image processing method, and image forming device provided with the same, program, and recording medium | |
JP2003219178A (en) | Image processing method, device thereof and image forming device | |
JP3894409B2 (en) | Image processing apparatus and image processing method | |
JP2002125121A (en) | Image processing method and image processing unit, and image forming device provided with them |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070719 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080719 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090719 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |