JP2008236692A - Imaging apparatus and picked-up image data processing method therefor - Google Patents

Imaging apparatus and picked-up image data processing method therefor Download PDF

Info

Publication number
JP2008236692A
JP2008236692A JP2007077427A JP2007077427A JP2008236692A JP 2008236692 A JP2008236692 A JP 2008236692A JP 2007077427 A JP2007077427 A JP 2007077427A JP 2007077427 A JP2007077427 A JP 2007077427A JP 2008236692 A JP2008236692 A JP 2008236692A
Authority
JP
Japan
Prior art keywords
image data
captured image
memory
communication
external device
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
JP2007077427A
Other languages
Japanese (ja)
Inventor
Fumio Nakamaru
文雄 中丸
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2007077427A priority Critical patent/JP2008236692A/en
Publication of JP2008236692A publication Critical patent/JP2008236692A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To avoid a state where picked-up image data are discarded, even if a fault occurs on a communication channel or the like and a transmission rate is reduced, in an imaging apparatus which repeats image pickup while transmitting picked-up image data to an external device. <P>SOLUTION: In a case where a communication memory 26 constituted of a volatile memory has a free capacity, picked-up image data for transmission are stored in the communication memory 26 and transmitted and in a case where free capacity of the communication memory 26 is lacked, the picked-up image data for transmission are temporarily stored on a recording medium (nonvolatile memory) 35. When free capacity is made in the communication memory 26, the picked-up image data on the recording medium 35 are copied into the communication memory 26, and the picked-up image data on the communication memory 26 are transmitted to an external device 3. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、通信機能を備え外部装置に撮像画像データを送信する撮影装置及びその撮像画像データ処理方法に関する。   The present invention relates to an imaging device that has a communication function and transmits captured image data to an external device and a captured image data processing method thereof.

近年の撮影装置は、例えば大容量ハードディスクを有するネットワークドライブ装置やパーソナルコンピュータ等の外部装置に通信ケーブル,無線LANなどを介して接続し、撮像した画像データを外部装置に転送する通信機能が設けられるようになってきている。   Recent photographing apparatuses are provided with a communication function for connecting to an external device such as a network drive device having a large-capacity hard disk or a personal computer via a communication cable, a wireless LAN, etc., and transferring captured image data to the external device. It has become like this.

特許文献1記載の撮影装置は、撮像した画像データを、撮影装置に内蔵される画像記録手段に転送して記録メディアに保存するファイル転送モードと、画像データをそのままネットワークを介して外部装置に送信するリアルタイム転送モードとを備え、記録メディアの空き容量がなくなったとき、ファイル転送モードからリアルタイム転送モードに自動的に切り替え、記録メディアの空き容量がなくなり撮影不可となる事態を防いでいる。   The imaging apparatus described in Patent Document 1 transmits a captured image data to an image recording unit built in the imaging apparatus and saves it in a recording medium, and transmits the image data as it is to an external device via a network. Real-time transfer mode, and when the recording medium runs out of free space, it automatically switches from the file transfer mode to the real-time transfer mode, preventing the situation where the free space of the recording medium runs out and photography is impossible.

特許文献2記載の撮影装置は、撮像した画像データを外部装置に送信した後も、必要な画像データをカメラ側の記録メディアに残しておくことで、送信済みの画像の確認を可能にしている。   The imaging device described in Patent Document 2 enables confirmation of a transmitted image by leaving necessary image data in a recording medium on the camera side even after transmitting captured image data to an external device. .

特許文献3,4記載の撮影装置は、記録メディアの残量が少なくなると、画像データを外部装置に送信し、記録メディアの空き容量を増加させている。   In the photographing apparatuses described in Patent Documents 3 and 4, when the remaining amount of the recording medium decreases, the image data is transmitted to the external device, and the free space of the recording medium is increased.

特開2004−336105号公報JP 2004-336105 A 特開平10−336574号公報Japanese Patent Laid-Open No. 10-336574 特開2001−128113号公報JP 2001-128113 A 特開2006−174060号公報JP 2006-174060 A

撮影装置で画像を撮像する場合、上記の従来技術はいずれも、撮影装置に装着された記録メディアに撮像画像データを記録することをメインとし、記録メディアの残量が少なくなったとき等に、通信機能を用いて記録メディア内の画像データを外部装置に送信して記録メディアに空き容量を確保する構成となっている。   When capturing an image with a shooting device, all of the above-described conventional techniques mainly record the captured image data on a recording medium attached to the shooting device, and when the remaining amount of the recording medium decreases, etc. The configuration is such that image data in the recording medium is transmitted to an external device by using a communication function to ensure free space in the recording medium.

つまり、撮影装置が外部装置を必要とした時は、記録メディアが一杯の時であり、この時、接続先ネットワークに障害が発生したり、通信速度が遅くなっていることがある。この様なときには、大事な瞬間に撮像した画像データを記録する記録メディアの空き容量が確保できず、この画像データを破棄しなければならないという問題が生じる。   That is, when the photographing apparatus requires an external apparatus, the recording medium is full. At this time, a failure may occur in the connection destination network or the communication speed may be slow. In such a case, there is a problem that the free space of the recording medium for recording the image data captured at an important moment cannot be secured, and the image data must be discarded.

本発明の目的は、大事な瞬間に撮像した画像データを確実に記録メディアに記録することができる撮影装置とその撮像画像データ処理方法を提供することにある。   An object of the present invention is to provide an imaging apparatus capable of reliably recording image data captured at an important moment on a recording medium and a captured image data processing method thereof.

本発明の撮影装置及びその撮像画像データ処理方法は、不揮発性メモリに撮像画像データを書き込む画像記録手段と外部装置に撮像画像データを送信する通信手段とを備える撮影装置において、前記外部装置に接続して撮像を行う場合には該撮像により得られた撮像画像データを揮発性メモリで構成される通信用メモリに書き込み該通信用メモリ上の該撮像画像データを前記通信手段により前記外部装置に送信すると共に送信後の該撮像画像データを前記通信用メモリから消去し、前記外部装置に接続して前記撮像を行っている最中に新たに撮像した撮像画像データを前記通信用メモリに書き込む必要が生じ且つ該通信用メモリの空き容量が不足する場合には該撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させ、前記外部装置に接続せずに撮像を行う場合には該撮像により得られた撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させることを特徴とする。   An imaging device and a captured image data processing method thereof according to the present invention include an image recording unit that writes captured image data in a nonvolatile memory, and a communication unit that transmits the captured image data to an external device. When imaging is performed, the captured image data obtained by the imaging is written in a communication memory composed of a volatile memory, and the captured image data on the communication memory is transmitted to the external device by the communication means. At the same time, it is necessary to erase the captured image data after transmission from the communication memory, and to write the newly captured image data to the communication memory while connecting to the external device and performing the imaging. And when the free space of the communication memory is insufficient, the captured image data is transferred to the image recording means and recorded in the nonvolatile memory, Characterized in that to record in the nonvolatile memory to transfer the captured image data obtained by the imaging to the image recording means when performing imaging without connecting to Kigaibu device.

本発明の撮影装置及びその撮像画像データ処理方法は、前記空き容量不足で前記不揮発性メモリに撮像画像データが書き込まれた場合には、前記通信用メモリに空きが生じたとき該不揮発性メモリ上の前記撮像画像データを該通信用メモリにコピーし該通信用メモリ上の該撮像画像データを前記通信手段により前記外部装置に送信することを特徴とする。   When the captured image data is written in the nonvolatile memory due to the lack of free space, the imaging device and the captured image data processing method thereof according to the present invention can be used on the nonvolatile memory when the communication memory is empty. The captured image data is copied to the communication memory, and the captured image data on the communication memory is transmitted to the external device by the communication means.

本発明の撮影装置及びその撮像画像データ処理方法は、前記不揮発性メモリ上の撮像画像データが前記外部装置に送信された場合には該不揮発性メモリ上及び前記通信用メモリ上の該撮像画像データを消去することを特徴とする。   When the captured image data on the non-volatile memory is transmitted to the external device, the captured image data on the non-volatile memory and the communication memory may be used. It is characterized by erasing.

本発明の撮影装置及びその撮像画像データ処理方法は、前記外部装置に送信されていない撮像画像データが前記通信用メモリ上にあり且つ電源オフ指令が入力された場合には該通信用メモリ上の該撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させたあと電源オフ処理を行うことを特徴とする。   The imaging device and the captured image data processing method thereof according to the present invention include: when captured image data that has not been transmitted to the external device is on the communication memory and a power-off command is input; The captured image data is transferred to the image recording means and recorded in the nonvolatile memory, and then a power-off process is performed.

本発明の撮影装置及びその撮像画像データ処理方法の前記通信用メモリは、メインメモリとして使用される揮発性メモリ上に設定されることを特徴とする。   The communication memory of the imaging apparatus and the captured image data processing method of the present invention is set on a volatile memory used as a main memory.

本発明によれば、撮像画像データを外部装置に送信しながら撮像を繰り返すときに使用する主たるメモリを揮発性メモリで構成される通信用メモリとし、従とするメモリ即ち通信用メモリの空き容量不足時に使用するメモリを不揮発性メモリとしたため、通信速度が低下した場合でも撮像画像データを破棄しなければならない事態の発生を防止することが可能となる。   According to the present invention, the main memory used when repeating imaging while transmitting captured image data to an external device is a communication memory composed of a volatile memory, and the secondary memory, that is, the communication memory is insufficient. Since the memory used sometimes is a non-volatile memory, it is possible to prevent a situation in which captured image data must be discarded even when the communication speed decreases.

以下、本発明の一実施形態について、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係る撮影装置をパーソナルコンピュータに接続して使用する場合の外観図である。本実施形態の撮影装置1は、例えばユニバーサルシリアルバス(USB)ケーブル2を用いて外部装置であるパーソナルコンピュータ3に接続された状態で使用される。勿論、外部装置に接続されない状態の単独使用も可能である。また、有線ケーブル2ではなく無線で接続することでも良い。   FIG. 1 is an external view of a photographing apparatus according to an embodiment of the present invention when connected to a personal computer. The photographing apparatus 1 of the present embodiment is used in a state where it is connected to a personal computer 3 that is an external apparatus using, for example, a universal serial bus (USB) cable 2. Of course, it is possible to use it alone without being connected to an external device. Further, it may be connected wirelessly instead of the wired cable 2.

図2は、撮影装置1の機能ブロック構成図である。この撮影装置1は、被写体からの光学像を電気信号に変換するCCD等の固体撮像素子11と、固体撮像素子11の出力信号を相関二重サンプリング処理や利得制御処理などを行うCDSAMP部12と、CDSAMP部12から出力されるアナログの撮像画像信号をデジタル信号に変換するA/D変換部13と、固体撮像素子11の駆動タイミング信号を発生するタイミングジェネレータ14と、撮影装置1の全体を統括制御する演算処理部(CPU)15とを備える。   FIG. 2 is a functional block configuration diagram of the photographing apparatus 1. The photographing apparatus 1 includes a solid-state imaging device 11 such as a CCD that converts an optical image from a subject into an electrical signal, and a CDSAMP unit 12 that performs correlated double sampling processing, gain control processing, and the like on an output signal of the solid-state imaging device 11. The A / D conversion unit 13 that converts an analog captured image signal output from the CDSAMP unit 12 into a digital signal, the timing generator 14 that generates a drive timing signal for the solid-state image sensor 11, and the overall photographing apparatus 1 are integrated. And an arithmetic processing unit (CPU) 15 to be controlled.

CPU15には、ユーザからの指示入力を受け付けるキー入力部(レリーズボタンや電源オンオフボタンを含む)17と、固体撮像素子11の前面に配置された図示しない撮影レンズのズーム位置制御やフォーカス位置制御,絞り位置制御を行う各種モータのモータドライバ18とが接続されると共に、CPU15は、検出部19が検出したズーム位置,フォーカス位置,絞り位置を取り込み、各種制御を行う。また、CPU15は、CDSAMP部12の制御も行う。   The CPU 15 includes a key input unit (including a release button and a power on / off button) 17 that receives an instruction input from a user, and zoom position control and focus position control of a photographic lens (not shown) disposed in front of the solid-state image sensor 11. A motor driver 18 of various motors that perform aperture position control is connected, and the CPU 15 takes in the zoom position, focus position, and aperture position detected by the detection unit 19 and performs various controls. The CPU 15 also controls the CDSAMP unit 12.

この撮影装置1は、更に、A/D変換部13から出力されたデジタル画像信号を取り込む画像入力コントローラ21と、AF(自動焦点)検出回路22と、画像信号処理回路23と、AE(自動露出)およびAWB(オートホワイトバランス)検出部24と、圧縮処理回路25と、メインメモリとして使用されるSDRAM(Synchronous Dynamic Random Access Memory)26と、ビデオエンコーダ27と、VRAM(Video Random Access Memory)28と、液晶などの表示パネル29と、メディアコントローラ30と、日付データ等を保存するSRAM(Static Random Access Memory)31と、外部装置3との間で通信処理を行う通信部32と、これら及びCPU15を相互接続するバス33と、SRAM31の保存内容を保持するコンデンサ(キャパシタ)等のバックアップ電源34と、メディアコントローラ30に着脱自在に接続される外部記録メディア35とを備える。また、図示しない電源部を備え、この電源部から上記の各構成回路に電源が供給される。   The photographing apparatus 1 further includes an image input controller 21 that captures a digital image signal output from the A / D converter 13, an AF (automatic focus) detection circuit 22, an image signal processing circuit 23, and an AE (automatic exposure). ) And AWB (auto white balance) detection unit 24, compression processing circuit 25, SDRAM (Synchronous Dynamic Random Access Memory) 26 used as a main memory, video encoder 27, VRAM (Video Random Access Memory) 28, A display panel 29 such as a liquid crystal display, a media controller 30, an SRAM (Static Random Access Memory) 31 for storing date data and the like, a communication unit 32 for performing communication processing with the external device 3, and these and the CPU 15 The bus 33 to be interconnected and a backup device such as a capacitor for holding the stored contents of the SRAM 31 It includes a flop power source 34, and an external recording medium 35 is detachably connected to the media controller 30. Further, a power supply unit (not shown) is provided, and power is supplied from the power supply unit to each of the above constituent circuits.

斯かる撮影装置1を、外部装置3等に接続せずに単独で使用する場合には、通常の撮影装置と同様に、固体撮像素子11からメインメモリ26に取り込んだ撮像画像データに対し該メインメモリ26上で画像処理や信号圧縮処理等が施され、画像処理,圧縮処理後の撮像画像データを画像記録手段としてのメディアコントローラ30に転送し、メディアコントローラ30がこの撮像画像データを記録メディア35に書き込む。   When such an imaging device 1 is used alone without being connected to the external device 3 or the like, the main image is captured with respect to the captured image data fetched from the solid-state imaging device 11 into the main memory 26 as in the case of an ordinary imaging device. Image processing, signal compression processing, and the like are performed on the memory 26, and the captured image data after the image processing and compression processing is transferred to a media controller 30 as an image recording unit. The media controller 30 stores the captured image data in a recording medium 35. Write to.

撮影装置1を図1に示すパーソナルコンピュータ3等の外部装置に接続して画像を撮像する場合には、ユーザが撮影装置1のレリーズボタンを押下した後、外部装置3からの撮影指示が撮影装置1に入力されるたびに撮影が行われ、撮影された画像データが外部装置3に送信される。   When the image capturing apparatus 1 is connected to an external apparatus such as the personal computer 3 shown in FIG. 1 to capture an image, after the user presses the release button of the image capturing apparatus 1, an image capturing instruction from the external apparatus 3 is received. Each time it is input to 1, shooting is performed, and the captured image data is transmitted to the external device 3.

図3は、外部装置3から撮影指示が発生したときに実行される処理手順を示すフローチャートであり、CPU15が配下の各構成回路を用いて実行する。この撮影装置1は、通信モードが設定されると、即ち、撮像画像データを外部装置3に送信するモードが設定されると、メインメモリ26上に通信用メモリ領域が設定される。   FIG. 3 is a flowchart showing a processing procedure executed when a photographing instruction is issued from the external device 3, and is executed by the CPU 15 using each component circuit under its control. In the photographing apparatus 1, when a communication mode is set, that is, when a mode for transmitting captured image data to the external apparatus 3 is set, a communication memory area is set on the main memory 26.

そして、撮影指示を待機し(ステップS1)、撮影指示がない場合にはステップS2に進み、ユーザからの電源OFF指示がキー入力されたか否かを判定する。電源オフ指示がない場合にはステップS1に戻り、電源オフ指示が有る場合には図3の処理を終了する。   Then, it waits for a shooting instruction (step S1). If there is no shooting instruction, the process proceeds to step S2, and it is determined whether or not a power-off instruction from the user is key-input. When there is no power-off instruction, the process returns to step S1, and when there is a power-off instruction, the process of FIG.

ステップS1の判定の結果、撮影指示が入力された場合にはステップS3に進み、撮影を実行する。撮影指示が無い状態でも、固体撮像素子11からは、常時、スルー画像としての被写体画像データが出力されており、AF検出回路22はこのスルー画像データに基づいて被写体のフォーカス位置を算出し、AE/AWB検出回路24はこのスルー画像データに基づいて自動露出量,オートホワイトバランス量を決定しており、これらの情報に基づいてステップS3の撮影及び画像処理が実行される。   If the result of determination in step S1 is that a shooting instruction has been input, processing proceeds to step S3 and shooting is executed. Even when there is no shooting instruction, the solid-state imaging device 11 always outputs subject image data as a through image, and the AF detection circuit 22 calculates the focus position of the subject based on this through image data, and AE The / AWB detection circuit 24 determines the automatic exposure amount and the auto white balance amount based on the through image data, and the photographing and image processing in step S3 are executed based on these information.

ステップS3の撮影実行によって固体撮像素子11から出力された撮像画像データは、CDSAMP部12,A/D変換部13,画像入力コントローラ21を介してメインメモリ26に取り込まれる。撮影装置1に搭載されるメインメモリ26は、高速処理が必要なため、揮発性メモリで構成される。   The captured image data output from the solid-state imaging device 11 by performing the imaging in step S3 is taken into the main memory 26 via the CDSAMP unit 12, the A / D conversion unit 13, and the image input controller 21. The main memory 26 mounted on the photographing apparatus 1 is composed of a volatile memory because high speed processing is required.

このメインメモリ26には、撮像された画像データを一時保存する画像領域が確保され、この画像領域に撮像画像データが取り込まれ、この画像領域上で、画像信号処理部23が各種画像処理を行い、圧縮処理部25が撮像画像データをJPEG画像データなどに圧縮処理する。   The main memory 26 has an image area for temporarily storing captured image data. The captured image data is captured in the image area, and the image signal processing unit 23 performs various image processes on the image area. The compression processing unit 25 compresses the captured image data into JPEG image data or the like.

表示パネル29に撮像画像データを表示する場合には、メインメモリ26上の画像データを間引き処理した画像データをVRAM28に移し、ビデオエンコーダ27がVRAM28上の画像データを表示パネル29に表示する。   When the captured image data is displayed on the display panel 29, the image data obtained by thinning the image data on the main memory 26 is moved to the VRAM 28, and the video encoder 27 displays the image data on the VRAM 28 on the display panel 29.

ステップS3の撮影及び画像処理が実行された後は、次のステップS4で、通信用メモリ領域に空きが有るか否かが判定される。通信用メモリ領域が一杯であり空きが無い場合には、ステップS5に進み、通信用メモリ領域ではなく、図2のメディアコントローラ30に画像処理後の被写体画像データを転送して記録メディア35に記憶させ、ステップS1に戻る。   After the photographing and image processing in step S3 are executed, it is determined in the next step S4 whether or not there is a free space in the communication memory area. If the communication memory area is full and there is no free space, the process proceeds to step S5, and the subject image data after image processing is transferred to the media controller 30 in FIG. And return to step S1.

通信用メモリ領域に空きが有る場合には、ステップS3で撮影され画像処理された被写体画像データを通信用メモリ領域に移して記憶させ(ステップS6)、ステップS1に戻る。   If there is a free space in the communication memory area, the subject image data imaged and processed in step S3 is moved to the communication memory area and stored (step S6), and the process returns to step S1.

図4は、CPU15が通信モード時に配下の通信部32を用いて実行する処理手順を示すフローチャートである。先ず、通信モードであるか否かを判定し(ステップS11)、通信モード時には次のステップS12に進み、メインメモリ26上に設定されている通信用メモリ領域に画像データが有るか否かを判定する。   FIG. 4 is a flowchart showing a processing procedure executed by the CPU 15 using the subordinate communication unit 32 in the communication mode. First, it is determined whether or not the communication mode is set (step S11). When the communication mode is set, the process proceeds to the next step S12 to determine whether or not image data is present in the communication memory area set on the main memory 26. To do.

通信用メモリ領域に画像データが無い場合にはステップS11に戻り、画像データが有る場合にはステップS13に進み、通信用メモリ領域上の画像データを外部装置3に送信する。   If there is no image data in the communication memory area, the process returns to step S11. If there is image data, the process proceeds to step S13, and the image data on the communication memory area is transmitted to the external device 3.

そして、次のステップS14では、通信用メモリ領域上の画像データのうち送信済みの画像データを消去し、ステップS11に戻る。この画像データの消去は、画像データの送信終了で自動的に行っても良く、また、外部装置3が画像データを受信終了したことの確認信号を撮影装置1に返送したとき行っても良い。   In the next step S14, the transmitted image data is deleted from the image data on the communication memory area, and the process returns to step S11. The erasing of the image data may be automatically performed when the transmission of the image data is completed, or may be performed when the external device 3 returns a confirmation signal indicating that the reception of the image data is completed to the photographing apparatus 1.

この図3,図4の処理手順により、撮影装置1で撮像された被写体画像データは、メインメモリ26上に設定された通信用メモリ領域に次々と格納され、通信用メモリ領域上の被写体画像データは、次々と外部装置3に送信され、送信済みの画像データは通信用メモリ領域から削除されることになる。通信用メモリ領域は、揮発性メモリ26上に設定されるため、読み出し/書込(消去)は高速に行われる。   3 and 4, the subject image data captured by the photographing apparatus 1 is successively stored in the communication memory area set on the main memory 26, and the subject image data on the communication memory area is stored. Are successively transmitted to the external device 3, and the transmitted image data are deleted from the communication memory area. Since the communication memory area is set on the volatile memory 26, reading / writing (erasing) is performed at high speed.

画像データの外部装置3への送信中に、通信チャネルに不具合等が生じ、通信速度が低下すると、通信用メモリ領域に残ってしまう画像データが増え、新たに撮像された被写体画像データを通信用メモリ領域に移すことができなくなってしまう。この場合には、図3のステップS4の判定結果によりステップS5に進み、新たに撮像された被写体画像データは、図1に示す記録メディア35に保存される。   If a communication channel malfunctions during transmission of image data to the external device 3 and the communication speed decreases, the image data remaining in the communication memory area increases, and the newly captured subject image data is used for communication. It cannot be moved to the memory area. In this case, the process proceeds to step S5 based on the determination result of step S4 in FIG. 3, and the newly captured subject image data is stored in the recording medium 35 shown in FIG.

記録メディア35は、通常、不揮発性メモリで構成されるため、その読み出し速度や書き込み速度は揮発性メモリの速度に比較して、例えば5,6倍程度は遅い。しかし、大容量であるため、空き容量が不足してしまう事態は殆どない。   Since the recording medium 35 is usually composed of a nonvolatile memory, its reading speed and writing speed are, for example, about 5 to 6 times slower than the speed of the volatile memory. However, since the capacity is large, there is almost no situation where the free capacity is insufficient.

しかし、順番に撮像された被写体画像データを外部装置3が順に受信している最中に、通信用メモリ領域が一杯になったため所々抜け落ちるのは問題となる。そこで、記録メディア35に保存された被写体画像データを外部装置3に送信する必要が生じる。   However, while the external device 3 is sequentially receiving the subject image data picked up in order, the communication memory area becomes full, so it is problematic that it drops out in some places. Therefore, it becomes necessary to transmit the subject image data stored in the recording medium 35 to the external device 3.

図5は、記録メディア35に保存された被写体画像データを外部装置3に送信する処理手順を示すフローチャートである。先ず、ステップS21で、通信用メモリ領域に空きがあるか否かを判定する。空きが無い場合にはこの図5の処理を終了し、通信用メモリ領域に空きが生じるのを待機する。   FIG. 5 is a flowchart showing a processing procedure for transmitting subject image data stored in the recording medium 35 to the external device 3. First, in step S21, it is determined whether or not there is an empty communication memory area. If there is no vacancy, the processing in FIG. 5 is terminated, and the process waits for the vacancy to be generated in the communication memory area.

ステップS21の判定の結果、通信用メモリ領域に空きが生じた場合には、次にステップS22に進み、不揮発性メモリ(記録メディア35)に送信する必要のある画像データが有るか否か判定する。この画像データが無い場合にはこの図5の処理を終了する。   As a result of the determination in step S21, if there is a free space in the communication memory area, the process proceeds to step S22 to determine whether there is image data that needs to be transmitted to the nonvolatile memory (recording medium 35). . If there is no image data, the processing in FIG. 5 is terminated.

不揮発性メモリ(記録メディア35)に送信する必要のある画像データが存在する場合には、次のステップS23に進み、この画像データを通信用メモリ領域にコピー(転写)し、通信用メモリ領域上の画像データを外部装置3に送信する(ステップS24)。記録メディア35上の画像データを、直接、外部装置3に送信すると、不揮発性メモリのデータ読み出し速度は遅いため、揮発性メモリにコピーしてから揮発性メモリ上の画像データを送信する方が高速処理可能である。   If there is image data that needs to be transmitted to the non-volatile memory (recording medium 35), the process proceeds to the next step S23, and this image data is copied (transferred) to the communication memory area. Is transmitted to the external device 3 (step S24). When the image data on the recording medium 35 is transmitted directly to the external device 3, the data reading speed of the nonvolatile memory is slow. Therefore, it is faster to copy the image data on the volatile memory after copying to the volatile memory. It can be processed.

ステップS24で揮発性メモリ上の画像データを外部装置3に送信した後は、不揮発性メモリ上及び揮発性メモリ(通信用メモリ)上の送信済み画像データを削除し(ステップS25)、次のステップS26に進む。ステップS26では、電源オフ指令が入力されたか否かを判定し、電源オフ指令が入力されていない場合にはステップS21に戻り、不揮発性メモリ(記録メディア35)に残っている画像データの送信を続け、電源オフ指令が入力されている場合にはこの図5の処理を終了する。   After the image data on the volatile memory is transmitted to the external device 3 in step S24, the transmitted image data on the nonvolatile memory and the volatile memory (communication memory) is deleted (step S25), and the next step Proceed to S26. In step S26, it is determined whether or not a power-off command has been input. If no power-off command has been input, the process returns to step S21 to transmit the image data remaining in the nonvolatile memory (recording medium 35). Subsequently, when the power-off command is input, the processing in FIG. 5 is terminated.

図6は、通信用メモリ領域に画像データが残っている場合に電源オフ指令が入力されたときの処理手順を示すフローチャートである。揮発性メモリ上に画像データが残っているとき直ちに電源オフが実行されると揮発性メモリ上の画像データが消失してしまうが、図6の処理はこの不具合を回避するための処理である。   FIG. 6 is a flowchart showing a processing procedure when a power-off command is input when image data remains in the communication memory area. If the power is turned off immediately when image data remains on the volatile memory, the image data on the volatile memory is lost. The process of FIG. 6 is a process for avoiding this problem.

先ず、電源オフ指令が入力されたか否かを判定し(ステップS31)、電源オフ指令が入力された場合にはステップS32に進み、通信用メモリ領域が使用中であるか否か即ち画像データが残っているか否かを判定する。   First, it is determined whether or not a power-off command has been input (step S31). If a power-off command has been input, the process proceeds to step S32 to determine whether or not the memory area for communication is in use, that is, image data. It is determined whether it remains.

通信用メモリ領域に画像データが残っていない場合には電源オフ処理を実行して(ステップS34)、図6の処理を終了する。通信用メモリ領域に画像データが残っている場合には、通信用メモリ領域上の画像データを、不揮発性メモリ(記録メディア35)に転送して記憶させ(ステップS33)、その後にステップS34に進んで電源オフ処理を実行する。   If no image data remains in the communication memory area, a power-off process is executed (step S34), and the process of FIG. 6 ends. If the image data remains in the communication memory area, the image data in the communication memory area is transferred to and stored in the non-volatile memory (recording medium 35) (step S33), and then the process proceeds to step S34. Execute the power-off process with.

尚、上述した実施形態では、通信用メモリ領域をメインメモリ内に設定したが、別途、揮発性メモリで構成した通信専用のメモリをバス33に接続する構成を採用することも可能である。しかし、大容量の通信専用メモリを設けるのは撮影装置の製造コストを増大させるため、実施形態の様に他の用途でも用いられる揮発性メモリ上に必要に応じて通信用メモリを設定する構成を採用するのが好ましい。   In the above-described embodiment, the communication memory area is set in the main memory. However, it is also possible to adopt a configuration in which a communication-dedicated memory composed of a volatile memory is connected to the bus 33. However, the provision of a large-capacity communication dedicated memory increases the manufacturing cost of the photographing apparatus. Therefore, as in the embodiment, a configuration in which a communication memory is set on a volatile memory that is also used for other purposes is used. It is preferable to adopt.

本発明に係る撮影装置では、通信モード時に撮像された画像データを一々記録メディアに保存することなく高速に外部装置に送信してしまい、通信速度が遅くなったときなどに撮像画像データを一時的に記録メディアに保存する構成を採用するため、連続して被写体画像を撮像して外部装置に送信する必要のある撮影装置等として有用である。   In the photographing apparatus according to the present invention, the image data captured in the communication mode is transmitted to the external apparatus at a high speed without being stored in the recording medium, and the captured image data is temporarily stored when the communication speed becomes slow. Therefore, it is useful as an imaging device or the like that needs to continuously capture subject images and transmit them to an external device.

本発明の一実施形態に係る撮影装置と外部装置とを通信ケーブルを介して接続した状態を示す外観図である。It is an external view which shows the state which connected the imaging device and external device which concern on one Embodiment of this invention via the communication cable. 図1に示す撮影装置の機能ブロック図である。It is a functional block diagram of the imaging device shown in FIG. 図2に示すCPUが通信モード時に実行する撮像画像データの記録処理手順を示すフローチャートである。It is a flowchart which shows the recording processing procedure of the captured image data which CPU shown in FIG. 2 performs at the time of communication mode. 図2に示すCPUが通信モード時に実行する外部装置への送信処理手順を示すフローチャートである。It is a flowchart which shows the transmission process procedure to the external device which CPU shown in FIG. 2 performs at the time of communication mode. 図2に示すCPUが通信モード時に一時的に記録メディアに保存された画像データを外部装置に送信する処理手順を示すフローチャートである。3 is a flowchart illustrating a processing procedure in which the CPU shown in FIG. 2 transmits image data temporarily stored in a recording medium to an external device in a communication mode. 図2に示すCPUが電源オフ時に実行する処理手順を示すフローチャートである。It is a flowchart which shows the process sequence which CPU shown in FIG. 2 performs at the time of power-off.

符号の説明Explanation of symbols

1 撮影装置
2 通信ケーブル
3 パーソナルコンピュータ(外部装置)
11 固体撮像素子
15 CPU
26 メインメモリ(揮発性メモリ)
30 メディアコントローラ(画像記録手段)
32 通信部
35 記録メディア(不揮発性メモリ)
1 photographing device 2 communication cable 3 personal computer (external device)
11 Solid-state image sensor 15 CPU
26 Main memory (volatile memory)
30 Media controller (image recording means)
32 Communication unit 35 Recording media (non-volatile memory)

Claims (10)

不揮発性メモリに撮像画像データを書き込む画像記録手段と、外部装置に撮像画像データを送信する通信手段とを備える撮影装置において、揮発性メモリで構成される通信用メモリと、前記外部装置に接続して撮像を行う場合には該撮像により得られた撮像画像データを前記通信用メモリに書き込み該通信用メモリ上の該撮像画像データを前記通信手段により前記外部装置に送信すると共に送信後の該撮像画像データを前記通信用メモリから消去する第1制御手段と、前記外部装置に接続して前記撮像を行っている最中に新たに撮像した撮像画像データを前記通信用メモリに書き込む必要が生じ且つ該通信用メモリの空き容量が不足する場合には該撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させる第2制御手段と、前記外部装置に接続せずに撮像を行う場合には該撮像により得られた撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させる第3制御手段とを備えることを特徴とする撮影装置。   An imaging apparatus comprising an image recording means for writing captured image data in a nonvolatile memory and a communication means for transmitting captured image data to an external device, and a communication memory composed of a volatile memory, connected to the external device When imaging is performed, the captured image data obtained by the imaging is written in the communication memory, and the captured image data on the communication memory is transmitted to the external device by the communication unit and the captured image is transmitted. First control means for erasing image data from the communication memory, and it becomes necessary to write newly captured image data captured in the communication memory while connected to the external device and performing the imaging. Second control means for transferring the captured image data to the image recording means and recording it in the non-volatile memory when the free space of the communication memory is insufficient And third control means for transferring captured image data obtained by the imaging to the image recording means for recording in the nonvolatile memory when imaging is performed without being connected to the external device. An imaging device. 前記第2制御手段の制御により前記不揮発性メモリに撮像画像データが書き込まれた場合には、前記通信用メモリに空きが生じたとき該不揮発性メモリ上の前記撮像画像データを該通信用メモリにコピーし該通信用メモリ上の該撮像画像データを前記通信手段により前記外部装置に送信する第4制御手段を備えることを特徴とする請求項1に記載の撮影装置。   When the captured image data is written in the nonvolatile memory under the control of the second control means, the captured image data on the nonvolatile memory is stored in the communication memory when the communication memory is empty. The photographing apparatus according to claim 1, further comprising: a fourth control unit that copies and transmits the captured image data on the communication memory to the external device through the communication unit. 前記第4制御手段の制御により前記不揮発性メモリ上の撮像画像データが前記外部装置に送信された場合には該不揮発性メモリ上及び前記通信用メモリ上の該撮像画像データを消去させる第5制御手段を備えることを特徴とする請求項2に記載の撮影装置。   Fifth control for erasing the captured image data on the nonvolatile memory and the communication memory when the captured image data on the nonvolatile memory is transmitted to the external device by the control of the fourth control means The photographing apparatus according to claim 2, further comprising: means. 前記外部装置に送信されていない撮像画像データが前記通信用メモリ上にあり且つ電源オフ指令が入力された場合には該通信用メモリ上の該撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させたあと電源オフ処理を行う第6制御手段を備えることを特徴とする請求項1乃至請求項3のいずれかに記載の撮影装置。   When captured image data that has not been transmitted to the external device is on the communication memory and a power-off command is input, the captured image data on the communication memory is transferred to the image recording means and The photographing apparatus according to any one of claims 1 to 3, further comprising sixth control means for performing power-off processing after recording in a nonvolatile memory. 前記通信用メモリは、メインメモリとして使用される揮発性メモリ上に設定されることを特徴とする請求項1乃至請求項4のいずれかに記載の撮影装置。   5. The photographing apparatus according to claim 1, wherein the communication memory is set on a volatile memory used as a main memory. 不揮発性メモリに撮像画像データを書き込む画像記録手段と外部装置に撮像画像データを送信する通信手段とを備える撮影装置の撮像画像データ処理方法において、前記外部装置に接続して撮像を行う場合には該撮像により得られた撮像画像データを揮発性メモリで構成される通信用メモリに書き込み該通信用メモリ上の該撮像画像データを前記通信手段により前記外部装置に送信すると共に送信後の該撮像画像データを前記通信用メモリから消去し、前記外部装置に接続して前記撮像を行っている最中に新たに撮像した撮像画像データを前記通信用メモリに書き込む必要が生じ且つ該通信用メモリの空き容量が不足する場合には該撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させ、前記外部装置に接続せずに撮像を行う場合には該撮像により得られた撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させることを特徴とする撮影装置の撮像画像データ処理方法。   In a captured image data processing method of a photographing apparatus including an image recording unit that writes captured image data in a non-volatile memory and a communication unit that transmits the captured image data to an external device, when imaging is performed by connecting to the external device The captured image data obtained by the imaging is written in a communication memory composed of a volatile memory, and the captured image data on the communication memory is transmitted to the external device by the communication means, and the captured image after transmission is transmitted. Data is erased from the communication memory, and it is necessary to write newly captured image data to the communication memory while the image is being connected to the external device and the communication memory is empty. When the capacity is insufficient, the captured image data is transferred to the image recording means and recorded in the nonvolatile memory, and the captured image data is captured without being connected to the external device. Captured image data processing method of the imaging apparatus, characterized in that to record in the nonvolatile memory to transfer the captured image data obtained by the imaging to the image recording means when performing. 前記空き容量不足で前記不揮発性メモリに撮像画像データが書き込まれた場合には、前記通信用メモリに空きが生じたとき該不揮発性メモリ上の前記撮像画像データを該通信用メモリにコピーし該通信用メモリ上の該撮像画像データを前記通信手段により前記外部装置に送信することを特徴とする請求項6に記載の撮影装置の撮像画像データ処理方法。   When the captured image data is written in the nonvolatile memory due to insufficient free space, the captured image data on the nonvolatile memory is copied to the communication memory when the communication memory is empty. 7. The captured image data processing method of an imaging apparatus according to claim 6, wherein the captured image data on a communication memory is transmitted to the external device by the communication means. 前記不揮発性メモリ上の撮像画像データが前記外部装置に送信された場合には該不揮発性メモリ上及び前記通信用メモリ上の該撮像画像データを消去することを特徴とする請求項7に記載の撮影装置の撮像画像データ処理方法。   8. The captured image data on the nonvolatile memory and the communication memory are deleted when the captured image data on the nonvolatile memory is transmitted to the external device. A method for processing captured image data of an imaging apparatus. 前記外部装置に送信されていない撮像画像データが前記通信用メモリ上にあり且つ電源オフ指令が入力された場合には該通信用メモリ上の該撮像画像データを前記画像記録手段に転送して前記不揮発性メモリに記録させたあと電源オフ処理を行うことを特徴とする請求項6乃至請求項8のいずれかに記載の撮影装置の撮像画像データ処理方法。   When captured image data that has not been transmitted to the external device is on the communication memory and a power-off command is input, the captured image data on the communication memory is transferred to the image recording means and 9. The captured image data processing method for an imaging apparatus according to claim 6, wherein the power-off process is performed after recording in a non-volatile memory. 前記通信用メモリは、メインメモリとして使用される揮発性メモリ上に設定されることを特徴とする請求項6乃至請求項9のいずれかに記載の撮影装置の撮像画像データ処理方法。   10. The captured image data processing method for an imaging apparatus according to claim 6, wherein the communication memory is set on a volatile memory used as a main memory.
JP2007077427A 2007-03-23 2007-03-23 Imaging apparatus and picked-up image data processing method therefor Pending JP2008236692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007077427A JP2008236692A (en) 2007-03-23 2007-03-23 Imaging apparatus and picked-up image data processing method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007077427A JP2008236692A (en) 2007-03-23 2007-03-23 Imaging apparatus and picked-up image data processing method therefor

Publications (1)

Publication Number Publication Date
JP2008236692A true JP2008236692A (en) 2008-10-02

Family

ID=39908874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007077427A Pending JP2008236692A (en) 2007-03-23 2007-03-23 Imaging apparatus and picked-up image data processing method therefor

Country Status (1)

Country Link
JP (1) JP2008236692A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010183189A (en) * 2009-02-03 2010-08-19 Canon Inc Electronic device and control method of the same, and program
CN112135036A (en) * 2019-06-25 2020-12-25 发那科株式会社 Image processing system and industrial machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010183189A (en) * 2009-02-03 2010-08-19 Canon Inc Electronic device and control method of the same, and program
CN112135036A (en) * 2019-06-25 2020-12-25 发那科株式会社 Image processing system and industrial machine

Similar Documents

Publication Publication Date Title
US8417293B2 (en) Electronic device, method of controlling the same, and program
JP6238756B2 (en) Imaging apparatus, control method, and program
JP2010252054A (en) Device and method for controlling communication, and imaging device
JP2007282265A (en) Digital camera
JP2007081465A (en) Remote controller and imaging apparatus
JP2011077654A (en) Imaging apparatus, control method thereof and program
JP3885013B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, RECORDING MEDIUM THEREOF, AND PROGRAM THEREOF
JP2008236692A (en) Imaging apparatus and picked-up image data processing method therefor
JP4967383B2 (en) Information management system, photographing method, image display device, and image display method
JP2006325148A (en) Apparatus and method for imaging
JP4574426B2 (en) Data processing apparatus and data processing method
JP3721927B2 (en) Digital camera and recording medium
JP2009077243A (en) Photographing device and method of photographed image data processing thereof
JP5050023B2 (en) Digital camera
JP2011130198A (en) Imaging apparatus, control method thereof and program
JP2008228073A (en) Image pick-up device, image transfer method and computer program
JP4067418B2 (en) Digital camera
JP2006345188A (en) Image sensing device and method of controlling the same
JP2005094288A (en) Electronic camera, photographing control program, and shot control method
JP2006253993A (en) Imaging apparatus
JP2007049632A (en) Digital camera
JP5299120B2 (en) Imaging device
JP2005268864A (en) Digital camera
JP4697927B2 (en) Imaging device
JP4574504B2 (en) Imaging apparatus and control method thereof