JP2009232408A - Image pickup device - Google Patents

Image pickup device Download PDF

Info

Publication number
JP2009232408A
JP2009232408A JP2008078460A JP2008078460A JP2009232408A JP 2009232408 A JP2009232408 A JP 2009232408A JP 2008078460 A JP2008078460 A JP 2008078460A JP 2008078460 A JP2008078460 A JP 2008078460A JP 2009232408 A JP2009232408 A JP 2009232408A
Authority
JP
Japan
Prior art keywords
image data
folder
imaging
inclination
tilt
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
JP2008078460A
Other languages
Japanese (ja)
Inventor
Tomoyuki Nozawa
友志 野澤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008078460A priority Critical patent/JP2009232408A/en
Publication of JP2009232408A publication Critical patent/JP2009232408A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image pickup device the inclination of which when an image of data is photographed can be known from the recorded image data. <P>SOLUTION: When a release button is pressed, image data is stored on an SDRAM 103 in image pickup processing in S41. Next, in S42, an angle θ stored in a temporary storage memory is read by angle calculation processing. Then, in S43, whether or not a folder corresponding to the read angle θ exists in a memory card 109 is determined. When a corresponding folder exists, the image data stored on the SDRAM 103 is classified and recorded in the corresponding folder in S45. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、撮像装置に関し、特に、撮像装置の傾きを検出する機能と、被写体を撮像して取得された画像データを記録する機能とを有する撮像装置に関するものである。   The present invention relates to an imaging apparatus, and more particularly to an imaging apparatus having a function of detecting an inclination of the imaging apparatus and a function of recording image data acquired by imaging a subject.

近年、デジタルカメラ等を含む撮像装置においては、傾斜角センサや水平検出回路もしくはジャイロ等の角度検出装置を用いて、撮影時の撮像装置の光軸の左右の傾斜を検出することが可能になった。撮影者は、上記の角度検出機能により、撮影時にデジタルカメラの傾きを把握することができる。   In recent years, in an imaging apparatus including a digital camera or the like, it is possible to detect the right and left inclination of the optical axis of the imaging apparatus at the time of shooting using an angle detection device such as a tilt angle sensor, a horizontal detection circuit, or a gyro. It was. The photographer can grasp the tilt of the digital camera at the time of photographing by the above angle detection function.

特許文献1には、ビデオカメラの傾きを検出するための傾き検出センサを備えたビデオカメラが開示されている。傾き検出センサは、例えば加速度センサにより構成される。特許文献1のビデオカメラは、撮影が手持ち撮影か、三脚等による固定撮影かを判断し、手持ち撮影の場合は、ビデオカメラの傾きが設定値α以上であれば、ビデオカメラの傾きを表示画面に表示するガイド表示をONにする。一方、固定撮影の場合は、ビデオカメラの傾きが設定値β以上であればガイド表示をONにする。ガイド表示をON/OFFする傾きの設定値を、手持ち撮影時に比べて固定撮影時の方が小さくなるように設定することで、手持ち撮影時には、ガイド表示による撮影の妨げを軽減し、傾きが目立つ固定撮影時には、より小さな傾きに対するガイド表示によりビデオカメラの傾き補正を行うことができ、撮影の精度を向上することができる。   Patent Document 1 discloses a video camera including an inclination detection sensor for detecting the inclination of the video camera. The inclination detection sensor is configured by an acceleration sensor, for example. The video camera disclosed in Patent Document 1 determines whether shooting is handheld shooting or fixed shooting using a tripod, and in the case of handheld shooting, if the tilt of the video camera is equal to or greater than the set value α, the tilt of the video camera is displayed. Set the guide display to be displayed to ON. On the other hand, in the case of fixed shooting, the guide display is turned ON if the tilt of the video camera is equal to or greater than the set value β. By setting the tilt setting value for turning the guide display ON / OFF so that it is smaller for fixed shooting than for handheld shooting, the handheld shooting reduces the hindrance to shooting by the guide display and makes the tilt stand out. At the time of fixed shooting, the video camera tilt can be corrected by a guide display for a smaller tilt, and the shooting accuracy can be improved.

特許文献2には、撮影時にスルー画像が表示されている画面に縦横にグリッド表示線を表示すると共に、撮像装置が地平線に対して傾いている場合は水平表示線も表示し、撮影者が撮像装置の傾きを視覚的に把握できる撮像装置が開示されている。撮影者は、カメラの姿勢を正してグリッド表示線を水平表示線に合わせることで、地平線に対して水平な画像を撮影することができる。また、特許文献2の撮像装置は、自動的に画像の姿勢を水平に調整する水平アジャスト機能を備えている。水平アジャスト機能が選択されている場合には、撮像装置の傾きに基づいてスルー画像が自動的に水平アジャストして表示され、撮影者は、カメラの姿勢を気にせずに水平な画像を撮影することができる。   In Patent Document 2, a grid display line is displayed vertically and horizontally on a screen on which a through image is displayed at the time of shooting, and a horizontal display line is also displayed when the imaging device is tilted with respect to the horizon. An imaging apparatus that can visually grasp the inclination of the apparatus is disclosed. The photographer can shoot an image horizontal to the horizon by correcting the camera posture and aligning the grid display line with the horizontal display line. In addition, the imaging apparatus of Patent Document 2 includes a horizontal adjustment function that automatically adjusts the posture of an image horizontally. When the horizontal adjustment function is selected, the through image is automatically adjusted and displayed based on the tilt of the imaging device, and the photographer takes a horizontal image without worrying about the camera posture. be able to.

このような撮像装置においては、撮像装置の傾きを表示画面に示すガイド表示により、撮像装置の姿勢や撮影画像の姿勢を正して水平な画像を撮影して記録することができるため、記録画像としては水平な画像が得られる。また、撮像装置の傾きを表示画面に示すガイド表示により、所望の傾きの画像を撮影して記録することができる。
特開2007−286434号公報 特開2006−165941号公報
In such an imaging apparatus, a guide image indicating the tilt of the imaging apparatus on the display screen can shoot and record a horizontal image with the orientation of the imaging apparatus and the orientation of the captured image corrected, and thus a recorded image As a result, a horizontal image can be obtained. Further, an image with a desired inclination can be taken and recorded by a guide display showing the inclination of the imaging apparatus on the display screen.
JP 2007-286434 A JP 2006-165941 A

しかしながら、上記のような従来の撮像装置では、撮影者が水平ではない、所望の傾きを有する画像を撮影したい場合、撮影時はガイド表示によりどの程度撮像装置が傾いているか分かるため撮影を行うことはできるものの、撮影後には、記録された画像データから、その画像データが撮影された時の撮像装置の傾きや、画像データがどの程度の傾きを有する画像データなのかを知ることができないという問題があった。   However, in the conventional imaging apparatus as described above, when the photographer wants to shoot an image that is not horizontal and has a desired inclination, shooting is performed because it is known how much the imaging apparatus is tilted by the guide display at the time of shooting. However, after shooting, it is not possible to know from the recorded image data the tilt of the imaging device when the image data was shot and how much the image data is image data. was there.

従来の撮像装置においては、地平線に水平な画像を撮影する場合も、水平ではない所望の傾きを有する画像を撮影する場合も、画像データは、例えば撮影日時に応じた1つのフォルダに、混在して記録される。そのため、記録された画像データから、その画像は撮像装置がどの程度傾いたときに撮像されたものなのか、その画像は地平線に対してどの程度傾いているものなのかを、知る術が無かった。よって、撮影を行った後に、傾きに応じて画像データを分類したいというユーザのニーズや、記録された画像データから所望の傾きの角度を有する画像のみを取得したいというユーザのニーズに応えることができなかった。   In conventional imaging devices, image data is mixed in a single folder according to the shooting date, for example, when shooting an image horizontal to the horizon or when shooting an image having a desired inclination that is not horizontal. Recorded. Therefore, there was no way to know from the recorded image data how much the image was captured when the imaging device was tilted, and how much the image was tilted with respect to the horizon. . Therefore, it is possible to meet the user's need to classify image data according to the tilt after shooting, or the user's need to acquire only an image having a desired tilt angle from the recorded image data. There wasn't.

本発明は、上述した事情に鑑みてなされたもので、記録された画像データから、その画像データが撮影された時の撮像装置の傾きを知ることができる撮像装置を提供することを目的とする。   The present invention has been made in view of the above-described circumstances, and an object thereof is to provide an imaging apparatus capable of knowing the inclination of the imaging apparatus when the image data is captured from the recorded image data. .

上述した目的を達成するために、本発明に係る撮像装置は、被写体を撮像して画像データを取得する撮像手段と、前記撮像手段により取得された画像データを記録する記録制御手段と、撮像装置の傾きを検出し、検出データを出力する傾き検出手段と、前記傾き検出手段から出力された検出データに基づいて、前記傾きに応じた傾き情報を算出する傾き情報算出手段と、を備え、前記記録制御手段は、前記撮像手段により取得された画像データを、前記傾き情報に応じたフォルダに分類して記録することを特徴とする。   In order to achieve the above-described object, an imaging apparatus according to the present invention includes an imaging unit that captures an image of a subject and acquires image data, a recording control unit that records image data acquired by the imaging unit, and an imaging apparatus. An inclination detection means for detecting the inclination of the image and outputting detection data; and an inclination information calculation means for calculating inclination information according to the inclination based on the detection data output from the inclination detection means, The recording control means classifies and records the image data acquired by the imaging means in a folder corresponding to the tilt information.

本発明においては特に限定されないが、前記記録制御手段は、前記画像データと前記傾き情報を、1つの画像ファイルとして記録することが好ましい。   Although not particularly limited in the present invention, it is preferable that the recording control unit records the image data and the tilt information as one image file.

本発明においては特に限定されないが、前記記録制御手段は、前記画像データを、前記傾き情報に応じて、縦撮りフォルダと横撮りフォルダに分類して記録することが好ましい。   Although not particularly limited in the present invention, it is preferable that the recording control unit classifies and records the image data into a vertical shooting folder and a horizontal shooting folder according to the tilt information.

本発明においては特に限定されないが、前記傾き検出手段は、撮像時に前記撮像装置の傾きを検出し、前記記録制御手段は、前記撮像手段により取得された画像データを、撮像時の前記傾き情報に応じたフォルダに分類して記録することが好ましい。   Although not particularly limited in the present invention, the tilt detection means detects the tilt of the imaging device at the time of imaging, and the recording control means uses the image data acquired by the imaging means as the tilt information at the time of imaging. It is preferable to classify and record in the corresponding folder.

本発明においては特に限定されないが、前記撮像手段により取得された画像データを、前記撮像装置の表示部に撮影画像として表示する表示制御手段を更に備え、前記表示制御手段は、前記撮影画像と共に、前記傾き情報を示す傾きガイド表示を表示することが好ましい。   Although not particularly limited in the present invention, it further comprises display control means for displaying the image data acquired by the imaging means as a captured image on the display unit of the imaging device, the display control means, together with the captured image, It is preferable to display an inclination guide display indicating the inclination information.

本発明においては特に限定されないが、前記記録制御手段は、前記撮像手段により取得された画像データを、前記傾き情報に応じたフォルダに分類して記録媒体に記録する際に、前記記録媒体に前記傾き情報に応じたフォルダが存在しない場合、前記記録媒体に前記傾き情報に応じたフォルダを作成することが好ましい。   Although not particularly limited in the present invention, the recording control unit classifies the image data acquired by the imaging unit into a folder according to the tilt information and records the data on the recording medium. When there is no folder corresponding to the tilt information, it is preferable to create a folder corresponding to the tilt information on the recording medium.

本発明においては特に限定されないが、前記記録制御手段は、前記傾き情報に応じたフォルダを作成する際に、前記傾き情報に対応する名称を有するフォルダを作成することが好ましい。   Although not particularly limited in the present invention, it is preferable that the recording control unit creates a folder having a name corresponding to the tilt information when creating a folder corresponding to the tilt information.

本発明によれば、被写体を撮像して取得された画像データを、撮像装置の傾きに応じた傾き情報に応じたフォルダに分類して記録することで、撮影後に、記録された画像データから、その画像データが撮影された時の撮像装置の傾きを知ることができる。したがって、撮影を行った後に、傾きに応じて画像データを分類したいというユーザのニーズや、記録された画像データから所望の傾きの角度を有する画像のみを取得したいというユーザのニーズに応えることができる。また、本発明によれば、記録時に撮像装置の傾きに応じたフォルダに画像データを分類することができるため、撮影・記録後のファイル管理が容易になる。   According to the present invention, image data acquired by imaging a subject is classified and recorded in a folder according to tilt information according to the tilt of the imaging device, so that after shooting, from the recorded image data, It is possible to know the inclination of the imaging device when the image data is captured. Therefore, it is possible to meet the user's need to classify image data according to the inclination after shooting or the user's need to acquire only an image having a desired inclination angle from the recorded image data. . Further, according to the present invention, image data can be classified into folders according to the inclination of the imaging apparatus during recording, so file management after shooting and recording is facilitated.

以下、本発明の実施形態について図を用いて説明する。まず、本発明の実施形態に係る撮像装置の一例であるデジタルカメラの構成について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, a configuration of a digital camera that is an example of an imaging apparatus according to an embodiment of the present invention will be described.

図1は、本発明の実施形態に係るデジタルカメラの一部構成を示すブロック図である。デジタルカメラ1は、各種レンズ及びモータを有する鏡胴ユニット(図示なし)と、カメラ本体1に内蔵されているCCD101と、撮像データの各種調整を行うフロントエンドIC(図1における「F/E−IC」)102と、カメラ本体1全体の制御やデータ処理に中心的な役割を果たすデジタルカメラプロセッサ(以下、「プロセッサ」と称する)104と、画像データに各種処理を施す際に、画像データを一時的に保存するSDRAM103と、内蔵メモリ107と、ROM(図示なし)と、ユーザがカメラ1に対して各種設定や撮像の指示等を行う操作キーユニット110と、画像を表示するためのLCDドライバ105及びLCDモニタ106と、画像データを記録するメモリカード109と、カメラ1の姿勢を検出する加速度センサ108と、を備えている。   FIG. 1 is a block diagram showing a partial configuration of a digital camera according to an embodiment of the present invention. The digital camera 1 includes a lens barrel unit (not shown) having various lenses and motors, a CCD 101 built in the camera body 1, and a front-end IC ("F / E-" in FIG. IC ") 102, a digital camera processor (hereinafter referred to as" processor ") 104, which plays a central role in the control and data processing of the entire camera body 1, and image data when performing various processing on the image data. Temporary saving SDRAM 103, built-in memory 107, ROM (not shown), operation key unit 110 for the user to make various settings and imaging instructions to the camera 1, and LCD driver for displaying images 105, an LCD monitor 106, a memory card 109 for recording image data, and an acceleration sensor 108 for detecting the attitude of the camera 1. There.

鏡胴ユニットは、図示していないがCCD101の前方に配置され、撮像レンズ光学系、鏡胴、及び鏡胴を駆動するパルスモータである複数のモータを有する装置であり、撮影時の焦点合わせや露光時の絞りの調整を行う。   Although not shown, the lens barrel unit is disposed in front of the CCD 101 and includes an imaging lens optical system, a lens barrel, and a plurality of motors that are pulse motors for driving the lens barrel. Adjust the aperture during exposure.

そして、撮影時に鏡胴ユニットから取り込まれた画像は、カメラ本体1に内蔵されているCCD101表面に結像される。CCD101は、光学画像を光電変換するための固体撮像素子であり、CCD101において電気信号(アナログデータ)に変換された画像のデータは、次に、フロントエンドIC102へと送られる。   An image captured from the lens barrel unit at the time of shooting is formed on the surface of the CCD 101 built in the camera body 1. The CCD 101 is a solid-state imaging device for photoelectrically converting an optical image, and the image data converted into an electrical signal (analog data) in the CCD 101 is then sent to the front end IC 102.

フロントエンドIC102は、CCD101から出力されたデータに、各種調整を加える。フロントエンドIC102は、図示していないが、画像ノイズ除去用相関二重サンプリングを行うCDS、利得調整を行うAGC、デジタル信号変換を行うA/D、駆動タイミング信号を発生するTG(タイミングジェネレータ)等を有する。TGには、プロセッサ104内にあるCCD1信号処理ブロック1041から垂直同期信号VDと水平同期信号HDが供給される。TGは、CPUブロック1043によって制御される。   The front end IC 102 makes various adjustments to the data output from the CCD 101. Although not shown, the front-end IC 102 is a CDS that performs correlated double sampling for image noise removal, AGC that performs gain adjustment, A / D that performs digital signal conversion, TG (timing generator) that generates a drive timing signal, and the like Have The vertical synchronization signal VD and the horizontal synchronization signal HD are supplied to the TG from the CCD1 signal processing block 1041 in the processor 104. The TG is controlled by the CPU block 1043.

このフロントエンドIC102において上記の各種調整が行われた電気信号(デジタルデータ)は、次に、デジタルカメラプロセッサ104へと送られる。デジタルカメラプロセッサ104は、電気信号として送られてきた画像データのデータ処理や、カメラ本体1全体の動作の制御において、中心的な役割を果たす装置である。プロセッサ104は、CCD1信号処理ブロック1041、CCD2信号処理ブロック1042、CPUブロック1043、JPEG CODECブロック1044、RESIZEブロック1045、TV信号表示ブロック1046、メモリカードコントローラブロック1047、及びI2Cブロック(通信インタフェース)1048等により構成されており、これらの構成要素間でデータの授受が行われる。   The electrical signal (digital data) subjected to the above-described various adjustments in the front end IC 102 is then sent to the digital camera processor 104. The digital camera processor 104 is a device that plays a central role in data processing of image data sent as an electrical signal and control of the operation of the entire camera body 1. The processor 104 includes a CCD1 signal processing block 1041, a CCD2 signal processing block 1042, a CPU block 1043, a JPEG CODEC block 1044, a RESIZE block 1045, a TV signal display block 1046, a memory card controller block 1047, an I2C block (communication interface) 1048, and the like. The data is exchanged between these components.

CCD1信号処理ブロック1041は、フロントエンドIC102から出力されたデータに、ホワイトバランス設定やガンマ設定を行い、また、垂直同期信号VDと水平同期信号HDを供給する。CCD2信号処理ブロック1042は、フィルタリング処理により、輝度データ、色差データへの変換を行う。CPUブロック1043は、カメラ本体1に内蔵されている装置各部の動作を制御する。JPEG CODECブロック1044は、JPEG圧縮、伸張を行う。RESIZEブロック1045は、画像データのサイズを補間処理により拡大、縮小する。TV信号表示ブロック1046は、LCDドライバ105を介して画像データをLCDモニタ(以下、「モニタ画面」とも称する)106に表示するためのビデオ信号に変換する。メモリカードコントローラブロック1047は、メモリカードスロット(図示なし)に挿入された、撮影された画像データを記録するメモリカード109の制御を行う。I2Cブロック(通信インタフェース)1048は、加速度センサ108とCPUブロック1043との間の高速シリアル通信を行う。   The CCD1 signal processing block 1041 performs white balance setting and gamma setting on the data output from the front end IC 102, and supplies a vertical synchronizing signal VD and a horizontal synchronizing signal HD. The CCD2 signal processing block 1042 performs conversion into luminance data and color difference data by filtering processing. The CPU block 1043 controls the operation of each unit included in the camera body 1. The JPEG codec block 1044 performs JPEG compression and expansion. The RESIZE block 1045 enlarges or reduces the size of the image data by interpolation processing. The TV signal display block 1046 converts the image data into a video signal for display on the LCD monitor (hereinafter also referred to as “monitor screen”) 106 via the LCD driver 105. The memory card controller block 1047 controls the memory card 109 that records captured image data inserted into a memory card slot (not shown). An I2C block (communication interface) 1048 performs high-speed serial communication between the acceleration sensor 108 and the CPU block 1043.

上記に加えて、デジタルカメラプロセッサ104は、図示はしていないが、装置各部の動作制御に必要なデータ等を一時的に保存する一時記憶メモリや、音声CODECを介してカメラ1本体が有するスピーカ(図示なし)から出力される音声データを出力する音声ブロック等を適宜有する。   In addition to the above, the digital camera processor 104 is not shown, but the speaker included in the main body of the camera 1 via a temporary storage memory for temporarily storing data necessary for operation control of each part of the apparatus or the audio CODEC. An audio block for outputting audio data output from (not shown) is appropriately provided.

また、プロセッサ104の外部には、SDRAM103、内蔵メモリ107、及び各種制御プログラムが格納されたROM(図示なし)が配置されていて、プロセッサ104とバスラインによって繋がっている。   Further, an SDRAM 103, a built-in memory 107, and a ROM (not shown) in which various control programs are stored are arranged outside the processor 104, and are connected to the processor 104 by a bus line.

SDRAM103は、プロセッサ104で画像データに各種処理を施す際に、画像データを一時的に保存する。保存される画像データは、例えば、CCD101からフロントエンドIC102を経由して取り込んで、CCD1信号処理ブロック1041でホワイトバランス設定、ガンマ設定が行われた状態の「RAW−RGB画像データ」やCCD2信号処理ブロック1042で輝度データ、色差データ変換が行われた状態の「YUV画像データ」、JPEG CODECブロック1047で、JPEG圧縮された「JPEG画像データ」等である。   The SDRAM 103 temporarily stores image data when the processor 104 performs various processes on the image data. The image data to be stored is, for example, “RAW-RGB image data” or CCD2 signal processing in which the CCD1 signal processing block 1041 takes in the white balance setting and gamma setting from the CCD 101 via the front-end IC 102. “YUV image data” in which luminance data and color difference data are converted in block 1042, “JPEG image data” compressed in JPEG in JPEG CODEC block 1047, and the like.

内蔵メモリ107は、前述したメモリカードスロットにメモリカード109が装着されていない場合でも、撮影した画像データを記憶できるようにするためのメモリである。   The built-in memory 107 is a memory for storing captured image data even when the memory card 109 is not inserted into the memory card slot described above.

ROMは、プロセッサ104内にあるCPUブロック1043にて解読可能なコードで記述された制御プログラムや、制御するためのパラメータを格納している。   The ROM stores a control program written in a code readable by the CPU block 1043 in the processor 104 and parameters for control.

デジタルカメラ1の電源がオン状態になると、制御プログラムは不図示のメインメモリにロードされる。そして、CPUブロック1043がその制御プログラムに従って装置各部の動作を制御するとともに、制御に必要なデータ等を、一時的に、プロセッサ104内の一時記憶メモリ(図示なし)に保存する。   When the digital camera 1 is powered on, the control program is loaded into a main memory (not shown). The CPU block 1043 controls the operation of each part of the apparatus according to the control program, and temporarily stores data necessary for control in a temporary storage memory (not shown) in the processor 104.

なお、ROMに書き換え可能なフラッシュROMを使用することで、制御プログラムや制御するためのパラメータを変更することが可能となり、機能のバージョンアップを容易に行うことが可能となる。   By using a rewritable flash ROM as the ROM, it is possible to change the control program and parameters for control, and it is possible to easily upgrade the function.

そして、各種処理が行われた後の最終的な画像データは、装置内部に設けられた内蔵メモリ107に保存されるか、又は、メモリカードスロットに挿入された、着脱可能な外部記録媒体であるメモリカード109に保存される。   The final image data after various processes are stored in a built-in memory 107 provided in the apparatus or a removable external recording medium inserted into a memory card slot. Saved in the memory card 109.

また、デジタルカメラ1本体には、操作キーユニット110が設けられている。ユーザは、操作キーユニット110が有する複数のスイッチを操作することで、カメラ1に対して各種設定や撮像の指示等を行うことができる。操作キーユニット110からの出力信号は、ユーザの操作情報として、CPUブロック1043に出力される。CPUブロック1043は、操作キーユニット110からの出力信号に応じて、各種制御を行う。   Further, the operation key unit 110 is provided in the main body of the digital camera 1. The user can perform various settings, imaging instructions, and the like for the camera 1 by operating a plurality of switches of the operation key unit 110. An output signal from the operation key unit 110 is output to the CPU block 1043 as user operation information. The CPU block 1043 performs various controls according to the output signal from the operation key unit 110.

また、プロセッサ104には、加速度センサ108が接続されている。加速度センサ108は、X、Yの2軸の傾きに対応する加速度データを取得することができる。2軸の一例として、XとYが垂直である加速度センサが考えられる。加速度センサ108は、カメラ1本体内の、上述した各部を構成したプリント基板(PCB)上に実装される。   In addition, the acceleration sensor 108 is connected to the processor 104. The acceleration sensor 108 can acquire acceleration data corresponding to the two-axis tilts of X and Y. As an example of two axes, an acceleration sensor in which X and Y are vertical can be considered. The acceleration sensor 108 is mounted on a printed circuit board (PCB) that constitutes the above-described units in the camera 1 body.

後述するように、加速度センサ108から出力される重力データから、地球の重力が1Gであることを利用して、地球の水平方向に対する加速度センサ108の傾きを算出することができる。ここで、地球の水平方向は、地球の重力方向に対して垂直であるとする。   As will be described later, the inclination of the acceleration sensor 108 with respect to the horizontal direction of the earth can be calculated from the gravity data output from the acceleration sensor 108 using the fact that the gravity of the earth is 1G. Here, it is assumed that the horizontal direction of the earth is perpendicular to the direction of gravity of the earth.

加速度センサ108は、PCB上に実装された後、CCD101が地球の水平方向に対して水平となる位置を、加速度センサ108の地球の水平方向に対する傾きが基準の0°となるように調整が行われる。ここで、CCD101は、LCDモニタ106に表示される画像の水平方向に対応するx軸、垂直方向に対応するy軸の2軸を有する。水平方向とは、図2に示されるカメラ1のLCDモニタ106の長手方向であり、垂直方向とは、図2に示されるカメラ1のLCDモニタ106の短手方向であるとする。つまり、CCD101が地球の水平方向に対して水平の状態とは、CCD101のx軸が地球の水平方向に対して水平、かつ地球の重力方向に対して垂直の状態であり、図2において、カメラ1のLCDモニタ106の長手方向が地球の水平方向に対して水平、かつ地球の重力方向に対して垂直の状態である。   After the acceleration sensor 108 is mounted on the PCB, the position where the CCD 101 is horizontal with respect to the horizontal direction of the earth is adjusted so that the inclination of the acceleration sensor 108 with respect to the horizontal direction of the earth is 0 ° as a reference. Is called. Here, the CCD 101 has two axes, an x axis corresponding to the horizontal direction of an image displayed on the LCD monitor 106 and a y axis corresponding to the vertical direction. The horizontal direction is the longitudinal direction of the LCD monitor 106 of the camera 1 shown in FIG. 2, and the vertical direction is the short direction of the LCD monitor 106 of the camera 1 shown in FIG. In other words, the state in which the CCD 101 is horizontal with respect to the horizontal direction of the earth is a state in which the x-axis of the CCD 101 is horizontal with respect to the horizontal direction of the earth and perpendicular to the direction of gravity of the earth. One LCD monitor 106 is in a state where the longitudinal direction of the LCD monitor 106 is horizontal with respect to the horizontal direction of the earth and perpendicular to the direction of gravity of the earth.

すると、加速度センサ108とCCD101の傾きは連動するため、水平方向に対する加速度センサ108の傾きから、地球の水平方向に対するCCD101のx軸の傾きを取得することができる。   Then, since the inclination of the acceleration sensor 108 and the CCD 101 is linked, the inclination of the x axis of the CCD 101 with respect to the horizontal direction of the earth can be obtained from the inclination of the acceleration sensor 108 with respect to the horizontal direction.

本実施形態では、CCD101の傾きとカメラ1本体の傾きも連動しているため、地球の水平方向に対するCCD101のx軸の傾きから、地球の水平方向に対する、カメラ本体1のLCDモニタ106の長手方向の傾きを取得することができる。つまり、加速度センサ108により、カメラ本体1の姿勢を検出することができる。   In this embodiment, since the tilt of the CCD 101 and the tilt of the camera 1 main body are also linked, the longitudinal direction of the LCD monitor 106 of the camera main body 1 with respect to the horizontal direction of the earth from the tilt of the x axis of the CCD 101 with respect to the horizontal direction of the earth. Can be obtained. That is, the posture of the camera body 1 can be detected by the acceleration sensor 108.

なお、加速度センサ108は、プリント基板(PCB)上に実装されると説明したが、配線やCCD101の位置、他の部品の位置等により実装可能な位置であれば、カメラ1の鏡胴ユニットやカメラ本体1に実装されてもよい。   Although the acceleration sensor 108 has been described as being mounted on a printed circuit board (PCB), the lens barrel unit of the camera 1 or the like can be used as long as it can be mounted according to the position of wiring, the CCD 101, the position of other components, and the like. It may be mounted on the camera body 1.

次に、加速度センサ108の傾き算出処理、及びカメラ本体1の角度取得処理について、説明する。図2に、地球の水平方向に対する、カメラ1本体のLCDモニタ106の長手方向の傾きθを示す。以下、加速度センサ108の傾き、及びカメラ本体1の傾き・角度とは、地球の水平方向に対する傾きθを示す。   Next, the inclination calculation process of the acceleration sensor 108 and the angle acquisition process of the camera body 1 will be described. FIG. 2 shows the inclination θ in the longitudinal direction of the LCD monitor 106 of the camera 1 body relative to the horizontal direction of the earth. Hereinafter, the inclination of the acceleration sensor 108 and the inclination / angle of the camera body 1 indicate the inclination θ with respect to the horizontal direction of the earth.

加速度センサ108は、2軸X、Yの加速度データを出力する。この加速度センサ108により検出された加速度データは、I2Cブロック1048に送信され、CPUブロック1043が認識可能なシリアル信号へと変換される。そして、加速度データを含むシリアル信号が、CPUブロック1043へと送られることで、加速度センサ108とCPUブロック1043との間でシリアル通信が行われる。   The acceleration sensor 108 outputs biaxial X and Y acceleration data. The acceleration data detected by the acceleration sensor 108 is transmitted to the I2C block 1048 and converted into a serial signal that can be recognized by the CPU block 1043. A serial signal including acceleration data is sent to the CPU block 1043, whereby serial communication is performed between the acceleration sensor 108 and the CPU block 1043.

CPUブロック1043は、その加速度データを基にして、後述する演算処理を行い、カメラ本体1の傾斜角度θを求めることができる。   The CPU block 1043 can calculate the tilt angle θ of the camera body 1 by performing arithmetic processing described later based on the acceleration data.

図3は、加速度センサ108の制御フローチャートの一例である。加速度センサ108の電源は、カメラ1の電源が投入されると同時にONになる。あるいは、ユーザにより加速度センサ108を使用する撮影モードや記録モードが選択された時に、加速度センサ108の電源がONになってもよい。   FIG. 3 is an example of a control flowchart of the acceleration sensor 108. The power source of the acceleration sensor 108 is turned on at the same time as the power source of the camera 1 is turned on. Alternatively, the power source of the acceleration sensor 108 may be turned on when a shooting mode or a recording mode that uses the acceleration sensor 108 is selected by the user.

撮影モードとは、ユーザが撮影を行うことができるモードである。撮影モードにおいて、更に、例えば、ポートレートモードや夜景モードなどを設定することで、各シーンに適切な撮影条件が自動的に設定されるため、シーンに応じた撮影を行うことができる。本実施形態では、撮影モードにおいて、カメラ1本体の傾斜角度θを取得するモードを選択可能とする。   The shooting mode is a mode in which the user can perform shooting. In the shooting mode, for example, by setting a portrait mode, a night view mode, and the like, appropriate shooting conditions are automatically set for each scene, so that shooting according to the scene can be performed. In the present embodiment, it is possible to select a mode for acquiring the tilt angle θ of the camera 1 body in the shooting mode.

図3では、撮影モードの、カメラ1本体の傾斜角度θを取得するモードにおいて、モニタリング画像がLCDモニタ106に表示されているときに行われる角度算出処理が示されている。角度算出処理は、例えば50ms毎に定期的に行われる。   FIG. 3 shows an angle calculation process performed when a monitoring image is displayed on the LCD monitor 106 in a mode for acquiring the tilt angle θ of the camera 1 main body in the shooting mode. The angle calculation process is periodically performed, for example, every 50 ms.

まず、ステップS31において、CPUブロック1043内部のタイマーのカウンタをゼロにする。次に、ステップS32において、加速度センサ108から、2軸X、Yの加速度データを取得する。取得された2軸X、Yの加速度データを基に、ステップS33において、傾斜角度θを算出する。2軸X、Yの加速度データ(X、Y)の各々の重力ゼロ時の出力データを、(X0、Y0)とすると、加速度センサ108の傾斜角度θは、次の(1)式で示される。なお、重力ゼロ時の出力データ(X0、Y0)とは、重力が無い時に加速度センサが出力するデータのことであり、(X0、Y0)は、カメラ側が予め保持しているものとする。
θ[deg]= 180/π * arctan{(Y−Y0)/(X−X0)} …(1)
−180<θ<180の範囲では、θは2つの候補を有するため、X−X0が正負どちらなのかを判定し、最終的なθを決定する。
First, in step S31, the timer counter in the CPU block 1043 is set to zero. Next, in step S <b> 32, the biaxial X and Y acceleration data is acquired from the acceleration sensor 108. In step S33, the tilt angle θ is calculated based on the acquired biaxial X and Y acceleration data. When the output data at zero gravity of each of the acceleration data (X, Y) of the two axes X and Y is (X0, Y0), the inclination angle θ of the acceleration sensor 108 is expressed by the following equation (1). . The output data (X0, Y0) at zero gravity is data output by the acceleration sensor when there is no gravity, and (X0, Y0) is assumed to be held in advance on the camera side.
θ [deg] = 180 / π * arctan {(Y−Y0) / (X−X0)} (1)
In the range of −180 <θ <180, θ has two candidates, so whether X−X0 is positive or negative is determined, and the final θ is determined.

算出されたθは、ステップS34において、デジタルカメラプロセッサ104が有する一時記憶メモリに一時的に保存される。そして、ステップS35において、CPUブロック1043のタイマーにより、カウンタが50msになるまで待機する。カウンタが50msに達すると、ステップS31からステップS34の処理を繰り返し、傾斜角度θを算出して、一時記憶メモリに上書きし、保持する。   The calculated θ is temporarily stored in a temporary storage memory of the digital camera processor 104 in step S34. In step S35, the CPU block 1043 waits until the counter reaches 50 ms. When the counter reaches 50 ms, the processing from step S31 to step S34 is repeated, the inclination angle θ is calculated, overwritten and held in the temporary storage memory.

なお、ここで、角度算出処理は、50ms毎に定期的に行われるとしたが、角度算出処理が行われるタイミングは、加速度センサ108の仕様やデジタルカメラ1の構成、カメラ1で設定されたモードやユーザの希望に応じて、適宜設定し得る。   Here, the angle calculation process is performed periodically every 50 ms. However, the timing at which the angle calculation process is performed depends on the specifications of the acceleration sensor 108, the configuration of the digital camera 1, and the mode set by the camera 1. And can be set as appropriate according to the user's wishes.

次に、本発明の実施形態に係るデジタルカメラにおける撮影時の記録処理について説明する。図4は、本発明の実施形態に係るデジタルカメラにおける撮影時の記録処理を説明するためのフローチャートである。ここで、カメラ1の記録モードとしては、ユーザにより、カメラ1のメニュー画面から、フォルダ分類モードがONに選択されているとする。なお、フォルダ分類モードがONに設定されると、撮影を行う際に、加速度センサ108の電源がONとなり、図3の角度算出処理が開始される。   Next, recording processing at the time of shooting in the digital camera according to the embodiment of the present invention will be described. FIG. 4 is a flowchart for explaining recording processing at the time of shooting in the digital camera according to the embodiment of the present invention. Here, as the recording mode of the camera 1, it is assumed that the folder classification mode is selected to be ON from the menu screen of the camera 1 by the user. Note that when the folder classification mode is set to ON, the power of the acceleration sensor 108 is turned ON when shooting is performed, and the angle calculation process in FIG. 3 is started.

撮影を行う際に、カメラ1のCPUブロック1043は、まず、操作キーユニット110内のレリーズボタンが押されたかどうかを判断し、レリーズボタンが押されたことを検出すると、ステップS41の撮像処理において、CCD101から画像データを取り込み、RAW−RGB画像データをSDRAM103上に一時的に保存する。次に、輝度データ、色差データへの変換が行われた状態のYUV画像データを作成し、YUV画像データをSDRAM103上に一時的に保存する。そして、JPEG圧縮処理を施したJPEG画像データを、再びSDRAM103上に保存する。   At the time of shooting, the CPU block 1043 of the camera 1 first determines whether or not the release button in the operation key unit 110 has been pressed. When it is detected that the release button has been pressed, in the imaging process of step S41. Then, the image data is taken in from the CCD 101 and the RAW-RGB image data is temporarily stored on the SDRAM 103. Next, YUV image data that has been converted into luminance data and color difference data is created, and the YUV image data is temporarily stored on the SDRAM 103. Then, the JPEG image data subjected to the JPEG compression process is stored again on the SDRAM 103.

次に、ステップS42において、図3の角度算出処理により一時記憶メモリに記憶されている角度θを読み出す。そして、ステップS43において、CPUブロック1043が、読み出した角度θに対応するフォルダがメモリカード109に存在するか否かを判定する。メモリカード109に対応するフォルダが存在する場合は、ステップS45において、SDRAM103上に保存されている画像データを、対応するフォルダに分類して記録する。メモリカード109に対応するフォルダが存在しない場合は、ステップS44においてCPUブロック1043がメモリカード109に新たにフォルダを作成した後、ステップS45において、SDRAM103上に保存されている画像データを、作成したフォルダに分類して記録する。   Next, in step S42, the angle θ stored in the temporary storage memory is read out by the angle calculation process of FIG. In step S43, the CPU block 1043 determines whether or not a folder corresponding to the read angle θ exists in the memory card 109. If there is a folder corresponding to the memory card 109, in step S45, the image data stored on the SDRAM 103 is classified and recorded in the corresponding folder. If there is no folder corresponding to the memory card 109, the CPU block 1043 creates a new folder in the memory card 109 in step S44, and then the image data stored on the SDRAM 103 is created in step S45. Classify and record.

なお、上記では、画像データやフォルダが記録・作成される記録媒体はメモリカード109であるとしたが、画像データやフォルダは、ユーザの設定により、内蔵メモリ107に記録・作成してもよい。   In the above description, the recording medium on which image data and folders are recorded / created is the memory card 109. However, the image data and folders may be recorded / created in the built-in memory 107 according to user settings.

角度θに対応するフォルダについて、説明する。ユーザは、撮影を行う前に、カメラ1のメニュー画面でフォルダ分類モードをONに選択する際に、予め、分類単位角度(読み出した角度θを何度単位で分類するか)も設定しておく。すると、画像データを記録するためのフォルダは、分類単位角度ごとに作成される。   A folder corresponding to the angle θ will be described. Prior to shooting, when the user selects the folder classification mode ON on the menu screen of the camera 1, the user also sets the classification unit angle (how many times the read angle θ is classified) in advance. . Then, a folder for recording image data is created for each classification unit angle.

例えば、分類単位角度が10°に設定された場合、フォルダは、−180°から180°の間で、−180°、−170°、・・・、−10°、0°、10°、・・・、170°、180°と、10°ごとにフォルダが作成される。   For example, when the classification unit angle is set to 10 °, the folder is between −180 ° and 180 °, −180 °, −170 °,..., −10 °, 0 °, 10 °,. .. Folders are created every 10 ° at 170 °, 180 °, and so on.

ステップS43における読み出した角度θに対応するフォルダとは、例えば、角度θの下一桁目を四捨五入した角度に対応するフォルダのことである。すなわち、例えば、角度θが−5°から4°の場合は、0°に対応するフォルダに画像データが記録される。0°に対応するフォルダが存在しない場合は、0°に対応するフォルダが新たに作成される。また、角度θが85°から94°の場合は、90°に対応するフォルダに画像データが記録される。   The folder corresponding to the read angle θ in step S43 is, for example, a folder corresponding to the angle rounded to the first digit of the angle θ. That is, for example, when the angle θ is −5 ° to 4 °, the image data is recorded in a folder corresponding to 0 °. If a folder corresponding to 0 ° does not exist, a folder corresponding to 0 ° is newly created. When the angle θ is 85 ° to 94 °, image data is recorded in a folder corresponding to 90 °.

以上の処理により、撮影を行ったときのカメラ本体1傾斜角度θに基づき、画像データを角度θに対応するフォルダに分類して記録することができる。よって、撮影後に、記録された画像データから、その画像データが撮影された時の撮像装置の傾きを知ることができる。したがって、撮影を行った後に、傾きに応じて画像データを分類したいというユーザのニーズや、記録された画像データから所望の傾きの角度を有する画像のみを取得したいというユーザのニーズに応えることができる。   Through the above processing, the image data can be classified and recorded in a folder corresponding to the angle θ based on the camera body 1 tilt angle θ at the time of shooting. Therefore, after shooting, the tilt of the imaging device when the image data is shot can be known from the recorded image data. Therefore, it is possible to meet the user's need to classify image data according to the inclination after shooting or the user's need to acquire only an image having a desired inclination angle from the recorded image data. .

また、記録時に、撮像装置の傾きに応じたフォルダに画像データを分類することができるため、撮影・記録後のファイル管理が容易になる。   In addition, since image data can be classified into folders according to the tilt of the imaging device during recording, file management after shooting and recording is facilitated.

更には、記録された画像データから、分類されたフォルダに対応する角度を用いて画像データを略水平に補正することができるため、撮影後に略水平な画像が必要になった場合にも対処可能である。   Furthermore, since the image data can be corrected substantially horizontally from the recorded image data using the angle corresponding to the classified folder, it is possible to cope with the case where a substantially horizontal image is required after shooting. It is.

なお、フォルダを作成する際には、対応する角度に応じたフォルダ名を付けるのが好ましい。すると、撮影後にユーザが画像データを確認する際に、このフォルダには傾斜角度がどの範囲の画像データが保存されているのかを一目で知ることができるため、使い勝手がよくなる。   When creating a folder, it is preferable to give a folder name according to the corresponding angle. Then, when the user confirms the image data after shooting, it is possible to know at a glance what range of image data the tilt angle is stored in this folder.

例えば、0°に対応するフォルダには、「DEG000」、90°に対応するフォルダには、「DEG090」というフォルダ名を付ける。   For example, a folder corresponding to 0 ° is given a folder name “DEG000”, and a folder corresponding to 90 ° is given a folder name “DEG090”.

また、例えば、角度θに対応するフォルダが、上記で説明したような角度θの下一桁目を四捨五入した角度に対応するフォルダのことではなく、角度θの下一桁目を切り捨てた角度に対応するフォルダである場合は、角度θが0°から9°の場合は、0°に対応するフォルダに画像データが記録され、角度θが170°から179°の場合は、170°に対応するフォルダに画像データが記録される。このような場合は、0°に対応するフォルダには、「DEG00_09」、170°に対応するフォルダには、「DEG170_179」というフォルダ名を付けると、ユーザが、このフォルダには傾斜角度がどの範囲の画像データが保存されているのかが分かりやすい。   In addition, for example, the folder corresponding to the angle θ is not the folder corresponding to the angle rounded off the first digit of the angle θ as described above, but the angle rounded down to the first digit of the angle θ. In the case of the corresponding folder, when the angle θ is 0 ° to 9 °, the image data is recorded in the folder corresponding to 0 °, and when the angle θ is 170 ° to 179 °, it corresponds to 170 °. Image data is recorded in the folder. In such a case, if the folder corresponding to 0 ° is given a folder name “DEG00_09” and the folder corresponding to 170 ° is given a folder name “DEG170_179”, the range of the tilt angle of the folder is set by the user. It is easy to see if the image data is saved.

角度θに対応するフォルダは角度がどの範囲のフォルダなのかという分類方法(下一桁目四捨五入や、下一桁目切り捨て等)も、ユーザが、カメラ1のメニュー画面により設定可能としてもよい。また、フォルダ名の付け方も、ユーザがカメラ1のメニュー画面により設定可能としてもよい。   The folder corresponding to the angle θ may be set by the user on the menu screen of the camera 1 for the classification method (rounding down the first digit, rounding down the first digit, etc.) of the range of the angle. In addition, a method for assigning the folder name may be set by the user on the menu screen of the camera 1.

このように、加速度センサ108からの出力データに基づき算出された角度情報を、フォルダの名称の一部に含むと、ユーザは、フォルダ名から画像撮影時の角度情報を判断することができる。   Thus, when the angle information calculated based on the output data from the acceleration sensor 108 is included in a part of the folder name, the user can determine the angle information at the time of image capturing from the folder name.

本発明の他の実施形態として、画像データを傾斜角度θに対応するフォルダに記録する際に、角度θをJPEGファイルのヘッダに格納して、角度θと画像データをともに1つの画像ファイルとして記録してもよい。すると、分類されたフォルダが対応する角度からは、分類単位角度ごとの角度が得られるため、撮影時の撮像装置の傾きを大まかに知ることができるが、本実施形態では、角度θそのものが画像データとともに得られるため、撮影時の撮像装置の傾きをより精度高く知ることができる。更には、撮影後に水平な画像が必要になった場合には、画像データとともに保存されている傾斜角度θを用いて画像データを水平に補正することができる。   As another embodiment of the present invention, when image data is recorded in a folder corresponding to the inclination angle θ, the angle θ is stored in the header of the JPEG file, and both the angle θ and the image data are recorded as one image file. May be. Then, since the angle for each classification unit angle is obtained from the angle corresponding to the classified folder, it is possible to roughly know the inclination of the imaging device at the time of shooting. In this embodiment, the angle θ itself is the image. Since it is obtained together with the data, the tilt of the imaging device at the time of shooting can be known with higher accuracy. Furthermore, when a horizontal image is required after shooting, the image data can be corrected horizontally using the tilt angle θ stored together with the image data.

本発明の他の実施形態として、ユーザが、カメラ1のメニュー画面で分類単位角度を設定するのではなく、縦横分類というメニューを設定してもよい。縦横分類では、フォルダは、縦撮りフォルダと横撮りフォルダの2つのフォルダが作成される。例えば、縦撮りフォルダには、傾斜角度θが−110°から−70°、及び70°から110°の画像データが、分類されて記録される。横撮りフォルダには、傾斜角度θが、−180°から−160°、−20°から20°、及び160°から180°の画像データが、分類されて記録される。上記範囲内ではない傾斜角度θは、その他の分類となり、フォルダ分けされずに記録媒体に記録してもよいし、その他の分類用のフォルダを作成し、そのフォルダに記録してもよい。または、角度θが縦撮りフォルダにも横撮りフォルダにも分類されない場合は、画像データの記録を行わないという設定にしてもよい。   As another embodiment of the present invention, the user may set a menu called vertical / horizontal classification instead of setting the classification unit angle on the menu screen of the camera 1. In vertical / horizontal classification, two folders are created as a vertical shooting folder and a horizontal shooting folder. For example, image data with an inclination angle θ of −110 ° to −70 ° and 70 ° to 110 ° is classified and recorded in the vertical shooting folder. In the landscape shooting folder, image data having an inclination angle θ of −180 ° to −160 °, −20 ° to 20 °, and 160 ° to 180 ° is classified and recorded. The inclination angle θ that is not within the above range may be classified into other classifications, and may be recorded on a recording medium without being divided into folders, or another classification folder may be created and recorded in the folder. Alternatively, when the angle θ is not classified into either the vertical shooting folder or the horizontal shooting folder, the image data may not be recorded.

縦横分類では、画像データが縦撮りと横撮りで分類されてフォルダに記録されるため、撮影後に、縦撮りされた画像データのみを再生したい場合は、縦撮りフォルダ内の画像データを再生すればよいため、確認する時間も短縮でき、効率よく再生することができる。縦撮りされた画像データと横撮りされた画像データがそれぞれ別のフォルダに分類されずに混在して記録される場合は、画像データを再生する際に、画像データの向きを合わせて確認する必要があるという問題があるが、本構成によると、1つのフォルダから再生される画像データの向きが一定であるため、表示された画像データが確認しやすい。   With vertical / horizontal classification, image data is classified into vertical and horizontal shooting and recorded in a folder. Therefore, if you want to play back only the image data taken vertically after shooting, you can play back the image data in the vertical shooting folder. Therefore, the time for confirmation can be shortened and the reproduction can be efficiently performed. If the vertically shot image data and the horizontally shot image data are recorded together without being classified into different folders, it is necessary to check the orientation of the image data when playing back the image data. However, according to this configuration, since the direction of image data reproduced from one folder is constant, the displayed image data can be easily confirmed.

本発明の他の実施形態として、撮影時に、カメラ1の傾斜角度θを求めてもよい。上記の実施形態では、レリーズボタンを押す前に定期的に行われた角度算出により傾斜角度を記憶し、レリーズボタンが押された後は記憶されている角度θを読み出し、画像データをフォルダに分類するにあたっては、読み出した角度θを用いた。本実施形態では、レリーズボタンが押された後に、角度算出を行い、画像データをフォルダに分類するにあたっては、撮影時に算出した角度θを用いる。   As another embodiment of the present invention, the tilt angle θ of the camera 1 may be obtained during shooting. In the above embodiment, the tilt angle is stored by calculating the angle periodically before the release button is pressed, and the stored angle θ is read after the release button is pressed, and the image data is classified into folders. In this case, the read angle θ was used. In the present embodiment, the angle is calculated after the release button is pressed, and the angle θ calculated at the time of shooting is used to classify the image data into folders.

図5は、本発明の他の実施形態に係るデジタルカメラにおける撮影時の記録処理を説明するためのフローチャートである。撮影を行う際に、カメラ1のCPUブロック1043は、まず、操作キーユニット110内のレリーズボタンが押されたかどうかを判断し、レリーズボタンが押されたことを検出すると、ステップS51の撮像処理において、ステップS41の撮像処理と同様な処理を行い、JPEG画像データをSDRAM103上に保存する。   FIG. 5 is a flowchart for explaining recording processing at the time of shooting in a digital camera according to another embodiment of the present invention. When shooting, the CPU block 1043 of the camera 1 first determines whether or not the release button in the operation key unit 110 has been pressed. When it is detected that the release button has been pressed, in the imaging process of step S51. Then, processing similar to the imaging processing in step S 41 is performed, and JPEG image data is stored on the SDRAM 103.

本実施形態では、ステップS51と並列して、ステップS52からS55の処理が行われる。ステップS52及びステップS53の処理は、図3のステップS32及びステップS33の処理と同様であるため、説明を省略する。そして、ステップS53で算出された角度θに基づき、ステップS54において、CPUブロック1043が、算出した角度θに対応するフォルダが存在するか否かを判定する。対応するフォルダが存在する場合は、ステップS56において、ステップS51にてSDRAM103上に保存されている画像データを、対応するフォルダに分類して記録する。ステップS54からステップS56は、ステップS43からステップS45と同様な処理が行われるため、詳細な説明を省略する。   In the present embodiment, the processes of steps S52 to S55 are performed in parallel with step S51. The processing in step S52 and step S53 is the same as the processing in step S32 and step S33 in FIG. Then, based on the angle θ calculated in step S53, in step S54, the CPU block 1043 determines whether or not there is a folder corresponding to the calculated angle θ. If there is a corresponding folder, in step S56, the image data stored on the SDRAM 103 in step S51 is classified and recorded in the corresponding folder. Since steps S54 to S56 are the same as steps S43 to S45, detailed description thereof is omitted.

本実施形態では、撮影時にレリーズボタンを押した時にカメラ1の傾斜角度θを求め、求めた角度θを用いて画像データのフォルダへの分類を行ったため、カメラの傾斜を急激に変化させて撮影を行った場合でも、カメラの傾斜に対応する角度θでフォルダ分類を行うことができる。   In the present embodiment, the tilt angle θ of the camera 1 is obtained when the release button is pressed at the time of shooting, and the image data is classified into folders using the obtained angle θ. Even in the case of performing folder classification, folder classification can be performed at an angle θ corresponding to the tilt of the camera.

本発明の他の実施形態として、カメラ本体1の傾斜角度を示す傾きガイドを、LCDモニタ106に表示させてもよい。CPUブロック1043は、図3の角度算出処理で算出された角度θに基づき、図2に示すように、角度θを示す傾きガイドを、LCDモニタ106の一部にモニタリング画像を重畳して表示する。ユーザは、操作キーユニット110内の選択ボタンにより、傾きガイドを表示するか否かを選択することができる。   As another embodiment of the present invention, a tilt guide indicating the tilt angle of the camera body 1 may be displayed on the LCD monitor 106. Based on the angle θ calculated in the angle calculation process of FIG. 3, the CPU block 1043 displays an inclination guide indicating the angle θ and a monitoring image superimposed on a part of the LCD monitor 106 as shown in FIG. 2. . The user can select whether or not to display the tilt guide using a selection button in the operation key unit 110.

LCDモニタ106に傾きガイドを表示させることにより、ユーザは、撮影を行うときに、カメラの傾きを視覚的に確認することができる。よって、ユーザが設定した分類単位角度により、これから撮影する画像データがどのフォルダに分類されるのかを予測することができる。   By displaying the tilt guide on the LCD monitor 106, the user can visually check the tilt of the camera when taking a picture. Therefore, it is possible to predict which folder the image data to be shot from now on is classified according to the classification unit angle set by the user.

また、上記の実施形態では、地球の水平方向に対するカメラ1の傾きに基づいて、画像データのフォルダへの分類を行った。しかしながら、加速度センサ108を実装する数を増やして、地球の重力方向に対するカメラ1の傾きや、地球の水平方向及び重力方向に垂直な方向に対するカメラ1の傾きを算出することで、地球の重力方向に対するカメラ1の傾きや、地球の水平方向及び重力方向に垂直な方向に対するカメラ1の傾きに基づいて、画像データのフォルダへの分類を行うことも可能である。   In the above embodiment, the image data is classified into folders based on the tilt of the camera 1 with respect to the horizontal direction of the earth. However, by increasing the number of mounted acceleration sensors 108 and calculating the tilt of the camera 1 with respect to the direction of gravity of the earth and the tilt of the camera 1 with respect to the horizontal direction and the direction perpendicular to the direction of gravity of the earth, It is also possible to classify image data into folders based on the tilt of the camera 1 with respect to or the tilt of the camera 1 with respect to the horizontal direction of the earth and the direction perpendicular to the direction of gravity.

上記の実施形態では、カメラ1の傾き検出センサとして加速度センサ108を用いたが、カメラ1の傾きを検出できるものであれば、水平検出回路やジャイロ等の傾き検出センサを用いてもよい。   In the above embodiment, the acceleration sensor 108 is used as the tilt detection sensor of the camera 1. However, any tilt detection sensor such as a horizontal detection circuit or a gyro may be used as long as the tilt of the camera 1 can be detected.

また、上記の実施形態の説明では、本発明をデジタルカメラに適応した場合を例としたが、本発明の適用範囲はデジタルカメラに限定されず、ビデオカメラやカメラ付き携帯電話機、カメラ付き携帯情報機器等にも適用できる。   In the above description of the embodiment, the case where the present invention is applied to a digital camera is taken as an example. However, the scope of the present invention is not limited to a digital camera, and a video camera, a mobile phone with a camera, and mobile information with a camera. It can also be applied to equipment.

以上、本発明のいくつかの実施形態について説明したが、本発明は上記各実施形態に限定されるものではなく、種々の変形実施が可能であることはいうまでもない。また、上記で説明した各実施形態は、適宜組み合わせて実施が可能である。   As mentioned above, although several embodiment of this invention was described, this invention is not limited to said each embodiment, It cannot be overemphasized that various deformation | transformation implementation is possible. Moreover, each embodiment described above can be implemented in combination as appropriate.

本発明の実施形態に係るデジタルカメラの一部構成を示すブロック図である。1 is a block diagram illustrating a partial configuration of a digital camera according to an embodiment of the present invention. 本発明の実施形態に係るカメラ1本体の地球のLCDモニタ106の長手方向の傾きθを示す図である。It is a figure which shows the inclination (theta) of the longitudinal direction of the LCD monitor 106 of the earth of the camera 1 main body which concerns on embodiment of this invention. 本発明の実施形態に係る加速度センサ108の制御フローチャートの一例である。It is an example of the control flowchart of the acceleration sensor 108 which concerns on embodiment of this invention. 本発明の実施形態に係るデジタルカメラにおける撮影時の記録処理を説明するためのフローチャートである。It is a flowchart for demonstrating the recording process at the time of imaging | photography with the digital camera which concerns on embodiment of this invention. 本発明の他の実施形態に係るデジタルカメラにおける撮影時の記録処理を説明するためのフローチャートである。It is a flowchart for demonstrating the recording process at the time of imaging | photography in the digital camera which concerns on other embodiment of this invention.

符号の説明Explanation of symbols

1 デジタルカメラ
101 CCD
102 フロントエンドIC
103 SDRAM
104 デジタルカメラプロセッサ
105 LCDドライバ
106 LCDモニタ
107 内蔵メモリ
108 加速度センサ
109 メモリカード
110 操作キーユニット
1041 CCD1信号処理ブロック
1042 CCD2信号処理ブロック
1043 CPUブロック
1044 JPEG CODECブロック
1045 RESIZEブロック
1046 TV信号表示ブロック
1047 メモリカードコントローラブロック
1048 I2Cブロック
1 Digital camera 101 CCD
102 Front-end IC
103 SDRAM
104 Digital Camera Processor 105 LCD Driver 106 LCD Monitor 107 Built-in Memory 108 Acceleration Sensor 109 Memory Card 110 Operation Key Unit 1041 CCD1 Signal Processing Block 1042 CCD2 Signal Processing Block 1043 CPU Block 1044 JPEG CODEC Block 1045 RESIZE Block 1046 TV Signal Display Block 1047 Memory Card controller block 1048 I2C block

Claims (7)

被写体を撮像して画像データを取得する撮像手段と、
前記撮像手段により取得された画像データを記録する記録制御手段と、
撮像装置の傾きを検出し、検出データを出力する傾き検出手段と、
前記傾き検出手段から出力された検出データに基づいて、前記傾きに応じた傾き情報を算出する傾き情報算出手段と、を備え、
前記記録制御手段は、前記撮像手段により取得された画像データを、前記傾き情報に応じたフォルダに分類して記録することを特徴とする撮像装置。
Imaging means for capturing an image of a subject and acquiring image data;
Recording control means for recording the image data acquired by the imaging means;
Inclination detecting means for detecting the inclination of the imaging device and outputting detection data;
Inclination information calculation means for calculating inclination information corresponding to the inclination based on the detection data output from the inclination detection means,
The image pickup apparatus, wherein the recording control unit classifies and records the image data acquired by the image pickup unit in a folder according to the tilt information.
前記記録制御手段は、前記画像データと前記傾き情報を、1つの画像ファイルとして記録することを特徴とする請求項1記載の撮像装置。   The imaging apparatus according to claim 1, wherein the recording control unit records the image data and the tilt information as one image file. 前記記録制御手段は、前記画像データを、前記傾き情報に応じて、縦撮りフォルダと横撮りフォルダに分類して記録することを特徴とする請求項1又は2に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the recording control unit classifies and records the image data into a vertical shooting folder and a horizontal shooting folder according to the tilt information. 前記傾き検出手段は、撮像時に前記撮像装置の傾きを検出し、
前記記録制御手段は、前記撮像手段により取得された画像データを、撮像時の前記傾き情報に応じたフォルダに分類して記録することを特徴とする請求項1から3のいずれか1項に記載の撮像装置。
The tilt detection means detects the tilt of the imaging device during imaging,
4. The recording control unit according to claim 1, wherein the recording control unit classifies and records the image data acquired by the imaging unit in a folder corresponding to the tilt information at the time of imaging. Imaging device.
前記撮像手段により取得された画像データを、前記撮像装置の表示部に撮影画像として表示する表示制御手段を更に備え、
前記表示制御手段は、前記撮影画像と共に、前記傾き情報を示す傾きガイド表示を表示することを特徴とする請求項1から4のいずれか1項に記載の撮像装置。
Further comprising display control means for displaying the image data acquired by the imaging means as a captured image on the display unit of the imaging device;
5. The image pickup apparatus according to claim 1, wherein the display control unit displays an inclination guide display indicating the inclination information together with the photographed image.
前記記録制御手段は、前記撮像手段により取得された画像データを、前記傾き情報に応じたフォルダに分類して記録媒体に記録する際に、前記記録媒体に前記傾き情報に応じたフォルダが存在しない場合、前記記録媒体に前記傾き情報に応じたフォルダを作成することを特徴とする請求項1から5のいずれか1項に記載の撮像装置。   When the recording control unit classifies the image data acquired by the imaging unit into a folder according to the tilt information and records it in a recording medium, the recording medium does not have a folder according to the tilt information. 6. The imaging apparatus according to claim 1, wherein a folder corresponding to the tilt information is created on the recording medium. 前記記録制御手段は、前記傾き情報に応じたフォルダを作成する際に、前記傾き情報に対応する名称を有するフォルダを作成することを特徴とする請求項6記載の撮像装置。   The imaging apparatus according to claim 6, wherein the recording control unit creates a folder having a name corresponding to the tilt information when creating a folder according to the tilt information.
JP2008078460A 2008-03-25 2008-03-25 Image pickup device Pending JP2009232408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008078460A JP2009232408A (en) 2008-03-25 2008-03-25 Image pickup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008078460A JP2009232408A (en) 2008-03-25 2008-03-25 Image pickup device

Publications (1)

Publication Number Publication Date
JP2009232408A true JP2009232408A (en) 2009-10-08

Family

ID=41247243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008078460A Pending JP2009232408A (en) 2008-03-25 2008-03-25 Image pickup device

Country Status (1)

Country Link
JP (1) JP2009232408A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8593543B2 (en) 2010-11-04 2013-11-26 Ricoh Company, Ltd. Imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8593543B2 (en) 2010-11-04 2013-11-26 Ricoh Company, Ltd. Imaging apparatus

Similar Documents

Publication Publication Date Title
US9019387B2 (en) Imaging device and method of obtaining image
JP5570316B2 (en) Imaging apparatus, control method thereof, and program
US8564674B2 (en) Image pickup apparatus equipped with function of detecting image shaking
TWI514847B (en) Image processing device, image processing method, and recording medium
US8676047B2 (en) Image capture apparatus and method of controlling the same
TWI459126B (en) Image processing device capable of generating a wide-range image, image processing method and recording medium
US20120268621A1 (en) Imaging apparatus, azimuth recording method, and program
JP5383356B2 (en) IMAGING DEVICE, INFORMATION PROCESSING DEVICE, IMAGING DEVICE CONTROL METHOD, INFORMATION PROCESSING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
KR101433121B1 (en) Image processing device for generating composite image having predetermined aspect ratio
JP2010050521A (en) Imaging device
JP5112235B2 (en) Imaging device
JP2010187354A (en) Imaging apparatus
JP4748442B2 (en) Imaging apparatus and program thereof
JP2007212527A (en) Imaging apparatus
JP5013282B2 (en) Imaging apparatus and program
JP5320808B2 (en) Imaging apparatus and imaging method
JP5614244B2 (en) Imaging device
WO2013031155A1 (en) Imaging device
JP2008078828A (en) Imaging apparatus
JP2013243552A (en) Imaging apparatus, control method of the same, program, and storage medium
JP2007025483A (en) Image storage processing unit
JP5962974B2 (en) Imaging apparatus, imaging method, and program
JP2009232408A (en) Image pickup device
KR101630295B1 (en) A digital photographing apparatus, a method for controlling the same, and a computer-readable medium
JP2007133044A (en) Imaging apparatus and imaging method