JP2004215242A - Data processor, image processor, and image forming apparatus - Google Patents

Data processor, image processor, and image forming apparatus Download PDF

Info

Publication number
JP2004215242A
JP2004215242A JP2003417919A JP2003417919A JP2004215242A JP 2004215242 A JP2004215242 A JP 2004215242A JP 2003417919 A JP2003417919 A JP 2003417919A JP 2003417919 A JP2003417919 A JP 2003417919A JP 2004215242 A JP2004215242 A JP 2004215242A
Authority
JP
Japan
Prior art keywords
data
register
image
attribute
conversion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003417919A
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 JP2003417919A priority Critical patent/JP2004215242A/en
Publication of JP2004215242A publication Critical patent/JP2004215242A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To facilitate the setting of gamma conversion characteristics corresponding to attributes and to reduce the volume of data or the memory capacity prepared for data conversion even when conversion target image data of different attributes coexist. <P>SOLUTION: An element PE (processing element) of an array 144 is equipped with an attribute register R4 in addition to input/output registers R0, R5 and characteristic registers R1 to R3. Computing elements (151 to 155) of the PE select x<SB>i</SB>, y<SB>i</SB>, a<SB>i</SB>addressed to attribute data held in the attribute register among conversion characteristic regulation data addressed to respective attribute data supplied by a processor 148, hold the selected data in the characteristic registers, and, according to a conversion expression imparted by the processor 148 and x<SB>i</SB>, y<SB>i</SB>, a<SB>i</SB>held in the characteristic registers, convert image data (x) in the input registers into output data (y). The processor 148 controls write of raster image data (x) to the PE, successive sending of conversion characteristic regulation data addressed to the respective attribute data, an instruction of the conversion expression and output of the converted data (y). <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は、データ処理装置に関し、例えば、これに限定する意図ではないが、原稿スキャナやデジタルカメラの撮像データを、撮像機器の撮像特性による撮像ひずみを補正もしくは希望の画像表現に変更する読取ガンマ変換,CG(Computer Graphics )における画像の明るさ,コントラストあるいは色の変更、もしくは、撮像データ又はCGデータをプリンタの画像表現特性に整合する記録出力用の画像データに変換もしくは希望の画像表現に変更するプリンタガンマ変換、に利用することができる。   The present invention relates to a data processing apparatus, for example, but not limited to, a reading gamma that corrects imaging distortion due to imaging characteristics of an imaging device or changes an imaging data of a document scanner or a digital camera to a desired image expression. Conversion, change of image brightness, contrast or color in CG (Computer Graphics), or conversion of image data or CG data to image data for recording output that matches the image expression characteristics of printer or change to desired image expression Printer gamma conversion.

例えば、従来のガンマ補正は入力濃度に対応した出力濃度をすべての濃度範囲に対して外部メモリで所有し、入力濃度アドレスに対して、出力濃度データを読み出していた。この場合メモリデータ量を多く必要となる。またガンマカーブの変更に柔軟性が欠けていた。   For example, in the conventional gamma correction, the output density corresponding to the input density is held in the external memory for the entire density range, and the output density data is read for the input density address. In this case, a large amount of memory data is required. Also, changing the gamma curve lacked flexibility.

特開平8−18826号公報は、映像信号を表示装置の表示特性(ガンマ曲線)に合わせて補正するガンマ変換に、LUT(Look Up Table:ルックアップテーブル)の代りに曲線の折線近似を用いて、折線近似計算により補正した画像データを得る、リアルタイムでガンマ特性を変えることができる、デジタルガンマ変換回路を提示している。Japanese Patent Application Laid-Open No. 8-18826 discloses a gamma conversion for correcting a video signal in accordance with a display characteristic (gamma curve) of a display device by using a broken line approximation of a curve instead of a LUT (Look Up Table). And a digital gamma conversion circuit capable of obtaining image data corrected by a polygonal line approximation calculation and changing a gamma characteristic in real time.

特開平10−145806号公報は、複数組のガンマ変換データをLUTに持って、それからの読み出しアドレス操作により、LUTのどの組にもないガンマ変換データの組を生成してRAMに書込み、このRAMを用いてガンマ変換を実行する、ガンマ変換の変更或は調整を開示している。Japanese Unexamined Patent Publication No. Hei 10-145806 discloses a method in which a plurality of sets of gamma conversion data are stored in an LUT, and a read address operation is performed on the LUT to generate a set of gamma conversion data that does not exist in any set of the LUT and write the set to a RAM. Discloses changing or adjusting the gamma conversion by performing the gamma conversion using.

特開2000−184236号公報は、ガンマ変換特性を折線で近似し、入力ビデオデータV0を、Vc=a・V0+bなる一次関数式にしたがって出力データVcにガンマ変換するガンマ変換回路を開示している。Japanese Patent Laying-Open No. 2000-184236 discloses a gamma conversion circuit that approximates the gamma conversion characteristic by a broken line and gamma-converts input video data V0 into output data Vc according to a linear function equation of Vc = a · V0 + b. .

RGB画像データの補正(たとえばスキャナガンマ変換すなわち読取りガンマ変換),RGBからYMCKへの色変換,YMCK画像データの補正(例えばプリンタガンマ変換)等があるが、補正特性あるいは変換特性の切換え或は調整ができることが望まれる。これを満たすために複数の処理モードの中から1つを選択するようにすると、該複数分の処理用データを準備しなければならず、これが更に処理用データ量を増やすことになる。例えば読取りガンマ変換の場合はRGB各色宛1つ、合計3個のガンマ変換用LUTを用い、プリンタガンマ変換の場合は、YMCK各色宛1つ、合計4個のガンマ変換用LUTを用いるが、特性選択用に各色に複数aのLUTを準備すれば、LUT群のデータ量が4×a倍になる。   There are correction of RGB image data (for example, scanner gamma conversion, that is, reading gamma conversion), color conversion from RGB to YMCK, correction of YMCK image data (for example, printer gamma conversion), and switching or adjustment of correction characteristics or conversion characteristics. It is hoped that it can be done. If one of a plurality of processing modes is selected in order to satisfy this, the plurality of processing data must be prepared, which further increases the amount of processing data. For example, in the case of reading gamma conversion, a total of three gamma conversion LUTs, one for each of the RGB colors, are used. For the printer gamma conversion, a total of four gamma conversion LUTs, one for each of the YMCK colors, are used. If a plurality of LUTs are prepared for each color for selection, the data amount of the LUT group becomes 4 × a times.

特開2000−333003号公報は、原稿をスキャナで読み取って得る画像データに基づいて、画像データが表わす画像が文字か写真かの属性を検出して、検出した属性に対応して、文字画像を鮮明に表現する文字用フィルタ処理又は写真の階調を滑らかに表現する写真用フィルタ処理を加え、次いで、文字用ガンマ変換テーブル又は写真用ガンマ変換テーブルを用いてガンマ変換し、更に、文字用誤差拡散処理又は写真用パルス幅変調によってプリンタ出力用の画信号に変換する画像形成装置を開示している。Japanese Patent Application Laid-Open No. 2000-33003 detects an attribute indicating whether an image represented by image data is a character or a photograph based on image data obtained by reading an original with a scanner, and converts a character image in accordance with the detected attribute. A filter processing for characters that expresses clearly or a filter processing for photographs that smoothly expresses the gradation of photographs is added, and then gamma conversion is performed using a gamma conversion table for characters or a gamma conversion table for photographs. An image forming apparatus that converts an image signal to a printer output image signal by diffusion processing or photographic pulse width modulation is disclosed.

本出願人は、ガンマ変換のために準備するデータ量あるいはメモリ容量を少なくし、しかも、ガンマ変換特性の変更を容易にするために、多数のプロセッシングエレメント(PE)を持つ、並列処理可能なDSP(Digital Signal Processor )であるSIMD(Single Instruction stream Multi-Data stream )プロセッサを用いて、同一ラスタ上の多数の画像データを、それぞれ直線近似式を用いる演算によって、同時にガンマ変換する処理装置を特願2001−294097にて提示した。この先願は、本願の原出願日の前の出願であるが、原出願日より後に、特開2003−110853号公報にて公開された。   In order to reduce the amount of data or memory capacity prepared for gamma conversion, and to facilitate the change of gamma conversion characteristics, the applicant has a DSP capable of parallel processing and having a large number of processing elements (PE). Using a SIMD (Single Instruction Stream Multi-Data stream) processor (Digital Signal Processor), a processing device that simultaneously performs gamma conversion on a large number of image data on the same raster by calculation using linear approximation formulas Presented in 2001-294097. This prior application was filed before the original filing date of the present application, but was published in JP-A-2003-110853 after the original filing date.

ところで、数種のデータ変換特性を準備して、指定されたデータ変換特性の変換を行う場合、変換対象データに属性データを付加して、属性データによってデータ変換特性を選択するのが好ましい(例えば特許文献4)。例えば、スキャナ読取画像データのガンマ変換(スキャナガンマ変換)やプリント出力するプリンタの画像表現特性に合せるプリンタガンマ変換では、文字,線画(2値画像)と写真(網点画像)という画像の属性に対応して、2値画像ではコントラストを強調するガンマ変換特性を選択し、網点画像では濃度変化を滑らかにするガンマ変換特性を選択する。これに適合するように各特性を満たす複数種のガンマ変換用LUTをメモリ上に展開しておくと、メモリ容量が膨大になる。従って、属性データに従って変換特性を切替える場合でも、SIMD(Single Instruction stream Multi-Data stream )プロセッサを用いて、同一ラスタ上の多数の画像データを、それぞれ直線近似式を用いる演算によって、同時にガンマ変換する変換方法を用いて、所要データ量を低減するのが望ましい。   By the way, when preparing several types of data conversion characteristics and performing conversion of the specified data conversion characteristics, it is preferable to add attribute data to the data to be converted and select the data conversion characteristics based on the attribute data (for example, Patent Document 4). For example, in gamma conversion of scanner-read image data (scanner gamma conversion) or printer gamma conversion that matches the image expression characteristics of a printer that prints out, the attributes of images such as characters, line drawings (binary images), and photographs (dot images) are used. Correspondingly, the gamma conversion characteristic for enhancing the contrast is selected for the binary image, and the gamma conversion characteristic for smoothing the density change is selected for the halftone image. If a plurality of types of LUTs for gamma conversion satisfying each characteristic are developed on a memory so as to conform to this, the memory capacity becomes enormous. Therefore, even when the conversion characteristics are switched according to the attribute data, a large number of image data on the same raster are simultaneously gamma-converted by a calculation using a linear approximation formula using a SIMD (Single Instruction Stream Multi-Data stream) processor. It is desirable to use a conversion method to reduce the required data volume.

本発明は、属性が異なる変換対象データが混在する場合でも、属性対応の変換特性の設定を簡易にすることを第1の目的とし、データ変換のために準備するデータ量あるいはメモリ容量を少なくすることを第2の目的とする。   The first object of the present invention is to simplify the setting of conversion characteristics corresponding to attributes even when data to be converted having different attributes are mixed, and to reduce the amount of data or memory capacity prepared for data conversion. This is a second object.

(1)データ処理の特性を、画像データの属性ごとに規定する特性規定データを保持するデータメモリ(146);
それぞれが、一連の処理対象データの各データの各属性宛ての特性規定データを前記データメモリ(146)の特性規定データの中から選択し、選択した特性規定データに従って各データを処理する、複数のプロセッシングエレメント(PE);および、
前記プロセッシングエレメント(PE)の前記データ処理を制御する処理用制御データを保持して該処理用制御データに基づく演算指示を各プロセッシングエレメント(PE)に共通に与え、各プロセッシングエレメント(PE)に対する、一連の処理対象データのそれぞれの分配および前記データメモリ(146)上の各属性データ宛ての処理特性規定データの送出、ならびに、各プロセッシングエレメント(PE)からの処理後データの出力、を制御する処理制御手段(148);
を備えるデータ処理装置。
(1) a data memory (146) for holding characteristic defining data for defining characteristics of data processing for each attribute of image data;
Each of the plurality of processing units selects characteristic defining data addressed to each attribute of each data of the series of processing target data from the characteristic defining data of the data memory (146), and processes each data according to the selected characteristic defining data. A processing element (PE); and
The processing element (PE) holds processing control data for controlling the data processing of the processing element (PE) and gives an operation instruction based on the processing control data to each processing element (PE) in common. Processing for controlling distribution of a series of processing target data, transmission of processing characteristic definition data addressed to each attribute data on the data memory (146), and output of processed data from each processing element (PE) Control means (148);
A data processing device comprising:

なお、理解を容易にするためにカッコ内には、図面に示し後述する実施例の対応要素または対応事項の符号を、例示として参考までに付記した。以下も同様である。   In addition, in order to facilitate understanding, in the parentheses, reference numerals of corresponding elements or corresponding items of the embodiment shown in the drawings and described below are added for reference as examples. The same applies to the following.

これによれば、処理制御手段(148)が、データメモリ(146)上の各属性データ宛ての処理特性規定データを順次に各プロセッシングエレメント(PE)に同時に送出する制御のみを行うことによって、属性が異なる処理対象データが混在する場合でも、各属性対応のデータ処理が実現する。処理制御手段(148)および各プロセッシングエレメント(PE)による、属性対応の処理特性の設定が簡易である。また、データメモリ(146)上には、各属性データ宛ての特性規定データを準備すればよく、これらのデータ量はLUTの場合よりも格段に少ないので、データ変換のために準備するデータ量およびメモリ容量は、LUTを用いる場合よりも各段に少なくなる。   According to this, the processing control means (148) performs only the control of sequentially transmitting the processing characteristic defining data addressed to each attribute data on the data memory (146) to each processing element (PE) at the same time. However, even when data to be processed that differ from each other is present, data processing corresponding to each attribute is realized. The setting of the attribute-specific processing characteristics by the processing control means (148) and each processing element (PE) is simple. In addition, it is sufficient to prepare characteristic specification data addressed to each attribute data in the data memory (146). Since the data amount is much smaller than that of the LUT, the data amount prepared for data conversion and The memory capacity becomes smaller in each stage than when the LUT is used.

(2)前記処理制御手段(148)は、前記プロセッシングエレメント(PE)の前記データ処理を制御する処理用制御データを保持して各プロセッシングエレメント(PE)に共通に与えるグローバルレジスタ(149);および、各プロセッシングエレメント(PE)に対する、一連の処理対象データのそれぞれの分配および前記データメモリ(146)上の各属性データ宛ての処理特性規定データの送出,前記処理用制御データに基づく演算指示の各プロセッシングエレメント(PE)への共通付与、ならびに、各プロセッシングエレメント(PE)からの処理後データの出力、を制御するプロセッサ(148);を含む、上記(1)に記載のデータ処理装置。   (2) The processing control means (148) is a global register (149) which holds processing control data for controlling the data processing of the processing element (PE) and gives the control data in common to each processing element (PE); , Distribution of a series of data to be processed to each processing element (PE), transmission of processing characteristic definition data addressed to each attribute data on the data memory (146), and calculation instruction based on the processing control data. The data processing device according to (1), further including a processor (148) for controlling common assignment to the processing elements (PE) and output of processed data from each processing element (PE).

(3)前記プロセッサ(148)が上記制御をするために実行する処理プログラムを保持するプログラムメモリ(145);を更に備える上記(2)に記載のデータ処理装置。   (3) The data processing device according to (2), further including: a program memory (145) for holding a processing program executed by the processor (148) to perform the control.

(4)各プロセッシングエレメント(PE)は、処理対象データを保持するための入力データレジスタ,前記特性規定データを保持するための特性レジスタ,処理対象データの属性データを保持するための属性レジスタ,処理して得た処理後データを保持するための出力データレジスタ、および、与えられる各属性データ宛ての特性規定データの中の、属性レジスタに保持する属性データに宛てられた特性規定データを選択して特性レジスタに保持し、前記プロセッサ(148)が与える前記処理用制御データに基づく演算指示と前記特性レジスタが保持する特性規定データに従って前記入力データレジスタの処理対象データを処理する演算器、を含む;上記(2)に記載のデータ処理装置。   (4) Each processing element (PE) includes an input data register for holding data to be processed, a property register for holding the characteristic defining data, an attribute register for holding attribute data of the data to be processed, An output data register for holding the processed data obtained as a result, and a characteristic definition data addressed to the attribute data held in the attribute register among the characteristic definition data destined for each given attribute data are selected. An arithmetic unit for processing the data to be processed in the input data register in accordance with a calculation instruction based on the processing control data provided by the processor (148) and stored in the characteristic register, and a characteristic definition data stored in the characteristic register; The data processing device according to the above (2).

(5)前記プロセッサは、各プロセッシングエレメント(PE)の、各入力データレジスタに対する一連の処理対象データのそれぞれの書込み,各特性レジスタに対する前記データメモリ上の各属性データ宛ての特性規定データの送出,前記グローバルレジスタに対する前記処理用制御データの書込み、および、各出力データレジスタからの処理後データの出力、を制御する;上記(4)に記載のデータ処理装置。   (5) The processor writes each series of data to be processed to each input data register of each processing element (PE), sends characteristic specification data addressed to each attribute data on the data memory to each characteristic register, The data processing device according to (4), wherein writing of the processing control data to the global register and output of processed data from each output data register are controlled;

これによれば、プロセッサ(148)が、各特性レジスタ(R1〜R3)に対するデータメモリ(146)上の各属性データ宛ての変換特性規定データの送出をしているときに、演算器(151〜155)が、属性レジスタ(R4)に保持する属性データに宛てられた変換特性規定データを選択して特性レジスタ(R1〜R3)に保持する。そして演算器(151〜155)が、変換用制御データに基づく演算指示と特性レジスタ(R1〜R3)が保持する変換特性規定データに従って入力データレジスタ(R0)の変換対象データ(x)を、変換後データ(y)に変換する。   According to this, when the processor (148) sends out the conversion characteristic defining data addressed to each attribute data on the data memory (146) to each of the characteristic registers (R1 to R3), the operation units (151 to 151) are output. 155) selects the conversion characteristic defining data addressed to the attribute data stored in the attribute register (R4) and stores the selected data in the characteristic registers (R1 to R3). The operation units (151 to 155) convert the conversion target data (x) of the input data register (R0) according to the operation instruction based on the control data for conversion and the conversion characteristic defining data held by the characteristic registers (R1 to R3). It is converted into post-data (y).

このように、プロセッサ(148)は、データメモリ(146)上の各属性データ宛ての変換特性規定データ順次に各特性レジスタ(R1〜R3)に同時に送出する制御のみを行うことによって、属性が異なる変換対象データが混在する場合でも、各属性対応のデータ変換が実現する。プロセッサ(148)および演算器(151〜155)による、属性対応の変換特性の設定が簡易である。また、データメモリ(146)上には、各属性データ宛ての変換特性規定データを準備すればよく、これらのデータ量はLUTの場合よりも格段に少ないので、データ変換のために準備するデータ量およびメモリ容量は、LUTを用いる場合よりも各段に少くなる。   As described above, the processor (148) performs only the control of sequentially transmitting the conversion characteristic defining data addressed to the respective attribute data on the data memory (146) to the respective characteristic registers (R1 to R3) simultaneously, so that the attributes are different. Even when data to be converted is mixed, data conversion corresponding to each attribute is realized. Setting of conversion characteristics corresponding to attributes by the processor (148) and the computing units (151 to 155) is easy. Further, conversion characteristic defining data destined for each attribute data may be prepared on the data memory (146). Since the data amount is much smaller than that of the LUT, the data amount prepared for data conversion is reduced. In addition, the memory capacity becomes smaller in each stage than when an LUT is used.

(6)前記プロセッサ(148)は、前記入力データレジスタ(R0)に書込んだデータに対して、各属性データ宛ての特性規定データを順次に前記データメモリから前記特性レジスタに送出する制御をしてから、処理用制御データに基づく演算指示を各演算器(151〜155)に与えて、各演算器が各出力データレジスタに書込んだ変換後データを出力し;
各演算器は、その属性レジスタに保持する属性データに宛てられた特性規定データを前記プロセッサが前記データメモリから送出しているときに、該特性規定データを特性レジスタに取込み、前記演算指示に従ったデータ処理を、特性レジスタに取込んだ特性規定データを用いておこなう;上記(5)に記載のデータ処理装置。
(6) The processor (148) controls, in response to the data written in the input data register (R0), to sequentially transmit characteristic definition data addressed to each attribute data from the data memory to the characteristic register. After that, an arithmetic instruction based on the control data for processing is given to each of the arithmetic units (151 to 155), and each arithmetic unit outputs the converted data written in each output data register;
Each of the arithmetic units fetches the characteristic definition data into the characteristic register when the processor sends the characteristic specification data addressed to the attribute data held in the attribute register from the data memory, and follows the operation instruction. Performing the data processing using the characteristic definition data taken into the characteristic register; the data processing device according to the above (5).

これによれば、プロセッサ(148)は各属性データ宛ての特性規定データを順次に前記データメモリ(146)から前記特性レジスタ(R1〜R3)に送出する単純な読み出し制御をすればよい。各演算器(151〜155)は自己に宛てられた属性レジスタに保持する属性データに宛てられた特性規定データの読み出しタイミングのときのみ、自己に宛てられた特性レジスタを書込みに設定すればよく、各画像データを処理する各プロセッシングエレメント(PE)に対する処理特性規定データの設定を簡易にできる。   According to this, the processor (148) may perform a simple read control of sequentially transmitting the characteristic definition data addressed to each attribute data from the data memory (146) to the characteristic registers (R1 to R3). Each of the operation units (151 to 155) may set the characteristic register addressed to itself to write only at the read timing of the characteristic definition data addressed to the attribute data held in the attribute register addressed to itself. The setting of the processing characteristic defining data for each processing element (PE) that processes each image data can be simplified.

(7)各属性データ宛ての各変換特性規定データは、データ入力範囲をn分割した各分割位置の入力データ(x)とその処理済データ(y)および各分割区間の処理係数(a)を含み;
前記プロセッサ(148)は、前記各属性データ宛ての特性規定データの送出において、各属性データに宛てられた各分割位置の入力データ(x)とその処理済データ(y)および各分割区間の処理係数(a)を分割区間の順番で順次に前記データメモリ(146)から前記特性レジスタ(R1〜R3)に送出する制御をし;
各演算器は、その属性レジスタに保持する属性データに宛てられた特性規定データの中の、入力データレジスタに書込んだデータ(x)が属する分割区間に宛てられた分割位置入力データ(x)とその処理済データ(y)および処理係数(a)を前記プロセッサが前記データメモリ(146)から送出しているときに、特性レジスタに取込み、入力データレジスタに書込んだデータ(x)の前記演算指示に従った変換(y=int{a(x−x)+y})を、特性レジスタに取込んだ分割位置入力データ(x)とその処理済データ(y)および処理係数(a)を用いておこなう;上記(6)に記載のデータ処理装置(IPP)。
(7) The conversion characteristic defining data addressed to each attribute data includes input data (x i ) at each division position obtained by dividing the data input range into n, processed data (y i ), and a processing coefficient (a) of each division section. i );
The processor (148) transmits the input data (x i ) at each division position addressed to each attribute data, the processed data (y i ), and each divided section in the transmission of the characteristic definition data addressed to each attribute data. In order to sequentially transmit the processing coefficients (a i ) from the data memory (146) to the characteristic registers (R1 to R3) in the order of the divided sections.
Each of the arithmetic units is configured to input the division position input data (x i ) addressed to the division section to which the data (x) written in the input data register belongs in the characteristic definition data addressed to the attribute data held in the attribute register. ) And the processed data (y i ) and the processing coefficient (a i ) are taken into the characteristic register when the processor is sending out from the data memory (146), and the data (x the arithmetic instruction conversion according to the) (y = int {a i (x-x i) + y i}) and divided position input data's ipecac the characteristic register (x i) and the processed data (y i ) And the processing coefficient (a i ); the data processing device (IPP) described in (6) above.

これは、入力データ対出力データの関係すなわちデータ処理特性が曲線など、非線形の場合の折線直線近似の態様である。この態様では、分割数を多くするほど近似精度が高い。分割数が多くなると、分割位置入力データ(x),その処理済データ(y)および処理係数(a)のデータ組数が増大するが、1区間に対して処理特性規定データのデータ数は3(xi,i,)であるので、例えば変換データが8ビットの場合、単純には1LUTで256バイトが必要であるので、256/3=85(略)未満の分割数にすると、データ量および所要メモリ容量の低減ができる。属性数が増えるほど、この低減効果が高くなる。 This is a form of linear broken line approximation when the relationship between input data and output data, that is, the data processing characteristic is non-linear such as a curve. In this embodiment, the approximation accuracy increases as the number of divisions increases. When the number of divisions increases, the number of data sets of the division position input data (x i ), the processed data (y i ), and the processing coefficient (a i ) increases. Since the number is 3 (xi , yi, ai ), for example, when the conversion data is 8 bits, 256 bytes are required for one LUT simply, so that a division less than 256/3 = 85 (approximately) When the number is set, the data amount and the required memory capacity can be reduced. This reduction effect increases as the number of attributes increases.

(8)処理対象データは画像データであり;
グローバルレジスタ(149)は、前記プロセッシングエレメント(PE)が画像データの属性データを生成するデータ処理を制御する属性検出用制御データを保持して該属性検出用制御データに基づく演算指示を各プロセッシングエレメント(PE)に共通に与え;
前記演算器は、与えられた該演算指示と入力データレジスタの画像データおよび該画像データが宛てられる画素の近隣の画素の画像データに従って入力データレジスタの画像データの属性データを生成して属性レジスタに保持する;上記(4)に記載のデータ処理装置。
(8) Data to be processed is image data;
The global register (149) holds control data for attribute detection that controls the data processing in which the processing element (PE) generates the attribute data of the image data, and issues an operation instruction based on the control data for attribute detection to each processing element. (PE) shared;
The arithmetic unit generates attribute data of the image data of the input data register according to the given operation instruction, the image data of the input data register, and the image data of the pixel adjacent to the pixel to which the image data is addressed, and generates the attribute data in the attribute register. Hold; the data processing apparatus according to the above (4).

これによれば、画像データの前記画像処理の直前に、処理対象画像データそれぞれの属性を検出して、属性レジスタに保持することができる。前記画像処理の前に、属性検出を効率よく実施できる。   According to this, the attribute of each image data to be processed can be detected and held in the attribute register immediately before the image processing of the image data. Before the image processing, attribute detection can be efficiently performed.

(9)データ処理の特性を、データの属性ごとに規定する特性規定データを保持するデータメモリ(146);
変換制御プログラムを保持するグローバルレジスタ(149);
変換対象データを保持するための入力データレジスタ(R0),変換特性規定データを保持するための特性レジスタ(R1〜R3),変換対象データの属性データを保持するための属性レジスタ(R4),変換した変換後データを保持するための出力データレジスタ(R5)、および、前記データメモリ(146)の各属性データに対応する変換特性規定データの中の、属性レジスタに保持する属性データに対応した変換特性規定データを選択して特性レジスタに保持して、前記グローバルレジスタ(149)が保持する変換制御プログラムに基づく演算指示と前記特性レジスタが保持する変換特性規定データに従って、前記入力データレジスタの変換対象データを変換する演算器(151〜155)、を含むプロセッシングエレメント(PE)、の複数でなるプロセッサアレイ(144);
前記プロセッサアレイの各入力データレジスタに対する一連の変換対象データのそれぞれの書込み,各特性レジスタに対する前記データメモリ上の各属性データに対応した変換特性規定データの送出,前記プロセッサアレイの各演算器に対する前記グローバルレジスタの変換制御プログラムに基づく演算指示の共通付与、および、各出力レジスタからの変換後データの出力、を制御するグローバルプロセッサ(148);および、
該グローバルプロセッサが上記制御を実行するグローバル制御プログラムを保持するプログラムメモリ(145);
を備えるデータ処理装置。
(9) a data memory (146) for holding characteristic definition data for defining data processing characteristics for each data attribute;
A global register (149) for holding a conversion control program;
An input data register (R0) for holding data to be converted, a characteristic register (R1 to R3) for holding conversion characteristic defining data, an attribute register (R4) for holding attribute data of the data to be converted, An output data register (R5) for holding the converted data, and a conversion corresponding to the attribute data held in the attribute register among the conversion characteristic defining data corresponding to each attribute data in the data memory (146). The characteristic defining data is selected and held in the characteristic register, and the conversion target of the input data register is converted in accordance with an operation instruction based on the conversion control program held in the global register (149) and the conversion characteristic defining data held in the characteristic register. A processing element (P) including a computing unit (151 to 155) for converting data; ), The processor array (144 consisting of a plurality of);
A series of conversion target data is written to each input data register of the processor array, conversion characteristic definition data corresponding to each attribute data on the data memory is sent to each characteristic register, and the conversion characteristic defining data is sent to each arithmetic unit of the processor array. A global processor (148) for controlling common assignment of an operation instruction based on a conversion control program of the global register and output of converted data from each output register;
A program memory (145) for holding a global control program for executing the control by the global processor;
A data processing device comprising:

これによれば、グローバルプロセッサ(148)が、各特性レジスタ(R1〜R3)に対するデータメモリ(146)上の各属性データ宛ての変換特性規定データの送出をしているときに、演算器(151〜155)が、属性レジスタ(R4)に保持する属性データに宛てられた変換特性規定データを選択して特性レジスタ(R1〜R3)に保持する。そして演算器(151〜155)が、変換用制御プログラムに基づく演算指示と特性レジスタ(R1〜R3)が保持する変換特性規定データに従って入力データレジスタ(R0)の変換対象データ(x)を、変換後データ(y)に変換する。グローバルプロセッサ(148)は、データメモリ(146)上の各属性データ宛ての変換特性規定データ順次に各特性レジスタ(R1〜R3)に同時に送出する制御のみを行うことによって、属性が異なる変換対象データが混在する場合でも、各属性対応のデータ変換を実現する。グローバルプロセッサ(148)および演算器(151〜155)による、属性対応の変換特性の設定が簡易である。また、データメモリ(146)上には、各属性データ宛ての変換特性規定データを準備すればよく、これらのデータ量はLUTの場合よりも格段に少ないので、データ変換のために準備するデータ量およびメモリ容量は、LUTを用いる場合よりも各段に少くなる。   According to this, when the global processor (148) is sending conversion characteristic definition data addressed to each attribute data on the data memory (146) to each characteristic register (R1 to R3), the arithmetic unit (151) To 155) select the conversion characteristic defining data addressed to the attribute data held in the attribute register (R4) and hold it in the characteristic registers (R1 to R3). The operation units (151 to 155) convert the conversion target data (x) of the input data register (R0) in accordance with the operation instruction based on the conversion control program and the conversion characteristic definition data held in the characteristic registers (R1 to R3). It is converted into post-data (y). The global processor (148) performs only control to simultaneously transmit the conversion characteristic definition data addressed to each attribute data on the data memory (146) to the respective characteristic registers (R1 to R3) simultaneously, so that the conversion target data having different attributes are changed. Even if there is a mixture of data, data conversion corresponding to each attribute is realized. Setting of conversion characteristics corresponding to attributes by the global processor (148) and the operation units (151 to 155) is easy. Further, conversion characteristic defining data destined for each attribute data may be prepared on the data memory (146). Since the data amount is much smaller than that of the LUT, the data amount prepared for data conversion is reduced. In addition, the memory capacity becomes smaller in each stage than when an LUT is used.

(10)画像データのガンマ変換特性を画像データの属性ごとに規定する変換特性規定データを保持するデータメモリ(146);
変換対象の画像データを保持するための入力データレジスタ(R0),前記データメモリ(146)から読み出した変換特性規定データを保持するための特性レジスタ(R1〜R3),画像データが表わす画像の特性を表わす属性データを保持するための属性レジスタ(R4),変換した変換後データ(y)を保持するための出力データレジスタ(R5)、および、入力データレジスタ(R0)の画像データおよび該画像データが宛てられる画素の近隣の画素の画像データに従って入力データレジスタ(R0)の画像データの属性データを生成して属性レジスタ(R4)に保持し、前記特性レジスタ(R1〜R3)が保持する変換特性規定データに従って前記入力データレジスタ(R0)の変換対象データ(画像データ)をガンマ変換する演算器(151〜155)、を含むプロセッシングエレメント(PE)、の複数でなるプロセッサアレイ(144);
前記演算器(151〜155)の前記属性データの生成を制御する属性検出用制御データおよび前記演算器(151〜155)の前記ガンマ変換を制御する変換用制御データを保持して前記プロセッサアレイ(144)の各演算器に共通に与えるためのグローバルレジスタ(149);
前記プロセッサアレイ(144)の各入力データレジスタ(R0)に対する同一ラスタの画像データのそれぞれの書込み,前記グローバルレジスタ(149)に対する前記属性検出用制御データおよび前記変換用制御データの書込み,前記演算器に対する前記属性検出用制御データに基づく演算指示,各特性レジスタ(R1〜R3)に対する前記データメモリ上の各属性データ宛ての変換特性規定データの送出,前記演算器に対する前記変換用制御データに基づく演算指示、および、各出力データレジスタ(R5)からの変換後データの出力、を制御するプロセッサ(148);および
該プロセッサが上記制御をするために実行する変換プログラムを保持するプログラムメモリ(145);
を備える画像データ処理装置(IPP)。
(10) a data memory (146) for holding conversion characteristic defining data for defining gamma conversion characteristics of image data for each attribute of image data;
An input data register (R0) for holding image data to be converted, a property register (R1 to R3) for holding conversion characteristic defining data read from the data memory (146), and characteristics of an image represented by the image data Register (R4) for holding attribute data representing the following, output data register (R5) for holding converted converted data (y), image data of input data register (R0) and the image data The attribute data of the image data of the input data register (R0) is generated in accordance with the image data of the pixel in the vicinity of the pixel to which the pixel is addressed, and the attribute data is stored in the attribute register (R4). Gamma conversion of the conversion target data (image data) of the input data register (R0) in accordance with prescribed data Vessel (151-155), processing elements (PE), comprising a plurality of processor array comprising a (144);
The processor array holds attribute control data for controlling the generation of the attribute data of the arithmetic units (151 to 155) and control data for conversion for controlling the gamma conversion of the arithmetic units (151 to 155). 144) a global register (149) to be commonly provided to each arithmetic unit;
Writing of the same raster image data to each input data register (R0) of the processor array (144); writing of the attribute detection control data and the conversion control data to the global register (149); , An operation instruction based on the control data for attribute detection, transmission of conversion characteristic definition data addressed to each attribute data in the data memory to each of the characteristic registers (R1 to R3), and an operation based on the control data for conversion for the arithmetic unit A processor (148) that controls instructions and output of converted data from each output data register (R5); and a program memory (145) that stores a conversion program executed by the processor to perform the above control.
An image data processing device (IPP) comprising:

これによれば、上記(5)の作用効果に加えて、1ラスタの画像データのガンマ変換の直前に、該1ラスタの画像データそれぞれの属性が検出されるので、ガンマ変換処理の前での画像データ処理を簡略にすることができる。   According to this, in addition to the operation and effect of the above (5), the attribute of each image data of one raster is detected immediately before the gamma conversion of the image data of one raster. Image data processing can be simplified.

(11)前記プロセッサ(148)は、前記入力データレジスタに書込んだデータ(x)に対して、各属性データ宛ての変換特性規定データを順次に前記データメモリ(146)から前記特性レジスタ(R1〜R3)に送出する制御をしてから、変換用制御データに基づく演算指示を各演算器(151〜155)に与え、各演算器が各出力データレジスタ(R5)に書込んだ変換後データを出力し;
各演算器は、その属性レジスタに保持する属性データに宛てられた変換特性規定データを前記プロセッサが前記データメモリ(146)から送出しているときに、該変換特性規定データを特性レジスタに取込み、前記演算指示に従った変換を特性レジスタに取込んだ変換特性規定データを用いておこなう;
上記(10)に記載の画像データ処理装置(IPP)。
(11) The processor (148) sequentially converts the conversion characteristic defining data addressed to each attribute data from the data memory (146) to the characteristic register (R1) with respect to the data (x) written in the input data register. To R3), and then gives an operation instruction based on the control data for conversion to each of the arithmetic units (151 to 155), and the converted data written to each output data register (R5) by each of the arithmetic units. Output;
Each of the arithmetic units fetches the conversion characteristic defining data into the characteristic register when the processor sends the conversion characteristic defining data addressed to the attribute data held in the attribute register from the data memory (146), The conversion according to the operation instruction is performed using the conversion characteristic definition data taken into the characteristic register;
The image data processing device (IPP) according to the above (10).

これによれば、プロセッサ(148)は各属性データ宛ての変換特性規定データを順次に前記データメモリ(146)から前記特性レジスタ(R1〜R3)に送出する単純な読み出し制御をすればよい。各演算器(151〜155)は自己に宛てられた属性レジスタに保持する属性データに宛てられた変換特性規定データの読み出しタイミングのときのみ、自己に宛てられた特性レジスタを書込みに設定すればよく、各データを変換する各プロセッシングエレメント(PE)に対する変換特性規定データの設定を簡易にできる。   According to this, the processor (148) may perform a simple read control for sequentially transmitting the conversion characteristic defining data addressed to each attribute data from the data memory (146) to the characteristic registers (R1 to R3). Each of the arithmetic units (151 to 155) may set the characteristic register addressed to itself to write only at the read timing of the conversion characteristic defining data addressed to the attribute data held in the attribute register addressed to itself. The setting of the conversion characteristic defining data for each processing element (PE) that converts each data can be simplified.

(12)各属性データ宛ての各変換特性規定データは、変換入力範囲をn分割した各分割位置の入力データ(x)とその変換済データ(y)および各分割区間の変換係数(a)を含み;
前記プロセッサ(148)は、前記各属性データ宛ての変換特性規定データの送出において、各属性データに宛てられた各分割位置の入力データ(x)とその変換済データ(y)および各分割区間の変換係数(a)を分割区間の順番で順次に前記データメモリ(146)から前記特性レジスタ(R1〜R3)に送出する制御をし;
各演算器は、その属性レジスタに保持する属性データに宛てられた変換特性規定データの中の、入力データレジスタに書込んだデータ(x)が属する分割区間に宛てられた分割位置入力データ(x)とその変換済データ(y)および変換係数(a)を前記プロセッサが前記データメモリ(146)から送出しているときに、特性レジスタに取込み、入力データレジスタに書込んだデータ(x)の前記演算指示に従った変換(y=int{a(x−x)+y})を、特性レジスタに取込んだ分割位置入力データ(x)とその変換済データ(y)および変換係数(a)を用いておこなう;上記(11)に記載の画像データ処理装置(IPP)。
(12) The conversion characteristic defining data addressed to each attribute data includes input data (x i ) at each division position obtained by dividing the conversion input range into n, converted data (y i ), and conversion coefficients (a) of each division section. i );
The processor (148), when sending the conversion characteristic defining data addressed to each attribute data, inputs the input data (x i ) of each division position addressed to each attribute data, its converted data (y i ), and each divided data Controlling to transmit the transform coefficients (a i ) of the section from the data memory (146) to the characteristic registers (R1 to R3) sequentially in the order of the divided sections;
Each of the arithmetic units is configured to output, from among the conversion characteristic defining data addressed to the attribute data held in the attribute register, the division position input data (x) addressed to the divided section to which the data (x) written to the input data register belongs. i ) and its converted data (y i ) and conversion coefficients (a i ) when the processor is sending out from the data memory (146) into the characteristic register and the data written into the input data register ( the arithmetic instruction conversion according to the x) (y = int {a i (x-x i) + y i}) and divided position input data's ipecac the characteristic register (x i) and the converted data (y i ) and the conversion coefficient (a i ); the image data processing device (IPP) according to (11) above.

これは、入力データ対出力データの関係すなわち変換特性が曲線など、非線形の場合の折線直線近似の態様である。この態様では、分割数を多くするほど近似精度が高い。分割数が多くなると、分割位置入力データ(x),その変換済データ(y)および変換係数(a)のデータ組数が増大するが、1区間に対して変換特性規定データのデータ数は3(xi,i,)であるので、例えば変換データが8ビットの場合、単純には1LUTで256バイトが必要であるので、256/3=85(略)未満の分割数にすると、データ量および所要メモリ容量の低減ができる。属性数が増えるほど、この低減効果が高くなる。 This is an aspect of the broken line linear approximation when the relationship between the input data and the output data, that is, the conversion characteristic is nonlinear such as a curve. In this embodiment, the approximation accuracy increases as the number of divisions increases. When the number of divisions increases, the number of data sets of the division position input data (x i ), the converted data (y i ), and the conversion coefficient (a i ) increases. Since the number is 3 (xi , yi, ai ), for example, when the conversion data is 8 bits, 256 bytes are required for one LUT simply, so that a division less than 256/3 = 85 (approximately) When the number is set, the data amount and the required memory capacity can be reduced. This reduction effect increases as the number of attributes increases.

(13)画像データのガンマ変換特性を、データの属性ごとに規定する変換特性規定データを保持するデータメモリ(146);
画像データが表わす画像の特性を表わす属性データの生成を制御する属性検出用制御プログラムおよび画像データのガンマ変換を制御する変換用制御プログラムを保持するためのグローバルレジスタ(149);
変換対象画像データを保持するための入力データレジスタ(R0),変換特性規定データを保持するための特性レジスタ(R1〜R3),変換対象画像データの属性データを保持するための属性レジスタ(R4),変換した変換後画像データを保持するための出力データレジスタ(R5)、および、前記グローバルレジスタが保持する属性検出用制御プログラムに基づく演算指示と入力データレジスタの画像データおよび該画像データが宛てられる画素の近隣の画素の画像データに従って入力データレジスタの画像データの属性データを生成して属性レジスタに保持し、前記データメモリの各属性データに対応する変換特性規定データの中の、属性レジスタに保持する属性データに対応した変換特性規定データを選択して特性レジスタに保持し、前記グローバルレジスタが保持する変換制御プログラムに基づく演算指示と前記特性レジスタが保持する変換特性規定データに従って、前記入力データレジスタの変換対象データをガンマ変換する演算器(151〜155)、を含むプロセッシングエレメント(PE)、の複数でなるプロセッサアレイ(144);
該プロセッサアレイの各入力データレジスタに対する一連の変換対象データのそれぞれの書込み,前記プロセッサアレイの各演算器に対する前記グローバルレジスタの属性検出用制御プログラムに基づく演算指示の共通付与、各特性レジスタに対する前記データメモリ上の各属性データに対応した変換特性規定データの送出,前記プロセッサアレイの各演算器に対する前記グローバルレジスタの変換制御プログラムに基づく演算指示の共通付与、および、各出力レジスタからの変換後データの出力、を制御するグローバルプロセッサ(148);および、
該グローバルプロセッサが上記制御を実行するグローバル制御プログラムを保持するプログラムメモリ(145);
を備える画像データ処理装置。
(13) a data memory (146) for holding conversion characteristic defining data for defining gamma conversion characteristics of image data for each data attribute;
A global register (149) for holding an attribute detection control program for controlling generation of attribute data representing characteristics of an image represented by image data and a conversion control program for controlling gamma conversion of image data;
An input data register (R0) for holding the conversion target image data, a characteristic register (R1 to R3) for holding the conversion characteristic defining data, and an attribute register (R4) for holding the attribute data of the conversion target image data. An output data register (R5) for holding converted image data after conversion, an operation instruction based on an attribute detection control program held by the global register, image data of the input data register, and the image data. Generate attribute data of the image data of the input data register according to the image data of the pixel in the vicinity of the pixel and hold the attribute data in the attribute register, and hold in the attribute register of the conversion characteristic defining data corresponding to each attribute data of the data memory. Selects the conversion characteristic definition data corresponding to the attribute data to be stored and stores it in the characteristic register A processing unit (151 to 155) for gamma-converting the conversion target data of the input data register in accordance with an operation instruction based on a conversion control program held by the global register and conversion characteristic definition data held by the characteristic register. A processor array (144) comprising a plurality of elements (PE);
Writing of a series of data to be converted into each input data register of the processor array, common assignment of an operation instruction based on a control program for detecting the attribute of the global register to each arithmetic unit of the processor array, and data to each characteristic register Transmission of conversion characteristic defining data corresponding to each attribute data on the memory, common assignment of an operation instruction based on the conversion control program of the global register to each operation unit of the processor array, and transmission of converted data from each output register A global processor (148) for controlling the output; and
A program memory (145) for holding a global control program for executing the control by the global processor;
An image data processing device comprising:

これによれば、上記(9)の作用効果に加えて、1ラスタの画像データのガンマ変換の直前に、該1ラスタの画像データそれぞれの属性が検出されるので、ガンマ変換処理の前での画像データ処理を簡略にすることができる。   According to this, in addition to the operation and effect of the above (9), the attribute of each image data of one raster is detected immediately before the gamma conversion of the image data of one raster. Image data processing can be simplified.

(14)撮像した画像を表す撮像画像データを発生する撮像手段(10);および、前記撮像画像データの撮像時のひずみを補正する撮像ガンマ変換(194)を行う、上記(1)乃至(13)のいずれかの画像データ処理装置(IPP);を備える画像処理装置。   (14) Imaging means (10) for generating captured image data representing a captured image; and imaging gamma conversion (194) for correcting distortion during imaging of the captured image data (1) to (13). An image processing device comprising: an image data processing device (IPP);

ここで、撮像手段としては、例えば原稿スキャナおよびデジタルカメラがある。これらの撮像画像データが表わす画像をディスプレイに表示する又はプリンタでプリントアウトする用途では、データ処理装置(IPP)を、ディスプレイの表示特性又はプリンタの画像表現特性に合せて、原画像を忠実に表わすデータ処理特性とする。あるいは、ユーザの調整又は補正操作に従ったデータ処理特性を選択できるものとする。いずれにしても、上記(1)〜(13)に記述した作用効果が得られる。   Here, examples of the imaging means include a document scanner and a digital camera. In an application in which the image represented by the captured image data is displayed on a display or printed out by a printer, a data processing device (IPP) faithfully represents an original image in accordance with the display characteristics of the display or the image expression characteristics of the printer. Data processing characteristics. Alternatively, it is assumed that a data processing characteristic according to a user's adjustment or correction operation can be selected. In any case, the functions and effects described in the above (1) to (13) can be obtained.

(15)画像データを転送するパラレルバス(Pb);画像メモリ(MEM);前記パラレルバス上の画像データを前記画像メモリに書込み、前記画像メモリの画像データを前記パラレルバスに読出す画像メモリ制御手段(IMAC);および、前記撮像手段(10),前記画像データ処理装置(IPP)および前記パラレルバス(Pb)の間の画像データのやりとりを制御する画像データ制御手段(CDIC);を更に備える、上記(14)に記載の画像処理装置。   (15) Parallel bus (Pb) for transferring image data; image memory (MEM); image memory control for writing image data on the parallel bus to the image memory and reading image data from the image memory to the parallel bus Means (IMAC); and image data control means (CDIC) for controlling the exchange of image data between the imaging means (10), the image data processing device (IPP) and the parallel bus (Pb). The image processing apparatus according to (14).

例えば、画像データ制御手段(CDIC)によって撮像手段(10)の出力RGB画像データをデータ処理装置(IPP)に与えてそれが処理した画像データをパラレルバス(Pb)に送出し、画像メモリ制御手段(IMAC)によってパラレルバス(Pb)の画像データを画像メモリ(MEM)に書込むことができる。   For example, the image data control means (CDIC) supplies the output RGB image data of the imaging means (10) to the data processing device (IPP), and sends out the processed image data to the parallel bus (Pb). The image data of the parallel bus (Pb) can be written to the image memory (MEM) by (IMAC).

(16)前記画像データ制御手段(CDIC)は、前記撮像手段(10)からの画像データを非可逆な圧縮をして前記パラレルバス(Pb)に出力するか、又は、前記画像データ処理装置
(IPP)へ転送しそれが処理した画像データを非可逆な圧縮をして前記パラレルバス(Pb)に出力するか、更には、パラレルバス(Pb)のデータを伸張して前記データ処理装置に転送するかを制御する、上記(15)の画像処理装置。
(16) The image data control means (CDIC) performs irreversible compression of the image data from the imaging means (10) and outputs the image data to the parallel bus (Pb), or the image data processing device (CDIC) IPP) and irreversibly compresses the processed image data and outputs it to the parallel bus (Pb), or expands the data of the parallel bus (Pb) and transfers it to the data processing device (15) The image processing apparatus according to (15), wherein

例えば、画像データ制御手段(CDIC)によって撮像手段(10)の出力RGB画像データをバス転送用に非可逆な圧縮1してパラレルバス(Pb)に送出し、画像メモリ制御手段(IMAC)によってパラレルバス(Pb)の画像データを更にメモリ書込み用に可逆な圧縮2して画像メモリ(MEM)に書込むことができる。そして、画像メモリ制御手段(IMAC)によって画像メモリ(MEM)のRGB画像データを伸張2(圧縮2の伸張)してパラレルバス(Pb)に読み出し、画像データ制御手段(CDIC)によってパラレルバス(Pb)のRGB画像データを伸張1(圧縮1の伸張)して出力できる。   For example, the output RGB image data of the imaging means (10) is irreversibly compressed 1 for bus transfer by the image data control means (CDIC) and sent to the parallel bus (Pb), and the image data is controlled by the image memory control means (IMAC). The image data of the bus (Pb) can be further reversibly compressed 2 for writing to the memory and written to the image memory (MEM). Then, the RGB image data in the image memory (MEM) is expanded 2 (compression 2 is expanded) by the image memory control means (IMAC) and read out to the parallel bus (Pb), and the parallel bus (Pb) is read by the image data control means (CDIC). ) RGB image data can be output after decompression 1 (decompression of compression 1).

(17)記録出力用の画像データが表わす画像を用紙上に形成するプリンタ(100);および、入力画像データを、前記プリンタ(100)の前記画像形成に適する記録出力用の画像データに変換するガンマ変換(305)を行う上記(1)乃至(13)のいずれかのデータ処理装置(IPP);を備える画像形成装置。   (17) A printer (100) for forming an image represented by image data for recording output on paper; and converting input image data into image data for recording output suitable for the image formation of the printer (100). An image forming apparatus comprising: the data processing device (IPP) according to any one of (1) to (13), which performs gamma conversion (305).

ここで、データ処理装置(IPP)は、プリンタ(100)の画像表現特性に合せて、原画像を忠実に表わすデータ処理特性とする。あるいは、ユーザの調整又は補正操作に従ったデータ処理特性を選択できるものとする。いずれにしても、上記(1)〜(13)に記述した作用効果が得られる。   Here, the data processing device (IPP) sets data processing characteristics that faithfully represent the original image in accordance with the image expression characteristics of the printer (100). Alternatively, it is assumed that a data processing characteristic according to a user's adjustment or correction operation can be selected. In any case, the functions and effects described in the above (1) to (13) can be obtained.

(18)画像データを転送するパラレルバス(Pb);画像メモリ(MEM);前記パラレルバス上の画像データを前記画像メモリに書込み、前記画像メモリの画像データを前記パラレルバスに読出す画像メモリ制御手段(IMAC);および、前記データ処理装置(IPP)と前記パラレルバス(Pb)の間の画像データのやりとりを制御する画像データ制御手段(CDIC);を更に備える、上記(17)の画像形成装置。   (18) a parallel bus (Pb) for transferring image data; an image memory (MEM); an image memory control for writing image data on the parallel bus to the image memory and reading image data from the image memory to the parallel bus. Means (IMAC); and image data control means (CDIC) for controlling the exchange of image data between the data processing device (IPP) and the parallel bus (Pb). apparatus.

例えば、画像メモリ制御手段(IMAC)によって画像メモリ(MEM)の画像データをパラレルバス(Pb)に読み出し、画像データ制御手段(CDIC)によってパラレルバス(Pb)の画像データをデータ処理装置(IPP)に与えてその出力画像データをプリンタ(100)に与えてプリントアウトできる。   For example, the image data of the image memory (MEM) is read out to the parallel bus (Pb) by the image memory control means (IMAC), and the image data of the parallel bus (Pb) is read by the image data control means (CDIC) to the data processing device (IPP). To output the image data to the printer (100).

(19)撮像した画像を表す撮像画像データを発生する撮像手段(10);前記撮像画像データをプリンタで用紙上に画像を形成するための記録出力用の画像データに変換(194,305)する上記(1)乃至(13)のいずれかのデータ処理装置(IPP);および、前記記録出力用の画像データが表わす画像を用紙上に形成するプリンタ(100);を備える画像形成装置。   (19) Imaging means (10) for generating captured image data representing a captured image; converting the captured image data into image data for recording output for forming an image on paper by a printer (194, 305). An image forming apparatus comprising: the data processing device (IPP) according to any one of (1) to (13); and a printer (100) that forms an image represented by the image data for recording and output on a sheet.

ここで、撮像手段としては、例えば原稿スキャナおよびデジタルカメラがある。これらの撮像画像データをプリンタ(100)の画像表現特性に合せて、原画像を忠実に表わすデータ変換特性とする。あるいは、ユーザの調整又は補正操作に従ったデータ変換特性を選択できるものとする。いずれにしても、上記(1)〜(13)に記述した作用効果が得られる。   Here, examples of the imaging means include a document scanner and a digital camera. These captured image data are made data conversion characteristics that faithfully represent the original image by matching the image expression characteristics of the printer (100). Alternatively, it is assumed that a data conversion characteristic according to the adjustment or correction operation of the user can be selected. In any case, the functions and effects described in the above (1) to (13) can be obtained.

(20)画像データを転送するパラレルバス(Pb);画像メモリ(MEM);前記パラレルバス上の画像データを前記画像メモリに書込み、前記画像メモリの画像データを前記パラレルバスに読出す画像メモリ制御手段(IMAC);および、前記撮像手段(10),前記データ処理装置(IPP)および前記パラレルバス(Pb)の間の画像データのやりとりを制御する画像データ制御手段(CDIC);を更に備える、上記(19)の画像形成装置。   (20) Parallel bus (Pb) for transferring image data; image memory (MEM); image memory control for writing image data on the parallel bus to the image memory and reading image data from the image memory to the parallel bus Means (IMAC); and image data control means (CDIC) for controlling exchange of image data between the imaging means (10), the data processing device (IPP), and the parallel bus (Pb). The image forming apparatus according to the above (19).

例えば、画像データ制御手段(CDIC)によって撮像手段(10)の出力RGB画像データをデータ処理装置(IPP)に与えてそのYMCK出力をプリンタ(100)に与えてその出力用YMCK画像データをプリントアウトできる。   For example, the image data control means (CDIC) supplies the RGB image data output from the imaging means (10) to the data processing device (IPP), provides its YMCK output to the printer (100), and prints out the output YMCK image data. it can.

また撮像手段(10)の出力RGB画像データをデータ処理装置(IPP)で処理して、画像データ制御手段(CDIC)によってパラレルバス(Pb)に送出し、画像メモリ制御手段(IMAC)によってパラレルバス(Pb)の画像データを画像メモリ(MEM)に書込むことができる。そして、画像メモリ制御手段(IMAC)によって画像メモリ(MEM)のRGB画像データをパラレルバス(Pb)に読み出し、画像データ制御手段(CDIC)によってパラレルバス(Pb)のRGB画像データをデータ処理装置(IPP)に与えてその出力であるYMCK画像データをプリンタ(100)に与えて、その出力用YMCK画像データをプリントアウトできる。   Also, the output RGB image data of the imaging means (10) is processed by the data processing device (IPP), sent out to the parallel bus (Pb) by the image data control means (CDIC), and sent to the parallel bus by the image memory control means (IMAC). The image data of (Pb) can be written to the image memory (MEM). The image memory control means (IMAC) reads the RGB image data of the image memory (MEM) onto the parallel bus (Pb), and the image data control means (CDIC) converts the RGB image data of the parallel bus (Pb) into a data processing device ( The output YMCK image data can be printed out by applying the output YMCK image data to the printer (100).

(21)前記画像メモリ制御手段(IMAC)は、パソコン,LANなどの外部機器や前記パラレルバスに接続されたファクシミリ及び前記画像データ制御手段(CDIC)との間の画像データを前記画像メモリ(MEM)に圧縮して書込み、または読み出して伸張する、上記(17)乃至(20)のいずれかに記載の画像形成装置。   (21) The image memory control means (IMAC) stores image data between an external device such as a personal computer and a LAN, a facsimile connected to the parallel bus, and the image data control means (CDIC). The image forming apparatus according to any one of the above (17) to (20), wherein the image is compressed and written or read and expanded.

これによれば、画像データを一旦画像メモリ(MEM)に格納することにより、高度な画像処理,加工或は編集を施すことが出来るほかに、画像メモリ制御手段(IMAC)は、パソコン,LANなど外部機器や前記パラレルバスに接続されたファクシミリ及び前記画像データ制御手段(CDIC)との間で画像データをやり取りできる。そして、画像データをやり取りするときならびにプリントアウトするとき、データ処理装置(IPP)で高速に画像処理できる。   According to this method, image data is temporarily stored in an image memory (MEM), so that advanced image processing, processing, or editing can be performed. Image data can be exchanged between an external device, a facsimile connected to the parallel bus, and the image data control means (CDIC). Then, when exchanging image data and printing out, image processing can be performed at high speed by the data processing device (IPP).

本発明の他の目的および特徴は、図面を参照した以下の実施例の説明より明らかになろう。   Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.

−第1実施例−
図1に、本発明の1実施例の複合機能フルカラーデジタル複写機A1の外観を示す。図1に示すフルカラー複写機A1は、大略で、自動原稿送り装置(ADF)30と、操作ボード20と、カラースキャナ10と、カラープリンタ100と、給紙バンク35の各ユニットで構成されている。ステープラ及び作像された用紙を積載可能なトレイ付きのフィニッシャ34と、両面ドライブユニット33と、大容量給紙トレイ36は、プリンタ100に装着されている。
-1st Example-
FIG. 1 shows an appearance of a multifunction full-color digital copying machine A1 according to an embodiment of the present invention. The full-color copying machine A1 shown in FIG. 1 generally includes an automatic document feeder (ADF) 30, an operation board 20, a color scanner 10, a color printer 100, and a paper feed bank 35. . A finisher 34 with a tray on which a stapler and an imaged sheet can be stacked, a double-sided drive unit 33, and a large-capacity paper feed tray 36 are mounted on the printer 100.

機内の画像データ処理装置ACP(図3)には、パソコンPCが接続したLAN(Local Area Network)が接続されており、ファクシミリコントロールユニットFCU(図3)には、電話回線PN(ファクシミリ通信回線)に接続された交換器PBXが接続されている。カラープリンタ100のプリント済の用紙は、排紙トレイ108上またはフィニッシャ34に排出される。   A LAN (Local Area Network) to which a personal computer PC is connected is connected to the on-board image data processing device ACP (FIG. 3), and a telephone line PN (facsimile communication line) is connected to the facsimile control unit FCU (FIG. 3). Is connected to the exchange PBX. The printed paper of the color printer 100 is discharged onto the paper discharge tray 108 or the finisher 34.

図2に、カラープリンタ100の機構を示す。この実施例のカラープリンタ100は、レーザプリンタである。このレーザプリンタ100は、マゼンダ(M),シアン(C),イエロー(Y)および黒(ブラック:K)の各色の画像を形成するための4組のトナー像形成ユニットが、転写紙の移動方向(図中の右下から左上方向y)に沿ってこの順に配置されている。即ち、4連ドラム方式のフルカラー画像形成装置である。   FIG. 2 shows a mechanism of the color printer 100. The color printer 100 of this embodiment is a laser printer. In the laser printer 100, four sets of toner image forming units for forming images of each color of magenta (M), cyan (C), yellow (Y), and black (black: K) are arranged in a moving direction of the transfer paper. (From the lower right in the figure to the upper left y), they are arranged in this order. That is, it is a four-drum type full-color image forming apparatus.

これらマゼンダ(M),シアン(C),イエロー(Y)および黒(K)のトナー像形成ユニットは、それぞれ、感光体ドラム111M,111C,111Yおよび111Kを有する感光体ユニット110M,110C,110Yおよび110Kと、現像ユニット120M,120C,120Yおよび120Kとを備えている。また、各トナー像形成部の配置は、各感光体ユニット内の感光体ドラム111M,111C,111Yおよび111Kの回転軸が水平x軸(主走査方向)に平行になるように、且つ、転写紙移動方向y(副走査方向)に所定ピッチの配列となるように、設定されている。   These magenta (M), cyan (C), yellow (Y), and black (K) toner image forming units include photoconductor units 110M, 110C, 110Y having photoconductor drums 111M, 111C, 111Y, and 111K, respectively. 110K and developing units 120M, 120C, 120Y and 120K. The arrangement of the toner image forming units is such that the rotation axes of the photosensitive drums 111M, 111C, 111Y and 111K in each photosensitive unit are parallel to the horizontal x-axis (main scanning direction), and the transfer paper It is set so as to be arranged at a predetermined pitch in the moving direction y (sub-scanning direction).

また、レーザプリンタ100は、上記トナ−像形成ユニットのほか、レーザ走査によるレーザ露光ユニット102、給紙カセット103,104、レジストローラ対105、転写紙を担持して各トナ−像形成部の転写位置を通過するように搬送する転写搬送ベルト160を有する転写ベルトユニット106、ベルト定着方式の定着ユニット107、排紙トレイ108,両面ドライブ(面反転)ユニット33等を備えている。また、レーザプリンタ100は、図示していない手差しトレイ、トナ−補給容器、廃トナーボトル、なども備えている。   In addition to the toner image forming unit, the laser printer 100 carries a laser exposure unit 102 by laser scanning, paper feed cassettes 103 and 104, a pair of registration rollers 105, and a transfer paper to transfer each toner image forming unit. The image forming apparatus includes a transfer belt unit 106 having a transfer conveyance belt 160 that conveys the sheet so as to pass through the position, a fixing unit 107 of a belt fixing type, a sheet discharge tray 108, a two-sided drive (surface reversal) unit 33, and the like. The laser printer 100 also includes a manual tray, a toner supply container, a waste toner bottle, and the like (not shown).

レーザ露光ユニット102は、レーザ発光器41M,41C,41Y,41K、ポリゴンミラー、f−θレンズ、反射ミラー等を備え、画像データに基づいて各感光体ドラム111M,111C,111Yおよび111Kの表面にレーザ光を、紙面に垂直な主走査x方向に振り走査しながら照射する。   The laser exposure unit 102 includes laser light emitters 41M, 41C, 41Y, and 41K, a polygon mirror, an f-θ lens, a reflection mirror, and the like. Based on image data, the surface of each of the photosensitive drums 111M, 111C, 111Y, and 111K is formed. The laser beam is irradiated while being swung and scanned in the main scanning x direction perpendicular to the paper surface.

図2上の一点鎖線は、転写紙の搬送経路を示している。給紙カセット103,104から給送された転写紙は、図示しない搬送ガイドで案内されながら搬送ローラで搬送され、レジストローラ対105に送られる。このレジストローラ対105により所定のタイミングで転写搬送ベルト160に送出された転写紙は転写搬送ベルト160で担持され、各トナ−像形成部の転写位置を通過するように搬送される。   The dashed line on FIG. 2 indicates the transfer path of the transfer paper. The transfer paper fed from the paper feed cassettes 103 and 104 is conveyed by conveyance rollers while being guided by a conveyance guide (not shown), and is sent to the registration roller pair 105. The transfer paper sent to the transfer / conveyance belt 160 at a predetermined timing by the registration roller pair 105 is carried by the transfer / conveyance belt 160 and conveyed so as to pass through the transfer position of each toner image forming unit.

各トナー像形成部の感光体ドラム111M,111C,111Yおよび111Kに形成されたトナー像が、転写搬送ベルト160で担持され搬送される転写紙に転写され、各色トナー像の重ね合わせ即ちカラー画像が形成された転写紙は、定着ユニット107に送られる。すなわち転写は、転写紙上にじかにトナー像を転写する直接転写方式である。定着ユニット107を通過する時トナー像が転写紙に定着する。トナー像が定着した転写紙は、排紙トレイ108,フィニッシャ36又は両面ドライブユニット33に排出又は送給される。   The toner images formed on the photosensitive drums 111M, 111C, 111Y, and 111K of the respective toner image forming units are transferred to transfer paper carried and conveyed by the transfer / conveyance belt 160, and a superimposition of color toner images, that is, a color image is formed. The formed transfer paper is sent to the fixing unit 107. That is, the transfer is a direct transfer system in which a toner image is directly transferred onto a transfer sheet. When passing through the fixing unit 107, the toner image is fixed on the transfer paper. The transfer paper on which the toner image has been fixed is discharged or fed to the discharge tray 108, the finisher 36, or the double-sided drive unit 33.

イエローYのトナ−像形成ユニットの概要を次に説明する。他のトナ−像形成ユニットも、イエローYのものと同様な構成である。イエローYのトナー像形成ユニットは、前述のように感光体ユニット110Y及び現像ユニット120Yを備えている。感光体ユニット110Yは、感光体ドラム111Yのほか、感光体ドラム表面に潤滑剤を塗布するブラシローラ,感光体ドラム表面をクリーニングする揺動可能なブレード,感光体ドラム表面に光を照射する除電ランプ,感光体ドラム表面を一様帯電する非接触型の帯電ローラ、等を備えている。   The outline of the yellow Y toner image forming unit will be described below. Other toner image forming units have the same configuration as that of yellow Y. The yellow Y toner image forming unit includes the photoconductor unit 110Y and the developing unit 120Y as described above. The photoconductor unit 110Y includes, in addition to the photoconductor drum 111Y, a brush roller that applies a lubricant to the surface of the photoconductor drum, a swingable blade that cleans the surface of the photoconductor drum, and a static elimination lamp that irradiates light to the surface of the photoconductor drum. And a non-contact type charging roller for uniformly charging the surface of the photosensitive drum.

感光体ユニット110Yにおいて、交流電圧が印加された帯電ローラにより一様帯電された感光体ドラム111Yの表面に、レーザ露光ユニット102で、プリントデータに基づいて変調されポリゴンミラーで偏向されたレーザ光Lが走査されながら照射されると、感光体ドラム111Yの表面に静電潜像が形成される。感光体ドラム11IY上の静電潜像は、現像ユニット20Yで現像されてイエローYのトナー像となる。転写搬送ベルト160上の転写紙が通過する転写位置では、感光体ドラム11IY上のトナー像が転写紙に転写される。トナ−像が転写された後の感光体ドラム111Yの表面は、ブラシローラで所定量の潤滑剤が塗布された後、ブレードでクリーニングされ、除電ランプから照射された光によって除電され、次の静電潜像の形成に備えられる。   In the photoconductor unit 110Y, the laser beam L modulated based on the print data and deflected by the polygon mirror by the laser exposure unit 102 is applied to the surface of the photoconductor drum 111Y uniformly charged by the charging roller to which the AC voltage is applied. Is irradiated while being scanned, an electrostatic latent image is formed on the surface of the photosensitive drum 111Y. The electrostatic latent image on the photoconductor drum 11IY is developed by the developing unit 20Y to be a yellow Y toner image. At the transfer position where the transfer paper on the transfer conveyance belt 160 passes, the toner image on the photosensitive drum 11IY is transferred to the transfer paper. After the toner image is transferred, the surface of the photoreceptor drum 111Y is coated with a predetermined amount of lubricant by a brush roller, is cleaned by a blade, and is discharged by light emitted from a discharge lamp. It is provided for the formation of an electrostatic latent image.

現像ユニット120Yは、磁性キャリア及びマイナス帯電のトナーを含む二成分現像剤を収納している。そして、現像ケース120Yの感光体ドラム側の開口から一部露出するように配設された現像ローラや、搬送スクリュウ、ドクタブレード、トナー濃度センサ,粉体ポンプ等を備えている。現像ケース内に収容された現像剤は、搬送スクリュウで攪拌搬送されることにより摩擦帯電する。そして、現像剤の一部が現像ローラの表面に担持される。ドクタブレードが現像ローラの表面の現像剤の層厚を均一に規制し、現像ローラの表面の現像剤中のトナーが感光体ドラムに移り、これにより静電潜像に対応するトナー像が感光体ドラム111Y上に現われる。現像ケース内の現像剤のトナー濃度はトナ−濃度センサで検知される。濃度不足の時には、粉体ポンプが駆動されてトナーが補給される。   The developing unit 120Y contains a two-component developer containing a magnetic carrier and a negatively charged toner. The developing case 120Y includes a developing roller disposed so as to be partially exposed from the opening on the photosensitive drum side, a conveying screw, a doctor blade, a toner concentration sensor, a powder pump, and the like. The developer contained in the developing case is frictionally charged by being agitated and transported by the transport screw. Then, a part of the developer is carried on the surface of the developing roller. The doctor blade uniformly regulates the layer thickness of the developer on the surface of the developing roller, and the toner in the developer on the surface of the developing roller is transferred to the photosensitive drum, thereby forming a toner image corresponding to the electrostatic latent image on the photosensitive drum. Appears on drum 111Y. The toner density of the developer in the developing case is detected by a toner density sensor. When the density is insufficient, the powder pump is driven to supply toner.

転写ベルトユニット106の転写搬送ベルト160は、各トナー像形成部の感光体ドラム111M,111C,111Yおよび111Kに接触対向する各転写位置を通過するように、4つの接地された張架ローラに掛け回されている。張架ローラの1つが109である。これらの張架ローラのうち、2点鎖線矢印で示す転写紙移動方向上流側の入口ローラには、電源から所定電圧が印加された静電吸着ローラが対向するように配置されている。これらの2つのローラの間を通過した転写紙は、転写搬送ベルト160上に静電吸着される。また、転写紙移動方向下流側の出口ローラは、転写搬送ベルトを摩擦駆動する駆動ローラであり、図示しない駆動源に接続されている。また、転写搬送ベルト160の外周面には、電源から所定のクリーニング用電圧が印加されたバイアスローラが接触するように配置されている。このバイアスローラにより転写搬送ベルト160上に付着したトナー等の異物が除去される。   The transfer conveyance belt 160 of the transfer belt unit 106 is hung on four grounded stretching rollers so as to pass through respective transfer positions in contact with and facing the photosensitive drums 111M, 111C, 111Y and 111K of each toner image forming unit. Has been turned. One of the stretching rollers is 109. Of these tension rollers, an electrostatic attraction roller to which a predetermined voltage is applied is disposed so as to face an entrance roller on the upstream side in the transfer sheet moving direction indicated by a two-dot chain line arrow. The transfer paper that has passed between these two rollers is electrostatically attracted onto the transfer / conveying belt 160. The exit roller on the downstream side in the transfer paper moving direction is a drive roller that frictionally drives the transfer conveyance belt, and is connected to a drive source (not shown). In addition, a bias roller to which a predetermined cleaning voltage is applied from a power supply is arranged so as to come into contact with the outer peripheral surface of the transfer conveyance belt 160. The bias roller removes foreign matters such as toner adhered to the transfer / conveying belt 160.

また、感光体ドラム111M,111C,111Yおよび111Kに接触対向する接触対向部を形成している転写搬送ベルト160の裏面に接触するように、転写バイアス印加部材を設けている。これらの転写バイアス印加部材は、マイラ製の固定ブラシであり、各転写バイアス電源から転写バイアスが印加される。この転写バイアス印加部材で印加された転写バイアスにより、転写搬送ベルト160に転写電荷が付与され、各転写位置において転写搬送ベルト160と感光体ドラム表面との間に所定強度の転写電界が形成される。   Further, a transfer bias applying member is provided so as to be in contact with the back surface of the transfer conveyance belt 160 forming a contact opposing portion that opposes the photoconductor drums 111M, 111C, 111Y and 111K. These transfer bias applying members are fixed brushes made of Mylar, and a transfer bias is applied from each transfer bias power supply. By the transfer bias applied by the transfer bias applying member, transfer charges are applied to the transfer / conveyance belt 160, and a transfer electric field having a predetermined intensity is formed between the transfer / conveyance belt 160 and the surface of the photosensitive drum at each transfer position. .

転写搬送ベルト160で搬送され、感光体ドラム111M,111C,111Yおよび111Kに形成された各色トナー像が転写された用紙は、定着装置107に送り込まれてそこで、トナー像が加熱,加圧によって用紙に熱定着される。熱定着後、用紙は左側板の上部のフィニッシャ34への排紙口34otからフィニッシャ34に送り込まれる。又は、プリンタ本体の上面の排紙トレイ108に排出される。   The sheet on which the toner images of the respective colors formed on the photosensitive drums 111M, 111C, 111Y, and 111K are transferred by the transfer and transfer belt 160 is sent to the fixing device 107, where the toner image is heated and pressed to form a sheet. Is heat-fixed. After the heat fixing, the sheet is sent to the finisher 34 from a discharge port 34ot to the finisher 34 on the upper portion of the left side plate. Alternatively, the paper is discharged to a paper discharge tray 108 on the upper surface of the printer body.

4個の感光体ドラムの中の、マゼンダ像,シアン像およびイエロー像形成用の感光体ドラム111M,111Cおよび111Yは、図示しないカラードラム駆動用の1個の電気モータ(カラードラムモータ;カラードラムM:図示略)により、動力伝達系及び減速機(図示略)を介して1段減速にて駆動される。ブラック像形成用の感光体ドラム111Kはブラックドラム駆動用の1個の電気モータ(Kドラムモータ:図示略)により、動力伝達系及び減速機(図示略)を介して1段減速にて駆動される。また、転写搬送ベルト160は、上記Kドラムモータによる動力伝達系を介した転写駆動ローラの駆動により、回動移動する。従って、上記Kドラムモータは、K感光体ドラム11Kと転写搬送ベルト60を駆動し、上記カラードラムモータは、M,C,Y感光体ドラム11M,11C,11Yを駆動する。   Of the four photosensitive drums, the photosensitive drums 111M, 111C, and 111Y for forming a magenta image, a cyan image, and a yellow image are one electric motor (color drum motor; color drum motor) for driving a color drum (not shown). M: not shown), and is driven at a one-step speed reduction via a power transmission system and a speed reducer (not shown). The photosensitive drum 111K for forming a black image is driven by one electric motor (K drum motor: not shown) for driving the black drum at a one-step speed reduction via a power transmission system and a speed reducer (not shown). You. Further, the transfer conveyance belt 160 is rotated by driving a transfer drive roller via a power transmission system by the K drum motor. Accordingly, the K drum motor drives the K photoconductor drum 11K and the transfer / transport belt 60, and the color drum motor drives the M, C, Y photoconductor drums 11M, 11C, 11Y.

また、K現像器120Kは、定着ユニット107を駆動している電気モータ(図示略)で、動力伝達系およびクラッチ(図示略)を介して駆動される。M,C,Y現像器120M,120C,120Yは、レジストローラ105を駆動する電気モータ(図示略)で、動力伝達系およびクラッチ(図示略)を介して駆動される。現像器120M,120C,120Y,120Kは絶えず駆動されている訳ではなく、所定タイミングを持って駆動出来る様、上記クラッチにより駆動伝達を受ける。   The K developing device 120K is driven by an electric motor (not shown) driving the fixing unit 107 via a power transmission system and a clutch (not shown). The M, C, Y developing units 120M, 120C, 120Y are electric motors (not shown) for driving the registration rollers 105, and are driven via a power transmission system and a clutch (not shown). The developing units 120M, 120C, 120Y, 120K are not always driven, but receive drive transmission by the clutch so that they can be driven at a predetermined timing.

再度図1を参照する。フィニッシャ34は、スタッカトレイすなわち積載降下トレイ34hsおよびソートトレイ群34stを持ち、積載降下トレイ34hsに用紙(プリント済紙,転写済紙)を排出するスタッカ排紙モードと、ソートトレイ群34stに排紙するソータ排紙モードを持つ。   FIG. 1 is referred to again. The finisher 34 has a stacker tray, that is, a stacking and lowering tray 34hs and a sort tray group 34st. It has a sorter discharge mode.

プリンタ100からフィニッシャ34に送り込まれた用紙は、左上方向に搬送されそして上下逆U字型の搬送路を経て、下向きに搬送方向を切換えてから、設定されているモードに応じて、スタッカ排紙モードのときには排出口から積載降下トレイ34hsに排出される。ソータ排紙モードのときには、ソータトレイ群34stの、そのとき排出中の用紙が割り当てられたソータトレイに排出される。   The paper fed from the printer 100 to the finisher 34 is conveyed in the upper left direction, passes through an inverted U-shaped conveyance path, switches the conveyance direction downward, and then discharges the paper in the stacker according to the set mode. In the mode, the sheet is discharged from the discharge port to the loading and lowering tray 34hs. In the sorter discharge mode, the sheet currently discharged in the sorter tray group 34st is discharged to the assigned sorter tray.

ソータ排紙モードが指定されるとフィニッシャ内排紙コントローラは、最下部の重ね待避位置に置いたソートトレイ群34stを、図1上で2点鎖線で示す使用位置に上駆動し、ソータトレイ間の間隔を広げる。ソータ排紙モードでは、1回(一人)の設定枚数の複写又はプリントは、部ソートにソータ排紙モードが設定されているときには、同一原稿(画像)をプリントした各転写紙をソートトレイ群34stの各トレイに仕分け収納する。頁ソートにソータ排紙モードが設定されているときには、各トレイを各頁(画像)に割り当てて、同一頁をプリントした各転写紙を1つのソートトレイに積載する。   When the sorter discharge mode is designated, the discharge controller in the finisher drives the sort tray group 34st placed at the lowermost stacking and retract position to the use position indicated by the two-dot chain line in FIG. Increase the interval. In the sorter discharge mode, a single (one) copy or print of the set number of sheets is performed. When the sorter discharge mode is set for the set sort, each transfer sheet on which the same original (image) is printed is sorted by the sort tray group 34st. Sorted and stored in each tray. When the sorter discharge mode is set for page sorting, each tray is assigned to each page (image), and each transfer sheet on which the same page is printed is stacked on one sort tray.

図3に、図1に示す複写機の画像処理系統のシステム構成を示す。このシステムでは、読取ユニット11と画像データ出力I/F(Interface:インターフェイス)12でなるカラー原稿スキャナ12が、画像データ処理装置ACPの画像データインターフェース制御CDIC(以下単にCDICと表記)に接続されている。画像データ処理装置ACPにはまた、カラープリンタ100が接続されている。カラープリンタ100は、画像データ処理装置ACPの画像データ処理器IPP(Image Processing Processor;以下では単にIPPと記述)から、書込みI/F134に記録画像データを受けて、作像ユニット135でプリントアウトする。作像ユニット135は、図2に示すものである。   FIG. 3 shows a system configuration of an image processing system of the copying machine shown in FIG. In this system, a color document scanner 12 including a reading unit 11 and an image data output I / F (Interface) 12 is connected to an image data interface control CDIC (hereinafter simply referred to as CDIC) of an image data processing apparatus ACP. I have. A color printer 100 is also connected to the image data processing device ACP. The color printer 100 receives recording image data from the image data processor IPP (Image Processing Processor; hereinafter simply referred to as IPP) of the image data processing device ACP to the write I / F 134 and prints out the image at the image forming unit 135. . The image forming unit 135 is as shown in FIG.

画像データ処理装置ACP(以下では単にACPと記述)は、パラレルバスPb,メモリアクセス制御IMAC(以下では単にIMACと記述),画像メモリであるメモリモジュール(以下では単にMEMと記述),不揮発メモリであるハードディスク装置HDD(以下では単にHDDと記述),システムコントローラ1,RAM4,不揮発メモリ5,フォントROM6,CDIC,IPP等、を備える。パラレルバスPbには、ファクシミリ制御ユニットFCU(以下単にFCUと記述)を接続している。操作ボード20はシステムコントローラ1に接続している。   The image data processing device ACP (hereinafter simply referred to as ACP) includes a parallel bus Pb, a memory access control IMAC (hereinafter simply referred to as IMAC), a memory module as an image memory (hereinafter simply referred to as MEM), and a nonvolatile memory. A hard disk drive HDD (hereinafter simply referred to as HDD), a system controller 1, a RAM 4, a nonvolatile memory 5, a font ROM 6, a CDIC, an IPP, and the like are provided. The facsimile control unit FCU (hereinafter simply referred to as FCU) is connected to the parallel bus Pb. The operation board 20 is connected to the system controller 1.

カラー原稿スキャナ10の、原稿を光学的に読み取る読取ユニット11は、原稿に対するランプ照射の反射光を、センサボードユニットSBU(以下では単にSBUと表記)上の、CCDで光電変換してR,G,B画像信号を生成し、A/DコンバータでRGB画像データに変換し、そしてシェーディング補正して、出力I/F12を介してCDICに送出する。   The reading unit 11 of the color document scanner 10 for reading a document optically converts the reflected light of the lamp irradiation on the document by a CCD on a sensor board unit SBU (hereinafter simply referred to as SBU) by CCD, and converts the reflected light into R, G , B image signals are converted to RGB image data by an A / D converter, corrected for shading, and sent to a CDIC via an output I / F 12.

CDICは、画像データに関し、原稿スキャナ10(出力I/F12),パラレルバスPb,IPP間のデータ転送、ならびに、プロセスコントローラ131とACPの全体制御を司るシステムコントローラ1との間の通信をおこなう。また、RAM132はプロセスコントローラ131のワークエリアとして使用され、ROM133はプロセスコントローラ131の動作プログラム等を記憶している。   The CDIC performs image data transfer between the original scanner 10 (output I / F 12), the parallel bus Pb, and the IPP, and communication between the process controller 131 and the system controller 1 that controls the entire ACP. The RAM 132 is used as a work area of the process controller 131, and the ROM 133 stores an operation program of the process controller 131 and the like.

メモリアクセス制御IMAC(以下では単にIMACと記述)は、MEMおよびHDDに対する画像データおよび制御データの書き込み/読み出しを制御する。システムコントローラ1は、パラレルバスPbに接続される各構成部の動作を制御する。また、RAM4はシステムコントローラ1のワークエリアとして使用され、不揮発メモリ5はシステムコントローラ1の動作プログラム等を記憶している。   The memory access control IMAC (hereinafter simply referred to as IMAC) controls writing / reading of image data and control data to / from the MEM and the HDD. The system controller 1 controls the operation of each component connected to the parallel bus Pb. The RAM 4 is used as a work area of the system controller 1, and the nonvolatile memory 5 stores an operation program of the system controller 1 and the like.

操作ボード20は、ACPが行うべき処理を指示する。たとえば、処理の種類(複写、ファクシミリ送信、画像読込、プリント等)および処理の枚数等を入力する。これにより、画像データ制御情報の入力をおこなうことができる。   The operation board 20 indicates a process to be performed by the ACP. For example, the type of process (copying, facsimile transmission, image reading, printing, etc.), the number of processes, and the like are input. Thereby, the input of the image data control information can be performed.

スキャナ10の読取ユニット11より読み取った画像データは、スキャナ10のSBUでシェーディング補正210を施してから、IPPで、スキャナガンマ補正,フィルタ処理などの、読取り歪を補正する画像処理を施してから、MEM又はHDDに蓄積する。MEM又はHDDの画像データをプリントアウトするときには、IPPにおいてRGB信号をYMCK信号に色変換し、プリンタガンマ変換,階調変換,および、ディザ処理もしくは誤差拡散処理などの階調処理などの画質処理をおこなう。画質処理後の画像データはIPPから書込みI/F134に転送される。書込みI/F134は、階調処理された信号に対し、パルス幅とパワー変調によりレーザー制御をおこなう。その後、画像データは作像ユニット135へ送られ、作像ユニット135が転写紙上に再生画像を形成する。   The image data read by the reading unit 11 of the scanner 10 is subjected to shading correction 210 by the SBU of the scanner 10, and then to image processing for correcting reading distortion such as scanner gamma correction and filter processing by IPP. Store in MEM or HDD. When printing out the image data of the MEM or HDD, the IPP performs color conversion of RGB signals to YMCK signals and performs image quality processing such as printer gamma conversion, gradation conversion, and gradation processing such as dither processing or error diffusion processing. Do it. The image data after the image quality processing is transferred from the IPP to the write I / F 134. The write I / F 134 performs laser control on the signal subjected to the gradation processing by pulse width and power modulation. Thereafter, the image data is sent to the image forming unit 135, and the image forming unit 135 forms a reproduced image on transfer paper.

IMACは、システムコントローラ1の制御に基づいて、画像データとMEM又はHDDのアクセス制御,LAN上に接続したパソコンPC(以下では単にPCと表記)のプリント用データの展開,MEMおよびHDDの有効活用のための画像データの圧縮/伸張をおこなう。   The IMAC controls access to image data and MEM or HDD based on the control of the system controller 1, expands print data of a personal computer PC (hereinafter simply referred to as PC) connected on a LAN, and effectively utilizes MEM and HDD. Compression / decompression of image data for

IMACへ送られた画像データは、データ圧縮後、MEM又はHDDに蓄積され、蓄積された画像データは必要に応じて読み出される。読み出された画像データは、伸張され、本来の画像データに戻しIMACからパラレルバスPbを経由してCDICへ戻される。CDICからIPPへの転送後は画質処理をして書込みI/F134に出力し、作像ユニット135において転写紙上に再生画像を形成する。   The image data sent to the IMAC is stored in the MEM or HDD after data compression, and the stored image data is read out as needed. The read image data is expanded, returned to the original image data, and returned from the IMAC to the CDIC via the parallel bus Pb. After the transfer from the CDIC to the IPP, the image is processed and output to the write I / F 134, and the image forming unit 135 forms a reproduced image on transfer paper.

画像データの流れにおいて、パラレルバスPbおよびCDICでのバス制御により、デジタル複合機の機能を実現する。ファクシミリ送信は、読取られた画像データをIPPにて画像処理を実施し、CDICおよびパラレルバスPbを経由してFCUへ転送することによりおこなわれる。FCUは、通信網へのデータ変換をおこない、それを公衆回線PNへファクシミリデータとして送信する。ファクシミリ受信は、公衆回線PNからの回線データをFCUにて画像データへ変換し、パラレルバスPbおよびCDICを経由してIPPへ転送することによりおこなわれる。この場合、特別な画質処理はおこなわず、書込みI/F134から出力し、作像ユニット135において転写紙上に再生画像を形成する。   In the flow of image data, the function of the digital multifunction peripheral is realized by the bus control by the parallel bus Pb and the CDIC. Facsimile transmission is performed by performing image processing on read image data by IPP and transferring the data to the FCU via the CDIC and the parallel bus Pb. The FCU converts the data into a communication network and transmits it to the public line PN as facsimile data. Facsimile reception is performed by converting line data from the public line PN into image data by the FCU and transferring it to the IPP via the parallel bus Pb and CDIC. In this case, the image is output from the writing I / F 134 without performing any special image quality processing, and the image forming unit 135 forms a reproduced image on transfer paper.

複数ジョブ、たとえば、コピー機能,ファクシミリ送受信機能,プリンタ出力機能が並行に動作する状況において、読取ユニット11,作像ユニット135およびパラレルバスPbの使用権のジョブへの割り振りは、システムコントローラ1およびプロセスコントローラ131において制御する。プロセスコントローラ131は画像データの流れを制御し、システムコントローラ1はシステム全体を制御し、各リソースの起動を管理する。また、デジタル複合機の機能選択は、操作ボード20においておこなわれ、操作ボード20の選択入力によって、コピー機能,ファクシミリ機能等の処理内容を設定する。   In a situation where a plurality of jobs, for example, a copy function, a facsimile transmission / reception function, and a printer output function operate in parallel, the right to use the reading unit 11, the imaging unit 135, and the parallel bus Pb is assigned to the job by the system controller 1 and the process. Control is performed by the controller 131. The process controller 131 controls the flow of image data, the system controller 1 controls the entire system, and manages the activation of each resource. The function selection of the digital multi-function peripheral is performed on the operation board 20, and the processing contents such as the copy function and the facsimile function are set by the selection input of the operation board 20.

システムコントローラ1とプロセスコントローラ131は、パラレルバスPb,CDICおよびシリアルバスSbを介して相互に通信をおこなう。具体的には、CDIC内においてパラレルバスPbとシリアルバスSbとのデータ,インターフェースのためのデータフォーマット変換をおこなうことにより、システムコントローラ1とプロセスコントローラ131間の通信を行う。   The system controller 1 and the process controller 131 communicate with each other via the parallel bus Pb, the CDIC, and the serial bus Sb. Specifically, communication between the system controller 1 and the process controller 131 is performed by performing data format conversion for data and interface between the parallel bus Pb and the serial bus Sb in the CDIC.

各種バスインターフェース、たとえばパラレルバスI/F 7、シリアルバスI/F 9、ローカルバスI/F 3およびネットワークI/F 8は、IMACに接続されている。コントローラーユニット1は、ACP全体の中での独立性を保つために、複数種類のバス経由で関連ユニットと接続する。   Various bus interfaces, for example, a parallel bus I / F 7, a serial bus I / F 9, a local bus I / F 3, and a network I / F 8, are connected to the IMAC. The controller unit 1 is connected to related units via a plurality of types of buses in order to maintain independence in the entire ACP.

システムコントローラ1は、パラレルバスPbを介して他の機能ユニットの制御をおこなう。また、パラレルバスPbは画像データの転送に供される。システムコントローラ1は、IMACに対して、画像データをMEM,HDDに蓄積させるための動作制御指令を発する。この動作制御指令は、IMAC,パラレルバスI/F 7、パラレルバスPbを経由して送られる。   The system controller 1 controls other functional units via the parallel bus Pb. The parallel bus Pb is used for transferring image data. The system controller 1 issues an operation control command to the IMAC to store the image data in the MEM and the HDD. This operation control command is sent via the IMAC, the parallel bus I / F 7, and the parallel bus Pb.

この動作制御指令に応答して、画像データはCDICからパラレルバスPbおよびパラレルバスI/F 7を介してIMACに送られる。そして、画像データはIMACの制御によりMEM又はHDDに格納されることになる。   In response to this operation control command, the image data is sent from the CDIC to the IMAC via the parallel bus Pb and the parallel bus I / F7. Then, the image data is stored in the MEM or the HDD under the control of the IMAC.

一方、ACPのシステムコントローラ1は、PCからのプリンタ機能としての呼び出しの場合、プリンタコントローラとネットワーク制御およびシリアルバス制御として機能する。ネットワークB経由の場合、IMACはネットワークI/F 8を介して、ネットワークB経由のプリント出力要求データあるいは蓄積(保存)要求データを受け取る。ネットワークB経由の要求データ(外来コマンド)はシステムコントローラ1に報知し、それに応答するシステムコントローラ1からのコマンドに従って、IMACは、ネットワークB経由の蓄積データの転送又は受信蓄積を行う。   On the other hand, the system controller 1 of the ACP functions as a printer controller, a network controller, and a serial bus controller in the case of calling from a PC as a printer function. In the case of passing through the network B, the IMAC receives print output request data or accumulation (save) request data via the network B via the network I / F 8. The request data (external command) via the network B is notified to the system controller 1, and the IMAC transfers or receives and stores the stored data via the network B according to a command from the system controller 1 responding to the request data.

汎用的なシリアルバス接続の場合、IMACはシリアルバスI/F 9経由でプリント出力要求データを受け取る。汎用のシリアルバスI/F 9は複数種類の規格に対応しており、たとえばUSB(Universal Serial Bus)、1284または1394等の規格のインターフェースに対応する。   In the case of a general-purpose serial bus connection, the IMAC receives print output request data via the serial bus I / F 9. The general-purpose serial bus I / F 9 corresponds to a plurality of types of standards, for example, an interface of a standard such as USB (Universal Serial Bus), 1284, or 1394.

PCからのプリント出力要求データはシステムコントローラ1により画像データに展開される。その展開先はMEM内のエリアである。展開に必要なフォントデータは、ローカルバスI/F 3およびローカルバスRb経由でフォントROM6を参照することにより得られる。ローカルバスRbは、このコントローラ1を不揮発メモリ5およびRAM4と接続する。   Print output request data from the PC is developed into image data by the system controller 1. The deployment destination is an area in the MEM. Font data necessary for development can be obtained by referring to the font ROM 6 via the local bus I / F 3 and the local bus Rb. The local bus Rb connects the controller 1 to the nonvolatile memory 5 and the RAM 4.

シリアルバスSbに関しては、PCとの接続のための外部シリアルポート2以外に、ACPの操作部である操作ボード20との転送のためのインターフェースもある。これはプリント展開データではなく、IMAC経由でシステムコントローラ1と通信し、処理手順の受け付け、システム状態の表示等をおこなう。   As for the serial bus Sb, besides the external serial port 2 for connection with the PC, there is also an interface for transfer with the operation board 20 which is the operation unit of the ACP. It communicates with the system controller 1 via IMAC instead of print development data, accepts processing procedures, displays system status, and the like.

システムコントローラ1と、MEM,HDDおよび各種バスとのデータ送受信は、IMACを経由しておこなわれる。MEMおよびHDDを使用するジョブはACP全体の中で一元管理される。   Data transmission / reception between the system controller 1 and the MEM, HDD, and various buses is performed via the IMAC. Jobs that use the MEM and HDD are centrally managed in the entire ACP.

図4に、CDICの機能構成の概要を示す。画像データ入出力制御161は、カラー原稿スキャナ10(SBU)が出力する画像データを受けて、IPPに出力する。IPPは、「スキャナ画像処理」190(図6)をして、CDICの画像データ入力制御162に送りだす。画像データ入力制御162が受けたデータは、パラレルバスPbでの転送効率を高めるためにデータ圧縮部163に於いて、画像データの1次圧縮を行う。圧縮した画像デ−タは、データ変換部164でパラレルデータに変換してパラレルデータI/F165を介してパラレルバスPbへ送出される。パラレルデータバスPbからパラレルデータI/F165を介して入力される画像データは、データ変換部164でシリアル変換される。このデータは、バス転送のために1次圧縮されており、データ伸張部166で伸張される。伸張された画像データは、画像データ出力制御167によってIPPへ転送される。IPPでは、「画質処理」300(図6)によりRGB画像データをYMCK画像データに変換し、プリンタ100の画像出力用の画像データYpMpCpKpに変換してカラープリンタ100に出力する。   FIG. 4 shows an outline of a functional configuration of the CDIC. The image data input / output control 161 receives the image data output by the color document scanner 10 (SBU) and outputs it to the IPP. The IPP performs “scanner image processing” 190 (FIG. 6) and sends the image data to the CDIC image data input control 162. The data received by the image data input control 162 is subjected to primary compression of the image data in the data compression section 163 in order to increase the transfer efficiency on the parallel bus Pb. The compressed image data is converted into parallel data by the data conversion unit 164 and sent to the parallel bus Pb via the parallel data I / F 165. Image data input from the parallel data bus Pb via the parallel data I / F 165 is serially converted by the data converter 164. This data is primarily compressed for bus transfer, and is expanded by the data expansion unit 166. The decompressed image data is transferred to the IPP by the image data output control 167. In the IPP, the RGB image data is converted into YMCK image data by “image quality processing” 300 (FIG. 6), converted into image data YpMpCpKp for image output of the printer 100, and output to the color printer 100.

CDICは、パラレルバスPbで転送するパラレルデータとシリアルバスSbで転送するシリアルデータの変換機能を併せ持つ。システムコントローラ1は、パラレルバスPbにデータを転送し、プロセスコントローラ131は、シリアルバスSbにデータを転送する。2つのコントローラ1,131の通信のために、デ−タ変換部164およびシリアルデ−タI/F169で、パラレル/シリアルデータ変換を行う。シリアルデータI/F168は、IPP用であり、IPPともシリアルデ−タ転送する。   The CDIC has a function of converting parallel data transferred on the parallel bus Pb and serial data transferred on the serial bus Sb. The system controller 1 transfers data to the parallel bus Pb, and the process controller 131 transfers data to the serial bus Sb. For communication between the two controllers 1 and 131, the data conversion unit 164 and the serial data I / F 169 perform parallel / serial data conversion. The serial data I / F 168 is for the IPP, and performs serial data transfer with the IPP.

図5に、IMACの構成の概略を示す。IMACは、アクセス制御172、メモリ制御173、2次圧縮/伸張モジュール176、画像編集モジュール177、システムI/F 179、ローカルバス制御180、パラレルバス制御171、シリアルポート制御175、シリアルポート174およびネットワーク制御178を備えている。2次圧縮/伸張モジュール176、画像編集モジュール177、パラレルバス制御171、シリアルポート制御175およびネットワーク制御178は、それぞれDMAC(ダイレクトメモリアクセス制御)を介してアクセス制御172に接続されている。   FIG. 5 shows an outline of the configuration of the IMAC. IMAC includes access control 172, memory control 173, secondary compression / decompression module 176, image editing module 177, system I / F 179, local bus control 180, parallel bus control 171, serial port control 175, serial port 174, and network. Control 178 is provided. The secondary compression / decompression module 176, the image editing module 177, the parallel bus control 171, the serial port control 175, and the network control 178 are connected to the access control 172 via DMAC (direct memory access control).

システムI/F 179はシステムコントローラ1に対する命令またはデータの送受信をおこなう。基本的に、システムコントローラ1はACP全体を制御する。また、システムコントローラ1はMEM,HDDの資源配分を管理し、他のユニットの制御は、システムI/F 179、パラレルバス制御171およびパラレルバスPbを介しておこなう。   The system I / F 179 sends and receives commands or data to and from the system controller 1. Basically, the system controller 1 controls the entire ACP. The system controller 1 manages the resource allocation of the MEM and the HDD, and controls other units via the system I / F 179, the parallel bus control 171 and the parallel bus Pb.

ACPの各ユニットは基本的にパラレルバスPbに接続されている。したがって、パラレルバス制御171は、バス占有の制御をおこなうことによってシステムコントローラ1およびMEM,HDDに対するデータの送受信を管理する。   Each unit of the ACP is basically connected to the parallel bus Pb. Therefore, the parallel bus control 171 controls transmission and reception of data to and from the system controller 1 and the MEM and HDD by controlling the bus occupation.

ネットワーク制御178は、LANとの接続を制御する。ネットワーク制御178は、ネットワークに接続された外部拡張機器に対するデータの送受信を管理する。ここで、システムコントローラ1は、ネットワーク上の接続機器の動作管理には関与しないが、IMACにおけるインターフェースについては制御をおこなう。特に限定しないが、本実施例では、100BASE−Tに対する制御が付加されている。   The network control 178 controls connection with the LAN. The network control 178 manages transmission and reception of data to and from an external extension device connected to the network. Here, the system controller 1 does not participate in the operation management of the connected devices on the network, but controls the IMAC interface. Although not particularly limited, in the present embodiment, control for 100BASE-T is added.

シリアルバスに接続されるシリアルポート174は複数のポートを備えている。シリアルポート制御175は、用意されているバスの種類に対応する数のポート制御機構を備えている。特に限定しないが、本実施例では、USBおよび1284に対するポート制御を行う。また、外部シリアルポートとは別に、操作部とのコマンド受け付けまたは表示に関するデータの送受信の制御を行う。   The serial port 174 connected to the serial bus has a plurality of ports. The serial port control 175 has a number of port control mechanisms corresponding to the types of buses provided. Although not particularly limited, in the present embodiment, port control for USB and 1284 is performed. In addition to the external serial port, it controls transmission / reception of data related to command reception or display with the operation unit.

ローカルバス制御180は、システムコントローラ1を起動させるために必要なRAM4,不揮発メモリ5およびプリンタコードデータを展開するフォントROM6が接続されたローカルシリアルバスRbとのインターフェースをおこなう。   The local bus control 180 interfaces with a local serial bus Rb to which a RAM 4 and a nonvolatile memory 5 necessary for activating the system controller 1 and a font ROM 6 for developing printer code data are connected.

動作制御は、システムI/F 179からシステムコントローラ1によるコマンド制御を実施する。データ制御はMEM,HDDを中心に、外部ユニットからのMEM,HDDアクセスを管理する。画像データはCDICからパラレルバスPbを介してIMACに転送される。そして、その画像データはパラレルバス制御171においてIMAC内に取り込まれる。   The operation control executes command control by the system controller 1 from the system I / F 179. Data control manages MEM and HDD accesses from external units, centering on the MEM and HDD. The image data is transferred from the CDIC to the IMAC via the parallel bus Pb. Then, the image data is taken into the IMAC by the parallel bus control 171.

取り込まれた画像データのメモリアクセスは、システムコントローラ1の管理から離れる。すなわち、そのメモリアクセスは、システム制御から独立してダイレクトメモリアクセス制御(DMAC)によりおこなわれる。MEM,HDDへのアクセスについて、アクセス制御172は複数ユニットからのアクセス要求の調停をおこなう。そして、メモリ制御173は、MEM,HDDのアクセス動作またはデータの読み出し/書き込みを制御する。   The memory access of the fetched image data is separated from the management of the system controller 1. That is, the memory access is performed by direct memory access control (DMAC) independently of system control. Regarding access to the MEM and HDD, the access control 172 arbitrates access requests from a plurality of units. Then, the memory control 173 controls the access operation of the MEM and the HDD or the reading / writing of data.

ネットワークからMEM,HDDへアクセスする場合、ネットワークからネットワーク制御178を介してIMAC内に取り込まれたデータは、ダイレクトメモリアクセス制御DMACによりMEM,HDDへ転送される。アクセス制御172は、複数ジョブでのMEM,HDDへのアクセスの調停をおこなう。メモリ制御173は、MEM,HDDに対するデータの読み出し/書き込みをおこなう。   When accessing the MEM and HDD from the network, the data taken into the IMAC from the network via the network control 178 is transferred to the MEM and HDD by the direct memory access control DMAC. The access control 172 arbitrates access to the MEM and HDD in a plurality of jobs. The memory control 173 reads / writes data from / to the MEM and HDD.

シリアルバスからMEM,HDDへアクセスする場合、シリアルポート制御175によりシリアルポート174を介してIMAC内に取り込まれたデータは、ダイレクトメモリアクセス制御DMACによりMEM,HDDへ転送される。アクセス制御172は、複数ジョブでのMEM,HDDへのアクセスの調停をおこなう。メモリ制御173は、MEM,HDDに対するデータの読み出し/書き込みをおこなう。   When accessing the MEM and the HDD from the serial bus, the data fetched into the IMAC through the serial port 174 by the serial port control 175 is transferred to the MEM and the HDD by the direct memory access control DMAC. The access control 172 arbitrates access to the MEM and HDD in a plurality of jobs. The memory control 173 reads / writes data from / to the MEM and HDD.

ネットワークまたはシリアルバスに接続されたPCからのプリント出力データは、システムコントローラ1により、ローカルバス上のフオントデータを用いて、MEM,HDD内のメモリエリアに展開される。   Print output data from a PC connected to a network or a serial bus is developed by the system controller 1 in a memory area in the MEM or HDD using font data on the local bus.

各外部ユニットとのインターフェースについては、システムコントローラ1が管理する。IMAC内に取り込まれた後のデータ転送については、図5に示すそれぞれのDMACがメモリアクセスを管理する。この場合、各DMACは、お互いに独立してデータ転送を実行するため、アクセス制御172は、MEM,HDDへのアクセスに関するジョブの衝突、または各アクセス要求に対する優先付けをおこなう。   The system controller 1 manages the interface with each external unit. For the data transfer after being taken into the IMAC, each DMAC shown in FIG. 5 manages the memory access. In this case, since the DMACs execute data transfer independently of each other, the access control 172 performs a job collision regarding access to the MEM and the HDD, or prioritizes each access request.

ここで、MEM,HDDへのアクセスには、各DMACによるアクセスの他に、格納データのビットマップ展開のためにシステムI/F 179を介してシステムコントローラ1からのアクセスも含まれる。アクセス制御172において、MEM,HDDへのアクセスが許可されたDMACデータ、またはシステムI/F 179からのデータは、メモリ制御173によりMEM,HDDに直接転送される。   Here, the access to the MEM and the HDD includes an access from the system controller 1 via the system I / F 179 for bitmap expansion of the stored data, in addition to the access by each DMAC. In the access control 172, DMAC data permitted to access the MEM and the HDD or data from the system I / F 179 is directly transferred to the MEM and the HDD by the memory control 173.

IMACは、その内部でのデータ加工に関して2次圧縮/伸張モジュール176および画像編集モジュール177を有する。2次圧縮/伸張モジュール176は、画像データまたはコードデータをMEM,HDDへ有効に蓄積できるようにデータの圧縮および伸張をおこなう。2次圧縮/伸張モジュール176はDMACによりMEM,HDDとのインターフェースを制御する。   IMAC has a secondary compression / decompression module 176 and an image editing module 177 for data processing therein. The secondary compression / decompression module 176 compresses and decompresses data so that image data or code data can be effectively stored in the MEM or HDD. The secondary compression / expansion module 176 controls the interface with the MEM and HDD by the DMAC.

MEM,HDDに一旦格納された画像データは、ダイレクトメモリアクセス制御DMACによりMEM,HDDからメモリ制御173、アクセス制御172を介して2次圧縮/伸張モジュール176に呼び出される。そこでデータ変換された画像データは、ダイレクトメモリアクセス制御DMACにより、MEM,HDDへ戻されるか、外部バスへ出力される。   The image data once stored in the MEM and HDD is called by the secondary compression / decompression module 176 from the MEM and HDD via the memory control 173 and the access control 172 by the direct memory access control DMAC. Then, the converted image data is returned to the MEM or HDD or output to an external bus by the direct memory access control DMAC.

画像編集モジュール177は、DMACによりMEM,HDDを制御し、MEM,HDD内でのデータ加工をおこなう。具体的には、画像編集モジュール177は、メモリ領域のクリアの他に、データ加工として画像データの回転処理,異なる画像同士の合成などをおこなう。画像編集モジュール177は、MEM,HDDから2次圧縮データを読出して2次圧縮/伸張モジュール176で1次圧縮データに伸張し、モジュール177内で、CDICのデータ伸張163と同じ復号化ロジックで1次圧縮データを画像データに伸張してモジュール177内のメモリに展開し、それを加工する。加工した画像データは、CDICの1次圧縮ロジックと同じ符号化ロジックで1次圧縮して、2次圧縮/伸張モジュール176で更に2次圧縮してMEM,HDDに書込む。   The image editing module 177 controls the MEM and the HDD by the DMAC, and performs data processing in the MEM and the HDD. Specifically, the image editing module 177 performs not only the clearing of the memory area, but also the rotation processing of the image data and the synthesis of different images as data processing. The image editing module 177 reads the secondary compressed data from the MEM and HDD, and decompresses the primary compressed data by the secondary compression / decompression module 176. In the module 177, the image is decompressed by the same decoding logic as the data decompression 163 of CDIC. The next compressed data is decompressed into image data, expanded into a memory in the module 177, and processed. The processed image data is primarily compressed by the same encoding logic as the CDIC primary compression logic, and further secondary-compressed by the secondary compression / expansion module 176, and written to the MEM and HDD.

図6に、IPPの画像処理概略を示す。読み取り画像はSBU,CDICを介してIPPの入力I/F(インターフェース)から「スキャナ画像処理」190へ伝達される。この「スキャナ画像処理」190は、読み取り画像信号の読み取り劣化補正が目的で、シェーディング補正を行った後にスキャナガンマ変換等を行った後にCDICにデータは転送されて、MEMでの蓄積が行われる。MEMに蓄積し、そして読み出された画像データは、CDICを経由して再びIPPに転送される。ここで「地肌除去補正処理」が行われる。そして「画質処理」300が行われる。   FIG. 6 shows an outline of image processing of IPP. The read image is transmitted from the input I / F (interface) of the IPP to “scanner image processing” 190 via SBU and CDIC. The purpose of this “scanner image processing” 190 is to correct the reading degradation of the read image signal. After performing shading correction and then performing scanner gamma conversion and the like, the data is transferred to the CDIC and stored in the MEM. The image data stored in the MEM and read out is transferred to the IPP again via the CDIC. Here, “background removal correction processing” is performed. Then, “image quality processing” 300 is performed.

図7に、IPPの画像処理機能の概要を示す。IPPは分離生成(画像が文字領域か写真領域かの判定:像域分離)192,地肌除去193,スキャナガンマ変換194,フィルタ195,色補正302,変倍303,画像加工304,プリンタガンマ変換305および階調処理606を行う。IPPは画像処理をおこなうプログラマブルな演算処理手段である。スキャナ10の出力I/F12からCDICに入力された画像データは、CDICを経由してIPPに転送され、IPPにて光学系およびデジタル信号への量子化に伴う信号劣化(スキャナ系の信号劣化)を補正され、再度、CDICへ出力(送信)される。CDICからIPPへ戻される画像データに対して、IPPにおいては、「画質処理」300を行う。「画質処理」300では、色補正302でRGB信号をYMCK信号に色変換し、変倍303,画像加工304,プリンタガンマ変換305および、階調変換,ディザ処理もしくは誤差拡散処理などの階調処理306などをおこなう。   FIG. 7 shows an outline of the image processing function of the IPP. IPP is a separation generation (determination of whether an image is a text area or a photograph area: image area separation) 192, background removal 193, scanner gamma conversion 194, filter 195, color correction 302, scaling 303, image processing 304, printer gamma conversion 305 And a gradation process 606 is performed. IPP is a programmable arithmetic processing unit that performs image processing. Image data input to the CDIC from the output I / F 12 of the scanner 10 is transferred to the IPP via the CDIC, and the IPP performs signal degradation due to quantization into optical systems and digital signals (signal degradation of the scanner system). Is corrected and output (transmitted) to the CDIC again. In the IPP, “image quality processing” 300 is performed on the image data returned from the CDIC to the IPP. In the “image quality processing” 300, the RGB signal is color-converted into a YMCK signal by a color correction 302, and a scaling 303, image processing 304, printer gamma conversion 305, and gradation processing such as gradation conversion, dither processing, or error diffusion processing are performed. 306 and so on.

図8に、IPPの内部構成の概要を示す。IPPは、スキャナSCRの出力I/FからCDICを介しての画像データの受け入れならびにCDICに対する画像データの入出力は入出力ポート141で行う。入出力画像データは、バススイッチおよびバッファメモリを含むデータバッファ又は入出力データレジスタ142に一旦格納してから、SIMD型プロセッサ143のメモリ制御を介してプロセッサアレイ144に入力され、あるいはCDICに出力される。IPPを制御するデータならびにIPPの画像処理プログラム(プログラムと処理パラメータ)は、HDDにあり、システムコントローラ1,CDICあるいはプロセスコントローラ131の転送制御によって、ホストバッファ147に与えられ、データRAM146およびプログラムRAM145に書込まれる。   FIG. 8 shows an outline of the internal configuration of the IPP. The IPP accepts image data from the output I / F of the scanner SCR via the CDIC and inputs / outputs image data to / from the CDIC through an input / output port 141. The input / output image data is temporarily stored in a data buffer or input / output data register 142 including a bus switch and a buffer memory, and then input to the processor array 144 via the memory control of the SIMD type processor 143 or output to the CDIC. You. The data for controlling the IPP and the image processing program (programs and processing parameters) of the IPP are stored in the HDD, given to the host buffer 147 by the transfer control of the system controller 1, the CDIC or the process controller 131, and stored in the data RAM 146 and the program RAM 145. Written.

図9に、プロセッサアレイ144の内部の一部分の構成を示す。この実施例では、プロセッサアレイ144は、SIMD(Single Instruction stream Multiple Data stream)型プロセッシングエレメント(PE)群であり、複数のデータに対し、単一の命令を並列に実行させるもので、各プロセッシングエレメントPE(PE1,PE2,PE3,・・・)が各データを処理する。それぞれのプロセッシングエレメントPE(以下では単にPEと表記することもある)は、自己宛てのデータを格納する入出力レジスタ150、他のPEのレジスタをアクセスするためのマルチプレクサ(以下ではMUXと表記)151、論理演算器(以下ではALUと表記)153、論理結果を格納するアキュムレータレジスタ(以下では単にアキュムレータ)154、アキュムレータ154の内容を一時的に退避させるテンポラリレジスタ155から構成される。   FIG. 9 shows a configuration of a part of the inside of the processor array 144. In this embodiment, the processor array 144 is a group of single instruction stream multiple data stream (SIMD) type processing elements (PE), and executes a single instruction for a plurality of data in parallel. The PEs (PE1, PE2, PE3,...) Process each data. Each processing element PE (hereinafter sometimes simply referred to as PE) includes an input / output register 150 for storing data addressed to itself, and a multiplexer (hereinafter referred to as MUX) 151 for accessing a register of another PE. , A logical operation unit (hereinafter referred to as ALU) 153, an accumulator register (hereinafter simply referred to as an accumulator) 154 for storing a logical result, and a temporary register 155 for temporarily saving the contents of the accumulator 154.

各入出力レジスタ150はアドレスバスおよびデータバス(リード線およびワード線)に接続されており、処理を規定する命令コード,処理の対象となるデータ等を格納する。入出力レジスタ150の内容はALU153に入力され、演算処理結果はアキュムレータ154に格納される。結果をPE外部に取り出すために、テンポラリレジスタ155に一旦退避させ、入出力レジスタ150(の出力レジスタに割当てたものR5)に書込み、各PEの結果データを順次に(シリアルに)出力することにより、対象データに対する処理結果がラスタ(シリアル転送)形式で得られる。   Each input / output register 150 is connected to an address bus and a data bus (a read line and a word line), and stores an instruction code defining a process, data to be processed, and the like. The contents of the input / output register 150 are input to the ALU 153, and the operation processing result is stored in the accumulator 154. In order to take the result out of the PE, the result is temporarily saved in the temporary register 155, written into the input / output register 150 (the one assigned to the output register R5), and the result data of each PE is sequentially (serially) output. The processing result for the target data is obtained in a raster (serial transfer) format.

命令コードは各PEに同一内容で与え、個々に異なる処理対象データをPEごとに与え、隣接PEの入出力レジスタ150の内容をMUX151において参照することで、各PEは、他のPEが保持する処理対象データを参入した演算も行うことができる。演算結果はアキュムレータ154に出力される。全PEは同時に同じ命令コードに従う同じ演算を行う。すなわち並列処理する。   The instruction code is given to each PE with the same contents, different processing target data is given to each PE, and the contents of the input / output register 150 of the adjacent PE are referred to in the MUX 151, whereby each PE is held by another PE. Calculations involving data to be processed can also be performed. The calculation result is output to accumulator 154. All PEs simultaneously perform the same operation according to the same instruction code. That is, they are processed in parallel.

たとえば、画像データ1ラインの内容を各画素ごとにPEに配置し、同一の命令コードで演算処理させれば、1画素づつ逐次処理するよりも短時間で1ライン分の処理結果が得られる。特に、空間フィルタ処理、シェーディング補正処理,属性検出処理はPEごとの命令コードは演算式そのもので、PE全てに共通に処理を実施することができる。   For example, if the contents of one line of image data are arranged in the PE for each pixel and arithmetic processing is performed using the same instruction code, a processing result for one line can be obtained in a shorter time than when processing is performed sequentially for each pixel. In particular, in the spatial filter processing, the shading correction processing, and the attribute detection processing, the instruction code for each PE is the operation expression itself, and the processing can be performed in common for all PEs.

入出力レジスタ150には、その外部からの入力データを入力可能、さらに外部への出力可能な各8ビット構成のレジスタが複数個ある。ALU153は、入出力レジスタ150からデータをロードして演算可能かつ、演算結果を入出力レジスタ150に格納可能な16bitALUであり、アキュムレータ154とテンポラリレジスタ155も16bit構成である。また各ALUはTレジスタ1bitを持ちその値によって各々のALUがプログラム処理を実行するか否かを独立に選択する。   The input / output register 150 includes a plurality of registers each having an 8-bit configuration that can receive input data from the outside and output the data to the outside. The ALU 153 is a 16-bit ALU capable of loading data from the input / output register 150 and performing calculations and storing the calculation result in the input / output register 150. The accumulator 154 and the temporary register 155 also have a 16-bit configuration. Also, each ALU has a 1-bit T register and independently selects whether or not each ALU executes a program process according to its value.

上記構成のPEが並列に複数個並び、単一のプログラムにしたがって並列に動作する。以下では、1画素の画像データを1PEで変換するとし、1ラスタ上の、1ブロックの画像データ群を同時にガンマ変換するデータ変換を説明する。このガンマ変換は、スキャナガンマ変換194(図7)およびプリンタガンマ変換305(図7)で行われるが、スキャナガンマ変換194とプリンタガンマ変換305では、別個の、画像処理特性規定データである変換特性規定データセットが用いられる。これらの変換特性規定データセットおよびそれを用いる、画像処理用制御データであるデータ変換制御プログラムはHDDに登録されている。   A plurality of PEs having the above configuration are arranged in parallel, and operate in parallel according to a single program. In the following, it is assumed that image data of one pixel is converted by one PE, and data conversion for simultaneously gamma-converting a group of image data of one block on one raster will be described. This gamma conversion is performed by the scanner gamma conversion 194 (FIG. 7) and the printer gamma conversion 305 (FIG. 7). A specified data set is used. These conversion characteristic defining data sets and a data conversion control program which is image processing control data using the data sets are registered in the HDD.

スキャナ10による原稿画像読取のときには、スキャナガンマ変換194を含むスキャナ画像処理190のための制御プログラムおよび参照データが、HDDから読み出されてIPPのプログラムRAM146および外部データRAM145に書込まれる。グローバルプロセッサ148が、プログラムRAM146および外部データRAM145のデータに基いて、スキャナ画像処理190(図7)を行う。   When a document image is read by the scanner 10, a control program and reference data for the scanner image processing 190 including the scanner gamma conversion 194 are read out from the HDD and written into the program RAM 146 of the IPP and the external data RAM 145. The global processor 148 performs scanner image processing 190 (FIG. 7) based on the data in the program RAM 146 and the external data RAM 145.

プリンタ100による画像のプリントアウトのときには、プリンタガンマ変換305を含むプリンタ画質処理300(図7)のための制御プログラムおよび参照データが、HDDから読み出されてIPPのプログラムRAM146および外部データRAM145に書込まれる。グローバルプロセッサ148が、プログラムRAM146および外部データRAM145のデータに基いて、プリンタ画質処理300を行う。   When an image is printed out by the printer 100, a control program and reference data for the printer image quality processing 300 (FIG. 7) including the printer gamma conversion 305 are read out from the HDD and written into the program RAM 146 of the IPP and the external data RAM 145. Be included. The global processor 148 performs the printer image quality processing 300 based on the data in the program RAM 146 and the external data RAM 145.

以下では、スキャナガンマ変換194とプリンタガンマ変換305に共通のガンマ変換処理を説明する。   Hereinafter, a gamma conversion process common to the scanner gamma conversion 194 and the printer gamma conversion 305 will be described.

図10に、図8および図9に示すグローバルプロセッサ148の、プログラムRAM145に書込んだガンマ変換プログラムに基く、画像面の1ライン上の、プロセッサアレイ144で同時並行処理ができる長さ(個数)分(1ブロック)の画像データ群のガンマ変換処理制御の概要を示す。   FIG. 10 shows the length (number) of the global processor 148 shown in FIG. 8 and FIG. 9 based on the gamma conversion program written in the program RAM 145, on one line of the image plane, in which the processor array 144 can perform simultaneous and parallel processing. The outline of gamma conversion processing control of the image data group of one minute (one block) will be described.

1ブロックの画像データ群のガンマ変換制御の最初において、プロセッサ148は、1ブロックの画像データ群の各画像データをプロセッサアレイ144の各PEの入力画像データレジスタR0に書込む(ステップs1)。なお、以下においては、括弧内には、ステップという語を省略して、ステップ識別符号のみを記す。   At the beginning of the gamma conversion control for one block of image data, the processor 148 writes each image data of one block of image data to the input image data register R0 of each PE of the processor array 144 (step s1). In the following, the word “step” is omitted in parentheses, and only the step identification code is described.

次にプロセッサ148は、プロセッサアレイ144の各PEに対して、各レジスタR0にある画像データの属性データの算出(属性検出制御)を行う(s21)。   Next, the processor 148 calculates the attribute data of the image data in each register R0 (attribute detection control) for each PE of the processor array 144 (s21).

−属性データの算出(s21)−
属性データの算出(s21)では、変換対象の画像データ(注目画像データ)と、該画像データが宛てられている注目画素の周辺画素に宛てられている画像データ(周辺画像データ)との濃度差を強調して算出する。算出に使用する空間フイルタの重み付け係数の一例を、図15の(d)に示す。使用する空間フイルタは、注目画像データCCの左,右3隣りの画像データL1〜L3,U1〜U3を参照し、各々に重み係数を持たせた畳みこみ演算を行う。その係数を、図15の(d)の四角升目の中に示すように、次のように割当てている;
左3の画像データ(L3):−3
左2の画像データ(L2):−1
左1の画像データ(L1): 2
注目画像データ (CC): 4
右1の画像データ(U1): 2
右2の画像データ(U2):−1
右3の画像データ(U3):−3、
これらの係数の総和は0である。
-Calculation of attribute data (s21)-
In the calculation of the attribute data (s21), the density difference between the image data to be converted (image data of interest) and the image data (peripheral image data) addressed to the peripheral pixels of the pixel of interest to which the image data is addressed Is calculated with emphasis. FIG. 15D shows an example of the weighting coefficient of the spatial filter used for the calculation. The spatial filter to be used refers to the image data L1 to L3 and U1 to U3 on the left and right of the target image data CC and performs a convolution operation in which each has a weight coefficient. The coefficients are assigned as follows, as shown in the squares in FIG.
Left 3 image data (L3): -3
Left 2 image data (L2): -1
Left image data (L1): 2
Featured image data (CC): 4
Right 1 image data (U1): 2
Right 2 image data (U2): -1
Right 3 image data (U3): -3,
The sum of these coefficients is zero.

上記係数を元に、注目画像データに対して、
属性指標値=L3×(−3)+L2×(−1)+L1×(2)+CC×(4)
+U1×(2)+U2×(−1)+U3×(−2)
を算出する。上記係数の総和が0であるので、全画素L3〜L1,CC,U1〜U3が同一濃度の場合、算出値すなわち属性指標値は0になる。属性指標値は、注目画像データが周辺画像データに対して急峻な変化であるか否を表すものである。この値を例えば閾値128で量子化(2値化)して属性データとする。この量子化レベルの数(2)を属性レベル数mとする。
Based on the above coefficients,
Attribute index value = L3 × (−3) + L2 × (−1) + L1 × (2) + CC × (4)
+ U1 × (2) + U2 × (−1) + U3 × (−2)
Is calculated. Since the sum of the coefficients is 0, if all the pixels L3 to L1, CC, and U1 to U3 have the same density, the calculated value, that is, the attribute index value is 0. The attribute index value indicates whether or not the image data of interest is a sharp change with respect to the peripheral image data. This value is quantized (binarized) by, for example, a threshold value 128 to obtain attribute data. The number of quantization levels (2) is defined as the number m of attribute levels.

この例では、
属性指標値>128: 属性データ=「1」,
属性指標値≦128: 属性データ=「0」
とする。例えば文字と写真が混在した画像データ群の中の文字部のエッジ付近の画像データに対して、属性指標値が大きい値になって、属性データ=「1」となる。写真部の滑らかな階調変化部では属性指標値が小さい値になって、属性データ=「0」となる。一般的に、文字部には、エッジを強調する(鮮明にする)ガンマ変換特性を用い、写真部には、急激な濃度変化を抑制するガンマ変換特性を用いる。
In this example,
Attribute index value> 128: Attribute data = “1”,
Attribute index value ≦ 128: Attribute data = “0”
And For example, for image data near the edge of a character portion in an image data group in which characters and photographs are mixed, the attribute index value becomes a large value, and the attribute data = “1”. In the smooth gradation change portion of the photograph portion, the attribute index value becomes a small value, and the attribute data = "0". Generally, a gamma conversion characteristic that emphasizes (clearens) edges is used for a character portion, and a gamma conversion characteristic that suppresses a rapid change in density is used for a photograph portion.

属性データの算出(s21)では、グローバルプロセッサ148は、全PEの属性レジスタR4をクリアしてから、全PEに、前記L3,L2,L1,CC,U1,U2およびU3の1つを選択できるMUX151,ALU153,アキュムレータ154およびテンポラリレジスタ155を用いての、前記属性指標値算出式の、第1項「L3×(−2)」の算出、第2項「L2×(−1)」の算出と先に算出した第1項「L3×(−2)」との加算,第3項「L1×(2)」の算出と先の加算値「L3×(−2)+L2×(−1)」との加算,・・・,第7項「U3×(−2)」の算出と先の加算値「L3×(−2)+L2×(−1)+L1×(2)+CC×(4)+U1×(2)+U2×(−1)」との加算を順次に行わせて、これによって得られた加算値=属性指標値より128を減算させて、減算により得た値が正であると「1」を、属性レジスタR4に書込ませる。   In the calculation of the attribute data (s21), the global processor 148 can select one of the L3, L2, L1, CC, U1, U2, and U3 for all PEs after clearing the attribute register R4 of all PEs. Using the MUX 151, the ALU 153, the accumulator 154, and the temporary register 155, calculating the first term “L3 × (−2)” and calculating the second term “L2 × (−1)” of the attribute index value calculation formula And the first term “L3 × (−2)” calculated previously, the third term “L1 × (2)” calculated and the previously added value “L3 × (−2) + L2 × (−1)” ,..., Calculation of the seventh item “U3 × (−2)” and the preceding added value “L3 × (−2) + L2 × (−1) + L1 × (2) + CC × (4) + U1 × (2) + U2 × (−1) ”are sequentially performed, thereby obtaining Addition value = by the attribute index value from 128 is subtracted, the "1" and the value obtained is positive by subtraction, thereby written into the attribute register R4.

次にプロセッサ148は、外部データRAM146から全PEへのデータ送出をRAM146に設定する。そして、全PEに、その属性数レジスタRMおよび区間数レジスタRNへの、外部データRAM146にある属性レベル数m=2および区間数n=8の書込みを指示する(s22)。これにより、全PEの属性数レジスタRMおよび区間数レジスタRNに属性レベル数m=2および区間数n=8が書きこまれる。   Next, the processor 148 sets the data transmission from the external data RAM 146 to all the PEs in the RAM 146. Then, all the PEs are instructed to write the attribute level number m = 2 and the section number n = 8 in the external data RAM 146 to the attribute number register RM and the section number register RN (s22). As a result, the attribute level number m = 2 and the section number n = 8 are written in the attribute number register RM and the section number register RN of all PEs.

次にプロセッサ148は、全PEに、属性数レジスタRMの値を1デクレメント(1を減算し結果値に更新)させる(s23)。この属性数レジスタRMのデータは、外部データRAM146上の、属性データ宛ての変換特性規定データセットを指定するデータとして用いられる。これを順次デクレメントすることにより、各属性データ宛ての変換特性規定データセットが順次に切換え指定される。   Next, the processor 148 causes all PEs to decrement the value of the attribute number register RM by 1 (subtract 1 to update the result value) (s23). The data of the attribute number register RM is used as data for specifying a conversion characteristic defining data set addressed to the attribute data on the external data RAM 146. By sequentially decrementing the data, the conversion characteristic defining data sets addressed to each attribute data are sequentially switched and designated.

次に各PEは、プロセッサ148からの比較命令に従って、属性レジスタR4の属性データが属性数レジスタRMの属性レベルm=2より1を減算した値1と等しいかの判定をする比較演算をして、等しいと変換特性規定データ読込命令に応答可を指定する「1」をTレジスタに書込み、異なると変換特性規定データ読込禁止を指定する「0」を、Tレジスタに書込む(s24)。   Next, each PE performs a comparison operation to determine whether or not the attribute data of the attribute register R4 is equal to a value 1 obtained by subtracting 1 from the attribute level m = 2 of the attribute number register RM according to a comparison instruction from the processor 148. If the values are equal, "1" designating response to the conversion characteristic definition data read command is written to the T register, and if different, "0" designating conversion characteristic specification data read inhibition is written to the T register (s24).

次にプロセッサ148は、ステップs25,s2〜s9で、ステップs23で設定した属性データに宛てられている変換特性規定データセットの中の、入力画像データレジスタR0にある画像データが属する区間に宛てられた変換特性規定データを、特性レジスタR1〜R3に書込む演算パラメータの設定を行う。これに応答して演算パラメータの設定を行うPEは、Tレジスタのデータが「1」のもののみである。TレジスタはALU153が1bitづつ持ち、Tレジスタの値が1のALU153のみが、グローバルレジスタ149の命令データが指定する処理を実行することができる。   Next, in steps s25 and s2 to s9, the processor 148 sends the conversion characteristic defining data set addressed to the attribute data set in step s23 to the section to which the image data in the input image data register R0 belongs. The calculation parameters for writing the conversion characteristic defining data into the characteristic registers R1 to R3 are set. In response to this, only the PE for which the data of the T register is “1” is used to set the operation parameters. The ALU 153 has one bit for the T register, and only the ALU 153 whose T register value is 1 can execute the process specified by the instruction data of the global register 149.

−ガンマ変換式−
本実施例は、ガンマ変換の入出力特性曲線を折線直線近似により、たとえば図15の(a)に示すものとし、変換式を1次式としている。図15の(a)に示す例では、入出力データの範囲を共に、8ビットデータで表すことができる0〜255とし、この範囲を、第1分割区間(P〜P)〜第8区間(P〜P)に分割している。分割境界のx,y座標値と、分割区間の直線の勾配を表す変換係数を図15の(b)のように表わす。ここで、x座標軸は入力データ軸、y座標軸が出力データ軸である。
−Gamma conversion formula−
In this embodiment, the input / output characteristic curve of the gamma conversion is represented by, for example, FIG. 15A by a broken line approximation, and the conversion equation is a linear equation. In the example shown in FIG. 15A, the range of input and output data is 0 to 255, which can be represented by 8-bit data, and this range is defined as the first divided section (P 0 to P 1 ) to the eighth. It is divided into sections (P 7 ~P 8). The x and y coordinate values of the division boundary and the transformation coefficient representing the gradient of the straight line in the division section are represented as shown in FIG. Here, the x coordinate axis is the input data axis, and the y coordinate axis is the output data axis.

図15の(b)に示すものが、1つの属性データ(例えば属性データ=1)に宛てられた変換特性規定データセットであり、属性データ=1に宛てたものと、属性データ=0に宛てたもの、合せて2セットが、外部データRAM146に書込まれている。変換特性規定データセットの中の一組のデータ{(x,y),a}、たとえば{P(x,y),a}、が1区間に宛てられた変換特性規定データである。 FIG. 15B shows a conversion characteristic defining data set addressed to one attribute data (for example, attribute data = 1), one for attribute data = 1 and one for attribute data = 0. In addition, two sets in total are written in the external data RAM 146. A set of data {(x i , y i ), a i }, for example, {P 7 (x 7 , y 7 ), a 7 }, in the conversion property defining data set, is assigned to one section. This is prescribed data.

ここで変換式を一般化して説明すると、本実施例では一般的に使用されている曲線のガンマカーブを入力濃度範囲のn=8分割した各々の区間ごとに直線の一次式で近似する。ここで区間座標をP(x,y)、区間内の近似直線の係数をaとする。ただし係数aは2点間の座標より(yn+1―y)/(xn+1―x)で求められる。よって、
出力濃度=a(入力濃度―x)+y
でもとめられる。ただし出力濃度を256階調に量子化しなければならない場合すなわち8ビットデータで表わす場合には、
出力濃度=int{a(入力濃度―x)+y
で求められる。int{・・・}は、{・・・}内の値の、整数部分のみを意味する。上記「出力濃度」が変換後データ(y)で表され、「入力濃度」が変換対象データ(x)で表されるものである。前記式で変換するためには入力濃度(入力画像データ)が属する区間の区間座標および係数を決定しなければならない。つまり入力濃度がどの区間に相当するかを決定する必要がある。
Here, the conversion formula will be generalized and described. In this embodiment, a gamma curve of a commonly used curve is approximated by a linear expression of a straight line for each of n = 8 sections of the input density range. Here interval coordinates P n (x n, y n ), the coefficients of the approximate straight line in the interval to a n. However coefficient a is determined by from the coordinates of two points (y n + 1 -y n) / (x n + 1 -x n). Therefore,
Output density = a n (input density -x n) + y n
But it is stopped. However, when the output density must be quantized to 256 gradations, that is, when the output density is represented by 8-bit data,
Output density = int {a n (input density -x n) + y n}
Is required. int}... means only the integer part of the value in {. The “output density” is represented by converted data (y), and the “input density” is represented by conversion target data (x). In order to perform conversion using the above expression, it is necessary to determine section coordinates and coefficients of a section to which the input density (input image data) belongs. That is, it is necessary to determine which section the input density corresponds to.

−演算パラメータの設定−
プロセッサ148は、区間数データn=8の読込を全PEに指示し、T=「1」のPEのみが、外部データRAM146の区間数データn=8を区間数レジスタRNに書込む(s25,s2)。
−Setting of calculation parameters−
The processor 148 instructs all PEs to read the section number data n = 8, and only the PE with T = “1” writes the section number data n = 8 of the external data RAM 146 to the section number register RN (s25, s2).

次にプロセッサ148は、全PEに、区間数レジスタRNの値を1デクレメントする命令を与える(s3)。区間数レジスタRNには、区間数n=8が初期値としてロードされており、これを順次デクレメントすることにより、
第8区間用の変換特性規定データ{P(x,y),a}の指定,
第7区間用の変換特性規定データ{P(x,y),a}の指定,
第6区間用の変換特性規定データ{P(x,y),a}の指定,



第1区間用の変換特性規定データ{P(x,y),a}の指定、
と、変換特性規定データの指定が切換る。
Next, the processor 148 gives an instruction to decrement the value of the section number register RN by 1 to all PEs (s3). The section number register RN is loaded with the section number n = 8 as an initial value, and by sequentially decrementing this,
Designation of conversion characteristic defining data {P 7 (x 7 , y 7 ), a 7 } for the eighth section,
Designation of conversion characteristic defining data {P 6 (x 6 , y 6 ), a 6 } for the seventh section,
Designation of conversion characteristic defining data {P 5 (x 5 , y 5 ), a 5 } for the sixth section,



Designation of conversion characteristic defining data {P 0 (x 0 , y 0 ), a 0 } for the first section;
Then, the designation of the conversion characteristic defining data is switched.

プロセッサ148は、ステップ3に続いて全PEに、外部データRAM146のデータの、特性レジスタR1〜R3の書込みを指示し、全PEの中の、Tレジスタのデータ1のPEのみが、s23およびs3で属性数レジスタRMおよび区間数レジスタに設定した属性数および区間数宛ての変換特性規定データ(xn−1,yn−1,an−1)を、特性レジスタR1〜R3に書込み、入力画像データレジスタの画像データの値(入力濃度)から変換特性規定データの中のx座標値xn−1を減算して、算出した値が0又は正値であると「0」を、負値であると「1」をTレジスタに書込み(s4〜s8)、この処理をステップs3での1デクレメントのむ結果=0まで、繰り返す。 Following step 3, the processor 148 instructs all PEs to write the data of the external data RAM 146 into the characteristic registers R1 to R3, and among the PEs, only the PE of the data 1 in the T register has s23 and s3. Write the conversion characteristic definition data ( xn-1 , yn -1 , an -1 ) addressed to the attribute number and the section number set in the attribute number register RM and the section number register in the characteristic registers R1 to R3 and input them. The x-coordinate value xn-1 in the conversion characteristic defining data is subtracted from the image data value (input density) of the image data register. If the calculated value is 0 or a positive value, "0" is given; , "1" is written to the T register (s4 to s8), and this process is repeated until the result of 1 decrement at step s3 = 0.

この処理過程で、各ALUは、まずステップs3での(−1)減算後区間数nに相当する座標データxn−1,yn−1、係数データan−1を、外部データRAM146の、ステップs23での(−1)減算後属性数mに相当する変換特性規定データセットからグローバルプロセッサ148内のGレジスタ149経由で各ALUが使用する特性レジスタである、座標レジスタR1,R2、係数レジスタR3に転送する(s5)。Gレジスタ149は、全ALUが共通にアクセスすることが可能である。その後、ALU153は、入力画像データレジスタの濃度値から座標レジスタR1のx座標値xn−1を減算する(s6)。使用したx座標値xn−1と係数an−1を再び座標レジスタ、係数レジスタに書き戻す(s7)。その後、減算結果のサインビットをTレジスタに格納する(s8)。この動作をn=0になるまでくり返す(s9)。 In this process, each ALU, first at step s3 (-1) coordinate data x n-1 corresponds to the subtraction after the number section n, y n-1, the coefficient data a n-1, the external data RAM146 The coordinate registers R1 and R2, which are characteristic registers used by each ALU via the G register 149 in the global processor 148, from the conversion characteristic defining data set corresponding to (-1) the number m of attributes after subtraction in step s23, The data is transferred to the register R3 (s5). The G register 149 can be commonly accessed by all ALUs. Thereafter, the ALU 153 subtracts the x coordinate value xn-1 of the coordinate register R1 from the density value of the input image data register (s6). The used x coordinate value x n-1 and coefficient an -1 are written back to the coordinate register and coefficient register again (s7). Thereafter, the sign bit of the subtraction result is stored in the T register (s8). This operation is repeated until n = 0 (s9).

ただし(入力濃度−x)の減算結果からのサインビットが0の時、つまり入力濃度の区間が確認されたALUは、その後のs6、s7、s8の処理はステップs4によってスキップし(実行せず)、1ブロックの入力画像データのそれぞれが割当てられたすべてのPE(のALU)が独立に、必要な座標データと係数データを特性レジスタR1〜R3に格納する。 However, when the sign bit from the subtraction result of (input density-x n ) is 0, that is, in the ALU in which the section of the input density is confirmed, the subsequent processes of s6, s7, and s8 are skipped by step s4 (executed). Instead, all PEs (ALUs) to which each of the input image data of one block is allocated independently store necessary coordinate data and coefficient data in the characteristic registers R1 to R3.

s3〜s9のループを区間数回くり返し、すべてのALUが処理を担当する入力画像データの値(入力濃度)の区間が決定した後、プロセッサ148は、s23でデクレメントした値が0(外部データRAM146からすべての変換特性規定データセット(本実施例では2セット)の送出制御を完了している)であると、プロセッサ148は、int{a(入力濃度―x)+y}の算出を全PEに指示し(s10)、1ブロックのガンマ変換後の画像データ(出力濃度)を外部へ出力する(s11)。 After repeating the loop of s3 to s9 several times, and determining the section of the value (input density) of the input image data for which all the ALUs are in charge of processing, the processor 148 sets the value decremented in s23 to 0 (external data). If it is all conversion characteristics specified data set from RAM146 has completed delivery control (two sets in this embodiment)), the processor 148 calculates the int {a n (input density -x n) + y n} To all the PEs (s10), and outputs the image data (output density) of one block after gamma conversion to the outside (s11).

−演算パラメータの設定例−
入力画像データは8ビット構成としこの入力画像データの濃度範囲0〜255を8等分した場合の、1ブロックの入力画像データ群の、各画像データに対する、s1〜s9による演算パラメータの設定の制御について、図11〜図14を用いて具体的に説明する。この場合の属性数m,区間数n,区間座標および係数データは、図11〜図14に示すように、外部データRAM146にセットされている。
-Calculation parameter setting example-
Control of setting of operation parameters by s1 to s9 for each image data of one block of input image data group when the input image data has an 8-bit configuration and the density range 0 to 255 of the input image data is divided into eight equal parts Will be specifically described with reference to FIGS. In this case, the number of attributes m, the number of sections n, the section coordinates and the coefficient data are set in the external data RAM 146 as shown in FIGS.

プロセッシングエレメントPE1,PE2およびPE3に与えられた入力画像データが、図11のレジスタR0の枠内に示すように、240,200および50であると、全PEのALUが、自分の持つ入力画像データレジスタR0と外部データRAM146上のn=7、x=233、y=220およびP/P間の直線の勾配である演算係数a=35/32を、Gレジスタ経由でロードして、入力画像データからx=233を減算する。この場合PE1は減算結果が正であるためTレジスタに0をセットし(図12参照)、n=6以降の動作は行なわない。 If the input image data given to the processing elements PE1, PE2, and PE3 are 240, 200, and 50 as shown in the frame of the register R0 in FIG. 11, the ALUs of all PEs have their own input image data. The operation coefficient a 7 = 35/32, which is the gradient of a straight line between the register R0 and n = 7, x 7 = 233, y 7 = 220 and P 7 / P 8 on the external data RAM 146, is loaded via the G register. Then, x 7 = 233 is subtracted from the input image data. In this case, since the subtraction result is positive, PE1 sets 0 in the T register (see FIG. 12), and does not perform the operation after n = 6.

PE2,PE3減算結果は負であるためTレジスタには1をセットするため、次のn=6区間の処理を行う。ここでは外部データRAM146中のn=6、x=191、y=200、a=20/32をGレジスタ149経由でロードして減算する。PEのALUでの入力画像データ200からx=191の減算の結果は正であるためTレジスタには0がセットされる(図13)。PE3のALUのTレジスタには1がセットされる。 Since the subtraction result of PE2 and PE3 is negative, the processing of the next n = 6 section is performed to set 1 in the T register. Here, n = 6, x 6 = 191, y 6 = 200, and a 6 = 20/32 in the external data RAM 146 are loaded via the G register 149 and subtracted. Since the result of subtraction of x 6 = 191 from the input image data 200 in the ALU of the PE is positive, 0 is set in the T register (FIG. 13). 1 is set in the T register of the ALU of PE3.

これ以降はPE2のALUはTレジスタが0であるためn=5以降の処理は行わず、特性レジスタR1,R2,R3は書き換えられず区間座標データx=191,y=200、係数データa=20/32は保持される。 Thereafter, since the A register of PE2 has 0 in the T register, the processing after n = 5 is not performed, and the characteristic registers R1, R2, and R3 are not rewritten and the section coordinate data x 6 = 191, y 6 = 200, the coefficient data a 6 = 20/32 is retained.

PE3のALUのみn=1のサイクルまで減算処理を続け、R1=x、R2=y、R3=aがPE3の特性レジスタR1〜R3にセットされる事になる(図14)。 Until ALU only n = 1 cycle of PE3 continued subtraction processing, so that the R1 = x 1, R2 = y 1, R3 = a 1 is set in the characteristic register R1~R3 of PE3 (Figure 14).

n=0までこのサイクルをくり返した後に、各ALUは同時に
int{R3×(R0―R1)+R2}
の演算を行い結果を出力画像データレジスタR5に格納する。
After repeating this cycle until n = 0, each ALU
int {R3 × (R0-R1) + R2}
And the result is stored in the output image data register R5.

−属性データに対応した変換特性の選択−
前述した演算パラメータの設定によって、入力画像データの濃度が属する区間を検査して、区間座標x,y、係数データaを選択する場合、入力濃度が対応する区間である場合、ALUがTレジスタ=1を条件として、特性レジスタR1,R2,R3に外部データRAMから入力濃度に対応した区間座標x,y、係数データaを設定する。
-Selection of conversion characteristics corresponding to attribute data-
When the section to which the density of the input image data belongs is inspected and the section coordinates x and y and the coefficient data a are selected by the setting of the calculation parameters described above, when the input density is the corresponding section, the ALU is set in the T register = Under the condition of 1, the section coordinates x i , y i and coefficient data a i corresponding to the input density are set in the characteristic registers R1, R2, R3 from the external data RAM.

入力画像データの属性に対応して変換特性(変換特性規定データセット)を選択する方式も同様に、Tレジスタのデータを用いている。すなわち、ステップs23で、変換特性規定データセットの指定を順次に切換えて、ステップs24で、指定された変換特性規定データセットを適用する属性データを属性レジスタR4に保持するPEのみがTレジスタに「1」を設定し、ステップs25,s2〜s9で、Tレジスタに「1」を設定しているPEのみが、指定されている変換特性規定データセットの、入力画像データが属する区間に宛てられた変換特性規定データ(xn−1,yn−1,an−1)すなわち演算パラメータを、特性レジスタR1〜R5に設定する。 A method of selecting a conversion characteristic (conversion characteristic defining data set) corresponding to the attribute of the input image data also uses the data of the T register. That is, in step s23, the designation of the conversion characteristic defining data set is sequentially switched, and in step s24, only the PE holding the attribute data to which the specified conversion characteristic defining data set is applied in the attribute register R4 is stored in the T register. 1 ", and in steps s25 and s2 to s9, only the PEs for which" 1 "is set in the T register are addressed to the section of the specified conversion characteristic defining data set to which the input image data belongs. The conversion characteristic defining data ( xn-1 , yn -1 , an -1 ), that is, the operation parameters are set in the characteristic registers R1 to R5.

本実施例では、属性データは0,1の2種類(属性数m=2)である。始めに属性データ1宛ての変換特性規定データセットがステップs23で指定され、全ALUが自分の属性レジスタR4に持つ属性データを確認し、属性データが1の場合のみTレジスタに1をセットし、属性データが1以外の場合はTレジスタに0をセットする。その後前述した、演算パラメータの設定(s3〜s9)を行う。その結果、属性データ=1を持つPEだけが、属性データ1宛ての変換特性規定データセットの中の、入力画像データが属する区間の演算パラメータ(変換特性規定データ)を自己に設定する。   In this embodiment, there are two types of attribute data 0 and 1 (the number of attributes m = 2). First, the conversion characteristic defining data set addressed to the attribute data 1 is specified in step s23, all ALUs check the attribute data held in their own attribute register R4, and if the attribute data is 1, set 1 to the T register. If the attribute data is other than 1, 0 is set in the T register. Thereafter, the above-described calculation parameters are set (s3 to s9). As a result, only the PE having the attribute data = 1 sets the operation parameter (conversion characteristic definition data) of the section to which the input image data belongs in the conversion characteristic definition data set addressed to the attribute data 1 to itself.

次に、ステップs26から、s23に戻って、s23で属性データ0宛ての変換特性規定データセットが指定され、全ALUが自分の属性レジスタR4に持つ属性データを確認し、属性データが0の場合のみTレジスタに1をセットし、属性データが1以外の場合はTレジスタに0をセットする。その後前述した、演算パラメータの設定(s3〜s9)を行う。その結果、属性データ=0を持つPEだけが、属性データ0宛ての変換特性規定データセットの中の、入力画像データが属する区間の演算パラメータを自己に設定する。   Next, returning from step s26 to s23, the conversion characteristic defining data set addressed to the attribute data 0 is specified in s23, all ALUs confirm the attribute data held in their own attribute register R4, and if the attribute data is 0, Only 1 is set in the T register, and 0 is set in the T register when the attribute data is other than 1. Thereafter, the above-described calculation parameters are set (s3 to s9). As a result, only the PE having the attribute data = 0 sets the operation parameter of the section to which the input image data belongs in the conversion characteristic defining data set addressed to the attribute data 0 to itself.

最終的に全ALUにおいて共通の変換演算プログラムを同時に実行することで(s10)、1ブロックの入力画像データ群の画像データのすべてが、各属性データに対応した変換特性で、同時にガンマ変換される。   Finally, the common conversion operation program is simultaneously executed in all the ALUs (s10), and all the image data of the input image data group of one block are simultaneously gamma-converted with the conversion characteristics corresponding to each attribute data. .

−第2実施例−
上述の第1実施例では、プロセッシングエレメントPEのアレイ144で、入力画像データが表わす画像の、文字か写真かの画像特性を、推定演算してそれを表す属性データを各PEで各入力画像データ宛てに算出して属性レジスタR4に書込んでいる。しかしながら一般に、ガンマ変換までに、入力画像データの属性検出をして、入力画像データとともに属性データを転送する画像処理態様もある。
-2nd Example-
In the above-described first embodiment, an array 144 of processing elements PE estimates and calculates an image characteristic of a character or a photograph of an image represented by input image data, and attribute data representing the image characteristic is expressed by each PE in each input image data. The address is calculated and written to the attribute register R4. However, in general, there is also an image processing mode in which the attribute of the input image data is detected before the gamma conversion, and the attribute data is transferred together with the input image data.

本発明の第2実施例は、入力画像データとともに属性データが転送される態様に適合するものであり、第2実施例のハードウエアは第1実施例と同一であり、しかも外部データRAM146に書込むデータ(変換特性規定データセット,続整数m,区間数n)も第1実施例と同一である。しかしながら、プログラムRAM145に書込まれるガンマ変換プログラムが少し異なり、第1実施例で実行する「属性データの算出」s21は無く、代りに属性データの読込み(s21v)がある。   The second embodiment of the present invention is adapted to a mode in which attribute data is transferred together with input image data. The hardware of the second embodiment is the same as that of the first embodiment, and is written in the external data RAM 146. The data to be inserted (conversion characteristic defining data set, continuous integer m, number of sections n) are also the same as in the first embodiment. However, the gamma conversion program written in the program RAM 145 is slightly different, and there is no “calculation of attribute data” s21 executed in the first embodiment, and instead there is reading of attribute data (s21v).

図16に、第2実施例のグローバルプロセッサ145のガンマ変換制御の概要を示す。これにおいては、第1実施例の「属性データの算出」s21が、「属性データIN」s21vに置き変っている。第2実施例では、1ブロックの画像データ群のガンマ変換制御の最初において、プロセッサ148は、1ブロックの画像データ群の各画像データをプロセッサアレイ144の各PEの入力画像データレジスタR0に書込む(s1)。そして、このデータ書込みと同様にして、1ブロックの属性データ群の各属性データを、属性レジスタR4に書込む(s21v)。該1ブロックの属性データ群は、前記1ブロックの画像データ群の各画像データの属性データでなり、入力画像データとともにIPPに転送されて、IPPのローカルメモリ142に、入力画像データブロックとともに書込まれたものである。ステップs1では1ブロックの画像データがローカルメモリ142からプロセッサアレイ144のレジスタR0に転送され、ステップs21vでは、該画像データブロックに宛てられている属性データブロックの属性データ群が、プロセッサアレイ144のレジスタR4に転送される。   FIG. 16 shows an outline of gamma conversion control of the global processor 145 of the second embodiment. In this case, “calculation of attribute data” s21 of the first embodiment is replaced with “attribute data IN” s21v. In the second embodiment, at the beginning of the gamma conversion control for one block of image data, the processor 148 writes each image data of one block of image data to the input image data register R0 of each PE of the processor array 144. (S1). Then, similarly to the data writing, each attribute data of the attribute data group of one block is written to the attribute register R4 (s21v). The one-block attribute data group is composed of the attribute data of each image data of the one-block image data group, is transferred to the IPP together with the input image data, and is written into the local memory 142 of the IPP together with the input image data block. It is a thing. At step s1, one block of image data is transferred from the local memory 142 to the register R0 of the processor array 144. At step s21v, the attribute data group of the attribute data block addressed to the image data block is stored in the register of the processor array 144. Transferred to R4.

このように属性レジスタR4に属性データを書込んだ後の処理は、第1実施例の処理(s22以下)と同様である。   The processing after writing the attribute data in the attribute register R4 in this way is the same as the processing (s22 and thereafter) of the first embodiment.

なお、上記実施例のいずれでも属性数m=2であるが、例えば文字/写真検出のみならず、有彩/無彩,像エッジ部/エッジ内側/エッジ外側など、細かく特性検出をして、3ビット以上のデータ構成の属性データで画像の特性を表す態様(mが3以上)の場合にも、上述の第1および第2実施例を適用できる。   In each of the above embodiments, the number of attributes is m = 2. For example, not only character / photo detection but also fine characteristic detection such as chromatic / achromatic, image edge portion / edge inside / edge outside, etc. The above-described first and second embodiments can be applied to a case where the characteristics of an image are represented by attribute data having a data configuration of 3 bits or more (m is 3 or more).

いずれの実施例においても、プロセッサ148が、データメモリ146上の各属性データ宛ての変換特性規定データを順次に各特性レジスタR1〜R3に同時に送出する制御のみを行うことによって、属性が異なる変換対象データが混在する場合でも、各属性対応のデータ変換が実現する。プロセッサ148および演算器151〜155による、属性対応の変換特性の設定が簡易である。また、データメモリ146上には、各属性データ宛ての変換特性規定データを準備すればよく、これらのデータ量はLUTの場合よりも格段に少ないので、データ変換のために準備するデータ量およびメモリ容量は、LUTを用いる場合よりも各段に少なくなる。   In any of the embodiments, the processor 148 performs only control for sequentially transmitting the conversion characteristic defining data addressed to each attribute data on the data memory 146 to each of the characteristic registers R1 to R3 at the same time. Even if data is mixed, data conversion corresponding to each attribute is realized. Setting of conversion characteristics corresponding to attributes by the processor 148 and the computing units 151 to 155 is simple. Further, conversion characteristic defining data destined for each attribute data may be prepared on the data memory 146. Since the amount of these data is much smaller than that of the LUT, the data amount and the memory to be prepared for data conversion are prepared. The capacity becomes smaller in each stage than when the LUT is used.

本発明の1実施例を装備した複合機能フルカラー複写機A1の外観を示す正面図である。1 is a front view showing the appearance of a multifunction full-color copying machine A1 equipped with one embodiment of the present invention. 図1に示すプリンタ100の作像機構の概要を示す拡大縦断面図である。FIG. 2 is an enlarged longitudinal sectional view illustrating an outline of an image forming mechanism of the printer 100 illustrated in FIG. 1. 図1に示す複合機能フルカラー複写機A1の画像処理システムの概要を示すブロック図である。FIG. 2 is a block diagram showing an outline of an image processing system of the multifunction full-color copying machine A1 shown in FIG. 図3に示す画像データインターフェース制御CDICの構成の概要を示すブロック図である。FIG. 4 is a block diagram illustrating an outline of a configuration of an image data interface control CDIC illustrated in FIG. 3. 図3に示す画像メモリアクセス制御IMACの構成の概要を示すブロック図である。FIG. 4 is a block diagram illustrating an outline of a configuration of an image memory access control IMAC illustrated in FIG. 3. 図3に示す画像データ処理器IPPの構成の大要を示すブロック図である。FIG. 4 is a block diagram illustrating an outline of a configuration of an image data processor IPP illustrated in FIG. 3. 図3に示す画像データ処理器IPPの機能構成を模式的に示すブロック図である。FIG. 4 is a block diagram schematically illustrating a functional configuration of an image data processor IPP illustrated in FIG. 3. 図3に示す画像データ処理器IPPの構成のやや詳細を示すブロック図である。FIG. 4 is a block diagram showing a little more detailed configuration of an image data processor IPP shown in FIG. 3. 図8に示すプロセッサアレイ144の構成の概要を示すブロック図である。FIG. 9 is a block diagram illustrating an outline of a configuration of a processor array 144 illustrated in FIG. 8. 図8および図9に示すグローバルプロセッサ148の、プログラムRAM145に書込んだガンマ変換プログラムに基く、1ライン上の、プロセッサアレイ144で同時並行処理ができる長さ(個数)分(1ブロック)の画像データ群のガンマ変換処理制御の概要を示すフローチャートである。Based on the gamma conversion program written in the program RAM 145 of the global processor 148 shown in FIG. 8 and FIG. 9, an image of one line (length) (one block) on one line, which can be processed simultaneously by the processor array 144 9 is a flowchart illustrating an outline of gamma conversion processing control of a data group. 1ブロックの画像データの属性データ検出を終了し、そして属性データ=1に宛てられた変換特性規定データの中の、第8分割区間宛ての変換特性規定データをプロセッサアレイ144に送出したとき、プロセッサアレイ144に設定されたデータを模擬的に示すブロック図である。When the attribute data detection for one block of image data is completed and the conversion characteristic defining data addressed to the eighth divided section in the conversion characteristic defining data addressed to the attribute data = 1 is sent to the processor array 144, the processor FIG. 4 is a block diagram schematically illustrating data set in an array 144. 属性データ=1に宛てられた変換特性規定データの中の、第7分割区間宛ての変換特性規定データをプロセッサアレイ144に送出したとき、プロセッサアレイ144に設定されたデータを模擬的に示すブロック図である。FIG. 7 is a block diagram schematically showing data set in the processor array 144 when the conversion characteristic definition data addressed to the seventh divided section in the conversion characteristic definition data addressed to the attribute data = 1 is transmitted to the processor array 144; It is. 属性データ=1に宛てられた変換特性規定データの中の、第6分割区間宛ての変換特性規定データをプロセッサアレイ144に送出したとき、プロセッサアレイ144に設定されたデータを模擬的に示すブロック図である。FIG. 6 is a block diagram schematically showing data set in the processor array 144 when the conversion characteristic definition data addressed to the sixth divided section in the conversion characteristic definition data addressed to the attribute data = 1 is transmitted to the processor array 144; It is. 属性データ=1に宛てられた変換特性規定データの中の、第1分割区間宛ての変換特性規定データをプロセッサアレイ144に送出した直後の、プロセッサアレイ144に設定されているデータを模擬的に示すブロック図である。In the conversion characteristic definition data addressed to the attribute data = 1, the data set in the processor array 144 immediately after sending the conversion characteristic definition data addressed to the first divided section to the processor array 144 are schematically shown. It is a block diagram. (a)は直線の一次式で近似したガンマ変換特性を示すグラフ、(b)は該ガンマ変換特性の変換特性規定データを示す説明図、(c)はガンマ変換の入力データ(入力濃度)を出力データ(出力濃度)に変換する、第4分割区間での変換式を示す説明図、(d)は属性データ検出で属性判定値を算出するために参照する同一ラスタ上の隣接7画素と、各画素に割当てる重み係数(四角内の数値)を示す説明図である。(A) is a graph showing a gamma conversion characteristic approximated by a linear expression, (b) is an explanatory diagram showing conversion characteristic definition data of the gamma conversion characteristic, and (c) is a graph showing input data (input density) of the gamma conversion. FIG. 4D is an explanatory diagram showing a conversion formula in a fourth divided section for converting into output data (output density). FIG. 4D shows seven adjacent pixels on the same raster referred to for calculating an attribute determination value in attribute data detection. FIG. 4 is an explanatory diagram showing weighting factors (numerical values in squares) assigned to each pixel. 本発明の第2実施例で用いるグローバルプロセッサ148の、プログラムRAM145に書込んだガンマ変換プログラムに基く、1ブロックの画像データ群のガンマ変換処理制御の概要を示すフローチャートである。15 is a flowchart showing an outline of gamma conversion processing control of one block of image data group based on a gamma conversion program written in a program RAM 145 by a global processor 148 used in the second embodiment of the present invention.

符号の説明Explanation of reference numerals

10:カラー原稿スキャナ 20:操作ボード
30:自動原稿供給装置 34:フィニッシャ
34hs:積載降下トレイ 34ud:昇降台
34st:ソートトレイ群
41M,41C,41Y,41K:レーザ発光器
100:カラープリンタ PC:パソコン
PBX:交換器 PN:通信回線
102:光書込みユニット 103,104:給紙カセット
105:レジストローラ対 106:転写ベルトユニット
107:定着ユニット 108:排紙トレイ
110M,110C,110Y,110K:感光体ユニット
111M,111C,111Y,111K:感光体ドラム
120M,120C,120Y,120K:現像器
160:転写搬送ベルト ACP:画像データ処理装置
CDIC:画像データインターフェース制御
IMAC:画像メモリアクセス制御
IPP:画像データ処理器 HDD:ハードディスク装置
10: color document scanner 20: operation board 30: automatic document feeder 34: finisher 34hs: loading / lowering tray 34ud: elevating table 34st: sort tray group
41M, 41C, 41Y, 41K: Laser emitter 100: Color printer PC: Personal computer PBX: Exchanger PN: Communication line 102: Optical writing unit 103, 104: Paper cassette 105: Registration roller pair 106: Transfer belt unit 107: Fixing unit 108: paper discharge trays 110M, 110C, 110Y, 110K: photoconductor units 111M, 111C, 111Y, 111K: photoconductor drums 120M, 120C, 120Y, 120K: developing unit 160: transfer and conveyance belt ACP: image data processing device CDIC: Image data interface control IMAC: Image memory access control IPP: Image data processor HDD: Hard disk device

Claims (21)

データ処理の特性を、データの属性ごとに規定する特性規定データを保持するデータメモリ;
それぞれが、一連の処理対象データの各データの各属性宛ての特性規定データを前記データメモリの特性規定データの中から選択し、選択した特性規定データに従って各データを処理する、複数のプロセッシングエレメント;および、
前記プロセッシングエレメントの前記データ処理を制御する処理用制御データを保持して該処理用制御データに基づく演算指示を各プロセッシングエレメントに共通に与え、各プロセッシングエレメントに対する、一連の処理対象データのそれぞれの分配および前記データメモリ上の各属性データ宛ての処理特性規定データの送出、ならびに、各プロセッシングエレメントからの処理後データの出力、を制御する処理制御手段;
を備えるデータ処理装置。
A data memory for holding characteristic definition data for defining data processing characteristics for each data attribute;
A plurality of processing elements each for selecting characteristic specification data addressed to each attribute of each data of the series of processing target data from the characteristic specification data of the data memory, and processing each data according to the selected characteristic specification data; and,
Holding processing control data for controlling the data processing of the processing element, giving an arithmetic instruction based on the processing control data to each processing element in common, and distributing a series of processing target data to each processing element; Processing control means for controlling transmission of processing characteristic defining data addressed to each attribute data on the data memory, and output of processed data from each processing element;
A data processing device comprising:
前記処理制御手段は、前記プロセッシングエレメントの前記データ処理を制御する処理用制御データを保持して各プロセッシングエレメントに共通に与えるグローバルレジスタ;および、該グローバルレジスタに対する前記処理用制御データの書込み,各プロセッシングエレメントに対する、一連の処理画像データのそれぞれの分配および前記データメモリ上の各属性データ宛ての処理特性規定データの送出,前記処理用制御データに基づく演算指示の各プロセッシングエレメントへの共通付与、ならびに、各プロセッシングエレメントからの処理後データの出力、を制御するプロセッサ;を含む、請求項1に記載のデータ処理装置。   The processing control means includes: a global register that holds processing control data for controlling the data processing of the processing element and commonly applies the processing control data to each processing element; and writes the processing control data to the global register, and performs each processing. Distributing a series of processed image data to the elements, transmitting processing characteristic defining data addressed to each attribute data in the data memory, commonly assigning an operation instruction based on the processing control data to each processing element, and The data processing apparatus according to claim 1, further comprising: a processor that controls output of processed data from each processing element. 前記プロセッサが上記制御をするために実行する処理プログラムを保持するプログラムメモリ;を更に備える請求項2に記載のデータ処理装置。   3. The data processing apparatus according to claim 2, further comprising: a program memory for storing a processing program executed by the processor to perform the control. 各プロセッシングエレメントは、処理対象データを保持するための入力データレジスタ,前記特性規定データを保持するための特性レジスタ,処理対象データの属性データを保持するための属性レジスタ,処理して得た処理後データを保持するための出力データレジスタ、および、与えられる各属性データ宛ての特性規定データの中の、属性レジスタに保持する属性データに宛てられた特性規定データを選択して特性レジスタに保持し、前記プロセッサが与える前記処理用制御データに基づく演算指示と前記特性レジスタが保持する特性規定データに従って前記入力データレジスタの処理対象データを処理する演算器、を含む;請求項2に記載のデータ処理装置。   Each processing element includes an input data register for holding data to be processed, a property register for holding the characteristic defining data, an attribute register for holding attribute data of the data to be processed, An output data register for holding data, and, among the characteristic definition data addressed to each attribute data provided, select the characteristic definition data addressed to the attribute data held in the attribute register and hold in the characteristic register; 3. The data processing device according to claim 2, further comprising: a computing unit that processes data to be processed in the input data register in accordance with a computation instruction given by the processor based on the processing control data and characteristic definition data held in the characteristic register. . 前記プロセッサは、各プロセッシングエレメントの、各入力データレジスタに対する一連の処理対象データのそれぞれの書込み,各特性レジスタに対する前記データメモリ上の各属性データ宛ての特性規定データの送出,前記グローバルレジスタに対する前記処理用制御データの書込み、および、各出力データレジスタからの処理後データの出力、を制御する;請求項4に記載のデータ処理装置。   The processor writes a series of data to be processed to each input data register of each processing element, sends characteristic definition data addressed to each attribute data on the data memory to each characteristic register, and performs the processing for the global register. 5. The data processing device according to claim 4, wherein writing of the control data for use and output of the processed data from each output data register are controlled; 前記プロセッサは、前記入力データレジスタに書込んだデータに対して、各属性データ宛ての特性規定データを順次に前記データメモリから前記特性レジスタに送出する制御をしてから、処理用制御データに基づく演算指示を各演算器に与えて、各演算器が各出力データレジスタに書込んだ変換後データを出力し;
各演算器は、その属性レジスタに保持する属性データに宛てられた特性規定データを前記プロセッサが前記データメモリから送出しているときに、該特性規定データを特性レジスタに取込み、前記演算指示に従った画像データ処理を、特性レジスタに取込んだ特性規定データを用いておこなう;請求項5に記載のデータ処理装置。
The processor controls the data written to the input data register to sequentially transmit characteristic definition data addressed to each attribute data from the data memory to the characteristic register, and then performs processing based on the processing control data. Giving an operation instruction to each operation unit, and outputting the converted data written in each output data register by each operation unit;
Each of the arithmetic units fetches the characteristic definition data into the characteristic register when the processor sends the characteristic specification data addressed to the attribute data held in the attribute register from the data memory, and follows the operation instruction. The data processing device according to claim 5, wherein the image data processing is performed using the characteristic definition data taken into the characteristic register.
各属性データ宛ての各特性規定データは、データ入力範囲をn分割した各分割位置の入力データとその処理済データおよび各分割区間の処理係数を含み;
前記プロセッサは、前記各属性データ宛ての特性規定データの送出において、各属性データに宛てられた各分割位置の入力画像データとその処理済データおよび各分割区間の処理係数を分割区間の順番で順次に前記データメモリから前記特性レジスタに送出する制御をし;
各演算器は、その属性レジスタに保持する属性データに宛てられた特性規定データの中の、入力データレジスタに書込んだデータが属する分割区間に宛てられた分割位置入力画像データとその処理済データおよび処理係数を前記プロセッサが前記データメモリから送出しているときに、特性レジスタに取込み、入力データレジスタに書込んだデータの前記演算指示に従ったデータ処理を、特性レジスタに取込んだ分割位置入力データとその処理済データおよび処理係数を用いておこなう;請求項6に記載のデータ処理装置。
Each characteristic defining data addressed to each attribute data includes input data at each division position obtained by dividing the data input range into n, processed data thereof, and processing coefficients of each division section;
In transmitting the characteristic definition data addressed to each attribute data, the processor sequentially inputs the input image data of each division position addressed to each attribute data, the processed data thereof, and the processing coefficient of each division section in the order of the division sections. Controlling the transmission from the data memory to the characteristic register;
Each of the arithmetic units includes, among the characteristic defining data addressed to the attribute data held in the attribute register, the division position input image data addressed to the division section to which the data written to the input data register belongs, and the processed data thereof. And when the processor sends the processing coefficient from the data memory, fetches the data into the characteristic register, and performs the data processing according to the operation instruction on the data written in the input data register according to the division position. The data processing apparatus according to claim 6, wherein the processing is performed using the input data, the processed data thereof, and the processing coefficient.
処理対象データは画像データであり;
グローバルレジスタは、前記プロセッシングエレメントが画像データの属性データを生成するデータ処理を制御する属性検出用制御データを保持して該属性検出用制御データに基づく演算指示を各プロセッシングエレメントに共通に与え;
前記演算器は、与えられた該演算指示と入力データレジスタの画像データおよび該画像データが宛てられる画素の近隣の画素の画像データに従って入力データレジスタの画像データの属性データを生成して属性レジスタに保持する;請求項4に記載のデータ処理装置。
The data to be processed is image data;
The global register holds attribute detection control data for controlling the data processing in which the processing element generates the attribute data of the image data, and gives an arithmetic instruction based on the attribute detection control data to each processing element in common;
The arithmetic unit generates attribute data of the image data of the input data register according to the given operation instruction, the image data of the input data register, and the image data of the pixel adjacent to the pixel to which the image data is addressed, and generates the attribute data in the attribute register. The data processing apparatus according to claim 4, wherein the data processing apparatus holds the data.
データ処理の特性を、データの属性ごとに規定する特性規定データを保持するデータメモリ;
変換制御プログラムを保持するグローバルレジスタ;
変換対象データを保持するための入力データレジスタ,変換特性規定データを保持するための特性レジスタ,変換対象データの属性データを保持するための属性レジスタ,変換した変換後データを保持するための出力データレジスタ、および、前記データメモリの各属性データに対応する変換特性規定データの中の、属性レジスタに保持する属性データに対応した変換特性規定データを選択して特性レジスタに保持して、前記グローバルレジスタが保持する変換制御プログラムに基づく演算指示と前記特性レジスタが保持する変換特性規定データに従って、前記入力データレジスタの変換対象データを変換する演算器、を含むプロセッシングエレメント、の複数でなるプロセッサアレイ;
前記プロセッサアレイの各入力データレジスタに対する一連の変換対象データのそれぞれの書込み,各特性レジスタに対する前記データメモリ上の各属性データに対応した変換特性規定データの送出,前記プロセッサアレイの各演算器に対する前記グローバルレジスタの変換制御プログラムに基づく演算指示の共通付与、および、各出力レジスタからの変換後データの出力、を制御するグローバルプロセッサ;および、
該グローバルプロセッサが上記制御を実行するグローバル制御プログラムを保持するプログラムメモリ;
を備えるデータ処理装置。
A data memory for holding characteristic definition data for defining data processing characteristics for each data attribute;
A global register for holding the conversion control program;
Input data register for holding data to be converted, characteristic register for holding conversion characteristic definition data, attribute register for holding attribute data of data to be converted, output data for holding converted data after conversion A register and conversion characteristic defining data corresponding to the attribute data held in the attribute register among the conversion characteristic defining data corresponding to the respective attribute data in the data memory, and holding the selected characteristic in the characteristic register; A processor element including: a processing element including: an operation unit that converts data to be converted of the input data register in accordance with an operation instruction based on a conversion control program held by the CPU and conversion characteristic definition data held by the characteristic register;
A series of conversion target data is written to each input data register of the processor array, conversion characteristic definition data corresponding to each attribute data on the data memory is sent to each characteristic register, and the conversion characteristic defining data is sent to each arithmetic unit of the processor array. A global processor that controls the common assignment of operation instructions based on the conversion control program of the global registers and the output of converted data from each output register; and
A program memory for holding a global control program for executing the control by the global processor;
A data processing device comprising:
画像データのガンマ変換特性を画像データの属性ごとに規定する変換特性規定データを保持するデータメモリ;
変換対象の画像データを保持するための入力データレジスタ,前記データメモリから読み出した変換特性規定データを保持するための特性レジスタ,画像データが表わす画像の特性を表わす属性データを保持するための属性レジスタ,変換した変換後データを保持するための出力データレジスタ、および、入力データレジスタの画像データおよび該画像データが宛てられる画素の近隣の画素の画像データに従って入力データレジスタの画像データの属性データを生成して属性レジスタに保持し、前記特性レジスタが保持する変換特性規定データに従って前記入力データレジスタの変換対象画像データをガンマ変換する演算器、を含むプロセッシングエレメント、の複数でなるプロセッサアレイ;
前記演算器の前記属性データの生成を制御する属性検出用制御データおよび前記演算器の前記ガンマ変換を制御する変換用制御データを保持するためのグローバルレジスタ;
前記プロセッサアレイの各入力データレジスタに対する同一ラスタの画像データのそれぞれの書込み,前記グローバルレジスタに対する前記属性検出用制御データおよび前記変換用制御データの書込み,前記演算器に対する前記属性検出用制御データに基づく演算指示,各特性レジスタに対する前記データメモリ上の各属性データ宛ての変換特性規定データの送出,前記演算器に対する前記変換用制御データに基づく演算指示、および、各出力データレジスタからの変換後データの出力、を制御するプロセッサ;および
該プロセッサが上記制御をするために実行する変換プログラムを保持するプログラムメモリ;を備える画像データ処理装置。
A data memory for holding conversion characteristic defining data for defining gamma conversion characteristics of image data for each attribute of image data;
An input data register for holding image data to be converted, a property register for holding conversion characteristic defining data read from the data memory, and an attribute register for holding attribute data representing characteristics of an image represented by the image data Generating the attribute data of the image data of the input data register according to the output data register for holding the converted data, and the image data of the input data register and the image data of the pixel adjacent to the pixel to which the image data is addressed A processing element including: an arithmetic unit for performing gamma conversion on the conversion target image data of the input data register in accordance with the conversion characteristic defining data held by the characteristic register;
A global register for holding attribute detection control data for controlling generation of the attribute data of the arithmetic unit and conversion control data for controlling the gamma conversion of the arithmetic unit;
Based on the writing of the same raster image data to each input data register of the processor array, the writing of the attribute detection control data and the conversion control data to the global register, and the attribute detection control data to the arithmetic unit. An operation instruction, transmission of conversion characteristic definition data addressed to each attribute data on the data memory to each characteristic register, an operation instruction based on the conversion control data to the arithmetic unit, and conversion of the converted data from each output data register. An image data processing apparatus comprising: a processor that controls output; and a program memory that stores a conversion program executed by the processor to perform the control.
前記プロセッサは、前記入力データレジスタに書込んだデータに対して、各属性データ宛ての変換特性規定データを順次に前記データメモリから前記特性レジスタに送出する制御をしてから、変換用制御データに基づく演算指示を各演算器に与え、各演算器が各出力データレジスタに書込んだ変換後データを出力し;
各演算器は、その属性レジスタに保持する属性データに宛てられた変換特性規定データを前記プロセッサが前記データメモリから送出しているときに、該変換特性規定データを特性レジスタに取込み、前記演算指示に従った変換を特性レジスタに取込んだ変換特性規定データを用いておこなう;請求項10に記載の画像データ処理装置。
The processor performs control to sequentially transmit conversion characteristic defining data addressed to each attribute data from the data memory to the characteristic register with respect to the data written in the input data register, and then converts the data into conversion control data. Giving a calculation instruction based on each calculation unit, and outputting the converted data written in each output data register by each calculation unit;
Each of the arithmetic units fetches the conversion characteristic defining data into the characteristic register when the processor sends out the conversion characteristic defining data addressed to the attribute data held in the attribute register from the data memory, and executes the operation instruction. 11. The image data processing apparatus according to claim 10, wherein the conversion according to the above is performed using the conversion characteristic definition data taken into the characteristic register.
各属性データ宛ての各変換特性規定データは、変換入力範囲をn分割した各分割位置の入力データとその変換済データおよび各分割区間の変換係数を含み;
前記プロセッサは、前記各属性データ宛ての変換特性規定データの送出において、各属性データに宛てられた各分割位置の入力データとその変換済データおよび各分割区間の変換係数を分割区間の順番で順次に前記データメモリから前記特性レジスタに送出する制御をし;
各演算器は、その属性レジスタに保持する属性データに宛てられた変換特性規定データの中の、入力データレジスタに書込んだデータが属する分割区間に宛てられた分割位置入力データとその変換済データおよび変換係数を前記プロセッサが前記データメモリから送出しているときに、特性レジスタに取込み、入力データレジスタに書込んだデータの前記演算指示に従った変換を、特性レジスタに取込んだ分割位置入力データとその変換済データおよび変換係数を用いておこなう;請求項11に記載の画像データ処理装置。
Each conversion characteristic defining data addressed to each attribute data includes input data at each division position obtained by dividing the conversion input range into n, converted data thereof, and conversion coefficients of each division section;
In transmitting the conversion characteristic defining data addressed to each attribute data, the processor sequentially inputs the input data of each division position addressed to each attribute data, its converted data, and the conversion coefficient of each division section in the order of the division sections. Controlling the transmission from the data memory to the characteristic register;
Each of the arithmetic units includes, among the conversion characteristic defining data addressed to the attribute data held in the attribute register, divided position input data addressed to the divided section to which the data written to the input data register belongs, and the converted data thereof. And when the conversion coefficient is output from the data memory by the processor, the data is written into the characteristic register, and the conversion of the data written in the input data register in accordance with the operation instruction is performed by the division position input into the characteristic register. The image data processing apparatus according to claim 11, wherein the processing is performed using the data, the converted data, and the conversion coefficient.
画像データのガンマ変換特性を、データの属性ごとに規定する変換特性規定データを保持するデータメモリ;
画像データが表わす画像の特性を表わす属性データの生成を制御する属性検出用制御プログラムおよび画像データのガンマ変換を制御する変換用制御プログラムを保持するためのグローバルレジスタ;
変換対象画像データを保持するための入力データレジスタ,変換特性規定データを保持するための特性レジスタ,変換対象画像データの属性データを保持するための属性レジスタ,変換した変換後画像データを保持するための出力データレジスタ、および、前記グローバルレジスタが保持する属性検出用制御プログラムに基づく演算指示と入力データレジスタの画像データおよび該画像データが宛てられる画素の近隣の画素の画像データに従って入力データレジスタの画像データの属性データを生成して属性レジスタに保持し、前記データメモリの各属性データに対応する変換特性規定データの中の、属性レジスタに保持する属性データに対応した変換特性規定データを選択して特性レジスタに保持し、前記グローバルレジスタが保持する変換制御プログラムに基づく演算指示と前記特性レジスタが保持する変換特性規定データに従って、前記入力データレジスタの変換対象データをガンマ変換する演算器、を含むプロセッシングエレメント、の複数でなるプロセッサアレイ;
該プロセッサアレイの各入力データレジスタに対する一連の変換対象データのそれぞれの書込み,前記プロセッサアレイの各演算器に対する前記グローバルレジスタの属性検出用制御プログラムに基づく演算指示の共通付与、各特性レジスタに対する前記データメモリ上の各属性データに対応した変換特性規定データの送出,前記プロセッサアレイの各演算器に対する前記グローバルレジスタの変換制御プログラムに基づく演算指示の共通付与、および、各出力レジスタからの変換後データの出力、を制御するグローバルプロセッサ;および、
該グローバルプロセッサが上記制御を実行するグローバル制御プログラムを保持するプログラムメモリ;
を備える画像データ処理装置。
A data memory for holding conversion characteristic defining data for defining gamma conversion characteristics of image data for each data attribute;
A global register for holding an attribute detection control program for controlling generation of attribute data representing characteristics of an image represented by the image data and a conversion control program for controlling gamma conversion of the image data;
An input data register for holding the image data to be converted, a characteristic register for holding the conversion characteristic defining data, an attribute register for holding the attribute data of the image data to be converted, and for holding the converted image data after conversion. The output data register, and the image of the input data register according to the operation instruction based on the control program for attribute detection held by the global register, the image data of the input data register, and the image data of the pixel adjacent to the pixel to which the image data is addressed. Data attribute data is generated and held in an attribute register, and conversion characteristic definition data corresponding to the attribute data held in the attribute register is selected from conversion characteristic definition data corresponding to each attribute data in the data memory. The characteristics held by the characteristics register and the changes held by the global register In accordance with the conversion characteristic defining data arithmetic instructions and the characteristic register based on the control program held, the processor array processing element comprises a plurality of containing calculator, for gamma conversion the converted data of the input data register;
Writing of a series of data to be converted into each input data register of the processor array, common assignment of an operation instruction based on a control program for detecting the attribute of the global register to each arithmetic unit of the processor array, and data to each characteristic register Transmission of conversion characteristic defining data corresponding to each attribute data on the memory, common assignment of an operation instruction based on the conversion control program of the global register to each operation unit of the processor array, and transmission of converted data from each output register A global processor for controlling the output; and
A program memory for holding a global control program for executing the control by the global processor;
An image data processing device comprising:
撮像した画像を表す撮像画像データを発生する撮像手段;および、前記撮像画像データの撮像時のひずみを補正する撮像ガンマ変換を行う、上記(1)乃至(13)のいずれか1つに記載の画像データ処理装置;を備える画像処理装置。   The imaging unit according to any one of (1) to (13), wherein the imaging unit generates captured image data representing a captured image, and performs imaging gamma conversion for correcting distortion during imaging of the captured image data. An image data processing device; 画像データを転送するパラレルバス;画像メモリ;前記パラレルバス上の画像データを前記画像メモリに書込み、前記画像メモリの画像データを前記パラレルバスに読出す画像メモリ制御手段;および、前記撮像手段,前記画像データ処理装置および前記パラレルバスの間の画像データのやりとりを制御する画像データ制御手段;を更に備える、請求項14に記載の画像処理装置。   A parallel bus for transferring image data; an image memory; image memory control means for writing image data on the parallel bus to the image memory and reading image data from the image memory to the parallel bus; 15. The image processing device according to claim 14, further comprising: an image data control unit that controls exchange of image data between the image data processing device and the parallel bus. 前記画像データ制御手段は、前記撮像手段からの画像データを非可逆な圧縮をして前記パラレルバスに出力するか、又は、前記画像データ処理装置へ転送しそれが処理した画像データを非可逆な圧縮をして前記パラレルバスに出力するか、更には、パラレルバスのデータを伸張して前記画像データ処理装置に転送するかを制御する、請求項15に記載の画像処理装置。   The image data control means performs irreversible compression of the image data from the imaging means and outputs the image data to the parallel bus, or transfers the image data processed by the image data processing apparatus to the irreversible image data. 16. The image processing device according to claim 15, wherein the image processing device controls whether to compress and output the data to the parallel bus or to expand and transfer the data of the parallel bus to the image data processing device. 記録出力用の画像データが表わす画像を用紙上に形成するプリンタ;および、入力画像データを、前記プリンタの前記画像形成に適する記録出力用の画像データに変換するガンマ変換を行う請求項1乃至13のいずれか1つに記載の画像データ処理装置;を備える画像形成装置。   14. A printer for forming an image represented by image data for recording output on paper; and performing gamma conversion for converting input image data into image data for recording output suitable for the image formation of the printer. An image data processing apparatus according to any one of the preceding claims. 画像データを転送するパラレルバス;画像メモリ;前記パラレルバス上の画像データを前記画像メモリに書込み、前記画像メモリの画像データを前記パラレルバスに読出す画像メモリ制御手段;および、前記画像データ処理装置と前記パラレルバスの間の画像データのやりとりを制御する画像データ制御手段;を更に備える、請求項17に記載の画像形成装置。   An image memory; image memory control means for writing image data on the parallel bus to the image memory and reading image data from the image memory to the parallel bus; and the image data processing device. 18. The image forming apparatus according to claim 17, further comprising: image data control means for controlling exchange of image data between the image forming apparatus and the parallel bus. 撮像した画像を表す撮像画像データを発生する撮像手段;前記撮像画像データをプリンタで用紙上に画像を形成するための記録出力用の画像データに変換する上記(1)乃至(13)のいずれか1つに記載の画像データ処理装置;および、前記記録出力用の画像データが表わす画像を用紙上に形成するプリンタ;を備える画像形成装置。   Imaging means for generating captured image data representing a captured image; any of the above (1) to (13) for converting the captured image data into image data for recording output for forming an image on paper by a printer An image forming apparatus comprising: the image data processing device according to claim 1; and a printer that forms an image represented by the image data for recording and output on a sheet. 画像データを転送するパラレルバス;画像メモリ;前記パラレルバス上の画像データを前記画像メモリに書込み、前記画像メモリの画像データを前記パラレルバスに読出す画像メモリ制御手段;および、前記撮像手段,前記画像データ処理装置および前記パラレルバスの間の画像データのやりとりを制御する画像データ制御手段;を更に備える、請求項19に記載の画像形成装置。   A parallel bus for transferring image data; an image memory; image memory control means for writing image data on the parallel bus to the image memory and reading image data from the image memory to the parallel bus; 20. The image forming apparatus according to claim 19, further comprising: image data control means for controlling exchange of image data between the image data processing device and the parallel bus. 前記画像メモリ制御手段は、パソコン,LANなどの外部機器や前記パラレルバスに接続されたファクシミリ及び前記画像データ制御手段との間の画像データを前記画像メモリに圧縮して書込み、または読み出して伸張する、請求項17乃至20のいずれか1つに記載の画像形成装置。
The image memory control means compresses image data between an external device such as a personal computer and a LAN or a facsimile connected to the parallel bus and the image data control means to write or read or decompress image data in the image memory. An image forming apparatus according to any one of claims 17 to 20.
JP2003417919A 2002-12-16 2003-12-16 Data processor, image processor, and image forming apparatus Pending JP2004215242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003417919A JP2004215242A (en) 2002-12-16 2003-12-16 Data processor, image processor, and image forming apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002363595 2002-12-16
JP2003417919A JP2004215242A (en) 2002-12-16 2003-12-16 Data processor, image processor, and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2004215242A true JP2004215242A (en) 2004-07-29

Family

ID=32828673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003417919A Pending JP2004215242A (en) 2002-12-16 2003-12-16 Data processor, image processor, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2004215242A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006115465A (en) * 2004-09-17 2006-04-27 Ricoh Co Ltd Image processor, image processing method, and image processing program
JP2019053736A (en) * 2015-04-23 2019-04-04 グーグル エルエルシー Line buffer unit for image processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006115465A (en) * 2004-09-17 2006-04-27 Ricoh Co Ltd Image processor, image processing method, and image processing program
US7724986B2 (en) 2004-09-17 2010-05-25 Ricoh Company Limited Image processor, image processing method, and computer product
JP4579786B2 (en) * 2004-09-17 2010-11-10 株式会社リコー Image processing apparatus, image processing method, and image processing program
JP2019053736A (en) * 2015-04-23 2019-04-04 グーグル エルエルシー Line buffer unit for image processor
US11190718B2 (en) 2015-04-23 2021-11-30 Google Llc Line buffer unit for image processor

Similar Documents

Publication Publication Date Title
JP3907155B2 (en) Image data correction apparatus, image reading apparatus, and image forming apparatus
US7855801B2 (en) Color image forming apparatus and image output method
JP4165706B2 (en) Document reading apparatus and image forming apparatus
JP2007043426A (en) Image processing apparatus, method thereof, computer program, and recording medium
JP2002325180A (en) Image processor and image forming apparatus
US7336395B2 (en) Data conversion system, image processing and image forming apparatus
JP2004215242A (en) Data processor, image processor, and image forming apparatus
JP2003244365A (en) Image copying device and its control method
JP3859134B2 (en) Image data processing apparatus, image processing apparatus, color image forming apparatus, and pattern matching method
JP3867888B2 (en) Image information rotating method, rotating device, recording medium, image reading device, and image forming device
JP3963260B2 (en) Image processing apparatus and image forming apparatus
JP3559021B2 (en) Data conversion device, image processing device, and data conversion method
JP5740991B2 (en) Image processing apparatus and image processing method
JP2009302648A (en) Image forming system, start control method of image forming system, and computer program
JP2003216365A (en) Image processor and image forming device
JP3935335B2 (en) Image data processing apparatus and color image forming apparatus
JP4172763B2 (en) Drawing information processing method and apparatus, and image forming apparatus
JP3862637B2 (en) Data compression method, apparatus, image processing apparatus, and image forming apparatus
JP2021039197A (en) Image formation device, method for controlling the same, and program
JP2003110853A (en) gamma CONVERSION PROCESSOR, IMAGE PROCESSOR AND gamma CONVERSION PROCESSING METHOD
JP2005341417A (en) Image processing apparatus, storage medium, image scanner, and image forming apparatus
JP2004032139A (en) Shading correcting method, image reader and image forming device
JP3888662B2 (en) Image reading processing method, image reading apparatus, and image forming apparatus
JP2003274075A (en) Image processing apparatus and image forming apparatus
JP2021074959A (en) Image formation apparatus, control method of the same and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060704

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080515

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090114