JP2011244152A - Image decoder, method for controlling the same, program and computer readable storage medium - Google Patents

Image decoder, method for controlling the same, program and computer readable storage medium Download PDF

Info

Publication number
JP2011244152A
JP2011244152A JP2010113421A JP2010113421A JP2011244152A JP 2011244152 A JP2011244152 A JP 2011244152A JP 2010113421 A JP2010113421 A JP 2010113421A JP 2010113421 A JP2010113421 A JP 2010113421A JP 2011244152 A JP2011244152 A JP 2011244152A
Authority
JP
Japan
Prior art keywords
pixel
pixels
image data
data
gradation
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.)
Granted
Application number
JP2010113421A
Other languages
Japanese (ja)
Other versions
JP2011244152A5 (en
JP5597028B2 (en
Inventor
Kenta Takarazaki
健太 寳▲崎▼
Takashi Ishikawa
尚 石川
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 JP2010113421A priority Critical patent/JP5597028B2/en
Publication of JP2011244152A publication Critical patent/JP2011244152A/en
Publication of JP2011244152A5 publication Critical patent/JP2011244152A5/ja
Application granted granted Critical
Publication of JP5597028B2 publication Critical patent/JP5597028B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a decoding technology capable of reproducing an edge part of an original gradation image.SOLUTION: An unpack part 101 separates a pixel value of a character line drawing, encoded data of identification information showing to which of the character line drawing, a non-character line drawing each pixel belongs, and encoded data of gradation image data from encoded data for a block. An identification information decoding part 102 decodes the encoded data of the identification information. An enlargement part 104 repeats generation of 2×2 pixels from one pixel in the gradation image data to be represented by 8×8 pixels obtained by performing decoding. An image synthesis part 105 outputs a pixel value of a corresponding position in the gradation image data after enlargement when it is determined that a noticing pixel belongs to the non-character line drawing, and outputs a pixel value of the character line drawing separated by the unpack part 101 when it is determined that the noticing pixel belongs to the character line drawing. At this time, the enlargement part sets values of the 2×2 pixels which is attempted to be generated from one pixel in the 8×8 pixels obtained by performing decoding so that the edges may be reproduced.

Description

本発明は画像の復号技術に関するものである。   The present invention relates to an image decoding technique.

従来、画像を圧縮する手法の1つとして、ブロック符号化が知られている。通常のブロック符号化は、画像を小ブロックに分割して符号化するものであるが、ブロック毎の符号量がマチマチであったり、復号時に他のブロック情報が必要であったりしており、圧縮した状態での編集処理が不可能であった。この課題を解決する手法として、特許文献1では、ブロック単独での復号が可能で、かつ、ブロック単位の符号量を一定にする固定長符号化が提案されている。   Conventionally, block coding is known as one of methods for compressing an image. Ordinary block coding is to divide an image into small blocks for coding, but the amount of code for each block is gusset or other block information is required at the time of decoding. The editing process was not possible. As a technique for solving this problem, Patent Document 1 proposes fixed-length coding that enables decoding by a single block and makes the code amount of each block constant.

この特許文献1では、ブロック内の画像を文字や線画等のエッジの鮮明さが重要な部分(以下、単に文字線画という)と、自然画などの階調性が重要な部分(以下、階調画像という)に分離し、それぞれ別の符号化方式で圧縮するというものである。また、階調画像の部分は、その圧縮率を更に上げるため、ブロックの水平、垂直方向のサイズを1/2に縮小して符号化している。復号して得られた階調画像を、水平、垂直ともオリジナルのブロック画像の水平、垂直とも1/2のサイズであるので、それぞれ2倍に拡大して元の大きさに戻し、復号した文字線画と合成してブロック画像を復元する、というものである。   In this patent document, an image in a block is a portion where sharpness of an edge such as a character or a line drawing is important (hereinafter simply referred to as a character line drawing) and a portion where gradation is important such as a natural image (hereinafter referred to as a gradation). Image) and compressed by different encoding methods. The gradation image portion is encoded by reducing the horizontal and vertical size of the block to ½ in order to further increase the compression ratio. Since the gradation image obtained by decoding is half the size of the original block image in both horizontal and vertical directions, it is doubled and restored to the original size. A block image is restored by combining with a line drawing.

ここで用いられる縮小と拡大の方法としては、既に多くの手法が提案されている。例えば、縮小方法としては特許文献2に示すような2×2画素の平均値を、縮小後の1画素の値とする方法などが用いられていた。一方、拡大方法としては、一般的には公知の最近傍法や線形補間法などが用いられていた。   Many methods have already been proposed for the reduction and enlargement methods used here. For example, as a reduction method, a method of using an average value of 2 × 2 pixels as described in Patent Document 2 as a value of one pixel after reduction has been used. On the other hand, as an enlargement method, generally known nearest neighbor method or linear interpolation method has been used.

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

しかしながら、階調画像と言えども、濃度や輝度の急峻に変化する部分が重要なものも存在する。この場合、従来通りの拡大処理を行ってしまうと、本来、濃度や輝度が急峻であるべき箇所が、スムージングされ、元々存在していた模様などがぼけてしまうという問題があった。例えば、前述したような画素平均による縮小と、最近傍法による拡大の組み合わせでは本来2×2画素の画像内に存在したエッジは2×2画素の単一色の画素になってしまい再現することが出来ない。このように非抽出部による画像のぼやけにより、復号画像の品質劣化が検知されてしまう場合があるという問題があった。   However, even in the case of a gradation image, there are some images in which a portion where the density and the brightness change sharply is important. In this case, if the conventional enlargement process is performed, there is a problem that a portion where the density and the luminance should be steep is smoothed, and a pattern that originally existed is blurred. For example, with the combination of the above-described reduction by the pixel average and the enlargement by the nearest neighbor method, the edge originally present in the 2 × 2 pixel image becomes a single pixel of 2 × 2 pixels and can be reproduced. I can't. As described above, there has been a problem that the quality degradation of the decoded image may be detected due to the blurring of the image by the non-extraction unit.

本発明ではかかる問題に対して、上記のような符号化データを復号しつつも、オリジナル階調画像のエッジ部分を、これまで以上に再現し得る復号技術を提供しようとするものである。   The present invention is intended to provide a decoding technique that can reproduce the edge portion of an original gradation image more than ever while decoding such encoded data as described above.

かかる課題を解決するため、例えば本発明の画像復号装置は以下の構成を備える。すなわち、
M×N画素で構成されるブロックを単位とする符号化データから、階調画像データを復号する画像復号装置であって、
符号化データを前記ブロックを単位に入力する入力手段と、
入力した1ブロック分の符号化データから、当該符号化データを構成する、(1)当該ブロックに含まれる文字線画の画素値、(2)前記ブロック内の各画素が文字線画、非文字線画のいずれに属するかを示す識別情報の符号化データ、並びに、(3)前記ブロックのサイズよりも小さい、m×n画素(m<M、n<N)で表わされる階調画像データの符号化データを分離する分離手段と、
前記識別情報の符号化データを復号する識別情報復号手段と、
前記階調画像データの符号化データを復号する階調データ復号手段と、
該階調データ復号手段で得られた、前記m×n画素で表わされる階調画像データ中の1画素から(M/m)×(N/n)個の画素を生成することを繰り返すことで、前記m×n画素で表わされる階調画像データから、前記M×N画素で表わされる前記ブロックのサイズの階調画像データを生成する拡大手段と、
前記識別情報復号手段で得られた識別情報に従って、前記拡大手段で得られた前記ブロックの中の着目画素が文字線画、非文字線画のいずれに属するか否かを判定し、前記着目画素が非文字線画に属すると判定された場合には、前記拡大手段で得られた階調画像データ中の前記着目画素の位置の画素値を出力し、前記着目画素が前記文字線画に属すると判定した場合には前記分離手段で分離した文字線画の画素値を出力する画像合成手段とを備え、
前記拡大手段は、
前記階調データ復号手段で得られた、前記m×n画素の階調画像データから、当該階調画像データの画素値の取り得る範囲内にあって、代表となる2つの画素値C0、C1(C0≦C1)を算出する算出手段と、
前記m×n画素の階調画像データ中の着目画素から生成しようとする(M/m)×(N/n)個の画素の中の、非文字線画に属する画素数Lを、前記識別情報を用いて判定する判定手段と、
前記m×n画素の階調画像データ中の前記着目画素の画素値に従って、前記非文字線画に属するL個の画素のうち、L1(0≦L1≦L)で示される個数の画素が画素値C1を持ち、L0(=L−L1)で示される個数の画素が画素値C0を持つように設定する設定手段とを備え、
該設定手段は、前記m×n画素の階調画像データ中の前記着目画素の画素値が大きければ大きいほど、前記L1を大きな値に設定することを特徴とする。
In order to solve this problem, for example, an image decoding apparatus according to the present invention has the following configuration. That is,
An image decoding device that decodes gradation image data from encoded data in units of blocks composed of M × N pixels,
Input means for inputting encoded data in units of the blocks;
(1) The pixel value of the character line drawing included in the block, (2) Each pixel in the block is a character line drawing or a non-character line drawing. Encoded data of identification information indicating to which one belongs, and (3) encoded data of gradation image data represented by m × n pixels (m <M, n <N) smaller than the size of the block Separating means for separating,
Identification information decoding means for decoding encoded data of the identification information;
Gradation data decoding means for decoding encoded data of the gradation image data;
By repeatedly generating (M / m) × (N / n) pixels from one pixel in the gradation image data represented by the m × n pixels obtained by the gradation data decoding means. Expanding means for generating gradation image data of the block size represented by the M × N pixels from the gradation image data represented by the m × n pixels;
According to the identification information obtained by the identification information decoding means, it is determined whether the target pixel in the block obtained by the enlargement means belongs to a character line drawing or a non-character line drawing. When it is determined that the pixel belongs to a character / line image, the pixel value at the position of the pixel of interest in the gradation image data obtained by the enlargement unit is output, and the pixel of interest is determined to belong to the character / line image Comprises image synthesizing means for outputting pixel values of the character line image separated by the separating means,
The enlargement means includes
Two representative pixel values C0 and C1 that are within the possible range of the pixel value of the gradation image data from the gradation image data of the m × n pixels obtained by the gradation data decoding means. Calculating means for calculating (C0 ≦ C1);
The number L of pixels belonging to the non-character line drawing among (M / m) × (N / n) pixels to be generated from the target pixel in the m × n pixel gradation image data is represented by the identification information. Determining means for determining using
According to the pixel value of the pixel of interest in the m × n pixel gradation image data, the number of pixels indicated by L1 (0 ≦ L1 ≦ L) among the L pixels belonging to the non-character line drawing is the pixel value. C1 and setting means for setting the number of pixels indicated by L0 (= L−L1) to have the pixel value C0,
The setting means sets the L1 to a larger value as the pixel value of the target pixel in the m × n pixel gradation image data is larger.

本発明によれば、オリジナル階調画像のエッジ部分を、これまで以上に再現することが可能になる。   According to the present invention, the edge portion of the original gradation image can be reproduced more than ever.

第1の実施形態に係る画像復号化装置のブロック構成図。The block block diagram of the image decoding apparatus which concerns on 1st Embodiment. 第2の実施形態に係る画像符号化装置のブロック構成図。The block block diagram of the image coding apparatus which concerns on 2nd Embodiment. 第2の実施形態に係る画像復号化装置のブロック構成図。The block block diagram of the image decoding apparatus which concerns on 2nd Embodiment. 固定長符号のデータフォーマットを示す図。The figure which shows the data format of a fixed-length code. 拡大の手順を示すフローチャート。The flowchart which shows the procedure of expansion. 拡大処理における画素位置関係を示す図。The figure which shows the pixel positional relationship in an expansion process. 拡大処理の動作説明図。Explanatory drawing of operation | movement of an expansion process. 符号化処理の概要を示す図。The figure which shows the outline | summary of an encoding process. 画素値C0、C1を持つ画素数を決定する原理を示す図。The figure which shows the principle which determines the pixel number which has the pixel values C0 and C1.

以下、添付図面に従って本発明に係る実施形態を詳細に説明する。   Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

[第1の実施形態]
先ず、本第1の実施形態における復号に係る構成並びにその処理を説明する前に、符号化装置における符号化の概要を説明する。ここでは、符号化装置としてデジタルカメラを例にして説明する。また、説明を簡単にするため、対象とする画像がモノクロ画像(色成分の数が1つ)とし、図8における画像800がデジタルカメラで撮影した画像を示している。画像800には、撮影日を示す文字画像が、撮影したタイミングで階調画像に合成されている。さて、この画像を符号化する場合、16×16画素で構成されるブロックを単位に符号化していく。ここで、画像800における文字線画の一部(文字線画画素群802)を包含するブロック801を符号化する場合を考察する。この場合、デジタルカメラの内部のプロセッサは、着目ブロックにおける文字線画の画素の色を抽出し、且つ、各画素毎に、それが文字線画の画素か非文字線画の画素か(抽出色の画素か、非抽出色の画素か)を示す識別情報を生成する。文字線画、階調画像のいずれに属するのかが識別できれば良いので、識別情報を構成する各画素に対応するエレメントは1ビットで良い。図示の場合、1つのブロックは16×16画素で構成されいるので、識別情報は16×16ビットで良いことになる。図示の参照符号803が、この識別情報である。識別情報803に対しては、上記から明らかなように、可逆符号化を行う。可逆符号化としては、ランレングス符号化が好適である。なお、オリジナルのブロック内の文字線画画素群802を復元するためには、識別情報803に加えて、文字線画画素群802の色を示す情報があればよい。すなわち、識別情報のエレメントが“1”の画素を、その色の値で置換すれば、元の文字画素とその色が復元できる。
[First Embodiment]
First, before describing the configuration and processing related to decoding in the first embodiment, an outline of encoding in the encoding device will be described. Here, a digital camera will be described as an example of the encoding device. For the sake of simplicity, the target image is a monochrome image (the number of color components is one), and an image 800 in FIG. 8 is an image taken by a digital camera. In the image 800, a character image indicating the shooting date is combined with the gradation image at the shooting timing. When this image is encoded, it is encoded in units of blocks composed of 16 × 16 pixels. Here, consider a case where a block 801 including a part of a character line drawing (character line drawing pixel group 802) in the image 800 is encoded. In this case, the processor inside the digital camera extracts the color of the character line drawing pixel in the block of interest, and for each pixel, whether it is a character line drawing pixel or a non-character line drawing pixel (extracted color pixel or not). ID information indicating whether the pixel is a non-extracted color pixel). Since it suffices to identify whether it belongs to a character line image or a gradation image, the element corresponding to each pixel constituting the identification information may be 1 bit. In the illustrated example, since one block is composed of 16 × 16 pixels, the identification information may be 16 × 16 bits. The reference numeral 803 shown in the figure is this identification information. As is apparent from the above, lossless encoding is performed on the identification information 803. As the lossless encoding, run length encoding is preferable. In order to restore the character / line drawing pixel group 802 in the original block, in addition to the identification information 803, information indicating the color of the character / line drawing pixel group 802 is sufficient. That is, if a pixel whose identification information element is “1” is replaced with the color value, the original character pixel and its color can be restored.

階調画像に適した符号化として、非可逆のJPEGが知られている。しかし、JPEGでは、符号化しようとする画像に高周波成分が多く含まれている場合、その符号化効率が悪くなる。ここで、ブロック801に着目すると、直交変換にて高周波成分データの要因となる文字線画画素群802が含まれるので、ブロック801をそのままJPEG符号化しても高い圧縮率は望めない。そこで、この文字線画画素群802を構成する各画素の値を、非文字線画の画素の平均値で置換した画素群805を生成し、それを含むブロック804を生成する。このブロック804をJPEG符号化しても良いが、更に圧縮率を高めるため、ブロック804における2×2画素を単位とし、その平均値を算出し、算出した平均値が1つの画素の値として扱うことで、8×8画素で構成される小ブロック806を生成する。この小ブロック806に対して、JPEG符号化を行う。   As an encoding suitable for a gradation image, irreversible JPEG is known. However, in JPEG, when a high frequency component is included in an image to be encoded, the encoding efficiency is deteriorated. Here, when attention is focused on the block 801, since the character / line drawing pixel group 802 that causes high-frequency component data by orthogonal transformation is included, even if the block 801 is JPEG encoded as it is, a high compression rate cannot be expected. Therefore, a pixel group 805 is generated by replacing the value of each pixel constituting the character / line image pixel group 802 with the average value of the non-character / line image pixels, and a block 804 including the pixel group 805 is generated. This block 804 may be JPEG-encoded, but in order to further increase the compression rate, the average value is calculated in units of 2 × 2 pixels in the block 804, and the calculated average value is handled as the value of one pixel. Thus, a small block 806 composed of 8 × 8 pixels is generated. JPEG encoding is performed on the small block 806.

上記は、オリジナルの16×16画素のブロック内に、文字線画画素群802が存在する場合であったが、ブロック内に文字線画が存在しない場合には、1ブロックの符号化データには、識別情報、文字の色の符号化データは不要であり、そのブロックを水平、垂直とも1/2にした画像に対してJPEG符号化データがあれば良い。ただし、各ブロックの符号化データが、いずれのモードであるのかを判別できないと、正しい復号処理が行えないので、1ブロックの符号化データの先頭には1ビットのモード情報を付加する。   The above is the case where the character line drawing pixel group 802 exists in the original 16 × 16 pixel block. However, if there is no character line drawing in the block, the encoded data of one block is identified. Information and encoded data of character colors are not necessary, and JPEG encoded data may be used for an image in which the block is halved both horizontally and vertically. However, if it is not possible to determine which mode the encoded data of each block is in, the correct decoding process cannot be performed. Therefore, 1-bit mode information is added to the head of the encoded data of one block.

図4(a)は、文字線画画素群を内包しないブロックの符号化データのデータ構造を示し、同図(b)は文字線画画素を内包するブロックの符号化データのデータ構造を示している。   FIG. 4A shows the data structure of the encoded data of a block that does not contain a character / line drawing pixel group, and FIG. 4B shows the data structure of the encoded data of a block that contains a character / line drawing pixel.

なお、上記ではブロックのサイズを16×16画素とし、階調画像に対する縮小率は水平、垂直とも1/2としたが、これらは一例である。例えば、ブロックのサイズや縮小率に関する情報は、符号化データファイルのヘッダ部に格納しておき、それに従って復号するようにすればよいであろう。例えば、1ブロックのサイズとして、24×24画素とし、水平、垂直とも1/3や1/2倍にしても構わない。   In the above description, the block size is 16 × 16 pixels, and the reduction ratio for the gradation image is ½ for both horizontal and vertical, but these are only examples. For example, information on the block size and the reduction rate may be stored in the header portion of the encoded data file and decoded accordingly. For example, the size of one block may be 24 × 24 pixels, and both horizontal and vertical may be 1/3 or 1/2 times.

以上、本第1の実施形態における画像復号装置が復号する対象の符号化データの構造について説明した。次に、実施形態における画像復号装置について説明する。   The structure of the encoded data to be decoded by the image decoding apparatus according to the first embodiment has been described above. Next, the image decoding apparatus in the embodiment will be described.

図1は、第1の実施形態の画像復号装置のブロック図である。図示において、アンパック部101は、1ブロック分の符号化データを入力し、先頭のモード情報から、入力した符号化データが図4(a)、(b)のいずれの符号化データであるかを判定する。そして、図4(b)のデータ構造の符号化データであると判断した場合、アンパック部101は入力された1ブロック分の符号化データから、色データ、識別情報の符号化データ、及び、階調画像の符号化データとを分離し、色データを画像合成部105に、識別情報の符号化データを識別情報復号部102に、階調画像の符号化データを階調データ復号部103にそれぞれ出力する。   FIG. 1 is a block diagram of an image decoding apparatus according to the first embodiment. In the figure, the unpacking unit 101 inputs encoded data for one block, and from the mode information at the head, determines whether the input encoded data is the encoded data shown in FIGS. judge. If it is determined that the encoded data has the data structure shown in FIG. 4B, the unpacking unit 101 determines the color data, the encoded data of the identification information, and the rank from the input encoded data for one block. The encoded data of the tone image is separated, the color data is supplied to the image composition unit 105, the encoded data of the identification information is supplied to the identification information decoding unit 102, and the encoded data of the gradation image is supplied to the gradation data decoding unit 103 Output.

なお、入力した1ブロックの符号化データが、図4(a)のデータ構造であった場合、アンパック部101は、予め用意した、ブロック内の全画素が非文字線画であることを示す識別情報の符号化データを識別情報復号部102に出力し、モード情報に後続する全符号化データを階調データ復号部103に出力する。このとき、アンパック部101は色データを出力してもしなくても構わない。図4(a)のデータ構造の場合、画像合成部105はその色データを無視するからである。   If the input encoded data of one block has the data structure shown in FIG. 4A, the unpack unit 101 prepares identification information indicating that all the pixels in the block are non-character line drawings. Are output to the identification information decoding unit 102, and all encoded data subsequent to the mode information are output to the gradation data decoding unit 103. At this time, the unpack unit 101 may or may not output color data. This is because the image composition unit 105 ignores the color data in the case of the data structure of FIG.

識別情報復号部102は、分離された識別情報を復号(ランレングス復号)し出力する。また、階調データ復号部103は、分離された階調データを復号(JPEG復号)し、その結果(8×8画素)を出力する。拡大部104は入力された階調データを拡大して原画像の1ブロック(16×16画素)の解像度に戻し出力する。合成部105は、入力された色データ、識別情報、拡大後の階調画像データに基づき、16×16画素の1ブロック分の階調画像を生成し出力する。   The identification information decoding unit 102 decodes (run-length decoding) the separated identification information and outputs it. The gradation data decoding unit 103 decodes the separated gradation data (JPEG decoding) and outputs the result (8 × 8 pixels). The enlargement unit 104 enlarges the input gradation data, returns it to the resolution of one block (16 × 16 pixels) of the original image, and outputs it. The synthesizing unit 105 generates and outputs a gradation image for one block of 16 × 16 pixels based on the input color data, identification information, and enlarged gradation image data.

識別情報復号部102は入力された圧縮データに対して、可逆の復号処理(ランレングス復号)を行い、16×16画素分の識別情報を復号し、その結果を、画像合成部105、及び、拡大部104に出力する。識別情報は先に説明したように、16×16ビットで構成され、1ビットが1画素に対応し、その値が“1”の場合、その画素が文字線画の画素、すなわち、抽出色の画素を示す。また、“0”の場合、その画素が非文字線画(階調画像)の画素、すなわち、非抽出色の画素を示す。   The identification information decoding unit 102 performs reversible decoding processing (run length decoding) on the input compressed data, decodes identification information for 16 × 16 pixels, and outputs the result to the image synthesis unit 105, and Output to the enlargement unit 104. As described above, the identification information is composed of 16 × 16 bits, and if one bit corresponds to one pixel and the value is “1”, the pixel is a character line drawing pixel, that is, an extracted color pixel. Indicates. In the case of “0”, the pixel indicates a pixel of a non-character line drawing (gradation image), that is, a pixel of a non-extracted color.

階調データ復号部103は、入力された階調画像の符号化データに対して復号処理(JPEG復号)を行い、8×8画素の多値の階調画像データを出力する。   The gradation data decoding unit 103 performs a decoding process (JPEG decoding) on the encoded data of the input gradation image, and outputs 8 × 8 pixel multi-value gradation image data.

拡大部104は、階調データ復号部103より入力された階調画像データを拡大する処理を行う。この拡大部104の拡大の処理手順を示すのが図5のフローチャートであり、図6はその説明のための図である。以下、図5、図6を用いて、実施形態における拡大部104の処理内容を説明する。

まず、S1において、拡大部104は、入力された8×8画素の階調画像データの中から画素値の最小値と最大値を探して記憶する。ここで、得られた最小値をC0、最大値をC1とする。図6の点線太枠601は、着目している8×8画素の画像データを示している。図示の如く、各画素は「行、列」で特定され、画素「00」から画素「77」までが入力画素であり、その中から画素値の最小値C0と最大値C1を探す(C0≦C1の関係にある)。尚、ここでは最小値と最大値としたが、特にそれらに限る必要は無く、C0とC1は非抽出画素の中の小さい値と大きい値を代表する値であればよい。例えば点線太枠601内部の多値データの平均値を求め、平均値未満の画素群の平均値をC0、平均値以上の画素群の平均値をC1としても良い。
The enlargement unit 104 performs a process of enlarging the gradation image data input from the gradation data decoding unit 103. The flowchart of FIG. 5 shows the enlargement processing procedure of the enlargement unit 104, and FIG. 6 is a diagram for explaining it. Hereinafter, processing contents of the enlargement unit 104 in the embodiment will be described with reference to FIGS. 5 and 6.

First, in S1, the enlargement unit 104 searches for and stores the minimum and maximum pixel values from the input 8 × 8 pixel gradation image data. Here, it is assumed that the obtained minimum value is C0 and the maximum value is C1. A thick dotted line frame 601 in FIG. 6 indicates 8 × 8 pixel image data of interest. As shown in the figure, each pixel is specified by “row, column”, and pixels “00” to “77” are input pixels, and a minimum value C0 and a maximum value C1 of pixel values are searched for among them (C0 ≦ C1). Here, the minimum value and the maximum value are used. However, the present invention is not particularly limited to these, and C0 and C1 may be values representing a small value and a large value in the non-extracted pixels. For example, the average value of the multi-value data inside the dotted thick frame 601 may be obtained, the average value of the pixel group less than the average value may be C0, and the average value of the pixel group greater than the average value may be C1.

次いで、S2にて、拡大部104は、復号して得られた多値画像データ中の1画素を、2×2画素(以下、小画素という)に分割する。図6には画素「22」(図中には明示していない、画素21と画素23に挟まれた画素)を、2×2に区切られている様子を示している。そして、拡大部104は、それら2×2の小画素中、幾つの小画素の画素値をC0とし、幾つをC1とするかを決定する。以下にその具体例を示す。   Next, in S2, the enlargement unit 104 divides one pixel in the multi-valued image data obtained by decoding into 2 × 2 pixels (hereinafter referred to as small pixels). FIG. 6 shows a state where a pixel “22” (a pixel sandwiched between the pixel 21 and the pixel 23, which is not explicitly shown in the drawing) is divided into 2 × 2. Then, the enlargement unit 104 determines how many pixel values of the 2 × 2 small pixels are C0 and how many are C1. Specific examples are shown below.

先ず、拡大部104は、復号した8×8個の階調画像データ中の1つの画素に着目し、着目画素に幾つの非抽出画素が存在するか(幾つの非文字線画の画素が存在するか)を、識別情報復号部102からの識別情報に基づき判定する。ここで、8×8個の階調画像データ中の着目画素をP(x,y)(x,y=0,1,…,7のいずれか)とし、識別情報復号部102で復号された座標(i,j)(i,j=0,1,2,…15)の識別情報のエレメントをI(i,j)と表わしたとき、着目画素P(x,y)に、存在する抽出画素の個数Jは、次の通りである。
J={I(2x,2y) + I(2x+1,2y) + I(2x,2y+1) + I(2x+1,2y+1)}
First, the enlargement unit 104 pays attention to one pixel in the decoded 8 × 8 gradation image data, and how many non-extracted pixels exist in the pixel of interest (how many non-character line drawing pixels exist). Is determined based on the identification information from the identification information decoding unit 102. Here, the pixel of interest in the 8 × 8 grayscale image data is P (x, y) (any of x, y = 0, 1,..., 7) and is decoded by the identification information decoding unit 102. When the element of the identification information of the coordinates (i, j) (i, j = 0, 1, 2,... 15) is represented as I (i, j), the extraction existing in the pixel of interest P (x, y) The number J of pixels is as follows.
J = {I (2x, 2y) + I (2x + 1,2y) + I (2x, 2y + 1) + I (2x + 1,2y + 1)}

着目画素P(x,y)には最大で4つの抽出画素(文字線画)が存在し得るので、着目画素に含まれる非抽出画素数Lは、L=4−Jで求められる。すなわち、着目画素に含まれる非抽出画素の個数Lは0乃至4の範囲内の値となる。そして、着目画素P(x,y)の画素値をImと表わしたとき、画素値C0の個数L0、画素値C1の個数L1を次の様にして決定した。
(i)非抽出画素の個数L=0の場合:
L0=L1=0
(ii)非抽出画素の個数L=1の場合:
(ii-1) Im<(C0+C1)/2の場合:
L0=1、L1=0
(ii-2) (C0+C1)/2≦Imの場合:
L0=0、L1=1
(iii)非抽出画素の個数L=2の場合:
(iii-1) Im<(2×C0+C1)/3の場合:
L0=2、L1=0
(iii-2) (2×C0+C1)/3≦Im<(C0+2×C1)/3の場合:
L0=1、L1=1
(iii-3) (C0+2×C1)/3≦Im
L0=0、L1=2
(iv)非抽出画素の個数L=3の場合:
(iv-1) Im<(3×C0+C1)/4の場合:
L0=3、L1=0
(iv-2) (3×C0+C1)/4≦Im<(C0+C1)/2の場合:
L0=2、L1=1
(iv-3) (C0+C1)/2≦Im<(C0+3×C1)/4の場合:
L0=1、L1=2
(iv-4) (C0+3×C1)/4≦Imの場合:
L0=0、L1=3
(v)非抽出画素の個数L=4の場合:
(v-1) Im<(4×C0+C1)/5の場合:
L0=4、L1=0
(v-2) (4×C0+C1)/5≦Im<(3×C0+2×C1)/5の場合:
L0=3、L1=1
(v-3) (3×C0+2×C1)/5≦Im<(2×C0+3×C1)/5の場合:
L0=2、L1=2
(v-4) (2×C0+3×C1)/5≦Im<(C0+4×C1)/5の場合:
L0=1、L1=3
(v-5) (C0+4×C1)/5≦Imの場合:
L0=0、L1=4
Since the pixel of interest P (x, y) can have a maximum of four extracted pixels (character line drawings), the number L of non-extracted pixels included in the pixel of interest is obtained by L = 4-J. That is, the number L of non-extracted pixels included in the pixel of interest is a value in the range of 0 to 4. When the pixel value of the pixel of interest P (x, y) is expressed as Im, the number L0 of pixel values C0 and the number L1 of pixel values C1 are determined as follows.
(I) When the number of non-extracted pixels L = 0:
L0 = L1 = 0
(Ii) When the number of non-extracted pixels L = 1:
(Ii-1) When Im <(C0 + C1) / 2:
L0 = 1, L1 = 0
(Ii-2) When (C0 + C1) / 2 ≦ Im:
L0 = 0, L1 = 1
(Iii) Number of non-extracted pixels L = 2:
(Iii-1) When Im <(2 × C0 + C1) / 3:
L0 = 2, L1 = 0
(Iii-2) When (2 × C0 + C1) / 3 ≦ Im <(C0 + 2 × C1) / 3:
L0 = 1, L1 = 1
(Iii-3) (C0 + 2 × C1) / 3 ≦ Im
L0 = 0, L1 = 2
(Iv) Number of non-extracted pixels L = 3:
(Iv-1) When Im <(3 × C0 + C1) / 4:
L0 = 3, L1 = 0
(Iv-2) When (3 × C0 + C1) / 4 ≦ Im <(C0 + C1) / 2:
L0 = 2, L1 = 1
(Iv-3) When (C0 + C1) / 2 ≦ Im <(C0 + 3 × C1) / 4:
L0 = 1, L1 = 2
(Iv-4) When (C0 + 3 × C1) / 4 ≦ Im:
L0 = 0, L1 = 3
(V) Number of non-extracted pixels L = 4:
(V-1) When Im <(4 × C0 + C1) / 5:
L0 = 4, L1 = 0
(V-2) When (4 × C0 + C1) / 5 ≦ Im <(3 × C0 + 2 × C1) / 5:
L0 = 3, L1 = 1
(V-3) When (3 × C0 + 2 × C1) / 5 ≦ Im <(2 × C0 + 3 × C1) / 5:
L0 = 2, L1 = 2
(V-4) When (2 × C0 + 3 × C1) / 5 ≦ Im <(C0 + 4 × C1) / 5:
L0 = 1, L1 = 3
(V-5) When (C0 + 4 × C1) / 5 ≦ Im:
L0 = 0, L1 = 4

上記のようにして、着目画素P(x、y)における画素値C0、C1を持つ小画素の個数L0、L1を決定すると、拡大部104は、非文字線画として生成すべきL個の画素中の、L0個の画素の値をC0、L1個の画素の値をC1にする。上記の如く、着目画素P(x,y)の画素値Imが大きければ大きい程、大きな画素値であるC1を持つ小画素の個数L1が大きな値となり、画素値Imの値が小さいほど、小画素の個数L1が少なくなる。   As described above, when the numbers L0 and L1 of the small pixels having the pixel values C0 and C1 in the pixel of interest P (x, y) are determined, the enlargement unit 104 includes the L pixels to be generated as non-character line drawings. The value of L0 pixels is C0, and the value of L1 pixels is C1. As described above, the larger the pixel value Im of the pixel of interest P (x, y), the larger the number L1 of small pixels having a large pixel value C1, and the smaller the pixel value Im, the smaller the pixel value Im. The number L1 of pixels is reduced.

上記を数学的に示すのであれば、図9に示す通りである。図素の如く、画素値C0、C1を両端とする数直線を考察する。そして、今、非抽出画素の個数Lが仮に「2」であった場合、それに1を加算した数“3”で、その数直線を等分割する。ここで、各分割区間について、画素値C0、C1の個数L0、L1を、図示の様に様に割り当てる。そして、前記着目画素の画素値Imで、その数直線上を内分する位置に基づいて、L0、L1を決定する。図示の場合、画素値Imは、一番右端の領域に属するので、C1の個数L1が“2”、C0の個数が“0”として決定できる。   If the above is shown mathematically, it is as shown in FIG. Consider a number line having pixel values C0 and C1 at both ends, as shown in FIG. Now, if the number L of non-extracted pixels is “2”, the number line is equally divided by the number “3” obtained by adding 1 to it. Here, for each divided section, the numbers L0 and L1 of the pixel values C0 and C1 are assigned as illustrated. Then, L0 and L1 are determined based on the position dividing the number line by the pixel value Im of the pixel of interest. In the illustrated case, since the pixel value Im belongs to the rightmost region, the number L1 of C1 can be determined as “2” and the number of C0 can be determined as “0”.

さて、S3では、拡大部104は、画素値C0、C1を持つ小画素の配置位置を決定する。決定方法として、非抽出画素の位置であって、且つ着目画素に隣接する画素の合計値が大きい順にL1個の画素の画素値をC1に設定し、残ったL0個の画素の画素値をC0に設定する。   In S3, the enlargement unit 104 determines the arrangement position of the small pixels having the pixel values C0 and C1. As a determination method, the pixel values of L1 pixels are set to C1 in descending order of the total value of the pixels adjacent to the target pixel at the position of the non-extracted pixel, and the pixel values of the remaining L0 pixels are set to C0. Set to.

S2と同様に図6の2行、2列目の画素「22」を例にして説明する。まず、黒く塗りつぶした小画素を着目小画素とし、それが非抽出画素(非文字線画の画素)であるとする。この場合、着目小画素に隣接する3つの画素の画素値を加算して指標値を得る。図6では、かぎ型の太枠602で囲まれた画素「11」と画素「12」と画素「21」の3画素の画素値を加算する。なお、着目小画素が画素「00」や画素「01」のようにブロックの端に存在する場合は、図示の如く、図6のように端の画素をブロックの境界で折り返して参照画素とする(同じ番号の画素は同じ値の画素であることを示す)。次に、着目小画素を2×2の小領域の右上の画素にして同じように指標値を計算する。着目画素が右上の場合、参照画素は画素「12」と画素「13」と画素「23」となる。小領域内の全ての非抽出画素に関して指標値を計算し、指標値の大きい位置から順番に、ステップS2で決めたC1の個数だけ、画素値C1を持つ小画素を配置していき、残った位置の画素値をC0とする。指標値が等しい画素の個数がC1の残り個数より大きくなった場合は、左上を最も優先度を高くし、以下順に右上・左下・右下の順に優先度を下げていく。なお、小領域内の抽出画素に関しては、次の画像合成部にて上書きされるため、どんな値にしても良い。この決定作業を点線太枠601内の全画素に対して行うことで、16×16個の小画素で構成される画像、すなわち、オリジナルの階調画像データが生成され、合成部105に出力される。   Similar to S2, the pixel “22” in the second row and second column in FIG. 6 will be described as an example. First, it is assumed that a small pixel painted black is a target small pixel, which is a non-extracted pixel (a pixel of a non-character line drawing). In this case, an index value is obtained by adding pixel values of three pixels adjacent to the target small pixel. In FIG. 6, the pixel values of the three pixels “11”, “12”, and “21” surrounded by the hook-shaped thick frame 602 are added. If the target small pixel exists at the end of the block, such as pixel “00” or pixel “01”, the end pixel is folded back at the block boundary as shown in FIG. 6 to be a reference pixel. (Indicates that pixels with the same number are pixels with the same value). Next, the index value is calculated in the same manner with the target small pixel as the upper right pixel of the 2 × 2 small region. When the target pixel is in the upper right, the reference pixels are the pixel “12”, the pixel “13”, and the pixel “23”. The index values are calculated for all the non-extracted pixels in the small area, and the small pixels having the pixel value C1 are arranged by the number of C1 determined in step S2 in order from the position where the index value is large. The pixel value at the position is C0. When the number of pixels having the same index value is larger than the remaining number of C1, the highest priority is given to the upper left, and the priority is lowered in the order of upper right, lower left, and lower right in the following order. Note that the extracted pixels in the small area are overwritten by the next image composition unit, so any value may be used. By performing this determination operation on all the pixels in the dotted thick frame 601, an image composed of 16 × 16 small pixels, that is, original gradation image data is generated and output to the combining unit 105. The

具体例を図7に示す。図7(a)は、図6の画素「01」の位置を中心とする周囲の3×3画素をピックアップした図である。点線太線は、図6における点線太枠601を表しており、括弧内の数字は画素値を表している。図7(b)は、識別情報を表しており、斜線部分が“1”の画素位置(抽出色画素=文字線画の画素)、空白部分が“0”(非抽出色画素=非文字線画の画素)を示している。   A specific example is shown in FIG. FIG. 7A is a diagram in which surrounding 3 × 3 pixels centering on the position of the pixel “01” in FIG. 6 are picked up. The dotted thick line represents the dotted thick frame 601 in FIG. 6, and the numbers in parentheses represent the pixel values. FIG. 7B shows identification information, where a hatched portion is “1” (extracted color pixel = character / line drawing pixel) and a blank portion is “0” (non-extracted color pixel = non-character line drawing). Pixel).

ステップS1の結果、仮に、(C0,C1)=(30,70)が得られたと仮定して、着目画素「01」の位置についてステップS2から説明する。識別情報における画素「01」に対するエレメントを参照すると、図7(b)より非抽出画素の個数M=3が得られる。よってステップS2の説明で記載した場合分けの(iv)が該当する。次に、図7(a)よりIm=52なので、3つめの不等式(iv-3)が成立し、画素値C0を持つ小画素数が1、画素値C1を持つ小画素数が2という結果が得られる。   Assuming that (C0, C1) = (30, 70) is obtained as a result of step S1, the position of the pixel of interest “01” will be described from step S2. Referring to the element for the pixel “01” in the identification information, the number M = 3 of non-extracted pixels is obtained from FIG. 7B. Therefore, case classification (iv) described in the description of step S2 corresponds. Next, since Im = 52 from FIG. 7A, the third inequality (iv-3) is established, and the result is that the number of small pixels having the pixel value C0 is 1 and the number of small pixels having the pixel value C1 is 2. Is obtained.

次に、ステップS3の具体例を説明する。まず、2×2個の小画素領域のうち、左上を着目小画素とすると、指標値は50+52+50で計算でき、152が得られる。同様に右上の指標値は52+53+53=158、左下は50+46+48=144である。右下は抽出画素なので、計算する必要はない。従って、ステップS2で、C1が2個と決定しているので、最も大きな指標値である右上と2番目に大きい左上に小画素の値をC1とし、最小である左下に小画素の画素値をC0とする。最終的に図7(c)のような拡大画像が得られる。ただし、図7(c)は画素「01」の位置だけ計算した図であり、*は抽出画素であり、次に説明する合成部105で抽出色データに置き換えられるので、画素値は何を与えても良い。   Next, a specific example of step S3 will be described. First, if the upper left of the 2 × 2 small pixel regions is the target small pixel, the index value can be calculated as 50 + 52 + 50, and 152 is obtained. Similarly, the upper right index value is 52 + 53 + 53 = 158, and the lower left is 50 + 46 + 48 = 144. Since the lower right is an extracted pixel, there is no need to calculate it. Therefore, since C1 is determined to be two in step S2, the value of the small pixel is set to C1 in the upper right which is the largest index value and the upper left which is the second largest, and the pixel value of the small pixel is set to the lowest lower left. Let C0. Finally, an enlarged image as shown in FIG. 7C is obtained. However, FIG. 7C is a diagram in which only the position of the pixel “01” is calculated, and * is an extracted pixel, and is replaced with extracted color data by the synthesis unit 105 described below. May be.

合成部105では、入力された識別情報(16×16個のエレメントで構成される)と拡大後の階調画像データ(16×16画素)をもとにブロック画像を生成して出力する。ここでは、識別情報、階調画像ともラスタースキャン順に、合成処理を行うものとする。識別情報のエレメントの値が“1”の時、その画素は抽出画素を示すので、合成部105はアンパック部101から供給された色データの値(文字線画の色)を選択し、出力する。一方、識別情報のエレメントの値が“0”の時、その画素は非抽出画素を示すので、拡大部104から出力された、該当する画素値を選択し、出力する。   The synthesizing unit 105 generates and outputs a block image based on the input identification information (consisting of 16 × 16 elements) and enlarged gradation image data (16 × 16 pixels). Here, both the identification information and the gradation image are combined in the raster scan order. When the element value of the identification information is “1”, the pixel indicates an extracted pixel. Therefore, the synthesizing unit 105 selects and outputs the color data value (character / line drawing color) supplied from the unpacking unit 101. On the other hand, when the value of the element of the identification information is “0”, the pixel indicates a non-extracted pixel. Therefore, the corresponding pixel value output from the enlargement unit 104 is selected and output.

以上のように第1の実施形態に示した拡大方法によれば、符号化時の縮小処理においてぼけてしまった原画像の非抽出画素に存在したエッジなどを、復号時の拡大処理で復元することができ、画質の劣化を防ぐことが可能となる。   As described above, according to the enlargement method shown in the first embodiment, an edge or the like existing in a non-extracted pixel of the original image that has been blurred in the reduction process at the time of encoding is restored by the enlargement process at the time of decoding. Therefore, it is possible to prevent deterioration in image quality.

[第2の実施形態]
第2の実施形態では、ブロック画像内に存在する色数に応じて拡大方法を選択する例を説明する。着目ブロック内の非抽出画素に存在する色数が2色以上Th色未満であることを条件とし、この条件に該当する場合にのみ第1の実施形態に示した拡大方法を適用する。即ち、非抽出画素の階調性が低い(色数が少ない)場合(解像性が重要な場合)は、エッジの再現を目的として第1の実施形態に記した拡大方法を用い、階調性が高い場合(色数が多い=階調性が重要な場合)は通常の拡大を行うというものである。なお、条件として、「2色以上」としたのは、1色では非抽出画素にエッジが存在しないためである。ただし、1色の場合、すなわち、着目ブロック内の全非抽出画素が同じ色の場合には、復号化時にC0=C1となり、自動的に一色のみで再現されるので、「2色以上」を条件から外しても構わない。すなわち、Th色未満かどうかで拡大法を決定しても構わない。また、Thを大きくしすぎると非抽出画素が高階調である時に階調性が失われる場合がある。閾値Thとしては、通常は、3あるいは4程度の値にしておくのが適当ではある。
[Second Embodiment]
In the second embodiment, an example in which an enlargement method is selected according to the number of colors existing in a block image will be described. The enlargement method shown in the first embodiment is applied only when the number of colors existing in the non-extracted pixel in the block of interest is two or more and less than Th, and only when this condition is met. That is, when the gradation of non-extracted pixels is low (the number of colors is small) (when resolution is important), the enlargement method described in the first embodiment is used for the purpose of edge reproduction. When the image quality is high (when the number of colors is large = the gradation property is important), normal enlargement is performed. The condition that “two or more colors” is used is that there is no edge in non-extracted pixels in one color. However, in the case of one color, that is, when all the non-extracted pixels in the block of interest are the same color, C0 = C1 at the time of decoding and automatically reproduced with only one color. You may remove from the conditions. That is, the enlargement method may be determined based on whether the color is less than Th color. On the other hand, if Th is too large, the gradation may be lost when the non-extracted pixel has a high gradation. As the threshold value Th, it is usually appropriate to set a value of about 3 or 4.

第2の実施形態における1ブロックの符号化データのデータ構造は、図4(a)、(c)の2種類となる。同図(a)は、第1の実施形態と同じ意味である。図4(c)は、抽出色画素が存在した場合の符号化データのデータ構造を示している。図4(b)と比較して、モードデータの次の1ビットに、そのブロック内の非抽出画素に存在する色数が閾値Th色未満(或いは2色以上Th色未満)であるか否かを示すビットを割り当てた(満たしている場合には“1”、満たしていない場合には“0”とする)。   The data structure of one block of encoded data in the second embodiment is of two types as shown in FIGS. FIG. 5A has the same meaning as in the first embodiment. FIG. 4C shows the data structure of the encoded data when there are extracted color pixels. Compared to FIG. 4B, whether or not the number of colors existing in the non-extracted pixel in the block is less than the threshold Th color (or more than 2 colors and less than Th color) in the next 1 bit of the mode data (1 is set when the bit is satisfied, and “0” is set when the bit is not satisfied).

図2に、本第2の実施形態における画像符号化装置の構成例を示す。抽出部201は入力されたブロック画像(16×16画素とする)から、文字線画の画素の色を抽出して色データとしてパック部207に出力する。また、抽出部201は、各画素毎に、その画素が文字線画画素/非文字線画画素(或いは、抽出色画素/非抽出色画素)のいずれであるかを示すデータを生成し、16×16画素分のデータを識別情報として識別情報符号化部203に出力する。色数判定部202は入力されたブロック画像の非抽出画素に含まれる色数を計数し、その色数が閾値Th未満であるか否かを示す1ビットのデータを色数データ(図4(c)参照)としてパック部207に出力する。識別情報符号化部203は抽出部201から出力された識別情報(16×16ビット)を可逆符号化(ランレングス符号化が効果的である)し、その符号化結果をパック部207に出力する。置換部204は、抽出部201からの識別情報に基づき、非文字線画(非抽出色画素)の平均値を算出する。そして、置換部204は、非文字線画画素についてはそのまま通過させ、文字線画画素(抽出色画素)については、その画素値を算出した平均値で置換して出力する。この結果、着目ブロックには、文字線画が存在せず、実質的に高周波成分が除去された16×16画素の階調画像データが生成される。縮小部205は、入力した16×16画素の階調画像データ中の2×2画素を単位に、その平均値を算出し、算出した平均値を画素値とする画素データを出力することで、8×8画素の縮小階調画像データを出力する。なお、縮小部205は、2×2画素の平均値を算出するものとしたが、16×16画素の画像データを8×8画素の画像データに縮小できれば良いので、そのアルゴリズムは上記に限定されない。例えば、入力した16×16画素の階調画像データ中の2×2画素の1つをサンプリングして、それを8×8画素の縮小階調画像データとして出力しても構わない。階調データ符号化部206は、入力した8×8画素の縮小階調画像データを非可逆符号化(JPEGが好適である)し、その結果をパック部207に出力する。パック部207は、抽出部201から文字線画の色データを受信した場合(もしくは、文字線画が存在することを示す独立した制御信号を受信した場合としても良い)、入力した各データを結合し、図4(c)のようなデータ構造の符号化データを生成し、出力する。一方、パック部207は、抽出部201から文字線画の色データを受信しない場合(もしくは、文字線画が存在しないことを示す独立した制御信号を受信した場合)、入力した各データを結合し、図4(a)のようなデータ構造の符号化データを生成し、出力する(識別情報、色データは無視する)。   FIG. 2 shows an example of the configuration of the image coding apparatus according to the second embodiment. The extraction unit 201 extracts the color of the pixel of the character / line image from the input block image (16 × 16 pixels), and outputs it to the pack unit 207 as color data. Further, the extraction unit 201 generates, for each pixel, data indicating whether the pixel is a character line drawing pixel / non-character line drawing pixel (or an extracted color pixel / non-extracted color pixel), and is 16 × 16. Data for pixels is output to the identification information encoding unit 203 as identification information. The number-of-colors determination unit 202 counts the number of colors included in the non-extracted pixels of the input block image, and displays 1-bit data indicating whether the number of colors is less than the threshold Th as the number-of-colors data (FIG. 4 ( c), and output to the pack unit 207. The identification information encoding unit 203 performs lossless encoding (run-length encoding is effective) on the identification information (16 × 16 bits) output from the extraction unit 201, and outputs the encoding result to the pack unit 207. . The replacement unit 204 calculates an average value of non-character line drawings (non-extracted color pixels) based on the identification information from the extraction unit 201. Then, the replacement unit 204 passes the non-character line drawing pixels as they are, and outputs the character line drawing pixels (extracted color pixels) by replacing the pixel values with the calculated average values. As a result, there is no character line drawing in the block of interest, and 16 × 16 pixel gradation image data from which high-frequency components have been substantially removed is generated. The reduction unit 205 calculates an average value in units of 2 × 2 pixels in the input gradation image data of 16 × 16 pixels, and outputs pixel data having the calculated average value as a pixel value. 8 × 8 pixel reduced gradation image data is output. Although the reduction unit 205 calculates the average value of 2 × 2 pixels, the algorithm is not limited to the above because it is only necessary to reduce the image data of 16 × 16 pixels to image data of 8 × 8 pixels. . For example, one of 2 × 2 pixels in the input 16 × 16 pixel gradation image data may be sampled and output as 8 × 8 pixel reduced gradation image data. The gradation data encoding unit 206 performs irreversible encoding (JPEG is preferable) on the input reduced gradation image data of 8 × 8 pixels, and outputs the result to the pack unit 207. When the pack unit 207 receives color data of a character line drawing from the extraction unit 201 (or may receive an independent control signal indicating that a character line drawing exists), the pack unit 207 combines the input data, Coded data having a data structure as shown in FIG. 4C is generated and output. On the other hand, when the pack unit 207 does not receive the character / line drawing color data from the extraction unit 201 (or receives an independent control signal indicating that no character / line drawing exists), the pack unit 207 combines the input data. Coded data having a data structure such as 4 (a) is generated and output (identification information and color data are ignored).

次に、本第2の実施形態における画像復号装置について説明する。図3に第2の実施形態における画像復号装置の構成例を示す。第1の実施形態と異なるのは、アンパック部301の動作と、第2の拡大部302と選択部303が追加されたことである。その他の構成要素とその動作は全て第1の実施形態と同じである。従って、ここではアンパック部301の動作の説明と、新たに追加された第2の拡大部302と選択部303の説明のみを行う。   Next, the image decoding apparatus in the second embodiment will be described. FIG. 3 shows a configuration example of the image decoding apparatus according to the second embodiment. The difference from the first embodiment is that the operation of the unpack unit 301 and the addition of the second enlargement unit 302 and the selection unit 303 are added. Other components and their operations are all the same as in the first embodiment. Therefore, only the operation of the unpack unit 301 and the newly added second enlargement unit 302 and selection unit 303 will be described here.

アンパック部301は、入力された1ブロック分の符号化データから、モードデータ、色数データ、識別情報、階調画像に分離する。色数データの値は選択部303へ出力される。   The unpack unit 301 separates the input encoded data for one block into mode data, color number data, identification information, and a gradation image. The value of the color number data is output to the selection unit 303.

第2の拡大部302は入力された復号後の多値画像データを拡大する。この第2の拡大部302は2色以上Th色未満の条件に該当しない画像に対する拡大処理を行うモジュールであり、線形補間のような公知の手法を用いれば良い。選択部303では、アンパック部より入力される色数データの値に従って、値が“1”であれば拡大部104からの出力を、“0”(色数が閾値Th以上の場合)であれば第2の拡大部303からの出力を選択して出力する。   The second enlargement unit 302 enlarges the input multi-valued image data after decoding. The second enlargement unit 302 is a module that performs an enlargement process on an image that does not meet the condition of two or more colors and less than the Th color, and a known method such as linear interpolation may be used. In the selection unit 303, according to the value of the color number data input from the unpack unit, if the value is “1”, the output from the enlargement unit 104 is “0” (when the number of colors is equal to or greater than the threshold Th). The output from the second enlargement unit 303 is selected and output.

上述したように色数に応じて拡大方法を選択することで、画像の階調性に応じてより適切な解像度変換を行うことが可能となる。   As described above, by selecting an enlargement method according to the number of colors, it is possible to perform more appropriate resolution conversion according to the gradation of the image.

上記第1,第2の実施形態では、1ブロックのサイズを16×16画素とし、階調画像データが8×8画素の画像として縮小され符号化されているものとして説明したが、上記は例であって、かかるサイズによって本願発明が限定されるものではない。すなわち、1ブロックのサイズや階調画像の符号化データの画素数(実施形態では8×8画素)を示す情報をファイルヘッダに格納しておき、これを用いて復号しても良い。仮に、1ブロックが、その水平方法M画素、垂直方向N画素で表わされるM×N画素で表わされ、縮小階調画像のサイズがm×n画素(m<M,n<N)であった場合、拡大部104は復号して得られたm×n画素の1画素から、(M/m)×(N/n)個の画素を生成することを繰り返せば、元のM×N画素のブロックの階調画像を生成できる。   In the first and second embodiments, it has been described that the size of one block is 16 × 16 pixels and the gradation image data is reduced and encoded as an image of 8 × 8 pixels. However, the present invention is not limited by the size. That is, information indicating the size of one block and the number of pixels of encoded data of a gradation image (8 × 8 pixels in the embodiment) may be stored in the file header and decoded using the information. If one block is represented by M × N pixels represented by M pixels in the horizontal direction and N pixels in the vertical direction, the size of the reduced gradation image is m × n pixels (m <M, n <N). In this case, if the enlargement unit 104 repeatedly generates (M / m) × (N / n) pixels from one m × n pixel obtained by decoding, the original M × N pixels The gradation image of the block can be generated.

なお、上記第1、第2の実施形態では、1ブロックの符号化データのデータ構造は図4(a)乃至(c)のいずれかであるものとして説明した。図4(a)乃至(c)のいずれの場合であっても、1ブロック分の符号化データの最後は階調画像の非可逆符号化データは配置される。従って、仮に階調データの符号化データがその途中で打ち切りを行ったとしても、或る程度の階調画像が再現できることは約束される。すなわち、復号に必要な部分は、図4(b)や図4(c)における1ブロックの符号化データの先頭から、最悪の符号長となった識別情報の符号化データ+所定のビット数の固定長とすることができる。   In the first and second embodiments described above, the data structure of one block of encoded data has been described as being one of FIGS. In any case of FIGS. 4A to 4C, the lossy encoded data of the gradation image is arranged at the end of the encoded data for one block. Therefore, even if the encoded data of the gradation data is cut off in the middle, it is promised that a certain gradation image can be reproduced. That is, the part necessary for decoding is the encoded data of the identification information having the worst code length from the beginning of the encoded data of one block in FIG. 4B or FIG. It can be a fixed length.

また、実施形態ではデジタルカメラに適用する例を説明したが、画像符号化、復号に係る処理は、デジタルカメラだけでなく、プリンタ等の多くの技術分野に用いられるものであるので、上記実施形態によって本発明が限定されるものではない。   In the embodiment, the example applied to the digital camera has been described. However, the processing related to image encoding and decoding is used not only in the digital camera but also in many technical fields such as a printer. However, the present invention is not limited by these.

(その他の実施例)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other examples)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (8)

M×N画素で構成されるブロックを単位とする符号化データから、階調画像データを復号する画像復号装置であって、
符号化データを前記ブロックを単位に入力する入力手段と、
入力した1ブロック分の符号化データから、当該符号化データを構成する、(1)当該ブロックに含まれる文字線画の画素値、(2)前記ブロック内の各画素が文字線画、非文字線画のいずれに属するかを示す識別情報の符号化データ、並びに、(3)前記ブロックのサイズよりも小さい、m×n画素(m<M、n<N)で表わされる階調画像データの符号化データを分離する分離手段と、
前記識別情報の符号化データを復号する識別情報復号手段と、
前記階調画像データの符号化データを復号する階調データ復号手段と、
該階調データ復号手段で得られた、前記m×n画素で表わされる階調画像データ中の1画素から(M/m)×(N/n)個の画素を生成することを繰り返すことで、前記m×n画素で表わされる階調画像データから、前記M×N画素で表わされる前記ブロックのサイズの階調画像データを生成する拡大手段と、
前記識別情報復号手段で得られた識別情報に従って、前記拡大手段で得られた前記ブロックの中の着目画素が文字線画、非文字線画のいずれに属するか否かを判定し、前記着目画素が非文字線画に属すると判定された場合には、前記拡大手段で得られた階調画像データ中の前記着目画素の位置の画素値を出力し、前記着目画素が前記文字線画に属すると判定した場合には前記分離手段で分離した文字線画の画素値を出力する画像合成手段とを備え、
前記拡大手段は、
前記階調データ復号手段で得られた、前記m×n画素の階調画像データから、当該階調画像データの画素値の取り得る範囲内にあって、代表となる2つの画素値C0、C1(C0≦C1)を算出する算出手段と、
前記m×n画素の階調画像データ中の着目画素から生成しようとする(M/m)×(N/n)個の画素の中の、非文字線画に属する画素数Lを、前記識別情報を用いて判定する判定手段と、
前記m×n画素の階調画像データ中の前記着目画素の画素値に従って、前記非文字線画に属するL個の画素のうち、L1(0≦L1≦L)で示される個数の画素が画素値C1を持ち、L0(=L−L1)で示される個数の画素が画素値C0を持つように設定する設定手段とを備え、
該設定手段は、前記m×n画素の階調画像データ中の前記着目画素の画素値が大きければ大きいほど、前記L1を大きな値に設定することを特徴とする画像復号装置。
An image decoding device that decodes gradation image data from encoded data in units of blocks composed of M × N pixels,
Input means for inputting encoded data in units of the blocks;
(1) The pixel value of the character line drawing included in the block, (2) Each pixel in the block is a character line drawing or a non-character line drawing. Encoded data of identification information indicating to which one belongs, and (3) encoded data of gradation image data represented by m × n pixels (m <M, n <N) smaller than the size of the block Separating means for separating,
Identification information decoding means for decoding encoded data of the identification information;
Gradation data decoding means for decoding encoded data of the gradation image data;
By repeatedly generating (M / m) × (N / n) pixels from one pixel in the gradation image data represented by the m × n pixels obtained by the gradation data decoding means. Expanding means for generating gradation image data of the block size represented by the M × N pixels from the gradation image data represented by the m × n pixels;
According to the identification information obtained by the identification information decoding means, it is determined whether the target pixel in the block obtained by the enlargement means belongs to a character line drawing or a non-character line drawing. When it is determined that the pixel belongs to a character / line image, the pixel value at the position of the pixel of interest in the gradation image data obtained by the enlargement unit is output, and the pixel of interest is determined to belong to the character / line image Comprises image synthesizing means for outputting pixel values of the character line image separated by the separating means,
The enlargement means includes
Two representative pixel values C0 and C1 that are within the possible range of the pixel value of the gradation image data from the gradation image data of the m × n pixels obtained by the gradation data decoding means. Calculating means for calculating (C0 ≦ C1);
The number L of pixels belonging to the non-character line drawing among (M / m) × (N / n) pixels to be generated from the target pixel in the m × n pixel gradation image data is represented by the identification information. Determining means for determining using
According to the pixel value of the pixel of interest in the m × n pixel gradation image data, the number of pixels indicated by L1 (0 ≦ L1 ≦ L) among the L pixels belonging to the non-character line drawing is the pixel value. C1 and setting means for setting the number of pixels indicated by L0 (= L−L1) to have the pixel value C0,
The setting means sets the L1 to a larger value as the pixel value of the target pixel in the m × n pixel gradation image data is larger.
前記設定手段は、前記m×n画素の階調画像データ中の前記着目画素に隣接する画素の合計値を算出し、前記m×n画素における前記非文字線画となるL個の画素のうち、前記合計値が大きい順にL1個の画素の画素値をC1とし、残りのL0個の画素の画素値をC0とすることを特徴とする請求項1に記載の画像復号装置。   The setting unit calculates a total value of pixels adjacent to the target pixel in the m × n pixel gradation image data, and among the L pixels that are the non-character line drawing in the m × n pixel, 2. The image decoding apparatus according to claim 1, wherein a pixel value of L1 pixels is C1 and a pixel value of the remaining L0 pixels is C0 in descending order of the total value. 前記算出手段は、
前記階調データ復号手段で得られた、前記m×n画素の階調画像データの各画素の値の最小値をC0、最大値をC1として算出することを特徴とする請求項1又は2に記載の画像復号装置。
The calculating means includes
3. The calculation according to claim 1, wherein the minimum value of each pixel of the m × n pixel gradation image data obtained by the gradation data decoding unit is calculated as C0 and the maximum value is calculated as C1. The image decoding device described.
前記設定手段は、前記画素値C0、C1を両端とする数直線上の、前記着目画素の画素値で内分する位置に基づいて、前記L0、L1を決定することを特徴とする請求項1乃至3のいずれか1項に記載の画像復号装置。   The said setting means determines the said L0 and L1 based on the position internally divided by the pixel value of the said pixel of interest on the number line having the pixel values C0 and C1 as both ends. 4. The image decoding device according to any one of items 1 to 3. 前記分離手段は、1ブロックの符号化データから、更に、前記ブロックに含まれる色数が予め設定された閾値Th未満か否かを示す色数データを分離し、
前記色数データが、前記ブロックに含まれる色数が前記閾値Th以上あることを示している場合に限り、前記拡大手段は、前記階調データ復号手段で得られた前記m×n画素の階調画像データを線形補間して前記M×N画素で表わされる前記ブロックのサイズの階調画像データを生成することを特徴とする請求項1乃至4のいずれか1項に記載の画像復号装置。
The separation means further separates color number data indicating whether or not the number of colors included in the block is less than a preset threshold Th from one block of encoded data,
Only when the number-of-colors data indicates that the number of colors included in the block is greater than or equal to the threshold Th, the enlargement unit is configured to store the m × n pixel levels obtained by the gradation data decoding unit. 5. The image decoding apparatus according to claim 1, wherein gradation image data having a size of the block represented by the M × N pixels is generated by linearly interpolating tone image data. 6.
M×N画素で構成されるブロックを単位とする符号化データから、階調画像データを復号する画像復号装置の制御方法であって、
入力手段が、符号化データを前記ブロックを単位に入力する入力工程と、
分離手段が、入力した1ブロック分の符号化データから、当該符号化データを構成する、(1)当該ブロックに含まれる文字線画の画素値、(2)前記ブロック内の各画素が文字線画、非文字線画のいずれに属するかを示す識別情報の符号化データ、並びに、(3)前記ブロックのサイズよりも小さい、m×n画素(m<M、n<N)で表わされる階調画像データの符号化データを分離する分離工程と、
識別情報復号手段が、前記識別情報の符号化データを復号する識別情報復号工程と、
階調データ復号手段が、前記階調画像データの符号化データを復号する階調データ復号工程と、
拡大手段が、該階調データ復号工程で得られた、前記m×n画素で表わされる階調画像データ中の1画素から(M/m)×(N/n)個の画素を生成することを繰り返すことで、前記m×n画素で表わされる階調画像データから、前記M×N画素で表わされる前記ブロックのサイズの階調画像データを生成する拡大工程と、
画像合成手段が、前記識別情報復号工程で得られた識別情報に従って、前記拡大工程で得られた前記ブロックの中の着目画素が文字線画、非文字線画のいずれに属するか否かを判定し、前記着目画素が非文字線画に属すると判定された場合には、前記拡大工程で得られた階調画像データ中の前記着目画素の位置の画素値を出力し、前記着目画素が前記文字線画に属すると判定した場合には前記分離工程で分離した文字線画の画素値を出力する画像合成工程とを備え、
前記拡大工程は、
前記階調データ復号工程で得られた、前記m×n画素の階調画像データから、当該階調画像データの画素値の取り得る範囲内にあって、代表となる2つの画素値C0、C1(C0≦C1)を算出する算出工程と、
前記m×n画素の階調画像データ中の着目画素から生成しようとする(M/m)×(N/n)個の画素の中の、非文字線画に属する画素数Lを、前記識別情報を用いて判定する判定工程と、
前記m×n画素の階調画像データ中の前記着目画素の画素値に従って、前記非文字線画に属するL個の画素のうち、L1(0≦L1≦L)で示される個数の画素が画素値C1を持ち、L0(=L−L1)で示される個数の画素が画素値C0を持つように設定する設定工程とを含み、
該設定工程は、前記m×n画素の階調画像データ中の前記着目画素の画素値が大きければ大きいほど、前記L1を大きな値に設定することを特徴とする画像復号装置の制御方法。
A control method of an image decoding apparatus for decoding gradation image data from encoded data in units of blocks composed of M × N pixels,
An input step in which the input means inputs encoded data in units of the blocks;
The separation means constitutes the encoded data from the input encoded data for one block, (1) the pixel value of the character line drawing included in the block, (2) each pixel in the block is a character line drawing, Encoded data of identification information indicating which of the non-character line drawing belongs, and (3) gradation image data represented by m × n pixels (m <M, n <N) smaller than the block size A separation step of separating the encoded data of
An identification information decoding means for decoding the encoded data of the identification information;
A gradation data decoding step in which gradation data decoding means decodes the encoded data of the gradation image data;
The enlarging means generates (M / m) × (N / n) pixels from one pixel in the gradation image data represented by the m × n pixels obtained in the gradation data decoding step. Repeating the above, from the gradation image data represented by the m × n pixels, an enlargement step of generating gradation image data of the block size represented by the M × N pixels,
The image synthesis means determines whether the pixel of interest in the block obtained in the enlargement step belongs to either a character line drawing or a non-character line drawing according to the identification information obtained in the identification information decoding step, When it is determined that the target pixel belongs to a non-character line drawing, a pixel value at the position of the target pixel in the gradation image data obtained in the enlargement process is output, and the target pixel is added to the character line drawing. An image composition step for outputting the pixel values of the character line image separated in the separation step when it is determined to belong,
The expansion step includes
From the m × n pixel gradation image data obtained in the gradation data decoding step, two representative pixel values C0 and C1 that fall within the possible range of pixel values of the gradation image data. A calculation step of calculating (C0 ≦ C1);
The number L of pixels belonging to the non-character line drawing among (M / m) × (N / n) pixels to be generated from the target pixel in the m × n pixel gradation image data is represented by the identification information. A determination step of determining using
According to the pixel value of the pixel of interest in the m × n pixel gradation image data, the number of pixels indicated by L1 (0 ≦ L1 ≦ L) among the L pixels belonging to the non-character line drawing is the pixel value. A setting step of setting C1 so that the number of pixels indicated by L0 (= L−L1) has the pixel value C0,
The control method for an image decoding apparatus, wherein the setting step sets the L1 to a larger value as the pixel value of the target pixel in the m × n pixel gradation image data is larger.
コンピュータに読み込ませ実行させることで、前記コンピュータを、M×N画素で構成されるブロックを単位とする符号化データから、階調画像データを復号する画像復号装置として機能させるプログラムであって、
前記コンピュータを、
符号化データを前記ブロックを単位に入力する入力手段と、
入力した1ブロック分の符号化データから、当該符号化データを構成する、(1)当該ブロックに含まれる文字線画の画素値、(2)前記ブロック内の各画素が文字線画、非文字線画のいずれに属するかを示す識別情報の符号化データ、並びに、(3)前記ブロックのサイズよりも小さい、m×n画素(m<M、n<N)で表わされる階調画像データの符号化データを分離する分離手段と、
前記識別情報の符号化データを復号する識別情報復号手段と、
前記階調画像データの符号化データを復号する階調データ復号手段と、
該階調データ復号手段で得られた、前記m×n画素で表わされる階調画像データ中の1画素から(M/m)×(N/n)個の画素を生成することを繰り返すことで、前記m×n画素で表わされる階調画像データから、前記M×N画素で表わされる前記ブロックのサイズの階調画像データを生成する拡大手段と、
前記識別情報復号手段で得られた識別情報に従って、前記拡大手段で得られた前記ブロックの中の着目画素が文字線画、非文字線画のいずれに属するか否かを判定し、前記着目画素が非文字線画に属すると判定された場合には、前記拡大手段で得られた階調画像データ中の前記着目画素の位置の画素値を出力し、前記着目画素が前記文字線画に属すると判定した場合には前記分離手段で分離した文字線画の画素値を出力する画像合成手段として機能させ、
前記拡大手段は、
前記階調データ復号手段で得られた、前記m×n画素の階調画像データから、当該階調画像データの画素値の取り得る範囲内にあって、代表となる2つの画素値C0、C1(C0≦C1)を算出する算出手段と、
前記m×n画素の階調画像データ中の着目画素から生成しようとする(M/m)×(N/n)個の画素の中の、非文字線画に属する画素数Lを、前記識別情報を用いて判定する判定手段と、
前記m×n画素の階調画像データ中の前記着目画素の画素値に従って、前記非文字線画に属するL個の画素のうち、L1(0≦L1≦L)で示される個数の画素が画素値C1を持ち、L0(=L−L1)で示される個数の画素が画素値C0を持つように設定する設定手段とを備え、
該設定手段は、前記m×n画素の階調画像データ中の前記着目画素の画素値が大きければ大きいほど、前記L1を大きな値に設定することを特徴とするプログラム。
A program that causes a computer to function as an image decoding device that decodes grayscale image data from encoded data in units of blocks composed of M × N pixels by being read and executed by a computer,
The computer,
Input means for inputting encoded data in units of the blocks;
(1) The pixel value of the character line drawing included in the block, (2) Each pixel in the block is a character line drawing or a non-character line drawing. Encoded data of identification information indicating to which one belongs, and (3) encoded data of gradation image data represented by m × n pixels (m <M, n <N) smaller than the size of the block Separating means for separating,
Identification information decoding means for decoding encoded data of the identification information;
Gradation data decoding means for decoding encoded data of the gradation image data;
By repeatedly generating (M / m) × (N / n) pixels from one pixel in the gradation image data represented by the m × n pixels obtained by the gradation data decoding means. Expanding means for generating gradation image data of the block size represented by the M × N pixels from the gradation image data represented by the m × n pixels;
According to the identification information obtained by the identification information decoding means, it is determined whether the target pixel in the block obtained by the enlargement means belongs to a character line drawing or a non-character line drawing. When it is determined that the pixel belongs to a character / line image, the pixel value at the position of the pixel of interest in the gradation image data obtained by the enlargement unit is output, and the pixel of interest is determined to belong to the character / line image To function as an image synthesizing means for outputting the pixel values of the character line image separated by the separating means,
The enlargement means includes
Two representative pixel values C0 and C1 that are within the possible range of the pixel value of the gradation image data from the gradation image data of the m × n pixels obtained by the gradation data decoding means. Calculating means for calculating (C0 ≦ C1);
The number L of pixels belonging to the non-character line drawing among (M / m) × (N / n) pixels to be generated from the target pixel in the m × n pixel gradation image data is represented by the identification information. Determining means for determining using
According to the pixel value of the pixel of interest in the m × n pixel gradation image data, the number of pixels indicated by L1 (0 ≦ L1 ≦ L) among the L pixels belonging to the non-character line drawing is the pixel value. C1 and setting means for setting the number of pixels indicated by L0 (= L−L1) to have the pixel value C0,
The setting means sets the L1 to a larger value as the pixel value of the pixel of interest in the m × n pixel gradation image data is larger.
請求項7に記載のプログラムを格納したことを特徴とするコンピュータが読み込み可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 7.
JP2010113421A 2010-05-17 2010-05-17 Image decoding apparatus, control method therefor, program, and computer-readable storage medium Expired - Fee Related JP5597028B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010113421A JP5597028B2 (en) 2010-05-17 2010-05-17 Image decoding apparatus, control method therefor, program, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010113421A JP5597028B2 (en) 2010-05-17 2010-05-17 Image decoding apparatus, control method therefor, program, and computer-readable storage medium

Publications (3)

Publication Number Publication Date
JP2011244152A true JP2011244152A (en) 2011-12-01
JP2011244152A5 JP2011244152A5 (en) 2013-06-20
JP5597028B2 JP5597028B2 (en) 2014-10-01

Family

ID=45410365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010113421A Expired - Fee Related JP5597028B2 (en) 2010-05-17 2010-05-17 Image decoding apparatus, control method therefor, program, and computer-readable storage medium

Country Status (1)

Country Link
JP (1) JP5597028B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0793531A (en) * 1993-09-27 1995-04-07 Canon Inc Picture processor
JP2009077177A (en) * 2007-09-20 2009-04-09 Canon Inc Image coder and control method therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0793531A (en) * 1993-09-27 1995-04-07 Canon Inc Picture processor
JP2009077177A (en) * 2007-09-20 2009-04-09 Canon Inc Image coder and control method therefor

Also Published As

Publication number Publication date
JP5597028B2 (en) 2014-10-01

Similar Documents

Publication Publication Date Title
JP4979323B2 (en) Image processing apparatus and control method thereof
US8553301B2 (en) Image processing apparatus, method, and program product to perform color-reduction processing for a block
JP4902569B2 (en) Image coding apparatus and control method thereof
US8213727B2 (en) Image encoding apparatus and image decoding apparatus, and control method thereof
JP4956304B2 (en) Image encoding apparatus, control method therefor, computer program, and computer-readable storage medium
JP2008072624A (en) Image encoding device and its control method
JP2001094990A (en) Image coder
JP4958832B2 (en) Image coding apparatus and control method thereof
JPH1188700A (en) Coding method of color image signal, and decoding method and color image processor thereof
JP5116650B2 (en) Image coding apparatus and control method thereof
JP2008278042A (en) Image coding device, decoding device, and control method for them
US8023756B2 (en) Image encoding apparatus and method of controlling same
JP2008042683A (en) Image processing apparatus and its control method, computer program and computer readable storage medium
JP5597028B2 (en) Image decoding apparatus, control method therefor, program, and computer-readable storage medium
JP4462055B2 (en) Image processing apparatus and image processing method
JP4802853B2 (en) Image processing apparatus and image processing program
JP5432690B2 (en) Image coding apparatus and control method thereof
JP2008109478A (en) Image encoding device, method, program and storage medium
JP2013038656A (en) Image encoder and control method of the same
JP4757172B2 (en) Image coding apparatus and control method thereof
JP4795160B2 (en) Image processing apparatus, control method therefor, computer program, and computer-readable storage medium
JP5538985B2 (en) Image coding apparatus and control method thereof
JP4971880B2 (en) Image encoding apparatus, image decoding apparatus, and control method thereof
JP3354076B2 (en) Image compression method, image expansion method, image compression device, and image expansion device
JP4860558B2 (en) Encoding apparatus and encoding method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130507

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130507

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140516

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140627

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140808

R151 Written notification of patent or utility model registration

Ref document number: 5597028

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees