JP5181916B2 - Image processing apparatus, compression method and decompression method - Google Patents

Image processing apparatus, compression method and decompression method Download PDF

Info

Publication number
JP5181916B2
JP5181916B2 JP2008208401A JP2008208401A JP5181916B2 JP 5181916 B2 JP5181916 B2 JP 5181916B2 JP 2008208401 A JP2008208401 A JP 2008208401A JP 2008208401 A JP2008208401 A JP 2008208401A JP 5181916 B2 JP5181916 B2 JP 5181916B2
Authority
JP
Japan
Prior art keywords
image
threshold
region
compression
processing
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
Application number
JP2008208401A
Other languages
Japanese (ja)
Other versions
JP2010045611A (en
Inventor
大輔 源田
秀樹 森田
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies 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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2008208401A priority Critical patent/JP5181916B2/en
Publication of JP2010045611A publication Critical patent/JP2010045611A/en
Application granted granted Critical
Publication of JP5181916B2 publication Critical patent/JP5181916B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、画像処理装置、圧縮方法及び伸張方法に関する。   The present invention relates to an image processing apparatus, a compression method, and a decompression method.

プリンタ等では、ラスタライズ処理によって描き出した画像データを一旦メモリに保存し、必要なときにメモリから順次読み出す構成となっている。コントローラでは、例えば600dpiの解像度で画像データを生成するが、印刷時には600dpiから1200dpiへと解像度変換を行って、解像度の高い印刷を行うことが可能である。   In a printer or the like, image data drawn by rasterization processing is temporarily stored in a memory and sequentially read from the memory when necessary. For example, the controller generates image data with a resolution of 600 dpi, but at the time of printing, it is possible to perform resolution conversion from 600 dpi to 1200 dpi to perform high-resolution printing.

また、メモリに保存する際には、画像データに圧縮処理を施してデータ量を削減することが一般的である。従来、圧縮方式の一つとしてBTC(Block Truncation Coding)方式が開示されている(例えば、特許文献1参照)。これは、複数画素からなるブロック単位で符号化を行う方法である。
特開平11−164150号公報
Further, when saving in a memory, it is common to reduce the amount of data by applying compression processing to image data. Conventionally, a BTC (Block Truncation Coding) method has been disclosed as one of the compression methods (see, for example, Patent Document 1). This is a method of performing encoding in units of blocks composed of a plurality of pixels.
JP 11-164150 A

一方、コントローラ側でも1200dpiと解像度の高い画像データを生成することが可能である。しかしながら、解像度を高くすれば、メモリの容量も増やさなければならず、コスト高につながる。メモリの容量はそのままに、1200dpiから600dpiへと解像度変換を行った後にメモリに保存することも考えられるが、単純に解像度変換を行っただけでは画質劣化が生じる場合がある。   On the other hand, the controller side can generate image data with a high resolution of 1200 dpi. However, if the resolution is increased, the memory capacity has to be increased, leading to higher costs. Although it is conceivable that the resolution is converted from 1200 dpi to 600 dpi and stored in the memory without changing the capacity of the memory, the image quality may be deteriorated by simply performing the resolution conversion.

文字や線画のエッジ部分については、圧縮処理や解像度変換を経ることにより元の解像度のときの画像を維持できず、鮮鋭性が失われることが分かっている。
特に、アンチエイリアス処理が施されたエッジ部分の鮮鋭性が失われると、スクリーン処理を行った際にスクリーンドットの間隔が広くなり、エッジ部分にジャギーが生じることがあるため、好ましくない。
It has been found that the edge portions of characters and line drawings cannot be maintained at the original resolution through compression processing or resolution conversion, and sharpness is lost.
In particular, if the sharpness of the edge portion subjected to the anti-aliasing process is lost, the screen dot interval is widened when the screen process is performed, and jaggies may occur in the edge portion, which is not preferable.

本発明の課題は、アンチエイリアス処理された画像の画質劣化を抑えることである。   An object of the present invention is to suppress image quality deterioration of an anti-aliased image.

請求項1に記載の発明によれば、
圧縮する多値の画像とともに、当該画像がアンチエイリアス処理されたことを示す制御信号が入力されると、アンチエイリアス処理された画像用の圧縮処理に切り替え、当該画像のうちアンチエイリアス処理された領域を含む画像領域については、伸張後の画像のデータ値を2値とする量子化を行う画像圧縮変換部を備え
前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記アンチエイリアス処理された領域を含む画像領域のうち、前記アンチエイリアス処理された画像領域については、1つの閾値を用いて2値に量子化する画像処理装置が提供される。
According to the invention of claim 1,
When a control signal indicating that the image has been anti-aliased is input together with the multi-value image to be compressed, the image is switched to compression processing for the anti-aliased image, and the image including the anti-aliased region of the image The area includes an image compression conversion unit that performs quantization by converting the data value of the decompressed image to binary ,
In the compression processing for the anti-aliased image, the image compression conversion unit uses a single threshold value for the image region subjected to the anti-aliasing among the image regions including the anti-aliased region. the image processing apparatus is provided you quantized.

請求項2に記載の発明によれば、
前記画像圧縮変換部は、前記画像の量子化を行う際に、当該画像を量子化前より低解像度に解像度変換する請求項1に記載の画像処理装置が提供される。
According to invention of Claim 2,
The image processing apparatus according to claim 1, wherein the image compression conversion unit converts the resolution of the image to a lower resolution than before the quantization when the image is quantized.

請求項3に記載の発明によれば、
前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域を、アンチエイリアス処理された画像領域として、当該画像領域について第2閾値を用いてBTC方式により量子化する請求項2に記載の画像処理装置が提供される。
According to invention of Claim 3,
In the compression processing for the anti-aliased image, the image compression conversion unit processes the image for each predetermined region, and among the processing regions in which the density difference is larger than the first threshold, pixels larger than the second threshold are adjacent. The image processing apparatus according to claim 2, wherein an area to be processed or an area adjacent to pixels smaller than the second threshold is used as an anti-aliased image area , and the image area is quantized by the BTC method using the second threshold. Is done.

請求項4に記載の発明によれば、
前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域を、アンチエイリアス処理された領域を含む画像領域として、当該画像領域の各画素が持つデータ値を2値化した濃度パターンを作成し、この濃度パターンの分類に応じて量子化する請求項2又は3に記載の画像処理装置が提供される。
According to invention of Claim 4,
The image compression conversion unit processes the image for each predetermined region in the compression processing for the anti-aliased image, and among the processing regions in which the density difference is larger than the first threshold, A region where pixels smaller than two thresholds are adjacently mixed is used as an image region including an anti-aliased region, and a density pattern is created by binarizing the data value of each pixel of the image region. The image processing apparatus according to claim 2, wherein the image processing apparatus performs quantization according to the classification.

請求項5に記載の発明によれば、
前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より小さい処理領域については、第2閾値を含む複数の閾値を用いてBTC方式により量子化する請求項2〜4の何れか一項に記載の画像処理装置が提供される。
According to the invention of claim 5,
The image compression conversion unit processes the image for each predetermined region in the compression processing for the anti-aliased image, and a processing region having a density difference smaller than the first threshold includes a plurality of thresholds including a second threshold. The image processing apparatus according to any one of claims 2 to 4, wherein the image processing apparatus performs quantization using the BTC method.

請求項6に記載の発明によれば、
前記画像圧縮変換部は、前記濃度差が第1閾値より小さい処理領域の各画素が持つデータ値を平均化した平均値に対し、前記複数の閾値を用いた量子化を行う請求項5に記載の画像処理装置が提供される。
According to the invention of claim 6,
The said image compression conversion part performs the quantization using these threshold values with respect to the average value which averaged the data value which each pixel of the process area | region where the said density | concentration difference is smaller than a 1st threshold value has. An image processing apparatus is provided.

請求項7に記載の発明によれば、
請求項3に記載の画像処理装置によって量子化された画像を復号し、伸張する画像伸張変換部を備え、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域については、BTC方式による復号を行って2値の復号値を出力する画像処理装置が提供される。
According to the invention of claim 7,
An image expansion conversion unit that decodes and expands an image quantized by the image processing apparatus according to claim 3,
In the original image before quantization, the image extension conversion unit is configured to process a region where a pixel having a density difference larger than the first threshold is adjacent to a region where pixels larger than the second threshold are adjacent or pixels smaller than the second threshold are adjacent. Provides an image processing apparatus that performs decoding by the BTC method and outputs a binary decoded value.

請求項8に記載の発明によれば、
前記画像伸張変換部は、前記量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該領域の各画素に復号値を割り当てる請求項7に記載の画像処理装置が提供される。
According to the invention described in claim 8,
In the original image before quantization, the image expansion conversion unit includes a region where pixels larger than the second threshold are adjacent, or a region where pixels smaller than the second threshold are adjacent among processing regions where the density difference is larger than the first threshold. The image processing apparatus according to claim 7, wherein the resolution is converted to the same resolution as before the quantization, and a decoded value is assigned to each pixel in the region after the resolution conversion.

請求項9に記載の発明によれば、
請求項4に記載の画像処理装置によって量子化された画像を復号し、伸張する画像伸張変換部を備え、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域については、当該領域について量子化の際に作成された濃度パターンを予測し、予測された濃度パターンに対応する2値の復号値を、解像度変換後の当該領域の各画素に割り当てる画像処理装置が提供される。
According to the invention of claim 9,
An image expansion conversion unit that decodes and expands an image quantized by the image processing apparatus according to claim 4,
In the original image before quantization, the image expansion conversion unit is configured to process a region in which pixels larger than the second threshold and pixels smaller than the second threshold are adjacently mixed among the processing regions where the density difference is larger than the first threshold. Provides an image processing apparatus that predicts a density pattern created at the time of quantization for the area and assigns a binary decoded value corresponding to the predicted density pattern to each pixel in the area after resolution conversion. Is done.

請求項10に記載の発明によれば、
請求項5に記載の画像処理装置によって量子化された画像を復号し、伸張する画像伸張変換部を備え、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より小さい処理領域については、BTC方式により復号する画像処理装置が提供される。
According to the invention of claim 10,
An image expansion / conversion unit that decodes and expands an image quantized by the image processing apparatus according to claim 5,
The image expansion conversion unit is provided with an image processing apparatus that decodes a processing region having a density difference smaller than a first threshold in an original image before quantization using a BTC method.

請求項11に記載の発明によれば、
前記画像伸張変換部は、前記濃度差が第1閾値より小さい処理領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該処理領域の各画素に復号値を割り当てる請求項10に記載の画像処理装置が提供される。
According to the invention of claim 11,
The image expansion conversion unit decodes a processing area in which the density difference is smaller than a first threshold, performs resolution conversion to the same resolution as before quantization, and decodes each pixel in the processing area after resolution conversion. An image processing apparatus according to claim 10, which assigns a value, is provided.

請求項12に記載の発明によれば、
圧縮する多値の画像とともに、当該画像がアンチエイリアス処理されたことを示す制御信号が入力されると、アンチエイリアス処理された画像用の圧縮処理に切り替え、当該画像のうちアンチエイリアス処理された領域を含む画像領域については、伸張後の画像のデータ値を2値とする量子化を行い、
前記アンチエイリアス処理された画像用の圧縮処理において、前記アンチエイリアス処理された領域を含む画像領域のうち、前記アンチエイリアス処理された画像領域については、1つの閾値を用いて2値に量子化する圧縮方法が提供される。
According to the invention of claim 12,
When a control signal indicating that the image has been anti-aliased is input together with the multi-value image to be compressed, the image is switched to compression processing for the anti-aliased image, and the image including the anti-aliased region of the image the region, have rows quantization to binary data values of the image after decompression,
In the compression processing for the anti-aliased image, there is a compression method for quantizing the anti-aliased image region into a binary value using a single threshold among the image regions including the anti-aliased region. Provided.

請求項13に記載の発明によれば、
前記画像の量子化を行う際に、当該画像を量子化前より低解像度に解像度変換する請求項12に記載の圧縮方法が提供される。
According to the invention of claim 13,
The compression method according to claim 12, wherein when the image is quantized, the resolution of the image is converted to a lower resolution than before the quantization.

請求項14に記載の発明によれば、
前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域を、アンチエイリアス処理された画像領域として、当該画像領域について第2閾値を用いてBTC方式により量子化する請求項13に記載の圧縮方法が提供される。
According to the invention of claim 14,
In the compression processing for the anti-aliased image, the image is processed for each predetermined region, and among the processing regions in which the density difference is larger than the first threshold, pixels larger than the second threshold are adjacent to each other or from the second threshold. The compression method according to claim 13, wherein a region adjacent to a small pixel is used as an anti-aliased image region , and the image region is quantized by a BTC method using a second threshold.

請求項15に記載の発明によれば、
前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域を、アンチエイリアス処理された領域を含む画像領域として、当該画像領域の各画素が持つデータ値を2値化した濃度パターンを作成し、この濃度パターンの分類に応じて量子化する請求項13又は14に記載の圧縮方法が提供される。
According to the invention of claim 15,
In the compression processing for the anti-aliased image, the image is processed for each fixed region, and among the processing regions where the density difference is larger than the first threshold, there are pixels larger than the second threshold and pixels smaller than the second threshold. Create a density pattern that binarizes the data values of each pixel in the image area, using the adjacent mixed area as an image area including the anti-aliased area, and quantize according to the density pattern classification A compression method according to claim 13 or 14 is provided.

請求項16に記載の発明によれば、
前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より小さい処理領域については、第2閾値を含む複数の閾値を用いてBTC方式により量子化する請求項13〜15の何れか一項に記載の圧縮方法が提供される。
According to the invention of claim 16,
In the compression process for the anti-aliased image, the image is processed for each fixed region, and a processing region having a density difference smaller than the first threshold is quantized by a BTC method using a plurality of thresholds including the second threshold. A compression method according to any one of claims 13 to 15 is provided.

請求項17に記載の発明によれば、
前記濃度差が第1閾値より小さい処理領域の各画素が持つデータ値を平均化した平均値に対し、前記複数の閾値を用いた量子化を行う請求項16に記載の圧縮方法が提供される。
According to the invention of claim 17,
17. The compression method according to claim 16, wherein quantization using the plurality of threshold values is performed on an average value obtained by averaging data values of pixels in a processing region in which the density difference is smaller than a first threshold value. .

請求項18に記載の発明によれば、
請求項14に記載の圧縮方法によって量子化された画像を復号し、伸張する伸張方法であって、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域については、BTC方式による復号を行って2値の復号値を出力する伸張方法が提供される。
According to the invention of claim 18,
A decompression method for decoding and decompressing an image quantized by the compression method according to claim 14,
In the original image before quantization, the image extension conversion unit is configured to process a region where a pixel having a density difference larger than the first threshold is adjacent to a region where pixels larger than the second threshold are adjacent or pixels smaller than the second threshold are adjacent. Is provided with a decompression method that performs decoding by the BTC method and outputs a binary decoded value.

請求項19に記載の発明によれば、
前記量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該領域の各画素に復号値を割り当てる請求項18に記載の伸張方法が提供される。
According to the invention of claim 19,
In the original image before quantization, out of the processing areas where the density difference is larger than the first threshold, the area where pixels larger than the second threshold are adjacent or the area where pixels smaller than the second threshold are adjacent is decoded and resolution is increased. 19. The decompression method according to claim 18, wherein conversion is performed to obtain the same resolution as before quantization, and a decoded value is assigned to each pixel in the region after resolution conversion.

請求項20に記載の発明によれば、
請求項15に記載の圧縮方法によって量子化された画像を復号し、伸張する伸張方法であって、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域については、当該領域について量子化の際に作成された濃度パターンを予測し、予測された濃度パターンに対応する2値の復号値を、解像度変換後の当該領域の各画素に割り当てる伸張方法が提供される。
According to the invention of claim 20,
A decompression method for decoding and decompressing an image quantized by the compression method according to claim 15,
In the original image before quantization, the image expansion conversion unit is configured to process a region in which pixels larger than the second threshold and pixels smaller than the second threshold are adjacently mixed among the processing regions where the density difference is larger than the first threshold. Provides a decompression method that predicts a density pattern created during quantization for the area and assigns a binary decoded value corresponding to the predicted density pattern to each pixel in the area after resolution conversion. The

請求項21に記載の発明によれば、
請求項16に記載の圧縮方法によって量子化された画像を復号し、伸張する伸張方法であって、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より小さい処理領域については、BTC方式により復号する伸張方法が提供される。
According to the invention of claim 21,
A decompression method for decoding and decompressing an image quantized by the compression method according to claim 16,
The image decompression conversion unit is provided with a decompression method for decoding a processing region having a density difference smaller than the first threshold in the original image before quantization by the BTC method.

請求項22に記載の発明によれば、
前記濃度差が第1閾値より小さい処理領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該処理領域の各画素に復号値を割り当てる請求項21に記載の伸張方法が提供される。
According to the invention of claim 22,
23. The decoding of a processing region whose density difference is smaller than a first threshold, performing resolution conversion to the same resolution as before quantization, and assigning a decoding value to each pixel of the processing region after resolution conversion The described stretching method is provided.

本発明によれば、アンチエイリアス処理された画像領域については、復号後のデータ値を2値とすることができる。これにより、アンチエイリアス処理されたエッジ部分がぼけたり、スクリーン処理されたときにジャギーが生じたりする等の画質劣化を抑えることができる。   According to the present invention, the data value after decoding can be made binary for the anti-aliased image area. As a result, it is possible to suppress image quality deterioration such as blurring of the antialiased edge portion or jaggy when screen processing is performed.

本実施形態では、本発明をMFP(Multi Function Peripheral)に適用した例を説明する。MFPは、複写機能、プリント機能等の複数の機能を備えた複合型の画像形成装置である。   In the present embodiment, an example in which the present invention is applied to an MFP (Multi Function Peripheral) will be described. The MFP is a composite image forming apparatus having a plurality of functions such as a copying function and a printing function.

図1は、本実施形態に係るMFP100の機能的構成を示す図である。
MFP100は、外部PC(パーソナルコンピュータ)200と接続されており、当該外部PC200から送信されたPDL(Page Description Language)形式のデータから画像データを生成して画像処理した後、印刷を行うことができる。
FIG. 1 is a diagram illustrating a functional configuration of the MFP 100 according to the present embodiment.
The MFP 100 is connected to an external PC (personal computer) 200, and can print after generating image data from PDL (Page Description Language) format data transmitted from the external PC 200 and performing image processing. .

図1に示すように、MFP100は、コントローラ20、画像処理部10、制御部11、読取部12、操作部13、表示部14、記憶部15、画像メモリ16、印刷装置17を備えて構成されている。   As illustrated in FIG. 1, the MFP 100 includes a controller 20, an image processing unit 10, a control unit 11, a reading unit 12, an operation unit 13, a display unit 14, a storage unit 15, an image memory 16, and a printing device 17. ing.

コントローラ20は、ラスタライズ処理により画素毎の画像データを生成する。
例えば、外部PC200において作成したドキュメントのデータがプリンタドライバソフトによってPDL形式に変換されて、コントローラ20に送信されるので、コントローラ20はラスタライズ処理によって画素毎の画像のデータを生成する。ラスタライズ処理では、PDLコマンドを解析し、描画すべき画像単位(これをオブジェクトという)毎にC(シアン)、M(マジェンタ)、Y(イエロー)、K(黒)の各色の画像のデータを生成する。つまり、描画するオブジェクトについて画素を割り当て、この割り当てた画素毎にデータ値を設定することにより生成する。
The controller 20 generates image data for each pixel by rasterization processing.
For example, document data created in the external PC 200 is converted into PDL format by the printer driver software and transmitted to the controller 20, so that the controller 20 generates image data for each pixel by rasterization processing. In the rasterizing process, PDL commands are analyzed, and image data of each color of C (cyan), M (magenta), Y (yellow), and K (black) is generated for each image unit to be drawn (this is called an object). To do. That is, a pixel is assigned to an object to be drawn, and a data value is set for each assigned pixel.

また、コントローラ20は、生成した画像データに必要に応じてアンチエイリアス処理を施す場合がある。例えば、テキストデータ等が入力された場合である。この場合、コントローラ20はアンチエイリアス処理が施されたことを示す制御信号を生成し、アンチエイリアス処理された画像に付帯して画像処理部10に出力する。
なお、本実施形態ではコントローラ20をMFP100内に内蔵する構成を説明したが、コントローラ20をMFP100外部に設ける構成であってもよい。
Further, the controller 20 may perform anti-aliasing processing on the generated image data as necessary. For example, when text data or the like is input. In this case, the controller 20 generates a control signal indicating that the antialiasing process has been performed, and outputs the control signal to the image processing unit 10 along with the antialiased image.
In the present embodiment, the configuration in which the controller 20 is built in the MFP 100 has been described. However, the controller 20 may be provided outside the MFP 100.

制御部11は、CPU(Central Processing Unit)、RAM(Random Access Memory)等を備えて構成されており、記憶部15に記憶されている各種処理プログラムとの協働によって各種演算を行ったり、MFP100の各部を集中制御したりする。   The control unit 11 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), and the like. The control unit 11 performs various calculations in cooperation with various processing programs stored in the storage unit 15, and the MFP 100. Central control of each part.

読取部12は、光学系やCCD(Charge Coupled Device)を有するスキャナを備え、原稿を光走査して画像信号(アナログ信号)を生成する。生成された画像信号は、図示しない処理部において各種補正処理が施された後、デジタル変換されて画像処理部10に出力される。   The reading unit 12 includes a scanner having an optical system and a CCD (Charge Coupled Device), and generates an image signal (analog signal) by optically scanning the document. The generated image signal is subjected to various correction processes in a processing unit (not shown), then digitally converted and output to the image processing unit 10.

操作部13は、オペレータの操作指示を入力するためのものであり、各種キーや表示部14と一体に構成されるタッチパネル等を備えて構成されている。操作部13は、操作に応じた操作信号を生成して制御部11に出力する。
表示部14は、制御部11の制御に従ってディスプレイ上に操作画面等を表示する。
記憶部15は、各種処理プログラムの他、処理に必要なパラメータや設定データ等を記憶している。
画像メモリ16は、画像のデータを記憶するためのメモリである。
The operation unit 13 is used to input an operator's operation instruction, and includes various keys and a touch panel configured integrally with the display unit 14. The operation unit 13 generates an operation signal corresponding to the operation and outputs the operation signal to the control unit 11.
The display unit 14 displays an operation screen or the like on the display according to the control of the control unit 11.
The storage unit 15 stores parameters and setting data necessary for processing in addition to various processing programs.
The image memory 16 is a memory for storing image data.

印刷装置17は、画像処理部10から入力される印刷用の画像に基づいて印刷を行う。印刷用の画像とは、コントローラ20によって生成された画像に、画像処理部10が必要な画像処理を施して生成したものである。
印刷装置17は、電子写真方式による印刷を行い、例えば給紙部、露光部、現像部、定着部等からなる。印刷時には、画像のデータに基づいて露光部が感光ドラム上にレーザ光を照射して静電潜像を形成する。そして、現像部により現像してトナー像を形成すると、これを給紙部から給紙された用紙上に転写させ、定着部により用紙への定着を行う。
The printing device 17 performs printing based on the printing image input from the image processing unit 10. The image for printing is an image generated by the image processing unit 10 performing necessary image processing on the image generated by the controller 20.
The printing device 17 performs electrophotographic printing, and includes, for example, a paper feeding unit, an exposure unit, a developing unit, and a fixing unit. At the time of printing, the exposure unit irradiates the photosensitive drum with laser light based on the image data to form an electrostatic latent image. Then, when the toner image is formed by developing by the developing unit, the toner image is transferred onto the paper fed from the paper feeding unit, and fixed on the paper by the fixing unit.

次に、図2を参照して画像処理部10について説明する。
コントローラ20から入力された画像は、一旦画像メモリ16に保存され、印刷指示があると画像メモリ16から読み出されて印刷装置17へと出力される。
画像処理部10は、画像を画像メモリ16に保存するにあたって、当該画像に圧縮処理を施すとともに低解像度への解像度変換を行う。一方、画像メモリ16から読み出された画像に対し、伸張処理を施すとともに、元の解像度へ戻す解像度変換を行う。その後、画像の回転、縮小拡大、濃度補正処理、スクリーン処理等の画像処理を施し、印刷用の画像を生成して印刷装置17に出力する。
Next, the image processing unit 10 will be described with reference to FIG.
The image input from the controller 20 is temporarily stored in the image memory 16, and when there is a print instruction, the image is read from the image memory 16 and output to the printing device 17.
When the image processing unit 10 stores the image in the image memory 16, the image processing unit 10 performs compression processing on the image and performs resolution conversion to a low resolution. On the other hand, the image read from the image memory 16 is subjected to expansion processing and resolution conversion to restore the original resolution. Thereafter, image processing such as image rotation, reduction / enlargement, density correction processing, and screen processing is performed, and an image for printing is generated and output to the printing apparatus 17.

図2は、圧縮処理又は伸張処理時に主に機能する構成部分である、画像圧縮変換部1、画像伸張変換部2を示す図である。画像圧縮変換部1、画像伸張変換部2は、画像の処理回路や画像のデータを保持するラインメモリ等から構成されている。   FIG. 2 is a diagram showing an image compression conversion unit 1 and an image expansion conversion unit 2 which are components that mainly function during compression processing or expansion processing. The image compression conversion unit 1 and the image expansion conversion unit 2 are composed of an image processing circuit, a line memory for holding image data, and the like.

〈圧縮処理〉
図3を参照して、圧縮処理時の画像圧縮変換部1の処理の流れを説明する。ここでは、図4に示すようにCMYKの各色につき生成された、解像度1200dpi、1画素8bitのデータからなる元画像を、1画素4bitのデータに圧縮するとともに600dpiに解像度変換した処理画像を生成する例を説明する。なお、圧縮は8×8画素のブロック単位で行うので、図4では8×8画素(1200dpi)の元画像と、その領域に対応する4×4画素(600dpi)に対応する処理画像を示している。
<Compression processing>
With reference to FIG. 3, the flow of processing of the image compression conversion unit 1 during compression processing will be described. Here, as shown in FIG. 4, a processed image generated for each color of CMYK, which is compressed from 1200 dpi of 1 pixel and 8 bits of data into data of 4 bits of 1 pixel and converted to 600 dpi, is generated. An example will be described. Since compression is performed in units of 8 × 8 pixels, FIG. 4 shows an original image of 8 × 8 pixels (1200 dpi) and a processed image corresponding to 4 × 4 pixels (600 dpi) corresponding to the area. Yes.

図5に、図4の処理画像(600dpi、4bit、4×4画素)のデータ構成を示す。
図5に示すように、処理画像は1画素につき4bitのデータからなり、画像圧縮変換部1や画像伸張変換部2で用いられるラインメモリや画像メモリ16ではこの処理画像を保持するための領域が形成されることとなる。つまり、1画素1bitで4×4画素分のデータ層(プレーンという)が4つ形成されることとなる。
FIG. 5 shows the data structure of the processed image (600 dpi, 4 bits, 4 × 4 pixels) in FIG.
As shown in FIG. 5, the processed image is composed of 4-bit data per pixel, and the line memory and the image memory 16 used in the image compression conversion unit 1 and the image expansion conversion unit 2 have areas for holding the processed image. Will be formed. That is, four data layers (referred to as planes) corresponding to 4 × 4 pixels are formed with 1 bit per pixel.

図5に示すように、0〜1bit目のデータ層では処理画像の2bitのデータ値BTC(bij)が保持される。この0〜1bit目のデータ層はBTCプレーンという。
2bit目のデータ層では、識別フラグの1bitのデータ値flag(bij)が保持される。識別フラグとは復号化の方法を識別するために用いられる識別データである。この2bit目のデータ層は識別プレーンという。
As shown in FIG. 5, the 2-bit data value BTC (bij) of the processed image is held in the 0th to 1st bit data layers. This 0th to 1st bit data layer is called a BTC plane.
In the second bit data layer, the 1-bit data value flag (bij) of the identification flag is held. The identification flag is identification data used for identifying a decoding method. This second bit data layer is called an identification plane.

3bit目のデータ層では、元画像の8×8画素のブロックにおける最大値及び最小値(何れも8bit)を保持する。図5では、最大値をMax(k)、最小値をmin(k)(kはビット位置を示す。0≦k≦7)で示している。8bitのデータ値は、最大値、最小値のそれぞれに定められた2×4画素のうち、ビット位置によってkによって定められた位置に保持される。この3bit目のデータ層は差分プレーンという。   In the data layer of the third bit, the maximum value and the minimum value (both 8 bits) in the 8 × 8 pixel block of the original image are held. In FIG. 5, the maximum value is represented by Max (k), and the minimum value is represented by min (k) (k represents a bit position, 0 ≦ k ≦ 7). The 8-bit data value is held at a position determined by k according to the bit position in 2 × 4 pixels determined for the maximum value and the minimum value. This third bit data layer is called a difference plane.

コントローラ20から処理する元画像が入力されると、図3に示すように画像圧縮変換部1は、当該画像とともにアンチエイリアス処理したことを示す制御信号が入力されたか否かを判断する(ステップE1)。画像のみ入力された場合(ステップE1;N)、画像圧縮変換部1は当該画像に対し標準縮退圧縮による圧縮処理を施す(ステップE2)。これに対し、画像とともにアンチエイリアス処理した制御信号が入力されている場合には(ステップE1;Y)、アンチエイリアス処理された画像用の圧縮処理である、2値化縮退圧縮による圧縮処理に切り替えて、入力された画像に圧縮処理を施す(ステップE3)。   When the original image to be processed is input from the controller 20, as shown in FIG. 3, the image compression conversion unit 1 determines whether or not a control signal indicating that the antialiasing processing is performed together with the image (step E1). . When only an image is input (step E1; N), the image compression conversion unit 1 performs compression processing by standard compression on the image (step E2). In contrast, when an antialiased control signal is input together with the image (step E1; Y), switching to the compression processing by binarized compression that is the compression processing for the antialiased image, The input image is compressed (step E3).

先に、図6を参照して、標準縮退圧縮による圧縮処理について説明する。
図6に示すように、画像圧縮変換部1は入力された画像(1200dpi、8bit)から8×8画素のブロック単位で画像を抽出し、入力する(ステップS1)。そして、当該ブロック内の画素が持つデータ値のうち最大値Maxと最小値minを取得する(ステップS2)。画素が持つデータ値は印刷後の濃度値を示すので、Maxは8×8画素の中での最大濃度値、minは最小濃度値となる。
First, with reference to FIG. 6, a compression process using standard compression will be described.
As shown in FIG. 6, the image compression conversion unit 1 extracts and inputs an image in units of 8 × 8 pixel blocks from the input image (1200 dpi, 8 bits) (step S1). Then, the maximum value Max and the minimum value min are acquired from the data values of the pixels in the block (step S2). Since the data value of the pixel indicates the density value after printing, Max is the maximum density value in 8 × 8 pixels, and min is the minimum density value.

図4に示す例では、元画像(1200dpi、8bit)の8×8画素の各画素をaij(0≦i≦7、0≦j≦7)、処理画像(600dpi、4bit)の4×4画素の各画素をbij(0≦i≦3、0≦j≦3)で表している。以下、aij、bijの画素が持つデータ値をaij、bijで示す場合がある。元画像においてMaxはaijの中の最大値、minは最小値であり、元画像におけるMax、minは処理画像のMax、minでもある。   In the example shown in FIG. 4, each pixel of 8 × 8 pixels of the original image (1200 dpi, 8 bits) is represented by aij (0 ≦ i ≦ 7, 0 ≦ j ≦ 7), and 4 × 4 pixels of the processed image (600 dpi, 4 bits). Each pixel is represented by bij (0 ≦ i ≦ 3, 0 ≦ j ≦ 3). Hereinafter, the data values of the pixels aij and bij may be indicated by aij and bij. In the original image, Max is the maximum value in aij and min is the minimum value. Max and min in the original image are also Max and min in the processed image.

次いで、量子化を行うが、各画素が中間調領域の画素であるか、高解像度領域の画素であるかによって、異なる量子化の方法をとる。中間調領域とは、高解像度の維持が特に必要ない画像領域をいい、例えば中間調の濃度を持つ画像部分や、中間調でなくとも隣接画素間の濃度が同程度(濃度差が小さい)の画像部分等をいう。高解像度領域とは、高解像度の維持が必要な画像部分をいい、例えばオブジェクトのエッジ部分や細線構造、孤立点等の画像部分をいう。高解像度領域では階調よりも解像度が重要視されるのに対し、中間調領域では解像度よりも階調が重要視される。このように画像の特性によって求められる画質が異なるため、画像を高解像度領域と中間調領域に分け、それぞれ別の方法により量子化を行う。   Next, quantization is performed. Different quantization methods are used depending on whether each pixel is a pixel in a halftone area or a pixel in a high resolution area. A halftone area is an image area that does not need to maintain a high resolution. For example, an image portion having a halftone density or a density between adjacent pixels that is not halftone (the density difference is small). This refers to the image part. The high resolution region refers to an image portion that needs to maintain high resolution, for example, an image portion such as an edge portion of an object, a thin line structure, or an isolated point. In the high resolution area, the resolution is more important than the gradation, whereas in the halftone area, the gradation is more important than the resolution. Since the required image quality varies depending on the characteristics of the image as described above, the image is divided into a high resolution area and a halftone area, and quantization is performed by different methods.

そのため、画像圧縮変換部1は、元画像において中間調条件を満たすか、高解像度条件を満たすかを判断することにより、中間調領域の画素であるか、高解像度領域の画素であるかを判断する。判断は、8×8画素の元画像aijを2×2画素単位(処理画像の1画素bijにあたる)に小分けした小領域単位で行う。また、判断するにあたり下記式により表される閾値THa1〜THa3を算出して用いる。
THa1=min+(Max-min)×1/6
THa2=min+(Max-min)×3/6
THa3=min+(Max-min)×5/6
Therefore, the image compression conversion unit 1 determines whether the pixel is a halftone area pixel or a high resolution area pixel by determining whether the halftone condition or the high resolution condition is satisfied in the original image. To do. The determination is made in units of small areas obtained by subdividing the original image aij of 8 × 8 pixels into units of 2 × 2 pixels (corresponding to 1 pixel bij of the processed image). Further, thresholds THa1 to THa3 represented by the following formula are calculated and used for the determination.
THa1 = min + (Max-min) × 1/6
THa2 = min + (Max-min) × 3/6
THa3 = min + (Max-min) × 5/6

そして、2×2画素単位で下記の中間調条件(D11)〜(D14)の何れかを満たすかどうかを判断し、満たす場合には2×2画素のaijは中間調領域の画素であると判断する。
(D11)4つの画素aijのうち、THa1<aij≦THa3となる画素が1つでもある場合
(D12)4つの画素aijの全てが、aij≦THa1を満たす場合
(D13)4つの画素aijの全てが、aij>THa3を満たす場合
(D14)Max-min<T(0≦T≦255)を満たす場合
TはMaxとminの差、つまり8×8画素の領域内での濃度差が小さいかどうかを判断するため設定された閾値である。例えば、T=30等の値を設定することができる。
この中間調条件(D11)〜(D14)により、2×2画素のaijの領域において、中間調の濃度を有するか、濃度値が全て最大値或いは最小値付近であり、同程度の濃度を有するか又は濃度変化が小さいかを判断することができる。
Then, it is determined whether or not any of the following halftone conditions (D11) to (D14) is satisfied in units of 2 × 2 pixels, and if it is satisfied, aij of 2 × 2 pixels is a pixel in the halftone area. to decide.
(D11) Among the four pixels aij, when at least one pixel satisfies THa1 <aij ≦ THa3 (D12) When all four pixels aij satisfy aij ≦ THa1 (D13) All four pixels aij When aij> THa3 is satisfied (D14) When Max-min <T (0 ≦ T ≦ 255) is satisfied
T is a threshold value set to determine whether the difference between Max and min, that is, whether the density difference in the 8 × 8 pixel region is small. For example, a value such as T = 30 can be set.
According to the halftone conditions (D11) to (D14), the aij area of 2 × 2 pixels has a halftone density, or the density values are all near the maximum value or the minimum value and have the same density. Or whether the change in density is small.

一方、下記の高解像度条件(B1)を満たす場合、2×2画素のaijは高解像領域の画素であると判断する。
(B1)4つの画素aijにおいて、aij≦THa1を満たす画素と、aij>THa3を満たす画素が混在している場合
つまり、高解像度条件(B1)により、2×2画素のaijの領域において濃度変化が大きい高解像度領域かどうかを判断することができる。
On the other hand, when the following high resolution condition (B1) is satisfied, it is determined that aij of 2 × 2 pixels is a pixel in the high resolution region.
(B1) In the four pixels aij, a pixel satisfying aij ≦ THa1 and a pixel satisfying aij> THa3 are mixed. That is, the density change in the aij area of 2 × 2 pixels due to the high resolution condition (B1) It can be determined whether or not is a high-resolution area.

処理の流れとしては、図6に示すようにまず(Max-min)<Tを満たすかどうかを判断し(ステップS3)、満たす場合には(ステップS3;Y)、上記中間調条件(D14)を満たすとして、中間調領域に応じた量子化を行う中間調条件処理に移行する(ステップS9)。(Max-min)<Tを満たさない場合であっても(ステップS3;N)、閾値THa1〜THa3を算出したうえで(ステップS4)、2×2画素のaijを処理対象とし(ステップS5)、上記中間調条件(D11)〜(D13)を満たすかどうかを判断する(ステップS6〜S8)。   As shown in FIG. 6, first, it is determined whether or not (Max-min) <T is satisfied (step S3). If it is satisfied (step S3; Y), the halftone condition (D14) is satisfied. If satisfied, the process proceeds to halftone condition processing for performing quantization according to the halftone region (step S9). Even if (Max-min) <T is not satisfied (step S3; N), the thresholds THa1 to THa3 are calculated (step S4), and aij of 2 × 2 pixels is processed (step S5). Then, it is determined whether or not the halftone conditions (D11) to (D13) are satisfied (steps S6 to S8).

例えば、図4の元画像のa00、a01、a10、a11に注目した場合、このa00、a01、a10、a11の何れか1つでもTHa1<aij≦THa3を満たす場合(ステップS6;Y)、a00、a01、a10、a11の全てがaij≦THa1を満たす場合(ステップS7;Y)、或いはa00、a01、a10、a11の全てがaij>THa3を満たす場合(ステップS8;Y)、上記中間調条件(D11)〜(D13)を満たすので、中間調条件処理に移行する(ステップS9)。   For example, when attention is paid to a00, a01, a10, a11 in the original image in FIG. 4, if any one of a00, a01, a10, a11 satisfies THa1 <aij ≦ THa3 (step S6; Y), a00 , A01, a10, a11 all satisfy aij ≦ THa1 (step S7; Y), or all a00, a01, a10, a11 satisfy aij> THa3 (step S8; Y), the above halftone condition Since (D11) to (D13) are satisfied, the process proceeds to halftone condition processing (step S9).

一方、中間調条件(D11)〜(D13)の何れも満たさない場合(ステップS6;N、S7;N、S8;N)、すなわち上記例でいえばa00、a01、a10、a11においてaij≦THa1を満たすものと、aij>THa3を満たすものが混在する場合には、高解像度条件(B1)を満たすとして、高解像度領域に応じた量子化を行う高解像度条件処理に移行する(ステップS10)。   On the other hand, when none of the halftone conditions (D11) to (D13) is satisfied (step S6; N, S7; N, S8; N), that is, in the above example, aij ≦ THa1 in a00, a01, a10, a11 If there is a mixture satisfying the above condition and a condition satisfying aij> THa3, it is determined that the high resolution condition (B1) is satisfied, and the process proceeds to a high resolution condition process for performing quantization according to the high resolution region (step S10).

図7を参照して、中間調条件処理を説明する。
図7に示すように、中間調条件を満たす2×2画素のaijについては、BTC方式による量子化を行う。まず、2×2画素のaijのデータ値を平均した平均値avr(bij)を算出する(ステップS91)。a00、a01、a10、a11の例でいえば、avr(b00)=1/4(a00+a01+a10+a11)である。次いで、閾値THa1、THa2、THa3を用いて8bitの平均値avr(bij)
を00、01、10、11の2bitのデータ値BTC(bij)に量子化する。量子化したデータ値BTC(bij)はBTCプレーンに保持させる(ステップS92)。
The halftone condition process will be described with reference to FIG.
As shown in FIG. 7, 2 × 2 pixel aij satisfying the halftone condition is quantized by the BTC method. First, an average value avr (bij) obtained by averaging the data values of aij of 2 × 2 pixels is calculated (step S91). In the examples of a00, a01, a10, and a11, avr (b00) = 1/4 (a00 + a01 + a10 + a11). Next, the average value avr (bij) of 8 bits using threshold values THa1, THa2, THa3
Are quantized into 2-bit data values BTC (bij) of 00, 01, 10, and 11. The quantized data value BTC (bij) is held in the BTC plane (step S92).

量子化は次の条件に従って行う。
min≦avr(bij)<THa1のとき、BTC(bij)=00
THa1≦avr(bij)<THa2のとき、BTC(bij)=01
THa2≦avr(bij)<THa3のとき、BTC(bij)=10
THa3≦avr(bij)≦Maxのとき、BTC(bij)=11
すなわち、図8に示すように、BTC圧縮方式により、Max、min、THa1〜THa3で定められる濃度範囲の何れに属するかによって4つのデータ値に量子化される。この2bitのデータ値BTC(bij)が処理画像の1画素bijのデータ値となる。
また、平均化した後、量子化することにより、量子化とともに解像度変換を行っている。
The quantization is performed according to the following conditions.
When min ≦ avr (bij) <THa1, BTC (bij) = 00
When THa1 ≦ avr (bij) <THa2, BTC (bij) = 01
When THa2 ≦ avr (bij) <THa3, BTC (bij) = 10
When THa3 ≦ avr (bij) ≦ Max, BTC (bij) = 11
That is, as shown in FIG. 8, four data values are quantized according to which of the density ranges defined by Max, min, and THa1 to THa3 by the BTC compression method. This 2-bit data value BTC (bij) becomes the data value of one pixel bij of the processed image.
In addition, after averaging, quantization is performed to perform resolution conversion together with quantization.

次いで、画像圧縮変換部1は、元画像の2×2画素のaijに対応する処理画像のbijの識別フラグのデータ値flag(bij)を、flag(bij)=0に設定する。そして、識別プレーン(図5参照)のbijに対応する位置に保持させる(ステップS93)。次いで、差分プレーン(図5参照)のbijに対応する位置に、Max又はminのデータ値のうちbijに対応するビット位置の1bitを保持させる(ステップS94)。
例えば、b00の画素については、識別プレーンのflag(b00)の位置に0のデータ値を保持させるとともに、差分プレーンのb00に対応する位置にminの7bit目のデータ値を保持させる。
以上の処理を終えると、図6のステップS11に移行する。
Next, the image compression conversion unit 1 sets the data value flag (bij) of the identification flag of bij of the processed image corresponding to 2ij pixels aij of the original image to flag (bij) = 0. Then, it is held at a position corresponding to bij of the identification plane (see FIG. 5) (step S93). Next, 1 bit of the bit position corresponding to bij is stored in the position corresponding to bij of the difference plane (see FIG. 5) (step S94).
For example, for the pixel of b00, the data value of 0 is held at the position of flag (b00) of the identification plane, and the data value of the 7th bit of min is held at the position corresponding to b00 of the difference plane.
When the above process is completed, the process proceeds to step S11 in FIG.

次に、図9を参照して高解像度条件処理を説明する。
高解像度条件処理では、画像圧縮変換部1は、2×2画素のaijのデータ値を用いて濃度パターンを作成し、当該濃度パターンに応じて量子化を行う。
図9に示すように、画像圧縮変換部1は高解像度条件を満たす2×2画素のaijのデータ値を下記条件に従って0、1の値に2値化し、濃度パターンを作成する(ステップS101)。
aij>THa3のとき、aij=1
aij≦THa1のとき、aij=0
Next, the high resolution condition processing will be described with reference to FIG.
In the high resolution condition processing, the image compression conversion unit 1 creates a density pattern using aij data values of 2 × 2 pixels, and performs quantization according to the density pattern.
As shown in FIG. 9, the image compression conversion unit 1 binarizes the 2 × 2 pixel aij data value satisfying the high resolution condition into values of 0 and 1 according to the following conditions to create a density pattern (step S101). .
When aij> THa3, aij = 1
When aij ≦ THa1, aij = 0

高解像度条件を満たす場合、aij=1の画素は最大値Maxに近く、aij=0の画素は最小値minに近いため、2値化した0、1を各画素の位置に設定して作成したパターンは、2×2画素のaijの領域の濃度をパターン化した濃度パターンとなる。
次いで、画像圧縮変換部1は、作成した濃度パターンにより00、01、10、11の4つの2bitのデータ値BTC(bij)に量子化する(ステップS102)。具体的には、予め濃度パターン毎に00、01、10、11の量子化後のデータ値を割り当てておき、2×2画素のaijについて作成した濃度パターンに対応するデータ値に変換することにより、量子化する。
When the high resolution condition is satisfied, the pixel with aij = 1 is close to the maximum value Max, and the pixel with aij = 0 is close to the minimum value min. The pattern is a density pattern obtained by patterning the density of the aij area of 2 × 2 pixels.
Next, the image compression conversion unit 1 quantizes four 2-bit data values BTC (bij) of 00, 01, 10, and 11 according to the created density pattern (step S102). Specifically, data values after quantization of 00, 01, 10, and 11 are assigned in advance for each density pattern, and converted into data values corresponding to the density pattern created for 2 × 2 pixels aij. Quantize.

ここでは、図10に示すようにH0〜H3の4つのグループに濃度パターンを分類し、グループ毎に量子化後のデータ値00、01、10、11を割り当てた例を説明する。
図10に示すように、濃度パターンH0のグループは、2×2画素のaijのうち、aij=1を1つのみ含む場合であり、この場合はBTC(bij)=00に量子化する。
また、濃度パターンH1、H2のグループは、何れもaij=1を2つ含むパターンであるが、図10に示すようにaij=1がどの位置になるかによって濃度パターンH1、H2に分類される。濃度パターンH1に該当する場合はBTC(bij)=01に、濃度パターンH2に該当する場合はBTC(bij)=10に量子化する。
濃度パターンH3のグループは、aij=1を3つ含むパターンであり、BTC(bij)=11に量子化する。
Here, an example will be described in which density patterns are classified into four groups H0 to H3 as shown in FIG. 10 and quantized data values 00, 01, 10, and 11 are assigned to each group.
As shown in FIG. 10, the group of density pattern H0 is a case where only one aij = 1 is included in aij of 2 × 2 pixels. In this case, quantization is performed to BTC (bij) = 00.
The groups of density patterns H1 and H2 are both patterns that include two aij = 1, but are classified into density patterns H1 and H2 depending on where aij = 1 is located as shown in FIG. . If it corresponds to the density pattern H1, it is quantized to BTC (bij) = 01, and if it corresponds to the density pattern H2, it is quantized to BTC (bij) = 10.
The group of density patterns H3 is a pattern including three aij = 1 and is quantized to BTC (bij) = 11.

復号化の際、量子化後のデータ値BTC(bij)から濃度パターンを予測するが、上記のように2×2画素の濃度が同じ(濃度パターンに含まれる0、1の数が同じ)となる濃度パターンを同一グループとして量子化することにより、予測を誤った場合でも2×2画素の小領域内では同一濃度で表すことができる。よって、誤差が生じたとして視覚的には画質劣化として現れにくいという効果がある。
なお、濃度ではなく、濃度パターンにおける0、1の並び位置等によって濃度パターンをグループ分類し、各グループに量子化後のデータ値を割り当てることとしてもよい。
At the time of decoding, the density pattern is predicted from the quantized data value BTC (bij). As described above, the density of 2 × 2 pixels is the same (the number of 0s and 1s included in the density pattern is the same). By quantizing these density patterns as the same group, even if the prediction is wrong, it can be expressed with the same density within a small region of 2 × 2 pixels. Therefore, there is an effect that even if an error occurs, it is difficult to appear visually as image quality degradation.
It should be noted that the density patterns may be classified into groups based on the arrangement positions of 0 and 1 in the density pattern instead of the density, and the quantized data value may be assigned to each group.

以上のように量子化を行うと、画像圧縮変換部1は2×2画素のaijに対応するbijの識別フラグのデータ値flag(bij)を、flag(bij)=1に設定し、図5に示す識別プレーンに保持させる(ステップS103)。また、図5に示す差分プレーンのbijに対応する位置に、Max又はminの8bitのデータ値のうちbijに対応するビット位置の1bitを保持させる(ステップS104)。
以上の処理を終えると、図6のステップS11に移行する。
When quantization is performed as described above, the image compression conversion unit 1 sets the data value flag (bij) of the identification flag of bij corresponding to aij of 2 × 2 pixels to flag (bij) = 1, and FIG. (Step S103). Further, 1 bit of the bit position corresponding to bij is held among the 8-bit data values of Max or min at the position corresponding to bij of the difference plane shown in FIG. 5 (step S104).
When the above process is completed, the process proceeds to step S11 in FIG.

図6のステップS11の処理から説明を続ける。
ステップS11では、中間調条件処理又は高解像度条件処理を経て得た、4×4画素のbijの処理画像(600dpi、4bit)を画像メモリ16に出力する。
次いで、元画像の8×8画素のaijのブロック内全てについて中間調条件処理又は高解像度条件処理を終えたかどうかを判断する(ステップS12)。まだ処理途中である場合は(ステップS12;N)、ステップS5に戻り、8×8画素のaijのブロック内において、他の未処理の2×2画素のaijについてステップS1〜S12の処理を繰り返す。
The description will be continued from the processing of step S11 in FIG.
In step S <b> 11, a 4 × 4 pixel bij processed image (600 dpi, 4 bits) obtained through the halftone condition process or the high resolution condition process is output to the image memory 16.
Next, it is determined whether halftone condition processing or high resolution condition processing has been completed for all of the 8 × 8 pixel aij blocks of the original image (step S12). If the process is still in progress (step S12; N), the process returns to step S5, and the processes of steps S1 to S12 are repeated for the other unprocessed 2 × 2 pixel aij in the 8 × 8 pixel aij block. .

一方、8×8画素のaijのブロック内全てについて処理を終えている場合(ステップS12;Y)、元画像の終端まで処理を終えたかどうかを判断し(ステップS13)、終えていない場合(ステップS13;N)、ステップS1の処理へ戻り、元画像において他の未処理の8×8画素のaijのブロックについてステップS1〜S13の処理を繰り返す。そして、元画像の終端まで処理を終えると(ステップS13;Y)、本処理を終了する。   On the other hand, if the processing has been completed for all the 8 × 8 pixel aij blocks (step S12; Y), it is determined whether the processing has been completed up to the end of the original image (step S13). S13; N), returning to the process of step S1, the processes of steps S1 to S13 are repeated for other unprocessed 8 × 8 pixel aij blocks in the original image. Then, when the process is finished up to the end of the original image (step S13; Y), this process is finished.

次に、図11を参照して、2値化縮退圧縮による圧縮処理について説明する。
画像にアンチエイリアス処理が施されている場合、当該アンチエイリアス処理が施された画像領域は、文字等のエッジ部分であるにも拘わらず、中間調の濃度を持つ領域が含まれるため、上述の標準縮退圧縮による圧縮処理を適用すると中間調領域であると判断されて中間調条件処理により、平均化される場合が考えられる。この場合、エッジ部分の鮮鋭性が低下し、スクリーン処理等によってジャギーが生じることとなる。このような結果を回避するため、画像圧縮変換部1はアンチエイリアス処理が施されたことを示す制御信号が入力された場合、アンチエイリアス処理された画像用に後述の2値化縮退圧縮による圧縮処理に切り替える。
Next, with reference to FIG. 11, compression processing by binarized compression will be described.
When the image is subjected to anti-aliasing processing, the image region subjected to the anti-aliasing processing includes an area having a halftone density even though it is an edge portion of a character or the like. When compression processing by compression is applied, it may be determined that the region is a halftone region and averaged by halftone condition processing. In this case, the sharpness of the edge portion is lowered, and jaggy is generated by screen processing or the like. In order to avoid such a result, when a control signal indicating that antialiasing processing has been performed is input to the image compression conversion unit 1, the image compression conversion unit 1 performs compression processing by binarized compression compression described later for the antialiased image. Switch.

2値化縮退圧縮による圧縮処理では図11に示すように、画像圧縮変換部1はコントローラ20から入力された画像(1200dpi、8bit)から8×8画素のブロック単位で画像を抽出し、入力する(ステップT1)。そして、当該ブロック内の画素が持つデータ値のうち最大値Maxと最小値minを取得し(ステップT2)、このMax、minを用いて閾値THa1、THa2、THa3を算出する(ステップT3)。算出方法は、標準縮退圧縮で説明した方法と同一であるので、ここでは説明を省略する。   As shown in FIG. 11, in the compression processing by binarized compression, the image compression conversion unit 1 extracts an image in units of 8 × 8 pixel blocks from the image (1200 dpi, 8 bits) input from the controller 20 and inputs it. (Step T1). Then, the maximum value Max and the minimum value min among the data values of the pixels in the block are acquired (step T2), and thresholds THa1, THa2, THa3 are calculated using the Max, min (step T3). Since the calculation method is the same as the method described in the standard degeneracy compression, the description is omitted here.

次いで、画像圧縮変換部1は8×8画素のaijを処理対象として量子化を行うが、下記の各条件を満たす領域についてはそれぞれ異なる量子化の方法をとる。
各条件について説明する。
8×8画素の処理領域について、下記の条件(D12)を満たす場合、当該処理領域については中間調領域に対する量子化方法と同様の方法で量子化する。
(D12)(Max-min)≦Tを満たす
閾値Tは、8×8画素のaijの領域について濃度差が小さいか大きいかを判断するための第1閾値である。閾値Tは適宜設定可能であり、例えばT=30等に設定することができる。
Next, the image compression conversion unit 1 performs quantization using aij of 8 × 8 pixels as a processing target, but different quantization methods are used for regions that satisfy the following conditions.
Each condition will be described.
When the following condition (D12) is satisfied for the 8 × 8 pixel processing region, the processing region is quantized by the same method as the quantization method for the halftone region.
(D12) The threshold value T satisfying (Max-min) ≦ T is a first threshold value for determining whether the density difference is small or large for the aij area of 8 × 8 pixels. The threshold T can be set as appropriate. For example, T = 30 can be set.

また、下記の条件(B2)を満たす場合、2×2画素の処理領域については高解像度領域に対する量子化方法と同様の方法で量子化する。
(B2)8×8画素の処理領域について(Max-min)>Tであり、かつ8×8画素のaijのうち2×2画素の4つの画素aijにおいて、aij≦THa1を満たす画素と、aij>THa1を満たす画素が混在している場合
When the following condition (B2) is satisfied, the 2 × 2 pixel processing region is quantized by the same method as the quantization method for the high resolution region.
(B2) For a processing region of 8 × 8 pixels (Max-min)> T, and among the 4 × 2 pixels aij of 8 × 8 pixels, aij satisfying aij ≦ THa1, When there are pixels that satisfy> THa1

また、下記の条件(C)を満たす場合には、2×2画素の処理領域を第2閾値である閾値THa1を用いてBTC方式により量子化する。
(C)8×8画素の処理領域について(Max-min)>Tであり、かつ8×8画素のaijのうち2×2画素の4つの画素aijの全てが、aij≦THa1又はaij>THa1の何れかである場合
When the following condition (C) is satisfied, the 2 × 2 pixel processing region is quantized by the BTC method using the threshold value THa1 that is the second threshold value.
(C) For a processing region of 8 × 8 pixels, (Max-min)> T, and all of four pixels aij of 2 × 2 pixels out of aij of 8 × 8 pixels are aij ≦ THa1 or aij> THa1 If any of

条件(C)においては、第2閾値として他の閾値THa2や閾値THa3を用いることとしてもよい。条件(C)を満たす領域については、第2閾値を用いて2値に量子化し、伸張により量子化データ値をminかMaxの2値に復号するので、小さい閾値を用いた方が復号値Maxを出力しやすい設計とすることができる。文字等のエッジには細線も含まれ、細線についてエッジ部分でminに復号される画素が多いと、より細線化されて文字等の画像が欠損する場合があるので、このような場合を考慮すると、第2閾値としては小さい閾値を用いることが好ましい。   In the condition (C), another threshold value THa2 or threshold value THa3 may be used as the second threshold value. For the region that satisfies the condition (C), the second threshold value is used to quantize the binary value, and the decompressed data value is decoded into binary values of min or max. Can be designed to output easily. The edges of characters and the like also include fine lines, and if there are many pixels that are decoded to min at the edge part of the fine lines, there are cases where images such as characters are lost due to further thinning, so considering this case It is preferable to use a small threshold as the second threshold.

すなわち、条件(B2)及び条件(C)を満たす領域については、伸張後のデータ値が2値化されるように量子化を行う。アンチエイリアス処理は文字線画等のオブジェクトのエッジに施されるので、このようなエッジを含む画像領域は上記条件(B2)か、或いは上記条件(C)を満たすと考えられる。よって、上記条件(B2)を満たす領域又は上記条件(C)を満たす領域を、アンチエイリアス処理された領域を含む画像領域として、当該画像領域については伸張後のデータ値を2値とする量子化を行うことにより、エッジのボケやジャギー発生の防止を図る。   That is, for the region satisfying the condition (B2) and the condition (C), quantization is performed so that the decompressed data value is binarized. Since anti-aliasing is applied to the edge of an object such as a character line drawing, it is considered that an image area including such an edge satisfies the above condition (B2) or the above condition (C). Therefore, the region satisfying the condition (B2) or the region satisfying the condition (C) is defined as an image region including an anti-aliased region, and the image data is subjected to quantization with a binary data value after expansion. By doing so, edge blurring and jaggy generation are prevented.

具体的に説明すると、8×8画素のaijの領域にエッジが含まれているとMax-minの濃度差が大きくなるので、これを閾値Tにより判断する。また、エッジ部分は基本的に隣接画素間の濃度差が比較的大きいと考えられ、アンチエイリアス処理されたエッジ部分では隣接する画素間の濃度差が小さいと考えられる。よって、8×8画素のうち2×2画素の処理領域に注目し、処理領域の中でも2×2画素の全ての濃度が閾値THa1より高濃度又は閾値THa1より低濃度である場合、つまり同程度の濃度の画素が隣接している領域についてはアンチエイリアス処理されたエッジ部分を含み、閾値THa1より高濃度の画素と、閾値THa1より低濃度の画素とが混在する場合にはエッジ部分を含む領域であると考えられるので、これら領域については伸張後のデータ値が2値となるように量子化を行う。   More specifically, if an edge is included in an aij area of 8 × 8 pixels, the Max-min density difference increases, and this is determined by the threshold value T. Further, it is considered that the edge portion basically has a relatively large density difference between adjacent pixels, and the anti-aliased edge portion has a small density difference between adjacent pixels. Therefore, paying attention to the processing area of 2 × 2 pixels out of 8 × 8 pixels, and all the densities of 2 × 2 pixels in the processing area are higher than the threshold THa1 or lower than the threshold THa1, that is, the same level. In the region where pixels with the same density are adjacent, include the antialiased edge portion, and when pixels with higher density than the threshold THa1 and pixels with lower density than the threshold THa1 coexist, Since these are considered to be present, the quantization is performed on these areas so that the decompressed data value is binary.

処理の流れとしては、図11に示すように(Max-min)>Tを満たすか否かを判断し(ステップT4)、満たさない、つまり(Max-min)≦Tである場合には(ステップT4;N)、当該8×8画素のaijについて中間調領域と同様に中間調条件処理を実行し、圧縮及び解像度変換を行う(ステップT5)。なお、中間調条件処理の内容は図7を参照して説明した標準縮退圧縮の場合と同様であるので、説明は省略する。   As shown in FIG. 11, it is determined whether or not (Max-min)> T is satisfied as shown in FIG. 11 (step T4). If not (ie, (Max-min) ≦ T) (step T4; N), halftone condition processing is executed for the 8 × 8 pixel aij in the same manner as the halftone region, and compression and resolution conversion are performed (step T5). The contents of the halftone condition process are the same as in the case of the standard degeneration compression described with reference to FIG.

一方、(Max-min)>Tを満たす場合(ステップT4;Y)、2×2画素のaijの4画素全てについて、aij≦THa1又はaij>THa1を満たすかどうかを判断する(ステップT6)。満たす場合(ステップT6;Y)、当該2×2画素の処理領域を、アンチエイリアス処理された領域を含む画像領域とし、1つの閾値THa1のみを用いて2×2画素のaijをBTC方式により、00、11の2つの2bitのデータ値BTC(bij)に量子化する。具体的には、4画素全てがaij≦THa1を満たす場合にはこの4画素のaijに対応する1画素のbijのデータ値BTC(bij)を00とし、4画素全てがaij>THa1を満たす場合には11とする。これにより、量子化を行うとともに解像度変換を行っている。
つまり、図12に示すように、条件(D12)を満たす領域については中間調領域と同様にTHa1〜THa3の3つの閾値を用いて4値に量子化するのに対し、条件(C)を満たす領域については1つの閾値THa1を用いて2値に量子化する。量子化後のデータ値BTC(bij)はBTCプレーン(図5参照)のbijに対応する位置に保持させる(ステップT7)。
On the other hand, if (Max-min)> T is satisfied (step T4; Y), it is determined whether or not aij ≦ THa1 or aij> THa1 is satisfied for all four pixels aij of 2 × 2 pixels (step T6). If satisfied (step T6; Y), the processing region of 2 × 2 pixels is set as an image region including the antialiased region, and aij of 2 × 2 pixels is converted into 00 using only one threshold THa1 according to the BTC method. , 11 are quantized into two 2-bit data values BTC (bij). Specifically, when all four pixels satisfy aij ≦ THa1, the data value BTC (bij) of one pixel corresponding to aij of four pixels is set to 00, and all four pixels satisfy aij> THa1 11 Thereby, quantization and resolution conversion are performed.
That is, as shown in FIG. 12, the region satisfying the condition (D12) is quantized into four values using three threshold values THa1 to THa3 as in the halftone region, whereas the condition (C) is satisfied. The region is quantized into a binary value using one threshold THa1. The quantized data value BTC (bij) is held at a position corresponding to bij of the BTC plane (see FIG. 5) (step T7).

次に、画像圧縮変換部1は、識別フラグflag(bij)を中間調領域の場合と同様にflag(bij)=0に設定する。これは、識別フラグflag(bij)が量子化方法に応じた復号化方法を判別するために用いられ、条件(C)を満たす領域は中間調領域と同様にBTC方式による復号方法によって復号するからである。ここでは便宜上そのような構成としたが、条件(C)を満たす領域に固有の識別フラグflag(bij)のデータ値を設定し、そのデータ値に対応する復号方法をとる構成としてもよい。
設定した識別フラグflag(bij)のデータ値は、識別プレーン(図5参照)のbijに対応する位置に保持させる(ステップT8)。
Next, the image compression conversion unit 1 sets the identification flag flag (bij) to flag (bij) = 0 similarly to the case of the halftone region. This is because the identification flag flag (bij) is used to determine the decoding method according to the quantization method, and the region satisfying the condition (C) is decoded by the decoding method according to the BTC method similarly to the halftone region. It is. Here, such a configuration is used for convenience, but a configuration may be adopted in which a data value of an identification flag flag (bij) unique to an area satisfying the condition (C) is set and a decoding method corresponding to the data value is taken.
The data value of the set identification flag flag (bij) is held at a position corresponding to bij on the identification plane (see FIG. 5) (step T8).

次いで、画像圧縮変換部1は、差分プレーン(図5参照)のbijに対応する位置に、Max又はminのデータ値のうちbijに対応するビット位置の1bitを保持させる(ステップT9)。それが終了すると、ステップT11の処理へ移行する。   Next, the image compression conversion unit 1 holds 1 bit of the bit position corresponding to bij among the data values of Max or min at the position corresponding to bij of the difference plane (see FIG. 5) (step T9). When it ends, the process proceeds to step T11.

次に、ステップT6において、2×2画素のaijの4画素全てについてaij≦THa1又はaij>THa1を満たさない、つまりaij≦THa1とaij>THa1となる画素が混在する場合(ステップT6;N)について説明する。
この場合、条件(B2)を満たすので、画像圧縮変換部1は高解像度領域と同様に、条件(B2)を満たす2×2画素のaijについて高解像度条件処理を実行し、圧縮及び解像度変換を行う(ステップT10)。高解像度条件処理の内容は、図9を参照して説明した標準縮退圧縮の場合と同様であるので、説明は省略する。高解像度条件処理を終えた後は、ステップT11の処理に移行する。
Next, in step T6, when all the 4 pixels aij of 2 × 2 pixels do not satisfy aij ≦ THa1 or aij> THa1, that is, pixels where aij ≦ THa1 and aij> THa1 are mixed (step T6; N) Will be described.
In this case, since the condition (B2) is satisfied, the image compression conversion unit 1 executes the high-resolution condition processing for aij of 2 × 2 pixels that satisfies the condition (B2), similarly to the high-resolution area, and performs compression and resolution conversion. Perform (step T10). The content of the high resolution condition process is the same as that in the case of the standard degeneration compression described with reference to FIG. After finishing the high resolution condition process, the process proceeds to step T11.

ステップT11では、処理領域である8×8画素のaij全てについて処理を終えたか否かを判断する(ステップT11)。また処理途中である場合(ステップT11;N)、ステップT4に戻り、未処理領域についてステップT4〜T11の処理を繰り返す。   In step T11, it is determined whether or not the processing has been completed for all aij of 8 × 8 pixels that are processing regions (step T11). If the process is in progress (step T11; N), the process returns to step T4, and the processes of steps T4 to T11 are repeated for the unprocessed area.

8×8画素のaij全てについて処理を終えている場合(ステップT11;Y)、元画像の終端まで処理を終えたかどうかを判断し(ステップT12)、終えていない場合(ステップT12;N)、ステップT1に戻り、未処理領域についてステップT1〜T12の処理を繰り返す。元画像の終端まで処理を終えた場合には(ステップT12;Y)、本処理を終了する。   If the process has been completed for all aij of 8 × 8 pixels (step T11; Y), it is determined whether the process has been completed up to the end of the original image (step T12). If the process has not been completed (step T12; N), Returning to step T1, the processes of steps T1 to T12 are repeated for the unprocessed area. When the process is completed up to the end of the original image (step T12; Y), this process ends.

〈伸張処理〉
次に、図13を参照して画像伸張変換部2の処理について説明する。
画像伸張変換部2は、図14に示すように画像メモリ16から入力された処理画像を復号し、1画素4bitを8bitのデータに変換して伸張する。伸張処理は圧縮時の処理単位である8×8画素(aij)に対応する4×4画素(bij)のブロック単位で行う。また、復号化の際、解像度を600dpiから1200dpiへと解像度変換する。
<Extension processing>
Next, processing of the image extension conversion unit 2 will be described with reference to FIG.
As shown in FIG. 14, the image expansion conversion unit 2 decodes the processed image input from the image memory 16, converts each pixel 4 bits into 8 bits data, and expands the data. The decompression process is performed in units of 4 × 4 pixel (bij) blocks corresponding to 8 × 8 pixels (aij), which is a processing unit during compression. At the time of decoding, the resolution is converted from 600 dpi to 1200 dpi.

図13に示すように、まず4×4画素のbijの処理単位で処理画像を入力すると(ステップP1)、画像伸張変換部2は当該処理画像の差分プレーンからMax(k)、min(k)をそれぞれ取得し、ビット順に並べてMax、minのデータを復元する(ステップP2)。次いで、1画素毎に元画像の復号を行うため、4×4画素の処理領域内の1画素bijに注目する(ステップP3)。   As shown in FIG. 13, first, when a processed image is input in units of bij processing of 4 × 4 pixels (step P1), the image expansion conversion unit 2 calculates Max (k), min (k) from the difference plane of the processed image. Are obtained and arranged in the bit order to restore the data of Max and min (step P2). Next, in order to decode the original image for each pixel, attention is paid to one pixel bij in the processing region of 4 × 4 pixels (step P3).

画像伸張変換部2は注目画素であるbijに設定されている識別フラグflag(bij)を識別プレーンから取得し、flag(bij)=0であれば(ステップP4;Y)、中間調復号処理を実行する(ステップP5)。一方、flag(bij)=1であれば(ステップP4;N)、高解像度復号処理を実行する(ステップP6)。   The image extension conversion unit 2 acquires the identification flag flag (bij) set in the target pixel bij from the identification plane. If flag (bij) = 0 (step P4; Y), halftone decoding processing is performed. Execute (Step P5). On the other hand, if flag (bij) = 1 (step P4; N), high-resolution decoding processing is executed (step P6).

最初に、中間調復号処理を図15を参照して説明する。
図15に示すように、画像伸張変換部2は復元したMax、minのデータを用いて、BTC伸張方式により2bitのBTC(bij)のデータを復号し、8bitのデータに伸張する(ステップP51)。復号の際、1画素bijを2×2画素のaijに分割して解像度変換を行い、各画素aijに伸張により得られた8bitのデータをそれぞれ割り当てる。つまり、復号後の2×2画素aijのデータ値は全て同一となる(ステップP52)。
First, the halftone decoding process will be described with reference to FIG.
As shown in FIG. 15, the image expansion conversion unit 2 decodes 2-bit BTC (bij) data by the BTC expansion method using the restored Max and min data, and expands the data to 8-bit data (step P51). . At the time of decoding, one pixel bij is divided into 2 × 2 pixels aij, resolution conversion is performed, and 8-bit data obtained by decompression is assigned to each pixel aij. That is, the data values of 2 × 2 pixels aij after decoding are all the same (step P52).

例えば、b00の1画素をa00、a01、a10、a11の4画素に解像度変換する場合、次の条件に従って伸張を行う。
BTC(b00)=00のとき、a00=a01=a10=a11=min
BTC(b00)=01のとき、a00=a01=a10=a11=min+(Max-min)×1/3
BTC(b00)=10のとき、a00=a01=a10=a11=min+(Max-min)×2/3
BTC(b00)=11のとき、a00=a01=a10=a11=Max
すなわち、図16に示すように、Max、minにより定まる濃度範囲を均等に3分割した濃度値に復号化される。
For example, when converting the resolution of one pixel of b00 into four pixels of a00, a01, a10, and a11, expansion is performed according to the following conditions.
When BTC (b00) = 00, a00 = a01 = a10 = a11 = min
When BTC (b00) = 01, a00 = a01 = a10 = a11 = min + (Max-min) × 1/3
When BTC (b00) = 10, a00 = a01 = a10 = a11 = min + (Max-min) × 2/3
When BTC (b00) = 11, a00 = a01 = a10 = a11 = Max
That is, as shown in FIG. 16, the density range determined by Max and min is decoded into density values that are equally divided into three.

すなわち、標準縮退圧縮において中間調条件(D11)〜(D14)を満たす領域、2値化縮退圧縮において条件(D12)を満たす領域については、複数の閾値THa1〜THa3を用いて4値に量子化されているので、復号値も4値となる。一方、2値化縮退圧縮において条件(C)を満たす領域については、1つの閾値THa1を用いて00又は11の2値に量子化されているので、得られる復号値はmin又はMaxの2値である。bijについて得られた復号値を解像度変換後の2×2画素の各aijに割り当てて復号すると、図13のステップP7の処理に移行する。   That is, a region satisfying the halftone conditions (D11) to (D14) in the standard degeneration compression and a region satisfying the condition (D12) in the binary degeneration compression are quantized into four values using a plurality of thresholds THa1 to THa3. Therefore, the decoded value is also four values. On the other hand, since the region satisfying the condition (C) in the binarized compression is quantized to a binary value of 00 or 11 using a single threshold THa1, the obtained decoded value is a binary value of min or Max. It is. When the decoded value obtained for bij is assigned to each aij of 2 × 2 pixels after resolution conversion, the process proceeds to step P7 in FIG.

次に、高解像度復号処理について、図17及び図18を参照して説明する。
標準縮退圧縮において高解像度条件(B1)を満たす高解像度領域、2値化縮退圧縮において条件(B2)を満たす領域については、1と0の2値が配置された濃度パターンによって量子化を行っている。量子化の際、複数の濃度パターン毎に分類してBTC(bij)の値(00、01、10、11)を割り当てているので、これを元の8bitのデータに復号化するにあたっては、図19に示すようにBTC(bij)のデータ値によっていくつかの濃度パターンが考えられる。高解像度復号処理では、量子化の際に作成されたのはどのような濃度パターンであったかを予測しながら復号を行う。
Next, the high resolution decoding process will be described with reference to FIGS. 17 and 18.
For the high-resolution area that satisfies the high-resolution condition (B1) in the standard degeneration compression, the area that satisfies the condition (B2) in the binary degeneration compression is quantized using a density pattern in which binary values of 1 and 0 are arranged. Yes. At the time of quantization, since the values (00, 01, 10, 11) of BTC (bij) are assigned for each of the plurality of density patterns, when decoding them into the original 8-bit data, As shown in FIG. 19, several density patterns are conceivable depending on the data value of BTC (bij). In the high-resolution decoding process, decoding is performed while predicting what density pattern was created at the time of quantization.

濃度パターンの予測は、テンプレートを用いて行う。
図20は、BTC(bij)=00である場合に用いるテンプレートと、そのテンプレートを用いて予測される濃度パターンとの関係を示す図である。各テンプレートには識別番号(テンプレートの左上の数字)が付与されている。
The density pattern is predicted using a template.
FIG. 20 is a diagram illustrating a relationship between a template used when BTC (bij) = 00 and a density pattern predicted using the template. Each template is given an identification number (the number on the upper left of the template).

各テンプレート上に定められているCは、Cの位置にある画素が中間調条件を満たし、かつCの画素と注目画素bijの濃度差|Cden-bijMax|が|Cden-bijMax|<Tcとなる場合に、テンプレートと一致したと判断することを示している。CdenはCの位置にある画素の量子化データ(2bit)を、図16に示した条件によって8bitのデータ値に復号したときの値である。つまり、Cの画素の量子化データがBTC(bij)=00であればCden=min、BTC(bij)=01であればCden=min+(Max-min)×1/3、BTC(Bij)=10であればCden=min+(Max-min)×2/3、BTC(bij)=11であればMaxである。bijMaxは注目画素bijが属する4×4画素の処理領域における最大濃度値Maxである。 For C defined on each template, the pixel at the position of C satisfies the halftone condition, and the density difference between the C pixel and the target pixel bij | C den -bij Max | is | C den -bij Max | < Tc indicates that the template is determined to match. C den is a value when the quantized data (2 bits) of the pixel at the position C is decoded into an 8-bit data value under the conditions shown in FIG. That is, if the quantized data of the C pixel is BTC (bij) = 00, C den = min, if BTC (bij) = 01, C den = min + (Max-min) × 1/3, BTC (Bij ) = 10, C den = min + (Max-min) × 2/3, and BTC (bij) = 11 is Max. bij Max is the maximum density value Max in the processing region of 4 × 4 pixels to which the target pixel bij belongs.

また、各テンプレート上に定められているMは、Mの位置にある画素が、高解像度条件を満たし、かつMの位置にある画素と注目画素bijの濃度差|MMax-bijMax|が|MMax-bijMax|<TMとなる場合に、テンプレートと一致したと判断することを示している。MMaxはMの画素が属する4×4画素の処理領域における最大濃度値Maxである。Mの画素と注目画素bijとが同じ処理領域に属する場合にはMMax=bijMax=Maxとなるので、濃度差は0である。 M defined on each template is such that the pixel at the M position satisfies the high resolution condition and the density difference | M Max -bij Max | between the pixel at the M position and the target pixel bij is | M Max -bij Max | if the <T M, have shown that it is determined that match the template. M Max is the maximum density value Max in the processing region of 4 × 4 pixels to which M pixels belong. When the M pixel and the target pixel bij belong to the same processing region, M Max = bij Max = Max, so the density difference is zero.

なお、Tc、TMは濃度差が小さいかどうかを判断するための閾値であり、適宜設定することが可能であるが、例えばTc=30、TM=35等に設定することができる。Tc、TMは異なる値としてもよいし同じ値としてもよい。このTc、TMと比較することにより、濃度差が小さい、つまりC又はMの位置の画素と注目画素bijとが同程度の濃度となる濃度パターンを予測する。 Note that T c and T M are thresholds for determining whether the density difference is small and can be set as appropriate. For example, T c = 30, T M = 35, etc. can be set. . T c and T M may be different values or the same value. By comparing with T c and T M , a density pattern is predicted in which the density difference is small, that is, the pixel at the position C or M and the target pixel bij have the same density.

同様に、図21及び図22は、BTC(bij)=01である場合に用いるテンプレートと、予測される濃度パターンとの関係を示す図であり、図23及び図24はBTC(bij)=10である場合に、図25はBTC(bij)=11である場合に用いるテンプレートと濃度パターンの関係を示す図である。
図21〜図25において、M1は、M1の位置にある画素が上記Mの条件を満たし、かつ濃度パターンH1に該当する場合にテンプレートと一致したと判断することを示している。つまり、M1の画素がBTC(bij)=01であることが条件となる。
M2は、M2の位置にある画素が上記Mの条件を満たし、かつ濃度パターンH2に該当する場合にテンプレート一致したと判断することを示している。つまり、M2の画素がBTC(bij)=10であることが条件となる。
Qは、Qの位置にある画素がC、M、M1、M2の何れの条件も満たさない場合に一致したと判断することを示している。
Similarly, FIGS. 21 and 22 are diagrams showing a relationship between a template used when BTC (bij) = 01 and a predicted density pattern, and FIGS. 23 and 24 show BTC (bij) = 10. FIG. 25 is a diagram showing a relationship between a template and a density pattern used when BTC (bij) = 11.
21 to 25, M1 indicates that the pixel at the position of M1 determines that the pixel matches the template when the M condition is satisfied and the density pattern H1 is satisfied. That is, the condition is that the pixel of M1 is BTC (bij) = 01.
M2 indicates that it is determined that the template matches when the pixel at the position of M2 satisfies the condition of M and corresponds to the density pattern H2. That is, the condition is that the pixel of M2 is BTC (bij) = 10.
Q indicates that it is determined that the pixel at the position of Q matches when any of the conditions C, M, M1, and M2 is not satisfied.

各テンプレートは、X1、X2、X3の3つのグループに分類されている。これは3段階に分けて予測を行うためである。
X1グループのテンプレートは、そのテンプレートで定められているC、M等の全ての条件を満たすことが当該テンプレートに一致したと判断する条件となる。一方、X2、X3のテンプレートは、全ての一致条件を満たすかどうかではなく、どの程度の一致条件を満たすか評価を行い、その評価結果によって一致したと判断する。例えばX2グループであれば、X2グループのテンプレート群全てについて一度照合を行い、各テンプレートにつき、C、M等の一致条件を満たす画素の個数を計数し、これを評価値とする。そして、求めた評価値が最大となるテンプレートと一致したと判断する。
Each template is classified into three groups of X1, X2, and X3. This is because prediction is performed in three stages.
The template of the X1 group is a condition for determining that all the conditions such as C and M defined in the template match the template. On the other hand, the templates X2 and X3 are evaluated not to check whether all the matching conditions are satisfied, but to what extent the matching conditions are satisfied, and determine that they match based on the evaluation result. For example, in the case of the X2 group, collation is performed once for all the template groups of the X2 group, and the number of pixels satisfying the matching condition such as C and M is counted for each template, and this is used as the evaluation value. Then, it is determined that the obtained evaluation value matches the maximum template.

これらテンプレートは、注目画素bijの濃度パターンを元画像に含まれるエッジの形状や細線構造等から予測するために用いられる。エッジ形状は注目画素bijの周辺画素の濃度パターンから特定できるので、テンプレートではエッジ形状をなすときの周辺画素の条件を、上述したCやM等の条件として定めているのである。
特にX1グループは、注目画素bijが高解像度の維持が必要な細線構造の画素である場合の濃度パターンを予測できるようにテンプレートを設計し、X2、X3のグループではX1よりも緩やかな条件として広くエッジ形状等を予測できるように設計している。
These templates are used for predicting the density pattern of the target pixel bij from the shape of the edge, the thin line structure, etc. included in the original image. Since the edge shape can be specified from the density pattern of the peripheral pixels of the target pixel bij, the template defines the conditions of the peripheral pixels when forming the edge shape as the above-described conditions such as C and M.
In particular, in the X1 group, a template is designed so that a density pattern can be predicted when the pixel of interest bij is a pixel with a thin line structure that needs to maintain a high resolution, and the X2 and X3 groups are widely used as looser conditions than X1. It is designed so that the edge shape can be predicted.

例えば、図26Aに示すように、a00〜a77の元画像に1ドット幅の斜線の画像が含まれる場合、標準縮退変換による圧縮処理ではa44、a45、a54、a55の4画素は高解像度条件(B1)を満たし、濃度パターンH1に該当するため、この4画素に対応する処理画像の画素b22はBTC(b22)=01に量子化されるはずである。そうすると、復号時には周辺画素のb13、b31(注目画素b22の右上、左下)の濃度パターンから、b22の画素は1ドット幅で、しかも画素b13、b31で形成されるドットに連結するようにドットが並んでおり、これらドットの濃度は同程度であると予測することができる。よって、このような濃度パターンを予測するためには、図26Aに示すように周辺画素においてM1の条件を定めたテンプレート8を準備すればよい。テンプレート8は、図22に示すBTC(bij))=01のときのテンプレート8である。   For example, as shown in FIG. 26A, when an original image of a00 to a77 includes a one-dot-width oblique image, four pixels a44, a45, a54, and a55 are subjected to the high resolution condition ( Since B1) is satisfied and corresponds to the density pattern H1, the pixel b22 of the processed image corresponding to these four pixels should be quantized to BTC (b22) = 01. Then, at the time of decoding, from the density pattern of the peripheral pixels b13 and b31 (upper right and lower left of the target pixel b22), the dot of the b22 pixel is 1 dot wide and connected to the dots formed by the pixels b13 and b31. It can be predicted that the density of these dots is approximately the same. Therefore, in order to predict such a density pattern, it is only necessary to prepare a template 8 that defines the condition of M1 in the peripheral pixels as shown in FIG. 26A. The template 8 is the template 8 when BTC (bij)) = 01 shown in FIG.

また、図26Bに示すように、ある濃度を持った画像のエッジが含まれている元画像の場合、このエッジ部分を構成するa44、a45、a54、a55は濃度パターンH1に該当する。復号時にこのようなエッジ形状における濃度パターンを予測するため、図26Bに示すようにa44、a45、a54、a55に対応する処理画像の画素b22の周辺画素においてCの条件を定めたテンプレート20を準備すればよい。テンプレート20(図21に示すBTC(bij)=01のときのテンプレート20である。)は、X2グループのテンプレートである。元画像において、注目画素b22の真上の画素に対応する(a24、a25、a34、a35)は高解像度条件(B1)を満たすため、テンプレート20ではb22の真上のCの条件を満たさないこととなるが、b22の左側3つの画素に対応する(a22、a32、a23、a33)、(a24、a34、a25、a35)、(a26、a36、a27、a37)はCの条件を満たすこととなる。評価値は高くなり、このテンプレート20と一致すると判断される可能性が大きくなるはずである。   Further, as shown in FIG. 26B, in the case of an original image including an edge of an image having a certain density, a44, a45, a54, and a55 constituting this edge portion correspond to the density pattern H1. In order to predict the density pattern in such an edge shape at the time of decoding, as shown in FIG. 26B, a template 20 is prepared in which the C condition is defined in the peripheral pixels of the pixel b22 of the processed image corresponding to a44, a45, a54, and a55. do it. The template 20 (the template 20 when BTC (bij) = 01 shown in FIG. 21) is an X2 group template. In the original image, (a24, a25, a34, a35) corresponding to the pixel immediately above the target pixel b22 satisfies the high resolution condition (B1), and therefore the template 20 does not satisfy the condition C immediately above b22. However, (a22, a32, a23, a33), (a24, a34, a25, a35) and (a26, a36, a27, a37) corresponding to the left three pixels of b22 satisfy the condition of C. Become. The evaluation value will be high, and the possibility that it will be determined that it matches the template 20 should be large.

なお、重み付け評価を行うため、X2、X3グループのテンプレートにおいて重み付け係数を設定することとしてもよい。例えば、図26Bに示す元画像の場合、注目画素b22の左側に位置する3つの画素全てがCの条件を満たせば、注目画素b22は2×2画素のうち左側の2画素が1の値を持つ濃度パターンである可能性が高い。よって、テンプレート20の注目画素b22の左側に位置する3つの画素に設定した一致条件Cについて、例えば2倍等の重み付け係数を設定しておき、この3つの画素位置においてCの条件を満たす場合には、その評価値を重み付け係数を乗じた値とすればよい。これにより、テンプレートとの一致率を調整することができる。   In addition, in order to perform weighting evaluation, it is good also as setting a weighting coefficient in the template of X2 and X3 group. For example, in the case of the original image shown in FIG. 26B, if all three pixels located on the left side of the target pixel b22 satisfy the condition C, the target pixel b22 has a value of 1 for the two left pixels out of 2 × 2 pixels. There is a high possibility that it is a density pattern. Accordingly, when the matching condition C set for the three pixels located on the left side of the target pixel b22 of the template 20 is set with a weighting coefficient such as double, for example, and the condition C is satisfied at the three pixel positions. May be a value obtained by multiplying the evaluation value by a weighting coefficient. Thereby, a matching rate with a template can be adjusted.

なお、図20〜図25に挙げたテンプレートは例示である。元画像に含まれると考えられるエッジ形状等に応じて適宜設計すればよい。   Note that the templates shown in FIGS. 20 to 25 are examples. What is necessary is just to design suitably according to the edge shape etc. which are considered to be included in the original image.

処理の流れとしては、図17に示すように画像伸張変換部2はBTC(bij)を参照し、BTC(bij)=00の場合(ステップP61;Y)、濃度パターンH0の予測処理に移行する(ステップP62)。同様に、BTC(bij)=01であれば(ステップP61;N、S62;Y)、濃度パターンH1の予測処理に移行し(ステップP64)、BTC(bij)=10であれば(ステップP61;N、P63;N、P65;Y)、濃度パターンH2の予測処理に移行する(ステップP66)。また、BTC(bij)=11であれば(ステップP61;N、P63;N、P65;N)、濃度パターンH3の予測処理に移行する(ステップP67)。   As shown in FIG. 17, the image extension conversion unit 2 refers to BTC (bij) as shown in FIG. 17, and when BTC (bij) = 00 (step P61; Y), the process proceeds to a density pattern H0 prediction process. (Step P62). Similarly, if BTC (bij) = 01 (step P61; N, S62; Y), the process proceeds to the density pattern H1 prediction process (step P64). If BTC (bij) = 10 (step P61; N, P63; N, P65; Y), the process proceeds to the prediction process of the density pattern H2 (step P66). If BTC (bij) = 11 (step P61; N, P63; N, P65; N), the process proceeds to the prediction process of the density pattern H3 (step P67).

濃度パターンH0〜H3の予測処理は、用いるテンプレートが異なるだけでその処理内容は基本的に同じである。よって、ここでは代表として濃度パターンH0の予測処理を、図18を参照して説明する。
図18に示すように、画像伸張変換部2は注目する画素bijを中心としてX1グループのテンプレートのうちの1つと照合する。照合したテンプレートと一致すると判断した場合(ステップP621;Y)、一致したテンプレートに定められた、予測される濃度パターンに応じて注目画素bijの復号を行い、復号化した画像、つまり2×2画素のaijの画像を出力する(ステップP628)。
The process of predicting the density patterns H0 to H3 is basically the same except for the template used. Therefore, here, the prediction process of the density pattern H0 will be described as a representative with reference to FIG.
As shown in FIG. 18, the image extension conversion unit 2 collates with one of the templates of the X1 group with the pixel of interest bij at the center. When it is determined that the template matches the collated template (step P621; Y), the pixel of interest bij is decoded according to the predicted density pattern set in the matched template, and the decoded image, that is, 2 × 2 pixels The image of aij is output (step P628).

復号は、予測される濃度パターンにおける1のデータ値をMaxに、0のデータ値をminに置き換えて出力することにより行う。つまり、解像度変換後の2×2画素のaijに、予測された濃度パターンに対応する2値の復号値Max、minを割り当てて復号し、復号とともに解像度変換を行っている。圧縮処理において濃度パターンにパターン化する際、Maxに近いものを1、minに近いものを0に2値化しているので、1のデータ値を持つ画素aijをMaxに、0のデータ値をminに置き換えても、元の画像と同程度の濃度に復元できると考えられる。
例えば、BTC(bij)=00であり、一致したのがテンプレート1であった場合、図19に示すように予測される濃度パターンは、左上の画素が1、その他が0となる濃度パターンである。この濃度パターンにおいて、1の値をMax(8bit)に、0の値をmin(8bit)に置き換えた2×2画素のaijの画像を、復号した画像(1200dpi、8bit)として出力する。
Decoding is performed by replacing the data value of 1 in the predicted density pattern with Max and replacing the data value of 0 with min. That is, decoding is performed by assigning binary decoded values Max and min corresponding to the predicted density pattern to the 2 × 2 pixel aij after resolution conversion, and performing resolution conversion together with decoding. When patterning into a density pattern in the compression process, the value close to Max is binarized to 1, and the value close to min is binarized to 0. Therefore, the pixel aij having a data value of 1 is Max and the data value of 0 is min It can be considered that the density can be restored to the same level as the original image even if it is replaced with.
For example, if BTC (bij) = 00 and the template 1 matches, the predicted density pattern is a density pattern in which the upper left pixel is 1 and the others are 0, as shown in FIG. . In this density pattern, a 2 × 2 pixel aij image in which the value of 1 is replaced with Max (8 bits) and the value of 0 is replaced with min (8 bits) is output as a decoded image (1200 dpi, 8 bits).

照合したテンプレートと一致しない場合(ステップP621;N)、X1グループの全てのテンプレートとの照合を終えたかどうかを判断する(ステップP622)。全ての照合を終えていない場合には(ステップP622;N)、ステップP621の処理に戻り、Xグループの何れかのテンプレートと一致するまで、同じX1グループに属する他のテンプレートとの照合を繰り返す。   If it does not match the collated template (step P621; N), it is determined whether or not collation with all templates in the X1 group has been completed (step P622). If all the collations have not been completed (step P622; N), the process returns to step P621, and collation with other templates belonging to the same X1 group is repeated until it matches any template in the X group.

X1グループのテンプレートの全てと照合を行ったが、何れとも一致しなかった場合(ステップP622;Y)、X2グループに属する全てのテンプレートと照合を行い、評価値を算出する(ステップP623)。そして、各テンプレートについて算出された評価値のうち最大値が0を超えている場合(ステップP624;Y)、その評価値が最大値のテンプレートと一致したと判断する(ステップP627)。そして、一致したテンプレートに定められている、予測される濃度パターンによって注目画素bijの復号を行い、復号した画像aijを出力する(ステップP628)。   When all the templates in the X1 group have been collated but none of them matches (step P622; Y), all the templates belonging to the X2 group are collated, and an evaluation value is calculated (step P623). When the maximum value among the evaluation values calculated for each template exceeds 0 (step P624; Y), it is determined that the evaluation value matches the template of the maximum value (step P627). Then, the target pixel bij is decoded based on the predicted density pattern defined in the matched template, and the decoded image aij is output (step P628).

一方、X2グループのテンプレートで定められた条件は何れも満たさず、評価値の最大値が0であった場合(ステップP624;N)、X3グループに属する全てのテンプレートと照合を行い、評価値を算出する(ステップP625)。各テンプレートについての評価値の最大値が0を超えている場合(ステップP626;Y)、その評価値が最大となるテンプレートと一致したと判断し(ステップP627)、一致したテンプレートに定められている、予測される濃度パターンによって注目画素bijの復号を行って、復号した画像aijを出力する(ステップP628)。   On the other hand, if none of the conditions defined by the template of the X2 group is satisfied and the maximum value of the evaluation value is 0 (step P624; N), all the templates belonging to the X3 group are collated, and the evaluation value is Calculate (step P625). If the maximum evaluation value for each template exceeds 0 (step P626; Y), it is determined that the evaluation value matches the template with the maximum evaluation value (step P627), and the template is determined to match. Then, the target pixel bij is decoded based on the predicted density pattern, and the decoded image aij is output (step P628).

X3グループについてもテンプレートで定められている条件は何れも満たさず、評価値の最大値が0であった場合(ステップP626;N)、2×2画素のaijにおいて1のデータ値を持つ画素部分が孤立点の画像を形成していることが考えられる。この場合、周辺画素を参照しても濃度パターンを予測するのは困難であるため、平均化パターンを用いた復号画像を構成し、出力する(ステップP629)。平均化パターンとは、図19に示すように2×2画素の各画素aijについて平均値を割り当てたものである。   For the X3 group, none of the conditions defined in the template is satisfied and the maximum value of the evaluation value is 0 (step P626; N), a pixel portion having a data value of 1 in aij of 2 × 2 pixels May form an image of isolated points. In this case, since it is difficult to predict the density pattern even with reference to surrounding pixels, a decoded image using the average pattern is constructed and output (step P629). The average pattern is obtained by assigning an average value to each pixel aij of 2 × 2 pixels as shown in FIG.

例えば、濃度パターンH0の場合、2×2画素のaijの中で1の画素は1つである。つまり、4画素でMaxの濃度値を出力することとなる。よって、平均化パターンは2×2画素のaij全てに、平均値1/4Maxを割り当てたものとなる。同様に、濃度パターンH1、H2では4画素で2Max、濃度パターンH3では4画素で3Maxの濃度を出力するので、それぞれ平均値である1/2Max、3/4Maxの値が2×2画素のaijに割り当てられる。   For example, in the case of the density pattern H0, there is one pixel in aij of 2 × 2 pixels. That is, the maximum density value is output with four pixels. Therefore, the average pattern is obtained by assigning an average value 1 / 4Max to all aij of 2 × 2 pixels. Similarly, the density patterns H1 and H2 output 2Max with 4 pixels and 3Max with 4 pixels in the density pattern H3, so the average values 1 / 2Max and 3 / 4Max are 2 × 2 pixels aij. Assigned to.

以上のようにして、復号した2×2画素のaijの画像を出力すると、図13のステップP7の処理に移行する。
ステップP7では、処理画像の4×4画素のbijの処理領域内全てについて復号及び解像度変換の処理を終えたか否かを判断する(ステップP7)。まだ処理途中である場合はステップP3に戻り、4×4画素のbijの処理領域内で他の1画素bijについてステップP3〜P7の処理を繰り返す。
When the decoded 2 × 2 pixel aij image is output as described above, the process proceeds to step P7 in FIG.
In step P7, it is determined whether or not the decoding and resolution conversion processing has been completed for all the 4 × 4 pixel bij processing regions of the processed image (step P7). If the process is still in progress, the process returns to step P3, and the processes of steps P3 to P7 are repeated for the other one pixel bij within the 4 × 4 pixel bij processing area.

そして、4×4画素のbijの処理領域内全てについて復号及び解像度変換の処理を終えると(ステップP7;Y)、画像伸張変換部2は、4×4画素のbijの処理領域の各画素bijについて出力された8×8画素のaijの画像を出力する(ステップP8)。次いで、処理画像の終端まで処理を終えたかどうかを判断し(ステップP9)、終えていない場合(ステップP9;N)、ステップP1に戻って、処理画像の次の4×4画素のbijの処理領域についてステップP1〜P9の処理を繰り返す。処理画像の終端まで終えた場合(ステップP9;Y)、本処理を終了する。   When the decoding and resolution conversion processing is completed for all of the 4 × 4 pixel bij processing region (step P7; Y), the image expansion conversion unit 2 sets each pixel bij in the 4 × 4 pixel bij processing region. The 8 × 8 pixel aij image output for is output (step P8). Next, it is determined whether or not the processing has been completed up to the end of the processed image (step P9). If the processing has not been completed (step P9; N), the process returns to step P1 to process the next 4 × 4 pixel bij of the processed image. The processes in steps P1 to P9 are repeated for the area. When the processing image is finished up to the end (step P9; Y), this processing ends.

図27及び図28に、標準縮退変換による圧縮及び伸張を行った例を示す。
図27は、「可逆」の文字(黒100%)の画像、斜線1(黒100%、1ドット幅の細線)の画像、斜線2(太線;マジェンタ100%、6ドット幅、細線;マジェンタ30%、2ドット幅)の画像に対し、標準縮退変換による圧縮、伸張を行った実施例1とともに、比較例1〜3を示している。
図28は、「g.」の文字(CMYKの4色)の画像、人の顔写真1(黄)の画像、顔写真2(CMYKの4色)の画像についての比較例1〜3と、標準縮退変換による圧縮を適用した実施例1とを示している。
27 and 28 show an example in which compression and expansion are performed by standard degeneration conversion.
FIG. 27 shows an image of a “reversible” character (black 100%), an image of slanted line 1 (black 100%, thin line of 1 dot width), a slanted line 2 (thick line; magenta 100%, 6 dot width, thin line; magenta 30). Comparative Examples 1 to 3 are shown together with Example 1 in which compression and decompression by standard degeneration conversion are performed on an image of (%, 2 dot width).
FIG. 28 shows Comparative Examples 1 to 3 for an image of the letter “g.” (4 colors of CMYK), an image of a human face photo 1 (yellow), and an image of a face photo 2 (4 colors of CMYK). The first embodiment to which compression by standard degeneration conversion is applied is shown.

比較例1〜3、実施例1における画像処理方法は以下の通りである。
比較例1:600dpi、8bitでラスタライズされた画像を、600dpiの1画素のデータ値を1200dpiの4画素にコピーして1200dpiとした。
比較例2:1200dpi、8bitでラスタライズされた画像を、平均を行って600dpiに解像度変換(1200dpiの4画素のデータ値を平均化した値を600dpiの1画素に割り当て)した後、元の1200dpiに解像度変換(単純に画素を4分割し、同値を割り当て)した。
比較例3:1200dpi、8bitでラスタライズした。この比較例3の画像の画質が目標とする画質となる。
実施例1:1200dpi、8bitでラスタライズされた画像を、上述した標準変換縮退の圧縮方法により600dpi、4bitに圧縮、解像度変換した後、上述した本実施形態に係る伸張方法により1200dpi、8bitに伸張、解像度変換した。
The image processing methods in Comparative Examples 1 to 3 and Example 1 are as follows.
Comparative Example 1 An image rasterized at 600 dpi and 8 bits was copied to 1200 dpi by copying the data value of 1 pixel of 600 dpi to 4 pixels of 1200 dpi.
Comparative Example 2: An image rasterized at 1200 dpi and 8 bits is averaged to convert the resolution to 600 dpi (the value obtained by averaging the data values of four pixels of 1200 dpi is assigned to one pixel of 600 dpi), and then converted to the original 1200 dpi Resolution conversion (simply dividing the pixel into four and assigning the same value).
Comparative Example 3: Rasterized at 1200 dpi and 8 bits. The image quality of this comparative example 3 is the target image quality.
Example 1: An image rasterized at 1200 dpi and 8 bits is compressed to 600 dpi and 4 bits by the compression method of the standard conversion reduction described above, and the resolution is converted. Then, the image is expanded to 1200 dpi and 8 bits by the expansion method according to the above-described embodiment. The resolution was converted.

なお、図27、図28において実施例1の右に示すのは、実施例1に係る画像において、中間調領域、高解像度領域と判断された画像部分を分かりやすくするため、中間調領域と高解像度領域とで異なる模様を付してパターン化したものである。   In FIGS. 27 and 28, the right side of the first embodiment is shown in FIG. 27 and FIG. 28 in order to make it easy to understand the image portion determined as the halftone area and the high resolution area in the image according to the first embodiment. The pattern is formed by adding different patterns to the resolution area.

図27、図28からも分かるように、単純に解像度変換を行う比較例2の方法では、圧縮や解像度変換の過程においてデータが失われるため、文字や線画のエッジ部分の再現性が乏しくなり、エッジの鮮鋭性に欠けている。その結果、文字については全体的にぼけた粗い画像になっている。   As can be seen from FIGS. 27 and 28, in the method of Comparative Example 2 in which the resolution conversion is simply performed, data is lost in the process of compression and resolution conversion, so that the reproducibility of the edge portions of characters and line drawings is poor. The sharpness of the edge is lacking. As a result, the overall character is blurred and rough.

これに対し、実施例1では1ドット幅の細線であっても、若干細部において再現性に欠けるものの、1200dpi、8bitのラスタライズした比較例3における細線をほぼ正確に再現することに成功している。また、エッジ部分の再現性も高く、文字や線画の鮮鋭性は比較例3とほぼ同様である。   On the other hand, in Example 1, even if it is a thin line with a width of 1 dot, although the reproducibility is slightly lacking in detail, the fine line in Comparative Example 3 rasterized at 1200 dpi and 8 bits has been successfully reproduced almost accurately. . In addition, the reproducibility of the edge portion is high, and the sharpness of characters and line drawings is almost the same as in Comparative Example 3.

一方、図29は2値化縮退圧縮による圧縮及び伸張の適用例を示す図である。
ここでは、「W」と「k」の文字(黒100%)の画像に対し、上述した2値化縮退圧縮の圧縮及び伸張を適用した実施例2とともに、比較例4〜6を示している。実施例2、比較例4〜6の画像処理方法は以下の通りである。
実施例2:1200dpi、8bitでラスタライズされ、アンチエイリアス処理された画像を、上述した2値化変換縮退の圧縮方法により600dpi、4bitに圧縮、解像度変換した後、上述した本実施形態に係る伸張方法により1200dpi、8bitに伸張、解像度変換した。
比較例4:1200dpi、8bitでラスタライズされ、アンチエイリアス処理した。
比較例5:1200dpi、8bitでラスタライズされた画像を、アンチエイリアス処理は施さずに、上述した標準変換縮退の圧縮方法により600dpi、4bitに圧縮、解像度変換した後、上述した本実施形態に係る伸張方法により1200dpi、8bitに伸張、解像度変換した。
比較例6:1200dpi、8bitでラスタライズされ、アンチエイリアス処理された画像を、上述した標準変換縮退の圧縮方法により600dpi、4bitに圧縮、解像度変換した後、上述した本実施形態に係る伸張方法により1200dpi、8bitに伸張、解像度変換した。
On the other hand, FIG. 29 is a diagram showing an application example of compression and expansion by binarized compression.
Here, Comparative Examples 4 to 6 are shown together with Example 2 in which the compression and expansion of the above-described binary reduction compression is applied to images of the characters “W” and “k” (black 100%). . The image processing methods of Example 2 and Comparative Examples 4 to 6 are as follows.
Example 2: An image that has been rasterized at 1200 dpi and 8 bits and anti-aliased is compressed to 600 dpi and 4 bits by the above-described binary conversion compression method and converted to a resolution, and then the expansion method according to the present embodiment described above. The resolution was converted to 1200 dpi, 8 bits.
Comparative Example 4: Rasterized at 1200 dpi and 8 bits and anti-aliased.
Comparative Example 5: An image rasterized at 1200 dpi and 8 bits is subjected to compression and resolution conversion to 600 dpi and 4 bits by the standard conversion compression method described above without performing anti-aliasing processing, and then the expansion method according to the above-described embodiment Was expanded to 1200 dpi and 8 bits, and the resolution was converted.
Comparative Example 6: The image rasterized at 1200 dpi and 8 bits and anti-aliased is compressed to 600 dpi and 4 bits by the compression method of the standard conversion reduction described above, and the resolution is converted, and then is converted to 1200 dpi by the expansion method according to the present embodiment described above. Expanded to 8bit and converted resolution.

図29の比較例6に示すように、アンチエイリアス処理された画像に標準縮退圧縮による圧縮、解像度変換を行うと、エッジ部分がぼけた粗い画像となる。比較例5と比較すると、同じ文字を再現するにしても、アンチエイリアス処理の有無によって伸張後の再現性に差異が生じることとなる。   As shown in Comparative Example 6 in FIG. 29, when compression and resolution conversion are performed on an anti-aliased image by standard compression, a rough image with a blurred edge portion is obtained. Compared to Comparative Example 5, even if the same character is reproduced, there is a difference in reproducibility after expansion depending on the presence or absence of anti-aliasing.

一方、実施例2に示すようにアンチエイリアス処理された画像に、2値化縮退変換による圧縮、解像度変換を行うと、アンチエイリアス処理がされていない画像に標準縮退圧縮を適用した比較例5と同様の結果となる。このようにエッジ部分はアンチエイリアス処理されてない状態に再現することにより、スクリーン処理されたときの問題、例えばジャギーの問題を回避することができる。   On the other hand, when compression and resolution conversion are performed by binarized reduction conversion on an antialiased image as shown in the second embodiment, the same as in Comparative Example 5 in which standard reduction compression is applied to an image not subjected to antialiasing processing. Result. Thus, by reproducing the edge portion in a state where the anti-aliasing processing is not performed, it is possible to avoid a problem when the screen processing is performed, for example, a jaggy problem.

このように、アンチエイリアス処理された画像領域で、標準縮退圧縮と2値化縮退圧縮とで差が生じるのは、エッジ部分に中間調の濃度を持つ画素が含まれるためである。
例えば、図30に示すような画像A1(min=0、Max=255)について考えてみる。画像A1はエッジ部分を含む8×8画素のaijの画像領域の一部を示す図である。各画素に示す数字はデータ値である。
画像A1がアンチエイリアス処理されたのが、画像A2である。画像A2では、アンチエイリアス処理によりエッジ部分に40や140の中間調のデータ値の画素が出現している。この画像A2に対し、2値化縮退圧縮による圧縮処理を行う場合、画像A2はmin=0、Max=255のデータ値からなるエッジ部分を含むことから8×8画素の処理領域において、(Max-min)>Tである。ここで、閾値THa1=43として2×2画素の処理領域(太線で囲った枠で示す)に注目すると、データ値が全て0の領域、0と40のみの領域、140と255のみの領域、全て255の領域の各領域は条件(C)を満たす。一方、データ値が40と140のみの領域は条件(B2)を満たす。その結果、条件(C)を満たす領域は閾値THa1=48により2値に量子化され、条件(B2)を満たす領域は2値化された濃度パターンによって量子化される。
As described above, the difference between the standard reduction compression and the binarization reduction compression occurs in the anti-aliased image region because the edge portion includes pixels having a halftone density.
For example, consider an image A1 (min = 0, Max = 255) as shown in FIG. The image A1 is a diagram showing a part of an aij image area of 8 × 8 pixels including an edge portion. The numbers shown in each pixel are data values.
It is the image A2 that the image A1 has been anti-aliased. In the image A2, pixels of 40 or 140 halftone data values appear at the edge portion by anti-aliasing. When compression processing by binarized compression is performed on the image A2, the image A2 includes an edge portion composed of data values of min = 0 and Max = 255. Therefore, in the processing region of 8 × 8 pixels, (Max -min)> T. Here, if the threshold THa1 = 43 and attention is paid to a processing area of 2 × 2 pixels (indicated by a frame surrounded by a thick line), an area with all data values 0, an area with only 0 and 40, an area with only 140 and 255, All of the 255 areas satisfy the condition (C). On the other hand, the region having only the data values of 40 and 140 satisfies the condition (B2). As a result, the region satisfying the condition (C) is quantized to a binary value by the threshold THa1 = 48, and the region satisfying the condition (B2) is quantized by the binarized density pattern.

伸張処理においては、条件(C)を満たす領域では、量子化データが00であれば2×2画素の全てがmin=0、量子化データが11であれば2×2画素の全てがMax=255に復号される。条件(B2)を満たす領域では濃度パターンの予測により2×2画素に対しmin又はMaxの2値が割り当てられて復号され、その結果画像A31が得られる。   In the decompression process, in the region satisfying the condition (C), if the quantized data is 00, all 2 × 2 pixels are min = 0, and if the quantized data is 11, all 2 × 2 pixels are Max = Decrypted to 255. In the region satisfying the condition (B2), 2 values of min or Max are assigned to 2 × 2 pixels by the prediction of the density pattern and decoded, and as a result, an image A31 is obtained.

一方、同じ画像A2において標準縮退圧縮を施す場合、閾値THa1=43、THa2=128、THa3=210とすると、図31に示すように全て中間調領域と判断される。2×2画素の処理領域の中で全てデータ値0の領域、0と40のみの領域は中間調条件(D12)を満たし、40と140のみの領域は中間調条件(D11)を満たし、全て255の領域は中間調条件(D14)を満たすからである。中間調領域についてはデータ値の平均値について3つの閾値THa1〜THa3により4値に量子化される。   On the other hand, when standard degeneracy compression is applied to the same image A2, assuming that the thresholds THa1 = 43, THa2 = 128, and THa3 = 210, all are determined to be halftone areas as shown in FIG. Of the 2 × 2 pixel processing areas, all areas with data value 0, areas with only 0 and 40 satisfy the halftone condition (D12), areas with only 40 and 140 satisfy the halftone condition (D11), and all This is because the region of 255 satisfies the halftone condition (D14). For the halftone area, the average value of the data values is quantized into four values by three threshold values THa1 to THa3.

伸張処理においては、中間調領域では4値に応じたデータ値に復号され、図31に示す画像A32が得られる。画像A32では2×2画素の処理領域単位で同じデータ値とされるため、エッジ部分に中間調の濃度を持つ領域が生じ、結果としてエッジ部分がボケてしまう。   In the decompression process, the halftone area is decoded into data values corresponding to the four values, and an image A32 shown in FIG. 31 is obtained. In the image A32, since the data value is the same for each processing region of 2 × 2 pixels, a region having a halftone density is generated in the edge portion, and as a result, the edge portion is blurred.

以上のように、本実施形態によれば、圧縮する画像とともに、アンチエイリアス処理されたことを示す制御信号が入力されると、画像圧縮変換部1は標準縮退圧縮による圧縮処理から、アンチエイリアス処理された画像用に2値化縮退圧縮による圧縮処理に切り替える。2値化縮退圧縮では、条件(C)又は条件(B2)を満たす領域を、アンチエイリアス処理された領域を含む画像領域とし、当該画像領域についてはmin又はMaxの2値の復号値が得られるように量子化する。画像伸張変換部2では、条件(C)を満たす画像領域については、BTC方式によりmin又はMaxの何れかのデータ値に復号し、条件(B2)を満たす画像領域については元の画像のデータ値が2値化されて作成された濃度パターンの予測によってmin又はMaxの2値のデータに復号するので、アンチエイリアス処理された領域を含む画像領域については復号値を2値化することが可能となる。2値化によってエッジ部分がボケたり、スクリーン処理されたときにジャギーが生じたりする等の画質劣化を抑えることができる。   As described above, according to the present embodiment, when the control signal indicating that the antialiasing process is performed together with the image to be compressed, the image compression conversion unit 1 is subjected to the antialiasing process from the compression process using the standard degeneration compression. Switch to compression processing by binarized compression for images. In the binarized compression, a region satisfying the condition (C) or the condition (B2) is set as an image region including an anti-aliased region, and a binary decoded value of min or Max is obtained for the image region. Quantize to The image extension conversion unit 2 decodes the image area satisfying the condition (C) into a data value of either min or Max by the BTC method, and the image area satisfying the condition (B2) is the data value of the original image. Is decoded into binary data of min or max by prediction of the density pattern created by binarizing the image, so that it becomes possible to binarize the decoded value for the image area including the anti-aliased area. . The binarization can suppress image quality deterioration such as blurring of the edge portion or jaggy when screen processing is performed.

すなわち、画像を8×8画素の一定領域毎に処理し、濃度差(Max-min)が閾値Tより大きい処理領域については、2×2画素毎に処理し、Max、minから求めた1つの閾値THa1より大きい画素が隣接する2×2画素の領域、又は1つの閾値THa1以下となる画素が隣接する2×2画素の領域をアンチエイリアス処理された領域を含む画像領域とし、当該画像領域については1つの閾値THa1を用いてBTC方式により2値00、11に量子化する。復号時には画像伸張変換部2が2値の量子00、11に対応する復号値min、Maxを出力する。これにより、復号したとき上述のようにアンチエイリアス処理された領域を含む画像領域を2値とすることができる。   That is, an image is processed for each fixed region of 8 × 8 pixels, and a processing region whose density difference (Max-min) is larger than the threshold T is processed for each 2 × 2 pixels, and one obtained from Max and min. An area of 2 × 2 pixels adjacent to a pixel larger than the threshold THa1 or an area of 2 × 2 pixels adjacent to a pixel equal to or lower than one threshold THa1 is defined as an image area including an antialiased area. Quantization is made into binary values 00 and 11 by the BTC method using one threshold THa1. At the time of decoding, the image expansion conversion unit 2 outputs decoded values min and Max corresponding to the binary quanta 00 and 11. As a result, the image area including the area subjected to the anti-aliasing processing as described above can be binarized when decoded.

また、8×8画素の一定領域毎に処理し、濃度差(Max-min)が閾値Tより大きい処理領域のうち、Max、minから求めた閾値THa1より大きい画素と、閾値THa1以下となる画素とが隣接して混在する2×2画素の領域については、高解像度領域と同様に2×2画素のデータ値を2値化して濃度パターンを作成し、濃度パターンの分類に対応する量子化データ値に量子化する。復号時には、画像伸張変換部2が周辺画素の復号値から濃度パターンを予測し、当該濃度パターンに対応する2値の復号値を出力する。これにより、復号したとき上述のようにアンチエイリアス処理された領域を含む画像領域を2値とすることができる。   Further, among the processing regions in which the density difference (Max-min) is larger than the threshold value T, processing is performed for each fixed region of 8 × 8 pixels, and pixels that are less than the threshold value THa1 and less than the threshold value THa1. As for the 2 × 2 pixel region in which the two are adjacent to each other, the density value is created by binarizing the data value of 2 × 2 pixels as in the high resolution region, and the quantized data corresponding to the classification of the density pattern Quantize to a value. At the time of decoding, the image expansion conversion unit 2 predicts the density pattern from the decoded values of the surrounding pixels, and outputs a binary decoded value corresponding to the density pattern. As a result, the image area including the area subjected to the anti-aliasing processing as described above can be binarized when decoded.

また、8×8画素の一定領域毎に処理し、濃度差(Max-min)が閾値Tより小さい処理領域を中間調領域と同様に量子化する。つまり、この8×8画素のデータ値を平均化した平均値と、Max、minから求めた3つの閾値THa1〜THa3を用いて、BTC方式により4値00、01、10、11に量子化する。復号時には、画像伸張変換部2が4値00、01、10、11に対応する復号値を出力する。これにより、階調性の維持を図ることができる。   Further, processing is performed for each fixed region of 8 × 8 pixels, and a processing region whose density difference (Max-min) is smaller than the threshold value T is quantized in the same manner as the halftone region. That is, the average value obtained by averaging the data values of 8 × 8 pixels and the three threshold values THa1 to THa3 obtained from Max and min are used to quantize the four values 00, 01, 10, and 11 by the BTC method. . At the time of decoding, the image expansion conversion unit 2 outputs decoded values corresponding to the four values 00, 01, 10, and 11. Thereby, it is possible to maintain gradation.

また、画像圧縮変換部1は、量子化の際に画像を量子化前より低解像度に解像度変換し、復号時に画像伸張変換部2が元の解像度に解像度変換する。すなわち、条件(D12)、条件(C)を満たす領域については、2×2画素のaij全てが同じ量子化データ値に量子化され、復号時に1画素のbijから2×2画素のaijに解像度変換し、2×2画素のaijに同じ復号値を割り当てる。一方、条件(B2)を満たす領域については、元の画像の解像度と同じ解像度の濃度パターンの2値(0、1)に対応する復号値min、Maxが出力される。これにより、圧縮処理した画像を保存するためのメモリ容量を削減することができる。   Further, the image compression conversion unit 1 converts the resolution of the image to a lower resolution than before the quantization at the time of quantization, and the image expansion conversion unit 2 converts the resolution to the original resolution at the time of decoding. That is, in the region satisfying the condition (D12) and the condition (C), all 2 × 2 pixels aij are quantized to the same quantized data value, and the resolution is changed from 1 pixel bij to 2 × 2 pixels aij at the time of decoding. The same decoded value is assigned to aij of 2 × 2 pixels. On the other hand, for the region satisfying the condition (B2), the decoded values min and Max corresponding to the binary (0, 1) of the density pattern having the same resolution as the resolution of the original image are output. Thereby, the memory capacity for storing the compressed image can be reduced.

また、画像圧縮変換部1は、アンチエイリアス処理されたことを示す制御信号が入力されない場合には、標準縮退圧縮による圧縮処理を適用する。標準縮退圧縮による圧縮処理では、8×8画素の一定領域毎に処理し、4つの中間調条件(D11)〜(D14)を満たす場合に中間調領域と判断して複数の閾値THa1〜THa3を用いて量子化を行う。また、高解像度条件(B1)を満たす場合には高解像度領域と判断して濃度パターンを用いた量子化を行う。これにより、中間調領域については階調性の維持を図り、高解像度領域については解像度の維持を図ることができる。   Further, the image compression conversion unit 1 applies compression processing by standard degeneracy compression when no control signal indicating that antialiasing processing has been performed is input. In compression processing by standard degeneracy compression, processing is performed for each fixed area of 8 × 8 pixels, and when the four halftone conditions (D11) to (D14) are satisfied, it is determined as a halftone area and a plurality of threshold values THa1 to THa3 are set. Use to quantize. In addition, when the high resolution condition (B1) is satisfied, it is determined as a high resolution region, and quantization using a density pattern is performed. Thereby, it is possible to maintain the gradation in the halftone area and maintain the resolution in the high resolution area.

なお、上記実施形態は本発明の好適な一例であり、これに限定されない。
例えば、上記実施形態では各画素につき、復号の際に全ての画像領域について量子化前の高解像度に解像度変換していたが、中間調領域や条件(A2)、(C)を満たす領域の画素については、伸張時に元の高解像度に解像度変換せずに低解像度のまま復号することとしてもよい。
In addition, the said embodiment is a suitable example of this invention, and is not limited to this.
For example, in the above-described embodiment, for each pixel, resolution conversion is performed to a high resolution before quantization for all image areas at the time of decoding, but pixels in areas that satisfy halftone areas and conditions (A2) and (C) With regard to the above, it is possible to perform decoding while maintaining the low resolution without converting the resolution to the original high resolution at the time of decompression.

また、差分データは復号に用いることができるものであれば、Max、minに限定されない。例えば、中間値であるTHa2とminのデータ値を差分データとして保持し、このTHa2、minのデータ値から復号に必要な他のデータ値Max、THa1、THa3等を算出することとしてもよい。   The difference data is not limited to Max and min as long as it can be used for decoding. For example, data values of THa2 and min that are intermediate values may be held as difference data, and other data values Max, THa1, THa3, and the like necessary for decoding may be calculated from the data values of THa2 and min.

また、上記実施形態では外部PC200から入力されたデータから生成した画像の例を挙げて圧縮伸張の処理方法を説明したが、読取部12で読み取られた画像をコントローラ20に入力し、同様に処理することとしてもよい。   In the above-described embodiment, the compression / expansion processing method has been described by using an example of an image generated from data input from the external PC 200. However, an image read by the reading unit 12 is input to the controller 20 and processed in the same manner. It is good to do.

また、MFP以外にも画像処理を行うコンピュータ装置において本発明を適用することが可能である。また、上述した圧縮及び伸張の処理をプログラム化し、当該プログラムを用いてソフトウェアによる画像処理を行うこととしてもよい。この場合、プログラムのコンピュータ読み取り可能な媒体としては、ROM、フラッシュメモリ等の不揮発性メモリ、CD-ROM等の可搬型記録媒体を適用することが可能である。
また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウエーブ(搬送波)も本発明に適用される。
In addition to the MFP, the present invention can be applied to a computer apparatus that performs image processing. Further, the above-described compression and decompression processing may be programmed and image processing by software may be performed using the program. In this case, as a computer-readable medium for the program, a non-volatile memory such as a ROM and a flash memory, and a portable recording medium such as a CD-ROM can be applied.
Further, a carrier wave (carrier wave) is also applied to the present invention as a medium for providing program data according to the present invention via a communication line.

本実施形態におけるMFPの機能的構成を示す図である。FIG. 2 is a diagram illustrating a functional configuration of an MFP according to the present embodiment. 図1の画像処理部のうち、圧縮、伸張の処理時に主に機能する構成部分を示す図である。It is a figure which shows the component which mainly functions at the time of the process of compression and expansion | extension among the image processing parts of FIG. 圧縮時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of compression. 圧縮処理前後の元画像と処理画像である。These are the original image and the processed image before and after the compression process. 処理画像のデータ構成である。It is a data structure of a process image. 標準縮退圧縮による圧縮処理を示すフローチャートである。It is a flowchart which shows the compression process by standard compression compression. 中間調条件処理を示すフローチャートである。It is a flowchart which shows a halftone condition process. 標準縮退圧縮の圧縮処理において、中間調領域に適用される量子化の条件を示す図である。It is a figure which shows the conditions of the quantization applied to a halftone area | region in the compression process of standard degeneration compression. 高解像度条件処理を示すフローチャートである。It is a flowchart which shows a high resolution condition process. 濃度パターンと量子化する量子との対応関係を示す図である。It is a figure which shows the correspondence of a density pattern and the quantum to quantize. 2値化縮退圧縮による圧縮処理のフローチャートである。It is a flowchart of the compression process by the binarization compression compression. 2値化縮退圧縮の圧縮処理において、領域によって適用される量子化の条件を示す図である。It is a figure which shows the conditions of the quantization applied by the area | region in the compression process of binarization compression. 伸張処理を示すフローチャートである。It is a flowchart which shows an expansion | extension process. 伸張処理前後の処理画像と元画像である。The processed image and the original image before and after the decompression process. 中間調復号処理を示すフローチャートである。It is a flowchart which shows a halftone decoding process. 伸張処理において、中間調領域、アンチエイリアス処理された画像領域に適用される復号化の条件を示す図である。It is a figure which shows the conditions of the decoding applied to the halftone area | region and the image area | region by which the anti-aliasing process was carried out in the expansion | extension process. 高解像度復号処理を示すフローチャートである。It is a flowchart which shows a high resolution decoding process. 濃度パターンH0の予測処理を示すフローチャートである。It is a flowchart which shows the prediction process of the density pattern H0. 予測される濃度パターンと復号条件を示す図である。It is a figure which shows the density | concentration pattern estimated and decoding conditions. 予測に用いるテンプレートと予測される濃度パターンとの対応関係を示す図である。It is a figure which shows the correspondence of the template used for prediction, and the density | concentration pattern estimated. 予測に用いるテンプレートと予測される濃度パターンとの対応関係を示す図である。It is a figure which shows the correspondence of the template used for prediction, and the density | concentration pattern estimated. 予測に用いるテンプレートと予測される濃度パターンとの対応関係を示す図である。It is a figure which shows the correspondence of the template used for prediction, and the density | concentration pattern estimated. 予測に用いるテンプレートと予測される濃度パターンとの対応関係を示す図である。It is a figure which shows the correspondence of the template used for prediction, and the density | concentration pattern estimated. 予測に用いるテンプレートと予測される濃度パターンとの対応関係を示す図である。It is a figure which shows the correspondence of the template used for prediction, and the density | concentration pattern estimated. 予測に用いるテンプレートと予測される濃度パターンとの対応関係を示す図である。It is a figure which shows the correspondence of the template used for prediction, and the density | concentration pattern estimated. 元画像と予測に用いるテンプレートとの関係を示す図である。It is a figure which shows the relationship between the template used for an original image and prediction. 元画像と予測に用いるテンプレートとの関係を示す図である。It is a figure which shows the relationship between the template used for an original image and prediction. 標準縮退圧縮による圧縮及び伸張の処理結果を示す図である。It is a figure which shows the processing result of the compression and expansion | extension by standard compression compression. 標準縮退圧縮による圧縮及び伸張の処理結果を示す図である。It is a figure which shows the processing result of the compression and expansion | extension by standard compression compression. 2値化縮退圧縮による圧縮及び伸張の処理結果を示す図である。It is a figure which shows the process result of the compression and expansion | extension by binary reduction compression. アンチエイリアス処理された画像に対する、2値化縮退圧縮による圧縮及び伸張の処理内容、処理結果を示す図である。It is a figure which shows the processing content of a compression and expansion | extension by the binarization compression compression, and a process result with respect to the image by which the anti-aliasing process was carried out. アンチエイリアス処理された画像に対する、標準縮退圧縮による圧縮及び伸張の処理内容、処理結果を示す図である。It is a figure which shows the processing content of the compression and expansion | extension by standard compression compression, and a process result with respect to the image by which the anti-aliasing process was carried out.

符号の説明Explanation of symbols

100 MFP
10 画像処理部
1 画像圧縮変換部
2 画像伸張変換部
11 制御部
12 読取部
13 操作部
14 表示部
15 記憶部
16 画像メモリ
17 印刷装置
100 MFP
DESCRIPTION OF SYMBOLS 10 Image processing part 1 Image compression conversion part 2 Image expansion conversion part 11 Control part 12 Reading part 13 Operation part 14 Display part 15 Storage part 16 Image memory 17 Printing apparatus

Claims (22)

圧縮する多値の画像とともに、当該画像がアンチエイリアス処理されたことを示す制御信号が入力されると、アンチエイリアス処理された画像用の圧縮処理に切り替え、当該画像のうちアンチエイリアス処理された領域を含む画像領域については、伸張後の画像のデータ値を2値とする量子化を行う画像圧縮変換部を備え
前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記アンチエイリアス処理された領域を含む画像領域のうち、前記アンチエイリアス処理された画像領域については、1つの閾値を用いて2値に量子化する画像処理装置。
When a control signal indicating that the image has been anti-aliased is input together with the multi-value image to be compressed, the image is switched to compression processing for the anti-aliased image, and the image including the anti-aliased region of the image The area includes an image compression conversion unit that performs quantization by converting the data value of the decompressed image to binary ,
In the compression processing for the anti-aliased image, the image compression conversion unit uses a single threshold value for the image region subjected to the anti-aliasing among the image regions including the anti-aliased region. the image processing apparatus you quantized.
前記画像圧縮変換部は、前記画像の量子化を行う際に、当該画像を量子化前より低解像度に解像度変換する請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the image compression conversion unit converts the resolution of the image to a lower resolution than before the quantization when the image is quantized. 前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域を、アンチエイリアス処理された画像領域として、当該画像領域について第2閾値を用いてBTC方式により量子化する請求項2に記載の画像処理装置。 In the compression processing for the anti-aliased image, the image compression conversion unit processes the image for each predetermined region, and among the processing regions in which the density difference is larger than the first threshold, pixels larger than the second threshold are adjacent. The image processing apparatus according to claim 2, wherein an area to be processed or an area adjacent to pixels smaller than the second threshold is used as an anti-aliased image area , and the image area is quantized by the BTC method using the second threshold. 前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域を、アンチエイリアス処理された領域を含む画像領域として、当該画像領域の各画素が持つデータ値を2値化した濃度パターンを作成し、この濃度パターンの分類に応じて量子化する請求項2又は3に記載の画像処理装置。   The image compression conversion unit processes the image for each predetermined region in the compression processing for the anti-aliased image, and among the processing regions in which the density difference is larger than the first threshold, A region where pixels smaller than two thresholds are adjacently mixed is used as an image region including an anti-aliased region, and a density pattern is created by binarizing the data value of each pixel of the image region. The image processing apparatus according to claim 2, wherein the image processing apparatus performs quantization according to the classification. 前記画像圧縮変換部は、前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より小さい処理領域については、第2閾値を含む複数の閾値を用いてBTC方式により量子化する請求項2〜4の何れか一項に記載の画像処理装置。   The image compression conversion unit processes the image for each predetermined region in the compression processing for the anti-aliased image, and a processing region having a density difference smaller than the first threshold includes a plurality of thresholds including a second threshold. The image processing apparatus according to claim 2, wherein the image is quantized using a BTC method. 前記画像圧縮変換部は、前記濃度差が第1閾値より小さい処理領域の各画素が持つデータ値を平均化した平均値に対し、前記複数の閾値を用いた量子化を行う請求項5に記載の画像処理装置。   The said image compression conversion part performs the quantization using these threshold values with respect to the average value which averaged the data value which each pixel of the process area | region where the said density | concentration difference is smaller than a 1st threshold value has. Image processing apparatus. 請求項3に記載の画像処理装置によって量子化された画像を復号し、伸張する画像伸張変換部を備え、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域については、BTC方式による復号を行って2値の復号値を出力する画像処理装置。
An image expansion conversion unit that decodes and expands an image quantized by the image processing apparatus according to claim 3,
In the original image before quantization, the image extension conversion unit is configured to process a region where a pixel having a density difference larger than the first threshold is adjacent to a region where pixels larger than the second threshold are adjacent or pixels smaller than the second threshold are adjacent. Is an image processing apparatus that performs decoding by the BTC method and outputs a binary decoded value.
前記画像伸張変換部は、前記量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該領域の各画素に復号値を割り当てる請求項7に記載の画像処理装置。   In the original image before quantization, the image expansion conversion unit includes a region where pixels larger than the second threshold are adjacent, or a region where pixels smaller than the second threshold are adjacent among processing regions where the density difference is larger than the first threshold. The image processing apparatus according to claim 7, wherein resolution is converted to the same resolution as before quantization, and a decoded value is assigned to each pixel in the region after resolution conversion. 請求項4に記載の画像処理装置によって量子化された画像を復号し、伸張する画像伸張変換部を備え、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域については、当該領域について量子化の際に作成された濃度パターンを予測し、予測された濃度パターンに対応する2値の復号値を、解像度変換後の当該領域の各画素に割り当てる画像処理装置。
An image expansion conversion unit that decodes and expands an image quantized by the image processing apparatus according to claim 4,
In the original image before quantization, the image expansion conversion unit is configured to process a region in which pixels larger than the second threshold and pixels smaller than the second threshold are adjacently mixed among the processing regions where the density difference is larger than the first threshold. Is an image processing apparatus that predicts a density pattern created at the time of quantization for the area and assigns a binary decoded value corresponding to the predicted density pattern to each pixel in the area after resolution conversion.
請求項5に記載の画像処理装置によって量子化された画像を復号し、伸張する画像伸張変換部を備え、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より小さい処理領域については、BTC方式により復号する画像処理装置。
An image expansion / conversion unit that decodes and expands an image quantized by the image processing apparatus according to claim 5,
The image expansion conversion unit is an image processing device that decodes a processing region having a density difference smaller than a first threshold in an original image before quantization using a BTC method.
前記画像伸張変換部は、前記濃度差が第1閾値より小さい処理領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該処理領域の各画素に復号値を割り当てる請求項10に記載の画像処理装置。   The image expansion conversion unit decodes a processing area in which the density difference is smaller than a first threshold, performs resolution conversion to the same resolution as before quantization, and decodes each pixel in the processing area after resolution conversion. The image processing apparatus according to claim 10, wherein a value is assigned. 圧縮する多値の画像とともに、当該画像がアンチエイリアス処理されたことを示す制御信号が入力されると、アンチエイリアス処理された画像用の圧縮処理に切り替え、当該画像のうちアンチエイリアス処理された領域を含む画像領域については、伸張後の画像のデータ値を2値とする量子化を行い、
前記アンチエイリアス処理された画像用の圧縮処理において、前記アンチエイリアス処理された領域を含む画像領域のうち、前記アンチエイリアス処理された画像領域については、1つの閾値を用いて2値に量子化する圧縮方法。
When a control signal indicating that the image has been anti-aliased is input together with the multi-value image to be compressed, the image is switched to compression processing for the anti-aliased image, and the image including the anti-aliased region of the image the region, have rows quantization to binary data values of the image after decompression,
In the compression processing for an anti-aliased image, a compression method of quantizing the anti-aliased image region into a binary value using one threshold value among image regions including the anti-aliased region .
前記画像の量子化を行う際に、当該画像を量子化前より低解像度に解像度変換する請求項12に記載の圧縮方法。   The compression method according to claim 12, wherein when the image is quantized, the resolution of the image is converted to a lower resolution than before the quantization. 前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域を、アンチエイリアス処理された画像領域として、当該画像領域について第2閾値を用いてBTC方式により量子化する請求項13に記載の圧縮方法。 In the compression processing for the anti-aliased image, the image is processed for each predetermined region, and among the processing regions in which the density difference is larger than the first threshold, pixels larger than the second threshold are adjacent to each other or from the second threshold. 14. The compression method according to claim 13, wherein an area adjacent to a small pixel is used as an anti-aliased image area , and the image area is quantized by the BTC method using a second threshold. 前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域を、アンチエイリアス処理された領域を含む画像領域として、当該画像領域の各画素が持つデータ値を2値化した濃度パターンを作成し、この濃度パターンの分類に応じて量子化する請求項13又は14に記載の圧縮方法。   In the compression processing for the anti-aliased image, the image is processed for each fixed region, and among the processing regions where the density difference is larger than the first threshold, there are pixels larger than the second threshold and pixels smaller than the second threshold. Create a density pattern that binarizes the data values of each pixel in the image area, using the adjacent mixed area as an image area including the anti-aliased area, and quantize according to the density pattern classification The compression method according to claim 13 or 14. 前記アンチエイリアス処理された画像用の圧縮処理において、前記画像を一定領域毎に処理し、濃度差が第1閾値より小さい処理領域については、第2閾値を含む複数の閾値を用いてBTC方式により量子化する請求項13〜15の何れか一項に記載の圧縮方法。   In the compression process for the anti-aliased image, the image is processed for each fixed region, and a processing region having a density difference smaller than the first threshold is quantized by a BTC method using a plurality of thresholds including the second threshold. The compression method according to any one of claims 13 to 15. 前記濃度差が第1閾値より小さい処理領域の各画素が持つデータ値を平均化した平均値に対し、前記複数の閾値を用いた量子化を行う請求項16に記載の圧縮方法。   The compression method according to claim 16, wherein quantization using the plurality of threshold values is performed on an average value obtained by averaging data values of pixels in a processing region in which the density difference is smaller than a first threshold value. 請求項14に記載の圧縮方法によって量子化された画像を復号し、伸張する伸張方法であって、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域については、BTC方式による復号を行って2値の復号値を出力する伸張方法。
A decompression method for decoding and decompressing an image quantized by the compression method according to claim 14,
In the original image before quantization, the image extension conversion unit is configured to process a region where a pixel having a density difference larger than the first threshold is adjacent to a region where pixels larger than the second threshold are adjacent or pixels smaller than the second threshold are adjacent. Is a decompression method that performs decoding by the BTC method and outputs a binary decoded value.
前記量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素が隣接する領域又は第2閾値より小さい画素が隣接する領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該領域の各画素に復号値を割り当てる請求項18に記載の伸張方法。   In the original image before quantization, out of the processing areas where the density difference is larger than the first threshold, the area where pixels larger than the second threshold are adjacent or the area where pixels smaller than the second threshold are adjacent is decoded and resolution is increased. 19. The expansion method according to claim 18, wherein conversion is performed to obtain the same resolution as before quantization, and a decoded value is assigned to each pixel in the region after resolution conversion. 請求項15に記載の圧縮方法によって量子化された画像を復号し、伸張する伸張方法であって、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より大きい処理領域のうち、第2閾値より大きい画素と第2閾値より小さい画素とが隣接して混在する領域については、当該領域について量子化の際に作成された濃度パターンを予測し、予測された濃度パターンに対応する2値の復号値を、解像度変換後の当該領域の各画素に割り当てる伸張方法。
A decompression method for decoding and decompressing an image quantized by the compression method according to claim 15,
In the original image before quantization, the image expansion conversion unit is configured to process a region in which pixels larger than the second threshold and pixels smaller than the second threshold are adjacently mixed among the processing regions where the density difference is larger than the first threshold. Is a decompression method that predicts a density pattern created at the time of quantization for the area and assigns a binary decoded value corresponding to the predicted density pattern to each pixel in the area after resolution conversion.
請求項16に記載の圧縮方法によって量子化された画像を復号し、伸張する伸張方法であって、
前記画像伸張変換部は、量子化前の元の画像において濃度差が第1閾値より小さい処理領域については、BTC方式により復号する伸張方法。
A decompression method for decoding and decompressing an image quantized by the compression method according to claim 16,
The image decompression conversion unit is a decompression method that decodes a processing region having a density difference smaller than a first threshold in an original image before quantization by a BTC method.
前記濃度差が第1閾値より小さい処理領域の復号を行うとともに、解像度変換を行って量子化前と同一の解像度とし、解像度変換後の当該処理領域の各画素に復号値を割り当てる請求項21に記載の伸張方法。   23. The decoding of a processing region whose density difference is smaller than a first threshold, performing resolution conversion to the same resolution as before quantization, and assigning a decoding value to each pixel of the processing region after resolution conversion The described stretching method.
JP2008208401A 2008-08-13 2008-08-13 Image processing apparatus, compression method and decompression method Expired - Fee Related JP5181916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008208401A JP5181916B2 (en) 2008-08-13 2008-08-13 Image processing apparatus, compression method and decompression method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008208401A JP5181916B2 (en) 2008-08-13 2008-08-13 Image processing apparatus, compression method and decompression method

Publications (2)

Publication Number Publication Date
JP2010045611A JP2010045611A (en) 2010-02-25
JP5181916B2 true JP5181916B2 (en) 2013-04-10

Family

ID=42016611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008208401A Expired - Fee Related JP5181916B2 (en) 2008-08-13 2008-08-13 Image processing apparatus, compression method and decompression method

Country Status (1)

Country Link
JP (1) JP5181916B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH082083B2 (en) * 1987-06-08 1996-01-10 富士通株式会社 Multi-level image block coding device
JPH10173914A (en) * 1996-12-13 1998-06-26 Minolta Co Ltd Image forming device
US6167166A (en) * 1998-03-23 2000-12-26 Xerox Corporation Method to enable the recognition and rendering of antialiased images
JP2002190956A (en) * 2000-12-22 2002-07-05 Fuji Xerox Co Ltd Image encoding equipment and image decoding equipment
JP2006197074A (en) * 2005-01-12 2006-07-27 Fuji Xerox Co Ltd Image processor, image processing method, and its program

Also Published As

Publication number Publication date
JP2010045611A (en) 2010-02-25

Similar Documents

Publication Publication Date Title
JP4548528B2 (en) Image processing apparatus and edge classification method
JP5029560B2 (en) Image processing apparatus, compression method and decompression method
JP5132517B2 (en) Image processing apparatus and image processing method
JP4424404B2 (en) Compression method, decompression method, and image processing apparatus
JP2015015700A (en) Image processing apparatus and method thereof
US20060274332A1 (en) Image processing system, a method thereof, and a recording medium thereof
US8228561B2 (en) Method and system for selective bitmap edge smoothing
US8611681B2 (en) Image processing apparatus and image processing method for encoding density pattern information in attribute data
JP5212294B2 (en) Image processing apparatus and image processing method
US6437872B1 (en) Multibit screening of print documents in a PDL environment
US7460158B2 (en) Recording material consumption control for an image forming apparatus
JP4377249B2 (en) Ink consumption reduction error diffusion
JP5181916B2 (en) Image processing apparatus, compression method and decompression method
JP7077451B2 (en) Image forming apparatus and control method of image forming apparatus, and program
JP2010118760A (en) Image processing apparatus
JP2015149719A (en) Digital image halftone conversion with selective enhancement
JP4137067B2 (en) Image processing method and apparatus
JP4259410B2 (en) Image processing device
JP2004350182A (en) Data processing apparatus, data file, data processing method, and program
JP4636145B2 (en) Image processing apparatus and program
JP4584805B2 (en) Image processing apparatus, image processing method, and image processing program
JP6521650B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, AND PROGRAM
JP2007088968A (en) Output system
JP2009171034A (en) Image processor, encoding method, and decoding method
JP2016127346A (en) Image processing apparatus, image forming apparatus, method for controlling image processing apparatus, and control program of image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120404

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120404

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: 20121218

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121231

R150 Certificate of patent or registration of utility model

Ref document number: 5181916

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160125

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees