JP5457853B2 - Image encoding apparatus, image encoding method, program, and storage medium - Google Patents

Image encoding apparatus, image encoding method, program, and storage medium Download PDF

Info

Publication number
JP5457853B2
JP5457853B2 JP2010010367A JP2010010367A JP5457853B2 JP 5457853 B2 JP5457853 B2 JP 5457853B2 JP 2010010367 A JP2010010367 A JP 2010010367A JP 2010010367 A JP2010010367 A JP 2010010367A JP 5457853 B2 JP5457853 B2 JP 5457853B2
Authority
JP
Japan
Prior art keywords
pixel
encoded
pixel value
image
value
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
JP2010010367A
Other languages
Japanese (ja)
Other versions
JP2011151555A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2010010367A priority Critical patent/JP5457853B2/en
Publication of JP2011151555A publication Critical patent/JP2011151555A/en
Application granted granted Critical
Publication of JP5457853B2 publication Critical patent/JP5457853B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は画像符号化技術に関する。   The present invention relates to an image encoding technique.

従来より、画像を固定長符号化する方法には様々なものがあった。例えば特許文献1及び特許文献2には、文字や線のような高周波成分を表す解像情報と、その他の成分を表す階調情報とに画像データを分離し、それぞれの情報を符号化する方法が開示されている。また特許文献3には、画像を2値化し、それぞれの画素が何れの値を有するかを示す識別情報の情報量を所定のルールに従って減らすことにより、画像を固定長符号化する方法が開示されている。   Conventionally, there have been various methods for encoding an image with a fixed length. For example, Patent Literature 1 and Patent Literature 2 describe a method of separating image data into resolution information representing high-frequency components such as characters and lines and gradation information representing other components, and encoding each information. Is disclosed. Patent Document 3 discloses a method of encoding an image with a fixed length by binarizing the image and reducing the amount of identification information indicating which value each pixel has according to a predetermined rule. ing.

一方で、符号化しようとする画像の特性により、最適な符号化方式は異なる。特に画像を複数のブロックに分割し、各ブロックに対して符号化を行う場合、同一の符号化方式を画像内の各ブロックに適用しても最適な結果は得られない。例えば特許文献1には、各画素を、大きい画素値を持つ画素群と、小さい画素値を持つ画素群とに分け、各画素群の平均画素値の差に応じて符号化処理を選択する技術が開示されている。   On the other hand, the optimum encoding method differs depending on the characteristics of the image to be encoded. In particular, when an image is divided into a plurality of blocks and encoding is performed on each block, an optimum result cannot be obtained even if the same encoding method is applied to each block in the image. For example, Patent Document 1 discloses a technique in which each pixel is divided into a pixel group having a large pixel value and a pixel group having a small pixel value, and an encoding process is selected according to the difference in the average pixel value of each pixel group. Is disclosed.

特開2008−278042号公報JP 2008-278042 A 特開2009−17502号公報JP 2009-17502 A 特開2009−5017号公報JP 2009-5017 A

画像の特性に適した符号化を行うためには、様々な符号化処理の選択技術を開発することが求められる。特許文献1のような、各画素群の平均画素値の差に応じて符号化処理を選択する方法だけではなく、画像の他の特性に応じた符号化処理の選択方法を提供することにより、符号化処理の選択技術をより高度にすることができる。   In order to perform encoding suitable for the characteristics of an image, it is required to develop various selection techniques for encoding processing. By providing not only a method for selecting an encoding process according to the difference between the average pixel values of each pixel group as in Patent Document 1, but also a method for selecting an encoding process according to other characteristics of the image, The selection technique of the encoding process can be made more sophisticated.

本発明は、画像の特性に応じた、適切な符号化方法の選択技術を提供することを目的とする。   An object of the present invention is to provide a technique for selecting an appropriate encoding method according to the characteristics of an image.

本発明の目的を達成するために、例えば、本発明の画像符号化装置は以下の構成を備える。すなわち、
画像を符号化し、該符号化した画像を含む固定長符号化データを出力する画像符号化装置であって、
処理対象画像を取得する入力手段と、
前記処理対象画像において、画素値が第1の閾値以上でありかつ第2の閾値以下である画素を対象画素とし、該対象画素の前記処理対象画像中における位置を示す位置情報を生成する生成手段と、
前記位置情報を可逆符号化して符号化位置データを生成する位置符号化手段と、
前記符号化位置データの情報量が第3の閾値以下の場合、前記処理対象画像から、第1の符号量を有する第1の符号化階調データを生成し、かつ前記第1の符号化階調データを復号して得られる画像中における前記対象画素の画素値を修正するために用いる画素値情報を生成する第1の階調符号化手段と、
前記符号化位置データの情報量が前記第3の閾値以下の場合、前記第1の符号化階調データと、前記画素値情報と、前記符号化位置データと、を含む固定長符号化データを出力する第1の出力手段と、
前記符号化位置データの情報量が前記第3の閾値を超える場合、前記処理対象画像から、第2の符号量を有する第2の符号化階調データを生成する第2の階調符号化手段と、
前記符号化位置データの情報量が前記第3の閾値を超える場合、前記第2の符号化階調データを含む固定長符号化データを出力する第2の出力手段とを備え、
前記第1及び前記第2の符号量は、前記固定長符号化データが所定の固定長となるように定められ、前記第2の符号量は前記第1の符号量よりも大きいことを特徴とする。
In order to achieve the object of the present invention, for example, an image encoding apparatus of the present invention comprises the following arrangement. That is,
An image encoding device that encodes an image and outputs fixed-length encoded data including the encoded image,
An input means for acquiring a processing target image;
Generation means for generating, in the processing target image, a pixel whose pixel value is not less than a first threshold value and not more than a second threshold value, and generating position information indicating a position of the target pixel in the processing target image When,
Position encoding means for reversibly encoding the position information to generate encoded position data;
When the information amount of the encoded position data is equal to or less than a third threshold, first encoded gradation data having a first code amount is generated from the processing target image, and the first encoding level is generated. First gradation encoding means for generating pixel value information used for correcting the pixel value of the target pixel in an image obtained by decoding the key data;
When the information amount of the encoded position data is equal to or smaller than the third threshold, fixed-length encoded data including the first encoded gradation data, the pixel value information, and the encoded position data First output means for outputting;
Second gradation encoding means for generating second encoded gradation data having a second code amount from the processing target image when the information amount of the encoded position data exceeds the third threshold value When,
A second output means for outputting fixed-length encoded data including the second encoded gradation data when the information amount of the encoded position data exceeds the third threshold;
The first code amount and the second code amount are determined so that the fixed-length encoded data has a predetermined fixed length, and the second code amount is larger than the first code amount. To do.

画像の特性に応じて、適切な符号化方法を選択できる。   An appropriate encoding method can be selected according to the characteristics of the image.

実施例1に係る画像符号化装置の一例を示すブロック図。1 is a block diagram illustrating an example of an image encoding device according to Embodiment 1. FIG. ステップS603の詳細を示すフローチャート。The flowchart which shows the detail of step S603. 半透明部分のパターンの一例を示す図。The figure which shows an example of the pattern of a semi-transparent part. 画素値のヒストグラムの一例を示す図。The figure which shows an example of the histogram of a pixel value. 実施例1に係る固定長符号のフォーマットを示す図。FIG. 3 is a diagram illustrating a fixed-length code format according to the first embodiment. 実施例1の処理に係るフローチャート。3 is a flowchart according to the process of the first embodiment. 実施例3に係るコンピュータの構成の一例を示すブロック図。FIG. 10 is a block diagram illustrating an example of a configuration of a computer according to a third embodiment.

以下、本発明の実施例を図面に基づいて説明する。ただし、本発明の範囲は以下の実施例に限定されるものではない。
[実施例1]
図1は本実施例に係る画像符号化装置の一例を示すブロック図である。ブロック化部101は、入力画像を取得して、予め決められたサイズのブロックに分割する。以降、ブロックに分割された画像はブロック画像(処理対象画像)と呼ばれる。本実施例では説明のため、ブロック画像の各画素は1つの画素値を有するものとする。例えば、入力画像がRGB画像として入力された場合、Rプレーンのブロック画像、Gプレーンのブロック画像、及びBプレーンのブロック画像が生成されてもよい。当業者には明らかなようにブロック画像はRGB画像であってもよいが、説明を簡単にするために詳細は省略される。本実施例ではブロックのサイズを16×16、画素値のデータ幅を8ビット、各ブロックに含まれる最大の画素値をCmax、最小の画素値をCminとする。
Embodiments of the present invention will be described below with reference to the drawings. However, the scope of the present invention is not limited to the following examples.
[Example 1]
FIG. 1 is a block diagram illustrating an example of an image encoding apparatus according to the present embodiment. The blocking unit 101 acquires an input image and divides it into blocks having a predetermined size. Hereinafter, an image divided into blocks is referred to as a block image (processing target image). In the present embodiment, for the sake of explanation, each pixel of the block image has one pixel value. For example, when an input image is input as an RGB image, an R-plane block image, a G-plane block image, and a B-plane block image may be generated. As will be apparent to those skilled in the art, the block image may be an RGB image, but details are omitted for ease of explanation. In this embodiment, the block size is 16 × 16, the pixel value data width is 8 bits, the maximum pixel value included in each block is Cmax, and the minimum pixel value is Cmin.

抽出部102は、1つのブロック画像の各画素を、抽出画素と非抽出画素とに分離する(生成手段)。分離方法については後述する。そして、ブロック画像中(処理対象画像中)における抽出画素の位置を示す位置データを生成する。例えば位置データは、ブロック画像と同じサイズ、すなわち16×16画素の二値画像として生成されてもよい。この二値画像の画素値は、ブロック画像における対応する画素が抽出画素であれば「1」であればよく、ブロック画像における対応する画素が非抽出画素であれば「0」であればよい。本実施例では位置データを可逆符号化するため、抽出画素の位置は復号後にもよく保存される。   The extraction unit 102 separates each pixel of one block image into an extracted pixel and a non-extracted pixel (generation unit). The separation method will be described later. Then, position data indicating the position of the extracted pixel in the block image (in the processing target image) is generated. For example, the position data may be generated as a binary image having the same size as the block image, that is, 16 × 16 pixels. The pixel value of the binary image may be “1” if the corresponding pixel in the block image is an extracted pixel, and may be “0” if the corresponding pixel in the block image is a non-extracted pixel. In the present embodiment, since the position data is losslessly encoded, the position of the extracted pixel is well preserved after decoding.

位置符号化部103は、抽出部102が生成した位置データを符号化する(位置符号化手段)。位置符号化部103は、位置データを可逆圧縮する符号化器であってもよい。位置符号化部103が行う符号化は、可変長符号化であってもよい。本実施例では位置符号化部103は2値のブロックデータを圧縮するため、例えばランレングス符号化やハフマン符号化など公知の符号化方法を用いることができる。さらに位置符号化部103は、生成された符号化位置データが所定の閾値を超えるか否かを判断することにより、二色化部104を用いて符号化を行うか、置換部105及び階調符号化部106を用いて符号化を行うかを決定する。この処理については後述される。   The position encoding unit 103 encodes the position data generated by the extraction unit 102 (position encoding unit). The position encoder 103 may be an encoder that performs lossless compression of position data. The encoding performed by the position encoding unit 103 may be variable length encoding. In the present embodiment, since the position encoding unit 103 compresses binary block data, a known encoding method such as run length encoding or Huffman encoding can be used. Further, the position encoding unit 103 performs encoding using the dichroic unit 104 by determining whether or not the generated encoded position data exceeds a predetermined threshold value, or replaces the replacement unit 105 and the gradation. It is determined whether to perform encoding using the encoding unit 106. This process will be described later.

二色化部104は、ブロック画像に対して二色化を行い、二色化したブロック画像を符号化して符号化二色データ(第2の符号化階調データ)を生成する(第2の階調符号化手段)。置換部105は、抽出部102の処理結果に応じて、抽出画素の画素値を変更し、ブロック画像の高周波成分を抑圧した階調画像を生成する。これらの各部の処理については後述される。   The dichroic unit 104 performs dichroization on the block image, encodes the dichroic block image, and generates encoded dichroic data (second encoded gradation data) (second encoding data) Gradation encoding means). The replacement unit 105 changes the pixel value of the extracted pixel according to the processing result of the extraction unit 102, and generates a gradation image in which the high-frequency component of the block image is suppressed. The processing of each of these units will be described later.

階調符号化部106は、階調画像を符号化して符号化階調データ(第1の符号化階調データ)を生成する(第1の階調符号化手段)。階調符号化部106は多値のブロック画像を圧縮するため、例えばJPEGのような公知の直交変換を用いた符号化を行えばよい。出力部107は、位置符号化部103により生成された符号化位置データと、階調符号化部106により生成された符号化階調データを用いて、固定長符号化データ108を生成する(第2の出力手段)。また出力部109は、二色化部104により生成された二色化データ、又は階調符号化部106により生成された符号化階調データを用いて、固定長符号化データ110を生成する(第1の出力手段)。出力部107及び出力部109が出力した固定長符号化データ108及び固定長符号化データ110の集合は、非図示の出力部によって整列され、入力画像100の符号化結果として出力される(第3の出力手段)。出力部107及び出力部109の処理については後述される。   The gradation encoding unit 106 encodes the gradation image to generate encoded gradation data (first encoded gradation data) (first gradation encoding means). The gradation encoding unit 106 may perform encoding using a known orthogonal transform such as JPEG in order to compress a multi-value block image. The output unit 107 generates fixed-length encoded data 108 using the encoded position data generated by the position encoder 103 and the encoded gradation data generated by the gradation encoder 106 (first). 2 output means). The output unit 109 generates fixed-length encoded data 110 using the dichroic data generated by the dichroic unit 104 or the encoded gradation data generated by the gradation encoding unit 106 ( First output means). A set of the fixed-length encoded data 108 and the fixed-length encoded data 110 output from the output unit 107 and the output unit 109 is aligned by an output unit (not shown) and output as the encoding result of the input image 100 (third). Output means). The processing of the output unit 107 and the output unit 109 will be described later.

ここで、本実施例において用いられる符号化方法について説明する。本実施例では、差分モード、置換モード、階調モード、二色化モードの4種類の符号化方法を用いる。しかしながら、一部の符号化方法は使われなくてもよい。例えば、二色化モードと階調モードのみを用いてもよい。以下で、各符号化方法を詳細に説明する。   Here, the encoding method used in the present embodiment will be described. In this embodiment, four types of encoding methods are used: a difference mode, a replacement mode, a gradation mode, and a dichroic mode. However, some encoding methods may not be used. For example, only the dichroic mode and the gradation mode may be used. Below, each encoding method is demonstrated in detail.

(1)差分モード
データフォーマットを図5(A)に示す。差分モードでの符号化データは、ヘッダと、抽出色データ(画素値情報)と、符号化位置データと、符号化階調データとを含む。このモードにおいて、置換部105が出力する階調画像は、ブロック画像に含まれる抽出画素の画素値から一定値を減算することにより得られる画像である。また、抽出色データはこの一定値を示す。この一定値は、抽出画素の代表的な画素値と、非抽出画素の代表的な画素値との差分であるのがよい。例えばこの一定値は、抽出画素の画素値の平均値と、非抽出画素の画素値の平均値との差分であればよい。この抽出色データは、符号化階調データを復号して得られる画像中における、抽出画素の画素値を修正するために用いられる。抽出色データは負の値を示してもよい。ヘッダは、このデータが差分モードで符号化されていることを示すことができる。
(1) Differential mode The data format is shown in FIG. The encoded data in the differential mode includes a header, extracted color data (pixel value information), encoded position data, and encoded gradation data. In this mode, the gradation image output from the replacement unit 105 is an image obtained by subtracting a certain value from the pixel value of the extracted pixel included in the block image. The extracted color data shows this constant value. This constant value may be a difference between the representative pixel value of the extracted pixel and the representative pixel value of the non-extracted pixel. For example, this constant value may be a difference between the average value of the pixel values of the extracted pixels and the average value of the pixel values of the non-extracted pixels. This extracted color data is used to correct the pixel value of the extracted pixel in the image obtained by decoding the encoded gradation data. The extracted color data may indicate a negative value. The header can indicate that this data is encoded in differential mode.

(2)置換モード
データフォーマットを図5(B)に示す。置換モードでの符号化データは、ヘッダと、抽出色データと、符号化位置データと、符号化階調データとを含む。このモードにおいて、置換部105が出力する階調画像は、ブロック画像に含まれる抽出画素の画素値を一定値とすることにより得られる画像である。この一定値は、非抽出画素の代表的な画素値、例えば平均値であってもよい。この抽出色データは、符号化階調データを復号して得られる画像中における、抽出画素の画素値を修正するために用いられる。置換モードにおいて抽出色データは、復号後の抽出画素の画素値を示す。抽出色データは抽出画素の代表的な画素値であればよく、例えば平均値であればよい。ヘッダは、このデータが置換モードで符号化されていることを示すことができる。
(2) Replacement mode The data format is shown in FIG. The encoded data in the replacement mode includes a header, extracted color data, encoded position data, and encoded gradation data. In this mode, the gradation image output from the replacement unit 105 is an image obtained by setting the pixel value of the extracted pixel included in the block image to a constant value. This fixed value may be a representative pixel value of non-extracted pixels, for example, an average value. This extracted color data is used to correct the pixel value of the extracted pixel in the image obtained by decoding the encoded gradation data. In the replacement mode, the extracted color data indicates the pixel value of the extracted pixel after decoding. The extracted color data may be a representative pixel value of the extracted pixels, for example, an average value. The header can indicate that this data is encoded in replacement mode.

(3)階調モード
データフォーマットを図5(C)に示す。階調モードでの符号化データは、ヘッダと、圧縮階調データとを含む。このモードにおいて置換部105は、ブロック画像をそのまま階調画像として出力する。ヘッダは、このデータが階調モードで符号化されていることを示すことができる。
(3) Gradation mode The data format is shown in FIG. The encoded data in the gradation mode includes a header and compressed gradation data. In this mode, the replacement unit 105 outputs the block image as it is as a gradation image. The header can indicate that this data is encoded in grayscale mode.

(4)二色化モード
データフォーマットを図5(D)に示す。二色化モードでの符号化データは、ヘッダと、符号化二色データとを含む。ヘッダは、このデータが二色化モードで符号化されていることを示すことができる。二色化及び符号化には既知の方法を用いることができる。例えば、特許文献3のような方法で符号化を行ってもよい。1つの例として符号化二色データは、各画素が2つの画素群のうちのどちらに含まれるかを示す位置情報と、それぞれの画素群に含まれる画素の復号後の画素値とを含んでもよい。
(4) Two-color mode The data format is shown in FIG. The encoded data in the dichroic mode includes a header and encoded dichroic data. The header can indicate that this data is encoded in dichroic mode. Known methods can be used for dichroism and encoding. For example, encoding may be performed by a method such as that disclosed in Patent Document 3. As one example, the encoded dichroic data may include position information indicating which of the two pixel groups each pixel is included in and pixel values after decoding of the pixels included in each pixel group. Good.

次に、本実施例における処理を図6のフローチャートを参照して説明する。ステップS601においてブロック化部101は、画像データ100を取得する。ステップS602においてブロック化部101は、画像データ100をブロック画像に分割する。ステップS603で抽出部102は、ブロック画像の各画素を抽出画素と非抽出画素とに分離する。例えば抽出部102は、抽出する画素の画素値の範囲の下限TH0(第1の閾値)と上限TH1(第2の閾値)(ただし、TH0≦TH1)とを決定する。そして抽出部102は、画素値がTH0以上(第1の閾値以上)でありかつTH1以下(第2の閾値以下)である画素を抽出画素(対象画素)として決定すればよい。   Next, processing in the present embodiment will be described with reference to the flowchart of FIG. In step S <b> 601, the blocking unit 101 acquires image data 100. In step S602, the blocking unit 101 divides the image data 100 into block images. In step S603, the extraction unit 102 separates each pixel of the block image into an extracted pixel and a non-extracted pixel. For example, the extraction unit 102 determines a lower limit TH0 (first threshold value) and an upper limit TH1 (second threshold value) (where TH0 ≦ TH1) of the pixel value range of the pixel to be extracted. Then, the extraction unit 102 may determine a pixel whose pixel value is TH0 or more (first threshold or more) and TH1 or less (second threshold or less) as an extraction pixel (target pixel).

抽出部102による、抽出画素の画素値の範囲の決定方法の一例を、図2のフローチャートを参照して説明する。例えばTH0がCminである場合にはTH1以下の画素値を持つ画素が抽出画素となる。また、TH1がCmaxである場合にはTH0以上の画素値を持つ画素が抽出画素となる。ステップS201で抽出部102は、ブロック画像の各画素の画素値が同一であるかどうかを調べる。各画素値が同一である場合、すなわち各画素が同じ色である場合、抽出部102は全画素を抽出する。そこで、抽出部102は(TH0,TH1)=(Cmax,Cmax)とする。   An example of a method for determining the range of pixel values of the extracted pixels by the extraction unit 102 will be described with reference to the flowchart of FIG. For example, when TH0 is Cmin, a pixel having a pixel value equal to or less than TH1 is an extraction pixel. When TH1 is Cmax, a pixel having a pixel value equal to or higher than TH0 is an extraction pixel. In step S201, the extraction unit 102 checks whether the pixel values of the pixels of the block image are the same. When each pixel value is the same, that is, when each pixel has the same color, the extraction unit 102 extracts all the pixels. Therefore, the extraction unit 102 sets (TH0, TH1) = (Cmax, Cmax).

ブロック画像の各画素値が同一ではない場合、処理はステップS202に進む。ステップS202で抽出部102は、ブロック画像の各画素が持つ画素値が2種類であるか否かを判断する。画素値が2種類である場合、すなわちブロック画像が2色で構成されている場合には、抽出部102は、大きい方の画素値を有する画素を抽出画素とする。そこで抽出部102は、閾値(TH0,TH1)=(Cmax,Cmax)とする。   If the pixel values of the block image are not the same, the process proceeds to step S202. In step S202, the extraction unit 102 determines whether there are two types of pixel values of each pixel of the block image. When there are two types of pixel values, that is, when the block image is composed of two colors, the extraction unit 102 uses a pixel having a larger pixel value as an extraction pixel. Therefore, the extraction unit 102 sets the threshold value (TH0, TH1) = (Cmax, Cmax).

画素値が2種類ではない場合、処理はステップS203に進む。ステップS203で抽出部102は、ブロック画像内に半透明部分が含まれているか否かを判定する。半透明部分とは図3に示されるような規則的なパターンである。例えば、描画アプリケーションにおいて半透明色を用いる場合に、このようなパターンが出現する。図3において、黒い画素は半透明にされた色を示す。通常、半透明にされた色は1色で構成される。一方、白い画素は背景部分を表す。図3のようなパターンが検出された場合には、半透明にされた色、すなわち図3における黒い画素、を抽出画素とする。   If the pixel value is not two types, the process proceeds to step S203. In step S203, the extraction unit 102 determines whether a translucent part is included in the block image. The translucent portion is a regular pattern as shown in FIG. For example, such a pattern appears when a translucent color is used in a drawing application. In FIG. 3, black pixels indicate a semi-transparent color. Usually, the translucent color is composed of one color. On the other hand, white pixels represent the background portion. When a pattern as shown in FIG. 3 is detected, a semi-transparent color, that is, a black pixel in FIG.

ステップS203における判定は、次のように行うことができる。例えば、座標(x,y)が(2M,2N)(ただしM,Nは0以上8未満の整数)である64画素の画素値が全て同じ場合、抽出部102は(C0,C0)を閾値(TH0,TH1)とする。このとき、C0は座標(2M,2N)の画素値である。一方、座標(2M,2N)の全ての画素値が同じではない場合は、座標(2M+1,2N)の全ての画素値が同じであれば、抽出部102は(C0,C0)を閾値(TH0,TH1)とする。このとき、C0は座標(2M+1,2N)の画素値である。座標(2M+1,2N)の全ての画素値が同じではなければ同様に、抽出部102は座標(2M,2N+1)の画素の画素値が同じならその画素値を閾値とする。座標(2M,2N+1)の画素の画素値も共通しない時は、座標(2M+1,2N+1)の画素の画素値が同じならその画素値を閾値とする。座標(2M+1,2N+1)の画素値も同じではないならば、処理はステップS204に進む。   The determination in step S203 can be performed as follows. For example, when the pixel values of 64 pixels whose coordinates (x, y) are (2M, 2N) (where M and N are integers of 0 or more and less than 8) are all the same, the extraction unit 102 sets (C0, C0) as a threshold value. (TH0, TH1). At this time, C0 is a pixel value of coordinates (2M, 2N). On the other hand, if all the pixel values of the coordinates (2M, 2N) are not the same, and if all the pixel values of the coordinates (2M + 1, 2N) are the same, the extraction unit 102 sets (C0, C0) as the threshold value (TH0). , TH1). At this time, C0 is a pixel value of coordinates (2M + 1, 2N). Similarly, if not all the pixel values of the coordinates (2M + 1, 2N) are the same, the extraction unit 102 uses the pixel value as a threshold if the pixel values of the coordinates (2M, 2N + 1) are the same. When the pixel value of the pixel at the coordinate (2M, 2N + 1) is not common, if the pixel value of the pixel at the coordinate (2M + 1, 2N + 1) is the same, the pixel value is set as a threshold value. If the pixel values of the coordinates (2M + 1, 2N + 1) are not the same, the process proceeds to step S204.

ステップS204では抽出部102は、ブロック画像の画素値のヒストグラムを調べる。抽出部102が、ブロック画像における画素値の出現頻度が一様であると判断した時には、全画素を抽出画素とする。具体的な処理の一例を以下に示す。抽出部102は、各画素を画素値に応じて8つに分類する。すなわち、抽出部102は画素値が0以上32未満である画素をグループ1、32以上64未満である画素をグループ2に分類し、以下同様に各画素をグループ3〜8に分類する。グループ8に属する画素の画素値は、224以上256未満である。この8つのグループのうち、画素が存在するグループの数が閾値(TH2)以上である場合、抽出部102は画素値の出現頻度が一様であると判断し、全画素を抽出画素とする。この場合、抽出部102は(Cmin,Cmax)を(TH0,TH1)に設定すればよい。TH2の範囲は0以上8以下の値であるが、TH2は通常は7程度であればよい。   In step S204, the extraction unit 102 examines a pixel value histogram of the block image. When the extraction unit 102 determines that the appearance frequency of pixel values in the block image is uniform, all pixels are extracted pixels. An example of specific processing is shown below. The extraction unit 102 classifies each pixel into eight according to the pixel value. That is, the extraction unit 102 classifies pixels having pixel values of 0 or more and less than 32 into group 1, classifies pixels with pixel values of 32 or more and less than 64 into group 2, and similarly classifies the pixels into groups 3-8. The pixel values belonging to the group 8 are 224 or more and less than 256. If the number of groups in which the pixels are present is equal to or greater than the threshold (TH2) among the eight groups, the extraction unit 102 determines that the appearance frequency of the pixel values is uniform and sets all the pixels as extraction pixels. In this case, the extraction unit 102 may set (Cmin, Cmax) to (TH0, TH1). The range of TH2 is a value of 0 or more and 8 or less, but TH2 may normally be about 7.

ステップS204で画素値の出現頻度が一様ではないと抽出部102が判断した場合、処理はステップS205に進む。ステップS205で抽出部102は、各画素を画素値の大きい画素と画素値の小さい画素とに分類し、一方を選択画素とする。具体的な処理の一例を以下に示す。抽出部102は、ステップS204と同様にブロック画像の各画素値のヒストグラムを調べる。この時、抽出部102は図4のように、ブロック画像を構成する画素の画素値の範囲を複数の領域、例えば32の領域に分割し、各領域に含まれる画素値の出現頻度を調べる。すなわち、領域0の画素値は0以上8未満であり、領域1の画素値は8以上16未満であり、以下同様に領域2〜領域31に入る画素値も定められる。領域31の画素値は、248以上256未満となる。   If the extraction unit 102 determines that the appearance frequency of pixel values is not uniform in step S204, the process proceeds to step S205. In step S205, the extraction unit 102 classifies each pixel into a pixel having a large pixel value and a pixel having a small pixel value, and sets one of the pixels as a selected pixel. An example of specific processing is shown below. The extraction unit 102 examines the histogram of each pixel value of the block image as in step S204. At this time, as shown in FIG. 4, the extraction unit 102 divides the range of pixel values of pixels constituting the block image into a plurality of areas, for example, 32 areas, and examines the appearance frequency of the pixel values included in each area. That is, the pixel value of the region 0 is 0 or more and less than 8, the pixel value of the region 1 is 8 or more and less than 16, and the pixel values entering the region 2 to the region 31 are similarly determined. The pixel value in the region 31 is 248 or more and less than 256.

そして抽出部102は、領域内(区間内)の画素値を有する画素が存在しない領域(無画素区間)を特定し、連続する無画素区間をグループ化する。グループ化された領域のうち、領域0と領域31とのいずれをも含まず、かつ区間長が最大の領域を、抽出部102は最長区間(最大長区間)として決定する。図4(A)の例では、領域20〜23が最長区間である。領域27〜31の方が長いが、領域31が含まれているので最長区間とはならない。   Then, the extraction unit 102 identifies a region (a non-pixel region) in which no pixel having a pixel value in the region (in a region) exists, and groups consecutive non-pixel regions. Of the grouped regions, the extraction unit 102 determines a region that does not include both the region 0 and the region 31 and has the maximum section length as the longest section (maximum length section). In the example of FIG. 4A, the areas 20 to 23 are the longest sections. The areas 27 to 31 are longer, but since the area 31 is included, it is not the longest section.

ここで、最長区間の画素値の範囲を(Lmin,Lmax)とする。最長区間内(最大長区間内)の最小画素値がLminであり、最大画素値がLmaxである。図4(A)の例では、(160,191)が(Lmin,Lmax)である。こうして抽出部102は、Lmaxよりも大きい画素値を有する画素と、Lminよりも小さい画素値を有する画素とに、画素を分類する。一方で、最長区間が存在しない場合も考えられる。この場合抽出部102は、全画素を抽出画素とすればよい。具体的な例としては、抽出部102は(Cmin,Cmax)を(TH0,TH1)に設定すればよい。   Here, the range of pixel values in the longest section is (Lmin, Lmax). The minimum pixel value within the longest section (within the maximum length section) is Lmin, and the maximum pixel value is Lmax. In the example of FIG. 4A, (160, 191) is (Lmin, Lmax). Thus, the extraction unit 102 classifies the pixels into pixels having a pixel value larger than Lmax and pixels having a pixel value smaller than Lmin. On the other hand, there may be a case where the longest section does not exist. In this case, the extraction unit 102 may set all the pixels as extraction pixels. As a specific example, the extraction unit 102 may set (Cmin, Cmax) to (TH0, TH1).

ステップS205において抽出部102は、ブロック画像中の画素が有する画素値の最大値と最小値との間(ブロック画像を構成する画素の画素値の範囲内)の区間を、複数の領域に分割してもよい。この場合、画素値が最大の領域又は画素値が最小の領域、例えば領域0又は領域31には必ず画素が含まれる。したがってこれらの領域は最長区間に含まれないため、最も長い連続する領域を最長区間として決定すればよい。   In step S205, the extraction unit 102 divides a section between the maximum value and the minimum value of the pixel values of the pixels in the block image (within the pixel value range of the pixels constituting the block image) into a plurality of regions. May be. In this case, the region having the maximum pixel value or the region having the minimum pixel value, for example, the region 0 or the region 31, always includes pixels. Therefore, since these areas are not included in the longest section, the longest continuous area may be determined as the longest section.

ステップS206において抽出部102は、大きい画素値を有する画素と、小さい画素値を有する画素との、どちらを抽出画素とするかを決定する。具体的な例を以下に示す。抽出部102はまず、(Cmax−Lmax)(第1の差分値)と、(Lmin−Cmin)(第2の差分値)との大小を比較する。(Cmax−Lmax)の方が小さい時は、抽出部102は、大きい画素値を有する画素、すなわち画素値がLmaxよりも大きい画素を抽出画素とする。この場合抽出部102は、(Lmax,Cmax)を(TH0,TH1)に設定すればよい。一方で(Lmin−Cmin)の方が小さい時は、抽出部102は、小さい画素値を有する画素、すなわち画素値がLminよりも小さい画素を抽出画素とすればよい。この場合抽出部102は、(Cmin,Lmin)を(TH0,TH1)に設定すればよい。   In step S <b> 206, the extraction unit 102 determines which of the pixel having the large pixel value and the pixel having the small pixel value is the extraction pixel. Specific examples are shown below. First, the extraction unit 102 compares (Cmax−Lmax) (first difference value) with (Lmin−Cmin) (second difference value). When (Cmax−Lmax) is smaller, the extraction unit 102 sets a pixel having a large pixel value, that is, a pixel having a pixel value larger than Lmax as an extraction pixel. In this case, the extraction unit 102 may set (Lmax, Cmax) to (TH0, TH1). On the other hand, when (Lmin−Cmin) is smaller, the extraction unit 102 may select a pixel having a small pixel value, that is, a pixel having a pixel value smaller than Lmin as the extraction pixel. In this case, the extraction unit 102 may set (Cmin, Lmin) to (TH0, TH1).

ステップS204及びS205において、領域又はグループ内に画素が存在するか否かを抽出部102は判断した。しかしながら、領域又はグループ内に存在する画素数が所定値よりも多いか否かを判断してもよい。以上のステップS201〜S206で、抽出部102は抽出画素の画素値の範囲(TH0,TH1)を決定することができる。抽出部102は、画素値がこの範囲に入る画素を抽出画素として、前述のような位置データを生成すればよい。   In steps S204 and S205, the extraction unit 102 determines whether or not there is a pixel in the region or group. However, it may be determined whether or not the number of pixels present in the region or group is greater than a predetermined value. Through the above steps S201 to S206, the extraction unit 102 can determine the pixel value range (TH0, TH1) of the extracted pixels. The extraction unit 102 may generate position data as described above using pixels whose pixel values fall within this range as extraction pixels.

本実施例において抽出部102は、ステップS201〜S206の処理を行って抽出画素を決定するが、抽出画素の決定方法はこれに限られない。特に、ステップS201〜S206の全ての処理を行う必要はない。例えば、ステップS204の処理のみが行われてもよい。すなわち、抽出部102が共通の画素値C0を発見した場合には(C0,C0)を閾値(TH0,TH1)とし、それ以外の場合には全画素を抽出してもよい。   In this embodiment, the extraction unit 102 determines the extraction pixel by performing the processes of steps S201 to S206, but the extraction pixel determination method is not limited to this. In particular, it is not necessary to perform all the processes in steps S201 to S206. For example, only the process of step S204 may be performed. That is, when the extraction unit 102 finds a common pixel value C0, (C0, C0) may be set as the threshold value (TH0, TH1), and in all other cases, all pixels may be extracted.

ステップS604において、位置符号化部103は、ステップS603で生成された位置データを前述のように符号化する。ステップS605において位置符号化部103は、ステップS604で生成された符号化位置データの情報量が、所定の閾値(TH4)(第3の閾値)を超えているか否かを判断する。符号化位置データの情報量が所定の閾値を超えている場合には、処理はステップS606に進み、二色化部104がブロック画像を符号化二色データに符号化する。すなわち、二色化モードでの符号化が行われる。符号化位置データの情報量が所定の閾値(TH4)以下(第3の閾値以下)の場合には、処理はステップS607に進む。   In step S604, the position encoding unit 103 encodes the position data generated in step S603 as described above. In step S605, the position encoding unit 103 determines whether the information amount of the encoded position data generated in step S604 exceeds a predetermined threshold (TH4) (third threshold). If the information amount of the encoded position data exceeds a predetermined threshold, the process proceeds to step S606, and the dichroic unit 104 encodes the block image into encoded dichroic data. That is, encoding in the dichroic mode is performed. If the information amount of the encoded position data is equal to or less than the predetermined threshold (TH4) (less than the third threshold), the process proceeds to step S607.

例えば抽出画素の配置が分散している場合など、位置データを符号化しても情報量が小さくならないことがある。このような場合、可逆符号化された位置データを含む出力符号化データが所定の固定長を超えてしまうかもしれない。本実施例ではこのような場合、二色化モードで符号化を行い、出力符号化データには位置データを含めない。例えば閾値TH4は、固定長符号量―(ヘッダデータ量+抽出色データ量+階調データ符号量の最小値)として定められることができる。例として、固定長符号量は256ビット、ヘッダデータ量は3ビット、抽出色データ量は9ビットとされる。また、DC成分が階調データに含まれるように、階調データ符号量の最小値は20ビットとされる。すると、TH4は224となる。階調データの符号量が大きくなるように、例えば階調データにAC成分も含まれるように、階調データ符号量の最小値はもっと大きくてもよい。   For example, when the arrangement of extracted pixels is dispersed, the amount of information may not be reduced even if position data is encoded. In such a case, the output encoded data including the losslessly encoded position data may exceed a predetermined fixed length. In this embodiment, in such a case, encoding is performed in the dichroic mode, and position data is not included in the output encoded data. For example, the threshold value TH4 can be defined as fixed-length code amount− (header data amount + extracted color data amount + gradation data code amount minimum value). As an example, the fixed-length code amount is 256 bits, the header data amount is 3 bits, and the extracted color data amount is 9 bits. Further, the minimum value of the gradation data code amount is 20 bits so that the DC component is included in the gradation data. Then, TH4 becomes 224. For example, the minimum value of the gradation data code amount may be larger so that the gradation data includes the AC component, for example, so that the gradation data includes the AC component.

ステップS606で二色化部104は、二色化モードでブロック画像から符号化二色データ(第2の符号化階調データ)を生成する。二色化部104は、ブロック画像を第1の画素値及び第2の画素値に二値化する。例えば二色化部104は、ブロック内の画素を、大きい画素値を有する画素群と小さい画素値を有する画素群とに二分する。次に二色化部104はそれぞれの画素群についての代表的な画素値(例えば画素値の平均値)を求める。そして二色化部104は、それぞれの画素群についての代表的な画素値と、各画素がどちらの画素群に含まれるかを示す位置情報(二値情報)とを、符号化二色データとして出力する。このとき位置情報は圧縮されてもよい。   In step S606, the dichroic unit 104 generates encoded dichroic data (second encoded gradation data) from the block image in the dichroic mode. The dichroic unit 104 binarizes the block image into the first pixel value and the second pixel value. For example, the dichroic unit 104 bisects the pixels in the block into a pixel group having a large pixel value and a pixel group having a small pixel value. Next, the dichroic unit 104 obtains a representative pixel value (for example, an average value of pixel values) for each pixel group. Then, the dichroic unit 104 uses, as encoded dichroic data, representative pixel values for each pixel group and position information (binary information) indicating which pixel group each pixel is included in. Output. At this time, the position information may be compressed.

この際、例えば特許文献3のように、いくつかの画素について属する画素群を変更することにより、位置情報の情報量を削減することができる。この場合、二色化部104は抽出画素からなる群を、前述の大きい画素値を有する画素群又は小さい画素値を有する画素群としてもよい。またこの場合二色化部104は、例えば所定の規則に従って抽出画素を減らすことにより、抽出部102が生成した位置データの情報量を削減してもよい。こうして、出力される符号化二色データを固定長(第2の符号量)とすることができる。   At this time, as in Patent Document 3, for example, the amount of position information can be reduced by changing pixel groups belonging to several pixels. In this case, the dichroic unit 104 may set the group of extracted pixels as the pixel group having the large pixel value or the pixel group having the small pixel value. In this case, the dichroic unit 104 may reduce the information amount of the position data generated by the extraction unit 102, for example, by reducing the number of extracted pixels according to a predetermined rule. Thus, the encoded dichroic data to be output can be set to a fixed length (second code amount).

ステップS607で置換部105は、ステップS603で求められたTH1とTH0との差が所定値以下であるか否かを判断する。TH1とTH0との差が所定の閾値(TH3)以下(第4の閾値以下)である場合には、処理はステップS608に進み、置換モードでの符号化が行われる。TH1は抽出画素の最大画素値を示し、TH0は抽出画素の最小画素値を示す。従って、抽出画素の画素値が類似している場合に、TH1とTH0との差が小さくなる。本実施例ではこの場合、抽出画素の画素値に近い1つの画素値を決定し、この抽出画素に代表的な画素値を抽出色データとする。復号時には、抽出色データによって示される画素値を、抽出画素の画素値とすればよい。本実施例において、抽出画素の最大画素値と最小画素値との差が所定の閾値以下である場合に、置換モードとして符号化を行ってもよい。   In step S607, the replacement unit 105 determines whether or not the difference between TH1 and TH0 obtained in step S603 is equal to or less than a predetermined value. If the difference between TH1 and TH0 is less than or equal to a predetermined threshold (TH3) (below the fourth threshold), the process proceeds to step S608 and encoding in the replacement mode is performed. TH1 indicates the maximum pixel value of the extracted pixel, and TH0 indicates the minimum pixel value of the extracted pixel. Therefore, when the pixel values of the extracted pixels are similar, the difference between TH1 and TH0 becomes small. In this embodiment, in this case, one pixel value close to the pixel value of the extracted pixel is determined, and a pixel value representative of this extracted pixel is used as the extracted color data. At the time of decoding, the pixel value indicated by the extracted color data may be the pixel value of the extracted pixel. In the present embodiment, encoding may be performed as the replacement mode when the difference between the maximum pixel value and the minimum pixel value of the extracted pixel is equal to or less than a predetermined threshold value.

ステップS608で置換部105は、抽出画素の画素値に類似する画素値(第1の抽出画素値)を示す抽出色データを決定する。抽出色データが示す値は抽出画素の画素値に近い値(代表値)であれば何でもよく、例えば平均値であっても、中央値であっても、最頻値であっても、TH1とTH0との平均であってもよい。さらには、抽出色データが示す値は、抽出画素の画素値の最大値であっても、最小値であってもよい。   In step S608, the replacement unit 105 determines extracted color data indicating a pixel value (first extracted pixel value) similar to the pixel value of the extracted pixel. The value indicated by the extracted color data may be anything as long as it is a value (representative value) close to the pixel value of the extracted pixel. For example, the average value, the median value, or the mode value may be TH1. It may be an average with TH0. Furthermore, the value indicated by the extracted color data may be the maximum value or the minimum value of the pixel values of the extracted pixels.

閾値TH3は一定であってもよいが、置換部105が閾値TH3を決定してもよい。例えば入力画像がスキャナで読み取られている場合など、文字及び線の画素値がばらついている場合は、置換部105は閾値TH3の値を大きく設定すればよい。一方、例えば入力画像がPCで作成されている場合など、文字及び線の濃度が均一な場合は、置換部105は閾値TH3を小さく又は0に近い値に設定すればよい。ステップS609で置換部105は、適当な値で抽出画素の画素値を置換することにより階調画像を生成する。例えば置換部105は、非抽出画素の画素値の代表値(例えば平均値)を求め、この代表値で抽出画素の画素値を置換すればよい。ステップS609における処理は、ブロック画像の高周波成分を抑圧する。もっとも、ステップS609の処理は本発明に必須ではない。ステップS609の処理がなくても、抽出画素の位置を精度良く保存することは可能である。   The threshold value TH3 may be constant, but the replacement unit 105 may determine the threshold value TH3. For example, when the pixel values of characters and lines vary, such as when the input image is read by a scanner, the replacement unit 105 may set the threshold value TH3 to a large value. On the other hand, when the density of characters and lines is uniform, for example, when the input image is created by a PC, the replacement unit 105 may set the threshold value TH3 to a value that is small or close to zero. In step S609, the replacement unit 105 generates a gradation image by replacing the pixel value of the extracted pixel with an appropriate value. For example, the replacement unit 105 may obtain a representative value (for example, an average value) of the pixel values of the non-extracted pixels and replace the pixel value of the extracted pixels with this representative value. The process in step S609 suppresses the high frequency component of the block image. But the process of step S609 is not essential for this invention. Even without the processing in step S609, the position of the extracted pixel can be stored with high accuracy.

ステップS607で置換部105が、ステップS603で求められたTH1とTH0との差が所定値以下ではないと判断した場合には、処理はステップS610に進む。ステップS610で置換部105は、ブロック画像の全画素が抽出画素であるか否かを判断する。例えば、Cmin=TH0かつCmax=TH1である場合は、ブロック画像の全画素は抽出画素である。ブロック画像の全画素が抽出画素である場合、処理はステップS611に進む。ステップS611で置換部105は、ブロック画像をそのまま階調画像として階調符号化部106に送る。そして階調符号化部106は、上述のように階調画像を符号化し、符号化階調データを出力部107に送る。   If the replacement unit 105 determines in step S607 that the difference between TH1 and TH0 obtained in step S603 is not less than a predetermined value, the process proceeds to step S610. In step S610, the replacement unit 105 determines whether all the pixels of the block image are extracted pixels. For example, when Cmin = TH0 and Cmax = TH1, all the pixels of the block image are extracted pixels. If all the pixels of the block image are extracted pixels, the process proceeds to step S611. In step S611, the replacement unit 105 transmits the block image as it is to the gradation encoding unit 106 as a gradation image. The gradation encoding unit 106 encodes the gradation image as described above, and sends the encoded gradation data to the output unit 107.

ステップS204又はステップS206で抽出部102が、ブロック画像における画素値の出現頻度が一様であると判断した場合には、ブロック画像の全画素が抽出画素となる。例えばCZP(Circular Zone Plate)のような高階調の入力画像は、局所的に複雑な形状を持つかもしれない。このような入力画像を処理する場合、複雑なブロック画像に対しては二色化モードが選択される可能性がある。二色化モードが選択されたブロック画像に隣り合うブロック画像に対して、抽出画素と非抽出画素とに分類することによる符号化を行うと、復号化後にブロックの境界での画質変化が目に付きやすくなるかもしれない。そこで、高階調画像のように画素値の出現頻度が一様である場合、ブロック画像に対しては階調モードでの圧縮を行う。   When the extraction unit 102 determines in step S204 or step S206 that the appearance frequency of pixel values in the block image is uniform, all pixels in the block image are extracted pixels. For example, an input image with high gradation such as CZP (Circular Zone Plate) may have a locally complex shape. When such an input image is processed, the dichroic mode may be selected for a complicated block image. If the block image adjacent to the block image for which the dichroic mode is selected is encoded by classifying it into an extracted pixel and a non-extracted pixel, the change in image quality at the block boundary after decoding will be noticed. May be easier to stick. Therefore, when the appearance frequency of pixel values is uniform as in a high gradation image, the block image is compressed in the gradation mode.

ブロック画像に非抽出画素が含まれている場合、処理はステップS610からステップS612に進む。この場合、差分モードでの符号化が行われる。ステップS612で置換部105は、適当な画素値を示す抽出色データを決定する。上述のように抽出色データは、抽出画素の画素値の代表値(例えば平均値)と、非抽出画素の画素値の代表値(例えば平均値)(第2の抽出画素値)との差分であってもよい。ステップS613で置換部105は、それぞれの抽出画素の画素値から、抽出色データが示す画素値を減算することにより、階調画像を生成する。この処理により、ブロック画像の高周波成分が抑圧される。   When the non-extracted pixel is included in the block image, the process proceeds from step S610 to step S612. In this case, encoding in the differential mode is performed. In step S612, the replacement unit 105 determines extracted color data indicating an appropriate pixel value. As described above, the extracted color data is the difference between the representative value (for example, the average value) of the pixel values of the extracted pixels and the representative value (for example, the average value) of the pixel values of the non-extracted pixels (second extracted pixel value). There may be. In step S613, the replacement unit 105 generates a gradation image by subtracting the pixel value indicated by the extracted color data from the pixel value of each extracted pixel. By this processing, the high frequency component of the block image is suppressed.

ステップS614で階調符号化部106は、ステップS609(置換モード)又はステップS613(差分モード)で生成された階調画像を、上述のように符号化する。ステップS615で出力部107は、固定長符号化されたデータ108を出力する。また、ステップS616で出力部109は、固定長符号化されたデータ110を出力する。   In step S614, the gradation encoding unit 106 encodes the gradation image generated in step S609 (replacement mode) or step S613 (difference mode) as described above. In step S615, the output unit 107 outputs the fixed-length encoded data 108. In step S616, the output unit 109 outputs the fixed-length encoded data 110.

出力部107及び出力部109が出力する符号化データの例が、図5に示される。差分モードで符号化を行った場合には出力部107は、ヘッダと、ステップS612で決定された抽出色データと、ステップS604で生成された符号化位置データと、ステップS614で生成された符号化階調データとを一緒に出力する。置換モードで符号化を行った場合に出力部107は、ヘッダと、ステップS608で決定された抽出色データと、ステップS604で生成された符号化位置データと、ステップS614で生成された符号化階調データとを一緒に出力する。出力部107は、出力データが固定長となるように、符号化階調データを打ち切り、又は符号化階調データにビットを追加して所定の符号量(第1の符号量)とすることができる。もっとも、階調符号化部106が予めデータを打ち切り、又はビットを追加することによって、符号化階調データを所定の符号量とし、出力データを固定長としてもよい。   An example of encoded data output by the output unit 107 and the output unit 109 is shown in FIG. When encoding is performed in the differential mode, the output unit 107 outputs the header, the extracted color data determined in step S612, the encoding position data generated in step S604, and the encoding generated in step S614. Outputs gradation data together. When encoding is performed in the replacement mode, the output unit 107 outputs the header, the extracted color data determined in step S608, the encoding position data generated in step S604, and the encoding level generated in step S614. Outputs key data together. The output unit 107 may stop the encoded gradation data so that the output data has a fixed length, or add bits to the encoded gradation data to obtain a predetermined code amount (first code amount). it can. However, the gradation encoding unit 106 may cut the data in advance or add bits so that the encoded gradation data has a predetermined code amount and the output data has a fixed length.

二色化モードで符号化を行った場合に出力部109は、ヘッダと、ステップS606で生成された符号化二色化データとを一緒に出力する。本実施例の二色化モードでは、出力データが固定長となるように符号化二色化データが生成されている。しかしながら、出力部107が出力データを固定長にしてもよい。階調モードで符号化を行った場合に出力部109は、ヘッダと、ステップS611で生成された符号化階調データとを一緒に出力する。出力部109は、出力データが固定長となるように、符号化階調データを打ち切り、又は符号化階調データにビットを追加することができる。もっとも、出力データが固定長となるように、階調符号化部106が予めデータを打ち切ってもよく、又はビットを追加してもよい。   When encoding is performed in the dichroic mode, the output unit 109 outputs the header and the encoded dichroic data generated in step S606 together. In the dichroic mode of this embodiment, encoded dichroic data is generated so that the output data has a fixed length. However, the output unit 107 may set the output data to a fixed length. When encoding is performed in the gradation mode, the output unit 109 outputs the header and the encoded gradation data generated in step S611 together. The output unit 109 can abort the encoded gradation data or add bits to the encoded gradation data so that the output data has a fixed length. However, the gradation coding unit 106 may cut off the data in advance or add bits so that the output data has a fixed length.

本実施例に従えば、高解像なブロック画像に対しては二色化モードが選択されるだろう。また、はっきりした文字又は線を含むブロック画像に対しては置換モードが選択されるだろう。さらに、文字や線を含まないブロック画像に対しては階調モードが選択されるだろう。そして、その他のブロック画像に対しては差分モードが適用されるだろう。このように、それぞれのブロック画像に適した圧縮モードが選択され、符号化が行われることができる。   According to this embodiment, the dichroic mode will be selected for high resolution block images. Also, the replacement mode will be selected for block images that contain distinct characters or lines. In addition, the gradation mode will be selected for block images that do not contain characters or lines. The difference mode will be applied to other block images. In this way, a compression mode suitable for each block image can be selected and encoded.

本実施例では4つの符号化モードから1つを選択する場合について説明した。しかしながら、3つ以下又は5つ以上の符号化モードから1つを選択することも可能である。例えば、二色化モードと階調モードとから符号化モードが選択されてもよい。また、二色化モードと差分モードと置換モードとから符号化モードが選択されてもよい。さらには、階調モードと差分モードとから符号化モードが選択されてもよい。この場合、ステップS606では二色化モードの代わりに階調モードで符号化が行われてもよい。これらの場合にも、本実施例のように、符号化位置データの情報量に従って選択が行われることができる。   In the present embodiment, the case where one of four encoding modes is selected has been described. However, it is also possible to select one from less than 3 or more than 5 encoding modes. For example, the encoding mode may be selected from the dichroic mode and the gradation mode. Also, the encoding mode may be selected from the dichroic mode, the difference mode, and the replacement mode. Furthermore, the encoding mode may be selected from the gradation mode and the difference mode. In this case, in step S606, encoding may be performed in the gradation mode instead of the dichroic mode. Also in these cases, selection can be performed according to the information amount of the encoded position data as in the present embodiment.

本実施例では、符号化位置データの符号量が閾値以下の場合に、符号化位置データを含む固定長符号化データを出力する(差分モード、置換モード)。ただし、全ての画素が抽出画素である場合には、符号化位置データを固定長符号化データに含める必要はない(階調モード)。また、符号化位置データの符号量が閾値を超える場合には、出力される固定長符号化データに符号化位置データは含まれない(二色化モード)。本実施例の構成によれば、符号化位置データを固定長符号化データに含めると所定の固定長を超えてしまう場合に、符号化位置データを用いない符号化方法によって固定長符号化を行うことができる。また、符号化位置データを固定長符号化データに含める場合に、符号化階調データが小さくなりすぎることにより、画像が劣化することも防ぐことができる。   In the present embodiment, when the code amount of the encoded position data is equal to or less than the threshold value, fixed-length encoded data including the encoded position data is output (difference mode, replacement mode). However, when all the pixels are extracted pixels, it is not necessary to include the encoded position data in the fixed-length encoded data (gradation mode). Further, when the code amount of the encoded position data exceeds the threshold value, the encoded position data is not included in the output fixed-length encoded data (dichroic mode). According to the configuration of this embodiment, when the encoded position data is included in the fixed-length encoded data and exceeds a predetermined fixed length, the fixed-length encoding is performed by an encoding method that does not use the encoded position data. be able to. Further, when the encoded position data is included in the fixed-length encoded data, it is possible to prevent the image from being deteriorated due to the encoded gradation data becoming too small.

[実施例2]
本実施例では、階調符号化部106が階調画像の符号化を行う前に、階調画像を縮小する。本実施例の画像符号化装置は、実施例1と同様の、図1に示される構成を有する。本実施例に係る処理について、実施例1と異なる点を説明する。本実施例においては、ステップS614の前にステップS651で処理が行われる。ステップS651で縮小部151は、階調画像のサイズを16×16から8×8へと縮小する。どのような縮小方法が用いられてもよい。
[Example 2]
In this embodiment, the gradation image is reduced before the gradation encoding unit 106 encodes the gradation image. The image coding apparatus according to the present embodiment has a configuration shown in FIG. Regarding the processing according to the present embodiment, differences from the first embodiment will be described. In the present embodiment, the process is performed in step S651 before step S614. In step S651, the reduction unit 151 reduces the size of the gradation image from 16 × 16 to 8 × 8. Any reduction method may be used.

例えば、2×2の4個の画素を1個の画素へと縮小する方法を用いることができる。差分モード又は階調モードの場合縮小部151は、4つの画素値の平均を縮小後の画素値とすればよい。置換モードの場合縮小部151は、位置データを参照し、非抽出画素の画素値の平均を縮小後の画素値とすればよい。4つの画素が全て抽出画素である場合はステップS609での処理のために各画素の画素値は共通であり、この共通の画素値を縮小後の画素値とすればよい。   For example, a method of reducing 4 pixels of 2 × 2 to one pixel can be used. In the difference mode or the gradation mode, the reduction unit 151 may set the average of the four pixel values as the pixel value after reduction. In the case of the replacement mode, the reduction unit 151 may refer to the position data and set the average pixel value of the non-extracted pixels as the pixel value after reduction. If all four pixels are extracted pixels, the pixel value of each pixel is common for the processing in step S609, and this common pixel value may be the reduced pixel value.

文字及び線の解像情報は、輪郭及び形状を再現するために、高い解像度を有することがすることが概して重要である。しかしながら、背景部分を表す階調情報は、文字及び線ほどに高い解像度を必要としない。一方、階調画像を縮小することにより、階調画像のデータ量を容易に削減することができる。こうして、画質の低下を容易に知覚されることなく符号量を削減することができる。本実施例によれば、人間の視覚特性に合った符号化処理を行うことができる。   It is generally important that character and line resolution information can have a high resolution in order to reproduce contours and shapes. However, the gradation information representing the background portion does not require as high a resolution as characters and lines. On the other hand, by reducing the gradation image, the data amount of the gradation image can be easily reduced. In this way, it is possible to reduce the code amount without easily perceiving a decrease in image quality. According to the present embodiment, it is possible to perform an encoding process suitable for human visual characteristics.

[実施例3]
本実施形態では、上述の各実施形態に係る処理をコンピュータにより行わせる。図7はコンピュータの基本構成を示す。このコンピュータにおいて上述の各実施例の機能を実行するためには、各機能をプログラムにより表現し、このコンピュータに読み込ませればよい。こうして、このコンピュータで上述の実施例の全ての機能を実現することができる。この場合、図7をはじめとする構成要素の各々は関数、若しくはCPUが実行するサブルーチンで機能させればよい。また、コンピュータプログラムは通常、CD−ROM等のコンピュータが読み取り可能な記憶媒体に格納されている。この記憶媒体を、コンピュータが有する読み取り装置(CD−ROMドライブ等)にセットし、システムにコピー若しくはインストールすることで実行可能になる。従って、係るコンピュータが読み取り可能な記憶媒体も本発明の範疇にあることは明らかである。
[Example 3]
In this embodiment, the processing according to each of the above-described embodiments is performed by a computer. FIG. 7 shows the basic configuration of the computer. In order to execute the functions of the above-described embodiments in this computer, each function may be expressed by a program and read into this computer. In this way, all the functions of the above-described embodiments can be realized by this computer. In this case, each of the components including FIG. 7 may be functioned by a function or a subroutine executed by the CPU. The computer program is usually stored in a computer-readable storage medium such as a CD-ROM. This storage medium can be executed by being set in a reading device (CD-ROM drive or the like) included in the computer and copied or installed in the system. Therefore, it is obvious that such a computer-readable storage medium is also within the scope of the present invention.

図7においてCPU701は、コンピュータ全体の動作をコントロールする。本実施例でプログラムは、ハードディスク又はCD−ROMのような二次記憶703に格納されている。CPU701は、RAM等のメモリである一次記憶702にプログラムを読み込み、読み込まれたプログラムを実行する。入力デバイス704とはコンピュータに情報を入力するデバイスであって、例えばマウスやキーボード等がこれに該当する。出力デバイス705とはコンピュータが情報を出力するデバイスであって、モニタ及びプリンタを含む。読込デバイス706は、外部のデータを取得するためのデバイスであって、メモリカードリーダ及びネットワークカードを含む。バス708は、上述の各部を接続し、データのやりとりを可能とする。   In FIG. 7, the CPU 701 controls the operation of the entire computer. In this embodiment, the program is stored in a secondary storage 703 such as a hard disk or a CD-ROM. The CPU 701 reads a program into a primary storage 702 that is a memory such as a RAM, and executes the read program. The input device 704 is a device for inputting information to the computer, and corresponds to, for example, a mouse or a keyboard. The output device 705 is a device for outputting information by a computer, and includes a monitor and a printer. The reading device 706 is a device for acquiring external data, and includes a memory card reader and a network card. A bus 708 connects the above-described units to enable data exchange.

[他の実施形態]
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給する。そして、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
[Other Embodiments]
The present invention is also realized by executing the following processing. That is, software (program) that implements the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media. Then, the computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the program code. In this case, the program and the storage medium storing the program constitute the present invention.

Claims (8)

画像を符号化し、該符号化した画像を含む固定長符号化データを出力する画像符号化装置であって、
処理対象画像を取得する入力手段と、
前記処理対象画像において、画素値が第1の閾値以上でありかつ第2の閾値以下である画素を対象画素とし、該対象画素の前記処理対象画像中における位置を示す位置情報を生成する生成手段と、
前記位置情報を可逆符号化して符号化位置データを生成する位置符号化手段と、
前記符号化位置データの情報量が第3の閾値以下の場合、前記処理対象画像から、第1の符号量を有する第1の符号化階調データを生成し、かつ前記第1の符号化階調データを復号して得られる画像中における前記対象画素の画素値を修正するために用いる画素値情報を生成する第1の階調符号化手段と、
前記符号化位置データの情報量が前記第3の閾値以下の場合、前記第1の符号化階調データと、前記画素値情報と、前記符号化位置データと、を含む固定長符号化データを出力する第1の出力手段と、
前記符号化位置データの情報量が前記第3の閾値を超える場合、前記処理対象画像から、第2の符号量を有する第2の符号化階調データを生成する第2の階調符号化手段と、
前記符号化位置データの情報量が前記第3の閾値を超える場合、前記第2の符号化階調データを含む固定長符号化データを出力する第2の出力手段とを備え、
前記第1及び前記第2の符号量は、前記固定長符号化データが所定の固定長となるように定められ、前記第2の符号量は前記第1の符号量よりも大きいことを特徴とする、画像符号化装置。
An image encoding device that encodes an image and outputs fixed-length encoded data including the encoded image,
An input means for acquiring a processing target image;
Generation means for generating, in the processing target image, a pixel whose pixel value is not less than a first threshold value and not more than a second threshold value, and generating position information indicating a position of the target pixel in the processing target image When,
Position encoding means for reversibly encoding the position information to generate encoded position data;
When the information amount of the encoded position data is equal to or less than a third threshold, first encoded gradation data having a first code amount is generated from the processing target image, and the first encoding level is generated. First gradation encoding means for generating pixel value information used for correcting the pixel value of the target pixel in an image obtained by decoding the key data;
When the information amount of the encoded position data is equal to or smaller than the third threshold, fixed-length encoded data including the first encoded gradation data, the pixel value information, and the encoded position data First output means for outputting;
Second gradation encoding means for generating second encoded gradation data having a second code amount from the processing target image when the information amount of the encoded position data exceeds the third threshold value When,
A second output means for outputting fixed-length encoded data including the second encoded gradation data when the information amount of the encoded position data exceeds the third threshold;
The first code amount and the second code amount are determined so that the fixed-length encoded data has a predetermined fixed length, and the second code amount is larger than the first code amount. An image encoding device.
第3の出力手段をさらに備え、
前記入力手段は、入力画像を取得し、当該入力画像を分割することによって複数の前記処理対象画像を取得し、
前記第3の出力手段は、それぞれの前記処理対象画像に対して前記第1又は第2の出力手段が出力した固定長符号化データの集合を、前記入力画像を符号化した結果として出力する
ことを特徴とする、請求項1に記載の画像符号化装置。
A third output means;
The input means acquires an input image, acquires a plurality of the processing target images by dividing the input image,
The third output means outputs a set of fixed length encoded data output from the first or second output means for each of the processing target images as a result of encoding the input image. The image encoding apparatus according to claim 1, wherein:
前記第1の階調符号化手段は、
それぞれの前記対象画素の画素値から、該それぞれの前記対象画素の画素値を代表する画素値である第1の抽出画素値を求める手段と、
それぞれの前記対象画素の画素値の最大値及び最小値の差が第4の閾値以下の場合に、前記第1の抽出画素値を示す前記画素値情報を生成し、かつ前記処理対象画像から前記第1の符号化階調データを生成する手段と、
前記最大値及び最小値の差が前記第4の閾値よりも大きい場合に、前記対象画素ではないそれぞれの画素の画素値から、前記対象画素ではないそれぞれの画素の画素値を代表する画素値である第2の抽出画素値を求め、前記第1の抽出画素値と前記第2の抽出画素値との差を示す前記画素値情報を生成し、かつ前記処理対象画像中のそれぞれの前記対象画素の画素値から前記画素値情報が示す差を引いて得た画像に対して符号化を行うことにより前記第1の符号化階調データを生成する手段と
を備えることを特徴とする、請求項1又は2に記載の画像符号化装置。
The first gradation encoding means includes:
Means for obtaining a first extracted pixel value that is a pixel value representative of the pixel value of each of the target pixels from the pixel value of each of the target pixels;
When the difference between the maximum value and the minimum value of the pixel values of each of the target pixels is equal to or less than a fourth threshold value, the pixel value information indicating the first extracted pixel value is generated, and the processing target image is used to generate the pixel value information. Means for generating first encoded gradation data;
When the difference between the maximum value and the minimum value is larger than the fourth threshold value, the pixel value of each pixel that is not the target pixel is represented by a pixel value that represents the pixel value of each pixel that is not the target pixel. A second extracted pixel value is obtained, the pixel value information indicating a difference between the first extracted pixel value and the second extracted pixel value is generated, and each of the target pixels in the processing target image A means for generating the first encoded gradation data by encoding an image obtained by subtracting a difference indicated by the pixel value information from a pixel value of The image encoding device according to 1 or 2.
前記生成手段は、前記処理対象画像を構成する画素のうち、
座標が(2M,2N)である全ての画素(M,Nは0以上の整数)の画素値が同じであると判定した場合、
座標が(2M+1,2N)である全ての画素の画素値が同じと判定した場合、
座標が(2M,2N+1)である全ての画素の画素値が同じと判定した場合、
又は、座標が(2M+1,2N+1)である全ての画素の画素値が同じと判定した場合、
前記同じと判定された画素値を有する画素を前記対象画素とすることを特徴とする、請求項1乃至3の何れか1項に記載の画像符号化装置。
The generation means includes, among pixels constituting the processing target image,
When it is determined that the pixel values of all the pixels whose coordinates are (2M, 2N) (M and N are integers of 0 or more) are the same,
When it is determined that the pixel values of all the pixels whose coordinates are (2M + 1, 2N) are the same,
When it is determined that the pixel values of all the pixels whose coordinates are (2M, 2N + 1) are the same,
Or, when it is determined that the pixel values of all the pixels whose coordinates are (2M + 1, 2N + 1) are the same,
4. The image encoding device according to claim 1, wherein a pixel having a pixel value determined to be the same is the target pixel. 5.
前記生成手段は、
前記処理対象画像を構成する画素の画素値の範囲を複数の区間に分割した際に、区間内の画素値を有する画素が存在しない区間を無画素区間として特定する手段と、
前記範囲内において前記無画素区間が連続して並んでいる区間をグループ化し、それぞれのグループのうち、区間長が最大のグループを最大長区間として特定する手段と、
前記範囲内の最大画素値から前記最大長区間内の最大画素値を引いて得た第1の差分値と、前記最大長区間内の最小画素値から前記範囲内の最小画素値を引いた第2の差分値と、の大小を比較する手段と、
前記第1の差分値≧前記第2の差分値である場合に、前記最大長区間内の最小画素値から前記範囲内の最小画素値までの間の画素値を有する画素を前記対象画素とする手段と、
前記第1の差分値<前記第2の差分値である場合に、前記最大長区間内の最大画素値から前記範囲内の最大画素値までの間の画素値を有する画素を前記対象画素とする手段と、
を備えることを特徴とする、請求項1乃至3の何れか1項に記載の画像符号化装置。
The generating means includes
Means for identifying, as a non-pixel section, a section in which no pixel having a pixel value in the section exists when dividing a range of pixel values of pixels constituting the processing target image into a plurality of sections;
Means for grouping sections in which the non-pixel sections are continuously arranged within the range, and specifying a group having a maximum section length as a maximum length section among the groups;
A first difference value obtained by subtracting the maximum pixel value in the maximum length section from the maximum pixel value in the range, and a first difference value obtained by subtracting the minimum pixel value in the range from the minimum pixel value in the maximum length section. Means for comparing the difference between the two difference values;
When the first difference value ≧ the second difference value, a pixel having a pixel value between the minimum pixel value in the maximum length section and the minimum pixel value in the range is set as the target pixel. Means,
When the first difference value <the second difference value, a pixel having a pixel value between the maximum pixel value in the maximum length section and the maximum pixel value in the range is set as the target pixel. Means,
The image encoding device according to any one of claims 1 to 3, further comprising:
画像を符号化し、該符号化した画像を含む固定長符号化データを出力するための画像符号化装置が行う方法であって、
処理対象画像を取得する入力工程と、
前記処理対象画像において、画素値が第1の閾値以上でありかつ第2の閾値以下である画素を対象画素とし、該対象画素の前記処理対象画像中における位置を示す位置情報を生成する生成工程と、
前記位置情報を可逆符号化して符号化位置データを生成する位置符号化工程と、
前記符号化位置データの情報量が第3の閾値以下の場合、前記処理対象画像から、第1の符号量を有する第1の符号化階調データを生成し、かつ前記第1の符号化階調データを復号して得られる画像中における前記対象画素の画素値を修正するために用いる画素値情報を生成する第1の階調符号化工程と、
前記符号化位置データの情報量が前記第3の閾値以下の場合、前記第1の符号化階調データと、前記画素値情報と、前記符号化位置データと、を含む固定長符号化データを出力する第1の出力工程と、
前記符号化位置データの情報量が前記第3の閾値を超える場合、前記処理対象画像から、第2の符号量を有する第2の符号化階調データを生成する第2の階調符号化工程と、
前記符号化位置データの情報量が前記第3の閾値を超える場合、前記第2の符号化階調データを含む固定長符号化データを出力する第2の出力工程とを備え、
前記第1及び前記第2の符号量は、前記固定長符号化データが所定の固定長となるように定められ、前記第2の符号量は前記第1の符号量よりも大きいことを特徴とする、画像符号化方法。
A method performed by an image encoding device for encoding an image and outputting fixed-length encoded data including the encoded image,
An input process for acquiring a processing target image;
In the processing target image, a generation step of generating, as a target pixel, a pixel whose pixel value is equal to or greater than a first threshold value and equal to or smaller than a second threshold value, and indicating position information of the target pixel in the processing target image When,
A position encoding step of reversibly encoding the position information to generate encoded position data;
When the information amount of the encoded position data is equal to or less than a third threshold, first encoded gradation data having a first code amount is generated from the processing target image, and the first encoding level is generated. A first gradation encoding step for generating pixel value information used for correcting a pixel value of the target pixel in an image obtained by decoding the key data;
When the information amount of the encoded position data is equal to or smaller than the third threshold, fixed-length encoded data including the first encoded gradation data, the pixel value information, and the encoded position data A first output step for outputting;
A second gradation encoding step of generating second encoded gradation data having a second code amount from the processing target image when the information amount of the encoded position data exceeds the third threshold value; When,
A second output step of outputting fixed-length encoded data including the second encoded gradation data when the information amount of the encoded position data exceeds the third threshold;
The first code amount and the second code amount are determined so that the fixed-length encoded data has a predetermined fixed length, and the second code amount is larger than the first code amount. An image encoding method.
コンピュータを、請求項1乃至5の何れか1項に記載の画像符号化装置が有する各手段として機能させるための、コンピュータプログラム。   The computer program for functioning a computer as each means which the image coding apparatus of any one of Claims 1 thru | or 5 has. 請求項7に記載のコンピュータプログラムを格納した、コンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing the computer program according to claim 7.
JP2010010367A 2010-01-20 2010-01-20 Image encoding apparatus, image encoding method, program, and storage medium Expired - Fee Related JP5457853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010010367A JP5457853B2 (en) 2010-01-20 2010-01-20 Image encoding apparatus, image encoding method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010010367A JP5457853B2 (en) 2010-01-20 2010-01-20 Image encoding apparatus, image encoding method, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2011151555A JP2011151555A (en) 2011-08-04
JP5457853B2 true JP5457853B2 (en) 2014-04-02

Family

ID=44538160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010010367A Expired - Fee Related JP5457853B2 (en) 2010-01-20 2010-01-20 Image encoding apparatus, image encoding method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP5457853B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2614646A1 (en) * 2010-09-10 2013-07-17 Thomson Licensing Video encoding using block- based mixed - resolution data pruning

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2800633B2 (en) * 1993-04-30 1998-09-21 富士ゼロックス株式会社 Image coding device
JP3843581B2 (en) * 1998-03-05 2006-11-08 富士ゼロックス株式会社 Image encoding device, image decoding device, image processing device, image encoding method, image decoding method, and image processing method
JP2002314820A (en) * 2001-04-17 2002-10-25 Hitachi Koki Co Ltd Color image processor
JP4829836B2 (en) * 2007-04-26 2011-12-07 キヤノン株式会社 Image encoding apparatus, control method for image encoding apparatus, computer program, decoding apparatus, and computer-readable storage medium
JP4978598B2 (en) * 2008-09-17 2012-07-18 コニカミノルタビジネステクノロジーズ株式会社 Image processing method, image processing apparatus, and image processing program

Also Published As

Publication number Publication date
JP2011151555A (en) 2011-08-04

Similar Documents

Publication Publication Date Title
JP5875637B2 (en) Image processing apparatus and image processing method
JP5132530B2 (en) Image coding apparatus, image processing apparatus, and control method thereof
US8395813B2 (en) Subtractive color method, subtractive color processing apparatus, image forming apparatus, and computer-readable storage medium for computer program
JP4366003B2 (en) Image processing apparatus and image processing method
JP6743092B2 (en) Image processing apparatus, image processing control method, and program
JP5511467B2 (en) Image processing apparatus, control method therefor, and program
US8774511B2 (en) Image processing apparatus and image processing method
JP6370080B2 (en) Image processing apparatus, image processing method, and program.
US8023756B2 (en) Image encoding apparatus and method of controlling same
JP5457853B2 (en) Image encoding apparatus, image encoding method, program, and storage medium
JP4217969B2 (en) Image processing apparatus and program
JPH04356873A (en) Adaptive encoding system for color document image
JP2005260452A (en) Image processing apparatus
JP4507656B2 (en) Image processing device
JP5337060B2 (en) Image processing apparatus, control method, and program
JP4228905B2 (en) Image processing apparatus and program
JP7185451B2 (en) Image processing device, image processing method, and program
JP4193687B2 (en) Image processing apparatus and program
JP4759502B2 (en) Image processing method, image processing apparatus, image processing program, and computer-readable recording medium recording the image processing program
JP2007228281A (en) Image processing method, image processing device, image processing program, and information recording medium
JP2007335983A (en) Image processor
JP2005244649A (en) Image processing apparatus
JP5337059B2 (en) Image processing apparatus, control method, and program
JP4650958B2 (en) Image processing apparatus, method, and program
JP4329564B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130107

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140110

R151 Written notification of patent or utility model registration

Ref document number: 5457853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees