[go: up one dir, main page]

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

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

Info

Publication number
JP2003101794A
JP2003101794A JP2001291855A JP2001291855A JP2003101794A JP 2003101794 A JP2003101794 A JP 2003101794A JP 2001291855 A JP2001291855 A JP 2001291855A JP 2001291855 A JP2001291855 A JP 2001291855A JP 2003101794 A JP2003101794 A JP 2003101794A
Authority
JP
Japan
Prior art keywords
area
image
quantization
conversion
conversion coefficient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2001291855A
Other languages
Japanese (ja)
Inventor
Yasuyuki Nakamura
康幸 仲村
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 JP2001291855A priority Critical patent/JP2003101794A/en
Publication of JP2003101794A publication Critical patent/JP2003101794A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

(57)【要約】 【課題】 符号化処理の過程を用いて符号化対象の画像
における文字領域、非文字領域を判定し、判定した各領
域に応じた量子化ステップを用いて量子化を行う画像符
号化装置、及び画像符号化方法を提供すること。 【解決手段】 色変換部102は入力された画像データに
色変換処理を行い、離散ウェーブレット変換部103は
タイル毎の輝度成分、色差成分に離散ウェーブレット変
換を行う。領域判定部104はタイル毎の変換係数を用
いて領域判定を行う。量子化部105は、黒文字領域のタ
イルの場合、このタイルの輝度成分に初期設定時よりも
細かい量子化ステップを用いて、色文字領域のタイルの
場合、このタイルの輝度成分、色差成分に初期設定時よ
りも細かい量子化ステップを用いて、非文字領域のタイ
ルの場合、このタイルの輝度成分、色差成分に初期設定
時の量子化ステップを用いて、量子化を行う。
(57) Abstract: A character area and a non-character area in an image to be encoded are determined using an encoding process, and quantization is performed using a quantization step corresponding to each determined area. To provide an image encoding device and an image encoding method. A color conversion unit performs color conversion processing on input image data, and a discrete wavelet conversion unit performs discrete wavelet conversion on a luminance component and a color difference component of each tile. The area determination unit 104 performs area determination using the transform coefficient for each tile. In the case of a tile in a black character area, the quantization unit 105 uses a finer quantization step for the luminance component of this tile than in the initial setting, and in the case of a tile in a color character area, the luminance component and color difference component of this tile are initialized. In the case of a tile in a non-character area using a quantization step finer than that at the time of setting, quantization is performed on the luminance component and color difference component of this tile using the quantization step at the time of initial setting.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、画像を符号化する
画像符号化装置、及び画像符号化方法、並びにプログラ
ム、記憶媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding apparatus for coding an image, an image coding method, a program, and a storage medium.

【0002】[0002]

【従来の技術】従来の画像符号化装置(第1の画像符号
化装置)が画像データに対して符号化処理を施す場合、
この画像データに対して、前処理(色変換処理や間引き
処理)、周波数変換処理(例えば離散コサイン変換)、
量子化処理、符号化処理(符号列生成処理)、符号列出
力処理の順に各処理を施す。
2. Description of the Related Art When a conventional image coding apparatus (first image coding apparatus) performs a coding process on image data,
For this image data, preprocessing (color conversion processing or thinning processing), frequency conversion processing (for example, discrete cosine conversion),
The respective processes are performed in the order of the quantization process, the encoding process (code string generation process), and the code string output process.

【0003】また、上述の画像符号化装置に領域判定部
を設ける画像符号化装置(第2の画像符号化装置も考え
られる。つまり、画像における各領域(例えば文字領域
と写真領域)を判定し、この判定結果を参照して、例え
ば量子化パラメータを変更して量子化を行う。
Further, an image coding apparatus in which the above-mentioned image coding apparatus is provided with a region judging section (a second image coding device is also conceivable. That is, each region (for example, a character region and a photograph region) in an image is judged. With reference to this determination result, quantization is performed by changing the quantization parameter, for example.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、第1の
画像符号化装置では以下のような問題がある。つまり、
符号化対象の画像において文字領域、或いは写真領域に
よらず、1ページ分の画像データに対して同一の量子化
パラメータを使用するので、写真領域に好適な量子化パ
ラメータでは文字領域の画像劣化が避けられず、また、
文字領域に好適な量子化パラメータを使用する場合は画
像全体の符号量が増えるという問題がある。
However, the first image coding apparatus has the following problems. That is,
Since the same quantization parameter is used for one page of image data regardless of the character region or the photo region in the image to be encoded, the quantization parameter suitable for the photo region causes image deterioration of the character region. Inevitable,
When a suitable quantization parameter is used for the character area, there is a problem that the code amount of the entire image increases.

【0005】一方、第2の画像符号化装置では以下のよ
うな問題がある。つまり、画像符号化処理(上述の前処
理、周波数変換処理、量子化処理、符号化処理(符号列
生成処理)、符号列出力処理)とは独立した処理により
領域判定を行うので、装置全体の回路規模の増大や処理
系の複雑化が避けられない。
On the other hand, the second image coding apparatus has the following problems. In other words, since the region determination is performed by a process independent of the image coding process (the above-described preprocessing, frequency conversion process, quantization process, coding process (code string generation process), and code string output process), the entire device Increasing the circuit scale and complicating the processing system cannot be avoided.

【0006】本発明は以上の問題に鑑みてなされたもの
であり、符号化処理の過程を用いて符号化対象の画像に
おける文字領域、非文字領域を判定し、判定した各領域
に応じた量子化ステップを用いて量子化を行う画像符号
化装置、及び画像符号化方法を提供することを目的とす
る。
The present invention has been made in view of the above problems, and determines a character region and a non-character region in an image to be encoded by using a process of encoding processing, and a quantum corresponding to each determined region. An object of the present invention is to provide an image coding apparatus and an image coding method that perform quantization by using a coding step.

【0007】[0007]

【課題を解決するための手段】本発明の目的を達成する
ために、例えば本発明の画像符号化装置は以下の構成を
備える。
In order to achieve the object of the present invention, for example, an image coding apparatus of the present invention has the following configuration.

【0008】すなわち、画像を符号化する画像符号化装
置であって、画像における輝度信号と色差信号に対して
周波数変換を施し、当該輝度信号の変換係数と当該色差
信号の変換係数を生成する周波数変換手段と、前記周波
数変換手段による前記輝度信号の変換係数と前記色差信
号の変換係数とを用いて、前記画像における文字領域、
非文字領域を判定する領域判定手段と、前記領域判定手
段により判定された領域に応じて量子化ステップを変化
させ、前記周波数変換手段による前記輝度信号の変換係
数、前記色差信号の変換係数に対して量子化を施す量子
化手段と、前記量子化手段による量子化結果に対してエ
ントロピ符号化を行うエントロピ符号化手段とを備え、
前記エントロピ符号化の結果に基づいて符号化データを
生成することを特徴とする画像符号化装置。
That is, an image coding apparatus for coding an image, in which a frequency conversion is performed on a luminance signal and a color difference signal in the image to generate a conversion coefficient of the luminance signal and a conversion coefficient of the color difference signal. A character area in the image using a conversion unit and a conversion coefficient of the luminance signal and a conversion coefficient of the color difference signal by the frequency conversion unit,
With respect to the conversion coefficient of the luminance signal and the conversion coefficient of the color difference signal by the frequency conversion means, the quantization step is changed according to the area determination means for determining the non-character area and the area determined by the area determination means. Quantizing means for performing quantization by means of, and entropy coding means for performing entropy coding on the quantization result by the quantizing means,
An image coding apparatus, which generates coded data based on a result of the entropy coding.

【0009】[0009]

【発明の実施の形態】以下添付図面を参照して、本発明
を好適な実施形態に従って詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will now be described in detail according to preferred embodiments with reference to the accompanying drawings.

【0010】[第1の実施形態]図5は従来の画像符号
化装置の機能構成を示すブロック図である。同図を用い
て、従来の画像符号化装置について説明する。
[First Embodiment] FIG. 5 is a block diagram showing the functional arrangement of a conventional image coding apparatus. A conventional image coding apparatus will be described with reference to FIG.

【0011】同図において、501は画像入力部であり、C
CDやコンタクトセンサ等により構成されており、原稿画
像データの読み取りを行う。502は色変換/間引処理部
であり、画像入力部501により入力される画像データに
対して、後続処理に適した色変換処理、間引処理を行
う。503は離散コサイン変換部(以下DCT部と称する)
で、色変換/間引き処理部502によって色変換、間引
き処理された画像データに対して離散コサイン変換処理
を施し、変換係数を生成する。
In the figure, 501 is an image input section, and C
It consists of a CD, contact sensor, etc., and reads the original image data. A color conversion / thinning processing unit 502 performs color conversion processing and thinning processing suitable for subsequent processing on the image data input by the image input unit 501. 503 is a discrete cosine transform unit (hereinafter referred to as a DCT unit)
Then, the color conversion / thinning processing unit 502 performs discrete cosine transform processing on the image data subjected to color conversion / thinning processing to generate conversion coefficients.

【0012】504はDCT部503により生成される変換係数
に量子化処理を施し、量子化係数を生成する量子化部、
505は量子化部504による量子化係数に符号化処理を施す
符号化部である。なお、色変換処理/間引処理部502で
変換する色空間はLa*b*色空間であり、間引処理による
サンプリング比(輝度信号:色差信号1:色差信号2の
比率)は間引きを行わない1:1:1、或いは間引率として
2:1:1、4:1:1が使用される場合が多い。また、量子化部
504で量子化処理の際に用いる量子化パラメータ、及び
符号化部505で符号化処理の際に用いる符号化パラメー
タは任意に設定可能である。
Reference numeral 504 is a quantizer for performing a quantization process on the transform coefficient generated by the DCT unit 503 to generate a quantized coefficient,
Reference numeral 505 is an encoding unit that performs encoding processing on the quantized coefficient by the quantization unit 504. The color space converted by the color conversion processing / thinning processing unit 502 is the La * b * color space, and the sampling ratio (the ratio of the luminance signal: the color difference signal 1: the color difference signal 2) by the thinning processing is thinned. Not 1: 1: 1 or as thinning rate
2: 1: 1 and 4: 1: 1 are often used. Also, the quantizer
The quantization parameter used in the quantization processing in 504 and the encoding parameter used in the encoding processing in the encoding unit 505 can be arbitrarily set.

【0013】図6は図5に示した画像符号化装置とは異
なる従来の画像符号化装置の機能構成を示す。図6に示
す画像符号化装置の機能構成は、図5に示した画像符号
化装置に領域判定部507を追加したものとなってい
る。領域判定部507は画像入力部501により入力される画
像データをあらかじめ定めた画素単位あるいはブロック
単位毎に画像属性を識別する機能を有するものであり、
画素単位あるいはブロック単位の画像が文字領域である
か、写真領域であるかの判別を行うものである。
FIG. 6 shows a functional configuration of a conventional image coding apparatus different from the image coding apparatus shown in FIG. The functional configuration of the image encoding device shown in FIG. 6 is such that an area determination unit 507 is added to the image encoding device shown in FIG. The area determination unit 507 has a function of identifying the image attribute of the image data input by the image input unit 501 for each predetermined pixel unit or block unit,
It is determined whether the image in pixel unit or block unit is a character region or a photo region.

【0014】領域判定部507による領域判別の方法は一
手法に限定されるものではない。例えば入力画像データ
を輝度成分と色差成分に変換して画像データ上での輝度
成分の急峻な変化(エッジ量)を検出することで文字領
域と判別する方法や、輝度成分量と色差成分量に各々閾
値を設けて比較判別する方法、更には所定分の入力画像
データ中の頻度分布をとり、所定閾値と比較することで
領域を判別する方法等がある。前記判別手法による判別
結果は量子化部504に入力される。量子化部504は文
字領域と判別された領域に関しては細かい量子化パラメ
ータを使用する。その結果、文字領域特有の高周波成分
まで細かく量子化処理を行うことができる。一方、写真
領域と判別された領域に関しては高周波成分を粗く量子
化する。その結果、符号データ量を抑えることができ、
入力画像データ全体に対して最適な符号化処理を実施す
ることができる。
The method of area determination by the area determination unit 507 is not limited to one method. For example, a method of determining the character area by converting the input image data into a luminance component and a color difference component and detecting a sharp change (edge amount) of the luminance component on the image data, or a method of determining the luminance component amount and the color difference component amount. There is a method of comparing and discriminating by setting each threshold value, and a method of discriminating an area by taking a frequency distribution in a predetermined amount of input image data and comparing with a predetermined threshold value. The discrimination result by the discrimination method is input to the quantizer 504. The quantizer 504 uses fine quantization parameters for the area determined to be the character area. As a result, it is possible to finely perform the quantization processing up to the high frequency component peculiar to the character area. On the other hand, the high frequency component is roughly quantized in the area determined to be the photograph area. As a result, the code data amount can be suppressed,
Optimal encoding processing can be performed on the entire input image data.

【0015】しかし図5に示した画像符号化装置は以下
のような問題がある。すなわち、符号化対象の画像にお
いて文字領域、或いは写真領域によらず、1ページ分の
画像データに対して同一の量子化パラメータを使用する
ので、写真領域に好適な量子化パラメータでは文字領域
の画像劣化が避けられず、また、文字領域に好適な量子
化パラメータを使用する場合は画像全体の符号量が増え
るという問題がある。
However, the image coding apparatus shown in FIG. 5 has the following problems. That is, since the same quantization parameter is used for one page of image data regardless of the character area or the photo area in the image to be encoded, the image of the character area is used as the quantization parameter suitable for the photo area. There is a problem that the deterioration is unavoidable and that the code amount of the entire image increases when using a quantization parameter suitable for the character area.

【0016】一方、図6に示した画像符号化装置では以
下のような問題がある。すなわち、画像符号化処理(上
述の前処理、周波数変換処理、量子化処理、符号化処理
(符号列生成処理)、符号列出力処理)とは独立した処
理により領域判定処理を行うので、装置全体の回路規模
の増大や処理系の複雑化が避けられない。
On the other hand, the image coding apparatus shown in FIG. 6 has the following problems. That is, since the area determination process is performed by a process independent of the image encoding process (preprocessing, frequency conversion process, quantization process, encoding process (code string generation process), and code string output process described above), the entire device is processed. Inevitably an increase in the circuit scale and complication of the processing system.

【0017】これらの問題を解決するための本発明の第
1の実施形態における画像符号化装置の機能構成を図1
に示す。同図において、101は画像入力部、102は
色変換部、103は離散ウェーブレット変換部、104は
領域判断部、105は量子化部、106は符号化部、107は符
号出力部である。画像入力部101はCCDあるいはコンタク
トセンサにより構成され、図示しない原稿台あるいはAD
Fに設定された原稿画像の読み取りを行い、原稿画像を
電子データ(画像データ)として本装置に入力する。
FIG. 1 is a block diagram showing the functional arrangement of the image coding apparatus according to the first embodiment of the present invention for solving these problems.
Shown in. In the figure, 101 is an image input unit, 102 is a color conversion unit, 103 is a discrete wavelet conversion unit, 104 is a region determination unit, 105 is a quantization unit, 106 is an encoding unit, and 107 is a code output unit. The image input unit 101 is composed of a CCD or a contact sensor, and has a document table or AD (not shown).
The original image set to F is read, and the original image is input to the apparatus as electronic data (image data).

【0018】色変換部102は画像入力部101により読
みとられた画像データに対して、色変換処理を施す。変
換後の色空間は特に限定されるものではなく、入力画像
信号を輝度信号と色差信号に変換される色空間であれば
良い。即ち、NTSC方式でのYIQ色空間でも良いし、パー
ソナルコンピュータ(以下、PCと称する)上のJPEG処
理で良く使用されているYCbCr色空間でも良い(いずれ
もY信号が輝度信号に相当する)。
The color conversion unit 102 performs color conversion processing on the image data read by the image input unit 101. The color space after conversion is not particularly limited as long as it is a color space in which an input image signal is converted into a luminance signal and a color difference signal. That is, the YIQ color space in the NTSC system may be used, or the YCbCr color space that is often used in JPEG processing on a personal computer (hereinafter referred to as PC) may be used (in both cases, the Y signal corresponds to the luminance signal).

【0019】離散ウェーブレット変換部103は、画像入
力部101により読み取られ、色変換部102により色変
換された画像データ(輝度信号、色差信号)に対して2
次元の離散ウェーブレット変換処理を行い、輝度信号、
色差信号夫々の変換係数を算出して出力する。図3
(a)は離散ウェーブレット変換部103の基本構成を
表したものであり、入力された画像信号はメモリ301
に記憶され、処理部302により順次読み出されて変換処
理が行われ、再びメモリ301に書き込まれる。本実施形
態においては、処理部302における処理の構成は同図
(b)に示すものとする。同図において、入力された画
像データは遅延素子およびダウンサンプラの組み合わせ
により、偶数アドレスおよび奇数アドレスの信号に分離
され、2つのフィルタp及びuによりフィルタ処理が施
される。同図sおよびdは、各々1次元の画像信号に対
して1レベルの分解を行った際のローパス係数およびバ
イパス係数を表しており、次式により計算されるものと
する。
The discrete wavelet transform unit 103 reads the image data (luminance signal, color difference signal) read by the image input unit 101 and color-converted by the color transform unit 102 by 2
Dimensional discrete wavelet transform processing, luminance signal,
The conversion coefficient of each color difference signal is calculated and output. Figure 3
(A) shows the basic configuration of the discrete wavelet transform unit 103, and the input image signal is stored in the memory 301.
Stored in the memory 301, sequentially read by the processing unit 302, subjected to conversion processing, and written again in the memory 301. In the present embodiment, the processing configuration in the processing unit 302 is as shown in FIG. In the figure, the input image data is separated into even-numbered address and odd-numbered address signals by a combination of a delay element and a downsampler, and is filtered by two filters p and u. In the figures, s and d respectively represent the low-pass coefficient and the bypass coefficient when the one-level decomposition is performed on the one-dimensional image signal, and are calculated by the following equation.

【0020】 d(n) = x(2n+1)-floor((x(2n)+x(2n+2))/2) (式1) s(n) = x(2n)+floor((d(n-1)+d(d))/4) (式2) ただし、x(n)は変換対象となる画像データである。以上
の処理により、画像信号に対する1次元の離散ウェーブ
レット変換処理が行われる。2次元の離散ウェーブレッ
ト変換は、1次元の変換を画像の水平・垂直方向に対し
て順次行うものであり、その詳細は公知であるのでここ
では説明を省略する。図3(c)は2次元の変換処理によ
り得られる2レベルの変換係数群の構成例であり、画像
データは異なる周波数帯域の係数列HH1、HL1、LH
1、,,,,、LLに分解される。なお、以降の説明ではこれ
らの係数列をサブバンドと称する。各サブバンドの係数
は後続の領域判別部104及び量子化部105に出力さ
れる。
D (n) = x (2n + 1) -floor ((x (2n) + x (2n + 2)) / 2) (Equation 1) s (n) = x (2n) + floor (( d (n-1) + d (d)) / 4) (Formula 2) where x (n) is image data to be converted. Through the above processing, one-dimensional discrete wavelet transform processing is performed on the image signal. The two-dimensional discrete wavelet transform is a one-dimensional transform that is sequentially performed in the horizontal and vertical directions of an image, and the details thereof are publicly known, so description thereof will be omitted here. FIG. 3C is a configuration example of a two-level conversion coefficient group obtained by two-dimensional conversion processing, in which image data has coefficient sequences HH1, HL1, and LH of different frequency bands.
It is decomposed into 1, LL, LL. In the following description, these coefficient sequences will be referred to as subbands. The coefficient of each subband is output to the subsequent area discriminating unit 104 and quantizing unit 105.

【0021】また、上述の離散ウェーブレット変換処理
においては、処理する画像データサイズ等に特別な規程
はない。即ち、1ページ分の画像データに対して変換処
理を施しても良いし、所定のサイズ(以降の説明ではタ
イルと称する)毎に変換処理を実施しても良い。但し、
本実施形態においては、入力画像データ中の領域判別を
目的とすることと、離散ウェーブレット変換を用いた符
号化効率を高めるため、128画素×128画素で構成される
タイル単位で離散ウェーブレット変換を実施することと
する。つまり、128画素×128画素で構成される処理タイ
ル毎に輝度信号、色差信号に対する上記サブバンドが存
在することになる。
Further, in the above-mentioned discrete wavelet transform processing, there is no special regulation on the size of image data to be processed. That is, the conversion process may be performed on the image data of one page, or the conversion process may be performed for each predetermined size (hereinafter, referred to as tile). However,
In the present embodiment, the discrete wavelet transform is performed for each tile composed of 128 pixels × 128 pixels for the purpose of discriminating the region in the input image data and for improving the coding efficiency using the discrete wavelet transform. I decided to. That is, the above-mentioned subbands for the luminance signal and the color difference signal exist for each processing tile composed of 128 pixels × 128 pixels.

【0022】このとき、注目タイルが文字のような、画
素の輝度値の変化が急峻な画像データである場合、離散
ウェーブレット変換後の変換係数はタイルのサブバンド
中の高周波サブバンド(2レベルの場合HH1、HL1、LH
1)の変換係数の値が大きくなる。また、入力画像デー
タが写真等の自然画である場合は、注目タイルのサブバ
ンド中の高周波サブバンドが特別大きな値をとることは
なく、低周波サブバンド(2レベルの場合LL、HL2、LH
2)の値が大きくなる。
At this time, when the tile of interest is image data such as a character in which the change in the luminance value of the pixel is steep, the transform coefficient after the discrete wavelet transform is a high-frequency subband (2 levels of the subband of the tile. Case HH1, HL1, LH
The value of the conversion coefficient of 1) becomes large. In addition, when the input image data is a natural image such as a photograph, the high frequency subband in the subband of the tile of interest does not take a particularly large value, and the low frequency subband (LL, HL2, LH in the case of 2 levels)
The value of 2) becomes large.

【0023】領域判定部104は離散ウェーブレット変
換部103から出力されるタイル毎の変換係数を使用し
て領域判定を行う。具体的には、各タイルが文字領域で
あるか非文字領域(例えば、上述の自然画の領域)であ
るかを判定する。領域判定方法としては、まず各タイル
毎に(輝度信号、及び色差信号の)高周波サブバンド
(2レベルの場合、HH1,HL1,LH1)に含まれ
る変換係数の平均値を計算する。そして予め、第1の閾
値と第2の閾値を設定しておき、計算した平均値が第1
の閾値を越えたタイルは文字領域のタイルと推定する。
また、各タイル毎に低周波サブバンド(2レベルの場
合、LL、HL2,LH2)に含まれる変換係数の平均
値を計算し、計算した平均値が第2の閾値よりも大きい
タイルは非文字領域のタイルと推定する。しかし各タイ
ルが文字領域であるか否かの判定方法はこれに限定され
るものではない。
The area determination unit 104 performs area determination using the transform coefficient for each tile output from the discrete wavelet transform unit 103. Specifically, it is determined whether each tile is a character area or a non-character area (for example, the natural image area described above). As the area determination method, first, the average value of the conversion coefficients included in the high frequency subbands (of the luminance signal and the color difference signal) (HH1, HL1, LH1 in the case of 2 levels) is calculated for each tile. Then, the first threshold and the second threshold are set in advance, and the calculated average value is the first
The tiles that exceed the threshold of are estimated to be tiles in the character area.
In addition, the average value of the conversion coefficients included in the low-frequency subband (LL, HL2, LH2 in the case of 2 levels) is calculated for each tile, and the tile whose calculated average value is larger than the second threshold is non-character. Presumed to be the tile of the area. However, the method of determining whether each tile is a character area is not limited to this.

【0024】更に領域判定部104は、輝度信号に対す
る変換係数と色差成分に対する変換係数とを用いて、文
字領域であると判定されたタイルにおいて、この文字領
域が黒文字を含む領域(黒文字領域)であるか、黒文字
を含まない領域(色文字領域)であるかを判定(領域判
定)する。領域判定部104は、前述の処理において注
目タイルが文字領域であると判定した場合に、以下の処
理を実行する。
Further, the area determining unit 104 uses the conversion coefficient for the luminance signal and the conversion coefficient for the color difference component in the tile determined to be the character area, and this character area is an area including a black character (black character area). It is determined (area determination) whether or not there is an area (color character area) that does not include black characters. The area determination unit 104 executes the following processing when it is determined that the tile of interest is a character area in the above processing.

【0025】文字領域の注目タイルにおいて、この文字
領域が黒文字領域か色文字領域かの判定には、注目タイ
ルの色差成分(例えばCbやCb成分)の変換係数を参
照し、この色差成分の変換係数の平均値が所定値以下で
あれば色がない文字領域となるので、すなわち黒文字領
域とすることができる。一方、注目タイルの色差成分
(例えばCbやCb成分)の変換係数を参照し、この色
差成分の変換係数の平均値が所定値以上であれば色が有
る文字領域となるので、すなわち、色文字領域とするこ
とができる。以上の領域判定部104における判定結果
(タイル毎の判定結果)は量子化部105に入力され
る。
In the target tile of the character area, to determine whether this character area is a black character area or a color character area, the conversion coefficient of the color difference component (for example, Cb or Cb component) of the target tile is referred to and the conversion of this color difference component is performed. If the average value of the coefficients is equal to or less than the predetermined value, the character area has no color, that is, the black character area can be obtained. On the other hand, the conversion coefficient of the color difference component (for example, Cb or Cb component) of the tile of interest is referred to, and if the average value of the conversion coefficient of this color difference component is equal to or more than a predetermined value, it means that there is a colored character area, that is, the color character It can be a region. The determination result (determination result for each tile) in the area determination unit 104 is input to the quantization unit 105.

【0026】量子化部105は領域判定部104の判定
結果に基づき、離散ウェーブレット変換部103から出
力されるタイル毎の変換係数に量子化処理を施す。具体
的には、離散ウェーブレット変換部103から出力され
たタイルに対して領域判定部104が黒文字領域と判定
した場合には、このタイルの輝度成分の変換係数の量子
化ステップを初期設定の量子化ステップよりも細かくす
ることで量子化処理を施す。また、領域判定部104が
黒文字領域と判定したタイルの色差成分の変換係数の量
子化ステップについては、初期設定の量子化ステップを
用いる。
The quantizer 105 quantizes the transform coefficient for each tile output from the discrete wavelet transform unit 103 based on the determination result of the area determination unit 104. Specifically, when the area determination unit 104 determines that the tile output from the discrete wavelet transform unit 103 is a black character region, the quantization step of the transform coefficient of the luminance component of this tile is set to the default quantization. Quantization processing is performed by making it finer than steps. Further, as the quantization step of the conversion coefficient of the color difference component of the tile determined by the area determination unit 104 to be the black character area, the default quantization step is used.

【0027】一方、領域判定部104による判定結果が
色文字領域判定の場合は、輝度成分だけでなく、色差成
分の変換係数の量子化ステップも初期設定の量子化ステ
ップよりも細かくして量子化を施す。また、非文字領域
に対しては、初期設定時の量子化ステップを用いて量子
化を施す。
On the other hand, when the determination result by the region determination unit 104 is a color character region determination, the quantization step of the conversion coefficient of not only the luminance component but also the color difference component is finer than the quantization step of the default setting. Give. Further, the non-character area is quantized by using the quantization step at the time of initial setting.

【0028】現在勧告化が進められているJPEG2000にお
ける符号化列を一例に挙げると、タイル毎に決定された
量子化ステップは図4に示す符号列において、各タイル
の符号化データに付されるタイルヘッダに含まれる。図
4はJPEG2000における符号列の構成を示す図で
ある。具体的には図4のMain HeaderまたはTile part
header中のQCDあるいはQCCマーカにより示される。
As an example of a coded sequence in JPEG2000 currently being recommended, the quantization step determined for each tile is added to the coded data of each tile in the coded sequence shown in FIG. Included in tile header. FIG. 4 is a diagram showing the structure of a code string in JPEG2000. Specifically, Main Header or Tile part in Figure 4
It is indicated by the QCD or QCC marker in the header.

【0029】量子化部105により量子化された係数
は、符号化部106によりエントロピ符号化処理され、
所定のヘッダが付加されて符号化データ(符号列)が形
成される(例えば図4に示す構成を備える符号列が形成
される)。尚、符号列において、領域判定部104によ
り判定された各タイルに対する判定結果は、各タイルの
ヘッダ(タイルヘッダ)に含まれる。よって、タイルヘ
ッダを参照することで、このタイルヘッダに対応するタ
イルが文字領域であるか否かを確認することができる。
また、文字領域のタイルが更に、黒文字領域であるか色
文字領域であるかを確認することができる。
The coefficient quantized by the quantizer 105 is entropy coded by the encoder 106,
A predetermined header is added to form encoded data (code string) (for example, a code string having the configuration shown in FIG. 4 is formed). In the code string, the determination result for each tile determined by the area determination unit 104 is included in the header (tile header) of each tile. Therefore, by referring to the tile header, it can be confirmed whether or not the tile corresponding to this tile header is a character area.
Further, it is possible to confirm whether the tile of the character area is a black character area or a color character area.

【0030】生成された符号化列は符号出力部107に
より出力される。符号出力部107はハードディスクな
どの外部記憶装置や、LANやインターネット等のネッ
トワークに接続するためのインターフェース等により構
成されており、生成された上述の符号列を記憶してお
き、符号出力部107に接続された機器に対してこの符
号列を出力したり、上述のネットワークに対して生成さ
れた符号列を出力したりする。
The generated coded sequence is output by the code output unit 107. The code output unit 107 is configured by an external storage device such as a hard disk, an interface for connecting to a network such as a LAN or the Internet, and stores the generated code sequence described above and stores it in the code output unit 107. This code string is output to the connected device, or the code string generated for the above network is output.

【0031】図7に上述の画像符号化方法のフローチャ
ートを示し、処理の流れについて説明する。尚、各ステ
ップにおける詳細な説明は上述の通りなので、各ステッ
プにおける詳細な説明は省略する。
FIG. 7 shows a flowchart of the above-mentioned image coding method, and the flow of processing will be described. Since the detailed description of each step is as described above, the detailed description of each step is omitted.

【0032】まず、画像入力部101に画像データが入
力され(ステップS701)、入力された画像データに
対して色変換部102で色変換処理が行われる(ステッ
プS702)。次に、色変換が行われた画像データにお
いて、タイル毎の輝度成分、色差成分に対して離散ウェ
ーブレット変換部103は夫々離散ウェーブレット変換
を行う(ステップS703)。次に、領域判定部104
はタイル毎に上述の領域判定を行い(ステップS70
4)、文字領域である場合には処理をステップS706
に、非文字領域である場合には処理をステップS709
に移行する。
First, image data is input to the image input unit 101 (step S701), and color conversion processing is performed on the input image data by the color conversion unit 102 (step S702). Next, in the color-converted image data, the discrete wavelet transform unit 103 performs discrete wavelet transform on the luminance component and the color difference component for each tile (step S703). Next, the area determination unit 104
Performs the above-described area determination for each tile (step S70
4) If the area is a character area, the process proceeds to step S706.
If the area is a non-character area, the process proceeds to step S709.
Move to.

【0033】ステップS706では、ステップS704
における領域判定により文字領域であると判定されたタ
イルが、黒文字領域か色文字領域かの判定を行う。黒文
字領域である場合、処理をステップS707に移行し、
量子化部105は、このタイルの輝度成分に対しては初
期設定時における量子化ステップよりも細かい量子化ス
テップを用いて量子化を行う(ステップS707)。一
方、ステップS706において色文字領域であると判定
された場合、処理をステップS708に移行し、このタ
イルの輝度成分、色差成分の両方の成分に対して、量子
化部105は、初期設定時における量子化ステップより
も細かい量子化ステップを用いて量子化を行う(ステッ
プS708)。
In step S706, step S704
It is determined whether the tile determined to be the character area by the area determination in 1 is a black character area or a color character area. If it is a black character area, the process proceeds to step S707,
The quantization unit 105 quantizes the luminance component of this tile using a quantization step finer than the quantization step at the time of initialization (step S707). On the other hand, when it is determined in step S706 that the area is the color character area, the process proceeds to step S708, and the quantization unit 105 sets both the luminance component and the color difference component of this tile at the time of initial setting. Quantization is performed using a quantization step finer than the quantization step (step S708).

【0034】一方、ステップS704において非文字領
域であると判定された場合、処理をステップS709に
移行し、非文字領域であると判定されたタイルの輝度成
分、色差成分の両方の成分に対して、量子化部105
は、初期設定時における量子化ステップを用いてこのタ
イルに対して量子化を行う(ステップS709)。
On the other hand, if it is determined in step S704 that the tile is a non-character area, the process proceeds to step S709, and both the luminance component and the color difference component of the tile determined to be the non-character area are processed. , Quantizer 105
Performs quantization on this tile using the quantization step at the time of initialization (step S709).

【0035】以上、量子化部105により量子化された
タイルに対して、符号化部106はエントロピ符号化を
行う(ステップS710)。以上、ステップS704か
らステップS710までの処理を全てのタイルに対して
行う。そして全てのタイルがエントロピ符号化される
と、このエントロピ符号化の結果を用いて符号化データ
を生成し(ステップS712)、生成した符号化データ
は符号出力部107を介して外部に出力される(ステッ
プS713)。
The coding unit 106 performs entropy coding on the tiles quantized by the quantizing unit 105 (step S710). As described above, the processing from step S704 to step S710 is performed on all tiles. When all tiles are entropy coded, coded data is generated using the result of this entropy coding (step S712), and the generated coded data is output to the outside via the code output unit 107. (Step S713).

【0036】以上説明したように、本実施形態における
画像符号化装置(画像符号化方法)は、画像データに対
して符号化を行う際に、文字領域(色文字、黒文字)領
域、写真領域に応じた量子化ステップを用いて量子化を
行うので、画像全体に同じ量子化ステップを用いて量子
化する画像符号化装置(画像符号化方法)よりも、符号
化された画像の画質の劣化を軽減することができると共
に、画像全体の符号量をより少なくすることができる。
As described above, the image coding apparatus (image coding method) according to the present embodiment, when coding image data, creates a character area (color character, black character) area and a photograph area. Since the quantization is performed using the corresponding quantization step, the deterioration of the image quality of the encoded image is better than that of the image encoding device (image encoding method) that quantizes the entire image using the same quantization step. In addition to being able to reduce the number of bits, the code amount of the entire image can be reduced.

【0037】また、本実施形態における画像符号化装置
(画像符号化方法)は、画像データに対する符号処理の
過程で生成される変換係数を用いて上述の領域判定を行
うので、符号化処理とは独立した処理により領域判定を
行う装置(例えば図6に示した機能構成を備える装置)
よりも装置の回路規模を小さくすることができ、領域判
定、符号化の処理の複雑さを軽減することができる。
Further, the image coding apparatus (image coding method) in this embodiment performs the above-mentioned area determination using the transform coefficient generated in the process of coding the image data. A device for performing area determination by independent processing (for example, a device having the functional configuration shown in FIG. 6)
The circuit scale of the device can be reduced, and the complexity of the area determination and encoding processing can be reduced.

【0038】[第2の実施形態]本実施形態では、タイ
ルサイズを処理原稿に応じて変更させる画像符号化装置
について説明する。第1の実施形態では128画素×128画
素からなるタイルを前提として説明を行ったが、処理す
るタイルサイズは原稿により可変設定機能をもたせるこ
とが望ましい。本実施形態におけるタイルサイズの変更
例を図2を参照して説明する。図2はタイルサイズを変
更する操作部の構成例を示す図である。
[Second Embodiment] In the present embodiment, an image encoding apparatus for changing the tile size according to the original to be processed will be described. In the first embodiment, the description has been given on the premise that the tile has 128 pixels × 128 pixels, but it is desirable that the tile size to be processed has a variable setting function depending on the original. An example of changing the tile size in this embodiment will be described with reference to FIG. FIG. 2 is a diagram illustrating a configuration example of an operation unit that changes the tile size.

【0039】図2において、201は動作モードを設定
する操作部であって、本実施形態における画像符号化装
置の基本構成は、図1に示した基本構成に更にこの操作
部を付加した構成を備える。この操作部により設定され
た下記の動作モードは離散ウェーブレット変換部103
に入力される。
In FIG. 2, reference numeral 201 denotes an operation section for setting an operation mode. The basic configuration of the image coding apparatus according to the present embodiment is the basic configuration shown in FIG. Prepare The following operation modes set by this operation unit are the discrete wavelet transform unit 103.
Entered in.

【0040】図3において、202はLCD等で構成され
る表示部、203〜209は下記の動作モードを設定す
る設定キーであり、203は処理原稿が文字原稿である
場合に押下するキー、204は処理原稿が写真原稿であ
る場合に押下するキー、205は処理原稿が文字写真混
在する原稿である場合に押下するキー、206は動作メ
ニューを表示するメニューキー、207はメニューを変
更するための設定キー、208は本画像符号化装置の動
作を起動させるスタートキー、209は本画像符号化装
置の動作を中止する場合に押下するストップキーであ
る。
In FIG. 3, reference numeral 202 denotes a display unit composed of an LCD or the like, 203 to 209 are setting keys for setting the following operation modes, 203 is a key to be pressed when the processing original is a character original, and 204 Is a key to be pressed when the document to be processed is a photo document, 205 is a key to be pressed when the document to be processed is a document in which character and photo are mixed, 206 is a menu key for displaying an operation menu, and 207 is for changing the menu A setting key, 208 is a start key that activates the operation of the image coding apparatus, and 209 is a stop key that is pressed to stop the operation of the image coding apparatus.

【0041】タイルサイズの変更を行う第1の設定例と
しては、処理原稿により押下するキーとタイルサイズを
対応させるようにするものである。具体的には、文字原
稿キー203が押下された場合は128画素×128画素のタ
イル構成を対応させ、写真原稿キー204が押下された
場合は512画素×512画素のタイル構成を対応させ、文字
写真キー205が押下された場合は256画素×256画素の
タイル構成を対応させるようにする。
As a first setting example for changing the tile size, the key to be pressed depending on the document to be processed is made to correspond to the tile size. Specifically, when the character manuscript key 203 is pressed, the tile configuration of 128 pixels × 128 pixels is associated, and when the photo manuscript key 204 is pressed, the tile configuration of 512 pixels × 512 pixels is associated, When the photograph key 205 is pressed, the tile configuration of 256 pixels × 256 pixels is made to correspond.

【0042】第2の設定例はメニューキー206を押下
して表示部202にメニューを表示させ、設定キー20
7により処理原稿毎にタイル構成画素数を設定するよう
にするものである。
In the second setting example, the menu key 206 is pressed to display the menu on the display unit 202, and the setting key 20
7, the number of tile constituent pixels is set for each document to be processed.

【0043】上記説明のように処理原稿に応じてタイル
構成画素数を可変とすることにより、より符号化効率を
向上させた処理が可能となる。
By varying the number of tile constituent pixels according to the original to be processed as described above, it is possible to perform processing with further improved coding efficiency.

【0044】なお、上記説明においては、画像符号化装
置単体の構成である場合に関して説明を行ったが、これ
に限定されるものではない。つまり、PCとの接続機能
を有する構成において、PCから画像符号化装置に対し
て上述の第1の閾値、第2の閾値、もしくは各々の画像
属性に対応したタイルの画素構成を設定するようにして
も良い。
In the above description, the case where the image coding apparatus is configured as a single unit has been described, but the present invention is not limited to this. That is, in the configuration having the connection function with the PC, the PC sets the above-described first threshold value, the second threshold value, or the pixel configuration of the tile corresponding to each image attribute to the image encoding device. May be.

【0045】[その他の実施形態]さらに、本発明は上
記実施形態を実現するための装置及び方法のみに限定さ
れるものではなく、上記システム又は装置内のコンピュ
ータ(CPUあるいはMPU)に、上記実施形態を実現するた
めのソフトウエアのプログラムコード(図7に示すフロ
ーチャートに従ったプログラムコード)を供給し、この
プログラムコードに従って上記システムあるいは装置の
コンピュータが上記各種デバイスを動作させることによ
り上記実施形態を実現する場合も本発明の範疇に含まれ
る。
[Other Embodiments] Furthermore, the present invention is not limited only to the apparatus and method for realizing the above-described embodiment, and the above-described embodiment can be applied to a computer (CPU or MPU) in the above-mentioned system or apparatus. A program code (software program code according to the flowchart shown in FIG. 7) for realizing the form is supplied, and the computer of the system or the apparatus operates the various devices according to the program code to realize the above-described embodiment. Realization is also included in the scope of the present invention.

【0046】またこの場合、前記ソフトウエアのプログ
ラムコード自体が上記実施形態の機能を実現することに
なり、そのプログラムコード自体、及びそのプログラム
コードをコンピュータに供給するための手段、具体的に
は上記プログラムコードを格納した記憶媒体は本発明の
範疇に含まれる。
Further, in this case, the program code itself of the software realizes the function of the above embodiment, and the program code itself and means for supplying the program code to the computer, specifically, the above-mentioned. A storage medium storing the program code is included in the scope of the present invention.

【0047】この様なプログラムコードを格納する記憶
媒体としては、例えばフロッピー(登録商標)ディス
ク、ハードディスク、光ディスク、光磁気ディスク、CD
-ROM、磁気テープ、不揮発性のメモリカード、ROM等を
用いることができる。
As a storage medium for storing such a program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, a CD
-ROM, magnetic tape, non-volatile memory card, ROM, etc. can be used.

【0048】また、上記コンピュータが、供給されたプ
ログラムコードのみに従って各種デバイスを制御するこ
とにより、上記実施形態の機能が実現される場合だけで
はなく、上記プログラムコードがコンピュータ上で稼働
しているOS(オペレーティングシステム)、あるいは他の
アプリケーションソフト等と共同して上記実施形態が実
現される場合にもかかるプログラムコードは本発明の範
疇に含まれる。
In addition to the case where the functions of the above-described embodiments are realized by the computer controlling various devices only in accordance with the supplied program code, the OS on which the program code runs on the computer. The program code is also included in the scope of the present invention when the above embodiment is realized in cooperation with (operating system) or other application software.

【0049】更に、この供給されたプログラムコード
が、コンピュータの機能拡張ボードやコンピュータに接
続された機能拡張ユニットに備わるメモリに格納された
後、そのプログラムコードの指示に基づいてその機能拡
張ボードや機能格納ユニットに備わるCPU等が実際の処
理の一部または全部を行い、その処理によって上記実施
形態が実現される場合も本発明の範疇に含まれる。
Further, the supplied program code is stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, and then the function expansion board or function is instructed based on the instruction of the program code. The case where the CPU or the like included in the storage unit performs some or all of the actual processing and the above-described embodiment is realized by the processing is also included in the scope of the present invention.

【0050】[0050]

【発明の効果】以上の説明により本発明によって、符号
化処理の過程を用いて、符号化対象の画像における文字
領域、非文字領域を判定するので、符号化処理とは独立
した処理により領域判定を行うよりも、装置全体の回路
規模、処理系の複雑化を軽減することができる。
As described above, according to the present invention, the character region and the non-character region in the image to be encoded are determined by using the process of the encoding process. Therefore, the region determination is performed by the process independent of the encoding process. It is possible to reduce the circuit scale of the entire apparatus and the complexity of the processing system, as compared with the above.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施形態における画像符号化装
置の機能構成を示す図である。
FIG. 1 is a diagram showing a functional configuration of an image encoding device according to a first embodiment of the present invention.

【図2】本発明の第2の実施形態におけるタイルサイズ
を変更する操作部の構成例を示す図である。
FIG. 2 is a diagram showing a configuration example of an operation unit for changing a tile size according to the second embodiment of the present invention.

【図3】(a)は離散ウェーブレット変換部103の基
本構成を示す図で、(b)は処理部302の基本構成を
示す図で、(c)は2次元の離散ウェーブレット変換に
より得られる2レベルの変換係数群の構成例を示す図で
ある。
3A is a diagram showing a basic configuration of a discrete wavelet transformation unit 103, FIG. 3B is a diagram showing a basic configuration of a processing unit 302, and FIG. 3C is a diagram obtained by two-dimensional discrete wavelet transformation. It is a figure which shows the structural example of the conversion coefficient group of a level.

【図4】JPEG2000における符号列の構成を示す
図である。
FIG. 4 is a diagram showing a configuration of a code string in JPEG2000.

【図5】従来の画像符号化装置の機能構成を示すブロッ
ク図である。
FIG. 5 is a block diagram showing a functional configuration of a conventional image encoding device.

【図6】図5に示した画像符号化装置とは異なる従来の
画像符号化装置の機能構成を示す図である。
6 is a diagram showing a functional configuration of a conventional image encoding device different from the image encoding device shown in FIG.

【図7】本発明の第1の実施形態における画像符号化方
法のフローチャートである。
FIG. 7 is a flowchart of an image coding method according to the first embodiment of the present invention.

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK01 LB05 MA23 MA24 MC11 PP01 PP16 PP20 PP24 SS20 UA02 UA15 UA39 5C077 LL17 MP06 MP08 PP27 PP28 PP32 PP34 PP46 PP49 PP68 PQ08 RR11 RR18 RR21 TT06 5C078 AA09 BA53 BA57 CA25 DA00 DA01 DA02 DB07 EA00 5C079 HB04 HB11 LA03 LA06 LA27 LA31 NA09 PA02    ─────────────────────────────────────────────────── ─── Continued front page    F-term (reference) 5C059 KK01 LB05 MA23 MA24 MC11                       PP01 PP16 PP20 PP24 SS20                       UA02 UA15 UA39                 5C077 LL17 MP06 MP08 PP27 PP28                       PP32 PP34 PP46 PP49 PP68                       PQ08 RR11 RR18 RR21 TT06                 5C078 AA09 BA53 BA57 CA25 DA00                       DA01 DA02 DB07 EA00                 5C079 HB04 HB11 LA03 LA06 LA27                       LA31 NA09 PA02

Claims (19)

【特許請求の範囲】[Claims] 【請求項1】 画像を符号化する画像符号化装置であっ
て、 画像における輝度信号と色差信号に対して周波数変換を
施し、当該輝度信号の変換係数と当該色差信号の変換係
数を生成する周波数変換手段と、 前記周波数変換手段による前記輝度信号の変換係数と前
記色差信号の変換係数とを用いて、前記画像における文
字領域、非文字領域を判定する領域判定手段と、 前記領域判定手段により判定された領域に応じて量子化
ステップを変化させ、前記周波数変換手段による前記輝
度信号の変換係数、前記色差信号の変換係数に対して量
子化を施す量子化手段と、 前記量子化手段による量子化結果に対してエントロピ符
号化を行うエントロピ符号化手段とを備え、 前記エントロピ符号化の結果に基づいて符号化データを
生成することを特徴とする画像符号化装置。
1. An image coding apparatus for coding an image, wherein a frequency is applied to a luminance signal and a color difference signal in the image to generate a conversion coefficient of the luminance signal and a conversion coefficient of the color difference signal. A conversion unit, a region determination unit that determines a character region and a non-character region in the image by using the conversion coefficient of the luminance signal and the conversion coefficient of the color difference signal by the frequency conversion unit, and determination by the area determination unit Quantizing means for varying the quantizing step in accordance with the generated region and quantizing the conversion coefficient of the luminance signal and the conversion coefficient of the color difference signal by the frequency converting means, and the quantizing by the quantizing means. And entropy encoding means for performing entropy encoding on the result, wherein encoded data is generated based on the result of the entropy encoding. The image coding apparatus.
【請求項2】 更に、前記画像に対して色変換を行う色
変換手段を備え、当該色変換手段は、前記画像を輝度信
号と色差信号とに変換することを特徴とする請求項1に
記載の画像符号化装置。
2. The color conversion means for performing color conversion on the image, the color conversion means converting the image into a luminance signal and a color difference signal. Image encoding device.
【請求項3】 前記周波数変換手段は、前記画像に対し
て所定のサイズの領域毎に周波数変換し、領域毎の輝度
信号の変換係数、色差成分の変換係数を生成することを
特徴とする請求項1又は2に記載の画像符号化装置。
3. The frequency conversion means performs frequency conversion on the image for each area of a predetermined size, and generates a conversion coefficient of a luminance signal and a conversion coefficient of a color difference component for each area. The image coding device according to Item 1 or 2.
【請求項4】 前記周波数変換手段は、前記画像に対し
て所定のサイズの領域毎に離散ウェーブレット変換を施
すことを特徴とする請求項3に記載の画像符号化装置。
4. The image coding apparatus according to claim 3, wherein the frequency transforming unit performs a discrete wavelet transform on the image for each region of a predetermined size.
【請求項5】 前記領域判定手段は更に、前記周波数変
換手段による前記輝度信号の変換係数と前記色差成分の
変換係数を用いて、前記画像における文字領域のうち、
黒文字の領域、色文字の領域を判定することを特徴とす
る請求項1に記載の画像符号化装置。
5. The area determination means further uses the conversion coefficient of the luminance signal and the conversion coefficient of the color difference component by the frequency conversion means to determine whether or not a character area in the image
The image coding apparatus according to claim 1, wherein a black character area and a color character area are determined.
【請求項6】 前記領域判定手段は、前記画像において
注目領域の輝度信号及び色差信号の高周波数領域に含ま
れる変換係数を用いて、前記注目領域が文字領域である
か否かを、更に前記注目矩形が文字領域である場合に
は、当該文字領域が黒文字の領域か色文字の領域かを判
定することを特徴とする請求項5に記載の画像符号化装
置。
6. The area determining means further determines whether or not the area of interest is a character area by using a conversion coefficient included in a high frequency area of a luminance signal and a color difference signal of the area of interest in the image. The image coding apparatus according to claim 5, wherein when the rectangle of interest is a character area, it is determined whether the character area is a black character area or a color character area.
【請求項7】 前記領域判定手段は、前記画像において
所定のサイズの領域毎に領域判定を行うことを特徴とす
る請求項5又は6に記載の画像符号化装置。
7. The image coding apparatus according to claim 5, wherein the area determination unit makes an area determination for each area of a predetermined size in the image.
【請求項8】 前記領域判定手段により黒文字の領域と
判定された領域に対して、前記量子化手段は当該領域の
輝度信号の変換係数と色差信号の変換係数とで異なる量
子化ステップを用いて前記領域の量子化を行うことを特
徴とする請求項1に記載の画像符号化装置。
8. For the area determined to be a black character area by the area determination means, the quantization means uses different quantization steps for the conversion coefficient of the luminance signal and the conversion coefficient of the color difference signal in the area. The image coding apparatus according to claim 1, wherein the image area is quantized.
【請求項9】 前記領域判定手段により黒文字の領域と
判定された領域の輝度信号の変換係数に対して、予め設
定された量子化ステップよりも細かい量子化ステップ、
前記領域の色差信号の変換係数に対しては予め設定され
た量子化ステップを用いて前記量子化手段は量子化を行
うことを特徴とする請求項8に記載の画像符号化装置。
9. A quantization step that is finer than a preset quantization step for the conversion coefficient of the luminance signal of the area determined to be a black character area by the area determination means,
9. The image coding apparatus according to claim 8, wherein the quantization unit performs quantization on a conversion coefficient of the color difference signal of the region using a preset quantization step.
【請求項10】 前記領域判定手段により色文字の領域
と判定された領域の輝度信号の変換係数、色差信号の変
換係数に対して、前記量子化手段は予め設定された量子
化ステップよりも細かい量子化ステップを用いて量子化
を行うことを特徴とする請求項1に記載の画像符号化装
置。
10. The quantization unit is finer than a preset quantization step with respect to a conversion coefficient of a luminance signal and a conversion coefficient of a color difference signal in an area determined to be a color character area by the area determination unit. The image coding apparatus according to claim 1, wherein quantization is performed using a quantization step.
【請求項11】 前記領域判定手段が非文字領域と判定
した領域に対して、前記量子化手段は当該領域の輝度信
号の変換係数、色差信号の変換係数に対して、予め設定
された量子化ステップを用いて量子化を行うことを特徴
とする請求項1に記載の画像符号化装置。
11. For a region determined by the region determination unit to be a non-character region, the quantization unit sets a predetermined quantization for a conversion coefficient of a luminance signal and a conversion coefficient of a color difference signal of the area. The image coding apparatus according to claim 1, wherein quantization is performed using steps.
【請求項12】 前記領域は写真領域を含むことを特徴
とする請求項11に記載の画像符号化装置。
12. The image coding apparatus according to claim 11, wherein the area includes a photograph area.
【請求項13】 前記符号化データは、前記判定手段に
より判定された領域に関する情報を含むことを特徴とす
る請求項1に記載の画像符号化装置。
13. The image coding apparatus according to claim 1, wherein the coded data includes information regarding the area determined by the determination unit.
【請求項14】 更に、前記所定のサイズを変更可能な
サイズ変更手段を備えることを特徴とする請求項1乃至
13のいずれか1項に記載の画像符号化装置。
14. The image coding apparatus according to claim 1, further comprising size changing means capable of changing the predetermined size.
【請求項15】 画像を符号化する画像符号化方法であ
って、 画像における輝度信号と色差信号に対して周波数変換を
施し、当該輝度信号の変換係数と当該色差信号の変換係
数を生成する周波数変換工程と、 前記周波数変換工程による前記輝度信号の変換係数と前
記色差信号の変換係数とを用いて、前記画像における文
字領域、非文字領域を判定する領域判定工程と、 前記領域判定工程で判定された領域に応じて量子化ステ
ップを変化させ、前記周波数変換工程による前記輝度信
号の変換係数、前記色差信号の変換係数に対して量子化
を施す量子化工程と、 前記量子化工程による量子化結果に対してエントロピ符
号化を行うエントロピ符号化工程とを含み、 前記エントロピ符号化の結果に基づいて符号化データを
生成することを特徴とする画像符号化方法。
15. An image encoding method for encoding an image, wherein a frequency is applied to a luminance signal and a color difference signal in the image to generate a conversion coefficient of the luminance signal and a conversion coefficient of the color difference signal. A conversion step, an area determination step of determining a character area and a non-character area in the image using the conversion coefficient of the luminance signal and the conversion coefficient of the color difference signal in the frequency conversion step, and the determination in the area determination step A quantization step in which the quantization step is changed in accordance with the generated region, the quantization coefficient is applied to the conversion coefficient of the luminance signal and the conversion coefficient of the color difference signal by the frequency conversion step, and the quantization by the quantization step. And an entropy encoding step of performing entropy encoding on the result, wherein encoded data is generated based on the result of the entropy encoding. Image encoding method.
【請求項16】 更に、前記画像に対して色変換を行う
色変換工程を含み、当該色変換工程では、前記画像を輝
度信号と色差信号とに変換することを特徴とする請求項
15に記載の画像符号化方法。
16. The method according to claim 15, further comprising a color conversion step of performing color conversion on the image, wherein the color conversion step converts the image into a luminance signal and a color difference signal. Image coding method.
【請求項17】 更に、前記所定のサイズを変更可能な
サイズ変更工程を含むことを特徴とする請求項15又は
16に記載の画像符号化方法。
17. The image coding method according to claim 15, further comprising a size changing step capable of changing the predetermined size.
【請求項18】 請求項15乃至17のいずれか1項に
記載の画像符号化方法を実行するプログラム。
18. A program for executing the image coding method according to claim 15. Description:
【請求項19】 請求項18に記載のプログラムを格納
し、コンピュータが読み取り可能な記憶媒体。
19. A computer-readable storage medium which stores the program according to claim 18.
JP2001291855A 2001-09-25 2001-09-25 Image encoding apparatus, image encoding method, program, and storage medium Withdrawn JP2003101794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001291855A JP2003101794A (en) 2001-09-25 2001-09-25 Image encoding apparatus, image encoding method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001291855A JP2003101794A (en) 2001-09-25 2001-09-25 Image encoding apparatus, image encoding method, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2003101794A true JP2003101794A (en) 2003-04-04

Family

ID=19113929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001291855A Withdrawn JP2003101794A (en) 2001-09-25 2001-09-25 Image encoding apparatus, image encoding method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2003101794A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004030343A1 (en) * 2002-09-27 2004-04-08 Mitsubishi Denki Kabushiki Kaisha Image encoding device, image encoding method, and image processing device
JP2006246376A (en) * 2005-03-07 2006-09-14 Ricoh Co Ltd Image processing apparatus, image processing method, program, and information recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004030343A1 (en) * 2002-09-27 2004-04-08 Mitsubishi Denki Kabushiki Kaisha Image encoding device, image encoding method, and image processing device
US7333661B2 (en) 2002-09-27 2008-02-19 Mitsubishi Denki Kabushiki Kaisha Image coding device image coding method and image processing device
JP2006246376A (en) * 2005-03-07 2006-09-14 Ricoh Co Ltd Image processing apparatus, image processing method, program, and information recording medium

Similar Documents

Publication Publication Date Title
US7508988B2 (en) Method, program and apparatus for image processing capable of effectively performing image transmission, and a medium storing the program
US8115821B2 (en) Method and apparatus for setting a region of interest in image data
US7529420B2 (en) Method of displaying a thumbnail image, server computer, and client computer
US7349585B2 (en) Image processing system that internally transmits lowest-resolution image suitable for image processing
JP4208378B2 (en) Image processing apparatus and method, and recording medium
JP4045913B2 (en) Image coding apparatus, image coding method, and image processing apparatus
US20040212843A1 (en) Image processing method, image processing apparatus, electronic camera and computer-readable storage medium
JP2001143066A (en) Image processing apparatus, image processing system and storage device, image processing method, and storage medium
US7627185B2 (en) Hierarchically compressing and coding and storing image data
JP2006279397A (en) Image emphasizing apparatus
JP4086192B2 (en) Image processing apparatus, image processing method, program, and information recording medium
JP2003101794A (en) Image encoding apparatus, image encoding method, program, and storage medium
JP3885704B2 (en) Image encoding device
JP2004227406A (en) Image processing apparatus, program, and storage medium
JP2002247375A (en) Image encoding apparatus and method, program code, and storage medium
JP5560172B2 (en) Image processing apparatus, image processing method, and image processing program
JP4280508B2 (en) Misalignment correction apparatus, image processing apparatus, program, storage medium, and misalignment correction method
JP4055994B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2003204439A (en) Image encoding apparatus and image encoding method
JP3851572B2 (en) Computer-readable storage medium storing program for executing block area determination device and block area determination method
JP5244841B2 (en) Image processing apparatus, image processing method, and image processing program
JP4006276B2 (en) Image recognition method, image recognition apparatus, and computer program
JP4078136B2 (en) Image recognition method, image recognition apparatus, and computer program
JP2003101795A (en) Image processing apparatus, image processing method, program code, and storage medium
JP2000083256A (en) Image processing apparatus and method, and storage medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202