JPH0564143A - Electronic still camera - Google Patents

Electronic still camera

Info

Publication number
JPH0564143A
JPH0564143A JP3154672A JP15467291A JPH0564143A JP H0564143 A JPH0564143 A JP H0564143A JP 3154672 A JP3154672 A JP 3154672A JP 15467291 A JP15467291 A JP 15467291A JP H0564143 A JPH0564143 A JP H0564143A
Authority
JP
Japan
Prior art keywords
data
error
memory area
image data
memory
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
JP3154672A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Ishizawa
良之 石沢
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3154672A priority Critical patent/JPH0564143A/en
Publication of JPH0564143A publication Critical patent/JPH0564143A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To save compression picture data to be saved while the setting of a compression rate is varied automatically to obtain desired number of the data and to obtain a best picture state within this range. CONSTITUTION:A control section 100 is operated to ensure a memory area able to record two still pictures or over to a memory card 12 in terms of coded compression picture data. A counter circuit 14 measures a contained data quantity when each memory area stores the compressed picture data. An error detection circuit 15 calculates an error between a measured value of the counter circuit and a prescribed value. A comparator circuit 18 discriminates the quantity of an error obtained by the error detection circuit. The control section 100 changes a processing parameter to implement coding processing for an optional number of times and writes the result to an optional memory area till a time reaches a limit time or the magnitude of the error reaches a prescribed value when original picture data picked up precedingly are stored in a memory area till a succeeding image pickup instruction is received after an image pickup instruction is first received.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、静止画像デ−タを圧
縮してメモリカ−ド等の記憶装置に記録する電子スチル
カメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic still camera which compresses still image data and records it in a storage device such as a memory card.

【0002】[0002]

【従来の技術】最近、撮影した静止画像デ−タをデジタ
ル化し、フロッピ−ディスクやメモリカ−ドなどの記録
媒体に記録できる電子スチルカメラが製品化されている
が、1つの記録媒体に、より多くの画像を記憶できる様
に、撮影された静止画像デ−タを圧縮しデ−タ量を減ら
した上で記録する方法が採用されている。特にDCT
(離散コサイン変換)を用いた圧縮方式は、画質の劣化
が少ない割りに圧縮率が高いため、今後最も有力な圧縮
方式として注目されている。
2. Description of the Related Art Recently, an electronic still camera has been commercialized which can digitize photographed still image data and record it on a recording medium such as a floppy disk or a memory card. In order to store many images, a method has been adopted in which captured still image data is compressed and the amount of data is reduced before recording. Especially DCT
The compression method using the (discrete cosine transform) is attracting attention as the most powerful compression method in the future because the compression rate is high although the deterioration of the image quality is small.

【0003】DCT圧縮方式を用いれば、2Mbyte容量
のメモリカ−ド1枚に20枚程の静止画像デ−タを記憶
することも可能になる。もちろん、原画像デ−タを8分
の1程に圧縮しているのであるから、全く画質の劣化が
無い訳ではないが、実用的な面から考えると、1枚のメ
モリカ−ドの撮影可能枚数をある程度確保することも重
要な問題である。図3にDCT圧縮方式を用いた電子ス
チルカメラの構成例を示す。
If the DCT compression method is used, it is possible to store about 20 still image data in one memory card having a capacity of 2 Mbytes. Of course, since the original image data is compressed to about 1/8, it does not mean that the image quality does not deteriorate at all, but from a practical point of view, it is possible to shoot with one memory card. Securing a certain number of sheets is also an important issue. FIG. 3 shows a configuration example of an electronic still camera using the DCT compression method.

【0004】光学系レンズ1で捕らえた光学像は、CC
D(電荷転送素子)を用いた固体撮像素子2によって電
気信号に変換され、映像信号として信号処理回路3に送
られる。信号処理回路3では色処理を施すと同時にアナ
ログデジタル(A/D)変換し、デジタル信号にして一
旦フレ−ムメモリ4に蓄えている。フレ−ムメモリ4で
は、蓄えられた画像一枚分の映像信号をブロック分割し
てDCT回路5へ送り出すが、一連の圧縮符号化作業に
必要なパラメ−タを決定するために、同じ転送動作を2
度繰り返す。最初の転送では、DCT回路5によって直
交変換された変換デ−タはアクティビティ計算回路6に
送られる。ここで画像一枚分の総アクティビティ量が求
められるが、量子化ステップサイズを決定するのに必要
な係数(以後aと呼ぶ)を割り出すと共に、ビット配分
回路7において輝度・色信号に対するビット配分を決定
する。2回目の転送のときは、変換デ−タは量子化回路
8に送られるが、ここでは先に求めた係数aと量子化テ
−ブル9のデ−タとの演算によって算出される量子化ス
テップに従い量子化が行われる。
The optical image captured by the optical system lens 1 is CC
It is converted into an electric signal by the solid-state imaging device 2 using D (charge transfer device) and sent to the signal processing circuit 3 as a video signal. In the signal processing circuit 3, color processing is performed, and at the same time, analog-digital (A / D) conversion is performed, and a digital signal is temporarily stored in the frame memory 4. In the frame memory 4, the stored video signal for one image is divided into blocks and sent to the DCT circuit 5. However, the same transfer operation is performed in order to determine the parameters required for a series of compression encoding work. Two
Repeat. In the first transfer, the transform data orthogonally transformed by the DCT circuit 5 is sent to the activity calculation circuit 6. Here, the total activity amount for one image is obtained, and the coefficient (hereinafter referred to as a) necessary for determining the quantization step size is calculated, and the bit allocation circuit 7 performs bit allocation for luminance / color signals. decide. At the time of the second transfer, the conversion data is sent to the quantization circuit 8, but here, the quantization calculated by the operation of the coefficient a previously obtained and the data of the quantization table 9 is performed. Quantization is performed according to the steps.

【0005】又、変換デ−タは1回目の転送同様にアク
ティビティ計算回路6にも送られるが、1回目が画像一
枚分の総アクティビティ量を求めたのに対し、2回目は
ブロック単位のアクティビティ量を順次求める形とな
る。
The conversion data is also sent to the activity calculation circuit 6 in the same manner as the first transfer, but the first time the total activity amount for one image is obtained, while the second time is in block units. The activity amount will be calculated sequentially.

【0006】これにより、1回目の転送で決定したビッ
ト配分を基にブロック単位毎の最終的なビット配分が求
まるが、符号化回路10ではビット配分に応じて符号化
ビット量を調整し符号化が行われ、その出力デ−タはイ
ンターフェース11を通してメモリカ−ド11に記録さ
れる。
As a result, the final bit allocation for each block is obtained based on the bit allocation determined in the first transfer. In the encoding circuit 10, the encoding bit amount is adjusted according to the bit allocation and encoding is performed. And the output data is recorded in the memory card 11 through the interface 11.

【0007】電子スチルカメラでは、図3に示した様な
固定長符号化を施したDCT圧縮方式が望ましい。何故
ならば、可変長のままの場合、撮影する絵柄によって符
号化デ−タ量が著しく変化し、メモリカ−ド1枚当たり
の撮影可能枚数が定まらないからである。即ち、ある絵
柄を撮影している時は20枚記録できたが、別の種類の
絵柄を撮影していたら13枚しか記録できずに目的が達
成出来なかった、と言った不都合を防ぐためには固定長
化が必要となっている。
In the electronic still camera, the DCT compression method in which the fixed length coding as shown in FIG. 3 is performed is desirable. This is because when the length is variable, the amount of coded data changes remarkably depending on the pattern to be photographed, and the number of photographable images per memory card cannot be determined. In other words, in order to prevent the inconvenience of being able to record 20 images while shooting a certain pattern, but only 13 when recording another type of pattern, the purpose could not be achieved. Fixed length is required.

【0008】[0008]

【発明が解決しようとする課題】固定長化の最大のポイ
ントは係数aの決定の仕方である。確かに、係数aを大
きくすればデ−タ圧縮率は上がり、係数aを小さくすれ
ばデ−タ圧縮率が下がると言うことは容易に推察出来
る。しかし、係数aを幾らにすればデ−タ圧縮率が幾ら
になると言った事は、絵柄によって異なるため単純な関
係では表わせない。このため、実験的に色々な種類の絵
柄を取り上げ、デ−タ圧縮率一定を条件とする総アクテ
ィビティ量と係数aの相関を予め求めておき、これら経
験デ−タを基にして実際に撮影した画像一枚分の総アク
ティビティ量から係数aを逆算する方法を用いている。
この様な訳で完全な固定長化を実現する事は非常に困難
なものといえる。
The greatest point of fixed length is how to determine the coefficient a. Certainly, it can be easily inferred that increasing the coefficient a increases the data compression rate, and decreasing the coefficient a decreases the data compression rate. However, the fact that the data compression rate becomes what the coefficient a is, cannot be expressed by a simple relationship because it depends on the design. Therefore, experimentally picking up various kinds of patterns, the correlation between the total activity amount and the coefficient a under the condition that the data compression rate is constant is obtained in advance, and the actual photographing is performed based on these empirical data. The coefficient a is calculated backward from the total activity amount of one image.
For this reason, it can be said that it is extremely difficult to realize a completely fixed length.

【0009】従って、固定長化しているとは言え、符号
化されたデ−タ量にばらつきが生じるのは避けられな
い。このためには、記録しようとするメモリカ−ド上の
メモリエリアに対して、符号化されたデ−タがばらつき
を含めても十分に収まる様なデ−タ圧縮率に照準を合わ
せておかなくてはならない。もちろん、オ−バ−するよ
うなことは絶対あってはならない訳であるから、かなり
高めに圧縮率の中心を設定することになる。これはメモ
リの使用効率が悪いばかりか、無駄に画質の劣化を招い
ていることになり不都合極まりない。
Therefore, although the length is fixed, it is inevitable that the encoded data amount varies. For this purpose, it is necessary to focus on the data compression rate such that the encoded data can be sufficiently contained in the memory area on the memory card to be recorded even if the encoded data includes variations. must not. Of course, there should never be an over-run, so the center of the compression rate should be set to a rather high level. This is not only inefficient in using the memory, but also wastefully degrading the image quality, which is inconvenient.

【0010】そこでこの発明は、保存する圧縮画像デ−
タの枚数を希望どうりのものとするように、圧縮率の設
定を自動的に変化させて記憶し、この範囲で最良の画像
状態を得るようにした電子スチルカメラを提供すること
を目的とする。
Therefore, according to the present invention, the compressed image data to be stored is stored.
The purpose of the present invention is to provide an electronic still camera in which the compression ratio setting is automatically changed and stored so that the desired number of images can be obtained and the best image condition in this range is obtained. To do.

【0011】[0011]

【課題を解決するための手段】この発明は、静止画像デ
−タを符号化圧縮して圧縮画像デ−タを得てメモリカ−
ド等の記憶装置に記録する電子スチルカメラにおいて、
SUMMARY OF THE INVENTION According to the present invention, a still image data is coded and compressed to obtain compressed image data and a memory card is obtained.
In an electronic still camera that records to a storage device such as

【0012】符号化された圧縮画像デ−タにして2枚分
以上の静止画を記録できるメモリエリアを確保するエリ
ア確保手段と、前記各メモリエリアに前記圧縮画像デ−
タを収容した時の収容デ−タ量を計測する計測手段と、
前記計測手段の計測値と所定の値との誤差を算出する誤
差算出手段と、前記誤差算出手段により得られた誤差の
大小を判定する大小判定手段と、撮影命令を受けてか
ら、次の撮影命令を受けるまでにメモリエリアで先に撮
影した原画像デ−タを保持し、限界時間、あるいは誤差
の大きさが所定の値に達したと判定されるまで、処理パ
ラメ−タを変え任意の回数の符号化処理を行い任意のメ
モリエリアに書き込む手段とを備える。
Area securing means for securing a memory area capable of recording two or more still images as encoded compressed image data, and the compressed image data in each memory area.
Measuring means for measuring the amount of stored data when storing the data,
An error calculation unit that calculates an error between the measurement value of the measurement unit and a predetermined value, a size determination unit that determines the size of the error obtained by the error calculation unit, and a next shooting after receiving a shooting command. The original image data taken in advance in the memory area is held until the instruction is received, and the processing parameters are changed until the limit time or the magnitude of the error reaches the predetermined value. And means for performing the encoding process of the number of times and writing in an arbitrary memory area.

【0013】[0013]

【作用】上記の手段により、符号化された圧縮画像デ−
タにして2枚分以上の静止画が記録できるメモリエリア
が用意され、それぞれのメモリエリアに圧縮画像デ−タ
を収容した時の収容デ−タ量が計測される。そして計測
値と所定の値との誤差が算出される。次に、それぞれの
誤差を比較した結果より、誤差の少ないメモリエリアの
圧縮画像デ−タはそのままで保存し、誤差の大きいメモ
リエリアの圧縮画像デ−タは無効とし、圧縮率を変えて
再度処理される符号化圧縮画像デ−タを書き込み、次々
と誤差の少ない圧縮画像デ−タが残されていく。これに
より、保存する圧縮画像デ−タの枚数を希望どうりのも
のとし、圧縮率の設定を自動的に変化させて記憶し、こ
の範囲で最良の画像状態を得ることができる。
The compressed image data coded by the above means is
A memory area in which two or more still images can be recorded as data is prepared, and the amount of stored data when the compressed image data is stored in each memory area is measured. Then, the error between the measured value and the predetermined value is calculated. Next, as a result of comparing the respective errors, the compressed image data in the memory area with a small error is saved as it is, the compressed image data in the memory area with a large error is invalidated, the compression ratio is changed, and the compressed image data is changed again. The encoded compressed image data to be processed is written, and the compressed image data with less error is left one after another. As a result, the number of compressed image data to be stored can be set as desired, and the setting of the compression ratio can be automatically changed and stored, so that the best image state can be obtained within this range.

【0014】[0014]

【実施例】以下、この発明の実施例を図面を参照して説
明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1はこの発明の一実施例である。レンズ
1で捕らえた映像情報はCCD(電荷結合素子)を用い
た固体撮像素子2によって電気信号に変換され、映像信
号として信号処理回路3に送られる。信号処理回路3で
は色処理が施され、同時にアナログデジタル(A/D)
変換され、デジタル信号とされ、一旦フレ−ムメモリ4
に蓄えられる。
FIG. 1 shows an embodiment of the present invention. The image information captured by the lens 1 is converted into an electric signal by the solid-state image sensor 2 using a CCD (charge coupled device), and is sent to the signal processing circuit 3 as a video signal. Color processing is performed in the signal processing circuit 3, and at the same time analog digital (A / D)
It is converted into a digital signal and is once stored in the frame memory 4
Stored in.

【0016】フレ−ムメモリ4では、蓄えられた画像一
枚分の映像信号をブロック分割してDCT(離散コサイ
ン変換)回路5へ送り出す。最初の転送でDCT回路5
によって直交変換された変換デ−タはアクティビティ計
算回路6に送られる。ここで画像一枚分の総アクティビ
ティ量を求め、ビット配分回路7において輝度・色信号
に対するビット配分を決定すると共に、係数aを割り出
す。
In the frame memory 4, the stored video signal for one image is divided into blocks and sent to the DCT (discrete cosine transform) circuit 5. DCT circuit 5 at the first transfer
The transform data subjected to the orthogonal transform by is sent to the activity calculation circuit 6. Here, the total activity amount for one image is obtained, the bit distribution circuit 7 determines the bit distribution for the luminance / color signals, and the coefficient a is calculated.

【0017】2回目の転送では変換デ−タは量子化回路
8に送られるが、先に求めた係数aと量子化テ−ブル9
のデ−タとの演算によって算出される量子化ステップに
従い量子化を行う。この時、係数加減算回路13では係
数aに対する演算処理は行わない。なおデ−タ変換及び
量子化処理等については、本件出願人は、特願平2−2
53980号についても説明している。
In the second transfer, the transform data is sent to the quantizing circuit 8, but the previously obtained coefficient a and the quantizing table 9 are used.
Quantization is performed according to the quantization step calculated by the calculation with the data of. At this time, the coefficient addition / subtraction circuit 13 does not perform the arithmetic processing on the coefficient a. Regarding the data conversion and the quantization processing, the applicant of the present invention filed Japanese Patent Application No. 2-2
No. 53980 is also described.

【0018】一方、変換デ−タは1回目の転送同様にア
クティビティ計算回路6にも送られるが、1回目が画像
一枚分の総アクティビティ量を求めたのに対し、2回目
以降はブロック単位のアクティビティ量を順次求める形
となる。このようにして、1回目の転送で決定したビッ
ト配分を基にしたブロック単位毎の最終的なビット配分
を求めるが、符号化回路10ではそのビット配分に応じ
て符号化ビット量を調整し符号化を行っていく。得られ
た符号化デ−タは、カ−ドインターフェース11を通じ
てメモリカ−ド12に記録されることになるが、計数回
路14によって同時に記録されたデ−タ量を計測する。
計数値は誤差検出回路15によって所望の値(メモリカ
−ドに記録可能な静止画一枚分の最大符号化デ−タ量)
との差分(DE 1)を検出し、レジスタ16に一旦セ
ットする。判定回路17では検出された誤差量から、再
度圧縮符号化処理を行うか否かを判断し3回目の転送を
フレ−ムメモリ4に要求する。
On the other hand, the conversion data is sent to the activity calculation circuit 6 as in the case of the first transfer, but the first time the total activity amount for one image is obtained, whereas the second and subsequent times are in block units. The amount of activity of is calculated sequentially. In this way, the final bit allocation for each block unit is obtained based on the bit allocation determined in the first transfer. In the encoding circuit 10, the encoding bit amount is adjusted according to the bit allocation and the code is encoded. Will be converted. The obtained coded data is recorded in the memory card 12 through the card interface 11, and the counter circuit 14 measures the simultaneously recorded data amount.
The count value is a desired value by the error detection circuit 15 (maximum encoded data amount for one still image that can be recorded in the memory card).
And the difference (DE 1) from is detected and set in the register 16 once. The decision circuit 17 decides from the detected error amount whether or not to perform the compression coding process again, and requests the frame memory 4 for the third transfer.

【0019】但し、3回目の転送では係数加減算回路1
3によって係数aの値を変化させて圧縮符号化処理を行
う。変化の大きさや加減算切替えは、判定回路17が誤
算量の大小極性に応じて決定し制御する。こうして、係
数aの異なった符号化デ−タ(CMD2とする)が新た
にメモリカ−ド12に記録されるが、最初の圧縮符号化
処理で得られた符号化デ−タ(CMD1)が収容されて
いるメモリエリア(MA1)とは異なる別の領域(MA
2)に収容する。同時に計数回路14や誤差検出回路1
5によって、符号化デ−タ(CMD1)のデ−タ量に対
する誤差(DE2)が検出されレジスタ16にセットさ
れる。そして、比較回路18によってDE1とDE2の
どちらの誤差が小さいのか比較が行われる。比較結果に
おいて極性が正でより小さい方の値が選ばれ(極性が負
の場合はメモリサイズをオ−バ−している事になる)判
定回路17で、再度の圧縮符号化処理を行うか否かを判
断する。
However, in the third transfer, the coefficient addition / subtraction circuit 1
The value of the coefficient a is changed by 3 to perform the compression encoding process. The determination circuit 17 determines and controls the magnitude of change and addition / subtraction switching according to the magnitude polarity of the miscalculation amount. In this way, the coded data (CMD2) having a different coefficient a is newly recorded in the memory card 12, but the coded data (CMD1) obtained by the first compression coding process is stored. Other area (MA1) different from the stored memory area (MA1).
Place in 2). At the same time, the counting circuit 14 and the error detection circuit 1
5, the error (DE2) with respect to the data amount of the encoded data (CMD1) is detected and set in the register 16. Then, the comparison circuit 18 compares which of the errors of DE1 and DE2 is smaller. In the comparison result, a value having a positive polarity and a smaller value is selected (if the polarity is negative, it means that the memory size is over), and the determination circuit 17 performs the compression encoding process again. Determine whether or not.

【0020】4回目の転送、即ち3回目の圧縮符号化処
理においては係数aの値を変化させるだけでなく、圧縮
符号化処理で得られる符号化デ−タ(CMD3)を収容
すべきメモリエリア、及び計数回路14や誤差検出回路
15によって検出される誤差(DE3)をセットするレ
ジスタ16のセットエリアを指定する必要がある。これ
は、前述したDE1とDE2との比較によって決められ
るもので、極性が正でより小さい値の方を残し、もう一
方の誤差値がセットされているセットエリアにに対応し
たメモリエリアが比較回路18により指定される。これ
により誤差の小さい方法のエリアのデ−タが残ることに
なる。比較結果により、メモリインターフェース11の
デ−タがメモリカ−ド12に送られるか否かが決定され
る。
In the fourth transfer, that is, in the third compression coding process, not only the value of the coefficient a is changed, but also the coding data (CMD3) obtained by the compression coding process is to be accommodated in the memory area. , And the set area of the register 16 for setting the error (DE3) detected by the counting circuit 14 and the error detection circuit 15 must be designated. This is determined by the comparison between DE1 and DE2 described above. The memory area corresponding to the set area in which the polarity is positive and the smaller value is left and the other error value is set is the comparison circuit. Specified by 18. As a result, the data of the area of the method with a small error remains. Based on the comparison result, it is determined whether the data of the memory interface 11 is sent to the memory card 12.

【0021】このようにして、デ−タ量がより所望の値
(メモリカ−ドに記録可能な静止画一枚分の最大符号化
デ−タ)に近い符号化デ−タを残しながら5、6、7・
・・回と圧縮符号化処理を続ける。これは、時間の許す
限り(次のシャッタ−が押されるまで)行うことが可能
であるが、誤差値が所定の値に達するか、消費電力節約
の兼ね合いから特定の時間で終了させれば良い。なおシ
ステム全体の動作手順は、システム制御部100からの
タイミングパルスやメモリカードのエリア指定アドレス
デ−タによりコントロールされている。図2(A)に
は、4回目までのデ−タ取込みおよび修正が行われた場
合のカードメモリ12におけるエリアに対応させてその
内容変遷例を示している。
In this way, while leaving the encoded data whose amount of data is closer to the desired value (maximum encoded data for one still image recordable in the memory card), 6, 7
..Repeat the compression encoding process once. This can be performed as long as the time permits (until the next shutter is pressed), but the error value may reach a predetermined value, or may be finished at a specific time in consideration of saving power consumption. .. The operation procedure of the entire system is controlled by timing pulses from the system controller 100 and area designation address data of the memory card. FIG. 2 (A) shows an example of the transition of the contents corresponding to the areas in the card memory 12 when the data has been fetched and corrected up to the fourth time.

【0022】1回目の取込みデ−タ量に対して、1枚分
の画像エリア(エリア1)に十分な余裕がある状態を示
し、2回目の取込みデ−タに対しては、エリア2に対し
て少しの余裕がある状態を示している(エリア1とエリ
ア2は同じ容量)。さらに3回目においては、所定エリ
アをオーバーした状態を示している。そこで、この場合
は2回目のデ−タが残され、4回目のデ−タは、先の3
回目のデ−タに対応する領域(エリア1)に書き込まれ
る。この場合は、エリア1に対して若干の余裕が生じて
いるだけである。デ−タ取込み処理毎に符号化条件は、
先に述べたように順次最適となるように修正されていく
ので、規定されたエリアに対して最も効率的なデ−タ量
として格納されることになる。次の撮影が行われたとき
は、エリア2と次のエリア3が確保されて、上記と同様
な処理が行われる。次の撮影命令によって、新たな画像
デ−タがフレ−ムメモリ4に入力された時、圧縮符号化
処理は総アクティビティを求める段階まで戻り再スタ−
トなる。
The image area for one image (area 1) has a sufficient margin with respect to the amount of captured data for the first time, and area 2 for the captured data for the second time. On the other hand, there is a small margin (area 1 and area 2 have the same capacity). Furthermore, the third time shows a state where the predetermined area is exceeded. Therefore, in this case, the second data is left and the fourth data is the previous 3
The data is written in the area (area 1) corresponding to the data of the first time. In this case, there is only a slight margin for area 1. The encoding condition for each data acquisition process is
As described above, the data is corrected so that it becomes optimal one after another, so that it is stored as the most efficient data amount for the specified area. When the next shooting is performed, the area 2 and the next area 3 are secured, and the same processing as above is performed. When new image data is input to the frame memory 4 by the next shooting command, the compression coding process returns to the stage of obtaining the total activity and restarts.
It becomes

【0023】圧縮符号化処理で得られる符号化デ−タを
収容すべきメモリエリアは、先の画像の符号化デ−タを
収容していたMA1,MA2の一方(デ−タ量が所望の
値と離れている方)に、新たにMA3なるメモリエリア
を加えた画像2枚分のエリアが対象となる。
The memory area in which the encoded data obtained by the compression encoding processing should be accommodated is one of MA1 and MA2 which accommodated the encoded data of the preceding image (the desired data amount is desired). The area corresponding to two images, in which a memory area called MA3 is newly added to the area apart from the value) is targeted.

【0024】画像2枚分のメモリエリアを用いて圧縮符
号化処理を行っている為、処理の途中で次の撮影命令が
発生しても、デ−タ量が所望値に十分近くはないかもし
れないが、すでに何等かの符号化デ−タを得ている訳な
ので、その時点での圧縮符号化処理を中止し即座に新し
い画像への圧縮符号化処理へ移る事が出来る。
Since the compression coding processing is performed using the memory area for two images, the data amount may not be sufficiently close to the desired value even if the next photographing command is issued during the processing. Although it is not known, since some coding data has already been obtained, the compression coding process at that point can be stopped and the compression coding process for a new image can be immediately started.

【0025】ところで最後の撮影時であるが、メモリカ
−ドに画像2枚分のメモリエリアを確保することは出来
ない。しかし、最後であるから次の撮影命令が突然発生
する事はなく、(発生させるならば、すでに書き込まれ
ているメモリエリアの中のどれを消すかを指定する必要
があり、予測できる)圧縮符号処理の時間は十分与えら
れていると考えても差支えない。画像2枚分のメモリエ
リアの確保は連写への対策であり、圧縮符号化処理の時
間が確保されていれば、誤差の少ないデ−タを残しなが
ら、同じメモリエリアを何度も書き替えても問題はな
い。
At the time of the last photographing, however, a memory area for two images cannot be secured in the memory card. However, since it is the last, the next shooting command does not suddenly occur, and if it occurs, it is necessary to specify which of the already-written memory areas should be erased, which can be predicted. It does not matter if the processing time is considered sufficient. Securing a memory area for two images is a measure against continuous shooting, and if the time for compression encoding processing is secured, the same memory area is rewritten many times while leaving data with little error. But there is no problem.

【0026】図2(B)は、本発明による他の実施例を
示すが、誤差検出、計数加減算などマイクロプロセサ−
19で処理するものである。撮影制御やメモリカ−ドへ
のデ−タ書き込みなどはマイクロプロセサ−で行われて
いるのが通常である訳で、誤差検出、係数加減算などの
処理をマイクロプロセサ−19に受け持たせる。
FIG. 2B shows another embodiment according to the present invention, which is a microprocessor for error detection, count addition / subtraction, etc.
It is processed by 19. Since it is normal for the microprocessor to perform shooting control and data writing to the memory card, the microprocessor 19 is responsible for processing such as error detection and coefficient addition / subtraction.

【0027】又、符号化デ−タ量増減のパラメ−タとし
て係数aを対象としたが、ビット配分・符号化などのど
の段階で行っても良く、さらに、符号化デ−タの記録媒
体はメモリカ−ドに限定されるものではなく本発明はい
ろいろな形で実地できる。
Further, although the coefficient a is targeted as a parameter for increasing / decreasing the amount of encoded data, it may be performed at any stage such as bit allocation / encoding, and further, a recording medium for encoded data. Is not limited to a memory card, and the present invention can be put into practice in various forms.

【0028】上記のようにこのシステムは、撮影命令を
受けてから、次の撮影命令を受けるまで、即ち一度シャ
ッタ−が押されて次のシャッタ−が押されるまで、フレ
−ムメモリ−には最初の画像デ−タを保持させておく。
従って、時間の許す限り(次のシャッタ−が押されるま
で)圧縮パラメ−タ、例えば係数aを変え何度でも符号
化処理を行うことが出来る。符号化デ−タは用意してあ
る静止画2枚分のメモリエリアのどちらかに随時記録で
きるようになっており、どれにするかは誤差の大小判定
から振り分ける。これを繰り返す事で、誤差は減少し、
符号化デ−タ量が予定しているメモリ−サイズに近づ
く。即ち、圧縮による画質劣化を最小限に押さえる事が
可能となる。
As described above, in this system, after receiving the photographing command, until the next photographing command is received, that is, until the shutter is pressed once and then the next shutter is pressed, the frame memory is initially stored. The image data of is retained.
Therefore, as long as time permits (until the next shutter is pressed), the compression parameter, for example, the coefficient a can be changed to perform the encoding process as many times as necessary. The encoded data can be recorded in any one of the prepared memory areas for two still images at any time, and which one is to be used is determined based on the size of the error. By repeating this, the error decreases,
The amount of encoded data approaches the planned memory size. That is, it is possible to minimize the image quality deterioration due to compression.

【0029】[0029]

【発明の効果】処理の途中で次の撮影命令が発生して
も、すでに何等かの符号化デ−タを得ている為、その時
点での圧縮符号化処理を中止し即座に新しい画像への圧
縮符号化処理へ移る事が出来る。即ち連写動作にも全く
影響を及ぼさず、時間の許す限り画質の向上を図るわけ
で、圧縮による画質劣化を最小限に押さえる事が可能と
なる。又、新たにメモリの追加をする必要がなく、誤差
検出、係数加減算などはマイクロプロセサ−などで処理
すればハ−ドウェアの増加もないため、価格の上昇なく
して優れた効果が得られる。
EFFECTS OF THE INVENTION Even if the next shooting command is issued during the processing, some coding data has already been obtained, so the compression coding processing at that point is stopped and a new image is immediately created. It is possible to move to the compression encoding processing of. In other words, the continuous shooting operation is not affected at all, and the image quality is improved as long as the time permits, so that the deterioration of the image quality due to the compression can be suppressed to the minimum. Further, it is not necessary to add a new memory, and if error detection, coefficient addition / subtraction, etc. are processed by a microprocessor or the like, there will be no increase in hardware, and an excellent effect can be obtained without increasing the price.

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

【図1】この発明の一実施例を示す構成説明図。FIG. 1 is a structural explanatory view showing an embodiment of the present invention.

【図2】この発明装置の動作を説明するための説明図及
び他の実施例を示す構成説明図。
FIG. 2 is an explanatory view for explaining the operation of the device of the present invention and a structural explanatory view showing another embodiment.

【図3】従来の電子スチルカメラの構成説明図。FIG. 3 is an explanatory diagram of a configuration of a conventional electronic still camera.

【符号の説明】[Explanation of symbols]

1…レンズ、2…撮像素子、3…信号処理回路、4…フ
レームメモリ、5…DCT回路、6…アクティビティ計
算回路、7…ビット配分回路、8…量子化回路、9…テ
ーブル、10…符号化回路、11…メモリインターフェ
ース、12…メモリカード、13…加減算回路、14…
計数回路、15…誤差検出回路、16…レジスタ、17
…判定回路、18…比較回路。
1 ... Lens, 2 ... Image sensor, 3 ... Signal processing circuit, 4 ... Frame memory, 5 ... DCT circuit, 6 ... Activity calculation circuit, 7 ... Bit allocation circuit, 8 ... Quantization circuit, 9 ... Table, 10 ... Code Circuit, 11 ... Memory interface, 12 ... Memory card, 13 ... Addition / subtraction circuit, 14 ...
Counting circuit, 15 ... Error detecting circuit, 16 ... Register, 17
... determination circuit, 18 ... comparison circuit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/91 J 8324−5C 7/133 Z 4228−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI Technical display location H04N 5/91 J 8324-5C 7/133 Z 4228-5C

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】静止画像デ−タを符号化圧縮して圧縮画像
デ−タを得てメモリカ−ド等の記憶装置に記録する電子
スチルカメラにおいて、 符号化された圧縮画像デ−タにして2枚分以上の静止画
を記録できるメモリエリアを確保するエリア確保手段
と、 前記各メモリエリアに前記圧縮画像デ−タを収容した時
の収容デ−タ量を計測する計測手段と、 前記計測手段の計測値と所定の値との誤差を算出する誤
差算出手段と、 前記誤差算出手段により得られた誤差の大小を判定する
大小判定手段と、撮影命令を受けてから、次の撮影命令
を受けるまでにメモリエリアで先に撮影した原画像デ−
タを保持し、限界時間、あるいは誤差の大きさが所定の
値に達したと判定されるまで、処理パラメ−タを変え任
意の回数の符号化処理を行い任意のメモリエリアに書き
込むデ−タ書込み手段とを具備したことを特徴とする電
子スチルカメラ。
1. An electronic still camera for encoding and compressing still image data to obtain compressed image data and recording the compressed image data in a storage device such as a memory card. Area securing means for securing a memory area capable of recording two or more still images; measuring means for measuring the amount of stored data when the compressed image data is stored in each memory area; Error calculation means for calculating an error between the measured value of the means and a predetermined value, a magnitude determination means for determining the magnitude of the error obtained by the error calculation means, and a next photography command after receiving the photography command. Before receiving the original image data taken in the memory area
Data is held and data is written to an arbitrary memory area by changing the processing parameters and performing an arbitrary number of encoding processes until it is determined that the limit time or the magnitude of the error has reached a predetermined value. An electronic still camera comprising a writing means.
【請求項2】前記デ−タ書込み手段は、再度の符号化処
理で得られる符号化デ−タを書き込むメモリエリアの選
定を行うに際して、前記誤差の大小判定に基づき、より
誤差の少ない第1のメモリエリアの圧縮画像デ−タをそ
のまま保存し、誤差の大きい第2のメモリエリアの圧縮
画像デ−タを無効として扱い、再度処理される符号化圧
縮画像デ−タを前記第2のメモリエリアに書き込む手段
を含むことを特徴とする請求項1記載の電子スチルカメ
ラ。
2. The data writing means, when selecting a memory area in which the encoded data obtained by the encoding process again is to be written, has a smaller error based on the magnitude judgment of the error. The compressed image data in the memory area is stored as it is, the compressed image data in the second memory area having a large error is treated as invalid, and the encoded compressed image data to be processed again is stored in the second memory. The electronic still camera according to claim 1, further comprising means for writing in the area.
【請求項3】前記限界時間は、撮影命令を受けてから、
次の撮影命令を受けるまでの時間、あるいは、予め定め
た任意の時間であることを特徴とする請求項1記載の電
子スチルカメラ。
3. The limit time is after receiving a photographing command,
The electronic still camera according to claim 1, wherein the electronic still camera is a time until the next photographing command is received or an arbitrary time set in advance.
JP3154672A 1991-06-26 1991-06-26 Electronic still camera Pending JPH0564143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3154672A JPH0564143A (en) 1991-06-26 1991-06-26 Electronic still camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3154672A JPH0564143A (en) 1991-06-26 1991-06-26 Electronic still camera

Publications (1)

Publication Number Publication Date
JPH0564143A true JPH0564143A (en) 1993-03-12

Family

ID=15589382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3154672A Pending JPH0564143A (en) 1991-06-26 1991-06-26 Electronic still camera

Country Status (1)

Country Link
JP (1) JPH0564143A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0721174A2 (en) * 1995-01-05 1996-07-10 Eastman Kodak Company Method and apparatus for multiple quality transaction card images
JPH11136677A (en) * 1997-10-30 1999-05-21 Fujitsu Ltd Image information processing unit and coder
US6111605A (en) * 1995-11-06 2000-08-29 Ricoh Company Limited Digital still video camera, image data output system for digital still video camera, frame for data relay for digital still video camera, data transfer system for digital still video camera, and image regenerating apparatus
WO2001022722A1 (en) * 1999-09-22 2001-03-29 Nikon Corporation Electronic camera
US6580755B1 (en) 1999-09-13 2003-06-17 Matsushita Electric Industrial Co., Ltd. Apparatus and method for encoding
US6965728B1 (en) 1999-08-05 2005-11-15 Sanyo Electric Co., Ltd. Digital recording apparatus
US7187408B2 (en) 2001-02-14 2007-03-06 Sanyo Electric Co., Ltd. Digital camera

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0721174A2 (en) * 1995-01-05 1996-07-10 Eastman Kodak Company Method and apparatus for multiple quality transaction card images
EP0721174A3 (en) * 1995-01-05 1999-01-20 Eastman Kodak Company Method and apparatus for multiple quality transaction card images
US6111605A (en) * 1995-11-06 2000-08-29 Ricoh Company Limited Digital still video camera, image data output system for digital still video camera, frame for data relay for digital still video camera, data transfer system for digital still video camera, and image regenerating apparatus
US6380975B1 (en) 1995-11-06 2002-04-30 Ricoh Company, Ltd. Digital still video camera having voice data generation
US7446799B2 (en) 1995-11-06 2008-11-04 Ricoh Company, Ltd. Digital still video camera, image data output system for digital still video camera, frame for data relay for digital still video camera, data transfer system for digital still video camera, and image regenerating apparatus
USRE38759E1 (en) 1995-11-06 2005-07-19 Ricoh Company Limited Digital still video camera, image data output system for digital still video camera, frame for data relay for digital still video camera, data transfer system for digital still video camera, and image regenerating apparatus
JPH11136677A (en) * 1997-10-30 1999-05-21 Fujitsu Ltd Image information processing unit and coder
JP4531871B2 (en) * 1997-10-30 2010-08-25 富士通セミコンダクター株式会社 Image information processing apparatus and encoding apparatus
US6965728B1 (en) 1999-08-05 2005-11-15 Sanyo Electric Co., Ltd. Digital recording apparatus
US6580755B1 (en) 1999-09-13 2003-06-17 Matsushita Electric Industrial Co., Ltd. Apparatus and method for encoding
US6943833B1 (en) 1999-09-22 2005-09-13 Nikon Corporation Electronic camera
WO2001022722A1 (en) * 1999-09-22 2001-03-29 Nikon Corporation Electronic camera
US7187408B2 (en) 2001-02-14 2007-03-06 Sanyo Electric Co., Ltd. Digital camera

Similar Documents

Publication Publication Date Title
US5633976A (en) Image recording apparatus and electronic still camera
US20040095473A1 (en) Image-capturing device capable of adjusting view angles and a control method therefor
JPH0564143A (en) Electronic still camera
JP4407055B2 (en) Electronic camera
JP6929044B2 (en) Imaging device, control method of imaging device, and program
JPH0336886A (en) Still video camera
US6671411B1 (en) Image encoding apparatus, method and memory medium therefor
JP2007049449A (en) Image recorder
JP2006352335A (en) Image coding equipment
JP3064948B2 (en) An electronic camera that can change the compression ratio of image information
JP4208342B2 (en) Image recording apparatus, method, and computer-readable storage medium
JPH0537901A (en) Image recorder
JP3697820B2 (en) Image compression recording device
JP3076081B2 (en) Image signal processing device
KR100681833B1 (en) Apparatus compressing data in the data recording system and method therefor
US7120304B2 (en) Image data compressing apparatus
JP2002287195A (en) Image pickup device and camera-shake detection method
JP4094832B2 (en) Image data compression apparatus and control method thereof
JP2766528B2 (en) Electronic camera image data processing device
JP3112497B2 (en) Information processing device
JP2004064559A (en) Image processor and image processing method
JP4269464B2 (en) Image recording apparatus and image recording method
JP3587535B2 (en) camera
JP3055954B2 (en) Electronic still camera
JP2005102335A (en) Photographing apparatus