JP4610450B2 - Image processing apparatus for processing fixed length compressed image and packing data of attribute information - Google Patents
Image processing apparatus for processing fixed length compressed image and packing data of attribute information Download PDFInfo
- Publication number
- JP4610450B2 JP4610450B2 JP2005259577A JP2005259577A JP4610450B2 JP 4610450 B2 JP4610450 B2 JP 4610450B2 JP 2005259577 A JP2005259577 A JP 2005259577A JP 2005259577 A JP2005259577 A JP 2005259577A JP 4610450 B2 JP4610450 B2 JP 4610450B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- image
- data
- attribute information
- units
- 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.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 title claims description 104
- 238000012856 packing Methods 0.000 title claims description 47
- 238000003860 storage Methods 0.000 claims description 21
- 238000006243 chemical reaction Methods 0.000 claims description 17
- 230000006837 decompression Effects 0.000 claims description 8
- 230000000903 blocking effect Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 description 44
- 230000006835 compression Effects 0.000 description 32
- 238000007906 compression Methods 0.000 description 32
- 238000010586 diagram Methods 0.000 description 26
- 238000000926 separation method Methods 0.000 description 10
- 239000002131 composite material Substances 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000015556 catabolic process Effects 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
Description
本発明は、画像処理装置に関し、特に、ブロック単位で固定長圧縮した画像情報と属性情報をパッキングして、画像データを高速に処理する画像処理装置に関する。 The present invention relates to an image processing apparatus, and more particularly, to an image processing apparatus that processes image data at high speed by packing image information and attribute information that have been fixed-length compressed in block units.
画像のデータフォーマットには、JPEG等の標準の可変長圧縮フォーマットが存在する。それらは、固定長圧縮方式より、伸張後の画像劣化が少ないことが多い。したがって、配信に用いられるか紙出力されるか分からない画像を、とりあえず圧縮して保存するには、JPEGの様な可変長圧縮フォーマットが適している。この際、属性情報は、画像とは別に保存される。属性情報を可逆圧縮して保存するか、そのまま保存するかは任意である。 There is a standard variable-length compression format such as JPEG as an image data format. They often have less image degradation after decompression than the fixed length compression method. Therefore, a variable-length compression format such as JPEG is suitable for compressing and storing an image that is not used for distribution or paper output. At this time, the attribute information is stored separately from the image. Whether the attribute information is reversibly compressed and stored or is stored as it is is arbitrary.
画像を回転するためには、例えば、図17(a)に示すように、主走査方向8line×副走査方向8画素の画像を、あらかじめパッキング(1回のメモリアクセスで読み出せるように1かたまりにまとめること)しておくと、メモリアクセス回数を減らし、高速な回転処理を行うことができる。1画素が1byte(8bit)で表される場合、8画素だと8byteである。通常、画像を回転処理する場合、8×8画素ずつ回転させるとすると、メモリアクセスは、8byte×8回必要となる。これに対し、あらかじめ8×8画素ずつパッキングされていれば、メモリアクセスは、64byte×1回で済む。メモリは、連続したアドレスであれば、バーストアクセスができるので、図17(b)に示すような8回の2wordバーストアクセスに対し、図17(c)に示すように、1回の16wordバーストアクセスで済む後者のアクセス方法では、転送準備と終了処理が1回ですむので、メモリアクセス時間が短縮される。 In order to rotate an image, for example, as shown in FIG. 17A, an image of 8 pixels in the main scanning direction × 8 pixels in the sub-scanning direction is packed in advance (one block so that it can be read out by one memory access). In other words, the number of memory accesses can be reduced and high-speed rotation processing can be performed. When one pixel is represented by 1 byte (8 bits), 8 pixels is 8 bytes. Normally, when rotating an image, if the image is rotated by 8 × 8 pixels, memory access is required 8 bytes × 8 times. On the other hand, if 8 × 8 pixels are packed in advance, memory access is only 64 bytes × 1 time. Since the memory can be burst-accessed if it is a continuous address, one 16-word burst access as shown in FIG. 17 (c) in contrast to eight 2-word burst accesses as shown in FIG. 17 (b). In the latter access method, which requires only the transfer preparation and end processing, only one memory access time is required.
バースト転送によりメモリアクセス数を減少させると、メモリアクセス時間が短縮されることの他に、システムとしてみて、他のDMACによるメモリアクセスを邪魔しないで済むというメリットが得られる。1画素の情報量が少なければ少ないほど、このメリットは大きくなる。MFPのように、1画素1bit(CMYK画像)の情報量の場合、32×32画素ずつ回転させるとすると、メモリアクセスは1word(4byte)×32回必要となるが、あらかじめ32×32画素ずつパッキングしてあれば、32word(128byte)×1回のアクセスで済む。 If the number of memory accesses is reduced by burst transfer, in addition to shortening the memory access time, there is an advantage that the memory access by other DMACs can be avoided as a system. This merit increases as the amount of information per pixel decreases. As in the case of MFP, in the case of information amount of 1 bit per pixel (CMYK image), if it is rotated 32 x 32 pixels, memory access is required 1 word (4 bytes) x 32 times, but packing 32 x 32 pixels in advance. If so, 32 words (128 bytes) × one access is sufficient.
画像を回転することを考慮すると、圧縮方法としては、固定長符号が有利である。固定長符号は、数画素ごとに固定されたビット長に圧縮される。圧縮された後の符号が、ある単位(ブロックと呼ぶ)ごとに決まったビット長になることから、ブロックごとの先頭アドレスを特定できる。したがって、隣のブロック同士に相関の無い固定長符号方式の場合は、必要なブロックのみを取り出すことができる。隣のブロック同士に相関の無い固定長符号の場合は、メモリ上には圧縮した画像を置いたまま、回転に必要なブロックを取得して回転し、再圧縮してメモリに戻すことが可能であり、メモリの使用効率を高めることが可能である。 In consideration of rotating an image, a fixed-length code is advantageous as a compression method. The fixed length code is compressed to a fixed bit length every several pixels. Since the code after compression has a bit length determined for each unit (called a block), the head address for each block can be specified. Therefore, in the case of a fixed-length code method in which adjacent blocks have no correlation, only necessary blocks can be extracted. In the case of a fixed-length code that has no correlation between adjacent blocks, it is possible to acquire and rotate a block necessary for rotation while leaving the compressed image on the memory, and recompress it back to the memory. Yes, it is possible to increase the use efficiency of the memory.
画像の固定長圧縮には、1lineの数画素を1ブロックとして圧縮する方法と、例えば、図18に示すように、8×8画素を1ブロックとするような、2次元の画像を1ブロックとして圧縮する方法がある。画像を回転するためには、メモリアクセス数が減る分、後者の方が有利である。例えば、特許文献3には、固定長の符号化を行い、かつ90°単位の回転処理が可能な方法が開示されている。可変長符号方式でも、例えば、特許文献1などに開示されている方法のように、ブロックとアドレスの関連を記憶することで、回転を行うことはできる。
For fixed-length compression of an image, a method of compressing several pixels of one line as one block and, for example, as shown in FIG. 18, a two-dimensional image such as 8 × 8 pixels as one block is regarded as one block. There is a way to compress. In order to rotate an image, the latter is more advantageous because the number of memory accesses is reduced. For example,
ところで、画像情報のうちには、属性情報と呼ばれる画素の色以外の情報がある。例えば、その画素が、写真か文字またはグラフィックか等を表すフラグを、画像処理のためのパラメータとして、画素ごとにもつ場合である。文字と写真を分離する信号という意味で、分離情報または分離信号とも呼ばれる。属性情報は画素ごとに持つが、情報量は、画素ごとに1bitであったり2bitであったりする。この属性情報付き画像のデータフォーマットとしては、一般的に、次の2種類がある。(1)画像は画像で1ファイルとし、属性情報は属性情報で1ファイルとして扱う。(2)1画素に付き1属性情報をセットとして、点順次で並べて扱う。例えば、RGB(24bit)の画像に8bitの属性情報があるとすると、まとめて32bitを1画素として扱う。例えば、特許文献2に開示されている方法のように、画像と属性情報を、ある単位ブロックでパッキングする方法がある。シリアルに入力された画像と属性情報を、直接ブロック単位でパッキングしてパラレル化し、回転処理を行った後、再びシリアルに変換して出力している。これは、ビデオI/Fからのシリアル入力及びシリアル出力を意図しているものである。 By the way, in the image information, there is information other than the pixel color called attribute information. For example, it is a case where each pixel has a flag indicating whether the pixel is a photograph, a character, or a graphic as a parameter for image processing. It is also called separation information or separation signal in the sense of a signal that separates characters and photographs. Although attribute information is held for each pixel, the amount of information is 1 bit or 2 bits for each pixel. Generally, there are the following two types of data formats for images with attribute information. (1) An image is handled as one file as an image, and attribute information is handled as one file as attribute information. (2) One attribute information per pixel is treated as a set and arranged in dot-sequential order. For example, if there is 8-bit attribute information in an RGB (24-bit) image, 32 bits are collectively treated as one pixel. For example, like the method disclosed in Patent Document 2, there is a method of packing an image and attribute information in a certain unit block. The serially input image and attribute information are directly packed and parallelized in units of blocks, rotated, and then converted back to serial and output. This is intended for serial input and output from the video I / F.
画素の色深度情報と属性情報は、その特性が異なるため、圧縮する場合のアルゴリズムは異なる方が効率的である。例えば、RGB画像と文字写真分離情報では、RGBに対してJPEG等の標準圧縮方式が提案されているのに対し、文字写真分離情報は、同じ情報が並ぶため、例えば、ランレングス圧縮等が向いている。また、JPEGは画像を扱うので、人間の目をごまかせれば良いため、量子化の段階でデータの欠落が起こる非可逆性圧縮であるが、分離情報は、可逆圧縮されることが必要である。図19に示すように、文字部分と写真部分は連続しているため、分離情報も同じパターンが繰り返し発生するため、圧縮しやすい。このように、画像と付属情報は、圧縮率や情報の欠落の可否を考慮すると、別々に扱った方が効率的な面があることがわかる。 Since the color depth information and attribute information of a pixel have different characteristics, it is more efficient to use different algorithms for compression. For example, for RGB images and text / photo separation information, standard compression schemes such as JPEG have been proposed for RGB, but for text / photo separation information, the same information is arranged, so for example, run-length compression is suitable. ing. Since JPEG handles images, it is irreversible compression in which data loss occurs at the quantization stage because it is sufficient to distract human eyes, but separation information needs to be reversibly compressed. . As shown in FIG. 19, since the character portion and the photograph portion are continuous, the same pattern is repeatedly generated in the separation information, so that it is easy to compress. Thus, it can be seen that the image and the attached information are more efficient when handled separately in consideration of the compression rate and the possibility of missing information.
図20は、画像回転器の従来例の機能ブロック図である。メモリからのリードは、固定長符号画像がm wordであり、属性情報がn wordである。固定長圧縮画像と属性情報は、別々にa×a画素ずつブロック化されて保存されているので、画像用と属性用の2アクセスで、1ブロックのデータリードを行うことができる。データライトも2アクセス必要である。DMAコントローラは、回転前画像リード用と回転後画像ライト用、及び回転前属性リード用と回転後属性ライト用の4つが必要である。図20中の画像ブロックは、例えば、8×8画素のRGB画像などである。 FIG. 20 is a functional block diagram of a conventional example of an image rotator. In the read from the memory, the fixed-length code image is m word and the attribute information is n word. Since the fixed-length compressed image and the attribute information are separately stored in blocks of a × a pixels, one block of data can be read with two accesses for the image and the attribute. The data write also requires two accesses. Four DMA controllers are required for pre-rotation image reading and post-rotation image writing, and for pre-rotation attribute reading and post-rotation attribute writing. The image block in FIG. 20 is an RGB image of 8 × 8 pixels, for example.
図21を参照しながら、非圧縮画像を90°回転する従来の方法を説明する。非圧縮画像を90°または270°回転する場合は、メモリへのアクセスを考慮して、通常はいくつかのブロックに分けて回転を行う。例えば、図21に示すように、8画素×8ラインを1ブロックとしてブロックに番号を付ける。回転の順番は、大きく分けて2種類ある。1つ目は、A1ブロック→B1ブロック→C1ブロック・・・、A2ブロック→B2ブロック→C2ブロック・・・、・・・の順で回転を行っていく方法である。これを仮に「回転リード」と呼ぶ。回転後の並びの順番に従って読み出し、通常の順番で書き込む方法である。2つ目は、D1ブロック→D2ブロック→D3ブロック・・・、C1ブロック→C2ブロック→C3ブロック・・・、・・・の順で回転を行っていく方法である。これを仮に「回転ライト」と呼ぶ。通常の順番で読み出し、回転後の並びの順番に従って書き込む方法である。 A conventional method for rotating an uncompressed image by 90 ° will be described with reference to FIG. When an uncompressed image is rotated by 90 ° or 270 °, it is usually divided into several blocks in consideration of access to the memory. For example, as shown in FIG. 21, the blocks are numbered with 8 pixels × 8 lines as one block. There are two types of rotation order. The first is a method of rotating in the order of A1 block → B1 block → C1 block..., A2 block → B2 block → C2 block. This is tentatively called “rotary lead”. This is a method of reading in accordance with the order of arrangement after rotation and writing in a normal order. The second is a method of rotating in the order of D1 block → D2 block → D3 block..., C1 block → C2 block → C3 block. This is temporarily called a “rotating light”. This is a method of reading in a normal order and writing in accordance with the order of arrangement after rotation.
各ブロックは8ラインで構成されているため、ブロック1つにつき最低8回のメモリリードが必要である。回転リードの場合は、回転後にメモリに書き戻さなくても、ブロック−ラスター変換バッファを用いて、直接ラスター化が可能である。しかし、回転ライトの場合は、それは不可能である。なお、いずれの方法で回転を行う場合でも、画像とは別に属性情報も回転する必要がある。このようにして、画像をブロック単位で回転することができる。圧縮した画像の場合も、同様な方法で回転することができる。以下に、これに関連する従来技術の例をいくつかあげる。 Since each block consists of 8 lines, at least 8 memory reads are required for each block. In the case of rotation read, it is possible to directly rasterize using a block-raster conversion buffer without writing back to the memory after rotation. However, this is not possible with rotating lights. Note that, in any case of rotation, the attribute information needs to be rotated separately from the image. In this way, the image can be rotated in units of blocks. A compressed image can also be rotated in a similar manner. Below are some examples of prior art related to this.
特許文献1に開示された「画像処理装置」は、合成画像を出力する際に使用するバッファメモリ量が小さくて済み、合成画像を作成する処理時間が短くて、さらに、画質の劣化が少ない画像処理装置である。入力された画像データを、画像圧縮伸張部で、ブロック毎に圧縮する。圧縮コードデータを、コードバッファに、ブロック毎に記憶する。コードバッファに記憶された圧縮コードデータを、コードバッファ制御部で、指定された編集モードに応じたブロックの順番で読み出す。画像圧縮伸張部は、コードバッファ制御部によって読み出された圧縮コードデータを伸張する。 The “image processing apparatus” disclosed in Patent Document 1 requires only a small amount of buffer memory to be used when outputting a composite image, has a short processing time for generating a composite image, and has little image quality degradation. It is a processing device. The input image data is compressed for each block by the image compression / decompression unit. The compressed code data is stored for each block in the code buffer. The compressed code data stored in the code buffer is read by the code buffer control unit in the order of blocks corresponding to the designated editing mode. The image compression / decompression unit decompresses the compressed code data read by the code buffer control unit.
特許文献2に開示された「画像情報の複合処理方法」は、画像データビット数より大きいメモリデータバス幅を有効に活用して、メモリ読み書きを高速化し、画像回転角などの選択、設定の自由度を高くし、画像データと対の特徴信号を、その関係を保ったまま回転処理し、回転処理のメモリアドレス制御を簡易化する方法である。シリアル画像データを入力し、画像データの特徴を示す特徴信号を入力し、画像データと特徴信号からなる画像情報を、主走査数×副走査数のブロックパラレルデータに変換する。1アドレスにパラレルデータを記憶する。この記憶手段のデータバス幅に応じて、ブロックサイズを変更する。記憶手段から読み出すパラレルデータを、シリアル画像データと特徴信号に戻す。 The “composite processing method of image information” disclosed in Patent Document 2 makes effective use of a memory data bus width larger than the number of image data bits, speeds up memory reading and writing, and allows free selection and setting of an image rotation angle and the like. In this method, the image data and the paired feature signals are rotated while maintaining the relationship, and the memory address control of the rotation processing is simplified. Serial image data is input, a feature signal indicating the feature of the image data is input, and image information composed of the image data and the feature signal is converted into block parallel data of main scanning number × sub-scanning number. Parallel data is stored in one address. The block size is changed according to the data bus width of the storage means. The parallel data read from the storage means is returned to the serial image data and the feature signal.
特許文献3に開示された「画像圧縮処理装置」は、周波数の高いエッジ部分も画質の良い画像を作成でき、かつラインごと固定された符号量であるため、ラインごとのスタートアドレスを管理するテーブルが必要なく、コストが低く、かつ信頼性の高い画像圧縮処理装置である。複数の固定長符号化手段で、画像データを複数画素のブロック単位に、相異なる符号長に変換する。所定数のブロックで発生する符号長の合計を、符号長合計計算手段で計算する。符号長合計計算手段の出力値を、所定値以下に収めるように、複数の固定長符号化手段の使用割合を制御する。
しかし、従来の圧縮画像の回転方法では、画像と属性情報が別々にパッキングされているため、メモリアクセス回数が多くなり、回転などの画像処理のためのメモリリードライト時間が長くなるという問題がある。 However, in the conventional compressed image rotation method, since the image and the attribute information are separately packed, there is a problem that the number of memory accesses increases and the memory read / write time for image processing such as rotation becomes long. .
本発明の目的は、上記従来の問題を解決して、画像処理装置において回転処理などを行うために、バースト転送でメモリに対して画像情報が入出力される場合のメモリアクセスバースト数を減らし、メモリアクセス時間を短縮することである。 An object of the present invention is to reduce the number of memory access bursts when image information is input / output to / from a memory by burst transfer in order to solve the above-described conventional problems and perform rotation processing in an image processing apparatus, It is to reduce the memory access time.
本発明の画像処理装置は、画像データを記憶する記憶部と、前記画像データを正方形領域単位でブロック化して固定長圧縮する手段と、前記画像データの属性情報を同じブロック単位でブロック化する手段と、前記正方形領域単位のブロックで固定長圧縮された前記画像データ及び属性情報を1ブロックごとにパッキングして前記記憶部に格納する手段とを備えた2次元ブロックデータフォーマット変換部と、前記画像データをライン方向の複数画素単位でブロック化して固定長圧縮する手段と、前記画像データの属性情報を同じライン方向のブロック単位でブロック化する手段と、前記ライン方向の複数画素単位のブロックで固定長圧縮された前記画像データ及び属性情報を1ブロックごとにパッキングして前記記憶部に格納する手段とを備えた1次元ブロックデータフォーマット変換部と、前記2次元ブロックデータフォーマット変換部により前記記憶部に格納された主走査方向及び副走査方向の複数の正方形領域単位ブロックにより構成されるブロック群における各正方形領域単位ブロックの向きを固定したまま前記ブロック群を90°の整数倍回転させる画像回転部と、前記1次元ブロックデータフォーマット変換部により前記記憶部に格納されたパッキングデータをライン方向のブロック単位で復号してラスターデータに変換する伸張部とを備えたことを特徴とする画像処理装置である。 The image processing apparatus of the present invention includes a storage unit for storing image data, means for fixed length compressed into blocks in the unit square region the image data, means for blocking the attribute information of the image data in the same block A two-dimensional block data format conversion unit comprising: packing the image data and attribute information compressed in fixed-length blocks in units of the square area and storing them in the storage unit; A unit that blocks data in units of pixels in the line direction and compresses the fixed length, a unit that blocks attribute information of the image data in units of blocks in the same line direction, and a unit that blocks in units of pixels in the line direction Means for packing the image data and attribute information compressed in length into blocks and storing them in the storage unit; Each square area in a block group constituted by a plurality of square area unit blocks in the main scanning direction and the sub-scanning direction stored in the storage unit by the obtained one-dimensional block data format conversion unit and the two-dimensional block data format conversion unit An image rotation unit that rotates the block group by an integral multiple of 90 ° with the unit block orientation fixed, and the packing data stored in the storage unit by the one-dimensional block data format conversion unit is decoded in block units in the line direction. And an expansion unit that converts the data into raster data .
正方形領域単位ブロックの画像データを固定長圧縮したデータと属性情報をパッキングして記憶部に格納し、パッキングしたデータを読み出して回転処理を行う構成としたので、画像を回転する際に、記憶部に対する1回のアクセスで2次元のブロックを読み取ることができ、記憶部に対するアクセス数が少なくなり、記憶部に対するアクセス時間が短くなる。Since the square area unit block image data is packed with fixed-length compressed data and attribute information and stored in the storage unit, and the packed data is read out and rotated, the storage unit is used when rotating the image. A two-dimensional block can be read with a single access to, the number of accesses to the storage unit is reduced, and the access time to the storage unit is shortened.
また、ライン方向の複数画素単位で固定長圧縮された画像データと属性情報をパッキングして記憶部に格納し、ラスターデータに変換して画像処理を行う構成としたので、画像を回転しない場合は、圧縮されてパッキングされたデータを容易にラスターで取り出して、ライン単位で処理することができる。Also, the image data and attribute information, which are fixed-length compressed in units of multiple pixels in the line direction, are packed and stored in the storage unit, converted to raster data, and image processing is performed. Compressed and packed data can be easily retrieved with a raster and processed on a line-by-line basis.
以下、本発明を実施するための最良の形態について、図1〜図16を参照しながら詳細に説明する。 Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to FIGS.
本発明の実施例1は、正方形ブロックの画像を固定長圧縮したデータと属性情報をパッキングして格納し、パッキングしたデータを読み出して回転処理を行う画像処理装置である。 The first embodiment of the present invention is an image processing apparatus that packs and stores fixed length compressed data and attribute information of an image of a square block, reads the packed data, and performs rotation processing.
本発明の実施例1における画像処理装置の基本的な構成は、従来の画像処理装置と同様である。本発明の実施例1における画像処理装置は、固定長圧縮された画像と属性情報をパッキングする点が、従来のものと異なる。 The basic configuration of the image processing apparatus according to the first embodiment of the present invention is the same as that of a conventional image processing apparatus. The image processing apparatus according to the first embodiment of the present invention is different from the conventional one in that a fixed-length compressed image and attribute information are packed.
図1は、本発明の実施例1における画像処理装置で用いるデータフォーマットの図である。1ブロックの固定長圧縮された画像と属性情報がパッキングされた状態を示す。図2は、画像処理装置で用いる回転器の機能ブロック図である。図3は、パッキングされたデータからラスターデータを得て、ラスターデータを画像処理する方法を示す図である。図4は、パッキングされたデータからラスターデータを得て印刷する方法を示す図である。図5は、ブロック-ラスター変換器の機能説明図である。図6は、非圧縮画像などを2次元ブロックで固定長圧縮して、属性情報とともにパッキングする画像処理モジュールの機能ブロック図である。図7は、非圧縮画像などを2次元ブロックで固定長圧縮して、属性情報とともにパッキングし、ラスターデータに変換して画像処理を行うモジュールの機能ブロック図である。図8は、2次元ブロックで固定長圧縮して、属性情報とともにパッキングした画像データを回転する方法を示す図である。 FIG. 1 is a diagram of a data format used in the image processing apparatus according to the first embodiment of the present invention. This shows a state where one block of fixed-length compressed image and attribute information are packed. FIG. 2 is a functional block diagram of a rotator used in the image processing apparatus. FIG. 3 is a diagram illustrating a method of obtaining raster data from packed data and performing image processing on the raster data. FIG. 4 is a diagram showing a method for printing raster data from packed data. FIG. 5 is a functional explanatory diagram of the block-raster converter. FIG. 6 is a functional block diagram of an image processing module that compresses an uncompressed image or the like with a two-dimensional block and packs it together with attribute information. FIG. 7 is a functional block diagram of a module that performs non-compressed image or the like by fixed length compression in a two-dimensional block, packs it with attribute information, converts it into raster data, and performs image processing. FIG. 8 is a diagram illustrating a method of rotating image data that has been fixed-length compressed in a two-dimensional block and packed together with attribute information.
図2〜図8において、画像回転器1は、ブロック単位の画像データを、ブロック内において画素単位で回転してブロック全体を回転する手段である。分離手段2は、固定長圧縮画像と属性情報を分離する手段である。伸張器3は、固定長圧縮画像を非圧縮画像に戻す手段である。画像回転手段4は、画像データを、画素単位で回転する手段である。ここでいう回転は、90°単位の回転である。属性情報回転手段5は、属性情報を、画素単位で回転する手段である。固定長圧縮手段6は、非圧縮画像を固定長圧縮する手段である。パッキング手段7は、固定長圧縮画像と属性情報を、1つのデータにまとめる手段である。ブロック−ラスター変換器8は、ブロック単位の画像データからラスターデータを生成する手段である。画像処理部9は、ラスターデータを画像処理して新しいラスターデータを生成する手段である。プロッタ10は、ラスターデータ単位で印刷する手段である。CPU11は、画像処理のプログラムを実行する演算処理装置である。メモリ12は、画像処理のプログラムと画像データを記憶する手段である。データフォーマット変換器13は、非圧縮画像などから、ブロック単位の固定長圧縮画像と属性情報とのパッキングデータに変換する手段である。復号回転器14は、ブロック単位の固定長圧縮画像と属性情報とのパッキングデータを復号するとともに画像を回転する手段である。
2 to 8, the image rotator 1 is means for rotating the entire block by rotating image data in units of blocks in units of pixels. The separating unit 2 is a unit that separates the fixed-length compressed image from the attribute information. The
上記のように構成された本発明の実施例1における画像処理装置の機能と動作を説明する。最初に、図1を参照しながら、固定長圧縮した画像情報と、属性情報を、パッキングしてメモリに格納する方法を説明する。矩形の1ブロックの画像情報を固定長圧縮する。矩形ブロックは、例えば、画面上で8×8画素のブロックである。矩形ブロックは、長方形のブロックでも正方形のブロックでもよい。このブロックの画素の属性情報をまとめて、固定長圧縮画像情報の直後のアドレスに格納する。属性情報は、2次元ブロックにパッキングされていてもよい。これを繰り返すことにより、メモリの一定アドレスごとに、1ブロックの画像情報と属性情報が連続して記憶される。 The function and operation of the image processing apparatus according to the first embodiment of the present invention configured as described above will be described. First, with reference to FIG. 1, a method of packing image information that has been subjected to fixed-length compression and attribute information and storing them in a memory will be described. The image information of one rectangular block is compressed at a fixed length. The rectangular block is, for example, an 8 × 8 pixel block on the screen. The rectangular block may be a rectangular block or a square block. The attribute information of the pixels of this block is collected and stored at the address immediately after the fixed-length compressed image information. The attribute information may be packed in a two-dimensional block. By repeating this, one block of image information and attribute information is continuously stored for each fixed address of the memory.
次に、図2を参照しながら、画像処理装置で用いる画像回転器の動作を説明する。1ブロックの固定長圧縮画像のデータサイズは、m wordである。それに対応する属性情報のデータサイズは、n wordである。mとnは、画像の特性や固定長圧縮方式により決まる一定の値である。したがって、メモリからのリードは、1アクセスに付き(m+n)wordである。固定長圧縮画像及び属性情報は、a×a画素ずつブロック化されているので、1アクセスで、1ブロックのデータリードを行うことができる。aは、例えば8や16である。データライトも同じく1アクセスでできる。DMAコントローラは、回転前データリード用と回転後データライト用の2つが必要である。図2中の画像ブロックは、例えば、8×8画素のRGB画像などである。 Next, the operation of the image rotator used in the image processing apparatus will be described with reference to FIG. The data size of one block of fixed-length compressed image is m words. The data size of the attribute information corresponding to it is n words. m and n are constant values determined by image characteristics and a fixed length compression method. Therefore, the read from the memory is (m + n) words per access. Since the fixed-length compressed image and attribute information are divided into blocks of a × a pixels, one block of data can be read with one access. a is, for example, 8 or 16. Data write is also possible with one access. Two DMA controllers are required for reading data before rotation and for writing data after rotation. The image block in FIG. 2 is, for example, an 8 × 8 pixel RGB image.
画像回転器1において、最初に、分離手段2により固定長圧縮画像と属性情報を分離する。属性情報それだけを、属性情報回転手段5により回転する。一方、固定長圧縮画像は、伸張器3により復号して非圧縮画像にする。この非圧縮画像を、画像回転手段4により回転する。回転した非圧縮画像を、固定長圧縮手段6により固定長圧縮する。固定長圧縮画像と属性情報を、パッキング手段7によりパッキングする。パッキングされたデータのフォーマットとサイズは、回転前のパッキングデータのフォーマットとサイズに等しい。このようにして、画像回転器1は、1ブロックの固定長圧縮画像と属性情報を回転する。
In the image rotator 1, first, the separation unit 2 separates the fixed length compressed image and the attribute information. Only the attribute information is rotated by the attribute
次に、図3と図4と図5を参照しながら、正方形ブロックの画像を固定長圧縮した画像データと属性情報から、ラスターデータを得て、ラスターデータを画像処理する方法を説明する。図3に示すように、a×a画素単位でブロック化された固定長圧縮画像データをラスター単位で画像処理する場合、伸張後にブロック−ラスター変換器が必要である。まず、a×a画素単位でブロック化された固定長圧縮画像データを、伸張器3で復号して非圧縮画像にする。a×a画素単位でブロック化された非圧縮画像を、ブロック−ラスター変換器8で、aライン分のバッファを使ってラスターデータに変換する。ブロック−ラスター変換器8については後述する。このラスターデータを、画像処理部9で処理して、処理後の画像のラスターデータを得る。
Next, a method of obtaining raster data from image data obtained by fixing a square block image at fixed length and attribute information and performing image processing on the raster data will be described with reference to FIGS. 3, 4, and 5. As shown in FIG. 3, when image processing is performed on raster data in fixed-length compressed image data that has been blocked in units of a × a pixels, a block-raster converter is required after decompression. First, the fixed-length compressed image data blocked in units of a × a pixels is decoded by the
また、図4に示すように、a×a画素単位でブロック化された固定長圧縮画像データを印刷する場合も、伸張後にブロック‐ラスター変換器が必要である。まず、a×a画素単位でブロック化された固定長圧縮画像データを、伸張器3で復号して非圧縮画像にする。a×a画素単位でブロック化された非圧縮画像を、ブロック−ラスター変換器8で、aライン分のバッファを使ってラスターデータに変換する。このラスターデータを、プロッタ10で印刷する。
Also, as shown in FIG. 4, when printing fixed-length compressed image data blocked in units of a × a pixels, a block-raster converter is required after decompression. First, the fixed-length compressed image data blocked in units of a × a pixels is decoded by the
ブロック−ラスター変換器8では、図5に示すように、ブロックをラスターに変えるためには、1ページ幅分のラインバッファを最低aライン分持つ必要がある。画像データは、ブロック単位で圧縮されてパッキングされているため、伸張後の1ブロックの画像は、図5の斜線部のブロックとなる。ブロック単位で解凍されたデータを、正方形ブロック単位でバッファに書き込んでいく。aライン分のデータを書き込んだら、ライン単位で読み取る。ブロック‐ラスター変換を高速に行うには、a×2ラインのラインバッファを備えて、トグル処理を行う必要がある。しかし、1ページの幅が大きければ大きいほど、ハードウエアのサイズが大きくなり、コストがかかるので、高速処理が必要ない場合は、交代バッファにしないでコストを削減する。
In the block-
次に、図6を参照しながら、2次元ブロック(正方形ブロック)の画像情報を固定長圧縮して、属性情報とともにパッキングするハードウエアモジュールについて説明する。入力画像データの例として示してある可変長符号画像は、例えばJPEGのように、8×8画素(サブサンプリングされている場合は16×16画素)ごとに可変長圧縮されている画像である。入力画像としては、可変長符号の他に、非圧縮画像でも固定長圧縮画像でもよい。入力画像は、何らかの手段で入力されて、データフォーマット変換器13により非圧縮画像に戻されて、属性情報とともにメモリ12に格納されているものとする。入力画像は、データフォーマット変換器13により、8×8画素のブロックごとに固定長圧縮されて、属性情報とともにパッキングされて、図1に示したフォーマットでメモリ12に書き込まれる。
Next, a hardware module for compressing fixed-length image information of a two-dimensional block (square block) and packing it with attribute information will be described with reference to FIG. The variable-length code image shown as an example of the input image data is an image that is variable-length compressed every 8 × 8 pixels (16 × 16 pixels when sub-sampled), such as JPEG. The input image may be an uncompressed image or a fixed-length compressed image in addition to the variable length code. The input image is input by some means, converted back to an uncompressed image by the data format converter 13, and stored in the
ブロック単位で圧縮された可変長符号(JPEG等)を、ブロック単位で圧縮された固定長符号に変換し、属性情報をブロック単位で付加してパッキングしてメモリに保存すると、次の2つのメリットが得られる。すなわち、(1)画像の回転を行う際に、非圧縮画像に展開する必要がなく、メモリ量を削減できる。さらに、(2)メモリアクセス回数が少なくなってメモリアクセスが早くなり、他のデバイスのメモリアクセスも妨げない。ところで、可変長符号(JPEG)は、復号しつつ回転することは可能だが、メモリに書き込む際に、再び可変長符号(JPEG)にして書き込むことはできない。ただし、非圧縮画像または固定長圧縮画像にして書き戻すことは可能である。最初から非圧縮画像でメモリに保存されている場合、または、隣のブロック同士に相関の無い固定長符号でメモリに保存されている場合は、そのまま回転できる。固定長符号と属性情報のパッキングデータにフォーマット変換をしておくと、後で回転処理がしやすいというメリットがある。 Converting a variable-length code compressed in block units (such as JPEG) into a fixed-length code compressed in block units, adding attribute information in block units, packing them, and storing them in memory gives the following two advantages Is obtained. That is, (1) when rotating an image, it is not necessary to develop it into an uncompressed image, and the amount of memory can be reduced. Furthermore, (2) the number of memory accesses is reduced, the memory access is accelerated, and the memory access of other devices is not hindered. By the way, the variable length code (JPEG) can be rotated while being decoded, but cannot be written again as the variable length code (JPEG) when writing to the memory. However, it is possible to write back an uncompressed image or a fixed-length compressed image. When an uncompressed image is stored in the memory from the beginning, or when it is stored in the memory with a fixed-length code having no correlation between adjacent blocks, it can be rotated as it is. If the format conversion is performed on the fixed-length code and the packing data of the attribute information, there is an advantage that the rotation process can be easily performed later.
次に、図7を参照しながら、2次元ブロック(正方形ブロック)の画像情報を固定長圧縮して、属性情報とともにパッキングし、パッキングしたデータを回転してラスターデータに変換し、ラスターデータを画像処理するハードウエアモジュールを説明する。入力画像を、データフォーマット変換器13により、8×8画素のブロックごとに固定長圧縮して、属性情報とともにパッキングしてメモリ12に書き込むところまでは、図6のモジュールと同じである。パッキングされたデータを、復号回転器14により復号して非圧縮画像にし、さらに回転して、回転した非圧縮画像とする。具体的な回転方法は後述する。回転した非圧縮画像を、ブロック−ラスター変換器8でラスターデータに変換する。このラスターデータを、画像処理部9で処理して、処理後の画像のラスターデータを得る。
Next, referring to FIG. 7, the image information of the two-dimensional block (square block) is fixed-length compressed, packed with attribute information, the packed data is rotated and converted into raster data, and the raster data is converted into image data. The hardware module to be processed will be described. 6 is the same as the module of FIG. 6 until the input image is fixed-length compressed for each 8 × 8 pixel block by the data format converter 13, packed together with the attribute information, and written to the
固定長符号と属性情報のパッキングデータがメモリ12に保存されている状態であれば、各ブロックの先頭アドレスとブロックのデータ長が分かっている。したがって、90°または180°または270°方向に回転するように、ブロックごとにメモリ12からデータを読み出すことができる。ブロックを復号回転器14で回転した後にラスターに変換すれば、メモリ12に書き戻すことなしに、直接ライン単位で処理する画像処理部9に入力できる。この場合のメリットは、(1)メモリに非圧縮画像を置くことなく、90°や270°の画像回転が可能であり、低コストとなる。(2)固定長符号と属性情報がパッキングされているので、メモリアクセス数が少なくなり、パフォーマンスが向上する。特に、復号回転後にメモリ12にデータを書き戻すことなくラスターに変換し、画像処理部9に入力することができるので、メモリ容量が少なくてすみ、パフォーマンスも格段に向上するというメリットがある。
If the fixed-length code and the packing data of the attribute information are stored in the
次に、図8を参照しながら、ブロック化された画像データを90°回転する方法を説明する。8画素×8ラインの正方形ブロックごとに固定長圧縮された画像データと属性情報が、1つのデータにパッキングされて、メモリに連続的に格納されている。従来の非圧縮画像同様に、「回転リード」(回転したアドレスでリードする)と「回転ライト」(回転したアドレスでライトする)が可能である。各ブロックのデータはすでにパッキングされているため、一度のメモリリードアクセスで、8×8画素のブロックを読み取ることができる。各ブロックのデータ長は、固定長圧縮のアルゴリズムと属性情報の大きさによって変化する。固定長圧縮のため、各ブロックのスタートアドレスは決まっており、次のブロックのスタートアドレスは、各ブロックのデータ長に依存して決まる。ブロック1つあたりのデータ長を考慮して、「回転リード」(回転後の並びの順番に従って読み出す方法)または「回転ライト」(回転後の並びの順番に従って書き込む方法)を行う。そのためのメモリリード及びメモリライトアドレス発生を行う。図7の場合は、回転リードを行う必要があり、回転ライトはできない。 Next, with reference to FIG. 8, a method of rotating the blocked image data by 90 ° will be described. Image data and attribute information that have been fixed-length-compressed for each square block of 8 pixels × 8 lines are packed into one data and stored continuously in the memory. As with conventional uncompressed images, “rotational read” (read with a rotated address) and “rotate write” (write with a rotated address) are possible. Since the data of each block is already packed, an 8 × 8 pixel block can be read by one memory read access. The data length of each block varies depending on the algorithm of fixed length compression and the size of attribute information. Due to the fixed length compression, the start address of each block is determined, and the start address of the next block is determined depending on the data length of each block. In consideration of the data length per block, “rotational read” (a method of reading in accordance with the order of arrangement after rotation) or “rotation write” (a method of writing in accordance with the order of arrangement after rotation) is performed. For this purpose, memory read and memory write address generation is performed. In the case of FIG. 7, it is necessary to perform rotation read, and rotation write cannot be performed.
「回転リード」の場合は、次のようにメモリリードアドレスとメモリライトアドレスを発生する。最初に、A1ブロックを読み出すために、A1ブロックの先頭アドレスを求める。(全体の先頭アドレス)+(ブロックサイズ)×(1ラインのブロック数)×(1列のブロック数−1)で求まる。A1ブロックを読み出して回転し、回転したA1ブロックを回転後のメモリ領域の先頭アドレスに書き込む。書込みの順序は、通常のラスター順と同じである。次に、B1ブロックを読み出す。このアドレスは、(A1ブロックの先頭アドレス)−(ブロックサイズ)×(1ラインのブロック数)で求まる。B1ブロックを回転し、回転したB1ブロックを、回転後のメモリ領域のA1ブロックの次のアドレスに書き込む。これを繰り返す。1列の回転が終わったら、A2ブロックを読み出す。A2ブロックの先頭アドレスは、(A1ブロックの先頭アドレス)+(ブロックサイズ)で求まる。回転後のA2ブロックは、単に前回の次のアドレスに書き込めばよい。 In the case of “rotational read”, a memory read address and a memory write address are generated as follows. First, in order to read the A1 block, the head address of the A1 block is obtained. (Total start address) + (Block size) × (Number of blocks in one line) × (Number of blocks in one column−1) Read and rotate the A1 block, and write the rotated A1 block to the start address of the rotated memory area. The order of writing is the same as the normal raster order. Next, the B1 block is read. This address is obtained by (start address of A1 block) − (block size) × (number of blocks in one line). The B1 block is rotated, and the rotated B1 block is written to the next address of the A1 block in the memory area after the rotation. Repeat this. When the rotation of one row is finished, read the A2 block. The start address of the A2 block is obtained by (start address of the A1 block) + (block size). The rotated A2 block can be simply written to the previous address.
「回転ライト」の場合は、次のようにメモリリードアドレスとメモリライトアドレスを発生する。読出しの順序は、通常のラスター順と同じである。すなわち、最初にD1ブロックを読み出し、以下、ラスター順に次々にブロックを読み出す。D1ブロックを回転して、回転後のD1ブロックを、回転後のメモリ領域の対応アドレスに書き込む。D1ブロックの書込みアドレスは、(書込領域の先頭アドレス)+(ブロックサイズ)×(1列のブロック数−1)で求まる。回転後のD2ブロックは、(D1ブロックの先頭アドレス)+(ブロックサイズ)×(1列のブロック数)で求まる。これを繰り返し、1ライン分の回転が終わったら、C1ブロックを読み出す。C1ブロックの書込みアドレスは、(D1ブロックの先頭アドレス)−(ブロックサイズ)で求まる。 In the case of “rotary write”, a memory read address and a memory write address are generated as follows. The reading order is the same as the normal raster order. That is, the D1 block is read first, and thereafter the blocks are read one after another in raster order. Rotate the D1 block and write the rotated D1 block to the corresponding address in the rotated memory area. The write address of the D1 block is obtained by (start address of write area) + (block size) × (number of blocks in one column−1). The D2 block after rotation is obtained by (start address of D1 block) + (block size) × (number of blocks in one column). This is repeated, and when the rotation for one line is completed, the C1 block is read. The write address of the C1 block is obtained by (the start address of the D1 block) − (block size).
上記のように、本発明の実施例1では、画像処理装置を、正方形ブロックの画像を固定長圧縮したデータと属性情報をパッキングして格納し、パッキングしたデータを読み出して回転処理を行う構成としたので、画像を回転する際に、1回のメモリアクセスで2次元のブロックを読み取ることができ、メモリアクセス数が少なくなり、メモリアクセス時間が短くなる。 As described above, in the first embodiment of the present invention, the image processing apparatus packs and stores the fixed length compressed data and attribute information of the square block image, reads the packed data, and performs the rotation process. Therefore, when rotating the image, a two-dimensional block can be read with one memory access, the number of memory accesses is reduced, and the memory access time is shortened.
本発明の実施例2は、ライン方向の8画素のブロック単位で固定長圧縮された画像データと属性情報をパッキングしてメモリに格納し、ラスターデータに変換して画像処理を行う画像処理装置である。 The second embodiment of the present invention is an image processing apparatus that packs image data and attribute information that have been fixed-length compressed in units of 8 pixel blocks in the line direction, stores them in a memory, converts them into raster data, and performs image processing. is there.
本発明の実施例2における画像処理装置の基本的構成は実施例1と同じである。本発明の実施例2における画像処理装置が実施例1と異なるところは、入力画像をライン方向の複数画素単位で固定長圧縮し、その属性情報とともにパッキングする点である。 The basic configuration of the image processing apparatus according to the second embodiment of the present invention is the same as that according to the first embodiment. The image processing apparatus according to the second embodiment of the present invention differs from the first embodiment in that the input image is fixed-length compressed in units of a plurality of pixels in the line direction and packed together with attribute information thereof.
図9は、本発明の実施例2における画像処理装置で用いる回転器の機能ブロック図である。図10は、画像処理装置で、パッキングされたデータからラスターデータを得て画像処理する場合を示す図である。図11は、画像処理装置で、パッキングされたデータからラスターデータを得て印刷する場合を示す図である。図12は、非圧縮画像などを1次元ブロックで固定長圧縮して、属性情報とともにパッキングする画像処理モジュールの機能ブロック図である。図13は、1次元ブロックで固定長圧縮して属性情報とともにパッキングされたデータのイメージである。図14は、非圧縮画像などを1次元ブロックで固定長圧縮して、属性情報とともにパッキングし、パッキングした画像データを回転し、復号し、ラスター画像を処理する画像処理モジュールの機能ブロック図である。図15は、非圧縮画像などを1次元ブロックで固定長圧縮して、属性情報とともにパッキングし、パッキングした画像データを復号して回転し、ブロックデータをラスターデータに変換し、ラスターデータを画像処理する画像処理モジュールの機能ブロック図である。図16は、回転アクセスアドレス発生方法の説明図である。 FIG. 9 is a functional block diagram of a rotator used in the image processing apparatus according to the second embodiment of the present invention. FIG. 10 is a diagram illustrating a case where raster processing is obtained from packed data and image processing is performed by the image processing apparatus. FIG. 11 is a diagram illustrating a case where raster data is obtained from packed data and printed by the image processing apparatus. FIG. 12 is a functional block diagram of an image processing module that compresses a fixed length of an uncompressed image or the like in a one-dimensional block and packs it together with attribute information. FIG. 13 is an image of data packed with attribute information after fixed-length compression in a one-dimensional block. FIG. 14 is a functional block diagram of an image processing module that compresses an uncompressed image or the like with a one-dimensional block, packs it with attribute information, rotates the packed image data, decodes it, and processes the raster image. . Figure 15: Uncompressed images, etc. are fixed-length compressed in one-dimensional blocks, packed with attribute information, packed image data is decoded and rotated, block data is converted to raster data, and raster data is image processed It is a functional block diagram of an image processing module to perform. FIG. 16 is an explanatory diagram of a rotation access address generation method.
図9〜図16において、画像処理部9は、ラスターデータを画像処理して新しいラスターデータを生成する手段である。プロッタ10は、ラスターデータ単位で印刷する手段である。CPU11は、画像処理のプログラムを実行する演算処理装置である。メモリ12は、画像処理のプログラムと画像データを記憶する手段である。画像回転器21は、正方形ブロックにまとめた画像データを、正方形ブロック内において画素単位で回転して正方形ブロック全体を回転する手段である。分離手段22は、固定長圧縮画像と属性情報を分離する手段である。伸張器23は、固定長圧縮画像を非圧縮画像に戻す手段である。画像回転手段24は、画像データを、画素単位で回転する手段である。属性情報回転手段25は、属性情報を、画素単位で回転する手段である。固定長圧縮手段26は、非圧縮画像をライン方向の複数画素単位、例えば8画素単位で固定長圧縮する手段である。パッキング手段27は、固定長圧縮画像と属性情報を、1つのデータにまとめる手段である。ブロック−ラスター変換器28は、正方形ブロック単位の画像データからラスターデータを生成する手段である。データフォーマット変換器29は、非圧縮画像などから、ライン方向の複数画素単位の固定長圧縮画像と属性情報とのパッキングデータに変換する手段である。パッキングデータ回転器30は、ライン方向の複数画素単位のパッキングデータを正方形ブロックにして回転する手段である。パッキングデータ復号器31は、ライン方向の複数画素単位のパッキングデータを復号してラスターデータにする手段である。パッキングデータ復号回転器32は、ライン方向の複数画素単位の固定長圧縮画像と属性情報とのパッキングデータを復号するとともに画像を回転する手段である。
9 to 16, an
上記のように構成された本発明の実施例2における画像処理装置の機能と動作を説明する。最初に、ライン方向の複数画素単位で圧縮することの意味を説明する。画像を回転する場合は、実施例1の正方形ブロック単位の固定長圧縮が有利である。画像を回転しないでラスターで扱いたい場合は、ライン方向の複数画素単位の固定長圧縮が有利である。画像回転器は、2次元のブロックで画像を読み取り、回転してメモリに書き戻すので、ライン方向の複数画素単位でパッキングされたa画素分のパッキングデータは、副走査方向にaライン分読み取る必要がある。ライン方向の複数画素ごとに圧縮されてパッキングされたデータは、ラスターで取り出すことが容易である。画像処理はラスター単位で行うことも多いので、伸張後の画像データを直接画像処理部に入力したり、ラスター単位での入力が必要なプロッタに出力したりする場合に有利な画像フォーマットといえる。 The function and operation of the image processing apparatus according to the second embodiment of the present invention configured as described above will be described. First, the meaning of compressing in units of a plurality of pixels in the line direction will be described. When rotating an image, the fixed-length compression in units of square blocks in the first embodiment is advantageous. When it is desired to handle an image as a raster without rotating it, it is advantageous to perform a fixed length compression in units of a plurality of pixels in the line direction. Since the image rotator reads an image in a two-dimensional block, rotates it, and writes it back to the memory, packing data for a pixels packed in units of multiple pixels in the line direction must be read for a lines in the sub-scanning direction. There is. Data compressed and packed for each of a plurality of pixels in the line direction can be easily extracted with a raster. Since image processing is often performed in units of rasters, it can be said to be an advantageous image format when the decompressed image data is directly input to the image processing unit or output to a plotter that requires input in units of rasters.
次に、図9を参照しながら、画像処理装置で用いる画像回転器の動作を説明する。1ライン(a画素)の固定長圧縮画像のデータサイズは、p wordである。それに対応する属性情報のデータサイズは、q wordである。したがって、メモリからのリードは、1アクセスに付き(p+q)wordである。固定長圧縮画像及び属性情報は、a画素ずつ符号化されているので、a回のアクセスで、1ブロックのデータを読み出すことができる。データライトも同じく、a回のアクセスでできる。DMAコントローラは、回転前データリード用と回転後データライト用の2つが必要である。図9中の画像ブロックは、例えば、8画素のRGB画像などである。 Next, the operation of the image rotator used in the image processing apparatus will be described with reference to FIG. The data size of a fixed-length compressed image of one line (a pixel) is p word. The data size of the attribute information corresponding to it is q word. Therefore, a read from the memory is (p + q) words per access. Since the fixed-length compressed image and the attribute information are encoded a pixel at a time, one block of data can be read out by accessing a times. Data write can also be performed a times. Two DMA controllers are required for reading data before rotation and for writing data after rotation. The image block in FIG. 9 is, for example, an 8-pixel RGB image.
画像回転器21では、最初に、分離手段22で固定長圧縮画像と属性情報を分離する。属性情報を、属性情報回転手段25で回転する。回転した属性情報を正方形ブロックにして、ライン方向の複数画素ごとに属性情報を取り出す。固定長圧縮画像を、伸張器23で復号して、非圧縮画像にする。非圧縮画像を、画像回転手段24で回転する。回転した非圧縮画像を、正方形ブロックにして、ライン方向の複数画素ごとに固定長圧縮手段26で固定長圧縮する。固定長圧縮画像と属性情報を、パッキング手段27でパッキングする。パッキングされたデータのフォーマットとサイズは、回転前のパッキングデータのフォーマットとサイズに等しい。このようにして、画像回転器21は、a画素を1ブロックとした固定長圧縮画像と属性情報を回転する。
In the image rotator 21, first, the separation unit 22 separates the fixed length compressed image from the attribute information. The attribute information is rotated by attribute information rotation means 25. The rotated attribute information is made into a square block, and the attribute information is extracted for each of a plurality of pixels in the line direction. The fixed-length compressed image is decoded by the
次に、図10を参照しながら、ライン方向の複数画素単位で圧縮することのメリットを説明する。メモリから、a画素単位でパッキングしたデータを読み込む。a画素単位でパッキングしたデータを、伸張器23で非圧縮画像に戻すと、a画素のラスターデータになる。このラスターデータを、画像処理部9で処理して、処理後のラスターデータを得る。メモリからa画素単位でパッキングしたデータを読み込んで伸張すると、伸張後のデータはラスターなので、画像を回転しないでライン単位で処理する場合は、そのまま画像処理部に入力できる。
Next, with reference to FIG. 10, the merit of compressing in units of a plurality of pixels in the line direction will be described. Data packed in units of a pixels is read from the memory. When the data packed in units of a pixels is returned to an uncompressed image by the
次に、図11を参照しながら、画像を回転しないでプロッタ出力する場合を説明する。メモリから、a画素単位でパッキングしたデータを読み込む。a画素単位でパッキングしたデータを、伸張器23で非圧縮画像に戻すと、a画素のラスターデータになる。このラスターデータをプロッタ10で印刷する。プロッタにはラスターで画像を入力する必要がある。メモリからa画素単位でパッキングしたデータを読み込んで伸張すると、圧縮データはライン方向にa画素分ずつパッキングされているため、伸張後の画像もラスターで得られる。伸張後の画像データをメモリに書き戻すことなく、直接プロッタに出力できる。
Next, a case where the plotter is output without rotating the image will be described with reference to FIG. Data packed in units of a pixels is read from the memory. When the data packed in units of a pixels is returned to an uncompressed image by the
次に、図12を参照しながら、非圧縮画像などを1次元ブロックで固定長圧縮して、属性情報とともにパッキングする画像処理モジュールについて説明する。図12では、入力データの例として、1次元可変長符号画像と固定長符号画像と非圧縮画像を示してある。1次元とあるのは、データの圧縮方向が1次元的であることを示しており、実際には、2次元の画像を扱っている。入力画像は、何らかの手段で入力されて、データフォーマット変換器29により非圧縮画像に戻されて、属性情報とともにメモリ12に格納されているものとする。入力画像は、データフォーマット変換器29により、ラスター方向の8画素のブロックごとに固定長圧縮されて、属性情報とともにパッキングされて、図1に示したフォーマットでメモリ12に書き込まれる。
Next, an image processing module that compresses a non-compressed image and the like with a one-dimensional block and packs it together with attribute information will be described with reference to FIG. In FIG. 12, a one-dimensional variable-length code image, a fixed-length code image, and an uncompressed image are shown as examples of input data. One-dimensional means that the compression direction of the data is one-dimensional, and actually a two-dimensional image is handled. The input image is input by some means, converted back to an uncompressed image by the data format converter 29, and stored in the
次に、図13を参照しながら、ライン方向の複数画素単位に固定長圧縮して属性情報とともにパッキングする方法を説明する。1ラインの画像データを、a画素ずつのブロックに分割する。a画素のブロックを固定長圧縮して、その属性情報とともに1つにまとめてメモリに格納する。90°回転する際には、このデータフォーマットでは、正方形ブロックになるように、aライン分のパッキングデータをメモリから読み取る。aライン分のパッキングデータを復号して、正方形ブロックにした後、画像回転を行う。回転した正方形ブロックを、再びa画素ごとに、a個の固定長符号に圧縮しなおす。このようにして回転を行うことができるので、画像全体を非圧縮画像に展開する必要はない。メモリ量が削減できるという利点はあるが、メモリアクセス数は実施例1より多い。 Next, with reference to FIG. 13, a method for packing together with attribute information by compressing a fixed length in units of a plurality of pixels in the line direction will be described. One line of image data is divided into blocks each having a pixels. The block of a pixels is compressed at a fixed length, and it is stored together with its attribute information in a memory. When rotating 90 degrees, in this data format, packing data for a line is read from the memory so as to form a square block. Image data is rotated after decoding the packing data for a line into square blocks. The rotated square block is compressed again to a fixed-length codes every a pixels. Since rotation can be performed in this way, it is not necessary to expand the entire image into an uncompressed image. Although there is an advantage that the amount of memory can be reduced, the number of memory accesses is larger than that in the first embodiment.
回転時のメモリアクセス数では実施例1に劣るが、ラスター変換をバッファなしに行うことができる点が、実施例1より優れている。可変長符号は、復号しつつ回転することは可能だが、メモリに書き込む際に、再び可変長符号(JPEG)にして書き込むことはできない。非圧縮画像または固定長圧縮画像にして書き戻すことは可能である。最初から、非圧縮画像または隣のブロック同士に相関の無い固定長符号でメモリに保存されている場合は、そのまま回転できるが、固定長符号と属性のパッキングデータにフォーマット変換をしておくと、後で回転処理がしやすいというメリットがある。 Although the number of memory accesses during rotation is inferior to that of the first embodiment, it is superior to the first embodiment in that raster conversion can be performed without a buffer. A variable-length code can be rotated while being decoded, but cannot be written again as a variable-length code (JPEG) when writing to the memory. It is possible to write back an uncompressed image or a fixed-length compressed image. From the beginning, if it is stored in the memory with a fixed length code that has no correlation between the uncompressed image or adjacent blocks, it can be rotated as it is, but if you convert the format to fixed length code and attribute packing data, There is an advantage that it is easy to perform the rotation process later.
次に、図14を参照しながら、非圧縮画像などを1次元ブロックで固定長圧縮して、属性情報とともにパッキングし、パッキングした画像データを回転し、復号し、ラスターデータを処理する画像処理モジュールについて説明する。入力画像を、データフォーマット変換器29により、8画素のブロックごとに固定長圧縮して、属性情報とともにパッキングしてメモリ12に書き込むところまでは、図12のモジュールと同じである。回転する場合は、パッキングデータ回転器30で回転する。パッキングデータ回転器30は、リードもライトもメモリ12に対して行うため、回転リードも回転ライトも可能である。パッキングされたデータを、パッキングデータ復号器31により復号してラスターデータにする。ラスターデータを、画像処理部9で処理して、処理後の画像のラスターデータを得る。
Next, referring to FIG. 14, an image processing module that compresses a fixed length of an uncompressed image or the like in a one-dimensional block, packs it together with attribute information, rotates and decodes the packed image data, and processes raster data Will be described. 12 is the same as the module of FIG. 12 until the input image is fixed-length compressed for each block of 8 pixels by the data format converter 29, packed together with the attribute information and written to the
1次元ブロックで固定長圧縮して、属性情報とともにパッキングした画像データの場合、パッキングデータを復号してラスターデータに変換する際に、ブロック‐ラスター変換用ラインバッファを持つ必要がない。しかしながら、画像を回転する際には、復号と回転を行いつつ、ラスターに変換することは不可能であるため、ブロック‐ラスター変換用ラインバッファを持つ必要がある。あるいは、回転専用のモジュールを別に持って、メモリ経由であらかじめ回転を行っておく必要がある。 In the case of image data that is fixed-length compressed in a one-dimensional block and packed with attribute information, there is no need to have a block-raster conversion line buffer when decoding the packing data and converting it into raster data. However, when an image is rotated, it is impossible to convert it into a raster while performing decoding and rotation, so it is necessary to have a line buffer for block-raster conversion. Alternatively, it is necessary to have a separate module dedicated to rotation and perform rotation in advance via a memory.
次に、図15を参照しながら、非圧縮画像などを1次元ブロックで固定長圧縮して、属性情報とともにパッキングした画像データを復号して回転し、ブロックデータをラスターデータに変換し、ラスターデータを画像処理する画像処理モジュールについて説明する。入力画像を、データフォーマット変換器29により、8画素のブロックごとに固定長圧縮して、属性情報とともにパッキングしてメモリ12に書き込むところまでは、図12のモジュールと同じである。パッキングされたデータを、パッキングデータ復号回転器32により復号して回転し、回転したブロックデータにする。この場合は、回転リードを行う必要があり、回転ライトは不可である。ブロックデータを、ブロック−ラスター変換器28でラスターデータにする。ラスターデータを、画像処理部9で処理して、処理後の画像のラスターデータを得る。非圧縮画像などを1次元ブロックで固定長圧縮して、属性情報とともにパッキングした画像データの場合も、復号と回転を同時に行うためには、ブロック‐ラスター変換用ラインバッファを持つ必要がある。
Next, referring to FIG. 15, the uncompressed image is fixed-length compressed with a one-dimensional block, the image data packed together with the attribute information is decoded and rotated, and the block data is converted into raster data. An image processing module for image processing will be described. 12 is the same as the module of FIG. 12 until the input image is fixed-length compressed for each block of 8 pixels by the data format converter 29, packed together with the attribute information and written to the
次に、図16を参照しながら、回転アクセスアドレス発生方法を説明する。データが、画像と属性情報を含めて8画素ごとにパッキングされているとする。従来例の非圧縮画像同様に、「回転リード」(回転後の並びの順番に従って読み出す方法)または「回転ライト」(回転後の並びの順番に従って書き込む方法)が可能である。各ブロックは、8画素ごとにパッキングされているため、ブロック1つにつき最低8回のメモリリードが必要である。回転リードの場合は、回転後にメモリに書き戻さなくても、ブロック‐ラスター変換バッファを用いて、直接ラスター化が可能である。回転ライトの場合は、直接ラスター化は不可能である。 Next, a rotation access address generation method will be described with reference to FIG. It is assumed that data is packed every 8 pixels including an image and attribute information. Similar to the uncompressed image of the conventional example, “rotational read” (a method of reading according to the order of the arrangement after rotation) or “rotation write” (a method of writing according to the order of the arrangement after rotation) is possible. Since each block is packed every 8 pixels, at least 8 memory reads are required per block. In the case of rotation read, it is possible to directly rasterize using a block-raster conversion buffer without writing back to the memory after rotation. In the case of a rotating light, direct rasterization is not possible.
「回転リード」の場合は、次のようにメモリリードアドレスとメモリライトアドレスを発生する。最初に、A1ブロックの第1ラインブロックを読み出すために、その先頭アドレスを求める。(全体の先頭アドレス)+(ラインブロックサイズ)×(1ラインのブロック数)×(1列のラインブロック数−8)で求まる。A1ブロックの第2ラインブロックの先頭アドレスは、(A1ブロックの第1ラインブロックの先頭アドレス)+(ラインブロックサイズ)×(1ラインのブロック数)となる。このようにして、A1ブロックの第8ラインブロックまで読み出す。A1ブロックを回転し、回転したA1ブロックを回転後のメモリ領域の先頭アドレスに書き込む。書込みの順序は、通常のラスター順と同じである。ただし、A1ブロックの第2ラインブロックは、(A1ブロックの第1ラインブロックの書込み先頭アドレス)+(ラインブロックサイズ)×(1ラインのブロック数)となる。以下同様である。次に、B1ブロックを読み出す。この読出しアドレスは、(A1ブロックの先頭アドレス)−(ラインブロックサイズ)×(1ラインのブロック数)×8で求まる。B1ブロックを回転し、回転したB1ブロックを、回転後のメモリ領域のA1ブロックの次のアドレスに書き込む。これを繰り返す。1列の回転が終わったら、A2ブロックを読み出す。A2ブロックの読出し先頭アドレスは、(A1ブロックの読出し先頭アドレス)+(正方形ブロックサイズ)で求まる。回転後のA2ブロックは、正方形ブロックとしては、単に前回の正方形ブロックの次のアドレスに書き込めばよい。 In the case of “rotational read”, a memory read address and a memory write address are generated as follows. First, in order to read the first line block of the A1 block, its head address is obtained. (Total start address) + (Line block size) × (Number of blocks in one line) × (Number of line blocks in one column−8) The head address of the second line block of the A1 block is (head address of the first line block of the A1 block) + (line block size) × (number of blocks of one line). In this way, data is read up to the eighth line block of the A1 block. Rotate the A1 block and write the rotated A1 block to the start address of the rotated memory area. The order of writing is the same as the normal raster order. However, the second line block of the A1 block is (write start address of the first line block of the A1 block) + (line block size) × (number of blocks of one line). The same applies hereinafter. Next, the B1 block is read. This read address is obtained by (A1 block start address) − (line block size) × (number of blocks in one line) × 8. The B1 block is rotated, and the rotated B1 block is written to the next address of the A1 block in the memory area after the rotation. Repeat this. When the rotation of one row is finished, read the A2 block. The read start address of the A2 block is obtained by (read start address of the A1 block) + (square block size). As a square block, the A2 block after the rotation is simply written at the address next to the previous square block.
「回転ライト」の場合は、次のようにメモリリードアドレスとメモリライトアドレスを発生する。読出しの順序は、通常のラスター順と同じである。すなわち、最初にD1ブロックを読み出し、以下、ラスター順に次々にブロックを読み出す。ただし、D1ブロックの第2ラインブロックの先頭アドレスは、(D1ブロックの第1ラインブロックの先頭アドレス)+(ラインブロックサイズ)×(1ラインのブロック数)となる。D1ブロックを回転して、回転後のD1ブロックを、回転後のメモリ領域の対応アドレスに書き込む。D1ブロックの第1ラインブロックの書込みアドレスは、(書込領域の先頭アドレス)+(ラインブロックサイズ)×(1列のブロック数−1)で求まる。D1ブロックの第2ラインブロックの書込みアドレスは、(D1ブロックの第1ラインブロックの先頭アドレス)+(ラインブロックサイズ)×(1列のブロック数)である。回転後のD2ブロックの第1ラインブロックの書込み先頭アドレスは、(D1ブロックの書込み先頭アドレス)+(正方形ブロックサイズ)×(1列のブロック数)で求まる。これを繰り返し、8ライン分の回転が終わったら、C1ブロックを読み出す。C1ブロックの書込みアドレスは、(D1ブロックの書込み先頭アドレス)−(正方形ブロックサイズ)で求まる。 In the case of “rotary write”, a memory read address and a memory write address are generated as follows. The reading order is the same as the normal raster order. That is, the D1 block is read first, and thereafter the blocks are read one after another in raster order. However, the head address of the second line block of the D1 block is (head address of the first line block of the D1 block) + (line block size) × (number of blocks of one line). Rotate the D1 block and write the rotated D1 block to the corresponding address in the rotated memory area. The write address of the first line block of the D1 block is obtained by (start address of write area) + (line block size) × (number of blocks in one column−1). The write address of the second line block of the D1 block is (start address of the first line block of the D1 block) + (line block size) × (number of blocks in one column). The write start address of the first line block of the D2 block after rotation is obtained by (write start address of D1 block) + (square block size) × (number of blocks in one column). This is repeated, and when the rotation for 8 lines is completed, the C1 block is read. The write address of the C1 block is obtained by (write start address of D1 block) − (square block size).
1次元ブロックで固定長圧縮して、属性情報とともにパッキングした画像データのメリットを以下に示す。
(1)属性情報と画像情報がパッキングされているため、メモリアクセス数を1/2にできる。
(2)画像自体が固定長圧縮されているため、メモリアクセス時間が短い。
(3)実施例1のデータフォーマットと比べて、回転しない場合は、メモリからリードした後、ブロック‐ラスター変換バッファなしで、直接ラスターデータに変換できる。
The merit of image data that is fixed-length compressed in one-dimensional blocks and packed together with attribute information is shown below.
(1) Since attribute information and image information are packed, the number of memory accesses can be halved.
(2) Since the image itself is compressed at a fixed length, the memory access time is short.
(3) Compared with the data format of the first embodiment, when the data is not rotated, it can be directly converted into raster data without reading the block-raster conversion buffer after reading from the memory.
上記のように、本発明の実施例2では、画像処理装置を、ライン方向の8画素単位で固定長圧縮された画像データと属性情報をパッキングしてメモリに格納し、ラスターデータに変換して画像処理を行う構成としたので、圧縮されてパッキングされたデータを容易にラスターで取り出して、ライン単位で処理することができる。 As described above, in the second embodiment of the present invention, the image processing apparatus packs image data and attribute information that have been fixed-length compressed in units of 8 pixels in the line direction, stores them in a memory, and converts them into raster data. Since the image processing is performed, the compressed and packed data can be easily extracted by a raster and processed in units of lines.
本発明の画像処理装置は、固定長圧縮した画像データを高速に回転処理する画像処理装置として最適である。 The image processing apparatus of the present invention is most suitable as an image processing apparatus that performs high-speed rotation processing on fixed-length compressed image data.
1・・・画像回転器、2・・・分離手段、3・・・伸張器、4・・・画像回転手段、5・・・属性情報回転手段、6・・・固定長圧縮手段、7・・・パッキング手段、8・・・ブロック−ラスター変換器、9・・・画像処理部、10・・・プロッタ、11・・・CPU、12・・・メモリ、13・・・データフォーマット変換器、14・・・復号回転器、21・・・画像回転器、22・・・分離手段、23・・・伸張器、24・・・画像回転手段、25・・・属性情報回転手段、26・・・固定長圧縮手段、27・・・パッキング手段、28・・・ブロック−ラスター変換器、29・・・データフォーマット変換器、30・・・パッキングデータ回転器、31・・・パッキングデータ復号器、32・・・パッキングデータ復号回転器。 DESCRIPTION OF SYMBOLS 1 ... Image rotator, 2 ... Separation means, 3 ... Expander, 4 ... Image rotation means, 5 ... Attribute information rotation means, 6 ... Fixed length compression means, 7 ..Packing means, 8 ... block-raster converter, 9 ... image processing unit, 10 ... plotter, 11 ... CPU, 12 ... memory, 13 ... data format converter, 14 ... Decoding rotator, 21 ... Image rotator, 22 ... Separation means, 23 ... Decompression device, 24 ... Image rotation means, 25 ... Attribute information rotation means, 26 ... Fixed length compression means, 27 ... packing means, 28 ... block-raster converter, 29 ... data format converter, 30 ... packing data rotator, 31 ... packing data decoder, 32: Packing data decoding rotator.
Claims (5)
前記画像データを正方形領域単位でブロック化して固定長圧縮する手段と、前記画像データの属性情報を同じブロック単位でブロック化する手段と、前記正方形領域単位のブロックで固定長圧縮された前記画像データ及び属性情報を1ブロックごとにパッキングして前記記憶部に格納する手段とを備えた2次元ブロックデータフォーマット変換部と、
前記画像データをライン方向の複数画素単位でブロック化して固定長圧縮する手段と、前記画像データの属性情報を同じライン方向のブロック単位でブロック化する手段と、前記ライン方向の複数画素単位のブロックで固定長圧縮された前記画像データ及び属性情報を1ブロックごとにパッキングして前記記憶部に格納する手段とを備えた1次元ブロックデータフォーマット変換部と、
前記2次元ブロックデータフォーマット変換部により前記記憶部に格納された主走査方向及び副走査方向の複数の正方形領域単位ブロックにより構成されるブロック群における各正方形領域単位ブロックの向きを固定したまま前記ブロック群を90°の整数倍回転させる画像回転部と、
前記1次元ブロックデータフォーマット変換部により前記記憶部に格納されたパッキングデータをライン方向のブロック単位で復号してラスターデータに変換する伸張部と
を備えたことを特徴とする画像処理装置。 A storage unit for storing image data ;
Means for blocking and fixing the image data in units of square areas; means for blocking the attribute information of the image data in units of the same block; and the image data compressed in fixed lengths in blocks of the square area units And a two-dimensional block data format conversion unit comprising: packing attribute information for each block and storing the attribute information in the storage unit;
Means for blocking the image data in units of pixels in the line direction and compressing the fixed length; means for blocking attribute information of the image data in units of blocks in the same line direction; and blocks in units of pixels in the line direction A one-dimensional block data format conversion unit comprising: means for packing the image data and the attribute information that have been fixed-length-compressed in block by block and storing them in the storage unit;
The block with the direction of each square area unit block fixed in a block group constituted by a plurality of square area unit blocks in the main scanning direction and the sub-scanning direction stored in the storage unit by the two-dimensional block data format conversion unit An image rotation unit that rotates the group by an integral multiple of 90 °;
An image processing apparatus comprising: a decompression unit that decodes packing data stored in the storage unit by the one-dimensional block data format conversion unit in units of blocks in a line direction and converts the data into raster data .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005259577A JP4610450B2 (en) | 2005-09-07 | 2005-09-07 | Image processing apparatus for processing fixed length compressed image and packing data of attribute information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005259577A JP4610450B2 (en) | 2005-09-07 | 2005-09-07 | Image processing apparatus for processing fixed length compressed image and packing data of attribute information |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2007074412A JP2007074412A (en) | 2007-03-22 |
JP2007074412A5 JP2007074412A5 (en) | 2008-08-28 |
JP4610450B2 true JP4610450B2 (en) | 2011-01-12 |
Family
ID=37935476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005259577A Expired - Fee Related JP4610450B2 (en) | 2005-09-07 | 2005-09-07 | Image processing apparatus for processing fixed length compressed image and packing data of attribute information |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4610450B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4858311B2 (en) | 2007-05-30 | 2012-01-18 | 富士ゼロックス株式会社 | Image processing apparatus and program |
JP5538993B2 (en) * | 2010-04-28 | 2014-07-02 | キヤノン株式会社 | Image processing apparatus, image processing method, program, and storage medium |
US9319880B2 (en) * | 2010-09-15 | 2016-04-19 | Intel Corporation | Reformatting data to decrease bandwidth between a video encoder and a buffer |
US9552619B2 (en) | 2012-08-08 | 2017-01-24 | Megachips Corporation | Image processing apparatus and image processing interface circuit |
GB2586517B (en) * | 2019-08-23 | 2022-06-15 | Imagination Tech Ltd | Methods and decompression units for decompressing a compressed block of image data |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001086318A (en) * | 1999-09-10 | 2001-03-30 | Seiko Epson Corp | Image processing apparatus, image processing method, image forming apparatus, and recording medium recording program |
JP2003204438A (en) * | 2002-01-07 | 2003-07-18 | Ricoh Co Ltd | Image processor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11331616A (en) * | 1998-05-21 | 1999-11-30 | Minolta Co Ltd | Image processing unit |
-
2005
- 2005-09-07 JP JP2005259577A patent/JP4610450B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001086318A (en) * | 1999-09-10 | 2001-03-30 | Seiko Epson Corp | Image processing apparatus, image processing method, image forming apparatus, and recording medium recording program |
JP2003204438A (en) * | 2002-01-07 | 2003-07-18 | Ricoh Co Ltd | Image processor |
Also Published As
Publication number | Publication date |
---|---|
JP2007074412A (en) | 2007-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5558767B2 (en) | Image processing apparatus and processing method thereof | |
US6819803B2 (en) | Faster lossless rotation of JPEG images | |
JP4902474B2 (en) | Image processing apparatus and image processing method | |
JP3461309B2 (en) | Huffman coded data compression device | |
JP4610450B2 (en) | Image processing apparatus for processing fixed length compressed image and packing data of attribute information | |
JP2006121645A (en) | Image compression apparatus and image compression program | |
JP2003189109A (en) | Image processor and image processing method, and computer program | |
JP2004201302A (en) | Image resolution conversion method | |
JP2007300165A (en) | Image processing apparatus and image processing method | |
US11189006B2 (en) | Managing data for transportation | |
JP3311221B2 (en) | Image processing apparatus and method | |
JP5441676B2 (en) | Image processing apparatus and processing method thereof | |
JP2008236084A (en) | Image processing method, image processor, image processing program and recording medium | |
JP2003348355A (en) | Image processing apparatus and control method therefor | |
JPH07274006A (en) | Picture processor, scanner, printer, digital copying machine and display device | |
JP3559419B2 (en) | Method and apparatus for decompressing compressed image data | |
JP2006203270A (en) | Image compression method and device | |
JP2005295307A (en) | Image compression method,image compression device, image expanding device, and program | |
JP4274187B2 (en) | Display data decompression method, display data compression / decompression method, display data decompression device, and display data compression / decompression device | |
JP2000322566A (en) | Image display device and its controlling method | |
JP6428232B2 (en) | Image processing apparatus and image composition method | |
JPH06113145A (en) | Image processor | |
JP3842650B2 (en) | Image processing apparatus and image processing method | |
JPH01130957A (en) | Character controlling apparatus | |
JP2001197496A (en) | Image encoding device, device and method for encoding and decoding image and recording medium for recording program executable by computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080711 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080711 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100729 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100924 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101012 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101012 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131022 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4610450 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |