JP2003224727A - Image processing system - Google Patents

Image processing system

Info

Publication number
JP2003224727A
JP2003224727A JP2002020273A JP2002020273A JP2003224727A JP 2003224727 A JP2003224727 A JP 2003224727A JP 2002020273 A JP2002020273 A JP 2002020273A JP 2002020273 A JP2002020273 A JP 2002020273A JP 2003224727 A JP2003224727 A JP 2003224727A
Authority
JP
Japan
Prior art keywords
image
data
unit
compression
compressed
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
JP2002020273A
Other languages
Japanese (ja)
Other versions
JP2003224727A5 (en
Inventor
Yasuki Nakajima
康喜 中島
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002020273A priority Critical patent/JP2003224727A/en
Publication of JP2003224727A publication Critical patent/JP2003224727A/en
Publication of JP2003224727A5 publication Critical patent/JP2003224727A5/ja
Pending legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the reduction of performance of a system regardless of the rate of image data compression. <P>SOLUTION: An image processing system for processing image data and additional data added to an image in the unit of a tile is provided with a means for compressing the individual data in the unit of the tile, a means for calculating the amount of a compressed image data and a means for comparing the amount of the compressed data with a predetermined numerical value. The image processing system decides whether the compressed additional data are to be added to the image data outputted by the compression means corresponding to the output results of the comparing means. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は画像処理システム
で、特に画像データ及び画像データに対応した画像付加
データをタイル単位で処理を施す機能を有する画像処理
システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing system, and more particularly to an image processing system having a function of processing image data and image additional data corresponding to the image data in tile units.

【0002】[0002]

【従来の技術】従来の画像処理システムにおいては、印
字やネットワークを介した画像データの転送を行う際
に、画像データ及び画像付加データを圧縮し転送してい
た。これは転送するデータのデータ量を軽くすること
で、システム全体としてのパフォーマンスを上げるため
である。
2. Description of the Related Art In a conventional image processing system, when printing or transferring image data via a network, the image data and image additional data are compressed and transferred. This is to improve the performance of the entire system by reducing the amount of data to be transferred.

【0003】[0003]

【発明が解決しようとする課題】しかしながら上記従来
技術では、画像データの圧縮結果が常に圧縮前のデータ
よりデータ量が少なくなる事が無く、画像データによっ
ては1ページの圧縮後画像データ量が膨大になり、結果
としてシステム全体のパフォーマンスを下げてしまうこ
とがあった。
However, in the above-mentioned prior art, the compression result of image data does not always become smaller than the data before compression, and the amount of image data after compression of one page is enormous depending on the image data. In some cases, the performance of the entire system was reduced as a result.

【0004】そこで、本発明の目的は、圧縮後の画像デ
ータ量を積算し、システム全体のパフォーマンスに影響
を与える閾値に圧縮後のデータ量が達すると、転送デー
タに画像付加データを付加しない画像処理システムを提
供することを目的とする。
Therefore, an object of the present invention is to integrate the amount of image data after compression, and when the amount of data after compression reaches a threshold value that affects the performance of the entire system, an image without additional image data added to the transfer data. The purpose is to provide a processing system.

【0005】[0005]

【課題を解決するための手段】本発明は、上記問題点を
解決するため、画像データと、前記画像データに対応し
た画像付加データとを用い、前記各データの処理をタイ
ル単位で行う画像処理システムにおいて、前記タイル単
位の各データを圧縮する画像圧縮手段と、前記画像圧縮
手段が圧縮済みの画像データ量を計算するためのデータ
量計算手段と、前記データ量計算手段の出力である圧縮
後データ量と予め決められた数値とを比較するデータ量
比較手段とを備え、前記データ量比較手段の出力結果に
より、データ量比較手段の出力結果が、(圧縮後データ
量<予め決められた数値)の場合、画像圧縮手段が出力
するデータに、圧縮済み画像付加データの付加し、デー
タ量比較手段の出力結果が、(圧縮後データ量>予め決
められた数値)の場合、画像圧縮手段が出力するデータ
に圧縮済み画像付加データを付加しないようにページ単
位で切り替えの処理を行う事を特徴とする画像処理シス
テムを提供することを目的とするものである。
In order to solve the above problems, the present invention uses image data and image additional data corresponding to the image data, and performs image data processing in tile units. In the system, an image compression unit for compressing each data in tile units, a data amount calculation unit for calculating the image data amount compressed by the image compression unit, and a post-compression output of the data amount calculation unit. A data amount comparing means for comparing the data amount with a predetermined numerical value is provided, and the output result of the data amount comparing means is (output data amount after compression <predetermined numerical value In the case of), the compressed image additional data is added to the data output by the image compression unit, and the output result of the data amount comparison unit is (compressed data amount> predetermined numerical value). If, it is an object to provide an image processing system, characterized in that performing the process of switching in units of pages so as not to add the compressed image additional data to the data by the image compressing means outputs.

【0006】[0006]

【発明の実施の形態】(第一の実施例)以下に図を用い
て、本発明の装置及びその動作について詳細に説明す
る。
BEST MODE FOR CARRYING OUT THE INVENTION (First Embodiment) The device of the present invention and its operation will be described in detail below with reference to the drawings.

【0007】〔システムの概要説明〕図1に、本発明の
実施の形態のシステムの全体構成図を示す。
[Overview of System] FIG. 1 shows an overall configuration of a system according to an embodiment of the present invention.

【0008】コントローラユニット(1001)は画像
入力デバイスであるスキャナ(1002)や画像出力デ
バイスであるプリンタ(1003)と接続し、一方では
LAN(1004)や公衆回線(WAN)(1005)
と接続することで、画像情報やデバイス情報の入出力、
PDLデータのイメージ展開を行うためのコントローラ
である。
The controller unit (1001) is connected to a scanner (1002) which is an image input device and a printer (1003) which is an image output device, while a LAN (1004) and a public line (WAN) (1005) are connected.
I / O of image information and device information,
It is a controller for developing an image of PDL data.

【0009】CPU(1006)はシステム全体を制御
するプロセッサである。本実施例では2つの2つのCP
Uを用いた例を示す。これら2つのCPU(1006)
は、共通のCPUバス(1007)に接続され、さら
に、システムバスブリッジ(1008)に接続される。
The CPU (1006) is a processor that controls the entire system. In this embodiment, two CPs
An example using U is shown. These two CPUs (1006)
Are connected to a common CPU bus (1007) and further to a system bus bridge (1008).

【0010】システムバスブリッジ(1008)はバス
スイッチであり、CPUバス(1007)、RAMコン
トローラ(1009)、ROMコントローラ(101
0)、IOバス1(1011)、サブバススイッチ(1
012)、IOバス2(1013)、画像リングインタ
ーフェース1(1014)、画像リングインターフェー
ス2(1015)が接続される。
The system bus bridge (1008) is a bus switch, and includes a CPU bus (1007), a RAM controller (1009), and a ROM controller (101).
0), IO bus 1 (1011), sub-bus switch (1
012), IO bus 2 (1013), image ring interface 1 (1014), and image ring interface 2 (1015) are connected.

【0011】サブバススイッチ(1012)は、第2の
バススイッチであり、画像DMA1(1016)、画像
DMA2(1017)、フォント伸張部(1018)、
ソート回路(1019)、ビットマップトレース回路
(1020)が接続され、これらのDMAから出力され
るメモリアクセス要求を調停し、システムバスブリッジ
(1008)への接続を行う。
The sub-bus switch (1012) is a second bus switch, and includes an image DMA1 (1016), an image DMA2 (1017), a font decompression unit (1018),
A sort circuit (1019) and a bit map trace circuit (1020) are connected to arbitrate memory access requests output from these DMAs and connect to the system bus bridge (1008).

【0012】RAM(1021)はCPU(1006)
が動作するためのシステムワークメモリであり、画像デ
ータを一時記憶するための画像メモリでもあり、RAM
コントローラ(1009)により制御される。本実施例
では、ダイレクトRDRAMを採用する例を示す。
The RAM (1021) is a CPU (1006)
Is a system work memory for operating, and is also an image memory for temporarily storing image data, RAM
It is controlled by the controller (1009). In this embodiment, an example in which a direct RDRAM is adopted is shown.

【0013】ROM(1022)はブートROMであ
り、システムのブートプログラムが格納されており、R
OMコントローラ(1010)により制御される。
The ROM (1022) is a boot ROM, in which a system boot program is stored.
It is controlled by the OM controller (1010).

【0014】画像DMA1(1016)は、画像圧縮部
(1023)に接続し、レジスタアクセスリング(10
24)を介して設定された情報に基づき、画像圧縮部
(1023)を制御し、RAM(1021)上にある非
圧縮データの読み出し、圧縮、圧縮後データの書き戻し
を行う。本実施例では、JPEGを圧縮アルゴリズムに
採用した例を示す。
The image DMA1 (1016) is connected to the image compression unit (1023) and is connected to the register access ring (10).
24), the image compression unit (1023) is controlled based on the information set, and the non-compressed data on the RAM (1021) is read, compressed, and the compressed data is written back. In this embodiment, an example in which JPEG is adopted as a compression algorithm is shown.

【0015】画像DMA2(1017)は、画像伸張部
(1025)に接続し、レジスタアクセスリング(10
24)を介して設定された情報に基づき、画像伸張部
(1025)を制御し、RAM(1021)上にある圧
縮データの読み出し、伸張、伸張後データの書き戻しを
行う。本実施例では、JPEGを伸張アルゴリズムに採
用した例を示す。
The image DMA2 (1017) is connected to the image decompression unit (1025) and is connected to the register access ring (10).
24), the image decompression unit (1025) is controlled on the basis of the information set, and the compressed data in the RAM (1021) is read, decompressed, and the decompressed data is written back. In this embodiment, an example in which JPEG is adopted as a decompression algorithm is shown.

【0016】フォント伸張部(1018)はLANコン
トローラ(1026)等を介し、外部より転送されるP
DLデータに含まれるフォントコードに基づき、ROM
(1022)もしくは、RAM(1021)内に格納さ
れた圧縮フォントデータの伸張を行う。本実施例では、
FBEアルゴリズムを採用した例を示した。
The font decompression unit (1018) transfers P from the outside via the LAN controller (1026) and the like.
ROM based on font code included in DL data
(1022) or the compressed font data stored in the RAM (1021) is expanded. In this embodiment,
An example in which the FBE algorithm is adopted is shown.

【0017】ソート回路(1019)は、PDLデータ
を展開する段階で生成されるディスプレイリストのオブ
ジェクトの順番を並び替える回路である。
The sort circuit (1019) is a circuit for rearranging the order of the objects in the display list generated at the stage of expanding the PDL data.

【0018】ビットマップトレース回路(1020)
は、ビットマップデータより、エッジ情報を抽出する回
路である。
Bitmap trace circuit (1020)
Is a circuit for extracting edge information from bitmap data.

【0019】IOバス1(1011)は、内部のIOバ
スの一種であり、標準バスであるUSBバスのコントロ
ーラ、USBインターフェース(1027)、汎用シリ
アルポート(1028)、インタラプトコントローラ
(1029)、GPIOインターフェース(1030)
が接続される。IOバス1(1011)には、バスアー
ビタ(図示せず)が含まれる。
The IO bus 1 (1011) is a kind of internal IO bus, and is a standard USB bus controller, USB interface (1027), general-purpose serial port (1028), interrupt controller (1029), GPIO interface. (1030)
Are connected. The IO bus 1 (1011) includes a bus arbiter (not shown).

【0020】操作部インターフェース(1031)は、
操作部(1032)のインターフェース部で、操作部
(1032)に表示する画像データを操作部(103
2)に対して出力する。また、操作部(1032)から
本システム使用者が入力した情報を、CPU(100
6)に伝える役割をする。
The operation unit interface (1031) is
Image data to be displayed on the operation unit (1032) is displayed on the operation unit (1032) in the interface unit of the operation unit (1032).
Output to 2). In addition, the information input by the system user from the operation unit (1032) is stored in the CPU (100
6) The role of telling.

【0021】IOバス2(1013)は、内部のIOバ
スの一種であり、汎用バスインターフェース1及び2
(1033)と、LANコントローラ(1026)が接
続される。IOバス2(1013)には、バスアービタ
(図示せず)が含まれる。
The IO bus 2 (1013) is a kind of internal IO bus, and is a general purpose bus interface 1 and 2.
The LAN controller (1026) is connected to (1033). The IO bus 2 (1013) includes a bus arbiter (not shown).

【0022】汎用バスインターフェース(1033)
は、2つの同一のバスインターフェースからなり、標準
IOバスをサポートするバスブリッジである。本実施例
では、PCIバス(1035)を採用した例を示した。
General-purpose bus interface (1033)
Is a bus bridge composed of two identical bus interfaces and supporting a standard IO bus. In this embodiment, an example in which the PCI bus (1035) is adopted is shown.

【0023】HDD(1036)はハードディスクドラ
イブで、システムソフトウェア,画像データを格納す
る。ディスクコントローラ(1037)を介して一方の
PCIバス(1035)に接続される。
The HDD (1036) is a hard disk drive that stores system software and image data. It is connected to one PCI bus (1035) via the disk controller (1037).

【0024】LANコントローラ(1026)は、MA
C回路(1037)、PHY/PMD回路(1038)
を介しLAN(1004)に接続し、情報の入出力を行
う。
The LAN controller (1026) is an MA
C circuit (1037), PHY / PMD circuit (1038)
It is connected to the LAN (1004) via the to input / output information.

【0025】モデム(1039)は公衆回線(100
5)に接続し、情報の入出力を行う。
The modem (1039) is a public line (100
Connect to 5) and input / output information.

【0026】画像リング(1040)は、一対の単方向
接続経路の組み合わせにより構成される。画像リング
(1040)は、画像処理部(1041)内で、画像リ
ングインターフェース3(1042)、及び画像リング
インターフェース4(1043)を介し、タイル伸張部
(1044)、コマンド処理部(1045)、ステータ
ス処理部(1046)、タイル圧縮部(1047)に接
続される。
The image ring (1040) is composed of a pair of unidirectional connection paths. The image ring (1040) is in the image processing unit (1041), via the image ring interface 3 (1042) and the image ring interface 4 (1043), the tile expansion unit (1044), the command processing unit (1045), and the status. It is connected to the processing unit (1046) and the tile compression unit (1047).

【0027】タイル伸張部(1044)は、画像リング
インターフェースへの接続に加え、タイルバス(104
8)に接続され、画像リングより入力された圧縮後の画
像データを伸張し、タイルバス(1048)へ転送する
バスブリッジである。本実施例では、多値画像データに
はJPEG,2値画像データにはパックビッツを伸張ア
ルゴリズムとして採用した例を示す。
The tile decompression unit (1044) is connected to the image ring interface, and in addition to the tile bus (1044).
8) is a bus bridge which is connected to 8) and expands the compressed image data input from the image ring and transfers it to the tile bus (1048). In the present embodiment, an example in which JPEG is adopted for multi-valued image data and Packbits is adopted for binary image data as a decompression algorithm is shown.

【0028】タイル圧縮部(1047)は、画像リング
インターフェースへの接続に加え、タイルバス(104
8)に接続され、タイルバスより入力された圧縮前の画
像データを圧縮し、画像リング(1040)へ転送する
バスブリッジである。本実施例では、多値画像データに
はJPEG,2値画像データにはパックビッツを圧縮ア
ルゴリズムとして採用した例を示す。
The tile compression unit (1047) is connected to the image ring interface, and in addition to the tile bus (104).
8) is a bus bridge which is connected to 8), compresses the image data before compression input from the tile bus, and transfers it to the image ring (1040). In this embodiment, JPEG is used for multi-valued image data and Packbits is used for binary image data as a compression algorithm.

【0029】コマンド処理部(1045)は、画像リン
グインターフェースへの接続に加え、レジスタ設定バス
(1049)に接続され、画像リングを介して入力され
たCPU(1006)より発行されたレジスタ設定要求
を、レジスタ設定バスに接続される該当ブロックへ書き
込む。また、CPU(1006)より発行されたレジス
タ読み出し要求に基づき、レジスタ設定バスを介して該
当レジスタより情報を読み出すし、画像リングインター
フェース4(1043)に転送する。
In addition to the connection to the image ring interface, the command processing unit (1045) is connected to the register setting bus (1049) and receives a register setting request issued from the CPU (1006) input via the image ring. , Write to the corresponding block connected to the register setting bus. Further, based on a register read request issued from the CPU (1006), information is read from the corresponding register via the register setting bus and transferred to the image ring interface 4 (1043).

【0030】ステータス処理部(1046)は、各画像
処理ブロックの情報を監視し、CPU(1006)に対
してインタラプトを発行するためのインタラプトパケッ
トを生成し、画像リングインターフェース4(104
3)に出力する。
The status processing unit (1046) monitors the information of each image processing block, generates an interrupt packet for issuing an interrupt to the CPU (1006), and the image ring interface 4 (104).
Output to 3).

【0031】タイルバス(1048)には上記ブロック
に加え、以下の機能ブロックが接続される。レンダリン
グ部インターフェース(1050),画像入力インター
フェース(1051),画像出力インターフェース(1
052),多値化処理部(1053),2値化処理部
(1054),色空間変換部(1055),画像回転部
(1056),解像度変換部(1057)。画像一時保
管部(1058)。
In addition to the above blocks, the following functional blocks are connected to the tile bus (1048). Rendering unit interface (1050), image input interface (1051), image output interface (1
052), multi-value conversion processing unit (1053), binarization processing unit (1054), color space conversion unit (1055), image rotation unit (1056), resolution conversion unit (1057). Image temporary storage unit (1058).

【0032】レンダリング部インターフェース(105
0)は、後述するレンダリング部により生成されたビッ
トマップイメージを入力するインターフェースである。
レンダリング部とレンダリング部インターフェースは、
一般的なビデオ信号(1059)にて接続される。レン
ダリング部インターフェースは、タイルバス(104
8)に加え、メモリバス(1060)、レジスタ設定バ
ス(1049)への接続を有し、入力されたラスター画
像をレジスタ設定バスを介して設定された、所定の方法
によりタイル画像への構造変換をすると同時にクロック
の同期化を行い、タイルバス(1048)に対し出力を
行う。
Rendering unit interface (105
0) is an interface for inputting a bitmap image generated by the rendering unit described later.
The rendering section and the rendering section interface are
It is connected by a general video signal (1059). The rendering unit interface is a tile bus (104
In addition to 8), it has a connection to a memory bus (1060) and a register setting bus (1049), and converts the input raster image into a tile image by a predetermined method set via the register setting bus. At the same time, the clocks are synchronized and output to the tile bus (1048).

【0033】画像入力インターフェース(1051)
は、タイルバスからのタイル画像データを入力とし、ラ
スター画像への構造変換及び、クロックレートの変更を
行い、ラスター画像をプリンタ用画像処理部(106
1)へ出力する。
Image input interface (1051)
Receives tile image data from the tile bus as input, performs structural conversion into a raster image and changes the clock rate, and converts the raster image into a printer image processing unit (106).
Output to 1).

【0034】画像回転部(1056)は画像データの回
転を行う。
The image rotation unit (1056) rotates the image data.

【0035】解像度変換部(1057)は画像の解像度
の変換を行う。
The resolution converter (1057) converts the resolution of the image.

【0036】色空間変換部(1055)はカラー及びグ
レースケール画像の色空間の変換を行う。
The color space conversion unit (1055) converts the color spaces of the color and gray scale images.

【0037】2値化処理部(1054)は、多値(カラ
ー及びグレースケール)画像を2値化する。
The binarization processing unit (1054) binarizes the multivalued (color and grayscale) image.

【0038】多値化処理部(1053)は、2値画像を
多値データへ変換する。
The multi-value processing unit (1053) converts the binary image into multi-value data.

【0039】画像一時保管部(1058)は、受信した
画像データを内部の記憶部に一旦記憶し、記憶し終わる
と直ちに、前記受信したデータの他ブロックへの送信を
行う。
The image temporary storage unit (1058) temporarily stores the received image data in the internal storage unit, and immediately after storing the data, transmits the received data to another block.

【0040】外部バスインターフェース部(1062)
は、画像リングインターフェース1,2,3,4、コマ
ンド処理部、レジスタ設定バスを介し、CPU(100
6)により発行された書き込み・読み出し要求を外部バ
ス3(1063)に変換出力するバスブリッジである。
外部バス3(1063)は、本実施例では、プリンタ用
画像処理部(1061)、スキャナ用画像処理部(10
64)に接続されている。
External bus interface section (1062)
Through the image ring interface 1, 2, 3, 4, the command processing unit, the register setting bus, the CPU (100
This is a bus bridge for converting and outputting the write / read request issued by 6) to the external bus 3 (1063).
In this embodiment, the external bus 3 (1063) is a printer image processing unit (1061) and a scanner image processing unit (10).
64).

【0041】メモリ制御部(1065)は、メモリバス
(1059)に接続され、各画像処理部の要求に従い、
あらかじめ設定されたアドレス分割により、画像メモリ
1及び2(1066)に対して、画像データの書き込み
・読み出し、必要に応じてリフレッシュ等の動作を行
う。本実施例では、画像メモリにSDRAMを用いた例
を示した。
The memory control unit (1065) is connected to the memory bus (1059), and according to the request of each image processing unit,
By preset address division, image data writing / reading to / from the image memories 1 and 2 (1066) and an operation such as refreshing as necessary are performed. In this embodiment, an example in which the SDRAM is used as the image memory has been shown.

【0042】スキャナ用画像処理部(1065)では、
画像入力デバイスであるスキャナ(1002)によりス
キャンされた画像データを補正画像処理する。
In the scanner image processing unit (1065),
Image data scanned by a scanner (1002) which is an image input device is subjected to corrected image processing.

【0043】プリンタ用画像処理部(1061)では、
プリンタ出力のための補正画像処理を行い、結果をプリ
ンタ(1003)へ出力する。
In the printer image processing unit (1061),
Corrected image processing for printer output is performed, and the result is output to the printer (1003).

【0044】レンダリング部(1067)は、PDLコ
ードもしくは、中間ディスプレイリストをビットマップ
イメージに展開する。
The rendering unit (1067) develops the PDL code or the intermediate display list into a bitmap image.

【0045】次に図2は本発明の情報処理装置を含ん
だ、ネットワークシステム全体の構成図である。
Next, FIG. 2 is a block diagram of the entire network system including the information processing apparatus of the present invention.

【0046】2001は本発明の装置で、スキャナとプ
リンタから構成され、スキャナから読み込んだ画像をロ
ーカルエリアネットワーク(2002)(以下LAN)
に流したり、LANから受信した画像をプリンタにより
プリントアウトできる。また、スキャナから読み込んだ
画像を図示しないFAX送信手段により、PSTNまた
はISDN(2003)に送信したり、PSTNまたは
ISDNから受信した画像をプリンタによりプリントア
ウトできる。2004はデータベースサーバで、本発明
の装置(2001)により読み込んだ2値画像及び多値
画像をデータベースとして管理する。
An apparatus 2001 of the present invention is composed of a scanner and a printer, and an image read from the scanner is a local area network (2002) (hereinafter, LAN).
The image received from the LAN can be printed out by the printer. Further, the image read from the scanner can be transmitted to the PSTN or ISDN (2003) by a FAX transmission unit (not shown), or the image received from the PSTN or ISDN can be printed out by the printer. A database server 2004 manages a binary image and a multivalued image read by the apparatus (2001) of the present invention as a database.

【0047】2005はデータベースサーバ(200
4)のデータベースクライアントで、データベース(2
004)に保存されている画像データを閲覧/検索等で
きる。
Reference numeral 2005 denotes a database server (200
In the database client of 4),
The image data stored in 004) can be browsed / searched.

【0048】2006は、電子メールサーバで、本発明
の装置(2001)により読み取った画像を電子メール
の添付として受け取ることができる。2007は電子メ
ールクライアントで、電子メールサーバ(2006)の
受け取ったメールを受信し、閲覧したり、電子メールを
送信したりすることが可能である。
An electronic mail server 2006 can receive an image read by the apparatus (2001) of the present invention as an electronic mail attachment. Reference numeral 2007 denotes an e-mail client, which can receive an e-mail received by the e-mail server (2006), browse it, and send an e-mail.

【0049】WWWサーバ(2008)はHTML文書
をLANに提供するサーバで、本発明の装置(200
1)により、WWWサーバから提供されるHTML文書
をプリントアウトできる。
The WWW server (2008) is a server for providing an HTML document to the LAN, and is a device (200) of the present invention.
According to 1), the HTML document provided by the WWW server can be printed out.

【0050】ルータ(2009)はLAN(2002)
をインターネット,イントラネット(2010)と連結
させる。インターネット,イントラネットに、前述した
データベースサーバ(2004),WWWサーバ(20
08),電子メールサーバ(2006),本発明の装置
(2001)と同様の装置が、それぞれ2011,20
12,2013として連結している。一方、本発明の装
置(2001)は、PSTNまたはISDN(200
3)を介して、FAX装置(2014)と送受信可能に
なっている。
The router (2009) is the LAN (2002)
Is connected to the Internet and Intranet (2010). The aforementioned database server (2004) and WWW server (20
08), an electronic mail server (2006), and a device similar to the device (2001) of the present invention.
12, 2013 are connected. On the other hand, the device (2001) of the present invention uses the PSTN or ISDN (200
It is possible to transmit and receive with the FAX machine (2014) via 3).

【0051】また、LAN(2002)上にプリンタ
(2015)も連結されており、本発明の装置(200
1)により読み取った画像をプリントアウト可能なよう
に構成されている。
A printer (2015) is also connected to the LAN (2002), and the device (200) of the present invention is connected.
The image read in 1) can be printed out.

【0052】次に図3、4、5、6を用いて、本発明の
実施例におけるパケットフォーマットについて詳しく説
明する。
Next, the packet format in the embodiment of the present invention will be described in detail with reference to FIGS.

【0053】前述したコントローラユニット(100
1)内では、画像データ、及び、CPU(1006)に
よるコマンド、各ブロックからの割り込み情報は、パケ
ット化された形式で転送を行う。
The controller unit (100
In 1), the image data, the command by the CPU (1006), and the interrupt information from each block are transferred in a packetized format.

【0054】図3は画像データをパケット化したデータ
パケットを詳しくあらわした図である。
FIG. 3 is a diagram showing in detail a data packet obtained by packetizing image data.

【0055】〔データパケット〕本実施例では画像デー
タを32pixel x 32pixelのTile単
位の画像データ(3002)に分割して取り扱う。この
Tile単位の画像に、必要なヘッダ情報(3001)
及び画像付加情報等(3003)を付加してデータパケ
ットとする。
[Data Packet] In this embodiment, the image data is divided into image data (3002) in tile units of 32 pixels x 32 pixels and handled. The required header information (3001) is added to the image of this tile unit.
And image additional information (3003) are added to form a data packet.

【0056】以下にヘッダ情報(3001)に含まれる
情報について説明を行なう。
The information contained in the header information (3001) will be described below.

【0057】パケットはヘッダ情報(3001)内のP
cktType (3004)内のPacketTyp
eID(3023)の値によってデータパケット、コマ
ンドパケット及びインタラプトパケットに区別される。
本実施例では、PacketTypeID3ビットに対
して、 001b又は101b:データパケット 010b :コマンドパケット 100b :インタラプトパケット を割り付けている。
The packet is P in the header information (3001).
PacketType in cktType (3004)
The data packet, the command packet, and the interrupt packet are distinguished by the value of the eID (3023).
In this embodiment, 001b or 101b: data packet 010b: command packet 100b: interrupt packet is allocated to PacketTypeID 3 bits.

【0058】また、PcktType(3004)には
RepeatFlag(3022)が含まれており、デ
ータパケットの画像データ及び画像付加情報(300
3)、ヘッダ情報(3001)内の所定の情報が1つ前
に送信したデータパケットと同一の場合、Repeat
Flag(3022)に1をセットする。この場合、パ
ケットの転送はヘッダ情報(3001)のみ行われる。
The PcktType (3004) includes a RepeatFlag (3022), and the image data of the data packet and the image additional information (300).
3), if the predetermined information in the header information (3001) is the same as the data packet transmitted immediately before, Repeat
Set 1 to the Flag (3022). In this case, packet transfer is performed only by the header information (3001).

【0059】ChipID(3005)はパケットを送
信するターゲットとなるチップのIDを示す。
ChipID (3005) indicates the ID of the chip that is the target of packet transmission.

【0060】ImageType(3006)では画像
データのタイプを示す。本実施例ではImageTyp
e8ビットのうち上位2ビットを用いて画像データのタ
イプを以下のように規定する。
ImageType (3006) indicates the type of image data. In the present embodiment, ImageType
The type of image data is defined as follows using the upper 2 bits of e8 bits.

【0061】 00b:1画素の画像データを1ビットで表す 01b:1画素の画像データを8ビット1成分で表す 10b:1画素の画像データを8ビット3成分、計24
ビットで表す 11b:1画素の画像データを8ビット4成分、計32
ビットで表す PageID(3007)はデータパケットが含まれる
ページを示しており、JobID(3008)はソフト
ウェアで管理するためのJobIDを格納する。
00b: 1-pixel image data is represented by 1 bit. 01b: 1-pixel image data is represented by 8-bit 1 component. 10b: 1-pixel image data is 8-bit 3-component, a total of 24.
11b represented by bits: 1-bit image data of 8 bits, 4 components, 32 in total
PageID (3007) represented by a bit indicates a page including a data packet, and JobID (3008) stores JobID for managing by software.

【0062】データパケットのページ上の並び順はY方
向のTile座標(3009)とX方向のTile座標
(3010)の組み合わせで、YnXnで表される。
The order of arrangement of the data packets on the page is a combination of the Tile coordinates (3009) in the Y direction and the Tile coordinates (3010) in the X direction and is represented by YnXn.

【0063】データパケットでは、パケットが持つ画像
データ及び画像付加情報が圧縮されている場合と非圧縮
の場合が存在する。本実施例では、圧縮アルゴリズムと
して、画像データが多値カラー(多値グレースケールを
含む)の場合はJPEGを、2値の場合及び画像付加情
報はパックビッツを採用した例を示す。
In the data packet, there are cases where the image data and the image additional information included in the packet are compressed and cases where they are not compressed. In this embodiment, JPEG is used as the compression algorithm when the image data is multi-valued color (including multi-valued gray scale), and Packbits is used as the binary and the image additional information.

【0064】上記方式により画像データ及び画像付加情
報が圧縮されている場合と非圧縮の場合との区別は、そ
れぞれCompressFlag(3017)内のIm
ageData(3026)及びZdata(302
7)が1の場合は圧縮データ、0の場合は非圧縮データ
であることを表す。
The difference between the case where the image data and the image additional information are compressed and the case where the image data is not compressed by the above-mentioned method is distinguished from each other by Im in the CompressFlag (3017).
ageData (3026) and Zdata (302
When 7) is 1, it indicates compressed data, and when 0, it indicates uncompressed data.

【0065】また、CompressFlag(301
7)内にはJPEGにより圧縮処理を行う際に使用した
量子化テーブルの種類を格納するQ−TableID
(3028)が用意されており、量子化テーブルが複数
ある場合、データの圧縮及び伸長時はこの値を参照して
使用する量子化テーブルの切替を行う。
Further, the CompressFlag (301
In 7), Q-TableID that stores the type of quantization table used when performing compression processing by JPEG
(3028) is prepared, and when there are a plurality of quantization tables, the quantization table to be used is switched by referring to this value when compressing and expanding data.

【0066】Process Instruction
(3011)は左詰で8bit毎に処理順に設定し、各
処理Unitは処理後Process Instruc
tionを左に8BitShiftする。Proces
s Instruction(3011)はUnitI
D(3024)とMode(3025)の組が8組格納
されている。UnitID(3024)は画像処理部
(2149)の各処理Unitを指定し、Mode(3
025)は各処理Unitでの動作Modeを指定す
る。これにより、1つのパケットは8つのUnitまで
連続して処理することができる。
Process Instruction
(3011) is left-justified and is set in the processing order every 8 bits, and each processing unit is the post-processing Process Struct.
8bitShift to the left. Procedures
s Instruction (3011) is UnitI
Eight sets of D (3024) and Mode (3025) are stored. The UnitID (3024) specifies each processing unit of the image processing unit (2149), and the Mode (3
025) designates an operation mode in each processing unit. As a result, one packet can be continuously processed up to 8 units.

【0067】PacketByteLength(30
12)はパケットのトータルバイト数を示す。
PacketByteLength (30
12) indicates the total number of bytes in the packet.

【0068】ImageDataByteLengh
(3015)は画像データのバイト数、ZDataBy
teLength(3016)は画像付加情報のバイト
数を表し、ImageDataOffset(301
3)、ZDataOffset(3014)はそれぞれ
のデータに対するパケットの先頭からのOffsetの
値を表している。
ImageDataByteLengh
(3015) is the number of bytes of image data, ZDataBy
teLength (3016) represents the number of bytes of the image additional information, and ImageDataOffset (301
3) and ZDataOffset (3014) represent the Offset value from the beginning of the packet for each data.

【0069】SourceID(3018)は画像デー
タ及び画像付加情報が生成されたソースを示す。
SourceID (3018) indicates the source from which the image data and the image additional information are generated.

【0070】Ztype(3020)は画像付加情報に
おける有効bit幅を示し、Ztype(3020)で
示したbit以外の画像付加情報は無効情報とする。
尚、Ztype(3020)が0である場合は入力され
た画像付加情報全てが無効であることを表す。
Ztype (3020) indicates the effective bit width in the image additional information, and image additional information other than the bit indicated by Ztype (3020) is invalid information.
Incidentally, when Ztype (3020) is 0, it means that all the input image additional information is invalid.

【0071】ThumbnailData(3021)
はデータパケットの画像データを代表する値(以下、サ
ムネール値と呼ぶ)を格納する。本実施例ではthum
bnailData(3021)に最大4つのサムネー
ル値を格納することができる構成となっている。
ThumbnailData (3021)
Stores a value representative of the image data of the data packet (hereinafter referred to as a thumbnail value). In the present embodiment, thum
It is configured such that a maximum of four thumbnail values can be stored in the bnailData (3021).

【0072】Misc(3019)は上記の各情報以外
に必要となる情報を格納する。本実施例ではChar−
flag(3029)及びQ−TableSel(30
30)が用意されている。Char−flag(302
9)にはデータパケットが属する領域信号が格納され
る。Q−TableSel(3030)にはJPEG方
式による圧縮及び伸長時に使用する量子化テーブルを変
更するための情報が格納される。
Misc (3019) stores necessary information in addition to the above information. In this embodiment, Char-
flag (3029) and Q-TableSel (30
30) is prepared. Char-flag (302
The area signal to which the data packet belongs is stored in 9). Q-TableSel (3030) stores information for changing the quantization table used for compression and decompression by the JPEG method.

【0073】図4はパケットテーブルを詳しくあらわし
た図である。
FIG. 4 is a diagram showing the packet table in detail.

【0074】図4はデータパケットがRAM(200
2)に格納されている状態を示している。各データパケ
ットはPacket Table(4001)によって
管理する。Packet Table(4001)の構
成要素は次の通りで、それぞれTableの値に0を5
bit付加すると、パケットの先頭アドレス (400
2)、パケットのByte Length(4005)
となる。
In FIG. 4, the data packet is stored in the RAM (200
The state stored in 2) is shown. Each data packet is managed by the Packet Table (4001). The components of the Packet Table (4001) are as follows, and 0 is set to 5 for each Table value.
If bit is added, the start address of the packet (400
2), Packet Byte Length (4005)
Becomes

【0075】Packet Address Poin
ter (27bit) + 5b00000 = P
acket先頭Address Packet Length (11bit) +
5b00000 =PacketのByte Leng
th なお、Packet Table(4001)とCha
in Table(4010)は分割されないものとす
る。
Packet Address Point
ter (27 bits) + 5b00000 = P
address top Address Packet Length (11 bits) +
5b00000 = Byte Length of Packet
th Note that Packet Table (4001) and Cha
The in Table (4010) shall not be divided.

【0076】Packet Table(4001)は
常に走査方向に並んでおり、Yn/Xn=000/00
0, 000/001,000/002,....とい
う順で並んでいる。このPacket Table(4
001)のEntryは一意にひとつのTileを示
す。また、Yn/Xmaxの次のEntryはYn+1
/X0となる。
The Packet Tables (4001) are always arranged in the scanning direction, and Yn / Xn = 000/00.
0, 000/001, 1,000 / 002 ,. . . . It is lined up in that order. This Packet Table (4
Entry (001) uniquely indicates one Tile. Entry next to Yn / Xmax is Yn + 1
/ X 0 .

【0077】ヘッダ情報(3001)内のRepeat
Flag(3002)がセットされているパケットが入
力される場合は、そのパケットはMemory上には書
かず、Packet TableのEntryに1つめ
のEntryと同じPacket Address P
ointer、Packet Lengthを格納す
る。1つのPacket Dataを2つのTabl
e Entryが指すかたちになる。この場合、2つめ
のTable EntryのRepeat Flag
(4003)がSetされる。
Repeat in header information (3001)
When a packet in which Flag (3002) is set is input, the packet is not written in Memory, and the Entry of the Packet Table has the same Packet Address P as the first Entry.
Stores "ointer" and "Packet Length". One Packet Data and two Tabl
It is in the form of e Entry. In this case, the Repeat Flag of the second Table Entry
(4003) is set.

【0078】PacketがChain DMAにより
複数に分断された場合は、Divide Flag(4
004)をSetし、そのPacketの先頭部分が入
っているChain BlockのChain Tab
le番号(4006)をSetする。
When the Packet is divided into a plurality of pieces by Chain DMA, the Divide Flag (4
004), and the Chain Tab of the Chain Block that contains the beginning of that Packet
Set the le number (4006).

【0079】Chain Table(6010)のE
ntryはChain BlockAddress(4
011)とChain Block Length(6
012)からなっており、Tableの最後のEntr
yにはAddress、Length共に0を格納して
おく。
E of Chain Table (6010)
ntry is Chain Block Address (4
011) and Chain Block Length (6
012), and the last Entr of the Table
0 is stored in y for both Address and Length.

【0080】図5はコマンドパケットを詳しくあらわし
た図である。
FIG. 5 is a diagram showing the command packet in detail.

【0081】本Packet Formatはレジスタ
設定バス(1049)へのアクセスを行うためのもので
ある。本パケットを用いることにより、CPU(100
6)より画像メモリ(1066)へのアクセスも可能で
ある。
This Packet Format is for accessing the register setting bus (1049). By using this packet, the CPU (100
The image memory (1066) can be accessed from 6).

【0082】ChipID(5004)にはコマンドパ
ケットの送信先となる画像処理部(1041)を表すI
Dが格納される。
The ChipID (5004) is an I representing the image processing unit (1041) that is the destination of the command packet.
D is stored.

【0083】PageID(5007)、JobID
(5008)はソフトウェアで管理するためのPage
IDとJob IDを格納する。
PageID (5007), JobID
(5008) is a page for managing with software
The ID and Job ID are stored.

【0084】Packet ID(5009)は1次元
で表される。Data PacketのX−coord
inateのみを使用する。
The Packet ID (5009) is represented one-dimensionally. X-coord of Data Packet
Use only inate.

【0085】パケットバイトレングス(5010)は1
28Byte固定である。
The packet byte length (5010) is 1
It is fixed at 28 Bytes.

【0086】パケットデータ部(5002)には、アド
レス(5011)とデータ(5012)の組を1つのコ
マンドとして、最大12個のコマンドを格納することが
可能である。ライトかリードかのコマンドのタイプはC
mdType(5005)で示され、コマンドの数はC
mdnum(5006)で示される。
A maximum of 12 commands can be stored in the packet data part (5002) with one set of the address (5011) and data (5012) as one command. The command type of write or read is C
It is indicated by mdType (5005), and the number of commands is C
mdnum (5006).

【0087】図6は割り込みパケットを詳しくあらわし
た図である。
FIG. 6 is a diagram showing the interrupt packet in detail.

【0088】本PacketFormatは画像処理部
(1041)からCPU(1006)への割り込みを通
知するためのものである。ステータス処理部(104
6)はInterrupt Packetを送信する
と、次に送信の許可がされるまではInterrupt
Packetを送信してはならない。
This PacketFormat is for notifying an interrupt from the image processing unit (1041) to the CPU (1006). Status processing unit (104
6) When transmitting the Interrupt Packet, the Interrupt packet is transmitted until the next transmission is permitted.
Do not send a Packet.

【0089】パケットバイトレングス(6006)は1
28Byte固定である。
The packet byte length (6006) is 1
It is fixed at 28 Bytes.

【0090】パケットデータ部(6002)には、画像
処理部(1041)の各内部モジュールのステータス情
報(6007)が格納されている。ステータス処理部
(1046)は画像処理部(1041)内の各モジュー
ルのステータス情報を集め、一括してシステム制御部
(1070)に送ることができる。
The packet data section (6002) stores status information (6007) of each internal module of the image processing section (1041). The status processing unit (1046) can collect status information of each module in the image processing unit (1041) and send the status information to the system control unit (1070) collectively.

【0091】ChipID(6004)にはInter
rupt Packetの送信先となるシステム制御部
(1070)を表すIDが、また、IntChipID
(6005)にはInterrupt Packetの
送信元となる画像処理部(1041)を表すIDが格納
される。
Inter is included in the ChipID (6004).
The ID representing the system control unit (1070) that is the destination of the rupt Packet is also IntChipID.
An ID representing the image processing unit (1041) that is the transmission source of the Interrupt Packet is stored in (6005).

【0092】[タイル圧縮部]図1におけるタイル圧縮
部1047のブロック図を図7に示す。
[Tile Compressor] FIG. 7 shows a block diagram of the tile compressor 1047 in FIG.

【0093】701はタイルバスインターフェース部で
あり、タイルバス1048とハンドシェイクを行い、タ
イルバス1048から入力されるヘッダ情報、画像デー
タ及び画像付加情報を取得し、後段に接続された各処理
ブロックへそれぞれのデータを出力する。
A tile bus interface unit 701 performs a handshake with the tile bus 1048 to obtain header information, image data and image additional information input from the tile bus 1048, and to each processing block connected in the subsequent stage. Output each data.

【0094】また、タイルバスインターフェース部70
1ではタイルバス1048から送られてくるヘッダ情報
の解析を行い、ヘッダ情報に矛盾がある場合は後述のレ
ジスタ設定部706に矛盾内容に相当する割り込み信号
を出力した後、リセット信号(不図示)が入力されるま
で動作を停止する。
In addition, the tile bus interface section 70
In No. 1, the header information sent from the tile bus 1048 is analyzed, and if there is a contradiction in the header information, an interrupt signal corresponding to the contradiction content is output to the register setting unit 706 described later, and then a reset signal (not shown). Operation is stopped until is input.

【0095】ヘッダ情報に矛盾がない場合は、後段に接
続されたヘッダ情報保持部702に対してヘッダ情報を
出力した後、タイルバス1048から画像データと画像
付加情報を取得して、ヘッダ情報のImageType
(3006)に従って第1圧縮処理部703(本実施例
ではJPEG方式による圧縮処理を行う)及び第2圧縮
処理部704(本実施例ではパックビッツ方式による圧
縮処理を行う)それぞれに画像データ又は画像付加情報
を出力する。
If there is no contradiction in the header information, the header information is output to the header information holding unit 702 connected to the subsequent stage, and then the image data and the image additional information are acquired from the tile bus 1048 to obtain the header information. ImageType
In accordance with (3006), the image data or the image is given to each of the first compression processing unit 703 (in this embodiment, compression processing by the JPEG method) and the second compression processing unit 704 (in this embodiment, compression processing by the Packbits method). Output additional information.

【0096】具体的には、ヘッダ情報におけるImag
eTypeの上位2ビットが1ビットの画像データを表
す00bの場合には、第1圧縮処理部703は使用せず
に画像データを第2圧縮処理部704へ出力する。
Specifically, the Image in the header information
When the upper 2 bits of eType is 00b representing 1-bit image data, the first compression processing unit 703 outputs the image data to the second compression processing unit 704 without using it.

【0097】また、ImageTypeの上位2ビット
が00b以外の場合、画像データを第1圧縮処理部70
3へ出力するとともに画像付加情報を第2圧縮処理部7
04へ出力する。ただし、Ztype(3020)が0
の場合は入力された画像付加情報は無効であるため、画
像付加情報を2圧縮処理部704に出力せず、第2圧縮
処理部による圧縮処理は行わない。
If the upper 2 bits of ImageType are other than 00b, the image data is processed by the first compression processing unit 70.
3 and outputs the image additional information to the second compression processing unit 7.
Output to 04. However, Ztype (3020) is 0
In the case of, since the input image additional information is invalid, the image additional information is not output to the second compression processing unit 704, and the compression processing by the second compression processing unit is not performed.

【0098】702はヘッダ情報保持部であり、第1圧
縮処理部703及び第2圧縮処理部704において画像
データ及び画像付加情報の圧縮処理を行っている間、ヘ
ッダ情報を保持するためのブロックである。また、ヘッ
ダ情報保持部702は格納したヘッダ情報の中から圧縮
処理に必要な情報を第1圧縮処理部及び第2圧縮処理部
に対して出力する。
A header information holding unit 702 is a block for holding header information while the first compression processing unit 703 and the second compression processing unit 704 are compressing image data and image additional information. is there. Further, the header information holding unit 702 outputs information necessary for compression processing from the stored header information to the first compression processing unit and the second compression processing unit.

【0099】703は第1圧縮処理部であり、本実施例
ではJPEG圧縮を行うJPEG圧縮処理部を表す。第
1圧縮処理部703は画像データが複数bit構成であ
った場合に画像データの圧縮処理を行う。
Reference numeral 703 denotes a first compression processing unit, which represents a JPEG compression processing unit for performing JPEG compression in this embodiment. The first compression processing unit 703 performs compression processing of image data when the image data has a multi-bit configuration.

【0100】また、第1圧縮処理部703では入力され
た画像データを1タイル分格納するためのバッファを持
ち、次のパケットの画像データが入力されるまで直前に
処理したパケットの画像データを保持しておくことで、
タイルバスインターフェース部701から入力された画
像データとバッファ内に格納された画像データの比較を
行う。比較結果は後述の画像リング出力部に送られ、R
epeatFlag(3022)を生成する際に参照さ
れる。
The first compression processing unit 703 has a buffer for storing the input image data for one tile, and holds the image data of the packet processed immediately before the image data of the next packet is input. By doing
The image data input from the tile bus interface unit 701 is compared with the image data stored in the buffer. The comparison result is sent to the image ring output unit described later, and R
It is referred to when the epeatFlag (3022) is generated.

【0101】尚、第1圧縮部において圧縮処理を行って
いる際に第1圧縮部703が動作の異常を検知した場
合、第1圧縮部703は異常動作の内容に相当する割り
込み信号をレジスタ設定部706に対して出力した後、
リセット信号(不図示)が入力されるまで動作を停止す
る。
When the first compressing unit 703 detects an abnormal operation during the compressing process in the first compressing unit, the first compressing unit 703 sets an interrupt signal corresponding to the content of the abnormal operation in the register. After outputting to the unit 706,
The operation is stopped until a reset signal (not shown) is input.

【0102】704は第2圧縮処理部であり、本実施例
では情報ロスのない圧縮方式、具体的にはパックビッツ
方式による圧縮処理部を表す。第2圧縮処理部704で
はタイル圧縮部に入力されたパケットの画像データが1
bit構成であった場合は画像データを、または画像付
加情報が存在する(Ztype(3020)が0でな
い)場合は、画像付加情報をパックビッツ方式による圧
縮処理を行う。
Reference numeral 704 denotes a second compression processing unit, which represents a compression processing unit without information loss in this embodiment, specifically, a compression processing unit according to the Packbits system. In the second compression processing unit 704, the image data of the packet input to the tile compression unit is 1
If it is a bit configuration, the image data is compressed, or if the image additional information is present (Ztype (3020) is not 0), the image additional information is compressed by the Packbits method.

【0103】また、第1圧縮処理部と同様に、第2圧縮
処理部704でも、入力された画像付加情報を1パケッ
ト分格納するためのバッファを持ち、直前に入力された
1bit画像データ又は画像付加情報を保持しておくこ
とにより、タイルバスインターフェース部701から入
力された画像又は画像付加情報とバッファ内に格納され
たデータの比較を行う。比較結果は後述の画像リング出
力部に送られ、RepeatFlag(3022)を生
成する際に参照される。
Similarly to the first compression processing unit, the second compression processing unit 704 also has a buffer for storing the input image additional information for one packet, and the 1-bit image data or the image input immediately before is input. By holding the additional information, the image or the image additional information input from the tile bus interface unit 701 is compared with the data stored in the buffer. The comparison result is sent to the image ring output unit described later, and is referred to when the RepeatFlag (3022) is generated.

【0104】尚、第2圧縮部において圧縮処理を行って
いる際に第2圧縮部704が動作の異常を検知した場
合、第2圧縮部704は異常動作の内容に相当する割り
込み信号をレジスタ設定部706に対して出力した後、
リセット信号(不図示)が入力されるまで動作を停止す
る。
When the second compression unit 704 detects an abnormal operation during the compression process in the second compression unit, the second compression unit 704 sets an interrupt signal corresponding to the content of the abnormal operation in the register setting. After outputting to the unit 706,
The operation is stopped until a reset signal (not shown) is input.

【0105】705は画像リング出力部であり、ヘッダ
情報保持部702、第1圧縮処理部703及び第2圧縮
処理部704から処理情報及び画像データ、画像付加情
報を取得し、ヘッダ情報に対して所定の値を設定してか
ら図3示すデータパケットを生成して画像リングインタ
ーフェース1040に出力する。
An image ring output unit 705 acquires processing information, image data, and image additional information from the header information holding unit 702, the first compression processing unit 703, and the second compression processing unit 704, and with respect to the header information. After setting a predetermined value, the data packet shown in FIG. 3 is generated and output to the image ring interface 1040.

【0106】706はタイル圧縮部1047内部の処理
に関して設定を行うためのレジスタ設定部であり、タイ
ル圧縮部1047に所定の圧縮処理を行わせるために
は、レジスタ設定部706に所定の値を設定する必要が
ある。これらの設定はコマンドパケットを用いてシステ
ム制御部1070から画像処理部1041のコマンド処
理部1045に送り、コマンド処理部1045からレジ
スタ設定バス1049を介してタイル圧縮部1047に
送られることにより行う。
Reference numeral 706 denotes a register setting unit for making settings regarding the processing inside the tile compression unit 1047. In order to cause the tile compression unit 1047 to perform a predetermined compression process, a predetermined value is set in the register setting unit 706. There is a need to. These settings are performed by sending a command packet from the system control unit 1070 to the command processing unit 1045 of the image processing unit 1041 and from the command processing unit 1045 to the tile compression unit 1047 via the register setting bus 1049.

【0107】レジスタ設定部706に設定された値は、
第1圧縮処理部703及び第2圧縮処理部704に送ら
れ、両圧縮処理部はそれらの設定値を参照することによ
り決められた処理を行う。
The value set in the register setting unit 706 is
The data is sent to the first compression processing unit 703 and the second compression processing unit 704, and both compression processing units perform the processing determined by referring to those setting values.

【0108】尚、レジスタ設定部へはコマンドパケット
を用いて値を設定するだけでなく、コマンドパケットを
用いてレジスタ設定部が保持している設定値をシステム
制御部1070へ出力することも可能である。
It is possible to not only set the value to the register setting unit using the command packet but also output the setting value held in the register setting unit to the system control unit 1070 using the command packet. is there.

【0109】さらに、レジスタ設定部706はタイルバ
スインターフェース部701、第1圧縮部703及び第
2圧縮部704から入力された割り込み信号に対応する
レジスタを持ち、いずれかのブロックから割り込み信号
が入力されると対応するレジスタの値をセットした後
に、ステータス処理部1046に対して割り込みが発生
したことを知らせるインタラプト信号及びいずれのブロ
ックで割り込みが発生したかを表すステータス信号を出
力する。
Further, the register setting unit 706 has a register corresponding to the interrupt signal input from the tile bus interface unit 701, the first compression unit 703 and the second compression unit 704, and the interrupt signal is input from any block. Then, after setting the value of the corresponding register, it outputs an interrupt signal notifying the status processing unit 1046 that an interrupt has occurred and a status signal indicating in which block the interrupt has occurred.

【0110】707はレジスタ設定バスインターフェー
ス部であり、レジスタ設定バス1049からタイル圧縮
部に入力されたアドレス及び設定値を、レジスタ設定部
706が受け取れるフォーマットに変換して送るための
ブロックである。
Reference numeral 707 denotes a register setting bus interface unit, which is a block for converting the address and setting value input from the register setting bus 1049 to the tile compressing unit into a format that the register setting unit 706 can receive, and sending the converted format.

【0111】なお、レジスタ設定バスインターフェース
部707はレジスタ設定バス1049からレジスタ設定
値を受け取るだけでなく、レジスタ設定バスが示したア
ドレスに対応する設定値をレジスタ設定部706から読
み出してレジスタ設定バスに出力することも可能であ
る。
The register setting bus interface unit 707 not only receives the register setting value from the register setting bus 1049, but also reads the setting value corresponding to the address indicated by the register setting bus from the register setting unit 706 to the register setting bus. It is also possible to output.

【0112】画像付加情報は画像データ1画素に対して
4bitの情報で、各bitに意味をもたせたものであ
る。図8は画像付加情報を詳しく表した図である。bi
t0が1の時は、対応している画像データが有彩色であ
ることを表している。bit1が1の時は、対応してい
る画像データが無彩色であることを表している。bit
2が1の時は、対応している画像データが文字データで
あること、bit3が1である時は対応している画像デ
ータが文字以外のデータであることを表している。但
し、bit0とbit1が同時に1になることはない。
また、bit2とbit3が同時に1になることはな
い。
The image additional information is 4-bit information for one pixel of image data, and each bit has a meaning. FIG. 8 is a diagram showing the image additional information in detail. bi
When t0 is 1, it means that the corresponding image data is chromatic. When bit1 is 1, it means that the corresponding image data is achromatic. bit
When 2 is 1, the corresponding image data is character data, and when bit 3 is 1, the corresponding image data is data other than characters. However, bit0 and bit1 do not become 1 at the same time.
Also, bit2 and bit3 are never 1 at the same time.

【0113】この画像付加情報は画像データとともにプ
リンタ1003に転送され、プリンタ1003でプリン
タ固有の画像処理のパラメータとして使われるものであ
る。画像付加情報が欠損した画像データの場合、実際に
は画像が出力できなくなるわけではなく、高精彩、高品
位な画像設定でのプリントモードが選択できなってしま
う。つまり、ユーザーにより高品位プリントモードが選
択されていない場合は、画像付加情報が欠損した画像デ
ータであっても、ユーザーが満足する画像を出力するこ
とが可能である。
This image additional information is transferred to the printer 1003 together with the image data and is used by the printer 1003 as a parameter of the image processing unique to the printer. In the case of image data in which the image additional information is lost, the image cannot actually be output, and the print mode with high definition and high quality image setting cannot be selected. That is, when the high-quality print mode is not selected by the user, it is possible to output an image satisfying the user even if the image data lacks the additional image information.

【0114】本発明の実施例では、前述したように1画
素あたり8bit(1成分、3成分、4成分)の場合は
JPEG方式により画像データの圧縮を行っている。圧
縮前画像データと圧縮後画像データとのデータ量比較で
は、一般的には圧縮後の画像データ量が少なくなる。し
かしながら、画像データによっては圧縮後の画像データ
の方が大きくなることもある。1ページの画像をタイル
単位に分割し、圧縮した画像データを画像リング104
0を介してシステム制御部1070に転送し、CPU1
006のワークメモリ1021に格納する従来のシステ
ムにおいては、圧縮率が悪い場合には、画像データがメ
モリ1021を圧迫し、システム全体のパフォーマンス
が低下する可能性があった。
In the embodiment of the present invention, as described above, in the case of 8 bits per pixel (1 component, 3 components, 4 components), the image data is compressed by the JPEG system. In comparison of the amount of image data before compression and the amount of image data after compression, the amount of image data after compression is generally small. However, the compressed image data may become larger depending on the image data. The image of one page is divided into tile units, and the compressed image data is converted into the image ring 104.
0 to the system control unit 1070, and the CPU 1
In the conventional system for storing the data in the work memory 1021 of 006, when the compression rate is poor, the image data may press the memory 1021 and the performance of the entire system may decrease.

【0115】前述した説明を踏まえ、ここでフローチャ
ートを用いて本特許のシステムにおける、タイル圧縮部
の出力圧縮データ切り替えについて詳しく説明する。図
9はタイル圧縮部の出力圧縮データ切り替えについて詳
しく説明したフローチャートである。
Based on the above description, the output compressed data switching of the tile compression unit in the system of this patent will be described in detail here with reference to the flowchart. FIG. 9 is a flowchart illustrating in detail the output compressed data switching of the tile compression unit.

【0116】708はデータ量計算部で、画像リング出
力部705が画像リング1040に出力した圧縮後の画
像データのデータ量の積算値を、パケットヘッダーのP
ageID(3007)単位で計算するブロックであ
る。PageID(3007)の値が変更にならない限
り、画像リング出力部705が出力した圧縮後画像デー
タのデータ量の積算を行う(step9002)。但
し、PageID(3007)が変更された場合にはデ
ータ量積算値を0にリセットする(step900
5)。
Reference numeral 708 denotes a data amount calculation unit, which is an integrated value of the data amount of the image data after compression output by the image ring output unit 705 to the image ring 1040.
This block is calculated in units of ageID (3007). Unless the value of PageID (3007) is changed, the data amount of the compressed image data output by the image ring output unit 705 is integrated (step 9002). However, when the PageID (3007) is changed, the data amount integrated value is reset to 0 (step 900).
5).

【0117】709はデータ量比較部で、データ量計算
部708で計算されたデータ量の積算値と、レジスタ設
定部706に設定されたデータ閾値とを比較し(ste
p9003)、画像リング出力部705に比較結果を出
力するブロックである。
A data amount comparison unit 709 compares the integrated value of the data amounts calculated by the data amount calculation unit 708 with the data threshold value set in the register setting unit 706 (step
p9003), which is a block for outputting the comparison result to the image ring output unit 705.

【0118】画像リング出力部705は、データ量比較
部709からの比較結果信号により、データ量積算値が
閾値を超えていた場合、以後、同一のPageIDで出
力するデータパケット内に画像付加情報付加しない(s
tep9004)。
When the data amount integrated value exceeds the threshold value according to the comparison result signal from the data amount comparison unit 709, the image ring output unit 705 thereafter adds the image additional information in the data packet to be output with the same PageID. Not (s
(step 9004).

【0119】[0119]

【発明の効果】以上述べたように本発明によれば、画像
データ及び画像付加情報をタイルに分割してタイル単位
で圧縮処理を行うコントローラにおいて、圧縮後の画像
データの積算値を求め、閾値との比較結果により画像付
加情報の付加の有無を切り替えることを可能にしておく
ことで、圧縮率の悪い画像データをハンドリングすると
きにも、システム全体のパフォーマンスを落とすことな
く画像処理を行うことができる。
As described above, according to the present invention, in a controller that divides image data and image additional information into tiles and performs compression processing in tile units, the integrated value of the compressed image data is calculated and the threshold value is calculated. By making it possible to switch the addition or non-addition of image additional information according to the comparison result with, it is possible to perform image processing without degrading the performance of the entire system even when handling image data with poor compression ratio. it can.

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

【図1】 本システムコントローラの全体ブロック図。FIG. 1 is an overall block diagram of the system controller.

【図2】 本システムの実使用環境を表す図。FIG. 2 is a diagram showing an actual use environment of this system.

【図3】 データパケットを表す図。FIG. 3 is a diagram showing a data packet.

【図4】 コマンドパケットを表す図。FIG. 4 is a diagram showing a command packet.

【図5】 インタラプトパケットを表す図。FIG. 5 is a diagram showing an interrupt packet.

【図6】 パケットテーブルを表す図。FIG. 6 is a diagram showing a packet table.

【図7】 タイル圧縮部のブロック図。FIG. 7 is a block diagram of a tile compression unit.

【図8】 画像付加情報を表す図。FIG. 8 is a diagram showing image additional information.

【図9】 圧縮後データの出力を切り替え動作を表すフ
ローチャート。
FIG. 9 is a flowchart showing an operation of switching the output of compressed data.

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

1001 コントローラユニット 1002 スキャナ 1003 プリンタ 1001 controller unit 1002 scanner 1003 printer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 画像データと、前記画像データに対応し
た画像付加データとを用い、前記各データの処理をタイ
ル単位で行う画像処理システムにおいて、前記タイル単
位の各データを圧縮する画像圧縮手段と、前記画像圧縮
手段が圧縮済みの画像データ量を計算するためのデータ
量計算手段と、前記データ量計算手段の出力である圧縮
後データ量と予め決められた数値とを比較するデータ量
比較手段とを備え、前記データ量比較手段の出力結果に
より、画像圧縮手段が出力するデータに、圧縮済み画像
付加データの付加の有無を切り替える事を特徴とする画
像処理システム。
1. In an image processing system that uses image data and image additional data corresponding to the image data to process the data in tile units, an image compression unit for compressing the data in tile units. A data amount calculating means for calculating the image data amount compressed by the image compressing means, and a data amount comparing means for comparing the compressed data amount output from the data amount calculating means with a predetermined numerical value. The image processing system, comprising: switching the presence / absence of addition of the compressed image additional data to the data output by the image compression means, according to the output result of the data amount comparison means.
【請求項2】 請求項1に記載の画像処理システムにお
いて、データ量比較手段の出力結果が、(圧縮後データ
量<予め決められた数値)の場合、画像圧縮手段が出力
するデータに圧縮済み画像付加データを付加し、データ
量比較手段の出力結果が、(圧縮後データ量>予め決め
られた数値)の場合、画像圧縮手段が出力するデータに
圧縮済み画像付加データを付加しない事を特徴とする画
像処理システム。
2. The image processing system according to claim 1, wherein when the output result of the data amount comparison means is (compressed data amount <predetermined numerical value), the data output by the image compression means has been compressed. When the image addition data is added and the output result of the data amount comparison means is (the amount of data after compression> a predetermined numerical value), the compressed image addition data is not added to the data output by the image compression means. Image processing system.
【請求項3】 請求項1に記載の画像処理システムにお
いて、前記予め決められた数値を設定するデータ量閾値
設定手段を有している事を特徴とする画像処理システ
ム。
3. The image processing system according to claim 1, further comprising data amount threshold value setting means for setting the predetermined numerical value.
【請求項4】 請求項1に記載の画像処理システムにお
いて、前記データ量計算手段のデータ量計算、及び、画
像圧縮手段の圧縮後画像付加データの付加の有無切り替
えは、ページ単位で行われ、一旦、圧縮済み画像付加デ
ータを付加しなかった場合、同一ページ内では以後、圧
縮済み画像付加データを付加しない事を特徴とする画像
処理システム。
4. The image processing system according to claim 1, wherein the calculation of the data amount of the data amount calculation unit and the addition / non-switching of addition of the compressed image additional data of the image compression unit are performed in page units, An image processing system characterized in that, if the compressed image additional data is not added once, the compressed image additional data is not added thereafter within the same page.
JP2002020273A 2002-01-29 2002-01-29 Image processing system Pending JP2003224727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002020273A JP2003224727A (en) 2002-01-29 2002-01-29 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002020273A JP2003224727A (en) 2002-01-29 2002-01-29 Image processing system

Publications (2)

Publication Number Publication Date
JP2003224727A true JP2003224727A (en) 2003-08-08
JP2003224727A5 JP2003224727A5 (en) 2005-08-18

Family

ID=27743809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002020273A Pending JP2003224727A (en) 2002-01-29 2002-01-29 Image processing system

Country Status (1)

Country Link
JP (1) JP2003224727A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7570552B2 (en) 2004-01-27 2009-08-04 Panasonic Corporation Optical disk apparatus which changes a tilt value of an objective lens and method of recording with such optical disk apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7570552B2 (en) 2004-01-27 2009-08-04 Panasonic Corporation Optical disk apparatus which changes a tilt value of an objective lens and method of recording with such optical disk apparatus

Similar Documents

Publication Publication Date Title
US7724388B2 (en) Image input/output control apparatus, image processing apparatus, image processing method, data communication apparatus, and data communication method
US7130072B2 (en) Multifunction system, image processing method, computer program and memory medium
US7447384B2 (en) Image processing method and apparatus
JP3862605B2 (en) Image processing device
US7145681B2 (en) Apparatus and method for processing divided image data
JP2003316714A (en) Apparatus and method for information processing
JP3907471B2 (en) Image input / output controller
JP4065550B2 (en) Image input / output control device, image processing device, image processing method in image input / output control device, and image processing method in image processing device
JP2003224727A (en) Image processing system
JP4136573B2 (en) Image processing method, image processing apparatus, program, and recording medium
JP2005045458A (en) Image compression method and apparatus
JP2006229688A (en) Image processing device
JP2003348338A (en) Information processing apparatus
JP2003250050A (en) Image processing apparatus and control method thereof
JP4859215B2 (en) Data processing apparatus and control method
JP3703431B2 (en) Data communication apparatus, image processing apparatus, data communication method, and data communication method in image processing apparatus
JP2003234910A (en) Multifunction system
JP2003069831A (en) Image processor, image display method and computer program
JP2003234909A (en) Image processing apparatus
JP2003234904A (en) Multifunction system controller
JP2005020094A (en) Image processing method and image processor
JP2004165902A (en) Image processing apparatus
JP2004253906A (en) Expanding apparatus
JP2004120135A (en) Image processor, and control method therefor
JP2003234908A (en) Image processing apparatus

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20041116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050131

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060718

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070130