JP2007201537A - Image compression method, and information processing apparatus provided with image compression means - Google Patents

Image compression method, and information processing apparatus provided with image compression means Download PDF

Info

Publication number
JP2007201537A
JP2007201537A JP2006014010A JP2006014010A JP2007201537A JP 2007201537 A JP2007201537 A JP 2007201537A JP 2006014010 A JP2006014010 A JP 2006014010A JP 2006014010 A JP2006014010 A JP 2006014010A JP 2007201537 A JP2007201537 A JP 2007201537A
Authority
JP
Japan
Prior art keywords
bit
image data
data
pixel
image
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.)
Withdrawn
Application number
JP2006014010A
Other languages
Japanese (ja)
Inventor
Takeshi Kuga
剛 久我
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 JP2006014010A priority Critical patent/JP2007201537A/en
Publication of JP2007201537A publication Critical patent/JP2007201537A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To solve problems of adopting the "Markov coding method" such as the JBIG in the case of applying compression processing to attribute data in 2 to 4 bits, an image with a limited gradation, and a dither image for expressing halftone by using a plurality of pixels that a proper reference range cannot be selected as bits of data are greater and capacity of a line buffer is increased. <P>SOLUTION: In an image compression method disclosed herein wherein image data of a coding object coded by referencing image data around the coding object image data and using the correlation between the referenced image data and the object image data, control for changing referred pixels depending on the arrangement of the image data is performed. For example, when the image data are arranged in a lateral direction, a region in a laterally long direction is adopted for a region to be referenced for the compression. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ある画素を予測するとき、その画素以前に処理した有限個の画像データを参照する圧縮処理方法に関して、多ビットデータである場合、参照する画素を画像データの配列に基づいて参照する画素を決定する機能に関する。   The present invention relates to a compression processing method that refers to a finite number of image data processed before a certain pixel when predicting a certain pixel, and in the case of multi-bit data, refers to the referred pixel based on the arrangement of the image data. The present invention relates to a function for determining a pixel.

近年、PC(パーソナルコンピュータ)やその他多くの情報処理装置の高機能化が進んでいる。また同時に、マルチメディア化が進み、画像データ、音声データ、動画データ等の大きなデータを扱うようになっている。その結果、PCの扱うデータの肥大化してきている。この状況の中でデータの伝送や蓄積のためにデータを圧縮技術する技術が必要とされ、様々な圧縮技術が進んできた。   In recent years, functions of PCs (personal computers) and many other information processing apparatuses have been enhanced. At the same time, multimediaization has progressed, and large data such as image data, audio data, and moving image data are handled. As a result, the data handled by PCs has grown. In this situation, a technique for compressing data for data transmission and storage is required, and various compression techniques have been advanced.

圧縮方法として可逆符号化(情報保存型符号化)と非可逆符号化(情報非保存型符号化)がある。一般的に、2値画像を圧縮する場合は可逆符号化、階調数の多い自然画像については非可逆符号化を用いるのが主流となっている。   As compression methods, there are lossless encoding (information storage type encoding) and lossy encoding (information nonconservation type encoding). In general, lossless encoding is mainly used when compressing a binary image, and irreversible encoding is used for a natural image having a large number of gradations.

可逆圧縮の方法の有力な方法として、マルコフモデル符号化法というものがある。この原理は以下の通りである。画像データでは、隣接する画素データの相関が強い。つまり、ある画素(着目画素)の画像データが何であるかという確率分布は、それ以前に処理した有限個の画素データに依存していると考えてよい。それを前提として、ある画素を予測するとき、それ以前に処理した画素データを用いて予測を行う。この情報を伝送、蓄積することにより、画像データのエントロピーを小さくすることができる。   As a prominent method of the lossless compression method, there is a Markov model encoding method. This principle is as follows. In image data, the correlation between adjacent pixel data is strong. That is, it can be considered that the probability distribution of what the image data of a certain pixel (pixel of interest) is depends on a finite number of pixel data processed before that. Based on this premise, when a certain pixel is predicted, the prediction is performed using pixel data processed before that. By transmitting and storing this information, the entropy of the image data can be reduced.

図1はマルコフモデル符号化法の原理を用いて圧縮を行うJBIG (Joint Bi-level Image coding experts Group)の参照画素領域である。JBIGは可逆符号化の代表的な例である。JBIGは2値データを想定しているため図1に示した画素を参照範囲とする。このマルコフモデル符号化法では、用いる参照画素によって圧縮性能が大きく異なってくる。したがって、着目画素の近くに配置された画素のほうが着目画素との相関が強いので、近傍の画素を選択する。   Figure 1 shows the reference pixel region of JBIG (Joint Bi-level Image coding experts Group) that performs compression using the principle of Markov model coding. JBIG is a typical example of lossless encoding. Since JBIG assumes binary data, the pixel shown in FIG. 1 is used as a reference range. In this Markov model encoding method, the compression performance varies greatly depending on the reference pixel used. Accordingly, a pixel arranged near the pixel of interest has a stronger correlation with the pixel of interest, so a neighboring pixel is selected.

非可逆圧縮の方法としては、JPEGがある。JPEGの圧縮方法は以下の通りである。入力画像をRGBなどの各色成分ごとに8×8の画素ブロックにする。このブロックをDCT変換(離散コサイン変換)する。この変換した値を8×8の量子化テーブルで除算して整数値化する。通常画像中における周波数の高い交流成分は、人間の目には認識しにくい。そのため、この量子化テーブルは周波数の低い成分に対応する係数を小さく、周波数の大きい成分に対応した係数を大きくする。すると周波数が低い成分を保存でき、周波数の高い成分をほとんど0にできる。0の値を増やすことで、この後、ハフマン符号化を行う際、圧縮効率が高くなる。   There is JPEG as a lossy compression method. The JPEG compression method is as follows. The input image is made into an 8 × 8 pixel block for each color component such as RGB. This block is subjected to DCT transform (discrete cosine transform). The converted value is divided by an 8 × 8 quantization table into an integer value. A high-frequency AC component in a normal image is hardly recognized by human eyes. Therefore, this quantization table decreases the coefficient corresponding to the low frequency component and increases the coefficient corresponding to the high frequency component. Then, the low frequency component can be stored, and the high frequency component can be almost zero. By increasing the value of 0, the compression efficiency becomes higher when Huffman coding is performed thereafter.

従来の技術には、圧縮方式として2値画像にはJBIG、自然画像にはJPEGが適するという性質を利用し、複数ページに渡る画像をデータ転送する際、2値画像のページはJBIGで圧縮し、多値画像のページはJPEGで圧縮する制御手段をもつ構成を提案したものがある(特許文献1参照)。
特開平6−54203号公報
In the conventional technology, JBIG is suitable for binary images and JPEG is suitable for natural images as a compression method. When transferring images over multiple pages, binary images are compressed with JBIG. Some multi-valued image pages have been proposed to have a control means for compressing with JPEG (see Patent Document 1).
JP-A-6-54203

上記のように2値画像にはJBIG、自然画像にはJPEGが使用されることが多い。しかし、2〜4ビットなどの属性データや限定階調画像、複数の画素を用いて中間調を表現するティザ画像などの場合では、適切な方法がない。   As described above, JBIG is often used for binary images, and JPEG is often used for natural images. However, there is no appropriate method in the case of attribute data such as 2 to 4 bits, a limited gradation image, and a tether image that represents a halftone using a plurality of pixels.

また、JBIGなどの「マルコフモデル符号化法」を用いる場合、多ビットのデータになるほど、適切な参照範囲を選択できず、またラインバッファが大きくなってしまう。   Also, when using the “Markov model encoding method” such as JBIG, the more the data becomes multi-bit, the more the reference range cannot be selected, and the line buffer becomes larger.

本発明は、上記のような画像データの圧縮に対し有効な方法を提供することを目的とするものである。   An object of the present invention is to provide an effective method for the compression of image data as described above.

請求項1記載の発明は、符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮方法において、
画像データの配列に応じて、参照領域を変更することを特徴とする画像圧縮方法である。
The invention according to claim 1 is an image compression method for encoding image data to be encoded with reference to surrounding image data, and encoding them according to their correlation.
An image compression method is characterized in that the reference area is changed in accordance with the arrangement of the image data.

請求項2記載の発明は、前記画像圧縮方法において、
画像データのビット配列と並列の方向に参照領域を広く採るように変更することを特徴とする請求項1の画像圧縮方法である。
The invention according to claim 2 is the image compression method,
2. The image compression method according to claim 1, wherein a change is made so that the reference area is wide in the direction parallel to the bit arrangement of the image data.

請求項3記載の発明は、JBIGを用いる画像圧縮方法において、
1ビットデータを圧縮処理するときは3ラインテンプレートを用い、多ビットデータを圧縮処理するときは2ラインテンプレートを用いることを特徴とする請求項2の画像圧縮方法である。
The invention according to claim 3 is an image compression method using JBIG.
3. The image compression method according to claim 2, wherein a 3-line template is used when compressing 1-bit data, and a 2-line template is used when compressing multi-bit data.

請求項4記載の発明は、JBIGを用いる画像圧縮方法で多ビット処理時において、
AT位置を参照画素の同位ビットに配置することを特徴とする請求項1〜3の画像圧縮方法である。
The invention according to claim 4 is an image compression method using JBIG, in multi-bit processing,
4. The image compression method according to claim 1, wherein the AT position is arranged in a peer bit of the reference pixel.

請求項5記載の発明は、符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
請求項1〜4の画像圧縮方法を実現する画像圧縮手段を備えたことを特徴とする情報処理装置である。
According to a fifth aspect of the present invention, in an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to a correlation therebetween.
An information processing apparatus comprising image compression means for realizing the image compression method according to claim 1.

請求項6記載の発明は、前記画像圧縮方法において、
着目画素中のあるビットを圧縮処理するとき、参照画素中の同位ビットを参照画像データとすることを特徴とする請求項1の画像圧縮方法である。
The invention according to claim 6 is the image compression method,
2. The image compression method according to claim 1, wherein when a certain bit in the pixel of interest is compressed, a peer bit in the reference pixel is used as reference image data.

請求項7記載の発明は、符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
請求項6の画像圧縮方法を実現する画像圧縮手段を備えたことを特徴とする情報処理装置である。
The invention according to claim 7 is an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to a correlation therebetween.
An information processing apparatus comprising image compression means for realizing the image compression method according to claim 6.

請求項8記載の発明は、符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
ビット毎に圧縮するために画像データをビット分割するビット分割手段
を備えたことを特徴とする請求項7の情報処理装置である。
The invention according to claim 8 is an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to their correlation.
8. The information processing apparatus according to claim 7, further comprising bit division means for dividing the image data into bits for compression bit by bit.

請求項9記載の発明は、符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
ビット毎に伸張された伸張データを結合して画像データを復元するビット結合手段
を備えたことを特徴とする請求項7の情報処理装置である。
The invention according to claim 9 is an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to a correlation therebetween.
8. The information processing apparatus according to claim 7, further comprising: a bit combining unit that combines the expanded data expanded for each bit to restore the image data.

請求項10記載の発明は、符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
ビット毎に圧縮するために画像データをビット分割するビット分割手段と、
ビット毎に伸張された伸張データを結合して画像データを復元するビット結合手段と、
を備えたことを特徴とする請求項7の情報処理装置である。
According to a tenth aspect of the present invention, there is provided an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to a correlation therebetween.
A bit dividing means for dividing the image data into bits for compression bit by bit;
Bit combining means for combining the expanded data expanded for each bit to restore the image data;
The information processing apparatus according to claim 7, further comprising:

本発明によれば、符号化の対象となる画像データを処理する際、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮方法において、画像データの配列に応じて参照画素を変更する制御を行う。   According to the present invention, when processing image data to be encoded, reference is made to reference pixels according to the arrangement of the image data in an image compression method that refers to the surrounding image data and encodes them according to their correlation. Control to change.

この制御によって圧縮率を高くし、また、通常、多ビットのデータになるほど大きな容量が必要なラインバッファを縮小化することができる。   With this control, the compression rate can be increased, and a line buffer that normally requires a larger capacity for multi-bit data can be reduced.

発明を実施するための最良の形態は、次の実施例である。なお、本明細書においては、JBIGを例とするが、圧縮手段が異なっても、画像データの配列によって参照領域を決定するならば、本発明の範囲に含まれる。   The best mode for carrying out the invention is the following embodiment. In this specification, JBIG is taken as an example, but even if the compression means is different, if the reference area is determined by the arrangement of the image data, it is included in the scope of the present invention.

<標準JBIGを用いる方法>
本発明は、圧縮する画像データが2〜4ビットで標準JBIGを使用するときに有効な方法である。本発明を実施する場合は標準JBIGの回路を変更することなく実施できる。
<Method using standard JBIG>
The present invention is an effective method when image data to be compressed is 2 to 4 bits and standard JBIG is used. The present invention can be implemented without changing the standard JBIG circuit.

図2は、本発明の実施例における2ビット画像データの配列を示す。   FIG. 2 shows an arrangement of 2-bit image data in the embodiment of the present invention.

図3は、本発明の実施例における3ビット画像データの配列を示す。   FIG. 3 shows an arrangement of 3-bit image data in the embodiment of the present invention.

図4は、本発明の実施例における4ビット画像データの配列を示す。   FIG. 4 shows an arrangement of 4-bit image data in the embodiment of the present invention.

この2〜4ビットの画像データは、出力時、1つの画素として表現される。   This 2-4 bit image data is expressed as one pixel at the time of output.

本明細書において、出力時、1画素と表される数ビットのデータを画素データと呼ぶ。そして、画素データを構成する各ビットのデータを画像データと呼ぶ。   In this specification, several bits of data expressed as one pixel at the time of output are called pixel data. The data of each bit constituting the pixel data is called image data.

処理の方向は以下の通りである。   The direction of processing is as follows.

横方向は、矢印で示したように左から右という方向に処理する。この方向を図中にあるようにj方向と呼ぶ。またはビット列方向と呼ぶ。   The horizontal direction is processed from left to right as indicated by arrows. This direction is called the j direction as shown in the figure. Or it is called the bit string direction.

縦方向は、矢印で示したように上から下という方向に処理する。この方向を図中にあるようにi方向と呼ぶ。またはライン方向と呼ぶ。   The vertical direction is processed from top to bottom as indicated by the arrows. This direction is called the i direction as shown in the figure. Or called the line direction.

全画像の処理方向は、まず、i列の始点なる列を選択し、j方向に処理を行う。この列が終了したら、i列の次の列を選択し、再びj方向に処理を行う。このようにして、左上の画素から始め、右下の画素まで処理を行う。   For the processing direction of all the images, first, the column that is the starting point of the i column is selected and the processing is performed in the j direction. When this column is completed, the column next to the i column is selected, and the process is performed again in the j direction. In this way, processing is performed from the upper left pixel to the lower right pixel.

本明細書においては、ビット配列を図2〜4という配列で、上記に説明した通りの処理順序で行うが、ビット配列が異なり、その配列に合わせた形で実施する場合においても、画像データの配列によって参照領域を決定するならば、本発明に含まれる。   In this specification, the bit arrangement is the arrangement shown in FIGS. 2 to 4 and performed in the processing order as described above. However, even when the bit arrangement is different and the bit arrangement is performed according to the arrangement, the image data If the reference region is determined by the sequence, it is included in the present invention.

次に、本実施例における1〜4ビット時におけるJBIGの参照画素を示す。   Next, reference pixels of JBIG at the time of 1 to 4 bits in this embodiment are shown.

(1)1ビットデータ時
標準JBIGにおける3ラインテンプレート、2ラインテンプレートの参照領域は図1に示した通りである。3ラインテンプレートは1ビットデータ時に、着目画素に近い画素を参照している。2ラインテンプレートはラインバッファを少なくしつつ、着目画素に近い画素を参照している。
(1) For 1-bit data The reference area of the 3-line template and 2-line template in the standard JBIG is as shown in FIG. The 3-line template refers to a pixel close to the target pixel at the time of 1-bit data. The 2-line template refers to a pixel close to the target pixel while reducing the line buffer.

(2)2ビットデータ時
図5は、2ビットデータで1ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。
(2) At the time of 2-bit data FIG. 5 shows reference image data at the time of the standard JBIG 3-line template and 2-line template when the first bit is the image data of interest in the 2-bit data.

この場合、ライン方向において、3ラインテンプレートでは、直前のラインと2ライン前の画素を参照しているが、2ラインテンプレートでは、すぐ直前のラインを参照しているものの、2ライン前の画素を参照できていない。   In this case, in the line direction, the 3-line template refers to the previous line and the previous two-line pixel, but the 2-line template refers to the immediately previous line, but the previous 2-line pixel I can't refer to it.

一方、ビット列方向において、3ラインテンプレートでは、1画素前のデータの同位ビット(この場合1ビット目)はのみ参照しており、2ラインテンプレートにおいては、1画素を参照すると同時に、2画素前のデータの同位ビットまで参照している。   On the other hand, in the bit string direction, in the 3-line template, only the peer bit of the previous pixel data (in this case, the first bit) is referred to, and in the 2-line template, simultaneously with referring to the one pixel, It refers to even the same bit of data.

図6は、2ビットデータで2ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 6 shows the reference image data in the standard JBIG 3-line template and 2-line template when the second bit is the target image data.

この場合も同様に、ライン方向においては、3ラインテンプレートでは、直前のラインと2ライン前の画素を参照しているが、2ラインテンプレートでは、すぐ直前のラインを参照しているものの、2ライン前の画素を参照できていない。   In this case as well, in the line direction, the 3-line template refers to the previous line and the pixel 2 lines before, but the 2-line template refers to the immediately previous line, but 2 lines. The previous pixel cannot be referenced.

一方、ビット列方向において、3ラインテンプレートでは、1画素前のデータのみ参照しており、2ラインテンプレートにおいては、直前の画素を参照すると同時に、2画素前の画素も参照している。   On the other hand, in the bit string direction, in the 3-line template, only the data of the previous pixel is referred to, and in the 2-line template, the previous pixel is referred to at the same time as the previous pixel.

この2ビットデータにおいては、ライン方向を多く参照する場合と、ビット列方向を多く参照する場合とで、どちらの圧縮率が高いかということは、画像の特性により決定されるので、圧縮率だけではどちらが有利ということは判断できない。しかし、2ラインテンプレートでは、3ラインテンプレートよりも、1ライン分のラインバッファを少なくすることができる。もし、実装する装置が、1ビットデータを処理しない装置であれば、2ラインテンプレートの方がより少ないラインバッファで実装できる。   In this 2-bit data, whether the compression rate is higher when the line direction is referred to more or when the bit string direction is referenced is determined by the characteristics of the image. I cannot judge which is more advantageous. However, in the 2-line template, the line buffer for one line can be reduced as compared with the 3-line template. If the device to be mounted is a device that does not process 1-bit data, the 2-line template can be mounted with fewer line buffers.

(3)3ビットデータ時
図7は、3ビットデータで1ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。
(3) At the time of 3-bit data FIG. 7 shows the reference image data at the time of the standard JBIG 3-line template and 2-line template when the first bit is image data of interest in the 3-bit data.

この場合、ライン方向においては、3ラインテンプレートでは、直前のラインと2ライン前の画素を参照しているが、2ラインテンプレートでは、すぐ直前のラインのみ参照している。   In this case, in the line direction, the three-line template refers to the immediately preceding line and the pixel two lines before, but the two-line template refers to only the immediately preceding line.

一方、ビット列方向において、3ラインテンプレートでは、1画素前のデータについては参照しておらず、2ラインテンプレートにおいては、1画素前の1,2ビット目を参照している。   On the other hand, in the bit string direction, the 3-line template does not refer to the data of the previous pixel, and the 2-line template refers to the first and second bits of the previous pixel.

図8は、3ビットデータで2ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 8 shows the reference image data in the standard JBIG 3-line template and 2-line template when the second bit is the target image data in the 3-bit data.

この場合、ライン方向においては、3ラインテンプレートでは、直前のラインと2ライン前の画素を参照しているが、2ラインテンプレートでは、直前のラインのみ参照している。   In this case, in the line direction, the 3-line template refers to the immediately preceding line and the pixel 2 lines before, but the 2-line template refers to only the immediately preceding line.

一方、ビット列方向において、3ラインテンプレートでは、1画素前のデータの1ビット目のみ参照しており、2ラインテンプレートにおいては、1画素前を全ビット参照している。   On the other hand, in the bit string direction, only the first bit of the data one pixel before is referred to in the 3-line template, and all bits are referred to the previous pixel in the 2-line template.

図9は、3ビットデータで3ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 9 shows the reference image data for the standard JBIG 3-line template and 2-line template when the third bit is the target image data.

この場合、ライン方向においては、3ラインテンプレートでは、直前のラインと2ライン前の画素の2,3ビットを参照しているが、2ラインテンプレートでは、直前のラインのみ参照している。   In this case, in the line direction, the 3-line template refers to the 2 or 3 bits of the previous line and the previous 2 pixels, but the 2-line template refers to only the previous line.

一方、ビット列方向において、3ラインテンプレートでは、1画素前のデータの1,2ビット目のみ参照しており、2ラインテンプレートにおいては、1画素前を全ビットと2ビット前の画素の1ビット目を参照している。   On the other hand, in the bit string direction, in the 3-line template, only the 1st and 2nd bits of the data of the previous pixel are referred to. Refers to.

3ラインテンプレートの場合、2ライン前の画素を参照しているものの、直目画素が1,3ビットのときは、画素の全ビットを参照できていない。   In the case of the three-line template, although the pixel two lines before is referred to, when the first pixel is 1 or 3 bits, all the bits of the pixel cannot be referred to.

一方で2ラインテンプレートのときは、ビット列方向の1画素前のデータを全ビット参照できている。   On the other hand, in the case of the 2-line template, all the bits can be referred to the data one pixel before in the bit string direction.

以上の点から、任意の画像を圧縮した場合、2ラインテンプレートのほうが、圧縮率が良い可能性が高い。   From the above points, when an arbitrary image is compressed, the 2-line template is more likely to have a better compression rate.

(4)4ビットデータ時
図10は、4ビットデータで1ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。
(4) At the time of 4-bit data FIG. 10 shows reference image data at the time of standard JBIG 3-line template and 2-line template when the first bit is image data of interest in 4-bit data.

この場合、ライン方向においては、3ラインテンプレートでは、直前のラインの1〜3ビット目と2ライン前の画素の1,2ビット目を参照しているが、2ラインテンプレートでは、すぐ直前のラインの画素について全ビットを参照している。   In this case, in the line direction, the 3-line template refers to the 1st to 3rd bits of the immediately preceding line and the 1st and 2nd bits of the pixel 2 lines before, but in the 2 line template, the immediately preceding line All bits are referred to for this pixel.

一方、ビット列方向において、3ラインテンプレートでは、着目画素の4ビット目を参照しておらず、2ラインテンプレートにおいては、1画素前の同一ビット(この場合1ビット目)を参照している。   On the other hand, in the bit string direction, the 3rd line template does not refer to the 4th bit of the pixel of interest, and the 2line template refers to the same bit before the 1st pixel (in this case, the 1st bit).

図11は、4ビットデータで2ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 11 shows the reference image data in the standard JBIG 3-line template and 2-line template when the second bit is the target image data in the 4-bit data.

この場合、ライン方向においては、3ラインテンプレートでは、直前のラインの全ビットと2ライン前の画素の1〜3ビット目を参照しているが、2ラインテンプレートでは、すぐ直前のラインの画素について全ビットのみを参照している。
一方、ビット列方向において、3ラインテンプレートでは、着目画素の3,4ビット目を参照しており、2ラインテンプレートにおいては、1画素前の1,2ビットを参照している。
In this case, in the line direction, the 3-line template refers to all bits of the immediately preceding line and the 1st to 3rd bits of the pixel 2 lines before, but in the 2-line template, the pixels of the immediately preceding line are referred to. Only all bits are referenced.
On the other hand, in the bit string direction, the 3rd line template refers to the 3rd and 4th bits of the target pixel, and the 2 line template refers to the 1st and 2nd bits of the previous pixel.

図12は、4ビットデータで3ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 12 shows the reference image data in the standard JBIG 3-line template and 2-line template when the third bit is the target image data in the 4-bit data.

この場合、ライン方向においては、3ラインテンプレートでは、直前のラインの全ビットと2ライン前の画素の2〜4ビット目を参照しているが、2ラインテンプレートでは、すぐ直前のラインの画素について全ビットのみを参照している。   In this case, in the line direction, the 3-line template refers to all the bits of the immediately preceding line and the 2nd to 4th bits of the pixel 2 lines before, but in the 2-line template, the pixels of the immediately preceding line are referred to. Only all bits are referenced.

一方、ビット列方向において、3ラインテンプレートでは、1画素前の1ビット目を参照しており、2ラインテンプレートにおいては、1画素前の1,3ビットを参照している。   On the other hand, in the bit string direction, the first bit of the previous pixel is referred to in the 3-line template, and the first and third bits of the previous pixel are referred to in the 2-line template.

図13は、4ビットデータで4ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 13 shows standard JBIG 3-line template and 2-line template reference image data when the 4th bit is the target image data.

この場合、ライン方向においては、3ラインテンプレートでは、直前のラインの2〜4ビットと2ライン前の画素の3,4ビット目を参照しているが、2ラインテンプレートでは、直前ラインの画素の2〜4ビットを参照している。   In this case, in the line direction, the 3-line template refers to the 2nd to 4th bits of the immediately preceding line and the 3rd and 4th bits of the 2nd previous pixel. 2 to 4 bits are referenced.

一方、ビット列方向において、3ラインテンプレートでは、1画素前の1,2ビット目を参照しており、2ラインテンプレートにおいては、1画素前の全ビットを参照している。   On the other hand, in the bit string direction, the 3rd line template refers to the 1st and 2nd bits of the previous pixel, and the 2nd line template refers to all the bits of the previous pixel.

3ラインテンプレートの場合、同位ビットを参照できていない場合が多い一方で、2ラインテンプレートのときは、ビット列方向の1画素前のデータについて着目画素の同位ビットを参照できている。   In the case of the 3-line template, the peer bit cannot often be referred to. On the other hand, in the case of the 2-line template, the peer bit of the target pixel can be referred to for the data one pixel before in the bit string direction.

以上の点から、任意の画像を圧縮した場合、2ラインテンプレートのほうが、圧縮率が良い可能性が高い。   From the above points, when an arbitrary image is compressed, the 2-line template is more likely to have a better compression rate.

この方法を用いてある4ビットの画像データを圧縮したところ、3ラインテンプレート時は5.47%だったものが、2ラインテンプレートにより5.12%に改善された。   When this method was used to compress 4-bit image data, it was improved from 5.47% with the 3-line template to 5.12% with the 2-line template.

1ライン分のラインバッファを減らすことで、どの程度のメモリ容量を減らせるかを説明する。   The following describes how much memory capacity can be reduced by reducing the line buffer for one line.

ラインバッファには、1ライン分の画像データを保持しておかねばならない。そのため、処理する画像の横幅のビット数分持たねばならない。   The line buffer must hold image data for one line. Therefore, it is necessary to have as many bits as the width of the image to be processed.

図14に紙の規定サイズを示す。例えばA3のサイズで600ppiの画像を処理する場合、7,157ビットのラインバッファサイズになる。これは1画素1ビット時のサイズであり、2ビットデータ時は14,173ビット、3ビットデータ時は21,471ビット、4ビットデータ時は28,628ビットのラインバッファが必要となる。   FIG. 14 shows the prescribed paper size. For example, when processing a 600ppi image with the A3 size, the line buffer size is 7,157 bits. This is the size of 1 bit per pixel. A line buffer of 14,173 bits for 2-bit data, 21,471 bits for 3-bit data, and 28,628 bits for 4-bit data is required.

画像データが大きくなればもちろん大きなラインバッファが必要となるので、3ラインテンプレートよりも、2ラインテンプレートのほうが、この分のラインバッファを余分に持たなくて済み、コストの面でメリットがある。   Of course, if the image data is large, a large line buffer is required. Therefore, the 2-line template does not need to have an extra line buffer, and is advantageous in terms of cost.

このように、画像データの配列と並列の方向に、参照領域を広くすることにより、圧縮率や、ラインバッファを小さくすることができ、通常の圧縮よりも有利となる。   In this way, by increasing the reference area in the direction parallel to the image data arrangement, the compression rate and the line buffer can be reduced, which is advantageous over normal compression.

利用方法として、1ビットデータを圧縮処理するときは圧縮率が高くなるように3ラインテンプレートを用い、多ビットデータを圧縮処理するときはラインバッファが小さくなり、圧縮率が高くなる可能性が高い2ラインテンプレートを用いることにより、効率的な圧縮をすることができる。   As a usage method, a 3-line template is used so that the compression rate is high when compressing 1-bit data, and the line buffer is small when compressing multi-bit data, and the compression rate is likely to be high. By using the two-line template, efficient compression can be performed.

本実施例においては、ATについては標準の位置としたが、これを隣接する画素データの同位にビットに配置するなどをして圧縮率を良くする方法もある。   In the present embodiment, the AT is a standard position, but there is a method of improving the compression rate by arranging the AT in the same bit of adjacent pixel data.

<ビット毎に参照領域を切り替えるJBIGの圧縮方法>
本実施例は4ビットデータを例に挙げる。
<JBIG compression method for switching the reference area for each bit>
In this embodiment, 4-bit data is taken as an example.

データ配列は実施例1と同様に、図4の配列の場合を考える。   Similar to the first embodiment, the data array is considered to be the array shown in FIG.

図15は、本発明の実施例における、着目画像データが1ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 15 shows reference image data for a 3-line template and 2-line template when the target image data is the first bit in the embodiment of the present invention.

図に示されたとおり、着目画素の1ビット目が着目画像データのとき、周辺画素の1ビット目を参照画素としている。   As shown in the figure, when the first bit of the target pixel is the target image data, the first bit of the peripheral pixels is used as the reference pixel.

図16は、本発明の実施例における、着目画像データが2ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データである。
図に示されたとおり、着目画素の2ビット目が着目画像データのとき、周辺画素の2ビット目を参照画素としている。
FIG. 16 shows reference image data for a 3-line template and 2-line template when the target image data is the second bit in the embodiment of the present invention.
As shown in the figure, when the second bit of the target pixel is the target image data, the second bit of the peripheral pixels is used as a reference pixel.

図17は、本発明の実施例における、着目画像データが3ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データである。
図に示されたとおり、着目画素の3ビット目が着目画像データのとき、周辺画素の3ビット目を参照画素としている。
FIG. 17 shows reference image data for a 3-line template and 2-line template when the target image data is the third bit in the embodiment of the present invention.
As shown in the figure, when the third bit of the target pixel is the target image data, the third bit of the peripheral pixel is used as a reference pixel.

図18は、本発明の実施例における、着目画像データが4ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データである。   FIG. 18 shows reference image data for a 3-line template and 2-line template when the target image data is the 4th bit in the embodiment of the present invention.

図に示されたとおり、着目画素の4ビット目が着目画像データのとき、周辺画素の4ビット目を参照画素としている。   As shown in the figure, when the fourth bit of the target pixel is the target image data, the fourth bit of the peripheral pixel is used as a reference pixel.

このようにビット毎に分けることにより、相関の強い同位ビットを参照して圧縮することができる。   By dividing each bit in this way, it is possible to compress by referring to peer bits having a strong correlation.

また、一般的に画像では、画素値は緩やかに変化する場合が多く、限定階調画像やティザ画像の場合は、上位ビットでは特に圧縮率が良くなる。   In general, pixel values often change slowly in an image, and in the case of a limited gradation image or a tethered image, the compression rate is particularly good with higher bits.

図19は、本実施例における多ビットの画像データを圧縮するための実現方法を示す図である。   FIG. 19 is a diagram illustrating an implementation method for compressing multi-bit image data according to the present embodiment.

圧縮時は、ビットを分割して、それぞれのビットデータを圧縮する。   At the time of compression, bits are divided and each bit data is compressed.

伸張時は、それぞれのビットデータを伸張して、ビットを結合する。   At the time of expansion, the respective bit data are expanded and the bits are combined.

この操作により、本実施例を実現する。   This operation realizes the present embodiment.

図20は、圧縮処理と伸張処理を同じ回路で行う処理である場合の本実施例を実現するための構成例を示す。JBIGでは、圧縮処理と伸張処理を同じ回路で実現することができる。   FIG. 20 shows a configuration example for realizing the present embodiment when the compression process and the decompression process are performed by the same circuit. In JBIG, compression processing and decompression processing can be realized with the same circuit.

10は画像データの入力制御を行う入力制御回路である。入力制御回路には、ビット分割回路11が備えられている。このビット分割回路は、圧縮時に機能する。   Reference numeral 10 denotes an input control circuit that performs input control of image data. The input control circuit includes a bit division circuit 11. This bit division circuit functions during compression.

20は画像データの出力制御を行う出力制御回路である。出力制御回路には、ビット結合回路21が備えられている。このビット結合回路は、伸張時に機能する。   Reference numeral 20 denotes an output control circuit that performs output control of image data. The output control circuit includes a bit combination circuit 21. This bit coupling circuit functions during expansion.

101〜104は圧縮伸張回路である。各ブロックはビット毎の圧縮伸張処理を行う。   Reference numerals 101 to 104 denote compression / decompression circuits. Each block performs compression / decompression processing for each bit.

この構成における動作を説明する。   The operation in this configuration will be described.

圧縮時は次のように処理する。入力制御回路にデータを入力する。このときビット分割回路が、入力データをビット分割し、各圧縮伸張回路に送信する。圧縮伸張回路で圧縮されたデータは、出力制御部へ渡される。出力制御部はビット毎に、メモリに保持する。   The following processing is performed during compression. Data is input to the input control circuit. At this time, the bit division circuit divides the input data into bits and transmits the data to each compression / decompression circuit. The data compressed by the compression / decompression circuit is passed to the output control unit. The output control unit holds each bit in the memory.

伸張時は次のように処理する。入力制御回路にビット毎に圧縮されたデータを入力し各圧縮伸張回路に送信する。圧縮伸張回路で伸張されたデータは、出力制御部へ渡される。出力制御部ではビット結合回路でビットを結合しデータを復号する。   When decompressing, the following processing is performed. Data compressed for each bit is input to the input control circuit and transmitted to each compression / decompression circuit. The data decompressed by the compression / decompression circuit is passed to the output control unit. In the output control unit, the bits are combined by the bit combination circuit to decode the data.

図21は、本実施例のもう一つ実現方法として、1つの圧縮回路がデータのビット数と処理するビットが何位のビットであるかを認識して、ビット数分の圧縮処理を繰り返す方法を示す図である。   FIG. 21 shows another implementation method of the present embodiment, in which one compression circuit recognizes the number of bits of data and the number of bits to be processed, and repeats compression processing for the number of bits. FIG.

図21では、Nビットデータを処理する例を示している。   FIG. 21 shows an example of processing N-bit data.

圧縮時の処理は次のように行う。   Processing during compression is performed as follows.

1回目は1ビット目を選択し、選択回路で1ビット目を選択しながら、圧縮処理を行う。   In the first time, the first bit is selected, and the compression processing is performed while selecting the first bit by the selection circuit.

2回目は2ビット目を選択し、選択回路で2ビット目を選択しながら、圧縮処理を行う。   In the second time, the second bit is selected, and the compression process is performed while the second bit is selected by the selection circuit.

3回目は3ビット目を選択し、選択回路で3ビット目を選択しながら、圧縮処理を行う。   In the third time, the third bit is selected, and the compression processing is performed while the third bit is selected by the selection circuit.

以上の処理を各ビットで繰り返し、最上位ビットのNビット目を処理する。   The above processing is repeated for each bit, and the Nth bit of the most significant bit is processed.

N回目はNビット目を選択し、選択回路でNビット目を選択しながら、圧縮処理を行う。   In the Nth time, the Nth bit is selected, and compression processing is performed while the Nth bit is selected by the selection circuit.

伸張時の処理は次のように行う。   The decompression process is performed as follows.

1回目は1ビット目の圧縮データを選択し、伸張処理を行う。   In the first time, compressed data of the first bit is selected and decompression processing is performed.

2回目は2ビット目の圧縮データを選択し、伸張処理を行う。   The second time, the compressed data of the second bit is selected and decompression processing is performed.

3回目は3ビット目の圧縮データを選択し、伸張処理を行う。   In the third time, compressed data of the third bit is selected and decompression processing is performed.

以上の処理を各ビットで繰り返し、最上位ビットのNビット目を処理する。   The above processing is repeated for each bit, and the Nth bit of the most significant bit is processed.

N回目はNビット目の圧縮データを選択し、伸張処理を行う。   In the Nth time, compressed data of the Nth bit is selected and decompression processing is performed.

全ビットのデータを復号化したら、ビット結合を行って、データを復号化する。   When all bits of data are decoded, bit combination is performed to decode the data.

以上の説明では下位ビットから処理を行ったが、順序は問わない。   In the above description, processing is performed from the lower bits, but the order is not limited.

以上のようにビット配列を考慮した参照領域を設定し圧縮処理をすることにより、圧縮率に対して効果を得られる。   As described above, by setting the reference region in consideration of the bit arrangement and performing the compression process, an effect on the compression rate can be obtained.

<12ビットの画像データを参照するマルコフモデル符号化法>
本実施例においては、マルコフモデル符号化法を用いる符号化法で、21ビットの画像データを参照する場合の参照方法における実施例を述べる。なお、本実施例においては参照ビットを21ビットとしたが、参照ビット数に関わらず、画像データの配列によって参照領域を決定する方法で圧縮処理を行う方法ならば、本発明に含まれる。
<Markov model encoding method referring to 12-bit image data>
In this embodiment, an embodiment of a reference method in the case of referring to 21-bit image data by an encoding method using the Markov model encoding method will be described. In the present embodiment, the reference bits are 21 bits. However, any method that performs compression processing by determining a reference area based on the arrangement of image data regardless of the number of reference bits is included in the present invention.

図22はマルコフモデル符号化法を用いる符号化法で、1ビットデータを圧縮するときの参照範囲である。画像データにおいて着目画素に近い画素ほど着目画素との相関が強い。そのため、圧縮する際には、図のように着目画素に近接する画素を参照して圧縮する。   FIG. 22 shows a reference range when 1-bit data is compressed by an encoding method using the Markov model encoding method. In the image data, the closer to the target pixel, the stronger the correlation with the target pixel. Therefore, when compressing, the compression is performed with reference to a pixel close to the target pixel as shown in the figure.

図23はマルコフモデル符号化法を用いる符号化法で、2ビットデータを圧縮するときの参照範囲を示している。   FIG. 23 shows a reference range when 2-bit data is compressed by the encoding method using the Markov model encoding method.

図24は2ビットデータの2ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 24 is a diagram showing the arrangement of reference ranges when the second bit of 2-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図25は2ビットデータの1ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 25 is a diagram showing the arrangement of reference ranges when the first bit of 2-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図26はマルコフモデル符号化法を用いる符号化法で、3ビットデータを圧縮するときの参照範囲を示している。   FIG. 26 shows a reference range when 3-bit data is compressed by an encoding method using the Markov model encoding method.

図27は3ビットデータの3ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 27 is a diagram showing the arrangement of reference ranges when the third bit of 3-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図28は3ビットデータの2ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 28 is a diagram showing the arrangement of reference ranges when the second bit of 3-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図29は3ビットデータの1ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 29 is a diagram showing the arrangement of reference ranges when the first bit of 3-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図30はマルコフモデル符号化法を用いる符号化法で、4ビットデータを圧縮するときの参照範囲を示している。   FIG. 30 shows a reference range when 4-bit data is compressed by the encoding method using the Markov model encoding method.

図31は4ビットデータの4ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 31 is a diagram showing the arrangement of reference ranges when the fourth bit of 4-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図32は4ビットデータの3ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 32 is a diagram showing the arrangement of reference ranges when the third bit of 4-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図33は4ビットデータの2ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 33 is a diagram showing the arrangement of reference ranges when the second bit of 4-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

図34は4ビットデータの1ビット目を圧縮するときの参照範囲の配置を示している図である。図のように、着目画素データを含む画素に近接する画素データを参照して圧縮する。   FIG. 34 is a diagram showing the arrangement of reference ranges when the first bit of 4-bit data is compressed. As shown in the figure, compression is performed with reference to pixel data close to the pixel including the target pixel data.

このように、ビット配列を考慮した参照領域を設定し圧縮処理をすることにより、圧縮率に対して効果を得られる。   As described above, by setting the reference region in consideration of the bit arrangement and performing the compression process, an effect on the compression rate can be obtained.

マルコフモデル符号化法の原理を用いて圧縮を行うJBIGの参照画素領域を示す図である。It is a figure which shows the reference pixel area | region of JBIG which performs compression using the principle of a Markov model encoding method. 第1実施例における、2ビット画像データの配列を示す図である。It is a figure which shows the arrangement | sequence of 2-bit image data in 1st Example. 第1実施例における、3ビット画像データの配列を示す図である。It is a figure which shows the arrangement | sequence of 3 bit image data in 1st Example. 第1実施例における、4ビット画像データの配列を示す図である。It is a figure which shows the arrangement | sequence of 4-bit image data in 1st Example. 第1実施例における、2ビットデータで1ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 6 is a diagram illustrating reference image data in a standard JBIG 3-line template and 2-line template when the first bit is image data of interest in 2-bit data in the first embodiment. 第1実施例における、2ビットデータで2ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 6 is a diagram showing reference image data in a standard JBIG 3-line template and 2-line template when the second bit is image data of interest in the 2-bit data in the first embodiment. 第1実施例における、3ビットデータで1ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 6 is a diagram showing reference image data when a standard JBIG 3-line template and 2-line template are used when the first bit is the target image data in the 3-bit data in the first embodiment. 第1実施例における、3ビットデータで2ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 5 is a diagram showing reference image data in the case of standard JBIG 3-line template and 2-line template when the second bit is the target image data in the 3-bit data in the first embodiment. V第1実施例における、3ビットデータで3ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。V is a diagram showing reference image data in the case of the standard JBIG 3-line template and 2-line template when the third bit is the target image data in the 3-bit data in the first embodiment. 第1実施例における、4ビットデータで1ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 4 is a diagram showing reference image data in a standard JBIG 3-line template and 2-line template when the first bit is image data of interest in 4-bit data in the first embodiment. 第1実施例における、4ビットデータで2ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 6 is a diagram showing reference image data in the case of standard JBIG 3-line template and 2-line template when the second bit is image data of interest in the 4-bit data in the first embodiment. 第1実施例における、4ビットデータで3ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 6 is a diagram showing reference image data in a standard JBIG 3-line template and 2-line template when the third bit is image data of interest in the 4-bit data in the first embodiment. 第1実施例における、4ビットデータで4ビット目が着目画像データであるとき、標準JBIGの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。FIG. 4 is a diagram showing reference image data in the case of standard JBIG 3-line template and 2-line template when the fourth bit is image data of interest in the 4-bit data in the first embodiment. ラインバッファの容量を見積るための紙の規定サイズを示す。Indicates the prescribed paper size for estimating the capacity of the line buffer. 第2実施例における、着目画像データが1ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of the 3 line template when the attention image data is the 1st bit, and the 2 line template in 2nd Example. 第2実施例における、着目画像データが2ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of the 3 line template when the attention image data is the 2nd bit, and the 2 line template in 2nd Example. 第2実施例における、着目画像データが3ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of the 3 line template when the image data of interest is the 3rd bit, and the 2 line template in 2nd Example. 第2実施例における、着目画像データが4ビット目のときの3ラインテンプレート、2ラインテンプレート時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of the 3 line template when the image data of interest is the 4th bit, and the 2 line template in 2nd Example. 第2実施例における、多ビットの画像データを圧縮するための実現方法を示す図である。It is a figure which shows the realization method for compressing multibit image data in 2nd Example. 第2実施例における、圧縮処理と伸張処理を同じ回路で行う処理である場合の構成例を示す。A configuration example in the case where the compression processing and the decompression processing are performed by the same circuit in the second embodiment will be described. 第2実施例における、1つの圧縮回路がデータのビット数と処理するビットが何位のビットであるかを認識して、ビット数分の圧縮処理を繰り返す方法を示す図である。FIG. 10 is a diagram illustrating a method of recognizing the number of bits of data and the number of bits to be processed by one compression circuit and repeating the compression process for the number of bits in the second embodiment. 第3実施例における、1ビットデータ時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of 1 bit data in 3rd Example. 第3実施例における、2ビットデータ時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of 2 bit data in 3rd Example. 第3実施例における、2ビットデータの2ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows the reference image data in case the 2nd bit data of 2 bit data is a focused pixel in 3rd Example. 第3実施例における、2ビットデータの1ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows reference image data when the data of the 1st bit of 2-bit data are a focused pixel in 3rd Example. 第3実施例における、3ビットデータ時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of 3 bit data in 3rd Example. 第3実施例における、3ビットデータの3ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows the reference image data when the 3rd bit data of 3 bit data is a focused pixel in 3rd Example. 第3実施例における、3ビットデータの2ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows the reference image data when the data of the 2nd bit of 3 bits data is a focused pixel in 3rd Example. 第3実施例における、3ビットデータの1ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows the reference image data when the data of the 1st bit of 3 bit data is a focused pixel in 3rd Example. 第3実施例における、4ビットデータ時の参照画像データを示す図である。It is a figure which shows the reference image data at the time of 4 bit data in 3rd Example. 第3実施例における、4ビットデータの4ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows the reference image data in case the 4th bit data of 4 bit data are the attention pixel in 3rd Example. 第3実施例における、4ビットデータの3ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows the reference image data when the 3rd bit data of 4 bit data are the attention pixel in 3rd Example. 第3実施例における、4ビットデータの2ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows the reference image data in case the 2nd bit data of 4 bit data is a focused pixel in 3rd Example. 第3実施例における、4ビットデータの1ビット目のデータが着目画素である時の参照画像データを示す図である。It is a figure which shows reference image data when the data of the 1st bit of 4-bit data are the attention pixel in 3rd Example.

符号の説明Explanation of symbols

10 入力制御部
11 ビット分割回路
20 出力制御部
21 ビット結合回路
101 圧縮伸張回路1
102 圧縮伸張回路2
103 圧縮伸張回路3
104 圧縮伸張回路N
DESCRIPTION OF SYMBOLS 10 Input control part 11 Bit division | segmentation circuit 20 Output control part 21 Bit coupling circuit 101 Compression / decompression circuit 1
102 Compression / decompression circuit 2
103 Compression / decompression circuit 3
104 Compression / decompression circuit N

Claims (10)

符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮方法において、
画像データの配列に応じて、参照領域を変更することを特徴とする画像圧縮方法。
In an image compression method for encoding image data to be encoded with reference to the surrounding image data and encoding them according to their correlation,
An image compression method characterized by changing a reference area according to an arrangement of image data.
前記画像圧縮方法において、
画像データのビット配列と並列の方向に参照領域を広く採るように変更することを特徴とする請求項1の画像圧縮方法。
In the image compression method,
2. The image compression method according to claim 1, wherein a change is made so that the reference area is wide in a direction parallel to the bit arrangement of the image data.
JBIGを用いる画像圧縮方法において、
1ビットデータを圧縮処理するときは3ラインテンプレートを用い、多ビットデータを圧縮処理するときは2ラインテンプレートを用いることを特徴とする請求項2の画像圧縮方法。
In the image compression method using JBIG,
3. The image compression method according to claim 2, wherein a 3-line template is used when compressing 1-bit data, and a 2-line template is used when compressing multi-bit data.
JBIGを用いる画像圧縮方法で多ビット処理時において、
AT位置を参照画素の同位ビットに配置することを特徴とする請求項1〜3の画像圧縮方法。
In multi-bit processing with the image compression method using JBIG,
4. The image compression method according to claim 1, wherein the AT position is arranged in a peer bit of the reference pixel.
符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
請求項1〜4の画像圧縮方法を実現する画像圧縮手段を備えたことを特徴とする情報処理装置。
In an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to their correlation,
An information processing apparatus comprising image compression means for realizing the image compression method according to claim 1.
前記画像圧縮方法において、
着目画素中のあるビットを圧縮処理するとき、参照画素中の同位ビットを参照画像データとすることを特徴とする請求項1の画像圧縮方法。
In the image compression method,
2. The image compression method according to claim 1, wherein when a certain bit in the pixel of interest is compressed, a peer bit in the reference pixel is used as reference image data.
符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
請求項6の画像圧縮方法を実現する画像圧縮手段を備えたことを特徴とする情報処理装置。
In an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to their correlation,
An information processing apparatus comprising image compression means for realizing the image compression method according to claim 6.
符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
ビット毎に圧縮するために画像データをビット分割するビット分割手段
を備えたことを特徴とする請求項7の情報処理装置。
In an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to their correlation,
8. The information processing apparatus according to claim 7, further comprising bit division means for dividing the image data into bits for compression bit by bit.
符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
ビット毎に伸張された伸張データを結合して画像データを復元するビット結合手段を備えたことを特徴とする請求項7の情報処理装置。
In an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to their correlation,
8. The information processing apparatus according to claim 7, further comprising bit combining means for combining the expanded data expanded for each bit to restore the image data.
符号化の対象となる画像データを、その周囲の画像データを参照し、それらの相関関係により符号化する画像圧縮機能を備える情報処理装置において、
ビット毎に圧縮するために画像データをビット分割するビット分割手段と、
ビット毎に伸張された伸張データを結合して画像データを復元するビット結合手段と、
を備えたことを特徴とする請求項7の情報処理装置。
In an information processing apparatus having an image compression function for encoding image data to be encoded with reference to surrounding image data and encoding them according to their correlation,
A bit dividing means for dividing the image data into bits for compression bit by bit;
Bit combining means for combining the expanded data expanded for each bit to restore the image data;
The information processing apparatus according to claim 7, further comprising:
JP2006014010A 2006-01-23 2006-01-23 Image compression method, and information processing apparatus provided with image compression means Withdrawn JP2007201537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006014010A JP2007201537A (en) 2006-01-23 2006-01-23 Image compression method, and information processing apparatus provided with image compression means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006014010A JP2007201537A (en) 2006-01-23 2006-01-23 Image compression method, and information processing apparatus provided with image compression means

Publications (1)

Publication Number Publication Date
JP2007201537A true JP2007201537A (en) 2007-08-09

Family

ID=38455713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006014010A Withdrawn JP2007201537A (en) 2006-01-23 2006-01-23 Image compression method, and information processing apparatus provided with image compression means

Country Status (1)

Country Link
JP (1) JP2007201537A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10136139B2 (en) 2014-01-03 2018-11-20 Samsung Electronics Co., Ltd. Display driver and method of operating image data processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10136139B2 (en) 2014-01-03 2018-11-20 Samsung Electronics Co., Ltd. Display driver and method of operating image data processing device

Similar Documents

Publication Publication Date Title
RU2503138C2 (en) Embedded graphics coding for images with sparse histograms
JP4365957B2 (en) Image processing method and apparatus and storage medium
TWI696381B (en) Entropy coding techniques for display stream compression (dsc) of non-4:4:4 chroma sub-sampling
US20110019745A1 (en) Image encoding method, image decoding method, image encoding apparatus, image decoding apparatus, image encoding program, and image decoding program
US6768819B2 (en) Image processing apparatus and method, and storage medium used therewith
US8285062B2 (en) Method for improving the performance of embedded graphics coding
WO2001050768A2 (en) Method and apparatus for video compression using sequential frame cellular automata transforms
JP5221430B2 (en) Image compression apparatus and image expansion apparatus
JP2005519543A (en) Method and system for layer video coding
JP2010098352A (en) Image information encoder
WO2001050769A9 (en) Method and apparatus for video compression using multi-state dynamical predictive systems
JP2007201537A (en) Image compression method, and information processing apparatus provided with image compression means
JP2009153026A (en) Method and apparatus for encoding/decoding image, computer program, and information recording medium
JP4766615B2 (en) Region-of-interest image encoding device
WO2001050767A2 (en) Method and apparatus for digital video compression using three-dimensional cellular automata transforms
Kuo et al. An efficient spatial prediction-based image compression scheme
JP4054430B2 (en) Image processing apparatus and method, and storage medium
JP3459704B2 (en) Image processing apparatus and method
JP3781012B2 (en) Image data compression method, image data expansion method, and image data expansion circuit
US20090074059A1 (en) Encoding method and device for image data
JP2010135912A (en) Compressing method of video data
JP4331992B2 (en) Image encoding method, image decoding method, image encoding device, image decoding device, program thereof, and program recording medium thereof
JP2000032458A (en) Image compression method
JP2002290743A (en) Image information coding method, coding apparatus, digital copying machine, digital facsimile machine, and digital filing apparatus
KR20150068603A (en) Method for Multiple Description Coding using Directional Discrete Cosine Transform

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090407