JPH10117345A - Image-coding method and device, image transmission method and device, and medium - Google Patents

Image-coding method and device, image transmission method and device, and medium

Info

Publication number
JPH10117345A
JPH10117345A JP26972296A JP26972296A JPH10117345A JP H10117345 A JPH10117345 A JP H10117345A JP 26972296 A JP26972296 A JP 26972296A JP 26972296 A JP26972296 A JP 26972296A JP H10117345 A JPH10117345 A JP H10117345A
Authority
JP
Japan
Prior art keywords
image
encoding
frame
packet
independently
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
JP26972296A
Other languages
Japanese (ja)
Inventor
Hideo Noro
英生 野呂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP26972296A priority Critical patent/JPH10117345A/en
Publication of JPH10117345A publication Critical patent/JPH10117345A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce deterioration in image quality, without decreasing a frame rate even in the system where a coding speed is slower than the frame rate of an original moving image. SOLUTION: An image by one frame extracted from a moving image is divided into plural small areas (1, 1), (1, 2),... and coding processing is executed independently with image coders 31-1 , 31-2 ,... according to each small area. Thus, for example, even when a coding speed of a small area is slower than the frame rate of the original moving image and frame drop takes place in the small area, deterioration in the image quality due to frame drop over the entire image is prevented by applying proper coding to the other small area.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は画像符号化方法およ
び装置、画像伝送方法および装置、並びに媒体に関し、
特に、ソフトウェアにより画像符号化と画像復号化との
どちらか一方、あるいはその両方を行うシステムの動画
像符号化に用いて好適なものである。また、復号化能力
や通信路速度等の異なる複数の端末に対する動画像通信
あるいは動画像放送をパケット通信路を用いて行うシス
テムや、パケットロスの多い通信路を使用するシステム
の動画像符号化に用いて好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding method and apparatus, an image transmitting method and apparatus, and a medium.
In particular, the present invention is suitable for use in moving image encoding of a system that performs one or both of image encoding and image decoding by software. It is also used for video coding of systems that use a packet communication channel for video communication or video broadcasting to multiple terminals with different decoding capabilities and communication channel speeds, and systems that use a communication channel with high packet loss. It is suitable for use.

【0002】[0002]

【従来の技術】従来の動画像符号化方式は、符号化した
全てのデータを復号器が受信することを期待する動画像
符号化であった。例えば、動画像を静止画の連続として
扱い、各フレームに対して静止画圧縮を行い、その結果
を時系列に沿って並べる動画像圧縮方式がある。
2. Description of the Related Art A conventional moving picture coding method is a moving picture coding which expects a decoder to receive all coded data. For example, there is a moving image compression method that treats moving images as a sequence of still images, performs still image compression on each frame, and arranges the results in chronological order.

【0003】静止画圧縮としてUNIX(R)のcompre
ss(1) に見られるような一次元圧縮方式を用いた画像圧
縮方式では、図4に示すように、まず、プログレッシブ
スキャンやジグザグスキャンのような何らかの方法で原
画像をスキャンする。そして、この一次元系列に直され
た画像データを一次元圧縮する。
As a still image compression, UNIX (R) compre
In an image compression method using a one-dimensional compression method as shown in ss (1), as shown in FIG. 4, first, an original image is scanned by some method such as progressive scan or zigzag scan. Then, the image data converted into the one-dimensional series is one-dimensionally compressed.

【0004】一方、静止画圧縮を二次元圧縮で実現した
ものには、JPEGの呼称で知られるITU−TのT.
81があり、これを動画像圧縮に用いたものとして、Mo
tion−JPEG(MJPEG)がある。
[0004] On the other hand, those which realize still image compression by two-dimensional compression include ITU-T T.K.
81, and this is used for moving image compression.
Option-JPEG (MJPEG).

【0005】以上2種類の画像圧縮方式は、フレーム毎
にデータが完結している、すなわち全ての画像データは
該フレームのみの原画像データから復元することができ
るフレーム内符号化を行っている。
In the above two types of image compression methods, data is completed for each frame, that is, intra-frame encoding is performed in which all image data can be restored from original image data of only the frame.

【0006】また、動画特有の性質としてフレーム間差
分(フレーム間符号化)や動き補償を用いたものとして
は、MPEGの呼称で知られる動画像符号化がある。M
PEGでは、フレーム内符号化されたフレームとフレー
ム間符号化されたフレームとが適当な順番で組み合わさ
れる。
A moving picture coding method known as MPEG is one that uses an inter-frame difference (inter-frame coding) or motion compensation as a characteristic characteristic of a moving image. M
In PEG, intra-coded frames and inter-coded frames are combined in an appropriate order.

【0007】さらに、テレビ電話・テレビ会議端末のた
めの動画像符号化には、ITU−TのH.261があ
る。これは、画像をマクロブロックと呼ばれる小画像領
域に分け、マクロブロック毎に画面内符号化と画面間符
号化とを適応的に使う。H.261の他、JPEG,M
PEG等でも原画像を小領域に分けて画像符号化を行っ
ているが、何れも符号化する小領域の順番が決まってい
る。
Furthermore, moving picture coding for videophone / videoconference terminals is based on H.264 of ITU-T. 261. In this method, an image is divided into small image areas called macroblocks, and intra-frame coding and inter-screen coding are used adaptively for each macroblock. H. 261, JPEG, M
Even in the case of PEG or the like, the original image is divided into small areas and image encoding is performed. In each case, the order of the small areas to be encoded is determined.

【0008】[0008]

【発明が解決しようとする課題】上記従来例は何れも画
面単位で符号化を行っていたため、あるフレームの画像
符号化を行うには、その直前のフレームの画像符号化が
1画面分全て完了してからでなければ行うことができな
かった。このため、符号化処理能力が乏しく、原動画像
のフレームレートよりも画像符号化速度が遅い画像符号
化システムにおいては、一画面単位に画像を間引いてフ
レームレートを落とさなければならないという問題があ
った。
In each of the prior arts described above, encoding is performed in units of screens. Therefore, in order to perform image encoding of a certain frame, image encoding of the immediately preceding frame is completed for one screen. Only then could it be done. For this reason, in an image coding system in which the coding processing capability is poor and the image coding speed is lower than the frame rate of the moving image, there is a problem that the frame rate must be reduced by thinning out the image in units of one screen. .

【0009】また、復号化能力や通信速度等の異なる複
数の端末に対して動画像通信、動画像放送を行う場合に
おいては、フレームレートを落として最も能力の低い端
末に合わせた符号しか送ることができないという問題が
あった。この場合は、ある端末においては高い復号化能
力等を有しているにも拘らず、それを活かしきれていな
かった。
In the case of performing moving image communication and moving image broadcasting to a plurality of terminals having different decoding capacities and communication speeds, it is necessary to reduce the frame rate and send only a code adapted to the terminal having the lowest capacity. There was a problem that can not be. In this case, although a certain terminal has a high decoding capability or the like, it has not been able to make full use of it.

【0010】さらに、符号化データの伝送路としてパケ
ット通信路を使用する場合においては、パケットロスが
あると、パケット再送処理を行ったり、次の画面の同期
パターンを検出しなければならなかった。そのため、画
像伝送に遅延が起きたり、コマ落としが起きてしまうと
いう問題があった。
Further, when a packet communication path is used as a transmission path of encoded data, if there is a packet loss, it is necessary to perform a packet retransmission process or detect a synchronization pattern of the next screen. For this reason, there has been a problem that image transmission is delayed or dropped frames occur.

【0011】本発明は、このような問題を解決するため
に成されたものであり、原動画像のフレームレートより
も画像符号化速度が遅い画像符号化システムにおいて
も、フレームレートを落とすことなく符号化を行い、画
像の画質劣化を少なくできるようにすることを第1の目
的とする。
The present invention has been made to solve such a problem. Even in an image coding system in which the image coding speed is lower than the frame rate of the moving image, the coding can be performed without lowering the frame rate. It is a first object of the present invention to reduce the image quality degradation of an image.

【0012】また、本発明は、復号化能力や通信速度等
の異なる何れの端末に対しても十分に利用可能な符号を
送れるようにするとともに、符号化データの伝送路とし
てパケット通信路を使用する場合に、パケットロスに伴
って画像伝送に遅延が生じたりコマ落としが生じたりし
ないようにすることを第2の目的とする。
Further, the present invention enables a sufficiently usable code to be sent to any terminal having a different decoding capability and communication speed, and uses a packet communication path as a transmission path for encoded data. In this case, a second object is to prevent image transmission from being delayed or dropped frames due to packet loss.

【0013】[0013]

【課題を解決するための手段】本発明の画像符号化方法
は、画像を伝送のためのパケットの大きさに関連した複
数の小領域に分け、各々の小領域について独立に符号化
処理を行うようにしたことを特徴とする。
According to the image encoding method of the present invention, an image is divided into a plurality of small areas related to the size of a packet for transmission, and encoding processing is performed on each of the small areas independently. It is characterized by doing so.

【0014】本発明の画像伝送方法は、画像を伝送のた
めのパケットの大きさに関連した複数の小領域に分け、
各々の小領域について独立に符号化処理を行い、上記各
々の小領域について独立に符号化したデータをそれぞれ
独立に伝送するようにしたことを特徴とする。また、符
号化データを伝送する通信路としてパケット通信路を使
用し、上記各々の小領域の画像の最大符号化長が1パケ
ット長以下になるようにして符号化処理を行うようにし
ても良い。
According to the image transmission method of the present invention, an image is divided into a plurality of small areas related to the size of a packet for transmission.
The encoding process is performed independently for each of the small areas, and the data independently coded for each of the small areas is transmitted independently. Further, a packet communication channel may be used as a communication channel for transmitting the encoded data, and the encoding process may be performed such that the maximum encoding length of the image of each of the small areas is equal to or less than one packet length. .

【0015】本発明の画像符号化装置は、1フレーム分
の画像をフレームバッファに順次書き込む画像入力手段
と、上記フレームバッファに書き込まれた1フレーム分
の画像をパケットの大きさに関連した複数の小領域に分
け、各々の小領域について独立に符号化処理を行う符号
化手段とを備えたことを特徴とする。
An image encoding apparatus according to the present invention comprises: an image input means for sequentially writing an image for one frame into a frame buffer; and a plurality of images for one frame related to the size of a packet. Encoding means for dividing the image into small areas and independently performing encoding processing on each of the small areas.

【0016】本発明の画像伝送装置は、1フレーム分の
画像をフレームバッファに順次書き込む画像入力手段
と、上記フレームバッファに書き込まれた1フレーム分
の画像を複数の小領域に分け、各々の小領域について独
立に符号化処理を行う符号化手段と、上記符号化手段に
より各々の小領域について独立に符号化されたデータを
それぞれ独立に伝送する伝送手段とを備えたことを特徴
とする。また、符号化データを伝送する通信路としてパ
ケット通信路を使用し、上記各々の小領域の画像の最大
符号化長が1パケット長以下になるようにして符号化処
理を行うように上記符号化手段を構成しても良い。
The image transmission apparatus according to the present invention comprises: an image input means for sequentially writing one frame of image into a frame buffer; and a one frame image written into the frame buffer into a plurality of small areas. It is characterized by comprising encoding means for independently performing encoding processing on an area, and transmission means for independently transmitting data independently encoded for each small area by the encoding means. Also, a packet communication path is used as a communication path for transmitting the encoded data, and the encoding processing is performed such that the maximum encoding length of the image of each of the small areas is less than or equal to one packet length. Means may be constituted.

【0017】本発明の媒体は、請求項1に記載の画像符
号化方法を構成するステップがコンピュータから読み出
し可能に格納されていることを特徴とする。また、請求
項2または3に記載の画像伝送方法を構成するステップ
をコンピュータから読み出し可能に格納するようにして
も良い。
The medium according to the present invention is characterized in that the steps constituting the image coding method according to the first aspect are stored in a manner readable by a computer. Further, the steps constituting the image transmission method according to claim 2 or 3 may be stored so as to be readable from a computer.

【0018】上記のように構成した本発明によれば、1
画面単位ではなく、その1画面を分割した複数の小領域
単位で独立して符号化が行われるので、例えば、ある小
領域の符号化速度が原動画像のフレームレートよりも遅
く、その小領域においてコマ落としが生じてしまった場
合でも、他の小領域では適切に符号化が行われ、画面全
体のコマ落としによる画質劣化が防止される。
According to the present invention configured as described above, 1
Since coding is performed independently in units of a plurality of small regions obtained by dividing one screen, not in units of screens, for example, the coding speed of a certain small region is lower than the frame rate of the moving image, and Even when frame dropping occurs, encoding is appropriately performed in other small areas, and image quality deterioration due to frame dropping of the entire screen is prevented.

【0019】また、本発明の他の特徴によれば、上述の
ようにして小領域単位で独立して符号化されたデータが
それぞれ独立して伝送されるので、例えば、通信速度や
復号器側における復号化能力が異なる複数の端末に対し
て動画像通信等を行う場合でも、能力の高い端末に合わ
せたフレームレートで符号化することにより、小領域単
位で伝送された複数の符号化データが各端末の能力に応
じて利用されるようになる。
According to another feature of the present invention, since the data independently coded in small area units as described above are transmitted independently, for example, the communication speed and the decoder side Even when performing video communication or the like to a plurality of terminals having different decoding capabilities, by encoding at a frame rate adapted to a terminal having a higher capability, a plurality of encoded data transmitted in small area units can be obtained. It will be used according to the capabilities of each terminal.

【0020】また、本発明のその他の特徴によれば、パ
ケット単位で情報が到達したり、消失したりするそのパ
ケット内に一画面内の一小領域の符号化データが載せら
れて伝送されるので、一画面内の一小領域を単位として
符号化データが画像復号器に到達したり、到達しなかっ
たりするようになり、パケットロスの多い通信路を使用
した場合でも、復号器に到達したパケットを有効に利用
して画像復号化を行うことが可能となる。
According to another feature of the present invention, encoded data of a small area in one screen is transmitted in a packet in which information reaches or disappears in packet units. Therefore, the encoded data reaches or does not reach the image decoder in units of one small area in one screen, and reaches the decoder even when using a communication path with a lot of packet loss. Image decoding can be performed using packets effectively.

【0021】[0021]

【発明の実施の形態】以下、本発明の画像符号化方法お
よびそれを適用した画像伝送方法を図面に基づいて説明
する。 (第1の実施形態)図1は、本発明の第1の実施形態に
よる動画像伝送方法が適用される動画像符号化装置の構
成を示す図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image encoding method according to the present invention and an image transmission method using the same will be described with reference to the drawings. (First Embodiment) FIG. 1 is a diagram showing a configuration of a moving picture coding apparatus to which a moving picture transmission method according to a first embodiment of the present invention is applied.

【0022】図1に示すように、本実施形態の動画像符
号化装置は、画像入力部1、フレームバッファ2、画像
符号化器3、および通信インタフェース部4から成り、
通信路5に動画像符号化データを送出する。
As shown in FIG. 1, the moving picture coding apparatus according to the present embodiment comprises a picture input unit 1, a frame buffer 2, a picture coding unit 3, and a communication interface unit 4.
The encoded video data is transmitted to the communication path 5.

【0023】上記画像入力部1は、動画像の各フレーム
を1つ1つあるタイミングで一瞬のうちにフレームバッ
ファ2に書き込む。フレームバッファ2に取り込まれた
1フレーム分の画像は、論理的に複数の小領域に分けら
れている。図1の例では、1フレーム分の画像は、水平
方向および垂直方向に対してマトリクス状に複数の小領
域(1,1) 、(1,2) 、……(2,1) 、(2,2) 、……に分けら
れている。
The image input unit 1 writes each frame of a moving image to the frame buffer 2 instantaneously at a certain timing. The image of one frame taken into the frame buffer 2 is logically divided into a plurality of small areas. In the example of FIG. 1, the image for one frame includes a plurality of small areas (1, 1), (1, 2),... (2, 1), (2) in a matrix in the horizontal and vertical directions. , 2), …….

【0024】また、画像符号化器3は、上記複数の小領
域(1,1) 、(1,2) 、……に対応する論理的に独立な符号
化器31-1 、31-2 、……より構成されている。各小領
域(1,1) 、(1,2) 、……の画像は、それぞれ論理的に独
立な符号化器31-1 、31-2、……により符号化され
る。例えば、小領域(1,1) の画像はそれに対応する符号
化器31-1 によって符号化され、小領域(1,2) の画像は
それに対応する符号化器31-2 によって符号化され、・
・・というようにして符号化処理が行われる。
Further, the image encoder 3, the plurality of small areas (1,1), (1,2), logically independent encoder 3 1-1 corresponding to ..., 3 1- 2 ,... Each small area (1,1), (1,2), ... of the image is logically independent encoder 3 1-1 respectively, 3 1-2, is encoded by ....... For example, the image of the small area (1,1) is coded by the encoder 3 1-1 corresponding thereto, encoding by the encoder 3 1-2 image corresponding to that of the small area (1,2) And
The encoding process is performed as described above.

【0025】各小領域用の画像符号化器31-1
1-2 、……は、フレームバッファ2から各小領域(1,
1) 、(1,2) 、……の画像を一瞬のうちに取り込み、符
号化を行う。そして、各画像符号化器31-1 、31-2
……は、他の符号化器とは独立に符号化データを通信イ
ンタフェース部4を介して通信路5に送り出す。
The image encoder 3 1-1 for each small area,
3 1-2 ,... Represent each small area (1,
1), (1,2),... Images are instantaneously captured and encoded. Then, each of the image encoders 31-1 , 31-2 ,
.. Sends out the encoded data to the communication path 5 via the communication interface unit 4 independently of the other encoders.

【0026】以上のように、本実施形態では、1フレー
ムを分割した複数の小領域ごとに独立して画像符号化を
行い、それにより得られる各符号化データをそれぞれ独
立して伝送するようにしている。このため、ある小領域
の符号化に、原動画像のフレームレートにより定まる一
画面当たりの時間(以降、単位フレーム時間と呼ぶ)よ
りも長い時間がかかってしまい、原画像の時間的に連続
する次のフレーム中の該当する小領域の画像を符号化で
きなくなってしまった場合、すなわち、ある小領域にお
いてコマ落としが生じてしまった場合でも、他の小領域
に対応する符号化器は、時間的に余裕がある限りコマ落
としせずに画像符号化を行うことができる。これによ
り、画面全体のコマ落としによる画質劣化を防ぐことが
できる。
As described above, in the present embodiment, image encoding is performed independently for each of a plurality of small areas obtained by dividing one frame, and the encoded data obtained thereby is transmitted independently. ing. For this reason, it takes a longer time to encode a certain small area than the time per screen (hereinafter, referred to as a unit frame time) determined by the frame rate of the original moving image, and the temporally continuous time of the original image If it is impossible to encode the image of the corresponding small area in the frame of, that is, even if the frame is dropped in a certain small area, the encoder corresponding to the other small area will As long as there is room, image coding can be performed without dropping frames. As a result, it is possible to prevent the image quality from deteriorating due to frame dropping of the entire screen.

【0027】すなわち、符号化処理能力が乏しく、一画
面の符号化処理速度が原画像のフレームレートよりも遅
いような画像符号化システムであっても、画像入力バッ
ファとしてのフレームバッファ2を全体として溢れさせ
ないようにすることができるので、一画面単位に画像を
間引いてフレームレートを落とさなくても良いというメ
リットがある。
That is, even in an image coding system in which the coding processing capability is poor and the coding processing speed of one screen is lower than the frame rate of the original image, the frame buffer 2 as the image input buffer is used as a whole. Since overflow can be prevented, there is an advantage that it is not necessary to reduce the frame rate by thinning out images in units of one screen.

【0028】また、復号器側である小領域の画像の復号
化に時間がかかる場合、該当する小領域の画像符号化デ
ータを単位フレーム時間分捨てることにより、部分的な
コマ落としを意図的に行うことが可能である。このと
き、他の小領域の画像復号化には何ら影響を与えないた
め、画面全体のコマ落としによる画質劣化を防ぐことが
できる。
When it takes a long time to decode an image of a small area on the decoder side, the image coding data of the corresponding small area is discarded by a unit frame time, so that partial frame dropping is intentionally performed. It is possible to do. At this time, since there is no effect on the image decoding of the other small areas, it is possible to prevent the image quality from being degraded due to the dropping of frames on the entire screen.

【0029】なお、上記の実施形態では、画像入力部1
は動画像の各フレームを1つ1つあるタイミングで「一
瞬」のうちにフレームバッファ2に書き込み、各小領域
用の画像符号化器31-1 、31-2 、……はフレームバッ
ファ2から各小領域の画像を「一瞬」のうちに読み出し
ているが、画像入力部1がフレームバッファ2に書き込
んだ画像データが各画像符号化器31-1 、31-2 、……
に正しく渡るような排他制御機構を用いれば、「一瞬」
でなくても良い。
In the above embodiment, the image input unit 1
Write each frame of the moving image to the frame buffer 2 at a certain moment "in an instant", and the image encoders 31-1 , 31-2 ,... 2, the image of each small area is read out instantaneously, but the image data written into the frame buffer 2 by the image input unit 1 is converted into the image encoders 31-1 , 31-2 ,...
If you use an exclusive control mechanism that passes over
It is not necessary.

【0030】(第2の実施形態)第2の実施形態は、上
記第1の実施形態において、通信路5がパケット通信路
である場合について述べたものである。
(Second Embodiment) In the second embodiment, the case where the communication channel 5 is a packet communication channel in the first embodiment is described.

【0031】この場合、各小領域用の画像符号化器3
1-1 、31-2 、……が出力する一画面内の一小領域当た
りの符号化長を、符号化データに付随するヘッダを含め
て通信路によって定められる最大パケット長(IEEE
802.3の場合、1500オクテット)以下となるよ
うにした上で、1パケットに1画面内の一小領域の画面
内画像符号化データを載せる。これにより、一画面内の
一小領域の画面内画像符号化データが、複数のパケット
に跨がらないようにする。
In this case, the image encoder 3 for each small area
1-1 , 3 1-2 ,..., The coding length per small area in one screen is determined by the maximum packet length (IEEE) determined by the communication path including the header attached to the coded data.
In the case of 802.3, 1500 octets) or less, and in-packet image encoding data of a small area in one screen is placed in one packet. Thus, the in-screen image encoded data of one small area in one screen is prevented from straddling a plurality of packets.

【0032】図2は、通信路5がパケット通信路である
場合に本実施形態の動画像符号化装置から送出されるパ
ケットの構造の一例を示す図である。図2に示すよう
に、各パケットは、ヘッダ+符号化データという構造に
なっている。ヘッダには、画像上の対応する小領域の位
置((1,1) 、(1,2) 、……)や、表示時期を表すタイム
スタンプ等の情報が含まれる。
FIG. 2 is a diagram showing an example of the structure of a packet transmitted from the moving picture coding apparatus of the present embodiment when the communication channel 5 is a packet communication channel. As shown in FIG. 2, each packet has a structure of header + encoded data. The header includes information such as the position of the corresponding small area on the image ((1,1), (1,2),...) And a time stamp indicating the display time.

【0033】通常、パケット通信路においては、パケッ
ト単位で情報が到達したり、消失したりする。したがっ
て、本実施形態では1つのパケット内に一画面内の一小
領域の符号化データを載せるようにしているので、一画
面内の一小領域を単位として符号化データが画像復号器
に到達したり、到達しなかったりする。
Normally, information arrives or disappears on a packet communication path in packet units. Therefore, in the present embodiment, the encoded data of one small area in one screen is placed in one packet, so that the encoded data reaches the image decoder in units of one small area in one screen. Or not reach.

【0034】そのため、パケットロスの多い通信路を使
用した場合でも、復号器に到達したパケットを有効に利
用して画像復号化を行うことが可能となる。これによ
り、パケットロスがある場合でも、パケット再送処理を
行わなくても済むので画像伝送の遅延を防止することが
できるとともに、次の画面の同期パターンを検出しなく
ても済むのでコマ落としを防止することができる。
Therefore, even when a communication path having a large packet loss is used, image decoding can be performed by effectively using the packet that has reached the decoder. As a result, even if there is a packet loss, it is not necessary to perform the packet retransmission processing, so that it is possible to prevent a delay in image transmission, and it is not necessary to detect a synchronization pattern of the next screen, thereby preventing a frame drop. can do.

【0035】また、複数の端末へ向けた動画像通信や動
画像放送を行う際に、図3に示すように通信路の太さ
(通信速度)や復号化能力が相手によって異なる場合が
ある。このような場合でも、パケット単位(一画面内の
一小領域単位)で符号化データが消失することを考える
と、符号化装置は何らの対策を講じることなく、各端末
に対して適切な画像符号化データを送出することができ
る。なお、このようなメリットは、パケット通信路を使
用した場合だけでなく、符号化データを一画面内の一小
領域単位で伝送するのであれば同様に得ることができ
る。
Further, when performing moving image communication or moving image broadcasting to a plurality of terminals, as shown in FIG. 3, the size of the communication path (communication speed) and the decoding capability may differ depending on the other party. Even in such a case, considering that the encoded data is lost in packet units (small area units in one screen), the encoding apparatus does not take any countermeasures, and the encoding apparatus does not take appropriate measures for each terminal. Encoded data can be sent. Such advantages can be obtained not only when the packet communication path is used but also when the encoded data is transmitted in units of a small area in one screen.

【0036】なお、第2の実施形態においては、画像符
号化器は一画面内の一小領域の符号化データを1パケッ
ト内に載せているが、複数の画面にわたる一小領域の符
号化データを1パケット内に載せるようにしても良い。
In the second embodiment, the image encoder places encoded data of a small area in one screen in one packet, but encodes encoded data of a small area in a plurality of screens. May be included in one packet.

【0037】また、第2の実施形態においては、画像符
号化器は小領域ごとに画面内符号化を行っているが、符
号化長が1パケット内に収まるという条件付きで、画面
間符号化を使用しても良い。ただし、この場合にパケッ
トロスに対して十分な耐性を持たせるためには、上述の
複数の画面にわたる一小領域の符号化データを1パケッ
ト内に載せる手法と組み合わせて、各パケットに含まれ
る最初の画像は画面内符号化されている必要がある。
In the second embodiment, the image encoder performs intra-frame encoding for each small area. However, the inter-frame encoding is performed on condition that the encoding length falls within one packet. May be used. However, in this case, in order to have sufficient resistance to packet loss, the first data included in each packet is combined with the above-described method of mounting the coded data of a small area over a plurality of screens in one packet. Must be intra-coded.

【0038】なお、本発明は複数の機器(例えば、ホス
トコンピュータ、インタフェース機器、リーダ、プリン
タ等)から構成されるシステムに適用しても1つの機器
(例えば、複写機、ファクシミリ装置)からなる装置に
適用しても良い。
The present invention can be applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) and can be configured as a single device (for example, a copying machine or a facsimile machine). May be applied.

【0039】また、上述した実施形態の機能を実現する
ように各種のデバイスを動作させるように、該各種デバ
イスと接続された装置あるいはシステム内のコンピュー
タに対し、上記実施形態の機能を実現するためのソフト
ウェアのプログラムコードを供給し、そのシステムある
いは装置のコンピュータ(CPUあるいはMPU)に格
納されたプログラムに従って上記各種デバイスを動作さ
せることによって実施したものも、本発明の範疇に含ま
れる。
Further, in order to operate various devices so as to realize the functions of the above-described embodiments, a device connected to the various devices or a computer in a system can realize the functions of the above-described embodiments. The present invention also includes programs implemented by supplying the program code of the software described above and operating the various devices according to programs stored in a computer (CPU or MPU) of the system or apparatus.

【0040】また、この場合、上記ソフトウェアのプロ
グラムコード自体が上述した実施形態の機能を実現する
ことになり、そのプログラムコード自体、およびそのプ
ログラムコードをコンピュータに供給するための手段、
例えばかかるプログラムコードを格納した記憶媒体は本
発明を構成する。かかるプログラムコードを記憶する記
憶媒体としては、例えばフロッピーディスク、ハードデ
ィスク、光ディスク、光磁気ディスク、CD−ROM、
磁気テープ、不揮発性のメモリカード、ROM等を用い
ることができる。
In this case, the program code of the software implements the functions of the above-described embodiment, and the program code itself, and means for supplying the program code to the computer,
For example, a storage medium storing such a program code constitutes the present invention. As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM,
A magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0041】また、コンピュータが供給されたプログラ
ムコードを実行することにより、上述の実施形態の機能
が実現されるだけでなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティング
システム)あるいは他のアプリケーションソフト等の共
同して上述の実施形態の機能が実現される場合にもかか
るプログラムコードは本発明の実施形態に含まれること
は言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) or other operating system running on the computer. Needless to say, even when the functions of the above-described embodiments are realized in cooperation with application software or the like, such program codes are included in the embodiments of the present invention.

【0042】さらに、供給されたプログラムコードがコ
ンピュータの機能拡張ボードやコンピュータに接続され
た機能拡張ユニットに備わるメモリに格納された後、そ
のプログラムコードの指示に基づいてその機能拡張ボー
ドや機能拡張ユニットに備わるCPU等が実際の処理の
一部または全部を行い、その処理によって上述した実施
形態の機能が実現される場合にも本発明に含まれること
は言うまでもない。
Further, after the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, the function expansion board or the function expansion unit is specified based on an instruction of the program code. It is needless to say that the present invention also includes a case where the CPU or the like provided in the first embodiment performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0043】なお、以上の実施形態では、動画像を符号
化する方法および装置等について説明したが、静止画像
の符号化についても本発明を同様に適用することが可能
である。
In the above embodiment, a method and an apparatus for encoding a moving image have been described. However, the present invention can be similarly applied to the encoding of a still image.

【0044】[0044]

【発明の効果】本発明は上述したように、画像を複数の
小領域に分け、各々の小領域について独立に符号化処理
を行うようにしたので、画面中の一部の領域で符号化に
かかる時間が長くなった場合でも、画面全体ではコマ落
としが生じないようにすることができ、例えば、画像符
号化処理速度が原動画像のフレームレートよりも遅い画
像符号化システムにおいても、一画面単位に画像を間引
いてフレームレートを落とさなくても良くなる。
As described above, according to the present invention, an image is divided into a plurality of small areas, and encoding processing is performed for each of the small areas independently. Even when the time is long, it is possible to prevent frame dropping on the entire screen. For example, even in an image encoding system in which the image encoding processing speed is lower than the frame rate of the moving image, one frame unit can be used. It is not necessary to reduce the frame rate by thinning out images.

【0045】本発明の他の特徴によれば、小領域単位で
独立して符号化した画像符号化データをそれぞれ独立し
て伝送するようにしたので、例えば、通信速度や復号器
側における復号化能力が異なる複数の端末に対して動画
像通信等を行う場合でも、能力の高い端末に合わせたフ
レームレートで符号化することで、それぞれの能力に合
った適切な画像符号化データを送ることができるように
なる。
According to another feature of the present invention, the image coded data independently coded in small area units are transmitted independently, so that, for example, the communication speed and the decoding at the decoder side Even when performing video communication etc. to multiple terminals with different capabilities, it is possible to send image encoded data appropriate for each capability by encoding at a frame rate adapted to terminals with high capabilities. become able to.

【0046】また、本発明のその他の特徴によれば、符
号化データの伝送路としてパケット通信路を使用する場
合において、各々の小領域の画像の最大符号化長が1パ
ケット長以下となるようにしたので、パケットロスがあ
る場合でも、パケット再送処理を行わなくても済むた
め、画像伝送に遅延が起きないようにすることができる
とともに、次の画面の同期パターンを検出しなくても良
いため、コマ落としが起きないようにすることもでき
る。
According to another feature of the present invention, when a packet communication path is used as a transmission path of coded data, the maximum coding length of an image in each small area is less than one packet length. Therefore, even if there is a packet loss, it is not necessary to perform a packet retransmission process, so that a delay in image transmission can be prevented and a synchronization pattern of the next screen need not be detected. Therefore, it is possible to prevent frame dropping.

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

【図1】本発明の画像伝送方法が適用される動画像符号
化装置の一実施形態を示す構成図である。
FIG. 1 is a configuration diagram illustrating an embodiment of a moving image encoding device to which an image transmission method according to the present invention is applied.

【図2】第2の実施形態の動画像符号化装置から出力さ
れるパケットの構造を示す図である。
FIG. 2 is a diagram illustrating a structure of a packet output from a video encoding device according to a second embodiment.

【図3】第2の実施形態の動画像符号化装置を含むネッ
トワークの構成例を示す図である。
FIG. 3 is a diagram illustrating a configuration example of a network including a video encoding device according to a second embodiment.

【図4】原画像のスキャン方式を示す図である。FIG. 4 is a diagram showing a scanning method of an original image.

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

1 画像入力部 2 フレームバッファ 3 画像符号化器 31-1 、31-2 、… 各小領域(1,1) 、(1,2) 、…用の
独立した符号化器 4 通信インタフェース部 5 通信路
DESCRIPTION OF SYMBOLS 1 Image input part 2 Frame buffer 3 Image encoder 31-1 , 31-2 , ... Independent encoder for each small area (1,1), (1,2), ... 4 Communication interface part 5 Communication channel

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 画像を伝送のためのパケットの大きさに
関連した複数の小領域に分け、各々の小領域について独
立に符号化処理を行うようにしたことを特徴とする画像
符号化方法。
1. An image encoding method, comprising dividing an image into a plurality of small areas related to the size of a packet for transmission, and performing encoding processing on each of the small areas independently.
【請求項2】 画像を伝送のためのパケットの大きさに
関連した複数の小領域に分け、各々の小領域について独
立に符号化処理を行い、上記各々の小領域について独立
に符号化したデータをそれぞれ独立に伝送するようにし
たことを特徴とする画像伝送方法。
2. An image obtained by dividing an image into a plurality of small areas related to the size of a packet for transmission, performing encoding processing on each small area independently, and independently encoding each of the small areas. Are transmitted independently of each other.
【請求項3】 符号化データを伝送する通信路としてパ
ケット通信路を使用し、上記各々の小領域の画像の最大
符号化長が1パケット長以下になるようにして符号化処
理を行うことを特徴とする請求項2に記載の画像伝送方
法。
3. A method for performing an encoding process using a packet communication channel as a communication channel for transmitting encoded data such that a maximum encoding length of an image of each of the small areas is one packet length or less. 3. The image transmission method according to claim 2, wherein:
【請求項4】 1フレーム分の画像をフレームバッファ
に順次書き込む画像入力手段と、 上記フレームバッファに書き込まれた1フレーム分の画
像をパケットの大きさに関連した複数の小領域に分け、
各々の小領域について独立に符号化処理を行う符号化手
段とを備えたことを特徴とする画像符号化装置。
4. An image input means for sequentially writing an image for one frame into a frame buffer; and dividing the image for one frame written in the frame buffer into a plurality of small areas related to the size of a packet;
An image encoding apparatus, comprising: encoding means for performing encoding processing independently for each small area.
【請求項5】 1フレーム分の画像をフレームバッファ
に順次書き込む画像入力手段と、 上記フレームバッファに書き込まれた1フレーム分の画
像を複数の小領域に分け、各々の小領域について独立に
符号化処理を行う符号化手段と、 上記符号化手段により各々の小領域について独立に符号
化されたデータをそれぞれ独立に伝送する伝送手段とを
備えたことを特徴とする画像伝送装置。
5. An image input means for sequentially writing an image for one frame into a frame buffer, dividing the image for one frame written in the frame buffer into a plurality of small areas, and independently encoding each small area. An image transmission apparatus comprising: an encoding unit that performs processing; and a transmission unit that independently transmits data independently encoded for each small region by the encoding unit.
【請求項6】 符号化データを伝送する通信路としてパ
ケット通信路を使用し、上記各々の小領域の画像の最大
符号化長が1パケット長以下になるようにして符号化処
理を行うように上記符号化手段を構成したことを特徴と
する請求項5に記載の画像伝送装置。
6. A packet communication path is used as a communication path for transmitting coded data, and the coding process is performed such that the maximum coding length of the image in each of the small areas is one packet length or less. 6. The image transmission device according to claim 5, wherein said encoding means is constituted.
【請求項7】 請求項1に記載の画像符号化方法を構成
するステップがコンピュータから読み出し可能に格納さ
れている媒体。
7. A medium in which steps constituting the image coding method according to claim 1 are stored so as to be readable from a computer.
【請求項8】 請求項2または3に記載の画像伝送方法
を構成するステップがコンピュータから読み出し可能に
格納されている媒体。
8. A medium in which the steps constituting the image transmission method according to claim 2 or 3 are stored so as to be readable from a computer.
JP26972296A 1996-10-11 1996-10-11 Image-coding method and device, image transmission method and device, and medium Pending JPH10117345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26972296A JPH10117345A (en) 1996-10-11 1996-10-11 Image-coding method and device, image transmission method and device, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26972296A JPH10117345A (en) 1996-10-11 1996-10-11 Image-coding method and device, image transmission method and device, and medium

Publications (1)

Publication Number Publication Date
JPH10117345A true JPH10117345A (en) 1998-05-06

Family

ID=17476261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26972296A Pending JPH10117345A (en) 1996-10-11 1996-10-11 Image-coding method and device, image transmission method and device, and medium

Country Status (1)

Country Link
JP (1) JPH10117345A (en)

Similar Documents

Publication Publication Date Title
JP3365771B2 (en) Video signal compression device
JP3630474B2 (en) Moving picture transmission system and moving picture transmission apparatus
US5410354A (en) Method and apparatus for providing compressed non-interlaced scanned video signal
JP3552811B2 (en) Digital video signal encoding device and decoding device
JP4820559B2 (en) Video data encoding and decoding method and apparatus
JPH05207460A (en) Multiplex transmitter and its system for picture signal
US20010026587A1 (en) Image encoding apparatus and method of same, video camera, image recording apparatus, and image transmission apparatus
US20050008079A1 (en) Moving-picture encoding apparatus, moving-picture encoding methods, and moving-picture encoding programs
KR100215824B1 (en) The frame memory and image data decoding method in mpeg decoder
JP4086344B2 (en) Image transmitting apparatus and control method
US7403566B2 (en) System, computer program product, and method for transmitting compressed screen images from one computer to another or many computers
US20050226327A1 (en) MPEG coding method, moving picture transmitting system and method using the same
JP3426668B2 (en) Video coding method
JP2004504782A (en) Alternate block order for better prediction
JP2006141037A (en) Apparatus, method and program for encoding moving image
JPH10117345A (en) Image-coding method and device, image transmission method and device, and medium
JPH10145237A (en) Compressed data decoding device
JPH1070727A (en) Method and device for transmitting moving picture
JP2002010263A (en) Motion picture encoding apparatus and its method
JPH0750839A (en) Coding method for motion picture
JP3141149B2 (en) Image coding device
JP3792780B2 (en) Image processing device
JP3480980B2 (en) Image signal transmission method and apparatus, and image signal decoding method and apparatus
JPH08205159A (en) Dynamic image transmission system
JP3594017B2 (en) Bitstream transmission method and transmission system