JP2010081100A - Imaging device, imaging method, and imaging program - Google Patents

Imaging device, imaging method, and imaging program Download PDF

Info

Publication number
JP2010081100A
JP2010081100A JP2008244833A JP2008244833A JP2010081100A JP 2010081100 A JP2010081100 A JP 2010081100A JP 2008244833 A JP2008244833 A JP 2008244833A JP 2008244833 A JP2008244833 A JP 2008244833A JP 2010081100 A JP2010081100 A JP 2010081100A
Authority
JP
Japan
Prior art keywords
imaging
unit
feature
character
pixels
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
JP2008244833A
Other languages
Japanese (ja)
Inventor
Toru Yoshida
徹 吉田
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2008244833A priority Critical patent/JP2010081100A/en
Publication of JP2010081100A publication Critical patent/JP2010081100A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging device which can automatically set an optimum pixel number according to a characteristic object such as a character included in a subject, and which can optimize a memory capacity. <P>SOLUTION: At a stage where a live view image taking an image of a subject is displayed, when a half push of a shutter is detected (step SA1), an imaging device performs image analysis within an image analysis area A (step SA2). When it is recognized that a characteristic object is a character as a result of image analysis (step SA3), the imaging device sets a pixel to VGA. Also, when it is recognized that the characteristic object is a scenery (step SA5), the imaging device sets a pixel to 8M. In addition, when it is recognized that the characteristic object is a face (step SA7), the imaging device sets a pixel to 10M (step SA8). Accordingly, when a character not requiring a large number of pixels is used as a subject and imaging is performed instead of taking notes, the number of pixels is set low and then an image is taken with a small number of pixels so long as a character is in an image analysis area, whereby memory consumption is economically managed according to the plan. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、例えばデジタルカメラ等の撮像装置に関し、特に被写体を撮影する際の画素数を被写体含まれる、文字等の特徴物に応じて自動的に変更することができる撮像装置、撮像方法及び撮像プログラムに関するものである。   The present invention relates to an imaging device such as a digital camera, and more particularly to an imaging device, an imaging method, and an imaging device that can automatically change the number of pixels when shooting a subject according to a feature such as a character included in the subject. It is about the program.

従来より、撮像装置を用いて風景や建物・記念物、文字、人物等の被写体を撮影することがあった。この際の画素数(解像度)は、ユーザがマニュアル操作でMENU階層の中へ入り画素数を選択して切り替えを行うといった、ユーザ自らが決定する手法が一般的である。例えば、特許文献1には、文字認識モードと通常撮影モードとを切り換えるモード切換手段によって、文字撮影の場合と通常撮影の場合とで設定を換える撮像装置が開示されている。   Conventionally, subjects such as landscapes, buildings / monuments, characters, people, and the like have been photographed using an imaging device. The number of pixels (resolution) at this time is generally determined by the user himself, such as the user manually entering the MENU hierarchy and selecting and switching the number of pixels. For example, Patent Document 1 discloses an imaging apparatus in which settings are switched between character shooting and normal shooting by mode switching means for switching between a character recognition mode and a normal shooting mode.

特開平7−288722号公報(明細書[0015])JP-A-7-288722 (specification [0015])

しかしながら、従来のようにユーザがマニュアル操作で画素数を選択して切り替える方法では、画素数の切り替えることなく前回撮影時に選択した画素数のままで撮影を行ってしまうことが多い。このため、カメラの有する最高画素数、例えば10Mにて撮影をしているユーザでは、マニュアルによる切替え作業が面倒なことから、いかなる被写体であろうとも10Mで撮影してしまいがちになり、撮影が最適な設定で行われないことが多い。   However, in the conventional method in which the user selects and switches the number of pixels by manual operation, shooting is often performed with the number of pixels selected at the previous shooting without switching the number of pixels. For this reason, a user who is shooting at the maximum number of pixels of the camera, for example, 10M, tends to shoot at 10M regardless of the subject, because manual switching is troublesome. Often not done with optimal settings.

特に、常に10Mで撮影していると、必要以上にメモリの容量を消費したり、撮影画像をPCで確認する場合に画像サイズが大きすぎて取り扱いづらくなるという問題がある。   In particular, if the image is always taken at 10M, there is a problem that the memory capacity is consumed more than necessary, or the image size is too large to be handled when the photographed image is confirmed on the PC.

最近では、被写体として文字を撮影してメモ代わりに使うという方法もあり、こういう場合には、文字が認識できれば足りるため、高画質画像でなくてもよいという要望もある。   Recently, there is a method of photographing a character as a subject and using it instead of a memo. In such a case, it is sufficient that the character can be recognized.

本発明は、かかる従来の課題に鑑みてなされたものであり、例えば、被写体含まれる、文字等の特徴物に応じて最適な画素数を設定することを目的とする。   The present invention has been made in view of such conventional problems, and an object of the present invention is to set an optimal number of pixels in accordance with, for example, a feature such as a character included in a subject.

前記課題を解決するため請求項1記載の発明に係る撮像装置にあっては、被写体画像を撮像する撮像手段と、前記撮像手段が撮像する被写体画像から特徴物を検出する検出手段と、前記検出手段によって検出された特徴物に応じて、前記撮像手段が撮像すべき範囲を画素数として設定する画素数設定手段とを備えることを特徴とする。   In order to solve the above-described problem, in the imaging apparatus according to the first aspect of the present invention, an imaging unit that captures a subject image, a detection unit that detects a feature from the subject image captured by the imaging unit, and the detection And a pixel number setting unit that sets a range to be imaged by the imaging unit as the number of pixels according to the feature detected by the unit.

また、請求項2記載の発明に係る撮像装置にあっては、光学的にズームを行う光学ズーム手段と、前記検出手段によって検出された特徴物が、前記撮像手段の撮像画角内に設定された当該特徴物を解析するための画像解析エリアに収まる最大倍率まで前記光学ズーム手段によるズーム処理を行うズーム制御手段と、を更に備えることを特徴とする。   In the image pickup apparatus according to the second aspect of the present invention, the optical zoom means for optically zooming and the characteristic object detected by the detection means are set within the image pickup angle of view of the image pickup means. And zoom control means for performing zoom processing by the optical zoom means up to a maximum magnification that can be accommodated in an image analysis area for analyzing the feature.

また、請求項3記載の発明に係る撮像装置にあっては、前記ズーム制御手段は、前記検出手段によって被写体画像から複数の特徴物を検出した場合、検出した全ての特徴物が前記画像解析エリアに収まる最大倍率まで前記光学ズーム手段によるズーム処理を行うことを特徴とする。   In the image pickup apparatus according to claim 3, when the zoom control unit detects a plurality of feature objects from the subject image by the detection unit, all the detected feature objects are included in the image analysis area. The zoom processing by the optical zoom means is performed up to the maximum magnification that falls within the range.

また、請求項4記載の発明に係る撮像装置にあっては、前記検出手段によって被写体画像から特徴物を検出できない場合又は前記光学ズーム手段によって処理可能なズーム処理範囲を超えている場合には、その旨を報知する報知手段を更に備えることを特徴とする。   Further, in the imaging device according to the invention of claim 4, when the feature cannot be detected from the subject image by the detection means or when the zoom processing range that can be processed by the optical zoom means is exceeded, It is further characterized by further comprising a notifying means for notifying that effect.

また、請求項5記載の発明に係る撮像装置にあっては、前記検出手段によって特徴物を検出できない場合、前記画素数設定手段は画素数をさらに上げ、再び前記検出手段による特徴物の検出を行うよう制御する検出制御手段を更に備えることを特徴とする。   In the imaging device according to the fifth aspect of the invention, when the feature cannot be detected by the detection means, the pixel number setting means further increases the number of pixels, and the detection means detects the feature again. It is further characterized by further comprising detection control means for performing control.

また、請求項6記載の発明に係る撮像装置にあっては、前記検出手段によって検出される特徴物は文字であり、前記検出手段は、文字を検出する文字検出手段を含むことを特徴とする。   In the image pickup apparatus according to the sixth aspect of the present invention, the feature detected by the detection unit is a character, and the detection unit includes a character detection unit that detects a character. .

また、請求項7記載の発明に係る撮像装置にあっては、前記検出手段は、前記被写体画像における画像解析エリア内の特徴物を検出することを特徴とする。   In the image pickup apparatus according to the seventh aspect of the invention, the detection unit detects a feature in an image analysis area in the subject image.

また、請求項8記載の発明に係る撮像方法にあっては、撮像部が撮像する被写体画像から特徴物を検出する検出ステップと、前記検出ステップにて検出された特徴物に応じて、前記撮像手段が撮像すべき範囲を画素数として設定する画素数設定ステップと、を含むことを特徴とする。   In the imaging method according to the eighth aspect of the invention, a detection step of detecting a feature from a subject image captured by an imaging unit, and the imaging according to the feature detected in the detection step And a pixel number setting step of setting a range to be imaged by the means as the pixel number.

また、請求項9記載の発明に係る撮像プログラムにあっては、撮像装置が有するコンピュータを、撮像する被写体画像から特徴物を検出する検出手段、前記検出手段によって検出された特徴物に応じて、当該撮像装置が撮像すべき範囲を画素数として設定する画素数設定手段、として機能させることを特徴とする。   In the imaging program according to the ninth aspect of the present invention, the computer included in the imaging apparatus detects a feature from a subject image to be captured, according to the feature detected by the detection unit, The imaging apparatus functions as a pixel number setting unit that sets a range to be imaged as the number of pixels.

本発明によれば、被写体に含まれる特徴物に応じて最適な画素数を設定するので、メモリ容量の最適化を図ることができる。   According to the present invention, since the optimum number of pixels is set according to the feature included in the subject, the memory capacity can be optimized.

図1は、本発明の実施形態の撮像装置であるデジタルカメラ1の電気的構成を示すブロック図である。   FIG. 1 is a block diagram illustrating an electrical configuration of a digital camera 1 that is an imaging apparatus according to an embodiment of the present invention.

このデジタルカメラ1は、基本モードである撮像モードにおいて、ズームレンズ31を移動させて光学ズーム動作を行わせるズーム駆動部32、フォーカスレンズ33を移動させて合焦動作を行わせるAF駆動部34、とから構成される撮像光学系と、撮像素子であるCCD,タイミング発生器(TG),垂直ドライバ,サンプルホールド回路(S/H),A/D変換器,カラープロセス回路等を含む撮像部35と、制御部36a,画像圧縮部36b,撮像処理部36cを含む情報処理部36と、メイン表示制御部37と、メイン表示部38と、メインタッチパネル39と、キー入力部40と、記憶領域41と、音声処理部42と、スピーカ43と、を備える。   The digital camera 1 includes a zoom driving unit 32 that moves the zoom lens 31 to perform an optical zoom operation in an imaging mode that is a basic mode, an AF driving unit 34 that moves a focus lens 33 to perform a focusing operation, An image pickup unit 35 including an image pickup optical system including a CCD as an image pickup device, a timing generator (TG), a vertical driver, a sample hold circuit (S / H), an A / D converter, a color process circuit An information processing unit 36 including a control unit 36a, an image compression unit 36b, and an imaging processing unit 36c, a main display control unit 37, a main display unit 38, a main touch panel 39, a key input unit 40, and a storage area 41. And an audio processing unit 42 and a speaker 43.

撮像モードでのモニタリング状態においては、ズーム駆動部32は、光学ズーム指示があると制御部36aからの制御信号に基づいて図示しないズームレンズ駆動モータを駆動してズームレンズ31を光軸に沿って前後に移動させることによりCCDに結像させる画像の倍率そのものを変化させる。また、AF駆動部34は図示しないフォーカスレンズ駆動モータを駆動してフォーカスレンズ33を移動させる。そして、撮像光学系の撮像光軸後方に配置された撮像部35に設けられた撮像素子であるCCDが、タイミング発生器(TG),垂直ドライバによって走査駆動され、一定周期毎に結像した光像に対応する光電変換出力を1フレーム分出力する。なお、撮像光学系は本発明の光学ズーム手段に相当する。   In the monitoring state in the imaging mode, when there is an optical zoom instruction, the zoom drive unit 32 drives a zoom lens drive motor (not shown) based on a control signal from the control unit 36a to move the zoom lens 31 along the optical axis. By moving back and forth, the magnification itself of the image formed on the CCD is changed. The AF drive unit 34 drives a focus lens drive motor (not shown) to move the focus lens 33. Then, the CCD, which is an imaging device provided in the imaging unit 35 disposed behind the imaging optical axis of the imaging optical system, is scanned and driven by a timing generator (TG) and a vertical driver, and is imaged at regular intervals. One frame of photoelectric conversion output corresponding to the image is output. The imaging optical system corresponds to the optical zoom means of the present invention.

撮像部35のCCDは被写体の二次元画像を撮像する固体撮像デバイスであり、典型的には毎秒数十フレームの画像を撮像する。なお、撮像素子はCCDに限定されずCMOS(Complementary Metal Oxide Semiconductor)などの固体撮像デバイスでもよい。この光電変換出力は、アナログ値の信号の状態でRGBの各原色成分毎に適宜ゲイン調整された後に、サンプルホールド回路(S/H)でサンプルホールドされ、A/D変換器でデジタルデータ(画素)に変換され、カラープロセス回路で画像補間処理及びY補正処理を含むカラープロセス処理が行われて、デジタル値の輝度信号Y及び色差信号Cb、Crが生成される。その後、カラープロセス回路の出力する輝度信号Y及び色差信号Cb、Crを、同じくカラープロセス回路からの複合(composite)同期信号、メモリ書き込みイネーブル信号、及びクロック信号を用いてバッファメモリとして使用される揮発性の一時記録装置41dにDMA転送する。   The CCD of the imaging unit 35 is a solid-state imaging device that captures a two-dimensional image of a subject, and typically captures an image of several tens of frames per second. The imaging element is not limited to the CCD, and may be a solid-state imaging device such as a CMOS (Complementary Metal Oxide Semiconductor). The photoelectric conversion output is appropriately gain-adjusted for each primary color component of RGB in the state of an analog value signal, then sampled and held by a sample hold circuit (S / H), and then converted into digital data (pixels) by an A / D converter. ) And color process processing including image interpolation processing and Y correction processing is performed in the color process circuit to generate a digital luminance signal Y and color difference signals Cb and Cr. Thereafter, the luminance signal Y and the color difference signals Cb and Cr output from the color process circuit are converted into a volatile memory used as a buffer memory using a composite synchronization signal, a memory write enable signal, and a clock signal from the color process circuit. Transfer to the temporary recording device 41d.

情報処理部36は、このデジタルカメラ1全体の制御動作を司るものであり、CPU若しくはMPU等の制御部36aと、1フレーム分の輝度及び色差信号をY、Cb、Crの各コンポーネント毎に縦8画素×横8画素の基本ブロックと呼称される単位で読み出してJPEG(Joint Photograph cording Experts Group)回路に書込み、このJPEG回路でADCT(Adaptive Discrete Cosine Transform:適応離散コサイン変換)、エントロピー符号化方式であるハフマン符号化等の処理によりデータ圧縮する画像圧縮部36bと、撮像部35によって撮像された画像データを処理する撮像処理部36cと、を有する。なお、情報処理部36は、本発明の撮像手段、画素数設定手段、検出手段(文字検出手段)、ズーム制御手段に相当する。   The information processing unit 36 controls the entire digital camera 1. The information processing unit 36 controls the control unit 36 a such as a CPU or MPU and the luminance and color difference signals for one frame for each of Y, Cb, and Cr components. It is read out in units called 8 pixel × horizontal 8 pixel basic blocks and written to a JPEG (Joint Photographic Experts Group) circuit, and this JPEG circuit uses ADCT (Adaptive Discrete Cosine Transform: Adaptive Discrete Cosine Transform) An image compression unit 36b that compresses data by a process such as Huffman coding, and an imaging processing unit 36c that processes image data captured by the imaging unit 35. Note that the information processing unit 36 corresponds to an imaging unit, a pixel number setting unit, a detection unit (character detection unit), and a zoom control unit of the present invention.

また、制御部36aは、キー入力部40からの状態信号に対応してフラッシュメモリ等のプログラム格納用メモリに格納されている各モードに対応の処理プログラムやメニューデータを取り出して、デジタルカメラ1の各機能の実行制御や、光学ズーム時のズームレンズの動作制御や、電子ズームや、ライブビュー表示、自動合焦、撮像、記憶、及び記憶した画像の再生・表示等の実行制御等を行う。   In addition, the control unit 36a takes out a processing program and menu data corresponding to each mode stored in a program storage memory such as a flash memory in response to the status signal from the key input unit 40, and Execution control of each function, operation control of the zoom lens at the time of optical zoom, execution control such as electronic zoom, live view display, automatic focusing, imaging, storage, and reproduction / display of the stored image are performed.

また、制御部36aは合焦指示に応じてその時点でCCDから取込んでいる1フレーム分の輝度及び色差信号のDMA転送の終了後、直ちにCCDからの経路を停止して記憶保存の状態に遷移する。そして、得た符号データを1画像のデータファイルとしてJPEG回路から読出し、保存記録装置41cや外部記憶装置41bに記憶保存する。また、1フレーム分の輝度及び色差信号の圧縮処理及び保存記録装置41cへの全圧縮データの書込み終了に伴って、制御部36aはCCDから一時記録装置41dへの経路を再び起動する。   Also, the controller 36a stops the path from the CCD immediately after the completion of the DMA transfer of the luminance and color difference signals for one frame that has been captured from the CCD at that time in response to the focus instruction, and enters the storage and storage state. Transition. Then, the obtained code data is read out from the JPEG circuit as a data file of one image, and stored in the storage / recording device 41c or the external storage device 41b. In addition, with the compression processing of the luminance and color difference signals for one frame and the completion of the writing of all the compressed data to the storage recording device 41c, the control unit 36a activates the path from the CCD to the temporary recording device 41d again.

メイン表示制御部37は、撮影画像の表示制御や機能選択時の操作用画像の表示制御、設定画面の表示制御等を行うものであり、メイン表示部38に対する表示制御を行う。メイン表示制御部37は、上記輝度及び色差信号を一時記録装置41dから定期的に読み出し、これらのデータを基にビデオ信号を生成してメイン表示部38に出力する。メイン表示部38は、上述したように撮像モード時にはモニタ表示部(電子ファインダ)として機能するもので、ビデオ信号に基づいた表示を行うことで、その時点で取込んでいる画像情報に基づく画像をリアルタイムに表示することになる。   The main display control unit 37 performs display control of captured images, display control of operation images when selecting functions, display control of setting screens, and the like, and performs display control on the main display unit 38. The main display control unit 37 periodically reads the luminance and color difference signals from the temporary recording device 41d, generates a video signal based on these data, and outputs the video signal to the main display unit 38. As described above, the main display unit 38 functions as a monitor display unit (electronic finder) in the imaging mode. By performing display based on a video signal, an image based on image information captured at that time is displayed. It will be displayed in real time.

メインタッチパネル39は、メイン表示部38に設けられたタッチパネル機能を制御する入力制御部である。   The main touch panel 39 is an input control unit that controls a touch panel function provided in the main display unit 38.

記憶領域41は、外部記憶装着部41aに装着可能な外部記憶装置41bや、不揮発性の保存記録装置41cや、揮発性の一時記録装置41dを含むものである。保存記録装置41cは制御部36aで実行される動作プログラム等を記憶したプログラム格納メモリとして、一時記録装置41dは上記輝度及び色差信号をDMA転送されるメモリとして機能する。
この記憶領域41に属する記録装置又は記憶装置は、本実施例においては41a〜41dの形態をとっているが、これに限らず、別の組み合わせであっても良い。たとえば、一時記録装置41dと保存記録装置41cは、一つの不揮発性の記録装置で代替されても構わない。
The storage area 41 includes an external storage device 41b that can be mounted on the external storage mounting portion 41a, a nonvolatile storage recording device 41c, and a volatile temporary recording device 41d. The storage recording device 41c functions as a program storage memory that stores an operation program executed by the control unit 36a, and the temporary recording device 41d functions as a memory that DMA-transfers the luminance and color difference signals.
The recording device or storage device belonging to the storage area 41 takes the form of 41a to 41d in the present embodiment, but is not limited to this, and may be another combination. For example, the temporary recording device 41d and the storage recording device 41c may be replaced with one nonvolatile recording device.

また、基本モードである再生モード時には、制御部36aが保存記録装置41c又は外部記憶装置41bに記憶されている画像データを選択的に読出し、JPEG回路で画像撮像モード時にデータ圧縮した手順とまったく逆の手順で圧縮されている画像データを伸張し、伸張した画像データをメイン表示制御部37を介して展開して記憶させた上で、このメイン表示制御部37から定期的に読出し、これらの画像データを元にビデオ信号を生成して表示部11,21で再生出力させる。   In the playback mode, which is the basic mode, the control unit 36a selectively reads out the image data stored in the storage / recording device 41c or the external storage device 41b, and is completely opposite to the procedure in which the data is compressed in the image capturing mode by the JPEG circuit. The image data that has been compressed in the above procedure is expanded, and the expanded image data is expanded and stored via the main display control unit 37, and then periodically read out from the main display control unit 37. A video signal is generated based on the data and reproduced and output by the display units 11 and 21.

上記JPEG回路は複数の圧縮率に対応しており、圧縮率に対応させて記憶するモードには圧縮率の低い高解像度(一般に、高精細、ファイン、ノーマルなどと呼ばれる)に対応するモードと圧縮率の高い低解像度(一般にエコノミーなどと呼ばれる)モードがある。また、高画素数から低画素数にも対応している。例えば、SXGA(1600×1200)、XGA(1024×786)、SVGA(800×600)、VGA(640×480)、QVGA(320×240)等と呼ばれる記憶画素サイズがある。   The JPEG circuit supports a plurality of compression ratios, and a mode and compression corresponding to a high resolution (generally referred to as high definition, fine, normal, etc.) with a low compression ratio are stored in correspondence with the compression ratio. There is a high rate low resolution (commonly called economy) mode. It also supports high to low pixel counts. For example, there are storage pixel sizes called SXGA (1600 × 1200), XGA (1024 × 786), SVGA (800 × 600), VGA (640 × 480), QVGA (320 × 240) and the like.

保存記録装置41cは、内蔵メモリ(フラッシュメモリ)やハードディスク等、外部記憶装置41bは、着脱可能なメモリカード等の記憶媒体からなり画像データや撮像情報等を保存記憶する。   The storage recording device 41c is a built-in memory (flash memory) or a hard disk, and the external storage device 41b is a storage medium such as a removable memory card, and stores and stores image data, imaging information, and the like.

キー入力部40は、シャッター釦3、電源釦4、モード釦5を有し、それらのキーが操作されると操作されたキーの操作信号を生成して情報処理部36に送出するキー処理部(図示せず)等から構成されている。モード釦5は撮像モードや再生モードの選択を行うものである。ユーザはモード釦5を操作して、(静止画)通常撮像モード、マクロ撮像モード、連写モード、速写モード、・・、動画撮像モード、・・・等の撮像モードを選択することができる。ズームレバー2は、ズーム操作に用いられ、光学ズームの場合はズームボタン(Wボタン又はTボタン)の操作に対応してズームレンズ(可変焦点距離レンズ)がワイド側またテレ側に移動されズームボタンの操作に対応してズーム値が決定され、ズーム値の変化に追従して画角が実際に変化し、液晶モニタ画面にはワイド(広角)画像又はテレ(望遠)画像が表示される。シャッター釦3は、撮像時にレリーズ操作を行うもので、2段階のストロークを有しており、1段目の操作(半押し状態)でオートフォーカス(AF)と自動露出(AE)を行わせるための合焦指示信号を発生し、2段目の操作(全押し状態)で撮像処理を行うための撮像指示信号を発生する。   The key input unit 40 has a shutter button 3, a power button 4, and a mode button 5. A key processing unit that generates an operation signal of the operated key and sends it to the information processing unit 36 when these keys are operated. (Not shown). The mode button 5 is used to select an imaging mode or a playback mode. The user can select a shooting mode such as (still image) normal shooting mode, macro shooting mode, continuous shooting mode, rapid shooting mode,..., Moving image shooting mode,. The zoom lever 2 is used for zoom operation. In the case of optical zoom, the zoom lens (variable focal length lens) is moved to the wide side or the tele side in response to the operation of the zoom button (W button or T button). The zoom value is determined in response to the above operation, the angle of view actually changes following the change of the zoom value, and a wide (wide angle) image or a tele (telephoto) image is displayed on the liquid crystal monitor screen. The shutter button 3 performs a release operation at the time of imaging, has a stroke of two steps, and performs auto focus (AF) and automatic exposure (AE) by the first step operation (half-pressed state). And an imaging instruction signal for performing imaging processing by the second stage operation (fully pressed state).

音声処理部42は、制御部36aからの指示によってスピーカ43で発生させる音声信号を処理するものであり、一例として、制御部36aによって処理可能なズーム処理範囲を超えている場合に、予め設定された音声信号を保存記録装置41cから読み出してスピーカ43で再生する。なお、音声処理部42及びスピーカ43は、本発明の報知手段に相当するが、報知は音声のみならず、ランプ等の光やメイン表示部38による表示内容によっても行うことができる。   The audio processing unit 42 processes an audio signal generated by the speaker 43 in response to an instruction from the control unit 36a. As an example, the audio processing unit 42 is preset when the zoom processing range that can be processed by the control unit 36a is exceeded. The recorded audio signal is read from the storage recording device 41 c and reproduced by the speaker 43. The sound processing unit 42 and the speaker 43 correspond to notifying means of the present invention, but the notification can be performed not only by sound but also by light such as a lamp or display content by the main display unit 38.

以上の構成からなるデジタルカメラ1において、撮影モードが設定されているときの動作について説明する。図2は、撮影モードが設定された場合にメイン表示部38に表示される内容を示す図であり、図3は、撮影モードが設定された場合に情報処理部36の制御の下で実行される画素決定の処理手順を示すフローチャートである。   An operation of the digital camera 1 having the above configuration when the shooting mode is set will be described. FIG. 2 is a diagram illustrating contents displayed on the main display unit 38 when the shooting mode is set. FIG. 3 is executed under the control of the information processing unit 36 when the shooting mode is set. It is a flowchart which shows the process sequence of pixel determination.

図2に示すように、メイン表示部38には、被写体を撮影したライブビュー画像が表示される。画像解析エリアAはメイン表示部38の中央等予め設定されており、表示/非表示の切り替えが可能である。本例では、図2(a)において被写体は風景、画素数は10Mであり、図2(b)において、被写体は新聞紙面、画素数はVGAである。メイン表示部38には、画像解析エリアAが四角枠で示され、画素数Bが表示されている。   As shown in FIG. 2, a live view image obtained by photographing a subject is displayed on the main display unit 38. The image analysis area A is set in advance such as the center of the main display section 38, and can be switched between display and non-display. In this example, the subject is landscape in FIG. 2A and the number of pixels is 10M. In FIG. 2B, the subject is newspaper and the number of pixels is VGA. In the main display section 38, the image analysis area A is indicated by a rectangular frame and the number of pixels B is displayed.

図3を参照して、撮影モードが設定された場合に情報処理部36の制御の下で実行される画素数決定の処理手順について説明する。   With reference to FIG. 3, a process procedure for determining the number of pixels that is executed under the control of the information processing unit 36 when the shooting mode is set will be described.

情報処理部36では、被写体を撮影したライブビュー画像が表示されている段階で、シャッターの半押しを検知すると(ステップSA1)、画像解析エリアA内の画像解析を行う(ステップSA2)。すなわち、図2(a)において風景内の文字(建物の名称)をメモ代わりに残したいとか、図2(b)において新聞紙面上の一部分の記載内容をメモ代わりに残したい場合に、メモ代わりに残したい範囲が画像解析エリアAにくるようにユーザがデジタルカメラ1を上下左右に動かして位置合わせを行い、適当なところでユーザがシャッター釦3を半押しすると、画像解析エリアA内の画像から特徴物を検出して、特徴物が、文字か、風景か、顔かを判断する。   When the information processing unit 36 detects that the shutter button is half-pressed while the live view image obtained by photographing the subject is displayed (step SA1), it performs image analysis in the image analysis area A (step SA2). That is, when it is desired to leave the characters (name of the building) in the landscape in FIG. 2 (a) instead of the memo, or to leave a part of the description on the newspaper in FIG. 2 (b) instead of the memo, When the user moves the digital camera 1 up / down / left / right so that the range desired to be left in the image analysis area A is aligned, when the user presses the shutter button 3 halfway at an appropriate position, the image in the image analysis area A The feature object is detected to determine whether the feature object is a character, a landscape, or a face.

画像解析の結果、特徴物が文字であると認識した場合は(ステップSA3)、画素をVGAに変更する。また、風景であると認識した場合は(ステップSA5)、画素を8Mに変更する。また、顔であると認識した場合は(ステップSA7)、画素を10M(最高画素数)に変更する(ステップSA8)。   As a result of image analysis, when it is recognized that the feature is a character (step SA3), the pixel is changed to VGA. If the scene is recognized (step SA5), the pixel is changed to 8M. If the face is recognized (step SA7), the pixel is changed to 10M (maximum number of pixels) (step SA8).

その後、フォーカス露出を決定し(ステップSA9)、本サブルーチンを終了する。   Thereafter, the focus exposure is determined (step SA9), and this subroutine is terminated.

ステップSA2における画像解析の手法について詳述する。文字,風景,顔の判断は、以下のように行うことができる。   The method of image analysis in step SA2 will be described in detail. Judgment of characters, landscapes, and faces can be made as follows.

制御部36aは、一時記録装置41dから被写体画像データを読み出して、適当な方法によって閾値(2値化基準閾値)を求める2値化閾値計算を行う。次に、被写体画像データが多諸調の濃淡画像である場合は、白黒2値の画像(2値画像データ)に変換を行う。その後、変換後の2値画像データを任意のサブ領域に分割し、各サブ領域において、サブ領域内の全画素数に占める黒画素数(又は白画素数)を求めて、それらを要素とする特徴ベクトルを生成して、特徴比較を行う。これは、求めた特徴ベクトルを予め保存記録装置に記録されている基準特徴ベクトルと比較して、類似度(例えば正規化相関係数)が最も高いものを文字,風景,顔と判断する。   The control unit 36a reads the subject image data from the temporary recording device 41d, and performs binarization threshold calculation to obtain a threshold (binarization reference threshold) by an appropriate method. Next, when the subject image data is a multi-tone image, it is converted into a monochrome binary image (binary image data). Thereafter, the converted binary image data is divided into arbitrary sub-regions, and in each sub-region, the number of black pixels (or the number of white pixels) in the total number of pixels in the sub-region is obtained, and these are used as elements. A feature vector is generated and feature comparison is performed. This compares the obtained feature vector with a reference feature vector recorded in advance in the storage recording device, and determines that the one with the highest similarity (for example, normalized correlation coefficient) is a character, a landscape, or a face.

例えば、サブ領域を縦(又は横)方向に設定する場合は、白画素数のみのサブ領域が一定間隔で生成されている場合は、そのサブ領域間には文字が存在すると判断することができるし、顔の輪郭,目,鼻,口といった人間の顔の特徴を2値画像で検出して、顔が存在すると判断することができるし、こういった特徴を検出できない場合は、風景が存在すると判断することができる。   For example, when setting the sub-regions in the vertical (or horizontal) direction, if sub-regions with only the number of white pixels are generated at regular intervals, it can be determined that characters exist between the sub-regions. However, it is possible to determine the presence of a face by detecting human face features such as face contour, eyes, nose, and mouth with a binary image, and if such features cannot be detected, there is a landscape. It can be determined.

なお、上述した説明では、被写体画像データに対して2値画像データを生成したが、特徴が文字,風景,顔か否かを判断するにあたっては、画像解析エリアA内の2値画像データのみを生成することによっても行ってもよい。この場合には、シャッター釦3の押下検知によって画像解析エリアA内の画像データを被写体画像データとは別に一時記録装置41dに記録し、制御部36aが画像解析エリアA内の画像データを読み出して2値画像データへの変換を行う。   In the above description, the binary image data is generated for the subject image data. However, in determining whether the feature is a character, a landscape, or a face, only the binary image data in the image analysis area A is used. It may also be performed by generating. In this case, the image data in the image analysis area A is recorded in the temporary recording device 41d separately from the subject image data by detecting the pressing of the shutter button 3, and the control unit 36a reads out the image data in the image analysis area A. Conversion to binary image data is performed.

本実施形態では、ステップSA2における画像解析として2値画像データの生成する手法について説明するが、本発明はこれに限定されず、文字,風景,顔を効率的に判別できるのであれば、如何なる手法を用いてもよく、この他にも、例えば、パターンマッチング、特別な文字検出用プログラム,風景検出用プログラム,顔検出用プログラムなどによって行ってもよい。   In the present embodiment, a method for generating binary image data as an image analysis in step SA2 will be described. However, the present invention is not limited to this, and any method can be used as long as it can efficiently distinguish characters, landscapes, and faces. In addition, for example, pattern matching, a special character detection program, a landscape detection program, a face detection program, or the like may be used.

次に、デジタルカメラ1による撮影処理について、図4〜図8を参照して説明する。図4は、撮影モードが設定された場合に情報処理部36の制御の下で実行される撮影準備処理手順を示すフローチャート、図5は、撮影準備処理の実行時に、画像解析エリアAで認識されうる文字範囲の例を示す図である。図6は、図4におけるライブビュー画像撮影処理の処理手順を示すフローチャート、図7は、撮影モードが設定された場合に情報処理部36の制御の下で実行される撮影記録処理手順を示すフローチャート、図8は、図7の基本撮影条件設定処理の処理手順を示すフローチャートである。   Next, photographing processing by the digital camera 1 will be described with reference to FIGS. FIG. 4 is a flowchart showing a shooting preparation processing procedure executed under the control of the information processing unit 36 when the shooting mode is set, and FIG. 5 is recognized in the image analysis area A when the shooting preparation processing is executed. It is a figure which shows the example of the possible character range. 6 is a flowchart showing a processing procedure of the live view image shooting process in FIG. 4, and FIG. 7 is a flowchart showing a shooting recording process procedure executed under the control of the information processing unit 36 when the shooting mode is set. FIG. 8 is a flowchart showing a processing procedure of the basic photographing condition setting process of FIG.

まず、図4及び図6を参照して、撮影モードが設定されている場合に情報処理部36の制御の下で実行される撮影準備処理手順について説明する。   First, with reference to FIG. 4 and FIG. 6, a photographing preparation processing procedure executed under the control of the information processing unit 36 when the photographing mode is set will be described.

ライブビュー画像撮影処理を行う(ステップSB1)。この処理は、図6に示すように、ズームレンズ31の位置に基づきフォーカスレンズ33を移動させて(ステップSB1−1)、撮像部35によるライブビュー画像の撮影を行うものである(ステップSB1−2)。   Live view image shooting processing is performed (step SB1). In this process, as shown in FIG. 6, the focus lens 33 is moved based on the position of the zoom lens 31 (step SB1-1), and a live view image is taken by the imaging unit 35 (step SB1-). 2).

次に、画像解析エリアA内の認識を行う(ステップSB2)。これは、図3のステップSA2に示すように画像解析エリアA内の2値画像を解析することで、画像解析エリアA内に文字,風景,顔のいずれかが存在するか否かを認識するものであり、特にモードメニュー等によって文字を認識するようにユーザが選択・設定している場合には、文字の存在の有無を認識する。このようにして、被写体画像から文字,風景,顔等の特徴物を検出する。なお、画像解析エリアA内の2値画像データを取得するタイミングとしては、ライブビュー画像の取得に合わせて行うこともできるが、処理負担軽減のために、例えばシャッター釦3の半押し検出に合わせて行ったり、ユーザがピントを合わせたり、ズーム操作を行っていることを自動検知して、自動的に2値画像データを取得するなど、様々な方法が可能である。   Next, recognition in the image analysis area A is performed (step SB2). This is done by analyzing the binary image in the image analysis area A as shown in step SA2 in FIG. 3 to recognize whether any of characters, scenery, or a face exists in the image analysis area A. In particular, when the user selects / sets the mode menu to recognize the character, the presence / absence of the character is recognized. In this way, features such as characters, landscapes, and faces are detected from the subject image. Note that the timing for acquiring the binary image data in the image analysis area A can be set in accordance with the acquisition of the live view image. However, in order to reduce the processing load, for example, in accordance with the half-press detection of the shutter button 3. Various methods are possible, such as automatically detecting that the user is in focus or performing a zoom operation, and automatically acquiring binary image data.

次に、画像解析エリアA内に文字が存在するか否かを判断し(ステップSB3)、文字が存在しない場合には、通常画像の撮影設定を行う(ステップSB4)。例えば、図3のステップSA6,SA8に示すように、画素数を8M,10Mに設定変更する。   Next, it is determined whether or not there is a character in the image analysis area A (step SB3). If there is no character, a normal image shooting setting is performed (step SB4). For example, as shown in steps SA6 and SA8 in FIG. 3, the number of pixels is changed to 8M and 10M.

一方、文字が存在すると判断した場合には、文字画素数の検出を行う(ステップSB5)。文字が存在するか否かの判断は、上述した特徴比較によって行うことができる。また、文字画素数の検出は、1文字を構成する画素数を算出して、多数文字の場合はその平均画素数を検出するものであり、例えば、2値画像データの白画素領域間に存在する黒画素数を個々に算出することによって、1文字あたりの画素数を検出してもよい。   On the other hand, if it is determined that a character exists, the number of character pixels is detected (step SB5). Whether or not a character exists can be determined by the above-described feature comparison. In addition, the number of character pixels is detected by calculating the number of pixels constituting one character and detecting the average number of pixels in the case of a large number of characters. For example, it exists between white pixel regions of binary image data. The number of pixels per character may be detected by individually calculating the number of black pixels to be processed.

次に、ステップSB5において検出された文字画素数が適当であるか否かを判断する(ステップSB6)。すなわち、ユーザが視認して判読するのに適した画素数であるか否かを、予め設定した閾値(例えば、25×25)以上か否かによって判断し、例えば、文字画素数が10×10である場合には、解像度の調整を行い(ステップSB7)、解像度を上げる。一方で、予め設定した閾値以上の場合には、解像度を下げる。このようにして、予め設定した閾値に近い最適な解像度に設定する。   Next, it is determined whether or not the number of character pixels detected in step SB5 is appropriate (step SB6). That is, whether or not the number of pixels is suitable for the user to visually recognize and read is determined based on whether or not the number of pixels is equal to or greater than a preset threshold (for example, 25 × 25). If so, the resolution is adjusted (step SB7) to increase the resolution. On the other hand, if the threshold is equal to or higher than a preset threshold, the resolution is lowered. In this way, an optimal resolution close to a preset threshold value is set.

ステップSB6において文字画素数が適当であると判断した場合には、文字範囲検出を行う(ステップSB8)。すなわち、被写体画像データを2値化した2値画像データにおける文字範囲を検出する。   If it is determined in step SB6 that the number of character pixels is appropriate, character range detection is performed (step SB8). That is, a character range in binary image data obtained by binarizing subject image data is detected.

次に、文字範囲は所定領域か否かを判断する(ステップSB9)。所定領域とは、画像解析エリアA内か否かであって、ステップSB8において検出した文字範囲(図5(b))と、ステップSB2において検出した画像解析エリアA内に存在する文字範囲(図5(a))が同じか否かを判断するものである。一例として、図5(a)に、ステップSB2において検出した画像解析エリアA内で認識されうる文字範囲、図5(b)に、ステップSB8において検出した文字範囲を示す。例えば、ステップSB2において検出した画像解析エリアA(図5(a))と、文字範囲検出にて文字を認識したすエリアA(図5(b))と、を比較して、その両方のエリアが等しい、すなわち、一致、又は近似している場合、所定領域であると判断する。具体的には、画像解析エリアA内の黒画素数(又は白画素数)と、上記検出した文字範囲における黒画素数(又は白画素数)を検出して、それらを比較し、検出した文字範囲の画素数が画像解析エリアA内の画素数と一致又は近似すれば所定領域と判断する。   Next, it is determined whether the character range is a predetermined area (step SB9). The predetermined area is whether or not it is in the image analysis area A, and the character range detected in step SB8 (FIG. 5B) and the character range existing in the image analysis area A detected in step SB2 (see FIG. 5). 5 (a)) is the same. As an example, FIG. 5A shows a character range that can be recognized in the image analysis area A detected in step SB2, and FIG. 5B shows a character range detected in step SB8. For example, the image analysis area A (FIG. 5 (a)) detected in step SB2 is compared with the area A (FIG. 5 (b)) where the character is recognized by the character range detection, and both areas are compared. Are equal, that is, match or approximate, it is determined to be a predetermined area. Specifically, the number of black pixels (or the number of white pixels) in the image analysis area A and the number of black pixels (or the number of white pixels) in the detected character range are detected, compared, and the detected character is detected. If the number of pixels in the range matches or approximates the number of pixels in the image analysis area A, it is determined as a predetermined area.

ステップSB9において、文字範囲が所定領域でないと判断すると、ズーム調整可能か否かを判断する(ステップSB10)。これは、検出された文字範囲が画像解析エリアに収まる最大倍率又は最小倍率までズーム処理を行うものであり、文字範囲の方が画像解析エリアよりも小さければズーム拡大処理を行うためのズーム調整が可能か否か、文字範囲の方が画像解析エリアよりも大きければズーム縮小処理を行うためのズーム調整が可能か否かを判断する。   If it is determined in step SB9 that the character range is not the predetermined area, it is determined whether zoom adjustment is possible (step SB10). This is to perform zoom processing up to the maximum magnification or minimum magnification at which the detected character range fits in the image analysis area. If the character range is smaller than the image analysis area, zoom adjustment for performing zoom enlargement processing is performed. It is determined whether or not it is possible, and if the character range is larger than the image analysis area, it is determined whether or not zoom adjustment for performing zoom reduction processing is possible.

ステップSB10においてズーム調整可能と判断した場合は、ズームレンズを1段階上下する調整を行い(ステップSB11)、処理をステップSB5に戻す。   If it is determined in step SB10 that zoom adjustment is possible, the zoom lens is adjusted up and down by one step (step SB11), and the process returns to step SB5.

一方、ステップSB10においてズーム調整不可能と判断した場合、又は、ステップSB9において文字範囲は所定領域と判断した場合は、詳細文字認識を行う(ステップSB12)。詳細文字認識は、画像解析エリアA内の文字を認識するものである。   On the other hand, if it is determined in step SB10 that zoom adjustment is impossible, or if it is determined in step SB9 that the character range is a predetermined area, detailed character recognition is performed (step SB12). Detailed character recognition recognizes characters in the image analysis area A.

次に、情報処理部36は、図4に示す一連の撮影準備処理の後に、図7に示す撮影記録処理を行う。図7及び図8を参照して、撮影モードが設定されている場合に情報処理部36の制御の下で実行される撮影記録処理手順について説明する。   Next, the information processing unit 36 performs the shooting recording process shown in FIG. 7 after the series of shooting preparation processes shown in FIG. With reference to FIG. 7 and FIG. 8, a description will be given of a photographing recording processing procedure executed under the control of the information processing unit 36 when the photographing mode is set.

まず、基本撮影条件設定処理を行う(ステップSC1)。具体的には、図8に示すように、AF(オートフォーカス)を行いFr(フォーカスレンズのレンズ位置)を決定する(ステップSC1−1)。AFに成功したか否かを判断し(ステップSC1−2)、AFに成功したと判断された場合はステップSC1−3に進む一方、AFに失敗したと判断された場合は処理をステップSC1−1に戻し、オートフォーカスを行う処理を繰り返す。ここで、ステップSC1−2では、AFが成功したか失敗したかをAF評価値が所定値以上になったか否かに基づいて判断する。AFが成功したと判断された場合は、AE(自動露出)を行いEV(EV値:Exposure Value)を決定する(ステップSC1−3)。その後、プログラム線図、EV、EVH(EV補正値)に基づいて、E(絞り)、ISO(ISO感度)、SS(シャッタースピード)、フラッシュON/OFFを決定して(ステップSC1−4)、本サブルーチンを終了する。なお、ステップSC1−4では、フラッシュON/OFFは、SS>1/60でON、SS<1/60でOFFと決定し、ON/OFFに関わらず、使用するプログラム線図は1つである。   First, basic photographing condition setting processing is performed (step SC1). Specifically, as shown in FIG. 8, AF (autofocus) is performed to determine Fr (lens position of the focus lens) (step SC1-1). It is determined whether or not AF has succeeded (step SC1-2). If it is determined that AF has succeeded, the process proceeds to step SC1-3. If it is determined that AF has failed, the process proceeds to step SC1-. Return to 1 and repeat the autofocus process. Here, in step SC1-2, whether the AF has succeeded or failed is determined based on whether or not the AF evaluation value has become a predetermined value or more. If it is determined that AF is successful, AE (automatic exposure) is performed to determine EV (EV value: Exposure Value) (step SC1-3). Thereafter, E (aperture), ISO (ISO sensitivity), SS (shutter speed), and flash ON / OFF are determined based on the program diagram, EV, EVH (EV correction value) (step SC1-4), This subroutine ends. In step SC1-4, the flash ON / OFF is determined to be ON when SS> 1/60 and OFF when SS <1/60, and only one program diagram is used regardless of ON / OFF. .

次に、設定された撮影条件下で、記録用画像の撮影処理を行う(ステップSC2)。その後、図4のステップSB12で実行した詳細文字認識の結果と撮影された記録用画像とを関連付けして(ステップSC3)、外部記憶装置41bに記録用画像を保存する(ステップSC4)。   Next, a recording image shooting process is performed under the set shooting conditions (step SC2). Thereafter, the result of the detailed character recognition executed in step SB12 in FIG. 4 is associated with the recorded recording image (step SC3), and the recording image is stored in the external storage device 41b (step SC4).

次に、メイン表示部38に記録用画像を確認表示して(ステップSC5)、本サブルーチンを終了する。   Next, the recording image is confirmed and displayed on the main display section 38 (step SC5), and this subroutine is finished.

なお、上述した実施形態では、図4のステップSB3で文字が存在しないと判断した場合に、直ちにステップSB4に進む構成について説明したが、本発明はこれに限定されない。例えば、画像解析エリア内の文字認識をより正確に実行するように、図4のステップSB1からステップSB3の間の処理に図9に示すステップSB3−1,SB3−2の解像度を調整する処理を追加してもよい。   In the above-described embodiment, the configuration has been described in which, when it is determined in step SB3 in FIG. 4 that no character is present, the process immediately proceeds to step SB4. However, the present invention is not limited to this. For example, a process for adjusting the resolution of steps SB3-1 and SB3-2 shown in FIG. 9 is performed in the process between step SB1 and step SB3 of FIG. 4 so that character recognition in the image analysis area is performed more accurately. May be added.

すなわち、すなわちステップSB2において画像解析エリア内の認識を行った後、ステップSB3において文字が存在するか否かを判断し、文字が存在しないと判断した場合は、現在設定されている解像度よりも高い解像度に拡大可能か否かを判断する(ステップSB3−1)。これ以上高い解像度に設定できないと判断した場合は、処理をステップSB4に進める。   That is, after recognition in the image analysis area in step SB2, it is determined whether or not a character exists in step SB3. If it is determined that no character exists, the resolution is higher than the currently set resolution. It is determined whether or not the resolution can be expanded (step SB3-1). If it is determined that a higher resolution cannot be set, the process proceeds to step SB4.

一方、現在設定されている解像度よりも高い解像度に拡大可能であると判断した場合は、解像度を上げて(ステップSB3−2)、再び画像解析エリア内の認識を行う(ステップSB2)。なお、解像度を上げる処理は、解像度を1段階ごとに高く設定するようにしてもよく、或いは、一度に最大の解像度を設定するようにしてもよい。このようにして、解像度を高く設定した後に文字が存在するかどうかを改めて判断し(ステップSB3)、画像解析エリア内に文字が存在すると判断した場合にはステップSB5に進む。   On the other hand, if it is determined that the image can be enlarged to a resolution higher than the currently set resolution, the resolution is increased (step SB3-2), and the image analysis area is recognized again (step SB2). In the process of increasing the resolution, the resolution may be set higher for each step, or the maximum resolution may be set at a time. In this way, it is determined again whether the character exists after setting the resolution high (step SB3). If it is determined that the character exists in the image analysis area, the process proceeds to step SB5.

例えば、遠くの文字をメモ代わりに読み取りたいという場合、現在設定されている低い解像度では文字としての判別が不可能であるが、解像度を高く設定することにより文字としての判別が可能になることもある。このように高い解像度に自動的に設定することでステップSB3における文字が存在するか否かの判断を迅速かつ正確に行うことができる。   For example, if you want to read a distant character instead of a memo, it is not possible to distinguish it as a character at the currently set low resolution, but it may be possible to distinguish it as a character by setting a high resolution. is there. By automatically setting to a high resolution in this way, it is possible to quickly and accurately determine whether or not there is a character in step SB3.

次に、情報処理部36で行われるエラー処理の内容について、図10及び図11を参照して説明する。図10は、情報処理部36の制御の下で実行されるエラー処理の処理手順を示すフローチャートであり、図11は、一時記録装置41dに書き込まれているエラーフラグの状態を示す図である。   Next, the content of error processing performed in the information processing unit 36 will be described with reference to FIGS. 10 and 11. FIG. 10 is a flowchart illustrating a processing procedure of error processing executed under the control of the information processing unit 36, and FIG. 11 is a diagram illustrating a state of an error flag written in the temporary recording device 41d.

本発明の実施形態において、エラー処理がされるのは、第1に図4又は図9のステップSB3において文字が存在しないと判断された場合、第2に図4のステップSB10においてズーム調整不可能と判断された場合、第3に図8のステップSC1−2においてAF失敗と判断された場合である。第1の場合には「文字無し」フラグが立てられ、第2の場合には「ズーム限界」フラグが立てられ、第3の場合には「AF失敗」フラグが立てられる(図11参照)。エラーフラグは2値情報によって示され、フラグが立てられると「1」に遷移し、それ以外の場合は「0」に遷移する。   In the embodiment of the present invention, error processing is performed first when it is determined that there is no character in step SB3 of FIG. 4 or 9, and secondly, zoom adjustment is not possible in step SB10 of FIG. The third case is a case where AF failure is determined in step SC1-2 in FIG. The “no character” flag is set in the first case, the “zoom limit” flag is set in the second case, and the “AF failure” flag is set in the third case (see FIG. 11). The error flag is indicated by binary information, and when the flag is set, transition is made to “1”, and otherwise, transition is made to “0”.

情報処理部36においては、エラーフラグの内容を一時記録装置41dから読み出して(ステップSD1)、エラーフラグの内容に応じたエラー報知をメイン表示部38やスピーカ43によって行う(ステップSD2,SD3)。   In the information processing unit 36, the content of the error flag is read from the temporary recording device 41d (step SD1), and error notification according to the content of the error flag is performed by the main display unit 38 or the speaker 43 (steps SD2 and SD3).

このように、本発明の実施形態によれば、被写体画像のうち画像解析エリア内の画像から特徴物である文字を検出して、ユーザが判読可能な画素数となるような画像数を決定することで、最適な記憶容量にて記憶することができ、経済的かつ計画的にメモリの消費を管理することができる。この際に、単に低い画素数で記憶するのではなく、画像解析エリアに収まる最大倍率までズーム処理を行って記憶することから、文字判別の容易さと記憶容量の適切さとを考慮したメモリの消費を管理することができる。   As described above, according to the embodiment of the present invention, the character that is a feature is detected from the image in the image analysis area in the subject image, and the number of images that can be read by the user is determined. Thus, it is possible to store the data with the optimum storage capacity, and to manage the memory consumption economically and systematically. At this time, instead of simply storing with a low number of pixels, the zoom processing is performed up to the maximum magnification that can be accommodated in the image analysis area, so that memory consumption is considered in consideration of ease of character discrimination and appropriate storage capacity. Can be managed.

特に、被写体画像は風景や建物等であるが、そこに内在する文字部分のみをメモ代わりに残しておきたい場合に、風景に照準を合わせるのではなく、画像解析エリア内の文字部分に照準を合わせて解像度設定やズーム処理を行うことで、文字認識に必要な解像度で最適な撮影を行うことができ、メモリの消費を管理することができる。   In particular, if the subject image is a landscape or a building, but you want to leave only the text part that exists in it as a memo, instead of aiming at the scenery, aim the text part in the image analysis area. In addition, by performing resolution setting and zoom processing, it is possible to perform optimal shooting at a resolution necessary for character recognition and manage memory consumption.

本発明の実施形態の撮像装置であるデジタルカメラの電気的構成を示すブロック図である。1 is a block diagram illustrating an electrical configuration of a digital camera that is an imaging apparatus according to an embodiment of the present invention. 撮影モードが設定された場合にメイン表示部に表示される内容を示す図である。It is a figure which shows the content displayed on a main display part, when imaging | photography mode is set. 撮影モードが設定された場合に情報処理部の制御の下で実行される画素決定の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the pixel determination performed under control of an information processing part, when imaging | photography mode is set. 撮影モードが設定された場合に情報処理部の制御の下で実行される撮影準備処理手順を示すフローチャートである。It is a flowchart which shows the imaging | photography preparation process procedure performed under control of an information processing part, when imaging | photography mode is set. 図4における撮影準備処理の実行時に、画像解析エリアAで認識されうる文字範囲の例を示す図である。FIG. 5 is a diagram illustrating an example of a character range that can be recognized in an image analysis area A when the shooting preparation process in FIG. 4 is executed. 図4におけるライブビュー画像撮影処理の処理手順を示すフローチャートである。5 is a flowchart illustrating a processing procedure of live view image shooting processing in FIG. 4. 撮影モードが設定された場合に情報処理部の制御の下で実行される撮影記録処理手順を示すフローチャートである。It is a flowchart which shows the imaging | photography recording process procedure performed under control of an information processing part, when imaging | photography mode is set. 情報処理部36の制御の下で実行される基本撮影条件設定処理の処理手順を示すフローチャートである。6 is a flowchart showing a processing procedure of basic photographing condition setting processing executed under the control of the information processing section 36. 図4に示すフローの一部変形例である。It is a partial modification of the flow shown in FIG. 情報処理部の制御の下で実行されるエラー処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the error process performed under control of an information processing part. 一時記録装置に書き込まれているエラーフラグの状態を示す図である。It is a figure which shows the state of the error flag currently written in the temporary recording device.

符号の説明Explanation of symbols

1 デジタルカメラ
38 メイン表示部
A 画像解析エリア
B 画素数表示
1 Digital camera 38 Main display area A Image analysis area B Pixel count display

Claims (9)

被写体画像を撮像する撮像手段と、
前記撮像手段が撮像する被写体画像から特徴物を検出する検出手段と、
前記検出手段によって検出された特徴物に応じて、前記撮像手段が撮像すべき範囲を画素数として設定する画素数設定手段と、
を備えることを特徴とする撮像装置。
An imaging means for imaging a subject image;
Detection means for detecting a feature from a subject image captured by the imaging means;
A number-of-pixels setting unit that sets, as the number of pixels, a range to be imaged by the imaging unit according to the feature detected by the detection unit;
An imaging apparatus comprising:
光学的にズームを行う光学ズーム手段と、
前記検出手段によって検出された特徴物が、前記撮像手段の撮像画角内に設定された当該特徴物を解析するための画像解析エリアに収まる最大倍率まで前記光学ズーム手段によるズーム処理を行うズーム制御手段と、
を更に備えることを特徴とする請求項1記載の撮像装置。
Optical zoom means for optically zooming;
Zoom control for performing zoom processing by the optical zoom unit up to a maximum magnification that allows the feature detected by the detection unit to be within an image analysis area for analyzing the feature set in the imaging field angle of the imaging unit Means,
The imaging apparatus according to claim 1, further comprising:
前記ズーム制御手段は、前記検出手段によって被写体画像から複数の特徴物を検出した場合、検出した全ての特徴物が前記画像解析エリアに収まる最大倍率まで前記光学ズーム手段によるズーム処理を行うことを特徴とする請求項2記載の撮像装置。   The zoom control unit performs zoom processing by the optical zoom unit up to a maximum magnification at which all the detected feature objects can be accommodated in the image analysis area when the detection unit detects a plurality of feature objects from the subject image. The imaging apparatus according to claim 2. 前記検出手段によって被写体画像から特徴物を検出できない場合又は前記光学ズーム手段によって処理可能なズーム処理範囲を超えている場合には、その旨を報知する報知手段を更に備えることを特徴とする請求項2又は請求項3のいずれか記載の撮像装置。   The information processing apparatus according to claim 1, further comprising: an informing unit that informs the user when a feature cannot be detected from the subject image by the detecting unit or when a zoom processing range that can be processed by the optical zoom unit is exceeded. The imaging device according to claim 2 or claim 3. 前記検出手段によって特徴物を検出できない場合、前記画素数設定手段は画素数をさらに上げ、再び前記検出手段による特徴物の検出を行うよう制御する検出制御手段を更に備えることを特徴とする請求項1から4のいずれか記載の撮像装置。   2. The apparatus according to claim 1, further comprising: a detection control unit configured to perform control so that the number of pixels is further increased and the feature is detected again by the detection unit when the feature unit cannot be detected by the detection unit. The imaging device according to any one of 1 to 4. 前記検出手段によって検出される特徴物は文字であり、
前記検出手段は、文字を検出する文字検出手段を含むことを特徴とする請求項1から5のいずれか記載の撮像装置。
The feature detected by the detecting means is a character,
The imaging apparatus according to claim 1, wherein the detection unit includes a character detection unit that detects a character.
前記検出手段は、前記被写体画像における画像解析エリア内の特徴物を検出することを特徴とする請求項1から6のいずれか記載の撮像装置。   The imaging apparatus according to claim 1, wherein the detection unit detects a feature in an image analysis area in the subject image. 撮像部が撮像する被写体画像から特徴物を検出する検出ステップと、
前記検出ステップにて検出された特徴物に応じて、撮像手段が撮像すべき範囲を画素数として設定する画素数設定ステップと、
を含むことを特徴とする撮像方法。
A detection step of detecting a feature from the subject image captured by the imaging unit;
In accordance with the feature detected in the detection step, a pixel number setting step for setting a range to be imaged by the imaging unit as the number of pixels,
An imaging method comprising:
撮像装置が有するコンピュータを、
撮像する被写体画像から特徴物を検出する検出手段、
前記検出手段によって検出された特徴物に応じて、当該撮像装置が撮像すべき範囲を画素数として設定する画素数設定手段、
として機能させることを特徴とする撮像プログラム。
A computer included in the imaging apparatus;
Detecting means for detecting a feature from a subject image to be imaged;
A pixel number setting unit that sets a range to be imaged by the imaging apparatus as the number of pixels according to the feature detected by the detection unit,
An imaging program that functions as a computer program.
JP2008244833A 2008-09-24 2008-09-24 Imaging device, imaging method, and imaging program Pending JP2010081100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008244833A JP2010081100A (en) 2008-09-24 2008-09-24 Imaging device, imaging method, and imaging program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008244833A JP2010081100A (en) 2008-09-24 2008-09-24 Imaging device, imaging method, and imaging program

Publications (1)

Publication Number Publication Date
JP2010081100A true JP2010081100A (en) 2010-04-08

Family

ID=42211079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008244833A Pending JP2010081100A (en) 2008-09-24 2008-09-24 Imaging device, imaging method, and imaging program

Country Status (1)

Country Link
JP (1) JP2010081100A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012075044A (en) * 2010-09-29 2012-04-12 Toshiba Corp Device, method and program for image processing
JP2012168477A (en) * 2011-02-16 2012-09-06 Nikon Corp Noise estimation device, signal processor, imaging apparatus, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012075044A (en) * 2010-09-29 2012-04-12 Toshiba Corp Device, method and program for image processing
JP2012168477A (en) * 2011-02-16 2012-09-06 Nikon Corp Noise estimation device, signal processor, imaging apparatus, and program

Similar Documents

Publication Publication Date Title
US8089527B2 (en) Image capturing apparatus, image capturing method and storage medium
TWI420902B (en) Camera, camera control program, and camera control method
US8144235B2 (en) Image pickup device and image pickup method
JP4193804B2 (en) IMAGING DEVICE, IMAGE STORAGE DEVICE, IMAGING METHOD, STORAGE METHOD, AND PROGRAM
US8823864B2 (en) Image capturing apparatus and associated methodology for auto-focus and facial detection
JP4645685B2 (en) Camera, camera control program, and photographing method
JP5782813B2 (en) Imaging apparatus and image display method
US7539405B2 (en) Image pickup apparatus with autofocus function
CN101090459A (en) Photographing apparatus and photographing method
JP2011097576A (en) Imaging apparatus
JP2007215091A (en) Imaging apparatus and program therefor
US8363128B2 (en) Image processing apparatus and image processing method
JP2006262071A (en) Image display control apparatus and program
JP4609315B2 (en) Imaging device, method of displaying angle frame at zoom, and program
JP2006054519A (en) Imaging apparatus
JP2010081100A (en) Imaging device, imaging method, and imaging program
JP2009253925A (en) Imaging apparatus and imaging method, and imaging control program
JP4888829B2 (en) Movie processing device, movie shooting device, and movie shooting program
JP2011109693A (en) Imaging device
US8073319B2 (en) Photographing method and photographing apparatus based on face detection and photography conditions
JP2011142644A (en) Imaging apparatus
JP2005347885A (en) Imaging unit, photographing range adjustment method, and program
JP2011050107A (en) Camera, camera control program, and imaging method
JP5003803B2 (en) Image output apparatus and program
JP2007166447A (en) Imaging apparatus, zoom display method, and program