JP4818158B2 - Image processing apparatus, control method therefor, and computer program - Google Patents

Image processing apparatus, control method therefor, and computer program Download PDF

Info

Publication number
JP4818158B2
JP4818158B2 JP2007039872A JP2007039872A JP4818158B2 JP 4818158 B2 JP4818158 B2 JP 4818158B2 JP 2007039872 A JP2007039872 A JP 2007039872A JP 2007039872 A JP2007039872 A JP 2007039872A JP 4818158 B2 JP4818158 B2 JP 4818158B2
Authority
JP
Japan
Prior art keywords
recording
time
moving image
frame
frame rate
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.)
Expired - Fee Related
Application number
JP2007039872A
Other languages
Japanese (ja)
Other versions
JP2008205845A5 (en
JP2008205845A (en
Inventor
平 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2007039872A priority Critical patent/JP4818158B2/en
Publication of JP2008205845A publication Critical patent/JP2008205845A/en
Publication of JP2008205845A5 publication Critical patent/JP2008205845A5/ja
Application granted granted Critical
Publication of JP4818158B2 publication Critical patent/JP4818158B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、動画像データを記録及び再生可能なデジタルカメラ等の画像処理装置、その制御方法、及びコンピュータプログラムに関する。   The present invention relates to an image processing apparatus such as a digital camera capable of recording and reproducing moving image data, a control method thereof, and a computer program.

従来、固体メモリ素子を有するメモリカードを記録媒体として、動画像データを記録及び再生可能なデジタルカメラ等の画像処理装置が販売されている。   2. Description of the Related Art Conventionally, image processing apparatuses such as digital cameras capable of recording and reproducing moving image data using a memory card having a solid-state memory element as a recording medium have been sold.

これらの画像処理装置では、動画像の再生時に記録開始時刻と再生時間とを表示するのが一般的である。そのため、再生中の動画像の各シーンにおける実記録時刻はすぐにわからなかった。また、1秒間に1枚、或いは1分間に1枚等のインターバル撮影により記録した動画像においては、記録時の時間スケールと再生時の時間スケールとが異なる。そのため、インターバル撮影により記録した動画像の再生においては、表示された再生時間からでは、動画像に記録された事象が起きた実際の記録時刻を把握することはできなかった。   In these image processing apparatuses, it is common to display a recording start time and a reproduction time when a moving image is reproduced. Therefore, the actual recording time in each scene of the moving image being reproduced cannot be immediately known. In addition, in a moving image recorded by interval shooting such as one image per second or one image per minute, the time scale during recording and the time scale during reproduction are different. For this reason, in the reproduction of a moving image recorded by interval shooting, the actual recording time when the event recorded in the moving image occurred cannot be grasped from the displayed reproduction time.

そこで、上記の問題を鑑みて、例えば特許文献1では、動画像のフォーマット内にあるタイムスタンプと撮影開始時刻から各シーンの記録時刻を計算し表示する画像表示装置が提案されている。この画像表示装置では更に、インターバル撮影時にはフォーマット内のヘッダにインターバル撮影の時間係数を記録しておき、再生時にそれを用いて記録時刻を計算し表示するようにしている。これにより、記録時の時間スケールと再生時の時間スケールとが異なる動画像の再生においても、実際の記録時刻を把握することができる。   In view of the above problems, for example, Patent Document 1 proposes an image display device that calculates and displays the recording time of each scene from the time stamp in the moving image format and the shooting start time. Further, in this image display device, the time coefficient of interval shooting is recorded in the header in the format at the time of interval shooting, and the recording time is calculated and displayed by using it during playback. As a result, the actual recording time can be grasped even in the reproduction of a moving image in which the time scale during recording and the time scale during reproduction are different.

特開2000−270292号公報JP 2000-270292 A

しかしながら、特許文献1に開示された画像表示装置では、記録時刻を計算するためにフォーマット内のタイムスタンプを用いるため、ASFフォーマットのようなフォーマット内にタイムスタンプを持つことができるフォーマットの動画像のみしか対応できない。また、インターバル撮影時と通常撮影時で記録時刻の計算方法が異なるため、処理が複雑になるという問題もある。   However, since the image display device disclosed in Patent Document 1 uses a time stamp in the format to calculate the recording time, only a moving image in a format that can have a time stamp in a format such as the ASF format. It can only support. In addition, since the method for calculating the recording time differs between interval shooting and normal shooting, there is a problem that the processing becomes complicated.

本発明は上記問題点に鑑みてなされたものであり、記録した動画像のフォーマットによらず、動画像の各シーンにおける記録時刻又は記録時の経過時間を容易に算出することが可能な画像処理装置を提供することを目的とする。   The present invention has been made in view of the above problems, and image processing that can easily calculate the recording time or the elapsed time at the time of recording of each moving image regardless of the format of the recorded moving image. An object is to provide an apparatus.

本発明の画像処理装置は、動画像データの記録及び再生が可能な画像処理装置であって、動画像記録時に記録開始時刻及び記録時のフレームレートを記録媒体に記録する記録手段であって、再生用フレームレートは前記動画像データのファイルに記録し、前記記録時のフレームレートは前記動画像データのファイルとは別のファイルに記録する記録手段と、動画像再生時に、前記記録媒体に記録されている記録開始時刻及び記録時のフレームレートと、再生するフレームのフレーム番号とから、再生するフレームの実記録時刻を算出する算出手段とを備えたことを特徴とする。
た、本発明の画像処理装置の制御方法は、動画像データの記録及び再生が可能な画像処理装置の制御方法であって、動画像記録時に記録開始時刻及び記録時のフレームレートを記録媒体に記録する記録ステップであって、再生用フレームレートは前記動画像データのファイルに記録し、前記記録時のフレームレートは前記動画像データのファイルとは別のファイルに記録する記録ステップと、動画像再生時に、前記記録媒体に記録されている記録開始時刻及び記録時のフレームレートと、再生するフレームのフレーム番号とから、再生するフレームの実記録時刻を算出する算出ステップとを有することを特徴とする。
また、本発明のコンピュータプログラムは、動画像データの記録及び再生が可能な画像処理装置を制御するためのコンピュータプログラムであって、動画像記録時に記録開始時刻及び記録時のフレームレートを記録媒体に記録する記録ステップであって、再生用フレームレートは前記動画像データのファイルに記録し、前記記録時のフレームレートは前記動画像データのファイルとは別のファイルに記録する記録ステップと、動画像再生時に、前記記録媒体に記録されている記録開始時刻及び記録時のフレームレートと、再生するフレームのフレーム番号とから、再生するフレームの実記録時刻を算出する算出ステップとをコンピュータに実行させることを特徴とする。
An image processing apparatus of the present invention is an image processing apparatus capable of recording and reproducing moving image data, and is a recording means for recording a recording start time and a frame rate at the time of recording on a recording medium when recording a moving image , The playback frame rate is recorded in the moving image data file, the recording frame rate is recorded in a file different from the moving image data file, and the recording frame rate is recorded in the recording medium during moving image playback. And calculating means for calculating the actual recording time of the frame to be reproduced from the recording start time and the frame rate at the time of recording and the frame number of the frame to be reproduced.
Also, a method of controlling an image processing apparatus of the present invention is a control method of recording and reproducing image processing device capable of moving picture data, recording start time when the moving picture recording and the recording time of the frame rate recording medium A recording step of recording in a moving image data file, a recording frame rate recorded in a file different from the moving image data file, and a moving image And a calculation step of calculating an actual recording time of a frame to be reproduced from a recording start time recorded on the recording medium, a frame rate at the time of recording, and a frame number of the frame to be reproduced at the time of image reproduction. And
The computer program of the present invention is a computer program for controlling an image processing apparatus capable of recording and reproducing moving image data, and uses a recording start time and a frame rate at the time of recording as a recording medium . A recording step of recording , wherein the playback frame rate is recorded in the moving image data file, and the recording frame rate is recorded in a file different from the moving image data file; Causing a computer to execute a calculation step of calculating an actual recording time of a frame to be reproduced from a recording start time recorded on the recording medium, a frame rate at the time of recording, and a frame number of the frame to be reproduced during reproduction. It is characterized by.

本発明では、録した動画像のフォーマットによらず、またインターバル撮影・通常撮影によらず同様の処理で、容易に再生中の動画像の各シーンにおける記録時刻算出することができる。 In the present invention, it can be calculated regardless of the format of the moving image recorded, and in the same processing regardless of the interval shooting and normal photography, the actual recording time for each scene easily moving image during playback.

以下、本発明の実施の形態を図面を用いて詳細に説明する。図1は、本発明の実施の形態に係る画像処理装置(デジタルカメラ)の構成を示したブロック図である。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an image processing apparatus (digital camera) according to an embodiment of the present invention.

図1において、100は画像処理装置である。10は撮影レンズ、12は絞り機能を備えるシャッター、14は光学像を電気信号に変換する撮像素子、16は撮像素子14のアナログ信号出力をディジタル信号に変換するA/D変換器である。   In FIG. 1, reference numeral 100 denotes an image processing apparatus. Reference numeral 10 denotes a photographing lens, 12 denotes a shutter having a diaphragm function, 14 denotes an image sensor that converts an optical image into an electrical signal, and 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal.

18はタイミング発生回路であり、撮像素子14、A/D変換器16、D/A変換器26にクロック信号や制御信号を供給する。タイミング発生回路18はメモリ制御回路22及びシステム制御回路50により制御される。   A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16, and the D / A converter 26. The timing generation circuit 18 is controlled by the memory control circuit 22 and the system control circuit 50.

20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。この画像処理回路20が画像の切り出しや変倍処理を行うことで電子ズーム機能が実現される。また、画像処理回路20は撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてシステム制御回路50が露光制御回路40、測距制御回路42に対して制御を行う。これにより、TTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、及びEF(フラッシュプリ発光)処理がなされる。   An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22. The image processing circuit 20 performs image cropping and scaling processing, thereby realizing an electronic zoom function. The image processing circuit 20 performs predetermined calculation processing using the captured image data, and the system control circuit 50 controls the exposure control circuit 40 and the distance measurement control circuit 42 based on the obtained calculation result. . Thus, AF (auto focus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, and EF (flash pre-emission) processing of the TTL (through-the-lens) method are performed.

22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30、圧縮・伸長回路32を制御する。   A memory control circuit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32.

A/D変換器16からのデータは、画像処理回路20及びメモリ制御回路22を介して、或いは直接メモリ制御回路22を介して、画像表示メモリ24或いはメモリ30に書き込まれる。   Data from the A / D converter 16 is written into the image display memory 24 or the memory 30 via the image processing circuit 20 and the memory control circuit 22 or directly via the memory control circuit 22.

24は画像表示メモリである。26はD/A変換器であり、28はTFT・LCD等から成る画像表示部である。画像表示メモリ24に書き込まれた表示用の画像データは、D/A変換器26を介して画像表示部28により表示される。撮像した画像データを画像表示部28に逐次表示すれば、電子ファインダ機能を実現することが可能である。   Reference numeral 24 denotes an image display memory. Reference numeral 26 denotes a D / A converter, and reference numeral 28 denotes an image display unit including a TFT / LCD. The display image data written in the image display memory 24 is displayed by the image display unit 28 via the D / A converter 26. The electronic viewfinder function can be realized by sequentially displaying the captured image data on the image display unit 28.

画像表示部28は、システム制御回路50の指示により任意に表示をON/OFFすることが可能であり、表示をOFFにした場合には画像処理装置100の電力消費を大幅に低減することが出来る。   The image display unit 28 can arbitrarily turn on / off the display according to an instruction from the system control circuit 50. When the display is turned off, the power consumption of the image processing apparatus 100 can be greatly reduced. .

30は撮影した静止画像や動画像又は録音した音声データを格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶量を備えている。これにより、複数枚の静止画像を連続して撮影する連射撮影やパノラマ撮影の場合にも、高速かつ大量に、画像データをメモリ30に書き込むことが可能となる。また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。   Reference numeral 30 denotes a memory for storing captured still images, moving images, or recorded audio data, and has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images. As a result, even in the case of continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write image data in the memory 30 at a high speed and in large quantities. The memory 30 can also be used as a work area for the system control circuit 50.

32は圧縮・伸長回路であり、適応離散コサイン変換(ADCT)等により画像データを圧縮又は伸長する。圧縮・伸長回路32は、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。   A compression / decompression circuit 32 compresses or decompresses image data by adaptive discrete cosine transform (ADCT) or the like. The compression / decompression circuit 32 reads an image stored in the memory 30, performs a compression process or an expansion process, and writes the processed data to the memory 30.

40は露光制御回路であり、絞り機能を備えるシャッター12を制御する。また、露光制御回路40は、フラッシュ48と連携することによりフラッシュ調光を行う。   An exposure control circuit 40 controls the shutter 12 having an aperture function. The exposure control circuit 40 performs flash dimming in cooperation with the flash 48.

42は測距制御回路であり、撮影レンズ10のフォーカシングを制御する。44はズーム制御回路であり、撮影レンズ10のズーミングを制御する。46はバリア制御回路であり、保護機構部102の動作を制御する。48はフラッシュであり、AF補助光の投光機能、フラッシュ調光機能も有する。   Reference numeral 42 denotes a distance measurement control circuit that controls the focusing of the photographing lens 10. A zoom control circuit 44 controls zooming of the taking lens 10. A barrier control circuit 46 controls the operation of the protection mechanism unit 102. A flash 48 has an AF auxiliary light projecting function and a flash light control function.

露光制御回路40及び測距制御回路42は、TTL方式を用いて制御される。この場合、システム制御回路50は、撮像した画像データを用いて画像処理回路20が演算した演算結果に基づき、露光制御回路40及び測距制御回路42に対して制御を行う。   The exposure control circuit 40 and the distance measurement control circuit 42 are controlled using the TTL method. In this case, the system control circuit 50 controls the exposure control circuit 40 and the distance measurement control circuit 42 based on the calculation result calculated by the image processing circuit 20 using the captured image data.

50はシステム制御回路であり、画像処理装置100全体を制御する。52はメモリであり、システム制御回路50の動作用の定数、変数、プログラム等を記憶する。   A system control circuit 50 controls the entire image processing apparatus 100. A memory 52 stores constants, variables, programs, and the like for the operation of the system control circuit 50.

54は液晶表示装置等でなる表示部であり、システム制御回路50におけるプログラムの実行に応じて、文字、画像等を用いて動作状態やメッセージ等を表示する。表示部54は、画像処理装置100の操作部近辺の視認し易い位置に、単数或いは複数個設置され、例えばLCD、LED等の組み合わせにより構成される。また、表示部54は、その一部が光学ファインダ104内に設置されている。   Reference numeral 54 denotes a display unit composed of a liquid crystal display device or the like, which displays an operation state, a message, and the like using characters, images, and the like in accordance with execution of a program in the system control circuit 50. One or a plurality of the display units 54 are installed at positions near the operation unit of the image processing apparatus 100 that are easily visible, and are configured by a combination of, for example, an LCD and an LED. A part of the display unit 54 is installed in the optical viewfinder 104.

表示部54の表示内容のうち、LCD等に表示するものとしては、例えば、単写/連写撮影表示、セルフタイマー表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示等がある。またこれらに加え、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200及び210の着脱状態表示、通信I/F動作表示、日付・時刻表示等もある。   Among the display contents of the display unit 54, what is displayed on the LCD or the like is, for example, single / continuous shooting display, self-timer display, compression rate display, number of recorded pixels, number of recorded images, number of remaining images that can be captured , Shutter speed display, aperture value display, exposure compensation display, and the like. In addition to these, flash display, red-eye reduction display, macro shooting display, buzzer setting display, clock battery level display, battery level display, error display, information display with multiple digits, and attachment / detachment of recording media 200 and 210 There are status display, communication I / F operation display, date / time display, and the like.

また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示等がある。   Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes, for example, in-focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like. .

56は電気的に消去・記録可能な不揮発性メモリであり、例えばEEPROM等が用いられる。   Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory such as an EEPROM.

60、62、64、66、及び70は、システム制御回路50の各種の動作指示を入力するための操作手段であり、スイッチやダイアル、タッチパネル、視線検知によるポインティング、音声認識装置等の単数或いは複数の組み合わせで構成される。以下、これらの操作手段の具体的な説明を行う。   Reference numerals 60, 62, 64, 66, and 70 denote operation means for inputting various operation instructions of the system control circuit 50. One or a plurality of switches, dials, touch panels, pointing by line-of-sight detection, voice recognition devices, and the like. Consists of Hereinafter, these operation means will be described in detail.

60はモードダイアルスイッチであり、自動撮影モード、撮影モード、パノラマ撮影モード、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを切り替え設定することが出来る。   Reference numeral 60 denotes a mode dial switch, which can switch and set various function modes such as an automatic shooting mode, a shooting mode, a panoramic shooting mode, a playback mode, a multi-screen playback / erase mode, and a PC connection mode.

62はシャッタースイッチSW1であり、不図示のシャッターボタンの操作途中でONとなって、AF処理、AE処理、AWB処理、及びEF処理等の動作開始を指示する。   Reference numeral 62 denotes a shutter switch SW1, which is turned on during the operation of a shutter button (not shown) and instructs the start of operations such as AF processing, AE processing, AWB processing, and EF processing.

64はシャッタースイッチSW2であり、不図示のシャッターボタンの操作完了でONとなって、撮影に係る一連の動作開始を指示する。具体的には、まず撮像素子14から読み出した信号をA/D変換器16、及びメモリ制御回路22を介してメモリ30に画像データを書き込む露光処理を指示する。次に、画像処理回路20やメモリ制御回路22に所定の演算を行わせる現像処理を指示する。そして、メモリ30から画像データを読み出し、圧縮・伸長回路32で圧縮を行い、記録媒体200或いは210に画像データを書き込む記録処理を指示する。   Reference numeral 64 denotes a shutter switch SW2, which is turned on upon completion of an operation of a shutter button (not shown) and instructs to start a series of operations related to photographing. Specifically, first, an exposure process for writing image data to the memory 30 is instructed via the A / D converter 16 and the memory control circuit 22 from the signal read from the image sensor 14. Next, the image processing circuit 20 or the memory control circuit 22 is instructed to perform a development process for performing a predetermined calculation. Then, the image data is read from the memory 30, compressed by the compression / decompression circuit 32, and a recording process for writing the image data to the recording medium 200 or 210 is instructed.

66は電源スイッチであり、電源オン及び電源オフを切り替え設定することが出来る。   Reference numeral 66 denotes a power switch, which can be switched between power on and power off.

70は各種ボタンやタッチパネル等からなる操作部である。操作部70は、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマー切り替えボタン等を備える。またこれらに加え、操作部70は、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像移動−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付・時間設定ボタン等も備えている。上記プラスボタン及びマイナスボタンにおいて、回転ダイアルスイッチを用いれば、軽快に数値や機能を選択することが可能となる。   An operation unit 70 includes various buttons and a touch panel. The operation unit 70 includes a menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, and the like. In addition to these, the operation unit 70 includes a menu movement + (plus) button, menu movement-(minus) button, reproduction image movement + (plus) button, reproduction image movement-(minus) button, shooting image quality selection button, exposure. A correction button, date / time setting button, and the like are also provided. If a rotary dial switch is used for the plus button and the minus button, it is possible to easily select numerical values and functions.

72は時計であり、内部電源(不図示)により動き続け、動画像の記録開始時にサムネイルファイルのヘッダに記録される記録開始日時(記録開始時刻)を取得する場合等に利用される。   Reference numeral 72 denotes a clock, which is used when, for example, a recording start date and time (recording start time) recorded in the header of the thumbnail file at the start of moving image recording is acquired by continuously moving by an internal power source (not shown).

80は電源制御部であり、不図示の電池検出回路、DC−DCコンバータ、及び通電するブロックを切り替えるスイッチ回路等により構成されている。電源制御部80は、電池の装着の有無、電池の種類、電池残量の検出を行い、検出結果及びシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部へ供給する。   A power control unit 80 includes a battery detection circuit (not shown), a DC-DC converter, a switch circuit that switches a block to be energized, and the like. The power supply control unit 80 detects the presence / absence of a battery, the type of battery, and the remaining battery level, controls the DC-DC converter based on the detection result and the instruction of the system control circuit 50, and requires the necessary voltage. It is supplied to each part including the recording medium for a period.

82及び84はコネクタであり、電源制御部80と電源86とを接続する。86は電源であり、アルカリ電池やリチウム電池等の一次電池やNiCd電池やNiMH電池、Li電池等の二次電池、又はACアダプター等からなる。   Reference numerals 82 and 84 denote connectors, which connect the power control unit 80 and the power source 86. A power source 86 includes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li battery, or an AC adapter.

90及び94はメモリカードやハードディスク等の記録媒体とのインタフェースである。92及び96はメモリカードやハードディスク等の記録媒体と接続を行うコネクタである。   Reference numerals 90 and 94 denote interfaces with recording media such as memory cards and hard disks. Reference numerals 92 and 96 denote connectors for connecting to a recording medium such as a memory card or a hard disk.

98は記録媒体着脱検知部であり、コネクタ92或いは96に記録媒体200或いは210が装着されているか否かを検知する。   A recording medium attachment / detachment detection unit 98 detects whether or not the recording medium 200 or 210 is attached to the connector 92 or 96.

なお、本実施の形態では、記録媒体を取り付けるインタフェース及びコネクタを2系統持つものとして説明しているが、記録媒体を取り付けるインタフェース及びコネクタは、単数又は2以上の複数の系統数のどちらであっても構わない。また、異なる規格のインタフェース及びコネクタを組み合わせて備える構成としても構わない。インタフェース及びコネクタとしては、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成して構わない。インタフェース90及び94、コネクタ92及び96をPCMCIAカードやCF(コンパクトフラッシュ(登録商標))カード等の規格に準拠したものを用いて構成した場合には、LANカードやモデムカード等を接続することができる。またこれらの他にUSBカード、IEEE1394カード、P1284カード、SCSIカード、PHS等の通信カード等の各種通信カードも接続することができる。これにより、他のコンピュータやプリンタ等の周辺機器との間で画像データや画像データに付属した管理情報を転送し合うことが出来る。   In this embodiment, the description has been given assuming that the interface and connector to which the recording medium is attached have two systems, but the interface and connector to which the recording medium is attached is either a single number or a plurality of two or more systems. It doesn't matter. Moreover, it is good also as a structure provided with combining the interface and connector of a different standard. The interface and the connector may be configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like based on a standard. When the interfaces 90 and 94 and the connectors 92 and 96 are configured using a PCMCIA card, a CF (Compact Flash (registered trademark)) card, or the like, a LAN card or a modem card can be connected. it can. In addition to these, various communication cards such as a communication card such as a USB card, an IEEE 1394 card, a P1284 card, a SCSI card, and a PHS can be connected. Thereby, image data and management information attached to the image data can be transferred to and from other computers and peripheral devices such as a printer.

102は保護機構部であり、画像処理装置100の撮影レンズ10を含む撮像部を覆うことにより、撮像部の汚れや破損を防止する、所謂バリアである。   A protection mechanism unit 102 is a so-called barrier that covers the imaging unit including the photographing lens 10 of the image processing apparatus 100 to prevent the imaging unit from being stained or damaged.

104は光学ファインダであり、撮影者はこの光学ファインダ104を用いることで、画像表示部28による電子ファインダ機能を使用すること無しに、撮影を行うことができる。また、光学ファインダ104内には、表示部54の一部が設置されており、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、露出補正表示等が表示される。   Reference numeral 104 denotes an optical viewfinder. By using the optical viewfinder 104, a photographer can take an image without using the electronic viewfinder function of the image display unit 28. In addition, a part of the display unit 54 is installed in the optical viewfinder 104. For example, an in-focus display, a camera shake warning display, a flash charge display, a shutter speed display, an aperture value display, an exposure correction display, and the like are displayed. The

110は通信部であり、RS232CやUSB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信等の各種通信機能を有する。   A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication.

112はコネクタ或いはアンテナであり、画像処理装置100を他の機器と接続する。有線での通信の場合はコネクタであり、無線通信の場合はアンテナである。   Reference numeral 112 denotes a connector or an antenna that connects the image processing apparatus 100 to another device. In the case of wired communication, it is a connector, and in the case of wireless communication, it is an antenna.

120はメモリ制御回路であり、122はディジタル信号をアナログ信号に変換するD/A変換器である。124は電気信号を音声信号に変換するスピーカであり、メモリ30から読み出されたデータがD/A変換器122に入力され、スピーカ124から発音される。   Reference numeral 120 denotes a memory control circuit, and reference numeral 122 denotes a D / A converter that converts a digital signal into an analog signal. Reference numeral 124 denotes a speaker that converts an electrical signal into an audio signal. Data read from the memory 30 is input to the D / A converter 122 and is output from the speaker 124.

126はマイクであり、音声データを取得する。128はA/D変換器であり、マイク126で得られた音声データを録音するためにディジタル信号に変換する。A/D変換器128からのデータは、メモリ制御回路22を介して、メモリ30に書き込まれ、記録媒体に記録される。   Reference numeral 126 denotes a microphone, which acquires audio data. Reference numeral 128 denotes an A / D converter that converts voice data obtained by the microphone 126 into a digital signal for recording. Data from the A / D converter 128 is written into the memory 30 via the memory control circuit 22 and recorded on a recording medium.

200はメモリカードやハードディスク等の記録媒体である。記録媒体200は、半導体メモリや磁気ディスク等から構成される記録部202、画像処理装置100とのインタフェース204、及び画像処理装置100と接続を行うコネクタ206を備える。   Reference numeral 200 denotes a recording medium such as a memory card or a hard disk. The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, or the like, an interface 204 with the image processing apparatus 100, and a connector 206 that connects to the image processing apparatus 100.

210はメモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、画像処理装置100とのインタフェース214、画像処理装置100と接続を行うコネクタ216を備える。   Reference numeral 210 denotes a recording medium such as a memory card or a hard disk. The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, or the like, an interface 214 with the image processing apparatus 100, and a connector 216 that connects to the image processing apparatus 100.

次に、図2乃至図7を用いて、本実施の形態に係る画像処理装置100の動作を説明する。まず、図2乃至図4に示した画像処理装置100のメインルーチンのフローチャートを用いて、動作の詳細を説明する。   Next, the operation of the image processing apparatus 100 according to the present embodiment will be described with reference to FIGS. First, the details of the operation will be described using the flowchart of the main routine of the image processing apparatus 100 shown in FIGS.

まずステップS101において、システム制御回路50は、電池交換等の電源投入後等において、電源スイッチ66がONされたか否かを調べる。電源スイッチ66がONされたならば、ステップS102に進み、OFFのままであれば、ONされるまで監視を続ける。   First, in step S101, the system control circuit 50 checks whether or not the power switch 66 is turned on after power-on such as battery replacement. If the power switch 66 is turned on, the process proceeds to step S102. If the power switch 66 remains off, monitoring is continued until it is turned on.

ステップ102において、システム制御回路50は、画像表示フラグやクイックレビューフラグ等のフラグや制御変数等の初期化を行う。   In step 102, the system control circuit 50 initializes flags such as an image display flag and a quick review flag, and control variables.

次にステップS103において、システム制御回路50は、記録媒体200(或いは210)に記録された最新画像番号Nmaxを取得し、次に再生する画像を示す再生画像番号nがn=Nmaxとなるように設定する。なお、上記再生画像番号nは、システム制御回路50の内部メモリ或いはメモリ52に記憶される。   Next, in step S103, the system control circuit 50 acquires the latest image number Nmax recorded on the recording medium 200 (or 210), and the reproduced image number n indicating the next image to be reproduced is n = Nmax. Set. The reproduced image number n is stored in the internal memory or the memory 52 of the system control circuit 50.

次にステップS104において、システム制御回路50は、画像表示部28の画像表示をOFF状態に初期設定する。   Next, in step S104, the system control circuit 50 initializes the image display of the image display unit 28 to the OFF state.

次にステップS105において、システム制御回路50は、電源制御部80により電池等から構成される電源86の残容量や動作情況が画像処理装置100の動作に問題があるか否かを判断する。問題があるならばステップS106に進み、表示部54を用いて所定の警告表示、又はスピーカ124を用いて警告音発音を行った後に、ステップS101に戻る。電源86に問題がなければステップS107に進む。   Next, in step S <b> 105, the system control circuit 50 determines whether or not there is a problem in the operation of the image processing apparatus 100 due to the remaining capacity and operation status of the power supply 86 configured by a battery or the like by the power supply control unit 80. If there is a problem, the process proceeds to step S106, a predetermined warning display is performed using the display unit 54, or a warning sound is generated using the speaker 124, and then the process returns to step S101. If there is no problem with the power supply 86, the process proceeds to step S107.

ステップS107において、システム制御回路50は、記録媒体200(或いは210)の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かを判断する。問題があるならばステップS106に進み、表示部54を用いて所定の警告表示、又はスピーカ124を用いて警告音発音を行った後に、ステップS101に戻る。記録媒体200(或いは210)の動作状態に問題が無いならば、ステップS108に進む。   In step S107, the system control circuit 50 determines whether or not the operation state of the recording medium 200 (or 210) has a problem in the operation of the image processing apparatus 100, particularly in the recording / reproducing operation of the image data with respect to the recording medium. If there is a problem, the process proceeds to step S106, a predetermined warning display is performed using the display unit 54, or a warning sound is generated using the speaker 124, and then the process returns to step S101. If there is no problem in the operation state of the recording medium 200 (or 210), the process proceeds to step S108.

ステップS108において、システム制御回路50は、モードダイアル60が何モードに設定されているかを判断する。   In step S108, the system control circuit 50 determines what mode the mode dial 60 is set to.

モードダイアル60が動画記録モードに設定されたならば、ステップS109に進む。
モードダイアル60が静止画撮影モードに設定されたならば、ステップS110に進む。
モードダイアル60が再生モードに設定されたならば、図4に示すステップS130に進む。図4に示すステップS130以降の処理については、後述する。
If the mode dial 60 is set to the moving image recording mode, the process proceeds to step S109.
If the mode dial 60 is set to the still image shooting mode, the process proceeds to step S110.
If the mode dial 60 is set to the reproduction mode, the process proceeds to step S130 shown in FIG. The process after step S130 shown in FIG. 4 will be described later.

静止画撮影モードが設定された場合のステップS110では、システム制御回路50は、静止画撮影モードに応じた処理を実行し、処理を終了したらステップS108に戻る。   In step S110 when the still image shooting mode is set, the system control circuit 50 executes processing according to the still image shooting mode, and returns to step S108 when the processing ends.

動画記録モードに設定された場合のステップS109では、システム制御回路50は、画像表示部28の画像表示をON状態にする。   In step S109 when the moving image recording mode is set, the system control circuit 50 turns on the image display of the image display unit 28.

次にステップS111において、システム制御回路50は、撮像した画像データを逐次表示するスルー表示状態に設定して、図3に示すステップS112の処理に進む。スルー表示状態では、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して画像表示メモリ24に書き込まれたデータを、メモリ制御回路22、D/A変換器26を介して画像表示部28に逐次表示する電子ファインダ機能を実現する。   Next, in step S111, the system control circuit 50 sets a through display state in which captured image data is sequentially displayed, and proceeds to the process of step S112 shown in FIG. In the through display state, data written to the image display memory 24 via the image sensor 14, A / D converter 16, image processing circuit 20, and memory control circuit 22 is converted into the memory control circuit 22 and the D / A converter 26. An electronic finder function for sequentially displaying on the image display unit 28 is realized.

次に、図3に示すステップS112において、システム制御回路50は、シャッタースイッチSW1のON/OFFを監視する。OFFであった場合は、ステップS108に戻る。シャッタースイッチSW1がONされた場合は、ステップS113に進む。   Next, in step S112 shown in FIG. 3, the system control circuit 50 monitors ON / OFF of the shutter switch SW1. If it is OFF, the process returns to step S108. If the shutter switch SW1 is turned on, the process proceeds to step S113.

ステップS113において、システム制御回路50は、画像表示部28の表示状態をフリーズ表示状態に設定する。フリーズ表示状態では、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介した画像表示メモリ24への画像データの書き換えを禁止する。そして、最後に書き込まれた画像データをメモリ制御回路22、D/A変換器26を介して画像表示部28により表示して、フリーズした映像を電子ファインダに表示させる。   In step S113, the system control circuit 50 sets the display state of the image display unit 28 to a freeze display state. In the freeze display state, rewriting of image data to the image display memory 24 via the image sensor 14, A / D converter 16, image processing circuit 20, and memory control circuit 22 is prohibited. Then, the last written image data is displayed by the image display unit 28 via the memory control circuit 22 and the D / A converter 26, and the frozen video is displayed on the electronic viewfinder.

次にステップS114において、システム制御回路50は、測距処理を行って撮影レンズ10の焦点を被写体に合わせ、測光処理を行って絞り値及びシャッター時間を決定する。この測距・測光処理ステップS114の詳細は図5を用いて後述する。   In step S <b> 114, the system control circuit 50 performs a distance measurement process to focus the photographing lens 10 on the subject, performs a light measurement process, and determines an aperture value and a shutter time. Details of the distance measurement / photometry processing step S114 will be described later with reference to FIG.

測距・測光処理ステップS114後のステップS115においては、システム制御回路50は、画像表示部28の表示状態をスルー表示状態に設定する。なお、ステップS115におけるスルー表示状態は、ステップS111におけるスルー表示状態と同じ動作状態である。   In step S115 after the distance measurement / photometry processing step S114, the system control circuit 50 sets the display state of the image display unit 28 to the through display state. The through display state in step S115 is the same operation state as the through display state in step S111.

次にステップS116において、システム制御回路50は、シャッタースイッチSW2のON/OFFを監視する。ここでOFFであった場合には、ステップS117に進み、シャッタースイッチSW1のON/OFFを監視する。さらにステップS117において、シャッタースイッチSW1もOFFとされたなら、ステップS108に戻る。ステップS116において、シャッタースイッチSW2がONとされた場合はステップS118に進む。   Next, in step S116, the system control circuit 50 monitors ON / OFF of the shutter switch SW2. If it is OFF here, the process advances to step S117 to monitor ON / OFF of the shutter switch SW1. If the shutter switch SW1 is also turned off in step S117, the process returns to step S108. If the shutter switch SW2 is turned on in step S116, the process proceeds to step S118.

ステップS118においては、システム制御回路50は、画像表示部28の表示状態を固定色表示状態に設定する。固定色表示状態では、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して画像表示メモリ24に書き込まれた画像データの代わりに、固定色の画像データをメモリ制御回路22、D/A変換器26を介して画像表示部28に表示し、固定色の映像を電子ファインダに表示させる。   In step S118, the system control circuit 50 sets the display state of the image display unit 28 to a fixed color display state. In the fixed color display state, instead of the image data written in the image display memory 24 via the image sensor 14, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22, fixed color image data is stored in the memory. The image is displayed on the image display unit 28 via the control circuit 22 and the D / A converter 26, and a fixed color image is displayed on the electronic viewfinder.

次にステップS119において、システム制御回路50は、動画記録処理を実行する。この動画記録処理は、動画像データ撮影動作、音声データ録音動作、及び記録処理からなる処理である。ステップS119における動画記録処理の詳細については、図6を用いて後述する。なお、このステップS119において、システム制御回路50は、まず時計72により記録開始時刻を取得し、更に記録時に設定されているフレームレートをシステム制御回路50の内部メモリ或いはメモリ52に一旦記憶しておく。そして、後述サムネイルファイルの作成時にサムネイルファイルのヘッダ領域に記録開始時刻とフレームレートとを記録することが出来るようにしておく。   In step S119, the system control circuit 50 executes a moving image recording process. The moving image recording process is a process including a moving image data shooting operation, an audio data recording operation, and a recording process. Details of the moving image recording process in step S119 will be described later with reference to FIG. In step S119, the system control circuit 50 first acquires the recording start time by the clock 72, and further temporarily stores the frame rate set at the time of recording in the internal memory or the memory 52 of the system control circuit 50. . A recording start time and a frame rate can be recorded in the header area of the thumbnail file when the thumbnail file is created later.

ステップS119の動画記録処理をユーザの指示又は記録媒体やバッファの残容量不足等により終えたならば、ステップS120において、システム制御回路50は、画像表示部28の表示状態をスルー表示状態に設定して、ステップS108に戻る。   If the moving image recording process in step S119 is completed due to a user instruction or insufficient recording medium or buffer remaining capacity, the system control circuit 50 sets the display state of the image display unit 28 to the through display state in step S120. Then, the process returns to step S108.

次にステップS108において再生モードに設定された場合に進む図4に示すステップS130においては、システム制御回路50は、まず画像表示部28の画像表示をON状態に設定する。   Next, in step S130 shown in FIG. 4 which proceeds when the playback mode is set in step S108, the system control circuit 50 first sets the image display of the image display unit 28 to the ON state.

次にステップS131において、システム制御回路50は、再生画像番号nに対応する画像を記録媒体200(或いは210)から読み出し、メモリ30に記憶する。この際、読み出す画像が動画像である場合は、所定量の動画データを読み出しメモリ30に記憶する。   Next, in step S131, the system control circuit 50 reads an image corresponding to the reproduction image number n from the recording medium 200 (or 210) and stores it in the memory 30. At this time, if the read image is a moving image, a predetermined amount of moving image data is read and stored in the memory 30.

次にステップS132において、システム制御回路50は、再生する画像が動画像であるか静止画像であるかを判別する。動画像の場合はステップS133に進み、動画像再生処理を行う。静止画像の場合はステップS134に進み、静止画像再生処理を行う。再生する画像が、動画像であるか静止画像であるかは、例えばファイル名の拡張子で判別される。拡張子が".JPG"であれば静止画像、".AVI"であれば動画像であると判別される。ステップS133の動画再生処理の詳細は図7を用いて後述する。   In step S132, the system control circuit 50 determines whether the image to be reproduced is a moving image or a still image. If it is a moving image, the process proceeds to step S133, and a moving image reproduction process is performed. If it is a still image, the process proceeds to step S134, and a still image reproduction process is performed. Whether an image to be reproduced is a moving image or a still image is determined by, for example, an extension of a file name. If the extension is “.JPG”, it is determined to be a still image, and if it is “.AVI”, it is determined to be a moving image. Details of the moving image reproduction processing in step S133 will be described later with reference to FIG.

ステップS135において、システム制御回路50は、操作部70の再生画像移動+ボタン(不図示)又は再生画像移動−ボタン(不図示)が操作され、画像送りの指示がされたか否かを判定する。操作がされなかった場合は、ステップS108に戻る。再生画像移動+ボタン(不図示)が操作され、画像送りの指示がなされていたら、ステップS136に進み、一つ後の画像を再生するように画像再生画像番号nをn=n+1にしてから、ステップS108に戻る。一方、再生画像移動−ボタン(不図示)が操作され、画像送りの指示がなされていたら、ステップS137に進み、一つ前の画像を再生するように画像再生画像番号nをn=n−1にしてから、ステップS108に戻る。   In step S <b> 135, the system control circuit 50 determines whether a playback image movement + button (not shown) or a playback image movement−button (not shown) of the operation unit 70 has been operated to instruct an image forwarding. If no operation has been performed, the process returns to step S108. If a replay image move + button (not shown) is operated and an image advance instruction is given, the process proceeds to step S136, and the image replay image number n is set to n = n + 1 so that the next image is replayed. The process returns to step S108. On the other hand, if a replay image move-button (not shown) is operated and an image feed instruction is given, the process proceeds to step S137, and the image replay image number n is set to n = n−1 so that the previous image is replayed. After that, the process returns to step S108.

図5は、図3のステップS114における測距・測光処理の詳細なフローチャートである。以下、測距・測光処理の動作手順を説明する。   FIG. 5 is a detailed flowchart of the distance measurement / photometry process in step S114 of FIG. Hereinafter, the operation procedure of the distance measurement / photometry process will be described.

まずステップS201において、システム制御回路50は、撮像素子14から電荷信号を読み出し、A/D変換器16を介して画像処理回路20に画像データを逐次読み込ませる。この逐次読み込んだ画像データを用いて、画像処理回路20はTTL方式のAE処理、EF処理、AF処理に用いる所定の演算を行う。なお、ここでの各処理においては、撮影した全画素数のうちの必要に応じた特定の部分を必要個所分切り取って抽出し、演算に用いる。これにより、TTL方式のAE、EF、AWB、AFの各処理において、中央重点モード、平均モード、評価モードの各モード等の異なるモード毎に最適な演算を行うことが可能となる。   First, in step S <b> 201, the system control circuit 50 reads out a charge signal from the image sensor 14 and causes the image processing circuit 20 to sequentially read image data via the A / D converter 16. Using the sequentially read image data, the image processing circuit 20 performs predetermined calculations used for TTL AE processing, EF processing, and AF processing. It should be noted that in each process here, a specific portion of the total number of captured pixels is extracted by cutting out a necessary portion as necessary and used for the calculation. This makes it possible to perform optimum calculations for different modes such as the center-weighted mode, the average mode, and the evaluation mode in each of the TTL method AE, EF, AWB, and AF processes.

次にステップS202において、システム制御回路50は、画像処理回路20における演算結果を用いて、露光制御回路40にAE制御を行わせて、露出(AE)が適正露出となるのを待つ。適正露出でない場合は、ステップS203に進み、適正露出が検出されるまで露光制御回路40にAE制御を行わせる。露出が適正露出となった場合は、測定データ及び必要に応じて設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶してから、ステップS204に進む。   In step S202, the system control circuit 50 causes the exposure control circuit 40 to perform AE control using the calculation result in the image processing circuit 20, and waits for the exposure (AE) to be an appropriate exposure. If the exposure is not appropriate, the process proceeds to step S203, and the exposure control circuit 40 performs AE control until the appropriate exposure is detected. When the exposure is appropriate, the measurement data and the setting parameters as necessary are stored in the internal memory of the system control circuit 50 or the memory 52, and the process proceeds to step S204.

次にステップS204において、システム制御回路50は、画像処理回路20における演算結果及びAE制御で得られた測定データを用いて、画像処理回路20に色処理のパラメータを調節させるAWB制御を行わせて、ホワイトバランスが適正となるまで待つ。適正でない場合は、ステップS205に進み、ホワイトバランスが適正となるまで画像処理回路20にAWB制御を行わせる。ホワイトバランスが適正となった場合は、測定データ及び必要に応じて設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶してから、ステップS206に進む。   In step S204, the system control circuit 50 performs AWB control that causes the image processing circuit 20 to adjust color processing parameters using the calculation result in the image processing circuit 20 and the measurement data obtained by the AE control. Wait until the white balance is appropriate. If not, the process proceeds to step S205, and the image processing circuit 20 performs AWB control until the white balance becomes appropriate. If the white balance is appropriate, the measurement data and, if necessary, the setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52, and the process proceeds to step S206.

次にステップS206において、システム制御回路50は、AE制御及びAWB制御で得られた測定データを用いて、測距制御回路42にAF制御を行わせて、合焦状態となるまで待つ。合焦状態でない場合は、ステップS207に進み、合焦状態となるまで測距制御回路42にAF制御を行わせる。合焦状態となった場合は、測定データ及び必要に応じて設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶し、測距・測光処理を終了する。   Next, in step S206, the system control circuit 50 causes the distance measurement control circuit 42 to perform AF control using the measurement data obtained by the AE control and the AWB control, and waits until the in-focus state is achieved. If not in focus, the process proceeds to step S207, and the distance measurement control circuit 42 performs AF control until the focus is reached. In the in-focus state, the measurement data and setting parameters as necessary are stored in the internal memory of the system control circuit 50 or the memory 52, and the distance measurement / photometry process is terminated.

図6は、図3のステップS119における動画記録処理の詳細なフローチャートである。この動画記録処理は、動画像データ撮影動作、音声データ録音動作、及び記録処理からなる処理である。動画像データ撮影動作は、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して得られた画像データを圧縮・伸長回路32で逐次データ圧縮し、メモリ30に書き込む一連の撮影動作である。音声データ録音動作は、マイク126、A/D変換器128、メモリ制御回路120を介して得られた音声データを逐次メモリ30に書き込む一連の動作である。記録処理は、インタフェース90或いは94、コネクタ92或いは96を介して、メモリカードやコンパクトフラッシュ(登録商標)カード等の記録媒体200(或いは210)へ動画データの書き込みを行う処理である。以下、これらの動作及び処理からなる動画記録処理の動作手順を詳細に説明する。   FIG. 6 is a detailed flowchart of the moving image recording process in step S119 of FIG. The moving image recording process is a process including a moving image data shooting operation, an audio data recording operation, and a recording process. In the moving image data shooting operation, image data obtained via the image sensor 14, A / D converter 16, image processing circuit 20, and memory control circuit 22 are sequentially compressed by the compression / decompression circuit 32 and stored in the memory 30. It is a series of shooting operations for writing. The sound data recording operation is a series of operations for sequentially writing sound data obtained via the microphone 126, the A / D converter 128, and the memory control circuit 120 to the memory 30. The recording process is a process of writing moving image data to the recording medium 200 (or 210) such as a memory card or a CompactFlash (registered trademark) card via the interface 90 or 94 and the connector 92 or 96. Hereinafter, the operation procedure of the moving image recording process including these operations and processes will be described in detail.

まずステップS301において、システム制御回路50は、シャッタースイッチSW2がONとされたか否かを判断する。ここで、本実施の形態に画像処理装置100は、図3のステップS116においてシャッタースイッチSW2がONとされることで録画記録処理を開始して、再びシャッタースイッチSW2がONとされることで録画記録処理を終了する。即ち、ステップS301において、ONであればユーザがシャッタースイッチSW2によって動画記録の終了を指示したものと判断し、動画記録終了処理を行うためにステップS310に進む。OFFであればユーザが動画記録の終了を指示しなかったものと判断し、ステップS302に進む。   First, in step S301, the system control circuit 50 determines whether or not the shutter switch SW2 is turned on. Here, the image processing apparatus 100 according to the present embodiment starts the recording / recording process when the shutter switch SW2 is turned on in step S116 of FIG. 3, and the recording is performed when the shutter switch SW2 is turned on again. The recording process ends. That is, if it is ON in step S301, it is determined that the user has instructed the end of moving image recording by the shutter switch SW2, and the flow proceeds to step S310 to perform moving image recording end processing. If it is OFF, it is determined that the user has not instructed the end of moving image recording, and the process proceeds to step S302.

ステップS302において、システム制御回路50は、マイク126、A/D変換器128、メモリ制御回路120を介して得られた音声データを逐次メモリ30に書き込む一連の音声データ録音動作により得られた音声データが規定量に達したか否かを判断する。規定量に達したとシステム制御回路50が判断した場合は、ステップS303に進み、所定の動画フォーマットに沿うように音声データを整形する。そして、その整形した音声データをメモリ30内の動画ファイル用書き込みバッファに書き込んでステップS304に進む。規定量に達していないとシステム制御回路50が判断した場合は、ステップS304に進む。   In step S302, the system control circuit 50 obtains audio data obtained by a series of audio data recording operations for sequentially writing audio data obtained through the microphone 126, the A / D converter 128, and the memory control circuit 120 to the memory 30. It is determined whether or not the specified amount has been reached. If the system control circuit 50 determines that the specified amount has been reached, the process proceeds to step S303, where the audio data is shaped to conform to a predetermined moving image format. Then, the shaped audio data is written in the moving image file write buffer in the memory 30, and the process proceeds to step S304. If the system control circuit 50 determines that the specified amount has not been reached, the process proceeds to step S304.

ステップS304において、システム制御回路50は、撮像素子14、A/D変換器16、画像処理回路20、メモリ制御回路22を介して得られた画像データを圧縮・伸長回路32で逐次データ圧縮し、メモリ30に書き込む一連の動画像データ撮影動作によって得られた画像データが1枚でも存在するか否かを判断する。画像データが存在するとシステム制御回路50が判断した場合は、ステップS305に進み、所定の動画像フォーマットに沿うように画像データを整形する。そして、その整形した画像データをメモリ30内の動画ファイル用書き込みバッファに書き込んでステップS306に進む。ステップS304で画像データがないとシステム制御回路50が判断した場合は、ステップS306に進む。   In step S304, the system control circuit 50 sequentially compresses the image data obtained via the image sensor 14, the A / D converter 16, the image processing circuit 20, and the memory control circuit 22 by the compression / decompression circuit 32, It is determined whether or not there is even one piece of image data obtained by a series of moving image data shooting operations to be written in the memory 30. If the system control circuit 50 determines that image data exists, the process proceeds to step S305, and the image data is shaped so as to follow a predetermined moving image format. Then, the shaped image data is written in the moving image file write buffer in the memory 30, and the process proceeds to step S306. If the system control circuit 50 determines that there is no image data in step S304, the process proceeds to step S306.

ステップS306において、システム制御回路50は、所定の転送単位分の動画像データがメモリ30内の動画ファイル用書き込みバッファに取得されているか否かを判断する。取得されているとシステム制御回路50が判断した場合は、ステップS307に進み、所定量に達した取得動画像データを記録媒体に転送してからステップS308に進む。ステップS306で取得されていないとシステム制御回路50が判断した場合は、ステップS308に進む。   In step S <b> 306, the system control circuit 50 determines whether moving image data for a predetermined transfer unit has been acquired in the moving image file write buffer in the memory 30. If the system control circuit 50 determines that it has been acquired, the process proceeds to step S307, the acquired moving image data that has reached a predetermined amount is transferred to the recording medium, and then the process proceeds to step S308. If the system control circuit 50 determines that it has not been acquired in step S306, the process proceeds to step S308.

ステップS308において、システム制御回路50は、メモリ30内の書き込みバッファの空き容量及び記録中の記録媒体200(或いは210)の空き容量を調べ、規定量に足りているか否かを判断する。メモリ30に用意されている書き込みバッファの空き容量及び記録中の記録媒体200(或いは210)の空き容量がどちらも規定量以上あるとシステム制御回路50が判断した場合は、ステップS309に進む。メモリ30に用意されている書き込みバッファの空き容量及び記録中の記録媒体200(或いは210)の空き容量のどちらかが規定量に足りてないとシステム制御回路50が判断した場合は、ステップ310に進み、動画記録終了処理を行う。   In step S308, the system control circuit 50 checks the free capacity of the write buffer in the memory 30 and the free capacity of the recording medium 200 (or 210) that is being recorded, and determines whether the specified amount is sufficient. If the system control circuit 50 determines that both the free capacity of the write buffer prepared in the memory 30 and the free capacity of the recording medium 200 (or 210) being recorded are equal to or greater than the specified amount, the process proceeds to step S309. If the system control circuit 50 determines that either the available capacity of the write buffer prepared in the memory 30 or the available capacity of the recording medium 200 (or 210) that is being recorded is not sufficient, a step 310 is performed. Then, the moving image recording end process is performed.

ステップS309においては、システム制御回路50は、記録可能時間を画像表示部28に表示してステップS301に戻る。   In step S309, the system control circuit 50 displays the recordable time on the image display unit 28 and returns to step S301.

次に動画記録終了処理として、まずステップS310において、システム制御回路50は、メモリ30に用意されている書き込みバッファに残っている動画像データを全て記録媒体200(或いは210)に転送する。   Next, as a moving image recording end process, first, in step S310, the system control circuit 50 transfers all moving image data remaining in the write buffer prepared in the memory 30 to the recording medium 200 (or 210).

次にステップS311において、システム制御回路50は、記録終了後でなければ更新できない値(総撮影時間、総フレーム数、インデックス領域等)を動画ファイルに書き込み、動画ファイルを整形する。   Next, in step S311, the system control circuit 50 writes values (total shooting time, total number of frames, index area, etc.) that can only be updated after the end of recording into the moving image file, and shapes the moving image file.

次にステップS312において、システム制御回路50は、ステップS311の動画ファイルの整形後、サムネイルファイルを記録媒体200(或いは210)に書き込み、動画記録処理を終了する。ここで、サムネイルファイルのヘッダ領域には、記録開始時に、時計72により取得してシステム制御回路50の内部メモリに記憶した記録開始時刻及び記録時に設定されているフレームレートが記録される。
なお、以上の処理は、本発明でいう記録手段の処理に対応する。
Next, in step S312, the system control circuit 50 writes the thumbnail file on the recording medium 200 (or 210) after shaping the moving image file in step S311 and ends the moving image recording process. Here, the recording start time acquired by the clock 72 and stored in the internal memory of the system control circuit 50 and the frame rate set at the time of recording are recorded in the header area of the thumbnail file.
The above processing corresponds to the processing of the recording means in the present invention.

図7は、図4のステップS133における動画再生処理の詳細なフローチャートを示す。以下、動画再生処理の動作手順を詳細に説明する。   FIG. 7 shows a detailed flowchart of the moving image reproduction process in step S133 of FIG. Hereinafter, the operation procedure of the moving image reproduction process will be described in detail.

まずステップSS401において、システム制御回路50は、サムネイルファイルのヘッダ領域に記録されている記録開始時刻と記録時のフレームレートを読み出し、システム制御回路50の内部メモリ或いはメモリ52に記憶する。この記録開始時刻と記録時のフレームレートは、後述のステップS412の時刻表示において、表示中のフレームが記録された記録時刻を求める際に用いられる。   First, in step SS401, the system control circuit 50 reads the recording start time and the frame rate at the time of recording recorded in the header area of the thumbnail file, and stores them in the internal memory or the memory 52 of the system control circuit 50. The recording start time and the frame rate at the time of recording are used when obtaining the recording time at which the frame being displayed is recorded in the time display in step S412 described later.

次にステップS402において、システム制御回路50は、ユーザが操作部70を操作して動画再生の停止を指示したか否かを判断する。停止指示と判断した場合は、動画再生処理を終了する。動画再生の停止を指示していない判断した場合は、ステップS403へ進む。   In step S <b> 402, the system control circuit 50 determines whether or not the user has operated the operation unit 70 to instruct to stop moving image playback. If it is determined to be a stop instruction, the moving image playback process is terminated. If it is determined that the stop of moving image reproduction is not instructed, the process proceeds to step S403.

ステップS403において、システム制御回路50は、ステップS131又は後述ステップS413において記録媒体200(或いは210)から読み出して、メモリ30に記憶した動画像データのうち、所定量の動画像データが再生済みか否かを判断する。再生済みでないと判断した場合は、ステップS405に進む。再生済みであると判断した場合は、ステップS404に進む。   In step S403, the system control circuit 50 determines whether or not a predetermined amount of moving image data has been reproduced from the moving image data read from the recording medium 200 (or 210) in step S131 or step S413 described later and stored in the memory 30. Determine whether. If it is determined that the reproduction has not been completed, the process proceeds to step S405. If it is determined that the reproduction has been completed, the process proceeds to step S404.

ステップS404において、システム制御回路50は、すでに全動画像データが読み出し済みであるか否かを判断する。全画像データが読み出し済みであると判断した場合は、ステップS405に進む。また、ステップS404において、全動画像データが読み出し済みでないと判断した場合は、ステップS413において、所定量の動画像データを記録媒体200(或いは210)から読み出し、メモリ30に記憶してから、ステップS405に進む。   In step S404, the system control circuit 50 determines whether or not all moving image data has already been read. If it is determined that all the image data has been read, the process proceeds to step S405. If it is determined in step S404 that all moving image data has not been read, a predetermined amount of moving image data is read from the recording medium 200 (or 210) and stored in the memory 30 in step S413. The process proceeds to S405.

ステップS405において、システム制御回路50は、メモリ30に記憶した動画像データの中の音声データを、逐次メモリ制御回路120を介してD/A変換器122に入力し、スピーカ124から出力して、音声再生を行う。   In step S405, the system control circuit 50 sequentially inputs the audio data in the moving image data stored in the memory 30 to the D / A converter 122 via the memory control circuit 120, and outputs it from the speaker 124. Perform audio playback.

次にステップS406において、システム制御回路50は、メモリ30に記憶した動画像データからこれから伸長及び表示するフレームのフレーム番号mを取得し、システム制御回路50の内部メモリ或いはメモリ52に記憶する。このフレーム番号はステップS412の時刻表示において、表示中のフレームが記録された時刻を求める際に用いられる。   In step S <b> 406, the system control circuit 50 acquires the frame number m of the frame to be decompressed and displayed from the moving image data stored in the memory 30 and stores it in the internal memory or the memory 52 of the system control circuit 50. This frame number is used when obtaining the time at which the frame being displayed was recorded in the time display in step S412.

次にステップS407において、システム制御回路50は、メモリ30に記憶した動画像データの中の1フレーム分の画像データを圧縮・伸長回路32により、画像伸張処理を行いメモリ30に書き込む。   In step S <b> 407, the system control circuit 50 performs image expansion processing by the compression / decompression circuit 32 and writes the image data for one frame in the moving image data stored in the memory 30 to the memory 30.

次にステップS408において、システム制御回路50は、伸張した画像データを表示形式の表示画像データに変換し、変換した表示画像データをメモリ制御回路22を介して画像表示メモリ24に転送する。   In step S <b> 408, the system control circuit 50 converts the decompressed image data into display image data in a display format, and transfers the converted display image data to the image display memory 24 via the memory control circuit 22.

次にステップS409において、システム制御回路50は、画像表示メモリ24に転送した表示画像データを読み出して、メモリ制御回路22、D/A変換器26を介して画像表示部28に表示する。   In step S409, the system control circuit 50 reads the display image data transferred to the image display memory 24, and displays it on the image display unit 28 via the memory control circuit 22 and the D / A converter 26.

次にステップS410において、システム制御回路50は、フレーム番号mが所定の数aの倍数、m=a×Nであるかの判定を行う。所定の数aの倍数であるならばステップS412に進み、システム制御回路50の内部メモリ或いはメモリ52に記憶した記録開始時刻、記録時のフレームレート及びフレーム番号mから記録時刻を計算し、時刻表示を行ってからステップS411に進む。所定の数aの倍数でないならば、そのままステップS411に進む。なお、ここで説明した処理は、本発明でいう算出手段及び表示手段の処理に対応する。   In step S410, the system control circuit 50 determines whether the frame number m is a multiple of a predetermined number a, m = a × N. If it is a multiple of the predetermined number a, the process proceeds to step S412 to calculate the recording time from the recording start time, the frame rate at the time of recording, and the frame number m stored in the internal memory of the system control circuit 50 or the memory 52, and display the time Then, the process proceeds to step S411. If it is not a multiple of the predetermined number a, the process proceeds to step S411. Note that the processing described here corresponds to the processing of the calculation means and display means in the present invention.

ステップS411において、システム制御回路50は、現在伸長及び表示したフレームが、最終フレームか否かを判定する。最終フレームでなかったならば、ステップS402に戻って動画再生処理を継続する。一方、最終フレームだったならば、即ち最終フレームを伸張表示し終わった場合は、動画再生処理を終了する。   In step S411, the system control circuit 50 determines whether the currently decompressed and displayed frame is the last frame. If it is not the last frame, the process returns to step S402 to continue the moving image reproduction process. On the other hand, if it is the last frame, that is, if the last frame has been expanded and displayed, the moving image reproduction process is terminated.

以上の処理により、所定のaフレーム毎に時刻表示の更新を行うことで、所定のフレームにおいて記録時刻を表示するようにすることができる。なお、記録時刻は図8に示す計算式で求まる。例えば、記録開始時刻が3時であり、フレームが30番目のフレームであり、記録時のフレームレートが1分間に1枚であれば、図8に示す計算式より3時30分と算出される。また、画像表示部28に動画像の記録時の経過時間(動画像の記録開始からどれだけ時間が経過しているか)を表示するようにしてもよい。この場合は、フレーム番号と記録時のフレームレートとをかけあわせることで経過時間を算出できる。   With the above processing, the recording time can be displayed in a predetermined frame by updating the time display for each predetermined a frame. The recording time can be obtained by the calculation formula shown in FIG. For example, if the recording start time is 3 o'clock, the frame is the 30th frame, and the frame rate at the time of recording is 1 frame per minute, it is calculated as 3:30 from the calculation formula shown in FIG. . Further, an elapsed time at the time of moving image recording (how much time has elapsed since the start of moving image recording) may be displayed on the image display unit 28. In this case, the elapsed time can be calculated by multiplying the frame number and the frame rate at the time of recording.

図9(a)は、本実施の形態の画像処理装置100が記録媒体200(或いは210)に記録するディレクトリ構成例を示す図である。図9(b)は、本実施形態の画像処理装置100が記録媒体200(或いは210)に記録する動画ファイルのデータ構造と、記録時刻表示を行うために用いる記録開始時刻と記録時のフレームレート情報を記録したサムネイルファイルのデータ構造を示す図である。   FIG. 9A is a diagram illustrating a configuration example of a directory recorded on the recording medium 200 (or 210) by the image processing apparatus 100 according to the present embodiment. FIG. 9B shows a data structure of a moving image file recorded on the recording medium 200 (or 210) by the image processing apparatus 100 of the present embodiment, a recording start time used for displaying the recording time, and a frame rate at the time of recording. It is a figure which shows the data structure of the thumbnail file which recorded information.

ルートディレクトリ903にはサブディレクトリ904が生成される。サブディレクトリ904が保持するサブディレクトリ名は、先頭3文字が数字で構成される。ここでは、先頭3文字の数字は100から始まり、ディレクトリを生成する毎に1ずつインクリメントされる。サブディレクトリ904の配下には、本実施形態の画像処理装置100が作成するファイルが作成される。   A subdirectory 904 is generated in the root directory 903. The subdirectory name held by the subdirectory 904 is composed of a numeric character at the top three characters. Here, the first three characters start from 100 and are incremented by 1 each time a directory is created. Under the subdirectory 904, a file created by the image processing apparatus 100 of the present embodiment is created.

本実施の形態の画像処理装置100は、動画像記録時において、動画ファイル901(*.AVIファイル)とサムネイルファイル902(*.THMファイル)とを別に記録媒体200(或いは210)へ記録する。また、記録開始時刻と記録時のフレームレート情報はサムネイルファイル902(*.THMファイル)のヘッダ領域に記録される。   The image processing apparatus 100 according to the present embodiment records the moving image file 901 (* .AVI file) and the thumbnail file 902 (* .THM file) separately on the recording medium 200 (or 210) at the time of moving image recording. The recording start time and the frame rate information at the time of recording are recorded in the header area of the thumbnail file 902 (* .THM file).

このようにすることで、動画ファイル901(*.AVIファイル)本体に、記録開始時刻と記録時のフレームレートの情報を持つことができないフォーマットの動画像であっても記録時刻表示を行うことができる。   In this way, the recording time can be displayed even in the case of a moving image of a format that cannot have information on the recording start time and the frame rate at the time of recording in the main body of the moving image file 901 (* .AVI file). it can.

なお、本実施の形態では、動画像再生時に記録時刻又は記録時の経過時間を表示するようにしたが、これと同時に再生時間も表示できるようにしてもよい。また、この場合、記録時刻、記録時の経過時間、及び再生時間のうちの1つ又は複数を選択できるようにして、その選択に応じて、記録時刻等を表示するようにしてもよい。この場合、動画像再生時に操作部70を操作することで記録時刻等を選択し、それに応じて切替え表示できるようにすればよい(本発明でいう選択手段に対応する)。   In this embodiment, the recording time or the elapsed time at the time of recording is displayed at the time of moving image reproduction. However, the reproduction time may be displayed at the same time. In this case, one or more of the recording time, the elapsed time during recording, and the reproduction time can be selected, and the recording time or the like may be displayed according to the selection. In this case, a recording time or the like may be selected by operating the operation unit 70 during moving image reproduction and can be switched and displayed accordingly (corresponding to the selection means in the present invention).

以上、本実施の形態では、動画像記録時に記録開始時刻と記録時のフレームレートとを動画像データと別に記憶しておき、動画像再生時に、記憶しておいた記録開始時刻、記録時のフレームレート、及び現在のフレーム番号から記録時刻を求めるようにした。これにより、動画像のフォーマットがタイムスタンプを持つことができる/できないに関わらず、記録時刻を算出して表示することができる。また、インターバル撮影によって記録した動画像、即ち、記録時の時間スケールと再生時の時間スケールの異なる動画像であっても、通常撮影によって記録した動画像であっても、同様の処理で記録時刻の表示を行うことができる。   As described above, in the present embodiment, the recording start time and the frame rate at the time of recording are stored separately from moving image data at the time of moving image recording, and the stored recording start time and the recording time at the time of recording are reproduced. The recording time is obtained from the frame rate and the current frame number. Thereby, it is possible to calculate and display the recording time regardless of whether or not the format of the moving image can have a time stamp. In addition, a moving image recorded by interval shooting, that is, a moving image having a different time scale at the time of recording and a time scale at the time of reproduction, or a moving image recorded by normal shooting, is recorded by the same process. Can be displayed.

なお、本発明を実現するために、上述した実施形態の機能を実現するソフトウェアのプログラムコード(コンピュータプログラム)を記録した記憶媒体を用いても良い。この場合には記憶媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによって本発明の目的が達成される。   In order to realize the present invention, a storage medium in which a program code (computer program) of software that realizes the functions of the above-described embodiments may be used. In this case, the object of the present invention is achieved by supplying the storage medium to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が上述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)等が実際の処理の一部又は全部を行う場合も含まれることは言うまでもない。   Needless to say, the OS (basic system or operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれてもよい。この場合には、書き込まれたプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行ってもよい。   Furthermore, the program code read from the storage medium may be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. In this case, based on the instruction of the written program code, the CPU or the like provided in the function expansion board or function expansion unit may perform part or all of the actual processing.

本発明の実施の形態に係る画像処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る画像処理装置のメインルーチンの一部のフローチャートである。4 is a partial flowchart of a main routine of the image processing apparatus according to the embodiment of the present invention. 本発明の実施の形態に係る画像処理装置のメインルーチンの一部のフローチャートである。4 is a partial flowchart of a main routine of the image processing apparatus according to the embodiment of the present invention. 本発明の実施の形態に係る画像処理装置のメインルーチンの一部のフローチャートである。4 is a partial flowchart of a main routine of the image processing apparatus according to the embodiment of the present invention. 本発明の実施の形態に係る画像処理装置の測距・測光ルーチンのフローチャートである。5 is a flowchart of a distance measurement / photometry routine of the image processing apparatus according to the embodiment of the present invention. 本発明の実施の形態に係る画像処理装置の動画記録ルーチンのフローチャートである。It is a flowchart of the moving image recording routine of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る画像処理装置の動画再生ルーチンのフローチャートである。It is a flowchart of the moving image reproduction routine of the image processing apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る画像処理装置が時刻計算の際に用いる計算式を示す図である。It is a figure which shows the calculation formula which the image processing apparatus which concerns on embodiment of this invention uses in the time calculation. 本発明の実施の形態に係る画像処理装置が扱うディレクトリ構成例と、動画ファイル及びサムネイルファイルのデータ構造を示す図である。It is a figure which shows the example of a directory structure which the image processing apparatus which concerns on embodiment of this invention handles, and the data structure of a moving image file and a thumbnail file.

符号の説明Explanation of symbols

10 撮影レンズ
12 シャッター
14 撮像素子
16 A/D変換器
18 タイミング発生回路
20 画像処理回路
22 メモリ制御回路
24 画像表示メモリ
26 D/A変換器
28 画像表示部
30 メモリ
32 圧縮・伸長回路
40 露光制御回路
42 測距制御回路
44 ズーム制御回路
46 バリア制御回路
48 フラッシュ
50 システム制御回路
52 メモリ
54 表示部
56 不揮発性メモリ
60 モードダイアルスイッチ
62 シャッタースイッチSW1
64 シャッタースイッチSW2
66 電源スイッチ
70 操作部
72 時計
80 電源制御部
82、84 コネクタ
86 電源
90、94 インタフェース
92、96 コネクタ
100 画像処理装置
102 保護機構部
104 光学ファインダ
110 通信部
112 コネクタ(またはアンテナ)
120 メモリ制御回路
122 D/A変換器
124 スピーカ
126 マイク
128 A/D変換器
200、210 記録媒体
202、212 記録部
204、214 インタフェース
206、216 コネクタ
DESCRIPTION OF SYMBOLS 10 Shooting lens 12 Shutter 14 Image pick-up element 16 A / D converter 18 Timing generation circuit 20 Image processing circuit 22 Memory control circuit 24 Image display memory 26 D / A converter 28 Image display part 30 Memory 32 Compression / decompression circuit 40 Exposure control Circuit 42 Distance control circuit 44 Zoom control circuit 46 Barrier control circuit 48 Flash 50 System control circuit 52 Memory 54 Display unit 56 Non-volatile memory 60 Mode dial switch 62 Shutter switch SW1
64 Shutter switch SW2
66 Power switch 70 Operation unit 72 Clock 80 Power control unit 82, 84 Connector 86 Power supply 90, 94 Interface 92, 96 Connector 100 Image processing apparatus 102 Protection mechanism unit 104 Optical viewfinder 110 Communication unit 112 Connector (or antenna)
120 Memory Control Circuit 122 D / A Converter 124 Speaker 126 Microphone 128 A / D Converter 200, 210 Recording Medium 202, 212 Recording Unit 204, 214 Interface 206, 216 Connector

Claims (8)

動画像データの記録及び再生が可能な画像処理装置であって、
動画像記録時に記録開始時刻及び記録時のフレームレートを記録媒体に記録する記録手段であって、再生用フレームレートは前記動画像データのファイルに記録し、前記記録時のフレームレートは前記動画像データのファイルとは別のファイルに記録する記録手段と、
動画像再生時に、前記記録媒体に記録されている記録開始時刻及び記録時のフレームレートと、再生するフレームのフレーム番号とから、再生するフレームの実記録時刻を算出する算出手段とを備えたことを特徴とする画像処理装置。
An image processing apparatus capable of recording and reproducing moving image data,
Recording means for recording a recording start time and a recording frame rate on a recording medium when recording a moving image, wherein a reproduction frame rate is recorded in the moving image data file, and the recording frame rate is the moving image. Recording means for recording in a separate file from the data file ;
Computation means for calculating the actual recording time of a frame to be reproduced from the recording start time recorded on the recording medium, the frame rate at the time of recording, and the frame number of the frame to be reproduced at the time of moving image reproduction An image processing apparatus.
前記算出手段により算出された前記実記録時刻表示部に表示する表示手段を備えたことを特徴とする請求項に記載の画像処理装置。 The image processing apparatus according to claim 1, further comprising a display means for displaying on the display unit the actual recording time calculated by the calculating means. 前記表示手段は、前記動画像データの記録時のフレームレートと再生時のフレームレートが異なる場合に、前記算出手段により算出した再生するフレームの実記録時刻と、再生時間を表示すること特徴とする請求項に記載の画像処理装置。 The display means, characterized in that the frame rate and playback frame rate during recording of the moving image data is to be different, to display the actual recording time of a frame to be reproduced calculated by said calculation means, and a reproduction time The image processing apparatus according to claim 2 . 前記算出手段は、前記記録手段が記録した記録時のフレームレートと、前記再生するフレームのフレーム番号とから、再生するフレームの記録時の経過時間を算出することを特徴とする請求項1〜3のいずれか1項に記載の画像処理装置。 The calculation unit includes a frame rate during recording said recording means has recorded, and a frame number of the frame to the reproduction, according to claim 1 to 3, characterized in that to calculate the elapsed time at the time of recording of a frame to be reproduced The image processing apparatus according to any one of the above. 前記算出手段は、前記記録手段が記録した記録時のフレームレートと、前記再生するフレームのフレーム番号とから、再生するフレームの記録時の経過時間を算出し、
該画像処理装置は、前記実記録時刻、前記記録時の経過時間、及び前記再生時間のうちの1つ又は複数を選択できる選択手段を備え、
前記表示手段は、前記選択手段による選択に応じて、前記表示部に前記実記録時刻、前記記録時の経過時間、及び前記再生時間のうちの1つ又は複数を表示することを特徴とする請求項に記載の画像処理装置。
The calculating means calculates an elapsed time at the time of recording the frame to be reproduced from a frame rate at the time of recording recorded by the recording means and a frame number of the frame to be reproduced.
The image processing apparatus includes a selection unit capable of selecting one or more of the actual recording time, the elapsed time during the recording, and the reproduction time,
The display means displays one or more of the actual recording time, the elapsed time during the recording, and the reproduction time on the display unit in accordance with the selection by the selection means. Item 4. The image processing apparatus according to Item 3 .
前記記録手段は、前記動画像データのファイルに対応するサムネイルファイルを前記記録媒体に記録し、前記サムネイルファイルに前記記録時のフレームレートを記録することを特徴とする請求項1〜5のいずれか1項に記載の画像処理装置。6. The recording unit according to claim 1, wherein the recording unit records a thumbnail file corresponding to the moving image data file on the recording medium, and records a frame rate at the time of the recording in the thumbnail file. The image processing apparatus according to item 1. 動画像データの記録及び再生が可能な画像処理装置の制御方法であって、
動画像記録時に記録開始時刻及び記録時のフレームレートを記録媒体に記録する記録ステップであって、再生用フレームレートは前記動画像データのファイルに記録し、前記記録時のフレームレートは前記動画像データのファイルとは別のファイルに記録する記録ステップと、
動画像再生時に、前記記録媒体に記録されている記録開始時刻及び記録時のフレームレートと、再生するフレームのフレーム番号とから、再生するフレームの実記録時刻を算出する算出ステップとを有することを特徴とする画像処理装置の制御方法。
An image processing apparatus control method capable of recording and reproducing moving image data,
A recording step of recording a recording start time and a recording frame rate on a recording medium at the time of recording a moving image, wherein the reproduction frame rate is recorded in the moving image data file, and the recording frame rate is the moving image; A recording step for recording in a separate file from the data file ;
A calculation step of calculating an actual recording time of a frame to be reproduced from a recording start time recorded on the recording medium, a frame rate at the time of recording, and a frame number of the frame to be reproduced at the time of moving image reproduction; A control method for an image processing apparatus.
動画像データの記録及び再生が可能な画像処理装置を制御するためのコンピュータプログラムであって、
動画像記録時に記録開始時刻及び記録時のフレームレートを記録媒体に記録する記録ステップであって、再生用フレームレートは前記動画像データのファイルに記録し、前記記録時のフレームレートは前記動画像データのファイルとは別のファイルに記録する記録ステップと、
動画像再生時に、前記記録媒体に記録されている記録開始時刻及び記録時のフレームレートと、再生するフレームのフレーム番号とから、再生するフレームの実記録時刻を算出する算出ステップとをコンピュータに実行させることを特徴とするコンピュータプログラム。
A computer program for controlling an image processing apparatus capable of recording and reproducing moving image data,
A recording step of recording a recording start time and a recording frame rate on a recording medium at the time of recording a moving image, wherein the reproduction frame rate is recorded in the moving image data file, and the recording frame rate is the moving image; A recording step for recording in a separate file from the data file ;
At the time of moving image reproduction, the computer executes a calculation step for calculating the actual recording time of the frame to be reproduced from the recording start time recorded on the recording medium, the frame rate at the time of recording, and the frame number of the frame to be reproduced. A computer program characterized by causing
JP2007039872A 2007-02-20 2007-02-20 Image processing apparatus, control method therefor, and computer program Expired - Fee Related JP4818158B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007039872A JP4818158B2 (en) 2007-02-20 2007-02-20 Image processing apparatus, control method therefor, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007039872A JP4818158B2 (en) 2007-02-20 2007-02-20 Image processing apparatus, control method therefor, and computer program

Publications (3)

Publication Number Publication Date
JP2008205845A JP2008205845A (en) 2008-09-04
JP2008205845A5 JP2008205845A5 (en) 2010-04-08
JP4818158B2 true JP4818158B2 (en) 2011-11-16

Family

ID=39782851

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007039872A Expired - Fee Related JP4818158B2 (en) 2007-02-20 2007-02-20 Image processing apparatus, control method therefor, and computer program

Country Status (1)

Country Link
JP (1) JP4818158B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013165434A (en) * 2012-02-13 2013-08-22 Nikon Corp Electronic apparatus and control program of the same
JP6102825B2 (en) * 2014-05-30 2017-03-29 カシオ計算機株式会社 Movie data playback apparatus, movie data playback method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4273379B2 (en) * 2000-03-28 2009-06-03 ソニー株式会社 Information processing apparatus and method, and recording medium
JP2003244654A (en) * 2002-02-21 2003-08-29 Canon Inc Image processing apparatus, image processing method, and storage medium
JP2004104534A (en) * 2002-09-10 2004-04-02 Ricoh Co Ltd Image pickup device
JP2004304425A (en) * 2003-03-31 2004-10-28 Casio Comput Co Ltd Electronic camera

Also Published As

Publication number Publication date
JP2008205845A (en) 2008-09-04

Similar Documents

Publication Publication Date Title
JP3814514B2 (en) Image display apparatus, image processing method, and program
US8451347B2 (en) Image processing apparatus, image playing method, image pick-up apparatus, and program and storage medium for use in displaying image data
JP4809960B2 (en) Image processing apparatus, method, and recording medium
JP2001320620A (en) Image pickup device, its control method and storage medium
JP2005244311A (en) Imaging unit, control method of imaging unit, and control program
JP4818158B2 (en) Image processing apparatus, control method therefor, and computer program
JP4681937B2 (en) Imaging apparatus and imaging method
JP4136296B2 (en) Image processing apparatus, method, and computer-readable storage medium
JP4574087B2 (en) Imaging apparatus, control method thereof, control program thereof, and storage medium
JP4810485B2 (en) Image processing apparatus, image processing method, and computer program
JP4881195B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2006203689A (en) Imaging apparatus and control method thereof, program, and storage medium
JP2007036587A (en) Imaging apparatus and its control method
JP2007189524A (en) Image processor, and image processing method
JP4574426B2 (en) Data processing apparatus and data processing method
JP4948011B2 (en) Imaging apparatus, control method therefor, computer program, and storage medium
JP4298534B2 (en) Image display apparatus and method
JP4701297B2 (en) Image processing apparatus, method, and recording medium
JP4667251B2 (en) Imaging apparatus and white balance control method
JP3697215B2 (en) Imaging device
JP2000115669A (en) Image processor, control method for image processor and storage medium
JP2005110128A (en) Imaging apparatus and imaging control method
JP5361973B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2001324750A (en) Image pickup device and control method therefor
JP2005130392A (en) Image processing apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100222

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110607

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110728

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110823

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110830

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees