JP2000083171A - Image processing unit - Google Patents

Image processing unit

Info

Publication number
JP2000083171A
JP2000083171A JP11059063A JP5906399A JP2000083171A JP 2000083171 A JP2000083171 A JP 2000083171A JP 11059063 A JP11059063 A JP 11059063A JP 5906399 A JP5906399 A JP 5906399A JP 2000083171 A JP2000083171 A JP 2000083171A
Authority
JP
Japan
Prior art keywords
density
conversion
input
external data
unit
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
JP11059063A
Other languages
Japanese (ja)
Inventor
Koji Tone
剛治 刀根
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 JP11059063A priority Critical patent/JP2000083171A/en
Publication of JP2000083171A publication Critical patent/JP2000083171A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To allow an image processing unit to flexibly cope with a change in a gamma curve through formulation of the gamma curve by processing data with a data processing means that processes the data in parallel. SOLUTION: In the image processing unit, which is provided with an ALU 405 that uses parameters different in the unit of each pixel to execute parallel processing, an external data RAM 401 that stores in advance the parameters, and a G411a register that loads required data from the external data RAM 401 and whose contents are referenced by the ALU 405 in the case of conducting an arithmetic operation, and which applies parallel gamma conversion to an input density based on the parameters loaded to the G register 411a to decide an output density, pluralities of conversion equations corresponding to each density level are stored in the external data RAM 401, the ALU 405 selects a converstion equation in response to a density level set by a density setting section that is provided separately and decides the output density based on the selected conversion equation.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複写機、ファクシ
ミリ、プリンタ等の画像信号を処理する所謂画像処理装
置に係り、特に濃度(階調)補正に特徴のある画像処理
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a so-called image processing apparatus for processing an image signal, such as a copying machine, a facsimile, a printer, and the like, and more particularly, to an image processing apparatus characterized by density (gradation) correction.

【0002】[0002]

【従来の技術】たとえば、デジタル複写機においては、
コンタクトガラス上に載置された原稿を走査してライン
ごとに光電変換し、さらに、得られた画像信号をデジタ
ルデータに変換した後、所定の画像処理を施して記録信
号を生成し、その記録信号に従ってレーザ素子を光変調
させて、原稿画像に対応した潜像を感光体上に形成させ
る。前記画像処理では、色補正、γ補正、シェーディン
グ補正、MTF補正、階調変換、変倍などの各種の処理
が施される。
2. Description of the Related Art For example, in a digital copying machine,
The original placed on the contact glass is scanned, photoelectrically converted line by line, and the obtained image signal is converted into digital data, and then subjected to predetermined image processing to generate a recording signal. The laser element is optically modulated according to the signal to form a latent image corresponding to the original image on the photoconductor. In the image processing, various processes such as color correction, γ correction, shading correction, MTF correction, gradation conversion, and scaling are performed.

【0003】[0003]

【発明が解決しようとする課題】従来のγ補正は入力濃
度に対応した出力濃度を全ての濃度範囲に対して外部メ
モリに格納しておき、入力濃度アドレスに対応した濃度
データを読み出して、出力濃度としていた。そのため、
当然メモリデータ量が多くなり、また、γカーブを変更
するときの柔軟性に欠けていた。また、同様の濃度変換
としてニールセン(Yule-Nelsen)の式に基づいて行う
ものや、階調量子化の量子化特性に基づいて行うものが
あり、これらに基づく濃度変換も濃度補正カーブ(濃度
補正特性)を使用することから同様の問題を抱えてい
た。
In the conventional gamma correction, the output density corresponding to the input density is stored in an external memory for the entire density range, and the density data corresponding to the input density address is read out. Concentration. for that reason,
Naturally, the amount of memory data has increased, and the flexibility in changing the γ curve has been lacking. Further, similar density conversion may be performed based on the expression of Yule-Nelsen, or may be performed based on the quantization characteristics of gradation quantization. The density conversion based on these is also performed by a density correction curve (density correction curve). Had the same problem from using the characteristic).

【0004】そこで、本発明の第1の目的は、濃度補正
特性の変更が容易で、かつ、濃度補正データ量を削減す
ることができる画像処理装置を提供することにある。
Accordingly, a first object of the present invention is to provide an image processing apparatus in which the density correction characteristics can be easily changed and the density correction data amount can be reduced.

【0005】そこで、本発明の第2の目的は、並列処理
可能なデータ処理手段によって処理することで、濃度補
正カーブの式化によって濃度補正カーブの変更に柔軟に
対応することができる画像処理装置を提供することにあ
る。
Therefore, a second object of the present invention is to provide an image processing apparatus capable of flexibly coping with a change in the density correction curve by formulating the density correction curve by processing the data by means of data processing means capable of parallel processing. Is to provide.

【0006】また、第3の目的は、濃度範囲を分割し、
区間ごとのパラメータを持つことによってデータ量を削
減することができる画像処理装置を提供することにあ
る。
A third object is to divide the density range,
It is an object of the present invention to provide an image processing apparatus capable of reducing a data amount by having a parameter for each section.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するた
め、第1の手段に係る画像処理装置は、1ラスタの画像
信号を入力する入力手段と、この入力手段によって入力
された1ラスタの画像信号を並列に設けた演算器によっ
て入力濃度に対して並列的に濃度変換を行って出力濃度
を決定する濃度補正演算手段と、この演算手段によって
得られた出力濃度を直列的に出力する出力手段と、前記
濃度変換に必要なパラメータを書き換え可能に格納する
外部データ記憶手段とを備えていることを特徴とする。
According to a first aspect of the present invention, there is provided an image processing apparatus comprising: an input unit for inputting an image signal of one raster; and an image of one raster input by the input unit. Density correction calculating means for determining the output density by performing density conversion on the input density in parallel by a calculator provided with signals in parallel, and output means for serially outputting the output density obtained by the calculating means And external data storage means for rewritably storing parameters required for the density conversion.

【0008】第2の手段は、第1の手段において、前記
演算手段の演算式、入出力の制御を行うプログラム部を
さらに備え、前記演算手段による入力画像信号の濃度に
対する出力濃度への変換は前記プログラム部のプログラ
ムに記述されている変換式を用いることを特徴とする。
[0008] The second means is the first means, further comprising a program unit for controlling an arithmetic expression and input / output of the arithmetic means, wherein the arithmetic means converts the density of the input image signal into the output density. A conversion formula described in a program of the program unit is used.

【0009】第3の手段は、第2の手段において、入力
濃度の全範囲を複数の範囲に分割し、各区間で変換に用
いる分割座標と各範囲での変換式の係数は、その値を書
き換え可能な前記外部データ記憶手段に格納することを
特徴とする。
A third means is the second means, wherein the entire range of the input density is divided into a plurality of ranges, and the divided coordinates used for conversion in each section and the coefficients of the conversion formula in each range are represented by the following values. It is stored in the rewritable external data storage means.

【0010】第4の手段は、第3の手段において、前記
演算手段で用いる演算式は、入力濃度の範囲別に固有の
係数であり、同一プログラムで並列的に演算を可能とす
ることを特徴とする。
[0010] A fourth means is the third means, wherein the arithmetic expression used in the arithmetic means is a coefficient unique to each input density range, and can be operated in parallel by the same program. I do.

【0011】第5の手段の手段に係る画像処理装置は、
各画素単位で異なるパラメータを使用して並列処理を実
行する演算手段と、必要な前記パラメータをあらかじめ
格納しておく外部データ記憶手段と、この外部データ記
憶手段から必要なデータをロードし、演算時に前記演算
手段が参照可能なレジスタと、前記レジスタにロードさ
れたパラメータに基づき、入力濃度に対して並列的に濃
度変換を行って出力濃度を決定する濃度決定手段と、濃
度レベルを設定する濃度レベル設定手段とを備え、前記
外部データ記憶手段には濃度レベルに対応した変換式が
複数格納され、前記演算手段は前記濃度レベル設定手段
によって設定された濃度レベルから前記変換式を選択
し、この選択された変換式に基づいて前記濃度決定手段
は濃度を決定することを特徴とする。
[0011] An image processing apparatus according to a fifth means is provided.
An arithmetic unit for executing parallel processing using different parameters for each pixel unit, an external data storage unit for storing the necessary parameters in advance, and loading necessary data from the external data storage unit, A register which can be referred to by the calculating means; density determining means for performing output density conversion by performing density conversion on input density in parallel based on parameters loaded into the register; density level for setting density level Setting means, wherein a plurality of conversion formulas corresponding to density levels are stored in the external data storage means, and the calculating means selects the conversion formula from the density levels set by the density level setting means, The density determining means determines the density based on the obtained conversion formula.

【0012】第6の手段は、1ラスタの画像信号を入力
する入力手段と、この入力手段によって入力された1ラ
スタの画像信号を並列に設けた演算器によって入力濃度
に対して並列的に濃度変換を行って出力濃度を決定する
濃度補正演算手段と、この演算手段によって得られた出
力濃度を直列的に出力する出力手段と、前記濃度変換に
必要なパラメータを書き換え可能に格納する外部データ
記憶手段と、この外部データ記憶手段から必要なデータ
をロードし、演算時に前記演算器が共通に参照可能なレ
ジスタと、濃度レベルを設定する濃度レベル設定手段と
を備え、前記演算手段は、入力濃度の全範囲を複数の範
囲に分割するとともに、前記分割された各区間で変換に
使用する分割座標、各範囲での変換式の係数、及び複数
の濃度変換レベルに対応した変換式があらかじめ格納さ
れた前記外部データ記憶手段から前記濃度レベル設定手
段によって設定された濃度レベルに対応した変換式を選
択し、前記演算器によって前記レジスタと各演算器が有
するレジスタファイルとを参照して前記選択された変換
式に基づいて同一プログラムで並列的に演算を行うこと
を特徴とする。
The sixth means is an input means for inputting an image signal of one raster, and a processing unit provided in parallel with the image signal of one raster inputted by the input means, in parallel with the input density. Density correction calculating means for performing conversion to determine output density, output means for serially outputting the output density obtained by this calculating means, and external data storage for rewritably storing parameters required for the density conversion Means for loading necessary data from the external data storage means, and a register which can be commonly referred to by the arithmetic unit at the time of calculation, and density level setting means for setting a density level. Is divided into a plurality of ranges, a division coordinate used for conversion in each of the divided sections, a coefficient of a conversion formula in each range, and a plurality of density conversion levels. A conversion formula corresponding to the density level set by the density level setting means is selected from the external data storage means in which a corresponding conversion formula is stored in advance, and the calculator and the register file of each of the calculators are stored by the calculator. , The operations are performed in parallel by the same program based on the selected conversion formula.

【0013】第7の手段は、第6の手段において、複数
の濃度レベルに対応した濃度範囲分割数をあらかじめ前
記外部データ記憶手段に格納しておき、前記演算手段が
濃度レベル設定手段によって設定された濃度レベルに対
応して濃度範囲分割数を選択することを特徴とする。
A seventh means is the sixth means, wherein the number of density range divisions corresponding to a plurality of density levels is stored in advance in the external data storage means, and the arithmetic means is set by the density level setting means. The number of density range divisions is selected according to the determined density level.

【0014】第8の手段は、第6の手段において、前記
外部データ記憶手段は外部CPUとバス接続されるとと
もに、濃度範囲分割数と各区分での変換式を1通り格納
し、前記外部CPUと前記外部データ記憶手段との接
続、及び前記レジスタを備えたデータ処理手段と前記外
部データ記憶手段との接続を切り換えるセレクタをさら
に備え、前記外部CPUは前記濃度レベル設定部からの
設定に応じて外部データ記憶手段に格納されている濃度
範囲分割数と各区分での変換式を書き換え、濃度変換設
定の内容を変更することを特徴とする。
The eighth means is the sixth means, wherein the external data storage means is connected to an external CPU via a bus, and stores one number of density range divisions and one conversion formula for each section. Further comprising a selector for switching the connection between the external data storage means and the data processing means having the register and the external data storage means, wherein the external CPU responds to a setting from the concentration level setting section. It is characterized in that the number of density range divisions stored in the external data storage means and the conversion formula for each section are rewritten to change the content of the density conversion setting.

【0015】第9の手段は、第6の手段において、前記
外部CPUと前記セレクタとを介してバス接続された操
作部を更に備え、当該操作部からの操作入力によって前
記濃度変換設定の内容を変更することを特徴とする。
Ninth means according to the sixth means, further comprising an operation unit connected to the external CPU and the bus via the selector, wherein the content of the density conversion setting is input by an operation input from the operation unit. It is characterized by changing.

【0016】第10の手段は、第6の手段において、前
記操作部は、現在設定されている外部データ記憶手段の
内容を読み出し、操作部に表示することを特徴とする。
According to a tenth aspect, in the sixth aspect, the operation section reads out the content of the external data storage section which is currently set, and displays the content on the operation section.

【0017】第11の手段は、第1、第5および第6の
手段において、前記濃度変換は、γ変換に基づく濃度変
換、ニールセンの式に基づく濃度変換、および階調量子
化に基づく濃度変換のいずれかによって行われることを
特徴とする
The eleventh means is the first, fifth and sixth means, wherein the density conversion is a density conversion based on gamma conversion, a density conversion based on Nielsen's equation, and a density conversion based on gradation quantization. Characterized by being performed by any of

【0018】[0018]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】1.システム全体の構成 図17は本発明の実施形態の全体のシステム構成を示す
もので、本発明に係る画像処理装置が適用されるデジタ
ル複写機の概略構成を示すブロック図である。このデジ
タル複写機は、読み取り部(スキャナ)10と制御部2
0と像形成部(プリンタ)30とから基本的に構成され
ている。
1. Overall System Configuration FIG. 17 shows the overall system configuration of the embodiment of the present invention, and is a block diagram showing a schematic configuration of a digital copying machine to which the image processing apparatus according to the present invention is applied. The digital copying machine includes a reading unit (scanner) 10 and a control unit 2.
0 and an image forming unit (printer) 30.

【0020】図18の詳細に示すブロック図から分かる
ように、読み取り部10は、原稿台11、原稿台11の
下部に位置し原稿台11上に置かれた原稿12を照明す
る露光ランプ13、露光ランプ13によって露光された
原稿からの反射光をCCD14に導く反射ミラー群1
5、A/D変換やシェーディング補正などを含む処理を
行なうとともにCCD14からの画像信号を増幅する増
幅器16、及び前記露光ランプ13と反射ミラー群15
を搭載したスキャナを制御するスキャナ制御部17から
構成されている。
As can be seen from the block diagram shown in detail in FIG. 18, the reading section 10 includes a document table 11, an exposure lamp 13 positioned below the document table 11, and illuminating a document 12 placed on the document table 11. Reflection mirror group 1 for guiding reflected light from a document exposed by exposure lamp 13 to CCD 14
5. an amplifier 16 that performs processing including A / D conversion and shading correction and amplifies the image signal from the CCD 14, the exposure lamp 13 and the reflection mirror group 15
And a scanner control unit 17 for controlling a scanner equipped with the scanner.

【0021】制御部20は、IPU(イメージプロセッ
シングユニット−画像処理部)21、セレクタ部22、
記憶部23、システム制御部24及び操作部25からな
る。システム制御部24にはホストコンピュータである
パーソナルコンピュータ50と双方向通信が可能で、こ
のパーソナルコンピュータ50の外部出力装置(プリン
タ)として機能することもできる。その際、画像情報を
記憶媒体51から取り込むこともできる。なお、IPU
21には前記増幅器16から増幅された画像信号が入力
され、IPU21で画像処理した画像信号が像形成部3
0の書き込み部31に出力される。また、システム制御
部24は読み取り装置10のスキャナ制御部17および
像形成部30のプロッタ制御部32とそれぞれ双方向に
通信可能に構成されている。
The control unit 20 includes an IPU (image processing unit-image processing unit) 21, a selector unit 22,
It comprises a storage unit 23, a system control unit 24, and an operation unit 25. The system control unit 24 can perform two-way communication with a personal computer 50 as a host computer, and can also function as an external output device (printer) of the personal computer 50. At this time, the image information can be taken from the storage medium 51. In addition, IPU
The image signal amplified from the amplifier 16 is input to the amplifier 21, and the image signal processed by the IPU 21 is processed by the image forming unit 3.
0 is output to the writing unit 31. The system control unit 24 is configured to be able to communicate bidirectionally with the scanner control unit 17 of the reading device 10 and the plotter control unit 32 of the image forming unit 30.

【0022】像形成部30は、書き込み部31、プロッ
タ制御部32、感光体33、帯電チャージャ34、現像
装置35、転写チャージャ36、分離チャージャ37、
クリーニング装置38、除電チャージャ39及び定着装
置40を備え、さらに第1ないし第4の給紙トレイ4
1,42,43,44、並びにこれらの給紙トレイのい
ずれかから供給された用紙をレジストローラ45を介し
て転写チャージャ36及び分離チャージャ37側に供給
し、さらに、定着された転写紙を排紙コロ46を経て排
紙する排紙トレイ47を備えている。
The image forming section 30 includes a writing section 31, a plotter control section 32, a photosensitive member 33, a charging charger 34, a developing device 35, a transfer charger 36, a separation charger 37,
A cleaning device 38, a static elimination charger 39, and a fixing device 40;
1, 42, 43, 44 and the paper supplied from any of these paper feed trays are supplied to the transfer charger 36 and the separation charger 37 via the registration roller 45, and the fixed transfer paper is discharged. A paper discharge tray 47 that discharges paper through the paper rollers 46 is provided.

【0023】このように各部が構成されたデジタル複写
機の像形成プロセスは以下のようになる。
The image forming process of the digital copying machine having the above components is as follows.

【0024】原稿台11上に置かれた原稿12に対し
て、原稿台11に沿って可動な露光ランプ12によって
スキャン露光を行う。スキャン露光された原稿の反射光
はミラー群15を経てCCD14に入射し、CCD14
で光の強弱に応じて光電変換され、電気信号に変換され
る。CCD14によって読み取られた画像信号は増幅器
16で所定の電圧振幅に増幅され、その後、A/D変換
回路で1画素あたり2のn乗階調(本実施形態では25
6階調)のデジタルデータに変換される。そして、シェ
ーディング補正回路で光源の照度ムラ、及びCCD14
の各素子間の感度のバラツキ等が補正され、画像同期信
号とともに画像データはIPU21に入力される。スキ
ャナ制御部17は以上のプロセスを実行するために各種
センサの検知や駆動モータ等の制御を行い、また、シェ
ーディング処理部及びIPU21に各種パラメータの設
定を行なう。以上のプロセスが読み取りプロセスであ
る。
The original 12 placed on the original table 11 is scanned and exposed by an exposure lamp 12 movable along the original table 11. The reflected light of the scan-exposed document enters the CCD 14 via the mirror group 15 and is reflected by the CCD 14.
Is photoelectrically converted in accordance with the intensity of light, and is converted into an electric signal. The image signal read by the CCD 14 is amplified by the amplifier 16 to a predetermined voltage amplitude, and thereafter, the A / D conversion circuit performs 2 n-th gradation (25 in this embodiment) per pixel.
(6 gradations). Then, the shading correction circuit uses the illuminance unevenness of the light source and the CCD 14
The variation in sensitivity among the elements is corrected, and the image data is input to the IPU 21 together with the image synchronization signal. The scanner control unit 17 detects various sensors and controls a drive motor and the like to execute the above process, and sets various parameters in the shading processing unit and the IPU 21. The above process is the reading process.

【0025】次いで、IPU21において2次元リアル
タイム変倍処理、文字、線字画像等の解像度をあげるM
TF補正処理、信号ノイズを除去し、写真などの再現性
をあげる平滑化処理等を行なう空間フィルタ処理、濃度
設定機能に応じたγ補正処理、画質設定機能に応じて中
間処理等を行なう階調処理が行なわれる。
Next, the IPU 21 increases the resolution of two-dimensional real-time scaling processing, characters, line images, etc.
TF correction processing, spatial filter processing that removes signal noise and performs smoothing processing to improve the reproducibility of photographs, etc., gamma correction processing according to the density setting function, and gradation processing that performs intermediate processing according to the image quality setting function Processing is performed.

【0026】像形成部30では、IPU21からの画像
データをさらに書き込み部31に送り、帯電チャージャ
34によって一様に帯電された一定速度で回転する感光
体33を書き込み部31からの画像データによって変調
されたレーザ光によって露光する。感光体33の表面に
はこのレーザ光によって静電潜像が形成され、この静電
潜像を現像装置35によってトナーで現像することによ
って感光体33の表面に顕像化されたトナー像が形成さ
れる。そして、予め給紙コロによって給紙トレイ41〜
44のいずれかから給紙され、レジストローラ45のニ
ップ位置で待機してした転写紙を感光体33の回転とタ
イミングを計って搬送し、転写チャージャ36によって
感光体上のトナーを転写紙に静電転写し、分離チャージ
ャ37によって転写紙を感光体33表面から分離する。
分離された転写紙は定着装置40まで搬送され、定着装
置40で転写紙上の画像は加熱、加圧されて定着が行な
われる。定着が完了した転写紙は、排紙コロ46によっ
て排紙トレイ47上に排紙される。
The image forming unit 30 further sends the image data from the IPU 21 to the writing unit 31, and modulates the photoconductor 33, which is uniformly charged by the charging charger 34 and rotates at a constant speed, with the image data from the writing unit 31. Exposure is performed by using the laser light. An electrostatic latent image is formed on the surface of the photoconductor 33 by the laser beam, and the electrostatic latent image is developed with toner by the developing device 35 to form a visualized toner image on the surface of the photoconductor 33. Is done. Then, the paper feed trays 41 to
The transfer paper fed from any one of the transfer rollers 44 and waiting at the nip position of the registration roller 45 is conveyed at a timing synchronized with the rotation of the photoconductor 33, and the toner on the photoconductor is transferred to the transfer paper by the transfer charger 36. Electrotransfer is performed, and the transfer paper is separated from the surface of the photoconductor 33 by the separation charger 37.
The separated transfer paper is conveyed to a fixing device 40, where the image on the transfer paper is heated and pressed to fix the image on the transfer paper. The transfer sheet on which the fixing is completed is discharged onto a discharge tray 47 by a discharge roller 46.

【0027】一方、静電転写後の感光体に残留したトナ
ー像波、クリーニング装置38が感光体33に圧接して
除去し、さらに感光体33は除電チャージャ39によっ
て除電される。プロッタ制御部32は以上のプロセスを
実行するために、各種センサの検知、駆動モータ等の制
御を行なう。このようにして像形成プロセスが実行され
る。
On the other hand, the toner image wave remaining on the photoreceptor after the electrostatic transfer and the cleaning device 38 are pressed against the photoreceptor 33 to remove the same, and the photoreceptor 33 is discharged by the discharging charger 39. The plotter control unit 32 performs detection of various sensors and controls a drive motor and the like in order to execute the above process. Thus, the image forming process is performed.

【0028】図19はIPU21の内部の構成を示すブ
ロック図である。同図を参照し、複写動作の信号経路に
ついて説明する。画像読取り部10(スキャナ)から入
力された画像データはスキャナ画像補正部21−1、変
倍部21−2、フィルタ部21−3、スキャナマスク部
21−4、γ処理部21−5、及び画質処理部21−6
で所定の処理が実行された後、書き込み出力制御部31
−1に入力され、書き込み出力制御部31−1において
制御信号を出力モードにセットして書き込み系にデータ
を出力する。なお、スキャナマスク部21−4では、原
稿に対して指定された位置のデータをトリミングしたり
マスキングしたりする。γ処理部21−5では、濃度変
換を行い、画質処理部21−6では、誤差拡散、ディザ
処理、位相制御などを行なう。なお、γ処理部21−5
は後述のようにニールセンの式に基づく濃度補正処理
部、あるいは階調量子化による濃度補正処理部に置換で
きる。
FIG. 19 is a block diagram showing the internal configuration of IPU 21. The signal path of the copying operation will be described with reference to FIG. The image data input from the image reading unit 10 (scanner) includes a scanner image correction unit 21-1, a scaling unit 21-2, a filter unit 21-3, a scanner mask unit 21-4, a γ processing unit 21-5, and Image quality processing unit 21-6
After the predetermined processing is executed in the write output control unit 31
The write output control unit 31-1 sets a control signal to an output mode and outputs data to a write system. The scanner mask section 21-4 trims or masks data at a designated position on the document. The gamma processing section 21-5 performs density conversion, and the image quality processing section 21-6 performs error diffusion, dither processing, phase control, and the like. The γ processing unit 21-5
Can be replaced by a density correction processing unit based on Nielsen's equation or a density correction processing unit based on gradation quantization as described later.

【0029】2.DSP(Digital Signal Processor)
の概略構成 まず、本発明で使用するデータ処理手段としてのDSP
の概要を図4に示す。この図はDSPのうちのγ補正の
動作とレジスタ構成を示す図である。同図において、D
SPは外部データRAM401とアドレスバス402及
びデータ、CSバス403を介して接続された複数個の
8ビットレジスタ404−R0ないし404−RNと、
各レジスタ404−R0〜RNからデータをロードして
演算可能であって、演算結果を前記各8ビットレジスタ
404−R0〜RNに格納可能な16ビットALU(Ar
ithmetic and Logic Unit)405−1,405−2,
405−3・・・と、前記各ALU405・・・に接続
され、前記8ビットレジスタ404との前記ロードと格
納において回路の接続を制御し、データの出入に使用さ
れるマルチプレクサ(MUX)409−1,409−
2,409−3・・・と、γ補正制御プログラムが格納
されたプログラムRAM410と、前記マルチプレクサ
409に接続され、グローバル(G)レジスタ411a
を備えたグローバルプロセッサ部411とから基本的に
構成されている。なお、前記プログラムRAM410も
グローバルプロセッサ部411もそれぞれアドレスバス
402及びデータ、CSバス403に接続されている。
2. DSP (Digital Signal Processor)
First, a DSP as a data processing means used in the present invention
Is shown in FIG. This figure is a diagram showing the operation of γ correction and the register configuration of the DSP. In FIG.
The SP includes a plurality of 8-bit registers 404-R0 to 404-RN connected via an external data RAM 401, an address bus 402 and data, and a CS bus 403;
A 16-bit ALU (Ar) that can be operated by loading data from each of the registers 404-R0 to RN and that can store the operation result in each of the 8-bit registers 404-R0 to RN.
ithmetic and Logic Unit) 405-1, 405-2,
, 405-3,... Connected to each of the ALUs 405, and controls the circuit connection in the loading and storing of the 8-bit register 404, and is used for data input / output. 1,409-
., A program RAM 410 storing a γ correction control program, and a global (G) register 411a connected to the multiplexer 409.
And a global processor unit 411 provided with Note that both the program RAM 410 and the global processor unit 411 are connected to the address bus 402, the data, and the CS bus 403, respectively.

【0030】前記ALU405−1,405−2,40
5−3・・・はそれぞれアキュムレータレジスタ406
−1,406−2,406−32・・・とテンポラリー
レジスタ407−1,407−2,407−3・・・と
を備え、前記入出力可能なレジスタ404のデータとア
キュムレータレジスタ406のデータを演算し、演算結
果をアキュムレータに格納するようになっている。ま
た、各ALU405は、Tレジスタ408−1,408
−2,408−3・・・1ビットを備え、その値によっ
て各々のALU405がプログラム処理を実行するか否
かを独立に選択できるようになっている。
The ALUs 405-1, 405-2, 40
.. Represent accumulator registers 406, respectively.
-1, 406-2, 406-32,... And temporary registers 407-1, 407-2, 407-3,. The operation is performed, and the operation result is stored in the accumulator. Also, each ALU 405 has T registers 408-1, 408
., 408-3... One bit is provided so that each ALU 405 can independently select whether or not to execute program processing according to the value.

【0031】なお、前記レジスタ404−R0は入力濃
度レジスタ、404−R1は区間座標値のx座標レジス
タ、404−R2は区間座標値のy座標レジスタ、40
4−R3は係数レジスタ、404−R4は出力濃度レジ
スタ、404−RNは区間数レジスタである。
The register 404-R0 is an input density register, 404-R1 is an x coordinate register of section coordinate values, 404-R2 is a y coordinate register of section coordinate values, 40
4-R3 is a coefficient register, 404-R4 is an output density register, and 404-RN is a section number register.

【0032】このような構成をPE(プロセッシングエ
レメント)と称し、このようなPEが並列に複数個並
び、単一のプログラムにしたがって並列に動作するよう
に構成されている。本発明では、1画素のデータを1A
LUで処理するとし1ラスタ分並列に並んだ構成になっ
ている。
Such a configuration is called a PE (processing element), and a plurality of such PEs are arranged in parallel and operated in parallel according to a single program. In the present invention, the data of one pixel is 1A
If processing is performed by the LU, the configuration is such that one raster is arranged in parallel.

【0033】3.γ変換式 この実施形態では、γ変換を実現するための変換式を1
次式とした。前記プログラムRAM410に格納された
γ補正制御プログラム内には、入力データに対して1次
式で与えられた変換式を用いて入力濃度に対して以下に
のベルの計算によって出力濃度を求めるような手順があ
らかじめ格納されている。すなわち、本実施形態では、
一般的に使用されている曲線のγカーブを入力濃度範囲
においてn分割した各々の区間ごとに直線の1次式で近
似する。この1次式で近似した補正曲線を概念的に図2
に示す。この図2において、区間座標を Pn(xn,yn) ・・・(1) とし、区間内の近似直線係数をanとする。ただし、係
数anは2点間の座標により an=(yn+1−yn)/(xn+1−xn) ・・・(2) で求められる。したがって、出力濃度は、 出力濃度=an(入力濃度−xn)+yn ・・・(3) で求められる。
3. γ conversion equation In this embodiment, the conversion equation for realizing γ conversion is 1
The following equation was used. The gamma correction control program stored in the program RAM 410 includes a conversion formula given by a linear expression for input data, and calculates an output density for the input density by the following Bell calculation. Procedures are stored in advance. That is, in the present embodiment,
A linear linear equation is approximated for each section obtained by dividing a commonly used γ curve into n sections in the input density range. The correction curve approximated by the linear expression is conceptually shown in FIG.
Shown in In FIG. 2, and the section coordinate P n (x n, y n ) and (1), an approximate straight line coefficients in the interval to a n. However, the coefficient a n is obtained by a n = the coordinates of two points (y n + 1 -y n) / (x n + 1 -x n) ··· (2). Accordingly, the output density is obtained by the output density = a n (input density -x n) + y n ··· ( 3).

【0034】ただし、出力濃度を256階調に量子化し
なければならない場合は、 出力濃度=int{an*(入力濃度−xn)−yn} ・・・(4) で求められ、入力濃度がP4とP5との間にあれば、入力
濃度座標データP4(x4,y4)、係数データa4から、
上記出力濃度は、図3に示すように、 出力濃度=int{a4*(入力濃度−x4)−y4} ・・・(5) となる。
[0034] However, if you have to quantize the output density in 256 gradation is determined in the output density = int {a n * (input density -x n) -y n} ··· ( 4), the input if during the concentration of the P 4 and P 5, the input density coordinate data P 4 (x 4, y 4 ), from the coefficient data a 4,
The output density is, as shown in FIG. 3, output density = int {a 4 * (input density−x 4 ) −y 4 } (5).

【0035】3.1 区間の決定 前記式(3)または(4)でγ変換を行うためには、入
力濃度の変換に用いる区間座標Pn(xn,yn)及び係
数anを決定しなければならない。この区間座標と係数
の決定のアルゴリズムを図1に示したフローチャートに
よって説明する。
[0035] In order to perform γ conversion of 3.1 section determining the formula (3) or (4) the interval coordinate P n (x n, y n ) for use in converting the input density determined and the coefficient a n Must. The algorithm for determining the section coordinates and coefficients will be described with reference to the flowchart shown in FIG.

【0036】このアルゴリズムでは、まず、ステップ1
01で入力濃度1ラスタ分が入力濃度レジスタ404−
R0に格納される。次いで、ステップ102でTレジス
タ408を初期化して“1”をセットする。同時に外部
データRAM401から区間数データNを取り込み、区
間数レジスタ404−RNにロードする。なお、前記T
レジスタ408は各ALU405が1ビットずつ持ち、
Tレジスタ408の値が“1”のALU405のみがプ
ログラムを実行することができる。
In this algorithm, first, step 1
01, one raster of the input density is stored in the input density register 404-
Stored in R0. Next, at step 102, the T register 408 is initialized and "1" is set. At the same time, the section number data N is fetched from the external data RAM 401 and loaded into the section number register 404-RN. The T
The register 408 has one bit for each ALU 405,
Only the ALU 405 in which the value of the T register 408 is “1” can execute the program.

【0037】ステップ102の処理が終了すると、ステ
ップ103で区間数レジスタ404−RNの値から1減
算する。すなわち、区間数レジスタ404−RNには、
ステップ102において入力濃度範囲を分割した区間数
nがロードされており、入力濃度の区間の判定の演算毎
に1ずつ減算される。そして、ステップ104で各AL
U405はTレジスタ408の値を確認して“1”のと
きのみステップ105以下の処理を実行する。ステップ
105では、1減算後の区間数nに相当する座標データ
n-1(xn-1,yn-1)及び係数データan-1を外部デー
タRAM401からグローバルプロセッサ部411のG
レジスタ411a経由で各ALU405が使用するx座
標レジスタ404−R1、y座標レジスタ404−R2
及び係数レジスタ404−R3に転送する。Gレジスタ
411aは前ALU405が共通にアクセスすることが
可能である。このようにして転送が完了すると、ステッ
プ106でALU405は入力濃度レジスタ404−R
0の値からPn-1座標のxn-1を減算する。そして、ステ
ップ107で使用したPn-1の座標データxn-1、yn-1
と係数an-1を再びx,y座標レジスタ404−R1,
404−R2及び係数レジスタ404−R3に書き戻
す。その後、ステップ108で減算結果のサインビット
をTレジスタ408に格納する。この動作をn=0にな
るまで繰り返す(ステップ109)。
When the processing in step 102 is completed, in step 103, 1 is subtracted from the value of the section number register 404-RN. That is, in the section number register 404-RN,
In step 102, the number n of sections obtained by dividing the input density range is loaded, and is decremented by one for each calculation of the input density section determination. Then, at step 104, each AL
U405 confirms the value of T register 408 and executes the processing of step 105 and thereafter only when it is "1". In step 105, coordinate data P n−1 (x n−1 , y n−1 ) and coefficient data an −1 corresponding to the number n of sections after subtracting 1 are stored in the global processor unit 411 from the external data RAM 401.
The x coordinate register 404-R1 and the y coordinate register 404-R2 used by each ALU 405 via the register 411a.
And to the coefficient register 404-R3. The G register 411a can be commonly accessed by the previous ALU 405. When the transfer is completed in this way, in step 106, the ALU 405 sets the input density register 404-R
Subtract x n-1 of the P n-1 coordinate from the value of 0. Then, the coordinate data x n-1 and y n-1 of P n-1 used in step 107
And the coefficient an -1 again in the x, y coordinate registers 404-R1,
Write back to 404-R2 and coefficient register 404-R3. Thereafter, in step 108, the sign bit of the subtraction result is stored in the T register 408. This operation is repeated until n = 0 (step 109).

【0038】ただし、ステップ106の減算結果からス
テップ108におけるサインビットが“0”のとき、言
い換えれば入力濃度の区間が確認されたALU405
は、その後のステップ105ないし108の処理はスキ
ップされ、1ラスタ中の全てのALU405が独立に必
要な座標データと係数データをレジスタに格納すること
ができる。このようにしてステップ103ないしステッ
プ109のループを区間数の回数分繰り返し、全てのA
LU405が担当する入力濃度の区間が決定した後、ス
テップ110で前記式(4)によって出力濃度を算出
し、ステップ111で1ラスタ分の出力濃度を外部に出
力する。ただし、フローチャートのステップ110の式
内のR3は係数レジスタ404−R3の値anを、R1
はx座標レジスタ404−R1の値xnを、R2はy座
標レジスタ404−R2の値をそれぞれ示す。
However, when the sign bit in step 108 is "0" from the result of the subtraction in step 106, in other words, the ALU 405 in which the section of the input density is confirmed.
Then, the subsequent processing of steps 105 to 108 is skipped, and all ALUs 405 in one raster can independently store necessary coordinate data and coefficient data in a register. In this way, the loop of steps 103 to 109 is repeated for the number of sections, and all A
After the section of the input density assigned to the LU 405 is determined, the output density is calculated by the above equation (4) in step 110, and the output density of one raster is output to the outside in step 111. However, the expression of R3 in step 110 of the flowchart is a value a n of the coefficient register 404-R3, R1
Indicates the value xn of the x coordinate register 404-R1, and R2 indicates the value of the y coordinate register 404-R2.

【0039】3.2 具体的演算例 1ラスタの各入力データの濃度区間が決定された後の制
御は以下のようになる。
3.2 Specific Calculation Example The control after the density section of each input data of one raster is determined is as follows.

【0040】図5に示すように入力濃度レジスタ404
−R0に格納されている入力濃度データが図中のア=2
40、イ=200、ウ=50の各場合に、前記図1のア
ルゴリズムによって区間を決定する制御について説明す
る。
As shown in FIG. 5, the input density register 404
The input density data stored in -R0 is a = 2 in the figure.
Control for determining a section by the algorithm of FIG. 1 in each case of 40, b = 200, and c = 50 will be described.

【0041】入力濃度範囲は0〜255であり、この範
囲の8等分した場合について考える。この場合の区間
数、区間座標Pn、係数anデータが外部データRAM4
01にセットされる一例を図5ないし図8に示す。はじ
めに全ALU405が自分の持つ入力濃度レジスタ40
4−R0と外部データRAM401中のn=7、x7
223、y7=220、a7=35/32をGレジスタ4
11a経由でロードして減算する。この場合、アではス
テップ106の減算結果 R0−x7=240−223>0 は正であるため、図6に示すようにTレジスタ408−
1に“0”がセットされ、n=6以降の動作は行われな
い。
The input density range is from 0 to 255, and a case where the range is equally divided into eight is considered. The number of intervals in this case, the section coordinate P n, the coefficient a n data external data RAM4
One example set to 01 is shown in FIGS. First, all ALUs 405 have their own input density registers 40
4-R0 and n = 7 in the external data RAM 401, x 7 =
223, y 7 = 220, a 7 = 35/32 are stored in the G register 4
Load and subtract via 11a. In this case, since the subtraction result R0−x 7 = 240−223> 0 in step 106 is positive, the T register 408− as shown in FIG.
"0" is set to 1 and the operation after n = 6 is not performed.

【0042】一方、 イの減算結果 R0−x7=200−223<0 及びウの減算結果 R0−x7=50−223<0 は負であるため、Tレジスタ408−2には“1”がセ
ットされ、これにより次のn=6の区間の処理を行う。
ここでは、外部データRAM401中のn=6、x6
191、y6=200、a6=20/32をGレジスタ4
11a経由でロードして減算する。
On the other hand, because the subtraction result R0-x 7 = 200-223 <0 and the subtraction result R0-x 7 = 50-223 <0 for c Lee is negative, the T register 408-2 "1" Is set, thereby performing processing for the next section of n = 6.
Here, n = 6, x 6 =
191, y 6 = 200, a 6 = 20/32 are stored in the G register 4
Load and subtract via 11a.

【0043】すると、イのALU405での減算結果 R0−x6=200−191>0 は正であるため、図7に示すようにTレジスタ408−
2には“0”がセットされる。一方、ウの減算結果 R0−x6=50−191<0 は負なので、Tレジスタ408−3には“1”がセット
される。したがって、イのALU405は、Tレジスタ
408−2が“0”なのでn=5以降の処理は行われな
い。そのため、R1、R2、R3の各レジスタ404−
R1、404−R2、404−R3は書き換えられず、
区間座標データ及び係数データは保持される。
[0043] Then, since the subtraction result R0-x 6 = 200-191> 0 at ALU405 Lee is positive, T as shown in FIG register 408-
“0” is set to 2. On the other hand, since the subtraction result R0-x 6 = 50-191 <0 for c negative, the T register 408-3 is set to "1". Therefore, the ALU 405 does not perform the processing after n = 5 because the T register 408-2 is "0". Therefore, each of the registers 404-R 1, R 2, R 3-
R1, 404-R2, 404-R3 are not rewritten,
Section coordinate data and coefficient data are held.

【0044】これに対し、ウのALU405はn=1の
サイクルまで減算処理を続け、図8に示すようにR1=
1、R2=y1、R3=a1がセットされる。そして、
n=0までこのサイクルを繰り返した後、各ALU40
5は同時にステップ110の式(4)の演算を実行し、
演算結果を出力濃度レジスタ404−R4に格納する。
このように各ALU405の濃度によって区間を決定
し、各々のパラメータを使用して同一プログラムで同時
に演算を行うことが可能になる。
On the other hand, the ALU 405 continues to perform the subtraction processing until the cycle of n = 1, and as shown in FIG.
x 1, R2 = y 1, R3 = a 1 is set. And
After repeating this cycle until n = 0, each ALU 40
5 simultaneously executes the operation of equation (4) in step 110,
The calculation result is stored in the output density register 404-R4.
In this manner, the section is determined based on the density of each ALU 405, and it becomes possible to perform calculations simultaneously with the same program using each parameter.

【0045】この構成では、外部からの入力画像データ
を入力し、さらに外部にデータを出力する8ビットのレ
ジスタ404、ALU405、外部データRAM40
1、プログラムRAM410、Gレジスタ411a、ア
キュムレータレジスタ406、テンポラリレジスタ40
7、Tレジスタ408を備えており、外部データRAM
401は各画素単位で異なるパラメータを使用して処理
演算を行う場合の各パラメータをあらかじめ格納してお
く。また、レジスタ404にはそこから条件別にロード
が行われる。これにより、並行処理を行うデジタル信号
プロセッサ(DSP)で、各画素単位で異なるパラメー
タを使用して処理演算を行う場合に、必要な各パラメー
タを予め格納しておく外部RAM401と、そこから条
件別にロード可能なレジスタ404とにより同一プログ
ラムで各々のパラメータを用いた並列処理を行うことが
可能になり、プログラム量の減少、外部メモリ量の減
少、処理速度の高速化を実現できる 4.濃度レベルの設定 出力画像の濃度レベルの調整を行うために濃度レベル設
定部を設け、所望の濃度レベルに調整することも可能で
ある。以下、2つの場合について説明する。
In this configuration, an 8-bit register 404, an ALU 405, and an external data RAM 40 for inputting input image data from the outside and further outputting data to the outside.
1. Program RAM 410, G register 411a, accumulator register 406, temporary register 40
7. Equipped with a T register 408, an external data RAM
Reference numeral 401 stores in advance each parameter when a processing operation is performed using a different parameter for each pixel. The register 404 is loaded from there according to conditions. Thus, when a digital signal processor (DSP) that performs parallel processing performs a processing operation using different parameters for each pixel, an external RAM 401 in which necessary parameters are stored in advance, and the external RAM 401 stores conditions necessary for each parameter. The loadable register 404 makes it possible to perform parallel processing using each parameter in the same program, thereby reducing the amount of programs, the amount of external memory, and increasing the processing speed. Setting of Density Level It is also possible to provide a density level setting unit for adjusting the density level of the output image and adjust the density level to a desired density level. Hereinafter, two cases will be described.

【0046】4.1 濃度レベル設定(その1) 入力画像濃度に対して複数の変換を設定するため、その
設定数に対応した複数の変換式、言い換えれば座標デー
タ及び係数データを図9に示すように複数の外部データ
RAM1〜n(401−1〜n)にあらかじめ格納して
おき、濃度レベル設定部412からの設定信号に応じて
セレクタ413によって外部データRAM401−1〜
nのいずれかを選択し、グローバルプロセッサ部411
からのアドレスバス404とデータバス403に接続す
ることができる。
4.1 Density Level Setting (Part 1) In order to set a plurality of conversions for the input image density, a plurality of conversion equations corresponding to the set numbers, in other words, coordinate data and coefficient data are shown in FIG. Are stored in advance in the plurality of external data RAMs 1-n (401-1-n), and the selector 413 responds to the setting signal from the density level setting unit 412 by the selector 413.
n, the global processor unit 411
Can be connected to the address bus 404 and the data bus 403.

【0047】このように構成することによって入力画像
の特性に応じた出力濃度変換が可能となるとともに、出
力濃度の濃淡を調整することが可能になる。例えば、特
定の濃度範囲でコントラストの弱い入力画像の出力再現
性を高めるためには、その濃度範囲での係数データ(1
次式の傾き)を小さい値に調整する必要がある。また、
出力濃度の濃淡を設定するためにも係数データの調整が
必要となる。
With this configuration, it is possible to perform output density conversion according to the characteristics of the input image and to adjust the density of the output density. For example, in order to improve the output reproducibility of an input image having a low contrast in a specific density range, the coefficient data (1
It is necessary to adjust the following equation (slope) to a small value. Also,
Adjustment of the coefficient data is also required to set the density of the output density.

【0048】なお、図9において、特に説明しない各部
は全て図4と同様に構成されている。
Note that, in FIG. 9, all components not particularly described are configured in the same manner as in FIG.

【0049】4.2 濃度レベル設定(その2) 上記図9に示した例は、濃度レベルの設定に対応して変
換式を複数持つことを特徴としているが、さらに、濃度
範囲分割数nも濃度レベル設定に対応してあらかじめ複
数持つように構成することもできる。この例を図10に
示す。このように構成することによって、原稿によって
は濃度階調の少ない画像等は、濃度範囲分割数を少なく
することが可能となる。濃度範囲分割数nを減少させる
ことは、濃度変換フローサイクルの減少となり、処理サ
イクルの低減が可能となる。
4.2 Density Level Setting (No. 2) The example shown in FIG. 9 is characterized by having a plurality of conversion formulas corresponding to the setting of the density level. It may be configured to have a plurality of them in advance corresponding to the density level setting. This example is shown in FIG. With this configuration, it is possible to reduce the number of density range divisions for an image or the like having a small density gradation depending on the original. Decreasing the number n of density range divisions results in a reduction in the number of density conversion flow cycles and a reduction in the number of processing cycles.

【0050】なお、図10では、濃度レベル設定に関連
する外部データRAM401とこれに関連する構成要素
のみ図示しているが、特に説明しない各部は図4及び図
9の各部と同様に構成されている。
FIG. 10 shows only the external data RAM 401 relating to the setting of the density level and the components related thereto, but the parts not particularly described are constituted in the same manner as the parts in FIGS. 4 and 9. I have.

【0051】4.3 外部CPUと外部データRAMと
のバス接続 外部データRAM401は1通りの座標データPn、係
数データan、濃度範囲分割数nを格納可能な領域とす
る。図11に示すように、外部CPU414はセレクタ
413を通して外部データRAM401に接続可能で、
外部データラム401の所定の領域に書き込み可能であ
る。外部CPU414はグローバルプロセッサ部411
の濃度変換メイン制御フローの開始前にモード切り換え
信号416によってセレクタ413を外部CPU414
と外部データRAM401との接続状態に切り換え、座
標データPn、係数データan及び濃度範囲分割数nの所
定の領域への書き込みが終了した時点で、再びセレクタ
413をグローバルプロセッサ部411と外部データR
AM401との接続状態に切り換える。これによって、
外部データRAM401に書き込まれた前記データがグ
ローバルプロセッサ部411を介してALU405側に
ロードされる。外部CPU414は、この画像処理装置
を含むシステムのメイン制御を行うものとし、外部デー
タRAM401への書き込み終了後に画像の入力を開始
し、濃度変換処理を実行するタイミングを制御可能であ
る。
[0051] 4.3 to external CPU and the external bus connection to the data RAM external data RAM401 coordinate data P n of 1 types, the coefficient data a n, capable of storing density range division number n regions. As shown in FIG. 11, the external CPU 414 can be connected to the external data RAM 401 through the selector 413.
It is possible to write in a predetermined area of the external data ram 401. The external CPU 414 is a global processor unit 411
Before the start of the density conversion main control flow, the selector 413 is switched to the external CPU 414 by the mode switching signal 416.
And switching the connection state of the external data RAM 401, the coordinate data P n, coefficient data a n and concentration range when the writing to the predetermined area is completed the division number n, the global processor unit 411 and the external data selector 413 again R
Switch to the connection state with AM401. by this,
The data written in the external data RAM 401 is loaded to the ALU 405 via the global processor 411. The external CPU 414 performs main control of the system including the image processing apparatus, and can start inputting an image after completion of writing to the external data RAM 401, and can control the timing of executing the density conversion processing.

【0052】なお、図11では、外部CPU414と濃
度レベル設定に関連する外部データRAM401とこれ
に関連する構成要素のみ図示しているが、特に説明しな
い各部は図4、図9及び図10の各部と同様に構成され
ている。
FIG. 11 shows only the external CPU 414, the external data RAM 401 relating to the setting of the density level, and the components related thereto, but the parts which are not particularly described are the parts shown in FIGS. 4, 9 and 10. It is configured similarly to.

【0053】4.4 外部CPUと外部データRAMと
操作部との接続(その1) 図11の例は濃度設定部412からの指示に応じて外部
CPU414と外部データRAM401との接続及び外
部データRAM401とグローバルプロセッサ部411
との接続を切り換えていたが、図12は操作部415か
ら外部データラム401に対するアクセスを可能とした
例である。この例では、外部データRAM401は1通
りの座標データPn、係数データan、濃度範囲分割数n
を格納可能な領域とする。図11に示すように、外部C
PU414はセレクタ413を通して外部データRAM
401に接続可能で、前記領域をリード/ライト可能で
ある。
4.4 Connection between External CPU, External Data RAM, and Operation Unit (Part 1) In the example of FIG. 11, connection between external CPU 414 and external data RAM 401 and external data RAM 401 in response to an instruction from density setting unit 412 And the global processor unit 411
FIG. 12 shows an example in which the operation unit 415 can access the external data RAM 401. In this example, the external data RAM 401 stores one set of coordinate data P n , coefficient data a n , and density range division number n.
Is an area that can be stored. As shown in FIG.
PU 414 is connected to external data RAM through selector 413
The area can be connected to 401 and the area can be read / written.

【0054】操作部415では、外部データRAM40
1に設定する変換式(座標データPnと係数データan
と濃度範囲分割数nを設定可能である。操作部415
は、図13ないし図15に示すように液晶ディスプレイ
415aとタッチパネル415bとから構成され、表示
と入力が可能となっている。初期状態では、コピーの操
作部415の表示は図13に示すようになっている。そ
こで、液晶ディスプレイ415aの「濃度変換設定」4
15cという表示を押すと、図14に示すようにまず、
濃度範囲分割数nの設定項目の表示になる。そこで、テ
ンキー415dによって1からnまでの数値を入力し、
「設定OK」415eの表示を押すことによって濃度範
囲分割数nの入力が完了する。
In the operation unit 415, the external data RAM 40
Conversion equation to be set to 1 (coordinate data P n and coefficient data a n )
And the density range division number n can be set. Operation unit 415
Is composed of a liquid crystal display 415a and a touch panel 415b as shown in FIGS. 13 to 15, and can be displayed and input. In the initial state, the display of the copy operation unit 415 is as shown in FIG. Therefore, the “density conversion setting” 4 of the liquid crystal display 415 a
When the display of 15c is pressed, first, as shown in FIG.
The setting item of the density range division number n is displayed. Therefore, input a numerical value from 1 to n with the ten keys 415d,
By pressing the display of "setting OK" 415e, the input of the density range division number n is completed.

【0055】続いて図15に示す座標データ、係数デー
タの入力画面に切り替わり、分割区間1からnの順に設
定値をテンキー415dから入力する。区間全ての入力
が終了すると「設定終了」415fの表示を押す。この
時点で操作部415から設定画面で設定した設定値が外
部CPU414に転送される。
Subsequently, the screen is switched to the coordinate data and coefficient data input screen shown in FIG. 15, and set values are inputted from the ten keys 415d in the order of the divided sections 1 to n. When the input of all the sections is completed, the display of "setting end" 415f is pressed. At this point, the set value set on the setting screen from the operation unit 415 is transferred to the external CPU 414.

【0056】外部CPU414はグローバルプロセッサ
部411の濃度変換メイン制御フローの開始前にモード
切り換え信号416によってセレクタ413を外部CP
U414と外部データRAM401との接続状態に切り
換え、設定した座標データPn、係数データan及び濃
度範囲分割数nの所定の領域への書き込みが終了した時
点で、再びセレクタ413をグローバルプロセッサ部4
11と外部データRAM401との接続状態に切り換え
る。これによって、外部データRAM401に書き込ま
れた前記データがグローバルプロセッサ部411を介し
てALU405側にロードされる。外部CPU414
は、この画像処理装置を含むシステムのメイン制御を行
うものとし、外部データRAM401への書き込み終了
後に画像の入力を開始し、濃度変換処理を実行するタイ
ミングを制御可能である。
The external CPU 414 sets the selector 413 to the external CP by the mode switching signal 416 before the start of the density conversion main control flow of the global processor unit 411.
When the connection state between the U414 and the external data RAM 401 is switched, and the writing of the set coordinate data Pn, coefficient data an and density range division number n into a predetermined area is completed, the selector 413 is switched to the global processor unit 4 again.
11 is connected to the external data RAM 401. Thus, the data written in the external data RAM 401 is loaded to the ALU 405 via the global processor unit 411. External CPU 414
Performs the main control of the system including the image processing apparatus, and can start the input of an image after the writing to the external data RAM 401 and control the timing of executing the density conversion processing.

【0057】なお、図12では、外部CPU414と操
作部415と濃度レベル設定に関連する外部データRA
M401とこれに関連する構成要素のみ図示している
が、特に説明しない各部は図4、図9、図10及び図1
1の各部と同様に構成されている。
In FIG. 12, the external CPU 414, the operation unit 415, and the external data RA related to the density level setting are set.
Although only the M401 and its related components are shown, each part not specifically described is shown in FIG. 4, FIG. 9, FIG.
1 is configured in the same manner as each section.

【0058】4.5 外部CPUと外部データRAMと
操作部との接続(その2) この例も、3.4と同様に外部データRAM401は1
通りの座標データPn、係数データan、濃度範囲分割数
nを格納可能な領域とする。図11に示すように、外部
CPU414はセレクタ413を通して外部データRA
M401に接続可能で、前記領域をリード/ライト可能
である。操作部415では、外部データRAM401に
設定する変換式(座標データPnと係数データan)と濃
度範囲分割数nの設定を確認可能である。この操作部4
15の一例を図13及び図16を参照して説明する。
4.5 Connection of External CPU, External Data RAM, and Operation Unit (Part 2) In this example, as in 3.4, the external data RAM 401 has one connection.
The coordinate data P n , the coefficient data a n , and the number n of density range divisions are assumed to be areas that can store therein. As shown in FIG. 11, the external CPU 414 sends the external data RA through the selector 413.
It can be connected to M401, and the area can be read / written. The operation unit 415 allows the user to confirm the conversion formula (coordinate data P n and coefficient data a n ) set in the external data RAM 401 and the setting of the density range division number n. This operation unit 4
One example of 15 will be described with reference to FIGS.

【0059】初期状態では、コピーの操作部415の表
示は図13に示すようになっている。そこで、液晶ディ
スプレイ415aの「濃度変換設定確認」415gとい
う表示を押すと、図16に示すように現在の濃度範囲分
割数n、座標データPn及び係数データanの設定内容が
表示される。操作部415は「濃度変換設定確認」41
5gの表示が選択されると、外部CPU414に対して
外部データRAM401へのライト要求を出し、外部C
PU414はこれを受け、モード切り換え信号416に
よってセレクタ413を外部CPU414と外部データ
RAM401との接続状態に切り換え、その後、外部デ
ータRAM401内の所定の領域から前記濃度範囲分割
数n、座標データPn及び係数データanをリードして操
作部415に転送する。操作部415では、その転送を
受け、表示パネル415aに設定値として表示する。
In the initial state, the display of the copy operation unit 415 is as shown in FIG. Therefore, pressing the display of "density conversion setting confirmation" 415g of the liquid crystal display 415a, the current density range dividing number n as shown in FIG. 16, the settings of the coordinate data P n and the coefficient data a n is displayed. The operation unit 415 displays “concentration conversion setting confirmation” 41
When the display of 5 g is selected, a write request to the external data RAM 401 is issued to the external CPU 414 and the external C
The PU 414 receives this, switches the selector 413 to the connection state between the external CPU 414 and the external data RAM 401 by the mode switching signal 416, and thereafter, from a predetermined area in the external data RAM 401, the density range division number n, coordinate data P n and leading the coefficient data a n is transferred to the operation unit 415. The operation unit 415 receives the transfer and displays it as a set value on the display panel 415a.

【0060】その他、特に説明しない各部は前述の図
4、図9、図10、図11及び図12の各部と同様に構
成されている。
The other parts, which are not particularly described, have the same construction as the parts shown in FIGS. 4, 9, 10, 11 and 12.

【0061】5.他の実施形態 写真や絵画などの階調画像を再現する場合、ハーフトー
ン法が用いられる。ハーフトーン法は階調画像を微小要
素の集まりに分別し、その微小要素の面積割合の大小に
よって階調の濃淡を表す方式である。これは平版、凸版
の印刷においてはインキの膜厚を変換させることができ
ず、画像のどの部分においても原理的に一定膜厚で版か
ら非印刷体、例えば紙へのインキの転移すなわち印刷が
行われるためである。印刷で与えられた原稿画像の複製
を作成する場合、コピーされた複製画像は原稿画像の階
調を忠実に再現していることが望まれる。しかし、ハー
フトーン法においては網点画像の性質のために一般に網
掛けの際に非直線的な特性が要求される。
5. Other Embodiments When reproducing a gradation image such as a photograph or a painting, a halftone method is used. The halftone method is a method in which a gradation image is classified into a group of minute elements, and the gradation of the gradation is represented by the magnitude of the area ratio of the minute elements. This means that in lithographic and relief printing, the thickness of the ink cannot be changed, and in any part of the image, the transfer of ink from the plate to a non-printed material, such as paper, that is, printing, is in principle constant at a constant thickness. Because it is done. When creating a copy of a document image given by printing, it is desired that the copied copy image faithfully reproduces the tone of the document image. However, in the halftone method, a non-linear characteristic is generally required in shading due to the property of a halftone image.

【0062】ハーフトーンの印刷物において、網点面積
割合をA、濃度をD、ベタ刷り部分の濃度をDsとする
とき、任意の個所におけるDとAとの関係を表す式とし
て図20に示すYule-Nelsenの式が知られている。この
式は、特に網点で面積階調処理を実現する場合における
印刷機のスクリーン線数に対応した網点面積率を得るた
めの式である。この式で、nは印刷する用紙の種類によ
って変化するパラメータで、n≧1であるが、用紙の光
拡散性が強いほどその値は大きくなる。種々のnの値に
ついて前記Yule-Nelsenの式の関係をグラフに展開する
と、図21に示すようになる。このように画像形成条件
の違いなどによって網点サイズと印刷濃度との関係が変
動するので、原稿の調子を忠実に再現した印刷物を得る
ためには画像形成における網掛け工程において原稿の連
続調画像をどのような特性で網掛けして実現するのが理
想的かということを単一の特性曲線で示すことはできな
い。
[0062] In the printed matter of half tone, indicating the halftone dot area ratio A, the concentration D, when the density of the solid printing portion and D s, in FIG. 20 as an expression representing the relation between D and A in any location The Yule-Nelsen equation is known. This equation is an equation for obtaining a halftone dot area ratio corresponding to the screen ruling of a printing press particularly when realizing area gradation processing with halftone dots. In this equation, n is a parameter that changes depending on the type of paper to be printed, and n ≧ 1, but the value increases as the light diffusivity of the paper increases. FIG. 21 is a graph showing the relationship of the Yule-Nelsen equation for various values of n. Since the relationship between the halftone dot size and the print density fluctuates due to differences in image forming conditions, etc., in order to obtain a printed material that faithfully reproduces the tone of the original, a continuous tone image of the original in the shading process in image formation is required. Cannot be shown by a single characteristic curve as to what characteristics are ideally realized by shading.

【0063】このような関係は前述のγ変換の場合と同
様であり、Yule-Nelsenの式に基づいた変換を行う場合
においても、前述の実施形態と同様の方式で処理するこ
とが可能である。すなわち、図19のγ変換部を前記図
20のニールセンの式による濃度変換部に置換して濃度
変換を行うように構成すれば、γ変換で説明した方法に
よって同様に処理できる。
Such a relationship is the same as in the case of the above-mentioned γ-conversion, and even in the case of performing the conversion based on the Yule-Nelsen equation, it is possible to perform processing in the same manner as in the above-described embodiment. . That is, if the γ conversion unit in FIG. 19 is configured to perform the density conversion by replacing the γ conversion unit with the Nielsen equation in FIG. 20, the same processing can be performed by the method described in the γ conversion.

【0064】同様に、図22に示したような階調変換に
おける量子化にも適用することができる。すなわち、図
22から分かるように入力濃度と出力濃度のとの間に特
定の関係があり、この関係の特性を用い、あるいはこの
特性を式に変換して前記γ変換を例に取って説明した実
施形態に適用すれば、前述の実施形態と同様の方式で処
理することが可能である。
Similarly, the present invention can be applied to quantization in gradation conversion as shown in FIG. That is, as can be seen from FIG. 22, there is a specific relationship between the input density and the output density, and the characteristics of this relationship are used, or this characteristic is converted into an equation, and the γ conversion is described as an example. If applied to the embodiment, processing can be performed in the same manner as in the above-described embodiment.

【0065】[0065]

【発明の効果】以上のように、請求項1記載の発明によ
れば、1ラスタの画像信号を入力する入力手段と、この
入力手段によって入力された1ラスタの画像信号を並列
に設けた演算器によって並列的に入力濃度に対して濃度
変換を行って出力濃度を決定する濃度補正演算手段と、
この演算手段によって得られた出力濃度を直列的に出力
する出力手段と、前記濃度変換に必要なパラメータを書
き換え可能に格納する外部データ記憶手段とを備えてい
るので、濃度変換カーブの変更時の柔軟性を高めること
ができる。
As described above, according to the first aspect of the present invention, an input means for inputting an image signal of one raster and an arithmetic operation in which the image signal of one raster input by the input means are provided in parallel. Density correction calculating means for determining the output density by performing density conversion on the input density in parallel by a device,
Since output means for serially outputting the output density obtained by this calculating means and external data storage means for rewritably storing the parameters necessary for the density conversion are provided, the Flexibility can be increased.

【0066】請求項2記載の発明によれば、濃度補正演
算手段の演算式、入出力の制御を行うプログラム部をさ
らに備え、前記演算手段による入力画像信号の濃度に対
する出力濃度への変換は前記プログラム部のプログラム
に記述されている変換式を用いるので、濃度変換カーブ
の式化により濃度変換カーブの変更時の柔軟性を高める
ことができる。
According to the second aspect of the present invention, the image processing apparatus further includes a program section for controlling an arithmetic expression and input / output of the density correction operation means, and the conversion of the density of the input image signal into the output density by the operation means. Since the conversion formula described in the program of the program unit is used, the flexibility in changing the density conversion curve can be enhanced by formulating the density conversion curve.

【0067】請求項3記載の発明によれば、入力濃度の
全範囲をn個の範囲に分割し、各区間で変換に用いる分
割座標と各範囲での変換式の係数は、その値を書き換え
可能な外部データ記憶手段に格納するので、データ量の
削減を図ることができる。
According to the third aspect of the invention, the entire range of the input density is divided into n ranges, and the division coordinates used for conversion in each section and the coefficients of the conversion formula in each range are rewritten. Since the data is stored in a possible external data storage means, the data amount can be reduced.

【0068】請求項4記載の発明によれば、濃度補正演
算手段で用いる演算式は入力濃度の範囲別に固有の係数
であり、同一プログラムで並列的に演算を可能とするの
で、濃度変換カーブの変更時の柔軟性を高めることがで
きるとともに、データ量の削減を図ることができる。
According to the fourth aspect of the present invention, the arithmetic expression used by the density correction calculating means is a coefficient unique to each input density range, and can be calculated in parallel by the same program. The flexibility at the time of change can be increased, and the amount of data can be reduced.

【0069】請求項5記載の発明によれば、各画素単位
で異なるパラメータを使用して並列処理を実行する演算
手段と、必要な前記パラメータをあらかじめ格納してお
く外部データ記憶手段と、この外部データ記憶手段から
必要なデータをロードし、演算時に前記演算手段が参照
可能なレジスタと、前記レジスタにロードされたパラメ
ータに基づき、入力濃度に対して並列的に濃度変換を行
って出力濃度を決定する濃度決定手段と、濃度レベルを
設定する濃度レベル設定手段とを備え、前記外部データ
記憶手段には濃度レベルに対応した変換式が複数格納さ
れ、前記演算手段は前記濃度レベル設定手段によって設
定された濃度レベルから前記変換式を選択し、この選択
された変換式に基づいて前記濃度決定手段は濃度を決定
するので、出力濃度レベルに対応した濃度変換が可能に
なる。
According to the fifth aspect of the present invention, the arithmetic means for executing parallel processing using different parameters for each pixel, the external data storage means for storing the necessary parameters in advance, and the external data storage means The necessary data is loaded from the data storage means, and the output density is determined by performing density conversion in parallel with the input density based on the register which can be referred to by the arithmetic means at the time of calculation and the parameters loaded into the register. And a density level setting unit for setting a density level. The external data storage unit stores a plurality of conversion formulas corresponding to the density levels, and the arithmetic unit is set by the density level setting unit. The conversion formula is selected from the obtained density levels, and the density determination means determines the density based on the selected conversion formula. Density conversion corresponding to the level is possible.

【0070】請求項6記載の発明によれば、濃度レベル
を設定する濃度レベル設定手段を備え、演算手段は、入
力濃度の全範囲を複数の範囲に分割し、外部データ記憶
手段に格納された前記分割された各区間で変換に使用す
る分割座標、各範囲での変換式の係数、及び複数の濃度
変換レベルに対応した変換式を、前記濃度レベル設定部
からの濃度レベル設定に対応して選択し、選択された変
換式に基づいて同一プログラムで並列的に演算を行うの
で、出力濃度レベルに対応した濃度変換が可能になる。
According to the sixth aspect of the present invention, there is provided a density level setting means for setting a density level, wherein the calculating means divides the entire range of the input density into a plurality of ranges and stores the divided ranges in the external data storage means. The division coordinates used for the conversion in each of the divided sections, the coefficients of the conversion formula in each range, and the conversion formulas corresponding to a plurality of density conversion levels are converted in correspondence with the density level setting from the density level setting unit. Since a selection is made and calculations are performed in parallel by the same program based on the selected conversion formula, density conversion corresponding to the output density level becomes possible.

【0071】請求項7記載の発明によれば、濃度レベル
に対応した変換式と濃度範囲分割数を複数有しているの
で、出力濃度レベルに対応した濃度変換が可能になると
ともに、処理サイクルの削減が可能になる。
According to the seventh aspect of the present invention, since there are a plurality of conversion formulas corresponding to the density level and a plurality of density range division numbers, density conversion corresponding to the output density level can be performed and the processing cycle can be reduced. Reduction becomes possible.

【0072】請求項8記載の発明によれば、外部データ
記憶手段を外部CPUとバス接続し、外部CPUから前
記外部データ記憶手段にアクセス可能としたので、少量
の記憶領域でも出力濃度レベルに対応した濃度変換が可
能になるとともに、入力画像の特性に応じた濃度変換を
行うことができ、また、処理サイクルの削減も可能にな
る。
According to the eighth aspect of the present invention, the external data storage means is connected to the external CPU via a bus so that the external CPU can access the external data storage means. In addition to performing the density conversion, the density conversion according to the characteristics of the input image can be performed, and the processing cycle can be reduced.

【0073】請求項9記載の発明によれば、外部CPU
とセレクタとを介してバス接続された操作部を更に備
え、当該操作部からの操作入力によって濃度変換設定の
内容を変更するので、入力画像の特性に応じた自由な出
力濃度の調整が可能になる。
According to the ninth aspect of the present invention, the external CPU
And an operation unit connected to a bus via the selector, and the content of the density conversion setting is changed by the operation input from the operation unit, so that the output density can be freely adjusted according to the characteristics of the input image. Become.

【0074】請求項10記載の発明によれば、操作部は
現在設定されている外部データ記憶手段の内容を読み出
し、表示することができるので、調整値の確認が容易に
行える。
According to the tenth aspect of the present invention, the operation section can read out and display the contents of the currently set external data storage means, so that the adjustment values can be easily confirmed.

【0075】請求項11記載の発明によれば、請求項1
ないし10までの発明の効果をγ変換に基づく濃度変
換、ニールセンの式に基づく濃度変換、および階調量子
化に基づく濃度変換のいずれに対しても得ることができ
る。
According to the eleventh aspect of the present invention, the first aspect is provided.
The effects of the present invention can be obtained for any of density conversion based on gamma conversion, density conversion based on Nielsen's equation, and density conversion based on gradation quantization.

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

【図1】本発明の実施形態に係る画像処理装置の濃度変
換のアルゴリズムを示すフローチャートである。
FIG. 1 is a flowchart illustrating an algorithm of density conversion of an image processing apparatus according to an embodiment of the present invention.

【図2】本実施形態に係る直線で近似したγ補正カーブ
と座標データ及び係数データとの関係を示す図である。
FIG. 2 is a diagram illustrating a relationship between a γ correction curve approximated by a straight line, coordinate data, and coefficient data according to the embodiment;

【図3】本実施形態に係るγ補正の演算式の一例を示す
図である。
FIG. 3 is a diagram showing an example of an arithmetic expression for gamma correction according to the embodiment.

【図4】本実施形態に係るγ補正の動作とレジスタの構
成を示す図である。
FIG. 4 is a diagram illustrating a gamma correction operation and a register configuration according to the embodiment.

【図5】図1のフローチャートにおけるステップ103
からステップ109までの動作の具体例であって、レジ
スタの初期状態の一例を示す図である。
FIG. 5 is a step 103 in the flowchart of FIG. 1;
FIG. 7 is a diagram showing a specific example of the operation from step to step 109, showing an example of an initial state of a register.

【図6】図1のフローチャートにおけるステップ103
からステップ109までの動作の具体例であって、濃度
範囲分割数n=7のときのレジスタの状態を示す図であ
る。
FIG. 6 is a step 103 in the flowchart of FIG. 1;
FIG. 9 is a diagram showing a specific example of the operation from step to step 109, showing the state of the register when the number of divisions of the density range is n = 7.

【図7】図1のフローチャートにおけるステップ103
からステップ109までの動作の具体例であって、濃度
範囲分割数n=6のときのレジスタの状態を示す図であ
る。
FIG. 7 is a step 103 in the flowchart of FIG. 1;
FIG. 9 is a diagram showing a specific example of the operation from step to step 109, showing the state of the register when the density range division number n = 6.

【図8】図1のフローチャートにおけるステップ103
からステップ109までの動作の具体例であって、濃度
範囲分割数n=1から0のときのレジスタの状態を示す
図である。
FIG. 8 is a step 103 in the flowchart of FIG. 1;
FIG. 9 is a diagram showing a specific example of the operation from step to step 109, showing the state of the register when the number of density range divisions n = 1 to 0.

【図9】濃度レベルに対応した変換式と濃度範囲分割数
を複数有する例を示すγ補正の動作とレジスタの構成を
示す図である。
FIG. 9 is a diagram illustrating an example of a gamma correction operation and a register configuration showing an example having a plurality of conversion formulas corresponding to density levels and the number of density range divisions.

【図10】濃度範囲分割数nも濃度レベル設定に対応し
てあらかじめ複数持つように構成した例を示すγ補正の
動作とレジスタの構成を示す図である。
FIG. 10 is a diagram illustrating an operation of γ correction and a configuration of a register, showing an example in which a plurality of density range division numbers n are provided in advance corresponding to density level settings.

【図11】外部CPUによって外部データRAMをアク
セスして濃度レベルに対応した変換式と濃度範囲分割数
を変更できるようにしたγ補正の動作とレジスタの構成
を示す図である。
FIG. 11 is a diagram showing the operation of a gamma correction and the configuration of a register in which an external CPU can access an external data RAM to change a conversion formula corresponding to a density level and a density range division number.

【図12】図11の構成にさらに操作部を連結した例を
示す図である。
FIG. 12 is a diagram illustrating an example in which an operation unit is further connected to the configuration of FIG. 11;

【図13】操作部の表示状態を示す図である。FIG. 13 is a diagram illustrating a display state of an operation unit.

【図14】操作部の濃度範囲分割数nの設定画面を示す
図である。
FIG. 14 is a diagram illustrating a setting screen of a density range division number n of the operation unit.

【図15】操作部の座標データ及び係数データの設定画
面を示す図である。
FIG. 15 is a diagram showing a setting screen of coordinate data and coefficient data of an operation unit.

【図16】操作部から設定された座標データ及び係数デ
ータの設定確認画面を示す図である。
FIG. 16 is a diagram showing a setting confirmation screen of coordinate data and coefficient data set from the operation unit.

【図17】本発明の実施形態に係る画像処理装置を適用
した画像形成システムのシステム構成の概略を示すブロ
ック図である。
FIG. 17 is a block diagram schematically illustrating a system configuration of an image forming system to which the image processing apparatus according to the embodiment of the present invention is applied.

【図18】図17のシステム構成をさらに詳細に示すブ
ロック図である。
18 is a block diagram showing the system configuration of FIG. 17 in further detail.

【図19】図18におけるIPUの詳細を示すブロック
図である。
FIG. 19 is a block diagram showing details of an IPU in FIG. 18;

【図20】他の実施形態に説明する他の図で、いわゆる
Yule-Nelsenの式を示す。
FIG. 20 is another view illustrating another embodiment,
Here is the Yule-Nelsen equation.

【図21】用紙の種類によって変化するパラメータnの
種々の値についてYule-Nelsenの式の関係をグラフに展
開した図である。
FIG. 21 is a graph in which the relationship of the Yule-Nelsen equation for various values of the parameter n that changes depending on the type of paper is developed in a graph.

【図22】階調量子化における入力濃度と出力濃度との
関係を示す図である。
FIG. 22 is a diagram illustrating a relationship between an input density and an output density in gradation quantization.

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

401 外部データRAM 404−R0 入力濃度レジスタ 404−R1 座標レジスタ 404−R2 座標レジスタ 404−R3 係数レジスタ 404−R4 出力濃度レジスタ 404−RN 区間数レジスタ 405 ALU 406 アキュムレータレジスタ 407 テンポラリーレジスタ 408 Tレジスタ 409 MUX 410 プログラムRAM 411 グローバルプロセッサ部 411a グローバルレジスタ 401 External data RAM 404-R0 Input density register 404-R1 Coordinate register 404-R2 Coordinate register 404-R3 Coefficient register 404-R4 Output density register 404-RN Section number register 405 ALU 406 Accumulator register 407 Temporary register 408 T register 409 MUX 410 Program RAM 411 Global processor unit 411a Global register

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 1ラスタの画像信号を入力する入力手段
と、 この入力手段によって入力された1ラスタの画像信号を
並列に設けた演算器によって入力濃度に対して並列的に
濃度変換を行って出力濃度を決定する濃度補正演算手段
と、 この演算手段によって得られた出力濃度を直列的に出力
する出力手段と、 前記濃度変換に必要なパラメータを書き換え可能に格納
する外部データ記憶手段と、を備えた画像処理装置。
An input means for inputting an image signal of one raster, and an input unit for inputting the image signal of one raster, performs density conversion in parallel with respect to the input density by an arithmetic unit provided in parallel. Density correction calculating means for determining the output density; output means for serially outputting the output density obtained by the calculating means; and external data storage means for rewritably storing parameters required for the density conversion. Image processing device provided.
【請求項2】 前記演算手段の演算式、入出力の制御を
行うプログラム部をさらに備え、前記演算手段による入
力画像信号の濃度に対する出力濃度への変換は前記プロ
グラム部のプログラムに記述されている変換式を用いる
ことを特徴とする請求項1記載の画像処理装置。
2. The image processing apparatus according to claim 1, further comprising a program unit for controlling an arithmetic expression and input / output of the arithmetic unit, wherein the conversion of the density of the input image signal into the output density by the arithmetic unit is described in a program of the program unit. The image processing apparatus according to claim 1, wherein a conversion formula is used.
【請求項3】 入力濃度の全範囲を複数個の範囲に分割
し、各区間で変換に用いる分割座標と各範囲での変換式
の係数は、その値を書き換え可能な前記外部データ記憶
手段に格納することを特徴とする請求項2記載の画像処
理装置。
3. The entire range of input density is divided into a plurality of ranges, and divided coordinates used for conversion in each section and coefficients of a conversion formula in each range are stored in the external data storage means whose values can be rewritten. 3. The image processing apparatus according to claim 2, wherein the image is stored.
【請求項4】 前記演算手段で用いる演算式は、入力濃
度の範囲別に固有の係数であり、同一プログラムで並列
的に演算を可能とすることを特徴とする請求項3記載の
画像処理装置。
4. The image processing apparatus according to claim 3, wherein the arithmetic expression used in the arithmetic means is a coefficient unique to each input density range, and the arithmetic processing can be performed in parallel by the same program.
【請求項5】 各画素単位で異なるパラメータを使用し
て並列処理を実行する演算手段と、 必要な前記パラメータをあらかじめ格納しておく外部デ
ータ記憶手段と、 この外部データ記憶手段から必要なデータをロードし、
演算時に前記演算手段が参照可能なレジスタと、 前記レジスタにロードされたパラメータに基づき、入力
濃度に対して並列的に濃度変換を行って出力濃度を決定
する濃度決定手段と、 濃度レベルを設定する濃度レベル設定手段と、を備え、 前記外部データ記憶手段には濃度レベルに対応した変換
式が複数格納され、前記演算手段は前記濃度レベル設定
手段によって設定された濃度レベルから前記変換式を選
択し、この選択された変換式に基づいて前記濃度決定手
段は濃度を決定することを特徴とする画像処理装置。
5. An arithmetic unit for executing parallel processing using different parameters for each pixel unit, an external data storage unit for storing the necessary parameters in advance, and storing necessary data from the external data storage unit. Load
A register which can be referred to by the calculating means at the time of calculation; density determining means for performing density conversion on the input density in parallel based on parameters loaded into the register to determine an output density; and setting a density level. Density level setting means, wherein a plurality of conversion formulas corresponding to the density levels are stored in the external data storage means, and the calculation means selects the conversion formula from the density levels set by the density level setting means. An image processing apparatus, wherein the density determining means determines a density based on the selected conversion formula.
【請求項6】 1ラスタの画像信号を入力する入力手段
と、 この入力手段によって入力された1ラスタの画像信号を
並列に設けた演算器によって入力濃度に対して並列的に
濃度変換を行って出力濃度を決定する濃度補正演算手段
と、 この演算手段によって得られた出力濃度を直列的に出力
する出力手段と、 前記濃度変換に必要なパラメータを書き換え可能に格納
する外部データ記憶手段と、 この外部データ記憶手段から必要なデータをロードし、
演算時に前記演算器が共通に参照可能なレジスタと、 濃度レベルを設定する濃度レベル設定手段と、を備え、 前記演算手段は、入力濃度の全範囲を複数の範囲に分割
するとともに、前記分割された各区間で変換に使用する
分割座標、各範囲での変換式の係数、及び複数の濃度変
換レベルに対応した変換式があらかじめ格納された前記
外部データ記憶手段から前記濃度レベル設定手段によっ
て設定された濃度レベルに対応した変換式を選択し、前
記演算器によって前記レジスタと各演算器が有するレジ
スタファイルとを参照して前記選択された変換式に基づ
いて同一プログラムで並列的に演算を行うことを特徴と
する画像処理装置。
6. An input means for inputting an image signal of one raster, and an arithmetic unit provided in parallel with the image signal of one raster input by the input means, performs density conversion on input density in parallel. Density correction calculating means for determining the output density; output means for serially outputting the output density obtained by the calculating means; external data storage means for rewritably storing parameters necessary for the density conversion; Load the required data from external data storage means,
A register that can be commonly referred to by the computing unit at the time of computation; andconcentration level setting means for setting a concentration level.The computing means divides the entire range of the input density into a plurality of ranges, and The divided coordinate used for conversion in each section, the coefficients of the conversion formula in each range, and the conversion formulas corresponding to the plurality of density conversion levels are set by the density level setting means from the external data storage means which is stored in advance. Selecting a conversion formula corresponding to the determined density level, and performing parallel calculations with the same program based on the selected conversion formula with reference to the register and the register file of each calculation unit by the calculation unit. An image processing apparatus characterized by the above-mentioned.
【請求項7】 複数の濃度レベルに対応した濃度範囲分
割数をあらかじめ前記外部データ記憶手段に格納してお
き、前記演算手段が濃度レベル設定手段によって設定さ
れた濃度レベルに対応して濃度範囲分割数を選択するこ
とを特徴とする請求項6記載の画像処理装置。
7. A density range division number corresponding to a plurality of density levels is stored in said external data storage means in advance, and said calculating means divides said density range according to the density level set by said density level setting means. The image processing apparatus according to claim 6, wherein the number is selected.
【請求項8】 前記外部データ記憶手段は外部CPUと
バス接続されるとともに、濃度範囲分割数と各区分での
変換式を1通り格納し、 前記外部CPUと前記外部データ記憶手段との接続、及
び前記レジスタを備えたデータ処理手段と前記外部デー
タ記憶手段との接続を切り換えるセレクタをさらに備
え、 前記外部CPUは前記濃度レベル設定手段の設定に応じ
て外部データ記憶手段に格納されている濃度範囲分割数
と各区分での変換式を書き換え、濃度変換設定の内容を
変更することを特徴とする請求項6記載の画像処理装
置。
8. The external data storage means is connected to an external CPU via a bus, stores the number of density range divisions and a conversion formula for each section, and connects the external CPU to the external data storage means. And a selector for switching a connection between the data processing means having the register and the external data storage means, wherein the external CPU has a density range stored in the external data storage means according to the setting of the density level setting means. 7. The image processing apparatus according to claim 6, wherein the number of divisions and the conversion formula for each section are rewritten to change the content of the density conversion setting.
【請求項9】 前記外部CPUと前記セレクタとを介し
てバス接続された操作部を更に備え、当該操作部からの
操作入力によって前記濃度変換設定の内容を変更するこ
とを特徴とする請求項8記載の画像処理装置。
9. The image processing apparatus according to claim 8, further comprising an operation unit connected to the external CPU via a bus via the selector, wherein the content of the density conversion setting is changed by an operation input from the operation unit. The image processing apparatus according to any one of the preceding claims.
【請求項10】 前記操作部は、現在設定されている外
部データ記憶手段の内容を読み出し、操作部に表示する
ことを特徴とする請求項9記載の画像処理装置。
10. The image processing apparatus according to claim 9, wherein the operation unit reads out the content of the currently set external data storage unit and displays the content on the operation unit.
【請求項11】 前記濃度変換は、γ変換に基づく濃度
変換、ニールセンの式に基づく濃度変換、および階調量
子化に基づく濃度変換のいずれかによって行われること
を特徴とする請求項1、5および6のいずれか1項に記
載の画像処理装置。
11. The density conversion according to claim 1, wherein the density conversion is performed by one of density conversion based on gamma conversion, density conversion based on Nielsen's equation, and density conversion based on gradation quantization. 7. The image processing device according to any one of claims 6 and 7.
JP11059063A 1998-03-05 1999-03-05 Image processing unit Pending JP2000083171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11059063A JP2000083171A (en) 1998-03-05 1999-03-05 Image processing unit

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP7138398 1998-03-05
JP19081198 1998-07-06
JP10-71383 1998-07-06
JP10-190811 1998-07-06
JP11059063A JP2000083171A (en) 1998-03-05 1999-03-05 Image processing unit

Publications (1)

Publication Number Publication Date
JP2000083171A true JP2000083171A (en) 2000-03-21

Family

ID=27296759

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11059063A Pending JP2000083171A (en) 1998-03-05 1999-03-05 Image processing unit

Country Status (1)

Country Link
JP (1) JP2000083171A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1309173A2 (en) * 2001-10-31 2003-05-07 Ricoh Company, Ltd. Image data processing device processing plurality of series of data items simultaneously in parallel
EP1450214A1 (en) * 2002-12-16 2004-08-25 Ricoh Company Data conversion system for image processing and image forming apparatus
CN102789764A (en) * 2001-11-20 2012-11-21 伊英克公司 Methods for driving bistable electro-optic displays

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1309173A2 (en) * 2001-10-31 2003-05-07 Ricoh Company, Ltd. Image data processing device processing plurality of series of data items simultaneously in parallel
EP1309173A3 (en) * 2001-10-31 2010-08-18 Ricoh Company, Ltd. Image data processing device processing plurality of series of data items simultaneously in parallel
CN102789764A (en) * 2001-11-20 2012-11-21 伊英克公司 Methods for driving bistable electro-optic displays
EP1450214A1 (en) * 2002-12-16 2004-08-25 Ricoh Company Data conversion system for image processing and image forming apparatus
US7336395B2 (en) 2002-12-16 2008-02-26 Ricoh Co., Ltd. Data conversion system, image processing and image forming apparatus

Similar Documents

Publication Publication Date Title
US6462837B1 (en) Gray-scale conversion based on SIMD processor
JP2008187466A (en) Image processor, image processing method, computer program, and recording medium
JP4167100B2 (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
US5495349A (en) Color image processing apparatus that stores processing parameters by character data
US8610981B2 (en) Device, method, and computer-readable storage medium for correcting tone in an image
JPH10233928A (en) Image processor
JP2000083171A (en) Image processing unit
JP2010176011A (en) Image forming apparatus
JPH1141473A (en) Image processor, image recording device, and image forming device
US5757378A (en) Color image processing apparatus
JPH0477060A (en) Image forming device
JPH10200710A (en) Image processing unit
JP2003295529A (en) Image forming apparatus and image correcting method
JP3098530B2 (en) Digital copier
JP4027277B2 (en) Image processing device
JP2005134677A (en) Image forming apparatus and image forming method
JP3213347B2 (en) Digital copier and contour mode processing method
JP2004120021A (en) Image processing apparatus, image reader, and image forming apparatus
JPH1023265A (en) Image-processing unit
JP2952023B2 (en) Color image processing equipment
JPH0575846A (en) Picture processor
JPH10294878A (en) Image processor
JP2960899B2 (en) Color image forming equipment
JP3507097B2 (en) Image processing apparatus and image processing method
JP2006211052A (en) Image processor, image processing method, and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060411

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060612

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20061003