JPH08111778A - Image processor - Google Patents

Image processor

Info

Publication number
JPH08111778A
JPH08111778A JP7180245A JP18024595A JPH08111778A JP H08111778 A JPH08111778 A JP H08111778A JP 7180245 A JP7180245 A JP 7180245A JP 18024595 A JP18024595 A JP 18024595A JP H08111778 A JPH08111778 A JP H08111778A
Authority
JP
Japan
Prior art keywords
density
signal
correction
data
conversion
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
JP7180245A
Other languages
Japanese (ja)
Other versions
JP2635947B2 (en
Inventor
Haruko Kawakami
晴子 川上
Hidekazu Sekizawa
秀和 関沢
Tadashi Yamamoto
直史 山本
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP7180245A priority Critical patent/JP2635947B2/en
Publication of JPH08111778A publication Critical patent/JPH08111778A/en
Application granted granted Critical
Publication of JP2635947B2 publication Critical patent/JP2635947B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Processing Of Color Television Signals (AREA)
  • Storing Facsimile Image Data (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE: To provide an image processor which can give the optimum correction of density to various input images by generating the correction density data in response to the type of the input image that is acquired based on the mode set by a control panel means. CONSTITUTION: A scanner 1 scans an original, applies the photoelectric conversion to the reflected light of the original via a three-color filter, and then applies the A/D conversion to the reflected light undergone the photoelectric conversion to acquire a digital image signal Si'. The signal Si' is normalized into a color signal Si through a shading correction circuit 2. The signal Si is inputted to a matrix circuit 3 and separated into a luminance signal I and the color difference signals C1 and C2. The signal I undergoes the conversion of density and the texture processing through a gamma conversion circuit 4. The contents of the data stored in a ROM 5 are processed by a CPU 7 based on the input received from a control panel 6 so that the correction density data can be obtained. The panel 6 includes a mode setting switch, a density setting switch and a texture density setting lever.

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 used for a digital copying apparatus, a television camera, an electronic still camera, etc., and more particularly to an optimum correction density for input density data regardless of the properties of an input image. The present invention relates to an image processing device capable of obtaining data.

【0002】[0002]

【従来の技術】を扱う分野では、入力対出力の濃度特性
が非線形である場合のガンマ補正など、種々の濃度補正
を行なうことが多い。特に、カラーコピーを得るディジ
タル複写装置では、入力濃度情報を人間の視覚特性に応
じた曲線に基づき補正する必要がある。
2. Description of the Related Art In the field dealing with the prior art, various density corrections are often performed, such as gamma correction when the density characteristic of input versus output is non-linear. In particular, in a digital copying apparatus for obtaining a color copy, it is necessary to correct input density information based on a curve corresponding to human visual characteristics.

【0003】そこで、画像の濃度情報をディジタルデー
タで処理するディジタル複写装置では、補正処理の高速
化を図るために、内部に補正濃度データを書込んだRO
M(読取専用メモリ)を濃度変換テーブルとして用意
し、輝度信号を上記ROMのアドレスとして与え、これ
に対応した補正濃度データをプリンタに出力するという
技術が提案されている(特公昭60−23541号)。
Therefore, in a digital copying apparatus which processes density information of an image with digital data, an RO in which corrected density data is written in order to speed up the correction process.
A technique has been proposed in which M (read-only memory) is prepared as a density conversion table, a luminance signal is given as an address of the ROM, and correction density data corresponding to this is output to a printer (Japanese Patent Publication No. 60-23541). ).

【0004】[0004]

【発明が解決しようとする課題】しかし、このような複
写装置では、補正濃度データが1種類しか与えられてい
ないため、下地濃度が異なる様々な原稿用紙をコピーす
る場合や、原稿用紙に汚れがある場合などは、地肌(カ
ブリ)汚れを生じたり、逆に必要な部分がコピーされな
かったりする。これを回避するには、それぞれの原稿に
応じた適切な補正量を与える必要がある。
However, in such a copying apparatus, since only one type of correction density data is given, when copying various original papers having different background densities or the original papers are not stained. In some cases, the background (fog) stains occur, or conversely, the necessary parts are not copied. To avoid this, it is necessary to give an appropriate correction amount according to each original.

【0005】しかし、あらゆる場合を想定して、それぞ
れの補正データを予めメモリに格納しておくには、非常
に多くのメモリ容量を必要としなければならなかった。
本発明は、上記事情を考慮してなされたもので、メモリ
容量の増大を招くことなしに、様々な種類の入力画像に
対して最適な濃度の出力画像を得ることができる画像出
力装置を提供することを目的とする。
However, in consideration of all cases, in order to store each correction data in the memory in advance, a very large memory capacity had to be required.
The present invention has been made in consideration of the above circumstances, and provides an image output device capable of obtaining an output image with optimum density for various types of input images without increasing the memory capacity. The purpose is to do.

【0006】[0006]

【課題を解決するための手段】本発明は、入力画像の濃
度データを出力画像の補正濃度データに変換する濃度変
換テーブルを備えた画像処理装置において、前記濃度変
換テーブルを書換え可能なメモリで構成するとともに、
少なくとも文字モードおよび写真モードを含むモードを
ユーザに設定させるための操作パネル手段と、この操作
パネル手段にて設定された前記モードに基づいて得られ
る入力画像の種別に応じて前記補正濃度データを生成し
前記メモリに書込む生成手段とを具備したことを特徴と
する。
According to the present invention, there is provided an image processing apparatus having a density conversion table for converting density data of an input image into corrected density data of an output image, wherein the density conversion table is constituted by a rewritable memory. Along with
Operation panel means for allowing the user to set a mode including at least a character mode and a photograph mode, and the corrected density data is generated according to the type of the input image obtained based on the mode set by the operation panel means. And generating means for writing in the memory.

【0007】好ましくは、前記入力画像の画像信号を輝
度信号と色差信号とに分離し、該輝度信号を濃度データ
として前記濃度変換テーブルに与え、前記色差信号を前
記補正濃度データに対応させて補正することを特徴とす
る。
Preferably, the image signal of the input image is separated into a luminance signal and a color difference signal, the luminance signal is given as density data to the density conversion table, and the color difference signal is corrected in correspondence with the corrected density data. It is characterized by doing.

【0008】また、好ましくは、前記輝度信号に対し濃
度特性を淡くするときおよび濃くするときのいずれの場
合にも、前記色差信号の値を拡大することを特徴とす
る。 (作用)本発明では、ユーザにより操作パネル手段にて
文字モードや写真モードなどのモードが設定される。生
成手段は、ユーザにより設定されたモードに基づいて得
た入力画像の種別に応じて、最適な補正濃度データを生
成する。そして、これを上記濃度変換テーブルを構成す
る書換え可能なメモリに書込むことで、入力画像の種別
に対応した最適な補正が行なえる。
[0008] Preferably, the value of the color difference signal is expanded both when the density characteristic of the luminance signal is reduced and when the density characteristic is increased. (Operation) In the present invention, the user sets a mode such as a character mode or a photo mode on the operation panel means. The generation unit generates the optimum corrected density data according to the type of the input image obtained based on the mode set by the user. Then, by writing this in a rewritable memory constituting the density conversion table, optimal correction corresponding to the type of the input image can be performed.

【0009】本発明によれば、濃度変換テーブルは書換
え可能なメモリであるため、補正濃度データを自由に書
換えでき、補正濃度データは入力画像の種別に応じて生
成するので、上記メモリの容量は1種類の補正濃度デー
タを格納できる容量で足りることになる。
According to the present invention, since the density conversion table is a rewritable memory, the corrected density data can be freely rewritten, and the corrected density data is generated according to the type of the input image. A capacity that can store one type of corrected density data is sufficient.

【0010】また、本発明によれば、ユーザは、補正濃
度データの調整などの難しい作業を行なうことなく、操
作パネル手段でモードを設定するという簡単な操作を行
なうだけで、装置に入力画像の種別に応じた最適な補正
を実行させることができる。
Further, according to the present invention, the user does not have to perform a difficult operation such as adjustment of the correction density data, but simply performs a simple operation of setting a mode with the operation panel means, and the input image is displayed on the apparatus. Optimal correction can be executed according to the type.

【0011】[0011]

【発明の実施の形態】以下、図面を参照しながら本発明
の実施の形態を説明する。図1は、本発明の実施の形態
に係るディジタルカラー複写機を示すブロック図であ
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a digital color copying machine according to an embodiment of the present invention.

【0012】スキャナ1は、図示しない原稿を走査し
て、原稿からの反射光を3色の色フィルタを介して光電
変換し、さらにこれら信号をA/D変換することによっ
てディジタル画像信号Si´を得るものである。なお、
ここでiは、色フィルタの色を表しており、i={赤
(r),緑(g),青(b)},{黄(y),緑
(g),シアン(c)}などを通常用いる。このディジ
タル画像信号Si´はシェーディング補正回路2に入力
される。シェーディング補正回路2では、白基準板を走
査して得られる信号値を例えば“1”、黒基準板を走査
して得られる信号値を例えば“0”として出力されるよ
うに規格化する。白基準板の反射率をRwi、黒基準板の
反射率をRbiとしたとき、原稿の反射率がRiであると
きの信号値Siは、次式で表される。
The scanner 1 scans an original document (not shown), photoelectrically converts the reflected light from the original document through three color filters, and further A / D-converts these signals to generate a digital image signal Si '. I will get it. In addition,
Here, i represents the color of the color filter, and i = {red (r), green (g), blue (b)}, {yellow (y), green (g), cyan (c)}, etc. Is usually used. This digital image signal Si ′ is input to the shading correction circuit 2. The shading correction circuit 2 normalizes the signal value obtained by scanning the white reference plate to, for example, “1”, and the signal value obtained by scanning the black reference plate to be output, for example, “0”. When the reflectance of the white reference plate is Rwi and the reflectance of the black reference plate is Rbi, the signal value Si when the reflectance of the document is Ri is expressed by the following equation.

【0013】 Si=(Ri−Rbi)/(Rwi−Rbi) …(1) この白および黒基準板で規格化したカラー信号Siは、
センサの感度むらや照明光、色フィルタなどの光学むら
が補正された信号となっている。また、センサが複数チ
ップによるCCDセンサである場合も、各センサチップ
に接続された複数の増幅器のゲインのバラツキなどのむ
らの補正された信号が得られる。
Si = (Ri−Rbi) / (Rwi−Rbi) (1) The color signal Si standardized by the white and black reference plates is
The signal is a signal in which unevenness in sensitivity of the sensor, illumination unevenness, and optical unevenness such as a color filter are corrected. Also, when the sensor is a CCD sensor having a plurality of chips, a signal in which unevenness such as variation in gain of a plurality of amplifiers connected to each sensor chip is corrected can be obtained.

【0014】上記カラー信号Siは、マトリクス回路3
に入力され、輝度信号Iと、色差信号C1 ,C2 に分離
される。このとき、色差信号C1 ,C2 は、濃度特性を
コントロールする操作スイッチに応じてその値の大きさ
が変化するようになっている。この回路の詳細について
は後述する。
The color signal Si is supplied to a matrix circuit 3
And is separated into a luminance signal I and color difference signals C1 and C2. At this time, the magnitudes of the color difference signals C1 and C2 change according to the operation switch for controlling the density characteristic. Details of this circuit will be described later.

【0015】輝度信号Iは、ガンマ変換回路4において
濃度変換および地肌処理される。補正の際の補正濃度デ
ータは、後述するようにROM5に格納されたデータの
内容を操作パネル6からの入力に基づいてCPU7で加
工して得る。
The luminance signal I is subjected to density conversion and background processing in a gamma conversion circuit 4. The correction density data at the time of correction is obtained by processing the content of the data stored in the ROM 5 by the CPU 7 based on an input from the operation panel 6 as described later.

【0016】濃度変換と地肌処理が施された輝度信号I
´および上記色差信号C1 ,C2 は色変換回路8に入力
される。この色変換回路8は、例えばROMから構成さ
れており、輝度信号I´、色差信号C1 ,C2 の値の組
合わせによって表現される色をプリンタで出力する時に
必要なインク量への変換値がテーブル化されたものとな
っている。この色変換回路8にI´,C1 ,C2 の信号
を入力すると、プリントするのに必要なインク量に変換
された出力を得る。この色変換テーブルは、マスキング
方程式やNeugebauer方程式等で記述された方
法で作製すれば良い。このインク量に変換された各信
号、例えば4色プリンタではイエロー、マゼンダ、シア
ン、ブラックに対する各信号はディザ回路9に入力され
る。このディザ回路9は、2値記録しかできないカラー
プリンタでも中間調記録が可能なようにディザ方による
2値化を行なう回路である。ディザ回路9により2値化
された信号は、プリンタ10に出力される。プリンタ1
0は、入力信号に応じて各色のインクを印字し、カラー
コピーを生成する。
Luminance signal I after density conversion and background processing
'And the color difference signals C1 and C2 are input to the color conversion circuit 8. The color conversion circuit 8 is constituted by, for example, a ROM, and converts a color represented by a combination of the values of the luminance signal I 'and the color difference signals C1 and C2 into an amount of ink necessary for outputting the color by a printer. It is a table. When the signals I ', C1, and C2 are input to the color conversion circuit 8, an output converted to the amount of ink necessary for printing is obtained. This color conversion table may be created by a method described by a masking equation, a Neugebauer equation, or the like. Each signal converted into the amount of ink, for example, a signal for yellow, magenta, cyan, and black in a four-color printer is input to the dither circuit 9. The dither circuit 9 is a circuit that performs binarization by dithering so that halftone printing is possible even in a color printer that can only perform binary printing. The signal binarized by the dither circuit 9 is output to the printer 10. Printer 1
0 prints the ink of each color in accordance with the input signal and generates a color copy.

【0017】次に、ガンマ変換回路4を中心とした濃度
補正の詳細について説明する。原稿は、その種類によっ
て濃度や彩度の特性が異なっている。したがって、様々
なコピーを得ようとする場合、その原稿に応じて補正値
を変えられることが望ましい。また、コピーの目的によ
って出力値を自由に変えられるようにすることも必要で
ある。前者は、例えば普通の原稿、写真のように濃度が
全体的に高く彩度を高めにすることが求められる原稿の
ように、そえぞれ区別してモードを設定する必要がある
場合である。後者は、普通の原稿でも、絵を特に美しく
コピーしたい場合、絵、文字の両方を通常にコピーした
い場合のように、目的によって出力画像の濃度を変えた
い場合である。また、原稿の地肌が濃い場合や、原稿の
一部に汚れがありこれを除去したい場合などは、あるし
きい値を設定し、これを越える輝度信号に対しては一律
に飽和レベルを与える等の処理も要求される。このよう
な要求を満たすため、この実施の形態では、図1の操作
パネル6を図2に示すように構成している。すなわち、
この操作パネル6は、5つのモード、つまり自動モー
ド、絵モード、文字モード、写真モード、イラストモー
ドのうちから1つのモードを選択するモード設定スイッ
チ11と、これら各モード毎にそれぞれ濃度調節ができ
るように、濃度特性の切換えを例えば5段階に設定する
濃度設定スイッチ12と、これら各濃度特性に対して独
立に9レベルの地肌処理を行なうことができる地肌濃度
設定レバー13とを備えたものである。
Next, the details of the density correction centering on the gamma conversion circuit 4 will be described. Originals have different density and saturation characteristics depending on the type. Therefore, when trying to obtain various copies, it is desirable to be able to change the correction value according to the original. It is also necessary that the output value can be freely changed depending on the purpose of copying. The former case is a case where it is necessary to set the mode separately for each document such as a normal document or a document such as a photograph which is required to have high density and high saturation. The latter is a case where it is desired to change the density of an output image depending on the purpose, such as when it is desired to copy a picture particularly beautifully or to copy both a picture and text normally even with a normal original. Also, when the background of the document is dark, or when a part of the document is dirty and it is desired to remove it, a certain threshold value is set, and a saturation level is uniformly applied to a luminance signal exceeding the threshold value. Is also required. In order to meet such requirements, the operation panel 6 of FIG. 1 is configured as shown in FIG. 2 in this embodiment. That is,
The operation panel 6 has a mode setting switch 11 for selecting one of five modes, that is, an automatic mode, a picture mode, a character mode, a photograph mode, and an illustration mode, and density adjustment for each of these modes. As described above, the density setting switch 12 for setting the density characteristic switching in, for example, five steps, and the background density setting lever 13 capable of independently performing nine levels of background processing for each density characteristic are provided. is there.

【0018】図3は、モード設定スイッチ11と濃度設
定スイッチ12との組合わせによって25通りの濃度特
性が設定できる様子を示したものである。但し、ここで
は、自動モード、絵モード、文字モードは全て普通の原
稿に対するモードであるということから、同一の濃度特
性を与えた。ここに記載された濃度特性の一例としてI
00〜I04を図4に示す。この濃度特性は、次式によって
表される。
FIG. 3 shows how 25 kinds of density characteristics can be set by combining the mode setting switch 11 and the density setting switch 12. However, in this case, since the automatic mode, the picture mode, and the character mode are all modes for ordinary documents, the same density characteristics are given. As an example of the density characteristics described here, I
FIG. 4 shows 00 to I04. This density characteristic is expressed by the following equation.

【0019】[0019]

【数1】 [Equation 1]

【0020】ここではIは濃度データ、すなわちガンマ
補正回路4に入力される輝度信号値を、また、I´は補
正濃度データ、すなわちガンマ補正回路4から出力され
る輝度信号値をそれぞれ示し、αは適当な正の実数値を
示す。(2)式に示す変換式を用いたのは、次の理由に
よる。すなわち、濃度変換では人間の目に対する自然正
を確保することが必要であるが、前述したように、人間
の感覚は、刺激の強さの対数に略比例すると言われてい
る。そこで(2)式の両側に対数をとると、次のような
式が得られる。
Here, I indicates density data, that is, a luminance signal value input to the gamma correction circuit 4, and I 'indicates corrected density data, that is, a luminance signal value output from the gamma correction circuit 4, respectively. Indicates an appropriate positive real value. (2) is used for the following reason. That is, it is necessary for the density conversion to ensure natural correctness for the human eye, but as described above, the human sense is said to be approximately proportional to the logarithm of the strength of the stimulus. Then, taking the logarithm on both sides of equation (2), the following equation is obtained.

【0021】[0021]

【数2】 [Equation 2]

【0022】すなわち、輝度信号Iをα乗して求めた輝
度信号I´は、元の輝度信号Iのα倍に見えることにな
る。この輝度信号IおよびI´は、この関係を保ちなが
ら変化して見えることになる。
That is, the luminance signal I 'obtained by raising the luminance signal I to the power of α looks like α times the original luminance signal I. The luminance signals I and I ′ appear to change while maintaining this relationship.

【0023】また、(2)式による変換は、都合の良い
ことに、輝度信号IおよびI´が例えば8ビットの数な
らば、I=0の時はI´=0となり、I=255のとき
は、I´=255となるので、高濃度域につぶれが生じ
たり、最高濃度レベルに濃度が達しなかったり、低濃度
域に印字されない部分が生じたり、地肌汚れのもとにな
るカブリ濃度が生じたりすることがない。尚、αの値と
しては、例えば0.5,0.67,0.8,1.0,
1.25,1.5などを用いることができる。このよう
にαを種々変えることによって図4に示すような種々の
濃度特性を得ることができる。ROM5には、この実施
の形態のように選択される濃度特性のα値が数通りしか
ないときは、全ての場合のIij(ここではi=0〜4,
j=1〜2)が格納され、各濃度データはこのROM5
から直接得られる。しかし、αが数十から数百の値をと
り得るならば、ROM5には例えば典型的な濃度特性で
あるI02(α=1)が格納される。そして各補正濃度デ
ータは、これを加工することによって得ることができ
る。
Conveniently, the conversion according to the equation (2) is performed when the luminance signals I and I 'are 8-bit numbers, for example, when I = 0, I' = 0 and I = 255. At this time, since I '= 255, crushing occurs in the high density area, the density does not reach the maximum density level, a portion that is not printed in the low density area occurs, and the fog density which causes background stain is generated. Does not occur. As the value of α, for example, 0.5, 0.67, 0.8, 1.0,
1.25, 1.5, etc. can be used. By varying α in this way, various density characteristics as shown in FIG. 4 can be obtained. When there are only a few α values of the density characteristic selected in the ROM 5 as in this embodiment, Iij (here, i = 0 to 4,
j = 1 to 2) are stored, and each density data is stored in the ROM 5.
Obtained directly from However, if α can take a value of several tens to several hundreds, the ROM 5 stores, for example, a typical density characteristic I 02 (α = 1). Each corrected density data can be obtained by processing the data.

【0024】また、この実施の形態では、原稿の地肌汚
れや紙自体の下地濃度によるコピーの地肌汚れが生じな
いように、地肌調整レバーによりしきい値調整を行なう
ことができる。しきい値をThとすると、この処理によ
って得られる濃度特性は、次式に示す通りである。
Further, in this embodiment, the threshold value can be adjusted by the background adjustment lever so that the background contamination of the original and the background contamination of the copy due to the background density of the paper itself do not occur. When the threshold value is Th, the concentration characteristic obtained by this processing is as shown in the following equation.

【0025】[0025]

【数3】 (Equation 3)

【0026】すなわち、図4に示すように入力である濃
度データIがしきい値Thを越えたら、出力である補正
濃度データI´は、白レベルとして出力し、これによっ
て地肌汚れをカットするようにしている。
That is, as shown in FIG. 4, when the input density data I exceeds the threshold value Th, the output corrected density data I 'is output as a white level, thereby cutting off the background stain. I have to.

【0027】このような補正濃度データI´は、CPU
7において加工される。補正データの生成からRAM
(ガンマ変換回路4)への書込みまでの処理の流れは図
5に示される。まず、モードと濃度特性とが入力される
と(21,22)、CPU7は補正データの組合わせを
選択する(23)。地肌処理用のしきい値Thが入力さ
れる(24)。Iがクリアされる(25)。IがThよ
りも小さい場合には(26)、選択された濃度特性の補
正濃度データI´に加工し、あるいはROMから補正デ
ータを読取り(27)、RAMにそのデータI´を書込
む(28)。また、IがTh以上である場合には、補正
データを飽和レベルデータにして(29)、RAMに書
込む(28)。Iを一つカウントアップして(30)、
Iが255に達するまでこれを繰り返す(31)。これ
によってRAMの内部には補正濃度データが格納され
る。
The corrected density data I 'is stored in the CPU.
Processed at 7. RAM from correction data generation
FIG. 5 shows the flow of processing up to writing to (gamma conversion circuit 4). First, when a mode and a density characteristic are input (21, 22), the CPU 7 selects a combination of correction data (23). A threshold value Th for background processing is input (24). I is cleared (25). If I is smaller than Th (26), the corrected density data I'of the selected density characteristic is processed, or the correction data is read from the ROM (27), and the data I'is written in the RAM (28). ). If I is equal to or greater than Th, the correction data is set to the saturation level data (29) and written to the RAM (28). Count up I by one (30),
This is repeated until I reaches 255 (31). As a result, the corrected density data is stored inside the RAM.

【0028】なお、ガンマ補正回路4は、例えば図6に
示すように4個のバッファおよび書換え可能なメモリ
(RAM)より構成することができる。マトリクス回路
3から得られた輝度信号Iはバッファ40に蓄えられ
る。他方、補正データの書込みは、以下のようにして行
なわれる。CPU7によって生成された8ビットデータ
0〜255はそのまま、アドレスとしてバッファ41に
蓄えられ、0〜255に対応する補正濃度データI´
は、バッファ42に蓄えられる。上記アドレスと対応し
てアドレスのべき乗値である補正濃度データI´はRA
M43に書込まれる。このとき、バッファ41はRAM
43とは切離されている。バッファ40に蓄えられた輝
度信号Iは、その信号値がアドレスとしてRAM43に
与えられ、そのアドレスで与えられる場所に記憶されて
いる補正濃度データが補正された輝度信号I´としてバ
ッファ45に蓄積されていく。このようにして濃度の補
正が行なわれる。
The gamma correction circuit 4 can be composed of, for example, four buffers and a rewritable memory (RAM) as shown in FIG. The luminance signal I obtained from the matrix circuit 3 is stored in the buffer 40. On the other hand, writing of correction data is performed as follows. The 8-bit data 0-255 generated by the CPU 7 is stored as it is in the buffer 41 as an address, and the corrected density data I ′ corresponding to 0-255 is stored.
Are stored in the buffer 42. The corrected density data I ', which is a power value of the address corresponding to the address, is RA
Written to M43. At this time, the buffer 41
43 is separated. The luminance signal I stored in the buffer 40 is given as an address to the RAM 43 as an address, and the corrected density data stored at the location given by the address is stored in the buffer 45 as a corrected luminance signal I '. To go. The correction of the density is performed in this manner.

【0029】ところで、このような濃度変換を行なう
と、有彩色が淡くなったり、濁ったりして彩度が低下し
て見えることがある。このため、濃度を動かした分だけ
彩度を上げる必要がある。この彩度の補正は色差信号の
値を拡大することにより行なわれる。色差信号の拡大率
をPとすると、マトリクス回路3に入力される信号Si
から、マトリクス回路3の出力である輝度信号Iおよび
色差信号C1 ,C2 への変換は、次式により表される。
By the way, when such density conversion is performed, the chromatic color may become pale or muddy, and the saturation may be reduced. For this reason, it is necessary to increase the saturation by the amount by which the density is moved. The correction of the saturation is performed by enlarging the value of the color difference signal. Assuming that the enlargement ratio of the color difference signal is P, the signal Si input to the matrix circuit 3 is
Is converted into a luminance signal I and color difference signals C1 and C2 output from the matrix circuit 3 by the following equation.

【0030】 I a11 a12 a13 S1 C1 = Pa21 Pa22 Pa23 S2 …(5) C2 Pa31 Pa32 Pa33 S3 ここで、P=1のとき、(5)式の3×3マトリクス
(以下Mとする)は、彩度を変化させないときの基本マ
トリクスである。このようにして各モードおよび各濃度
に応じて彩度調節を行なうため、用いるマトリクスMを
図7に示すように複数種類設定した。このマトリクスの
組合わせは、図3の組合わせと対応している。尚、本発
明者等の実験によると、色差信号値C1 ,C2 の拡大率
Pを動かす範囲は、1.0〜1.3の間が適当であっ
た。これは、Pが1.3のとき、有彩色の彩度は飽和レ
ベルに達し、Pの値をそれ以上大きくしても彩度は上が
らなくなるからである。実験例を挙げて説明すると、例
えば、濃度変換式において、α=0.8とした時は、全
体的に濃度が淡くなる。このとき、P=1.0で彩度を
標準状態のままにしておくと、有彩色が淡くなっている
分だけ見掛け上の彩度が落ちる。そこで、Pを1よりも
大きくすることにより、色差信号の値を拡大し、見掛け
の彩度を上げるようにする。尚、ここではP=1.1に
した場合に画像がより自然に見えた。このような濃度変
換、地肌処理および彩度の補正を行なうことにより、人
間の目に自然に見えるような濃度変換を行ない、地肌汚
れや紙自体に濃度のある原稿に対してもコピーに地肌汚
れを生じさせることのなく、かつ濃度変換の結果として
起こり易い見掛けの彩度低下を防ぎ、好ましいコピーを
得ることができる。
I a11 a12 a13 S1 C1 = Pa21 Pa22 Pa23 S2 ... (5) C2 Pa31 Pa32 Pa33 S3 Here, when P = 1, the 3 × 3 matrix (hereinafter, referred to as M) of the equation (5) is This is a basic matrix when the degree is not changed. In order to adjust the saturation according to each mode and each density in this manner, a plurality of types of matrices M are set as shown in FIG. This combination of matrices corresponds to the combination of FIG. According to experiments by the present inventors, the range in which the enlargement ratio P of the color difference signal values C1 and C2 is moved is suitably in the range of 1.0 to 1.3. This is because when P is 1.3, the saturation of the chromatic color reaches the saturation level, and the saturation does not increase even if the value of P is further increased. Explaining with an experimental example, for example, when α = 0.8 in the density conversion equation, the density becomes lighter as a whole. At this time, if the saturation is kept in the standard state at P = 1.0, the apparent saturation decreases by an amount corresponding to the lighter chromatic color. Therefore, by making P larger than 1, the value of the color difference signal is enlarged to increase the apparent saturation. Here, the image looked more natural when P = 1.1. By performing such density conversion, background processing, and saturation correction, density conversion is performed to make the image look natural to the human eye. And it is possible to obtain a preferable copy by preventing an apparent decrease in saturation, which is likely to occur as a result of density conversion.

【0031】このように、この実施の形態によれば、2
5通りの濃度特性に9種類のしきい値を組合わせると、
合計225通りの濃度補正を行なうことができ、しか
も、必要なメモリ量は、全てのデータをROMに記憶さ
せる場合に比べて1/225で足りることになる。
Thus, according to this embodiment, 2
Combining 9 types of thresholds with 5 types of density characteristics,
A total of 225 density corrections can be performed, and the required memory amount is 1/225 of that required when all data is stored in the ROM.

【0032】なお、先に説明した実施の形態では、濃度
特性、地肌処理、彩度の補正パラメータを操作スイッチ
を用いて手動で与えていた。しかし、これを自動的に行
なうことも可能である。この場合には、スキャナで得ら
れた原稿の濃度分布から彩度の補正の度合いを求め、紙
自体の持つ濃度や汚れから地肌処理用のしきい値を推定
し、信号の加工を行なっていけば良い。このようにする
ことによって使用者が操作スイッチを選択する手間を省
くことも可能である。
In the embodiment described above, the correction parameters for the density characteristic, the background processing, and the saturation are manually given by using the operation switches. However, it is also possible to do this automatically. In this case, obtain the degree of saturation correction from the density distribution of the document obtained by the scanner, estimate the threshold value for background processing from the density and dirt of the paper itself, and process the signal. Good. By doing so, it is possible to save the user from having to select an operation switch.

【0033】また、先に説明した実施の形態では、ガン
マ補正回路4によって濃度補正と地肌処理の両方を行な
っていたが、図8に示すように、ガンマ補正回路51と
地肌処理回路52とを別々に設け、2つの処理を個別に
行なうようにしても良い。この場合、ガンマ補正回路5
1にて図9(a)に示すような曲線(式(2´))を用
いて濃度変換を行ない、さらに地肌処理回路52にて図
9(b)に示すような変換により、しきい値処理を行な
えば良い。
In the above-described embodiment, both the density correction and the background processing are performed by the gamma correction circuit 4. However, as shown in FIG. 8, the gamma correction circuit 51 and the background processing circuit 52 are connected to each other. They may be provided separately and the two processes may be performed separately. In this case, the gamma correction circuit 5
1, the density conversion is performed using the curve (Equation (2 ′)) as shown in FIG. 9A, and the background processing circuit 52 performs the conversion as shown in FIG. What is necessary is just to perform a process.

【0034】[0034]

【数4】 [Equation 4]

【0035】この場合には、しきい値のみの設定変更を
容易に行なえるという利点を有する。また、しきい値は
Th1 およびTh2 と2つ設定し、低濃度域のおいて地
肌除去、高濃度域において飽和濃度の調節を行なうこと
も可能である。しきい値Th1 ,Th2 は、スイッチに
よって自由に変えられるようにすれば良い。もちろん、
この2つのしきい値を用いた処理は、先に説明した実施
の形態でも可能である。
In this case, there is an advantage that the setting change of only the threshold value can be easily performed. It is also possible to set two thresholds, Th1 and Th2, to remove the background in a low density range and to adjust the saturation density in a high density range. The threshold values Th1 and Th2 may be freely changed by a switch. of course,
The processing using these two thresholds is also possible in the embodiment described above.

【0036】また、先に説明した実施の形態では、彩度
の補正をマトリクス回路にて行なっていたが、色差信号
のガンマ特性を補正することにより行なうことも可能で
ある。この場合には、図10に示すように、色差補正回
路53を設ければ良い。この色差補正回路53にて図1
1に示すようなガンマ値の高い特性を色差信号に与える
ことにより、見掛けの彩度を上げることが可能となる。
さらに、色差信号の入力値をCi、出力値をCi´とし
たとき、次式に示す変換式を用いて彩度を上げることが
可能である。
In the above-described embodiment, the saturation is corrected by the matrix circuit. However, the saturation can be corrected by correcting the gamma characteristic of the color difference signal. In this case, a color difference correction circuit 53 may be provided as shown in FIG. The color difference correction circuit 53 shown in FIG.
By giving a characteristic having a high gamma value as shown in FIG. 1 to the color difference signal, it is possible to increase the apparent saturation.
Further, when the input value of the color difference signal is Ci and the output value is Ci ′, it is possible to increase the saturation by using the following conversion formula.

【0037】[0037]

【数5】 (Equation 5)

【0038】但し、ここでi=1,2、βは1以上の実
数である。輝度信号補正のときにも述べたように、人間
の刺激の強さの対数に比例するということから、彩度に
ついても、この関係は成立つ。したがって、(6)式に
より、見掛けの彩度がβ倍になる。また、(6)式によ
る補正は、色差信号C1 ,C2 のガンマを変えた場合の
ように、原稿において彩度がある程度以上のものはすべ
てベタになってしまうということがないので、色調の豊
富さを保ちながら、彩度は高めにコピーすることが可能
であり、都合が良い。
Here, i = 1, 2 and β are real numbers of 1 or more. As described in the case of the luminance signal correction, since the intensity is proportional to the logarithm of the intensity of the human stimulus, this relationship also holds for the saturation. Therefore, according to the equation (6), the apparent saturation becomes β times. In addition, the correction by the expression (6) does not cause the solid-colored image to have all colors having a saturation of a certain level or more, as in the case where the gamma of the color difference signals C1 and C2 are changed. It is possible to copy with high saturation while maintaining the image quality, which is convenient.

【0039】なお、以上は主として本発明の画像処理装
置をディジタル複写機に適用した場合の例について述べ
たが、本発明は、複写機に限られることなく、カラーテ
レビジョンカメラ、電子スチルカメラ等、種々の用途に
応用可能であることは言うまでもない。
In the above, an example in which the image processing apparatus of the present invention is mainly applied to a digital copying machine has been described, but the present invention is not limited to the copying machine, and a color television camera, an electronic still camera, or the like. Needless to say, it can be applied to various uses.

【0040】[0040]

【発明の効果】以上述べたように、本発明によれば、濃
度変換テーブルに要するメモリ容量の増大を招くことな
く、またユーザによる簡単なモード設定操作だけで、入
力画像の種別に応じた最適な濃度補正を行なうことがで
きる。
As described above, according to the present invention, it is possible to obtain the optimum value according to the type of the input image without increasing the memory capacity required for the density conversion table and by the simple mode setting operation by the user. It is possible to perform various density corrections.

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

【図1】本発明の実施の形態に係るディジタル複写機を
示すブロック図
FIG. 1 is a block diagram showing a digital copying machine according to an embodiment of the present invention.

【図2】同ディジタル複写機の操作パネルを示す図FIG. 2 is a diagram showing an operation panel of the digital copying machine.

【図3】モード選択と濃度選択とによって決まる濃度補
正を示す図
FIG. 3 is a diagram showing density correction determined by mode selection and density selection.

【図4】補正濃度データ曲線の一例を示す図FIG. 4 is a diagram showing an example of a corrected density data curve.

【図5】同ディジタル複写機の動作を説明するための流
れ図
FIG. 5 is a flowchart for explaining the operation of the digital copying machine;

【図6】同ディジタル複写機のガンマ補正回路の内部構
成の一例を示すブロック図
FIG. 6 is a block diagram showing an example of an internal configuration of a gamma correction circuit of the digital copying machine.

【図7】モード選択と濃度選択とによって決まるマトリ
クスを示す図
FIG. 7 is a diagram showing a matrix determined by mode selection and density selection.

【図8】本発明の他の実施の形態に係るディジタル複写
機を示すブロック図
FIG. 8 is a block diagram showing a digital copying machine according to another embodiment of the present invention.

【図9】ガンマ補正と地肌処理を個別に行なう場合の特
性曲線の一例を示す図
FIG. 9 is a diagram illustrating an example of a characteristic curve when gamma correction and background processing are performed separately.

【図10】本発明のさらに他の実施の形態に係るディジ
タル複写機を示すブロック図
FIG. 10 is a block diagram showing a digital copying machine according to still another embodiment of the present invention.

【図11】色差信号のガンマ特性の補正を行なう場合の
特性曲線の一例を示す図
FIG. 11 is a diagram illustrating an example of a characteristic curve when correcting a gamma characteristic of a color difference signal.

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

