JP2007311962A - Electronic camera and image display program - Google Patents
Electronic camera and image display program Download PDFInfo
- Publication number
- JP2007311962A JP2007311962A JP2006137287A JP2006137287A JP2007311962A JP 2007311962 A JP2007311962 A JP 2007311962A JP 2006137287 A JP2006137287 A JP 2006137287A JP 2006137287 A JP2006137287 A JP 2006137287A JP 2007311962 A JP2007311962 A JP 2007311962A
- Authority
- JP
- Japan
- Prior art keywords
- image
- electronic camera
- image data
- contrast
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
本発明は、電子カメラおよび画像表示プログラムに関する。 The present invention relates to an electronic camera and an image display program.
取込み画像について複数の評価領域においてコントラスト評価情報を取得し、取得した評価情報に基づいて被写界深度内の評価領域を選出する技術が知られている。たとえば特許文献1によれば、撮影処理前に取込んだ画像を用いて選出した評価領域や、選出した評価領域に対応する被写体を他の領域と区別して表示する技術が開示されている。 A technique is known in which contrast evaluation information is acquired in a plurality of evaluation regions for a captured image, and an evaluation region within the depth of field is selected based on the acquired evaluation information. For example, Patent Document 1 discloses a technique for displaying an evaluation area selected using an image captured before photographing processing and a subject corresponding to the selected evaluation area in distinction from other areas.
従来技術による表示では、選出した評価領域(または選出された評価領域に対応する被写体像)内の全てがカラー表示されるので、カラー表示されている領域のうちどの部分でピントが合っているかがわからない。 In the display according to the prior art, since all of the selected evaluation area (or the subject image corresponding to the selected evaluation area) is displayed in color, which part of the color display area is in focus is displayed. do not know.
(1)本発明による電子カメラは、画像データによる画像を表示する表示手段と、撮影指示後に取得した撮影画像のデータを用いてコントラスト情報を算出するコントラスト算出手段と、コントラスト算出手段によって所定値以上のコントラスト情報が算出された画素位置に対応する画像データ、および所定値に満たないコントラスト情報が算出された画素位置に対応する画像データを異なる態様で表示するように表示手段を制御する表示制御手段とを備えることを特徴とする。
(2)請求項1に記載の電子カメラにおいて、コントラスト算出手段は、撮影画像の画素位置ごとにコントラスト情報を算出することが好ましい。
(3)請求項2に記載の電子カメラにおいて、撮影画像は複数色の色成分データを有してもよく、コントラスト算出手段は、色選択指示に応じた色成分のデータを用いてコントラスト情報を算出することもできる。
(4)請求項2または3に記載の電子カメラにおいて、表示制御手段は、所定値に満たないコントラスト情報が算出された画素位置に対応する画像データに階調反転処理を施して表示することが好ましい。
(5)請求項2または3に記載の電子カメラにおいて、表示制御手段は、所定値に満たないコントラスト情報が算出された画素位置に対応する画像データに画像ぼかし処理を施して表示することが好ましい。
(6)請求項4に記載の電子カメラはさらに、異なる態様の表示後の記録指示に応じて、撮影指示後に取得した撮影画像のデータを階調反転処理を施さずに記録媒体に記録する記録制御手段を備えてもよい。
(7)請求項5に記載の電子カメラはさらに、異なる態様の表示後の記録指示に応じて、撮影指示後に取得した撮影画像のデータを画像ぼかし処理を施して記録媒体に記録する記録制御手段を備えてもよい。
(8)請求項1〜7のいずれか一項に記載の電子カメラにおいて、コントラスト算出手段は、変更指示に応じて所定値を変更し、変更後の所定値に基づいて異なる態様の表示を行うように表示手段を制御することもできる。
(9)本発明による画像表示プログラムは、画像データを読込む処理と、読込んだ画像データを用いてコントラスト情報を算出する処理と、所定値以上のコントラスト情報を算出した画素位置に対応する画像データ、および所定値に満たないコントラスト情報を算出した画素位置に対応する画像データを異なる態様にて、画像データによる画像を表示装置に表示させる処理とを実行させることを特徴とする。
(1) An electronic camera according to the present invention includes a display unit that displays an image based on image data, a contrast calculation unit that calculates contrast information using captured image data acquired after a shooting instruction, and a contrast calculation unit that exceeds a predetermined value. Display control means for controlling the display means to display the image data corresponding to the pixel position for which the contrast information is calculated and the image data corresponding to the pixel position for which the contrast information for which the contrast information is less than the predetermined value is displayed in different manners It is characterized by providing.
(2) In the electronic camera according to the first aspect, it is preferable that the contrast calculation unit calculates the contrast information for each pixel position of the captured image.
(3) In the electronic camera according to claim 2, the captured image may have color component data of a plurality of colors, and the contrast calculation unit may obtain the contrast information using the color component data according to the color selection instruction. It can also be calculated.
(4) In the electronic camera according to (2) or (3), the display control means may display the image data corresponding to the pixel position where the contrast information less than the predetermined value is calculated by performing a gradation inversion process. preferable.
(5) In the electronic camera according to claim 2 or 3, the display control means preferably displays the image data corresponding to the pixel position where contrast information less than a predetermined value is calculated by performing an image blurring process. .
(6) The electronic camera according to the fourth aspect of the present invention further records in which data of a photographed image acquired after the photographing instruction is recorded on a recording medium without performing gradation inversion processing in accordance with a recording instruction after display in a different mode. Control means may be provided.
(7) The electronic camera according to (5) is further provided with a recording control unit that performs image blurring processing and records the data of the captured image acquired after the imaging instruction in accordance with the recording instruction after the display in a different mode. May be provided.
(8) In the electronic camera according to any one of claims 1 to 7, the contrast calculation unit changes the predetermined value in accordance with the change instruction, and displays different modes based on the changed predetermined value. In this way, the display means can be controlled.
(9) An image display program according to the present invention includes a process for reading image data, a process for calculating contrast information using the read image data, and an image corresponding to a pixel position for which contrast information greater than a predetermined value is calculated. And a process of displaying an image based on the image data on the display device in a different manner for the data and the image data corresponding to the pixel position for which the contrast information less than the predetermined value is calculated.
本発明による電子カメラでは、撮影画像のうちピントが合っている箇所を示す表示ができる。
本発明による画像表示プログラムでは、撮影画像のうちピントが合っている箇所を示す表示をさせることができる。
With the electronic camera according to the present invention, it is possible to display the portion of the captured image that is in focus.
With the image display program according to the present invention, it is possible to display the portion of the captured image that is in focus.
以下、図面を参照して本発明を実施するための最良の形態について説明する。
(第一の実施形態)
図1は、本発明の第一の実施形態による電子カメラの要部構成を説明するブロック図である。図1において、タイミングジェネレータ(TG)15は、メインCPU18から送出される指示に応じて、タイミング信号をドライバ14、AFE(Analog Front End)回路12、A/D変換回路13および画像処理回路16へ供給する。ドライバ14は、撮像素子11で必要な駆動信号を供給する。
The best mode for carrying out the present invention will be described below with reference to the drawings.
(First embodiment)
FIG. 1 is a block diagram for explaining the main configuration of the electronic camera according to the first embodiment of the present invention. In FIG. 1, a timing generator (TG) 15 sends a timing signal to a
撮影レンズLは、撮像素子11の撮像面に被写体像を結像させる。撮像素子11は、画素に対応する複数の光電変換素子を備えたCCDイメージセンサなどによって構成され、撮像面上に結像されている被写体像を撮像し、被写体像の明るさに応じた光電変換信号を出力する。撮像素子11の撮像面には、それぞれR(赤)、G(緑)およびB(青)のカラーフィルタが画素位置に対応するように設けられている。撮像素子11がカラーフィルタを通して被写体像を撮像するため、撮像素子11から出力される光電変換信号は、RGB表色系の色情報を有する。
The photographing lens L forms a subject image on the imaging surface of the
AFE回路12は、撮像素子11から出力される光電変換信号に対するアナログ処理(ゲインコントロールなど)を行う。A/D変換回路13は、アナログ処理後の撮像信号をディジタル信号に変換する。
The
メインCPU18は、各ブロックから出力される信号を入力して所定の演算を行い、演算結果に基づく制御信号を各ブロックへ出力する。画像処理回路16は、たとえばASICとして構成され、A/D変換回路13から入力されるディジタル画像信号に対する画像処理を行う。画像処理には、たとえば、輪郭強調や色温度調整(ホワイトバランス調整)処理、画像信号に対するフォーマット変換処理が含まれる。
The
画像圧縮回路17は、画像処理回路16による処理後の画像信号に対して、JPEG方式で所定の圧縮比率の画像圧縮処理を行う。表示画像作成回路20は、撮像画像を液晶モニタ21に表示させるための表示データを作成する。液晶モニタ21は、表示画像作成回路20から入力される表示データによる再生画像を表示する。
The
記録媒体30は、電子カメラ10に対して着脱可能なメモリカードなどで構成される。記録媒体30には、メインCPU18からの指示によって撮影画像のデータおよびその情報を含む画像ファイルが記録される。記録媒体30に記録された画像ファイルは、メインCPU18からの指示によって読み出しが可能である。
The
バッファメモリ19は、画像処理前後および画像処理途中のデータを一時的に格納する他、記録媒体30へ記録する前の画像ファイルを格納したり、記録媒体30から読み出した画像ファイルを格納したりするために使用される。
The
操作部材23は、電子カメラ10の操作ボタン類に対応し、各ボタンの押下操作に対応する操作信号をメインCPU18へ出力する。レンズ駆動装置24は、メインCPU18から送出される指示に応じて撮影レンズLを構成するフォーカスレンズ(不図示)を光軸方向に進退駆動させることにより、撮影レンズLによるフォーカス調節を行う。
The
<オートフォーカス(AF)動作>
本実施形態の電子カメラは、山登り方式と呼ばれる焦点検出方式によって撮影レンズLによる焦点位置の調節状態を検出する。具体的には、フォーカスレンズを光軸方向に進退駆動させながら、撮像素子11から出力される撮像信号の高周波数成分によるデータ、すなわち、焦点評価値が極大値をとるように合焦位置を検出する。
<Auto focus (AF) operation>
The electronic camera of this embodiment detects the adjustment state of the focal position by the photographic lens L by a focus detection method called a hill-climbing method. More specifically, the focus position is detected so that the focus evaluation value takes the maximum value while driving the focus lens forward / backward in the optical axis direction and the data based on the high-frequency component of the image pickup signal output from the
メインCPU18は、バッファメモリ19に格納されている画像処理前の画像データのうち、焦点検出用の領域(フォーカスエリア)に対応する画像データから高周波数成分を抽出するフィルタリング処理を行う。フィルタリング処理後の画像データは、フィルタリング処理前の画像データに比べて、低周波数成分、とくに直流成分が除去されている。メインCPU18はさらに、画像データの高周波数成分による差分を積算するべく、上記フィルタリング後の画像データの絶対値を積算する。この積算値は焦点評価値と呼ばれる。
The
焦点評価値の演算は、たとえば、フォーカスレンズを∞(無限遠)側から至近側へ向けて移動させながら行う。メインCPU18が繰り返し焦点評価値を算出すると、フォーカスレンズの位置と焦点評価値との関係が焦点評価値カーブ(いわゆる山登り曲線)として得られる。焦点評価値カーブの極大点に対応するレンズ位置は、撮像素子11によって撮像される被写体像のエッジのボケをなくし、画像のコントラストを最大にする位置である。
The calculation of the focus evaluation value is performed, for example, while moving the focus lens from the ∞ (infinity) side to the close side. When the
<メイン処理>
図2は、メインCPU18が行うメイン処理のフローチャートである。図2によるプログラムはメインCPU18内のメモリ(不図示)に格納されており、電子カメラのメインスイッチ(不図示)のオン操作時、および操作部材23を構成するレリーズスイッチ(不図示)から半押し操作信号がメインCPU18へ入力された場合に起動される。ステップS101において、メインCPU18はカメラ内の情報を初期化してステップS102へ進む。
<Main processing>
FIG. 2 is a flowchart of main processing performed by the
ステップS102において、メインCPU18はAE動作を行ってステップS103へ進む。具体的には、不図示の測光センサの検出信号を用いて被写体輝度BVを算出し、BV値を用いて露出制御値を演算する。ステップS103において、メインCPU18はAF動作を行ってステップS104へ進む。具体的には、レンズ駆動装置24へ指示を送り、フォーカスレンズを移動させながら上述した焦点評価値の算出を繰り返す。メインCPU18はさらに、レンズ駆動装置24へ指示を送り、フォーカスレンズを合焦位置(焦点評価値カーブの極大点に対応する位置)へ駆動させてステップS104へ進む。
In step S102, the
ステップS104において、メインCPU18は、レリーズ操作されたか否かを判定する。メインCPU18は、操作部材23を構成するレリーズスイッチ(不図示)からレリーズ全押し操作信号が入力されるとステップS104を肯定判定してステップS105へ進み、レリーズ全押し操作信号が入力されない場合にはステップS104を否定判定し、ステップS102へ戻る。
In step S104, the
ステップS105において、メインCPU18は撮像素子11による画像取込みを行わせる。具体的には、絞り(不図示)を制御絞り値まで絞り込ませ、撮像素子11に制御シャッタ秒時に対応する時間の電荷蓄積を行わせる。メインCPU18は、撮像素子11からの画像信号がバッファメモリ19に格納されるとステップS106へ進む。
In step S <b> 105, the
ステップS106において、メインCPU18はコントラスト値算出を行う。具体的には、バッファメモリ19に格納されている画像処理前の画像データを用い、撮影画像についてのコントラスト情報(焦点評価値)を画素位置ごとに算出する。ステップS103におけるAF動作時のコントラスト情報の算出が、フォーカスエリアに対応する撮像素子11上の所定領域内の画素データを用いて各レンズ位置ごとに算出するものであるのに対し、ステップS106におけるコントラスト情報の算出は、撮影画像の全体の画素データを用いて算出する点が異なる。
In step S106, the
ステップS107において、メインCPU18はコントラスト値が所定値以上か否かを判定する。メインCPU18は、撮影画像を構成する画素位置ごとに、ステップS106で算出したコントラスト値が所定値以上の場合はステップS107を肯定判定してステップS108へ進み、コントラスト値が所定値未満の場合にはステップS107を否定判定してステップS109へ進む。
In step S107, the
ステップS109において、メインCPU18は、ステップS107において否定判定した画素位置の色成分信号を用いてRGB反転処理を施し、ステップS108へ進む。RGB反転処理では、当該画素位置のR成分信号(R+と表す)に対して階調を反転させたR成分信号(R−と表す)を算出し、G成分信号(G+と表す)に対しては階調を反転させたG成分信号(G−と表す)を算出し、B成分信号(B+と表す)に対しては階調を反転させたB成分信号(B−と表す)を算出する。これにより、画像の明るい部分を構成する画素位置については反転処理によって小さい色成分信号が算出され、画像の暗い部分を構成する画素位置については反転処理によって大きい色成分信号値が算出される。
In step S109, the
ステップS108において、メインCPU18は画像合成処理を施してステップS110へ進む。画像合成処理は、RGB反転処理を施した画素位置のそれぞれについて、RGB反転処理前(原画像)のR成分信号(R+)に対してRGB反転処理後(RGB反転画像)のR成分信号(R−)を加算し、RGB反転処理前(原画像)のG成分信号(G+)に対してはRGB反転処理後(RGB反転画像)のG成分信号(G−)を加算し、RGB反転処理前(原画像)のB成分信号(B+)に対してはRGB反転処理後(RGB反転画像)のB成分信号(B−)を加算し、加算結果を合成値とする。また、RGB反転処理を施していない画素位置については、RGB反転処理前(原画像)のR成分信号(R+)、G成分信号(G+)、B成分信号(B+)を、そのまま合成値とする。
In step S108, the
ステップS110において、メインCPU18は表示画像作成回路20へ指示を送り、画像合成後の画像を液晶モニタ21に再生表示させてステップS111へ進む。図3(a)はRGB反転処理前の原画像を例示する図、図3(b)はRGB反転処理後の反転画像を例示する図、図3(c)は画像合成処理後の合成画像を例示する図である。
In step S110, the
図3(a)において、領域31はコントラスト値が所定値以上であり、領域32および領域33はコントラスト値が所定値未満である。図3(b)において、領域32Aおよび領域33AはRGB反転処理されたものである。図3(c)において、領域31は原画像の色彩で表示され、領域32Bおよび領域33Bは合成処理によって中間階調の無彩色で表示される。なお、図3(a)においては領域31、領域32および領域33を除く他の背景領域もコントラスト値が所定値未満である。本説明では背景領域にも斜線を付加すべきところ、図3(a)および図3(b)においては背景領域についての斜線の付加を省略した。
In FIG. 3A, the contrast value of the
図3(c)において、領域32Bおよび領域33Bが無彩色のグレー画像で表示される理由は以下のとおりである。原画像のR成分信号(R+)と、RGB反転画像のR成分信号(R−)とを加算すると、RGB反転処理を施した全ての画素位置において信号値が略等しくなる。すなわち、中間階調の赤色画像が得られる。同様に、原画像のG成分信号(G+)と、RGB反転画像のG成分信号(G−)とを加算すると、RGB反転処理を施した全ての画素位置において信号値が略等しくなる。すなわち、中間階調の緑色画像が得られる。さらに、原画像のB成分信号(B+)と、RGB反転画像のB成分信号(B−)とを加算すると、RGB反転処理を施した全ての画素位置において信号値が略等しくなる。すなわち、中間階調の青色画像が得られる。
In FIG. 3C, the reason why the
図3(c)の領域32Bおよび33B(背景領域も含む)は、以上のように得られた中間階調の赤色画像、緑色画像、および青色画像を合成したものであるので、ユーザには領域31(ステップS108で肯定判定された画素で構成される領域)を除く他の領域が中間階調の無彩色画像として認識される。このように、ユーザはコントラスト値が所定値以上の画素部分のみをカラーと認識し、コントラスト値が所定値未満の画素部分を無彩色と認識する。
Since the
図2のステップS111において、メインCPU18は記録指示されたか否かを判定する。メインCPU18は、操作部材23から記録指示を示す操作信号が入力されるとステップS111を肯定判定してステップS112へ進み、記録指示を示す操作信号が入力されない場合にはステップS111を否定判定し、ステップS102へ戻る。ステップS102へ戻る場合は、撮影画像のデータを記録媒体30に保存しない場合である。
In step S111 in FIG. 2, the
ステップS112において、メインCPU18は、バッファメモリ19内に格納されている画像処理前の画像データに所定の画像処理(色温度調整等)を行ってステップS113へ進む。ステップS113において、メインCPU18は、画像処理後の撮影画像のデータを記録媒体30に記録(保存)して図2による処理を終了する。
In step S112, the
以上説明した第一の実施形態によれば、次の作用効果が得られる。
(1)レリーズ操作後の取込み画像(撮影画像)のデータを用いてコントラスト値を算出する(ステップS106)ので、AF動作(ステップS103)による合焦状態を実際の撮影画像において確認できる。
According to the first embodiment described above, the following operational effects can be obtained.
(1) Since the contrast value is calculated using the captured image (captured image) data after the release operation (step S106), the in-focus state by the AF operation (step S103) can be confirmed in the actual captured image.
(2)撮影画像のうち、コントラスト値が所定値以上の画素部分を液晶モニタ21にカラーで表示し、コントラスト値が所定値未満の画素部分を無彩色で表示する構成(ステップS107、S108、S109、S110)としたので、ユーザは、ピントが合ってコントラスト値が高い(エッジぼけが小さい)領域とそうでない領域とを液晶モニタ21上で容易に識別し、フォーカス調節情報として確認できる。また、撮影画像の全域を表示対象にするので、AF動作(ステップS103)で用いられたフォーカスエリアから外れる領域についても、コントラスト値が高ければカラー表示できる。 (2) A configuration in which a pixel portion having a contrast value equal to or higher than a predetermined value is displayed in color on the liquid crystal monitor 21 and a pixel portion having a contrast value lower than the predetermined value is displayed in an achromatic color (steps S107, S108, S109). , S110), the user can easily identify on the liquid crystal monitor 21 an area where the focus is high and the contrast value is high (edge blur is small) and an area where the contrast value is not, and can be confirmed as focus adjustment information. In addition, since the entire area of the captured image is a display target, even a region outside the focus area used in the AF operation (step S103) can be displayed in color if the contrast value is high.
一般に、撮像素子11の撮像画素数は液晶モニタ21の表示解像度(表示画素数)に比べて多い。このため、電子カメラが液晶モニタ21に撮影画像の全域を表示させる通常表示時は画素信号の全てを表示しなくてよく、コントラスト値が所定値以上の画素部分が1ドット程度しか液晶モニタ21に表示されない場合が想定される。このような場合でも、撮影画像の全域について各画素位置ごとにコントラスト値を算出しておくことで、撮影画像の一部領域を液晶モニタ21の画面上に引き延ばして表示する(いわゆる電子ズーム拡大表示)ことにより、ピントが合ってコントラスト値が高い領域を確実に液晶モニタ21に表示できる。
In general, the number of imaging pixels of the
(3)コントラスト値が所定値以上の画素部分のみをカラーで表示するので、主要被写体であってもコントラスト値が所定値未満であれば無彩色で表示される。このため、ユーザは、主要被写体のいずれの部分を対象に合焦しているかを確認できる。また、被写体抽出などの画像認識処理が不要なので、CPUの処理負担を重くすることがない。 (3) Since only pixel portions having a contrast value equal to or higher than a predetermined value are displayed in color, even a main subject is displayed in an achromatic color if the contrast value is less than the predetermined value. For this reason, the user can confirm which part of the main subject is focused on. Further, since image recognition processing such as subject extraction is unnecessary, the processing burden on the CPU is not increased.
(4)RGB反転処理(ステップS109)したデータを原画像データに加算するという単純な画像合成(ステップS108)によって無彩色表示を行うので、CPUの処理負担が軽い。 (4) Since the achromatic display is performed by a simple image composition (step S108) in which the RGB inversion processing (step S109) is added to the original image data, the processing load on the CPU is light.
(5)液晶モニタ21に表示後に記録指示が行われた場合(ステップS111を肯定判定)にのみ撮影画像のデータを記録媒体30に記録するので、必要とされる撮影画像のみを記録できる。
(5) Since the data of the photographic image is recorded on the
(第二の実施形態)
図4は、本発明の第二の実施形態による電子カメラのメインCPU18が行うメイン処理のフローチャートである。図2と比べて、ステップS106(コントラスト値算出)とステップS107(コントラスト値判定)との間にステップS106A(判定閾値変更)が挿入される点、ステップS109(RGB反転処理)の代わりにステップS150(画像ぼかし付加処理)が行われる点、ステップS108(画像合成処理)の代わりにステップS108A(画像合成処理)が行われる点、ステップS111が否定判定された場合にステップS106Aに戻る点、およびステップS112(画像処理)の代わりにステップS112A(画像処理)が行われる点が異なるので、これら相違点を中心に説明する。
(Second embodiment)
FIG. 4 is a flowchart of main processing performed by the
図4のステップS106Aにおいて、メインCPU18はステップS107で用いる判定閾値を変更する。判定閾値の増減および変更幅は、操作部材23からの操作信号に応じて決定する。なお、判定閾値を示す情報はメインCPU18内の不揮発性メモリに記憶しておき、変更操作が行われた場合には前回の判定閾値を起点に変更を行う。変更操作が行われない場合は、前回の判定閾値を再び判定閾値として用いる。
In step S106A in FIG. 4, the
ステップS107を否定判定して進むステップS150において、メインCPU18は、ステップS107において否定判定した画素領域のデータに画像ぼかしを付加する処理を施し、ステップS108Aへ進む。画像ぼかし付加処理は、画像に対して電気的にぼかしを加える(以後、画像ぼけの付加と呼ぶ)もので、画像処理によって画像を加工し、擬似的にピントを外した画像を生成するものである。本実施形態による電子カメラでは、画像データにローパスフィルタ(LPF)処理を施して画像の高域空間周波数成分を劣化させることにより、画像のエッジを不鮮明にし、画像のコントラストを低下させる。
In step S150, which proceeds after making a negative determination in step S107, the
ステップS108Aにおいて、メインCPU18は画像合成処理を施してステップS110へ進む。画像合成処理は、画像ぼけの付加処理を施した画素位置のそれぞれについて、画像ぼけの付加処理前(原画像)の画像データを画像ぼけの付加処理後(ぼけ画像)の画像データで置換し、置換後の画像データを合成値とする。また、画像ぼけの付加処理を施していない画素位置については、画像ぼけの付加処理前(原画像)の画像データをそのまま合成値とする。
In step S108A, the
ステップS111において、メインCPU18は記録指示されたか否かを判定する。メインCPU18は、操作部材23から記録指示を示す操作信号が入力されるとステップS111を肯定判定してステップS112へ進み、記録指示を示す操作信号が入力されない場合にはステップS111を否定判定し、ステップS106Aへ戻る。ステップS106Aへ戻る場合は、画像ぼけの付加範囲を広げる(もしくは狭める)場合である。
In step S111, the
ステップS112Aにおいて、メインCPU18は、バッファメモリ19内に格納されている上記画像合成処理後の画像データに所定の画像処理(色温度調整等)を行ってステップS113へ進む。
In step S112A, the
以上説明した第二の実施形態によれば、次の作用効果が得られる。
(1)撮影画像のうち、コントラスト値が所定値未満の領域に画像ぼけを付加して液晶モニタ21に表示し、コントラスト値が所定値以上の領域はそのまま表示する構成(ステップS107、S108A、S150、S110)としたので、ユーザは、コントラスト値が高い領域とそうでない領域とを液晶モニタ21上で容易に識別できる。また、撮影画像の全域を表示対象にするので、AF動作(ステップS103)で用いられたフォーカスエリアから外れる領域についても、コントラスト値に応じた表示が可能である。
According to the second embodiment described above, the following operational effects can be obtained.
(1) A configuration in which, in the captured image, an image blur is added to an area where the contrast value is less than a predetermined value and displayed on the
(3)主要被写体であってもコントラスト値が所定値未満であれば画像ぼけを付加して表示するため、ユーザは、主要被写体のいずれの部分を対象に合焦しているかを確認できる。また、被写体抽出などの画像認識処理が不要なので、CPUの処理負担が軽い。 (3) Even if it is the main subject, if the contrast value is less than the predetermined value, the image is blurred and displayed, so that the user can confirm which part of the main subject is focused on. Further, since image recognition processing such as subject extraction is unnecessary, the processing burden on the CPU is light.
(4)コントラスト値の判定閾値を変更可能に構成した(ステップS106A)ので、画像ぼけを付加する範囲を広くしたり、狭くしたりすること(すなわち、被写界深度の可変)が画像処理によって自在に行える。 (4) Since the determination threshold of the contrast value is configured to be changeable (step S106A), it is possible to widen or narrow the range in which image blur is added (that is, variable depth of field) by image processing. It can be done freely.
(5)撮影画像に対して画像ぼけを付加した合成画像のデータを記録媒体30に記録するようにしたので、一眼レフタイプのカメラに比べて被写界深度が深いコンパクトタイプのカメラでも、被写界深度を浅くした写真表現が可能になる。
(5) Since the composite image data obtained by adding image blur to the photographed image is recorded in the
(第三の実施形態)
図5は、本発明の第三の実施形態による電子カメラのメインCPU18が行うメイン処理のフローチャートである。図2と比べて、ステップS105(画像データ取込み)とステップS106(コントラスト値判定)との間にステップS105A(色選択)が挿入される点、およびステップS106(コントラスト値算出)の代わりにステップS106B(選択色コントラスト値算出)が行われる点が異なるので、これら相違点を中心に説明する。
(Third embodiment)
FIG. 5 is a flowchart of main processing performed by the
図5のステップS105Aにおいて、メインCPU18はステップS106Bで用いる画像データの色成分を選択する。色成分の選択は、操作部材23からの操作信号に応じて決定する。なお、色選択された色を示す情報はメインCPU18内の不揮発性メモリに記憶しておき、色選択操作が行われた場合には前回の選択色を起点に変更を行う。色選択操作が行われない場合は、前回の選択色を再び採用する。
In step S105A in FIG. 5, the
ステップS106Bにおいて、メインCPU18は選択色についてコントラスト値算出を行う。具体的には、バッファメモリ19に格納されている画像処理前の画像データのうち選択された色成分のデータを用い、撮影画像についてのコントラスト情報(焦点評価値)を画素位置ごとに算出する。ステップS103におけるAF動作時のコントラスト情報の算出が、フォーカスエリアに対応する撮像素子11上の領域内の画素データを用いて各レンズ位置ごとに算出するものであるのに対し、ステップS106Bにおけるコントラスト情報の算出は、撮影画像の全体の画素データを用いて算出する点が異なる。
In step S106B, the
なお、ステップS109のRGB反転処理は、図2の場合と同様に全色成分について行う。ステップS105Aの色選択はコントラスト値判定に用いる色成分を選択するために行うものであり、無彩色表示を施すためのRGB反転処理とは異なるからである。 Note that the RGB inversion processing in step S109 is performed for all color components in the same manner as in FIG. This is because the color selection in step S105A is performed to select a color component used for contrast value determination, and is different from the RGB inversion processing for performing achromatic display.
以上説明した第三の実施形態によれば、第一の実施形態による作用効果に加えて、次の作用効果が得られる。すなわち、コントラスト値の判定に用いる色成分を選択可能に構成した(ステップS105A)ので、被写体の色に応じたコントラスト値判定が可能になる。この結果、ステップS110において、同色の被写体の中からコントラスト値が所定値以上の画素部分のみをカラーで表示し、同色の被写体でもコントラスト値が所定値未満であれば無彩色で表示できる。このため、ユーザは、主要被写体のいずれの部分を対象に合焦しているかを容易に確認できる。 According to the third embodiment described above, the following functions and effects can be obtained in addition to the functions and effects of the first embodiment. That is, since the color component used for determining the contrast value is configured to be selectable (step S105A), it is possible to determine the contrast value according to the color of the subject. As a result, in step S110, only a pixel portion having a contrast value equal to or higher than a predetermined value among the same color subjects can be displayed in color, and even a subject of the same color can be displayed in achromatic color if the contrast value is less than the predetermined value. Therefore, the user can easily confirm which part of the main subject is focused on.
(変形例1)
以上の説明では、AF動作(ステップS103)に山登り方式を採用する例を説明したが、一眼レフタイプのカメラのように位相差検出方式のAF装置を設け、位相差検出によるAF動作を行う構成としてもよい。この場合にも、撮影画像のうちコントラスト値が所定値未満の領域を液晶モニタ21に無彩色表示したり、コントラスト値が所定値未満の領域に画像ぼけを付加して液晶モニタ21に表示したりすることにより、コントラスト値が高い領域とそうでない領域とを識別可能に表示できる。
(Modification 1)
In the above description, the example in which the hill-climbing method is adopted for the AF operation (step S103) has been described. It is good. Also in this case, an area where the contrast value is less than the predetermined value in the photographed image is displayed on the
(変形例2)
図4のステップS106Aにおける判定閾値の変更を、撮影レンズLの絞り操作部材(絞り環)からの操作信号に応じて決定してもよい。
(Modification 2)
The change of the determination threshold value in step S106A of FIG. 4 may be determined according to an operation signal from the aperture operation member (aperture ring) of the photographic lens L.
(変形例3)
図4のステップS106Aにおける判定閾値の変更を、撮影レンズLのズーム操作部材(ズーム環)からの操作信号に応じて決定してもよい。
(Modification 3)
The change of the determination threshold value in step S106A of FIG. 4 may be determined according to an operation signal from the zoom operation member (zoom ring) of the photographing lens L.
(変形例4)
以上の説明では、プログラムがあらかじめメインCPU18内に格納されている電子カメラを例に説明した。一般に、電子カメラのプログラムをバージョンアップする場合などにおいて、インターネット経由や可搬タイプの記録媒体を介して、電子カメラ内に格納されている情報を書き換えたり、新たな情報を追加したりすることがある。本発明は、このようなバージョンアップ用のプログラムに対しても適用できる。
(Modification 4)
In the above description, the electronic camera in which the program is stored in the
(変形例5)
プログラムを電子カメラのメインCPU18に実行させる場合を説明したが、図2、または図4もしくは図5に説明したフローチャートにおけるステップS105(画像データ取込み)以降に行われる各処理を含む画像表示プログラムを用意し、このプログラムをパーソナルコンピュータなどに取込んで画像表示装置として使用することができる。この場合には、パーソナルコンピュータのデータストレージ装置にプログラムをローディングした上で当該プログラムを実行させることにより、画像表示装置として使用する。画像表示装置は、電子カメラで撮影され、記録された画像データファイルの画像データを読込んで、当該画像データの再生画像を表示装置に表示させる。プログラムのローディングは、プログラムを格納した記録媒体をパーソナルコンピュータにセットして行ってもよいし、ネットワークを経由する方法でパーソナルコンピュータへローディングしてもよい。
(Modification 5)
Although the case where the program is executed by the
以上の説明はあくまで一例であり、上記の実施形態の構成に何ら限定されるものではない。第一の実施形態〜第三の実施形態は、それぞれを適宜組合わせて構成しても構わない。 The above description is merely an example, and is not limited to the configuration of the above embodiment. The first embodiment to the third embodiment may be configured by appropriately combining them.
11…撮像素子
18…メインCPU
19…バッファメモリ
20…表示画像作成回路
21…液晶モニタ
23…操作部材
24…レンズ駆動装置
30…記録媒体
11 ...
DESCRIPTION OF
Claims (9)
撮影指示後に取得した撮影画像のデータを用いてコントラスト情報を算出するコントラスト算出手段と、
前記コントラスト算出手段によって所定値以上のコントラスト情報が算出された画素位置に対応する画像データ、および前記所定値に満たないコントラスト情報が算出された画素位置に対応する画像データを異なる態様で表示するように前記表示手段を制御する表示制御手段とを備えることを特徴とする電子カメラ。 Display means for displaying an image based on image data;
Contrast calculation means for calculating contrast information using data of a photographed image acquired after a photographing instruction;
Image data corresponding to a pixel position for which contrast information of a predetermined value or more is calculated by the contrast calculation means and image data corresponding to a pixel position for which contrast information less than the predetermined value is calculated are displayed in different modes. The electronic camera further comprises display control means for controlling the display means.
前記コントラスト算出手段は、前記撮影画像の画素位置ごとにコントラスト情報を算出することを特徴とする電子カメラ。 The electronic camera according to claim 1,
The electronic camera according to claim 1, wherein the contrast calculation unit calculates contrast information for each pixel position of the captured image.
前記撮影画像は複数色の色成分データを有し、
前記コントラスト算出手段は、色選択指示に応じた色成分のデータを用いてコントラスト情報を算出することを特徴とする電子カメラ。 The electronic camera according to claim 2,
The captured image has color component data of a plurality of colors,
The contrast calculation means calculates contrast information using data of color components according to a color selection instruction.
前記表示制御手段は、前記所定値に満たないコントラスト情報が算出された画素位置に対応する画像データに階調反転処理を施して表示することを特徴とする電子カメラ。 The electronic camera according to claim 2 or 3,
The electronic camera according to claim 1, wherein the display control means displays the image data corresponding to the pixel position for which the contrast information less than the predetermined value is calculated by performing gradation inversion processing.
前記表示制御手段は、前記所定値に満たないコントラスト情報が算出された画素位置に対応する画像データに画像ぼかし処理を施して表示することを特徴とする電子カメラ。 The electronic camera according to claim 2 or 3,
The electronic camera according to claim 1, wherein the display control means performs image blurring processing on image data corresponding to a pixel position for which contrast information less than the predetermined value is calculated.
前記異なる態様の表示後の記録指示に応じて、前記撮影指示後に取得した撮影画像のデータを前記階調反転処理を施さずに記録媒体に記録する記録制御手段をさらに備えることを特徴とする電子カメラ。 The electronic camera according to claim 4,
The electronic apparatus further comprises recording control means for recording data of a photographed image acquired after the photographing instruction on the recording medium without performing the gradation inversion processing in response to the recording instruction after the display in the different mode. camera.
前記異なる態様の表示後の記録指示に応じて、前記撮影指示後に取得した撮影画像のデータを前記画像ぼかし処理を施して記録媒体に記録する記録制御手段をさらに備えることを特徴とする電子カメラ。 The electronic camera according to claim 5,
An electronic camera, further comprising: a recording control unit that records the captured image data acquired after the imaging instruction on the recording medium by performing the image blurring process according to the recording instruction after the display in the different mode.
前記コントラスト算出手段は、変更指示に応じて前記所定値を変更し、変更後の所定値に基づいて前記異なる態様の表示を行うように前記表示手段を制御することを特徴とする電子カメラ。 In the electronic camera according to any one of claims 1 to 7,
The contrast calculation means changes the predetermined value in accordance with a change instruction, and controls the display means to display the different modes based on the changed predetermined value.
前記読込んだ画像データを用いてコントラスト情報を算出する処理と、
所定値以上のコントラスト情報を算出した画素位置に対応する画像データ、および前記所定値に満たないコントラスト情報を算出した画素位置に対応する画像データを異なる態様にて、前記画像データによる画像を表示装置に表示させる処理とをコンピュータ装置に実行させることを特徴とする画像表示プログラム。 Processing to read image data;
Processing for calculating contrast information using the read image data;
An image display device that displays the image based on the image data in a different manner from the image data corresponding to the pixel position for which the contrast information greater than or equal to the predetermined value is calculated and the image data corresponding to the pixel position for which the contrast information less than the predetermined value is calculated. An image display program for causing a computer device to execute processing to be displayed on the computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006137287A JP2007311962A (en) | 2006-05-17 | 2006-05-17 | Electronic camera and image display program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006137287A JP2007311962A (en) | 2006-05-17 | 2006-05-17 | Electronic camera and image display program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007311962A true JP2007311962A (en) | 2007-11-29 |
Family
ID=38844433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006137287A Pending JP2007311962A (en) | 2006-05-17 | 2006-05-17 | Electronic camera and image display program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007311962A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010074549A (en) * | 2008-09-18 | 2010-04-02 | Sony Corp | Video signal processor, image pickup device, display device and video signal processing method |
JP2010187108A (en) * | 2009-02-10 | 2010-08-26 | Nikon Corp | Image layout apparatus, and program |
WO2011070774A1 (en) * | 2009-12-09 | 2011-06-16 | パナソニック株式会社 | 3-d video processing device and 3-d video processing method |
JP2012023468A (en) * | 2010-07-12 | 2012-02-02 | Ricoh Co Ltd | Imaging device |
JP2015108670A (en) * | 2013-12-03 | 2015-06-11 | 株式会社ニコン | Image processing device, electronic camera and image processing program |
JP2018163365A (en) * | 2018-06-07 | 2018-10-18 | 株式会社ニコン | Image processing apparatus |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003046844A (en) * | 2001-06-27 | 2003-02-14 | Hewlett Packard Co <Hp> | Highlighting method, camera, and focus highlighting system |
JP2004219943A (en) * | 2003-01-17 | 2004-08-05 | Ricoh Co Ltd | Focusing device with monitor |
JP2005323015A (en) * | 2004-05-07 | 2005-11-17 | Nikon Gijutsu Kobo:Kk | Digital camera |
JP2006109199A (en) * | 2004-10-07 | 2006-04-20 | Ricoh Co Ltd | Digital camera and image processing system using the same |
-
2006
- 2006-05-17 JP JP2006137287A patent/JP2007311962A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003046844A (en) * | 2001-06-27 | 2003-02-14 | Hewlett Packard Co <Hp> | Highlighting method, camera, and focus highlighting system |
JP2004219943A (en) * | 2003-01-17 | 2004-08-05 | Ricoh Co Ltd | Focusing device with monitor |
JP2005323015A (en) * | 2004-05-07 | 2005-11-17 | Nikon Gijutsu Kobo:Kk | Digital camera |
JP2006109199A (en) * | 2004-10-07 | 2006-04-20 | Ricoh Co Ltd | Digital camera and image processing system using the same |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010074549A (en) * | 2008-09-18 | 2010-04-02 | Sony Corp | Video signal processor, image pickup device, display device and video signal processing method |
JP2010187108A (en) * | 2009-02-10 | 2010-08-26 | Nikon Corp | Image layout apparatus, and program |
WO2011070774A1 (en) * | 2009-12-09 | 2011-06-16 | パナソニック株式会社 | 3-d video processing device and 3-d video processing method |
US20120242791A1 (en) * | 2009-12-09 | 2012-09-27 | Panasonic Corporation | 3-d video processing device and 3-d video processing method |
JPWO2011070774A1 (en) * | 2009-12-09 | 2013-04-22 | パナソニック株式会社 | 3D video processing apparatus and 3D video processing method |
JP2012023468A (en) * | 2010-07-12 | 2012-02-02 | Ricoh Co Ltd | Imaging device |
JP2015108670A (en) * | 2013-12-03 | 2015-06-11 | 株式会社ニコン | Image processing device, electronic camera and image processing program |
JP2018163365A (en) * | 2018-06-07 | 2018-10-18 | 株式会社ニコン | Image processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4567593B2 (en) | Imaging apparatus and imaging method | |
US8928783B2 (en) | Imaging apparatus including switchable edge extraction | |
EP2043361A1 (en) | Electronic camera | |
JP5169318B2 (en) | Imaging apparatus and imaging method | |
JP2007019973A (en) | Imaging device and imaging method | |
JP2008236534A (en) | Digital camera, and information display method and information display control program | |
JP2006254229A (en) | Imaging apparatus, imaging method and imaging program | |
JP2007108412A (en) | Autofocus device and its program | |
JP4645413B2 (en) | Imaging device | |
US20170318208A1 (en) | Imaging device, imaging method, and image display device | |
JP2010093679A (en) | Imaging apparatus, and imaging control method | |
JP2007311962A (en) | Electronic camera and image display program | |
JP5092673B2 (en) | Imaging apparatus and program thereof | |
JP2008301371A (en) | Imaging apparatus and image processing program | |
US7864860B2 (en) | Image pickup apparatus and motion vector deciding method | |
JP4855155B2 (en) | Imaging apparatus and imaging method using the same | |
JP5157597B2 (en) | Interchangeable lens digital camera, virtual shot image generation method, and virtual shot image display method | |
JP5003348B2 (en) | Electronic camera | |
JP2006253970A (en) | Imaging apparatus, shading correction data generating method, and program | |
JP2012095223A (en) | Imaging device, imaging method, and program | |
JP4705146B2 (en) | Imaging apparatus and imaging method | |
JP2009055415A (en) | Camera | |
JP2006262221A (en) | Imaging apparatus and image processing method | |
JP2004309653A (en) | Imaging unit | |
JP5597942B2 (en) | Electronic camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090324 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101216 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110118 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110318 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20110318 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110426 |