JP2001103473A - Image packet structure, page image data structure, and packet generating apparatus and method - Google Patents

Image packet structure, page image data structure, and packet generating apparatus and method

Info

Publication number
JP2001103473A
JP2001103473A JP27983299A JP27983299A JP2001103473A JP 2001103473 A JP2001103473 A JP 2001103473A JP 27983299 A JP27983299 A JP 27983299A JP 27983299 A JP27983299 A JP 27983299A JP 2001103473 A JP2001103473 A JP 2001103473A
Authority
JP
Japan
Prior art keywords
data
packet
compression
image data
header
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
JP27983299A
Other languages
Japanese (ja)
Inventor
Takashi Fujiwara
隆史 藤原
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 JP27983299A priority Critical patent/JP2001103473A/en
Publication of JP2001103473A publication Critical patent/JP2001103473A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

(57)【要約】 【課題】 伝送すべき最大データ量を確定する。 【解決手段】 32画素×32画素のタイル単位でパケ
ットを生成する。圧縮後の画像データ量が圧縮前の画像
データ量よりも少ない場合には、パケットのデータ本体
10に圧縮画像データを収容し、ヘッダ12の圧縮フラ
グを’1’にする。圧縮後の画像データ量が圧縮前の画
像データ量よりも多い場合には、パケットのデータ本体
10に非圧縮画像データを収容し、ヘッダ12の圧縮フ
ラグを’0’にする。
(57) [Summary] [Problem] To determine the maximum data amount to be transmitted. SOLUTION: A packet is generated in tile units of 32 pixels × 32 pixels. If the image data amount after compression is smaller than the image data amount before compression, the compressed image data is accommodated in the data body 10 of the packet, and the compression flag of the header 12 is set to “1”. If the amount of image data after compression is larger than the amount of image data before compression, uncompressed image data is stored in the data body 10 of the packet, and the compression flag of the header 12 is set to “0”.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像パケット構
造、ページ画像データ構造並びにパケット生成装置及び
方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an image packet structure, a page image data structure, and a packet generating apparatus and method.

【0002】[0002]

【従来の技術】画像データを圧縮する場合、画像又は圧
縮方法によっては、圧縮後のデータ量が圧縮前のデータ
量よりも大きくなることがある。このように、圧縮処理
によってデータ量が増加してしまうことがあると、1ペ
ージ又は画面の最大データ量、又は、1ページをより細
分化した1パケットの最大データ量を確定することが困
難になる。そこでは、従来は、圧縮画像データを記憶す
るメモリ又はバッファの容量に、予想されるだけの余裕
を持たせていた。
2. Description of the Related Art When compressing image data, the data amount after compression may be larger than the data amount before compression depending on the image or the compression method. As described above, when the data amount may increase due to the compression processing, it is difficult to determine the maximum data amount of one page or screen, or the maximum data amount of one packet obtained by further subdividing one page. Become. Here, conventionally, the capacity of a memory or a buffer for storing the compressed image data has a margin as expected.

【0003】圧縮後のデータ量が圧縮前のデータ量より
多くなる場合には、非圧縮の画像データを採用する構成
も知られている。この従来例では、1ページ単位で圧縮
/非圧縮を選択するので、1ページ分のメモリを別途、
用意し、圧縮/非圧縮のどちらを採油するかが決定され
るまで、非圧縮の画像データをそのメモリに記憶してお
く必要がある。
[0003] When the data amount after compression is larger than the data amount before compression, a configuration that employs uncompressed image data is also known. In this conventional example, since compression / non-compression is selected in units of one page, memory for one page is separately provided.
It is necessary to prepare and store uncompressed image data in its memory until it is determined whether to use compressed or uncompressed oil.

【0004】[0004]

【発明が解決しようとする課題】メモリ又はバッファの
容量の余裕は、使用されなければ無駄であるだけでな
く、その余裕を最低限に設定することが困難であるの
で、一般的には多めの余裕を設けることになり、これは
更なる無駄となる。
The capacity of the memory or buffer is not only wasted unless it is used, but it is difficult to set the capacity to a minimum. There is room for this, which is wasteful.

【0005】また、1ページ単位で画像データを圧縮
し、圧縮後のデータ量が圧縮前のデータ量よりも多くな
る場合に、非圧縮のデータを採用する従来例では、1ペ
ージ分のメモリを用意しなければならず、コスト高とな
る。
In a conventional example in which image data is compressed in units of one page and the amount of data after compression is larger than the amount of data before compression, one page of memory is used in a conventional example in which uncompressed data is used. It must be prepared, which increases costs.

【0006】そこで、本発明は、メモリ又はバッファに
このような無駄な余裕を設けなくて済む画像パケット構
造、ページ画像データ構造並びにパケット生成装置及び
方法を提示することを目的とする。
Accordingly, an object of the present invention is to provide an image packet structure, a page image data structure, and a packet generating apparatus and method which do not require such a wasteful margin in a memory or a buffer.

【0007】本発明又は、1ページ分のメモリを別途、
用意しなくて済む画像パケット構造、ページ画像データ
構造並びにパケット生成装置及び方法を提示することを
目的とする。
According to the present invention or the memory for one page,
An object of the present invention is to provide an image packet structure, a page image data structure, and a packet generation device and method which do not need to be prepared.

【0008】[0008]

【課題を解決するための手段】本発明に係る画像パケッ
ト構造は、画像情報を収容するデータ本体と、そのヘッ
ダとからなり、当該ヘッダが、当該データ本体に収容さ
れる画像情報が圧縮されているか否かを示す圧縮フラグ
を具備することを特徴とする。
According to the present invention, there is provided an image packet structure comprising a data body containing image information and a header thereof. The header is obtained by compressing the image information contained in the data body. A compression flag indicating whether or not the compression flag is present.

【0009】本発明に係るページ画像データ構造は、1
ページの画像データをそれぞれn×m画素(但し、n,
mは1以上の整数)からなる複数のタイルに区分し、各
タイルの画像情報を、当該画像情報を収容するデータ本
体及びそのヘッダからなるパケットに成形し、当該ヘッ
ダが当該データ本体に収容される画像情報が圧縮されて
いるか否かを示す圧縮フラグを具備することを特徴とす
る。
The page image data structure according to the present invention has the following structure.
The image data of the page is nxm pixels (where n,
m is an integer of 1 or more), and the image information of each tile is formed into a packet including a data body containing the image information and a header, and the header is contained in the data body. And a compression flag indicating whether or not the image information is compressed.

【0010】本発明に係るパケット生成装置は、画像デ
ータを圧縮し、圧縮前後のデータ量を比較し、データ量
の少ない方のデータ及び少ない方を示す情報を出力する
圧縮手段と、当該圧縮手段から出力されるデータが圧縮
画像データか否かに応じた内容の圧縮フラグを含むヘッ
ダを生成するヘッダ生成手段と、当該圧縮手段から出力
されるデータと当該ヘッダ生成手段から出力されるヘッ
ダをマージするマージ手段とからなることを特徴とす
る。
A packet generating apparatus according to the present invention compresses image data, compares the data amount before and after the compression, and outputs data indicating the smaller data amount and information indicating the smaller data amount; A header generating means for generating a header including a compression flag having a content according to whether or not the data output from the header is compressed image data, and merging the data output from the compression means with the header output from the header generating means And merging means.

【0011】本発明に係るパケット生成方法は、画像デ
ータを圧縮し、圧縮前後のデータ量を比較し、データ量
の少ない方のデータ及び少ない方を示す情報を出力する
圧縮ステップと、当該圧縮ステップの結果、出力される
データが圧縮画像データか否かに応じた内容の圧縮フラ
グを含むヘッダを生成するヘッダ生成ステップと、当該
圧縮ステップにより出力されるデータと当該ヘッダ生成
ステップにより出力されるヘッダをマージするマージ・
ステップとからなることを特徴とする。
A packet generation method according to the present invention includes a compression step of compressing image data, comparing the data amounts before and after compression, and outputting data with the smaller data amount and information indicating the smaller data amount; As a result, a header generation step of generating a header including a compression flag having a content according to whether or not the output data is compressed image data; a data output by the compression step; and a header output by the header generation step Merge
And steps.

【0012】[0012]

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

【0013】図1は、本発明の一実施例のパケット構造
を示す。1パケットは32×32画素の1タイル分の画
像データを収容するデータ本体10と、ヘッダ12から
なる。ヘッダ12は、パケットのシリアル番号を示すパ
ケットID14、データ本体10に収容される画像デー
タが圧縮されているか否かを示す圧縮フラグ16、及
び、データ本体10に収容される画像データ量を示す画
像データ長18を具備する。本実施例では、パケットI
D14は1バイト、圧縮フラグ16は1ビット、データ
長18は2バイトである。
FIG. 1 shows a packet structure according to an embodiment of the present invention. One packet is composed of a data body 10 containing one tile of image data of 32 × 32 pixels and a header 12. The header 12 includes a packet ID 14 indicating the serial number of the packet, a compression flag 16 indicating whether the image data contained in the data body 10 is compressed, and an image representing the amount of image data contained in the data body 10. The data length 18 is provided. In this embodiment, the packet I
D14 is 1 byte, the compression flag 16 is 1 bit, and the data length 18 is 2 bytes.

【0014】図2は、1ページの画像データを32画素
×32画素からなるタイルに分割した様子を示す。1タ
イルの画像データが、図2に示すように1つのパケット
に収容される。1タイルは32×32画素でなくても良
く、例えば、64×64画素でも良いし、更には、正方
形でなく矩形などでも良い。1タイルが32画素×32
画素の場合、例えば、A4を600dpiの解像度で
は、タイル数は、220×156=34320になり、
A3を1200dpiの解像度では、タイル数は440
×624=274,560になる。
FIG. 2 shows a state where one page of image data is divided into tiles of 32 pixels × 32 pixels. One tile of image data is accommodated in one packet as shown in FIG. One tile may not be 32 × 32 pixels, for example, may be 64 × 64 pixels, and may be a rectangle instead of a square. One tile is 32 pixels x 32
In the case of a pixel, for example, when A4 has a resolution of 600 dpi, the number of tiles is 220 × 156 = 34320,
When the resolution of A3 is 1200 dpi, the number of tiles is 440.
× 624 = 274,560.

【0015】本実施例では、画像データを圧縮する場合
に、1ページ分をまとめて圧縮するのではなく、パケッ
ト単位、即ち、タイル単位で画像データを圧縮するか否
かを決定する。圧縮後のデータ量が圧縮前のデータ量よ
りも多くなる場合には、圧縮しない。
In this embodiment, when compressing image data, it is determined whether to compress image data in packet units, that is, tile units, instead of compressing one page at a time. If the data amount after compression is larger than the data amount before compression, compression is not performed.

【0016】本実施例のパケットは、ヘッダ12に圧縮
フラグ16を具備するので、データ本体10に圧縮画像
データが収容されたか非圧縮の画像データが収容された
かを圧縮フラグ16で識別できる。圧縮画像データをデ
ータ本体10に収容した場合には、圧縮フラグに’1’
をセットし、データ本体10に非圧縮画像データを収容
した場合には、圧縮フラグに’0’をセットする。1ペ
ージ中には、圧縮画像データを持つパケットと、非圧縮
画像データを持つパケットが混在する。
Since the packet of this embodiment has the compression flag 16 in the header 12, it can be identified by the compression flag 16 whether the data body 10 contains compressed image data or uncompressed image data. When the compressed image data is stored in the data body 10, the compression flag is set to "1".
Is set, and when non-compressed image data is stored in the data body 10, '0' is set in the compression flag. In one page, packets having compressed image data and packets having non-compressed image data are mixed.

【0017】例えば、1ページのプレーンな画像データ
があり、これを圧縮する場合に、本実施例の画像データ
フォーマットの形式を採用したとする。先ず、ページ画
像データを図2に示すようにタイルに分割する。このタ
イル毎の画像データを、例えばJPEG方式などで圧縮
する。圧縮方法は、別の方法でも良い。圧縮の結果、元
の画像データ量よりもデータ量が少なくなったときに
は、圧縮画像データをパケットのデータ本体10に収容
し、そのデータ量をヘッダ12のデータ長18に格納
し、圧縮フラグ16に’1’をセットする。逆に、圧縮
の結果、元の画像データ量よりもデータ量が多くなった
ときには、非圧縮の画像データをパケットのデータ本体
10に収容し、そのデータ量をヘッダ12のデータ長1
8に格納し、圧縮フラグ16に’0’をセットする。
For example, it is assumed that there is one page of plain image data, and when the image data is compressed, the image data format of the present embodiment is adopted. First, the page image data is divided into tiles as shown in FIG. The image data for each tile is compressed by, for example, the JPEG method. The compression method may be another method. As a result of the compression, when the data amount becomes smaller than the original image data amount, the compressed image data is stored in the data body 10 of the packet, the data amount is stored in the data length 18 of the header 12, and the compression flag 16 Set '1'. Conversely, as a result of compression, when the data amount becomes larger than the original image data amount, the uncompressed image data is accommodated in the data body 10 of the packet, and the data amount is stored in the data length 1 of the header 12.
8 and the compression flag 16 is set to '0'.

【0018】このようにして、各タイルについてデータ
の圧縮とパケット化を繰り返し、1ページのデータを作
成する。このようにして出来た1ページ分のデータは、
各パケットのデータ本体10について元の画像データ量
を超えないことを保証できる。ヘッダ12のデータ量は
固定(4バイト)なので、1ページの総データ量の最大
値は、(1タイルの非圧縮の画像データ量+ヘッダのデ
ータ量4Byte)×(1ページのタイル数)で計算さ
れる。
In this way, data compression and packetization are repeated for each tile to generate one page of data. The data for one page created in this way is
It can be guaranteed that the data body 10 of each packet does not exceed the original image data amount. Since the data amount of the header 12 is fixed (4 bytes), the maximum value of the total data amount of one page is (uncompressed image data amount of one tile + data amount of header 4 Bytes) × (number of tiles of one page). Is calculated.

【0019】圧縮/非圧縮のパケットが混在しているペ
ージ画像データを伸長して非圧縮の画像データを復元す
る場合には、各パケットのヘッダ12の圧縮フラグ16
を参照し、それが’1’であるパケットに収容されるデ
ータのみを伸長すればよい。
When decompressing uncompressed image data by expanding page image data in which compressed / uncompressed packets are mixed, the compression flag 16 of the header 12 of each packet is used.
, And only the data contained in the packet in which it is '1' need be expanded.

【0020】このように、本実施例では、1タイル分の
非圧縮画像データを一時保持すれば済むので、そのため
のメモリ容量は小さくて済む。そのタイルの画像データ
の圧縮が終了し、そのタイルのパケットを生成した後
は、そのタイルの画像データを消去しても構わない。つ
まり、1タイルの画像データを圧縮しパケット化する毎
に、そのタイルの原画像データを消去できる。これによ
り、圧縮の際に必要となるメモリの作業領域は、1タイ
ル分の画像データの容量があれば良いことになる。
As described above, in the present embodiment, it is only necessary to temporarily hold the uncompressed image data for one tile, so that the memory capacity for that is small. After the compression of the image data of the tile is completed and the packet of the tile is generated, the image data of the tile may be deleted. That is, each time the image data of one tile is compressed and packetized, the original image data of that tile can be deleted. As a result, the work area of the memory required for compression only needs to have the capacity of image data for one tile.

【0021】図3は、本実施例の概略構成ブロック図を
示す。20はCPU、22はメモリ制御回路、24はメ
モリである。26は処理すべき画像データが入力する入
力端子、28は入力端子26に入力した画像データを、
図1及び図2を参照して説明したパケットに成形するパ
ケット生成回路である。パケット生成回路28は、タイ
ル単位で画像データを圧縮する画像圧縮回路を具備す
る。30は、画像圧縮前後の画像データを一時記憶する
バッファである。32は、パケット生成回路28の出力
パケットをDMA(Direct Memory Ac
cess)方式で、メモリ制御回路22を介してメモリ
24に転送するDMA制御回路である。34は、CPU
20、メモリ制御回路22及びDMA制御回路32を接
続するシステムバスである。
FIG. 3 is a schematic block diagram of the present embodiment. 20 is a CPU, 22 is a memory control circuit, and 24 is a memory. 26 is an input terminal for inputting image data to be processed, 28 is image data input to the input terminal 26,
FIG. 4 is a packet generation circuit that forms a packet described with reference to FIGS. 1 and 2. FIG. The packet generation circuit 28 includes an image compression circuit that compresses image data in tile units. Reference numeral 30 denotes a buffer for temporarily storing image data before and after image compression. Reference numeral 32 denotes a DMA (Direct Memory Ac) output packet of the packet generation circuit 28.
cess), and is a DMA control circuit that transfers data to the memory 24 via the memory control circuit 22. 34 is a CPU
20, a system bus connecting the memory control circuit 22 and the DMA control circuit 32.

【0022】基本的なデータの流れを説明する。画像デ
ータが、32画素×32画素のタイル単位で入力端子2
6に入力する。パケット生成回路28は、タイル単位で
画像データを圧縮し、非圧縮画像データと圧縮画像デー
タとを比較し、少ないデータ量の方をデータ本体10に
収容し、ヘッダ12の圧縮フラグ16に’0’又は’
1’をセットし、図1に示すパケットのフォーマットで
DMA制御回路32に出力する。DMA制御回路32
は、パケット生成回路28からのパケット・データを、
システム・バス34及びメモリ制御回路22を介してメ
モリ24に書き込む。
The basic data flow will be described. The image data is input terminal 2 in units of tiles of 32 pixels × 32 pixels.
Enter 6 The packet generation circuit 28 compresses the image data in tile units, compares the non-compressed image data with the compressed image data, stores the smaller data amount in the data body 10, and sets the compression flag 16 of the header 12 to “0”. 'Or'
1 'is set and output to the DMA control circuit 32 in the packet format shown in FIG. DMA control circuit 32
Represents the packet data from the packet generation circuit 28,
The data is written to the memory 24 via the system bus 34 and the memory control circuit 22.

【0023】図4は、パケット生成回路28の概略構成
ブロック図を示す。圧縮回路40は、入力端子26から
のタイル単位の画像データをバッファ30に格納すると
共に圧縮して圧縮画像データもバッファ30に格納し、
非圧縮画像データと圧縮画像データとを比較して、少な
いデータ量の方を出力する。すなわち、圧縮後の画像デ
ータ量が圧縮前の画像データ量よりも少ない場合には、
圧縮回路40は、圧縮画像データをマージ回路44に出
力すると共に、ヘッダ生成回路42に、マージ回路44
に出力したデータが圧縮データであること及びそのデー
タ量を通知する。逆に、圧縮後の画像データ量が圧縮前
の画像データ量よりも多い場合には、圧縮回路40は、
圧縮前の画像データをマージ回路44に出力すると共
に、ヘッダ生成回路42に、マージ回路44に出力した
データが非圧縮データであること及びそのデータ量を通
知する。
FIG. 4 is a block diagram showing a schematic configuration of the packet generation circuit 28. The compression circuit 40 stores the image data in tile units from the input terminal 26 in the buffer 30 and also compresses and stores the compressed image data in the buffer 30.
The non-compressed image data is compared with the compressed image data, and the smaller data amount is output. That is, when the image data amount after compression is smaller than the image data amount before compression,
The compression circuit 40 outputs the compressed image data to the merge circuit 44, and also outputs the merged image data to the header generation circuit 42.
Is notified that the output data is compressed data and the amount of data. Conversely, when the image data amount after compression is larger than the image data amount before compression, the compression circuit 40
The image data before compression is output to the merge circuit 44, and the header generation circuit 42 is notified that the data output to the merge circuit 44 is uncompressed data and the amount of the data.

【0024】ヘッダ生成回路42は、パケットID14
を順にインクリメントし、画像データ長18にデータ量
をセットし、圧縮フラグ16については、圧縮回路40
がマージ回路44に非圧縮データを出力するときに
は、’0’をセットし、圧縮回路40がマージ回路44
に圧縮画像データを出力するときには、’1’をセット
する。そして、ヘッダ生成回路42は、このように生成
したヘッダ情報をマージ回路44に出力する。
The header generation circuit 42 outputs the packet ID 14
Are sequentially incremented, and the data amount is set to the image data length 18.
Is set to "0" when the uncompressed data is output to the merge circuit 44, the compression circuit 40
Is set to "1" when the compressed image data is output to. Then, the header generation circuit 42 outputs the generated header information to the merge circuit 44.

【0025】マージ回路44は、ヘッダ生成回路42か
らのヘッダと圧縮回路40からのデータとをマージし
て、図1に示すフォーマットのパケットを生成する。生
成されたパケットは、DMA制御回路32に送られる。
The merge circuit 44 merges the header from the header generation circuit 42 and the data from the compression circuit 40 to generate a packet having the format shown in FIG. The generated packet is sent to the DMA control circuit 32.

【0026】DMA制御回路32は、パケットデータを
格納するアドレスを示すパケットアドレスレジスタを具
備する。DMA制御回路32は、パケット生成回路28
(のマージ回路44)からのパケットを、パケットアド
レスレジスタで示されるメモリ24のアドレスへ書き込
む。パケットアドレスレジスタは、記憶値をパケット容
量分だけ加算して更新する。その後、DMA制御回路3
2は、次のパケットをパケット生成回路28から受け取
る。
The DMA control circuit 32 has a packet address register indicating an address for storing packet data. The DMA control circuit 32 includes a packet generation circuit 28
The packet from (the merge circuit 44) is written to the address of the memory 24 indicated by the packet address register. The packet address register adds and updates the stored value by the packet capacity. After that, the DMA control circuit 3
2 receives the next packet from the packet generation circuit 28.

【0027】[0027]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、画像パケットのヘッダに画像デー
タが圧縮されているか否かを示す圧縮フラグを持つこと
により、パケット毎に圧縮/非圧縮を選択できる。これ
により、圧縮後のデータが元データよりも大きくなって
しまった場合には非圧縮データのままパケット化するこ
とが、パケット単位で選択できる。また、1パケット及
び1ページの画像データ量の最大値を確定できるので、
データを保管するメモリ及びバッファなどに過剰な余裕
を持たせる必要がなくなる。
As can be easily understood from the above description, according to the present invention, a compression flag indicating whether or not image data is compressed is provided in the header of an image packet, so that each packet is compressed / compressed. You can select uncompressed. Accordingly, when the data after compression becomes larger than the original data, it is possible to select packetization without changing the uncompressed data in packet units. Also, since the maximum value of the image data amount of one packet and one page can be determined,
It is not necessary to provide a memory and a buffer for storing data with an extra margin.

【0028】更に、1タイルの画像データを圧縮しパケ
ット化する毎に、その元になるタイルの画像データを消
去できるので、圧縮する際に必要となるメモリの作業領
域を1タイル分に低減できる。
Further, each time one tile of image data is compressed and packetized, the original tile image data can be deleted, so that the work area of the memory required for compression can be reduced to one tile. .

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

【図1】 本実施例のパケットデータフォーマットの構
造図である。
FIG. 1 is a structural diagram of a packet data format of the present embodiment.

【図2】 32×32画素のタイルの単位に分割された
1ページの画像データの模式図である。
FIG. 2 is a schematic diagram of one page of image data divided into tile units of 32 × 32 pixels.

【図3】 本実施例の概略構成ブロック図である。FIG. 3 is a schematic configuration block diagram of the present embodiment.

【図4】 パケット生成回路28の概略構成ブロック図
である。
FIG. 4 is a schematic block diagram of a configuration of a packet generation circuit 28;

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

