JPS62140172A - Image synthesizing method - Google Patents

Image synthesizing method

Info

Publication number
JPS62140172A
JPS62140172A JP28162685A JP28162685A JPS62140172A JP S62140172 A JPS62140172 A JP S62140172A JP 28162685 A JP28162685 A JP 28162685A JP 28162685 A JP28162685 A JP 28162685A JP S62140172 A JPS62140172 A JP S62140172A
Authority
JP
Japan
Prior art keywords
image
output
images
data
outputs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP28162685A
Other languages
Japanese (ja)
Other versions
JP2575110B2 (en
Inventor
Mitsuru Maeda
充 前田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60281626A priority Critical patent/JP2575110B2/en
Publication of JPS62140172A publication Critical patent/JPS62140172A/en
Application granted granted Critical
Publication of JP2575110B2 publication Critical patent/JP2575110B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To obtain an image having no unnaturalness at the joint part of images by controlling variably the output rate between the output data of both images in response to their positions within the overlapped part. CONSTITUTION:The picture elements of image data A and B stored in both memories 12 and 13 are read out successively by address counters 10 and 11 and then synthesized. A selector 14 selects and outputs one of both outputs of memories 12 and 13 by a signal SEL given from a controller 15. The controller 15 positions the images at coordinates (i) and (j) in terms of the overlapped part of images and defines the picture element read out first as '101' and the picture element read out last as '102' respectively. The signal SEL is set at a single bit and equal to '1' in an odd address and then to '0' in an even address. Then the selection output of the image close to a position within the overlapped part is set larger than the selection output of the image distant from said position. This eliminates the unnaturalness of an image.

Description

【発明の詳細な説明】 く分  野〉 本発明は、2枚の画像を合成する画像合成方法に関し、
特に画像の接合部の処理方法に関するものである。
[Detailed Description of the Invention] Field> The present invention relates to an image synthesis method for synthesizing two images,
In particular, the present invention relates to a method for processing joints between images.

〈従来技術〉 従来、2枚の画像を合成して出力、記録するとき、その
画像の接合部の境界において特に処理がなされているこ
とがなかった。例えば、風景をバックグランドとして車
や人物を合成する際、それらの合成の境界が視覚的に強
調されたように見え、異和感を生じることが多かった。
<Prior Art> Conventionally, when two images are combined, outputted, and recorded, no special processing has been performed on the boundary of the joining portion of the images. For example, when compositing a car or a person against a landscape background, the boundaries between the composites often appeared to be visually emphasized, creating a sense of discomfort.

〈目  的) 本発明は、上述従来例の欠点を除去し、接合部の異和感
を除去した画像合成方法の提供を目的としている。
(Objective) The present invention aims to provide an image synthesis method that eliminates the drawbacks of the above-mentioned conventional example and eliminates the sense of discomfort at the joint.

〈実施例〉 以下、図面に従って本発明の一実施例について述べる。<Example> An embodiment of the present invention will be described below with reference to the drawings.

今、第1図のような画像Aと画像Bとの接合部を考える
。このとき、この接合部に画像A、Hの重複部分1cを
設ける。また、ここでは説明の為に組織的ディザ法を用
いて出力するものとする。
Now, consider the junction between image A and image B as shown in FIG. At this time, an overlapping portion 1c of images A and H is provided at this junction. Furthermore, for the sake of explanation, it is assumed here that the systematic dither method is used for output.

又、両画像のディザマトリックスを4×4の大きさとす
る。第2図の2a〜2dがディザ法による出力の一例で
ある。今、重複部分1cにおいて第2図の大枠で囲まれ
たようなマトリックス2a〜2dを1つの集合とするグ
ループ3を考える。また、重複部分1cの内部を例えば
第3図の4a〜4Cのように3つに分割する。
Also, the dither matrices of both images are set to have a size of 4×4. 2a to 2d in FIG. 2 are examples of outputs by the dither method. Now, consider a group 3 in which the matrices 2a to 2d, as surrounded by the outline in FIG. 2, form one set in the overlapping portion 1c. Further, the inside of the overlapping portion 1c is divided into three parts, for example, as shown in 4a to 4C in FIG. 3.

第3図の5の部分は第1図の1aの部分に相当する。こ
こは画像Aのみ出力されるので、マトリックスの全部が
第4図(a)のように画像Aの対応する位置の画像デー
タを出力して記録する。
The portion 5 in FIG. 3 corresponds to the portion 1a in FIG. 1. Since only image A is output here, the entire matrix outputs and records the image data of the corresponding position of image A as shown in FIG. 4(a).

次に第3図の4aの部分では画像Aの画像データと画像
Bの画像データの比が3:1となるように、従って第4
図(b)のようにグループの中の4つのマトリックスの
1つに対して画像Bの対応する位置の画像データを、他
の3つに対しては画像Aの対応する位置の画像データを
出力して記録する。このように第3図4b、4cに対し
て同様に画像Aの画像データと画像Bの画像データの比
を4bでは2:2に、4Cではl:3とし、第4図(c
)、(d)のようにしてこれを実現する。
Next, in the part 4a of FIG. 3, the ratio of the image data of image A and the image data of image B is 3:1.
As shown in figure (b), image data at the corresponding position of image B is output for one of the four matrices in the group, and image data at the corresponding position of image A is output for the other three matrices. and record it. In this way, the ratio of the image data of image A to the image data of image B is similarly set to 2:2 for 4b and 1:3 for 4C with respect to FIGS. 4b and 4c, and
), (d) to achieve this.

そして第3図の6の部分は第1図のICの部分に相当し
、5とは逆に、画像Bの画像データが第4図(e)のよ
うに出力されている。
A portion 6 in FIG. 3 corresponds to the IC portion in FIG. 1, and contrary to 5, the image data of image B is output as shown in FIG. 4(e).

これを実現する実施例を第5図〜第10図によって説明
する。第5図は本発明の実施例のブロック図である。画
像データA、Bはそれぞれ画像Aメモリ122画像Bメ
モリ13に格納されている0画像データの画素データの
読み出しは画像Aに関してはアドレスカウンタ10、同
様に、画像Bに関してはアドレスカウンタ11によって
合成され、出力される画像の画素順に行われる。これら
の画像A、Bメモリ12.13の出力は選択器14の入
力となり、コントローラ15のSEL信号によって選択
され、どちらか一方の画素データを出力する。SEL信
号は1ビット信号で、選択回路はSEL信号が1のとき
画像Aメモリ出力を、0のときは画像Bメモリを出力す
る。この出力はディザ処理回路16を介してプリンタ1
7に出力される。
An embodiment that realizes this will be described with reference to FIGS. 5 to 10. FIG. 5 is a block diagram of an embodiment of the present invention. Image data A and B are combined by the address counter 10 for image A and the address counter 11 for image B, respectively, to read out the pixel data of the 0 image data stored in the image A memory 122 and the image B memory 13, respectively. , are performed in pixel order of the output image. The outputs of these image A and B memories 12 and 13 are input to the selector 14, selected by the SEL signal of the controller 15, and outputs pixel data of either one. The SEL signal is a 1-bit signal, and the selection circuit outputs the image A memory output when the SEL signal is 1, and outputs the image B memory when the SEL signal is 0. This output is sent to the printer 1 via the dither processing circuit 16.
7 is output.

ではコントローラ15の動作を以下に説明する。The operation of the controller 15 will now be described.

今、第3図に示した画像重複部分について第6図に示す
ように、画像の位置をi、jという座標を用いて位置づ
けを行う。x+jは矢印の方向でメモリから読み出され
、出力されるとする。つまり、■に対してまずjsから
読み出し、jeまで読み出し、次のiに移り、同様にj
を読み出すこととする。また重複部分の最初に読み出さ
れる画素は画素101、つまり(is、js)であり、
最後に読み出される画素は画素102、つまり(ie、
je)である。
Now, as shown in FIG. 6, the image position is determined using the coordinates i and j for the image overlap portion shown in FIG. 3. It is assumed that x+j is read from the memory and output in the direction of the arrow. In other words, for ■, first read from js, read up to je, move to the next i, and similarly read j
Let's read out. Also, the first pixel read out in the overlapping part is pixel 101, that is, (is, js),
The last pixel to be read out is pixel 102, that is, (ie,
je).

次にSEL信号の決定の方法について述べる前に使用す
るサブルーチンについて述ベル、サブルーチン1(su
bl)はiに対してjSからjeまでの全画素に同一の
画像データからの出力を選択するためのサブルーチンで
ある。次にサブルーチン2(sub2)はiに対してj
Sからjeまで2つの画像データからの出力を交互に選
択するためのサブルーチンである。特にこのサブルーチ
ン2はjにおいて、奇数番地であればSEL信号1を出
力し、偶数番地であれば0を出力する。つまり奇数番地
には画像Aのデータ、偶数番地には画像Bのデータが合
成画像データとして出力される。最後にサブルーチン3
(sub3)はサブルーチン2とは逆にjにおいて、奇
数番地には画像Bのデータが、偶数番地には画像Aのデ
ータが合成画像データとして出力される0以上の3つの
サブルーチンについては第7図〜第9図に、それぞれの
フローチャートを示す。
Next, before describing the method for determining the SEL signal, the subroutine to be used will be described.
bl) is a subroutine for selecting output from the same image data for all pixels from jS to je for i. Next, subroutine 2 (sub2) performs j for i.
This is a subroutine for alternately selecting outputs from two image data from S to je. In particular, this subroutine 2 outputs the SEL signal 1 if the address is an odd number, and outputs 0 if the address is an even number. In other words, the data of image A is output to odd addresses, and the data of image B is output to even addresses as composite image data. Finally, subroutine 3
(sub3) is the opposite of subroutine 2, in j, image B data is output to odd addresses and image A data is output to even addresses as composite image data.For three subroutines of 0 or more, see Figure 7. - Fig. 9 shows respective flowcharts.

最後にSEL信号を決定するためのメインルーチンにつ
いては第10図のフローチャートに示すとおりである。
Finally, the main routine for determining the SEL signal is as shown in the flowchart of FIG.

まず最初に重複部分を第6図のように分割した時の分割
部分のiの行数nを求める。
First, when the overlapping portion is divided as shown in FIG. 6, the number n of rows of i in the divided portion is determined.

第6図5の画像Aの非重複部分(iris)についてS
EL信号を1として1選択器14から画像Aのデータの
みを出力する。
Regarding the non-overlapping part (iris) of image A in FIG.
The EL signal is set to 1, and only the data of image A is output from the 1 selector 14.

iがisになった時、重複部分の出力を開始する。第1
に、同図4aの部分(is≦i < i s +n)に
ついて出力を決定する。これはi行にサブルーチン2に
よって画像Aと画像Bの両データを交互に出力し、i+
1行にサブルーチン1によって画像Aのデータのみを出
力する。つまり(i。
When i becomes is, start outputting the overlapped part. 1st
Next, the output is determined for the part (is≦i<i s +n) in FIG. 4a. This outputs both image A and image B data alternately to row i by subroutine 2, and
Only the data of image A is output in one line by subroutine 1. In other words (i.

j)、(i+1 、D  、(i 、j+1)、(i+
1、j+1)の4画麦についてみれば、第4図(b)の
ような構成となっている。
j), (i+1, D, (i, j+1), (i+
1, j+1), the structure is as shown in Figure 4(b).

第2に、第6図4bの部分(i s+n≦iくis+2
n)について出力を決定する。ここでは画像A1画像B
の画像データが占める割合は等しい。従って画像A2画
像Bの画像データによる市松模様をサブルーチン2とサ
ブルーチン3を交互に実施することによって実現できる
。つまり第4図(c)を実現できる。
Second, the part of FIG. 6 4b (i s+n≦i<is+2
Determine the output for n). Here, image A1 image B
The proportions occupied by the image data are the same. Therefore, a checkered pattern based on the image data of images A2 and B can be realized by alternately executing subroutine 2 and subroutine 3. In other words, FIG. 4(c) can be realized.

第3に、第6図40の部分(i s+2n≦i≦ie)
について出力を決定する。ここでは同図4aの部分と画
像A1画像Bの画像データが占める割合が逆転している
。従って、i行にサブルーチンlによって画像Bのデー
タのみを出力し、i+1行にサブルーチン2によって画
像Aと画像Bの両データを交互に出力することによって
第4図(d)を実現する。iがieとなり、ie行目を
同方法によってSEL信号を決定し、(is。
Thirdly, the part in FIG. 6 40 (i s+2n≦i≦ie)
Determine the output for. Here, the proportions occupied by the image data of the image A1 and the image B are reversed from that of the portion shown in FIG. 4A. Therefore, FIG. 4(d) is realized by outputting only the data of image B to line i by subroutine 1, and alternately outputting both data of image A and image B by subroutine 2 to line i+1. i becomes ie, the ie-th row determines the SEL signal by the same method, and (is.

je)について同出力を終了すると重複部分の画素デー
タの出力決定を終了する。
When the same output is completed for je), the output determination of the pixel data of the overlapping portion is completed.

最後に、第6図6の画像Bの非重複部分(ie<i)に
ついてSEL信号を0として選択器14から画像Bのデ
ータのみを出力する。
Finally, the SEL signal is set to 0 for the non-overlapping portion (ie<i) of image B in FIG. 6, and only the data of image B is output from the selector 14.

このように2重複部分内の位置に応じて両画像゛の出力
データの出力割合を可変制御することにより、接合部に
異和感のない画像が得られる。特により、より異和感の
ない画像を得ることができる。
In this way, by variably controlling the output ratio of the output data of both images in accordance with the position within the two overlapping parts, an image that does not give any strange feeling at the joint can be obtained. In particular, it is possible to obtain a more natural image.

前記実施例中にグループを構成するマトリックスの数を
4とし、3段階のグレーディングを実施したが、マトリ
ックスの数を増せばより滑らかな多段階のグレーディン
グが得らえる。また第1図1cのような重複部分の幅を
増大させれば画像広領域におけるフェードアウトやフェ
ードインのようなことも可能である。また、ディザだけ
でなく他の方法でも複数の出力単位で1つのグループを
構成することが可能であれば同様なことを実現すること
が可能である。
In the above example, the number of matrices constituting a group was set to 4, and three-stage grading was performed, but smoother multi-stage grading can be obtained by increasing the number of matrices. Furthermore, by increasing the width of the overlapping portion as shown in FIG. 1c, it is possible to perform fade-outs and fade-ins in a wide area of the image. Moreover, the same thing can be achieved not only by dithering but also by other methods if it is possible to configure one group from a plurality of output units.

また、記録方式のみならず、ディスプレイなどの表示器
への転用も可能である。
Furthermore, it is possible to use the present invention not only as a recording method but also as an indicator such as a display.

また実施例中のコントローラ15のサブルーチン3の出
力はサブルーチン2の出力の否定であるので、それを用
いて構成してももちろんよい。
Further, since the output of subroutine 3 of the controller 15 in the embodiment is the negation of the output of subroutine 2, it is of course possible to configure using that.

く効  果〉 以上説明したように、未発用の画像合成方法によれば、
境界をぼかして画像合成するために、視覚的に異和感の
ない画像の合成やグレーディング的な表現を可能にする
効果がある。
Effect> As explained above, according to the unreleased image synthesis method,
Since the image is synthesized by blurring the boundaries, it has the effect of enabling visually consistent image synthesis and grading-like expression.

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

第1図は画像の接合部分の説明図、第2図はマトリック
スのグループの説明図、第3図は画像の重複部分の説明
図、第4図はマトリックスの画像データの分布説明図、
第5図は実施例のブロック図、第6図は画像重複部分の
画素座標を示す図、第7図〜第10図は実施例の中のコ
ントローラの制御フローチャート図である。 図において、ICは画像の重複部分、3はディザマトリ
ックスのグループ、4a〜4Cは重複部分内の分割領域
、10.11はアドレスカウンタ、14は選択器、15
はコントローラ、17はプリンタを夫々示す。 ’!512]
Fig. 1 is an explanatory diagram of a joining part of images, Fig. 2 is an explanatory diagram of a group of matrices, Fig. 3 is an explanatory diagram of an overlapping part of images, Fig. 4 is an explanatory diagram of the distribution of image data in a matrix,
FIG. 5 is a block diagram of the embodiment, FIG. 6 is a diagram showing pixel coordinates of an overlapping portion of images, and FIGS. 7 to 10 are control flowcharts of the controller in the embodiment. In the figure, IC is an overlapping part of the image, 3 is a group of dither matrices, 4a to 4C are divided areas within the overlapping part, 10.11 is an address counter, 14 is a selector, 15
1 represents a controller, and 17 represents a printer. '! 512]

Claims (1)

【特許請求の範囲】[Claims] (1)2枚の画像を合成して出力する際、その境界につ
いて重複部分を設けて、その重複部分内部で互いの画像
からの出力データを重複部分の位置に応じた割合で分配
して境界をぼかす画像合成方法。
(1) When combining and outputting two images, an overlapping part is created at the boundary, and the output data from each image is distributed within the overlapping part at a ratio according to the position of the overlapping part. An image synthesis method that blurs the image.
JP60281626A 1985-12-13 1985-12-13 Image composition method Expired - Fee Related JP2575110B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60281626A JP2575110B2 (en) 1985-12-13 1985-12-13 Image composition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60281626A JP2575110B2 (en) 1985-12-13 1985-12-13 Image composition method

Publications (2)

Publication Number Publication Date
JPS62140172A true JPS62140172A (en) 1987-06-23
JP2575110B2 JP2575110B2 (en) 1997-01-22

Family

ID=17641739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60281626A Expired - Fee Related JP2575110B2 (en) 1985-12-13 1985-12-13 Image composition method

Country Status (1)

Country Link
JP (1) JP2575110B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6438881A (en) * 1987-08-04 1989-02-09 Sharp Kk System for synthesizing image
JPH02226482A (en) * 1989-02-28 1990-09-10 Nippon Avionics Co Ltd Picture synthesis display method and aligning method
US5481653A (en) * 1989-07-26 1996-01-02 Canon Kabushiki Kaisha Digital image processing apparatus for synthesizing an image form at least two images
WO2011083676A1 (en) * 2010-01-07 2011-07-14 1stホールディングス株式会社 Object processing device and object selection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52106625A (en) * 1976-03-05 1977-09-07 Toshiba Corp Reflexion special effective unit
JPS53144623A (en) * 1977-05-24 1978-12-16 Sony Corp Signal processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52106625A (en) * 1976-03-05 1977-09-07 Toshiba Corp Reflexion special effective unit
JPS53144623A (en) * 1977-05-24 1978-12-16 Sony Corp Signal processing system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6438881A (en) * 1987-08-04 1989-02-09 Sharp Kk System for synthesizing image
JPH02226482A (en) * 1989-02-28 1990-09-10 Nippon Avionics Co Ltd Picture synthesis display method and aligning method
US5481653A (en) * 1989-07-26 1996-01-02 Canon Kabushiki Kaisha Digital image processing apparatus for synthesizing an image form at least two images
WO2011083676A1 (en) * 2010-01-07 2011-07-14 1stホールディングス株式会社 Object processing device and object selection method
JP2011141748A (en) * 2010-01-07 2011-07-21 1St Holdings Inc Object processing apparatus and object selection method
CN102640099A (en) * 2010-01-07 2012-08-15 第一控股株式会社 Object processing device and object selection method
US8787661B2 (en) 2010-01-07 2014-07-22 Wingarcist Inc. Object processing device and object selection method

Also Published As

Publication number Publication date
JP2575110B2 (en) 1997-01-22

Similar Documents

Publication Publication Date Title
EP0744712B1 (en) A texture pattern memory circuit
JPH087567B2 (en) Image display device
JPH0681304B2 (en) Method converter
KR100333420B1 (en) Image data storage device and method
JP3300059B2 (en) Image processing system
JP3133702B2 (en) Digital still camera
JP2771858B2 (en) Multi-screen synthesis device
JPS62140172A (en) Image synthesizing method
US6476818B1 (en) Storage circuit control device and graphic computation device
KR100349430B1 (en) Interpolator
JP2610817B2 (en) Address generator
JPH0440176A (en) Television special effect device
JP2737154B2 (en) Image enlargement display circuit
JPH03286271A (en) Picture display device
JPH02135880A (en) Image pickup device
JP2699342B2 (en) Image conversion method
JPH0571113B2 (en)
JPH08147458A (en) Memory control unit
JPS6386996A (en) Primary color signal reproducing circuit
JP3052628B2 (en) Digital signal processing circuit
JPH06290266A (en) Image composing circuit
JPH10145585A (en) Magnified image generator
JPH0567185A (en) Picture display processing device
JPH09330396A (en) Image processor
JPH0384586A (en) Image information display system

Legal Events

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