JP2004200818A - Electronic camera - Google Patents

Electronic camera Download PDF

Info

Publication number
JP2004200818A
JP2004200818A JP2002364487A JP2002364487A JP2004200818A JP 2004200818 A JP2004200818 A JP 2004200818A JP 2002364487 A JP2002364487 A JP 2002364487A JP 2002364487 A JP2002364487 A JP 2002364487A JP 2004200818 A JP2004200818 A JP 2004200818A
Authority
JP
Japan
Prior art keywords
image
correction
file
electronic camera
data
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.)
Granted
Application number
JP2002364487A
Other languages
Japanese (ja)
Other versions
JP4207555B2 (en
Inventor
Koichiro Mori
剛一郎 森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP2002364487A priority Critical patent/JP4207555B2/en
Publication of JP2004200818A publication Critical patent/JP2004200818A/en
Application granted granted Critical
Publication of JP4207555B2 publication Critical patent/JP4207555B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic camera capable of correcting an image for deleting a foreign material and properly storing a file relative to image correction. <P>SOLUTION: The electronic camera includes: an image pick up section located in an enclosure to generate a picked up image of an object; a light shield section located in the enclosure to set the inside of the enclosure to a dark box state; and an illumination light source placed in the enclosure, and also includes: a foreign material detection section for picking up a foreign material including image projected onto an imaging face of the image pick up part with light emitted from the illumination light source in the inside of the enclosure brought into the dark box state and generating correction data for correcting the image for deleting the foreign material on the basis of the foreign material including image; a foreign material correction section for applying image correction to the picked up image on the basis of the correction data; and a recording section for recording the correction data or a state of image correction to a recording medium in cross-reference with the picked up image. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、電子カメラにおいて、撮像素子に結像する像の光路中に付着した異物などによる、撮影後の画像データに対する影響を軽減するための補正データの保持方法に関する。
【0002】
【従来の技術】
撮像素子を利用する電子カメラでは、撮像素子の像面近傍の光路中に異物が存在すると、その近傍での正確な画像認識あるいは画像の再現をできなくなる。このため、清掃などにより撮像素子の像面光路上に異物が付着しないようにすることが望まれるが、完全に異物の付着を排除することは困難である。また、異物が付着している画像データを取得した場合、カメラに装着されている液晶モニターでは、モニターの大きさが小さく、画像を全表示して確認することは困難である(例えば、特許文献1参照)。ズーム機能をつけて異物の存在が確認できる大きさに画像を拡大しても、その状態で画像全体をくまなく調査することは、面倒かつ不便である。
【特許文献1】
特開2001−157087号公報
【0003】
【発明が解決しようとする課題】
像面近傍の光路中に異物が存在した場合、この異物によって、正しい画像データが得られないという問題が生じる。そこで、本出願人は、撮像素子の像面近傍に異物が存在する場合でも、画像処理を施すことで異物が存在しない状態と同等の画像データを得る方法を出願した。しかしながら、画像処理では過剰補正する可能性もある。このため、ユーザによっては、画像処理を施さない原画像データを保存することを好むことが考えられる。従って、ユーザの意図にあわせた画像処理、画像保存を行うことが望ましい。しかしながら、従来は、その手段を選択できるものはなかった。
【0004】
そこで、本発明は、異物消去の画像補正を可能とし、且つ、その画像補正にかかわるファイルを適切に保存できる電子カメラを提供することを目的とする。
【0005】
【課題を解決するための手段】
請求項1の電子カメラは、筐体内に設けられ、被写体の撮像画像を生成する撮像部と、筐体に設けられ、筐体の内部を暗箱状態に設定する遮光部と、筐体内に設けられた照明用光源と、暗箱状態にされた筐体の内部で照明用光源から発せられた光により、撮像部の撮像面に投影された異物包含画像を撮像し、異物包含画像に基づいて、異物消去の画像補正のための補正データを生成する異物検出部と、補正データに基づいて、撮像画像に画像補正を施す異物補正部と、補正データ、または画像補正の状況を撮像画像に関連付けて記録媒体に記録する記録部とを備えていることを特徴とする。
【0006】
請求項2の電子カメラは、請求項1記載の電子カメラにおいて、記録部が、撮像画像のファイルのヘッダに、撮像画像に画像補正を施したか否かを記録することを特徴とする。
請求項3の電子カメラは、請求項1記載の電子カメラにおいて、記録部が、撮像画像のファイルのヘッダに補正データを記録し、ファイルの画像データ領域に画像補正後の画像データを記録することを特徴とする。
【0007】
請求項4の電子カメラは、請求項1記載の電子カメラにおいて、記録部が、撮像画像のファイルのヘッダに補正データを記録し、ファイルの画像データ領域には原画像を記録することを特徴とする。
請求項5の電子カメラは、請求項1記載の電子カメラにおいて、記録部が、画像データ領域に原画像の画像データを有する原画像ファイルと、補正データを有する補正データファイルとを独立したファイルとして記録することを特徴とする。
【0008】
請求項6の電子カメラは、請求項1記載の電子カメラにおいて、記録部が、原画像ファイルのヘッダに、参照する補正用データファイルを識別するための参照記号を記録することにより、両ファイルを関連付けることを特徴とする。
請求項7の電子カメラは、請求項1記載の電子カメラにおいて、画像データを補正する時に利用する補正データを、作成あるいは修正することを選択する手段を備えていることを特徴とする。
【0009】
請求項8の電子カメラは、請求項1記載の電子カメラにおいて、画像を記録するファイルの構成として、撮像画像のファイルのヘッダに、撮像画像に画像補正を施したか否かを記録する第1モードと、撮像画像のファイルのヘッダに補正データを記録し、ファイルの画像データ領域に画像補正後の画像データを記録する第2モードと、撮像画像のファイルのヘッダに補正データを記録し、ファイルの画像データ領域には原画像を記録する第3モードと、画像データ領域に原画像の画像データを有する原画像ファイルと、補正データを有する補正データファイルとを独立したファイルとして記録する第4モードと、原画像ファイルのヘッダに、参照する補正用データファイルを識別するための参照記号を記録することにより、両ファイルを関連付ける第5モードとを記録部が有し、第1〜第5モードのいずれかを選択する手段を電子カメラが備えていることを特徴とする。
【0010】
撮像素子の撮像面を暗箱状態の中に置き、暗箱の中に設置した光源から撮像面に向けて光を照射すると、異物が存在する領域では異物が存在しない領域と異なる色で撮像面に認識される。従って、この暗箱状態で撮影した場合には異物だけが映った画像データを、補正データとして得ることができる。そして、撮影された原画像データに対して、補正データを用いた画像処理を施すことで、擬似的に撮像光路近傍に異物がない画像データを得ることができる。また、画像処理を行う際に、画像のヘッダ部分に、位置、補正色の情報や参照記号を挿入することで、画像保存の方法に幅を持たせる。このようにすれば、ユーザの選択肢は増え、ユーザの利便性は向上する。
【0011】
【発明の実施の形態】
以下、図面を用いて本発明の実施の形態を説明する。
図1は、本実施形態における電子カメラ1の構成図である。図において、電子カメラ1は、カメラ本体2に、撮影レンズユニット4を装着し、記録媒体6を接続することで構成されている。カメラ本体2は、遮光板8、シャッターボタン11、画像補正モードボタン12、撮像素子13、CPU14、補正データを記録可能な記録メモリ36(後述する図2参照)、及び画像データを保存するためのデータ記録部15、照明用光源16を有している。
【0012】
CPU14は、電子カメラ1のシステムコントロールを行う。
照明用光源16は、筐体状であるカメラ本体2内の下部に配設されている。照明用光源16は、白色光を発光するLEDからなり、撮像光軸の真下に位置し、撮像素子13に向けられている。照明用光源16は、常時OFF状態で、後述のように異物を検出しようとする時、オン状態にされ、撮像素子13の撮像面を全面に亘って照らすことができる。
【0013】
図2は撮像素子13により得られた画像データの処理を示す流れ図である。以下、撮像から画像データの記録までの処理の流れを簡単に説明する。
まず、ユーザは、補正データを利用して画像処理を施すか否かを、予め画像補正モードボタン12によって選択しておく。
次に、公知の動作で、撮像素子13は露光される。
【0014】
次に、撮像素子13より得られた原画像データは、A/D変換器32でデジタルデータに変換された後、画像データとして画像処理部35にデータ転送される。
次に、画像処理部35は、画像データに、画像補正モードボタン12によって選択された画像処理を施す。このとき、画像処理部35は、演算装置34、及び記録メモリ36に保存されている補正用のデータを用いる。
【0015】
最後に、データ記録部15は、画像処理部35で画像処理を施された画像データを、記録媒体6に記録する。
図3は、画像補正モードボタン12によって、選択することができる画像補正処理の説明図である。本実施形態では、一例として、第1〜第5の5つの画像補正処理モードを有する場合について説明する。
【0016】
図3(a)は、1つのファイルのヘッダに、画像処理を施したか否かを記述し、その記述にしたがった画像データを有する第1モードを示している。画像補正が行われる場合、画像処理部35は、記録メモリ36に格納されている補正データファイル内の補正用画像データに基づいて、撮像素子13より得られた原画像データに画像補正処理を施す。そして、ヘッダに『画像補正処理を施した』という情報を有し、画像補正処理を施された画像データを有する1つのファイルが作成される。請求項記載の原画像は、例えば、撮像素子13より得られた原画像データに対応する。
【0017】
また、画像補正が行われない場合、ヘッダに『画像補正処理を施されていない』という情報を有し、上述の画像補正処理を施されていない画像データを有する1つのファイルが作成される。従って、この場合、通常の画像処理(公知のホワイトバランス調整、輪郭強調、ガンマ補正等。本実施形態では説明を省略)に加えて、ヘッダに画像補正処理をしていないことのみを記述すればよい。
【0018】
図3(b)は、1つの画像データで構成される第2モードを示している。第2モードでは、画像データは、上述の画像補正処理を施したものである。さらに、第2モードでは、補正する画素位置、補正色の情報を、ファイルのヘッダ部に付加する。
図3(c)は、1つの画像データで構成される第3モードを示している。第3モードでは、画像データは、上述の画像補正処理を施す前の原画像データである。さらに、第3モードでは、補正する画素位置、補正色の情報を、ファイルのヘッダ部に付加する。第2及び第3モードでは、請求項記載の補正データは、例えば、ファイルのヘッダ部に付加される画素位置、補正色の情報に対応する。
【0019】
図3(d)は、各原画像データ毎に2つのファイルを利用する第4モードを示している。第4モードでは、1つのファイルを原画像ファイルとし、もう一つのファイルを補正データファイルとするものである。原画像ファイルは、撮像素子13により得られた原画像データを保存したものである。補正データファイルは、ヘッダ部に補正する画素位置、補正色の情報を付加され、補正に利用する補正用画像データを有するファイルである。補正用画像データは、例えば、記録メモリ36に予め格納されている。そして、原画像ファイルと補正データファイルは、それぞれ並列に作成され、データ記録部37により、例えば、記録媒体6内の1つのフォルダ内に記録される。第4モードでは、請求項記載の補正データは、例えば、補正データファイルのヘッダ部に付加される画素位置、補正色の情報と、補正用画像データとに対応する。
【0020】
図3(e)は、第5モードを示している。第5モードでは、画像処理部35は、原画像データを有する1つの原画像ファイルのヘッダに、どの補正画像データファイルを参照して補正するかの情報を付加する。また、別ファイルとして、参照される補正用画像データを有する補正データファイルを作成しておく。ただし、参照する補正データファイルを示す記号は、数字、日付、ファイル名、フォルダ名などいずれでも可能である。第5モードでは、補正データファイルは、原画像ファイルに1対1で対応する必要はない。即ち、複数の原画像ファイルが、同じ1つの補正データファイルを参照する場合もある。原画像ファイルが記録媒体6に記録するに際して、この原画像ファイルのヘッダに示されている補正データファイルがすでに記録媒体6に存在する場合、この補正データファイルを再度記録する必要はない。この補正データファイルが記録媒体6中に存在しない揚合だけ、この補正データファイルは記録される。
【0021】
なお、第5モードでは、補正データファイルのヘッダに、この補正データファイルがどの原画像ファイル(複数の場合もある)の画像補正に使用されるかの情報を付加してもよい。この場合、1つの補正データファイルを用いて、複数の原画像ファイルの画像補正を一括して行うことが可能となり、処理時間を短縮できる。
【0022】
また、第5モードでは、請求項記載の補正データは、例えば、原画像ファイルのヘッダ部に付加される、どの補正画像データファイルを参照して補正するかの情報、及び補正データファイルに対応する。
さらに、画像補正モードボタン12は、記録メモリ36に既に入っている補正データファイルを消去したり、新規に補正データファイルを作成したりするための第6モードを選択可能である。第6モードでは、新規に補正データファイルを作成するばかりではなく、記録メモリ36に既に入っている補正データファイル、または新規に作成した補正データファイル内の画像データを、データ記録部15によって記録媒体6に記録することができる。
【0023】
さらに、画像補正モードボタン12は、補正データファイルを作成したり撮像面に対して、どの位置に異物が存在するのか確認するための第7モードを選択可能である。第7モードでは、記録メモリ36に記録されている補正データを画像データとして扱う。そして、例えば、画像データにおけるどの位置に異物が存在するのかをカメラ本体2のモニタ(図示せず)に映し出す。電子カメラ1に装着されているモニタでは、異物そのものを映し出しても、確認するのが困難である。異物そのものの形状は問題ではなく、撮像面上での位置を知ることができればよい。
【0024】
ここで、上述した「記録メモリ36に保存されている補正用画像データの作成方法について説明する。まず、画像補正モードボタン12により、電子カメラ1を第8モードに設定する。次に、遮光板8により、撮像素子13の撮像面は、暗箱の中に置かれた状態と等しくされる。この後、CPU14は、第1の画像認識手段と、第2の画像認識手段と、異物検出手段とにより、以下のように補正用画像データを作成する。
【0025】
第1の画像認識手段は、暗箱状態にされたカメラ本体2の内部で照明用光源16から発せられた拡散光により撮像素子13上に生成された第1の画像に対応する第1の画像信号(基準画像信号)を認識するものである。
第2の画像認識手段は、暗箱状態にされたカメラ本体2の内部で照明用光源16から発せられた拡散光により撮像素子13上に生成された第2の画像に対応する第2の画像信号(検査画像信号)を認識するものである。ここで、第2の画像は、検査すべき画像で、第1の画像に異物の影を加えたものである。
【0026】
異物検出手段は、第1の画像認識手段からの第1の画像信号の波形と第2の画像認識手段からの第2の画像信号の波形とを比較し、第2の画像信号が第1の画像信号にその濃度値より高い濃度値のノイズ成分(異物の影に相当する)を重畳したものである場合、異物を検出する。
【0027】
このように、撮像素子13の撮像面を暗箱状態の中に置き、暗箱の中に設置した照明用光源16から撮像面に向けて光を照射すると、異物が存在する領域では異物が存在しない領域と異なる色で撮像面に認識される。従って、この暗箱状態で撮影した場合には異物だけが映った画像データを、上述した補正用画像データとして得ることができる。
【0028】
なお、補正用画像データの作成は、出荷前に既に行われているものであるが、ユーザ自身が後から行うことも可能である。また、電子カメラ1を購入後したユーザに依頼されたサービスセンタが行う場合もある。
以上、本実施形態の電子カメラ1では、画像記録時にすでに画像補正を行って保存したり、ユーザが後でアプリケーションなどを利用して画像補正できるように保存したりといった、ユーザの意図に合わせた画像補正方法を選択することができる。また、撮影した画像データを保存する際に、補正データを撮影した画像データと関連付けて保存することができるので、ユーザの利便性は向上する。
【0029】
なお、本実施形態では、電子カメラがレンズ交換型の一眼レフレックス電子カメラである例を述べた。本発明は、かかる実施形態に限定されるものではない。例えば、レンズシャッタ式電子カメラ、レンズ一体型一眼レフレックス電子カメラでもよい。
また、機械的スイッチである画像補正モードボタン12により、画像補正方法を選択したり、補正データファイルを作成するモードを選択する例を述べた。本発明は、かかる実施形態に限定されるものではない。例えば、機械的スイッチの代わりに、アプリケーションなどでパラメータの設定項目を設け、設定する手段によって画像補正方法を選択してもよい。
【0030】
本実施形態においては、照明用光源の数は1個であり、異物に対して拡散光の照らす方向は一方向になっている例を述べた。本発明は、かかる実施形態に限定されるものではない。例えば、複数の光源を用い、異物への拡散光の照射方向を複数方向にすることにより、異物の、撮像光軸から見た撮像素子13上に投影した複数の位置を正確に割り出し、より正確に補正してもよい。
【0031】
【発明の効果】
本発明によれば、画像記録時にすでに画像補正を行って保存したり、ユーザが後でアプリケーションなどを利用して画像補正できるように保存したりといった、ユーザの意図に合わせた画像補正方法を選択できる。
【図面の簡単な説明】
【図1】本発明の電子カメラの構成図である。
【図2】撮像素子により得られた画像データの処理を示す流れ図である。
【図3】画像補正モードボタンにより選択可能な画像ファイルの構成模式図である。
【符号の説明】
1 電子カメラ
2 カメラ本体
4 撮影レンズユニット
6 記録媒体
8 遮光板
11 シャッターボタン
12 画像補正モードボタン
13 撮像素子
14 CPU
15 データ記録部
16 照明用光源
32 A/D変換器
34 演算装置
35 画像処理部
36 記録メモリ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for holding correction data in an electronic camera for reducing an influence on image data after photographing due to a foreign substance or the like attached to an optical path of an image formed on an image sensor.
[0002]
[Prior art]
In an electronic camera using an image sensor, if a foreign substance exists in the optical path near the image plane of the image sensor, accurate image recognition or image reproduction in the vicinity cannot be performed. For this reason, it is desired to prevent foreign matter from adhering to the image plane optical path of the image sensor by cleaning or the like, but it is difficult to completely eliminate the foreign matter from being adhered. Further, when acquiring image data to which a foreign substance is attached, the size of the liquid crystal monitor attached to the camera is small, and it is difficult to display and confirm the entire image (for example, see Patent Document 1). 1). Even if the image is enlarged to a size at which the presence of a foreign substance can be confirmed by attaching a zoom function, it is troublesome and inconvenient to investigate the entire image in that state.
[Patent Document 1]
Japanese Patent Application Laid-Open No. 2001-157087
[Problems to be solved by the invention]
If a foreign substance is present in the optical path near the image plane, a problem arises in that the foreign substance cannot provide correct image data. Accordingly, the present applicant has applied for a method of obtaining image data equivalent to a state in which no foreign matter exists by performing image processing even when foreign matter exists near the image plane of the image sensor. However, in image processing, there is a possibility of overcorrection. For this reason, some users may prefer to save original image data that is not subjected to image processing. Therefore, it is desirable to perform image processing and image storage according to the user's intention. However, conventionally, there has been no one that can select the means.
[0004]
SUMMARY OF THE INVENTION It is an object of the present invention to provide an electronic camera capable of correcting an image for removing foreign matter and appropriately storing a file related to the image correction.
[0005]
[Means for Solving the Problems]
The electronic camera according to claim 1 is provided in a housing, an imaging unit that generates a captured image of a subject, a light shielding unit that is provided in the housing, and sets the inside of the housing in a dark box state, and is provided in the housing. The light source for illumination and the light emitted from the light source for illumination inside the housing in the dark box state captures the foreign matter inclusion image projected on the imaging surface of the imaging unit, and detects the foreign matter based on the foreign matter inclusion image. A foreign substance detection unit that generates correction data for image correction for erasure, a foreign substance correction unit that performs image correction on a captured image based on the correction data, and records the correction data or image correction status in association with the captured image A recording unit for recording on a medium.
[0006]
According to a second aspect of the present invention, in the electronic camera according to the first aspect, the recording unit records, in a header of a file of the captured image, whether or not the image correction has been performed on the captured image.
According to a third aspect of the present invention, in the electronic camera according to the first aspect, the recording unit records the correction data in a header of a file of the captured image, and records the image data after the image correction in an image data area of the file. It is characterized by.
[0007]
An electronic camera according to a fourth aspect is the electronic camera according to the first aspect, wherein the recording unit records the correction data in a header of a file of the captured image, and records an original image in an image data area of the file. I do.
According to a fifth aspect of the present invention, in the electronic camera according to the first aspect, the recording unit separates the original image file having the image data of the original image in the image data area and the correction data file having the correction data into independent files. It is characterized by recording.
[0008]
In the electronic camera according to the sixth aspect, in the electronic camera according to the first aspect, the recording unit records a reference symbol for identifying a correction data file to be referred to in a header of the original image file, so that the two files can be combined. It is characterized by associating.
An electronic camera according to a seventh aspect of the present invention is the electronic camera according to the first aspect, further comprising means for selecting whether to create or modify the correction data used when correcting the image data.
[0009]
In the electronic camera according to the present invention, in the electronic camera according to the first aspect, as a configuration of a file for recording an image, a first mode for recording whether or not image correction has been performed on the captured image in a header of the file of the captured image. And a second mode in which the correction data is recorded in the header of the file of the captured image, and the image data after the image correction is recorded in the image data area of the file, and the correction data is recorded in the header of the file of the captured image, A third mode for recording an original image in the image data area, and a fourth mode for recording an original image file having image data of the original image in the image data area and a correction data file having correction data as independent files. By recording reference symbols to identify the correction data file to be referenced in the header of the original image file, Kicking recording unit and a fifth mode, the means for selecting one of the first to fifth modes, characterized in that the electronic camera comprises.
[0010]
When the imaging surface of the image sensor is placed in the dark box state and light is radiated from the light source installed in the dark box toward the imaging surface, the area where foreign matter is present is recognized on the imaging plane in a different color from the area where there is no foreign matter. Is done. Therefore, when photographing is performed in the dark box state, image data showing only the foreign matter can be obtained as correction data. Then, by performing image processing using the correction data on the captured original image data, it is possible to obtain image data having no foreign matter in the vicinity of the imaging optical path in a pseudo manner. In addition, when performing image processing, information of a position, a correction color, and a reference symbol are inserted into a header portion of an image, so that the method of storing an image has a certain width. By doing so, the options of the user are increased, and the convenience of the user is improved.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram of an electronic camera 1 according to the present embodiment. In the figure, an electronic camera 1 is configured by attaching a photographing lens unit 4 to a camera body 2 and connecting a recording medium 6. The camera body 2 includes a light blocking plate 8, a shutter button 11, an image correction mode button 12, an image sensor 13, a CPU 14, a recording memory 36 capable of recording correction data (see FIG. 2 described later), and a memory for storing image data. It has a data recording unit 15 and a light source 16 for illumination.
[0012]
The CPU 14 controls the system of the electronic camera 1.
The illumination light source 16 is provided at a lower portion in the camera body 2 having a housing shape. The illumination light source 16 is composed of an LED that emits white light, is located immediately below the imaging optical axis, and is directed to the imaging device 13. The illumination light source 16 is always in an OFF state, and is turned on when trying to detect a foreign substance as described later, and can illuminate the entire imaging surface of the imaging element 13.
[0013]
FIG. 2 is a flowchart showing the processing of the image data obtained by the image sensor 13. Hereinafter, the flow of processing from imaging to recording of image data will be briefly described.
First, the user selects in advance whether or not to perform image processing using the correction data with the image correction mode button 12.
Next, the image sensor 13 is exposed by a known operation.
[0014]
Next, the original image data obtained from the image sensor 13 is converted into digital data by the A / D converter 32, and then transferred to the image processing unit 35 as image data.
Next, the image processing unit 35 performs the image processing selected by the image correction mode button 12 on the image data. At this time, the image processing unit 35 uses correction data stored in the arithmetic unit 34 and the recording memory 36.
[0015]
Finally, the data recording unit 15 records the image data subjected to the image processing by the image processing unit 35 on the recording medium 6.
FIG. 3 is an explanatory diagram of an image correction process that can be selected by the image correction mode button 12. In the present embodiment, a case will be described as an example in which there are five first to fifth image correction processing modes.
[0016]
FIG. 3A shows a first mode in which whether or not image processing has been performed is described in a header of one file, and image data according to the description is provided. When image correction is performed, the image processing unit 35 performs image correction processing on the original image data obtained from the image sensor 13 based on the correction image data in the correction data file stored in the recording memory 36. . Then, one file having information indicating that “image correction processing has been performed” in the header and having image data subjected to image correction processing is created. The original image described in the claims corresponds to, for example, original image data obtained from the image sensor 13.
[0017]
If image correction is not performed, one file is created that has information indicating that “image correction processing has not been performed” in the header and has image data that has not been subjected to the above-described image correction processing. Therefore, in this case, in addition to the normal image processing (known white balance adjustment, contour emphasis, gamma correction, etc .; description is omitted in this embodiment), it is sufficient to describe only that the image correction processing is not performed in the header. Good.
[0018]
FIG. 3B shows a second mode including one image data. In the second mode, the image data has been subjected to the above-described image correction processing. Further, in the second mode, information on the pixel position to be corrected and the correction color is added to the header of the file.
FIG. 3C shows a third mode including one image data. In the third mode, the image data is original image data before performing the above-described image correction processing. Further, in the third mode, information on the pixel position to be corrected and the correction color is added to the header of the file. In the second and third modes, the correction data described in the claims corresponds to, for example, information on a pixel position and a correction color added to the header of the file.
[0019]
FIG. 3D shows a fourth mode in which two files are used for each original image data. In the fourth mode, one file is used as an original image file and another file is used as a correction data file. The original image file stores original image data obtained by the image sensor 13. The correction data file is a file in which information of a pixel position to be corrected and a correction color is added to a header portion, and has correction image data used for correction. The correction image data is stored in the recording memory 36 in advance, for example. Then, the original image file and the correction data file are respectively created in parallel, and are recorded by the data recording unit 37 in, for example, one folder in the recording medium 6. In the fourth mode, the correction data described in the claims corresponds to, for example, information on a pixel position and a correction color added to a header portion of the correction data file, and correction image data.
[0020]
FIG. 3E shows the fifth mode. In the fifth mode, the image processing unit 35 adds, to the header of one original image file having the original image data, information on which corrected image data file is to be referred to and corrected. Also, a correction data file having correction image data to be referred to is created as another file. However, the symbol indicating the correction data file to be referred to can be any number, date, file name, folder name, or the like. In the fifth mode, the correction data file does not need to correspond one-to-one with the original image file. That is, a plurality of original image files may refer to the same one correction data file. When the original image file is recorded on the recording medium 6, if the correction data file indicated in the header of the original image file already exists on the recording medium 6, it is not necessary to record the correction data file again. Only when the correction data file does not exist in the recording medium 6, the correction data file is recorded.
[0021]
In the fifth mode, information indicating which original image file (or a plurality of original image files) the correction data file is used for image correction may be added to the header of the correction data file. In this case, image correction of a plurality of original image files can be collectively performed using one correction data file, and processing time can be reduced.
[0022]
In the fifth mode, the correction data described in the claims corresponds to, for example, information indicating which correction image data file is to be referred to and corrected, and a correction data file added to a header portion of the original image file. .
Further, the image correction mode button 12 can select a sixth mode for deleting a correction data file already stored in the recording memory 36 or creating a new correction data file. In the sixth mode, not only a new correction data file is created, but also the correction data file already stored in the recording memory 36 or the image data in the newly created correction data file is stored in the recording medium 15 by the data recording unit 15. 6 can be recorded.
[0023]
Further, the image correction mode button 12 can select a seventh mode for creating a correction data file or confirming at which position a foreign substance exists on the imaging surface. In the seventh mode, the correction data recorded in the recording memory 36 is handled as image data. Then, for example, the position of the foreign matter in the image data is displayed on a monitor (not shown) of the camera body 2. It is difficult for the monitor mounted on the electronic camera 1 to confirm even if the foreign substance itself is projected. The shape of the foreign matter itself does not matter, and it is only necessary to know the position on the imaging surface.
[0024]
Here, the method of creating the correction image data stored in the recording memory 36 will be described. First, the electronic camera 1 is set to the eighth mode by the image correction mode button 12. Next, the light shielding plate The image pickup surface of the image pickup device 13 is made equal to the state placed in the dark box by 8. Thereafter, the CPU 14 sets the first image recognition unit, the second image recognition unit, the foreign object detection unit Thus, correction image data is created as follows.
[0025]
The first image recognition means is a first image signal corresponding to the first image generated on the image sensor 13 by the diffused light emitted from the illumination light source 16 inside the camera body 2 in the dark box state. (Reference image signal).
The second image recognition means is a second image signal corresponding to the second image generated on the image sensor 13 by the diffused light emitted from the illumination light source 16 inside the camera body 2 in the dark box state. (Inspection image signal). Here, the second image is an image to be inspected and is obtained by adding a shadow of a foreign substance to the first image.
[0026]
The foreign object detection unit compares the waveform of the first image signal from the first image recognition unit with the waveform of the second image signal from the second image recognition unit, and determines that the second image signal is the first image signal. If a noise component having a higher density value (corresponding to a shadow of a foreign substance) is superimposed on the image signal, the foreign substance is detected.
[0027]
As described above, when the imaging surface of the imaging element 13 is placed in the dark box state and the light is emitted from the illumination light source 16 installed in the dark box toward the imaging surface, the area where the foreign matter does not exist is the area where the foreign matter does not exist. Is recognized on the imaging surface in a color different from. Therefore, when the image is taken in the dark box state, image data showing only the foreign matter can be obtained as the above-mentioned correction image data.
[0028]
Although the correction image data is created before shipment, the user can also create the correction image data later. The service may be performed by a service center requested by a user who has purchased the electronic camera 1.
As described above, in the electronic camera 1 of the present embodiment, image correction has already been performed at the time of image recording and saved, or saved so that the user can later perform image correction using an application or the like, according to the user's intention. An image correction method can be selected. In addition, when the captured image data is stored, the correction data can be stored in association with the captured image data, so that the convenience for the user is improved.
[0029]
In this embodiment, an example in which the electronic camera is a single-lens reflex electronic camera with interchangeable lenses has been described. The present invention is not limited to such an embodiment. For example, a lens shutter type electronic camera or a lens-integrated single-lens reflex electronic camera may be used.
Further, the example has been described in which the image correction mode button 12 which is a mechanical switch is used to select an image correction method or a mode for creating a correction data file. The present invention is not limited to such an embodiment. For example, instead of a mechanical switch, a parameter setting item may be provided by an application or the like, and an image correction method may be selected by a setting unit.
[0030]
In the present embodiment, an example has been described in which the number of illumination light sources is one and the direction in which diffused light illuminates a foreign substance is one. The present invention is not limited to such an embodiment. For example, by using a plurality of light sources and setting the irradiation direction of the diffused light to the foreign substance in a plurality of directions, a plurality of positions of the foreign substance projected on the image sensor 13 as viewed from the imaging optical axis can be accurately determined, and more accurate. May be corrected.
[0031]
【The invention's effect】
According to the present invention, an image correction method according to the user's intention is selected, such as performing image correction at the time of image recording and saving the image, or saving the image so that the user can use an application or the like to perform image correction later. it can.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an electronic camera of the present invention.
FIG. 2 is a flowchart illustrating processing of image data obtained by an image sensor.
FIG. 3 is a schematic diagram of a configuration of an image file that can be selected by an image correction mode button.
[Explanation of symbols]
REFERENCE SIGNS LIST 1 electronic camera 2 camera body 4 photographing lens unit 6 recording medium 8 light shielding plate 11 shutter button 12 image correction mode button 13 image sensor 14 CPU
Reference Signs List 15 data recording unit 16 illumination light source 32 A / D converter 34 arithmetic unit 35 image processing unit 36 recording memory

Claims (8)

筐体内に設けられ、被写体の撮像画像を生成する撮像部と、
前記筐体に設けられ、前記筐体の内部を暗箱状態に設定する遮光部と、
前記筐体内に設けられた照明用光源と、
暗箱状態にされた前記筐体の内部で前記照明用光源から発せられた光により、前記撮像部の撮像面に投影された異物包含画像を撮像し、前記異物包含画像に基づいて、異物消去の画像補正のための補正データを生成する異物検出部と、
前記補正データに基づいて、前記撮像画像に前記画像補正を施す異物補正部と、
前記補正データ、または前記画像補正の状況を前記撮像画像に関連付けて記録媒体に記録する記録部と
を備えていることを特徴とする電子カメラ。
An imaging unit that is provided in the housing and generates a captured image of the subject;
A light-shielding unit provided in the housing, for setting the inside of the housing to a dark box state,
An illumination light source provided in the housing,
With the light emitted from the light source for illumination inside the casing in the dark box state, an image of the foreign matter inclusion projected on the imaging surface of the imaging unit is taken, and based on the foreign matter inclusion image, foreign matter erasure is performed. A foreign matter detector that generates correction data for image correction;
A foreign matter correction unit that performs the image correction on the captured image based on the correction data,
A recording unit that records the correction data or the state of the image correction on a recording medium in association with the captured image.
請求項1記載の電子カメラにおいて、
前記記録部は、前記撮像画像のファイルのヘッダに、前記撮像画像に前記画像補正を施したか否かを記録する
ことを特徴とする電子カメラ。
The electronic camera according to claim 1,
The electronic camera according to claim 1, wherein the recording unit records, in a header of a file of the captured image, whether or not the image correction has been performed on the captured image.
請求項1記載の電子カメラにおいて、
前記記録部は、前記撮像画像のファイルのヘッダに前記補正データを記録し、前記ファイルの画像データ領域に前記画像補正後の画像データを記録する
ことを特徴とする電子カメラ。
The electronic camera according to claim 1,
The electronic camera according to claim 1, wherein the recording unit records the correction data in a header of the file of the captured image, and records the image data after the image correction in an image data area of the file.
請求項1記載の電子カメラにおいて、
前記記録部は、前記撮像画像のファイルのヘッダに前記補正データを記録し、前記ファイルの画像データ領域には原画像を記録する
ことを特徴とする電子カメラ。
The electronic camera according to claim 1,
The electronic camera according to claim 1, wherein the recording unit records the correction data in a header of a file of the captured image, and records an original image in an image data area of the file.
請求項1記載の電子カメラにおいて、
前記記録部は、画像データ領域に原画像の画像データを有する原画像ファイルと、前記補正データを有する補正データファイルとを独立したファイルとして記録する
ことを特徴とする電子カメラ。
The electronic camera according to claim 1,
An electronic camera, wherein the recording unit records an original image file having image data of an original image in an image data area and a correction data file having the correction data as independent files.
請求項1記載の電子カメラにおいて、
前記記録部は、原画像ファイルのヘッダに、参照する補正用データファイルを識別するための参照記号を記録することにより、両ファイルを関連付ける
ことを特徴とする電子カメラ。
The electronic camera according to claim 1,
An electronic camera, wherein the recording unit associates both files by recording a reference symbol for identifying a correction data file to be referenced in a header of an original image file.
請求項1記載の電子カメラにおいて、
画像データを補正する時に利用する補正データを、作成あるいは修正することを選択する手段を備えている
ことを特徴とする電子カメラ。
The electronic camera according to claim 1,
An electronic camera, comprising: means for selecting to create or modify correction data used when correcting image data.
請求項1記載の電子カメラにおいて、
前記記録部は、画像を記録するファイルの構成として、
前記撮像画像のファイルのヘッダに、前記撮像画像に前記画像補正を施したか否かを記録する第1モードと、
前記撮像画像のファイルのヘッダに前記補正データを記録し、前記ファイルの画像データ領域に前記画像補正後の画像データを記録する第2モードと、
前記撮像画像のファイルのヘッダに前記補正データを記録し、前記ファイルの画像データ領域には原画像を記録する第3モードと、
画像データ領域に原画像の画像データを有する原画像ファイルと、前記補正データを有する補正データファイルとを独立したファイルとして記録する第4モードと、
原画像ファイルのヘッダに、参照する補正用データファイルを識別するための参照記号を記録することにより、両ファイルを関連付ける第5モードと
を有し、
前記第1〜第5モードのいずれかを選択する手段を備えている
ことを特徴とする電子カメラ。
The electronic camera according to claim 1,
The recording unit has a configuration of a file for recording an image,
A first mode for recording in the header of the file of the captured image whether or not the image correction has been performed on the captured image;
A second mode in which the correction data is recorded in a header of a file of the captured image, and the image data after the image correction is recorded in an image data area of the file;
A third mode in which the correction data is recorded in a header of the file of the captured image, and an original image is recorded in an image data area of the file;
A fourth mode in which an original image file having image data of an original image in an image data area and a correction data file having the correction data are recorded as independent files;
A fifth mode for associating both files by recording a reference symbol for identifying the correction data file to be referenced in the header of the original image file,
An electronic camera, comprising: means for selecting one of the first to fifth modes.
JP2002364487A 2002-12-16 2002-12-16 Electronic camera Expired - Fee Related JP4207555B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002364487A JP4207555B2 (en) 2002-12-16 2002-12-16 Electronic camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002364487A JP4207555B2 (en) 2002-12-16 2002-12-16 Electronic camera

Publications (2)

Publication Number Publication Date
JP2004200818A true JP2004200818A (en) 2004-07-15
JP4207555B2 JP4207555B2 (en) 2009-01-14

Family

ID=32762302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002364487A Expired - Fee Related JP4207555B2 (en) 2002-12-16 2002-12-16 Electronic camera

Country Status (1)

Country Link
JP (1) JP4207555B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006280703A (en) * 2005-04-01 2006-10-19 Canon Inc Ophthalmologic photography apparatus and method of photography
JP2007189467A (en) * 2006-01-12 2007-07-26 Canon Inc Image processor, image processing method, and program
JP2007201637A (en) * 2006-01-24 2007-08-09 Canon Inc Image sensing apparatus and control method and program thereof
JP2008228054A (en) * 2007-03-14 2008-09-25 Nikon Corp Camera
JP2008244868A (en) * 2007-03-27 2008-10-09 Canon Inc Imaging apparatus, and control method, program and storage medium thereof
US7990412B2 (en) 2004-11-01 2011-08-02 Hewlett-Packard Development Company, L.P. Systems and methods for correcting image perspective

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7990412B2 (en) 2004-11-01 2011-08-02 Hewlett-Packard Development Company, L.P. Systems and methods for correcting image perspective
JP2006280703A (en) * 2005-04-01 2006-10-19 Canon Inc Ophthalmologic photography apparatus and method of photography
JP2007189467A (en) * 2006-01-12 2007-07-26 Canon Inc Image processor, image processing method, and program
JP4590355B2 (en) * 2006-01-12 2010-12-01 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP2007201637A (en) * 2006-01-24 2007-08-09 Canon Inc Image sensing apparatus and control method and program thereof
JP4678860B2 (en) * 2006-01-24 2011-04-27 キヤノン株式会社 Imaging apparatus and control method and program thereof
JP2008228054A (en) * 2007-03-14 2008-09-25 Nikon Corp Camera
US8120673B2 (en) 2007-03-14 2012-02-21 Nikon Corporation Camera
JP2008244868A (en) * 2007-03-27 2008-10-09 Canon Inc Imaging apparatus, and control method, program and storage medium thereof

Also Published As

Publication number Publication date
JP4207555B2 (en) 2009-01-14

Similar Documents

Publication Publication Date Title
KR100815512B1 (en) Image capturing apparatus and control method thereof
US8208752B2 (en) Image processing apparatus, control method therefor, program, storage medium, and image capturing apparatus
US6791608B1 (en) Digital camera and dirt position detecting method for digital camera
US7619666B2 (en) Image processing apparatus, control method therefor, and program correcting image data based on foreign substance information and inhibiting such correction
US7990419B2 (en) Image processing apparatus, method, and program storing a correction or modification log
US20080246860A1 (en) Image processing apparatus, control method therefor, and program
JP4771539B2 (en) Image processing apparatus, control method therefor, and program
JP2007189467A (en) Image processor, image processing method, and program
JP2007158830A (en) Image pickup device and image pickup device control method
US8576306B2 (en) Image sensing apparatus, image processing apparatus, control method, and computer-readable medium
JP4207555B2 (en) Electronic camera
JP2012124601A (en) Imaging apparatus and imaging program
US7688367B2 (en) Image signal processing apparatus and image signal processing method
JP5152979B2 (en) Radiation image processing method and apparatus
JP2007166155A (en) Image sensing device and bracket processing program
JP2007336433A (en) Method of eliminating or reducing image defect in digital camera
JP2010098698A (en) Imaging apparatus, control method thereof and program
JP2007116366A (en) Foreign material detection system
JP2009093103A (en) Camera and converter lens
JP2012239079A (en) Photographing device
JP2008244868A (en) Imaging apparatus, and control method, program and storage medium thereof
JPH08234261A (en) Image pickup device
JP5094571B2 (en) Imaging apparatus, control method thereof, and program
JP2004334117A (en) Liquid crystal projector
KR101113232B1 (en) Portable wafer counter and method for wafer counting

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080825

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: 20080930

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: 20081013

R150 Certificate of patent or registration of utility model

Ref document number: 4207555

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141031

Year of fee payment: 6

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141031

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141031

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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