JPS63127671A - Resampling method - Google Patents

Resampling method

Info

Publication number
JPS63127671A
JPS63127671A JP61274492A JP27449286A JPS63127671A JP S63127671 A JPS63127671 A JP S63127671A JP 61274492 A JP61274492 A JP 61274492A JP 27449286 A JP27449286 A JP 27449286A JP S63127671 A JPS63127671 A JP S63127671A
Authority
JP
Japan
Prior art keywords
resampled
resampling
picture element
pixels
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61274492A
Other languages
Japanese (ja)
Inventor
Akiyoshi Tanaka
田中 章善
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61274492A priority Critical patent/JPS63127671A/en
Publication of JPS63127671A publication Critical patent/JPS63127671A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To reduce the deterioration in picture quality by deciding the position of a picture element subject to resampling in a television picture coding so that the sum of the square of the length of two diagonal lines of a quadrilateral formed by adjacent resampled picture elements and the square of the sides is minimized. CONSTITUTION:A resampling device consists of a one-picture element register 20 storing a resampled picture element, a resamplec clock controller 21 and a resampled picture element location calculator 22. A scanning line outputted from a sampling device 10 is resampled once per n-scanning lines by using a vertical resampled parameter (n) and a scanning line synchronizing signal 201 and a scanning line synchronizing signal 301 is outputted from the resampled clock controller 21 at that time. Through the constitution above, since the resampled picture element position calculator 22 decreases the difference between the distance of the sides and the length of diagonal lines of a quadrilateral formed by the adjacent resampled picture elements, a resampled picture element 300 outputted from the register 20 has a small difference in the correlation among picture elements.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は写真画像、テレビジョン画像などの静止画像、
あるいは動画像をディジタル化し蓄積又は伝送する画像
符号化の再標本化方法に関する。
[Detailed Description of the Invention] Industrial Application Field The present invention relates to still images such as photographic images and television images,
Alternatively, the present invention relates to a resampling method for image encoding that digitizes and stores or transmits moving images.

従来の技術 写真画像、テレビジョン画像などの静止画像あるいは動
画像をディジタル化し効率よく蓄積又は伝送するために
画像のもつ冗長度を抑圧し符号数を減少させる画像符号
化装置は、高い圧縮率を得るために、標本化された画像
を再び標本化し、再標本化画像を前記画像符号化装置で
符号化する再標本化方式が知られている。その再標本化
方式としては格子状標本化、ラインオフセット標本化な
どが知られている(参考文献:「動画像信号におけるサ
ブナイキスト標本化構造のスペクトラム解析」 松本修
−9村上仁己(電子通信学会画像工学研究会資料IE8
4−50(1984)))。
Conventional technology An image encoding device that suppresses the redundancy of images and reduces the number of codes in order to digitize still images or moving images such as photographic images and television images, and efficiently store or transmit them has a high compression rate. A resampling method is known in which a sampled image is sampled again and the resampled image is encoded by the image encoding device. Grid sampling, line offset sampling, etc. are known as resampling methods. Academic Society Image Engineering Study Group Material IE8
4-50 (1984))).

上記格子状標本化の標本点の位置を第3図(耐こ、ライ
ンオフセット標本化の標本点の位置を第3図(b)に示
す。なお、第3図(a)) (b)において、斜線部分
の画素が再標本化される画素である。いずれも、再標本
化によって、水平方向、垂直方向ともに画素数を1/2
に減する場合である。
The positions of the sample points in the grid-like sampling described above are shown in Figure 3 (Fig. 3(b)).The positions of the sampling points in the line offset sampling are shown in Figure 3(b). , the pixels in the shaded area are the pixels to be resampled. In both cases, the number of pixels is reduced by half in both the horizontal and vertical directions by resampling.
This is the case when it is reduced to .

発明が解決しようとする問題点 さて、従来の再標本化方式では再標本化画素位置が固定
されているため、水平方向および垂直方向の再標本化に
よって減する画素数の割合によっては再標本化される画
像における再標本化画素間の距離が水平方向と垂直方向
では大きく異ってしまう場合が存在する。このため、再
標本化画素間の相関が異なり、画素間の相関を用いた符
号化方式では符号化効率の低下を、或いは再標本化され
なかった画素を再標本化画素間の相関を用いて補間し画
像を再生する場合には再生画像の画質劣化をもたらすな
どの問題がある。
Problems to be Solved by the Invention Now, in the conventional resampling method, the resampling pixel position is fixed, so the resampling may change depending on the percentage of the number of pixels reduced by horizontal and vertical resampling. There are cases where the distance between resampled pixels in an image to be resampled differs greatly between the horizontal and vertical directions. For this reason, the correlation between resampled pixels is different, and encoding methods that use correlation between pixels may reduce coding efficiency, or pixels that have not been resampled may be replaced using correlation between resampled pixels. When an image is reproduced through interpolation, there are problems such as deterioration in the quality of the reproduced image.

本発明は従来技術の以上のような問題を解決するもので
、画素間の相関を用いた符号化方式あるいは補間方式を
用いる場合に適した再標本化方法を提供するものである
The present invention solves the above-mentioned problems of the prior art, and provides a resampling method suitable for using an encoding method or an interpolation method using correlation between pixels.

問題点を解決するための手段 本発明は漂本化された画像を水平方向、垂直方向ともに
与えられた割合に応じて画素数を削減する際、再標本化
される画素の再標本化される画像における位置を、とな
り合った再標本化画素のなす四辺形の2つの対角線の長
さの差の2乗と、岐短辺と最長辺の長さの差の2乗の和
が最小となるように定めることにより上記目的を達成す
るものである。
Means for Solving the Problems The present invention provides a method for reducing the number of pixels of a drifted image according to a given ratio in both the horizontal and vertical directions. The position in the image is minimized by the sum of the square of the difference in length between the two diagonals of the quadrilateral formed by adjacent resampled pixels and the square of the difference in length between the shortest side and the longest side. The above objective is achieved by establishing the following.

作  用 本発明は上記構成により、再標本化によって削減する画
素数の割合が水平方向、垂直方向で異っていても、再標
本化される1Ll−+i像において、互いにとなり合っ
た再標本化画素のなす四辺形の辺の距離および対角線長
の差が小さくなるため、画素間の相関の差が大きくなら
ず、画素間の相関を用いた符号化方式あるいは補間方式
に適した再標本化方法である。
According to the above-described configuration, the present invention can perform adjacent resampling in the 1Ll-+i image to be resampled, even if the ratio of the number of pixels to be reduced by resampling is different in the horizontal and vertical directions. A resampling method that is suitable for encoding methods or interpolation methods that use correlation between pixels because the difference in the distance between the sides and diagonal length of the quadrilateral formed by pixels is small, so the difference in correlation between pixels does not become large. It is.

実施例 以下、図面を参照しながら本発明の一実施例について説
明する。
Embodiment Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例における再標本化方法を実現
する装置の構成図である。第1図において、10は標本
化器で、クロック制御部11に人力される走査線同期信
号101に同期して、走査線毎に入力する画像信号10
0を標本化する。標本化された画像信号200は標本化
クロック制御部11からの走査線同期信号201および
両信号同期クロック202とともに、第1図破線で囲ま
れた再標本化装置に人力される。再標本化装置は再標本
化画素値を保持する1画素レジスタ20、再標本化クロ
ック制御器21および再標本化画素位置計算器22から
構成される。再標本化画素位置計算器22は水平方向再
標本化パラメータm。
FIG. 1 is a block diagram of an apparatus that implements a resampling method in an embodiment of the present invention. In FIG. 1, reference numeral 10 denotes a sampler, which inputs an image signal 10 for each scanning line in synchronization with a scanning line synchronization signal 101 manually inputted to a clock controller 11.
Sample 0. The sampled image signal 200, together with the scanning line synchronization signal 201 and both signal synchronization clocks 202 from the sampling clock control section 11, is manually inputted to a resampling device surrounded by a broken line in FIG. The resampling device comprises a one-pixel register 20 for holding resampled pixel values, a resampling clock controller 21, and a resampling pixel position calculator 22. The resampling pixel position calculator 22 calculates the horizontal resampling parameter m.

垂直方向再標本化パラメータnより、下記式で示すDが
最小となる再標本化パラメータRを演算する。(但し、
水平方向再標本化パラメータm、垂直方向再標本化パラ
メータnはそれぞれ水平方向(こ画像を17 rn G
こ、垂直方向に1 / nに再標本化する。また、Rは
第2図に示すように、第2j−1再標本化走査線と第2
」再標本化走査線の再標本化画素の画素位置の関係を示
す値である。すなわち、第2j−1再標本化走査線(」
=1,2,3゜4、・・・・・・)で画素1 、 m+
 1 、 2m+ 1 、・・・・・・。
From the vertical resampling parameter n, a resampling parameter R that minimizes D expressed by the following formula is calculated. (however,
The horizontal resampling parameter m and the vertical resampling parameter n are respectively horizontal (this image is 17 rn G
This is resampled to 1/n in the vertical direction. In addition, as shown in FIG.
'' is a value indicating the relationship between the pixel positions of the resampled pixels of the resampled scan line. That is, the 2j-1 resampled scan line (''
=1,2,3゜4,...), pixel 1, m+
1, 2m+1,...

pm+1.・・・・・・(p=1.2.3.4.・・・
・・・)が再標本化されたとき、第2」再標本化走査線
では画素R+1.m+R+1.2m+R+1. ・・・
−。
pm+1.・・・・・・(p=1.2.3.4...
) are resampled, then in the second resampling scan line, pixels R+1 . m+R+1.2m+R+1. ...
−.

p m + R+ 1 、・・・・・・が再標本化され
ることを示す。)。−(m−2n )2+(孟扉評−↓
庁;]ア)2式において、右辺第1項は互いに隣り合っ
た再標本化画素がなす四辺形の対角線の長さの差の2乗
を、第2項は辺の長さの差の2乗を示す。
Indicates that p m + R+ 1, . . . are to be resampled. ). -(m-2n)2+(Meng door review-↓
Office;] A) In Equation 2, the first term on the right side is the square of the difference in the length of the diagonal lines of the quadrilateral formed by adjacent resampled pixels, and the second term is the square of the difference in the length of the sides. Indicates the power.

上記構成において、以下その動作を説明する。The operation of the above configuration will be explained below.

なお、以下の説明では標本化器10と標本化クロック制
御部11の動作は割愛して、第1図の点線部分Gこおけ
る再標本化装置を中心に行なう。
In the following explanation, the operations of the sampler 10 and the sampling clock control section 11 will be omitted, and the resampling device shown in the dotted line G in FIG. 1 will be mainly described.

まず、標本化器10から出力される走査線は、垂直方向
再標本化パラメータnと、走査線同期信号201より、
n走査線毎に1回再標本化され、そのときの走査線同期
信号301が再標本化クロック制御器21より出力され
る。さらに、再標本化クロック制御器21は、上述した
式に基すき、再標本化画素位置計算器22からの再標本
化パラメータRと、クロック制御部11から出力されて
いる走査線同期信号201および画信号同期クロック2
02を用いて、前記第2j−1再標本化走査線が標本化
器10から出力されている場合は、画素1 、 m+ 
1 、 2m+ 1 、・・・・・・t  prn +
 1 t・・・・・・(p=1,2,3・・・・・・)
を1画素メモリ(レジスタ)に順次保持し、その値30
0を再標本化同期クロック302とともに出力する。一
方、前記第21再標本化走査線が標本化器10から出力
されている場合は、画素R+ 1 、 m + R+ 
1 。
First, the scanning line output from the sampler 10 is determined by the vertical resampling parameter n and the scanning line synchronization signal 201.
Resampling is performed once every n scanning lines, and the scanning line synchronization signal 301 at that time is output from the resampling clock controller 21. Further, the resampling clock controller 21 uses the resampling parameter R from the resampling pixel position calculator 22, the scanning line synchronization signal 201 output from the clock controller 11, and Image signal synchronization clock 2
02, and when the 2nd j-1 resampled scan line is output from the sampler 10, pixels 1, m+
1, 2m+ 1,...tprn+
1 t... (p=1, 2, 3...)
are sequentially held in one pixel memory (register), and the value 30
0 along with the resampling synchronization clock 302. On the other hand, when the 21st resampled scanning line is output from the sampler 10, pixels R+ 1 , m + R+
1.

2m+R+1. ・−・・−、pm−1−R+1. ・
−−−Cp=1+2.3・・・・・・)を1画素メモリ
(レジスタ)をこ順次保持し、その値300を再標本化
クロック302とともに出力する。
2m+R+1.・-・・-, pm-1-R+1.・
---Cp=1+2.3 .

以上第1図の構成によれば、再標本化画素位置計算器2
2により上記式に基づいてkを求めるので、すなわち互
いにとなり合った再標本化画素のなす四辺形の辺の距離
および対角線長の差が小さくなるので、レジスタ2oか
ら出力される再標本化画素値300は画素間の相関の差
が小さなものとなっている。
According to the configuration shown in FIG. 1, the resampling pixel position calculator 2
2, k is calculated based on the above formula, that is, the distance between the sides of the quadrilateral formed by adjacent resampled pixels and the difference in the diagonal length become small, so the resampled pixel value output from register 2o 300 has a small difference in correlation between pixels.

なお、本実施例の説明において、再標本化の水平方向開
始位置(初期値)は画像の第1画素としたが、再標本化
クロック制御器21に初期値を示す信号を人力すること
により容易に制御することができる。垂直方向の再標本
化開始走査線位置についても同様である。
In the description of this embodiment, the horizontal direction start position (initial value) of resampling is assumed to be the first pixel of the image, but it can be easily changed by manually inputting a signal indicating the initial value to the resampling clock controller 21. can be controlled. The same applies to the resampling start scan line position in the vertical direction.

発明の効果 以上のように本発明は、再標本化される画像における再
標本化される画素の位置を、互いに隣り合った再標本化
画素のなす四辺形の2つの対角線の長さの2乗と辺の長
さの2乗の和が最小となるように定めることにより、画
素間の相関の差が大きくならないため、画素間の相関を
用いて補間を行なう際に画質劣化が少なくすることがで
き、その効果は大きい。
Effects of the Invention As described above, the present invention determines the position of a pixel to be resampled in an image to be resampled using the square of the length of two diagonals of a quadrilateral formed by adjacent resampled pixels. By setting the sum of the squares of the lengths of the sides to be the minimum, the difference in the correlation between pixels will not become large, thereby reducing the deterioration of image quality when performing interpolation using the correlation between pixels. It can be done, and the effects are great.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例における再標本化方法を実現
する装置のブロック結線図、第2図は同装置による再標
本化画素の位置と、再標本化画素位置を算出するために
用いるパラメータm、n。 Rの互いの関係を示す概念図、第3図は従来の各再標本
化方式による再標本化画素位置を示す図である。 10・・・・・・標本化器、11・・・・・・標本化ク
ロック制御部、20・・・・・・レジスタ、21・・・
・・・再標本化クロック制御器、22・・・・・・再標
本化画素位置計算器。 第1図 し■―――−■−―■−一」 ’+S      N e+          喬   苦 第3図 (21)      古狸キ但画禾 4b)1靴昌爪
Fig. 1 is a block diagram of a device that implements the resampling method in an embodiment of the present invention, and Fig. 2 shows the position of a resampled pixel by the same device and the position used to calculate the resampled pixel position. Parameters m, n. FIG. 3 is a conceptual diagram showing the relationship between R and R, and FIG. 3 is a diagram showing resampled pixel positions by each conventional resampling method. 10... Sampling device, 11... Sampling clock control unit, 20... Register, 21...
. . . resampling clock controller, 22 . . . resampling pixel position calculator. Figure 1 ■――-■--■-1'+S N e+ Qiao Ku Figure 3 (21) Old raccoon ki but picture 4b) 1 shoe change nail

Claims (1)

【特許請求の範囲】[Claims] 画像における再標本化される画素の位置を、互いに隣り
合った再標本化画素のなす四辺形の2つの対角線の長さ
の2乗と最短辺と最長辺の長さの差の2乗の和が最小と
なるように定める再標本化方法。
The position of the pixel to be resampled in the image is calculated by calculating the sum of the squares of the lengths of the two diagonals of the quadrilateral formed by adjacent resampled pixels and the square of the difference between the lengths of the shortest and longest sides. A resampling method that determines the minimum value.
JP61274492A 1986-11-18 1986-11-18 Resampling method Pending JPS63127671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61274492A JPS63127671A (en) 1986-11-18 1986-11-18 Resampling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61274492A JPS63127671A (en) 1986-11-18 1986-11-18 Resampling method

Publications (1)

Publication Number Publication Date
JPS63127671A true JPS63127671A (en) 1988-05-31

Family

ID=17542435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61274492A Pending JPS63127671A (en) 1986-11-18 1986-11-18 Resampling method

Country Status (1)

Country Link
JP (1) JPS63127671A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0646399A (en) * 1992-07-24 1994-02-18 Kubota Corp Picture data compression method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0646399A (en) * 1992-07-24 1994-02-18 Kubota Corp Picture data compression method

Similar Documents

Publication Publication Date Title
JP2007025073A (en) Data transmission method, data transmission apparatus, data receiving apparatus, and program
JP3791922B2 (en) Moving picture decoding apparatus and method
JP2007129573A (en) Imaging apparatus
TW525391B (en) Method and apparatus for performing motion compensation in a texture mapping engine
JPS63127671A (en) Resampling method
JPH1066080A (en) Quantizer in video signal encoding system
US20040213344A1 (en) Apparatus and process for decoding motion pictures
JP2007267123A (en) Moving image encoding apparatus
JP2007088910A (en) Motion vector detecting device and imaging apparatus
JP4386979B2 (en) Remote control measurement system
JP3786300B2 (en) Motion vector detection apparatus and motion vector detection method
JP2000324474A (en) Method and system for transmitting camera image
JP2000341587A (en) Device and method for image processing
EP1061747A1 (en) Method and apparatus for block motion estimation
JPH0220197B2 (en)
JPS63160486A (en) Picture data compressor
JP2009211722A (en) Remotely-operated measuring system
JP2016081296A (en) Image processing device and image processing method
JPH07222155A (en) Picture encoding device
JPH0484585A (en) Still picture transmission display device
JPH0846943A (en) Video camera drive system and picture communication system
JP2000032297A (en) Filter processor, image encoder, image decoder and recording medium storing filter processing program
JPH05292393A (en) Moving image editing processing system
JP2010062881A (en) Image encoding method and image decoding device
JP2004200894A (en) Motion vector detecting method, motion vector detecting apparatus, and image encoder