JP3414955B2 - Image synthesis processing device - Google Patents

Image synthesis processing device

Info

Publication number
JP3414955B2
JP3414955B2 JP31174596A JP31174596A JP3414955B2 JP 3414955 B2 JP3414955 B2 JP 3414955B2 JP 31174596 A JP31174596 A JP 31174596A JP 31174596 A JP31174596 A JP 31174596A JP 3414955 B2 JP3414955 B2 JP 3414955B2
Authority
JP
Japan
Prior art keywords
image
area
search
processing
storage means
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
JP31174596A
Other languages
Japanese (ja)
Other versions
JPH10154222A (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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP31174596A priority Critical patent/JP3414955B2/en
Publication of JPH10154222A publication Critical patent/JPH10154222A/en
Application granted granted Critical
Publication of JP3414955B2 publication Critical patent/JP3414955B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、画像読取装置に
より読み取った複数枚の画像を合成して画像記録装置に
出力する画像合成処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image synthesizing processing device for synthesizing a plurality of images read by an image reading device and outputting them to an image recording device.

【0002】[0002]

【従来の技術】画像形成装置は、画像読取装置において
読み取られた後に画像処理装置において所定の画像処理
が施された原稿の画像データの入力を受け、この画像デ
ータに基づいて電子写真法等により画像形成を行う。従
来より、画像読取装置として、特開平4−192659
号に提示されているように、2次元エリアCCDを用い
て原稿の画像を読み取る方法が提案されている。
2. Description of the Related Art An image forming apparatus receives image data of an original document read by an image reading apparatus and then subjected to predetermined image processing by an image processing apparatus, and based on the image data, an electrophotographic method or the like is used. Image formation is performed. Conventionally, as an image reading apparatus, Japanese Patent Laid-Open No. 4-192659
As presented in the above issue, a method of reading an image of a document using a two-dimensional area CCD has been proposed.

【0003】この方法では、画像の読取中に原稿と2次
元エリアCCDとを相対的に移動させることはなく、原
稿との相対位置を固定した2次元エリアCCDの読取面
で一括して原稿の画像を読み取るため、サイズの大きい
原稿の画像について高い解像度を得るためには原稿の画
像全面を1度に読み取ることができない場合がある。こ
のため、原稿の画像を複数の部分に分割して読み取った
後に、複数の画像を合成して出力することが考えられ
る。
In this method, the original and the two-dimensional area CCD are not moved relative to each other during the reading of the image, and the original is collectively read on the reading surface of the two-dimensional area CCD whose relative position is fixed. Since the image is read, it may not be possible to read the entire image surface of the original at once in order to obtain high resolution for the image of the large original. Therefore, it is conceivable that the image of the original is divided into a plurality of parts and read, and then the plurality of images are combined and output.

【0004】そこで、特開平5−122606号に開示
された構成では、合成すべき複数の画像を互いに一部重
複するようにして読み取り、一方の画像の重複範囲内に
特定の基準領域を設定し、この基準領域と輝度値または
色の差が0または最小となる領域を他方の画像の重複範
囲内において検索し、両者の領域を重ね合わせて画像を
合成するようにしている。
Therefore, in the configuration disclosed in Japanese Patent Laid-Open No. 5-122606, a plurality of images to be combined are read so as to partially overlap each other, and a specific reference area is set within the overlapping range of one image. An area in which the difference between the reference area and the luminance value or color is 0 or the minimum is searched in the overlapping range of the other image, and both areas are overlapped to synthesize the image.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、特開平
5−122606号に開示された構成では、一方の画像
において重複範囲内に設定した基準領域に輝度階調の顕
著な変化がない場合には、他方の画像において対応する
領域を見つけることができず、分割した複数の画像を正
確に合成することができない。特に、一方の画像内に設
定された基準領域が小さい場合には、他方の画像におけ
る誤った領域を重ね合わせるべき領域と判断する可能性
が高く、基準領域を大きくすると、輝度階調差の比較に
長時間を必要とする。また、領域の比較において各画素
間の差の合計を求めるようにしているため、領域を移動
しながら合計値の最小を調べた場合に、合計値が最小の
位置において移動による合計値の変化が緩慢で、受光部
のA/D変換回路の特性等により各画素での誤差が累積
すると、正確な比較を行うことができず、複数の画像を
正確に合成できなくなる問題がある。
However, in the configuration disclosed in Japanese Patent Laid-Open No. 5-122606, when there is no significant change in the luminance gradation in the reference area set within the overlapping range in one image, The corresponding region cannot be found in the other image, and the divided images cannot be accurately combined. In particular, if the reference area set in one image is small, it is highly likely that the wrong area in the other image will be determined as the area to be superimposed. Need a long time to. Further, since the sum of the differences between the pixels is calculated in the area comparison, when the minimum total value is checked while moving the area, the change in the total value due to the movement at the position where the total value is the minimum is If the error is slow and accumulated in each pixel due to the characteristics of the A / D conversion circuit of the light receiving unit, accurate comparison cannot be performed and a plurality of images cannot be accurately combined.

【0006】このような問題は、受光素子として2次元
エリアCCDを用いた場合のみならず、1次元ラインC
CDを用いて読み取った複数の画像を合成する場合にも
同様に生じる。
Such a problem is not limited to the case where the two-dimensional area CCD is used as the light receiving element, but the one-dimensional line C
The same occurs when combining a plurality of images read using a CD.

【0007】この発明の目的は、原稿の画像内容に拘ら
ず、複数の部分に分割された画像を正確に合成すること
ができる画像合成処理装置を提供することにある。
An object of the present invention is to provide an image synthesizing processing device capable of accurately synthesizing images divided into a plurality of parts regardless of the image content of a document.

【0008】[0008]

【課題を解決するための手段】請求項1に記載した発明
は、一部に互いに重複する重複範囲を有する複数の画像
を合成処理して出力する画像合成処理装置において、合
成すべき一方の画像の重複領域内で比較先領域を順次割
り当て、比較元領域と前記比較先領域との各画素毎に輝
度差を2乗し、全体についての総和を基に相関値マップ
を作成し、該相関値マップからユークリッド距離の最小
値と次に小さい値との差S、及びユークリッド距離の最
小値位置での2次微分値Tを特徴量として抽出し、この
特徴量に基づいて他の領域と峻別できる探索領域を決定
する探索領域抽出処理と、 合成すべき他方の画像の重複
範囲内で前記特徴量が探索領域に一致する合成領域を検
索する合成領域検索処理と、 一方の画像と他方の画像と
を探索領域の位置と合成領域の位置とが重複した状態に
合成する画像合成処理と、を実行することを特徴とす
る。
The invention according to claim 1
Are multiple images with overlapping areas that partially overlap each other
In the image synthesis processing device that synthesizes and outputs
Duplication of one image to be madeThe comparison target area is sequentially divided within the area.
The pixels of the comparison source area and the comparison destination area.
Correlation value map based on the sum of all squared degrees
And the minimum Euclidean distance from the correlation value map
Value S and the next smaller value, and the maximum Euclidean distance
The secondary differential value T at the small value position is extracted as a feature value,
Determines a search area that can be distinguished from other areas based on the features
Search area extraction processing, Duplication of the other image to be composited
Within the range, the composite area in which the feature quantity matches the search area is detected.
A synthetic area search process for searching, One image and the other
To the state where the position of the search area and the position of the composite area overlap.
It is characterized by executing an image synthesizing process for synthesizing
It

【0009】請求項1に記載した発明においては、2つ
の画像を合成する際に、先ず、各画素毎の輝度差の2乗
の総和を基に相関値マップを作成し、作成した相関値マ
ップから抽出した特徴量に基づいて他の領域から峻別さ
れる探索領域が抽出され、次いで、他方の画像の重複範
囲において特徴量が探索領域に一致する合成領域が検索
される。探索領域は、重複領域において他の領域から峻
別されるものであるとともに、他方の画像における重複
領域の画像内容は一方の画像における重複領域の画像内
容に一致するため、他方の画像の重複範囲においても探
索領域は他の領域から峻別される。したがって、各画素
の値に基づく相関値マップから抽出した特徴量が探索領
域に一致する合成領域他方の画像の重複範囲において
他の領域から峻別して容易かつ正確に検索され、2つの
画像の合成が正確に行われる。
According to the first aspect of the invention, when two images are combined, first, the square of the brightness difference for each pixel.
Create a correlation value map based on the sum of
A search region that is distinguished from other regions based on the feature amount extracted from the image is extracted, and then a composite region whose feature amount matches the search region is searched for in the overlapping range of the other image. The search area is distinct from other areas in the overlapping area, and since the image content of the overlapping area in the other image matches the image content of the overlapping area in the one image, the search area in the overlapping area of the other image is Also, the search area is distinguished from other areas. Therefore, each pixel
Synthesis region feature amount extracted from the correlation value map based on the values match the search area is searched easily and accurately with distinguished from other regions in the overlap region of the other image, the synthesis of the two images exactly Done.

【0010】[0010]

【0011】[0011]

【0012】請求項に記載した発明は、合成すべき一
方の画像及び他方の画像のそれぞれを記憶する第1及び
第2の記憶手段と、前記探索領域抽出処理において第1
の記憶手段から画像を読み出して処理を実行し、前記合
成領域検索処理において第1の記憶手段及び第2の記憶
手段から画像を読み出して処理を実行し、この処理結果
に基づいて複数の記憶手段に記憶した画像を合成して出
力する演算手段と、を設けたことを特徴とする。
According to a second aspect of the present invention, there are provided first and second storage means for storing one image and the other image to be combined, respectively, and the first in the search area extracting process.
Read out the image from the storage means, execute the processing, read out the image from the first storage means and the second storage means in the composite area search processing, execute the processing, and based on the processing results, the plurality of storage means And an arithmetic means for synthesizing and outputting the images stored in.

【0013】請求項に記載した発明においては、合成
すべき一方の画像と他方の画像とがそれぞれ個別の記憶
手段に記憶され、第1の記憶手段から読み出した一方の
画像についての探索領域抽出処理に係る演算と第2の記
憶手段から読み出した他方の画像についての合成領域検
索処理に係る演算とが、同一の演算回路により実行され
る。したがって、装置の構成が簡略化される。
According to the second aspect of the present invention, one image and the other image to be combined are stored in separate storage means, respectively, and the search area extraction is performed for the one image read from the first storage means. The calculation related to the process and the calculation related to the combined area search process for the other image read from the second storage unit are executed by the same calculation circuit. Therefore, the configuration of the device is simplified.

【0014】請求項に記載した発明は、合成すべき複
数の画像の全てを記憶する保存用記憶手段と、保存用記
憶手段から読み出した一方の画像及び他方の画像のそれ
ぞれを記憶する演算用記憶手段と、合成すべき複数の画
像の全てを保存用記憶手段に保存した後に、前記一方及
び他方の画像を保存用記憶手段から演算用記憶手段に入
力して前記探索領域抽出処理、及び、前記合成領域検索
処理を実行し、この処理結果に基づいて画像を合成して
出力する演算手段と、を設けたことを特徴とする。
According to a third aspect of the present invention, a storage means for storing all of a plurality of images to be combined, and an arithmetic operation for storing one image and the other image read from the storage means for storage. After storing the storage means and all of the plurality of images to be combined in the storage storage means, the one and the other images are input from the storage storage means to the calculation storage means to perform the search area extraction processing, and Arithmetic means for executing the composite area search processing and combining and outputting images based on the processing result.

【0015】請求項に記載した発明においては、合成
すべき複数の画像の全てが一旦保存用記憶手段に記憶さ
れ、この保存用記憶手段から演算用記憶手段に適宜必要
な画像を読み出して探索領域抽出処理及び合成領域検索
処理が実行される。したがって、中断した合成作業を再
開する場合や保存用記憶手段に対する画像の記憶順序の
変更等が極めて容易に行われる。
According to the third aspect of the invention, all of the plurality of images to be combined are temporarily stored in the storage means for storage, and the necessary images are read out from the storage means for storage to the storage means for calculation. Region extraction processing and synthetic area search processing are executed. Therefore, when the interrupted synthesizing work is restarted or the storage order of the images in the storage means for storage is changed very easily.

【0016】請求項に記載した発明は、前記探索領域
抽出処理に係る一方の画像または前記合成領域検索処理
に係る他方の画像のいずれかを記憶する画像記憶手段
と、前記探索領域抽出手段で抽出された探索画像を記憶
する領域記憶手段と、画像記憶手段に記憶された一方の
画像に対する前記探索領域抽出処理、及び、画像記憶手
段に記憶された他方の画像と領域記憶手段に記憶された
探索領域とに基づく前記合成領域検索処理を実行すると
ともに、前記探索領域抽出処理が終了した後に前記一方
の画像を出力し、前記合成領域検索処理が終了した後に
前記他方の画像を出力する演算手段と、を設けたことを
特徴とする。
According to a fourth aspect of the present invention, there is provided an image storage means for storing either one image related to the search area extraction processing or the other image related to the composite area search processing, and the search area extraction means. Area storage means for storing the extracted search image, the search area extraction processing for one image stored in the image storage means, and the other image and the area storage means stored in the image storage means An arithmetic means for executing the composite area search process based on a search area, outputting the one image after the search area extraction process is completed, and outputting the other image after the composite area search process is completed. And are provided.

【0017】請求項に記載した発明においては、画像
記憶手段に1つの画像が記憶される毎に、探索領域抽出
処理及び合成領域検索処理が実行され、抽出された探索
領域が領域記憶手段に記憶されるとともに、画像記憶手
段に記憶されている画像が出力される。したがって、こ
の処理を繰り返すことにより、1つの画像を記憶する画
像記憶手段と探索領域を記憶する領域記憶手段とを備え
るだけでよく、準備すべき記憶容量が削減される。
According to the fourth aspect of the present invention, the search area extraction processing and the composite area search processing are executed every time one image is stored in the image storage means, and the extracted search area is stored in the area storage means. The image stored in the image storage means is output. Therefore, by repeating this process, only the image storage means for storing one image and the area storage means for storing the search area are required, and the storage capacity to be prepared is reduced.

【0018】[0018]

【発明の実施の形態】図1は、この発明の実施形態の一
例である画像合成処理装置の概略の構成を示すブロック
図である。画像合成処理装置1は、原稿台110、レン
ズ120、2次元エリアCCDセンサで構成される受光
部130、ハロゲンランプ80、移動用モータ90、増
幅器140、A/D変換器150、フィルタ回路16
0、フィールドメモリ10,11、アドレス生成器20
〜22、セレクタ30〜32、ユークリッド演算器4
0、相関値マップ用メモリ12、相関値マップ特徴量生
成器50及びコントローラ60から構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing a schematic configuration of an image composition processing apparatus which is an example of an embodiment of the present invention. The image composition processing apparatus 1 includes a document table 110, a lens 120, a light receiving section 130 including a two-dimensional area CCD sensor, a halogen lamp 80, a moving motor 90, an amplifier 140, an A / D converter 150, and a filter circuit 16.
0, field memories 10 and 11, address generator 20
-22, selectors 30-32, Euclidean calculator 4
0, the correlation value map memory 12, the correlation value map feature amount generator 50, and the controller 60.

【0019】ハロゲンランプ80は、原稿台110に載
置された原稿100に対して光を照射する。レンズ12
0は、原稿100の画像面における反射光を受光部13
0に集光させる。移動用モータ90は、ハロゲンランプ
80と受光部130とを原稿台110上に載置された原
稿100の画像面に平行に移動させる。受光部130
は、移動用モータ90の駆動により原稿台110の下面
の複数の停止位置に移動し、複数の停止位置のそれぞれ
において原稿の画像を読み取る。増幅器140は、受光
部130の出力を増幅する。A/D変換器150は、増
幅器140から出力されたアナログ信号をディジタルデ
ータに変換する。フィルタ回路160は、A/D変換器
150の出力データに対してメディアンフィルタ、エッ
ジ強調等の処理を施す。
The halogen lamp 80 irradiates the original 100 placed on the original table 110 with light. Lens 12
0 indicates the light receiving unit 13 that reflects the reflected light on the image surface of the original 100.
Focus to 0. The moving motor 90 moves the halogen lamp 80 and the light receiving unit 130 in parallel to the image surface of the document 100 placed on the document table 110. Light receiving unit 130
Is moved to a plurality of stop positions on the lower surface of the document table 110 by driving the moving motor 90, and the image of the document is read at each of the plurality of stop positions. The amplifier 140 amplifies the output of the light receiving unit 130. The A / D converter 150 converts the analog signal output from the amplifier 140 into digital data. The filter circuit 160 subjects the output data of the A / D converter 150 to processing such as median filtering and edge enhancement.

【0020】フィールドメモリ10、11は、フィルタ
回路160の出力データを交互に保存する。即ち、受光
部130が複数の位置のそれぞれにおいて読み取った画
像が、フィールドメモリ10、11のそれぞれに交互に
保存される。したがって、フィールドメモリ10に記憶
されている画像とフィールドメモリ11に記憶されてい
る画像とが合成される。セレクタ30、31は、コント
ローラ60からの指示にしたがって、フィールドメモリ
10、11からの出力をユークリッド演算器40に振り
分けて出力する。ユークリッド演算器40はセレクタ3
0、31からの出力に対してユークリッド演算を行い、
その結果を出力する。相関値マップ用メモリ12はユー
クリッド演算器40からの出力を保存する。アドレス生
成器20〜22は、コントローラ60からの指示にした
がって、フィールドメモリ10,11から読み出した画
像を外部に出力する。
The field memories 10 and 11 alternately store the output data of the filter circuit 160. That is, the images read by the light receiving unit 130 at each of the plurality of positions are alternately stored in the field memories 10 and 11. Therefore, the image stored in the field memory 10 and the image stored in the field memory 11 are combined. The selectors 30 and 31 distribute the outputs from the field memories 10 and 11 to the Euclidean arithmetic unit 40 according to instructions from the controller 60, and output them. Euclidean calculator 40 is selector 3
Euclidean operation is performed on the outputs from 0 and 31,
The result is output. The correlation value map memory 12 stores the output from the Euclidean calculator 40. The address generators 20 to 22 output the images read from the field memories 10 and 11 to the outside according to the instruction from the controller 60.

【0021】以下に、上記画像合成処理装置1において
2つの画像を合成する場合の処理を例にあげて説明す
る。図2は上記画像合成処理装置のメインフローチャー
ト、図3は原稿読取処理に係るフローチャート、図4は
探索領域の抽出処理に係るフローチャート、図5は合成
領域の検索処理に係るフローチャート、図6は画像合成
処理時に生成される相関値マップの概略図を示す。
Below, an explanation will be given of the processing in the case of synthesizing two images in the image synthesizing processing apparatus 1 as an example. 2 is a main flowchart of the image composition processing apparatus, FIG. 3 is a flowchart relating to document reading processing, FIG. 4 is a flowchart related to search area extraction processing, FIG. 5 is a flowchart related to composition area search processing, and FIG. FIG. 6 is a schematic diagram of a correlation value map generated at the time of synthesis processing.

【0022】画像合成処理装置1は、2つの画像を合成
する際には、ハロゲンランプ80及び受光部130を第
1の停止位置に位置させた状態で原稿の第1の範囲の画
像についての読取処理を行い(s10)、第1の画像に
おいて画像を合成する際の基準となる探索領域を抽出す
る演算処理を行う(s11)。次いで、移動用モータ9
0によりハロゲンランプ80及び受光部130を第2の
停止位置に移動し(s12)、原稿の第2の範囲の画像
についての読取処理を行い(s13)、第2の画像にお
いて探索領域に一致すべき合成領域を検索する演算処理
を行う(s14)。検索した合成領域の位置に基づいて
第1の画像と第2の画像とを外部に出力する(s1
5)。
When synthesizing two images, the image synthesizing processor 1 reads the image of the first range of the original document with the halogen lamp 80 and the light receiving section 130 positioned at the first stop position. Processing is performed (s10), and arithmetic processing is performed to extract a search area serving as a reference when the images are combined in the first image (s11). Next, the moving motor 9
When 0, the halogen lamp 80 and the light receiving unit 130 are moved to the second stop position (s12), the reading process is performed on the image of the second range of the document (s13), and the second image is matched with the search area. Arithmetic processing for retrieving a power synthesis area is performed (s14). The first image and the second image are output to the outside based on the position of the searched composite area (s1
5).

【0023】次に、s10、s11、s13及びs14
のそれぞれにおける処理をより詳細に説明する。
Next, s10, s11, s13 and s14
The processing in each of the above will be described in more detail.

【0024】s10における第1画像の読取処理では、
コントローラ60は、移動用モータ90を駆動してハロ
ゲンランプ80及び受光部130を第1の停止位置に移
動させた状態で、第1のフィールドメモリ10を選択し
(s20)、ハロゲンランプ80を駆動して原稿の第1
の画像を読み取る(s21)。受光部130の受光信号
は、増幅器140による増幅(s22)、A/D変換器
150によるディジタルデータへの変換(s23)及び
フィルタ回路160によるフィルタ処理(s24)を経
て、選択された第1のフィールドメモリ10に画像デー
タとして保存される(s25)。第1のフィールドメモ
リ10への画像データの書込処理は、例えば、フィール
ドメモリ10内の書込アドレスを更新しつつ最終ライン
まで1ライン毎に行われる(s26,s27)。このs
20〜s27の処理により、コントローラ60は、原稿
の画像における2つの画像範囲のうち、第1の画像から
読み取った画像データを、第1のフィールドメモリ10
内に保存する。
In the reading process of the first image in s10,
The controller 60 drives the moving motor 90 to move the halogen lamp 80 and the light receiving unit 130 to the first stop position, selects the first field memory 10 (s20), and drives the halogen lamp 80. Then the first of the manuscript
The image of is read (s21). The received light signal of the light receiving unit 130 is amplified by the amplifier 140 (s22), converted into digital data by the A / D converter 150 (s23), and filtered by the filter circuit 160 (s24), and then the selected first signal is received. The image data is stored in the field memory 10 (s25). The image data writing process to the first field memory 10 is performed line by line up to the last line while updating the write address in the field memory 10 (s26, s27). This s
Through the processing of 20 to s27, the controller 60 sets the image data read from the first image in the two image ranges of the image of the original to the first field memory 10
Save in.

【0025】s11における探索領域の抽出処理では、
コントローラ60は、先ず、セレクタ30、31を同一
フィールドメモリ比較状態に設定する(s30)。この
同一フィールドメモリ比較状態は、一方のフィールドメ
モリ内の2つの領域の画像データを比較する状態であ
る。この同一フィールドメモリ比較状態においてセレク
タ30、31のそれぞれは、第1のフィールドメモリ1
0から読み出した画像データをユークリッド演算器40
に入力する。次いで、コントローラ60は、アドレス生
成器20に比較元領域のアドレス及び比較先領域のアド
レスのそれぞれを設定する(s31,s32)。
In the search area extraction processing in s11,
The controller 60 first sets the selectors 30 and 31 in the same field memory comparison state (s30). This same field memory comparison state is a state in which image data in two areas in one field memory are compared. In the same field memory comparison state, each of the selectors 30 and 31 is connected to the first field memory 1
The image data read from 0 is used by the Euclidean calculator 40
To enter. Next, the controller 60 sets the address of the comparison source area and the address of the comparison target area in the address generator 20 (s31, s32).

【0026】なお、図6に示すように、第1の画像範囲
200において第2の画像範囲204と重複すべき重複
範囲203の大きさは予め定められており、この重複範
囲203内において比較元領域201及び比較先領域2
02が設定される。また、比較元領域及び比較先領域の
大きさも予め定められており、比較元領域201及び比
較先領域202は、それぞれフィールドメモリ10内の
座標点P0(x0,y0)及び座標点P1(x1,y
1)により特定される。したがって、コントローラ60
は、この座標点P0及びP1のそれぞれに対応するアド
レスを比較元領域201のアドレス及び比較先領域20
2のアドレスとしてアドレス生成器20に設定する。
As shown in FIG. 6, the size of the overlapping range 203 that should overlap with the second image range 204 in the first image range 200 is predetermined, and within this overlapping range 203, the comparison source is compared. Area 201 and comparison target area 2
02 is set. Further, the sizes of the comparison source region and the comparison target region are also predetermined, and the comparison source region 201 and the comparison target region 202 have coordinate points P0 (x0, y0) and coordinate points P1 (x1, respectively) in the field memory 10. y
Specified by 1). Therefore, the controller 60
The address corresponding to each of the coordinate points P0 and P1 is the address of the comparison source area 201 and the comparison destination area 20.
The address of 2 is set in the address generator 20.

【0027】上記のs30〜s33の処理により、フィ
ールドメモリ10に画像データとして保存されている第
1の画像範囲200のうち、比較元領域201及び比較
先領域202のそれぞれに含まれる画像データが、セレ
クタ30,31を介してユークリッド演算器40に入力
される。ユークリッド演算器40は、入力された比較元
領域201に含まれる画像データに対する比較先領域2
02に含まれる画像データのユークリッド距離EDを求
める下記第1式の演算を実行する(s33)。
As a result of the processing of s30 to s33, the image data included in each of the comparison source area 201 and the comparison destination area 202 in the first image range 200 stored as image data in the field memory 10 is It is input to the Euclidean arithmetic unit 40 via the selectors 30 and 31. The Euclidean arithmetic unit 40 compares the comparison target area 2 with respect to the image data included in the input comparison source area 201.
The operation of the following first equation for obtaining the Euclidean distance ED of the image data included in 02 is executed (s33).

【0028】[0028]

【数1】 [Equation 1]

【0029】ここにLは各画素の画像データである輝度
または色度であり、m及びnは領域201、202のx
方向及びy方向の画素数である。したがって、ユークリ
ッド演算器40は、比較先領域202に含まれる画像デ
ータと比較元領域201において対応する位置の画像デ
ータとの輝度差または色度差を2乗し、得られた値の比
較先領域202の全体についての総和をユークリッド距
離EDとして算出する。ユークリッド演算器40は、算
出したユークリッド距離EDを相関値マップ用メモリ1
2に格納する(s34)。
Here, L is the luminance or chromaticity which is the image data of each pixel, and m and n are x of the regions 201 and 202.
It is the number of pixels in the direction and the y direction. Therefore, the Euclidean calculator 40 squares the luminance difference or chromaticity difference between the image data included in the comparison target area 202 and the image data at the corresponding position in the comparison source area 201, and compares the obtained value with the comparison target area. The total sum of 202 is calculated as the Euclidean distance ED. The Euclidean calculator 40 uses the calculated Euclidean distance ED as the correlation value map memory 1
2 (s34).

【0030】コントローラ60は、重複領域203内で
比較元領域201を除く範囲において比較先領域202
を順次割り当て、各比較先領域202について比較元領
域201に対するユークリッド距離EDを算出して相関
値マップ用メモリ12に格納する(s35→s32)。
これによって、相関値マップ用メモリ12内に比較元領
域201についての相関値マップ210が生成される。
The controller 60 controls the comparison target area 202 in the range excluding the comparison source area 201 in the overlapping area 203.
Are sequentially allocated, the Euclidean distance ED for each comparison target area 202 with respect to the comparison source area 201 is calculated, and the Euclidean distance ED is stored in the correlation value map memory 12 (s35 → s32).
As a result, the correlation value map 210 for the comparison source area 201 is generated in the correlation value map memory 12.

【0031】次いで、相関値マップ特徴量生成器50
が、比較元領域201についての相関値マップ210の
特徴量として、相関値マップ210を構成するユークリ
ッド距離EDの最小値と次に小さい値との差S、及び、
ユークリッド距離EDの最小値位置でのx、yによる2
次微分値Tを抽出し、この値をコントローラ60に出力
する(s36)。コントローラ60は、抽出された特徴
量S及びTに基づいて、比較元領域201が他の領域と
峻別できるか否かを確認し(s37)、特徴量S及びT
が判定可能レベルより大きく、比較元領域201が他の
領域と峻別できる場合にはこの領域を探索領域と決定し
て次の処理に移る。
Next, the correlation value map feature quantity generator 50
Is the difference S between the minimum value and the next smallest value of the Euclidean distance ED forming the correlation value map 210, as the feature amount of the correlation value map 210 for the comparison source area 201, and
2 by x, y at the minimum value position of Euclidean distance ED
The secondary differential value T is extracted, and this value is output to the controller 60 (s36). The controller 60 confirms whether the comparison source region 201 can be distinguished from other regions based on the extracted feature amounts S and T (s37), and the feature amounts S and T are determined.
Is larger than the determinable level and the comparison source area 201 can be distinguished from other areas, this area is determined as a search area and the next processing is performed.

【0032】特徴量S及びTが判定可能レベルより小さ
く、比較元領域201が他の領域と峻別できない場合に
は、コントローラ60は、設定されている比較元領域2
01が重複領域203内における最終の領域か否かを判
別し(s38)、設定されている比較元領域201が最
終の領域でない場合には、重複領域203内の別の領域
を比較元領域201に設定して各比較先領域との相関値
マップの作成及び特徴量の抽出を行う(s38→s3
1)。設定されている比較元領域201が最終の領域で
ある場合には、コントローラ60は、探索領域が存在し
ないとしてエラー処理を実行する。
When the feature amounts S and T are smaller than the determinable level and the comparison source region 201 cannot be distinguished from other regions, the controller 60 determines that the comparison source region 2 has been set.
It is determined whether 01 is the final area in the overlapping area 203 (s38), and if the set comparison source area 201 is not the final area, another area in the overlapping area 203 is set as the comparison source area 201. Is set to create a correlation value map with each comparison target area and extract a feature amount (s38 → s3
1). When the set comparison source area 201 is the final area, the controller 60 determines that the search area does not exist and executes the error processing.

【0033】s13における第2画像の読取処理では、
s12において移動用モータ90によりハロゲンランプ
80及び受光部130を第2の停止位置に移動させた状
態で、コントローラ60は、第2のフィールドメモリ1
1を選択して図3に示したs10の読取処理と同様の処
理を実行する。この処理により、コントローラ60は、
原稿の画像における2つの画像範囲のうち、第12画像
から読み取った画像データを、第2のフィールドメモリ
11内に保存する。
In the reading process of the second image in s13,
In s12, the controller 60 sets the second field memory 1 while the halogen lamp 80 and the light receiving unit 130 are moved to the second stop position by the moving motor 90.
1 is selected and the same processing as the reading processing of s10 shown in FIG. 3 is executed. By this processing, the controller 60
The image data read from the twelfth image of the two image ranges in the image of the original is stored in the second field memory 11.

【0034】s14における合成領域の検索処理では、
コントローラ60は、先ず、セレクタ30、31を相違
フィールドメモリ比較状態に設定する(s50)。この
相違フィールドメモリ比較状態は、2つのフィールドメ
モリ内の領域の画像データを比較する状態である。この
相違フィールドメモリ比較状態においてセレクタ30、
31のそれぞれは、第1のフィールドメモリ10及び第
2のフィールドメモリ11のそれぞれから読み出した画
像データをユークリッド演算器40に入力する。次い
で、コントローラ60は、アドレス生成器20及び21
に比較元領域のアドレス及び比較先領域のアドレスのそ
れぞれを設定する(s51,s52)。
In the search processing of the composite area in s14,
The controller 60 first sets the selectors 30 and 31 in the different field memory comparison state (s50). This difference field memory comparison state is a state in which image data in areas in two field memories are compared. In this difference field memory comparison state, the selector 30,
Each of 31 inputs the image data read from each of the first field memory 10 and the second field memory 11 to the Euclidean arithmetic unit 40. The controller 60 then controls the address generators 20 and 21.
The address of the comparison source area and the address of the comparison destination area are set in (s51, s52).

【0035】s51で設定される比較元領域のアドレス
とは、s11の処理で算出された探索領域のアドレスで
ある。また、s52で設定される比較先領域のアドレス
とは、図6に示す第2の画像204において画像合成時
に第1の画像と重複する重複範囲206内の予め定めら
れた大きさの領域を代表する座標点P2(x2,y2)
のアドレスである。
The address of the comparison source area set in s51 is the address of the search area calculated in the processing of s11. In addition, the address of the comparison target area set in s52 represents an area of a predetermined size within the overlapping range 206 that overlaps the first image in the second image 204 shown in FIG. 6 when the images are combined. Coordinate point P2 (x2, y2)
Is the address of.

【0036】セレクタ30は、第1のフィールドメモリ
10から探索領域の画像データを読み出してユークリッ
ド演算器40に入力する。一方、セレクタ31は、第2
のフィールドメモリ1から比較先領域の画像データを読
み出してユークリッド演算器40に入力する。ユークリ
ッド演算器40は、図4に示したs33と同様の処理に
より、探索領域である比較元領域201に含まれる画像
データに対する比較先領域205に含まれる画像データ
のユークリッド距離EDを求め(s53)、算出したユ
ークリッド距離EDを相関値マップ用メモリ12に格納
する(s54)。
The selector 30 reads the image data of the search area from the first field memory 10 and inputs it to the Euclidean calculator 40. On the other hand, the selector 31 is the second
The image data of the comparison target area is read from the field memory 1 and input to the Euclidean calculator 40. The Euclidean computing unit 40 obtains the Euclidean distance ED of the image data included in the comparison target area 205 with respect to the image data included in the comparison source area 201, which is the search area, by the same processing as s33 shown in FIG. 4 (s53). The calculated Euclidean distance ED is stored in the correlation value map memory 12 (s54).

【0037】コントローラ60は、重複領域206内で
比較先領域205を順次割り当て、各比較先領域205
について比較元領域201に対するユークリッド距離E
Dを算出して相関値マップ用メモリ12に格納する(s
55→s52)。これによって、相関値マップ用メモリ
12内に探索領域である比較元領域201についての相
関値マップ211が生成される。
The controller 60 sequentially allocates the comparison target areas 205 in the overlapping area 206, and compares the comparison target areas 205 with each other.
Euclidean distance E with respect to the comparison source region 201
D is calculated and stored in the correlation value map memory 12 (s
55 → s52). As a result, the correlation value map 211 for the comparison source area 201, which is the search area, is generated in the correlation value map memory 12.

【0038】相関値マップ特徴量生成器50は、相関値
マップ用メモリ12内に生成された相関値マップ211
において、ユークリッド距離EDの値が最小のデータを
検索し(s56)、ユークリッド距離EDの値が最小で
ある比較先領域のアドレスをコントローラ60に出力す
る。相関値マップ211におけるユークリッド距離ED
が最小である比較先領域は、第1の画像200の探索領
域(比較元領域)201と一致する合成領域であると考
えられる。したがって、コントローラ60は、下記第2
式によりフィールドメモリ11に保存されている画像デ
ータのアドレスの補正データMx,Myを算出する。
The correlation value map feature amount generator 50 has a correlation value map 211 generated in the correlation value map memory 12.
At, the data having the minimum value of the Euclidean distance ED is searched (s56), and the address of the comparison target area having the minimum value of the Euclidean distance ED is output to the controller 60. Euclidean distance ED in correlation value map 211
It is considered that the comparison target area having the smallest value is a combined area that matches the search area (comparison source area) 201 of the first image 200. Therefore, the controller 60 is
The correction data Mx, My of the address of the image data stored in the field memory 11 is calculated by the formula.

【0039】[0039]

【数2】 [Equation 2]

【0040】ここに、(x0,y0)は第1の画像にお
ける探索領域を代表する点の座標であり、(x2,y
2)は第2の画像における合成領域を代表する点の座標
である。上記第2式による演算で得られた補正データM
x,Myを、第1のフィールドメモリ10のアドレスに
対応する座標データから減算するか、または、第2のフ
ィールドメモリ11のアドレスに対応する座標データに
加算することにより、第2のフィールドメモリ11に保
存されている画像データのアドレスが、第1のフィール
ドメモリ10に保存されている画像データのアドレスに
連続する。
Here, (x0, y0) is the coordinates of the point representing the search area in the first image, and (x2, y
2) is the coordinates of a point representing the composite area in the second image. Correction data M obtained by the calculation according to the second equation
x and My are subtracted from the coordinate data corresponding to the address of the first field memory 10 or added to the coordinate data corresponding to the address of the second field memory 11 to obtain the second field memory 11 The address of the image data stored in the first field memory 10 is continuous with the address of the image data stored in the first field memory 10.

【0041】s15における外部出力処理において、コ
ントローラ60は、第1のフィールドメモリ10に保存
されている画像データをアドレス順に出力した後に、第
1のフィールドメモリ10から出力した最後の画像デー
タのアドレスの次のアドレスから前記補正データMx,
Myを減算し、補正後のアドレスをアドレス生成器21
に設定する。これによって、セレクタ32が、第2のフ
ィールドメモリ11の画像データを補正後のアドレスか
ら順に読み出して出力する。この処理により、画像合成
処理装置1から、原稿100の画像面から読み取った第
1の画像の画像データと第2の画像の画像データとが完
全に合成された状態で出力される。
In the external output process in s15, the controller 60 outputs the image data stored in the first field memory 10 in the order of addresses, and then outputs the address of the last image data output from the first field memory 10. From the next address, the correction data Mx,
My is subtracted, and the corrected address is used as the address generator 21.
Set to. As a result, the selector 32 sequentially reads and outputs the image data in the second field memory 11 from the corrected address. By this processing, the image combining processing device 1 outputs the image data of the first image and the image data of the second image read from the image surface of the original 100 in a completely combined state.

【0042】以上のように、この画像合成処理装置1
は、2つの画像を合成する際に、先ず、一方の画像にお
ける2つの画像の重複範囲内で、各画素毎に輝度差の合
計である相関値(特徴量)に基づいて、重複範囲内の他
の領域との峻別が可能な領域を探索領域として抽出し、
次いで、特徴量が探索領域と一致する合成領域を他方の
画像における重複範囲内において探索する。このため、
比較する領域が固定されているためにミスマッチする可
能性がある従来技術の問題を是正することができる。ま
た、特徴点において比較するため比較領域を小さくで
き、従来技術で比較領域を大きくしてミスマッチを避け
る場合、階調差比較時間が長くなるという欠点を是正す
ることができる。
As described above, the image composition processing apparatus 1
When synthesizing two images, first, within the overlapping range of the two images in one image, based on the correlation value (feature amount) that is the sum of the brightness differences for each pixel, Extract a region that can be distinguished from other regions as a search region,
Next, a synthesis area whose feature amount matches the search area is searched for within the overlapping range in the other image. For this reason,
The problem of the prior art, which may cause a mismatch due to the fixed area to be compared, can be corrected. Further, since the comparison is performed at the characteristic points, the comparison area can be made small, and when the comparison area is made large by the conventional technique to avoid the mismatch, the disadvantage that the gradation difference comparison time becomes long can be corrected.

【0043】図7は、請求項に記載した発明の実施形
態の一例である画像合成処理装置の構成を示すブロック
図である。図7において、図1に示す構成と同一の部分
には同一の番号を付して説明を省略する。画像合成処理
装置2は、図1に示した構成に加えて、磁気ディスクコ
ントローラ170と磁気ディスク記憶装置180とを備
えている。磁気ディスクコントローラ170は、フィー
ルドメモリ10、11とコントローラ60とに接続され
ており、磁気ディスク記憶装置180の磁気ディスクに
対してデータの書込/読取を行う。磁気ディスク記憶装
置180は磁気ディスクコントローラ170の制御に基
づいてデータの保持及び消去を行う。
FIG. 7 is a block diagram showing the arrangement of an image synthesis processing apparatus which is an example of the embodiment of the invention described in claim 3 . 7, parts that are the same as the parts shown in FIG. 1 are given the same reference numerals, and descriptions thereof will be omitted. The image composition processing device 2 includes a magnetic disk controller 170 and a magnetic disk storage device 180 in addition to the configuration shown in FIG. The magnetic disk controller 170 is connected to the field memories 10 and 11 and the controller 60, and writes / reads data to / from the magnetic disk of the magnetic disk storage device 180. The magnetic disk storage device 180 holds and erases data under the control of the magnetic disk controller 170.

【0044】図8は、この実施形態に係る画像合成処理
装置におけるメインフローチャートを示す。なお、原稿
読取処理に係るフローチャート、探索領域の抽出処理に
係るフローチャート、合成領域の検索処理に係るフロー
チャート、及び、画像合成処理時に生成される相関値マ
ップの概略図は図3〜図6と同一である。
FIG. 8 shows a main flow chart in the image composition processing apparatus according to this embodiment. It should be noted that the flowchart of the document reading process, the flowchart of the search region extracting process, the flowchart of the combining region searching process, and the schematic diagram of the correlation value map generated during the image combining process are the same as those in FIGS. 3 to 6. Is.

【0045】先ず、複数の画像について図3に示した読
取処理を実行し、フィールドメモリ10、11に保存し
た画像データを磁気ディスクコントローラ170を介し
て磁気ディスク装置180に書き込む(s60〜s6
3)。合成すべき全ての画像の読取処理が終了すると
(s63)、磁気ディスク記憶装置180に記憶されて
いる画像データを磁気ディスクコントローラ170を介
してフィールドメモリ10、11のそれぞれに読み出す
(s64)。この後、図4に示した探索領域の抽出処
理、及び、図5に示した合成領域の検索処理を実行し
(s65,s66)、検索された合成領域の重複範囲に
おける位置に基づいて画像データを出力する(s67,
s68)。
First, the reading process shown in FIG. 3 is executed for a plurality of images, and the image data stored in the field memories 10 and 11 is written to the magnetic disk device 180 via the magnetic disk controller 170 (s60 to s6).
3). When the reading processing of all the images to be combined is completed (s63), the image data stored in the magnetic disk storage device 180 is read into each of the field memories 10 and 11 via the magnetic disk controller 170 (s64). After that, the extraction processing of the search area shown in FIG. 4 and the search processing of the composite area shown in FIG. 5 are executed (s65, s66), and the image data is calculated based on the position in the overlapping range of the searched composite area. Is output (s67,
s68).

【0046】上述のように、この実施形態に係る画像合
成処理装置2では、合成すべき複数の画像を読み取った
後に探索領域の抽出処理を含む合成作業を実行するた
め、途中で中断された合成作業を再開する場合の処理や
画像読取時の処理手順の変更を容易にすることができ
る。
As described above, in the image synthesizing processing apparatus 2 according to this embodiment, since the synthesizing work including the search region extracting process is executed after reading a plurality of images to be synthesized, the synthesizing interrupted midway. It is possible to easily change the process when resuming the work and the process procedure when the image is read.

【0047】図9は、請求項に記載した発明の実施形
態の一例である画像合成処理装置の構成を示すブロック
図である。図9において、図1と同一の部分には同一の
番号を付して説明を省略する。画像合成処理装置3は、
図1に示した構成のフィールドメモリ11に代えてサン
プル領域保存用メモリ190を備えたものである。サン
プル領域保存用メモリ190は、第1の画像から抽出さ
れた探索領域の画像データを保存する。
FIG. 9 is a block diagram showing the arrangement of an image synthesis processing apparatus which is an example of the embodiment of the invention described in claim 4 . 9, the same parts as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. The image composition processing device 3
A sample area storage memory 190 is provided in place of the field memory 11 having the configuration shown in FIG. The sample area storage memory 190 stores the image data of the search area extracted from the first image.

【0048】図10はこの実施形態に係る画像合成処理
装置の処理手順を示すメインフローチャート、図11は
同画像合成処理装置の探索領域の抽出処理に係るフロー
チャート、図12は同画像合成処理装置の合成領域の検
索処理に係るフローチャートである。なお、画像読取処
理のフローチャート、及び、画像合成処理時に生成され
る相関値マップの概略図は図3及び図6と同一である。
FIG. 10 is a main flow chart showing the processing procedure of the image synthesis processing apparatus according to this embodiment, FIG. 11 is a flow chart of the search area extraction processing of the image synthesis processing apparatus, and FIG. 12 is the image synthesis processing apparatus. It is a flowchart which concerns on the search process of a synthetic | combination area. The flowchart of the image reading process and the schematic diagram of the correlation value map generated during the image combining process are the same as those in FIGS. 3 and 6.

【0049】先ず、第1の画像について図3に示した読
取処理を行い(s70)、探索領域の抽出処理を行う
(s71→s73)。この探索領域の抽出処理では、図
4に示したs30〜s38と同一の処理を実行した後、
抽出した探索領域の画像データをサンプル領域保存用メ
モリ190に保存する(s80)。次いで、フィールド
メモリ10内に保存している第1の画像データを外部装
置に出力する(s74)。この後、第2の画像について
図3に示した読取処理を行って画像データをフィールド
メモリ10に保存し(s70)、合成領域の検索処理を
行う(s71→s72)。この合成領域の検索処理で
は、セレクタ30をサンプル領域保存用メモリ190に
設定し(s90)、この状態で図5に示したs51〜s
57の処理を実行する。さらに、得られた補正データに
基づいてフィールドメモリ10内に保存している第2の
画像データを外部装置に出力する(s74)。
First, the reading process shown in FIG. 3 is performed on the first image (s70), and the search region extracting process is performed (s71 → s73). In this search area extraction processing, after performing the same processing as s30 to s38 shown in FIG.
The image data of the extracted search area is stored in the sample area storage memory 190 (s80). Next, the first image data stored in the field memory 10 is output to the external device (s74). After that, the reading process shown in FIG. 3 is performed on the second image to store the image data in the field memory 10 (s70), and the synthesis region search process is performed (s71 → s72). In the search processing of the composite area, the selector 30 is set in the sample area storage memory 190 (s90), and in this state, s51 to s shown in FIG.
The processing of 57 is executed. Further, the second image data stored in the field memory 10 is output to the external device based on the obtained correction data (s74).

【0050】なお、3つ以上の画像を合成する場合に
は、第2の画像移行の画像について合成領域の検索処理
の後に探索領域の抽出処理を行い、探索処理を終了後に
画像を外部に出力する(s72→s73→s74)。
When synthesizing three or more images, a search region extraction process is performed after the synthesis region search process for the second image transition image, and the images are output to the outside after the search process is completed. (S72 → s73 → s74).

【0051】以上の処理により、この実施形態に係る画
像合成処理装置3によれば、探索領域のみを保存するサ
ンプル領域保存用メモリ190を備え、画像から探索領
域を抽出した後に、その画像データを先に外部に出力
し、フィールドメモリ10には、常に1回の画像読取処
理によって読み取られた画像データのみを保存するよう
にしたことにより、メモリ容量を削減することができ
る。
With the above processing, the image composition processing apparatus 3 according to this embodiment is provided with the sample area storage memory 190 for storing only the search area, and after extracting the search area from the image, the image data is stored. The memory capacity can be reduced by outputting the data to the outside first and always storing only the image data read by one image reading process in the field memory 10.

【0052】なお、上述した実施形態においては、いず
れも、2次元エリアCCDセンサにより受光部130を
構成し、受光部130が原稿の画像面に相対的に移動し
ていない状態で画像を読み取るものを例に挙げて説明し
たが、受光部130を1次元ラインCCDセンサにより
構成し、受光部130が原稿の画像面に対して相対的に
移動している状態で画像を読み取るものにおいても、こ
の発明を同様に実施することができる。この場合、読取
部130による1回の画像読取範囲より画像面が大きい
原稿を、一部分が重複する状態で原稿台に対向する位置
を変えて複数回置き換えることにより、その原稿の画像
面の全面についての画像データを正確に出力することが
できる。
In each of the above-described embodiments, the light receiving section 130 is configured by a two-dimensional area CCD sensor, and the image is read in a state where the light receiving section 130 does not move relative to the image surface of the document. However, even in the case where the light receiving unit 130 is configured by a one-dimensional line CCD sensor and the image is read while the light receiving unit 130 is moving relative to the image surface of the document, The invention can be practiced similarly. In this case, by replacing the original whose image surface is larger than the image reading range of one time by the reading unit 130 a plurality of times by changing the position facing the original plate in a partially overlapping state, the entire image surface of the original is replaced. The image data of can be accurately output.

【0053】また、上述した実施形態においては、いず
れも、画像を読み取るためのハロゲンランプ80、レン
ズ120及び受光部130を備えていたが、これらを除
いて複数の画像が外部装置から入力されるように構成す
ることもできる。また、この発明の画像合成処理装置を
複写機等の画像形成装置の一部に配置することもでき
る。
In each of the above-described embodiments, the halogen lamp 80 for reading an image, the lens 120, and the light receiving unit 130 are provided, but a plurality of images other than these are input from an external device. It can also be configured as follows. Further, the image composition processing apparatus of the present invention can be arranged in a part of an image forming apparatus such as a copying machine.

【0054】さらに、上述した実施形態においては、い
ずれも、2個の画像を合成する場合について説明した
が、3個以上の画像を合成する場合にもこの発明を同様
に実施することができる。例えば、図1に示した画像合
成処理装置1では、図2に示したs11〜s15の処理
を、合成すべき画像数から1を減算した回数だけ繰り返
し実行することにより、3個以上の画像を正確に合成す
ることができる。また、合成すべき画像数が増加するに
したがって、合成作業が途中で中断される可能性が高く
なるが、図7に示した画像合成処理装置2では、図8に
示したs60〜s63の処理を、合成すべき画像数と同
じ回数だけ繰り返して実行することにより、途中で中断
された合成作業を再開する場合の処理や画像読取時の処
理手順の変更を容易にすることができる。さらに、図9
に示した画像合成処理装置3では、図10に示したs7
0〜s74の処理を合成すべき画像数と同じ回数だけ繰
り返して実行することにより、合成すべき複数の画像に
係る画像データの全てを保存する場合に比較して、準備
すべきメモリ容量を著しく削減することができる。
Furthermore, in each of the above-described embodiments, the case where two images are combined has been described, but the present invention can be similarly implemented when combining three or more images. For example, in the image synthesizing processing device 1 shown in FIG. 1, three or more images are obtained by repeatedly performing the processing of s11 to s15 shown in FIG. 2 by the number of times 1 is subtracted from the number of images to be synthesized. Can be synthesized accurately. Further, as the number of images to be combined increases, the possibility that the combining operation will be interrupted in the middle increases, but in the image combining processing device 2 shown in FIG. 7, the processing of s60 to s63 shown in FIG. By repeating the above process the same number of times as the number of images to be combined, it is possible to easily perform the process of restarting the interrupted combining operation and the change of the process procedure at the time of image reading. Furthermore, FIG.
In the image composition processing device 3 shown in FIG.
By repeating the processing from 0 to s74 the same number of times as the number of images to be combined, the memory capacity to be prepared is remarkably increased as compared with the case of storing all of the image data of a plurality of images to be combined. Can be reduced.

【0055】[0055]

【発明の効果】請求項1に記載した発明によれば、2つ
の画像を合成する際に、先ず、各画素毎の輝度差の2乗
の総和を基に相関値マップを作成し、作成した相関値マ
ップから抽出した特徴量に基づいて他の領域から峻別さ
れる探索領域が抽出され、次いで、他方の画像の重複範
囲において特徴量が探索領域に一致する合成領域が検索
される。探索領域は、重複領域において他の領域から峻
別されるものであるとともに、他方の画像における重複
領域の画像内容は一方の画像における重複領域の画像内
容に一致するため、他方の画像の重複範囲においても探
索領域は他の領域から峻別される。したがって、各画素
の値に基づく相関値マップから抽出した特徴量が探索領
域に一致する合成領域を他方の画像の重複範囲において
他の領域から峻別して容易かつ正確に検索でき、2つの
画像の合成を正確に行うことができる。
According to the first aspect of the present invention, when two images are combined, first, the square of the luminance difference for each pixel is used.
Create a correlation value map based on the sum of
A search region that is distinguished from other regions based on the feature amount extracted from the image is extracted, and then a composite region whose feature amount matches the search region is searched for in the overlapping range of the other image. The search area is distinct from other areas in the overlapping area, and since the image content of the overlapping area in the other image matches the image content of the overlapping area in the one image, the search area in the overlapping area of the other image is Also, the search area is distinguished from other areas. Therefore, each pixel
It is possible to easily and accurately search for a composite area in which the feature amount extracted from the correlation value map based on the value of the search area coincides with the search area from other areas in the overlapping range of the other image, and to accurately combine the two images. It can be carried out.

【0056】[0056]

【0057】請求項に記載した発明によれば、合成す
べき一方の画像と他方の画像とをそれぞれ個別の記憶手
段に記憶し、第1の記憶手段から読み出した一方の画像
についての探索領域抽出処理に係る演算と第2の記憶手
段から読み出した他方の画像についての合成領域検索処
理に係る演算とを、同一の演算回路により実行すること
ができる。したがって、装置の構成を簡略化できる。
According to the second aspect of the invention, one image to be combined and the other image are stored in separate storage means, respectively, and the search area for the one image read from the first storage means. The same arithmetic circuit can execute the arithmetic operation related to the extraction processing and the arithmetic operation related to the combined area search processing for the other image read from the second storage unit. Therefore, the configuration of the device can be simplified.

【0058】請求項に記載した発明によれば、合成す
べき複数の画像の全てを一旦保存用記憶手段に記憶し、
この保存用記憶手段から演算用記憶手段に適宜必要な画
像を読み出して探索領域抽出処理及び合成領域検索処理
を実行する。したがって、中断した合成作業を再開する
場合や保存用記憶手段に対する画像の記憶順序の変更等
を極めて容易に行うことができる。
According to the invention described in claim 3 , all of the plurality of images to be combined are temporarily stored in the storage means for storage,
A necessary image is read out from the storage means for storage into the storage means for calculation, and a search area extraction process and a composite area search process are executed. Therefore, when restarting the interrupted synthesizing operation or changing the storage order of the images in the storage means for storage, it can be performed very easily.

【0059】請求項に記載した発明によれば、画像記
憶手段に1つの画像が記憶される毎に、探索領域抽出処
理及び合成領域検索処理を実行し、抽出された探索領域
を領域記憶手段に記憶するとともに、画像記憶手段に記
憶した画像を出力する。したがって、この処理を繰り返
すことにより、1つの画像を記憶する画像記憶手段と探
索領域を記憶する領域記憶手段とを備えるだけでよく、
準備すべき記憶容量を削減できる。
According to the fourth aspect of the present invention, the search area extraction processing and the composite area search processing are executed every time one image is stored in the image storage means, and the extracted search area is stored in the area storage means. And the image stored in the image storage means is output. Therefore, by repeating this process, it suffices to provide the image storage means for storing one image and the area storage means for storing the search area,
The storage capacity to be prepared can be reduced.

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

【図1】この発明の実施形態の一例である画像合成処理
装置の概略の構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of an image composition processing apparatus that is an example of an embodiment of the present invention.

【図2】上記画像合成処理装置のメインフローチャート
である。
FIG. 2 is a main flowchart of the image composition processing apparatus.

【図3】同画像合成処理装置における原稿読取処理に係
るフローチャートである。
FIG. 3 is a flowchart relating to a document reading process in the image composition processing apparatus.

【図4】同画像合成処理装置における探索領域の抽出処
理に係るフローチャートである。
FIG. 4 is a flowchart relating to a search region extraction process in the image composition processing device.

【図5】同画像合成処理装置における合成領域の検索処
理に係るフローチャートである。
FIG. 5 is a flowchart relating to a search process for a combined area in the image combining processing apparatus.

【図6】画像合成処理時に生成される相関値マップの概
略図である。
FIG. 6 is a schematic diagram of a correlation value map generated at the time of image synthesis processing.

【図7】請求項に記載した発明の実施形態の一例であ
る画像合成処理装置の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of an image synthesis processing apparatus which is an example of an embodiment of the invention described in claim 3 ;

【図8】同画像合成処理装置におけるメインフローチャ
ートを示す。
FIG. 8 shows a main flowchart in the image composition processing apparatus.

【図9】請求項に記載した発明の実施形態の一例であ
る画像合成処理装置の構成を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of an image synthesis processing apparatus which is an example of an embodiment of the invention described in claim 4 ;

【図10】同画像合成処理装置の処理手順を示すメイン
フローチャートである。
FIG. 10 is a main flowchart showing a processing procedure of the image composition processing apparatus.

【図11】同画像合成処理装置の探索領域の抽出処理に
係るフローチャートである。
FIG. 11 is a flowchart relating to a search region extraction process of the image composition processing device.

【図12】同画像合成処理装置の合成領域の検索処理に
係るフローチャートである。
FIG. 12 is a flowchart relating to a search process for a combined area of the image combining processing apparatus.

【符号の説明】 1,2,3−画像合成処理装置 10,11−フィールドメモリ 20,21−アドレス生成器 40−ユークリッド演算器[Explanation of symbols] 1, 2, 3-image synthesis processing device 10, 11-field memory 20, 21-Address generator 40-Euclidean arithmetic unit

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】一部に互いに重複する重複範囲を有する複
数の画像を合成処理して出力する画像合成処理装置にお
いて、 合成すべき一方の画像の重複領域内で比較先領域を順次
割り当て、比較元領域と前記比較先領域との各画素毎に
輝度差を2乗し、全体についての総和を基に相関値マッ
プを作成し、該相関値マップからユークリッド距離の最
小値と次に小さい値との差S、及びユークリッド距離の
最小値位置での2次微分値Tを特徴量として抽出し、こ
の特徴量に基づいて他の領域と峻別できる探索領域を決
する探索領域抽出処理と、 合成すべき他方の画像の重複範囲内で前記特徴量が探索
領域に一致する合成領域を検索する合成領域検索処理
と、 一方の画像と他方の画像とを探索領域の位置と合成領域
の位置とが重複した状態に合成する画像合成処理と、を
実行することを特徴とする画像合成処理装置。
1. A compound having an overlapping range partially overlapping each other.
To an image synthesis processing device that synthesizes and outputs a number of images.
And Duplication of one image to be compositedCompare target areas sequentially within the area
Allocation, for each pixel of the comparison source area and the comparison destination area
The brightness difference is squared, and the correlation value map is calculated based on the total sum of the whole.
Of the Euclidean distance from the correlation value map.
The difference S between the small value and the next smallest value, and the Euclidean distance
The second derivative value T at the minimum value position is extracted as a feature quantity,
The search area that can be distinguished from other areas is determined based on the feature amount of
FixedSearch area extraction processing, The feature is searched for within the overlapping range of the other image to be combined.
Synthetic region search processing to search for a synthetic region that matches the region
When, The position of the search area and the combined area of one image and the other image
Image combining processing to combine the position of and
Image composition characterized by executionprocessingapparatus.
【請求項2】合成すべき一方の画像及び他方の画像のそ
れぞれを記憶する第1及び第2の記憶手段と、前記探索
領域抽出処理において第1の記憶手段から画像を読み出
して処理を実行し、前記合成領域検索処理において第1
の記憶手段及び第2の記憶手段から画像を読み出して処
理を実行し、この処理結果に基づいて複数の記憶手段に
記憶した画像を合成して出力する演算手段と、を設けた
請求項1に記載の画像合成処理装置。
2. One of the images to be combined and the other of the images to be combined.
First and second storage means for storing each, and the search
An image is read from the first storage means in the area extraction processing.
Then, the process is executed, and
The image is read from the storage means and the second storage means and processed.
And executes the processing in multiple storage means based on the processing result.
The image composition processing apparatus according to claim 1 , further comprising: an arithmetic unit configured to combine and output the stored images .
【請求項3】合成すべき複数の画像の全てを記憶する保
存用記憶手段と、保存用記憶手段から読み出した一方の
画像及び他方の画像のそれぞれを記憶する演算用記憶手
段と、合成すべき複数の画像の全てを保存用記憶手段に
保存した後に、前記一方及び他方の画像を保存用記憶手
段から演算用記憶手段に入力して前記探索領域抽出処
理、及び、前記合成領域検索処理を実行し、この処理結
果に基づいて画像を合成して出力する演算手段と、を設
けた請求項1に記載の画像合成処理装置。
3. A memory for storing all of a plurality of images to be combined.
One of the existing storage means and the one read from the storage means for storage.
An arithmetic memory for storing each of the image and the other image
And a plurality of images to be combined in the storage means for storage
After saving, save the one and the other images
Input to the storage means for calculation from the stage
Management, and the combining region search processing is executed, the image synthesizing apparatus according to claim 1 in which the calculating means, provided for outputting the synthesized images on the basis of the processing result.
【請求項4】前記探索領域抽出処理に係る一方の画像ま
たは前記合成領域検索処理に係る他方の画像のいずれか
を記憶する画像記憶手段と、前記探索領域抽出手段で抽
出された探索画像を記憶する領域記憶手段と、画像記憶
手段に記憶され た一方の画像に対する前記探索領域抽出
処理、及び、画像記憶手段に記憶された他方の画像と領
域記憶手段に記憶された探索領域とに基づく前記合成領
域検索処理を実行するとともに、前記探索領域抽出処理
が終了した後に前記一方の画像を出力し、前記合成領域
検索処理が終了した後に前記他方の画像を出力する演算
手段と、を設けた請求項1に記載の画像合成処理装置。
4. One of the images related to the search area extraction processing.
Or one of the other images related to the composite area search processing
The image storage means for storing
Area storage means for storing the issued search image, and image storage
Extraction of the search area for one image stored in the means
Processing and the other image stored in the image storage means
The composite area based on the search area stored in the area storage means
Area search processing and search area extraction processing
Output the one image after completion of the
The image synthesizing processing device according to claim 1, further comprising a calculation unit that outputs the other image after the search process is completed .
JP31174596A 1996-11-22 1996-11-22 Image synthesis processing device Expired - Fee Related JP3414955B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31174596A JP3414955B2 (en) 1996-11-22 1996-11-22 Image synthesis processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31174596A JP3414955B2 (en) 1996-11-22 1996-11-22 Image synthesis processing device

Publications (2)

Publication Number Publication Date
JPH10154222A JPH10154222A (en) 1998-06-09
JP3414955B2 true JP3414955B2 (en) 2003-06-09

Family

ID=18020975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31174596A Expired - Fee Related JP3414955B2 (en) 1996-11-22 1996-11-22 Image synthesis processing device

Country Status (1)

Country Link
JP (1) JP3414955B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3603118B2 (en) 2001-06-08 2004-12-22 東京大学長 Pseudo three-dimensional space expression system, pseudo three-dimensional space construction system, game system, and electronic map providing system

Also Published As

Publication number Publication date
JPH10154222A (en) 1998-06-09

Similar Documents

Publication Publication Date Title
US7016109B2 (en) Microscopic image capture apparatus and microscopic image capturing method
JP4012710B2 (en) Image input device
JP3773011B2 (en) Image composition processing method
CN101490708B (en) Image processing device, image processing method, and program
CN106447607A (en) Image stitching method and apparatus
JP4847101B2 (en) Microscope system
US5900941A (en) High speed pattern inspection method and system
US9779530B2 (en) Method for creating a microscope image and method for operating a microscope
JPWO2006006525A1 (en) Image processing apparatus and method
JPH11112790A (en) Image compositing device and its method
JP3414955B2 (en) Image synthesis processing device
JPH08292014A (en) Measuring method of pattern position and device thereof
JP2000003448A (en) Luminance value correction circuit, method therefor and distance image generating device
JPH10126665A (en) Image composing device
JP5385059B2 (en) Image display method, program, image display apparatus, and imaging apparatus
JP2011053456A (en) Image display method, program, image display device, and imaging apparatus with the image display device
JP4168613B2 (en) Image reading device
JP2006179031A (en) Image input apparatus
JP4560441B2 (en) Image composition apparatus, image composition method, and image composition program
JPH0520433A (en) Inspection device for printed wiring board
JPH0990530A (en) Compositing device and forming method for panoramic image
JPH1069536A (en) Image synthesizer
JPH05122501A (en) Device and method for processing image
JP6635822B2 (en) Image processing apparatus and image processing method
JP2004191466A (en) Map data output system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080404

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090404

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090404

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100404

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees