[go: up one dir, main page]

JP2000333016A - Image coder - Google Patents

Image coder

Info

Publication number
JP2000333016A
JP2000333016A JP14300099A JP14300099A JP2000333016A JP 2000333016 A JP2000333016 A JP 2000333016A JP 14300099 A JP14300099 A JP 14300099A JP 14300099 A JP14300099 A JP 14300099A JP 2000333016 A JP2000333016 A JP 2000333016A
Authority
JP
Japan
Prior art keywords
value
pixel
image
coding
image encoding
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.)
Pending
Application number
JP14300099A
Other languages
Japanese (ja)
Inventor
Hitoshi Horie
等 堀江
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems 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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP14300099A priority Critical patent/JP2000333016A/en
Publication of JP2000333016A publication Critical patent/JP2000333016A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To eliminate a background noise caused by a near lossless coding without provision of a specific configuration. SOLUTION: Alocal decoder 114 in a near lossless coder 100 decodes a quantized signal and gives the result to a clamp circuit 160 in order that a dynamic range of a decoded image is adjusted not excess of a dynamic range of an original image. A threshold (clamp start point) of this clamp circuit 160 is set to a value other than a maximum value(MAXVAL) and a minimum value (0) of an original image, and dispersion in a pixel value caused by a quantization error is absorbed. Concretely, in the case that a parameter to decide a permissible maximum width of a quantizer 130 is set to NEAR, the clamping threshold is set to 'MAXVAL-NEAR' and 'NEAR'.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、中間調画像を効率
よく圧縮・伸長する画像符号化装置に関し、特に、復元
画像の視覚的な劣化を小さく抑えて圧縮率を上げること
が可能なニアロスレス符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding apparatus for efficiently compressing / expanding a halftone image, and more particularly, to a near lossless code capable of increasing a compression ratio while suppressing visual deterioration of a restored image to a small extent. Device.

【0002】[0002]

【従来の技術】写真など隣接相関の高い「中間調画像」
を符号化するにはJPEG方式が適するが、急峻なエッジを
多く含む「文字画像」では画質劣化が目立つのでJPEGは
不向きである。一方、文字画像だけを考慮して2値化
(JBIG)方式を使用すると、中間調画像の中間調情報が
損なわれて、画質の劣化が生じる。
2. Description of the Related Art A "halftone image" having a high adjacent correlation such as a photograph
The JPEG method is suitable for encoding, but JPEG is not suitable for a “character image” including many sharp edges because the image quality deteriorates conspicuously. On the other hand, when the binarization (JBIG) method is used in consideration of only the character image, halftone information of the halftone image is lost, and the image quality is deteriorated.

【0003】このため、「文字画像や混在画像(文字画
像と中間調画像とが混在している画像)」に対して高い
復元画質を要求する装置では、ロスレス符号化や視覚的
な劣化を小さく抑えたニアロスレス符号化が適してい
る。
[0003] For this reason, in an apparatus that demands high restoration image quality for "character images and mixed images (images in which character images and halftone images are mixed)", lossless coding and visual deterioration are reduced. Suppressed near lossless coding is suitable.

【0004】ニアロスレス符号化とは、符号化処理に際
して量子化を伴うために誤差の発生は避けられないもの
の(ロッシー符号化)、その誤差を、人の視覚にほとん
ど影響を与えないほど小さくすることができる符号化方
式であり、例えば、ISO(国際標準化機構)のJPEG-LS規
格の圧縮符号化が該当する。
[0004] Near-lossless coding means that although an error is unavoidable due to the quantization involved in the coding process (lossy coding), the error is reduced so as to hardly affect human vision. For example, compression coding according to the ISO (International Organization for Standardization) JPEG-LS standard is applicable.

【0005】このISOの規格のニアロスレス符号化は、J
PEGのようにDCT変換をせずに、画像の画素値の情報をそ
のまま保存して圧縮しようとするものであり、基本的に
は、予測誤差を量子化した後、エントロピー符号化を行
なうものである。ニアロスレス符号化の場合、中間調情
報をそのまま保存できるという利点がある。
[0005] Near-lossless encoding of this ISO standard is based on J
Unlike PEG, it is intended to store and compress the pixel value information of an image as it is, without performing DCT transformation, and basically to quantize the prediction error and then perform entropy coding. is there. In the case of near-lossless coding, there is an advantage that halftone information can be stored as it is.

【0006】例えば、コピー機能を重視したFAX複合
機では、スキャナで読み込んだ中間調画像を、ニアロス
レス圧縮して一旦メモリに蓄積し、プリントするときは
その圧縮データを復元し、プリンタに適するように解像
度変換や誤差拡散処理など、必要な画像処理を施して出
力する。このような方式によると、2値化した画像を処
理するのに比べて、中間調情報が保存されているため高
い画質の処理画像を得るのが容易である、という利点が
ある。
For example, in a FAX multifunction machine that emphasizes a copy function, a halftone image read by a scanner is near-losslessly compressed and temporarily stored in a memory, and when printing, the compressed data is restored so as to be suitable for a printer. Necessary image processing such as resolution conversion and error diffusion processing is performed and output. According to such a method, there is an advantage that it is easy to obtain a processed image of high image quality because halftone information is stored, as compared with processing a binarized image.

【0007】図6は、ISO規格のニアロスレス符号化装
置(予測符号化器)の要部構成を示すブロック図であ
る。以下、この装置の特徴的な動作について簡単に説明
する。
FIG. 6 is a block diagram showing a main configuration of a near-lossless encoder (prediction encoder) of the ISO standard. Hereinafter, the characteristic operation of this device will be briefly described.

【0008】画像データはラインメモリ210に読み込ま
れる。ラインメモリ210は符号化ラインと参照ライン、
2本のラインメモリから構成されている。予測器220
は、符号化画素の周辺画素の状態から符号化画素の値を
予測する。
[0008] The image data is read into the line memory 210. The line memory 210 includes a coding line and a reference line,
It is composed of two line memories. Predictor 220
Predicts the value of a coded pixel from the state of neighboring pixels of the coded pixel.

【0009】図7は、符号化画素と周辺画素の配置例を
示す。図中、「Ix」は符号化画素のレベル(画素値)を
表すものとし、ここでは「0〜255」の範囲に値をとるも
のとする。「Ra」,「Rb」,「Rc」,「Rd」は同様にし
て4つの参照画素のレベルを表している。
FIG. 7 shows an example of the arrangement of encoded pixels and peripheral pixels. In the figure, “Ix” represents the level (pixel value) of the coded pixel, and here, it takes a value in the range of “0 to 255”. “Ra”, “Rb”, “Rc”, and “Rd” similarly represent the levels of four reference pixels.

【0010】予測器220には4つの参照画素が入力さ
れ、それをもとに「Ix」の値を予測する。予測値を「P
x」とする。
[0010] The four reference pixels are input to the predictor 220, and the value of "Ix" is predicted based on the four reference pixels. Forecasted value is "P
x ”.

【0011】減算器221では予測誤差信号Errval = Ix
Pxを計算する。ロスレス符号化の場合には、Errvalを量
子化せずそのまま符号化するが、ニアロスレス符号化の
場合は、圧縮率が大きくとれるようにこの値を量子化器
230で量子化して符号化する。
In the subtractor 221, the prediction error signal Errval = Ix
Calculate Px. In the case of lossless coding, Errval is encoded without quantization, but in the case of near lossless coding, this value is quantized so that the compression ratio can be increased.
Quantize at 230 and encode.

【0012】ここで注目するべき点は、量子化に際し、
その許容誤差の範囲の最大幅を、制御パラメータ(NEA
R)により規定することができるようになっていること
である。すなわち、「NEAR」は量子化の度合いを表すパ
ラメータであり、量子化後の値は、「量子化前の値を基
準として±NEARの範囲」に入ることが保障されることに
なる。
The point to be noted here is that, when quantizing,
The maximum width of the allowable error range is determined by the control parameter (NEA
R). That is, "NEAR" is a parameter indicating the degree of quantization, and the value after quantization is guaranteed to be in the "range of ± NEAR based on the value before quantization".

【0013】C言語の表記では量子化は次のように表さ
れる。 If(Errval > 0) Errval = ( Errval + NEAR)/(2*NEAR + 1) else Errval = −(NEAR Errval)/(2*NEAR +1) Errvalは整数なので、例えば、Errval = 15、 NEAR = 3
ならば量子化後のErrvalは端数が切り捨てられて「2」
となる。この値がエントロピ符号器240でコード化され
る。
In the C language notation, quantization is expressed as follows. If (Errval> 0) Errval = (Errval + NEAR) / (2 * NEAR + 1) else Errval = − (NEAR Errval) / (2 * NEAR +1) Since Errval is an integer, for example, Errval = 15, NEAR = Three
If so, Errval after quantization is truncated to "2"
Becomes This value is encoded by the entropy encoder 240.

【0014】一方、予測符号化に際しては、復号とのマ
ッチングをとるため、復号時に使用する参照画素と同じ
値の参照画素を使用して符号化を行なう必要がある。し
たがって、図6に示すように、符号化装置は局部復号器
202を具備しており、量子化器230の出力を復号し、続い
て原画像のダイナミックレンジを超えないように、原画
像の画素値の最小値「0」と最大値「MAXVAL」をしきい
値(クランプ開始点)として、局部復号器202の出力を
原画像の画素値の最小値「0」と最大値「MAXVAL」にク
ランプし、参照画素を復元するようになっている。
On the other hand, at the time of predictive encoding, it is necessary to perform encoding using a reference pixel having the same value as a reference pixel used at the time of decoding in order to achieve matching with decoding. Therefore, as shown in FIG.
202, the output of the quantizer 230 is decoded, and then the minimum value “0” and the maximum value “MAXVAL” of the pixel value of the original image are set so as not to exceed the dynamic range of the original image. As a value (clamp start point), the output of the local decoder 202 is clamped to the minimum value “0” and the maximum value “MAXVAL” of the pixel value of the original image to restore the reference pixel.

【0015】すなわち、量子化器230の出力をErrvalと
すると、これを逆量子化器250によって逆量子化するとE
rrval = Errval*(2*NEAR + 1) となる。上記の数値例で
は、復号器から出力されるErrvalは符号化した値「2」
なので、逆量子化後Errvalは「14」となる。
That is, assuming that the output of the quantizer 230 is Errval, when this is inversely quantized by the inverse quantizer 250,
rrval = Errval * (2 * NEAR + 1). In the above numerical example, Errval output from the decoder is the encoded value "2"
Therefore, after inverse quantization, Errval becomes “14”.

【0016】この逆量子化した値に、予測値「Px」を加
算して復号がなされる。つまり、加算後の値は Rx= Px
+ Errval*(2*NEAR + 1) となる。この加算は、図6の
回路の加算器251により実行される。
The predicted value "Px" is added to the inversely quantized value for decoding. In other words, the value after addition is Rx = Px
+ Errval * (2 * NEAR + 1). This addition is performed by the adder 251 of the circuit of FIG.

【0017】このようにして得られた「Rx」は、原画素
「Ix」と比べると、±NEARの範囲で変動する可能性があ
る。したがって、画素値の最大値や最小値に近い付近で
±NEARの誤差が生じると、「Rx」は原画像の最大値を上
回ったり,最小値を下回ったりする場合がある。すなわ
ち、復元画像の画素値のダイナミックレンジが原画像の
ダイナミックレンジを超えてしまう場合も想定される。
The “Rx” obtained in this manner may vary in the range of ± NEAR as compared with the original pixel “Ix”. Therefore, if an error of ± NEAR occurs near the maximum value or the minimum value of the pixel value, “Rx” may exceed the maximum value of the original image or fall below the minimum value. That is, the case where the dynamic range of the pixel value of the restored image exceeds the dynamic range of the original image is also assumed.

【0018】そこで、これを防止するために、クランプ
回路260が設けられている。原画像の画素値のダイナミ
ックレンジを「0〜MAXVAL」とすると、クランプ回路260
は、復元画素の信号「Rx」を、「0」と「MAXVAL」をし
きい値としてクランプする。つまり、「Rx」が「0」以
下の値をとるときは「0」にクランプし、「MAXVAL」以
上の値をとるときは「MAXVAL」にクランプする。すなわ
ち、C言語の標記では以下のようになる。 本実施例ではMAXVAL = 255 とする。クランプ回路260か
ら出力される「Rx」は、図7に示されるように、順次、
ラインメモリ210に書き込まれ、これが次の画素を符号
化するための参照画素となる。
In order to prevent this, a clamp circuit 260 is provided. If the dynamic range of the pixel value of the original image is “0 to MAXVAL”, the clamp circuit 260
Clamps the restored pixel signal “Rx” with “0” and “MAXVAL” as thresholds. That is, when "Rx" takes a value equal to or less than "0", it is clamped to "0", and when it takes a value equal to or more than "MAXVAL", it is clamped to "MAXVAL". That is, in the C language notation: In this embodiment, MAXVAL = 255. “Rx” output from the clamp circuit 260 is sequentially as shown in FIG.
The data is written to the line memory 210, and this becomes a reference pixel for encoding the next pixel.

【0019】[0019]

【発明が解決しようとする課題】上述のニアロスレス符
号化技術では、原画像のレベル「0」の画素は、「0〜NE
AR」の範囲に復元される。また、MAXVALを持つ画素は
「MAXVAL−NEAR〜MAXVAL」の範囲に復元される。
In the near-lossless coding technique described above, the pixels of level "0" of the original image are "0-NE".
AR "range. Pixels having MAXVAL are restored to the range of “MAXVAL-NEAR to MAXVAL”.

【0020】例えば、1画素を8ビットで表すと、通常
は黒画素がレベル「0」、白画素がレベル「255」であ
る。NEARを「3」とすると、黒画素は「0〜3」、白画素
は「252〜255」となり、背景色が僅かにグレイとなる。
For example, when one pixel is represented by 8 bits, a black pixel normally has a level “0” and a white pixel has a level “255”. Assuming that NEAR is "3", black pixels are "0 to 3", white pixels are "252 to 255", and the background color is slightly gray.

【0021】仮に、この復元信号に対して、2値プリン
タに出力するべく誤差拡散処理(ハーフトーン処理)を
施すと、特に、背景色が白の場合に問題が生じる。すな
わち、「252」のレベルに相当した黒ドットが背景(白
いバックグランド)に現れ、黒い点が混じった背景とな
ってしまい、画質が劣化する。なお、フォアグランドが
黒の場合に、黒がやや薄くなるようなことは視覚的にほ
とんど問題とならない場合が多い。
If this restored signal is subjected to error diffusion processing (halftone processing) so as to be output to a binary printer, a problem arises particularly when the background color is white. That is, a black dot corresponding to the level of “252” appears in the background (white background), and the background becomes a background in which black dots are mixed. It should be noted that when the foreground is black, there is often little visual problem that the black becomes slightly lighter.

【0022】上述の問題は、ガンマ補正処理等を行なう
ことで解消することができるが、この場合には、特別の
補正回路が必要となり、処理時間の増大,回路規模の増
大といった新たな問題が生じる。
The above problem can be solved by performing a gamma correction process or the like. In this case, however, a special correction circuit is required, and new problems such as an increase in processing time and an increase in circuit scale are required. Occurs.

【0023】本発明はこのような問題点に着目してなさ
れたものであり、特別な構成を用いることなく、ニアロ
スレス符号化の際、量子化誤差に起因して生じる背景ノ
イズを除去することを目的とする。
The present invention has been made in view of such a problem, and it is an object of the present invention to eliminate background noise caused by a quantization error in near lossless encoding without using a special configuration. Aim.

【0024】[0024]

【課題を解決するための手段】本発明では、クランプ回
路のしきい値(クランプ開始点)を変更するという極め
て簡単な方法によって、量子化誤差に起因して、原画素
の上限値あるいは下限値付近にドットが出現することを
防止する。
According to the present invention, the upper limit value or lower limit value of the original pixel is reduced by a quantization error due to a very simple method of changing the threshold value (clamp start point) of the clamp circuit. Prevents dots from appearing in the vicinity.

【0025】例えば、クランプのしきい値を「0」,「M
AXVAL」から、「NEAR」,「MAXVAL-NEAR」に変更し、
「0〜NEAR」のレベルはすべて「0」とし、「MAXVAL-NEA
R〜NEAR」のレベルはすべて「NEAR」とすることによっ
て、量子化誤差に起因して生じる画素値のばらつきを吸
収する。したがって、誤差拡散等の画像処理を行なって
も、背景色(白)に黒い点が混じるような事態が生じな
い。
For example, if the threshold values of the clamp are "0" and "M
AXVAL "to" NEAR "," MAXVAL-NEAR "
All levels from "0 to NEAR" are set to "0" and "MAXVAL-NEA"
By setting all the levels of “R to NEAR” to “NEAR”, variations in pixel values caused by quantization errors are absorbed. Therefore, even when image processing such as error diffusion is performed, a situation where black dots are mixed in the background color (white) does not occur.

【0026】[0026]

【発明の実施の形態】本発明の画像符号化装置の第1の
態様では、符号化対象の画素の画素値と、以前に符号化
され、局部復号器で復元された画素に基づいて生成され
る予測値との誤差を量子化した後にエントロピー符号化
を行なう符号化手段と、前記局部復号器の出力のダイナ
ミックレンジが原画像の画素値のダイナミックレンジを
超えないように調整する働きをするクランプ手段と、を
有し、前記クランプ手段におけるクランプ開始点を調整
することによって、前記局部復号器により復号されたバ
ックグランドまたはフォアグランドの値が原画像のバッ
クグランドまたはフォアグランドの値と同一となるよう
に制御する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In a first embodiment of the image coding apparatus according to the present invention, a picture is generated based on a pixel value of a pixel to be coded and a pixel previously coded and restored by a local decoder. Encoding means for performing an entropy encoding after quantizing an error with a predicted value, and a clamp functioning to adjust a dynamic range of an output of the local decoder so as not to exceed a dynamic range of pixel values of an original image. Means for adjusting the clamping start point in the clamping means so that the background or foreground value decoded by the local decoder is the same as the background or foreground value of the original image. Control.

【0027】クランプの開始点を調整することによっ
て、原画素の値の上限.下限付近に不感帯を形成して、
画素値のばらつきを吸収する。すなわち、復元画素の信
号値が、最大画素値よりやや小さいような場合でも、強
制的に最大画素値に統一してしまうことでばらつきがな
くなる。これにより、復元画像のバックグランド値(最
大画素値)やフォアグランド値(最小画素値)が原画像
と一致する。したがって、復号の後に誤差拡散処理等を
行なっても、背景を白色とすることができる。
By adjusting the starting point of the clamp, the upper limit of the value of the original pixel. Form a dead zone near the lower limit,
Absorbs pixel value variations. That is, even when the signal value of the restored pixel is slightly smaller than the maximum pixel value, the variation is eliminated by forcibly unifying the signal value to the maximum pixel value. As a result, the background value (maximum pixel value) and the foreground value (minimum pixel value) of the restored image match the original image. Therefore, even if error diffusion processing or the like is performed after decoding, the background can be white.

【0028】また、本発明の第2の態様では、符号化対
象の画素の値を参照画素の値から予測して符号化する予
測符号化装置において、予測誤差を量子化する量子化器
と、この量子化器の出力を符号化するエントロピー符号
化器と、前記量子化器により量子化された前記予測誤差
および予測値から復号化を行なう局部復号器と、この局
部復号器の出力値が所定のしきい値に達すると、前記出
力値を原画素の画素値の最大値または最小値にクランプ
するクランプ手段と、を有し、前記クランプ手段におけ
る前記所定のしきい値は、前記原画像の画素値の最大値
または最小値以外の値としたものである。
According to a second aspect of the present invention, in a predictive coding apparatus for predicting and coding the value of a pixel to be coded from the value of a reference pixel, a quantizer for quantizing a prediction error; An entropy encoder for encoding the output of the quantizer, a local decoder for decoding from the prediction error and the prediction value quantized by the quantizer, and an output value of the local decoder for a predetermined value. When the output value reaches the threshold value, the output value is clamped to the maximum value or the minimum value of the pixel value of the original pixel. The pixel value is a value other than the maximum value or the minimum value.

【0029】このような構成によれば、ローカル復号に
おけるクランプ処理を利用して画素値のばらつきを吸収
するため、特別な回路を用いることなく、バックグラン
ドノイズを除去することが可能となる。
According to such a configuration, variations in pixel values are absorbed by using the clamping process in local decoding, so that background noise can be removed without using a special circuit.

【0030】また、本発明の第3の態様では、前記量子
化器は、量子化誤差のレベルを、制御パラメータの値に
よって制御できるようになっている。これにより、量子
化に伴う誤差を所与の範囲内に抑えて、いわゆるニアロ
スレスの符号化を実現することができる。
In a third aspect of the present invention, the quantizer can control the level of the quantization error by the value of a control parameter. As a result, so-called near-lossless encoding can be realized while suppressing an error due to quantization within a given range.

【0031】また、本発明の第4の態様では、前記制御
パラメータは、許容される量子化誤差の最大幅を規定す
る値であり、かつ、前記クランプ手段における前記所定
の値を、原画像の画素値の最大値から前記許容される量
子化誤差の最大幅の値を減算した値、あるいは原画像の
画素値の最小値に前記許容される量子化誤差の最大幅の
値を加算した値とする。
In the fourth aspect of the present invention, the control parameter is a value defining a maximum width of an allowable quantization error, and the predetermined value in the clamping means is set to a value of an original image. A value obtained by subtracting the value of the maximum width of the allowable quantization error from the maximum value of the pixel value, or a value obtained by adding the value of the maximum width of the allowable quantization error to the minimum value of the pixel value of the original image. I do.

【0032】これにより、原画像の画素値の上限値・下
限値の近辺(許容される量子化誤差の範囲内)では、復
元画像の画素値は、原画像の画素値の上限値,下限値に
クランプされ、これにより、原画像と復元画像のフォア
グランド値,バックグランド値が一致し、画質劣化が生
じない。
Thus, near the upper limit and lower limit of the pixel value of the original image (within the range of the allowable quantization error), the pixel value of the restored image becomes the upper limit and lower limit of the pixel value of the original image. Thus, the foreground value and the background value of the original image and the restored image match, and the image quality does not deteriorate.

【0033】また、本発明の第5の態様では、ニアロス
レス画像符号化装置に本発明を適用するものであり、中
間調情報をそのまま保存でき、圧縮率が高く、かつ復元
画像の画質劣化を防止できる符号化が実現される。
In a fifth aspect of the present invention, the present invention is applied to a near-lossless image coding apparatus, which can store halftone information as it is, has a high compression ratio, and prevents image quality deterioration of a restored image. A possible encoding is realized.

【0034】また、本発明の第6の態様にかかる画像復
号化装置は、符号化とは逆の処理を行なって復号化し、
復号化された信号を符号化に用いたクランプ条件と同一
の条件でクランプして復号信号を得る。
Also, the image decoding apparatus according to the sixth aspect of the present invention decodes by performing a process reverse to the encoding.
A decoded signal is obtained by clamping the decoded signal under the same conditions as the clamping conditions used for encoding.

【0035】符号化の場合と同じクランプ条件を採用す
ることにより、符号化に用いた参照画素と同じ参照画素
を用いた復号化を行なうことができる。
By employing the same clamp conditions as in the case of encoding, decoding can be performed using the same reference pixels as those used for encoding.

【0036】また、本発明の第7の態様にかかる通信装
置は、画像符号化装置と、画像復号化装置と、符号化あ
るいは復号化された信号を記憶するメモリと、所定の画
像処理を行なう画像処理装置と、を有する。
A communication device according to a seventh aspect of the present invention performs an image encoding device, an image decoding device, a memory for storing encoded or decoded signals, and performs predetermined image processing. And an image processing device.

【0037】この通信装置によれば、中間調画像をその
情報を損なうことなく高効率に圧縮してメモリに蓄積
し、プリント時等には、メモリに蓄積されている符号デ
ータを復号して、プリンタに適するように解像度変換や
誤差拡散処理を実行し、高品質の復元画像を得る、とい
った処理が可能である。
According to this communication device, the halftone image is compressed with high efficiency without losing the information and stored in the memory, and at the time of printing or the like, the code data stored in the memory is decoded and Processing such as executing resolution conversion or error diffusion processing so as to be suitable for a printer to obtain a high-quality restored image is possible.

【0038】また、本発明の第8の態様にかかる画像符
号化方法では、符号化対象の画素の画素値と、以前に符
号化され、局部復号器で復元された画素に基づいて生成
される予測値との誤差を量子化した後にエントロピー符
号化を行なう画像符号化方法であって、前記局部復号器
の出力信号のダイナミックレンジが原画像の画素値のダ
イナミックレンジを超えないように前記局部復号器の出
力信号をクランプするに際し、クランプ開始点を、原画
像の画素値の最大値または最小値以外の値とする。
In the image coding method according to the eighth aspect of the present invention, the image is generated based on the pixel value of the pixel to be coded and the pixel previously coded and restored by the local decoder. An image coding method for performing entropy coding after quantizing an error from a prediction value, wherein the local decoding is performed such that a dynamic range of an output signal of the local decoder does not exceed a dynamic range of pixel values of an original image. When clamping the output signal of the device, the clamp start point is set to a value other than the maximum or minimum pixel value of the original image.

【0039】この方法によれば、クランプ開始点(クラ
ンプのしきい値)を変更するだけで、バックグランドノ
イズを除去することができる。
According to this method, the background noise can be removed only by changing the clamp start point (clamp threshold).

【0040】また、本発明の第9の態様にかかる画像符
号化方法では、前記量子化に際し、許容される量子化誤
差の最大幅を制御パラメータによって規定すると共に、
前記クランプ開始点を、原画像の画素値の最大値から前
記許容される量子化誤差の最大幅の値を減算した値、あ
るいは原画像の画素値の最小値に前記許容される量子化
誤差の最大幅の値を加算した値とする。
Further, in the image coding method according to the ninth aspect of the present invention, the maximum width of an allowable quantization error is specified by a control parameter at the time of the quantization.
The clamp start point is defined as a value obtained by subtracting the maximum value of the allowable quantization error from the maximum value of the pixel value of the original image, or the minimum value of the pixel value of the original image. The value of the maximum width is added.

【0041】クランプのしきい値を変更し、原画像の画
素値の上限値・下限値付近(許容される量子化誤差の範
囲内)で不感帯を形成して、画素値のばらつきを吸収す
るものである。
A method in which the threshold value of the clamp is changed to form a dead zone near the upper limit value and the lower limit value of the pixel value of the original image (within an allowable quantization error range) to absorb the variation in the pixel value. It is.

【0042】以下、本発明の実施の形態について、図面
を参照してより具体的に説明する。
Hereinafter, embodiments of the present invention will be described more specifically with reference to the drawings.

【0043】図1は、本発明を適用した通信装置(ファ
クシミリ装置等)の要部構成を示すブロック図である。
FIG. 1 is a block diagram showing a main configuration of a communication apparatus (such as a facsimile apparatus) to which the present invention is applied.

【0044】図示されるように、この通信装置は、予測
符号器100と、符号データを一時的に蓄積するメモリ170
と、復号器180と、解像度変換や誤差拡散処理等を行な
う画像処理回路190と、プリンタ192と、を有している。
As shown in the figure, the communication apparatus comprises a predictive encoder 100 and a memory 170 for temporarily storing code data.
, A decoder 180, an image processing circuit 190 for performing resolution conversion, error diffusion processing, and the like, and a printer 192.

【0045】ニアロスレス符号器(予測符号器)100の
基本的な構成は、図6に示される従来例と同様である。
The basic structure of the near lossless encoder (prediction encoder) 100 is the same as that of the conventional example shown in FIG.

【0046】すなわち、局部復号器(逆量子化器150と
加算器151とを具備する)114と、ラインメモリ116と、
予測器120と、減算器121と、誤差の最大幅を規定可能な
量子化器130と、算術符号やゴローム符号等のエントロ
ピー符号器(ロスレス符号器)140と、クランプ回路160
と、を有している。
That is, a local decoder (including an inverse quantizer 150 and an adder 151) 114, a line memory 116,
A predictor 120, a subtractor 121, a quantizer 130 capable of defining a maximum width of an error, an entropy encoder (lossless encoder) 140 such as an arithmetic code or a Golomb code, and a clamp circuit 160
And

【0047】ここで、注目するべきは、クランプ回路16
0におけるしきい値(クランプを開始する値)が、図6
の「0」と「MAXVAL」ではなく、「NEAR」と「MAXVAL-NE
AR」に変更されていることである。
It should be noted that the clamp circuit 16
The threshold value at 0 (the value at which clamping starts) is shown in FIG.
"NEAR" and "MAXVAL-NE" instead of "0" and "MAXVAL"
AR ”.

【0048】なお、先に説明したように、「NEAR」は、
量子化器130における量子化の度合いを規定する制御パ
ラメータであり、NEARを適宜、設定することによって、
量子化後の値は、「量子化前の値を基準として±NEARの
範囲」に入ることが保障されることになる。
As described above, "NEAR" is
A control parameter that defines the degree of quantization in the quantizer 130, and by appropriately setting NEAR,
The value after quantization is guaranteed to fall within the range of ± NEAR based on the value before quantization.

【0049】図1のようにクランプ回路160のしきい値
を変更すると、このクランプ回路160の入力と出力は、
図3(C)に示すような関係となり、原画像の画素値の
ダイナミックレンジの範囲内において、出力が入力に対
して変化しないフラットな特性(不感帯)が形成され
る。
When the threshold value of the clamp circuit 160 is changed as shown in FIG. 1, the input and output of the clamp circuit 160 become
The relationship shown in FIG. 3C is established, and a flat characteristic (dead zone) in which the output does not change with respect to the input is formed within the dynamic range of the pixel value of the original image.

【0050】つまり、最大画素値「255」の近辺(255〜
NEAR)に、フラットな特性が形成され、また、最小画素
値「0」の近辺(0〜NEAR)においてフラットな特性が形
成される。このフラットな特性により、量子化誤差に起
因して復元画像に生じる、不要な画素分布を除去するこ
とができる。
That is, the vicinity of the maximum pixel value “255” (255 to
NEAR), a flat characteristic is formed, and a flat characteristic is formed around the minimum pixel value “0” (0 to NEAR). With this flat characteristic, it is possible to remove an unnecessary pixel distribution that occurs in a restored image due to a quantization error.

【0051】すなわち、局部復号器によって画像を復号
すると、図3(b)に示すように、復元画像の最大値,
最小値の近辺に、本来は存在しない画素分布(図中、矢
印で示される)が現れる。この状態で、誤差拡散処理等
を行なうと、背景の白に黒がまじって画質が劣化するそ
こで、クランプ回路のしきい値を変更して図3(c)の
ような特性を実現することにより、「255〜NEAR」の値
をもつ画素はすべて「255」の画素に一体化され、「0〜
NEAR」の値をもつ画素はすべて「0」の画素に一体化さ
れる。この結果、復元画像の画素値の分布は、図3
(a)に示すように原画像と一致し、したがって、その
後に画像処理を行なっても画像の劣化が生じない。
That is, when an image is decoded by the local decoder, as shown in FIG.
A pixel distribution that does not exist originally (indicated by an arrow in the drawing) appears near the minimum value. If error diffusion processing or the like is performed in this state, the image quality is degraded by black being mixed with white on the background. Therefore, by changing the threshold value of the clamp circuit, a characteristic as shown in FIG. , All pixels having a value of “255 to NEAR” are integrated into a pixel of “255”, and “0 to
All pixels having a value of "NEAR" are integrated into a pixel of "0". As a result, the distribution of the pixel values of the restored image is shown in FIG.
As shown in (a), the image coincides with the original image. Therefore, even if image processing is performed thereafter, the image does not deteriorate.

【0052】以下、図1の予測符号器100の動作を具体
的に説明する。
Hereinafter, the operation of the prediction encoder 100 shown in FIG. 1 will be specifically described.

【0053】まず、符号化すべき画像データが、ライン
メモリ116に読み込まれる。ラインメモリ116は、従来例
(図7)と同様に、符号化ラインと参照ライン、2本の
ラインメモリから構成されている。
First, image data to be encoded is read into the line memory 116. The line memory 116 includes an encoding line, a reference line, and two line memories, as in the conventional example (FIG. 7).

【0054】予測器120には4つの参照画素が入力さ
れ、それをもとに、Ix(図7)の値を予測する。その予
測値をPxとする。
The four reference pixels are input to the predictor 120, and the value of Ix (FIG. 7) is predicted based on the four reference pixels. The predicted value is set to Px.

【0055】減算器121では、予測誤差信号Errval = Ix
Pxを計算する。次にその値を量子化器130で量子化す
る。先に説明したように、量子化の度合いを表すパラメ
ータ「NEAR」の値により、最大許容誤差を規定すること
ができる。
In the subtractor 121, the prediction error signal Errval = Ix
Calculate Px. Next, the value is quantized by the quantizer 130. As described above, the maximum allowable error can be defined by the value of the parameter “NEAR” representing the degree of quantization.

【0056】量子化処理をC言語で示すと、以下のよう
になる。 If(Errval > 0) Errval = ( Errval + NEAR)/(2*NEAR + 1) else Errval = −(NEAR Errval)/(2*NEAR +1) そして、量子化器130の出力値がエントロピー符号器140
で符号化される。エントロピー符号器140は、例えば、
算術符号器やGolomb符号器で実現できる。
The quantization processing is expressed in C language as follows. If (Errval> 0) Errval = (Errval + NEAR) / (2 * NEAR + 1) else Errval = − (NEAR Errval) / (2 * NEAR +1) And the output value of quantizer 130 is the entropy encoder 140
. The entropy encoder 140, for example,
It can be realized by an arithmetic coder or a Golomb coder.

【0057】局部復号器114では、後に復号化処理が行
なわれる際に復元される画素値Rxを生成する。従って、
Rx = Px + Errval*(2*NEAR + 1)である。
The local decoder 114 generates a pixel value Rx which is restored when a decoding process is performed later. Therefore,
Rx = Px + Errval * (2 * NEAR + 1).

【0058】この「Rx」はクランプ回路160に入力さ
れ、クランプ処理が施される。クランプ回路160の動作
をC言語により示すと、次のようになる。 このようなクランプ処理をすることによって、レベル
「0〜NEAR」までの画素はレベル「0」にクランプされ、
「MAXVALNEAR〜MAXVAL」までの値を持つ画素は、「MAXV
AL」にクランプされる。従って、この処理によって従来
例で発生した淡い背景色を除くことができる。クランプ
処理を経たRxは順次、ラインメモリ116に書き込まれ、
これが次の画素を符号化するための参照画素となる。
This “Rx” is input to the clamp circuit 160, where a clamp process is performed. The operation of the clamp circuit 160 is described below in C language. By performing such a clamping process, pixels from level “0 to NEAR” are clamped to level “0”,
Pixels with values from "MAXVALNEAR to MAXVAL"
AL ”. Therefore, this processing can remove the pale background color generated in the conventional example. Rx after the clamping process is sequentially written to the line memory 116,
This becomes a reference pixel for encoding the next pixel.

【0059】図1の通信装置では、符号化されたデータ
は、メモリ170に一旦、蓄積される。そして、プリント
時に、蓄積データが読み出され、復号器180で復号化処
理が施される。
In the communication device shown in FIG. 1, encoded data is temporarily stored in memory 170. Then, at the time of printing, the stored data is read out, and the decoder 180 performs a decoding process.

【0060】復号器180の構成例が図2に示される。図
示されるように、復号器180は、符号器100とは逆の順番
で処理を行なうものであり、エントロピー復号器181
と、逆量子化器182と、予測器183と、加算器184と、ク
ランプ回路185と、ラインメモリ186と、を有している。
FIG. 2 shows a configuration example of the decoder 180. As shown, the decoder 180 performs processing in the reverse order of the encoder 100, and the entropy decoder 181
, An inverse quantizer 182, a predictor 183, an adder 184, a clamp circuit 185, and a line memory 186.

【0061】以下、復号化動作について説明する。Hereinafter, the decoding operation will be described.

【0062】エントロピー符号器140とエントロピー復
号器181の間で情報の欠落はないので、エントロピ復号
器181からは、符号化したErrvalが得られる。それを逆
量子化器182によって逆量子化すると従来例と同様に、E
rrval = Errval*(2*NEAR + 1)が得られる。
Since there is no loss of information between the entropy encoder 140 and the entropy decoder 181, an encoded Errval is obtained from the entropy decoder 181. When it is inversely quantized by the inverse quantizer 182, as in the conventional example, E
rrval = Errval * (2 * NEAR + 1) is obtained.

【0063】予測器183は、符号器内部の予測器120と同
一の構成である。予測値をPxとすると、加算後の値は
Rx= Px + Errval*(2*NEAR + 1) となる。クランプ回
路185は、符号化器における局部復号器と同様に、以下
のような処理を行なう。 こうすることによって、レベル「0〜NEAR」までの画素
はレベル「0」にクランプされ、「MAXVALNEAR〜MAXVA
L」までの値を持つ画素は、「MAXVAL」にクランプされ
る。従って、この処理によって従来例で発生した淡い背
景色を除くことができる。「Rx」を順次、ラインメモリ
186に書いて1ラインの復号化が終了する。
The predictor 183 has the same configuration as the predictor 120 inside the encoder. Assuming that the predicted value is Px, the value after addition is
Rx = Px + Errval * (2 * NEAR + 1). The clamp circuit 185 performs the following processing as in the case of the local decoder in the encoder. By doing so, the pixels from level “0 to NEAR” are clamped to level “0” and “MAXVALNEAR to MAXVA”
Pixels with values up to "L" are clamped to "MAXVAL". Therefore, this processing can remove the pale background color generated in the conventional example. "Rx" sequentially, line memory
Writing to 186 completes the decoding of one line.

【0064】図1の構成をもつファクシミリ装置のハー
ドウエア構成の一例を図4に示す。
FIG. 4 shows an example of the hardware configuration of the facsimile apparatus having the configuration shown in FIG.

【0065】図示されるように、ファクシミリ装置101
は、各部の動作を統括的に制御するホストプロセッサ10
2と、ニアロスレス符号化/復号化回路103と、解像度変
換や誤差拡散処理等を行う画像処理回路104と、QM符
号/復号化回路(算術符号・復号化回路)105と、画像
ラインメモリ106と、符号メモリ107と、通信回線113を
介して相手先の通信装置との信号の授受を行なうモデム
等の通信インタフェース回路108と、スキャナ等の画像
入力装置111と、プリンタ等の画像記録/表示装置112
と、を具備している。なお、参照符号109,110は内部バ
スである。
As shown, the facsimile apparatus 101
Is a host processor 10 that controls the operation of each part
2, a near-lossless encoding / decoding circuit 103, an image processing circuit 104 for performing resolution conversion and error diffusion processing, a QM encoding / decoding circuit (arithmetic encoding / decoding circuit) 105, and an image line memory 106. , A code memory 107, a communication interface circuit 108 such as a modem for transmitting and receiving signals to and from a destination communication device via a communication line 113, an image input device 111 such as a scanner, and an image recording / display device such as a printer. 112
And Reference numerals 109 and 110 are internal buses.

【0066】本実施の形態では、ニアロスレス符号化/
復号化回路103におけるクランプ回路のしきい値を変更
するだけでよく、ガンマ補正回路等の特別な回路は一
切、不要である。したがって、装置の構成が複雑化せ
ず、信号処理の速度の低下を招くこともなく、しかも実
現が容易である。
In this embodiment, the near lossless encoding /
It is only necessary to change the threshold value of the clamp circuit in the decoding circuit 103, and no special circuit such as a gamma correction circuit is required. Therefore, the configuration of the device is not complicated, the speed of signal processing is not reduced, and the implementation is easy.

【0067】なお、図1では、符号化したデータをメモ
リに記憶し、プリント時に復元する際に必要となる構成
を記載してあるが、図5に示すように、符号器100で符
号化したデータを、通信回線L1を介して相手先の通信
機器に伝送し、その相手先の機器における復号器180で
復号することもできる。この場合、受信側におけるクラ
ンプ回路185のクランプ条件は、送信側におけるクラン
プ回路160におけるクランプ条件と同じである。
Although FIG. 1 shows a configuration necessary for storing the encoded data in the memory and restoring it at the time of printing, the encoded data is encoded by the encoder 100 as shown in FIG. The data can be transmitted to the communication device of the other party via the communication line L1, and can be decoded by the decoder 180 in the other device. In this case, the clamp condition of the clamp circuit 185 on the reception side is the same as the clamp condition of the clamp circuit 160 on the transmission side.

【0068】[0068]

【発明の効果】以上説明したように本発明によれば、特
別な回路を付加することなく、ニアロスレス符号化によ
って生じる背景ノイズを除くことができる。したがっ
て、ニアロスレス符号化したデータについて、画質劣化
を心配することなく、解像度変換や誤差拡散処理等を自
在に施すことが可能となる。
As described above, according to the present invention, it is possible to eliminate background noise caused by near lossless coding without adding a special circuit. Therefore, it is possible to freely perform resolution conversion, error diffusion processing, and the like on the near-lossless encoded data without worrying about image quality deterioration.

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

【図1】本発明の実施の形態にかかる通信装置の要部構
成を示すブロック図
FIG. 1 is a block diagram showing a main configuration of a communication device according to an embodiment of the present invention;

【図2】本発明の実施の形態にかかる復号器の構成例を
示すブロック図
FIG. 2 is a block diagram showing a configuration example of a decoder according to the embodiment of the present invention;

【図3】(a)符号化対象の画像の画素値の分布例を示
す図 (b)復号された画像の画素値の分布例を示す図 (c)クランプのしきい値を変更することによって、ク
ランプ回路の出力の所望のレベルに不感帯が形成される
ことを説明するための図
FIG. 3A is a diagram illustrating an example of a distribution of pixel values of an image to be encoded; FIG. 3B is a diagram illustrating an example of a distribution of pixel values of a decoded image; FIG. For explaining that a dead zone is formed at a desired level of the output of the clamp circuit.

【図4】本発明を適用したファクシミリ装置のハードウ
エア構成例を示すブロック図
FIG. 4 is a block diagram showing a hardware configuration example of a facsimile apparatus to which the present invention is applied;

【図5】送信側に符号化回路を設け、受信側に復号化回
路を設けた通信システムの構成例を示すブロック図
FIG. 5 is a block diagram illustrating a configuration example of a communication system in which an encoding circuit is provided on a transmission side and a decoding circuit is provided on a reception side.

【図6】従来例の構成を示すブロック図FIG. 6 is a block diagram showing a configuration of a conventional example.

【図7】参照画素と符号化画素の配置例を説明するため
の図
FIG. 7 is a diagram for explaining an example of arrangement of reference pixels and encoded pixels.

【符号の説明】[Explanation of symbols]

100 予測符号化器 114 局部復号器 116 ラインメモリ 120 予測器 130 量子化器 140 エントロピー符号器 150 逆量子化器 151 加算器 160 クランプ回路 170 メモリ 180 復号器 190 画像処理回路 192 プリンタ 100 predictive encoder 114 local decoder 116 line memory 120 predictor 130 quantizer 140 entropy encoder 150 inverse quantizer 151 adder 160 clamp circuit 170 memory 180 decoder 190 image processing circuit 192 printer

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 符号化対象の画素の画素値と、以前に符
号化され、局部復号器で復元された画素に基づいて生成
される予測値との誤差を量子化した後にエントロピー符
号化を行なう符号化手段と、前記局部復号器の出力のダ
イナミックレンジが原画像の画素値のダイナミックレン
ジを超えないように調整する働きをするクランプ手段
と、を有し、前記クランプ手段におけるクランプ開始点
を調整することによって、前記局部復号器により復号さ
れたバックグランドまたはフォアグランドの値が、原画
像のバックグランドまたはフォアグランドの値と同一と
なるように制御することを特徴とする画像符号化装置。
1. Entropy coding after quantizing an error between a pixel value of a pixel to be coded and a predicted value generated based on a pixel previously coded and restored by a local decoder. Encoding means, and a clamp means for adjusting the dynamic range of the output of the local decoder so as not to exceed the dynamic range of the pixel values of the original image, and adjusting a clamp start point in the clamp means. The image encoding apparatus according to claim 1, wherein the background or foreground value decoded by the local decoder is controlled to be the same as the background or foreground value of the original image.
【請求項2】 符号化対象の画素の値を参照画素の値か
ら予測して符号化する予測符号化装置において、予測誤
差を量子化する量子化器と、この量子化器の出力を符号
化するエントロピー符号化器と、前記量子化器により量
子化された前記予測誤差および予測値に基づき復号化を
行なう局部復号器と、この局部復号器の出力値が所定の
しきい値に達すると、前記出力値を原画素の画素値の最
大値または最小値にクランプするクランプ手段と、を有
し、前記クランプ手段における前記所定のしきい値は、
前記原画像の画素値の最大値または最小値以外の値であ
ることを特徴とする画像符号化装置。
2. A predictive coding apparatus for predicting and coding a value of a pixel to be coded from a value of a reference pixel, and quantizing a prediction error, and coding an output of the quantizer. An entropy encoder, a local decoder that performs decoding based on the prediction error and the prediction value quantized by the quantizer, and when the output value of the local decoder reaches a predetermined threshold, Clamp means for clamping the output value to the maximum value or the minimum value of the pixel value of the original pixel, the predetermined threshold in the clamp means,
An image encoding device, wherein the pixel value of the original image is a value other than the maximum value or the minimum value.
【請求項3】 前記量子化器は、量子化誤差のレベル
を、制御パラメータの値によって変化させることを特徴
とする請求項2記載の画像符号化装置。
3. The image coding apparatus according to claim 2, wherein said quantizer changes a level of a quantization error according to a value of a control parameter.
【請求項4】 前記制御パラメータは、許容される量子
化誤差の最大幅を規定する値であり、前記クランプ手段
における前記所定の値は、原画像の画素値の最大値から
前記許容される量子化誤差の最大幅の値を減算した値、
あるいは原画像の画素値の最小値に前記許容される量子
化誤差の最大幅の値を加算した値であることを特徴とす
る請求項3記載の画像符号化装置。
4. The control parameter is a value that defines a maximum width of an allowable quantization error, and the predetermined value in the clamp unit is determined based on a maximum value of a pixel value of an original image and the allowable quantum value. Value obtained by subtracting the value of the maximum width of
4. The image encoding apparatus according to claim 3, wherein the value is obtained by adding a value of a maximum width of the allowable quantization error to a minimum value of pixel values of an original image.
【請求項5】 前記画像符号化装置はニアロスレス画像
符号化装置であることを特徴とする請求項1〜請求項4
のいずれか記載の画像符号化装置。
5. The image encoding device according to claim 1, wherein the image encoding device is a near lossless image encoding device.
The image encoding device according to any one of the above.
【請求項6】 請求項2〜請求項4のいずれかに記載の
画像符号化装置によって符号化された信号について、符
号化とは逆の処理を行なって復号化し、復号化された信
号を符号化に用いたクランプ条件と同一の条件でクラン
プして復号信号を得ることを特徴とする画像復号化装
置。
6. A signal coded by the image coding apparatus according to claim 2, which is decoded by performing a process reverse to the coding, and coding the decoded signal. An image decoding apparatus characterized in that a decoded signal is obtained by clamping under the same conditions as the clamping conditions used for the decoding.
【請求項7】 請求項1〜請求項5のいずれかに記載の
画像符号化装置と、請求項6記載の画像復号化装置と、
符号化あるいは復号化された信号を記憶するメモリと、
所定の画像処理を行なう画像処理装置と、を有すること
を特徴とする通信装置。
7. The image encoding device according to claim 1, wherein the image encoding device comprises:
A memory for storing the encoded or decoded signal;
A communication device, comprising: an image processing device that performs predetermined image processing.
【請求項8】 符号化対象の画素の画素値と、以前に符
号化され、局部復号器で復元された画素に基づいて生成
される予測値との誤差を量子化した後にエントロピー符
号化を行なう画像符号化方法であって、前記局部復号器
の出力信号のダイナミックレンジが原画像の画素値のダ
イナミックレンジを超えないように前記局部復号器の出
力信号をクランプするに際し、クランプ開始点を、原画
像の画素値の最大値または最小値以外の値とすることを
特徴とする画像符号化方法。
8. Entropy coding is performed after quantizing an error between a pixel value of a pixel to be coded and a predicted value generated based on a pixel previously coded and restored by a local decoder. An image encoding method, wherein when clamping the output signal of the local decoder so that the dynamic range of the output signal of the local decoder does not exceed the dynamic range of the pixel value of an original image, a clamp start point is set to an original value. An image encoding method, wherein the pixel value of an image is set to a value other than the maximum value or the minimum value.
【請求項9】 前記量子化に際し、許容される量子化誤
差の最大幅を制御パラメータによって規定すると共に、
前記クランプ開始点を、原画像の画素値の最大値から前
記許容される量子化誤差の最大幅の値を減算した値、あ
るいは原画像の画素値の最小値に前記許容される量子化
誤差の最大幅の値を加算した値とすることを特徴とする
請求項8記載の画像符号化方法。
9. In the quantization, a maximum width of an allowable quantization error is defined by a control parameter,
The clamp start point is defined as a value obtained by subtracting the maximum value of the allowable quantization error from the maximum value of the pixel value of the original image, or the minimum value of the pixel value of the original image. 9. The image encoding method according to claim 8, wherein a value obtained by adding the maximum width value is used.
JP14300099A 1999-05-24 1999-05-24 Image coder Pending JP2000333016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14300099A JP2000333016A (en) 1999-05-24 1999-05-24 Image coder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14300099A JP2000333016A (en) 1999-05-24 1999-05-24 Image coder

Publications (1)

Publication Number Publication Date
JP2000333016A true JP2000333016A (en) 2000-11-30

Family

ID=15328622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14300099A Pending JP2000333016A (en) 1999-05-24 1999-05-24 Image coder

Country Status (1)

Country Link
JP (1) JP2000333016A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010140308A1 (en) * 2009-06-02 2010-12-09 株式会社日立製作所 Image encoding device, image decoding device, image encoding method, and image decoding method
KR20140074805A (en) 2012-12-07 2014-06-18 삼성테크윈 주식회사 Method and apparatus of image signal compression and decompression
JP2016076920A (en) * 2014-10-07 2016-05-12 キヤノン株式会社 Encoding apparatus and control method thereof
JP2017011499A (en) * 2015-06-22 2017-01-12 キヤノン株式会社 Image processing apparatus, image decoder, and method of controlling these

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010140308A1 (en) * 2009-06-02 2010-12-09 株式会社日立製作所 Image encoding device, image decoding device, image encoding method, and image decoding method
JP5181059B2 (en) * 2009-06-02 2013-04-10 株式会社日立製作所 Image encoding device, image decoding device, image encoding method, and image decoding method
KR20140074805A (en) 2012-12-07 2014-06-18 삼성테크윈 주식회사 Method and apparatus of image signal compression and decompression
JP2016076920A (en) * 2014-10-07 2016-05-12 キヤノン株式会社 Encoding apparatus and control method thereof
JP2017011499A (en) * 2015-06-22 2017-01-12 キヤノン株式会社 Image processing apparatus, image decoder, and method of controlling these

Similar Documents

Publication Publication Date Title
JP3466705B2 (en) How to decompress compressed images
EP0635985B1 (en) Improved decompression standard for ADCT-compressed document images
KR100882417B1 (en) System and method for progressively transforming and encoding digital data
JP4365957B2 (en) Image processing method and apparatus and storage medium
US7499592B2 (en) Image decoding apparatus and its control method
WO2015194185A1 (en) Efficient palette coding for screen content codings
US7050645B2 (en) Image processing apparatus and image processing method
JPH07264417A (en) Image coding method
JP2756371B2 (en) Image processing device
JP2004048607A (en) Digital image coding device and method thereof
JP2000333016A (en) Image coder
JPH09186883A (en) Multi-level image coding device
JP3085932B2 (en) Apparatus for generating predicted image using mask and apparatus for compressing, transmitting and restoring binary image using the same
JP2000307879A (en) Method and device for color image communication
JP3200109B2 (en) Image transmission method
JP2004193968A (en) Color image communication device
JP4281242B2 (en) Image processing apparatus and method, printer apparatus having the image processing apparatus, and storage medium storing computer-readable program
JPH07177359A (en) Fax machine
JP2004297323A (en) Image processing apparatus
JPH07111596A (en) Communication equipment for still picture
JP2667860B2 (en) Image processing method and apparatus
JPH1155531A (en) Arithmetic coding device
JP3200073B2 (en) Image processing device
JPH06261340A (en) Image encoding device
JPH07162689A (en) Picture encoding device