JP2007142978A - Image processing method and imaging apparatus - Google Patents

Image processing method and imaging apparatus Download PDF

Info

Publication number
JP2007142978A
JP2007142978A JP2005336276A JP2005336276A JP2007142978A JP 2007142978 A JP2007142978 A JP 2007142978A JP 2005336276 A JP2005336276 A JP 2005336276A JP 2005336276 A JP2005336276 A JP 2005336276A JP 2007142978 A JP2007142978 A JP 2007142978A
Authority
JP
Japan
Prior art keywords
signal
image
signals
acquired
processing method
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
JP2005336276A
Other languages
Japanese (ja)
Inventor
Tetsuo Ashida
哲郎 芦田
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2005336276A priority Critical patent/JP2007142978A/en
Publication of JP2007142978A publication Critical patent/JP2007142978A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To readily obtain proper images, by utilizing an image signal actually photographed underwater, without using information about the depth of water or the like or large stroboscopic devices. <P>SOLUTION: A still image or moving image is photographed by an imaging apparatus (step S12), and CCDRAW data (R, G, B signals) are acquired from a CCD imaging element (step S14). When the acquired R, G, B signals are in underwater photographing, the R, G, B signals are multiplied by an underwater exclusive matrix coefficient, and underwater color-corrected R, G, B signals are obtained (step S18). As the matrix coefficient, a coefficient that would prevent the B signal from overlapping the R signal and the G signal is set, while taking into account the light attenuation factor underwater by respective R, G, B signals. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は画像処理方法及び撮像装置に係り、特に水中撮影時に取得したカラー画像信号を信号処理する技術に関する。   The present invention relates to an image processing method and an imaging apparatus, and more particularly to a technique for performing signal processing on a color image signal acquired during underwater photography.

特許文献1には、水中によって減衰する赤(R)光を補償するために、カメラと被写体との水深差に応じてR光の減衰を補償するようにホワイトバランス調整を行う技術が開示されている。   Patent Document 1 discloses a technique for adjusting white balance so as to compensate for attenuation of R light according to a water depth difference between a camera and a subject in order to compensate for red (R) light attenuated by water. Yes.

特許文献2には、水中の被写体に向けて測距光束を投射し、被写体距離と反射光量とを測定し、その測定結果に基づいて水中での光減衰率を推定してストロボ装置の発光量を設定する技術が開示されている。   In Patent Document 2, a distance measuring light beam is projected toward an underwater subject, the subject distance and the amount of reflected light are measured, and the light attenuation rate in water is estimated based on the measurement result, and the light emission amount of the strobe device A technique for setting is disclosed.

特許文献3には、水深情報と、各色の色吸収補正に必要な数式及び光吸収係数から各色の色吸収補正を実行する水中カメラが開示されている。   Patent Document 3 discloses an underwater camera that performs color absorption correction of each color from water depth information, mathematical formulas and light absorption coefficients necessary for color absorption correction of each color.

特許文献4には、水中でカメラが位置する深さ(水深)を検出し、その検出した水深に応じたホワイトバランス調整を行う技術が開示されている。
特開平6−351025号公報 特開平8−69036号公報 特開2004−146928号公報 特開2004−282460号公報
Patent Document 4 discloses a technique for detecting the depth (water depth) at which the camera is located in water and performing white balance adjustment according to the detected water depth.
Japanese Patent Laid-Open No. 6-351025 JP-A-8-69036 JP 2004-146828 A JP 2004-282460 A

現状の水中写真の失敗の多くは、R光が吸収されることによる色再現の悪さや、水中での光量の不足(コンパクトカメラのストロボ光では十分なストロボ光量を与えることが難しい)によるコントラスト不足に起因している。   Many of the current underwater photography failures are due to poor color reproduction due to absorption of R light and insufficient contrast due to insufficient light intensity in water (compact camera strobe light is difficult to provide sufficient strobe light intensity). Due to

特許文献1に記載の発明は、カメラと被写体との水深差に応じてR光の減衰を補償するようにホワイトバランス調整を行っているが、水深差は絶対水深に関係しておらず、適切な制御は難しく、また、ホワイトバランス調整だけでは水中の色再現を良好に行うことができない。   The invention described in Patent Document 1 performs white balance adjustment so as to compensate for attenuation of the R light according to the difference in water depth between the camera and the subject. However, the water depth difference is not related to the absolute water depth, and is appropriate. Control is difficult, and underwater color reproduction cannot be performed satisfactorily only by white balance adjustment.

また、特許文献2に記載の発明は、水中での光減衰率を推定してフラッシュ発光量を設定し、正しい露出を可能にするものであり、反射光量を測光するために被写体に測距光束を投射している間にシャッターチャンスを逃してしまう可能性が高い上、フラッシュ光量だけでは適切な制御が難しいと考えられる。   Further, the invention described in Patent Document 2 estimates the light attenuation rate in water and sets the flash light emission amount to enable correct exposure. A distance measuring light beam is applied to the subject in order to measure the amount of reflected light. It is highly probable that the user will miss a photo opportunity while projecting, and it is considered difficult to perform appropriate control only with the amount of flash light.

更に、特許文献3、4に記載の発明は、水深によって色吸収補正やホワイトバランス調整を行っているが、実際の海では水深よりも水質、天候(太陽の出方)による影響の方が大きいため、水中で撮影した画像を水深情報を利用して色補正してもダイバーが望む画像を得ることは難しい。   Furthermore, the inventions described in Patent Documents 3 and 4 perform color absorption correction and white balance adjustment depending on the water depth, but in actual seas, the influence of water quality and weather (sun exposure) is greater than the water depth. Therefore, it is difficult to obtain an image desired by a diver even if the color of an image taken underwater is corrected using depth information.

本発明はこのような事情に鑑みてなされたもので、水深等の情報や大きなストロボ装置を使用せずに、実際に水中撮影された画像信号を利用して簡単に良好な画像を得ることができる画像処理方法及び撮影装置を提供することを目的とする。   The present invention has been made in view of such circumstances, and it is possible to easily obtain a good image using an image signal actually taken underwater without using information such as water depth or a large strobe device. It is an object of the present invention to provide an image processing method and a photographing apparatus that can be used.

また、本発明は、水中での被写体の視認性の高いスルー動画をモニタに表示することができる画像処理方法及び撮影装置を提供することを目的とする。   Another object of the present invention is to provide an image processing method and a photographing apparatus capable of displaying a through moving image with high visibility of a subject in water on a monitor.

前記目的を達成するために請求項1に係る発明は、水中撮影時に取得したカラー画像信号を処理する画像処理方法において、水中撮影時に撮像素子からR,G,B信号を取得するステップと、前記取得したR,G,B信号にマトリクス係数を乗算して色補正を行うステップであって、B信号のR信号及びG信号への被りを防ぐように設定された前記マトリクス係数を使用してマトリクス演算するステップと、を含むことを特徴としている。   In order to achieve the above object, an invention according to claim 1 is an image processing method for processing a color image signal acquired during underwater photography, and acquiring R, G, B signals from an image sensor during underwater photography; A step of performing color correction by multiplying the acquired R, G, B signals by a matrix coefficient, and using the matrix coefficients set so as to prevent the B signal from being covered with the R signal and the G signal. And a step of calculating.

即ち、R,G,B信号にマトリクス係数を乗算して色補正を行う際に、水中でのR,G,B信号別の光減衰率を考慮し、B信号のR信号及びG信号への被りを防ぐようにマトリクス係数を設定するようにしている。   That is, when performing color correction by multiplying the R, G, and B signals by a matrix coefficient, the light attenuation rate for each of the R, G, and B signals in water is taken into account, and the B signal is converted into the R and G signals. The matrix coefficient is set so as to prevent the covering.

具体的には請求項2に示すように、前記マトリクス係数は、対角項におけるB信号に対する係数を、R信号及びG信号に対する係数よりも小さく、及び/又は非対角項でのR,G信号に対するB信号の係数をマイナス側に大きくなるように設定されていることを特徴としている。   Specifically, as described in claim 2, the matrix coefficient has a coefficient for the B signal in the diagonal term smaller than a coefficient for the R signal and the G signal and / or R, G in the off-diagonal term. It is characterized in that the coefficient of the B signal with respect to the signal is set to be larger on the minus side.

請求項3に係る発明は、水中撮影時に取得したカラー画像信号を処理する画像処理方法において、水中撮影時に撮像素子からR,G,B信号を取得するステップと、前記取得したR,G,B信号のうちの少なくともR信号のヒストグラム評価値を算出するステップと、前記算出したヒストグラム評価値に基づいて2種類以上の信号処理のうちのいずれかの信号処理を選択するステップと、前記取得したR,G,B信号に対して前記選択した信号処理を施すステップと、を含むことを特徴としている。   According to a third aspect of the present invention, there is provided an image processing method for processing a color image signal acquired at the time of underwater shooting, the step of acquiring R, G, B signals from an image sensor at the time of underwater shooting, and the acquired R, G, B Calculating a histogram evaluation value of at least the R signal of the signals, selecting one of two or more types of signal processing based on the calculated histogram evaluation value, and the acquired R , G, and B signals are subjected to the selected signal processing.

例えば、前記算出したヒストグラム評価値に基づいてR光が多いと判断した場合は、コントラストを最大限生かすようにレベル調整を行い、R光が極端に少ない場合には、R信号を無視してG,B信号を最大限生かすようにレベル調整(オフセット処理、階調処理、フレア補正処理)を行う。   For example, if it is determined that the amount of R light is large based on the calculated histogram evaluation value, level adjustment is performed so as to make the most of the contrast. If the amount of R light is extremely small, the R signal is ignored and the G signal is ignored. Level adjustment (offset processing, gradation processing, flare correction processing) is performed so as to make the best use of the B signals.

請求項4に係る発明は、水中撮影時に連続的に取得したカラー画像信号を処理してカメラのモニタに出力し、該モニタにスルー動画を表示させる画像処理方法において、水中撮影時に撮像素子から連続的にR,G,B信号を取得するステップと、前記連続的に取得したR,G,B信号のうちのG信号のヒストグラム評価値を算出するステップと、前記算出したヒストグラム評価値に基づいてG信号の画像のコントラストを高くするための信号処理をG信号のみに施すステップと、前記連続的に取得したR,G,B信号のうちのR,B信号と前記信号処理を施したG信号とに基づいてスルー動画をモニタに表示させるステップと、を含むことを特徴としている。   According to a fourth aspect of the present invention, there is provided an image processing method for processing a color image signal continuously acquired during underwater shooting and outputting the processed color image signal to a camera monitor to display a through moving image on the monitor. Based on the step of acquiring R, G, B signals, calculating the histogram evaluation value of the G signal among the continuously acquired R, G, B signals, and the calculated histogram evaluation value A step of performing signal processing only for the G signal to increase the contrast of the image of the G signal, and the R, B signal of the continuously acquired R, G, B signals and the G signal subjected to the signal processing And displaying a through moving image on a monitor based on the above.

即ち、G信号は輝度信号に近い信号であり、このG信号のコントラストが高くなるように信号処理することにより、カラーバランスは崩れるが、スルー動画のコントラストを高くすることができ、スルー動画が鮮明になる。尚、スルー動画は、水中で主要被写体を探し、画角を設定する場合に利用するため、カラーバランスが崩れていても問題はない。   That is, the G signal is a signal close to the luminance signal, and by performing signal processing so that the contrast of the G signal is increased, the color balance is lost, but the contrast of the through video can be increased, and the through video is clear. become. The through video is used when searching for the main subject underwater and setting the angle of view, so there is no problem even if the color balance is lost.

請求項5に係る発明は、水中撮影時に連続的に取得した画像信号を処理してカメラのモニタに出力し、該モニタにスルー動画を表示させる画像処理方法において、水中撮影時に撮像素子から連続的に画像信号を取得するステップと、前記連続的に取得した画像信号の階調特性の変更指示を受け付けるステップと、前記階調特性の変更指示に応じて前記連続的に取得した画像信号の階調変換を行うステップと、前記階調変換された画像信号に基づいてスルー動画をモニタに表示させるステップと、を含むことを特徴としている。   According to a fifth aspect of the present invention, in the image processing method for processing an image signal continuously acquired during underwater shooting and outputting the processed image signal to a camera monitor and displaying a through moving image on the monitor, the image signal is continuously acquired from the image sensor during underwater shooting. A step of acquiring an image signal, a step of receiving an instruction to change a gradation characteristic of the continuously acquired image signal, and a gradation of the image signal continuously acquired in response to the instruction of changing the gradation characteristic The method includes a step of performing conversion, and a step of displaying a through moving image on a monitor based on the image signal subjected to gradation conversion.

即ち、ダイバー(ユーザー)は、水中のモニタに表示されるスルー動画を見ながら階調特性の変更を指示し、所望の階調特性をもったスルー動画を表示させることができ、スルー動画の視認性を向上させることができる。   In other words, a diver (user) can instruct to change the tone characteristics while watching the through video displayed on the underwater monitor, and can display the through video with the desired tone characteristics. Can be improved.

請求項6に係る発明は、水中撮影が可能な撮像装置において、被写体を撮像するカラー撮像手段と、前記カラー撮像手段を介して被写体を示すR,G,B信号を取得する画像取得手段と前記取得したR,G,B信号のうちの少なくともR信号のヒストグラム評価値を算出するヒストグラム評価値算出手段と、前記算出したヒストグラム評価値に基づいて2種類以上の信号処理のうちのいずれかの信号処理を選択する信号処理選択手段と、前記取得したR,G,B信号に対して前記選択した信号処理を施す信号処理手段と、を備えたことを特徴としている。   According to a sixth aspect of the present invention, in an imaging apparatus capable of underwater photography, a color imaging unit that images a subject, an image acquisition unit that acquires R, G, and B signals indicating the subject via the color imaging unit, and the A histogram evaluation value calculating means for calculating a histogram evaluation value of at least the R signal among the acquired R, G, B signals, and any one of two or more types of signal processing based on the calculated histogram evaluation value Signal processing selecting means for selecting processing and signal processing means for performing the selected signal processing on the acquired R, G, B signals are provided.

請求項7に係る発明は、水中撮影が可能な撮像装置において、被写体を撮像する撮像手段と、前記撮像手段を介して被写体を示す画像信号を連続的に取得する画像取得手段と、前記連続的に取得した画像信号の階調を変換する階調変換手段と、前記階調変換手段での階調変換特性の変更を指示する変更指示手段と、前記階調変換手段によって階調変換された画像信号に基づいてスルー動画を表示するモニタと、を備えたことを特徴としている。   According to a seventh aspect of the present invention, in an imaging apparatus capable of underwater photography, an imaging means for imaging a subject, an image acquisition means for continuously obtaining an image signal indicating the subject via the imaging means, and the continuous A gradation conversion means for converting the gradation of the acquired image signal, a change instruction means for instructing a change in gradation conversion characteristics in the gradation conversion means, and an image that has undergone gradation conversion by the gradation conversion means And a monitor that displays a through video based on the signal.

請求項8に示すように請求項7に記載の撮像装置において、前記階調変換手段は、軟調から硬調までの複数の階調変換用のルックアップテーブルを有し、前記変換指示手段は、前記複数のルックアップテーブルから任意のルックアップテーブルを選択し、前記階調変換手段は、前記選択されたルックアップテーブルにしたがって入力する画像信号の階調変換を行うことを特徴としている。   As shown in claim 8, in the imaging device according to claim 7, the gradation conversion means includes a plurality of gradation conversion look-up tables from soft to hard, and the conversion instruction means includes the conversion instruction means An arbitrary lookup table is selected from a plurality of lookup tables, and the gradation converting means performs gradation conversion of an input image signal in accordance with the selected lookup table.

本発明によれば、実際に水中撮影された画像信号を利用して色再現性、コントラスト等の良好な画像を得ることができ、また、水中での被写体の視認性の高いスルー動画をモニタに表示させることができる。   According to the present invention, it is possible to obtain a good image such as color reproducibility and contrast by using an image signal actually taken underwater, and a through video with high visibility of a subject in water can be used as a monitor. Can be displayed.

以下、添付図面に従って本発明に係る画像処理方法及び撮像装置の好ましい実施の形態について説明する。   Preferred embodiments of an image processing method and an imaging apparatus according to the present invention will be described below with reference to the accompanying drawings.

[撮像装置の構成]
図1は本発明に係る撮像装置の実施の形態を示すブロック図である。
[Configuration of imaging device]
FIG. 1 is a block diagram showing an embodiment of an imaging apparatus according to the present invention.

図1に示す撮像装置1―1は、静止画や動画の記録及び再生機能を備えたデジタルカメラであり、カメラ全体の動作は中央処理装置(CPU)10によって統括制御される。CPU10は、所定のプログラムに従って本カメラシステムを制御する制御手段として機能するとともに、自動露出(AE)演算、自動焦点調節(AF)演算、ホワイトバランス(WB)調整演算等、各種演算を実施する演算手段として機能する。   An imaging apparatus 1-1 shown in FIG. 1 is a digital camera having functions for recording and reproducing still images and moving images, and the operation of the entire camera is centrally controlled by a central processing unit (CPU) 10. The CPU 10 functions as a control means for controlling the camera system according to a predetermined program, and performs various calculations such as automatic exposure (AE) calculation, automatic focus adjustment (AF) calculation, and white balance (WB) adjustment calculation. Functions as a means.

CPU10には、バス12及びメモリ・インターフェース14を介してRAM(Random Access Memory)16及びROM(Read Only Memory)18が接続されている。RAM16は、プログラムの展開領域及びCPU10の演算作業用領域として利用されるとともに、画像データの一時記憶領域として利用される。ROM18には、CPU10が実行するプログラム及び制御に必要な各種データや、カメラ動作に関する各種定数/情報等が格納されている。   A RAM (Random Access Memory) 16 and a ROM (Read Only Memory) 18 are connected to the CPU 10 via a bus 12 and a memory interface 14. The RAM 16 is used as a program development area and a calculation work area for the CPU 10, and is also used as a temporary storage area for image data. The ROM 18 stores programs executed by the CPU 10, various data necessary for control, various constants / information related to camera operations, and the like.

撮像部20には、撮影レンズ及び絞り等を含む光学ユニット22や、CCDやCMOSからなるカラーイメージセンサ24(以下、単に「CCD」という)等が含まれている。光学ユニット22は、CPU10からのAF指令やAE指令によりモータ駆動部32を介してフォーカスレンズや絞り等が駆動される。   The imaging unit 20 includes an optical unit 22 including a photographing lens, a diaphragm, and the like, a color image sensor 24 (hereinafter simply referred to as “CCD”) composed of a CCD or a CMOS, and the like. In the optical unit 22, a focus lens, a diaphragm, and the like are driven via the motor driving unit 32 in accordance with an AF command or AE command from the CPU 10.

CCD24は、多数のフォトダイオード(受光素子)が二次元的に配列されており、各受光素子に対応して赤(R)、緑(G)、青(B)の原色カラーフィルタが所定の配列構造(ベイヤー、GストライプRB完全市松など)で配置されている。また、CCD24は、各受光素子の電荷蓄積時間(シャッタースピード)を制御する電子シャッター機能を有している。CPU10は、タイミング・ジェネレータ34を介してCCD24での電荷蓄積時間を制御する。   The CCD 24 has a number of photodiodes (light receiving elements) arranged two-dimensionally, and red (R), green (G), and blue (B) primary color filters corresponding to each light receiving element are arranged in a predetermined arrangement. Arranged in a structure (Bayer, G stripe RB complete checkered, etc.). The CCD 24 has an electronic shutter function for controlling the charge accumulation time (shutter speed) of each light receiving element. The CPU 10 controls the charge accumulation time in the CCD 24 via the timing generator 34.

このCCD24から順次読み出されたCCD信号は、アナログ信号処理部26に加えられる。アナログ信号処理部26は、CDS回路やアナログアンプ等を有し、CDS回路は入力するCCD信号を相関二重サンプリング処理し、アナログアンプは、CPU10から加えられる撮影感度設定用ゲインによってCDS回路から出力されるCCD信号を増幅する。   The CCD signals sequentially read from the CCD 24 are added to the analog signal processing unit 26. The analog signal processing unit 26 includes a CDS circuit, an analog amplifier, and the like. The CDS circuit performs correlated double sampling processing on the input CCD signal, and the analog amplifier outputs from the CDS circuit by a photographing sensitivity setting gain applied from the CPU 10. The CCD signal to be amplified is amplified.

アナログ信号処理部26にてアナログ処理されたCCD信号は、A/D変換器28に加えられ、ここで画素ごとにデジタルのカラー画像データ(点順次のR,G,B信号)に変換される。   The CCD signal analog-processed by the analog signal processing unit 26 is added to an A / D converter 28, where it is converted into digital color image data (dot sequential R, G, B signals) for each pixel. .

R,G,B信号は、デジタル信号処理部30を介してRAM16に一時的に記憶される。このR,G,B信号は、デジタル信号処理部30に入力され、ここで所要の信号処理が行われる。尚、デジタル信号処理部30での画像処理の詳細については、後述する。   The R, G, and B signals are temporarily stored in the RAM 16 via the digital signal processing unit 30. The R, G, and B signals are input to the digital signal processing unit 30, where required signal processing is performed. The details of the image processing in the digital signal processing unit 30 will be described later.

撮像装置1―1の操作部36には、図2(A)に示すように撮影モード(オート撮影モード、マニュアル撮影モード、シーンポジション、動画等)を選択するためのモードレバー36A、このモードレバー36Aの中心に設けられたシャッターボタン36B、マルチファンクションの十字キー36D、その他、図示しない再生モードに切り替える再生ボタン、表示部(LCDモニタ)40にメニュー画面を表示させるメニューボタン、メニュー画面から所望の項目を選択するための、選択項目の確定や処理の実行を指令するOKボタン、選択項目など所望の対象の消去や指示内容の取消し、或いは1つ前の操作状態に戻らせる指令を入力するBACKボタンなどが含まれる。   The operation unit 36 of the imaging apparatus 1-1 has a mode lever 36A for selecting a shooting mode (automatic shooting mode, manual shooting mode, scene position, moving image, etc.) as shown in FIG. A shutter button 36B provided at the center of 36A, a multi-function cross key 36D, a playback button for switching to a playback mode (not shown), a menu button for displaying a menu screen on the display (LCD monitor) 40, and a desired menu screen. To select an item, an OK button for confirming the selected item or executing a process, a desired object such as a selected item is deleted, an instruction content is canceled, or a command for returning to the previous operation state is input. Includes buttons.

操作部36からの出力信号は、CPU10に入力され、CPU10は操作部36からの入力信号に基づいて撮影や再生等の適宜の処理を実施させるとともに、後述するように水中で画像の色再現をよくするための処理等を実施させる。   An output signal from the operation unit 36 is input to the CPU 10, and the CPU 10 performs appropriate processing such as shooting and reproduction based on the input signal from the operation unit 36, and reproduces the color of the image underwater as described later. We perform processing to improve.

この撮像装置1−1は、図示しない防水パックに装着することにより水中での撮影が可能になっており、水中撮影に適した「水中モード」を有している。そして、操作部36の操作により、「水中モード」の設定指示をCPU10に出力することができる。   This imaging device 1-1 can be photographed underwater by being attached to a waterproof pack (not shown), and has an “underwater mode” suitable for underwater photography. Then, by operating the operation unit 36, a setting instruction for “underwater mode” can be output to the CPU 10.

即ち、「水中モード」の設定は、図2(A)に示すようにシーンポジション(人物、風景、スポーツ、水中)を選択するためのメニュー画面を利用して行うことができる。また、図2(B)に示すように専用のDiveボタン36Eを設け、このDiveボタン36Eを操作して「水中モード」を設定するようにしてもよい。   That is, the “underwater mode” can be set using a menu screen for selecting a scene position (person, landscape, sport, underwater) as shown in FIG. Further, as shown in FIG. 2B, a dedicated Dive button 36E may be provided, and the “underwater mode” may be set by operating the Dive button 36E.

撮像装置1−1には、被写体にストロボ光を照射するためのストロボ装置42が含まれ、ストロボ装置42は、CPU10からの発光指令によって充電部44から電源の供給を受けてストロボ光を照射する。   The imaging device 1-1 includes a strobe device 42 for irradiating a subject with strobe light. The strobe device 42 is supplied with power from the charging unit 44 in response to a light emission command from the CPU 10 and emits strobe light. .

デジタル信号処理部30で処理された画像データ(輝度信号Y,色差信号Cr,Cb)は、圧縮伸張処理回路46に与えられ、ここで、所定の圧縮フォーマット(例えば、JPEG方式) に従って圧縮される。圧縮された画像データは、外部メモリ・インターフェース48を介してメモリカード50に記録される。   The image data (luminance signal Y, color difference signals Cr, Cb) processed by the digital signal processing unit 30 is given to the compression / decompression processing circuit 46, where it is compressed according to a predetermined compression format (for example, JPEG method). . The compressed image data is recorded on the memory card 50 via the external memory interface 48.

また、LCDモニタ40には、LCDインターフェース38を介して加えられる画像信号により撮像準備中に映像(スルー動画)が表示され、また、再生モード時にメモリカード50に記録された画像が表示される。   Further, on the LCD monitor 40, a video (through moving image) is displayed during imaging preparation by an image signal applied via the LCD interface 38, and an image recorded on the memory card 50 is displayed in the reproduction mode.

図3は図1に示したデジタル信号処理部30の詳細な回路構成を示すブロック図である。   FIG. 3 is a block diagram showing a detailed circuit configuration of the digital signal processing unit 30 shown in FIG.

前述したようにRAM16に一時記憶されたR,G,B信号(CCDRAWデータ)は、デジタル信号処理部30のオフセット処理回路30AにR,G,Bの点順次で加えられる。R,G,B信号は、オフセット処理回路30Aにおいてオフセット処理が行われる。オフセット処理回路30Aから出力されたオフセット処理されたR,G,B信号は、リニアマトリクス回路30Bに出力され、ここで色補正処理が行われる。   As described above, the R, G, and B signals (CCD RAW data) temporarily stored in the RAM 16 are added to the offset processing circuit 30A of the digital signal processing unit 30 in the order of R, G, and B dots. The R, G, and B signals are subjected to offset processing in the offset processing circuit 30A. The offset processed R, G, B signals output from the offset processing circuit 30A are output to the linear matrix circuit 30B, where color correction processing is performed.

即ち、リニアマトリクス回路30Bは、入力するR,G,B信号と、3行×3列のマトリクス係数(A11,A12, …,A33)とからマトリクス演算を行って、色補正されたR,G,B信号を算出する。   That is, the linear matrix circuit 30B performs a matrix operation from the input R, G, B signals and the matrix coefficients (A11, A12,..., A33) of 3 rows × 3 columns, and the color corrected R, G , B signals are calculated.

尚、マトリクス演算に使用される3行×3列の色補正マトリクス係数(A11,A12, …,A33)の詳細については後述する。   The details of the 3 × 3 color correction matrix coefficients (A11, A12,..., A33) used for the matrix calculation will be described later.

リニアマトリクス回路30Bから出力されたR,G,B信号は、ホワイトバランス(WB)調整回路30Cに出力される。WB調整回路30Cは、R,G,B信号ごとにそれぞれホワイトバランス調整用のWBゲインをかけることによりホワイトバランス調整を行う。WB調整回路30Cから出力されたR,G,B信号は、ガンマ補正回路30Dに出力され、ここで中間調等の階調補正を行うガンマ補正が行われる。ガンマ補正されたR,G,B信号は、同時化処理回路30Eに出力される。   The R, G, B signals output from the linear matrix circuit 30B are output to the white balance (WB) adjustment circuit 30C. The WB adjustment circuit 30C performs white balance adjustment by applying a WB gain for white balance adjustment for each of the R, G, and B signals. The R, G, and B signals output from the WB adjustment circuit 30C are output to the gamma correction circuit 30D, where gamma correction for performing gradation correction such as halftone is performed. The gamma corrected R, G, B signals are output to the synchronization processing circuit 30E.

同時化処理回路30Eは、単板のCCD24のCCDカラーフィルタ配列に伴うR,G,B信号の空間的なズレを補間してR,G,B信号を同時式に変換する処理を行い、同時化したR,G,B信号をRGB/YC変換回路30Fに出力する。   The synchronization processing circuit 30E performs a process of converting the R, G, B signals into simultaneous equations by interpolating the spatial deviation of the R, G, B signals associated with the CCD color filter array of the single CCD 24. The converted R, G, B signals are output to the RGB / YC conversion circuit 30F.

RGB/YC変換回路30Fは、R,G,B信号を輝度信号Y,色差信号Cr,Cbに変換し、輝度信号Yを輪郭補正回路30Gに出力し、色差信号Cr,Cbを色差マトリクス回路30Hに出力する。輪郭補正回路30Gは、輝度信号Yの輪郭部(輝度変化の大きい部分)を強調する処理を行う。   The RGB / YC conversion circuit 30F converts the R, G, and B signals into a luminance signal Y and color difference signals Cr and Cb, outputs the luminance signal Y to the contour correction circuit 30G, and outputs the color difference signals Cr and Cb to the color difference matrix circuit 30H. Output to. The contour correction circuit 30G performs processing to emphasize the contour portion (the portion where the luminance change is large) of the luminance signal Y.

色差マトリクス回路30Hは、2行×2列の色補正マトリクス係数と入力する色差信号Cr,Cbとのマトリクス演算を行い、良好な色再現性を実現させるための色補正を行う。   The color difference matrix circuit 30H performs a matrix operation on the color correction matrix coefficients of 2 rows × 2 columns and the input color difference signals Cr and Cb, and performs color correction to realize good color reproducibility.

このようにして輪郭補正された輝度信号Y、及び色差マトリクス変換された色差信号Cr,Cbは、一旦RAM16に保存された後、圧縮伸張処理回路46に与えられ、ここで、JPEG方式に従って圧縮される。圧縮された画像データは、外部メモリ・インターフェース48を介してメモリカード50に記録される。   The luminance signal Y subjected to the contour correction and the color difference signals Cr and Cb subjected to the color difference matrix conversion are temporarily stored in the RAM 16 and then given to the compression / decompression processing circuit 46, where they are compressed according to the JPEG method. The The compressed image data is recorded on the memory card 50 via the external memory interface 48.

図1に戻って、評価値導出部52は、R,G,B信号別のヒストグラムから平均値、標準偏差、中央値、基準最小値、基準最大値等の評価値を導出する。ヒストグラム評価値導出部54は、R,G,Bの画像ごとに階調の度数分布を示すヒストグラム評価値を導出する。   Returning to FIG. 1, the evaluation value deriving unit 52 derives evaluation values such as an average value, a standard deviation, a median value, a reference minimum value, and a reference maximum value from the histogram for each of the R, G, and B signals. The histogram evaluation value deriving unit 54 derives a histogram evaluation value indicating the frequency distribution of the gradation for each of the R, G, and B images.

水中検出部56は、撮像装置1−1が水中にあることを検出するもので、例えば、水圧探知手段、ダイビングコンピュータから情報を取得する手段、防水パックへの装着を検知する手段、GPS等により構成される。   The underwater detection unit 56 detects that the imaging device 1-1 is underwater. For example, the underwater detection unit 56 includes a water pressure detection unit, a unit that acquires information from a diving computer, a unit that detects attachment to a waterproof pack, a GPS, and the like. Composed.

次に、水中で撮影された画像の画像処理方法について説明する。   Next, an image processing method for images taken underwater will be described.

[第1の実施の形態]
図4は本発明に係る画像処理方法の第1の実施の形態を示すフローチャートであり、特に水中モードでの撮影時の画像処理方法に関して示している。
[First Embodiment]
FIG. 4 is a flowchart showing the first embodiment of the image processing method according to the present invention, and particularly shows the image processing method at the time of photographing in the underwater mode.

操作部36での操作によって水中モードが設定され(ステップS10)、その後、撮影が行われると(ステップS12)、デジタル信号処理部30には、CCD22、アナログ信号処理部26及びA/D変換器28を介してCCDRAWデータが取り込まれる(ステップS14)。   When the underwater mode is set by the operation of the operation unit 36 (step S10) and then photographing is performed (step S12), the digital signal processing unit 30 includes the CCD 22, the analog signal processing unit 26, and the A / D converter. The CCD RAW data is taken in via 28 (step S14).

一方、CPU10は、水中検出部56から入力する検出信号により前記取得されたCCDRAWデータが水中撮影時のものか否かを自動判別し(ステップS16)、水中撮影によって取得したCCDRAWデータの場合には、デジタル信号処理部30に対して水中用のマトリクス係数を使用する指示を出力する(ステップS18)。   On the other hand, the CPU 10 automatically determines whether or not the acquired CCD RAW data is for underwater shooting based on a detection signal input from the underwater detection unit 56 (step S16), and in the case of CCD RAW data acquired by underwater shooting. Then, an instruction to use the matrix coefficient for underwater is output to the digital signal processing unit 30 (step S18).

この実施の形態では、CPU10は、デジタル信号処理部30のリニアマトリクス回路30B(図3)で使用される3行×3列のマトリクス係数を、次式に示すように水中用に変更するように指示する。   In this embodiment, the CPU 10 changes the matrix coefficient of 3 rows × 3 columns used in the linear matrix circuit 30B (FIG. 3) of the digital signal processing unit 30 to underwater as shown in the following equation. Instruct.

Figure 2007142978
Figure 2007142978

[数1]式に示すように、水中用のマトリクス係数は、対角項におけるB信号に対する係数(1.3)が、R信号及びG信号に対する係数(1.4)よりも小さく設定され、かつ非対角項でのR,G信号に対するB信号の係数(-0.3)が、マイナス側に大きくなるように設定されている。   As shown in [Formula 1], the matrix coefficient for underwater is such that the coefficient (1.3) for the B signal in the diagonal term is set to be smaller than the coefficient (1.4) for the R signal and the G signal, and non-diagonal The coefficient (−0.3) of the B signal with respect to the R and G signals in the term is set to be larger on the minus side.

これにより、B信号のR信号及びG信号への被りを抑えるようにしている。尚、水中撮影以外の通常の撮影時には、リニアマトリクス回路30Bのマトリクス係数は、CCD24のR,G,B毎の分光特性を補正し、人間の目の特性に近いR,G,B信号に補正するための値が設定される。   Thereby, the covering of the B signal to the R signal and the G signal is suppressed. During normal shooting other than underwater shooting, the matrix coefficient of the linear matrix circuit 30B corrects the spectral characteristics of the CCD 24 for each of R, G, and B, and corrects them to R, G, and B signals that are close to those of the human eye. The value to do is set.

続いて、デジタル信号処理部30では、上記のように設定されたマトリクス係数を使用したマトリックス演算による色補正処理、ホワイトバランス調整、及びガンマ補正等の画像処理が行われ(ステップS20)、画像処理した最終画像を示す画像信号が出力される(ステップS22)。   Subsequently, the digital signal processing unit 30 performs image processing such as color correction processing, white balance adjustment, and gamma correction by matrix calculation using the matrix coefficients set as described above (step S20). An image signal indicating the final image is output (step S22).

尚、この実施の形態では、操作部36の操作による水中モードの設定と、水中検出部56による水中の自動検出とを併用するようにしているが、いずれか一方のみを用いるようにしてもよい。   In this embodiment, the setting of the underwater mode by the operation of the operation unit 36 and the automatic detection of the underwater by the underwater detection unit 56 are used in combination, but only one of them may be used. .

[第2の実施の形態]
図5は本発明に係る画像処理方法の第2の実施の形態を示すフローチャートである。尚、図4に示したフローチャートと共通する部分には同一のステップ番号を付し、その詳細な説明は省略する。
[Second Embodiment]
FIG. 5 is a flowchart showing a second embodiment of the image processing method according to the present invention. The parts common to the flowchart shown in FIG. 4 are denoted by the same step numbers, and detailed description thereof is omitted.

図5において、水中撮影によりCCDRAWデータを取得した場合には、その取得したCCDRAWデータからR,G,Bごとのヒストグラムを算出する(ステップS30)。   In FIG. 5, when CCD RAW data is acquired by underwater photography, a histogram for each of R, G, and B is calculated from the acquired CCD RAW data (step S30).

水中ではR光が吸収されるため、上記算出されたR,G,BのヒストグラムのうちのRのヒストグラムに着目し、R成分の多少を判別する(ステップS30)。即ち、Rのヒストグラムの幅xが、所定値(例えば、256階調で20)以下か否かを判別し、YES(x≦20)の場合にはR成分が極端に少ないと判別し、ステップS34に移行し、NO(x>20)の場合にはR成分が比較的多いと判別してステップS40に移行する。   Since R light is absorbed underwater, the R histogram of the calculated R, G, and B histograms is focused on, and the amount of R component is determined (step S30). That is, it is determined whether or not the width x of the histogram of R is equal to or less than a predetermined value (for example, 20 in 256 gradations). If YES (x ≦ 20), it is determined that the R component is extremely small, and step The process proceeds to S34, and if NO (x> 20), it is determined that the R component is relatively large, and the process proceeds to Step S40.

ステップS34では、R信号を無視し、G,Bのヒストグラムから黒浮きの有無を判別する。黒浮きの有無は、G,Bのヒストグラムのそれぞれ最小値が、一定レベル以上(階調の低い画素がない場合)のときに黒浮きが有ると判別する。黒浮きが無い場合には、ステップS40に移行し、黒浮きが有る場合には、ステップS36に移行する。   In step S34, the R signal is ignored and the presence or absence of black float is determined from the G and B histograms. The presence or absence of black float is determined to be black float when the minimum values of the G and B histograms are above a certain level (when there are no pixels with low gradation). If there is no black float, the process proceeds to step S40, and if there is black float, the process proceeds to step S36.

ステップS36では、G,Bのヒストグラムの中央値xが所定値(例えば、256階調で128)以下か否かを判別し、中央値xが所定値以下の場合には、ステップS40に移行し、中央値xが所定値を超えている場合にはステップS38に移行する。   In step S36, it is determined whether or not the median x of the G and B histograms is a predetermined value (for example, 128 in 256 gradations) or less. If the median x is less than or equal to the predetermined value, the process proceeds to step S40. If the median value x exceeds the predetermined value, the process proceeds to step S38.

ステップS38では、RGBオフセット処理を行う。ここで、RGBオフセット処理とは、R信号を無視し(R信号=0とし)、G,B信号を最大限生かすようなレベル調整(オフセット処理、階調処理、フレア補正)を行う処理を指す。   In step S38, RGB offset processing is performed. Here, the RGB offset processing refers to processing for performing level adjustment (offset processing, gradation processing, flare correction) so as to make the best use of the G and B signals while ignoring the R signal (R signal = 0). .

図6(A)及び(B)は比較的水深が深い水中画像の処理前及び処理後の画像と、これらの画像の輝度、R,G,Bのヒストグラムを示す図である。   FIGS. 6A and 6B are diagrams showing images of underwater images having relatively deep water depth before and after processing, and luminance, R, G, and B histograms of these images.

図6(B)に示すようにG信号は、黒浮きがないようにG信号の最小値が0になるようにオフセット処理されており、B信号は、ヒストグラムの幅が少し広がるようにレベル調整されている。   As shown in FIG. 6B, the G signal is offset so that the minimum value of the G signal becomes 0 so that there is no black float, and the level of the B signal is adjusted so that the width of the histogram is slightly widened. Has been.

一方、ステップS40では、RGBヒストグラム調整処理を行う。ここで、RGBヒストグラム調整処理とは、R,G,B信号のコントラストを最大限生かすようなレベル調整を行う処理を指す。例えば、図7に示すようにG信号のヒストグラムが作成された場合、G信号の基準最小値Gmin、基準最大値Gmaxを求める。この基準最小値Gminは、最も低い階調から画素数をカウントし、例えば全画素数の1%に達したときの階調とし、同様に基準最大値Gmaxは、最も高い階調から画素数をカウントし、例えば全画素数の1%に達したときの階調とする。   On the other hand, in step S40, RGB histogram adjustment processing is performed. Here, the RGB histogram adjustment processing refers to processing for performing level adjustment that makes the best use of the contrast of the R, G, and B signals. For example, when the histogram of the G signal is created as shown in FIG. 7, the reference minimum value Gmin and the reference maximum value Gmax of the G signal are obtained. This reference minimum value Gmin counts the number of pixels from the lowest gradation, for example, the gradation when it reaches 1% of the total number of pixels. Similarly, the reference maximum value Gmax determines the number of pixels from the highest gradation. The gray level is counted, for example, when it reaches 1% of the total number of pixels.

上記基準最小値Gmin及び基準最大値Gmaxに基づいて、次式によりオフセット値及びゲイン量を算出する。
[数2]
オフセット値=Gmin
ゲイン量=255/(Gmax−Gmin)
そして、入力するG信号に対し、前記オフセット値及びゲイン量を使用して次式の演算を行うことにより、コントラストを最大限生かしたレベル調整を行うことができる。
[数3]
G1=G−Gmin
G2=G1×ゲイン量
尚、R,B信号についても上記と同様に行う。また、上記オフセット値を使用したオフセット処理は、デジタル信号処理部30のオフセット処理回路30Aで行うことができ、ゲイン量の乗算は、WB調整回路30Cで行うことができる。
Based on the reference minimum value Gmin and the reference maximum value Gmax, an offset value and a gain amount are calculated by the following equations.
[Equation 2]
Offset value = Gmin
Gain amount = 255 / (Gmax-Gmin)
Then, the level adjustment that makes the best use of the contrast can be performed by calculating the following equation using the offset value and the gain amount for the input G signal.
[Equation 3]
G1 = G-Gmin
G2 = G1 × gain amount Note that R and B signals are also processed in the same manner as described above. The offset processing using the offset value can be performed by the offset processing circuit 30A of the digital signal processing unit 30, and the multiplication of the gain amount can be performed by the WB adjustment circuit 30C.

また、入力データがnビットの場合、n−1ビット以下のデータがないときは、n−1ビットまで補正することとする。このようにレベル調整できる範囲を制限することにより、カラーバランスが大きく崩れるのを防止するようにしている。   When the input data is n bits, if there is no data of n-1 bits or less, correction is made up to n-1 bits. By restricting the range in which the level can be adjusted in this way, the color balance is prevented from being greatly lost.

図8(A)及び(B)は比較的水深が浅い水中画像の処理前及び処理後の画像と、これらの画像の輝度、R,G,Bのヒストグラムを示す図である。   FIGS. 8A and 8B are diagrams showing images of underwater images with relatively shallow water depth before and after processing, and histograms of luminance, R, G, and B of these images.

図8(B)に示すようにR,G,B信号は、全ての階調(0〜255)にわたって分布するようにレベル調整され、修正後の画像は、コントラストが広がるとともに、黒浮きが生じなるようになる。   As shown in FIG. 8B, the levels of the R, G, and B signals are adjusted so that they are distributed over all gradations (0 to 255), and the corrected image has a widened contrast and a black float. Become.

ステップS38、S40によってレベル調整されたR,G,B信号は、更に通常の画像処理が行われ(ステップS42)、画像処理した最終画像を示す画像信号が出力される(ステップS22)。   The R, G, and B signals whose levels have been adjusted in steps S38 and S40 are further subjected to normal image processing (step S42), and an image signal indicating the final image subjected to image processing is output (step S22).

[第3の実施の形態]
図9は本発明に係る画像処理方法の第3の実施の形態を示すフローチャートである。
[Third Embodiment]
FIG. 9 is a flowchart showing a third embodiment of the image processing method according to the present invention.

この第3の実施の形態の画像処理方法は、水中撮影時にLCDモニタ40にスルー動画を表示させる際の画像処理方法である。尚、図4に示したフローチャートと共通する部分には同一のステップ番号を付し、その詳細な説明は省略する。   The image processing method of the third embodiment is an image processing method for displaying a through moving image on the LCD monitor 40 during underwater shooting. The parts common to the flowchart shown in FIG. 4 are denoted by the same step numbers, and detailed description thereof is omitted.

図9において、水中撮影時にCCD22、アナログ信号処理部26及びA/D変換器28を介して連続的に取り込まれるR,G,B信号のうちのG信号のヒストグラムを算出する(ステップS50)。   In FIG. 9, a histogram of the G signal among the R, G, and B signals continuously taken in via the CCD 22, the analog signal processing unit 26, and the A / D converter 28 during underwater shooting is calculated (step S50).

そして、G信号のヒストグラム評価値に基づいてGヒストグラム調整処理を行う(ステップS52)。ここで、Gヒストグラム調整処理とは、G信号のコントラストを最大限生かすような自動レベル調整を行う処理を指し、Gヒストグラム分布幅が255以下の場合には、255になるようにレベル調整を行う。   Then, G histogram adjustment processing is performed based on the histogram evaluation value of the G signal (step S52). Here, the G histogram adjustment processing refers to processing for performing automatic level adjustment that makes the best use of the contrast of the G signal. When the G histogram distribution width is 255 or less, the level adjustment is performed so that it becomes 255. .

続いて、水中撮影時には、レベル調整されたG信号と、レベル調整されていないR,B信号とに基づいてスルー動画表示用の画像処理が行われ、水中撮影以外はレベル調整されないR,G,B信号に基づいてスルー動画表示用の画像処理が行われる(ステップS54)。ステップS54で処理されたスルー動画表示用のR,G,B信号は、LCDインターフェース38を介してLCDモニタ40に加えられ、ここでスルー動画として表示される(ステップS56)。   Then, during underwater shooting, image processing for through moving image display is performed based on the level-adjusted G signal and the level-unadjusted R and B signals, and the level is not adjusted except for underwater shooting. Based on the B signal, image processing for through moving image display is performed (step S54). The through video display R, G, B signals processed in step S54 are applied to the LCD monitor 40 via the LCD interface 38, and are displayed as a through video here (step S56).

水中撮影時にLCDモニタ40に表示されるスルー動画は、G信号のみレベル調整されるため、カラーバランスが大きく崩れる副作用があるが、スルー動画のコントラストを高くすることができるため、スルー動画が鮮明になる。尚、スルー動画は、水中で主要被写体を探し、画角を設定する場合に利用し、撮影される画像には影響しないため、カラーバランスが崩れていても問題はない。また、この実施の形態では、G信号のコントラストを最大限生かすように自動レベル調整するようにしたが、これに限らず、手動によってG信号のレベル調整を行うようにしてもよい。   The through video displayed on the LCD monitor 40 during underwater shooting has the side effect that the color balance is greatly lost because the level of only the G signal is adjusted. However, since the through video contrast can be increased, the through video is clear. Become. The through video is used when searching for the main subject underwater and setting the angle of view, and does not affect the captured image, so there is no problem even if the color balance is lost. In this embodiment, the automatic level adjustment is performed so as to maximize the contrast of the G signal. However, the present invention is not limited to this, and the level adjustment of the G signal may be performed manually.

[撮像装置の他の構成]
図10は本発明に係る撮像装置の他の実施の形態を示すブロック図である。尚、図1に示した撮像装置1―1と共通する部分には共通の符号を付し、その詳細な説明は省略する。
[Other configuration of imaging apparatus]
FIG. 10 is a block diagram showing another embodiment of the imaging apparatus according to the present invention. Note that portions common to the imaging device 1-1 illustrated in FIG. 1 are denoted by common reference numerals, and detailed description thereof is omitted.

図10に示す撮像装置1−2は、図1に示した撮像装置1−1と比較して、γ変更ボタン60、及び階調変更部62が追加されている点で相違する。   The imaging apparatus 1-2 illustrated in FIG. 10 is different from the imaging apparatus 1-1 illustrated in FIG. 1 in that a γ change button 60 and a gradation change unit 62 are added.

γ変更ボタン60は、操作部36によって水中モードが選択されているときに、十字キー36Dの上下キーがγ変更ボタンとして機能し、上キーを押すと、硬調にするようなγ特性の変更を指示し、下キーを押すと、軟調にするようなγ特性の変更を指示する。   When the underwater mode is selected by the operation unit 36, the γ change button 60 functions as a γ change button when the up / down key of the cross key 36D is pressed. When instructed and the down key is pressed, the change of the γ characteristic is instructed so as to make it softer.

階調変換部62は、図11(A)又は(B)に示すような複数のγ特性を有するルックアップテーブル(ROMテーブル)を有しており、γ変更ボタン60の操作によって選択されたγ特性を有するテーブルを使用して入力する画像信号のγ変換(階調変換)を行う。尚、図11において、細線で示したγ特性は軟調(又は標準)にするような階調特性を示し、太線で示したγ特性は硬調になるような階調特性を示しているが、γ特性は、図11に示したものに限らず、また、ROMテーブルは、γ特性の異なる3種類以上のテーブルを有していてもよい。   The gradation converting unit 62 has a look-up table (ROM table) having a plurality of γ characteristics as shown in FIG. 11A or 11B, and the γ selected by operating the γ change button 60. Γ conversion (gradation conversion) of the input image signal is performed using a table having characteristics. In FIG. 11, the γ characteristic indicated by a thin line indicates a gradation characteristic that is soft (or standard), and the γ characteristic indicated by a thick line indicates a gradation characteristic that is a hard gradation. The characteristics are not limited to those shown in FIG. 11, and the ROM table may have three or more types of tables having different γ characteristics.

[第4の実施の形態]
図12は本発明に係る画像処理方法の第4の実施の形態を示すフローチャートである。
[Fourth Embodiment]
FIG. 12 is a flowchart showing the fourth embodiment of the image processing method according to the present invention.

この第4の実施の形態の画像処理方法は、水中撮影時にLCDモニタ40にスルー動画を表示させる際の画像処理方法である。   The image processing method according to the fourth embodiment is an image processing method for displaying a through moving image on the LCD monitor 40 during underwater shooting.

図12において、水中モードが選択されているときに(ステップS10)、ダイバーは、LCDモニタ40のスルー動画が見やすいか否かを判断する(ステップS60)。そして、スルー動画が見にくい場合には、ダイバーは、γ変更ボタン60を軟調側又は硬調側に操作する(ステップS62)。   In FIG. 12, when the underwater mode is selected (step S10), the diver determines whether or not the through video on the LCD monitor 40 is easy to see (step S60). Then, if it is difficult to see the through moving image, the diver operates the γ change button 60 to the soft adjustment side or the high adjustment side (step S62).

階調変換部62は、上記γ変更ボタン60の操作に応じてROMテーブルから適宜のγ特性のテーブルを選択し、この選択されたテーブルにしたがってLCDモニタ40に出力するR,G,B信号のγ変換を行う(ステップS64)。   The gradation conversion unit 62 selects an appropriate γ characteristic table from the ROM table in accordance with the operation of the γ change button 60, and outputs the R, G, B signals to be output to the LCD monitor 40 according to the selected table. γ conversion is performed (step S64).

ステップS64で処理されたスルー動画表示用のR,G,B信号は、LCDインターフェース38を介してLCDモニタ40に加えられ、ここでスルー動画として表示される(ステップS66)。   The through video display R, G, B signals processed in step S64 are applied to the LCD monitor 40 via the LCD interface 38, and are displayed as a through video here (step S66).

そして、ステップS60からステップS66の処理を繰り返すことにより、ダイバーが最も見やすいスルー動画を表示させることができるようになる。   Then, by repeating the processing from step S60 to step S66, it is possible to display a through video that is most easily seen by divers.

尚、第4の実施の形態では、スルー動画のγ特性を変更できるようにしたが、これに限らず、トーンカーブ、レベル調整等の他の階調特性を変更できるようにしてもよい。   In the fourth embodiment, the γ characteristic of the through moving image can be changed. However, the present invention is not limited to this, and other gradation characteristics such as a tone curve and level adjustment may be changed.

図1は本発明に係る撮像装置の実施の形態を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of an imaging apparatus according to the present invention. 図2は撮像装置の操作部及びLCDモニタの一例を示す背面図である。FIG. 2 is a rear view illustrating an example of the operation unit and the LCD monitor of the imaging apparatus. 図3は図1に示したデジタル信号処理部の詳細な回路構成を示すブロック図である。FIG. 3 is a block diagram showing a detailed circuit configuration of the digital signal processing unit shown in FIG. 図4は本発明に係る画像処理方法の第1の実施の形態を示すフローチャートである。FIG. 4 is a flowchart showing the first embodiment of the image processing method according to the present invention. 図5は本発明に係る画像処理方法の第2の実施の形態を示すフローチャートである。FIG. 5 is a flowchart showing a second embodiment of the image processing method according to the present invention. 図6(A)及び(B)は比較的水深が深い水中画像の処理前及び処理後の画像と、これらの画像の輝度、R,G,Bのヒストグラムを示す図である。FIGS. 6A and 6B are diagrams showing images of underwater images having relatively deep water depth before and after processing, and luminance, R, G, and B histograms of these images. 図7はG信号のヒストグラムの一例を示すグラフである。FIG. 7 is a graph showing an example of a histogram of the G signal. 図8(A)及び(B)は比較的水深が浅い水中画像の処理前及び処理後の画像と、これらの画像の輝度、R,G,Bのヒストグラムを示す図である。FIGS. 8A and 8B are diagrams showing images of underwater images with relatively shallow water depth before and after processing, and histograms of luminance, R, G, and B of these images. 図9は本発明に係る画像処理方法の第3の実施の形態を示すフローチャートである。FIG. 9 is a flowchart showing a third embodiment of the image processing method according to the present invention. 図10は本発明に係る撮像装置の他の実施の形態を示すブロック図である。FIG. 10 is a block diagram showing another embodiment of the imaging apparatus according to the present invention. 図11(A)及び(B)はルックアップテーブル(ROMテーブル)に記憶される複数のγ特性を示すグラフである。FIGS. 11A and 11B are graphs showing a plurality of γ characteristics stored in a lookup table (ROM table). 図12は本発明に係る画像処理方法の第4の実施の形態を示すフローチャートである。FIG. 12 is a flowchart showing the fourth embodiment of the image processing method according to the present invention.

符号の説明Explanation of symbols

1−1、1−2…撮像装置(デジタルカメラ)、10…中央処理装置(CPU)、16…RAM、18…ROM、20…撮像部、22…光学ユニット、24…カラーイメージセンサ(CCD)、26…アナログ信号処理部、30…デジタル信号処理部、30A…オフセット処理回路、30B…リニアマトリクス回路、30C…ホワイトバランス調整回路、30D…ガンマ補正回路、30E…同時化処理回路、30F…RGB/YC変換回路、30G…輪郭補正回路、30H…色差マトリクス回路、36…操作部、40…表示部(LCDモニタ)、50…メモリカード、52…評価値導出部、54…ヒストグラム評価値導出部、56…水中検出部、60…γ変更ボタン、62…階調変更部   1-1, 1-2 ... Imaging device (digital camera), 10 ... Central processing unit (CPU), 16 ... RAM, 18 ... ROM, 20 ... Imaging unit, 22 ... Optical unit, 24 ... Color image sensor (CCD) 26 ... analog signal processing unit, 30 ... digital signal processing unit, 30A ... offset processing circuit, 30B ... linear matrix circuit, 30C ... white balance adjustment circuit, 30D ... gamma correction circuit, 30E ... synchronization processing circuit, 30F ... RGB / YC conversion circuit, 30G ... contour correction circuit, 30H ... color difference matrix circuit, 36 ... operation unit, 40 ... display unit (LCD monitor), 50 ... memory card, 52 ... evaluation value deriving unit, 54 ... histogram evaluation value deriving unit 56 ... Underwater detection unit 60 ... γ change button 62 ... Gradation change unit

Claims (8)

水中撮影時に取得したカラー画像信号を処理する画像処理方法において、
水中撮影時に撮像素子からR,G,B信号を取得するステップと、
前記取得したR,G,B信号にマトリクス係数を乗算して色補正を行うステップであって、B信号のR信号及びG信号への被りを防ぐように設定された前記マトリクス係数を使用してマトリクス演算するステップと、
を含むことを特徴とする画像処理方法。
In an image processing method for processing a color image signal acquired during underwater shooting,
Acquiring R, G, B signals from the image sensor during underwater photography;
A step of performing color correction by multiplying the acquired R, G, B signal by a matrix coefficient, and using the matrix coefficient set so as to prevent the B signal from being covered with the R signal and the G signal. A matrix calculation step;
An image processing method comprising:
前記マトリクス係数は、対角項におけるB信号に対する係数を、R信号及びG信号に対する係数よりも小さく、及び/又は非対角項でのR,G信号に対するB信号の係数をマイナス側に大きくなるように設定されていることを特徴とする請求項1に記載の画像処理方法。   The matrix coefficient is smaller in the coefficient for the B signal in the diagonal term than the coefficient for the R signal and the G signal and / or larger in the negative direction than the coefficient of the B signal for the R and G signals in the non-diagonal terms. The image processing method according to claim 1, wherein the image processing method is set as follows. 水中撮影時に取得したカラー画像信号を処理する画像処理方法において、
水中撮影時に撮像素子からR,G,B信号を取得するステップと、
前記取得したR,G,B信号のうちの少なくともR信号のヒストグラム評価値を算出するステップと、
前記算出したヒストグラム評価値に基づいて2種類以上の信号処理のうちのいずれかの信号処理を選択するステップと、
前記取得したR,G,B信号に対して前記選択した信号処理を施すステップと、
を含むことを特徴とする画像処理方法。
In an image processing method for processing a color image signal acquired during underwater shooting,
Acquiring R, G, B signals from the image sensor during underwater photography;
Calculating a histogram evaluation value of at least the R signal among the acquired R, G, B signals;
Selecting any one of two or more types of signal processing based on the calculated histogram evaluation value;
Performing the selected signal processing on the acquired R, G, B signals;
An image processing method comprising:
水中撮影時に連続的に取得したカラー画像信号を処理してカメラのモニタに出力し、該モニタにスルー動画を表示させる画像処理方法において、
水中撮影時に撮像素子から連続的にR,G,B信号を取得するステップと、
前記連続的に取得したR,G,B信号のうちのG信号のヒストグラム評価値を算出するステップと、
前記算出したヒストグラム評価値に基づいてG信号の画像のコントラストを高くするための信号処理をG信号のみに施すステップと、
前記連続的に取得したR,G,B信号のうちのR,B信号と前記信号処理を施したG信号とに基づいてスルー動画をモニタに表示させるステップと、
を含むことを特徴とする画像処理方法。
In an image processing method of processing a color image signal continuously acquired during underwater shooting and outputting it to a camera monitor, and displaying a through video on the monitor,
Continuously acquiring R, G, B signals from the image sensor during underwater photography;
Calculating a histogram evaluation value of a G signal among the continuously acquired R, G, B signals;
Applying signal processing only to the G signal to increase the contrast of the image of the G signal based on the calculated histogram evaluation value;
Displaying a through moving image on a monitor based on the R, B signals of the continuously acquired R, G, B signals and the G signals subjected to the signal processing;
An image processing method comprising:
水中撮影時に連続的に取得した画像信号を処理してカメラのモニタに出力し、該モニタにスルー動画を表示させる画像処理方法において、
水中撮影時に撮像素子から連続的に画像信号を取得するステップと、
前記連続的に取得した画像信号の階調特性の変更指示を受け付けるステップと、
前記階調特性の変更指示に応じて前記連続的に取得した画像信号の階調変換を行うステップと、
前記階調変換された画像信号に基づいてスルー動画をモニタに表示させるステップと、
を含むことを特徴とする画像処理方法。
In an image processing method for processing an image signal continuously acquired during underwater shooting and outputting it to a camera monitor, and displaying a through video on the monitor,
Acquiring image signals continuously from the image sensor during underwater photography;
Receiving an instruction to change the gradation characteristics of the continuously acquired image signals;
Performing gradation conversion of the continuously acquired image signal in response to an instruction to change the gradation characteristics;
Displaying a through video on a monitor based on the image signal subjected to the gradation conversion;
An image processing method comprising:
水中撮影が可能な撮像装置において、
被写体を撮像するカラー撮像手段と、
前記カラー撮像手段を介して被写体を示すR,G,B信号を取得する画像取得手段と、
前記取得したR,G,B信号のうちの少なくともR信号のヒストグラム評価値を算出するヒストグラム評価値算出手段と、
前記算出したヒストグラム評価値に基づいて2種類以上の信号処理のうちのいずれかの信号処理を選択する信号処理選択手段と、
前記取得したR,G,B信号に対して前記選択した信号処理を施す信号処理手段と、
を備えたことを特徴とする撮像装置。
In an imaging device capable of underwater photography,
Color imaging means for imaging a subject;
Image acquisition means for acquiring R, G, B signals indicating the subject via the color imaging means;
A histogram evaluation value calculating means for calculating a histogram evaluation value of at least the R signal among the acquired R, G, B signals;
Signal processing selection means for selecting any one of two or more types of signal processing based on the calculated histogram evaluation value;
Signal processing means for performing the selected signal processing on the acquired R, G, B signals;
An imaging apparatus comprising:
水中撮影が可能な撮像装置において、
被写体を撮像する撮像手段と、
前記撮像手段を介して被写体を示す画像信号を連続的に取得する画像取得手段と、
前記連続的に取得した画像信号の階調を変換する階調変換手段と、
前記階調変換手段での階調変換特性の変更を指示する変更指示手段と、
前記階調変換手段によって階調変換された画像信号に基づいてスルー動画を表示するモニタと、
を備えたことを特徴とする撮像装置。
In an imaging device capable of underwater photography,
Imaging means for imaging a subject;
Image acquisition means for continuously acquiring image signals indicating the subject via the imaging means;
Gradation converting means for converting the gradation of the continuously acquired image signal;
Change instruction means for instructing change of gradation conversion characteristics in the gradation conversion means;
A monitor that displays a through moving image based on the image signal subjected to gradation conversion by the gradation conversion means;
An imaging apparatus comprising:
前記階調変換手段は、軟調から硬調までの複数の階調変換用のルックアップテーブルを有し、前記変換指示手段は、前記複数のルックアップテーブルから任意のルックアップテーブルを選択し、前記階調変換手段は、前記選択されたルックアップテーブルにしたがって入力する画像信号の階調変換を行うことを特徴とする請求項7に記載の撮像装置。


The gradation converting means includes a plurality of gradation conversion look-up tables from soft to hard, and the conversion instruction means selects an arbitrary look-up table from the plurality of look-up tables, and The imaging apparatus according to claim 7, wherein the tone conversion unit performs gradation conversion of an input image signal according to the selected lookup table.


JP2005336276A 2005-11-21 2005-11-21 Image processing method and imaging apparatus Pending JP2007142978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005336276A JP2007142978A (en) 2005-11-21 2005-11-21 Image processing method and imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005336276A JP2007142978A (en) 2005-11-21 2005-11-21 Image processing method and imaging apparatus

Publications (1)

Publication Number Publication Date
JP2007142978A true JP2007142978A (en) 2007-06-07

Family

ID=38205261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005336276A Pending JP2007142978A (en) 2005-11-21 2005-11-21 Image processing method and imaging apparatus

Country Status (1)

Country Link
JP (1) JP2007142978A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013021518A (en) * 2011-07-12 2013-01-31 Canon Inc Imaging apparatus and control method of the same
JP2015061156A (en) * 2013-09-18 2015-03-30 株式会社ニコン Image processing apparatus and imaging apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013021518A (en) * 2011-07-12 2013-01-31 Canon Inc Imaging apparatus and control method of the same
JP2015061156A (en) * 2013-09-18 2015-03-30 株式会社ニコン Image processing apparatus and imaging apparatus

Similar Documents

Publication Publication Date Title
US10412296B2 (en) Camera using preview image to select exposure
US7912282B2 (en) Image processing apparatus for correcting an input image and image processing method therefor
US8081236B2 (en) Camera system capable of performing exposure control processing combined with gradation conversion processing
US8036487B2 (en) Image processing method, apparatus and program as well as imaging apparatus
US7751618B2 (en) Image processing method and image processing apparatus, and program thereof
EP0757473A2 (en) Image processing apparatus and method
KR20080035981A (en) Image processing apparatus, imaging apparatus, image processing method, and computer program
US8502881B2 (en) Image processing apparatus, image processing method, and electronic camera
US20070047019A1 (en) Device and method for processing images
US8525920B2 (en) Imaging apparatus and signal processing method for checking a photographed image in a multi-band camera immediately
JP2007259344A (en) Imaging apparatus and image processing method
JP2006081037A (en) Image pickup device
US20100201840A1 (en) Image pickup device, image processing method, and storage medium
JP2007028088A (en) Imaging apparatus and image processing method
JP4717720B2 (en) Image processing apparatus and method, and program
US8155472B2 (en) Image processing apparatus, camera, image processing program product and image processing method
US20020196483A1 (en) Digital camera
JP2003299115A (en) Image signal processor
JP2010273001A (en) Image processor, imaging apparatus, and synthetic image generating method
JP2006333113A (en) Imaging device
JP5070921B2 (en) Development processing apparatus for undeveloped image data, development processing method, and computer program for development processing
JP2007142978A (en) Image processing method and imaging apparatus
JP2008219230A (en) Imaging apparatus, and image processing method
JP4028395B2 (en) Digital camera
JP2007053479A (en) Signal processing method of imaging apparatus, and imaging apparatus