JPH03267863A - Recorder - Google Patents

Recorder

Info

Publication number
JPH03267863A
JPH03267863A JP2066112A JP6611290A JPH03267863A JP H03267863 A JPH03267863 A JP H03267863A JP 2066112 A JP2066112 A JP 2066112A JP 6611290 A JP6611290 A JP 6611290A JP H03267863 A JPH03267863 A JP H03267863A
Authority
JP
Japan
Prior art keywords
data
recording
image
recording medium
amount
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.)
Pending
Application number
JP2066112A
Other languages
Japanese (ja)
Inventor
Masato Kosugi
小杉 真人
Migaku Yamagami
山上 琢
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 JP2066112A priority Critical patent/JPH03267863A/en
Priority to EP03076983A priority patent/EP1353494A3/en
Priority to DE69133320T priority patent/DE69133320T2/en
Priority to EP99200168A priority patent/EP0917350B1/en
Priority to DE69131542T priority patent/DE69131542T2/en
Priority to EP91302265A priority patent/EP0448311B1/en
Publication of JPH03267863A publication Critical patent/JPH03267863A/en
Priority to US08/465,715 priority patent/US5903677A/en
Priority to US09/892,400 priority patent/US20010035981A1/en
Priority to US10/455,400 priority patent/US7130074B2/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To store information continuously in a storage means as required by providing the storage means storing in advance the information to be stored in a recording means in response to the comparison between an unrecored quantity of the recording means and a code quantity to be recorded. CONSTITUTION:A control section 7 stores a video signal converted into a digital signal to a picture memory 4, reads a picture signal and compressed by a coding circuit 5, a counter circuit 16 counts a data subject to compression coding, the compressed code quantity and an idle capacity of a recording medium in a recorder 6 are compared and when the idle capacity is enough, the picture signal is read again from the memory 4 and the compression coding is implemented, the data is outputted to the recorder 6 and a gate 18 is controlled for the recording. Thus, the stable recording to the recording medium estimating the total code quantity is warranted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像信号をディジタルデータに変換し圧縮符
号化して記録する画像記録装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image recording apparatus that converts an image signal into digital data, compresses and encodes the data, and records the data.

〔従来の技術〕[Conventional technology]

従来の画像記録装置、例えばスチルビデオカメラは、フ
ロッピーディスクにアナログ記録する方式であったり、
半導体メモリカードに固定長符号化方式によって圧縮し
たディジタル画像データを記録するものであった。固定
長符号化とは一画面分の圧縮符号量がある固定された値
になるように圧縮符号化する方式である。
Conventional image recording devices, such as still video cameras, record analog data on floppy disks,
Digital image data compressed using a fixed length encoding method was recorded on a semiconductor memory card. Fixed length encoding is a method of compressing and encoding so that the amount of compressed codes for one screen becomes a fixed value.

〔発明が解決しようとしている課題〕[Problem that the invention is trying to solve]

そのような従来の画像信号記録方式では、一画面の画像
データを記録するのに必要な記録媒体の容量は決まって
いるから、記録媒体の総記録枚数を保証することができ
た。
In such conventional image signal recording systems, the capacity of the recording medium required to record one screen of image data is fixed, so the total number of recording media can be guaranteed.

しかしながら、固定長符号化方式により画像データを圧
縮するデイジタルスチルビデオカメラにおいて、様々な
画像データに対してその圧縮画像の画質を保証するため
には限界があり、例えば経験的には輝度、色情報合わせ
て8bit/pixel程度までしか圧縮できない。一
方、符号化方式を可変長にすると画質を保証して効率よ
く圧縮することが可能である。可変長符号化とは発生す
る符号の長さが画像に依存して変化することを許す符号
化方式であり、経験的に画質を保証した上で輝度、色情
報含めて例えば2〜4bit/pixe+の符号化率が
得られる。但し、このとき画像によって総符号量が変わ
ってしまうので、記録媒体の安定した記録を保証するこ
とはできない。
However, in a digital still video camera that compresses image data using a fixed length encoding method, there are limits to guaranteeing the image quality of the compressed image for various image data. In total, it can only be compressed to about 8 bits/pixel. On the other hand, if the encoding method is variable length, image quality can be guaranteed and compression can be performed efficiently. Variable length encoding is an encoding method that allows the length of the generated code to change depending on the image, and after guaranteeing the image quality empirically, the length of the generated code is, for example, 2 to 4 bits/pixel+ including brightness and color information. A coding rate of is obtained. However, since the total code amount changes depending on the image at this time, stable recording on the recording medium cannot be guaranteed.

本発明はかかる点を解消することを目的とする。The present invention aims to solve this problem.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は上述の目的を達成するため記憶手段の記憶可能
容量についての情報を発生する発生手段、前記記憶手段
に記憶させるデータを予め保持する保持手段、前記保持
手段に保持されたデータを可変長符号化した際のデータ
量を示す信号を発生する手段、前記発生手段により発生
された情報と前記データ量との比較に応じて前記保持手
段を制御する手段とを有する。
In order to achieve the above-mentioned objects, the present invention provides a generating means for generating information about the storage capacity of a storage means, a holding means for holding in advance data to be stored in the storage means, and a variable length storage means for storing data held in the holding means. It has means for generating a signal indicating the amount of data when encoded, and means for controlling the holding means in accordance with a comparison between the information generated by the generating means and the amount of data.

〔実施例〕〔Example〕

第1図は本発明の一実施例の構成を示すブロック図であ
る。なお本発明に直接関係しないカメラの他の部分、例
えば絞り、シャッタ等は勿論設けられている。第1図に
おいてレンズ1により捕えられた被写体の光学像は後方
に位置する撮像デバイス22例えばCharge−Co
upledDevice (CCD)によって映像電気
信号に変換される。撮像デバイス2は制御部7によって
与えられる制御信号に応盃゛シて被写体の光学像に対応
する電荷の蓄積、映像信号の読み出しを行う。読み出さ
れた映像信号は、A/D変換器3によってディジタル信
号に変換される。なお撮像デバイス2とA/D変換器3
との間には、図示はしていないが、ガンマ補正色信号の
形成分離、ホワイトバランス処理等の映像信号を調整す
る手段等が設けられる。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. Note that other parts of the camera that are not directly related to the present invention, such as an aperture and a shutter, are of course provided. In FIG. 1, the optical image of the subject captured by the lens 1 is captured by an imaging device 22 located at the rear, such as a Charge-Co
It is converted into a video electrical signal by an upgraded device (CCD). The imaging device 2 stores charges corresponding to an optical image of a subject and reads out a video signal in response to a control signal given by a control section 7. The read video signal is converted into a digital signal by the A/D converter 3. Note that the imaging device 2 and A/D converter 3
Although not shown, means for adjusting the video signal, such as forming and separating gamma-corrected color signals and performing white balance processing, is provided between the two.

ディジタル信号に変換された映像信号は画像メモリ4に
蓄えられる。
The video signal converted into a digital signal is stored in the image memory 4.

圧縮符号化装置5は画像メモリ4から読み出される画像
データを圧縮符号化し記録装置6に出力する。尚、制御
部7は記録装置6を通じて例えばMS−DOSのコマン
ドによって記録再生を制御する様に構成されている。圧
縮方式としては、例えば“公開特許公報昭63−124
680号符号化方式”に記載されているような可変長符
号或いは、例えば画像信号をDCT変換し、その後にエ
ントロピー符号化を行う様な可変長符号を発生する圧縮
方式を実行する。
The compression encoding device 5 compresses and encodes the image data read from the image memory 4 and outputs it to the recording device 6. The control unit 7 is configured to control recording and reproduction through the recording device 6 using, for example, MS-DOS commands. As a compression method, for example, "Unpublished Patent Publication 1986-124"
For example, a compression method that generates a variable length code such as that described in "No. 680 Encoding Method" or a variable length code that performs DCT transformation on an image signal and then performs entropy encoding is executed.

又、圧縮符号を記録装置6に出力せずに圧縮符号量を計
数する機能を持つ。かかる機能のため第1図に示す回路
では圧縮符号化されたデータを記録装置6に出力する前
に符号量を計数する計数回路16を有している。
It also has a function of counting the amount of compressed codes without outputting the compressed codes to the recording device 6. For such a function, the circuit shown in FIG. 1 includes a counting circuit 16 for counting the amount of code before outputting the compression-encoded data to the recording device 6.

記録装置6は例えば半導体メモリ或いはテープ状記録媒
体を有し制御部と情報のやりとりができ、任意のディジ
タルデータについて記録媒体上の任意の物理アドレスへ
の書き込み、読み出しができる。又、記録媒体の空容量
を計数する機能を持つ。
The recording device 6 has, for example, a semiconductor memory or a tape-shaped recording medium, and can exchange information with a control section, and can write and read arbitrary digital data to and from an arbitrary physical address on the recording medium. It also has a function to count the free space on the recording medium.

制御部7は装置2〜6までの機能を制御し全体の機能を
統合する。特に記録装置を通じて記録媒体における画像
データファイルの管理を行なうことができる。
The control unit 7 controls the functions of the devices 2 to 6 and integrates the overall functions. In particular, image data files on a recording medium can be managed through the recording device.

すなわち制御部7は、計算機システムにおいて実装され
ているDO3(Disk  Opera−ting  
System)が行っているようにファイル情報を記録
媒体上の物理アドレスに結びつける働きをする。従って
制御部7は記録媒体上にファイル(=画像圧縮データ)
がどのように記録されているかを管理でき、従って空容
量も管理できる。もし圧縮符号を少量の記録単位で複数
個に分割して格納する必要があるならば、制御部は記録
単位ごとに媒体上の物理アドレスとデータ長を指定して
記録装置6に圧縮符号を記録させる。
That is, the control unit 7 is a DO3 (Disk Operating) implemented in the computer system.
It functions to link file information to a physical address on a recording medium, similar to what the System does. Therefore, the control unit 7 stores a file (=image compressed data) on the recording medium.
You can manage how your data is recorded, and therefore you can also manage your free space. If it is necessary to divide the compressed code into multiple small recording units and store them, the control unit specifies the physical address and data length on the medium for each recording unit and records the compressed code in the recording device 6. let

制御部7は一つの画像ファイルが記録媒体上の複数個の
位置に配置するとき、どのように配置されたかを示す情
報も記録媒体上に記録させる。
When one image file is placed at a plurality of positions on the recording medium, the control unit 7 also causes information indicating how the image file is placed to be recorded on the recording medium.

MMIF(マンマシーンインターフェース)8は、レリ
ーズ(SWI、5W2)その他の後述のスイッチを動作
するための操作部材9及びFinder内表示、外部L
CD表示、ブザー等の表示装置10を含む。
The MMIF (man-machine interface) 8 includes an operating member 9 for operating the release (SWI, 5W2) and other switches described below, a display in the Finder, and an external L.
It includes a display device 10 such as a CD display and a buzzer.

実際に撮影する際の撮影可能枚数の表示は以下の手順で
行われる。
The number of shots that can be taken during actual shooting is displayed in the following steps.

かかる手順について第3図のフローチャートを用いて説
明する。
This procedure will be explained using the flowchart shown in FIG.

■まず、フローチャートの最初においては制御部7は記
録装置6に対してDIR,CHKDSKというコマンド
を出力し空き容量を記録装置から出力させる(Sl)。
(2) First, at the beginning of the flowchart, the control unit 7 outputs commands DIR and CHKDSK to the recording device 6 to cause the recording device to output the free space (Sl).

撮影にあたりシャッターボタンが半押しくSWI  O
N)の状態になったら、制御部はレンズ1を駆動しピン
ト合わせを行い、絞り、シャッターなどを動作させ、撮
像デバイスを露光(S5)して画像情報をメモリ取り込
み(S7)圧縮符号化(S9)までの作業を行わせる。
When taking a picture, press the shutter button halfway SWI O
N), the control unit drives the lens 1 to focus, operates the diaphragm, shutter, etc., exposes the imaging device (S5), and captures the image information into memory (S7), compresses and encodes it ( Have them perform the work up to S9).

そして圧縮符号計数回路16により画像データの符号量
を計数させる。一方で記録装置によって空容量を計数さ
せ両者の値から、これから撮影しようとする画像に対す
る撮影可能枚数を計算する(S11)。例えば空容量を
画像データの符号量に依り除算することによって撮影可
能枚数を計算する。そしてその計算によって得られた値
をファインダー内に設けられた表示装置10により使用
者に知らせる(S 13)。かかる表示はSWIをオン
している間継続する(S15,517)。もちろん実際
に撮影、記録される画像は、さらにシャッターボタンを
深く押した時にはS17からS19.S21.S23に
フローは分岐し、前述の85.S7.S9と同様のステ
ップが実行され、あらためて取り込まれる。
Then, the compression code counting circuit 16 counts the code amount of the image data. On the other hand, the free space is counted by the recording device, and from both values, the number of images that can be taken from now on is calculated (S11). For example, the number of images that can be taken is calculated by dividing the free space by the code amount of image data. The value obtained by the calculation is then notified to the user through the display device 10 provided in the finder (S13). This display continues while the SWI is turned on (S15, 517). Of course, the images that are actually taken and recorded will change from S17 to S19 when the shutter button is pressed even further. S21. The flow branches to S23, and the above-mentioned 85. S7. A step similar to S9 is executed and the data is imported again.

■連写モードを選択しない場合にはS25からフローは
S3へ分岐し、選択した場合、連写が進むにつれ記録媒
体の空容量は減り、一画面の画像データの符号量も変化
することが考えられるから、連写の1コマ目を記録して
からは、一画面の記録が終了するごとに空容量と次に記
録する画像符号量の計数を行ない(S23)、減少して
ゆく撮影可能枚数をファインダー内に連続的に表示する
(S 29)。
■If continuous shooting mode is not selected, the flow branches from S25 to S3; if it is selected, as continuous shooting progresses, the free space on the recording medium will decrease, and the amount of code for one screen of image data will change. Therefore, after recording the first frame of continuous shooting, each time the recording of one screen is completed, the free space and the amount of image code to be recorded next are counted (S23), and the number of possible shots decreases. are displayed continuously in the finder (S29).

即ち本実施例においてはSW2が押し続けられておりか
つ連続記録モードを選択している場合、画像を次々と露
光してメモリへ取り込み、符号化、記録を行う。その時
には、直前に記録した画像の符号量とその時の記録媒体
の空容量から残り記録可能枚数を計算して減少残り記録
可能枚数をファインダー内に連続的に逐次表示する。
That is, in this embodiment, when SW2 is kept pressed and the continuous recording mode is selected, images are exposed one after another, taken into the memory, encoded, and recorded. At that time, the remaining recordable number is calculated from the code amount of the image recorded immediately before and the free space of the recording medium at that time, and the reduced remaining recordable number is continuously displayed in the finder.

次に第3図におけるS21.S23のステップにおける
詳しいフローチャートについて第4図を用いて説明する
Next, S21 in FIG. A detailed flowchart of step S23 will be explained using FIG. 4.

第4図は第1図におけるS23、即ちメモリ4に画像デ
ータを記憶した後に行われる動作を示す。
FIG. 4 shows the operation performed after S23 in FIG. 1, that is, the image data is stored in the memory 4.

第4図において、まずメモリ4に書き込まれた画像信号
を読み出して符号化回路5により圧縮符号化を行い、計
数回路16によって圧縮符号化されたデータの計数を行
い(S41)、該圧縮符号量と記録装置6内の記録媒体
の空容量との比較を行い(S43)、空容量が充分あれ
ば再びメモリ4から画像信号を読み出し圧縮符号化を行
って、記録装置6にデータを出力し、記録を行う様にゲ
ート18を制御する。
In FIG. 4, first, the image signal written in the memory 4 is read out and compressed and encoded by the encoding circuit 5, and the compression encoded data is counted by the counting circuit 16 (S41). and the free space of the recording medium in the recording device 6 (S43), and if there is enough free space, the image signal is read out from the memory 4 again, compressed and encoded, and the data is output to the recording device 6. The gate 18 is controlled to perform recording.

この場合制御部7は画像メモリ4に対して画像データの
読み出し、圧縮符号化回路5に対して圧縮符号の出力記
録装置6に対して圧縮符号の記録及びゲート18へ、ゲ
ート開を指示する。記録装置6に対しては記録単位ごと
に媒体上の物理アドレスとデータ長を指定して圧縮符号
を記録させるようにする。記録装置6は制御部7から記
録の指示がない限りは圧縮符号化回路5に対してデータ
の出力を要求しないので圧縮符号化回路5、画像メモリ
4の動作は中断される。従って制御部7は、記録装置に
対して、ファイルフォーマットに従いながら記録単位ご
とに媒体上の物理アドレスとデータ長を指定し、記録動
作を指示してゆくことによって圧縮符号化回路5、画像
メモリ4の動作をコントロールしながら記録を行うこと
ができる。
In this case, the control unit 7 instructs the image memory 4 to read the image data, the compression encoding circuit 5 to output the compressed code, the recording device 6 to record the compressed code, and the gate 18 to open the gate. The recording device 6 is configured to record a compression code by specifying a physical address on the medium and a data length for each recording unit. Since the recording device 6 does not request the compression encoding circuit 5 to output data unless there is a recording instruction from the control section 7, the operations of the compression encoding circuit 5 and the image memory 4 are interrupted. Therefore, the control unit 7 specifies the physical address and data length on the medium for each recording unit according to the file format, and instructs the recording device to perform the recording operation, thereby controlling the compression encoding circuit 5 and the image memory 4. You can record while controlling the movements of the

全ての圧縮符号が記録された時点で記録動作は完了する
The recording operation is completed when all compressed codes are recorded.

尚、第2図は上述した制御部7と記録装置6との間の通
信手順を示す図である。
Incidentally, FIG. 2 is a diagram showing a communication procedure between the control section 7 and the recording device 6 described above.

第2図においてD−Regは記録装置6から制御部7へ
のデータの出力要求であり、D−Ackは圧縮符号化回
路5から記録装置6へ出力されているデータが有効であ
ることを示す信号であり、制御部7から記録装置6へ出
力されている。
In FIG. 2, D-Reg is a data output request from the recording device 6 to the control unit 7, and D-Ack indicates that the data being output from the compression encoding circuit 5 to the recording device 6 is valid. This signal is output from the control section 7 to the recording device 6.

Data  Do−Dlは圧縮符号化回路5から記録装
置6へ出力される8ビツトパラレルのデータ出力である
Data Do-Dl is 8-bit parallel data output from the compression encoding circuit 5 to the recording device 6.

第2図においては制御部7と記録袋M6とが互いにD−
ReqSD−Ackをやり取りしながらデータを1バイ
ト毎に出力する状態を示す。
In FIG. 2, the control unit 7 and the recording bag M6 are mutually D-
This shows a state in which data is output byte by byte while exchanging ReqSD-Ack.

第2図においてデータを受は取る側、即ち記録装置6(
以下 Receiver)は信号り−ReqをHigh
からLowにすることにより、データを出力する側、即
ち符号化回路5(以下Transmitter)にデー
タを出力することを要求する。Transmi t t
 e rはDReqがLoWになったことを検知すると
データバス(Do〜D?)上にデータを出力し、値が確
定した時点でD−AckをHighからLowにする。
In FIG. 2, the side that receives and receives data, that is, the recording device 6 (
Below, Receiver) sets the signal - Req to High.
By setting the signal to Low, the data output side, that is, the encoding circuit 5 (hereinafter referred to as a transmitter) is requested to output data. Transmi t t
When e r detects that DReq becomes Low, it outputs data on the data bus (Do to D?), and changes D-Ack from High to Low when the value is determined.

ReceiverはD−AckがLowになった時点で
データバス上の信号を引きとり、D−ReqをHi g
 hにもどす。Trans−m i t t e rは
D−ReqがHighになった時点でデータバス上への
出力をやめ、かつDAckをHighにもどす。
The Receiver takes over the signal on the data bus when D-Ack goes Low, and sets D-Req High.
Return to h. The trans-mitter stops outputting onto the data bus when D-Req becomes high, and returns DAck to high.

以上のReq−AckのハンドシェイクによつてTra
nsmitter、Receiver双方の都合に合わ
せてデータの転送が行われる。
By the above Req-Ack handshake, Tra
Data transfer is performed according to the convenience of both the nsmitter and the receiver.

従って圧縮符号化回路5は固定の転送レートで圧縮符号
を発生する必要はな(、画像の内容によって符号長が変
化することは何の問題も引き起さない。
Therefore, the compression encoding circuit 5 does not need to generate compression codes at a fixed transfer rate (and the fact that the code length changes depending on the content of the image does not cause any problems).

又、S43において847にフローが分岐する場合には
制御部はマンマシンインタフェース8のうちのファイン
ダ内表示警告装置10に対して、記録媒体の空容量が足
りないために記録ができないでいることを表示させて、
ユーザに対し、次の3つの処理のどれかを選択するよう
に促す。
Further, when the flow branches to 847 in S43, the control unit notifies the finder display warning device 10 of the man-machine interface 8 that recording is not possible due to insufficient free space on the recording medium. Display it,
Prompt the user to select one of the following three processes.

即ち (1)記録動作を中止する (2)記録媒体を交換する (3)現在装着されている記録媒体中の画像ファイルの
うち1つを消去する。
That is, (1) stop the recording operation, (2) replace the recording medium, and (3) erase one of the image files on the currently installed recording medium.

このため制御部7はS49.S51.S53のステップ
を実行する。
For this reason, the control unit 7 performs S49. S51. Execute step S53.

(1)がユーザによって選択された場合、S49から全
ての動作は中止される。
If (1) is selected by the user, all operations are stopped from S49.

(2)がユーザによって選択された場合、つまり記録装
置6が媒体の交換を検知して制御部7にそれを報告した
場合、S43の処理へ戻る。
If (2) is selected by the user, that is, if the recording device 6 detects the replacement of the medium and reports it to the control unit 7, the process returns to S43.

(3)がユーザによって選択された場合、制御部7は表
示装置10に何枚の画像が存在するかを表示しく555
)、何番目の画像を消去するかをユーザに入力させるよ
う促す。ユーザが操作スイッチを用いて消去すべき画像
の番号を入力する(S 57)と、制御部7はその画像
ファイルを消去しく559) 、S43へ戻る。
When (3) is selected by the user, the control unit 7 displays how many images are present on the display device 10 555
), prompting the user to enter which image to delete. When the user inputs the number of the image to be deleted using the operation switch (S57), the control unit 7 deletes the image file (559), and returns to S43.

尚、媒体が交換されたことを検知するためには、特開昭
61−182669号公報に示されているように、記録
部がメカ的に交換の有無を検知するような方式でもよい
。制御部7は記録装置6を介して、かかる有無の情報に
ついてアクセスできる。
In order to detect that the medium has been replaced, a method may be used in which the recording section mechanically detects whether or not the medium has been replaced, as disclosed in Japanese Patent Application Laid-Open No. 182669/1983. The control unit 7 can access information on the presence/absence of such information via the recording device 6.

以上説明した第4図のフローチャートへ制御によれば可
変長の符号を発生する圧縮方式を用いてもユーザにとっ
て画像の記録が何らかの形で保証されるため使い勝手の
良く、かつ画質を保証できるシステムを提供できる。
According to the control shown in the flowchart of FIG. 4 explained above, even if a compression method that generates variable length codes is used, image recording is guaranteed for the user in some way, so a system that is easy to use and can guarantee image quality is created. Can be provided.

次に第5図を用いて第3図のSll、S13において実
行される撮影可能枚数の表示方法について説明する。
Next, using FIG. 5, a method of displaying the number of shots that can be taken, which is executed in Sll and S13 in FIG. 3, will be explained.

制御部7は、例えば前述した空容量検出のためのコマン
ドを出力し、記録装置6により計数させた記録媒体の空
容量を計数させ(S61)、あらかじめ記憶していた可
変長符号化方式の圧縮率の代表値と空容量から記録媒体
にあと何枚の画像データが記録できるかを計算する(S
63)。
The control unit 7 outputs, for example, the above-mentioned command for detecting free space, causes the recording device 6 to count the free space of the recording medium (S61), and performs compression using the variable length encoding method stored in advance. Calculate how many more pieces of image data can be recorded on the recording medium from the representative value of the rate and the free space (S
63).

符号化方式として例えば“公開特許公報昭63−124
680号符号化方式”の方法を採用すると、符号長は平
均2bit/ピクセル、悪くても4.5bit/ピクセ
ル程度であるから、S65において平均符号長2bit
/ビクセルで計算した撮影可能枚数を標準残り枚数とし
、4.5bit/ビクセルで計算した撮影可能枚数を最
低保証枚数として、両者を表示装置8に表示する。
For example, the encoding method is
680 encoding method, the code length is on average 2 bits/pixel, at worst about 4.5 bits/pixel, so in S65 the average code length is 2 bits/pixel.
The number of shootable images calculated by /pixel is set as the standard remaining number of images, and the number of shootable images calculated by 4.5 bits/pixel is set as the minimum guaranteed number of images, and both are displayed on the display device 8.

かかる表示は一方だけを行ってもよりことは勿論である
。表示装置8は、例えばLiquidCrystal 
 Display(LCD)やLight−Emitt
ing  D  i  o  d  e(LED)など
がよく、カメラ上部やファインダー内のどちらか、もし
くは両方に表示できるものとする。
Of course, such display may be performed by performing only one display. The display device 8 is, for example, Liquid Crystal.
Display (LCD) and Light-Emitt
It is preferable to use an LED (LED) or the like, which can be displayed on the top of the camera, in the viewfinder, or both.

以上説明した本実施例では、記録媒体の空容量を計数す
る手段を持ち、可変長符号化における圧縮符号量の代表
値を記憶しておくことにより、計数した空容量と符号量
の代表値から記録媒体の撮影可能枚数を計算できる機能
を有し、計算によって得られた撮影可能枚数の情報を表
示する手段を持つことにより、記録媒体の撮影可能な画
面数の標準値と最低保証値のどちらか、あるいは両方を
表示することのできる可変長符号化ディジタル画像記録
装置が示される。
The present embodiment described above has means for counting the free space of the recording medium, and by storing the representative value of the compressed code amount in variable length encoding, the counted free space and the representative value of the code amount can be calculated from the counted free space and the representative value of the code amount. By having a function that can calculate the number of shots that can be taken by a recording medium, and by having a means to display information on the number of shots that can be taken by the calculation, it is possible to determine whether the number of shots that can be taken by a recording medium is the standard value or the minimum guaranteed value. A variable length encoded digital image recording device is shown that can display either or both.

更に以上説明した本実施例に依れば、第3図の81にお
いて記録媒体の空容量を検出した後に、第5囚にその詳
細を示す。Sll、S13のステップにおいて再び記録
媒体の空容量を検出しているのでSWlをオンした時の
みならず、たとえ連続記録中であっても記録媒体の空容
量を逐次確認することが出来る。
Furthermore, according to the embodiment described above, after the free space of the recording medium is detected at 81 in FIG. 3, the details are shown in the fifth row. Since the free space of the recording medium is detected again in steps Sll and S13, the free space of the recording medium can be checked not only when SW1 is turned on, but also even during continuous recording.

又、本実施例に依れば可変長符号化圧縮方式を用いても
、使用者に画像の記録量すなわち、記録媒体における撮
影可能な残り枚数を保証し知らせることができるので、
使い勝手の良くかつ画質を保証できる。
Furthermore, according to this embodiment, even if the variable length encoding compression method is used, it is possible to guarantee and notify the user of the amount of recorded images, that is, the number of remaining images that can be taken on the recording medium.
It is easy to use and can guarantee image quality.

以上説明した本実施例においては静止画像を媒体に記録
するいわゆるスチルビデオ装置を例に説明したが、本発
明はかかる装置に限らず、例えばファクシミリ装置や画
像電子ファイル装置においても適用出来る。
In the embodiment described above, a so-called still video device that records still images on a medium has been described as an example, but the present invention is not limited to such a device, but can also be applied to, for example, a facsimile device or an image electronic file device.

又、本実施例における圧縮符号化方式の可変長符号化方
式としては他の種々の方式を採ってもよい。
Furthermore, various other methods may be used as the variable length encoding method of the compression encoding method in this embodiment.

例えばDCT符号化したデータに対してエントロピー符
号化する場合であってもよい。
For example, entropy encoding may be performed on DCT encoded data.

又、本実施例において記録装置16としてはMS−DO
SのOSシステムで駆動されるデータ記憶装置としたが
これに限らず他の種類の媒体、例えば半導体やテープ状
媒体であってもよい。
Further, in this embodiment, the recording device 16 is an MS-DO.
Although the data storage device is driven by the S OS system, the present invention is not limited to this, and other types of media may be used, such as semiconductors or tape-shaped media.

なお、記録媒体としてフロッピーディスクを考えると垂
直磁化記録方式を用いれば2インチのフロッピーディス
クで5MByteの容量を実現する事は十分可能である
。この場合、本実施例は標準55枚最低22枚のTVフ
ィールド画像をフロッピーディスクに対して保証するこ
とができる。
Note that when considering a floppy disk as a recording medium, it is quite possible to realize a capacity of 5 MB with a 2-inch floppy disk using the perpendicular magnetization recording method. In this case, this embodiment can guarantee a standard 55 to at least 22 TV field images to the floppy disk.

又本実施例では前記記憶手段に記憶させるデータを予め
保持する保持手段をメモリ4とした。又本実施例では前
記保持手段に保持されたデータを可変長符号化した際の
データ量を示す信号を発生する手段を記録装置6による
記録に先立りて対象画像としての被写体像を光電変換し
てメモリ4に蓄えられた画像信号を実際に可変長符号化
することによって符号化した後の符号データ量を算出す
ることとしたが、本発明はこれに限らず実際に可変長符
号化することなく符号データ量を得る様にしてもよい。
Further, in this embodiment, the memory 4 is used as a holding means for holding data to be stored in the storage means in advance. Further, in this embodiment, the means for generating a signal indicating the amount of data when the data held in the holding means is variable-length encoded is photoelectrically converted into a subject image as a target image prior to recording by the recording device 6. The amount of coded data after encoding is calculated by actually variable-length encoding the image signal stored in the memory 4, but the present invention is not limited to this. It is also possible to obtain the amount of coded data without any processing.

このために例えば簡略化した符号化を行いデータ量を予
想しても本発明の範囲に含まれる。
For this purpose, for example, it is within the scope of the present invention to predict the amount of data by performing simplified encoding.

前記発生手段により発生された情報と前記データ量との
比較に応じて前記保持手段を制御する手段を第4図のフ
ローを実行する制御部7とした。
The means for controlling the holding means in accordance with the comparison between the information generated by the generating means and the amount of data is the control section 7 that executes the flow shown in FIG. 4.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に本発明に依れば記憶手段の未記録量と
記録すべき符号量との比較に応じて記憶手段に記憶させ
る情報を予め保持する保持手段を制御しているので必要
な場合には保持手段に情報を保持させつづけることが出
来る。
As explained above, according to the present invention, the holding means for holding the information to be stored in the storage means in advance is controlled according to the comparison between the unrecorded amount of the storage means and the code amount to be recorded, so when necessary. The information can be continued to be held in the holding means.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の〜実施例の装置の構成を示すブロック
図、 第2図は第1図に示す装置の動作を示すタイミングチャ
ート、 第3図は第1図に示す装置の動作を示すフローチャート 第4図、第5図は夫々第3図のフローチャートの一部の
詳細を示すフローチャート 1:レンズ 2 : CCD 3 : A/D変換器 4:画像メモリ 5:圧縮符号化回路 6:記録装置 7:制御部 8:表示装置 9:操作スイッチ
FIG. 1 is a block diagram showing the configuration of the device according to the embodiments of the present invention, FIG. 2 is a timing chart showing the operation of the device shown in FIG. 1, and FIG. 3 is a block diagram showing the operation of the device shown in FIG. 1. Flowcharts FIGS. 4 and 5 each show details of a part of the flowchart in FIG. 3. Flowchart 1: Lens 2: CCD 3: A/D converter 4: Image memory 5: Compression encoding circuit 6: Recording device 7: Control unit 8: Display device 9: Operation switch

Claims (2)

【特許請求の範囲】[Claims] (1)記憶手段の記憶可能容量についての情報を発生す
る発生手段、 前記記憶手段に記憶させるデータを予め保持する保持手
段、 前記保持手段に保持されたデータを可変長符号化した際
のデータ量を示す信号を発生する手段、 前記発生手段により発生された情報と前記 データ量との比較に応じて前記保持手段を制御する手段
とを有することを特徴とする記録装置。
(1) Generating means for generating information about the storage capacity of the storage means, holding means for holding data to be stored in the storage means in advance, and amount of data when the data held in the holding means is variable-length encoded. A recording device comprising: means for generating a signal indicating the amount of data; and means for controlling the holding means in accordance with a comparison between the information generated by the generating means and the amount of data.
(2)前記制御手段はデータ量が前記記憶可能容量より
も大きい場合に前記保持手段に前記記憶させるデータを
保持させつづけることを特徴とする請求項(1)記載の
記録装置。
(2) The recording apparatus according to claim 1, wherein the control means causes the holding means to continue holding the data to be stored when the amount of data is larger than the storable capacity.
JP2066112A 1990-03-16 1990-03-16 Recorder Pending JPH03267863A (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP2066112A JPH03267863A (en) 1990-03-16 1990-03-16 Recorder
EP03076983A EP1353494A3 (en) 1990-03-16 1991-03-15 Image encoding and recording apparatus
DE69133320T DE69133320T2 (en) 1990-03-16 1991-03-15 Image encoding and recording device and method
EP99200168A EP0917350B1 (en) 1990-03-16 1991-03-15 Image encoding and recording apparatus and method
DE69131542T DE69131542T2 (en) 1990-03-16 1991-03-15 Image encoding device and method
EP91302265A EP0448311B1 (en) 1990-03-16 1991-03-15 Image encoding apparatus and method
US08/465,715 US5903677A (en) 1990-03-16 1995-06-06 Image encoding and recording apparatus
US09/892,400 US20010035981A1 (en) 1990-03-16 2001-06-26 Image encoding and recording apparatus
US10/455,400 US7130074B2 (en) 1990-03-16 2003-06-06 Image encoding and recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2066112A JPH03267863A (en) 1990-03-16 1990-03-16 Recorder

Publications (1)

Publication Number Publication Date
JPH03267863A true JPH03267863A (en) 1991-11-28

Family

ID=13306479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2066112A Pending JPH03267863A (en) 1990-03-16 1990-03-16 Recorder

Country Status (1)

Country Link
JP (1) JPH03267863A (en)

Similar Documents

Publication Publication Date Title
JP3630851B2 (en) Imaging recording device
US11004474B2 (en) Recording apparatus, reproducing apparatus, recording/reproducing apparatus, image pickup apparatus, recording method, and program
US20060153539A1 (en) Motion image recording device
KR100564186B1 (en) Electronic camera
EP0917350B1 (en) Image encoding and recording apparatus and method
JP3876973B2 (en) Image recording / reproducing method, image reproducing apparatus, and file management method and apparatus
JP3683462B2 (en) Movie display device
JP7349815B2 (en) Imaging device and its control method and program
JPH03267863A (en) Recorder
JPH03267881A (en) Picture recorder
JP3082925B2 (en) Image recording device
JP2000069428A (en) Digital camera system
JPH03267882A (en) Picture coder
JP2892806B2 (en) Electronic still camera
JP4262913B2 (en) Image processing device
JPH10304306A (en) Method for calculating number of write enable data to data recording medium, digital still camera, method for calculating number of photographing-available data frames and recording medium
JPH1013721A (en) Image pickup device
JP4348486B2 (en) Image recording / reproducing method and image recording / reproducing apparatus
JP2003125385A (en) Image processing unit
JP2002199322A (en) Imaging system, imaging unit, image processor and signal processing method
JP2001136475A (en) Electronic camera system
JP2006246111A (en) Photographing apparatus
JP2001238179A (en) Image recording and reproducing apparatus
JP2000041164A (en) Display device and method for still picture sheet number
JP2017046120A (en) Image recording apparatus