JP2005252666A - Imaging apparatus and portable telephone - Google Patents

Imaging apparatus and portable telephone Download PDF

Info

Publication number
JP2005252666A
JP2005252666A JP2004060442A JP2004060442A JP2005252666A JP 2005252666 A JP2005252666 A JP 2005252666A JP 2004060442 A JP2004060442 A JP 2004060442A JP 2004060442 A JP2004060442 A JP 2004060442A JP 2005252666 A JP2005252666 A JP 2005252666A
Authority
JP
Japan
Prior art keywords
image
unit
compression rate
camera shake
compression
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
JP2004060442A
Other languages
Japanese (ja)
Inventor
Mitsuo Hashimoto
充夫 橋本
Tetsuya Kuno
徹也 久野
Kozo Ishida
晃三 石田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2004060442A priority Critical patent/JP2005252666A/en
Publication of JP2005252666A publication Critical patent/JP2005252666A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus which generates an alarm when possibility that photographed image blurs is high and which becomes advantageous to cost reduction of product or miniaturization without needing a sensor in detection of blurring. <P>SOLUTION: The imaging apparatus 10 includes an imaging unit 1 for imaging a subject, an image compressing unit 2 for compressing the photographed image, a compression rate calculating unit 3 for calculating a compression rate based on a DCT coefficient value in a block having a relatively high horizontal and vertical frequencies in the DCT coefficient matrix of the n×n pixel block at the stage of the DCT conversion in the image compression, a compression rate comparator 4 for comparing the magnitude of the compression rate of the image before and after the photographing, a blurring detector 5 for judging that the blurring arises by the reduction of the high frequency part of the photographed image when the compression rate is large (the DCT coefficient calculated value is small) to the image to be compared, and a display unit 7 for displaying the alarm, etc. of the blurring. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、CCDイメージセンサ等の固体撮像素子を有する撮像装置に関するものであり、特に手ぶれ警告機能(手ぶれ検出機能)を有する撮像装置に関する。   The present invention relates to an imaging apparatus having a solid-state imaging device such as a CCD image sensor, and more particularly to an imaging apparatus having a camera shake warning function (camera shake detection function).

従来の撮像装置においては、例えば、撮影者が不安定な場所や不安定な体勢で撮影していた場合や被写体が動いている場合に、又は、低照度での撮影のために撮像装置のシャッタースピードが遅くなっている場合等に、手ぶれによって、せっかく撮影した画像が劣化してしまっていることがある。この様な手ぶれによる撮影画像の劣化を防止するために、シャッターをきる度に、そのとき撮影した画像が手ぶれによって劣化している可能性があることを警告する撮像装置が、提案されている。この場合、角速度センサや加速度センサ等のセンサを手ぶれ検出手段として具備する撮像装置が、提案されている。   In a conventional imaging device, for example, when the photographer is shooting in an unstable place or unstable posture, or when the subject is moving, or for shooting at low illumination, the shutter of the imaging device In some cases, such as when the speed is slow, the captured image may be deteriorated due to camera shake. In order to prevent the deterioration of the captured image due to such camera shake, an imaging apparatus that warns that the image captured at that time may be deteriorated due to camera shake every time the shutter is released has been proposed. In this case, an imaging apparatus having a sensor such as an angular velocity sensor or an acceleration sensor as a camera shake detection unit has been proposed.

例えば、下記の特許文献1においては、撮影した画像の再生時、或いは記憶済みの画像ファイルの再生時に、撮影前と撮影後の撮像装置が判断した情報を再生画像データといっしょに表示する手段が設けられており、例えば撮影前にシャッタースピードが遅いために手ぶれ警告が出ていた状態で撮影した画像を再生する際には、手ぶれ警告が出ていたことを上記表示手段によって情報として知らせることにより、当該情報はユーザーが撮影した画像の写り具合を判断する材料となり得、その結果、ユーザーは撮り直す等の対策を取ることが出来る。   For example, in Patent Document 1 below, there is a means for displaying information determined by the imaging device before and after photographing together with the reproduced image data when reproducing a captured image or reproducing a stored image file. For example, when playing back images shot with a camera shake warning due to slow shutter speed before shooting, the display means informs the user that the camera shake warning has been issued. The information can be a material for determining the appearance of the image taken by the user, and as a result, the user can take measures such as re-taking.

又、下記の特許文献2では、手ぶれを含む振動の有無等を検知するために、加速度センサを用いた撮像装置が提案されている。   In Patent Document 2 below, an imaging apparatus using an acceleration sensor is proposed to detect the presence or absence of vibration including camera shake.

特開2003−158646号公報JP 2003-158646 A 特開2001−197351号公報JP 2001-197351 A

しかしながら、(1)特に初心者は、手ぶれ警告に関係なくレリーズスイッチを全押しする際には、半押し時よりもスイッチを押す指に力を入れ過ぎてしまい、結果として手ぶれを招いてしまう傾向がある。又、(2)撮影した画像に対して手ぶれを起こした状況で撮像されたものであるとの情報がユーザーに与えられても、肝心である実際に手ぶれしているかどうかについてはユーザーの判断に委ねられており、わずかな手ぶれについては余程画像についての知識がない限り全てのユーザーが正しく判断することは難しい。更に、(3)手ぶれの警告についても、暗い場所での撮影等でシャッタースピードが遅いときには容易に手ぶれすることが予測できるが、晴天時における日中の屋外で撮影するときには、シャッタースピードは遅くならないため、シャッタースピードによる手ぶれ警告を出せない。   However, (1) especially when a beginner fully presses the release switch regardless of the camera shake warning, he / she tends to put too much force on the finger pressing the switch rather than half-pressed, resulting in camera shake. is there. In addition, (2) even if the user is given information that the image was taken in a situation in which camera shake has occurred, it is up to the user to determine whether or not the camera is actually shaking. It is entrusted, and it is difficult for all users to make a correct judgment for slight camera shake unless there is much knowledge about images. Furthermore, (3) camera shake warning can be easily predicted when the shutter speed is slow, such as when shooting in a dark place, but the shutter speed does not slow when shooting outdoors during the day in fine weather. Therefore, the camera shake warning due to the shutter speed cannot be issued.

又、(4)手ぶれ検出用センサとして角速度センサや加速度センサを用いたとしても、その分だけ、当然にコストが増える。特に、(5)撮像装置付き携帯電話機においては、その携帯性を重視して、出来る限り部品形状を小さくして高密度に実装することが求められるため、いかに軽量でサイズが小さいセンサを用いても、部品を実装すれば、その部品分の体積は増加する。   Further, (4) even if an angular velocity sensor or an acceleration sensor is used as a camera shake detection sensor, the cost naturally increases accordingly. In particular, (5) in a mobile phone with an imaging device, it is required to mount parts with as small a component shape as possible with an emphasis on portability. Therefore, using a sensor that is lightweight and small in size. However, if a part is mounted, the volume of the part increases.

近年、MEMS(Micro-Electronics-Mechanism-System)技術を用いることで数ミリ四方の大きさの加速度センサが開発されており、この様な加速度センサを手ぶれ検出用センサとして用いることも可能ではあるが、コストも掛るために、この様なセンサは先ず高価なデジタルカメラから搭載されることが容易に考えられ、安価なデジタルカメラや撮像装置付き携帯電話機では、その採用が困難である。   In recent years, an acceleration sensor of several millimeters square has been developed by using MEMS (Micro-Electronics-Mechanism-System) technology, and such an acceleration sensor can be used as a camera shake detection sensor. Because of the cost, such a sensor can be easily mounted from an expensive digital camera, and it is difficult to adopt such a sensor with an inexpensive digital camera or a mobile phone with an imaging device.

本発明は、上述した様な様々な課題を一挙に解決するためになされたものであり、撮影した画像が手ぶれ状態で撮影された画像である可能性が高い場合に、加速度センサ等のセンサを必要とすること無く、手ぶれを確実に検出してユーザーに警告を発すると共に、その様な機能実現に際して製品のコスト削減化や小型化にも寄与し得る撮像装置を提供することを、その目的としている。   The present invention has been made in order to solve the various problems as described above, and when there is a high possibility that the captured image is an image captured in a camera shake state, a sensor such as an acceleration sensor is used. The objective is to provide an imaging device that can reliably detect camera shake and issue a warning to the user, and can contribute to cost reduction and downsizing of the product when realizing such functions. Yes.

本発明の主題に係る撮像装置は、被写体を撮像する撮像部と、前記撮像部によって撮像された画像を圧縮・符合化する画像圧縮部と、前記画像圧縮部が出力する圧縮・符合化された画像を記録する画像記録部と、前記画像圧縮部内の処理系統のある段階において圧縮率を算出する圧縮率算出部と、撮影前後の各画像の前記圧縮率を比較する圧縮率比較部と、前記圧縮率の比較結果に基づいて手ぶれの有無を検出する手ぶれ検出部とを備えることを特徴とする。   An imaging apparatus according to the subject of the present invention includes an imaging unit that images a subject, an image compression unit that compresses and encodes an image captured by the imaging unit, and a compression and encoding that is output from the image compression unit. An image recording unit that records an image, a compression rate calculation unit that calculates a compression rate at a certain stage of a processing system in the image compression unit, a compression rate comparison unit that compares the compression rates of images before and after shooting, And a camera shake detection unit that detects the presence or absence of camera shake based on the comparison result of the compression ratios.

以下、この発明の主題の様々な具体化を、添付図面を基に、その効果・利点と共に、詳述する。   Hereinafter, various embodiments of the subject of the present invention will be described in detail along with the effects and advantages thereof with reference to the accompanying drawings.

この発明の主題によれば、加速度センサ等のセンサ部品を新たに設けること無く(従って、製品のコスト削減化・小型化を可能にし得る)、通常、画像を圧縮記録する際には必ず実行される処理系統の途中処理の段階において手ぶれを検出することが可能となる。   According to the subject matter of the present invention, it is usually performed whenever an image is compressed and recorded without newly providing a sensor component such as an acceleration sensor (and thus enabling cost reduction and downsizing of the product). It is possible to detect camera shake in the middle of the processing system.

(実施の形態1)
図1は、本実施の形態に係る撮像装置10の基本構成を示すブロック図である。同図において、本撮像装置10は、被写体を撮像する固体撮像素子としてCCDイメージセンサ等を用いた撮像部(同部はCCDイメージセンサの出力信号のA/D変換部を内蔵している)1と、撮像部1がA/D変換した上で出力する撮像された画像(デジタルデータ)を圧縮・符合化する画像圧縮部2と、圧縮・符合化後の画像を内蔵するフレームメモリ等の記録媒体に記憶する画像記録部6とを備える。更に、撮像装置10は、この発明の中核を成す回路構成要素として、画像を圧縮する際の圧縮率を算出する圧縮率算出部3と、撮影の前画像の圧縮率と後画像の圧縮率とを比較する圧縮率比較部4と、圧縮率比較部4における比較結果に基づいて手ぶれの有無を検出する手ぶれ検出部5と、手ぶれ検出部5が出力する手ぶれの有無の検出結果に基づき後述する手ぶれ警告や当該後画像の保存の必要性を確認するメッセージを表示する表示部(モニタやそのドライバ等を内蔵する装置部分)7と、ユーザーの撮像データ保存の意思を示す信号を入力するコマンド入力部8とを、具備している。上述の通り、これらの各構成要素の内で、本実施の形態の中核を成す部分は、圧縮率算出部3と圧縮率比較部4と手ぶれ検出部5と表示部7とから成る信号処理部(処理系統)である。特に、圧縮率算出部3は、後述する通り、画像圧縮部2内の処理系統の途中の処理段階に該当するDCT変換の段階で、圧縮率を算出する部分であり、同部3は、n×n画素ブロックに関してDCT変換で得られるn×nDCT係数マトリクスの内で、対角線上の最右下部のブロック(n,n)を含むm×m(mはnより小さい任意の整数)個のブロック内におけるDCT係数値の偏り乃至ばらつきに基づいて、高周波成分の偏りの度合いを示す圧縮率を算出する。
(Embodiment 1)
FIG. 1 is a block diagram showing a basic configuration of an imaging apparatus 10 according to the present embodiment. In the figure, the imaging apparatus 10 includes an imaging unit using a CCD image sensor or the like as a solid-state imaging device for imaging a subject (the unit incorporates an A / D conversion unit for an output signal of the CCD image sensor) 1 And an image compression unit 2 that compresses and encodes a captured image (digital data) output after the A / D conversion by the imaging unit 1, and a recording such as a frame memory that stores the compressed and encoded image And an image recording unit 6 for storing in a medium. Furthermore, the imaging apparatus 10 includes, as circuit components constituting the core of the present invention, a compression rate calculation unit 3 that calculates a compression rate when compressing an image, a compression rate of a pre-shooting image, and a compression rate of a post-image. The compression ratio comparison section 4 for comparing the above, the camera shake detection section 5 for detecting the presence or absence of camera shake based on the comparison result in the compression ratio comparison section 4, and the detection result of the presence or absence of camera shake output from the camera shake detection section 5 will be described later. A display unit (device portion incorporating a monitor and its driver) 7 for displaying a camera shake warning and a message for confirming the necessity of storing the image after that, and a command input for inputting a signal indicating the user's intention to store the imaging data Part 8. As described above, among these components, the core part of the present embodiment is a signal processing unit including the compression rate calculation unit 3, the compression rate comparison unit 4, the camera shake detection unit 5, and the display unit 7. (Processing system). In particular, as will be described later, the compression rate calculation unit 3 is a part that calculates the compression rate at the stage of DCT conversion corresponding to a processing step in the middle of the processing system in the image compression unit 2. M × m (m is an arbitrary integer smaller than n) blocks including the lower rightmost block (n, n) on the diagonal line in the n × n DCT coefficient matrix obtained by DCT conversion for the n pixel block A compression rate indicating the degree of bias of the high frequency component is calculated based on the bias or variation of the DCT coefficient value.

次に、図1の画像圧縮部2における画像の圧縮方式を、図2のブロック図を用いて記載する。ここでは、不可逆圧縮方式であるDCT方式を用いたJPEG方式を用いて説明する。先ず、YUV変換部102は、原画像101を基にRGB色空間をYUV色空間へ変換した後、n×nの画素ブロック毎に、例えばn=8として8×8の画素ブロック毎に、画像を分割する。その後、DCT(Discrete Cosine Transform:離散的コサイン変換)部103は、DCTを用いて空間周波数領域への変換を行い、8×8画素の画像について高周波成分と低周波成分との分布を明確化する(n×nDCT係数マトリクスの算出)。その後、量子化部104は、8×8=64画素分の量子化テーブル107の値を用いて、各画素のDCT係数を、対応する係数位置の量子化テーブル値で除算することにより、量子化を行って、画像の持つ情報を削減することで圧縮率を上げる。量子化テーブル107のテーブル値にどのようなパラメータを設定するかによって、圧縮率を自由に換えることが出来る。一般的には、圧縮率を上げる程に、画質は低下する。その後、エントロピー符号化部105は、量子化されたデータに基づいてエントロピー符号語の長さを変えて、符号化データが格納される空間容量を出来るだけ小さくする操作を行うことで、その後、圧縮画像106が生成される。   Next, an image compression method in the image compression unit 2 of FIG. 1 will be described using the block diagram of FIG. Here, a description will be given using a JPEG method using a DCT method that is a lossy compression method. First, after converting the RGB color space to the YUV color space based on the original image 101, the YUV conversion unit 102 performs image processing for each n × n pixel block, for example, for each 8 × 8 pixel block with n = 8. Split. Thereafter, a DCT (Discrete Cosine Transform) unit 103 performs conversion to the spatial frequency domain using DCT, and clarifies the distribution of high-frequency components and low-frequency components for an 8 × 8 pixel image. (Calculation of n × nDCT coefficient matrix). Thereafter, the quantization unit 104 uses the values of the quantization table 107 for 8 × 8 = 64 pixels to divide the DCT coefficient of each pixel by the quantization table value at the corresponding coefficient position, thereby performing quantization. To increase the compression rate by reducing the information held in the image. The compression rate can be freely changed depending on what parameter is set to the table value of the quantization table 107. Generally, the higher the compression rate, the lower the image quality. Thereafter, the entropy encoding unit 105 performs the operation of changing the length of the entropy codeword based on the quantized data to reduce the space capacity in which the encoded data is stored as much as possible, and then compressing the data. An image 106 is generated.

一般的に、画像に含まれる高周波成分は、画像の圧縮率に対して大きな影響を持つと言える。「高周波成分」とはつまり被写体の輪郭であり、輪郭がシャープである程に、圧縮率は低くなる。即ち、同じ構図にて被写体を撮像した場合に、手ぶれをしたり、あるいはフォーカスがずれたりしたときの画像には、手ぶれを起こさない場合の画像と比べて、輪郭部分の欠如が生じており、このことにより圧縮率が高くなる(手ぶれ撮影による画像→高周波成分は少ない→圧縮率が高い)。   In general, it can be said that high-frequency components included in an image have a great influence on the compression rate of the image. That is, the “high frequency component” is the contour of the subject, and the sharper the contour, the lower the compression rate. In other words, when the subject is imaged with the same composition, the image when the image is shaken or defocused has a lack of the outline compared to the image when no image blur occurs. As a result, the compression rate becomes high (images taken by camera shake → high frequency components are small → the compression rate is high).

本発明は上記の論理を利用したものであり、同じ被写体を同じ条件にて撮像した場合に、本来殆ど同じである筈の画像の圧縮率に差異が生じ、その結果としてファイルサイズが異なる圧縮画像が生成されたとすれば、ファイルサイズが小さいものは、ファイルサイズが大きいものに比べて、高圧縮率にて処理されたもの、つまりは、輪郭の高周波成分が欠如しており手ぶれを起こしているものと、判断出来る。   The present invention uses the above-described logic, and when the same subject is imaged under the same conditions, the compression ratios of the images that are essentially the same are different, resulting in compressed images having different file sizes. If the file size is generated, a file with a small file size is processed at a higher compression ratio than a file with a large file size, that is, the high-frequency component of the outline is missing, causing camera shake. It can be judged as a thing.

図1の圧縮率比較部4において圧縮率を比較する際には、当然の事ながら、比較対象となるべき画像が必要である。この場合、本撮像装置10を搭載したデジタルカメラやカメラ付き携帯電話のレリーズスイッチが半押しされたときに比較対象となる第1画像を撮像し、レリーズスイッチが全押しされたときに撮像した画像を第2画像として、圧縮率比較部4は第1及び第2画像の圧縮率を比較するものとする。   When the compression rate comparison unit 4 in FIG. 1 compares the compression rates, it is a matter of course that an image to be compared is necessary. In this case, the first image to be compared is captured when the release switch of the digital camera or camera-equipped mobile phone equipped with the imaging device 10 is half-pressed, and the image is captured when the release switch is fully pressed. Is a second image, and the compression rate comparison unit 4 compares the compression rates of the first and second images.

図1の圧縮率算出部3は、後述する通り、図2のDCT部103における処理段階の結果のみに基づき、画像の圧縮率を予測する。そのため、実際に画像の圧縮作業を伴うわけではないので、余分なメモリを必要とせず、算出時間も短時間で済むと言う利点がある。   The compression rate calculation unit 3 in FIG. 1 predicts the compression rate of an image based only on the result of the processing stage in the DCT unit 103 in FIG. 2, as will be described later. For this reason, since the image compression operation is not actually accompanied, there is an advantage that no extra memory is required and the calculation time is short.

図3は、DCT後の8×8画素分のDCT係数マトリクスを示している。当該マトリクスの横方向は画像の水平方向の周波数成分を示しており、その縦方向は垂直方向の周波数成分を示す。図3の紙面において、右に行く程に水平空間周波数が高くなり、下方向に行く程に垂直空間周波数が高くなる。一般的な画像においては、殆どのエネルギーが低周波側に偏っているため、DCT後のDCT係数マトリクスにおいては、対角線上の最左上部(a)とその近傍にスペクトルが集中し、当該対角線上の最右下部(b)に行く程にDCT係数値が小さくなる傾向にある。従って、手ぶれを起こしていない画像では、輪郭部の高周波成分が残っているため、図3の最右下部(b)近傍のブロックのDCT係数が存在する。これとは対照的に、撮影時に手ぶれを起こしたときの画像においては、輪郭部の高周波成分が殆ど無くなっているために、図3の最右下部(b)近傍のブロックには、殆どDCT係数が存在しない。この点に着眼するならば、圧縮率算出部3における動作乃至は処理とは、DCT処理後の(n×n)個の画素ブロックに関するDCT係数マトリクスにおいて、水平及び垂直の空間周波数が比較的に高い領域のDCT係数値のみを、より正確には、最右下部(b)のブロックを必ず含めつつ同部(b)から水平及び垂直の各方向に数えて(m×m)個(m<n)のブロック内に偏在するDCT係数値を算出乃至は抽出して、それらのDCT係数値のばらつき度合い(同ブロック内の偏りの程度)を与える量として、当該画像の圧縮率を予測することに他ならない。換言すれば、圧縮率算出部3は、水平垂直空間周波数が高い領域(最右下部(b)側の(m×m)個のブロックで規定される領域)内におけるDCT係数値(周波数成分)の偏り度合いに応じて、その偏りの程度乃至は分布を示す数値(例えば偏り度合いを基準のテーブル値と比較することで数値化されるものであり、それは%で表示されるものではない)で以って、当該画像の圧縮率を設定する。従って、圧縮率算出部3は、(m×m)個のブロック内における高周波数成分のDCT係数値の偏在値が大きい場合には低圧縮率を、逆にDCT係数の偏在値が小さい場合には高圧縮率を、DCT画像の圧縮率として割り当てる。   FIG. 3 shows a DCT coefficient matrix for 8 × 8 pixels after DCT. The horizontal direction of the matrix indicates the frequency component in the horizontal direction of the image, and the vertical direction indicates the frequency component in the vertical direction. On the paper surface of FIG. 3, the horizontal spatial frequency increases as it goes to the right, and the vertical spatial frequency increases as it goes downward. In a general image, most of the energy is biased toward the low frequency side. Therefore, in the DCT coefficient matrix after DCT, the spectrum is concentrated on the upper left corner (a) on the diagonal line and the vicinity thereof, and on the diagonal line. The DCT coefficient value tends to decrease as it goes to the lower rightmost part (b). Therefore, in the image in which no camera shake occurs, the high-frequency component in the contour portion remains, and therefore there is a DCT coefficient of a block near the lowermost right part (b) in FIG. In contrast, in the image when camera shake occurs at the time of shooting, the high-frequency component in the contour portion is almost eliminated, so that the block near the lowermost right part (b) in FIG. Does not exist. If attention is paid to this point, the operation or processing in the compression ratio calculation unit 3 is that the horizontal and vertical spatial frequencies in the DCT coefficient matrix relating to (n × n) pixel blocks after the DCT processing are relatively low. More precisely, only the DCT coefficient values in the high region are counted (m × m) (m <m) in the horizontal and vertical directions from the same part (b) without fail including the rightmost lowermost part (b) block. n) calculating or extracting DCT coefficient values that are unevenly distributed in the block, and predicting the compression rate of the image as an amount that gives a degree of variation in the DCT coefficient values (degree of deviation in the block). It is none other than. In other words, the compression ratio calculation unit 3 has a DCT coefficient value (frequency component) in a region where the horizontal / vertical spatial frequency is high (a region defined by (m × m) blocks on the lower right (b) side). Depending on the degree of bias, a numerical value indicating the degree or distribution of the bias (for example, a numerical value is obtained by comparing the degree of bias with a reference table value, which is not displayed in%). Accordingly, the compression rate of the image is set. Therefore, the compression ratio calculation unit 3 performs the low compression ratio when the uneven distribution value of the DCT coefficient value of the high frequency component in the (m × m) blocks is large, and conversely when the uneven distribution value of the DCT coefficient is small. Assigns a high compression rate as the compression rate of the DCT image.

手ぶれを起こしているか否かは、画像中にどれだけ輪郭が残っているか否かによって、従って、高周波成分がどれだけ残っているか否かによって、判断出来る。そのため、DCT係数の比較では、8×8=64個の全てのブロックのDCT係数を見る必要はなく、図3のDCT係数マトリクスの最右下部(b)側の高周波部分だけを見れば十分である。よって、本実施の形態では、既述の通り、最右下部(b)とその近傍部分のブロックから成る(m×m)個のブロック内におけるDCT係数の偏りを、圧縮率を予想するための評価値として見るものとしている。例えば、典型的な一例であるn=8及びm=4とした上で、8×8画素DCT係数マトリクス内の最右下4×4画素分のDCT係数値の偏り具合を数値化して算出することで、手ぶれ検出を行う。   Whether or not camera shake has occurred can be determined by how much outline remains in the image and, therefore, how much high-frequency component remains. Therefore, in the comparison of the DCT coefficients, it is not necessary to look at the DCT coefficients of all the 8 × 8 = 64 blocks, and it is sufficient to look at only the high-frequency part on the lower right (b) side of the DCT coefficient matrix of FIG. is there. Therefore, in this embodiment, as described above, the bias of the DCT coefficient in the (m × m) blocks composed of the rightmost lower part (b) and the blocks in the vicinity thereof is used to predict the compression rate. It is assumed to be seen as an evaluation value. For example, after setting n = 8 and m = 4 as a typical example, the degree of bias of the DCT coefficient values for the lowermost 4 × 4 pixels in the 8 × 8 pixel DCT coefficient matrix is numerically calculated. Thus, camera shake detection is performed.

図4は、本実施の形態に係る撮像装置10を具備したデジタルカメラの背面図である。図4の一例はデジタルカメラの形状を示しているが、本実施の形態に係る撮像装置10を具備した携帯電話機では、その形状は図4のものとは異なる(図示せず)。但し、図4に示すレリーズスイッチ201及び画像表示用LCDモニタ202を具備している点は、デジタルカメラ及びカメラ付き携帯電話機に共通である。   FIG. 4 is a rear view of the digital camera including the imaging device 10 according to the present embodiment. The example of FIG. 4 shows the shape of the digital camera, but the shape of the cellular phone provided with the imaging device 10 according to the present embodiment is different from that of FIG. 4 (not shown). However, the release switch 201 and the image display LCD monitor 202 shown in FIG. 4 are common to the digital camera and the camera-equipped mobile phone.

レリーズスイッチ201は2アクションの仕様であり、本撮像装置10は、レリーズスイッチ201が半押し状態にされたときに瞬間的に取り込んだ画像の圧縮率を算出すると共に、レリーズスイッチ201が全押し状態にされたときにもその瞬間の画像を取り込んで圧縮率を算出し、半押し時の画像の圧縮率と全押し時の画像の圧縮率とを比較する。   The release switch 201 has a two-action specification, and the imaging apparatus 10 calculates a compression rate of an image captured instantaneously when the release switch 201 is half-pressed, and the release switch 201 is fully pressed. Even when the image is set, the compression rate is calculated by taking in the image at that moment, and the compression rate of the image when half-pressed is compared with the compression rate of the image when fully pressed.

画像表示用LCDモニタ202は、半押し時に撮像装置10が圧縮率を算出している間、モニタ画面上に、処理中であることを示すマーク203等を表示する。又、撮像装置10が手ぶれを検出した際には、画像表示用LCDモニタ202は、「手ぶれをしました」等、手ぶれをしたことをユーザーに警告するためのメッセージや手ぶれ警告マークを、そのモニタ画面上に表示する。更に、画像表示用LCDモニタ202は、手ぶれ警告をすると共に、全押し状態において取り込んだDCT済みの画像を更に圧縮・符合化処理して画像記録部6内に保存するか否かの確認メッセージを表示する。   The image display LCD monitor 202 displays a mark 203 or the like indicating that processing is in progress on the monitor screen while the imaging apparatus 10 calculates the compression rate when half-pressed. When the image pickup apparatus 10 detects camera shake, the image display LCD monitor 202 displays a message or camera shake warning mark for warning the user that camera shake has occurred, such as “camera shakes”. Display on the screen. Further, the image display LCD monitor 202 warns of a camera shake, and further confirms whether or not the DCT-completed image captured in the fully pressed state is further compressed / encoded and stored in the image recording unit 6. indicate.

以下に、図5のフローチャートを用いて、本撮像装置10の動作を簡単に記載する。レリーズスイッチ201が半押しされたとき、先ず、撮像装置10は圧縮率(A)を算出する(ステップS1、S2)。次に、レリーズスイッチ201が全押しされたかどうかを比較し、半押し状態が開放された場合にはスタートに戻り、半押し状態から全押しされたときには、撮像装置10は、このときの圧縮率(B)を算出する(ステップS3、S4)。次に、撮像装置10は、圧縮率(A)と圧縮率(B)とを比較し、全押し時の圧縮率(B)の方が半押し時の圧縮率(A)よりも大きい場合には(B>A)、手ぶれ検出部5は全押し時に撮像した画像が手ぶれを起こしていると判断して表示部7にその旨を伝える駆動信号を出力し、その結果、表示部7は、そのLCDモニタ202の画面上に、手ぶれの警告マーク203あるいは警告メッセージを表示し、他方、全押し時の圧縮率(B)の方が半押し時の圧縮率(A)と殆ど同じか、若しくは、小さい場合には、手ぶれ検出部5は、画像圧縮部2に対して圧縮・符合化を進めるべき旨を指示するコマンド信号を送信し、その結果、画像圧縮部2及び画像記録部6は、そのまま全押し時の画像を圧縮保存する(ステップS5、S6)。   Hereinafter, the operation of the imaging apparatus 10 will be briefly described with reference to the flowchart of FIG. When the release switch 201 is pressed halfway, first, the imaging apparatus 10 calculates a compression rate (A) (steps S1 and S2). Next, it is compared whether or not the release switch 201 is fully pressed. When the half-pressed state is released, the process returns to the start. When the release switch 201 is fully pressed from the half-pressed state, the imaging apparatus 10 compresses at this time. (B) is calculated (steps S3 and S4). Next, the imaging apparatus 10 compares the compression rate (A) with the compression rate (B), and when the compression rate (B) when fully pressed is greater than the compression rate (A) when pressed halfway. (B> A), the camera shake detection unit 5 determines that the image captured when fully pressed is causing camera shake, and outputs a drive signal to notify the display unit 7 accordingly. On the screen of the LCD monitor 202, a camera shake warning mark 203 or a warning message is displayed. On the other hand, the compression rate (B) when fully pressed is almost the same as the compression rate (A) when pressed halfway, or If it is smaller, the camera shake detection unit 5 transmits a command signal instructing the image compression unit 2 to proceed with compression / encoding, and as a result, the image compression unit 2 and the image recording unit 6 The image when fully pressed is compressed and stored as it is (steps S5 and S6).

上述の通り、表示部7は、手ぶれを起こしたことを警告すると同時に、「保存しますか?」と言ったメッセージを、そのLCDモニタ202の画面上に表示することで、手ぶれの可能性が高いその画像を保存するか否かをユーザーに問い掛ける。そのとき、ユーザーが当該画像を保存しないことを選択して、その旨を指示する指令をコマンド入力部8から入力した場合には、本装置10は、レリーズスイッチ201を全押しした際にメモリに取り込んだ画像を消去してスタートに戻り、逆に、ユーザーが全押し時の当該画像を保存することを選択してコマンド入力部8を操作した場合には、本装置10は、そのまま当該画像を圧縮保存する(ステップS7、S8)。   As described above, the display unit 7 warns that a camera shake has occurred, and at the same time displays a message saying “Do you want to save it” on the screen of the LCD monitor 202, which may cause a camera shake. Ask the user whether to save the image high. At that time, when the user selects not to save the image and inputs a command to that effect from the command input unit 8, the apparatus 10 stores the image in the memory when the release switch 201 is fully pressed. When the captured image is erased and the process returns to the start, and the user selects to save the image when fully pressed and operates the command input unit 8, the apparatus 10 directly displays the image. Compressed and saved (steps S7 and S8).

圧縮率算出のためには、CCD等の固体撮像素子の持つ全画素を読み出す必要があるが、LCDモニタ202自体は小型であるために、固体撮像素子の持つ画素数が高画素数であった場合には、固体撮像素子の持つ全画素をLCDモニタ202に表示することが出来ない場合が生じる。例えば、VGA(640×480)の画素数を有するCCDを固体撮像素子として用いても、LCDモニタ202が表示し得る画素数がQVGA(320×280)の画素数しかなければ、当該固体撮像素子が有する全画素の3/4は不要である。又、動画に耐えうるフレームレートを確保するために、単純にクロックレートを上げるのでは消費電力の増加や回路規模の増加を招いてしまうため、クロックレートを変えずに固体撮像素子から読み出す画素数を減らすことで、動画表示に必要なフレームレートを確保することが求められる。そのため、LCDモニタ202をビューファインダーとして動画を表示させる場合には、予めCCD等の固体撮像素子を「高速読出しモード」で駆動するか、あるいは、固体撮像素子後段の信号処理において不要画素を間引いてLCDモニタ202に間引き後の画像を表示している。ここでいう「高速読出しモード」とはCCD等の固体撮像素子の画素を読み出す際に、画素を一定の割合で間引いて読出したり、RGB画素のうち、同色画素を一定の割合で混合させて読み出すモード、あるいは両方を組み合わせて読み出すモードのことをいう。   In order to calculate the compression ratio, it is necessary to read out all pixels of a solid-state image sensor such as a CCD. However, since the LCD monitor 202 itself is small, the number of pixels of the solid-state image sensor is high. In some cases, all the pixels of the solid-state image sensor cannot be displayed on the LCD monitor 202. For example, even if a CCD having the number of pixels of VGA (640 × 480) is used as the solid-state imaging device, if the number of pixels that can be displayed by the LCD monitor 202 is only the number of pixels of QVGA (320 × 280), the solid-state imaging device 3/4 of all the pixels included in is unnecessary. Also, simply increasing the clock rate in order to ensure a frame rate that can withstand moving images will increase power consumption and circuit size, so the number of pixels read from the solid-state image sensor without changing the clock rate Therefore, it is required to secure a frame rate necessary for moving image display. Therefore, when displaying a moving image using the LCD monitor 202 as a viewfinder, a solid-state imaging device such as a CCD is driven in the “high-speed readout mode” in advance, or unnecessary pixels are thinned out in signal processing at the subsequent stage of the solid-state imaging device. The thinned image is displayed on the LCD monitor 202. The “high-speed reading mode” here refers to reading out pixels of a solid-state image pickup device such as a CCD by thinning out the pixels at a certain rate, or mixing and reading out the same color pixels among RGB pixels at a certain rate. The mode or the mode that reads out a combination of both.

即ち、レリーズスイッチ201を全押しして圧縮記録する画像を画像記録部6内のメモリに取り込む際は勿論のことであるが、レリーズスイッチ201を半押しして圧縮率を算出する際にも「全画素読出しモード」で固体撮像素子を駆動する必要がある。そのため、レリーズスイッチ201を半押し及び全押しする際には、LCDモニタ202をビューファインダーとして動画を表示させていたときの「高速読出しモード」から「全画素読出しモード」へと、固体撮像素子駆動モードを移行させる必要がある。   That is, not only when the release switch 201 is fully pressed and an image to be compressed and recorded is loaded into the memory in the image recording unit 6, but also when the release switch 201 is pressed halfway to calculate the compression ratio, It is necessary to drive the solid-state imaging device in “all-pixel readout mode”. Therefore, when the release switch 201 is half-pressed and fully pressed, the solid-state image sensor is driven from the “high-speed reading mode” when the LCD monitor 202 is displayed as a viewfinder to the “all-pixel reading mode”. The mode needs to be changed.

図6は、レリーズスイッチ201が押されるタイミングと、そのときの固体撮像素子の駆動モードと、LCDモニタ202上の表示とを模式的に図示したタイミングチャートである。図6において、LCDモニタ表示301は動画を表わし、LCDモニタ表示302は静止画を表わし、LCDモニタ表示303は画像を保存する際の表示例を示している。「高速読出しモード」及び「全画素読出しモード」は、図6に示す通り、垂直同期信号VDに同期して切り替わる。カメラ電源が入っている状態で被写体をLCDモニタ202上に映しているときには、固体撮像素子は「高速読出しモード」で駆動されており、プレビュー時の動画が映される。このとき、レリーズスイッチ201は、半押しも全押しも成されていない状態にある。それからレリーズスイッチ201が半押しされると、次の垂直同期信号(パルス)VDの立上がりタイミングを待って、固体撮像素子は現在の「高速読出しモード」から「全画素読出しモード」に移行して、既述した圧縮率の算出が実行される。このときのLCDモニタ表示302は、「高速読出しモード」時の1フレーム全体の画像を静止画302として表示したものであり、同時に、LCDモニタ202上には、圧縮率算出中であることを示すマーク203が表示される。圧縮率の算出処理が終了すると、次の垂直同期信号VDの立上がりタイミングを待って、固体撮像素子は再び「高速読出しモード」に移行する。このときのLCDモニタ表示は動画301となる。その後、レリーズスイッチ201を全押しすると、次の垂直同期信号VDの立上がりタイミングに同期して、固体撮像素子は「高速読出しモード」から「全画素読出しモード」に移行する。その際のLCDモニタ表示は、既述した圧縮率の算出及び比較の処理が行われた後に手ぶれが検出されたときには、「保存しますか」とのメッセージ303となり、逆に上記手ぶれが検出されなかった場合には、そのまま「画像保存中」とのメッセージ表示303となって、全押し時に取り込んだ画像は画像記録部6内の記録メディアに圧縮保存される。   FIG. 6 is a timing chart schematically showing the timing at which the release switch 201 is pressed, the driving mode of the solid-state imaging device at that time, and the display on the LCD monitor 202. In FIG. 6, an LCD monitor display 301 represents a moving image, an LCD monitor display 302 represents a still image, and an LCD monitor display 303 represents a display example when an image is stored. “High-speed readout mode” and “all-pixel readout mode” are switched in synchronization with the vertical synchronization signal VD as shown in FIG. When the subject is being projected on the LCD monitor 202 with the camera powered on, the solid-state imaging device is driven in the “high-speed reading mode”, and a moving image at the time of preview is displayed. At this time, the release switch 201 is not half pressed or fully pressed. Then, when the release switch 201 is half-pressed, the solid-state imaging device shifts from the current “high-speed readout mode” to the “all-pixel readout mode” after waiting for the rising timing of the next vertical synchronization signal (pulse) VD, The calculation of the compression rate described above is executed. The LCD monitor display 302 at this time is an image of the entire frame displayed in the “high-speed reading mode” as a still image 302, and at the same time, the LCD monitor 202 indicates that the compression rate is being calculated. A mark 203 is displayed. When the compression rate calculation process is completed, the solid-state imaging device again shifts to the “high-speed reading mode” after the next rising timing of the vertical synchronization signal VD. The LCD monitor display at this time is a moving image 301. Thereafter, when the release switch 201 is fully pressed, the solid-state imaging device shifts from the “high-speed readout mode” to the “all-pixel readout mode” in synchronization with the rising timing of the next vertical synchronization signal VD. At that time, the LCD monitor displays a message 303 “Do you want to save” when camera shake is detected after the compression ratio calculation and comparison processing described above has been performed, and conversely the camera shake is detected. If there is no such message, the message display 303 “Save image” is displayed as it is, and the image captured when fully pressed is compressed and stored in the recording medium in the image recording unit 6.

(実施の形態2)
本実施の形態の特徴点は、「撮像装置のレリーズスイッチを半押しする時間に応じて、(1)手ぶれの有無に拘らず当該画像を画像記録部に保存する第1処理と、(2)圧縮率算出部と圧縮率比較部と手ぶれ検出部とによって、手ぶれ警告のために手ぶれの有無の検出を行う第2処理(実施の形態1で記載した処理系統)とを切り替える切換部」を更に備える点にあり、その他の点は実施の形態1と同一である。従って、本実施の形態の記載においては、実施の形態1の記載において用いた図1及び図2のブロック図を援用する。そうすると、本実施の形態の特徴的構成要素たる上記の切換部は、タイマ等の比較機能部やスイッチ機能部を備えるものであって、例えば、図2のYUV変換部102とDCT部103との間に配置される。その様な切換部を具備する撮像装置の処理動作ないしは機能を以下に記載する。
(Embodiment 2)
The feature of the present embodiment is that “depending on the time when the release switch of the imaging device is half-pressed, (1) first processing for storing the image in the image recording section regardless of whether or not there is camera shake; (2) A switching unit for switching the second process (the processing system described in the first embodiment) for detecting the presence / absence of camera shake for a camera shake warning by the compression ratio calculating unit, the compression ratio comparing unit, and the camera shake detecting unit. The other points are the same as those of the first embodiment. Therefore, in the description of this embodiment, the block diagrams of FIGS. 1 and 2 used in the description of Embodiment 1 are used. Then, the switching unit as a characteristic component of the present embodiment includes a comparison function unit such as a timer and a switch function unit. For example, the switching unit between the YUV conversion unit 102 and the DCT unit 103 in FIG. Arranged between. Processing operations or functions of the image pickup apparatus including such a switching unit will be described below.

図7は、図4のレリーズスイッチ201が半押しされている時間の長短によって異なるフローを実現させるフローチャートである。具体的には、図7においては、図5のフローチャートに対して、レリーズスイッチ201が半押しされている時間を予め定められた所定の時間tと比較する処理(ステップS9)を、追加している。即ち、ユーザーによってレリーズスイッチ201が半押しされている時間(半押し時間)が所定の時間tよりも大きい場合には(半押し時間>所定の時間t)、本撮像装置は、そのまま圧縮率(A)を算出するステップS2に移行して実施の形態1で記載した処理と同一の処理(第2処理)を続行する。これに対して、半押し時間が所定の時間t以下であり、しかも、そのままレリーズスイッチ201が全押しされた時には、本撮像装置は、圧縮率(A)の算出処理及び圧縮率(A),(B)の比較処理を行うことなく、そのまま画像を圧縮保存する(103→104→105→106)(第1処理)。   FIG. 7 is a flowchart for realizing different flows depending on the length of time that the release switch 201 in FIG. 4 is half-pressed. Specifically, in FIG. 7, a process (step S9) for comparing the time when the release switch 201 is half-pressed with a predetermined time t is added to the flowchart of FIG. Yes. In other words, when the time during which the release switch 201 is half-pressed by the user (half-press time) is longer than the predetermined time t (half-press time> predetermined time t), the imaging apparatus directly performs the compression rate ( The process proceeds to step S2 for calculating A), and the same process (second process) as the process described in the first embodiment is continued. On the other hand, when the half-press time is equal to or shorter than the predetermined time t and the release switch 201 is fully pressed as it is, the imaging apparatus performs the compression rate (A) calculation process and the compression rate (A), The image is compressed and stored as it is without performing the comparison process (B) (103 → 104 → 105 → 106) (first process).

本実施の形態は、動く被写体を撮影することで、半押し時と全押し時とに撮影する両画像が全く異なってしまう場合や、手ぶれを起こしてもとにかく早く被写体を撮影したい場合に、有効である。   This embodiment is effective when shooting a moving subject that causes the images to be shot to be completely different when half-pressed and fully pressed, or when you want to shoot a subject as soon as possible even if camera shake occurs. It is.

(実施の形態1及び2に共通する変形例)
実施の形態1及び2においては、DCT部103が算出するn×nDCT係数マトリクスの内で、水平垂直空間周波数が比較的高いブロック、即ち、対角線上の最右下位置の(b)ブロックを必ず含む(m×m)個のブロック(m<n)内の各DCT係数に基づいて、圧縮率算出部3が圧縮率を算出している。しかしながら、これに代えて、図2のエントロピー符号化部105の後段のデータサイズに基づいて、圧縮率算出部3が圧縮率を算出することとしても良い(その様な変形を、図2中に、105→3への信号の流れとして破線で表記している)。あるいは、レリーズスイッチ201を半押ししたときの画像をバッファメモリに圧縮保存してファイルサイズを算出しておき、当該ファイルサイズを、レリーズスイッチ201を全押ししたときに圧縮保存したファイルサイズと比較することで、手ぶれを判定しても良い。
(Modification common to Embodiments 1 and 2)
In the first and second embodiments, a block having a relatively high horizontal / vertical spatial frequency in the n × nDCT coefficient matrix calculated by the DCT unit 103, that is, the block (b) at the lower rightmost position on the diagonal line is always used. The compression rate calculation unit 3 calculates the compression rate based on each DCT coefficient in the included (m × m) blocks (m <n). However, instead of this, the compression rate calculation unit 3 may calculate the compression rate based on the data size of the subsequent stage of the entropy encoding unit 105 in FIG. 2 (such a modification is shown in FIG. 2). , 105 → 3 is indicated by a broken line). Alternatively, the file size is calculated by compressing and saving the image when the release switch 201 is pressed halfway in the buffer memory, and the file size is compared with the file size compressed and stored when the release switch 201 is fully pressed. Thus, camera shake may be determined.

又、上記の如く、レリーズスイッチ201を半押ししたときの画像を圧縮保存まで実行する様にするならば、レリーズスイッチ201を全押ししたときの画像が手ぶれを起こしていると判定した場合には、即ち、圧縮率の比較対象となるレリーズスイッチ201を半押ししたときの画像の方は手ぶれを起こしていないと判断して、撮像装置は、レリーズスイッチ半押し時の画像を有効として記録メディアに保存することも出来る。そのため、手ぶれを起こしたからと言って、新たに撮り直す必要性は無い。   Further, as described above, if the image when the release switch 201 is pressed halfway is to be executed until compression and storage, if it is determined that the image when the release switch 201 is fully pressed causes camera shake. That is, it is determined that the image when the release switch 201 to be compared with the compression ratio is half-pressed does not cause camera shake, and the image pickup apparatus validates the image when the release switch is half-pressed as a recording medium. It can also be saved. Therefore, there is no need to take a new shot just because it causes camera shake.

又、半押し及び全押しが出来る2アクションのレリーズスイッチを用いずに、ただ押すだけでスイッチが入る1アクションのレリーズスイッチを採用したときでも、同じ被写体を同じ構図及び同じ撮影条件にて2枚撮像する場合には、前圧縮記録画像のファイルサイズに基づいて手ぶれを検出することが出来る点は、自明である。   Even when a single-action release switch that can be switched on by simply pressing it is used instead of using a two-action release switch that can be half-pressed and fully pressed, two images of the same subject with the same composition and the same shooting conditions can be used. When capturing an image, it is obvious that camera shake can be detected based on the file size of the precompressed recorded image.

(付記)
以上、本発明の実施の各形態を詳細に開示し記述したが、以上の記述は本発明の適用可能な局面を例示したものであって、本発明はこれに限定されるものではない。即ち、記述した局面に対する様々な修正や変形例を、この発明の範囲から逸脱することの無い範囲内で考えることが可能である。
(Appendix)
The embodiments of the present invention have been disclosed and described in detail above. However, the above description exemplifies aspects to which the present invention can be applied, and the present invention is not limited thereto. In other words, various modifications and variations to the described aspects can be considered without departing from the scope of the present invention.

本発明における手ぶれ検出方法の技術は、デジタルカメラの様な撮像装置に適用可能である他、カメラ機能を有する携帯端末(携帯電話や情報端末機器(例えばPDA))にも適用可能である。   The technique of the camera shake detection method in the present invention can be applied to an imaging apparatus such as a digital camera, and can also be applied to a mobile terminal (a mobile phone or an information terminal device (eg, PDA)) having a camera function.

本発明の実施の形態1に係る撮像装置の基本構成を示すブロック図である。It is a block diagram which shows the basic composition of the imaging device which concerns on Embodiment 1 of this invention. 図1の画像圧縮部の各処理部を示すブロック図である。It is a block diagram which shows each process part of the image compression part of FIG. 本発明に係る8×8DCT係数マトリクスを示す概略図である。FIG. 3 is a schematic diagram illustrating an 8 × 8 DCT coefficient matrix according to the present invention. 本発明に係るLCDモニタ付きデジタルカメラの背面図である。1 is a rear view of a digital camera with an LCD monitor according to the present invention. 実施の形態1の手ぶれ検出手順を示すフローチャートである。3 is a flowchart illustrating a camera shake detection procedure according to the first embodiment. 本発明に係るレリーズスイッチ状態による撮像装置の動作状態を概念的に示すタイミングチャートである。6 is a timing chart conceptually showing an operation state of the imaging apparatus according to a release switch state according to the present invention. 実施の形態2の手ぶれ検出手順を示すフローチャートである。10 is a flowchart illustrating a camera shake detection procedure according to the second embodiment.

符号の説明Explanation of symbols

1 撮像部、2 画像圧縮部、3 圧縮率算出部、4 圧縮率比較部、5 手ぶれ検出部、6 画像記録部、7 表示部、8 コマンド入力部、10 撮像装置、101 原画像、102 YUV変換部、103 DCT部、104 量子化部、105 エントロピー符号化部、106 圧縮画像、107 量子化テーブル、201 レリーズスイッチ、202 LCDモニタ、203 圧縮率算出中を示すマーク、301 動画像、302 静止画像、303 メッセージ画像。
DESCRIPTION OF SYMBOLS 1 Image pick-up part, 2 Image compression part, 3 Compression rate calculation part, 4 Compression rate comparison part, 5 Camera shake detection part, 6 Image recording part, 7 Display part, 8 Command input part, 10 Imaging device, 101 Original image, 102 YUV Conversion unit, 103 DCT unit, 104 quantization unit, 105 entropy coding unit, 106 compressed image, 107 quantization table, 201 release switch, 202 LCD monitor, 203 mark indicating compression rate calculation, 301 moving image, 302 still Image, 303 Message image.

Claims (5)

被写体を撮像する撮像部と、
前記撮像部によって撮像された画像を圧縮・符合化する画像圧縮部と、
前記画像圧縮部が出力する圧縮・符合化された画像を記録する画像記録部と、
前記画像圧縮部内の処理系統のある段階において圧縮率を算出する圧縮率算出部と、
撮影前後の各画像の前記圧縮率を比較する圧縮率比較部と、
前記圧縮率の比較結果に基づいて手ぶれの有無を検出する手ぶれ検出部とを備えることを特徴とする、
撮像装置。
An imaging unit for imaging a subject;
An image compression unit that compresses and encodes an image captured by the imaging unit;
An image recording unit for recording the compressed and encoded image output by the image compression unit;
A compression rate calculation unit that calculates a compression rate at a certain stage of the processing system in the image compression unit;
A compression rate comparison unit that compares the compression rate of each image before and after shooting;
A camera shake detection unit that detects the presence or absence of camera shake based on the comparison result of the compression ratio,
Imaging device.
請求項1に記載の撮像装置であって、
前記圧縮率算出部は、前記画像圧縮部内の前記処理系統の途中の処理段階に該当するDCT変換の段階で、前記圧縮率を算出する部分であり、
前記圧縮率算出部は、n×n画素ブロックに関して前記DCT変換で得られるn×nDCT係数マトリクスの内で最右下部のブロック(n,n)を含むm×m(mはnより小さい任意の整数)個のブロック内におけるDCT係数値の偏りに基づいて、前記圧縮率を算出し、
前記圧縮率比較部は、前記圧縮率算出部が出力する前記撮影前後の各画像の圧縮率の大小を比較し、
前記手ぶれ検出部は、撮影後の画像の圧縮率が撮影前の画像の圧縮率よりも大きいときに、当該撮影時に手ぶれを起こしていると判断することを特徴とする、
撮像装置。
The imaging apparatus according to claim 1,
The compression rate calculation unit is a part that calculates the compression rate in a DCT conversion stage corresponding to a processing stage in the middle of the processing system in the image compression unit,
The compression ratio calculation unit includes m × m (m is an arbitrary value smaller than n) including the rightmost lower block (n, n) in the n × n DCT coefficient matrix obtained by the DCT conversion with respect to the n × n pixel block. Based on the bias of the DCT coefficient value in (integer) blocks, the compression rate is calculated,
The compression rate comparison unit compares the compression rate of each image before and after the shooting output by the compression rate calculation unit,
The camera shake detection unit, when the compression rate of the image after shooting is larger than the compression rate of the image before shooting, determines that the camera shake has occurred at the time of shooting,
Imaging device.
請求項1又は2に記載の撮像装置であって、
前記手ぶれ検出部が前記手ぶれを検出するときには、撮像画像が手ぶれしたことをユーザーに警告すると共に、当該撮像画像を前記画像記録部内に保存するか否かをユーザーに問う表示部を更に備えることを特徴とする、
撮像装置。
The imaging apparatus according to claim 1 or 2,
When the camera shake detection unit detects the camera shake, it further includes a display unit that warns the user that the captured image has shaken and asks the user whether or not to store the captured image in the image recording unit. Features
Imaging device.
請求項1乃至3の何れかに記載の撮像装置であって、
前記撮像装置のレリーズスイッチを半押しする時間に応じて、(1)前記手ぶれの有無に拘らず当該画像を前記画像記録部に保存する第1処理と、(2)前記圧縮率算出部と前記圧縮率比較部と前記手ぶれ検出部とによって、手ぶれ警告のために前記手ぶれの有無の検出を行う第2処理とを切り替える切換部を更に備えることを特徴とする、
撮像装置。
The imaging apparatus according to any one of claims 1 to 3,
According to the time when the release switch of the imaging apparatus is half-pressed, (1) a first process for storing the image in the image recording unit regardless of the presence or absence of camera shake, (2) the compression rate calculation unit, and the Further comprising a switching unit that switches between a compression rate comparison unit and the camera shake detection unit and a second process for detecting the presence or absence of the camera shake for a camera shake warning.
Imaging device.
請求項1乃至4の何れかに記載の前記撮像装置を備えることを特徴とする、
携帯電話。
The image pickup apparatus according to claim 1, comprising the image pickup apparatus according to claim 1.
mobile phone.
JP2004060442A 2004-03-04 2004-03-04 Imaging apparatus and portable telephone Pending JP2005252666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004060442A JP2005252666A (en) 2004-03-04 2004-03-04 Imaging apparatus and portable telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004060442A JP2005252666A (en) 2004-03-04 2004-03-04 Imaging apparatus and portable telephone

Publications (1)

Publication Number Publication Date
JP2005252666A true JP2005252666A (en) 2005-09-15

Family

ID=35032738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004060442A Pending JP2005252666A (en) 2004-03-04 2004-03-04 Imaging apparatus and portable telephone

Country Status (1)

Country Link
JP (1) JP2005252666A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010056779A (en) * 2008-08-27 2010-03-11 Fujifilm Corp Imaging apparatus and imaging method
JP2013101698A (en) * 2013-02-25 2013-05-23 Casio Comput Co Ltd Image pickup device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010056779A (en) * 2008-08-27 2010-03-11 Fujifilm Corp Imaging apparatus and imaging method
JP2013101698A (en) * 2013-02-25 2013-05-23 Casio Comput Co Ltd Image pickup device and program

Similar Documents

Publication Publication Date Title
JP4441882B2 (en) Imaging device, display control method, program
US7705904B2 (en) Moving-image recording device for recording moving image
JP4525561B2 (en) Imaging apparatus, image processing method, and program
TWI326553B (en) Imaging apparatus, data extraction method, and data extraction program
JP2008028534A (en) Digital camera
JP2009225027A (en) Imaging apparatus, imaging control method, and program
JP2006174412A (en) Imaging apparatus
JP4769567B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, COMPUTER PROGRAM, AND STORAGE MEDIUM
JP2006148723A (en) Electronic camera apparatus, and animation recording method
JP2002218387A (en) Electronic camera
JP2005252666A (en) Imaging apparatus and portable telephone
JP4329473B2 (en) Image processing apparatus and image processing program
JP2002305678A (en) Electronic camera
JP2005260467A (en) Image processor
JP2014007454A (en) Image pickup device and image pickup method
JP2017103753A (en) Imaging apparatus and recording method
JP4872571B2 (en) Imaging apparatus, imaging method, and program
JP4054918B2 (en) Imaging apparatus, photographing control method, and photographing control program
JP2008034929A (en) Image recording apparatus
JP5338293B2 (en) Imaging apparatus, imaging method, and imaging control program
JP4828486B2 (en) Digital camera, photographing method and photographing program
JP5167385B2 (en) Digital camera
JP2000299800A (en) Image pickup method and device and storage medium
JP4018696B2 (en) Imaging apparatus and control method thereof
JP2008160860A (en) Electronic camera apparatus, moving image recording method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080327

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090310

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090630