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

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

Info

Publication number
JP6632752B2
JP6632752B2 JP2019047337A JP2019047337A JP6632752B2 JP 6632752 B2 JP6632752 B2 JP 6632752B2 JP 2019047337 A JP2019047337 A JP 2019047337A JP 2019047337 A JP2019047337 A JP 2019047337A JP 6632752 B2 JP6632752 B2 JP 6632752B2
Authority
JP
Japan
Prior art keywords
encoding
coefficient
interest
subband
coefficients
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.)
Active
Application number
JP2019047337A
Other languages
Japanese (ja)
Other versions
JP2019126080A (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 JP2019047337A priority Critical patent/JP6632752B2/en
Publication of JP2019126080A publication Critical patent/JP2019126080A/en
Application granted granted Critical
Publication of JP6632752B2 publication Critical patent/JP6632752B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、画像データを符号化する画像符号化技術に関するものである。   The present invention relates to an image encoding technique for encoding image data.

画像データの符号化方式の一つとしてJPEG−LSがある。JPEG−LSは、ロスレス符号化とニアロスレス符号化を選択でき、符号化対象画素の周囲画素の状態に基づいて予測符号化とランレングス符号化を切り替えることで高い圧縮率を実現している。予測符号化は、符号化対象画素の画素値を周囲画素から予測し、予測誤差を符号化する。JPEG−LSにおけるランレングス符号化は、同一画素値のラン長(連続数)を符号化する。予測符号化とランレングス符号化を用いる他の方法として、複数の予測方法の識別情報と、そのラン長(連続値)と、予測誤差を選択して符号化する方法も知られている(たとえば、特許文献1)。   JPEG-LS is one of the image data encoding methods. In JPEG-LS, lossless coding or near lossless coding can be selected, and a high compression ratio is realized by switching between predictive coding and run-length coding based on the state of pixels surrounding the pixel to be coded. The prediction coding predicts a pixel value of a coding target pixel from surrounding pixels, and codes a prediction error. In run-length encoding in JPEG-LS, a run length (the number of continuations) of the same pixel value is encoded. As another method using prediction encoding and run-length encoding, a method of selecting and encoding identification information of a plurality of prediction methods, their run lengths (continuous values), and prediction errors is also known (for example, , Patent Document 1).

特許第3885413号公報Japanese Patent No. 3888513

予測符号化とランレングス符号化とを比べたとき、同じデータが連続すればするほど後者の方が前者に対して圧倒的に符号化効率が高いのは明らかである。しかし、これまでの符号化技術では、ウェーブレット変換で得られたサブバンドに対して一律の同じ判定基準で、いずれの符号化を利用するかを決定しており、まだ改善の余地があった。   When predictive coding and run-length coding are compared, it is clear that the more continuous the same data, the overwhelmingly higher coding efficiency of the latter over the former. However, in the conventional encoding techniques, which encoding is used for the subband obtained by the wavelet transform based on the same uniform criterion, there is still room for improvement.

本発明は係る点に鑑み、ウェーブレット変換を利用しながらも、より高い符号化効率を実現する技術を提供しようとするものである。   In view of the above, an object of the present invention is to provide a technique for realizing higher coding efficiency while using a wavelet transform.

この課題を解決するため、例えば本発明の画像符号化装置は以下の構成を備える。すなわち、
画像データを符号化する画像符号化装置であって、
符号化対象の画像データをウェーブレット変換して、複数のサブバンドを生成する変換手段と、
サブバンドを構成する係数をラスタスキャン順に入力し、着目係数の予測値を当該着目係数の周囲に位置する符号化済の係数から求めることで、前記着目係数を予測符号化する第1の符号化手段と、
サブバンドにおける係数をラスタスキャン順に入力し、同じ係数の連続数を表すランを求め符号化する第2の符号化手段と、
前記着目係数が属する着目サブバンドがサブバンドLLであるか否かの第一の判定と、前記着目係数の周囲に位置する符号化済の複数の係数の値の関係を判定する第二の判定とに基づき、前記着目係数を前記第1の符号化手段で符号化するか、前記着目係数をランの起点として前記第2の符号化手段で符号化するかを判定する判定手段と、を備え
In order to solve this problem, for example, an image encoding device of the present invention has the following configuration. That is,
An image encoding device that encodes image data,
Transform means for performing a wavelet transform on the image data to be encoded to generate a plurality of subbands;
A first coding for predictively encoding the coefficient of interest by inputting coefficients constituting the subband in raster scan order and obtaining a predicted value of the coefficient of interest from encoded coefficients located around the coefficient of interest Means,
Second encoding means for inputting the coefficients in the subband in the raster scan order, and obtaining and encoding a run representing the number of consecutive same coefficients;
A first determination as to whether or not the subband of interest to which the target coefficient belongs is a subband LL, and a second determination to determine the relationship between the values of a plurality of coded coefficients located around the target coefficient. And determining means for determining whether the coefficient of interest is to be encoded by the first encoding means or to be encoded by the second encoding means using the coefficient of interest as a starting point of a run, based on You .

本発明によれば、ウェーブレット変換を利用しながらも、より高い符号化効率を実現することが可能になる。   According to the present invention, it is possible to realize higher coding efficiency while using the wavelet transform.

画像符号化装置の構成の一例を示す図。FIG. 2 is a diagram illustrating an example of a configuration of an image encoding device. 符号化部の構成の一例を示す図。The figure which shows an example of a structure of an encoding part. 情報処理部のハードウェア構成を示す図。FIG. 2 is a diagram illustrating a hardware configuration of an information processing unit. カメラの撮像部の構成の一例を示す図。FIG. 3 is a diagram illustrating an example of a configuration of an imaging unit of the camera. 符号化部の処理を示すフローチャート。5 is a flowchart illustrating processing of an encoding unit. サブバンド符号化部の処理を示すフローチャート。9 is a flowchart illustrating processing of a subband encoding unit. 第1モード判定部の処理を示すフローチャート。5 is a flowchart illustrating processing of a first mode determination unit. 第2モード判定部の処理を示すフローチャート。9 is a flowchart illustrating a process of a second mode determination unit. ウェーブレット変換によるサブバンド分割を説明する図。FIG. 4 is a diagram illustrating subband division by wavelet transform. 着目係数と周辺係数の位置関係を示す図。The figure which shows the positional relationship of an attention coefficient and a peripheral coefficient. ゴロム・ライス符号化を説明する図。The figure explaining Golomb-Rice encoding. 第2の実施形態の第2モード判定部の処理を示すフローチャート。9 is a flowchart illustrating processing of a second mode determination unit according to the second embodiment.

以下、添付図面を参照し、本発明の好適な実施形態について説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載した構成の具体的な実施形態の一つである。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. The embodiment described below shows an example in which the present invention is specifically implemented, and is one of the specific embodiments having the configuration described in the claims.

[第1の実施形態]
第1の実施形態は、画像データをウェーブレット変換で複数のサブバンドに分割し、サブバンド分割されたウェーブレット係数を予測符号化、及び、ランレングス符号化で符号化する画像符号化装置に適用される。以下、本実施形態に示す画像符号化装置について説明する。
[First Embodiment]
The first embodiment is applied to an image encoding device that divides image data into a plurality of subbands by wavelet transform, and encodes the subband-divided wavelet coefficients by predictive encoding and run-length encoding. You. Hereinafter, the image encoding device according to the present embodiment will be described.

第1の実施形態では、画像符号化装置をカメラに適用した例を説明する。図1はそのカメラ100のブロック構成図である。カメラ100は、操作部101と、撮像部102と、情報処理部109と、記憶部107と、I/Oインターフェース108とを有している。情報処理部109は、取得部103、画像処理部104、符号化部105、出力部106を有する。   In the first embodiment, an example in which the image encoding device is applied to a camera will be described. FIG. 1 is a block diagram of the camera 100. The camera 100 includes an operation unit 101, an imaging unit 102, an information processing unit 109, a storage unit 107, and an I / O interface 108. The information processing unit 109 includes an acquisition unit 103, an image processing unit 104, an encoding unit 105, and an output unit 106.

図4(a)はカメラ100の正面図である。図4(a)に示すように、カメラ100は撮像部102を備えている。図4(b)は撮像部102の内部構成を示す図である。撮像部102は、ズームレンズ401、フォーカスレンズ402、403、開口絞り404、シャッター405を有している。また光学ローパスフィルタ406、iRカットフィルタ407、カラーフィルタ408、撮像素子409およびA/D変換部410を有している。ユーザは絞り404を調整することにより、撮像部102に入射される入射光量を調節できる。撮像素子409は、CMOSやCCDなどの受光素子である。撮像素子409で被写体の光量を検知すると、検知された光量がA/D変換部410によってデジタル値に変換され、デジタルデータとして情報処理部109へと出力される。   FIG. 4A is a front view of the camera 100. As shown in FIG. 4A, the camera 100 includes an imaging unit 102. FIG. 4B is a diagram illustrating an internal configuration of the imaging unit 102. The imaging unit 102 includes a zoom lens 401, focus lenses 402 and 403, an aperture stop 404, and a shutter 405. Further, it has an optical low-pass filter 406, an iR cut filter 407, a color filter 408, an image sensor 409, and an A / D converter 410. The user can adjust the amount of incident light incident on the imaging unit 102 by adjusting the aperture 404. The imaging element 409 is a light receiving element such as a CMOS or a CCD. When the light amount of the subject is detected by the imaging element 409, the detected light amount is converted into a digital value by the A / D conversion unit 410 and output to the information processing unit 109 as digital data.

図3は情報処理部109の内部構成を示す図である。情報処理部109は、CPU301、RAM302、ROM303を有し、各構成部はシステムバス304により相互に接続されている。ROM303にはCPU301が実行するプログラムや各種データが記憶され、RAM302はCPU301がプログラムを実行した際のワークエリア、各種バッファとして利用される。CPU301は、ROM303に格納されたプログラムを実行し、RAM302をワークエリアやバッファとして利用する。これにより、先に示した図1の取得部103、画像処理部104、符号化部105、出力部106として機能すると共に、装置全体の制御を司ることになる。なお、ここでは、各構成要素を、CPU301が実行することで実現するものとしたが、同等の処理を果たす専用の回路等で実現しても構わない。   FIG. 3 is a diagram showing the internal configuration of the information processing unit 109. The information processing unit 109 has a CPU 301, a RAM 302, and a ROM 303, and the components are mutually connected by a system bus 304. The ROM 303 stores programs executed by the CPU 301 and various data, and the RAM 302 is used as a work area and various buffers when the CPU 301 executes the programs. The CPU 301 executes a program stored in the ROM 303, and uses the RAM 302 as a work area and a buffer. This functions as the acquisition unit 103, the image processing unit 104, the encoding unit 105, and the output unit 106 shown in FIG. 1 and controls the entire apparatus. Here, each component is realized by the CPU 301 executing the component, but may be realized by a dedicated circuit or the like that performs the same processing.

操作部101は、カメラ本体に備えられたボタンやダイヤル、タッチパネルなどの入力装置であり、ユーザが操作して、撮影の開始、停止および撮影条件の設定などの命令を行える。記憶部107は、撮像部102により取得されたRAW画像データ、および、画像データを保存することができる、メモリカードなどの不揮発性の記憶媒体である。I/Oインターフェース108はユニバーサルシリアルバス(USB)によって実装されたシリアルバス接続を利用でき、対応するUSBコネクタを有する。もちろん、光ファイバーによるLAN接続や、無線接続などを利用しても良い。   The operation unit 101 is an input device such as a button, a dial, and a touch panel provided in the camera body, and can be operated by a user to perform commands such as start and stop of shooting and setting of shooting conditions. The storage unit 107 is a non-volatile storage medium such as a memory card that can store the RAW image data acquired by the imaging unit 102 and the image data. The I / O interface 108 can utilize a serial bus connection implemented by a universal serial bus (USB) and has a corresponding USB connector. Of course, a LAN connection or a wireless connection using an optical fiber may be used.

表示部305は、撮影画像や文字の表示を行う。表示部305には一般的に液晶ディスプレイが用いられる。またタッチパネル機能を有していても良く、その場合はタッチパネルを用いたユーザ指示を操作部101の入力として扱うことも可能である。   The display unit 305 displays captured images and characters. A liquid crystal display is generally used for the display unit 305. In addition, a touch panel function may be provided. In that case, a user instruction using the touch panel can be treated as an input of the operation unit 101.

以下、本実施形態に示す情報処理部109の処理について説明する。ユーザの操作部101に対する撮像指示に基づき、取得部103は、撮像部102から出力されたRAW画像データを取得し、画像処理部104にRAW画像データを出力する。画像処理部104は、RAW画像データを、デモザイク処理して、通常の1画素がRGBの3成分で構成される画像データを生成し、符号化部105に画像データを出力する。符号化部105は、画像データの符号化処理を行う。本実施形態では1画素がRGB各8ビットで表現されるものとし、色成分を単位にモノクロ画像として符号化する場合を例に説明する。つまり、R成分のモノクロ多値画像、G成分のモノクロ多値画像、B成分のモノクロ多値画像をそれぞれ独立して符号化する。なお、符号化対象の画像データはRGB形式に限らず、他の色空間やRAW画像データであっても構わない。例えば、1画素がY、Cb、Crでそれぞれが8ビットで構成される場合には、各成分を単位にモノクロ画像として符号化すれば良い。また、RAW画像データに適用する場合、撮像部102の撮像素子はベイヤ配列(R,G0、G1,Bの色に対応する2×2個の撮像素子の組の配列)となっている。また、各撮像素子からの信号を14ビットで表現している。この場合、R成分で構成されるモノクロ多値画像、G0成分で構成されるモノクロ多値画像、G1成分で構成されるモノクロ多値画像、B成分で構成されるモノクロ多値画像をそれぞれ符号化する。従って、本願は、画像の色空間の種類、画像を構成する色成分の種類、ビット数によって限定されるものではない。符号化対象の画像がR,G,Bの3成分で各8ビット(256階調)とするのは、あくまで理解を容易にするためであると理解されたい。   Hereinafter, processing of the information processing unit 109 according to the present embodiment will be described. The acquisition unit 103 acquires the RAW image data output from the imaging unit 102 and outputs the RAW image data to the image processing unit 104 based on a user's imaging instruction to the operation unit 101. The image processing unit 104 performs a demosaic process on the RAW image data to generate image data in which one normal pixel includes three components of RGB, and outputs the image data to the encoding unit 105. The encoding unit 105 performs an encoding process on the image data. In the present embodiment, one pixel is represented by 8 bits for each of RGB, and a case in which a color component is encoded as a monochrome image will be described as an example. That is, the monochrome multi-valued image of the R component, the monochrome multi-valued image of the G component, and the monochrome multi-valued image of the B component are independently encoded. The image data to be encoded is not limited to the RGB format, but may be another color space or RAW image data. For example, when one pixel is composed of Y, Cb, and Cr, each of which is composed of 8 bits, each component may be encoded as a monochrome image. When applied to RAW image data, the imaging elements of the imaging unit 102 have a Bayer array (array of a set of 2 × 2 imaging elements corresponding to R, G0, G1, and B colors). The signal from each image sensor is represented by 14 bits. In this case, a monochrome multi-valued image composed of R components, a monochrome multi-valued image composed of G0 components, a monochrome multi-valued image composed of G1 components, and a monochrome multi-valued image composed of B components are respectively encoded. I do. Therefore, the present application is not limited by the type of the color space of the image, the type of the color component constituting the image, and the number of bits. It should be understood that the reason why the image to be encoded is composed of three components of R, G, and B and has 8 bits (256 gradations) for the sake of easy understanding.

本実施形態に示す符号化部105の処理について説明する。図2は符号化部105の内部構成であり、図5は符号化部105で行われる1つの色成分(実施形態では、R,G、Bのいずれか)の画像データに対する符号化処理を示すフローチャートである。つまり、実際には図5の処理を3回実行する。そして、3回行った結果得られた符号データをまとめて1つのファイルが構成されることになる。   The processing of the encoding unit 105 according to the present embodiment will be described. FIG. 2 shows an internal configuration of the encoding unit 105, and FIG. 5 shows an encoding process performed on image data of one color component (in the embodiment, any of R, G, and B) performed by the encoding unit 105. It is a flowchart. That is, the process of FIG. 5 is actually executed three times. Then, the code data obtained as a result of performing the operations three times is combined to form one file.

色成分入力部201は、画像処理部104から出力された画像データにおける1つの成分の画像データをモノクロ多値画像として入力する(ステップS501)。   The color component input unit 201 inputs image data of one component in the image data output from the image processing unit 104 as a monochrome multivalued image (step S501).

ウェーブレット変換部202は、色成分入力部201から供給されたモノクロ画像データを入力として、ウェーブレット変換を行う。画像データはウェーブレット変換により複数の分解レベルに分けられ、各分解レベルは複数のサブバンドから構成される。分解レベルは、低周波成分を再帰的に水平・垂直方向に2分割した分割回数を示しており、分解レベルが1増えると水平・垂直解像度は半分になる。   The wavelet transform unit 202 performs a wavelet transform using the monochrome image data supplied from the color component input unit 201 as an input. The image data is divided into a plurality of decomposition levels by a wavelet transform, and each decomposition level is composed of a plurality of subbands. The decomposition level indicates the number of times the low-frequency component is recursively divided into two in the horizontal and vertical directions. When the decomposition level increases by one, the horizontal and vertical resolutions become half.

図9は、ウェーブレット変換で3回分解したときの例を示している。分解レベル1のサブバンドはLL1、HL1、LH1、HH1、分解レベル2のサブバンドはLL2、HL2、LH2、HH2、分解レベル3のサブバンドはLL3、HL3、LH3、HH3と表される。なお、2回目以降のウェーブレット変換では、直前のウェーブレット変換で得られたサブバンドLLをその変換対象としているので、サブバンドLL1、LL2は省略され、最後のウェーブレット変換で得られたサブバンドLLが残ることになる。また、例えば、HL2の水平・垂直解像度はHL1の半分となる。サブバンドLHは、ウェーブレット変換が適用された局所領域の水平方向の周波数特性(水平方向成分)を示す。またサブバンドHLは垂直方向の周波数特性(垂直方向成分)、サブバンドHHは斜め方向の周波数特性(斜め方向成分)を示す。サブバンドLLは低周波成分である。本実施形態では、国際標準であるJPEG2000(ISO/IEC15444|ITU−T T.800)でも利用されている実数型の9/7フィルタを用いるものとするが、これに限定されるものではない。整数型の5/3フィルタ等、この他のウェーブレット変換フィルタを用いても構わない。またウェーブレット変換の処理単位については、ライン単位の処理であっても、画像単位の処理であっても構わない。   FIG. 9 shows an example in which decomposition is performed three times by the wavelet transform. The decomposition level 1 subbands are represented as LL1, HL1, LH1, and HH1, the decomposition level 2 subbands are represented as LL2, HL2, LH2, HH2, and the decomposition level 3 subbands are represented as LL3, HL3, LH3, and HH3. In the second and subsequent wavelet transforms, the subbands LL and LL2 obtained in the last wavelet transform are omitted because the subbands LL obtained in the immediately preceding wavelet transform are to be converted. Will remain. For example, the horizontal and vertical resolution of HL2 is half of HL1. The subband LH indicates a horizontal frequency characteristic (horizontal component) of the local region to which the wavelet transform has been applied. The sub-band HL indicates frequency characteristics in the vertical direction (vertical component), and the sub-band HH indicates frequency characteristics in the oblique direction (oblique component). The sub-band LL is a low frequency component. In the present embodiment, a real number type 9/7 filter which is also used in JPEG2000 (ISO / IEC15444 | ITU-T T.800) which is an international standard is used, but the present invention is not limited to this. Other wavelet transform filters such as an integer type 5/3 filter may be used. Further, the processing unit of the wavelet transform may be a processing of a line or a processing of an image.

ウェーブレット変換部202は、ウェーブレット変換された各サブバンドのウェーブレット係数を量子化部203に出力する(ステップS502)。   The wavelet transform unit 202 outputs the wavelet coefficients of the respective subbands subjected to the wavelet transform to the quantization unit 203 (Step S502).

量子化部203は、ウェーブレット変換部202から供給された各サブバンドのウェーブレット係数を入力し、サブバンド毎に異なるステップ幅で量子化する。また、サブバンドのライン毎に異なるステップ幅で量子化を行うなど他の量子化方法を用いても構わない。量子化部203は、量子化後のウェーブレット係数を、サブバンド毎にサブバンド符号化部216に出力する(ステップ503)。   The quantization unit 203 receives the wavelet coefficient of each subband supplied from the wavelet transform unit 202 and quantizes the subband with a different step width for each subband. Further, another quantization method may be used, such as performing quantization with a different step width for each sub-band line. The quantization unit 203 outputs the quantized wavelet coefficients to the subband encoding unit 216 for each subband (step 503).

以降、サブバンド符号化部216の処理になる。詳細は後述するが、このサブバンド符号化部216はサブバンドを単位に符号化する。   Hereinafter, the process of the subband encoding unit 216 is performed. As will be described later in detail, the sub-band encoding unit 216 encodes each sub-band.

まず、ステップS504で、ウェーブレット変換で分解した回数を変数iに設定する。本実施形態では、ウェーブレット変換で3回分解した例を説明し、変数i=3と設定する。なお、ウェーブレット変換回数は、ユーザが適宜、操作部101より変更できるものとする。また、図5のフローチャートでは、変数iを用いてサブバンドLL(i)、HL(i)、LH(i)、HH(i)を一般化しているが、例えばHL(3)は図9におけるHL3と同じサブバンドを示しているものと理解されたい。   First, in step S504, the number of times of decomposition by the wavelet transform is set to a variable i. In the present embodiment, an example in which wavelet transform is performed three times will be described, and a variable i is set to 3. Note that the number of wavelet transforms can be appropriately changed by the user from the operation unit 101. Further, in the flowchart of FIG. 5, the subbands LL (i), HL (i), LH (i), and HH (i) are generalized using the variable i. For example, HL (3) in FIG. It should be understood that it shows the same subband as HL3.

ステップS505では、サブバンド符号化部216は、サブバンドLL(3)(図9のLL3)のサブバンド符号化を行う。このため、サブバンド符号化部216は量子化部203からサブバンドLL3の量子化後のウェーブレット変換係数を受信し、符号化を行う。サブバンド符号化部216は、この符号化処理で得られた符号化データをRAM302に予め確保されたバッファ領域に格納する。   In step S505, the subband encoding unit 216 performs subband encoding of the subband LL (3) (LL3 in FIG. 9). Therefore, the sub-band encoding unit 216 receives the quantized wavelet transform coefficients of the sub-band LL3 from the quantization unit 203, and performs encoding. The subband encoding unit 216 stores the encoded data obtained by this encoding process in a buffer area reserved in the RAM 302 in advance.

この後、ステップS506にて、サブバンド符号化部216は、変数iが0であるか否かを判定する。ここでは、初期段階、すなわち、i=3であるものとする。従って、処理はステップS507に処理を進める。   Thereafter, in step S506, subband encoding section 216 determines whether variable i is 0 or not. Here, it is assumed that i = 3 at the initial stage. Therefore, the process proceeds to step S507.

このステップS507では、サブバンド符号化部216は、サブバンドHL(3)の量子化後のウェーブレット変換係数を量子化部203より受信し、サブバンド符号化を行い、得られた符号化データを上記のバッファ領域に格納する。ステップS508では、サブバンド符号化部216は、サブバンドLH(3)の量子化後のウェーブレット変換係数を量子化部203より受信し、サブバンド符号化を行い、得られた符号化データを上記のバッファ領域に格納する。そして、ステップS509では、サブバンド符号化部216は、サブバンドHH(3)の量子化後のウェーブレット変換係数を量子化部203より受信し、サブバンド符号化を行い、得られた符号化データを上記のバッファ領域に格納する。   In step S507, the sub-band encoding unit 216 receives the quantized wavelet transform coefficient of the sub-band HL (3) from the quantization unit 203, performs sub-band encoding, and converts the obtained encoded data. Store in the above buffer area. In step S508, the sub-band encoding unit 216 receives the quantized wavelet transform coefficients of the sub-band LH (3) from the quantization unit 203, performs sub-band encoding, and converts the obtained encoded data into the above-described data. In the buffer area. Then, in step S509, the sub-band encoding unit 216 receives the quantized wavelet transform coefficient of the sub-band HH (3) from the quantization unit 203, performs sub-band encoding, and obtains encoded data. Is stored in the buffer area.

この後、ステップS510で、ウェーブレット係数で分解した回数iを1減じる。ここでは、この結果、変数i=2となる。そして、ステップS506に処理を戻す。ステップS506において、変数i=0であると判定されるまで、上記処理を行う。   Thereafter, in step S510, the number i of decompositions using wavelet coefficients is reduced by one. Here, as a result, the variable i = 2. Then, the process returns to step S506. The above processing is performed until it is determined in step S506 that the variable i = 0.

変数i=0になったと判定された場合、RAM302のバッファ領域には、LL(3)、HL(3)、LH(3)、HH(3)、HL(2)、…、HH(1)の計10個のサブバンドの符号化データが格納される(ステップS511)。   If it is determined that the variable i has become 0, LL (3), HL (3), LH (3), HH (3), HL (2),..., HH (1) are stored in the buffer area of the RAM 302. Coded data of a total of 10 subbands are stored (step S511).

上記は1つの色成分の符号化処理であったが、先に説明したように、実施形態ではR、G、Bの各色成分を単位に符号化するので、符号化部105は上記処理を3回実行することになる。図1に戻って、符号化部105は、全色成分の符号化データを出力部106に送出する。出力部106は、供給された符号化データに、適当なヘッダを付加して画像ファイルを構成し、圧縮画像データファイルとして記憶部107に出力し、保存する。保存された圧縮画像データファイルは、I/Oインターフェース108を介して、カメラ外のデバイスに出力されても構わない。   Although the above is an encoding process of one color component, as described above, in the embodiment, since each of the R, G, and B color components is encoded, the encoding unit 105 performs the above-described process by three. Will be executed several times. Returning to FIG. 1, the encoding unit 105 sends encoded data of all color components to the output unit 106. The output unit 106 forms an image file by adding an appropriate header to the supplied encoded data, outputs the compressed image data file to the storage unit 107, and stores the compressed image data file. The stored compressed image data file may be output to a device outside the camera via the I / O interface 108.

以上、画像データをウェーブレット変換でサブバンド分割し、サブバンド毎に符号化するときの全体的な処理フローについて説明した。次に、各サブバンドのウェーブレット係数を符号化するサブバンド符号化部216の処理の詳細について説明する。   The overall processing flow when the image data is divided into sub-bands by the wavelet transform and encoded for each sub-band has been described. Next, the details of the processing of the subband encoding unit 216 that encodes the wavelet coefficients of each subband will be described.

サブバンド符号化部216の内部構成を図2に示し、サブバンド符号化部216で行われる処理を示したフローチャートを図6に示す。   FIG. 2 shows the internal configuration of the subband encoding unit 216, and FIG. 6 is a flowchart showing the processing performed by the subband encoding unit 216.

まずステップS601で、サブバンド符号化部216はサブバンド番号Sを入力する。サブバンド番号Sはサブバンドを識別する番号であり、符号化の対象となるサブバンドがLL成分、HL成分、LH成分、HH成分の何れであるかを識別するためのものである。例えば、LL成分にS=1、HL成分にS=2、LH成分にS=3、HH成分にS=4などの識別番号を設定する。なお、量子化部203は、サブバンドを単位に量子化後のウェーブレット変換係数をサブバンド符号化部216に出力する際に、その先頭にサブバンド番号Sを付加するものとする。   First, in step S601, the sub-band encoder 216 inputs the sub-band number S. The subband number S is a number for identifying a subband, and is used to identify whether the subband to be encoded is any of the LL component, the HL component, the LH component, and the HH component. For example, identification numbers such as S = 1 for the LL component, S = 2 for the HL component, S = 3 for the LH component, and S = 4 for the HH component are set. Note that when outputting the quantized wavelet transform coefficients to the subband encoding unit 216 in units of subbands, the quantization unit 203 adds a subband number S to the beginning.

ステップS602で、サブバンド符号化部216は、サブバンド内のウェーブレット係数が全て符号化されたかを判定する。全て符号化された場合は符号化処理を終了し、符号化されていない係数がある場合は、ステップS603に移る。ステップS603で、サブバンド符号化部216は、着目サブバンドのウェーブレット係数をライン単位に入力する。そして、ステップS604において、サブバンド符号化部216は、入力したラインにおける左端に位置するウェーブレット係数を符号化対象の着目係数として設定する。   In step S602, the subband encoding unit 216 determines whether all the wavelet coefficients in the subband have been encoded. If all of the coefficients have been coded, the coding process ends. If there are uncoded coefficients, the process proceeds to step S603. In step S603, the subband encoding unit 216 inputs the wavelet coefficients of the subband of interest in line units. Then, in step S604, the sub-band encoding unit 216 sets a wavelet coefficient located at the left end of the input line as a target coefficient to be encoded.

図10は着目係数とその周辺係数の位置関係を示している。ここでは、xが符号化対象の着目係数である。図示のごとく、参照範囲は、着目係数xが位置するラインと、その直前のラインの2ラインにおける、着目係数xの周囲の係数である。また、ラスタスキャン順に係数を符号化していくため、左係数a、左上係数c、上係数b、右上係数d、着目係数xから2つ分だけ左に位置する係数e、着目係数xから3つ分だけ左に位置する係数fは、符号化済みの係数である。なお、着目係数xがサブバンドの最初のラインの左端に位置するとき、係数a乃至fは実在しない。また、着目係数xがサブバンドの2ライン目以降ラインの左端に位置するときには、係数a、c、e、fも実在しない。このように実在しない係数については、所定の値(たとえば0)を持つものと見なす。また、既に符号化済み位置の係数を参照するため、サブバンド符号化部216は例えば2ライン分のバッファメモリを有する。   FIG. 10 shows the positional relationship between the coefficient of interest and its surrounding coefficients. Here, x is a target coefficient to be encoded. As shown in the figure, the reference range is a coefficient around the coefficient of interest x in two lines including the line where the coefficient of interest x is located and the line immediately before the line. Further, since the coefficients are encoded in the raster scan order, the left coefficient a, the upper left coefficient c, the upper coefficient b, the upper right coefficient d, the coefficient e located two to the left from the target coefficient x, and three from the target coefficient x The coefficient f located to the left by the amount is a coded coefficient. When the coefficient of interest x is located at the left end of the first line of the subband, the coefficients a to f do not exist. When the coefficient of interest x is located at the left end of the second and subsequent lines of the subband, the coefficients a, c, e, and f do not exist. Such a coefficient that does not exist is regarded as having a predetermined value (for example, 0). In addition, in order to refer to the coefficient at the already coded position, the subband coding unit 216 has, for example, a buffer memory for two lines.

ステップS606にて、サブバンド符号化部216は、ライン内のウェーブレット係数が全て符号化されたかを判定する。言い換えれば、ライン終端(右端)の係数の符号化を終えたか否かを判定する。ライン中の全て係数の符号化を終えたと判定した場合には、ステップS605で次のラインの処理に移る。符号化されていない係数が存在する場合にはステップS607に移る。   In step S606, subband encoding section 216 determines whether all wavelet coefficients in the line have been encoded. In other words, it is determined whether or not the coding of the coefficient at the end of the line (right end) has been completed. If it is determined that the encoding of all the coefficients in the line has been completed, the process moves to the next line in step S605. If there are uncoded coefficients, the process moves to step S607.

ステップS607には、モード選択部204は、サブバンドに応じた符号化モード判定により、符号化モードを選択する。選択すべき符号化モードには、予測符号化モード、及び、ランレングスモードがある。また、ライン左端の係数が着目係数として設定されるとき、ラン長RL=0が初期設定される。ラン長RLが0以外、または、周囲係数の状態がランレングス符号化条件を満たしている場合に、符号化モードはランレングスモードに設定される。ラン長RLが0のとき、以下の処理によりランレングス符号化条件を満たしているかを判定する。   In step S607, the mode selection unit 204 selects an encoding mode based on the encoding mode determination according to the subband. The coding mode to be selected includes a predictive coding mode and a run-length mode. When the coefficient at the left end of the line is set as the target coefficient, the run length RL = 0 is initially set. When the run length RL is other than 0, or when the state of the surrounding coefficient satisfies the run length coding condition, the coding mode is set to the run length mode. When the run length RL is 0, it is determined whether the run length encoding condition is satisfied by the following processing.

モード選択部204は、第1モード判定部205、第2モード判定部206の選択を行う。ステップS601で入力されたサブバンド番号Sに基づいて、サブバンドがLL成分、HL成分、HH成分であれば第1モード判定部205を選択する。またサブバンドがLH成分であれば第2モード判定部206を選択する。第2モード判定部206では、ライン左端の係数が着目係数として設定されるとき、水平ランカウントHR=0が初期設定される。   The mode selection unit 204 selects the first mode determination unit 205 and the second mode determination unit 206. Based on the subband number S input in step S601, if the subband is an LL component, an HL component, or an HH component, the first mode determination unit 205 is selected. If the subband is an LH component, the second mode determination unit 206 is selected. When the coefficient at the left end of the line is set as the target coefficient, the second mode determination unit 206 initializes the horizontal run count HR = 0.

ここで、第1モード判定部205で行われる判定処理(符号化対象サブバンドがLL,HL,HHのいずれかの場合の判定処理)を、図7のフローチャートに従って説明する。   Here, the determination process performed by the first mode determination unit 205 (the determination process when the encoding target subband is LL, HL, or HH) will be described with reference to the flowchart of FIG.

ステップS701で、着目係数xを取得する。そして、ステップS702で、ランレングスモードの判定を行う。図10に示す如く、左係数a、左上係数c、上係数b、右上係数dを参照する。サブバンドLLが符号化対象である場合には、a=b=c=dのとき、着目係数xについてランレングス符号化条件を満たすと判定する。また、サブバンドHLまたはHHである場合には、a=b=c=d=0のとき、ランレングス符号化条件を満たすと判定する。高周波成分ではウェーブレット係数値に0が多く出現するため、係数値0に限定したランレングスモード判定を用いることで符号化効率が高くなるためである。ステップS702のランレングスモード判定は、着目係数xのラインだけでなく、直前のラインの係数(左上係数をc、上係数をb、右上係数をd)を参照するため、2ライン参照モード判定と呼ぶ。   In step S701, a target coefficient x is obtained. Then, in step S702, a determination of the run length mode is performed. As shown in FIG. 10, a left coefficient a, an upper left coefficient c, an upper coefficient b, and an upper right coefficient d are referred to. When the subband LL is to be encoded, it is determined that the coefficient of interest x satisfies the run-length encoding condition when a = b = c = d. In the case of subband HL or HH, it is determined that the run-length encoding condition is satisfied when a = b = c = d = 0. This is because, in the high-frequency component, many 0s appear in the wavelet coefficient value, and thus the coding efficiency is increased by using the run-length mode determination limited to the coefficient value 0. The run-length mode determination in step S702 refers to not only the line of the target coefficient x but also the coefficients of the immediately preceding line (the upper left coefficient is c, the upper coefficient is b, and the upper right coefficient is d). Call.

ステップS703で、ランレングス符号化条件を満たしているかを判定する。ランレングス符号化条件を満たしている場合は、ステップS705でランレングスモードに設定する。またランレングス符号化条件を満たしていない場合は、ステップS704で予測符号化モードに設定する。第1モード判定部205で行われる処理はJPEG−LSと同様の処理となる。   In step S703, it is determined whether a run-length encoding condition is satisfied. If the run-length encoding condition is satisfied, a run-length mode is set in step S705. If the run-length encoding condition is not satisfied, the prediction encoding mode is set in step S704. The processing performed by the first mode determination unit 205 is the same processing as JPEG-LS.

次に第2モード判定部206で行われる処理(符号化対象サブバンドがLHの場合の判定処理)を示したフローチャートを図8に示す。   Next, FIG. 8 is a flowchart showing the processing performed by the second mode determination unit 206 (determination processing when the encoding target subband is LH).

ステップS801で、第2モード判定部206は、着目係数xを取得する。ステップS802で、第2モード判定部206はランレングスモードの判定を行う。図10に示す如く、左係数a、左上係数c、上係数b、右上係数dを参照する。そしてa=b=c=d=0のとき、第2モード判定部206は、着目係数xがランレングス符号化条件を満たすと判定する。ステップS702と同様に、ステップS802のランレングスモード判定は、着目係数xのラインと、その直前のラインの係数を参照するため、2ライン(複数ライン)参照モード判定と呼ぶ。   In step S801, the second mode determination unit 206 acquires a target coefficient x. In step S802, the second mode determination unit 206 determines a run length mode. As shown in FIG. 10, a left coefficient a, an upper left coefficient c, an upper coefficient b, and an upper right coefficient d are referred to. When a = b = c = d = 0, the second mode determining unit 206 determines that the coefficient of interest x satisfies the run-length encoding condition. Similar to step S702, the run-length mode determination in step S802 is referred to as a two-line (multiple-line) reference mode determination because the line of the target coefficient x and the coefficient of the line immediately before are referred to.

ステップS803で、第2モード判定部206は、ステップS801の結果を受けて、ランレングス符号化条件を満たしているかを判定する。ランレングス符号化条件を満たしている場合は、ステップS808でランレングスモードに設定する。またランレングス符号化条件を満たしていない場合は、ステップS804の処理に移る。   In step S803, the second mode determination unit 206 receives the result of step S801 and determines whether or not the run-length encoding condition is satisfied. If the run-length encoding condition is satisfied, a run-length mode is set in step S808. If the run-length encoding condition is not satisfied, the process moves to step S804.

ステップS804で、ステップS802とは異なるランレングスモードの判定を行う。着目係数xと同一ラインのみを参照し、係数値0の連続数(水平ランカウント)を判定条件とする。水平ランカウントHRが所定数(閾値)以上のとき、ランレングス符号化条件を満たす。ここでは閾値は3と設定している。図10を用いて説明すると、左係数a、2つ左の係数e、3つ左の係数fとしたとき、a=e=0、fが非ゼロの場合、水平ランカウントHRは2となる。ステップS804のランレングスモード判定は、着目係数xに対して同一ラインの係数のみを参照するため、ここでは1ライン参照モード判定と呼ぶ。   In step S804, a run length mode different from that in step S802 is determined. Only the same line as the coefficient x of interest is referred to, and the number of continuations of the coefficient value 0 (horizontal run count) is used as a determination condition. When the horizontal run count HR is equal to or greater than a predetermined number (threshold), a run length encoding condition is satisfied. Here, the threshold value is set to 3. Explaining with reference to FIG. 10, when a left coefficient a, a two-left coefficient e, and a three-left coefficient f are set, a = e = 0, and if f is non-zero, the horizontal run count HR is 2. . The run-length mode determination in step S804 refers to only the coefficient on the same line with respect to the target coefficient x, and is therefore referred to as one-line reference mode determination.

ステップS805では、第2モード判定部206は、ステップS804の結果結果を受けて、着目係数xがランレングス符号化条件を満たしているかを判定する。ランレングス符号化条件を満たしている場合は、ステップS808でランレングスモードに設定する。またランレングス符号化条件を満たしていない場合は、ステップS806で予測符号化モードに設定する。   In step S805, the second mode determination unit 206 receives the result of step S804, and determines whether or not the coefficient of interest x satisfies the run-length encoding condition. If the run-length encoding condition is satisfied, a run-length mode is set in step S808. If the run-length encoding condition is not satisfied, the prediction encoding mode is set in step S806.

ステップS806で予測符号化モードに設定された場合、ステップS807で水平ランカウントHRを更新する。着目係数xが0の場合、水平ランカウントHRに1を加算する。また着目係数xが0以外の係数値の場合、水平ランカウントHRを0に初期化する。   If the prediction encoding mode has been set in step S806, the horizontal run count HR is updated in step S807. When the coefficient of interest x is 0, 1 is added to the horizontal run count HR. If the coefficient of interest x is a coefficient value other than 0, the horizontal run count HR is initialized to 0.

またステップS808でランレングスモードに設定された場合、ステップS809で水平ランカウントHRを0に初期化する。これは、着目係数xの左に位置する係数、a,e,fは既に符号化済みであり、尚且つ、着目係数xをランの起点とするためである。   If the run length mode has been set in step S808, the horizontal run count HR is initialized to 0 in step S809. This is because the coefficients a, e, and f located to the left of the coefficient of interest x have already been coded, and the coefficient of interest x is used as the starting point of the run.

以上がステップS607の処理である。サブバンドLLは、係数値0に限定しない2ライン参照モード判定、サブバンドHL、HHは、係数値0に限定した2ライン参照モード判定を用いる。サブバンドLHは、ウェーブレット変換が適用された局所領域の水平方向の周波数特性(水平方向成分)を示すため、ウェーブレット係数のライン間の相関が低い。そのため、係数値0に限定した2ライン参照モード判定に加え、上ラインを参照しない1ライン参照モード判定を加えることで、ランレングスモードの判定精度が向上し、符号化効率の改善が図れることになる。また1ライン参照モードは、水平ランカウントHRを更新するだけで、モード判定できるため、簡易な演算で実現できる。ここではサブバンドLHに対して、1ライン参照モード判定を加えたが、サブバンドHL、HHに対して同様の処理を行っても構わない。   The above is the processing of step S607. The sub-band LL uses a two-line reference mode determination not limited to the coefficient value 0, and the sub-bands HL and HH use a two-line reference mode determination limited to the coefficient value 0. The sub-band LH indicates a horizontal frequency characteristic (horizontal component) of the local region to which the wavelet transform is applied, and thus the correlation between the wavelet coefficient lines is low. Therefore, in addition to the two-line reference mode determination limited to the coefficient value 0 and the one-line reference mode determination that does not refer to the upper line, the determination accuracy of the run-length mode is improved, and the coding efficiency can be improved. Become. In addition, the one-line reference mode can be determined by simply updating the horizontal run count HR, so that it can be realized by a simple calculation. Here, the one-line reference mode determination is added to the sub-band LH, but the same processing may be performed for the sub-bands HL and HH.

図6の処理の説明に戻る。ステップS608にて、着目係数xに対して、ランレングスモードに設定された場合には、処理はステップS612に進み、ランレングス符号化部213によるランレング符号化処理を開始する。   Returning to the description of the processing in FIG. If the run-length mode has been set for the coefficient of interest x in step S608, the process proceeds to step S612, and the run-length encoding process by the run-length encoding unit 213 starts.

一旦、ステップS612に処理が開始されると、ランレングス符号化部213は、着目係数xが左隣の係数a(着目係数に対する予測値)と同じ値である限り、ラン長RLを1増加させ、右隣の係数を新たな着目係数xとして読み込みを続ける。ただし、着目係数xが直前の係数aと異なる値となった場合、或いは、着目係数xが左隣の係数aと同じであるものの、着目係数xがラインの終端(右端)位置に達した場合には、それまで計数していたラン長RLの符号語を出力し、ラン長RLは初期化する。そして、ステップS606に戻る。なお、ランレングス符号化については、JPEG−LSと同様の処理のため、ここでの詳細説明は割愛する。   Once the processing is started in step S612, the run-length encoding unit 213 increases the run length RL by 1 as long as the coefficient of interest x has the same value as the coefficient a on the left (a predicted value for the coefficient of interest). , The coefficient on the right side is continuously read as a new coefficient of interest x. However, when the noted coefficient x has a value different from the immediately preceding coefficient a, or when the noted coefficient x is the same as the coefficient a on the left, but reaches the end (right end) position of the line. Outputs the code word of the run length RL counted up to that time, and initializes the run length RL. Then, the process returns to step S606. Since the run-length encoding is the same as that of JPEG-LS, the detailed description is omitted here.

一方、ステップS609に処理が移った場合には、予測変換選択部207で、第1予測変換部208、第2予測変換部209、第3予測変換部210、第4予測変換部211の選択を行う。ステップS601で入力されたサブバンド番号Sに基づいて、サブバンドがLL成分であれば第1予測変換部208を選択する。またサブバンドがHL成分であれば第2予測変換部209、LH成分であれば第3予測変換部210、HH成分であれば第4予測変換部211を選択する。   On the other hand, if the process has proceeded to step S609, the prediction conversion selection unit 207 selects the first prediction conversion unit 208, the second prediction conversion unit 209, the third prediction conversion unit 210, and the fourth prediction conversion unit 211. Do. Based on the subband number S input in step S601, if the subband is an LL component, the first predictive conversion unit 208 is selected. If the subband is the HL component, the second prediction conversion unit 209 is selected. If the subband is the LH component, the third prediction conversion unit 210 is selected. If the subband is the HH component, the fourth prediction conversion unit 211 is selected.

第1予測変換部208は、予測変換にMED(Median Edge Detection)予測を用いた予測値p、及びそれを用いた予測誤差を算出する。図10の周辺係数を用いた予測値pの算出式は以下の通りである。

Figure 0006632752
ここで予測誤差(差分)は以下のようにして算出する。
予測誤差 = 着目係数xの係数値 ― 予測値p The first predictive conversion unit 208 calculates a predictive value p using MED (Median Edge Detection) prediction for predictive conversion and a prediction error using the predictive value p. The formula for calculating the predicted value p using the peripheral coefficients in FIG. 10 is as follows.
Figure 0006632752
Here, the prediction error (difference) is calculated as follows.
Prediction error = coefficient value of coefficient of interest x−prediction value p

第2予測変換部209は、予測変換に垂直方向の予測を用いる。HL成分は垂直方向の周波数特性を有することから、垂直方向予測が符号化効率の向上に有効である。図10の周辺係数を用いた予測値p、予測誤差は以下の通りである。
p=b
予測誤差 = 着目係数xの係数値 ― 予測値p
The second prediction conversion unit 209 uses prediction in the vertical direction for prediction conversion. Since the HL component has frequency characteristics in the vertical direction, vertical prediction is effective for improving coding efficiency. The prediction value p and the prediction error using the peripheral coefficients in FIG. 10 are as follows.
p = b
Prediction error = coefficient value of coefficient of interest x−prediction value p

第3予測変換部210は、予測変換に水平方向の予測を行う。LH成分は水平方向の周波数特性を有することから、水平方向予測が符号化効率の向上に有効である。図10の周辺係数を用いた予測値p、予測誤差は以下の通りである。
p=a
予測誤差 = 着目係数xの係数値 ― 予測値p
The third predictive conversion unit 210 performs horizontal prediction for predictive conversion. Since the LH component has frequency characteristics in the horizontal direction, horizontal prediction is effective for improving coding efficiency. The prediction value p and the prediction error using the peripheral coefficients in FIG. 10 are as follows.
p = a
Prediction error = coefficient value of coefficient of interest x−prediction value p

第4予測変換部211は、予測変換を行わない。即ち、予測誤差は以下の通りである。 予測誤差 = 着目係数xの係数値   The fourth predictive conversion unit 211 does not perform predictive conversion. That is, the prediction error is as follows. Prediction error = coefficient value of the coefficient of interest x

図2に戻って、第1予測変換部208、第2予測変換部209、第3予測変換部210、第4予測変換部211は、算出した予測誤差は、ゴロム符号化部212に出力する。ゴロム符号化部212で、予測誤差をゴロム・ライス符号化する(ステップS610)。ゴロム符号化部212は、まず予測誤差(Diff)を非負の整数値(MV)に変換する。変換式は以下の通りである。

Figure 0006632752
Returning to FIG. 2, the first prediction conversion unit 208, the second prediction conversion unit 209, the third prediction conversion unit 210, and the fourth prediction conversion unit 211 output the calculated prediction errors to the Golomb encoding unit 212. The Golomb encoding unit 212 performs Golomb-Rice encoding of the prediction error (step S610). The Golomb encoding unit 212 first converts the prediction error (Diff) into a non-negative integer value (MV). The conversion formula is as follows.
Figure 0006632752

次に、ゴロム符号化部212は、パラメータkを用いて非負の整数値(MV)をゴロム・ライス符号化する。ゴロム・ライス符号化の手順は以下の通りである。
(1)MVを2進数表現して、MVをkビット右シフトした値の0を並べ、その後に1を付加する。
(2)上記で生成したビット列の後ろに、MVの下位kビットを取りだして付け加える。
Next, the Golomb encoding unit 212 performs Golomb-Rice encoding of the non-negative integer value (MV) using the parameter k. The procedure of Golomb-Rice coding is as follows.
(1) The MV is expressed in a binary number, and the value 0 obtained by shifting the MV to the right by k bits is arranged, and 1 is added thereafter.
(2) The lower k bits of the MV are taken out and added to the end of the bit string generated above.

図11にゴロム・ライス符号化のパラメータkと非負の整数値(MV)と符号語の関係を示す。ゴロム・ライス符号化の構成はこれに限定されるものではなく、例えば、0と1を反対にして符号を構成しても構わないし、上記手順で述べた(1)と(2)の順番を入れ替えて符号を構成しても良い。なお、ここでは符号化パラメータkの決定方法については特に特定しないが、符号化側と復号側で同じパラメータを利用できれば良い。例えば、予めサブバンド毎に適切と思われるパラメータkを選定する方法でも良いし、符号化の過程で動的に変化するようにしても構わない。   FIG. 11 shows the relationship between a parameter k of Golomb-Rice coding, a non-negative integer value (MV), and a codeword. The configuration of Golomb-Rice coding is not limited to this. For example, a code may be configured by reversing 0 and 1, and the order of (1) and (2) described in the above procedure may be changed. The codes may be replaced with each other. Here, the method for determining the encoding parameter k is not particularly specified, but it is sufficient that the same parameter can be used on the encoding side and the decoding side. For example, a method of selecting a suitable parameter k for each subband in advance may be used, or the parameter k may be dynamically changed during the encoding process.

例えば、パラメータk=0の場合を考える。予測誤差(Diff)が−2のとき、非負の整数値(MV)は3となり、予測誤差(Diff)が+2のとき、非負の整数値(MV)は4となる。非負の整数値(MV)が3のとき、符号語は0001となり4ビットで表現され、非負の整数値(MV)が4のとき、符号語は00001となり5ビットで表現される。   For example, consider the case where the parameter k = 0. When the prediction error (Diff) is -2, the non-negative integer value (MV) is 3, and when the prediction error (Diff) is +2, the non-negative integer value (MV) is 4. When the non-negative integer value (MV) is 3, the code word becomes 0001 and is represented by 4 bits. When the non-negative integer value (MV) is 4, the code word becomes 00001 and is represented by 5 bits.

上記のようにして、ゴロム符号化部212による着目係数xに対する符号語の出力を終えると、処理はステップS611で着目係数xの右隣の係数を新たな着目係数とし、ステップS606に戻る。   When the Golomb encoding unit 212 finishes outputting the codeword for the coefficient of interest x as described above, the process sets the coefficient on the right of the coefficient of interest x as a new coefficient of interest in step S611, and returns to step S606.

図2に戻って、符号生成部214で、サブバンドのウェーブレット係数の符号データを出力する。   Returning to FIG. 2, code generation section 214 outputs code data of wavelet coefficients of subbands.

以上説明したように、本実施形態によれば、サブバンド分割されたウェーブレット係数に対して、サブバンドに応じて異なるランレングスモード判定処理を用いることで符号量を削減することができる。具体的には、水平方向の周波数特性(水平方向成分)を示すサブバンドLHに対して、直前のラインを参照しない1ライン参照モード判定を加える。その結果、ランレングス符号化が効率よくと推定される状況下での、ランレングス符号化へ移行し易くなり、簡易な演算で符号化効率の改善を図れるようになる。   As described above, according to the present embodiment, it is possible to reduce the code amount by using different run-length mode determination processing for the sub-band divided wavelet coefficients according to the sub-band. Specifically, a one-line reference mode determination that does not refer to the immediately preceding line is added to the sub-band LH indicating the horizontal frequency characteristic (horizontal component). As a result, it is easy to shift to run-length encoding under the situation where run-length encoding is estimated to be efficient, and the encoding efficiency can be improved with a simple operation.

[第2の実施形態]
上記の第1の実施形態は、画像データをウェーブレット変換で複数のサブバンドに分割し、サブバンド分割されたウェーブレット係数を予測符号化、及び、ランレングス符号化で符号化する画像符号化装置に適用される。水平方向の周波数特性(水平方向成分)を示すサブバンドLHに対して、上ラインを参照しない1ライン参照モード判定を加えることで、簡易な演算で符号化効率の改善を図れることを説明した。
[Second embodiment]
The first embodiment is directed to an image encoding device that divides image data into a plurality of subbands by wavelet transform, and predictively encodes the subband-divided wavelet coefficients by run-length encoding. Applied. It has been described that the coding efficiency can be improved by a simple calculation by adding the one-line reference mode determination that does not refer to the upper line to the subband LH indicating the frequency characteristics (horizontal components) in the horizontal direction.

第2の実施形態も、画像データをウェーブレット変換で複数のサブバンドに分割し、サブバンド分割されたウェーブレット係数を予測符号化、及び、ランレングス符号化で符号化する画像符号化装置に適用される。第2の実施形態は、サブバンドに応じた符号化モード判定により符号化効率を維持しながら、簡易な演算で使用メモリを削減する方法を説明する。   The second embodiment is also applied to an image encoding device that divides image data into a plurality of subbands by wavelet transform, and predictively encodes the subband-divided wavelet coefficients by run-length encoding. You. In the second embodiment, a method for reducing the memory used by a simple calculation while maintaining the coding efficiency by the coding mode determination according to the subband will be described.

本第2の実施形態における装置構成は、上記第1の実施形態の図1乃至図3と同じであり、その基本となる処理も同じである。本第2の実施形態と第1の実施形態の違いは、図6のステップS607の処理内容にある。すなわち、本第2の実施形態におけるモード選択部204で、第1モード判定部205、第2モード判定部206の選択を行う際の基準が、第1の実施形態と異なる。   The device configuration in the second embodiment is the same as that in FIGS. 1 to 3 of the first embodiment, and the basic processing is also the same. The difference between the second embodiment and the first embodiment lies in the processing content of step S607 in FIG. That is, the criterion for selecting the first mode determination unit 205 and the second mode determination unit 206 in the mode selection unit 204 in the second embodiment is different from that in the first embodiment.

図6のステップS601にて、モード選択部204は、入力されたサブバンド番号Sに基づいて、サブバンドがLL成分であれば第1モード判定部205を選択する。また、モード選択部204は、着目サブバンドがサブバンドLL以外のLH、HL、HHのいずれかであれば第2モード判定部206を選択する。第2モード判定部206では、ライン左端の係数が着目係数として設定されるとき、水平ランカウントHR=0が初期設定される。   In step S601 of FIG. 6, mode selection section 204 selects first mode determination section 205 based on the input subband number S if the subband is an LL component. In addition, the mode selection unit 204 selects the second mode determination unit 206 if the subband of interest is any of LH, HL, and HH other than the subband LL. When the coefficient at the left end of the line is set as the target coefficient, the second mode determination unit 206 initializes the horizontal run count HR = 0.

第1モード判定部205については、第1の実施形態と共通するので、ここでの説明は省略する。そこで、第2モード判定部206で行われる処理を、図12のフローチャートに従って説明する。   The first mode determination unit 205 is common to the first embodiment, and a description thereof will not be repeated. Thus, the processing performed by the second mode determination unit 206 will be described with reference to the flowchart of FIG.

第2モード判定部206は、ステップS1201で、着目係数xを取得する。そして、第2モード判定部206は、ステップS1202でランレングスモードの判定を行う。着目係数xと同一ラインのみを参照し、係数値0が連続する数(水平ランカウント)を判定条件とする。水平ランカウントHRが閾値以上のとき、ランレングス符号化条件を満たす。ここでは閾値は3と設定している。図10を用いて説明すると、左係数a、2つ左の係数e、3つ左の係数fとしたとき、(a=e=0、fが0以外の係数値)の場合、水平ランカウントHRは2となる。ここでは、係数値0が連続する数を判定条件としたが、左係数aと同じ係数値が連続する数を判定条件とするなど、係数値は0に限定されるものではない。   In step S1201, the second mode determination unit 206 obtains the coefficient of interest x. Then, the second mode determination unit 206 determines the run length mode in step S1202. Only the same line as the target coefficient x is referred to, and the number of continuous coefficient values 0 (horizontal run count) is set as a determination condition. When the horizontal run count HR is equal to or larger than the threshold, the run length encoding condition is satisfied. Here, the threshold value is set to 3. To explain with reference to FIG. 10, when a left coefficient a, a two-left coefficient e, and a three-left coefficient f, (a = e = 0, f is a coefficient value other than 0), the horizontal run count HR is 2. Here, the number of consecutive coefficient values 0 is used as the determination condition, but the coefficient value is not limited to 0, such as the number of consecutive coefficient values equal to the left coefficient a is used as the determination condition.

ステップS1202のランレングスモード判定では、着目係数xと同一ラインの係数のみを参照するため、ここでは1ライン参照モード判定と呼ぶ。   In the run-length mode determination in step S1202, only the coefficient on the same line as the target coefficient x is referred to, so that this is referred to as one-line reference mode determination.

第2モード判定部205は、ステップS1203にて、ステップS1202の判定結果を受けて、ランレングス符号化条件を満たしているかを判定する。ランレングス符号化条件を満たしている場合は、ステップS1206でランレングスモードに設定する。またランレングス符号化条件を満たしていない場合は、ステップS1204で予測符号化モードに設定する。   In step S1203, the second mode determining unit 205 receives the determination result in step S1202, and determines whether the run-length encoding condition is satisfied. If the run-length encoding condition is satisfied, a run-length mode is set in step S1206. If the run-length encoding condition is not satisfied, the mode is set to the predictive encoding mode in step S1204.

ステップS1204で予測符号化モードに設定された場合、第2モード判定部205は、ステップS1205で水平ランカウントHRを更新する。着目係数xが係数値0の場合、水平ランカウントHRに1を加算(カウントアップ)する。また着目係数xが0以外の係数値の場合、水平ランカウントHRを0に初期化(リセット)する。   If the prediction encoding mode has been set in step S1204, the second mode determination unit 205 updates the horizontal run count HR in step S1205. When the coefficient of interest x has a coefficient value of 0, 1 is added to the horizontal run count HR (counting up). If the coefficient of interest x is a coefficient value other than 0, the horizontal run count HR is initialized to 0 (reset).

またステップS1206でランレングスモードに設定された場合、第1モード判定部205は、ステップS1207にて水平ランカウントHRを0に初期化する。   If the run length mode has been set in step S1206, the first mode determination unit 205 initializes the horizontal run count HR to 0 in step S1207.

以上が第2の実施形態におけるステップS607の処理である。ステップS607以降は、第1の実施形態と同じである。サブバンドのLH成分、HL成分、HH成分は高周波成分であり、高い圧縮率では係数値0が多くなるため、多くの領域でランレングス符号化が適用される。そのため、1ライン参照モード判定のみでモード判定を行っても、符号化効率を維持できる。加えて1ライン参照モード判定は、直前のラインを参照する必要がないため、直前ラインの係数情報を保持しておく必要がなく、メモリ使用量を削減できる。また水平ランカウントHRを更新するだけで判定できるため、簡易な演算で実現できる。   The above is the processing of step S607 in the second embodiment. Step S607 and subsequent steps are the same as those in the first embodiment. The LH component, HL component, and HH component of the subband are high frequency components, and the coefficient value 0 increases at a high compression ratio. Therefore, run-length encoding is applied to many regions. Therefore, even if the mode determination is performed only by the one-line reference mode determination, the coding efficiency can be maintained. In addition, in the one-line reference mode determination, since it is not necessary to refer to the immediately preceding line, there is no need to hold the coefficient information of the immediately preceding line, and the memory usage can be reduced. Further, since the determination can be made only by updating the horizontal run count HR, it can be realized by a simple calculation.

上述の符号化処理により本第2の実施形態によれば、サブバンド分割されたウェーブレット係数に対して、サブバンドに応じて異なるランレングスモード判定処理を用いることで符号化効率を維持してメモリ使用量を削減することができる。具体的には、サブバンドの高周波成分であるLH成分、HL成分、HH成分に対して、1ライン参照モード判定のみでモード判定を行う。加えて上ラインの係数情報を用いない予測変換を用いることで、簡易な演算で符号化効率を維持してメモリ使用量を削減できる。   According to the second embodiment by the above-described encoding processing, a different run-length mode determination processing is performed on the wavelet coefficients divided into sub-bands according to the sub-bands, thereby maintaining the encoding efficiency and maintaining the memory efficiency. Usage can be reduced. Specifically, the mode determination is performed only for the one-line reference mode determination for the LH component, the HL component, and the HH component that are the high frequency components of the subband. In addition, by using the predictive conversion that does not use the coefficient information of the upper line, it is possible to maintain the coding efficiency with a simple operation and reduce the memory usage.

(その他の実施例)
なお、実施形態では、画像符号化装置として、カメラに搭載する符号化部に適用した例を説明したが、対象となる装置はカメラに限らず、画像データを入力するものであればその種類は問わず、適用可能である。
(Other Examples)
In the embodiment, an example in which the image encoding apparatus is applied to an encoding unit mounted on a camera has been described. However, the target apparatus is not limited to a camera. Regardless, it is applicable.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention is also 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 and reads the program. This is the process to be performed.

100…カメラ、101…操作部、102…撮像部、103…取得部、104…画像処理部、105…符号化部、106…出力部、107…記憶部、108…I/O、201…色成分入力部、202…ウェーブレット変換部、203…量子化部、204…モード選択部、205…第1モード判定部、206…第2モード判定部、207…予測変換選択部、208…第1予測変換部、209…第2予測変換部、210…第3予測変換部、211…第4予測変換部、212…ゴロム符号化部、213…ランレングス符号化部、214…符号生成部、215…符号出力部 100 camera, 101 operating unit, 102 imaging unit, 103 obtaining unit, 104 image processing unit, 105 encoding unit, 106 output unit, 107 storage unit, 108 I / O, 201 color Component input unit, 202: Wavelet transform unit, 203: Quantization unit, 204: Mode selection unit, 205: First mode determination unit, 206: Second mode determination unit, 207: Predictive transformation selection unit, 208: First prediction Transformer, 209: second predictive converter, 210: third predictor, 211: fourth predictor, 212: Golomb encoder, 213: run-length encoder, 214: code generator, 215 ... Sign output section

Claims (8)

画像データを符号化する画像符号化装置であって、
符号化対象の画像データをウェーブレット変換して、複数のサブバンドを生成する変換手段と、
サブバンドを構成する係数をラスタスキャン順に入力し、着目係数の予測値を当該着目係数の周囲に位置する符号化済の係数から求めることで、前記着目係数を予測符号化する第1の符号化手段と、
サブバンドにおける係数をラスタスキャン順に入力し、同じ係数の連続数を表すランを求め符号化する第2の符号化手段と、
前記着目係数が属する着目サブバンドがサブバンドLLであるか否かの第一の判定と、前記着目係数の周囲に位置する符号化済の複数の係数の値の関係を判定する第二の判定とに基づき、前記着目係数を前記第1の符号化手段で符号化するか、前記着目係数をランの起点として前記第2の符号化手段で符号化するかを判定する判定手段と、
を備えことを特徴とする画像符号化装置。
An image encoding device that encodes image data,
Transform means for performing a wavelet transform on the image data to be encoded to generate a plurality of subbands;
A first coding for predictively encoding the coefficient of interest by inputting coefficients constituting the subband in raster scan order and obtaining a predicted value of the coefficient of interest from encoded coefficients located around the coefficient of interest Means,
Second encoding means for inputting the coefficients in the sub-band in the raster scan order, obtaining and encoding a run indicating the number of continuous same coefficients,
A first determination as to whether or not the subband of interest to which the target coefficient belongs is a subband LL, and a second determination to determine the relationship between the values of a plurality of coded coefficients located around the target coefficient. A determination unit for determining whether to encode the coefficient of interest by the first encoding unit or to encode the coefficient of interest by the second encoding unit as a starting point of a run, based on
Image encoding device characterized by Ru with a.
前記判定手段は、The determining means includes:
前記第一の判定が前記着目サブバンドがサブバンドLLの場合であって、前記第二の判定が前記複数の係数の値が同値であると判定された場合には前記第2の符号化手段で符号化すると判定し、前記第二の判定が前記複数の係数の値が同値でないと判定された場には前記第1の符号化手段で符号化すると判定し、If the first determination is that the subband of interest is a subband LL and the second determination is that the values of the plurality of coefficients are the same, the second encoding unit It is determined that encoding is performed, and when the second determination determines that the values of the plurality of coefficients are not the same, it is determined that encoding is performed by the first encoding unit.
前記第一の判定が前記着目サブバンドがサブバンドLL以外のサブバンドの場合であって、前記第二の判定が前記複数の係数の値がすべて0であると判定された場合には前記第2の符号化手段で符号化すると判定し、前記第二の判定が前記複数の係数の値のすべてが0でないと判定された場合には前記第1の符号化手段で符号化すると判定するIf the first determination is a case where the subband of interest is a subband other than the subband LL, and if the second determination is that all the values of the plurality of coefficients are 0, the second determination is performed. When the second encoding unit determines that encoding is performed, and when the second determination determines that all of the plurality of coefficient values are not 0, the first encoding unit determines that encoding is performed.
ことを特徴とする請求項1に記載の画像符号化装置。The image encoding device according to claim 1, wherein:
前記第1の符号化手段は予測誤差をゴロム符号化することを特徴とする請求項1または請求項2に記載の画像符号化装置。The image encoding apparatus according to claim 1, wherein the first encoding unit performs Golomb encoding of the prediction error. 前記第二の判定では、前記着目係数の周囲に位置する符号化済の4つの係数の値を参照して判定することを特徴とする請求項1乃至3のいずれか1項に記載の画像符号化装置。4. The image code according to claim 1, wherein in the second determination, the determination is performed with reference to values of four encoded coefficients located around the coefficient of interest. 5. Device. コンピュータが読み込み実行することで、前記コンピュータに、請求項1乃至4のいずれか1項に記載の装置が有する各手段として機能させるためのプログラム。 By computer executes read, the computer program for causing to function as each means included in the apparatus according to any one of claims 1 to 4. 請求項に記載のプログラムを格納したことを特徴とするコンピュータが読み取り可能な記憶媒体。 A computer-readable storage medium storing the program according to claim 5 . 画像データを符号化する画像符号化方法であって、
変換手段が、符号化対象の画像データをウェーブレット変換して、複数のサブバンドを生成する変換工程と、
第1の符号化手段が、サブバンドを構成する係数をラスタスキャン順に入力し、着目係数の予測値を当該着目係数の周囲に位置する符号化済の係数から求めることで、前記着目係数を予測符号化する第1の符号化工程と、
第2の符号化手段が、サブバンドにおける係数をラスタスキャン順に入力し、同じ係数の連続数を表すランを求め符号化する第2の符号化工程と、
判定手段が、前記着目係数が属する着目サブバンドがサブバンドLLであるか否かの第一の判定と、前記着目係数の周囲に位置する符号化済の複数の係数の値の関係を判定する第二の判定とに基づき、前記着目係数を前記第1の符号化工程で符号化するか、前記着目係数をランの起点として前記第2の符号化工程で符号化するかを判定する判定工程と、
を備えることを特徴とする画像符号化方法
An image encoding method for encoding image data,
A transforming unit that performs a wavelet transform on the image data to be encoded and generates a plurality of subbands;
The first encoding means inputs the coefficients constituting the sub-band in raster scan order, and obtains the predicted value of the coefficient of interest from the coded coefficients located around the coefficient of interest, thereby predicting the coefficient of interest. A first encoding step of encoding;
A second encoding step in which the second encoding means inputs the coefficients in the sub-band in raster scan order, and obtains and encodes a run indicating the number of continuous same coefficients;
Determining means for determining whether or not a subband of interest to which the coefficient of interest belongs is a subband LL and a relationship between values of a plurality of encoded coefficients located around the coefficient of interest; A determination step of determining whether to encode the noted coefficient in the first encoding step or to encode in the second encoding step with the noted coefficient as a starting point of a run based on a second determination When,
An image encoding method comprising:
画像データを符号化する画像符号化装置であって、An image encoding device that encodes image data,
符号化対象の画像データをウェーブレット変換して、複数のサブバンドを生成する変換手段と、Transform means for performing a wavelet transform on the image data to be encoded to generate a plurality of subbands;
サブバンドを構成する係数をラスタスキャン順に入力し、着目係数の予測値を当該着目係数の周囲に位置する符号化済の係数から求めることで、前記着目係数を予測符号化する第1の符号化手段と、A first coding for predictively coding the coefficient of interest by inputting coefficients constituting the subband in raster scan order and obtaining a predicted value of the coefficient of interest from coded coefficients located around the coefficient of interest; Means,
サブバンドにおける係数をラスタスキャン順に入力し、同じ係数の連続数を表すランを求め符号化する第2の符号化手段と、Second encoding means for inputting the coefficients in the sub-band in the raster scan order, obtaining and encoding a run indicating the number of continuous same coefficients,
着目サブバンドの種類および前記着目係数の周囲に位置する符号化済の複数の係数の値に基づき、前記着目係数を前記第1の符号化手段で符号化するか、前記着目係数をランの起点として前記第2の符号化手段で符号化するかを、判定する判定手段と、Based on the type of the subband of interest and the values of a plurality of encoded coefficients located around the target coefficient, the target coefficient may be encoded by the first encoding unit, or the target coefficient may be defined as a starting point of a run. Determination means for determining whether to perform encoding by the second encoding means as
を備えることを特徴とする画像符号化装置。An image encoding device comprising:
JP2019047337A 2019-03-14 2019-03-14 Image encoding apparatus and method, program and storage medium Active JP6632752B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019047337A JP6632752B2 (en) 2019-03-14 2019-03-14 Image encoding apparatus and method, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019047337A JP6632752B2 (en) 2019-03-14 2019-03-14 Image encoding apparatus and method, program and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015042975A Division JP6497981B2 (en) 2015-03-04 2015-03-04 Image coding apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2019126080A JP2019126080A (en) 2019-07-25
JP6632752B2 true JP6632752B2 (en) 2020-01-22

Family

ID=67399360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019047337A Active JP6632752B2 (en) 2019-03-14 2019-03-14 Image encoding apparatus and method, program and storage medium

Country Status (1)

Country Link
JP (1) JP6632752B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3760284A1 (en) 2019-07-05 2021-01-06 Sumitomo Rubber Industries, Ltd. Golf ball rubber composition and golf ball using the same

Also Published As

Publication number Publication date
JP2019126080A (en) 2019-07-25

Similar Documents

Publication Publication Date Title
JP4365957B2 (en) Image processing method and apparatus and storage medium
JP2000115782A (en) Coder, coding method and storage medium
US20090046939A1 (en) Apparatus and method for processing image data based on object movement speed with a frame
JP6727011B2 (en) Image coding apparatus and control method thereof
JP2019004428A (en) Image encoding device, image decoding device, image encoding method, image decoding method, and program
JP6632752B2 (en) Image encoding apparatus and method, program and storage medium
JP2016092589A (en) Encoder and control method therefor
US11140392B2 (en) Image encoding apparatus, image decoding apparatus, control methods thereof, and non- transitory computer-readable storage medium
JP7129326B2 (en) IMAGING DEVICE, CONTROL METHOD AND PROGRAM THEREOF
JP6497981B2 (en) Image coding apparatus and control method thereof
JP6946671B2 (en) Image processing device and image processing method
CN116074538A (en) Image encoding apparatus, control method thereof, and computer-readable storage medium
JP6727010B2 (en) IMAGE ENCODING DEVICE, IMAGE DECODING DEVICE, AND CONTROL METHOD THEREOF
JP2001359117A (en) Image processing unit and image processing method or the unit
JP6512927B2 (en) Image coding apparatus and control method thereof
JP6465570B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP6465571B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
KR20020069491A (en) Method and device for image quantization and image encoding apparatus using thereof
JP6775339B2 (en) Image coding device and its control method
JP5078199B2 (en) Image encoding apparatus and method, program code, and storage medium
JP2001197498A (en) Device and method for processing image and storage medium
JP6812214B2 (en) Image coding device, image coding method, and program
JP2010004279A (en) Image processor and image forming apparatus including the same
JP6581469B2 (en) Image encoding apparatus, control method therefor, program, and storage medium
JP2007295319A (en) Image processing apparatus and image forming apparatus equipped therewith

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190415

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190415

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191210

R151 Written notification of patent or utility model registration

Ref document number: 6632752

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151