JP4781816B2 - Image coding apparatus and image coding method - Google Patents
Image coding apparatus and image coding method Download PDFInfo
- Publication number
- JP4781816B2 JP4781816B2 JP2005379640A JP2005379640A JP4781816B2 JP 4781816 B2 JP4781816 B2 JP 4781816B2 JP 2005379640 A JP2005379640 A JP 2005379640A JP 2005379640 A JP2005379640 A JP 2005379640A JP 4781816 B2 JP4781816 B2 JP 4781816B2
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- image
- code amount
- unit
- image encoding
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
本発明は、監視カメラ等に利用される画像符号化装置および画像符号化方法に関する。 The present invention relates to an image encoding device and an image encoding method used for a surveillance camera or the like.
従来から、監視領域を撮像し、撮像データを動画像または静止画像として符号化して通信回線を介して、モニターや画像蓄積装置に送信するカメラ制御装置が知られている(例えば、特許文献1参照)。このカメラ制御装置では、通常は動画像によるモニタリングを行ない、画像中に何らかの変化が生じた場合には、動画像に合わせて静止画像を送信することができる。
しかしながら、従来のカメラ制御装置においては、動画像符号化処理と静止画像符号化処理が排他的に実行され、互いの処理負荷を考慮せずに実行される場合、局所的に処理負荷が増大してしまい、いずれかの処理に十分な実行時間が与えられず、局所的な駒落ち増大が発生してしまうという事情がある。また、複数の処理を排他的に実行する方式としてタイムシェアリング方式が知られているが、この方式では通信回線への各符号化処理のデータ生成量を考慮していないため、特に動画像符号化データを伝送する場合にデータ伝送量の不均衡が発生してしまうという事情がある。 However, in the conventional camera control device, when the moving image encoding process and the still image encoding process are executed exclusively and are executed without considering each other's processing load, the processing load increases locally. As a result, there is a situation in which a sufficient execution time is not given to any of the processes and a local increase in dropped frames occurs. In addition, a time sharing method is known as a method for exclusively executing a plurality of processes. However, since this method does not consider the data generation amount of each encoding process to a communication line, a video code There is a situation in which an imbalance in the amount of data transmission occurs when digitized data is transmitted.
本発明は、上記の事情を鑑みてなされたものであって、複数の符号化手段によるデータ符号化を排他的に行う場合に、データ伝送量の不均衡を発生させずに符号化データを伝送することが可能な画像符号化装置、画像符号化方法、画像符号化方法を実行させるためのプログラムおよび画像符号化方法を実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供することを目的とする。 The present invention has been made in view of the above circumstances, and transmits encoded data without causing an imbalance in the amount of data transmission when data encoding by a plurality of encoding units is performed exclusively. Image encoding apparatus, image encoding method, program for executing image encoding method, and computer-readable recording medium on which program for executing image encoding method is recorded Objective.
上記目的を達成するために、本発明の画像符号化装置は、画像を符号化する複数の符号化処理を排他的に実行する画像符号化装置であって、前記符号化処理を実行する複数の画像符号化部と、前記複数の画像符号化部による符号化処理のうち、少なくとも1つの画像符号化部によって符号化された画像の生成符号量を監視する符号量監視部と、前記生成符号量が前記複数の画像符号化部の実行割合に応じて設定される目標符号量に近づくように前記少なくとも1つの画像符号化部を制御するとともに、前記生成符号量が前記目標符号量を超過した場合には、符号化処理を実行する画像符号化部を、前記符号量監視部によって監視されていた画像符号化部から他の画像符号化部へ変更する符号化制御部とを有する構成としている。 To achieve the above object, the picture coding apparatus of the present invention is an image encoding device for exclusively executing a plurality of encoding process of encoding an image, a plurality of executing the encoding process An image encoding unit, a code amount monitoring unit that monitors a generated code amount of an image encoded by at least one image encoding unit among the encoding processes by the plurality of image encoding units, and the generated code amount When the at least one image encoding unit is controlled to approach a target code amount set according to the execution ratio of the plurality of image encoding units, and the generated code amount exceeds the target code amount In this configuration, the image encoding unit that executes the encoding process includes an encoding control unit that changes the image encoding unit monitored by the code amount monitoring unit to another image encoding unit.
この構成により、例えば動画像符号化と静止画像符号化のような複数の符号化手段によるデータ符号化を排他的に行う場合に、データ伝送量の不均衡を発生させずに符号化データを通信回線に伝送することが可能である。 With this configuration, when data encoding by a plurality of encoding means such as moving image encoding and still image encoding is performed exclusively , encoded data can be communicated without causing an imbalance in the amount of data transmission. It can be transmitted to the line.
また、本発明の画像符号化装置は、前記符号化制御部が、量子化パラメータおよび符号化タイプの少なくとも一方を制御する構成としている。 In the image encoding device of the present invention, the encoding control unit controls at least one of a quantization parameter and an encoding type .
この構成により、符号化処理による発生符号量の調整を行うことができるので、複数の符号化処理を排他的に行いながら安定した符号化データ量を通信回線に伝送することができる。また、符号化処理による符号化効率の調整を行うことができるので、結果として発生符号量を調整することができ、複数の符号化処理を排他的に行いながら安定した符号化データ量を通信回線に伝送することができる。 With this configuration, the amount of generated code can be adjusted by the encoding process, so that a stable encoded data amount can be transmitted to the communication line while performing a plurality of encoding processes exclusively. In addition, since the encoding efficiency can be adjusted by the encoding process, the generated code amount can be adjusted as a result, and a stable encoded data amount can be obtained while exclusively performing a plurality of encoding processes. Can be transmitted .
本発明は、複数の符号化手段によるデータ符号化を排他的に行う場合に、データ伝送量の不均衡を発生させずに符号化データを伝送することが可能な画像符号化装置、画像符号化方法、画像符号化方法を実行させるためのプログラムを提供することができる。 The present invention relates to an image encoding device and an image encoding device capable of transmitting encoded data without causing an imbalance in data transmission amount when data encoding by a plurality of encoding units is performed exclusively . A program for executing the method and the image encoding method can be provided.
以下、本発明の実施形態について、図面を用いて説明する。
(実施形態)
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(Embodiment)
図1は、本発明の実施形態における画像符号化装置100の構成を示すブロック図である。図1において、画像符号化装置100は、撮像部101、画像入力部102、動画像符号化部103、静止画像符号化部104、送信部105、符号化制御部106を有する。ここで、動画像符号化部103、静止画像符号化部104は画像符号化部の一例である。また、符号化制御部106は符号監視部、符号化制御部の一例である。
FIG. 1 is a block diagram illustrating a configuration of an
撮像部101は、被写体像を撮影する。なお、撮像部101は、CCD(Charge Coupled Devices)またはCMOS(Complementary Metal Oxide Semiconductor)センサー等からなる撮像素子、撮像素子に入力された信号をデジタル画像データに変換するA/D変換器等を有している。画像入力部102は、一時的に画像データを保存するRAM(Random Access Memory)等のバッファを有しており、撮像部101からの画像データの取り込みと、後段(動画像符号化部103および静止画像符号化部104)への画像データ出力を並行して行なう。
The
動画像符号化部103は、画像を入力し動画像画像符号化を行い、符号化データを生成し、符号化データを送信部105へ出力する。なお、動画像画像符号化処理方式の例としては、H.261、H.263、H.264、MPEG−1、MPEG−2、MPEG−4等が挙げられる。静止画像符号化部104は、画像を入力し静止画像符号化を行い、符号化データを生成し、送信部105へ出力する。静止画像符号化には、例えばDCT(離散コサイン変換)演算処理が使用される。なお、静止画像符号化処理方式の例としては、JPEG、JPEG2000等が挙げられる。
The moving
送信部105は、動画像符号化部103または静止画像符号化部104で生成された符号化データを一時的に保存する送信バッファを有し、無線または有線の通信回線107に送信する。符号化制御部106は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM、タイマ等を有する。また、符号化制御部106は、動画像符号化部103の動画像符号化処理の符号化パラメータ及び符号化実行を制御し、静止画像符号化部104の静止画像符号化処理の符号化パラメータ及び符号化実行を制御し、送信部105の送信制御を行なう。
The
以上のように構成された画像符号化装置の動作について、図2を用いて説明する。図2は本発明の実施形態における画像符号化装置100の動作フロー図である。
The operation of the image coding apparatus configured as described above will be described with reference to FIG. FIG. 2 is an operation flowchart of the
まず、撮像部101で被写体の撮影が行われ(ステップS201)、画像データに変換されて(ステップS202)画像入力部102に入力される。画像入力部102に入力された画像データは動画像符号化部103と静止画像符号化部104にそれぞれ入力される。動画像符号化部103と静止画像符号化部104は符号化制御部106により制御され、動画像符号化部103では入力した画像が動画像符号化され、符号化データが生成される(ステップS203)。静止画像符号化部104では入力した画像が静止画像符号化され、符号化データが生成される(ステップS204)。送信部105は動画像符号化部103で生成された符号化データ及び静止画像符号化部104で生成された符号化データをそれぞれ通信回線107へ送信する(ステップS205)。
First, the subject is photographed by the imaging unit 101 (step S201), converted into image data (step S202), and input to the image input unit. The image data input to the
続いて、図3のフロー図を用いて、符号化制御部106が行う動画像符号化部103および静止画像符号化部104の制御について説明する。図3は本発明の実施形態における動画像符号化部103と静止画像符号化部104を並行して実行し、動画像符号化部103は静止画像符号化部104よりも実行優先度が高く動作するよう符号化制御部106が制御する場合の画像符号化装置100の動作フロー図である。
Next, control of the moving
まず、通信回線107に送出可能な単位時間あたり出力符号量(=伝送レート)、画像入力部102から動画像符号化部103に入力される画像の解像度や入力間隔、画像符号化装置100の外部または画像符号化装置100の内部からCPUを経由して指示される各種設定(例えば画質設定など)、動画像符号化部103と静止画像符号化部104の実行割合設定、動画像符号化部103および静止画像符号化部104によってこれまでに生成された符号量の傾向などをもとに、符号化制御部106は総合的に判断して動画像符号化部103が1フレームあたりに生成する目標符号量を決定する(ステップS301)。
First, the output code amount (= transmission rate) per unit time that can be sent to the
尚、動画像符号化部103の実行割合を減少させ静止画像符号化部104の実行割合を増加させる場合には目標符号量は増加させるよう調整される。それに対して、動画像符号化部103の実行割合を増加させ静止画像符号化部104の実行割合を減少させる場合には目標符号量は減少させるよう調整される。
Note that when the execution rate of the moving
次に、符号化制御部106は画像入力部102で受け取った1フレーム分の画像データを動画像符号化部103に入力できるタイミングで動画像符号化部103を動作させる。このタイミングはあらかじめ設定されている。この時、動画像符号化部103が生成する符号量は符号化制御部106によって逐次監視されており、1つの画像あたりの生成符号量が目標符号量に近づくよう、1フレーム以下のある単位(例えばマクロブロックやブロックライン)でも量子化パラメータや符号化タイプを制御する(ステップS302)。
Next, the
なお、量子化パラメータは生成符号量と画質を調整するためのパラメータであり、一般的には、量子化パラメータを下げることで生成符号量は増加すると共に量子化歪みが減るために画質は向上し、量子化パラメータを上げることで生成符号量は減少すると共に量子化歪みが増えるため画質は低下するとされている。 Note that the quantization parameter is a parameter for adjusting the amount of generated code and the image quality. Generally, the amount of generated code increases and the image quality improves because the amount of generated code decreases and the quantization distortion decreases. By increasing the quantization parameter, the generated code amount is reduced and the quantization distortion is increased, so that the image quality is lowered.
また、符号化タイプは符号化の効率を調整するためのパラメータであり、既にインター符号化(=フレーム間符号化)を前の画像で行なっていた場合、一般的には符号化タイプをイントラ符号化(=フレーム内符号化)とすることで生成符号量は増加すると共に予測誤差が解消されるため画質は向上し、インター符号化とすることでは生成符号量は大きな変化は無く、予測誤差が解消されず蓄積するため画質は低下もしくは大きな変化は無いとされている。 The coding type is a parameter for adjusting the coding efficiency. When inter coding (= inter-frame coding) has already been performed on the previous image, generally, the coding type is set to intra code. (= Intra-frame coding) increases the generated code amount and eliminates the prediction error, so that the image quality is improved. By using inter coding, the generated code amount does not change greatly, and the prediction error does not change. It is said that the image quality is not lowered or greatly changed because it is accumulated without being solved.
続いて、符号化処理部106は動画像符号化部103が1フレームの符号化処理を終えたところで動画像符号化部103の動作は一旦待機させ、これまでの生成符号量と今回のフレームの生成符号量から単位時間あたりの生成符号量(=生成レート)を算出し(ステップS303)、目標符号量とを比較する(ステップS304)。
Subsequently, when the moving
ここで生成レートが目標符号量を下回る場合には、画像入力部102が受け取った次のフレームの画像データを動画像符号化部103に入力できるタイミングで符号化制御部106は動画像符号化部103を再び動作させ、ステップS302以降の処理を繰返し行なう。また、生成レートが目標符号量を上回る場合には、符号化制御部106は次フレームの動画像符号化処理の実行を行わず、静止画像符号化部104に対して符号化パラメータを設定して動作させる(ステップS305)。
Here, when the generation rate is lower than the target code amount , the
なお、静止画像符号化処理の実行は、画像入力部102が受け取ったフレームの画像データを動画像符号化部103に入力できる次のタイミングまでとして、画像入力部102が受け取ったフレームの画像データを動画像符号化部103に入力できるタイミングに到達した際には、静止画像符号化処理を一旦停止させ、経過時間に応じて再度生成レートを算出し(ステップS306)、ステップS304以降の処理を引続き行う。
The still image encoding process is executed until the next timing when the image data of the frame received by the
次に、複数の符号化手段の一例として、MPEG−4およびJPEGの2つを用いる場合の実行に関して説明する。
図4は、MPEG−4処理とJPEG処理が時間軸上で排他的に実行されることを想定した図である。
Next, execution in the case of using MPEG-4 and JPEG as an example of a plurality of encoding means will be described.
FIG. 4 is a diagram assuming that MPEG-4 processing and JPEG processing are executed exclusively on the time axis.
直線401は動画像符号化部103によるMEPG−4符号化を実行する時間帯を示している。直線402は静止画像符号化部104によるJPEG符号化を実行する時間帯を示している。図4では、MPEG−4の符号化処理の実行中にJPEGの符号化処理が行われるように符号化制御部106によって制御されており、MPEG−4符号化処理時間が5に対してJPEG符号化処理時間が1の割合で符号化処理を行っている。また、図4〜6ではMPEG−4の符号化処理がJPEGの符号化処理よりも実行優先度が高く動作するよう符号化制御部106によって制御されている。
A
ここで図5のように、従来の画像符号化装置では、動画像符号化部103によって生成される単位時間あたりの符号化データ量502と送信部105が有する送信バッファから通信回線107へ送出される送信データ量とが等しくなるようにされている。図5は従来のMPEG−4およびJPEGの実行時にタイムシェアリング方式が用いられた場合の発生符号量、送信バッファ量を示した図である。
Here, as shown in FIG. 5, in the conventional image encoding apparatus, the encoded data amount 502 per unit time generated by the moving
MPEG−4の符号化処理が行われる時間帯には、符号化データ量502と通信回線107への送信データ量とが等しいため、送信バッファの残留量501はバッファ残留量に関する所定の閾値を示す駒落とし閾値503よりも少ない範囲で一定である。一方、静止画像符号化部104による静止画像符号化が行われるときには、通信回線107にコンスタントに動画像符号化データを送出しようとしてもMPEG−4の符号が発生しないために、一時的に送信バッファが空になることで(例えば、A点参照)、送信可能な動画像符号化データが存在しない状態(アンダーフロー)が発生する場合がある。
Since the encoded data amount 502 is equal to the transmission data amount to the
そこで本実施形態では、図6に示すように、符号化制御部106によって量子化係数や符号化タイプを調整することで、意図的に図5のようなMPEG−4の通常の発生符号量602よりも多い発生符号量603で符号を発生させる。図6は本発明の実施形態におけるMPEG−4およびJPEGの実行時の発生符号量、送信バッファ量を示した図である。
Therefore, in the present embodiment, as shown in FIG. 6, the
この場合、通信回線107へは毎時間所定量のビットレートでMPEG−4の符号量が送出されるため、いくらかのMPEG−4の符号は送信バッファに残留する。送信バッファの残留量601が駒落とし閾値604を超過した場合、次のフレームはMPEG−4符号化処理を行わないと判断し、このMPEG−4符号化処理を行わない期間は、JPEG符号化処理を行う。尚、MPEG−4の処理を行わないことで、送信バッファ残留量601は低減され(例えば、図6中のB点参照)、その次のフレーム以降はMPEG−4の処理が実行可能と判断される。このようにすることで、送信バッファや通信回線107をより有効に活用することが可能となる。
In this case, since the MPEG-4 code amount is transmitted to the
次に、図7、図8を用いて、従来および本発明の実施形態における複数の符号化手段による符号化実行時の動作について説明する。 Next, with reference to FIG. 7 and FIG. 8, the operation at the time of encoding execution by a plurality of encoding means in the conventional and the embodiments of the present invention will be described.
まず、図7は従来のMPEG−4およびJPEGの実行時の符号化制御部の動作説明のための動作フロー図である。あらかじめMPEG−4を連続でどのくらいのフレームを実行するかを決めておく。符号化制御部は1フレーム分のMPEG−4画像データの入力完了割込等で起動され、MPEG−4を連続で何フレーム実行したかを判定する(ステップS701)。連続フレーム実行数が所定の回数に達していれば符号化処理部はJPEG符号化処理を実行し(ステップS702)、連続フレーム実行数が所定の回数に達していなければ符号化処理部106はMPEG−4符号化処理を実行する(ステップS703)。
First, FIG. 7 is an operation flowchart for explaining the operation of the encoding control unit when executing conventional MPEG-4 and JPEG. It is determined in advance how many frames are to be continuously executed in MPEG-4. The encoding control unit is activated by an input completion interrupt or the like of one frame of MPEG-4 image data, and determines how many frames of MPEG-4 have been executed continuously (step S701). If the continuous frame execution number has reached the predetermined number of times, the encoding processing unit executes JPEG encoding processing (step S702). If the continuous frame execution number has not reached the predetermined number of times, the
一方、図8は本発明の実施形態におけるMPEG−4およびJPEGの実行時の符号化制御部106の動作説明のための動作フロー図である。符号化制御部106は1フレーム分のMPEG−4画像データの入力完了割込等で起動され、MPEG−4の送信バッファ残留量601がある駒落とし閾値604を超過しているかどうか判定する(ステップS801)。MPEG−4の送信バッファ残留量601が駒落とし閾値604を超過している場合、符号化制御部106はJPEG符号化処理を実行する(ステップS802)。MPEG−4の送信バッファ残留量601が駒落とし閾値604を超過していない場合、符号化制御部106は量子化係数またはイントラ符号化/インター符号化の割合を調整してMPEG−4符号化処理を実行し(ステップS803)、送信バッファ残留量601を更新する(ステップS804)。
On the other hand, FIG. 8 is an operation flowchart for explaining the operation of the
このような本発明の実施形態の画像符号化装置100によれば、画像を符号化する複数の符号化処理を排他的に実行する画像符号化装置100であって、複数の符号化処理を実行する動画像符号化部103および静止画像符号化部104と、動画像符号化部103および静止画像符号化部104による複数の符号化処理のうち、動画像符号化部103によって実施された符号化処理によって符号化された画像の符号量を監視する符号量監視部と、符号量監視部による監視の結果、符号量があらかじめ定められた一定量を超過した場合、符号化処理の実行の対象を符号量監視部によって監視されていた動画像符号化部103から静止画像符号化部104へ変更する符号化制御部106とを有する構成とすることで、動画像符号化と静止画像符号化のような複数の符号化手段によるデータ符号化を排他的に行う場合に、データ伝送量の不均衡を発生させずに符号化データを通信回線に伝送することが可能である。
According to such an
なお、本発明の実施形態の画像符号化装置100は、動画像符号化処理及び静止画像符号化処理により生成される符号化データを通信回線107を介して外部に送信することを前提としていたが、符号化部(動画像符号化部103もしくは静止画像符号化部104)の内部または外部の記録媒体に蓄積するようにする構成であってもよい。
The
また、本発明の実施形態の画像符号化装置100は、複数の画像符号化手段は動画像符号化部103と静止画像符号化部104であることを前提に説明したが、いずれの符号化手段も共に動画像符号化部103もしくは静止画符号化部104であったとしても、同様の効果を有する。
The
また、動画像符号化処理としてMPEG−4を想定し、静止画像符号化処理としてJPEGを想定したが、もちろん動画像符号化処理および静止画像符号化処理としてこれ以外の符号化処理を実施したとしても、同様の効果を有する。 In addition, MPEG-4 is assumed as the moving image encoding process, and JPEG is assumed as the still image encoding process. Of course, other encoding processes are performed as the moving image encoding process and the still image encoding process. Has the same effect.
以上のように、本発明にかかる画像符号化装置は、複数の符号化手段によるデータ符号化を排他的に行う場合に、データ伝送量の不均衡を発生させずに符号化データを伝送することができる、また、動画像符号化と静止画像符号化を排他的に行なう場合に、動画像符号化処理と静止画像符号化処理のそれぞれの符号化パラメータを制御し符号化処理の生成符号量及び実行タイミングを制御することで、動画像符号化処理と静止画像符号化処理を排他的に行いながら安定した動画像符号化データ量を通信回線に伝送することができる監視カメラ等に利用される画像符号化装置等として有用である。 As described above, the image encoding apparatus according to the present invention transmits encoded data without causing an imbalance in data transmission amount when data encoding by a plurality of encoding units is performed exclusively. In addition, when moving picture coding and still picture coding are performed exclusively, the respective encoding parameters of the moving picture coding process and still picture coding process are controlled, and the generated code amount of the coding process and An image used for a surveillance camera or the like that can transmit a stable amount of moving image encoded data to a communication line while exclusively performing moving image encoding processing and still image encoding processing by controlling execution timing This is useful as an encoding device or the like.
100 画像符号化装置
101 撮像部
102 画像入力部
103 動画像符号化部
104 静止画像符号化部
105 送信部
106 符号化制御部
107 通信回線
DESCRIPTION OF
Claims (10)
前記符号化処理を実行する複数の画像符号化部と、
前記複数の画像符号化部による符号化処理のうち、少なくとも1つの画像符号化部によって符号化された画像の生成符号量を監視する符号量監視部と、
前記生成符号量が前記複数の画像符号化部の実行割合に応じて設定される目標符号量に近づくように前記少なくとも1つの画像符号化部を制御するとともに、前記生成符号量が前記目標符号量を超過した場合には、符号化処理を実行する画像符号化部を、前記符号量監視部によって監視されていた画像符号化部から他の画像符号化部へ変更する符号化制御部と
を有する画像符号化装置。 An image encoding device that exclusively executes a plurality of encoding processes for encoding an image,
A plurality of image encoding unit for executing the coding process,
A code amount monitoring unit that monitors a generated code amount of an image encoded by at least one image encoding unit among the encoding processes by the plurality of image encoding units;
The at least one image encoding unit is controlled so that the generated code amount approaches a target code amount set according to an execution ratio of the plurality of image encoding units, and the generated code amount is the target code amount. An image encoding unit that executes an encoding process when the code amount is exceeded, an encoding control unit that changes the image encoding unit monitored by the code amount monitoring unit to another image encoding unit. Image encoding device.
前記符号化処理を実行する複数の画像符号化部と、
前記複数の画像符号化部による符号化処理のうち、少なくとも1つの画像符号化部によって符号化された画像を保持する前記バッファのバッファ残留量を監視する符号量監視部と、
前記バッファ残留量が駒落とし閾値に近づくように前記少なくとも1つの画像符号化部を制御するとともに、前記バッファ残留量が前記駒落とし閾値を超過した場合には、符号化処理を実行する画像符号化部を、前記符号量監視部によって監視されていた画像符号化部から他の画像符号化部へ変更する符号化制御部と
を有する画像符号化装置。 An image encoding apparatus that exclusively executes a plurality of encoding processes for encoding an image and transmits encoded data via a buffer,
A plurality of image encoding units for performing the encoding process;
A code amount monitoring unit that monitors a buffer residual amount of the buffer that holds an image encoded by at least one image encoding unit among the encoding processes by the plurality of image encoding units;
Image encoding for controlling the at least one image encoding unit so that the buffer residual amount approaches the frame drop threshold value, and executing an encoding process when the buffer residual amount exceeds the frame drop threshold value A coding control unit that changes the image coding unit monitored by the code amount monitoring unit to another image coding unit;
An image encoding device having:
前記複数の画像符号化部は、動画像符号化部および静止画像符号化部を含む
画像符号化装置。 The image encoding device according to claim 1 , wherein:
The plurality of image encoding units are image encoding devices including a moving image encoding unit and a still image encoding unit .
前記符号化制御部は、量子化パラメータおよび符号化タイプの少なくとも一方を制御する
画像符号化装置。 The image encoding device according to any one of claims 1 to 3 ,
The image encoding device, wherein the encoding control unit controls at least one of a quantization parameter and an encoding type .
前記複数の符号化処理のうち、少なくとも1つの符号化処理において符号化された画像の生成符号量を監視する符号量監視ステップと、
前記生成符号量が前記複数の符号化処理の実行割合に応じて設定される目標符号量に近づくように前記少なくとも1つの符号化処理を制御するとともに、前記生成符号量が前記目標符号量を超過した場合には、実行される符号化処理を、前記生成符号量が監視されていた符号化処理から他の符号化処理へ変更するステップと
を有する画像符号化方法。 An image encoding method for exclusively executing a plurality of encoding processes for encoding an image,
A code amount monitoring step of monitoring a generated code amount of an image encoded in at least one of the plurality of encoding processes;
The at least one encoding process is controlled so that the generated code amount approaches a target code amount set according to an execution ratio of the plurality of encoding processes, and the generated code amount exceeds the target code amount In such a case, the image encoding method includes a step of changing the encoding process to be executed from the encoding process in which the generated code amount is monitored to another encoding process.
前記複数の符号化処理のうち、少なくとも1つの符号化処理において符号化された画像を保持する前記バッファのバッファ残留量を監視する符号量監視ステップと、
前記バッファ残留量が駒落とし閾値に近づくように前記少なくとも1つの符号化処理を制御するとともに、前記バッファ残留量が前記駒落とし閾値を超過した場合には、実行される符号化処理を、前記バッファ残留量が監視されていた符号化処理から他の符号化処理へ変更するステップと
を有する画像符号化方法。 An image encoding method for exclusively executing a plurality of encoding processes for encoding an image and transmitting encoded data via a buffer,
A code amount monitoring step of monitoring a buffer residual amount of the buffer that holds an image encoded in at least one of the plurality of encoding processes; and
The at least one encoding process is controlled so that the buffer residual amount approaches the frame drop threshold, and when the buffer residual amount exceeds the frame drop threshold, the encoding process to be executed Changing from the encoding process whose residual amount was monitored to another encoding process;
An image encoding method comprising:
前記複数の符号化処理は、動画像符号化処理および静止画像符号化処理を含む
画像符号化方法。 The image encoding method according to claim 5 or 6 , comprising:
The plurality of encoding processes is an image encoding method including a moving image encoding process and a still image encoding process.
前記符号化処理における量子化パラメータおよび符号化タイプの少なくとも一方を制御するステップを有する
画像符号化方法。 The image encoding method according to any one of claims 5 to 7 , comprising:
An image encoding method comprising a step of controlling at least one of a quantization parameter and an encoding type in the encoding process.
前記複数の符号化処理を実行する画像符号化手段と、
前記複数の符号化処理のうち、少なくとも1つの符号化処理によって符号化された画像の生成符号量を監視する符号量監視手段と、
前記生成符号量が前記複数の符号化処理の実行割合に応じて設定される目標符号量に近づくように前記少なくとも1つの符号化処理を制御するとともに、前記生成符号量が前記目標符号量を超過した場合には、実行される符号化処理を、前記符号量監視手段によって監視されていた符号化処理から他の符号化処理へ変更する符号化制御手段と
して機能させるためのプログラム。 A computer, a plurality of encoding process of encoding an image comprising a program for executing exclusively, the computer,
Image encoding means for executing the plurality of encoding processes;
Code amount monitoring means for monitoring a generated code amount of an image encoded by at least one of the plurality of encoding processes;
The at least one encoding process is controlled so that the generated code amount approaches a target code amount set according to an execution ratio of the plurality of encoding processes, and the generated code amount exceeds the target code amount If so, an encoding control means for changing the encoding process to be executed from the encoding process monitored by the code amount monitoring means to another encoding process;
Program to make it function .
前記複数の符号化処理を実行する画像符号化手段と、
前記複数の符号化処理のうち、少なくとも1つの符号化処理によって符号化された画像を保持する前記バッファのバッファ残留量を監視する符号量監視手段と、
前記バッファの残留量が駒落とし閾値に近づくように前記少なくとも1つの符号化処理を制御するとともに、前記バッファの残留量が前記駒落とし閾値を超過した場合には、実行される符号化処理を、前記符号量監視手段によって監視されていた符号化処理から他の符号化処理へ変更する符号化制御手段と
して機能させるためのプログラム。 A program for causing a computer to exclusively execute a plurality of encoding processes for encoding an image and transmitting encoded data via a buffer, the computer comprising:
Image encoding means for executing the plurality of encoding processes;
Code amount monitoring means for monitoring a buffer residual amount of the buffer that holds an image encoded by at least one of the plurality of encoding processes; and
The at least one encoding process is controlled so that the residual amount of the buffer approaches the frame drop threshold, and when the residual amount of the buffer exceeds the frame drop threshold, the encoding process to be executed is Encoding control means for changing from the encoding process monitored by the code amount monitoring means to another encoding process;
Program to make it function .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005379640A JP4781816B2 (en) | 2005-12-28 | 2005-12-28 | Image coding apparatus and image coding method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005379640A JP4781816B2 (en) | 2005-12-28 | 2005-12-28 | Image coding apparatus and image coding method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007181101A JP2007181101A (en) | 2007-07-12 |
| JP4781816B2 true JP4781816B2 (en) | 2011-09-28 |
Family
ID=38305756
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005379640A Expired - Fee Related JP4781816B2 (en) | 2005-12-28 | 2005-12-28 | Image coding apparatus and image coding method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4781816B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5989969B2 (en) * | 2011-04-15 | 2016-09-07 | キヤノン株式会社 | Encoding apparatus and control method of encoding apparatus |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001028755A (en) * | 1999-07-13 | 2001-01-30 | Matsushita Electric Ind Co Ltd | Image encoding apparatus and image encoding method |
| JP2003163914A (en) * | 2001-11-26 | 2003-06-06 | Kubota Corp | Monitoring system and image transmission unit |
| JP4042597B2 (en) * | 2002-03-28 | 2008-02-06 | ソニー株式会社 | Image encoding apparatus and method, program, and recording medium |
| JP4243472B2 (en) * | 2002-11-11 | 2009-03-25 | 財団法人エヌエイチケイエンジニアリングサービス | Image coding apparatus, image coding method, and image coding program |
| JP4268511B2 (en) * | 2003-12-05 | 2009-05-27 | 株式会社日立国際電気 | Image transmission device |
| JP4104577B2 (en) * | 2004-05-21 | 2008-06-18 | 三菱電機株式会社 | Image transmission apparatus, image transmission method, transmission system, and video surveillance system |
-
2005
- 2005-12-28 JP JP2005379640A patent/JP4781816B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007181101A (en) | 2007-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20120195356A1 (en) | Resource usage control for real time video encoding | |
| JP5995583B2 (en) | Image encoding device, image decoding device, image encoding method, image decoding method, and program | |
| WO2011013349A1 (en) | Video data processing device and video data processing system | |
| JP2004200989A (en) | Imaging apparatus and supervisory system | |
| WO2009139123A1 (en) | Image processor and imaging device using the same | |
| CN101953151A (en) | Imaging device, imaging method and program | |
| EP3379820B1 (en) | Controller, video camera, and method for controlling a video camera | |
| JP2016021731A (en) | Image capturing apparatus, method for controlling the same, and program | |
| JP2012010263A (en) | Encoding device, imaging device, encoding/transmitting system and encoding method | |
| KR20140124497A (en) | Monitoring camera system for transmitting image of which picture quality is varied adpatively based event | |
| US8488892B2 (en) | Image encoder and camera system | |
| JP4781816B2 (en) | Image coding apparatus and image coding method | |
| JP2009124518A (en) | Image transmission device | |
| JP2006108869A (en) | Imaging device, decoding device | |
| CN118158429B (en) | Video failover recording | |
| CN104041037B (en) | Dynamic image encoding method, device | |
| JP6182888B2 (en) | Image encoding device | |
| JP2009284149A (en) | Image encoding processing apparatus | |
| JP2011182284A (en) | Image encoding apparatus, image encoding/decoding system, image encoding method, and image display method | |
| JP4769392B2 (en) | Signal processing device | |
| JP2007028598A (en) | Compression coding apparatus and compression coding method | |
| JP4616765B2 (en) | Video encoding device | |
| JPH07193821A (en) | Moving picture coding apparatus and method | |
| JP2007329787A (en) | Image encoding device | |
| JP2001320705A (en) | Image data compression device for monitoring camera |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071113 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20071120 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081224 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100824 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101019 |
|
| 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: 20110607 |
|
| 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: 20110706 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140715 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4781816 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |