JPH0937247A - Image coder and image coding method - Google Patents
Image coder and image coding methodInfo
- Publication number
- JPH0937247A JPH0937247A JP18241395A JP18241395A JPH0937247A JP H0937247 A JPH0937247 A JP H0937247A JP 18241395 A JP18241395 A JP 18241395A JP 18241395 A JP18241395 A JP 18241395A JP H0937247 A JPH0937247 A JP H0937247A
- Authority
- JP
- Japan
- Prior art keywords
- image
- point
- points
- data
- chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 44
- 238000001514 detection method Methods 0.000 claims abstract description 58
- 238000004364 calculation method Methods 0.000 claims abstract description 29
- 238000010586 diagram Methods 0.000 description 25
- 230000003111 delayed effect Effects 0.000 description 14
- 230000000007 visual effect Effects 0.000 description 13
- 238000000605 extraction Methods 0.000 description 4
- 238000013139 quantization Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000010339 dilation Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T9/00—Image coding
- G06T9/20—Contour coding, e.g. using detection of edges
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)
- Image Processing (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、画像符号化装置お
よび画像符号化方法に関する。特に、画像の特徴点に関
する情報を符号化して得られる符号化データのデータ量
を低減することができるようにした画像符号化装置およ
び画像符号化方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding device and an image coding method. In particular, the present invention relates to an image coding apparatus and an image coding method capable of reducing the data amount of coded data obtained by coding information about feature points of an image.
【0002】[0002]
【従来の技術】従来より、画像を、限られた伝送帯域下
で伝送する装置や、限られた蓄積容量を持つ記録媒体
(メディア)への記録を行う装置などにおいては、画像
データをより少ない符号語で効率的に圧縮するための高
能率符号化方式が採用されている。画像の高能率符号化
方式としては、例えば入力画像をDCT(離散コサイン
変換)によって直交変換し、各周波数帯域ごとに、人間
の視覚特性にしたがった適応量子化を行う方式や、ウエ
ーブレット基底(ウエーブレット変換)により画像をサ
ブバンドに分割し、それぞれのバンドごとに重み付けを
して符号化する方式などが知られている。これらの符号
化方式によれば、視覚的に歪みが目立ちにくく、また、
高圧縮率を実現することができる。2. Description of the Related Art Conventionally, in an apparatus for transmitting an image under a limited transmission band or an apparatus for recording on a recording medium having a limited storage capacity, the amount of image data is reduced. A high-efficiency coding method for efficiently compressing with code words is adopted. As a high-efficiency image coding method, for example, an input image is orthogonally transformed by DCT (discrete cosine transform) and adaptive quantization is performed for each frequency band according to human visual characteristics, and a wavelet basis ( A method is known in which an image is divided into subbands by wavelet transformation, and each band is weighted and encoded. According to these encoding methods, distortion is visually inconspicuous, and
A high compression rate can be realized.
【0003】しかしながら、これらの符号化方式におい
ては、さらに圧縮率を向上させようとすると、いわゆる
ブロック歪みなどの、視覚上好ましくない影響が顕著に
なる。However, in these encoding systems, if the compression ratio is further improved, the visually unfavorable effects such as so-called block distortion become remarkable.
【0004】そこで、高圧縮率下でも視覚上有害な歪み
が生じない符号化方式として、例えば画像の構造の特徴
的な点(特徴点)(例えば、エッジを構成する点(画
素)など)を抽出し、その特徴点における画像データを
効率的に符号化する、画像の特徴点検出による構造抽出
符号化方式がなどが知られている。Therefore, as an encoding method which does not cause visually harmful distortion even at a high compression rate, for example, characteristic points (characteristic points) of the structure of an image (for example, points (pixels) forming edges) are used. 2. Description of the Related Art There is known a structure extraction coding method by extracting a characteristic point of an image and efficiently encoding image data at the characteristic point.
【0005】図28は、構造抽出符号化方式により画像
を圧縮符号化する、従来の画像符号化装置の一例の構成
を示している。ディジタル化された画像データは、量子
化器11および2次元変化点検出回路10に入力され
る。量子化器11では、画像データが量子化され、これ
により量子化係数とされる。この量子化係数は、チェー
ン(チェイン)符号化回路(Chain Coder)12に供給
される。また、2次元変化点検出回路10では、入力さ
れた画像データが特徴点かどうかが検出され、入力され
た画像データが、特徴点である場合には、例えば値が1
の特徴点データが、特徴点でない場合には、例えば値が
0の特徴点データが、チェーン符号化回路12にそれぞ
れ出力される。FIG. 28 shows the configuration of an example of a conventional image coding apparatus for compressing and coding an image by the structure extraction coding method. The digitized image data is input to the quantizer 11 and the two-dimensional change point detection circuit 10. In the quantizer 11, the image data is quantized, and the quantized coefficient is obtained. This quantized coefficient is supplied to a chain (chain) encoding circuit (Chain Coder) 12. Further, the two-dimensional change point detection circuit 10 detects whether or not the input image data is a feature point, and when the input image data is a feature point, for example, the value is 1
When the feature point data of 1 is not the feature point, the feature point data having a value of 0 is output to the chain encoding circuit 12, respectively.
【0006】そして、量子化器11における量子化処理
と、2次元変化点検出回路10における特徴点の検出処
理とが、1フレームの画像データについて終了すると、
チェーン符号化回路12において、特徴点データが1の
点(画素)についての位置情報(特徴点の位置(座
標))がチェーン符号化され、さらに特徴点の量子化係
数(特徴点として検出された画素における画像データの
量子化係数)と多重化されて、チェーン符号化データと
される。このチェーン符号化データは、バッファ(バッ
ファメモリ)14に供給されて、一旦記憶された後、図
示せぬ記録媒体に記録され、あるいは伝送路に出力され
る。なお、チェーン符号化データは、バッファ14に一
旦記憶されることで、そのデータ量の平滑化がなされ、
これにより、記録媒体または伝送路には、ほぼ一定のデ
ータレートで、チェーン符号化データが出力される。When the quantization process in the quantizer 11 and the feature point detection process in the two-dimensional change point detection circuit 10 are completed for one frame of image data,
In the chain encoding circuit 12, the position information (position (coordinates) of the feature point) about the point (pixel) having the feature point data of 1 is chain-encoded, and further the quantized coefficient of the feature point (detected as the feature point It is multiplexed with the quantized coefficient of the image data in the pixel) to form chain encoded data. The chain-encoded data is supplied to the buffer (buffer memory) 14, temporarily stored therein, and then recorded in a recording medium (not shown) or output to the transmission path. Note that the chain encoded data is temporarily stored in the buffer 14 to smooth the data amount,
As a result, the chain encoded data is output to the recording medium or the transmission path at a substantially constant data rate.
【0007】[0007]
【発明が解決しようとする課題】ところで、2次元変化
点検出回路10における特徴点の検出は、基本的に、画
像データに対して微分処理を施すオペレータ(微分オペ
レータ)を用いて行われるが、微分オペレータによれ
ば、画像中の少しの起伏でも特徴点として検出される。
このため、例えば図29(A)に示すような、僅かな起
伏の連続するようなテクスチャの領域(このような領域
を、以下、適宜、テクスチャ領域という)(図29
(A)(後述する図24(A)においても同様)では、
例えば色の濃いまたは淡い部分が、それぞれ輝度の高い
または低い部分を表している)において、同図(B)に
示すように、多数の点(画素)が、特徴点(図中、斜線
を付してある部分)として検出される課題があった。The detection of feature points in the two-dimensional change point detection circuit 10 is basically performed by using an operator (differential operator) that performs differential processing on image data. According to the differential operator, even a slight undulation in the image is detected as a feature point.
Therefore, for example, as shown in FIG. 29A, an area of a texture in which slight undulations are continuous (such an area is hereinafter referred to as a texture area as appropriate) (FIG. 29).
In (A) (the same applies to FIG. 24A described later),
For example, in a dark or light portion represents high or low brightness, respectively, a large number of points (pixels) are marked with diagonal lines in the figure as shown in FIG. There is a problem that is detected as the part).
【0008】即ち、テクスチャ領域内部を構成する点
(画素)は、視覚的にはそれほど重要なものではないの
にも拘らず、このような点に関する情報が、チェーン符
号化データに含められるため、そのデータ量が増加する
課題があった。That is, although the points (pixels) forming the inside of the texture area are not so important visually, the information about such points is included in the chain encoded data. There was a problem that the amount of data increased.
【0009】本発明は、このような状況に鑑みてなされ
たものであり、構造抽出符号化方式により画像を圧縮符
号化することにより発生するデータのデータ量を低減す
ることができるようにするものである。The present invention has been made in view of such a situation, and makes it possible to reduce the data amount of data generated by compression-encoding an image by the structure extraction encoding method. Is.
【0010】[0010]
【課題を解決するための手段】請求項1に記載の画像符
号化装置は、画像の特徴点と、特徴点以外の点とからな
る2値画像のうち、特徴点の周囲の点を特徴点に変換し
た2値画像である膨張2値画像を生成する生成手段と、
膨張2値画像の変化点を検出する変化点検出手段と、画
像を構成する点が、変化点に近接する度合いを表す近接
度を算出する算出手段と、画像の特徴点から、近接度が
所定の閾値以上のものを選択する選択手段と、選択手段
により選択された特徴点に関する情報を符号化する符号
化手段とを備えることを特徴とする。According to a first aspect of the present invention, there is provided an image coding apparatus, wherein a point around a feature point is a feature point in a binary image including feature points of the image and points other than the feature point. Generating means for generating an expanded binary image which is a binary image converted into
A change point detection unit that detects a change point of the dilated binary image, a calculation unit that calculates a degree of proximity that represents the degree to which the points that make up the image are close to the change point, and a feature point of the image have a predetermined degree of proximity. It is characterized by comprising selection means for selecting a value greater than or equal to the threshold value of, and encoding means for encoding information regarding the feature points selected by the selection means.
【0011】この画像符号化装置においては、算出手段
には、画像を構成する点の近接度を、その点の周囲に存
在する変化点の数に基づいて算出させることができる。In this image coding apparatus, the calculating means can calculate the proximity of the points forming the image based on the number of change points existing around the points.
【0012】請求項3に記載の画像符号化方法は、画像
の特徴点と、特徴点以外の点とからなる2値画像のう
ち、特徴点の周囲の点を特徴点に変換した2値画像であ
る膨張2値画像を生成し、膨張2値画像の変化点を検出
し、画像を構成する点が、変化点に近接する度合いを表
す近接度を算出し、画像の特徴点から、近接度が所定の
閾値以上のものを選択し、選択された画像の特徴点に関
する情報を符号化することを特徴とする。According to a third aspect of the present invention, there is provided an image coding method, wherein a binary image obtained by converting points around a feature point into feature points in a binary image composed of feature points of the image and points other than the feature points. Is generated, the change point of the expanded binary image is detected, the degree of proximity of the points forming the image to the change point is calculated, and the proximity degree is calculated from the feature points of the image. Is selected to be greater than or equal to a predetermined threshold value, and information regarding the feature points of the selected image is encoded.
【0013】請求項4に記載の画像符号化装置は、画像
の特徴点に関する情報を符号化し、符号化データを出力
する符号化手段と、画像の特徴点と、特徴点以外の点と
からなる2値画像のうち、特徴点の周囲の点を特徴点に
変換した2値画像である膨張2値画像を生成する生成手
段と、膨張2値画像の変化点を検出する変化点検出手段
と、符号化データに基づいて、画像の特徴点を結ぶチェ
ーンを検出するチェーン検出手段と、チェーンが、変化
点に近接する度合いを表す近接度を算出する算出手段
と、符号化データから、その符号化データに対応するチ
ェーンの近接度が所定の閾値以上のものを選択して出力
する選択手段とを備えることを特徴とする。An image coding apparatus according to a fourth aspect of the present invention comprises coding means for coding information relating to feature points of an image and outputting coded data, feature points of the image, and points other than the feature points. Of the binary image, generating means for generating an expanded binary image which is a binary image obtained by converting points around the characteristic point into characteristic points, and change point detecting means for detecting a change point of the expanded binary image, A chain detecting means for detecting a chain connecting the feature points of the image based on the encoded data, a calculating means for calculating a degree of proximity indicating the degree of proximity of the chain to the change point, and encoding the encoded data from the encoded data. And a selecting means for selecting and outputting a chain whose degree of proximity corresponding to the data is a predetermined threshold value or more.
【0014】この画像符号化装置においては、算出手段
には、チェーンの近接度を、そのチェーンの周囲に存在
する変化点の数に基づいて算出させることができる。ま
た、算出手段には、チェーンの近接度を、そのチェーン
を構成する特徴点のうち、その周囲に、変化点が存在す
るものの数に基づいて算出させることができる。In this image coding apparatus, the calculating means can calculate the proximity of the chain based on the number of change points existing around the chain. In addition, the calculating unit can calculate the proximity of the chain based on the number of feature points that form the chain and have a change point around the feature points.
【0015】請求項7に記載の画像符号化方法は、画像
の特徴点と、特徴点以外の点とからなる2値画像のう
ち、特徴点の周囲の点を特徴点に変換した2値画像であ
る膨張2値画像を生成し、膨張2値画像の変化点を検出
する一方、画像の特徴点に関する情報を符号化して、符
号化データを出力し、符号化データに基づいて、画像の
特徴点を結ぶチェーンを検出し、チェーンが、変化点に
近接する度合いを表す近接度を算出し、その後、符号化
データから、その符号化データに対応するチェーンの近
接度が所定の閾値以上のものを選択して出力することを
特徴とする。An image coding method according to a seventh aspect of the present invention is a binary image obtained by converting points around a feature point into feature points in a binary image consisting of feature points of an image and points other than the feature points. Is generated, the change point of the expanded binary image is detected, the information about the feature point of the image is encoded, the encoded data is output, and the feature of the image is calculated based on the encoded data. A chain that connects points is detected, and a proximity that indicates the degree of proximity of the chain to the change point is calculated.After that, from the encoded data, the proximity of the chain corresponding to the encoded data is greater than or equal to a predetermined threshold. Is selected and output.
【0016】請求項1に記載の画像符号化装置において
は、生成手段は、画像の特徴点と、特徴点以外の点とか
らなる2値画像のうち、特徴点の周囲の点を特徴点に変
換した2値画像である膨張2値画像を生成し、変化点検
出手段は、膨張2値画像の変化点を検出するようになさ
れている。算出手段は、画像を構成する点が、変化点に
近接する度合いを表す近接度を算出し、選択手段は、画
像の特徴点から、近接度が所定の閾値以上のものを選択
するようになされている。符号化手段は、選択手段によ
り選択された特徴点に関する情報を符号化するようにな
されている。In the image coding apparatus according to the first aspect, the generating means sets a point around the feature point as a feature point in the binary image including the feature points of the image and points other than the feature points. An expanded binary image that is a converted binary image is generated, and the change point detection means detects the change point of the expanded binary image. The calculating means calculates the degree of proximity, which indicates the degree to which the points forming the image are close to the changing point, and the selecting means is configured to select, from the characteristic points of the image, those whose degree of proximity is equal to or greater than a predetermined threshold value. ing. The encoding means is adapted to encode the information regarding the feature point selected by the selecting means.
【0017】請求項3に記載の画像符号化方法において
は、画像の特徴点と、特徴点以外の点とからなる2値画
像のうち、特徴点の周囲の点を特徴点に変換した2値画
像である膨張2値画像を生成し、膨張2値画像の変化点
を検出し、画像を構成する点が、変化点に近接する度合
いを表す近接度を算出し、画像の特徴点から、近接度が
所定の閾値以上のものを選択し、選択された画像の特徴
点に関する情報を符号化するようになされている。In the image coding method according to the third aspect, a binary image obtained by converting points around the feature point into a feature point in a binary image including feature points of the image and points other than the feature points. An expansion binary image, which is an image, is generated, a change point of the expansion binary image is detected, a point that constitutes the image is calculated as a proximity indicating the degree of proximity, and the proximity point is calculated from the feature points of the image. It is configured such that a degree whose degree is equal to or higher than a predetermined threshold value is selected, and information regarding the feature points of the selected image is encoded.
【0018】請求項4に記載の画像符号化装置において
は、符号化手段は、画像の特徴点に関する情報を符号化
し、符号化データを出力するようになされている。生成
手段は、画像の特徴点と、特徴点以外の点とからなる2
値画像のうち、特徴点の周囲の点を特徴点に変換した2
値画像である膨張2値画像を生成し、変化点検出手段
は、膨張2値画像の変化点を検出するようになされてい
る。チェーン検出手段は、符号化データに基づいて、画
像の特徴点を結ぶチェーンを検出し、算出手段は、チェ
ーンが、変化点に近接する度合いを表す近接度を算出す
るようになされている。選択手段は、符号化データか
ら、その符号化データに対応するチェーンの近接度が所
定の閾値以上のものを選択して出力するようになされて
いる。In the image coding apparatus according to the fourth aspect, the coding means codes the information relating to the characteristic points of the image and outputs the coded data. The generating means is composed of feature points of the image and points other than the feature points.
In the value image, the points around the feature points are converted into feature points. 2
A dilation binary image, which is a value image, is generated, and the change point detection unit is configured to detect a change point of the dilation binary image. The chain detecting means detects the chain connecting the characteristic points of the image based on the encoded data, and the calculating means calculates the proximity degree indicating the degree of the chain approaching the change point. The selection means is configured to select and output, from the encoded data, a chain whose degree of proximity corresponding to the encoded data is a predetermined threshold value or more.
【0019】請求項7に記載の画像符号化方法において
は、画像の特徴点と、特徴点以外の点とからなる2値画
像のうち、特徴点の周囲の点を特徴点に変換した2値画
像である膨張2値画像を生成し、膨張2値画像の変化点
を検出する一方、画像の特徴点に関する情報を符号化し
て、符号化データを出力し、符号化データに基づいて、
画像の特徴点を結ぶチェーンを検出し、チェーンが、変
化点に近接する度合いを表す近接度を算出し、その後、
符号化データから、その符号化データに対応するチェー
ンの近接度が所定の閾値以上のものを選択して出力する
ようになされている。In the image coding method according to the seventh aspect, in a binary image composed of feature points of the image and points other than the feature points, binary values obtained by converting points around the feature points into feature points. An expanded binary image that is an image is generated, and a change point of the expanded binary image is detected, while information about a feature point of the image is encoded, encoded data is output, and based on the encoded data,
The chain connecting the feature points of the image is detected, the chain calculates the degree of proximity representing the degree of proximity to the change point, and then
From the encoded data, a chain whose degree of proximity corresponding to the encoded data is a predetermined threshold value or more is selected and output.
【0020】[0020]
【発明の実施の形態】以下に、本発明の実施例を説明す
るが、その前に、特許請求の範囲に記載の発明の各手段
と以下の実施例との対応関係を明らかにするために、各
手段の後の括弧内に、対応する実施例(但し、一例)を
付加して、本発明の特徴を記述すると、次のようにな
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below, but before that, in order to clarify the correspondence between each means of the invention described in the claims and the following embodiments. The features of the present invention are described as follows by adding a corresponding embodiment (however, an example) in parentheses after each means.
【0021】即ち、請求項1に記載の画像符号化装置
は、画像の特徴点を検出する特徴点検出手段(例えば、
図1に示す2次元変化点検出回路10など)と、画像の
特徴点と、特徴点以外の点とからなる2値画像のうち、
特徴点の周囲の点を特徴点に変換した2値画像である膨
張2値画像を生成する生成手段(例えば、図23に示す
膨張回路112など)と、膨張2値画像の変化点を検出
する変化点検出手段(例えば、図23に示す変化点検出
回路114など)と、画像を構成する点が、変化点に近
接する度合いを表す近接度を算出する算出手段(例え
ば、図23に示す近接度計算回路115など)と、画像
の特徴点から、近接度が所定の閾値以上のものを選択す
る選択手段(例えば、図23に示すセレクタ116な
ど)と、選択手段により選択された特徴点に関する情報
を符号化する符号化手段(例えば、図1に示すチェーン
符号化回路12など)とを備えることを特徴とする。That is, the image coding apparatus according to the first aspect is a feature point detecting means (for example, a feature point detecting means for detecting a feature point of an image.
Of the two-dimensional change point detection circuit 10 shown in FIG. 1), the feature points of the image, and the points other than the feature points,
A generation unit (for example, the expansion circuit 112 shown in FIG. 23) that generates an expanded binary image that is a binary image obtained by converting points around the characteristic point into the characteristic points, and a change point of the expanded binary image is detected. The change point detection means (for example, the change point detection circuit 114 shown in FIG. 23) and the calculation means for calculating the degree of proximity of the points forming the image to the change point (for example, the proximity shown in FIG. 23). Degree calculation circuit 115), selection means for selecting a feature point of the image having a degree of proximity equal to or higher than a predetermined threshold value (for example, selector 116 shown in FIG. 23), and the feature point selected by the selection means. A coding means for coding information (for example, the chain coding circuit 12 shown in FIG. 1) is provided.
【0022】また、請求項4に記載の画像符号化装置
は、画像の特徴点を検出する特徴点検出手段(例えば、
図26に示す2次元変化点検出回路10など)と、画像
の特徴点に関する情報を符号化し、符号化データを出力
する符号化手段(例えば、図26に示すチェーン符号化
回路12など)と、画像の特徴点と、特徴点以外の点と
からなる2値画像のうち、特徴点の周囲の点を特徴点に
変換した2値画像である膨張2値画像を生成する生成手
段(例えば、図27に示す膨張回路122など)と、膨
張2値画像の変化点を検出する変化点検出手段(例え
ば、図27に示す変化点検出回路124など)と、符号
化データに基づいて、画像の特徴点を結ぶチェーンを検
出するチェーン検出手段(例えば、図27に示すチェー
ン検出回路126など)と、チェーンが、変化点に近接
する度合いを表す近接度を算出する算出手段(例えば、
図27に示す近接度計算回路125など)と、符号化デ
ータから、その符号化データに対応するチェーンの近接
度が所定の閾値以上のものを選択して出力する選択手段
(例えば、図26に示すチェーンセレクト回路16な
ど)とを備えることを特徴とする。An image coding apparatus according to a fourth aspect of the present invention is a feature point detecting means (for example, a feature point detecting means for detecting a feature point of an image.
A two-dimensional change point detection circuit 10 shown in FIG. 26), and coding means for coding information about image feature points and outputting coded data (for example, a chain coding circuit 12 shown in FIG. 26), Generation means for generating an expanded binary image which is a binary image obtained by converting points around the feature point into feature points, out of the binary image consisting of the feature points of the image and points other than the feature points (for example, FIG. The expansion circuit 122 shown in FIG. 27), the change point detection means for detecting the change point of the expanded binary image (for example, the change point detection circuit 124 shown in FIG. 27), and the characteristics of the image based on the encoded data. A chain detection unit that detects a chain connecting points (for example, the chain detection circuit 126 shown in FIG. 27) and a calculation unit that calculates the degree of proximity of the chain to the change point (for example,
27 and the like) and a selection means (for example, in FIG. 26) that selects and outputs, from the encoded data, a chain whose degree of proximity corresponding to the encoded data is a predetermined threshold value or more. The chain select circuit 16 and the like shown) are provided.
【0023】なお、勿論この記載は、各手段を上記した
ものに限定することを意味するものではない。Of course, this description does not mean that each means is limited to the above.
【0024】図1は、本発明を適用した画像符号化装置
の第1実施例の構成を示している。なお、図中、図28
における場合と対応する部分については、同一の符号を
付してある。FIG. 1 shows the configuration of a first embodiment of an image coding apparatus to which the present invention is applied. In addition, in FIG.
The same reference numerals are given to the portions corresponding to the case in.
【0025】従って、この画像符号化装置においては、
2次元変化点検出回路10からは、入力された画像デー
タ(その画像データを有する画素)が特徴点であるかど
うかに対応した特徴点データが出力される一方、量子化
器11からは、画像データを量子化して得られる量子化
係数が出力される。Therefore, in this image coding apparatus,
The two-dimensional change point detection circuit 10 outputs feature point data corresponding to whether the input image data (pixels having the image data) is a feature point, while the quantizer 11 outputs an image. The quantized coefficient obtained by quantizing the data is output.
【0026】特徴点データは、変化点スレッショルド回
路13を介してチェーン符号化回路12に供給され、量
子化係数は、そのままチェーン符号化回路12に供給さ
れる。ここで、変化点スレッショルド回路13では、特
徴点データのうち、視覚的な重要度の低い特徴点につい
ての特徴点データの値が1から0に変更され、これによ
り、値が1の特徴点データの数が少なくされる。The feature point data is supplied to the chain coding circuit 12 via the change point threshold circuit 13, and the quantized coefficient is supplied to the chain coding circuit 12 as it is. Here, in the change point threshold circuit 13, the value of the feature point data for the feature point of low visual importance in the feature point data is changed from 1 to 0, whereby the feature point data having the value of 1 is changed. The number of is reduced.
【0027】チェーン符号化回路12では、前述したよ
うに、特徴点データが1の点(画素)についての位置情
報がチェーン符号化され、さらに特徴点の量子化係数と
多重化されて、チェーン符号化データとされる。In the chain encoding circuit 12, as described above, the position information about the point (pixel) whose feature point data is 1 is chain encoded, and further multiplexed with the quantized coefficient of the feature point to obtain the chain code. Data.
【0028】従って、変化点スレッショルド回路13に
おいて、値が1の特徴点データの数が少なくされるの
で、チェーン符号化データのデータ量を低減することが
できる。Therefore, in the change point threshold circuit 13, the number of feature point data having a value of 1 is reduced, so that the amount of chain encoded data can be reduced.
【0029】図2は、図1の2次元変化点検出回路10
の構成例を示している。画像データは、フレームバッフ
ァ41に供給され、一旦記憶される。フレームバッファ
41に、1フレーム分の画像データが記憶されると、そ
の画像データは、フレームバッファ41から読み出さ
れ、フィルタ(ローパスフィルタ)42に供給されて、
そこでフィルタリング(平滑化)される。その後、画像
データは、例えば、いわゆるラインスキャン順に、乗算
器43、1サンプル遅延回路(D)44、乗算器53、
および1ライン遅延回路(LD)54に供給される。FIG. 2 shows the two-dimensional change point detection circuit 10 of FIG.
The example of composition of is shown. The image data is supplied to the frame buffer 41 and temporarily stored. When one frame of image data is stored in the frame buffer 41, the image data is read from the frame buffer 41 and supplied to the filter (low-pass filter) 42.
There, it is filtered (smoothed). After that, the image data is, for example, in the so-called line scan order, the multiplier 43, the one-sample delay circuit (D) 44, the multiplier 53,
And a 1-line delay circuit (LD) 54.
【0030】乗算器43では、画像データに、−1が乗
算され、加算器45に出力され、1サンプル遅延回路4
4では、画像データが1サンプル分だけ遅延されて、加
算器45に出力される。加算器45では、乗算器43の
出力と、1サンプル遅延回路44の出力とが加算され
る。従って、第nサンプル目の画像データを現画像デー
タとし、x(n)と表すとすると、乗算器43、1サン
プル遅延回路44、および加算器45では、1サンプル
前の画像データx(n−1)(本実施例では、画像デー
タは、上述したように、ラインスキャン順にフィルタ4
2から出力されるから、1サンプル前の画像データx
(n−1)は、現画像データx(n)の画素の左に隣接
する画素の画像データということになる)と、現画像デ
ータx(n)との差分x(n−1)−x(n)が演算さ
れる。The multiplier 43 multiplies the image data by -1, outputs the result to the adder 45, and outputs the 1-sample delay circuit 4
In 4, the image data is delayed by one sample and output to the adder 45. In the adder 45, the output of the multiplier 43 and the output of the 1-sample delay circuit 44 are added. Therefore, assuming that the image data of the nth sample is the current image data and is represented by x (n), the multiplier 43, the 1-sample delay circuit 44, and the adder 45 can obtain the image data x (n- 1) (In this embodiment, the image data is filtered by the filter 4 in the line scan order as described above.
Since the data is output from 2, the image data x of one sample before x
(N-1) means the image data of the pixel adjacent to the left of the pixel of the current image data x (n)) and the difference x (n-1) -x between the current image data x (n). (N) is calculated.
【0031】ここで、以下、適宜、加算器45の出力
を、横方向振幅傾度という。Hereinafter, the output of the adder 45 will be referred to as a lateral amplitude gradient as appropriate.
【0032】加算器45から出力された横方向振幅傾度
は、2つに分けられて、いずれも乗算器46に入力され
る。乗算器46では、2つの横方向振幅傾度が乗算さ
れ、即ち、横方向振幅傾度が自乗され(以下、適宜、横
方向振幅傾度の自乗値を、横方向振幅傾度電力とい
う)、加算器47および1サンプル遅延回路48に供給
される。The lateral amplitude gradient output from the adder 45 is divided into two and both are input to the multiplier 46. In the multiplier 46, the two lateral amplitude gradients are multiplied, that is, the lateral amplitude gradient is squared (hereinafter, the squared value of the lateral amplitude gradient is appropriately referred to as lateral amplitude gradient power), the adder 47 and It is supplied to the 1-sample delay circuit 48.
【0033】加算器47には、横方向振幅傾度電力の
他、所定の閾値−T1が供給されるようになされてお
り、そこでは、横方向振幅傾度電力に閾値−T1が加算
される。即ち、加算器47では、横方向振幅傾度電力と
閾値T1との差分がとられる。この差分値は、乗算器5
0に供給される。In addition to the lateral amplitude gradient power, a predetermined threshold value -T1 is supplied to the adder 47, where the threshold value -T1 is added to the lateral amplitude gradient power. That is, the adder 47 takes the difference between the lateral amplitude gradient power and the threshold value T1. This difference value is calculated by the multiplier 5
0 is supplied.
【0034】また、1サンプル遅延回路48では、横方
向振幅傾度電力が1サンプル分だけ遅延され、加算器4
9に供給される(以下、適宜、1サンプル分だけ遅延さ
れた横方向振幅傾度電力を、遅延横方向振幅傾度電力と
いう)。加算器49には、横方向振幅傾度電力の他、所
定の閾値−T1が供給されるようになされており、そこ
では、遅延横方向振幅傾度電力に閾値−T1が加算され
る。即ち、加算器49では、加算器47における場合と
同様に、遅延横方向振幅傾度電力と閾値T1との差分が
とられる。この差分値は、乗算器50に供給される。In the one-sample delay circuit 48, the lateral amplitude gradient power is delayed by one sample, and the adder 4
9 (hereinafter, appropriately, the lateral amplitude gradient power delayed by one sample is referred to as delayed lateral amplitude gradient power). The adder 49 is supplied with a predetermined threshold value -T1 in addition to the lateral amplitude gradient power, and the threshold value -T1 is added to the delayed lateral amplitude gradient power. That is, in the adder 49, as in the case of the adder 47, the difference between the delayed lateral amplitude gradient power and the threshold T1 is obtained. This difference value is supplied to the multiplier 50.
【0035】乗算器50では、加算器47の出力と加算
器49の出力とが乗算され、コンパレータ51に出力さ
れる。コンパレータ51では、乗算器50の出力が0と
比較され、その出力が0以上のとき、または0未満のと
き、それぞれ0または1が、ORゲート52に出力され
る。The multiplier 50 multiplies the output of the adder 47 and the output of the adder 49 and outputs the result to the comparator 51. In the comparator 51, the output of the multiplier 50 is compared with 0, and when the output is 0 or more or less than 0, 0 or 1 is output to the OR gate 52, respectively.
【0036】ここで、加算器47または49からそれぞ
れ出力される横方向振幅傾度電力と閾値T1との差分
値、または遅延横方向振幅傾度電力と閾値T1との差分
値は、(x(n−1)−x(n))2−T1、または
(x(n−2)−x(n−1))2−T1と表すことが
できる。従って、コンパレータ51からは、横方向振幅
傾度電力(x(n−1)−x(n))2および遅延横方
向振幅傾度電力(x(n−2)−x(n−1))2が、
ともに閾値T1より大きい場合か、閾値T1より小さい
場合、またはそのうちのいずれか一方が0の場合に、0
が出力され、一方が閾値T1より小さく、他方が閾値T
1より大きい場合に、1が出力されることになる。Here, the difference value between the lateral amplitude gradient power output from the adder 47 or 49 and the threshold value T1 or the difference value between the delayed lateral amplitude gradient power and the threshold value T1 is (x (n- 1) -x (n)) 2- T1 or (x (n-2) -x (n-1)) 2- T1. Therefore, the lateral amplitude gradient power (x (n-1) -x (n)) 2 and the delayed lateral amplitude gradient power (x (n-2) -x (n-1)) 2 are output from the comparator 51. ,
0 if both are greater than the threshold T1, less than the threshold T1, or if one of them is 0
Is output and one is smaller than the threshold T1 and the other is the threshold T
If it is larger than 1, 1 will be output.
【0037】即ち、コンパレータ51からは、画素を水
平方向(横方向)(x軸方向)に見た場合において、画
素値の変化の割合(画素値の空間的な微分値)が大きく
変わるときに、1が出力される。That is, when the pixel is viewed in the horizontal direction (horizontal direction) (x-axis direction) from the comparator 51, when the rate of change of the pixel value (spatial differential value of the pixel value) greatly changes. 1 is output.
【0038】一方、乗算器53では、画像データに、−
1が乗算され、加算器55に出力され、1ライン遅延回
路54では、画像データが1ライン分だけ遅延されて、
加算器55に出力される。加算器55では、乗算器53
の出力と、1ライン遅延回路54の出力とが加算され
る。従って、1ラインの画素数を、LHとすると、乗算
器53、1ライン遅延回路54、および加算器55で
は、1ライン前の画像データx(n−LH)(本実施例
では、画像データは、上述したように、ラインスキャン
順にフィルタ42から出力されるから、1ライン前の画
像データx(n−LH)は、現画像データx(n)の画
素の上に隣接する画素の画像データということになる)
と、現画像データx(n)との差分x(n−LH)−x
(n)が演算される。On the other hand, in the multiplier 53, the image data
1 is multiplied and output to the adder 55, and the 1-line delay circuit 54 delays the image data by 1 line,
It is output to the adder 55. In the adder 55, the multiplier 53
And the output of the 1-line delay circuit 54 are added. Therefore, assuming that the number of pixels on one line is LH, the multiplier 53, the one-line delay circuit 54, and the adder 55 display the image data x (n-LH) of one line before (in this embodiment, the image data is As described above, the image data x (n-LH) of one line before is output from the filter 42 in the line scan order as the image data of the pixel adjacent to the pixel of the current image data x (n). Will be)
And the difference between the current image data x (n) and x (n-LH) -x
(N) is calculated.
【0039】ここで、以下、適宜、加算器55の出力
を、縦方向振幅傾度という。Here, hereinafter, the output of the adder 55 will be referred to as the vertical amplitude gradient as appropriate.
【0040】加算器55から出力された縦方向振幅傾度
は、2つに分けられて、いずれも乗算器56に入力され
る。乗算器56では、2つの縦方向振幅傾度が乗算さ
れ、即ち、縦方向振幅傾度が自乗され(以下、適宜、縦
方向振幅傾度の自乗値を、縦方向振幅傾度電力とい
う)、加算器57および1ライン遅延回路58に供給さ
れる。The vertical amplitude gradient output from the adder 55 is divided into two and both are input to the multiplier 56. In the multiplier 56, the two vertical amplitude gradients are multiplied, that is, the vertical amplitude gradient is squared (hereinafter, the square value of the vertical amplitude gradient is appropriately referred to as vertical amplitude gradient power), and the adder 57 and It is supplied to the 1-line delay circuit 58.
【0041】加算器57には、縦方向振幅傾度電力の
他、所定の閾値−T1が供給されるようになされてお
り、そこでは、縦方向振幅傾度電力に閾値−T1が加算
され、乗算器60に供給される。また、1ライン遅延回
路58では、縦方向振幅傾度電力が1ライン分だけ遅延
され、加算器59に供給される(以下、適宜、1ライン
分だけ遅延された縦方向振幅傾度電力を、遅延縦方向振
幅傾度電力という)。加算器59には、縦方向振幅傾度
電力の他、所定の閾値−T1が供給されるようになされ
ており、そこでは、縦延横方向振幅傾度電力に閾値−T
1が加算され、乗算器60に供給される。In addition to the vertical amplitude gradient power, a predetermined threshold value -T1 is supplied to the adder 57, where the threshold value -T1 is added to the vertical amplitude gradient power and the multiplier is added. 60. Further, in the 1-line delay circuit 58, the vertical amplitude gradient power is delayed by one line and supplied to the adder 59 (hereinafter, the vertical amplitude gradient power delayed by one line is appropriately delayed. Direction amplitude gradient power). A predetermined threshold value -T1 is supplied to the adder 59 in addition to the vertical amplitude gradient power, and the threshold value -T is set to the longitudinal horizontal amplitude gradient power.
1 is added and supplied to the multiplier 60.
【0042】乗算器60では、加算器57の出力と加算
器59の出力とが乗算され、コンパレータ61に出力さ
れる。コンパレータ61では、乗算器60の出力が0と
比較され、その出力が0以上のとき、または0未満のと
き、それぞれ0または1が、ORゲート52に出力され
る。The multiplier 60 multiplies the output of the adder 57 and the output of the adder 59 and outputs the result to the comparator 61. In the comparator 61, the output of the multiplier 60 is compared with 0, and when the output is 0 or more or less than 0, 0 or 1 is output to the OR gate 52, respectively.
【0043】ここで、加算器57または59からそれぞ
れ出力される縦方向振幅傾度電力と閾値T1との差分値
(閾値−T1との加算値)、または遅延縦方向振幅傾度
電力と閾値T1との差分値(閾値−T1との加算値)
は、(x(n−LH)−x(n))2−T1、または(x
(n−2LH)−x(n−LH))2−T1と表すことが
できる。従って、コンパレータ61からは、縦方向振幅
傾度電力(x(n−LH)−x(n))2および遅延縦方
向振幅傾度電力(x(n−2LH)−x(n−LH))2
が、ともに閾値T1より大きい場合か、閾値T1より小
さい場合、またはそのうちのいずれか一方が0の場合
に、0が出力され、一方が閾値T1より小さく、他方が
閾値T1より大きい場合に、1が出力されることにな
る。Here, the difference value between the vertical amplitude gradient power output from the adder 57 or 59 and the threshold value T1 (addition value of the threshold value −T1) or the delayed vertical amplitude gradient power value and the threshold value T1. Difference value (threshold value-added value with T1)
Is (x (n-LH) -x (n)) 2- T1 or (x
It can be expressed as (n-2LH) -x (n-LH)) 2 -T1. Therefore, from the comparator 61, the vertical amplitude gradient power (x (n-LH) -x (n)) 2 and the delayed vertical amplitude gradient power (x (n-2LH) -x (n-LH)) 2
Are both larger than the threshold T1, smaller than the threshold T1, or one of them is 0, 0 is output, and if one is smaller than the threshold T1 and the other is larger than the threshold T1, 1 is output. Will be output.
【0044】即ち、コンパレータ61からは、画素を垂
直方向(縦方向)(y軸方向)に見た場合において、画
素値の変化の割合が大きく変わるときに、1が出力され
る。That is, 1 is output from the comparator 61 when the rate of change of the pixel value greatly changes when the pixel is viewed in the vertical direction (vertical direction) (y-axis direction).
【0045】ORゲート52では、コンパレータ51の
出力と、コンパレータ61の出力とのOR(論理和)が
計算され、これが特徴点データとして出力される。従っ
て、水平方向または垂直方向の画素値の変化の割合が大
きく変わる画素については、値が1の特徴点データが出
力され、画素値の変化の割合が大きく変わらない画素に
ついては、値が0の特徴点データが出力されることにな
る。The OR gate 52 calculates the OR (logical sum) of the output of the comparator 51 and the output of the comparator 61, and outputs this as feature point data. Therefore, feature point data having a value of 1 is output for a pixel whose rate of change in pixel value in the horizontal direction or the vertical direction changes significantly, and 0 for a pixel whose rate of change in pixel value does not change significantly. The feature point data will be output.
【0046】次に、図3は、図1の2次元変化点検出回
路10の他の構成例を示している。この2次元変化点検
出回路10は、2次元変化点強度/最大変化方向計算回
路71および変化点検出回路72で構成されている。2
次元変化点強度/最大変化方向計算回路71では、画像
を構成する各画素について、画像データから、画素値が
最も大きく変化する方向(最大変化方向)と、その最大
変化方向への画素値の変化量に対応する値(変化強度)
とが計算され、変化点検出回路72に出力される。変化
点検出回路72では、最大変化方向および変化強度に基
づき、画像を構成する各画素について、その画素が特徴
点であるかどうかを判定し、特徴点であると判定した画
素については1を、特徴点でないと判定した画素につい
ては0を、それぞれ特徴点データとして出力する。Next, FIG. 3 shows another configuration example of the two-dimensional change point detection circuit 10 of FIG. The two-dimensional change point detection circuit 10 includes a two-dimensional change point strength / maximum change direction calculation circuit 71 and a change point detection circuit 72. Two
In the dimension change point strength / maximum change direction calculation circuit 71, for each pixel forming the image, the direction in which the pixel value changes most from the image data (maximum change direction) and the change in the pixel value in the maximum change direction. Value corresponding to the amount (change strength)
And are calculated and output to the change point detection circuit 72. The change point detection circuit 72 determines whether or not each pixel forming the image is a feature point based on the maximum change direction and the change intensity, and 1 is determined for the pixel determined to be the feature point, For pixels determined not to be feature points, 0 is output as feature point data.
【0047】図4は、図3の2次元変化点強度/最大変
化方向計算回路71の構成例を示している。画像データ
は、フレームバッファ81に供給され、一旦記憶され
る。フレームバッファ81に、1フレーム分の画像デー
タが記憶されると、その画像データは、フレームバッフ
ァ81から読み出され、フィルタ(ローパスフィルタ)
82に供給されて、そこでフィルタリングされる。その
後、画像データは、例えば、いわゆるラインスキャン順
に、乗算器83、1サンプル遅延回路(D)84、乗算
器93、および1ライン遅延回路(LD)94に供給さ
れる。FIG. 4 shows a configuration example of the two-dimensional change point strength / maximum change direction calculation circuit 71 of FIG. The image data is supplied to the frame buffer 81 and temporarily stored. When one frame of image data is stored in the frame buffer 81, the image data is read out from the frame buffer 81 and is filtered (low-pass filter).
It is fed to 82, where it is filtered. After that, the image data is supplied to the multiplier 83, the one-sample delay circuit (D) 84, the multiplier 93, and the one-line delay circuit (LD) 94, for example, in the so-called line scan order.
【0048】ここで、図4の乗算器83、1サンプル遅
延回路84、および加算器85でなるブロックは、図2
に示した乗算器43、1サンプル遅延回路44、および
加算器45でなるブロックと同様に構成されている。ま
た、図4の乗算器93、1ライン遅延回路94、および
加算器95でなるブロックは、図2に示した乗算器5
3、1ライン遅延回路54、および加算器55でなるブ
ロックと同様に構成されている。Here, the block consisting of the multiplier 83, the one-sample delay circuit 84, and the adder 85 of FIG.
It has the same configuration as the block including the multiplier 43, the one-sample delay circuit 44, and the adder 45 shown in FIG. In addition, the block including the multiplier 93, the 1-line delay circuit 94, and the adder 95 in FIG. 4 corresponds to the multiplier 5 shown in FIG.
The block has the same configuration as the block including the 3 and 1 line delay circuits 54 and the adder 55.
【0049】従って、加算器85または95からは、図
2の加算器45または55における場合と同様に、横方
向振幅傾度または縦方向振幅傾度がそれぞれ出力され
る。Therefore, as in the case of the adder 45 or 55 of FIG. 2, the adder 85 or 95 outputs the horizontal amplitude gradient or the vertical amplitude gradient, respectively.
【0050】この横方向振幅傾度および縦方向振幅傾度
は、最大変化方向計算回路87に供給される。最大変化
方向計算回路87では、横方向振幅傾度または縦方向振
幅傾度を、それぞれAまたはBと表すとすると、C=a
rctan(B/A)(tan-1(B/A))が計算さ
れ、その計算結果(角度)(方向)Cに応じて、図5
(A)に示すような値を、最大変化方向として出力す
る。The horizontal amplitude gradient and the vertical amplitude gradient are supplied to the maximum change direction calculation circuit 87. In the maximum change direction calculation circuit 87, if the horizontal amplitude gradient or the vertical amplitude gradient is expressed as A or B, respectively, C = a
rctan (B / A) (tan −1 (B / A)) is calculated, and according to the calculation result (angle) (direction) C, FIG.
A value as shown in (A) is output as the maximum change direction.
【0051】ここで、図5(A)から、最大変化方向
は、図5(B)に示すような方向を表す。即ち、値が0
の最大変化方向は、いま処理の対象としている画素(処
理対象の画素)(図5(B)において斜線を付してある
部分)の左および右方向を表し、値が1の最大変化方向
は、処理対象の画素の左下および右上方向を表す。さら
に、値が2の最大変化方向は、処理対象の画素の上およ
び下方向を表し、値が3の最大変化方向は、処理対象の
画素の右下および左上方向を表す。つまり、値が0の最
大変化方向は、左に隣接する画素P1および右に隣接す
る画素P6の方向を表し、値が1の最大変化方向は、左
下に隣接する画素P2および右上に隣接する画素P5の
方向を表す。さらに、値が2の最大変化方向は、上に隣
接する画素P3および下に隣接する画素P4の方向を表
し、値が3の最大変化方向は、右下に隣接する画素P7
および左上に隣接する画素P0の方向を表す。Here, from FIG. 5 (A), the maximum change direction represents the direction as shown in FIG. 5 (B). That is, the value is 0
Represents the left and right directions of the pixel currently being processed (the pixel to be processed) (the hatched portion in FIG. 5B), and the maximum changing direction with a value of 1 is , Represents the lower left and upper right directions of the pixel to be processed. Furthermore, the maximum change direction with a value of 2 represents the upper and lower directions of the pixel to be processed, and the maximum change direction with a value of 3 represents the lower right and upper left directions of the pixel to be processed. That is, the maximum change direction of the value 0 represents the direction of the pixel P1 adjacent to the left and the pixel P6 adjacent to the right, and the maximum change direction of the value 1 is the pixel P2 adjacent to the lower left and the pixel adjacent to the upper right. It represents the direction of P5. Further, the maximum change direction of the value 2 represents the direction of the pixel P3 adjacent to the upper side and the pixel P4 adjacent to the lower side, and the maximum change direction of the value 3 is the pixel P7 adjacent to the lower right side.
And the direction of the pixel P0 adjacent to the upper left corner.
【0052】次に、図4において、乗算器83、1サン
プル遅延回路84、加算器85、および乗算器86でな
るブロックは、図2に示した乗算器43、1サンプル遅
延回路44、加算器45、および乗算器46でなるブロ
ックと同様に構成されている。また、図4の乗算器9
3、1ライン遅延回路94、加算器95、および乗算器
96でなるブロックは、図2に示した乗算器53、1ラ
イン遅延回路54、加算器55、および乗算器56でな
るブロックと同様に構成されている。Next, in FIG. 4, the block consisting of the multiplier 83, the one-sample delay circuit 84, the adder 85, and the multiplier 86 is the multiplier 43, the one-sample delay circuit 44, and the adder shown in FIG. The block is composed of 45 and a multiplier 46. In addition, the multiplier 9 of FIG.
3, the block including the 1-line delay circuit 94, the adder 95, and the multiplier 96 is similar to the block including the multiplier 53, the 1-line delay circuit 54, the adder 55, and the multiplier 56 shown in FIG. It is configured.
【0053】従って、乗算器86または96からは、図
2の乗算器46または56における場合と同様に、横方
向振幅傾度電力または縦方向振幅傾度電力がそれぞれ出
力される。Therefore, as in the case of the multiplier 46 or 56 of FIG. 2, the multiplier 86 or 96 outputs the horizontal amplitude gradient power or the vertical amplitude gradient power, respectively.
【0054】この横方向振幅傾度電力および縦方向振幅
傾度電力は、加算器97に供給される。加算器97で
は、横方向振幅傾度電力と縦方向振幅傾度電力とが加算
され、その加算結果が、変化強度として出力される。The horizontal amplitude gradient power and the vertical amplitude gradient power are supplied to the adder 97. In the adder 97, the horizontal amplitude gradient power and the vertical amplitude gradient power are added, and the addition result is output as the change intensity.
【0055】以上のようにして求められた最大変化方向
および変化強度は、上述したように、変化点検出回路7
2(図3)に供給される。The maximum change direction and the change intensity obtained as described above are determined by the change point detection circuit 7 as described above.
2 (FIG. 3).
【0056】図6は、図3の変化点検出回路72の構成
例を示している。変化強度または最大変化方向は、フレ
ームバッファ101または102にそれぞれ供給されて
記憶される。フレームバッファ101または102に、
1フレーム分の変化強度または最大変化方向が記憶され
ると、セレクタ103は、フレームバッファ102か
ら、最大変化方向を、例えばラインスキャン順に順次読
み出し、各最大変化方向について、次のような処理を行
う。FIG. 6 shows a configuration example of the change point detection circuit 72 of FIG. The change intensity or the maximum change direction is supplied to and stored in the frame buffer 101 or 102, respectively. In the frame buffer 101 or 102,
When the change intensity or the maximum change direction for one frame is stored, the selector 103 sequentially reads the maximum change direction from the frame buffer 102, for example, in the line scan order, and performs the following processing for each maximum change direction. .
【0057】即ち、セレクタ103は、処理対象の画素
についての最大変化方向を、フレームバッファ102か
ら読み出すと、その最大変化方向に基づいて、図7に示
すような画素を、第1および第2最大変化方向候補点と
する。即ち、最大変化方向が、処理対象画素の左および
右方向を表す0である場合、図5(B)に示したよう
に、その左に隣接する画素P1または右に隣接する画素
P6が、それぞれ第1または第2最大変化方向候補点と
される。また、最大変化方向が、処理対象画素の左下お
よび右上方向を表す1である場合、その左下に隣接する
画素P2または右上に隣接する画素P5が、それぞれ第
1または第2最大変化方向候補点とされる。さらに、最
大変化方向が、処理対象画素の上および下方向を表す2
である場合、その上に隣接する画素P3または下に隣接
する画素P4が、それぞれ第1または第2最大変化方向
候補点とされる。同様に、最大変化方向が、処理対象画
素の左上および右下方向を表す3である場合、その左上
に隣接する画素P0または右下に隣接する画素P7が、
それぞれ第1または第2最大変化方向候補点とされる。That is, when the selector 103 reads the maximum change direction of the pixel to be processed from the frame buffer 102, the selector 103 selects the pixels shown in FIG. 7 based on the maximum change direction as the first and second maximum changes. Change direction candidate points. That is, when the maximum change direction is 0, which indicates the left and right directions of the pixel to be processed, the pixel P1 adjacent to the left or the pixel P6 adjacent to the right is, respectively, as shown in FIG. 5B. The candidate point is the first or second maximum change direction candidate point. When the maximum change direction is 1 indicating the lower left and upper right directions of the pixel to be processed, the pixel P2 adjacent to the lower left or the pixel P5 adjacent to the upper right is the first or second maximum change direction candidate point, respectively. To be done. Furthermore, the maximum change direction represents the upward and downward directions of the pixel to be processed.
In the case of, the pixel P3 adjacent to the pixel P3 above or the pixel P4 adjacent to the pixel below is set as the first or second maximum change direction candidate point, respectively. Similarly, when the maximum change direction is 3, which represents the upper left and lower right directions of the pixel to be processed, the pixel P0 adjacent to the upper left or the pixel P7 adjacent to the lower right is
Each of the candidate points is the first or second maximum change direction candidate point.
【0058】さらに、セレクタ103は、第1および第
2最大変化方向候補点である画素についての変化強度が
記憶されているアドレスをフレームバッファ101に出
力することで、それらの画素についての変化強度を、フ
レームバッファ101から読み出す。この第1または第
2最大変化方向候補点の変化強度は、加算器104また
は105にそれぞれ供給される。Further, the selector 103 outputs to the frame buffer 101 the addresses at which the change intensities of the pixels that are the first and second maximum change direction candidate points are stored, so that the change intensities of those pixels are calculated. , Read from the frame buffer 101. The change intensity of the first or second maximum change direction candidate point is supplied to the adder 104 or 105, respectively.
【0059】加算器104には、第1最大変化方向候補
点の変化強度の他、所定の閾値−T2が供給されるよう
になされており、そこでは、第1最大変化方向候補点の
変化強度に閾値−T2が加算される。即ち、加算器10
4では、第1最大変化方向候補点の変化強度と閾値T2
との差分がとられる。この差分値は、乗算器106に供
給される。The adder 104 is supplied with not only the change strength of the first maximum change direction candidate point but also a predetermined threshold value -T2, in which the change strength of the first maximum change direction candidate point is supplied. Is added with the threshold value -T2. That is, the adder 10
4, the change strength of the first maximum change direction candidate point and the threshold value T2
And the difference is taken. This difference value is supplied to the multiplier 106.
【0060】一方、加算器105にも、第2最大変化方
向候補点の変化強度の他、所定の閾値−T2が供給され
るようになされており、そこでは、第2最大変化方向候
補点の変化強度に閾値−T2が加算される。即ち、加算
器105においても、加算器104における場合と同様
に、第2最大変化方向候補点の変化強度と閾値T2との
差分がとられる。そして、この差分値も、乗算器106
に供給される。On the other hand, in addition to the change intensity of the second maximum change direction candidate point, a predetermined threshold value -T2 is also supplied to the adder 105, in which the second maximum change direction candidate point is selected. The threshold value -T2 is added to the change intensity. That is, also in the adder 105, as in the case of the adder 104, the difference between the change intensity of the second maximum change direction candidate point and the threshold value T2 is obtained. Then, this difference value is also calculated by the multiplier 106.
Is supplied to.
【0061】乗算器106では、加算器104の出力と
加算器105の出力とが乗算され、コンパレータ107
に出力される。コンパレータ107では、乗算器106
の出力が0と比較され、その出力が0以上のとき、また
は0未満のとき、それぞれ0または1が、特徴点データ
として出力される。In the multiplier 106, the output of the adder 104 and the output of the adder 105 are multiplied and the comparator 107
Is output to In the comparator 107, the multiplier 106
Is compared with 0, and when the output is 0 or more or less than 0, 0 or 1 is output as feature point data, respectively.
【0062】従って、この場合、コンパレータ107か
らは、第1および第2最大変化方向候補点の変化強度
が、ともに閾値T2より大きい場合か、閾値T2より小
さい場合、またはそのうちのいずれか一方が0の場合
に、0が出力され、一方が閾値T2より小さく、他方が
閾値T2より大きい場合に、1が出力されることにな
る。即ち、最大変化方向の画素値の変化の割合が大きく
変わる画素については、値が1の特徴点データが出力さ
れ、最大変化方向の画素値の変化の割合が大きく変わら
ない画素については、値が0の特徴点データが出力され
ることになる。Therefore, in this case, from the comparator 107, when the change intensities of the first and second maximum change direction candidate points are both larger than the threshold value T2, smaller than the threshold value T2, or one of them is 0. In this case, 0 is output, and if one is smaller than the threshold T2 and the other is larger than the threshold T2, 1 is output. That is, feature point data with a value of 1 is output for a pixel whose rate of change of the pixel value in the maximum change direction changes significantly, and the value of a pixel whose rate of change of the pixel value in the maximum change direction does not change significantly The feature point data of 0 will be output.
【0063】次に、図8は、図1のチェーン符号化回路
12の構成例を示している。量子化器11からの量子化
係数は、係数フレームバッファ21に供給されて記憶さ
れる。なお、係数フレームバッファ21では、画像上の
点(i,j)における画像データの量子化係数Qijが、
例えば図9に示すように、上位アドレスまたは下位アド
レスが、それぞれiまたはjで表されるアドレスに記憶
されるようになされている(但し、iまたはjそれぞれ
は、例えば画像を構成する画素(点)の水平方向(x軸
方向)または水平方向(y軸方向)の座標を表す)。Next, FIG. 8 shows a configuration example of the chain encoding circuit 12 of FIG. The quantized coefficient from the quantizer 11 is supplied to and stored in the coefficient frame buffer 21. In the coefficient frame buffer 21, the quantization coefficient Qij of the image data at the point (i, j) on the image is
For example, as shown in FIG. 9, an upper address or a lower address is stored at an address represented by i or j, respectively (however, each i or j is, for example, a pixel (point ) In the horizontal direction (x-axis direction) or the horizontal direction (y-axis direction)).
【0064】また、変化点スレッショルド回路13から
の特徴点データは、マスクフレームバッファ22に供給
されて記憶される。なお、マスクフレームバッファ22
においても、上述の係数フレームバッファ21における
場合と同様にして、特徴点データが記憶される。The feature point data from the change point threshold circuit 13 is supplied to the mask frame buffer 22 and stored therein. The mask frame buffer 22
Also in the above, the feature point data is stored in the same manner as in the case of the coefficient frame buffer 21 described above.
【0065】係数フレームバッファ21またはマスクフ
レームバッファ22に、1フレーム分の量子化係数また
は特徴点データが、それぞれ記憶されると、方向探索器
23において、図10に示すフローチャートにしたがっ
た処理が行われる。When one frame of quantized coefficients or feature point data is stored in the coefficient frame buffer 21 or the mask frame buffer 22, respectively, the direction searcher 23 performs the processing according to the flowchart shown in FIG. Be seen.
【0066】即ち、まず最初に、ステップS1におい
て、状態レジスタ24,X座標レジスタ25、およびY
座標レジスタ26が、0に初期化され、ステップS2に
進み、状態レジスタ24の記憶値が0であるか否かが判
定される。ステップS2において、状態レジスタ24の
記憶値が0であると判定された場合、ステップS3に進
み、未処理の座標があるかどうかが判定される。即ち、
方向探索器23は、後述するステップS4において、X
座標レジスタ25またはY座標レジスタ26それぞれ
に、1フレームの画像を構成する画素のxまたはy座標
を、例えばラインスキャン順(左から右、そして上から
下方向)にセットするようになされており、ステップS
3では、X座標レジスタ25またはY座標レジスタ26
それぞれに、画像をラインスキャン順に見た場合に、最
後に位置する画素のxまたはy座標がセットされている
かどうかが判定される(例えば、1フレームの画像が6
40×400画素でなる場合は、X座標レジスタ25ま
たはY座標レジスタ26それぞれに、640または40
0がセットされているかどうかが判定される)。That is, first, in step S1, the status register 24, the X coordinate register 25, and the Y register.
The coordinate register 26 is initialized to 0, and the process proceeds to step S2 to determine whether the stored value of the state register 24 is 0 or not. When it is determined in step S2 that the value stored in the state register 24 is 0, the process proceeds to step S3, and it is determined whether there are unprocessed coordinates. That is,
The direction searcher 23 determines X in step S4 described later.
The coordinate register 25 or the Y coordinate register 26 is configured to set x or y coordinates of pixels forming one frame image in, for example, a line scan order (from left to right and from top to bottom), Step S
3, the X coordinate register 25 or the Y coordinate register 26
When the images are viewed in line scan order, it is determined whether or not the x or y coordinate of the pixel located at the end is set (for example, if one frame image is 6
In the case of 40 × 400 pixels, 640 or 40 is set in the X coordinate register 25 or the Y coordinate register 26, respectively.
It is determined whether 0 is set).
【0067】ステップS3において、未処理の座標があ
ると判定された場合、ステップS4に進み、画像をライ
ンスキャン順に見て最初に現れる未処理の座標(x,y
座標それぞれ)が、X座標レジスタ25,Y座標レジス
タ26にセットされる。従って、係数フレームバッファ
21またはマスクフレームバッファ22に、1フレーム
分の量子化係数または特徴点データがそれぞれ記憶され
た直後は、X座標レジスタ25およびY座標レジスタ2
6には、いずれも0がセットされる。When it is determined in step S3 that there is an unprocessed coordinate, the process proceeds to step S4, and the unprocessed coordinate (x, y) that appears first in the line scan order of the image appears.
The respective coordinates are set in the X coordinate register 25 and the Y coordinate register 26. Therefore, immediately after the quantized coefficient for one frame or the feature point data is stored in the coefficient frame buffer 21 or the mask frame buffer 22, respectively, immediately after the X coordinate register 25 and the Y coordinate register 2 are stored.
In 6 is set 0 in all cases.
【0068】ここで、チェーン符号化回路12では、X
座標レジスタ25およびY座標レジスタ26の記憶値に
対応する座標の画素が、最初に処理の対象となるが、こ
のように処理の対象となる(なっている)画素を、以
下、適宜、注目画素という。Here, in the chain encoding circuit 12, X
The pixel of the coordinates corresponding to the stored values of the coordinate register 25 and the Y coordinate register 26 is the target of the process first, but the pixel which is (is) the target of the process is hereinafter referred to as the pixel of interest as appropriate. Say.
【0069】その後、ステップS5に進み、注目画素に
対応する特徴点データが、マスクフレームバッファ22
から読み出され(注目画素のx座標またはy座標をそれ
ぞれ上位アドレスまたは下位アドレスとするアドレスか
ら、特徴点データが読み出され)、それが1であるかど
うかが判定される。ステップS5において、特徴点デー
タが1でないと判定された場合(0であると判定された
場合)、即ち、注目画素が特徴点ではない場合、ステッ
プS2に戻る。また、ステップS5において、特徴点デ
ータが1であると判定された場合、即ち、注目画素が特
徴点である場合、ステップS6に進み、探索X座標レジ
スタ27または探索Y座標レジスタ28に、X座標レジ
スタ25またはY座標レジスタ26に記憶されている値
がセットされる。さらに、ステップS6では、3ビット
カウンタ29が0に初期化される。なお、3ビットカウ
ンタ29は、3ビットで表すことのできる数、即ち、例
えば0乃至7(23−1)をカウントすることができる
ようになされている。Thereafter, the process proceeds to step S5, where the feature point data corresponding to the pixel of interest is mask frame buffer 22.
Is read out (the feature point data is read out from the address having the x-coordinate or the y-coordinate of the pixel of interest as the upper address or the lower address, respectively), and it is determined whether or not it is 1. If it is determined in step S5 that the feature point data is not 1 (if it is determined to be 0), that is, if the pixel of interest is not a feature point, the process returns to step S2. If it is determined in step S5 that the feature point data is 1, that is, if the pixel of interest is a feature point, the process proceeds to step S6, and the search X coordinate register 27 or the search Y coordinate register 28 stores the X coordinate. The value stored in the register 25 or the Y coordinate register 26 is set. Further, in step S6, the 3-bit counter 29 is initialized to 0. The 3-bit counter 29 can count a number that can be represented by 3 bits, that is, 0 to 7 (2 3 −1), for example.
【0070】そして、方向探索器23では、ステップS
7において、値が1(Hレベル)の有効データ選択信号
が出力される。なお、有効データ選択信号は、通常は、
0(Lレベル)とされている。また、有効データ選択信
号は、ラッチ回路34、セレクタ36、およびマルチプ
レクサ37に供給されるようになされている。さらに、
有効データ選択信号は、0から1にされた後、1クロッ
ク分の時間が経過すると、再び0にされるようになされ
ている。Then, in the direction searching device 23, step S
At 7, the valid data selection signal whose value is 1 (H level) is output. The valid data selection signal is usually
It is set to 0 (L level). Further, the valid data selection signal is supplied to the latch circuit 34, the selector 36, and the multiplexer 37. further,
The valid data selection signal is set to 0 again when the time for one clock elapses after it is changed from 0 to 1.
【0071】さらに、ステップS7では、探索X座標レ
ジスタ27および探索Y座標レジスタ28に記憶されて
いる座標が読み出され、開始点座標として、セレクタ3
6に出力される。また、ステップS7では、状態レジス
タ24に1がセットされるとともに、マスクフレームバ
ッファ22に記憶されている、注目画素に対応する、値
が1の特徴点データが0に書き換えられて、ステップS
2に戻る。Further, in step S7, the coordinates stored in the search X coordinate register 27 and the search Y coordinate register 28 are read out, and the selector 3 is set as the start point coordinate.
6 is output. In step S7, 1 is set in the status register 24, and the feature point data having a value of 1 and corresponding to the pixel of interest stored in the mask frame buffer 22 is rewritten to 0.
Return to 2.
【0072】ここで、セレクタ36には、方向探索器2
3から有効データ選択信号および開始点座標が供給され
る他、状態レジスタ24の記憶値、ROM(Direction
ROM)33の出力、および方向変化信号発生器35の出
力が供給されるようになされている。そして、セレクタ
36は、値が1の有効データ選択信号を受信すると、状
態レジスタ24の記憶値を参照し、それが0である場合
には、方向探索器23からの開始点座標、ROM33の
出力、または方向変化信号発生器35の出力のうちの方
向探索器23からの開始点座標を選択して、マルチプレ
クサ37に出力するようになされている。Here, the selector 36 has a direction searching device 2
3, the valid data selection signal and the start point coordinates are supplied, the stored value of the state register 24, the ROM (Direction
The output of the ROM 33 and the output of the direction change signal generator 35 are supplied. When the selector 36 receives the valid data selection signal whose value is 1, the selector 36 refers to the value stored in the state register 24, and when it is 0, the start point coordinate from the direction searcher 23 and the output of the ROM 33. , Or the start point coordinate from the direction searching device 23 among the outputs of the direction change signal generator 35, and outputs it to the multiplexer 37.
【0073】また、マルチプレクサ37は、値が1の有
効データ選択信号を受信すると、注目画素の量子化係数
を、係数フレームバッファ21から読み出し、セレクタ
36の出力と多重化して出力するようになされている。When the multiplexer 37 receives the valid data selection signal having a value of 1, it reads the quantized coefficient of the pixel of interest from the coefficient frame buffer 21, multiplexes it with the output of the selector 36, and outputs it. There is.
【0074】従って、ステップS7において、状態レジ
スタ24の記憶値が0の場合において、有効データ選択
信号が1となったとき(注目画素が特徴点であるとき)
には、チェーン符号化回路12(マルチプレクサ37)
からは、特徴点となっている注目画素の座標(開始点座
標)と、その特徴点における量子化係数とを多重化した
チェーン符号化データが出力される。Therefore, in step S7, when the value stored in the status register 24 is 0, the valid data selection signal becomes 1 (when the pixel of interest is a feature point).
Includes the chain encoding circuit 12 (multiplexer 37)
Outputs chain coded data in which the coordinates (start point coordinates) of the pixel of interest as the feature point and the quantized coefficient at the feature point are multiplexed.
【0075】なお、状態レジスタ24の記憶値が0の場
合(以下、適宜、状態0の場合という)において、有効
データ選択信号が1となったときというのは、チェーン
を構成する特徴点であって、その始点となるものが見つ
かったときである。そして、この場合、上述したよう
に、ステップS7において、状態レジスタ24の記憶値
は1とされる。When the value stored in the state register 24 is 0 (hereinafter, appropriately referred to as the state 0), the fact that the valid data selection signal becomes 1 is a characteristic feature of the chain. Then, when the starting point was found. Then, in this case, as described above, the stored value of the state register 24 is set to 1 in step S7.
【0076】一方、ステップS2において、状態レジス
タ24の記憶値が0でないと判定された場合、ステップ
S8に進み、その記憶値が1であるかどうかが判定され
る。ステップS8において、状態レジスタ24の記憶値
が1であると判定された場合、図11のステップS11
に進み、アドレス発生器32が発生しているアドレスに
記憶されている特徴点データが、マスクフレームバッフ
ァ22から読み出される。On the other hand, if it is determined in step S2 that the storage value of the state register 24 is not 0, the process proceeds to step S8, and it is determined whether or not the storage value is 1. When it is determined in step S8 that the value stored in the status register 24 is 1, step S11 in FIG.
Then, the characteristic point data stored in the address generated by the address generator 32 is read from the mask frame buffer 22.
【0077】ここで、アドレス発生器32は、加算器3
8または39よりそれぞれ出力される値を、上位アドレ
スまたは下位アドレスとするアドレスを出力するように
なされている。加算器38には、探索X座標レジスタ2
7に記憶されているX座標とROM(Search X-ROM)3
0の出力値とが供給されるようになされており、そこで
は両者が加算されて出力されるようになされている。ま
た、加算器39には、探索Y座標レジスタ28に記憶さ
れているY座標とROM(Search Y-ROM)31の出力値
とが供給されるようになされており、そこでは、加算器
38における場合と同様に、やはり両者が加算されて出
力されるようになされている。Here, the address generator 32 is the adder 3
An address having a value output from 8 or 39 as an upper address or a lower address is output. The adder 38 has a search X coordinate register 2
X coordinate stored in 7 and ROM (Search X-ROM) 3
An output value of 0 is supplied, and both are added and output there. Further, the Y coordinate stored in the search Y coordinate register 28 and the output value of the ROM (Search Y-ROM) 31 are supplied to the adder 39. As in the case, both are also added and output.
【0078】ROM30および31は、3ビットのアド
レス空間を有し、そこには、図12に示すような値が記
憶されている。そして、ROM30および31は、3ビ
ットカウンタ29の出力値をアドレスとし、そのアドレ
スに記憶されている記憶値を出力するようになされてい
る。The ROMs 30 and 31 have a 3-bit address space in which the values shown in FIG. 12 are stored. The ROMs 30 and 31 use the output value of the 3-bit counter 29 as an address and output the stored value stored at that address.
【0079】従って、加算器38および39の出力を、
(加算器38の出力,加算器39の出力)というように
表すとともに、探索X座標レジスタ27または探索Y座
標レジスタ28に記憶されている値を、それぞれxまた
はyと表すとすると、3ビットカウンタ29の出力値が
0乃至7であるとき、加算器38および39の出力は、
それぞれ(x−1,y−1),(x−1,y),(x−
1,y+1),(x,y−1),(x,y+1),(x
+1,y−1),(x+1,y),(x+1,y+1)
となる。Therefore, the outputs of the adders 38 and 39 are
(Output of adder 38, output of adder 39), and the value stored in search X coordinate register 27 or search Y coordinate register 28 is expressed as x or y, respectively, a 3-bit counter. When the output value of 29 is 0 to 7, the outputs of the adders 38 and 39 are
(X-1, y-1), (x-1, y), (x-, respectively)
1, y + 1), (x, y-1), (x, y + 1), (x
+1, y-1), (x + 1, y), (x + 1, y + 1)
Becomes
【0080】よって、3ビットカウンタ29の出力値が
0乃至7に変化することで、アドレス発生器32は、図
13に示すように、探索X座標レジスタ27および探索
Y座標レジスタ28の記憶値で表される座標の画素(図
中、斜線を付してある部分)に隣接する8個の画素P0
乃至P7の座標に対応するアドレスを出力することにな
る。Therefore, as the output value of the 3-bit counter 29 changes from 0 to 7, the address generator 32 uses the stored values of the search X coordinate register 27 and the search Y coordinate register 28 as shown in FIG. Eight pixels P0 adjacent to the pixel of the coordinates shown (the hatched portion in the figure)
The address corresponding to the coordinates of P7 to P7 is output.
【0081】以上から、ステップS11では、探索X座
標レジスタ27および探索Y座標レジスタ28の記憶値
で表される座標の画素に隣接する画素(3ビットカウン
タ29が出力するカウント値に対応する画素)P0乃至
P7のいずれかにおける特徴点データが、マスクフレー
ムバッファ22から読み出されることになる。ここで、
後述する処理は、探索X座標レジスタ27および探索Y
座標レジスタ28の記憶値で表される座標の画素を元
に、それに隣接する画素を、いわば探索して(順次、注
目画素にして)行われるので、探索X座標レジスタ27
および探索Y座標レジスタ28の記憶値で表される座標
の画素を、以下、適宜、探索中心画素という。From the above, in step S11, the pixel adjacent to the pixel of the coordinates represented by the stored values of the search X coordinate register 27 and the search Y coordinate register 28 (pixel corresponding to the count value output by the 3-bit counter 29) The feature point data in any of P0 to P7 will be read from the mask frame buffer 22. here,
The process described below is performed by the search X coordinate register 27 and the search Y.
Based on the pixel of the coordinate represented by the value stored in the coordinate register 28, the pixel adjacent to the pixel is searched (sequentially as a target pixel), so the search X coordinate register 27
The pixel at the coordinate represented by the stored value of the search Y coordinate register 28 will be hereinafter referred to as a search center pixel as appropriate.
【0082】特徴点データが読み出されると、ステップ
S12に進み、その値が1であるか否かが判定される。
ステップS12において、特徴点データが1でないと判
定された場合、即ち、注目画素が特徴点でない場合、ス
テップS13に進み、3ビットカウンタ29のカウント
値(出力値)が7であるかどうかが判定される。ステッ
プS13において、3ビットカウンタ29のカウント値
が7でないと判定された場合、即ち、探索中心画素に隣
接する画素すべてについて処理を行っていない場合、ス
テップS14に進み、3ビットカウンタ29のカウント
値が1だけインクリメントされ、図10のステップS2
に戻る。なお、この場合、状態レジスタ24の記憶値は
1のままであるから、ステップS2およびステップS8
を介して、再度ステップS11以下の処理が行われるこ
とになる。When the characteristic point data is read, the process proceeds to step S12, and it is determined whether or not the value is 1.
If it is determined in step S12 that the feature point data is not 1, that is, if the pixel of interest is not a feature point, the process proceeds to step S13, and it is determined whether the count value (output value) of the 3-bit counter 29 is 7. To be done. If it is determined in step S13 that the count value of the 3-bit counter 29 is not 7, that is, if processing has not been performed for all pixels adjacent to the search center pixel, the process proceeds to step S14. Is incremented by 1, and step S2 in FIG.
Return to In this case, since the value stored in the status register 24 remains 1, the steps S2 and S8 are performed.
The processing from step S11 onward is performed again via.
【0083】また、ステップS13において、3ビット
カウンタ29のカウント値が7であると判定された場
合、即ち、探索中心画素に隣接する画素すべてについて
処理を行い、その結果、探索中心画素に隣接する画素に
特徴点がないことが判明した場合、ステップS15に進
み、状態レジスタ24に0がセットされ、ステップS2
に戻る。If it is determined in step S13 that the count value of the 3-bit counter 29 is 7, that is, all the pixels adjacent to the search center pixel are processed, and as a result, the search center pixel is adjacent to the search center pixel. When it is determined that the pixel has no feature point, the process proceeds to step S15, 0 is set in the state register 24, and step S2 is performed.
Return to
【0084】一方、ステップS12において、特徴点デ
ータが1であると判定された場合、即ち、注目画素が特
徴点である場合、ステップS16に進み、その注目画素
が、新たに探索中心画素とされる。即ち、探索X座標レ
ジスタ27または探索Y座標レジスタ28の記憶値が、
それぞれ注目画素のxまたはy座標に更新される。その
後、ステップS17に進み、有効データ選択信号が1に
され、状態レジスタ24の記憶値が2にされる。さら
に、ステップS17では、3ビットカウンタ29が0に
初期化されるとともに、マスクフレームバッファ22に
記憶されている、注目画素に対応する、値が1の特徴点
データが0に書き換えられて、ステップS2に戻る。On the other hand, if it is determined in step S12 that the feature point data is 1, that is, if the target pixel is a feature point, the process proceeds to step S16, and the target pixel is newly set as the search center pixel. It That is, the stored value of the search X coordinate register 27 or the search Y coordinate register 28 is
Each is updated to the x or y coordinate of the pixel of interest. Then, in step S17, the valid data selection signal is set to 1 and the value stored in the status register 24 is set to 2. Further, in step S17, the 3-bit counter 29 is initialized to 0, and the feature point data having a value of 1 and stored in the mask frame buffer 22 corresponding to the pixel of interest is rewritten to 0. Return to S2.
【0085】ここで、セレクタ36は、値が1の有効デ
ータ選択信号を受信すると、状態レジスタ24の記憶値
を参照し、それが1である場合には、方向探索器23か
らの開始点座標、ROM33の出力、または方向変化信
号発生器35の出力のうちのROM33の出力を選択し
て、マルチプレクサ37に出力するようになされてい
る。Here, when the selector 36 receives the valid data selection signal having a value of 1, it refers to the value stored in the state register 24, and if it is 1, the start point coordinate from the direction searcher 23. , The output of the ROM 33 from the outputs of the ROM 33 or the output of the direction change signal generator 35, and outputs the selected output to the multiplexer 37.
【0086】ROM33は、上述したROM30および
31と同様に、3ビットのアドレス空間を有し、そこに
は、図14に示すような値が記憶されている。そして、
ROM33は、やはり、ROM30および31と同様
に、3ビットカウンタ29の出力値をアドレスとし、そ
のアドレスに記憶されている記憶値(以下、適宜、この
記憶値を、方向データという)を出力するようになされ
ている。The ROM 33 has a 3-bit address space, like the ROMs 30 and 31 described above, in which values as shown in FIG. 14 are stored. And
Similarly to the ROMs 30 and 31, the ROM 33 uses the output value of the 3-bit counter 29 as an address, and outputs the stored value stored at that address (hereinafter, this stored value will be referred to as direction data as appropriate). Has been done.
【0087】従って、3ビットカウンタ29の出力値が
0乃至7であるとき、ROM33からは、方向データC
0乃至C7がそれぞれ出力される。この方向データC0
乃至C7は、探索中心画素からの、それに隣接する画素
が位置する8つの方向を表すようになされており、即
ち、例えば図15に示すように、左上、左、左下、上、
下、右上、右、または右下方向をそれぞれ表すようにな
されており、従って、方向データC0乃至C7は、探索
中心画素に対し、それに隣接する画素P0乃至P7が位
置する方向をそれぞれ表す。Therefore, when the output value of the 3-bit counter 29 is 0 to 7, the direction data C is read from the ROM 33.
0 to C7 are output respectively. This direction data C0
C7 to C7 represent eight directions in which pixels adjacent to the search center pixel are located, that is, upper left, left, lower left, upper, as shown in FIG. 15, for example.
The directions are downward, upper right, right, or lower right. Therefore, the direction data C0 to C7 respectively indicate the direction in which the pixels P0 to P7 adjacent to the search center pixel are located.
【0088】よって、ROM33からは、探索中心画素
に対する注目画素の方向を表す方向データが出力される
ことになる。なお、方向データは、セレクタ36の他、
ラッチ回路34および方向変化信号発生器35にも供給
されるようになされている。Therefore, the ROM 33 outputs direction data indicating the direction of the pixel of interest with respect to the search center pixel. In addition to the selector 36, the direction data is
The latch circuit 34 and the direction change signal generator 35 are also supplied.
【0089】以上から、ステップS17において、状態
レジスタ24の記憶値が1の場合において、有効データ
選択信号が1となったとき(注目画素が特徴点であると
き)には、チェーン符号化回路12(マルチプレクサ3
7)からは、探索中心画素(開始点座標に位置する画
素)に隣接する注目画素であって特徴点となっているも
のが位置する方向を表す方向データと、その注目画素に
おける量子化係数とを多重化したチェーン符号化データ
が出力される。From the above, in step S17, when the value stored in the state register 24 is 1, and the valid data selection signal becomes 1 (when the pixel of interest is a feature point), the chain encoding circuit 12 (Multiplexer 3
From 7), direction data indicating the direction in which the pixel of interest adjacent to the search center pixel (pixel located at the coordinates of the start point) and serving as the feature point is located, and the quantization coefficient of the pixel of interest. Is output as chain encoded data.
【0090】なお、状態レジスタ24の記憶値が1の場
合(以下、適宜、状態1の場合という)において、有効
データ選択信号が1となったときというのは、チェーン
を構成する特徴点であって、その始点に隣接するものが
見つかったときである。そして、この場合、上述したよ
うに、ステップS17において、状態レジスタ24の記
憶値は2とされる。When the value stored in the state register 24 is 1 (hereinafter, appropriately referred to as the state 1), the fact that the valid data selection signal becomes 1 is a characteristic feature of the chain. Then, the one adjacent to the starting point is found. In this case, as described above, the value stored in the status register 24 is set to 2 in step S17.
【0091】図10に戻り、ステップS8において、状
態レジスタ24の記憶値が1でないと判定された場合、
図16のステップS21に進む。ここで、状態レジスタ
24には、0乃至2のいずれかの整数が記憶されるよう
になされている。従って、状態レジスタ24の記憶値
が、図10のステップS2で0でないと判定され、同じ
く図10のステップS8で1でもないと判定されたとい
うことは、その値は2になっているということになる。Returning to FIG. 10, when it is determined in step S8 that the value stored in the status register 24 is not 1,
It progresses to step S21 of FIG. Here, the status register 24 is configured to store an integer of 0 to 2. Therefore, it is determined that the stored value of the state register 24 is not 0 in step S2 of FIG. 10 and is also not 1 in step S8 of FIG. 10, which means that the value is 2. become.
【0092】図16のステップS21では、図11のス
テップS11における場合と同様に、探索中心画素に隣
接するいずれかの画素(3ビットカウンタ29が出力す
るカウント値に対応する画素)における特徴点データ
が、マスクフレームバッファ22から読み出され、ステ
ップS22に進み、その値が1であるか否かが判定され
る。ステップS22において、特徴点データが1でない
と判定された場合、即ち、注目画素が特徴点でない場
合、ステップS23に進み、3ビットカウンタ29のカ
ウント値が7であるかどうかが判定される。ステップS
23において、3ビットカウンタ29のカウント値が7
でないと判定された場合、即ち、探索中心画素に隣接す
る画素すべてについて処理を行っていない場合、ステッ
プS24に進み、3ビットカウンタ29のカウント値が
1だけインクリメントされ、図10のステップS2に戻
る。なお、この場合、状態レジスタ24の記憶値は2の
ままであるから、ステップS2およびステップS8を介
して、再度ステップS21以下の処理が行われることに
なる。In step S21 of FIG. 16, as in the case of step S11 of FIG. 11, feature point data of any pixel adjacent to the search center pixel (pixel corresponding to the count value output by the 3-bit counter 29) Is read from the mask frame buffer 22, and the process proceeds to step S22, and it is determined whether the value is 1. If it is determined in step S22 that the feature point data is not 1, that is, if the pixel of interest is not the feature point, the process proceeds to step S23, and it is determined whether the count value of the 3-bit counter 29 is 7. Step S
23, the count value of the 3-bit counter 29 is 7
If not, that is, if all pixels adjacent to the search center pixel have not been processed, the process proceeds to step S24, the count value of the 3-bit counter 29 is incremented by 1, and the process returns to step S2 of FIG. . In this case, the value stored in the status register 24 remains 2, so that the processing from step S21 onward is performed again through steps S2 and S8.
【0093】また、ステップS23において、3ビット
カウンタ29のカウント値が7であると判定された場
合、即ち、探索中心画素に隣接する画素すべてについて
処理を行い、その結果、探索中心画素に隣接する画素に
特徴点がないことが判明した場合、ステップS25に進
み、状態レジスタ24に0がセットされ、ステップS2
に戻る。If it is determined in step S23 that the count value of the 3-bit counter 29 is 7, that is, all the pixels adjacent to the search center pixel are processed, and as a result, the search center pixel is adjacent to the search center pixel. When it is determined that the pixel has no feature point, the process proceeds to step S25, 0 is set in the state register 24, and step S2
Return to
【0094】一方、ステップS22において、特徴点デ
ータが1であると判定された場合、即ち、注目画素が特
徴点である場合、ステップS26に進み、探索X座標レ
ジスタ27または探索Y座標レジスタ28の記憶値が、
それぞれ注目画素のxまたはy座標に更新されることに
よって、その注目画素が、新たに探索中心画素とされ
る。その後、ステップS27に進み、有効データ選択信
号が1にされる。さらに、ステップS27では、3ビッ
トカウンタ29が0に初期化されるとともに、マスクフ
レームバッファ22に記憶されている、注目画素に対応
する、値が1の特徴点データが0に書き換えられて、ス
テップS2に戻る。なお、この場合、状態レジスタ24
の記憶値は2のままであるから、ステップS2およびス
テップS8を介して、再度ステップS21以下の処理が
行われることになる。但し、この場合、ステップS26
において、前回の処理の対象とされていた注目画素が、
新たに探索中心画素とされているため、その新たな探索
中心画素に隣接する画素を注目画素として処理が行われ
る。On the other hand, if it is determined in step S22 that the feature point data is 1, that is, if the pixel of interest is the feature point, the process proceeds to step S26 and the search X coordinate register 27 or the search Y coordinate register 28 is searched. The stored value is
The target pixel is newly set as the search center pixel by updating to the x or y coordinate of the target pixel. Then, the process proceeds to step S27, and the valid data selection signal is set to 1. Further, in step S27, the 3-bit counter 29 is initialized to 0, and the feature point data, which has a value of 1 and is stored in the mask frame buffer 22, is rewritten to 0. Return to S2. In this case, the status register 24
Since the stored value of 2 is still 2, the processing from step S21 onward is performed again through steps S2 and S8. However, in this case, step S26
At, the pixel of interest that was the target of the previous processing is
Since the pixel is newly set as the search center pixel, the pixel adjacent to the new search center pixel is processed as the pixel of interest.
【0095】ここで、セレクタ36は、値が1の有効デ
ータ選択信号を受信すると、状態レジスタ24の記憶値
を参照し、それが2である場合には、方向探索器23か
らの開始点座標、ROM33の出力、または方向変化信
号発生器35の出力のうちの方向変化信号発生器35の
出力を選択して、マルチプレクサ37に出力するように
なされている。Here, when the selector 36 receives the valid data selection signal having a value of 1, it refers to the value stored in the state register 24, and when it is 2, the start point coordinate from the direction searcher 23. , The output of the direction change signal generator 35 from the output of the ROM 33 or the output of the direction change signal generator 35, and outputs the selected output to the multiplexer 37.
【0096】方向変化信号発生器35には、ROM33
から出力される方向データと、ラッチ回路34の出力が
供給されるようになされており、そこでは、これらの入
力に基づいて、後述するような方向変化データが生成さ
れるようになされている。The direction change signal generator 35 includes a ROM 33.
And the output of the latch circuit 34 are supplied there, and based on these inputs, direction change data, which will be described later, is generated.
【0097】即ち、図17(A)に示すように、有効デ
ータ選択信号が1になると、ラッチ回路34は、ROM
33が出力する方向データ(図17(B))をラッチ
し、1クロック分遅延した後、次に、有効データ選択信
号が1になるまでの間、その方向データを、方向変化信
号発生器35に出力し続ける(図17(C))。即ち、
特徴点が見つかると(有効データ選択信号が1になる
と)、ラッチ回路34からは、その特徴点への、探索中
心画素からの方向を表す方向データが、次の特徴点が見
つかるまで出力され続ける。ここで、ラッチ回路34が
出力する方向データを、以下、適宜、前方向データ(図
17(C))という。That is, as shown in FIG. 17A, when the valid data selection signal becomes 1, the latch circuit 34 causes the ROM
The direction data (FIG. 17B) output by 33 is latched, delayed by one clock, and then the direction data is output until the valid data selection signal becomes 1. To continue to output (FIG. 17 (C)). That is,
When the feature point is found (when the effective data selection signal becomes 1), the latch circuit 34 continues to output direction data indicating the direction from the search center pixel to the feature point until the next feature point is found. . Here, the direction data output from the latch circuit 34 will be referred to as forward direction data (FIG. 17C) as appropriate.
【0098】方向変化信号発生器35は、有効データ選
択信号が1になると、即ち特徴点が見つかると、ラッチ
回路34が出力している前方向データが示す方向と、R
OM33から出力される方向データが示す方向を比較
し、その比較結果に対応して、前方向データが示す方向
に対する、方向データが示す方向への変化を表す方向変
化データを出力するようになされている。When the valid data selection signal becomes 1, that is, when the characteristic point is found, the direction change signal generator 35 outputs the direction indicated by the forward direction data output from the latch circuit 34 and R.
The direction indicated by the direction data output from the OM 33 is compared, and in accordance with the comparison result, the direction change data indicating the change in the direction indicated by the direction data with respect to the direction indicated by the previous direction data is output. There is.
【0099】即ち、方向変化信号発生器35は、例えば
図18(A)に示すように、前方向データが示す方向と
方向データが示す方向とが同一である場合、方向変化デ
ータとしてD0を出力する。また、方向変化信号発生器
35は、例えば図18(B)乃至(D)に示すように、
方向データが示す方向が、前方向データが示す方向と反
時計回りに45度、90度、または135度だけ異なる
場合、方向変化データとしてD1乃至D3をそれぞれ出
力する。さらに、方向変化信号発生器35は、図18
(E)乃至(G)に示すように、方向データが示す方向
が、前方向データが示す方向と時計回りに45度、90
度、または135度だけ異なる場合、方向変化データと
してD4乃至D6をそれぞれ出力する。That is, the direction change signal generator 35 outputs D0 as the direction change data when the direction indicated by the forward direction data and the direction indicated by the direction data are the same as shown in FIG. 18A, for example. To do. In addition, the direction change signal generator 35 is, for example, as shown in FIGS.
When the direction indicated by the direction data differs from the direction indicated by the forward direction data by 45 degrees, 90 degrees, or 135 degrees counterclockwise, D1 to D3 are respectively output as the direction change data. Further, the direction change signal generator 35 has the same configuration as that shown in FIG.
As shown in (E) to (G), the direction indicated by the direction data is 90 degrees clockwise from the direction indicated by the forward direction data by 90 degrees.
In the case of a difference of 135 degrees or 135 degrees, D4 to D6 are output as the direction change data.
【0100】なお、方向データが示す方向と前方向デー
タが示す方向との関係としては、上述の場合の他、図1
8(H)に示すように、両者の方向が180度異なる場
合があるが、図8のチェーン符号化回路12では、上述
したように、特徴点が一度処理の対象となると、それに
対応する特徴点データは0に書き換えられるので、方向
データが示す方向と前方向データが示す方向とが180
度異なるような場合が生じることはない。このため、図
18(H)に示したように、方向データが示す方向と前
方向データが示す方向とが180度異なる場合について
は、方向変化データとして、コードは与えられていない
(与える必要がない)。As for the relationship between the direction indicated by the direction data and the direction indicated by the forward direction data, in addition to the case described above, FIG.
As shown in FIG. 8 (H), the two directions may be different by 180 degrees, but in the chain encoding circuit 12 of FIG. 8, once the feature point becomes the processing target, as described above, the corresponding feature Since the point data is rewritten to 0, the direction indicated by the direction data and the direction indicated by the forward direction data are 180
There will be no occasions where they differ. Therefore, as shown in FIG. 18H, when the direction indicated by the direction data and the direction indicated by the forward direction data are different by 180 degrees, no code is given as the direction change data (it is necessary to give the code). Absent).
【0101】実際には、方向変化信号発生器35は、例
えば図19および図20に示すような前方向データおよ
び方向データと、方向変化データとの対応表を記憶して
おり、ラッチ回路34が出力している前方向データと、
ROM33から出力された方向データとの組み合わせと
一致する行を、対応表から検索し、その行の右欄に記述
されている方向変化データを出力する。なお、方向変化
データD0乃至D6には、例えば図21に示すような符
号語が割り当てられており、実際には、この符号語が出
力される。Actually, the direction change signal generator 35 stores a correspondence table of the direction change data and the forward direction data and direction data as shown in FIGS. 19 and 20, and the latch circuit 34 stores the correspondence table. The forward direction data being output,
A line matching the combination with the direction data output from the ROM 33 is searched from the correspondence table, and the direction change data described in the right column of the line is output. The code words as shown in FIG. 21, for example, are assigned to the direction change data D0 to D6, and the code words are actually output.
【0102】以上から、ステップS27において、状態
レジスタ24の記憶値が2の場合において、有効データ
選択信号が1となったとき(注目画素が特徴点であると
き)には、チェーン符号化回路12(マルチプレクサ3
7)からは、前回見つかった特徴点についての方向(前
々回見つかった特徴点から、前回見つかった特徴点への
方向)と、今回見つかった特徴点についての方向(前回
見つかった特徴点から、今回見つかった特徴点への方
向)との違いを表す方向変化データと、今回見つかった
特徴点(注目画素)における量子化係数とを多重化した
チェーン符号化データが出力される。From the above, in step S27, when the value stored in the state register 24 is 2 and the valid data selection signal becomes 1 (when the pixel of interest is a feature point), the chain encoding circuit 12 (Multiplexer 3
From 7), the direction about the feature point found last time (the direction from the feature point found two times before to the feature point found last time) and the direction about the feature point found this time (from the feature point found last time, found this time) The direction change data indicating the difference between the direction change data) and the quantized coefficient at the feature point (pixel of interest) found this time is multiplexed, and chain encoded data is output.
【0103】なお、状態レジスタ24の記憶値が2の場
合(以下、適宜、状態2の場合という)において、有効
データ選択信号が1となったときというのは、3以上の
連続する特徴点からなるチェーンを構成する特徴点であ
って、その始点およびそれに隣接するもの以外のもの
(3番目以降の特徴点)が見つかったときである。そし
て、この場合、状態レジスタ24の記憶値は2のままと
される。When the value stored in the status register 24 is 2 (hereinafter, appropriately referred to as the status 2), the valid data selection signal becomes 1 when the number of consecutive characteristic points is 3 or more. This is the case when a feature point that constitutes a chain that is other than the start point and ones adjacent thereto (third feature point and subsequent ones) is found. In this case, the value stored in the status register 24 remains 2.
【0104】図10に戻り、ステップS3において、未
処理の座標がないと判定された場合、処理を終了する。
そして、次のフレームについての量子化係数または特徴
点データが係数フレームバッファ21またはマスクフレ
ームバッファ22に記憶されるのを待って、再び、ステ
ップS1からの処理が行われる。Returning to FIG. 10, if it is determined in step S3 that there are no unprocessed coordinates, the process ends.
Then, after waiting for the quantized coefficient or feature point data for the next frame to be stored in the coefficient frame buffer 21 or the mask frame buffer 22, the processing from step S1 is performed again.
【0105】次に、図22を参照して、セレクタ36の
出力について、さらに説明する。いま、例えば図22に
示したように、5個の連続する特徴点(図中、斜線を付
してある部分)からなるチェーンが存在する場合、ライ
ンスキャン順に見ていくと、座標(i,j)に位置する
特徴点が最初に現れる。特徴点が最初に見つかった場合
の状態は、状態0であるから、セレクタ36からは、方
向探索器23が出力する、その特徴点の座標(i,j)
が開始点座標として出力される。その後、状態は状態1
とされ、座標(i,j)に位置する特徴点(以下、適
宜、特徴点(i,j)と記述する)に隣接する特徴点
(i+1,j)が検出される。この特徴点(i+1,
j)は、前回見つかった特徴点(i,j)の右方向に位
置し、また、状態は状態1であるから、セレクタ36か
らは、ROM33が出力する、右方向を表す方向データ
C6(図15)が出力される。そして、この場合、状態
は状態2にされる。The output of the selector 36 will be further described with reference to FIG. Now, for example, as shown in FIG. 22, when there is a chain consisting of five consecutive feature points (hatched portions in the figure), the coordinates (i, The feature point located at j) appears first. Since the state when the feature point is first found is state 0, the selector 36 outputs the coordinate (i, j) of the feature point output from the direction searcher 23.
Is output as the start point coordinates. After that, the state is state 1
Then, the feature point (i + 1, j) adjacent to the feature point located at the coordinate (i, j) (hereinafter, appropriately described as feature point (i, j)) is detected. This feature point (i + 1,
j) is located to the right of the previously found feature point (i, j), and the state is state 1. Therefore, the selector 36 outputs the direction data C6 (FIG. 15) is output. Then, in this case, the state is set to state 2.
【0106】次に、特徴点(i+1,j)に隣接する特
徴点(i+2,j+1)が検出される。この場合、状態
は状態2であるから、前回見つかった特徴点ついての方
向と、今回見つかった特徴点についての方向との違いを
表す方向変化データが、セレクタ36から出力される。
即ち、前回見つかった特徴点(i+1,j)についての
方向は、上述したように方向データC6で表される右方
向であり、また、今回見つかった特徴点(i+2,j+
1)についての方向は、この特徴点(i+2,j+1)
は、特徴点(i+1,j)の右下方向に位置するから、
方向データC7で表される。従って、図20に示した対
応表の、前方向データまたは方向データがそれぞれC6
またはC7となっている行の右欄に記述されている方向
変化データD4が、セレクタ36から出力される。Next, the feature point (i + 2, j + 1) adjacent to the feature point (i + 1, j) is detected. In this case, since the state is the state 2, the direction change data indicating the difference between the direction of the previously found feature point and the direction of the currently found feature point is output from the selector 36.
That is, the direction of the feature point (i + 1, j) found last time is the right direction represented by the direction data C6 as described above, and the feature point (i + 2, j +) found this time.
The direction of 1) is the characteristic point (i + 2, j + 1)
Is located in the lower right direction of the feature point (i + 1, j),
It is represented by the direction data C7. Therefore, the forward direction data or the direction data in the correspondence table shown in FIG. 20 is C6, respectively.
Alternatively, the direction change data D4 described in the right column of the row of C7 is output from the selector 36.
【0107】さらに、特徴点(i+2,j+1)には、
特徴点(i+3,j+2)が隣接しているから、この特
徴点(i+3,j+2)が検出される。そして、この特
徴点(i+3,j+2)が位置する方向は、前回見つか
った特徴点(i+2,j+1)についての方向データC
7が表す方向と同一の右下方向であり、従って、今回見
つかった特徴点(i+3,j+2)についての方向は、
方向データC7で表される。また、状態は状態2のまま
であるから、この場合、セレクタ36からは、図19に
示した対応表の、前方向データおよび方向データがいず
れもC7となっている行の右欄に記述されている方向変
化データD0が出力される。Further, the feature point (i + 2, j + 1) is
Since the feature points (i + 3, j + 2) are adjacent to each other, this feature point (i + 3, j + 2) is detected. The direction in which the feature point (i + 3, j + 2) is located is the direction data C for the previously found feature point (i + 2, j + 1).
It is the same lower right direction as the direction indicated by 7, and therefore the direction for the feature point (i + 3, j + 2) found this time is
It is represented by the direction data C7. In addition, since the state remains the state 2, in this case, from the selector 36, the forward direction data and the direction data in the correspondence table shown in FIG. Direction change data D0 being output.
【0108】そして、特徴点(i+3,j+2)に隣接
する特徴点(i+2,j+3)についても、特徴点(i
+3,j+2)と同様に処理され、その結果、セレクタ
36からは、方向変化データD6が出力される。The feature point (i + 2, j + 3) adjacent to the feature point (i + 3, j + 2) is also associated with the feature point (i
+3, j + 2), and as a result, the selector 36 outputs direction change data D6.
【0109】従って、画像上にチェーンが存在する場
合、チェーン符号化回路12からは、まず最初に、その
チェーンの始点となる特徴点の座標と、その特徴点にお
ける量子化係数とを多重化したものが出力される。その
後、その始点に隣接する特徴点についての方向データ
と、その特徴点における量子化係数とを多重化したもの
が出力される。そして、その特徴点に隣接する特徴点
(始点を除く)が存在する場合には、即ち、3番目以降
の特徴点が存在する場合には、その特徴点についての方
向変化データと、その特徴点における量子化係数とを多
重化したものが順次出力される。Therefore, when there is a chain on the image, the chain encoding circuit 12 first multiplexes the coordinates of the feature point which is the starting point of the chain and the quantized coefficient at the feature point. Stuff is output. Then, the direction data of the feature point adjacent to the start point and the quantized coefficient at the feature point are multiplexed and output. If there is a feature point (excluding the start point) adjacent to the feature point, that is, if there is a third feature point or later, the direction change data about the feature point and the feature point And the quantized coefficient in 1 is multiplexed and sequentially output.
【0110】次に、図23は、図1の変化点スレッショ
ルド回路13の構成例を示している。2次元変化点検出
回路10(図1)からの特徴点データは、フレームバッ
ファ111に供給されて記憶される。なお、フレームバ
ッファ111では、図8のマスクフレームバッファ22
(係数フレームバッファ21)における場合と同様に、
各画素についての特徴点データが、その画素の座標に対
応したアドレスに記憶されるようになされている。Next, FIG. 23 shows a configuration example of the change point threshold circuit 13 of FIG. The feature point data from the two-dimensional change point detection circuit 10 (FIG. 1) is supplied to and stored in the frame buffer 111. In the frame buffer 111, the mask frame buffer 22 shown in FIG.
As in the case of (coefficient frame buffer 21),
The feature point data for each pixel is stored at an address corresponding to the coordinates of the pixel.
【0111】フレームバッファ111に1フレーム分の
特徴点データが記憶されると、膨張回路112は、フレ
ームバッファ111を参照して、画像の特徴点と、特徴
点以外の点とからなる2値画像のうち、特徴点の周囲の
点を特徴点に変換した2値画像である膨張2値画像を生
成する。即ち、膨張回路112は、フレームバッファ1
11に記憶された特徴点データを、1および0の2値で
なる2値画像とみなし、その2値画像を構成する画素の
うち、値が1になっている画素(特徴点)を中心とする
L1×L2画素の範囲にある画素の画素値を1に変換す
ることで、値が1になっている画素を、いわば膨張させ
た膨張2値画像を生成する。When one frame of feature point data is stored in the frame buffer 111, the expansion circuit 112 refers to the frame buffer 111 and outputs a binary image including feature points of the image and points other than the feature points. Of these, an expanded binary image that is a binary image in which points around the characteristic point are converted into characteristic points is generated. That is, the expansion circuit 112 uses the frame buffer 1
The feature point data stored in 11 is regarded as a binary image having binary values of 1 and 0, and among the pixels forming the binary image, a pixel having a value of 1 (feature point) is set as the center. By converting the pixel value of the pixel in the range of L1 × L2 pixels to 1, the pixel having the value of 1 is expanded, so to speak, to generate an expanded binary image.
【0112】具体的には、膨張回路112は、フレーム
バッファ111から、例えばラインスキャン順に、特徴
点データを読み出し、フレームバッファ113に供給し
て、フレームバッファ111における場合と同様に、そ
の特徴点データに対応する画素の座標に対応したアドレ
スに記憶させる。この際、膨張回路112は、読み出し
た特徴点データが1である場合には、その特徴点データ
に対応する画素を中心とするL1×L2画素の範囲にあ
る画素の座標に対応するアドレスすべてに1を格納し、
特徴点データが0である場合には、そのまま、その特徴
点データに対応する画素の座標に対応する、フレームバ
ッファ113のアドレスに転送する(但し、この場合、
そのアドレスに、既に1が記憶されている場合、その1
を記憶させたままにする)。Specifically, the expansion circuit 112 reads out the characteristic point data from the frame buffer 111 in, for example, the line scan order, supplies the characteristic point data to the frame buffer 113, and, as in the case of the frame buffer 111, the characteristic point data. It is stored in the address corresponding to the coordinates of the pixel corresponding to. At this time, when the read characteristic point data is 1, the expansion circuit 112 sets all addresses corresponding to the coordinates of pixels in the range of L1 × L2 pixels centered on the pixel corresponding to the characteristic point data. Stores 1,
When the characteristic point data is 0, the characteristic point data is transferred as it is to the address of the frame buffer 113 corresponding to the coordinates of the pixel corresponding to the characteristic point data (however, in this case,
If 1 is already stored at that address, then 1
Will be remembered).
【0113】これにより、画像データとして、テクスチ
ャ領域を含む、例えば図24(A)に示すようなものが
入力され、2次元変化点検出回路10において、その画
像データに基づいて、例えば図24(B)に示すよう
に、テクスチャ領域の外周部分からだけでなく、その内
部からも特徴点(図中、斜線を付してある部分)が検出
された場合には、各特徴点を中心とするL1×L2画素
の範囲(図中、点線で囲んである範囲)も特徴点とさ
れ、その結果、図24(C)に示すような、テクスチャ
領域を膨張させ、かつその内部が特徴点で埋められたよ
うな膨張2値画像(図中、斜線を付してある部分が1
(特徴点)に、斜線を付していない部分が0に、それぞ
れ対応する)が構成される。なお、図24においては、
L1=L2=3としてある。As a result, image data including a texture area, for example, as shown in FIG. 24A is input, and the two-dimensional change point detection circuit 10 receives the image data, for example, as shown in FIG. As shown in B), when feature points (hatched portions in the drawing) are detected not only from the outer peripheral portion of the texture region but also from the inside thereof, each feature point is centered. A range of L1 × L2 pixels (range surrounded by a dotted line in the figure) is also set as a feature point, and as a result, the texture region is expanded and the inside is filled with the feature point as shown in FIG. 24 (C). Dilated binary image as shown (in the figure, the shaded area is 1
In (characteristic points), the non-hatched portions correspond to 0, respectively). In addition, in FIG.
L1 = L2 = 3.
【0114】フレームバッファ113に、以上のような
膨張2値画像が記憶されると、変化点検出回路114で
は、その膨張2値画像の変化点が検出される。即ち、例
えば、変化点検出回路114は、フレームバッファ11
3を参照し、膨張2値画像を構成する各画素と、その画
素の右に隣接する画素または下に隣接する画素との画素
値が異なる場合、その画素を変化点として検出し、値が
1の変化点データを、近接度計算回路115に出力す
る。また、変化点検出回路114は、膨張2値画像を構
成する各画素と、その画素の右に隣接する画素または下
に隣接する画素との画素値が、いずれも異ならない場
合、値が0の変化点データを、近接度計算回路115に
出力する。When the expanded binary image as described above is stored in the frame buffer 113, the changing point detection circuit 114 detects the changing point of the expanded binary image. That is, for example, the change point detection circuit 114 is
3, when the pixel value of each pixel forming the dilated binary image is different from the pixel adjacent to the right of the pixel or the pixel adjacent to the pixel below, the pixel is detected as a change point, and the value is 1 The change point data of is output to the proximity calculation circuit 115. Further, the change point detection circuit 114 has a value of 0 when the pixel values of each pixel forming the dilated binary image and the pixel adjacent to the right of the pixel or the pixel adjacent to the pixel below are not different from each other. The change point data is output to the proximity calculation circuit 115.
【0115】従って、図25(A)に示す、図24
(C)と同様の膨張2値画像が得られた場合、変化点デ
ータで構成される2値画像は、図25(B)に示すよう
な膨張2値画像の外周を囲むようなものとなる(図25
(B)においては、斜線を付してある部分が値が1の変
化点データに、斜線を付していない部分が値が0の変化
点データに、それぞれ対応する)。Therefore, as shown in FIG.
When an expanded binary image similar to that in (C) is obtained, the binary image composed of the change point data surrounds the outer periphery of the expanded binary image as shown in FIG. 25 (B). (Fig. 25
In (B), the shaded portion corresponds to the change point data having a value of 1, and the non-hatched portion corresponds to the change point data having a value of 0).
【0116】近接度計算回路115では、画像を構成す
る各画素について、その画素が、変化点検出回路114
で検出された変化点に近接する度合いを表す近接度が、
その画素の視覚的な重要度を表すものとして算出され
る。即ち、近接度計算回路115は、画像を構成する各
画素について、その画素を中心とするL1×L2画素の
範囲内に存在する変化点の数を、変化点検出回路114
からの変化点データに基づいてカウントし、そのカウン
ト値を、その画素の近接度とする。In the proximity calculation circuit 115, for each pixel forming an image, that pixel is changed point detection circuit 114.
The degree of proximity that indicates the degree of proximity to the change point detected in
It is calculated as representing the visual importance of the pixel. That is, the proximity calculation circuit 115 determines, for each pixel forming the image, the number of change points existing within the range of L1 × L2 pixels centered on the pixel as the change point detection circuit 114.
Counting is performed based on the change point data from, and the count value is set as the proximity of the pixel.
【0117】そして、近接度計算回路115は、近接度
を所定の閾値Tと比較し、その近接度が、閾値T以上の
場合、値が、例えば1のセレクトデータを、また、近接
度が閾値T未満の場合、値が、例えば0のセレクトデー
タを、それぞれセレクタ116に出力する。Then, the proximity calculation circuit 115 compares the proximity with a predetermined threshold T, and when the proximity is equal to or higher than the threshold T, the select data having a value of 1, for example, and the proximity having a threshold T When it is less than T, select data having a value of 0 is output to the selector 116, respectively.
【0118】セレクタ116は、近接度計算回路115
から、所定の画素に対応するセレクトデータを受信する
と、その画素に対応する特徴点データを、フレームバッ
ファ111から読み出す。そして、セレクトデータが1
である場合、フレームバッファ111から読み出した特
徴点データを選択してそのまま出力し、セレクトデータ
が0である場合、セレクトデータ、即ち、0を選択し、
これを、特徴点データとして出力する。The selector 116 has a proximity calculation circuit 115.
When the select data corresponding to a predetermined pixel is received, the feature point data corresponding to the pixel is read from the frame buffer 111. And the select data is 1
If it is, the feature point data read from the frame buffer 111 is selected and output as it is. If the select data is 0, select data, that is, 0 is selected,
This is output as feature point data.
【0119】従って、値が1の特徴点データであって
も、その画素の近接度(視覚的な重要度)が閾値T未満
である場合には、その値が0とされる。Therefore, even if the feature point data has a value of 1, the value is set to 0 when the proximity (visual importance) of the pixel is less than the threshold value T.
【0120】以上から、チェーン符号化回路12に供給
される、値が1の特徴点データの数が少なくされるの
で、チェーン符号化データのデータ量を低減することが
できる。さらに、この場合、値が1から0にされる特徴
点データに対応する画素は、視覚的な重要度の高いもの
ではないから、復号画像の画質の劣化もほとんどない。As described above, since the number of feature point data having a value of 1 supplied to the chain encoding circuit 12 is reduced, the data amount of the chain encoded data can be reduced. Further, in this case, the pixel corresponding to the feature point data whose value is changed from 1 to 0 is not of high visual importance, so that the image quality of the decoded image is hardly deteriorated.
【0121】即ち、例えば図24(B)に示したような
テクスチャ領域の内部に存在する、視覚的重要度の高く
ない特徴点(このような特徴点は、ノイズ状のエッジに
相当すると考えられる)が、特徴点でないものとして
(スレッショルディングされ)、チェーン符号化が行わ
れるので、画質をほとんど劣化させることなく、チェー
ン符号化データのデータ量を低減することができる。That is, for example, a feature point existing in the texture area as shown in FIG. 24B and having a low visual importance (such a feature point is considered to correspond to a noise-like edge). ) Is not a feature point (thresholding), and chain encoding is performed, so that the data amount of chain encoded data can be reduced with almost no deterioration in image quality.
【0122】次に、図26は、本発明を適用した画像符
号化装置の第2実施例の構成を示している。なお、図
中、図1の画像符号化装置における場合と対応する部分
については、同一の符号を付してある。即ち、この画像
符号化装置は、変化点スレッショルド回路13が削除さ
れるとともに、テクスチャチェーン除去回路15および
チェーンセレクト回路16が新たに設けられている他
は、図1の画像符号化装置と同様に構成されている。Next, FIG. 26 shows the configuration of the second embodiment of the image coding apparatus to which the present invention is applied. In the figure, the same reference numerals are given to the portions corresponding to the case of the image encoding device of FIG. That is, this image encoding device is the same as the image encoding device of FIG. 1 except that the change point threshold circuit 13 is deleted and the texture chain removing circuit 15 and the chain select circuit 16 are newly provided. It is configured.
【0123】従って、この画像符号化装置においては、
2次元変化点検出回路10より出力される特徴点データ
が、そのまま、チェーン符号化回路12に供給され、そ
こでは、従来における場合と同様に、2次元変化点検出
回路10で検出されたすべての特徴点について、チェー
ン符号化が行われる。そして、その結果得られたチェー
ン符号化データは、チェーンセレクト回路16に出力さ
れる。Therefore, in this image coding apparatus,
The feature point data output from the two-dimensional change point detection circuit 10 is directly supplied to the chain coding circuit 12, where all the feature point data detected by the two-dimensional change point detection circuit 10 are detected as in the conventional case. Chain encoding is performed on the feature points. Then, the chain encoded data obtained as a result is output to the chain select circuit 16.
【0124】チェーンセレクト回路16は、チェーン符
号化回路12から出力されたチェーン符号化データに対
応する各チェーンについて、そのチェーンの視覚的な重
要度を、テクスチャチェーン除去回路15に計算させ
る。テクスチャチェーン除去回路15では、チェーンセ
レクト回路16により指定されたチェーンの視覚的な重
要度が計算されるようになされており、その計算結果に
応じて、そのチェーンを出力するかどうかを決定するよ
うになされている。そして、チェーンセレクト回路16
は、テクスチャチェーン除去回路15の決定結果に応じ
て、チェーン符号化回路12より出力されたチェーン符
号化データから、視覚的な重要度が高いものを選択して
出力する。The chain select circuit 16 causes the texture chain removing circuit 15 to calculate the visual importance of each chain corresponding to the chain encoded data output from the chain encoding circuit 12. The texture chain removing circuit 15 is configured to calculate the visual importance of the chain designated by the chain select circuit 16, and to determine whether to output the chain according to the calculation result. Has been done. Then, the chain select circuit 16
Selects, from the chain-encoded data output from the chain-encoding circuit 12, one having a high visual importance according to the determination result of the texture chain removing circuit 15 and outputs the selected one.
【0125】従って、この場合、チェーンセレクト回路
16において、視覚的な重要度が高くないチェーンのチ
ェーン符号化データが、いわば除去されるので、画像符
号化装置から出力されるチェーン符号化データのデータ
量を低減することができる。Therefore, in this case, the chain select circuit 16 removes the chain-encoded data of the chain which is not so important in visual sense, so to speak, so that the data of the chain-encoded data output from the image encoding apparatus is removed. The amount can be reduced.
【0126】次に、図27は、テクスチャチェーン除去
回路15の構成例を示している。このテクスチャチェー
ン除去回路15には、2次元変化点検出回路10から出
力された特徴点データが供給され、その特徴点データ
は、フレームバッファ121に入力される。フレームバ
ッファ121、膨張回路122、フレームバッファ12
3、または変化点検出回路124は、図23に示したフ
レームバッファ111、膨張回路112、フレームバッ
ファ113、または変化点検出回路114とそれぞれ同
様に構成されるもので、従って、特徴点データは、フレ
ームバッファ121、膨張回路122、フレームバッフ
ァ123、および変化点検出回路124を介することに
より、変化点データとされ、近似度計算回路125に供
給される。Next, FIG. 27 shows a configuration example of the texture chain removing circuit 15. The feature point data output from the two-dimensional change point detection circuit 10 is supplied to the texture chain removal circuit 15, and the feature point data is input to the frame buffer 121. Frame buffer 121, expansion circuit 122, frame buffer 12
3 or the change point detection circuit 124 is configured similarly to the frame buffer 111, the expansion circuit 112, the frame buffer 113, or the change point detection circuit 114 shown in FIG. 23. Therefore, the feature point data is Through the frame buffer 121, the expansion circuit 122, the frame buffer 123, and the change point detection circuit 124, the change point data is obtained and supplied to the approximation degree calculation circuit 125.
【0127】一方、チェーン検出回路126には、チェ
ーンセレクト回路16(図26)から、チェーン符号化
データが供給される。チェーン検出回路126は、チェ
ーンセレクト回路16から、チェーン符号化データを受
信すると、そのチェーン符号化データに基づいて、即
ち、そこに含まれる開始点座標、方向データ、および方
向変化データ(図22)を参照して、特徴点を結ぶチェ
ーンを検出する。検出されたチェーンは、近似度計算回
路125に供給される。On the other hand, the chain detection circuit 126 is supplied with the chain encoded data from the chain select circuit 16 (FIG. 26). When the chain detection circuit 126 receives the chain encoded data from the chain select circuit 16, it is based on the chain encoded data, that is, the start point coordinates, the direction data, and the direction change data included therein (FIG. 22). The chain connecting the feature points is detected by referring to. The detected chain is supplied to the approximation calculation circuit 125.
【0128】近接度計算回路125では、チェーン検出
回路126から供給されたチェーンが、変化点検出回路
124で検出された変化点に近接する度合いを表す近接
度が、そのチェーンの視覚的な重要度を表すものとして
算出される。即ち、近接度計算回路125は、チェーン
検出回路126からのチェーンを構成する画素(特徴
点)それぞれを中心とするL1×L2画素の範囲内に存
在する変化点の数を、変化点検出回路124からの変化
点データに基づいて求め、さらに、その平均値(チェー
ンを構成する各画素を中心とするL1×L2画素の範囲
に存在する変化点の数の総和を、チェーンを構成する画
素数で除算したもの)を求めて、これを、そのチェーン
の近接度とする。In the proximity calculation circuit 125, the degree of proximity of the chain supplied from the chain detection circuit 126 to the change point detected by the change point detection circuit 124 is the visual importance of the chain. Is calculated. That is, the proximity calculation circuit 125 determines the number of change points existing within the range of L1 × L2 pixels centering on each pixel (feature point) forming the chain from the chain detection circuit 126, as the change point detection circuit 124. The average value (the total number of change points existing in the range of L1 × L2 pixels centering on each pixel forming the chain as the number of pixels forming the chain) Divide) and use this as the proximity of the chain.
【0129】なお、以上のようにして算出される近接度
は、チェーンを構成する各画素を中心とするL1×L2
画素の範囲に存在する変化点の密度ということができる
が、近接度としては、このような変化点の密度以外の量
を採用することが可能である。The proximity calculated as described above is L1 × L2 centered on each pixel forming the chain.
It can be said that the density of change points existing in the range of pixels, but as the degree of proximity, an amount other than the density of such change points can be adopted.
【0130】即ち、例えば、チェーンを構成する画素の
うち、それを中心とするL1×L2画素の範囲に変化点
が存在するものの数を、チェーンを構成する画素数で除
算し、その結果得られる値を、そのチェーンの近接度と
することが可能である。That is, for example, among the pixels forming the chain, the number of pixels having a change point in the range of L1 × L2 pixels around the pixel is divided by the number of pixels forming the chain, and the result is obtained. The value can be the proximity of the chain.
【0131】近接度計算回路125は、近接度の算出
後、その近接度を所定の閾値T4と比較し、その近接度
が、閾値T4以上の場合、値が、例えば1のセレクトデ
ータを、また、近接度が閾値T4未満の場合、値が、例
えば0のセレクトデータを、それぞれチェーンセレクト
回路16(図26)に出力する。After calculating the degree of proximity, the degree-of-proximity calculation circuit 125 compares the degree of proximity with a predetermined threshold value T4, and when the degree of proximity is equal to or higher than the threshold value T4, the select data having a value of 1, for example, , If the proximity is less than the threshold value T4, the select data having a value of, for example, 0 is output to the chain select circuit 16 (FIG. 26).
【0132】チェーンセレクト回路16では、チェーン
符号化データを、テクスチャチェーン除去回路15に出
力した後、テクスチャチェーン除去回路15(近接度計
算回路125)から、セレクトデータを受信すると、セ
レクトデータが1である場合には、テクスチャチェーン
除去回路15に出力したチェーン符号化データを選択し
てそのまま出力し、セレクトデータが0である場合、そ
のチェーン符号化データを削除する。従って、チェーン
セレクト回路16からは、チェーン符号化回路12から
のチェーン符号化データのうち、そのチェーンに対応す
るセレクトデータが1のもの、即ちチェーンの視覚的な
重要度が高いものだけが選択されて出力される。The chain select circuit 16 outputs the encoded data to the texture chain removing circuit 15 and then receives the select data from the texture chain removing circuit 15 (proximity calculation circuit 125). In some cases, the chain encoded data output to the texture chain removing circuit 15 is selected and output as it is. When the select data is 0, the chain encoded data is deleted. Therefore, the chain select circuit 16 selects only the coded data from the chain coding circuit 12 for which the select data corresponding to the chain is 1, that is, the chain having a high visual importance. Is output.
【0133】以上のように、チェーン符号化回路12か
ら出力されたチェーン符号化データが少なくされるの
で、画像符号化装置から出力されるチェーン符号化デー
タのデータ量を低減することができる。さらに、この場
合、セレクトデータが0であるチェーンは、視覚的な重
要度の高いものではないから、復号画像の画質の劣化も
ほとんどない。As described above, since the chain encoded data output from the chain encoding circuit 12 is reduced, the data amount of the chain encoded data output from the image encoding device can be reduced. Further, in this case, since the chain having select data of 0 is not of high visual importance, the image quality of the decoded image is hardly deteriorated.
【0134】以上、本発明を適用した画像符号化装置に
ついて説明したが、このような画像符号化装置は、例え
ばビデオテープレコーダや、テレビ会議システムなどに
組み込むことが可能である。The image coding apparatus to which the present invention is applied has been described above, but such an image coding apparatus can be incorporated in, for example, a video tape recorder or a video conference system.
【0135】なお、本実施例においては、画像データを
チェーン符号化するようにしたが、本発明は、その他、
画像データを、チェーン符号化以外の構造抽出符号化す
る場合に適用可能である。In this embodiment, the image data is chain-encoded, but the present invention is not limited to this.
It is applicable to the case where the image data is subjected to structure extraction coding other than chain coding.
【0136】また、本発明は、動画および静止画のいず
れにも適用可能である。The present invention can be applied to both moving images and still images.
【0137】さらに、本明細書中において、「近接度が
所定の閾値以上である(より大きい)とき」というの
は、近接度の値が大きい場合に、近接度が高くなること
を前提としている。従って、近接度が、値が小さい方が
高くなるように定義した場合には、本明細書中における
「近接度が所定の閾値以上である(より大きい)とき」
というのは、「近接度が所定の閾値以下である(より小
さい)とき」ということを意味する。Further, in the present specification, "when the degree of proximity is equal to or larger than a predetermined threshold value" means that the degree of proximity is high when the value of the degree of proximity is large. . Therefore, in the case where the proximity is defined such that the smaller the value is, the higher the proximity is, "when the proximity is equal to or larger than a predetermined threshold value" in the present specification.
That is, "when the degree of proximity is equal to or less than (smaller than) a predetermined threshold".
【0138】[0138]
【発明の効果】請求項1に記載の画像符号化装置および
請求項3に記載の画像符号化方法によれば、画像の特徴
点と、特徴点以外の点とからなる2値画像のうち、特徴
点の周囲の点を特徴点に変換した2値画像である膨張2
値画像が生成され、その膨張2値画像の変化点が検出さ
れる。さらに、画像を構成する点が、変化点に近接する
度合いを表す近接度が算出され、画像の特徴点から、近
接度が所定の閾値以上のものが選択される。そして、選
択された画像の特徴点に関する情報が符号化される。従
って、符号化の結果生じるデータのデータ量を低減する
ことができる。According to the image coding apparatus of the first aspect and the image coding method of the third aspect, among the binary images composed of the feature points of the image and the points other than the feature points, Expansion 2 which is a binary image in which points around the feature point are converted into feature points
A value image is generated, and a change point of the expanded binary image is detected. Further, the degree of proximity, which indicates the degree of proximity of the points forming the image to the change point, is calculated, and those having a degree of proximity equal to or higher than a predetermined threshold value are selected from the characteristic points of the image. Then, information about the feature points of the selected image is encoded. Therefore, the amount of data generated as a result of encoding can be reduced.
【0139】請求項4に記載の画像符号化装置および請
求項7に記載の画像符号化方法によれば、画像の特徴点
と、特徴点以外の点とからなる2値画像のうち、特徴点
の周囲の点を特徴点に変換した2値画像である膨張2値
画像が生成され、その膨張2値画像の変化点が検出され
る。一方、画像の特徴点に関する情報が符号化され、そ
の結果得られる符号化データに基づいて、画像の特徴点
を結ぶチェーンが検出される。さらに、そのチェーン
が、変化点に近接する度合いを表す近接度が算出され、
その後、符号化データから、その符号化データに対応す
るチェーンの近接度が所定の閾値以上のものが選択され
て出力される。従って、符号化データのデータ量を低減
することができる。According to the image coding apparatus of the fourth aspect and the image coding method of the seventh aspect, among the binary images composed of the feature points of the image and the points other than the feature points, the feature points An expanded binary image, which is a binary image obtained by converting the points around it to a feature point, is generated, and a change point of the expanded binary image is detected. On the other hand, the information about the feature points of the image is encoded, and the chain connecting the feature points of the image is detected based on the encoded data obtained as a result. Furthermore, the proximity, which represents the degree of proximity of the chain to the change point, is calculated,
After that, from the encoded data, those whose chain proximity corresponding to the encoded data is greater than or equal to a predetermined threshold value are selected and output. Therefore, the data amount of encoded data can be reduced.
【図1】本発明を適用した画像符号化装置の第1実施例
の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a first embodiment of an image encoding device to which the present invention has been applied.
【図2】図1の2次元変化点検出回路10の構成例を示
す図である。FIG. 2 is a diagram showing a configuration example of a two-dimensional change point detection circuit 10 in FIG.
【図3】図1の2次元変化点検出回路10の他の構成例
を示すブロック図である。3 is a block diagram showing another configuration example of the two-dimensional change point detection circuit 10 of FIG.
【図4】図3の2次元変化点強度/最大変化方向計算回
路71の構成例を示す図である。4 is a diagram showing a configuration example of a two-dimensional change point strength / maximum change direction calculation circuit 71 in FIG.
【図5】図4の最大変化方向計算回路87の動作を説明
するための図である。5 is a diagram for explaining the operation of the maximum change direction calculation circuit 87 of FIG.
【図6】図3の変化点検出回路72の構成例を示す図で
ある。6 is a diagram showing a configuration example of a change point detection circuit 72 in FIG.
【図7】図6のセレクタ103の動作を説明するための
図である。FIG. 7 is a diagram for explaining the operation of the selector 103 in FIG.
【図8】図1のチェーン符号化回路12の構成例を示す
ブロック図である。8 is a block diagram showing a configuration example of a chain encoding circuit 12 in FIG.
【図9】図8の係数フレームバッファ21の記憶内容を
説明するための図である。9 is a diagram for explaining the storage contents of the coefficient frame buffer 21 of FIG.
【図10】図8の方向探索器23の動作を説明するフロ
ーチャートである。10 is a flowchart illustrating an operation of the direction search device 23 of FIG.
【図11】図10のフローチャートに続くフローチャー
トである。11 is a flowchart following the flowchart of FIG.
【図12】図8のROM30および31の記憶内容を示
す図である。12 is a diagram showing stored contents of ROMs 30 and 31 of FIG. 8. FIG.
【図13】図8のアドレス発生器32が出力するアドレ
スを説明するための図である。FIG. 13 is a diagram for explaining an address output by the address generator 32 of FIG.
【図14】図8のROM33の記憶内容を示す図であ
る。14 is a diagram showing stored contents of a ROM 33 of FIG.
【図15】図8のROM33から出力される方向データ
が表す方向を示す図である。15 is a diagram showing a direction represented by direction data output from the ROM 33 of FIG.
【図16】図10のフローチャートに続くフローチャー
トである。16 is a flowchart following the flowchart of FIG.
【図17】図8の方向探索器23からの有効データ選択
信号、ROM33からの方向データ、およびラッチ回路
34からの前方向データの出力タイミングを示すタイミ
ングチャートである。17 is a timing chart showing the output timings of the valid data selection signal from the direction searcher 23, the direction data from the ROM 33, and the forward direction data from the latch circuit 34 in FIG.
【図18】図8の方向変化信号発生器35から出力され
る方向変化データを説明するための図である。18 is a diagram for explaining direction change data output from the direction change signal generator 35 of FIG.
【図19】図8の方向変化信号発生器35が記憶してい
る前方向データおよび方向データと、方向変化データと
の対応表を示す図である。19 is a diagram showing a correspondence table of forward direction data and direction data stored in the direction change signal generator 35 of FIG. 8 and direction change data.
【図20】図8の方向変化信号発生器35が記憶してい
る前方向データおよび方向データと、方向変化データと
の対応表を示す図である。20 is a diagram showing a correspondence table of direction change data and forward direction data and direction data stored in the direction change signal generator 35 of FIG.
【図21】図8の方向変化信号が出力する方向変化デー
タに割り当てられている符号語を示す図である。FIG. 21 is a diagram showing code words assigned to the direction change data output by the direction change signal of FIG. 8.
【図22】図8のセレクタ36から出力されるデータを
説明するための図である。22 is a diagram for explaining the data output from the selector 36 of FIG. 8. FIG.
【図23】図1の変化点スレッショルド回路13の構成
例を示すブロック図である。FIG. 23 is a block diagram showing a configuration example of a change point threshold circuit 13 of FIG. 1.
【図24】図23の膨張回路112の動作を説明するた
めの図である。FIG. 24 is a diagram for explaining the operation of the expansion circuit 112 in FIG. 23.
【図25】図23の変化点検出回路114の動作を説明
するための図である。FIG. 25 is a diagram for explaining the operation of the change point detection circuit 114 of FIG. 23.
【図26】本発明を適用した画像符号化装置の第2実施
例の構成を示すブロック図である。FIG. 26 is a block diagram showing a configuration of a second embodiment of an image encoding device to which the present invention has been applied.
【図27】図26のテクスチャチェーン除去回路15の
構成例を示すブロック図である。27 is a block diagram showing a configuration example of the texture chain removing circuit 15 in FIG. 26. FIG.
【図28】従来の画像符号化装置の一例の構成を示すブ
ロック図である。FIG. 28 is a block diagram showing a configuration of an example of a conventional image encoding device.
【図29】図28の2次元変化点検出回路10における
特徴点検出を説明するための図である。FIG. 29 is a diagram for explaining feature point detection in the two-dimensional change point detection circuit 10 in FIG. 28.
10 2次元変化点検出回路 11 量子化器 12 チェーン符号化回路 13 変化点スレッショルド回路 14 バッファ 15 テクスチャチェーン除去回路 16 チェーンセレクト回路 111 フレームバッファ 112 膨張回路 113 フレームバッファ 114 変化点検出回路 115 近接度計算回路 116 セレクタ 121 フレームバッファ 122 膨張回路 123 フレームバッファ 124 変化点検出回路 125 近接度計算回路 126 チェーン検出回路 10 Two-dimensional change point detection circuit 11 Quantizer 12 Chain coding circuit 13 Change point threshold circuit 14 Buffer 15 Texture chain removal circuit 16 Chain select circuit 111 Frame buffer 112 Expansion circuit 113 Frame buffer 114 Change point detection circuit 115 Proximity calculation Circuit 116 Selector 121 Frame Buffer 122 Expansion Circuit 123 Frame Buffer 124 Change Point Detection Circuit 125 Proximity Calculation Circuit 126 Chain Detection Circuit
Claims (7)
と、 前記画像の特徴点と、前記特徴点以外の点とからなる2
値画像のうち、前記特徴点の周囲の点を前記特徴点に変
換した2値画像である膨張2値画像を生成する生成手段
と、 前記膨張2値画像の変化点を検出する変化点検出手段
と、 前記画像を構成する点が、前記変化点に近接する度合い
を表す近接度を算出する算出手段と、 前記画像の特徴点から、前記近接度が所定の閾値以上の
ものを選択する選択手段と、 前記選択手段により選択された前記特徴点に関する情報
を符号化する符号化手段とを備えることを特徴とする画
像符号化装置。1. A feature point detecting means for detecting a feature point of an image; a feature point of the image; and a point other than the feature point.
Generation means for generating an expanded binary image that is a binary image obtained by converting points around the characteristic point into the characteristic points in the value image, and change point detection means for detecting a change point of the expanded binary image. And a calculating unit that calculates a degree of proximity that indicates the degree to which the points forming the image are close to the change point, and a selecting unit that selects, from the characteristic points of the image, those whose degree of proximity is a predetermined threshold value or more. And an encoding unit that encodes information about the feature point selected by the selection unit.
の前記近接度を、その点の周囲に存在する前記変化点の
数に基づいて算出することを特徴とする請求項1に記載
の画像符号化装置。2. The calculation means calculates the proximity of points forming the image based on the number of change points existing around the points. Image coding device.
値画像のうち、前記特徴点の周囲の点を前記特徴点に変
換した2値画像である膨張2値画像を生成し、 前記膨張2値画像の変化点を検出し、 前記画像を構成する点が、前記変化点に近接する度合い
を表す近接度を算出し、 前記画像の特徴点から、前記近接度が所定の閾値以上の
ものを選択し、 選択された前記画像の特徴点に関する情報を符号化する
ことを特徴とする画像符号化方法。3. A feature point of an image is detected, and the feature point of the image and a point other than the feature point are detected.
Of the value images, points around the feature points are converted into the feature points to generate an expanded binary image, and a change point of the expanded binary image is detected to configure the image. Calculates a degree of proximity representing the degree of proximity to the change point, selects from the feature points of the image that the degree of proximity is equal to or more than a predetermined threshold value, and encodes information about the selected feature point of the image. An image encoding method characterized by encoding.
と、 前記画像の特徴点に関する情報を符号化し、符号化デー
タを出力する符号化手段と、 前記画像の特徴点と、前記特徴点以外の点とからなる2
値画像のうち、前記特徴点の周囲の点を前記特徴点に変
換した2値画像である膨張2値画像を生成する生成手段
と、 前記膨張2値画像の変化点を検出する変化点検出手段
と、 前記符号化データに基づいて、前記画像の特徴点を結ぶ
チェーンを検出するチェーン検出手段と、 前記チェーンが、前記変化点に近接する度合いを表す近
接度を算出する算出手段と、 前記符号化データから、その符号化データに対応する前
記チェーンの近接度が所定の閾値以上のものを選択して
出力する選択手段とを備えることを特徴とする画像符号
化装置。4. A feature point detecting means for detecting a feature point of an image, an encoding means for encoding information about the feature point of the image and outputting encoded data, a feature point of the image, and the feature point. 2 with other points
Generation means for generating an expanded binary image that is a binary image obtained by converting points around the characteristic point into the characteristic points in the value image, and change point detection means for detecting a change point of the expanded binary image. A chain detecting means for detecting a chain connecting the feature points of the image based on the encoded data; a calculating means for calculating a proximity degree indicating a degree of the chain approaching the change point; An image coding apparatus comprising: a selected unit that selects and outputs, from the encoded data, the degree of proximity of the chain corresponding to the encoded data is a predetermined threshold value or more.
を、そのチェーンの周囲に存在する前記変化点の数に基
づいて算出することを特徴とする請求項4に記載の画像
符号化装置。5. The image coding apparatus according to claim 4, wherein the calculating unit calculates the proximity of the chain based on the number of the change points existing around the chain.
を、そのチェーンを構成する前記特徴点のうち、その周
囲に、前記変化点が存在するものの数に基づいて算出す
ることを特徴とする請求項4に記載の画像符号化装置。6. The calculating means calculates the degree of proximity of the chain based on the number of characteristic points forming the chain where the change point exists around the characteristic points. The image encoding device according to claim 4.
値画像のうち、前記特徴点の周囲の点を前記特徴点に変
換した2値画像である膨張2値画像を生成し、 前記膨張2値画像の変化点を検出する一方、 前記画像の特徴点に関する情報を符号化して、符号化デ
ータを出力し、 前記符号化データに基づいて、前記画像の特徴点を結ぶ
チェーンを検出し、 前記チェーンが、前記変化点に近接する度合いを表す近
接度を算出し、 その後、前記符号化データから、その符号化データに対
応する前記チェーンの近接度が所定の閾値以上のものを
選択して出力することを特徴とする画像符号化方法。7. A feature point of an image is detected, and is composed of a feature point of the image and a point other than the feature point.
Among the value images, points around the feature points are converted into the feature points to generate an expanded binary image, and a change point of the expanded binary image is detected, while a characteristic point of the image is detected. Information on the encoded data is output, encoded data is output, a chain connecting the feature points of the image is detected based on the encoded data, and the chain indicates the degree of proximity to the change point. An image coding method, wherein the image data is calculated and then selected from the coded data and having a proximity of the chain corresponding to the coded data of a predetermined threshold value or more and outputting the selected data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18241395A JP3470326B2 (en) | 1995-07-19 | 1995-07-19 | Image coding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18241395A JP3470326B2 (en) | 1995-07-19 | 1995-07-19 | Image coding method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0937247A true JPH0937247A (en) | 1997-02-07 |
JP3470326B2 JP3470326B2 (en) | 2003-11-25 |
Family
ID=16117862
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18241395A Expired - Fee Related JP3470326B2 (en) | 1995-07-19 | 1995-07-19 | Image coding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3470326B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012119859A (en) * | 2010-11-30 | 2012-06-21 | Fujitsu Ltd | Image processing device, image processing method and computer program for image processing |
-
1995
- 1995-07-19 JP JP18241395A patent/JP3470326B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012119859A (en) * | 2010-11-30 | 2012-06-21 | Fujitsu Ltd | Image processing device, image processing method and computer program for image processing |
Also Published As
Publication number | Publication date |
---|---|
JP3470326B2 (en) | 2003-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2933457B2 (en) | Wavelet transform coding method | |
JPH0955945A (en) | Motion vector identification method and apparatus | |
JP2930092B2 (en) | Image coding device | |
KR100944928B1 (en) | Apparatus and method for encoding and computing a discrete cosine transform using a butterfly processor | |
US5706366A (en) | Apparatus for encoding an image signal having a still object using an image warping technique | |
US5978513A (en) | Picture encoding method and apparatus and picture decoding method and apparatus | |
JP2723867B2 (en) | Image signal decoding device | |
JP3470326B2 (en) | Image coding method | |
JP2003204436A (en) | Image coding equipment and program thereof | |
JP2901656B2 (en) | Image coding device | |
JP2002064821A (en) | Method for compressing dynamic image information and its system | |
JP4083670B2 (en) | Image coding apparatus and image coding method | |
JPH09307897A (en) | Image data compression processing method | |
JPH0888849A (en) | Picture signal processing method and picture signal transmitter | |
JP2003224868A (en) | Image compression apparatus, image compression method, image compression program, and image expansion program | |
JP2891251B2 (en) | Image encoding device and image decoding device | |
JP3232160B2 (en) | Encoding device and method | |
JP3456617B2 (en) | Area dividing device | |
JP2001086506A (en) | Device and method for encoding image | |
JPH0937255A (en) | Motion parameter detector, motion parameter detection method and image coder | |
JPH0993585A (en) | Motion vector detecting device and method | |
JP2891751B2 (en) | Image signal compression encoding method and apparatus | |
JPH0937264A (en) | Image coder, image coding method, image decoder, image decoding method and recording medium | |
JPH10126782A (en) | Motion vector detection device | |
JPH0937248A (en) | Image coder and image coding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20030811 |
|
LAPS | Cancellation because of no payment of annual fees |