JP4414289B2 - Contrast enhancement imaging device - Google Patents

Contrast enhancement imaging device Download PDF

Info

Publication number
JP4414289B2
JP4414289B2 JP2004187831A JP2004187831A JP4414289B2 JP 4414289 B2 JP4414289 B2 JP 4414289B2 JP 2004187831 A JP2004187831 A JP 2004187831A JP 2004187831 A JP2004187831 A JP 2004187831A JP 4414289 B2 JP4414289 B2 JP 4414289B2
Authority
JP
Japan
Prior art keywords
luminance value
unit
contrast
point luminance
video
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.)
Expired - Fee Related
Application number
JP2004187831A
Other languages
Japanese (ja)
Other versions
JP2006013863A (en
Inventor
宏幸 宝槻
義明 神長
忠弘 片根
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.)
Hitachi Information and Control Solutions Ltd
Original Assignee
Hitachi Information and Control Solutions 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 Hitachi Information and Control Solutions Ltd filed Critical Hitachi Information and Control Solutions Ltd
Priority to JP2004187831A priority Critical patent/JP4414289B2/en
Publication of JP2006013863A publication Critical patent/JP2006013863A/en
Application granted granted Critical
Publication of JP4414289B2 publication Critical patent/JP4414289B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、カメラ等により撮像された映像に露光不足または露光過多になった場合に映像を適切な明るさに補正するコントラスト強調撮像装置に関する。   The present invention relates to a contrast-enhanced imaging apparatus that corrects an image to an appropriate brightness when the image captured by a camera or the like is underexposed or overexposed.

従来のコントラスト強調撮像装置は、撮像装置を用いて撮像を行う際、映像における白飛びおよび黒つぶれを防ぐために、撮影画面分割エリア内の一箇所の輝度情報によりハイライトの度合いを判別し、予め複数登録してあるガンマ曲線から最適曲線を選択してガンマ補正を行うもの(例えば、特許文献1参照)や、自動露光制御と露光量に基づいて低輝度領域の輝度レベルを持ち上げるガンマ補正を行うもの(例えば、特許文献2参照)が知られている。   When a conventional contrast-enhanced image pickup device captures an image using the image pickup device, in order to prevent overexposure and underexposure in an image, the degree of highlight is determined based on luminance information at one location in the shooting screen division area, A gamma correction is performed by selecting an optimal curve from a plurality of registered gamma curves (see, for example, Patent Document 1), or a gamma correction that raises the luminance level of a low-brightness region based on automatic exposure control and exposure amount. A thing (for example, refer patent document 2) is known.

特許第2935116号Patent No. 2935116 特開2004−23605号公報Japanese Patent Laid-Open No. 2004-23605

しかしながら、従来のコントラスト強調撮像装置は、撮像装置で高輝度被写体、低輝度被写体が複数存在するような映像を撮像した場合、前者の特許文献1に記載された撮像装置では撮影画面を分割しているが、一箇所の輝度情報に基づく補正しか行っていないため、屋外で映像を撮影する必要のある装置、例えば車両番号認識装置や入出監視装置等において被写体を撮像する際に、被写体の照度が不足したり過剰すぎる場合、あるいは一映像内で明るさのむらがある場合、複数存在する輝度の異なる被写体のそれぞれに対して最適なガンマ曲線を選択することができず、正確な車両番号等を認識することが困難であった。   However, when a conventional contrast-enhanced imaging device captures an image having a plurality of high-luminance subjects and low-luminance subjects using the imaging device, the imaging device described in the former Patent Document 1 divides the imaging screen. However, since only correction based on luminance information at one location is performed, the illuminance of the subject is reduced when the subject is imaged in an apparatus that needs to shoot an image outdoors, such as a vehicle number recognition device or an entrance / exit monitoring device. If it is insufficient or excessive, or if there is uneven brightness in one image, it is not possible to select the optimal gamma curve for each subject with different brightness, and the exact vehicle number, etc. is recognized. It was difficult to do.

本発明の目的は、複数存在する輝度の異なる被写体のそれぞれに対して輝度補正を行って良好な画像を得ることができるようにしたコントラスト強調撮像装置を提供することにある。   An object of the present invention is to provide a contrast-enhanced imaging apparatus capable of obtaining a good image by performing luminance correction on each of a plurality of subjects having different luminances.

本発明は上記目的を達成するために、撮像部からの映像を格納する映像入力部と、この映像入力部の映像輝度情報からコントラスト補正量を算出する補正量算出部と、この補正量算出部で算出した補正量にて映像補正する映像補正部と、この映像補正部での補正映像を出力する映像出力部とを備えたコントラスト強調撮像装置において、上記補正量算出部は、上記映像入力部から所定量のデータを読み出すデータ読み出し部と、所定量のデータから極大点輝度値および極小点輝度値を検出する極大点検出部および極小点検出部と、所定量のデータを複数のブロックに区分し、これら各区分したブロック内の極大点輝度値および極小点輝度値から中間点輝度値を算出する中間点算出部と、上記各ブロック内の極大点輝度値および極小点輝度値からバンド幅を算出するバンド幅算出部と、これら各中間点輝度値と各バンド幅からコントラスト強調するコントラスト強調係数をそれぞれ算出する係数算出部とを備え、上記映像補正部は、上記係数算出部のコントラスト強調係数に基づいて上記各ブロック毎に映像補正を行うようにしたことを特徴とする。   In order to achieve the above object, the present invention provides a video input unit that stores video from the imaging unit, a correction amount calculation unit that calculates a contrast correction amount from video luminance information of the video input unit, and a correction amount calculation unit In the contrast-enhanced imaging device including a video correction unit that corrects a video image using the correction amount calculated in step S1 and a video output unit that outputs a video image corrected by the video correction unit, the correction amount calculation unit includes the video input unit. A data reading unit for reading a predetermined amount of data from the data, a local maximum point detecting unit and a local minimum point detecting unit for detecting the local maximum luminance value and the local minimum luminance value from the predetermined amount of data, and the predetermined amount of data divided into a plurality of blocks The intermediate point calculation unit for calculating the intermediate point luminance value from the maximum point luminance value and the minimum point luminance value in each of the divided blocks, and the maximum point luminance value and the minimum point luminance value in each block. A bandwidth calculation unit that calculates a bandwidth; and a coefficient calculation unit that calculates a contrast enhancement coefficient for contrast enhancement from each of the intermediate point luminance values and the respective bandwidths, and the video correction unit includes: The image correction is performed for each block based on the contrast enhancement coefficient.

また請求項2に記載の本発明は、請求項1記載のものにおいて、上記データ読み出し部は、上記映像入力部から少なくとも1ラインデータを読み出し、上記中間点算出部は、上記1ラインデータの画素方向に一つの極大点輝度値および一つの極小点輝度値を有して区分したブロック内の極大点輝度値および極小点輝度値から中間点輝度値をそれぞれ算出することを特徴とする。   According to a second aspect of the present invention, in the first aspect, the data reading unit reads at least one line data from the video input unit, and the intermediate point calculation unit is a pixel of the one line data. The intermediate point luminance value is calculated from the maximum point luminance value and the minimum point luminance value in the block which is divided by having one maximum point luminance value and one minimum point luminance value in the direction.

また請求項3に記載の本発明は、請求項1記載のものにおいて、上記データ読み出し部は、上記映像入力部から1ラインデータ毎に順次読み出し、上記中間点算出部は、上記1ラインデータ毎に画素方向に一つの極大点輝度値および一つの極小点輝度値を有して区分したブロック内の極大点輝度値および極小点輝度値から中間点輝度値をそれぞれ算出することを特徴とする   Further, the present invention described in claim 3 is the one described in claim 1, wherein the data reading unit sequentially reads out one line data from the video input unit, and the intermediate point calculating unit reads out the one line data. And calculating a midpoint luminance value from a maximum point luminance value and a minimum point luminance value in a block having one maximum point luminance value and one minimum point luminance value in the pixel direction.

さらに請求項4に記載の本発明は、請求項1記載のものにおいて、上記中間点算出部は、上記ブロック内の隣り合う極大点輝度値と極小点輝度値の差が所定の第一設定値以下のとき中間点輝度値を出力しないように構成したことを特徴とする。   Furthermore, the present invention according to claim 4 is the one according to claim 1, wherein the intermediate point calculation unit is configured such that a difference between adjacent maximum point luminance values and minimum point luminance values in the block is a predetermined first set value. The present invention is characterized in that the intermediate point luminance value is not output in the following cases.

本発明のコントラスト強調撮像装置によれば、複数に区分した各ブロック毎に中間点輝度値およびバンド幅に基づいてコントラスト強調補正を行うようにしているため、被写体を撮像する際に天気、太陽光の向き等により、被写体の照度が不足したり過剰すぎる場合、あるいは一映像内で明るさのむらがある場合でも、映像に対してコントラスト強調補正を撮像部内でリアルタイムにて行うことができ、安定したコントラストのある映像を得ることができるようになる。   According to the contrast-enhanced imaging device of the present invention, since contrast enhancement correction is performed on the basis of the midpoint luminance value and the bandwidth for each of the blocks divided into a plurality, the weather, sunlight Even if the illuminance of the subject is insufficient or excessive due to the orientation of the image, or even if there is uneven brightness in one image, the contrast enhancement correction can be performed on the image in real time in the imaging unit, which is stable A contrast image can be obtained.

また請求項2に記載の本発明によるコントラスト強調撮像装置は、少なくとも1ラインの画素方向に極大点輝度値および極小点輝度値毎に区分した各ブロック毎に中間点輝度値およびバンド幅に基づいてコントラスト強調補正を行うようにしているため、例えば、被写体の映像がライン方向に特定されるような場合、その特定領域のライン方向に沿ってコントラストをふさわしく調整することができるようになり、安定したコントラストのある映像を得ることができる。   According to a second aspect of the present invention, there is provided the contrast-enhanced imaging device based on the intermediate point luminance value and the bandwidth for each block divided into the maximum point luminance value and the minimum point luminance value in the pixel direction of at least one line. Since contrast enhancement correction is performed, for example, when an image of a subject is specified in the line direction, the contrast can be adjusted appropriately along the line direction of the specific region, and stable. Contrast images can be obtained.

さらに請求項3に記載の本発明によるコントラスト強調撮像装置は、1ラインデータ毎に、またその画素方向に極大点輝度値および極小点輝度値毎に区分した各ブロック毎に中間点輝度値およびバンド幅に基づいてコントラスト強調補正を行うようにしているため、詳細データを得る被写体がどこに映っていても全体領域にわたって安定したコントラストの映像をことができる。   Furthermore, the contrast-enhanced imaging device according to the present invention described in claim 3 is provided with an intermediate-point luminance value and a band for each block divided for each line data and for each block divided into a maximum point luminance value and a minimum point luminance value in the pixel direction. Since contrast enhancement correction is performed on the basis of the width, a stable contrast image can be obtained over the entire region regardless of where the subject from which the detailed data is obtained is shown.

さらに請求項4に記載の本発明によるコントラスト強調撮像装置は、ブロック内の隣り合う極大点輝度値および極小点輝度値の差が所定の値以下のとき中間点輝度値を出力しないように構成したため、ブロック内に混入したノイズによってコントラストが過敏に補正されることがなく、安定したコントラストのある映像を得ることができる。   Furthermore, the contrast-enhanced imaging device according to the present invention described in claim 4 is configured not to output the intermediate point luminance value when the difference between the adjacent maximum point luminance value and the minimum point luminance value in the block is equal to or smaller than a predetermined value. The contrast is not overly corrected by noise mixed in the block, and a stable contrast image can be obtained.

以下、本発明の実施の形態を図面に基づいて説明する。
図1は、本発明の一実施の形態によるコントラスト強調撮像装置を示すブロック構成図である。
このコントラスト強調撮像装置は、レンズ10aおよび撮像素子10bからなる撮像部10からの映像を格納する映像入力部11と、この映像入力部11の映像輝度情報から映像補正する補正量を算出する補正量算出部12と、この補正量算出部12で算出した補正量にて映像補正する映像補正部13と、この映像補正部13での補正映像を出力する映像出力部14とを備えている。上述した補正量算出部12は、映像入力部11から所定量、例えば1ライン毎のデータを読み出すデータ読み出し部12aと、所定量のデータから極大点輝度値を検出する極大点検出部12bと、所定量のデータから極小点輝度値を検出する極小点検出部12cと、詳細を後述するブロック内で極大点検出部12bおよび極小点検出部12cによる隣り合う極大点輝度値および極小点輝度値から中間点輝度値を算出する中間点算出部12dと、隣り合う極大点輝度値と極小点輝度値からバンド幅を算出するバンド幅算出部12eと、中間点算出部12dで算出した中間点輝度値とバンド幅からコントラスト強調するコントラスト強調係数を算出する係数算出部12fと、コントラスト強調係数を保持する係数保持部12gとを有している。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a contrast-enhanced imaging device according to an embodiment of the present invention.
The contrast-enhanced imaging device includes a video input unit 11 that stores a video from the imaging unit 10 including a lens 10a and an imaging element 10b, and a correction amount that calculates a correction amount for video correction from video luminance information of the video input unit 11. A calculation unit 12, a video correction unit 13 that corrects video with the correction amount calculated by the correction amount calculation unit 12, and a video output unit 14 that outputs a corrected video from the video correction unit 13 are provided. The correction amount calculation unit 12 described above includes a data reading unit 12a that reads a predetermined amount, for example, data for each line, from the video input unit 11, a maximum point detection unit 12b that detects a maximum point luminance value from the predetermined amount of data, A local minimum point detection unit 12c that detects a local minimum point luminance value from a predetermined amount of data, and a local maximum point luminance value and a local minimum point luminance value that are adjacent to each other by the local maximum point detection unit 12b and the local minimum point detection unit 12c in a block that will be described in detail later. An intermediate point calculation unit 12d for calculating an intermediate point luminance value, a bandwidth calculation unit 12e for calculating a bandwidth from adjacent maximum point luminance values and minimum point luminance values, and an intermediate point luminance value calculated by the intermediate point calculation unit 12d And a coefficient calculation unit 12f for calculating a contrast enhancement coefficient for contrast enhancement from the bandwidth, and a coefficient holding unit 12g for holding the contrast enhancement coefficient.

図2は、上述したコントラスト強調撮像装置の動作を示すフローチャートである。
被写体を撮像する撮像部10の撮像素子10bは、例えば水平1280画素×垂直1024画素の撮像素子を使用した場合、1ラインが1280個の輝度データとなり、全体でそれの1024ライン分がステップS1で映像入力部11へ入力される。続いて、コントラスト強調補正のための補正量を算出する補正量算出部12での処理となる。ステップS2で所定量、ここでは1ライン分の輝度データをデータ読み出し部12aにて読み出すと、図4に示すような波形図のデータが得られる。ステップS3では1ラインデータ中の上昇から下降に転じる極大点輝度値を極大点検出部12bで検出し、またステップS4で下降から上昇に転じる極小点輝度値を極小点検出部12cで検出する。ステップS5で中間点検出部12dは、隣り合う極大点輝度値と極小点輝度値の中間に位置する中間点輝度値を算出する。またバンド幅算出部12eは、中間点輝度値を求めた極大点輝度値と極小点輝度値の差をステップS6でバンド幅として算出する。
FIG. 2 is a flowchart showing the operation of the above-described contrast-enhanced imaging device.
For example, when an image sensor of horizontal 1280 pixels × vertical 1024 pixels is used as the image sensor 10b of the imaging unit 10 that captures an image of a subject, one line becomes 1280 luminance data, and a total of 1024 lines of the data is in step S1. Input to the video input unit 11. Subsequently, the correction amount calculation unit 12 calculates a correction amount for contrast enhancement correction. When the luminance data for a predetermined amount, here, one line is read by the data reading unit 12a in step S2, waveform diagram data as shown in FIG. 4 is obtained. In step S3, the maximum point luminance value that shifts from rising to falling in one line data is detected by the maximum point detecting unit 12b, and in step S4, the minimum point luminance value that shifts from falling to rising is detected by the minimum point detecting unit 12c. In step S <b> 5, the midpoint detection unit 12 d calculates a midpoint luminance value that is located between the adjacent maximum point luminance value and the minimum point luminance value. In addition, the bandwidth calculation unit 12e calculates the difference between the maximum point luminance value obtained from the midpoint luminance value and the minimum point luminance value as the bandwidth in step S6.

このとき、1ラインデータ中のデータの最初と最後は一つの極大点輝度値と一つの極小点輝度値を含むようにしてブロック1およびブロック12とし、それら間においてはそれぞれ隣り合う極大点輝度値と極小点輝度値間をそれぞれブロック2〜ブロック11とする。各ブロック1〜12に存在する極大点輝度値はMAX1〜MAX7で示し、また極小点輝度値はMIN1〜MIN6で示している。ここでブロック10には、J点として示す変化点が存在するが、中間点検出部12dは、ブロック内の隣り合う極大点輝度値および極小点輝度値の差が所定の第一設定値以下のとき中間点輝度値を算出しないようにして結果的に出力しないように構成しており、ノイズ混入による過敏なコントラスト補正を防止している。   At this time, the beginning and end of the data in one line data are set as a block 1 and a block 12 so as to include one maximum point luminance value and one minimum point luminance value, and the adjacent maximum point luminance values and minimum values are between them. The point luminance values are designated as block 2 to block 11, respectively. The maximum point luminance values existing in the respective blocks 1 to 12 are indicated by MAX1 to MAX7, and the minimum point luminance values are indicated by MIN1 to MIN6. Here, there is a change point indicated as point J in the block 10, but the midpoint detection unit 12d has a difference between the adjacent maximum point luminance value and the minimum point luminance value in the block equal to or less than a predetermined first set value. In some cases, the midpoint luminance value is not calculated and is not output as a result, thereby preventing sensitive contrast correction due to noise mixing.

続いて、ステップS7で係数算出部12fは、それぞれ算出した中間点輝度値およびバンド幅に基づいてコントラストを強調するガンマ係数を算出してコントラスト強調補正係数を得る。映像取り込み間隔が例えば60fps(フレーム/秒)のように高速である場合、映像補正部13はステップS8で1ラインデータをコントラスト強調補正係数にて補正し、ステップS9にて映像出力部14から出力する。ステップS10では、上述した処理を全ラインについて出力したか否かを判定し、全ラインについて出力するまで繰り返して処理を行うことにより、リアルタイムにコントラストのある映像を生成する。   Subsequently, in step S7, the coefficient calculation unit 12f calculates a gamma coefficient for enhancing contrast based on the calculated midpoint luminance value and bandwidth, respectively, and obtains a contrast enhancement correction coefficient. When the video capture interval is high, for example, 60 fps (frame / second), the video correction unit 13 corrects one line data with the contrast enhancement correction coefficient in step S8, and outputs it from the video output unit 14 in step S9. To do. In step S10, it is determined whether or not the above-described processing has been output for all lines, and processing is repeated until output is performed for all lines, thereby generating an image with contrast in real time.

また、映像取り込み間隔が、例えば15fpsのように低速であり映像取り込みにリアルタイムを求めない場合、図3に示したフローチャートに示したようにステップS7でコントラストを強調するコントラスト強調補正係数を算出した後、ステップ11で係数保持部12gに保持し、ステップS12で上述した処理を全ラインについて処理したか否かを判定し、全ラインについて処理するまで繰り返して行う。その後、ステップ13で上述の保持した全ライン分のコントラスト強調補正係数を用いて、映像補正部13により全ライン一括で映像補正を行い、ステップ14にて映像出力部14から出力してもよい。   Further, when the video capture interval is low, for example, 15 fps and real time is not required for video capture, after calculating the contrast enhancement correction coefficient for enhancing the contrast in step S7 as shown in the flowchart of FIG. In step 11, the coefficient is held in the coefficient holding unit 12g. In step S12, it is determined whether or not the processing described above has been performed for all lines, and the processing is repeated until all lines are processed. Thereafter, using the above-described contrast enhancement correction coefficients for all lines held in step 13, the video correction unit 13 may perform video correction for all lines at once, and may output from the video output unit 14 in step 14.

上述した1ラインデータにおけるあるブロックで算出したバンド幅が、予め設定した所定の第二設定値と比較して小さい場合、ブロック内のコントラストが不足しているためコントラストを強調するブロックとなり、さらに中間点輝度値が所定の輝度値よりも低いときは、ガンマ係数が1の場合の補正曲線である図7との比較から分かるように、図5に示したコントラスト強調補正の特性曲線のように中間点輝度値を係数区切り輝度点k1とすると、輝度を明るくするガンマ係数β1の増加分を大きく補正し、輝度を暗くするガンマ係数α1の減少分を小さく補正する。   When the bandwidth calculated for a certain block in the one-line data described above is smaller than the predetermined second setting value set in advance, the contrast in the block is insufficient, and the block is emphasized, and further in the middle. When the point luminance value is lower than the predetermined luminance value, as shown in the comparison with FIG. 7 which is a correction curve when the gamma coefficient is 1, an intermediate value like the contrast enhancement correction characteristic curve shown in FIG. When the point luminance value is a coefficient-delimited luminance point k1, an increase in the gamma coefficient β1 that brightens the luminance is corrected largely, and a decrease in the gamma coefficient α1 that darkens the luminance is corrected small.

一方、コントラストが不足しているためコントラストを強調するブロックで中間点輝度値が所定の第二設定値よりも高いときは、ガンマ係数が1の場合の補正曲線である図7との比較から分かるように、図6に示したコントラスト強調補正の特性曲線のように中間点輝度値を係数区切り輝度点k2とすると、輝度を明るくするガンマ係数β2の増加分を小さく、輝度を暗くするガンマ係数α2の減少分を大きく補正する。ただし、ガンマ係数α、βは1を基準とする。   On the other hand, when the midpoint luminance value is higher than the predetermined second set value in the block that emphasizes contrast because the contrast is insufficient, it can be seen from comparison with FIG. 7 that is a correction curve when the gamma coefficient is 1. As described above, when the intermediate point luminance value is a coefficient-separated luminance point k2 as in the characteristic curve for contrast enhancement correction shown in FIG. 6, the increase in the gamma coefficient β2 that increases the luminance is reduced, and the gamma coefficient α2 that decreases the luminance. Correct the decrease of. However, the gamma coefficients α and β are based on 1.

上述のコントラスト強調補正は、変換前輝度をsrc、変換後輝度をdst、輝度を暗くするガンマ係数をα、輝度を明るくするガンマ係数をβ、係数区切り輝度をkとして、数式1により変換を行う。   In the above-described contrast enhancement correction, conversion is performed according to Equation 1, where the luminance before conversion is src, the luminance after conversion is dst, the gamma coefficient for decreasing the luminance is α, the gamma coefficient for increasing the luminance is β, and the coefficient separation luminance is k. .

(数1)
dst=((src/k)^(1/α))×k
ただし、0<k<255、0≦src≦k、0<α≦1である。
(Equation 1)
dst = ((src / k) ^ (1 / α)) × k
However, 0 <k <255, 0 ≦ src ≦ k, and 0 <α ≦ 1.

(数2)
dst=((src/(255−k))^(1/β))×(255−k)
ただし、0<k<255、k<src≦255、1≦β、^は累乗を示す 。
(Equation 2)
dst = ((src / (255−k)) ^ (1 / β)) × (255−k)
However, 0 <k <255, k <src ≦ 255, 1 ≦ β, and ^ indicate powers.

このように各ブロック毎に中間点輝度値およびバンド幅に基づいてコントラスト強調補正を行うようにしているため、屋外で映像を撮影する必要のある装置、例えば車両番号認識装置や入出監視装置等に採用すると、被写体を撮像する際に天気、太陽光の向き等により、被写体の照度が不足したり過剰すぎる場合、あるいは一映像内で明るさのむらがある場合でも、映像に対してコントラスト強調補正を撮像部内でリアルタイムにて行うことができ、安定したコントラストのある映像を得て正確に車両番号等を認識できるようになる。望ましい実施の形態によれば、複数存在する輝度の異なる被写体をそれぞれブロックに区分し、それぞれのブロックに対して輝度補正を行って、高、中、低それぞれの輝度領域においてコントラストのある良好な画像を得ることができる。   In this way, contrast enhancement correction is performed for each block based on the midpoint luminance value and the bandwidth, so that it is necessary for devices that need to shoot images outdoors, such as vehicle number recognition devices and entrance / exit monitoring devices. If it is used, the contrast enhancement correction will be applied to the image even if the subject's illumination is insufficient or excessive due to the weather, the direction of sunlight, etc., or when there is uneven brightness in one image when imaging the subject. This can be performed in real time in the imaging unit, and a stable contrast image can be obtained to accurately recognize the vehicle number and the like. According to a preferred embodiment, a plurality of subjects with different luminances are divided into blocks, and luminance correction is performed on the respective blocks to obtain a good image with contrast in each of the high, medium, and low luminance regions. Can be obtained.

また中間点検出部12dは、ブロック内の隣り合う極大点輝度値および極小点輝度値の差が所定の第一設定値以下のとき中間点輝度値を算出あるいは出力しないように構成したため、ブロック内に混入したノイズによってコントラストが過敏に補正されることがなく、安定したコントラストのある映像を得ることができる。   Further, since the midpoint detection unit 12d is configured not to calculate or output the midpoint luminance value when the difference between the adjacent maximum point luminance value and the minimum point luminance value in the block is equal to or less than a predetermined first set value, Therefore, the contrast is not corrected excessively by noise mixed in the image, and a stable contrast image can be obtained.

上述した実施の形態では、図4に示したように映像データの1ラインデータを単位として扱ったが、複数ラインあるいは全ラインを単位として扱うこともできる。また画素方向には一つの極大点輝度値と一つの極小点輝度値を有して一つのブロックとして扱ったが、全画像データを画素数に応じて複数ブロックに区分したり、図4に示したブロックの複数を纏めて一つのブロックに区分し直し、この区分ブロック毎に各極大点輝度値の平均値と各極小点輝度値の平均値から平均的な中間点輝度値を算出して、輝度補正を行うこともできる。また、前段のブロックの極大点輝度値および極小点輝度値と次のブロックの極大点輝度値および極小点輝度値を、あるいは前段のブロックの中間点輝度値と次のブロックの中間点輝度値とを比較し、所定の第三設定値の範囲内の変化であれば、前段のブロックの中間点輝度値やバンド幅を次のブロックにも適用し簡略化することもできる。   In the embodiment described above, one line data of video data is handled as a unit as shown in FIG. 4, but a plurality of lines or all lines can be handled as a unit. The pixel direction has one maximum point luminance value and one minimum point luminance value and is treated as one block. However, all image data is divided into a plurality of blocks according to the number of pixels, as shown in FIG. A plurality of blocks are collectively divided into one block, and for each of the divided blocks, an average midpoint luminance value is calculated from an average value of each local maximum luminance value and an average value of each local minimum luminance value, Brightness correction can also be performed. Also, the maximum point luminance value and minimum point luminance value of the previous block and the maximum point luminance value and minimum point luminance value of the next block, or the intermediate point luminance value of the previous block and the intermediate point luminance value of the next block If the change is within the range of the predetermined third set value, the midpoint luminance value and the bandwidth of the previous block can be applied to the next block and simplified.

このように本発明の実施の際しては、全画像データのうち少なくとも1ラインデータをその画素方向に複数のブロックに区分すればよいが、図3に示したようにライン毎に、またその画素方向には極大点輝度値および極小点輝度値毎に区分したブロックとした方が細かく、またそれぞれの位置に応じて望ましい輝度補正を行うことができる。   As described above, at the time of carrying out the present invention, at least one line data among all the image data may be divided into a plurality of blocks in the pixel direction. However, as shown in FIG. In the pixel direction, the block divided into the maximum point luminance value and the minimum point luminance value is finer, and desirable luminance correction can be performed according to each position.

このようなコントラスト強調撮像装置を、屋外で映像を撮影する必要のある装置、例えば車両番号認識装置や入出監視装置等として用いると、被写体を撮像する際に、被写体の照度が不足したり過剰すぎる場合、あるいは一映像内で明るさのむらがある場合でも、映像に対してコントラスト強調補正を撮像部内でリアルタイムで行い、安定したコントラストのある映像を得ることができる。   When such a contrast-enhanced imaging device is used as a device that needs to shoot images outdoors, such as a vehicle number recognition device or an entrance / exit monitoring device, the illuminance of the subject is insufficient or excessive when the subject is imaged. In this case, even when there is uneven brightness in one image, it is possible to perform contrast enhancement correction on the image in real time in the imaging unit and obtain an image with stable contrast.

本発明によるコントラスト強調撮像装置は、上述した実施の形態に限らず他のコントラスト強調撮像装置にも適用することができる。   The contrast-enhanced imaging apparatus according to the present invention is not limited to the above-described embodiment, and can be applied to other contrast-enhanced imaging apparatuses.

本発明の一実施の形態によるコントラスト強調撮像装置を示すブロック構成図である。It is a block block diagram which shows the contrast emphasis imaging device by one embodiment of this invention. 図1に示したコントラスト強調撮像装置における要部の動作を示すフローチャートである。3 is a flowchart illustrating an operation of a main part in the contrast-enhanced imaging device illustrated in FIG. 1. 図1に示したコントラスト強調撮像装置における要部の他の動作を示すフローチャートである。6 is a flowchart showing another operation of the main part of the contrast-enhanced imaging device shown in FIG. 1. 撮像装置による1ラインデータの輝度分布を示す特性図である。It is a characteristic view which shows the luminance distribution of 1 line data by an imaging device. 図1に示したコントラスト強調撮像装置によるコントラスト強調補正の一例を示す補正曲線図である。It is a correction curve figure which shows an example of contrast emphasis correction | amendment by the contrast emphasis imaging device shown in FIG. 図1に示したコントラスト強調撮像装置によるコントラスト強調補正の他の例を示す補正曲線図である。It is a correction curve figure which shows the other example of contrast emphasis correction | amendment by the contrast emphasis imaging device shown in FIG. 図1に示したコントラスト強調撮像装置によるガンマ係数が1の場合の補正曲線図である。It is a correction curve figure in case the gamma coefficient by the contrast emphasis imaging device shown in FIG.

符号の説明Explanation of symbols

1 撮像装置
10 撮像部
10a レンズ
10b 撮像素子
11 映像入力部
12 補正量算出部
12a 1ラインデータ読み出し部
12b 極大点検出部
12c 極小点検出部
12d 中間点検出部
12e バンド幅算出部
12f 係数算出部
12g 係数保持部
13 映像補正部
14 映像出力部
DESCRIPTION OF SYMBOLS 1 Imaging device 10 Imaging part 10a Lens 10b Image pick-up element 11 Image | video input part 12 Correction amount calculation part 12a 1 line data reading part 12b Maximum point detection part 12c Minimum point detection part 12d Intermediate | middle point detection part 12e Bandwidth calculation part 12f Coefficient calculation part 12g coefficient holding unit 13 video correction unit 14 video output unit

Claims (4)

撮像部からの映像を格納する映像入力部と、この映像入力部の映像輝度情報からコントラスト補正量を算出する補正量算出部と、この補正量算出部で算出した補正量にて映像補正する映像補正部と、この映像補正部での補正映像を出力する映像出力部とを備えたコントラスト強調撮像装置において、上記補正量算出部は、上記映像入力部から所定量のデータを読み出すデータ読み出し部と、所定量のデータから極大点輝度値および極小点輝度値を検出する極大点検出部および極小点検出部と、この検出した極大点輝度値と極小点輝度値とについて、相隣り合う極大点輝度値と極小点輝度値とを1つのブロックとする複数のブロックに区分し、これら各区分したブロック内の極大点輝度値および極小点輝度値から中間点輝度値を算出する中間点算出部と、上記各ブロック内の極大点輝度値および極小点輝度値からバンド幅を算出するバンド幅算出部と、これら各中間点輝度値と各バンド幅からコントラスト強調するコントラスト強調係数をそれぞれ算出する係数算出部とを備え、上記映像補正部は、上記係数算出部のコントラスト強調係数に基づいて上記各ブロック毎に映像補正を行うようにしたことを特徴とするコントラスト強調撮像装置。 A video input unit for storing video from the imaging unit, a correction amount calculation unit for calculating a contrast correction amount from video luminance information of the video input unit, and a video for video correction with the correction amount calculated by the correction amount calculation unit In the contrast-enhanced imaging device including a correction unit and a video output unit that outputs a video image corrected by the video correction unit, the correction amount calculation unit includes a data reading unit that reads a predetermined amount of data from the video input unit; The local maximum point detection unit and the local minimum point detection unit for detecting the local maximum luminance value and the local minimum luminance value from a predetermined amount of data, and the detected local maximum point luminance value and local minimum point luminance value are adjacent to each other. midpoint divides the value and the minimum point brightness values into a plurality of blocks as one block, calculates the midpoint luminance value from the maximum point luminance value and minimum point luminance values in respective divided blocks The output unit, the bandwidth calculation unit for calculating the bandwidth from the maximum point luminance value and the minimum point luminance value in each block, and the contrast enhancement coefficient for contrast enhancement from each of the intermediate point luminance values and each band width, respectively. A contrast-enhancing imaging apparatus, wherein the image correction unit performs image correction for each block based on a contrast enhancement coefficient of the coefficient calculation unit. 請求項1記載のものにおいて、上記データ読み出し部は、上記映像入力部から少なくとも1ラインデータを読み出し、上記中間点算出部は、上記1ラインデータの画素方向に一つの極大点輝度値および一つの極小点輝度値を有して区分したブロック内の極大点輝度値および極小点輝度値から中間点輝度値をそれぞれ算出することを特徴とするコントラスト強調撮像装置。   2. The data reading unit according to claim 1, wherein the data reading unit reads at least one line data from the video input unit, and the intermediate point calculation unit includes one maximum point luminance value and one line in the pixel direction of the one line data. A contrast-enhanced imaging apparatus, characterized in that an intermediate point luminance value is calculated from a maximum point luminance value and a minimum point luminance value in a block that is divided by having a minimum point luminance value. 請求項1記載のものにおいて、上記データ読み出し部は、上記映像入力部から1ラインデータ毎に順次読み出し、上記中間点算出部は、上記1ラインデータ毎に画素方向に一つの極大点輝度値および一つの極小点輝度値を有して区分したブロック内の極大点輝度値および極小点輝度値から中間点輝度値をそれぞれ算出することを特徴とするコントラスト強調撮像装置。   2. The data reading unit according to claim 1, wherein the data reading unit sequentially reads from the video input unit for each line data, and the intermediate point calculation unit includes one maximum point luminance value in the pixel direction and one line data for each line data. A contrast-enhanced imaging apparatus, characterized in that an intermediate point luminance value is calculated from a maximum point luminance value and a minimum point luminance value in a block segmented with one minimum point luminance value. 請求項1記載のものにおいて、上記中間点算出部は、上記ブロック内の隣り合う極大点輝度値と極小点輝度値の差が所定の第一設定値以下のとき中間点輝度値を出力しないように構成したことを特徴とするコントラスト強調撮像装置。   2. The intermediate point calculation unit according to claim 1, wherein the intermediate point calculation unit does not output an intermediate point luminance value when a difference between adjacent maximum point luminance values and minimum point luminance values in the block is equal to or less than a predetermined first set value. A contrast-enhanced imaging device characterized by comprising:
JP2004187831A 2004-06-25 2004-06-25 Contrast enhancement imaging device Expired - Fee Related JP4414289B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004187831A JP4414289B2 (en) 2004-06-25 2004-06-25 Contrast enhancement imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004187831A JP4414289B2 (en) 2004-06-25 2004-06-25 Contrast enhancement imaging device

Publications (2)

Publication Number Publication Date
JP2006013863A JP2006013863A (en) 2006-01-12
JP4414289B2 true JP4414289B2 (en) 2010-02-10

Family

ID=35780574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004187831A Expired - Fee Related JP4414289B2 (en) 2004-06-25 2004-06-25 Contrast enhancement imaging device

Country Status (1)

Country Link
JP (1) JP4414289B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4919034B2 (en) * 2006-10-11 2012-04-18 株式会社Jvcケンウッド Network decoder device
JP5212380B2 (en) * 2007-12-06 2013-06-19 富士通株式会社 Image correction apparatus, image correction program, and image correction method
JP5855224B2 (en) 2012-03-02 2016-02-09 三菱電機株式会社 Image processing apparatus and method

Also Published As

Publication number Publication date
JP2006013863A (en) 2006-01-12

Similar Documents

Publication Publication Date Title
EP2645705B1 (en) Image capturing apparatus and control method thereof
US9077905B2 (en) Image capturing apparatus and control method thereof
US7948538B2 (en) Image capturing apparatus, image capturing method, exposure control method, and program
US8885093B2 (en) Image pickup apparatus, image pickup method, exposure control method, and program
US8094211B2 (en) Method and apparatus for obtaining image using entropy
TWI408953B (en) Image pickup device and image pickup method
JP4622629B2 (en) Imaging device
US7444075B2 (en) Imaging device, camera, and imaging method
EP2706747A2 (en) Image pickup apparatus that periodically changes exposure condition, a method of controlling image pickup apparatus, and storage medium
JP4694424B2 (en) Authentication device
US8477212B2 (en) Camera device, exposure control method, and program
US8155472B2 (en) Image processing apparatus, camera, image processing program product and image processing method
JP4637812B2 (en) Image signal processing apparatus, image signal processing program, and image signal processing method
JP2010193099A (en) Image capturing apparatus and method of controlling the same
JP2007201963A (en) Imaging apparatus
JP4414289B2 (en) Contrast enhancement imaging device
JP2010183460A (en) Image capturing apparatus and method of controlling the same
US8498494B2 (en) Method and apparatus for processing a digital image signal, and a recording medium having recorded thereon a program for executing the method
JP2009060400A (en) Imaging apparatus
KR20110067700A (en) Image acquisition method and digital camera system
JP5520863B2 (en) Image signal processing device
JP2003299107A (en) Imaging device
JP2010183461A (en) Image capturing apparatus and method of controlling the same
JP2002268116A (en) Automatic exposure controller and external storage medium stored with program thereof
JP5351663B2 (en) Imaging apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060526

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20060926

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061101

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090825

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091022

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091117

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091119

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121127

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131127

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees