JP2007036314A - Photographing apparatus and method, image region extract apparatus and method, and program - Google Patents
Photographing apparatus and method, image region extract apparatus and method, and program Download PDFInfo
- Publication number
- JP2007036314A JP2007036314A JP2005212067A JP2005212067A JP2007036314A JP 2007036314 A JP2007036314 A JP 2007036314A JP 2005212067 A JP2005212067 A JP 2005212067A JP 2005212067 A JP2005212067 A JP 2005212067A JP 2007036314 A JP2007036314 A JP 2007036314A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- recording
- raw
- confirmation
- 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.)
- Withdrawn
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明は、画像データ、とくに信号処理が未処理の生画像データを記録媒体に記録することが可能なデジタルカメラ等の撮影装置および方法、画像からトリミング領域を抽出する画像領域抽出装置および方法、並びに撮影方法および画像領域抽出方法をコンピュータに実行させるためのプログラムに関するものである。 The present invention relates to a photographing apparatus and method such as a digital camera capable of recording image data, in particular raw image data that has not undergone signal processing, on a recording medium, an image region extracting device and method for extracting a trimming region from an image, The present invention also relates to a program for causing a computer to execute a photographing method and an image region extraction method.
一般的なデジタルカメラは、CCD等の撮像素子から得られる画像信号を10ビットまたは12ビットのデジタルデータに変換し、同時化、ホワイトバランス調整処理、ガンマ調整、リサイズ処理等の様々な信号処理を施した後、JPEG符号化等の圧縮方式に従って圧縮して記録媒体に記録するようになっている。この種のデジタルカメラでは、画像記録時に非可逆圧縮を施すため、再生時やプリント時に必ずしも充分に良好な画質が得られない場合がある。また、記録された画像は、既に様々な信号処理が施されているため、ユーザ自身が再生画像に対してさらなる信号処理を施すと画質が劣化する場合がある。 A typical digital camera converts an image signal obtained from an image sensor such as a CCD into 10-bit or 12-bit digital data, and performs various signal processing such as synchronization, white balance adjustment processing, gamma adjustment, and resizing processing. After being applied, the data is compressed according to a compression method such as JPEG encoding and recorded on a recording medium. Since this type of digital camera performs lossy compression at the time of image recording, a sufficiently good image quality may not always be obtained at the time of reproduction or printing. In addition, since the recorded image has already been subjected to various signal processing, the image quality may deteriorate if the user himself / herself performs further signal processing on the reproduced image.
これに対して、カメラ内で信号処理を実施せず、撮像素子から出力される画素毎のアナログ信号をA/D変換後、信号処理を加えないで状態で生画像データ(以下、CCD−RAWデータとする)をそのまま記録する方式が提案されている。 On the other hand, the signal processing is not performed in the camera, and the analog image signal for each pixel output from the image sensor is A / D converted, and then the raw image data (hereinafter referred to as CCD-RAW) without any signal processing. Data) is recorded as it is.
ここで、CCD−RAWデータは、JPEGデータと異なり、デジタルカメラの液晶モニタに再生表示する上で必要な信号処理が施されていないため、CCD−RAWデータの再生時には、必要な信号処理をすべて行わなければならず、時間を要する。このため、デジタルカメラ上の再生、コマ送りが快適に行われなくなり、ユーザに不快感を与えることになる。 Here, unlike JPEG data, CCD-RAW data is not subjected to signal processing necessary for playback and display on a liquid crystal monitor of a digital camera. Therefore, when CCD-RAW data is played back, all necessary signal processing is performed. Must be done and takes time. For this reason, playback and frame advance on the digital camera are not performed comfortably, and the user feels uncomfortable.
このため、画像の撮影時にデジタルカメラにおいて直ちに再生可能なフォーマット(例えばJPEGフォーマット)の確認用の画像を生成し、これをCCD−RAWデータと併せて記録媒体に記録する手法が提案されている(特許文献1参照)。この手法によれば、確認用の画像を再生することにより、CCD−RAWデータの内容を直ちに確認することができる。
ところで、確認用の画像(以下、確認画像とする)を再生して画像の内容を確認した上で、画像上の所望とする領域のみをトリミングして再生したりプリント出力したい場合がある。しかしながら、確認画像は生画像データと比較して画素数が少なく、また画角も生画像データにより表される画像と比較して小さくなっている。このため、トリミングを行う場合には、生画像データに対して信号処理を施して確認画像に代えて生画像を再生し、再生された生画像上に領域を設定してトリミングを行う必要があり、処理に時間を要するものとなっている。 By the way, there is a case where a confirmation image (hereinafter referred to as a confirmation image) is reproduced and the contents of the image are confirmed, and only a desired area on the image is trimmed and reproduced or printed out. However, the confirmation image has a smaller number of pixels than the raw image data, and the angle of view is also smaller than the image represented by the raw image data. Therefore, when performing trimming, it is necessary to perform signal processing on the raw image data to reproduce the raw image instead of the confirmation image, and to perform trimming by setting an area on the reproduced raw image. , Processing is time consuming.
本発明は、上記事情に鑑みなされたものであり、より迅速にトリミングを行うことができるようにすることを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to enable trimming more rapidly.
本発明による撮影装置は、撮影により所定の信号処理が未処理の生画像データを取得する撮像手段と、前記生画像データに前記所定の信号処理を施して確認画像を生成する確認画像生成手段と、前記生画像データを記録媒体に記録する際に、前記確認画像を併せて記録する記録制御手段とを備えた撮影装置において、
前記生画像データにより表される画像上の座標系と前記確認画像上の座標系との対応関係を表す対応情報を生成し、該対応情報を前記生画像データおよび前記確認画像と併せて前記記録媒体に記録する対応情報記録手段をさらに備えたことを特徴とするものである。
An imaging apparatus according to the present invention includes an imaging unit that acquires raw image data that has not been subjected to predetermined signal processing by imaging, and a confirmation image generation unit that generates the confirmation image by performing the predetermined signal processing on the raw image data. In the photographing apparatus provided with a recording control means for recording the confirmation image together when recording the raw image data on a recording medium,
Generating correspondence information representing a correspondence relationship between a coordinate system on the image represented by the raw image data and a coordinate system on the confirmation image, and recording the correspondence information together with the raw image data and the confirmation image; The apparatus further includes correspondence information recording means for recording on a medium.
本発明による画像領域抽出装置は、本発明の撮影装置により取得された前記確認画像を表示装置に表示する確認画像表示制御手段と、
前記表示された確認画像上における領域の指定を受け付ける領域指定手段と、
前記対応情報を参照して、前記生画像データにおける前記指定された領域に対応する対応領域を抽出し、該抽出した対応領域の前記生画像データに対して所定の信号処理を施す信号処理手段とを備えたことを特徴とするものである。
An image region extraction device according to the present invention comprises a confirmation image display control means for displaying the confirmation image acquired by the photographing device of the present invention on a display device;
Area designation means for accepting designation of an area on the displayed confirmation image;
Signal processing means for extracting a corresponding area corresponding to the designated area in the raw image data with reference to the correspondence information and performing predetermined signal processing on the raw image data in the extracted corresponding area; It is characterized by comprising.
本発明による撮影方法は、撮影により所定の信号処理が未処理の生画像データを取得する撮像手段と、前記生画像データに前記所定の信号処理を施して確認画像を生成する確認画像生成手段と、前記生画像データを記録媒体に記録する際に、前記確認画像を併せて記録する記録制御手段とを備えた撮影装置における撮影方法おいて、
前記生画像データにより表される画像上の座標系と前記確認画像上の座標系との対応関係を表す対応情報を生成し、
該対応情報を前記生画像データおよび前記確認画像と併せて前記記録媒体に記録することを特徴とするものである。
An imaging method according to the present invention includes an imaging unit that acquires raw image data that has not undergone predetermined signal processing by imaging, and a confirmation image generation unit that performs the predetermined signal processing on the raw image data to generate a confirmation image. When recording the raw image data on a recording medium, in a shooting method in a shooting apparatus including a recording control unit that also records the confirmation image,
Generating correspondence information representing the correspondence between the coordinate system on the image represented by the raw image data and the coordinate system on the confirmation image;
The correspondence information is recorded on the recording medium together with the raw image data and the confirmation image.
本発明による画像領域抽出方法は、本発明の撮影装置により取得された前記確認画像を表示装置に表示し、
前記表示された確認画像上における領域の指定を受け付け、
前記対応情報を参照して、前記生画像データにおける前記指定された領域に対応する対応領域を抽出し、該抽出した対応領域の前記生画像データに対して所定の信号処理を施すことを特徴とするものである。
The image region extraction method according to the present invention displays the confirmation image acquired by the photographing apparatus of the present invention on a display device,
Accepting designation of the area on the displayed confirmation image,
Referring to the correspondence information, extracting a corresponding region corresponding to the designated region in the raw image data, and performing predetermined signal processing on the raw image data in the extracted corresponding region, To do.
なお、本発明による撮影方法および画像領域抽出方法をコンピュータに実行させるためのプログラムとして提供してもよい。 In addition, you may provide as a program for making a computer perform the imaging | photography method and image area extraction method by this invention.
本発明の撮影装置および方法によれば、生画像データと確認画像とを併せて記録する際に、生画像データにより表される画像上の座標系と確認画像上の座標系との対応関係を表す対応情報が生成され、これが生画像データおよび確認画像と併せて記録媒体に記録される。 According to the photographing apparatus and method of the present invention, when the raw image data and the confirmation image are recorded together, the correspondence between the coordinate system on the image represented by the raw image data and the coordinate system on the confirmation image is determined. Corresponding correspondence information is generated and recorded together with the raw image data and the confirmation image on the recording medium.
また、本発明の画像領域抽出装置および方法によれば、確認画像が再生され、再生された確認画像上においてトリミングする領域の指定が受け付けられると、対応情報が参照されて生画像データにおける指定された領域に対応する対応領域が抽出され、抽出された対応領域に所定の信号処理が施されることとなる。 Further, according to the image region extraction apparatus and method of the present invention, when a confirmation image is reproduced and designation of a region to be trimmed on the reproduced confirmation image is accepted, the correspondence information is referred to and designated in the raw image data. A corresponding region corresponding to the selected region is extracted, and predetermined signal processing is performed on the extracted corresponding region.
このように本発明においては、生画像データの全体に対して所定の信号処理を施すことなく、確認画像を用いて指定された領域に対応する対応領域にのみ所定の信号処理を施せばよいため、生画像データを用いてより高速にトリミングを行うことができる。 As described above, in the present invention, it is only necessary to perform predetermined signal processing only on the corresponding region corresponding to the region specified using the confirmation image without performing predetermined signal processing on the entire raw image data. Therefore, trimming can be performed at higher speed using the raw image data.
以下、図面を参照して本発明の実施形態について説明する。図1は本実施形態による撮影装置を適用したデジタルカメラの制御系を示すブロック図である。図1に示すように本実施形態によるデジタルカメラ10には、撮像部18が配設されている。撮像部18は、レンズ18A、メカニカル・シャッタおよび絞り(図示省略)が配設され、レンズ18Aから入射した光を、メカニカル・シャッタが開放しているときに、絞りを介して、CCD18Bに入射させる構成である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a control system of a digital camera to which the photographing apparatus according to the present embodiment is applied. As shown in FIG. 1, the
また、デジタルカメラ10にはストロボ12が設けられ、必要に応じて、ストロボ制御部14の制御により、手動または自動で発光するようになっている。
Further, the
デジタルカメラ10の撮像部18、ストロボ制御部14を含む各制御デバイスは、バス16によって接続され、CPU20によってその動作が制御されるようになっている。各制御デバイスは、バッテリ22からの電源が供給され、動作可能となっている。
Each control device including the
バス16には、制御デバイスとして、システムメモリ(RAMやROM)24、不揮発性メモリ26、タイマ機能部28、およびカレンダ/時計機能部30がそれぞれ接続されている。
A system memory (RAM or ROM) 24, a
また、バス16には、I/Oポート32が接続され、このI/Oポート32には、デジタルカメラ10の筐体34(後述する図2参照)に取り付けられる操作・表示系36からの信号の入出力がなされる。
An I /
図2は本実施形態によるデジタルカメラ10の背面側斜視図である。図2に示すように、デジタルカメラ10の筐体34の裏面側(撮像部18が配設された側とは反対側)には、液晶モニタ(LCD)38が配設されている。このLCD38の上部は、操作・表示系36の一部である、コマ番号表示部40が設けられ、例えば、7セグメント液晶表示によって、撮影コマ番号が表示されるようになっている。
FIG. 2 is a rear perspective view of the
また、操作・表示系36として、筐体34の裏面側におけるLCD38の右側には、LCD38上に表示される画像のコマ切り替え、項目選択等に適用される円形の上下左右キー42が配設されている。この円形の上下左右キー42の軸線を上下左右に傾斜することにより、それぞれに傾斜させたときに異なるスイッチの接点が切り替わり、当該切り替え信号がI/Oポート32に入力されるようになっている。
Further, as the operation /
上下左右キー42の下部には、縦方向に上からメニューボタン44、実行ボタン46および取消ボタン48が配列されている。また、筐体34の上面には、レリーズボタン50およびモード設定ダイヤル52が設けられている。
Below the up / down / left /
モード設定ダイヤル52およびメニューボタン44が操作されると、LCD38上には、例えば、図3に示すような、各種設定を行うためのセットアップ画面54が表示されるようになっている。
When the
実行ボタン46は、上記セットアップ画面54上で、上下左右キー42による機能選択後の決定時に操作され、取消ボタン48は、決定した機能のキャンセルの際に操作される。
The
図1に戻り、バス16には、カードI/F56を介して、記録媒体としてのメモリカード58が着脱可能なメモリカードスロット60が接続されている。撮像部18で撮影された画像データは、このメモリカードスロット60に装填されたメモリカード58に記録されることになる。
Returning to FIG. 1, a
ここで、本実施形態では、メモリカード58への画像データの記録モードとして、信号処理が施されるとともにJPEG形式で圧縮されたJPEGデータを記録するJPEG記録制御機能と、圧縮を施さない生画像データ(CCD−RAWデータ)を記録するCCD−RAW記録制御機能とが設定されている。
Here, in the present embodiment, as a recording mode of image data to the
図4はJPEG記録制御機能によってメモリカード58に記録されるファイル構造を示す図である。図4に示すように、JPEG記録制御機能によってメモリカード58に記録されるファイル構造は、タグ情報領域62、サムネイル領域64、および主画像領域66に分類されている。なお、上記各領域は、一般的なJPEGファイル構造と同様であるので詳細な説明は省略する。
FIG. 4 is a diagram showing a file structure recorded on the
図5はCCD−RAW記録制御機能によってメモリカード58に記録されるファイル構造を示す図である。図5に示すように、CCD−RAW記録制御機能によってメモリカード58に記録されるファイル構造は、ヘッダブロック領域68、表示用画像ブロック領域70、およびCCD−RAW画像ブロック領域74に分類されている。
FIG. 5 is a diagram showing a file structure recorded on the
ヘッダブロック領域68は、メーカー識別子格納部、フォーマット識別子格納部の他、CCD−RAWデータの画素数(RW×RH)を格納するCCD−RAW画素数格納部、CCD−RAWデータにおけるJPEGデータに相当する領域の左上点の座標(RW0,RH0)を格納するJPEG相当領域左上点座標格納部、CCD−RAWデータにおけるJPEGデータの画角に相当する幅RW1を格納するJPEG画角相当幅格納部、CCD−RAWデータにおけるJPEGデータの画角に相当する高さRH1を格納するJPEG画角相当高さ格納部、JPEGデータの画素数(JW×JH)を格納するJPEG画素数格納部に分類されている。
The
なお、CCD−RAWデータの画素数(RW×RH)、CCD−RAWデータにおけるJPEGデータに相当する領域の左上点の座標(RW0,RH0)、CCD−RAWデータにおけるJPEGデータの画角に相当する幅RW1、CCD−RAWデータにおけるJPEGデータの画角に相当する高さRH1、およびJPEGデータの画素数(JW×JH)が、CCD−RAWデータにより表される画像上の座標系と、確認画像を表すJPEGデータ上の座標系との対応関係を表す対応情報となる。図6はCCD−RAWデータ上における対応情報の座標系を示す図である。 The number of pixels of the CCD-RAW data (RW × RH), the coordinates of the upper left point of the area corresponding to the JPEG data in the CCD-RAW data (RW0, RH0), and the angle of view of the JPEG data in the CCD-RAW data. The coordinate system on the image in which the width RW1, the height RH1 corresponding to the angle of view of JPEG data in the CCD-RAW data, and the number of JPEG data pixels (JW × JH) are represented by the CCD-RAW data, and the confirmation image Is correspondence information representing a correspondence relationship with a coordinate system on JPEG data. FIG. 6 is a diagram showing a coordinate system of correspondence information on CCD-RAW data.
表示用画像ブロック領域70には、JPEGファイル構造がそのまま格納されており、その詳細は、タグ情報領域62、サムネイル領域64、および表示画像領域66に分類されている。
The display
すなわち、デジタルカメラ10のLCD38や、パソコン等において画像確認のために画像を再生する場合には、この表示用画像ブロック領域70に格納された、JPEGデータ(例えばVGA(640×480画素))またはサムネイル画像データが読み出されるようになっている。
That is, when an image is reproduced for image confirmation on the
CCD−RAW画像ブロック領域74は、再生パラメータセット格納部100と、CCD−RAWデータ格納部102とに分類されている。このCCD−RAWデータ格納部102に格納された画像データが、撮影された生画像データの実体となる。なお、CCD−RAWデータとJPEGデータによりそれぞれ表される画像のアスペクト比は同一であるものとする。
The CCD-RAW
撮影時において、撮像部18に入力された信号は、A/D変換部104へ送出される。
At the time of shooting, a signal input to the
A/D変換部104においてA/D変換された画像データは、CPU20からの指示に応じて、信号処理部106へ送られて、同時化、ホワイトバランス調整処理、ガンマ調整、およびリサイズ処理等の信号処理が施され、さらに圧縮/伸長部108へ送られて圧縮処理(JPEG)がなされるか、あるいはそのままの状態でカードI/F56を介してメモリカードスロット60へ送られるようになっている。
The A / D converted image data in the A /
メモリカード58に記録された画像データは、CPU20からの再生表示指示に基づいて読み出され、フレームメモリ110に格納され、LCD制御部112の制御により、LCD12に表示される。なお、このとき、LCD112には、OSD(オンスクリーンディスプレイ部)114によって制御される、当該画像データに基づく画像表示とともに文字やキャラクタデータ等が重ねて表示されるようになっている。
The image data recorded on the
なお、バス16には、外部I/F116が接続され、コネクタ118を介してパソコン等の外部制御装置(以下パソコン120という)と直接接続することが可能となっており、このパソコン120にメモリカード58に記録した画像データを伝送することができるようになっている。
An external I /
以下に本実施形態のデジタルカメラの動作について説明する。 The operation of the digital camera of this embodiment will be described below.
デジタルカメラ10で撮影を行う前に、モード設定ダイヤル52を操作してセットアップ画面54をLCD38に表示する。
Before shooting with the
セットアップ画面54により、撮影の条件を設定する。まず、上下左右キー42によって記録モードを選択(反転表示)し、実行ボタンを操作すると、記録モードの選択が可能となる。記録モードの項目では、図3に示すように、JPEG/FINE、JPEG/BASICおよびCCD−RAWというモードが設定されている。
On the
図3ではJPEG/FINE、JPEG/BASIC、CCD−RAWが表示され、上下左右キー42によって選択するべき記録モードを選択(反転表示)し、実行ボタン46を操作する。
In FIG. 3, JPEG / FINE, JPEG / BASIC, and CCD-RAW are displayed, and the recording mode to be selected is selected (inverted display) by the up / down / left /
同様に、JPEG画素数、シャープネス、ビープ音の項目を必要に応じて選択し、それぞれ設定する。 Similarly, JPEG pixel count, sharpness, and beep sound items are selected and set as necessary.
撮影モードでは、LCD38上に撮像部18で撮影されているプレビューが表示され、所定の画角が決まるとレリーズボタン50の操作により、撮影が実行される。
In the photographing mode, a preview photographed by the
記録モードがJPEG/FINEまたはJPEG/BASICの場合、撮像部18で撮像されたデータは、A/D変換部104へ送出され、A/D変換されて、デジタル画像データを生成する。
When the recording mode is JPEG / FINE or JPEG / BASIC, the data imaged by the
その後、信号処理部106においてデジタル画像データに信号処理を施し、さらに圧縮/伸長部108において、デジタル画像データを圧縮し、JPEGデータとしてメモリカード58に記録する。
Thereafter, the
図7は記録モードがCCD−RAWの場合に行われる処理を示すフローチャートである。撮影が行われることにより処理が開始され、撮像部18で撮像されたデータは、A/D変換部104でのA/D変換のみがなされた状態のCCD−RAWデータがメモリカード58に記録される(ステップST1)。
FIG. 7 is a flowchart showing processing performed when the recording mode is CCD-RAW. The processing is started by shooting, and the data captured by the
また、これと併せて、このCCD−RAWの記録モードの場合には、記録モードがJPEG/FINEまたはJPEG/BASICと同様の処理が実行され、LCD38に再生して確認するための確認画像として圧縮されたJPEGデータ(VGA)が生成され、CCD−RAWデータの表示用画像ブロック領域70に格納される(ステップST2)。
At the same time, in the case of this CCD-RAW recording mode, processing similar to that for JPEG / FINE or JPEG / BASIC is executed in the recording mode, and it is compressed as a confirmation image for reproduction on the
さらに、CCD−RAWデータの画素数(RW×RH)、CCD−RAWデータにおけるJPEGデータに相当する領域の左上点の座標(RW0,RH0)、CCD−RAWデータにおけるJPEGデータの画角に相当する幅RW1、CCD−RAWデータにおけるJPEGデータの画角に相当する高さRH1、およびJPEGデータの画素数(JW×JH)が対応情報として生成され(ステップST3)、CCD−RAWデータのヘッダブロック領域68におけるそれぞれの格納部に格納され(ステップST4)、処理を終了する。
Further, it corresponds to the number of pixels of the CCD-RAW data (RW × RH), the coordinates of the upper left point of the area corresponding to the JPEG data in the CCD-RAW data (RW0, RH0), and the angle of view of the JPEG data in the CCD-RAW data. The width RW1, the height RH1 corresponding to the angle of view of JPEG data in the CCD-RAW data, and the number of JPEG data pixels (JW × JH) are generated as correspondence information (step ST3), and the header block area of the CCD-
再生モードでは、インデックスモードが選択された場合は、記録モードがいずれの場合であっても、メモリカード58に記録された各画像領域のサムネイル領域64からからサムネイル画像データが読み出され、LCD上にインデックス画像として、マトリクス状に撮影済の画像が表示される。
In the playback mode, when the index mode is selected, the thumbnail image data is read from the
このとき、CCD−RAWファイル形式においては、表示用画像ブロック領域70の一部として設けたサムネイル領域64からサムネイル画像データが読み出されることになる。
At this time, in the CCD-RAW file format, thumbnail image data is read from the
また、1画像再生モードが選択された場合においても、JPEGファイル形式で記録されている場合には、主画像領域66から圧縮されたJPEGデータが読み出され、圧縮/伸長部108において伸長され、フレームメモリ110に展開された後に、LCD38に表示される。一方、CCD−RAWファイル形式で記録されている場合には、表示用画像ブロック領域70の主画像領域66から確認画像としてのJPEGデータが読み出され、圧縮/伸長部108において伸長され、フレームメモリ110に展開された後に、LCD38に表示される。
Even when the one-image playback mode is selected, if it is recorded in the JPEG file format, the compressed JPEG data is read from the
次いで、上述したようにCCD−RAWデータをパソコン等の外部装置に電送したり、メモリカード58に記録されたCCD−RAWデータを外部装置において、ビューアソフトを用いて表示し、さらにトリミングを行う際の処理について説明する。なお、以降説明する処理はビューアソフトにより行われる処理である。
Next, as described above, when the CCD-RAW data is transmitted to an external device such as a personal computer or the CCD-RAW data recorded on the
図8はトリミングを行う際の処理を示すフローチャートである。 FIG. 8 is a flowchart showing processing when trimming is performed.
CCD−RAWデータの再生の指示が行われることにより処理を開始し、CCD−RAWデータにおける表示用画像ブロック領域70の主画像領域66から確認画像としてのJPEGデータが読み出され(ステップST11)、伸張された後外部装置のモニタに確認画像として表示される(ステップST12)。
Processing is started when an instruction to reproduce the CCD-RAW data is issued, and JPEG data as a confirmation image is read from the
続いて、表示された確認画像上における領域の指定を受け付ける(ステップST13)。図9は表示された確認画像上における領域の指定を説明するための図である。図9に示すように、JPEGデータにより表される確認画像の画素数は(JW×JH)であり、確認画像上における始点(JTW0,JTH0)を基準として幅JTW、高さJTHの領域を指定したものとする。 Subsequently, designation of an area on the displayed confirmation image is accepted (step ST13). FIG. 9 is a diagram for describing designation of a region on the displayed confirmation image. As shown in FIG. 9, the number of pixels of the confirmation image represented by the JPEG data is (JW × JH), and an area of width JTW and height JTH is designated with reference to the start point (JTW0, JTH0) on the confirmation image. Shall be.
次いで、CCD−RAWデータのヘッダブロック68に格納された対応情報が参照されて、CCD−RAWデータ上における、上記指定された領域に対応する対応領域が抽出される(ステップST14)。以下、対応領域の抽出について詳細に説明する。
Next, the correspondence information stored in the
図10は対応領域の抽出を説明するための図である。図10に示すように、JEPGデータにより表される確認画像上における始点(JTW0,JTH0)、幅JTWおよび高さJTHは、CCD−RAWデータにおける始点(RTW0,RTH0)、幅RTWおよび高さRTHにそれぞれ対応する。したがって、対応情報を参照して、CCD−RAWデータにおける始点(RTW0,RTH0)、幅RTWおよび高さRTHを求めることにより対応領域を抽出することができる。 FIG. 10 is a diagram for explaining extraction of corresponding areas. As shown in FIG. 10, the starting point (JTW0, JTH0), width JTW, and height JTH on the confirmation image represented by the JEPG data are the starting point (RTW0, RTH0), width RTW, and height RTH in the CCD-RAW data. Correspond to each. Therefore, by referring to the correspondence information, the corresponding region can be extracted by obtaining the start point (RTW0, RTH0), width RTW, and height RTH in the CCD-RAW data.
まず、確認画像をCCD−RAWデータ座標系に変換するための倍率αは、CCD−RAWデータとJPEGデータとでアスペクト比が固定されていることから、下記の式(1)により算出することができる。 First, since the aspect ratio is fixed between the CCD-RAW data and the JPEG data, the magnification α for converting the confirmation image into the CCD-RAW data coordinate system can be calculated by the following equation (1). it can.
α=JW/RW1=JH/RH1 (1)
したがって、下記の式(2)、(3)により、幅RTWおよび高さRTHを算出することができる。
α = JW / RW1 = JH / RH1 (1)
Therefore, the width RTW and the height RTH can be calculated by the following equations (2) and (3).
RTW=JTW×α (2)
RTH=JTH×α (3)
また始点(RTW0,RTH0)は下記の式(4)、(5)により算出することができる。
RTW = JTW × α (2)
RTH = JTH × α (3)
The starting points (RTW0, RTH0) can be calculated by the following equations (4) and (5).
RTW0=RW0+JTW0×α (4)
JTW0=RH0+JTH0×α (5)
そして抽出した対応領域のCCD−RAWデータに対してのみ信号処理を施すことにより現像を行い(ステップST15)、抽出した領域を表示し(ステップST16)、処理を終了する。
RTW0 = RW0 + JTW0 × α (4)
JTW0 = RH0 + JTH0 × α (5)
Then, development is performed by performing signal processing only on the CCD-RAW data of the extracted corresponding area (step ST15), the extracted area is displayed (step ST16), and the process ends.
このように本実施形態においては、CCD−RAWデータの全体に対して信号処理を施すことなく、確認画像を用いて指定された領域に対応する対応領域にのみ信号処理を施せばよいため、より高速にトリミングを行うことができる。 As described above, in the present embodiment, since it is only necessary to perform signal processing only on the corresponding region corresponding to the region designated using the confirmation image without performing signal processing on the entire CCD-RAW data. Trimming can be performed at high speed.
なお、上記実施形態においては、パソコンにおいてトリミングを行っているが、デジタルカメラにおいてトリミングを行う場合にも、上記と同様に対応情報を用いてCCD−RAWデータから対応領域を抽出するようにしてもよい。 In the above embodiment, trimming is performed by the personal computer. However, when trimming is performed by the digital camera, the corresponding area may be extracted from the CCD-RAW data using the corresponding information in the same manner as described above. Good.
また、上記実施形態においては、CCD−RAWデータの表示用画像ブロック領域70にJPEGデータを格納しているが、例えば、CCD−RAWデータとJPEGデータとを拡張子のみが異なる同一ファイル名とする等により、CCD−RAWデータとJPEGデータとを関連づけてメモリカード58に保存するようにしてもよい。
In the above embodiment, JPEG data is stored in the display
10 デジタルカメラ
16 バス
18 撮像部
18B CCD
20 CPU
38 LCD
54 セットアップ画面
58 メモリカード(記録媒体)
68 ヘッダブロック領域
70 表示用画像ブロック領域
74 CCD−RAW画像ブロック領域
102 CCD−RAWデータ格納部
104 A/D変換部
106 信号処理部
108 圧縮/伸長部
10
20 CPU
38 LCD
54
68
Claims (6)
前記生画像データにより表される画像上の座標系と前記確認画像上の座標系との対応関係を表す対応情報を生成し、該対応情報を前記生画像データおよび前記確認画像と併せて前記記録媒体に記録する対応情報記録手段をさらに備えたことを特徴とする撮影装置。 Imaging means for acquiring raw image data that has not been subjected to predetermined signal processing by photographing, confirmation image generating means for generating a confirmation image by performing the predetermined signal processing on the raw image data, and recording the raw image data In a recording apparatus comprising a recording control means for recording the confirmation image together when recording on a medium,
Generating correspondence information representing a correspondence relationship between a coordinate system on the image represented by the raw image data and a coordinate system on the confirmation image, and recording the correspondence information together with the raw image data and the confirmation image; An imaging apparatus, further comprising correspondence information recording means for recording on a medium.
前記表示された確認画像上における領域の指定を受け付ける領域指定手段と、
前記対応情報を参照して、前記生画像データにおける前記指定された領域に対応する対応領域を抽出し、該抽出した対応領域の前記生画像データに対して所定の信号処理を施す信号処理手段とを備えたことを特徴とする画像領域抽出装置。 Confirmation image display control means for displaying the confirmation image acquired by the photographing apparatus according to claim 1 on a display device;
Area designation means for accepting designation of an area on the displayed confirmation image;
Signal processing means for extracting a corresponding area corresponding to the designated area in the raw image data with reference to the correspondence information and performing predetermined signal processing on the raw image data in the extracted corresponding area; An image area extracting apparatus comprising:
前記生画像データにより表される画像上の座標系と前記確認画像上の座標系との対応関係を表す対応情報を生成し、
該対応情報を前記生画像データおよび前記確認画像と併せて前記記録媒体に記録することを特徴とする撮影方法。 Imaging means for acquiring raw image data that has not been subjected to predetermined signal processing by photographing, confirmation image generating means for generating a confirmation image by performing the predetermined signal processing on the raw image data, and recording the raw image data When recording on a medium, in a shooting method in a shooting apparatus provided with a recording control means for recording the confirmation image together,
Generating correspondence information representing the correspondence between the coordinate system on the image represented by the raw image data and the coordinate system on the confirmation image;
An imaging method, wherein the correspondence information is recorded on the recording medium together with the raw image data and the confirmation image.
前記表示された確認画像上における領域の指定を受け付け、
前記対応情報を参照して、前記生画像データにおける前記指定された領域に対応する対応領域を抽出し、該抽出した対応領域の前記生画像データに対して所定の信号処理を施すことを特徴とする画像領域抽出方法。 Displaying the confirmation image acquired by the photographing apparatus according to claim 1 on a display device;
Accepting designation of the area on the displayed confirmation image,
Referring to the correspondence information, extracting a corresponding region corresponding to the designated region in the raw image data, and performing predetermined signal processing on the raw image data in the extracted corresponding region, Image region extraction method.
前記生画像データにより表される画像上の座標系と前記確認画像上の座標系との対応関係を表す対応情報を生成する手順と、
該対応情報を前記生画像データおよび前記確認画像と併せて前記記録媒体に記録する手順とを有することを特徴とするプログラム。 Imaging means for acquiring raw image data that has not been subjected to predetermined signal processing by photographing, confirmation image generating means for generating a confirmation image by performing the predetermined signal processing on the raw image data, and recording the raw image data When recording on a medium, in a program for causing a computer to execute a photographing method in a photographing apparatus including a recording control unit that records the confirmation image together,
A procedure for generating correspondence information representing a correspondence relationship between a coordinate system on the image represented by the raw image data and a coordinate system on the confirmation image;
And a program for recording the correspondence information on the recording medium together with the raw image data and the confirmation image.
前記表示された確認画像上における領域の指定を受け付ける手順と、
前記対応情報を参照して、前記生画像データにおける前記指定された領域に対応する対応領域を抽出し、該抽出した対応領域の前記生画像データに対して所定の信号処理を施す手順とを有することを特徴とする画像領域抽出方法をコンピュータに実行させるためのプログラム。 A procedure for displaying the confirmation image acquired by the photographing apparatus according to claim 1 on a display device;
A procedure for accepting designation of an area on the displayed confirmation image;
A procedure for extracting a corresponding area corresponding to the designated area in the raw image data with reference to the correspondence information and performing predetermined signal processing on the raw image data in the extracted corresponding area. A program for causing a computer to execute an image region extraction method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005212067A JP2007036314A (en) | 2005-07-22 | 2005-07-22 | Photographing apparatus and method, image region extract apparatus and method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005212067A JP2007036314A (en) | 2005-07-22 | 2005-07-22 | Photographing apparatus and method, image region extract apparatus and method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007036314A true JP2007036314A (en) | 2007-02-08 |
Family
ID=37795077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005212067A Withdrawn JP2007036314A (en) | 2005-07-22 | 2005-07-22 | Photographing apparatus and method, image region extract apparatus and method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007036314A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009142294A1 (en) * | 2008-05-23 | 2009-11-26 | 株式会社ニコン | Image processing device |
JP2011139269A (en) * | 2009-12-28 | 2011-07-14 | Canon Inc | Imaging apparatus |
JP2016082546A (en) * | 2014-10-22 | 2016-05-16 | キヤノン株式会社 | Image processing device and image processing method |
-
2005
- 2005-07-22 JP JP2005212067A patent/JP2007036314A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009142294A1 (en) * | 2008-05-23 | 2009-11-26 | 株式会社ニコン | Image processing device |
JP2011139269A (en) * | 2009-12-28 | 2011-07-14 | Canon Inc | Imaging apparatus |
JP2016082546A (en) * | 2014-10-22 | 2016-05-16 | キヤノン株式会社 | Image processing device and image processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4357151B2 (en) | Digital camera and image data processing system | |
JPH1188672A (en) | Image-processing method, its device, image reproduction method and its device and image-confirming device used for the method | |
JP2007053537A (en) | Imaging apparatus | |
JPH11146312A (en) | Information processing unit, control method of the information processing unit and recording medium | |
JP2007166193A (en) | Camera system | |
JP4725453B2 (en) | Digital camera and image processing program | |
CN100534134C (en) | Apparatus, method and program for information processing | |
JP4696614B2 (en) | Image display control device and program | |
JP4735166B2 (en) | Image display apparatus and program | |
WO2009087962A1 (en) | Image processing unit | |
JP2007048214A (en) | Print preview display method and print system | |
JP3812563B2 (en) | Image processing apparatus and program | |
JP2007036314A (en) | Photographing apparatus and method, image region extract apparatus and method, and program | |
JP4905017B2 (en) | Image display apparatus and program | |
JP5035614B2 (en) | Imaging apparatus and program | |
JP2013135459A (en) | Imaging apparatus and control method and program thereof | |
JP2002084440A (en) | Digital camera, image processing method and recording medium | |
JP2015106843A (en) | Imaging device, imaging control method and program | |
JP3971201B2 (en) | Digital camera | |
JP2009118084A (en) | Digital camera | |
JP2010118826A (en) | Image processing apparatus, program, and image processing method | |
JP2008182499A (en) | Image processor and image processing program | |
JP2006180366A (en) | Stereoscopic image generating apparatus and method and program | |
JP2005278003A (en) | Image processing apparatus | |
JPH1079882A (en) | Image input device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061211 |
|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20081007 |