Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4208342B2 - Image recording apparatus, method, and computer-readable storage medium - Google Patents
[go: Go Back, main page]

JP4208342B2 - Image recording apparatus, method, and computer-readable storage medium - Google Patents

Image recording apparatus, method, and computer-readable storage medium Download PDF

Info

Publication number
JP4208342B2
JP4208342B2 JP13393599A JP13393599A JP4208342B2 JP 4208342 B2 JP4208342 B2 JP 4208342B2 JP 13393599 A JP13393599 A JP 13393599A JP 13393599 A JP13393599 A JP 13393599A JP 4208342 B2 JP4208342 B2 JP 4208342B2
Authority
JP
Japan
Prior art keywords
recording
encoding
recording medium
moving image
remaining capacity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP13393599A
Other languages
Japanese (ja)
Other versions
JP2000324449A (en
JP2000324449A5 (en
Inventor
寛朗 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP13393599A priority Critical patent/JP4208342B2/en
Publication of JP2000324449A publication Critical patent/JP2000324449A/en
Publication of JP2000324449A5 publication Critical patent/JP2000324449A5/ja
Application granted granted Critical
Publication of JP4208342B2 publication Critical patent/JP4208342B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ディジタル動画像を記録する場合に用いて好適な画像記録装置、方法及びそれらに用いられるコンピュータ読み取り可能な記憶媒体に関するものである。
【0002】
【従来の技術】
従来のディジタル動画像を記録する画像記録装置においては、動画像のフレーム間符号化を用いて、一定の記録レートで記録媒体に記録することにより目標記録時間を優先する方法と、可変レートで記録することにより画質を一定に保つ方法とがある。
【0003】
【発明が解決しようとする課題】
上記従来の技術では、記録媒体に記録する目標記録時間を優先し、記録レートを一定にする場合には、入力される画像の動きが速かったり、色の帯域が広い場合には、量子化が粗くなってしまいフレーム毎に均一でない画像になったりするという問題があった。
また、画質を優先し、量子化テーブルを固定にする場合には、記録レートが一定でないために、記録媒体に記録可能な時間が正確に計算できないという問題があった。
【0004】
本発明は、上記の問題を解決するために成されたもので、画質を優先しながら、記録媒体の残量に応じて記録可能時間を計算することができるようにすることを目的としている。
【0005】
【課題を解決するための手段】
そこで、このような問題を解決するため、本発明は、入力された動画像信号を符号化する符号化手段と、前記符号化手段により得られた符号化動画像データを記録媒体に記録する記録手段と、前記記録媒体の残容量を検出する検出手段と、前記記録媒体の残容量が所定量より大きいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが特定の上限を超えない第1の符号化モードに設定し、前記記録媒体の残容量が所定量より小さいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが一定の第2の符号化モードに設定するとともに、前記設定した符号化モードと前記記録媒体の残容量とから前記記録媒体に記録可能な動画像の時間を算出し表示装置に表示させる制御手段と、を設けたことを特徴とする。
【0006】
また、本発明は、入力された動画像信号を符号化して得られた符号化動画像データを記録媒体に記録する画像記録装置における画像記録方法であって、前記記録媒体の残容量を検出する検出ステップと、前記記録媒体の残容量が所定量より大きいときは、符号化モードを前記符号化動画像データの記録レートが特定の上限を超えない第1の符号化モードに設定し、前記記録媒体の残容量が所定量より小さいときは、符号化モードを前記符号化動画像データの記録レートが一定の第2の符号化モードに設定するとともに、前記設定した符号化モードと前記記録媒体の残容量とから前記記録媒体に記録可能な動画像の時間を算出し表示装置に表示させる制御ステップと、を有することを特徴とする。
【0007】
また、本発明は、コンピュータを、入力された動画像信号を符号化する符号化手段と、前記符号化手段により得られた符号化動画像データを記録媒体に記録する記録手段と、前記記録媒体の残容量を検出する検出手段と、前記記録媒体の残容量が所定量より大きいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが特定の上限を超えない第1の符号化モードに設定し、前記記録媒体の残容量が所定量より小さいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが一定の第2の符号化モードに設定するとともに、前記設定した符号化モードと前記記録媒体の残容量とから前記記録媒体に記録可能な動画像の時間を算出し表示装置に表示させる制御手段と、して機能させるためのプログラムを記憶したコンピュータ読み取り可能な記媒体とすることを特徴とする。
【0008】
【発明の実施の形態】
以下、本発明の実施の形態を図面と共に説明する。
図1は本発明の実施の形態によるカメラ一体型画像記録装置を示すブロック図である。
図1において、101はレンズ、102はCCD等の撮像素子、103はカメラ信号処理部、104は画面並び替え部、105はスイッチ、106は減算器、107はDCT部、108は量子化部、109は可変符号化部、110は逆量子化部、111はIDCT部、112は加算器、113は動き補償予測部、114はスイッチ、115はバッファ、116はレート制御部、117は記録回路、118は記録媒体としての光磁気ディスクである。また、119は記録の指示や、符号化モードの指示を行う操作部。
【0009】
次に動作について説明する。
レンズ101から入力された画像は、撮像素子102で1フレーム単位にディジタルの画像信号となってカメラ信号処理部103に入力される。カメラ信号処理部103では、画像信号を用いて補正値を決定し、画像信号を補正した画像データを色差信号と輝度信号とに分けて1フレーム単位に画面並び替え部104及び表示部120に入力する。画面並び替え回路104は、入力されたフレームの順番を入れ替えて複数フレームを記憶できるメモリを持っており、入力されたフレームの順番を入れ換えて出力する。
【0010】
図2を用いて、画面並び替えについて説明する。
図2は、画面並び替え部104で並び替える順番の例を表わしている。
画面並び替え部104には、第1フレーム、第2フレーム、第3フレーム…と入力され、第2フレーム、第3フレーム、第1フレーム…と出力される。
このような画面並び替えは、図3に示すようなイントラ符号化及びインター符号化を行うために必要である。
【0011】
イントラ符号化とは、フレーム内のデータのみで符号化するものであり、図3のIピクチャを生成する符号化である。また、インター符号化とは、フレーム間予測も含めて符号化するものであり、図3のP及びBピクチャを生成する符号化である。
【0012】
次に、イントラ符号化及びインター符号化を説明する。
図1において、イントラ符号化する場合は、スイッチ105はA側に接続されると共に、スイッチ114はオフされる。画面並び替え部104から出力された画像データは、スイッチ105を介してDCT部107に入力され、直交変換される。直交変換された画像データは、記録媒体117の残量に応じてレート制御部116により決定された量子化係数に従い、量子化部108で量子化される。量子化された画像データは、逆量子化部110と可変長符号化部109に入力される。
また、画面並び替え部104から出力された画像データは、動き補償予測部113にも入力される。
【0013】
上記量子化されたデータは逆量子化部110で逆量子化され、IDCT部111でIDCT(逆直交変換)され、IDCTされた画像データは、動き補償予測部113に入力される。動き補償予測回路113は次のインター符号化のために予測画像を出力する。
【0014】
一方、上記量子化された画像データは、可変長符号化部109に入力されて可変長符号化され、バッファ115に入力される。バッファ115内の画像データは記録媒体117に記録される。
【0015】
次に、インター符号化する場合は、スイッチ105はB側に接続される。画面並び替え部104から出力された画像データは、スイッチ105を介して減算器106に入力され、動き補償予測部113からの予測画像が減算される。この減算は、時間軸方向の冗長度を落とすために行われる。
【0016】
減算器106で時間軸方向の冗長度を落とした画像データは、DCT部107に入力され直交変換される。直交変換された画像データは、記録媒体117の残量に応じてレート制御回路116により決定された量子化係数に従い、量子化部108で量子化される。量子化された画像データは、逆量子化部110と可変長符号化部109に入力される。また、画面並び替え回路104から出力された画像データは動き補償予測部113に入力される。
【0017】
上記量子化されたデータは逆量子化部110で逆量子化され、IDCT部111でIDCTされる。IDCTされた画像データは、スイッチ2114がオフされると、そのまま動き補償部113に入力される。また、スイッチ2114がオンされると、加算器112で動き補償予測部113からの予測画像と加算され復号画像になる。この復号画像は、次の画像符号化のために動き補償予測部113に入力される。
【0018】
動き補償予測部113は、予測画像と動きベクトルを出力する。動きベクトルは、可変長符号化部109に入力される。また、次のインター符号化のために予測画像を出力する。
【0019】
一方、上記量子化されたデータは、可変長符号化部109に入力されて可変長符号化され、バッファ115に入力される。バッファ115内の画像データは記録回路117により誤り訂正符号化、ディジタル変調処理等を施されディスク118に記録される。
【0020】
次に、レート制御について図4を用いて説明する。
一般に量子化係数とデータ量との関係は、画像の種類により詳細は異なるが、量子化係数が増大するとデータ量は減少する。
量子化係数を固定した場合の、量子化係数とデータ量の関係を図4(a)に示す。画像によりデータ量は変化するが、画質は一定に保たれる。これが、可変レート符号化(1)である。
【0021】
データ量に上限を設けた場合の、量子化係数とデータ量の関係を図4(b)に示す。基本的に量子化係数は固定とするが、データ量が定めた上限を越えた場合は、データ量が定めた上限を超えないように、量子化係数を調整する。これが、制限付きの可変レート符号化(2)である。
【0022】
データ量を一定にした場合の、量子化係数とデータ量の関係を図4(c)に示す。画像により量子化係数は変化するが、記録レートは一定に保たれる。これが、固定レート符号化(3)である。
【0023】
本実施の形態では、これら3つのモードを操作部119より指示することで、ユーザが任意に符号化モードを設定可能としている。この時、レート制御部116は、設定された符号化モードとディスク118の記録残量とに応じて、残り記録時間を算出し、この残り時間の情報を表示部120に表示する。なお、ディスク120の残量については、ディスク120挿入時に不図示の再生手段によりディスク120から再生されたTOC(Table Of Contents)データにより検出可能である。
また、本実施形態では、(1)の符号化モードが選択されている場合、さらに、記録媒体の残量に応じて自動的に切りかえている。
【0024】
図5は、上記3つの記録レート制御方法を、記録媒体の使用率に応じて切り替えた場合の、記録媒体の使用率に対する記録レートの変化を示している。ここでは例えば、

Figure 0004208342
としている。
【0025】
上記のようにレートを制御すると、始めは画質優先で記録をしながらも、記録媒体の残量が減少し、記録レートの上限が定められることによって、最低限あと何分記録可能かをユーザが知ることができる。また、さらに残量が少なくなり、記録レートが固定になることによって、ユーザは残りの記録可能時間を正確に知ることができる。この時も、レート制御部は残りの記録可能時間の情報を表示部120に表示する。
【0026】
次に本発明の他の実施の形態としての記憶媒体について説明する。
本発明は、ハードウェア構成により実現することもできるが、CPUとメモリからなるコンピュータシステム構成により実現することもできる。コンピュータシステムに構成する場合、上記メモリは本発明によるコンピュータ読み取り可能な記憶媒体を構成する。
【0027】
即ち、上記実施の形態で説明した動作を実行するためのソフトウェアのプログラムコードを記憶した記憶媒体をシステムや装置で用い、そのシステムや装置のCPUが上記記憶媒体に格納されたプログラムコードを読み出し、実行することにより、本発明の目的を達成することができる。
【0028】
また、この記憶媒体としては、ROM、RAM等の半導体メモリ、光ディスク、光磁気ディスク、磁気媒体等を用いてよく、これらをCD−ROM、フロッピィディスク、磁気テープ、磁気カード、不揮発性メモリカード等に構成して用いてよい。
【0029】
従って、この記憶媒体を図1に示したシステムや装置以外の他のシステムや装置で用い、そのシステムあるいはコンピュータがこの記憶媒体に格納されたプログラムコードを読み出し、実行することによっても、上記実施の形態と同等の機能を実現できると共に、同等の効果を得ることができ、本発明の目的を達成することができる。
【0030】
また、コンピュータ上で稼働しているOS等が処理の一部又は全部を行う場合、あるいは記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された拡張機能ボードやコンピュータに接続された拡張機能ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づいて、上記拡張機能ボードや拡張機能ユニットに備わるCPU等が処理の一部又は全部を行う場合にも、上記実施の形態と同等の機能を実現できると共に、同等の効果を得ることができ、本発明の目的を達成することができる。
【0031】
【発明の効果】
以上説明したように、本発明によれば、画質を優先して記録しながらも、記録媒体の残量によっては、記録可能時間を正確に計算することが可能となる。特に、記録媒体の残量が少なくなった場合に、記録レートを一定にして記録することにより、ユーザが残りの記録可能時間を正確に把握することができ、より有効に記録媒体を利用することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態によるカメラ一体型画像記録装置を示すブロック図である。
【図2】画面入れ替えを説明するための構成図である。
【図3】符号化順序を示す構成図である。
【図4】レート制御を説明するための特性図である。
【図5】記録媒体の使用率に応じたレート制御を説明するための特性図である。
【符号の説明】
103 カメラ信号処理部
105 スイッチ
106 減算器
107 DCT部
108 量子化部
109 可変長符号化部
110 逆量子化部
111 IDCT部
112 加算器
113 動き補償予測部
114 スイッチ
115 バッファ
116 レート制御部
117 記録媒体[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image recording apparatus and method suitable for recording digital moving images, and a computer-readable storage medium used therefor.
[0002]
[Prior art]
In a conventional image recording apparatus for recording a digital moving image, a method of prioritizing a target recording time by recording on a recording medium at a constant recording rate by using inter-frame coding of a moving image, and recording at a variable rate There is a method of keeping the image quality constant by doing so.
[0003]
[Problems to be solved by the invention]
In the above conventional technique, when the target recording time to be recorded on the recording medium is prioritized and the recording rate is constant, quantization is performed when the input image moves fast or the color band is wide. There is a problem that the image becomes rough and the image is not uniform for each frame.
In addition, when the image quality is prioritized and the quantization table is fixed, there is a problem in that the recording time cannot be accurately calculated because the recording rate is not constant.
[0004]
The present invention has been made to solve the above-described problem, and an object of the present invention is to be able to calculate the recordable time according to the remaining amount of the recording medium while giving priority to the image quality.
[0005]
[Means for Solving the Problems]
Therefore, in order to solve such a problem, the present invention provides an encoding unit that encodes an input moving image signal, and a recording that records the encoded moving image data obtained by the encoding unit on a recording medium. Means for detecting the remaining capacity of the recording medium, and when the remaining capacity of the recording medium is greater than a predetermined amount, the recording mode of the encoded moving image data specifies the encoding mode of the encoding means When the first encoding mode that does not exceed the upper limit of the recording medium is set and the remaining capacity of the recording medium is smaller than a predetermined amount, the encoding mode of the encoding means is set to a recording rate of the encoded moving image data. Control means for setting the second encoding mode and calculating a time of a moving image recordable on the recording medium from the set encoding mode and the remaining capacity of the recording medium and displaying the time on the display device ; Provided And wherein the door.
[0006]
The present invention also relates to an image recording method in an image recording apparatus for recording encoded moving image data obtained by encoding an input moving image signal on a recording medium, and detecting a remaining capacity of the recording medium. And when the remaining capacity of the recording medium is greater than a predetermined amount, the encoding mode is set to a first encoding mode in which the recording rate of the encoded moving image data does not exceed a specific upper limit, and the recording When the remaining capacity of the medium is smaller than a predetermined amount, the encoding mode is set to a second encoding mode in which the recording rate of the encoded moving image data is constant, and the set encoding mode and the recording medium characterized by chromatic control step of displaying from the remaining capacity calculated display time of a moving picture that can be recorded on the recording medium.
[0007]
In addition, the present invention provides a computer , an encoding unit that encodes an input moving image signal, a recording unit that records encoded moving image data obtained by the encoding unit on a recording medium, and the recording medium Detecting means for detecting the remaining capacity of the recording medium, and when the remaining capacity of the recording medium is larger than a predetermined amount, the encoding mode of the encoding means is set so that the recording rate of the encoded moving image data does not exceed a specific upper limit. When the encoding mode is set to 1 and the remaining capacity of the recording medium is smaller than a predetermined amount, the encoding mode of the encoding unit is set to a second encoding mode in which the recording rate of the encoded moving image data is constant. Pro for and sets, to the control means for displaying the calculated display time of a moving picture that can be recorded on the recording medium and a remaining capacity of the set coding mode and the recording medium, thereby to function Characterized by a computer-readable remembers medium storing a ram.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a camera-integrated image recording apparatus according to an embodiment of the present invention.
In FIG. 1, 101 is a lens, 102 is an image sensor such as a CCD, 103 is a camera signal processing unit, 104 is a screen rearranging unit, 105 is a switch, 106 is a subtractor, 107 is a DCT unit, 108 is a quantization unit, 109 is a variable encoding unit, 110 is an inverse quantization unit, 111 is an IDCT unit, 112 is an adder, 113 is a motion compensation prediction unit, 114 is a switch, 115 is a buffer, 116 is a rate control unit, 117 is a recording circuit, Reference numeral 118 denotes a magneto-optical disk as a recording medium. Reference numeral 119 denotes an operation unit that issues a recording instruction and an encoding mode instruction.
[0009]
Next, the operation will be described.
An image input from the lens 101 is input to the camera signal processing unit 103 as a digital image signal for each frame by the image sensor 102. In the camera signal processing unit 103, a correction value is determined using the image signal, and the image data obtained by correcting the image signal is divided into a color difference signal and a luminance signal and input to the screen rearrangement unit 104 and the display unit 120 in units of one frame. To do. The screen rearrangement circuit 104 has a memory that can store a plurality of frames by changing the order of the input frames, and outputs the output by changing the order of the input frames.
[0010]
The screen rearrangement will be described with reference to FIG.
FIG. 2 shows an example of the order in which the screen rearrangement unit 104 rearranges.
The screen rearrangement unit 104 receives the first frame, the second frame, the third frame, and so on, and outputs the second frame, the third frame, the first frame, and so on.
Such screen rearrangement is necessary for performing intra coding and inter coding as shown in FIG.
[0011]
Intra coding is coding using only data in a frame, and is coding for generating the I picture of FIG. In addition, inter coding is coding including inter-frame prediction, and is coding for generating the P and B pictures in FIG.
[0012]
Next, intra coding and inter coding will be described.
In FIG. 1, when performing intra coding, the switch 105 is connected to the A side and the switch 114 is turned off. The image data output from the screen rearrangement unit 104 is input to the DCT unit 107 via the switch 105 and orthogonally transformed. The orthogonally transformed image data is quantized by the quantizing unit 108 according to the quantization coefficient determined by the rate control unit 116 according to the remaining amount of the recording medium 117. The quantized image data is input to the inverse quantization unit 110 and the variable length coding unit 109.
The image data output from the screen rearrangement unit 104 is also input to the motion compensation prediction unit 113.
[0013]
The quantized data is inversely quantized by the inverse quantization unit 110, subjected to IDCT (inverse orthogonal transform) by the IDCT unit 111, and the IDCT image data is input to the motion compensation prediction unit 113. The motion compensation prediction circuit 113 outputs a predicted image for the next inter coding.
[0014]
On the other hand, the quantized image data is input to the variable length encoding unit 109, subjected to variable length encoding, and input to the buffer 115. The image data in the buffer 115 is recorded on the recording medium 117.
[0015]
Next, in the case of inter coding, the switch 105 is connected to the B side. The image data output from the screen rearrangement unit 104 is input to the subtracter 106 via the switch 105, and the predicted image from the motion compensation prediction unit 113 is subtracted. This subtraction is performed in order to reduce redundancy in the time axis direction.
[0016]
The image data whose redundancy in the time axis direction is reduced by the subtracter 106 is input to the DCT unit 107 and orthogonally transformed. The orthogonally transformed image data is quantized by the quantizing unit 108 according to the quantization coefficient determined by the rate control circuit 116 according to the remaining amount of the recording medium 117. The quantized image data is input to the inverse quantization unit 110 and the variable length coding unit 109. The image data output from the screen rearrangement circuit 104 is input to the motion compensation prediction unit 113.
[0017]
The quantized data is dequantized by the dequantization unit 110 and IDCT is performed by the IDCT unit 111. The image data subjected to IDCT is directly input to the motion compensation unit 113 when the switch 2114 is turned off. When the switch 2114 is turned on, the adder 112 adds the predicted image from the motion compensation prediction unit 113 to a decoded image. This decoded image is input to the motion compensation prediction unit 113 for the next image encoding.
[0018]
The motion compensation prediction unit 113 outputs a predicted image and a motion vector. The motion vector is input to the variable length coding unit 109. In addition, a predicted image is output for the next inter coding.
[0019]
On the other hand, the quantized data is input to the variable length encoding unit 109, subjected to variable length encoding, and input to the buffer 115. The image data in the buffer 115 is subjected to error correction coding, digital modulation processing and the like by the recording circuit 117 and recorded on the disk 118.
[0020]
Next, rate control will be described with reference to FIG.
In general, the details of the relationship between the quantization coefficient and the data amount differ depending on the type of image, but the data amount decreases as the quantization coefficient increases.
FIG. 4A shows the relationship between the quantization coefficient and the data amount when the quantization coefficient is fixed. Although the amount of data varies depending on the image, the image quality is kept constant. This is variable rate coding (1).
[0021]
FIG. 4B shows the relationship between the quantization coefficient and the data amount when an upper limit is set for the data amount. Although the quantization coefficient is basically fixed, when the data amount exceeds the predetermined upper limit, the quantization coefficient is adjusted so that the data amount does not exceed the predetermined upper limit. This is limited variable rate coding (2).
[0022]
FIG. 4C shows the relationship between the quantization coefficient and the data amount when the data amount is constant. Although the quantization coefficient varies depending on the image, the recording rate is kept constant. This is fixed rate coding (3).
[0023]
In the present embodiment, the user can arbitrarily set the encoding mode by instructing these three modes from the operation unit 119. At this time, the rate control unit 116 calculates the remaining recording time according to the set encoding mode and the remaining recording capacity of the disk 118, and displays information on the remaining time on the display unit 120. The remaining amount of the disc 120 can be detected from TOC (Table Of Contents) data reproduced from the disc 120 by a reproducing means (not shown) when the disc 120 is inserted.
In the present embodiment, when the encoding mode (1) is selected, the mode is automatically switched according to the remaining amount of the recording medium.
[0024]
FIG. 5 shows changes in the recording rate with respect to the usage rate of the recording medium when the three recording rate control methods are switched according to the usage rate of the recording medium. Here, for example,
Figure 0004208342
It is said.
[0025]
When the rate is controlled as described above, the user can determine at least how many minutes can be recorded by setting the upper limit of the recording rate by reducing the remaining amount of the recording medium while initially recording with priority on image quality. I can know. Further, since the remaining amount is further reduced and the recording rate is fixed, the user can accurately know the remaining recordable time. Also at this time, the rate control unit displays the remaining recordable time information on the display unit 120.
[0026]
Next, a storage medium according to another embodiment of the present invention will be described.
The present invention can be realized by a hardware configuration, but can also be realized by a computer system configuration including a CPU and a memory. When configured in a computer system, the memory constitutes a computer-readable storage medium according to the present invention.
[0027]
That is, a storage medium storing a program code of software for executing the operation described in the above embodiment is used in a system or apparatus, and a CPU of the system or apparatus reads out the program code stored in the storage medium, By implementing it, the object of the present invention can be achieved.
[0028]
Further, as this storage medium, a semiconductor memory such as ROM and RAM, an optical disk, a magneto-optical disk, a magnetic medium, etc. may be used, and these may be a CD-ROM, floppy disk, magnetic tape, magnetic card, nonvolatile memory card, etc. It may be configured and used.
[0029]
Therefore, the above-described embodiment can also be realized by using this storage medium in another system or apparatus other than the system or apparatus shown in FIG. 1, and reading and executing the program code stored in this storage medium by the system or computer. A function equivalent to that of the embodiment can be realized, an equivalent effect can be obtained, and the object of the present invention can be achieved.
[0030]
Further, when an OS or the like running on the computer performs part or all of the processing, or an extended function board in which a program code read from a storage medium is inserted into the computer or an extended function connected to the computer Even when the CPU or the like provided in the extension function board or extension function unit performs part or all of the processing based on the instruction of the program code after being written in the memory provided in the unit, it is equivalent to the above embodiment. In addition to realizing the above functions, the same effect can be obtained and the object of the present invention can be achieved.
[0031]
【The invention's effect】
As described above, according to the present invention, it is possible to accurately calculate the recordable time depending on the remaining amount of the recording medium while recording with priority on image quality. In particular, when the remaining amount of the recording medium is low, by recording at a constant recording rate, the user can accurately grasp the remaining recordable time and use the recording medium more effectively. Can do.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a camera-integrated image recording apparatus according to an embodiment of the present invention.
FIG. 2 is a configuration diagram for explaining screen replacement.
FIG. 3 is a configuration diagram illustrating an encoding order.
FIG. 4 is a characteristic diagram for explaining rate control.
FIG. 5 is a characteristic diagram for explaining rate control according to the usage rate of a recording medium.
[Explanation of symbols]
103 Camera Signal Processing Unit 105 Switch 106 Subtractor 107 DCT Unit 108 Quantization Unit 109 Variable Length Coding Unit 110 Inverse Quantization Unit 111 IDCT Unit 112 Adder 113 Motion Compensation Prediction Unit 114 Switch 115 Buffer 116 Rate Control Unit 117 Recording Medium

Claims (7)

入力された動画像信号を符号化する符号化手段と、
前記符号化手段により得られた符号化動画像データを記録媒体に記録する記録手段と、
前記記録媒体の残容量を検出する検出手段と、
前記記録媒体の残容量が所定量より大きいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが特定の上限を超えない第1の符号化モードに設定し、前記記録媒体の残容量が所定量より小さいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが一定の第2の符号化モードに設定するとともに、前記設定した符号化モードと前記記録媒体の残容量とから前記記録媒体に記録可能な動画像の時間を算出し表示装置に表示させる制御手段と、
を設けたことを特徴とする画像記録装置。
Encoding means for encoding the input video signal ;
Recording means for recording the encoded moving image data obtained by the encoding means on a recording medium;
Detecting means for detecting a remaining capacity of the recording medium;
When the remaining capacity of the recording medium is larger than a predetermined amount, the encoding mode of the encoding means is set to a first encoding mode in which the recording rate of the encoded moving image data does not exceed a specific upper limit, When the remaining capacity of the recording medium is smaller than a predetermined amount, the encoding mode of the encoding means is set to a second encoding mode in which the recording rate of the encoded moving image data is constant, and the set encoding Control means for calculating the time of a moving image recordable on the recording medium from the mode and the remaining capacity of the recording medium and displaying the time on the display device ;
An image recording apparatus comprising:
前記符号化手段は、前記入力された動画像信号を直交変換及び量子化した後、号化することを特徴とする請求項1記載の画像記録装置。 Said encoding means, after orthogonal transformation and quantization of the motion image signal the input, image recording apparatus according to claim 1, characterized in that the sign-reduction. 前記符号化手段は、量子化ステップを変化させることにより前記記録レートを制御することを特徴とする請求項記載の画像記録装置。 It said encoding means, an image recording apparatus according to claim 2, wherein the controller controls the recording rate by Rukoto changing the quantization step. 前記動画像信号は、撮像手段で撮像した動画像信号であることを特徴とする請求項1乃至3の何れか1項に記載の画像記録装置。 The moving image signal, an image recording apparatus according to any one of claims 1 to 3, characterized in that a moving image signal captured by the imaging means. 前記第1の符号化モードと前記第2の符号化モードのうち任意の符号化モードをマニュアル指示する指示手段を更に備え、
前記制御手段は、前記指示手段の指示に応じて符号化モードを選択することを特徴とする請求項1乃至4の何れか1項に記載の画像記録装置。
Further comprising an instruction means for manually instructing an arbitrary coding mode of said first encoding mode and the second encoding mode,
Said control means, an image recording apparatus according to any one of claims 1 to 4, characterized in that selecting the coding mode in response to an instruction of said instruction means.
入力された動画像信号を符号化して得られた符号化動画像データを記録媒体に記録する画像記録装置における画像記録方法であって、
前記記録媒体の残容量を検出する検出ステップと、
前記記録媒体の残容量が所定量より大きいときは、符号化モードを前記符号化動画像データの記録レートが特定の上限を超えない第1の符号化モードに設定し、前記記録媒体の残容量が所定量より小さいときは、符号化モードを前記符号化動画像データの記録レートが一定の第2の符号化モードに設定するとともに、前記設定した符号化モードと前記記録媒体の残容量とから前記記録媒体に記録可能な動画像の時間を算出し表示装置に表示させる制御ステップと、
を有することを特徴とする画像記録方法。
An image recording method in an image recording apparatus for recording encoded moving image data obtained by encoding an input moving image signal on a recording medium,
A detection step of detecting a remaining capacity of the recording medium;
When the remaining capacity of the recording medium is larger than a predetermined amount, the encoding mode is set to a first encoding mode in which the recording rate of the encoded moving image data does not exceed a specific upper limit, and the remaining capacity of the recording medium Is smaller than a predetermined amount, the encoding mode is set to the second encoding mode in which the recording rate of the encoded moving image data is constant, and the set encoding mode and the remaining capacity of the recording medium are used. A control step of calculating a time of a moving image that can be recorded on the recording medium and displaying the time on a display device;
Image recording method characterized by have a.
コンピュータを、
入力された動画像信号を符号化する符号化手段と、
前記符号化手段により得られた符号化動画像データを記録媒体に記録する記録手段と、
前記記録媒体の残容量を検出する検出手段と、
前記記録媒体の残容量が所定量より大きいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが特定の上限を超えない第1の符号化モードに設定し、前記記録媒体の残容量が所定量より小さいときは、前記符号化手段の符号化モードを前記符号化動画像データの記録レートが一定の第2の符号化モードに設定するとともに、前記設定した符号化モードと前記記録媒体の残容量とから前記記録媒体に記録可能な動画像の時間を算出し表示装置に表示させる制御手段と、
して機能させるためのプログラムを記憶したコンピュータ読み取り可能な記媒体。
The computer,
Encoding means for encoding the input video signal;
Recording means for recording the encoded moving image data obtained by the encoding means on a recording medium;
Detecting means for detecting a remaining capacity of the recording medium;
When the remaining capacity of the recording medium is larger than a predetermined amount, the encoding mode of the encoding means is set to a first encoding mode in which the recording rate of the encoded moving image data does not exceed a specific upper limit, When the remaining capacity of the recording medium is smaller than a predetermined amount, the encoding mode of the encoding means is set to a second encoding mode in which the recording rate of the encoded moving image data is constant, and the set encoding Control means for calculating the time of a moving image recordable on the recording medium from the mode and the remaining capacity of the recording medium and displaying the time on the display device;
Computer readable remembers medium storing a program for operating with.
JP13393599A 1999-05-14 1999-05-14 Image recording apparatus, method, and computer-readable storage medium Expired - Fee Related JP4208342B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13393599A JP4208342B2 (en) 1999-05-14 1999-05-14 Image recording apparatus, method, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13393599A JP4208342B2 (en) 1999-05-14 1999-05-14 Image recording apparatus, method, and computer-readable storage medium

Publications (3)

Publication Number Publication Date
JP2000324449A JP2000324449A (en) 2000-11-24
JP2000324449A5 JP2000324449A5 (en) 2006-06-15
JP4208342B2 true JP4208342B2 (en) 2009-01-14

Family

ID=15116519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13393599A Expired - Fee Related JP4208342B2 (en) 1999-05-14 1999-05-14 Image recording apparatus, method, and computer-readable storage medium

Country Status (1)

Country Link
JP (1) JP4208342B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4631629B2 (en) * 2004-09-15 2011-02-16 株式会社ニコン Electronic camera and image processing program
EP1681865A1 (en) 2005-01-12 2006-07-19 Thomson Licensing Method for pre-programmed recording
US8634458B2 (en) 2005-02-23 2014-01-21 Canon Kabushiki Kaisha Image processing apparatus
JP4794987B2 (en) * 2005-11-09 2011-10-19 キヤノン株式会社 Video signal processing device

Also Published As

Publication number Publication date
JP2000324449A (en) 2000-11-24

Similar Documents

Publication Publication Date Title
CN100388775C (en) Digital camera, memory control device, image processing apparatus and method thereof
JPH0537915A (en) Image signal encoding method and image signal encoding apparatus
JP3592025B2 (en) Captured image recording device
US8208538B2 (en) Signal processing apparatus
JP4208342B2 (en) Image recording apparatus, method, and computer-readable storage medium
JP2018082251A (en) Imaging apparatus, image processing method, and program
JP4280363B2 (en) Image processing device
JP4289727B2 (en) Image encoding apparatus, method, and computer-readable storage medium
JP2004180345A (en) Captured image recording device
JP4700992B2 (en) Image processing device
JPH0537901A (en) Image recorder
US7120304B2 (en) Image data compressing apparatus
JP3809299B2 (en) Image recording apparatus and image recording method
JP4006139B2 (en) Image processing apparatus, method, and computer-readable storage medium
JPH0541806A (en) Picture recorder
JP2008199521A (en) Image processing apparatus and method
JP2009081727A (en) Image coding apparatus, control method therefor, and program
JP2001320653A (en) Image decoding device and image decoding method
JP2005130362A (en) Imaging device
JP2001086510A (en) Image processing apparatus, method, and computer-readable storage medium
JP2990696B2 (en) Video decoding device
JP2001094937A (en) Image recording apparatus and method, and storage medium
JP3809301B2 (en) Playback apparatus and playback method
JP2007109329A (en) Image data recording apparatus, image data reproducing apparatus, image data recording method, program, and recording medium
JP3880892B2 (en) Video recording / playback device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060427

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080708

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080905

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: 20081007

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: 20081021

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: 20111031

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees