JP4705146B2 - Imaging apparatus and imaging method - Google Patents
Imaging apparatus and imaging method Download PDFInfo
- Publication number
- JP4705146B2 JP4705146B2 JP2008292517A JP2008292517A JP4705146B2 JP 4705146 B2 JP4705146 B2 JP 4705146B2 JP 2008292517 A JP2008292517 A JP 2008292517A JP 2008292517 A JP2008292517 A JP 2008292517A JP 4705146 B2 JP4705146 B2 JP 4705146B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- blocks
- unit
- white balance
- image
- 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.)
- Active
Links
- 238000003384 imaging method Methods 0.000 title claims description 51
- 238000012545 processing Methods 0.000 claims description 128
- 238000004364 calculation method Methods 0.000 claims description 54
- 238000000034 method Methods 0.000 description 51
- 238000012937 correction Methods 0.000 description 46
- 238000011156 evaluation Methods 0.000 description 24
- 230000010354 integration Effects 0.000 description 19
- 238000003860 storage Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 13
- 239000003086 colorant Substances 0.000 description 10
- 238000007906 compression Methods 0.000 description 7
- 230000006835 compression Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 239000000203 mixture Substances 0.000 description 5
- 238000004040 coloring Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 3
- 238000012854 evaluation process Methods 0.000 description 3
- 238000003672 processing method Methods 0.000 description 3
- 230000000295 complement effect Effects 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 206010067482 No adverse event Diseases 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012887 quadratic function Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- WFKWXMTUELFFGS-UHFFFAOYSA-N tungsten Chemical compound [W] WFKWXMTUELFFGS-UHFFFAOYSA-N 0.000 description 1
- 229910052721 tungsten Inorganic materials 0.000 description 1
- 239000010937 tungsten Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/84—Camera processing pipelines; Components thereof for processing colour signals
- H04N23/88—Camera processing pipelines; Components thereof for processing colour signals for colour balance, e.g. white-balance circuits or colour temperature control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/10—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
Description
本発明は、撮像装置及び撮像方法に関する。 The present invention relates to an imaging apparatus and an imaging method.
デジタルスチルカメラなど、被写体を電子的に撮影する電子的撮像装置においては、照明の光源にかかわらず、白い被写体が白く撮影されるように、ホワイトバランスを補正する画像信号処理(ホワイトバランス補正処理)が、一般的に組み込まれている。ホワイトバランス補正処理は、照明光源によっては、肉眼で観察した被写体像と、撮影された画像との間に色彩上の差異が生じる。この場合に、特に白色の被写体が白く再現されるようにするための補正処理である。例えば、日光などの自然光と、蛍光灯などの人工光とでは、両光源の色温度に相違があり、この結果、撮影された画像の白色再現性に大きな影響を及ぼすこととなる。従って、ホワイトバランス補正処理を施すことにより、撮像装置によって再現される画像に違和感が生じないようにすることができる。 In an electronic imaging device that electronically captures a subject, such as a digital still camera, image signal processing (white balance correction processing) that corrects white balance so that a white subject is photographed white regardless of the light source of the illumination Is generally incorporated. In the white balance correction process, depending on the illumination light source, a color difference occurs between the subject image observed with the naked eye and the captured image. In this case, the correction process is performed so that a white subject is reproduced in white. For example, there is a difference in color temperature between natural light such as sunlight and artificial light such as a fluorescent lamp, and as a result, the white reproducibility of a captured image is greatly affected. Therefore, by applying the white balance correction process, it is possible to prevent the image reproduced by the imaging apparatus from feeling uncomfortable.
ホワイトバランスの補正は、撮像素子より得られた画像信号を複数のブロックに分割し、分割したブロック毎にR(赤色)、G(緑色)、B(青色)などの色別積算値を求め、無彩色として制御するか有彩色として処理をするか判断する。そして、無彩色と判断したブロックにおける積算値がR=G=Bとなるように、ホワイトバランス制御を行うことが一般的である。 For white balance correction, the image signal obtained from the image sensor is divided into a plurality of blocks, and an integrated value for each color such as R (red), G (green), and B (blue) is obtained for each divided block. It is determined whether to control as an achromatic color or to process as a chromatic color. In general, white balance control is performed so that an integrated value in a block determined to be an achromatic color is R = G = B.
ところが、分割したブロックにおいて複数の色が存在することにより混色が発生すると、正しく有彩色・無彩色の判断ができなくなってしまう。そこで、ブロックを細かく分割することで混色の発生を出来るだけ抑えて、ホワイトバランスの判断が正常になされるような技術が開示されている(例えば特許文献1〜4参照)。
However, if mixed colors occur due to the presence of a plurality of colors in the divided blocks, it becomes impossible to correctly determine chromatic colors / achromatic colors. Therefore, a technique is disclosed in which the occurrence of color mixing is suppressed as much as possible by finely dividing a block so that white balance can be judged normally (see, for example,
しかし、混色の発生を抑えるために、画像信号処理の対象となるブロックを細かく分割すると、その分ホワイトバランス制御の処理時間が長くなり、1フレーム内に処理を終えることができないという問題があった。特に、撮像素子から得られる画像を撮像装置に備えられたモニタに逐次表示するライブビュー時においては、ホワイトバランスゲインの算出時間が延びると、実際に眼で見ているシーンと、モニタにライブビュー表示されているシーンとに時間差が発生してしまう。また、静止画撮影時においても、ホワイトバランス制御の処理時間が長くなると、撮影終了までの時間が長くなってしまうという問題があり、特に短時間で連続して撮影をする場合などでは、次の撮影処理への動作遅延が発生してしまう。さらに、携帯電話他の携帯端末に撮像素子を備えてカメラ機能を持たせる場合には、低消費電力化の観点から処理時間を短縮させることが出来れば良いことは言うまでも無い。 However, if the block to be subjected to image signal processing is divided finely in order to suppress the occurrence of color mixing, there is a problem that the processing time for white balance control becomes longer and the processing cannot be completed within one frame. . In particular, during live view in which images obtained from an image sensor are sequentially displayed on a monitor provided in the image pickup device, if the calculation time of the white balance gain is extended, the scene actually viewed with the eye and the live view on the monitor are displayed. A time difference will occur between the displayed scenes. Even during still image shooting, if the processing time of white balance control becomes longer, there is a problem that the time until the end of shooting becomes longer, especially when shooting continuously in a short time, etc. An operation delay to the photographing process occurs. Furthermore, when the mobile phone or other mobile terminal is provided with an image sensor and has a camera function, it is needless to say that the processing time can be shortened from the viewpoint of reducing power consumption.
そこで、本発明は、上記問題に鑑みてなされたものであり、本発明の目的とするところは、混色の発生を抑えるために、記録前の段階では画像信号処理の対象となるブロックを細かく分割し、記録時には、記録前の段階における、細かく分割したブロックに対する評価結果を用いることで、処理負荷を増やさずにホワイトバランスを補正する画像信号処理が可能な、新規かつ改良された撮像装置及び撮像方法を提供することにある。 Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to finely divide a block to be subjected to image signal processing at a stage before recording in order to suppress the occurrence of color mixing. However, at the time of recording, a new and improved imaging apparatus and imaging capable of performing image signal processing for correcting white balance without increasing the processing load by using the evaluation results for the finely divided blocks at the stage before recording. It is to provide a method.
上記課題を解決するために、本発明のある観点によれば、撮像素子より得られた画像信号を複数の第1ブロックに分割する第1分割手段と、第1ブロックをさらにM個の第2ブロックに分割する第2分割手段と、演算対象の第2ブロックをフレーム毎に変化させる位置変更手段と、記録前には位置変更手段が変化させた第2ブロックに対して演算処理を実行し、記録時には第1ブロックに対して演算処理を実行する演算手段と、第2ブロックに対する直近Mフレームの演算手段の演算結果および第1ブロックに対する演算結果を用いて画像信号の光源を推定する光源推定手段と、を備える撮像装置が提供される。 In order to solve the above-described problem, according to one aspect of the present invention, a first dividing unit that divides an image signal obtained from an image sensor into a plurality of first blocks, and the first block is further divided into M second blocks. A second dividing means for dividing the block into blocks, a position changing means for changing the second block to be calculated for each frame, and a calculation process for the second block changed by the position changing means before recording, Calculation means for performing calculation processing on the first block at the time of recording, and light source estimation means for estimating the light source of the image signal using the calculation result of the calculation means for the nearest M frame for the second block and the calculation result for the first block Is provided.
かかる構成によれば、第1分割手段は撮像素子より得られた画像信号を複数の第1ブロックに分割し、第2分割手段は第1ブロックをさらにM個の第2ブロックに分割する。そして、位置変更手段は演算対象の第2ブロックをフレーム毎に変化させ、光源推定手段は、第2ブロックに対する直近Mフレームの演算手段の演算結果および第1ブロックに対する演算結果を用いて画像信号の光源を推定する。その結果、記録前の段階では画像信号処理の対象となるブロックを第2ブロックとして細かく分割し、記録時には、記録前の段階における、細かく分割した第2ブロックに対する演算結果と、記録時における第1ブロックに対する演算結果を用いることで、処理負荷を増やさずに画像信号処理ができる。 According to this configuration, the first dividing unit divides the image signal obtained from the image sensor into a plurality of first blocks, and the second dividing unit further divides the first block into M second blocks. Then, the position changing unit changes the second block to be calculated for each frame, and the light source estimating unit uses the calculation result of the calculation unit for the most recent M frame for the second block and the calculation result for the first block. Estimate the light source. As a result, the block to be subjected to image signal processing is finely divided as the second block at the stage before recording, and at the time of recording, the calculation result for the finely divided second block at the stage before recording and the first at the time of recording are recorded. By using the calculation result for the block, image signal processing can be performed without increasing the processing load.
光源推定手段の光源推定結果を少なくともMフレーム分記憶する記憶手段と、記憶手段で記憶した第2ブロックに対する直近Mフレーム分の光源推定結果および第1ブロックに対する光源推定結果を用いてホワイトバランスを補正するゲインを算出するゲイン算出手段と、をさらに備えていてもよい。 A storage means for storing at least M frames of light source estimation results of the light source estimation means, and a white balance correction using the light source estimation results for the most recent M frames and the light source estimation results for the first block stored in the storage means And gain calculating means for calculating the gain to be performed.
ゲイン算出手段は、第2ブロックに対する直近Mフレーム分の光源推定結果を用いて所定の重み係数を決定し、第1ブロックに対する演算結果に当該所定の重み係数を乗じてゲインを算出してもよい。 The gain calculation means may determine a predetermined weighting factor using the light source estimation results for the most recent M frames for the second block, and calculate the gain by multiplying the calculation result for the first block by the predetermined weighting factor. .
所定の重み係数は、光源推定手段における光源推定の結果、無彩色であると判断した小ブロックの数が大きいほど大きな係数であってもよい。 The predetermined weight coefficient may be a larger coefficient as the number of small blocks determined to be achromatic as a result of light source estimation in the light source estimation means is larger.
また、上記課題を解決するために、本発明の別の観点によれば、撮像素子より得られた画像信号を複数の第1ブロックに分割する第1分割ステップと、第1ブロックをさらにM個の第2ブロックに分割する第2分割ステップと、演算対象の第2ブロックをフレーム毎に変化させる位置変更ステップと、記録前には位置変更ステップで変化させた第2ブロックに対して演算処理を実行し、記録時には第1ブロックに対して演算処理を実行する演算ステップと、演算ステップにおける第2ブロックに対する直近Mフレームの演算結果および第1ブロックに対する演算結果を用いて画像信号の光源を推定する光源推定ステップと、を備える撮像方法が提供される。 In order to solve the above-described problem, according to another aspect of the present invention, a first dividing step of dividing an image signal obtained from an image sensor into a plurality of first blocks, and further M first blocks. A second dividing step for dividing the second block into a second block, a position changing step for changing the second block to be calculated for each frame, and a calculation process for the second block changed in the position changing step before recording. The light source of the image signal is estimated using a calculation step for performing calculation processing on the first block at the time of recording, and a calculation result of the most recent M frame for the second block and a calculation result for the first block in the calculation step. A light source estimation step.
以上説明したように本発明によれば、記録前の段階では、画像信号処理の対象となるブロックを、混色の発生を抑えるために細かく分割し、記録時には、記録前の段階における、細かく分割したブロックに対する評価結果を用いることで、処理負荷を増やさずにホワイトバランスを補正する画像信号処理が可能な、新規かつ改良された撮像装置及び撮像方法を提供することができる。これにより、特に高速連写時には、撮影前の画面表示時と静止画撮影時の時間差の影響を受けることなく、静止画撮影時にホワイトバランス補正の処理負担を軽減できる分、処理時間を短縮することができる。 As described above, according to the present invention, at the stage before recording, the block to be subjected to image signal processing is finely divided to suppress the occurrence of color mixing, and at the time of recording, it is finely divided at the stage before recording. By using the evaluation result for the block, it is possible to provide a new and improved imaging apparatus and imaging method capable of image signal processing for correcting white balance without increasing the processing load. This reduces the processing time for white balance correction during still image shooting, especially during high-speed continuous shooting, without being affected by the time difference between the screen display before shooting and still image shooting. Can do.
以下に添付図面を参照しながら、本発明の好適な実施の形態について詳細に説明する。なお、本明細書及び図面において、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複説明を省略する。 Exemplary embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In addition, in this specification and drawing, about the component which has the substantially same function structure, duplication description is abbreviate | omitted by attaching | subjecting the same code | symbol.
まず、本発明の好適な実施の形態について説明する前に、従来技術の問題点について図面を参照しながら説明する。 First, before describing a preferred embodiment of the present invention, problems of the prior art will be described with reference to the drawings.
図10は、従来のホワイトバランス補正処理におけるブロック分割について説明する説明図である。従来のホワイトバランス補正処理は、図10に示したように、CCDやCMOS等の撮像素子より取り出された画像信号を、複数のブロックに分割し、分割したそれぞれのブロックに対し、R、G、B各色の画素の積算値(ΣR、ΣG、ΣB)を算出する。このR、G、B各色の画素の積算値(ΣR、ΣG、ΣB)を算出すると、ブロック毎に、当該ブロックを無彩色として制御するか、または有彩色として処理をするか等を判断し、適切なホワイトバランスゲイン(Kr、Kg、Kb)を算出するという方法が一般的である。 FIG. 10 is an explanatory diagram for explaining block division in the conventional white balance correction processing. As shown in FIG. 10, the conventional white balance correction process divides an image signal taken out from an image sensor such as a CCD or CMOS into a plurality of blocks, and R, G, The integrated values (ΣR, ΣG, ΣB) of the pixels of each color B are calculated. When the integrated values (ΣR, ΣG, ΣB) of the R, G, and B pixels are calculated, it is determined for each block whether the block is controlled as an achromatic color or processed as a chromatic color. A general method is to calculate an appropriate white balance gain (Kr, Kg, Kb).
ここで、分割したブロック内に複数の色が混在する場合には、混色が発生しホワイトバランス補正処理を正しく判断することができなくなる。また、分割するブロックの面積を大きくすると、混色が発生する頻度が高くなる。 Here, when a plurality of colors are mixed in the divided blocks, color mixing occurs and the white balance correction process cannot be correctly determined. Further, when the area of the block to be divided is increased, the frequency of color mixing increases.
図11は、ホワイトバランス補正処理の対象となる、CCDやCMOS等の撮像素子より取り出された画像信号から得られる画像の一例を示す説明図であり、図12は、図11に示した画像が得られる画像信号を横4ブロック×縦3ブロックに分割した場合を示す説明図であり、図13は、図11に示した画像が得られる画像信号を横12ブロック×縦9ブロックに分割した場合を示す説明図である。通常のホワイトバランス補正処理においては、画像中の赤い花びらの部分及び緑の葉の部分は光源とは見なされずに有彩色と判断される。しかし、各ブロックでの積算処理時に、ブロック内で赤色と緑色が混在していると、混色が発生し、(赤色と緑色が混ざって)黄色の被写体であると誤判断される。この黄色の被写体が、タングステン光などの光源と同じカラーバランスであった場合、光源色(無彩色)と判断されてしまい、ホワイトバランスを誤って判断してしまう。そこで、混色の発生頻度を減らすために、ブロックの数を多くしてブロックの面積を減らす手法がある。 FIG. 11 is an explanatory diagram showing an example of an image obtained from an image signal taken out from an image sensor such as a CCD or CMOS, which is a target of white balance correction processing, and FIG. 12 shows the image shown in FIG. FIG. 13 is a diagram illustrating a case where the obtained image signal is divided into 4 horizontal blocks × 3 vertical blocks. FIG. 13 illustrates a case where the image signal from which the image illustrated in FIG. 11 is obtained is divided into 12 horizontal blocks × 9 vertical blocks. It is explanatory drawing which shows. In normal white balance correction processing, the red petal portion and the green leaf portion in the image are not regarded as light sources and are determined to be chromatic colors. However, if red and green are mixed in the block during the integration processing in each block, color mixing occurs and it is erroneously determined that the subject is yellow (mixed red and green). If this yellow subject has the same color balance as a light source such as tungsten light, it is determined as the light source color (achromatic color), and the white balance is erroneously determined. Therefore, in order to reduce the occurrence frequency of color mixing, there is a method of increasing the number of blocks and reducing the area of the blocks.
図14は、画像信号を横4ブロック×縦3ブロックに分割した場合に、混色によって黄色い被写体であると誤って判断されたブロックの配置を示す説明図であり、図15は、画像信号を横12ブロック×縦9ブロックに分割した場合に、混色によって黄色い被写体であると誤って判断されたブロックの配置を示す説明図である。 FIG. 14 is an explanatory diagram showing the arrangement of blocks that are erroneously determined to be yellow subjects due to color mixing when the image signal is divided into 4 horizontal blocks × 3 vertical blocks, and FIG. It is explanatory drawing which shows arrangement | positioning of the block mistakenly determined to be a yellow photographic subject by color mixture, when it divides | segments into 12 blocks x vertical 9 blocks.
図14および図15に示した場合では、4×3に分割した場合には83%のブロックが黄色い被写体であると誤判断されたのに対し、12×9に分割した場合には28%が黄色い被写体であると誤判断されている。このように、ブロックの数を多くして、1ブロックあたりの面積を小さくすることで混色の発生頻度を抑えることができる。 In the case shown in FIGS. 14 and 15, 83% of the blocks are erroneously determined to be yellow subjects when divided into 4 × 3, whereas 28% when divided into 12 × 9. It is misjudged as a yellow subject. Thus, the frequency of color mixing can be suppressed by increasing the number of blocks and reducing the area per block.
しかし、ブロックの数を多くすると、1度に処理を行わなければならないデータ数が増え、ホワイトバランスゲインを算出するまでの処理時間が増大してしまい、1フレーム内に処理を終えることができなくなってしまうという問題があった。特に、撮像素子から得られる画像を撮像装置に備えられたモニタに逐次表示するライブビュー時においては、ホワイトバランスゲインの算出時間が延びると、実際に眼で見ているシーンと、モニタにライブビュー表示されているシーンとに時間差が生じてしまう。 However, if the number of blocks is increased, the number of data that must be processed at one time increases, and the processing time until the white balance gain is calculated increases, making it impossible to complete the processing within one frame. There was a problem that. In particular, during live view in which images obtained from an image sensor are sequentially displayed on a monitor provided in the image pickup device, if the calculation time of the white balance gain is extended, the scene actually viewed with the eye and the live view on the monitor are displayed. There will be a time difference from the displayed scene.
また、静止画撮影時においても、ホワイトバランス制御の処理時間が長くなると、撮影終了までの時間が長くなってしまうという問題があり、特に短時間で連続して撮影をする場合などでは、次の撮影処理への動作遅延が発生してしまう。さらに、携帯電話他の携帯端末に撮像素子を備えてカメラ機能を持たせる場合には、低消費電力化の観点から処理時間を短縮させることが出来れば良いことは言うまでも無い。 Even during still image shooting, if the processing time of white balance control becomes longer, there is a problem that the time until the end of shooting becomes longer, especially when shooting continuously in a short time, etc. An operation delay to the photographing process occurs. Furthermore, when the mobile phone or other mobile terminal is provided with an image sensor and has a camera function, it is needless to say that the processing time can be shortened from the viewpoint of reducing power consumption.
そこで、以下で説明する本発明の好適な実施形態においては、混色の発生頻度を抑えるためにブロックの面積を小さくしながらも、処理時間の増大を抑えることを特徴とする撮像装置および画像処理方法について説明する。 Therefore, in a preferred embodiment of the present invention described below, an imaging apparatus and an image processing method characterized by suppressing an increase in processing time while reducing the block area in order to suppress the occurrence frequency of color mixing. Will be described.
まず、本発明の一実施形態にかかる撮像装置の構成について説明する。図1は、本発明の一実施形態にかかる撮像装置100の構成について示す説明図である。以下、図1を用いて本発明の一実施形態にかかる撮像装置100の構成について説明する。
First, the configuration of an imaging apparatus according to an embodiment of the present invention will be described. FIG. 1 is an explanatory diagram illustrating a configuration of an
図1に示したように、本発明の一実施形態に係る撮像装置100は、ズームレンズ102と、絞り104と、フォーカスレンズ106と、CCD(Charge Coupled Devices)素子108と、アンプ一体型のCDS(Correlated Double Sampling)回路110と、A/D変換器112と、画像入力コントローラ114と、画像信号処理部116と、圧縮処理部120と、LCD(Liquid Crystal Display)ドライバ122と、LCD124と、タイミングジェネレータ126と、モータドライバ142a、142b、142cと、CPU(Central Processing Unit)128と、操作部132と、メモリ134と、VRAM(Video Random Access Memory)136と、メディアコントローラ138と、記録メディア140とを含む。
As shown in FIG. 1, an
ズームレンズ102と、絞り104と、フォーカスレンズ106と、CCD素子108とで露光部を構成する。本実施形態ではCCD素子108を用いて露光部を構成しているが、本発明は係る例に限定されず、CCD素子の代わりにCMOS(Complementary Metal Oxide Semiconductor)素子を用いてもよい。CMOS素子は、CCD素子よりも高速に被写体の映像光を電気信号に変換できるので、被写体を撮影してから画像を記録するまでの時間を短縮することができる。
The
ズームレンズ102は、光軸方向に前後して移動させることで焦点距離が連続的に変化するレンズであり、被写体の大きさを変化して撮影する。絞り104は、画像を撮影する際に、CCD素子108に入ってくる光量の調節を行う。フォーカスレンズ106は、光軸方向に前後して移動させることで被写体のピントを調節するものである。
The
モータドライバ142a、142b、142cはズームレンズ102、絞り104およびフォーカスレンズ106を動作させるモータの制御を行う。モータドライバ142a、142b、142cを介してズームレンズ102、絞り104およびフォーカスレンズ106を動作させることで、被写体の大きさや光の量、ピントの調節を行う。
CCD素子108は、ズームレンズ102、絞り104およびフォーカスレンズ106から入射された光を電気信号に変換するための素子である。本実施形態においては電子シャッタによって入射光を制御して、電気信号を取り出す時間を調節しているが、メカシャッタを用いて入射光を制御して、電気信号を取り出す時間を調節してもよい。
The
CDS回路110は、CCD素子108から出力された電気信号の雑音を除去する、サンプリング回路の一種であるCDS回路と、雑音を除去した後に電気信号を増幅するアンプとが一体となった回路である。本実施形態ではCDS回路とアンプとが一体となった回路を用いて撮像装置100を構成しているが、CDS回路とアンプとを別々の回路で構成してもよい。
The
A/D変換器112は、CCD素子108で生成された電気信号をデジタル信号に変換して、画像の生データを生成するものである。
The A /
画像信号処理部116は、A/D変換器112で生成された画像の生データに対する各種信号処理を行う回路である。
The image
圧縮処理部120は、画像信号処理部116で信号処理が施されたデータを、適切な形式の画像データに圧縮する圧縮処理を行う。画像の圧縮形式は可逆形式であっても非可逆形式であってもよい。適切な形式の例として、JPEG(Joint Photographic Experts Group)形式やJPEG2000形式に変換してもよい。
The
LCD124は、撮影操作を行う前のライブビュー表示や、撮像装置100の各種設定画面や、撮影した画像の表示等を行う。画像データや撮像装置100の各種情報のLCD124への表示は、LCDドライバ122を介して行われる。
The
タイミングジェネレータ126は、CCD素子108にタイミング信号を入力する。タイミングジェネレータ126からのタイミング信号によりシャッタ速度が決定される。つまり、タイミングジェネレータ126からのタイミング信号によりCCD素子108の駆動が制御され、CCD素子108が駆動する時間内に被写体からの映像光を入射することで、画像データの基となる電気信号が生成される。
The
CPU128は、CCD素子108やCDS回路110などに対して信号系の命令を行ったり、操作部132の操作に対する操作系の命令を行ったりする。本実施形態においては、CPUを1つだけ含んでいるが、本発明においては信号系の命令と操作系の命令とを別々のCPUやDSP(Digital Signal Processor)で行うようにしてもよい。
The
操作部132は、撮影モード選択部としての機能を含み、撮像装置100の操作を行ったり、撮影時の各種の設定を行ったりするための部材が配置されている。操作部132に配置される部材には、電源ボタン、撮影モードや撮影ドライブモードの選択および効果パラメータの設定を行う十字キーおよび選択ボタン、撮影操作を開始するシャッタボタン等が配置される。
The
メモリ134は、撮影した画像や画像信号処理部116で信号処理が施された画像を一時的に記憶するものである。メモリ134は、複数の画像を記憶できるだけの記憶容量を有している。メモリ134への画像の読み書きは画像入力コントローラ114によって制御される。
The
VRAM136は、LCD124に表示する内容を保持するものであり、LCD124の解像度や最大発色数はVRAM136の容量に依存する。
The
記録メディア140は、撮影した画像を記録するものである。記録メディア140への入出力は、メディアコントローラ138によって制御される。記録メディア140には、フラッシュメモリにデータを記録するカード型の記憶装置であるメモリカードを用いることができる。
The
以上、図1を用いて本発明の一実施形態にかかる撮像装置100の構成について説明した。次に、本発明の一実施形態にかかる撮像装置100に含まれる、画像信号処理部116の構成について説明する。
The configuration of the
図2は、本発明の一実施形態にかかる撮像装置100に含まれる、画像信号処理部116の構成について説明する説明図である。以下、図2を用いて、本発明の一実施形態にかかる撮像装置100に含まれる、画像信号処理部116の構成について説明する。
FIG. 2 is an explanatory diagram illustrating the configuration of the image
図2に示したように、本発明の一実施形態にかかる画像信号処理部116は、イメージフロントプロセス処理部152と、画像評価部154と、ホワイトバランスゲイン算出部156と、ホワイトバランス補正部158と、デモザイク処理部160と、色補正処理部162と、ガンマ補正処理部164と、を含んで構成される。
As shown in FIG. 2, the image
イメージフロントプロセス処理部152は、CCD素子108で光電変換され、A/D変換器でデジタル信号に変換された画像信号に対して、欠陥画素補正や黒レベル補正などのイメージフロントプロセス処理を実行するものである。イメージフロントプロセス処理部152でイメージフロントプロセス処理が施された画像信号は、画像評価部154およびホワイトバランス補正部158に送られる。
The image front
画像評価部154は、イメージフロントプロセス処理部152でイメージフロントプロセス処理が施された画像信号に対して、ホワイトバランスゲイン算出部156でホワイトバランスを補正するためのホワイトバランスゲインを算出するために、画像評価処理を実行するものである。画像評価部154では、イメージフロントプロセス処理が施された画像信号を複数のブロックに分割し、分割したそれぞれのブロックに対してRGB画素の積算値(ΣR、ΣG、ΣB)を求めたり、RGB画素の積算値に基づいて光源を推定したりする。画像評価部154の構成については後に詳述する。画像評価部154での画像評価処理の結果はホワイトバランスゲイン算出部156に送られる。
The
ホワイトバランスゲイン算出部156は、画像評価部154での画像評価処理の結果に基づいて、ホワイトバランスゲイン(Kr、Kg、Kb)を算出するものである。ホワイトバランスゲイン算出部156で算出されたホワイトバランスゲインはホワイトバランス補正部158に送られる。
The white balance
ホワイトバランス補正部158は、イメージフロントプロセス処理部152でイメージフロントプロセス処理が施された画像信号に対して、ホワイトバランスゲイン算出部156で算出されたホワイトバランスゲインを掛けるものである。ホワイトバランス補正部158で、画像信号にホワイトバランスゲインを掛けることで、画像信号に対するホワイトバランス補正処理を実行することができる。ホワイトバランス補正処理が施された画像信号はデモザイク処理部160に送られる。
The white
デモザイク処理部160は、ホワイトバランス補正処理が施された画像信号に対して色補完処理(デモザイク処理)を施すものである。ホワイトバランス補正処理が施された画像信号に対して、デモザイク処理部160でデモザイク処理を施すことでカラー画像を生成することができるが、デモザイク処理の詳細については本発明とは直接の関係は無いので詳細な説明は省略する。デモザイク処理が施された画像信号は、色補正処理部162に送られる。
The
色補正処理部162は、デモザイク処理部160で補完処理(デモザイク処理)が施された画像信号に対して色補正処理を施すものである。色補正処理部162で色補正処理を施すことで適切なカラー画像を生成することができるが、色補正処理の詳細については本発明とは直接の関係は無いので詳細な説明は省略する。色補正処理が施された画像信号は、ガンマ補正処理部164に送られる。
The color
ガンマ補正処理部164は、色補正処理部162で色補正処理が施された画像信号に対してガンマ補正処理を施すものである。ガンマ補正処理の詳細については本発明とは直接の関係は無いので詳細な説明は省略する。ガンマ補正処理が施された画像信号は、圧縮処理部120に送られて圧縮処理が施されたり、記録メディア140に記録されたり、LCD124に表示されたりする。
The gamma
以上、本発明の一実施形態にかかる画像信号処理部116の構成について説明した。次に、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明する。
The configuration of the image
図3は、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明する説明図である。以下、図3を用いて、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明する。
FIG. 3 is an explanatory diagram illustrating the configuration of the
図3に示したように、本発明の一実施形態にかかる画像評価部154は、第1ブロック分割部172と、第2ブロック分割部174と、ブロック位置変更部176と、積算処理部178と、記憶部180と、光源推定部182と、を含んで構成される。
As shown in FIG. 3, the
第1ブロック分割部172は、画像評価部154に送られる画像信号を所定のサイズのブロック(大ブロック)に分割するものである。第1ブロック分割部172は、画像信号を例えば上述したように、横4ブロック×縦3ブロックに分割してもよく、横12ブロック×縦9ブロックに分割してもよい。もちろん、分割数はこれらの例に限られないことは言うまでも無い。また、分割する際の大ブロックの形状は、正方形であってもよく、長方形であってもよく、その他の形状であってもよい。
The first
第2ブロック分割部174は、第1ブロック分割部172が分割した各大ブロックを、さらに所定のサイズのブロック(小ブロック)に分割するものである。例えば、第1ブロック分割部172で、画像信号を横4ブロック×縦3ブロックの大ブロックに分割し、さらにそれぞれの大ブロックに対して、第2ブロック分割部174において横3ブロック×縦3ブロックの小ブロックに分割する。もちろん、分割数はかかる例に限られないことは言うまでも無い。また、分割する際の小ブロックの形状は、正方形であってもよく、長方形であってもよく、その他の形状であってもよい。なお、以下の説明においては、1つの大ブロックを横3ブロック×縦3ブロックの9つの小ブロックに分割したものとして説明する。
The second
図4は、第2ブロック分割部174において、1つの大ブロックを横3ブロック×縦3ブロックの小ブロックに分割した場合について示す説明図である。図4では、説明の便宜上、小ブロックにA〜Iのアルファベットを付して示している。
FIG. 4 is an explanatory diagram showing a case where the second
ブロック位置変更部176は、撮像処理の前の段階(撮像装置100への記録前の段階)では後述の積算処理部178の処理対象の小ブロックをフレームごとに変更し、撮像処理の段階(撮像装置100へ記録する段階)では、積算処理部178の処理対象の大ブロックを指定するものである。例えば、第2ブロック分割部174で1つの大ブロックを図4のように横3ブロック×縦3ブロックの9つの小ブロックに分割すると、撮像処理の前の段階では、ブロック位置変更部176は、フレーム毎にA〜Iの小ブロックから1つの小ブロックをサイクリックに選択する。
The block
図5は、撮像処理の前の段階での、ブロック位置変更部176におけるブロック位置の変更処理を説明する説明図である。図5では、第2ブロック分割部174で分割したA〜Iの小ブロックから、処理対象の小ブロックをフレーム毎に、変化させている例を示している。なお、図5では、小ブロックを、A→E→G→C→H→F→B→D→I→A→・・・、の順に変化させている場合について示している。もちろん、順番は図5に示したものに限られないことは言うまでも無い。また、本実施形態では、ブロック位置変更部176は小フレームをサイクリックに変化させているが、本発明では積算処理部178の処理対象となる小ブロックをランダムに変更してもよい。
FIG. 5 is an explanatory diagram for explaining the block position changing process in the block
そして、撮影者が撮像装置100の操作部132を操作して撮像処理を実行すると、ブロック位置変更部176は積算処理部178の処理対象の大ブロックを指定する。図6は、撮像処理の前後での、ブロック位置変更部176におけるブロック位置の変更処理を説明する説明図である。撮像処理の前の段階では、ブロック位置変更部176は、第2ブロック分割部174で分割したA〜Iの小ブロックから、処理対象となる小ブロックをフレーム毎に変化させており、撮像処理が開始されると、ブロック位置変更部176は、処理対象となる大ブロックJを指定している。
When the photographer operates the
積算処理部178は、ブロック位置変更部176によって指定された小ブロックまたは大ブロックに含まれているR、G、Bそれぞれの色の画素に対して、ホワイトバランスゲインを求めるための、小ブロックにおけるRGB画素の積算値ΣR、ΣG、ΣBおよび大ブロックにおけるRGB画素の積算値ΣR2、ΣG2、ΣB2を求めるものである。RGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2を求めることで、当該小ブロックまたは大ブロックにおける彩色を判定することができる。積算処理部178において求められたRGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2や、当該小ブロックまたは大ブロックにおける彩色の判定結果は、記憶部180に一時的に記憶しても良い。そして、積算処理部178において求められたRGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2は、光源推定部182に送られて、光源推定部182における光源推定処理に用いられる。
The
光源推定部182は、積算処理部178で求められたRGB画素の積算値ΣR、ΣG、ΣB、ΣR2、ΣG2、ΣB2を用いて、光源を推定する光源推定処理を実行するものである。光源推定部182における光源推定処理の結果は記憶部180に一時的に記憶しても良い。光源推定部182における光源推定処理の結果は、ホワイトバランスゲイン算出部156に送られて、ホワイトバランスゲインの算出に用いられる。
The light
図7は、光源推定部182で光源を推定する際の評価対象のブロックとフレームとの関係の一例について説明する説明図である。図7に示した例は、撮像処理の前の段階で取得した直近9フレーム分の小ブロック(A〜I)の光源推定結果と、撮像処理の段階で取得した1フレーム分の大フレーム(J)光源推定結果を用いて、光源推定処理を実行する場合を示したものである。
FIG. 7 is an explanatory diagram illustrating an example of a relationship between a block to be evaluated and a frame when the light
なお、本実施形態では、光源推定部182を画像評価部154に含めた構成について説明したが、本発明はかかる例に限定されないことは言うまでも無い。例えば、光源推定部182の機能をホワイトバランスゲイン算出部156に含めるようにしてもよい。
In addition, although this embodiment demonstrated the structure which included the light
以上、本発明の一実施形態にかかる画像信号処理部116に含まれる、画像評価部154の構成について説明した。次に、本発明の一実施形態にかかる撮像方法について説明する。
The configuration of the
図8は、本発明の一実施形態にかかる撮像方法について説明する流れ図である。以下、図8を用いて本発明の一実施形態にかかる撮像方法について説明する。 FIG. 8 is a flowchart illustrating an imaging method according to an embodiment of the present invention. Hereinafter, an imaging method according to an embodiment of the present invention will be described with reference to FIG.
まず、ブロック位置変更部176において、ホワイトバランスの評価対象となる小ブロックを選択する(ステップS102)。上述したように、ブロック位置変更部176が選択するホワイトバランスの評価対象となる小ブロックは、1フレーム毎に変化させる。
First, the block
上記ステップS102で、ブロック位置変更部176がホワイトバランスの評価対象となる小ブロックを選択すると、当該小ブロックにおけるRGB画素の積算値ΣR、ΣG、ΣBを積算処理部178で算出する(ステップS104)。ステップS104でRGB画素の積算値ΣR、ΣG、ΣBを積算処理部178で算出すると、次に、光源推定部182において、RGB画素の積算値ΣR、ΣG、ΣBを用いて、当該小ブロックの彩色を判定する(ステップS106)。
When the block
上記ステップS106において、RGB画素の積算値ΣR、ΣG、ΣBを用いて、当該小ブロックの彩色を光源推定部182で判定すると、続いて、当該小ブロックの彩色判定結果を用いて、当該小ブロックの光源を光源推定部182で推定し、当該小ブロックが有彩色であるか無彩色であるかを判断する(ステップS108)。有彩色であるか無彩色であるかの情報は、2値であってもよいし、3段階以上の値であってもよい。そして、ステップS108で当該小ブロックの光源を光源推定部182で推定すると、推定結果を記憶部180に記憶する(ステップS110)。
In step S106, when the light
上記ステップS110で、光源の推定結果が記憶部180に記憶されると、記憶部180に記憶された推定結果を用いて、ホワイトバランスゲインを算出する。まず、ホワイトバランスゲイン算出部156は、記憶部180に記憶された直近のフレームにおける推定結果を読み出す(ステップS112)。本実施形態では、1つの大ブロックを9つの小ブロックに分割しているので、ステップS112では、ホワイトバランスゲイン算出部156は、直近9フレーム分の推定結果を記憶部180から読み出す。
When the light source estimation result is stored in the
上記ステップS112で、記憶部180に記憶された直近のフレームにおける推定結果を読み出すと、ホワイトバランスゲイン算出部156は、読み出した推定結果を加重平均する(ステップS114)。ここでは、加重平均の一例を説明する。評価フレームをf、各フレームで無彩色として扱うブロックの数をn、無彩色として扱うブロックのRGB積算値をr、g、bとすると、9フレーム分のカラーバランスCr、Cg、Cbは、以下の数式1で求めることができる。
When the estimation result in the most recent frame stored in the
上記数式1のように9フレーム分のカラーバランスCr、Cg、Cbを求めると、続いてホワイトバランスゲイン算出部156は、求めたカラーバランスCr、Cg、Cbを用いて、画像信号に対するホワイトバランスゲインを算出する(ステップS116)。ホワイトバランスゲインKr、Kg、Kbは、以下の数式2で求めることができる。
When the color balances Cr, Cg, and Cb for nine frames are obtained as in
なお、上記数式2は、カラーバランスCr、Cg、Cbの中でCgの値が最も大きい場合の算出式であり、その他の色の値が大きい場合にはその色のホワイトバランスゲインが1となるように上記数式を適宜変更する。
The
上記ステップS116でホワイトバランスゲインを算出すると、続いて、撮影者による撮影動作が実行されたかどうかを判定する(ステップS118)。撮影者による撮影動作は、操作部132に含まれるシャッタボタンの押下であってもよい。また、撮影者による撮影動作が実行されたかどうかは、CPU128で判定してもよい。
When the white balance gain is calculated in step S116, it is subsequently determined whether or not a photographing operation by the photographer has been executed (step S118). The photographing operation by the photographer may be a press of a shutter button included in the
上記ステップS118の判定の結果、撮影者によって撮影動作が実行されていないと判定された場合には、上記ステップS102に戻り、ブロック位置変更部176において、ホワイトバランスの評価対象となる小ブロックを選択する。一方、上記ステップS118の判定の結果、撮影者によって撮影動作が実行されたと判定された場合には、ブロック位置変更部176は、ホワイトバランスの評価対象となる大ブロックを選択する(ステップS120)。
As a result of the determination in step S118, when it is determined that the photographing operation is not being performed by the photographer, the process returns to step S102, and the block
上記ステップS120で、ブロック位置変更部176によってホワイトバランスの評価対象となる大ブロックが選択されると、続いて当該大ブロックにおけるRGB画素の積算値ΣR2、ΣG2、ΣB2を積算処理部178で算出する(ステップS122)。RGB画素の積算値ΣR2、ΣG2、ΣB2を積算処理部178で算出すると、続いて光源推定部182において、当該大ブロックにおけるRGB画素の積算値ΣR2、ΣG2、ΣB2を用いて、当該大ブロックの彩色を判定する(ステップS124)。
In step S120, when the block
上記ステップS124で、光源推定部182によって大ブロックの彩色を判定すると、続いて、上記ステップS110で記憶部180に記憶した小ブロックの光源推定結果を、直近9フレーム分読み出す(ステップS126)。そして、ステップS126で読み出した直近9フレーム分の光源推定結果を用いて、ホワイトバランスゲイン算出部156でホワイトバランスゲインを算出する。
If the light
ホワイトバランスゲイン算出部156でホワイトバランスゲインを算出するには、まず大ブロックの演算処理結果に対する重みを決定する(ステップS128)。大ブロックの演算処理結果に対する重みは、無彩色であると判断した小ブロックの数の大小によって決定してもよい。図9は、無彩色であると判断した小ブロックの数と、大ブロックの演算処理結果に対する重み係数との関係の一例をグラフで示す説明図である。図9に示したグラフでは、横軸に無彩色であると判断した小ブロックの数を、縦軸に大ブロックの演算処理結果に対する重み係数を、それぞれ表している。そして、図9に示した例では、無彩色であると判断した小ブロックの数が増えると、2次関数的に重み係数を大きくしている場合を表している。もちろん、無彩色であると判断した小ブロックの数と、重み係数との関係は、図9に示した例に限られないことはいうまでもない。
In order to calculate the white balance gain by the white balance
図9に示したグラフを用いて説明すると、無彩色であると判断した小ブロックが最大の9つである場合には、重み係数を最大の1.0としている。また、無彩色であると判断した小ブロックが8つである場合には、重み係数を0.75としており、無彩色であると判断した小ブロックが7つである場合には、重み係数を0.5としている。このように、静止画撮影時において、大ブロックが無彩色であるかどうかの信頼度を表す重み係数を適用することで、混色が発生する可能性の高い大ブロックにおいては、当該大ブロックに対する演算処理結果の影響度を下げて、誤判断を低減することができる。 Referring to the graph shown in FIG. 9, when the maximum number of small blocks determined to be achromatic is nine, the maximum weighting factor is 1.0. In addition, when there are eight small blocks determined to be achromatic, the weighting factor is set to 0.75. When there are seven small blocks determined to be achromatic, the weighting factor is set to 0.75. 0.5. In this way, when applying a weighting factor that represents the reliability of whether a large block is achromatic when shooting a still image, in a large block where color mixture is likely to occur, the calculation for the large block is performed. The degree of influence of processing results can be reduced to reduce misjudgments.
上記ステップS128で大ブロックの演算処理結果に対する重みを決定すると、決定した重みを用いて、上記ステップS120で選択した大ブロックにおける光源を推定する(ステップS130)。そして、ステップS130で推定した光源の情報を用いて、ホワイトバランスゲイン算出部156でホワイトバランスゲインを算出する(ステップS132)。撮像装置100は、算出したホワイトバランスゲインをホワイトバランス補正部158で適用することで、ホワイトバランスを補正する。
When the weight for the calculation processing result of the large block is determined in step S128, the light source in the large block selected in step S120 is estimated using the determined weight (step S130). Then, using the light source information estimated in step S130, the white balance
以上、図8を用いて本発明の一実施形態にかかる撮像方法について説明した。このように、撮影前の時点では複数フレームにまたがって、位置が異なる小ブロックに対する信号処理を実行し、撮影時には、直前のフレームにおける小ブロックに対する信号処理の結果と、撮影動作実行時点での大ブロックに対する信号処理の結果とを用いる事で、1フレームあたりの処理負荷を増加させることなく、より小さいブロック分割が行うことが可能となり、混色発生を抑制することができる。 The imaging method according to the embodiment of the present invention has been described above using FIG. In this way, signal processing is performed on small blocks with different positions across multiple frames at the time before shooting, and at the time of shooting, the signal processing results for the small blocks in the immediately preceding frame and the large size at the time of shooting operation execution. By using the result of signal processing on the block, it is possible to perform smaller block division without increasing the processing load per frame, and to suppress color mixing.
以上説明したように、本発明の一実施形態によれば、記録前の段階では、画像信号処理の対象となるブロックを、混色の発生を抑えるために小ブロックとして細かく分割し、記録時には、複数の小ブロックからなる大ブロックに対する評価結果と、記録前の直近のフレームにおける細かく分割した小ブロックに対する評価結果を用いることで、処理負荷を増やさずにホワイトバランスを補正する画像信号処理を実行することが可能となる。また、ホワイトバランスを補正するゲインは、撮影時の画素の積算値を元に算出し、過去のフレームにおいて算出したデータは重み係数の決定にのみ使用されるため、ブロックを細かく分割した際に生じる、評価データの算出の遅延による弊害は発生しなくなる。そして、特に複数の静止画を短時間で連続して撮影する高速連写時には、撮影前の画面表示時と静止画撮影時の時間差の影響を受けることなく、静止画撮影時にホワイトバランス補正の処理負担を軽減できる分、処理時間を短縮することができる。 As described above, according to one embodiment of the present invention, in the stage before recording, a block to be subjected to image signal processing is finely divided as small blocks in order to suppress the occurrence of color mixing. Image signal processing that corrects white balance without increasing the processing load by using the evaluation result for a large block of small blocks and the evaluation result for a finely divided small block in the most recent frame before recording. Is possible. Further, the gain for correcting the white balance is calculated based on the integrated value of the pixels at the time of shooting, and the data calculated in the past frame is used only for determining the weighting coefficient, and therefore occurs when the block is finely divided. No adverse effects due to delays in calculation of evaluation data occur. And, especially during high-speed continuous shooting, where multiple still images are shot continuously in a short period of time, white balance correction processing is performed during still image shooting without being affected by the time difference between the screen display before shooting and still image shooting. Since the burden can be reduced, the processing time can be shortened.
なお、上述した撮像装置100の動作は、撮像装置100の内部にコンピュータプログラムを記憶させ、当該コンピュータプログラムをCPU128が読み出して順次実行することによってなされるようにしてもよい。
Note that the above-described operation of the
以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。 As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the example which concerns. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.
本発明は、撮像装置及び画像処理方法に適用可能であり、特に被写体を電子的に撮影する電子的撮像装置及び電子的撮像装置を用いた及び画像処理方法に適用可能である。 The present invention can be applied to an imaging apparatus and an image processing method, and in particular, can be applied to an electronic imaging apparatus that electronically captures a subject and an image processing method using the electronic imaging apparatus.
100 撮像装置
102 ズームレンズ
104 絞り
106 フォーカスレンズ
108 CCD素子
110 CDS回路
112 A/D変換器
114 画像入力コントローラ
116 画像信号処理部
120 圧縮処理部
122 LCDドライバ
124 LCD
126 タイミングジェネレータ
128 CPU
132 操作部
134 メモリ
138 メディアコントローラ
140 記録メディア
142a、142b、142c モータドライバ
152 イメージフロントプロセス処理部
154 画像評価部
156 ホワイトバランスゲイン算出部
158 ホワイトバランス補正部
160 デモザイク処理部
162 色補正処理部
164 ガンマ補正処理部
172 第1ブロック分割部
174 第2ブロック分割部
176 ブロック位置変更部
178 積算処理部
180 記憶部
182 光源推定部
DESCRIPTION OF
126
132
Claims (3)
前記第1ブロックをさらにM個の第2ブロックに分割する第2分割手段と、
演算対象の前記第2ブロックをフレーム毎に変化させる位置変更手段と、
記録前には前記位置変更手段が変化させた前記第2ブロックに対して演算処理を実行し、記録時には前記第1ブロックに対して演算処理を実行する演算手段と、
前記第2ブロックに対する演算結果を用いて前記第2ブロックが無彩色であるか否かを推定する推定手段と、
前記第2ブロックに対する直近Mフレームの推定結果を用いて無彩色であると推定された前記第2ブロックの数に応じた重み係数を決定し、決定された前記重み係数を第1ブロックに対する演算結果に適用した上でホワイトバランスを補正するゲインを算出するゲイン算出手段と、
を備える撮像装置。 First dividing means for dividing an image signal obtained from the image sensor into a plurality of first blocks;
Second dividing means for further dividing the first block into M second blocks;
Position changing means for changing the second block to be calculated for each frame;
A calculation unit that executes calculation processing on the second block changed by the position changing unit before recording, and executes calculation processing on the first block at the time of recording;
Estimating means for estimating whether or not the second block is achromatic using a calculation result for the second block;
A weighting factor is determined according to the number of the second blocks estimated to be achromatic using the estimation result of the most recent M frame for the second block, and the determined weighting factor is calculated for the first block. Gain calculating means for calculating a gain for correcting white balance after applying to
An imaging apparatus comprising:
前記第1ブロックをさらにM個の第2ブロックに分割する第2分割ステップと、
演算対象の前記第2ブロックをフレーム毎に変化させる位置変更ステップと、
記録前には前記位置変更ステップで変化させた前記第2ブロックに対して演算処理を実行し、記録時には前記第1ブロックに対して演算処理を実行する演算ステップと、
前記第2ブロックに対する演算結果を用いて前記第2ブロックが無彩色であるか否かを推定する推定ステップと、
前記第2ブロックに対する直近Mフレームの推定結果を用いて無彩色であると推定された前記第2ブロックの数に応じた重み係数を決定し、決定された前記重み係数を第1ブロックに対する演算結果に適用した上でホワイトバランスを補正するゲインを算出するゲイン算出ステップと、
を備える撮像方法。
A first dividing step of dividing an image signal obtained from the image sensor into a plurality of first blocks;
A second dividing step of further dividing the first block into M second blocks;
A position changing step for changing the second block to be calculated for each frame;
A calculation step for performing calculation processing on the second block changed in the position changing step before recording, and for performing calculation processing on the first block during recording;
An estimation step of estimating whether or not the second block is achromatic using a calculation result for the second block;
A weighting factor is determined according to the number of the second blocks estimated to be achromatic using the estimation result of the most recent M frame for the second block, and the determined weighting factor is calculated for the first block. A gain calculating step for calculating a gain for correcting white balance after applying to
An imaging method comprising:
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008292517A JP4705146B2 (en) | 2008-11-14 | 2008-11-14 | Imaging apparatus and imaging method |
KR1020090042543A KR101612853B1 (en) | 2008-11-14 | 2009-05-15 | Photographing apparatus, controlling method of photographing apparatus, and recording medium storing program to implement the controlling method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008292517A JP4705146B2 (en) | 2008-11-14 | 2008-11-14 | Imaging apparatus and imaging method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010119051A JP2010119051A (en) | 2010-05-27 |
JP4705146B2 true JP4705146B2 (en) | 2011-06-22 |
Family
ID=42279390
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008292517A Active JP4705146B2 (en) | 2008-11-14 | 2008-11-14 | Imaging apparatus and imaging method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4705146B2 (en) |
KR (1) | KR101612853B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5827466B2 (en) * | 2010-11-08 | 2015-12-02 | オリンパス株式会社 | Imaging apparatus, imaging method, and program |
JP6235788B2 (en) * | 2013-04-10 | 2017-11-22 | キヤノン株式会社 | Imaging apparatus and control method thereof |
JP6138211B2 (en) * | 2015-10-16 | 2017-05-31 | オリンパス株式会社 | Imaging apparatus, imaging method, and program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04127673A (en) * | 1990-09-19 | 1992-04-28 | Hitachi Ltd | Image pickup device |
JPH04207791A (en) * | 1990-11-30 | 1992-07-29 | Casio Comput Co Ltd | Luminance level measuring circuit |
JPH10155106A (en) * | 1996-11-22 | 1998-06-09 | Olympus Optical Co Ltd | Electronic image pickup device |
-
2008
- 2008-11-14 JP JP2008292517A patent/JP4705146B2/en active Active
-
2009
- 2009-05-15 KR KR1020090042543A patent/KR101612853B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
JP2010119051A (en) | 2010-05-27 |
KR101612853B1 (en) | 2016-04-15 |
KR20100054703A (en) | 2010-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4567593B2 (en) | Imaging apparatus and imaging method | |
US8599283B2 (en) | Image capture apparatus and image capturing method | |
JP5169318B2 (en) | Imaging apparatus and imaging method | |
US9398230B2 (en) | Imaging device and imaging method | |
JP5861924B2 (en) | Imaging device | |
JP2009284136A (en) | Electronic camera | |
US7864860B2 (en) | Image pickup apparatus and motion vector deciding method | |
JP4705146B2 (en) | Imaging apparatus and imaging method | |
JP2007311962A (en) | Electronic camera and image display program | |
JP4626432B2 (en) | Color discriminating method and apparatus in imaging apparatus and exposure control method of imaging apparatus | |
JP2009055415A (en) | Camera | |
JP4819859B2 (en) | Imaging apparatus and image processing method | |
EP2632146B1 (en) | Image processing apparatus | |
JP2011135379A (en) | Imaging apparatus, imaging method and program | |
KR101408359B1 (en) | Imaging apparatus and imaging method | |
JP5316098B2 (en) | Imaging apparatus, imaging method, and program | |
JP2008124793A (en) | Imaging apparatus, and imaging method | |
JP2006253970A (en) | Imaging apparatus, shading correction data generating method, and program | |
JP5522299B2 (en) | Imaging apparatus, imaging method, and program | |
JP2009118247A (en) | Photographic device | |
JP2007074201A (en) | Photographing apparatus | |
JP2008278448A (en) | Imaging apparatus | |
JP2011155358A (en) | Imaging apparatus | |
JP2020108116A (en) | Image processing apparatus, image processing method, program, and storage medium | |
JP2009089228A (en) | Imaging apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100611 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101019 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110119 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110208 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110310 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4705146 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |