JP3720511B2 - Camera adjustment image processing apparatus and camera adjustment method using the same - Google Patents
Camera adjustment image processing apparatus and camera adjustment method using the same Download PDFInfo
- Publication number
- JP3720511B2 JP3720511B2 JP03681697A JP3681697A JP3720511B2 JP 3720511 B2 JP3720511 B2 JP 3720511B2 JP 03681697 A JP03681697 A JP 03681697A JP 3681697 A JP3681697 A JP 3681697A JP 3720511 B2 JP3720511 B2 JP 3720511B2
- Authority
- JP
- Japan
- Prior art keywords
- adjustment
- camera
- image
- binary image
- output
- 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 - Lifetime
Links
- 238000000034 method Methods 0.000 title claims description 9
- 230000005484 gravity Effects 0.000 claims description 17
- 238000013500 data storage Methods 0.000 claims description 10
- 238000009434 installation Methods 0.000 claims description 4
- 238000003384 imaging method Methods 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 2
- 241000282341 Mustela putorius furo Species 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Images
Landscapes
- Structure And Mechanism Of Cameras (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
- Image Input (AREA)
- Image Analysis (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、CCDカメラで画像を取り込む画像処理装置であって、カメラの交換後や取付け位置がずれた後に、カメラの取付け位置および明るさを調整する際に有用なカメラ調整用画像処理装置およびそれを用いたカメラ調整方法に関するものである。
【0002】
【従来の技術】
CCDカメラ交換時やカメラの取付け位置がずれた場合、カメラの位置、向き等のカメラ位置調整方法の従来技術として、画像上に計測対象となる領域指定(ウインドウ処理)した設定条件を一斉に移動させる方法がある。
【0003】
この方法は、カメラ交換後、及びずれた場合、画像処理装置に予め登録した全ウインドウをずれた分、一斉に動かすこと(一斉移動機能)で、カメラの位置調整が可能である。
【0004】
【発明が解決しようとする課題】
上記従来技術の場合、カメラ交換後、またはずれた状態で、予め設定した全ウインドウを一斉に動かすため、ウインドウがCCDカメラの画像取り込み可能範囲からはみ出る場合がある。その場合、カメラの位置、及び向きの再調整が必要となる。また、明るさを調整するための要素がないためレンズの絞り調整ができない欠点があった。
【0005】
【課題を解決するための手段】
本発明のカメラ調整用画像処理装置は、交換可能なCCDカメラと、
前記CCDカメラの交換前や取付け位置がずれる前に所定の設置場所に設置した予め定められた調整用対象を撮像して得られた画像を2値化処理して作成された調整用2値画像と、前記2値化処理に用いられた2値化用しきい値と、前記調整用2値画像における前記調整用対象部分の面積、重心および平均濃度とが予め記憶されている調整用データ記憶手段と、
前記CCDカメラによって撮像された画像を前記調整用データ記憶手段に記憶されている2値化用しきい値を用いて2値化処理して2値画像を作成して出力する2値画像作成手段と、
前記2値画像作成手段から出力された2値画像と、前記調整用データ記憶手段に記憶されている調整用2値画像との差分画像を算出して出力する差分画像作成手段と、
前記2値画像作成手段から出力された2値画像における調整用対象部分の面積、重心および平均濃度を求めて出力するとともに、前記調整用データ記憶手段から面積、重心および平均濃度を読み出して出力する出力手段とを備えることを特徴とする。
また本発明のカメラ調整方法は、上記のカメラ調整用画像処理装置を用いるカメラ調整方法であって、
CCDカメラの交換後または取付け位置がずれた後に、予め定められた所定の設置場所に調整用対象を設置し、
前記調整用データ記憶手段に記憶されている調整用2値画像をモニタに表示させた後に、
前記差分画像作成手段から出力される差分画像を前記モニタに表示させ、この差分画像を見ながら前記CCDカメラの位置、向き、レンズの絞りを調整し、
さらに細かい調整を行う場合は、前記出力手段からの出力結果を前記モニタに表示させて、面積差が0になるまで前記CCDカメラの位置および向きを調整し、重心差が0になるまで前記CCDカメラの位置および向きを調整し、平均濃度差が0になるまで前記CCDカメラの絞りを調整することを特徴とする。
【0006】
【発明の実施の態様】
図1〜4を用いて本発明の一実施例を説明する。
【0007】
図1は、画像処理装置1のブロック図で、CCDカメラ2はCCD面上に結像した像を電気信号に変換する電荷結合素子を備えている。A/D変換器3はCCDカメラ2からの映像信号をデジタル信号に変換する変換器、カメラ・表示コントローラ4はCCDカメラ2から取り込んだ画像データをフレームメモリ6やモニタ11に出力するタイミングを制御するLSIである。D/A変換器5はカメラ・表示コントローラ4からの画像データをアナログ信号に変換し、モニタ11に出力する変換器である。フレームメモリ6はCCDカメラ2から取り込んだ映像信号をA/D変換器3でデジタル変換した画像データを記憶するメモリである。CPU7は画像処理の演算、画像処理演算用条件登録、及び装置1全体をコントロールし、ROM9はCPU7の実行用プログラムを格納している。RAM8はCPU7で設定した画像処理演算用の条件を記憶、及び画像処理の演算結果を記憶するものである。
【0008】
図2は、カメラの交換前、またはカメラの取付け位置がずれる前の調整用データの登録動作を説明するフローチャートである。
【0009】
まず、CCDカメラ2から取り込んだ画像データからカメラ調整用の雛型となる図形を設定し、設定した調整用図形に対応する画像データをフレームメモリ6に登録し、フレームメモリ6の画像データから調整に必要な部分のウインドウと最適な2値化画像となるしきい値をRAM8に登録する(ステップS1)。CPU7は、計測対象の位置、大きさ、及び2値化用しきい値を用いて2値化処理した調整用2値画像をRAM8に登録し(ステップS2)、細部調整データとして大きさ調整用に面積(ウインドウ範囲内の白画素数の和)、及び位置調整用データとして重心、またレンズの絞り(明るさ)調整用データとして平均濃度を各々RAM8に登録する(ステップS3、S4)。
【0010】
図3は、カメラの交換後、またはカメラの取付け位置がずれた後の調整動作を説明するフローチャートである。
【0011】
まず、カメラ調整用の雛型となる図形を設置し、予め調整前に登録した2値画像をRAM8から読み出し、モニタ11に表示する。次に、表示モードを2値画像差分モードに切換えると、CPU7は、現在のカメラ状態でCCDカメラ2が取り込んだ画像を、CPU7が調整用データ登録時と同じ条件で2値化処理した画像と予め調整前に登録した2値画像の差分画像を算出する。差分画像は、フレームメモリ6に転送され、D/A変換器5によりアナログ信号に変換して撮像信号をモニタ11に写す。その出力表示例が図4(a),(b),(c)であり(図では画像表示の白を黒で表している)、(a)は完全一致、(b)は位置ずれがある場合、(c)は大きさに違いがある場合である。この図から明らかなように、位置、大きさ、明るさのずれがある場合、ずれに相当する部分が白く表示されるので、完全に真っ黒になるまでカメラの位置と向き、レンズの絞りを調整する(ステップS11、S12)。
【0012】
更に、細かい調整が必要な場合、現在のカメラ状態でCCDカメラ2が取り込んだ画像をCPU7が調整用データ登録時と同じ条件で2値化処理した2値特徴パラメータの面積・重心、及び平均濃度と、調整用データとして登録した面積、重心、平均濃度を各々リアルタイムで比較し、大きさの違いは面積差、位置ずれは重心差、明るさは平均濃度差が"0"になるまで調整する(面積;ステップS13、S14)、(重心;ステップS15、S16)、(明るさ;ステップS17、S18)。
【0013】
なお、図5(a),(b)は特徴パラメータを示すものであり(図では画像表示の白を黒で表している)、(a)は面積、(b)は重心を説明している。
【0014】
このように、まず、カメラの交換前や取付け位置がずれる前に予め登録した調整用対象の2値画像と、カメラの交換後や取付け位置がずれた後の調整用対象の2値画像との差分画像から大きさ、ずれ、明るさの違い部分が白画像で表示され、完全に一致すれば真っ黒な画面となるため大体の調整ができる。更に細かい調整については、カメラの交換前や取付け位置がずれる前に予め登録した調整用対象の2値画像特徴パラメータの面積と重心、及び平均濃度と、カメラの交換後や取付け位置がずれた後の調整用対象の2値画像特徴パラメータの面積と重心、及び平均濃度を比較することで、面積の違いから大きさ、重心の違いから位置ずれ、平均濃度から明るさ調整が可能である。以上、計測条件として設定したウインドウの位置を変更することなく、カメラの位置調整、及びレンズの絞り調整が容易となる。
【0015】
以上のように本発明によれば、2値画像間の差分画像の表示を見ながら調整できるため、明るさ、位置、大きさの違いが一目で判別でき、大まかな調整が可能である。更に、細かい調整については、2値特徴パラメータ(面積、重心、フェレ径)の数値表示を見ながら可能である。従って、カメラ故障時における交換や何らかの外的要因でカメラの取付け位置がずれた場合の位置合わせが容易であり、調整時間の短縮となる。
【図面の簡単な説明】
【図1】本発明の一実施例における画像処理装置のブロック構成図である。
【図2】本発明の一実施例の前半動作を説明するフローチャートである。
【図3】本発明の一実施例の後半動作を説明するフローチャートである。
【図4】本発明の一実施例による出力表示例を示す図である。
【図5】本発明の一実施例における特徴パラメータを説明する図である。
【符号の説明】
1 画像処理装置
2 CCDカメラ
3 A/D変換器
4 カメラ・表示コントローラ
5 D/A変換器
6 フレームメモリ
7 CPU
8 RAM
9 ROM
10 I/O
11 モニタ[0001]
BACKGROUND OF THE INVENTION
The present invention is an image processing apparatus that captures an image with a CCD camera, and is an image processing apparatus for camera adjustment that is useful when adjusting the mounting position and brightness of a camera after the camera is replaced or after the mounting position is shifted. The present invention relates to a camera adjustment method using the same.
[0002]
[Prior art]
When changing the CCD camera or when the camera mounting position is deviated, as a conventional technique for adjusting the camera position such as camera position and orientation, the setting conditions for specifying the area to be measured (window processing) on the image are moved all at once. There is a way to make it.
[0003]
In this method, the camera position can be adjusted by moving all windows registered in advance in the image processing apparatus by the amount of displacement (simultaneous movement function) after camera replacement and when the camera is displaced.
[0004]
[Problems to be solved by the invention]
In the case of the above-described prior art, all the preset windows are moved all at once after camera replacement or in a shifted state, so that the windows may protrude from the image capturing range of the CCD camera. In that case, it is necessary to readjust the position and orientation of the camera. In addition, since there is no element for adjusting the brightness, there is a disadvantage that the lens aperture cannot be adjusted.
[0005]
[Means for Solving the Problems]
An image processing apparatus for camera adjustment of the present invention includes a replaceable CCD camera,
A binary image for adjustment created by binarizing an image obtained by imaging a predetermined adjustment object installed at a predetermined installation location before the CCD camera is exchanged or before the mounting position is shifted. And an adjustment data storage in which the threshold value for binarization used for the binarization process and the area, the center of gravity, and the average density of the adjustment target portion in the binary image for adjustment are stored in advance. Means,
Binary image creating means for binarizing the image captured by the CCD camera using the threshold value for binarization stored in the adjustment data storage means to create and output a binary image When,
Difference image creation means for calculating and outputting a difference image between the binary image output from the binary image creation means and the adjustment binary image stored in the adjustment data storage means;
The area, the center of gravity, and the average density of the adjustment target portion in the binary image output from the binary image creation means are obtained and output, and the area, the center of gravity, and the average density are read from the adjustment data storage means and output. Output means.
The camera adjustment method of the present invention is a camera adjustment method using the above-described image processing apparatus for camera adjustment,
After replacing the CCD camera or after the mounting position has shifted, install the adjustment target at a predetermined installation location,
After displaying the adjustment binary image stored in the adjustment data storage means on the monitor,
The difference image output from the difference image creating means is displayed on the monitor, and the position, orientation, and lens aperture of the CCD camera are adjusted while viewing the difference image,
When performing further fine adjustment, the output result from the output means is displayed on the monitor, the position and orientation of the CCD camera are adjusted until the area difference becomes zero, and the CCD is changed until the center of gravity difference becomes zero. The position and orientation of the camera are adjusted, and the aperture of the CCD camera is adjusted until the average density difference becomes zero.
[0006]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described with reference to FIGS.
[0007]
FIG. 1 is a block diagram of an
[0008]
FIG. 2 is a flowchart for explaining the registration operation of the adjustment data before the camera replacement or before the camera mounting position is shifted.
[0009]
First, a figure to be a model for camera adjustment is set from the image data captured from the
[0010]
FIG. 3 is a flowchart for explaining the adjustment operation after replacement of the camera or after the mounting position of the camera is deviated.
[0011]
First, a figure serving as a model for camera adjustment is installed, and a binary image registered in advance before adjustment is read from the
[0012]
Further, when fine adjustment is required, the area / center of gravity of the binary feature parameter obtained by binarizing the image captured by the
[0013]
5A and 5B show characteristic parameters (in the figure, white in the image display is represented by black), (a) explains the area, and (b) explains the center of gravity. .
[0014]
As described above, first, the binary image of the adjustment target registered in advance before the camera replacement or before the mounting position shifts, and the binary image of the adjustment target after the camera replacement or after the mounting position is shifted. Differences in size, deviation, and brightness are displayed as white images from the difference image, and if they match completely, a black screen is obtained, so that rough adjustment is possible. For finer adjustments, the area, the center of gravity, and the average density of the binary image feature parameters to be adjusted that have been registered in advance before the camera replacement or before the mounting position is shifted, after the camera replacement or after the mounting position has shifted By comparing the area, the center of gravity, and the average density of the binary image feature parameters to be adjusted, the size can be adjusted from the difference in area, the position can be shifted from the difference in the center of gravity, and the brightness can be adjusted from the average density. As described above, it is easy to adjust the position of the camera and the lens aperture without changing the position of the window set as the measurement condition.
[0015]
As described above, according to the present invention, adjustment can be performed while viewing the display of the difference image between binary images, so that differences in brightness, position, and size can be determined at a glance, and rough adjustment is possible. Further, fine adjustment is possible while viewing the numerical display of the binary feature parameters (area, center of gravity, ferret diameter). Therefore, replacement when the camera is broken or alignment when the mounting position of the camera is shifted due to some external factor is easy, and the adjustment time is shortened.
[Brief description of the drawings]
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention.
FIG. 2 is a flowchart for explaining the first half operation of the embodiment of the present invention.
FIG. 3 is a flowchart illustrating the latter half operation of the embodiment of the present invention.
FIG. 4 is a diagram showing an output display example according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating feature parameters in an embodiment of the present invention.
[Explanation of symbols]
1
8 RAM
9 ROM
10 I / O
11 Monitor
Claims (2)
前記CCDカメラの交換前や取付け位置がずれる前に所定の設置場所に設置した予め定められた調整用対象を撮像して得られた画像を2値化処理して作成された調整用2値画像と、前記2値化処理に用いられた2値化用しきい値と、前記調整用2値画像における前記調整用対象部分の面積、重心および平均濃度とが予め記憶されている調整用データ記憶手段と、
前記CCDカメラによって撮像された画像を前記調整用データ記憶手段に記憶されている2値化用しきい値を用いて2値化処理して2値画像を作成して出力する2値画像作成手段と、
前記2値画像作成手段から出力された2値画像と、前記調整用データ記憶手段に記憶されている調整用2値画像との差分画像を算出して出力する差分画像作成手段と、
前記2値画像作成手段から出力された2値画像における調整用対象部分の面積、重心および平均濃度を求めて出力するとともに、前記調整用データ記憶手段から面積、重心および平均濃度を読み出して出力する出力手段とを備えることを特徴とするカメラ調整用画像処理装置。An interchangeable CCD camera,
A binary image for adjustment created by binarizing an image obtained by imaging a predetermined adjustment object installed at a predetermined installation location before the CCD camera is exchanged or before the mounting position is shifted. And an adjustment data storage in which the threshold value for binarization used for the binarization process and the area, the center of gravity, and the average density of the adjustment target portion in the binary image for adjustment are stored in advance. Means,
Binary image creating means for binarizing the image captured by the CCD camera using the threshold value for binarization stored in the adjustment data storage means to create and output a binary image When,
Difference image creation means for calculating and outputting a difference image between the binary image output from the binary image creation means and the adjustment binary image stored in the adjustment data storage means;
The area, the center of gravity, and the average density of the adjustment target portion in the binary image output from the binary image creation means are obtained and output, and the area, the center of gravity, and the average density are read from the adjustment data storage means and output. An image processing apparatus for camera adjustment, comprising: an output unit.
CCDカメラの交換後または取付け位置がずれた後に、予め定められた所定の設置場所に調整用対象を設置し、
前記調整用データ記憶手段に記憶されている調整用2値画像をモニタに表示させた後に、
前記差分画像作成手段から出力される差分画像を前記モニタに表示させ、この差分画像を見ながら前記CCDカメラの位置、向き、レンズの絞りを調整し、
さらに細かい調整を行う場合は、前記出力手段からの出力結果を前記モニタに表示させて、面積差が0になるまで前記CCDカメラの位置および向きを調整し、重心差が0になるまで前記CCDカメラの位置および向きを調整し、平均濃度差が0になるまで前記CCDカメラの絞りを調整することを特徴とするカメラ調整方法。A camera adjustment method using the camera adjustment image processing apparatus according to claim 1,
After replacing the CCD camera or after the mounting position has shifted, install the adjustment target at a predetermined installation location,
After displaying the adjustment binary image stored in the adjustment data storage means on the monitor,
The difference image output from the difference image creating means is displayed on the monitor, and the position, orientation, and lens aperture of the CCD camera are adjusted while viewing the difference image,
When performing further fine adjustment, the output result from the output means is displayed on the monitor, the position and orientation of the CCD camera are adjusted until the area difference becomes zero, and the CCD is changed until the center of gravity difference becomes zero. A camera adjustment method, wherein the position and orientation of the camera are adjusted, and the aperture of the CCD camera is adjusted until the average density difference becomes zero.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03681697A JP3720511B2 (en) | 1997-02-21 | 1997-02-21 | Camera adjustment image processing apparatus and camera adjustment method using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP03681697A JP3720511B2 (en) | 1997-02-21 | 1997-02-21 | Camera adjustment image processing apparatus and camera adjustment method using the same |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH10233944A JPH10233944A (en) | 1998-09-02 |
JP3720511B2 true JP3720511B2 (en) | 2005-11-30 |
Family
ID=12480294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP03681697A Expired - Lifetime JP3720511B2 (en) | 1997-02-21 | 1997-02-21 | Camera adjustment image processing apparatus and camera adjustment method using the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3720511B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5465620B2 (en) | 2010-06-25 | 2014-04-09 | Kddi株式会社 | Video output apparatus, program and method for determining additional information area to be superimposed on video content |
JP6004472B2 (en) * | 2012-09-28 | 2016-10-12 | Necプラットフォームズ株式会社 | Correction apparatus, correction method, and program |
-
1997
- 1997-02-21 JP JP03681697A patent/JP3720511B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH10233944A (en) | 1998-09-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4971956B2 (en) | Flicker correction apparatus, flicker correction method, and imaging apparatus | |
JP3820497B2 (en) | Imaging apparatus and correction processing method for automatic exposure control | |
JP2008252254A (en) | Stereoscopic photographing device and optical axis adjusting method | |
CN101924880B (en) | Image capturing device with automatic focus function | |
JP2010016798A (en) | Imaging apparatus, control method thereof, and program | |
JP2006025005A (en) | Photographing system | |
JP5183152B2 (en) | Image processing device | |
JP4489848B2 (en) | Method for correcting image steadyness error in television film scanning, method for changing the motion sequence of a predetermined image object in a television image, and apparatus for performing the method | |
JP2008180602A (en) | Inspection apparatus, testing method, inspection program, and computer readable medium | |
JP3720511B2 (en) | Camera adjustment image processing apparatus and camera adjustment method using the same | |
US11575841B2 (en) | Information processing apparatus, imaging apparatus, method, and storage medium | |
JP3129069B2 (en) | Image recording / reproducing system and photographing device | |
JPH028893A (en) | How to automatically adjust picture tube image clarity | |
WO2019244667A1 (en) | Information processing device, information processing method, and program | |
JP2667885B2 (en) | Automatic tracking device for moving objects | |
JP2002271825A (en) | Color matching method, color matching system, and television camera used for them | |
JPH1175103A (en) | Television camera | |
JP6759018B2 (en) | Imaging device and exposure control method | |
JP2568161B2 (en) | Automatic exposure control device | |
JP2001141417A (en) | Parallax amount correction device | |
JP2005024618A (en) | Projector having tilt angle measuring instrument | |
JP2000032331A (en) | Automatic exposure control device | |
JPH06105209B2 (en) | Headlight optical axis adjustment method and apparatus | |
JP2010245582A (en) | Electronic camera | |
JP3166462B2 (en) | Image recording / reproducing system and image reproducing apparatus having blur correction function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050908 |
|
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: 20080916 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090916 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100916 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100916 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110916 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120916 Year of fee payment: 7 |