JP2005333349A - Imaging apparatus - Google Patents
Imaging apparatus Download PDFInfo
- Publication number
- JP2005333349A JP2005333349A JP2004149110A JP2004149110A JP2005333349A JP 2005333349 A JP2005333349 A JP 2005333349A JP 2004149110 A JP2004149110 A JP 2004149110A JP 2004149110 A JP2004149110 A JP 2004149110A JP 2005333349 A JP2005333349 A JP 2005333349A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- reduced image
- output
- unit
- memory
- 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
Links
Images
Abstract
Description
本発明は、被写体を撮像して画像データを出力する撮像装置に関する。 The present invention relates to an imaging apparatus that images a subject and outputs image data.
近年、デジタルカメラ等の撮像装置は、高機能化、低価格化が進み、急速に普及している。デジタルカメラは、撮像画像をデジタル画像データとして得ることができるため、撮影画像をデジタルカメラの表示モニタに表示したり、メモリカード等の記録媒体に記録したりすることができる。このようなデジタルカメラでは、撮影後、記録媒体に画像データが記録されるとともに画像データの縮小画像が表示モニタに表示され、ユーザは、この縮小画像を見ることで、その撮影結果を確認することができる。従来、撮像後に表示されるクイックビュー画像を記録用画像データの完成に先行して出力することでクイックビュー画像の表示タイムラグを改善することが可能な装置が提案されている(例えば、特許文献1参照)。 In recent years, imaging devices such as digital cameras have rapidly become widespread with higher functionality and lower prices. Since the digital camera can obtain a captured image as digital image data, the captured image can be displayed on a display monitor of the digital camera or recorded on a recording medium such as a memory card. In such a digital camera, after shooting, image data is recorded on a recording medium and a reduced image of the image data is displayed on a display monitor, and the user confirms the shooting result by viewing the reduced image. Can do. 2. Description of the Related Art Conventionally, there has been proposed an apparatus capable of improving the display time lag of a quick view image by outputting a quick view image displayed after imaging before the recording image data is completed (for example, Patent Document 1). reference).
上記したような撮像装置は、被写体を撮像して画像データを出力するカメラモジュールと、この出力された画像データの記録及び表示等を行う撮像装置本体(以下、本体ユニットという。)とに大別することが可能であり、画像データをJPEG(Joint Photographic Expert Group)画像等に圧縮する画像圧縮と、画像データの縮小画像生成と、をカメラモジュール側で行う構成が考えられている。このような、カメラモジュール側で画像データの画像圧縮及び縮小画像の生成を行って本体側に出力するような構成において、撮影画像の縮小画像を撮影直後に本体側の表示モニタに表示させる場合、以下の3つの方法が考えられる。 The imaging apparatus as described above is roughly divided into a camera module that images a subject and outputs image data, and an imaging apparatus main body (hereinafter referred to as a main body unit) that records and displays the output image data. A configuration in which image compression for compressing image data into a JPEG (Joint Photographic Expert Group) image and the like and generation of a reduced image of the image data is performed on the camera module side is considered. In such a configuration that performs image compression and generation of reduced image data on the camera module side and outputs to the main body side, when displaying a reduced image of the captured image on the display monitor on the main body side immediately after shooting, The following three methods are conceivable.
(1)カメラモジュールから撮影画像のJPEG画像を本体側に出力した後、カメラモジュールから撮影画像の縮小画像を本体ユニットに出力し、本体ユニットは、この出力された縮小画像を表示モニタに表示させる。
(2)カメラモジュールから撮影画像の縮小画像を本体ユニットに出力し、本体ユニットは、この出力された縮小画像を表示モニタに表示させた後、カメラモジュールから撮影画像のJPEG画像を本体側に出力する。なお、本縮小画像の出力方法は上記した特許文献1の表示方法に該当する。
(3)カメラモジュールから撮影画像のJPEG画像のみを本体ユニットに出力し、本体ユニットは、この出力されたJPEG画像を伸長して、伸長後の画像データから縮小画像を生成し表示モニタに表示させる。
(2) Output a reduced image of the captured image from the camera module to the main unit. The main unit displays the output reduced image on the display monitor, and then outputs a JPEG image of the captured image from the camera module to the main unit. To do. Note that the output method of the reduced image corresponds to the display method of Patent Document 1 described above.
(3) Only the JPEG image of the photographed image is output from the camera module to the main unit, and the main unit expands the output JPEG image, generates a reduced image from the expanded image data, and displays it on the display monitor. .
しかしながら、上記した(1)の方法では、カメラモジュールからJPEG画像の出力後、縮小画像が本体ユニットに出力されるまでの間、表示モニタで縮小画像を確認することができないため、縮小画像が表示されるまでの間、タイムラグが発生する可能性があり、撮影結果の確認作業を迅速に行えないという問題があった。また、カメラモジュールにJPEG画像の出力完了までの間、縮小画像が格納できるだけのメモリが必要になるためコストが増大してしまう可能性がある。 However, in the above method (1), since the reduced image cannot be confirmed on the display monitor until the reduced image is output to the main unit after the JPEG image is output from the camera module, the reduced image is displayed. In the meantime, there is a possibility that a time lag may occur, and there is a problem that confirmation of the photographing result cannot be performed quickly. Also, until the JPEG image output is completed in the camera module, a memory that can store the reduced image is necessary, which may increase the cost.
(2)の方法では、カメラモジュールから縮小画像を先に本体ユニットに出力するため、撮影後直ちに縮小画像の表示を行うことが可能であるが、縮小画像の出力完了までの間、JPEG画像が格納できるだけの比較的大きな容量のメモリがカメラモジュールに必要であるためコストが増大してしまう可能性がある。 In the method (2), since the reduced image is output from the camera module to the main unit first, it is possible to display the reduced image immediately after shooting. However, until the output of the reduced image is completed, the JPEG image is not displayed. Since the camera module requires a relatively large capacity of memory that can be stored, the cost may increase.
(3)の方法では、撮影後、カメラモジュールからJPEG画像が本体ユニットに出力された後、本体ユニットでJPEG画像の伸長及び縮小画像の生成が完了するまでの間、縮小画像を表示モニタで確認することができないため、タイムラグが発生する可能性があり、撮影結果の確認作業を円滑に行えないという問題があった。また、本体ユニットにJPEG伸長と縮小画像を生成する機能が必要となるためコストが増大してしまう可能性がある。 In the method (3), after the JPEG image is output from the camera module to the main unit after shooting, the reduced image is confirmed on the display monitor until the JPEG image is expanded and the reduced image is generated on the main unit. Therefore, there is a possibility that a time lag may occur, and there is a problem that it is not possible to smoothly check the photographing result. Further, since the main unit needs a function for generating JPEG decompression and reduced images, the cost may increase.
本発明の課題は、コストの低減化を図るとともに、撮影直後の早いタイミングで撮影画像の縮小画像を表示することが可能な撮像装置を提供することである。 An object of the present invention is to provide an imaging apparatus capable of reducing cost and displaying a reduced image of a captured image at an early timing immediately after imaging.
上記課題を解決するために、請求項1に記載の発明は、
内蔵する撮影手段により取得された撮影画像データを処理する第1の制御手段を含むカメラモジュールと、このカメラモジュールから出力された画像データを処理して表示手段に表示させる第2の制御手段を含む本体ユニットと、を備えた撮像装置において、
前記カメラモジュールは、前記撮影画像データを圧縮する圧縮手段と、この圧縮手段により圧縮された圧縮画像データを記憶する圧縮画像データメモリと、前記撮影画像データの縮小画像を生成する縮小画像生成手段と、この縮小画像生成手段により生成された縮小画像データを記憶する縮小画像データメモリと、前記圧縮画像データメモリから出力される圧縮画像データと前記縮小画像データメモリから出力される縮小画像データとを選択的に切り替えて出力する切替手段と、を備え、
前記第1の制御手段は、前記圧縮画像データメモリの記憶動作の状態推移と縮小画像データメモリの記憶動作の状態推移とに基づいて前記切替手段の切替タイミングを制御することにより、前記圧縮画像データと縮小画像データとを切り替えて前記本体ユニットに出力させることを特徴としている。
In order to solve the above problem, the invention according to claim 1 is:
A camera module including a first control unit that processes captured image data acquired by the built-in imaging unit, and a second control unit that processes the image data output from the camera module and displays the image data on the display unit. In an imaging device comprising a main unit,
The camera module includes a compression unit that compresses the captured image data, a compressed image data memory that stores the compressed image data compressed by the compression unit, and a reduced image generation unit that generates a reduced image of the captured image data. Selecting a reduced image data memory for storing reduced image data generated by the reduced image generation means, a compressed image data output from the compressed image data memory, and a reduced image data output from the reduced image data memory Switching means for automatically switching and outputting,
The first control means controls the switching timing of the switching means based on the state transition of the storage operation of the compressed image data memory and the state transition of the storage operation of the reduced image data memory, whereby the compressed image data And the reduced image data are switched and output to the main unit.
ここで、「圧縮画像データ」とは、JPEG画像圧縮、JPEG2000画像圧縮等の画像処理を意味しており、「縮小画像データ」とは、サムネイル画像やスクリーンネイル画像等の画像サイズを縮小したデータを意味している。また、「記憶動作の状態推移」とは、例えば、圧縮画像データメモリ又は縮小画像データメモリの記憶容量が満杯に近づく状態等を意味する。 Here, “compressed image data” means image processing such as JPEG image compression and JPEG2000 image compression, and “reduced image data” means data obtained by reducing the image size, such as thumbnail images and screen nail images. Means. Further, “the state transition of the storage operation” means, for example, a state in which the storage capacity of the compressed image data memory or the reduced image data memory is almost full.
請求項2に記載の発明は、請求項1に記載の発明において、
前記第1の制御手段は、前記圧縮画像データメモリ又は縮小画像データメモリの記憶容量残量が所定の値に達する度に、当該所定の値に達した画像データメモリに記憶された画像データを前記切替手段の切替タイミングを制御して前記本体ユニットに出力させることを特徴としている。
The invention according to claim 2 is the invention according to claim 1,
Whenever the remaining storage capacity of the compressed image data memory or the reduced image data memory reaches a predetermined value, the first control means stores the image data stored in the image data memory that has reached the predetermined value. The switching timing of the switching means is controlled and output to the main unit.
請求項3に記載の発明は、請求項1又は2に記載の発明において、
前記第1の制御手段は、前記切替手段の切替タイミングの制御に先立ち、当該切替タイミング制御により出力される画像データが記憶された画像データメモリが、前記圧縮画像データメモリか縮小画像データメモリかを識別するための識別情報を、前記本体ユニットに出力することを特徴としている。
The invention according to claim 3 is the invention according to claim 1 or 2,
Prior to controlling the switching timing of the switching means, the first control means determines whether the image data memory storing the image data output by the switching timing control is the compressed image data memory or the reduced image data memory. Identification information for identification is output to the main unit.
請求項4に記載の発明は、請求項3に記載の発明において、
前記第2の制御手段は、前記出力された識別情報に基づいて前記圧縮画像データと縮小画像データとを前記表示手段に表示させることを特徴としている。
The invention according to claim 4 is the invention according to claim 3,
The second control means displays the compressed image data and the reduced image data on the display means based on the output identification information.
請求項1に記載の発明によれば、第1の制御手段は、圧縮画像データメモリの記憶動作の状態推移と縮小画像データメモリへの記憶動作の状態推移とに基づいて切替手段の切替タイミングを制御することにより、圧縮画像データと縮小画像データとを切り替えて本体ユニットに出力させる。このような構成にしたことにより、処理画像データ及び縮小画像データを効率よく出力することが可能となるため、縮小画像が表示されるまでの間のタイムラグを改善することができる。したがって、撮影直後の早いタイミングで縮小画像データを表示することができる。また、処理画像記憶手段及び縮小画像記憶手段の記憶容量を小さく構成することが可能となるため、コストの低減化を図ることができる。 According to the first aspect of the present invention, the first control means sets the switching timing of the switching means based on the state transition of the storage operation in the compressed image data memory and the state transition of the storage operation in the reduced image data memory. By controlling, compressed image data and reduced image data are switched and output to the main unit. With such a configuration, the processed image data and the reduced image data can be output efficiently, so that the time lag until the reduced image is displayed can be improved. Therefore, the reduced image data can be displayed at an early timing immediately after shooting. In addition, since the storage capacities of the processed image storage unit and the reduced image storage unit can be reduced, the cost can be reduced.
請求項2に記載の発明によれば、第1の制御手段は、圧縮画像データメモリ又は縮小画像データメモリの記憶容量残量が所定の値に達する度に、当該所定の値に達した画像データメモリに記憶された画像データを切替手段の切替タイミングを制御して本体ユニットに出力させる。このような構成にしたことにより、処理画像データ及び縮小画像データを効率よく出力することが可能となるため、縮小画像が表示されるまでの間のタイムラグを改善することができる。したがって、撮影直後の早いタイミングで縮小画像データを表示することができる。また、処理画像記憶手段及び縮小画像記憶手段の記憶容量を小さく構成することが可能となるため、コストの低減化を図ることができる。 According to the second aspect of the present invention, the first control means, when the remaining storage capacity of the compressed image data memory or the reduced image data memory reaches a predetermined value, the image data that has reached the predetermined value. The image data stored in the memory is output to the main unit by controlling the switching timing of the switching means. With such a configuration, the processed image data and the reduced image data can be output efficiently, so that the time lag until the reduced image is displayed can be improved. Therefore, the reduced image data can be displayed at an early timing immediately after shooting. In addition, since the storage capacities of the processed image storage unit and the reduced image storage unit can be reduced, the cost can be reduced.
請求項3に記載の発明によれば、切替手段の制御に先立ち、当該切替制御により出力されるデータが記憶された画像記憶手段が、処理画像記憶手段か縮小画像記憶手段かを識別するための識別情報を記憶制御手段に出力する。このような構成にしたことにより、切替手段の制御に伴って出力されるデータが、処理画像データか縮小画像データかを識別情報に基づいて判別することができる。 According to the third aspect of the present invention, prior to the control of the switching unit, the image storage unit storing the data output by the switching control is used to identify whether the image storage unit is the processed image storage unit or the reduced image storage unit. The identification information is output to the storage control means. With this configuration, it is possible to determine whether the data output in accordance with the control of the switching unit is processed image data or reduced image data based on the identification information.
請求項4に記載の発明によれば、第2の制御手段は、カメラモジュールから出力された識別情報に基づいて圧縮画像データと縮小画像データとを表示手段に表示させる。このような構成にしたことにより、効率よく出力された処理画像データ及び縮小画像データを表示することが可能となるため、縮小画像が表示されるまでの間のタイムラグを改善することができる。 According to the invention described in claim 4, the second control means causes the display means to display the compressed image data and the reduced image data based on the identification information output from the camera module. By adopting such a configuration, it is possible to display the processed image data and the reduced image data that are output efficiently, so that the time lag until the reduced image is displayed can be improved.
以下、本発明の撮像装置を撮像装置付き携帯電話機10に適用した例を、図1〜図5を参照して詳細に説明する。
Hereinafter, an example in which the imaging apparatus of the present invention is applied to a
図1に携帯電話機10の機能的構成を示す。図1に示すように、携帯電話機10は、メインCPU(Central Processing Unit)11、表示部12、入力部13、RAM(Random Access Memory)14、通信制御部15、記憶部16、音声入出力部17、電源部18、カメラモジュール20等を備えて構成され、各部はバス19により接続されている。ここで、カメラモジュール20が特許請求の範囲に記載のカメラモジュールであり、携帯電話機10からカメラモジュール20を除いたものが特許請求の範囲に記載の本体ユニットである。
FIG. 1 shows a functional configuration of the
メインCPU11は、記憶部16に記憶されているシステムプログラムを読み出し、RAM14内に形成されたワークメモリに展開し、該システムプログラムに従って各部を制御する。また、メインCPU11は、記憶部16に記憶されている各種処理プログラムやメールソフト等のアプリケーションプログラムを読み出してワークメモリに展開し、各種処理を実行し、それらの処理結果をRAM14内のワークメモリに記憶すると共に表示部12に表示させる。そして、ワークメモリに格納した処理結果を記憶部16内の指定の保存先に保存させる。
The
また、メインCPU11は、カメラモジュール20から出力されるJPEG画像データ及び縮小画像データを画像出力I/F210を介して受信すると、このJPEG画像データ及び縮小画像データを記憶部16に記憶させる。なお、ここでJPEG画像データ及び縮小画像データの記憶は、JPEG画像データ及び縮小画像データの出力に先立ってカメラモジュール20から出力される識別情報に基づいて行われる。
When the
また、メインCPU11は、記憶部16に記憶されたJPEG画像データ及び縮小画像データを表示部12に表示させる制御を行う。
Further, the
表示部12は、LCD(Liquid Crystal Display)パネル等により構成され、メインCPU11から入力される表示データに基づいて画面表示を行う。
The
入力部13は、カーソルキー、文字/数字キー、各種機能キー等を有し、そのキー操作による押下信号をメインCPU11に出力する。
The
RAM14は、バッファとして各種プログラムや処理中のデータ、処理結果などを一時的に記憶するワークエリアを形成する。
The
通信制御部15は、不図示のアンテナを含む無線通信部で構成され、メインCPU11から入力される指示に従って、無線基地局を介して通信ネットワークN上の各機器と各種情報を送受信する。
The
記憶部16は、フラッシュメモリなどの不揮発メモリ等により構成され、携帯電話機10に対応するシステムプログラム、及び該システムプログラム上で実行可能な各種処理プログラム、アプリケーションプログラム及びこれらのプログラムで処理されたデータ等を記録する。
The
音声入出力部17は、マイク、スピーカ、増幅器、A/D変換部、及びD/A変換部等を有し、マイクから入力されるユーザの音声信号をデジタル音声情報に変換し、その音声情報をメインCPU11に出力するとともに、受話中にメインCPU11から入力される音声情報や、着信音、操作確認音等の音声情報をアナログの音声信号に変換して増幅し、スピーカから出力する。
The voice input /
電源部18は、電源用回路や充電池等により構成され、メインCPU11から入力される指示に基づいて、携帯電話機10が有する各機能部への電源供給を行う。
The
カメラモジュール20は、図2に示すように、光学レンズ201、CCD(Charge Coupled Diode)202、A/D回路203、信号処理回路204、JPEG画像生成部205、縮小画像生成部206、JPEG画像メモリ207、縮小画像メモリ208、切替部209、画像出力I/F210、アクチュエータ211、記憶部212、電源回路213、サブCPU214、シリアル通信I/F215等から構成されている。
As shown in FIG. 2, the
光学レンズ201は、ガラス又はプラスチックから構成され、被写体の光画像を結像し、CCD202は、光学レンズ201によって受光面上に結像された光画像信号をアナログの画像データに変換する。なお、本実施の形態では、CCDを用いることとしたが、これに限らず、CMOS(Complementary Metal Oxide Semiconductor)センサ等であってもよい。
The
A/D回路203は、CCD202から出力されたアナログ画像データをデジタの画像データに変換し、信号処理回路204に出力する。信号処理回路204は、A/D回路203から出力された画像データに対して、例えば、YUVデータに変換、ガンマ補正、ホワイトバランス補正等の処理を施して撮影画像データとしてJPEG画像生成部205及び縮小画像生成部206に出力する。
The A /
JPEG画像生成部205は、信号処理回路204から出力された撮影画像データに対しJPEG方式に準拠した圧縮方式で圧縮処理を施し、生成されたJPEG画像データをJPEG画像メモリ207に順次出力する。
The JPEG
縮小画像生成部206は、信号処理回路204から出力された撮影画像データからサムネイル画像等の縮小画像データの生成を行い、この生成される縮小画像データを縮小画像メモリ208に順次出力する。
The reduced
JPEG画像メモリ207は、FIFO(First In , First Out)メモリであって、JPEG画像生成部205から出力されるJPEG画像データの一時的な記憶を行うバッファとして機能する。
The
縮小画像メモリ208は、FIFOメモリであって、縮小画像生成部206から出力される縮小画像データの一時的な記憶を行うバッファとして機能する。
The reduced
切替部209は、サブCPU214の制御に基づいてJPEG画像メモリ207に記憶されたJPEG画像データの出力と、縮小画像メモリ208に記憶された縮小画像データの出力と、を選択的に切り替えて何れか一方のデータのみが画像出力I/F210出力されるよう切り替えを行う。
The
画像出力I/F210は、JPEG画像データ及び縮小画像データをメインCPU11に出力するためのインターフェイスであって、一方向の高速なバスによってメインCPU11と接続されている。
The image output I /
アクチュエータ211は、不図示のアクチュエータ駆動回路を有しており、サブCPU214の制御に応じて、例えば、光学レンズ201の移動によるズーミング、光学レンズ201のレンズバリア(図示略)の開閉等の駆動を行う。
The
記憶部212は、フラッシュメモリなどの不揮発メモリ等により構成され、カメラモジュール20の各部の制御に必要なプログラムコード及び制御パラメータが記憶されている。
The
電源回路213は、図1に示した電源部18から供給される電力の電圧調整等を行い、サブCPU214の制御に応じて、カメラモジュール20の各部位に電力供給を行う。
The
サブCPU214は、記憶部212に記憶されたプログラムコードに従ってカメラモジュール20の各部を統括的に制御するとともに、シリアル通信I/F215を介してメインCPU11から出力される制御信号に基づいてカメラモジュール20の各部の制御を行う。
The
また、サブCPU214は、JPEG画像メモリ207及び縮小画像メモリ208の記憶動作の状態推移に基づいて、JPEG画像メモリ207又は縮小画像メモリ208の何れか一方の画像メモリに記憶されたデータが出力されるよう切替部209の切替タイミングの制御を行う。
Further, the
具体的には、JPEG画像メモリ207又は縮小画像メモリ208の記憶容量残量が所定の値に達した度に、所定の値に達した画像メモリに記憶されたデータが出力されるよう切替部209を制御して切り替えさせる。
Specifically, every time the remaining storage capacity of the
ここで「記憶容量残量が所定の値」とは、例えば、記憶容量残量が総記憶容量の10%に達するような値であって、それぞれの画像メモリが有する記憶容量に基づいて閾値を設定することが好ましく、JPEG画像生成部205及び縮小画像生成部206の処理能力等に基づいて最適な閾値を設定するようにすることがより好ましい。
Here, the “remaining storage capacity is a predetermined value” is, for example, a value such that the remaining storage capacity reaches 10% of the total storage capacity, and the threshold is set based on the storage capacity of each image memory. It is preferable to set, and it is more preferable to set an optimum threshold based on the processing capability of the JPEG
また、サブCPU214は、JPEG画像メモリ207又は縮小画像メモリ208の記憶容量残量が所定の値に達した際に、所定の値に達した画像メモリが、JPEG画像メモリ207か縮小画像メモリ208かを識別するための識別情報を、切替部209の切替タイミングの制御に先立ち、画像出力I/F210を介してメインCPU11に出力する。
The
シリアル通信I/F215は、サブCPU214とメインCPU11とを接続するためのシリアル通信インターフェイスであって、メインCPU11から入力される制御信号をサブCPU214に出力を行うとともに、サブCPU214から入力される各種信号をメインCPU11に出力する。
The serial communication I /
次に、本実施の形態の動作を図3のフローチャートを参照して説明する。
図3は、携帯電話機10におけるJPEG画像データ及び縮小画像データがカメラモジュール20から出力される際の処理の流れを示すフローチャートである。なお、以下のフローチャートに記述されている各処理は、サブCPU214の制御により行われる。
Next, the operation of the present embodiment will be described with reference to the flowchart of FIG.
FIG. 3 is a flowchart showing a flow of processing when JPEG image data and reduced image data are output from the
本処理の前提として、ユーザから入力部13を介して被写体の撮影を行うレリーズ操作が行われ、この操作に基づいてメインCPU11からシリアル通信I/F215を介し、サブCPU214に撮像を行う旨の制御信号が出力されたものとする。
As a premise of this processing, a release operation for photographing a subject is performed from the user via the
まず、メインCPU11から撮像を行う旨の制御信号を受けると、光学レンズ201を通じてCCD202にて取り込まれたアナログ画像データが、A/D回路203でデジタル画像データに変換され、この画像データにガンマ補正、ホワイトバランス補正等の処理が信号処理回路204で施され、処理された撮影画像データがJPEG画像生成部205及び縮小画像生成部206に出力される(ステップS11)。
First, upon receiving a control signal for imaging from the
次いで、JPEG画像生成部205に出力された撮影画像データが、JPEG方式に準拠した圧縮方式で圧縮されてJPEG画像データが生成され、JPEG画像メモリ207に順次記憶されるとともに、縮小画像生成部206に出力された撮影画像データの縮小画像データが生成されて縮小画像メモリ208に順次記憶される(ステップS12)。
Next, the photographed image data output to the JPEG
JPEG画像メモリ207又は縮小画像メモリ208の記憶容量残量が所定の値に達するまでそれぞれJPEG画像データ、縮小画像データが順次記憶され、一方の記憶容量残量が所定の値に達した際に(ステップS13;Yes)、その所定の値に達した側の画像メモリを識別するための識別情報がサブCPU214から画像出力I/F210を介してメインCPU11に出力される(ステップS14)。例えば、縮小画像メモリ208の記憶容量残量が、所定の値に達した場合、縮小画像メモリ208と識別することが可能な識別情報がメインCPU11に出力されることになる。
JPEG image data and reduced image data are sequentially stored until the remaining storage capacity of the
また、ステップS13では、記憶容量残量が変化しなくなった際、つまり、JPEG画像生成部205にてJPEG画像データの生成が完了又は縮小画像生成部206にて縮小画像データの生成が完了したような場合には、記憶容量残量が所定の値に達していなくとも、画像出力I/F210に出力されるよう切替部209切り替える制御を行うこととする。
In step S13, when the remaining storage capacity does not change, that is, the generation of JPEG image data by the JPEG
ステップS14で識別情報が出力された後、所定値に達した側の画像メモリに記憶されたJPEG画像データ、縮小画像データの何れかのデータ(以下、単にデータという)を出力するよう切替部209が制御され、該当するデータが画像出力I/F210に出力されて(ステップS15)、メインCPU11に出力される。例えば、縮小画像メモリ208の記憶容量残量が所定の値に達した場合、縮小画像メモリ208に記憶された縮小画像データが出力されるよう切替部209の切り替えタイミングが制御されて、縮小画像データの出力されることになる。
After the identification information is output in step S14, the
次いで、JPEG画像データ及び縮小画像データの出力が完了したか否かが判定されて、両画像データの出力が完了していないような場合には(ステップS16;No)、再びステップS13に戻る。なお、ステップS15で出力されたデータは、ステップS13で画像メモリ又は縮小画像メモリの一方の記憶容量残量が所定値に達したと判断されるまで、継続して出力されるものとする。 Next, it is determined whether or not the output of JPEG image data and reduced image data has been completed. If the output of both image data has not been completed (step S16; No), the process returns to step S13 again. Note that the data output in step S15 is continuously output until it is determined in step S13 that the remaining storage capacity of one of the image memory and the reduced image memory has reached a predetermined value.
一方、ステップS16で、両画像データの出力が完了したと判定された場合には(ステップS16;Yes)、本処理は終了する。 On the other hand, if it is determined in step S16 that the output of both image data has been completed (step S16; Yes), this process ends.
図4は、上記した処理で出力されるJPEG画像データ及び縮小画像データのタイムチャートを模式的に示した図である。ここで、上段左端から右端へ、続いて下段左端から右端へと時間経過を示している。 FIG. 4 is a diagram schematically showing a time chart of JPEG image data and reduced image data output by the above processing. Here, the passage of time is shown from the upper left end to the right end and then from the lower left end to the right end.
図4で示すように、縮小画像データ及びJPEG画像データが出力される前に、それぞれのデータが記憶された画像メモリを識別する識別情報が送信され、縮小画像データとJPEG画像データとが交互に出力される形態になっている。一般に、JPEG画像データと比較し縮小画像データのデータ容量は少ないため、縮小画像データの出力が先に終了し、それ以降はJPEG画像データが出力されることになる。 As shown in FIG. 4, before the reduced image data and the JPEG image data are output, identification information for identifying the image memory storing the respective data is transmitted, and the reduced image data and the JPEG image data are alternately displayed. It is in the form that is output. In general, since the data capacity of the reduced image data is smaller than that of the JPEG image data, the output of the reduced image data ends first, and thereafter, the JPEG image data is output.
次に、図5のフローチャートを参照して、図3の処理でカメラモジュールから出力されたJPEG画像データ及び縮小画像データが記憶部16に記憶されて、表示部12に縮小画像データが表示されるまでの処理の流れを示す。なお、以下のフローチャートに記述されている各処理は、メインCPU11により行われる。
Next, referring to the flowchart of FIG. 5, the JPEG image data and the reduced image data output from the camera module in the process of FIG. 3 are stored in the
まず、カメラモジュール20から画像出力I/F210を介して出力される識別情報とデータとが入力されるまで待機し(ステップS21;No)、識別情報とデータと入力されると(ステップS21;Yes)、この入力された識別情報が、JPEG画像メモリ207を示すものか縮小画像メモリ208を示すものかが判別される(ステップS22)。なお、識別情報は、データに先立ってカメラモジュール20から出力されるものとする。
First, it waits until the identification information and data output from the
ステップS22で、縮小画像メモリ208を示すものであった場合(ステップS22;縮小)、この識別情報に続いて入力されたデータが縮小画像データであると判定されて、縮小画像データとして記憶部16に記憶される(ステップS23)。
In step S22, if the reduced
次いで、一画像分の縮小画像データが記憶されたか否かが判定される(ステップS24)。ここで、一画像分の縮小画像データとは、カメラモジュール20の縮小画像生成部206で生成された一画像分の縮小画像データを意味しており、縮小画像メモリ208が一画像分の記憶容量を有していないような場合、縮小画像データは分割して入力されることになるため、このような判定が必要となる。
Next, it is determined whether or not reduced image data for one image has been stored (step S24). Here, the reduced image data for one image means reduced image data for one image generated by the reduced
ステップS24で一画像分の縮小画像データが記憶されていないと判定された場合(ステップS24;No)、ステップS21に再び戻る。一方、ステップS24で一画像分の縮小画像データが記憶されたと判定されると(ステップS24;Yes)、その縮小画像データを表示部12に表示させ(ステップS25)、ステップS27に移行する If it is determined in step S24 that reduced image data for one image has not been stored (step S24; No), the process returns to step S21 again. On the other hand, if it is determined in step S24 that reduced image data for one image has been stored (step S24; Yes), the reduced image data is displayed on the display unit 12 (step S25), and the process proceeds to step S27.
一方、ステップS22でJPEG画像メモリ207を示すものであった場合(ステップS22;JPEG)、この識別情報に続いて入力されたデータがJPEG画像データであると判定され、JPEG画像データとして記憶部16に記憶されて(ステップS26)、ステップS27に移行する。
On the other hand, when the
ステップS27では、一画像分のJPEG画像データの記憶が完了したか否かが判定される。ここで、一画像分のJPEG画像データとは、カメラモジュール20のJPEG画像生成部205で生成される一画像分のJPEG画像データを意味しており、JPEG画像メモリ207が一画像分の記憶容量を有していないような場合、JPEG画像データは分割して入力されることになるため、このような判定が必要となる。
In step S27, it is determined whether or not storage of JPEG image data for one image has been completed. Here, JPEG image data for one image means JPEG image data for one image generated by the JPEG
ステップS27で一画像分のJPEG画像データが記憶されていないと判定された場合(ステップS27;No)、ステップS21に再び戻る。一方、ステップS27で一画像分のJPEG画像データが記憶されたと判定されると(ステップS27;Yes)、本処理は終了する。 If it is determined in step S27 that JPEG image data for one image is not stored (step S27; No), the process returns to step S21 again. On the other hand, if it is determined in step S27 that JPEG image data for one image has been stored (step S27; Yes), the process ends.
一般に、JPEG画像データと比較し縮小画像データのデータ容量は少ないため、一画像分の縮小画像データの記憶が先に終了し、その後、一画像分のJPEG画像データの記憶が終了することになる。メインCPU11は、一画面分の縮小画像データの記憶後、この縮小画像データを表示部12に表示させる。
In general, since the data capacity of reduced image data is small compared to JPEG image data, storage of reduced image data for one image ends first, and thereafter storage of JPEG image data for one image ends. . After storing the reduced image data for one screen, the
このように、識別情報に基づいて一画面分のJPEG画像データ及び縮小画像データを効率よく記憶することができるため、縮小画像データが表示されるまでの間のタイムラグを改善することができる。 Thus, since JPEG image data and reduced image data for one screen can be efficiently stored based on the identification information, the time lag until the reduced image data is displayed can be improved.
以上のように、JPEG画像メモリ207に記憶されたJPEG画像データと、縮小画像メモリ208に記憶された縮小画像データと、をそれぞれの記憶容量残量が所定の値に達する度に、切替部209を制御して出力するようにしたことにより、JPEG画像データと縮小画像データとを効率よく出力することが可能であるため、縮小画像データが表示されるまでの間のタイムラグを改善することができる。したがって、撮影直後の早いタイミングで縮小画像データを表示することができる。また、JPEG画像データ及び縮小画像データを記憶する記憶手段の記憶容量を小さく構成することが可能であるため、コストの低減化を図ることができる。
As described above, each time the remaining storage capacity of the JPEG image data stored in the
なお、本実施の形態では、カメラモジュール20の各部を統括的に制御するサブCPU214の制御により、切替部209を選択的に切り替えてJPEG画像データと縮小画像データとを出力することとしたが、これに限らず、切替部209の切替制御及び図3で示したステップS13〜S16の処理を実行する切替制御手段を別途備えることとしてもよく、処理速度の観点からハードウェア的に処理を行う切替制御手段であることがより好ましい。
In the present embodiment, the
本実施の形態における記述は、本発明に係る撮像装置の一例を示すものであり、これに限定されるものではない。本実施の形態における携帯電話機10の細部構成及び詳細動作に関しては、本発明の趣旨を逸脱しない範囲で適宜変更可能である。
The description in the present embodiment shows an example of the imaging apparatus according to the present invention, and the present invention is not limited to this. The detailed configuration and detailed operation of the
例えば、本発明の撮像装置を備えた撮像システムとして、撮像装置付き携帯電話機10を用いて説明したが、これに限らず、デジタルカメラや撮像装置を備えたPDA等であってもよい。
For example, the image pickup system including the image pickup apparatus of the present invention has been described using the
10 携帯電話機(撮像装置)
11 メインCPU(第2の制御手段)
12 表示部(表示手段)
13 入力部
14 RAM
15 通信制御部
16 記憶部
17 音声入出力部
18 電源部
19 バス
20 カメラモジュール(カメラモジュール)
201 光学レンズ(撮影手段)
202 CCD(撮影手段)
203 A/D回路(撮影手段)
204 信号処理回路(撮影手段)
205 JPEG画像生成部(圧縮手段)
206 縮小画像生成部(縮小画像生成手段)
207 JPEG画像メモリ(圧縮画像データメモリ)
208 縮小画像メモリ(縮小画像データメモリ)
209 切替部(切替手段)
210 画像出力I/F
211 アクチュエータ
212 記憶部
213 電源回路
214 サブCPU(第1の制御手段)
215 シリアル通信I/F
10 Mobile phone (imaging device)
11 Main CPU (second control means)
12 Display section (display means)
13
15
201 Optical lens (photographing means)
202 CCD (photographing means)
203 A / D circuit (photographing means)
204 Signal processing circuit (imaging means)
205 JPEG image generation unit (compression means)
206 Reduced image generator (reduced image generator)
207 JPEG image memory (compressed image data memory)
208 Reduced image memory (Reduced image data memory)
209 switching unit (switching means)
210 Image output I / F
215 Serial communication I / F
Claims (4)
前記カメラモジュールは、前記撮影画像データを圧縮する圧縮手段と、この圧縮手段により圧縮された圧縮画像データを記憶する圧縮画像データメモリと、前記撮影画像データの縮小画像を生成する縮小画像生成手段と、この縮小画像生成手段により生成された縮小画像データを記憶する縮小画像データメモリと、前記圧縮画像データメモリから出力される圧縮画像データと前記縮小画像データメモリから出力される縮小画像データとを選択的に切り替えて出力する切替手段と、を備え、
前記第1の制御手段は、前記圧縮画像データメモリの記憶動作の状態推移と縮小画像データメモリの記憶動作の状態推移とに基づいて前記切替手段の切替タイミングを制御することにより、前記圧縮画像データと縮小画像データとを切り替えて前記本体ユニットに出力させることを特徴とする撮像装置。 A camera module including a first control unit that processes captured image data acquired by the built-in imaging unit, and a second control unit that processes the image data output from the camera module and displays the image data on the display unit. In an imaging device comprising a main unit,
The camera module includes a compression unit that compresses the captured image data, a compressed image data memory that stores the compressed image data compressed by the compression unit, and a reduced image generation unit that generates a reduced image of the captured image data. Selecting a reduced image data memory for storing reduced image data generated by the reduced image generation means, a compressed image data output from the compressed image data memory, and a reduced image data output from the reduced image data memory Switching means for automatically switching and outputting,
The first control means controls the switching timing of the switching means based on the state transition of the storage operation of the compressed image data memory and the state transition of the storage operation of the reduced image data memory, whereby the compressed image data And the reduced image data are switched and output to the main unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004149110A JP2005333349A (en) | 2004-05-19 | 2004-05-19 | Imaging apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004149110A JP2005333349A (en) | 2004-05-19 | 2004-05-19 | Imaging apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005333349A true JP2005333349A (en) | 2005-12-02 |
Family
ID=35487706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004149110A Pending JP2005333349A (en) | 2004-05-19 | 2004-05-19 | Imaging apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005333349A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010124298A (en) * | 2008-11-20 | 2010-06-03 | Canon Inc | Image pickup device, method for controlling image pickup device, program and recording medium |
-
2004
- 2004-05-19 JP JP2004149110A patent/JP2005333349A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010124298A (en) * | 2008-11-20 | 2010-06-03 | Canon Inc | Image pickup device, method for controlling image pickup device, program and recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5182352B2 (en) | Imaging apparatus, image composition method, and program | |
KR20100008936A (en) | Portable terminal having dual camera and photographing method using the same | |
US10334336B2 (en) | Method of controlling digital photographing apparatus and digital photographing apparatus using the same | |
KR20100095002A (en) | Multiple image sensor system with shared processing | |
US7969467B2 (en) | Printing system, printing device, imaging device, printing method and image-transmitting method | |
JP2008543203A (en) | Temporary image buffer for image processor using compressed raw image | |
JP2007208903A (en) | Photographic system and photographic instruction apparatus | |
JP6319491B2 (en) | Imaging apparatus and control method | |
US7570296B2 (en) | Photographing system | |
KR100697626B1 (en) | Mobile device with dual camera module and method of taking serial photographs using the same | |
JP2005333349A (en) | Imaging apparatus | |
JP6583458B2 (en) | Imaging apparatus and control method | |
JP6583457B2 (en) | Imaging apparatus and control method | |
JP4193691B2 (en) | Imaging apparatus, moving image file recording method, and program | |
JP4226813B2 (en) | Digital camera, information presentation method, and recording medium | |
KR102166331B1 (en) | Method and device for quick changing to playback mode | |
JP4227066B2 (en) | Image capturing apparatus and image reproducing method of image capturing apparatus | |
JP5561044B2 (en) | Imaging apparatus, imaging method, and program | |
JP4188808B2 (en) | Imaging device | |
JP4362619B2 (en) | Movie recording apparatus, movie recording method, and movie recording program | |
JP2005191697A (en) | Moving picture photographing apparatus, moving picture recording method, and moving picture recording program | |
JP2004040204A (en) | Image reproducing apparatus | |
KR20070034491A (en) | Imaging device | |
JP2021034879A (en) | Imaging system, imaging apparatus, and program | |
WO2007074946A1 (en) | Digital camera, mobile phone, and program |