[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPH08317403A - Device and method for image processing - Google Patents

Device and method for image processing

Info

Publication number
JPH08317403A
JPH08317403A JP11720195A JP11720195A JPH08317403A JP H08317403 A JPH08317403 A JP H08317403A JP 11720195 A JP11720195 A JP 11720195A JP 11720195 A JP11720195 A JP 11720195A JP H08317403 A JPH08317403 A JP H08317403A
Authority
JP
Japan
Prior art keywords
pixel
gradient
image processing
directions
picture element
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
JP11720195A
Other languages
Japanese (ja)
Inventor
Koji Hirabayashi
康二 平林
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 JP11720195A priority Critical patent/JPH08317403A/en
Priority to US08/645,590 priority patent/US6014463A/en
Priority to EP96303381A priority patent/EP0743794A3/en
Publication of JPH08317403A publication Critical patent/JPH08317403A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/004Predictors, e.g. intraframe, interframe coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE: To efficiently perform coding not depending on the property of an image by finding a contour line including an encoding target picture element and performing predictive coding along the contour line. CONSTITUTION: A picture element interpolator 2 assumes the presence of a picture element between the encoding target picture element and the peripheral picture element of an encoded picture element, and finds the value of the picture element, and the value of an interpolated picture element and that of the peripheral picture element of the encoding target picture element are recorded on memory 3. A maximum gradient decision device 4 selects the one whose luminance gradient is maximized in a direction advancing the outside from the encoding target picture element in radial shape. An index converter 5 generates an index in a direction intersecting orthogonally to the direction of the index representing the maximum gradient direction decided by the maximum gradient decision device 4. A predictor 6 generates a predictor by using the picture element in the direction of contour line including the encoded picture element or an interpolated picture element. A differentiator 7 generates a differential value in which the predictor is subtracted from the encoding target picture element, and a Huffman encoder 8 supplies a Huffman code to the differential value.

Description

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

【0001】[0001]

【産業上の利用分野】本願発明は、符号化もしくは復号
化を行う画像処理装置及び方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method for encoding or decoding.

【0002】[0002]

【従来の技術】従来、多値画像の可逆符号化方式として
DPCM(DifferentialPulse Co
de Modulation)が広く知られている。一
般的なDPCMによる符号化は、符号化対象画素の周囲
にある符号化済の画素、すなわち左画素(これをaとす
る)、上画素(同様にb)、左斜め画素(同様にc)を
用いて符号化対象画素の予測値(平面予測)を例えば式
(a+b−c)を用いて算出し、これと符号化対象画素
値との差分を符号化するものである。
2. Description of the Related Art Conventionally, DPCM (Differential Pulse Co) has been used as a reversible encoding method for multilevel images.
de Modulation) is widely known. Encoding by general DPCM includes encoded pixels around the pixel to be encoded, that is, a left pixel (referred to as a), an upper pixel (similarly b), and a left diagonal pixel (similarly c). Is used to calculate the predicted value (planar prediction) of the pixel to be encoded using, for example, the formula (a + b-c), and the difference between this and the pixel value to be encoded is encoded.

【0003】[0003]

【発明が解決しようとしている課題】一般に、画像の部
分の多くは単調な輝度勾配によって形成されるため、前
述の符号化対象画素の予測によって符号化対象画素のか
なりの部分は精度良く予測され、符号化される。
Generally, since most of the image part is formed by a monotonous brightness gradient, a considerable part of the pixel to be coded is accurately predicted by the prediction of the pixel to be coded, Is encoded.

【0004】しかし、画素内における高周波部分、すな
わちエッジ部、細線部では、当然のことながら大きな予
測誤差を発生することになる。このような部分では平面
予測ではなく、エッジの方向や線の延長方向への一次元
予測の方が適する。
However, a high prediction error naturally occurs in the high frequency part in the pixel, that is, in the edge part and the thin line part. For such a part, one-dimensional prediction in the edge direction or the line extension direction is more suitable than the plane prediction.

【0005】このように、画像内の性質により最適な予
測の方法は異なってくる。最適予測方向は、画素毎に異
るものであるが、実際にその様な符号化を行おうとした
場合には、どの予測方法を用いたかを示す付加情報が加
わるため符号化効率が悪くなってしまう。
As described above, the optimum prediction method differs depending on the properties in the image. The optimum prediction direction differs from pixel to pixel, but when such an encoding is actually attempted, the additional information indicating which prediction method is used adds encoding efficiency. I will end up.

【0006】以上の様に、従来画素値が滑らかな勾配を
有する部分に対しても、エッジ部や細線部に対しても共
通に効率良く符号化する予測方法が無いという問題があ
った。
As described above, there has been a problem that there is no conventional prediction method for efficiently encoding both the portion having a smooth gradient of pixel values and the edge portion and the thin line portion.

【0007】また、複数の予測方法を選択的に用いて予
測符号化する際には、どの予測方法を選択したかを示す
ための付加情報が必要であり、符号化効率が悪いという
問題があった。
[0007] Further, in predictive coding by selectively using a plurality of prediction methods, additional information is required to indicate which prediction method is selected, which causes a problem of poor coding efficiency. It was

【0008】よって本願発明は、上記の問題を解決する
ために、画像の性質に依存しない効率的な符号化を行う
ことを目的とする。
Therefore, an object of the present invention is to perform efficient coding independent of the nature of an image in order to solve the above problems.

【0009】[0009]

【課題を解決するための手段及び作用】上記の課題を解
決するために、本願発明の請求項1における画像処理装
置は、符号化対象画素を中心として複数の方向を設定す
る設定手段と、前記設定手段により設定された複数の方
向に対応した参照画素値を発生させる発生手段と、前記
発生手段により発生された参照画素値を用いて前記複数
の方向に対応した勾配を出力する出力手段と、前記出力
手段により出力された勾配に基づいて第1の方向を選択
する第1の選択手段と、前記第1の選択手段により選択
された第1の方向に応じて第2の方向を選択する第2の
選択手段と、前記第2の選択手段により選択された第2
の方向に対応する参照画素値を用いて符号化を行う符号
化手段を有することを特徴とする。
In order to solve the above-mentioned problems, an image processing apparatus according to claim 1 of the present invention comprises a setting means for setting a plurality of directions around a pixel to be coded, Generating means for generating reference pixel values corresponding to the plurality of directions set by the setting means, and output means for outputting gradients corresponding to the plurality of directions using the reference pixel values generated by the generating means, First selecting means for selecting a first direction based on the gradient output by the output means, and second selecting means for selecting a second direction according to the first direction selected by the first selecting means Second selecting means and the second selecting means selected by the second selecting means.
It has a coding means for coding using the reference pixel value corresponding to the direction.

【0010】[0010]

【実施例】本実施例では、画像中の滑らかな曲面に対し
ても、エッジや細線に対しても、輝度曲面上の等高線に
沿った画素値予測が最も効率的であることに着目し、符
号化対象画素を含む等高線を見出し、等高線に沿って予
測符号化を行う。
[Embodiment] In the present embodiment, attention is paid to the fact that the pixel value prediction along the contour line on the luminance curved surface is the most efficient for both the smooth curved surface in the image, the edge and the thin line, A contour line including a pixel to be encoded is found, and predictive coding is performed along the contour line.

【0011】これを達成するために、まず符号化対象画
素から最も輝度勾配の大きい方向を探す。
In order to achieve this, first, the direction having the largest brightness gradient is searched for from the pixel to be coded.

【0012】等高線は最も急な輝度勾配と直交するの
で、これを探すことにより等高線の方向を特定すること
が出来る。
Since the contour line is orthogonal to the steepest luminance gradient, the direction of the contour line can be specified by searching for it.

【0013】直接等高線方向を探さない理由を以下に述
べる。等高線に近い方向では何れも輝度勾配が小さくな
っており、画像上のノイズ成分によって、真の等高線の
方向が隠されてしまう。これに対し、最も急な勾配を求
める方法では、大きな勾配のもつ低周波のパワーが、ノ
イズのパワーに比して大きいため、比較的容易に、また
精度よく最も急な勾配方向を知ることが出来るという利
点がある。
The reason why the contour direction is not directly searched will be described below. The brightness gradient is small in any direction close to the contour line, and the true contour line direction is hidden by the noise component on the image. On the other hand, in the method of finding the steepest gradient, the low-frequency power with a large gradient is larger than the power of noise, so it is relatively easy and accurate to know the steepest gradient direction. There is an advantage that you can.

【0014】また、こうして得られた等高線方向に予測
値を求めることを特徴とし、等高線方向の複数画素の平
均値をもって符号化対象画素の予測値とするので、ノイ
ズの分散が小さくなり、予測誤差のエントロピーが低下
し、符号化効率を向上させることができる。以下に実施
例を詳細に説明する。
Further, the prediction value is obtained in the contour line direction thus obtained, and the average value of a plurality of pixels in the contour line direction is used as the prediction value of the pixel to be coded, so that the variance of noise is reduced and the prediction error is reduced. The entropy of is reduced, and the coding efficiency can be improved. Examples will be described in detail below.

【0015】本願発明の一実施例である多値画像の可逆
符号化装置の全体ブロック図を図1に示す。
FIG. 1 shows an overall block diagram of a lossless encoding apparatus for multilevel images which is an embodiment of the present invention.

【0016】図1において1はラインバッファであり、
符号化対象画素を含む1ラインと、それに先行する4ラ
インを格納するものであり、符号化対象画素の周囲画素
を参照する際に用いられる。
In FIG. 1, 1 is a line buffer,
One line containing the pixel to be encoded and four lines preceding it are stored, and this line is used when referring to the pixels surrounding the pixel to be encoded.

【0017】2は画素補間器であり、符号化対象画素と
符号化画素の周囲画素との間に画素があると仮定し、そ
の値を求めるものである。
Reference numeral 2 denotes a pixel interpolator, which determines the value of a pixel to be coded on the assumption that there is a pixel between the pixel to be coded and the surrounding pixels of the coded pixel.

【0018】ここで補間された画素の値、及び符号化対
象画素の周囲画素の値はメモリ3に記録される。
The pixel values interpolated here and the values of the pixels surrounding the pixel to be coded are recorded in the memory 3.

【0019】4は最大勾配判定器であり、符号化対象画
素から放射状に外部に向う方向(本実施例では12方
向)に対し、輝度勾配が最大になるものを選択すること
ができる。
Reference numeral 4 denotes a maximum gradient determiner, which can select a pixel having a maximum luminance gradient in a direction (12 directions in this embodiment) radially outward from the pixel to be encoded.

【0020】5はインデクス変換器であり、最大勾配判
定器4により判定された最大勾配方向を示すインデクス
に対し、この方向と直交する方向のインデクスを発生さ
せるものである。
Reference numeral 5 denotes an index converter, which, with respect to the index indicating the maximum gradient direction determined by the maximum gradient determining unit 4, generates an index in a direction orthogonal to this direction.

【0021】6は予測器であり、符号化画素を含む等高
線方向の画素もしくは補間された画素を用いて予測値を
発生させる。
Reference numeral 6 is a predictor, which generates a predicted value by using pixels in the contour line direction including coded pixels or interpolated pixels.

【0022】7は差分器であり、符号化対象画素値から
予測値を減じた差分値を発生させる。8はハフマン符号
器であり、差分値に対してハフマン符号を与えるもので
ある。
Reference numeral 7 is a differencer, which generates a difference value obtained by subtracting the predicted value from the pixel value to be encoded. 8 is a Huffman encoder, which gives a Huffman code to the difference value.

【0023】次に全体の動作について図1を用いて説明
する。
Next, the entire operation will be described with reference to FIG.

【0024】101から入力された画素データはライン
バッファ1に格納される。本実施例では符号化しようと
する走査線、及び先行する符号化済の走査線4本が格納
されているものとする。
Pixel data input from 101 is stored in the line buffer 1. In this embodiment, it is assumed that the scan line to be encoded and the preceding four encoded scan lines are stored.

【0025】画素補間器2は、ラインバッファ1から、
図3に示すR0 〜R11、A〜Tの周囲画素の値を読み出
す。これらの画素の値を用いて図4に示す12方向に対
応する42画素r0 (j)〜r11(j)/(j)は0〜
3もしくは0〜2の値を以下の式により求める。即ち各
値は、 ・ri(0)=Ri(端点) ・r0 (1)=Q、r0 (2)=S、r0 (3)=T ・r3 (1)=D、r3 (2)=K ・r6 (1)=B、r6 (2)=F、r6 (3)=L ・r9 (1)=H、r9 (2)=M ・r1 (1)=(3I+Q)/4、r1 (2)=(J+
S)/2、r1 (3)=(K+3T)/4 ・r5 (1)=(3A+B)/4、r5 (2)=(E+
F)/2、r5 (3)=(K+3L)/4 ・r7 (1)=(3C+B)/4、r7 (2)=(F+
G)/2、r7 (3)=(M+3L)/4 ・r2 (1)=(2J+D)/3、r2 (2)=(2K
+T)/3 ・r4 (1)=(2E+D)/3、r4 (2)=(2K
+L)/3 ・r8 (1)=(2G+H)/3、r8 (2)=(2M
+L)/3 ・r10(1)=(2N+H)/3、r10(2)=M ・r11(1)=P、r11(2)=N、r11(3)=M に従って求める。
The pixel interpolator 2 outputs from the line buffer 1
The values of the surrounding pixels of R 0 to R 11 and A to T shown in FIG. 3 are read out. 42 pixels r 0 (j) to r 11 (j) / (j) corresponding to the 12 directions shown in FIG. 4 are 0 to 0 using the values of these pixels.
The value of 3 or 0-2 is calculated by the following formula. That is, each value, · ri (0) = Ri ( end point) · r 0 (1) = Q, r 0 (2) = S, r 0 (3) = T · r 3 (1) = D, r 3 (2) = K · r 6 (1) = B, r 6 (2) = F, r 6 (3) = L · r 9 (1) = H, r 9 (2) = M · r 1 (1 ) = (3I + Q) / 4, r 1 (2) = (J +
S) / 2, r 1 (3) = (K + 3T) /4.r 5 (1) = (3A + B) / 4, r 5 (2) = (E +
F) / 2, r 5 ( 3) = (K + 3L) / 4 · r 7 (1) = (3C + B) / 4, r 7 (2) = (F +
G) / 2, r 7 (3) = (M + 3L) /4.r 2 (1) = (2J + D) / 3, r 2 (2) = (2K
+ T) /3.r 4 (1) = (2E + D) / 3, r 4 (2) = (2K
+ L) /3.r 8 (1) = (2G + H) / 3, r 8 (2) = (2M
+ L) / 3 · r 10 (1) = (2N + H) / 3, r 10 (2) = M · r 11 (1) = P, r 11 (2) = N, r 11 (3) = M .

【0026】ここで図5の(a)〜(d)の様に端点の
一部が参照できない符号化対象画素位置の場合には、参
照可能なRiの方向に対してのみ後述する最大勾配判定
の際に用いる方向の対象にし、他の方向については考慮
しない。
Here, in the case of the encoding target pixel position where a part of the end points cannot be referred to, as in (a) to (d) of FIG. 5, the maximum gradient determination described later only for the referenceable Ri direction. The target is the direction used in the above, and other directions are not considered.

【0027】画素補間器2は、上述の式に従って補間等
の処理を行い、上記の42個の画素値は、バス102を
通じてメモリ3に記憶される。
The pixel interpolator 2 performs processing such as interpolation in accordance with the above equation, and the 42 pixel values described above are stored in the memory 3 through the bus 102.

【0028】最大勾配判定器4は、メモリ3に記憶され
た42個の補間画素値(参照画素値)を参照し、次に後
述する方法により勾配を計算する。
The maximum gradient determiner 4 refers to the 42 interpolation pixel values (reference pixel values) stored in the memory 3, and then calculates the gradient by the method described later.

【0029】Riの方向を“方向i”としたとき、i方
向の勾配の値をGiとする。また、i方向の補間画素数
をNiとし、
When the direction of Ri is "direction i", the value of the gradient in the i direction is Gi. Also, the number of interpolation pixels in the i direction is Ni,

【0030】[0030]

【外1】 によりGiを定義する。また本実施例ではHi=1とす
る。
[Outside 1] Defines Gi. Further, in this embodiment, Hi = 1.

【0031】最大勾配判定器4は、i=0〜11につい
てGiを求め、最大のGiを与えるiの値をインデクス
変換器5に出力する。
The maximum gradient determiner 4 finds Gi for i = 0 to 11 and outputs the value of i that gives the maximum Gi to the index converter 5.

【0032】インデクス変換器5への入力をDin、イ
ンデクス変換器からの出力をDoutとすると、Dou
t=(Din+6)%12(%は剰余演算とする)とな
る。これにより最大勾配方向のインデクスは、等高線方
向のインデクスに変換され、符号化予測方法が決定され
る。
If the input to the index converter 5 is Din and the output from the index converter is Dout, then Dou
t = (Din + 6)% 12 (% is a remainder operation). As a result, the index in the maximum gradient direction is converted into the index in the contour line direction, and the coding prediction method is determined.

【0033】予測器6は、インデクス変換器5から出力
されるインデクス方向に従い、この方向に存在する補間
画素値をメモリ3から読み出し、Nindex個(in
dexは等高線方向のインデクス)の画素値の平均値を
予測値として算出し、差分器7に出力する。
The predictor 6 reads the interpolated pixel values existing in this direction from the memory 3 according to the index direction output from the index converter 5, and outputs Nindex (in
dex calculates the average value of the pixel values of the contour direction index) as a prediction value, and outputs it to the difference unit 7.

【0034】差分器7は、ラインバッファ1に記憶され
ている符号化対象画素の値から、この符号化対象画素の
予測値を減じ、この差分値をハフマン符号器8に出力す
る。
The differentiator 7 subtracts the predicted value of the pixel to be encoded from the value of the pixel to be encoded stored in the line buffer 1 and outputs this difference value to the Huffman encoder 8.

【0035】ハフマン符号器8は差分器7から入力され
た差分値に対し、ハフマン符号化を行い、符号化された
データを112を通じて復号化側へ出力する。
The Huffman encoder 8 performs Huffman coding on the difference value input from the differentiator 7, and outputs the coded data to the decoding side through 112.

【0036】図2に復号化側のブロック図の一例を示
す。ハフマン符号器8から出力された符号化データは、
ハフマン復号器9で復号化され、差分値データとして加
算器10に出力される。また、ラインバッファ11から
予測器16までの系に関しては符号化側と同様の処理を
行う。ここでラインバッファ11には復号化対象画素の
1ラインと、それに先行する4ラインの復号化済画素が
格納される。以下最終的に予測器16から予測器6の出
力値と同じ値が復号化対象画素の予測値として加算器1
0に出力される。
FIG. 2 shows an example of a block diagram on the decoding side. The encoded data output from the Huffman encoder 8 is
It is decoded by the Huffman decoder 9 and output to the adder 10 as difference value data. Further, with respect to the system from the line buffer 11 to the predictor 16, the same processing as that on the encoding side is performed. Here, the line buffer 11 stores one line of decoding target pixels and four lines of decoded pixels preceding the decoding target pixel. Hereinafter, the same value as the output value of the predictor 16 to the predictor 6 is finally added to the adder 1 as the predicted value of the pixel to be decoded.
It is output to 0.

【0037】加算器10では、ハフマン復号器から入力
される差分値データを予測器16から入力される予測値
に加算し復号化対象画素の画素値として再生出力する。
この再生出力された画素値は115を通じて出力部17
に入力されると共に、116を通じてラインバッファ1
1に復号化済画素値として格納される。
The adder 10 adds the difference value data input from the Huffman decoder to the prediction value input from the predictor 16 and reproduces and outputs it as the pixel value of the pixel to be decoded.
The reproduced and output pixel value is output to the output unit 17 through 115.
To the line buffer 1 through 116.
1 is stored as a decoded pixel value.

【0038】以上の実施例で用いた符号化方法における
符号化予測方法の決定は、符号化対象画素を用いること
なく符号化済の周辺画素を用いて行うので、符号化側に
も復号化側にも共通して認識することができるので、付
加情報を必要としない。
Since the coding prediction method in the coding method used in the above embodiments is determined by using the coded peripheral pixels without using the pixel to be coded, the coding side as well as the decoding side No additional information is required, since it can be commonly recognized.

【0039】なお、実施例による差分値のハフマン符号
化は、他の符号化方法を代用しても良い。
Note that the Huffman coding of the difference value according to the embodiment may use another coding method instead.

【0040】また、図5(d)の位置(ラインの最初の
画素)については、差分値ではなく、実際の画素値を符
号化して送り、復号化側で実際の画素値として復号化す
る様に制御することも可能である。
At the position (first pixel of the line) of FIG. 5D, not the difference value but the actual pixel value is encoded and sent, and the decoding side decodes it as the actual pixel value. It is also possible to control.

【0041】また、画像の最初の4ラインについては、
予測器6によって定められるインデクスを設定すること
によりあらかじめ設定した方向との差分値を送る様に制
御することも可能である。
For the first four lines of the image,
By setting an index determined by the predictor 6, it is possible to control so as to send a difference value with respect to a preset direction.

【0042】更に、上述の実施例では最大勾配方向を検
出し、この方向と直交する方向の画素を用いて予測値を
決定しているが、所定以上の勾配を有する方向の中心の
方向を検出する等適宜その方法は選択できる。
Further, in the above-described embodiment, the maximum gradient direction is detected and the predicted value is determined by using the pixels in the direction orthogonal to this direction. However, the direction of the center of the direction having a gradient of a predetermined value or more is detected. The method can be selected as appropriate.

【0043】[0043]

【発明の効果】本願発明によれば、画像の性質に依存し
ない効率的な符号化を行うことができる。
According to the present invention, it is possible to perform efficient coding independent of the nature of an image.

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

【図1】実施例の画像符号化装置の全体ブロック図。FIG. 1 is an overall block diagram of an image encoding device according to an embodiment.

【図2】実施例の画像復号化装置の全体ブロック図。FIG. 2 is an overall block diagram of an image decoding apparatus according to an embodiment.

【図3】実施例の画像予測において参照する周囲画素を
説明する図。
FIG. 3 is a diagram illustrating surrounding pixels referred to in image prediction according to the embodiment.

【図4】図1の画素補間器2の作用を説明する図。FIG. 4 is a diagram for explaining the operation of the pixel interpolator 2 of FIG.

【図5】参照不可能な周囲画素がある場合を説明する
図。
FIG. 5 is a diagram illustrating a case where there are surrounding pixels that cannot be referenced.

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

1 ラインバッファ 2 画素補間器 3 メモリ 4 最大勾配判定器 5 インデクス変換器 6 予測器 7 差分器 8 符号器 1 line buffer 2 pixel interpolator 3 memory 4 maximum gradient determiner 5 index converter 6 predictor 7 differentiator 8 encoder

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 符号化対象画素を中心として複数の方向
を設定する設定手段と、 前記設定手段により設定された複数の方向に対応した参
照画素値を発生させる発生手段と、 前記発生手段により発生された参照画素値を用いて前記
複数の方向に対応する勾配を出力する出力手段と、 前記出力手段により出力された勾配に基づいて第1の方
向を選択する第1の選択手段と、 前記第1の選択手段により選択された第1の方向に応じ
て第2の方向を選択する第2の選択手段と、 前記第2の選択手段により選択された第2の方向に対応
する参照画素値を用いて符号化を行う符号化手段を有す
ることを特徴とする画像処理装置。
1. A setting means for setting a plurality of directions centering on a pixel to be encoded, a generating means for generating reference pixel values corresponding to the plurality of directions set by the setting means, and a generating means for generating the reference pixel values. Output means for outputting gradients corresponding to the plurality of directions by using the reference pixel values thus obtained; first selecting means for selecting a first direction based on the gradients output by the output means; A second selecting means for selecting the second direction according to the first direction selected by the first selecting means; and a reference pixel value corresponding to the second direction selected by the second selecting means. An image processing apparatus having an encoding unit for performing encoding using the image processing apparatus.
【請求項2】 前記出力手段による勾配の出力には、符
号化対象画素を用いないことを特徴とする請求項1記載
の画像処理装置。
2. The image processing apparatus according to claim 1, wherein the pixel to be encoded is not used for outputting the gradient by the output unit.
【請求項3】 前記参照画素値は輝度値であることを特
徴とする請求項1記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the reference pixel value is a brightness value.
【請求項4】 前記第1の方向と前記第2の方向とが直
交していることを特徴とする請求項1に記載の画像処理
装置。
4. The image processing apparatus according to claim 1, wherein the first direction and the second direction are orthogonal to each other.
【請求項5】 前記参照画素値には、架空の画素値が含
まれることを特徴とする請求項1に記載の画像処理装
置。
5. The image processing apparatus according to claim 1, wherein the reference pixel value includes a fictitious pixel value.
【請求項6】 前記符号化手段による符号化にはハフマ
ン符号化を用いることを特徴とする請求項1に記載の符
号化装置。
6. The coding apparatus according to claim 1, wherein Huffman coding is used for coding by the coding means.
【請求項7】 前記符号化手段による符号化は1画素毎
に行うことを特徴とする請求項1に記載の画像処理装
置。
7. The image processing apparatus according to claim 1, wherein the encoding by the encoding unit is performed for each pixel.
【請求項8】 符号化対象画素を中心として複数の方向
を設定し、 設定された複数の方向に対応した参照画素値を発生し、 発生した参照画素値を用いて前記複数の方向に対応する
勾配を出力し、 出力された勾配に基づいて第1の方向を選択し、 選択された第1の方向に応じて第2の方向を選択し、 選択された第2の方向に対応する参照画素値を用いて符
号化を行うことを特徴とする画像処理方法。
8. A plurality of directions are set around a pixel to be encoded, reference pixel values corresponding to the plurality of set directions are generated, and the generated reference pixel values are used to correspond to the plurality of directions. Output a gradient, select a first direction based on the output gradient, select a second direction according to the selected first direction, and a reference pixel corresponding to the selected second direction An image processing method characterized by performing encoding using a value.
【請求項9】 符号化対象画素を中心とする複数の方向
に対し、画素値の勾配を算出する算出手段と、 前記算出手段により算出された勾配のうち、所望の勾配
を有する方向に直交する方向に基づいて予測符号化を行
う符号化手段とを有することを特徴とする画像処理装
置。
9. A calculation means for calculating a gradient of a pixel value in a plurality of directions centering on a pixel to be encoded, and a gradient having a desired gradient among the gradients calculated by the calculation means is orthogonal to the direction having the desired gradient. An image processing apparatus comprising: an encoding unit that performs predictive encoding based on a direction.
【請求項10】 前記所望の勾配は、前記算出手段によ
り算出された勾配の最大値をとることを特徴とする請求
項9に記載の画像処理装置。
10. The image processing apparatus according to claim 9, wherein the desired gradient has a maximum value of the gradient calculated by the calculating means.
【請求項11】 前記算出手段には、符号化対象画素値
を用いずに、符号化対象画素の周囲画素値を用いること
を特徴とする請求項9に記載の画像処理装置。
11. The image processing apparatus according to claim 9, wherein the calculation means uses the pixel values around the pixel to be encoded, without using the pixel value to be encoded.
【請求項12】 符号化対象画素を中心とする複数の方
向に対し、画素値の勾配を算出し、 算出された勾配のうち、所望の勾配を有する方向に直交
する方向に基づいて予測符号化を行う画像処理方法。
12. A gradient of pixel values is calculated for a plurality of directions centering on a pixel to be encoded, and predictive coding is performed based on a direction orthogonal to a direction having a desired gradient among the calculated gradients. Image processing method for performing.
【請求項13】 復号化対象画素を中心として複数の方
向を設定する設定手段と、 前記設定手段により設定された複数の方向に対応した参
照画素値を発生させる発生手段と、 前記発生手段により発生された参照画素値を用いて前記
複数の方向に対応する勾配を出力する出力手段と、 前記出力手段により出力された勾配に基づいて第1の方
向を選択する第1の選択手段と、 前記第1の選択手段により選択された第1の方向に応じ
て第2の方向を選択する第2の選択手段と、 前記第2の選択手段により選択された第2の方向に対応
する参照画素値を用いて復号化を行う復号化手段を有す
ることを特徴とする画像処理装置。
13. Setting means for setting a plurality of directions centering on a pixel to be decoded, generating means for generating reference pixel values corresponding to the plurality of directions set by the setting means, and generating by the generating means. Output means for outputting gradients corresponding to the plurality of directions by using the reference pixel values thus obtained; first selecting means for selecting a first direction based on the gradients output by the output means; A second selecting means for selecting the second direction according to the first direction selected by the first selecting means; and a reference pixel value corresponding to the second direction selected by the second selecting means. An image processing apparatus having a decoding means for performing decoding using the image processing apparatus.
【請求項14】 復号化対象画素を中心として複数の方
向を設定し、 設定された複数の方向に対応した参照画素値を発生し、 発生した参照画素値を用いて前記複数の方向に対応する
勾配を出力し、 出力された勾配に基づいて第1の方向を選択し、 選択された第1の方向に応じて第2の方向を選択し、 選択された第2の方向に対応する参照画素値を用いて復
号化を行うことを特徴とする画像処理方法。
14. A plurality of directions are set around a pixel to be decoded, reference pixel values corresponding to the set plurality of directions are generated, and the generated reference pixel values are used to correspond to the plurality of directions. Output a gradient, select a first direction based on the output gradient, select a second direction according to the selected first direction, and a reference pixel corresponding to the selected second direction An image processing method characterized by performing decoding using a value.
【請求項15】 復号化対象画素を中心とする複数の方
向に対し、画素値の勾配を算出する算出手段と、 前記算出手段により算出された勾配のうち、所望の勾配
を有する方向に直交する方向の画素値に基づいて復号化
を行う復号化手段とを有することを特徴とする画像処理
装置。
15. A calculating means for calculating a gradient of a pixel value in a plurality of directions centering on a pixel to be decoded, and a gradient having a desired gradient, out of the gradients calculated by the calculating means, is orthogonal. An image processing apparatus comprising: a decoding unit that performs decoding based on a pixel value in a direction.
【請求項16】 復号化対象画素を中心とする複数の方
向に対し、画素値の勾配を算出し、 算出された勾配のうち、所望の勾配を有する方向に直交
する方向の画素値に基づいて復号化を行う画像処理方
法。
16. A gradient of pixel values is calculated for a plurality of directions centered on a pixel to be decoded, and based on pixel values in a direction orthogonal to a direction having a desired gradient among the calculated gradients. Image processing method for decoding.
JP11720195A 1995-05-16 1995-05-16 Device and method for image processing Pending JPH08317403A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP11720195A JPH08317403A (en) 1995-05-16 1995-05-16 Device and method for image processing
US08/645,590 US6014463A (en) 1995-05-16 1996-05-14 Image processing apparatus and method
EP96303381A EP0743794A3 (en) 1995-05-16 1996-05-14 Image encoding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11720195A JPH08317403A (en) 1995-05-16 1995-05-16 Device and method for image processing

Publications (1)

Publication Number Publication Date
JPH08317403A true JPH08317403A (en) 1996-11-29

Family

ID=14705899

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11720195A Pending JPH08317403A (en) 1995-05-16 1995-05-16 Device and method for image processing

Country Status (1)

Country Link
JP (1) JPH08317403A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005107267A1 (en) * 2004-04-28 2005-11-10 Hitachi, Ltd. Image encoding/decoding device, encoding/decoding program, and encoding/decoding method
US8787456B2 (en) 2004-04-28 2014-07-22 Hitachi Consumer Electronics Co., Ltd. Image decoding device and method thereof using inter-coded predictive encoding code

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005107267A1 (en) * 2004-04-28 2005-11-10 Hitachi, Ltd. Image encoding/decoding device, encoding/decoding program, and encoding/decoding method
US8787456B2 (en) 2004-04-28 2014-07-22 Hitachi Consumer Electronics Co., Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US8923387B2 (en) 2004-04-28 2014-12-30 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US8971403B1 (en) 2004-04-28 2015-03-03 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9118924B2 (en) 2004-04-28 2015-08-25 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9270998B2 (en) 2004-04-28 2016-02-23 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9277226B2 (en) 2004-04-28 2016-03-01 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9277225B2 (en) 2004-04-28 2016-03-01 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9319687B2 (en) 2004-04-28 2016-04-19 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9414082B1 (en) 2004-04-28 2016-08-09 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9414084B1 (en) 2004-04-28 2016-08-09 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9414083B1 (en) 2004-04-28 2016-08-09 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9432681B2 (en) 2004-04-28 2016-08-30 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code
US9549195B2 (en) 2004-04-28 2017-01-17 Hitachi Maxell, Ltd. Image decoding device and method thereof using inter-coded predictive encoding code

Similar Documents

Publication Publication Date Title
US11849142B2 (en) Method and apparatus for encoding or decoding video data with sub-pixel motion vector refinement
KR101597059B1 (en) Image coding method, image decoding method, image coding apparatus, and image decoding apparatus
CN115002478A (en) Method and apparatus for encoding or decoding video data
JPH02177766A (en) Hierarchical encoding system for binary image
US6014463A (en) Image processing apparatus and method
JP3466162B2 (en) Image decoding apparatus and image decoding method
JPH06197331A (en) Frame interpolation system for animation picture
KR100239307B1 (en) Contour image encoder
JP4356240B2 (en) Encoding apparatus and method, decoding apparatus and method
JPH08317403A (en) Device and method for image processing
JP3432039B2 (en) Image encoding method and apparatus
JP3032213B2 (en) Image encoding device and image decoding device
US12363339B2 (en) Method and apparatus for encoding or decoding video data with sub-pixel motion vector refinement
JPH07203425A (en) Coding and decoding device for dynamic image
JP4385869B2 (en) Motion vector detection device, moving image encoding device, and program
JP2684887B2 (en) Encoding / decoding device
JP3263218B2 (en) Image information data compression and playback device
JP3140092B2 (en) Image data compression circuit
JPH05336510A (en) Motion compensation encoding device and decoding device
JP3214819B2 (en) Image conversion method and image encoding method
JPH10224792A (en) Image signal encoding method and apparatus
HK40025507A (en) Image decoding method and image encoding method
JP2001359095A (en) Image conversion apparatus and method
JPH08317401A (en) Device and method for image processing
JP2008042529A (en) Code amount evaluating device, image forming apparatus, and program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021015