JP4176865B2 - Image transmission device - Google Patents

Image transmission device Download PDF

Info

Publication number
JP4176865B2
JP4176865B2 JP12102798A JP12102798A JP4176865B2 JP 4176865 B2 JP4176865 B2 JP 4176865B2 JP 12102798 A JP12102798 A JP 12102798A JP 12102798 A JP12102798 A JP 12102798A JP 4176865 B2 JP4176865 B2 JP 4176865B2
Authority
JP
Japan
Prior art keywords
transmission
quality
frame
tcp
frames
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.)
Expired - Fee Related
Application number
JP12102798A
Other languages
Japanese (ja)
Other versions
JPH11313330A (en
Inventor
良昌 梶原
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP12102798A priority Critical patent/JP4176865B2/en
Publication of JPH11313330A publication Critical patent/JPH11313330A/en
Application granted granted Critical
Publication of JP4176865B2 publication Critical patent/JP4176865B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、伝送誤りを生じ得る伝送路を介して画像データを伝送する画像伝送装置に関する。
【0002】
【従来の技術】
従来からの画像伝送装置の基本的な構成を図7に示す。従来の画像伝送装置では、まず符号化器1で画像データが符号化されて圧縮される。画像データは、情報量がかなり大きく、そのまま伝送するとかなりの伝送能力を有し、伝送速度を高めることが困難である。また伝送路として公衆電話回線などを使用するときには、伝送路の周波数帯域が限られていて不充分なことも多い。一方、画像データとして、特に動画像を伝送する必要があるときには、伝送速度が速いことも要求される。このため、画像データは符号化器1で情報量を圧縮する処理が行われる。
【0003】
動画像の画像データでは、一般にフレームを単位として時間軸方向に変化する画像が順次的に形成されている。符号化器1で動画像の圧縮符号化を行う際には、連続した2枚のフレーム間の相関情報を用いて圧縮符号化を行うフレーム間符号化と、1枚のフレーム内の情報のみを用いて圧縮符号化を行うフレーム内符号化とがある。動画像の性質として、一般にフレーム間符号化の方がフレーム内符号化と比べて高い圧縮率を得ることができる。ただし、フレーム間符号化方法で符号化されるフレームを、受信側で正確に復号化するためには、符号化を行う際に参照される1つ前のフレームが受信側で正確に受信されている必要がある。一方、フレーム内符号化では、一般にフレーム間符号化ほど圧縮率は高くないけれども、復号の際に1つ前のフレームを参照する必要はなく、そのフレーム内の情報のみに基づいて復号化することができる。
【0004】
図7の符号化器1で符号化される画像データは、伝送器2で伝送に適した大きさの情報量となるようにセグメント化し、ヘッダを付加してパケットと呼ばれる単位に整理した後、伝送プロトコルに従って伝送する。伝送プロトコルとして、後述するようなUDP(User Datagram Protocol)プロトコルを採用すると、UDPヘッダが付加されてUDPパケットが形成され、伝送路を介して伝送される。
【0005】
図8は、図7の伝送器2におけるセグメント化およびパケット化の過程を示す。セグメント化とは、あるデータを伝送する際に、データを伝送に適した大きさに分割することである。このセグメント化されたデータに、伝送に必要なヘッダを付加することをパケット化と呼び、図8では連続した画像データを符号化した画像符号化データの1つのフレームに対応するデータがn個のセグメントに分割され、さらにUDPヘッダが付加されてUDPパケット化されている。
【0006】
図9は、図8に示すようにしてUDPパケット化された1からn個のUDPパケットを伝送する際の伝送手順を示す。UDPは、信頼性よりも高速伝送を重視している伝送プロトコルである。UDPパケットの伝送では、パケットを送るのみで他の処理をしないため、効率の良い伝送を行うことができる。しかしながら、伝送するパケットに誤りが生じた場合でも、パケットの再送は行われない。このようにUDPは、信頼性はないけれども高速でデータの伝送を行うことができるという利点がある。したがって、動画像のデータのようなリアルタイム性が要求されるデータの伝送に向いており、従来方式の画像伝送装置では動画像データの伝送にUDPを伝送プロトコルとして使用している。
【0007】
図10は、前述のUDPとともに代表的な伝送プロトコルであるTCP(
Transmission Control Protocol)に従う伝送手順を示す。TCPは、信頼性の高い通信を可能にするため、受信側でパケットを受信するたびに、受信パケットに誤りがなければ肯定応答ACK信号を送信側へ送り返す。送信側ではACKが送られてくるのを待って次のパケットを送信する。もし、受信側で受信パケットに誤りがあると判断するときには、否定応答であるNACK信号を送信側に送り返す。図10では、2番目のTCPパケットの最初の受信で受信パケットに誤りがあり、NACK信号を返送している。送信側はTCPパケット2を再送し、受信側からACK信号が返送されるのを待って次のパケットの送信に移る。TCPパケット1からTCPパケットnのn個のパケットの伝送が終了するまでの間には、受信側でパケットが誤りなく受信されていることを確認する手順が繰返えされるので、TCPではデータの伝送の正確さは保証されるけれども、UDPよりデータの伝送に必要な手順が複雑になり、リアルタイム性が要求されるデータの伝送には比較的不向きとなる。
【0008】
図11は、特開平7−99662(特願平5−241520)で開示されている動画像信号伝送の考え方を示す。この先行技術では、ステップS11で符号化するフレームを取得し、ステップS12で圧縮符号化を行った後に、ステップS13で伝送対象となっている注目フレームを、後続するフレームの参照フレームとして用いるか否かを判断する。後続するフレームの参照フレームとして用いるときには、ステップS14でTCPの伝送プロトコルを用いて伝送する。ステップS13で後続するフレームの参照フレームとして用いられないと判断されるときには、ステップS15でUDPプロトコルを用いて伝送する。ステップS14またはステップS15でフレームの伝送を行った後は、ステップS11に戻り、さらに次のフレームを伝送対象として入力する。
【0009】
この先行技術では、後続するフレームの参照フレームとはならないフレームを伝送する際に、UDPを用いる。UDPを伝送プロトコルとして用いて、画像の品質が劣化したとしても、その影響はそのフレームのみに止どまるので、高速な伝送が可能なUDPを用い、伝送の高速化を図っている。後続するフレームの参照フレームとして用いるフレームについては、TCPで伝送することによって、後続するフレームへの品質悪化の影響をできるだけ抑制する。この先行技術は、図11のような伝送プロトコルの使い分けによって、比較的リアルタイム性を維持しつつ、誤りに強い動画像データの伝送を行おうとしている。
【0010】
図12は、一連のフレームを順次伝送する場合に、図11のステップS12の圧縮符号化の段階で、後続するフレームが先行するフレームを参照フレームとして用いれるときにフレーム間符号化を行い、後続するフレームが先行するフレームを参照フレームとして用いれないときにフレーム内符号化を行うときの、画像データのシーケンスの例を示す。1,2,3,5,6,7,9のフレームは、後続する画像の参照フレームとなるので、TCPを用いて、品質の高い伝送を行う。また4および8のフレームは、後続するフレームがフレーム内符号化によって符号化されているため、後続フレームの参照フレームとはならない。このため、高速な伝送が可能なUDPを伝送プロトコルとして用いて伝送する。
【0011】
【発明が解決しようとする課題】
従来方式で動画像を伝送する場合に、UDPを伝送プロトコルとして用いて伝送を行っているけれども、UDPではデータの伝送が正確に行われることは保証されていないので、フレーム間符号化を用いて作成される符号化データの伝送を行う場合には、後続するフレームの参照データとなる画像の符号化データのパケットで伝送誤りが生じる場合に、後続するフレームを正確に復号することができなくなる欠点がある。
【0012】
また、特開平7−99662の先行技術では、伝送しようとするフレームが後続するフレームの参照フレームとして用いているか否かを判断基準として伝送方法を切換えている。このため、図12に示すような順番でフレーム内符号化およびフレーム間符号化が施されている画像シーケンスを伝送する際には、データの伝送に使用する回線の品質に拘わらず、1,2,3,5,6,7,9のフレームがTCPにより伝送され、4および8のフレームはUDPを用いて伝送されることになる。
【0013】
ここで、通信回線の品質が充分に良好な場合には、符号化されたデータをUDPで伝送したとしても、データが誤る確率は低くなる。しかしながら、特開平7−99662の先行技術のように、伝送手順の複雑なTCPを用いて伝送するようにすると、受信側では伝送エラーの検出や検出結果に従う送信側への返答、送信側では受信側からの返答内容に従う判断などのためのオーバヘッドが大きくなり、状態の良い伝送路を用いても高速なデータ伝送を行うことができない。
【0014】
本発明の目的は、伝送路の品質に応じて、伝送効率およびエラー耐性を高めることができる画像伝送装置を提供することである。
【0015】
本発明は、フレーム単位で時間軸方向に連続する動画像を表す画像データを、この画像データの情報量を圧縮して符号化し、伝送路を介してパケットとして伝送する画像伝送装置において、
伝送路を監視し、伝送される情報中に発生する伝送誤りを検出して、伝送路の品質を測定する品質監視手段と、
画像データをフレーム内符号化方法およびフレーム間符号化方法に従って符号化可能であり、符号化方法を切換え可能な符号化手段と、
符号化手段によって符号化され画像データを、伝送が誤りなく行われるように確認しながら行うTCPおよび伝送後の確認を行わないUDPに従って伝送可能であり、伝送プロトコルを切換え可能な伝送手段と、
品質監視手段によって測定される伝送路の品質が予め定める品質基準よりも良好なとき、TCPで伝送するのは、フレーム内符号化方法で符号化されたフレームだけとし、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、フレーム内符号化方法で符号化されたフレームだけでなく、フレーム間符号化方法で符号化されたフレームも、TCPで伝送するように、伝送手段を制御する制御手段とを含むことを特徴とする画像伝送装置である。
【0016】
本発明に従えば、フレーム単位で時間軸方向に連続する動画像を表す画像データを、この画像データの情報量を圧縮して符号化し、伝送路を介してパケットとして伝送する。符号化手段は、画像データをフレーム内符号化方法およびフレーム間符号化方法に従って符号化可能であり、符号化方法を切換え可能である。伝送手段は、符号化手段によって符号化され画像データを、伝送が誤りなく行われるように確認しながら行うTCPおよび伝送後の確認を行わないUDPに従って伝送可能であり、伝送プロトコルを切換え可能である。
品質監視手段は、伝送路を監視し、伝送されるパケット中に発生する伝送誤りを検出して伝送路の品質を測定する。制御手段は、品質監視手段によって測定される伝送路の品質が予め定める品質基準よりも良好なとき、TCPで伝送するのは、フレーム内符号化方法で符号化されたフレームだけとし、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、フレーム内符号化方法で符号化されたフレームだけでなく、フレーム間符号化方法で符号化されたフレームも、TCPで伝送するように、伝送手段を制御する。したがって伝送路の品質に応じて、伝送効率およびエラー耐性を高めることができる。
【0017】
また本発明で前記制御手段は、前記品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも良好なとき、前記伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、前記伝送手段を制御することを特徴とする。
【0018】
本発明に従えば、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも良好なとき、前記伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、制御手段によって伝送手段を制御する。これによって画像データの品質の低下させることなく、できるだけ高い伝送効率で、画像データを伝送することができる。
【0019】
また本発明で前記制御手段は、前記品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、前記伝送路の品質が悪化するにつれて、フレーム間符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、前記伝送手段を制御することを特徴とする。
【0020】
本発明に従えば、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、前記伝送路の品質が悪化するにつれて、フレーム間符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、制御手段によって伝送手段を制御する。これによって画像データの品質の低下させることなく、できるだけ高い伝送効率で、画像データを伝送することができる。
【0021】
また本発明で前記制御手段は、前記品質監視手段によって測定される伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化するフレームの割合を増やすように、前記符号化手段を制御することを特徴とする。
【0022】
本発明に従えば、品質監視手段によって測定される伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化するフレームの割合を増やすように、制御手段によって符号化手段を制御する。これによって伝送路の品質が良好なときには、圧縮率を高めて伝送効率を高めることができ、また伝送路の品質が悪化しているときには、エラー耐性を高くすることができる。
【0023】
また本発明で前記制御手段は、前記品質監視手段によって測定される伝送路の品質が悪化するにつれて、パケットサイズを小さくするように、前記伝送手段を制御することを特徴とする。
【0024】
本発明に従えば、品質監視手段によって測定される伝送路の品質が悪化するにつれて、パケットサイズを小さくするように、制御手段によって伝送手段を制御する。これによって伝送路の品質が良好なときには、パケットサイズを大きくして伝送効率を高めることができ、また伝送路の品質が悪化しているときには、パケットサイズを小さくして誤りが生じる可能性を少なくして確実な画像データの伝送を行うことができる。
【0025】
また本発明で前記品質監視手段によって測定される伝送路の品質に応じた伝送プロトコルの切換え制御を無効にするための無効入力手段をさらに含み、
前記制御手段は、無効入力手段に前記切換え制御を無効にする入力が行われると、前記伝送路の品質に応じた伝送プロトコルの切換え制御を行わないことを特徴とする。
【0026】
本発明に従えば、品質監視手段によって測定される伝送路の品質に応じた伝送プロトコルの切換え制御を無効にするための無効入力手段に、前記切換え制御を無効にする入力を行えば、制御手段は、前記伝送路の品質に応じた伝送プロトコルの切換え制御を行わない。したがって予め設定される伝送プロトコルで伝送を続けることができる。これによって従来方法との互換性を保つことができる。また前記伝送路の品質が時間的に変動する場合などで、前記切換え制御が頻繁に行われて、かえってオーバヘッドによる伝送効率の低下が生じる事態を避けることができる。
【0027】
また本発明は、前記画像伝送装置として、コンピュータを機能させるためのプログラムを記録したコンピュータ読取り可能な記録媒体である。
【0028】
本発明に従えば、伝送路の品質に応じて伝送プロトコルを切換え、伝送効率が高くかつエラー耐性に優れる画像伝送装置を、コンピュータを用いて実現することができる。
【0031】
【発明の実施の形態】
図1は、本発明の実施の一形態としての画像伝送装置10の概略的な電気的構成を示す。画像伝送装置10には、画像データの符号化を行う符号化部11と、符号化部11で符号化された符号化データをパケット化する伝送部12とを含み、動画像の画像データを伝送路15を介して連続的に伝送することができる。本実施形態の画像伝送装置10は、伝送路15の品質を監視するエラー監視部16と、エラー監視部16によって検出される伝送誤りに従って、符号化方法および伝送方法を制御する符号化・伝送制御部17とをさらに含む。符号化・伝送制御部17で符号化方法を切換える際には、符号化部11内に設けられるフレーム内符号化手段21と、フレーム間符号化手段22とを切換える。符号化・伝送制御部17が伝送方法の切換えを行う際には、伝送プロトコルの切換えを伝送部12内に設けられるUDPパケット化器31およびTCPパケット化器32の選択で行い、また合わせてパケットサイズの切換えも行う。なお、ユーザ入力部40では、符号化・伝送制御部17の制御を無効にする操作を入力することもできる。また伝送路15は、有線の専用回線や公衆電話回線、無線のPHS(Personal Handyphone System)回線などを使用することができる。
【0032】
図1のエラー監視部16では、伝送路15から受信されるパケットのヘッダ情報に含まれるチェックサムを利用して、受信したパケットに誤りが発生しているか否かを検査する。正常に受信することができたパケットに含まれるデータの総ビット数をNCORRECTとし、誤りがあったパケットに含まれているデータの総ビット数をNERRORとし、これらを別個に加算しておく。次に誤りがあったパケットに含まれていたデータの総ビット数NERRORを、受信したパケットに含まれていたデータの総ビット数(NCORRECT+NERROR)で除算することによって、誤り率を求め、その値を伝送路15の回線としての品質の測定値とする。
【0033】
符号化・伝送制御部17では、エラー監視部16から誤り率の測定値を取得し、予め設定される品質基準値である閾値と比較することによって、現在の誤り率に対して最適な符号化方法、伝送プロトコルおよびパケットサイズを求める。符号化・伝送制御部17は、求められた符号化方法に切換えるために、符号化部11に対して切換えを示す制御信号を与える。また符号化・伝送制御部17は、伝送部12に対して、決定された伝送プロトコルおよびパケットサイズに切換えるための制御信号を与える。
【0034】
図2は、図1の符号化・伝送制御部17での処理の流れを示す。ステップa0から動作を開始し、ステップa1では、エラー監視部16から、伝送路15の品質を表す回線品質に対応する誤り率を取得する。ステップa2では、取得された回線品質に基づいて、何フレームに1回というように、フレーム内符号化を適用するフレーム数を算出する。ステップa3では、ステップa2で算出された間隔毎に符号化部11に対してフレーム内符号化を行うような制御信号を与える。
【0035】
図3は、誤り率とフレーム内符号化を適用するフレームの数との対応関係を示す。フレーム内符号化を施すと、データの圧縮率は低下するけれども、エラー耐性は大きくなるので、誤り率が大きく回線品質が悪化しているときにはフレーム内符号化の割合を大きくする。誤り率が低い場合には、図3(1)のようにフレーム内符号化を施すフレームの数を少なくし、フレーム間符号化を施すフレームの割合を増やして、伝送速度を高め、効率的な伝送が可能となるようにする。図3(2)から(3)にかけては、誤り率の増加に伴い、フレーム内符号化を適用するフレームの数を増やして、画像のリフレッシュを頻繁に行うことで、復元画像の劣化を防ぐ。
【0036】
図2のステップa1でフレーム内符号化を行った後、またはステップa3でフレーム内符号化を行わない、すなわちフレーム間符号化のままとする制御を行った後は、ステップa6に移る。ステップa6では、ステップa1で取得した誤り率と、予め設定される閾値とを比較することによって、どのフレームでTCPを伝送プロトコルとして伝送するべきか算出し、TCPで伝送するフレームを決定する。ステップa6では、現在伝送しようとするフレームは、ステップa5で決定されたTCPで伝送するフレームであるか否かを判断する。TCPで伝送するフレームであると判断されるときには、ステップa7で伝送部12に対してTCPパケット化器32を選択するような制御信号を与えて、伝送方法の指示を行う。ステップa6で現在伝送しようとするフレームがTCPで伝送するフレームではないと判断されるときには、伝送部12に対する伝送方法の指示を行わず、伝送部12ではUDPパケット化器31を選択したままの状態とする。
【0037】
図4は、図3(1)に示すように符号化されている画像データを、誤り率に応じてUDPのプロトコルに従って伝送するかTCPのプロトコルに従って伝送するかを変化させる状態を示す。誤り率が充分に低い場合には、図4(1)に示すように、すべてのフレームの伝送にUDPを伝送プロトコルとして使用する。誤り率が増加してくる際には、まずフレーム内符号化されたデータを伝送する際にTCPの伝送プロトコルを使用するように、図4(2)や(3)に示すように、TCPの伝送プロトコルを用いて伝送するフレームを増やしていく。さらに誤り率が増加すると、フレーム間符号化のデータを伝送する際にも、TCPを用いるように、図4(4)から(5)に示すように、TCPを用いる割合を増やしていき、最終的には全てのフレームの伝送にTCPを伝送プロトコルとして用いるような制御を行う。最終的には図4(6)に示すように、すべてのフレームの伝送にTCPを伝送プロトコルとして用いるようになる。
【0038】
図2のステップa7で伝送方法をTCPに切換えた後、またはステップa6でTCPへの切換えを行わずにUDPで伝送すると判断された後は、ステップa8に移り、ステップa1で取得された誤り率に基づき、最適なパケット長を計算する。次にステップa9で、伝送部12に、ステップa8で計算されたパケット長に基づいてパケットサイズを指示する。ステップa10では、伝送する画像データがさらに存在するか否かを判断する。さらに存在するときにはステップa1に戻り、以上説明した手順を繰返す。伝送する画像がもう無いと判断されるときには、ステップa11で処理を終了する。
【0039】
図1の符号化・伝送制御部17では、以下に説明するような方法で符号化方法、伝送プロトコルおよびパケットサイズの決定を行う。符号化方法としては、符号化部11が備えるフレーム内符号化手段21によるフレーム内符号化と、フレーム間符号化手段22によるフレーム間符号化とが選択可能である。符号化部11では、通常はフレーム間符号化手段22を用いてフレーム間符号化を行う。符号化・伝送制御部17では、後述する第1式に基づいて、何フレーム毎にフレーム内符号化を適用するのかを決定し、フレーム内符号化手段21に切換える指示を符号化部11に対して与える。
【0040】
図2のステップa2で、フレーム内符号化を適用するフレームの数の算出は次のように行う。まず、先にフレーム内符号化が適用されてから、次にフレーム内符号化が適用されるまでのフレームの最大数をNとする。このNの値は、ユーザ入力部40などを介して、ユーザによって任意の値に設定が可能であり、Nの値が小さいほど画質が重視され、大きいほど伝送効率が重視されることになる。ついで、実際にフレーム内符号化が適用されてから、次ぎにフレーム内符号化が適用されるまでのフレーム数をn(1≦n≦N)とし、n枚毎にフレーム内符号化を適用するための品質基準値として使用する誤り率の閾値をThn とする。このとき、閾値Thn の値は、次の第1式によって定められる。
【0041】
【数1】

Figure 0004176865
【0042】
第1式で、ErrorRateは、伝送路15として利用する通信回線の誤り率を表す。無線電波を図1の伝送路15とする通信環境では、10-3程度の誤り率はかなり悪いと考えられるため、この値が最大となるように、デフォルトでは10-4に設定されるけれども、ユーザによって任意の値に設定可能とする。
【0043】
ここで、Nの値を10とすると、先にフレーム内符号化が適用されてから次にフレーム内符号化が適用されるまでのフレームの最大数は10となり、実際にフレーム内符号化が適用されてから、次にフレーム内符号化が適用されるまでのフレーム数nは1から10までの値とすることができる。また、誤り率の閾値Thの値は、N個(10個)存在することになるので、Th1からTh10まで存在することになる。次の表1は、N=10のときに、上述の第1式を利用して算出するTh1からTh10までの値を示す。
【0044】
【表1】
Figure 0004176865
【0045】
表1に示す閾値Th1からTh10までの値と、誤り率とを比較し、Thn≦誤り率<Thn-1となるnを探し、そのnフレーム毎にフレーム内符号化を適用する制御を符号化部11に対して行う。このとき、n=1であれば、Thn-1はTh0となるけれども、この時のTh0はTh0=1とする。
【0046】
図5は、フレーム内符号化を適用するフレームの決定のための処理の流れを示す。まずステップb0から処理を開始し、ステップb1では、エラー監視部16から伝送路の品質を表す誤り率を取得する。次にステップb2で、フレーム内符号化が適用されてから、次にフレーム内符号化が適用されるまでのフレーム数としてのパラメータnの初期値を1に設定する。ここで、nが1であるということは、各フレーム毎にフレーム内符号化が適用されていることを表す。すなわちフレーム間符号化は適用されないということでもある。
【0047】
ステップb3では、表1の閾値Thn≦誤り率<Thn-1の条件を満たすか否かの判定を行う。条件を満たされなかった場合には、ステップb4でパラメータnの値に1を加え、条件が満たされるまでステップb3の判定を繰返す。ステップb3で条件が満たされると判定される場合は、ステップb5に移り、そのときのパラメータnの値を、フレーム内符号化が適用されるまでのフレーム数として決定し、n枚毎にフレーム内符号化を適用する。ステップb6で処理を終了する。
【0048】
次に、図2のステップa5で行う伝送方法の決定処理を説明する。伝送方法としては、UDPおよびTCPの伝送プロトコルを伝送部12で切換えることができる。伝送部12では、通常はUDPパケット化器31を用い、符号化データの伝送を行う。符号化・伝送制御部17からの制御信号で切換えの指示が行われる場合には、TCPパケット化器32を用いて符号化データの伝送を行うように切換える。符号化・伝送制御部17では、どのフレームをTCPを用いて伝送するのかを、ステップa2で、伝送路15の誤り率を参照して決定しており、TCPを伝送プロトコルとして使用して符号化データの伝送を行う指示を、制御信号として伝送部12に対して与える。このときに、誤り率が低ければフレーム内符号化で符号化されたフレームの伝送のみに、TCPを使用する。誤り率が高い場合には、フレーム間符号化で符号化されたフレームの伝送に対しても、TCPを使用する。
【0049】
TCPを伝送プロトコルとして伝送するフレームは、次のような処理によって決定される。まず、フレーム間符号化で符号化されたフレームを伝送する際に、TCPを伝送プロトコルとして適用するか否かの判定用の閾値として利用する誤り率を、ThINTERとする。このThINTERは、デフォルトではErrorRate/2に設定される。ユーザが、図1のユーザ入力部40を用いて、任意の値に設定することも可能とする。ThINTERの値は、大きく設定すると伝送効率が重視され、小さく設定すると画質が重視される。
【0050】
誤り率との比較で、ThINTER>誤り率の場合には、フレーム内符号化で符号化されたフレームの伝送のみにTCPを伝送プロトコルとして使用する。ThINTER≦誤り率の場合には、フレーム内符号化で符号化されたフレームの伝送のみでなく、フレーム間符号化で符号化されたフレームの伝送に対してもTCPを伝送プロトコルとして使用する。この場合は、フレーム内符号化で符号化されたフレームはすべてTCPを伝送プロトコルとして伝送される。
【0051】
ThINTER>誤り率の場合に、フレーム内符号化で符号化されたフレームの伝送にTCPを使用するけれども、そのTCPを伝送プロトコルとして適用するフレームの決定は次のようにして行う。まず、TCPで伝送するフレーム内符号化のフレームから、次にTCPで伝送するフレーム内符号化フレームまでのフレーム内符号化フレームの最大数をAとする。このAの値は、図1のユーザ入力部40を介してユーザから任意の値に設定することが可能である。次に、実際にTCPで伝送するフレーム内符号化のフレームから、次にTCPで伝送されるフレーム内符号化フレームまでのフレーム内符号化フレームの数をa(1≦a≦A)とし、a枚毎にTCPを適用する際の閾値となる誤り率をINTRAaとする。このとき、INTRAaは、次の第2式によって決定される。
【0052】
【数2】
Figure 0004176865
【0053】
ここで、Aの値を5とすると、フレーム内符号化フレームがTCPで伝送されてから、次にフレーム内符号化フレームがTCPで伝送されるまでに最大5枚のフレーム内符号化フレームが存在することになる。実際にTCPで伝送するフレーム内符号化のフレームから、次にTCPで伝送されるフレーム内符号化フレームまでのフレーム内符号化フレームの数aは1から5までの値を取ることができる。また、INTRAaの値は、A個(5個)存在することになるので、INTRA1からINTRA5まで存在する。次の表2は、A=5のときに、上述の第2式を利用して算出するINTRA1からINTRA5までの値を示す。
【0054】
【表2】
Figure 0004176865
【0055】
図6は、以上述べた場合で、TCPを伝送プロトコルとして適用するフレームの決定を行う処理の流れを示す。ステップc0から処理を開始し、まずステップc1では、エラー監視部16から誤り率を伝送路15の品質を示すデータとして取得する。次にステップc2で、フレーム内符号化で符号化されたフレームのみにTCPを適用するか、フレーム間符号化で符号化されたフレームの伝送に対してもTCPを適用するかの判定を行う。このときフレーム内符号化で符号化されたフレームのみTCPで伝送するためには、ThINTER>誤り率の条件が満たされる必要がある。
【0056】
ステップc2で条件が満たされるときには、ステップc3に進み、TCPで伝送するフレーム内符号化のフレームから、次にTCPで伝送されるフレーム内符号化フレームまでのフレーム内符号化フレームの数を示すパラメータaの初期値を1とする。ここで、パラメータaが1であるということは、フレーム内符号化のフレームをすべてTCPを使用して伝送することを意味する。次にステップc4で、INTRAa≦誤り率<INTRAa-1の条件を満たしているか否かの判定を行う。条件が満たされない場合は、ステップc5でパラメータaの値に1を加え、条件が満たされるまでステップc4の判定を繰返す。ステップc4で条件が満たされる場合は、ステップc6でそのときのパラメータaの値を、TCPで伝送するフレーム内符号化フレームから、次にTCPで伝送されるフレーム内符号化フレームまでのフレーム数として決定する。
【0057】
次にステップc2の条件が満たされずに、ThINTER≦誤り率の場合、フレーム内符号化で符号化されたフレームの伝送に対してだけでなく、フレーム間符号化で符号化されたフレームの伝送にもTCPを使用する場合に、TCPの適用フレームの決定方法を説明する。ステップc2の条件が満たされないときには、ステップc7に進み、実際にTCPで伝送するフレーム間符号化フレームの数をパラメータbで表す。フレーム内符号化が適用されてから次にフレーム内符号化が適用されるまでのフレーム数をパラメータnとする。次に、フレーム内符号化が適用されてから次のフレーム内符号化が適用されるまでのフレーム間符号化フレームの数をBとすると、B=n−1となるので、符号化方法の決定処理でnの値が決まるとBの値も決まる。ついで、実際にTCPで伝送するフレーム間符号化フレームのフレーム数bは1≦b≦Bとなり、b毎のフレーム間符号化を適用するための判定用の基準値として使用する誤り率をINTERbとする。INTERbは、次の第3式によって決定される。
【0058】
【数3】
Figure 0004176865
【0059】
ここで、符号化方法の決定処理で、nの値が6に決定された場合を想定する。Bの値はn−1枚(5枚)に決まり、実際にTCPで伝送するフレーム間符号化フレームのフレーム数bは1から5まで取ることができる。また、INTERbの値はB個(5個)存在することになるので、INTER1からINTER5まで存在する。前述の表2の下半分には、第3式を利用して算出したINTER1からINTER5までの値を示している。この値と誤り率とを比較し、INTERb≦誤り率<INTERb+1となるbを探し、フレーム間符号化フレームを伝送する際にb枚のフレームの伝送にTCPを使用する指示を伝送部12に対して制御信号として与える。このとき、b=Bのときには、INTERb+1=INTERB+1=1とする。
【0060】
図6では、上述したような場合におけるTCPを適用するフレームの決定処理の流れも示している。ステップc2でThINTER≦誤り率となると、ステップc7に進む。ステップc7では、実際にTCPで伝送するフレーム間符号化フレーム数を示すパラメータbの初期値を1とする。ここでパラメータbが1であることは、フレーム内符号化フレームの次のフレーム内符号化フレームで挟まれるフレーム間符号化フレームのうち、一番前のフレームの符号化フレームに近いフレームのみをTCPを伝送プロトコルとして伝送することを示す。
【0061】
次にステップc8で、INTERb≦誤り率<INTERb+1の条件を満たしているか否かの判定を行う。条件が満たされないときには、ステップc9でパラメータbの値に1を加え、条件が満たされるまでステップc8の判定を繰返す。条件が満たされる場合は、ステップc10で、そのときのパラメータbの値を、実際にTCPで伝送するフレーム間符号化フレーム数として決定する。この場合、一番前のフレーム内符号化フレームに近いフレームから、順次TCPで伝送される。
【0062】
ステップc6またはステップc10の処理が終了すると、ステップc11に移り、全体的な決定処理も終了する。
【0063】
次に図2のステップa8でのパケット長の計算では、パケットサイズとして、エラー監視部16で求められる誤り率の逆数に0.9の値を乗算した値としてパケットサイズを設定する。すなわち、誤りが1つ生じる可能性があるパケットサイズの90%の大きさにパケット長を設定する。誤り率が小さいときには、大きなパケットサイズで画像データの伝送を行うことができ、伝送効率を高めることができる。誤り率が大きいときには、パケットサイズを小さくし、誤りが生じる可能性を少なくして確実な画像データの伝送を行う。
【0064】
なお、図1のユーザ入力部40への入力で、切換え無効指示も行うことができる。図1の符号化・伝送制御部17は、ユーザ入力部40から切換え無効を示す操作が入力されると、エラー監視部16からの伝送誤り率のデータを一定値に固定する動作を行い、伝送路15の品質が変動するようなときであっても、切換え制御を行わずに、オーバヘッドを避けて伝送効率を高めることができる。また、伝送路15を介して画像データの伝送を行う相手側が、従来の方式で伝送を行う場合にも、切換え制御を無効にすることによって対応させることができる。
【0065】
なお、画像伝送装置10は、専用のハードウェアによって構成することもできるけれども、パーソナルコンピュータやワークステーション、あるいはPDAなどの携帯用情報処理装置に、記録媒体に記録させたプログラムを読込ませて、コンピュータのプログラム動作としてその機能を実現させることもできる。
【0066】
【発明の効果】
以上のように本発明によれば、品質監視手段によって測定される伝送路の品質が予め定める品質基準よりも良好なとき、TCPで伝送するのは、フレーム内符号化方法で符号化されたフレームだけとし、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、フレーム内符号化方法で符号化されたフレームだけでなく、フレーム間符号化方法で符号化されたフレームも、TCPで伝送するように、制御手段によって伝送手段を制御する。したがって伝送路の品質に応じて、伝送効率およびエラー耐性を高めることができる。
【0067】
また本発明によれば、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも良好なとき、前記伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、制御手段によって伝送手段を制御するので、画像データの品質の低下させることなく、できるだけ高い伝送効率で、画像データを伝送することができる。
【0068】
また本発明によれば、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、前記伝送路の品質が悪化するにつれて、フレーム間符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、制御手段によって伝送手段を制御するので、画像データの品質の低下させることなく、できるだけ高い伝送効率で、画像データを伝送することができる。
【0069】
また本発明によれば、品質監視手段によって測定される伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化するフレームの割合を増やすように、制御手段によって符号化手段を制御する。これによって伝送路の品質が良好なときには、圧縮率を高めて伝送効率を高めることができ、また伝送路の品質が悪化しているときには、エラー耐性を高くすることができる。
【0070】
また本発明によれば、品質監視手段によって測定される伝送路の品質が悪化するにつれて、パケットサイズを小さくするように、制御手段によって伝送手段を制御する。これによって伝送路の品質が良好なときには、パケットサイズを大きくして伝送効率を高めることができ、また伝送路の品質が悪化しているときには、パケットサイズを小さくして誤りが生じる可能性を少なくして確実な画像データの伝送を行うことができる。
【0071】
また本発明によれば、品質監視手段によって測定される伝送路の品質に応じた伝送プロトコルの切換え制御を無効にするための無効入力手段に、前記切換え制御を無効にする入力を行うことによって、従来方法との互換性を保ったり、伝送路の品質が時間的に変動する場合のオーバヘッドによる伝送効率の低下を避けたりすることができる。
【0072】
また本発明によれば、伝送路の品質に応じて伝送プロトコルを切換え、伝送効率が高くかつエラー耐性に優れる画像伝送装置を、コンピュータを用いて実現することができる。
【図面の簡単な説明】
【図1】本発明の実施の一形態の画像伝送装置10の概略的な電気的構成を示すブロック図である。
【図2】図1の符号化・伝送制御部17の処理の流れを示すフローチャートである。
【図3】図1の伝送路15の品質に応じてフレーム内符号化とフレーム間符号化との割合を変える状態を示す図である。
【図4】図1の伝送路15の品質に応じてUDPおよびTCPを伝送プロトコルとして切換え状態を示す図である。
【図5】図2のステップa2でフレーム内符号化を適用するフレーム数を算出する処理の流れを示すフローチャートである。
【図6】図2のステップa5でTCPで伝送するフレームを決定す処理の流れを示すフローチャートである。
【図7】従来からの基本的な画像で転送装置の基本的な電気的構成を示すブロック図である。
【図8】図1の伝送器2でUDPパケットが形成される状態を示す図である。
【図9】図7の伝送器2からUDPパケットが送信される手順を示す図である。
【図10】従来からのTCPパケットの送信手順を示す図である。
【図11】先行技術の動画像データの伝送処理の流れを示すフローチャートである。
【図12】図11の手順によって伝送される画像シーケンスの例を示す図である。
【符号の説明】
10 画像伝送装置
11 符号化部
12 伝送部
15 伝送路
16 エラー監視部
17 符号化・伝送制御部
21 フレーム内符号化手段
22 フレーム間符号化手段
31 UDPパケット化器
32 TCPパケット化器
40 ユーザ入力部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image transmission apparatus that transmits image data via a transmission path that may cause a transmission error.
[0002]
[Prior art]
FIG. 7 shows a basic configuration of a conventional image transmission apparatus. In the conventional image transmission apparatus, first, image data is encoded and compressed by the encoder 1. The image data has a considerably large amount of information and has a considerable transmission capability when transmitted as it is, and it is difficult to increase the transmission speed. When using a public telephone line as a transmission line, the frequency band of the transmission line is limited and often insufficient. On the other hand, when it is necessary to transmit a moving image as image data, a high transmission speed is also required. For this reason, the image data is subjected to processing for compressing the amount of information in the encoder 1.
[0003]
In the image data of moving images, images that change in the time axis direction are generally formed sequentially in units of frames. When the encoder 1 performs compression encoding of a moving image, inter-frame encoding in which compression encoding is performed using correlation information between two consecutive frames, and only information in one frame is stored. There is intra-frame coding that uses compression coding. As a property of moving images, generally, inter-frame coding can obtain a higher compression rate than intra-frame coding. However, in order to correctly decode the frame encoded by the interframe encoding method on the receiving side, the previous frame referred to when encoding is received correctly on the receiving side. Need to be. On the other hand, in intra-frame coding, although the compression rate is generally not as high as inter-frame coding, it is not necessary to refer to the previous frame at the time of decoding, and decoding is based only on information in that frame. Can do.
[0004]
The image data encoded by the encoder 1 in FIG. 7 is segmented so that the amount of information is suitable for transmission by the transmitter 2, and after adding a header and organizing it into units called packets, Transmit according to the transmission protocol. When a UDP (User Datagram Protocol) protocol, which will be described later, is adopted as a transmission protocol, a UDP header is added to form a UDP packet, which is transmitted via a transmission path.
[0005]
FIG. 8 shows the segmentation and packetization process in the transmitter 2 of FIG. Segmentation refers to dividing data into a size suitable for transmission when transmitting certain data. Adding a header necessary for transmission to this segmented data is called packetization. In FIG. 8, there are n pieces of data corresponding to one frame of image encoded data obtained by encoding continuous image data. It is divided into segments, and further a UDP header is added to form a UDP packet.
[0006]
FIG. 9 shows a transmission procedure when 1 to n UDP packets converted into UDP packets as shown in FIG. 8 are transmitted. UDP is a transmission protocol in which high-speed transmission is more important than reliability. In the UDP packet transmission, only the packet is sent and no other processing is performed, so that efficient transmission can be performed. However, even if an error occurs in the transmitted packet, the packet is not retransmitted. Thus, UDP has an advantage that data can be transmitted at a high speed although it is not reliable. Therefore, it is suitable for transmission of data that requires real-time properties such as moving image data, and a conventional image transmission apparatus uses UDP as a transmission protocol for transmission of moving image data.
[0007]
FIG. 10 shows a typical transmission protocol, TCP (
The transmission procedure according to Transmission Control Protocol is shown. In order to enable highly reliable communication, TCP sends an acknowledgment ACK signal back to the transmission side every time a packet is received on the reception side if there is no error in the received packet. The transmission side waits for the ACK to be sent and transmits the next packet. If the receiving side determines that there is an error in the received packet, a NACK signal that is a negative response is sent back to the transmitting side. In FIG. 10, there is an error in the received packet at the first reception of the second TCP packet, and a NACK signal is returned. The transmission side retransmits the TCP packet 2 and waits for an ACK signal to be returned from the reception side before proceeding to transmission of the next packet. Until the transmission of n packets from TCP packet 1 to TCP packet n is completed, the procedure for confirming that the packet has been received without error is repeated on the receiving side. Although the accuracy of transmission is guaranteed, the procedure required for data transmission is more complicated than UDP, and it is relatively unsuitable for data transmission requiring real-time performance.
[0008]
FIG. 11 shows the concept of moving image signal transmission disclosed in Japanese Patent Application Laid-Open No. 7-99662 (Japanese Patent Application No. 5-241520). In this prior art, after acquiring the frame to be encoded in step S11, performing compression encoding in step S12, whether or not to use the target frame to be transmitted in step S13 as a reference frame for the subsequent frame. Determine whether. When the frame is used as a reference frame for subsequent frames, it is transmitted using a TCP transmission protocol in step S14. If it is determined in step S13 that it will not be used as a reference frame for subsequent frames, it is transmitted using the UDP protocol in step S15. After transmitting the frame in step S14 or step S15, the process returns to step S11, and the next frame is further input as a transmission target.
[0009]
In this prior art, UDP is used when transmitting a frame that is not a reference frame of a subsequent frame. Even if the quality of the image is degraded by using UDP as a transmission protocol, the effect is limited only to the frame. Therefore, UDP capable of high-speed transmission is used to increase the transmission speed. A frame used as a reference frame for subsequent frames is transmitted by TCP, thereby suppressing the influence of quality deterioration on the subsequent frames as much as possible. This prior art attempts to transmit moving image data that is resistant to errors while maintaining a relatively real-time property by properly using a transmission protocol as shown in FIG.
[0010]
FIG. 12 shows a case where a series of frames are sequentially transmitted, and inter-frame encoding is performed when a preceding frame is used as a reference frame in the compression encoding stage of step S12 in FIG. An example of a sequence of image data when performing intraframe coding when a preceding frame is not used as a reference frame is shown. Since frames 1, 2, 3, 5, 6, 7, and 9 serve as reference frames for subsequent images, high-quality transmission is performed using TCP. The frames 4 and 8 are not reference frames of the subsequent frames because the subsequent frames are encoded by intraframe encoding. For this reason, transmission is performed using UDP capable of high-speed transmission as a transmission protocol.
[0011]
[Problems to be solved by the invention]
When moving images are transmitted using the conventional method, transmission is performed using UDP as a transmission protocol. However, since UDP does not guarantee that data transmission is performed accurately, inter-frame coding is used. When transmitting the encoded data to be created, if a transmission error occurs in the encoded data packet of the image serving as reference data for the subsequent frame, the subsequent frame cannot be accurately decoded. There is.
[0012]
In the prior art disclosed in Japanese Patent Laid-Open No. 7-99662, the transmission method is switched based on whether or not the frame to be transmitted is used as a reference frame for the subsequent frame. For this reason, when transmitting an image sequence that has been subjected to intraframe coding and interframe coding in the order shown in FIG. 12, regardless of the quality of the line used for data transmission, , 3, 5, 6, 7, and 9 are transmitted by TCP, and frames 4 and 8 are transmitted by using UDP.
[0013]
Here, when the quality of the communication line is sufficiently good, even if the encoded data is transmitted by UDP, the probability that the data is erroneous is low. However, if transmission is performed using TCP having a complicated transmission procedure as in the prior art of JP-A-7-99662, the reception side detects a transmission error and returns a response to the transmission side according to the detection result. The overhead for judging according to the response contents from the side becomes large, and high-speed data transmission cannot be performed even if a transmission path with good condition is used.
[0014]
An object of the present invention is to provide an image transmission apparatus capable of enhancing transmission efficiency and error resistance according to the quality of a transmission path.
[0015]
  The present inventionImage data representing moving images that are continuous in the time axis in units of framesIn an image transmission apparatus that compresses and encodes the amount of information of image data and transmits it as a packet via a transmission path,
  Quality monitoring means for monitoring the transmission line, detecting transmission errors occurring in the transmitted information, and measuring the quality of the transmission line;
  Image dataT,Intraframe encoding method and interframe encoding methodAccording toCodingPossibleThe coding method can be switched.Encoding means;
  Encoded by the encoding meansTheImage dataIn accordance with TCP performed while confirming that transmission is performed without error and UDP without confirmation after transmissionTransmission possibleThe transmission protocol can be switchedTransmission means,
  Transmission line quality measured by quality monitoring meansIs better than a predetermined quality standard, TCP transmits only frames encoded by the intra-frame coding method, and the quality of the transmission path measured by the quality monitoring means is higher than the predetermined quality standard. The transmission means to transmit not only the frame encoded by the intra-frame encoding method but also the frame encoded by the inter-frame encoding method.And an image transmission device including control means for controlling the image transmission device.
[0016]
  According to the present invention,Image data representing a moving image continuous in the time axis direction in frame units is encoded by compressing the information amount of the image data, and transmitted as a packet via a transmission path.The encoding means is image data.T,Intraframe encoding method and interframe encoding methodAccording toCodingIs possibleThe encoding method can be switchedThe The transmission means is encoded by the encoding means.TheImage dataTransmission can be performed according to TCP performed while confirming that transmission is performed without error and UDP without confirmation after transmission, and the transmission protocol is switched.Is possible.
  The quality monitoring means monitors the transmission line, detects a transmission error occurring in the transmitted packet, and measures the quality of the transmission line. The control means is the quality of the transmission line measured by the quality monitoring means.Is better than a predetermined quality standard, TCP transmits only frames encoded by the intra-frame coding method, and the quality of the transmission path measured by the quality monitoring means is higher than the predetermined quality standard. When the transmission rate is also deteriorated, the transmission means is controlled so that not only the frame encoded by the intraframe encoding method but also the frame encoded by the interframe encoding method is transmitted by TCP. Therefore, increase transmission efficiency and error tolerance according to the quality of the transmission path.be able to.
[0017]
  In the present invention,When the quality of the transmission path measured by the quality monitoring means is better than the predetermined quality standard, the control means can improve the quality of the frame encoded by the intraframe encoding method as the quality of the transmission path deteriorates. Control the transmission means to increase the rate of frames transmitted by TCPIt is characterized by that.
[0018]
  According to the present invention,When the quality of the transmission path measured by the quality monitoring means is better than the predetermined quality standard, the TCP is selected from among the frames encoded by the intra-frame encoding method as the quality of the transmission path deteriorates. The transmission means is controlled by the control means so as to increase the proportion of frames to be transmitted. This allows image data to be transmitted with the highest possible transmission efficiency without degrading the quality of the image data.be able to.
[0019]
  Further, in the present invention, the control means has a transmission line quality measured by the quality monitoring means.AboveThan predetermined quality standardsWhen the transmission path quality deteriorates, the transmission means is configured to increase a ratio of frames transmitted by TCP among frames encoded by the interframe coding method.It is characterized by controlling.
[0020]
  According to the present invention, the quality of the transmission path measured by the quality monitoring means isAboveThan predetermined quality standardsWhen the transmission path quality deteriorates, the transmission means is controlled by the control means so as to increase the proportion of frames transmitted by TCP among the frames encoded by the interframe coding method. To do. This allows image data to be transmitted with the highest possible transmission efficiency without degrading the quality of the image data.be able to.
[0021]
  Further, in the present invention, the control means has a transmission line quality measured by the quality monitoring means.As the deterioration progresses, the encoding means is set to increase the proportion of frames to be encoded by the intra-frame encoding method.It is characterized by controlling.
[0022]
  According to the present invention, the quality of the transmission path measured by the quality monitoring means isAs it gets worse, the control means controls the encoding means so as to increase the proportion of frames to be encoded by the intra-frame encoding method. As a result, when the quality of the transmission path is good, the compression rate can be increased to increase the transmission efficiency. When the quality of the transmission path is deteriorated, the error resistance is increased.be able to.
[0023]
  In the present invention, the control means includes theReduce the packet size as the quality of the transmission path measured by the quality monitoring means deterioratesThus, the transmission means is controlled.
[0024]
  According to the present invention,As the quality of the transmission path measured by the quality monitoring means deteriorates, the transmission means is controlled by the control means so as to reduce the packet size. As a result, when the quality of the transmission path is good, the packet size can be increased to increase the transmission efficiency. When the quality of the transmission path is deteriorated, the possibility of an error is reduced by reducing the packet size. Reliable transmission of image databe able to.
[0025]
  In the present invention,Further comprising invalid input means for invalidating transmission protocol switching control according to the quality of the transmission path measured by the quality monitoring means,
  The control means does not perform transmission protocol switching control according to the quality of the transmission path when an input for invalidating the switching control is made to the invalid input means.It is characterized by that.
[0026]
  According to the present invention,If the invalidation input means for invalidating the switching control of the transmission protocol according to the quality of the transmission path measured by the quality monitoring means is input to invalidate the switching control, the control means Does not control transmission protocol switching according to quality. Therefore, transmission can be continued with a preset transmission protocol. As a result, compatibility with the conventional method can be maintained. In addition, when the quality of the transmission path fluctuates with time, the switching control is frequently performed to avoid a situation in which the transmission efficiency is reduced due to overhead.be able to.
[0027]
  The present invention also provides the above-mentionedA computer-readable recording medium that records a program for causing a computer to function as an image transmission apparatus.
[0028]
  According to the present invention,A transmission protocol is switched according to the quality of the transmission path, and an image transmission device with high transmission efficiency and excellent error tolerance is realized using a computer.be able to.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a schematic electrical configuration of an image transmission apparatus 10 as an embodiment of the present invention. The image transmission apparatus 10 includes an encoding unit 11 that encodes image data and a transmission unit 12 that packetizes the encoded data encoded by the encoding unit 11 and transmits image data of moving images. It can be transmitted continuously via the line 15. The image transmission apparatus 10 according to the present embodiment includes an error monitoring unit 16 that monitors the quality of the transmission path 15, and an encoding / transmission control that controls the encoding method and the transmission method according to the transmission error detected by the error monitoring unit 16. And part 17. When the encoding / transmission control unit 17 switches the encoding method, the intra-frame encoding unit 21 and the inter-frame encoding unit 22 provided in the encoding unit 11 are switched. When the encoding / transmission control unit 17 switches the transmission method, the transmission protocol is switched by the selection of the UDP packetizer 31 and the TCP packetizer 32 provided in the transmission unit 12, and the packet is also changed. The size is also switched. The user input unit 40 can also input an operation for invalidating the control of the encoding / transmission control unit 17. The transmission line 15 can be a wired dedicated line, a public telephone line, a wireless PHS (Personal Handyphone System) line, or the like.
[0032]
The error monitoring unit 16 in FIG. 1 checks whether an error has occurred in the received packet by using a checksum included in the header information of the packet received from the transmission path 15. The total number of bits of data included in a packet that could be received normally is NCORRECTAnd the total number of bits of data contained in the erroneous packet is NERRORThese are added separately. Next, the total number of bits N of the data contained in the erroneous packetERRORIs the total number of bits of data contained in the received packet (NCORRECT+ NERRORThe error rate is obtained by dividing by (3), and the value is used as a measured value of the quality of the transmission line 15 as a line.
[0033]
The encoding / transmission control unit 17 obtains a measurement value of the error rate from the error monitoring unit 16 and compares it with a threshold value which is a preset quality reference value, thereby encoding optimally for the current error rate. Determine the method, transmission protocol and packet size. The encoding / transmission control unit 17 gives a control signal indicating switching to the encoding unit 11 in order to switch to the obtained encoding method. The encoding / transmission control unit 17 gives the transmission unit 12 a control signal for switching to the determined transmission protocol and packet size.
[0034]
FIG. 2 shows a flow of processing in the encoding / transmission control unit 17 of FIG. The operation starts from step a0, and in step a1, an error rate corresponding to the channel quality representing the quality of the transmission path 15 is acquired from the error monitoring unit 16. In step a2, based on the acquired line quality, the number of frames to which intra-frame coding is applied is calculated such as once every frame. In step a3, a control signal for performing intra-frame encoding is given to the encoding unit 11 for each interval calculated in step a2.
[0035]
FIG. 3 shows the correspondence between the error rate and the number of frames to which intra-frame coding is applied. When intra-frame coding is performed, the data compression rate is reduced, but error tolerance is increased. Therefore, when the error rate is large and the line quality is deteriorated, the rate of intra-frame coding is increased. When the error rate is low, as shown in FIG. 3 (1), the number of frames subjected to intra-frame coding is reduced, the ratio of frames subjected to inter-frame coding is increased, the transmission rate is increased, and the efficiency is improved. Make transmission possible. 3 (2) to (3), the number of frames to which intra-frame coding is applied is increased as the error rate increases, and the image is frequently refreshed to prevent the restored image from deteriorating.
[0036]
After performing intra-frame coding at step a1 in FIG. 2 or after performing control that does not perform intra-frame coding at step a3, that is, performs inter-frame coding, the process proceeds to step a6. In step a6, by comparing the error rate acquired in step a1 with a preset threshold value, it is calculated which frame should be transmitted with TCP as a transmission protocol, and a frame to be transmitted with TCP is determined. In step a6, it is determined whether or not the frame to be transmitted at present is a frame transmitted by TCP determined in step a5. When it is determined that the frame is to be transmitted by TCP, a control signal for selecting the TCP packetizer 32 is given to the transmission unit 12 in step a7 to instruct the transmission method. When it is determined in step a6 that the frame to be transmitted is not a frame transmitted by TCP, the transmission unit 12 is not instructed about the transmission method, and the UDP packetizer 31 is still selected in the transmission unit 12 And
[0037]
FIG. 4 shows a state where image data encoded as shown in FIG. 3A is changed according to the error rate, according to the UDP protocol or according to the TCP protocol. When the error rate is sufficiently low, UDP is used as a transmission protocol for transmission of all frames as shown in FIG. When the error rate increases, first, the TCP transmission protocol is used when transmitting the intra-frame encoded data, as shown in FIGS. 4 (2) and (3). Increase the number of frames to be transmitted using a transmission protocol. If the error rate further increases, the ratio of using TCP is increased as shown in FIGS. 4 (4) to (5) so as to use TCP when transmitting inter-frame encoded data. Specifically, control is performed such that TCP is used as a transmission protocol for transmission of all frames. Eventually, as shown in FIG. 4 (6), TCP is used as a transmission protocol for transmission of all frames.
[0038]
After the transmission method is switched to TCP in step a7 of FIG. 2 or after it is determined in step a6 that transmission is performed by UDP without switching to TCP, the process proceeds to step a8 and the error rate acquired in step a1. Based on the above, the optimum packet length is calculated. Next, in step a9, the packet size is instructed to the transmission unit 12 based on the packet length calculated in step a8. In step a10, it is determined whether there is more image data to be transmitted. If there is more, the process returns to step a1, and the procedure described above is repeated. If it is determined that there are no more images to be transmitted, the process ends at step a11.
[0039]
The encoding / transmission control unit 17 in FIG. 1 determines the encoding method, transmission protocol, and packet size by the method described below. As an encoding method, intra-frame encoding by the intra-frame encoding means 21 included in the encoding unit 11 and inter-frame encoding by the inter-frame encoding means 22 can be selected. The encoding unit 11 normally performs interframe encoding using the interframe encoding means 22. The encoding / transmission control unit 17 determines how many frames to apply the intra-frame encoding based on the first formula described later, and instructs the encoding unit 11 to switch to the intra-frame encoding means 21. Give.
[0040]
In step a2 in FIG. 2, the number of frames to which intra-frame coding is applied is calculated as follows. First, let N be the maximum number of frames from when intraframe coding is applied first to when next intraframe coding is applied. The value of N can be set to an arbitrary value by the user via the user input unit 40 or the like. The smaller the value of N, the more important the image quality, and the larger the value, the more important the transmission efficiency. Next, the number of frames from when the intra-frame coding is actually applied until the next intra-frame coding is applied is n (1 ≦ n ≦ N), and the intra-frame coding is applied every n frames. The threshold of the error rate used as the quality standard value forn And At this time, the threshold Thn Is determined by the following first equation.
[0041]
[Expression 1]
Figure 0004176865
[0042]
In the first equation, ErrorRate represents the error rate of the communication line used as the transmission path 15. In a communication environment where radio waves are used as the transmission line 15 in FIG.-3Since the error rate of the degree is considered to be quite bad, the default is 10 so that this value is maximized.-FourHowever, it can be set to an arbitrary value by the user.
[0043]
Here, when the value of N is 10, the maximum number of frames from the first intra-frame coding to the next intra-frame coding is 10, and the intra-frame coding is actually applied. Then, the number n of frames until the next intraframe coding is applied can be a value from 1 to 10. Further, since there are N (10) values of the error rate threshold value Th, Th1To ThTenWill exist. The following Table 1 shows Th calculated using the above-described first equation when N = 10.1To ThTenValues up to are shown.
[0044]
[Table 1]
Figure 0004176865
[0045]
Threshold Th shown in Table 11To ThTenThe value up to and the error rate are compared, and Thn≦ Error rate <Thn-1N is controlled, and control for applying intra-frame coding for every n frames is performed on the encoding unit 11. At this time, if n = 1, Thn-1Is Th0However, Th at this time0Is Th0= 1.
[0046]
FIG. 5 shows a process flow for determining a frame to which intra-frame coding is applied. First, processing is started from step b0, and in step b1, an error rate representing the quality of the transmission path is acquired from the error monitoring unit 16. Next, in step b2, the initial value of the parameter n as the number of frames from when intra-frame coding is applied to when the next intra-frame coding is applied is set to 1. Here, n being 1 indicates that intraframe coding is applied to each frame. That is, inter-frame coding is not applied.
[0047]
In step b3, the threshold value Th in Table 1 is used.n≦ Error rate <Thn-1It is determined whether or not the above condition is satisfied. If the condition is not satisfied, 1 is added to the value of the parameter n in step b4, and the determination in step b3 is repeated until the condition is satisfied. If it is determined in step b3 that the condition is satisfied, the process proceeds to step b5, where the value of the parameter n at that time is determined as the number of frames until intra-frame coding is applied, and every n frames Apply encoding. The process ends at step b6.
[0048]
Next, the transmission method determination process performed in step a5 in FIG. 2 will be described. As a transmission method, UDP and TCP transmission protocols can be switched by the transmission unit 12. The transmission unit 12 normally uses a UDP packetizer 31 to transmit encoded data. When a switching instruction is given by a control signal from the encoding / transmission control unit 17, the TCP packetizer 32 is used to switch the encoded data to be transmitted. The encoding / transmission control unit 17 determines which frame is to be transmitted using TCP with reference to the error rate of the transmission path 15 in step a2, and encodes using TCP as a transmission protocol. An instruction to transmit data is given to the transmission unit 12 as a control signal. At this time, if the error rate is low, TCP is used only for transmission of a frame encoded by intraframe encoding. When the error rate is high, TCP is also used for transmission of a frame encoded by interframe coding.
[0049]
A frame for transmitting TCP as a transmission protocol is determined by the following process. First, when transmitting a frame encoded by interframe coding, an error rate used as a threshold for determining whether to apply TCP as a transmission protocol is defined as Th.INTERAnd This ThINTERIs set to ErrorRate / 2 by default. It is also possible for the user to set an arbitrary value using the user input unit 40 of FIG. ThINTERWhen the value is set to be large, transmission efficiency is emphasized, and when the value is set to be small, image quality is emphasized.
[0050]
In comparison with the error rate, ThINTER> In the case of error rate, TCP is used as a transmission protocol only for transmission of frames encoded by intraframe encoding. ThINTERIn the case of ≦ error rate, TCP is used as a transmission protocol not only for transmission of frames encoded by intraframe encoding but also for transmission of frames encoded by interframe encoding. In this case, all frames encoded by intraframe encoding are transmitted using TCP as a transmission protocol.
[0051]
ThINTERIn the case of> error rate, TCP is used for transmission of a frame encoded by intra-frame coding, but a frame to be applied as a transmission protocol is determined as follows. First, let A be the maximum number of intra-frame encoded frames from the intra-frame encoded frame transmitted by TCP to the next intra-frame encoded frame transmitted by TCP. The value of A can be set to an arbitrary value by the user via the user input unit 40 in FIG. Next, the number of intra-frame encoded frames from the intra-frame encoded frame actually transmitted by TCP to the next intra-frame encoded frame transmitted by TCP is defined as a (1 ≦ a ≦ A), and a The error rate that becomes a threshold when applying TCP to each sheet is set to INTRA.aAnd At this time, INTRAaIs determined by the following second equation.
[0052]
[Expression 2]
Figure 0004176865
[0053]
Here, when the value of A is 5, there is a maximum of 5 intra-frame encoded frames from when the intra-frame encoded frame is transmitted by TCP until the next intra-frame encoded frame is transmitted by TCP. Will do. The number a of intra-frame encoded frames from the intra-frame encoded frame actually transmitted by TCP to the next intra-frame encoded frame transmitted by TCP can take a value from 1 to 5. Also, INTRAaSince there are A (5) values of INTRA, INTRA1To INTRAFiveExist. The following Table 2 shows that INTRA is calculated using the above-described second equation when A = 5.1To INTRAFiveValues up to are shown.
[0054]
[Table 2]
Figure 0004176865
[0055]
FIG. 6 shows a flow of processing for determining a frame to which TCP is applied as a transmission protocol in the case described above. The process is started from step c0. First, in step c1, the error rate is acquired from the error monitoring unit 16 as data indicating the quality of the transmission path 15. Next, in step c2, it is determined whether TCP is applied only to a frame encoded by intraframe encoding or whether TCP is applied to transmission of a frame encoded by interframe encoding. At this time, in order to transmit only the frame encoded by the intraframe encoding by TCP, ThINTER> The error rate condition needs to be met.
[0056]
When the condition is satisfied in step c2, the process proceeds to step c3, and a parameter indicating the number of intra-frame encoded frames from the intra-frame encoded frame transmitted by TCP to the next intra-frame encoded frame transmitted by TCP The initial value of a is 1. Here, the parameter a being 1 means that all intra-frame encoded frames are transmitted using TCP. Next, in step c4, INTRAa≦ Error rate <INTRAa-1It is determined whether or not the above condition is satisfied. If the condition is not satisfied, 1 is added to the value of parameter a in step c5, and the determination in step c4 is repeated until the condition is satisfied. If the condition is satisfied in step c4, the value of parameter a at step c6 is set as the number of frames from the intra-frame encoded frame transmitted by TCP to the next intra-frame encoded frame transmitted by TCP. decide.
[0057]
Next, the condition of step c2 is not satisfied, and ThINTER≤ In the case of an error rate, when TCP is used not only for transmission of a frame encoded by intra-frame encoding but also for transmission of a frame encoded by inter-frame encoding, the applicable frame of TCP The determination method of will be described. When the condition of step c2 is not satisfied, the process proceeds to step c7, and the number of inter-frame encoded frames actually transmitted by TCP is represented by parameter b. The number of frames from when intra-frame coding is applied to when the next intra-frame coding is applied is defined as parameter n. Next, if the number of inter-frame encoded frames from when intra-frame encoding is applied to when the next intra-frame encoding is applied is B, B = n−1. If the value of n is determined by processing, the value of B is also determined. Next, the number b of inter-frame encoded frames actually transmitted by TCP is 1 ≦ b ≦ B, and an error rate used as a reference value for determination for applying inter-frame encoding for each b is set to INTER.bAnd INTERbIs determined by the following third equation.
[0058]
[Equation 3]
Figure 0004176865
[0059]
Here, it is assumed that the value of n is determined to be 6 in the encoding method determination process. The value of B is determined to be n−1 frames (5 frames), and the number b of inter-frame encoded frames actually transmitted by TCP can be 1 to 5. Also, INTERbSince there are B (5) values of INTER,1To INTERFiveExist. The lower half of the above Table 2 shows the INTER calculated using the third equation.1To INTERFiveThe values up to are shown. This value is compared with the error rate, and INTERb≤Error rate <INTERb + 1B is searched, and an instruction to use TCP for transmission of b frames is transmitted to the transmission unit 12 as a control signal when transmitting an inter-frame encoded frame. At this time, when b = B, INTERb + 1= INTERB + 1= 1.
[0060]
FIG. 6 also shows a flow of frame determination processing to which TCP is applied in the above-described case. In step c2, ThINTERWhen the error rate is reached, the process proceeds to step c7. In step c7, the initial value of parameter b indicating the number of inter-frame encoded frames actually transmitted by TCP is set to 1. Here, the parameter b is 1, which means that only the frame close to the encoded frame of the first frame among the inter-frame encoded frames sandwiched between the intra-frame encoded frames following the intra-frame encoded frame is TCP. Is transmitted as a transmission protocol.
[0061]
Next, in step c8, INTERb≤Error rate <INTERb + 1It is determined whether or not the above condition is satisfied. When the condition is not satisfied, 1 is added to the value of the parameter b at step c9, and the determination at step c8 is repeated until the condition is satisfied. If the condition is satisfied, in step c10, the value of the parameter b at that time is determined as the number of inter-frame encoded frames actually transmitted by TCP. In this case, transmission is sequentially performed by TCP from a frame close to the earliest intraframe encoded frame.
[0062]
When the process of step c6 or step c10 ends, the process proceeds to step c11, and the overall determination process also ends.
[0063]
Next, in the calculation of the packet length in step a8 in FIG. 2, the packet size is set as a value obtained by multiplying the reciprocal of the error rate obtained by the error monitoring unit 16 by a value of 0.9 as the packet size. That is, the packet length is set to 90% of the packet size that may cause one error. When the error rate is small, image data can be transmitted with a large packet size, and transmission efficiency can be improved. When the error rate is high, the packet size is reduced to reduce the possibility of errors and to reliably transmit image data.
[0064]
Note that a switching invalid instruction can also be given by input to the user input unit 40 of FIG. The encoding / transmission control unit 17 in FIG. 1 operates to fix the transmission error rate data from the error monitoring unit 16 to a constant value when an operation indicating switching invalidity is input from the user input unit 40, Even when the quality of the path 15 fluctuates, it is possible to avoid transmission overhead and improve transmission efficiency without performing switching control. Further, when the other party that transmits image data via the transmission path 15 performs transmission using the conventional method, it is possible to cope with this by invalidating the switching control.
[0065]
Although the image transmission apparatus 10 can be configured by dedicated hardware, a computer recorded on a recording medium is read by a portable information processing apparatus such as a personal computer, a workstation, or a PDA, and then the computer. This function can also be realized as a program operation.
[0066]
【The invention's effect】
  As described above, according to the present invention,When the quality of the transmission path measured by the quality monitoring means is better than the predetermined quality standard, only the frames encoded by the intra-frame coding method are transmitted by TCP and measured by the quality monitoring means. When the quality of the transmission path is worse than the predetermined quality standard, not only frames encoded by the intra-frame encoding method but also frames encoded by the inter-frame encoding method are transmitted by TCP. As described above, the transmission means is controlled by the control means. Therefore, increase transmission efficiency and error tolerance according to the quality of the transmission path.be able to.
[0067]
  Also according to the invention,When the quality of the transmission path measured by the quality monitoring means is better than the predetermined quality standard, the TCP is selected from among the frames encoded by the intra-frame encoding method as the quality of the transmission path deteriorates. Since the transmission means is controlled by the control means so as to increase the proportion of frames to be transmitted, the image data is transmitted with the highest possible transmission efficiency without degrading the quality of the image data.be able to.
[0068]
  Also according to the invention,When the quality of the transmission path measured by the quality monitoring means is worse than the predetermined quality standard, as the quality of the transmission path deteriorates, among the frames encoded by the interframe coding method, Since the transmission means is controlled by the control means so as to increase the proportion of frames transmitted by TCP, the image data is transmitted with the highest possible transmission efficiency without degrading the quality of the image data.be able to.
[0069]
  Also according to the invention,As the quality of the transmission path measured by the quality monitoring means deteriorates, the control means controls the encoding means so as to increase the proportion of frames to be encoded by the intraframe encoding method. As a result, when the quality of the transmission path is good, the compression rate can be increased to increase the transmission efficiency. When the quality of the transmission path is deteriorated, the error resistance is increased.be able to.
[0070]
  Also according to the invention,As the quality of the transmission path measured by the quality monitoring means deteriorates, the transmission means is controlled by the control means so as to reduce the packet size. As a result, when the quality of the transmission path is good, the packet size can be increased to increase the transmission efficiency. When the quality of the transmission path is deteriorated, the possibility of an error is reduced by reducing the packet size. Reliable transmission of image databe able to.
[0071]
  Also according to the invention,Compatibility with the conventional method is achieved by performing an input for invalidating the switching control to the invalid input means for invalidating the switching control of the transmission protocol according to the quality of the transmission path measured by the quality monitoring means. Maintain or avoid degradation of transmission efficiency due to overhead when the quality of the transmission path fluctuates over timebe able to.
[0072]
  Also according to the invention,A transmission protocol is switched according to the quality of the transmission path, and an image transmission device with high transmission efficiency and excellent error tolerance is realized using a computer.be able to.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic electrical configuration of an image transmission apparatus 10 according to an embodiment of the present invention.
2 is a flowchart showing a flow of processing of an encoding / transmission control unit 17 in FIG.
FIG. 3 is a diagram showing a state in which the ratio between intra-frame coding and inter-frame coding is changed according to the quality of the transmission path 15 in FIG. 1;
4 is a diagram showing a switching state in which UDP and TCP are used as transmission protocols according to the quality of the transmission line 15 in FIG. 1. FIG.
FIG. 5 is a flowchart showing a flow of processing for calculating the number of frames to which intra-frame coding is applied in step a2 of FIG. 2;
6 is a flowchart showing a flow of processing for determining a frame to be transmitted by TCP in step a5 of FIG.
FIG. 7 is a block diagram illustrating a basic electrical configuration of a transfer device with a conventional basic image.
FIG. 8 is a diagram illustrating a state in which a UDP packet is formed in the transmitter 2 of FIG. 1;
9 is a diagram illustrating a procedure for transmitting a UDP packet from the transmitter 2 of FIG. 7;
FIG. 10 is a diagram illustrating a conventional TCP packet transmission procedure.
FIG. 11 is a flowchart showing a flow of a prior art moving image data transmission process.
12 is a diagram showing an example of an image sequence transmitted by the procedure of FIG.
[Explanation of symbols]
10 Image transmission device
11 Encoding unit
12 Transmission section
15 Transmission line
16 Error monitoring unit
17 Encoding / Transmission Control Unit
21 Intraframe encoding means
22 Interframe encoding means
31 UDP packetizer
32 TCP packetizer
40 User input section

Claims (7)

フレーム単位で時間軸方向に連続する動画像を表す画像データを、この画像データの情報量を圧縮して符号化し、伝送路を介してパケットとして伝送する画像伝送装置において、
伝送路を監視し、伝送される情報中に発生する伝送誤りを検出して、伝送路の品質を測定する品質監視手段と、
画像データをフレーム内符号化方法およびフレーム間符号化方法に従って符号化可能であり、符号化方法を切換え可能な符号化手段と、
符号化手段によって符号化され画像データを、伝送が誤りなく行われるように確認しながら行うTCPおよび伝送後の確認を行わないUDPに従って伝送可能であり、伝送プロトコルを切換え可能な伝送手段と、
品質監視手段によって測定される伝送路の品質が予め定める品質基準よりも良好なとき、TCPで伝送するのは、フレーム内符号化方法で符号化されたフレームだけとし、品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、フレーム内符号化方法で符号化されたフレームだけでなく、フレーム間符号化方法で符号化されたフレームも、TCPで伝送するように、伝送手段を制御する制御手段とを含むことを特徴とする画像伝送装置。
In an image transmission device that encodes image data representing a moving image continuous in the time axis direction in units of frames , compresses the information amount of the image data, and transmits it as a packet via a transmission path.
Quality monitoring means for monitoring the transmission line, detecting transmission errors occurring in the transmitted information, and measuring the quality of the transmission line;
An image data, it is possible coding according to the coding method and the inter-frame coding method in a frame, and coding means capable of switching the coding method,
Transmission means capable of transmitting the image data encoded by the encoding means according to TCP performed while confirming that transmission is performed without error and UDP not performing confirmation after transmission , and capable of switching the transmission protocol ;
When the quality of the transmission path measured by the quality monitoring means is better than the predetermined quality standard, only the frames encoded by the intra-frame coding method are transmitted by TCP and measured by the quality monitoring means. When the quality of the transmission path is worse than the predetermined quality standard, not only frames encoded by the intra-frame encoding method but also frames encoded by the inter-frame encoding method are transmitted by TCP. As described above, an image transmission apparatus including control means for controlling the transmission means .
前記制御手段は、前記品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも良好なとき、前記伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、前記伝送手段を制御することを特徴とする請求項1記載の画像伝送装置。The control means, when the quality of the transmission path measured by the quality monitoring means is better than the predetermined quality standard, the frame encoded by the intra-frame encoding method as the quality of the transmission path deteriorates The image transmission apparatus according to claim 1 , wherein the transmission unit is controlled to increase a ratio of frames transmitted by TCP . 前記制御手段は、前記品質監視手段によって測定される伝送路の品質が前記予め定める品質基準よりも悪化しているとき、前記伝送路の品質が悪化するにつれて、フレーム間符号化方法で符号化されたフレームのうちで、TCPで伝送するフレームの割合を増やすように、前記伝送手段を制御することを特徴とする請求項1または2記載の画像伝送装置。Wherein, when the quality of the transmission path is measured by the quality monitoring means is worse than said quality standards set in advance, as the quality of the transmission path is deteriorated, coded by interframe coding method in of the frame, so as to increase the proportion of frames to be transmitted by TCP, the image transmission apparatus according to claim 1, wherein the controller controls the transmission means. 前記制御手段は、前記品質監視手段によって測定される伝送路の品質が悪化するにつれて、フレーム内符号化方法で符号化するフレームの割合を増やすように、前記符号化手段を制御することを特徴とする請求項1〜のいずれか1つに記載の画像伝送装置。The control means controls the encoding means so as to increase the ratio of frames to be encoded by the intra-frame encoding method as the quality of the transmission path measured by the quality monitoring means deteriorates. The image transmission device according to any one of claims 1 to 3. 前記制御手段は、前記品質監視手段によって測定される伝送路の品質が悪化するにつれて、パケットサイズを小さくするように、前記伝送手段を制御することを特徴とする請求項1〜のいずれか1つに記載の画像伝送装置。Wherein, as the quality of the transmission path is measured by the quality monitoring means is deteriorated, so as to reduce the packet size, claim 1-4, characterized by controlling the transmission means 1 image transmission apparatus according to One. 前記品質監視手段によって測定される伝送路の品質に応じた伝送プロトコルの切換え制御を無効にするための無効入力手段をさらに含み、
前記制御手段は、無効入力手段に前記切換え制御を無効にする入力が行われると、前記伝送路の品質に応じた伝送プロトコルの切換え制御を行わないことを特徴とする請求項1〜5のいずれか1つに記載の画像伝送装置。
Further comprising invalid input means for invalidating transmission protocol switching control according to the quality of the transmission path measured by the quality monitoring means,
6. The control unit according to claim 1 , wherein when the input for invalidating the switching control is made to the invalid input unit, the switching control of the transmission protocol according to the quality of the transmission path is not performed. The image transmission apparatus as described in any one .
請求項1〜6のいずれか1つに記載の画像伝送装置として、コンピュータを機能させるためのプログラムを記録したコンピュータ読取り可能な記録媒体。The computer-readable recording medium which recorded the program for functioning a computer as an image transmission apparatus as described in any one of Claims 1-6.
JP12102798A 1998-04-30 1998-04-30 Image transmission device Expired - Fee Related JP4176865B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12102798A JP4176865B2 (en) 1998-04-30 1998-04-30 Image transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12102798A JP4176865B2 (en) 1998-04-30 1998-04-30 Image transmission device

Publications (2)

Publication Number Publication Date
JPH11313330A JPH11313330A (en) 1999-11-09
JP4176865B2 true JP4176865B2 (en) 2008-11-05

Family

ID=14801011

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12102798A Expired - Fee Related JP4176865B2 (en) 1998-04-30 1998-04-30 Image transmission device

Country Status (1)

Country Link
JP (1) JP4176865B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4495821B2 (en) * 2000-03-06 2010-07-07 株式会社東芝 Data transmission system and its communication device
WO2003041341A1 (en) * 2001-11-05 2003-05-15 Matsushita Electric Industrial Co., Ltd. Server apparatus and terminal apparatus used in video transmission system
US20090135252A1 (en) * 2005-02-09 2009-05-28 Matsushita Electric Industrial Co., Ltd. Monitoring camera device, monitoring system using the same, and monitoring image transmission method
JP5052578B2 (en) * 2009-09-18 2012-10-17 シャープ株式会社 Communication device and program for causing a computer to function as the communication device
JP2012085888A (en) * 2010-10-21 2012-05-10 Konica Minolta Medical & Graphic Inc Ultrasound diagnostic apparatus
JP2012156650A (en) * 2011-01-24 2012-08-16 Panasonic Corp Moving image transmission system
KR102119287B1 (en) * 2011-12-01 2020-06-04 인터디지탈 매디슨 페이튼트 홀딩스 Device for obtaining content by choosing the transport protocol according to the available bandwidth
JP2014027613A (en) * 2012-07-30 2014-02-06 Toshiba Corp Video transmission apparatus and video transmission method
JP6249639B2 (en) * 2013-05-30 2017-12-20 キヤノン株式会社 Image processing system, image processing apparatus, image processing method, and image processing program

Also Published As

Publication number Publication date
JPH11313330A (en) 1999-11-09

Similar Documents

Publication Publication Date Title
EP1696672B1 (en) Method and compressor for compressing packet timestamp information
US7301928B2 (en) Wireless packet transfer apparatus and method
KR100965438B1 (en) Method and apparatus for enhancing rohc performance when encountering silence suppression
US8964115B2 (en) Transmission capacity probing using adaptive redundancy adjustment
WO2002032039A2 (en) Systems and methods for implementing hierarchical aknowledgement bitmaps in an arq protocol
US7920492B1 (en) Devices, softwares and methods for redundantly encoding a data stream for network transmission with adjustable redundant-coding delay
US20030098992A1 (en) Data transmitting/receiving system and method thereof
JP4936079B2 (en) Method for optimizing header compression during and after handover in a cellular communication network
CA2580230A1 (en) Call setup in a video telephony network
KR101335214B1 (en) Video coding
WO2008082278A1 (en) Method and apparatus for controlling intra-refreshing in a video telephony communication system
EP1187416B1 (en) Method and apparatus for transmitting data packets
JP2002135362A (en) Header compressor and header compression method
WO2013046698A1 (en) Data processing device and data processing method
JP4176865B2 (en) Image transmission device
JP2001251279A (en) Method for setting bit error probability reference value in wire-wireless video communication system
CN110876091B (en) Method and device for solving video frame packet loss by using RTP (real-time transport protocol) extension header
JP3426144B2 (en) Multimedia communication equipment
JP2005033556A (en) Data transmitter, data transmitting method, data receiver, data receiving method
WO2010000910A1 (en) Transmission capacity probing using adaptive redundancy adjustment
EP1182876B1 (en) Method for video transmission over a network
JPH0799662A (en) Dynamic image signal transmission method
KR100901031B1 (en) Packetization method in video telephony system
EP4210332A1 (en) Method and system for live video streaming with integrated encoding and transmission semantics
JP3929876B2 (en) Wireless video transmission device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050414

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070501

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070702

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080819

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080821

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110829

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120829

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130829

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees