JPH10233944A - Camera position adjusting image processor - Google Patents

Camera position adjusting image processor

Info

Publication number
JPH10233944A
JPH10233944A JP9036816A JP3681697A JPH10233944A JP H10233944 A JPH10233944 A JP H10233944A JP 9036816 A JP9036816 A JP 9036816A JP 3681697 A JP3681697 A JP 3681697A JP H10233944 A JPH10233944 A JP H10233944A
Authority
JP
Japan
Prior art keywords
camera
image
adjustment
binary
brightness
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
JP9036816A
Other languages
Japanese (ja)
Other versions
JP3720511B2 (en
Inventor
Munetoshi Imada
宗利 今田
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.)
Sharp Corp
Sharp Manufacturing Systems Corp
Original Assignee
Sharp Corp
Sharp Manufacturing Systems Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp, Sharp Manufacturing Systems Corp filed Critical Sharp Corp
Priority to JP03681697A priority Critical patent/JP3720511B2/en
Publication of JPH10233944A publication Critical patent/JPH10233944A/en
Application granted granted Critical
Publication of JP3720511B2 publication Critical patent/JP3720511B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Structure And Mechanism Of Cameras (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Image Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To discriminate the difference of brightness, position and size with a glance, to roughly adjust it and to shorten an adjusting time by adjusting a camera, watching the display of differential image between binary images. SOLUTION: First, a graphic that becomes a model for a camera adjustment is arranged, and a binary image that is preliminarily registered before adjustment is read from RAM 8 and shown on a monitor 11. Next, when a display mode is switched to a binary image differential mode, a CPU 7 calculates an image that is taken in by a CCD camera 2 in a present camera state, an image that is undergone binarization processing by the CPU 7 in a condition that is the same with when adjusting data is registered and the differential image of a binary image that is preliminarily registered before adjustment. The differential image is transferred to frame memory 6, and converted into an analog signal by a D/A converter 5, and an image pickup signal is shown on the monitor 11. When there is deviation of a position, size and brightness, because the part corresponding to the deviation is shown in white, the position and direction of a camera 2 and the diaphragm of a lens are adjusted until the part becomes completely black.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、CCDカメラで画
像を取り込む画像処理装置であって、カメラ交換後やず
れ後のカメラ位置を調整に用いて有用な画像表示装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device for capturing an image with a CCD camera, and more particularly to an image display device useful for adjusting a camera position after camera replacement or after displacement.

【0002】[0002]

【従来の技術】CCDカメラ交換時やカメラの取り付け
がずれた場合、カメラの位置、向き等のカメラ位置調整
方法の従来技術として、画像上に計測対象となる領域指
定(ウインドウ処理)した設定条件を一斉に移動させる方
法がある。
2. Description of the Related Art When a CCD camera is replaced or a camera is displaced, setting conditions for specifying an area to be measured on an image (window processing) as a conventional technique of adjusting a camera position such as a position and an orientation of the camera. There is a method to move all at once.

【0003】この方法は、カメラ交換後、及びずれた場
合、画像処理装置に予め登録した全ウインドウをずれた
分、一斉に動かすこと(一斉移動機能)で、カメラの位
置調整が可能である。
In this method, after the camera is replaced and when the camera is shifted, the position of the camera can be adjusted by moving all the windows registered in advance in the image processing apparatus simultaneously by the shifted amount (simultaneous movement function).

【0004】[0004]

【発明が解決しようとする課題】上記従来技術の場合、
カメラ交換後、またはずれた状態で、予め設定した全ウ
インドウを一斉に動かすため、ウインドウがCCDカメ
ラの画像取り込み可能範囲からはみ出る場合がある。そ
の場合、カメラの位置、及び向きの再調整が必要とな
る。また、明るさを調整するための要素がないためレン
ズの絞り調整ができない欠点があった。
In the case of the above prior art,
After the camera is exchanged or in a state of being shifted, all the windows set in advance are moved at the same time, 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. Further, there is a disadvantage that the aperture of the lens cannot be adjusted because there is no element for adjusting the brightness.

【0005】[0005]

【課題を解決するための手段】本発明のカメラ位置調整
用画像処理装置は、カメラ交換前やずれる前に予め登録
した調整用対象とカメラ交換後やずれた後の調整用対象
それぞれの、2値画像、2値画像の特徴パラメータであ
る面積・重心、及び平均濃度を各々比較する手段、該比
較により検出された対象の大きさ、位置、明るさの違い
を出力表示する手段とを有することを特徴とする。
SUMMARY OF THE INVENTION An image processing apparatus for camera position adjustment according to the present invention comprises an image processing apparatus for adjusting the position of an adjustment object registered before the camera is replaced or before the camera is displaced, and an adjustment object after the camera is replaced or shifted. Means for comparing the value image, the area / centroid, and the average density, which are characteristic parameters of the binary image, and means for outputting and displaying the difference in size, position, and brightness of the object detected by the comparison. It is characterized by.

【0006】[0006]

【発明の実施の態様】図1〜4を用いて本発明の一実施
例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to FIGS.

【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で設定し
た画像処理演算用の条件を記憶、及び画像処理の演算結
果を記憶するものである。
FIG. 1 is a block diagram of an image processing apparatus 1.
The CCD camera 2 includes a charge-coupled device that converts an image formed on the CCD surface into an electric signal. The A / D converter 3 converts a video signal from the CCD camera 2 into a digital signal, and the camera / display controller 4 controls the timing of outputting image data captured from the CCD camera 2 to the frame memory 6 and the monitor 11. LSI.
The D / A converter 5 is a converter that converts image data from the camera / display controller 4 into an analog signal and outputs the analog signal to the monitor 11. The frame memory 6 is a CCD camera 2
This is a memory for storing image data obtained by digitally converting the video signal captured from the A / D converter 3. The CPU 7 calculates image processing, registers image processing calculation conditions,
The whole is controlled, and the ROM 9 stores an execution program of the CPU 7. The RAM 8 stores the conditions for image processing calculations set by the CPU 7 and stores the results of image processing calculations.

【0008】図2は、カメラ交換前、またはカメラずれ
る前の調整用データの登録動作を説明するフローチャー
トである。
FIG. 2 is a flowchart for explaining the registration operation of the adjustment data before the camera is replaced or the camera is shifted.

【0009】まず、CCDカメラ2から取り込んだ画像
データからカメラ調整用の雛型となる図形を設定し、設
定した調整用図形に対応する画像データをフレームメモ
リ6に登録し、フレームメモリ6の画像データから調整
に必要な部分のウインドウと最適な2値化画像となるし
きい値をRAM8に登録する(ステップ1)。CPU7
は計測対象の位置、大きさ、及び2値化用しきい値のか
ら出力した調整用2値画像をRAM8に登録し(ステッ
プ2)、細部調整データとして大きさ調整用に面積(ウ
インドウ範囲内の白画素数の和)、及び位置調整用デー
タとして重心、またレンズの絞り(明るさ)調整用デー
タとして平均濃度を各々RAM8に登録する(ステップ
3、4)。
First, a figure serving as a template for camera adjustment is set from image data taken in from the CCD camera 2, image data corresponding to the set adjustment figure is registered in the frame memory 6, From the data, a window of a portion necessary for adjustment and a threshold value which is an optimum binarized image are registered in the RAM 8 (step 1). CPU7
Registers the binary image for adjustment output from the position, size, and threshold value for binarization in the RAM 8 (step 2), and sets the area (in the window range) for size adjustment as detailed adjustment data. Are registered in the RAM 8 as the position adjustment data and the average density as the lens aperture (brightness) adjustment data (steps 3 and 4).

【0010】図3は、カメラ交換後、カメラ取付けずれ
後の調整動作を説明するフローチャートである。
FIG. 3 is a flowchart for explaining the adjusting operation after the camera is replaced and after the camera is displaced.

【0011】まず、カメラ調整用の雛型となる図形を設
置し、予め調整前に登録した2値画像をRAM8から読
み出し、モニタ11に表示する。次に、表示モードを2
値画像差分モードに切換えると、CPU7は、現在のカ
メラ状態でCCDカメラ2が取り込んだ画像を、CPU
7が調整用データ登録時と同じ条件で2値化処理した画
像と予め調整前に登録した2値画像の差分画像を算出す
る。差分画像は、フレームメモリ6に転送され、D/A
変換器5によりアナログ信号に変換して撮像信号をモニ
タ11に写す。その出力表示例が図4(a),(b),
(c)であり(図では画像表示の白を黒で表してい
る)、(a)は完全一致、(b)は位置ずれがある場
合、(c)は大きさに違いがある場合である。この図か
ら明らかなように、位置、大きさ、明るさのずれがある
場合、ずれに相当する部分が白く表示されるので、完全
に真っ黒になるまでカメラの位置と向き、レンズの絞り
を調整する(ステップ11、12)。
First, a figure serving as a model for camera adjustment is set, and a binary image registered before adjustment is read from the RAM 8 and displayed on the monitor 11. Next, set the display mode to 2
When the mode is switched to the value image difference mode, the CPU 7 reads the image captured by the CCD camera 2 in the current camera state.
Reference numeral 7 calculates a difference image between the image subjected to the binarization processing under the same conditions as the registration of the adjustment data and the binary image registered before the adjustment. The difference image is transferred to the frame memory 6, and the D / A
The image signal is converted to an analog signal by the converter 5 and is captured on the monitor 11. Examples of the output display are shown in FIGS.
(C) (white in the image display is represented by black in the figure), (a) is a perfect match, (b) is a position shift, and (c) is a size difference. . As is clear from this figure, if there is a deviation in position, size, or brightness, the part corresponding to the deviation is displayed in white, so adjust the position and orientation of the camera and the lens aperture until it is completely black. (Steps 11 and 12).

【0012】更に、細かい調整が必要な場合、現在のカ
メラ状態でCCDカメラ2が取り込んだ画像をCPU7
が調整用データ登録時と同じ条件で2値化処理した2値
特徴パラメータの面積・重心、及び平均濃度と、調整用
データとして登録した面積、重心、平均濃度を各々リア
ルタイムで比較し、大きさの違いは面積差、位置ずれは
重心差、明るさは平均濃度差が"0"になるまで調整する
(面積;ステップ13、14)、(重心;ステップ1
5、16)、(明るさ;ステップ17、18)。
Further, when fine adjustment is required, an image captured by the CCD camera 2 in the current camera state is stored in the CPU 7.
Compares the area, the center of gravity, and the average density of the binary feature parameter binarized under the same conditions as the registration of the adjustment data with the area, the center of gravity, and the average density registered as the adjustment data in real time. Is adjusted until the average density difference becomes "0"(area; steps 13, 14), (center of gravity; step 1)
5, 16), (brightness; steps 17, 18).

【0013】なお、図5(a),(b)は特徴パラメー
タを示すものであり(図では画像表示の白を黒で表して
いる)、(a)は面積、(b)は重心を説明している。
5 (a) and 5 (b) show characteristic parameters (white in the image display is represented by black in the figure), (a) explains the area, and (b) explains the center of gravity. doing.

【0014】このように、まず、カメラ交換前やずれる
前に予め登録した調整用対象の2値画像と、カメラ交換
後やずれた後の調整用対象の2値画像との差分画像から
大きさ、ずれ、明るさの違い部分が白画像で表示され、
完全に一致すれば真っ黒な画面とるなるため大体の調整
ができる。更に細かい調整については、カメラ交換前や
ずれる前に予め登録した調整用対象の2値画像特徴パラ
メータの面積と重心、及び平均濃度と、カメラ交換後や
ずれた後の調整用対象の2値画像特徴パラメータの面積
と重心、及び平均濃度を比較することで、面積の違いか
ら大きさ、重心の違いから位置ずれ、平均濃度から明る
さ調整が可能である。以上、計測条件として設定したウ
インドウの位置を変更することなく、カメラの位置調
整、及びレンズの絞り調整が容易となる。
As described above, first, the size of the difference image between the binary image of the adjustment object registered before the camera exchange or before the camera is shifted and the binary image of the adjustment object after the camera exchange or the camera is shifted is calculated from the difference image. , Shifts and differences in brightness are displayed as white images,
If they match exactly, the screen will be black and you can adjust it roughly. For further fine adjustment, the area and the center of gravity of the binary image feature parameters to be registered before the camera replacement or before the shift, and the average density, and the binary image of the adjustment target after the camera replacement or after the displacement. By comparing the area of the feature parameter with the center of gravity and the average density, it is possible to adjust the size based on the difference in area, the displacement from the difference in center of gravity, and the brightness from the average density. As described above, the adjustment of the camera position and the adjustment of the aperture of the lens are facilitated without changing the position of the window set as the measurement condition.

【0015】[0015]

【発明の効果】以上のように本発明よれば、2値画像間
の差分画像の表示を見ながら調整できるため、明るさ、
位置、大きさの違いが一目で判別でき、大まかな調整が
可能である。更に、細かい調整については、2値特徴パ
ラメータ(面積、重心、フェレ径)の数値表示を見なが
ら可能である。従って、カメラ故障時における交換や何
らかの外的要因でカメラがずれた場合の位置合わせが容
易であり、調整時間の短縮となり、生産稼動への影響も
少ない。
As described above, according to the present invention, since the adjustment can be performed while viewing the display of the difference image between the binary images, the brightness,
Differences in position and size can be determined at a glance, and rough adjustment is possible. Further, fine adjustments can be made while viewing the numerical display of the binary feature parameters (area, center of gravity, Feret diameter). Therefore, it is easy to replace the camera when the camera is out of order or to adjust the position when the camera is displaced due to some external factor, thereby shortening the adjustment time and little affecting the production operation.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例における画像処理装置のブロ
ック構成図である。
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention.

【図2】本発明の一実施例の前半動作を説明するフロー
チャートである。
FIG. 2 is a flowchart illustrating the first half operation of the embodiment of the present invention.

【図3】本発明の一実施例の後半動作を説明するフロー
チャートである。
FIG. 3 is a flowchart illustrating a second half operation of the embodiment of the present invention.

【図4】本発明の一実施例による出力表示例を示す図で
ある。
FIG. 4 is a diagram showing an output display example according to an embodiment of the present invention.

【図5】本発明の一実施例における特徴パラメータを説
明する図である。
FIG. 5 is a diagram illustrating characteristic parameters according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 画像処理装置 2 CCDカメラ 3 A/D変換器 4 カメラ・表示コントローラ 5 D/A変換器 6 フレームメモリ 7 CPU 8 RAM 9 ROM 10 I/O 11 モニタ DESCRIPTION OF SYMBOLS 1 Image processing apparatus 2 CCD camera 3 A / D converter 4 Camera / display controller 5 D / A converter 6 Frame memory 7 CPU 8 RAM 9 ROM 10 I / O 11 Monitor

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 5/232 G06F 15/70 460Z ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 5/232 G06F 15/70 460Z

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 カメラ交換前やずれる前に予め登録した
調整用対象とカメラ交換後やずれた後の調整用対象それ
ぞれの、2値画像、2値画像の特徴パラメータである面
積・重心、及び平均濃度を各々比較する手段、該比較に
より検出された対象の大きさ、位置、明るさの違いを出
力表示する手段とを有することを特徴とするカメラ位置
調整用画像処理装置。
1. An area / centroid, which is a feature parameter of a binary image and a binary image, of an adjustment target registered before a camera is replaced or shifted, and an adjustment target after a camera is replaced or shifted. An image processing apparatus for camera position adjustment, comprising: means for comparing average densities; and means for outputting and displaying differences in size, position, and brightness of an object detected by the comparison.
JP03681697A 1997-02-21 1997-02-21 Camera adjustment image processing apparatus and camera adjustment method using the same Expired - Lifetime JP3720511B2 (en)

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 true JPH10233944A (en) 1998-09-02
JP3720511B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014071921A (en) * 2012-09-28 2014-04-21 Nec Embedded Products Ltd Correction device, correction method and program
US8849063B2 (en) 2010-06-25 2014-09-30 Kddi Corporation Apparatus and method for optimizing on-screen location of additional content overlay on video content

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8849063B2 (en) 2010-06-25 2014-09-30 Kddi Corporation Apparatus and method for optimizing on-screen location of additional content overlay on video content
JP2014071921A (en) * 2012-09-28 2014-04-21 Nec Embedded Products Ltd Correction device, correction method and program

Also Published As

Publication number Publication date
JP3720511B2 (en) 2005-11-30

Similar Documents

Publication Publication Date Title
US7873221B2 (en) Image processing apparatus, image processing method, program for image processing method, and recording medium which records program for image processing method
JP2000217033A (en) Image pickup unit and correction processing method for automatic exposure control
CN102006485B (en) Image processing apparatus and image processing method
JP3590533B2 (en) Endoscope device
KR101630281B1 (en) Image processing apparatus
JP2007165947A (en) Imaging device, backlight correcting device for object image, target image detecting device, and control method of these
JPH10233944A (en) Camera position adjusting image processor
US11575841B2 (en) Information processing apparatus, imaging apparatus, method, and storage medium
JP2006127489A (en) Imaging device, image-processing device, method for controlling imaging device, and program for making computer execute the same
JPH0745504A (en) Focusing position detecting method
JPH0984056A (en) Image processing method and its device
JP2006209277A (en) Object detecting device, object detecting method and imaging device
WO2019244667A1 (en) Information processing device, information processing method, and program
JP2002271825A (en) Color matching method, color matching system, and television camera used for them
JPH11201740A (en) Image processing method and its device
JPH063577A (en) Focusing device and its method
JP2003322902A (en) Imaging unit and method for displaying luminance distribution chart
JP2005004287A (en) Face image detecting device and its control method
JP2568161B2 (en) Automatic exposure control device
JP4580307B2 (en) Detected image region determining device, target image feature value calculating device, control method therefor, and control program therefor
JPH0399211A (en) Recognition of body
JPH08202868A (en) Picture processor
JPH057327A (en) Motion vector detecting device
JP5965653B2 (en) TRACKING DEVICE AND TRACKING METHOD
JP2000032331A (en) Automatic exposure control device

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