JP2017028568A - Imaging device and imaging method - Google Patents

Imaging device and imaging method Download PDF

Info

Publication number
JP2017028568A
JP2017028568A JP2015146649A JP2015146649A JP2017028568A JP 2017028568 A JP2017028568 A JP 2017028568A JP 2015146649 A JP2015146649 A JP 2015146649A JP 2015146649 A JP2015146649 A JP 2015146649A JP 2017028568 A JP2017028568 A JP 2017028568A
Authority
JP
Japan
Prior art keywords
exposure
image
image data
light
noise
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
Application number
JP2015146649A
Other languages
Japanese (ja)
Inventor
陵 畠山
Ryo Hatakeyama
陵 畠山
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2015146649A priority Critical patent/JP2017028568A/en
Publication of JP2017028568A publication Critical patent/JP2017028568A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an imaging device and imaging method that can prevent erroneous correction in noise removing processing without increasing the scale of a correction circuit due to noise removing processing.SOLUTION: An imaging device includes an imaging element for photoelectrically converting a subject image to generate image data, an imaging optical system for forming a subject image on the imaging element, and an exposure interruption controller for interrupting image formation of the subject image on the imaging element. Normal exposure from the start of exposure to the end of exposure is controlled under the state that a subject image is formed on the imaging element by the imaging optical system (S3 to S11), shading exposure from the start of exposure to the end of exposure is controlled under the state that imaging formation of the subject image is interrupted (S13 to S19), noise extraction is performed (S21) based on shaded image data generated by the imaging element after the shading exposure, and noise correction is performed on normal exposure image data generated by the imaging element based on a noise extraction result after the normal exposure is performed.SELECTED DRAWING: Figure 2

Description

本発明は、撮像素子を用いて画像データを取得する撮像装置において、画像データにおけるノイズ補正処理を行う撮像装置および撮像方法に関する。   The present invention relates to an imaging apparatus and an imaging method for performing noise correction processing on image data in an imaging apparatus that acquires image data using an imaging element.

デジタルカメラ等の撮像装置において、撮像素子に種々のノイズが発生するので、これらのノイズを低減させるノイズ補正処理が知られている。ノイズとしては、例えば、撮像素子の画素の欠陥等に起因する固定パターンノイズ(以下、「FPN」と称す)や、撮像素子の暗電流ショットノイズ(ランダムノイズの一種)がある。これらのノイズが目立ってしまうような撮影条件(例えば、数秒以上の長時間露光)で撮影を行う場合には、FPNの除去方法として、以下の方法が提案されている。   In an image pickup apparatus such as a digital camera, various noises are generated in the image pickup element. Therefore, noise correction processing for reducing these noises is known. Examples of the noise include fixed pattern noise (hereinafter referred to as “FPN”) caused by a pixel defect of the image sensor, and dark current shot noise (a kind of random noise) of the image sensor. The following method has been proposed as a method for removing FPN when shooting is performed under shooting conditions that make these noises conspicuous (for example, long exposure of several seconds or more).

(ケース1):
一回の撮影において、まず、長秒時露光撮影で画像を取得し(この画像を「画像1」と称す)、取得後、遮光状態にして同じ長秒時間で撮影を行って画像を取得する(この遮光状態で取得した画像を「画像2」と称す)。そして、取得した2枚の画像を減算し、すなわち、「画像1」−「画像2」を演算することにより、画素欠陥補正のなされた画像を得る(特許文献1参照)。
(Case 1):
In one shooting, first, an image is acquired by long-time exposure shooting (this image is referred to as “image 1”), and after acquisition, the image is acquired in the same long second time in a light-shielded state. (The image acquired in this light-shielded state is referred to as “image 2”). Then, by subtracting the two acquired images, that is, by calculating “image 1” − “image 2”, an image in which pixel defect correction has been performed is obtained (see Patent Document 1).

(ケース2):
ケース1では、一回の撮影において、遮光状態でも画像を取得していた。しかし、ケース2では、一回の撮影において、遮光状態での撮影を行わず、長秒時露光撮影のみで画像を取得し、この画像を用いて、FPNの補正を行う(特許文献2参照)。このケース2では、下記の補正aと補正bの2つの補正処理によってFPN補正を行う。
(Case 2):
In Case 1, an image was acquired even in a light-shielded state in one shooting. However, in case 2, in one shooting, the image is acquired only by the long-time exposure shooting without performing the shooting in the light-shielded state, and the FPN is corrected using this image (see Patent Document 2). . In Case 2, FPN correction is performed by the following two correction processes, correction a and correction b.

(補正a):FPNの影響が現われるような撮影条件の下で欠陥情報(欠陥画素のアドレスやレベル)を予め記録部に記録しておく。そして、撮影するたびに、記憶部から欠陥情報を読み出して、撮影画像に対して補正を行う。
(補正b):欠陥画素の画素出力に対して周囲画素との画素出力の比較や演算を行って補正を行う。
(Correction a): Defect information (address and level of defective pixels) is recorded in the recording unit in advance under shooting conditions that cause the influence of FPN. And every time it image | photographs, defect information is read from a memory | storage part and it correct | amends with respect to a picked-up image.
(Correction b): The pixel output of the defective pixel is corrected by comparing or calculating the pixel output with the surrounding pixels.

特開2010−118963号公報JP 2010-118963 A 特開2012−100215号公報JP 2012-100215 A

前述のケース1の方法では、欠陥補正は行えるものの、2枚の画像を減算することによりランダムノイズを増加させてしまい、FPN以外の原因によって画質劣化が起きてしまう。この増加したランダムノイズを補正するためにノイズリダクション処理を強めると、解像度が劣化してしまう。   In the case 1 method described above, defect correction can be performed, but random noise is increased by subtracting two images, and image quality deterioration occurs due to causes other than FPN. If the noise reduction process is strengthened to correct this increased random noise, the resolution will deteriorate.

また、ケース2の方法における補正aでは、撮影条件(外部温度、ISO感度、露光時間)が変わると、欠陥情報も異なるため、記憶部には、撮影条件ごとに欠陥情報を記録しておかなければならず、記憶部のメモリ容量が多大となってしまう。例えば、常温環境化で数秒露光すると、全画素に対して2%ぐらいが欠陥となる場合は、20M相当の画素数を持つ撮像素子では1条件について4万個の欠陥登録が必要となる。この場合、メモリ登録数はISO感度や温度、露光秒時などパラメータ数×4万個となり、記憶部の回路規模が膨大となる。   Further, in the correction a in the method of Case 2, since the defect information is different when the photographing condition (external temperature, ISO sensitivity, exposure time) is changed, the defect information must be recorded for each photographing condition in the storage unit. In other words, the memory capacity of the storage unit becomes enormous. For example, if exposure is performed for several seconds in a room temperature environment and about 2% of all pixels are defective, an image sensor having a number of pixels equivalent to 20M requires 40,000 defect registrations for one condition. In this case, the number of registered memories is the number of parameters × 40,000 such as ISO sensitivity, temperature, exposure time, etc., and the circuit scale of the storage unit becomes enormous.

また、ケース2の方法における補正bでは、画像の中には主要被写体も入り込んでいるために欠陥検出精度が落ち、星などの小さい輝点を間違って補正してしまう事がある。   In the correction b in the case 2 method, the main subject is also included in the image, so that the defect detection accuracy is lowered, and small bright spots such as stars may be corrected by mistake.

本発明は、このような事情を鑑みてなされたものであり、ノイズ除去処理に伴う、記憶部を含めた補正回路を大規模となることなく、またノイズ除去処理において誤補正を防止するようにした撮像装置および撮像方法を提供することを目的とする。   The present invention has been made in view of such circumstances, so that the correction circuit including the storage unit involved in the noise removal process does not become large-scale, and erroneous correction is prevented in the noise removal process. An object of the present invention is to provide an imaging apparatus and an imaging method.

上記目的を達成するため第1の発明に係る撮像装置は、撮像面に複数の画素を有し、被写体像を光電変換して画像データを生成する撮像素子と、上記撮像素子に上記被写体像を結像させる撮影光学系と、上記撮像素子に上記被写体像の結像を遮断する露光遮断制御部と、上記撮影光学系によって上記被写体像が上記撮像素子上に結像した状態で露光開始から露光終了までの通常露光を制御し、また上記露光遮断制御部によって上記被写体像の結像が遮断された状態で、露光開始から露光終了までの遮光露光を制御する露光制御部と、上記遮光露光を行った後に上記撮像素子によって生成された遮光画像データに基づいて、ノイズ抽出を行うノイズ抽出部と、上記ノイズ抽出部によるノイズの抽出結果に基づいて、上記通常露光を行った後に上記撮像素子によって生成された通常露光画像データに対して、ノイズ補正を行うノイズ補正部と、を具備する。   In order to achieve the above object, an image pickup apparatus according to a first invention has a plurality of pixels on an image pickup surface, photoelectrically converts an object image to generate image data, and the object image is applied to the image pickup element. An imaging optical system that forms an image, an exposure blocking control unit that blocks the imaging of the subject image on the imaging device, and exposure from the start of exposure in a state where the subject image is formed on the imaging device by the imaging optical system An exposure controller that controls light exposure from the start of exposure to the end of exposure in a state in which the normal exposure until the end is controlled and the image formation of the subject image is blocked by the exposure block controller; After performing the normal exposure based on the noise extraction unit that performs noise extraction based on the light-shielded image data generated by the image sensor and the noise extraction result by the noise extraction unit. The normal exposure image data generated by the imaging device comprises a noise correction unit that performs noise correction, a.

第2の発明に係る撮像装置は、上記第1の発明において、上記ノイズ抽出部は、上記遮光画像データの画素と、該画素の周囲の画素の各値の中間値を算出し、この中間値と閾値の比較に基づいて、欠陥画素の位置を求める。
第3の発明に係る撮像装置は、上記第2の発明において、上記ノイズ補正部は、上記欠陥画素の位置の画素値を周囲の画素の画素値を用いて、補間演算によって補正する。
In the imaging device according to a second aspect based on the first aspect, the noise extraction unit calculates an intermediate value between each value of the pixel of the light-shielded image data and a pixel surrounding the pixel, and the intermediate value The position of the defective pixel is obtained based on the comparison between the threshold value and the threshold value.
In the imaging device according to a third aspect, in the second aspect, the noise correction unit corrects the pixel value at the position of the defective pixel by interpolation calculation using the pixel values of surrounding pixels.

第4の発明に係る撮像装置は、上記第1の発明において、上記撮像素子は、常時遮光されている複数の画素で構成されている画素領域であるオプティカルブラック画素領域をさらに有しており、上記ノイズ抽出部は、上記オプティカルブラック画素領域における画素出力の代表値と、上記遮光画像データの画素をブロック毎に最大値と最小値の差分値を算出し、上記差分値と閾値の比較に基づいて、上記撮像素子の撮像面の中心領域からの距離に応じて、上記遮光画像データにおける画素出力の変化であるシェーディング成分、または、上記遮光画像データの画素出力と、上記オプティカルブラック画素領域における画素出力の代表値との差であるオプティカルブラック段差成分を求める。
第5の発明に係る撮像装置は、上記第4の発明において、上記ノイズ補正部は、上記通常露光画像データの画素値から、上記シェーディング成分またはオプティカルブラック段差成分を減算することによって、ノイズ補正を行う。
According to a fourth aspect of the present invention, in the first aspect, the imaging device further includes an optical black pixel region that is a pixel region composed of a plurality of pixels that are constantly shielded from light. The noise extraction unit calculates a difference value between a maximum value and a minimum value for each block of a pixel output representative value in the optical black pixel region and a pixel of the light-shielded image data, and based on a comparison between the difference value and a threshold value. Then, depending on the distance from the center area of the imaging surface of the imaging element, the shading component, which is a change in pixel output in the light-shielded image data, or the pixel output of the light-shielded image data, and the pixels in the optical black pixel area An optical black level difference component that is a difference from the representative output value is obtained.
In the imaging device according to a fifth aspect based on the fourth aspect, the noise correction unit performs noise correction by subtracting the shading component or the optical black step component from the pixel value of the normal exposure image data. Do.

第6の発明に係る撮像装置は、上記第3または第5の発明において、上記ノイズ補正部における補正量は、通常露光時または遮光露光時におけるISO感度、露光時間、および温度の少なくとも1つの条件に応じて変更する。
第7の発明に係る撮像装置は、上記第3または第5の発明において、上記ノイズ補正部における補正量は、ISO感度、露光時間、および温度の少なくとも1つの条件を、複数枚通常露光した際の各露光時に異ならせる。
In the imaging device according to a sixth aspect of the present invention, in the third or fifth aspect, the correction amount in the noise correction unit is at least one of the conditions of ISO sensitivity, exposure time, and temperature during normal exposure or light-shielding exposure. Change according to.
In the imaging device according to a seventh aspect of the present invention, in the third or fifth aspect of the invention, the correction amount in the noise correction unit is obtained when a plurality of sheets are normally exposed under at least one of the conditions of ISO sensitivity, exposure time, and temperature. Different at each exposure.

第8の発明に係る撮像装置は、上記第1の発明において、上記露光制御部は、上記遮光露光を行う際の露光時間は、上記通常露光を行う際の露光時間に依存しない。
第9の発明に係る撮像装置は、上記第1の発明において、上記露光制御部は、上記遮光露光の際の撮影条件を、通常露光撮影時の撮影条件、または外部操作によって設定された撮影条件、または複数枚露光時の撮影枚数に応じて、決める。
In the imaging apparatus according to an eighth aspect based on the first aspect, the exposure control unit does not depend on an exposure time when performing the light-shielding exposure on an exposure time when performing the normal exposure.
In the imaging apparatus according to a ninth aspect based on the first aspect, the exposure control unit sets the photographing condition at the time of the light shielding exposure, the photographing condition at the time of normal exposure photographing, or the photographing condition set by an external operation. Or, it is determined according to the number of shots at the time of multiple exposure.

第10の発明に係る撮像装置は、上記第1の発明において、さらに、ノイズ抽出部によるノイズ抽出結果に基づいて、追加の遮光撮影を行うか否かを判断する追加遮光撮影判断部を有し、上記追加遮光撮影判断部の判断の結果、追加の遮光撮影を行った場合には、該追加の遮光撮影によって取得した遮光画像データに対してノイズ抽出を行い、上記ノイズ補正を行う。   The image pickup apparatus according to a tenth aspect of the present invention is the image pickup apparatus according to the first aspect, further comprising an additional light-shielding photographing determination unit that determines whether or not to perform additional light-shielding photographing based on a noise extraction result by the noise extraction unit. As a result of the determination by the additional light shielding photographing determination unit, when additional light shielding photographing is performed, noise extraction is performed on the light shielding image data acquired by the additional light shielding photographing, and the noise correction is performed.

第11の発明に係る撮像方法は、被写体像を光電変換して画像データを生成する撮像素子と、上記撮像素子に上記被写体像を結像させる撮影光学系と、上記撮像素子に上記被写体像の結像を遮断する露光遮断制御部と、を有する撮像装置の撮像方法において、上記撮影光学系によって上記被写体像が上記撮像素子上に結像した状態で露光開始から露光終了までの通常露光を制御し、また上記露光遮断制御部によって上記被写体像の結像が遮断された状態で、露光開始から露光終了までの遮光露光を制御し、上記遮光露光を行った後に上記撮像素子によって生成された遮光画像データに基づいて、ノイズ抽出を行い、上記ノイズの抽出結果に基づいて、上記通常露光を行った後に上記撮像素子によって生成された通常露光画像データに対して、ノイズ補正を行う。   An image pickup method according to an eleventh aspect of the invention is an image pickup device that photoelectrically converts a subject image to generate image data, a photographing optical system that forms the subject image on the image pickup device, and an image pickup device that captures the subject image on the image pickup device. And an exposure block control unit that blocks image formation, and controls normal exposure from the start of exposure to the end of exposure in a state where the subject image is formed on the image sensor by the imaging optical system. In addition, in the state where the image formation of the subject image is blocked by the exposure blocking control unit, the light blocking exposure from the start of exposure to the end of exposure is controlled, and the light blocking generated by the image sensor after the light blocking exposure is performed. Based on the image data, noise extraction is performed, and based on the noise extraction result, the normal exposure image data generated by the image sensor after the normal exposure is performed, Perform the size correction.

本発明によれば、ノイズ除去処理に伴う、記憶部を含めた補正回路を大規模となることなく、またノイズ除去処理において誤補正を防止するようにした撮像装置および撮像方法を提供することができる。   According to the present invention, it is possible to provide an image pickup apparatus and an image pickup method capable of preventing erroneous correction in a noise removal process without increasing the scale of a correction circuit including a storage unit associated with the noise removal process. it can.

本発明の第1実施形態に係る撮像装置の主として電気的構成を示すブロック図である。1 is a block diagram mainly showing an electrical configuration of an imaging apparatus according to a first embodiment of the present invention. 本発明の第1実施形態に係る撮像装置のメイン動作を示すフローチャートである。3 is a flowchart illustrating a main operation of the imaging apparatus according to the first embodiment of the present invention. 本発明の第1実施形態に係る撮像装置のノイズ検出処理の動作を示すフローチャートである。3 is a flowchart illustrating an operation of noise detection processing of the imaging apparatus according to the first embodiment of the present invention. 本発明の第1実施形態に係る撮像装置のノイズ補正処理の動作を示すフローチャートである。3 is a flowchart showing an operation of noise correction processing of the imaging apparatus according to the first embodiment of the present invention. 本発明の第1実施形態における撮像装置において、フィルタ処理を説明するための図である。It is a figure for demonstrating a filter process in the imaging device in 1st Embodiment of this invention. 本発明の第1実施形態における撮像装置において、画像データの差分を求めることによりノイズ補正を行うことを説明する図である。It is a figure explaining performing noise correction by calculating | requiring the difference of image data in the imaging device in 1st Embodiment of this invention. 本発明の第1実施形態における撮像装置において、遮光フィルタ処理の際の画像ブロック平均処理を説明する図である。It is a figure explaining the image block average process in the case of the light shielding filter process in the imaging device in 1st Embodiment of this invention. 本発明の第1実施形態における撮像装置において、欠陥画素の補正例を説明する図である。It is a figure explaining the example of correction of a defective pixel in the imaging device in a 1st embodiment of the present invention. 本発明の第1実施形態における撮像装置において、ブロックオフセットの補正例を説明する図である。It is a figure explaining the correction example of a block offset in the imaging device in 1st Embodiment of this invention. 本発明の第2実施形態に係る撮像装置の主として電気的構成を示すブロック図である。It is a block diagram which mainly shows the electric constitution of the imaging device which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係る撮像装置のメイン動作を示すフローチャートである。It is a flowchart which shows the main operation | movement of the imaging device which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係る撮像装置の遮光撮影条件算出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the light-shielding imaging condition calculation process of the imaging device which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係る撮像装置において、暗時条件設定のメニュー画面の例を示す図である。It is a figure which shows the example of the menu screen of dark condition setting in the imaging device which concerns on 2nd Embodiment of this invention. 本発明の第3実施形態に係る撮像装置のメイン動作を示すフローチャートである。It is a flowchart which shows the main operation | movement of the imaging device which concerns on 3rd Embodiment of this invention. 本発明の第3実施形態に係る撮像装置のメイン動作を示すフローチャートである。It is a flowchart which shows the main operation | movement of the imaging device which concerns on 3rd Embodiment of this invention. 本発明の第3実施形態に係る撮像装置の追加遮光撮影条件判断処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the additional light-shielding imaging condition judgment process of the imaging device which concerns on 3rd Embodiment of this invention. 本発明の第3実施形態に係る撮像装置において、ブロックオフセット補正係数算出を説明するグラフである。It is a graph explaining block offset correction coefficient calculation in the imaging device concerning a 3rd embodiment of the present invention.

以下、本発明の一実施形態に係る撮像装置としてデジタルカメラに適用した例について説明する。この撮像装置は、撮像部を有し、この撮像部によって被写体像を画像データに変換し、この変換された画像データに基づいて、被写体像を本体の背面に配置した表示部にライブビュー表示する。撮影者はライブビュー表示を観察することにより、構図やシャッタタイミングを決定する。レリーズ操作時には、画像データが記録媒体に記録される。記録媒体に記録された画像データは、再生モードを選択すると、表示部に再生表示することができる。   Hereinafter, an example applied to a digital camera as an imaging apparatus according to an embodiment of the present invention will be described. The imaging apparatus includes an imaging unit, and converts the subject image into image data by the imaging unit, and displays the subject image on a display unit disposed on the back of the main body based on the converted image data. . The photographer determines the composition and shutter timing by observing the live view display. During the release operation, image data is recorded on the recording medium. The image data recorded on the recording medium can be reproduced and displayed on the display unit when the reproduction mode is selected.

また、この撮像装置は、バルブ撮影等の長秒時露光撮影の際には、所定時間間隔で露光を繰り返し行い、この露光によって取得した複数の撮影画像データを用いて、画像データに発生したノイズを低減するように補正処理を行う。   In addition, in the case of long-time exposure photography such as bulb photography, this imaging apparatus repeatedly performs exposure at predetermined time intervals, and noise generated in the image data using a plurality of photographed image data acquired by this exposure. Correction processing is performed so as to reduce.

まず、図1ないし図9を用いて本発明の第1実施形態について説明する。本実施形態においては、通常露光撮影と所定の露光時間で遮光撮影を行い遮光画像からノイズ抽出(欠陥画素成分と通常画素の分離等)を行う。次に、通常露光や遮光の撮影条件とノイズ抽出した演算結果から通常露光撮影画像のノイズ補正を行う。   First, a first embodiment of the present invention will be described with reference to FIGS. In the present embodiment, the normal exposure photographing and the light shielding photographing are performed with a predetermined exposure time, and noise extraction (separation of defective pixel components and normal pixels) is performed from the light shielding image. Next, noise correction of the normal exposure photographed image is performed based on the normal exposure and shading photographing conditions and the calculation result obtained by extracting the noise.

図1は、本実施形態に係る撮像装置1の主として電気的構成を示すブロック図である。撮像装置1は、撮像部2、内部メモリ3、画像処理部4、外部メモリ5、表示部6、入力部7、システム制御部8、バス9、温度検出部10を有している。撮像部2は、撮影レンズ2a、絞り2b、シャッタ2c、撮像素子2dを有する。なお、撮像部2内の撮影光学系2aおよび絞り2bを含むレンズ鏡筒は、撮像装置本体と一体に構成してもよく、また交換式レンズ鏡筒として構成してもよい。   FIG. 1 is a block diagram mainly showing an electrical configuration of the imaging apparatus 1 according to the present embodiment. The imaging device 1 includes an imaging unit 2, an internal memory 3, an image processing unit 4, an external memory 5, a display unit 6, an input unit 7, a system control unit 8, a bus 9, and a temperature detection unit 10. The imaging unit 2 includes a photographing lens 2a, a diaphragm 2b, a shutter 2c, and an imaging element 2d. Note that the lens barrel including the imaging optical system 2a and the aperture stop 2b in the imaging unit 2 may be configured integrally with the imaging apparatus main body, or may be configured as an interchangeable lens barrel.

撮影光学系2aは、ズームレンズやフォーカスレンズ等の複数の光学レンズを含み、被写体の光学像を撮像素子2dの撮像面に結像させる。ズームレンズやフォーカスレンズを光軸方向に沿って移動させる駆動機構を有し、後述するシステム制御部8の出力に基づいてフォーカスレンズ位置を制御してピント調節を行う。撮影光学系2aは、撮像素子に上記被写体像を結像させる撮影光学系として機能する。   The imaging optical system 2a includes a plurality of optical lenses such as a zoom lens and a focus lens, and forms an optical image of a subject on the imaging surface of the imaging element 2d. It has a drive mechanism that moves the zoom lens and the focus lens along the optical axis direction, and performs focus adjustment by controlling the position of the focus lens based on the output of the system control unit 8 described later. The photographing optical system 2a functions as a photographing optical system that forms the subject image on the image sensor.

絞り2bは、撮影光学系2aの光路中に配置され、開閉自在に構成され、撮像素子7に入射する撮影光束の光量を調整するために、開口径が変化する。絞り2bの開口径はシステム制御部8によって制御される。すなわち、システム制御部8は、撮像素子2dからの画像データに基づいて被写体輝度を算出し、適正露光となるように絞り値を自動制御する。または、撮影者が手動設定した絞り値となるように制御する。   The diaphragm 2b is disposed in the optical path of the photographic optical system 2a and is configured to be openable and closable. The aperture diameter changes in order to adjust the amount of photographic light flux incident on the image sensor 7. The aperture diameter of the diaphragm 2b is controlled by the system control unit 8. That is, the system control unit 8 calculates subject brightness based on the image data from the image sensor 2d, and automatically controls the aperture value so as to achieve proper exposure. Alternatively, the aperture value is manually set by the photographer.

シャッタ2cは、撮影光学系2aの光路中に配置され、撮像素子2dの撮像面を遮光状態または露光状態に切り替えるように構成されている。このシャッタ2cにより、撮像素子2dの露光時間が調整される。シャッタ2cの開口時間(露光時間、シャッタ速度)は、システム制御部8によって制御される。すなわち、システム制御部8は、撮像素子2dからの画像データに基づいて被写体輝度を算出し、適正露光となるように露光時間を自動制御する。または、撮影者が手動設定した露光時間となるように制御する。さらに、後述するように、遮光撮影の際には、シャッタ2cは遮光状態となるように制御される。シャッタ2cは、撮像素子に被写体像の結像を遮断する露光遮断制御部として機能する。   The shutter 2c is disposed in the optical path of the photographic optical system 2a, and is configured to switch the imaging surface of the imaging element 2d to a light shielding state or an exposure state. The exposure time of the image sensor 2d is adjusted by the shutter 2c. The opening time (exposure time, shutter speed) of the shutter 2c is controlled by the system control unit 8. That is, the system control unit 8 calculates the subject brightness based on the image data from the image sensor 2d, and automatically controls the exposure time so as to achieve proper exposure. Alternatively, the exposure time is manually set by the photographer. Further, as will be described later, the shutter 2c is controlled so as to be in a light-shielding state during light-shielding photographing. The shutter 2c functions as an exposure blocking control unit that blocks the imaging of the subject image on the image sensor.

撮像素子2dは、撮影光学系2aによって集光された被写体からの撮影光束が結像される撮像面を有している。撮像素子2dの撮像面には、複数の画素が二次元状に配置され、また入射面側にカラーフィルタが設けられている。撮像素子2dの各画素は、撮像面に結像された撮影光束に対応した光像(被写体像)を、その光量に応じたアナログ画像信号に変換する。このアナログ画像信号は、A/D変換器(不図示)によってデジタル信号(アナログ画像に信号に対応したデジタル信号を、単に「画像データ」と称する)に変換され、バス9に出力される。撮像素子2dは、被写体像を光電変換して画像データを生成する撮像素子として機能する。   The imaging element 2d has an imaging surface on which an imaging light beam from the subject condensed by the imaging optical system 2a is imaged. A plurality of pixels are two-dimensionally arranged on the imaging surface of the imaging device 2d, and a color filter is provided on the incident surface side. Each pixel of the image pickup device 2d converts a light image (subject image) corresponding to a photographing light beam formed on the image pickup surface into an analog image signal corresponding to the light amount. The analog image signal is converted into a digital signal (a digital signal corresponding to the analog image is simply referred to as “image data”) by an A / D converter (not shown), and is output to the bus 9. The image sensor 2d functions as an image sensor that photoelectrically converts a subject image to generate image data.

バス9は、各種データや制御信号等を送受信するためのバスラインである。このバスラインに、内部メモリ3、画像処理部4、外部メモリ5、表示部6、入力部7、システム制御部8、温度検出部10が接続されている。   The bus 9 is a bus line for transmitting and receiving various data and control signals. An internal memory 3, an image processing unit 4, an external memory 5, a display unit 6, an input unit 7, a system control unit 8, and a temperature detection unit 10 are connected to the bus line.

内部メモリ3は、フラッシュメモリ等の不揮発性メモリやDRAM(Dynamic Random Access Memory)等の揮発性メモリによって構成される。内部メモリ3は、カメラ動作に必要な各種設定情報や、画像処理時に途中経過の画像を一時的に記憶する。   The internal memory 3 is configured by a non-volatile memory such as a flash memory or a volatile memory such as a DRAM (Dynamic Random Access Memory). The internal memory 3 temporarily stores various setting information necessary for camera operation and an intermediate image during image processing.

画像処理部4は、撮像素子2dから読み出された画像データに対して、所望の画像処理を施す。画像処理部4は、ノイズ算出処理部4a、ノイズ補正処理部4b、画像現像処理部4cを有する。   The image processing unit 4 performs desired image processing on the image data read from the image sensor 2d. The image processing unit 4 includes a noise calculation processing unit 4a, a noise correction processing unit 4b, and an image development processing unit 4c.

ノイズ算出処理部4aは、撮像素子2dから読み出された画像データまたは内部メモリ3に保存された遮光画像データを用いてノイズ量を算出する。ノイズ算出処理部4aは、遮光露光を行った後に撮像素子によって生成された遮光画像データに基づいて、ノイズ抽出を行うノイズ抽出部として機能する。ノイズ補正処理部4bは、通常露光撮影した画像データに対し、前述算出したノイズ量を元に補正量を算出し、補正を行う。ノイズ補正部4bは、ノイズ抽出部によるノイズの抽出結果に基づいて、通常露光を行った後に撮像素子によって生成された通常露光画像データに対して、ノイズ補正を行うノイズ補正部として機能する。画像現像処理部4cは、ノイズ補正した画像データに露出補正やWBゲイン補正、輪郭強調、偽色補正等の様々な画像処理を施す現像処理を行う。   The noise calculation processing unit 4a calculates the amount of noise using the image data read from the image sensor 2d or the light-shielded image data stored in the internal memory 3. The noise calculation processing unit 4a functions as a noise extraction unit that performs noise extraction based on the light-shielded image data generated by the image sensor after the light-shielding exposure. The noise correction processing unit 4b calculates a correction amount based on the noise amount calculated above and corrects the image data that has been captured with normal exposure. The noise correction unit 4b functions as a noise correction unit that performs noise correction on the normal exposure image data generated by the image sensor after performing normal exposure based on the noise extraction result by the noise extraction unit. The image development processing unit 4c performs development processing for performing various image processing such as exposure correction, WB gain correction, contour enhancement, and false color correction on the image data subjected to noise correction.

画像処理部4は、本実施形態においては、各部位に対応する画像処理演算を行う演算回路で構成する専用の画像処理プロセッサを一例として挙げている。しかし、この構成に限らずに、例えば画像処理演算を画像処理プログラムに基づいて、DSP等の信号処理プロセッサに展開する構成であってもよい。   In the present embodiment, the image processing unit 4 exemplifies a dedicated image processing processor configured by an arithmetic circuit that performs image processing calculation corresponding to each part. However, the present invention is not limited to this configuration, and for example, a configuration may be employed in which image processing calculation is developed on a signal processor such as a DSP based on an image processing program.

外部メモリ5は、SDカード、CFカード等、電気的に書き換え可能な不揮発性メモリであり、撮像装置1に対して挿脱自在である。この外部メモリ5は、画像現像処理部4cで現像処理された画像データを記録し、また外部メモリ5から記録済みの画像データの読み出しが可能である。   The external memory 5 is an electrically rewritable nonvolatile memory such as an SD card or a CF card, and is detachable with respect to the imaging apparatus 1. The external memory 5 records the image data developed by the image development processing unit 4 c and can read the recorded image data from the external memory 5.

表示部6は、撮像装置1の背面に配置されたLCD、または撮像装置1内に内蔵され接眼部を介して観察可能なEVF(電子ビューファインダ)であり、画像現像処理部4cで現像された画像を表示する。   The display unit 6 is an LCD arranged on the back surface of the imaging device 1 or an EVF (electronic viewfinder) built in the imaging device 1 and observable through an eyepiece, and is developed by the image development processing unit 4c. Display the image.

入力部7は、撮影者の操作に基づいて各種の動作モード設定やレリーズ等の撮影動作の指示を行う釦やタッチパネル等の操作部材を有し、これらの操作部材の操作状態を検出して、バス9を介してシステム制御部8へ出力する。また、レリーズ釦を操作すると、露光動作が開始される。   The input unit 7 has operation members such as buttons and a touch panel for instructing photographing operations such as various operation mode settings and release based on the operation of the photographer, and detects the operation state of these operation members, The data is output to the system control unit 8 via the bus 9. When the release button is operated, an exposure operation is started.

システム制御部8は、CPU(Central Processing Unit)およびその周辺回路を含み、内部メモリ3に記憶されたプログラムに従って、撮像装置1内の各部を統括的に制御する。具体的な制御としては、撮影時に露光量を制御し、撮像タイミングを制御し、撮像制御部としての機能を有する。また、撮像素子2dからの画像データの出力等におけるA/D変換制御も行う。   The system control unit 8 includes a CPU (Central Processing Unit) and its peripheral circuits, and comprehensively controls each unit in the imaging apparatus 1 according to a program stored in the internal memory 3. Specifically, the exposure amount is controlled at the time of shooting, the imaging timing is controlled, and the imaging controller has a function as an imaging control unit. In addition, A / D conversion control is also performed in outputting image data from the image sensor 2d.

さらに、システム制御部8は、画像データに基づいて撮影光学系2aが合焦位置に到達するように撮影光学系2aの駆動機構に対して合焦駆動制御を行う。また、絞り2bが所定の開口径となるように絞り駆動機構に対して絞り駆動制御を行う。また、シャッタ2cの露光時間や、遮光動作等の駆動制御を行う。システム制御部8は、撮影光学系によって被写体像が撮像素子上に結像した状態で、露光開始から露光終了までの通常露光を制御する。また、露光遮断制御部によって被写体像の結像が遮断された状態で、露光開始から露光終了までの遮光露光を制御する露光制御部として機能する。   Further, the system control unit 8 performs focus drive control on the drive mechanism of the photographic optical system 2a so that the photographic optical system 2a reaches the in-focus position based on the image data. Further, the diaphragm drive mechanism is controlled so that the diaphragm 2b has a predetermined opening diameter. Further, drive control such as exposure time of the shutter 2c and light shielding operation is performed. The system control unit 8 controls normal exposure from the start of exposure to the end of exposure in a state where the subject image is formed on the image sensor by the photographing optical system. Also, it functions as an exposure control unit that controls light-blocking exposure from the start of exposure to the end of exposure in a state where the subject image formation is blocked by the exposure block control unit.

温度検出部10は、撮像素子2dの近傍に配置され、撮像素子2dの温度を検出し、検出結果をバス9を介して、システム制御部8に出力する。システム制御部8は、後述するように、温度検出部10で検出された温度に応じて、画像処理部4で行うノイズ補正処理を制御する。   The temperature detection unit 10 is disposed in the vicinity of the image sensor 2d, detects the temperature of the image sensor 2d, and outputs the detection result to the system control unit 8 via the bus 9. As will be described later, the system control unit 8 controls noise correction processing performed by the image processing unit 4 in accordance with the temperature detected by the temperature detection unit 10.

次に、撮像装置1の動作の概要について説明する。撮像装置1における撮影動作は以下の通りである。入力部7を介して撮影者から本撮影の指示を受けると、システム制御部8は撮像素子2dに対して露出開始、信号読み出しなどのタイミング制御を行う撮像制御動作を行う。また、絞り2bに対して、所定の入射光束となるよう絞り開口量の制御や、適正露光となるように、シャッタ2cにおける露光時間の算出を行う自動露出制御(AE制御)や、所定被写体に対してピントが合焦するように、撮影光学系2aのフォーカスレンズを移動させるオートフォーカス制御(AF制御)を行う。   Next, an outline of the operation of the imaging apparatus 1 will be described. The shooting operation in the imaging apparatus 1 is as follows. When receiving a main shooting instruction from the photographer via the input unit 7, the system control unit 8 performs an imaging control operation for performing timing control such as exposure start and signal readout on the image sensor 2d. Further, with respect to the stop 2b, control of the aperture of the stop so as to obtain a predetermined incident light flux, automatic exposure control (AE control) for calculating an exposure time in the shutter 2c so as to achieve proper exposure, On the other hand, autofocus control (AF control) is performed to move the focus lens of the photographing optical system 2a so that the focus is in focus.

さらに、システム制御部8は、算出された露出時間となるように、シャッタ2cの開閉駆動を行う。シャッタ2cが開いている間、撮像素子2dには、光学像を光電変換した電気信号が生成される。露出時間の終了後に、撮像素子2dに対して画像信号の読み出し動作を行う。   Furthermore, the system control unit 8 opens and closes the shutter 2c so that the calculated exposure time is reached. While the shutter 2c is open, an electrical signal obtained by photoelectrically converting the optical image is generated in the image sensor 2d. After the exposure time ends, an image signal read operation is performed on the image sensor 2d.

撮像素子2dから読み出され、AD変換された画像データは、内部メモリ3に一時保存される。内部メモリ3から読み出した画像データは、画像処理部4で所望の画像処理が施された後、現像処理が行われ、外部メモリ5に記録される。また、画像処理部4で所定の画像処理が施された画像データは、表示部6で表示出力する際に必要な画像サイズにリサイズ処理された後に表示部6に表示される。   Image data read from the image sensor 2 d and subjected to AD conversion is temporarily stored in the internal memory 3. The image data read from the internal memory 3 is subjected to desired image processing by the image processing unit 4, developed, and recorded in the external memory 5. The image data that has been subjected to the predetermined image processing by the image processing unit 4 is displayed on the display unit 6 after being resized to an image size necessary for display output on the display unit 6.

次に、図2ないし図4に示すフローチャートを用いて、本実施形態における動作について説明する。システム制御部8内のCPUが内部メモリ3に記憶されたプログラムに従って実行することによって、このフローチャートによる動作が実現される。   Next, the operation in this embodiment will be described with reference to the flowcharts shown in FIGS. When the CPU in the system control unit 8 is executed according to a program stored in the internal memory 3, the operation according to this flowchart is realized.

図2に示すフローは、被写体撮影のために、撮影準備している段階を初期状態として説明する。初期状態においては、1枚撮影のみならず、HDR(High Dynamic Range Imaging:ハイダイナミックレンジ合成)や超解像撮影など、複数枚の画像を合成する複数枚合成撮影の設定も可能である。複数枚合成撮影モードの設定は、入力部7のメニュー釦等によって行う。   The flow shown in FIG. 2 will be described assuming that the stage of shooting preparation for subject shooting is an initial state. In the initial state, it is possible to set not only single-image shooting but also multiple-image combination shooting that combines a plurality of images such as HDR (High Dynamic Range Imaging) and super-resolution shooting. The setting of the multiple-image composite shooting mode is performed by a menu button or the like of the input unit 7.

図2に示すフローが開始すると、まず、露光準備を行う(S1)。撮影者が入力部7のレリーズ釦を操作すると、露光準備を行う。露光準備動作としては、システム制御部8は、AF制御とAE制御を行う。AF制御としては、撮影光学系2aを通して撮像素子2dの撮像面に入光する被写体像に基づいて生成されるライブビュー表示用の画像データに基づいてピント情報を取得し、このピント情報に基づいて、フォーカスレンズの位置を合焦位置に駆動制御する。   When the flow shown in FIG. 2 is started, exposure preparation is first performed (S1). When the photographer operates the release button of the input unit 7, preparation for exposure is performed. As the exposure preparation operation, the system control unit 8 performs AF control and AE control. As the AF control, focus information is acquired based on image data for live view display generated based on a subject image that enters the imaging surface of the image sensor 2d through the imaging optical system 2a, and based on the focus information. Then, drive control of the position of the focus lens to the in-focus position is performed.

また、AE制御としては、上述のライブビュー表示用の画像データに基づいて被写体輝度情報を取得し、この取得した輝度情報に基づいて、絞り2bの絞り機構に設定する絞り値と、シャッタ2cに設定する露出時間を算出する。そして、算出された絞り値となるように開口絞り位置の駆動制御を行う。なお、シャッタ2cによる露出時間は、AE制御によって自動的に設定する他に、撮影者が入力部7を介して手動設定することも可能である。   As AE control, subject luminance information is acquired based on the above-described image data for live view display, and based on the acquired luminance information, an aperture value set in the aperture mechanism of the aperture 2b, and a shutter 2c. Calculate the exposure time to be set. Then, drive control of the aperture stop position is performed so that the calculated aperture value is obtained. The exposure time by the shutter 2c can be set manually by the photographer via the input unit 7 in addition to being automatically set by AE control.

露光準備におけるAE制御およびAF制御が終了すると、次に、露光撮影を開始する(S3)。ここでは、システム制御部8は、撮像素子2dに蓄積された電荷を一度リセットするように制御し、シャッタ2cを開口させる。シャッタ2cが開口すると、撮影光学系2aに形成された被写体像が撮像素子2dの撮像面上に入射する。そして、撮像素子2dは、リセットを解除する制御を行い、入射された被写体の輝度に応じて光電変換される電荷の蓄積を開始する。   When the AE control and the AF control in the exposure preparation are completed, exposure shooting is started (S3). Here, the system control unit 8 controls to reset the charge accumulated in the image sensor 2d once, and opens the shutter 2c. When the shutter 2c is opened, the subject image formed on the photographing optical system 2a is incident on the imaging surface of the imaging element 2d. Then, the image sensor 2d performs control to cancel the reset, and starts accumulating charges that are photoelectrically converted according to the luminance of the incident subject.

露光撮影を開始すると、次に、設定された撮影時間に達したか否かを判定する(S5)。ここでは、ステップS1において算出された露出時間が経過したか、または長秒時露光中に撮影者がレリーズ釦等を操作することによって露光終了が指示されたか否かを判定する。この判定の結果がNoの場合には、再度、ステップS5に戻り、この判定を繰り返す。   Once exposure shooting is started, it is next determined whether or not the set shooting time has been reached (S5). Here, it is determined whether or not the exposure time calculated in step S1 has elapsed, or whether or not the end of exposure has been instructed by the photographer operating the release button or the like during long time exposure. If the result of this determination is No, the process returns to step S5 again, and this determination is repeated.

ステップS5における判定の結果、設定された撮影時間に達した場合には、露光撮影を終了する(S7)。ここでは、システム制御部8は、シャッタ2cに遮光させるように制御を行う。   If the result of determination in step S5 is that the set shooting time has been reached, exposure shooting is terminated (S7). Here, the system control unit 8 performs control so that the shutter 2c blocks light.

露光撮影を終了すると、次に、露光画像データを取得する(S9)。ここでは、撮像素子2dから、今回の露光によって得られた露光画像データを取得する。この取得した露光画像データを内部メモリ3に格納する。この格納した画像データは、Bright_Image[n]とする。Bright_Image[n]は、露光して順次得られたn番目の露光画像データを意味し、n=1、2、・・・、であり、nの初期値は1である。   When the exposure shooting is finished, exposure image data is acquired (S9). Here, exposure image data obtained by the current exposure is acquired from the image sensor 2d. The acquired exposure image data is stored in the internal memory 3. This stored image data is Bright_Image [n]. Bright_Image [n] means n-th exposure image data sequentially obtained by exposure, n = 1, 2,..., And n has an initial value of 1.

露光画像データを取得すると、次に、露光撮影終了か否かを判定する(S11)。初期状態では、露光撮影モードが予め設定されており、この設定された露光撮影モードに従って撮影が終了か否かを判定する。例えば、複数枚の画像を取得しこの複数枚の画像を合成するHDRや超解像等の多重露出モードの場合には、設定された撮影枚数に達するまでは(ステップS11における判定結果がNo)、ステップS3に戻り、露光撮影を繰り返す。   Once the exposure image data has been acquired, it is next determined whether or not the exposure shooting has been completed (S11). In the initial state, an exposure shooting mode is set in advance, and it is determined whether or not shooting is finished according to the set exposure shooting mode. For example, in the case of multiple exposure modes such as HDR and super-resolution in which a plurality of images are acquired and the plurality of images are combined, the set number of shots is reached (the determination result in step S11 is No). Returning to step S3, exposure photographing is repeated.

一方、ステップS11における判定の結果、露光撮影が終了の場合には、ステップS13以下において、遮光状態において画像データを取得し、この画像データを用いてノイズ補正処理を行った後、合成のための画像処理を行う。   On the other hand, if the result of determination in step S11 is that exposure exposure has been completed, after step S13, image data is acquired in a light-shielded state, noise correction processing is performed using this image data, and then composition processing is performed. Perform image processing.

まず、遮光準備を行う(S13)。ここでは、システム制御部8は、シャッタ2cを遮光させるように制御する。また、遮光撮影に備えて、撮像素子2dの電荷を一度リセットするよう制御する。この遮光撮影における撮影時間としては、ステップS9で取得した画像データBright_Image[n]の各撮影条件(ISO感度、露光時間)の中で露光時間が最も長い時間を遮光撮影条件とする。   First, light shielding preparation is performed (S13). Here, the system control unit 8 performs control so that the shutter 2c is shielded from light. In preparation for light-shielding photography, control is performed to reset the charge of the image sensor 2d once. As the photographing time in the light-shielded photographing, the lightest photographing condition is set to the longest exposure time among the photographing conditions (ISO sensitivity, exposure time) of the image data Bright_Image [n] acquired in step S9.

遮光準備を行うと、次に、遮光撮影を開始する(S15)。撮像素子2dのリセットが解除されると、遮光撮影が開始する。シャッタ2cが遮光状態であることから、撮像素子2d上には被写体光は入射しておらず、この状態で、欠陥画素、ショットノイズ、暗電流等に起因して生成された電荷が蓄積される。   Once the light shielding preparation is made, the light shielding photographing is started (S15). When the reset of the image sensor 2d is released, light-shielding shooting starts. Since the shutter 2c is in a light-shielding state, no subject light is incident on the image pickup device 2d, and charges generated due to defective pixels, shot noise, dark current, and the like are accumulated in this state. .

遮光撮影を開始すると、設定された撮影時間に達したか否かを判定する(S17)。ここでは、ステップS13において、設定された遮光撮影時の撮影時間が経過したか否かに基づいて判定する。この判定の結果、遮光撮影時の撮影時間が経過していない場合には、この撮影時間が達するのを待つ。   When the shaded shooting is started, it is determined whether or not the set shooting time has been reached (S17). Here, in step S13, determination is made based on whether or not the set shooting time at the time of shading shooting has elapsed. If the result of this determination is that the shooting time during shaded shooting has not elapsed, the system waits for this shooting time to be reached.

ステップS17における判定の結果、設定された撮影時間に達すると、撮像素子より画像を読み出し、内部メモリに保存する(S19)。ここでは、撮像素子2dから、今回の露出による遮光画像データを取得し、この取得した遮光画像データを内部メモリ3に格納する。この格納された画像データは、画像データDark_Image[1]とする。Dark_Image[1]は、遮光して得られた画像データを意味する。   As a result of the determination in step S17, when the set shooting time is reached, the image is read from the image sensor and stored in the internal memory (S19). Here, the shaded image data obtained by the current exposure is acquired from the image sensor 2d, and the obtained shaded image data is stored in the internal memory 3. This stored image data is image data Dark_Image [1]. Dark_Image [1] means image data obtained by shading.

遮光画像データを読出しして内部メモリに格納すると、次に、ノイズ検出処理を行う(S21)。ここでは、ステップS19において、内部メモリ3に格納した遮光画像データを読出し、ノイズ検出処理部4aが遮光画像データを用いて、ノイズ検出処理を行う。ノイズ検出処理では、ノイズとして現われる欠陥画素の位置と、撮像面の領域に応じて、遮光時の画素出力の差が生じることによりシェーディングとして現われるブロックオフセットを検出する。このノイズ検出処理の詳しい動作については、図3を用いて後述する。   Once the shaded image data is read out and stored in the internal memory, next, noise detection processing is performed (S21). Here, in step S19, the light-shielded image data stored in the internal memory 3 is read, and the noise detection processing unit 4a performs noise detection processing using the light-shielded image data. In the noise detection process, a block offset that appears as shading is detected due to a difference in pixel output during light shielding according to the position of the defective pixel that appears as noise and the area of the imaging surface. Detailed operation of this noise detection processing will be described later with reference to FIG.

ノイズ検出処理を行うと、次に、ノイズ補正処理を行う(S33)。ここでは、露光画像データBright_Image[n]を内部メモリ3から読み出し、ノイズ補正処理部4bが、ノイズ検出処理の結果を用いて、ノイズの補正処理を行う。この補正処理を行った画像データを画像データRaw_Image[n]とする。このRaw_Image[n]は、露光して順次得られたn番目の露光画像データBright_Image[n]に対してノイズ補正処理を行った画像データを意味する。なお、n=1、2、3、・・・であり、初期値は1である。このノイズ補正処理の詳しい動作については、図4を用いて後述する。   Once the noise detection process is performed, next, a noise correction process is performed (S33). Here, the exposure image data Bright_Image [n] is read from the internal memory 3, and the noise correction processing unit 4b performs noise correction processing using the result of the noise detection processing. The image data that has undergone this correction processing is referred to as image data Raw_Image [n]. This Raw_Image [n] means image data obtained by performing noise correction processing on n-th exposure image data Bright_Image [n] sequentially obtained by exposure. Note that n = 1, 2, 3,..., And the initial value is 1. Detailed operation of this noise correction processing will be described later with reference to FIG.

ノイズ補正処理を行うと、画像現像処理を行う(S35)。ここでは、画像現像処理部4cが、ステップS33においてノイズ補正処理された画像データに対して現像処理を行う。また、HDRモードや超解像モードが設定されている場合には、複数枚の画像データを設定されているモードに従って画像合成を行う。   When the noise correction process is performed, an image development process is performed (S35). Here, the image development processing unit 4c performs development processing on the image data subjected to the noise correction processing in step S33. In addition, when the HDR mode or the super-resolution mode is set, image synthesis is performed according to the mode in which a plurality of pieces of image data are set.

画像現像処理を行うと、次に、画像データを外部メモリに保存する(S37)。ここでは、ステップS35において処理された画像データを、外部メモリ5に記録する。続いて、画像データを表示する(S39)。ここでは、外部メモリ5に記録する画像データに基づいて、所定時間の間、表示部6に表示する。HDRモードや超解像モードが設定されている場合には、これらのモードに従って合成された画像が表示される。ステップS39において、画像データに基づいて表示を行うと、図2に示す撮影のためのフローを終了する。   Once image development processing has been carried out, next, image data is stored in an external memory (S37). Here, the image data processed in step S35 is recorded in the external memory 5. Subsequently, image data is displayed (S39). Here, the image data is displayed on the display unit 6 for a predetermined time based on the image data recorded in the external memory 5. When the HDR mode or the super-resolution mode is set, an image synthesized according to these modes is displayed. When display is performed based on the image data in step S39, the flow for photographing shown in FIG.

このように、本実施形態における撮影のフローにおいては、複数枚の露光画像データを取得し(S3〜S11)、所定の枚数の画像を取得すると、遮光撮影を行って遮光画像データを取得し(S13〜S19)、この遮光画像データを用いてノイズ補正を行うようにしている(S21、S33)。   As described above, in the shooting flow in the present embodiment, a plurality of exposure image data is acquired (S3 to S11), and when a predetermined number of images are acquired, the light-shielded image data is acquired by performing the light-shielding shooting ( S13 to S19), noise correction is performed using the light-shielded image data (S21, S33).

次に、図3に示すフローチャートを用いて、ステップS21におけるノイズ検出処理について説明する。   Next, the noise detection process in step S21 is demonstrated using the flowchart shown in FIG.

ノイズ検出処理のフローに入ると、まず、遮光画像フィルタ処理を行う(S41)。ここでは、ステップS19で内部メモリ3に格納した遮光画像データDark_Image[1]を読み出し、フィルタ処理を行う。フィルタ処理としては、例えば、図5に示すように、欠陥などの画素毎の出力を平滑化する。この例では、メディアン処理によって平滑化を行う。具体的には、図中の星印の位置にある画素値に対して、図中のA〜Dおよび星印の位置の画素出力レベルの高い順に並べ、星印の位置の画素出力レベルを、中間値(この例では、3番目に高い値)の画素出力レベルに置き換える。ここで、画素配列はベイヤパターンであり、画素A〜Dは、星印の画素と同じカラーパターンのものである。星印を順次ずらしながら、全画素を中間値に置き換えていく。フィルタ処理を行った画像データを、Filter_Image[1]とする。   When the flow of the noise detection process is entered, first, a light shielding image filter process is performed (S41). Here, the shaded image data Dark_Image [1] stored in the internal memory 3 in step S19 is read out, and the filter process is performed. As the filter processing, for example, as shown in FIG. 5, the output for each pixel such as a defect is smoothed. In this example, smoothing is performed by median processing. Specifically, the pixel values at the star positions in the figure are arranged in descending order of the pixel output levels at A to D and the star positions in the figure, and the pixel output levels at the star positions are The pixel output level is replaced with an intermediate value (the third highest value in this example). Here, the pixel array is a Bayer pattern, and the pixels A to D have the same color pattern as the star-marked pixels. All the pixels are replaced with intermediate values while sequentially shifting the stars. The image data that has been subjected to the filter processing is defined as Filter_Image [1].

なお、図5に示す例では、メディアン処理を5画素で行っている。しかし、5画素に限らず、他の画素数でメディアン処理を行うようにしてもよい。また、平滑化処理としては、メディアン処理に限らず、他の平滑化処理でもよい。   In the example shown in FIG. 5, median processing is performed with five pixels. However, the median processing is not limited to five pixels, but may be performed with other numbers of pixels. Further, the smoothing process is not limited to the median process, and other smoothing processes may be used.

ステップS41において遮光画像フィルタ処理を行うと、次に、差分抽出処理を行う(S43)。ここでは、ステップS19において格納した遮光画像データDark_Image[1]と、ステップS41で得られた遮光フィルタ処理画像データFilter_Image[1]について、差分処理、即ち、Dark_Image[1]−Filter_Image[1]を演算する。この差分処理によって算出された画像データを、画像データSub_Image[1]とする。   If shading image filter processing is performed in step S41, next, difference extraction processing is performed (S43). Here, difference processing, that is, Dark_Image [1] −Filter_Image [1], is calculated for the shading image data Dark_Image [1] stored in step S19 and the shading filter processing image data Filter_Image [1] obtained in step S41. To do. The image data calculated by the difference process is set as image data Sub_Image [1].

図6に、ステップS43における差分処理を図示する。図6(a)は、ステップ15、17における遮光撮影において取得し、ステップS19において内部メモリ3に格納された遮光画像データDark_Image[1]の画素出力を示す。撮像素子2dには、欠陥画素があり、図6に示す例では、N1〜N4が欠陥画素の画素出力である。   FIG. 6 illustrates the difference process in step S43. FIG. 6A shows the pixel output of the shaded image data Dark_Image [1] acquired in the shaded shooting in steps 15 and 17 and stored in the internal memory 3 in step S19. The image sensor 2d has defective pixels, and in the example shown in FIG. 6, N1 to N4 are pixel outputs of defective pixels.

図6(b)は、ステップS41において遮光画像フィルタ処理が施された遮光フィルタ処理画像データFilter_Image[1]の画素出力を示す。フィルタ処理によって平滑化されたことにより図6(a)に示されるような欠陥画素の画素出力(N1〜N4)が消失している。   FIG. 6B shows a pixel output of the shading filter processed image data Filter_Image [1] that has been subjected to the shading image filter processing in step S41. As a result of smoothing by the filter processing, the pixel outputs (N1 to N4) of the defective pixels as shown in FIG.

図6(c)は、ステップS43において差分出力処理が施された画像データSub_Image[1]の画素出力を示す。Dark_Image[1]−Filter_Image[1]を演算することにより、欠陥画素の画素出力(N1〜N4)のみが値を有し、欠陥画素でない画素の出力は0または0に近い値となる。   FIG. 6C shows a pixel output of the image data Sub_Image [1] that has been subjected to the difference output process in step S43. By calculating Dark_Image [1] −Filter_Image [1], only the pixel output (N1 to N4) of the defective pixel has a value, and the output of the pixel that is not the defective pixel becomes 0 or a value close to 0.

ステップS43において差分抽出処理を行うと、次に、欠陥画素判定処理を行う(S45)。ここでは、ステップS43で得られた差分処理画像データSub_Image[1]の画素毎に設定されたスレッシュ以上か否かを判定する。このスレッシュは、ステップS9において画像データBright_Image[n]を取得する際の各撮影条件(ISO感度Bright_ISO[n]、露光時間Bright_TV[n]、撮影温度Bright_Tem [n])に基づいて決定する。スレッシュの値をTh_defect[n]と表す。スレッシュ値は、撮影条件ごとのスレッシュ値を示すテーブル表をあらかじめ内部メモリ3に保持しておいてもよく、また演算式によって求めるようにしてもよい。   If difference extraction processing is performed in step S43, then defective pixel determination processing is performed (S45). Here, it is determined whether or not the threshold value is greater than or equal to the threshold set for each pixel of the difference processed image data Sub_Image [1] obtained in step S43. This threshold is determined based on each shooting condition (ISO sensitivity Bright_ISO [n], exposure time Bright_TV [n], shooting temperature Bright_Tem [n]) when acquiring the image data Bright_Image [n] in step S9. The threshold value is expressed as Th_defect [n]. The threshold value may be stored in advance in the internal memory 3 as a table indicating the threshold value for each shooting condition, or may be obtained by an arithmetic expression.

演算式でスレッシュの値を決める場合には、例えば、通常撮影(明時画像)の露光時間を条件として、通常露光撮影(明時画像)の露光時間が1分以上である場合は、下記式(1)より求める。
Th_defect[n]=(Bright_ISO[n]/Bright_ISO_min)×((Bright_Tem[n]−A Th_defect)/B Th_defect)×Bright_TV[n]×C Th_defect ・・・(1)
When determining the threshold value by an arithmetic expression, for example, when the exposure time for normal exposure (light image) is 1 minute or more on the condition of the exposure time for normal shooting (light image), the following formula Calculate from (1).
Th_defect [n] = (Bright_ISO [n] / Bright_ISO_min) × ((Bright_Tem [n] −A Th_defect ) / B Th_defect ) × Bright_TV [n] × C Th_defect (1)

ただし、Bright_Tem [n]はA Th_defect未満の場合、A Th_defectにクリップする。ATh_defect、B Th_defect、C Th_defectは係数であり、Bright_ISO_minはBright_ISO[n]の中の最小値である。例えば、これらの係数(A Th_defect、B Th_defect、C Th_defect)は、イメージセンサの回路構造に依存して決まる欠陥画素出力特性の温度変化(A Th_defect、B Th_defect)、および時間変化や一定(C Th_defect)の定数である。 However, Bright_Tem [n] in the case of less than A Th_defect, clipped to A Th_defect. A Th_defect , B Th_defect , and C Th_defect are coefficients, and Bright_ISO_min is the minimum value in Bright_ISO [n]. For example, these coefficients (A Th_defect , B Th_defect , C Th_defect ) are the temperature change (A Th_defect , B Th_defect ) of the defective pixel output characteristic determined depending on the circuit structure of the image sensor, and the time change or constant (C Th_defect ) Constant.

また、通常露光撮影(明時画像)の露光時間が、1分未満である場合は、下記式(2)より求める。
Th_defect[n]=D Th_defect ・・・(2)
ここで、D Th_defectは係数である。この係数(D Th_defect)は撮像素子への明露光時間が短い場合は、撮像素子の欠陥画素出力の特性変化(温度、時間)が少ないため、一定の定数(D Th_defect)としている。また、Th_defect[n]は、露光画像データBright_Image[n]に対する、欠陥判定スレッシュを意味し、n=1、2、・・・であり、初期値は1である。
Further, when the exposure time of normal exposure photography (light image) is less than 1 minute, it is obtained from the following formula (2).
Th_defect [n] = D Th_defect (2)
Here, D Th_defect is a coefficient. This coefficient (D Th_defect ) is a constant constant (D Th_defect ) when the bright exposure time to the image sensor is short, since the characteristic change (temperature, time) of the defective pixel output of the image sensor is small. Th_defect [n] means a defect determination threshold for the exposure image data Bright_Image [n], n = 1, 2,..., And the initial value is 1.

ステップS45において欠陥画素判定処理を行うと、次に、判定処理の結果、差分処理画像データSub_Image[1]の画素値がスレッシュ以上の場合には、その画素アドレスをdefect_add[x][y][n]として、内部メモリ3に保存する。ここで、defect_add[x][y][n]は露光画像データBright_Image[n]に対する、欠陥アドレスXY座標データを意味し、n、x、y=1、2、・・・であり、初期値は1である。   If defective pixel determination processing is performed in step S45, next, if the pixel value of the difference processed image data Sub_Image [1] is greater than or equal to the threshold as a result of the determination processing, the pixel address is set to defect_add [x] [y] [ n] is stored in the internal memory 3. Here, defect_add [x] [y] [n] means defect address XY coordinate data for the exposure image data Bright_Image [n], and n, x, y = 1, 2,... Is 1.

ステップS47において欠陥画素のアドレスを内部メモリに保存すると、次に、遮光フィルタ処理画像のブロック平均処理を行う(S49)。ここでは、ステップS41で算出したフィルタ処理画像データFilter_Image[1]について、ブロック毎の平均値Block_AVE[m]を求める。ブロック毎の平均値は、例えば、図7に示すように、撮像素子2dの画素を、有効画素ブロック1〜9および、撮像素子2内で、物理的に遮光されている画素であるオプティカルブラック画素(OB画素)が対応する画素領域であるOBブロックの計10ブロックに分け、ブロック毎に画素値を加算し、画素数で除算することにより、ブロック毎の平均値Block_AVE[m]を算出する。Block_AVE[m]は、ブロック毎に順次得られたm番目の平均値データを意味し、m=1、2、・・・であり、初期値は1である。   If the address of the defective pixel is stored in the internal memory in step S47, next, block average processing of the shading filter processed image is performed (S49). Here, an average value Block_AVE [m] for each block is obtained for the filtered image data Filter_Image [1] calculated in step S41. The average value for each block is, for example, as shown in FIG. 7, an optical black pixel that is a pixel that is physically shielded in the effective pixel blocks 1 to 9 and the image sensor 2. The average value Block_AVE [m] for each block is calculated by dividing the total of 10 blocks of OB, which is the pixel area corresponding to (OB pixel), adding the pixel value for each block, and dividing by the number of pixels. Block_AVE [m] means m-th average value data obtained sequentially for each block, m = 1, 2,..., And the initial value is 1.

図7に示す例では、ブロック平均処理の分割数は、OBブロックを1、有効画素ブロックを9としているが、分割数や分割方法にこの例に限られない。また平均処理を行わず遮光フィルタ処理画像データFilter_Image[1]のままでも良い。   In the example shown in FIG. 7, the division number of the block average process is 1 for the OB block and 9 for the effective pixel block. However, the division number and the division method are not limited to this example. Further, the shading filter processed image data Filter_Image [1] may be left without performing the averaging process.

ステップS49において、遮光フィルタ処理画像のブロック平均処理を行うと、次に、ブロックオフセット判定処理を行う(S51)。ここでは、ステップS49において算出した平均値Block_AVE[m]の最大値から最小値を減算し、この減算値が設定されたスレッシュ以上かどうか判定する。   If block average processing of the shading filter processed image is performed in step S49, then block offset determination processing is performed (S51). Here, the minimum value is subtracted from the maximum value of the average value Block_AVE [m] calculated in step S49, and it is determined whether the subtraction value is equal to or greater than the set threshold.

ステップS51において行う判定処理の際のスレッシュは、ステップS9(図2参照)で取得した露光画像データBright_Image[n]の各撮影条件(ISO感度Bright_ISO[n]、露光時間Bright_TV[n]、撮影温度Bright_Tem[n])に基づいて値を決定する。このスレッシュの値は、撮影条件毎にテーブル表をあらかじめ内部メモリ3に保持しておいてもよく、また演算式によって求めてもよい。   The threshold at the time of the determination process performed in step S51 is the shooting conditions (ISO sensitivity Bright_ISO [n], exposure time Bright_TV [n], shooting temperature of the exposure image data Bright_Image [n] acquired in step S9 (see FIG. 2). Bright_Tem [n]) to determine the value. The threshold value may be stored in advance in the internal memory 3 for each photographing condition, or may be obtained by an arithmetic expression.

演算式でスレッシュの値を決める場合には、例えば、通常撮影(明時画像)の露光時間を条件として、通常露光撮影(明時画像)の露光時間が1分以上の場合は、下記式(3)より求める。
Th_block[n]=(Bright_ISO[n]/Bright_ISO_min)×((Bright_Tem [n]−A Th_block[n])/B Th_block[n])×Bright_TV[n]×C Th_block[n] ・・・(3)
When the threshold value is determined by an arithmetic expression, for example, when the exposure time for normal exposure (light image) is 1 minute or more on the condition of the exposure time for normal shooting (light image), the following formula ( 3) Obtain from
Th_block [n] = (Bright_ISO [n] / Bright_ISO_min) × ((Bright_Tem [n] −A Th_block [n] ) / B Th_block [n] ) × Bright_TV [n] × C Th_block [n] (3 )

ただし、Bright_Tem [n]はA Th_block[n]未満の場合には、A Th_block[n]にクリップする。A Th_block[n]、B Th_block[n]、C Th_block[n]は係数である。また、(Bright_ISO_minはBright_ISO[n]の中の最小値である。例えば、これらの係数(A Th_block[n]、B Th_block[n]、C Th_block[n])は、撮像素子の回路構造に依存して決まるシェーディング出力特性の温度変化(A Th_block[n]、B Th_block[n])、および時間変化や一定(C Th_block[n])の定数である。 However, Bright_Tem [n] in the case of less than A Th_block [n] is clipped to A Th_block [n]. A Th_block [n] , B Th_block [n] , and C Th_block [n] are coefficients. Also, (Bright_ISO_min is the minimum value in Bright_ISO [n]. For example, these coefficients (A Th_block [n] , B Th_block [n] , C Th_block [n] ) depend on the circuit structure of the image sensor. These are constants of temperature change (A Th_block [n] , B Th_block [n] ) of the shading output characteristic determined by the above, and time change or constant (C Th_block [n] ).

また、通常露光撮影(明時画像)の露光時間が露光時間1分未満の場合は、下記式(4)より求める。
Th_block[n]= DTh_block[n] ・・・(4)
ここで、DTh_block[n]は係数である。例えば、この係数(D)は、撮像素子への明露光時間が短い場合には、撮像素子のシェーディング出力の特性変化(温度、時間)が少ないため、一定の定数(D Th_block[n])としている。Th_block[n]は、露光画像データBright_Image[n]に対する、ブロックオフセット判定スレッシュを意味し、n=1、2、・・・であり、初期値は1である。
Further, when the exposure time of normal exposure photography (light image) is less than 1 minute, the following equation (4) is used.
Th_block [n] = D Th_block [n] (4)
Here, D Th_block [n] is a coefficient. For example, this coefficient (D) has a constant constant (D Th_block [n] ) because the characteristic change (temperature, time) of the shading output of the image sensor is small when the bright exposure time to the image sensor is short. Yes. Th_block [n] means a block offset determination threshold for the exposure image data Bright_Image [n], n = 1, 2,..., And the initial value is 1.

ステップS51においてブロックオフセット判定処理を行うと、次に、各ブロックの判定処理の結果を内部メモリに保存する(S53)。ここでは、判定処理の結果、平均値Block_AVE[m]の最大値から最小値を減算した減算値が設定されたスレッシュ以上の場合には、Block_AVE[m][n]を内部メモリ3に保存する。スレッシュ以下であれば0とする。Block_AVE[m][n]は、露光画像データBright_Image[n]に対する、ブロック毎に順次得られたm番目の平均値データを意味する。m、n=1、2、・・・であり、初期値は1である。   Once the block offset determination process is performed in step S51, the result of the determination process for each block is stored in the internal memory (S53). Here, if the subtraction value obtained by subtracting the minimum value from the maximum value of the average value Block_AVE [m] is equal to or greater than the set threshold as a result of the determination process, Block_AVE [m] [n] is stored in the internal memory 3. . 0 if less than the threshold. Block_AVE [m] [n] means m-th average value data sequentially obtained for each block with respect to the exposure image data Bright_Image [n]. m, n = 1, 2,..., and the initial value is 1.

ステップS53において各ブロックの判定処理結果を内部メモリに保存すると、ノイズ検出処理のフローを終了し、元のフローに戻る。   When the determination processing result of each block is stored in the internal memory in step S53, the flow of the noise detection processing is terminated and the processing returns to the original flow.

次に、図4に示すフローチャートを用いて、ステップS33におけるノイズ補正処理について説明する。   Next, the noise correction processing in step S33 will be described using the flowchart shown in FIG.

ノイズ補正処理のフローに入ると、まず、欠陥補正を行う(S61)。ここでは、ステップS9で取得した露光画像データBright_Image[n]に対し、ステップS47において保存した画素アドレスdefect_add[x][y][n]に位置する画素値に対して、欠陥補正を行う。欠陥補正した画像データをBright_Image_defect[n]とする。   In the noise correction process flow, first, defect correction is performed (S61). Here, defect correction is performed on the pixel value located at the pixel address defect_add [x] [y] [n] stored in step S47 for the exposure image data Bright_Image [n] acquired in step S9. The image data after defect correction is defined as Bright_Image_defect [n].

欠陥補正について、図8に示す例を用いて説明する。図中、星印のある位置は、ステップS47において、内部メモリに欠陥画素のアドレスである。この場合には、図中のA〜Dの4つの画素の画素値を加算し、画素数(ここでは4)で除算し(即ち、(A+B+C+D)÷4を演算)、この除算値を星印の位置の画素値に置き換える。なお、A〜Dの位置が欠陥画素の位置として内部メモリに記録されている場合には、その欠陥画素の画素値を除外して加算平均値を演算する。例えば、Aの位置に欠陥画素ある場合には、(B+C+D)÷3によって加算平均値を演算する。   Defect correction will be described using the example shown in FIG. In the figure, the position with a star is the address of the defective pixel in the internal memory in step S47. In this case, the pixel values of the four pixels A to D in the figure are added and divided by the number of pixels (here, 4) (that is, (A + B + C + D) ÷ 4 is calculated), and this divided value is represented by an asterisk. Replace with the pixel value at the position of. If the positions A to D are recorded in the internal memory as the positions of defective pixels, the average value is calculated by excluding the pixel values of the defective pixels. For example, when there is a defective pixel at the position A, the addition average value is calculated by (B + C + D) ÷ 3.

図8に示した欠陥の補正処理の例では、欠陥画素の周囲の4画素の平均値を算出することによって行っているが、平均値算出のための画素数やまた方法は、この例に限定されない。また、平均ではなく周囲から似ている画素(またはブロック)を検出し、補間しても良い。なお、図8に示す例では、画素配列はベイヤパターンであり、画素A、B、C、Dは、星印の画素と同じカラーパターンを持っている。   In the example of the defect correction processing shown in FIG. 8, the average value of four pixels around the defective pixel is calculated. However, the number of pixels and the method for calculating the average value are limited to this example. Not. Further, similar pixels (or blocks) may be detected from the surroundings instead of the average and may be interpolated. In the example shown in FIG. 8, the pixel array is a Bayer pattern, and the pixels A, B, C, and D have the same color pattern as the star-marked pixels.

欠陥補正を行うことにより、撮像素子毎に異なる欠陥画素によるノイズを補正することができる。   By performing defect correction, it is possible to correct noise caused by defective pixels that differ for each image sensor.

ステップS61において欠陥補正を行うと、次に、ブロックオフセット補正を行う(S63)。ステップS61において欠陥補正した画像データBright_Image_defect[n]に対して、ステップS53で保存したBlock_AVE[m][n]を用いて、ブロックオフセット補正を行う。ブロックオフセット補正した画像データを画像データRaw_Image[n]とする。Raw_Image[n]は、露光して順次得られたn番目の露光画像データBright_Image[n]に対して、ノイズ補正処理を行った画像データを意味し、n=1、2、・・・であり、初期値は1である。   If defect correction is performed in step S61, next, block offset correction is performed (S63). Block offset correction is performed on the image data Bright_Image_defect [n] corrected in step S61 using Block_AVE [m] [n] stored in step S53. The image data subjected to the block offset correction is set as image data Raw_Image [n]. Raw_Image [n] means image data obtained by performing noise correction processing on n-th exposure image data Bright_Image [n] sequentially obtained by exposure, and n = 1, 2,... The initial value is 1.

図9を用いて、ブロックオフセット補正について説明する。図9(a)は、ステップS61において欠陥補正した画像データBright_Image_defect[n]であり、各アドレス位置に対応した画素値の集合である。図9(b)は、ステップS53で保存したBlock_AVE[m][n]のブロック毎に、係数α[n]Block_AVEを乗算し、更に係数β[n]Block_AVEを加算した値の集合である。ここでは、OBブロックと有効画素ブロック毎に値が決まる。これらの係数(α[n] Block_AVE、β[n] Block_AVE)は、撮像素子の回路構造に依存して決まるシェーディング出力特性の温度変化および時間変化によって決まる定数である。 The block offset correction will be described with reference to FIG. FIG. 9A shows the image data Bright_Image_defect [n] corrected in the defect in step S61, and is a set of pixel values corresponding to each address position. FIG. 9B shows a set of values obtained by multiplying the block αAVE [m] [n] stored in step S53 by the coefficient α [n] Block_AVE and adding the coefficient β [n] Block_AVE. Here, a value is determined for each OB block and effective pixel block. These coefficients (α [n] Block_AVE , β [n] Block_AVE ) are constants determined by the temperature change and time change of the shading output characteristics determined depending on the circuit structure of the image sensor.

ブロックオフセット補正は、図9(a)に示す欠陥補正した画像データBright_Image_defect[n]の画素毎に、図9(b)に示すブロック毎に決まる値を減算することによって行う。この画素毎に行った減算値の集合が、図9(c)に示すブロックオフセット補正した画像データを画像データRaw_Image[n]となる。   The block offset correction is performed by subtracting a value determined for each block shown in FIG. 9B for each pixel of the image data Bright_Image_defect [n] subjected to the defect correction shown in FIG. A set of subtraction values performed for each pixel becomes image data Raw_Image [n] from the image data subjected to the block offset correction shown in FIG.

ブロックオフセット補正を行うことにより、撮像素子2dから出力される画像データに含まれるシェーディングの影響が除去された画像データを得ることができる。   By performing the block offset correction, it is possible to obtain image data from which the influence of shading included in the image data output from the image sensor 2d is removed.

このように、本実施形態においては、通常露光撮影(図2のS3〜S11)と、所定の露光時間にて遮光撮影を行い(図2のS13〜S19)、所定の露光時間にて取得した遮光画像からノイズ抽出を行っている(図2のS21)。   As described above, in this embodiment, normal exposure photography (S3 to S11 in FIG. 2) and light-shielding photography with a predetermined exposure time (S13 to S19 in FIG. 2) are obtained and acquired with a predetermined exposure time. Noise extraction is performed from the light-shielded image (S21 in FIG. 2).

ここで、上述の所定の露光時間は、本実施形態においては、通常露光撮影の露光時間を第1露光時間、遮光撮影の露光時間を第2露光時間とした時に、第1露光時間と第2に露光時間を同じにしている。しかし、これに限らず、第2露光時間を第1露光時間に応じて異なるようにしてもよい。   Here, in the present embodiment, the predetermined exposure time described above is the first exposure time and the second exposure time when the exposure time for normal exposure photography is the first exposure time and the exposure time for light-shielding photography is the second exposure time. The exposure time is the same. However, the present invention is not limited to this, and the second exposure time may be varied according to the first exposure time.

また、上述のノイズ抽出は、
(1)欠陥画素を抽出するために画素毎の出力レベル又は周囲画素との差分を算出し(図3のS43、図6参照)、
(2)メディアンや平均などのフィルタ処理を画素ブロック毎に行い、ブロック成分(画素ブロックごとのフィルタ後の値)やシェーディング成分(行や列ごとのフィルタ後の値)やOB段差成分(有効画素ブロックのフィルタ後の値と、OBブロックのフィルタ後の値の差)を算出する(図3のS49、図7参照)、
ことによって行っている。
The above noise extraction is
(1) In order to extract a defective pixel, an output level for each pixel or a difference from surrounding pixels is calculated (see S43 in FIG. 3 and FIG. 6).
(2) Filter processing such as median or averaging is performed for each pixel block, and block components (filtered values for each pixel block), shading components (filtered values for each row or column), OB step components (effective pixels) (The difference between the filtered value of the block and the filtered value of the OB block) (see S49 in FIG. 3, FIG. 7),
By doing that.

また、本実施形態においては、通常露光撮影した画像を、前述のノイズ抽出した演算結果を用いて、ノイズ補正を行っている(図2のS33、図4参照)。   Further, in the present embodiment, noise correction is performed on the normal exposure photographed image using the above-described calculation result obtained by noise extraction (see S33 in FIG. 2 and FIG. 4).

ノイズ補正は、
(3)欠陥画素の場合は周囲画素(ブロック)からの補間を行っており、具体的には、
補正量X = Σ周囲画素(ブロック)演算値 / 周囲画素(ブロック)数 ・・・(5)
によって求め(図8参照)、
(4)ブロック成分やシェーディング成分、OB段差成分の加(減)算を行っており、具体的には、
補正量X = 注目画素 − 上記成分値 ・・・(6)
により求めている(図9参照)。
Noise correction
(3) In the case of a defective pixel, interpolation is performed from surrounding pixels (blocks). Specifically,
Correction amount X = Σsurrounding pixel (block) calculation value / number of surrounding pixels (block) (5)
(See FIG. 8),
(4) Addition / subtraction of block component, shading component, and OB step component is performed. Specifically,
Correction amount X = target pixel−the above component value (6)
(See FIG. 9).

また、本実施形態においては、通常露光や遮光の撮影条件や、ノイズ抽出結果に応じて補正量を変更している。   In the present embodiment, the correction amount is changed in accordance with the normal exposure and light-shielding shooting conditions and the noise extraction result.

補正量の変更は、通常露光や遮光の撮影条件の場合には、ISO感度、露光時間、温度に応じて補正係数(α、β)を変更することよって行う。この場合の補正量Yは、下記式(7)で表せる。
補正量Y = αX + β ・・・(7)
なお、ここで、Xは、変更前となる補正量である。
The correction amount is changed by changing the correction coefficients (α, β) according to ISO sensitivity, exposure time, and temperature in the case of shooting conditions of normal exposure or light shielding. The correction amount Y in this case can be expressed by the following equation (7).
Correction amount Y = αX + β (7)
Here, X is a correction amount before the change.

また、多重露出(HDRや超解像)などの複数枚通常露光して画像合成する場合には、それぞれの撮影時のISO感度、露光時間、温度に応じて、それぞれの補正係数(α1、β1、α2、β2、・・・αn、βn)を変更する。この場合の補正量Y1、Y2・・・Ynは、下記式(8)(9)(10)で表せる。
補正量Y1 = α1X + β1 ・・・(8)
補正量Y2 = α2X + β2 ・・・(9)
・・・
補正量Yn = αnX + βn ・・・(10)
なお、Xは、変更前となる補正量であり、nは複数通常露光した場合の何枚目の撮影かを指す。
In addition, when multiple images (such as HDR and super-resolution) are normally exposed and combined, the respective correction coefficients (α1, β1) are selected in accordance with the ISO sensitivity, exposure time, and temperature at the time of shooting. , Α2, β2,... Αn, βn). The correction amounts Y1, Y2,... Yn in this case can be expressed by the following formulas (8), (9), and (10).
Correction amount Y1 = α1X + β1 (8)
Correction amount Y2 = α2X + β2 (9)
...
Correction amount Yn = αnX + βn (10)
Note that X is a correction amount before the change, and n indicates the number of images taken when a plurality of normal exposures are performed.

ノイズ抽出の結果に応じて補正量を変更するにあたって、欠陥画素、ブロック成分、シェーディング成分、OB段差成分がそれぞれの閾値に応じて補正係数(α、β)を変更している。
補正量Y = αX + β ・・・(11)
なお、ここで、Xは変更前となる補正量である。
In changing the correction amount according to the noise extraction result, the correction coefficients (α, β) of the defective pixel, the block component, the shading component, and the OB step component are changed according to the respective threshold values.
Correction amount Y = αX + β (11)
Here, X is a correction amount before the change.

次に、図10ないし図13を用いて、本発明の第2実施形態について説明する。本実施形態においても、第1実施形態と同様に、通常露光撮影と遮光撮影を行い、遮光画像からノイズ抽出を行い、通常露光や遮光の撮影条件とノイズ抽出した演算結果から通常露光撮影画像のノイズ補正を行う。第1実施形態においては、遮光撮影の遮光撮影条件は、通常露光撮影の際の撮影条件と同じであったが、第2実施形態においては、遮光撮影を行う際に遮光撮影条件算出を行い、通常露光撮影とは異なる撮影条件で撮影する。   Next, a second embodiment of the present invention will be described with reference to FIGS. Also in the present embodiment, as in the first embodiment, normal exposure shooting and light-shielding shooting are performed, noise is extracted from the light-shielded image, and the normal exposure photographed image is calculated from the normal exposure and light-shielding shooting conditions and the calculation result of noise extraction. Perform noise correction. In the first embodiment, the light-shielding shooting condition for the light-shielding shooting is the same as the shooting condition for the normal exposure shooting. In the second embodiment, the light-shielding shooting condition is calculated when the light-shielding shooting is performed. Shoot under different shooting conditions from normal exposure shooting.

本実施形態における構成は、図1に示したブロック図において、遮光撮影条件算出処理部11を追加しており、その他の構成は同様であるので、相違点を中心に説明する。   The configuration of the present embodiment is the same as the configuration of the block diagram shown in FIG. 1 except that a light-shielding shooting condition calculation processing unit 11 is added and the other configurations are the same.

バス9に接続された遮光撮影条件算出処理部11は、システム制御部8で算出された通常露光撮影条件(ISO感度、露光時間)と、温度検出部10が検出した温度と、撮影者が入力部7を介して設定した設定値または予め内部メモリ3に記憶させた設定値等に基づいて遮光撮影条件を算出し(図11のS12、図12参照)、この遮光撮影条件をシステム制御部8に指示する。システム制御部8は、この遮光撮影条件に従って遮光撮影の制御を行う(図11のS15、S17参照)。   The light-shielding shooting condition calculation processing unit 11 connected to the bus 9 inputs the normal exposure shooting conditions (ISO sensitivity, exposure time) calculated by the system control unit 8, the temperature detected by the temperature detection unit 10, and the photographer. The light-shielding shooting condition is calculated based on the setting value set via the unit 7 or the setting value stored in the internal memory 3 in advance (see S12 in FIG. 11 and FIG. 12). To instruct. The system control unit 8 controls light-shielded photographing according to the light-shielded photographing conditions (see S15 and S17 in FIG. 11).

次に、図11および図12に示すフローチャートを用いて、本実施形態における動作について説明する。システム制御部8内のCPUが内部メモリ3に記憶されたプログラムに従って実行することによって、このフローチャートによる動作が実現される。   Next, the operation in the present embodiment will be described with reference to the flowcharts shown in FIGS. When the CPU in the system control unit 8 is executed according to a program stored in the internal memory 3, the operation according to this flowchart is realized.

本実施形態における動作は、第1実施形態に係る図2に示すフローチャートと比較すると、ステップS12の遮光撮影条件算出処理を追加し、ここで算出された遮光撮影条件に従って、ステップS13〜S17において遮光撮影の制御を行う点が相違する。その他のステップにおける処理は同様であることから、相違点を中心に説明する。   Compared with the flowchart shown in FIG. 2 according to the first embodiment, the operation in the present embodiment adds the light-shielding shooting condition calculation process in step S12, and performs light-shielding in steps S13 to S17 according to the light-shielding shooting conditions calculated here. The difference is that the shooting is controlled. Since the processing in the other steps is the same, the differences will be mainly described.

本実施形態における初期状態は、第1実施形態の場合と同様であり、被写体に対して撮影準備している段階を開始状態の初期状態とする。ステップS1の処理も、第1実施形態と同様、撮影者がレリーズ操作をされて露光開始処理を始める。   The initial state in the present embodiment is the same as that in the first embodiment, and the stage where the subject is prepared for shooting is set as the initial state of the start state. In the process of step S1, as in the first embodiment, the photographer performs a release operation and starts the exposure start process.

ステップS1〜S11までの処理は、第1実施形態と同様である。ステップS11における判定の結果、露光撮影が終了すると、遮光撮影条件算出処理を行う(S12)。ここでは、ステップS9で取得した画像データBright_Image[n]の各撮影条件(ISO感度Bright_ISO[n]、露光時間Bright_TV[n]、撮影温度Bright_Tem [n])と、撮影者が入力部7を介して設定した設定値または予め内部メモリ3に記憶させた設定値に基づいて、遮光撮影条件(ISO感度、露光時間)を求め、Dark_ISO、Dark_TVとする。   The processes from step S1 to S11 are the same as in the first embodiment. When the exposure shooting is completed as a result of the determination in step S11, a shading shooting condition calculation process is performed (S12). Here, each photographing condition (ISO sensitivity Bright_ISO [n], exposure time Bright_TV [n], photographing temperature Bright_Tem [n]) of the image data Bright_Image [n] acquired in step S9 and the photographer through the input unit 7 Based on the setting value set in advance or the setting value stored in the internal memory 3 in advance, the light-shielding shooting conditions (ISO sensitivity, exposure time) are obtained and set as Dark_ISO and Dark_TV.

ステップS12において、遮光撮影条件を算出すると、この算出された遮光撮影条件(ISO感度、露光時間)を用いて、ステップS13〜S17において遮光撮影を行う。遮光撮影が終了すると、ステップS19〜S39を実行して本フローを終了する。   When the light-shielding shooting condition is calculated in step S12, the light-shielding shooting is performed in steps S13 to S17 using the calculated light-shielding shooting condition (ISO sensitivity, exposure time). When the shaded shooting is finished, steps S19 to S39 are executed, and this flow is finished.

次に、図12に示すフローチャートを用いて、ステップS12における遮光撮影条件算出処理について説明する。   Next, the shading imaging condition calculation process in step S12 will be described using the flowchart shown in FIG.

遮光撮影条件算出処理のフローに入ると、まず、入力設定条件判別処理を行う(S71)。ここでは、撮影者が入力部7を介して設定した設定値、または予め内部メモリ3に記憶させた設定値に基づいて暗時露光時間係数Dark_TV_coeを決める。遮光撮影撮影条件は、通常撮影時の露光時間や撮影時の温度に応じて遮光撮影時のISO感度や露光時間等の撮影条件を求め、この求めた撮影条件に暗時露光時間係数Dark_TV_coeを乗算することにより算出する。   When entering the flow of the light-shielding shooting condition calculation process, first, an input setting condition determination process is performed (S71). Here, the dark exposure time coefficient Dark_TV_coe is determined based on a setting value set by the photographer via the input unit 7 or a setting value stored in the internal memory 3 in advance. For the shading shooting shooting conditions, obtain shooting conditions such as ISO sensitivity and exposure time during shading shooting according to the exposure time during normal shooting and the temperature during shooting, and multiply the obtained shooting conditions by the dark exposure time coefficient Dark_TV_coe. To calculate.

図13に、撮影者が入力部7を介して設定する際の暗時条件設定メニュー画面の例を示す。撮影者は、撮影開始前に、図13に示すような暗時条件設定メニュー画面を呼び出し、長秒時ノイズ低減を行いたい場合には、「ON」をタッチ操作または入力釦操作等により選択し、さらに「1/2」をタッチ操作または入力釦操作等により選択すると、暗時露光時間係数Dark_TV_coeは、1/2(0.5)となる。この操作によって、撮影者が暗時露光時間を短縮等できる。   FIG. 13 shows an example of a dark condition setting menu screen when the photographer makes settings via the input unit 7. The photographer calls a dark condition setting menu screen as shown in FIG. 13 before starting photographing, and selects “ON” by a touch operation or an input button operation or the like to reduce long-time noise. If “1/2” is further selected by a touch operation or an input button operation, the dark exposure time coefficient Dark_TV_coe becomes 1/2 (0.5). By this operation, the photographer can shorten the exposure time in the dark.

ステップS71において入力設定条件判別処理を行うと、次に、露光撮影条件判別処理を行う(S73)。ここでは、ステップS9で取得した画像データBright_Image[n]の各撮影条件(ISO感度Bright_ISO[n]、露光時間Bright_TV[n]、撮影温度Bright_Tem[n])とステップS71で決められた暗時露光時間係数Dark_TV_coeに基づいて暗時ISO感度係数Dark_ISO_coeを決める。   If the input setting condition determination process is performed in step S71, then the exposure photographing condition determination process is performed (S73). Here, the respective exposure conditions (ISO sensitivity Bright_ISO [n], exposure time Bright_TV [n], shooting temperature Bright_Tem [n]) of the image data Bright_Image [n] acquired in step S9 and the dark exposure determined in step S71. The dark ISO sensitivity coefficient Dark_ISO_coe is determined based on the time coefficient Dark_TV_coe.

Dark_ISO_coeはテーブル表を予め内部メモリ3に保持しておいてもよく、また撮影時に演算式によって求めるようにしてもよい。この演算式は、例えば、下記式(12)を使用する。
Dark_ISO_coe = (1 / Dark_TV_coe)×((Bright_Tem [n] − ADark_ISO_coe)/ BDark_ISO_coe)× CDark_ISO_coe ・・・(12)
なお、Bright_Tem[n]はADark_ISO_coe未満時にはADark_ISO_coeにクリップする。
For Dark_ISO_coe, a table may be stored in the internal memory 3 in advance, or may be obtained by an arithmetic expression at the time of shooting. For example, the following equation (12) is used as this arithmetic expression.
Dark_ISO_coe = (1 / Dark_TV_coe) x ((Bright_Tem [n]-A Dark_ISO_coe ) / B Dark_ISO_coe ) x C Dark_ISO_coe (12)
Incidentally, Bright_Tem [n] is the time less than A Dark_ISO_coe clipped to A Dark_ISO_coe.

また、上記式(12)において、ADark_ISO_coe、BDark_ISO_coe、CDark_ISO_coe、は係数である。これらの係数(ADark_ISO_coe、BDark_ISO_coe、CDark_ISO_coe)は、例えば、撮像素子の回路構造に依存して決まる欠陥画素出力特性やシェーディング出力特性の温度変化(A、B)、および一定(CDark_ISO_coe)の定数である。Bright_ISO[n]は、例えば、Bright_Image[n]の各撮影条件の中で最も露光時間が長い(短い)条件のISO感度である。Bright_Tem[n]は、例えば、Bright_ISO[n]の撮影条件での撮影温度である。 In the above equation (12), A Dark_ISO_coe , B Dark_ISO_coe , and C Dark_ISO_coe are coefficients. These coefficients (A Dark_ISO_coe , B Dark_ISO_coe , C Dark_ISO_coe ) are, for example, temperature variations (A, B) of defective pixel output characteristics and shading output characteristics determined depending on the circuit structure of the image sensor, and constant (C Dark_ISO_coe ) Is a constant. Bright_ISO [n] is, for example, the ISO sensitivity under the condition that the exposure time is the longest (shortest) among the shooting conditions of Bright_Image [n]. Bright_Tem [n] is, for example, a shooting temperature under the Bright_ISO [n] shooting condition.

ステップS73において露光撮影条件判別処理によって遮光撮影時のISO感度係数を求めると、次に、遮光撮影条件算出を行う(S75)。ここでは、ステップS9で取得した画像データBright_Image[n]の各撮影条件(ISO感度Bright_ISO[n]、露光時間Bright_TV[n])の中からステップS71で決められた暗時露光時間係数Dark_TV_coeと、ステップS73で決められた暗時ISO感度係数Dark_ISO_coeとから、遮光撮影条件(ISO感度、露光時間)を求め、この遮光撮影条件をDark_ISO、Dark_TVとする。   If the ISO sensitivity coefficient at the time of light-shielded photographing is obtained by the exposure photographing condition determination processing in step S73, next, light-shielded photographing condition calculation is performed (S75). Here, the dark exposure time coefficient Dark_TV_coe determined in step S71 from among the shooting conditions (ISO sensitivity Bright_ISO [n], exposure time Bright_TV [n]) of the image data Bright_Image [n] acquired in step S9, From the dark ISO sensitivity coefficient Dark_ISO_coe determined in step S73, the light-shielding shooting conditions (ISO sensitivity, exposure time) are obtained, and these light-shielding shooting conditions are set to Dark_ISO and Dark_TV.

遮光撮影条件Dark_ISO、Dark_TVはテーブル表を予め内部メモリ3に保持しておいてもよく、また撮影時に演算式によって求めるようにしてもよい。演算式は、例えば、下記式(13)(14)を使用する。
Dark_ISO = Dark_ISO_coe × Bright_ISO[n] ・・・(13)
Dark_TV = Dark_TV_coe × Bright_TV[n] ・・・・(14)
Bright_ISO[n]は、Bright_Image[n]の各撮影条件の中で最も露光時間が長い(短い)条件のISO感度である。また、Bright_TV[n]は、Bright_Image[n]の各撮影条件の中で最も露光時間が長い(短い)条件である。
The shading imaging conditions Dark_ISO and Dark_TV may be stored in advance in a table in the internal memory 3 or may be obtained by an arithmetic expression at the time of shooting. As the arithmetic expression, for example, the following expressions (13) and (14) are used.
Dark_ISO = Dark_ISO_coe × Bright_ISO [n] (13)
Dark_TV = Dark_TV_coe × Bright_TV [n] (14)
Bright_ISO [n] is the ISO sensitivity under the condition that the exposure time is the longest (shortest) among the shooting conditions of Bright_Image [n]. Bright_TV [n] is the condition with the longest (shortest) exposure time among the shooting conditions of Bright_Image [n].

遮光撮影条件算出を行うと、遮光撮影条件算出のフローを終了し、元のフローに戻る。元のフローに戻ると、前述したように、このフローで算出された遮光撮影条件(ISO感度、露光時間)を用いて、システム制御部8は遮光撮影の制御を行う。   When the light-shielding shooting condition calculation is performed, the flow of the light-shielding shooting condition calculation is ended and the process returns to the original flow. When returning to the original flow, as described above, the system control unit 8 controls the light-shielding photographing using the light-shielding photographing conditions (ISO sensitivity, exposure time) calculated in this flow.

このように、本実施形態においても、通常露光撮影(図11のS3〜S11)と、所定の露光時間にて遮光撮影を行い(図11のS12〜S19)、所定の露光時間にて遮光画像からノイズ抽出を行っている(図11のS21)。   As described above, also in this embodiment, the normal exposure shooting (S3 to S11 in FIG. 11) and the light-shielded shooting with the predetermined exposure time (S12 to S19 in FIG. 11) are performed, and the light-shielded image with the predetermined exposure time. Noise extraction is performed (S21 in FIG. 11).

ここで、上述の所定の露光時間は、第1の実施形態においては、通常露光撮影の露光時間を第1露光時間、遮光撮影の露光時間を第2露光時間とした時に、第1露光時間と第2に露光時間を同じにしていた。これに対して、本実施形態においては、第2露光時間を第1露光時間に依存しないようにしている(図12参照)。すなわち、本実施形態においては、遮光撮影の露光時間は通常露光撮影より短い時間としている。このため、遮光撮影まで含めた撮影時間を短縮することが可能となり、ノイズ除去処理に伴う撮影時間の増加を抑えることができる。   Here, in the first embodiment, the above-described predetermined exposure time is the first exposure time when the exposure time for normal exposure photography is the first exposure time and the exposure time for light-shielding photography is the second exposure time. Second, the exposure time was the same. On the other hand, in the present embodiment, the second exposure time is not dependent on the first exposure time (see FIG. 12). That is, in the present embodiment, the exposure time for the light-shielding shooting is shorter than that for the normal exposure shooting. For this reason, it is possible to shorten the photographing time including the light-shielding photographing, and it is possible to suppress an increase in the photographing time accompanying the noise removal processing.

また、本実施形態においては、遮光撮影の撮影条件設定(ISO感度、露光時間)は、通常露光の撮影条件、または外部操作によって設定された条件に応じて決めている。すなわち、通常露光撮影の撮影条件(ISO感度、露光時間、温度)に基づいて、遮光撮影の撮影条件設定(ISO感度、露光時間)を決めている。また、外部操作(カメラ設定)によって遮光撮影の撮影条件設定(ISO感度、露光時間)を決めている(図12のS71、図13参照)。   In the present embodiment, the shooting condition setting (ISO sensitivity, exposure time) for shaded shooting is determined according to the shooting conditions for normal exposure or the conditions set by an external operation. That is, shooting condition settings (ISO sensitivity, exposure time) for light-shielded shooting are determined based on shooting conditions (ISO sensitivity, exposure time, temperature) for normal exposure shooting. Also, shooting condition settings (ISO sensitivity, exposure time) for light-shielded shooting are determined by external operation (camera settings) (see S71 in FIG. 12, FIG. 13).

なお、遮光撮影の撮影条件設定(ISO感度、露光時間)は、通常露光撮影の撮影条件や外部操作による設定以外にも、例えば、多重露出(HDRや超解像)などの複数枚通常露光した時は、撮影枚数と撮影枚数に応じたそれぞれの遮光撮影の撮影条件設定(ISO感度、露光時間)を決めるようにしてもよい。   Note that the shooting condition settings (ISO sensitivity, exposure time) for shaded shooting are not limited to the shooting conditions for normal exposure shooting and settings by external operation, for example, multiple exposures such as multiple exposure (HDR and super-resolution) are used for normal exposure. In some cases, the shooting condition setting (ISO sensitivity, exposure time) for each light-shielded shooting corresponding to the number of shots and the number of shots may be determined.

次に、図14ないし図17を用いて、本発明の第3実施形態について説明する。本実施形態においても、通常露光撮影と遮光撮影を行い、遮光画像からノイズ抽出を行い、通常露光や遮光の撮影条件とノイズ抽出した演算結果から通常露光撮影画像のノイズ補正を行う。本実施形態においては、第1、第2実施形態における処理に加えて、遮光撮影を行った後に追加遮光撮影条件算出を行い、遮光撮影を追加で行うか判断する。   Next, a third embodiment of the present invention will be described with reference to FIGS. Also in the present embodiment, normal exposure shooting and light-shielding shooting are performed, noise is extracted from the light-shielded image, and noise correction of the normal exposure photographed image is performed from the normal exposure and light-shielding shooting conditions and the calculation result obtained by noise extraction. In the present embodiment, in addition to the processing in the first and second embodiments, additional light-shielding photographing condition calculation is performed after light-shielding photographing, and it is determined whether or not to perform light-shielding photographing additionally.

本実施形態における構成は、図10に示したブロック図において、追加遮光撮影判断処理部12を追加しており、その他の構成は同様であるので、相違点を中心に説明する。   In the configuration of the present embodiment, an additional light shielding photographing determination processing unit 12 is added to the block diagram shown in FIG.

バス9に接続された追加遮光撮影判断処理部12は、ノイズ算出処理部4aが算出した結果に基づいて、追加遮光撮影を行うか判断し、必要だった場合、再度前回とは異なる遮光撮影条件で遮光撮影するようシステム制御部8に指示する。追加遮光撮影判断処理部12は、ノイズ抽出部によるノイズ抽出結果に基づいて、追加の遮光撮影を行うか否かを判断する追加遮光撮影判断部として機能する。   The additional light shielding photographing determination processing unit 12 connected to the bus 9 determines whether or not to perform additional light shielding photographing based on the result calculated by the noise calculation processing unit 4a. If necessary, the light shielding photographing condition different from the previous time is again determined. The system control unit 8 is instructed to take a shaded image. The additional light-shielding shooting determination processing unit 12 functions as an additional light-shielding shooting determination unit that determines whether or not to perform additional light-shielding shooting based on the noise extraction result by the noise extraction unit.

すなわち、第1及び第2実施形態においては、露光撮影が終了すると(図2および図11のS11Yes)、遮光撮影を1回行い(図2のS13〜S19、図11のS12〜S19)、その後で、ノイズ検出及びノイズ補正処理を行っていた(S2および図11のS21、S33)。これらの実施形態においては、遮光撮影の遮光撮影条件では、適正にノイズ補正処理を行うことができない場合がある。そこで、本実施形態においては、追加遮光撮影判断処理部12が、遮光撮影を行った後に、遮光撮影条件を変えて、再度、追加遮光撮影を行うか否かを判断するようにしている(図15のS23、図16参照)。   That is, in the first and second embodiments, when exposure shooting is completed (S11 Yes in FIGS. 2 and 11), light-shielding shooting is performed once (S13 to S19 in FIG. 2, S12 to S19 in FIG. 11), and thereafter Thus, noise detection and noise correction processing were performed (S2 and S21 and S33 in FIG. 11). In these embodiments, the noise correction processing may not be performed properly under the light-shielded shooting conditions of the light-shielded shooting. Therefore, in the present embodiment, the additional light-shielding photographing determination processing unit 12 changes the light-shielding photographing conditions after the light-shielding photographing, and determines whether or not to perform additional light-shielding photographing again (FIG. 15 S23, see FIG. 16).

次に、図15および図16に示すフローチャートを用いて、本実施形態における動作について説明する。システム制御部8内のCPUが内部メモリ3に記憶されたプログラムに従って実行することによって、このフローチャートによる動作が実現される。   Next, the operation in the present embodiment will be described using the flowcharts shown in FIGS. 15 and 16. When the CPU in the system control unit 8 is executed according to a program stored in the internal memory 3, the operation according to this flowchart is realized.

本実施形態における動作は、第2実施形態に係る図11に示すフローチャートと比較すると、ステップS23〜S29を追加し、ステップS33におけるノイズ補正処理をステップS33aにおけるノイズ補正処理に変更する点が相違する。その他のステップにおける処理は同様であることから、相違点を中心に説明する。   Compared with the flowchart shown in FIG. 11 according to the second embodiment, the operation in this embodiment is different in that steps S23 to S29 are added and the noise correction process in step S33 is changed to the noise correction process in step S33a. . Since the processing in the other steps is the same, the differences will be mainly described.

本実施形態における初期状態は、第1、第2実施形態の場合と同様であり、被写体に対して撮影準備している段階を開始状態の初期状態とする。ステップS1の処理も、第1実施形態と同様、撮影者がレリーズ操作をされて露光開始処理を始める。   The initial state in the present embodiment is the same as in the first and second embodiments, and the stage where the subject is prepared for shooting is set as the initial state of the start state. In the process of step S1, as in the first embodiment, the photographer performs a release operation and starts the exposure start process.

ステップS1〜S21までの処理は、第2実施形態と同様である。ステップS11において露光撮影が終了されたと判定すると、ステップS12〜S19において、1回目の遮光撮影を行う。そして、ステップS21のノイズ検出処理において、欠陥画素のアドレスを内部メモリに保存し(図3のS41〜S47参照)、シェーディングの影響を除去するためのブロックオフセット判定処理を行い、判定結果を内部メモリに保存する(図3のS41〜S53参照)。   The processing from step S1 to S21 is the same as in the second embodiment. If it is determined in step S11 that the exposure shooting has been completed, the first light-shielding shooting is performed in steps S12 to S19. In the noise detection process in step S21, the address of the defective pixel is stored in the internal memory (see S41 to S47 in FIG. 3), the block offset determination process for removing the influence of shading is performed, and the determination result is stored in the internal memory. (See S41 to S53 in FIG. 3).

ステップS21においてノイズ検出処理を行うと、次に、追加遮光撮影条件判断処理を行う(S23)。ここでは、ステップS21におけるノイズ検出処理結果を用いて、欠陥画素の個数や、ブロックオフセットの数を用いて、追加遮光撮影を行うか否かを判断し、使遮光撮影を行う場合には追加遮光撮影条件を算出する。   If noise detection processing is performed in step S21, then additional light-shielding shooting condition determination processing is performed (S23). Here, using the result of the noise detection process in step S21, it is determined whether or not to perform additional light-shielding shooting using the number of defective pixels and the number of block offsets. The shooting conditions are calculated.

この追加遮光撮影条件判断処理の詳しい動作については、図16を用いて説明する。追加遮光撮影条件判断処理のフローに入ると、まず、欠陥個数判別処理を行う(S81)。ここでは、ステップS21で保存された欠陥アドレスdefect_add[x][y][n]の個数を用いてスレッシュ判断を行い、追加遮光撮影が必要な場合は追加暗時撮影フラグAdd_Black_flgを「1」とする。   Detailed operation of this additional light-shielding shooting condition determination process will be described with reference to FIG. If the flow of the additional light-shielding shooting condition determination process is entered, first, the defect number determination process is performed (S81). Here, the threshold determination is performed using the number of defect addresses defect_add [x] [y] [n] stored in step S21, and the additional dark shooting flag Add_Black_flg is set to “1” when additional shading shooting is necessary. To do.

欠陥アドレスの個数とスレッシュ値を比較するスレッシュ判断としては、例えば、下記式(15)が成立するかに応じた判断を行う。
欠陥個数<(1/Dark_TV_coe)×((Bright_Tem[n]−A欠陥個数)/B欠陥個数)×C欠陥個数 ・・・(15)
この式(15)が成立する時に、Add_Black_flg=1とする。
As the threshold determination for comparing the number of defective addresses and the threshold value, for example, a determination is made according to whether the following equation (15) is satisfied.
Number of defects <(1 / Dark_TV_coe) × ((Bright_Tem [n] −A number of defects ) / B number of defects ) × C number of defects (15)
When this equation (15) is established, Add_Black_flg = 1.

なお、式(15)において、Bright_Tem[n]の値がA未満時にはAにクリップする。また、A欠陥個数、B欠陥個数、C欠陥個数、は係数である。例えば、これらの係数(A欠陥個数,B欠陥個数,C欠陥個数)は、撮像素子の回路構造に依存して決まる欠陥画素出力特性(A欠陥個数,B欠陥個数)、および一定(C欠陥個数)の定数である。欠陥個数が少ない場合に追加暗時撮影フラグAdd_Black_flgを1としている。 In Expression (15), when the value of Bright_Tem [n] is less than A, it is clipped to A. Further, the number of A defects, the number of B defects, and the number of C defects are coefficients. For example, these coefficients ( number of A defects, number of B defects, number of C defects ) are determined according to the circuit structure of the image sensor, and the pixel output characteristics ( number of A defects, number of B defects ) and constant ( number of C defects ) ) Constant. The additional dark shooting flag Add_Black_flg is set to 1 when the number of defects is small.

ステップS81において、欠陥個数判別処理を行うと、次に、ブロックオフセット判別処理を行う(S83)。ここでは、ステップS21で保存されたブロックオフセット値Block_AVE[m][n]のレベルがスレッシュ以上、スレッシュ以下である場合に、追加暗時撮影フラグAdd_Black_flgを「1」とする。   In step S81, if the defect count determination process is performed, next, a block offset determination process is performed (S83). Here, when the level of the block offset value Block_AVE [m] [n] stored in step S21 is not less than the threshold and not more than the threshold, the additional dark shooting flag Add_Black_flg is set to “1”.

ここでは、スレッシュ判断とは、例えば、下記式(16)が成立するかに応じた判断を行う。
Block_AVE[m][n]<(1/Dark_TV_coe)×((Bright_Tem[n]−A Block_AVE[m][n]1)/B Block_AVE[m][n]1)×C Block_AVE[m][n]1 ・・・(16)
この式(16)が成立する時に、Add_Black_flg=1とする。
Here, the threshold determination is performed according to whether, for example, the following equation (16) is satisfied.
Block_AVE [m] [n] <(1 / Dark_TV_coe) × ((Bright_Tem [n] −A Block_AVE [m] [n] 1 ) / B Block_AVE [m] [n] 1 ) × C Block_AVE [m] [n ] 1 ... (16)
When this equation (16) is established, Add_Black_flg = 1.

なお、これらの係数(A Block_AVE[m][n]1,B Block_AVE[m][n]1,C Block_AVE[m][n]1)は、撮像素子の回路構造に依存して決まるシェーディング出力特性(A Block_AVE[m][n]1,B Block_AVE[m][n]1)であり、一定(C Block_AVE[m][n]1)の定数である。 These coefficients (A Block_AVE [m] [n] 1 , B Block_AVE [m] [n] 1, C Block_AVE [m] [n] 1 ) are shading outputs that are determined depending on the circuit structure of the image sensor. It is a characteristic (A Block_AVE [m] [n] 1 , B Block_AVE [m] [n] 1 ) and a constant (C Block_AVE [m] [n] 1 ).

また、スレッシュ判断とは、例えば、下記式(17)が成立するかに応じた判断を行う。
Block_AVE[m][n]>(1/Dark_TV_coe)×((Bright_Tem[n]−A Block_AVE[m][n]2)/B Block_AVE[m][n]2)× C Block_AVE[m][n]2 ・・・(17)
この式(17)が成立する時に、Add_Black_flg=1とする。
In addition, the threshold determination is performed according to whether, for example, the following formula (17) is satisfied.
Block_AVE [m] [n]> (1 / Dark_TV_coe) x ((Bright_Tem [n] -A Block_AVE [m] [n] 2 ) / B Block_AVE [m] [n] 2 ) x C Block_AVE [m] [n ] 2 ... (17)
When this equation (17) is established, Add_Black_flg = 1.

なお、例えば、これらの係数(A Block_AVE[m][n]2,B Block_AVE[m][n]2,C Block_AVE[m][n]2)は、撮像素子の回路構造に依存して決まるシェーディング出力特性(A Block_AVE[m][n]2,B Block_AVE[m][n]2)であり、一定(C Block_AVE[m][n]2)の定数である。 For example, these coefficients (A Block_AVE [m] [n] 2 , B Block_AVE [m] [n] 2, C Block_AVE [m] [n] 2 ) are determined depending on the circuit structure of the image sensor. The shading output characteristics (A Block_AVE [m] [n] 2 , B Block_AVE [m] [n] 2 ) are constants (C Block_AVE [m] [n] 2 ).

上述の式(16)が成立する場合は、シェーディングが検出できていない場合で、追加暗時撮影が必要だと判断される。また、式(17)が成立する場合はシェーディング特性が検出され、この特性が非線形の場合に、追加暗時撮影が必要だと判断される。式(16)判断式や、式(17)の判断式は画像データBright_Image[n]の各撮影条件(ISO感度Bright_ISO[n]、露光時間Bright_TV[n]、撮影温度Bright_Tem[n])や、撮像素子の回路構造に依存して決まるシェーディング出力特性に基づいて決める。   When the above equation (16) holds, it is determined that additional dark imaging is necessary when shading is not detected. Further, when the equation (17) is established, a shading characteristic is detected. When this characteristic is non-linear, it is determined that additional dark imaging is necessary. Expression (16) and Expression (17) are determined based on the image data Bright_Image [n] imaging conditions (ISO sensitivity Bright_ISO [n], exposure time Bright_TV [n], imaging temperature Bright_Tem [n]), It is determined based on the shading output characteristics determined depending on the circuit structure of the image sensor.

ステップS83において、ブロックオフセット判別処理を行うと、次に、追加遮光撮影条件算出処理を行う(S85)。ここでは、ステップS81またはS83でAdd_Black_flg=1だった場合、追加暗時撮影条件を算出する。図12のS75で決められた遮光撮影条件Dark_ISO、Dark_TVに基づいて追加遮光条件Dark_Add_ISO、Dark_Add _TVを決める。   If block offset discrimination processing is performed in step S83, then additional light-shielding shooting condition calculation processing is performed (S85). Here, if Add_Black_flg = 1 in step S81 or S83, additional dark imaging conditions are calculated. Based on the shading imaging conditions Dark_ISO and Dark_TV determined in S75 of FIG. 12, additional shading conditions Dark_Add_ISO and Dark_Add_TV are determined.

追加遮光条件Dark_Add_ISO、Dark_Add _TVはテーブル表をあらかじめ内部メモリ3に保持しておいてもよく、また演算式によって求めてもよい。演算式としては、例えば、下記(18)(19)によって算出してもよい。
Dark_Add_ISO=αDark_Add_ISO×Dark_ISO+βDark_Add_ISO ・・・(18)
Dark_Add_TV=αDark_Add_TV×Dark_TV+βDark_Add_TV ・・・(19)
なお、上述の式(18)(19)において、αDark_Add_ISO、βDark_Add_ISO、αDark_Add_TV、βDark_Add_TVは係数である。例えば、これらの係数(αDark_Add_ISODark_Add_ISO, αDark_Add_TV, βDark_Add_TV)は、撮像素子の回路構造に依存して決まる欠陥画素出力特性やシェーディング出力特性による定数である。
The additional shading conditions Dark_Add_ISO and Dark_Add_TV may be stored in advance in the internal memory 3 or may be obtained by an arithmetic expression. As an arithmetic expression, you may calculate by following (18) (19), for example.
Dark_Add_ISO = α Dark_Add_ISO × Dark_ISO + β Dark_Add_ISO (18)
Dark_Add_TV = α Dark_Add_TV × Dark_TV + β Dark_Add_TV (19)
In the above equations (18) and (19), α Dark_Add_ISO , β Dark_Add_ISO, α Dark_Add_TV , and β Dark_Add_TV are coefficients. For example, these coefficients (α Dark_Add_ISO , β Dark_Add_ISO , α Dark_Add_TV , β Dark_Add_TV ) are constants depending on defective pixel output characteristics and shading output characteristics determined depending on the circuit structure of the image sensor.

図15に戻り、ステップS23において、追加遮光撮影条件判断処理を行うと、次に、追加で遮光撮影を行わないか否かの判定を行う(S24)。ステップS23における追加遮光撮影条件判断処理において、追加遮光撮影が必要な場合には、Add_Black_flgに「1」がセットされるので(後述する図16のS81、S83参照)、このフラグに基づいて判定する。   Returning to FIG. 15, if the additional light-shielding photographing condition determination process is performed in step S23, it is next determined whether or not additional light-shielding photographing is performed (S24). In the additional light-shielding shooting condition determination process in step S23, when additional light-shielding shooting is required, “1” is set in Add_Black_flg (see S81 and S83 in FIG. 16 described later), and determination is made based on this flag. .

ステップS24における判定の結果、使いで遮光撮影を行う場合には、遮光準備を行う(S25)。ここでは、ステップS13における遮光準備と同様に、システム制御部8は、シャッタ2cを遮光させるように制御する。また、遮光撮影に備えて、撮像素子2dの電荷を一度リセットするよう制御する。追加遮光撮影における撮影条件は、ステップS23の追加遮光撮影条件判断処理内において算出された追加遮光撮影条件(ISO感度、露光時間)に従う(図16のS85参照)。   If the result of determination in step S24 is to perform shading shooting with use, preparation for shading is made (S25). Here, similarly to the light shielding preparation in step S13, the system control unit 8 controls the shutter 2c to shield the light. In preparation for light-shielding photography, control is performed to reset the charge of the image sensor 2d once. The shooting conditions in the additional light-shielding shooting follow the additional light-shielding shooting conditions (ISO sensitivity, exposure time) calculated in the additional light-shielding shooting condition determination process in step S23 (see S85 in FIG. 16).

遮光準備ができると、次に遮光撮影を開始する(S26)。ここでは、ステップS15と同様に、シャッタ2cで遮光した状態で、撮像素子2dのリセットを解除して、遮光撮影を開始させる。   When the light-shielding preparation is completed, the light-shielding photographing is started (S26). Here, similarly to step S15, in a state where light is shielded by the shutter 2c, the reset of the image sensor 2d is released, and light-shielded photographing is started.

遮光撮影を開始すると、次に設定された撮影時間に達したか否かを判定する(S27)。ここでは、ステップS25において、設定された追加遮光撮影時の撮影時間が経過したか否かに基づいて判定する。この判定の結果、追加遮光撮影時の撮影時間が経過していない場合には、この撮影時間が達するのを待つ。   When shaded shooting is started, it is determined whether or not the next set shooting time has been reached (S27). Here, in step S25, the determination is made based on whether or not the set shooting time at the time of additional light-shielding shooting has elapsed. If the result of this determination is that the imaging time for additional light-shielding imaging has not elapsed, the system waits for this imaging time to be reached.

ステップS27における判定の結果、設定された撮影時間に達すると、撮像素子より画像を読み出し、内部メモリに保存する(S28)。ここでは、撮像素子2dから、追加遮光撮影による遮光画像データを取得し、この取得した遮光画像データを内部メモリ3に格納する。この格納された画像データは、画像データDark_Image[2]とする。Dark_Image[2]は、追加遮光して得られた画像データを意味する。   As a result of the determination in step S27, when the set shooting time is reached, an image is read from the image sensor and stored in the internal memory (S28). Here, the light-shielded image data obtained by the additional light-shielded photographing is acquired from the image sensor 2 d, and the acquired light-shielded image data is stored in the internal memory 3. The stored image data is image data Dark_Image [2]. Dark_Image [2] means image data obtained by additional light shielding.

遮光画像データを読出し内部メモリに格納すると、次に、ノイズ検出処理を行う(S29)。ここでは、ステップS28において、内部メモリ3に格納した遮光画像データDark_Image[2]を読出し、ノイズ検出処理部4aが遮光画像データを用いて、ノイズ検出処理を行う。ノイズ検出処理は、ステップS21と同様に、ノイズとして現われる欠陥画素の位置と、シェーディングとして現われるブロックオフセットを検出する(図3参照)。   Once the shaded image data is read and stored in the internal memory, a noise detection process is performed (S29). Here, in step S28, the shaded image data Dark_Image [2] stored in the internal memory 3 is read, and the noise detection processing unit 4a performs noise detection processing using the shaded image data. Similarly to step S21, the noise detection process detects the position of the defective pixel that appears as noise and the block offset that appears as shading (see FIG. 3).

ステップS29においてノイズ検出処理を行うと、またはステップS24における判定の結果、追加で遮光撮影を行わない場合には、次に、ノイズ補正処理を行う(S33a)。追加遮光撮影を行わなかった場合には、ステップS12〜S19において行った遮光撮影の結果に基づいて行ったステップS21におけるノイズ検出処理に基づいて、また追加遮光撮影を行った場合には、ステップS29におけるノイズ検出処理に基づいて、ノイズ補正を行う。   If noise detection processing is performed in step S29 or if the result of determination in step S24 is that additional light-shielding shooting is not performed, next, noise correction processing is performed (S33a). When the additional light-shielding shooting is not performed, when the additional light-shielding photographing is performed based on the noise detection process at step S21 performed based on the result of the light-shielding photographing performed at steps S12 to S19. Noise correction is performed based on the noise detection processing in FIG.

追加の遮光撮影を行ったか否かについては、前述のフラグAdd_Black_flgに基づいて判定する。Add_Black_flg=0の場合は、追加遮光撮影を行わなかった場合であり、この場合には、前述のステップS33におけるノイズ補正処理と同じであることから、詳しい説明は処略する。   Whether or not additional light-shielding shooting has been performed is determined based on the aforementioned flag Add_Black_flg. The case of Add_Black_flg = 0 is a case where no additional light-shielding photographing is performed. In this case, since it is the same as the noise correction processing in step S33 described above, detailed description is omitted.

一方、Add_Black_flg=1の場合は、追加遮光撮影を行った場合である。この場合には、ステップS28で格納した追加遮光撮影時の画像データと、ステップS29で行ったノイズ検出結果に基づいて、ステップS33aにおいてノイズ補正処理を行う。   On the other hand, when Add_Black_flg = 1, this is a case where additional light-shielding shooting is performed. In this case, noise correction processing is performed in step S33a based on the image data at the time of additional light-shielding shooting stored in step S28 and the noise detection result performed in step S29.

ステップS33aにおけるノイズ補正処理は、図4に示したノイズ補正処理の動作と略同じであるが、細部において異なっている。図4に示したノイズ補正処理に入ると、まず、欠陥補正を行う(図4のS61)。ここでは、ステップS9において取得した画像データBright_Image[n]に対し、ステップS28で保存したDark_Image[2]に基づいて、ステップS29において検出し保存した欠陥画素アドレスdefect_add[x][y][n]に基づいて、欠陥補正を行う。欠陥補正した画像データをBright_Image_defect[n]とする。欠陥補正方法は第1実施形態と同様な処理のため説明を割愛する。   The noise correction process in step S33a is substantially the same as the noise correction process shown in FIG. 4, but differs in detail. When the noise correction process shown in FIG. 4 is entered, first, defect correction is performed (S61 in FIG. 4). Here, the defective pixel address defect_add [x] [y] [n] detected and stored in step S29 based on Dark_Image [2] stored in step S28 for the image data Bright_Image [n] acquired in step S9. Based on the above, defect correction is performed. The image data after defect correction is defined as Bright_Image_defect [n]. Since the defect correction method is the same as that of the first embodiment, the description thereof is omitted.

ステップS61において、欠陥補正を行うと、次にブロックオフセット補正を行う(図4のS63)。ここでは、ステップS61において欠陥補正した画像データをBright_Image_defect[n]に対しステップS29で保存したBlock_AVE[m][n]を用いてブロックオフセット補正を行う。ブロックオフセット補正した画像データを画像データRaw_Image[n]とする。Raw_Image[n]は、露光して順次得られたn番目の露光画像データBright_Image[n]のノイズ補正処理を行った画像データを意味する。n=1、2、・・・であり、初期値は1である。ブロックオフセット補正方法は第1実施形態と同様な処理のため説明を割愛する。   If defect correction is performed in step S61, then block offset correction is performed (S63 in FIG. 4). Here, the block offset correction is performed using the Block_AVE [m] [n] stored in Step S29 for Bright_Image_defect [n] of the image data corrected in Step S61. The image data subjected to the block offset correction is set as image data Raw_Image [n]. Raw_Image [n] means image data obtained by performing noise correction processing on the nth exposure image data Bright_Image [n] sequentially obtained by exposure. n = 1, 2,..., and the initial value is 1. Since the block offset correction method is the same as that in the first embodiment, the description thereof is omitted.

ブロックオフセット補正を行う(S63)。第1、第2実施形態においては、ステップS61において欠陥補正した画像データBright_Image_defect[n]に対して、ステップS53で保存したBlock_AVE[m][n]を用いて、ブロックオフセット補正を行っていた。本実施形態においては、ブロックオフセット補正において使用するBlock_AVE[m][n]の係数(α[n] Block_AVE、β[n] Block_AVE)を、ステップS29において得られたBlock_AVE[m][n]や、露光撮影時の画像データBright_Image[n]の各撮影条件(ISO感度Bright_ISO[n]、露光時間Bright_TV[n]、撮影温度Bright_Tem[n])や、1回目の遮光撮影時の画像データDark_Image[1]の各撮影条件(ISO感度Dark_ISO、露光時間Dark_TV、撮影温度Dark_Tem)、追加遮光撮影時の画像データDark_Image[2]の各撮影条件(ISO感度Dark_Add_ISO、露光時間Dark_Add_TV、撮影温度Dark_Add_Tem)により算出する。また、ブロックオフセット補正において使用するBlock_AVE[m][n]の係数(α[n]Block_AVE、β[n]Block_AVE)は、撮像素子の回路構造に依存して決まるシェーディング出力特性により算出して、S63の処理におけるブロックオフセット補正の処理に利用してもよい。 Block offset correction is performed (S63). In the first and second embodiments, block offset correction is performed on the image data Bright_Image_defect [n] corrected in step S61 by using Block_AVE [m] [n] stored in step S53. In the present embodiment, the Block_AVE [m] [n] coefficients (α [n] Block_AVE , β [n] Block_AVE ) used in the block offset correction are calculated using the Block_AVE [m] [n] , Each shooting condition (ISO sensitivity Bright_ISO [n], exposure time Bright_TV [n], shooting temperature Bright_Tem [n]) of image data Bright_Image [n] at the time of exposure shooting, and image data Dark_Image [ Calculated based on each shooting condition (ISO sensitivity Dark_ISO, exposure time Dark_TV, shooting temperature Dark_Tem) and image data Dark_Image [2] shooting conditions (ISO sensitivity Dark_Add_ISO, exposure time Dark_Add_TV, shooting temperature Dark_Add_Tem) To do. In addition, the coefficients of block_AVE [m] [n] (α [n] Block_AVE , β [n] Block_AVE ) used in block offset correction are calculated by shading output characteristics determined depending on the circuit structure of the image sensor, You may utilize for the process of block offset correction | amendment in the process of S63.

図17に、ブロックオフセット補正係数算出のイメージ図を示す。図17において、横軸は、遮光撮影を行う際の撮影条件を示し、露光時間、ISO感度、撮影温度を総合的に示したものである。具体的には、撮影条件として、遮光時における、撮像素子2dの撮像面に対する露出量(露光時間(電荷蓄積時間)とISO感度の積)に対して、撮像素子2dの温度特定に関係する温度係数を重み付けした値を示している。例えば、横軸は座標右側の撮影条件になると、露光時間が長い、ISO感度が高い、または撮影温度が高い条件になる関係である。   FIG. 17 shows an image diagram of block offset correction coefficient calculation. In FIG. 17, the horizontal axis indicates shooting conditions when performing light-shielded shooting, and comprehensively shows exposure time, ISO sensitivity, and shooting temperature. Specifically, as a photographing condition, a temperature related to the temperature specification of the image sensor 2d with respect to an exposure amount (product of exposure time (charge accumulation time) and ISO sensitivity) with respect to the imaging surface of the image sensor 2d when light is blocked A value obtained by weighting the coefficient is shown. For example, the horizontal axis represents the relationship where the exposure time is long, the ISO sensitivity is high, or the imaging temperature is high when the imaging conditions on the right side of the coordinates are met.

また、縦軸は、ブロック毎の平均値(Block_AVE[m][n])を示している。図17から分かるように、まず、1回目の遮光撮影時に得られたDark_Image[1]と(Dark_Image[1]を取得時の撮影条件)、2回目の追加遮光撮影時の画像データDark_Image[2](Dark_Image[2]を取得時の撮影条件)とから、それぞれブロック毎の平均値(Dark_Image[1]のBlock_AVE[m][n]をBlock_AVE[m][n]-1とする。Dark_Image[2]のBlock_AVE[m][n]をBlock_AVE[m][n]-2とする。)を算出する。   The vertical axis represents the average value (Block_AVE [m] [n]) for each block. As can be seen from FIG. 17, first, Dark_Image [1] obtained at the first shading shooting (shooting conditions when acquiring Dark_Image [1]) and image data Dark_Image [2] at the second additional shading shooting (Shooting conditions when acquiring Dark_Image [2]), the average value for each block (Block_AVE [m] [n] of Dark_Image [1] is set to Block_AVE [m] [n] -1. Dark_Image [2 ] Is calculated as Block_AVE [m] [n] -2.

次に、この2つの値の変化より、露光時間と同じ露光条件とした場合の遮光撮影時の画像データにおけるブロック毎の平均値(Block_AVE[m][n]-3)を予測する。この予測は、具体的には、まず、1回目、2回目の遮光撮影時の画像データから算出したそれぞれブロック毎の平均値(Block_AVE[m][n]-1、Blok_AVE[m][n]-2)から線形変化した場合の係数α[n]Block_AVEを算出する。 Next, an average value (Block_AVE [m] [n] −3) for each block in the image data at the time of light-shielded photographing under the same exposure condition as the exposure time is predicted from the change of these two values. Specifically, this prediction is performed by first calculating the average value for each block (Block_AVE [m] [n] -1, Blok_AVE [m] [n]) calculated from the image data at the first and second shaded shooting. -2) Calculate the coefficient α [n] Block_AVE for the linear change.

次に、シェーディング出力特性に応じた係数β[n]Block_AVEを決定する。最後に、Block_AVE[m][n]-2に係数α[n]Block_AVEを乗算し、係数β[n]Block_AVEを加算して、Block_AVE[m][n]-3を算出する。図9と同じように、Bright_Image_defect[n]からBlock_AVE[m][n]-3を減算することでブロックオフセットを補正した画像データ(Raw_Image[n])を得ることができる。 Next, a coefficient β [n] Block_AVE corresponding to the shading output characteristic is determined. Finally, Block_AVE [m] [n] -2 is multiplied by coefficient α [n] Block_AVE , and coefficient β [n] Block_AVE is added to calculate Block_AVE [m] [n] -3. As in FIG. 9, image data (Raw_Image [n]) with corrected block offset can be obtained by subtracting Block_AVE [m] [n] -3 from Bright_Image_defect [n].

なお、前述のオフセット増加分(β[n]Block_AVE)の推定が必要な理由は、遮光撮影時の画像データにおけるブロック毎の平均値は、必ずしも、露光時間、ISO感度、撮影温度に対して線形的な変化をするとは限らないためである。 The reason why the offset increase (β [n] Block_AVE ) needs to be estimated is that the average value for each block in the image data at the time of the light-shielded photographing is not necessarily linear with respect to the exposure time, ISO sensitivity, and photographing temperature. This is because it does not always change.

ステップS33aにおいて、ノイズ補正処理を行うと、ステップS35〜S39を実行する。ステップS39において、画像データに基づいて表示を行うと、図15に示す撮影のためのフローを終了する。   If noise correction processing is performed in step S33a, steps S35 to S39 are executed. When display is performed based on the image data in step S39, the flow for photographing shown in FIG. 15 is terminated.

このように、本実施形態においても、通常露光撮影(図15のS3〜S11)と、所定の露光時間にて遮光撮影を行い(図15のS12〜S19)、所定の露光時間にて遮光画像からノイズ抽出を行っている(図15のS21)。   As described above, also in the present embodiment, the normal exposure shooting (S3 to S11 in FIG. 15) and the light-shielding shooting with the predetermined exposure time (S12 to S19 in FIG. 15) are performed, and the light-shielded image with the predetermined exposure time. Noise extraction is performed (S21 in FIG. 15).

また、本実施形態においても、第2実施形態と同様に、遮光撮影の撮影条件設定(ISO感度、露光時間)は、通常露光の撮影条件、または外部操作によって設定された条件に応じて決めている(図15のS12)。すなわち、通常露光撮影の撮影条件(ISO感度、露光時間、温度)に基づいて、遮光撮影の撮影条件設定(ISO感度、露光時間)を決めている。   Also in the present embodiment, as in the second embodiment, the shooting condition setting (ISO sensitivity, exposure time) for light-shielded shooting is determined according to the shooting conditions for normal exposure or the conditions set by external operation. (S12 in FIG. 15). That is, shooting condition settings (ISO sensitivity, exposure time) for light-shielded shooting are determined based on shooting conditions (ISO sensitivity, exposure time, temperature) for normal exposure shooting.

また、本実施形態においては、遮光画像からノイズ抽出を行い抽出結果により、追加で遮光撮影を行うか判断するようにしている(図15のS23)。このため、露光撮影終了後の遮光撮影で取得した画像データによってノイズ検出及びノイズ補正が十分でない場合には、追加の遮光撮影を行い、精度よくノイズ補正を行った画像データを取得することができる。   In the present embodiment, noise is extracted from the light-shielded image, and it is determined whether additional light-shielding shooting is performed based on the extraction result (S23 in FIG. 15). For this reason, when noise detection and noise correction are not sufficient by the image data acquired by shading after the exposure shooting is completed, additional shading shooting can be performed to obtain image data that has been subjected to noise correction with high accuracy. .

以上説明したように、本発明の各実施形態においては、撮影光学系によって被写体像が撮像素子上に結像した状態で露光開始から露光終了までの通常露光を制御し(例えば、図2のS3〜S11)、また露光遮断制御部によって被写体像の結像が遮断された状態で、露光開始から露光終了までの遮光露光を制御し(例えば、図2のS13〜S19)、遮光露光を行った後に撮像素子によって生成された遮光画像データに基づいてノイズ抽出を行い(例えば、図2のS21)、このノイズの抽出結果に基づいて、通常露光を行った後に撮像素子によって生成された通常露光画像データ(例えば、図2のS9参照)に対して、ノイズ補正を行う(例えば、図2のS33)。   As described above, in each embodiment of the present invention, normal exposure from the start of exposure to the end of exposure is controlled in a state where the subject image is formed on the image sensor by the photographing optical system (for example, S3 in FIG. 2). To S11), and in the state where the image formation of the subject image is blocked by the exposure blocking control unit, the light blocking exposure from the start of exposure to the end of exposure is controlled (for example, S13 to S19 in FIG. 2), and the light blocking exposure is performed. Noise extraction is performed based on the shading image data generated later by the image sensor (for example, S21 in FIG. 2), and the normal exposure image generated by the image sensor after performing normal exposure based on the noise extraction result. Noise correction is performed on the data (for example, see S9 in FIG. 2) (for example, S33 in FIG. 2).

このため、予め、撮影条件ごとに欠陥情報を記録しておく必要がなく、メモリ容量が大きくことなることがなく、ノイズ除去処理に伴う補正回路を大規模となることがない。また、検出された欠陥画素位置の画素値を補正するだけであるので、ランダムノイズの補正のために解像度が劣化することはなく、またノイズ除去処理において誤補正を行うことがない。   For this reason, it is not necessary to record defect information for each photographing condition in advance, the memory capacity does not increase, and the correction circuit associated with the noise removal process does not become large. Further, since only the pixel value of the detected defective pixel position is corrected, the resolution does not deteriorate due to the correction of random noise, and no erroneous correction is performed in the noise removal process.

なお、本発明の各実施形態においては、遮光画像データに基づいて欠陥画素位置の検出やオフセット補正を行っているが、これに限らず、遮光画像データ基づいてノイズを抽出し、この抽出したノイズに基づいてノイズ補正を行うものであれば、本発明の実施形態に限定されない。また、ノイズ補正も、本発明実施形態で説明したものに限定されず、他の補正方法であっても構わない。   In each embodiment of the present invention, detection of a defective pixel position and offset correction are performed based on light-shielded image data. However, the present invention is not limited to this, and noise is extracted based on light-shielded image data. As long as noise correction is performed based on the above, the present invention is not limited to the embodiment. Further, the noise correction is not limited to that described in the embodiment of the present invention, and other correction methods may be used.

また、本発明の各実施形態においては、ノイズ算出処理部4a、ノイズ補正処理部4bは画像処理部4として、システム制御部8と別体の構成としたが、各部の全部または一部をソフトウエアで構成し、システム制御部8内のCPUとプログラムによって実行するようにしても勿論かまわない。また、同様に、遮光撮影条件算出処理部11、追加遮光撮影判断処理部12についても、全部または一部をソフトウエアで構成し、システム制御部8内のCPUとプログラムによって実行するようにしても勿論かまわない。   In each embodiment of the present invention, the noise calculation processing unit 4a and the noise correction processing unit 4b are configured separately from the system control unit 8 as the image processing unit 4, but all or a part of each unit is software. Of course, it may be configured by software and executed by a CPU and a program in the system control unit 8. Similarly, the shading imaging condition calculation processing unit 11 and the additional shading imaging determination processing unit 12 may be entirely or partially configured by software and executed by the CPU and program in the system control unit 8. Of course it doesn't matter.

また、本実施形態においては、撮影のための機器として、デジタルカメラを用いて説明したが、カメラとしては、デジタル一眼レフカメラでもコンパクトデジタルカメラでもよく、ビデオカメラ、ムービーカメラのような動画用のカメラでもよく、さらに、携帯電話、スマートフォン、携帯情報端末(PDA:Personal Digital Assist)、パーソナルコンピュータ(PC)、タブレット型コンピュータ、ゲーム機器等に内蔵されるカメラでも構わない。いずれにしても、撮像部を有し、この撮像部からの画像データを表示や記録する等の処理を行う撮像のための機器であれば、本発明を適用することができる。   In the present embodiment, the digital camera is used as the photographing device. However, the camera may be a digital single-lens reflex camera or a compact digital camera, and may be used for moving images such as video cameras and movie cameras. It may be a camera, and may be a camera built in a mobile phone, a smart phone, a personal digital assistant (PDA), a personal computer (PC), a tablet computer, a game machine, or the like. In any case, the present invention can be applied to any device that has an imaging unit and performs processing such as displaying and recording image data from the imaging unit.

また、本明細書において説明した技術のうち、主にフローチャートで説明した制御に関しては、プログラムで設定可能であることが多く、記録媒体や記録部に収められる場合もある。この記録媒体、記録部への記録の仕方は、製品出荷時に記録してもよく、配布された記録媒体を利用してもよく、インターネットを介してダウンロードしたものでもよい。   Of the techniques described in this specification, the control mainly described in the flowchart is often settable by a program and may be stored in a recording medium or a recording unit. The recording method for the recording medium and the recording unit may be recorded at the time of product shipment, may be a distributed recording medium, or may be downloaded via the Internet.

また、特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず」、「次に」等の順番を表現する言葉を用いて説明したとしても、特に説明していない箇所では、この順で実施することが必須であることを意味するものではない。   In addition, regarding the operation flow in the claims, the specification, and the drawings, even if it is described using words expressing the order such as “first”, “next”, etc. It does not mean that it is essential to implement in this order.

本発明は、上記実施形態にそのまま限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素の幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   The present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, you may delete some components of all the components shown by embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

1・・・撮像装置、2・・・撮像部、2a・・・撮影光学系、2b・・・絞り、2c・・・シャッタ、2d・・・撮像素子、3・・・内部メモリ、4・・・画像処理部、4a・・・ノイズ算出処理部、4b・・・ノイズ補正処理部、4c・・・画像現像処理部、5・・・外部メモリ、6・・・表示部、7・・・入力部、8・・・システム制御部、9・・・バス、10・・・温度検出部、11・・・遮光撮影条件算出処理部、12・・・追加遮光撮影判断処理部
DESCRIPTION OF SYMBOLS 1 ... Imaging device, 2 ... Imaging part, 2a ... Imaging optical system, 2b ... Aperture, 2c ... Shutter, 2d ... Imaging element, 3 ... Internal memory, 4. Image processing unit, 4a ... Noise calculation processing unit, 4b ... Noise correction processing unit, 4c ... Image development processing unit, 5 ... External memory, 6 ... Display unit, 7 ... Input unit, 8 ... system control unit, 9 ... bus, 10 ... temperature detection unit, 11 ... shading imaging condition calculation processing unit, 12 ... additional shading imaging judgment processing unit

Claims (11)

撮像面に複数の画素を有し、被写体像を光電変換して画像データを生成する撮像素子と、
上記撮像素子に上記被写体像を結像させる撮影光学系と、
上記撮像素子に上記被写体像の結像を遮断する露光遮断制御部と、
上記撮影光学系によって上記被写体像が上記撮像素子上に結像した状態で露光開始から露光終了までの通常露光を制御し、また上記露光遮断制御部によって上記被写体像の結像が遮断された状態で、露光開始から露光終了までの遮光露光を制御する露光制御部と、
上記遮光露光を行った後に上記撮像素子によって生成された遮光画像データに基づいて、ノイズ抽出を行うノイズ抽出部と、
上記ノイズ抽出部によるノイズの抽出結果に基づいて、上記通常露光を行った後に上記撮像素子によって生成された通常露光画像データに対して、ノイズ補正を行うノイズ補正部と、
を具備したことを特徴とする撮像装置。
An image sensor that has a plurality of pixels on the imaging surface and photoelectrically converts a subject image to generate image data;
A photographing optical system for forming the subject image on the image sensor;
An exposure blocking control unit that blocks image formation of the subject image on the image sensor;
A state in which normal exposure from the start of exposure to the end of exposure is controlled while the subject image is formed on the image sensor by the photographing optical system, and the image formation of the subject image is blocked by the exposure cutoff control unit And an exposure control unit for controlling light-shielding exposure from the start of exposure to the end of exposure,
A noise extraction unit that performs noise extraction based on the light-shielded image data generated by the image sensor after the light-shielding exposure;
Based on the noise extraction result by the noise extraction unit, a noise correction unit that performs noise correction on the normal exposure image data generated by the imaging device after performing the normal exposure;
An imaging apparatus comprising:
上記ノイズ抽出部は、上記遮光画像データの画素と、該画素の周囲の画素の各値の中間値を算出し、この中間値と閾値の比較に基づいて、欠陥画素の位置を求めることを特徴とする請求項1に記載の撮像装置。   The noise extraction unit calculates an intermediate value between each value of the pixel of the shaded image data and pixels around the pixel, and obtains the position of the defective pixel based on a comparison between the intermediate value and a threshold value. The imaging apparatus according to claim 1. 上記ノイズ補正部は、上記欠陥画素の位置の画素値を周囲の画素の画素値を用いて、補間演算によって補正することを特徴とする請求項2に記載の撮像装置。   The imaging apparatus according to claim 2, wherein the noise correction unit corrects the pixel value at the position of the defective pixel by interpolation calculation using pixel values of surrounding pixels. 上記撮像素子は、常時遮光されている複数の画素で構成されている画素領域であるオプティカルブラック画素領域をさらに有しており、
上記ノイズ抽出部は、上記オプティカルブラック画素領域における画素出力の代表値と、上記遮光画像データの画素をブロック毎に最大値と最小値の差分値を算出し、上記差分値と閾値の比較に基づいて、上記撮像素子の撮像面の中心領域からの距離に応じて、上記遮光画像データにおける画素出力の変化であるシェーディング成分、または、上記遮光画像データの画素出力と、上記オプティカルブラック画素領域における画素出力の代表値との差であるオプティカルブラック段差成分を求めることを特徴とする請求項1に記載の撮像装置。
The imaging device further includes an optical black pixel region that is a pixel region composed of a plurality of pixels that are constantly shielded from light,
The noise extraction unit calculates a difference value between a maximum value and a minimum value for each block of a pixel output representative value in the optical black pixel region and a pixel of the light-shielded image data, and based on a comparison between the difference value and a threshold value. Then, depending on the distance from the center area of the imaging surface of the imaging element, the shading component, which is a change in pixel output in the light-shielded image data, or the pixel output of the light-shielded image data, and the pixels in the optical black pixel area The imaging apparatus according to claim 1, wherein an optical black step component that is a difference from a representative output value is obtained.
上記ノイズ補正部は、上記通常露光画像データの画素値から、上記シェーディング成分またはオプティカルブラック段差成分を減算することによって、ノイズ補正を行うことを特徴とする請求項4に記載の撮像装置。   The imaging apparatus according to claim 4, wherein the noise correction unit performs noise correction by subtracting the shading component or the optical black level difference component from a pixel value of the normal exposure image data. 上記ノイズ補正部における補正量は、通常露光時または遮光露光時におけるISO感度、露光時間、および温度の少なくとも1つの条件に応じて変更することを特徴とする請求項3又は5に記載の撮像装置。   6. The imaging apparatus according to claim 3, wherein the correction amount in the noise correction unit is changed according to at least one of the conditions of ISO sensitivity, exposure time, and temperature during normal exposure or light-shielding exposure. . 上記ノイズ補正部における補正量は、ISO感度、露光時間、および温度の少なくとも1つの条件を、複数枚通常露光した際の各露光時に異ならせることを特徴とする請求項3又は5に記載の撮像装置。   6. The imaging according to claim 3, wherein the correction amount in the noise correction unit varies at least one condition of ISO sensitivity, exposure time, and temperature at each exposure time when a plurality of normal exposures are performed. apparatus. 上記露光制御部は、上記遮光露光を行う際の露光時間は、上記通常露光を行う際の露光時間に依存しないことを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the exposure control unit does not depend on an exposure time when performing the light-shielding exposure depending on an exposure time when performing the normal exposure. 上記露光制御部は、上記遮光露光の際の撮影条件を、通常露光撮影時の撮影条件、または外部操作によって設定された撮影条件、または複数枚露光時の撮影枚数に応じて、決めることを特徴とする請求項1に記載の撮像装置。   The exposure control unit determines a shooting condition at the time of the light-shielded exposure according to a shooting condition at the time of normal exposure shooting, a shooting condition set by an external operation, or a number of shots at the time of multiple exposure. The imaging apparatus according to claim 1. さらに、ノイズ抽出部によるノイズ抽出結果に基づいて、追加の遮光撮影を行うか否かを判断する追加遮光撮影判断部を有し、
上記追加遮光撮影判断部の判断の結果、追加の遮光撮影を行った場合には、該追加の遮光撮影によって取得した遮光画像データに対してノイズ抽出を行い、上記ノイズ補正を行うことを特徴とする請求項1に記載の撮像装置。
Furthermore, based on the noise extraction result by the noise extraction unit, it has an additional light shielding shooting determination unit for determining whether to perform additional light shielding shooting,
As a result of the determination by the additional light shielding photographing determination unit, when additional light shielding photographing is performed, noise extraction is performed on the light shielding image data acquired by the additional light shielding photographing, and the noise correction is performed. The imaging device according to claim 1.
被写体像を光電変換して画像データを生成する撮像素子と、上記撮像素子に上記被写体像を結像させる撮影光学系と、上記撮像素子に上記被写体像の結像を遮断する露光遮断制御部と、を有する撮像装置の撮像方法において、
上記撮影光学系によって上記被写体像が上記撮像素子上に結像した状態で露光開始から露光終了までの通常露光を制御し、また上記露光遮断制御部によって上記被写体像の結像が遮断された状態で、露光開始から露光終了までの遮光露光を制御し、
上記遮光露光を行った後に上記撮像素子によって生成された遮光画像データに基づいて、ノイズ抽出を行い、
上記ノイズの抽出結果に基づいて、上記通常露光を行った後に上記撮像素子によって生成された通常露光画像データに対して、ノイズ補正を行う、
ことを特徴とする撮像装置。
An image sensor that photoelectrically converts a subject image to generate image data, a photographing optical system that forms the subject image on the image sensor, and an exposure block controller that blocks image formation of the subject image on the image sensor In the imaging method of the imaging device having
A state in which normal exposure from the start of exposure to the end of exposure is controlled while the subject image is formed on the image sensor by the photographing optical system, and the image formation of the subject image is blocked by the exposure cutoff control unit And controls the shading exposure from the start of exposure to the end of exposure,
Based on the shading image data generated by the image sensor after performing the shading exposure, noise extraction is performed,
Based on the extraction result of the noise, noise correction is performed on the normal exposure image data generated by the image sensor after performing the normal exposure.
An imaging apparatus characterized by that.
JP2015146649A 2015-07-24 2015-07-24 Imaging device and imaging method Pending JP2017028568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015146649A JP2017028568A (en) 2015-07-24 2015-07-24 Imaging device and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015146649A JP2017028568A (en) 2015-07-24 2015-07-24 Imaging device and imaging method

Publications (1)

Publication Number Publication Date
JP2017028568A true JP2017028568A (en) 2017-02-02

Family

ID=57950739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015146649A Pending JP2017028568A (en) 2015-07-24 2015-07-24 Imaging device and imaging method

Country Status (1)

Country Link
JP (1) JP2017028568A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021010174A1 (en) * 2019-07-16 2021-01-21 ソニー株式会社 Light receiving device and method for driving light receiving device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021010174A1 (en) * 2019-07-16 2021-01-21 ソニー株式会社 Light receiving device and method for driving light receiving device

Similar Documents

Publication Publication Date Title
JP5219778B2 (en) Imaging apparatus and control method thereof
JP6278713B2 (en) Imaging apparatus and imaging method
JP6053447B2 (en) Imaging device
JP5888940B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP6457776B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP6370207B2 (en) Imaging apparatus, image processing apparatus, imaging method, and program
JP5635211B2 (en) Imaging device
JP5482799B2 (en) Electronic camera
JP6351271B2 (en) Image composition apparatus, image composition method, and program
JP2016076869A (en) Imaging apparatus, imaging method and program
JP7281977B2 (en) Focus adjustment device and focus adjustment method
JP6250098B2 (en) Imaging apparatus and imaging method
EP3153903B1 (en) Imaging device and imaging method
JP2016149631A (en) Imaging apparatus and imaging method
JP2017194558A (en) Imaging device and imaging method
JP2014216775A (en) Imaging apparatus, detection method, and program
JP6478703B2 (en) Imaging apparatus and imaging system
JP2017028568A (en) Imaging device and imaging method
JP6501619B2 (en) Imaging apparatus, imaging method
JP2014230121A (en) Imaging apparatus and pixel defect detection method
JP2007306436A (en) Imaging apparatus
JP7129864B2 (en) Imaging device and its control method
JP6294607B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP5862073B2 (en) Imaging device
JP5251700B2 (en) Imaging device