JP5125939B2 - Imaging apparatus and program - Google Patents
Imaging apparatus and program Download PDFInfo
- Publication number
- JP5125939B2 JP5125939B2 JP2008245488A JP2008245488A JP5125939B2 JP 5125939 B2 JP5125939 B2 JP 5125939B2 JP 2008245488 A JP2008245488 A JP 2008245488A JP 2008245488 A JP2008245488 A JP 2008245488A JP 5125939 B2 JP5125939 B2 JP 5125939B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- area
- cutout
- style
- cut
- 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
Description
この発明は、装置本体を構成する複数の筐体を可動自在に連結すると共に、いずれかの筐体に撮像素子を有する撮像部を備える撮像装置及びプログラムに関する。 The present invention relates to an imaging apparatus and a program including an imaging unit having an imaging element in any of the casings while movably connecting a plurality of casings constituting the apparatus main body.
従来、撮像部を備える折り畳みタイプの携帯電話において、両筐体が特定の位置関係になった際に、設計上や仕様上の制約から撮像部の取付位置によっては、その筐体の一部が撮像範囲に写り込んでしまう場合がある。例えば、運動会などのように人垣の上から撮影を行うような場合に、モニタ画面が見やすくなるように、両筐体の位置関係を変更した際に、筐体の一部が撮像範囲に写り込んでしまうというケラレが発生することがある。
ところで、従来、このようなケラレ対策用に利用可能な技術として、例えば、被写界深度を算出し、レンズ近傍を非合焦となるように制御することによって、被写体に対しては合焦しつつレンズ近傍のゴミやちりに対して非合焦とすることができるようにした技術が知られている(特許文献1参照)。
By the way, conventionally, as a technique that can be used for such vignetting measures, for example, by calculating the depth of field and controlling the vicinity of the lens to be out of focus, the subject is focused. However, there is known a technique that enables defocusing to dust and dust near the lens (see Patent Document 1).
しかしながら、上述した特許文献1の技術としては、撮像範囲に写し込まれてしまった筐体部分を目立たないようにすることができたとしても、ケラレの発生部分をぼやかす程度であるため、ある程度の効果しか期待することができず、しかも、撮影者の意図と異なる撮像結果になってしまうために、ケラレ対策用の技術としては、十分なものとはいえない。
したがって、従来、ケラレの発生を防ぐために、実装上、撮像部の取付位置を制約したり、使用上、複数の筐体の位置関係を制約したりしなければならなかった。
However, as the technique of Patent Document 1 described above, even if the casing portion that has been imprinted in the imaging range can be made inconspicuous, the vignetting portion is only slightly blurred. However, since the imaging result is different from the photographer's intention, it cannot be said that the technique for preventing vignetting is sufficient.
Therefore, conventionally, in order to prevent the occurrence of vignetting, it has been necessary to restrict the mounting position of the imaging unit for mounting or to restrict the positional relationship of a plurality of housings for use.
この発明の課題は、撮像素子を有する撮像部が取り付けられている位置に拘わらず、この撮像素子の撮像範囲として切り出される切出領域内に筐体が写り込んでしまうというケラレの発生を効果的に防止できるようにすることである。 An object of the present invention is to effectively prevent the occurrence of vignetting that a casing is reflected in a cut-out area cut out as an image pickup range of the image pickup device regardless of a position where an image pickup unit having the image pickup device is attached. It is to be able to prevent.
上述した課題を解決するために請求項1記載の発明は、装置本体を構成する複数の筐体を可動自在に連結すると共に、いずれかの筐体に撮像素子を有する撮像部を備える撮像装置であって、予め用意している筐体画像と前記撮像素子の撮像範囲として切り出される切出領域の画像とを比較し、形状、色、模様、大きさ、写り具合などを総合的に比較することによって、前記切出領域の画像内に前記筐体画像が含まれているか否かを認識する画像認識手段と、前記画像認識手段によって認識された認識結果に基づいて前記切出領域内に前記筐体が写し込まれるか否かを判別する判別手段と、この判別手段によって切出領域内に筐体が写し込まれると判別された際に、この筐体が写し込まれないように当該切出領域を調整する領域調整手段と、を具備したことを特徴とする。
In order to solve the above-described problem, an invention according to claim 1 is an imaging apparatus including a plurality of casings constituting the apparatus main body movably connected and an imaging unit having an imaging element in any casing. there are, compared with the image of the segment region to be extracted as the imaging range of the housing image and the imaging device are prepared Me pre, shape, color, pattern, size, comprehensively comparing like projection condition Accordingly, the image recognition means for recognizing whether or not the housing image is included in the image of the cutout area, and the image in the cutout area based on the recognition result recognized by the image recognition means. A discriminating means for discriminating whether or not the casing is imprinted, and the discriminating unit so that the casing is not imprinted when it is determined by the discriminating means that the casing is imprinted in the cut-out area. An area adjusting means for adjusting the exit area; Characterized in that Bei was.
請求項1に従属する発明として、前記領域調整手段は、前記画像認識手段によって認識された認識結果に基づいて前記切出領域の切出位置を変更することによって当該切出領域を調整する、ようにしたことを特徴とする請求項2記載の発明であってもよい。
As an invention dependent on claim 1, before Symbol region adjusting means adjusts the cut region by changing the cutting position of the cutting-out region on the basis of the recognition result recognized by the image recognition unit, The invention according to
請求項1に従属する発明として、前記領域調整手段は、前記画像認識手段によって認識された認識結果に基づいて前記切出領域の大きさを変更することによって当該切出領域を調整する、ようにしたことを特徴とする請求項3記載の発明であってもよい。
As an invention dependent on claim 1, before Symbol region adjusting means adjusts the cut region by changing the size of the segment region based on the recognition result recognized by the image recognition unit, iodine The invention according to claim 3, which is characterized in that, is provided.
請求項1〜請求項3のいずれかに従属する発明として、前記複数の筐体の位置関係を検出して前記装置本体のスタイルを特定するスタイル特定手段を更に備え、前記画像認識手段は、前記スタイル検出部によって検出された複数の筐体の位置関係が特定のスタイルである場合に、予め用意している筐体画像と前記撮像素子の撮像範囲として切り出される切出領域の画像とを比較し、形状、色、模様、大きさ、写り具合などを総合的に比較することによって、前記切出領域の画像内に前記筐体の画像が含まれているか否かを認識する、ようにしたことを特徴とする請求項4記載の発明であってもよい。
As an invention subordinate to any one of claims 1 to 3, further comprising a plurality of style specifying means for specifying a style of the apparatus body by detecting the positional relationship of the housing, wherein the image recognition means, wherein When the positional relationship of the plurality of casings detected by the style detection unit is a specific style, the prepared casing image is compared with the image of the cut-out area cut out as the imaging range of the image sensor. It is possible to recognize whether or not the image of the housing is included in the image of the cutout region by comprehensively comparing the shape, color, pattern, size, appearance, etc. The invention according to
請求項1に従属する発明として、前記判別手段によって切出領域内に筐体が写し込まれていると判別された場合に、前記調整手段によって切出領域が調整されたことを教示する教示手段を更に備える、ようにしたことを特徴とする請求項5記載の発明であってもよい。
As an invention dependent on claim 1, a teaching means that teaches that the cutout area has been adjusted by the adjusting means when the discriminating means determines that the casing is imprinted in the cutout area. The invention according to
請求項1に従属する発明として、前記領域調整手段によって切出領域内に筐体が写し込まれないように当該切出領域が調整された際に、前記調整後の切出領域内の画像を撮影時のモニタ画像として表示する画像表示手段を更に備える、ようにしたことを特徴とする請求項6記載の発明であってもよい。
As an invention dependent on claim 1, when the cutout area is adjusted so that the casing is not imprinted in the cutout area by the area adjusting means, an image in the cutout area after the adjustment is displayed. The invention according to claim 6 , further comprising image display means for displaying as a monitor image at the time of photographing.
請求項1に従属する発明として、前記領域調整手段によって調整された切出領域内の画像に対して画像処理を実行してから記録保存する、ようにしたことを特徴とする請求項7記載の発明であってもよい。
As an invention dependent on claim 1, wherein the recording is stored after executing the image processing on the image in the cutout region that is adjusted by the region adjusting means, as in the claim 7, wherein the It may be an invention.
請求項7に従属する発明として、前記調整後の切出領域内の画像を調整前の元の大きさに戻してから記録保存する、ようにしたことを特徴とする請求項8記載の発明であってもよい。
As an invention dependent on claim 7, wherein the recording is stored after returning the image cutting-out area to its original size before adjustment after adjustment, as in the thing in the invention of claim 8, wherein There may be.
また、上述した課題を解決するために請求項9記載の発明は、コンピュータに対して、装置本体を構成する複数の筐体が可動自在に連結されていると共に、いずれかの筐体に撮像素子を有する撮像部が備えられている状態において、予め用意している筐体画像と前記撮像素子の撮像範囲として切り出される切出領域の画像とを比較し、形状、色、模様、大きさ、写り具合などを総合的に比較することによって、前記切出領域の画像内に前記筐体画像が含まれているか否かを認識する機能と、前記認識された認識結果に基づいて前記切出領域内に筐体が写し込まれるか否かを判別する機能と、前記切出領域内に筐体が写し込まれると判別された際に、この筐体が写し込まれないように当該切出領域を調整する機能と、を実現させるためのプログラムを特徴とする。
In order to solve the above-described problem, the invention described in claim 9 is such that a plurality of casings constituting the apparatus main body are movably connected to a computer, and an imaging element is connected to any one of the casings. In a state in which an image pickup unit having an image sensor is provided, a case image prepared in advance is compared with an image of a cutout region cut out as an image pickup range of the image pickup device, and the shape, color, pattern, size, and image A function of recognizing whether or not the housing image is included in the image of the cut-out area by comprehensively comparing conditions and the like, and the inside of the cut-out area based on the recognized recognition result A function for determining whether or not a housing is imprinted on the image, and when it is determined that a housing is imprinted in the cutout area, the cutout area is set so that the housing is not imprinted. Adjustment function and program to realize And wherein the beam.
この発明によれば、撮像部の取付位置を実装上制約したり、複数の筐体の位置関係を使用上制約したりすることなく、撮像素子の撮像範囲として切り出される切出領域内に筐体が写り込んでしまうというケラレの発生を効果的に防止することができる。 According to the present invention, the housing within the cut-out area cut out as the imaging range of the image sensor without restricting the mounting position of the imaging unit in terms of mounting or restricting the positional relationship of the plurality of housings in terms of use. It is possible to effectively prevent the occurrence of vignetting.
(実施形態1)
以下、図1〜図8を参照して本発明の第1実施形態を説明する。
この実施形態は、撮像装置として、撮像部を備える携帯電話機に適用した場合を例示したもので、図1は、この携帯電話機の外観図である。
携帯電話機は、その機器本体(装置本体)を構成する複数の筐体が可動自在に連結されていると共に、この連結状態に応じて複数のスタイルに変更可能な2軸ヒンジタイプで、操作側筐体1と表示側筐体2とは、折り畳み開閉自在及び回動自在にヒンジ部3を介して連結されている。このヒンジ部3には、操作側筐体1と表示側筐体2とを折り畳み開閉するための開閉用ヒンジ軸(第1軸)が設けられているほか、この開閉用ヒンジ軸と略直交して、一方の筐体を他方の筐体に対して回動するための回動用ヒンジ軸(第2軸)が設けられている。なお、ヒンジ部3も操作側筐体1と表示側筐体2と同様に装置本体を構成する筐体のひとつである。
(Embodiment 1)
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.
This embodiment exemplifies a case where the present invention is applied to a mobile phone including an imaging unit as an imaging device, and FIG. 1 is an external view of the mobile phone.
The mobile phone is a two-axis hinge type in which a plurality of cases constituting the device main body (device main body) are movably connected and can be changed into a plurality of styles according to the connected state. The body 1 and the display-
このような2軸ヒンジタイプの携帯電話機においては、操作側筐体1と表示側筐体2との連結状態に応じて携帯電話機の形態を複数のスタイル(クローズスタイル、オープンスタイル、ビュースタイルなど)に変更可能なもので、図1(a)は、操作側筐体1と表示側筐体2とを折り畳んで表示画面DPを内側に向けた状態のクローズスタイルを示している。また、図1(b)は、クローズスタイルにおいて、上述の第1軸を中心に表示側筐体2を開いた状態のオープンスタイルを示し、図1(c)は、オープンスタイルにおいて、上述の第2軸を中心に表示側筐体2を略90度回動させた状態を示している。図1(d)は、オープンスタイルにおいて、表示側筐体2を180度回動させたのち、折り畳んで表示画面DPを外側に向けた状態のビュースタイルを示している。
In such a two-axis hinge type mobile phone, the mobile phone has a plurality of styles (closed style, open style, view style, etc.) depending on the connection state between the operation side case 1 and the
ヒンジ部3(筐体のひとつ)には、カメラ部4が取り付けられている。このカメラ部4は、その光軸方向に厚み(高さ)を持ったカメラモジュールで、通常はその撮影レンズが外側に向いているクローズスタイルやオープンスタイルで撮影を行うようにしているが、例えば、下方向を撮影するような場合には、図1(c)に示すような形態で撮影が行われることがある。すなわち、下方向や上方向を撮影したり、運動会などのように人垣の上から撮影を行ったりするような場合には、モニタ画像が見やすくなるように、表示側筐体2を回動させてその表示画面DPの角度を変えて撮影することがある。このような場合には、図1(c)に示すように表示側筐体2の一部が撮像範囲内に写り込んでしまう現象(ケラレ)が発生することがある。このケラレの発生は、特に広角撮影を行う場合に顕著なものとなる。
A
図2(a)は、撮像素子の撮像範囲(有効画素数)を示した図である。
撮像素子の全体画素領域AEに対して、撮像範囲(有効画素数)BEは、レンズ収差などの影響を考慮して、全体画素領域AEよりも少し小さ目に設定されており、例えば、2560×1920画素の大きさとなっている。図2(b)〜(d)は、オープンスタイルにおいて第2軸を中心に表示側筐体2を回動させた場合に、その回動角度に応じてケラレ発生の状況が遷移する様子を示した図である。すなわち、図2(b)は、回動角度が“20度”の場合、図中、左上角の部分にケラレが発生することを示している。同様に、図2(c)は、回動角度が“90度”の場合、図中、上部中央部分にケラレが発生することを示し、図2(d)は、回動角度が“160度”の場合、図中、右上角の部分にケラレが発生することを示している。このように図2(b)〜(d)は、回動角度が“20度〜160度”を含む範囲内でケラレが発生し、特に、回動角度が“90度”の場合にはケラレ発生部分が最大なものとなることを示している。
FIG. 2A is a diagram illustrating an imaging range (effective pixel number) of the imaging element.
The imaging range (number of effective pixels) BE is set to be slightly smaller than the entire pixel area AE in consideration of the influence of lens aberration and the like with respect to the entire pixel area AE of the imaging element. For example, 2560 × 1920 The pixel size. FIGS. 2B to 2D show how the state of occurrence of vignetting changes according to the rotation angle when the display-
このようなケラレの発生を防ぐために、この実施形態においては撮像素子の有効画素数をデフォルトの画素領域とした場合に、このデフォルトの画素領域をケラレの発生具合に応じて調整するようにしている。すなわち、撮像範囲BEとして切り出される領域(以下、切出領域BEと呼称する)内に筐体が写し込まれている場合には、この筐体が写し込まれないようにデフォルトの切出領域(有効画素数)BEを調整するようにしている。その際、デフォルトの切出領域BEの大きさを変更(小さく)したり、デフォルトの切出領域BEの位置を変更したりすることによってその調整を行うようにしている。 In order to prevent the occurrence of such vignetting, in this embodiment, when the number of effective pixels of the image sensor is set as the default pixel area, the default pixel area is adjusted according to the degree of vignetting. . That is, when a case is copied in an area cut out as the imaging range BE (hereinafter referred to as a cut-out area BE), a default cut-out area ( The number of effective pixels BE is adjusted. At that time, the size of the default cutout area BE is changed (smaller), or the position of the default cutout area BE is changed.
デフォルトの切出領域BEは、回動角度が“0度”の場合で、この切出領域BE(0度)の大きさを“100%”とすると、例えば、図2(b)に示すように回動角度が“20度”の場合の切出領域BE(20度)は、その大ききが“95%”に調整され、また、図中、下方向及び右方向に“2.5%”ずらされたものとなる。また、図2(c)に示すように回動角度が“90度”の場合の切出領域BE(90度)は、その大ききが“75%”に調整され、また、図中、下方向に“12.5%”ずらされたものとなる。また、図2(d)に示すように回動角度が“160度”の場合の切出領域BE(160度)は、その大ききが“95%”に調整され、また、図中、下方向及び右方向に“2.5%”ずらされたものとなる。 The default cutout area BE is when the rotation angle is “0 degree”, and the size of the cutout area BE (0 degree) is “100%”, for example, as shown in FIG. When the rotation angle is “20 degrees”, the cutout area BE (20 degrees) is adjusted to “95%” in the size of the cut area BE, and “2.5%” in the downward direction and the right direction in the figure. "It will be shifted. In addition, as shown in FIG. 2 (c), the cutout region BE (90 degrees) when the rotation angle is “90 degrees” is adjusted to “75%” in the size of the cut area BE. It is shifted by “12.5%” in the direction. In addition, as shown in FIG. 2D, the cutout region BE (160 degrees) when the rotation angle is “160 degrees” is adjusted to “95%” in the size of the cutout area BE. It is shifted by “2.5%” in the direction and right direction.
図3は、撮像部を備える携帯電話機の基本的な構成要素を示したブロック図である。
携帯電話機は、通話機能、電子メール機能、インターネット接続機能(Webアクセス機能)などが備えられている。携帯電話機は、例えば、最寄りの基地局から無線通信網に接続されると、この無線通信網を介して他の携帯電話機との間で通話可能状態となったり、電子メールの送受信が可能となったり、また、無線通信網を介してインターネットに接続されると、Webサイトをアクセスして閲覧可能となったりする。
FIG. 3 is a block diagram illustrating basic components of a mobile phone including an imaging unit.
A mobile phone is provided with a call function, an e-mail function, an Internet connection function (Web access function), and the like. For example, when a mobile phone is connected to a wireless communication network from the nearest base station, it becomes possible to make a call with another mobile phone via this wireless communication network, and to send and receive e-mails. In addition, when connected to the Internet via a wireless communication network, the website can be accessed and browsed.
中央制御部11は、二次電池を備えた電源部12からの電力供給によって動作し、記憶部13内の各種のプログラムに応じてこの携帯電話機1の全体動作を制御する中央演算処理装置、メモリなどを有している。記憶部13には、プログラムメモリM1、画像記憶メモリM2、切出領域調整テーブルM3、筐体認識用メモリM4などが設けられている。このプログラムメモリM1は、図5〜図7に示す動作手順に応じて本実施形態を実現するためのプログラムや各種のアプリケーションなどが格納されているほか、それらに必要な各種の情報が記憶されている。画像記憶メモリM2は、撮像された画像を記録保存するメモリである。なお、切出領域調整テーブルM3については、後で詳述するものとする。また、筐体認識用メモリM4については、後述する第2実施形態で説明するものとする。
The
無線通信部14は、無線部、ベースバンド部、多重分離部などを備え、例えば、通話機能、電子メール機能、インターネット接続機能などの動作時に、最寄りの基地局との間でデータの送受信を行うもので、通話機能の動作時にはベースバンド部の受信側から信号を取り込んで受信ベースバンド信号に復調したのち、音声信号処理部15を介して通話用スピーカSPから音声出力させ、また、通話用マイクMCからの入力音声を音声信号処理部15から取り込み、送信ベースバンド信号に符号化したのち、ベースバンド部の送信側に与えてアンテナから発信出力させる。
The
表示部16は、高精細液晶あるいは有機ELなどを使用し、例えば、文字情報、待受画像、カメラ画像など、各種の情報を表示する。操作部17は、ダイヤル入力、文字入力、コマンド入力などを入力するもので、撮影指示操作、シャッタ操作、撮影終了指示操作などが行われると、中央制御部11は、この操作に応じた処理を実行する。アプリ処理関係部18は、電子メール機能、インターネット接続機能、コンテンツ再生機能、カメラ機能などのアプリケーション処理に関する情報を記憶したり、その処理に関する制御を行ったりする。
The
スタイル検出部19は、操作側筐体1と表示側筐体2との連結状態に応じて携帯電話機のスタイル(クローズスタイル、オープンスタイル、ビュースタイルといった狭義のスタイル)を検出するほか、操作側筐体1に対して表示側筐体2を回動させた場合にその回動の角度(ヒンジ部3を構成する第2軸の回動角度)に応じたスタイル(広義のスタイル)を検出するもので、例えば、磁気センサ、マイクロスイッチ、機械的スイッチなどを有する構成となっている。すなわち、スタイル検出部19は、狭義のスタイルを検出する検出部のほかに、複数の筐体1、2を回動可能に連結する回動機構(第2軸)の回動角度を検出する角度検出部(図示せず)を含む構成となっている。なお、ヒンジ部3を構成する第2軸の回動角度に応じたスタイル(広義のスタイル)としては、例えば、0度〜180度の範囲内において、例えば、5度単位毎にスタイルを検出するようにしている。
The
カメラ部4は、撮像素子(例えば、CCDあるいはCMOS)を有する撮像部を構成するもので、静止画撮影のほかに動画撮影も可能となっており、撮影レンズ、ミラーなどのレンズ・ミラーブロック、撮像素子、その駆動系のほか、測距センサ、光量センサ、アナログ処理回路、信号処理回路、圧縮伸張回路などを備え、光学ズームを調整制御したり、オートフォーカス時の駆動制御、シャッタ駆動制御、露出、ホワイトバランスなどを制御したりする。また、カメラ部4は、被写体に応じて望遠/広角の切り替えができる2焦点式レンズやズームレンズを備え、焦点距離を可変する画角変更機構を作動させて望遠/広角やズーム撮影を行うようにしている。
The
図4は、切出領域調整テーブルM3を説明するための図である。
切出領域調整テーブルM3は、スタイル検出部19によって検出される操作側筐体1と表示側筐体2との位置関係を示す「スタイル」に対応して、ケラレ発生の有無を示す「ケラレ発生」と、撮像素子の切出領域BEを調整するための調整データとしての「切出領域の大きさ」、「切出領域のずらし量(切出位置)」との項目を記憶する構成となっている。図4(a)は、標準画角時に使用される切出領域調整テーブルM3の内容を示し、図4(b)は、広角画角時に使用される切出領域調整テーブルM3の内容を示している。
FIG. 4 is a diagram for explaining the cutout area adjustment table M3.
The cutout area adjustment table M3 corresponds to the “style” indicating the positional relationship between the operation-side casing 1 and the display-
「スタイル」は、操作側筐体1と表示側筐体2との位置関係を示すデータとして、第1軸に関するスタイルを示す項目の「第1軸」と、第2軸の回動有無を示す項目の「第2軸回動」と、第2軸の回動角度を示す「第2軸回動角度」の項目を有し、標準画角時には図4(a)に示すように「第2軸回動角度」が“10度〜170度”の範囲内でケラレが発生することを示している。また、広角画角時には図4(b)に示すように「第2軸回動角度」が“5度〜175度”の範囲内でケラレが発生することを示している。
“Style” is data indicating the positional relationship between the operation-side casing 1 and the display-
「切出領域の大きさ」は、デフォルトの切出領域BEの大きさを変更した場合にその変更後の切出領域BEの大きさを示し、例えば、図2(a)に示したようにデフォルトの切出領域BEを“100%”とした場合において、標準画角時の「第2軸回動角度」が“10度〜30度”の場合には“95%” の大きさに調整され、また、“80度〜100度”の場合には“75%”の大きさに調整されることを示している。また、広角画角時の「第2軸回動角度」が“5度〜25度”の場合には、“90%” の大きさに調整され、“80度〜100度”の場合には“80%” の大きさに調整されることを示している。 The “size of the cutout area” indicates the size of the cutout area BE after the change when the size of the default cutout area BE is changed. For example, as shown in FIG. When the default cutout area BE is set to “100%” and the “second axis rotation angle” at the standard angle of view is “10 degrees to 30 degrees”, the size is adjusted to “95%”. In addition, in the case of “80 degrees to 100 degrees”, the size is adjusted to “75%”. When the “second axis rotation angle” at the wide angle of view is “5 to 25 degrees”, it is adjusted to “90%”, and when it is “80 to 100 degrees”. It shows that the size is adjusted to “80%”.
「切出領域のずらし量」は、デフォルトの切出領域BEの位置を変更した場合にその変更前の切出領域BEの位置に対して、変更後の切出領域BEの位置がどの方向にどの程度ずらすのかを示すデータである。すなわち、図2(a)に示したように、デフォルトの切出領域BEの中心点(センタ)を基準として切り出す場合に、このセンタ(デフォルト)に対して上下左右のいずれの方向にどの程度ずらすのかを示すもので、この「切出領域のずらし量」には、「上下方向」、「左右方向」の項目を有している。例えば、標準画角時の「第2軸回動角度」が“10度〜30度”の場合、「上下方向」のずらし量は、“下へ2.5%”、「左右方向」のずらし量は、“右へ2.5%”であることを示し、また、“80度〜100度”の場合、「上下方向」のずらし量は、“下へ12.5%”、「左右方向」のずらし量は、“センタ(デフォルト)”、つまり、ずらし量が“0”であることを示している。 The “shift amount of the cutout area” is the direction in which the position of the cutout area BE after the change is relative to the position of the cutout area BE before the change when the position of the default cutout area BE is changed. It is data indicating how much to shift. That is, as shown in FIG. 2A, when the center point (center) of the default cut-out area BE is cut out as a reference, how much is shifted in any of the upper, lower, left and right directions with respect to the center (default). This “cutout area shift amount” has items of “vertical direction” and “horizontal direction”. For example, when the “second axis rotation angle” at the standard angle of view is “10 degrees to 30 degrees”, the shift amount of “vertical direction” is “2.5% downward” and “horizontal direction”. The amount indicates “2.5% to the right”, and in the case of “80 degrees to 100 degrees”, the shift amount of “vertical direction” is “12.5% downward” and “left and right direction”. The shift amount “” indicates “center (default)”, that is, the shift amount is “0”.
なお、切出領域調整テーブルM3の内容(具体的な数値)は、ケラレの発生の仕方、筐体設定に応じて異なる。また、「第2軸回動角度」は、“0度〜180度”の範囲内に限らず、“180度”以上回動可能であれば、それに応じて回動可能な範囲を変更したり、ケラレの発生の仕方に応じて変更したりしてもよい。また、切出領域調整テーブルM3の内容をユーザが任意に設定可能としてもよい。また、「切出領域の大きさ」は、規格サイズとしてもよい。また、図示の例では標準画角時に使用される切出領域調整テーブルM3と、広角画角時に使用される切出領域調整テーブルM3を例示したが、勿論、光学ズームに対応する切出領域調整テーブルM3を用意して、光学ズームの倍率に対応付けて各種の切出領域調整テーブルM3を設けるようにしてもよい。 Note that the contents (specific numerical values) of the cutout area adjustment table M3 differ depending on how the vignetting occurs and the housing settings. Further, the “second axis rotation angle” is not limited to the range of “0 to 180 degrees”, and if the rotation is possible by “180 degrees” or more, the range of rotation can be changed accordingly. It may be changed according to the manner in which vignetting occurs. The contents of the cutout area adjustment table M3 may be arbitrarily set by the user. The “size of the cutout area” may be a standard size. Further, in the illustrated example, the cutout area adjustment table M3 used at the standard view angle and the cutout area adjustment table M3 used at the wide angle view angle are illustrated, but of course, the cutout area adjustment corresponding to the optical zoom is performed. A table M3 may be prepared, and various cutout region adjustment tables M3 may be provided in association with the optical zoom magnification.
次に、この第1実施形態における携帯電話機の動作概念を図5〜図7に示すフローチャートを参照して説明する。ここで、これらのフローチャートに記述されている各機能は、読み取り可能なプログラムコードの形態で格納されており、このプログラムコードにしたがった動作が逐次実行される。また、伝送媒体を介して伝送されてきた上述のプログラムコードに従った動作を逐次実行することもできる。このことは後述する他の実施形態においても同様であり、記録媒体のほかに、伝送媒体を介して外部供給されたプログラム/データを利用してこの実施形態特有の動作を実行することもできる。 Next, the operation concept of the mobile phone according to the first embodiment will be described with reference to the flowcharts shown in FIGS. Here, each function described in these flowcharts is stored in the form of a readable program code, and operations according to the program code are sequentially executed. In addition, the operation according to the above-described program code transmitted via the transmission medium can be sequentially executed. This also applies to other embodiments described later, and in addition to the recording medium, an operation specific to this embodiment can be executed using a program / data supplied externally via a transmission medium.
図5は、電源投入に伴って実行開始される携帯電話機の全体動作の概要を示したフローチャートである。
先ず、中央制御部11は、電源スイッチのON操作に応答して(ステップA1でYES)、電源部12を駆動させて携帯電話機1の各部位に電力を供給させるほか、所定のメモリなどを初期化する電源オン処理を実行する(ステップA2)。そして、所定の待受画像を読み出して表示させる待ち受け状態において(ステップA3)、無線通信部14から電話の着信有無をチェックする(ステップA4)。
FIG. 5 is a flowchart showing an outline of the overall operation of the mobile phone that is started to be executed when the power is turned on.
First, the
いま、電話着信を検出したときには(ステップA4でYES)、回線接続させるオフフック操作に応答して(ステップA5でYES)、通話可能状態とする通話処理を開始する(ステップA6)。その後、回線を遮断させるオンフック操作に応答して(ステップA7でYES)、上述の待ち受け状態に戻る(ステップA3)。なお、相手側から回線が遮断された着信終了時にも(ステップA8でYES)、上述の待ち受け状態に戻る(ステップA3)。 Now, when an incoming call is detected (YES in step A4), in response to an off-hook operation for line connection (YES in step A5), a call process for making a call ready is started (step A6). Thereafter, in response to an on-hook operation for disconnecting the line (YES in step A7), the process returns to the standby state described above (step A3). Even when the incoming call ends when the line is blocked from the other party (YES in step A8), the process returns to the standby state described above (step A3).
また、着信待ち状態において何らかのユーザ操作を検出すると(ステップA9でYES)、それは撮影指示操作であるか(ステップA10)、電源オフ操作であるか、あるいはその他の操作であるかを調べる(ステップA14)。いま、カメラ部4を起動させる撮影指示操作が行われたときには(ステップA10でYES)、撮影モードとして静止画モードが指定されているかを調べ(ステップA11)、静止画モードが指定されていれば、後述する静止画撮影処理を実行する(ステップA12)。また、静止画モードが指定されていなければ(ステップA11でNO)、後述する動画撮影処理を実行する(ステップA13)。また、撮影開始の指示操作、電源オフ操作以外のその他の操作が行われたときには(ステップA14でNO)、発信処理や音楽再生処理などのアプリケーション処理を実行するが(ステップA16)、電源OFF操作が行われたときには(ステップA14でYES)、電源OFF処理を実行する(ステップA15)。
If any user operation is detected while waiting for an incoming call (YES in step A9), it is checked whether it is a photographing instruction operation (step A10), a power-off operation, or another operation (step A14). ). Now, when a shooting instruction operation for activating the
図6は、静止画撮影処理(図5のステップA12)を詳述するためのフローチャートである。
先ず、中央制御部11は、静止画モードでカメラ部4を起動すると共に(ステップB1)、カメラ部4の各部位などを初期化する処理を実行したのち(ステップB2)、その撮像素子で光電変換された画像信号を取り込み、表示部16にスルー画像(モニタ画像)として表示させる(ステップB3)。この状態において、スタイル検出部19をアクセスして現在のスタイル(狭義及び広義のスタイル)を検出すると共に(ステップB4)、検出した狭義のスタイルは特定スタイル(例えば、オープンスタイル)であるかを調べる(ステップB5)。
FIG. 6 is a flowchart for explaining in detail the still image shooting process (step A12 in FIG. 5).
First, the
いま、クローズスタイル、ビュースタイルであって特定スタイルでなければ(ステップB5でNO)、撮像素子の撮像範囲として、デフォルトの切出領域(2560×1920画素)BEを特定する(ステップB16)。また、特定スタイルであれば(ステップB5でYES)、カメラ部4の焦点距離に基づいて現在の画角(望遠/広角やズーム時の画像)を検出する(ステップB6)。そして、この画角に対応する切出領域調整テーブルM3を指定したのち、上述の検出スタイルに基づいて当該切出領域調整テーブルM3の「ケラレ発生」の項目を参照し、ケラレの発生有無を調べる(ステップB7)。 If the current style is a close style or a view style and is not a specific style (NO in step B5), a default cut-out area (2560 × 1920 pixels) BE is specified as the imaging range of the image sensor (step B16). If it is a specific style (YES in step B5), the current angle of view (telephoto / wide angle or zoomed image) is detected based on the focal length of the camera unit 4 (step B6). Then, after specifying the cutout area adjustment table M3 corresponding to this angle of view, based on the above-described detection style, the item “occurrence of vignetting” of the cutout area adjustment table M3 is referred to and the presence / absence of vignetting is checked. (Step B7).
例えば、標準画角の場合には、図4(a)に示す切出領域調整テーブルM3を参照し、オープンスタイルで第2軸回動角度が“0度〜10度”、170度〜180度の場合には「ケラレ発生」の項目には“なし”が設定されているが、“10度〜170度”の場合には、“あり”が設定されているので、この「ケラレ発生」の項目内容からケラレの発生有無を判別する。その結果、第2軸回動角度がケラレが発生しない角度であれば(ステップB7でNO)、デフォルトの切出領域BEを特定するが(ステップB16)、ケラレが発生する角度であれば(ステップB7でYES)、切出領域BEの変更量を導出する(ステップB8)。例えば、検出したスタイルがオープンスタイルで第2軸回動角度が“10度〜30度”の場合には、切出領域調整テーブルM3から「切出領域の大きさ」として“95%”を読み出し、「切出領域のずらし量」の「上下方向」として“下へ2.5%”、「左右方向」として“右に2.5%”を読み出す。 For example, in the case of a standard angle of view, the cut-out area adjustment table M3 shown in FIG. 4A is referred to, and the second axis rotation angle is “0 to 10 degrees” and 170 to 180 degrees in the open style. In this case, “None” is set in the item “occurrence of vignetting”, but “Yes” is set in the case of “10 degrees to 170 degrees”. Whether or not vignetting has occurred is determined from the item contents. As a result, if the second axis rotation angle is an angle at which vignetting does not occur (NO in step B7), a default cutout region BE is specified (step B16), but if the angle is vignetting (step B16). YES in B7), the amount of change of the cutout area BE is derived (step B8). For example, when the detected style is the open style and the second axis rotation angle is “10 degrees to 30 degrees”, “95%” is read as the “size of the cutout area” from the cutout area adjustment table M3. Then, “2.5% downward” is read out as “vertical direction” and “2.5% rightward” is read out as “horizontal direction” of “shift amount of cutout area”.
そして、この切出領域の変更量に基づいて切出領域BEの大きさと切り出し位置を変更(調整)すると共に(ステップB9)、表示部16に表示されているスルー画像(モニタ画像)に変更後の切出領域BEを示す画枠を表示することによってユーザに切出領域BEが変更されたことを教示する(ステップB10)。以下、シャッタ操作が行われるまで(ステップB11)、上述のステップB3に戻って上述の動作を繰り返す。これによって静止画モードを起動してからシャッタ操作が行われるまでの間、スタイル検出を随時実行すると共に、特定スタイルを検出している間、画角検出を随時実行し、その検出結果に応じて切出領域BEを変更する。ここで、シャッタ操作が行われると(ステップB11でYES)、切出領域BE内の画像を取り込んで画像処理を施す(ステップB12)。
Then, the size and the cutout position of the cutout area BE are changed (adjusted) based on the change amount of the cutout area (Step B9), and after changing to the through image (monitor image) displayed on the
この画像処理としては、例えば、切出領域BE内の画像を圧縮符号化処理したり、保存形式に応じたフォーマットに変換したりするが、更に、デジタルズーム処理などを行うようにしてもよい。例えば、変更後の切出領域BE内の画像が、ケラレが発生しない場合のデフォルトの切出領域BEと同様の大きさとなるように、その画像に対してデジタルズーム処理を施す。このような画像処理後の静止画像を画像ファイルとして画像記憶メモリM2に記録保存させる(ステップB13)。以下、撮影終了の指示操作(静止画モードの終了指示操作)が行われるまで(ステップB14)、上述のステップB3に戻って上述の動作を繰り返すが、終了指示操作が行われると(ステップB14でYES)、カメラ部4を停止させて静止画モード終了処理を行う(ステップB15)。
As this image processing, for example, the image in the cut-out area BE is compression-encoded or converted into a format corresponding to the storage format, but digital zoom processing or the like may be further performed. For example, digital zoom processing is performed on the image so that the image in the cutout area BE after the change has the same size as the default cutout area BE when no vignetting occurs. The still image after such image processing is recorded and saved in the image storage memory M2 as an image file (step B13). Hereinafter, the operation returns to the above-described step B3 and repeats the above-described operation until an instruction to end the photographing (an instruction to end the still image mode) is performed (step B14). YES), the
図7は、動画撮影処理(図5のステップA13)を詳述するためのフローチャートである。
先ず、中央制御部11は、動画モードでカメラ部4を起動すると共に(ステップC1)、初期化処理を実行したのち(ステップC2)、以下、上述した静止画モード時と基本的に同様の処理を行う。すなわち、表示部16にスルー画像を表示させると共に(ステップC3)、現在のスタイル(狭義及び広義のスタイル)を検出し(ステップC4)、狭義のスタイルが特定スタイル(オープンスタイル)でなければ(ステップC5でNO)、デフォルトの切出領域BEを特定するが(ステップC17)、特定スタイルであれば(ステップC5でYES)、カメラ部4の焦点距離に基づいて画角を検出する(ステップC6)。
FIG. 7 is a flowchart for explaining the moving image shooting process (step A13 in FIG. 5) in detail.
First, the
そして、検出した画角に対応する切出領域調整テーブルM3を参照して、ケラレの発生有無を調べ(ステップC7)、ケラレが発生しない場合には、デフォルトの切出領域BEを特定するが(ステップC17)、ケラレが発生する場合には(ステップでYES)、切出領域の変更量を導出する(ステップC8)。そして、この切出領域の変更量に基づいて切出領域BEの大きさと切り出し位置を変更すると共に(ステップC9)、切出領域BEの変更を教示する(ステップC10)。 Then, with reference to the cutout area adjustment table M3 corresponding to the detected angle of view, the presence / absence of vignetting is checked (step C7). If no vignetting occurs, the default cutout area BE is identified ( If vignetting occurs (YES in step C17), the amount of change in the cutout area is derived (step C8). Based on the change amount of the cutout area, the size and cutout position of the cutout area BE are changed (step C9), and the change of the cutout area BE is taught (step C10).
以下、動画の撮影開始操作が行われるまで(ステップC11)、上述のステップC3に戻って上述の動作を繰り返す。これによって動画モードを起動してから撮影開始操作が行われるまでの間、スタイル検出を随時実行すると共に、特定スタイルを検出している間、画角検出を随時実行し、その検出結果に応じて切出領域を変更する。ここで、撮影開始操作が行われると(ステップC11でYES)、切出領域の画像処理を実行し、例えば、変更後の切出領域BE内の画像が、ケラレが発生しない場合のデフォルト領域と同様の大きさとなるように、その画像に対してデジタルズーム処理を施すようにしてもよい(ステップC12)。以下、撮影終了の指示操作(動画モードの終了指示操作)が行われるまで(ステップC13)、切出領域の画像処理を行う(ステップC12)。そして、終了指示操作が行われると(ステップC13でYES)、カメラ部4を停止させて動画モード終了処理を行う(ステップC16)。
Thereafter, the process returns to the above-described step C3 and repeats the above-described operation until a moving image shooting start operation is performed (step C11). As a result, from the start of the video mode until the shooting start operation is performed, style detection is performed at any time, and while detecting a specific style, angle of view detection is performed at any time, and depending on the detection result Change the cutting area. Here, when a shooting start operation is performed (YES in step C11), the image processing of the cutout area is executed. For example, the image in the cutout area BE after the change is the default area when no vignetting occurs. Digital zoom processing may be performed on the image so as to have the same size (step C12). Hereinafter, until a shooting end instruction operation (moving image mode end instruction operation) is performed (step C13), image processing of the cut-out area is performed (step C12). When an end instruction operation is performed (YES in step C13), the
以上のように、この第1実施形態において中央制御部11は、カメラ部4を構成する撮像素子の撮像範囲として切り出される切出領域BE内に自己の筐体が写し込まれるか否かを判別し、写し込まれる場合には、この筐体が写し込まれないように切出領域を調整するようにしたので、カメラ部4の取付位置を実装上制約したり、複数の筐体1、2の位置関係を使用上制約したりすることなく、撮像素子の撮像範囲として切り出される切出領域BE内に筐体が写り込んでしまうというケラレの発生を効果的に防止することができる。
As described above, in the first embodiment, the
中央制御部11は、スタイル検出部19によって検出された複数の筐体1、2の位置関係に基づいて切出領域BE内に筐体が写し込まれるかを判別するようにしたので、ケラレの発生有無をスタイルの検出によって容易に判断することができ、切出領域BEの変更が必要か否かを容易に判別することができる。
The
スタイル検出部19は、複数の筐体1、2を回動可能に連結する回動機構の回動角度を検出する角度検出部を含み、この角度検出部によって検出された回動角度に応じて切出領域BE内に筐体が写し込まれるか否かを判別するようにしたので、例えば、下方向や上方向を撮影したり、運動会などのように人垣の上から撮影したりするような場合に、モニタ画像が見やすくなるように、表示側筐体2を回動させて表示画面の角度を変えて撮影を行ったとしても、ケラレの発生を防ぐことができる。
The
中央制御部11は、切出領域調整テーブルM3の記憶内容に基づいて切出領域BE内に筐体が写し込まれるか否かを判別するようにしたので、ケラレの発生有無を切出領域調整テーブルM3を参照するだけで容易に判断することができるほか、カメラ部4の取付位置を実装上制約したり、複数の筐体1、2の位置関係を使用上制約したりすることなく、切出領域調整テーブルM3を作成しておくだけでよい。
The
また、切出領域調整テーブルM3に記憶されている「切出領域の大きさ」と「切出領域のずらし量」によって切出領域BEを変更するようにしたので、切出領域調整テーブルM3を参照することで切出領域BEを確実かつ容易に調整することができるほか、「切出領域の大きさ」と「切出領域のずらし量」の両方で切出領域BEを変更することで、より確実な調整が可能となる。 Further, since the cut area BE is changed according to the “size of the cut area” and the “shift amount of the cut area” stored in the cut area adjustment table M3, the cut area adjustment table M3 is stored in the cut area adjustment table M3. In addition to being able to adjust the cutout area BE reliably and easily by referring to it, by changing the cutout area BE by both the “size of the cutout area” and the “shift amount of the cutout area”, More reliable adjustment is possible.
また、スタイル検出部19によるスタイル検出とカメラ部4の焦点距離に応じた画角によって切出領域BE内に筐体が写し込まれるか否かを判別するようにしたので、望遠/広角やズーム撮影に応じてケラレの発生の仕方が異なってもそれに対応することができる。
In addition, since it is determined whether or not the casing is imprinted in the cutout area BE based on the style detection by the
また、スタイル検出部19によって検索されたスタイルと、カメラ部4の焦点距離に応じて検出された画角によって、切出領域BEを変更するようにしたので、切出領域BEを確実かつ容易に調整することができる。
Further, since the cutout region BE is changed according to the style searched by the
また、切出領域BE内に筐体が写し込まれていると判別された場合に、切出領域BEを変更したことを教示するようにしたので、ユーザにあっては撮影の際の構図設定(フレーミング)と記録画像の構図の違いを認識した上で撮影を行うことができる。 In addition, when it is determined that the housing is imprinted in the cutout area BE, the fact that the cutout area BE has been changed is taught, so that the user can set the composition at the time of shooting. It is possible to take a picture after recognizing the difference in composition between the (framing) and the recorded image.
また、変更された切出領域BE内の画像に対して画像処理を実行してから記録保存すれば、切出領域BEを変更したとしても保存形式、画像サイズなどの統一してから記録保存することができる。 Further, if image processing is executed on an image in the cutout area BE that has been changed and then recorded and saved, even if the cutout area BE is changed, the save format and image size are unified and saved. be able to.
また、変更後の切出領域BEを変更前の元の大きさに戻して(デジタルズーム処理を施して)から記録保存するようにすれば、同じ画像サイズで記録保存することができる。 Further, if the cut-out area BE after the change is returned to the original size before the change (after digital zoom processing) and then recorded and saved, the same image size can be recorded and saved.
なお、上述した第1実施形態においては、静止画モード/動画モードを起動してからシャッタ操作/撮影開始操作が行われるまでの間、スタイル検出を随時行うと共に、特定スタイルを検出している間、画角検出を随時行うようにしたが、数秒間隔など定期的に行うようにしてもよく、また、狭義のスタイルに変化があった際に、その変化を通知する割込み信号に応じてヒンジ部3を構成する第2軸の回動角度に応じたスタイル(広義のスタイル)を検出したり、画角を検出したりして切出領域BEを変更するようにしてもよい。 In the first embodiment described above, the style detection is performed at any time and the specific style is detected from when the still image mode / moving image mode is activated until the shutter operation / shooting start operation is performed. Although the angle of view is detected at any time, it may be periodically detected, such as every few seconds, and when there is a change in the narrowly-defined style, the hinge unit responds to an interrupt signal that notifies the change. Alternatively, the cutout region BE may be changed by detecting a style (a broad style) corresponding to the rotation angle of the second axis that configures 3 or detecting the angle of view.
また、上述した第1実施形態においては、動画撮影中には切出領域BEを変更しないようにしたが、動画撮影中でもスタイルを検出したり、画角を検出したりしながら切出領域BEを変更するようにしてもよい。 In the first embodiment described above, the cutout area BE is not changed during moving image shooting. However, the cutout area BE is detected while detecting the style and the angle of view even during moving image shooting. It may be changed.
また、上述した第1実施形態においては、ヒンジ部3を構成する第2軸の回動角度と画角の検出結果に基づいて切出領域調整テーブルM3をアクセスし、切出領域の変更量として「切出領域の大きさ」、「切出領域のずらし量」を読み出すようにしたが、切出領域調整テーブルM3を使用せず、第2軸の回動角度と画角の検出結果に基づいて「切出領域の大きさ」と「切出領域のずらし量」を算出するようにしてもよい。 Further, in the first embodiment described above, the cutout area adjustment table M3 is accessed based on the detection result of the rotation angle and the angle of view of the second shaft that constitutes the hinge part 3, and the change amount of the cutout area is set. The “size of the cut-out area” and “shift amount of the cut-out area” are read out, but the cut-out area adjustment table M3 is not used and the detection result of the rotation angle and the angle of view of the second axis is used. Thus, the “size of the cutout area” and the “shift amount of the cutout area” may be calculated.
また、上述した第1実施形態においては、切出領域BEのずらし量とその大きさの両方を同時に変更するようにしたが、ずらし量と大きさのいずれか一方を変更するようにしてもよい。また、切出領域BEの位置をずらすだけの変更ではケラレの発生を防ぐことができない場合に、切出領域BEの大きさを変更するようにしてもよく、逆に、切出領域BEの大きさだけの変更ではケラレの発生を防ぐことができない場合に、切出領域BEの位置をずらす変更を行うようにしてもよい。 In the first embodiment described above, both the shift amount and the size of the cutout region BE are changed at the same time. However, either the shift amount or the size may be changed. . In addition, if the change by simply shifting the position of the cut-out area BE cannot prevent the occurrence of vignetting, the size of the cut-out area BE may be changed. Conversely, the size of the cut-out area BE may be changed. If vignetting cannot be prevented by only this change, a change of shifting the position of the cutout area BE may be performed.
(実施形態2)
以下、この発明の第2実施形態について図8を参照して説明する。
なお、上述した第1実施形態においては、スタイル及び画角の検出結果に応じて切出領域調整テーブルM3を参照してケラレの発生有無を判別するようにしたが、この第2実施形態においては、デフォルトの切出領域BEの画像(スルー画像)内に筐体が移し込まれているか否かを画像認識し、この認識結果に基づいてケラレの発生有無を判別するようにしたものである。ここで、両実施形態において基本的あるいは名称的に同一のものは、同一符号を付して示し、その説明を省略すると共に、以下、第2実施形態の特徴部分を中心に説明するものとする。
(Embodiment 2)
A second embodiment of the present invention will be described below with reference to FIG.
In the first embodiment described above, the presence or absence of vignetting is determined by referring to the cut-out area adjustment table M3 according to the detection result of the style and the angle of view. In the second embodiment, The image recognition is performed to determine whether or not the casing has been transferred into the image (through image) of the default cutout region BE, and the presence or absence of vignetting is determined based on the recognition result. Here, in both the embodiments, the same or the same names are denoted by the same reference numerals, the description thereof will be omitted, and the following description will focus on the features of the second embodiment. .
図8は、第2実施形態における静止画撮影処理(図5のステップA12)を詳述するためのフローチャートである。なお、この第2実施形態の静止画撮影処理は、スルー画像の認識結果に基づいてケラレの発生有無を判別する点以外は、上述した第1実施形態の静止画撮影処理と基本的に同様であるので、その部分は簡単に説明するものとする。
先ず、中央制御部11は、静止画モードでカメラ部4を起動すると共に(ステップD1)、初期化処理を実行したのち(ステップD2)、スタイル検出部19をアクセスして現在のスタイルを検出し(ステップD3)、特定スタイル(オープンスタイル)でなければ(ステップD4でNO)、デフォルトの切出領域BEを特定する(ステップD15)。
FIG. 8 is a flowchart for explaining in detail the still image shooting process (step A12 in FIG. 5) in the second embodiment. The still image shooting process of the second embodiment is basically the same as the still image shooting process of the first embodiment described above, except that the presence or absence of vignetting is determined based on the recognition result of the through image. Since there is, it will be explained briefly.
First, the
また、特定スタイルであれば(ステップD4でYES)、デフォルト領域内の画像をスルー画像として取り込んでその画像を解析しながら画像認識を行う(ステップD5)。この場合、予め画像認識用として筐体認識用メモリM4に記憶されている筐体画像(比較用の基準画像)を読み出し、この筐体画像とスルー画像内の周辺部分と比較し、形状、色、模様、大きさ、写り具合などを総合的に比較することによって、このスルー画像内に筐体が写し込まれているか否かを判別する(ステップD6)。 If it is a specific style (YES in step D4), the image in the default area is captured as a through image, and image recognition is performed while analyzing the image (step D5). In this case, a case image (reference image for comparison) stored in advance in the case recognition memory M4 for image recognition is read, and this case image is compared with the peripheral portion in the through image to obtain the shape, color Then, by comprehensively comparing the pattern, size, image quality, etc., it is determined whether or not the housing is imaged in the through image (step D6).
その結果、スルー画像内に筐体画像が写し込まれていなければ(ステップD6でNO)、ケラレが発生していないので、デフォルトの切出領域BEを特定するが(ステップD15)、筐体が写し込まれていてケラレが発生している場合には(ステップD6でYES)、スルー画像内に含まれている筐体画像を特定するためにその位置とその大きさを検出すると共に、この検出結果に基づいて切出領域BEの変更量を算出する(ステップD7)。すなわち、スルー画像内のどの部分に筐体が写し込まれているか、その大きさはどの程度かを検出し、この筐体画像が切出領域BE内に含まれないようにするためには、切出領域BEをどの程度ずらしたらよいか、どの程度の大きさにしたらよいかを求める。そして、このずらし量とその大きさに基づいて切出領域BEを変更すると共に(ステップD8)、この変更後の切出領域BE内の画像を表示部16にスルー画像(モニタ画像)として表示させ、ケラレが発生していない画像がユーザに教示する(ステップD9)。
As a result, if the case image is not imprinted in the through image (NO in step D6), since no vignetting has occurred, the default cutout region BE is specified (step D15), but the case is not If the image has been imprinted and vignetting has occurred (YES in step D6), the position and the size thereof are detected in order to identify the housing image included in the through image, and this detection is performed. Based on the result, the change amount of the cutout region BE is calculated (step D7). That is, in order to detect in which part in the through image the casing is imprinted and to what extent the casing image is not included in the cutout region BE, It is determined how much the cutout area BE should be shifted and how large it should be. Then, the cutout area BE is changed based on the shift amount and its size (step D8), and the image in the cutout area BE after the change is displayed on the
以下、第1実施形態と同様に、シャッタ操作が行われるまで(ステップD10)、上述のステップD3に戻って上述の動作を繰り返す。いま、シャッタ操作が行われると(ステップD10でYES)、切出領域BE内の画像を取り込んで画像処理を施したのち(ステップD11)、この画像処理後の静止画像を画像記憶メモリM2に記録保存させる(ステップD12)。以下、撮影終了の指示操作(静止画モードの終了指示操作)が行われるまで(ステップD13)、上述のステップD3に戻って上述の動作を繰り返す。なお、終了指示操作が行われると(ステップD13でYES)、カメラ部4を停止させて静止画モード終了処理を行う(ステップD14)。
Thereafter, as in the first embodiment, the above-described operation is repeated by returning to the above-described step D3 until the shutter operation is performed (step D10). If a shutter operation is performed (YES in step D10), the image in the cutout area BE is captured and subjected to image processing (step D11), and the still image after this image processing is recorded in the image storage memory M2. Save (step D12). Hereinafter, until the photographing end instruction operation (still image mode end instruction operation) is performed (step D13), the process returns to step D3 and repeats the above-described operation. When an end instruction operation is performed (YES in step D13), the
なお、第2実施形態における動画撮影処理(図5のステップA13)の詳細なフローチャートは、図示省略したが、上述した第2実施形態の静止画撮影処理と基本的には同様で、スルー画像内に筐体が移し込まれているか否かを画像認識し、この認識結果に基づいてケラレの発生有無を判別して切出領域BEを変更するようにしている。その他は、第1実施形態の動画撮影処理と基本的に同様であるため、第2実施形態の動画撮影処理にいては、その説明は省略するものとする。 Although a detailed flowchart of the moving image shooting process (step A13 in FIG. 5) in the second embodiment is omitted, it is basically the same as the still image shooting process in the second embodiment described above, and is included in the through image. Whether or not the housing has been transferred to the image is recognized, and the cutout area BE is changed by determining the presence or absence of vignetting based on the recognition result. Others are basically the same as the moving image shooting process of the first embodiment, and therefore the description of the moving image shooting process of the second embodiment will be omitted.
以上のように、この第2実施形態において中央制御部11は、デフォルトの切出領域BEの画像(スルー画像)内に筐体の画像が含まれているか否かを画像認識し、その認識結果に基づいて切出領域BE内に筐体が写し込まれるか否かを判別するようにしたので、ケラレが発生しているか否かを確実に判別することができる。
As described above, in the second embodiment, the
中央制御部11は、画像認識結果に基づいて切出領域BEを変更する際に、そのずらし量を変更するようにしたので、切出領域BE内の画像の大きさを変更せずに、切出領域BEを容易に調整することができる。
Since the
中央制御部11は、画像認識結果に基づいて切出領域BEを変更する際に、その大きさを変更するようにしたので、切出領域BE内の画像中心部分を変更せずに、切出領域BEを容易に調整することができる。
Since the
また、特定のスタイルである場合に、筐体の画像が含まれているか否かの画像認識を行うようにしたので、画像認識を必要最小限に抑えることができ、低消費電力化を図ることが可能となる。 In addition, when the image is in a specific style, image recognition is performed to determine whether the image of the housing is included, so that image recognition can be minimized and low power consumption can be achieved. Is possible.
また、切出領域BE内に筐体が写し込まれないように切出領域BEが調整した際に、調整後の切出領域BE内の画像を撮影時のモニタ画像として表示するようにしたので、記録保存される画像をモニタ画像とが一致し、どのような画像が記録されるかをモニタ画像で確認することができる。 Further, when the cutout area BE is adjusted so that the casing is not imprinted in the cutout area BE, the image in the cutout area BE after adjustment is displayed as a monitor image at the time of shooting. The monitor image matches the recorded and saved image, and it can be confirmed from the monitor image what kind of image is recorded.
なお、上述した第2実施形態においては、画像認識時に「切出領域の大きさ」と「切出領域のずらし量」を算出するようにしたが、上述した第1実施形態と同様に、切出領域調整テーブルM3を参照して「切出領域の大きさ」と「切出領域のずらし量」を読み出すようにしてもよい。この場合、切出領域調整テーブルM3には、スルー画像に写し込まれている筐体画像の大体の位置と大きさに対応付けて、その調整データとして「切出領域の大きさ」と「切出領域のずらし量」を記憶しておけばよい。 In the second embodiment described above, the “size of the cut-out area” and the “shift amount of the cut-out area” are calculated at the time of image recognition. However, as in the first embodiment described above, The “extraction area size” and “extraction area shift amount” may be read with reference to the extraction area adjustment table M3. In this case, in the cutout area adjustment table M3, “size of cutout area” and “cutout area” are set as the adjustment data in association with the approximate position and size of the housing image copied in the through image. It is only necessary to store the “shift amount of the exit area”.
また、上述した第2実施形態においては、切出領域BEのずらし量と大きさの両方を同時に変更するようにしたが、ずらし量と大きさのいずれか一方を変更するようにしてもよく、切出領域BEの位置をずらすだけの変更ではケラレの発生を防ぐことができない場合に、切出領域BEの大きさを変更するようにしてもよく、逆に、切出領域BEの大きさを変更しただけではケラレの発生を防ぐことができない場合に、切出領域BEの位置をずらす変更を行うようにしてもよい。 In the second embodiment described above, both the shift amount and the size of the cutout region BE are changed at the same time. However, either one of the shift amount and the size may be changed, If vignetting cannot be prevented by changing the position of the cutout area BE, the size of the cutout area BE may be changed. Conversely, the size of the cutout area BE may be changed. If the vignetting cannot be prevented only by changing the position, the position of the cutout area BE may be changed.
また、上述した各実施形態においては、2軸ヒンジタイプの携帯電話機について説明したが、例えば、リバーシブルタイプ、スライドタイプの携帯電話機であってもよく、また、所謂2ウェイオープンタイプであってもよい。図9は、この2ウェイオープンタイプの携帯電話機を示し、図1(b)に示した通常のオープン状態(縦開き状態)のほか、図9に示すように横開き状態でのオープンが可能なもので、この横開き状態において、ヒンジ部3に取り付けられたカメラ部4の画角内に筐体の一部が入り込んでしまっても、上述第1あるいは第2実施形態と同様の方法で、ケラレの発生を防ぐことが可能である。
In each of the above-described embodiments, the biaxial hinge type mobile phone has been described. However, for example, a reversible type or a slide type mobile phone may be used, or a so-called two-way open type may be used. FIG. 9 shows the two-way open type mobile phone, which can be opened in the side-open state as shown in FIG. 9 in addition to the normal open state (vertical open state) shown in FIG. In this laterally open state, even if a part of the housing enters the angle of view of the
上述した各実施形態においては、カメラ部4をヒンジ部3に取り付けた場合を例示したが、表示側筐体、操作側筐体の裏側などにカメラ部4を設けた場合であってもよく、どの筐体にカメラ部4が取り付けられているかは任意である。
その他、撮像装置としては撮像部を備える携帯電話機に限らず、撮像部を備える音楽プレイヤー・パーソナルコンピュータ・PDA(個人用の携帯情報端末)などのほか、デジタルカメラ自体であってもよい。
In each of the embodiments described above, the case where the
In addition, the imaging device is not limited to a mobile phone including an imaging unit, and may be a music player, a personal computer, a PDA (personal portable information terminal) including an imaging unit, or a digital camera itself.
1 操作側筐体
2 表示側筐体
3 ヒンジ部
4 カメラ部
11 中央制御部
16 表示部
17 操作部
19 スタイル検出部
M1 プログラムメモリ
M2 画像記憶メモリ
M3 切出領域調整テーブル
DESCRIPTION OF SYMBOLS 1 Operation side housing | casing 2 Display side housing | casing 3
Claims (9)
予め用意している筐体画像と前記撮像素子の撮像範囲として切り出される切出領域の画像とを比較し、形状、色、模様、大きさ、写り具合などを総合的に比較することによって、前記切出領域の画像内に前記筐体画像が含まれているか否かを認識する画像認識手段と、
前記画像認識手段によって認識された認識結果に基づいて前記切出領域内に前記筐体が写し込まれるか否かを判別する判別手段と、
この判別手段によって切出領域内に筐体が写し込まれると判別された際に、この筐体が写し込まれないように当該切出領域を調整する領域調整手段と、
を具備したことを特徴とする撮像装置。 An imaging apparatus comprising a plurality of casings constituting the apparatus main body movably connected and an imaging unit having an imaging element in any of the casings,
By comparing the housing image prepared in advance with the image of the cutout area cut out as the imaging range of the image pickup device, and comprehensively comparing the shape, color, pattern, size, appearance, etc. Image recognition means for recognizing whether or not the housing image is included in the image of the cutout area;
A discriminating unit for discriminating whether or not the casing is imprinted in the cutout region based on a recognition result recognized by the image recognition unit ;
An area adjusting means for adjusting the cutout area so that the case is not copied when it is determined that the case is copied in the cutout area by the determining means;
An imaging apparatus comprising:
ようにしたことを特徴とする請求項1記載の撮像装置。 Before SL region adjusting means adjusts the cut region by changing the cutting position of the segment region based on the recognized recognition result by the image recognition unit,
The imaging apparatus according to claim 1, which is configured as described above.
ようにしたことを特徴とする請求項1記載の撮像装置。 Before SL region adjusting means adjusts the cut region by changing the size of the segment region of said segment region based on the recognition result recognized by the image recognition unit,
The imaging apparatus according to claim 1, which is configured as described above.
前記画像認識手段は、前記スタイル検出部によって検出された複数の筐体の位置関係が特定のスタイルである場合に、予め用意している筐体画像と前記撮像素子の撮像範囲として切り出される切出領域の画像とを比較し、形状、色、模様、大きさ、写り具合などを総合的に比較することによって、前記切出領域の画像内に前記筐体の画像が含まれているか否かを認識する、
ようにしたことを特徴とする請求項1から3のいずれか記載の撮像装置。 Further comprising style specifying means for detecting the positional relationship of the plurality of casings and specifying the style of the apparatus main body,
The image recognition means is a cutout that is cut out as a case image prepared in advance and an imaging range of the image sensor when the positional relationship between the plurality of cases detected by the style detection unit is a specific style. Whether or not the image of the housing is included in the image of the cutout region by comparing the image of the region and comprehensively comparing the shape, color, pattern, size, appearance, etc. recognize,
The imaging apparatus according to claim 1 , wherein the imaging apparatus is configured as described above.
ようにしたことを特徴とする請求項1記載の撮像装置。 When it is determined by the determining means that the casing is imprinted in the cutout area, it further comprises teaching means for teaching that the cutout area has been adjusted by the adjusting means.
The imaging apparatus according to claim 1, which is configured as described above.
ようにしたことを特徴とする請求項1記載の撮像装置。 An image for displaying an image in the cut-out area after adjustment as a monitor image at the time of shooting when the cut-out area is adjusted so that the housing is not imprinted in the cut-out area by the area adjusting unit A display means,
The imaging apparatus according to claim 1, which is configured as described above.
ようにしたことを特徴とする請求項1記載の撮像装置。 Performing image processing on the image in the cut-out area adjusted by the area adjusting means, and then recording and saving the image.
The imaging apparatus according to claim 1, which is configured as described above.
ようにしたことを特徴とする請求項7記載の撮像装置。 The image in the cropped area after the adjustment is recorded and saved after returning to the original size before the adjustment,
The imaging apparatus according to claim 7, which is configured as described above.
装置本体を構成する複数の筐体が可動自在に連結されていると共に、いずれかの筐体に撮像素子を有する撮像部が備えられている状態において、
予め用意している筐体画像と前記撮像素子の撮像範囲として切り出される切出領域の画像とを比較し、形状、色、模様、大きさ、写り具合などを総合的に比較することによって、前記切出領域の画像内に前記筐体画像が含まれているか否かを認識する機能と、
前記認識された認識結果に基づいて前記切出領域内に前記筐体が写し込まれるか否かを判別する機能と、
前記切出領域内に筐体が写し込まれると判別された際に、この筐体が写し込まれないように当該切出領域を調整する機能と、
を実現させるためのプログラム。
Against the computer,
In a state where a plurality of casings constituting the apparatus main body are movably connected and an imaging unit having an imaging element is provided in any casing,
By comparing the housing image prepared in advance with the image of the cutout area cut out as the imaging range of the image pickup device, and comprehensively comparing the shape, color, pattern, size, appearance, etc. A function of recognizing whether or not the housing image is included in the image of the cutout area;
A function of determining whether or not the casing is imprinted in the cutout region based on the recognized recognition result ;
A function of adjusting the cutout area so that the case is not copied when it is determined that the case is copied in the cutout area;
A program to realize
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008245488A JP5125939B2 (en) | 2008-09-25 | 2008-09-25 | Imaging apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008245488A JP5125939B2 (en) | 2008-09-25 | 2008-09-25 | Imaging apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010081169A JP2010081169A (en) | 2010-04-08 |
JP5125939B2 true JP5125939B2 (en) | 2013-01-23 |
Family
ID=42211137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008245488A Expired - Fee Related JP5125939B2 (en) | 2008-09-25 | 2008-09-25 | Imaging apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5125939B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5860688B2 (en) * | 2011-12-20 | 2016-02-16 | 富士機械製造株式会社 | Board work machine |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004328212A (en) * | 2003-04-23 | 2004-11-18 | Minolta Co Ltd | Digital camera |
JP2005323142A (en) * | 2004-05-10 | 2005-11-17 | Konica Minolta Photo Imaging Inc | Imaging device |
JP2006041741A (en) * | 2004-07-23 | 2006-02-09 | Nikon Corp | Camera system |
-
2008
- 2008-09-25 JP JP2008245488A patent/JP5125939B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010081169A (en) | 2010-04-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9712751B2 (en) | Camera field of view effects based on device orientation and scene content | |
EP2523450B1 (en) | Handheld electronic device with dual image capturing method and computer program product | |
JP5561769B2 (en) | Terminal device and program | |
CN102361492B (en) | There is the mobile terminal of ergonomic imaging functions | |
WO2021047077A1 (en) | Image processing method, apparatus, and device based on multiple photographing modules, and medium | |
JP2009141489A (en) | Electronic equipment | |
JP6727989B2 (en) | Image processing apparatus and control method thereof | |
JP2011076267A (en) | Information processing apparatus, material photographing method, program, and recording medium | |
TW201404133A (en) | Automatic photographing device and method | |
KR20160005305A (en) | Image switching method and device | |
JP4732387B2 (en) | Display device, display control method thereof, and imaging device | |
CN112799522A (en) | Mobile terminal control method and device, mobile terminal and storage medium | |
JP5125939B2 (en) | Imaging apparatus and program | |
JP2005323241A (en) | Mobile telephone set | |
JP4932368B2 (en) | Portable terminal device and program | |
JP2011055043A (en) | Information recorder and program | |
US20230154148A1 (en) | Image capturing apparatus capable of suppressing detection of subject not intended by user, control method for image capturing apparatus, and storage medium | |
JP2009153085A (en) | Mobile terminal device and program | |
JP2016103666A (en) | Electronic apparatus and imaging device | |
JP2008098828A (en) | Portable terminal equipment | |
JP5003410B2 (en) | Portable terminal device and program | |
JP2009094985A (en) | Terminal unit and program | |
CN114500821B (en) | Photographing method and device, terminal and storage medium | |
JP4869574B2 (en) | Portable information processing apparatus, information presentation method, and information presentation program | |
JP2005311851A (en) | Portable telephone with camera and image saving method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20100728 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110802 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120705 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120710 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120910 |
|
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: 20121002 |
|
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: 20121015 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151109 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151109 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151109 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |