JP2013058969A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2013058969A
JP2013058969A JP2011197068A JP2011197068A JP2013058969A JP 2013058969 A JP2013058969 A JP 2013058969A JP 2011197068 A JP2011197068 A JP 2011197068A JP 2011197068 A JP2011197068 A JP 2011197068A JP 2013058969 A JP2013058969 A JP 2013058969A
Authority
JP
Japan
Prior art keywords
color
unit
contrast
ground
size
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.)
Granted
Application number
JP2011197068A
Other languages
Japanese (ja)
Other versions
JP5887088B2 (en
Inventor
Masanori Ozaki
正憲 小崎
Koichi Akaboshi
康一 赤星
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.)
Toshiba Alpine Automotive Technology Inc
Original Assignee
Toshiba Alpine Automotive Technology Inc
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 Toshiba Alpine Automotive Technology Inc filed Critical Toshiba Alpine Automotive Technology Inc
Priority to JP2011197068A priority Critical patent/JP5887088B2/en
Publication of JP2013058969A publication Critical patent/JP2013058969A/en
Application granted granted Critical
Publication of JP5887088B2 publication Critical patent/JP5887088B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color Television Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect a motion vector reliably even in a scene where there is only color difference with no difference of luminance between patterns.SOLUTION: The color component difference from the maximum value to the minimum value of one pixel in input video signals R, G, B is extracted as a color contrast by a color contrast extraction unit 11. The contrast extracted by the color contrast extraction unit 11 is doubled, for example, by a contrast ratio enhancement unit 12. The luminance signal components of the video signals R, G, B are generated by a luminance signal generation unit 14. The contrast output from the contrast ratio enhancement unit 12 and the luminance signal generated by the luminance signal generation unit 14 are added by an addition unit 13, the addition value is supplied to a below gray scale size adjustment unit 15, and adjusted to go below the data size of gray scale. Consequently, a signal for motion detection in a scene where there is only color difference with no difference of luminance between patterns can be obtained.

Description

この発明の実施形態は、絵柄間に輝度差がない画像から動きベクトルを検出することのできる画像に処理する画像処理装置に関する。   Embodiments described herein relate generally to an image processing apparatus that processes an image in which a motion vector can be detected from an image having no luminance difference between patterns.

従来、画像の動きベクトルを算出する手段としては、連続した2つのフレーム間で各画素または小さなブロック毎に動きベクトルを検出するブロックマッチング法や勾配法が知られている。カラー画像の動きベクトルを求める場合、本来は3原色信号R,G,B等の3つの信号それぞれで動きベクトルを求めることが望ましいとされる。しかし、処理を簡略化するために、1系統の動きベクトルの検出で、動きベクトルを検出する手段が提案されている。   Conventionally, as a means for calculating an image motion vector, a block matching method and a gradient method for detecting a motion vector for each pixel or small block between two consecutive frames are known. When obtaining a motion vector of a color image, it is originally desirable to obtain a motion vector from each of three signals such as the three primary color signals R, G, and B. However, in order to simplify the processing, means for detecting a motion vector by detecting one system of motion vectors has been proposed.

1系統の動きベクトル検出では、画素ブロックを定義し、ブロック内画素の輝度信号の輝度勾配成分の閾値判定を行い、閾値以下のときブロック内の輝度信号に色差信号の色飽和信号を加算し、この輝度信号を用いて動きベクトルの検出を行っている。この動きベクトル検出には大きな入力ダイナミックレンジが必要となり、通常の輝度信号から動きベクトルを検出するものと比べ、コストが高いものとなる。また、色飽和信号の加算の有無を行う閾値判定がノイズ等で誤動作すると、動きベクトル算出に誤動作を誘発してしまい、閾値判定の誤動作に対して脆弱なものになってしまう。   In one system of motion vector detection, a pixel block is defined, the threshold value of the luminance gradient component of the luminance signal of the pixel in the block is determined, and when it is below the threshold value, the color saturation signal of the color difference signal is added to the luminance signal in the block, A motion vector is detected using this luminance signal. This motion vector detection requires a large input dynamic range, and the cost is higher than that for detecting a motion vector from a normal luminance signal. In addition, if the threshold determination for determining whether or not a color saturation signal is added malfunctions due to noise or the like, a malfunction occurs in motion vector calculation, and the threshold determination malfunction becomes vulnerable.

特開2005−354370号公報JP 2005-354370 A

従来の動きベクトル検出部の技術は、画素プロックを定義し、ブロック単位でシュミレーションしていたため、ノイズ等によりレベルが変化した場合、ブロックで輝度差が発生し、正確な動きベクトルを検出できない、という問題があった。   Since the conventional motion vector detection technology defines pixel blocks and is simulated in units of blocks, if the level changes due to noise or the like, a luminance difference occurs in the block, and an accurate motion vector cannot be detected. There was a problem.

この実施形態は、絵柄間において輝度差のない色差のみがあるシーンの画像においても確実に動きベクトルを検出することが可能な画像を得ることのできる画像処理装置を提供することにある。   This embodiment is to provide an image processing apparatus capable of obtaining an image capable of reliably detecting a motion vector even in an image of a scene having only a color difference having no luminance difference between pictures.

実施形態によれば、入力されたビデオ信号中の一画素の最大値から最小値の色成分差を、カラーコントラストとして抽出するカラーコントラスト抽出部と、前記カラーコントラスト抽出部で抽出されたコントラストを定数分向上させるコントラスト比向上部と、前記ビデオ信号の輝度信号成分を生成する輝度信号生成部と、前記コントラスト比向上部から出力した向上されたコントラストと前記輝度信号生成部で生成された輝度信号を加算する加算部と、前記加算部から出力される加算値がグレースケールのデータサイズ以下となるように調整した出力するグレースケールサイズ以下調整部と、を備える。   According to the embodiment, the color contrast extraction unit that extracts the color component difference between the maximum value and the minimum value of one pixel in the input video signal as the color contrast, and the contrast extracted by the color contrast extraction unit is a constant. A contrast ratio improving unit for improving the luminance signal, a luminance signal generating unit for generating a luminance signal component of the video signal, an improved contrast output from the contrast ratio improving unit, and a luminance signal generated by the luminance signal generating unit. An adding unit for adding, and a grayscale size or smaller adjusting unit that outputs the adjusted value so that an added value output from the adding unit is equal to or smaller than a grayscale data size.

画像処理装置に関する第1の実施形態について説明するためのブロック図である。It is a block diagram for demonstrating 1st Embodiment regarding an image processing apparatus. 第1の実施形態の変換処理について説明するためのフローチャートである。It is a flowchart for demonstrating the conversion process of 1st Embodiment. 画像処理装置に関する第2の実施形態について説明するためのブロック図である。It is a block diagram for demonstrating 2nd Embodiment regarding an image processing apparatus. 第2の実施形態の変換処理について説明するためのフローチャートである。It is a flowchart for demonstrating the conversion process of 2nd Embodiment. 第2の実施形態の地面色キャンセルの一例について説明するための説明図である。It is explanatory drawing for demonstrating an example of the ground color cancellation of 2nd Embodiment. 第2の実施形態の地面色キャンセルの他の例について説明するための説明図である。It is explanatory drawing for demonstrating the other example of the ground color cancellation of 2nd Embodiment.

以下、実施形態について、図面を参照しながら詳細に説明する。   Hereinafter, embodiments will be described in detail with reference to the drawings.

(第1の実施形態)
図1は、画像処理装置に関する第1の実施形態について説明するためのブロック図である。
(First embodiment)
FIG. 1 is a block diagram for explaining a first embodiment relating to an image processing apparatus.

図1に示す画像処理装置は、例えばビデオカメラから取り込まれた3原色のビデオ信号R,G,Bをカラーコントラスト抽出部11に供給し、このR,G,B信号のコントラストを抽出する。カラーコントラスト抽出部11では、R,G,B信号に基づいた画素データRi,Gi,Biからカラーコントラストを抽出する。抽出されたカラーコントラストは、カラーコントラスト比向上部12を介してカラーコントラストの向上を行い、加算部13に供給する。なお、色信号としては、輝度信号と色差信号で構成するビデオ信号であってもよい。   The image processing apparatus shown in FIG. 1 supplies, for example, video signals R, G, and B of three primary colors captured from a video camera to the color contrast extraction unit 11, and extracts the contrast of the R, G, and B signals. The color contrast extraction unit 11 extracts color contrast from the pixel data Ri, Gi, Bi based on the R, G, B signals. The extracted color contrast is improved in color contrast via the color contrast ratio improving unit 12 and supplied to the adding unit 13. The color signal may be a video signal composed of a luminance signal and a color difference signal.

ここで、カラーコントラストとは、”色の鮮やかさ”のことを指し、ある画素のR,G,B信号中の最大値から最小値の成分の差(max(r,g,b)−min(r,g,b))をカラーコントラストと呼ぶことにする。従って、R,G,Bが24ビットカラーの場合は、255がカラーコントラスト最大となり、最大の鮮やかさとなる。   Here, the color contrast refers to “color vividness”, and the difference (max (r, g, b) −min) between the maximum value and the minimum value component in the R, G, B signals of a certain pixel. (r, g, b)) will be referred to as color contrast. Therefore, when R, G, and B are 24-bit color, 255 is the maximum color contrast and the maximum vividness.

さらに、入力されたビデオ信号R,G,Bは、輝度信号生成部14を介して、R,G,B信号に基づいた画素データRi,Gi,Biから輝度信号を生成し、加算部13に供給する。加算部13では、カラーコントラスト比向上部12を介して得られるコントラスト比向上のカラーコントラスト信号と輝度信号生成部14を介して生成された輝度信号との加算を行う。   Further, the input video signals R, G, and B generate luminance signals from the pixel data Ri, Gi, and Bi based on the R, G, and B signals via the luminance signal generation unit 14, and add them to the addition unit 13. Supply. The adding unit 13 adds the contrast signal for improving the contrast ratio obtained through the color contrast ratio improving unit 12 and the luminance signal generated through the luminance signal generating unit 14.

加算されたカラーコントラスト信号と輝度信号は、グレースケールサイズ以下調整部15に供給する。グレースケールサイズ以下調整部15では、加算部13から出力される加算信号の値を所定のビット幅(グレースケールサイズ)以下、例えば8bitの場合255以下に調整した結果を、グレースケールの1画素値(=輝度値)として出力する。この処理は、1画素単位で全画素について行う。グレースケールサイズ以下調整部15の出力は、被動き検出信号として次段の図示しない動きベクトル検出部に出力される。   The added color contrast signal and luminance signal are supplied to the grayscale size or smaller adjustment unit 15. The grayscale size or less adjustment unit 15 adjusts the value of the addition signal output from the addition unit 13 to a predetermined bit width (grayscale size) or less, for example, 255 or less in the case of 8 bits. (= Brightness value) This process is performed for all pixels in units of pixels. The output of the adjustment unit 15 below the grayscale size is output as a motion detection signal to a motion vector detection unit (not shown) in the next stage.

次に、図1の各ブロックにおける処理の詳細について図2のフローチャートとともにさらに説明する。   Next, the details of the processing in each block of FIG.

まず、処理S1では、カラーコントラスト抽出部11に供給された色信号データR,G,Bに基づく画素データRi,Gi,Biの中の最大値−最小値を求めることで、カラーコントラストの抽出を行う。処理S2において、抽出されたカラーコントラスト信号は、カラーコントラスト比向上部12でカラーコントラスト比を例えば2倍を積算してアップする。   First, in the process S1, the color contrast is extracted by obtaining the maximum value-minimum value in the pixel data Ri, Gi, Bi based on the color signal data R, G, B supplied to the color contrast extraction unit 11. Do. In the process S2, the extracted color contrast signal is increased by accumulating the color contrast ratio, for example, twice by the color contrast ratio improving unit 12.

処理S3において、R,G,B信号が供給された輝度信号生成部14では、供給されたR,G,Bの総和(R+G+B)を求め輝度信号を生成する。なお、計算を簡略するために前記の総和としたが、NTSC方式における輝度値算出式である、y=0.3・R+0.6・G+0.1・Bを使用してもよい。   In the process S3, the luminance signal generation unit 14 to which the R, G, and B signals are supplied generates a luminance signal by obtaining the sum (R + G + B) of the supplied R, G, and B. Although the above sum is used to simplify the calculation, y = 0.3 · R + 0.6 · G + 0.1 · B, which is a luminance value calculation formula in the NTSC system, may be used.

次に、処理S4において、処理S2で求めたカラーコントラスト信号と処理S3で求めた輝度信号とを加算部13で加算し、加算結果を次段のグレースケールサイズ以下調整部15に供給する。   Next, in the process S4, the color contrast signal obtained in the process S2 and the luminance signal obtained in the process S3 are added by the adding unit 13, and the addition result is supplied to the grayscale size or less adjusting unit 15 in the next stage.

次の処理S5のグレースケールサイズ以下調整部15では、処理S4による加算値がグレースケールサイズを超えてしまう場合があるため、グレースケールサイズ以下になるように調整を行う。調整方法としては、(1)〜(3)の例が考えられる。
(1)グレースケールサイズでリミットする。例えば、255を超えた場合、255とするリミットをかける。
(2)ある値で割ってからグレースケールサイズでリミットする。例えば2で割り、それでも255を超える場合、255とするリミットをかける。
(3)グレースケールサイズを超えない値で割る。例えば、カラーコントラスト比向上部12の定数が2以下の場合、4で割れば255を越えることはなくなりリミットは不要となる。
In the next processing step S5, the grayscale size or smaller adjustment unit 15 adjusts the grayscale size to be equal to or smaller than the grayscale size because the added value in the processing S4 may exceed the grayscale size. Examples of the adjustment method are (1) to (3).
(1) Limit by gray scale size. For example, if it exceeds 255, a limit of 255 is applied.
(2) Divide by a certain value and then limit by gray scale size. For example, when dividing by 2 and still exceeding 255, a limit of 255 is applied.
(3) Divide by a value that does not exceed the grayscale size. For example, when the constant of the color contrast ratio improving unit 12 is 2 or less, dividing by 4 does not exceed 255, and no limit is required.

ここで、上記調整方法の(1)について具体例を示しながら図1とともに説明する。色信号R,G,Bの輝度値がそれぞれ(100,50,150)とする。この場合、輝度値最大はB成分の150で、輝度値最小はG成分の50であることから、カラーコントラストは、150−50=100となり、この値がカラーコントラスト抽出部11から出力される。   Here, (1) of the adjustment method will be described with reference to FIG. Assume that the luminance values of the color signals R, G, and B are (100, 50, 150), respectively. In this case, since the maximum luminance value is 150 for the B component and the minimum luminance value is 50 for the G component, the color contrast is 150−50 = 100, and this value is output from the color contrast extraction unit 11.

カラーコントラスト抽出部11から出力されるカラーコントラスト値100は、カラーコントラスト比向上部12で定数例として挙げた2倍(2×100=200)のコントラストに向上させる。   The color contrast value 100 output from the color contrast extraction unit 11 is improved to the double (2 × 100 = 200) contrast given as a constant example by the color contrast ratio improvement unit 12.

加算部13では、輝度信号生成部14から生成される各色信号R,G,Bの輝度値(100+50+150)とカラーコントラスト抽出部11から出力されるカラーコントラスト値200を加算(100+50+150+200)し、500の値を出力する。従って、加算部13の加算値である500は、グレースケールサイズの最大値255よりも高い、500>255の関係になる。そこで、グレースケールサイズ255を越えた分については、グレースケールサイズ以下調整部15でリミットをかけ、出力から255の出力を得る。   The adder 13 adds the luminance values (100 + 50 + 150) of the color signals R, G, and B generated from the luminance signal generator 14 and the color contrast value 200 output from the color contrast extractor 11 (100 + 50 + 150 + 200). Output the value. Therefore, the addition value 500 of the addition unit 13 has a relationship of 500> 255, which is higher than the maximum value 255 of the gray scale size. Therefore, the portion exceeding the gray scale size 255 is limited by the adjustment unit 15 below the gray scale size, and an output of 255 is obtained from the output.

上記の処理S1〜S4までの各処理を全ての画素について行い、グレーの1系統による動きベクトル検出を終了する。   The above processes S1 to S4 are performed for all the pixels, and the motion vector detection by one gray system is finished.

このように、輝度が同じ絵柄にカラーコントラストの強弱により、輝度差を付けるようにしたことで、グレースケールサイズ以下調整部15の次段における輝度信号に基づき動きベクトルを求める動きベクトル検出部で動きベクトル検出に有効な画像を得ることができる。   As described above, the motion vector detection unit that obtains the motion vector based on the luminance signal in the next stage of the grayscale size or less adjustment unit 15 by adding the luminance difference to the same luminance by the color contrast strength is used in the motion vector detection unit. An image effective for vector detection can be obtained.

また、画像ブロック内の一画素単位で輝度変換しノイズが入った場合は、その一画素で見れば輝度値としては不具合があるものの、ブロック全体で見れば、本来の値に近い輝度値を得ることができ、ノイズに対する影響を抑えることができる。   In addition, when noise is generated by converting the luminance in units of one pixel in the image block, there is a defect in the luminance value when viewed from the one pixel, but when the entire block is viewed, a luminance value close to the original value is obtained. And the influence on noise can be suppressed.

ところで、上記(2),(3)の各調整方法においても、グレースケールサイズ以下調整部15からは、255を越えることのない値が出力され、動きベクトルを求め易い輝度信号を得ることができる。   By the way, in each of the adjustment methods (2) and (3), a value not exceeding 255 is output from the adjustment unit 15 below the gray scale size, and a luminance signal that can easily obtain a motion vector can be obtained. .

この実施形態では、1画素毎にグレースケール変換(輝度値)を求めているので、ある画素に雑音が混入し異常な輝度値となった場合でも、他の画素で正常な輝度値を求めることができる。よって、勾配法による動きベクトル抽出時に雑音が混入したとしても、所定領域内において正常値の画素が存在するため、正常な動きベクトルを抽出できる可能性があり、雑音に対する影響を少なくすることが可能となる。   In this embodiment, since grayscale conversion (luminance value) is obtained for each pixel, even when noise is mixed in a certain pixel and an abnormal luminance value is obtained, a normal luminance value is obtained for other pixels. Can do. Therefore, even if noise is mixed during motion vector extraction by the gradient method, there is a possibility that a normal motion vector can be extracted because there is a normal value pixel in a predetermined area, and the influence on noise can be reduced. It becomes.

(第2の実施形態)
図3は、画像処理装置に関する第2の実施形態について説明するためのブロック図である。この実施形態は、第1の実施形態にさらに機能を拡張させたものであり、第1の実施形態と同一の構成部分には、同一の符号を付し、ここでの説明は異なる部分を中心にして説明する。
(Second Embodiment)
FIG. 3 is a block diagram for explaining a second embodiment related to the image processing apparatus. In this embodiment, the functions are further expanded from those of the first embodiment. The same reference numerals are given to the same components as those in the first embodiment, and the description here will focus on different parts. I will explain.

この実施形態は、カラーコントラスト抽出部11および輝度信号生成部14に供給されるビデオカメラから取り込まれた画像が道路の地面領域がアスファルトの色である、いわゆるグレー以外の色の場合を考慮した処理に対応するものである。すなわち、全体的にカラーコントラストの高い絵柄のカラーの地面から物体を浮き上がらせる地面色キャンセル機能を持たせたものである。   In this embodiment, an image taken from a video camera supplied to the color contrast extraction unit 11 and the luminance signal generation unit 14 is processed in consideration of a color other than so-called gray where the ground area of the road is an asphalt color. It corresponds to. That is, it has a ground color canceling function that lifts an object from the ground surface of a color having a high color contrast as a whole.

この実施形態における処理について図4を参照し説明する。すなわち、処理S0において、例えばビデオカメラから取り込まれた3原色のビデオ信号R,G,Bが入力された地面色キャンセル部31では、地面色Rg,Gg,Bgを抽出する。抽出された地面色Rg,Gg,Bgは、フラッシュメモリ等の一次的に記憶可能なメモリに記憶する。地面色の抽出は、地面色Rg,Gg,Bgで一番多い色あるいは地面の色の平均値とする。そこで、入力画素データRi,Gi,Biを、メモリに記憶された地面色Rg,Gg,Bgに基づいてキャンセルする。地面色キャンセル部31の出力からは、地面色Rg,Gg,Bgがキャンセルされた出力画素データRo,Bo,Goを出力する。   Processing in this embodiment will be described with reference to FIG. That is, in the processing S0, the ground color canceling unit 31 to which the three primary color video signals R, G, B captured from the video camera, for example, are input extracts the ground colors Rg, Gg, Bg. The extracted ground colors Rg, Gg, Bg are stored in a temporarily storable memory such as a flash memory. The extraction of the ground color is performed using the most common color among the ground colors Rg, Gg, and Bg or the average value of the ground colors. Therefore, the input pixel data Ri, Gi, Bi is canceled based on the ground colors Rg, Gg, Bg stored in the memory. From the output of the ground color cancellation unit 31, output pixel data Ro, Bo, Go from which the ground colors Rg, Gg, Bg are canceled is output.

以降の処理S1〜S4では、地面色キャンセル部31の出力画素データRo,Bo,Goを、カラーコントラスト抽出、輝度信号生成時の入力信号としてカラーコントラスト信号および輝度信号を得て、第1の実施形態と同じような処理を行い、グレースケールサイズ255以下に調整された値を出力し、動きベクトルの求め易い輝度信号を得ることができる。   In the subsequent processes S1 to S4, the output pixel data Ro, Bo, Go of the ground color canceling unit 31 is obtained as color contrast signals and luminance signals as input signals at the time of color contrast extraction and luminance signal generation. Processing similar to that of the embodiment is performed, and a value adjusted to a gray scale size of 255 or less is output, so that a luminance signal that can easily obtain a motion vector can be obtained.

次に、地面色キャンセル部31に入力されたビデオ信号R,G,Bに、地面色Rg,Gg,Bgが含まれた場合における地面色キャンセルについて、より具体的な一例について図5とともに説明する。   Next, a more specific example of ground color cancellation when the ground color Rg, Gg, Bg is included in the video signals R, G, B input to the ground color cancellation unit 31 will be described with reference to FIG. .

この地面色キャンセル例は、ビデオ信号R,G,B中の地面領域における地面色Rg,Gg,Bgの中の一番大きな成分Cg_maxとして抽出し、ここで抽出された地面領域の成分色の割合で、出力画素データRo,Bo,Goをそれぞれ次式のように算出したものである。   This ground color canceling example is extracted as the largest component Cg_max in the ground colors Rg, Gg, Bg in the ground area in the video signals R, G, B, and the ratio of the component colors of the ground area extracted here Thus, the output pixel data Ro, Bo, and Go are respectively calculated as follows.

Ro=Ri・Cg_max/Rg
Go=Gi・Cg_max/Gg
Bo=Bi・Cg_max/Bg
例えば、ワインカラー系R=102,G=51,B=51のバスレーンの場合、同じような成分を持つ物体が埋もれてしまい検出できないこととなる。しかし、地面色キャンセル部31では、物体のRGB成分を以下のように変更することで物体を検出することが可能となる。
Ro = Ri · Cg_max / Rg
Go = Gi · Cg_max / Gg
Bo = Bi · Cg_max / Bg
For example, in the case of a bus lane of wine color R = 102, G = 51, and B = 51, an object having the same component is buried and cannot be detected. However, the ground color canceling unit 31 can detect the object by changing the RGB component of the object as follows.

すなわち、物体の成分を、R=102,G=51,B=102とした場合、
Ro=102・102/102=102
Go=51・102/51=102
Bo=102・102/51=204
地面輝度(Yg)=102+51+51=204
物体輝度(Yo)=102+102+204=408
となる。
That is, when the component of the object is R = 102, G = 51, B = 102,
Ro = 102 · 102/102 = 102
Go = 51 · 102/51 = 102
Bo = 102 · 102/51 = 204
Ground luminance (Yg) = 102 + 51 + 51 = 204
Object luminance (Yo) = 102 + 102 + 204 = 408
It becomes.

このように物体輝度Yoが地面輝度Ygの2倍の値になることから、全体的にカラーコントラストの高い絵柄の中でも、違うカラーのカラーコントラストの高い物体との差異を強調物体の検出向上を図ることができる。   Since the object brightness Yo is twice the value of the ground brightness Yg as described above, it is possible to improve the detection of an object that emphasizes the difference between an object having a high color contrast and a color contrast having a high color contrast. be able to.

図6は、地面色キャンセルについて、より具体的な他の例について説明するための説明図である。   FIG. 6 is an explanatory diagram for explaining another more specific example of the ground color cancellation.

この地面色キャンセル例は、ビデオ信号R,G,B中の地面領域における地面色Rg,Gg,Bgの中の一番大きな成分Cg_maxとして抽出し、ここで抽出された地面流域の一番大きな成分Cg_maxの差で、出力画素データRo,Bo,Goをそれぞれ次式のように算出したものである。   This ground color cancellation example is extracted as the largest component Cg_max in the ground colors Rg, Gg, Bg in the ground region in the video signals R, G, B, and is the largest component of the ground basin extracted here. The output pixel data Ro, Bo, Go are calculated by the following formulas based on the difference of Cg_max.

Ro=Ri+Cg_max−Rg
Go=Gi+Cg_max−Gg
Bo=Bi+Cg_max−Bg
例えば、地面色キャンセル部31を介してビデオ信号R,G,Bが変換される前の地面と物体の輝度信号の値をそれぞれ、
地面輝度(Yg)=102+51+51=204
物体輝度(Yo)=102+51+102=255
とする。そして抽出された地面流域の一番大きな成分Cg_maxの差で出力画素データRo,Bo,Goを算出した場合は、
Ro=102+102−102=102
Go=51+102−51=102
Bo=102+102−51=153
地面輝度(Yg)=102+51+51=204
物体輝度(Yo)=102+102+153=357
となる。
Ro = Ri + Cg_max−Rg
Go = Gi + Cg_max−Gg
Bo = Bi + Cg_max−Bg
For example, the luminance signal values of the ground and the object before the video signals R, G, and B are converted through the ground color canceling unit 31 are respectively
Ground luminance (Yg) = 102 + 51 + 51 = 204
Object luminance (Yo) = 102 + 51 + 102 = 255
And When the output pixel data Ro, Bo, Go is calculated by the difference of the largest component Cg_max of the extracted ground basin,
Ro = 102 + 102−102 = 102
Go = 51 + 102−51 = 102
Bo = 102 + 102−51 = 153
Ground luminance (Yg) = 102 + 51 + 51 = 204
Object luminance (Yo) = 102 + 102 + 153 = 357
It becomes.

このように物体輝度Yoが地面輝度Ygに対し255から357に強調することができる。このため全体的にカラーコントラストの高い絵柄の中でも、違うカラーのカラーコントラストの高い物体との差異を強調物体の検出向上を図ることができる。   Thus, the object brightness Yo can be enhanced from 255 to 357 with respect to the ground brightness Yg. For this reason, it is possible to improve the detection of an emphasized object that is different from an object having a high color contrast in a different color, even in a picture having a high color contrast as a whole.

なお、上記各例では、地面領域における地面色Rg,Gg,Bgの中の一番大きな成分Cg_maxとして抽出するとしたが、地面色Rg,Gg,Bgの平均色に基づき、割合や差でビデオ信号を算出しても、物体輝度の強調を図ることができる。   In each of the above examples, the largest component Cg_max in the ground colors Rg, Gg, and Bg in the ground region is extracted. However, based on the average color of the ground colors Rg, Gg, and Bg, the video signal is expressed in proportion or difference. Even if it is calculated, it is possible to enhance the object brightness.

この実施形態では、第1の実施形態と同効果を奏することに加え、カラーの地面においても同じカラーを持つ物体を検出することができる。また、カラーの地面においても、地面と異なる物体を検出することができる。   In this embodiment, in addition to the same effects as those of the first embodiment, an object having the same color can be detected on the colored ground. Further, even on a colored ground, an object different from the ground can be detected.

いくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、組み合わせ、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments have been described, these embodiments have been presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, combinations, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

11 カラーコントラスト抽出部
12 カラーコントラスト比向上部
13 加算部
14 輝度信号生成部
15 グレースケールサイズ以下調整部
31 地面色キャンセル部
DESCRIPTION OF SYMBOLS 11 Color contrast extraction part 12 Color contrast ratio improvement part 13 Addition part 14 Luminance signal generation part 15 Gray scale size or less adjustment part 31 Ground color cancellation part

Claims (7)

入力されたビデオ信号中の一画素の最大値から最小値の色成分差を、カラーコントラストとして抽出するカラーコントラスト抽出部と、
前記カラーコントラスト抽出部で抽出されたコントラストを定数分向上させるコントラスト比向上部と、
前記ビデオ信号の輝度信号成分を生成する輝度信号生成部と、
前記コントラスト比向上部から出力した向上されたコントラストと前記輝度信号生成部で生成された輝度信号を加算する加算部と、
前記加算部から出力される加算値がグレースケールのデータサイズ以下となるように調整した出力するグレースケールサイズ以下調整部と、を備える画像処理装置。
A color contrast extraction unit that extracts a color component difference between the maximum value and the minimum value of one pixel in the input video signal as a color contrast;
A contrast ratio improvement unit for improving the contrast extracted by the color contrast extraction unit by a constant amount;
A luminance signal generator for generating a luminance signal component of the video signal;
An adding unit that adds the improved contrast output from the contrast ratio improving unit and the luminance signal generated by the luminance signal generating unit;
An image processing apparatus comprising: a grayscale size or less adjustment unit that outputs an adjustment value adjusted so that an addition value output from the addition unit is equal to or less than a grayscale data size.
前記カラーコントラスト抽出部の前段に、前記ビデオ信号中のカラーコントラストの高い絵柄のカラーの地面から物体を浮き上がらせる地面色キャンセル部を配置した、請求項1の画像処理装置。   2. The image processing apparatus according to claim 1, wherein a ground color canceling unit that raises an object from a ground having a color with a high color contrast in the video signal is arranged in a preceding stage of the color contrast extracting unit. 前記地面色キャンセル部は、前記ビデオ信号中の地面領域における平均色または一番多い色の成分色を抽出し、該成分色の割合でビデオ信号を算出した、請求項2の画像処理装置。   The image processing apparatus according to claim 2, wherein the ground color canceling unit extracts an average color or a most frequent component color in the ground area in the video signal, and calculates a video signal at a ratio of the component color. 前記地面色キャンセル部は、前記ビデオ信号中の地面領域における平均色または一番多い色の成分色を抽出し、該成分色を前記ビデオ信号との差を算出した、請求項2の画像処理装置。   The image processing apparatus according to claim 2, wherein the ground color cancellation unit extracts a component color of an average color or a largest number of colors in the ground region in the video signal, and calculates a difference between the component color and the video signal. . グレースケールサイズ以下調整部は、グレースケールサイズでリミットしたサイズに調整した、請求項1〜4のいずれかに記載の画像処理装置。   The image processing apparatus according to any one of claims 1 to 4, wherein the grayscale size or smaller adjustment unit is adjusted to a size limited by the grayscale size. グレースケールサイズ以下調整部は、ある値で割ってからグレースケールサイズでリミットしたサイズに調整した、請求項1〜4のいずれかに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the grayscale size or smaller adjustment unit adjusts to a size limited by the grayscale size after dividing by a certain value. グレースケールサイズ以下調整部は、グレースケールサイズを超えない値で割ったサイズに調整した、請求項1〜4のいずれかに記載の画像処理装置。   The image processing apparatus according to any one of claims 1 to 4, wherein the grayscale size or smaller adjustment unit adjusts the size divided by a value not exceeding the grayscale size.
JP2011197068A 2011-09-09 2011-09-09 Image processing device Active JP5887088B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011197068A JP5887088B2 (en) 2011-09-09 2011-09-09 Image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011197068A JP5887088B2 (en) 2011-09-09 2011-09-09 Image processing device

Publications (2)

Publication Number Publication Date
JP2013058969A true JP2013058969A (en) 2013-03-28
JP5887088B2 JP5887088B2 (en) 2016-03-16

Family

ID=48134439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011197068A Active JP5887088B2 (en) 2011-09-09 2011-09-09 Image processing device

Country Status (1)

Country Link
JP (1) JP5887088B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019041620A1 (en) * 2017-08-30 2019-03-07 深圳光峰科技股份有限公司 Image processing apparatus, display apparatus, and image processing and display apparatus and method

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH057371A (en) * 1991-06-25 1993-01-14 Canon Inc Motion vector detector
JPH05219529A (en) * 1992-01-31 1993-08-27 Sony Corp Motion vector detection circuit
JPH05292489A (en) * 1992-04-10 1993-11-05 Nippon Telegr & Teleph Corp <Ntt> Motion vector estimating method
JPH104561A (en) * 1997-03-26 1998-01-06 Sanyo Electric Co Ltd Video signal processing unit
JPH1032822A (en) * 1996-07-16 1998-02-03 Oki Electric Ind Co Ltd Motion vector detector
JPH11205816A (en) * 1998-01-12 1999-07-30 Mitsubishi Electric Corp Moving vector detection device
JPH11312245A (en) * 1998-04-28 1999-11-09 Gazo System Kaihatsu:Kk Colored foreign material detector and its method
JP2005322991A (en) * 2004-05-06 2005-11-17 Nippon Hoso Kyokai <Nhk> Motion vector detecting apparatus and program
JP2006313436A (en) * 2005-05-06 2006-11-16 Advanced Telecommunication Research Institute International Image processing apparatus, method, and program thereof
JP2007003244A (en) * 2005-06-21 2007-01-11 Pasuko:Kk Method of determining house movement
JP2009038509A (en) * 2007-07-31 2009-02-19 Sony Corp Motion vector detecting device, and motion vector detecting method
JP2009118337A (en) * 2007-11-08 2009-05-28 Olympus Corp Video signal processing apparatus, and video signal processing program
JP2009253554A (en) * 2008-04-03 2009-10-29 Sony Corp Image processing unit, display control method, program, and recording medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH057371A (en) * 1991-06-25 1993-01-14 Canon Inc Motion vector detector
JPH05219529A (en) * 1992-01-31 1993-08-27 Sony Corp Motion vector detection circuit
JPH05292489A (en) * 1992-04-10 1993-11-05 Nippon Telegr & Teleph Corp <Ntt> Motion vector estimating method
JPH1032822A (en) * 1996-07-16 1998-02-03 Oki Electric Ind Co Ltd Motion vector detector
JPH104561A (en) * 1997-03-26 1998-01-06 Sanyo Electric Co Ltd Video signal processing unit
JPH11205816A (en) * 1998-01-12 1999-07-30 Mitsubishi Electric Corp Moving vector detection device
JPH11312245A (en) * 1998-04-28 1999-11-09 Gazo System Kaihatsu:Kk Colored foreign material detector and its method
JP2005322991A (en) * 2004-05-06 2005-11-17 Nippon Hoso Kyokai <Nhk> Motion vector detecting apparatus and program
JP2006313436A (en) * 2005-05-06 2006-11-16 Advanced Telecommunication Research Institute International Image processing apparatus, method, and program thereof
JP2007003244A (en) * 2005-06-21 2007-01-11 Pasuko:Kk Method of determining house movement
JP2009038509A (en) * 2007-07-31 2009-02-19 Sony Corp Motion vector detecting device, and motion vector detecting method
JP2009118337A (en) * 2007-11-08 2009-05-28 Olympus Corp Video signal processing apparatus, and video signal processing program
JP2009253554A (en) * 2008-04-03 2009-10-29 Sony Corp Image processing unit, display control method, program, and recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019041620A1 (en) * 2017-08-30 2019-03-07 深圳光峰科技股份有限公司 Image processing apparatus, display apparatus, and image processing and display apparatus and method
US11102460B2 (en) 2017-08-30 2021-08-24 Appotronics Corporation Limited Image processing apparatus, display apparatus, and image processing and display apparatus and method

Also Published As

Publication number Publication date
JP5887088B2 (en) 2016-03-16

Similar Documents

Publication Publication Date Title
KR102307501B1 (en) Optical compensation system and Optical compensation method thereof
US10096077B2 (en) Information embedding device, information embedding method, and recording medium storing program
US8737762B2 (en) Method for enhancing image edge
JP5669599B2 (en) Image processing apparatus and control method thereof
US20150146980A1 (en) Image processing apparatus, image processing method, and non-transitory storage medium
JP6365355B2 (en) Image generating apparatus and image generating method
US9761003B2 (en) Stereo image depth map generation device and method
US8538070B2 (en) Motion detecting method and apparatus thereof
US10319113B2 (en) Method for recovering highlights and saturated regions and extending dynamic range in a digital image
US9530223B2 (en) Image correction method and image correction device
JP5887088B2 (en) Image processing device
KR101279576B1 (en) Method for generating panorama image within digital image processing apparatus
JP4240117B2 (en) Color image correction apparatus, color image correction method, and program
JP5076002B1 (en) Image processing apparatus and image processing method
US10242648B2 (en) Display device and luminance correction system including the same
US20130148890A1 (en) Digital image processing apparatus and method
JP2009267671A (en) Image processing apparatus
US20130187908A1 (en) Image processing device and method thereof
JP2020156016A (en) Image processing system, image processing method, and program
CN105450909B (en) Information processing method and electronic equipment
JP5824937B2 (en) Motion vector deriving apparatus and method
KR101110373B1 (en) An image compensating method for a monitoring camera
JP2015179951A (en) Image processing apparatus, imaging apparatus, image processing method, program and storage medium
JP2014007658A (en) Motion vector derivation device, method and program
JP6035958B2 (en) Image processing apparatus, image display 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: 20140619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150512

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150708

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: 20160126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160215

R150 Certificate of patent or registration of utility model

Ref document number: 5887088

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250