JPH06205360A - Image pickup recording device - Google Patents

Image pickup recording device

Info

Publication number
JPH06205360A
JPH06205360A JP36014592A JP36014592A JPH06205360A JP H06205360 A JPH06205360 A JP H06205360A JP 36014592 A JP36014592 A JP 36014592A JP 36014592 A JP36014592 A JP 36014592A JP H06205360 A JPH06205360 A JP H06205360A
Authority
JP
Japan
Prior art keywords
compression
motion
signal
mode
image
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
JP36014592A
Other languages
Japanese (ja)
Inventor
Shinichi Hatae
真一 波多江
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 JP36014592A priority Critical patent/JPH06205360A/en
Publication of JPH06205360A publication Critical patent/JPH06205360A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute picture compression processing suitable for each mode by provid ing two compression means and selecting a compression content depending on the image pickup mode at consecutive photographing and at single photographing. CONSTITUTION:Whether the mode is the single photographing mode or the consecutive photographing mode is discriminated based on a consecutive shot discrimination signal and in the case of the single shot mode, an input picture signal is inputted to a coder 14 via a DC transformation device 4 and a coefficient quantization device 5, in which in-frame DCT compression is executed. Furthermore, in the case of the consecutive shot mode, the same processing is executed as the single shot mode for a 1st picture and an output of the quantization device 5 is inversely converted and the result is inputted to a frame memory 19. When 2nd and succeeding pictures are inputted, the presence of a motion is discriminated by the comparison with the preceding picture in the unit of macro blocks. When no motion is in existence, a motion compensation discrimination device 17 executes inter-frame difference DCT compression and when a motion is large, in-frame DCT compression is executed as no correlation and when a motion is small, its motion vector is searched and inter-frame DCT compression is executed by motion compensation.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は撮像記録装置、より具体
的には単写または連写した被写体の静止画をデジタルに
て記録する撮像記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image capturing / recording apparatus, and more particularly to an image capturing / recording apparatus for digitally recording a still image of a subject that has been single-shot or continuously shot.

【0002】[0002]

【従来の技術】単写または連写した被写体の静止画像を
デジタル信号にてICカードなどのメモリカードに記録
する撮像記録装置として、たとえばデジタルスチルカメ
ラなどがある。図3は、このような従来の撮像記録装置
の機能ブロック図を示したものである。図3において、
レンズ38はいわゆる光学レンズであり、このレンズ3
8で結像された被写体(図示せず)が撮像素子39によ
り光電変換され、電気信号として取り込まれる。
2. Description of the Related Art There is, for example, a digital still camera as an image recording device for recording a still image of a single-shot or continuous-shot subject as a digital signal in a memory card such as an IC card. FIG. 3 shows a functional block diagram of such a conventional image pickup recording apparatus. In FIG.
The lens 38 is a so-called optical lens, and this lens 3
The subject (not shown) imaged at 8 is photoelectrically converted by the image pickup device 39 and taken in as an electric signal.

【0003】電気信号として取り込まれたアナログの画
像情報は、A/D変換器40によりデジタル信号に変換
される。このようにして取り込まれたデジタル信号は、
メモリコントローラ41により一旦フレームメモリ46
に転送され、1フレーム分取り込まれる。取りこまれた
この画像信号は、信号処理回路42にて輝度信号と色差
信号とに変換される。
The analog image information captured as an electric signal is converted into a digital signal by the A / D converter 40. The digital signal captured in this way is
The frame controller 46 is temporarily operated by the memory controller 41.
And is fetched for one frame. This captured image signal is converted into a luminance signal and a color difference signal by the signal processing circuit 42.

【0004】メモリカード45に静止画像を記録できる
このような撮像記録装置は、通常、被写体の映像信号を
出力する出力端子48を有し、この端子48からの映像
信号がたとえば内蔵されたLCDディスプレイや外部表
示装置に表示される。出力端子48に送られる一方の画
像信号は、信号処理回路42により色差信号をクロマ信
号に変調され、輝度信号と加算されてD/A変換器47
に出力される。そして、NTSCアナログ信号に変換さ
れて出力端子48より出力される。
Such an image pickup recording device capable of recording a still image on the memory card 45 usually has an output terminal 48 for outputting a video signal of a subject, and an LCD display in which the video signal from the terminal 48 is incorporated, for example. Or displayed on an external display device. One of the image signals sent to the output terminal 48 has the color difference signal modulated into a chroma signal by the signal processing circuit 42 and added to the luminance signal to be added to the D / A converter 47.
Is output to. Then, it is converted into an NTSC analog signal and output from the output terminal 48.

【0005】また、ICメモリカードに記録される他方
の画像信号は、圧縮符号化処理ブロック43に入力され
画像圧縮が行われる。圧縮符号化された画像信号は、イ
ンターフェイス回路44を通じICメモリカード45に
蓄積される。
The other image signal recorded in the IC memory card is input to the compression encoding processing block 43 and image compression is performed. The compression-coded image signal is stored in the IC memory card 45 through the interface circuit 44.

【0006】図2は従来の圧縮符号化回路43の詳細を
示した機能ブロック図である。図2において、信号処理
回路42で処理された輝度信号および色差信号は、各々
入力端子25より入力され、各々以下に述べる処理を施
されて出力端子34より出力されるが、ここでは輝度信
号を例にその説明を行う。
FIG. 2 is a functional block diagram showing details of the conventional compression encoding circuit 43. In FIG. 2, the luminance signal and the color difference signal processed by the signal processing circuit 42 are input from the input terminal 25, respectively subjected to the processing described below, and output from the output terminal 34. This will be explained using an example.

【0007】入力端子25より入力されたデジタル化さ
れた輝度信号は、フレームメモリ26に一旦蓄えられ
る。そして、このフレームメモリ26から水平8画素×
垂直8画素合計64画素のブロックデータとしてブロッ
ク単位で処理が行なわれる。取り出されたブロックは、
2次元離散コサイン変換器(以下DCT)27により、
水平方向と垂直方向とにそれぞれコサイン変換が施さ
れ、結果として8×8個のDCT係数行列、すなわち2
次元空間周波数に変換される。
The digitized luminance signal input from the input terminal 25 is temporarily stored in the frame memory 26. Then, from this frame memory 26, horizontal 8 pixels x
Processing is performed in block units as block data of a total of 64 pixels of 8 pixels in the vertical direction. The retrieved block is
By the two-dimensional discrete cosine transformer (hereinafter DCT) 27,
The cosine transform is applied to each of the horizontal direction and the vertical direction, and as a result, an 8 × 8 DCT coefficient matrix, that is, 2
Dimensional spatial frequency is converted.

【0008】変換された係数は、自然画の場合、変換さ
れた水平方向と垂直方向の係数が低域成分が大きく高域
になるほど小さくなる事を利用し、かつ、人間の視覚特
性を利用してより圧縮率が高められる。このため、それ
ぞれの係数に重みずけをおこない、係数がより多く
“0”になるように処理を行う。具体的には、設定され
た量子化係数テーブル49から取り出された8×8の重
みずけデータと、DCT27から出力された空間周波数
係数とのベクトル演算を係数量子化器28により行い、
係数をスケーリング化して出力する。このようにして得
られた量子化された係数は、交流成分(以下AC成分と
称す)と直流成分(以下DC成分と称す)とにその信号
の性質上符号化の処理をかえて行われる。
In the case of a natural image, the converted coefficients are obtained by utilizing the fact that the converted coefficients in the horizontal direction and the vertical direction are large in the low frequency range and are small in the high frequency range, and the human visual characteristics are utilized. The compression rate is increased. Therefore, weighting is performed on each coefficient, and processing is performed so that more coefficients are "0". Specifically, the coefficient quantizer 28 performs vector operation of the 8 × 8 weighted data extracted from the set quantization coefficient table 49 and the spatial frequency coefficient output from the DCT 27,
The coefficient is scaled and output. The quantized coefficient thus obtained is subjected to an encoding process in terms of an AC component (hereinafter referred to as an AC component) and a DC component (hereinafter referred to as a DC component) due to the nature of the signal.

【0009】AC成分は、ジグザグスキャン変換器29
により空間周波数成分の低い順にマトッリクスをジグザ
グにスキャンされる。このジグザグスキャンにより係数
量子化器28により空間周波数の量子化係数は、周波数
の高いほうのデータが“0”が多くなるためにより連続
して“0”が並ぶように変換される。このようにして変
換されたビットストリームは、ゼロランレングス回路3
0にて“0”パックされてより圧縮率が高められる。
“0”圧縮されたデータビットストリームは、さらにハ
フマン符号化器31により、データ出現確率を元にして
そのもっとも出現確率の高いものからもっとも符号長が
短いものを割り当てる事により更に圧縮率を高める。
The AC component is a zigzag scan converter 29.
As a result, the Matrices are scanned in a zigzag order from the lowest spatial frequency component. By this zigzag scanning, the quantization coefficient of the spatial frequency is converted by the coefficient quantizer 28 so that “0” s are continuously arranged because the data of the higher frequency has “0” s. The bit stream converted in this way is used by the zero run length circuit 3
At 0, "0" is packed and the compression rate is further increased.
The "0" -compressed data bit stream is further enhanced by the Huffman encoder 31 by allocating the data having the highest appearance probability to the one having the shortest code length based on the data appearance probability.

【0010】DC成分は、その信号の性質がAC成分と
異なる。DC成分は、画像信号の性質上データの値とし
ては大きいが、圧縮符号化のために画像信号を8×8画
素のブロック単位で分割すると、隣接するブロックどう
しは非常に相関性が高くなる。このため、ブロック間の
データの差分を伝送する事により、より圧縮率を高める
事が可能となり、DPCM回路35にて差分伝送され
る。このようにしてDPCM化されたDC成分は、ハフ
マン符号化器36によりAC成分同様にその出現確率に
応じて符号長を割り当てる。
The DC component differs from the AC component in the nature of its signal. The DC component is large as a data value due to the nature of the image signal, but if the image signal is divided into blocks of 8 × 8 pixels for compression encoding, adjacent blocks have a very high correlation. Therefore, by transmitting the data difference between the blocks, the compression rate can be further increased, and the difference is transmitted by the DPCM circuit 35. The Huffman encoder 36 assigns a code length to the DC component thus converted into the DPCM in accordance with the appearance probability in the same manner as the AC component.

【0011】このようにして、ハフマン符号化器31お
よび36のそれぞれの出力は、多重化器32に入力され
てシリアルデータとして多重化されてバッファ33に入
力される。これにより得られたビットストリームデータ
は、変長符号化されているために画像信号によりそのデ
ータ量が変化してしまう。このため、バッファに蓄積さ
れたデータに応じてその量が多い場合は、係数量子化器
28の量子化ステップを大きくするなどのフィードバッ
クをかける事により、一定のデータ量となるようにコン
トロールされる。このようにして撮像素子34より得ら
れた画像信号は圧縮をかけられて蓄積媒体に蓄積され
る。
In this way, the respective outputs of the Huffman encoders 31 and 36 are input to the multiplexer 32, multiplexed as serial data and input to the buffer 33. Since the bit stream data obtained in this way is variable length coded, its data amount changes depending on the image signal. Therefore, when the amount of data accumulated in the buffer is large, the amount of data is controlled to be constant by applying feedback such as increasing the quantization step of the coefficient quantizer 28. . The image signal thus obtained from the image pickup device 34 is compressed and stored in the storage medium.

【0012】[0012]

【発明が解決しようとする課題】しかしながらこのよう
な従来技術における撮像記録装置の圧縮方式では、単写
モードと静止画を1秒間に複数枚撮影するような連写モ
ードとを区別せずに圧縮している。このため、連写モー
ドにより被写体の撮影をした場合、蓄積媒体の容量が限
られ、撮影チャンスを1度に制限される場合があり、非
常に使用者に不便をかける事があった。
However, in the compression method of the image recording apparatus according to the prior art as described above, the compression is performed without distinguishing between the single shooting mode and the continuous shooting mode in which a plurality of still images are shot per second. is doing. For this reason, when a subject is photographed in the continuous shooting mode, the capacity of the storage medium is limited, and the photographing opportunity may be limited to once, which is very inconvenient for the user.

【0013】本発明はこのような従来技術の欠点を解消
し、連写時と単写時の撮影モードにより圧縮内容を切り
替え、それぞれに適した画像圧縮処理が行える撮像記録
装置を提供することを目的とする。
The present invention solves the above-mentioned drawbacks of the prior art, and provides an image pickup recording apparatus capable of switching the compression contents depending on the shooting mode for continuous shooting and single shooting and performing image compression processing suitable for each. To aim.

【0014】[0014]

【課題を解決するための手段】本発明は上述の課題を解
決するために、単写モードおよび連写モードのいずれか
により撮像した被写体の静止画像を圧縮して記憶する撮
像記録装置は、静止画像の画像信号をフレーム又はフィ
ールド内圧縮する第1の圧縮手段と、フレーム又はフィ
ールド間差分および動き適用補償少なくともフレーム又
はフィールド間差分により静止画像の画像信号を圧縮す
る第2の圧縮手段と、単写モードの場合には第1の圧縮
手段により画像信号を圧縮し、連写モードの場合には画
像信号を第2の圧縮手段で圧縮する切り替え処理を行う
切り替え手段とを有し、前記第2の圧縮手段は第1の画
像信号とそれ以降に入力された第2の画像信号との動き
ベクトルを検出し、この動きベクトルが所定の範囲内の
場合には、フレーム又はフィールド間差分及び動き適用
補償により前記第1の画像信号の圧縮を行う。
In order to solve the above problems, the present invention is directed to a still image capturing / recording apparatus that compresses and stores a still image of a subject captured in either a single shooting mode or a continuous shooting mode. A first compression means for compressing an image signal of an image in a frame or a field; and a second compression means for compressing an image signal of a still image by at least a difference between frames or fields and motion application compensation; In the shooting mode, the first compression means compresses the image signal, and in the continuous shooting mode, the switching means performs a switching process of compressing the image signal by the second compression means. The compression means detects the motion vector between the first image signal and the second image signal input thereafter, and if the motion vector is within a predetermined range, Or by the inter-field difference and motion applying compensation for compressing said first image signal.

【0015】[0015]

【作用】本発明によれば、単写モードの場合にはフレー
ム又はフィールド内の圧縮が行われる。また、連写モー
ドの場合には、画像信号のフレーム間における相関性に
より動きベクトルがサーチされ、前記動きベクトルの大
きさに応じて、選択的に動き補償を用いたフレーム又は
フィールド間差分あるいはフレーム又はフィールド間差
分による圧縮が行われる。
According to the present invention, the compression in the frame or field is performed in the single-shot mode. In the continuous shooting mode, the motion vector is searched by the correlation between the frames of the image signal, and the frame or the inter-field difference or the frame using the motion compensation is selectively used according to the magnitude of the motion vector. Alternatively, compression is performed by the difference between fields.

【0016】[0016]

【実施例】次に添付図面を参照して本発明による撮像記
録装置の実施例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of an image recording apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

【0017】単写または連写した被写体の静止画像をデ
ジタル信号にてICカードなどのメモリカードに記録す
る撮像記録装置として、たとえばデジタルスチルカメラ
などがある。図5は本発明におけるこのような撮像記録
装置の実施例を示す機能ブロック図である。
A digital still camera, for example, is known as an image recording device for recording a still image of a single-shot or continuous-shot subject as a digital signal in a memory card such as an IC card. FIG. 5 is a functional block diagram showing an embodiment of such an image recording apparatus according to the present invention.

【0018】図5において、レンズ50はいわゆる光学
レンズであり、このレンズ50で結像された被写体(図
示せず)がCCDなどの撮像素子51により光電変換さ
れ電気信号として取り込まれる。電気信号として取り込
まれたアナログの画像情報は、A/D変換器52により
デジタル信号に変換される。このようにして取り込まれ
たデジタル画像信号は、信号処理回路42にて輝度信号
と色差信号とに変換される。
In FIG. 5, a lens 50 is a so-called optical lens, and a subject (not shown) formed by the lens 50 is photoelectrically converted by an image pickup device 51 such as CCD and taken in as an electric signal. The analog image information captured as an electric signal is converted into a digital signal by the A / D converter 52. The digital image signal thus captured is converted by the signal processing circuit 42 into a luminance signal and a color difference signal.

【0019】メモリカード56に静止画像を記録できる
このような撮像記録装置は、通常、被写体の映像信号を
出力する出力端子58を有し、この端子58からの映像
信号がたとえば内蔵されLCDディスプレイや外部表示
装置に表示さできるように設計されている。このため、
出力端子58に送られる一方の画像信号は、色差信号を
クロマ信号に変調されて輝度信号と加算され、D/A変
換器57に出力され、NTSCアナログ信号に変換され
て出力端子58より出力される。また、ICメモリカー
ド56に記録される他方の画像信号は、圧縮符号化処理
ブロック54に入力され画像圧縮が行われる。そして圧
縮符号化された画像信号は、インターフェイス回路55
を通じICメモリカード56に蓄積される。
Such an image-capturing recording device capable of recording a still image on the memory card 56 usually has an output terminal 58 for outputting a video signal of a subject, and the video signal from the terminal 58 is incorporated, for example, in an LCD display or. It is designed to be displayed on an external display device. For this reason,
One of the image signals sent to the output terminal 58 is a color difference signal modulated into a chroma signal, added to a luminance signal, output to the D / A converter 57, converted to an NTSC analog signal, and output from the output terminal 58. It The other image signal recorded in the IC memory card 56 is input to the compression encoding processing block 54 and image compression is performed. The compression-coded image signal is transferred to the interface circuit 55.
Through the IC memory card 56.

【0020】図1は本実施例における撮像記録装置の圧
縮符号化回路54の一例を示すブロック図である。圧縮
符号化回路54は、輝度信号(Y)および色差信号(R
−Y,B−Y)をデジタル入力端子1より入力し、以下
に述べる所定の信号処理を施して出力端子11より出力
する圧縮回路である。以下、圧縮符号化回路54の説明
を行うが、ここでは輝度信号を例に説明する。
FIG. 1 is a block diagram showing an example of the compression encoding circuit 54 of the image pickup recording apparatus in this embodiment. The compression encoding circuit 54 uses the luminance signal (Y) and the color difference signal (R
-Y, BY) is input from the digital input terminal 1, subjected to the predetermined signal processing described below, and output from the output terminal 11. The compression encoding circuit 54 will be described below. Here, the luminance signal will be described as an example.

【0021】まず、単写モードにおいては、モード識別
信号を入力する連写モード判別信号入力端子18より単
写モードであることを示すモード識別信号が入力され
る。この単写モード識別信号により、動き補償判別器1
7は単写モードである事を判別し、スイッチ22を接点
a側に選択する。単写モードではこのように動き補償回
路17は本来の動きを判別するものではない。このよう
にして最初に撮像素子51(図1)より得られた画像信
号は、入力端子1より入力され、フレームメモリ2にて
一旦蓄えられる。
First, in the single shooting mode, a mode identification signal indicating the single shooting mode is input from the continuous shooting mode determination signal input terminal 18 for inputting the mode identification signal. Based on this single-shot mode identification signal, the motion compensation discriminator 1
The switch 7 selects the single-shot mode and selects the switch 22 to the contact a side. In the single shooting mode, the motion compensation circuit 17 does not discriminate the original motion in this way. In this way, the image signal first obtained from the image pickup device 51 (FIG. 1) is input from the input terminal 1 and temporarily stored in the frame memory 2.

【0022】このフレームメモリ2から画像信号は、水
平8×垂直8画素の計64画素のブロックデータとして
ブロック単位で処理される。単写モードの場合に入力さ
れる画像信号はスイッチ22が接点a側に選択されてい
る。このため、減算器3は実質的にスルーとなり、フレ
ームメモリ2からの画像信号はそのままDCT変換器4
に入力される。
The image signal from the frame memory 2 is processed in block units as block data of a total of 64 pixels of horizontal 8 × vertical 8 pixels. In the image signal input in the single shooting mode, the switch 22 is selected on the contact a side. Therefore, the subtractor 3 becomes substantially through, and the image signal from the frame memory 2 remains as it is in the DCT converter 4.
Entered in.

【0023】2次元離散コサイン変換器(以下DCT)
4は、水平方向と垂直方向とにそれぞれコサイン変換を
施す変換器であり、その結果8×8個のDCT係数行
列、すなわち2次元空間周波数に変換される。自然画の
場合、変換された水平方向と垂直方向の係数は、低域成
分が大きく高域になるほど小さくなる事を利用しかつ、
人間の視覚特性を利用してより圧縮率が高くなるように
処理される。
Two-dimensional discrete cosine transformer (hereinafter DCT)
Reference numeral 4 is a converter for performing cosine transformation in the horizontal direction and the vertical direction, respectively, and as a result, it is transformed into 8 × 8 DCT coefficient matrices, that is, two-dimensional spatial frequencies. In the case of natural images, the fact that the converted horizontal and vertical coefficients are large in the low frequency range and small in the high frequency range is used, and
It is processed to have a higher compression rate by utilizing the human visual characteristics.

【0024】具体的には、それぞれの係数に重みずけを
行い、係数がより多く“0”になるように処理を行う。
このため、設定された量子化係数テーブル24から取り
出された8×8の重みずけデータとDCT4から出力さ
れた空間周波数係数とのベクトル演算を係数量子化器5
により行い、係数をスケーリング化して出力する。この
ようにして得られた量子化された係数は、交流成分(以
下AC成分と称す)と直流成分(以下DC成分と称す)
とに、各信号の性質上符号化の処理をかえて符号化器1
4で符号化処理が行われる。
Specifically, each coefficient is weighted so that the number of coefficients becomes "0".
For this reason, the vector quantizer 5 performs vector calculation of the 8 × 8 weighted data extracted from the set quantization coefficient table 24 and the spatial frequency coefficient output from the DCT 4.
, And the coefficient is scaled and output. The quantized coefficients obtained in this way are AC components (hereinafter referred to as AC components) and DC components (hereinafter referred to as DC components).
In addition, the encoding processing is changed due to the nature of each signal.
At 4, the encoding process is performed.

【0025】AC成分は、ジグザグスキャン変換器6に
より空間周波数成分の低い順にマトッリクスをジグザグ
にスキャンされる。このジグザグスキャンで空間周波数
の量子化係数は、係数量子化器5により周波数の高いほ
うのデータが“0”が多くなるために、より連続して
“0”が並ぶように変換される。このようにして、変換
されたビットストリームは、ゼロランレングス回路7に
て、“0”パックされてより圧縮率を高められる。この
ようにして“0”圧縮されたデータビットストリーム
は、さらにハフマン符号化器8により、データ出現確率
を元にしてそのもっとも出現確率の高いものからもっと
も符号長が短いものを割り当てる事により更に圧縮率を
高められる。
The AC components are zigzag-scanned by the zigzag scan converter 6 in the order of increasing spatial frequency components. The quantized coefficient of the spatial frequency by this zigzag scan is converted by the coefficient quantizer 5 so that "0" s are arranged more continuously because the data of the higher frequency has "0" s. In this way, the converted bit stream is packed by "0" in the zero run length circuit 7 and the compression rate is further increased. The data bit stream thus "0" -compressed is further compressed by the Huffman encoder 8 by allocating the one having the highest appearance probability to the one having the shortest code length based on the data appearance probability. You can increase the rate.

【0026】DC成分はその信号の性質がAC成分と異
なる。すなわちDC成分は、画像信号の性質上データの
値としては大きいが、圧縮符号化のために画像信号を8
×8画素のブロック単位で分割した場合、隣接するブロ
ックどうしでは非常に相関性が高くなる。このため、ブ
ロック間のデータの差分を伝送する事により、より圧縮
率を高める事が可能となるためDPCM回路12にて差
分伝送される。このようにしてDPCM化されたDC成
分は、ハフマン符号化器13によりAC成分同様にその
出現確率に応じて符号長が割り当てられる。
The DC component differs from the AC component in the nature of its signal. That is, the DC component is large as a data value due to the nature of the image signal, but the image signal is 8
When divided in block units of × 8 pixels, the correlation between adjacent blocks becomes very high. Therefore, by transmitting the data difference between the blocks, it is possible to further increase the compression rate, and thus the DPCM circuit 12 transmits the difference. The Huffman encoder 13 assigns a code length to the DC component thus converted into the DPCM in accordance with the appearance probability in the same manner as the AC component.

【0027】このようにしてハフマン符号化器8および
13のそれぞれの出力は、多重化器9に入力されてシリ
アルデータとして多重化されてバッファ10に入力され
る。そして、これにより得られたビットストリームデー
タは、可変長符号化されているために画像信号によりそ
のデータ量が変化してしまう。このため、バッファ10
に蓄積されたデータ量に応じて、その量が多い場合は係
数量子化器5の量子化ステップを大きくするなどのフィ
ードバックをかける事により一定のデータ量となるよう
にコントロールされる。このようにして撮像素子51か
ら得られた画像信号は、圧縮されて出力端子11より出
力され、インタフェース回路55を介して蓄積媒体であ
るICメモリカード56に蓄積される。このように単写
モードでは従来の圧縮プロセスと同じである。
In this way, the respective outputs of the Huffman encoders 8 and 13 are input to the multiplexer 9 and multiplexed as serial data and input to the buffer 10. Then, the bit stream data obtained by this is variable-length coded, so that the data amount thereof changes depending on the image signal. Therefore, the buffer 10
Depending on the amount of data accumulated in the above, if the amount is large, feedback is performed such as increasing the quantization step of the coefficient quantizer 5, so that the data amount is controlled to be constant. The image signal thus obtained from the image pickup device 51 is compressed and output from the output terminal 11, and is stored in the IC memory card 56 which is a storage medium via the interface circuit 55. In this way, the single-shot mode is the same as the conventional compression process.

【0028】次に、連写モードの説明を行う。連写モー
ドでは蓄積媒体45の容量が有効に使用されるよう、係
数逆量子化器15、8*8IDCT16、動き補償判別
器17、フレームメモリ19、ループフィルタ20、ス
イッチ21,22,59および加算器60により構成さ
れる補償ブロック23が機能する。
Next, the continuous shooting mode will be described. In the continuous shooting mode, the coefficient inverse quantizer 15, 8 * 8 IDCT 16, the motion compensation discriminator 17, the frame memory 19, the loop filter 20, the switches 21, 22, 59 and addition are performed so that the capacity of the storage medium 45 is effectively used. The compensation block 23 constituted by the device 60 functions.

【0029】連写時は、1秒間に複数枚(10枚内外)
の画像信号を撮影するモードであるため、撮影された各
画像信号間には、非常に強い相関性が有る場合が多い。
連写時には、まずモード判別信号端子18より連写モー
ドである事が動き補償判別器17に入力され連写モード
である事が識別される。
During continuous shooting, multiple images per second (10 in and out)
In this mode, the captured image signals often have a very strong correlation between the captured image signals.
At the time of continuous shooting, first, the continuous shooting mode is input to the motion compensation discriminator 17 from the mode determination signal terminal 18 and is identified as the continuous shooting mode.

【0030】連写モードにおける撮像素子からの最初の
1枚目の画像は、単写モードと同様に取りこまれ、前記
同様に圧縮が施されて出力端子11より出力される。ま
た、これとともに、係数量子化器5より出力された空間
周波数係数列は、補償ブロック23の係数逆量子化器1
5に入力され、逆量子化されて8×8の空間周波数列に
逆変換される。このようにして、非可逆復元された空間
周波数である離散コサイン変換係数は、逆コサイン変換
器16により画像信号に非可逆変換され、動き補償判別
器17からの制御信号によりスイッチ59が接点f側に
選択されるため、フレームメモリ19に入力される。
The first first image from the image pickup device in the continuous shooting mode is taken in in the same manner as in the single shooting mode, compressed as described above, and output from the output terminal 11. Along with this, the spatial frequency coefficient sequence output from the coefficient quantizer 5 is the coefficient inverse quantizer 1 of the compensation block 23.
5 is input, inversely quantized, and inversely transformed into an 8 × 8 spatial frequency sequence. In this way, the discrete cosine transform coefficient which is the irreversibly restored spatial frequency is irreversibly converted into an image signal by the inverse cosine converter 16, and the switch 59 is moved to the contact f side by the control signal from the motion compensation discriminator 17. Is input to the frame memory 19.

【0031】次に連写された2枚目以降の画像信号が入
力端子1から入力されてくると、フレームメモリ2にて
一旦蓄えられる。1枚目の画像信号の処理と異なるの
は、動きを検出するために8×8画素のブロック単位を
さらに数個の集合とする大きくブロック化したマクロブ
ロックを規定し、そのマクロブロック単位でフレームメ
モリ19に記録された時間的に前のフレームの画像信号
の同一位置のマクロブロックとの差分を取り、その値を
基準レベルと比較する事により動きの有る無しを判別す
る。
Next, when the second and subsequent image signals which have been continuously shot are input from the input terminal 1, they are temporarily stored in the frame memory 2. The difference from the processing of the first image signal is that a macroblock that is made into a large number of blocks is further defined as a set of several 8 × 8 pixel block units in order to detect a motion, and a frame is set in each macroblock unit. The presence or absence of motion is determined by calculating the difference between the image signal of the previous frame in time recorded in the memory 19 and the macro block at the same position and comparing the difference with the reference level.

【0032】動きが小さい場合 動き補償判別器17によりマクロブロック単位で、動き
が小さいと判別された場合、スイッチ22は接点b側に
選択され、スイッチ21は接点d側に選択される。この
ようにスイッチが選択されて、フレームメモリ2から8
×8画素のブロック単位で比較減算器3に入力される。
もう一方のフレームメモリ19からは同一位置8×8画
素のブロックの信号画像が入力され、同一位置のブロッ
クの差分が比較減算器3から出力される。
When Motion is Small When the motion compensation discriminator 17 determines that the motion is small in macroblock units, the switch 22 is selected on the contact b side and the switch 21 is selected on the contact d side. In this way, the switch is selected and the frame memories 2 to 8 are selected.
The data is input to the comparison and subtractor 3 in block units of × 8 pixels.
A signal image of a block of 8 × 8 pixels at the same position is input from the other frame memory 19, and the difference between blocks at the same position is output from the comparison / subtractor 3.

【0033】このようにして、差成分からなる画像デー
タを同様に2次元コサイン変換を施し、以下の処理は単
写モードと同様の処理を施こす。結果として、2次元コ
サイン変換された係数列は、大部分が“0”となるため
に画像信号データは圧縮され、蓄積媒体に(たとえばこ
こではICカード56)記録されることとなる。
In this way, the image data composed of the difference components are similarly subjected to the two-dimensional cosine transformation, and the following processing is performed in the same manner as the single shooting mode. As a result, most of the two-dimensional cosine-transformed coefficient sequence is “0”, so that the image signal data is compressed and recorded on the storage medium (for example, the IC card 56 here).

【0034】一方、係数量子化されたデータが係数量子
化器15に入力され、逆量子化されてコサイン逆変換器
16に入力されて差分の画像信号となる。このとき、ス
イッチ59が接点e側に、またスイッチ21が判別信号
により接点d側に選択されている。このため、フレーム
メモリ19から出力される画像信号は、前の画像信号が
そにまま加算器60に入力され、DCT16からの差成
分と加算され、フレームメモリ19に入力され、2番目
に記録されることとなる画像信号が結果として復元され
フレームメモリ19に保持される。このように次々に前
の画像信号と比較されてその差成分が圧縮され記録され
る事となる。
On the other hand, the coefficient-quantized data is input to the coefficient quantizer 15, inversely quantized, and input to the cosine inverse transformer 16 to be a differential image signal. At this time, the switch 59 is selected on the contact e side and the switch 21 is selected on the contact d side by the determination signal. Therefore, the image signal output from the frame memory 19 is input to the adder 60 without change from the previous image signal, is added to the difference component from the DCT 16, is input to the frame memory 19, and is secondly recorded. The resulting image signal is restored as a result and held in the frame memory 19. In this way, the image signals are successively compared with the previous image signal, and the difference component is compressed and recorded.

【0035】動きが大きい場合 マクロブロック単位で、動きが大きいと動き補償判別器
17により判別され場合は、動きベクトルを検出するた
めに、被処理フレームのブロックが、時間的に前に記録
された画像信号が保持されているフレームメモリのブロ
ック19に対し、ある画素離れた範囲内のブロック間で
の差成分が最小となるブロックを全検索し動きベクトル
を求める。このようにして、動きベクトルを求めて被処
理フレームの被処理ブロックが、前のフレームのどのブ
ロックと差成分が最小となるのかを求める。
When the motion is large In macroblock units, when the motion is determined to be large by the motion compensation discriminator 17, the block of the frame to be processed was recorded earlier in time in order to detect the motion vector. With respect to the block 19 of the frame memory in which the image signal is held, all the blocks having the smallest difference component between blocks within a certain pixel distance are searched to obtain a motion vector. In this way, the motion vector is obtained to determine which block of the previous frame has the smallest difference component with respect to the block to be processed of the frame to be processed.

【0036】このときスイッチ22は接点b側に選択さ
れ、スイッチ21は接点c側に選択される。このように
スイッチが選択されて、フレームメモリ2から8×8画
素の被処理ブロックが、ブロック単位で比較減算器3に
入力される。もう一方のフレームメモリ19からは、動
きベクトルにより判別された前の画像信号のブロックが
ブロックのエッジ部分の歪みを低減するためにループフ
ィルタ20によりフィルタリング処理を施されて出力さ
れ、ブロック間の差成分が減算器3から出力される。
At this time, the switch 22 is selected on the contact b side, and the switch 21 is selected on the contact c side. In this way, the switch is selected, and the processed block of 8 × 8 pixels from the frame memory 2 is input to the comparison / subtractor 3 in block units. From the other frame memory 19, the block of the previous image signal determined by the motion vector is subjected to filtering processing by the loop filter 20 in order to reduce the distortion of the edge portion of the block, and is output. The component is output from the subtractor 3.

【0037】このようにしてブロック間の差成分からな
る画像データを同様にして2次元コサイン変換を施し、
以下の処理は動きが小さい場合と同様の処理が施され
る。結果として、DTC変換器4により2次元コサイン
変換された係数列は、大部分が“0”となるために画像
信号データは圧縮され、蓄積媒体(たとえばここではI
Cカード56)に記録されることとなる。
In this way, the image data composed of the difference components between the blocks are similarly subjected to the two-dimensional cosine transformation,
The following processing is performed in the same way as when the movement is small. As a result, the coefficient sequence subjected to the two-dimensional cosine transform by the DTC converter 4 is mostly "0", so that the image signal data is compressed and the storage medium (for example, I
It will be recorded on the C card 56).

【0038】一方、係数量子化されたデータが係数量子
化器15に入力され逆量子化されてコサイン逆変換器1
6に入力されて差分の画像信号となる。スイッチ59の
接点がe側に、また判別信号によりスイッチ21の接点
がd側に選択されているため、フレームメモリ19から
出力される画像信号は、前の画像信号がそのまま加算器
60に入力され、IDCT16からの差成分と加算さ
れ、フレームメモリ19に入力され、2番目に記録され
ることとなる画像信号が結果として復元されフレームメ
モリに保持される。このように次々に前の画像信号と比
較されてその差成分が圧縮され記録される事となる。
On the other hand, the coefficient-quantized data is input to the coefficient quantizer 15 and inversely quantized to obtain the cosine inverse transformer 1.
It is input to 6 and becomes a differential image signal. Since the contact point of the switch 59 is selected to the e side and the contact point of the switch 21 is selected to the d side by the determination signal, the image signal output from the frame memory 19 is the same as the previous image signal input to the adder 60 as it is. , And the difference component from the IDCT 16 is added to the frame memory 19 and the image signal to be recorded second is restored as a result and held in the frame memory. In this way, the image signals are successively compared with the previous image signal, and the difference component is compressed and recorded.

【0039】画像間に相関性が無い場合 動きが非常に大きくもしくは、パンニングや背景などが
新たに出現したような場合は、前の画像と被処理画像の
画像間には相関性が無いため前記のようなフレーム間の
相関を利用した圧縮手法は利用できない。したがってこ
のような場合には、単写モード時と同様なフレーム内の
DCT変換による圧縮により画像信号は蓄積媒体に記録
される。
When there is no correlation between images When the motion is very large, or when panning or a background appears newly, there is no correlation between the previous image and the image to be processed. A compression method using the correlation between frames as described above cannot be used. Therefore, in such a case, the image signal is recorded in the storage medium by the compression by the DCT conversion within the frame as in the single shooting mode.

【0040】図4は本実施例における圧縮符号化処理の
動作を示すフローチャートである。同図に示すように本
実施例では、連写判別信号により連写モードか単写モー
ドかを判別し(S100)、単写モードであればフレー
ム内DCT圧縮を実行する(S102)。また、連写モ
ードであれば、1枚目の場合にはフレーム内DCT圧縮
を実行し(S102)、そうでなければ前の画像信号と
比較することにより、動き補償有り無しの判定を行う。
そして、動き補償が無い場合にはフレーム間差分DCT
圧縮を行い(S108)、マクロブロック間の動きが大
きいかどうかを判定する(110)。もし、マクロブロ
ック間の動きが大きい場合には、相関性が無いとして
(S116)、フレーム内DCT圧縮を実行する(S1
02)。また、マクロブロック間の動きが小さければ、
その動きベクトルをサーチし(S112)、動き補償に
よるフレーム間DCT圧縮を実行する(S114)。
FIG. 4 is a flow chart showing the operation of the compression encoding process in this embodiment. As shown in the figure, in the present embodiment, whether the continuous shooting mode or the single shooting mode is determined by the continuous shooting determination signal (S100), and in the single shooting mode, the intra-frame DCT compression is executed (S102). If it is the continuous shooting mode, the intra-frame DCT compression is executed in the case of the first frame (S102), and if not, the presence or absence of motion compensation is determined by comparing with the previous image signal.
If there is no motion compensation, the inter-frame difference DCT
Compression is performed (S108), and it is determined whether the motion between macroblocks is large (110). If the motion between macroblocks is large, it is determined that there is no correlation (S116), and intra-frame DCT compression is executed (S1).
02). Also, if the movement between macroblocks is small,
The motion vector is searched (S112), and interframe DCT compression by motion compensation is executed (S114).

【0041】このように本実施例によれば、単写モード
時には、連写モードにおいて使用する動き適用ブロック
全体を表す補償ブロック23は使用しなため、連写判別
信号18に同期してブロック23の動作を停止せしめる
ことにより、単写モード時の消費電力を増加せしめるこ
となく連写時の機能を付加することができる。
As described above, according to this embodiment, in the single shooting mode, the compensation block 23 representing the entire motion application block used in the continuous shooting mode is not used, so that the block 23 is synchronized with the continuous shooting determination signal 18. By stopping the operation of, the function for continuous shooting can be added without increasing the power consumption in the single shooting mode.

【0042】[0042]

【発明の効果】以上により、連写モード時にて、フレー
ム又はフィールド間動き補償及びフレーム又はフィール
ド間差分伝送或いはフレーム又はフィールド間差分伝送
による圧縮を行うことにより、限られた蓄積媒体の容量
においても、シャッターチャンスを逃すことなく記録可
能となり、通常の使用における単写時の消費電力を増加
することなく使用者に対し、大きな便利性を与えること
ができる。
As described above, even in the limited storage medium capacity, by performing motion compensation between frames or fields and compression by frame or field differential transmission or frame or field differential transmission in the continuous shooting mode. Recording can be performed without missing a photo opportunity, and great convenience can be given to the user without increasing power consumption during single shooting in normal use.

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

【図1】本発明による撮像記録装置における圧縮符号化
器の実施例を示す機能ブロック図である。
FIG. 1 is a functional block diagram showing an embodiment of a compression encoder in an image recording apparatus according to the present invention.

【図2】従来の撮像記録装置における圧縮符号化器の機
能ブロック図である。
FIG. 2 is a functional block diagram of a compression encoder in a conventional image recording device.

【図3】従来の撮像記録装置の機能ブロック図である。FIG. 3 is a functional block diagram of a conventional image recording device.

【図4】図1に示した圧縮符号化器の処理を示すフロー
チャートである。
FIG. 4 is a flowchart showing processing of the compression encoder shown in FIG.

【図5】本発明による撮像記録装置の実施例を示す機能
ブロック図である。
FIG. 5 is a functional block diagram showing an embodiment of an image pickup recording apparatus according to the present invention.

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

1 デジタル入力端子 2,19 フレームメモリ 3 減算器 4 DCT変換器 5 係数量子化器 6 ジグザグスキャン器 7 ゼロランレングス変換器 8 ハフマン符号化器 9 多重化器 10 バッファ 11 出力端子 12 DPCM器 13 ハフマン符号化器 14 符号化器 15 係数逆量子化器 16 逆DCT変換器 17 動き補償判別器 18 連写モード判別信号入力端子 20 ループフィルタ 21,22,59 スイッチ 23 連写時の動き補償ブロック 24 量子化係数ケーブル 50 レンズ 51 撮像素子 52 A/D変換器 53 信号処理回路 54 圧縮符号化器 55 インターフェイス 56 ICメモリカード 57 D/Aコンバータ 58 出力端子 59 スイッチ 1 Digital Input Terminal 2, 19 Frame Memory 3 Subtractor 4 DCT Converter 5 Coefficient Quantizer 6 Zigzag Scanner 7 Zero Run Length Converter 8 Huffman Encoder 9 Multiplexer 10 Buffer 11 Output Terminal 12 DPCM Unit 13 Huffman Encoder 14 Encoder 15 Coefficient inverse quantizer 16 Inverse DCT converter 17 Motion compensation discriminator 18 Continuous shooting mode discrimination signal input terminal 20 Loop filter 21, 22, 59 switch 23 Motion compensation block during continuous shooting 24 Quantum Conversion coefficient cable 50 Lens 51 Image sensor 52 A / D converter 53 Signal processing circuit 54 Compression encoder 55 Interface 56 IC memory card 57 D / A converter 58 Output terminal 59 Switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 単写モードおよび連写モードのいずれか
により撮像した被写体の静止画像を圧縮して記憶する撮
像記録装置において、 前記静止画像の画像信号をフレーム又はフィールド内圧
縮する第1の圧縮手段と、 フレーム又はフィールド間差分および動き適用補償少な
くともフレーム又はフィールド差分により前記静止画像
の画像信号を圧縮する第2の圧縮手段と、 前記単写モードの場合には前記第1の圧縮手段により前
記画像信号を圧縮し、連写モードの場合には前記画像信
号を第2の圧縮手段で圧縮する切り替え処理を行う切り
替え手段とを有し、 前記第2の圧縮手段は第1の画像信号とそれ以降に入力
された第2の画像信号との動きベクトルを検出し、この
動きベクトルが所定の範囲内の場合には、フレーム又は
フィールド間差分及び動き適用補償により、前記第1の
画像信号の圧縮を行うことを特徴とする撮像記録装置。
1. An imaging recording apparatus for compressing and storing a still image of a subject imaged in one of a single shooting mode and a continuous shooting mode, the first compression for compressing an image signal of the still image within a frame or a field. Means, second frame compression means for compressing the image signal of the still image by at least frame or field difference, and in the case of the single shooting mode, the first compression means A switching means for compressing the image signal and for switching the image signal by the second compression means in the case of the continuous shooting mode, wherein the second compression means includes the first image signal and the first image signal. The motion vector with respect to the second image signal input thereafter is detected, and when this motion vector is within a predetermined range, the difference between the frames or fields is detected. And the motion applying compensation, imaging and recording apparatus which is characterized in that the compression of the first image signal.
JP36014592A 1992-12-28 1992-12-28 Image pickup recording device Pending JPH06205360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36014592A JPH06205360A (en) 1992-12-28 1992-12-28 Image pickup recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36014592A JPH06205360A (en) 1992-12-28 1992-12-28 Image pickup recording device

Publications (1)

Publication Number Publication Date
JPH06205360A true JPH06205360A (en) 1994-07-22

Family

ID=18468102

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36014592A Pending JPH06205360A (en) 1992-12-28 1992-12-28 Image pickup recording device

Country Status (1)

Country Link
JP (1) JPH06205360A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999067947A1 (en) * 1998-06-24 1999-12-29 Hitachi, Ltd. Image sensing/storing method and image sensing device
KR100469231B1 (en) * 1997-07-18 2005-03-16 엘지전자 주식회사 Picture Search apparatus
JP2010245606A (en) * 2009-04-01 2010-10-28 Nikon Corp Image processing unit and image reproducing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100469231B1 (en) * 1997-07-18 2005-03-16 엘지전자 주식회사 Picture Search apparatus
WO1999067947A1 (en) * 1998-06-24 1999-12-29 Hitachi, Ltd. Image sensing/storing method and image sensing device
JP2010245606A (en) * 2009-04-01 2010-10-28 Nikon Corp Image processing unit and image reproducing device
US8391621B2 (en) 2009-04-01 2013-03-05 Nikon Corporation Image processing device and image reproducing device

Similar Documents

Publication Publication Date Title
KR100820528B1 (en) Digital camera, memory control device usable for it, image processing device and image processing method
KR100231186B1 (en) Method and device for decoding image data
US5272527A (en) Picture image monitoring system
US5150432A (en) Apparatus for encoding/decoding video signals to improve quality of a specific region
JP4084826B2 (en) Image compression device and method
EP0907287A2 (en) Conversion of DV format encoded video data into MPEG format
JPH04196976A (en) Image encoding device
JPH06189281A (en) Video signal encoding device using compression of adaptive frame/field format
JP4190576B2 (en) Imaging signal processing apparatus, imaging signal processing method, and imaging apparatus
JPH06189290A (en) Video signal encoding device using 1d/2d dct
JPH0795566A (en) Method and device for encoding image
CN108156461A (en) A kind of Bayer method for compressing image and device
JPH06205360A (en) Image pickup recording device
KR100366382B1 (en) Apparatus and method for coding moving picture
JPH047989A (en) Picture signal encoding control system
JP3406924B2 (en) Image processing apparatus and method
JP3239583B2 (en) Imaging device and videophone device having imaging device
JPH09261530A (en) Video recorder
JPH05227513A (en) Video signal transmitter
JP2000270251A (en) Digital camera
JPH08289296A (en) Image communication system and transmitting method therefor
JPH09205648A (en) Image compression transmitter
KR20020015231A (en) System and Method for Compressing Image Based on Moving Object
JPH05161108A (en) Method and device for controlling code quantity
JPH11346357A (en) Recording device for monitoring