10:データ本体 12:ヘッダ 14:パケットID 16:圧縮フラグ 18:画像データ長 20:CPU 22:メモリ制御回路 24:メモリ 26:入力端子 28:パケット生成回路 30:バッファ 32:DMA制御回路 34:システムバス 40:圧縮回路 42:ヘッダ生成回路 44:マージ回路 10: Data body 12: Header 14: Packet ID 16: Compression flag 18: Image data length 20: CPU 22: Memory control circuit 24: Memory 26: Input terminal 28: Packet generation circuit 30: Buffer 32: DMA control circuit 34: System bus 40: Compression circuit 42: Header generation circuit 44: Merge circuit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 画像情報を収容するデータ本体と、その
ヘッダとからなり、当該ヘッダが、当該データ本体に収
容される画像情報が圧縮されているか否かを示す圧縮フ
ラグを具備することを特徴とする画像パケット構造。
1. A data body containing image information, and a header thereof, wherein the header includes a compression flag indicating whether or not the image information contained in the data body is compressed. Image packet structure.
【請求項2】 当該データ本体に収容される画像情報
は、1ページの画像データを構成する複数のタイルの1
つに含まれる請求項1に記載の画像パケット構造。
2. The image information contained in the data body is one of a plurality of tiles constituting one page of image data.
The image packet structure according to claim 1, wherein the image packet structure includes:
【請求項3】 当該タイルがn×m画素(但し、n,m
は1以上の整数)からなる請求項2に記載の画像パケッ
ト構造。
3. The tile has n × m pixels (where n, m
3. The image packet structure according to claim 2, wherein (a) is an integer of 1 or more.
【請求項4】 1ページの画像データをそれぞれn×m
画素(但し、n,mは1以上の整数)からなる複数のタ
イルに区分し、各タイルの画像情報を、当該画像情報を
収容するデータ本体及びそのヘッダからなるパケットに
成形し、当該ヘッダが当該データ本体に収容される画像
情報が圧縮されているか否かを示す圧縮フラグを具備す
ることを特徴とするページ画像データ構造。
4. An image data of one page is n × m
It is divided into a plurality of tiles composed of pixels (where n and m are integers of 1 or more), and the image information of each tile is formed into a packet composed of a data body containing the image information and its header, and the header is A page image data structure comprising a compression flag indicating whether image information contained in the data body is compressed.
【請求項5】 画像データを圧縮し、圧縮前後のデータ
量を比較し、データ量の少ない方のデータ及び少ない方
を示す情報を出力する圧縮手段と、 当該圧縮手段から出力されるデータが圧縮画像データか
否かに応じた内容の圧縮フラグを含むヘッダを生成する
ヘッダ生成手段と、 当該圧縮手段から出力されるデータと当該ヘッダ生成手
段から出力されるヘッダをマージするマージ手段とから
なることを特徴とするパケット生成装置。
5. A compression means for compressing image data, comparing the data amounts before and after compression, and outputting data of the smaller data amount and information indicating the smaller data amount, wherein the data output from the compression means is compressed. A header generating means for generating a header including a compression flag having a content corresponding to image data; and a merging means for merging data output from the compressing means and a header output from the header generating means. A packet generation device characterized by the above-mentioned.
【請求項6】 当該データ本体に収容される画像情報
は、1ページの画像データを構成する複数のタイルの1
つに含まれる請求項5に記載のパケット生成装置。
6. The image information contained in the data body is one of a plurality of tiles constituting one page of image data.
6. The packet generation device according to claim 5, wherein the packet generation device includes:
【請求項7】 当該タイルがn×m画素(但し、n,m
は1以上の整数)からなる請求項6に記載のパケット生
成装置。
7. The tile having a size of n × m pixels (where n, m
7. The packet generation device according to claim 6, comprising: an integer of 1 or more.
【請求項8】 画像データを圧縮し、圧縮前後のデータ
量を比較し、データ量の少ない方のデータ及び少ない方
を示す情報を出力する圧縮ステップと、 当該圧縮ステップの結果、出力されるデータが圧縮画像
データか否かに応じた内容の圧縮フラグを含むヘッダを
生成するヘッダ生成ステップと、 当該圧縮ステップにより出力されるデータと当該ヘッダ
生成ステップにより出力されるヘッダをマージするマー
ジ・ステップとからなることを特徴とするパケット生成
方法。
8. A compression step of compressing image data, comparing the data amounts before and after compression, and outputting data with the smaller data amount and information indicating the smaller data amount, and data output as a result of the compression step. A header generation step of generating a header including a compression flag having a content according to whether or not the data is compressed image data; a merge step of merging data output by the compression step with a header output by the header generation step A packet generation method comprising:
【請求項9】 当該データ本体に収容される画像情報
は、1ページの画像データを構成する複数のタイルの1
つに含まれる請求項8に記載のパケット生成方法。
9. The image information contained in the data body is one of a plurality of tiles constituting one page of image data.
9. The packet generation method according to claim 8, wherein the packet generation method includes:
【請求項10】 当該タイルがn×m画素(但し、n,
mは1以上の整数)からなる請求項8に記載のパケット
生成方法。
10. The tile in which n × m pixels (where n,
The packet generation method according to claim 8, wherein m is an integer of 1 or more.
JP27983299A 1999-09-30 1999-09-30 Image packet structure, page image data structure, and packet generating apparatus and method Pending JP2001103473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27983299A JP2001103473A (en) 1999-09-30 1999-09-30 Image packet structure, page image data structure, and packet generating apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27983299A JP2001103473A (en) 1999-09-30 1999-09-30 Image packet structure, page image data structure, and packet generating apparatus and method

Publications (1)

Publication Number Publication Date
JP2001103473A true JP2001103473A (en) 2001-04-13

Family

ID=17616551

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27983299A Pending JP2001103473A (en) 1999-09-30 1999-09-30 Image packet structure, page image data structure, and packet generating apparatus and method

Country Status (1)

Country Link
JP (1) JP2001103473A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001332976A (en) * 2000-05-24 2001-11-30 Canon Inc Image processing apparatus and image processing method
US7130072B2 (en) 2002-02-08 2006-10-31 Canon Kabushiki Kaisha Multifunction system, image processing method, computer program and memory medium
US7307762B2 (en) 2003-02-28 2007-12-11 Canon Kabushiki Kaisha Image input/output control method and image input/output apparatus
US7315388B2 (en) 2001-01-24 2008-01-01 Canon Kabushiki Kaisha Image input/output control apparatus, image processing apparatus, image processing method, data communication apparatus, and data communication method
US7379201B2 (en) 2000-04-19 2008-05-27 Canon Kabushiki Kaisha Image processing apparatus and image processing method
US7886116B1 (en) * 2007-07-30 2011-02-08 Nvidia Corporation Bandwidth compression for shader engine store operations
US8441487B1 (en) 2007-07-30 2013-05-14 Nvidia Corporation Bandwidth compression for shader engine store operations
US8565534B2 (en) 2006-12-07 2013-10-22 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2015532489A (en) * 2012-10-11 2015-11-09 リアルタイムテク カンパニー, リミテッドRealtimetech Co., Ltd. Spatial data compression apparatus and method, and compressed spatial data decompression apparatus and method
JP2018148259A (en) * 2017-03-01 2018-09-20 日本電信電話株式会社 Network system, data processor, image processor, image processing method, and packet data structure
CN112069141A (en) * 2020-08-25 2020-12-11 广东华风海洋信息系统服务有限公司 Special compression method for meteorological forecast lattice point data
US11533402B2 (en) 2020-09-25 2022-12-20 Canon Kabushiki Kaisha Image processing apparatus, method of controlling the same, and storage medium for projecting a scanned image and for printing a projected image
US11847367B2 (en) 2020-09-25 2023-12-19 Canon Kabushiki Kaisha Printing system, method of controlling printing system, and storage medium comprising a projection unit that projects an image, accept a request to print a projected image, determining whether or not printing based on a captured image of the image projected is possible and restrict or permit printing based on the determination

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379201B2 (en) 2000-04-19 2008-05-27 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2001332976A (en) * 2000-05-24 2001-11-30 Canon Inc Image processing apparatus and image processing method
US8384972B2 (en) 2001-01-24 2013-02-26 Canon Kabushiki Kaisha Image input/output control apparatus, image processing apparatus, image processing method, data communication apparatus, and data communication method
US7315388B2 (en) 2001-01-24 2008-01-01 Canon Kabushiki Kaisha Image input/output control apparatus, image processing apparatus, image processing method, data communication apparatus, and data communication method
US7724388B2 (en) 2001-01-24 2010-05-25 Canon Kabushiki Kaisha Image input/output control apparatus, image processing apparatus, image processing method, data communication apparatus, and data communication method
US7130072B2 (en) 2002-02-08 2006-10-31 Canon Kabushiki Kaisha Multifunction system, image processing method, computer program and memory medium
US7307762B2 (en) 2003-02-28 2007-12-11 Canon Kabushiki Kaisha Image input/output control method and image input/output apparatus
US7532348B2 (en) 2003-02-28 2009-05-12 Canon Kabushiki Kaisha Image input/output control method and image input/output apparatus
US8565534B2 (en) 2006-12-07 2013-10-22 Canon Kabushiki Kaisha Image processing apparatus and image processing method
US8441487B1 (en) 2007-07-30 2013-05-14 Nvidia Corporation Bandwidth compression for shader engine store operations
US7886116B1 (en) * 2007-07-30 2011-02-08 Nvidia Corporation Bandwidth compression for shader engine store operations
JP2015532489A (en) * 2012-10-11 2015-11-09 リアルタイムテク カンパニー, リミテッドRealtimetech Co., Ltd. Spatial data compression apparatus and method, and compressed spatial data decompression apparatus and method
JP2018148259A (en) * 2017-03-01 2018-09-20 日本電信電話株式会社 Network system, data processor, image processor, image processing method, and packet data structure
CN112069141A (en) * 2020-08-25 2020-12-11 广东华风海洋信息系统服务有限公司 Special compression method for meteorological forecast lattice point data
US11533402B2 (en) 2020-09-25 2022-12-20 Canon Kabushiki Kaisha Image processing apparatus, method of controlling the same, and storage medium for projecting a scanned image and for printing a projected image
US11847367B2 (en) 2020-09-25 2023-12-19 Canon Kabushiki Kaisha Printing system, method of controlling printing system, and storage medium comprising a projection unit that projects an image, accept a request to print a projected image, determining whether or not printing based on a captured image of the image projected is possible and restrict or permit printing based on the determination

Similar Documents

Publication Publication Date Title
JP2001103473A (en) Image packet structure, page image data structure, and packet generating apparatus and method
JPH0793559A (en) High-resolution computer graphics compression image storage method
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
JP2003099767A (en) Image processing apparatus and image processing method thereof
US7864359B2 (en) Data compression and decompression unit
JP3854790B2 (en) Image processing apparatus and method, and storage medium
JP2001332976A (en) Image processing apparatus and image processing method
JP2003316714A (en) Apparatus and method for information processing
KR100352371B1 (en) Line buffer for enlarging an moving image in display and its method
JPH10341437A (en) Image processing method and device therefor
JPH05204747A (en) Semiconductor memory controller
JP3559419B2 (en) Method and apparatus for decompressing compressed image data
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
JP3997851B2 (en) Image coding apparatus and image coding program
JP4446389B2 (en) Interface device for compression / decompression module
JP2689020B2 (en) Code decompression method and drawing device
JP2003092674A (en) Image processing apparatus and image processing method
JP2003069831A (en) Image processing apparatus, image display method, and computer program
JP2003234910A (en) Multi-function system
JP3075935B2 (en) Still image coding method
JP2004343430A (en) Image processing apparatus and method
JPH089359A (en) Scramble system for still image transmission equipment
JP2001008042A (en) Image data encoding apparatus, decoding apparatus, and image forming apparatus using the same
JP2002281293A (en) Image processing apparatus and image processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050623

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070529

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071002