JPH0352385A - Digital electronic still camera - Google Patents

Digital electronic still camera

Info

Publication number
JPH0352385A
JPH0352385A JP18605389A JP18605389A JPH0352385A JP H0352385 A JPH0352385 A JP H0352385A JP 18605389 A JP18605389 A JP 18605389A JP 18605389 A JP18605389 A JP 18605389A JP H0352385 A JPH0352385 A JP H0352385A
Authority
JP
Japan
Prior art keywords
orthogonal transformation
encoding
image data
signal
control signal
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.)
Granted
Application number
JP18605389A
Other languages
Japanese (ja)
Other versions
JP3012655B2 (en
Inventor
Kenji Ito
研治 伊藤
Kenji Moronaga
健次 諸永
Mikio Watanabe
幹夫 渡辺
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP1186053A priority Critical patent/JP3012655B2/en
Publication of JPH0352385A publication Critical patent/JPH0352385A/en
Application granted granted Critical
Publication of JP3012655B2 publication Critical patent/JP3012655B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the occurrence of a trouble due to power deficiency supplied from a battery by bringing and orthogonal transformation means and a coding means requiring large power into the standby state when the operation of them is disabled to reduce power consumption required for compression coding. CONSTITUTION:The camera is provided with a block processing means 18 dividing a picture data represented from a picture into plural blocks, an orthogonal transformation means 28 applying 2-dimension orthogonal transformation to the digital picture data split into plural blocks, a coding means 26 coding the data subject to orthogonal and an operation control signal supply means 20. Then the operating time of the orthogonal transformation means 28 and the coding means 26 is controlled by an operation control signal supplied from the operation control signal supply means 20. Thus, the unrequired operation for the large circuit scale such as the orthogonal transformation means 28 and the coding means 26 is regulated to save the power and the occurrence of a trouble due to deficient power supplied from the battery is prevented.

Description

【発明の詳細な説明】 失盃丑■ 本発明はディジタル電子スチルカメラに関し,特に,清
費電力を節約できるディジタル電子スチルカメラに関す
る. 毘且且I ディジタル電子スチルカメラは,たとえばCCDなどの
固体撮像デバイスにより被写界を撮影してそれを表わす
画像信号をディジタルデータの形てメモリに蓄積する撮
影装置である.メモリには,たとえば半導体メモリなど
のRAMを搭載したメ1リカードの形をとるものが多く
使用される.そσ場合、メモリの記憶領域を効率的に使
用するたダに、直交変換符号化などのデータ圧縮を行う
ことが多い。
[Detailed Description of the Invention] The present invention relates to a digital electronic still camera, and more particularly to a digital electronic still camera that can save electricity. A digital electronic still camera is a photographing device that photographs a subject using a solid-state imaging device such as a CCD and stores an image signal representing the scene in a memory in the form of digital data. Memory is often in the form of a memory card equipped with RAM such as semiconductor memory. In that case, data compression such as orthogonal transform encoding is often performed in order to use the memory storage area efficiently.

特に2次元直交変換符号化は,大きな圧縮率I符号化を
行うことができ,かつ符号化に伴う画f1歪も抑圧でき
ることから,広く用いられてレる. このような2次元直交変換符号化においては,画像デー
タは所定の数のブロックに分割され,それぞれのブロッ
ク内の画像データが2次元直交濱換される.直交変換さ
れた画像データ,すなわち変換係数は,所定の閾値と比
較され,閾値以下C部分の切り格で(係数切り捨て)が
行われる.これにより閾値以下の変換係数は,その後,
OCデータとして処理される.次に係数切り捨てがhわ
れた変換係数は、所定の量子化ステップ値,tなわち正
規化係数により除算され、ステップ幅による量子化、す
なわち正規化が行われる。これにより,変換係数の値.
すなわち振幅のダイナミックレンジを抑圧することがで
きる, この閾値との比較と正規化の処理は,同時に行われるこ
とが多い.すなわち、変換係数を所定の正規化係数にて
正規化して,その結果を整数化すると,正規化係数より
低い値をもつ変換係数はOとなる. 正規化された変換係数はその後、ハフマン符号化され、
メモリに記憶される. このような2次元直交変換符号化においては、その演算
量が多いことから、直交変換部および符号化部は回路規
模が大きくなり.これに伴なってこれらの機能部を構成
するICチップは通常のICと比較して消費電力が大き
い.したがって、電子スチルカメラの撮影枚数と搭載可
能なバッテリー容量によってはバッテリーから供給され
る電カが不足するため.消費電力を節約することが望ま
れている, このような消費電力の節約のため、たとえば直交変換部
および符号化部の動作不要時にこれらのICチップを動
作させないようにするため、ICチップを動作させるク
ロック信号を必要な時のみ供給することが考えられる.
しかし、クロック信号によって動作を制(litる場合
には、クロック信号の立上がり特性の悪さに起因する誤
動作を起こす恐れがある. 貝−一恕 本発明はこのような従来技術の問題点を解消し、圧縮符
号化において不要の動作を抑制して電力を節約すること
のできるディジクル電子スチルカメラを提供することを
目的とする. え艶坐豊j 本発明によれば、被写界を撮影して被写界を表わす画像
データをメモリに蓄積するディジタル電子スチルカメラ
は,画像データの表わす画像データを複数のブロックに
分割するブロック化手段と,複数のブロックに分割され
たデジタル霞像デー77z?冷千直亨齋冶する直審膏崩
手fO冫、直交変換手段により直交変換されたデータを
符号化する符号化手段と,直交変換手段および符号化手
段の動作を制御する動作制御信号を供給する動作制御信
号供給手段とを有し,直交変換手段および符号化手段は
、動作制御信号供給手段から供給される動作制御信号に
よって動作時間を制御されるものである。
In particular, two-dimensional orthogonal transform encoding is widely used because it can perform high compression rate I encoding and suppress image f1 distortion that accompanies encoding. In such two-dimensional orthogonal transform encoding, image data is divided into a predetermined number of blocks, and the image data within each block is subjected to two-dimensional orthogonal transform. The orthogonally transformed image data, that is, the transformation coefficients, are compared with a predetermined threshold, and truncation of the C portion below the threshold is performed (coefficient truncation). As a result, the conversion coefficients below the threshold are then
Processed as OC data. Next, the transform coefficients whose coefficients have been truncated are divided by a predetermined quantization step value, t, that is, a normalization coefficient, and quantization, that is, normalization, is performed by the step width. This gives the value of the conversion coefficient.
In other words, comparison with this threshold and normalization processing, which can suppress the dynamic range of amplitude, are often performed at the same time. That is, when the transformation coefficients are normalized by a predetermined normalization coefficient and the result is converted into an integer, the transformation coefficient having a value lower than the normalization coefficient becomes O. The normalized transform coefficients are then Huffman encoded and
Stored in memory. In such two-dimensional orthogonal transform encoding, since the amount of calculation is large, the circuit scale of the orthogonal transform section and the encoding section becomes large. Along with this, the IC chips that make up these functional units consume more power than normal ICs. Therefore, depending on the number of shots taken by the electronic still camera and the capacity of the battery that can be installed, the power supplied from the battery may be insufficient. It is desired to save power consumption.In order to save power consumption, for example, the orthogonal transform unit and the encoder unit are not operated when these IC chips are not required to operate. It is conceivable to supply a clock signal only when necessary.
However, when the operation is controlled by the clock signal, there is a risk of malfunction due to poor rise characteristics of the clock signal.The present invention solves these problems of the conventional technology. According to the present invention, it is an object of the present invention to provide a digital electronic still camera that can save power by suppressing unnecessary operations in compression encoding. A digital electronic still camera that stores image data representing a scene in a memory has a blocking means that divides the image data represented by the image data into a plurality of blocks, and a digital haze image data 77z? Sencho Tosaiji's direct-to-approach software provides an encoding means for encoding the data orthogonally transformed by the orthogonal transformation means, and an operation control signal for controlling the operation of the orthogonal transformation means and the encoding means. The operating time of the orthogonal transform means and the encoding means is controlled by the operation control signal supplied from the operation control signal supply means.

1焉』1生諜1 次に添付図面を参照して本発明によるディジタル電子ス
チルカメラの実廁例を詐細に説明する。
1 Next, an actual example of a digital electronic still camera according to the present invention will be explained in detail with reference to the accompanying drawings.

第1図を参照すると,ディジタル電子スチルカメラの実
施例が示されている.このカメラは撮像デバイスl2を
有し,同デバイスl2にて被写界を撮影してそれを表わ
す画像信号をディジクルデー夕の形で直交変換部28、
符号化部26により圧縮符号化し、メモリカード40に
蓄積する装置である.撮像デバイスl2は、たとえばC
CDなどの固体撮像素子が有利に適用され,撮像レンズ
lOにて被写界をmuモし,被写児を寿わすカラ−画f
争{!巳2たとえば赤(R).縁(G)および青fB1
の色成分信号の形で出力する撮像装置である。この色成
分信号は. TV信号と同様なラスク走査形式にて出力
される.撮影に必要な露光機構や合焦機構などの他の機
能部は、本発明の理解に直接関係ないので説明を省略す
る.メモリカード40は,たとえばRAMなどの半導体
メモリデバイスがカード状の基体に担持された記憶装置
であり,有利には本装置に着脱可能に装着される. 撮像デバイスl2の出力はアナログ・ディジタル変換器
(AD)14に接続され,同変換器l4は人力されるア
ナログの画像信号を対応するディジタルデー夕に変換し
て出力する信号変換回路である.このディジタルデー夕
は,色成分信号RGBについてそれぞれ,たとえば8ビ
ットに量子化される.このディジタルデータ出力は信号
処理部l6に接続されている. 信号処理部l6は本実施例では、白バランス調整および
階調補正などの前処理と、色成分信号データを輝度信号
と2相の色差信号に変換する輝度色差化処理とを画像デ
ータに施す信号処理を行なう。
Referring to Figure 1, an embodiment of a digital electronic still camera is shown. This camera has an imaging device l2, which photographs a field and converts the image signal representing the scene into a digital data into an orthogonal transform unit 28,
This is a device that compresses and encodes the data using the encoder 26 and stores it in the memory card 40. The imaging device l2 is, for example, C
Solid-state imaging devices such as CDs are advantageously applied, and the imaging lens 10 is used to visualize the subject, thereby producing color images that extend the life of the subject.
Conflict {! Snake 2 For example, red (R). Rim (G) and blue fB1
This is an imaging device that outputs color component signals in the form of color component signals. This color component signal is. It is output in rask scanning format similar to TV signals. Other functional units necessary for photographing, such as an exposure mechanism and a focusing mechanism, are not directly related to the understanding of the present invention, so their explanation will be omitted. The memory card 40 is a storage device in which a semiconductor memory device such as a RAM is supported on a card-like base, and is preferably detachably attached to the apparatus. The output of the imaging device l2 is connected to an analog-to-digital converter (AD) 14, and the converter l4 is a signal conversion circuit that converts a manually input analog image signal into corresponding digital data and outputs it. This digital data is quantized into, for example, 8 bits for each of the color component signals RGB. This digital data output is connected to the signal processing section l6. In this embodiment, the signal processing unit l6 is a signal processing unit that performs preprocessing such as white balance adjustment and gradation correction, and luminance color difference processing that converts color component signal data into a luminance signal and two-phase color difference signals on image data. Process.

信号処理部l6の出力はメモリコントローラl8に接続
されている.メモリコントローラl8は、メモリ24に
接続され、信号処理部l6からの出力のメモlJ24へ
の格納およびメモリ24からの読み出しを制1Bする。
The output of the signal processing section l6 is connected to the memory controller l8. The memory controller l8 is connected to the memory 24 and controls storage of the output from the signal processing unit l6 in the memory lJ24 and reading from the memory 24 1B.

撮像デバイスl2から出力される画像信号は.通常のラ
スク走査の順次信号の形をとっている。メモリコントロ
ーラI8は,画f象データのブロック化を行う.すなわ
ち,第2図に示すように,画像信号の表わすlコマの画
面50を所定の大きさの複数の領域すなわちブロック5
2に分割し,各ブロック52ごとに画像データを読み出
す.各ブロック52は、たとえば水平走査(旧方向に8
画素、垂直走査tv+方向に8画素の大きさでよく、ま
たは縦横方向に異なる匝素数の大きさであってもよい.
こうしてブロック52単位に読み出された画像データは
、その出力から符号化部26および直交変換符号化部2
8へ送られる。
The image signal output from the imaging device l2 is . It takes the form of a normal rask scan sequential signal. The memory controller I8 blocks image data. That is, as shown in FIG.
The image data is read out for each block 52. Each block 52 is configured, for example, by horizontal scanning (8 in the old direction).
The size of pixels may be 8 pixels in the vertical scanning tv+ direction, or the size of the number of pixels may be different in the vertical and horizontal directions.
The image data thus read out in units of blocks 52 is output from the encoding unit 26 and the orthogonal transform encoding unit 2.
Sent to 8.

メモリコントローラl8によってメモリ24から読み出
されたブロックごとの画像データは符号化部26へ送ら
れ、アクティビティが計算される.その後、再びブロッ
クごとに直交変換部28へ送られて直交変換された後、
符号化部26へ送られ、符号化される. 直交変換部28は,メモリコントローラl8から入力さ
れる画像データを各ブロック単位で直交変換を行ない,
出力する機能を有する.直交変換は,たとえば2次元デ
ィスクリートコサイン変換(DCTIが有利に適用され
る.これによって各ブロック52の画像データは、ブロ
ック52ごとに周波数領域のデータに変換され,画面5
0の水平IH)方向および垂直m方向に低い周波数から
データが配列される. 直交変換部28において2次元直交変換されたブロック
ごとの画像データは縦横に配列され、左上の部分に低次
のデータが配列され、右下の方向に向かうにつれて高次
のデータとなる.直流成分のデータは左上部に配置され
る.直交変換部28の出力は符号化部26に送られる. 符号化部26は、直交変換部28において2次元直交変
換された画像データ、すなわち変換係数に対して係数切
り捨てを行った後、正規化を行う.係数切り捨ては,直
交変換された変換係数を所定のQ(aと比較し.M値以
下の部分を切り捨てるものである。正規化は、係数切り
捨てを行われた変換係数を所定の量子化ステップ値、す
なわち正規化係数aにより除算し,正規化係数αによる
量子化を行うものである。正規化係数αは、後述するよ
うに、ブロックごとのアクティビティを合計した値に基
づき、固定長化パラメータKl、κ2から求められる. 正規化係数aは、画像データの総アクティビティ、すな
わちアクティビティの合計値に応じて設定される.正規
化係数aの設定は,式a=K l ・ (総アクティビ
ティ)十K2によって,例えば第3A図および第3B図
に示すような変換により行われる.第3A図に示す変換
によれば、アクティビティの合計値に比例して正規化係
tllaが変化する。第3B図に示す変換は、アクティ
ビティの合計値の増加に対して正規化係数aの増加が少
ないものであり、高精度の符号化を行うことができる. 正規化は、本実施例では,第4図に示すような重みテー
ブルTに格納されたデータと上記の正規化係数αとを掛
け合わせて行われる. 直交変換された変換係数は低域の成分がデータとして重
要であり,高域の成分は低域と比較して重要性が低いか
ら,第4図に示すような重みテーブルTは、低域の成分
に小さな値を、高域の成分に大きな値を割り当てており
、このテーブルTのデータに前記の正規化係数aを乗算
して得た値a−Tにより、前記の係数切り捨てを行われ
た変換係数を除算することによって正規化を行う.正規
化係数とテーブルとの積a−Tは.輝度信号Y,色差信
号Cr.Cbのそれぞれについて設定される. 符号化部26は,メモリコントローラl8から入力され
るブロックごとのデータの直流成分および直交変換部2
aから入力されるブロックごとのデータの交流成分を符
号化する.正規化された変換係数は第5図に示す画素デ
ータと同様にブロック状に配列され、その交流成分が第
6図に示されるように低域成分から順にジグザグ状にス
キャンされて、符号化部26において符号化される.符
号化部26はジグザグ状にスキャンされた正規化された
変換係数を符号化する.変換係数の交流成分は零が連続
することが多いため,零の値のデータの連続する量、す
なわち零のラン長を検出し、零のラン長および非零の振
幅を求め,これを2次元ハフマン符号化する.符号化部
26から出力される符号化データの量は、各ブロックの
アクティビティに応じて制限される.すなわち、各ブロ
ックのアクティビティを合計した総アクティビティに対
する各ブロックのアクティビティの比に応じて各ブロッ
クの符号化されたデータの出力を制限し,固定長化を行
う. 直交変換部28i5よび符号化部26は、後述するよう
にiIlto部2aから各種パラメータを入力すること
によって種々の圧縮符号化を行うものであり、たとえば
それぞれ1個のICチップによって形成される. 符号化部26の出力は図示しないコネクタを介してメモ
リカード40に送られる.メモリカード40はたとえば
SRAM, EEFROM  などの半導体メモリデバ
イスがカード状の基体に担持された記憶装置であり,有
利には本装置に着脱可能に装着される.メモリカード4
0に記録されるデータの例が第7図に示されている.同
図に示されるように.メモリカード40の記録領域には
、後述するように、輝度信号Yの正規化テーブルデータ
TY・αY、圧縮された輝度信号データY、色差信号C
『の正規化テーブルデータTr−ar.圧縮された色差
信号データCr.色差信号cbの正規化テーブルデータ
Tb ・αb、圧縮された色差信号データcbの順でデ
ータが記録される.正規化テーブルデータTY−aY.
Tr−arJよびTb・αbは.圧縮された信号Y.C
r.Cbの復号時に使用される. パラメータ設定N30は,カラー画像データの場合の輝
度信号Y、色差信号Cr.Cbごとの圧縮符号化に必要
なパラメータを設定し、符号化部26へ出力する. パラメータ設定部30には人力操作部22が接続され.
人力操作部22から圧縮符号化に使用される各種パラメ
ータ設定のための指示が入力される.パラメータ設定部
30は入力操作部22からの指示に従い、図示しない記
憶部に格納されたバラメークの中から所望のものを選択
し、符号化部26へ出力する. パラメータとしては,たとえば画像を構成するブロック
の数、符号量,固定長化パラメータK1、K2、符号転
送スピード、量子化テーブルTY . TCr. TC
b等がある.画像を構成するブロックの数は,撮影され
メモリに記憶される画像のサイズ、すなわち画素数に応
じて分割されたブロックの数が異なるため,そのブロッ
クの数を符号化部26に知らせるため送られる.符号量
は、圧縮された画像データの画質モードやメモリカード
40の容遣に応じて圧縮符号化されたデータに割り当て
られる総ビット数が異なるため,総ビット数、すなわち
符号量が送られる.固定長化パラメータK1、K2は,
前述のように、正規化において使用される正規化係数α
を求めるための係数として使用される.符号転送スピー
ドはメモリカード40などの記録媒体へのデータの転送
スピードを符号化部26に知らせるために送られる.量
子化テーブルT V . TCr. TCbは、前述の
ように輝度信号Yおよび色差信号Cr.Cbの正規化に
おいて使用される. 制御部20は本装置全体をi1御するIlll部であり
、特に直交変換部28および符号化部26に対してスタ
ンバイ信号またはアクティブ信号を出力する.また,メ
モリ24からの画像データの読み出しを制御する制御信
号をメモリコントローラl8に出力する. 第1図の装置の動作を,第8図のタイミングチャートお
よび第9図のフローチャートを用いて説明する. まず、操作者が人力操作8322から撮影される画像の
サイズ、圧縮される画像の画質、メモリカード40の容
量等に応じて各種パラメータの指示を入力する(100
1 .入力操作部22に入力された指示はパラメータ設
定部30に送られ、パラメータ設定部・30はこれに従
い、図示しない記憶部に記憶されたIfiのパラメータ
の中から指示されたパラメータを選択する。
The image data for each block read out from the memory 24 by the memory controller l8 is sent to the encoding unit 26, where the activity is calculated. After that, each block is again sent to the orthogonal transform unit 28 and orthogonally transformed.
The data is sent to the encoding unit 26 and encoded. The orthogonal transformation unit 28 performs orthogonal transformation on the image data input from the memory controller l8 for each block,
It has a function to output. As the orthogonal transformation, for example, a two-dimensional discrete cosine transformation (DCTI) is advantageously applied.Thereby, the image data of each block 52 is transformed into frequency domain data for each block 52, and the image data of the screen 5
Data is arranged in the horizontal (IH) direction of 0 and in the vertical (m) direction starting from the lowest frequency. The image data for each block subjected to two-dimensional orthogonal transformation in the orthogonal transformation unit 28 is arranged vertically and horizontally, with low-order data arranged in the upper left part and higher-order data moving toward the lower right. DC component data is placed at the top left. The output of the orthogonal transform unit 28 is sent to the encoder 26. The encoding unit 26 performs normalization after truncating the coefficients of the image data that has been subjected to the two-dimensional orthogonal transformation in the orthogonal transformation unit 28, that is, the transformation coefficients. Coefficient truncation is to compare the orthogonally transformed transform coefficient with a predetermined Q(a) and truncate the part below the M value. Normalization is to convert the coefficient truncated transform coefficient to a predetermined quantization step value. , that is, divided by the normalization coefficient a, and quantized by the normalization coefficient α.The normalization coefficient α is based on the sum of activities for each block, and is determined by the fixed length parameter Kl, as described later. , κ2. The normalization coefficient a is set according to the total activity of the image data, that is, the total value of the activities.The setting of the normalization coefficient a is given by the formula a=K l · (total activity) + K2 According to the conversion shown in FIG. 3A, the normalization factor tlla changes in proportion to the total activity value. As shown in FIG. 3B, The conversion is such that the increase in the normalization coefficient a is small relative to the increase in the total value of activities, and high-precision encoding can be performed.In this example, the normalization is performed as shown in Fig. 4. This is done by multiplying the data stored in the weight table T by the normalization coefficient α described above.The low-frequency components of the orthogonally transformed transformation coefficients are important as data, and the high-frequency components are the same as the low-frequency components. Since their importance is relatively low, a weighting table T as shown in Fig. 4 assigns a small value to the low frequency component and a large value to the high frequency component, and the data in this table T is assigned a small value to the high frequency component. Normalization is performed by dividing the transform coefficient whose coefficients have been truncated as described above by the value a-T obtained by multiplying the normalization coefficient a.The product a-T of the normalization coefficient and the table is: Luminance These settings are made for each of the signal Y and the color difference signal Cr.Cb.
Encode the AC component of the data for each block input from a. The normalized transform coefficients are arranged in blocks like the pixel data shown in FIG. 5, and the alternating current components are scanned in a zigzag pattern starting from the low frequency component as shown in FIG. 26. The encoding unit 26 encodes the normalized transform coefficients scanned in a zigzag pattern. Since the alternating current component of the conversion coefficient often has continuous zeros, the continuous amount of zero value data, that is, the zero run length, is detected, the zero run length and the non-zero amplitude are determined, and this is converted into a two-dimensional Perform Huffman encoding. The amount of encoded data output from the encoder 26 is limited depending on the activity of each block. That is, the output of the encoded data of each block is limited according to the ratio of the activity of each block to the total activity of each block, and the length is fixed. The orthogonal transform unit 28i5 and the encoding unit 26 perform various compression encodings by inputting various parameters from the iIlto unit 2a, as will be described later, and are each formed by one IC chip, for example. The output of the encoder 26 is sent to the memory card 40 via a connector (not shown). The memory card 40 is a storage device in which a semiconductor memory device such as an SRAM or an EEFROM is supported on a card-like base, and is preferably removably attached to the apparatus. memory card 4
An example of data recorded in 0 is shown in Figure 7. As shown in the figure. In the recording area of the memory card 40, normalization table data TY and αY of the luminance signal Y, compressed luminance signal data Y, and color difference signal C are stored in the recording area of the memory card 40, as described later.
'Normalized table data Tr-ar. Compressed color difference signal data Cr. Data are recorded in the order of normalization table data Tb/αb of color difference signal cb and compressed color difference signal data cb. Normalized table data TY-aY.
Tr-arJ and Tb・αb are. Compressed signal Y. C
r. Used when decoding Cb. The parameter setting N30 includes a luminance signal Y, a color difference signal Cr. Parameters necessary for compression encoding for each Cb are set and output to the encoding unit 26. A manual operation section 22 is connected to the parameter setting section 30.
Instructions for setting various parameters used for compression encoding are input from the manual operation unit 22. In accordance with instructions from the input operation section 22, the parameter setting section 30 selects a desired one from among the variations stored in a storage section (not shown) and outputs it to the encoding section 26. The parameters include, for example, the number of blocks constituting an image, the amount of code, fixed length parameters K1, K2, code transfer speed, quantization table TY. TCr. T.C.
There are b, etc. The number of blocks constituting an image is sent to inform the encoding unit 26 of the number of blocks, since the number of divided blocks differs depending on the size of the image taken and stored in memory, that is, the number of pixels. .. The total number of bits, that is, the amount of codes, is sent because the total number of bits allocated to compression-encoded data varies depending on the image quality mode of the compressed image data and the capacity of the memory card 40. The fixed length parameters K1 and K2 are
As mentioned above, the normalization factor α used in the normalization
It is used as a coefficient to calculate. The code transfer speed is sent to inform the encoding unit 26 of the data transfer speed to a recording medium such as the memory card 40. Quantization table TV. TCr. TCb is the luminance signal Y and the color difference signal Cr. Used in normalization of Cb. The control section 20 is an Illll section that controls the entire device, and in particular outputs a standby signal or an active signal to the orthogonal transformation section 28 and the encoding section 26. It also outputs a control signal for controlling reading of image data from the memory 24 to the memory controller l8. The operation of the device shown in Fig. 1 will be explained using the timing chart shown in Fig. 8 and the flow chart shown in Fig. 9. First, the operator inputs instructions for various parameters according to the size of the image to be photographed, the quality of the image to be compressed, the capacity of the memory card 40, etc. using the manual operation 8322 (100
1. The instruction input to the input operation section 22 is sent to the parameter setting section 30, and the parameter setting section 30 follows the instruction and selects the instructed parameter from Ifi parameters stored in a storage section (not shown).

撮影を指示されると、撮像デバイスl2は被写界を撮影
し、その被写界を表すlフレームの画像信号を出力する
.この画像信号は.m像デバイスl2からアナログ・デ
ィジタル変換814に出力され、ここで対応するディジ
タルデータに変換される(1021 .この画像データ
は信号処理部16で前処理および輝度色差化処理を施さ
れ、メモリコントローラ18のilll 8によってメ
モリ24に一旦記憶される(1041 第8図に示すように、時刻tlにおいて制御部20から
直交変換部28にスタンバイ信号が、符号化部26にア
クティブ信号が送られる.これにより,直交変換部28
はスタンバイ状態に,符号化部26は動作状態になる。
When instructed to photograph, the imaging device l2 photographs the scene and outputs an image signal of l frames representing the scene. This image signal is. The image data is outputted from the m-image device l2 to the analog-to-digital conversion 814, where it is converted into corresponding digital data (1021). (1041) As shown in FIG. 8, a standby signal is sent from the control unit 20 to the orthogonal transformation unit 28 and an active signal is sent to the encoding unit 26 at time tl. , orthogonal transformation unit 28
is in a standby state, and the encoding unit 26 is in an operating state.

iill m部20からの制御信号によって、パラメー
タ設定部30から符号化部26へ.画像ブロック教、符
号量固定長化パラメータ,符号転送スピードなどのパラ
メータが転送される006)  これらのパラメータが
符号化器26に送られると,制御部20からメモリコン
トローラl8にバス切り換え信号が送られ.メモリコン
トーラ18の制御によりメモリ24からブロックごとの
画像データが読み出される(lロ8).読み出されたブ
ロックごとの画像データは符号化部26へ送られ、総ア
クティビティが求められ、前記の固定長化パラメータK
1、K2を用いて正規化係数αが求められる.また,総
アクティビティに対する各ブロックのアクティビティか
ら各ブロックごとの符号化データのビット配分が求めら
れる.このビット配分に応じて,符号化されたデータの
出力の固定長化が行われる(1101 !1御部20からの制御信号によって、パラメータ設定
部30から輝度信号Y用の量子化テーブルTYが符号化
部26へ送られ、正規化係数αと量子化テーブルTYと
の積により得られるテーブルα・TYが符号化部26か
らメモリカード40へ送られ、記録される(1121 
 これにより輝度信号Yの圧縮符号化処理が可能な状態
になる。
The control signal from the iill m section 20 causes the parameter setting section 30 to send the . Parameters such as image block size, code amount fixed length parameter, and code transfer speed are transferred (006) When these parameters are sent to the encoder 26, a bus switching signal is sent from the control unit 20 to the memory controller l8. .. Image data for each block is read out from the memory 24 under the control of the memory controller 18 (l-ro 8). The read image data for each block is sent to the encoding unit 26, the total activity is determined, and the fixed length parameter K
1. The normalization coefficient α is found using K2. Also, the bit allocation of encoded data for each block is calculated from the activity of each block relative to the total activity. According to this bit allocation, the output of encoded data is made into a fixed length (1101!1) The quantization table TY for the luminance signal Y is set from the parameter setting section 30 to the encoded data by the control signal from the control section 20. The table α・TY obtained by multiplying the normalization coefficient α and the quantization table TY is sent from the encoding unit 26 to the memory card 40 and is recorded (1121).
This makes it possible to perform compression encoding processing on the luminance signal Y.

ここで制御部20は第8図の時刻t2に示すように,直
交変換部28にアクティブ信号を出力する.これにより
直交変換部28は輝度信号の直交変換を行い得る状態に
なる. メモリ24から輝度信号Yのブロックごとの画像データ
が読み出されて直交変換部28に送られ,また輝度信号
Yのブロックごとの画像データの直流成分,すなわち各
画素の平均値が符号化部26に送られる.直交変換部2
8に送られたブロックごとの画像データは直交変換され
,符号化部26へ送られる. 符号化部26において,テーブルa−TYを用いて輝度
信号Yの正規化が行われ、その後、ハフマン符号化が行
われ、先に計算されたブロックごとの符号化データのビ
ット配分に応じて固定長化が行われる(1141 .固
定長化された輝度信号のデ−夕Yは第7図に示すように
、メモリカード40にテーブルα・TYの次の領域に記
録される。
Here, the control section 20 outputs an active signal to the orthogonal transformation section 28, as shown at time t2 in FIG. This puts the orthogonal transform unit 28 in a state where it can perform orthogonal transform of the luminance signal. The image data for each block of the luminance signal Y is read out from the memory 24 and sent to the orthogonal transform section 28, and the DC component of the image data for each block of the luminance signal Y, that is, the average value of each pixel is read out from the encoding section 26. Sent to. Orthogonal transformation unit 2
The image data for each block sent to 8 is orthogonally transformed and sent to the encoding unit 26. In the encoding unit 26, the luminance signal Y is normalized using the table a-TY, and then Huffman encoding is performed, and the luminance signal Y is fixed according to the previously calculated bit allocation of the encoded data for each block. Lengthening is performed (1141). Data Y of the luminance signal made into a fixed length is recorded in the area next to table α.TY in the memory card 40, as shown in FIG.

次に,第8図の時刻t3に示すように、制御部20から
直交変換部28にスタンバイ信号を出力する.これによ
り直交変換部28は再びスタンバイ状態となる.制御部
20からの制御信号に応じて、パラメータ設定部30か
ら色差信号Cr用の量子化テーブルTCrが符号化部2
6へ送られ、テーブルa−Tcrが符号化部26からメ
モリカード40に記録される(1161 ここで制御部20は第8図の時刻t4に示すように、直
交変換部28にアクティブ信号を出力する.これにより
直交変換部28は色差信号C『の直交変換を行い得る状
態になる。
Next, as shown at time t3 in FIG. 8, a standby signal is output from the control section 20 to the orthogonal transformation section 28. As a result, the orthogonal transform unit 28 returns to the standby state. In response to a control signal from the control unit 20, the parameter setting unit 30 outputs the quantization table TCr for the color difference signal Cr to the encoding unit 2.
6, and the table a-Tcr is recorded from the encoding unit 26 to the memory card 40 (1161) Here, the control unit 20 outputs an active signal to the orthogonal transformation unit 28, as shown at time t4 in FIG. This puts the orthogonal transform unit 28 in a state where it can perform orthogonal transform on the color difference signal C'.

メモリ24から色差信号Crのブロックごとの画像デー
タが読み出されて直交変換部28に送られ,また色差信
号Crのブロックごとの画像データの直流成分、すなわ
ち各画素の平均値が符号化部26に送られる.直交変換
部28に送られたブロックごとの画像データは直交変換
され、符号化部26へ送られる。
The image data for each block of the color difference signal Cr is read out from the memory 24 and sent to the orthogonal transform section 28, and the DC component of the image data for each block of the color difference signal Cr, that is, the average value of each pixel is read out from the encoding section 26. Sent to. The image data for each block sent to the orthogonal transform section 28 is orthogonally transformed and sent to the encoder 26.

符号化部26において、テーブルα・TCrを用いて色
差信号Crの正規化が行われ、その後、符号化および固
定長化が行われる+1181。圧縮符号化された色差信
号のデータCrは第7図に示すように、メモリカード4
0のテーブルα・TCrの次の領域に記録される. さらに,第8図の時刻t5に示すように制御部20から
直交変換部28にスタンバイ信号を出力する.これによ
り直交変換部28は再びスタンバイ状態となる.制御部
20からの制御信号に応じて、パラメータ設定部30か
ら色差信号cb用の徴子化テーブルTCbが符号化部2
6へ送られ、テーブルa−TCbが符号化部26からメ
モリカード40に記録される。
In the encoding unit 26, the color difference signal Cr is normalized using the table α·TCr, and then encoding and fixed length conversion are performed +1181. The compression-encoded color difference signal data Cr is stored in the memory card 4 as shown in FIG.
0 is recorded in the next area of table α・TCr. Furthermore, as shown at time t5 in FIG. 8, a standby signal is output from the control section 20 to the orthogonal transformation section 28. As a result, the orthogonal transform unit 28 returns to the standby state. In response to a control signal from the control unit 20, the parameter setting unit 30 outputs the signature conversion table TCb for the color difference signal cb to the encoding unit 2.
6, and the table a-TCb is recorded from the encoding unit 26 to the memory card 40.

ここで制御部20は第8図の時};IIt6に示すよう
に、直交変換部28にアクティブ信号を出力する.これ
により直交変換部28は色差信号cbの直交変換を行い
得る状態になる. メモリ24から色差信号cbのブロックごとの画像デー
タが読み出されて直交変換部28に送られ、また色差信
号cbのブロックごとの画像データの直流成分、すなわ
ち各画素の平均値が符号化部26に送られる.直交変換
部28に送られたブロックごとの画像データは直交変換
され、符号化部26へ送られる. 符号化部26において、テーブルα・TCbを用いて色
差信号cbの正規化が行われ、その後、符号化および固
定長化が行われる(1221 .圧縮符号化された色差
信号のデータcbは第7図に示すように、メモリカード
40に記録される. 色差信号cbの圧縮符号化が終了すると、符号化部26
から制御部20へ圧縮終了信号が出力され、圧縮符号化
が終了する. 本実施例によれば、各種のパラメータの中から選択され
たパラメータを符号化部26へ送り,これにより符号化
を行うことができる。そして,これらのパラメータ転送
の時には,直交変換部28にスタンバイ信号を送ること
によって直交変換部28をスタンバイ状態としている。
Here, the control section 20 outputs an active signal to the orthogonal transformation section 28 as shown in IIt6 in FIG. This puts the orthogonal transform unit 28 in a state where it can perform orthogonal transform of the color difference signal cb. The image data for each block of the color difference signal cb is read out from the memory 24 and sent to the orthogonal transform section 28, and the DC component of the image data for each block of the color difference signal cb, that is, the average value of each pixel is read out from the encoding section 26. Sent to. The image data for each block sent to the orthogonal transform unit 28 is orthogonally transformed and sent to the encoder 26. In the encoding unit 26, the color difference signal cb is normalized using the table α・TCb, and then encoded and fixed length is performed (1221. The data cb of the compression encoded color difference signal is As shown in the figure, it is recorded on the memory card 40. When the compression encoding of the color difference signal cb is completed, the encoding unit 26
A compression end signal is output from the controller 20 to the control unit 20, and compression encoding ends. According to this embodiment, parameters selected from various parameters can be sent to the encoding unit 26, thereby allowing encoding to be performed. When transferring these parameters, the orthogonal transform section 28 is placed in a standby state by sending a standby signal to the orthogonal transform section 28.

したがって、大電力を要する直交変換部28はパラメー
タ転送時に電力の消費が抑制されるから,消費電力を節
約することができる.これにより,撮影中のバッテリー
の不足を防止することができ、m影および圧縮符号化処
理をスムーズに行うことができる. さらに,i1子化テーブルT Y . TCr. TC
bを.輝度信号Yi5よび色差信号Cr.Cbごとに転
送するから,Il度信号Yおよび色差信号Cr.Cbご
とに適切な符号化を行うことができ,符号化部26の量
子化テーブルを格納するためのメモリ領域を小さくする
ことができる. なお、白黒信号の圧縮符号化の場合には、前記の色差信
号Cr.Cbの処理を省略し、輝度信号Yの圧縮符号化
のみを行うことによって容易に白黒信号用の符号化を行
うことができ、白黒信号用の特別な装置およびシーケン
スを必常としない。
Therefore, the power consumption of the orthogonal transform unit 28, which requires a large amount of power, is suppressed during parameter transfer, so that power consumption can be saved. This prevents the battery from running out during shooting, and enables smooth shadow and compression encoding processing. Furthermore, i1 childization table T Y . TCr. T.C.
b. Luminance signal Yi5 and color difference signal Cr. Since each Cb is transferred, the Il degree signal Y and the color difference signal Cr. Appropriate encoding can be performed for each Cb, and the memory area for storing the quantization table of the encoding unit 26 can be reduced. Note that in the case of compression encoding of a monochrome signal, the color difference signal Cr. By omitting the processing of Cb and only compressing and encoding the luminance signal Y, encoding for black-and-white signals can be easily performed, and a special device and sequence for black-and-white signals are not necessarily required.

また,Il度信号Yの圧縮符号化を行う直交変換部また
は符号化部を色差信号Cr.Cbの圧縮符号化を行うこ
れらの機能部と別個のICとする場合には,これらのI
Cを個々に制御してスタンバイ状態とすることによって
消費電力を節約することができる。
In addition, the orthogonal transform unit or encoding unit that compresses and encodes the Il degree signal Y is connected to the color difference signal Cr. When using a separate IC from these functional units that perform Cb compression encoding, these I
Power consumption can be saved by individually controlling C to put it in a standby state.

劾一一里 このように本発明によれば、大電力を要する直交変換手
段および符号化手段が動作不要の時に,これらをスタン
バイ状態とすることによって、圧縮符号化に要する消費
電力を少なくすることができる、したがって,バッテリ
ーから供給される電力の不足によるトラブルの発生を防
止することができる。
According to the present invention, the power consumption required for compression encoding can be reduced by putting the orthogonal transform means and encoding means, which require large amounts of power, into a standby state when they do not need to operate. Therefore, troubles caused by insufficient power supplied from the battery can be prevented.

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

第I図は本発明によるディジタル電子スチルカメラの一
実施例を示す機能ブロック図、第2図は第1図に示す実
施例における画面のブに変換するルックアップテーブル
の例を示す図, 第4図は重みテーブルデータの例を示す図、第5図はブ
ロックを構成する画素データの例を示す図, 第6図はランレングスおよび非零の符号化を行う順序を
示す図、 第7図は第i図のメモリカードに記録されるデータの例
を示す図、 第8図は第1図の動作制IB信号を示すタイミングチャ
ート、 第9図は第1図の装置の動作を示すフローヂャートであ
る。 主,。 の 1の説明 撮像デバイス メモリコントローラ メモリ 符号化部 直交変換部 パラメータ設定部 メモリカード 第 2 図 50 第3A図 第3B図 7クティビテ,lの合計の 第4−図 第6図 第 5 図 第 7 図 第8 図 t1 t2 t) ta tsts t7 第9 図
FIG. 1 is a functional block diagram showing an embodiment of the digital electronic still camera according to the present invention, FIG. Figure 5 shows an example of weight table data, Figure 5 shows an example of pixel data constituting a block, Figure 6 shows the order of run length and non-zero encoding, and Figure 7 shows an example of the pixel data that constitutes a block. Fig. i is a diagram showing an example of data recorded on the memory card; Fig. 8 is a timing chart showing the operation control IB signal of Fig. 1; and Fig. 9 is a flowchart showing the operation of the device shown in Fig. 1. . main,. Description of 1 Imaging device Memory controller Memory encoding section Orthogonal transformation section Parameter setting section Memory card 2nd figure Figure 8 t1 t2 t) ta tsts t7 Figure 9

Claims (1)

【特許請求の範囲】 1、被写界を撮影して該被写界を表わす画像データをメ
モリに蓄積するディジタル電子スチルカメラにおいて、
該カメラは、 前記画像データの表わす画像データを複数のブロックに
分割するブロック化手段と、 該複数のブロックに分割されたデジタル画像データを2
次元直交変換する直交変換手段と、該直交変換手段によ
り直交変換されたデータを符号化する符号化手段と、 前記直交変換手段および符号化手段の動作を制御する動
作制御信号を供給する動作制御信号供給手段とを有し、 前記直交変換手段および符号化手段は、前記動作制御信
号供給手段から供給される前記動作制御信号によって動
作時間を制御されることを特徴とするディジタル電子ス
チルカメラ。 2、請求項1に記載のカメラにおいて、該カメラはさら
に、 前記画像データがカラー画像データの場合に、該カラー
画像データの信号成分ごとのパラメータを前記符号化手
段へ供給するパラメータ供給手段を有し、 前記動作制御信号供給手段は、前記パラメータ供給手段
が前記パラメータを前記符号化手段に供給している間、
前記直交変換手段にスタンバイ信号を供給することを特
徴とするディジタル電子スチルカメラ。
[Claims] 1. In a digital electronic still camera that photographs a subject and stores image data representing the subject in a memory,
The camera includes: a blocking unit that divides image data represented by the image data into a plurality of blocks; and a block dividing unit that divides the digital image data divided into the plurality of blocks into two
orthogonal transformation means for performing dimensional orthogonal transformation; encoding means for encoding data orthogonally transformed by the orthogonal transformation means; and an operation control signal for supplying an operation control signal for controlling the operations of the orthogonal transformation means and the encoding means. supply means, wherein the orthogonal transformation means and the encoding means have operating times controlled by the operation control signal supplied from the operation control signal supply means. 2. The camera according to claim 1, further comprising: when the image data is color image data, parameter supply means supplies parameters for each signal component of the color image data to the encoding means. and the operation control signal supplying means, while the parameter supplying means supplies the parameters to the encoding means,
A digital electronic still camera characterized in that a standby signal is supplied to the orthogonal transformation means.
JP1186053A 1989-07-20 1989-07-20 Digital camera Expired - Lifetime JP3012655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1186053A JP3012655B2 (en) 1989-07-20 1989-07-20 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1186053A JP3012655B2 (en) 1989-07-20 1989-07-20 Digital camera

Publications (2)

Publication Number Publication Date
JPH0352385A true JPH0352385A (en) 1991-03-06
JP3012655B2 JP3012655B2 (en) 2000-02-28

Family

ID=16181573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1186053A Expired - Lifetime JP3012655B2 (en) 1989-07-20 1989-07-20 Digital camera

Country Status (1)

Country Link
JP (1) JP3012655B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014107622A (en) * 2012-11-26 2014-06-09 Mega Chips Corp Monitoring camera device, control program, and compression control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55147073A (en) * 1979-05-04 1980-11-15 Mitsubishi Electric Corp Picture coding unit
JPS61135286A (en) * 1984-12-06 1986-06-23 Nec Corp Picture data compressor
JPS63122392A (en) * 1986-11-12 1988-05-26 Matsushita Electric Ind Co Ltd Electronic still camera

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55147073A (en) * 1979-05-04 1980-11-15 Mitsubishi Electric Corp Picture coding unit
JPS61135286A (en) * 1984-12-06 1986-06-23 Nec Corp Picture data compressor
JPS63122392A (en) * 1986-11-12 1988-05-26 Matsushita Electric Ind Co Ltd Electronic still camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014107622A (en) * 2012-11-26 2014-06-09 Mega Chips Corp Monitoring camera device, control program, and compression control method

Also Published As

Publication number Publication date
JP3012655B2 (en) 2000-02-28

Similar Documents

Publication Publication Date Title
US5295077A (en) Digital electronic still camera
US5832129A (en) Image encoding method and apparatus
US20090034612A1 (en) Quantization method and apparatus in encoding/decoding
JPH10271530A (en) Image data compression coder, method therefor and digital camera
JPH0563994A (en) Image data compressing encoder and method therefor
JPH07154798A (en) Method and device for picture encoding
JPH06189285A (en) Quantization/inverse quantization circuit for picture data compression/expansion device
US20110116725A1 (en) Data compression method and data compression system
JPH0418857A (en) Picture data compression system
JPH02215278A (en) Image signal compressing encoder
US7421135B2 (en) Image data compression device and encoder
JPH09247675A (en) Image compression method and image compression system
US7024044B2 (en) Method of compressing digital images
JPH0352385A (en) Digital electronic still camera
JP3222780B2 (en) Image compression device
JP3335236B2 (en) Digital data processing device
JPH07312751A (en) Method and device for compressing and coding image data
JPH02105686A (en) Digital recorder for still picture
JP2537261B2 (en) Image signal compression recording apparatus and expansion reproducing apparatus
JP2002252759A (en) Image quantization method and device, and image coder utilizing them
US7369708B2 (en) Image data compression device and encoder
JPH04315371A (en) Picture processing method and device
JP2619535B2 (en) Image signal compression encoding apparatus and decoding reproduction apparatus
JPH0575871A (en) Picture processor
JP3144727B2 (en) Digital electronic still camera

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 10

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 10