JP4094832B2 - Image data compression apparatus and control method thereof - Google Patents
Image data compression apparatus and control method thereof Download PDFInfo
- Publication number
- JP4094832B2 JP4094832B2 JP2001246959A JP2001246959A JP4094832B2 JP 4094832 B2 JP4094832 B2 JP 4094832B2 JP 2001246959 A JP2001246959 A JP 2001246959A JP 2001246959 A JP2001246959 A JP 2001246959A JP 4094832 B2 JP4094832 B2 JP 4094832B2
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- image data
- control means
- encoding process
- quantization table
- 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 - Lifetime
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【0001】
【技術分野】
この発明は,直交変換係数の算出,量子化テーブルを用いた直交変換係数の量子化および量子化された直交変換係数の符号化を行うことにより符号化データを得る画像データ圧縮装置およびその制御方法に関する。
【0002】
【発明の背景】
カラー静止画を連続して再生することにより動画表示を実現するものとしてモーションJPEG(joint photographic experts group)がある。モーションJPEGにおいては,直交変換係数の算出,量子化テーブルを用いた直交変換係数の量子化および量子化された直交変換係数の符号化が行なわれる。符号化された画像データがメモリ・カードなどの記録媒体に記録される。
【0003】
圧縮後の符号量はある一定の値となる必要があるために,一駒分の画像データについて,被写体を撮像して画像データを得る周期の次の周期で,一度圧縮処理を行い(第1の符号化処理,プリ圧縮),符号量が算出される。算出された符号量にもとづいて,量子化テーブルが算出される。第1回目の符号化処理の次の周期で,算出された量子化テーブルを用いて画像データに再び圧縮(第2の符号化処理,本圧縮)が行われる。
【0004】
しかしながら,第1回目の符号化処理が1周期内で終わらないことがある。すると,第2回目の符号化処理のタイミングがずれてしまうので,一定間隔で符号化された画像データを記録媒体に記録できなくなる。
【0005】
【発明の開示】
この発明は,第2回目の符号化処理のタイミングを一定にすることを目的とする。
【0006】
この発明による画像データ圧縮装置は,一駒分の画像を表す画像データに直交変換係数の算出,量子化テーブルを用いた上記直交変換係数の量子化および量子化された直交変換係数の符号化を行い符号化データを得る符号化手段,画像データが与えられた一定期間内に,その与えられた画像データを符号化する第1の符号化処理を行い,第1の符号化データを得るように上記符号化手段を制御する第1の符号化制御手段,上記第1の符号化制御手段の制御にもとづく上記符号化手段の上記第1の符号化処理が,上記一定期間内に終わらないときに上記第1の符号化処理を停止するように上記第1の符号化制御手段を制御する停止制御手段,上記停止制御手段により上記第1の符号化処理が停止させられたときまでに得られた符号量にもとづいて,上記量子化テーブルを算出する量子化テーブル算出手段,ならびに記量子化テーブル算出手段により算出された量子化テーブルを用いて,上記与えられた画像データに第2の符号化処理を行い,第2の符号化データを得るように上記符号化手段を制御する第2の符号化制御手段を備えていることを特徴とする。
【0007】
この発明は,上記画像データ圧縮装置に適した制御方法も提供している。すなわち,この方法は,一駒分の画像を表す画像データに,直交変換係数の算出,量子化テーブルを用いた上記直交変換係数の量子化および量子化された直交変換係数の符号化を行い符号化データを得る符号化手段を備えた画像データ圧縮装置において,画像データが与えられた後一定期間内に,その与えられた画像データを符号化する第1の符号化処理を行い,第1の符号化データを得るように上記符号化手段を制御し,上記符号化手段の上記第1の符号化処理が,上記一定期間内に終わらないときに上記第1の符号化処理を停止するように上記第1の符号化制御手段を制御し,上記第1の符号化処理が停止させられたときまでに得られた符号量にもとづいて,上記量子化テーブルを算出し,算出された量子化テーブルを用いて,上記与えられた画像データに第2の符号化処理を行い,第2の符号化データを得るように上記符号化手段を制御するものである。
【0008】
この発明によると,画像データが与えられた後一定期間内に上記第1の符号化処理が実行される。この一定期間内に上記第1の符号化処理が終了すれば,第1の符号化データが得られる。得られた第1の符号化データにもとづいて量子化テーブルが算出される。算出された量子化テーブルを用いて,与えられた画像データに第2の符号化処理が実行される。この一定期間内に上記第1の符号化処理が終了しなければ,一定期間が終了した時点で上記第1の符号化処理が停止させられる。停止したときに得られた符号量(符号データ)にもとづいて,量子化テーブルが算出される。算出された量子化テーブルを用いて第2の符号化処理が実行される。
【0009】
一定期間内に上記第1の符号化処理が終了しなければ,上記第1の符号化処理は停止させられるので,第2の符号化処理のタイミングがずれることもない。上記第1の符号化処理が停止させられた場合であっても,停止した時点までの符号化データにもとづいて量子化テーブルを算出することができるので,データ圧縮後の符号化データ量は,ほぼ一定の値となる。
【0010】
上記符号化手段に一駒分の画像を表わす画像データが周期的に与えられるときには(たとえば1/30秒,1/60秒周期で与えられる動画データ),上記第1の符号化制御手段は画像データが与えられた次の周期に上記第1の符号化処理を行なうように上記符号化手段を制御するものとなる。上記停止制御手段は上記第1の符号化処理が上記次の周期中に終わらないときに上記第1の符号化処理を停止するように上記第1の符号化制御手段を制御するものとなる。
【0011】
この場合,上記符号化手段における上記第2の符号化処理後に与えられる画像データについて,上記符号化手段による上記第1の符号化処理および上記第2の符号化処理を繰り返すように制御する制御手段をさらに備える。
【0012】
通常は,上記第2の符号化制御手段にもとづく第2の符号化処理により得られた第2の符号化データを記録媒体に記録する記録制御手段をさらに備えることとなろう。
【0013】
【実施例の説明】
図1は,この発明の実施例を示すもので,ディジタル・カメラの電気的構成を示すブロック図である。
【0014】
ディジタル・カメラは,ムービ記録とスチル記録とが可能なものである。もっとも,ムービ記録のみが可能なディジタル・カメラであってもよい。
【0015】
ディジタル・カメラの全体の動作は,CPU2によって統括される。
【0016】
ディジタル・カメラには,ムービ撮影モード,スチル撮影モードなどの各種モードを設定するためのモード設定スイッチ,シャッタ・レリーズ・ボタンなどを含むスイッチ1が含まれている。スイッチ1から出力される各種信号は,CPU2に入力する。また,CPU2には,データを一時的に記憶するキャッシュ・メモリ3が接続されている。
【0017】
また,ディジタル・カメラには,DMAC(direct memory access controller)5が含まれており,このDMAC5により,撮像によって得られた画像データのメモリ6への書き込みおよびメモリ6に書き込まれた画像データの読み取りが制御される。さらに,ディジタル・カメラには,SRAM(static random access memory)4も含まれている。
【0018】
上述したメモリ6には,一駒分の画像を表す画像データを記憶する4つの領域(表示用画像データ記憶領域6Aから6D),後述する量子化において用いられる量子化テーブルを記憶する領域6E,メモリ・カード16に記録する動画データ(後述するように圧縮符号化済のものである)を一時的に記憶する記録用動画データ記憶領域6Fその他の記憶領域が含まれている。
【0019】
スイッチ1により,ムービ撮影モードが設定されると,CCD8によって1/30秒周期で被写体が撮像され,被写体像を表す映像信号が順次出力される。映像信号は,アナログ/ディジタル変換回路9においてディジタル画像データに変換され,読み取り制御(信号処理)回路10に入力する。読み取り制御回路10において,ガンマ補正,白バランス調整などの所定の信号処理も行われる。
【0020】
ディジタル画像データは,DMAC5の制御のもとに,バス制御回路7を介してメモリ6に与えられる。メモリ6のうち表示用画像データ記録領域6A,6B,6Cまたは6Dに一駒分ずつ順次上書きされていく。
【0021】
表示用画像データ記憶領域6Aから6Dに書き込まれた画像データは,一駒分ずつ順次読み取られ,バス制御回路7および表示制御回路12を介してディジタル/アナログ変換回路13に与えられる。ディジタル画像データは,ディジタル/アナログ変換回路13においてアナログ映像信号に変換され,表示装置14に与えられる。表示装置14の表示画面上に撮像した被写体像が表示されることとなる。
【0022】
ムービ撮影モードが設定されているときに,スイッチ1内のシャッタ・レリーズ・ボタンが押されると,シャッタ・レリーズ・ボタンが押されている間に撮像により得られた画像データが圧縮されてメモリ・カード16に記録される。具体的には,ディジタル・カメラにおいて次の動作が行われる。
【0023】
表示用画像データ記憶領域6Aから6Dに書き込まれた画像データが一駒ずつ順次読み出され,バス制御回路7を介して圧縮符号化回路11に入力する。
【0024】
図2は,圧縮符号化回路11の詳細を示している。
【0025】
メモリ6から読み出された画像データは,バッファ・メモリ21を介してDCT(discret cosine transform)回路22に与えられ,8画素×8画素のブロックごとにDCT係数(直交変換係数)が算出される。算出されたDCT係数は,量子化回路23に与えられ,量子化される。量子化回路23における処理は,詳しくは,後述する。量子化されたDCT係数は,符号化回路24において符号化される。符号化された画像データ(圧縮された画像データ)がバッファ・メモリ25を介して圧縮符号化回路11から出力される。
【0026】
再び,図1を参照して,圧縮符号化回路11から出力した(複数駒分の)符号化画像データは,バス制御回路7を介してメモリ6に与えられ,記録用動画データ記憶領域6Fに一時的に記憶される。符号化画像データは,記録用動画データ記憶領域6Fから読み出され,バス制御回路7を介してメディア制御回路15に与えられる。メディア制御回路15によりメモリ・カード16に記録されることとなる。
【0027】
図3および図4は,ディジタル・カメラにおける圧縮処理を示すタイム・チャート,図5は,ムービ記録処理手順を示すフローチャートである。
【0028】
ムービ撮影モードが設定されると,上述したように,CCD8によって1/30秒周期で被写体が撮像され(1/30秒周期で読み取り信号VIがCPU2から出力されCCD8に与えられる),被写体像を表す画像データが読み取られる。たとえば,図3を参照して,時刻t11からt12の間で一駒分の画像A11を表す画像データが得られる。得られた画像データは,表示用メモリ6Aに与えられ,上述のように記憶される。時刻t12となると,表示用メモリ6Aから奇数フィールドの画像(A21)を表す画像データが読み出される。上述のようにバス制御回路7,表示制御回路12を介してディジタル/アナログ変換回路13においてアナログ映像信号に変換されて表示装置13に与えられる。時刻t13となると,表示用メモリ6Aから奇数フィールドの画像(A22)を表す画像データが読み出される。上述のようにバス制御回路7,表示制御回路12を介してディジタル/アナログ変換回路13においてアナログ映像信号に変換されて表示装置13に与えられる。垂直周期信号VDの周期(1/60秒)で被写体像が表示されることとなる。
【0029】
さらに,この実施例によるディジタル・カメラにおいては,上述した圧縮処理は,一駒の画像を表す画像データについて2回行われる。第1回目の圧縮処理(プリ圧縮)において得られた符号量から量子化回路23において用いるべき量子化テーブルが算出される。第2回目の圧縮処理(本圧縮)において,第1回目の圧縮処理において算出された量子化テーブルを用いて再度圧縮処理が行われる。このように2回の圧縮処理を行うことにより,圧縮後の画像データの符号量がほぼ一定となる。
【0030】
とくに,この実施例によるディジタル・カメラにおいては,詳しくは後述するように,第1回目の圧縮処理が,画像データの読み取り期間内(1/30秒内)に終了せずに,読み取り信号VIが入力したときには,その第1回目の圧縮処理が中断される。中断されたときまでに得られた符号量にもとづいて量子化テーブルが算出されることとなる。
【0031】
上述したように時刻t11からt12の間で一駒分の画像データの読み取りが終了すると(ステップ31でYES),時刻t12から圧縮符号化回路11において第1回目の圧縮処理が行われる(ステップ32)。この第1回目の圧縮において,図2に示して説明したようにDCT回路22によるDCT係数の算出,量子化回路23により量子化および符号化回路24における符号化が行われる。第1回目の圧縮処理における量子化は,式1から得られる量子化テーブル1を用いて行われる。初期量子化テーブルは,メモリ6の量子化テーブル記憶領域6Eにあらかじめ記憶されている量子化テーブルである。初期係数は,あらかじめ定められている係数である。
【0032】
量子化テーブル1=初期量子化テーブル×初期係数・・・式1
【0033】
第2回目の圧縮処理における量子化に用いられる量子化テーブル2は,式2から算出される。
【0034】
量子化テーブル2=初期量子化テーブル×正規化係数・・・式2
【0035】
ただし,正規化係数は,式3から得られる。
【0036】
正規化係数=初期係数×(目標符号量/SIZE)-1/β・・・式3
【0037】
ただし,SIZEは,読み取り期間内に第1回目の圧縮処理が終了すればその第1回目の圧縮処理において得られた符号量(SIZE1という)であり,読み取り期間内に第2回目の圧縮処理が終了しなければ式4から得られる見積もり符号量(SIZE2という)である。
【0038】
SIZE2=(一駒分の画像データ量/中断された時点までに符号化された画像データ量)×中断された時点までに得られた符号化量・・・式4
【0039】
時刻t12からt13までの読み取り期間内に第1回目の圧縮処理が終了すれば(ステップ33でYES),第1回目の圧縮処理において得られた一駒分の画像の画像データの符号化量が一時的に記憶される(ステップ35)。第1回目の圧縮処理により得られた符号化量を用いて式2にしたがって,第2の圧縮処理に用いられる量子化テーブルが算出される(ステップ38)。算出された量子化テーブルを用いて時刻t13からt14の間に第2の圧縮処理が実行される(ステップ39)。動画記録が終了するまでステップ31から39の処理が繰り返される(ステップ40)。
【0040】
図4においては,時刻t21からt22までに一駒分の画像(A41)を表わす画像データが読み取られる。時刻t22からt23までの読み取り期間内に第1回目の圧縮処理が終了せずに時刻t23に信号VIの割り込みがあると(ステップ33でNO,ステップ34でYES),第1の圧縮処理は中断させられる(ステップ36)。中断した時点までに得られた符号化量等を用いて式4にしたがって,上述した見積もり符号量SIZE2が算出される(ステップ37)。算出された見積もり符号量SIZE2を用いて式3が算出され,正規化係数が算出される。算出された正規化係数が式2に代入されることにより,第2回目の圧縮処理に用いられる量子化テーブルが算出される(ステップ38)。
【0041】
算出された量子化テーブルを用いて時刻t23から第2回目の圧縮処理が行われることとなる(ステップ39)。
【0042】
第1回目の圧縮処理が読み取り期間内に終了しないときには,中断させてしまうので第2回目の圧縮処理が遅れることがない。第2の圧縮処理に十分な時間を与えることができる。
【図面の簡単な説明】
【図1】ディジタル・カメラの電気的構成を示すブロック図である。
【図2】圧縮符号化回路の詳細を示すブロック図である。
【図3】ディジタル・カメラの動作タイム・チャートである。
【図4】ディジタル・カメラの動作タイム・チャートである。
【図5】ディジタル・カメラの処理手順を示すフローチャートである。
【符号の説明】
2 CPU
6 メモリ
8 CCD
10 読み取り制御回路
11 圧縮符号化回路
15 メディア制御回路
16 メモリ・カード
22 DCT回路
23 量子化回路
24 符号化回路[0001]
【Technical field】
The present invention relates to an image data compression apparatus for obtaining encoded data by calculating orthogonal transform coefficients, quantizing orthogonal transform coefficients using a quantization table, and encoding quantized orthogonal transform coefficients, and a control method therefor About.
[0002]
BACKGROUND OF THE INVENTION
There is a motion JPEG (joint photographic experts group) that realizes moving image display by continuously reproducing color still images. In motion JPEG, orthogonal transform coefficients are calculated, orthogonal transform coefficients are quantized using a quantization table, and quantized orthogonal transform coefficients are encoded. The encoded image data is recorded on a recording medium such as a memory card.
[0003]
Since the amount of code after compression needs to be a certain value, the compression processing is performed once for the image data for one frame in the next period after the subject is imaged to obtain the image data (first Encoding processing, pre-compression), and the code amount is calculated. A quantization table is calculated based on the calculated code amount. In the next cycle of the first encoding process, the image data is compressed again (second encoding process, main compression) using the calculated quantization table.
[0004]
However, the first encoding process may not end within one cycle. Then, since the timing of the second encoding process is shifted, it becomes impossible to record the image data encoded at a constant interval on the recording medium.
[0005]
DISCLOSURE OF THE INVENTION
An object of the present invention is to make the timing of the second encoding process constant.
[0006]
An image data compression apparatus according to the present invention calculates orthogonal transform coefficients for image data representing an image for one frame, quantizes the orthogonal transform coefficients using a quantization table, and encodes the quantized orthogonal transform coefficients. Encoding means for obtaining encoded data, and performing a first encoding process for encoding the given image data within a given period of time to obtain the first encoded data. A first encoding control unit that controls the encoding unit; and the first encoding process of the encoding unit based on the control of the first encoding control unit does not end within the predetermined period. The stop control means for controlling the first encoding control means so as to stop the first encoding process, obtained by the time when the first encoding process is stopped by the stop control means Based on code amount , Using the quantization table calculating means for calculating the quantization table, and the quantization table calculated by the quantization table calculating means, a second encoding process is performed on the given image data, The second encoding control means for controlling the encoding means so as to obtain the encoded data is provided.
[0007]
The present invention also provides a control method suitable for the image data compression apparatus. In other words, this method calculates the orthogonal transform coefficient, quantizes the orthogonal transform coefficient using the quantization table, and encodes the quantized orthogonal transform coefficient to the image data representing the image for one frame. In an image data compression apparatus having an encoding means for obtaining encoded data, a first encoding process for encoding the given image data is performed within a certain period after the image data is given, The encoding means is controlled to obtain encoded data, and the first encoding process is stopped when the first encoding process of the encoding means does not end within the predetermined period. The quantization table is calculated based on the code amount obtained by controlling the first encoding control means and the first encoding process being stopped. Using the above, Performing a second coding process to the image data, and controls the encoding means so as to obtain a second encoded data.
[0008]
According to the present invention, the first encoding process is executed within a certain period after image data is given. If the first encoding process is completed within the predetermined period, first encoded data is obtained. A quantization table is calculated based on the obtained first encoded data. Using the calculated quantization table, the second encoding process is performed on the given image data. If the first encoding process is not completed within this fixed period, the first encoding process is stopped when the fixed period ends. A quantization table is calculated based on the code amount (code data) obtained when the operation is stopped. The second encoding process is executed using the calculated quantization table.
[0009]
If the first encoding process is not completed within a certain period, the first encoding process is stopped, so that the timing of the second encoding process does not shift. Even when the first encoding process is stopped, the quantization table can be calculated based on the encoded data up to the time point when the first encoding process is stopped. The value is almost constant.
[0010]
When image data representing an image for one frame is periodically given to the encoding means (for example, moving image data given with a period of 1/30 seconds or 1/60 seconds), the first encoding control means is an image. The encoding means is controlled so that the first encoding process is performed in the next period when data is given. The stop control means controls the first encoding control means to stop the first encoding process when the first encoding process does not end during the next period.
[0011]
In this case, control means for controlling the image data given after the second encoding process in the encoding means to repeat the first encoding process and the second encoding process by the encoding means. Is further provided.
[0012]
Usually, it will further comprise recording control means for recording the second encoded data obtained by the second encoding process based on the second encoding control means on the recording medium.
[0013]
[Explanation of Examples]
FIG. 1 shows an embodiment of the present invention and is a block diagram showing an electrical configuration of a digital camera.
[0014]
A digital camera is capable of movie recording and still recording. However, a digital camera capable of only movie recording may be used.
[0015]
The entire operation of the digital camera is controlled by the CPU 2.
[0016]
The digital camera includes a
[0017]
Further, the digital camera includes a direct memory access controller (DMAC) 5, and the DMAC 5 writes image data obtained by imaging to the memory 6 and reads image data written to the memory 6. Is controlled. Furthermore, the digital camera also includes a static random access memory (SRAM) 4.
[0018]
In the memory 6 described above, four areas (image data storage areas 6A to 6D for display) for storing image data representing an image for one frame, an area 6E for storing a quantization table used in quantization described later, A moving image
[0019]
When the movie shooting mode is set by the
[0020]
The digital image data is given to the memory 6 through the bus control circuit 7 under the control of the DMAC 5. The display image
[0021]
The image data written in the display image data storage areas 6A to 6D are sequentially read one frame at a time and supplied to the digital /
[0022]
If the shutter release button in the
[0023]
The image data written in the display image data storage areas 6A to 6D are sequentially read out frame by frame and input to the
[0024]
FIG. 2 shows details of the
[0025]
The image data read from the memory 6 is supplied to a DCT (discret cosine transform)
[0026]
Referring again to FIG. 1, the encoded image data (for a plurality of frames) output from the
[0027]
3 and 4 are time charts showing compression processing in the digital camera, and FIG. 5 is a flowchart showing movie recording processing procedures.
[0028]
When the movie shooting mode is set, as described above, the subject is imaged by the CCD 8 at a 1/30 second period (a read signal VI is output from the CPU 2 and given to the CCD 8 at a 1/30 second period), and the subject image is displayed. Representing image data is read. For example, referring to FIG. 3, image data representing an image A11 for one frame is obtained between times t11 and t12. The obtained image data is given to the display memory 6A and stored as described above. At time t12, image data representing an odd field image (A21) is read from the display memory 6A. As described above, the digital /
[0029]
Further, in the digital camera according to this embodiment, the above-described compression processing is performed twice for image data representing an image of one frame. A quantization table to be used in the
[0030]
In particular, in the digital camera according to this embodiment, as will be described in detail later, the first compression processing is not completed within the reading period of image data (within 1/30 second), and the reading signal VI is When input, the first compression process is interrupted. The quantization table is calculated based on the code amount obtained up to the time when it was interrupted.
[0031]
As described above, when reading of image data for one frame is completed between times t11 and t12 (YES in step 31), the first compression process is performed in the
[0032]
Quantization table 1 = initial quantization table × initial coefficient.
[0033]
The quantization table 2 used for quantization in the second compression process is calculated from Equation 2.
[0034]
Quantization table 2 = initial quantization table × normalization coefficient Equation 2
[0035]
However, the normalization coefficient is obtained from Equation 3.
[0036]
Normalization coefficient = initial coefficient × (target code amount / SIZE) −1 / β (formula 3)
[0037]
However, SIZE is the code amount (referred to as SIZE1) obtained in the first compression process when the first compression process is completed within the reading period, and the second compression process is performed within the reading period. If not completed, the estimated code amount (referred to as SIZE2) obtained from Equation 4 is obtained.
[0038]
SIZE2 = (the amount of image data for one frame / the amount of image data encoded up to the point of interruption) × the amount of encoding obtained up to the point of interruption
[0039]
If the first compression process is completed within the reading period from time t12 to t13 (YES in step 33), the amount of image data encoded for one frame obtained in the first compression process is It is temporarily stored (step 35). A quantization table used for the second compression process is calculated according to Equation 2 using the encoding amount obtained by the first compression process (step 38). A second compression process is executed between times t13 and t14 using the calculated quantization table (step 39).
[0040]
In FIG. 4, image data representing an image (A41) for one frame is read from time t21 to t22. If the signal VI is interrupted at time t23 without completing the first compression process within the reading period from time t22 to t23 (NO in
[0041]
A second compression process is performed from time t23 using the calculated quantization table (step 39).
[0042]
When the first compression process does not end within the reading period, it is interrupted, so the second compression process is not delayed. Sufficient time can be given to the second compression processing.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an electrical configuration of a digital camera.
FIG. 2 is a block diagram showing details of a compression encoding circuit.
FIG. 3 is an operation time chart of the digital camera.
FIG. 4 is an operation time chart of the digital camera.
FIG. 5 is a flowchart showing a processing procedure of the digital camera.
[Explanation of symbols]
2 CPU
6 Memory 8 CCD
10 Reading control circuit
11 Compression coding circuit
15 Media control circuit
16 Memory card
22 DCT circuit
23 Quantization circuit
24 Coding circuit
Claims (4)
画像データが与えられた後一定期間内に,その与えられた画像データを符号化する第1の符号化処理を行い,第1の符号化データを得るように上記符号化手段を制御する第1の符号化制御手段,
上記第1の符号化制御手段の制御にもとづく上記符号化手段の上記第1の符号化処理が,上記一定期間内に終わらないときに上記第1の符号化処理を停止するように上記第1の符号化制御手段を制御する停止制御手段,
上記停止制御手段により上記第1の符号化処理が停止させられたときまでに得られた符号量にもとづいて,上記量子化テーブルを算出する量子化テーブル算出手段,ならびに
上記量子化テーブル算出手段により算出された量子化テーブルを用いて,上記与えられた画像データに第2の符号化処理を行い,第2の符号化データを得るように上記符号化手段を制御する第2の符号化制御手段,
を備えた画像データ圧縮装置。Encoding to obtain encoded data by calculating orthogonal transform coefficients, quantizing the above orthogonal transform coefficients using a quantization table, and encoding the quantized orthogonal transform coefficients to image data representing an image of one frame means,
A first encoding process is performed to control the encoding means so as to obtain first encoded data by performing a first encoding process for encoding the supplied image data within a certain period after the image data is provided. Encoding control means,
The first encoding process is stopped so that the first encoding process of the encoding means based on the control of the first encoding control means is stopped when it does not end within the predetermined period. Stop control means for controlling the encoding control means of
Based on the code amount obtained until the first encoding process is stopped by the stop control means, the quantization table calculating means for calculating the quantization table, and the quantization table calculating means Second encoding control means for performing second encoding processing on the given image data using the calculated quantization table and controlling the encoding means so as to obtain second encoded data ,
An image data compression apparatus.
上記符号化手段における上記第2の符号化処理後に与えられる画像データについて,上記符号化手段による上記第1の符号化処理および上記第2の符号化処理を繰り返すように制御する制御手段,
をさらに備えた請求項1に記載の画像データ圧縮装置。Image data representing an image for one frame is periodically given to the coding means, and the first coding control means performs the first coding processing in the next period when the image data is given. The stop control means is configured to stop the first encoding process when the first encoding process does not end during the next period. Controlling the first encoding control means;
Control means for controlling the image data given after the second encoding process in the encoding means to repeat the first encoding process and the second encoding process by the encoding means;
The image data compression apparatus according to claim 1, further comprising:
画像データが与えられた後一定期間内に,その与えられた画像データを符号化する第1の符号化処理を行い,第1の符号化データを得るように上記符号化手段を制御し,
上記符号化手段の上記第1の符号化処理が,上記一定期間内に終わらないときに上記第1の符号化処理を停止するように上記第1の符号化制御手段を制御し,上記第1の符号化処理が停止させられたときまでに得られた符号量にもとづいて,上記量子化テーブルを算出し,
算出された量子化テーブルを用いて,上記与えられた画像データに第2の符号化処理を行い,第2の符号化データを得るように上記符号化手段を制御する,
画像データ圧縮装置の制御方法。Encoding to obtain encoded data by calculating orthogonal transform coefficients, quantizing the above orthogonal transform coefficients using a quantization table, and encoding the quantized orthogonal transform coefficients to image data representing an image of one frame In an image data compression apparatus comprising means,
Performing a first encoding process for encoding the given image data within a certain period after the image data is given, and controlling the encoding means so as to obtain the first coded data;
Controlling the first encoding control means to stop the first encoding process when the first encoding process of the encoding means does not end within the predetermined period; The above quantization table is calculated based on the amount of code obtained until the encoding process is stopped.
A second encoding process is performed on the given image data using the calculated quantization table, and the encoding means is controlled to obtain second encoded data;
A method for controlling an image data compression apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001246959A JP4094832B2 (en) | 2001-08-16 | 2001-08-16 | Image data compression apparatus and control method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001246959A JP4094832B2 (en) | 2001-08-16 | 2001-08-16 | Image data compression apparatus and control method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003061044A JP2003061044A (en) | 2003-02-28 |
| JP4094832B2 true JP4094832B2 (en) | 2008-06-04 |
Family
ID=19076393
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001246959A Expired - Lifetime JP4094832B2 (en) | 2001-08-16 | 2001-08-16 | Image data compression apparatus and control method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4094832B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3914212B2 (en) * | 2004-03-05 | 2007-05-16 | 日本電信電話株式会社 | Moving picture coding apparatus, moving picture coding method, moving picture coding program, and computer-readable recording medium recording the program |
-
2001
- 2001-08-16 JP JP2001246959A patent/JP4094832B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003061044A (en) | 2003-02-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7903162B2 (en) | Electronic camera that display information representative of its selected mode | |
| JP4051841B2 (en) | Image recording apparatus and method | |
| JP3235903B2 (en) | Still camera | |
| US7800678B2 (en) | Image processing device having blur correction function | |
| JP4687807B2 (en) | Movie recording apparatus, moving image tilt correction method, and program | |
| JP2006253768A (en) | Digital camera | |
| JP4682102B2 (en) | Image coding apparatus and image coding method | |
| US5818524A (en) | Digital still camera having an image data compression function | |
| JP2004088567A (en) | Imaging device and method, recording medium, and program | |
| US20070040917A1 (en) | Image capturing apparatus, control method therefor, program, and storage medium | |
| JP4094832B2 (en) | Image data compression apparatus and control method thereof | |
| JP3958583B2 (en) | Image data compression device | |
| JP4103276B2 (en) | Image recording apparatus and method | |
| JPH10276402A (en) | Image recorder | |
| JPH10271498A (en) | Compression data conversion method, information quantity conversion method for image compression data, and image recorder adopting the method | |
| JP3076081B2 (en) | Image signal processing device | |
| JP4430731B2 (en) | Digital camera and photographing method | |
| JP4208342B2 (en) | Image recording apparatus, method, and computer-readable storage medium | |
| JP2000138941A (en) | Encoding device, camera device, and recording method | |
| JP2006024993A (en) | Imaging signal processing device | |
| JP3587535B2 (en) | camera | |
| KR101332299B1 (en) | Image recording apparatus and method thereof | |
| JP3131235B2 (en) | Image processing device | |
| JP4610821B2 (en) | Image data transfer apparatus, image data transfer method, and imaging apparatus | |
| JPH0638172A (en) | Picture storage and reproduction system for digital electronic still camera |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060126 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061207 |
|
| 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: 20080304 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080306 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110314 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110314 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120314 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120314 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130314 Year of fee payment: 5 |