JP3333012B2 - Image synthesis device - Google Patents

Image synthesis device

Info

Publication number
JP3333012B2
JP3333012B2 JP22615493A JP22615493A JP3333012B2 JP 3333012 B2 JP3333012 B2 JP 3333012B2 JP 22615493 A JP22615493 A JP 22615493A JP 22615493 A JP22615493 A JP 22615493A JP 3333012 B2 JP3333012 B2 JP 3333012B2
Authority
JP
Japan
Prior art keywords
reference block
image
area
image data
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22615493A
Other languages
Japanese (ja)
Other versions
JPH0785246A (en
Inventor
康達 王
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Optic Co 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 Olympus Optic Co Ltd filed Critical Olympus Optic Co Ltd
Priority to JP22615493A priority Critical patent/JP3333012B2/en
Publication of JPH0785246A publication Critical patent/JPH0785246A/en
Priority to US08/796,619 priority patent/US6128416A/en
Application granted granted Critical
Publication of JP3333012B2 publication Critical patent/JP3333012B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)
  • Facsimile Scanning Arrangements (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、互いにオーバーラップ
領域を有する複数のデジタル画像(2値画像)を好適に
合成する画像合成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image synthesizing apparatus for suitably synthesizing a plurality of digital images (binary images) having mutually overlapping areas.

【0002】[0002]

【従来の技術】従来、2枚以上のデジタル画像(2値画
像)等を合成する際に、互いの画像の端部等には合成に
よって重なり合う領域すなわち、オーバラップ領域がで
きる。このオーバーラップ領域内では、合成される画像
側の画素の位置と、合成する画像側の画素の位置との間
にずれが生じるが、種々の手法によって位置や濃度等が
補正され、繋りよく合成されている。
2. Description of the Related Art Conventionally, when two or more digital images (binary images) and the like are combined, an overlap region, that is, an overlap region, is formed at the end of each image by combining. In this overlap region, a difference occurs between the position of the pixel on the image side to be combined and the position of the pixel on the image side to be combined. Has been synthesized.

【0003】例えば、特開昭63−64180号公報に
は、ハンドスキャナを用いて、大型の画像をイメージ画
像として入力した際に、ハンドスキャナの撮影できる範
囲はある程度に制限されるため、複数のブロックに分割
して撮影入力し、再現する場合に各ブロックごとにイメ
ージ画像を重畳して合成し(マッチング)、合成画像や
大型画像を再現する合成方式が記載されている。
For example, Japanese Patent Application Laid-Open No. 63-64180 discloses that when a large image is input as an image using a hand scanner, the range that can be photographed by the hand scanner is limited to a certain extent. A description is given of a synthesizing method in which, when the image is divided into blocks, captured and input, and reproduced, an image image is superimposed and synthesized for each block (matching) to reproduce a synthesized image or a large image.

【0004】また、特開平3−182976号公報に
は、合成する画像の濃度が等しくなるように変換して2
値化処理を行い、各画像に特定の粒子状の重心を求め
て、マッチングをとる合成方法が記載されている。
Japanese Patent Application Laid-Open No. Hei 3-182976 discloses a method of converting images to be synthesized so that the densities of the images to be synthesized become equal.
A synthesizing method is described in which a binarization process is performed, a specific particle-shaped center of gravity is obtained for each image, and matching is performed.

【0005】[0005]

【発明が解決しようとする課題】前述した各公報におい
ては、合成する際にオーバーラップ領域内のある範囲の
領域(エリア)を基準となるブロック(基準ブロック)
として定め、これに基づき、種々の補正を施して複数の
画像を合成処理している。
In each of the above publications, a block (reference block) is used as a reference for a certain range of area (area) in the overlap area when combining.
, And based on this, various corrections are performed to synthesize a plurality of images.

【0006】つまり、基準ブロックの設定は、画像内の
一定領域のある位置に固定しておく方式と、オペレータ
がマニュアルで画像内の任意の位置に指定する方式があ
る。前述した特開昭63−64180号公報に記載され
るマスクパターンは、予め固定された位置に設定され、
特開平3−182976号公報に記載される方式では、
画面上の粒子状に表されている部分の画素数を特定の範
囲に限定することにより、2つの基準点が任意の位置に
決められている。
[0006] That is, the setting of the reference block includes a method in which the reference block is fixed at a certain position in the image, and a method in which the operator manually specifies an arbitrary position in the image. The mask pattern described in JP-A-63-64180 is set at a fixed position in advance,
In the method described in JP-A-3-182976,
By limiting the number of pixels in a portion represented in a particle shape on the screen to a specific range, two reference points are determined at arbitrary positions.

【0007】この画像合成装置をカメラ等に搭載し、会
議中の黒板や掲示される資料、OHP(オーバーヘッド
プロジェクタ)、本等を撮影することなどに用いられる
場合には、内容によっては直ちに撮影した画像を再生し
なければならない場合もある。そのためには高速な処理
が要求されると共に、合成の際の基準ブロックの検出や
対応点の抽出処理は、撮影の後にその場で自動的に処理
される必要がある。
When the image synthesizing apparatus is mounted on a camera or the like, and is used for photographing a blackboard, a posted material, an OHP (overhead projector), a book, or the like during a meeting, depending on the contents, the photographing is immediately performed. Sometimes you need to play the image. For that purpose, high-speed processing is required, and detection of a reference block and extraction of a corresponding point at the time of synthesis need to be automatically performed on the spot after shooting.

【0008】さらに実際に撮影される画像のデータは様
々であるため、基準ブロックが固定された位置に設定さ
れる場合には、基準ブロック内に、平均濃度が極端に高
い(2値画像の場合は、白画素数が黒画素数より極端に
多い、または真白)可能性と、平均濃度が極端に低い可
能性があり、このような基準ブロックに基づいて対応点
を抽出すると、正しいマッチングがとれないことにな
る。
Furthermore, since the data of the actually photographed image is various, when the reference block is set at a fixed position, the average density in the reference block is extremely high (for a binary image, There is a possibility that the number of white pixels is extremely larger than the number of black pixels or true white) and the average density may be extremely low. If corresponding points are extracted based on such a reference block, correct matching can be obtained. Will not be.

【0009】また、特開昭63−64180号公報に記
載されるように、合成する画像間のオーバーラップ領域
における対応点の抽出が、予め設定された大きさの基準
ブロック内に配置されており、当然、基準ブロックが大
きいほど画像のずれが大きくても対処できるが、常に処
理に時間を要することになる。
As described in JP-A-63-64180, extraction of corresponding points in an overlap region between images to be combined is arranged in a reference block of a predetermined size. Of course, the larger the reference block is, the larger the deviation of the image can be dealt with, but the processing always takes time.

【0010】従って、固定された大きさの基準ブロック
は、常に適正な対応点が抽出できる範囲を持ち、且つ効
率的な大きさとは限らない。また、特開平3−1829
76号公報に記載される方式は、特徴粒子がある特定の
金属組織の検査のための結晶写真に対して実現できるも
のであり、本願発明が趣旨とする汎用的な利用に用いる
ようには構成されておらず、さらには撮影直後に再生す
る必要がないため、処理時間の高速化・短縮化について
考慮されておらず、この方式では高速処理を実現するこ
とができない。
Therefore, the fixed-size reference block always has a range in which a proper corresponding point can be extracted, and is not always an efficient size. Also, JP-A-3-1829
The system described in Japanese Patent Publication No. 76 can be realized for a crystal photograph for inspection of a specific metal structure with a characteristic particle, and is configured to be used for general-purpose use which is the gist of the present invention. Since it is not performed, and it is not necessary to reproduce the image immediately after shooting, no consideration is given to speeding up and shortening of the processing time, and high speed processing cannot be realized by this method.

【0011】そこで本発明は、合成する画像間の変位量
を可変可能な任意の大きさのサーチエリア及びサーチラ
インに基づく最適な平均濃度の基準ブロックから求め補
間された画像合成を高速処理する画像合成装置を提供す
ることを目的とする。
Accordingly, the present invention provides an image processing method in which an interpolated image is obtained from a reference block having an optimum average density based on a search area of an arbitrary size capable of varying the amount of displacement between images to be synthesized and a search line, and an image synthesized at a high speed. It is an object to provide a synthesis device.

【0012】[0012]

【課題を解決するための手段】本発明は上記目的を達成
するために、画像データを所定幅で重合せた時の互いに
オーバーラップする領域内に第1のサーチエリアを設定
し、この第1のサーチエリア内の画像データの濃度に基
づく相関性を有する所定サイズの第1の基準ブロックを
設定し、前記第1の基準ブロックから前記オーバーラッ
プ領域の長方向に沿って延ばした第2のサーチエリア内
の前記相関性を有する位置に第2の基準ブロックを設定
する基準ブロック設定手段と、前記基準ブロック設定手
段により設定された各基準ブロック内の所定画素から合
成に際して補間されるべき画素の位置への変位量を検出
する変位量検出手段と、前記変位量検出手段により検出
された変位量に基づき合成する画像を補間する補間手段
と、前記画像データと前記補間手段により補間された画
像データを合成する画像合成手段とで構成された画像合
成装置を提供する。
According to the present invention, in order to achieve the above object, a first search area is set in an overlapping area when image data is superimposed with a predetermined width. A second reference block having a predetermined size having a correlation based on the density of the image data in the search area, and extending along the longitudinal direction of the overlap area from the first reference block Reference block setting means for setting a second reference block at a position having the correlation in an area, and a position of a pixel to be interpolated from a predetermined pixel in each reference block set by the reference block setting means upon synthesis Displacement amount detecting means for detecting a displacement amount to the image data; interpolating means for interpolating an image to be synthesized based on the displacement amount detected by the displacement amount detecting means; Providing an image synthesizing apparatus constituted by an image synthesizing means for synthesizing the image data interpolated by said interpolating means.

【0013】[0013]

【作用】以上のような構成の画像合成装置は、複数の合
成する画像が互いにオーバーラップする領域内に予め定
められた大きさに基づき選択された大きさのサーチエリ
ア(サーチライン)が上または下部に設定され、それら
のサーチエリア(サーチライン)内で相関性の判断結果
により好適する位置に基準ブロックが設定され、その基
準ブロックに基づき対応点の検出処理が行なわれ、基準
ブロック及び対応点から算出された変位量により合成す
る側の画像の補間が施されて画像が合成される。
According to the image synthesizing apparatus having the above structure, a search area (search line) having a size selected on the basis of a predetermined size is set in an area where a plurality of images to be synthesized overlap each other. A reference block is set at a lower position, and a reference block is set at a position more suitable in the search area (search line) according to the result of the correlation determination. Corresponding point detection processing is performed based on the reference block. Are interpolated by the displacement amount calculated from the images to synthesize the images.

【0014】[0014]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。まず図1を参照して、本発明による画像合
成装置の画像合成の概略について説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings. First, with reference to FIG. 1, the outline of image synthesis of the image synthesis apparatus according to the present invention will be described.

【0015】この画像合成装置は、基準ブロックを設定
するのに適正な位置にサーチエリアを定め、相関性を持
つ基準ブロックを抽出し、抽出された基準ブロックに基
づき対応点の検出処理を行い、算出された変位量から画
像を補間し合成する処理をユーザーによる操作なしに迅
速に処理するものである。すなわち、この画像合成装置
は合成する画像の互いのオーバーラップ領域において、
画像間の変位量を計算するために、移動可能なサーチエ
リアを設定し、基準ブロックの位置を相関性の判断結果
に基づき自動的に設定するものである。ここで前記基準
ブロック及びオーバーラップ領域の基準となる大きさ
は、予めユーザが画像の大きさ及び重ね合わせの具合に
よって任意に設定し記憶しておく。この実施例では、基
準ブロックを17×17画素程度、オーバーラップ領域
を画像(638×500画素)の面積の15〜20%
(横方向に100〜130画素)程度と想定した。
This image synthesizing apparatus determines a search area at a position appropriate for setting a reference block, extracts a reference block having a correlation, and performs a corresponding point detection process based on the extracted reference block. The processing of interpolating and synthesizing an image from the calculated displacement amount is quickly performed without user operation. In other words, this image synthesizing device is used in an overlapping area of the images to be synthesized.
In order to calculate the amount of displacement between images, a movable search area is set, and the position of the reference block is automatically set based on the determination result of the correlation. Here, the reference size of the reference block and the overlap area is arbitrarily set and stored in advance by the user according to the size of the image and the degree of overlap. In this embodiment, the reference block is about 17 × 17 pixels, and the overlap area is 15 to 20% of the area of the image (638 × 500 pixels).
(100 to 130 pixels in the horizontal direction).

【0016】図1は、画像2枚を合成させる例を示し、
左画像1を合成される画像(基準画像)とし、右画像2
を合成する画像とする。各画像の重なり合う領域をオー
バーラップ領域3とする。
FIG. 1 shows an example of combining two images.
The left image 1 is used as an image to be synthesized (reference image), and the right image 2
Is the image to be synthesized. The overlapping area of each image is referred to as an overlap area 3.

【0017】前記基準画像1のオーバーラップ領域3内
に、任意の大きさのサーチエリア4を設け、このエリア
内で後述する相関性判断を行い適正な位置に基準ブロッ
ク5が設定される。そして、設定された基準ブロック5
の中心点から延長線(サーチライン)7を下部3bに向
かって延ばし、そのサーチライン7上に相関性を持つ基
準ブロック6を設定できるか判定する。このサーチライ
ン7上のみの探索により相関性を持つ基準ブロック6が
検出され、検索のための計算量が軽減され、後の合成処
理の座標変換を簡単にする。
A search area 4 of an arbitrary size is provided in the overlap area 3 of the reference image 1, and a correlation block described later is determined in this area, and a reference block 5 is set at an appropriate position. Then, the set reference block 5
The extension line (search line) 7 is extended from the center point toward the lower part 3b, and it is determined whether a reference block 6 having a correlation can be set on the search line 7. The reference block 6 having a correlation is detected by searching only on the search line 7, the calculation amount for the search is reduced, and the coordinate conversion in the subsequent synthesis processing is simplified.

【0018】前記サーチエリア4及びサーチライン7上
の基準ブロックの設けられる領域は、2値画像のデータ
で表せられるため、各画素毎に次の処理により、各ブロ
ックの平均濃度をチェックし、それぞれ(1)式を満た
す箇所に基準ブロックとして設定する。
Since the area where the reference block is provided on the search area 4 and the search line 7 is represented by binary image data, the average density of each block is checked by the following process for each pixel, and A reference block is set at a location that satisfies the expression (1).

【0019】 V0 =Min|C0 −C/2| 若しくは、 V1 =Min|C1 −C/2| …(1) 但し、C0 ;ブロック内0の画素数、C1 ;ブロック内
1の画素数、C;ブロック内全画素数(C0 +C1 )と
する。
V 0 = Min | C 0 −C / 2 | or V 1 = Min | C 1 −C / 2 | (1) where C 0 ; the number of pixels of 0 in the block; C 1 ; in the block 1, the number of pixels, C; the total number of pixels in the block (C 0 + C 1 ).

【0020】一方、前述したオーバーラップ領域3のサ
ーチエリア4とサーチライン7上の基準ブロックを設け
る領域の平均濃度は、撮影された画像によって異なり、
極端に高い若しくは、極端に低い可能性がある。この場
合は、不完全な合成(ミスマッチング)の確率が高くな
る。この問題を解決するために設定された基準ブロック
の平均濃度を下記の(2)式により評価する(以下、相
関性判断と称する)。
On the other hand, the average density of the search area 4 of the overlap area 3 and the area where the reference block is provided on the search line 7 differs depending on the photographed image.
May be extremely high or extremely low. In this case, the probability of incomplete synthesis (mismatching) increases. In order to solve this problem, the average density of the reference block set is evaluated by the following equation (2) (hereinafter, referred to as correlation judgment).

【0021】 |V0 −C/2|<p・C/2 若しくは、 |V1 −C/2|<p・C/2 …(2) 但し、0<p<20%とする。この(2)式の条件を満
たせば、相関性がないと見なすことができる。このpの
範囲は、試験的に実施した結果から好適すると思われる
数値である。
| V 0 -C / 2 | <p · C / 2 or | V 1 -C / 2 | <p · C / 2 (2) where 0 <p <20%. If the condition of equation (2) is satisfied, it can be considered that there is no correlation. This range of p is a numerical value that is considered to be suitable based on the results of a test.

【0022】図2には、第1実施例としての2値画像を
出力する電子カメラ等に前述した画像合成装置を搭載し
た構成例を示し、説明する。この構成は、撮像部11と
画像合成装置12と出力装置となる印刷部13及び表示
部14とからなる。この撮像部11は、特願平5−63
978号に記載されたようなCCDを利用し、前面に設
けた鏡を回転させて方向の異なる画像を得る構成や、T
Vカメラを回転させて連続画像信号を得る構成などを用
いている。
FIG. 2 shows a configuration example in which the above-described image synthesizing apparatus is mounted on an electronic camera or the like which outputs a binary image as the first embodiment. This configuration includes an imaging unit 11, an image synthesizing device 12, a printing unit 13 serving as an output device, and a display unit 14. This imaging unit 11 is disclosed in Japanese Patent Application No. 5-63.
No. 978, a configuration in which a mirror provided on the front face is rotated to obtain images in different directions,
A configuration in which a V camera is rotated to obtain a continuous image signal is used.

【0023】前記撮像部11により撮像された画像信号
が画像合成部12のA/D部15でデジタル化され、さ
らに2値化回路16で2値化処理される。この2値化処
理は、例えば、本出願人が提案した特願平5−9455
4号に記載されるような高速な2値化方法を用いて、2
値化処理を行なう。ここで2値化処理を行うのは、最後
に出力する画像が2値画像であるため、いずれ2値化処
理を行う必要がある点、また、後に行う2値画像に対す
る基準ブロックや対応点の検出処理が高速化できるとい
う利点から2値化処理を撮像直後の画像に施している。
The image signal picked up by the image pick-up unit 11 is digitized by the A / D unit 15 of the image synthesizing unit 12 and further binarized by the binarizing circuit 16. This binarization processing is performed, for example, in Japanese Patent Application No. 5-9455 proposed by the present applicant.
Using a fast binarization method as described in No. 4,
Perform value processing. Here, the binarization process is performed because the image to be output last is a binary image, so that the binarization process needs to be performed sometime, and the reference block and the corresponding point for the binary image to be performed later will be described. The binarization processing is applied to the image immediately after the imaging, because the detection processing can be speeded up.

【0024】この2値化回路16から出力された画像デ
ータは、フレームメモリA17に一時的に記憶される。
そしてフレームメモリA17から所定のフレーム分の画
像データが読出され、画像合成回路18により後述する
ような合成処理が行われ、その結果がフレームメモリB
19に記憶される。
The image data output from the binarization circuit 16 is temporarily stored in a frame memory A17.
Then, image data of a predetermined frame is read out from the frame memory A17, and a synthesizing process described later is performed by the image synthesizing circuit 18.
19 is stored.

【0025】前記フレームメモリB19に記憶された合
成画像は読出されて、印刷部13により印刷される、若
しくはD/A部20によりアナログ化され、ブラウン管
等の表示部14に表示される。
The composite image stored in the frame memory B19 is read and printed by the printing unit 13 or converted into an analog signal by the D / A unit 20 and displayed on the display unit 14 such as a cathode ray tube.

【0026】次に図3には、図2に示した画像合成回路
の具体的な構成例を示し説明する。この画像合成回路
は、フレームメモリA17から読出された画像データか
ら基準ブロックを設定する基準ブロック設定回路21
と、設定された基準ブロックと前記画像データとから対
応点の変位量を検出する変位量検出回路22と、検出さ
れた変位量に基づき合成する画像を補間する補間回路2
3と、フレームメモリA17から読出された合成される
画像と補間された合成する画像とを合成する合成回路2
4とで構成される。
Next, FIG. 3 shows a specific configuration example of the image synthesizing circuit shown in FIG. 2 and will be described. This image synthesizing circuit includes a reference block setting circuit 21 for setting a reference block from image data read from the frame memory A17.
A displacement detection circuit 22 for detecting a displacement of a corresponding point from the set reference block and the image data; and an interpolation circuit 2 for interpolating an image to be synthesized based on the detected displacement.
And a combining circuit 2 for combining the combined image read from the frame memory A17 with the interpolated combined image.
And 4.

【0027】なお、この変位量検出回路22、補間回路
23、合成回路24は、本出願人が提案した特願平5−
42402号に記載したものと同一である。また図4に
は、図3に示した基準ブロック設定回路の具体的な構成
例を示し、説明する。
The displacement detecting circuit 22, the interpolating circuit 23, and the synthesizing circuit 24 are the same as those disclosed in Japanese Patent Application No. Hei.
It is the same as that described in No. 42402. FIG. 4 shows a specific configuration example of the reference block setting circuit shown in FIG. 3 and will be described.

【0028】この基準ブロック設定回路は、図示しない
フレームメモリA17からの画像データが入力し図1に
示す上部3aにサーチエリア4を設定する上部サーチエ
リア設定回路31と、前記上部サーチエリア設定回路3
1がサーチエリア4を設定する際に基準となるブロック
サイズ及びオーバーラップ領域の大きさの数値を記憶す
るメモリ32と、サーチエリア内の画像データの濃度の
最適平均値を算出する最適平均濃度演算回路33と、同
様に下部3bにサーチライン(基準ブロック6)を設定
する下部サーチライン設定回路34と、サーチエリア内
の画像データの濃度の最適平均値を算出する最適平均濃
度演算回路35とで構成される。前記上,下部の最適平
均濃度演算回路33,35から上,下の基準ブロック
が、図3に示す変位量検出回路22に出力される。
The reference block setting circuit includes an upper search area setting circuit 31 which receives image data from a frame memory A17 (not shown) and sets a search area 4 in the upper part 3a shown in FIG.
1 is a memory 32 for storing numerical values of a block size and a size of an overlap area, which are used as references when setting the search area 4, and an optimum average density calculation for calculating an optimum average value of image data densities in the search area. Similarly, a circuit 33, a lower search line setting circuit 34 for setting a search line (reference block 6) in the lower portion 3b, and an optimum average density calculation circuit 35 for calculating an optimum average value of image data densities in the search area. Be composed. The upper and lower reference blocks are output from the upper and lower optimum average density calculation circuits 33 and 35 to the displacement amount detection circuit 22 shown in FIG.

【0029】次に図5には、図4に示した最適平均濃度
演算回路の具体的な構成例を示し、説明する。この最適
平均濃度演算回路は、設定されたサーチエリアの画像デ
ータから基準ブロックに相当する範囲のブロックを読出
すブロック読出し回路36と、“0”若しくは“1”の
どちらかの画素数をカウントするカウンタ回路37と、
1/2ブロックサイズ(ブロック内の全画素数の1/
2)を記憶するメモリ38と、カウンタ回路37で所定
数までカウントされた数値から1/2ブロックサイズを
減じる減算器39と、それらの結果の絶対値をとる演算
回路40と、得られた数値の中から最小値を検出する最
小値検出回路41とで構成される。
Next, FIG. 5 shows a specific configuration example of the optimum average density calculation circuit shown in FIG. 4 and will be described. This optimum average density calculation circuit counts the number of pixels of either "0" or "1" from a block reading circuit 36 for reading a block in a range corresponding to a reference block from image data of a set search area. A counter circuit 37;
1/2 block size (1/2 of the total number of pixels in a block)
A memory 38 for storing 2), a subtractor 39 for subtracting a half block size from the numerical value counted up to a predetermined number by the counter circuit 37, an arithmetic circuit 40 for obtaining an absolute value of the result, and a numerical value obtained. And a minimum value detection circuit 41 for detecting the minimum value from the above.

【0030】ここで、メモリが1/2ブロックサイズを
記憶し、カウントされた数値(ブロック内の“0”か
“1”側の画素数)から減じるのは、前述した(1)式
に示すように、1/2の値がコントラストが高い値とな
るため、これをカウント数から減じると最小の値が求め
られる。
Here, the reason why the memory stores the 1/2 block size and subtracts it from the counted value (the number of pixels on the "0" or "1" side in the block) is shown in the above-mentioned equation (1). As described above, since the value of コ ン ト ラ ス ト is a value having a high contrast, the value is obtained by subtracting the value from the count number to obtain the minimum value.

【0031】このように構成された画像処理装置におい
ては、必ずしも図1に示すようなオーバーラップ領域3
のサーチエリア4とサーチライン7上の基準ブロックの
平均濃度が適切ではない場合もあり、すなわち相関性が
ない場合があり、サーチエリア又はサーチラインを移動
させて、再検索を行なう必要がある。
In the image processing apparatus constructed as described above, the overlap area 3 as shown in FIG.
In some cases, the average density of the reference blocks on the search area 4 and the search line 7 may not be appropriate, that is, there may be no correlation, and it is necessary to move the search area or the search line and perform the search again.

【0032】そこで図6には、第2実施例の画像処理装
置としての基準ブロック設定回路(2)を示し説明す
る。この基準ブロック設定回路の各構成部材は、図4に
示す基準ブロック設定回路の構成部材と同様な動作を行
うため、詳細な説明は省略し、図7に示すフローチャー
ト及び図8に示すオーバーラップ領域内のサーチエリア
(サーチライン)と基準ブロックの配置関係を参照し
て、構成及びその動作を説明する。
FIG. 6 shows and describes a reference block setting circuit (2) as an image processing apparatus according to the second embodiment. Since each component of the reference block setting circuit performs the same operation as the component of the reference block setting circuit shown in FIG. 4, detailed description is omitted, and the flowchart shown in FIG. 7 and the overlap area shown in FIG. The configuration and operation will be described with reference to the arrangement relationship between a search area (search line) and a reference block.

【0033】この画像処理装置において、サーチエリア
に設定した基準ブロックの相関性の有無を判定し、相関
性がなければ、サーチエリア又はサーチラインを移動さ
せて、新たな基準ブロックを設定し、再度検索を行なう
ことにより、様々な画像信号データに対応する。
In this image processing apparatus, it is determined whether or not there is a correlation between the reference blocks set in the search area. If there is no correlation, the search area or the search line is moved, a new reference block is set, and a new reference block is set. By performing a search, various image signal data can be handled.

【0034】まず、上部サーチエリア設定回路50は、
メモリ51から読出したブロックサイズ及びオーバーラ
ップ領域の大きさに基づき、図8(a)に示すようなサ
ーチエリア4を設定する。そして最適平均濃度演算回路
52により、サーチエリア4内に設定した基準ブロック
5の平均濃度を算出し、相関性判定回路53で相関性の
有無を判定する(ステップS1,S2)。
First, the upper search area setting circuit 50
A search area 4 as shown in FIG. 8A is set based on the block size read from the memory 51 and the size of the overlap area. Then, the average density of the reference block 5 set in the search area 4 is calculated by the optimum average density calculation circuit 52, and the presence or absence of the correlation is determined by the correlation determination circuit 53 (steps S1 and S2).

【0035】このステップS2の判定で相関性があると
判定された場合には(YES)、下部サーチライン設定
回路54により、オーバーラップ領域3の下部3bにサ
ーチライン7を延ばし、該サーチライン7上において設
定する基準ブロック6の相関性を検索し(ステップS
3)、相関性判定回路56で相関性の有無を判定する
(ステップS4)。
If it is determined in step S2 that there is a correlation (YES), the lower search line setting circuit 54 extends the search line 7 to the lower part 3b of the overlap area 3, and the search line 7 The correlation of the reference block 6 set above is searched (step S
3), the presence / absence of the correlation is determined by the correlation determination circuit 56 (step S4).

【0036】この相関性判定回路56の判定で相関性が
あると判定された場合には(YES)、図1に示したよ
うな基準ブロックが設定され、図3に示す変位量検出回
路22により変位量R,S(R:回転ベクトル、S:ず
れベクトル)が演算され(ステップS5)、その変位量
R,Sに基づき補間処理が行われ画像が合成される(ス
テップS6)。しかし相関性がないと判定された場合に
は(NO)、下部サーチライン再設定回路57により、
図8(a)に示すような下部3bからサーチエリア4に
向かって延長サーチライン7aを延ばし、最適平均濃度
演算回路58及び相関性判定回路59により基準ブロッ
ク6の相関性を再度検索し、その相関性の有無を判定す
る(ステップS7,S8)。 このステップS8の判定
で相関性があると判定された場合(YES)、ステップ
S5に移行し、変位量R,Sが演算され、画像が合成さ
れる。しかし相関性がないと判定された場合(NO)、
図8(b)に示すような状態となり、変位量検出回路2
2により変位量Sが演算され(ステップS9)、前記変
位量Sに基づき平行移動のみの画像合成処理が行われる
(ステップS10)。
If it is determined by the correlation determination circuit 56 that there is a correlation (YES), a reference block as shown in FIG. 1 is set, and the displacement amount detection circuit 22 shown in FIG. Displacement amounts R and S (R: rotation vector, S: displacement vector) are calculated (step S5), and an interpolation process is performed based on the displacement amounts R and S to synthesize an image (step S6). However, if it is determined that there is no correlation (NO), the lower search line resetting circuit 57
The extended search line 7a is extended from the lower part 3b toward the search area 4 as shown in FIG. 8A, and the correlation of the reference block 6 is searched again by the optimum average density calculation circuit 58 and the correlation judgment circuit 59. It is determined whether there is a correlation (steps S7, S8). If it is determined in step S8 that there is a correlation (YES), the process proceeds to step S5, where the displacement amounts R and S are calculated, and the images are combined. However, if it is determined that there is no correlation (NO),
The state becomes as shown in FIG.
2, the displacement amount S is calculated (step S9), and based on the displacement amount S, an image combining process of only translation is performed (step S10).

【0037】また、前記ステップS2の判定において、
相関性がないと判定された場合(NO)、下部サーチエ
リア設定回路60により設定された下部のサーチエリア
8内に設ける基準ブロック6の相関性を検索し、相関性
判定回路62により相関性の有無を判定する(ステップ
S11,S12)。
In the determination in step S2,
When it is determined that there is no correlation (NO), the correlation of the reference block 6 provided in the lower search area 8 set by the lower search area setting circuit 60 is searched. The presence or absence is determined (steps S11 and S12).

【0038】このステップS12の判定で相関性がある
と判定された場合(YES)、図8(c)の状態のよう
に、オーバーラップ領域3の下部3bから上部3aに向
かって、上部サーチライン再設定回路63で延長サーチ
ラインを延ばし、再度基準ブロック5の相関性を検索
し、その相関性の有無を判定する(ステップS13,S
14)。
If it is determined in step S12 that there is a correlation (YES), as shown in FIG. 8C, the upper search line extends from the lower portion 3b of the overlap region 3 toward the upper portion 3a. The extension search line is extended by the resetting circuit 63, the correlation of the reference block 5 is searched again, and the presence or absence of the correlation is determined (steps S13 and S13).
14).

【0039】このステップS14の判定で相関性がない
と判定された場合(NO)、図8(d)に示すような状
態となり、ステップS9に移行し、変位量Sに基づき平
行移動のみの画像合成処理が行われる。しかし、相関性
があると判定された場合(YES)、ステップS5に移
行し、変位量R,Sが演算され、画像が合成される。ス
テップS12の判定で相関性がないと判定された場合
(NO)、図8(e)に示すような状態となり、単に重
ね合わせられて画像合成(べた貼り)される(ステップ
S15)。
If it is determined in step S14 that there is no correlation (NO), the state becomes as shown in FIG. 8D, and the flow shifts to step S9 where an image of only parallel movement is obtained based on the displacement S. A combining process is performed. However, if it is determined that there is a correlation (YES), there moves to step S5, Displacement amount R, S is calculated, the image is synthesized. If it is determined in step S12 that there is no correlation (NO), the state is as shown in FIG. 8 (e), and the images are simply superimposed and combined (solid) (step S15).

【0040】以上のことから、本実施例は、基準となる
ブロックの設定処理に関して、移動可能なサーチエリア
及びサーチラインを設け、最適な平均濃度を持つ場所を
サーチすることと、基準ブロック内の平均濃度を評価す
ることによって、高速な自動処理を可能にさせ、様々な
画像信号データに対応することができる。
As described above, in the present embodiment, a movable search area and a search line are provided for setting a reference block, and a place having an optimum average density is searched for. By evaluating the average density, high-speed automatic processing can be performed and various image signal data can be handled.

【0041】次に前述した第1,2実施例では、オーバ
ーラップ領域の大きさが固定され、基準点(対応点)を
抽出している。また、特開平3−182976号公報に
おいても、基準点の抽出は、既に分かっているオーバー
ラップ領域内の画像に対して、2値化をしてから抽出処
理を行なっていた。
Next, in the first and second embodiments, the size of the overlap area is fixed, and the reference point (corresponding point) is extracted. Also, in Japanese Patent Application Laid-Open No. Hei 3-182976, the extraction of the reference point is performed by binarizing an already known image in the overlap area and then performing the extraction processing.

【0042】しかし、オーバーラップ領域の大きさが固
定されている場合に、合成する画像間のずれが大きくな
ければ対応できるが、ずれが大きくなりすぎた場合に
は、図9に示すように、対応点検出する領域がないた
め、ミスマッチングの発生が一層高くなる。特に、手持
ち型の撮像装置では、手振れにより合成する画像間が大
きくずれる可能性がある。
However, in the case where the size of the overlap area is fixed, it is possible to cope with the difference between the images to be synthesized if the difference is not large. If the difference is too large, as shown in FIG. Since there is no area for detecting a corresponding point, the occurrence of mismatching is further increased. In particular, in a hand-held imaging device, there is a possibility that the image to be synthesized is largely shifted due to camera shake.

【0043】そこで本発明による第3実施例として、オ
ーバーラップ領域の大きさを可変する画像合成装置につ
いて説明する。図10には、オーバーラップ領域と設定
する基準ブロック及び基準点の位置関係を示し、図11
にはその設定処理を行う画像合成装置における画像合成
回路の構成例を示す。
Therefore, as a third embodiment according to the present invention, an image synthesizing apparatus which changes the size of the overlap area will be described. FIG. 10 shows the positional relationship between the overlap area, the reference block to be set, and the reference point.
2 shows a configuration example of an image synthesizing circuit in an image synthesizing apparatus that performs the setting process.

【0044】図11は画像合成回路の具体的な構成を示
し、画像合成装置の全体的な構成は図2に示す構成と同
様であるものとする。この画像合成回路の構成は、フレ
ームメモリAからの画像データから実際のオーバーラッ
プ領域の大きさを検出するオーバーラップ領域検出回路
71と、検出されたオーバーラップ領域及び上部の基準
ブロックからサーチライン7上の下部の基準ブロックを
設定する基準ブロック設定回路72と、設定された基準
ブロックと前記画像データから基準点10を設定する下
部の対応点26bを検出する対応点検出回路74と、前
記オーバーラップ領域、基準ブロック及び対応点から変
位係数(変位量)を算出する変位係数算出回路73と、
算出された変位量R,Sに基づき画像データを2値補間
する2値補間回路75と、補間された画像データと前記
フレームメモリAからの画像データを合成する合成回路
76とで構成される。
FIG. 11 shows a specific configuration of the image synthesizing circuit. It is assumed that the overall configuration of the image synthesizing device is the same as the configuration shown in FIG. The configuration of the image synthesizing circuit includes an overlap area detecting circuit 71 for detecting the size of the actual overlap area from the image data from the frame memory A, and a search line 7 from the detected overlap area and the upper reference block. A reference block setting circuit 72 for setting an upper lower reference block; a corresponding point detection circuit 74 for detecting a lower corresponding point 26b for setting a reference point 10 from the set reference block and the image data; A displacement coefficient calculation circuit 73 for calculating a displacement coefficient (displacement amount) from the region, the reference block, and the corresponding point;
It comprises a binary interpolation circuit 75 for performing binary interpolation of image data based on the calculated displacement amounts R and S, and a combining circuit 76 for combining the interpolated image data and the image data from the frame memory A.

【0045】この第3実施例は図10に示すように、ま
ず、実際のオーバーラップ領域を検出しサーチエリア4
aを左画像の右端線に設定する(サーチラインに相当す
る)。さらに上部の基準ブロック5aの大きさを例え
ば、51×51画素程度の第1実施例よりも大きめなブ
ロックに設定する。そして、左画像の右端線に沿って、
相関性高い場所を探す。下部の基準ブロック6は計算量
を減らすために前述した基準ブロックの大きさ(17×
17画素)と同じに設定する。
In the third embodiment, as shown in FIG. 10, first, the actual overlap area is detected and the search area 4 is detected.
a is set to the right end line of the left image (corresponding to a search line). Further, the size of the upper reference block 5a is set to, for example, about 51 × 51 pixels, which is larger than that of the first embodiment. Then, along the right edge line of the left image,
Find a highly correlated location. The lower reference block 6 has the size of the reference block (17 ×
17 pixels).

【0046】上部の対応点26aの検出は、横方向が大
きめに設定されたサーチエリア25a内を行なう。対応
点がマッチング処理によって検出された場合、そのブロ
ックの右端線の位置は、実際のオーバーラップ領域の大
きさを示す。下部の対応点サーチエリア25bは前述し
た実施例と同様である。
The upper corresponding point 26a is detected in a search area 25a whose lateral direction is set relatively large. When the corresponding point is detected by the matching process, the position of the right end line of the block indicates the actual size of the overlap area. The corresponding point search area 25b at the bottom is the same as in the above-described embodiment.

【0047】この第3実施例は、大きめに設定された上
部の基準ブロックが左画像の右端線に設けたサーチエリ
アから探されるため、画像間に大きなずれがあったとし
ても、右画像に対応する点を検出することができ、実際
のオーバーラップ領域の大きさも分かることによって、
右画像の下部の対応点を検出するためのサーチエリアが
適正に設定され、正確且つ効率的な処理ができる。
In the third embodiment, since the upper reference block which is set to be large is searched from the search area provided on the right end line of the left image, even if there is a large shift between the images, it is possible to cope with the right image. Can be detected, and by knowing the actual size of the overlap area,
The search area for detecting the corresponding point at the lower part of the right image is properly set, and accurate and efficient processing can be performed.

【0048】また、以上第1〜3実施例において、左画
像の基準ブロック(基準点)に対する右画像の対応点の
検出をさらに高速化した第4実施例としての画像合成装
置を説明する。この対応点は、左画像のオーバーラップ
領域の基準点に対応する右画像の対応点である。
In the above-described first to third embodiments, an image synthesizing apparatus according to a fourth embodiment will be described in which detection of a corresponding point of a right image with respect to a reference block (reference point) of a left image is further accelerated. This corresponding point is a corresponding point of the right image corresponding to the reference point of the overlap area of the left image.

【0049】この第4実施例の画像合成装置は、変位量
検出回路に特徴を持つものであり、他の構成部は第1実
施例と同等であり、それらの説明は省略する。まず、対
応点検出の高速化を実現するための手法として、公知な
テンプレートマッチングや構造マッチングなどがある。
本実施例では、オーバーラップする画像をサーチエリア
として、テンプレートマッチングを適用して対応点の検
出を行なう。
The image synthesizing apparatus according to the fourth embodiment has a feature in a displacement detection circuit, and the other components are the same as those in the first embodiment, and a description thereof will be omitted. First, well-known template matching, structure matching, and the like are known as methods for realizing high-speed corresponding point detection.
In the present embodiment, corresponding points are detected by applying template matching using overlapping images as search areas.

【0050】このテンプレートマッチングにおいて、例
えば特開昭63−64180号公報に記載されているよ
うに、一般的にはマッチングを行なうエリアは予め固定
されている。対応点の検出における適正さを求める場合
に、エリアが大きく設定されるほど正確になる反面、マ
ッチングを行なう領域が広くなるため、計算量が増え高
速な処理が難しくなる。逆にエリアを小さく設定する
と、合成する画像間のずれが大きかった場合には、ミス
マッチングの可能性がある。
In this template matching, as described in, for example, JP-A-63-64180, an area for matching is generally fixed in advance. When finding the appropriateness in detecting the corresponding point, the larger the area is set, the more accurate it is. On the other hand, the area to be matched is widened, so that the calculation amount increases and high-speed processing becomes difficult. Conversely, if the area is set small, there is a possibility of mismatching if the displacement between the images to be synthesized is large.

【0051】図12には、変位量検出回路の構成を示し
説明する。この変位量検出回路は、大別して対応点検出
回路81と変位係数算出器82からなる。前記対応点検
出回路81は、例えば図3に示した基準ブロック設定回
路21から出力された基準データと、図示しないフレー
ムメモリAから読出された画像データとが入力され、小
領域のサーチエリアを設けてマッチング処理を行なう小
領域内マッチング部83と、予め設定された閾値以上の
場合に、サーチエリアを拡張した拡張領域サーチエリア
で再度をマッチング処理を行なう拡張領域内マッチング
部84と、さらに閾値以上の場合には、基準ブロックを
拡大し若しくは隣接しない位置に配置される2対の基準
ブロックを使って、それぞれマッチング処理を行なう基
準ブロック拡大マッチング部85とで構成される。
FIG. 12 shows and describes the configuration of the displacement amount detection circuit. This displacement amount detection circuit is roughly divided into a corresponding point detection circuit 81 and a displacement coefficient calculator 82. The corresponding point detection circuit 81 receives, for example, the reference data output from the reference block setting circuit 21 shown in FIG. 3 and the image data read from the frame memory A (not shown), and provides a small area search area. An in-small-area matching unit 83 that performs matching processing by using an extended-area matching unit 84 that performs matching processing again in an extended-area search area obtained by expanding the search area when the value is equal to or greater than a preset threshold value; In the case of (2), the reference block is expanded or a reference block expansion matching unit 85 that performs a matching process using two pairs of reference blocks arranged at positions that are not adjacent to each other.

【0052】また各マッチング部は、同じように構成さ
れており、その構成を図13に示し説明する。このマッ
チング部は、決められた大きさのサーチエリア(サーチ
エリアブロック)から、入力した画像データを基準ブロ
ックの大きさに基づき読出すサーチエリアデータ読出回
路86と、基準データ(基準ブロック)と読出されたサ
ーチエリアデータとの後述する排他的論理和をとるNO
R回路87と、前記NOR回路87からの出力で、合わ
ない箇所(点)を加算する加算器88と、加算された値
を比較して最小の値を検出し図12に示す変位係数算出
器82に出力する最小値検出回路89とで構成される。
Each of the matching units has the same configuration, and the configuration will be described with reference to FIG. The matching section includes a search area data reading circuit 86 for reading input image data from a search area (search area block) of a predetermined size based on the size of the reference block, and reading out reference data (reference block). NO to take exclusive OR described later with the searched search area data
An R circuit 87, an adder 88 for adding a point (point) that does not match with the output from the NOR circuit 87, and comparing the added values to detect a minimum value, and calculating a displacement coefficient calculator shown in FIG. And a minimum value detection circuit 89 that outputs the signal to the output circuit 82.

【0053】図14乃至図17を参照して、第4実施例
の画像合成装置におけるマッチング処理について説明す
る。このマッチング処理は、合成する画像が2値画像で
あるため、次式のような排他的論理和を用いて、計算の
高速化を図る。
A matching process in the image synthesizing apparatus according to the fourth embodiment will be described with reference to FIGS. In this matching process, since the image to be synthesized is a binary image, the calculation is speeded up using an exclusive OR shown in the following equation.

【0054】[0054]

【数1】 ただし、T(x) ;基準ブロック、S(x) ;サーチエリア
ブロックとする。
(Equation 1) Here, T (x) is a reference block, and S (x) is a search area block.

【0055】まず、図14に示すように、比較的小領域
をサーチエリア27として設定して、小領域内マッチン
グ部83によりマッチング処理を行う。このサーチエリ
アの中心点は、左画像に検出された基準ブロックの中心
点(基準点)の位置から、オーバーラップ領域の大きさ
に基づきマッピングすることによって得られる。
First, as shown in FIG. 14, a relatively small area is set as the search area 27, and the matching process within the small area 83 is performed. The center point of this search area is obtained by mapping from the position of the center point (reference point) of the reference block detected in the left image based on the size of the overlap area.

【0056】次に前記小領域内マッチング部83からの
結果が予め設定され閾値(例えば、基準ブロック画素数
の10%)よりも大きい場合、マッチングが取れなかっ
たものと判定し、さらに図15に示すように、拡張領域
内マッチング部84により、サーチエリア28を一段と
拡張した後、再度、マッチング処理を行なう。
Next, if the result from the in-small area matching section 83 is larger than a preset threshold value (for example, 10% of the reference block pixel number), it is determined that no matching has been achieved, and FIG. As shown, after the search area 28 is further expanded by the in-extended region matching section 84, the matching process is performed again.

【0057】この拡張サーチエリアでも予め設定された
閾値以上になり、マッチングができなかった場合には、
図16に示すように、基準とするテンプレートブロック
を拡大して、マッチング処理を行う。この場合には、評
価閾値を前述したマッチングの際の閾値よりも多少幅を
持たせて、例えば20%に設定することによって、合成
する画像間に比較的大きなずれが生じていても対応する
ことができる。
In this extended search area, if the value exceeds the preset threshold value and matching is not possible,
As shown in FIG. 16, a matching process is performed by enlarging a template block serving as a reference. In this case, by setting the evaluation threshold to be slightly wider than the above-described threshold for matching, for example, to 20%, it is possible to cope with a relatively large deviation between the images to be combined. Can be.

【0058】このようなマッチング処理を行っても閾値
以上になる場合には、図17に示すように、サーチエリ
ア内で互いに隣接しない位置に基準ブロックを設定し、
2対の基準ブロックを使って、それぞれマッチング処理
を行ってもよい。
In the case where the value is equal to or larger than the threshold value even after performing such a matching process, as shown in FIG. 17, a reference block is set at a position not adjacent to each other in the search area.
The matching process may be performed using two pairs of reference blocks.

【0059】この場合は、得られた2個の回転角度(変
位係数の1つ)の差によって対応点を決める。ずれ等に
より差が大きい場合には、絶対値の小さいの方を採用
し、差が小さくなるならば、それぞれの変位係数を求め
平均する。
In this case, the corresponding point is determined by the difference between the two obtained rotation angles (one of the displacement coefficients). If the difference is large due to a shift or the like, the smaller absolute value is adopted. If the difference becomes smaller, the respective displacement coefficients are obtained and averaged.

【0060】また、2対の基準ブロックを用いたが3対
以上の基準ブロックを用いてさらに高精度のマッチング
処理をしてもよい。さらに多数の基準ブロックを設定
し、それぞれのマッチング処理の結果を解析して求めて
もよい。
Although two pairs of reference blocks are used, more precise matching processing may be performed using three or more pairs of reference blocks. Further, a large number of reference blocks may be set, and the result of each matching process may be analyzed and obtained.

【0061】従って、第4実施例の画像合成装置は、画
像間の対応点検出処理に関して、マッチング処理を行な
うサーチエリア及び基準ブロックの大きさを固定せず
に、合成する画像に対応して拡大でき、さらにマッチン
グ処理を多段階に分けて処理することにより、予め大き
く領域を固定したものと同等の精度が得られつつ、且つ
高速な対応点検出ができる。
Therefore, the image synthesizing apparatus according to the fourth embodiment enlarges the image corresponding to the image to be synthesized without fixing the size of the search area and the reference block in which the matching processing is performed in the corresponding point detection processing between the images. In addition, by performing the matching process in multiple stages, it is possible to obtain the same accuracy as that obtained by fixing a large area in advance and to perform high-speed corresponding point detection.

【0062】なお、マッチング処理を行うサーチエリア
の順次拡大手段は第3実施例にも応用できる。次に、本
発明による第5実施例としての画像合成装置の2値画像
の補間について説明する。
The means for sequentially expanding the search area for performing the matching process can be applied to the third embodiment. Next, the interpolation of a binary image by the image synthesizing apparatus according to the fifth embodiment of the present invention will be described.

【0063】画像合成の際に行う画像の補間に関して
は、スプライン及び線型など方法が一般に知られてい
る。例えば、本出願人が提案した特願平5−42402
号においては、高解像度画像が得られる撮像装置に、主
として線型補間を用いている。
As for the interpolation of an image performed at the time of image synthesis, a method such as a spline or a linear method is generally known. For example, Japanese Patent Application No. Hei 5-42402 proposed by the present applicant.
In the reference (1), linear interpolation is mainly used for an image pickup apparatus capable of obtaining a high-resolution image.

【0064】しかし、撮影する被写体や撮像装置によっ
ては、撮影直後に画像を必要とする場合もあり、速い処
理による高画質な2値画像が要求されている。従来は、
図18に示すように線型補間においては、特願平4−0
89090号に記載する第3実施例のように補間係数を
離散化させても、各画素毎に最低4回乗算と、3回の加
算が必要である。さらに、この補間演算により算出され
るデータが“1”,“0”に区別される2値化データで
ない場合が多く、再2値化処理を施す必要があり、さら
に処理時間が増えることになる。
However, depending on the subject to be photographed and the imaging device, an image may be required immediately after photographing, and a high-quality binary image is required by fast processing. conventionally,
As shown in FIG. 18, in the linear interpolation, Japanese Patent Application No.
Even if the interpolation coefficients are discretized as in the third embodiment described in Japanese Patent No. 89090, at least four multiplications and three additions are required for each pixel. Furthermore, the data calculated by this interpolation operation is not binary data distinguished between “1” and “0” in many cases, and it is necessary to perform re-binarization processing, which further increases the processing time. .

【0065】この第5実施例では、2値画像に対して高
速な補間処理を行なう画像合成装置の画像合成回路を示
し説明する。本実施例において、画像合成回路以外の構
成部材は、第1実施例と同等であり、その説明は省略す
る。
In the fifth embodiment, an image synthesizing circuit of an image synthesizing apparatus for performing high-speed interpolation processing on a binary image will be described. In this embodiment, components other than the image composition circuit are the same as those in the first embodiment, and a description thereof will be omitted.

【0066】図19に示すように、この画像合成回路
は、フレームメモリA17から読出された合成される画
像データに基づき基準ブロックを設定する基準ブロック
設定回路91と、設定された基準ブロックと同じくフレ
ームメモリA17から読出された合成する画像データか
ら変位量を検出する変位量検出回路92と、検出された
変位量R,Sに基づき、前記合成する画像データを2値
補間する2値補間回路93と、2値補間された画像デー
タとフレームメモリA17から読出された合成される画
像データとを合成する合成回路94とで構成される。
As shown in FIG. 19, this image synthesizing circuit includes a reference block setting circuit 91 for setting a reference block based on image data to be synthesized read from the frame memory A17, and a frame similar to the set reference block. A displacement amount detection circuit 92 for detecting a displacement amount from the image data to be combined read from the memory A17, a binary interpolation circuit 93 for performing a binary interpolation on the combined image data based on the detected displacement amounts R and S; And a synthesizing circuit 94 for synthesizing the binary-interpolated image data and the synthesized image data read from the frame memory A17.

【0067】また図20には、前記2値補間回路の具体
的な構成を示す。この2値補間回路は、図19に示す変
位量検出回路92からの変位量R,Sに基づき、合成す
る画像側の特定された画素(原画素)の座標を変換する
座標変換回路95と、座標変換された新画素とそれに近
傍する原画素との距離を算出する近傍距離算出回路96
と、算出された距離により、新画素の位置をどこの領域
に従属するか判定する距離判定回路97と、判定された
結果によって合成する画像データ(原画素の値)を補間
として読出す画像データ読出回路98とで構成される。
FIG. 20 shows a specific configuration of the binary interpolation circuit. The binary interpolation circuit converts a coordinate of a specified pixel (original pixel) on the image to be synthesized based on the displacements R and S from the displacement detection circuit 92 shown in FIG. Neighbor distance calculating circuit 96 for calculating the distance between the coordinate-converted new pixel and the original pixel adjacent thereto
And a distance determining circuit 97 for determining which area the position of the new pixel depends on based on the calculated distance, and image data to be read out as interpolation of image data (original pixel value) to be synthesized based on the determined result. And a readout circuit 98.

【0068】図21乃至図24を参照して、このような
画像合成回路の動作について説明する。図21(a)乃
至(f)に示すように、合成する画像データ(原画像)
は、“1”若しくは“0”の値であるため、同図(a)
に示すように“1”の2値の4つの画素に囲まれている
領域100に座標変換された新画素V’がある場合、こ
の画素の値は“1”と判定され、これとは反対に同図
(b)に示す領域101にある画素の値は“0”と判定
される。
The operation of such an image synthesizing circuit will be described with reference to FIGS. As shown in FIGS. 21A to 21F, image data to be combined (original image)
Is a value of “1” or “0”.
As shown in the figure, when there is a new pixel V ′ whose coordinate has been transformed in the area 100 surrounded by four pixels of binary “1”, the value of this pixel is determined to be “1”, and the opposite is true. The value of the pixel in the area 101 shown in FIG.

【0069】その他の場合、同図(c)〜(f)に示す
ように、等分割して、新画素の値が一番近い原画素の値
によって決まる。従って、図22に示すように、座標変
換された新画素座標の近傍にある4つの原画素Va,V
b,Vc,Vdによる囲まれた領域を4等分し、新画素
V’がいずれかこの等分割された領域の1つに従属し、
従属された領域の一番近い原画素の値によって囲まれた
領域が“1”若しくは“0”値の領域に最大4分割され
ることになる。このいずれかの領域の中の位置によって
補間される画素の数値が決定される。
In other cases, as shown in FIGS. 7C to 7F, the value of the new pixel is determined by the value of the closest original pixel, evenly divided. Therefore, as shown in FIG. 22, the four original pixels Va and V near the new pixel
The area surrounded by b, Vc, and Vd is divided into four equal parts, and a new pixel V ′ depends on one of the equally divided areas,
An area surrounded by the value of the closest original pixel in the dependent area is divided into a maximum of four areas of “1” or “0” value. The value of the pixel to be interpolated is determined by the position in any of these areas.

【0070】図23のフローチャートを参照して、画素
の補間の動作について説明する。まず、補間される画素
V’の値m,p[座標;(V´x,V´y)]と近傍の
原画像との距離m,pを算出する(ステップS21)。
この値m,pは図18(b)に示すように画素Vaから
の距離を示すものである。但し、0≦m≦1,0≦p≦
1とする。
The operation of pixel interpolation will be described with reference to the flowchart of FIG. First, the distances m and p between the values m and p [coordinates; (V'x, V'y)] of the pixel V 'to be interpolated and the neighboring original image are calculated (step S21).
These values m and p indicate the distance from the pixel Va as shown in FIG. However, 0 ≦ m ≦ 1, 0 ≦ p ≦
Let it be 1.

【0071】次に、求められた値mがm<1/2か否か
判定する(ステップS22)。この判定で値mが1/2
未満であれば(YES)、値pが、p<1/2か否か判
定する(ステップS23)。このステップS23の判定
で、値pが1/2未満であれば(YES)、画素V’は
Vaの値になり、しかし値pが1/2以上であれば(N
O)、画素V’はVcの値になる。
Next, it is determined whether or not the obtained value m is smaller than 1/2 (step S22). In this determination, the value m is 1/2.
If less than (YES), it is determined whether or not the value p is p <1 / (step S23). If it is determined in step S23 that the value p is less than ((YES), the pixel V ′ has the value of Va, but if the value p is 以上 or more (N
O), the pixel V 'has the value of Vc.

【0072】そして、前記ステップS22の判定で値m
が1/2以上であれば(NO)、ステップS23と同様
に、値pがp<1/2か否か判定する(ステップS2
6)。このステップS26の判定で、値pが1/2未満
であれば(YES)、画素V’はVbの値になり、しか
し値pが1/2以上であれば(NO)、画素V’はVd
の値になる。
Then, the value m is determined in step S22.
Is greater than or equal to 1 / (NO), it is determined whether the value p is p <同 様, as in step S23 (step S2).
6). If it is determined in step S26 that the value p is less than ((YES), the pixel V ′ becomes the value of Vb, but if the value p is 以上 or more (NO), the pixel V ′ becomes Vd
Value.

【0073】また、4つの画素で囲まれた領域の分割に
ついて、画素値が3:1の割合になっている場合に、前
述した図21(e),(f)では、領域も3:1の割合
に分割したが、画素間の距離で考えて、図24(a),
(b)に示すように、領域を8:1に分割する考え方も
ある。
In the division of the area surrounded by the four pixels, if the pixel value is 3: 1, the area is also 3: 1 in FIGS. 21E and 21F described above. 24A, and considering the distance between pixels, FIG.
As shown in (b), there is a concept of dividing the area into 8: 1.

【0074】従ってこの第5実施例は、2値画像の補間
処理に関して、補間される画素は、近傍する4つの画素
が囲む画素領域を等分割し、最も近い画素の値に補間す
る画素の値とすることにより、高速処理に好適する。ま
た本発明は、前述した実施例に限定されるものではな
く、他にも発明の要旨を逸脱しない範囲で種々の変形や
応用が可能であることは勿論である。
Therefore, in the fifth embodiment, with respect to the interpolation processing of a binary image, the pixel to be interpolated divides the pixel area surrounded by the four neighboring pixels into equal parts, and interpolates the value of the pixel to be interpolated to the nearest pixel value. This is suitable for high-speed processing. In addition, the present invention is not limited to the above-described embodiment, and it goes without saying that various modifications and applications are possible without departing from the spirit of the invention.

【0075】[0075]

【発明の効果】以上詳述したように本発明によれば、合
成する画像間の変位量を移動可能で可変可能な任意の大
きさのサーチエリア及びサーチラインに基づく最適な平
均濃度の基準ブロックの設定及ぴ対応点の検出により求
め補間された画像合成を高速処理する画像合成装置を提
供することができる。更には、本発明によれば、複数の
合成する画像が互いにオーバーラップする領域内の好適
する位置に基準ブロックが設定され、その基準ブロック
に基づき対応点の検出処理が行なわれ、基準ブロック及
び対応点から算出された変位量により画像の補間が施さ
れて画像が合成されるので好適に合成する画像合成装置
を提供することができる。
As described above in detail, according to the present invention, a reference block having an optimum average density based on a search area of an arbitrary size in which the displacement between images to be combined is movable and variable, and a search line. It is possible to provide an image synthesizing apparatus that performs high-speed processing of an interpolated image obtained by setting and detecting corresponding points. Furthermore, according to the present invention, a plurality of
Suitable for areas where the images to be combined overlap each other
The reference block is set at the position where
The corresponding point is detected based on the
The image is interpolated based on the displacement calculated from the
Image synthesizing device that synthesizes images appropriately
Can be provided.

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

【図1】本発明による画像合成装置の画像合成の概略を
説明するための図である。
FIG. 1 is a diagram for explaining an outline of image synthesis of an image synthesis device according to the present invention.

【図2】本発明による第1実施例としての2値画像を出
力する電子カメラ等に画像合成装置を搭載した構成例を
示す図である。
FIG. 2 is a diagram illustrating a configuration example in which an image combining device is mounted on an electronic camera or the like that outputs a binary image according to a first embodiment of the present invention.

【図3】図2に示した画像合成回路の具体的な構成例を
示す図である。
FIG. 3 is a diagram illustrating a specific configuration example of the image synthesis circuit illustrated in FIG. 2;

【図4】図3に示した基準ブロック設定回路の具体的な
構成例を示す図である。
FIG. 4 is a diagram showing a specific configuration example of a reference block setting circuit shown in FIG. 3;

【図5】図4に示した最適平均濃度演算回路の具体的な
構成例を示す図である。
FIG. 5 is a diagram showing a specific configuration example of an optimum average density calculation circuit shown in FIG. 4;

【図6】本発明による第2実施例の画像合成装置の基準
ブロック設定回路の構成を示し図である。
FIG. 6 is a diagram showing a configuration of a reference block setting circuit of an image synthesizing apparatus according to a second embodiment of the present invention.

【図7】第2実施例の画像合成装置の基準ブロック設定
回路の動作を説明するためのフローチャートである。
FIG. 7 is a flowchart for explaining the operation of a reference block setting circuit of the image synthesizing apparatus according to the second embodiment.

【図8】第2実施例の画像合成装置により合成する画像
のオーバーラップ領域内のサーチエリアと基準ブロック
の配置関係を示す図である。
FIG. 8 is a diagram illustrating a positional relationship between a search area and a reference block in an overlap area of an image to be combined by the image combining apparatus according to the second embodiment.

【図9】対応点を検出する領域がない場合のサーチエリ
アと基準ブロックの配置関係を示す図である。
FIG. 9 is a diagram showing an arrangement relationship between a search area and a reference block when there is no area for detecting a corresponding point.

【図10】本発明による第3実施例としての画像合成装
置によるオーバーラップ領域と設定する基準ブロック及
び対応点の位置関係を示す図である。
FIG. 10 is a diagram showing a positional relationship between an overlap area, a reference block to be set, and a corresponding point by an image synthesizing apparatus according to a third embodiment of the present invention.

【図11】第3実施例の設定処理を行う画像合成装置に
おける画像合成回路の構成例を示す図である。
FIG. 11 is a diagram illustrating a configuration example of an image combining circuit in an image combining device that performs a setting process according to a third embodiment.

【図12】本発明による第4実施例としての画像合成装
置の変位量検出回路の構成例を示す図である。
FIG. 12 is a diagram illustrating a configuration example of a displacement amount detection circuit of an image synthesizing apparatus as a fourth embodiment according to the present invention.

【図13】図12に示した変位量検出回路内のマッチン
グ部の具体的な構成例を示した図である。
13 is a diagram illustrating a specific configuration example of a matching unit in the displacement amount detection circuit illustrated in FIG. 12;

【図14】第4実施例において、比較的小領域をサーチ
エリアとして設定するサーチエリアと基準ブロックの配
置関係を示す図である。
FIG. 14 is a diagram showing an arrangement relationship between a search area for setting a relatively small area as a search area and a reference block in the fourth embodiment.

【図15】第4実施例において、拡張した領域をサーチ
エリアとして設定するサーチエリアと基準ブロックの配
置関係を示す図である。
FIG. 15 is a diagram showing an arrangement relationship between a search area for setting an extended area as a search area and a reference block in the fourth embodiment.

【図16】第4実施例において、基準とするテンプレー
トブロックを拡大して設定するサーチエリアと基準ブロ
ックの配置関係を示す図である。
FIG. 16 is a diagram showing an arrangement relationship between a search area for enlarging and setting a reference template block and a reference block in the fourth embodiment.

【図17】第4実施例において、複数の基準ブロックを
用いてマッチング処理する場合のサーチエリアと基準ブ
ロックの配置関係を示す図である。
FIG. 17 is a diagram showing an arrangement relationship between a search area and a reference block when matching processing is performed using a plurality of reference blocks in the fourth embodiment.

【図18】従来の線型補間を説明するための図である。FIG. 18 is a diagram for explaining conventional linear interpolation.

【図19】本発明による第5実施例としての画像合成装
置の画像合成回路を示す図である。
FIG. 19 is a diagram showing an image synthesizing circuit of an image synthesizing device as a fifth embodiment according to the present invention.

【図20】図19に示した2値補間回路の具体的な構成
例を示す図である。
20 is a diagram illustrating a specific configuration example of the binary interpolation circuit illustrated in FIG. 19;

【図21】4つの画素に分割された領域に位置する補間
される画素の画素値を示す図である。
FIG. 21 is a diagram illustrating pixel values of pixels to be interpolated located in an area divided into four pixels.

【図22】4つの画素に囲まれた領域の分割状態を示す
図である。
FIG. 22 is a diagram showing a divided state of a region surrounded by four pixels.

【図23】4つの画素に分割された領域に位置する補間
される画素の画素値を決定するためのフローチャートで
ある。
FIG. 23 is a flowchart for determining a pixel value of a pixel to be interpolated located in an area divided into four pixels.

【図24】4つの画素に分割された領域の分割例の一例
である。
FIG. 24 is an example of a division example of a region divided into four pixels.

【符号の説明】 1…左画像(基準画像:合成される画像)、2…右画像
(合成する画像)、3…オーバーラップ領域、3a…上
部、3b…下部、4,8,25a,25b…サーチエリ
ア、5,6…基準ブロック、7…延長線(サーチライ
ン)、9,10…基準点、11…撮像部、12…画像合
成部、13…印刷部、14…表示部、15…A/D部、
16…2値化回路、17…フレームメモリA、18…画
像合成回路、19…フレームメモリB、20…D/A
部、21…基準ブロック設定回路、22…変位量検出回
路、23…補間回路、24…合成回路、26a,26b
…対応点、27…小リサーチエリア、28…拡張リサー
チエリア、31…上部サーチエリア設定回路、32,3
8…メモリ、33…最適平均濃度演算回路、34…下部
サーチライン設定回路、35…最適平均濃度演算回路、
36…ブロック読出し回路、37…カウンタ回路、39
…減算器、40…演算回路、41…最小値検出回路。
[Description of Signs] 1 left image (reference image: image to be synthesized), 2 right image (image to be synthesized), 3 overlapping area, 3a upper part, 3b lower part, 4, 8, 25a, 25b ... search area, 5, 6 ... reference block, 7 ... extension line (search line), 9, 10 ... reference point, 11 ... imaging unit, 12 ... image synthesis unit, 13 ... printing unit, 14 ... display unit, 15 ... A / D part,
16 binarization circuit, 17 frame memory A, 18 image synthesis circuit, 19 frame memory B, 20 D / A
Part, 21: reference block setting circuit, 22: displacement amount detection circuit, 23: interpolation circuit, 24: synthesis circuit, 26a, 26b
... corresponding points, 27 ... small research area, 28 ... extended research area, 31 ... upper search area setting circuit, 32, 3
8: memory, 33: optimum average density calculation circuit, 34: lower search line setting circuit, 35: optimum average density calculation circuit
36: block readout circuit, 37: counter circuit, 39
... Subtracter, 40 arithmetic circuit, 41 minimum value detection circuit.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06T 3/00 400 G06T 3/00 300 G06T 1/00 280 - 340 H04N 1/387 特許ファイル(PATOLIS) JICSTファイル(JOIS)────────────────────────────────────────────────── ─── Continued on the front page (58) Fields investigated (Int. Cl. 7 , DB name) G06T 3/00 400 G06T 3/00 300 G06T 1/00 280-340 H04N 1/387 Patent file (PATOLIS) JICST File (JOIS)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 画像データを所定幅で重合せた時の互い
にオーバーラップする領域内に第1のサーチエリアを設
定し、この第1のサーチエリア内の画像データの濃度に
基づく相関性を有する所定サイズの第1の基準ブロック
を設定し、前記第1の基準ブロックから前記オーバーラ
ップ領域の長方向に沿って延ばした第2のサーチエリア
内の前記相関性を有する位置に第2の基準ブロックを設
定する基準ブロック設定手段と、 前記基準ブロック設定手段により設定された各基準ブロ
ック内の所定画素から合成に際して補間されるべき画素
の位置への変位量を検出する変位量検出手段と前記変位
量検出手段により検出された変位量に基づき合成する画
像を補間する補間手段と、 前記画像データと前記補間手段により補間された画像デ
ータを合成する画像合成手段とを具備することを特徴と
する画像合成装置。
1. A first search area is set in an overlapping area when image data is overlapped with a predetermined width, and has a correlation based on the density of the image data in the first search area. A first reference block having a predetermined size is set, and a second reference block is located at a position having the correlation in a second search area extending along the length direction of the overlap area from the first reference block. Reference block setting means for setting, a displacement amount detecting means for detecting a displacement amount from a predetermined pixel in each reference block set by the reference block setting means to a position of a pixel to be interpolated at the time of synthesis, and the displacement amount Interpolating means for interpolating an image to be synthesized based on the amount of displacement detected by the detecting means; and synthesizing the image data and the image data interpolated by the interpolating means. Image synthesizing apparatus characterized by comprising an image synthesizing unit.
【請求項2】 画像データを所定幅で重合せた時の互い
にオーバーラップする領域内に第1の基準ブロックを設
定するための第1のサーチエリアを所定画の端線に設
定し、この第1のサーチエリア内の画像データの濃度の
最適平均値に基づく相関性を有する所定サイズの第1の
基準ブロックを設定し、前記第1の基準ブロックから前
記オーーラップ領域の長方向に沿って延ばしたサーチ
ライン上もしくは、このサーチラインを含み第1のサー
チエリアより小さいサイズの第2のサーチエリアを設定
して検索し、この第2のサーチエリア内の濃度の最適平
均値に基づく相関性を有する位置に第2の基準ブロック
を設定する基準ブロック設定手段と、 前記設定された第1基準ブロックに基づき、これに対応
する別の画像上の対応点及びオーバーラップ領域を検出
して第2基準ブロックに対応する対応点を検出し、これ
らの基準ブロック及び対応点から画像間の変位量を算出
する変位量算出手段と、 算出された変位量に基づき画像データを補間する補間手
段と、 前記画像データと前記補間手段により補間された画像デ
ータを合成する画像合成手段とを具備することを特徴と
する画像合成装置。
Wherein setting the first search area for setting the first reference block image data in a region overlapping when not polymerize a predetermined width on the edge line of a predetermined picture image, this It sets a first reference block of a predetermined size having a correlation based on the optimal average value of the density of the image data in the first search area along from the first reference block in the longitudinal direction of the O-bus Rappu region A search is performed by setting a second search area on the extended search line or including the search line and having a size smaller than the first search area, and performing a correlation based on the optimum average value of the density in the second search area. Reference block setting means for setting a second reference block at a position having a characteristic, a corresponding point on another image corresponding to the first reference block based on the set first reference block, and Displacement amount calculating means for detecting a lap area to detect a corresponding point corresponding to the second reference block, and calculating a displacement amount between the images from the reference block and the corresponding point; image data based on the calculated displacement amount And an image synthesizing unit that synthesizes the image data and the image data interpolated by the interpolation unit.
【請求項3】 請求項1記載の画像合成装置の変位量検
出手段において、 合成する第1画像に設定された第1及び第2の基準ブロ
ックを所定オーバーラップ領域に基づき、それぞれ第2
画像にマッピングし、対応する第1及び第2サーチエリ
アにおけるマッチングを行なう対応ブロック検出の処理
結果が、予め設定された範囲を越えた場合にサーチエリ
アを順次拡大してマッチング処理を行なうサーチエリア
拡張マッチング部と、 前記サーチエリア拡張マッチング部で定めた範囲を越え
た場合には、基準ブロック及び対応ブロックを拡大し若
しくは隣接しない2対の基準,対応ブロックを用いて、
それぞれマッチング処理を行なう基準ブロック拡大マッ
チング部からなる対応点検出手段と、 前記対応点検出手段の各サーチエリア拡張マッチング部
と基準ブロック拡大マッチング部からの結果から変位量
を算出する変位係数算手段とをさらに具備することを特
徴とする画像合成装置。
3. The displacement amount detecting means of the image synthesizing device according to claim 1, wherein the first and second reference blocks set in the first image to be synthesized are respectively set on the basis of a predetermined overlap area.
Search area extension for performing matching processing by sequentially expanding the search area when the processing result of corresponding block detection that maps to an image and performs matching in the corresponding first and second search areas exceeds a preset range When the range exceeds the range defined by the matching area and the search area expansion matching section, the reference block and the corresponding block are enlarged or two pairs of non-adjacent reference and corresponding blocks are used.
A corresponding point detection means comprising a reference block expansion matching unit for performing a matching process, and a displacement coefficient calculation means for calculating a displacement amount from a result from each search area expansion matching unit and the reference block expansion matching unit of the corresponding point detection unit. An image synthesizing apparatus, further comprising:
【請求項4】 2値化された画像データを所定幅で重合
せた時の互いにオーバーラップする領域内に所定サイズ
の基準ブロックを設定する基準ブロック設定手段と、 設定された基準ブロックと前記画像データから変位量を
検出する変位量検出手段と、 検出された変位量に基づき合成する画像側の画素(原画
素)の座標を変換する座標変換部と、座標変換された新
画素とこれに近傍する原画素との距離を算出する近傍距
離算出部と、算出された距離により、新画素の位置を判
定する距離判定部と、判定された位置から画像データを
補間する画像データ読出部とからなる2値補間手段と、 2値補間された画像データと合成される画像データとを
合成する画像合成手段と を具備し、 前記基準ブロック設定手段は、前記基準ブロックより大
きいサーチエリアを設定し、そのサーチエリアの中で相
関性がある所定サイズの領域を基準ブロックとする こと
を特徴とする画像合成装置。
4. A reference block setting means for setting a reference block of a predetermined size in an area overlapping each other when binarized image data is superimposed at a predetermined width; Displacement amount detecting means for detecting the displacement amount from the data, a coordinate transformation unit for transforming the coordinates of a pixel (original pixel) on the image side to be synthesized based on the detected displacement amount, and a new coordinate transformed pixel and its vicinity A neighborhood distance calculation unit that calculates a distance to an original pixel to be processed, a distance determination unit that determines a position of a new pixel based on the calculated distance, and an image data reading unit that interpolates image data from the determined position. comprising a binary interpolation means, and images synthesizing means you combine the image data to be combined with binary interpolated image data, and the reference block setting means is larger than the reference block
Set a search area and search within that search area.
An image synthesizing device, wherein an area of a predetermined size having relevancy is used as a reference block .
【請求項5】 オーバーラップ領域を有する第1の画像
データと第2の画像データとを合成する画像合成装置に
おいて、 前記第1の画像データのオーバーラップ領域に2つ以上
の基準ブロックを設定する基準ブロック設定手段と、 設定された前記基準ブロック位置に対応する前記第2の
画像データ中の対応ブロックを検出し、前記基準ブロッ
ク位置と前記対応ブロック位置とから前記第1及び第2
の画像間の変位量を検出する変位量検出手段と、 前記変位量に基づき前記第1の画像データ又は第2の画
像データのうち少なくとも一方の画像データを補間した
後に、それぞれの画像を合成する画像合成手段と を具備し、 前記基準ブロック設定手段は、前記基準ブロックより大
きいサーチエリアを設定し、そのサーチエリアの中で相
関性がある所定サイズの領域を基準ブロックとする こと
を特徴とする画像合成装置。
5. An image synthesizing apparatus for synthesizing first image data and second image data having an overlapping area, wherein two or more reference blocks are set in an overlapping area of the first image data. Reference block setting means for detecting a corresponding block in the second image data corresponding to the set reference block position, and obtaining the first and second blocks from the reference block position and the corresponding block position.
A displacement amount detecting means for detecting a displacement amount between the images, and interpolating at least one of the first image data and the second image data based on the displacement amount, and then combining the respective images. comprising an image combining unit, wherein the reference block setting means is larger than the reference block
Set a search area and search within that search area.
An image synthesizing device, wherein an area of a predetermined size having relevancy is used as a reference block .
【請求項6】 前記サーチエリアのサイズ又は前記基準
ブロックのサイズを可変とすることを特徴とする請求項
4または5に記載の画像合成装置。
6. The size of the search area or the size of the reference block is variable.
6. The image synthesizing device according to 4 or 5 .
【請求項7】 前記画像データは、2値画像データであ
ることを特徴とする請求項5記載の画像合成装置。
7. The image synthesizing apparatus according to claim 5, wherein said image data is binary image data.
JP22615493A 1993-09-10 1993-09-10 Image synthesis device Expired - Fee Related JP3333012B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP22615493A JP3333012B2 (en) 1993-09-10 1993-09-10 Image synthesis device
US08/796,619 US6128416A (en) 1993-09-10 1997-02-07 Image composing technique for optimally composing a single image from a plurality of digital images

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22615493A JP3333012B2 (en) 1993-09-10 1993-09-10 Image synthesis device

Publications (2)

Publication Number Publication Date
JPH0785246A JPH0785246A (en) 1995-03-31
JP3333012B2 true JP3333012B2 (en) 2002-10-07

Family

ID=16840711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22615493A Expired - Fee Related JP3333012B2 (en) 1993-09-10 1993-09-10 Image synthesis device

Country Status (1)

Country Link
JP (1) JP3333012B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3851384B2 (en) 1996-09-18 2006-11-29 シャープ株式会社 Image composition apparatus and method
JP4429816B2 (en) * 2004-06-10 2010-03-10 オリンパス株式会社 Imaging apparatus and method for increasing image resolution
CN1981302B (en) * 2004-07-09 2010-12-29 奥林巴斯株式会社 Image processing device and method
EP1901228B1 (en) 2005-06-08 2011-05-18 Fujitsu Ltd. Apparatus, method and program for image matching
US20070009034A1 (en) * 2005-07-05 2007-01-11 Jarno Tulkki Apparatuses, computer program product, and method for digital image processing
JP5071091B2 (en) * 2007-12-18 2012-11-14 パナソニック株式会社 Electronic component mounting apparatus and one-dimensional barcode reading method
JP6068080B2 (en) * 2012-10-02 2017-01-25 日本電産サンキョー株式会社 Image combining device, image combining method, and program
KR102001148B1 (en) * 2012-12-10 2019-10-01 엘지전자 주식회사 Input device and image processing method there of

Also Published As

Publication number Publication date
JPH0785246A (en) 1995-03-31

Similar Documents

Publication Publication Date Title
JP4832878B2 (en) Image composition processing apparatus and method
US7646891B2 (en) Image processor
JP4815807B2 (en) Image processing apparatus, image processing program, and electronic camera for detecting chromatic aberration of magnification from RAW data
JP4554316B2 (en) Stereo image processing device
JP2000298300A (en) Hand shake image correcting method, recording medium, and image pickup device
JP3333012B2 (en) Image synthesis device
JP5082856B2 (en) Image processing method, image processing program, image processing apparatus, and imaging apparatus
JPH0591492A (en) Moving vector detector
JPH08292014A (en) Measuring method of pattern position and device thereof
JPH10126665A (en) Image composing device
JP3534551B2 (en) Motion detection device
US6625301B2 (en) Image processing apparatus, image processing method and transmission medium
JP3786300B2 (en) Motion vector detection apparatus and motion vector detection method
JP4240666B2 (en) Image composition method and image display method
JP3135162B2 (en) Distance measuring device
JP2017028606A (en) Imaging apparatus
JP3949740B2 (en) Electronic zoom processing apparatus and electronic zoom processing method
JP4168613B2 (en) Image reading device
JP3487045B2 (en) Automatic tracking device
JP2010041416A (en) Image processing unit, image processing method, image processing program, and imaging apparatus
JP3221052B2 (en) Image shake detection device
JP3271387B2 (en) Motion amount detection device and motion amount detection method
JPH1069536A (en) Image synthesizer
JP3303311B2 (en) Image vibration correction apparatus and image vibration correction method
JPH05292385A (en) Motion vector detector

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020709

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

Free format text: PAYMENT UNTIL: 20080726

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090726

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees