JPH11205654A - Image display device - Google Patents

Image display device

Info

Publication number
JPH11205654A
JPH11205654A JP10002785A JP278598A JPH11205654A JP H11205654 A JPH11205654 A JP H11205654A JP 10002785 A JP10002785 A JP 10002785A JP 278598 A JP278598 A JP 278598A JP H11205654 A JPH11205654 A JP H11205654A
Authority
JP
Japan
Prior art keywords
shape
image
tracking
gravity
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10002785A
Other languages
Japanese (ja)
Inventor
Osamu Imamura
修 今村
Yoshihiro Todaka
義弘 戸高
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP10002785A priority Critical patent/JPH11205654A/en
Publication of JPH11205654A publication Critical patent/JPH11205654A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Circuits (AREA)
  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To correct the position of a rotated image by detecting the rotation deviating amount of the shape of an image between images in series of images of an image pickup device or input device. SOLUTION: This display device displays the erect image of a rotated image by correcting a coordinate to a reference coordinate corresponding to the rotation deviating amount of a first rotation deviating amount detecting means 7c for detecting the rotation deviating amount of a shape provided by tracing due to a first tracing means 7b based on the reference shape of a first reference designating means 7a for setting features such as the coordinate of the shape on a picture to extract the shape from the specified color information of picked-up image, the position of the center of gravity and direction as references for tracing.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子スチルカメ
ラ、もしくは、ビデオカメラ等の撮影画像、もしくは、
一連の記録画像等の信号処理に係り、画面中の特定の被
写体像の向きの変化を検出して、表示画像の回転方向を
補正して正立像にする画像表示装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a photographed image of an electronic still camera or a video camera or the like.
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image display device that detects a change in the direction of a specific subject image on a screen and corrects the rotation direction of a display image to form an erect image, in connection with signal processing of a series of recorded images and the like.

【0002】[0002]

【従来の技術】従来の画像の表示方向を変更することが
可能な画像表示装置の一例として、特開平5−3536
4号公報において、操作者のキー操作により画像表示方
向の設定を行うことが示されている。
2. Description of the Related Art As an example of a conventional image display device capable of changing the display direction of an image, Japanese Patent Laid-Open Publication No. Hei 5-3536 is an example.
In Japanese Patent Application Laid-Open No. 4 (1999) -2000, setting of an image display direction by an operator's key operation is disclosed.

【0003】また、特開平7−168529号公報にお
いては、光学センサーを画像表示装置の周辺部に複数配
置して、前記表示装置に対する操作者の位置を検出し、
常に操作者から見た表示装置の表示が正立像となるよう
に画像表示方向の制御が行われている。
In Japanese Patent Application Laid-Open No. Hei 7-168529, a plurality of optical sensors are arranged around an image display device to detect the position of an operator with respect to the display device.
The image display direction is controlled so that the display of the display device as viewed from the operator is always an erect image.

【0004】[0004]

【発明が解決しようとする課題】しかし、上述のような
従来技術の画像表示装置は、操作者によるキー操作、光
学センサーへの移動等により表示を修正するべき方向を
検出し、その検出した方向に従って画像表示の方向を設
定するのであるが、その構成上、高速応答が困難な場合
がある。また、特開平8−319069において示して
いるように、携帯型情報通信機の表示装置に重力方向検
出のための重力センサを設け、その重力センサの出力
で、画像表示方向の制御を行う画像表示装置を本出願人
により提案されている。
However, the above-described prior art image display apparatus detects a direction in which the display should be corrected by a key operation by an operator, movement to an optical sensor, or the like, and detects the detected direction. , The direction of the image display is set according to the following formula. However, high-speed response may be difficult due to the configuration. Further, as disclosed in Japanese Patent Application Laid-Open No. H8-319069, a display device of a portable information communication device is provided with a gravity sensor for detecting the direction of gravity, and the output of the gravity sensor controls the image display direction. A device has been proposed by the applicant.

【0005】この重力センサの例としては、導電性液体
を容器の内容量よりも少なく、容器の中に封入し、その
導電性液体が重力の方向に移動して安定する性質を利用
して、容器内の周囲にあらかじめ複数個設けた相対する
電極と、その安定した所に位置する導電性液体との接
触,非接触による導通,非導通を検出して、回転角度を
検出する構成がある。このカメラの光軸を中心として回
転方向の補正を行うために、重力センサーを利用した表
示装置においては、画像の回転の角速度が約1回転/1
秒、すなわち周波数に対応させた場合、約1Hz以下で
あれば追従が可能であるが、センサーの構造上、それ以
上の高速では応答が困難となる欠点がある。
[0005] As an example of this gravity sensor, a conductive liquid is sealed in a container having a smaller volume than the container, and the conductive liquid is moved in the direction of gravity to be stable. There is a configuration in which the rotation angle is detected by detecting conduction / non-conduction due to contact / non-contact between a plurality of opposing electrodes provided in advance around the inside of the container and a conductive liquid located at a stable position thereof. In order to correct the rotation direction about the optical axis of the camera, in a display device using a gravity sensor, the angular speed of image rotation is about 1 rotation / 1 rotation.
In the case of the second, that is, the frequency, it is possible to follow up if the frequency is about 1 Hz or less, but there is a drawback that the response becomes difficult at a higher speed than that due to the structure of the sensor.

【0006】近年、ビデオカメラや電子スチルカメラな
どにおいては、カメラ部と表示部を分離し、それらを専
用ケーブルで接続した構成のカメラが発売されている。
[0006] In recent years, as a video camera, an electronic still camera, or the like, a camera having a configuration in which a camera unit and a display unit are separated and connected by a dedicated cable has been put on the market.

【0007】これらは、表示部を手元に置き、かつ、カ
メラ部を自由な位置に移動させて、撮影者は見やすい方
向から撮影することが可能となっている。
[0007] In these, it is possible to place the display unit at hand and move the camera unit to a free position so that the photographer can take a picture from a direction that is easy to see.

【0008】しかし、このような構成においては、カメ
ラ部は可動性がよく、レンズの光軸に対しても回転が自
在なために、撮影画像が回転し易い。そのため、カメラ
操作者は、画像の表示を見ながらカメラをできるだけ回
転しない様に撮影したり、回転しても元の正立の像の方
向に修正するような動作を行いつつ撮影する。しかし、
例えば、カメラ操作者と表示を観察する人が別の場合に
は、カメラ操作者は表示画像が見えないため、画像回転
の角度の制御が難しく、回転する角度の大きさやその速
度が不特定に変動し易い。
However, in such a configuration, since the camera section has good mobility and can rotate freely with respect to the optical axis of the lens, the captured image is easily rotated. For this reason, the camera operator shoots the image while rotating the camera as little as possible while watching the display of the image, or performs the operation while correcting the direction of the original erect image even if the camera is rotated. But,
For example, when the camera operator and the person observing the display are different, the camera operator cannot see the displayed image, so it is difficult to control the rotation angle of the image, and the size of the rotation angle and its speed are unspecified. Easy to fluctuate.

【0009】従って、前述した重力センサーで補正した
場合、カメラ操作によっては、容易にカメラの回転の速
度が上昇し、重力センサーにとっては補正不可能な高速
の領域が発生してしまう可能性がある。このため追従動
作が不良となり、画像の回転が生じ、見づらくなってし
まう。さらには、回転する像を注視して追尾した場合、
気分が悪くなるなどの事態に陥ることも考えられる。
Therefore, when the correction is performed by the above-described gravity sensor, the rotation speed of the camera is easily increased depending on the operation of the camera, and a high-speed area that cannot be corrected by the gravity sensor may be generated. . For this reason, the following operation becomes poor, and the image is rotated, making it difficult to see. Furthermore, if you follow a rotating image,
It is also conceivable to fall into a situation such as feeling sick.

【0010】本発明は、表示画面の観察者に対するこの
ような従来の欠点を解消し、画面上で、基準として指定
した特定色の正立した像の形状の方向を、回転を固定す
る方向の基準とし、この基準として指定した形状を抽出
しつつ追尾した形状における方向の回転ずれ量を検出し
て、その画面の座標を回転補正し、表示画面に対し連続
的に正立した像の表示を実現する構成を提供することを
目的とする。
The present invention solves such a conventional drawback for a viewer of a display screen, and changes the direction of the shape of an erect image of a specific color designated as a reference on the screen to the direction in which the rotation is fixed. As a reference, while detecting the shape specified as the reference, detecting the amount of rotational deviation in the direction of the tracked shape, correcting the screen coordinates for rotation, and displaying a continuously upright image on the display screen. It is intended to provide a configuration to be realized.

【0011】[0011]

【課題を解決するための手段】本発明は上記目的を達成
するために、撮影にあたり、表示画面に正立像が得られ
ように撮像装置の位置を設定する。次に表示画面の観察
者は観察と同時期、もしくは、それよりも前に正立像の
色を指定し、この指定された正立像の色に対応した輝度
を判別し、撮像画面上で対応した色と輝度の画素を抽出
することにより、観察者の指定した正立像の2値化形状
をリアルタイムに抽出する形状抽出手段を有する。さら
に、この抽出により得られた画面上の形状の座標、重心
の位置、方向等の特徴を、追尾するための基準として指
定し設定する基準指定手段と、この設定した基準の形状
を抽出しつつリアルタイムに追尾する追尾手段と、前記
設定した基準の形状と、それを追尾して得られた同一の
形状との重心から特定点、もしくは、特定直線部の方向
により前記基準の形状と追尾して得られた同一の形状と
の回転角度の差を計算して画像の回転ずれ量を検出する
回転ずれ量検出手段と、この検出した回転ずれ量により
前記基準の形状の方向に画素単位での画像の回転補正を
行う補正手段と、補正手段からの出力画像を記録、もし
くは、補正画像を表示して観察者に常時正立像表示を行
う手段とにより発明を構成する。
In order to achieve the above object, the present invention sets the position of the image pickup device so that an erect image can be obtained on a display screen when photographing. Next, the observer of the display screen specifies the color of the erect image at the same time as or before the observation, determines the luminance corresponding to the color of the specified erect image, and responds on the imaging screen. It has a shape extracting means for extracting a binary shape of an erect image specified by an observer in real time by extracting pixels of color and luminance. Furthermore, reference designating means for designating and setting features such as the coordinates of the shape on the screen, the position of the center of gravity, the direction, and the like as the reference for tracking, and extracting the set reference shape. Tracking means to track in real time, the set reference shape, a specific point from the center of gravity of the same shape obtained by tracking it, or, by tracking the reference shape by the direction of a specific straight line portion A rotational displacement detecting means for calculating a rotational displacement difference between the obtained shape and the same shape to detect a rotational displacement of the image, and an image in pixel units in the direction of the reference shape based on the detected rotational displacement. The invention comprises a correction unit for performing the rotation correction of the above, and a unit for recording an output image from the correction unit or displaying the corrected image and constantly displaying an erect image to an observer.

【0012】また、さらにパンニング等に広く対応する
ため、基準形状を追尾して得られた同一の形状が画面上
の特定領域へ移動した場合や、所定の移動量を検出した
場合に、カメラ移動方向に別の新たな基準となる形状を
抽出し、その抽出により得られた画面上の形状の座標、
重心の位置、方向等の特徴を基準として設定し、この新
たな基準を設定する動作を繰り返す基準の再指定手段
と、前記基準の形状や、さらに新たな基準の形状等を抽
出しつつ追尾する第2の追尾手段と、追尾して得られた
同一の形状と、設定された際の基準の形状とから、回転
ずれ量を検出する第2の回転ずれ量検出手段と、前記回
転ずれ量を基に画像の回転補正を行う第2の補正手段。
それを記録、もしくは、画像を表示して常時観察者に正
立像表示を行う手段とにより発明を構成する。
Further, in order to cope with panning and the like more widely, when the same shape obtained by tracking the reference shape moves to a specific area on the screen or when a predetermined amount of movement is detected, the camera is moved. Extract another new reference shape in the direction, the coordinates of the shape on the screen obtained by the extraction,
A reference re-designating means for setting the characteristics such as the position and direction of the center of gravity as a reference and repeating the operation of setting the new reference, and tracking while extracting the reference shape, a new reference shape, etc. A second tracking means, a second rotational displacement detecting means for detecting a rotational displacement from the same shape obtained by tracking, and a reference shape at the time of setting; A second correction unit for performing a rotation correction of the image based on the correction.
The invention is constituted by means for recording the image or displaying an image to constantly display an erect image to an observer.

【0013】また、本発明は撮影者が保持しているカメ
ラからの画像入力に限らず適用できる。そこで、目的と
する画像が、電子スチルカメラ,超音波スキャナ、及び
X線カメラ等から記録画像装置に記録された一連の出力
画像であっても、これらを入力してその後出力する入出
力手段を設け、これを介した画像も、上述と同様に処理
し、常時観察者に正立像の表示を行う構成にする。
Further, the present invention can be applied to not only image input from a camera held by a photographer. Therefore, even if the target image is a series of output images recorded on the recording image device from an electronic still camera, an ultrasonic scanner, an X-ray camera, or the like, an input / output means for inputting these and outputting thereafter is provided. And an image via this is processed in the same manner as described above, and an upright image is always displayed to the observer.

【0014】また、撮像装置の回転による画像の回転と
は別に、表示装置と観察者の位置が変わることも想定
し、それを補正する。そのため、表示装置の表示面が個
別に例えば90度回転した場合、その回転量を手動、も
しくは、自動で検出し指示する回転量指示手段を設け、
次に上述と同様に処理した画像の回転ずれ量と、前記回
転量指示手段の回転量とを入力して、観察者に対し常時
正立像表示を行うように前記補正手段により補正する演
算出力を出力する演算手段を有する構成にする。
In addition to the rotation of the image due to the rotation of the imaging device, it is assumed that the position of the display device and the position of the observer change, and this is corrected. Therefore, when the display surface of the display device is individually rotated by, for example, 90 degrees, a rotation amount instructing means for manually or automatically detecting and instructing the rotation amount is provided,
Next, the rotation output amount of the image processed in the same manner as described above and the rotation amount of the rotation amount instructing means are input, and a calculation output to be corrected by the correcting means so that an erect image is always displayed to the observer is obtained. A configuration having an operation means for outputting is provided.

【0015】[0015]

【発明の実施の形態】以下本発明の画像表示装置の第1
の実施の形態を以下説明する。図1は第1の実施の形態
を示すブロック構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of an image display device according to the present invention will be described.
The embodiment will be described below. FIG. 1 is a block diagram showing the first embodiment.

【0016】同図において、1はレンズを通した光を撮
像素子に導く光学系部、2は光信号を電気信号に変換す
る撮像素子でありここではCCDとする。3は撮像素子
の雑音を低減するCDS、4はアナログ信号をデジタル
信号に変換するA/D、5はデジタル画像データを色と
輝度に分けて処理するカメラ信号処理部、6はRAM
(Random Access Memory)で構成
されフレーム画像を記録するフレームメモリFM、7は
各部の動作、データの制御・送受を行い、かつ、プログ
ラム動作を高速に行うRISC−CPU、7aは最初に
抽出した形状を基準座標に指定し設定する第1基準指定
手段、7bは基準座標に設定した形状と画面上での同一
の面積の形状を判定し、基準の形状を追尾する第1追尾
手段、7cは第1基準指定手段7aの基準形状の座標値
の重心から特定点の方向と第1追尾手段7bの出力形状
の座標値の重心から特定点の方向とを検出する第1方向
検出手段等を内蔵し、その検出方向から基準形状に対す
る追尾形状の回転ずれ量を計算する第1回転ずれ量検出
手段、7dは第1回転ずれ量検出手段7cの回転ずれ量
から第1追尾手段7bの出力形状の座標補正を行う第1
座標補正手段、8は指定色と、その指定色の輝度を抽出
する形状抽出手段、10は処理された画像を画像メモリ
への書き込み、または、読み出し等の制御を行うメモリ
コントロール、11は座標補正した画像を記録する画像
メモリ、14は各種の操作指示キーを一体に表現したキ
ー、15はリモコン受信機、16は映像信号をカラー画
像表示するカラー液晶表示手段から構成する。
In FIG. 1, reference numeral 1 denotes an optical system for guiding light passing through a lens to an image pickup device, and 2 denotes an image pickup device for converting a light signal into an electric signal. Reference numeral 3 denotes a CDS for reducing noise of an image sensor, 4 denotes an A / D for converting an analog signal into a digital signal, 5 denotes a camera signal processing unit that processes digital image data by dividing it into colors and luminances, and 6 denotes a RAM.
(Random Access Memory) and a frame memory FM for recording a frame image, a RISC-CPU for controlling the operation and transmission / reception of data of each unit, and performing a program operation at high speed, and a reference numeral 7a for an initially extracted shape. Is designated as reference coordinates, and 7b is a first tracking means for determining a shape having the same area on the screen as the shape set as the reference coordinates, and tracking the reference shape. A first direction detecting means for detecting the direction of a specific point from the center of gravity of the coordinate value of the reference shape of the first reference specifying means 7a and the direction of the specific point from the center of gravity of the coordinate value of the output shape of the first tracking means 7b; A first rotational deviation amount detecting means for calculating a rotational deviation amount of the tracking shape with respect to the reference shape from the detection direction, and a first rotational deviation amount detecting means for calculating the first rotational deviation amount from the first rotational deviation amount detecting means. First performing a coordinate correction of the output shape
Coordinate correction means, 8 is a shape extraction means for extracting a designated color and the luminance of the designated color, 10 is a memory control for controlling processing such as writing or reading a processed image in an image memory, and 11 is coordinate correction. An image memory for recording the images obtained, a key 14 integrally representing various operation instruction keys, a remote control receiver 15, and a color liquid crystal display means 16 for displaying a video signal as a color image.

【0017】次に動作を説明する。光学系部1からの光
像をCCD2で受光し、それを電気信号に変換する。そ
の信号はCDS3によりノイズが減少された信号を出力
し、A/D4に入力して、アナログ映像信号がデジタル
映像信号S0に変換される。その変換信号S0はカメラ
信号処理部5に入力し、RISC−CPU7からの制御
信号S1により補正処理され、そのデータのデジタル映
像信号S4と、そのデータS4より1H遅延されたデジ
タル映像信号S5を出力する。なおRISC−CPU7
はキー14、もしくは、不図示のリモコンの信号を受信
するリモコン受信機15の指示信号を入力し、各部に動
作指示を行う。また、カメラ信号処理部5の出力信号S
3は、前記撮像素子CCD2からA/D4までの動作タ
イミングを設定する基準クロック信号。さらに、出力信
号S2は、前記光学系部1を制御する信号である。
Next, the operation will be described. The light image from the optical system unit 1 is received by the CCD 2 and converted into an electric signal. The signal outputs a signal reduced in noise by the CDS 3 and is input to the A / D 4 to convert an analog video signal into a digital video signal S 0. The converted signal S0 is input to the camera signal processing unit 5 and corrected by the control signal S1 from the RISC-CPU 7, and outputs a digital video signal S4 of the data and a digital video signal S5 delayed by 1H from the data S4. I do. RISC-CPU7
Inputs an instruction signal of a key 14 or a remote control receiver 15 for receiving a signal of a remote control (not shown), and gives an operation instruction to each unit. Also, the output signal S of the camera signal processing unit 5
Reference numeral 3 denotes a reference clock signal for setting operation timings from the image pickup devices CCD2 to A / D4. Further, the output signal S2 is a signal for controlling the optical system unit 1.

【0018】次に撮影画面内の正立像の形状を抽出し、
その抽出形状の中から基準となる形状を指定する動作を
述べる。前記撮像素子2を正立像が得られる位置(カラ
ー液晶表示手段16の画面からの撮影画像が正立に見え
る位置)に固定し、前記カメラ信号処理部5の一方の出
力デジタル映像信号S4を、形状抽出手段8に入力す
る。RISC−CPU7からの色指定により、その色の
輝度信号のレベルを判別し2値化することにより形状を
抽出する。これにより抽出された形状は、指定した色を
有する撮影画面上の画素の位置に対応した1と0の2値
化されたデータ群である。その2値化データをRISC
−CPU7に入力する。
Next, the shape of the erect image in the photographing screen is extracted,
An operation of designating a reference shape from the extracted shapes will be described. The image pickup device 2 is fixed at a position where an erect image can be obtained (a position where a captured image from the screen of the color liquid crystal display means 16 can be seen upright), and one output digital video signal S4 of the camera signal processing unit 5 is It is input to the shape extraction means 8. According to the color designation from the RISC-CPU 7, the level of the luminance signal of the color is determined and binarized to extract the shape. The extracted shape is a binarized data group of 1 and 0 corresponding to the position of the pixel having the designated color on the photographing screen. RISC the binary data
Input to the CPU 7;

【0019】色の指定する方法の例としては、例えばキ
ー14の中で個々の色に相当するキーを選択して、指定
したい形状の色を入力してもよく、あるいは、後ほど詳
細に説明する形状抽出手段8の色抽出の構成を利用し
て、画面中央部のみの色を12色〜126色を並列に同
時比較して、その判定結果の色を自動的に指定色にする
ようにしてもよい。
As an example of a method of specifying a color, for example, a key corresponding to an individual color may be selected from the keys 14 and a color of a shape to be specified may be input, or the details will be described later. Utilizing the configuration of color extraction of the shape extracting means 8, 12 to 126 colors of only the central part of the screen are simultaneously compared in parallel, and the color of the determination result is automatically set to the designated color. Is also good.

【0020】RISC−CPU7の動作を図3aの模式
的な図形、及び、図7〜図9のフローチャート等により
以下説明する。前記2値化データが第1基準指定手段7
aに入力されると、その第1基準指定手段7aでは、指
定色の抽出形状の全ての位置を画面上の座標として記録
し、その中の一つの形状を基準に指定する動作を行う。
まず図7のステップ801により、基準になる形状の設
定動作を最初に行う必要が有るので、その指示を示すフ
レームフラグPを1にセットする。次に、ステップ80
2に移行し抽出形状の垂直方向の画面上の座標を設定す
る。
The operation of the RISC-CPU 7 will be described below with reference to the schematic diagram of FIG. 3A and the flowcharts of FIGS. The binarized data is used as first reference designating means 7
When the input is input to the a, the first reference designating means 7a records all positions of the extracted shape of the designated color as coordinates on the screen and performs an operation of designating one of the extracted shapes as a reference.
First, at step 801 in FIG. 7, since it is necessary to first perform the setting operation of the reference shape, the frame flag P indicating the instruction is set to 1. Next, step 80
Then, the process goes to step 2 to set the coordinates of the extracted shape on the screen in the vertical direction.

【0021】図3aにおいては、画面上での上から下へ
の縦方向のアドレスを得る。
In FIG. 3a, a vertical address from top to bottom on the screen is obtained.

【0022】このアドレスの設定を行うため、連続的に
出力される垂直同期信号と水平同期信号を利用する。通
常、インタリーブ走査方式で撮像した映像信号を得る場
合、回路の垂直同期信号と水平同期信号もインタリーブ
走査に対応している。そこで、これを利用して、奇数フ
ィールドでは垂直同期信号の後縁エッジ(負極性の駆動
信号とした場合、立ち上がりエッジ、以下同様)と水平
同期信号の前縁エッジ(立ち下がりエッジ)が一致する
とし、以下、説明する。
In order to set the address, a vertical synchronizing signal and a horizontal synchronizing signal which are continuously output are used. Normally, when a video signal captured by an interleave scanning method is obtained, a vertical synchronizing signal and a horizontal synchronizing signal of the circuit also correspond to interleave scanning. Therefore, by utilizing this, when the trailing edge of the vertical synchronization signal (the rising edge in the case of a negative drive signal, the same applies hereinafter) and the leading edge (falling edge) of the horizontal synchronization signal coincide in the odd field. A description will be given below.

【0023】垂直同期信号の後縁エッジからVカウンタ
を起動させ、同水平同期信号の後縁エッジ(立ち上がり
エッジ)でカウントを開始し、その後、水平同期信号の
両縁エッジでカウントして、次の垂直同期信号の前縁エ
ッジでカウントを停止する。これは、1つのフレームで
すべての抽出処理を完結させることを狙い、奇数フィー
ルドでは奇数、偶数フィールドでは偶数の垂直方向のカ
ウンタ値を得ておき、1フレームが終了した場合にイン
タリーブ走査され配置された各水平ラインと各カウンタ
値とを対応させるようにするためである。
The V counter is started from the trailing edge of the vertical synchronizing signal, starts counting at the trailing edge (rising edge) of the horizontal synchronizing signal, and then counts at both edges of the horizontal synchronizing signal. Counting is stopped at the leading edge of the vertical synchronizing signal. This aims at completing all extraction processing in one frame, obtaining odd counter values in odd fields and even counter values in even fields, and interleaving scanning and arrangement when one frame is completed. This is to make each horizontal line correspond to each counter value.

【0024】この操作により、水平同期信号の後縁エッ
ジがカウント(奇数)された後に水平方向の2値化形状
が出力されるので、抽出形状が検出された時のカウント
値を記憶すれば、抽出形状の垂直方向の位置が判明す
る。
By this operation, after the trailing edge of the horizontal synchronizing signal is counted (odd number), the binary shape in the horizontal direction is output. If the count value at the time when the extracted shape is detected is stored, The vertical position of the extracted shape is determined.

【0025】なお、水平方向として、図3aにおいて
は、図の左から右への横方向を想定している。
In FIG. 3A, the horizontal direction is assumed to be the horizontal direction from left to right in the figure.

【0026】次に、偶数フィールドでは、垂直同期信号
の後縁エッジと水平同期信号の前縁エッジが一致しない
ので、垂直同期信号の後縁エッジからVカウンタを起動
させ、水平同期信号の前縁エッジでカウントを開始し、
その後、水平同期信号の両縁エッジでカウントして、次
の垂直同期信号の前縁エッジでカウントを停止すること
により偶数のカウンタの値を生成する。水平同期信号の
後縁エッジのカウント(偶数)された後に水平方向の2
値化形状が得られるので、その時のカウント値を記憶す
ることにより抽出形状の垂直方向の位置が判明する。
Next, in the even field, since the trailing edge of the vertical synchronizing signal does not match the leading edge of the horizontal synchronizing signal, the V counter is started from the trailing edge of the vertical synchronizing signal, and the leading edge of the horizontal synchronizing signal is started. Start counting at the edge,
Thereafter, counting is performed at both edges of the horizontal synchronization signal, and counting is stopped at the leading edge of the next vertical synchronization signal, thereby generating an even-numbered counter value. After the trailing edge of the horizontal synchronizing signal is counted (even number),
Since the binarized shape is obtained, the position of the extracted shape in the vertical direction can be determined by storing the count value at that time.

【0027】以上の奇数番のフレーム画像の垂直方向の
画面上の座標を奇数番目に数えたアドレスが得られ、か
つ、偶数番のフレーム画像の垂直方向画面上の座標を偶
数番目に数えたアドレスが得られ、インタリーブ走査さ
れた画面上の垂直方向の座標の記録の処理が行われる。
An address is obtained by oddly counting the coordinates of the odd-numbered frame image on the screen in the vertical direction, and an address by counting the even-numbered coordinates of the even-numbered frame image on the vertical screen. Is obtained, and a process of recording the coordinates in the vertical direction on the screen subjected to the interleave scanning is performed.

【0028】ステップ804では、図3a画面の左から
右への横方向のアドレスを得るために、前記形状の映像
信号の水平同期信号の後縁エッジからHカウンタを起動
させ、画面上の絵素に対応したクロックのカウントを行
い、前記2値化データの立ち上がり,立ち下がりエッジ
のカウンタ値を記録して、画面上の水平方向の座標値に
する。このHカウンタのリセットは、次の水平同期信号
の前縁エッジで行う。
In step 804, the H counter is started from the trailing edge of the horizontal synchronizing signal of the video signal having the above-mentioned shape to obtain the horizontal address from left to right of the screen of FIG. Is counted, and the counter values of the rising edge and the falling edge of the binary data are recorded, and are converted into horizontal coordinate values on the screen. The resetting of the H counter is performed at the leading edge of the next horizontal synchronization signal.

【0029】ステップ805では、ステップ802から
ステップ804にかけて抽出した形状の座標値をまと
め、抽出したHカウンタの値とその時のVカウンタの値
を一組にした2値化形状の座標値をRISC−CPU7
のRAM1(図示せず)に記録する。すなわち、2値化
形状の領域のデータとして形状のある水平ラインのV方
向の値と、形状のある水平ライン上の両端のH方向の値
が記録される。
In step 805, the coordinate values of the shapes extracted in steps 802 to 804 are put together, and the coordinate values of the binarized shape obtained by combining the value of the extracted H counter and the value of the V counter at that time into a RISC- CPU7
In a RAM 1 (not shown). That is, a value in the V direction of a shaped horizontal line and a value in the H direction at both ends of the shaped horizontal line are recorded as data of the binarized shape area.

【0030】また、前述した様にインタリーブ走査の映
像信号は、1フレームは2フィールドであり、奇数番目
のフィールドでは垂直方向座標のVカウンタ値を奇数番
目に数え、また、偶数番目のフィールドでは偶数番目に
数えたので、両フィールドからのVカウンタ値を順番に
並び換えることにより、1フレームの画像の中の垂直方
向の値と前記Hカウンタ値からの水平方向の値とで示さ
れる抽出形状の座標値のデータ群、すなわち、抽出形状
の座標の値の表がRAM1上に得られる。
As described above, in the video signal of the interleave scanning, one frame is composed of two fields, the odd-numbered field counts the V-counter value of the vertical coordinate in the odd-numbered field, and the even-numbered field counts the even-numbered V counter value. Since the V counter values from both fields are sorted in order, the extracted shape represented by the vertical value in the image of one frame and the horizontal value from the H counter value is rearranged. A data group of coordinate values, that is, a table of coordinate values of the extracted shape is obtained on the RAM 1.

【0031】次のステップ806により、画面上で抽出
した形状が、一固まりの領域を有する形状かどうかの判
別を行う。このため、画面上の隣接する上下の水平ライ
ンの間で、色の指定に基づき2値化データとして検出し
た水平ライン上の領域が互いに接しているか否かで判別
する。
In the next step 806, it is determined whether or not the shape extracted on the screen is a shape having a set area. For this reason, it is determined whether adjacent horizontal lines on the screen are adjacent to each other on the horizontal lines detected as the binarized data based on the color specification between the upper and lower horizontal lines.

【0032】さて、今、処理している最中の水平ライン
を現ラインとし、これより1つ前の水平ラインを前ライ
ンと呼ぶことにし、以下、さらに詳細に説明する。
The horizontal line currently being processed is referred to as the current line, and the immediately preceding horizontal line is referred to as the previous line. This will be described in further detail below.

【0033】先ず、現ライン上での先ほど記録した抽出
形状の両端の値で示される水平ライン上の抽出領域が、
前ライン上での先ほど記録した抽出形状の両端の値で示
される水平ライン上の抽出領域のいずれかに接している
場合、一固まりの領域と判定する。
First, the extraction area on the horizontal line indicated by the values at both ends of the previously recorded extraction shape on the current line is:
If it is in contact with any of the extraction regions on the horizontal line indicated by the values at both ends of the previously recorded extraction shape on the previous line, it is determined that the region is a united region.

【0034】接しているか否かの判定は、現ラインの抽
出領域の両端の値が、前ラインの抽出領域の何れかの領
域の両端に片方だけ、あるいは両方とも含まれる場合、
あるいは、現ラインの抽出領域の両端の値の間に前ライ
ンの抽出領域の何れかの領域の両端の値が含まれる場合
を検出すれば容易に判定できる。
The determination as to whether or not there is contact is made when the values at both ends of the extraction area of the current line are included in either or both of the two ends of the extraction area of the previous line.
Alternatively, it can be easily determined by detecting a case where the values at both ends of the extraction region of the previous line are included between the values at both ends of the extraction region of the current line.

【0035】このように判定した後、接している領域が
有ると判定した場合には、同一形状の一部と判定し次の
ステップ807により前ラインの領域と同じラベルを付
けて、ステップ808に移行し、無い場合は、何もせず
にステップ808に移行する。
If it is determined that there is an area in contact with the area after the above determination, it is determined that the area is part of the same shape, and the next step 807 attaches the same label to the area of the previous line. If no, the process goes to step 808 without doing anything.

【0036】なお、現ラインに抽出領域があるが、前ラ
インに抽出領域が無かった場合、新たなラベルを付けた
後ステップ808に移行する。
If there is an extraction area in the current line but no extraction area in the previous line, a new label is assigned, and the flow shifts to step 808.

【0037】1フレームの終了を検出するまで、前記ス
テップ802に戻って、再度同じ動作を続け、全抽出形
状の座標記録処理を終了する。次のステップ809によ
り前処理が基準形状の検出指示のフレームカウンタP=
1を判定する。最初にP=1を設定しているのでYES
になり、次の810に移行し、指示色部分の画面中央付
近の形状の座標値をRISC−CPU7のRAM2(図
示せず)において、基準座標をしめすため、ラベルAを
つけ記録する。また、基準座標の設定完了フラグを基準
座標F=1に設定し、かつ、基準形状の設定が終了した
ので前記フレームカウンタP=1からフレームカウンタ
P=2に変更する。
Until the end of one frame is detected, the process returns to the step 802, where the same operation is continued again, and the coordinate recording process for all the extracted shapes is completed. In the next step 809, the pre-processing is performed by the frame counter P =
1 is determined. YES because P = 1 is initially set
Then, the flow shifts to 810, where the coordinate value of the shape near the center of the screen of the designated color portion is labeled and recorded in the RAM 2 (not shown) of the RISC-CPU 7 in order to indicate the reference coordinate. Further, the reference coordinate setting completion flag is set to the reference coordinate F = 1, and since the setting of the reference shape is completed, the frame counter P = 1 is changed to the frame counter P = 2.

【0038】ここで、指定色の部分の形状検出用座標値
を画面中央付近に設定しているが、これに限定するもの
でなく、別の部分例えば、画面の右端からの形状でも良
い。また、詳細は後述するが、特定の領域を設定してお
きそこで特別の処理を行う場合には、その所を避ける必
要があるが、この処理の場合は、その特定の領域以外な
らば、画面上どこでも良い。
Here, the coordinate value for shape detection of the designated color portion is set near the center of the screen, but is not limited to this, and may be another portion, for example, a shape from the right end of the screen. Also, as will be described in detail later, if a specific area is set and special processing is performed there, it is necessary to avoid that place. It is good anywhere.

【0039】次に図8のステップ902で示す第1追尾
手段7bに移行するが、前記処理が基準の形状を指定す
る処理であり基準座標F=1に設定してあったので、ス
テップ901の基準座標F=1か否かの判定はYESに
なり、追尾処理を行わずに次の第1方向検出手段のステ
ップ904に移行する。
Next, the processing shifts to the first tracking means 7b shown in step 902 in FIG. 8, but since the above-mentioned processing is a processing for designating a reference shape and the reference coordinate F is set to 1, the processing in step 901 is executed. The determination as to whether or not the reference coordinate F is 1 is YES, and the flow proceeds to step 904 of the next first direction detecting means without performing the tracking processing.

【0040】このステップ904の処理においては、先
に座標を記録した基準形状の重心の座標値を計算で求
め、かつ、重心からの最長点、もしくは、最短点の座標
値を計算し求める。重心の座標値を求めるには、例え
ば、抽出された形状の存在する領域の水平・垂直方向の
座標を全画面にわたって積算し、その存在する領域の画
素数で割ることにより求められる。また、重心を中心
に、その水平線から最短点、もしくは、最長点等の特定
点との角度を計算し、その結果を正立像表示をおこなう
基準角度として、前記RAM2に記録する。
In the process of step 904, the coordinate value of the center of gravity of the reference shape on which the coordinates have been recorded is obtained by calculation, and the coordinate value of the longest point or the shortest point from the center of gravity is calculated and obtained. In order to obtain the coordinate value of the center of gravity, for example, the coordinates in the horizontal and vertical directions of the region where the extracted shape is present are integrated over the entire screen, and the result is divided by the number of pixels of the existing region. Further, an angle from the horizontal line to a specific point such as the shortest point or the longest point is calculated from the horizontal line, and the result is recorded in the RAM 2 as a reference angle for displaying an erect image.

【0041】さらに、磁界からは追尾形状の処理指示に
なるので、その指示を示すため基準座標F=0に設定す
る。
Further, since the processing instruction of the tracking shape is given from the magnetic field, the reference coordinate F is set to 0 to indicate the instruction.

【0042】以上の説明において、重心算出から角度算
出までの計算処理は、各画素の座標値をもとにした単純
な計算処理なので短時間に行える。なお、抽出形状が円
形や対象形等をしており、最長点や最短点が計算できな
い場合は、その隣の画像を判定し、最長点や最短点が有
る形状に基準座標を変更するように処理を設定すればよ
い。
In the above description, the calculation process from the calculation of the center of gravity to the calculation of the angle can be performed in a short time because it is a simple calculation process based on the coordinate values of each pixel. If the extracted shape has a circular shape or a target shape, and the longest point or the shortest point cannot be calculated, the next image is determined, and the reference coordinates are changed to a shape having the longest point or the shortest point. What is necessary is just to set a process.

【0043】以上の処理は形状の指定を行う処理である
ため、現在の処理を行っているフレーム画像よりも前の
フレーム画像の処理は行なっていない。そのため、第1
回転ずれ量検出手段7cのステップ905では回転ずれ
量は零となり、次の図9の第1座標補正手段7dのステ
ップ1001においては処理をせずに通過し、抽出画像
を画像メモリ11へ記録する処理に移行する。
Since the above processing is processing for designating a shape, processing of a frame image prior to a frame image currently being processed is not performed. Therefore, the first
In step 905 of the rotational deviation detecting means 7c, the rotational deviation becomes zero, and in the next step 1001 of the first coordinate correcting means 7d in FIG. 9, the processing passes without processing, and the extracted image is recorded in the image memory 11. Move on to processing.

【0044】ここで、前記形状抽出手段8の詳細な回路
構成を図2を用いて以下説明する。21は色の飽和度を
規格化する規格化部、22と23はRISC−CPU7
等からの色の指示であり、その色の指示に従って色の成
分を有する輝度のレベルを判定し2値化を行う抽出部
A、及び、抽出部Bである。24と25はデジタル信号
の論理和演算する論理和部A、及び、論理和部Bであ
る。26と27は3*3画素のデジタル2値化データの
多数決判定により1画素のデジタル信号を出力するフィ
ルター部A、及び、フィルター部Bから構成している。
Here, a detailed circuit configuration of the shape extracting means 8 will be described below with reference to FIG. Reference numeral 21 denotes a normalizing unit for normalizing the color saturation, and reference numerals 22 and 23 denote the RISC-CPU 7.
The extraction unit A and the extraction unit B determine a luminance level having a color component according to the color instruction and perform binarization. Numerals 24 and 25 are a logical sum unit A and a logical sum unit B for performing a logical sum operation of the digital signal. 26 and 27 are composed of a filter section A and a filter section B which output a digital signal of one pixel by majority decision of digital binarized data of 3 * 3 pixels.

【0045】次に動作を説明する。デジタル映像信号S
4の輝度,色信号が規格化部21に入力され、色の飽和
度を規格化する。その規格化信号が抽出部A22、及
び、抽出部B23に同時に入力されると、RISC−C
PU7から指定される色を有する輝度のレベルを判別し
2値化することにより、指定された色に基づく2値化信
号が出力される。
Next, the operation will be described. Digital video signal S
The luminance and chrominance signals of No. 4 are input to the normalization unit 21 to normalize the color saturation. When the standardized signals are simultaneously input to the extraction unit A22 and the extraction unit B23, the RISC-C
By determining the level of the luminance having the specified color from the PU 7 and binarizing it, a binarized signal based on the specified color is output.

【0046】例えば、同時に4色を指定すると、指定さ
れた4色の2値化信号が抽出部A22,抽出部B23か
ら出力される。この4つの2値化信号出力は論理和部A
24、及び、論理和部B25に入力され、論理和される
ことにより、指定された4色に基づき合成された2値化
信号がそれぞれ得られる。その出力をフィルター部A2
6、及び、フィルター部B27に入力し、ノイズを除去
し、前記RISC−CPU7に入力する。このように、
簡単なハード回路構成により、色指定した形状の2値化
処理がリアルタイムに行える。
For example, when four colors are designated at the same time, the binarized signals of the designated four colors are output from the extraction units A22 and B23. The output of these four binarized signals is the logical sum A
24, and are input to the logical sum unit B25 and logically ORed to obtain binary signals synthesized based on the designated four colors. The output of the filter section A2
6, and input to the filter section B27 to remove noise and input to the RISC-CPU 7. in this way,
With a simple hardware circuit configuration, binarization processing of a color-designated shape can be performed in real time.

【0047】一方、前記カメラ信号処理部5の出力デジ
タル映像信号S5(ここでは信号処理の遅延合わせのた
め1H遅延させたものとする)はメモリコントロール1
0を介してフレームメモリFM6に入力し、1フレーム
分の画像情報が一時記憶される。
On the other hand, the digital video signal S5 output from the camera signal processing unit 5 (here, it is assumed that the signal has been delayed by 1H for the purpose of delaying the signal processing) is stored in the memory controller
0, the image information is input to the frame memory FM6, and the image information for one frame is temporarily stored.

【0048】ここで、前述したように、基準座標を設定
する時点でのRISC−CPU7に入力した抽出画像は
最初のフレーム画像なために、そのまま記憶され、メモ
リコントロール10により、フレームメモリFM6の画
像を前記抽出画像の画面上の座標に相当するメモリアド
レスの画像メモリ11に記憶される。
Here, as described above, the extracted image input to the RISC-CPU 7 at the time of setting the reference coordinates is the first frame image, so that it is stored as it is, and is stored in the frame memory FM6 by the memory control 10. Is stored in the image memory 11 at a memory address corresponding to the coordinates of the extracted image on the screen.

【0049】なお、フレームメモリFM6や画像メモリ
11のアクセス経路、すなわち、メモリへのデータ送受
タイミングや同メモリの書込み,読出し指示、及び、メ
モリアドレスの呼び出し等の経路は、デジタル映像信号
S6やデジタル映像信号S7の経路に重複しているもの
として説明する。
The access path of the frame memory FM6 and the image memory 11, that is, the path for transmitting / receiving data to / from the memory, the instruction for writing / reading of the memory, and the call of the memory address, etc. Description will be made assuming that the path overlaps with the path of the video signal S7.

【0050】次に、新たにフレーム画像が前記カメラ信
号処理部5からデジタル映像信号S5に得られると、フ
レームメモリFM6に記録していた1フレーム前の画像
データを、新たな得られたフレーム画像データによって
置き換える。
Next, when a new frame image is obtained as a digital video signal S5 from the camera signal processing section 5, the image data of the previous frame recorded in the frame memory FM6 is replaced with the newly obtained frame image. Replace with data.

【0051】前記カメラ信号処理部5からの新たなフレ
ーム画像であるデジタル映像信号S5に対し、抽出処理
等の信号処理を行う際に生じる遅延を合わせるため、こ
こでは1Hだけ早く、デジタル映像信号S4が形状抽出
手段8に入力するとしているが、このデジタル映像信号
S4をもとにして、先ほど指定した色に基づき2値化さ
れた形状が抽出され、このデータをRISC−CPU7
の第1基準指定手段7aに入力する。
The digital video signal S4, which is a new frame image from the camera signal processing unit 5, is adjusted by 1H earlier to adjust the delay generated when performing signal processing such as extraction processing. Is input to the shape extracting means 8, a binarized shape is extracted based on the previously specified color based on the digital video signal S4, and this data is input to the RISC-CPU 7.
To the first reference designating means 7a.

【0052】なお、基準に設定した形状の画面上の座標
は、カメラ移動と共に変わるが、各フレーム毎に、前述
と同様に、抽出した2値化形状の全ての座標値の記録処
理が行われて、その結果がRISC−CPU7のRAM
1に記録される。
The coordinates on the screen of the shape set as the reference change with the movement of the camera, but recording processing of all the coordinate values of the extracted binarized shape is performed for each frame in the same manner as described above. And the result is RAM of RISC-CPU7.
1 is recorded.

【0053】さて、次に、図8の処理に戻ってきた場
合、ステップ901における基準座標F=1の判定は、
前記したように、ステップ904でF=0に設定してい
るのでNOになりステップ902で示す第1追尾手段7
bに移行する。そこで、RAM1の中から、前記RAM
2ラベルAの基準に設定した形状面積と同等の面積の形
状をサーチし、そのサーチして得られた形状を基準形状
と同一の形状と判定し、これをRAM3に記録する。
Next, when returning to the processing of FIG. 8, the determination of the reference coordinate F = 1 in step 901 is as follows.
As described above, since F = 0 is set in step 904, the result is NO, and the first tracking means 7 shown in step 902 is set.
Move to b. Therefore, from the RAM 1, the RAM
A shape having an area equivalent to the shape area set as the reference of the two labels A is searched, and the shape obtained by the search is determined to be the same as the reference shape, and this is recorded in the RAM 3.

【0054】この時、同等の面積の形状が複数個あった
場合、簡便な判別手段として、水平方向,垂直方向の大
きさの最大値を元に最も近いものを選択してもよいし、
また、前回の抽出形状が存在した位置に最も近い位置の
形状を選択してもよいし、さらには、最終的にはパター
ンマッチングにより判定してもよいことは言うまでもな
いが、詳細は省略する。
At this time, if there are a plurality of shapes having the same area, the closest one based on the maximum value in the horizontal and vertical directions may be selected as a simple determination means.
Further, it is needless to say that the shape at the position closest to the position where the previous extracted shape was present may be selected, and it is needless to say that the final shape may be determined by pattern matching, but details are omitted.

【0055】さて、次の第1方向検出手段の動作を示す
ステップ903により現フレーム画像の座標値から計算
した重心とその重心から最短、もしくは、最長の距離の
点の座標値が得られ、それから重心を中心とした角度を
計算し、それを前記RAM3に記録する。また、次回
も、追尾形状の処理を行わせる指示となるので、その指
示のため基準座標F=0に設定する。
Now, in step 903 indicating the operation of the first direction detecting means, the barycenter calculated from the coordinate value of the current frame image and the coordinate value of the shortest or longest distance point from the barycenter are obtained. An angle centered on the center of gravity is calculated and recorded in the RAM 3. Also, the next time, an instruction to perform the processing of the tracking shape is issued, so that the reference coordinate F is set to 0 for the instruction.

【0056】次に、第1回転ずれ量検出手段7cの動作
を示すステップ905では、前記RAM3から前フレー
ム画像の重心と最短点、もしくは、最長点が得られてい
るので、ステップ904の基準形状のRAM2のラベル
Aの重心と最短点、もしくは、最長点をもとにして、R
AM2とRAM3に収納されているそれぞれの形状の重
心の座標値の差から画像の平行移動した量の値が得られ
る。さらに、RAM2とRAM3の重心からの最短点、
もしくは、最長点の座標値と、重心の座標値とから、各
形状の重心から最短点、もしくは、最長点の方向、すな
わち角度の値が得られる。これらから、基準の形状のフ
レームと現フレーム画像の抽出形状の間の角度の差、す
なわち回転角度が得られ、これが回転ずれ量になる。
Next, in step 905 showing the operation of the first rotational displacement detecting means 7c, since the center of gravity and the shortest point or the longest point of the previous frame image have been obtained from the RAM 3, the reference shape in step 904 is obtained. Based on the center of gravity and the shortest point or the longest point of the label A of the RAM 2
The value of the amount by which the image is translated is obtained from the difference between the coordinate values of the centers of gravity of the respective shapes stored in the AM2 and the RAM3. Furthermore, the shortest point from the center of gravity of RAM2 and RAM3,
Alternatively, the direction of the shortest point or the longest point from the center of gravity of each shape, that is, the value of the angle, is obtained from the coordinate value of the longest point and the coordinate value of the center of gravity. From these, the difference in angle between the frame of the reference shape and the extracted shape of the current frame image, that is, the rotation angle, is obtained, and this is the amount of rotation deviation.

【0057】このように画面上の座標で計算した値に基
づき、同一形状の現フレーム画像の回転ずれ量が短時間
に計算できる。
As described above, the amount of rotational displacement of the current frame image having the same shape can be calculated in a short time based on the value calculated by the coordinates on the screen.

【0058】ここで、基準に設定した形状と同一の形状
であるとして追尾してきた形状が移動して、形状の一部
が徐々に影になってきて、欠けてしまった時には、追尾
ができなくなる。その場合には、基準に設定する形状を
2〜3フレーム間隔で更新し、徐々に変化した形状の違
いを減少させ、かつ、違いの量が若干有っても許容する
動作、構成にすればよいことは言うまでもない。
Here, when the shape that has been tracked as being the same as the shape set as the reference moves and a part of the shape gradually becomes a shadow and is lost, tracking becomes impossible. . In such a case, the operation and configuration may be such that the shape set as the reference is updated at intervals of 2 to 3 frames, the difference in the shape that has gradually changed is reduced, and even if there is a slight amount of difference. It goes without saying that it is good.

【0059】次に図9のステップ1001で動作を示す
第1座標補正手段7dにより、重心からの回転ずれ量を
求め、現フレーム画像の抽出形状の座標記録値を変更す
る。これにより、メモリコントロール10を介して、基
準形状の重心を中心に回転ずれ量の分だけの座標が修正
されて、垂直帰線期間内に画像メモリ11に記録され
る。なお、画像の回転は、一例として1画素ずつ処理
し、それがRAM3での重心を中心に行ってもよい。
Next, the amount of rotation deviation from the center of gravity is determined by the first coordinate correcting means 7d, which is operated in step 1001 in FIG. 9, and the coordinate recording value of the extracted shape of the current frame image is changed. As a result, the coordinates corresponding to the amount of rotation deviation about the center of gravity of the reference shape are corrected via the memory control 10 and are recorded in the image memory 11 within the vertical blanking period. The rotation of the image may be performed, for example, one pixel at a time, and the rotation may be performed around the center of gravity in the RAM 3.

【0060】このように回転ずれ量を検出し、その値で
座標記録値を変更する処理により、正立像画像へ戻す補
正が行われる。
As described above, the amount of rotation deviation is detected, and the coordinate recording value is changed based on the detected value to perform correction for returning to an erect image.

【0061】以上の処理により、最初に基準に設定した
画像の向きを保持する動作を行っており、これらの動作
を次のフレーム画像の出力以降でも続行することによ
り、画面上の特定の被写体の回転を抑圧でき、常に正立
像となる画像を連続に表示し、記録することができる。
By the above-described processing, the operation of maintaining the orientation of the image initially set as the reference is performed, and these operations are continued even after the output of the next frame image. Rotation can be suppressed, and an image that always becomes an erect image can be continuously displayed and recorded.

【0062】この時、変更し補正しようとするアドレス
が記録した画面上に存在しない場合には、現フレーム画
像の画像データを元に内挿し、補正を行えばよいことは
言うまでもないが、詳細は省略する。
At this time, if the address to be changed and corrected does not exist on the recorded screen, it is needless to say that the correction may be performed by interpolating based on the image data of the current frame image. Omitted.

【0063】このようにして、設定した正立像の基準形
状が存在する画像内において、カメラが自由に回転移動
しても、常に正立像の動画像が得られた画像メモリ11
のデータを記録し、また、カラー液晶表示手段16で表
示する。
As described above, in the image in which the reference shape of the set erect image exists, even if the camera freely rotates, the image memory 11 which always obtains the moving image of the erect image can be obtained.
Is recorded and displayed on the color liquid crystal display means 16.

【0064】なお、以上の説明で、基準に設定した形状
の回転方向の補正を常に行って、回転を防止するとして
いたが、もちろん、補正を緩やかにして補正量を加減す
ることにより、急速な回転に対しては回転を防止し、一
定以上の回転量に対しては補正を緩和し、補正の基準の
角度自体を変更していくという操作を行うことにより、
より自然に、回転防止の制御を行うことが可能となるこ
とは言うまでもない。
In the above description, the rotational direction of the shape set as the reference is always corrected to prevent the rotation. However, it is obvious that the correction amount is reduced and the correction amount is adjusted to increase or decrease the speed. By preventing rotation for rotation, relaxing the correction for a certain amount of rotation or more, changing the reference angle itself for correction,
It goes without saying that the rotation prevention control can be performed more naturally.

【0065】次に図3を用いて、更に図1の動作を模式
的に説明する。図3はカメラからの画像を示し、図3a
〜図3dはカメラが回転した場合を示す。
Next, the operation of FIG. 1 will be schematically described with reference to FIG. FIG. 3 shows an image from the camera, FIG.
3d shows the case where the camera is rotated.

【0066】初めの図3aはカメラの撮像画像を示し、
画像上の樹木を正立像として判断した場合を示してい
る。画面上で、緑色と茶色の2色を同時に抽出し、図3
bのように大木31と小木32の2値化した輝度エッジ
を抽出する。同図において、第1方向検出手段7cによ
り、抽出した画像のエッジ部分の座標を検出し、図3c
のように、重心G1を計算する。また、重心G1から最
長点M1を計算する。なお、本例の場合、図を用いた際
の説明の容易さから重心からもっとも離れている点を、
方向を検出するための基準点として設定している。
FIG. 3A shows an image captured by a camera.
This shows a case where a tree on the image is determined as an erect image. On the screen, two colors, green and brown, are extracted at the same time.
The binarized luminance edge of the large tree 31 and the small tree 32 is extracted as shown by b. In FIG. 3, the coordinates of the edge portion of the extracted image are detected by the first direction detecting means 7c.
The center of gravity G1 is calculated as follows. Further, the longest point M1 is calculated from the center of gravity G1. In the case of this example, the point farthest from the center of gravity is indicated by the ease of explanation when using the figure.
It is set as a reference point for detecting the direction.

【0067】この抽出形状の基準点を基に、第1回転ず
れ量検出手段7cにより、重心G1から最長点M1まで
の線分と重心G1を通る水平線との角度K1を計算す
る。次にカメラが移動し、かつ、回転した状態の画像を
カメラから分離したモニター上で観察すると図3dに示
すようになったとする。
Based on the reference point of the extracted shape, an angle K1 between a line segment from the center of gravity G1 to the longest point M1 and a horizontal line passing through the center of gravity G1 is calculated by the first rotational deviation amount detecting means 7c. Next, it is assumed that an image in a state where the camera is moved and rotated is observed on a monitor separated from the camera, as shown in FIG. 3D.

【0068】この図において、大木31は正立像として
図面上に示しているが、これは、第1基準指定手段7a
から第1回転ずれ量検出手段7cまでの処理が行なうこ
とを前提に被写体が動かず、カメラが動いたとして、正
立させて示しており、撮影画像としては一点鎖線で示し
た枠内の部分が撮影されているとする。
In this figure, the large tree 31 is shown as an erect image in the figure, but this is the first reference designating means 7a.
From the first rotation deviation amount detection means 7c to the first rotation deviation amount detection means 7c, the object is not moved, and the camera is moved, and the camera is moved upright. Is taken.

【0069】この撮影された画面において、2つの木の
形状が斜めに傾いた状態の画像が得られているが、この
画像を基に、重心G2から最長点M2までの線分と重心
G2を通る水平線との角度K2が得られる。
An image in which the shape of the two trees is obliquely obtained is obtained on the photographed screen. Based on this image, the line segment from the center of gravity G2 to the longest point M2 and the center of gravity G2 are determined. An angle K2 with the horizontal line passing is obtained.

【0070】次に、第1座標補正手段7dにより、図3
dの重心G2から最長点M2までの方向を、前図3cの
重心G1から最長点M1までの方向に一致するように、
画面上の座標の記録値を変更し、それを画像メモリ11
に記録する。この座標値の変更により、図3gのように
画像の座標が補正され、初めに設定した基準の正立像
(図3c)と同様の方向で記録されるので、表示画面を
見る観察者には、常時正立像が表示され、また、それ
が、最終的に記録される。
Next, FIG.
The direction from the center of gravity G2 of d to the longest point M2 coincides with the direction from the center of gravity G1 of FIG.
Change the recorded value of the coordinates on the screen and store it in the image memory 11
To record. By changing the coordinate values, the coordinates of the image are corrected as shown in FIG. 3g and recorded in the same direction as the initially set reference erect image (FIG. 3c). An erect image is always displayed and is finally recorded.

【0071】このように、撮影画像が回転しても、基準
形状として設定した被写体と同一の形状の抽出し、およ
び、回転ずれ量の検出を行い、それを基に補正すること
により、基準として設定した形状を有する最初のフレー
ム画像と同じように、その後のフレーム画像も、常時、
正立の像の表示ができる。
As described above, even if the photographed image is rotated, the same shape as the subject set as the reference shape is extracted, and the amount of rotation deviation is detected, and correction is performed based on the extracted result. Like the first frame image with the set shape, subsequent frame images are always
An upright image can be displayed.

【0072】また、リアルタイムに基準形状を抽出で
き、かつ、構成も簡単なために、処理時間が短い等の利
点もある。
Further, since the reference shape can be extracted in real time and the configuration is simple, there are advantages such as a short processing time.

【0073】なお、撮影により得られた長方形の画像は
前記撮像素子2の撮像エリアの形状によるが、前記図3
gの角部分に画像が無い場合が起こることがあり、それ
を黒色で模式的に示す。また、前記撮像素子は、NTS
C用のそれを用いているがPAL用の撮像素子を用いそ
の一部をNTSC用の画像出力部分として使用すれば、
画素数がNTSC用よりも約20%多いので、その分だ
け黒色画面を減少できる。さらに、画素数が増加した撮
像素子を用れば、さらに黒色部分を少なくすることがで
きる。
Note that the rectangular image obtained by photographing depends on the shape of the image pickup area of the image pickup device 2, but the rectangular image shown in FIG.
In some cases, there is no image at the corner of g, which is schematically shown in black. Further, the image sensor is NTS
If it is used for C, but if an image sensor for PAL is used and part of it is used as an image output part for NTSC,
Since the number of pixels is about 20% larger than that for NTSC, the black screen can be reduced accordingly. Furthermore, if an image sensor having an increased number of pixels is used, the black portion can be further reduced.

【0074】ここで、画像回転処理は以下のように行っ
てもよい。例えば、抽出形状の重心の座標を回転の基準
とし、各絵素の重心からの距離を算出し、回転した角度
分だけ重心から回転移動し、新たな座標とし、その座標
に絵素のデータを移動する。これらの動作により重心を
中心に、回転ずれ量分だけ画像の位置が回転し、常時正
立している画像の表示ができる。
Here, the image rotation processing may be performed as follows. For example, using the coordinates of the center of gravity of the extracted shape as the reference for rotation, calculating the distance from the center of gravity of each picture element, rotating and moving from the center of gravity by the rotated angle, setting it as new coordinates, and using the coordinates of the picture element data Moving. By these operations, the position of the image is rotated around the center of gravity by an amount corresponding to the rotational deviation, and an image that is always erect can be displayed.

【0075】なお、VTR,超音波スキャナ及び、X線
カメラにより得られる一連の画像情報は、前記の撮影画
像と同様のビデオ信号であるので、その画像情報を入力
してその後出力する入出力手段(図示せず)の出力信号
をA/D4を介し、上記と同様の処理,動作,構成とす
ることにより、常時正立像の表示が行える。
Since a series of image information obtained by a VTR, an ultrasonic scanner and an X-ray camera is a video signal similar to the above-mentioned photographed image, input / output means for inputting the image information and thereafter outputting the image information An erect image can be always displayed by processing the output signal (not shown) through the A / D 4 in the same processing, operation, and configuration as described above.

【0076】次に第2の実施形態を図4を用いて以下説
明する。同図において、前述した図1〜図3、及び、図
7〜図9と同機能のものは、同一番号で示し、説明を省
略する。
Next, a second embodiment will be described with reference to FIG. In the same figure, those having the same functions as those in FIG. 1 to FIG. 3 and FIG. 7 to FIG.

【0077】図4において、7eは前記第1基準指定手
段の基準の形状を含み、同一の形状より別の場所から同
色、または、異色の新たな基準の形状を抽出して、新た
な基準座標を設定し、このような、新たな基準座標設定
の動作を繰り返す基準の再指定手段である。7fは前記
基準再指定手段7eや前記第1基準指定手段7a等の基
準の形状面積と同一の面積を判定して、形状追尾を行う
第2追尾手段、7gは前記基準再指定手段7eの基準座
標値の重心から特定点の方向と前記第2追尾手段7fの
出力形状の座標値の重心から特定点の方向とを検出する
第2方向検出手段を内蔵し、その検出方向から回転ずれ
量を計算する第2回転ずれ量検出手段、7hは前記第2
回転ずれ量検出手段7gの回転ずれ量から第2追尾手段
7fの出力形状の座標補正を行う第2座標補正手段であ
る。
In FIG. 4, reference numeral 7e includes a reference shape of the first reference designating means. A new reference shape of the same color or a different color is extracted from another location than the same shape, and a new reference coordinate is obtained. And a reference re-designating means for repeating such a new reference coordinate setting operation. 7f is a second tracking means for determining the same area as the reference shape area such as the reference re-designating means 7e or the first reference designating means 7a and performing shape tracking, and 7g is a reference of the reference re-designating means 7e. Second direction detecting means for detecting the direction of a specific point from the center of gravity of the coordinate value and the direction of the specific point from the center of gravity of the coordinate value of the output shape of the second tracking means 7f is incorporated. The calculated second rotational deviation amount detecting means, 7h is the second rotational deviation amount detecting means.
This is a second coordinate correction means for correcting the coordinates of the output shape of the second tracking means 7f based on the rotation shift amount of the rotation shift amount detection means 7g.

【0078】次に動作を述べる。前記第1の実施の形態
において説明した基準の形状は、カメラを操作しパン、
もしくは、チルト方向に移動していくと、そのパン、も
しくは、チルトの方向と反対の方向に移動し、最後に
は、カメラ撮影画面から消えてしまう場合がある。本実
施形態は、この対策として考案している。
Next, the operation will be described. The reference shape described in the first embodiment is obtained by operating the camera and panning,
Alternatively, when the camera moves in the tilt direction, the camera may move in the direction opposite to the pan or tilt direction, and may eventually disappear from the camera shooting screen. The present embodiment is devised as a countermeasure for this.

【0079】先ず、基準再指定手段部7eのプログラム
フローを図10に示す。同図においてステップ809で
は、基準形状を設定する最初の処理ではないため、基準
形状の検出指示を示すP=1の判断はNOになり、第2
追尾手段7fのステップ812に移行する。基準形状の
データ記録のRAM2のラベルAと同一面積の形状をR
AM1からサーチし、その座標をRAM1のラベルMに
記憶し、ステップ813に移行する。このステップ81
3ではRAM1のラベルMの基準形状が画面内の端側付
近の座標領域に達したらステップ814に移行し、ラベ
ルMの基準形状をRAM2のラベルCに記録し、画面中
央、もしくは、カメラ移動方向側の端領域に別の新たな
基準の形状を同色で抽出し、それをRAM2のラベルB
として、記録し、基準形状設定フラグの基準座標F=1
に設定する。
First, FIG. 10 shows a program flow of the reference re-designating means 7e. In the figure, in step 809, since it is not the first process of setting the reference shape, the determination of P = 1 indicating the reference shape detection instruction is NO, and the second
The process moves to step 812 of the tracking means 7f. The shape having the same area as the label A of the RAM 2 of the data recording of the reference shape is represented by R
The search is performed from AM1, the coordinates are stored in the label M of the RAM1, and the process proceeds to Step 813. This step 81
In step 3, when the reference shape of the label M in the RAM 1 reaches the coordinate area near the end of the screen, the process proceeds to step 814, where the reference shape of the label M is recorded on the label C in the RAM 2, and the center of the screen or the camera movement direction A new reference shape is extracted with the same color in the end area on the side, and is extracted as label B in RAM2.
And the reference coordinate F = 1 of the reference shape setting flag.
Set to.

【0080】このとき、同図のステップ814には記入
してないが、新たな基準の形状に対し設定色の形状が無
い場合には、他に3種類の色を設定しておき、同色の形
状を抽出すればよい。さらに、設定色の形状が無い場合
には、また、別の色を設定し、存在が確認できるまで、
色設定を繰り返せばよいことは言うまでもない。
At this time, although there is no entry in step 814 in the figure, if there is no shape of the set color with respect to the new reference shape, three other colors are set and the same color is set. What is necessary is just to extract a shape. In addition, if there is no set color shape, another color is set, and until the existence can be confirmed.
Needless to say, the color setting may be repeated.

【0081】ここで、同ステップ813の判定における
RAM1のラベルMの基準形状の位置が画面内の端側付
近の座標領域かであるか否かの判定に代えて、形状の直
線の移動距離が規定量以上であることを検知することに
より、新たな被写体を基準座標とするように構成するこ
とでも良い。
Here, instead of determining whether or not the position of the reference shape of the label M in the RAM 1 in the determination in the step 813 is in the coordinate area near the end side in the screen, the moving distance of the shape straight line is A configuration may be adopted in which a new subject is set as the reference coordinates by detecting that the amount is equal to or more than the specified amount.

【0082】同ステップ803の判定でNOの場合は、
ステップ815に移行し追尾形状が画面中央付近などの
位置に有ることを示しているので、追尾座標としてRA
M3に記録し、かつ、基準座標でないので基準座標F=
0にセットし、次の図11のステップ901の第2方向
検出手段に移行する。
If the determination in step 803 is NO,
The process proceeds to step 815, which indicates that the tracking shape is at a position near the center of the screen or the like.
Since it is recorded in M3 and is not the reference coordinate, the reference coordinate F =
The value is set to 0, and the flow shifts to the second direction detecting means in the next step 901 in FIG.

【0083】ステップ901の基準座標F=1の判定で
は前記ステップ814からの処理なためYESになり、
ステップ906の新たな基準の形状のRAM2のラベル
Bかの判定に移行する。
In the determination of the reference coordinate F = 1 in step 901, since the processing is not performed from step 814, the determination is YES.
The process proceeds to step 906 to determine whether or not the label B of the RAM 2 has the new reference shape.

【0084】同ステップ906では、RAM2のラベル
BであるからYESの方向のステップ907に移行し、
RAM2のラベルBとCの重心、重心からの最長点、も
しくは、最短点から、重心を中心に最長点、もしくは、
最短点までの角度を計算し、次の第2回転ずれ量検出手
段7gのステップ908に移行し前記基準形状のRAM
2のラベルAと追尾形状RAM2のラベルCとのカメラ
回転による回転角度差R0を検出する。
In step 906, the flow advances to step 907 in the direction of YES because the label is the label B in the RAM2.
From the center of gravity of the labels B and C of the RAM 2, the longest point or the shortest point from the center of gravity, the longest point around the center of gravity, or
The angle to the shortest point is calculated, and the process proceeds to step 908 of the next second rotational deviation amount detecting means 7g, where the RAM of the reference shape is stored.
The rotation angle difference R0 due to the camera rotation between the label A of No. 2 and the label C of the tracking shape RAM 2 is detected.

【0085】同追尾形状RAM2のラベルCと新たな基
準の形状RAM2のラベルBは同画面内であるから新た
な基準の形状RAM2のラベルBの回転角度R01に前
記回転角度差R0を演算(R01−R0=RS)して、
最初に設定した基準形状の方向に一致する角度である新
たな基準の形状RAM2のラベルBの基準角度をRSに
設定する。前記ステップ901の判定でNOの場合に
は、ステップ903とステップ905に移行し、前記追
尾形状の回転ずれ量検出を行う。
Since the label C of the tracking shape RAM 2 and the label B of the new reference shape RAM 2 are within the same screen, the rotation angle difference R 0 is calculated from the rotation angle R 01 of the label B of the new reference shape RAM 2 (R 01 −R0 = RS)
The reference angle of the label B of the new reference shape RAM2, which is the angle that matches the direction of the initially set reference shape, is set to RS. If the determination in step 901 is NO, the process proceeds to steps 903 and 905, and the rotational displacement amount of the tracking shape is detected.

【0086】次に図12の第2座標補正手段7hのステ
ップ1002に移行し、新たな基準の形状RAM2ラベ
ルBかの判定を行い、YESならばステップ1003に
移行し前記新たな基準の形状RAM2ラベルBの重心を
中心に回転角度差R0(最初の基準形状の角度から移動
した角度)の移動方向と逆の方向に画像の座標を変更
(RAM2のラベルB)して、画像を正立像に補正す
る。そのRAM2のラベルBのデータをRAM2のラベ
ルAに置き換えて、基準形状のデータ格納場所を一つに
設定して、基準形状を新たな基準形状に変更する。
Then, the flow shifts to step 1002 of the second coordinate correcting means 7h in FIG. 12, and it is determined whether or not the label B is a new reference shape RAM2. If YES, the flow shifts to step 1003 to shift to the new reference shape RAM2. The coordinates of the image are changed in the direction opposite to the moving direction of the rotation angle difference R0 (the angle moved from the angle of the initial reference shape) about the center of gravity of the label B (label B of the RAM 2), and the image is turned into an erect image. to correct. The data of the label B of the RAM 2 is replaced with the label A of the RAM 2, the data storage location of the reference shape is set to one, and the reference shape is changed to a new reference shape.

【0087】前記ステップ1002がNOならば、ステ
ップ1001に移行し第2回転ずれ量検出手段7gで検
出した回転ずれ量と前記基準再指定手段部7eの新たな
基準の形状との角度差R0により、新たな基準形状と同
一の形状の回転の座標記録値を変更する。これにより、
フィールドメモリFM6に記録した各フレーム画像をメ
モリコントロール10が第2座標補正手段7hの出力で
制御され、画像メモリ11に記録することで、各基準形
状や同一の形状を正立像記録できる。
If NO in step 1002, the flow shifts to step 1001 to calculate the angle difference R0 between the rotational displacement detected by the second rotational displacement detecting means 7g and the new reference shape of the reference re-designating means 7e. Then, the coordinate record value of the rotation of the same shape as the new reference shape is changed. This allows
Each frame image recorded in the field memory FM6 is controlled by the output of the second coordinate correcting means 7h by the memory control 10 and is recorded in the image memory 11, whereby each reference shape or the same shape can be erected.

【0088】次の新たな基準形状も前記新たな基準形状
と同様に、カメラをパンもしくは、チルト方向の移動に
より、画面から消滅する場合があるので、前述同様に動
作し、更に、新たな基準の形状を設定し、その設定形状
と前記新たな基準の形状との回転角度差を前記同様の処
理で演算して検出し、それを、さらに新たな基準角度に
設定する。
The next new reference shape, like the new reference shape, may disappear from the screen by moving the camera in the pan or tilt direction, so that it operates in the same manner as described above. Is set, and the rotational angle difference between the set shape and the new reference shape is calculated and detected by the same processing as described above, and is further set to a new reference angle.

【0089】このような動作を繰り返すことにより、カ
メラ移動方向に次々と新たな基準形状の設定が行え、カ
メラ移動に伴って連続的に画像が変化しても、初めに設
定した正立像の基準形状を基に、新たな基準形状を設定
し、常に初めの正立像と同方向の正立像が設定できるた
め、カメラが移動し、かつ、回転しても撮影者や観察者
は、常時正立像が得られるので見やすい画像が得られ
る。
By repeating such an operation, new reference shapes can be set one after another in the camera movement direction. Even if the image continuously changes with the movement of the camera, the reference of the initially set erect image can be set. Based on the shape, a new reference shape can be set, and an erect image in the same direction as the first erect image can always be set. Therefore, even if the camera moves and rotates, the photographer or observer can always see the erect image. Is obtained, so that an easy-to-view image is obtained.

【0090】以上、基準再指定手段7e、第2追尾手段
7f、第2回転ずれ量検出手段7g、第2座標補正手段
7hにより、被写体が注目しているエリアより外れた場
合等において、新たな基準座標を設定し追尾,回転補正
をする実施の形態について述べたが、もちろん、この形
態だけがエリア外れに際しての対処の方法でない。その
一例として、基準再指定手段7eの機能を利用して、注
目しているエリアを抽出した形状が外れることを検出し
たなら、先ほど説明したように、エリア内の適当な被写
体を選択し、再度、第1基準指定手段7aで基準座標を
設定した動作と同様に、選択した被写体の抽出形状にラ
ベルAをつけ、RAM2に記録する。
As described above, the reference re-designating means 7e, the second tracking means 7f, the second rotational displacement amount detecting means 7g, and the second coordinate correcting means 7h provide a new method when the subject is out of the area of interest. Although the embodiment in which the reference coordinates are set and the tracking and the rotation are corrected have been described, it is needless to say that this embodiment is not the only method for coping with the out of the area. As an example, if the function of the reference re-designating means 7e is used to detect that the shape of the area of interest is out of shape, an appropriate subject in the area is selected as described above, and The label A is attached to the extracted shape of the selected subject and recorded in the RAM 2 in the same manner as the operation of setting the reference coordinates by the first reference specifying means 7a.

【0091】このように、再度、選択した抽出形状を基
準座標としたならば、その後は、第1の実施の形態で説
明した動作とまったく同様の動作を継続することにより
画像の回転補正等の動作が可能となる。このように、再
度選択した被写体を基準座標とする手段、基準座標再設
定手段と呼ぶとすると、この手段を図1の実施の形態に
追加するだけで、図4,図6で示した実施の形態と同様
な動作が可能となる。
As described above, if the selected extracted shape is again used as the reference coordinate, the operation exactly the same as the operation described in the first embodiment is continued, and the rotation of the image is corrected. Operation becomes possible. As described above, if the object selected again is referred to as a unit for setting the reference coordinates, or a reference coordinate resetting unit, this unit is simply added to the embodiment of FIG. The same operation as in the embodiment can be performed.

【0092】次に、同図の動作を図5を用いて、更に詳
細に説明する。図5aは、大木31を基準にした抽出画
像であり、重心G1、最長点T1、角度R1を前記第2
方向検出手段により検出する。次にカメラが右方向に移
動すると図5bのように画像が得られる。同画像の大木
31は、第2追尾手段7fにより、形状が判定され、そ
れを、第2方向検出手段により新たな重心G2、最長点
T2、角度R2を検出し、第2回転ずれ量検出手段7g
で前図5aとの回転ずれ量R1−R2を計算する。この
計算値を基に第2座標補正手段7hで、図5dのように
破線枠の大木31の重心G2を中心に角度をR1になる
ように画像回転し、最初の大木31の角度に画像が回転
補正されて正立像を得る。
Next, the operation of the figure will be described in more detail with reference to FIG. FIG. 5A is an extracted image based on the large tree 31. The center of gravity G1, the longest point T1, and the angle R1 are set in the second image.
It is detected by the direction detecting means. Next, when the camera moves rightward, an image is obtained as shown in FIG. 5B. The shape of the large tree 31 in the image is determined by the second tracking means 7f, and the shape is determined by the second direction detecting means to detect a new center of gravity G2, the longest point T2, and the angle R2. 7g
Then, the rotational deviation R1-R2 from FIG. 5A is calculated. Based on this calculated value, the image is rotated by the second coordinate correcting means 7h so that the angle becomes R1 around the center of gravity G2 of the large tree 31 in the broken line frame as shown in FIG. An erect image is obtained by rotation correction.

【0093】また、前記図5bにおいて、大木31の座
標が画面上の端部付近であるから、その反対方向の同色
の形状の小木33を抽出し、それを新たな基準形状に設
定し、同時に重心G3、最長点T3、角度R3を計算す
る。更にその値と、前図5aとの回転ずれ量R1−R2
と小木33の角度R3との角度差R3−(R1−R2)
を求めて、最初の正立像の角度R1に相当する角度を得
る。これが新たな基準形状の基準角度になる。
In FIG. 5B, since the coordinates of the large tree 31 are near the end of the screen, a small tree 33 of the same color in the opposite direction is extracted and set as a new reference shape. The center of gravity G3, the longest point T3, and the angle R3 are calculated. Further, the value and the rotational deviation R1-R2 between FIG.
Difference R3- (R1-R2) between the angle and the angle R3 of the small tree 33
To obtain an angle corresponding to the angle R1 of the first erect image. This becomes the reference angle of the new reference shape.

【0094】次に図5cにカメラが移動すると、小木3
3は、重心G4、最長点T4、角度R4になり、この値
と前記図5bの小木33で設定した新たな基準形状の基
準角度R3−(R1−R2)との角度差R4−R3−
(R1−R2)により、最初の基準形状との回転ずれ量
が検出でき、前記同様に図5cの出力形状の座標記録値
が変更される。最終的に同図が図5eの様に正立像記録
され、また、表示される。ここで、画像メモリ11のア
ドレスは、前記座標記録値と一対一に対応するように、
カメラの静止画記録が終了時にメモリ全体の総合アドレ
ス値から修正された個々のアドレス(各フレームに相
当)を設定する。
Next, when the camera moves to FIG.
3 is the center of gravity G4, the longest point T4, and the angle R4, and the angle difference R4-R3- between this value and the reference angle R3- (R1-R2) of the new reference shape set by the small tree 33 in FIG. 5B.
By (R1-R2), the amount of rotation deviation from the initial reference shape can be detected, and the coordinate recording value of the output shape in FIG. Finally, FIG. 5E shows an erect image recorded and displayed as shown in FIG. 5E. Here, the addresses of the image memory 11 correspond one-to-one with the coordinate record values,
When the recording of the still image by the camera is completed, an individual address (corresponding to each frame) corrected from the total address value of the entire memory is set.

【0095】また、以上の形状抽出において、画面中央
部の抽出形状が、画面の端までかかるような大きな形状
の場合では、画面の端、もしくは、特定領域の座標が予
め解っているので、これを検出し、抽出形状内で、別の
色の形状を抽出し設定をやり直すことにより、画面の端
にかからない形状、もしくは、特定領域外の形状を得る
ようにプログラムを変更する。
In the above shape extraction, if the extracted shape at the center of the screen is a large shape extending to the edge of the screen, the coordinates of the edge of the screen or the specific area are known in advance. Is detected, a shape of another color is extracted from the extracted shape, and the setting is redone, so that the program is changed so as to obtain a shape that does not cover the edge of the screen or a shape outside the specific area.

【0096】さらに、画像情報の色設定において、前述
のように予め抽出画像の色情報を検出し、その検出デー
タを用いた色指定の方法により、色検出動作を行っても
良い。なお、以上の形状の回転角度を基準形状と同一の
形状の追尾形状の重心からの最長点、もしくは、最短点
の方向の角度差から述べているが、これに、限定するも
のでなく、従来、「画像処理産業応用総覧」の、上巻、
発行日1994年1月17日、発行所;フジ・テクノシ
ス(株)409ページに記載されている円要素法や直線
要素法を用いて実現しても良い。
Further, in the color setting of the image information, the color information of the extracted image may be detected in advance as described above, and the color detection operation may be performed by a color designation method using the detected data. Note that the rotation angle of the above shape is described from the angle difference in the direction of the longest point or the shortest point from the center of gravity of the tracking shape of the same shape as the reference shape, but is not limited thereto, and , "Image Processing Industry Application Directory"
It may be realized by using a circle element method or a linear element method described on page 409, issued on January 17, 1994, Fujitsu Technosys, Inc.

【0097】ここで、円要素法は円形形状において、穴
のような局所的な特徴に着目して、基準円形状と追尾円
形状の重心を中心にして穴のような局所的な特徴を通る
ように円形ラインを発生し、基準円形状の局所穴点と追
尾円形状の局所穴点の合計2点の変化点と重心との角度
から回転ずれ量を計算する方法であり、直線要素法は、
直線からなる基準形状において、基準形状と追尾形状の
各々の線分の傾きを求め、同一の線分の交点を原点と
し、傾きを回転ずれ量にする方法であるが詳細は省略す
る。
Here, the circular element method focuses on a local feature such as a hole in a circular shape, and passes through a local feature such as a hole around the center of gravity of the reference circular shape and the tracking circular shape. In this method, a circular line is generated, and the amount of rotation deviation is calculated from the angle of the center of gravity and the change point of a total of two local hole points of the reference circular shape and the local hole point of the tracking circular shape. ,
In the reference shape composed of straight lines, the gradient of each line segment of the reference shape and the tracking shape is determined, and the intersection point of the same line segment is set as the origin, and the gradient is set as the amount of rotation deviation, but the details are omitted.

【0098】次に第3の一実施形態を図6を用いて以下
説明する。同図において、前述図1〜図5と同機能のも
のは、同一番号で示し、説明を省略する。
Next, a third embodiment will be described below with reference to FIG. In the figure, components having the same functions as those in FIGS. 1 to 5 are denoted by the same reference numerals, and description thereof will be omitted.

【0099】図6において7iは追尾形状表示手段、7
jは演算手段であり、キー14操作の指示による表示回
転角度、または、重力センサより得られた回転角度等と
前述基準形状との回転ずれ量とを演算して、表示の像方
向を制御する。
In FIG. 6, reference numeral 7i denotes tracking shape display means;
Reference numeral j denotes a calculating unit that calculates the rotation angle of the display by the operation of the key 14 or the rotation angle obtained from the gravity sensor and the amount of rotation deviation from the reference shape to control the image direction of the display. .

【0100】なお、重力センサは図示しないが、従来例
(特願平8−319069)において述べたものと同様
なものでよいことはいうまでもない。
Although the gravity sensor is not shown, it is needless to say that it may be the same as that described in the conventional example (Japanese Patent Application No. Hei 8-319069).

【0101】7kは演算手段7jにより、基準形状の重
心を中心に画面上の座標を回転補正する像方向補正手段
である。
Reference numeral 7k denotes an image direction correcting means for correcting the rotation of the coordinates on the screen about the center of gravity of the reference shape by the calculating means 7j.

【0102】次に動作を述べる。表示装置の表示面を回
転する前に正立像を指定しその形状を抽出し、それを前
記同様に基準形状にする。その後、撮影者の表示面方向
のみを例えば右90度回転した場合、撮影者のキー14
操作、もしくは、表示装置と一体の前記重力センサの出
力により検知し、右90度回転指示を行う。
Next, the operation will be described. Before the display surface of the display device is rotated, an erect image is designated, its shape is extracted, and it is made a reference shape in the same manner as described above. Thereafter, when only the photographer's display surface direction is rotated, for example, 90 degrees to the right, the photographer's key 14
An operation or an output from the gravity sensor integrated with the display device is detected, and a right rotation instruction is performed by 90 degrees.

【0103】この場合、撮影者のキー14操作、あるい
は、重力センサが像の新たな方向を設定する像方向設定
手段として使用される。
In this case, the photographer operates the key 14 or the gravity sensor is used as image direction setting means for setting a new image direction.

【0104】このように検知した信号を、RISC−C
PU7の演算手段7jの一方に入力する。その演算手段
7jの他方には、前記した正立像を基準の形状とし、同
一の形状の回転ずれ量を検出し入力する。両入力を演算
した回転ずれ量により、像方向補正手段7kで右90度
回転表示に変更と同時に基準形状より微妙に変化した追
尾形状の回転が修正されて、リアルタイムに正立像をカ
ラー液晶表示手段16で表示する。これにより、撮影者
は、表示面を回転させても、正立像を常時得られる。ま
た、画像メモリ11には、像方向補正手段7kで表示面
を90度回転した画像に修正されているので、その値
で、画像を記録する。なお、この反対に90度元に戻し
た表示面で画像メモリ11に記録しても、再生時の表示
面の方向により変わるので、どちらの方向でも良く。限
定するものでない。
[0104] The signal detected in this way is converted into a RISC-C
It is input to one of the calculation means 7j of the PU 7. The erect image described above is used as a reference shape, and the amount of rotational deviation of the same shape is detected and input to the other of the arithmetic means 7j. The rotation of the tracking shape, which has slightly changed from the reference shape, is corrected by the image direction correction means 7k by changing the rotation direction calculated by the two inputs to the 90-degree right rotation display at the same time, and the erect image is displayed in real time on the color liquid crystal display means. Displayed at 16. Thus, the photographer can always obtain an erect image even if the display surface is rotated. Further, in the image memory 11, since the image is corrected by the image direction correcting means 7k into an image obtained by rotating the display surface by 90 degrees, the image is recorded with that value. Conversely, even if the image is recorded in the image memory 11 on the display surface that has been returned to the original position by 90 degrees, the direction changes depending on the direction of the display surface during reproduction. It is not limited.

【0105】また、前記基準の形状の抽出を表示装置の
表示面の回転後に行う場合には、撮影者のキー14操
作、もしくは、重力センサにより、例えば右90度回転
指示信号を演算手段7jの一方に入力し、像を右90度
回転して撮影者に正立表示する。その後、表示内の正立
像の基準の形状を抽出し前述同様の処置により、基準形
状からの回転ずれ量を検出する。これを、RISC−C
PU7の演算手段7jの他方に入力する。
When the reference shape is extracted after the rotation of the display surface of the display device, for example, an operation signal of the photographer is operated by the key 14 of the photographer or a gravity sensor to generate a 90-degree right rotation instruction signal. One is input and the image is rotated 90 degrees to the right and displayed upright to the photographer. Thereafter, the reference shape of the erect image in the display is extracted, and the amount of rotation deviation from the reference shape is detected by the same treatment as described above. This is called RISC-C
It is input to the other of the operation means 7j of the PU 7.

【0106】演算手段7jの入力値は前述の表示面を回
転する前と同様なので前記同様の処理が行れ、撮影者
は、表示面を回転させても、正立像を常時得られる。
Since the input values of the calculating means 7j are the same as before the rotation of the display surface, the same processing as described above is performed, and the photographer can always obtain an erect image even if the display surface is rotated.

【0107】以上述べたように、表示面回転の指示の前
後に基準形状を設定しても常時正立像表示が得られる。
As described above, an erect image display is always obtained even when the reference shape is set before and after the instruction to rotate the display surface.

【0108】以上の画像回転処理を行うRISC−CP
U7の一例として、回転角度14度で93ns/画素
(4ビット画素)を処理するものが考えられる。
RISC-CP for performing the above image rotation processing
As an example of U7, processing of 93 ns / pixel (4-bit pixel) at a rotation angle of 14 degrees can be considered.

【0109】例えば、25万画素/8ビットで、回転角
度14度補正するには、月刊誌「電子材料」の1992
年4月号128ページ〜133ページ記載のデータによ
れば、約46,5msかかる。よって、これ一つではTV
のフレーム周期に間に合わないが、これを複数個用いて
並列に処理することにより、TVのフレーム周期に間に
合ったリアルタイムな処理が可能になる。
For example, in order to correct a rotation angle of 14 ° with 250,000 pixels / 8 bits, the monthly magazine “Electronic Materials”, 1992
According to the data described on pages 128 to 133 in the April issue, it takes about 46.5 ms. Therefore, this one is TV
However, real-time processing in time for the TV frame period can be performed by using a plurality of these in parallel and performing processing in parallel.

【0110】なお、撮像装置からの映像信号をインタリ
ーブ走査で述べているが、これに限定するものでなく、
ノンインタリーブ走査でもよい。この場合、画面の縦方
向アドレスのカウントは順番に行えば良いので構成が簡
単になることは言うまでもない。
Although the video signal from the imaging device is described by interleaved scanning, the present invention is not limited to this.
Non-interleaved scanning may be used. In this case, it is needless to say that the configuration of the screen can be simplified since the vertical address of the screen can be counted in order.

【0111】以上、画面上で注目している被写体の回転
をできるだけ押さえることに着目して実施の形態を説明
してきたが、撮影を行うにあたって、この形態に限らな
いことは言うまでもない。
Although the embodiment has been described above by focusing on minimizing the rotation of the object of interest on the screen as a matter of course, it is needless to say that the present invention is not limited to this mode when performing photographing.

【0112】例えば、被写体によっては種々の動きをす
るものもあるため、被写体が回転したのか撮影するカメ
ラ自体が回転したのか不明の場合がある。そのため、あ
る程度の回転方向の補正効果を持たせておき、時間の経
過とともに補正の効果を薄れさせるように構成してもよ
い。以下、この仕様にそった実施の形態について、図1
3のブロック構成図を用いて説明する。
For example, since some objects move in various ways, it is sometimes unclear whether the object has rotated or the camera that shoots has rotated. Therefore, a configuration may be adopted in which a certain degree of rotational direction correction effect is provided, and the correction effect fades over time. Hereinafter, an embodiment according to this specification will be described with reference to FIG.
This will be described with reference to the block diagram of FIG.

【0113】同図において、前述した図1〜図3、及
び、図7〜図9と同機能のものは、同一番号で示し、説
明を省略する。
In the figure, those having the same functions as those in FIGS. 1 to 3 and FIGS. 7 to 9 described above are denoted by the same reference numerals, and description thereof will be omitted.

【0114】7Lは前述した基準座標の再設定手段であ
り、特定エリア外に抽出形状が移動した場合に、別の被
写体に対して基準座標を再設定し追尾を続けるものであ
る。7mは補正量調整手段であり、第1回転ずれ量検出
手段7cで検出した回転ずれ量の変化がある一定以上大
きい場合、第1座標補正手段7dでの補正量を一定以下
に限定することにより過補正を防止し、また、基準座標
の再設定手段7Lで検出している抽出形状の移動量が中
心より一定量外れた場合、第1基準指定手段7aの再設
定を行うことにより、前述した基準座標の再設定手段7
aが本来制御していた再設定の頻度よりさらに高頻度に
再設定を繰り返すことにより、ほぼ画面中央の被写体の
回転方向のブレを抑圧することが可能なように構成して
いる。
The reference coordinate resetting means 7L resets the reference coordinates for another subject and continues tracking when the extracted shape moves outside the specific area. Reference numeral 7m denotes a correction amount adjusting means. When a change in the rotational displacement detected by the first rotational displacement detecting means 7c is larger than a certain value, the correction amount by the first coordinate correcting means 7d is limited to a certain value or less. In the case where the over-correction is prevented, and the movement amount of the extracted shape detected by the reference coordinate resetting means 7L deviates from the center by a certain amount, the first reference specifying means 7a is reset to perform the above-described operation. Reference coordinate resetting means 7
By repeating the resetting more frequently than the resetting frequency originally controlled by “a”, it is possible to suppress the blur in the rotation direction of the subject substantially at the center of the screen.

【0115】もちろん、画面中央のみでなく、特定のエ
リアを設けて再設定の開始を検出してもよく、あるい
は、特定エリアに近づくにしたがって回転のずれ量の補
正量を低減し、中央から外れた被写体の場合には、回転
の補正を弱めに行うようにするように構成してもよいこ
とは言うまでもない。
Of course, the start of resetting may be detected by providing a specific area in addition to the center of the screen, or the correction amount of the rotational deviation may be reduced as approaching the specific area to deviate from the center. Needless to say, in the case of a subject, the correction of rotation may be made weaker.

【0116】[0116]

【発明の効果】前述したように、本発明によれば、初期
に撮像画像内の正立像を指定し、その指定色の形状をリ
アルタイムに抽出し、その抽出形状を最初に設定した形
状からの回転ずれ量を演算処置して検出し、回転ずれし
た像を前記初期に設定した正立像の形状の方向にリアル
タイムに補正し、表示するので高速に画像が回転しても
常時正立像表示できるので、画像を見易くし、視覚疲労
や、めまいを防止する効果がある。
As described above, according to the present invention, an erect image is initially specified in a captured image, the shape of the specified color is extracted in real time, and the extracted shape is determined from the initially set shape. The rotational displacement amount is calculated and detected, and the rotationally displaced image is corrected in real time in the direction of the initially set erect image shape and displayed, so that even when the image rotates at high speed, the erect image can always be displayed. This has the effect of making images easier to see and preventing visual fatigue and dizziness.

【0117】また、初期に設定した正立像の形状を基準
にした形状の角度を維持するように補正し、表示するの
で、その基準にした正立像の追尾した同一の形状が連続
的に回転した場合でも、背景画面のみが回転し、基準形
状の正面方向は常に変わらないので、基準形状を常時正
立像で監視・観察できる効果がある。
Further, since the correction is performed so as to maintain the angle of the shape based on the shape of the erect image initially set as the reference and the display is performed, the same shape following the erect image based on the reference is continuously rotated. Even in this case, since only the background screen rotates and the front direction of the reference shape does not always change, there is an effect that the reference shape can always be monitored and observed with an erect image.

【0118】また、表示部の表示面方向の切り換えに応
じて、正立像方向を補正するので、表示部の表示方向の
みが変わっても、常時正立像表示できるので、見易く、
かつ、使い勝手が良い効果がある。
Further, since the erect image direction is corrected in accordance with the switching of the display surface direction of the display unit, the erect image can be always displayed even if only the display direction of the display unit is changed.
In addition, there is an effect that is easy to use.

【0119】また、最初の正立像の基準の形状から、撮
影画像が移動して得た新たな基準の形状の回転を最初の
正立像の方向に設定できるので、撮影領域が広範囲に、
画像回転の常時正立像表示が行える効果がある。
Further, since the rotation of the new reference shape obtained by moving the photographed image can be set in the direction of the first erect image from the reference shape of the first erect image, the photographing area can be widened.
There is an effect that an erect image can always be displayed during image rotation.

【0120】また、VTRやビデオカメラ等の一連の入
力画像を上記同様の処理が行えるので、画像回転の常時
正立像表示が行える効果がある。
Further, since a series of input images from a VTR, a video camera or the like can be subjected to the same processing as described above, there is an effect that an erect image can always be displayed by rotating the image.

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

【図1】本発明の第1実施形態である画像表示装置の回
路ブロックを示す構成図。
FIG. 1 is a configuration diagram showing circuit blocks of an image display device according to a first embodiment of the present invention.

【図2】本発明の第1実施形態の形状抽出手段の詳細に
回路ブロックを示す構成図。
FIG. 2 is a configuration diagram showing a circuit block in detail of a shape extraction unit according to the first embodiment of the present invention.

【図3】本発明の第1実施形態の画像の表示を示す図。FIG. 3 is a view showing display of an image according to the first embodiment of the present invention.

【図4】本発明の第2実施形態である画像表示装置の回
路ブロックを示す構成図。
FIG. 4 is a configuration diagram showing circuit blocks of an image display device according to a second embodiment of the present invention.

【図5】本発明の第2実施形態の画像の表示を示す図。FIG. 5 is a diagram showing a display of an image according to a second embodiment of the present invention.

【図6】本発明の第3実施形態である画像表示装置の回
路ブロックを示す構成図。
FIG. 6 is a configuration diagram showing circuit blocks of an image display device according to a third embodiment of the present invention.

【図7】本発明の第1実施形態の第1基準指定手段のフ
ローチャート。
FIG. 7 is a flowchart of a first reference specifying unit according to the first embodiment of the present invention.

【図8】本発明の第1実施形態の第1追尾手段と第1回
転ずれ量検出手段のフローチャート。
FIG. 8 is a flowchart of a first tracking unit and a first rotational deviation amount detecting unit according to the first embodiment of the present invention.

【図9】本発明の第1実施形態の第1座標補正手段のフ
ローチャート。
FIG. 9 is a flowchart of a first coordinate correction unit according to the first embodiment of the present invention.

【図10】本発明の第2実施形態の再指定手段と第2追
尾手段のフローチャート。
FIG. 10 is a flowchart of a re-designating unit and a second tracking unit according to the second embodiment of the present invention.

【図11】本発明の第2実施形態の第2回転ずれ量検出
手段のフローチャート。
FIG. 11 is a flowchart of a second rotational displacement amount detecting unit according to the second embodiment of the present invention.

【図12】本発明の第2実施形態の第2座標補正手段回
路のフローチャート。
FIG. 12 is a flowchart of a second coordinate correcting circuit according to the second embodiment of the present invention;

【図13】本発明の第4実施形態である画像表示装置の
ブロックを示す構成図。
FIG. 13 is a configuration diagram showing blocks of an image display device according to a fourth embodiment of the present invention.

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

1…光学系部、2…撮像素子、5…カメラ信号処理部、
6…フィールドメモリFM、7…RISC−CPU、7
a…第1基準指定手段、7b…第1追尾手段、7c…第
1回転ずれ量検出手段、7d…第1座標補正手段、7e
…基準再指定手段、7f…第2追尾手段、7g…第2回
転ずれ量検出手段、7h…第2座標補正手段、7i…追
尾形状表示手段、7j…演算手段、7k…像方向補正手
段、8…形状抽出手段、10…メモリコントロール、1
1…画像メモリ、16…カラー液晶表示手段、21…規
格化部、22…論理和部A、23…論理和部B、24…
フィルター部A、25…フィルター部B。
DESCRIPTION OF SYMBOLS 1 ... Optical system part, 2 ... Image sensor, 5 ... Camera signal processing part,
6 field memory FM, 7 RISC-CPU, 7
a: first reference designating means, 7b: first tracking means, 7c: first rotational displacement amount detecting means, 7d: first coordinate correcting means, 7e
... reference re-designating means, 7f ... second tracking means, 7g ... second rotational displacement amount detecting means, 7h ... second coordinate correcting means, 7i ... tracking shape displaying means, 7j ... calculating means, 7k ... image direction correcting means, 8 ... shape extraction means, 10 ... memory control, 1
DESCRIPTION OF SYMBOLS 1 ... Image memory, 16 ... Color liquid crystal display means, 21 ... Normalization part, 22 ... Logical sum part A, 23 ... Logical sum part B, 24 ...
Filter parts A, 25 ... Filter part B.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G06F 15/66 350A 15/70 410 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 6 Identification code FIG06F 15/66 350A 15/70 410

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】光学像を電気信号に変換し画像情報を出力
する撮像手段、もしくは、一連の画像情報を入力して出
力する入出力手段と、前記撮像手段、もしくは、前記入
出力手段からの出力画像情報中の指定色と前記指定色の
輝度を検出して、同画像内の指定に従って得られた形状
を抽出する形状抽出手段と、前記形状抽出手段により得
られた画面上の形状の中で座標、重心の位置、方向等の
特徴を追尾するための基準として設定する第1の基準指
定手段と、前記第1の基準指定手段で指定された基準の
形状と同一の形状を抽出しつつ追尾する第1の追尾手段
と、前記第1の基準指定手段や前記第1の追尾手段によ
り得られた画面上の形状の重心から、特定点、もしく
は、特定直線部の方向を検出する第1の方向検出手段
と、前記第1の基準指定手段により指定された基準の形
状から前記第1の方向検出手段により検出された方向を
基に、前記第1の追尾手段により抽出された形状から前
記第1の方向検出手段により検出された方向との回転ず
れ量を検出する第1の回転ずれ量検出手段と、前記第1
の回転ずれ量検出手段の回転ずれ量を基にして、前記第
1の追尾手段により得られた画面上の形状の重心、もし
くは、前記特定直線部の交点、もしくは、前記特定直線
部の直線上の交点を中心に画面上の座標を回転補正し、
前記第1の基準指定手段により指定された基準の形状の
方向に合致させた出力画像を得る第1の座標補正手段
と、前記第1の座標補正手段の出力画像を記録する第1
の記録手段、もしくは、表示する第1の表示手段とから
なることを特徴とする画像表示装置。
An imaging unit for converting an optical image into an electric signal and outputting image information, or an input / output unit for inputting and outputting a series of image information; A shape extracting means for detecting a designated color in the output image information and the luminance of the designated color and extracting a shape obtained according to the designation in the image; A first reference designating unit that is set as a reference for tracking features such as coordinates, a position of a center of gravity, and a direction, while extracting the same shape as the reference shape designated by the first reference designating unit. A first tracking means for tracking, and a first point for detecting a direction of a specific point or a specific linear portion from a center of gravity of a shape on a screen obtained by the first reference designating means or the first tracking means. Direction detecting means, and the first reference finger A direction detected by the first direction detecting means from a shape extracted by the first tracking means, based on a direction detected by the first direction detecting means from a reference shape specified by the means; First rotational deviation amount detecting means for detecting the rotational deviation amount of the first motor;
The center of gravity of the shape on the screen obtained by the first tracking means, or the intersection of the specific linear portion, or the straight line of the specific linear portion, based on the rotational deviation amount of the rotational deviation amount detecting means. Rotate the coordinates on the screen around the intersection of
First coordinate correcting means for obtaining an output image matched with the direction of the reference shape specified by the first reference specifying means; and a first recording means for recording the output image of the first coordinate correcting means.
An image display device comprising: a recording unit of (1) or a first display unit for displaying.
【請求項2】特許請求の範囲の請求項1に記載した画像
表示装置において、前記第1の基準指定手段により設定
し抽出された基準の形状と同一の形状が画面上の指定し
た特定領域へ移動した場合、もしくは、規定量以上移動
した場合に、移動した形状の占める場所とは別の場所に
おいて新たに基準となる形状を指定し、前記指定された
新たな基準となる形状の座標、重心の位置、方向等を新
たな基準として設定し、さらに、前記新たに基準となる
形状として指定した形状と同一の形状が画面上の指定し
た特定領域へ移動した場合、もしくは、規定量以上移動
した場合に、更に、前記新たに基準となる形状を指定す
る設定動作を繰り返す基準の再指定手段と、前記第1の
基準指定手段と前記基準の再指定手段で指定された基準
の形状と同一の形状を追尾する第2の追尾手段と、前記
第1の基準指定手段、前記基準の再指定手段、及び、前
記第2の追尾手段により得られた画面上の形状の重心か
ら、特定点、もしくは、特定直線部の方向を検出する第
2の方向検出手段と、前記第2の方向検出手段により得
られた前記第1の基準指定手段、もしくは、前記基準の
再指定手段により指定された基準の形状の方向を基に、
前記第2の追尾手段により得られた画面上の形状の方向
の回転ずれ量を検出する第2の回転ずれ量検出手段と、
前記第2の回転ずれ量検出手段により検出された回転ず
れ量を基にして、前記第2の追尾手段により得られた画
面上の形状の重心、もしくは、前記特定直線部の交点、
もしくは、前記特定直線部の直線上の交点を中心に画面
上の座標を回転補正し、前記第1の基準指定手段により
指定された基準の形状の方向に合致させた出力画像を得
る第2の座標補正手段と、前記第2の座標補正手段の出
力画像を記録する第2の記録手段、もしくは、表示する
第2の表示手段とからなることを特徴とする画像表示装
置。
2. The image display device according to claim 1, wherein the same shape as the reference shape set and extracted by said first reference designating means is assigned to a designated specific area on a screen. When moving, or when moving more than a specified amount, a new reference shape is designated in a location different from the location occupied by the moved shape, and the coordinates and center of gravity of the designated new reference shape are designated. Position, direction, etc. are set as a new reference, and if the same shape as the shape specified as the new reference shape has moved to a specified specific area on the screen, or has moved a specified amount or more. In this case, further, a reference re-designating means for repeating the setting operation for designating the new reference shape, and the same reference shape specified by the first reference designating means and the reference re-designating means. form From the center of gravity of the shape on the screen obtained by the second tracking means, the first reference designating means, the reference re-designating means, and the second tracking means. A second direction detecting means for detecting the direction of the specific linear portion, and a reference shape specified by the first reference specifying means obtained by the second direction detecting means, or the reference re-designating means Based on the direction of
A second rotational shift amount detecting means for detecting a rotational shift amount in the direction of the shape on the screen obtained by the second tracking means;
On the basis of the rotational displacement detected by the second rotational displacement detecting means, the center of gravity of the shape on the screen obtained by the second tracking means, or the intersection of the specific linear portion,
Alternatively, a second correction is performed in which the coordinates on the screen are rotationally corrected about an intersection on the straight line of the specific straight line portion to obtain an output image matched with the direction of the reference shape specified by the first reference specifying means. An image display apparatus comprising: a coordinate correcting unit; and a second recording unit that records an output image of the second coordinate correcting unit, or a second display unit that displays the output image.
【請求項3】特許請求の範囲の請求項1、及び、請求項
2に記載した画像表示装置において、前記第1,第2の
表示手段の像表示方向を設定する像方向設定手段と、前
記像方向設定手段の出力と前記第1の回転ずれ量検出手
段、もしくは、第2の回転ずれ量検出手段の出力と、前
記像方向設定手段の出力とを入力して表示方向を演算す
る演算手段と、前記演算手段の出力で画像表示方向を補
正する像方向補正手段と、前記像方向補正手段の出力画
像を記録する第3の記録手段、もしくは、表示する第3
画像表示手段からなることを特徴とする画像表示装置。
3. The image display device according to claim 1, wherein the image display direction setting means sets an image display direction of the first and second display means. Arithmetic means for inputting the output of the image direction setting means, the output of the first rotational deviation amount detecting means or the output of the second rotational deviation amount detecting means, and the output of the image direction setting means to calculate the display direction An image direction correcting means for correcting an image display direction by an output of the calculating means; a third recording means for recording an output image of the image direction correcting means;
An image display device comprising image display means.
JP10002785A 1998-01-09 1998-01-09 Image display device Pending JPH11205654A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10002785A JPH11205654A (en) 1998-01-09 1998-01-09 Image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10002785A JPH11205654A (en) 1998-01-09 1998-01-09 Image display device

Publications (1)

Publication Number Publication Date
JPH11205654A true JPH11205654A (en) 1999-07-30

Family

ID=11539014

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10002785A Pending JPH11205654A (en) 1998-01-09 1998-01-09 Image display device

Country Status (1)

Country Link
JP (1) JPH11205654A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004151771A (en) * 2002-10-28 2004-05-27 Earth Beat Inc Method of recognizing object in image
KR100641456B1 (en) 2005-01-05 2006-10-31 엘지전자 주식회사 Image rotating method of mobile device
JP2007518171A (en) * 2004-01-06 2007-07-05 トムソン ライセンシング Method and apparatus for detecting image orientation
GB2481027A (en) * 2010-06-08 2011-12-14 Dreampact Ltd Image stabilising apparatus and method
JP2015029227A (en) * 2013-07-30 2015-02-12 キヤノン株式会社 Electronic apparatus and control method therefor

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004151771A (en) * 2002-10-28 2004-05-27 Earth Beat Inc Method of recognizing object in image
JP2007518171A (en) * 2004-01-06 2007-07-05 トムソン ライセンシング Method and apparatus for detecting image orientation
JP4896739B2 (en) * 2004-01-06 2012-03-14 トムソン ライセンシング Method and apparatus for detecting image orientation
US8233743B2 (en) 2004-01-06 2012-07-31 Thomson Licensing Method and device for detecting the orientation of an image
KR100641456B1 (en) 2005-01-05 2006-10-31 엘지전자 주식회사 Image rotating method of mobile device
GB2481027A (en) * 2010-06-08 2011-12-14 Dreampact Ltd Image stabilising apparatus and method
JP2015029227A (en) * 2013-07-30 2015-02-12 キヤノン株式会社 Electronic apparatus and control method therefor

Similar Documents

Publication Publication Date Title
US5060074A (en) Video imaging apparatus
US9531965B2 (en) Controller in a camera for creating a registered video image
AU2012256370B2 (en) Panorama processing
US7834907B2 (en) Image-taking apparatus and image processing method
JP5710589B2 (en) Improved handheld screen detection pointer
US9544498B2 (en) Method for forming images
EP2330812B1 (en) Apparatus for generating a panoramic image, method for generating a panoramic image, and computer-readable medium
WO2007016318A2 (en) Real-time preview for panoramic images
JP2011254151A (en) Moving image reproduction device, moving image reproduction method, and program
US20170111574A1 (en) Imaging apparatus and imaging method
KR101778744B1 (en) Monitoring system through synthesis of multiple camera inputs
JP2009089220A (en) Imaging apparatus
JPH11205654A (en) Image display device
US6876387B1 (en) Digital zoom-out processing apparatus
US20130343635A1 (en) Image processing apparatus, image processing method, and program
JP5267279B2 (en) Image composition apparatus and program
FR2693868A1 (en) Twin surveillance cameras allowing combined images on monitor - has combiner to insert image from smaller-angle hand-controlled movable camera in frame from wide-angled fixed camera
JPH05344318A (en) Picture inputting device
JP2012099887A (en) Imaging device
JPH04314274A (en) Video camera with video image blur correction function
JP2008270983A (en) Camera shake correction device and camera shake correction method
EP3595287A1 (en) Capturing video content with at least two cameras of a multi-camera rig
JPH06153051A (en) Mobile objection tracking image pickup device
CN117425000B (en) Immersive video inspection monitoring system based on panoramic shooting
KR20150045080A (en) Method for compensating image for low vision person and apparatus for the same

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees