JPH02291775A - Image block encoding system - Google Patents

Image block encoding system

Info

Publication number
JPH02291775A
JPH02291775A JP11292089A JP11292089A JPH02291775A JP H02291775 A JPH02291775 A JP H02291775A JP 11292089 A JP11292089 A JP 11292089A JP 11292089 A JP11292089 A JP 11292089A JP H02291775 A JPH02291775 A JP H02291775A
Authority
JP
Japan
Prior art keywords
block
straight line
image
blocks
picture elements
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
JP11292089A
Other languages
Japanese (ja)
Inventor
Kenichi Hosaka
憲一 保坂
Teruo Ueda
上田 照夫
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP11292089A priority Critical patent/JPH02291775A/en
Publication of JPH02291775A publication Critical patent/JPH02291775A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent meshed block borders which cross each other at right angles from appearing in a decoded image by making one of lateral and longitudinal block border into a constant-length straight line and the other block border into a stepwise straight line which is shifted longitudinally and laterally or slanting curve. CONSTITUTION:Picture elements pij (i=1-4, j=1-4) constitute one block B. Namely, each part encircled with a thin solid line shows one block and respective blocks each consists of four picture elements longitudinally and four picture elements laterally, i.e., what is called 4X4 picture-element constitution. Here, the lateral block border is made into the constant-length straight line, the longitudinal block border is shifted right by one picture element, and all blocks are shifted in the same direction. Consequently, the number of picture elements in each block is equal to the number of picture elements in a conventional rectangular block, so processing in a block after division is performed similarly to conventional processing. Further, the block borders are never in an orthogonal meshed shape.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像ブロック符号化方式に係り、特に画像を複
数のブロックに分割してブロック毎に符〔従来の技術〕 従来より高能率の静止画像符号化方式の一つとして、画
像ブロック符号化方式が知られている。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an image block encoding method, and in particular, it divides an image into a plurality of blocks and encodes each block. An image block encoding method is known as one of the image encoding methods.

この画像ブロック符号化方式は、画像を複数の同じ大き
さの矩形ブロックに分割し、かつ、分割した各ブロック
を格子状に規則正しく配置し、各ブロック毎に符号化を
行なう方式が一般的である。
This image block encoding method generally divides an image into multiple rectangular blocks of the same size, arranges each divided block regularly in a grid pattern, and performs encoding for each block. .

また、上記以外にも、与えられた一つの画像を複数の同
じ大きさの矩形ブロックに分割することを基本とし、ブ
ロックの配防を垂直方向のブロック行毎に水平方向にラ
ンダムに移動させ、このように構成されたブロックに対
して符号化を行なう浮動型ブロック符号化方式が提案さ
れている《中島.鄭.安居院:「ブロック符号化法にお
ける画質Q一改良法」,電子情報通信学会技術研究報告
IE87−76>  。
In addition to the above, the basic idea is to divide a given image into a plurality of rectangular blocks of the same size, and randomly move the distribution of blocks in the horizontal direction for each vertical block row. A floating block encoding method that encodes blocks configured in this way has been proposed [Nakajima et al. Zheng. Angoin: “Image quality Q-improvement method in block coding method”, Institute of Electronics, Information and Communication Engineers technical research report IE87-76>.

更に、与えられた一つの画像を?!数の同じ大きさの矩
形ブロックではなく八角形にし、この分割された複数の
八角形のブロックの夫々について符号化を行なう八角形
ブロック符号化方式も提案されている(中島,鄭.安居
院:「八角形ブロック符号化法」,昭和63年電子情報
通信学会春季全国大会D−82)。
Furthermore, what about the given image? ! An octagonal block encoding method has also been proposed in which the blocks are made into octagons rather than rectangular blocks of the same size, and each divided octagonal block is encoded (Nakajima, Chung, Angoin: ""Otagonal Block Coding Method", 1986 Institute of Electronics, Information and Communication Engineers Spring National Conference D-82).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかるに、前記した矩形ブロックを格f状に規則正しく
配置した一般的なブロック符号化方式では、復号画に原
画には存在しない直交するメッシュ状のブロック境界が
存在することとなる。符号化及び復号処理はブロック毎
に独立に行なわれるため、これら隣接するブロックの境
界において原画には存在しない輝度あるいは色の変化が
境界に沿って直線状に現われ、人間の視覚の図形輪郭部
の強調効果(マッハ効果)により復号画の画質が著しく
低下する。
However, in the general block encoding method in which the rectangular blocks are regularly arranged in a case f shape, the decoded image has orthogonal mesh-like block boundaries that do not exist in the original image. Because the encoding and decoding processes are performed independently for each block, changes in brightness or color that do not exist in the original image appear linearly along the boundaries between these adjacent blocks, which is difficult to see in the human visual sense of the contours of figures. The image quality of the decoded image is significantly degraded due to the enhancement effect (Mach effect).

また、前記した浮動型ブロック符号化方式においては、
原画には存在しない直交するメッシュ状のブロック境界
のうち士状のものは現われないが、T状のものは現われ
るため、画質の改善効果は低く、また従来の符号化・復
号化処理以外にブロックの水平方向の移動距離を与える
処理が必要であった。
In addition, in the floating block encoding method described above,
Of the orthogonal mesh-like block boundaries that do not exist in the original image, the zigzag-shaped ones do not appear, but the T-shaped ones do, so the effect of improving image quality is low. It was necessary to provide the horizontal movement distance.

更に、前記した八角形ブロック符号化方式においては、
原画には存るしない直交するメッシュ状のブロック境界
は現われないため、冫ツハ効果による画質劣化は低減さ
れるが、画像の端を含むブロックの中には必ず異なった
形″状のブロックが存在することになるため、符号化・
復号化処理においてブロックの形状毎に複数の処理手順
が必四となる。
Furthermore, in the octagonal block encoding method described above,
Since orthogonal mesh-like block boundaries that do not exist in the original image do not appear, image quality deterioration due to the sharpening effect is reduced, but there are always blocks with different shapes among the blocks that include the edges of the image. Therefore, encoding and
In the decoding process, a plurality of processing procedures are necessarily performed for each block shape.

本発明は以上の点に鑑みてなされたもので、符号化・復
号化の処理には従来の方式を利用して、復号画において
原画に存在しない直交するメッシュ状のブロック境界が
現われるという点を解決した画像ブロック符号化方式を
提供することを目的とする。
The present invention has been made in view of the above points, and uses a conventional method for encoding/decoding processing, and solves the problem that orthogonal mesh-like block boundaries that do not exist in the original image appear in the decoded image. The purpose is to provide a solved image block coding method.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的達成のために本発明は、第1図に示す如きフロ
ーヂャートの構成としたものである。すなわち、画像が
入力されるとくスアップ11)、ブロックを構成する画
素数を決め(ステップ12)、画像を複数のブロックに
分割し(スjツプ14》、各ブロック毎に符号化を行な
う(ステップ15.16)画像ブロック符号化方式にお
いて、本発明はステップ13で示したようにブロックの
形状を決めてから画像をブロックに分割するようにした
ものである。
In order to achieve the above object, the present invention has a flow chart configuration as shown in FIG. That is, when an image is input (step 11), the number of pixels constituting a block is determined (step 12), the image is divided into a plurality of blocks (step 14), and each block is encoded (step 14). Steps 15 and 16) In the image block encoding method, the present invention divides the image into blocks after determining the shape of the blocks as shown in Step 13.

ここで、ステップ13のブロックの形状は、横h向及び
縦h向のうちの一方のブロック境界を一定長の直線とし
、他方のブロック境界を予め定めた規則に従った画素数
分ずつ縦h向,横方向にずらしたステップ状の直線又は
斜曲線とした形状である点に特徴がある。
Here, the shape of the block in step 13 is such that one of the block boundaries in the horizontal and vertical directions is a straight line of a constant length, and the other block boundary is divided by the number of pixels in the vertical direction according to a predetermined rule. It is distinctive in that it has a step-like straight line or oblique curved shape that is shifted in the horizontal and vertical directions.

〔作用〕[Effect]

本発明ではブロックの形状が横方向及び縦方向のうちの
一方のブロック境界が一定艮の直線で、かつ、他方のブ
ロック境界が予め定めた規則に従った画素数分fつ縦方
向,横方向にずらしていくステップ状の直線又は斜曲線
であるために、ブロック内の画素数はブロックが矩形の
場合と同じとなる。
In the present invention, the shape of the block is such that one of the block boundaries in the horizontal and vertical directions is a straight line with a constant shape, and the other block boundary is divided by the number of pixels f in the vertical and horizontal directions according to a predetermined rule. Since the block is a step-like straight line or diagonal curve that is shifted by the block, the number of pixels within the block is the same as when the block is rectangular.

また、ブロック境界が直交するメッシ1状にならず、ブ
ロック境界長を構成する画素数がブロックの辺を構成す
る画素数よりも小さくなるため、空間周波数を高くでき
る。
Furthermore, the spatial frequency can be increased because the block boundaries do not become perpendicular to each other and the number of pixels forming the block boundary length is smaller than the number of pixels forming the sides of the block.

(実施例〕 第2図は本発明の第1実施例のブロック形状説明図を示
す。同図中、P,j(ただし、i=・1−4 .j=1
〜4)は画素で、一つのブロックBを構成している。す
なわち、同図中、太い実線で囲まれた各部分が各ブロッ
クを示しており、各ブ[1ツクは縦方向4画素,横方向
4画素の所謂4x4画素の構成である。
(Example) Fig. 2 shows an explanatory diagram of the block shape of the first example of the present invention.
4) are pixels and constitute one block B. That is, in the figure, each part surrounded by a thick solid line indicates each block, and each block has a so-called 4x4 pixel configuration, with 4 pixels in the vertical direction and 4 pixels in the horizontal direction.

本実施例は、横方向のブロック境界を一定長の直線とし
、縦方向のブロック境界を1画素ずつ右h向にずらし、
かつ、すべてのブロックについてずらす方向を同じにし
たブロック形状としたものである。
In this embodiment, the horizontal block boundary is a straight line of a constant length, the vertical block boundary is shifted one pixel at a time in the right h direction,
In addition, the block shape is such that all blocks are shifted in the same direction.

なお、実際の画像は実線で囲まれた矩形の範囲に存在し
、右端の破線の部分には存在しないが、処理上は左端の
アスタリスクの部分の画像が破線の部分に存在するもの
として処理を行なう(後述の第3図〜第5図の場合も同
様)。
Note that the actual image exists within the rectangular area surrounded by the solid line and does not exist in the dashed line at the right end, but for processing purposes, the image in the asterisk area at the left end is assumed to exist in the dashed line. (The same applies to the cases of FIGS. 3 to 5, which will be described later).

第3図は本発明の第2実施例のブロック形状説明図を示
す。同図中、太い実線で囲まれた各部分が各ブロックを
示しており、各ブロックは4X4画素の構成である。
FIG. 3 shows a block shape explanatory diagram of a second embodiment of the present invention. In the figure, each part surrounded by a thick solid line indicates each block, and each block has a configuration of 4×4 pixels.

本実施例は横方向のブロック境界を一定長の直線とし、
縦方向のブロック境界を1画素ずつずらすもので、縦h
向のブロック毎にずらす方向を交互にしたものである,
, 第4図は本発明の第3実施例のブロック形状説明図を示
す。同図中、太い実線で囲まれた各部分が各ブロックを
丞しており、各ブロックは4x4画素の構成である。
In this example, the horizontal block boundary is a straight line of a constant length,
It shifts the block boundaries in the vertical direction one pixel at a time.
The direction of shifting is alternated for each block in the direction.
, FIG. 4 shows a block shape explanatory diagram of a third embodiment of the present invention. In the figure, each part surrounded by a thick solid line extends to each block, and each block has a configuration of 4x4 pixels.

本実施例は横方向のブロック境界を一定長の直線とし、
縦方向のブロック境界を曲線的に2画素→1画素・→0
画素とヂら寸もので、ブロック毎にずらす位置をすべて
同じにしたブロック形状の例を示している。
In this example, the horizontal block boundary is a straight line of a constant length,
The vertical block boundary is curved 2 pixels → 1 pixel → 0
This shows an example of a block shape in which the position of each block is the same, and the size is the same as that of a pixel.

更に本発明の第4実施例のブロック形状を第5図に丞す
。本実施例も上記の第1乃至第3実施例と同様に、各ブ
ロックサイズは4×4画素である。
Furthermore, the block shape of the fourth embodiment of the present invention is shown in FIG. In this embodiment, each block size is 4×4 pixels, as in the first to third embodiments described above.

また各ブロックは第5図に太い実線で囲んで示した形状
であり、横方向のブロック境界が一定長の直線であり、
また縦方向のブロック境界が曲線的に2画素,1画素,
O画素とfらすと共に、縦方向のブロック毎にずらす順
番を交nにしたブ[1ツク形状で分割されている,. このように、上記の第1乃至第4実施例は各ブロックが
いずれも4×4画素であり、4×4画素の矩形ブロック
に分割した場合の従来のブロック符号化方式とブロック
サイズが同一であり、そのため各実施例では分割後のブ
ロック内の処即が矩形ブロックの従来方式と同様の処理
でよいことになる。
Furthermore, each block has the shape shown surrounded by a thick solid line in Fig. 5, and the horizontal block boundary is a straight line of a constant length.
Also, the vertical block boundaries are curved for 2 pixels, 1 pixel,
O pixels and f are shifted, and the order of shifts for each block in the vertical direction is crossed n [divided into 1 block shape, . In this way, in the first to fourth embodiments described above, each block is 4 x 4 pixels, and the block size is the same as that of the conventional block encoding method when divided into 4 x 4 pixel rectangular blocks. Therefore, in each embodiment, the processing within the block after division may be the same as the conventional method for rectangular blocks.

また、横方向のブロック境界長を構成する画素数(第2
図の場合は「1」)は、ブロックの縦方向の辺を構成す
る画素数「4」よりも小さく空間周波数が高くなるため
、従来の復号画において原画には存在しない輝度あるい
は色の変化が直交するメッシュ状のブロック境界に沿っ
て直線状に現われるために生ずるマッハ効果による画質
の劣化が軽減される。
Also, the number of pixels (second
In the case of the figure, "1") is smaller than the number of pixels composing the vertical side of the block "4" and has a higher spatial frequency, so in conventional decoded images, changes in brightness or color that do not exist in the original image occur. Deterioration in image quality due to the Mach effect, which occurs due to linear appearance along orthogonal mesh block boundaries, is reduced.

なお、本発明は上記の実施例に限定されるものではなく
、第2図乃至第4図の横方向と縦方向とを逆にしても同
様である。また、ブロックサイズが大きい場合には、ブ
ロック毎に2次曲線的にずらせる等種々の変形例が考え
られるものである。
It should be noted that the present invention is not limited to the above-described embodiment, and the same effect can be obtained even if the horizontal direction and vertical direction in FIGS. 2 to 4 are reversed. Furthermore, when the block size is large, various modifications such as shifting each block in a quadratic curve are possible.

〔発明の効果〕〔Effect of the invention〕

上述の如く、本発明によれば、各ブロック内の画素数が
従来の矩形ブロック内の画素数と同じであるため、分割
後のブロック内の処理をブロックが矩形である場合と同
様の処理で行なうことができ(換言すると、符号化・復
号化の処即には従来の矩形ブロック符号化方式を利用す
ることができ)、またブロック境界が直交するメッシュ
状にならず、空間周波数も高くできるため、従来の復号
画において原画には存るしない輝度あるいは色の変化が
直交するメッシュ状のブロック境界に沿って直線状に現
われるために生ずるマッハ効果による画質の劣化を軽減
させることができる等の特長を有するものである。
As described above, according to the present invention, since the number of pixels in each block is the same as the number of pixels in a conventional rectangular block, the processing in the divided block can be performed in the same way as in the case where the block is rectangular. (In other words, the conventional rectangular block encoding method can be used for the encoding/decoding process), and the block boundaries do not form an orthogonal mesh shape, making it possible to increase the spatial frequency. Therefore, it is possible to reduce image quality deterioration due to the Mach effect, which occurs when changes in brightness or color that do not exist in the original image appear linearly along orthogonal mesh block boundaries in conventional decoded images. It has certain characteristics.

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

第1図は本発明の原理説明用フ[1−ヂャート、第2図
乃至第5図は夫々本発明の各実施例のブロック形状説明
図である。 11〜16・・・ステップ、B・・・ブロック。
FIG. 1 is a diagram for explaining the principle of the present invention, and FIGS. 2 to 5 are diagrams for explaining the block shape of each embodiment of the present invention. 11-16...Step, B...Block.

Claims (1)

【特許請求の範囲】 画像を各々一定数の画素からなる複数のブロックに分割
し、各ブロック毎に符号化を行なう画像ブロック符号化
方式において、 横方向及び縦方向のうちの一方のブロック境界を一定長
の直線とし、他方のブロック境界を予め定めた規則に従
つた画素数分ずつ縦方向、横方向にずらしたステップ状
の直線又は斜曲線とした形状のブロックに分割し、符号
化を行なうことを特徴とする画像ブロック符号化方式。
[Claims] In an image block encoding method in which an image is divided into a plurality of blocks each consisting of a fixed number of pixels and each block is encoded, one of the block boundaries in the horizontal and vertical directions is Divide into blocks with a straight line of a certain length and a stepped straight line or diagonal curve with the other block boundary shifted vertically and horizontally by the number of pixels according to a predetermined rule, and perform encoding. An image block encoding method characterized by:
JP11292089A 1989-05-02 1989-05-02 Image block encoding system Pending JPH02291775A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11292089A JPH02291775A (en) 1989-05-02 1989-05-02 Image block encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11292089A JPH02291775A (en) 1989-05-02 1989-05-02 Image block encoding system

Publications (1)

Publication Number Publication Date
JPH02291775A true JPH02291775A (en) 1990-12-03

Family

ID=14598793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11292089A Pending JPH02291775A (en) 1989-05-02 1989-05-02 Image block encoding system

Country Status (1)

Country Link
JP (1) JPH02291775A (en)

Similar Documents

Publication Publication Date Title
CN112383781B (en) Method and device for block matching coding and decoding in reconstruction stage by determining position of reference block
DE112017002851B4 (en) Boundary padding method and apparatus for VR video processing
TWI444047B (en) Deblockings filter for video decoding , video decoders and graphic processing units
US6504537B1 (en) System, method and article of manufacture for fractional tessellation during graphics processing
CN101389021A (en) Video encoding/decoding method and apparatus
DE112009004320T5 (en) Memory Subsystem
CN113784124B (en) Block matching encoding and decoding method for fine division using multi-shape sub-blocks
CN105847842B (en) Image encoding method and device, and image decoding method and device
CN109192126B (en) Image processing method of display panel
US5583953A (en) Intelligent doubling for low-cost image buffers
DE60210720T2 (en) A 2D FIFO device for block-based coding and method therefor
CN102542528B (en) Image conversion processing method and system
KR20010080611A (en) Device and method for filtering
CN116600134B (en) Parallel video compression method and device adapting to graphic engine
JPH02291775A (en) Image block encoding system
CN112565790A (en) Method and device for encoding and decoding string prediction by using minimum base vector mark
CN106303535B (en) Image compression method and device with reference pixels taken from different-degree reconstruction pixels
CN111757117A (en) Data coding and decoding method for performing serial prediction on component down-sampling format data
US7010173B2 (en) Video coder employing pixel transposition
CN110113612A (en) A kind of block truncation method for compressing image based on NAM segmentation
US20240187572A1 (en) Coding algorithm for realizing distributed Gradual Decoding Refresh
US8666157B2 (en) Color segmenting a raster image
CN117793358A (en) Image coding method and device and electronic equipment
CN113409436B (en) Volume rendering method for diamond pixel arrangement
US11138694B2 (en) Method and apparatus for geometric smoothing