JP4418482B2 - Detection device - Google Patents
Detection device Download PDFInfo
- Publication number
- JP4418482B2 JP4418482B2 JP2007163178A JP2007163178A JP4418482B2 JP 4418482 B2 JP4418482 B2 JP 4418482B2 JP 2007163178 A JP2007163178 A JP 2007163178A JP 2007163178 A JP2007163178 A JP 2007163178A JP 4418482 B2 JP4418482 B2 JP 4418482B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- information
- optical system
- address
- captured
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Cameras In General (AREA)
- Studio Devices (AREA)
- Viewfinders (AREA)
Description
本発明は、撮像装置で用いられる技術に関し、特に、ファインダ光学系を通して捉えた被写体像を、撮像光学系を通して撮像素子の表面に結像させて撮影を行なう撮像装置で用いられる技術に関する。 The present invention relates to a technique used in an imaging apparatus, and more particularly to a technique used in an imaging apparatus that takes a subject image captured through a finder optical system by forming an image on the surface of an imaging element through the imaging optical system.
ファインダ光学系と撮像光学系とを備え、ファインダ光学系を通して捉えた被写体像を、撮像光学系を通して撮像素子の表面に結像させて撮影を行なうデジタルカメラが知られている。このようなカメラにおいては、ファインダ光学系で設けられる視野枠内で視認される範囲と実際に記録される撮影画像の範囲とは限りなく同一であることが望ましい。ここで、(視野枠内の範囲)÷(撮影画像の範囲)を百分率で示したものを視野率と定義すれば、この視野率は100%であることが理想である。 There has been known a digital camera that includes a finder optical system and an imaging optical system, and shoots an object image captured through the finder optical system by forming an image on the surface of the imaging element through the imaging optical system. In such a camera, it is desirable that the range visually recognized in the field frame provided by the finder optical system and the range of the actually recorded image are infinite. Here, if (percentage in the field frame) / (range of the photographed image) is defined as a percentage, the field ratio is ideally 100%.
しかしながら、実際にはデジタルカメラの製造工程において視野枠及び撮像素子のセッティングに微妙な位置ずれが生じてしまう。そこで、この位置ズレに起因する視野枠内の画像の一部が記録されない場合の発生を未然に防止するため、予めその位置ズレを見込んだサイズに視野枠を狭く設定しておくことが行なわれていた。そのため、このような視野枠が用いられているデジタルカメラで得られる視野率は高々95%程度に留まっていた。 However, in actuality, in the manufacturing process of the digital camera, a slight positional deviation occurs in the setting of the field frame and the image sensor. Therefore, in order to prevent the occurrence of a case where a part of the image in the field frame due to the positional deviation is not recorded, the field frame is set to a size that allows for the positional deviation in advance. It was. For this reason, the visual field ratio obtained with a digital camera using such a visual field frame has been limited to about 95% at most.
この視野率を向上させるために、デジタルカメラの製造工程で視野枠と撮像素子との位置関係を細かく調整するという手法が考えられる。しかしながらこの手法では位置調整の実施により製造コストが上昇してしまう。しかも、撮像素子として例えばCCD(Charge Coupled Device )を使用する場合、CCD素子自体の部品パッケージでの固定位置にも精度誤差が存在し(±0.15mm程度)、更に部品パッケージの外形にも同程度の精度誤差が存在するため、位置調整のための基準位置の特定が難しいので、この調整はきわめて困難な作業となる。 In order to improve the field of view rate, a method of finely adjusting the positional relationship between the field frame and the image sensor in the manufacturing process of the digital camera can be considered. However, this method increases the manufacturing cost due to the position adjustment. In addition, when a CCD (Charge Coupled Device) is used as an image pickup device, for example, there is an accuracy error in the fixed position of the CCD device itself in the component package (about ± 0.15 mm), and the outer shape of the component package is the same. Since there is a degree of accuracy error, it is difficult to specify a reference position for position adjustment, and this adjustment is extremely difficult.
以上の問題を鑑み、理想的な視野率を確保できる高品位なファインダ光学系を容易に提供することが本発明が解決しようとする課題である。 In view of the above problems, it is an object of the present invention to easily provide a high-quality finder optical system capable of ensuring an ideal field of view.
本発明の態様のひとつである検出装置は、被写体像を撮像して光電変換する撮像素子及び該被写体像を観察する一眼レフタイプのファインダ光学系を有する撮像装置と、該ファインダ光学系に取り付けられる調整用のカメラと、検出装置とからなる撮像システムにおける検出装置であって、前記撮像素子によって撮像された撮像画像内の領域であって前記ファインダ光学系にて示されている撮影範囲に対応する該領域の位置を検出する検出手段と、前記検出手段によって検出された位置を前記撮像画像において特定する情報を生成する情報生成手段と、を有し、前記検出手段は、前記ファインダ光学系に取り付けられた調整用のカメラによって得られる画像から撮影範囲の内部の領域の画像を演算対象画像として抽出する抽出手段と、前記撮像画像から抽出される部分画像と前記演算対象画像との相関演算を行なう相関演算手段と、前記相関演算手段による相関演算の結果、前記演算対象画像との相関が最も高かった前記部分画像の位置を検出する部分画像位置検出手段と、を有し、前記情報生成手段は、前記部分画像位置検出手段によって検出された部分画像の位置から前記情報を生成し、前記抽出手段は、前記ファインダ光学系にて示されている撮影範囲を規定する四角形の視野枠の隅部分の画像を前記演算対象画像として抽出し、前記部分画像位置検出手段は、前記隅部分の画像に対する部分画像における少なくとも1 つの頂点に対応する画素の位置を前記撮像画像から検出する、ように構成することによって前述した課題を解決する。 A detection device according to one aspect of the present invention is attached to an imaging device having an imaging element that captures a subject image and performs photoelectric conversion, a single-lens reflex type finder optical system that observes the subject image, and the finder optical system. A detection apparatus in an imaging system including an adjustment camera and a detection apparatus, which corresponds to a shooting range indicated by the finder optical system, which is an area in a captured image captured by the imaging element. A detection unit that detects a position of the region; and an information generation unit that generates information for specifying the position detected by the detection unit in the captured image. The detection unit is attached to the finder optical system. Extraction means for extracting an image in an area within the shooting range as an image to be calculated from an image obtained by the adjustment camera thus obtained; Correlation calculation means for performing a correlation calculation between the partial image extracted from the image and the calculation target image, and the position of the partial image having the highest correlation with the calculation target image as a result of the correlation calculation by the correlation calculation means A partial image position detecting means for detecting, wherein the information generating means generates the information from the position of the partial image detected by the partial image position detecting means, and the extracting means is provided in the finder optical system. The image of the corner portion of the quadrangular field frame that defines the imaging range shown as above is extracted as the calculation target image, and the partial image position detection means is provided at at least one vertex in the partial image with respect to the image of the corner portion. The above-described problem is solved by configuring so that the position of the corresponding pixel is detected from the captured image .
この構成によれば、撮像装置の撮像素子で撮像された撮像画像の一部の領域の抽出を行なうときの該抽出の位置を示す情報として、その撮像画像内における撮像装置のファインダ光学系の視野を示す情報を生成する。従って、この情報を撮像装置に与えることにより、撮像装置はその視野に対応する領域の画像を撮像画像から抽出して記録画像とすることが可能となる。この結果、ファインダ光学系の視野と記録画像に含まれる領域との整合がなされるので、煩雑な調整を行なうことなく撮像装置の視野率が向上する。 According to this configuration, the field of view of the finder optical system of the imaging device in the captured image is used as information indicating the position of the extraction when extracting a partial area of the captured image captured by the imaging device of the imaging device. Generates information indicating Therefore, by providing this information to the imaging device, the imaging device can extract an image of a region corresponding to the field of view from the captured image to obtain a recorded image. As a result, since the field of view of the finder optical system and the area included in the recorded image are matched, the field of view of the imaging apparatus is improved without making any complicated adjustments.
また、この構成によれば、撮像装置の撮像素子によって撮像された撮像画像から撮像装置のファインダ光学系にて示されている撮影範囲に対応する領域の部分画像を検出することが可能となり、その部分画像の位置を特定する情報を撮像装置に与えることによって、ファインダ光学系にて示される撮影範囲と記録画像に含まれる領域との整合を撮像装置で行なうことが可能となり、撮像装置の視野率が向上する。 Further, according to this configuration, it is possible to detect a partial image of an area corresponding to the shooting range indicated by the finder optical system of the imaging device from a captured image captured by the imaging device of the imaging device. By providing information that specifies the position of the partial image to the imaging device, it is possible to match the imaging range indicated by the finder optical system and the area included in the recorded image with the imaging device. Will improve.
この構成によれば、撮像画像から抽出される領域のサイズ及び形状が予め限定されているので、その領域の位置のみが特定できれば該抽出が可能となる。従って、ファインダ光学系にて示される撮影範囲と記録画像に含まれる領域との整合を行なわせるために撮像装置に与える情報を少なくすることができる。 According to this configuration, since the size and shape of the region extracted from the captured image are limited in advance, the extraction can be performed if only the position of the region can be specified. Therefore, it is possible to reduce the information given to the imaging device in order to match the shooting range indicated by the finder optical system with the area included in the recorded image.
また、前述した本発明に係る検出装置において、前記情報生成手段は、前記撮像画像を構成する画素についての情報が格納される前記撮像装置の有するメモリのアドレスを示す情報を生成し、該アドレスを以って前記領域の位置を特定する情報とするように構成することもできる。 In the detection device according to the present invention described above, the information generation unit generates information indicating an address of a memory included in the imaging device in which information about the pixels constituting the captured image is stored, and the address is obtained. Accordingly, the information may be configured to specify the position of the region.
この構成によれば、この情報生成手段が生成したこのような情報を撮像装置に与えるようにすれば、撮像装置では撮像画像の画素の情報が格納されているメモリからそのアドレスに基づいてその情報を読み出すだけで撮影画像の一部の領域の画像の抽出が行なえるようになるので、撮像装置での記録画像の生成のための処理負担を軽減させることができる。 According to this configuration, if such information generated by the information generating unit is provided to the imaging device, the imaging device can obtain the information based on the address from the memory in which the pixel information of the captured image is stored. Since it is possible to extract an image of a partial region of the captured image simply by reading out the image, it is possible to reduce the processing burden for generating a recorded image in the imaging apparatus.
また、前述した本発明に係る検出装置において、前記撮像装置の有する撮像素子によって撮像された撮像画像を示す信号を受信する受信手段と、前記情報生成手段によって生成された前記位置を特定する情報を前記撮像装置へ送信する送信手段と、を更に有し、前記検出手段は、前記受信手段によって受信された撮像画像から前記領域の位置を検出するように構成することもできる。 In the detection device according to the present invention described above, receiving means for receiving a signal indicating a picked-up image picked up by an image pickup device included in the image pickup device, and information for specifying the position generated by the information generating means. Transmission means for transmitting to the imaging apparatus, and the detection means may be configured to detect the position of the region from the captured image received by the reception means.
この構成によれば、撮像装置の有する撮像素子によって撮像された撮像画像の取得、及び情報生成手段によって生成された情報の撮像装置への付与が円滑に行なえるようになる。 According to this configuration, it is possible to smoothly acquire a captured image captured by the imaging element included in the imaging apparatus and apply the information generated by the information generation unit to the imaging apparatus.
以上のように、本発明は、検出装置が撮像装置の撮像素子で撮像された撮像画像内の領域であって撮像装置のファインダ光学系にて示されている撮影範囲に対応する該領域の位置を検出してその位置を撮像画像から特定する情報を生成し、撮像装置が撮像素子によって撮像された撮像画像の一部の領域をその情報に基づいて抽出してその領域の画像を記録画像として生成するように構成する。 As described above, according to the present invention, the position of the region corresponding to the shooting range indicated by the finder optical system of the imaging device is a region in the captured image captured by the imaging device of the imaging device. Is generated, and information for specifying the position from the captured image is generated, the imaging device extracts a part of the captured image captured by the imaging element based on the information, and the image of the region is used as a recorded image. Configure to generate.
本発明の有する上述した構成により、ファインダ光学系の視野と記録画像に含まれる領域との整合がなされるので、煩雑な調整を行なうことなく良好な視野率を有するファインダ光学系が提供できるようになるという効果を奏する。 According to the above-described configuration of the present invention, the field of view of the finder optical system and the area included in the recorded image are matched, so that a finder optical system having a good field of view can be provided without complicated adjustment. The effect of becoming.
以下、本発明の実施の形態を図面に基づいて説明する。
図1は本発明を実施するシステムの構成を示す図である。同図に示すシステムはデジタルカメラ100、ビデオカメラ200、及びパーソナルコンピュータ(PC)300を有して構成されており、このシステムはデジタルカメラ100の製造工程における検査・調整工程で構築される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram showing the configuration of a system for carrying out the present invention. The system shown in the figure includes a
デジタルカメラ100は被写体の撮影を行なうものであり、撮影レンズ111を通して得られる被写体像を光学ファインダで観察することのできる一眼レフカメラである。
以下、デジタルカメラ100の構成について説明する。
The
Hereinafter, the configuration of the
撮影レンズ111は被写体像を撮像素子131の受光面に結像させる。
シャッタ112は、開口部の広さを変化させて撮影レンズ111を通過した光の量の調節を行なう。
The photographing lens 111 forms a subject image on the light receiving surface of the image sensor 131.
The shutter 112 adjusts the amount of light that has passed through the photographing lens 111 by changing the size of the opening.
ハーフミラー113はシャッタ112を通過した光をファインダ光学系へ進むものと撮像光学系へと進むものとに分割する。
視野枠マスク114は、光学ファインダで観察される像に、このデジタルカメラ100で撮影し得る画像の範囲を表示する視野枠を重畳させる中空のマスクである。
The
The
ファインダ光学系へ進む光は視野枠マスク114を通過した後、レンズA115を通過し、ミラー116によってその進路を変更され、更にレンズB117を通過するように進み、その結果、ビデオカメラ200において被写体像が結像する。
The light traveling to the finder optical system passes through the
システムコントローラ121はCPU(Central Processing Unit :中央演算装置)を有し、このデジタルカメラ100全体の動作制御を司る。
フラッシュROM122は、システムコントローラ121の有するCPUにこのデジタルカメラ100全体の動作制御を行なわせるための制御プログラムが予め記録されている。CPUはこの制御プログラムをフラッシュROM122から読み出して実行することによってデジタルカメラ100全体の制御処理が可能となる。
The
In the
ワークメモリ123は、システムコントローラ121の有するCPUがフラッシュROM122に格納されている制御プログラムを実行するために必要となる作業用メモリである。
The
スイッチ(SW)部124は、デジタルカメラ100のユーザがデジタルカメラ100に各種の指示を行なうために操作されるスイッチ群を総称したものである。
USBインタフェース125は、シリアル方式によるデータ伝送の規格のひとつであるUSB(Universal Serial Bus)に則ったインタフェースを提供して他の機器とのデータの授受を可能とするものであり、図1に示す構成においてはパーソナルコンピュータ300との間でのデータの授受の制御を行なう。
The switch (SW)
The
シャッタ制御回路126はシステムコントローラ121からの指示に基づいてシャッタ112の開口の程度を制御する。撮像素子131はその受光面に結像している被写体像を光電変換してその被写体像が表されている画像を示すアナログ信号を出力する。
The
デジタルプロセス回路132は、撮像素子131から出力されたアナログ信号に含まれるリセット雑音の除去や信号レベルの調節等を行ない、これらの処理が行なわれた後のアナログ信号をデジタルデータである画像データへと変換する。また、画像データで表現されている画像に対するγ補正やホワイトバランス等の画像補正処理や、RGBの光の3原色の輝度で表現されている画像データのYC(輝度−色差)成分による表現への変換処理なども行なう。
The
フレームメモリ133は、デジタルプロセス回路132から出力された画像データを一時的に蓄えるバッファメモリとして使用される他、圧縮伸張回路135による処理のための作業用の記憶領域としても使用されるメモリである。
The
画像情報表示部134は、LCD(Liquid Crystal Display)を有し、撮影画像の再生表示や各種情報の表示などを行なう。
圧縮伸張回路135は、画像データの記録・再生のための画像データ伸張処理及び画像データ圧縮処理を行なう。なお、本実施形態においては、圧縮伸張回路135はJPEG(Joint Photographic Experts Group)方式に沿った画像データ伸張処理及び画像データ圧縮処理を行なうものとする。
The image
The compression /
カードインタフェース回路136は、メモリカード137に対するデータの書き込み及び読み出しを行なう。
メモリカード137は、画像データの記録を行なう半導体記録媒体であり、デジタルカメラ100に対して着脱可能に構成されている。
The
The
デジタルカメラ100は以上のように構成されている。
ビデオカメラ200は、デジタルカメラ100のファインダ光学系を通して得られる被写体像を撮像し、撮像した画像をPC300に送信する。
The
The
PC300は、ビデオカメラ200によって撮像された画像とデジタルカメラ100の撮像光学系を通して撮像素子131の表面に結像した画像との比較を行なって比較結果をデジタルカメラ100へ出力する。
The
PC300の構成について説明すると、制御プログラムを実行することで各構成要素を制御するCPU301、CPU301に各構成要素を制御させる基本制御プログラムが予め格納されているROM302、CPU301が制御プログラムを実行する際のワークエリアとして用いられるRAM303、ビデオカメラ200から送られてくる撮像画像を取得するビデオカメラインタフェース(I/F)304、後述する制御プログラムや各種データの記憶領域として使用されるハードディスク装置(HDD)305、及びUSB規格に則ったインタフェースを提供して他の機器とのデータの授受を可能とするものであって図1に示す構成においてはデジタルカメラ100との間でのデータの授受の制御を行なうUSBインタフェース(I/F)306が、CPU301によって管理されているバス307を介して接続されて相互にデータの授受が可能なように構成されており、標準的なコンピュータの構成を有するものである。
The configuration of the
次に図2について説明する。同図は本発明の原理構成を示している。
図2(A)において、デジタルカメラ100は画像データ送信部101、アドレス受信部102、アドレス記憶部103、及び記録画像生成部104を有して構成されている。なお、これらの構成要素はフラッシュROM122に予め格納されている制御プログラムを実行することによってシステムコントローラ121により行なわれる制御処理によって実現される。
Next, FIG. 2 will be described. FIG. 2 shows the principle configuration of the present invention.
2A, the
画像データ送信部101は撮像素子131で撮像された画像を表現する画像データをPC300に送信する。
PC300ではこの画像データを受信してその画像データで表現されている画像と、ビデオカメラ200で撮像される、視野枠マスク114で視野が制限されているファインダ光学系を通して得られる被写体画像との相関係数を求める。そして、この相関係数が最大となるときの画像データの切り出し位置を特定し、この位置を示すアドレス(先頭アドレスと最終アドレス)をデジタルカメラ100へ送信する。
The image
The
アドレス受信部102はPC300から送信されたこのアドレスを受信する。
アドレス記憶部103はアドレス受信部102によって受信されたアドレスを記憶する。
The
The
記録画像生成部104は、撮像素子131で撮像された画像を表現する画像データに対し、アドレス記憶部103に記憶されているアドレスに従って画像の切り出しを行ない、切り出された画像についての画像データを撮影画像として記録する。記録画像生成部104はこのデジタルカメラ100でユーザによる新たな撮影が行なわれる度に上述した動作を行なう。
The recorded
このように、デジタルカメラ100は、視野枠マスク114で視野が制限されているファインダ光学系の画像との相関が最大となる画像を撮像素子131で撮像された画像から切り出し、その切り出された画像を撮影画像とするので、CCD素子の部品パッケージの外形やその固定位置に生じ得る精度誤差等を考慮することなく、ファインダ光学系の画像と撮影画像とを近づけることが可能となり、理想的な視野率をこのファインダ光学系で確保できることとなる。
In this manner, the
なお、上述した(A)の構成では、画像データの切り出し位置を示すアドレスとして先頭アドレスと最終アドレスとをPC300から送信し、デジタルカメラ100のアドレス受信部102でそのアドレスを受信してアドレス記憶部103で記憶するようにしていた。ここで、撮影画像として記録する画像が四角形であってその縦横のサイズが既知であれば、図2(B)に示すように、その既知の画像サイズを記録画像サイズ記憶部105に予め記憶させておくようにすることで、画像データの切り出し位置を示すアドレスとして先頭アドレスと最終アドレスとのうちのどちらか一方のみをPC300から送信し、デジタルカメラ100のアドレス受信部102でそのアドレスを受信してアドレス記憶部103で記憶するようにしても、撮像素子131で撮像された画像を表現する画像データに対する画像の切り出しを記録画像生成部104で行なうことができ、PC300からデジタルカメラ100へ伝送する情報の量が少なくなる。
In the configuration of (A) described above, the start address and the final address are transmitted from the
次に図3について説明する。同図はアドレス設定処理の処理内容を示すフローチャートである。アドレス設定処理は、上述した画像データの切り出し位置を示すアドレスを得るための処理である。 Next, FIG. 3 will be described. This figure is a flowchart showing the processing contents of the address setting processing. The address setting process is a process for obtaining an address indicating the cutout position of the image data described above.
図3において、(A)はデジタルカメラ100のシステムコントローラ121によって行なわれる処理であり、(B)はPC300のCPU301によって行なわれる処理である。
3A is a process performed by the
まず(A)について説明する。この処理はフラッシュROM122に格納されている制御プログラムを読み出して実行することによってシステムコントローラ121によって行なわれ、アドレス設定処理の開始の指示がSW部124等から入力されると開始される。
First, (A) will be described. This process is performed by the
まず、S101において、撮像素子13で撮像された画像を表現する画像データがデジタルプロセス回路132から取得され、フレームメモリ133に一旦格納される。
S102では、フレームメモリ133に格納されている画像データの表現形式を、RGBの光の3原色の輝度によるものからYC成分によるものへと変換する処理をデジタルプロセス回路132に行なわせる。YC成分による表現とされた画像データはフレームメモリ133に一旦格納される。
First, in
In S102, the
フレームメモリ133の利用状況を図4に示す。
前述したS101の処理によってデジタルプロセス回路132から取得された画像データは、まず、フレームメモリ133における「IS Bayer Buffer」エリアにいわゆるRGBベイヤデータのままで格納される。その後、S102の処理によって画像データはYC成分により表現されたものへと変換され、その変換されたデータは「YC Buffer」エリアに格納される。このYC成分(YCbCr)により表現された画像データは、その後、圧縮伸張回路135でのJPEG方式による画像データ圧縮処理の対象とされ、また画像情報表示部134で画像を表示するためのビデオ信号の生成のためにも使用される。
The usage status of the
The image data acquired from the
S103では、前ステップの処理によってフレームメモリ133に格納されているYC成分による表現とされた画像データにおけるY(輝度)成分のみのデータが取り出され、このY成分データをPC300へ送信する処理をUSBインタフェース125に行なわせる。
In S103, only the Y (luminance) component data in the image data represented by the YC component stored in the
S104では、PC300から送られてくる、前述した画像の切り出し位置を特定するためのアドレスを受信する処理をUSBインタフェース125に行なわせる。
S105では、USBインタフェース125によって受信されたアドレスをフラッシュROM122に記憶させる処理が行なわれる。
In S <b> 104, the
In S <b> 105, processing for storing the address received by the
この処理を終えた後には、図3(A)の処理が終了し、デジタルカメラ100に対する前述した画像の切り出し位置を特定するためのアドレスの設定は完了し、デジタルカメラ100は流通市場へと出荷される。
After the completion of this process, the process of FIG. 3A is completed, the setting of the address for specifying the image cutout position for the
次に(B)について説明する。この処理はHDD305に格納されている制御プログラムを読み出して実行することによってCPU301によって行なわれ、アドレス設定処理の開始の指示がPC300に対して行なわれると開始される。
Next, (B) will be described. This process is performed by the CPU 301 by reading and executing the control program stored in the
まず、S201において、ビデオカメラ200から送られてくるデジタルカメラ100のファインダ光学系を通して得られる被写体像を表現する画像データ(ファインダ画像データ)を取得する処理をビデオカメラI/F304に行なわせる。
First, in step S <b> 201, the video camera I /
S202では、前ステップの処理によって取得されたファインダ画像データで表現される画像(ファインダ画像)のうち、視野枠マスク114によって形成される視野枠に隣接している部分の部分画像が切り出される。
In S202, a partial image of a portion adjacent to the field frame formed by the
S202の処理を図5(a)を用いて説明すると、このS202の処理では、ファインダ画像のうちの視野枠に隣接している、同図では「A」とされている左上部の部分画像と、同図では「B」とされている右下部の部分画像とが切り出される。これらの画像を「マスク隣接エリアの画像」と称することとする。 The process of S202 will be described with reference to FIG. 5A. In the process of S202, the upper left partial image adjacent to the field frame in the finder image, which is “A” in FIG. The partial image in the lower right part, which is “B” in the figure, is cut out. These images are referred to as “images in the mask adjacent area”.
S203では、前述したS103の処理によってデジタルカメラ100から送られてくるY成分のみの画像データを取得する処理をUSBI/F306に行なわせる。この画像データで表現されている画像は撮像光学系を通して得られた画像であり、視野枠マスク114の作用によって、図5(b)に示すように、ファインダ画像に比べて広い範囲が得られるようになっている。
In S203, the USB I /
S204では、マスク隣接エリアの画像についての相関演算が実行される。
このS204の処理によって行なわれる相関演算は、撮影画像についての横方向と縦方向との2方向に分けて行なわれる。
In S204, a correlation calculation is performed on the image in the mask adjacent area.
The correlation calculation performed by the process of S204 is performed in two directions of the captured image in the horizontal direction and the vertical direction.
まず、図5(c)に示すように、マスク隣接エリアAと同一の面積の部分画像を縦方向に1画素単位でずらしながら撮影画像から抽出し、抽出された部分画像とマスク隣接エリアAの画像との相関係数を算出する。そして、この相関係数が最大となったとき、すなわち抽出された部分画像とマスク隣接エリアAの画像との相関が最大となったときの抽出部分画像の上端の画素についての縦方向の位置を取得する。 First, as shown in FIG. 5C, a partial image having the same area as that of the mask adjacent area A is extracted from the photographed image while being shifted by one pixel unit in the vertical direction, and the extracted partial image and the mask adjacent area A are extracted. The correlation coefficient with the image is calculated. When the correlation coefficient is maximized, that is, when the correlation between the extracted partial image and the image of the mask adjacent area A is maximized, the vertical position of the uppermost pixel of the extracted partial image is determined. get.
次に、図5(d)に示すように、マスク隣接エリアAと同一の面積の部分画像を横方向に1画素単位でずらしながら撮影画像から抽出し、抽出された部分画像とマスク隣接エリアAの画像との相関係数を算出する。そして、この相関係数が最大となったとき、すなわち抽出された部分画像とマスク隣接エリアAの画像との相関が最大となったときの抽出部分画像の左端の画素についての横方向の位置を取得する。 Next, as shown in FIG. 5D, a partial image having the same area as the mask adjacent area A is extracted from the photographed image while being shifted by one pixel unit in the horizontal direction, and the extracted partial image and the mask adjacent area A are extracted. The correlation coefficient with the image is calculated. Then, when this correlation coefficient is maximized, that is, when the correlation between the extracted partial image and the image of the mask adjacent area A is maximized, the horizontal position of the leftmost pixel of the extracted partial image is determined. get.
そして、予めPC300側に用意されているフレームメモリ133の「YCBuffer」エリアについてのアドレス情報より、上述したようにして得られた縦方向の位置と横方向の位置との交点に位置する画素についてのデータが格納されているアドレスが求められる。こうして得られたアドレスが画像データの切り出し位置を特定する先頭アドレスとなる。
Based on the address information about the “YCBBuffer” area of the
次に、マスク隣接エリアBに対する相関係数が最大となる部分画像の位置が撮影画像から同様にして求められ、フレームメモリ133の「YC Buffer」エリアにおいて、求められた部分画像における右下端の画素についてのデータが格納されているアドレスが求められ、こうして得られたアドレスが画像データの切り出し位置を特定する最終アドレスとなる。
Next, the position of the partial image that maximizes the correlation coefficient with respect to the mask adjacent area B is similarly determined from the captured image, and in the “YC Buffer” area of the
なお、このときの被写体像としてはある程度複雑な模様である方が相関係数の最大点を明確に検出できるので好ましい。
図3(B)のS205では、以上のようにして求められた先頭アドレス及び最終アドレスをデジタルカメラ100へ送信する処理をUSBI/F306に行なわせる。これらのアドレスを示すデータは、前述した図3(A)におけるS104及びS105の処理によってフラッシュROM122に記憶される。
Note that it is preferable that the subject image at this time has a somewhat complicated pattern because the maximum point of the correlation coefficient can be clearly detected.
In S <b> 205 of FIG. 3B, the USB I /
この処理を終えた後には、図3(B)の処理が終了し、デジタルカメラ100に対する前述した画像の切り出し位置を特定するためのアドレスの設定は完了し、デジタルカメラ100は流通市場へと出荷される。
After the completion of this process, the process of FIG. 3B ends, the setting of the address for specifying the above-described image cutout position for the
その後、デジタルカメラ100による撮影が行なわれたときには、システムコントローラ121は、フレームメモリ133の「YC Buffer」エリアに格納されている画像データのうち、先頭アドレス及び最終アドレスで特定される2つの画素の画像上の位置を対角の頂点とする四角形内に含まれる画像を表現するものについてのデータのみを圧縮伸張回路135に読み込ませるようにし、これらのデータによって作成される画像データをメモリカード137に記録させるようにする。こうすることにより、理想的な視野率がデジタルスカメラ100のファインダ光学系で確保される。
After that, when shooting with the
なお、図2(B)に示すように、記録画像の形状及びサイズが予め設定されていてその設定内容がフラッシュメモリ122等に示されているのであれば、相関演算をマスク隣接エリアA若しくはBのいずれか一方のみについて行なうようにし、画像データの切り出し位置を示すアドレスとして先頭アドレスと最終アドレスとのうちのどちらか一方のみをPC300から送信し、デジタルカメラ100でそのアドレスを受信してフラッシュROM122に記憶させるようにしても撮像素子131で撮像された画像を表現する画像データに対する画像の切り出しを行なうことができる。そのためには、フレームメモリ133の「YC Buffer」エリアに格納されている画像データのうち、先頭アドレス若しくは最終アドレスで特定される画素を頂点とし、画像サイズでその形状が特定される四角形内に含まれる画像を表現するものについてのデータのみを圧縮伸張回路135に読み込ませるようにすればよい。
As shown in FIG. 2B, if the shape and size of the recorded image are set in advance and the setting contents are shown in the
また、視野枠マスク114の開口部分の縦横のサイズは、図6に示すように、撮像素子131として使用されるCCDユニットのセルサイズに8の倍数を乗じた値としておくと有益である。これは、JPEG方式では8×8のブロック単位で圧縮を行なうため、視野枠マスク114をこのサイズにしておくことにより、視野枠内の範囲とJPEG伸張処理後の記録画像の範囲とを画素単位で一致させることが可能となり、100%の視野率をも確保し得るようになるからである。
In addition, as shown in FIG. 6, it is advantageous that the vertical and horizontal sizes of the opening portion of the
なお、図3(B)にフローチャートで示した処理をコンピュータで実行させるための制御プログラムを、例えば、フレキシブルディスク、MO(光磁気ディスク)、CD−ROM、DVD−ROMなどといったコンピュータで読み取り可能な記録媒体に記録させ、そのプログラムを記録媒体からコンピュータに読み出させて実行させることによって本発明をコンピュータで実施することも可能である。また、このような記録媒体としては、通信ネットワークを介してコンピュータと接続されるプログラムサーバシステムが備えている記憶装置であってもよい。この場合には、制御プログラムを表現するデータ信号で搬送波を変調して得られる伝送信号を、プログラムサーバシステムから通信ネットワークを通じて伝送するようにし、コンピュータでは受信した伝送信号を復調して制御プログラムを再生することで当該制御プログラムを実行できるようになる。 Note that a control program for causing the computer to execute the processing shown in the flowchart of FIG. 3B can be read by a computer such as a flexible disk, an MO (magneto-optical disk), a CD-ROM, a DVD-ROM, or the like. The present invention can also be implemented on a computer by recording the program on a recording medium, causing the computer to read the program from the recording medium and executing the program. Further, such a recording medium may be a storage device provided in a program server system connected to a computer via a communication network. In this case, the transmission signal obtained by modulating the carrier wave with the data signal representing the control program is transmitted from the program server system through the communication network, and the computer demodulates the received transmission signal and reproduces the control program. By doing so, the control program can be executed.
その他、本発明は、上述した実施形態に限定されることなく、種々の改良・変更が可能である。 In addition, the present invention is not limited to the above-described embodiments, and various improvements and changes can be made.
100 デジタルカメラ
101 画像データ送信部
102 アドレス受信部
103 アドレス記憶部
104 記録画像生成部
105 記録画像サイズ記憶部
111 撮影レンズ
112 シャッタ
113 ハーフミラー
114 視野枠マスク
115 レンズA
116 ミラー
117 レンズB
121 システムコントローラ
122 フラッシュROM
123 ワークメモリ
124 スイッチ部
125、306 USBインタフェース
126 シャッタ制御回路
131 撮像素子
132 デジタルプロセス回路
133 フレームメモリ
134 画像情報表示部
135 圧縮伸張回路
136 カードインタフェース回路
137 メモリカード
200 ビデオカメラ
300 パーソナルコンピュータ
301 CPU
302 ROM
303 RAM
304 ビデオカメラインタフェース
305 ハードディスク装置
307 バス
DESCRIPTION OF
116 Mirror 117 Lens B
121
123
302 ROM
303 RAM
304
Claims (3)
前記撮像素子によって撮像された撮像画像内の領域であって前記ファインダ光学系にて示されている撮影範囲に対応する該領域の位置を検出する検出手段と、
前記検出手段によって検出された位置を前記撮像画像において特定する情報を生成する情報生成手段と、を有し、
前記検出手段は、
前記ファインダ光学系に取り付けられた調整用のカメラによって得られる画像から撮影範囲の内部の領域の画像を演算対象画像として抽出する抽出手段と、
前記撮像画像から抽出される部分画像と前記演算対象画像との相関演算を行なう相関演算手段と、
前記相関演算手段による相関演算の結果、前記演算対象画像との相関が最も高かった前記部分画像の位置を検出する部分画像位置検出手段と、を有し、
前記情報生成手段は、前記部分画像位置検出手段によって検出された部分画像の位置から前記情報を生成し、
前記抽出手段は、前記ファインダ光学系にて示されている撮影範囲を規定する四角形の視野枠の隅部分の画像を前記演算対象画像として抽出し、
前記部分画像位置検出手段は、前記隅部分の画像に対する部分画像における少なくとも1 つの頂点に対応する画素の位置を前記撮像画像から検出する、
ことを特徴とする検出装置。 An imaging device including an imaging device that captures a subject image and performs photoelectric conversion, an imaging device having a single-lens reflex type finder optical system for observing the subject image, an adjustment camera attached to the finder optical system, and a detection device A detection device in the system,
Detecting means for detecting a position of an area in a captured image captured by the imaging element and corresponding to an imaging range indicated by the finder optical system;
Information generating means for generating information for specifying the position detected by the detecting means in the captured image;
The detection means includes
Extraction means for extracting an image of an area within the photographing range as an operation target image from an image obtained by an adjustment camera attached to the finder optical system;
Correlation calculation means for performing correlation calculation between the partial image extracted from the captured image and the calculation target image;
As a result of the correlation calculation by the correlation calculation means, it has a partial image position detection means for detecting the position of the partial image having the highest correlation with the calculation target image,
The information generation means generates the information from the position of the partial image detected by the partial image position detection means ,
The extraction means extracts, as the calculation target image, an image of a corner portion of a rectangular field frame that defines a photographing range indicated by the finder optical system,
The partial image position detecting means detects, from the captured image, a pixel position corresponding to at least one vertex in the partial image with respect to the image of the corner portion;
A detection device characterized by that.
ことを特徴とする請求項1に記載の検出装置。 The information generation unit generates information indicating an address of a memory included in the imaging device in which information about the pixels constituting the captured image is stored, and information for specifying the position of the region using the address; The detection device according to claim 1, wherein:
前記情報生成手段によって生成された前記位置を特定する情報を前記撮像装置へ送信する送信手段と、を更に有し、
前記検出手段は、前記受信手段によって受信された撮像画像から前記領域の位置を検出する、
ことを特徴とする請求項1または2に記載の検出装置。 Receiving means for receiving a signal indicating a picked-up image picked up by an image pickup device of the image pickup device;
Transmission means for transmitting information specifying the position generated by the information generation means to the imaging device;
The detecting means detects a position of the region from a captured image received by the receiving means;
The detection apparatus according to claim 1 or 2 , wherein
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007163178A JP4418482B2 (en) | 2007-06-20 | 2007-06-20 | Detection device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007163178A JP4418482B2 (en) | 2007-06-20 | 2007-06-20 | Detection device |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001376191A Division JP4002755B2 (en) | 2001-12-10 | 2001-12-10 | Imaging device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007295611A JP2007295611A (en) | 2007-11-08 |
| JP4418482B2 true JP4418482B2 (en) | 2010-02-17 |
Family
ID=38765701
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007163178A Expired - Fee Related JP4418482B2 (en) | 2007-06-20 | 2007-06-20 | Detection device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4418482B2 (en) |
-
2007
- 2007-06-20 JP JP2007163178A patent/JP4418482B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007295611A (en) | 2007-11-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102812714B (en) | 3D imaging device | |
| US9538085B2 (en) | Method of providing panoramic image and imaging device thereof | |
| US8593531B2 (en) | Imaging device, image processing method, and computer program | |
| CN102131056A (en) | Camera and camera method | |
| US8441554B2 (en) | Image capturing apparatus capable of extracting subject region from captured image | |
| JP4947136B2 (en) | Image processing apparatus, image processing method, and program | |
| JP2014235224A (en) | Imaging device and control program | |
| JP6702792B2 (en) | Image processing apparatus and control method thereof | |
| JP6299116B2 (en) | Imaging apparatus, imaging method, and recording medium | |
| JP4002755B2 (en) | Imaging device | |
| US20190065857A1 (en) | Imaging apparatus, electronic device, and method of transmitting image data | |
| JP2004287794A (en) | Image processor | |
| JP4418482B2 (en) | Detection device | |
| JP4645228B2 (en) | Imaging apparatus and program | |
| JP6210772B2 (en) | Information processing apparatus, imaging apparatus, control method, and program | |
| JP6728010B2 (en) | Imaging device and method for controlling imaging device | |
| JP6351213B2 (en) | IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD AND SYSTEM | |
| JP5417920B2 (en) | Image processing apparatus, image processing method, electronic camera, and image processing program | |
| JP5094686B2 (en) | Image processing apparatus, image processing method, and image processing program | |
| JP5332668B2 (en) | Imaging apparatus and subject detection program | |
| JP6467455B2 (en) | IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM | |
| JP7803906B2 (en) | Image processing device, imaging device, image processing method, image processing program, and recording medium | |
| JP4819859B2 (en) | Imaging apparatus and image processing method | |
| JP4487767B2 (en) | Imaging apparatus and program | |
| JP2014176004A (en) | Imaging apparatus and image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090421 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090630 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090902 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20091007 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20091104 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091127 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 4418482 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121204 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131204 Year of fee payment: 4 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |