JPH05244426A - Code data supply system - Google Patents
Code data supply systemInfo
- Publication number
- JPH05244426A JPH05244426A JP4277592A JP4277592A JPH05244426A JP H05244426 A JPH05244426 A JP H05244426A JP 4277592 A JP4277592 A JP 4277592A JP 4277592 A JP4277592 A JP 4277592A JP H05244426 A JPH05244426 A JP H05244426A
- Authority
- JP
- Japan
- Prior art keywords
- code data
- amount
- image
- code
- unprocessed
- 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.)
- Withdrawn
Links
- 238000012545 processing Methods 0.000 claims abstract description 72
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000005303 weighing Methods 0.000 claims abstract description 11
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000005259 measurement Methods 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 abstract description 70
- 238000004891 communication Methods 0.000 description 30
- 230000008569 process Effects 0.000 description 14
- 230000004044 response Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 238000007726 management method Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 3
- 239000000284 extract Substances 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000006837 decompression Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 206010000210 abortion Diseases 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
(57)【要約】
【目的】 本発明は、画像を階層的に符号化して得られ
る符号データを蓄積手段から画像復元装置に供給する符
号データ供給方式に関し、復元処理手段側で未処理のま
ま捨てられる符号データを抑制することを目的とする。
【構成】 画像を複数の階層に分割して符号化して得ら
れた符号データを蓄積する蓄積手段101から、送出手
段102が符号バッファ103を介して復元処理手段1
04に符号データを供給する際の符号データ供給方式に
おいて、符号バッファ103内に復元処理手段104に
よる復元処理ずみでない符号データとして残っている未
処理の符号データの量を計る計量手段111と、計量手
段111で得られた未処理の符号データの量が所定の閾
値を超えたか否かを判定する判定手段112と、判定手
段112による判定結果に応じて、送出手段102が一
定時間に送出する符号データの量を調整する送出制御手
段113とを備える。
(57) [Summary] [Object] The present invention relates to a code data supply system for supplying code data obtained by hierarchically encoding an image from an accumulating means to an image restoring device, and is left unprocessed on the restoring processing means side. The purpose is to suppress the discarded code data. [Structure] From a storage means 101 for storing code data obtained by dividing an image into a plurality of layers and encoding the data, a sending means 102 via a code buffer 103 restore processing means 1
In the code data supply method for supplying code data to 04, the weighing means 111 for measuring the amount of unprocessed code data remaining in the code buffer 103 as the code data that has not been restored by the restoration processing means 104; The determination unit 112 that determines whether or not the amount of unprocessed code data obtained by the unit 111 exceeds a predetermined threshold, and the code that the transmission unit 102 transmits in a certain time according to the determination result by the determination unit 112. And a sending control means 113 for adjusting the amount of data.
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像を階層的に符号化
して得られる符号データを画像データベースなどの蓄積
手段から画像復元装置に供給する符号データ供給方式に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code data supply system for supplying code data obtained by hierarchically coding an image from an accumulating means such as an image database to an image restoring device.
【0002】中間調画像やカラー画像などの画像のデー
タ量は、他の数値データのようにそのまま扱うためには
あまりにも膨大であるため、画像を符号化してそのデー
タ量を高能率に圧縮した後に、画像データベースに蓄積
され、あるいは画像復元装置に伝送されている。Since the data amount of an image such as a halftone image or a color image is too large to be handled as it is like other numerical data, the image is encoded and the data amount is compressed with high efficiency. It is later stored in the image database or transmitted to the image restoration device.
【0003】画像のデータ量を圧縮する方法としては、
2次元離散コサイン変換方式(DCT方式)や各画素の
色を表す画像データと周囲の画像データから求めた予測
値との差を符号化する予測符号化方式など様々な方法が
ある。DCT方式は、画像を例えば8×8画素からなる
ブロックごとにコサイン変換し、得られた変換係数を符
号化するものであり、国際電信電話諮問委員会と国際標
準化機構との合同の規格案JPEG(Joint Photographi
c Experts Groupe) にも採用されている。特に視覚に適
応した閾値を用いて変換係数を量子化した後に符号化す
る適応2次元コサイン変換方式(ADCT方式)は高い
圧縮率が得られる。As a method of compressing the amount of image data,
There are various methods such as a two-dimensional discrete cosine transform method (DCT method) and a predictive coding method for coding a difference between image data representing the color of each pixel and a predicted value obtained from surrounding image data. The DCT method is one in which an image is subjected to cosine transform for each block of 8 × 8 pixels and the obtained transform coefficient is coded, and a joint standard JPEG of the International Telegraph and Telephone Consultative Committee and the International Organization for Standardization (Joint Photographi
It has also been adopted by the c Experts Groupe). In particular, an adaptive two-dimensional cosine transform method (ADCT method) in which a transform coefficient is quantized by using a threshold value adapted to the visual sense and then coded provides a high compression rate.
【0004】しかし、上述したような方法を用いて圧縮
しても、得られた符号データの量は他の数値データなど
のデータ量に比べて非常に大きく、その伝送および処理
に要する時間は長い。However, even if compression is performed using the above-mentioned method, the amount of code data obtained is much larger than the amount of other numerical data, and the time required for its transmission and processing is long. ..
【0005】このため、画像データベースを通信回線を
介して利用する用途のために、画像を階層的に符号化
し、まず、粗い画像に関する情報を先に送出し、順次に
詳細な情報を送出して、画像を階層的に復元する方法も
提案されている。階層復元方式を適用した場合は、短い
待ち時間で大まかな画像が得られ、その後、次第に画質
が向上していくので、利用者の心理的な負担を軽減する
ことができる。Therefore, for the purpose of utilizing the image database via a communication line, the images are hierarchically encoded, first, the information on the coarse image is transmitted first, and then the detailed information is transmitted sequentially. , A method of hierarchically restoring images has also been proposed. When the hierarchical restoration method is applied, a rough image is obtained with a short waiting time, and then the image quality is gradually improved, so that the psychological burden on the user can be reduced.
【0006】一方、利用者が要求する復元画像の精度
は、利用者が意図している用途によってまちまちであ
る。例えば、画像データベースの検索の初期段階では、
極く大まかな画像を短時間ごとに切り換えながら眺めれ
ば充分である。しかし、最終的な検索結果としては、全
ての階層の情報を含んだ詳細な画像が要求される。ま
た、静止画像を所定の時間間隔で切り換えて動画として
表示する用途では、動画の1コマとして復元される静止
画像の精度よりも、むしろ動きを滑らかに見せるため
に、画像を切り換える時間間隔を短くすることが要求さ
れる。On the other hand, the accuracy of the restored image required by the user varies depending on the intended use of the user. For example, in the early stages of searching an image database,
It is sufficient to view a very rough image while switching it at short intervals. However, as a final search result, a detailed image including information of all layers is required. In addition, in a case where a still image is switched at a predetermined time interval and displayed as a moving image, the time interval for switching the image is shortened in order to make the motion look smooth rather than the accuracy of the still image restored as one frame of the moving image. Required to do so.
【0007】[0007]
【従来の技術】従来は、通常の階層復元用の符号データ
とは別に、検索用の大まかな画像のための符号データや
動画表示用の符号データを画像データベースに蓄積して
おき、受信側の画像復元装置からの要求に応じて、該当
する符号データを送出することにより、上述したような
様々な用途に対応していた。2. Description of the Related Art Conventionally, in addition to ordinary code data for hierarchical restoration, code data for rough images for retrieval and code data for displaying moving images are stored in an image database and stored on the receiving side. In response to a request from the image restoration device, the corresponding code data is transmitted to cope with various uses as described above.
【0008】例えば、検索用の符号データとしては、各
画像の階層復元用の符号データから第1階層のみを抽出
したものが、通常の階層復元用の符号データとは別に蓄
積されている。また、動画表示用の符号データとして
は、各画像から変化している部分を抽出して符号化して
得られる符号データが蓄積されている。For example, as the code data for retrieval, only the first layer is extracted from the code data for layer restoration of each image, and is stored separately from the code data for normal layer restoration. Further, as coded data for displaying a moving image, coded data obtained by extracting and coding a changed portion from each image is accumulated.
【0009】また、通常の階層復元と同じように、第1
階層の符号データから最終階層の符号データまで順次に
送出し、画像復元装置が、各画像の復元処理を割り当て
られた時間で打ち切って、次の画像の復元処理を開始す
ることにより、画像を所定の時間間隔で切り換えながら
表示し、カタログをパラパラとめくるようなスピーディ
な検索や動画表示を実現する方法もある。Also, as in the case of normal hierarchy restoration, the first
The image data is sequentially transmitted from the code data of the hierarchical layer to the code data of the last layer, and the image restoration device aborts the restoration process of each image at the allotted time and starts the restoration process of the next image, thereby predetermining the image. There is also a method of realizing a speedy search and moving image display by flipping through the catalog by switching the display at the time intervals of.
【0010】[0010]
【発明が解決しようとする課題】ところで、上述した従
来方式のように、画像データベースに用途ごとの符号デ
ータを蓄積しておくのでは、膨大な量のデータが重複し
てしまう。このため、画像データベースに蓄積する符号
データを階層的な符号データに統一することが必要とさ
れている。By the way, if the code data for each application is stored in the image database as in the above-mentioned conventional method, a huge amount of data will be duplicated. Therefore, it is necessary to unify the code data accumulated in the image database into hierarchical code data.
【0011】しかしながら、従来の階層復元方式は、最
終的に全ての階層の情報を含んだ詳細な画像を復元する
ことを目的としているので、利用者が意図している用途
にかかわらず、従来の符号データ送出装置は、全ての階
層の符号データを画像復元装置側に送出する構成となっ
ている。However, since the conventional hierarchical restoration method is aimed at finally restoring a detailed image including information of all the layers, the conventional hierarchical restoration method is used regardless of the intended use of the user. The code data sending device is configured to send the code data of all layers to the image restoration device side.
【0012】したがって、検索や動画表示などの用途の
際に、画像復元装置側で1画像の復元処理に割り当てら
れる時間を制限すると、画像復元装置の処理能力によっ
ては、伝送された符号データの一部が復元されずに捨て
られてしまう場合がある。Therefore, if the time allotted to the restoration process of one image on the image restoration device side is limited in the case of use such as retrieval or moving image display, depending on the processing capability of the image restoration device, one of the transmitted code data Parts may be discarded without being restored.
【0013】特に、処理能力の小さい画像復元装置と画
像データベースとがサービス総合ディジタル網などの高
速伝送可能な回線を介して接続されている場合は、画像
データベース側の符号データ送出装置から大量の符号デ
ータが画像復元装置に供給されるにもかかわらず、画像
復元装置側で処理可能な符号データはごく一部であるか
ら、大部分の符号データが未処理のまま捨てられてしま
う。In particular, when the image restoration device having a small processing capacity and the image database are connected via a line capable of high-speed transmission such as an integrated service digital network, a large number of codes are transmitted from the code data transmission device on the image database side. Even though the data is supplied to the image restoration device, the code data that can be processed on the image restoration device side is a very small part, so most of the code data is discarded without being processed.
【0014】このように、伝送される符号データの少な
くとも一部が無駄なデータとなったのでは、この無駄な
データの伝送のために要する通信時間と通信料金とが無
駄となるので不経済であるため、符号データを効率よく
画像復元装置に供給する符号データ供給方式が必要とさ
れている。As described above, if at least a part of the code data to be transmitted becomes useless data, the communication time and communication fee required for transmitting this useless data become useless, which is uneconomical. Therefore, there is a need for a code data supply system that efficiently supplies code data to an image restoration device.
【0015】本発明は、復元処理手段側で未処理のまま
捨てられる符号データの量を抑制しながら符号データを
供給可能な符号データ供給方式を提供することを目的と
する。It is an object of the present invention to provide a code data supply system capable of supplying code data while suppressing the amount of code data that is unprocessed and discarded on the restoration processing means side.
【0016】[0016]
【課題を解決するための手段】図1は、請求項1および
請求項2の符号データ供給方式の構成を示す図である。FIG. 1 is a diagram showing the configuration of the code data supply system according to the first and second aspects.
【0017】請求項1の発明は、画像を複数の階層に分
割して符号化して得られた符号データを蓄積する蓄積手
段101から、送出手段102が符号バッファ103を
介して復元処理手段104に符号データを供給する際の
符号データ供給方式において、符号バッファ103内に
復元処理手段104による復元処理ずみでない符号デー
タとして残っている未処理の符号データの量を計る計量
手段111と、計量手段111で得られた未処理の符号
データの量が所定の閾値を超えたか否かを判定する判定
手段112と、判定手段112による判定結果に応じ
て、送出手段102が一定時間に送出する符号データの
量を調整する送出制御手段113とを備えたことを特徴
とする。According to the first aspect of the invention, from the storage means 101 for storing the code data obtained by dividing the image into a plurality of layers and encoding, the sending means 102 causes the restoration processing means 104 via the code buffer 103. In the code data supply method for supplying code data, a weighing means 111 for measuring the amount of unprocessed code data remaining in the code buffer 103 as code data that has not been restored by the restoration processing means 104, and a weighing means 111. The determination unit 112 that determines whether or not the amount of unprocessed code data obtained in step 1 has exceeded a predetermined threshold value, and the determination unit 112 determines whether the code data to be transmitted by the transmission unit 102 in a certain period of time. And a sending control means 113 for adjusting the amount.
【0018】請求項2の発明は、請求項1に記載の符号
データ供給方式において、判定手段112が、計量手段
111で得られた未処理の符号データの量の復元処理の
所要時間を求める所要時間算出手段121と、所要時間
とこの所要時間に対する所定の閾値とを比較し、この比
較結果を未処理の符号データの量が所定の閾値を超えた
か否かを示す判定結果として出力する比較手段122と
を備えた構成であることを特徴とする。According to a second aspect of the present invention, in the code data supply system according to the first aspect, the determination means 112 needs to determine a time required for the restoration processing of the amount of unprocessed code data obtained by the weighing means 111. The time calculating means 121 compares the required time with a predetermined threshold for this required time, and outputs the comparison result as a determination result indicating whether or not the amount of unprocessed code data exceeds the predetermined threshold. And 122.
【0019】図2は、請求項3および請求項4の符号デ
ータ供給方式の構成を示す図である。請求項3の発明
は、請求項1に記載の符号データ供給方式において、所
定の時間が設定されており、この設定時間の経過に応じ
て、復元処理手段104に対して1画像の復元処理の終
了を指示し、次の画像の復元処理の開始を指示するタイ
マ131と、タイマ131に設定された時間の残り時間
に基づいて、判定手段112が未処理の符号データの量
の判定に用いる閾値の値を変更する閾値変更手段132
とを備えたことを特徴とする。FIG. 2 is a diagram showing the configuration of the code data supply system according to the third and fourth aspects. According to a third aspect of the present invention, in the coded data supply system according to the first aspect, a predetermined time is set, and the restoration processing unit 104 performs restoration processing of one image according to the lapse of the set time. A threshold value used by the determination unit 112 to determine the amount of unprocessed code data based on the timer 131 that instructs the end and the start of the next image restoration process, and the remaining time set in the timer 131. Changing means 132 for changing the value of
It is characterized by having and.
【0020】請求項4の発明は、請求項3に記載の符号
データ供給方式において、閾値変更手段132が、タイ
マ131に設定された時間の残り時間からこの残り時間
内に復元処理手段104が復元処理可能な符号データの
量を推定する推定手段141と、推定手段141で得ら
れた推定値に応じて閾値の値を決定する閾値決定手段1
42とを備えた構成であることを特徴とする。According to a fourth aspect of the present invention, in the code data supply method according to the third aspect, the threshold value changing means 132 restores from the remaining time set in the timer 131 by the restoring processing means 104 within the remaining time. Estimating means 141 for estimating the amount of code data that can be processed, and threshold determining means 1 for determining a threshold value according to the estimated value obtained by the estimating means 141.
And a configuration including 42.
【0021】[0021]
【作用】請求項1の発明は、計量手段111から得られ
る未処理の符号データの量に応じて、判定手段112と
送出制御手段113とによって、蓄積手段101に蓄積
された符号データの送出手段102による送出量を調整
するので、符号バッファ103内の未処理の符号データ
の量を判定手段112で用いられる閾値程度に抑えるこ
とができる。したがって、復元処理手段104による復
元処理を割当て時間の終了ごに打ち切った場合にも、符
号バッファ103に残っている符号データの量を少なく
し、未処理のまま捨てられる符号データの量を抑制する
ことが可能である。According to the first aspect of the present invention, the determination means 112 and the transmission control means 113 according to the amount of unprocessed code data obtained from the weighing means 111 send the code data stored in the storage means 101. Since the transmission amount by 102 is adjusted, the amount of unprocessed code data in the code buffer 103 can be suppressed to about the threshold value used by the determination unit 112. Therefore, even when the restoration processing by the restoration processing unit 104 is terminated after the end of the allotted time, the amount of code data remaining in the code buffer 103 is reduced, and the amount of code data discarded as unprocessed is suppressed. It is possible.
【0022】請求項2の発明は、所要時間算出手段12
1によって求められた所要時間とこの所要時間に対する
閾値とを比較手段122が比較することにより、未処理
の符号データの量の判定を行っている。ここで、復元処
理手段104による復元処理への割当て時間や通信時間
の無駄として許容できる範囲などから、所要時間に対す
る適切な閾値を求めることは容易であるから、上述した
判定結果に応じて、符号データの送出量を調整すること
により、未処理のまま捨てられる符号データの量を有効
に抑制することが可能である。According to the invention of claim 2, required time calculating means 12
The comparison means 122 compares the required time obtained by 1 with the threshold value for this required time to determine the amount of unprocessed code data. Here, since it is easy to obtain an appropriate threshold value for the required time from the allocation time for the restoration processing by the restoration processing means 104, the range that can be allowed as a waste of communication time, etc. By adjusting the data transmission amount, it is possible to effectively suppress the amount of unprocessed code data that is discarded.
【0023】請求項3の発明は、タイマ131の残り時
間に応じて、閾値変更手段132が判定手段112が未
処理の符号データの量の判定に用いる閾値を変更し、こ
の閾値に基づいて、判定手段112と送出制御手段11
3とによって、符号データの送出量を調整することによ
り、残り時間の減少とともに、符号バッファ103内に
残っている未処理の符号データの量を少なくすることが
できる。すなわち、割当て時間の終了時に、符号バッフ
ァ103内に残っている未処理の符号データの量を最少
化することが可能である。According to the third aspect of the present invention, the threshold value changing unit 132 changes the threshold value used by the judging unit 112 for judging the amount of unprocessed code data according to the remaining time of the timer 131, and based on this threshold value, Judging means 112 and sending control means 11
By adjusting the transmission amount of the code data by 3, the remaining time can be reduced and the amount of unprocessed code data remaining in the code buffer 103 can be reduced. That is, it is possible to minimize the amount of unprocessed code data remaining in the code buffer 103 at the end of the allotted time.
【0024】請求項4の発明は、推定手段141で得ら
れた処理可能な符号データの量の推定値に応じて、閾値
決定手段142により残り時間に対応する閾値が決定さ
れ、復元処理手段104の処理能力を考慮した合理的な
閾値を用いて、符号データの送出量の調整を行うことが
できる。According to the fourth aspect of the present invention, the threshold value determining means 142 determines the threshold value corresponding to the remaining time in accordance with the estimated value of the processable code data amount obtained by the estimating means 141, and the restoration processing means 104. It is possible to adjust the transmission amount of code data by using a reasonable threshold in consideration of the processing capability of.
【0025】[0025]
【実施例】図3は、請求項1の発明の符号データ供給方
式を適用した符号データ送出装置および画像復元装置の
実施例構成を示す。FIG. 3 shows the configuration of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of the invention of claim 1 is applied.
【0026】図3において、符号データ格納部201
は、蓄積手段101に相当するものであり、複数の画像
の各階層の符号データをそれぞれ独立したファイルとし
て格納している。In FIG. 3, code data storage unit 201
Corresponds to the accumulating means 101 and stores code data of each layer of a plurality of images as independent files.
【0027】ここで、階層化された符号データとして
は、例えば、ADCT方式で得られた変換結果をスペク
トラルセレクション方式を用いて空間周波数成分ごとに
複数の階層に分割し、各階層に分割された成分をハフマ
ン符号化したものを蓄積しておけばよい。Here, as the layered code data, for example, the conversion result obtained by the ADCT method is divided into a plurality of layers for each spatial frequency component using the spectral selection method, and is divided into each layer. It is sufficient to store Huffman-coded components.
【0028】また、各ファイルの格納場所に関する情報
は、各画像を示す画像番号と階層を示す階層番号とに対
応するテーブルとしてファイル管理部202内に備えら
れている。したがって、符号データ送出装置の読出制御
部211が、画像番号および階層番号を指定してファイ
ル管理部202に読出処理を依頼すれば、このファイル
管理部202によって該当するファイルが読み出され、
符号データが符号データ送出装置の通信処理部212に
転送される。Information regarding the storage location of each file is provided in the file management unit 202 as a table corresponding to the image number indicating each image and the layer number indicating the layer. Therefore, if the read control unit 211 of the code data transmission device specifies the image number and the layer number and requests the file management unit 202 to perform the read process, the file management unit 202 reads the corresponding file,
The coded data is transferred to the communication processing unit 212 of the coded data transmission device.
【0029】この符号データは、上述した通信処理部2
12により回線を介して画像復元装置に送出され、この
画像復元装置の通信処理部221を介して、符号バッフ
ァ103に蓄積されている。すなわち、上述したファイ
ル管理部202と通信処理部212,221とによっ
て、送出手段102の機能が果たされており、この送出
手段102が送出した符号データが符号バッファ103
を介して復元処理手段104に転送される構成となって
いる。This code data is used as the communication processing unit 2 described above.
12 is sent to the image restoration device via the line, and is stored in the code buffer 103 via the communication processing unit 221 of the image restoration device. That is, the file management unit 202 and the communication processing units 212 and 221 described above fulfill the function of the sending unit 102, and the code data sent by the sending unit 102 is the code buffer 103.
It is configured to be transferred to the restoration processing means 104 via.
【0030】復元処理手段104は、復号部222が、
入力された符号データを復号して量子化された変換係数
を求め、この量子化された変換係数を逆量子化部223
が逆量子化して元の変換係数を復元し、得られた変換係
数に対して逆DCT変換部224が逆DCT変換を施し
た結果とそれまでに復元された画像データとから累積加
算部225が現階層までの全ての情報を含んだ画像デー
タを復元する構成となっている。In the restoration processing means 104, the decoding unit 222
The input coded data is decoded to obtain a quantized transform coefficient, and the quantized transform coefficient is dequantized by the inverse quantization unit 223.
Dequantizes and restores the original transform coefficient, and the cumulative addition unit 225 uses the result obtained by performing the inverse DCT transform on the obtained transform coefficient by the inverse DCT transform unit 224 and the image data restored up to that point. The image data including all information up to the current layer is restored.
【0031】また、上述した復元処理手段104によっ
て復元された画像データは、表示制御部226を介して
CRTディスプレイ(CRT)227に入力されてお
り、このCRTディスプレイ227により、復元画像が
表示される構成となっている。The image data restored by the above-mentioned restoration processing means 104 is input to the CRT display (CRT) 227 via the display control section 226, and the restored image is displayed on the CRT display 227. It is composed.
【0032】また、図3において、カウンタ232は、
計量手段111に相当するものであり、通信処理部22
1から符号バッファ222に1語分の符号データが転送
されるごとに計数値を加算し、符号バッファ222から
復元処理手段104に1語分の符号データが転送される
ごとに計数値を減算して、符号バッファ222内に残っ
ている未処理の符号データの語数を算出する構成となっ
ている。Further, in FIG. 3, the counter 232 is
The communication processing unit 22 corresponds to the weighing means 111.
The count value is added each time one word of code data is transferred from 1 to the code buffer 222, and the count value is subtracted each time one word of code data is transferred from the code buffer 222 to the restoration processing means 104. Thus, the number of unprocessed code data words remaining in the code buffer 222 is calculated.
【0033】上述した通信処理部212は、ファイル管
理部202からの符号データを回線を介して画像復元装
置に送出するとともに、主制御部213からの指示に応
じて、画像復元装置に対して後述する制御情報の送出を
要求し、応答として得られた制御情報を主制御部213
に転送する構成となっている。The above-mentioned communication processing section 212 sends the coded data from the file management section 202 to the image restoration apparatus via the line and, in response to an instruction from the main control section 213, the image restoration apparatus will be described later. Requesting the transmission of the control information, and the control information obtained as a response is sent to the main controller 213
It is configured to be transferred to.
【0034】また、通信処理部221は、回線からの符
号データを受信して符号バッファ103に転送するとと
もに、上述した要求を画像復元装置の主制御部231に
通知し、この主制御部231が作成した制御情報を符号
データ送出装置への応答として送出する構成となってい
る。Further, the communication processing section 221 receives the coded data from the line and transfers it to the code buffer 103, and at the same time notifies the main control section 231 of the image restoration device to the main control section 231. The generated control information is sent as a response to the code data sending device.
【0035】この主制御部231は、通信処理部221
から制御情報の要求があった旨が通知されたときに、上
述したカウンタ232の計数値を読み出して、この計数
値から符号バッファ103内の未処理の符号データの量
に関する制御情報を作成し、通信処理部221に対して
この制御情報の送信を依頼する構成となっている。The main control section 231 has a communication processing section 221.
When it is notified that there is a request for control information, the count value of the above-mentioned counter 232 is read out, and control information relating to the amount of unprocessed code data in the code buffer 103 is created from this count value. The communication processing unit 221 is configured to request the transmission of this control information.
【0036】また、操作パネル233を介して利用者が
画像データベースの検索処理や動画表示処理を指示した
際に、上述した主制御部231により、利用者が指定し
た画像番号がメモリ234に保持されるとともに、復元
画像の用途に応じた復元処理への割当て時間がタイマ2
35に設定されている。このタイマ235からの通知に
応じて、主制御部231が、復元処理手段104の各部
に動作の終了を指示し、メモリ234から画像番号を順
次に読み出してこの画像番号を指定した送出依頼を作成
し、通信処理部221を介して符号データ送出装置に送
出する構成となっている。これにより、符号データ送出
装置からの符号データを設定時間ごとに切り換えられ、
新しい画像の復元処理が開始される。一方、メモリ23
4内の全ての画像番号についての符号データの送出を依
頼した後は、主制御部231は、符号データの送出動作
の終了依頼を作成し、同様にして符号データ送出装置に
送出すればよい。When the user gives an instruction to search the image database or display a moving image through the operation panel 233, the above-mentioned main control section 231 holds the image number specified by the user in the memory 234. In addition, the timer 2 allocates time for restoration processing according to the use of the restored image.
It is set to 35. In response to the notification from the timer 235, the main control unit 231 instructs each unit of the restoration processing unit 104 to end the operation, sequentially reads the image numbers from the memory 234, and creates a transmission request in which the image numbers are designated. Then, the data is transmitted to the code data transmission device via the communication processing unit 221. As a result, the code data from the code data transmission device can be switched at each set time,
Restoration processing of a new image is started. On the other hand, the memory 23
After requesting the transmission of the code data for all the image numbers in 4, the main control unit 231 may make a request for ending the code data transmission operation, and may similarly transmit it to the code data transmission device.
【0037】以下、本発明の符号データ送出方式による
符号データ送出動作について説明する。図4に、符号デ
ータ送出動作を表す流れ図を示す。The code data transmission operation according to the code data transmission system of the present invention will be described below. FIG. 4 is a flowchart showing the code data sending operation.
【0038】画像復元装置側からの符号データの送出依
頼に応じて、符号データ送出装置は動作を開始し、ま
ず、主制御部213が、上述した送出依頼から画像番号
を抽出して読出制御部211に通知する(ステップ30
1)。これに応じて、読出制御部211により、ファイ
ル管理部202に対して、ステップ301で通知された
該当する画像の符号データに対応するファイルの中から
1階層分のファイルが順次に指定され(ステップ30
2)、これに応じてファイル管理部202が読み出した
1階層分の符号データが通信処理部212を介して画像
復元装置に送出される(ステップ303)。In response to a code data transmission request from the image restoration apparatus side, the code data transmission apparatus starts its operation. First, the main control unit 213 extracts the image number from the above-mentioned transmission request and the read control unit. Notify 211 (step 30)
1). In response to this, the read control unit 211 sequentially designates, to the file management unit 202, files for one layer from the files corresponding to the coded data of the corresponding image notified in step 301 (step Thirty
2) In response, the code data for one layer read by the file management unit 202 is sent to the image restoration apparatus via the communication processing unit 212 (step 303).
【0039】上述したステップ303で1階層分の符号
データが送出されるごとに、主制御部213は、画像復
元装置側から新しい画像の送出依頼あるいは送出動作の
終了依頼があったか否かを判定する(ステップ30
4)。Each time the code data for one layer is transmitted in step 303 described above, the main control unit 213 determines whether or not there is a request for transmitting a new image or a request for ending the transmitting operation from the image restoration device side. (Step 30
4).
【0040】このステップ304の否定判定の場合は、
主制御部213は、通信処理部212に制御情報の通知
要求の送出を依頼し、これに応じて、画像復元装置側か
ら未処理の符号データ量を示す制御情報が通知される
(ステップ305)。In the case of a negative determination at step 304,
The main control unit 213 requests the communication processing unit 212 to send a control information notification request, and in response to this, the image restoration apparatus side notifies the control information indicating the unprocessed code data amount (step 305). ..
【0041】次に、主制御部213は、判定手段112
および送出制御手段113として動作し、ステップ30
5で得られた未処理の符号データ量が予め設定された閾
値Thを超えているか否かを判定し(ステップ306)、
この判定結果に応じて、読出制御部211および通信処
理部212を制御する。ステップ306の肯定判定の場
合は、主制御部213は、所定の時間τだけ待機し(ス
テップ307)、その後ステップ304に戻り、上述し
たステップ306の否定判定となるまで、ステップ30
4〜ステップ307を繰り返す。したがって、符号バッ
ファ103に閾値Thを超える量の未処理の符号データが
残っている間は、符号データの送出動作は停止され、未
処理の符号データ量が閾値Th以下となったときに、ステ
ップ302に戻って次の階層の符号データの送出処理が
行われる。Next, the main controller 213 determines the judging means 112.
And as the sending control means 113, step 30
It is determined whether the amount of unprocessed code data obtained in 5 exceeds a preset threshold Th (step 306),
The read control unit 211 and the communication processing unit 212 are controlled according to the determination result. In the case of a positive determination in step 306, the main control unit 213 waits for a predetermined time τ (step 307), then returns to step 304, and the process proceeds to step 30 until a negative determination is made in step 306 described above.
4 to step 307 are repeated. Therefore, while the unprocessed code data amount exceeding the threshold value Th remains in the code buffer 103, the operation of sending the code data is stopped, and when the unprocessed code data amount becomes equal to or less than the threshold value Th, Returning to 302, the transmission process of the code data of the next layer is performed.
【0042】このようにして、符号バッファ103に蓄
積された未処理の符号データの量に応じて、一定時間に
送出手段102が送出する符号データの量を調節するこ
とができ、これにより、上述した閾値Thを大幅に超える
量の未処理の符号データが符号バッファ103に蓄積さ
れることを防ぐことができる。すなわち、画像復元装置
側で1画像の復元処理への割当て時間が終了したとき
に、復元されずに捨てられる符号データの量を上述した
閾値Th程度に抑えることができる。したがって、上述し
た閾値Thとして適切な語数を設定すれば、無駄な符号デ
ータの量を大幅に削減することが可能となり、画像復元
装置に効率よく符号データを供給することができる。In this way, the amount of code data sent by the sending means 102 can be adjusted at a fixed time according to the amount of unprocessed code data accumulated in the code buffer 103. It is possible to prevent the unprocessed code data that greatly exceeds the threshold Th from being accumulated in the code buffer 103. That is, when the time allotted to the restoration processing of one image ends on the image restoration device side, the amount of code data to be discarded without being restored can be suppressed to the threshold value Th described above. Therefore, if an appropriate number of words is set as the above-mentioned threshold Th, the amount of useless code data can be significantly reduced, and the code data can be efficiently supplied to the image restoration device.
【0043】また、上述したステップ306で未処理の
符号データ量が閾値Thを超えたと判定されたときに、こ
のステップ306で用いる閾値を上述した閾値Thよりも
小さい値に変更し、新しい閾値よりも未処理の符号デー
タ量が少なくなったときに、閾値を元の閾値Thに戻すと
ともに、ステップ306の否定判定としてステップ30
2に戻って符号データの送出を再開してもよい。このよ
うに、符号データの送出制御にヒステリシスを持たせる
ことにより、符号データの送出動作の安定化を図ること
ができる。Further, when it is determined in step 306 described above that the unprocessed code data amount exceeds the threshold value Th, the threshold value used in this step 306 is changed to a value smaller than the threshold value th described above, and the new threshold value is used. Also, when the amount of unprocessed code data becomes small, the threshold value is returned to the original threshold value Th, and the negative determination in step 306 is performed in step 30.
It is also possible to return to 2 and restart the transmission of code data. In this way, by providing the code data transmission control with hysteresis, it is possible to stabilize the code data transmission operation.
【0044】一方、上述したステップ304において、
画像復元装置側から何らかの依頼があったと判定された
場合(肯定判定)は、ステップ308において、依頼の
種類を判定し、送出依頼であればステップ301に戻っ
て新しい画像の符号データの送出を開始し、終了依頼で
あれば送出動作を終了すればよい。On the other hand, in step 304 described above,
If it is determined that there is any request from the image restoration device side (affirmative determination), the type of request is determined in step 308, and if it is a transmission request, the process returns to step 301 and transmission of code data of a new image is started. If it is a termination request, the sending operation may be terminated.
【0045】また、ステップ306の肯定判定のとき
に、ステップ306の否定判定となるまでステップ30
4〜ステップ307を繰り返す代わりに、通信処理部2
12による符号データの送出速度を通常の速度よりも遅
い速度に変更し、以後、ステップ306の否定判定とな
ったときに、元の送出速度に戻すことにより、符号デー
タの送出量を調節してもよい。When the affirmative determination is made in step 306, step 30 is repeated until the negative determination is made in step 306.
Instead of repeating 4 to step 307, the communication processing unit 2
The transmission rate of the code data by 12 is changed to a slower rate than the normal rate, and thereafter, when the negative determination is made in step 306, the transmission rate of the code data is adjusted by returning to the original transmission rate. Good.
【0046】この場合も、無駄な符号データの量を削減
することが可能となり、画像復元装置に符号データを効
率よく供給することができる。更に、上述したようにし
て、符号バッファ103内の未処理の符号データの量に
応じて符号データの送出量を調整した場合は、画像復元
装置側の処理能力に応じた量の符号データを供給するこ
とができる。したがって、符号データ送出装置から高速
伝送された符号データを受信可能な通信処理部221を
有し、かつ、高速処理が可能な復元処理手段104を有
する画像復元装置に適用した場合は、高品位の復元画像
が得られ、復元処理手段104の処理能力を活用するこ
とができる。Also in this case, the amount of useless code data can be reduced, and the code data can be efficiently supplied to the image restoration device. Further, as described above, when the transmission amount of code data is adjusted according to the amount of unprocessed code data in the code buffer 103, the amount of code data corresponding to the processing capacity of the image restoration device is supplied. can do. Therefore, when applied to the image restoration apparatus having the communication processing unit 221 capable of receiving the code data transmitted at high speed from the code data transmission apparatus and having the restoration processing means 104 capable of high-speed processing, the image restoration apparatus has high quality. A restored image is obtained, and the processing capacity of the restoration processing unit 104 can be utilized.
【0047】また、上述した符号データ供給方式を適用
することにより、階層化された符号データを画像データ
ベースの検索処理や動画表示処理など様々な用途に利用
した際の無駄な符号データの発生を大幅に削減すること
が可能となる。これにより、画像データベースに蓄積す
る符号データの形式の一元化を図ることができ、また、
階層化された符号データを蓄積している画像データベー
スの利用促進を図ることができる。Further, by applying the above-described code data supply system, the useless generation of code data when the hierarchical code data is used for various purposes such as image database search processing and moving image display processing is greatly reduced. Can be reduced to. This makes it possible to unify the format of the code data stored in the image database, and
It is possible to promote the use of the image database that stores the hierarchical coded data.
【0048】なお、計量手段111により、符号バッフ
ァ103に未処理で残っている符号データの量を階層単
位で求める構成としてもよい。例えば、図5に示すよう
に、2つのEOB検出部241a,241bが、それぞ
れ符号バッファ103に入力される符号データおよび符
号バッファ103から出力される符号データからEOB
符号を検出し、これらの検出結果に応じて、2つのカウ
ンタ242a,242bがそれぞれ対応する符号データ
のブロック数を計数し、これらの計数値が1画像を構成
するブロック数Nとなるごとに、カウンタ243にそれ
ぞれ計数値の加算(COUNT UP)および減算(COUNT DOWN)を
指示する構成とすればよい。It should be noted that the amount of code data that remains unprocessed in the code buffer 103 may be obtained by the metering means 111 in units of layers. For example, as shown in FIG. 5, the two EOB detection units 241a and 241b detect the EOB from the code data input to the code buffer 103 and the code data output from the code buffer 103, respectively.
A code is detected, and two counters 242a and 242b count the number of blocks of corresponding code data according to the detection results, and each time the count value becomes the number N of blocks forming one image, The counter 243 may be configured to instruct addition (COUNT UP) and subtraction (COUNT DOWN) of the count value, respectively.
【0049】この場合は、カウンタ243の計数値とし
て未処理の符号データの階層数が得られるので、主制御
部231はこの計数値から制御情報を作成して、通信処
理部221を介して符号データ送出装置に送出すればよ
い。In this case, since the number of layers of unprocessed code data is obtained as the count value of the counter 243, the main control unit 231 creates control information from this count value and the code is transmitted via the communication processing unit 221. It may be sent to the data sending device.
【0050】ここで、復元処理手段104の逆DCT変
換部224が行列演算を機械的に実行する構成である場
合は、n階層分の符号データの復元処理に要する時間
は、画像の画素数が等しければ画像によらずほぼ一定で
あることが知られている。この関係を利用すれば、通信
時間や通信料金の側から無駄な符号データとして許容で
きる符号データの量をおおまかに把握することが可能で
あるから、制御情報として得られた未処理の符号データ
の量と比較する閾値Thの値として適切な値を設定するこ
とができる。Here, when the inverse DCT conversion section 224 of the restoration processing means 104 is configured to mechanically execute matrix operation, the time required for the restoration processing of code data for n layers depends on the number of pixels of the image. It is known that if they are equal, they are almost constant regardless of the image. By using this relationship, it is possible to roughly understand the amount of code data that can be allowed as useless code data from the side of communication time and communication charge, and therefore, the unprocessed code data obtained as control information An appropriate value can be set as the value of the threshold Th to be compared with the amount.
【0051】また、上述した関係に基づいて、計量手段
111で得られた未処理の符号データの量からこの未処
理の符号データを処理するための所要時間tを求め、こ
の所要時間tの値に応じて、符号データの送出量を調整
する構成としてもよい。Further, based on the above-mentioned relationship, the required time t for processing the unprocessed code data is obtained from the amount of the unprocessed code data obtained by the measuring means 111, and the value of the required time t. According to the above, the configuration may be such that the transmission amount of code data is adjusted.
【0052】図6に、請求項2の符号データ供給方式を
適用した符号データ送出装置および画像復元装置の実施
例構成を示す。図6において、符号データ送出装置は、
図3に示した符号データ送出装置210に所要時間テー
ブル251を付加して構成されている。この所要時間テ
ーブル251は、階層数に対応して、その階層数分の符
号データの処理に要する時間の推定値を格納しており、
主制御部213からアクセス可能に構成されている。FIG. 6 shows the configuration of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of claim 2 is applied. In FIG. 6, the code data transmission device is
It is configured by adding a required time table 251 to the code data transmitting device 210 shown in FIG. The required time table 251 stores the estimated value of the time required to process the code data for the number of layers corresponding to the number of layers,
It is configured to be accessible from the main control unit 213.
【0053】また、画像復元装置は、図5に示した計量
手段111を備えて構成されており、主制御部231
は、符号データ送出装置からの制御情報の通知要求に応
じて、カウンタ243の計数値を示す制御情報の送出処
理を行う構成となっている。Further, the image restoration apparatus comprises the weighing means 111 shown in FIG. 5, and the main control section 231.
Is configured to perform transmission processing of control information indicating the count value of the counter 243 in response to a control information notification request from the code data transmission device.
【0054】この場合は、符号データ送出装置の主制御
部213が、上述した実施例と同様にステップ301〜
ステップ305の処理を行い、制御情報の通知を受けた
ときに、この制御情報で示された階層数に対応する所要
時間tを所要時間テーブル251から検索する処理を付
加すればよい。これにより、主制御部213と所要時間
テーブル251とにより、所要時間算出手段121の機
能が果たされる。In this case, the main control unit 213 of the code data transmission device performs steps 301 to 301 as in the above-described embodiment.
When the process of step 305 is performed and the control information is notified, a process of searching the required time table 251 for the required time t corresponding to the number of layers indicated by the control information may be added. As a result, the function of the required time calculation means 121 is fulfilled by the main control unit 213 and the required time table 251.
【0055】次に、主制御部213は、得られた所要時
間tがこの所要時間に対する所定の閾値Th1 を超えてい
るか否かを判定すればよい。このようにして、主制御部
213が、比較手段122の機能を果たすとともに、こ
の判定結果に応じて、読出制御部211と通信処理部2
12との動作を停止あるいは通信処理部212による符
号データの送出速度を変更することにより、符号データ
の送出量の調整が行われる。Next, the main control unit 213, a required time t obtained may be determined whether it exceeds a predetermined threshold value Th 1 for the required time. In this way, the main control unit 213 performs the function of the comparison unit 122, and depending on the determination result, the read control unit 211 and the communication processing unit 2
The transmission amount of the code data is adjusted by stopping the operation with 12, or changing the transmission speed of the code data by the communication processing unit 212.
【0056】上述した所要時間に対する閾値Th1 として
は、通信時間や通信料金の面から許容できる限度を設定
すればよく、適切な閾値を設定することが容易であるか
ら、符号データの送出量を有効に調整して、効率よく供
給することができる。[0056] As the threshold Th 1 for the required time as described above, may be set to limit acceptable in terms of the communication time and communication fee, because it is easy to set an appropriate threshold, the transmission amount of encoded data It can be adjusted effectively and supplied efficiently.
【0057】なお、画像復元装置側に所要時間テーブル
251を備えて、主制御部231がこの所要時間テーブ
ル251を参照して制御情報を作成し、符号データ送出
装置からの要求に応じてこの制御情報を送出する構成と
してもよい。この場合は、画像復元装置側の主制御部2
31と所要時間テーブル251とによって所要時間算出
手段121の機能が果たされる。The image restoration apparatus side is provided with a required time table 251, and the main control section 231 refers to the required time table 251 to create control information, and this control is performed in response to a request from the code data transmission apparatus. It may be configured to send information. In this case, the main controller 2 on the image restoration device side
31 and the required time table 251 perform the function of the required time calculating means 121.
【0058】ところで、画像復元装置側で1枚の画像の
復元処理に割り当てる時間を制限している場合は、時間
の経過とともに、割当て時間中に更に処理可能な符号デ
ータの量は減少する。したがって、割当て時間の終了時
に符号バッファ103に残る符号データの量を最少化す
るためには、復元処理に使用できる残り時間を考慮し
て、符号データの送出量を調整する必要がある。By the way, when the time allotted to the restoration processing of one image is limited on the image restoration device side, the amount of code data that can be further processed during the allotted time decreases with the passage of time. Therefore, in order to minimize the amount of code data remaining in the code buffer 103 at the end of the allotted time, it is necessary to adjust the amount of code data to be sent in consideration of the remaining time that can be used for the restoration process.
【0059】図7に、請求項3の符号データ供給方式を
適用した符号データ送出装置および画像復元装置の実施
例構成を示す。図7において、符号データ送出装置は、
図3に示した符号データ送出装置に閾値テーブル252
を付加して構成されている。この閾値テーブル252
は、残り時間に対応する閾値を格納しており、符号デー
タ送出装置の主制御部213からアクセス可能な構成と
なっている。FIG. 7 shows the configuration of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of claim 3 is applied. In FIG. 7, the code data transmission device is
A threshold value table 252 is provided in the code data transmission device shown in FIG.
Is added. This threshold table 252
Stores a threshold value corresponding to the remaining time, and is configured to be accessible from the main control unit 213 of the code data transmission device.
【0060】ここで、各閾値の値としては、残り時間と
所定の比例関係を持つ値を格納しておけばよい。すなわ
ち、残り時間を表す数値の減少に伴って、小さい値の閾
値を対応させればよい。Here, as each threshold value, a value having a predetermined proportional relationship with the remaining time may be stored. That is, a smaller threshold value may be associated with a decrease in the numerical value indicating the remaining time.
【0061】この場合は、上述した実施例と同様にし
て、符号データ送出装置側から制御情報の通知が要求さ
れたときに、画像復元装置の主制御部231が、カウン
タ232の計数値を参照するとともにタイマ235の残
り時間を参照し、未処理の符号データの量と残り時間と
を含んだ制御情報を作成して、通信処理部221を介し
て符号データ送出装置に返せばよい。すなわち、上述し
たタイマ235と主制御部231とによって、タイマ1
31の機能が果たされ、残り時間が通信処理部221,
212を介して符号データ送出装置の主制御部213に
通知される。In this case, similarly to the above-described embodiment, when the code data transmission device side requests the notification of the control information, the main control unit 231 of the image restoration device refers to the count value of the counter 232. At the same time, the remaining time of the timer 235 is referred to, control information including the amount of unprocessed code data and the remaining time is created, and the control information may be returned to the code data transmitting device via the communication processing unit 221. That is, the timer 1 is controlled by the timer 235 and the main controller 231 described above.
31 functions are performed, and the remaining time is the communication processing unit 221,
It is notified to the main control unit 213 of the code data transmission device via 212.
【0062】これに応じて、符号データ送出装置の主制
御部213は、得られた制御情報からまず残り時間に関
する情報を抽出し、上述した閾値テーブル252から該
当する閾値を検索して、ステップ306で未処理の符号
データの量と比較する閾値Thの値を設定すればよい。In response to this, the main control unit 213 of the coded data transmission device first extracts the information regarding the remaining time from the obtained control information, searches the above threshold table 252 for the corresponding threshold value, and proceeds to step 306. Then, the value of the threshold Th to be compared with the amount of unprocessed code data may be set.
【0063】このようにして、主制御部213と閾値テ
ーブル252とにより、閾値変更手段132の機能が実
現され、判定手段112と送出制御手段113とが、こ
の閾値に基づいて符号データの送出動作を制御すること
により、残り時間を考慮して符号データの供給量を調整
することが可能となる。In this way, the function of the threshold value changing means 132 is realized by the main control portion 213 and the threshold value table 252, and the judging means 112 and the sending control means 113 send the coded data based on this threshold value. It is possible to adjust the supply amount of code data in consideration of the remaining time by controlling the.
【0064】上述したように、閾値テーブル252に格
納されている閾値は、残り時間を表す数値の大きさに比
例する値となっているので、割当て時間の経過ととも
に、ステップ306の閾値Thの値として小さい値が設定
される。したがって、このように閾値Thの値を変更しな
がら符号データの供給量を調整することにより、符号バ
ッファ103に残る符号データの量を次第に小さく抑え
ていき、割当て時間が終了した時点における未処理の符
号データの量を最少化することが可能となる。これによ
り、符号データを画像復元装置により効率よく供給する
ことができる。As described above, since the threshold value stored in the threshold value table 252 is a value proportional to the size of the numerical value indicating the remaining time, the value of the threshold value Th in step 306 is increased as the allotted time elapses. Is set to a small value. Therefore, by adjusting the supply amount of the code data while changing the value of the threshold value Th in this way, the amount of the code data remaining in the code buffer 103 is gradually suppressed, and the unprocessed data at the end of the allocation time is processed. It is possible to minimize the amount of code data. As a result, the code data can be efficiently supplied to the image restoration device.
【0065】なお、請求項2の符号データ供給方式を適
用した符号データ送出装置および画像復元装置に、請求
項3の発明を適用してもよい。この場合は、符号データ
送出装置の主制御部213は、画像復元装置からの制御
情報として得られる残り時間をそのまま閾値Th1 として
設定し、未処理の符号データの量から求めた所要時間と
の比較結果に応じて、符号データの送出動作を制御すれ
ばよい。また、得られた残り時間から所定の定数を差し
引いたり、1より小さい所定の係数を乗じたりして、元
の残り時間よりも小さい閾値Th1 を算出してもよい。The invention of claim 3 may be applied to a code data transmitting device and an image restoration device to which the code data supply system of claim 2 is applied. In this case, the main control unit 213 of the code data transmission device sets the remaining time obtained as the control information from the image restoration device as the threshold value Th 1 as it is, and the required time obtained from the amount of unprocessed code data. It suffices to control the code data transmission operation according to the comparison result. Further, the threshold value Th 1 smaller than the original remaining time may be calculated by subtracting a predetermined constant from the obtained remaining time or multiplying it by a predetermined coefficient smaller than 1 .
【0066】ここで、各階層数分の符号データとその復
元処理に要する時間との関係を用いれば、画像復元装置
から得られる残り時間に基づいて、画像復元装置側でそ
の残り時間内に処理可能な符号データの量を階層を単位
として推定することができる。この推定値に応じて上述
した閾値を決定すれば、残り時間に適合した閾値が得ら
れ、符号データの供給量をより合理的に調整することが
できる。If the relationship between the code data for each number of layers and the time required for the restoration process is used, the image restoration device performs processing within the remaining time based on the remaining time obtained from the image restoration device. The amount of possible code data can be estimated in units of layers. If the above-mentioned threshold value is determined according to this estimated value, a threshold value suitable for the remaining time can be obtained, and the supply amount of code data can be adjusted more rationally.
【0067】図8に、請求項4の符号データ供給方式を
適用した符号データ送出装置および画像復元装置の実施
例構成を示す。図8において、符号データ送出装置は、
図7に示した符号データ送出装置の閾値テーブル252
に代えて、推定手段141に相当する推定値テーブル2
53を備えて構成されている。この推定値テーブル25
3は、残り時間に対応して、その残り時間内に処理可能
な符号データの量の推定値(階層数)を格納しており、
主制御部213からアクセス可能な構成となっている。FIG. 8 shows the configuration of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of claim 4 is applied. In FIG. 8, the code data transmission device is
Threshold table 252 of the code data transmission device shown in FIG.
Instead of the estimated value table 2 corresponding to the estimation means 141
It is provided with 53. This estimated value table 25
3 stores the estimated value (the number of layers) of the amount of code data that can be processed within the remaining time, corresponding to the remaining time.
The main control unit 213 is accessible.
【0068】また、画像復元装置は、図5に示した計量
手段111を備えて構成されており、符号データ送出装
置からの制御情報の通知要求に応じて、主制御部231
が、この計量手段111で得られた未処理の符号データ
の量(階層数)とタイマ235の残り時間とを含んだ制
御情報を作成し、通信処理部221を介して送出する構
成となっている。Further, the image restoration apparatus comprises the weighing means 111 shown in FIG. 5, and in response to a control information notification request from the code data transmission apparatus, the main control section 231.
However, the control information including the amount of unprocessed code data (the number of layers) obtained by the measuring means 111 and the remaining time of the timer 235 is created and transmitted via the communication processing unit 221. There is.
【0069】この場合に、符号データ送出装置の主制御
部213は、画像復元装置から通知された制御情報から
残り時間を抽出し、上述した推定値テーブル253を検
索して該当する推定値を得る。次に、主制御部213
は、閾値決定手段142として動作し、この推定値をそ
のままあるいは推定値よりも小さい値を新しい閾値と
し、ステップ306の閾値Thとして設定すればよい。In this case, the main control unit 213 of the coded data transmission device extracts the remaining time from the control information notified from the image restoration device, searches the above-mentioned estimated value table 253, and obtains the corresponding estimated value. .. Next, the main controller 213
Operates as the threshold value determination unit 142, and the estimated value may be set as it is or a value smaller than the estimated value as a new threshold value and set as the threshold value Th in step 306.
【0070】このようにして、時間の経過とともに、各
画像の復元処理に使用可能な残り時間で処理可能な程度
の符号データ量を示す閾値を用いて、符号データの送出
量を合理的に調整することができる。これにより、割当
て時間の経過後に符号バッファ103に残っている未処
理の符号データの量を最少化することが可能となり、画
像復元装置に符号データをよりよい効率で供給すること
ができる。In this way, the amount of code data to be transmitted is rationally adjusted by using the threshold value indicating the amount of code data that can be processed in the remaining time that can be used for the restoration process of each image as time passes. can do. This makes it possible to minimize the amount of unprocessed code data remaining in the code buffer 103 after the allotted time has elapsed, and the code data can be supplied to the image restoration device with better efficiency.
【0071】[0071]
【発明の効果】以上説明したように本発明は、符号バッ
ファに残っている未処理の符号データの量に応じて、復
元処理手段側への符号データの送出量を調整することに
より、復元処理手段側で未処理のまま捨てられる符号デ
ータの量を抑制することが可能となり、画像復元装置に
効率よく符号データを供給することができる。As described above, according to the present invention, the restoration processing is performed by adjusting the transmission amount of the code data to the restoration processing means side according to the amount of unprocessed code data remaining in the code buffer. It is possible to suppress the amount of code data that is discarded unprocessed on the means side, and the code data can be efficiently supplied to the image restoration device.
【0072】特に、復元処理手段が各画像の復元処理に
使用可能な残り時間に応じて、符号データの送出量の調
整のための閾値を変更することにより、タイマに設定さ
れた割当て時間が終了したときに、符号バッファに残っ
ている未処理の符号データの量を最少化することができ
る。In particular, the decompression processing means changes the threshold value for adjusting the transmission amount of code data according to the remaining time available for the decompression process of each image, so that the allocation time set in the timer ends. In this case, the amount of unprocessed code data remaining in the code buffer can be minimized.
【図1】請求項1および請求項2の符号データ供給方式
の構成を示す図である。FIG. 1 is a diagram showing a configuration of a code data supply system according to claim 1 and claim 2;
【図2】請求項3および請求項4の符号データ供給方式
の構成を示す図である。FIG. 2 is a diagram showing a configuration of a code data supply system according to claims 3 and 4;
【図3】請求項1の符号データ供給方式を適用した符号
データ送出装置および画像復元装置の実施例構成図であ
る。FIG. 3 is a configuration diagram of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of claim 1 is applied.
【図4】符号データ送出動作を表す流れ図である。FIG. 4 is a flowchart showing a code data transmission operation.
【図5】計量手段の別実施例構成図である。FIG. 5 is a block diagram of another embodiment of the weighing means.
【図6】請求項2の符号データ供給方式を適用した符号
データ送出装置および画像復元装置の実施例構成図であ
る。FIG. 6 is a block diagram of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of claim 2 is applied.
【図7】請求項3の符号データ供給方式を適用した符号
データ送出装置および画像復元装置の実施例構成図であ
る。FIG. 7 is a configuration diagram of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of claim 3 is applied.
【図8】請求項4の符号データ供給方式を適用した符号
データ送出装置および画像復元装置の実施例構成図であ
る。FIG. 8 is a block diagram of an embodiment of a code data transmission device and an image restoration device to which the code data supply system of claim 4 is applied.
101 蓄積手段 102 送出手段 103 符号バッファ 104 復元処理手段 111 計量手段 112 判定手段 113 送出制御手段 121 所要時間算出手段 122 比較手段 131 タイマ 132 閾値変更手段 141 推定手段 142 閾値決定手段 201 符号データ格納部 202 ファイル管理部 211 読出制御部 212,221 通信処理部 213,231 主制御部 222 復号部 223 逆量子化部 224 逆DCT変換部 225 累積加算部 226 表示制御部 227 CRTディスプレイ(CRT) 232,242,243 カウンタ 233 操作パネル 234 メモリ 235 タイマ 241 EOB検出部 251 所要時間テーブル 252 閾値テーブル 253 推定値テーブル 101 storage means 102 transmission means 103 code buffer 104 restoration processing means 111 weighing means 112 determination means 113 transmission control means 121 required time calculation means 122 comparison means 131 timer 132 threshold value change means 141 estimation means 142 threshold value determination means 201 coded data storage section 202 File management unit 211 Read control unit 212,221 Communication processing unit 213,231 Main control unit 222 Decoding unit 223 Dequantization unit 224 Inverse DCT conversion unit 225 Cumulative addition unit 226 Display control unit 227 CRT display (CRT) 232, 242, 242 243 counter 233 operation panel 234 memory 235 timer 241 EOB detector 251 required time table 252 threshold value table 253 estimated value table
───────────────────────────────────────────────────── フロントページの続き (72)発明者 森 雅博 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── --- Continuation of the front page (72) Inventor Masahiro Mori 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Fujitsu Limited
Claims (4)
得られた符号データを蓄積する蓄積手段(101)か
ら、送出手段(102)が符号バッファ(103)を介
して復元処理手段(104)に符号データを供給する際
の符号データ供給方式において、 前記符号バッファ(103)内に前記復元処理手段(1
04)による復元処理ずみでない符号データとして残っ
ている未処理の符号データの量を計る計量手段(11
1)と、 前記計量手段(111)で得られた未処理の符号データ
の量が所定の閾値を超えたか否かを判定する判定手段
(112)と、 前記判定手段(112)による判定結果に応じて、前記
送出手段(102)が一定時間に送出する符号データの
量を調整する送出制御手段(113)とを備えたことを
特徴とする符号データ供給方式。1. A storage means (101) for storing code data obtained by dividing an image into a plurality of layers and encoding the data, and a sending means (102) through a code buffer (103) to restore processing means (101). In the code data supply method for supplying code data to the code buffer (104), the restoration processing means (1) is provided in the code buffer (103).
04) to measure the amount of unprocessed code data remaining as code data that has not been restored.
1), a determination means (112) for determining whether or not the amount of unprocessed code data obtained by the measurement means (111) exceeds a predetermined threshold value, and a determination result by the determination means (112). Accordingly, the code data supply system is provided with a sending control means (113) for adjusting the amount of code data sent by the sending means (102) in a fixed time.
おいて、 判定手段(112)が、 計量手段(111)で得られた未処理の符号データの量
の復元処理の所要時間を求める所要時間算出手段(12
1)と、 前記所要時間とこの所要時間に対する所定の閾値とを比
較し、この比較結果を未処理の符号データの量が所定の
閾値を超えたか否かを示す判定結果として出力する比較
手段(122)とを備えた構成であることを特徴とする
符号データ供給方式。2. The code data supply system according to claim 1, wherein the determination unit (112) determines a time required to restore the unprocessed code data amount obtained by the weighing unit (111). Calculation means (12
1) and the required time and a predetermined threshold value for this required time are compared, and the comparison result is output as a determination result indicating whether or not the amount of unprocessed code data exceeds a predetermined threshold value ( 122), and a code data supply system.
おいて、 所定の時間が設定されており、この設定時間の経過に応
じて、復元処理手段(104)に対して1画像の復元処
理の終了を指示し、次の画像の復元処理の開始を指示す
るタイマ(131)と、 前記タイマ(131)に設定された時間の残り時間に基
づいて、判定手段(112)が未処理の符号データの量
の判定に用いる閾値の値を変更する閾値変更手段(13
2)とを備えたことを特徴とする符号データ供給方式。3. The coded data supply method according to claim 1, wherein a predetermined time is set, and the restoration processing means (104) performs restoration processing of one image according to the lapse of the set time. On the basis of the timer (131) that gives an instruction to end and the instruction to start the restoration processing of the next image, and the determination means (112) uses the unprocessed code data based on the remaining time set in the timer (131). Threshold changing means (13) for changing the value of the threshold used to determine the amount of
2) A code data supply system characterized by comprising:
おいて、 閾値変更手段(132)が、 タイマ(131)に設定された時間の残り時間からこの
残り時間内に復元処理手段(104)が復元処理可能な
符号データの量を推定する推定手段(141)と、 前記推定手段(141)で得られた推定値に応じて閾値
の値を決定する閾値決定手段(142)とを備えた構成
であることを特徴とする符号データ供給方式。4. The code data supply system according to claim 3, wherein the threshold value changing means (132) is configured such that the restoration processing means (104) within the remaining time from the remaining time set in the timer (131). A configuration including an estimation unit (141) that estimates the amount of code data that can be restored, and a threshold determination unit (142) that determines a threshold value according to the estimated value obtained by the estimation unit (141). A code data supply method characterized by the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4277592A JPH05244426A (en) | 1992-02-28 | 1992-02-28 | Code data supply system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4277592A JPH05244426A (en) | 1992-02-28 | 1992-02-28 | Code data supply system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05244426A true JPH05244426A (en) | 1993-09-21 |
Family
ID=12645346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4277592A Withdrawn JPH05244426A (en) | 1992-02-28 | 1992-02-28 | Code data supply system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05244426A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9374594B2 (en) | 2014-06-11 | 2016-06-21 | Brother Kogyo Kabushiki Kaisha | Converting apparatus |
CN114503089A (en) * | 2019-12-05 | 2022-05-13 | 奥林巴斯株式会社 | Data transfer device and data transfer method |
-
1992
- 1992-02-28 JP JP4277592A patent/JPH05244426A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9374594B2 (en) | 2014-06-11 | 2016-06-21 | Brother Kogyo Kabushiki Kaisha | Converting apparatus |
CN114503089A (en) * | 2019-12-05 | 2022-05-13 | 奥林巴斯株式会社 | Data transfer device and data transfer method |
CN114503089B (en) * | 2019-12-05 | 2024-05-14 | 奥林巴斯株式会社 | Data transfer device and data transfer method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6008848A (en) | Video compression using multiple computing agents | |
US5699457A (en) | Image compression coder having improved bit rate control and block allocation | |
EP0762775B1 (en) | Device and method for compressing image data | |
JPH0595536A (en) | High efficiency coded signal processor | |
JPH07184196A (en) | Picture coder | |
JPH08237657A (en) | Moving picture coding apparatus, moving picture transmission apparatus, and video conference apparatus | |
JPH11127355A (en) | Device and method for encoding image and recording medium recording image encoding program | |
US5594554A (en) | Image compression coder having improved scale factor control | |
US20020135695A1 (en) | Video data reduction by selected frame elimination | |
JP3872849B2 (en) | Video encoding device | |
US6580755B1 (en) | Apparatus and method for encoding | |
KR100266338B1 (en) | Moving picture compression unit and method | |
JP3185763B2 (en) | Video encoding device | |
JPH05244426A (en) | Code data supply system | |
EP0917372A2 (en) | Method and apparatus for selecting a quantization table for encoding a digital image | |
KR100248190B1 (en) | Image Compressor and Method | |
JPH05244423A (en) | Code data supply method and code data transmission device | |
JPH06121171A (en) | Picture encoder | |
US20020106021A1 (en) | Method and apparatus for reducing the amount of computation of the video images motion estimation | |
JPH0795579A (en) | Image data compression method and apparatus thereof | |
KR0166719B1 (en) | Image encoding apparatus and method for digital camera | |
JPH0334690A (en) | Picture encoding system | |
JP2788351B2 (en) | Image data supply processing method | |
JP2877538B2 (en) | Image data supply processing method and image data restoration processing method | |
JPH0487471A (en) | Picture processing unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990518 |