JP2002094794A - Image processor - Google Patents

Image processor

Info

Publication number
JP2002094794A
JP2002094794A JP2000282295A JP2000282295A JP2002094794A JP 2002094794 A JP2002094794 A JP 2002094794A JP 2000282295 A JP2000282295 A JP 2000282295A JP 2000282295 A JP2000282295 A JP 2000282295A JP 2002094794 A JP2002094794 A JP 2002094794A
Authority
JP
Japan
Prior art keywords
tone curve
image processing
approximate
processing apparatus
image signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000282295A
Other languages
Japanese (ja)
Inventor
Hiroaki Fukuda
拓章 福田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2000282295A priority Critical patent/JP2002094794A/en
Publication of JP2002094794A publication Critical patent/JP2002094794A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an image processor that conducts gamma correction with high accuracy, without having to use of a lookup table LUT. SOLUTION: A read section 1 reads the side of an original, an amplifier 14 adjusts the amplitude of a read image, an analog/digital converter 15 quantizes the image into digital image data. A shading correction section 16 applies shading correction processing to the generated digital image data and gives the data to an image processing section 2 where the image data are subjected to filter processing, gamma-correction processing and gradation processing or the like, and the resulting data are fed to an image forming section 3. Through the processing of a desired image signal, the processing of converting a quantization value of the digital image signal is conducted according to a tone curve. The tone curve is an approximated tone curve through the combination of linear functions, each having a different gradient. The processing of the image processor approximates the tone curve through the combination of the linear functions with different gradients and can conduct gamma correction with high accuracy, without having to use the LUT.

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, for example, a digital copying machine, a facsimile, a printer, a scanner, and an image processing apparatus which is integrated as a digital multifunction machine.
In particular, the present invention relates to an image processing device to which a quantization value conversion (γ correction) process and a tone curve approximation processing method according to a tone curve performed by the image processing device are applied.

【0002】[0002]

【従来の技術】従来、画像処理装置において、ディジタ
ル画像データのγ補正は、トーンカーブと呼ばれるデー
タ値変換用のルックアップテーブル(LUT)を予めメ
モリ上にロードしておき、LUTを参照することによっ
て行うのが一般的である。この方式の場合、入力画像デ
ータが取り得る量子化値の数だけ、LUTのサイズを持
たなくてはならない。
2. Description of the Related Art Conventionally, in an image processing apparatus, a gamma correction of digital image data is performed by loading a lookup table (LUT) called a tone curve for data value conversion into a memory in advance and referring to the LUT. This is generally done by: In the case of this method, the size of the LUT must be equal to the number of quantization values that can be taken by the input image data.

【0003】これに対し、特開平8−32837号、特
開平11−196293号では、LUTを用いずに直線
近似により、トーンカーブを近似し、その近似トーンカ
ーブをもとにγ補正を行う、γ補正回路が発明されてい
る。
On the other hand, JP-A-8-32837 and JP-A-11-196293 approximate a tone curve by linear approximation without using an LUT, and perform gamma correction based on the approximated tone curve. A gamma correction circuit has been invented.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の発明においては、トーンカーブを分割して直線近似
する際の分割数と分割点に自由度がなく、トーンカーブ
の形状によっては、十分な精度で近似できないという問
題点がある。また、γ補正が専用のハードウェアで行わ
れるため、トーンカーブが変更された場合、γ補正ハー
ドウェアへのトーンカーブ情報の伝送が容易ではないと
いう問題を伴う。
However, in the above-mentioned conventional invention, there is no flexibility in the number of divisions and division points when a tone curve is divided and linear approximation is performed, and sufficient accuracy may be obtained depending on the shape of the tone curve. There is a problem that cannot be approximated by Further, since the γ correction is performed by dedicated hardware, when the tone curve is changed, transmission of the tone curve information to the γ correction hardware is not easy.

【0005】このような点から、本発明の第1の目的
は、トーンカーブを異なる傾きをもつ複数の1次関数を
組み合わせることによって近似し、LUTを用いること
なく、高精度にγ補正を行う画像処理装置を提供するこ
とである。
[0005] In view of the above, a first object of the present invention is to approximate a tone curve by combining a plurality of linear functions having different slopes, and to perform gamma correction with high accuracy without using an LUT. An object of the present invention is to provide an image processing device.

【0006】第2の目的は、ディジタル画像信号に対し
て、画像処理を行う演算処理部にプログラマブルなSI
MD型演算処理プロセッサを用いることによって、近似
トーンカーブの変更を容易にし、トーンカーブ設計時の
設計者の負担を軽減することである。
A second object is to provide a programmable SI for an arithmetic processing unit for performing image processing on a digital image signal.
By using the MD type processor, it is possible to easily change the approximate tone curve and reduce the burden on the designer when designing the tone curve.

【0007】第3の目的は、外部機器側で導出した近似
トーンカーブの情報を画像処理装置と外部機器との通信
により画像処理装置側に伝送可能な画像処理装置を提供
することである。
A third object is to provide an image processing apparatus capable of transmitting information of an approximate tone curve derived on the external device side to the image processing device side through communication between the image processing device and the external device.

【0008】第4の目的は、近似対象のトーンカーブの
座標をn箇所サンプリングして、直線近似を行い、誤差
最小となる近似トーンカーブを導出できる画像処理装置
を提供することである。
A fourth object of the present invention is to provide an image processing apparatus capable of sampling the coordinates of a tone curve to be approximated at n locations, performing linear approximation, and deriving an approximate tone curve with a minimum error.

【0009】第5の目的は、決定された近似トーンカー
ブの任意の領域を抽出し、その領域に対して、再度前記
非線形関数の座標をm箇所サンプリングし、直線近似に
より誤差最小となる近似トーンカーブを導出できる、画
像処理装置を提供することである。
A fifth object is to extract an arbitrary area of the determined approximate tone curve, sample the coordinates of the nonlinear function at m positions again in the area, and obtain an approximate tone which minimizes the error by linear approximation. An object of the present invention is to provide an image processing device capable of deriving a curve.

【0010】第6の目的は、決定された近似トーンカー
ブの中で、誤差の評価を行い、誤差最大となる領域を抽
出し、抽出された領域に対して近似トーンカーブの補正
を行うことによって、より近似精度の高いトーンカーブ
を導出できる画像処理装置を提供することである。
A sixth object is to evaluate the error in the determined approximate tone curve, extract a region having the maximum error, and correct the approximate tone curve for the extracted region. Another object of the present invention is to provide an image processing apparatus capable of deriving a tone curve with higher approximation accuracy.

【0011】[0011]

【課題を解決するための手段】かかる目的を達成するた
め、本発明の画像処理装置において、第1の発明は、原
稿面を読み取り、読み取った画像信号を量子化し、ディ
ジタル画像信号に変換する手段と、前記ディジタル画像
信号に対して画像処理を施し、所望の画像信号になるよ
うに処理を行う手段をもつ画像処理装置において、前記
所望の画像信号になるように処理を行う手段が、トーン
カーブに従い前記ディジタル画像信号の量子化値を変換
する処理を行い、前記トーンカーブが、異なる傾きをも
つ複数の1次関数を組み合わせることによって近似した
トーンカーブであることを特徴とする。
According to a first aspect of the present invention, there is provided an image processing apparatus for reading an original document, quantizing the read image signal, and converting the read image signal into a digital image signal. And an image processing device having means for performing image processing on the digital image signal and performing processing to obtain a desired image signal, wherein the means for performing processing to obtain the desired image signal includes a tone curve. In which the tone curve is a tone curve approximated by combining a plurality of linear functions having different slopes.

【0012】第2の発明は、前記ディジタル信号に対し
て画像処理を施し、所望の画像信号になるように処理を
行う手段が、SIMD型演算処理プロセッサであること
を特徴とする。
A second aspect of the present invention is characterized in that the means for performing image processing on the digital signal and performing processing to obtain a desired image signal is a SIMD type arithmetic processor.

【0013】第3の発明は、前記画像処理装置が外部機
器との間で通信を行う通信手段を具備し、外部機器によ
り前記トーンカーブの近似演算を行い、前記通信手段に
より画像処理装置に近似したトーンカーブの情報を伝送
することを特徴とする。
According to a third aspect of the present invention, the image processing apparatus includes communication means for communicating with an external device, the external device performs an approximate calculation of the tone curve, and the communication means approximates the image processing apparatus. It is characterized by transmitting the information of the tone curve.

【0014】第4の発明は、前記外部機器が、近似を行
う対象のトーンカーブの座標をn箇所サンプリングする
手段と、その座標を直線で結んだ複数の1次関数からな
る近似トーンカーブを生成する手段と、対象のトーンカ
ーブと近似トーンカーブとの誤差を演算する手段と、演
算された誤差を評価して誤差最小となる近似トーンカー
ブを画像処理装置に伝送するトーンカーブとして決定す
る手段とを備えていることを特徴とする。
According to a fourth aspect of the present invention, the external device generates means for sampling the coordinates of the tone curve to be approximated at n positions, and an approximate tone curve comprising a plurality of linear functions connecting the coordinates with straight lines. Means for calculating an error between the target tone curve and the approximate tone curve, and means for evaluating the calculated error and determining an approximate tone curve that minimizes the error as a tone curve to be transmitted to the image processing apparatus. It is characterized by having.

【0015】第5の発明は、前記決定された近似トーン
カーブの任意の領域を抽出する手段と、その領域に対し
て再度対象のトーンカーブの座標をm箇所サンプリング
して近似を行う手段とを具備し、近似トーンカーブの補
正を行うことを特徴とする。
According to a fifth aspect of the present invention, there is provided a means for extracting an arbitrary region of the determined approximate tone curve, and a means for sampling the coordinates of the target tone curve at m locations again to approximate the region. And the correction of the approximate tone curve is performed.

【0016】第6の発明は、前記決定された近似トーン
カーブの任意の領域を抽出する手段が、近似トーンカー
ブの中で対象のトーンカーブと近似トーンカーブとの誤
差を評価する手段を具備し、誤差最大となる領域を抽出
することを特徴とする。
In a sixth aspect, the means for extracting an arbitrary area of the determined approximate tone curve includes means for evaluating an error between the target tone curve and the approximate tone curve in the approximate tone curve. And extracting a region having a maximum error.

【0017】(作用)第1の発明によれば、トーンカー
ブを異なる傾きをもつ複数の1次関数を組み合わせるこ
とによって近似し、LUTを用いることなく、高精度に
γ補正を行う画像処理装置を提供することができる。
(Operation) According to the first aspect, an image processing apparatus which approximates a tone curve by combining a plurality of linear functions having different slopes and performs γ correction with high accuracy without using an LUT. Can be provided.

【0018】第2の発明によれば、ディジタル画像信号
に対して、画像処理を行う演算処理部にプログラマブル
なSIMD型演算処理プロセッサを用いることによっ
て、近似トーンカーブの変更を容易にし、トーンカーブ
設計時の設計者の負担を軽減することができる。
According to the second aspect of the present invention, the approximate tone curve can be easily changed by using a programmable SIMD type arithmetic processor in the arithmetic processing unit for performing image processing on the digital image signal, and the tone curve design can be simplified. The burden on the designer at the time can be reduced.

【0019】第3の発明によれば、外部機器側で導出し
た近似トーンカーブの情報を画像処理装置と外部機器と
の通信により画像処理装置側に伝送可能な画像処理装置
を提供することができる。
According to the third aspect, it is possible to provide an image processing apparatus capable of transmitting information on the approximate tone curve derived on the external device side to the image processing device side by communication between the image processing device and the external device. .

【0020】第4の発明によれば、近似対象のトーンカ
ーブの座標をn箇所サンプリングして、直線近似を行
い、誤差最小となる近似トーンカーブを導出できる画像
処理装置を提供することができる。
According to the fourth aspect of the present invention, it is possible to provide an image processing apparatus capable of sampling the coordinates of the tone curve to be approximated at n points, performing linear approximation, and deriving an approximate tone curve with a minimum error.

【0021】第5の発明によれば、決定された近似トー
ンカーブの任意の領域を抽出し、その領域に対して、再
度前記非線形関数の座標をm 箇所サンプリングし、直線
近似により誤差最小となる近似トーンカーブを導出でき
る画像処理装置を提供することができる。
According to the fifth aspect, an arbitrary area of the determined approximate tone curve is extracted, and the coordinates of the nonlinear function are sampled again at m points in the area, and the error is minimized by linear approximation. An image processing device that can derive an approximate tone curve can be provided.

【0022】第6の発明によれば、決定された近似トー
ンカーブの中で、誤差の評価を行い、誤差最大となる領
域を抽出し、抽出された領域に対して近似トーンカーブ
の補正を行うことによって、より近似精度の高いトーン
カーブを導出できる画像処理装置を提供することができ
る。
According to the sixth aspect, an error is evaluated from the determined approximate tone curve, a region where the error is maximum is extracted, and the approximate tone curve is corrected for the extracted region. Accordingly, it is possible to provide an image processing apparatus that can derive a tone curve with higher approximation accuracy.

【0023】[0023]

【発明の実施の形態】次に添付図面を参照して本発明に
よる画像処理装置の実施の形態を詳細に説明する。図1
から図10を参照すると本発明の画像処理装置の一実施
形態が示されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of an image processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings. FIG.
10 to FIG. 10, there is shown an embodiment of the image processing apparatus of the present invention.

【0024】図1は、本発明の画像処理装置の一形態
で、複写機の構成を示したものである。原稿面は、読み
取り部1によって読み取られる。ランプ11から照射さ
れた光は、原稿12の面で反射し、CCD13により電
気信号に変換され、増幅器14で振幅調整された後、A
/D変換器15で量子化されディジタル画像データとな
る。
FIG. 1 shows an embodiment of an image processing apparatus according to the present invention, and shows a configuration of a copying machine. The document surface is read by the reading unit 1. The light emitted from the lamp 11 is reflected on the surface of the document 12, converted into an electric signal by the CCD 13, and the amplitude of the light is adjusted by the amplifier 14.
The image data is quantized by the / D converter 15 to become digital image data.

【0025】生成されたディジタル画像データは、シェ
ーディング補正部16でシェーディング補正処理され、
画像処理部2に入力され、フィルタ処理、γ補正処理、
階調処理などを施されて、像形成部3に送られる。像形
成部3に入力されたディジタル画像データは、書き込み
部31で、そのデータ値に従いレーザー光に変換され、
帯電チャージャ32により帯電された感光体33に照射
され、感光体面に静電潜像を形成する。
The generated digital image data is subjected to shading correction processing by a shading correction unit 16, and
The image data is input to the image processing unit 2 and filtered, γ-corrected,
After being subjected to gradation processing and the like, it is sent to the image forming unit 3. The digital image data input to the image forming unit 3 is converted into a laser beam in a writing unit 31 according to the data value.
The photosensitive member 33 charged by the charging charger 32 is irradiated to form an electrostatic latent image on the surface of the photosensitive member.

【0026】現像スリーブ34は、形成された静電潜像
に従い、感光体面にトナーを付着させる。感光体面に付
着したトナーは、給紙トレー35から送られてきた紙面
上に転写され、定着部36を通り、複写原稿として出力
される。
The developing sleeve 34 adheres toner to the photoreceptor surface in accordance with the formed electrostatic latent image. The toner adhering to the photoconductor surface is transferred onto the paper surface sent from the paper feed tray 35, passes through the fixing unit 36, and is output as a copy original.

【0027】図2は、画像処理部で行われる処理のひと
つである、γ補正処理で用いるトーンカーブを示したも
のである。このトーンカーブに従って、入力画像信号の
量子化値を変換して、出力画像信号とする。
FIG. 2 shows a tone curve used in the γ correction process, which is one of the processes performed in the image processing section. According to the tone curve, the quantization value of the input image signal is converted into an output image signal.

【0028】図3は、γ補正処理の一般的な実現方法で
ある、LUTを用いたγ補正回路のブロック図を示した
ものである。メモリ上に予め、図2に示したトーンカー
ブに従う量子化値変換用のLUTを形成しておく。アド
レス生成部211は、入力画像データ値によって、変換
する画像データ値が記憶されているLUT上のアドレス
生成する。メモリ212には、アドレスとメモリ制御信
号が入力され、出力画像データが出力される。
FIG. 3 is a block diagram of a gamma correction circuit using an LUT, which is a general method of realizing gamma correction processing. An LUT for quantization value conversion according to the tone curve shown in FIG. 2 is previously formed on the memory. The address generation unit 211 generates an address on the LUT in which the image data value to be converted is stored, based on the input image data value. The memory 212 receives an address and a memory control signal, and outputs output image data.

【0029】図4の実線で示したグラフは、トーンカー
ブを異なる傾きをもつ複数の1次関数を組み合わせるこ
とによって近似したものである。図4の破線で示したグ
ラフは、近似を行った対象の近似対象トーンカーブを示
したものである。この1次関数の組み合わせで近似し
た、近似トーンカーブを用いることによって図3に示し
たLUT用のメモリを用いることなくγ補正処理を実現
する。
The graph shown by the solid line in FIG. 4 approximates the tone curve by combining a plurality of linear functions having different slopes. The graph shown by the broken line in FIG. 4 shows the approximation target tone curve of the approximation target. By using the approximate tone curve approximated by the combination of the linear functions, the γ correction processing is realized without using the LUT memory shown in FIG.

【0030】図5は、画像処理を行うプログラマブルな
SIMD型演算処理プロセッサ22を示したものであ
る。SIMD型演算処理プロセッサ22は、外部からグ
ローバルプロセッサ経由で、プログラムRAM221に
プログラムがロードされ、このプログラムに従って入力
画像データに対して画像処理を行い、出力画像データと
して出力する。
FIG. 5 shows a programmable SIMD type arithmetic processor 22 for performing image processing. The SIMD type arithmetic processor 22 has a program loaded into the program RAM 221 from the outside via a global processor, performs image processing on input image data according to the program, and outputs it as output image data.

【0031】図4に示した近似トーンカーブによるγ補
正は、1 次関数1〜8の傾きと始点の座標をデータRA
M222にロードしておき、このデータRAM222を
参照して、傾きと始点の座標から演算式を導出しγ補正
の演算処理を行うプログラムを実行することによって実
現する。ここでは、8つの1次関数による近似の例を示
したが、その数は、任意である。
In the γ correction using the approximate tone curve shown in FIG. 4, the gradients of the linear functions 1 to 8 and the coordinates of the starting point are represented by data RA.
This is realized by loading a program into M222, referring to the data RAM 222, deriving an arithmetic expression from the inclination and the coordinates of the starting point, and executing a program for performing arithmetic processing of γ correction. Here, an example of approximation using eight linear functions is shown, but the number is arbitrary.

【0032】図6は、図1の画像処理装置にトーンカー
ブの近似演算を行う外部機器50を接続したシステムを
示したものである。外部機器50は、データバスで画像
処理装置に接続される。外部機器50は、対象となるト
ーンカーブの近似演算を行い、近似トーンカーブの傾き
と始点の座標を求める。求められた近似トーンカーブの
傾きと始点の座標は、データバスを介しての外部機器5
0と画像処理装置との通信によって画像処理装置側に伝
送される。
FIG. 6 shows a system in which an external device 50 for performing approximate calculation of a tone curve is connected to the image processing apparatus of FIG. The external device 50 is connected to the image processing device via a data bus. The external device 50 performs an approximate calculation of the target tone curve, and obtains the slope of the approximate tone curve and the coordinates of the starting point. The obtained approximate slope of the tone curve and the coordinates of the starting point are stored in the external device 5 via the data bus.
0 is transmitted to the image processing apparatus by communication between the image processing apparatus and the image processing apparatus.

【0033】図7は、近似を行う対象のトーンカーブの
座標をn箇所サンプリングして、その座標を直線で結ん
だ複数の1次関数からなる近似トーンカーブを生成した
ものである。破線が、対象の近似対象トーンカーブ、実
線が近似トーンカーブである。ここで、近似トーンカー
ブの始点と終点は、対象の近似対象トーンカーブの始点
と終点を使用し固定点とする。ここでは、始点と終点の
間で、任意の2点をサンプリングして(n=2)、近似
を行う場合について説明する。
FIG. 7 shows an example in which the coordinates of a tone curve to be approximated are sampled at n points, and an approximate tone curve composed of a plurality of linear functions connecting the coordinates with straight lines is generated. The broken line is the approximate tone curve of interest and the solid line is the approximate tone curve. Here, the start point and end point of the approximate tone curve are fixed points using the start point and end point of the target approximate target tone curve. Here, a case will be described where two arbitrary points are sampled between the start point and the end point (n = 2) to perform approximation.

【0034】図8は、トーンカーブ近似のアルゴリズム
を示したフローチャートである。トーンカーブの始点の
x 座標をx0、終点のx 座標をx3とする(ステップS
1)。近似対象のトーンカーブをTCorg(x)としたとき、
TCorg(x)から2点 ( d1, TCorg(d1) ), ( d2, TCorg(d
2) ) をサンプリングし、4点 ( x0, TCorg(x0) ), ( d
1,TCorg(d1) ), ( d2, TCorg(d2) ), ( x3, TCorg(x3)
) を直線で結んだ近似トーンカーブTCaprx|d1, d2
(x)を生成する(ステップS2)。但し、d1=x0+1, x0+
2,・・・ , x3-2, d2=x0+2, x0+3, ・・・, x3-1とする。
式1により、TCorg(x)と生成した近似トーンカーブとの
近似誤差err( d1, d2 ) を計算する(ステップS3)。
FIG. 8 is a flowchart showing an algorithm for approximating a tone curve. Of the starting point of the tone curve
The x coordinate is x0 and the x coordinate of the end point is x3 (step S
1). When the tone curve to be approximated is TCorg (x),
2 points from TCorg (x) (d1, TCorg (d1)), (d2, TCorg (d
2)) is sampled, and 4 points (x0, TCorg (x0)), (d
1, TCorg (d1)), (d2, TCorg (d2)), (x3, TCorg (x3)
) Is approximated by a straight line TCaprx | d1, d2
(x) is generated (step S2). Where d1 = x0 + 1, x0 +
, X3-2, d2 = x0 + 2, x0 + 3, ..., x3-1.
The approximate error err (d1, d2) between TCorg (x) and the generated approximate tone curve is calculated according to Equation 1 (step S3).

【0035】[0035]

【数1】 (Equation 1)

【0036】上記の式(1)において、err( d1, d2 )
が、最小値となるときの ( d1, d2) を最も近似精度の
良い近似トーンカーブを与える座標(x1, x2)として決定
する(ステップS4〜S10)。
In the above equation (1), err (d1, d2)
Is determined as coordinates (x1, x2) that gives an approximate tone curve with the highest approximate accuracy (steps S4 to S10).

【0037】図9は、近似トーンカーブの任意の領域を
抽出し、再度対象のトーンカーブの座標をm箇所サンプ
リングして、図7、図8に示した方法と同様の方法によ
って抽出した領域について近似を行い、近似トーンカー
ブの補正を行ったものである。ここでは、1次関数2の
領域を抽出し、その領域の座標を2点サンプリングして
(m=2)、近似を行う場合について記述している。黒
丸で示した座標が、近似トーンカーブの補正を行うため
に新たに求めた近似座標である。
FIG. 9 shows an example in which an arbitrary area of the approximate tone curve is extracted, the coordinates of the target tone curve are sampled again at m points, and the area is extracted by a method similar to the method shown in FIGS. The approximation is performed and the approximation tone curve is corrected. Here, a case where an area of the linear function 2 is extracted, two points of the coordinates of the area are sampled (m = 2), and approximation is performed is described. The coordinates indicated by black circles are the newly obtained approximate coordinates for correcting the approximate tone curve.

【0038】図10に、近似トーンカーブの中で、近似
対象の近似対象トーンカーブと近似トーンカーブとの誤
差を評価し、誤差最大となる領域を抽出する手順を示
す。式2により領域1から領域3までの各領域の近似誤
差を求める。
FIG. 10 shows a procedure for evaluating an error between the approximate tone curve to be approximated and the approximate tone curve in the approximate tone curve and extracting a region where the error is maximum. The approximate error of each area from the area 1 to the area 3 is obtained by Expression 2.

【0039】[0039]

【数2】 (Equation 2)

【0040】この近似誤差を比較して誤差最大となる領
域を求め、その領域を近似精度を高めるために近似トー
ンカーブに補正を加えるべき領域であると判断する。
By comparing the approximation errors, a region where the error is maximum is determined, and the region is determined to be a region where correction should be applied to the approximate tone curve in order to increase the approximation accuracy.

【0041】[0041]

【発明の効果】以上の説明より明らかなように、請求項
1記載の発明によれば、原稿面を読み取り、読み取った
画像信号を量子化し、ディジタル画像信号に変換する手
段と、前記ディジタル画像信号に対して画像処理を施
し、所望の画像信号になるように処理を行う手段をもつ
画像処理装置において、前記所望の画像信号になるよう
に処理を行う手段が、トーンカーブに従い前記ディジタ
ル画像信号の量子化値を変換する処理を行い、前記トー
ンカーブが、異なる傾きをもつ複数の1次関数を組み合
わせることによって近似したトーンカーブであることを
特徴とする画像処理装置を提供できる。
As is apparent from the above description, according to the first aspect of the present invention, means for reading a document surface, quantizing the read image signal and converting the read image signal into a digital image signal, An image processing apparatus having means for performing image processing on the digital image signal so as to obtain a desired image signal, wherein the means for performing processing so as to obtain the desired image signal is based on a tone curve. It is possible to provide an image processing apparatus which performs a process of converting a quantized value, and wherein the tone curve is a tone curve approximated by combining a plurality of linear functions having different slopes.

【0042】請求項2記載の発明によれば、前記ディジ
タル信号に対して画像処理を施し、所望の画像信号にな
るように処理を行う手段が、SIMD型演算処理プロセ
ッサであることを特徴とする請求項第1項記載の画像処
理装置を提供できる。
According to the second aspect of the present invention, the means for performing image processing on the digital signal so as to obtain a desired image signal is a SIMD type arithmetic processor. An image processing apparatus according to claim 1 can be provided.

【0043】請求項3記載の発明によれば、前記画像処
理装置が外部機器との間で通信を行う通信手段を具備
し、外部機器により前記トーンカーブの近似演算を行
い、前記通信手段により画像処理装置に近似したトーン
カーブの情報を伝送することを特徴とする請求項第1項
および第2項記載の画像処理装置を提供できる。
According to the third aspect of the present invention, the image processing apparatus includes communication means for performing communication with an external device, performs an approximate calculation of the tone curve by the external device, and performs image approximation by the communication means. The image processing apparatus according to claim 1 or 2, wherein information of a tone curve approximate to the processing apparatus is transmitted.

【0044】請求項4記載の発明によれば、前記外部機
器が、近似を行う対象のトーンカーブの座標をn箇所サ
ンプリングする手段と、その座標を直線で結んだ複数の
1次関数からなる近似トーンカーブを生成する手段と、
対象のトーンカーブと近似トーンカーブとの誤差を演算
する手段と、演算された誤差を評価して誤差最小となる
近似トーンカーブを画像処理装置に伝送するトーンカー
ブとして決定する手段とを具備する請求項第3項記載の
画像処理装置を提供できる。
According to the fourth aspect of the present invention, the external device samples the coordinates of the tone curve to be approximated at n positions, and an approximation composed of a plurality of linear functions connecting the coordinates with straight lines. Means for generating a tone curve;
Means for calculating an error between the target tone curve and the approximate tone curve, and means for evaluating the calculated error and determining an approximate tone curve that minimizes the error as a tone curve to be transmitted to the image processing apparatus. Item 3 can provide the image processing device.

【0045】請求項5記載の発明によれば、前記決定さ
れた近似トーンカーブの任意の領域を抽出する手段と、
その領域に対して再度対象のトーンカーブの座標をm 箇
所サンプリングして近似を行う手段とを具備し、近似ト
ーンカーブの補正を行うことを特徴とする請求項第4項
記載の画像処理装置を提供できる。
According to the invention described in claim 5, means for extracting an arbitrary area of the determined approximate tone curve,
5. The image processing apparatus according to claim 4, further comprising: means for sampling the coordinates of the target tone curve again at m points in the area and performing approximation, and correcting the approximate tone curve. Can be provided.

【0046】請求項6記載の発明によれば、前記決定さ
れた近似トーンカーブの任意の領域を抽出する手段が、
近似トーンカーブの中で対象のトーンカーブと近似トー
ンカーブとの誤差を評価する手段を具備し、誤差最大と
なる領域を抽出することを特徴とする請求項第5項記載
の画像処理装置を提供できる。
According to the sixth aspect of the present invention, the means for extracting an arbitrary area of the determined approximate tone curve comprises:
6. The image processing apparatus according to claim 5, further comprising means for evaluating an error between the target tone curve and the approximate tone curve in the approximate tone curve, and extracting a region where the error is maximum. it can.

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

【図1】本発明の画像処理装置の実施形態の画像処理装
置を示すブロック構成図である。
FIG. 1 is a block diagram illustrating an image processing apparatus according to an embodiment of the present invention.

【図2】画像処理部で行われる処理のひとつであるγ補
正処理で用いるトーンカーブを示している。
FIG. 2 illustrates a tone curve used in a γ correction process, which is one of processes performed by an image processing unit.

【図3】γ補正処理の一般的な実現方法であるLUTを
用いたγ補正回路のブロック図を示している。
FIG. 3 is a block diagram of a gamma correction circuit using an LUT, which is a general method for implementing gamma correction processing.

【図4】近似トーンカーブの模式図である。FIG. 4 is a schematic diagram of an approximate tone curve.

【図5】プログラマブルなSIMD型演算処理プロセッ
サの構成例を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration example of a programmable SIMD type arithmetic processing processor.

【図6】トーンカーブの近似演算を行う外部機器を接続
した画像処理装置を示すブロック構成図である。
FIG. 6 is a block diagram showing an image processing apparatus to which an external device for performing approximate calculation of a tone curve is connected.

【図7】トーンカーブの座標をn箇所サンプリングして
近似を行ったトーンカーブを示す。
FIG. 7 shows a tone curve obtained by sampling the coordinates of the tone curve at n places and performing approximation.

【図8】n箇所サンプリングして近似を行う手順を示し
たフローチャートである。
FIG. 8 is a flowchart showing a procedure for performing approximation by sampling at n places.

【図9】補正を行ったトーンカーブを示している。FIG. 9 shows a corrected tone curve.

【図10】誤差評価により近似トーンカーブの補正を行
う領域を抽出する方法を説明するための図である。
FIG. 10 is a diagram for explaining a method of extracting an area for correcting an approximate tone curve by error evaluation.

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

1 読み取り部 2 画像処理部 3 像形成部 11 ランプ 12 原稿 13 CCD 14 増幅器 15 A/D変換器 16 シェーディング補正部 22 SIMD型演算処理プロセッサ 31 書き込み部 32 帯電チャージャ 33 感光体 34 現像スリーブ 35 給紙トレー 36 定着部7 50 外部機器 211 アドレス生成部 212 メモリ 221 プログラムRAM 222 データRAM DESCRIPTION OF REFERENCE NUMERALS 1 reading unit 2 image processing unit 3 image forming unit 11 lamp 12 original 13 CCD 14 amplifier 15 A / D converter 16 shading correction unit 22 SIMD type arithmetic processing processor 31 writing unit 32 charging charger 33 photoconductor 34 developing sleeve 35 paper feed Tray 36 Fixing unit 750 External device 211 Address generation unit 212 Memory 221 Program RAM 222 Data RAM

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 原稿面を読み取り、読み取った画像信号
を量子化し、ディジタル画像信号に変換する手段と、前
記ディジタル画像信号に対して画像処理を施し、所望の
画像信号になるように処理を行う所定の手段をもつ画像
処理装置において、 前記所望の画像信号になるように処理を行う所定の手段
が、トーンカーブに従い前記ディジタル画像信号の量子
化値を変換する処理を行い、 前記トーンカーブが、異なる傾きをもつ複数の1次関数
を組み合わせることによって近似したトーンカーブであ
ること、 を特徴とする画像処理装置。
1. A means for reading a document surface, quantizing the read image signal and converting it to a digital image signal, performing image processing on the digital image signal, and performing processing so as to obtain a desired image signal. In an image processing apparatus having predetermined means, the predetermined means for performing processing so as to become the desired image signal performs processing for converting a quantization value of the digital image signal according to a tone curve; An image processing apparatus characterized in that the tone curve is approximated by combining a plurality of linear functions having different slopes.
【請求項2】 前記ディジタル画像信号に対して画像処
理を施し、前記所望の画像信号になるように処理を行う
所定の手段が、SIMD型演算処理プロセッサであるこ
とを特徴とする請求項1に記載の画像処理装置。
2. The system according to claim 1, wherein the predetermined means for performing image processing on the digital image signal and performing processing so as to obtain the desired image signal is a SIMD type arithmetic processing processor. The image processing apparatus according to any one of the preceding claims.
【請求項3】 前記画像処理装置が外部機器との間で通
信を行う通信手段を具備し、外部機器により前記トーン
カーブの近似演算を行い、前記通信手段により画像処理
装置に近似したトーンカーブの情報を伝送することを特
徴とする請求項1または2に記載の画像処理装置。
3. An image processing apparatus, comprising: communication means for communicating with an external device, performing an approximation calculation of the tone curve by the external device, and calculating a tone curve approximating the image processing device by the communication means. The image processing apparatus according to claim 1, wherein information is transmitted.
【請求項4】 前記外部機器が、 近似を行う対象のトーンカーブの座標をn箇所サンプリ
ングする手段と、 その座標を直線で結んだ複数の1次関数からなる近似ト
ーンカーブを生成する手段と、 前記対象のトーンカーブと前記近似トーンカーブとの誤
差を演算する手段と、 前記演算された誤差を評価して誤差最小となる前記近似
トーンカーブを画像処理装置に伝送するトーンカーブと
して決定する手段と、 を具備することを特徴とする請求項3に記載の画像処理
装置。
A means for sampling the coordinates of the tone curve to be approximated at n positions; a means for generating an approximate tone curve comprising a plurality of linear functions connecting the coordinates with straight lines; Means for calculating an error between the target tone curve and the approximate tone curve; and means for evaluating the calculated error and determining the approximate tone curve that minimizes the error as a tone curve to be transmitted to an image processing apparatus. The image processing apparatus according to claim 3, comprising:
【請求項5】 前記決定された近似トーンカーブの任意
の領域を抽出する手段と、その領域に対して再度対象の
トーンカーブの座標をm箇所サンプリングして近似を行
う手段とをさらに具備し、前記近似トーンカーブの補正
を行うことを特徴とする請求項4に記載の画像処理装
置。
5. The apparatus further comprises: means for extracting an arbitrary area of the determined approximate tone curve, and means for sampling the coordinates of the target tone curve at m points again for the area to approximate the area. The image processing apparatus according to claim 4, wherein the correction of the approximate tone curve is performed.
【請求項6】 前記決定された近似トーンカーブの任意
の領域を抽出する手段が、前記近似トーンカーブの中で
対象のトーンカーブと近似トーンカーブとの誤差を評価
する手段をさらに具備し、誤差最大となる領域を抽出す
ることを特徴とする請求項5に記載の画像処理装置。
6. The means for extracting an arbitrary area of the determined approximate tone curve further includes means for evaluating an error between a target tone curve and an approximate tone curve in the approximate tone curve, The image processing apparatus according to claim 5, wherein a maximum region is extracted.
JP2000282295A 2000-09-18 2000-09-18 Image processor Pending JP2002094794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000282295A JP2002094794A (en) 2000-09-18 2000-09-18 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000282295A JP2002094794A (en) 2000-09-18 2000-09-18 Image processor

Publications (1)

Publication Number Publication Date
JP2002094794A true JP2002094794A (en) 2002-03-29

Family

ID=18766837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000282295A Pending JP2002094794A (en) 2000-09-18 2000-09-18 Image processor

Country Status (1)

Country Link
JP (1) JP2002094794A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010244095A (en) * 2009-04-01 2010-10-28 Seiko Epson Corp Data processing apparatus, printing system, and program
JP2012505614A (en) * 2008-10-14 2012-03-01 ドルビー ラボラトリーズ ライセンシング コーポレイション Efficient calculation of drive signals for devices with nonlinear response curves
JP2014030183A (en) * 2012-07-03 2014-02-13 Ricoh Co Ltd Image reading device, image forming apparatus including image reading device, and control method of image reading device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012505614A (en) * 2008-10-14 2012-03-01 ドルビー ラボラトリーズ ライセンシング コーポレイション Efficient calculation of drive signals for devices with nonlinear response curves
US9020998B2 (en) 2008-10-14 2015-04-28 Dolby Laboratories Licensing Corporation Efficient computation of driving signals for devices with non-linear response curves
JP2010244095A (en) * 2009-04-01 2010-10-28 Seiko Epson Corp Data processing apparatus, printing system, and program
JP2014030183A (en) * 2012-07-03 2014-02-13 Ricoh Co Ltd Image reading device, image forming apparatus including image reading device, and control method of image reading device

Similar Documents

Publication Publication Date Title
US6462837B1 (en) Gray-scale conversion based on SIMD processor
US6404512B1 (en) Method and apparatus for image processing capable of efficiently performing a gamma conversion operation
JP5300418B2 (en) Image forming apparatus
JP2010101960A (en) Image forming apparatus and method
JP3639766B2 (en) Image forming apparatus and density correction method
JPH10233928A (en) Image processor
JP2002094794A (en) Image processor
JPH10145598A (en) Image forming device
JPH09233335A (en) Image data processor and image data processing method
JP4127603B2 (en) Image reading apparatus, image forming apparatus, and read image data processing method
JP4496897B2 (en) Printing apparatus and gradation correction method thereof
JPH08275007A (en) Color correction device
JP2008154131A (en) Image forming apparatus
JP2016061976A (en) Image forming apparatus
JPH10304200A (en) Image processor
JP2592147B2 (en) Image signal processing device
JPH09135354A (en) Device and method for processing image
JP3021523B2 (en) Digital image forming equipment
JP3610214B2 (en) Image forming apparatus
JP3551626B2 (en) Image forming device
JP3184715B2 (en) Image processing apparatus and method
JP2009284408A (en) Background removing apparatus and program, and image forming device
JP4059174B2 (en) Image processing device
JP3144835B2 (en) Image forming apparatus and image forming method
JP3098530B2 (en) Digital copier