JP3807109B2 - Digital camera - Google Patents
Digital camera Download PDFInfo
- Publication number
- JP3807109B2 JP3807109B2 JP22294098A JP22294098A JP3807109B2 JP 3807109 B2 JP3807109 B2 JP 3807109B2 JP 22294098 A JP22294098 A JP 22294098A JP 22294098 A JP22294098 A JP 22294098A JP 3807109 B2 JP3807109 B2 JP 3807109B2
- Authority
- JP
- Japan
- Prior art keywords
- soft focus
- image
- pixel data
- digital camera
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Cameras In General (AREA)
- Studio Circuits (AREA)
- Television Signal Processing For Recording (AREA)
- Studio Devices (AREA)
Description
【0001】
【発明の属する技術分野】
本発明はデジタルカメラに関し、特に被写体像を意図的にぼかしたソフトフォーカス撮影を行う機能を有するデジタルカメラに関する。
【0002】
【従来の技術】
被写体像を意図的にぼかして、ソフトな感じの写真(ソフトフォーカス写真)を撮りたい場合、銀塩カメラ(フィルム感光カメラ)ではレンズ光学系の球面収差を利用したソフトフォーカスレンズを使用したり、ソフトフォーカスフィルターを撮影レンズの前面に装着する光学的な方法を採っていた。
【0003】
これに対してデジタルカメラの場合は、光学的な方法も可能ではあるが、撮影を行った後に、得られた画像データに対してコンピュータ等を用いた画像処理を行うことによってソフトフォーカス画像を得るようにしていた。
【0004】
【発明が解決しようとする課題】
しかし、従来は、撮影した画像データに一定の強さのぼかし処理を施すものであり、被写体によっては十分な映像効果が得られない場合があった。
【0005】
また、従来の画像処理では、一定の強さのぼかしを加えたとしても撮影倍率によって効果の度合いが異なることは考慮されていなかった。つまり、一定強度のソフトフォーカス処理を行った場合、高周波成分の多い被写体ほどその効果が現れやすいことが分かる。従って、撮影距離によらず一定強度のソフトフォーカス処理を行った場合には、遠景は撮影者の意図に反してソフトフォーカス効果が強く現れ、近景は撮影者の意図に反してソフトフォーカス効果が弱く表現されることになってしまうため、映像効果上の問題があった。
【0006】
本発明は上記のような問題点を解消するためになされたもので、撮影者がソフトフォーカス効果の設定が可能であるデジタルカメラを提供することを第1の目的とし、撮影距離によらず一定のソフトフォーカス効果を表現できるデジタルカメラを提供することを第2の目的とする。
【0007】
【課題を解決するための手段】
本発明に係る請求項1記載のデジタルカメラは、撮影レンズによって、被写体像を撮像素子上に結像して画像信号に変換し、該画像信号をソフトフォーカス処理する画像処理手段を備えたデジタルカメラにおいて、前記被写体までの距離を測定する測定手段と、前記測定手段により測定された距離が近いほど、前記画像処理手段におけるソフトフォーカス処理の度合いを強くする制御手段とを備えている。
【0009】
【発明の実施の形態】
<A.デジタルカメラの基本的な構成および動作>
まず、図1および図2を用いてデジタルカメラの基本的な構成および動作について説明する。図1は本発明に係るデジタルカメラの画像処理方法を実現するための構成を備えたデジタルカメラ100のブロック図である。
【0010】
図1に示すように、デジタルカメラ100はメインマイクロコンピュータ(以後、メインマイコンと略称)1を備え、以下に説明する各構成の機能を制御する構成となっている。
【0011】
メインマイコン1で制御される構成は、被写体からの反射光を受光し被写体の距離情報を出力する測距モジュール2(測定手段)、撮影者がデジタルカメラ100を操作するための電源スイッチ、およびソフトフォーカス処理の強弱の設定や、撮影距離(撮影倍率)に応じてソフトフォーカス処理の強弱を自動的に設定するためのモード設定ダイアル30(設定手段)を含むスイッチ群3、デジタルカメラ100ごとの機種差に関する工場出荷時の検査値、および電源オフ直前の各種設定値等を記録する電気的に書き換え可能なROM(EEPROM)4、被写体画像および撮影のための設定値を表示する液晶ディスプレイ(LCD)等の表示部材5、パーソナルコンピュータや外部モニターに対して画像情報等を入出力するための外部インタフェース6、撮影した画像情報を記録する脱着可能な記録媒体7、撮影された画像データを演算処理するためのRAM8、レンズを介して被写体像を撮像する固体撮像素子(ここではCCDを使用しているのでCCDと呼称する場合も有り)9、固体撮像素子9を駆動させるためのパルスを発生させる撮像素子ドライバ(タイミングジェネレータ:TGと呼称する場合も有り)10、固体撮像素子9から出力された画像のアナログ信号を増幅するアナログアンプ11、アナログアンプ11によって増幅された画像アナログ信号をデジタル変換し、メインマイコン1に出力するA/Dコンバータ12、フォーカスレンズ群14を光軸方向に駆動させるとともに、フォーカスレンズ群14の位置を検出するフォーカスドライバ・位置検出センサ13等である。
【0012】
なお、フォーカスレンズ群14は撮像光学系である撮像レンズ群の一部を構成しており、撮像レンズ群はフォーカスレンズ群14の他に固定された固定レンズ群141を有している。
【0013】
図2にモード設定ダイアル30の構成を示す。図2に示すようにモード設定ダイアル30は、ソフトフォーカス処理のON/OFFの切り換え、ソフトフォーカス処理の自動設定、ソフトフォーカス処理の強弱の手動設定ができる構成となっている。
【0014】
図3は固体撮像素子9の基本構成を説明する概念図である。固体撮像素子9は複数の受光セル21が配列された受光セル列21Lが複数配列されて構成されている。受光セル21は光エネルギーを電気エネルギーに変換する光電変換素子で構成され、受光セル21に光が照射されると電荷が発生し、発生した電荷を撮像素子ドライバ10により生成される所定のタイミングに応じて出力したものが画像信号となる。
【0015】
図3においては、受光セル列21Lに併設される転送ゲート22を開く(受光セル21の電荷を移動させるようにポテンシャル井戸の深さを変更する)ことで各受光セル21の電荷が転送ゲート22に併設される転送レジスタ23に排出される。転送レジスタ23に排出された電荷は、ポテンシャル井戸の深さを順次変更することで電荷を移動させるCCD動作によって転送レジスタ23中を移動し、転送レジスタ23に直交する読み出しレジスタ24に転送される。読み出しレジスタ24においてもCCD動作により電荷が転送され、出力部25から外部に出力される。なお、転送レジスタ23および読み出しレジスタ24は遮光され、それ自体が光電変換を起こすことはない。
【0016】
固体撮像素子9から出力される画像信号はアナログ値であり、微弱であるのでアナログアンプ11によって増幅され、A/Dコンバータ12によってデジタル値に変換されてメインマイコン1に与えられる。メインマイコン1では与えられたデジタル画像信号に種々の画像処理を施して表示部材5に被写体画像として表示するとともに、撮影者の操作に応じてJPEG方式に基づいて圧縮し記録媒体7に記録する。なお、画像処理に際してメインマイコン1に内蔵されているメモリだけでは対処できない場合があるので、RAM8を用いて演算処理等を行う。なお、上記にようにメインマイコン1は画像信号に、種々の画像処理(後に説明するソフトフォーカス処理を含む)を施すので画像処理手段としての機能を有すると共に、画像処理の制御や、後に説明するソフトフォーカス処理の度合いを制御する制御手段としての機能も有している。
【0017】
デジタルカメラ100は撮影モードと再生モードとが切り換え可能であり、撮影モード状態にある場合は、固体撮像素子9は常に画像信号を出力しており、表示部材5には被写体画像が動画像として表示されていることになる。撮影者は表示部材5の画像が所望の画像になったときに露光開始用スイッチを押せば、当該所望の画像の画像データを記録媒体7に記録できる。一方、デジタルカメラ100が再生モード状態にある場合には、記録媒体7に記録されている画像データが表示部材5上に表示可能である。
【0018】
<B.発明に係る動作>
次に、図4〜図7を用いて本発明に係る動作について説明する。なお、図4〜図8は本発明に係る動作を説明するフローチャートであり、記号▲1▼〜▲6▼を付した部分は同じ記号どうしで接続されることを意味している。
【0019】
<B−1.予備動作>
まず、本撮影に入る前の予備動作について説明する。図4に示すように、電源スイッチをオン状態にすると(ステップST1)、メインマイコン1がリセットされる(ステップST2)。リセットによりメインマイコン1の各ポートはデフォルト状態になっているので、使用すべきポートを設定するなどメインマイコン1の初期設定を行う(ステップST3)。
【0020】
次に、機種差に関する工場出荷時の検査値、および前回電源オフ直前の各種設定値、例えばフラッシュモードの種類あるいは画像圧縮モードの種類等をEEPROM4から読み出す(ステップST4)。
【0021】
次に、記録媒体7の有無、種類および種類に基づく記録可能容量を確認し(ステップST5)、フォーカスドライバ・位置検出センサ13によりレンズの位置をモニターしながらフォーカスレンズ群14をEEPROM4に設定された初期位置に移動(ステップST6)させた後、表示部材5を起動させる(ステップST7)。この段階では固体撮像素子9は動作しておらず、撮影者に表示部材5の起動を知らせるために表示部材5が点灯するだけである。このとき、前回電源オフ直前の各種設定値や記録媒体7の記録可能容量等を表示して撮影者に告知する。
【0022】
そして、メインマイコン1は撮像動作の予備として撮像素子ドライバ(TG)10に、例えば露光時間を1/30秒に設定するなどの初期設定を行う(ステップST8)。ここで、露光時間とは受光セル21に電荷を蓄積する時間であり、いわゆるシャッタースピード(SSと呼称する場合も有り)値と言うことができる。
【0023】
撮像素子ドライバ10の初期設定が完了し、撮像素子ドライバ10が動作することで固体撮像素子9から画像信号が出力され、表示部材5に画像が表示される。このとき、アナログアンプ11のゲインも所定の初期値、例えば1倍に設定される(ステップST9)。
【0024】
そして、メインマイコン1は表示部材5に画像を表示しながら、スイッチ群3のスイッチ操作を監視し(ステップST10)、次のカメラ操作のために待機する。なお、メインマイコン1内部のタイマー機能によって一定時間、撮影者がスイッチ群3によるカメラ操作を行わなければ消費電力の節約のため電源をオフ状態にする。通常、この一定時間は数分程度に設定されている。
【0025】
撮影者がスイッチ群3のうちモード設定ダイアル30を回転させることで、通常モードからソフトフォーカスモードへの変更を行い、さらにスイッチ群3のうちの露光開始用スイッチ(以後、レリーズスイッチと呼称)の半押し操作(以後、S1操作と呼称)を行うと、メインマイコン1がそれを検知し(ステップST11)、図5に示すステップST12において、測距モジュール2を駆動させてカメラから被写体までの距離情報を得る(ステップST12)。なお、レリーズスイッチがS1操作状態にならない場合はステップST10以下の動作を繰り返す。
【0026】
なお、撮影者がS1操作を行う際に光学ファインダー(図示せず)中に被写体を捕捉することで、測距モジュール2は被写体からの反射光を受光することになり、カメラから被写体までの距離についての情報が得られる。ここで、測距モジュール2としては、従来からの外光パッシブモジュール等を使用する。
【0027】
また、測距原理について一般的であるので詳細説明は省略するが、測距モジュール2の出力は距離に対応した値として与えられ、その対応関係の情報がEEPROM4に出荷前の検査値として記録されている。従って、測距モジュール2の出力から被写体距離を求め、EEPROM4に予め記録されている撮影レンズの焦点距離情報と照合することで被写体に合焦すべきフォーカスレンズ群14の繰り出し量(繰り出し情報)を算出する(ステップST13)。
【0028】
そして、ステップST13で算出したフォーカスレンズ群14の繰り出し情報に基づいて、メインマイコン1がフォーカスドライバ・位置検出センサ13を制御してフォーカスレンズ群14を駆動し、その位置を位置検出センサでモニターすることで目標位置まで移動させる(ステップST14)。
【0029】
先に説明したように、デジタルカメラ100が撮影モード状態にある場合は、固体撮像素子9は常に画像信号を出力しているので、光学ファインダー(図示せず)中に被写体を捕捉すると被写体が固体撮像素子9に撮像され(ステップST15)、当該被写体の画像データがメインマイコン1に取り込まれる(ステップST16)。
【0030】
メインマイコン1は被写体の明るさ情報から被写体が適正露光となる露光制御値を算出する。ここで、露光制御値としては受光セル21に電荷を蓄積する時間(露光時間)を規定する、いわゆるシャッタースピード(SSと呼称する場合も有り)値と、アナログアンプ11のゲイン等がある。なお、シャッタースピードとは最も単純には、図3の構成を例に採れば、受光セル21の電荷を排出して転送ゲート22が閉じ、次に開くまでの時間で定義される。
【0031】
そして、メインマイコン1は算出したゲインをアナログアンプ11に、シャッタースピード値を撮像素子ドライバ10に設定する(ステップST17)。
【0032】
次に、メインマイコン1はモード設定ダイアル30の設定位置を判別することにより、ソフトフォーカス自動設定モードか否かを判別する(ステップST18)。そして、ソフトフォーカス自動設定モードである場合は、ステップST13で算出した被写体距離と、EEPROM4に予め記憶されている撮影レンズの焦点距離情報とから撮影倍率βを算出する。ここで、撮影倍率の算出式は、撮影倍率=焦点距離/被写体距離である(ステップST181)。
【0033】
次に、メインマイコン1は撮影倍率が1/30以上かどうかを判別する(ステップST182)。撮影倍率βが1/30以上の場合には、強いソフトフォーカス処理係数を設定し(ステップST183)、そうでない場合は弱いソフトフォーカス処理係数を設定する(ステップST184)。これにより撮影倍率βが大きくなる近景に対しては強いソフトフォーカス処理を行い、撮影倍率βが小さくなる遠景に対しては弱いソフトフォーカス処理を行う。その結果、撮影距離(撮影倍率)に係わらず、一定のソフトフォーカス効果を達成することが可能となる。なお、撮影倍率1/30はソフトフォーカス処理係数設定のための目安値であり、必ずしもこの値に限定されるものではない。
【0034】
ここで、強いソフトフォーカス処理、弱いソフトフォーカス処理について説明する。ソフトフォーカス処理の手法の一例としては、ソフトフォーカス処理の対象となる画素データに、それに隣接する画素データに所定の係数を掛けた値を足し合わせるという手法がある。この手法について図8および図9を用いてさらに説明する。
【0035】
図8は弱い(ぼかしが弱い)ソフトフォーカス処理を説明する行列式であり、図9は強い(ぼかしが強い)ソフトフォーカス処理を説明する行列式である。図8および図9においては、画素データの配列に対応して係数が配置されており、ソフトフォーカス処理の対象となる画素データ(以後、対象画素データと呼称)に対応するように係数1が行列式の中央に位置している。
【0036】
図8に示すように、対象画素データ(すなわち係数1の画素データ)に上下左右で隣接する画素データは何れも1/7倍され、対象画素データの対角位置にある画素データは何れも1/10倍されている。そして、係数倍されたそれぞれの値を対象画素データに加算することでソフトフォーカス処理が施されることになる。従って、対象画素データの値はソフトフォーカス処理前よりも大きくなる。そして、1つの画素データに対する処理が終わると、次の対象画素データに対してソフトフォーカス処理を行う。
【0037】
例えば、図8に示す係数1の画素データの左隣の画素データが次の対象画素データとなるのであれば、係数1の画素データの値が係数倍されて次の対象画素データに加えられるが、その場合、係数倍されるのはソフトフォーカス処理前のデータである。そのため、RAM8内にはソフトフォーカス未処理のデータを記憶しておくエリアと、ソフトフォーカス処理済みのデータを記憶しておくエリアとが設けられている。
【0038】
このような処理を各画素データのそれぞれに行うことで、各画素データには、その周囲の画素データを係数倍した値が加算されることになるので、画素データ間での極端なデータ差が無くなり、画像としてはコントラストや輪郭のぼやけた画像が得られることになる。
【0039】
なお、強いソフトフォーカス処理を行う場合も同様の処理を行うが、この場合には係数値を大きくするとともに、係数倍される画素データの個数を多くすることになる。すなわち、図9に示すように対象画素データ(すなわち係数1の画素データ)に上下左右で隣接する画素データは何れも1/3.5倍され、対象画素データの対角位置にある画素データは何れも1/5倍され、1/3.5倍された画素データに隣接する外周の画素データは何れも1/7倍され、1/5倍された画素データに隣接する外周の画素データは何れも1/8倍され、1/5倍された画素データの対角位置にある外周の画素データは何れも1/10倍されるようになっている。そして、係数倍されたそれぞれの値を対象画素データに加算することでソフトフォーカス処理が施されることになる。
【0040】
なお、図8および図9に示したソフトフォーカス処理係数は、EEPROM4に予め記憶されている。
【0041】
そして、図5に示すステップST18においてソフトフォーカス自動設定モードでないと判別された場合は、図6に示すようにメインマイコン1はモード設定ダイアル30がソフトフォーカスモードの強、弱の何れかに設定されているか否かを確認し(ステップST19)、ソフトフォーカスモードの強、弱の何れかに設定されている場合には、弱いソフトフォーカス処理係数を設定する(ステップST20)。
【0042】
ここで、ソフトフォーカスモードでない場合、すなわちモード設定ダイアル30がOFFに設定されている場合は、メインマイコン1はレリーズスイッチのS1操作の有無を確認し(ステップST23)、S1操作がオフされていない場合(撮影者がレリーズスイッチから指を離していない場合)は、撮影者がレリーズスイッチの全押し操作(S2操作と呼称)を行うまで待機する。なお、S1操作がオフされている場合はステップST10以下の動作を繰り返すことになる。
【0043】
次に、メインマイコン1はモード設定ダイアル30が強いソフトフォーカスモードに設定されているか否かを確認し(ステップST21)、強いソフトフォーカスモードに設定されている場合は、強いソフトフォーカス処理を行う場合の処理係数を設定し更新する(ステップST22)。
【0044】
なお、強いソフトフォーカスモードに設定されていない場合、すなわち弱いソフトフォーカスモードに設定されている場合は、ステップST20で設定した処理係数を用いてステップST23以後の動作を続ける。
【0045】
次に、メインマイコン1はレリーズスイッチのS1操作の有無を確認し(ステップST23)、S1操作がオフされていない場合(撮影者がレリーズスイッチから指を離していない場合)は、撮影者がレリーズスイッチの全押し操作(S2操作と呼称)を行うまで待機する。なお、S1操作がオフされている場合はステップST10以下の動作を繰り返すことになる。
【0046】
<B−2.本撮影>
メインマイコン1がS2操作を検知した後は本撮影動作に入る。まず、図7に示すように、ステップST17(図5参照)で求めた適正シャッタースピードとなるように固体撮像素子9を制御して撮像動作を行う(ステップST25)。撮像終了後、固体撮像素子9からの画像信号は、ステップST17において算出された適正ゲインに設定されたアナログアンプ11によって増幅され、A/Dコンバータ12によってデジタル出力に変換され、デジタル画像データとしてメインマイコン1に取り込まれる(ステップST26)。
【0047】
そして取り込まれた画像データは、色バランス処理等の一般的な画像処理を施され(ステップST27)、メインマイコン1においてソフトフォーカスモードであるか否かが判定され(ステップST28)、ソフトフォーカスモードである場合は、図5に示すステップST183あるいはステップST184、図6に示すステップST20あるいはステップST22で設定した処理係数に基づいてソフトフォーカス処理を行う(ステップST29)。
【0048】
この後は、記録媒体7に記録するため、RAM8上でソフトフォーカス処理済みデータを圧縮し(ステップST30)、圧縮されたソフトフォーカス処理済みデータは記録媒体7に記録される(ステップST31)。画像データは一般的にデータサイズが大きいので、記録媒体7により多く記録するためにデータ圧縮が行われる。一般的な圧縮方式としてJPEG方式を用いる。
【0049】
ステップST31の終了後、メインマイコン1は撮影者がS1およびS2操作を行っているか否かを確認し、S1およびS2操作を行っていないことを検知した場合、すなわちレリーズスイッチから指を離した場合には図4に示すステップST10以下の動作を繰り返す。なお、S1およびS2操作を行っている場合、すなわちレリーズスイッチから指を離していない場合は、指を離すまでレリーズスイッチの確認動作を続ける。
【0050】
なお、ステップST28においてソフトフォーカスモードでないと判定された場合、すなわち通常の撮影モードの場合も、ステップST30〜ST32の撮影動作を行うが、この場合は、通常の画像データが圧縮され記録媒体7に記録されることになる。
【0051】
以上が本発明に係るデジタルカメラの動作であるが、撮影された映像データを記録媒体7に記録するだけでなく、外部インタフェース6にパーソナルコンピュータ等の外部機器を接続し、そこに出力しても構わない。なお、記録媒体7としては、スマートディア、コンパクトフラッシュ(CF)カード、PCメモリーカード等がある。
【0052】
また、外部インタフェース6を介して外部機器からのカメラ制御も可能である。なお、外部インタフェース6としてはRS−422等のシリアルケーブルを接続可能な端子、テレビ受像機への出力に対応したNTSC出力端子、プリンターへのプリンター出力端子等がある。
【0053】
<B−3.特徴的作用効果>
以上説明したように、本発明によるデジタルカメラによれば、強いソフトフォーカスモードと、弱いソフトフォーカスモードの少なくとも2段階のモード設定によるソフトフォーカス撮影が可能となり、撮影者がソフトフォーカスの使用目的に応じて使い分けることができる。また、被写体の撮影倍率に合わせてソフトフォーカス処理の度合いを変更することで、被写体の撮影倍率に左右されず均一なソフトフォーカス効果を有した画像を得ることができる。
【0054】
<B−4.変形例>
なお、以上の説明においては、ソフトフォーカスモードを強弱の2種類に設定可能な例について説明したが2種類に限定されるものではない。また、選択的に変更できるようにしても良い。
【0055】
また、以上の説明においては、ソフトフォーカスモードの処理係数がEEPROM4に予め設定されている例について示したが、撮影者がソフトフォーカスの強弱を、例えば表示部材5に表示されるメニュー画面から任意の強さに設定できるようにしても良い。
【0056】
【発明の効果】
本発明に係る請求項1記載のデジタルカメラによれば、被写体の距離が近い場合には、ソフトフォーカス処理の度合いを強くするので、撮影距離によらず一定のソフトフォーカス効果を達成することが可能となる。
【図面の簡単な説明】
【図1】 本発明に係るデジタルカメラの画像処理方法を実現する構成を備えたデジタルカメラを示すブロック図である。
【図2】 モード設定ダイアルの構成を説明する図である。
【図3】 固体撮像素子の構成および動作を説明する概念図である。
【図4】 本発明に係るデジタルカメラの画像処理方法を説明するフローチャートである。
【図5】 本発明に係るデジタルカメラの画像処理方法を説明するフローチャートである。
【図6】 本発明に係るデジタルカメラの画像処理方法を説明するフローチャートである。
【図7】 本発明に係るデジタルカメラの画像処理方法を説明するフローチャートである。
【図8】 ソフトフォーカス処理の手法の一例を説明する図である。
【図9】 ソフトフォーカス処理の手法の一例を説明する図である。
【符号の説明】
30 モード設定ダイアル。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital camera, and more particularly to a digital camera having a function of performing soft focus shooting in which a subject image is intentionally blurred.
[0002]
[Prior art]
To intentionally blur the subject image and take a soft-looking photo (soft focus photo), a silver halide camera (film photosensitive camera) uses a soft focus lens that uses the spherical aberration of the lens optical system, An optical method was used in which a soft focus filter was attached to the front of the taking lens.
[0003]
On the other hand, in the case of a digital camera, an optical method is possible, but after shooting, a soft focus image is obtained by performing image processing using a computer or the like on the obtained image data. It was like that.
[0004]
[Problems to be solved by the invention]
However, conventionally, the captured image data is subjected to a blurring process with a certain strength, and depending on the subject, a sufficient video effect may not be obtained.
[0005]
Further, in the conventional image processing, even if a certain intensity of blur is applied, it is not considered that the degree of effect varies depending on the shooting magnification. In other words, it can be understood that, when a soft focus process with a constant intensity is performed, the effect is more likely to appear in a subject with more high-frequency components. Therefore, when soft focus processing with a constant intensity is performed regardless of the shooting distance, a distant view has a strong soft focus effect against the photographer's intention, and a close view has a weak soft focus effect against the photographer's intention. There was a problem in the video effect because it would be expressed.
[0006]
The present invention has been made in order to solve the above-described problems. The first object of the present invention is to provide a digital camera in which a photographer can set a soft focus effect. A second object of the present invention is to provide a digital camera that can express the soft focus effect.
[0007]
[Means for Solving the Problems]
According to a first aspect of the present invention, there is provided a digital camera comprising an image processing means for forming a subject image on an image pickup device by a photographing lens and converting the image into an image signal, and performing soft focus processing on the image signal. The measuring means for measuring the distance to the subject and the control means for increasing the degree of soft focus processing in the image processing means as the distance measured by the measuring means is closer.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
<A. Basic configuration and operation of digital camera>
First, the basic configuration and operation of a digital camera will be described with reference to FIGS. FIG. 1 is a block diagram of a
[0010]
As shown in FIG. 1, a
[0011]
The configuration controlled by the
[0012]
The
[0013]
FIG. 2 shows the configuration of the
[0014]
FIG. 3 is a conceptual diagram illustrating the basic configuration of the solid-state image sensor 9. The solid-state imaging device 9 is configured by arranging a plurality of light
[0015]
In FIG. 3, the charge of each
[0016]
The image signal output from the solid-state imaging device 9 is an analog value and is weak, so it is amplified by the
[0017]
The
[0018]
<B. Operation according to the invention>
Next, the operation according to the present invention will be described with reference to FIGS. 4 to 8 are flow charts for explaining the operation according to the present invention, and the portions marked with symbols (1) to (6) mean that the same symbols are connected to each other.
[0019]
<B-1. Preliminary action>
First, a preparatory operation before starting actual shooting will be described. As shown in FIG. 4, when the power switch is turned on (step ST1), the
[0020]
Next, the inspection value at the time of shipment regarding the model difference and various setting values immediately before the power is turned off, for example, the flash mode type or the image compression mode type are read from the EEPROM 4 (step ST4).
[0021]
Next, the presence / absence of the recording medium 7, the type and the recordable capacity based on the type are confirmed (step ST5), and the
[0022]
Then, the
[0023]
When the initial setting of the
[0024]
The
[0025]
The photographer changes the mode from the normal mode to the soft focus mode by rotating the
[0026]
When the photographer performs the S1 operation, the
[0027]
Since the distance measurement principle is general, detailed description is omitted, but the output of the
[0028]
Based on the payout information of the
[0029]
As described above, when the
[0030]
The
[0031]
Then, the
[0032]
Next, the
[0033]
Next, the
[0034]
Here, strong soft focus processing and weak soft focus processing will be described. As an example of the soft focus processing method, there is a method of adding pixel data to be subjected to the soft focus processing to a value obtained by multiplying pixel data adjacent thereto by a predetermined coefficient. This method will be further described with reference to FIGS.
[0035]
FIG. 8 is a determinant that describes soft focus processing that is weak (weak blurring), and FIG. 9 is a determinant that describes soft focus processing that is strong (strong blurring). In FIG. 8 and FIG. 9, coefficients are arranged corresponding to the arrangement of pixel data, and
[0036]
As shown in FIG. 8, the pixel data adjacent to the target pixel data (that is, the pixel data having a coefficient of 1) vertically and horizontally are all multiplied by 1/7, and the pixel data at the diagonal position of the target pixel data is all 1 / 10 times. Then, the soft focus process is performed by adding each value multiplied by the coefficient to the target pixel data. Accordingly, the value of the target pixel data is larger than that before the soft focus process. When the processing for one pixel data is completed, the soft focus processing is performed for the next target pixel data.
[0037]
For example, if the pixel data on the left side of the pixel data of
[0038]
By performing such processing for each pixel data, each pixel data is added with a value obtained by multiplying the surrounding pixel data by a coefficient, so that there is an extreme data difference between the pixel data. As a result, an image with a blurred contrast or outline can be obtained.
[0039]
The same process is performed when performing a strong soft focus process. In this case, the coefficient value is increased and the number of pixel data multiplied by the coefficient is increased. That is, as shown in FIG. 9, the pixel data adjacent to the target pixel data (that is, the pixel data having a coefficient of 1) in the vertical and horizontal directions is multiplied by 1 / 3.5, and the pixel data at the diagonal position of the target pixel data is The pixel data on the outer periphery adjacent to the pixel data multiplied by 1/5 and the pixel data multiplied by 1 / 3.5 are both multiplied by 1/7, and the pixel data on the outer periphery adjacent to the pixel data multiplied by 1/5 are Both are multiplied by 1/8, and the outer peripheral pixel data at the diagonal position of the pixel data multiplied by 1/5 are all multiplied by 1/10. Then, the soft focus process is performed by adding each value multiplied by the coefficient to the target pixel data.
[0040]
The soft focus processing coefficients shown in FIGS. 8 and 9 are stored in the EEPROM 4 in advance.
[0041]
If it is determined in step ST18 shown in FIG. 5 that the soft focus automatic setting mode is not set, the
[0042]
Here, when the soft focus mode is not set, that is, when the
[0043]
Next, the
[0044]
When the strong soft focus mode is not set, that is, when the weak soft focus mode is set, the operation after step ST23 is continued using the processing coefficient set in step ST20.
[0045]
Next, the
[0046]
<B-2. Main shooting>
After the
[0047]
The captured image data is subjected to general image processing such as color balance processing (step ST27), and it is determined whether or not the
[0048]
Thereafter, the soft focus processed data is compressed on the
[0049]
After step ST31, the
[0050]
Note that if it is determined in step ST28 that the mode is not the soft focus mode, that is, in the normal shooting mode, the shooting operation in steps ST30 to ST32 is performed. Will be recorded.
[0051]
The above is the operation of the digital camera according to the present invention. Not only the captured video data is recorded on the recording medium 7, but also when an external device such as a personal computer is connected to the
[0052]
Further, camera control from an external device via the
[0053]
<B-3. Characteristic effects>
As described above, according to the digital camera of the present invention, it is possible to perform soft focus shooting with at least two-stage mode setting of strong soft focus mode and weak soft focus mode. Can be used properly. Also, by changing the degree of soft focus processing according to the shooting magnification of the subject, an image having a uniform soft focus effect can be obtained regardless of the shooting magnification of the subject.
[0054]
<B-4. Modification>
In the above description, an example in which the soft focus mode can be set to two types of strength and weakness has been described, but the soft focus mode is not limited to two types. Moreover, you may enable it to change selectively.
[0055]
In the above description, an example in which the processing coefficient of the soft focus mode is preset in the EEPROM 4 has been described. It may be possible to set the strength.
[0056]
【The invention's effect】
According to the digital camera of the first aspect of the present invention, when the distance of the subject is short, the degree of soft focus processing is increased, so that a constant soft focus effect can be achieved regardless of the shooting distance. It becomes.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a digital camera having a configuration for realizing an image processing method of a digital camera according to the present invention.
FIG. 2 is a diagram illustrating a configuration of a mode setting dial.
FIG. 3 is a conceptual diagram illustrating the configuration and operation of a solid-state image sensor.
FIG. 4 is a flowchart illustrating an image processing method of the digital camera according to the present invention.
FIG. 5 is a flowchart illustrating an image processing method of the digital camera according to the present invention.
FIG. 6 is a flowchart illustrating an image processing method of the digital camera according to the present invention.
FIG. 7 is a flowchart illustrating an image processing method of the digital camera according to the present invention.
FIG. 8 is a diagram illustrating an example of a technique for soft focus processing.
FIG. 9 is a diagram illustrating an example of a technique for soft focus processing.
[Explanation of symbols]
30 Mode setting dial.
Claims (3)
前記被写体までの距離を測定する測定手段と、
前記測定手段により測定された距離が近いほど、前記画像処理手段におけるソフトフォーカス処理の度合いを強くする制御手段と、を備えたことを特徴とするデジタルカメラ。In a digital camera provided with an image processing means for forming a subject image on an image sensor by an imaging lens and converting the image into an image signal, and soft-focusing the image signal,
Measuring means for measuring the distance to the subject;
A digital camera comprising: control means for increasing the degree of soft focus processing in the image processing means as the distance measured by the measuring means is closer .
前記ソフトフォーカス処理の対象となる対象画素データを中心とし、該対象画素データの周囲の画素データのそれぞれに、前記ソフトフォーカス処理係数を掛け、係数倍されたそれぞれの値を前記対象画素データに加算することで、前記対象画素データに前記ソフトフォーカス処理を施す、請求項2記載のデジタルカメラ。Centering on the target pixel data to be subjected to the soft focus processing, each of the pixel data around the target pixel data is multiplied by the soft focus processing coefficient, and each value multiplied by the coefficient is added to the target pixel data. The digital camera according to claim 2, wherein the soft focus processing is performed on the target pixel data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22294098A JP3807109B2 (en) | 1998-08-06 | 1998-08-06 | Digital camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP22294098A JP3807109B2 (en) | 1998-08-06 | 1998-08-06 | Digital camera |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000059679A JP2000059679A (en) | 2000-02-25 |
JP3807109B2 true JP3807109B2 (en) | 2006-08-09 |
Family
ID=16790263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP22294098A Expired - Fee Related JP3807109B2 (en) | 1998-08-06 | 1998-08-06 | Digital camera |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3807109B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4565784B2 (en) * | 2001-09-20 | 2010-10-20 | Hoya株式会社 | Digital camera |
JP4217041B2 (en) | 2002-09-12 | 2009-01-28 | Hoya株式会社 | Filtering |
US7274827B2 (en) | 2002-09-12 | 2007-09-25 | Pentax Corporation | Filter process |
JP2007124278A (en) * | 2005-10-28 | 2007-05-17 | Nikon Corp | Imaging apparatus |
-
1998
- 1998-08-06 JP JP22294098A patent/JP3807109B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000059679A (en) | 2000-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6906751B1 (en) | Digital camera and control method thereof | |
JP3860367B2 (en) | Imaging device | |
US6618090B1 (en) | Automatic exposure control apparatus | |
JP4451583B2 (en) | Imaging apparatus, imaging method, and program | |
EP1892952B1 (en) | Electronic camera | |
JP2007336394A (en) | Imaging apparatus and image compositing method | |
JP3613741B2 (en) | Digital still camera and video conference system | |
US6862106B1 (en) | Image-capturing apparatus, method of controlling the same apparatus, and computer program product for providing the same method | |
JP3807109B2 (en) | Digital camera | |
JPH11331689A (en) | Digital camera | |
JP2004140484A (en) | Image capturing apparatus and image capturing method | |
JP4288965B2 (en) | Electronic camera and imaging control program | |
JPH11266381A (en) | Electronic camera | |
JP2004096328A (en) | Electronic camera | |
JP4200575B2 (en) | Digital camera | |
JPH11298908A (en) | Image processing method for digital camera | |
JP2000092380A (en) | Camera, its exposure control method and recording medium | |
JP2002135636A (en) | Electronic camera | |
JPH11313243A (en) | Image processing method for digital camera | |
JP2010081345A (en) | Imaging apparatus | |
JP3103578B2 (en) | Electronic still camera | |
JP3805658B2 (en) | Digital still camera | |
JP3384549B2 (en) | Digital camera | |
JP3052884B2 (en) | Electronic still camera | |
JP2000078460A (en) | Digital camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20050615 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20050704 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050826 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050830 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051024 |
|
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: 20060425 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060508 |
|
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: 20100526 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100526 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110526 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110526 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120526 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120526 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130526 Year of fee payment: 7 |
|
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 |