[go: up one dir, main page]

JP2010141454A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2010141454A
JP2010141454A JP2008313890A JP2008313890A JP2010141454A JP 2010141454 A JP2010141454 A JP 2010141454A JP 2008313890 A JP2008313890 A JP 2008313890A JP 2008313890 A JP2008313890 A JP 2008313890A JP 2010141454 A JP2010141454 A JP 2010141454A
Authority
JP
Japan
Prior art keywords
image data
writing
gain
unit
specifying
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
JP2008313890A
Other languages
Japanese (ja)
Inventor
Takeshi Sasaki
剛 佐々木
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2008313890A priority Critical patent/JP2010141454A/en
Publication of JP2010141454A publication Critical patent/JP2010141454A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus capable of quickly and exactly controlling the gain of image data captured repeatedly. <P>SOLUTION: Raw image data output from a pre-processing circuit 20 is written in a raw image area 32a at an SDRAM 32 by a data write-in circuit 30w. The image data stored in the raw image area 32a is read by a data read-out circuit 30r. A post-processing circuit 34 applies processing to the image data read by the data read-out circuit 30r. Wherein, the processing contains gain control which refers to a gain factor. A CPU 26 refers to an intensity distribution of raw image data interested by the data write-in circuit 30w, and specifies a percentage of pixels belonging to a default low intensity range in the raw image data interested by the data write-in circuit 30w. Moreover, the CPU 26 adjusts the capacity of a gain factor corresponding to the pixels belonging to the default low intensity range among gain factors referred for gain control, with reference to the percentage specified in the above way. As the result, the gain of the image data can be quickly and exactly controlled. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

この発明は、画像処理装置に関し、特にビデオカメラに適用され、動画像を形成する画像データのゲインを調整する、画像処理装置に関する。   The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus which is applied to a video camera and adjusts the gain of image data forming a moving image.

この種の装置の一例が、特許文献1に開示されている。この背景技術によれば、所定の低輝度領域に属する画素の割合が、画像データの輝度分布を表すヒストグラムを参照して算出される。階調曲線は算出された割合を参照して変更され、画像データは変更された階調曲線に従う輝度補正(ゲイン制御)を施される。
特開2001−189862号公報
An example of this type of device is disclosed in Patent Document 1. According to this background art, the ratio of pixels belonging to a predetermined low luminance area is calculated with reference to a histogram representing the luminance distribution of image data. The gradation curve is changed with reference to the calculated ratio, and the image data is subjected to luminance correction (gain control) according to the changed gradation curve.
JP 2001-189862 A

しかし、背景技術は、プリンタにおけるゲイン制御つまり静止画像に相当する画像データのゲイン制御を想定しており、動画像のように繰り返し取り込まれる画像データのゲイン制御には限界がある。   However, the background art assumes gain control in a printer, that is, gain control of image data corresponding to a still image, and there is a limit to gain control of image data that is repeatedly captured like a moving image.

それゆえに、この発明の主たる目的は、繰り返し取り込まれる画像データのゲインを迅速かつ的確に制御することができる、画像処理装置を提供することである。   Therefore, a main object of the present invention is to provide an image processing apparatus that can quickly and accurately control the gain of image data that is repeatedly captured.

この発明に従う画像処理装置(10:実施例で相当する参照符号。以下同じ)は、画像データをメモリ(32)に書き込む書き込み手段(30w)、書き込み手段によって書き込まれた画像データをメモリから読み出す読み出し手段(30r)、読み出し手段によって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す処理手段(34)、既定の輝度範囲に属する画素が書き込み手段によって注目される画像データに占める割合を書き込み手段によって注目される画像データの輝度分布を参照して特定する特定手段(S9~S15)、およびゲイン制御のために参照されるゲイン係数のうち既定の輝度範囲に属する画素に対応する特定ゲイン係数の大きさを特定手段によって特定された割合を参照して調整する調整手段(S31~S53)を備える。   An image processing apparatus according to the present invention (10: reference numeral corresponding to the embodiment; the same applies hereinafter) includes a writing means (30w) for writing image data into the memory (32), and a reading for reading out the image data written by the writing means from the memory. Means (30r), processing means (34) for performing processing including gain control with reference to a gain coefficient on the image data read by the reading means, and pixels belonging to a predetermined luminance range are converted into image data to be noticed by the writing means Corresponding to the pixels belonging to the predetermined luminance range among the gain factors referred to for gain control, specifying means (S9 to S15) for specifying the occupying ratio with reference to the luminance distribution of the image data noted by the writing means Adjusting means (S31 to S53) for adjusting the magnitude of the specific gain coefficient with reference to the ratio specified by the specifying means.

画像データは、書き込み手段によってメモリに書き込まれる。書き込み手段によって書き込まれた画像データは、読み出し手段によってメモリから読み出される。処理手段は、読み出し手段によって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す。特定手段は、既定の輝度範囲に属する画素が書き込み手段によって注目される画像データに占める割合を、書き込み手段によって注目される画像データの輝度分布を参照して特定する。調整手段は、ゲイン制御のために参照されるゲイン係数のうち既定の輝度範囲に属する画素に対応する特定ゲイン係数の大きさを、特定手段によって特定された割合を参照して調整する。   The image data is written into the memory by the writing means. The image data written by the writing unit is read from the memory by the reading unit. The processing means performs processing including gain control with reference to a gain coefficient on the image data read by the reading means. The specifying unit specifies a ratio of pixels belonging to the predetermined luminance range in the image data focused on by the writing unit with reference to a luminance distribution of the image data focused on by the writing unit. The adjusting means adjusts the magnitude of the specific gain coefficient corresponding to the pixel belonging to the predetermined luminance range among the gain coefficients referred to for gain control with reference to the ratio specified by the specifying means.

このように、既定の輝度範囲に属する画素の割合は、書き込み手段によって注目される画像データの輝度分布を参照して特定される。一方、ゲイン制御は、読み出し手段によって読み出された画像データに対して実行される。さらに、特定ゲイン係数の大きさは、書き込み手段によって注目される画像データから特定された割合を参照して調整される。これによって、画像データのゲインを迅速かつ的確に制御することができる。   As described above, the ratio of the pixels belonging to the predetermined luminance range is specified with reference to the luminance distribution of the image data noticed by the writing unit. On the other hand, gain control is performed on the image data read by the reading unit. Furthermore, the magnitude of the specific gain coefficient is adjusted with reference to the ratio specified from the image data noted by the writing means. As a result, the gain of the image data can be controlled quickly and accurately.

好ましくは、書き込み手段によって注目される画像データは第1形式に従う画像データに相当し、処理手段によって実行される処理は読み出し手段によって読み出された画像データの形式を第2形式に変換する変換処理を含む。   Preferably, the image data noted by the writing means corresponds to image data according to the first format, and the processing executed by the processing means is a conversion process for converting the format of the image data read by the reading means into the second format. including.

さらに好ましくは、第1形式は複数の画素の各々が複数色のいずれか1つの色情報を有する形式に相当し、第2形式は複数の画素の各々が複数色の全ての色情報を有する形式に相当する。   More preferably, the first format corresponds to a format in which each of a plurality of pixels has any one color information of a plurality of colors, and the second format has a format in which each of a plurality of pixels has all color information of a plurality of colors. It corresponds to.

好ましくは、ゲイン制御はゲイン係数が増大するほどゲインを増大させる処理動作に相当し、調整手段は割合が増大するほど特定ゲイン係数を増大させる係数補正手段(S33, S41, S49)を含む。   Preferably, the gain control corresponds to a processing operation for increasing the gain as the gain coefficient increases, and the adjustment means includes coefficient correction means (S33, S41, S49) for increasing the specific gain coefficient as the ratio increases.

さらに好ましくは、既定の輝度範囲は互いに異なる複数の低輝度範囲を含み、特定手段は複数の低輝度範囲の各々に対応して割合特定処理を実行し、係数補正手段は複数の低輝度範囲の各々に対応して係数補正処理を実行する。   More preferably, the predetermined luminance range includes a plurality of low luminance ranges different from each other, the specifying unit performs a ratio specifying process corresponding to each of the plurality of low luminance ranges, and the coefficient correcting unit includes a plurality of low luminance ranges. Coefficient correction processing is executed corresponding to each.

好ましくは、書き込み手段によって注目される画像データの輝度分布を表すヒストグラムを書き込み手段の書き込み処理と並列して作成する作成手段(S7)をさらに備え、特定手段は作成手段によって作成されたヒストグラムを参照する。   Preferably, the image forming apparatus further includes a creation unit (S7) that creates a histogram representing a luminance distribution of image data focused by the writing unit in parallel with the writing process of the writing unit, and the specifying unit refers to the histogram created by the creating unit. To do.

好ましくは、被写界を捉える撮像面を有し、書き込み手段によって注目される画像データを繰り返し出力する撮像手段(16, 20)をさらに備える。   Preferably, the image processing apparatus further includes an image pickup unit (16, 20) having an image pickup surface for capturing the object scene and repeatedly outputting image data noticed by the writing unit.

この発明に従う画像処理プログラムは、画像データをメモリ(32)に書き込む書き込み手段(30w)、書き込み手段によって書き込まれた画像データをメモリから読み出す読み出し手段(30r)、および読み出し手段によって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す処理手段(34)を備える画像処理装置(10)のプロセッサ(26)に、既定の輝度範囲に属する画素が書き込み手段によって注目される画像データに占める割合を書き込み手段によって注目される画像データの輝度分布を参照して特定する特定ステップ(S9~S15)、およびゲイン制御のために参照されるゲイン係数のうち既定の輝度範囲に属する画素に対応する特定ゲイン係数の大きさを特定ステップによって特定された割合を参照して調整する調整ステップ(S31~S53)を実行させるための、画像処理プログラムである。   The image processing program according to the present invention includes a writing means (30w) for writing image data to the memory (32), a reading means (30r) for reading image data written by the writing means from the memory, and an image read by the reading means. Image data in which pixels belonging to a predetermined luminance range are noted by the writing means to the processor (26) of the image processing apparatus (10) including processing means (34) for performing processing including gain control with reference to the gain coefficient for the data Specific step (S9 to S15) for specifying the ratio of the image data with reference to the luminance distribution of the image data to be noticed by the writing means, and the pixels belonging to the predetermined luminance range among the gain coefficients referred to for gain control Execute adjustment steps (S31 to S53) to adjust the magnitude of the corresponding specific gain coefficient with reference to the ratio specified in the specific step This is an image processing program.

この発明に従う画像処理方法は、画像データをメモリ(32)に書き込む書き込み手段(30w)、書き込み手段によって書き込まれた画像データをメモリから読み出す読み出し手段(30r)、および読み出し手段によって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す処理手段(34)を備える画像処理装置(10)によって実行される画像処理方法であって、既定の輝度範囲に属する画素が書き込み手段によって注目される画像データに占める割合を書き込み手段によって注目される画像データの輝度分布を参照して特定する特定ステップ(S9~S15)、およびゲイン制御のために参照されるゲイン係数のうち既定の輝度範囲に属する画素に対応する特定ゲイン係数の大きさを特定ステップによって特定された割合を参照して調整する調整ステップ(S31~S53)を備える。   The image processing method according to the present invention comprises a writing means (30w) for writing image data to the memory (32), a reading means (30r) for reading image data written by the writing means from the memory, and an image read by the reading means. An image processing method executed by an image processing apparatus (10) including processing means (34) for performing processing including gain control with reference to a gain coefficient on data, wherein pixels belonging to a predetermined luminance range are noted by a writing means Specific step (S9 to S15) for specifying the ratio of the image data in the image data with reference to the luminance distribution of the image data noted by the writing means, and a predetermined luminance range among the gain coefficients referred to for gain control An adjustment step for adjusting the magnitude of the specific gain coefficient corresponding to the pixel belonging to the pixel with reference to the ratio specified by the specific step Comprising a-flops (S31 ~ S53).

この発明によれば、既定の輝度範囲に属する画素の割合は、書き込み手段によって注目される画像データの輝度分布を参照して特定される。一方、ゲイン制御は、読み出し手段によって読み出された画像データに対して実行される。さらに、特定ゲイン係数の大きさは、書き込み手段によって注目される画像データから特定された割合を参照して調整される。これによって、画像データに付与されるゲインを迅速かつ的確に制御することができる。   According to the present invention, the ratio of the pixels belonging to the predetermined luminance range is specified with reference to the luminance distribution of the image data noticed by the writing unit. On the other hand, gain control is performed on the image data read by the reading unit. Furthermore, the magnitude of the specific gain coefficient is adjusted with reference to the ratio specified from the image data noted by the writing means. As a result, the gain applied to the image data can be controlled quickly and accurately.

この発明の上述の目的,その他の目的,特徴および利点は、図面を参照して行う以下の実施例の詳細な説明から一層明らかとなろう。   The above object, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

図1を参照して、この実施例のディジタルビデオカメラ10は、ドライバ18aおよび18bによってそれぞれ駆動されるフォーカスレンズ12および絞りユニット14を含む。これらの部材を経た被写界の光学像は、イメージャ16の撮像面に照射され、撮像面に設けられた複数の受光素子によって光電変換を施される。撮像面は図2に示す原色ベイヤ配列の色フィルタ16fによって覆われ、複数の受光素子の各々によって生成される電荷はR(Red),G(Green)およびB(Blue)のいずれか1つの色情報を有する。   Referring to FIG. 1, a digital video camera 10 of this embodiment includes a focus lens 12 and an aperture unit 14 driven by drivers 18a and 18b, respectively. The optical image of the object scene that has passed through these members is irradiated onto the imaging surface of the imager 16 and subjected to photoelectric conversion by a plurality of light receiving elements provided on the imaging surface. The imaging surface is covered with a primary color Bayer array color filter 16f shown in FIG. 2, and the charge generated by each of the plurality of light receiving elements is any one of R (Red), G (Green), and B (Blue). Have information.

電源が投入されると、CPU26は、撮像タスクの下でスルー画像処理を開始するべく、ドライバ18cに露光動作および電荷読み出し動作の繰り返しを命令する。ドライバ18cは、図示しないSG(Signal Generator)から周期的に発生する垂直同期信号Vsyncに応答して撮像面を露光し、撮像面で生成された電荷を同じ垂直同期信号Vsyncに応答してラスタ走査態様で読み出す。イメージャ16からは、読み出された電荷に基づく生画像信号が周期的に出力される。   When the power is turned on, the CPU 26 instructs the driver 18c to repeat the exposure operation and the charge readout operation in order to start through image processing under the imaging task. The driver 18c exposes the imaging surface in response to a vertical synchronization signal Vsync periodically generated from an SG (Signal Generator) (not shown), and raster scans the charges generated on the imaging surface in response to the same vertical synchronization signal Vsync. Read in mode. From the imager 16, a raw image signal based on the read charges is periodically output.

前処理回路20は、イメージャ16から出力された各フレームの生画像信号にCDS(Correlated Double Sampling),AGC(Automatic Gain Control),A/D変換などの処理を施し、ディジタル信号である生画像データを周期的に出力する。出力された生画像データは、メモリ制御回路30に設けられたデータ書き込み回路30wによってSDRAM32の生画像エリア32aに周期的に書き込まれる。   The preprocessing circuit 20 performs processing such as CDS (Correlated Double Sampling), AGC (Automatic Gain Control), and A / D conversion on the raw image signal of each frame output from the imager 16, and raw image data that is a digital signal. Are output periodically. The output raw image data is periodically written in the raw image area 32 a of the SDRAM 32 by the data writing circuit 30 w provided in the memory control circuit 30.

生画像エリア32aに格納された生画像データはその後、メモリ制御回路30に設けられたデータ読み出し回路30rによって、1フレーム遅れで周期的に読み出される。後処理回路34は、データ読み出し回路30rによって読み出された生画像データに白バランス調整,色分離,γ補正,ノイズ除去,YUV変換,ゲイン制御などの処理を施し、これによって生成されたYUV形式の画像データをメモリ制御回路30に向けて周期的に出力する。出力された画像データは、データ書き込み回路30wによってSDRAM32のYUV画像エリア32bに周期的に書き込まれる。   Thereafter, the raw image data stored in the raw image area 32a is periodically read out with a delay of one frame by a data reading circuit 30r provided in the memory control circuit 30. The post-processing circuit 34 performs processing such as white balance adjustment, color separation, γ correction, noise removal, YUV conversion, and gain control on the raw image data read by the data reading circuit 30r, and the YUV format generated thereby. Are periodically output to the memory control circuit 30. The output image data is periodically written in the YUV image area 32b of the SDRAM 32 by the data writing circuit 30w.

LCDドライバ36は、YUV画像エリア32bに格納された画像データをデータ読み出し回路30rを通して周期的に読み出し、読み出された画像データに基づいてLCDモニタ38を駆動する。この結果、被写界のリアルタイム動画像(スルー画像)がモニタ画面に表示される。   The LCD driver 36 periodically reads the image data stored in the YUV image area 32b through the data read circuit 30r, and drives the LCD monitor 38 based on the read image data. As a result, a real-time moving image (through image) of the object scene is displayed on the monitor screen.

図3を参照して、撮像面の中央には評価エリアEVAが割り当てられる。また、前処理回路20は、上述した処理に加えて、生画像データを簡易的にYデータに変換する簡易Y変換処理を実行する。   Referring to FIG. 3, an evaluation area EVA is allocated at the center of the imaging surface. In addition to the above-described processing, the preprocessing circuit 20 executes simple Y conversion processing that simply converts raw image data into Y data.

AE評価回路22は、前処理回路20によって生成されたYデータのうち評価エリアEVAに属するYデータを、垂直同期信号Vsyncが発生する毎に積分する。算出された積分値は、AE評価値としてCPU26に向けて出力される。   The AE evaluation circuit 22 integrates Y data belonging to the evaluation area EVA among the Y data generated by the preprocessing circuit 20 every time the vertical synchronization signal Vsync is generated. The calculated integral value is output to the CPU 26 as an AE evaluation value.

また、AF評価回路24は、前処理回路20から出力されたYデータのうち同じ評価エリアEVAに属するYデータの高周波成分を抽出し、抽出された高域周波数成分を垂直同期信号Vsyncが発生する毎に積分する。算出された積分値は、AF評価値としてCPU26に向けて出力される。   Further, the AF evaluation circuit 24 extracts the high frequency component of the Y data belonging to the same evaluation area EVA from the Y data output from the preprocessing circuit 20, and the vertical synchronization signal Vsync is generated from the extracted high frequency component. Integrate every time. The calculated integral value is output to the CPU 26 as an AF evaluation value.

CPU26は、AE評価回路22からの出力に基づくスルー画像用AE処理をスルー画像処理と並列して実行し、適正EV値を算出する。算出された適正EV値を定義する絞り量および露光時間は、ドライバ18bおよび18cにそれぞれ設定される。この結果、スルー画像の明るさが適度に調整される。   The CPU 26 executes through image AE processing based on the output from the AE evaluation circuit 22 in parallel with the through image processing, and calculates an appropriate EV value. The aperture amount and the exposure time that define the calculated appropriate EV value are set in the drivers 18b and 18c, respectively. As a result, the brightness of the through image is appropriately adjusted.

CPU26はまた、スルー画像処理と並列するコンティニュアスAFタスクの下で、AF評価回路24からの出力に基づくスルー画像用AF処理を実行する。フォーカスレンズ12は、AF評価回路24の出力がAF起動条件を満足するとき、ドライバ18aによって合焦点に設定される。これによって、スルー画像のフォーカスが適度に調整される。   The CPU 26 also executes through-image AF processing based on the output from the AF evaluation circuit 24 under a continuous AF task in parallel with the through-image processing. The focus lens 12 is set to the focal point by the driver 18a when the output of the AF evaluation circuit 24 satisfies the AF activation condition. As a result, the focus of the through image is appropriately adjusted.

キー入力装置28によって記録開始操作が行われると、CPU26によってI/F40が起動される。I/F40は、YUV画像エリア32bに格納された画像データをデータ読み出し回路30rを通して周期的に読み出し、読み出された画像データを記録媒体42内の動画ファイルに圧縮状態で書き込む。I/F40は、キー入力装置28上で記録終了操作が行われたときにCPU26によって停止される。この結果、画像データの記録処理が終了される。   When a recording start operation is performed by the key input device 28, the CPU 26 activates the I / F 40. The I / F 40 periodically reads the image data stored in the YUV image area 32b through the data reading circuit 30r, and writes the read image data to the moving image file in the recording medium 42 in a compressed state. The I / F 40 is stopped by the CPU 26 when a recording end operation is performed on the key input device 28. As a result, the image data recording process is completed.

後処理回路34は、図4に示すように構成される。白バランス調整回路46は、データ読み出し回路30rから与えられた生画像データの白バランスを調整する。調整された白バランスを有する生画像データは、色分離回路48によって色分離処理を施される。これによって、各画素がR,GおよびBの全ての色情報を有する補間画像データが作成される。   The post-processing circuit 34 is configured as shown in FIG. The white balance adjustment circuit 46 adjusts the white balance of the raw image data given from the data reading circuit 30r. The raw image data having the adjusted white balance is subjected to color separation processing by the color separation circuit 48. As a result, interpolated image data in which each pixel has all the R, G, and B color information is created.

ノイズ除去回路50は色分離回路48から出力された補間画像データからノイズを除去し、γ補正回路52はノイズ除去回路50から出力された補間画像データにγ補正を施す。γ特性を有する補間画像データは、YUV変換回路54によってYUV形式の画像データに変換される。変換された画像データのうち、UデータおよびVデータはそのまま出力され、Yデータはアンプ56によるゲイン制御つまりコントラスト調整を経て出力される。   The noise removal circuit 50 removes noise from the interpolated image data output from the color separation circuit 48, and the γ correction circuit 52 performs γ correction on the interpolated image data output from the noise removal circuit 50. Interpolated image data having γ characteristics is converted into YUV format image data by the YUV conversion circuit 54. Of the converted image data, U data and V data are output as they are, and Y data is output through gain control by the amplifier 56, that is, through contrast adjustment.

CPU26は、スルー画像処理と並列する輝度分布判別タスクの下で、被写界像の輝度分布を判別する。具体的には、CPU26は、前処理回路20によって簡易的に生成されたYデータを取り込み、取り込まれたYデータに基づいて輝度分布を表すヒストグラムを作成する。CPU26はさらに、既定の低輝度範囲R1〜R3の各々に属する輝度レベルを有する画素が1フレーム相当の全画素に占める割合を、作成されたヒストグラムを参照して算出する。   The CPU 26 determines the luminance distribution of the object scene image under the luminance distribution determination task in parallel with the through image processing. Specifically, the CPU 26 takes in the Y data simply generated by the preprocessing circuit 20 and creates a histogram representing the luminance distribution based on the taken Y data. The CPU 26 further calculates a ratio of pixels having luminance levels belonging to each of the predetermined low luminance ranges R1 to R3 to all pixels corresponding to one frame with reference to the created histogram.

図5を参照して、低輝度範囲R1は0%〜5%の輝度レベルを有する範囲に相当し、低輝度範囲R2は5%〜10%の輝度レベルを有する範囲に相当し、そして低輝度範囲R3は10%〜20%の輝度レベルを有する範囲に相当する。なお、Yデータは8ビットで表現され、“255”の輝度レベルが100%に相当する。   Referring to FIG. 5, low luminance range R1 corresponds to a range having a luminance level of 0% to 5%, low luminance range R2 corresponds to a range having a luminance level of 5% to 10%, and low luminance. The range R3 corresponds to a range having a luminance level of 10% to 20%. The Y data is expressed by 8 bits, and the luminance level of “255” corresponds to 100%.

以下では、低輝度範囲R1に属する輝度レベルを有する画素の割合を“RT1”と定義し、低輝度範囲R2に属する輝度レベルを有する画素の割合を“RT2”と定義し、そして低輝度範囲R3に属する輝度レベルを有する画素の割合を“RT3”と定義する。   In the following, the proportion of pixels having a luminance level belonging to the low luminance range R1 is defined as “RT1”, the proportion of pixels having a luminance level belonging to the low luminance range R2 is defined as “RT2”, and the low luminance range R3 The ratio of pixels having a luminance level belonging to is defined as “RT3”.

算出された割合RT1〜RT3は、図6に示すレジスタRGST1またはRGST2のうち、輝度分布判別タスクの下で指定されたレジスタに登録される。なお、指定レジスタは、垂直同期信号Vsyncが発生する毎に、レジスタRGST1およびRGST2の間で変更される。   The calculated ratios RT1 to RT3 are registered in a register designated under the luminance distribution determination task in the registers RGST1 or RGST2 shown in FIG. The designated register is changed between the registers RGST1 and RGST2 every time the vertical synchronization signal Vsync is generated.

CPU26は、アンプ56によって参照されるゲイン係数をスルー画像処理と並列するコントラスト調整タスクの下で調整する。具体的には、CPU26は、γ補正回路52から与えられた補間画像データを取り込み、取り込まれた補間画像データを形成する複数の画素の各々を順に指定する。CPU26はまた、輝度分布判別タスクの下で指定されたレジスタと異なるレジスタをコントラスト調整タスクの下で指定する。CPU26はさらに、指定画素の輝度レベルと指定レジスタに登録された割合RT1〜RT3とに基づいて、指定画素に対応するゲイン係数を次の要領で調整する。   The CPU 26 adjusts the gain coefficient referred to by the amplifier 56 under a contrast adjustment task in parallel with the through image processing. Specifically, the CPU 26 takes in the interpolated image data given from the γ correction circuit 52 and sequentially designates each of the plurality of pixels forming the taken in interpolated image data. The CPU 26 also designates a register different from the register designated under the luminance distribution determination task under the contrast adjustment task. Further, the CPU 26 adjusts the gain coefficient corresponding to the designated pixel in the following manner based on the luminance level of the designated pixel and the ratios RT1 to RT3 registered in the designated register.

指定画素の輝度レベルが低輝度範囲R1に属する場合、CPU26は、指定レジスタに登録された割合RT1が閾値THを上回るか否かを判別し、判別結果が肯定的であれば指定画素のゲイン係数を“G1+α”に設定する一方、判別結果が否定的であれば指定画素のゲイン係数を“G1−α”に設定する。   When the luminance level of the designated pixel belongs to the low luminance range R1, the CPU 26 determines whether or not the ratio RT1 registered in the specified register exceeds the threshold value TH. If the determination result is affirmative, the gain coefficient of the specified pixel is determined. Is set to “G1 + α”, and if the determination result is negative, the gain coefficient of the designated pixel is set to “G1−α”.

指定画素の輝度レベルが低輝度範囲R2に属する場合、CPU26は、指定レジスタに登録された割合RT2が閾値THを上回るか否かを判別し、判別結果が肯定的であれば指定画素のゲイン係数を“G2+α”に設定する一方、判別結果が否定的であれば指定画素のゲイン係数を“G2−α”に設定する。   When the luminance level of the designated pixel belongs to the low luminance range R2, the CPU 26 determines whether or not the ratio RT2 registered in the specified register exceeds the threshold value TH. If the determination result is affirmative, the gain coefficient of the specified pixel is determined. Is set to “G2 + α”, and if the determination result is negative, the gain coefficient of the designated pixel is set to “G2−α”.

指定画素の輝度レベルが低輝度範囲R3に属する場合、CPU26は、指定レジスタに登録された割合RT3が閾値THを上回るか否かを判別し、判別結果が肯定的であれば指定画素のゲイン係数を“G3+α”に設定する一方、判別結果が否定的であれば指定画素のゲイン係数を“G3−α”に設定する。   When the luminance level of the designated pixel belongs to the low luminance range R3, the CPU 26 determines whether or not the ratio RT3 registered in the specified register exceeds the threshold value TH. If the determination result is affirmative, the gain coefficient of the specified pixel is determined. Is set to “G3 + α”, and if the determination result is negative, the gain coefficient of the designated pixel is set to “G3-α”.

なお、検出された輝度レベルが低輝度範囲R1〜R3のいずれからも外れるとき、CPU26は、ゲイン係数を“1.0”に設定する。また、定数G1は“1.2”を示し、定数G2は“1.5”を示し、そして定数G3は“2.0”を示す。また、定数αは“0.1”を示す。   When the detected luminance level is out of any of the low luminance ranges R1 to R3, the CPU 26 sets the gain coefficient to “1.0”. The constant G1 indicates “1.2”, the constant G2 indicates “1.5”, and the constant G3 indicates “2.0”. The constant α indicates “0.1”.

したがって、図7に示すように、ゲイン係数は、RT1≦THのとき“G1−α”に設定され、RT1>THのとき“G1+α”に設定される。また、ゲイン係数は、RT2≦THのとき“G2−α”に設定され、RT2>THのとき“G2+α”に設定される。さらに、ゲイン係数は、RT3≦THのとき“G3−α”に設定され、RT3>THのとき“G3+α”に設定される。   Therefore, as shown in FIG. 7, the gain coefficient is set to “G1−α” when RT1 ≦ TH, and is set to “G1 + α” when RT1> TH. The gain coefficient is set to “G2−α” when RT2 ≦ TH, and is set to “G2 + α” when RT2> TH. Further, the gain coefficient is set to “G3−α” when RT3 ≦ TH, and is set to “G3 + α” when RT3> TH.

輝度分布判別タスクは、SDRAM30に書き込まれる前の生画像データに注目して割合RT1〜RT3を算出する。これに対して、コントラスト調整タスクは、SDRAM30から読み出された生画像データに基づくYUV画像データのゲイン制御のためにゲイン係数を調整する。さらに、SDRAM30からの生画像データの読み出しは、SDRAM30への生画像データの書き込みに対して1フレーム遅れで実行される。したがって、図8に示すように、輝度判別タスクによって算出された割合RT1〜RT3は、算出処理のために参照した生画像データに対応するYUV画像データのゲイン制御のために用いられる。   The luminance distribution determination task calculates the ratios RT1 to RT3 by paying attention to the raw image data before being written in the SDRAM 30. In contrast, the contrast adjustment task adjusts the gain coefficient for gain control of YUV image data based on the raw image data read from the SDRAM 30. Further, the reading of the raw image data from the SDRAM 30 is executed with a delay of one frame with respect to the writing of the raw image data to the SDRAM 30. Therefore, as shown in FIG. 8, the ratios RT1 to RT3 calculated by the brightness determination task are used for gain control of YUV image data corresponding to the raw image data referenced for the calculation process.

図4に示すアンプ56は、こうして設定されるゲイン係数が増大するほど、Yデータのゲインを増大させる。この結果、アンプ56に入力されるYデータが図9(A)に示すヒストグラムを有する場合、図9(B)に示すように低輝度レベルの画素が減少し、中輝度レベルの画素が増大したYデータがアンプ56から出力される。   The amplifier 56 shown in FIG. 4 increases the gain of Y data as the gain coefficient set in this way increases. As a result, when the Y data input to the amplifier 56 has the histogram shown in FIG. 9A, the low-luminance level pixels decrease and the medium-luminance level pixels increase as shown in FIG. 9B. Y data is output from the amplifier 56.

CPU26は、図10に示す輝度分布判別タスクおよび図11〜図13に示すコントラスト調整タスクを含む複数のタスクを並列的に実行する。なお、これらのタスクに対応する制御プログラムは、フラッシュメモリ44に記憶される。   The CPU 26 executes a plurality of tasks including a luminance distribution determination task shown in FIG. 10 and a contrast adjustment task shown in FIGS. 11 to 13 in parallel. Note that control programs corresponding to these tasks are stored in the flash memory 44.

図10を参照して、ステップS1ではレジスタRGST1およびRGST2の一方を指定する。垂直同期信号Vsyncが発生するとステップS3でYESと判別し、前処理回路20から出力されたYデータをステップS5で取り込むとともに、取り込まれたYデータを形成する画素の輝度分布を示すヒストグラムをステップS7で作成する。   Referring to FIG. 10, in step S1, one of registers RGST1 and RGST2 is designated. When the vertical synchronization signal Vsync is generated, YES is determined in step S3, Y data output from the preprocessing circuit 20 is captured in step S5, and a histogram showing the luminance distribution of the pixels forming the captured Y data is displayed in step S7. Create with.

ステップS9では、低輝度範囲R1に属する画素がステップS5で取り込まれたYデータに占める割合を“RT1”として算出する。ステップS11では、低輝度範囲R2に属する画素がステップS5で取り込まれたYデータに占める割合を“RT2”として算出する。ステップS13では、低輝度範囲R3に属する画素がステップS5で取り込まれたYデータに占める割合を“RT3”として算出する。ステップS9〜S11のいずれにおいても、ステップS5で作成されたヒストグラムが参照される。   In step S9, the ratio of the pixels belonging to the low luminance range R1 to the Y data captured in step S5 is calculated as “RT1”. In step S11, the ratio of the pixels belonging to the low luminance range R2 to the Y data captured in step S5 is calculated as “RT2”. In step S13, the ratio of the pixels belonging to the low luminance range R3 to the Y data captured in step S5 is calculated as “RT3”. In any of steps S9 to S11, the histogram created in step S5 is referred to.

ステップS15では、こうして算出された割合RT1〜RT3を指定レジスタに登録する。登録処理が完了するとステップS17に進み、指定レジスタをレジスタRSGT1およびRGST2の間で変更する。指定レジスタの変更が完了すると、ステップS3に戻る。   In step S15, the ratios RT1 to RT3 calculated in this way are registered in the designated register. When the registration process is completed, the process proceeds to step S17, and the designation register is changed between the registers RSGT1 and RGST2. When the change of the designated register is completed, the process returns to step S3.

図11を参照して、ステップS21では垂直同期信号Vsyncが発生したか否かを判別する。ステップS23では、輝度分布判別タスクによって指定されたレジスタと異なるレジスタを指定する。したがって、レジスタRGST1が輝度分布判別タスクによって指定されていれば、レジスタRGST2がコントラスト調整タスクによって指定される。また、レジスタRGST2が輝度分布判別タスクによって指定されていれば、レジスタRGST1がコントラスト調整タスクによって指定される。   Referring to FIG. 11, in step S21, it is determined whether or not the vertical synchronization signal Vsync is generated. In step S23, a register different from the register specified by the luminance distribution determination task is specified. Therefore, if the register RGST1 is specified by the luminance distribution determination task, the register RGST2 is specified by the contrast adjustment task. If the register RGST2 is specified by the luminance distribution determination task, the register RGST1 is specified by the contrast adjustment task.

ステップS25では図4に示すγ補正回路52から出力された補間画像データを取り込み、ステップS27では取り込まれた補間画像データの先頭画素を指定し、そしてステップS29では指定画素の輝度レベルを検出する。ステップS31では検出された輝度レベルが低輝度範囲R1に属するか否かを判別し、ステップS39では検出された輝度レベルが低輝度範囲R2に属するか否かを判別し、そしてステップS47では検出された輝度レベルが低輝度範囲R3に属するか否かを判別する。   In step S25, the interpolated image data output from the γ correction circuit 52 shown in FIG. 4 is fetched. In step S27, the leading pixel of the fetched interpolated image data is designated, and in step S29, the luminance level of the designated pixel is detected. In step S31, it is determined whether or not the detected luminance level belongs to the low luminance range R1, in step S39 it is determined whether or not the detected luminance level belongs to the low luminance range R2, and in step S47, it is detected. It is determined whether or not the brightness level belongs to the low brightness range R3.

ステップS31でYESであればステップS33に進み、ステップS23で指定されたレジスタに登録された割合RT1が閾値THを上回るか否かを判別する。YESであれば、指定画素に対応するゲイン係数をステップS35で“G1+α”に設定する。NOであれば、指定画素に対応するゲイン係数をステップS37で“G1−α”に設定する。ステップS35またはS37の処理が完了すると、ステップS57に進む。   If “YES” in the step S31, the process proceeds to a step S33 to determine whether or not the ratio RT1 registered in the register designated in the step S23 exceeds the threshold value TH. If YES, the gain coefficient corresponding to the designated pixel is set to “G1 + α” in step S35. If NO, the gain coefficient corresponding to the designated pixel is set to “G1-α” in step S37. When the process of step S35 or S37 is completed, the process proceeds to step S57.

ステップS39でYESであればステップS41に進み、ステップS23で指定されたレジスタに登録された割合RT2が閾値THを上回るか否かを判別する。YESであれば、指定画素に対応するゲイン係数をステップS43で“G2+α”に設定する。NOであれば、指定画素に対応するゲイン係数をステップS45で“G1−α”に設定する。ステップS43またはS45の処理が完了すると、ステップS57に進む。   If “YES” in the step S39, the process proceeds to a step S41 to determine whether or not the ratio RT2 registered in the register designated in the step S23 exceeds the threshold value TH. If YES, the gain coefficient corresponding to the designated pixel is set to “G2 + α” in step S43. If NO, the gain coefficient corresponding to the designated pixel is set to “G1-α” in step S45. When the process of step S43 or S45 is completed, the process proceeds to step S57.

ステップS47でYESであればステップS49に進み、ステップS23で指定されたレジスタに登録された割合RT2が閾値THを上回るか否かを判別する。YESであれば、指定画素に対応するゲイン係数をステップS51で“G3+α”に設定する。NOであれば、指定画素に対応するゲイン係数をステップS53で“G1−α”に設定する。ステップS51またはS53の処理が完了すると、ステップS57に進む。   If “YES” in the step S47, the process proceeds to a step S49, and it is determined whether or not the ratio RT2 registered in the register designated in the step S23 exceeds a threshold value TH. If YES, the gain coefficient corresponding to the designated pixel is set to “G3 + α” in step S51. If NO, the gain coefficient corresponding to the designated pixel is set to “G1-α” in step S53. When the process of step S51 or S53 is completed, the process proceeds to step S57.

ステップS31,S39およびS47のいずれもNOであればステップS55に進み、指定画素に対応するゲイン係数を“1.0”に設定する。ステップS55の処理が完了すると、ステップS57に進む。   If all of steps S31, S39, and S47 are NO, the process proceeds to step S55, and the gain coefficient corresponding to the designated pixel is set to “1.0”. When the process of step S55 is completed, the process proceeds to step S57.

ステップS57では、指定画素がステップS25で取り込まれた補間画像データの最終画素であるか否かを判別する。NOであればステップS59で次画素を指定し、その後にステップS29に戻る。YESであれば、そのままステップS21に戻る。   In step S57, it is determined whether or not the designated pixel is the final pixel of the interpolated image data captured in step S25. If NO, the next pixel is designated in step S59, and then the process returns to step S29. If YES, the process directly returns to step S21.

以上の説明から分かるように、前処理回路20から出力された生画像データは、データ書き込み回路30wによってSDRAM32の生画像エリア32aに書き込まれる。生画像エリア32aに格納された画像データは、データ読み出し回路30rによって読み出される。後処理回路34は、データ読み出し回路30rによって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す。   As can be seen from the above description, the raw image data output from the preprocessing circuit 20 is written into the raw image area 32a of the SDRAM 32 by the data writing circuit 30w. The image data stored in the raw image area 32a is read by the data reading circuit 30r. The post-processing circuit 34 performs processing including gain control with reference to the gain coefficient on the image data read by the data reading circuit 30r.

CPU26は、低輝度範囲R1〜R3に属する画素がデータ書き込み回路30wによって注目される生画像データに占める割合つまり割合RT1〜RT3を、データ書き込み回路30wによって注目される生画像データの輝度分布を参照して特定する(S9~S15)。CPU26はまた、ゲイン制御のために参照されるゲイン係数のうち低輝度範囲R1〜R3に属する画素に対応する特定ゲイン係数の大きさを、上述の要領で特定された割合RT1〜RT3を参照して調整する(S31~S53)。   The CPU 26 refers to the ratio of the pixels belonging to the low luminance ranges R1 to R3 to the raw image data noted by the data writing circuit 30w, that is, the ratios RT1 to RT3, referring to the luminance distribution of the raw image data noted by the data writing circuit 30w. (S9 to S15). The CPU 26 also refers to the ratios RT1 to RT3 specified in the above manner for the magnitudes of the specific gain coefficients corresponding to the pixels belonging to the low luminance ranges R1 to R3 among the gain coefficients referred to for gain control. Adjust (S31 to S53).

このように、低輝度範囲R1〜R3に属する画素の割合は、データ書き込み回路30wによって注目される生画像データの輝度分布を参照して特定される。一方、ゲイン制御は、データ読み出し回路30rによって読み出された生画像データに対して実行される。さらに、特定ゲイン係数の大きさは、データ書き込み回路30wによって注目される生画像データから特定された割合RT1〜RT3を参照して調整される。これによって、画像データのゲインを迅速かつ的確に制御することができる。   As described above, the ratio of the pixels belonging to the low luminance ranges R1 to R3 is specified with reference to the luminance distribution of the raw image data focused by the data writing circuit 30w. On the other hand, gain control is performed on the raw image data read by the data reading circuit 30r. Further, the magnitude of the specific gain coefficient is adjusted with reference to the ratios RT1 to RT3 specified from the raw image data noted by the data writing circuit 30w. As a result, the gain of the image data can be controlled quickly and accurately.

なお、この実施例では、ディジタルビデオカメラを想定しているが、この発明は、ビデオレコーダのような画像処理装置にも適用できる。   In this embodiment, a digital video camera is assumed, but the present invention can also be applied to an image processing apparatus such as a video recorder.

この発明の一実施例の構成を示すブロック図である。It is a block diagram which shows the structure of one Example of this invention. 図1実施例に適用される色フィルタの構成の一例を示す図解図である。It is an illustration figure which shows an example of a structure of the color filter applied to the FIG. 1 Example. 撮像面における評価エリアの割り当て状態の一例を示す図解図である。It is an illustration figure which shows an example of the allocation state of the evaluation area in an imaging surface. 図1実施例に適用される後処理回路の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the post-processing circuit applied to FIG. 1 Example. 低輝度範囲R1〜R3の割り当て状態の一例を示す図解図である。It is an illustration figure which shows an example of the allocation state of low-luminance range R1-R3. 図1実施例に適用されるレジスタの構成の一例を示す図解図である。FIG. 3 is an illustrative view showing one example of a configuration of a register applied to the embodiment in FIG. 1; 図4実施例のアンプによって参照されるゲイン係数の一例を示すグラフである。5 is a graph showing an example of a gain coefficient referred to by the amplifier of the embodiment in FIG. 図1実施例の動作の一部を示すタイミング図である。FIG. 2 is a timing diagram showing a part of the operation of the embodiment in FIG. 1. (A)はコントラスト調整を実行する前の輝度分布の一例を示すグラフであり、(B)はコントラスト調整を実行した後の輝度分布の一例を示すグラフである。(A) is a graph which shows an example of the luminance distribution before performing contrast adjustment, (B) is a graph which shows an example of the luminance distribution after performing contrast adjustment. 図1実施例に適用されるCPUの動作の一部を示すフロー図である。It is a flowchart which shows a part of operation | movement of CPU applied to the FIG. 1 Example. 図1実施例に適用されるCPUの動作の他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 1 Example. 図1実施例に適用されるCPUの動作のその他の一部を示すフロー図である。It is a flowchart which shows a part of other operation | movement of CPU applied to the FIG. 1 Example. 図1実施例に適用されるCPUの動作のさらにその他の一部を示すフロー図である。FIG. 12 is a flowchart showing yet another portion of behavior of the CPU applied to the embodiment in FIG. 1.

符号の説明Explanation of symbols

10 …ディジタルビデオカメラ
16 …イメージャ
22 …AE評価回路
24 …AF評価回路
26 …CPU
32 …SDRAM
44 …フラッシュメモリ
DESCRIPTION OF SYMBOLS 10 ... Digital video camera 16 ... Imager 22 ... AE evaluation circuit 24 ... AF evaluation circuit 26 ... CPU
32 ... SDRAM
44 ... Flash memory

Claims (9)

画像データをメモリに書き込む書き込み手段、
前記書き込み手段によって書き込まれた画像データを前記メモリから読み出す読み出し手段、
前記読み出し手段によって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す処理手段、
既定の輝度範囲に属する画素が前記書き込み手段によって注目される画像データに占める割合を前記書き込み手段によって注目される画像データの輝度分布を参照して特定する特定手段、および
前記ゲイン制御のために参照されるゲイン係数のうち前記既定の輝度範囲に属する画素に対応する特定ゲイン係数の大きさを前記特定手段によって特定された割合を参照して調整する調整手段を備える、画像処理装置。
Writing means for writing image data to memory,
Reading means for reading out the image data written by the writing means from the memory;
Processing means for performing processing including gain control with reference to a gain coefficient on the image data read by the reading means;
A specifying unit for specifying a ratio of pixels belonging to a predetermined luminance range in the image data focused on by the writing unit with reference to a luminance distribution of the image data focused on by the writing unit; and reference for the gain control An image processing apparatus comprising: an adjusting unit that adjusts the magnitude of a specific gain coefficient corresponding to a pixel belonging to the predetermined luminance range among the gain coefficients to be adjusted with reference to a ratio specified by the specifying unit.
前記書き込み手段によって注目される画像データは第1形式に従う画像データに相当し、
前記処理手段によって実行される処理は前記読み出し手段によって読み出された画像データの形式を第2形式に変換する変換処理を含む、請求項1記載の画像処理装置。
The image data noted by the writing means corresponds to the image data according to the first format,
The image processing apparatus according to claim 1, wherein the process executed by the processing unit includes a conversion process for converting the format of the image data read by the reading unit into a second format.
前記第1形式は複数の画素の各々が複数色のいずれか1つの色情報を有する形式に相当し、
前記第2形式は複数の画素の各々が前記複数色の全ての色情報を有する形式に相当する、請求項2記載の画像処理装置。
The first format corresponds to a format in which each of a plurality of pixels has color information of any one of a plurality of colors,
The image processing apparatus according to claim 2, wherein the second format corresponds to a format in which each of a plurality of pixels has all color information of the plurality of colors.
前記ゲイン制御は前記ゲイン係数が増大するほどゲインを増大させる処理動作に相当し、
前記調整手段は前記割合が増大するほど前記特定ゲイン係数を増大させる係数補正手段を含む、請求項1ないし3のいずれかに記載の画像処理装置。
The gain control corresponds to a processing operation for increasing the gain as the gain coefficient increases,
The image processing apparatus according to claim 1, wherein the adjustment unit includes a coefficient correction unit that increases the specific gain coefficient as the ratio increases.
前記既定の輝度範囲は互いに異なる複数の低輝度範囲を含み、
前記特定手段は前記複数の低輝度範囲の各々に対応して割合特定処理を実行し、
前記係数補正手段は前記複数の低輝度範囲の各々に対応して係数補正処理を実行する、請求項4記載の画像処理装置。
The predetermined luminance range includes a plurality of different low luminance ranges;
The specifying means executes a ratio specifying process corresponding to each of the plurality of low luminance ranges,
The image processing apparatus according to claim 4, wherein the coefficient correction unit executes coefficient correction processing corresponding to each of the plurality of low luminance ranges.
前記書き込み手段によって注目される画像データの輝度分布を表すヒストグラムを前記書き込み手段の書き込み処理と並列して作成する作成手段をさらに備え、
前記特定手段は前記作成手段によって作成されたヒストグラムを参照する、請求項1ないし5のいずれかに記載の画像処理装置。
A creation unit that creates a histogram representing a luminance distribution of image data to be noticed by the writing unit in parallel with the writing process of the writing unit;
The image processing apparatus according to claim 1, wherein the specifying unit refers to a histogram created by the creating unit.
被写界を捉える撮像面を有し、前記書き込み手段によって注目される画像データを繰り返し出力する撮像手段をさらに備える、請求項1ないし6のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, further comprising an imaging unit that has an imaging surface that captures an object scene and that repeatedly outputs image data of interest by the writing unit. 画像データをメモリに書き込む書き込み手段、前記書き込み手段によって書き込まれた画像データを前記メモリから読み出す読み出し手段、および前記読み出し手段によって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す処理手段を備える画像処理装置のプロセッサに、
既定の輝度範囲に属する画素が前記書き込み手段によって注目される画像データに占める割合を前記書き込み手段によって注目される画像データの輝度分布を参照して特定する特定ステップ、および
前記ゲイン制御のために参照されるゲイン係数のうち前記既定の輝度範囲に属する画素に対応する特定ゲイン係数の大きさを前記特定ステップによって特定された割合を参照して調整する調整ステップを実行させるための、画像処理プログラム。
Write means for writing image data into a memory, read means for reading image data written by the write means from the memory, and processing including gain control with reference to a gain coefficient for the image data read by the read means In a processor of an image processing apparatus provided with processing means,
A specifying step of specifying a ratio of pixels belonging to a predetermined luminance range in the image data noted by the writing means with reference to a luminance distribution of the image data noted by the writing means, and reference for the gain control An image processing program for executing an adjustment step of adjusting a magnitude of a specific gain coefficient corresponding to a pixel belonging to the predetermined luminance range among the gain coefficients to be adjusted with reference to a ratio specified by the specifying step.
画像データをメモリに書き込む書き込み手段、前記書き込み手段によって書き込まれた画像データを前記メモリから読み出す読み出し手段、および前記読み出し手段によって読み出された画像データにゲイン係数を参照したゲイン制御を含む処理を施す処理手段を備える画像処理装置によって実行される画像処理方法であって、
既定の輝度範囲に属する画素が前記書き込み手段によって注目される画像データに占める割合を前記書き込み手段によって注目される画像データの輝度分布を参照して特定する特定ステップ、および
前記ゲイン制御のために参照されるゲイン係数のうち前記既定の輝度範囲に属する画素に対応する特定ゲイン係数の大きさを前記特定ステップによって特定された割合を参照して調整する調整ステップを備える、画像処理方法。
Write means for writing image data into a memory, read means for reading image data written by the write means from the memory, and processing including gain control with reference to a gain coefficient for the image data read by the read means An image processing method executed by an image processing apparatus including processing means,
A specifying step of specifying a ratio of pixels belonging to a predetermined luminance range in the image data noted by the writing means with reference to a luminance distribution of the image data noted by the writing means, and reference for the gain control An image processing method comprising: an adjustment step of adjusting a magnitude of a specific gain coefficient corresponding to a pixel belonging to the predetermined luminance range among the gain coefficients to be adjusted with reference to a ratio specified by the specifying step.
JP2008313890A 2008-12-10 2008-12-10 Image processing apparatus Pending JP2010141454A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008313890A JP2010141454A (en) 2008-12-10 2008-12-10 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008313890A JP2010141454A (en) 2008-12-10 2008-12-10 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2010141454A true JP2010141454A (en) 2010-06-24

Family

ID=42351209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008313890A Pending JP2010141454A (en) 2008-12-10 2008-12-10 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2010141454A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001189862A (en) * 1999-12-28 2001-07-10 Canon Inc Image processing method and image processing apparatus
JP2003158673A (en) * 2001-11-21 2003-05-30 Sony Corp Image capturing apparatus and method
JP2006050014A (en) * 2004-07-30 2006-02-16 Casio Comput Co Ltd Imaging apparatus, brightness correction method, and program
WO2006137216A1 (en) * 2005-06-22 2006-12-28 Mitsubishi Denki Kabushiki Kaisha Imaging device and gradation converting method for imaging method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001189862A (en) * 1999-12-28 2001-07-10 Canon Inc Image processing method and image processing apparatus
JP2003158673A (en) * 2001-11-21 2003-05-30 Sony Corp Image capturing apparatus and method
JP2006050014A (en) * 2004-07-30 2006-02-16 Casio Comput Co Ltd Imaging apparatus, brightness correction method, and program
WO2006137216A1 (en) * 2005-06-22 2006-12-28 Mitsubishi Denki Kabushiki Kaisha Imaging device and gradation converting method for imaging method

Similar Documents

Publication Publication Date Title
JP5968068B2 (en) Imaging apparatus for controlling exposure, control method for imaging apparatus, program, and recording medium
US8483507B2 (en) Image sensing apparatus and image processing method
JP5347707B2 (en) Imaging apparatus and imaging method
JP5123137B2 (en) Imaging apparatus and imaging method
JP4424292B2 (en) Imaging apparatus, exposure control method, and program
US11245857B2 (en) Apparatus for generating high-dynamic-range image, method, and storage medium
JP4433883B2 (en) White balance correction device, white balance correction method, program, and electronic camera device
JP5223686B2 (en) Imaging apparatus and imaging method
JP5256947B2 (en) IMAGING DEVICE, IMAGING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR EXECUTING THE METHOD
JP2007067815A (en) Image processing device and image processing method
US20100157102A1 (en) Electronic camera
JP5310331B2 (en) Imaging apparatus and imaging method
JP5030822B2 (en) Electronic camera
JP5091781B2 (en) Imaging apparatus and imaging method
US9413974B2 (en) Information processing apparatus, image sensing apparatus, control method, and recording medium for conversion processing
JP6075829B2 (en) IMAGING DEVICE, CAMERA SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2013192121A (en) Imaging apparatus and imaging method
JP2010068331A (en) Imaging device and imaging method
KR101408359B1 (en) Imaging apparatus and imaging method
JP2010271507A (en) Imaging apparatus, exposure adjustment method, and program
JP5091734B2 (en) Imaging apparatus and imaging method
JP2007049320A (en) Electronic camera
JP2010141454A (en) Image processing apparatus
JP5169540B2 (en) Imaging apparatus and imaging method
JP2008306326A (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121009

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121016

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130305