JPH07113964B2 - Image fusion synthesizing method - Google Patents

Image fusion synthesizing method

Info

Publication number
JPH07113964B2
JPH07113964B2 JP63233887A JP23388788A JPH07113964B2 JP H07113964 B2 JPH07113964 B2 JP H07113964B2 JP 63233887 A JP63233887 A JP 63233887A JP 23388788 A JP23388788 A JP 23388788A JP H07113964 B2 JPH07113964 B2 JP H07113964B2
Authority
JP
Japan
Prior art keywords
pixel
image
divided
ratio
contour line
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 - Lifetime
Application number
JP63233887A
Other languages
Japanese (ja)
Other versions
JPH0281275A (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.)
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Dainippon Screen Manufacturing 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 Dainippon Screen Manufacturing Co Ltd filed Critical Dainippon Screen Manufacturing Co Ltd
Priority to JP63233887A priority Critical patent/JPH07113964B2/en
Publication of JPH0281275A publication Critical patent/JPH0281275A/en
Publication of JPH07113964B2 publication Critical patent/JPH07113964B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、互いに異なる2つの画像を合成し、一方の
画像から他方の画像に滑かに画像が変化する合成後画像
を作成するための画像の溶かし込み合成方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial field of application) The present invention is intended for synthesizing two images different from each other and creating a post-synthesis image in which the image smoothly changes from one image to the other. The present invention relates to an image melting and synthesizing method.

(従来の技術) 2つの画像を合成して1つの合成後画像を作成する場合
には、2つの画像のそれぞれについて合成の対象となる
同一の図形領域を設定するとともに、その図形領域の輪
郭線付近において一方の画像から他方の画像に滑かに画
像が変化するように、いわゆる「画像の溶かし込み」の
処理が行なわれる。このような画像の溶かし込みを良好
に行なうには、画像の合成比率が滑かに変化する領域
(以下、「合成領域」と呼ぶ。)が、輪郭線から一定の
幅を有するように形成される必要がある。
(Prior Art) When two images are combined to create one combined image, the same graphic area to be combined is set for each of the two images, and the outline of the graphic area is set. A so-called "image fusion" process is performed so that the image smoothly changes from one image to the other in the vicinity. To satisfactorily perform such image fusion, an area in which the image composition ratio changes smoothly (hereinafter referred to as "composite area") is formed so as to have a constant width from the contour line. Need to

(発明が解決しようとする課題) しかし、従来は円や正方形など、数式で表わすことので
きる単純な輪郭線を有する図形領域について画像の溶か
し込み処理が可能であるに過ぎず、任意の形状の図形領
域については一定幅の合成領域を形成することが困難で
あるために、画像の溶かし込み処理が行なえないという
問題があった。また、大きな図形領域について溶かし込
み処理を行なうには大容量のメモリが必要となるため、
処理可能な図形領域の大きさにも制限があるという問題
があった。
(Problems to be Solved by the Invention) However, conventionally, it is only possible to perform image fusion processing on a graphic region having a simple contour line that can be represented by a mathematical expression such as a circle or a square, and it is possible to perform a process of blending an arbitrary shape. Since it is difficult to form a synthetic area having a constant width in the graphic area, there is a problem that the image fusion processing cannot be performed. In addition, since a large capacity memory is required to perform the melting process for a large graphic area,
There is a problem that the size of the graphic area that can be processed is also limited.

(発明の目的) この発明は、従来技術における上述の課題の解決を意図
しており、任意の大きさ・形状の図形領域について、画
像の溶かし込み合成を容易に行なうことのできる画像の
溶かし込み合成方法を提供することを目的とする。
(Object of the Invention) This invention intends to solve the above-mentioned problems in the prior art, and melts an image in which a graphic region of an arbitrary size and shape can be easily melted and synthesized. It is intended to provide a synthetic method.

(目的を達成するための手段) 上述の目的を達成するため、この発明では、互いに異な
る第1と第2の画像について同一輪郭線で囲まれた同一
の図形領域をそれぞれ設定し、前記図形領域内の画素ご
とに前記第1と第2の画像を表わす第1と第2の画像デ
ータの合成比率を決定するとともに、当該合成比率を用
いて前記第1と第2の画像データを合成することによ
り、第1と第2の画像を互いに溶け込ませる画像の溶か
し込み合成方法において、(a)前記図形領域を複数の
分割領域に分割し、(b)前記分割領域ごとに、当該分
割領域の縦方向座標範囲及び横方向座標範囲にそれぞれ
対応する前記輪郭線の部分を含んだ参照輪郭線を求め、
(c)前記分割領域内の画素ごとに、前記参照輪郭線上
において当該画素から最も近い点を基準点として定める
とともに、(d)前記基準点と前記画素との距離を変数
とする所定の合成比率関数に基づいて、当該画素の合成
比率を決定する。
(Means for Achieving the Purpose) In order to achieve the above-mentioned object, in the present invention, the same graphic area surrounded by the same contour line is set for each of different first and second images, and the graphic area is set. Determining a composition ratio of the first and second image data representing the first and second images for each pixel in the image, and combining the first and second image data using the composition ratio. Thus, in the image fusion synthesizing method for merging the first and second images with each other, (a) the graphic region is divided into a plurality of divided regions, and (b) the divided regions are vertically divided. Obtaining a reference contour line including the portions of the contour line respectively corresponding to the directional coordinate range and the lateral coordinate range,
(C) For each pixel in the divided area, a point closest to the pixel on the reference contour line is determined as a reference point, and (d) a predetermined combination ratio in which the distance between the reference point and the pixel is a variable. The combination ratio of the pixel is determined based on the function.

また、処理時間を短縮するために、分割領域のそれぞれ
を、さらに複数の小分割領域に分割するとともに、前記
小分割領域の内部をその外周側から中心側に向かって周
状に区分された複数の画素層に分割し、(d)のステッ
プにおいて各画素の合成比率を決定するに当たっては、
(d-1)前記小分割領域内の最も外周の前記画素層を選
択し、(d-2)選択された画素層を構成する画素のそれ
ぞれについて、合成比率関数を用いて前記合成比率を算
出し、(d-3)前記選択された画素画素層に含まれるす
べての画素について、前記合成比率が一定である場合に
は、当該選択された画素層、および当該選択された画素
層よりも中心側に存在するすべての画素層の合成比率を
当該選択された画素層の合成比率と同一と決定し、(d-
4)当該選択された画素層に含まれる画素について前記
合成比率が一定でない場合には、当該選択された画素層
に含まれる画素のそれぞれについてステップ(d-2)で
算出された合成比率をそのまま採用し、さらに、当該選
択された画素層に隣接した中心側の画素層を選択すると
ともに、(d-5)上記(d-2)から(d-4)までのステッ
プを繰り返すことにより、前記画素のそれぞれの合成比
率を決定する。
In addition, in order to reduce the processing time, each of the divided areas is further divided into a plurality of small divided areas, and the inside of each of the small divided areas is divided into a plurality of pieces that are circumferentially divided from the outer peripheral side toward the central side. In order to determine the composition ratio of each pixel in the step (d),
(D-1) selecting the outermost pixel layer in the subdivided area, and (d-2) calculating the composite ratio using a composite ratio function for each of the pixels forming the selected pixel layer. And (d-3) when the composition ratio is constant for all the pixels included in the selected pixel layer, the selected pixel layer and the center of the selected pixel layer The composition ratio of all the pixel layers existing on the side is determined to be the same as the composition ratio of the selected pixel layer, and (d-
4) If the composition ratio of the pixels included in the selected pixel layer is not constant, the composition ratio calculated in step (d-2) for each of the pixels included in the selected pixel layer remains unchanged. By adopting, and further selecting a pixel layer on the center side adjacent to the selected pixel layer, (d-5) repeating steps (d-2) to (d-4) above, Determine the composite ratio of each of the pixels.

(作用) 第1の手段では、画像を複数の分割領域に分割するの
で、任意の大きさの図形領域についての処理が可能とな
る。また、各分割領域の座標範囲に対応した参照輪郭線
上の点のみを対象として各画素からの最近点を基準点と
して選び、基準点と画素との距離に基づいて当該画素の
合成比率を決定するので、任意の形状の図形領域を同一
の処理手順で処理できる。
(Operation) In the first means, the image is divided into a plurality of divided areas, so that it is possible to process a graphic area having an arbitrary size. Further, only the point on the reference contour line corresponding to the coordinate range of each divided area is selected as the closest point from each pixel as a reference point, and the composition ratio of the pixel is determined based on the distance between the reference point and the pixel. Therefore, a graphic region having an arbitrary shape can be processed by the same processing procedure.

第2の手段では、さらに、各分割領域を複数の小分割領
域に分割し、各小分割領域内の選択された画素層の合成
比率が一定である場合に、それより中心側にある画素層
の合成比率を演算せずに同一の合成比率であると決定す
るので、選択された画素層よりも中心側にある画素層で
の合成比率の演算が省略できる。
In the second means, each divided area is further divided into a plurality of small divided areas, and when the combined ratio of the selected pixel layers in each small divided area is constant, the pixel layer located closer to the center than that is. Since the same combination ratio is determined without calculating the combination ratio of, the calculation of the combination ratio in the pixel layer closer to the center than the selected pixel layer can be omitted.

(実施例) A.装置の全体構成 第1図は、この発明の実施例を適用して画像の溶かし込
み処理を行なう画像処理装置の概略構成図である。同図
において、この装置は画像演算制御装置1,画像ディスク
制御装置2,画像ディスクメモリ3,画像スキャナ4,デジタ
イザ制御装置5,デジタイザ6,ホストコンピュータ(以
下、「ホストCPU」と呼ぶ。)7,ディスクメモリ8,及び
画像溶かし込み合成装置10から構成されている。画像溶
かし込み合成装置10は、本発明の実施例のための特有の
装置であり、画像演算制御装置1に接続されたバスライ
ン11と、バスライン11にそれぞれ接続されたイメージメ
モリ12,画像表示制御装置13,平網発生装置14,画像合成
装置15,溶かし込み合成比率演算装置(以下、単に「合
成比率演算装置」と呼ぶ。)16,及びRAM17を備えてい
る。また、画像表示制御装置13にはさらに画像表示装置
18が接続されている。
(Embodiment) A. Overall Configuration of Apparatus FIG. 1 is a schematic configuration diagram of an image processing apparatus which applies an embodiment of the present invention to perform image fusion processing. In this figure, this device is an image operation control device 1, an image disk control device 2, an image disk memory 3, an image scanner 4, a digitizer control device 5, a digitizer 6, and a host computer (hereinafter referred to as "host CPU") 7 It comprises a disk memory 8 and an image fusion synthesizing device 10. The image melting and synthesizing device 10 is a unique device for the embodiment of the present invention, and includes a bus line 11 connected to the image arithmetic and control unit 1, an image memory 12 and an image display connected to the bus line 11, respectively. A control device 13, a flat screen generator 14, an image synthesizing device 15, a fusion blending ratio calculating device (hereinafter simply referred to as “combining ratio calculating device”) 16, and a RAM 17 are provided. Further, the image display control device 13 further includes an image display device.
18 connected.

B.実施例の動作 B-1.第1の方法 第2A図は、この発明の実施例の手順を示すフローチャー
トである。また、第3図はこの発明の実施例の処理内容
を示す説明図である。
B. Operation of Embodiment B-1. First Method FIG. 2A is a flowchart showing the procedure of the embodiment of the present invention. FIG. 3 is an explanatory diagram showing the processing contents of the embodiment of the present invention.

ステップS1では、画像スキャナ4から入力され、画像デ
ィスク3に予め記憶された原画像が、オペレータの指示
によりイメージメモリ12に書込まれ、同時に画像表示装
置18に表示される。なお、イメージメモリ12の容量が小
さく、原画像のすべての画像データを格納できないとき
は、間引きされた少量の画像データのみが格納され、こ
れにより粗い原画像が表示される。原画像としては、後
述するように、合成の対象となる図形領域の内側の画像
となるべき合成画像と、同一の図形領域の外側の画像と
なるべき被合成画像があるが、このステップS1ではその
どちらか一方の画像のみがイメージメモリ12に書込まれ
る。但し、合成画像と被合成画像の画像平面上における
対応関係はオペレータにより予め指定されている。
In step S1, the original image input from the image scanner 4 and stored in advance in the image disk 3 is written in the image memory 12 according to the instruction of the operator and simultaneously displayed on the image display device 18. When the image memory 12 has a small capacity and cannot store all the image data of the original image, only a small amount of thinned image data is stored, so that a rough original image is displayed. As the original image, as will be described later, there are a combined image to be an image inside the graphic area to be combined and a combined image to be an image outside the same graphic area. Only one of the images is written in the image memory 12. However, the correspondence relationship between the combined image and the combined image on the image plane is designated in advance by the operator.

ステップS2では、オペレータがこの原画像の表示を見な
がら、画像表示装置18と連動するデジタイザ6のスタイ
ラスペン6a又はカーソル(図示せず)を動かすことによ
り、所望の図形領域Fの輪郭線Sを入力する(第3A
図)。ホストCPU7はこの輪郭線Sを基に、図形領域Fに
外接する矩形の外周枠SFを求めるとともに、縦方向ラス
ターデータDy及び横方向ラスターデータDxを求める(第
3B図)。縦方向ラスターデータDyは、輪郭線S上の各画
素Pを通る図形領域F内部のy方向ベクトルByを示すデ
ータであり、輪郭線上に存在する始点PIy(=P)と終
点PEyの座標値の組合せとして表わされるデータであ
る。また、横方向ラスターデータDxも同様に、x方向ベ
クトルBxを示すデータである。これらのラスターデータ
Dx,Dyは輪郭線S上のすべての画素Pについて求めら
れ、外周枠SFを示すデータとともに図形データとしてデ
ィスクメモリ8に格納される。
In step S2, the operator moves the stylus pen 6a or the cursor (not shown) of the digitizer 6 which is interlocked with the image display device 18 while observing the display of the original image, so that the contour line S of the desired graphic region F is formed. Enter (3A
Figure). Based on the contour line S, the host CPU 7 obtains a rectangular outer peripheral frame SF circumscribing the graphic region F, and also obtains vertical raster data D y and horizontal raster data D x (first
(Figure 3B). The vertical direction raster data D y is data indicating the y-direction vector B y inside the graphic region F that passes through each pixel P on the contour line S, and includes a start point PI y (= P) and an end point PE y existing on the contour line. Data represented as a combination of coordinate values of. Similarly, the horizontal raster data D x is also data indicating the x-direction vector B x . These raster data
D x and D y are obtained for all the pixels P on the contour line S, and are stored in the disk memory 8 as graphic data together with the data indicating the outer peripheral frame SF.

ステップS3では、オペレータがデジタイザ6やキーボー
ド(図示せず)などを利用して、後述する合成領域幅L
や合成比率関数f(dmin)などの設定に必要なパラメータ
入力を行なう。これらのパラメータ入力はホストCPU7に
記憶される。以上でオペレータによる入力が終了し、以
下のステップでは画像処理装置内において演算処理が行
なわれる。
In step S3, the operator uses the digitizer 6, a keyboard (not shown), or the like to create a composite area width L described later.
Input the parameters required for setting the and composite ratio function f (d min ). These parameter inputs are stored in the host CPU 7. With the above, input by the operator is completed, and in the following steps, arithmetic processing is performed in the image processing apparatus.

ステップS4では、画像演算制御装置1により、イメージ
メモリ12の容量に基づいてイメージメモリ12に格納でき
る画像領域IAの大きさが求められ、外周枠SFの分割数N1
が決定される(第3C図)。
In step S4, the size of the image area IA that can be stored in the image memory 12 is obtained by the image calculation control device 1 based on the capacity of the image memory 12, and the number N 1 of divisions of the outer peripheral frame SF is calculated.
Is determined (Fig. 3C).

ステップS5では、N1分割された外周枠SF内の画像領域IA
について、2つの原画像(合成画像と被合成画像)の画
像データがそれぞれ画像領域データI1,I2として画像デ
ィスク3からイメージメモリ12に取込まれる。
In step S5, the image area IA in the N 1 divided outer peripheral frame SF is divided.
2, the image data of the two original images (composite image and composite image) are taken into the image memory 12 from the image disk 3 as image area data I 1 and I 2 , respectively.

ステップS6では、画像演算装置1により、RAM17に格納
できるラスターデータ数の制限から一度に処理しうる画
像の大きさが求められ、画像領域IAがさらにN2個の分割
領域DAに分割される(第3D図)。
In step S6, the image processing apparatus 1 determines the size of an image that can be processed at one time from the limit of the number of raster data that can be stored in the RAM 17, and the image area IA is further divided into N 2 divided areas DA ( (Figure 3D).

ステップS7では、一つの分割領域DAに対応する参照輪郭
線データを、ディスクメモリ8に格納されている図形デ
ータの中からホストCPU7が選び出してRAM17に転送す
る。第1の方法における参照輪郭線データは、第3E図に
示すように、分割領域DAのx方向およびy方向座標範囲
Δx,Δyのそれぞれの範囲内を通る縦方向ラスターデー
タDyと横方向ラスターデータDxを含み,さらにy方向座
標範囲Δyの両側にとった合成領域幅Lの範囲を通る横
方向ラスターデータDxを含んでいる。すなわち、分割領
域DAに対しては、そのx方向座標範囲Δxとy方向座標
範囲(Δy+2L)のそれぞれに対応する輪郭線部分SR1
〜SR4が参照輪郭線であり、この参照輪郭線SR1〜SR4
の画素を始点又は終点とするラスターデータによって参
照輪郭線データが構成されている。参照輪郭線SR1〜SR4
は、後述するように分割領域DA内の各画素から輪郭線S
までの最短距離dminを求めるときに参照される輪郭線部
分である。一方、2つの原画像が溶かし込まれる合成領
域は、分割領域DA内の画素と輪郭線Sとの最短距離dmin
が合成領域幅Lよりも小さい部分のみである。従って、
ある画素が合成領域にある場合には、当該画素を中心と
し、合成領域幅Lを半径とする円の中に輪郭線Sの一部
(これを「参照輪郭線要素」と呼ぶ。)が含まれている
はずである。そこで、当該画素の座標を(x0,y0)とす
れば、座標(x0,y0−L)〜(x0,y0+L)の範囲を通
る横方向ラスターデータDxの端点の集合の中に、前記参
照輪郭線要素が必ず含まれることになる。上述の参照輪
郭線SR1〜SR4は、このような考えをもとに、y方向座標
範囲Δyの両側に合成領域幅Lを付加して求めたもので
ある。なお、合成領域幅Lをy方向座標範囲に付加した
のは、後述するように最短距離dminの算出において、横
方向ラスターデータDxが主として参照されるからであ
る。もちろん、合成領域幅Lをx方向座標範囲Δxの両
側に付加してもよく、どちらか一方方向にのみ付加すれ
ば各画素の参照輪郭線要素をすべて含むような参照輪郭
線が得られる。
In step S7, the reference contour line data corresponding to one divided area DA is selected by the host CPU 7 from the graphic data stored in the disk memory 8 and transferred to the RAM 17. As shown in FIG. 3E, the reference contour line data in the first method includes vertical raster data D y and horizontal raster data D y that pass through the respective x-direction and y-direction coordinate ranges Δx and Δy of the divided area DA. It includes data D x , and further includes horizontal raster data D x that passes through the range of the combined area width L on both sides of the y-direction coordinate range Δy. That is, for the divided area DA, the contour line portion SR 1 corresponding to each of the x-direction coordinate range Δx and the y-direction coordinate range (Δy + 2L).
To SR 4 are the reference contour, the reference outline data is constituted by the raster data of the pixel on the reference contour SR 1 to SR 4 as a starting point or end point. Reference contour lines SR 1 to SR 4
Is the contour line S from each pixel in the divided area DA as described later.
This is the contour line portion that is referred to when the shortest distance d min to is obtained. On the other hand, the synthetic area in which the two original images are fused is the shortest distance d min between the pixel in the divided area DA and the contour line S.
Is only a portion smaller than the combined area width L. Therefore,
When a certain pixel is in the composite area, a part of the contour line S (this is referred to as a “reference contour element”) is included in a circle having the pixel as the center and a radius of the composite area width L. It should be. Therefore, if the coordinates of the pixel are (x 0 , y 0 ), the end point of the horizontal raster data D x passing through the range of coordinates (x 0 , y 0 −L) to (x 0 , y 0 + L) The reference contour element is necessarily included in the set. The above-described reference contour lines SR 1 to SR 4 are obtained by adding the combined area width L to both sides of the y-direction coordinate range Δy based on this idea. The combination area width L is added to the y-direction coordinate range because the horizontal raster data D x is mainly referred to in the calculation of the shortest distance d min as described later. Of course, the combined area width L may be added to both sides of the x-direction coordinate range Δx, and if added in only one direction, a reference contour line including all reference contour elements of each pixel can be obtained.

ステップS8では、画像溶かし込み合成装置10に処理を実
行させるためのコマンドとして合成領域幅LがホストCP
U7から画像演算制御装置1に与えられ、さらに合成比率
演算装置16に伝送される。
In step S8, the composite area width L is set as the host CP as a command for causing the image fusion composition apparatus 10 to execute the process.
It is given from U7 to the image calculation control device 1 and further transmitted to the composition ratio calculation device 16.

第2B図は、ステップS9において合成比率演算装置16が行
なう合成比率演算の詳細手順を示すフローチャートであ
る。ステップS91では、第3F図に示すように、分割領域D
A内の一つの画素P0からx方向,y方向に引いた直線と輪
郭線Sとの交点PC1〜PC4を求める。そして、これらの交
点PC1〜PC4と画素P0との距離l1〜l4をそれぞれ求め、そ
の最小値lminを求める。第3F図の例では、lmin=l3であ
る。
FIG. 2B is a flowchart showing a detailed procedure of the synthesis ratio calculation performed by the synthesis ratio calculation device 16 in step S9. In step S91, as shown in FIG.
The intersections PC 1 to PC 4 of the straight line drawn in the x direction and the y direction from one pixel P 0 in A and the contour line S are obtained. Then, a distance l 1 to l 4 between the intersections PC 1 to PC 4 and the pixel P 0, respectively, obtain the minimum value l min. In the example of FIG. 3F, l min = l 3 .

ステップS92〜S97では、輪郭線Sと画素P0との最短距離
dminが求められる(第3G図)。すなわち、まず上記最小
値lminが仮の最短距離dmとされる。(ステップS92)。
そして、当該画素P0の座標(x0,y0)に対して、y方向
に(y0−lmin+1)から(y0+lmin−1)までの座標範
囲にある横方向ラスターデータが1座標値ごとにRAM17
から合成比率演算装置16に取り込まれる(ステップS9
3)。対象とする横方向ラスターデータをこの範囲に限
ったのは、最小値lminよりも小さな値の最短距離dmin
得られるのはこの範囲にある横方向ラスターデータの端
点に限られるからである。ここで、座標値は1画素を1
単位としている。そして各横方向ラスターデータの端点
(始点PI及び終点PE)のそれぞれと当該画素P0との距離
d(第3図に図示せず)を求め、前記仮の最短距離dm
りもその値が小さい場合には、当該距離dが仮の最短距
離dmとされる。そして、ステップS93〜S96のループが繰
返され、最終的に得られた仮の最短距離dmが真の最短距
離dminとされる(ステップS97)。第3G図には、上記y
座標範囲(y0−lmin+1)〜(y0+lmin−1)の両端に
ある3つの横方向ラスターデータB1〜B3と、これらの端
点PI1〜PI3及びPE1〜PE3,及び距離d1〜d6の例が示され
ている。
In steps S92 to S97, the shortest distance between the contour line S and the pixel P 0
d min is required (Fig. 3G). That is, first, the minimum value l min is set as the temporary minimum distance d m . (Step S92).
Then, the coordinates of the pixel P 0 (x 0, y 0 ), lateral raster data in the coordinate range of the y-direction from the (y 0 -l min +1) to (y 0 + l min -1) RAM17 for each coordinate value
From the composite ratio calculation device 16 (step S9
3). The target horizontal raster data is limited to this range, because the shortest distance d min smaller than the minimum value l min can be obtained only at the end points of the horizontal raster data in this range. . Here, the coordinate value is 1 pixel
The unit is used. Then, a distance d (not shown in FIG. 3) between each of the end points (start point PI and end point PE) of each horizontal raster data and the pixel P 0 is obtained, and the value is smaller than the temporary minimum distance d m. When the distance is small, the distance d is set as the temporary shortest distance d m . Then, the loop of steps S93 to S96 is repeated, and the finally obtained provisional shortest distance d m is set as the true shortest distance d min (step S97). In Fig. 3G, y above
Coordinate range (y 0 -l min +1) ~ and three transverse raster data B 1 .about.B 3 at each end of (y 0 + l min -1) , these end points PI 1 ~PI 3 and PE 1 -PE 3 , And examples of distances d 1 to d 6 are shown.

この結果、第3H図に示すように画素P0と、これに最も近
い輪郭線S上の画素pminとの距離(最短距離)dminが求
められる。このとき、画素P0は、画素Pminにおける輪郭
線Sの法線上にある。
As a result, as shown in FIG. 3H, the distance (shortest distance) d min between the pixel P 0 and the pixel p min on the contour line S closest to the pixel P 0 is obtained. At this time, the pixel P 0 is on the normal line of the contour line S at the pixel P min .

なお、RAM17に格納されている横方向ラスターデータは
第3E図に示す(Δy+2L)のy座標範囲にあるもののみ
なので、ステップS92〜S96で用いられる横方向ラスター
データのy座標範囲(y0−lmin+1)〜(y0+lmin
1)がこれより広い場合には、RAM17に格納されている
範囲のラスターデータを対象として距離が調べられる。
さらに、ステップS93〜S96のループが繰返される途中に
おいて、ステップS91で求められた最小値lminよりも、
仮の最短距離dmが小さな値となったときは、参照される
横方向ラスターデータは(y0−lmin+1)から(y0+dm
−1)までの範囲に限定される。つまり、当該画素P0
y座標y0よりも+y方向にある部分については(y0+dm
−1)までの範囲の横方向ラスターデータのみが調べら
れる。これ以上広い範囲を調べても仮の最短距離dmとし
てさらに小さな値が得られないからである。
Since the horizontal raster data stored in the RAM 17 is only in the y coordinate range of (Δy + 2L) shown in FIG. 3E, the y coordinate range of the horizontal raster data used in steps S92 to S96 (y 0 − l min +1) to (y 0 + l min
If 1) is wider than this, the distance is checked for the raster data in the range stored in the RAM 17.
Furthermore, during the repetition of the loop of steps S93 to S96, rather than the minimum value l min obtained in step S91,
When the provisional shortest distance d m has a small value, the reference horizontal raster data is from (y 0 −l min +1) to (y 0 + d m
It is limited to the range up to -1). That is, the y-coordinate y portion of 0 to + y direction from of the pixel P 0 is (y 0 + d m
Only lateral raster data up to -1) is examined. This is because a smaller value cannot be obtained as the temporary shortest distance d m even if a wider range is examined.

第4図は、ステップS98における画素P0の合成比率の計
算方法を示す概念図である。図示の便宜上、分割領域DA
を含む図形領域Fの一部のみを、第3図から回転して第
4図(a)に示している。第4図(b)は合成比率関数
f(dmin)を示しており、画素P0における合成比率Rは次
式で与えられる。
FIG. 4 is a conceptual diagram showing a method of calculating the composition ratio of the pixel P 0 in step S98. For convenience of illustration, the divided area DA
Only a part of the graphic region F including "" is rotated from FIG. 3 and shown in FIG. 4 (a). FIG. 4 (b) is a composite ratio function
f (d min ) is shown, and the composition ratio R in the pixel P 0 is given by the following equation.

dmin<Lの場合: L≦dminの場合 R=f(dmin) =re …(2) ここで、rs:輪郭線S上における合成比率 re:輪郭線Sから合成領域幅L以上離れた図形F内部に
おける合成比率 例えばrs=0,re=1.0である。
If d min <L: For L ≦ d min R = f ( d min) = r e ... (2) where, r s: outline synthesis ratio r on S e: figure F inside away from the contour line S synthesis region width L or more For example, the composition ratio in r is s = 0 and r e = 1.0.

このようにして、画素P0の合成比率Rが求まると、ステ
ップS10で画素P0の座標値(x0,y0)と合成比率Rが合
成比率演算装置16から画像合成装置15に転送される。
In this way, when the composition ratio R of the pixel P 0 is obtained, the coordinate values (x 0 , y 0 ) of the pixel P 0 and the composition ratio R are transferred from the composition ratio calculation device 16 to the image composition device 15 in step S10. It

画像合成装置15はステップS11で当該画素P0における合
成画像と被合成画像の画像データI1(P0),I2(P0)をそれ
ぞれイメージメモリ12から取りこむ。
The image synthesizing device 15 fetches the image data I 1 (P 0 ) and I 2 (P 0 ) of the synthesized image and the synthesized image at the pixel P 0 from the image memory 12 in step S11.

ステップS12では、画素P0の合成後の画像データI(P0)を
次式により求める。
In step S12, the image data I (P 0 ) after composition of the pixel P 0 is obtained by the following equation.

I(P0)=R×I1(P0)+(1−R)×I2(P0) …(3) そして、合成後の画像データI(P0)は、画像合成装置15
からイメージメモリ12に伝送され、被合成画像データI2
(P0)と置換されつつ格納される。
I (P 0 ) = R × I 1 (P 0 ) + (1−R) × I 2 (P 0 ) ... (3) Then, the image data I (P 0 ) after combination is the image combining device 15
From the image memory 12 to the combined image data I 2
It is stored while being replaced with (P 0 ).

以上のように、ステップS7〜S12のループで画像領域IA
内のN2個の各分割領域DAに含まれる全画素について画像
データの合成が行なわれる。
As described above, in the loop of steps S7 to S12, the image area IA
The image data is combined for all the pixels included in each of the N 2 divided areas DA in.

ステップS13では、画像領域IA全体について作成された
合成後の画像データが、イメージメモリ12から画像ディ
スク3に転送され、画像領域IAの相当部分に格納され
る。そして、ステップS5〜S13のループで外周枠SF内のN
1個の各画像領域IAについて画像の合成が行なわれる。
In step S13, the combined image data created for the entire image area IA is transferred from the image memory 12 to the image disk 3 and stored in a corresponding portion of the image area IA. Then, in the loop of steps S5 to S13, N in the outer peripheral frame SF is
Image synthesis is performed on one of the image areas IA.

第3I図は、溶かし込み合成後の画像データの分布を示す
概念図である。外周枠SF内部の画像のうち、輪郭線Sと
外周枠SFとの間の領域は被合成画像I2がそのまま維持さ
れる。輪郭線Sの内側に一定の合成領域幅Lで形成され
ている合成領域CSでは、上記(3)式に従って被合成画
像I2から合成画像I1に滑かに画像が変化している。合成
領域CSの内側では合成画像I1がそのまま維持されてい
る。
FIG. 3I is a conceptual diagram showing the distribution of image data after melted and synthesized. In the image inside the outer peripheral frame SF, the combined image I 2 is maintained as it is in the region between the contour line S and the outer peripheral frame SF. In the combined area CS formed inside the contour line S with a constant combined area width L, the image smoothly changes from the combined image I 2 to the combined image I 1 according to the above equation (3). The composite image I 1 is maintained as it is inside the composite area CS.

以上のように、第1の方法では、合成の対象となる画像
の領域、すなわち外周枠SF内部を分割領域DAに分割して
処理するので、イメージメモリ12やRAM17の容量が小さ
くても、任意の大きさの図形Fを対象として画像の溶か
し込み合成を行なうことができる。また分割領域DA内の
各画素P0について、輪郭線Sとの最短距離dminを求める
に際して、所定の参照輪郭線データのみを基に演算すれ
ばよいので、処理時間が比較的少ないという利点があ
る。さらに、第1の方法では、輪郭線Sの全周にわたっ
て等しい合成領域幅Lで溶かし込み合成ができるので、
良好な合成後画像を得ることができるという利点があ
る。なお、合成領域幅Lはオペレータが所望の値に設定
できるので、任意の幅で溶かし込み合成を行なうことが
できる。
As described above, according to the first method, the area of the image to be combined, that is, the inside of the outer peripheral frame SF is divided into the divided areas DA to be processed, so that even if the capacity of the image memory 12 or the RAM 17 is small, it is arbitrary. It is possible to perform image fusion and composition for a figure F having a size of. Further, for each pixel P 0 in the divided area DA, when the shortest distance d min to the contour line S is obtained, it is necessary to perform the calculation only based on the predetermined reference contour line data, which is advantageous in that the processing time is relatively short. is there. Further, in the first method, since the fusion synthesizing can be performed with the same synthetic region width L over the entire circumference of the contour line S,
There is an advantage that a good combined image can be obtained. Since the operator can set the combined area width L to a desired value, it is possible to perform the melted combination with an arbitrary width.

B-2.第2の方法 この発明の実施例における第2の方法は、上記第1と方
法とほとんど同じであり、第2A図のステップS7(第3E図
参照)でRAM17に転送される参照輪郭線データの内容
と、第2B図のステップS93〜S97における最短距離dmin
算出方法が異なるだけである。
B-2. Second Method The second method in the embodiment of the present invention is almost the same as the above-mentioned first method, and is transferred to the RAM 17 in step S7 of FIG. 2A (see FIG. 3E). The only difference is the content of the contour line data and the method of calculating the shortest distance d min in steps S93 to S97 in FIG. 2B.

第5A図は、第2の方法において分割領域DAに対応する参
照輪郭線を示す説明図である。参照輪郭線は、分割領域
DAのx方向座標範囲Δx及びy方向座標範囲Δyのいず
れかに存在する輪郭線部分SR1a〜SR4aと、これらの輪郭
線部分SR1a〜SR4aを順次継いで閉曲線を形成する線分SL
1〜SL4とから構成される。このうち、輪郭部分SR1aとSR
3aについては縦方向ラスターデータDyが、また輪郭線部
分SR2aとSR4aについては横方向ラスターデータDxがそれ
ぞれ参照輪郭線データを構成する内容となる。また、線
分SL1〜SL4についてはこれらを表わす直線の方程式が参
照輪郭線データを構成する。
FIG. 5A is an explanatory diagram showing reference contour lines corresponding to divided areas DA in the second method. The reference contour is a divided area
A contour line portion SR 1a to SR 4a existing in one of the x-direction coordinate range Δx and the y-direction coordinate range Δy of DA, and a line segment SL that successively connects these contour line portions SR 1a to SR 4a to form a closed curve.
It consists of 1 to SL 4 . Of these, the outline parts SR 1a and SR
Longitudinal raster data D y for 3a is also achieves the content transverse raster data D x to constitute a reference outline data, respectively for contour portions SR 2a and SR 4a. Further, regarding the line segments SL 1 to SL 4 , the equation of the straight line representing these constitutes the reference contour line data.

第5B図は画素P0aについて最短距離dminaを求める方法を
示す説明図である。第2の方法では、第2B図のステップ
S94において、輪郭線部分SR2a,SR4aと画素P0aとの距離
のみでなく、画素P0aと線分SL1〜SL4との距離も調べら
れる。第5B図に示すように、これらの距離のうち画素P
0aと線分SL1との距離dminaが最も短い場合には、これが
輪郭線Sとの最短距離と擬制されて、その後の処理が行
なわれる。このような最短距離dminaは、これらの線分S
L1〜SL4の直線の方程式と画素P0aの座標値とから簡単に
算出できる。
FIG. 5B is an explanatory diagram showing a method of obtaining the shortest distance d mina for the pixel P 0a . In the second method, the steps of Figure 2B
In S94, not only the distance between the contour line portions SR 2a and SR 4a and the pixel P 0a , but also the distance between the pixel P 0a and the line segments SL 1 to SL 4 is examined. Of these distances, pixel P
When the distance d mina between 0a and the line segment SL 1 is the shortest, this is assumed to be the shortest distance to the contour line S, and the subsequent processing is performed. Such shortest distance d mina is
It can be easily calculated from the linear equation of L 1 to SL 4 and the coordinate value of the pixel P 0a .

以上のように、第2の方法では第1の方法に比べて参照
輪郭線上において分割領域DA内の各画素との距離を求め
るべき点の数が少ないので、処理をより高速で行なうこ
とができるという利点がある。一方、第5B図からわかる
ように、画素P0aと輪郭線Sとの最短距離dminaは近似値
である。従って、第1の方法に比べて溶かし込み合成が
実際に行なわれる幅が多少変動しやすい。但し、円や楕
円に近いような凸型の図形については第2の方法によっ
ても極めて良好な合成処理を行ないうる。
As described above, in the second method, the number of points on the reference contour line to obtain the distance to each pixel in the divided area DA is smaller than that in the first method, so that the processing can be performed at higher speed. There is an advantage. On the other hand, as can be seen from FIG. 5B, the shortest distance d mina between the pixel P 0a and the contour line S is an approximate value. Therefore, as compared with the first method, the width in which the melt-melting synthesis is actually performed tends to vary to some extent. However, with respect to a convex figure that is close to a circle or an ellipse, the second method can be used to perform a very good combining process.

B-3.処理の高速化方法 第6図は、上述の第1及び第2の方法における合成比率
の演算を高速化する方法を示す説明図である。
B-3. Speed-up Method of Processing FIG. 6 is an explanatory diagram showing a method of speeding up the calculation of the composition ratio in the above-mentioned first and second methods.

まず、分割領域DAをさらに複数の小分割領域DSに分割す
る。これは、図形領域Fの中心部などにおいては、合成
比率Rが一定値(R=re)である部分が多いため、これ
らの部分に対応する小分割領域において、合成比率の演
算を後述する手順で省略するためである。そして、各小
分割領域DS内を外周から中心に向かって周状の画素領域
層PLi(i=1,2,…)に区分する。画素領域層PLiはその
幅が画素一つ分と等しい。
First, the divided area DA is further divided into a plurality of small divided areas DS. This is because there are many parts where the composition ratio R is a constant value (R = r e ) in the central portion of the graphic region F, etc. Therefore, the calculation of the composition ratio will be described later in the small divided regions corresponding to these parts. This is because it is omitted in the procedure. Then, each small divided area DS is divided into peripheral pixel area layers PL i (i = 1, 2, ...) From the outer circumference toward the center. The width of the pixel region layer PL i is equal to one pixel.

合成比率は、まず最外周の画素領域層PL1の全画素につ
いて求められる。画素領域層PL1内で合成比率が一定値R
0であれば、これより中心側の画素領域層PL2…の合成比
率もR0に等しいとされる。この場合における画素領域層
PL2から小分割領域DSの中心までの領域を「均一領
域」、その合成比率を「均一合成比率」と呼ぶ。画素領
域層PL1内で合成比率が一定でなければ、画素ごとに求
められた合成比率を画素領域層PL1においてそのまま採
用するとともに1つの中心側にある次の画素領域層PL2
について合成比率を求める。
The composition ratio is first obtained for all the pixels in the outermost pixel region layer PL 1 . Within the pixel area layer PL 1 , the composition ratio is a constant value R
If it is 0 , the composition ratio of the pixel region layers PL 2 on the center side of this is also equal to R 0 . Pixel area layer in this case
The area from PL 2 to the center of the small divided area DS is called a “uniform area”, and its composition ratio is called a “uniform composition ratio”. If the composition ratio in the pixel region layer PL 1 is not constant, the composition ratio obtained for each pixel is directly adopted in the pixel region layer PL 1 and the next pixel region layer PL 2 on the one center side is adopted.
The composition ratio is calculated for.

以下、同様の処理を繰り返すことにより、小分割領域DS
内の全画素の合成比率を求めることができる。
After that, by repeating the same processing, the small divided area DS
It is possible to obtain the composition ratio of all the pixels in.

第2C図は、この高速化方法を採用した場合における第2B
図のステップS9に対応する手順を示すフローチャートで
ある。第2C図のステップS9aは第2B図のステップS9にス
テップS90とS99が追加されただけである。ステップS90
では対象とする画素が均一領域にあるか否かが判断され
る。均一領域であれば、ステップS99においてその合成
比率Rは均一合成比率R0と等しいとされる。また、均一
領域でなければ上述したステップS91〜S98の手順で合成
比率Rが演算される。
Fig. 2C shows Fig. 2B when this speedup method is adopted.
It is a flowchart which shows the procedure corresponding to step S9 of a figure. Step S9a in FIG. 2C is only steps S90 and S99 added to step S9 in FIG. 2B. Step S90
Then, it is determined whether or not the target pixel is in the uniform area. If it is a uniform region, the combination ratio R is made equal to the uniform combination ratio R 0 in step S99. If it is not a uniform region, the combination ratio R is calculated in the procedure of steps S91 to S98 described above.

この高速化方法を用いると、すべての画素について合成
比率の演算(ステップS91〜S98)を行なう必要がなくな
り、処理を高速に行なうことができる。
By using this speed-up method, it is not necessary to calculate the composition ratio (steps S91 to S98) for all pixels, and the processing can be performed at high speed.

C.他の画像溶かし込み合成方法 上述の本発明の実施例による画像溶かし込み方法に関連
して、より簡略化した他の2つの方法(第3及び第4の
方法)について以下に説明する。
C. Other image fusion synthesizing methods Two other more simplified methods (third and fourth methods) will be described below in relation to the image fusion method according to the embodiment of the present invention described above.

C-1.第3の方法 第7図は、第3の方法における図形領域F内の画素P0b
と輪郭線Sとの最短距離を求める方法を示す説明図であ
る。まず、図形領域F内の画素P0bからx方向,y方向に
引いた直線と輪郭線Sとの交点PC1b〜PC4bを求め、これ
らの交点PC1b〜PC4bと画素P0bとの距離l1b〜l4bをそれ
ぞれ求める。そして、その最小値l1bを最短距離dminb
みなす。そして、前記(1)式及び(2)式によって当
該画素P0bの合成比率を求める。
C-1. Third Method FIG. 7 shows a pixel P 0b in the graphic area F in the third method.
It is explanatory drawing which shows the method of calculating | requiring the shortest distance between the contour line and the contour line. First, the intersections PC 1b to PC 4b of the straight line drawn in the x direction and the y direction from the pixel P 0b in the figure area F and the contour line S are obtained, and the distances between these intersections PC 1b to PC 4b and the pixel P 0b. Calculate l 1b to l 4b respectively. Then, the minimum value l 1b is regarded as the shortest distance d minb . Then, the combination ratio of the pixel P 0b is calculated by the equations (1) and (2).

この第3の方法では、第1及び第2の方法における第2B
図のステップS92〜S96の演算を必要としないので、処理
は極めて高速に行なわれる。なお、第3の方法では分割
領域DAに分割する必要がないので、第2A図のステップS6
も不要である。但し、イメージメモリ12の容量の制限か
ら、ステップS4の分割は必要である。
In this third method, the second B in the first and second methods is used.
Since the operations of steps S92 to S96 in the figure are not required, the processing is performed at extremely high speed. In the third method, there is no need to divide into divided areas DA, so step S6 in FIG. 2A is performed.
Is also unnecessary. However, due to the limitation of the capacity of the image memory 12, the division in step S4 is necessary.

C-2.第4の方法 第8図は、画素P0bと輪郭線Sとの最短距離を求める第
4の方法を示す説明図である。
C-2. Fourth Method FIG. 8 is an explanatory diagram showing a fourth method for obtaining the shortest distance between the pixel P 0b and the contour line S.

まず、第3の方法と同様に交点PC1b〜PC4bと距離l1b〜l
4bを求める。そして、距離l1b〜l4bの小さな順に3つ交
点(第8図の例では点PC1b,PC2b及びPC3b)を選び、こ
れらの交点を通る円Cを描く。そして、円Cの中心Oと
画素P0bを通る半径上において、画素P0bと円弧との距離
dmincを最短距離とみなす。その他の処理は第3の方法
と同様である。
First, similar to the third method, the intersection points PC 1b to PC 4b and the distances l 1b to l
Ask for 4b . Then, three intersections (points PC 1b , PC 2b and PC 3b in the example of FIG. 8) are selected in the ascending order of the distances l 1b to l 4b , and a circle C passing through these intersections is drawn. Then, on the radius passing through the center O of the circle C and the pixel P 0b , the distance between the pixel P 0b and the circular arc
Consider d minc as the shortest distance. The other processing is the same as the third method.

第4の方法も、第3の方法と同様に高速処理が可能であ
る。ただし、第3及び第4の方法では、第1及び第2の
方法に比べて溶かし込みが行なわれる幅が輪郭線Sの形
状に応じて多少変化し易いという性質があるが、実用
上、ほとんど支障とはならない。
The fourth method can also perform high-speed processing similarly to the third method. However, the third and fourth methods have the property that the width in which the welding is performed is likely to change to some extent according to the shape of the contour line S, as compared with the first and second methods, but practically it is almost the same. It does not hinder.

D.変形例 上記実施例では、合成比率関数f(dmin)を第4図
(b)に示すような直線的なものとしたが、多項式など
の他の関数形を有するものを用いてもよいことはいうま
でもない。第9図は、その一例としてS字形を有する合
成比率関数g(dmin)を示すグラフである。グラフの横軸
は輪郭線からの最短距離dmin、縦軸は合成比率Rを示
す。合成比率関数g(dmin)は、合成領域幅Lの半分の距
離L/2の点において2つの点対称な2次曲線g1(dmin)とg
2(dmin)を継いだ形状を有している。このようなS字形
を有する合成比率関数g(dmin)を使用すれば、合成領域
の境界、すなわちdmin=O及びdmin=Lの部分で画像が
より滑らかに変化するような合成を行なうことができ
る。
D. Modified Example In the above embodiment, the composition ratio function f (d min ) is linear as shown in FIG. 4 (b), but it is also possible to use one having other functional form such as polynomial. It goes without saying that it is good. FIG. 9 is a graph showing a composite ratio function g (d min ) having an S shape as an example. The horizontal axis of the graph shows the shortest distance d min from the contour line, and the vertical axis shows the composition ratio R. The composite ratio function g (d min ) is obtained by using two point-symmetrical quadratic curves g 1 (d min ) and g at a distance L / 2 which is half the composite area width L.
It has a shape that continues 2 (d min ). If the composite ratio function g (d min ) having such an S-shape is used, the composition is performed so that the image changes more smoothly at the boundary of the composite area, that is, the part where d min = O and d min = L. be able to.

原画像となる合成画像と被合成画像はいずれも画像
スキャナ4から画像ディスク3に取り込まれるものとし
たが、例えば合成画像として平網発生装置14から発生さ
れる平網画像(一定色画像)を用いてもよい。これは例
えば墨版の平網画像を、被合成画像の陰影部となるべき
領域に溶け込ませることにより、影画像を作成すること
に利用できる。
Both the composite image as the original image and the composite image are taken into the image disc 3 from the image scanner 4. For example, a flat screen image (constant color image) generated from the flat screen generator 14 as a composite image is used. You may use. This can be used, for example, to create a shadow image by blending a black halftone screen image with a region to be a shaded part of the combined image.

(発明の効果) 以上説明したように、この発明の第1の手段によれば、
合成すべき画像を複数の分割領域に分割して処理するの
で、任意の大きさを有する図形領域について、画像の溶
かし込み合成を容易にかつ短時間に行なうことができ
る。また、各分割領域について参照輪郭線を定め、分割
領域内の画素から最も近い参照輪郭線上の点を基準点と
するとともに、その基準点と当該画素との距離に基づい
て合成比率を決定するので、任意の形状の図形領域につ
いて溶かし込み合成を行なうことができる。さらに、所
定の合成比率関数に基づいて合成するので、溶かし込み
幅や合成比率の変化について、所望の条件を設定して溶
かし込み合成を行なうことができる。
(Effects of the Invention) As described above, according to the first means of the present invention,
Since the image to be combined is divided into a plurality of divided areas and processed, it is possible to easily and quickly combine the images with each other in a short time in a graphic area having an arbitrary size. Further, a reference contour line is determined for each divided area, a point on the reference contour line closest to the pixel in the divided area is used as a reference point, and the synthesis ratio is determined based on the distance between the reference point and the pixel. , It is possible to perform fusion-synthesis with respect to a graphic region having an arbitrary shape. Further, since the composition is carried out based on a predetermined composition ratio function, it is possible to carry out the melt composition by setting desired conditions with respect to changes in the composition width and composition ratio.

この発明の第2の手段では、分割領域をさらに複数の小
分割領域に分割し、小分割領域内の画素層ごとに合成比
率を求めていくようにしたので、画素層の合成比率が一
定となった場合には、これより中心側にある画素層の合
成比率の演算を省略することができ、処理時間をさらに
短縮することができる。
According to the second means of the present invention, the divided area is further divided into a plurality of small divided areas, and the composition ratio is calculated for each pixel layer in the small divided area. In this case, the calculation of the composition ratio of the pixel layer located on the center side can be omitted, and the processing time can be further shortened.

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

第1図は、この発明の実施例を適用する装置を示す概略
構成図、 第2図は、この発明の実施例の手順を示すフローチャー
ト、 第3図ないし第6図は、この発明の実施例の処理内容を
示す説明図、 第7図及び第8図は、他の処理方法を示す説明図、 第9図は、この発明の実施例における合成比率関数を示
す図である。 10…画像溶かし込み合成装置、F…図形、S…輪郭線、
SR1〜SR4…参照輪郭線、DA…分割領域、DS…小分割領
域、PL1,PL2…画素領域層、f(dmin),g(dmin)…合成比
率関数、L…合成領域幅、R…合成比率
FIG. 1 is a schematic configuration diagram showing an apparatus to which an embodiment of the present invention is applied, FIG. 2 is a flow chart showing a procedure of an embodiment of the present invention, and FIGS. 3 to 6 are embodiments of the present invention. 7 and 8 are explanatory diagrams showing another processing method, and FIG. 9 is a diagram showing a composite ratio function in the embodiment of the present invention. 10 ... Image merging / synthesizing device, F ... Graphic, S ... Contour line,
SR 1 to SR 4 ... reference contour, DA ... divided region, DS ... subdivided regions, PL 1, PL 2 ... pixel region layer, f (d min), g (d min) ... synthesis ratio function, L ... synthetic Region width, R ... Composite ratio

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】互いに異なる第1と第2の画像について同
一輪郭線で囲まれた同一の図形領域をそれぞれ設定し、
前記図形領域内の画素ごとに前記第1と第2の画像を表
わす第1と第2の画像データの合成比率を決定するとと
もに、当該合成比率を用いて前記第1と第2の画像デー
タを合成することにより、第1と第2の画像を互いに溶
け込ませる画像の溶かし込み合成方法であって、 (a)前記図形領域を複数の分割領域に分割し、 (b)前記分割領域ごとに、当該分割領域の縦方向座標
範囲及び横方向座標範囲にそれぞれ対応する前記輪郭線
の部分を含んだ参照輪郭線を求め、 (c)前記分割領域内の画素ごとに、前記参照輪郭線上
において当該画素から最も近い点を基準点として定める
とともに、 (d)前記基準点と前記画素との距離を変数とする所定
の合成比率関数に基づいて、当該画素の合成比率を決定
することを特徴とする画像の溶かし込み合成方法。
1. A same graphic area surrounded by the same contour line is set for each of first and second images different from each other,
The composition ratio of the first and second image data representing the first and second images is determined for each pixel in the graphic region, and the first and second image data are combined using the composition ratio. An image fusion synthesizing method for merging the first and second images by synthesizing, wherein (a) the graphic region is divided into a plurality of divided regions, and (b) each of the divided regions, A reference contour line including a portion of the contour line corresponding respectively to the vertical coordinate range and the horizontal coordinate range of the divided area is obtained, and (c) for each pixel in the divided area, the pixel on the reference contour line. An image characterized in that a point closest to the reference point is determined as a reference point, and (d) a combination ratio of the pixel is determined based on a predetermined combination ratio function having a distance between the reference point and the pixel as a variable. Melted in Only synthetic method.
【請求項2】分割領域のそれぞれを、さらに複数の小分
割領域に分割するとともに、前記小分割領域の内部をそ
の外周側から中心側に向かって周状に区分された複数の
画素層に分割し、 (d)のステップにおいて各画素の合成比率を決定する
に当たっては、 (d-1)前記小分割領域内の最も外周の前記画素層を選
択し、 (d-2)選択された画素画素層を構成する画素のそれぞ
れについて、合成比率関数を用いて前記合成比率を算出
し、 (d-3)前記選択された画素層に含まれるすべての画素
について、前記合成比率が一定である場合には、当該選
択された画素層、および当該選択された画素層よりも中
心側に存在するすべての画素層の合成比率を当該選択さ
れた画素層の合成比率と同一と決定し、 (d-4)当該選択された画素層に含まれる画素について
前記合成比率が一定でない場合には、当該選択された画
素層に含まれる画素のそれぞれについてステップ(d-
2)で算出された合成比率をそのまま採用し、さらに、
当該選択された画素層に隣接した中心側の画素層を選択
するとともに、 (d-5)上記(d-2)から(d-4)までのステップを繰り
返すことにより、前記画素のそれぞれの合成比率を決定
する請求項1記載の画像の溶かし込み合成方法。
2. Each of the divided areas is further divided into a plurality of small divided areas, and the inside of the small divided areas is divided into a plurality of pixel layers circumferentially divided from the outer peripheral side toward the central side. Then, in determining the composition ratio of each pixel in the step (d), (d-1) the outermost pixel layer in the small divided region is selected, and (d-2) the selected pixel pixel For each of the pixels forming the layer, the combination ratio is calculated using a combination ratio function, and (d-3) for all pixels included in the selected pixel layer, the combination ratio is constant. Determines that the composite ratio of the selected pixel layer and all the pixel layers existing on the center side of the selected pixel layer is the same as the composite ratio of the selected pixel layer, and (d-4 ) For the pixels included in the selected pixel layer When have the synthetic ratios is not constant for each step of the pixels included in the selected pixel layer (d-
The composition ratio calculated in 2) is used as is, and
A pixel layer on the center side adjacent to the selected pixel layer is selected, and (d-5) the steps (d-2) to (d-4) are repeated to synthesize each pixel. The method according to claim 1, wherein the ratio is determined.
JP63233887A 1988-09-19 1988-09-19 Image fusion synthesizing method Expired - Lifetime JPH07113964B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63233887A JPH07113964B2 (en) 1988-09-19 1988-09-19 Image fusion synthesizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63233887A JPH07113964B2 (en) 1988-09-19 1988-09-19 Image fusion synthesizing method

Publications (2)

Publication Number Publication Date
JPH0281275A JPH0281275A (en) 1990-03-22
JPH07113964B2 true JPH07113964B2 (en) 1995-12-06

Family

ID=16962118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63233887A Expired - Lifetime JPH07113964B2 (en) 1988-09-19 1988-09-19 Image fusion synthesizing method

Country Status (1)

Country Link
JP (1) JPH07113964B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4419517A1 (en) * 1994-06-03 1995-12-07 Basf Ag Substituted 3-phenylpyrazoles

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5990161A (en) * 1982-11-16 1984-05-24 Dainippon Ink & Chem Inc Method and device for forming composite picture
JPS61175863A (en) * 1985-01-31 1986-08-07 Fujitsu Ltd Picture composing system
JPS62214484A (en) * 1986-03-17 1987-09-21 Fujitsu Ltd Watermark processing system in air brush process

Also Published As

Publication number Publication date
JPH0281275A (en) 1990-03-22

Similar Documents

Publication Publication Date Title
EP0559708A1 (en) Image synthesis and processing
JPH0285970A (en) Picture forming device and system of continuous tone to which smooth shadow is formed
EP0431339B1 (en) Method and device for semi-automatic image tracing
JPH08101922A (en) Picture editing and forming device and picture editing and forming method
JPH0816795A (en) Method and apparatus for improvement of edge of pixel image
US5485561A (en) Method of and apparatus for replacing region of interest
JPH07113964B2 (en) Image fusion synthesizing method
JPH0636013A (en) Method and device for generating topographic data
JP3090409B2 (en) Method and apparatus for designing three-dimensional shape using computer
JPH0285978A (en) Method for processing hidden-surface of solid
JPH05135146A (en) Method and apparatus for moving and deforming graphic
JP2773127B2 (en) Image editing method
JP2683114B2 (en) Curve control device
JP3139805B2 (en) Image processing method and apparatus
JPH0350686A (en) Graphic processing system
JP2001266138A (en) Picture conversion processor, picture conversion processing method and information recording medium
JP3072769B2 (en) Graphic processing method and apparatus
JP2821433B2 (en) 3D drawing method
JP2001043394A (en) Image display method and device
JP2569049B2 (en) How to modify characters
JP6344619B2 (en) Depth information editing apparatus, depth information editing method, depth information editing program, and computer-readable recording medium recording depth information editing program
JP2000090286A (en) Plotting processor and record medium
JPH0765151A (en) Figure editing device
JP4394179B2 (en) Image creating method and apparatus
JPH08335277A (en) Graphic processor