1…スキャナ、2…シェーディング補正回路、3…マト
リクス回路、4,51…ガンマ変換回路、5…ROM、
6…操作パネル、7…CPU、8…色変換回路、9…デ
ィザ回路、10…プリンタ、52…地肌処理回路、53
…色差補正回路
1 ... Scanner, 2 ... Shading correction circuit, 3 ... Matrix circuit, 4, 51 ... Gamma conversion circuit, 5 ... ROM,
Reference numeral 6: operation panel, 7: CPU, 8: color conversion circuit, 9: dither circuit, 10: printer, 52: background processing circuit, 53
… Color difference correction circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/18 K 9/77 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location H04N 7/18 K 9/77

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】入力画像の濃度データを出力画像の補正濃
度データに変換する濃度変換テーブルを備えた画像処理
装置において、 前記濃度変換テーブルを書換え可能なメモリで構成する
とともに、 少なくとも文字モードおよび写真モードを含むモードを
ユーザに設定させるための操作パネル手段と、 この操作パネル手段にて設定された前記モードに基づい
て得られる入力画像の種別に応じて前記補正濃度データ
を生成し前記メモリに書込む生成手段とを具備したこと
を特徴とする画像処理装置。
1. An image processing apparatus provided with a density conversion table for converting density data of an input image into corrected density data of an output image, wherein the density conversion table is composed of a rewritable memory, and at least a character mode and a photograph. Operation panel means for allowing the user to set a mode including a mode, and the corrected density data is generated according to the type of the input image obtained based on the mode set by the operation panel means and written in the memory. An image processing apparatus comprising:
【請求項2】前記入力画像の画像信号を輝度信号と色差
信号とに分離し、該輝度信号を濃度データとして前記濃
度変換テーブルに与え、前記色差信号を前記補正濃度デ
ータに対応させて補正することを特徴とする請求項1に
記載の画像処理装置。
2. An image signal of the input image is separated into a luminance signal and a color difference signal, the luminance signal is supplied to the density conversion table as density data, and the color difference signal is corrected in accordance with the corrected density data. The image processing apparatus according to claim 1, wherein:
【請求項3】前記輝度信号に対し濃度特性を淡くすると
きおよび濃くするときのいずれの場合にも、前記色差信
号の値を拡大することを特徴とする請求項2に記載の画
像処理装置。
3. The image processing apparatus according to claim 2, wherein the value of the color difference signal is expanded both when the density characteristic of the luminance signal is reduced and when the density characteristic is increased.
JP7180245A 1995-07-17 1995-07-17 Image processing device Expired - Lifetime JP2635947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7180245A JP2635947B2 (en) 1995-07-17 1995-07-17 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7180245A JP2635947B2 (en) 1995-07-17 1995-07-17 Image processing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP60236759A Division JPH0669211B2 (en) 1985-10-23 1985-10-23 Image processing device

Publications (2)

Publication Number Publication Date
JPH08111778A true JPH08111778A (en) 1996-04-30
JP2635947B2 JP2635947B2 (en) 1997-07-30

Family

ID=16079911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7180245A Expired - Lifetime JP2635947B2 (en) 1995-07-17 1995-07-17 Image processing device

Country Status (1)

Country Link
JP (1) JP2635947B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005122320A (en) * 2003-10-14 2005-05-12 Casio Comput Co Ltd Photographing apparatus, and its image processing method and program
JP2005122323A (en) * 2003-10-14 2005-05-12 Casio Comput Co Ltd Photographing apparatus, image processor, and image processing method and program for photographing device
US7317828B2 (en) 2002-09-09 2008-01-08 Minolta Co., Ltd. Color image processing apparatus with background control
JP2012249065A (en) * 2011-05-27 2012-12-13 Fuji Xerox Co Ltd Image processor and image processing program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5839168A (en) * 1981-09-02 1983-03-07 Ricoh Co Ltd Gamma compensation device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5839168A (en) * 1981-09-02 1983-03-07 Ricoh Co Ltd Gamma compensation device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317828B2 (en) 2002-09-09 2008-01-08 Minolta Co., Ltd. Color image processing apparatus with background control
JP2005122320A (en) * 2003-10-14 2005-05-12 Casio Comput Co Ltd Photographing apparatus, and its image processing method and program
JP2005122323A (en) * 2003-10-14 2005-05-12 Casio Comput Co Ltd Photographing apparatus, image processor, and image processing method and program for photographing device
US7607783B2 (en) 2003-10-14 2009-10-27 Casio Computer Co., Ltd. Imaging apparatus, image processing apparatus, image processing method of imaging apparatus and computer program
JP2012249065A (en) * 2011-05-27 2012-12-13 Fuji Xerox Co Ltd Image processor and image processing program

Also Published As

Publication number Publication date
JP2635947B2 (en) 1997-07-30

Similar Documents

Publication Publication Date Title
JP2993014B2 (en) Image quality control method for image processing device
US7684085B2 (en) Methods and apparatus for reconstructing digitized images
US8041112B2 (en) Image processing apparatus, image forming apparatus, image reading apparatus, image processing method, image processing program, computer-readable storage medium for storing the image processing program with segmentation and density correction optimization
EP0621725A1 (en) Automatic image segmentation for color documents
JPH0372778A (en) Area identification system for picture processing unit
US20100091348A1 (en) Image processing apparatus
JP2008252700A (en) Image processing apparatus and image processing method
JPH0669211B2 (en) Image processing device
US6894807B1 (en) Method and apparatus for printing a black-and-white image based on color image information
JP3333894B2 (en) Image processing device
JP4226278B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium recording the same
JP2003219191A (en) Image processor and image forming apparatus comprising it
JP2635947B2 (en) Image processing device
JPH1075374A (en) Image processing unit and its method
JP7266462B2 (en) IMAGE PROCESSING APPARATUS, IMAGE FORMING APPARATUS, IMAGE PROCESSING METHOD AND PROGRAM
JP2890456B2 (en) Image processing device
JP3738810B2 (en) Image printing method and apparatus
JP4099366B2 (en) Image processing apparatus, image reading apparatus, image forming apparatus, and image processing method
JP2635947C (en)
JPH11177825A (en) Image processor
JP6794901B2 (en) Image processing equipment and computer programs
JPH1084493A (en) Color correction
JP6834701B2 (en) Image processing equipment and computer programs
JPH0614185A (en) Image reader
JP2005142740A (en) Ink jet original discriminating method, image processing apparatus, image reading apparatus, image forming apparatus, ink jet original discriminating program and recording medium

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term