JP3452489B2 - Image splicing method and apparatus, and storage medium storing program - Google Patents

Image splicing method and apparatus, and storage medium storing program

Info

Publication number
JP3452489B2
JP3452489B2 JP17858798A JP17858798A JP3452489B2 JP 3452489 B2 JP3452489 B2 JP 3452489B2 JP 17858798 A JP17858798 A JP 17858798A JP 17858798 A JP17858798 A JP 17858798A JP 3452489 B2 JP3452489 B2 JP 3452489B2
Authority
JP
Japan
Prior art keywords
pixel
image
binary
joining
binary image
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
JP17858798A
Other languages
Japanese (ja)
Other versions
JP2000013590A (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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP17858798A priority Critical patent/JP3452489B2/en
Publication of JP2000013590A publication Critical patent/JP2000013590A/en
Application granted granted Critical
Publication of JP3452489B2 publication Critical patent/JP3452489B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、重複部分を有する
隣り合う配置関係のデジタルの第1、第2の2値画像に
対して、第1、第2の2値画像の重複部分を合成して、
第1の2値画像と第2の2値画像とをつなぎ合わせる画
像つなぎ処理方法及びその装置並びにプログラムを記録
した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention synthesizes overlapping portions of first and second binary images with digital first and second binary images having adjacent arrangement relations and having overlapping portions. hand,
The present invention relates to an image joining processing method for joining a first binary image and a second binary image, an apparatus therefor, and a storage medium recording a program.

【0002】[0002]

【従来の技術】サイズの大きい原稿をスキャナなどで読
み込んでデジタルの2値画像(白黒画像)を得る場合、
より高解像度の2値画像NGを得るために、例えば、図
15に示すように、スキャナによる原稿OGの読み込み
を分割して行い、分割して読み込んだ各2値画像NG
A、NGBを後処理でつなぎ合わせる方法が採用されて
いる。
2. Description of the Related Art When a large-sized original is read by a scanner or the like to obtain a digital binary image (black and white image),
In order to obtain a binary image NG with a higher resolution, for example, as shown in FIG. 15, the reading of the original OG by the scanner is performed in a divided manner, and each binary image NG obtained by the division is read.
A method of joining A and NGB by post-treatment is adopted.

【0003】図15では、原稿OGをX方向に分割して
読み込む場合を示している。第1の2値画像NGAは、
原稿OG内の第1の読み込み領域OGA内の画像を読み
込んだ2値画像であり、第2の2値画像NGBは、原稿
OG内の第2の読み込み領域OGB内の画像を読み込ん
だ2値画像である。
FIG. 15 shows a case where the original OG is divided and read in the X direction. The first binary image NGA is
The second binary image NGB is a binary image obtained by reading the image in the first reading area OGA in the original OG, and the second binary image NGB is a binary image obtained by reading the image in the second reading area OGB in the original OG. Is.

【0004】また、第1、第2の読み込み領域OGA、
OGBの一部を重複させて、第1、第2の2値画像NG
A、NGB内に原稿OGの同じ画像部分OWを含ませ、
各2値画像NGA、NGB内の重複部分WA(X方向の
幅WWの画素範囲)を合成して、第1の2値画像NGA
と第2の2値画像NGBとをつなぎ合わせるようにして
いる。
Further, the first and second read areas OGA,
The first and second binary images NG by overlapping a part of OGB
Include the same image part OW of the original OG in A and NGB,
The first binary image NGA is created by synthesizing the overlapping portion WA (pixel range of width WW in the X direction) in each binary image NGA, NGB.
And the second binary image NGB are connected to each other.

【0005】上述した方法における第1、第2の2値画
像NGA、NGBのつなぎ合わせは、従来、重複部分W
Aにつなぎ位置を設定し、そのつなぎ位置を境界とし
て、第1、第2の2値画像NGA、NGBを単純合成す
る方法で行われている。
Conventionally, the overlapping of the first and second binary images NGA and NGB in the above-described method has been performed.
This is performed by a method of setting a joint position at A and using the joint position as a boundary to simply combine the first and second binary images NGA and NGB.

【0006】[0006]

【発明が解決しようとする課題】第1の2値画像NGA
の重複部分WAの画像と第2の2値画像NGBの重複部
分WAの画像とが一致していれば、従来方法で第1、第
2の2値画像NGA、NGBをつなぎ合わせても問題は
ない。
PROBLEM TO BE SOLVED BY THE INVENTION First binary image NGA
If the image of the overlapping portion WA of the first binary image NGA and the image of the overlapping portion WA of the second binary image NGB match, there is no problem even if the first and second binary images NGA and NGB are connected by the conventional method. Absent.

【0007】しかしながら、第1、第2の2値画像NG
A、NGBを読み込むスキャナなどの入力装置の機械的
な精度誤差や画像を読み取る入力装置内の光学系の歪み
などによって、第1の2値画像NGAの重複部分WAの
画像と第2の2値画像NGBの重複部分WAの画像とが
ズレている場合がしばしばある。
However, the first and second binary images NG
The image of the overlapping portion WA of the first binary image NGA and the second binary image due to mechanical precision error of an input device such as a scanner for reading A, NGB, or distortion of an optical system in the input device for reading the image. The image of the overlapping portion WA of the image NGB often deviates.

【0008】このように第1、第2の2値画像NGA、
NGBの重複部分WAの画像がズレている場合、従来方
法で第1、第2の2値画像NGA、NGBをつなぎ合わ
せると、つなぎ合わせ後の2値画像NGにはつなぎ位置
で画像のズレが目立つという不都合が生じる。
Thus, the first and second binary images NGA,
When the images of the overlapping portion WA of NGB are misaligned, if the first and second binary images NGA and NGB are joined by the conventional method, the binary image NG after joining has an image shift at the joining position. The inconvenience of being conspicuous occurs.

【0009】例えば、図16に示すようにつなぎ位置K
Lを常に同じ位置に設定して第1、第2の2値画像NG
A、NGBを単純合成すると、第1、第2の2値画像N
GA、NGBの重複部分WAの画像のズレが僅かであっ
ても、つなぎ合わせ後の2値画像NGに生じる画像のズ
レは視覚的に目立ってしまい、特に、第1、第2の2値
画像NGA、NGBの重複部分WAの画像が網点画像で
ある場合にズレが顕著に現れることがある。
For example, as shown in FIG. 16, the connecting position K
L is always set to the same position and the first and second binary images NG
If A and NGB are simply combined, the first and second binary images N
Even if there is a slight shift in the image of the overlapping portion WA of GA and NGB, the shift of the image that occurs in the binary image NG after joining is visually noticeable, and especially, the first and second binary images. When the image of the overlapping portion WA of NGA and NGB is a halftone dot image, a shift may appear significantly.

【0010】そこで、図17に示すように、つなぎ位置
KLをつなぎ方向の画素列GLA、GLBごとにランダ
ムに設定して第1、第2の2値画像NGA、NGBを単
純合成する、いわゆるランダムつなぎ処理で、第1、第
2の2値画像NGA、NGBをつなぎ合わせることで、
第1、第2の2値画像NGA、NGBの重複部分WAの
画像が網点画像である場合や、第1、第2の2値画像N
GA、NGBの重複部分WAの画像のズレが僅かである
場合には、比較的精度良く画像のつなぎ合わせを行うこ
とができる。なお、つなぎ方向の画素列GLA、GLB
は、第1、第2の2値画像NGA、NGBの配置方向に
並ぶ画素の列である。
Therefore, as shown in FIG. 17, the joint position KL is randomly set for each of the pixel columns GLA and GLB in the joint direction, and the first and second binary images NGA and NGB are simply combined, that is, so-called random. By joining the first and second binary images NGA and NGB in the joining process,
The case where the image of the overlapping portion WA of the first and second binary images NGA and NGB is a halftone image, or the first and second binary images N
When the images in the overlapping portion WA of GA and NGB are slightly misaligned, the images can be joined together with relatively high accuracy. The pixel rows GLA and GLB in the connecting direction
Is a column of pixels lined up in the arrangement direction of the first and second binary images NGA and NGB.

【0011】しかしながら、例えば、図18に示す第
1、第2の2値画像NGA、NGBのように、第1、第
2の2値画像NGA、NGBの重複部分WAの画像のズ
レが大きい場合には、ランダムつなぎ処理で画像のつな
ぎ合わせを行うと、図19に示すように、つなぎ合わせ
後の2値画像(ΔGN)に生じる画像のズレはかえって
目立ってしまうという不都合がある。また、図18に示
す第1、第2の2値画像NGA、NGBに対して、つな
ぎ位置KLを常に同じ位置に設定して処理すると、図2
0に示すように、つなぎ合わせ後の2値画像(ΔGN)
に生じる画像のズレはさらに目立つことになる。なお、
図19、図20では、第1、第2の2値画像NGA、N
GBの重複部分WAの一部の画像ΔGA、ΔGBを合成
した場合を示している。また、図18ないし図20の斜
線部分は2値画像の黒の部分(濃度データが「1」の部
分)であり、白紙部分は2値画像の白の部分(濃度デー
タが「0」の部分)である。
However, for example, when the first and second binary images NGA and NGB shown in FIG. 18 have large deviations in the overlapped image WA of the first and second binary images NGA and NGB. For example, when the images are joined by the random joining process, there is an inconvenience that, as shown in FIG. 19, the image shift occurring in the binary image (ΔGN) after the joining is rather conspicuous. Further, if the joint position KL is always set to the same position for the first and second binary images NGA and NGB shown in FIG.
As shown in 0, the binary image (ΔGN) after stitching
The image shift that occurs in 1) will be more noticeable. In addition,
In FIGS. 19 and 20, the first and second binary images NGA, N
It shows a case where a part of the images ΔGA and ΔGB of the overlapping portion WA of GB are combined. In addition, the shaded portions in FIGS. 18 to 20 are black portions of the binary image (the portions where the density data is “1”), and the blank portions are the white portions of the binary image (the portions where the density data is “0”). ).

【0012】本発明は、このような事情に鑑みてなされ
たものであって、第1、第2の2値画像の重複部分に画
像のズレがあっても精度良い画像のつなぎ合わせが行え
る画像つなぎ処理方法及びその装置並びにプログラムを
記憶した記憶媒体を提供することを目的とする。
The present invention has been made in view of such circumstances, and an image can be accurately joined even if there is an image shift in the overlapping portion of the first and second binary images. An object of the present invention is to provide a connection processing method, its apparatus, and a storage medium storing a program.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するため
に、本発明者らは、第1、第2の2値画像NGA、NG
Bの重複部分WAの画像のズレが大きい場合にも精度良
い画像のつなぎ合わせが行えるなじませつなぎ処理を開
発した。
In order to achieve the above object, the inventors of the present invention have made the first and second binary images NGA, NG.
We have developed a blending joint process that can join images with high accuracy even if the images in the overlapping portion WA of B are greatly misaligned.

【0014】このなじませつなぎ処理は、特許請求の範
囲に記載のように、第1〜第4の工程からなる。
This familiarizing and connecting process comprises first to fourth steps as described in the claims.

【0015】このなじませつなぎ処理を図1の機能ブロ
ック図及び図2、図3の処理概念図を参照して説明す
る。
This familiarizing process will be described with reference to the functional block diagram of FIG. 1 and the process conceptual diagrams of FIG. 2 and FIG.

【0016】まず、合成手段13aは、第1、第2の2
値画像NGA、NGBの重複部分WAの少なくとも一部
を含む合成領域SA(X方向の幅SWの画素範囲)に属
する第1の2値画像NGAのつなぎ方向(図ではX方
向)の画素列GLAi(i=1、2、…、YMAX )内の
各画素G(jA,i)(jA=XA、(XA+1)、
…、(XA+(SW−1))、但し、XAは合成領域S
Aによって決まる)の濃度データ(「0」、「1」の2
値の濃度データ)に対して、第2の2値画像NGB側の
画素の荷重が小さくなる第1の混合比MRAを各画素G
(jA,i)ごとに掛け合わせて作用させた結果RTA
iと、第1の2値画像NGAのつなぎ方向の画素列GL
Aiに対応する第2の2値画像NGBのつなぎ方向の画
素列GLBi内の合成領域SAに属する各画素G(j
B,i)(jB=XB、(XB+1)、…、(XB+
(SW−1))、但し、XBは合成領域SAによって決
まる)の濃度データ(「0」、「1」の2値の濃度デー
タ)に対して、第1の2値画像NGA側の画素の荷重が
小さくなる第2の混合比MRBを各画素G(jB,i)
ごとに掛け合わせて作用させた結果RTBiとを対応す
る画素G(jA,i)、G(jB,i)ごとに加算して
合成する処理を、つなぎ方向の各画素列GLAi、GL
Biごとに行って第1の工程を行う。
First, the synthesizing means 13a is composed of the first and second two.
A pixel row GLAi in the connecting direction (X direction in the figure) of the first binary image NGA belonging to the combined area SA (pixel range of width SW in X direction) including at least a part of the overlapping portion WA of the value images NGA and NGB. Each pixel G (jA, i) (jA = XA, (XA + 1), in (i = 1, 2, ..., Y MAX )
, (XA + (SW-1)), where XA is the composite area S
Density data (determined by A) (2 of "0" and "1")
Value density data), the first mixture ratio MRA in which the weight of the pixel on the second binary image NGB side becomes smaller is set to each pixel G.
The result RTA obtained by multiplying by (jA, i)
i and the pixel row GL in the joining direction of the first binary image NGA
Each pixel G (j belonging to the combining area SA in the pixel row GLBi in the connecting direction of the second binary image NGB corresponding to Ai
B, i) (jB = XB, (XB + 1), ..., (XB +
(SW-1)), where XB is determined by the composite area SA), but with respect to the density data (binary density data of “0” and “1”) of the pixel on the first binary image NGA side. The second mixture ratio MRB, which reduces the load, is set to each pixel G (jB, i).
For each pixel G (jA, i) and G (jB, i) corresponding to the result RTBi obtained by multiplying each pixel, and synthesizing and combining the respective pixels GLAi, GL in the connecting direction.
The first step is performed for each Bi.

【0017】この第1の工程により、合成後の合成領域
SAに属するつなぎ方向の各画素列GLM1i内の各画
素G1(k,i)(k=1、2、…、SW)の濃度デー
タを多値化することができる。
By this first step, the density data of each pixel G1 (k, i) (k = 1, 2, ..., SW) in each pixel row GLM1i in the connecting direction belonging to the combined area SA after combining is obtained. It can be multi-valued.

【0018】なお、合成領域SAは、重複部分WAの少
なくとも一部を含む領域であればよく、重複部分WAの
一部を合成領域SAとしてもよいし、重複部分WA全体
を合成領域SAとしてもよい。
The composite area SA may be an area including at least a part of the overlapping part WA, and a part of the overlapping part WA may be the combining area SA, or the entire overlapping part WA may be the combining area SA. Good.

【0019】また、第1、第2の混合比MRA、MRB
は、図4(a)、(b)に示すように、混合比を徐々に
変化させてもよいし、図4(c)、(d)に示すよう
に、ある程度段階的に混合比を変化させてもよい。ただ
し、第1、第2の混合比MRA、MRBは、対応する画
素の合計が「1.0」になるように設定しておく。
Further, the first and second mixing ratios MRA, MRB
May gradually change the mixing ratio as shown in FIGS. 4 (a) and 4 (b), or may change the mixing ratio stepwise to some extent as shown in FIGS. 4 (c) and 4 (d). You may let me. However, the first and second mixture ratios MRA and MRB are set so that the total of the corresponding pixels becomes “1.0”.

【0020】図1、図2に戻って、次に、平滑化処理手
段13bは、合成手段13a(第1の工程)で合成した
合成領域SAに属するつなぎ方向の各画素列GLM1i
内の各画素G1(k,i)の濃度データに対して平滑化
処理を行って第2の工程を行う。この平滑化処理は、例
えば、各画素列GLM1i内の各画素G1(k,i)を
順次注目画素として、各注目画素G1(k,i)の周辺
の数画素の荷重平均を行う周知のフィルタ処理で行う。
この第2の工程により、合成領域SAに属するつなぎ方
向の各画素列GLM2i内の各画素G2(k,i)の濃
度データは、周辺の画素の濃度データを反映して多値化
の階調を増やすことができる。
Returning to FIG. 1 and FIG. 2, next, the smoothing processing means 13b includes each pixel row GLM1i in the connecting direction belonging to the combination area SA combined by the combining means 13a (first step).
The second step is performed by performing the smoothing process on the density data of each pixel G1 (k, i) in the inside. This smoothing processing is, for example, a well-known filter that performs weighted averaging of several pixels around each target pixel G1 (k, i) with each pixel G1 (k, i) in each pixel column GLM1i as a target pixel in sequence. Do by processing.
By this second step, the density data of each pixel G2 (k, i) in each pixel row GLM2i in the connecting direction belonging to the synthesis area SA reflects the density data of the peripheral pixels and becomes a multilevel gradation. Can be increased.

【0021】なお、第2の工程の平滑化処理は、図5
(a)に示すように、注目画素G1(k,i)が含まれ
るつなぎ方向の画素列GLM1i内の画素だけを用い
て、注目画素G1(k,i)とその左右の画素との荷重
平均を行ってもよいし、図5(b)に示すように、注目
画素G1(k,i)が含まれるつなぎ方向の画素列GL
M1i内の画素と、その画素列GLM1iの前後の画素
列内の画素とを用いて、注目画素G1(k,i)とその
周囲の画素(処理領域FA内の画素)との荷重平均を行
ってもよい。さらに、注目画素G1(k,i)が含まれ
るつなぎ方向の画素列GLM1iの前後の画素列内の画
素を用いて、注目画素G1(k,i)とその上下の画素
(図5(b)のG1(k,i−1)、G1(k,i+
1))との荷重平均を行ってもよい。
The smoothing process in the second step is shown in FIG.
As shown in (a), the weighted average of the pixel of interest G1 (k, i) and the pixels on the left and right of the pixel of interest G1 (k, i) is used by using only the pixels in the pixel row GLM1i in the connecting direction. Alternatively, as shown in FIG. 5B, the pixel row GL in the connecting direction including the target pixel G1 (k, i).
Weighted averaging of the pixel of interest G1 (k, i) and its surrounding pixels (pixels in the processing area FA) is performed using the pixels in M1i and the pixels in the pixel columns before and after the pixel column GLM1i. May be. Further, using the pixels in the pixel rows before and after the pixel row GLM1i in the connecting direction including the pixel of interest G1 (k, i), the pixel of interest G1 (k, i) and the pixels above and below it (FIG. 5B). G1 (k, i-1), G1 (k, i +)
Weighted averaging with 1)) may be performed.

【0022】荷重は処理対象の全ての画素に対して同じ
荷重を設定してもよいし、注目画素の荷重を最も大き
く、注目画素から離れるに従って荷重を小さく設定して
もよい。
As the weight, the same weight may be set for all the pixels to be processed, or the weight of the target pixel may be set to be the largest and the weight may be set to be smaller as the distance from the target pixel increases.

【0023】また、図5(a)では、m=3としている
が、m=5、7、…であってもよい。図5(b)も、m
×n=3×3としているが、m×n=5×5、7×7、
…であってもよい。注目画素G1(k,i)とその上下
の画素との荷重平均を行う場合も、n=3に限らず、n
=5、7、…であってもよい。
Further, in FIG. 5A, m = 3, but m = 5, 7, ... May be used. Also in FIG. 5B, m
Xn = 3 × 3, but m × n = 5 × 5, 7 × 7,
May be ... Even when the weighted average of the pixel of interest G1 (k, i) and the pixels above and below it is performed, n is not limited to 3 and n
= 5, 7, ...

【0024】また、図5(a)において、G1(1,
i)を注目画素とする場合、その注目画素G1(1,
i)とその右側の数画素を用いて荷重平均を行ってもよ
いし、その注目画素G1(1,i)の左側の画素を第1
の2値画像NGAから補充して荷重平均を行ってもよ
い。図5(a)において、G1(SW,i)を注目画素
とする場合も同様に、その注目画素G1(SW,i)と
その左側の数画素を用いて荷重平均を行ってもよいし、
その注目画素G1(SW,i)の右側の画素を第2の2
値画像NGBから補充して荷重平均を行ってもよい。図
5(b)において、合成領域SA内の周縁部分の画素を
注目画素とする場合も同様に、荷重平均する処理領域の
一部の画素を用いて荷重平均を行ったり、注目画素の左
右の画素については、第1、第2の2値画像NGA、N
GBから必要な画素を補充して荷重平均を行ったりすれ
ばよく、注目画素G1(k,i)とその上下の画素との
荷重平均を行う場合において、G1(k,1)やG1
(k,YMAX )を注目画素とするときにも荷重平均する
処理領域の一部の画素を用いて荷重平均を行えばよい。
Further, in FIG. 5A, G1 (1,
When i) is the target pixel, the target pixel G1 (1,
i) and several pixels on the right side thereof may be used to perform weighted averaging, and the pixel on the left side of the target pixel G1 (1, i) may be the first pixel.
Weighted averaging may be performed by supplementing from the binary image NGA. In FIG. 5A, when G1 (SW, i) is the target pixel, similarly, the weighted average may be performed using the target pixel G1 (SW, i) and several pixels on the left side thereof,
The pixel on the right side of the target pixel G1 (SW, i) is set to the second pixel
Weighted averaging may be performed by supplementing from the value image NGB. In FIG. 5B, also when the peripheral pixel in the synthesis area SA is set as the target pixel, similarly, weight averaging is performed using a part of the pixels in the processing area for weight averaging, or right and left of the target pixel. Regarding the pixels, the first and second binary images NGA, N
It suffices to replenish necessary pixels from GB and perform weighted averaging. When performing weighted averaging of the pixel of interest G1 (k, i) and the pixels above and below it, G1 (k, 1) and G1
Even when (k, Y MAX ) is the target pixel, the weighted average may be performed using some pixels in the processing area for weighted average.

【0025】図1、図2に戻って、次に、しきい値処理
手段13cは、平滑化処理手段13b(第2の工程)で
平滑化処理を行った合成領域SAに属するつなぎ方向の
各画素列GLM2i内の各画素G2(k,i)の濃度デ
ータに対してしきい値処理(f{G2(k,i),S
L})を行って2値化し、第3の工程を行う。このしき
い値処理(f{G2(k,i),SL})は、所定のし
きい値SLを境界として、G2(k,i)(の濃度デー
タ)>SLのときG3(k,i)(の濃度データ)を
「1」とし、G2(k,i)(の濃度データ)≦SLの
ときG3(k,i)(の濃度データ)を「0」として、
多値化した合成領域SAに属するつなぎ方向の各画素列
GL2i内の各画素G2(k,i)の濃度データを
「0」、「1」の2値に変換する処理である。この第3
の工程により、合成領域SAに属するつなぎ方向の各画
素列GL2i内の各画素G2(k,i)の多値化した濃
度データが2値(「0」、「1」)に戻された、合成領
域SAに属するつなぎ方向の各画素列GL3iが得られ
る。
Returning to FIG. 1 and FIG. 2, next, the threshold value processing means 13c belongs to the joint area SA which has been subjected to the smoothing processing by the smoothing processing means 13b (second step), in the joint direction. Threshold processing (f {G2 (k, i), S) is performed on the density data of each pixel G2 (k, i) in the pixel column GLM2i.
L}) is performed to perform binarization, and the third step is performed. This threshold processing (f {G2 (k, i), SL}) is performed with G3 (k, i) (concentration data)> SL when G2 (k, i) (concentration data)> SL with a predetermined threshold SL as a boundary. ) (Concentration data of) is “1”, and when G2 (k, i) (concentration data of) ≦ SL, G3 (k, i) (concentration data) is set to “0”,
This is a process of converting the density data of each pixel G2 (k, i) in each pixel row GL2i in the joining direction belonging to the multivalued synthesis area SA into a binary value of “0” and “1”. This third
By the process of, the multi-valued density data of each pixel G2 (k, i) in each pixel row GL2i in the connecting direction belonging to the composite area SA is returned to binary (“0”, “1”), Each pixel row GL3i in the connecting direction that belongs to the synthesis area SA is obtained.

【0026】そして、画像つなぎ合わせ手段13dは、
しきい値処理手段13c(第3の工程)で2値化した結
果RTXを含めて第1の2値画像NGAと第2の2値画
像NGBとをつなぎ合わせて、つなぎ合わせ後の画像N
Gを得る。
Then, the image joining means 13d is
The first binary image NGA and the second binary image NGB including the result RTX binarized by the threshold value processing means 13c (third step) are joined together, and the image N after joining is joined.
Get G.

【0027】なお、このなじませつなぎ処理は、例え
ば、以下のような手順で実現することが可能である。
The familiarizing and connecting process can be realized by the following procedure, for example.

【0028】(1)つなぎ方向の全ての画素列に対して
第1の工程を行った後、以下、合成領域SA全体に対し
て第2〜第4の工程を順次行う。
(1) After performing the first step for all pixel columns in the connecting direction, the second to fourth steps are sequentially performed for the entire synthesis area SA.

【0029】(2)第2の工程の平滑化処理を図5
(a)に示すように、注目画素が含まれるつなぎ方向の
画素列内の画素だけを用いて処理する場合には、第1〜
第4の工程をつなぎ方向の各画素列i=1〜YMAX ごと
に順次繰り返して行う。
(2) The smoothing process of the second step is shown in FIG.
As shown in (a), when processing is performed using only the pixels in the pixel row in the connecting direction that includes the target pixel,
The fourth step is sequentially repeated for each pixel column i = 1 to Y MAX in the connecting direction.

【0030】(3)第2の工程の平滑化処理を図5
(a)に示すように、注目画素が含まれるつなぎ方向の
画素列内の画素だけを用いて処理する場合には、第1〜
第3の工程をつなぎ方向の各画素列i=1〜YMAX ごと
に順次繰り返して行い、その処理結果RTXを用いて第
4の工程を行う。
(3) The smoothing process of the second step is shown in FIG.
As shown in (a), when processing is performed using only the pixels in the pixel row in the connecting direction that includes the target pixel,
The third step is sequentially repeated for each pixel column i = 1 to Y MAX in the connecting direction, and the fourth step is performed using the processing result RTX.

【0031】例えば、図18に示す第1、第2の2値画
像NGA、NGB(ΔGA、ΔGB)を、なじませつな
ぎ処理でつなぎ合わせると以下のようになる。
For example, when the first and second binary images NGA and NGB (ΔGA, ΔGB) shown in FIG. 18 are joined by the fitting and joining process, the result is as follows.

【0032】ここでは、説明を簡単にするために、つな
ぎ方向の1画素列ごとに処理する場合を説明する。
Here, in order to simplify the description, a case will be described in which processing is performed for each pixel column in the connecting direction.

【0033】図6は、図18に示す第1、第2の2値画
像NGA、NGBから対応する1画素列GLAi、GL
Biに対して第1の工程を行った結果を示す。
FIG. 6 shows corresponding one pixel columns GLAi, GL from the first and second binary images NGA, NGB shown in FIG.
The result of performing the first step on Bi is shown.

【0034】図7は、図6に示す第1の工程の結果に対
する第2〜第4の工程を順次行った結果を示す。なお、
ここでは、第2の工程の平滑化処理は、注目画素が含ま
れるつなぎ方向の画素列内の画素だけを用いて、注目画
素と注目画素の左右の各1画素の合計3画素を、注目画
素の左側の画素の荷重:注目画素の荷重:注目画素の右
側の画素の荷重=1:1:1として荷重平均している。
また、第3の工程のしきい値処理では、しきい値SLを
「0.5」として処理している。
FIG. 7 shows the result of sequentially performing the second to fourth steps with respect to the result of the first step shown in FIG. In addition,
Here, in the smoothing process of the second step, using only the pixels in the pixel row in the connecting direction that includes the target pixel, a total of 3 pixels, that is, the target pixel and each of the left and right 1 pixels of the target pixel, The weight of the pixel on the left side of: the weight of the pixel of interest: the weight of the pixel on the right side of the pixel of interest = 1: 1: 1 is averaged.
Further, in the threshold value processing of the third step, the threshold value SL is set to "0.5".

【0035】図18に示す第1、第2の2値画像NG
A、NGBの一部画像ΔGA、ΔGBでは、つなぎ方向
の全ての画素列GLAi、GLBiは同じであるので、
処理結果も全て同じになる。従って、図18に示すΔG
A、ΔGBを、なじませつなぎ処理でつなぎ合わせると
図8に示すΔGNとなる。
The first and second binary images NG shown in FIG.
In the partial images ΔGA and ΔGB of A and NGB, all pixel columns GLAi and GLBi in the connecting direction are the same,
The processing results are all the same. Therefore, ΔG shown in FIG.
When A and ΔGB are joined together by the fitting process, ΔGN shown in FIG. 8 is obtained.

【0036】上記処理結果からも明らかなように、上記
なじませつなぎ処理によれば、第1の工程で、第1、第
2の2値画像の各々対応するつなぎ方向の各画素列に第
1、第2の混合比をそれぞれ作用させた結果を加算して
合成し、2値画像を多値化した後、第2の工程で、平滑
化処理を行って周辺の画素の濃度データを反映して多値
化の階調を増やし、その後、第3の工程で、しきい値処
理を行って2値画像に戻し、第4の工程で、この2値化
した結果を含めて第1の2値画像と第2の2値画像とを
つなぎ合わせるように処理するので、第1、第2の2値
画像に画像のズレがあっても、つなぎ合わせ後の画像
に、画像のズレが目立たない、滑らかな画像のつなぎ合
わせを行うことができ、精度良い画像のつなぎ合わせを
実現することができる。
As is clear from the above-mentioned processing result, according to the blending and joining processing, in the first step, the first and second binary images are first assigned to each pixel row in the corresponding joining direction. , The results of applying the second mixture ratios are added and combined, and the binary image is multivalued, and then smoothing processing is performed in the second step to reflect the density data of the peripheral pixels. To increase the gradation of multi-value conversion, then in the third step, threshold processing is performed to return to a binary image, and in the fourth step, the result of the binarization is included in the first image. Since the processing is performed so that the value image and the second binary image are joined together, even if the first and second binary images are misaligned, the images after joining are not noticeably misaligned. , It is possible to perform smooth image joining, and to achieve accurate image joining. .

【0037】また、図9(a)に示すように、合成領域
SAに属する第1の2値画像NGAのつなぎ方向の画素
列内の各画素のうち、第2の2値画像NGB側に近い画
素ほど、第1の2値画像NGAを取り込む入力装置2の
光学系(スキャナヘッド100a内の光学系)の歪みが
大きくなる。同様に、図9(b)に示すように、合成領
域SAに属する第2の2値画像NGBのつなぎ方向の画
素列内の各画素のうち、第1の2値画像NGA側に近い
画素ほど、第2の2値画像NGBを取り込む入力装置2
の光学系(スキャナヘッド100b内の光学系)の歪み
が大きくなる。
Further, as shown in FIG. 9A, among the pixels in the pixel row in the joining direction of the first binary image NGA belonging to the composite area SA, the pixel is closer to the second binary image NGB side. The more pixels, the greater the distortion of the optical system of the input device 2 (the optical system in the scanner head 100a) that captures the first binary image NGA. Similarly, as shown in FIG. 9B, among the pixels in the pixel row in the joining direction of the second binary image NGB belonging to the combination area SA, the pixel closer to the first binary image NGA side , An input device 2 for capturing the second binary image NGB
The distortion of the optical system (the optical system in the scanner head 100b) becomes large.

【0038】そこで、合成領域SAに属する第1の2値
画像NGAのつなぎ方向の画素列内の各画素の濃度デー
タに作用させる第1の混合比MRAを、第2の2値画像
NGB側の画素の荷重が小さくなるように設定し、合成
領域SAに属する第2の2値画像NGBのつなぎ方向の
画素列内の各画素の濃度データに作用させる第2の混合
比MRBを、第1の2値画像NGA側の画素の荷重が小
さくなるように設定して、合成することにより、入力装
置2の光学系の歪みを軽減して、合成領域SAに属する
第1の2値画像NGAのつなぎ方向の画素列内の各画素
の濃度データと、合成領域SAに属する第2の2値画像
NGBのつなぎ方向の画素列内の各画素の濃度データと
を合成することができ、画像のつなぎ合わせ精度を向上
させることができる。
Therefore, the first mixture ratio MRA to be applied to the density data of each pixel in the pixel row of the first binary image NGA belonging to the composite area SA in the connecting direction is set to the value on the side of the second binary image NGB. The second mixture ratio MRB, which is set so that the pixel weight is small, and which acts on the density data of each pixel in the pixel row of the second binary image NGB belonging to the combination area SA in the joining direction, is set to By setting the weight of the pixel on the binary image NGA side to be small and combining the two, the distortion of the optical system of the input device 2 is reduced, and the first binary image NGA belonging to the combination area SA is connected. The density data of each pixel in the pixel row in the horizontal direction and the density data of each pixel in the pixel row in the connecting direction of the second binary image NGB belonging to the combining area SA can be combined to combine the images. Can improve accuracy .

【0039】本発明者らは、図18に示す第1、第2の
2値画像NGA、NGB以外にも、各種の第1、第2の
2値画像NGA、NGBに対して、上記なじませつなぎ
処理でつなぎ合わせるシュミレーションを行ったとこ
ろ、おおよそ良好な結果が得られた。
In addition to the first and second binary images NGA and NGB shown in FIG. 18, the inventors of the present invention have made the first and second binary images NGA and NGB familiar with each other. When a simulation was carried out in which the pieces were joined together by the joining treatment, approximately good results were obtained.

【0040】しかしながら、第1、第2の2値画像NG
A、NGBの重複部分WAの画像が網点画像であって、
第1、第2の2値画像NGA、NGBの重複部分WAで
画像がズレていた場合に、つなぎ処理後の画像NGで網
点が消えてしまう現象が起きることが判明した。
However, the first and second binary images NG
The image of the overlapping portion WA of A and NGB is a halftone image,
It has been found that when the images are misaligned in the overlapping portion WA of the first and second binary images NGA and NGB, halftone dots disappear in the image NG after the joining process.

【0041】これは、上記第1の工程の合成処理や第2
の工程の平滑化処理によって網点部分にボケが生じ、そ
れを2値に戻すので、つなぎ合わせ後の画像NGの網点
が消えてしまうものと考えられる。
This is due to the synthesizing process of the first step and the second step.
It is considered that blurring occurs in the halftone dot portion due to the smoothing process in the step of (2) and the blurring is returned to the binary value, so that the halftone dot of the image NG after the joining disappears.

【0042】すなわち、第1、第2の2値画像NGA、
NGBの重複部分WAの画像が網点画像であって、第
1、第2の2値画像NGA、NGBの重複部分WAで画
像がズレている場合のように、第1、第2の2値画像N
GA、NGBの重複部分WAにおいて、第1の2値画像
NGA側の画素の濃度データと第2の2値画像NGB側
の画素の濃度データとが相違する画素の個数(ズレ画素
数)が比較的少ない場合には、上記なじませつなぎ処理
では良好な画像のつなぎ合わせが行えない場合があるこ
とが判明した。
That is, the first and second binary images NGA,
As in the case where the image of the overlapping portion WA of NGB is a halftone image and the image is displaced in the overlapping portion WA of the first and second binary images NGA and NGB, the first and second binary images Image N
In the overlapping portion WA of GA and NGB, the number of pixels (deviation pixel number) in which the density data of the pixel on the first binary image NGA side and the density data of the pixel on the second binary image NGB side differ are compared. It has been found that, when the number is too small, good image joining cannot be performed in some cases by the licking and joining process.

【0043】また、第1、第2の2値画像NGA、NG
Bの重複部分WAの画像の内容やズレ具合などは、必ず
しも第1、第2の2値画像NGA、NGB全体で同じで
あるとは限らない。すなわち、第1、第2の2値画像N
GA、NGBの一部については上記なじませつなぎ処理
で良好につなぎ合わせることができるが、他の部分で
は、上記なじませつなぎ処理でつなぎ合わせるとつなぎ
合わせ精度が低下することもあり、そのような場合も考
慮する必要がある。
Also, the first and second binary images NGA, NG
The contents of the image in the overlapping portion WA of B, the degree of deviation, and the like are not necessarily the same for the first and second binary images NGA and NGB as a whole. That is, the first and second binary images N
Some of GA and NGB can be satisfactorily joined together by the licking and joining process described above, but in other portions, the joining accuracy may be reduced when they are joined by the above licking and joining process. There is a case to consider.

【0044】以上の研究を基に、本発明者らは、各種の
第1、第2の2値画像を精度良くつなぎ合わせ得る以下
のような発明をなすに至った。
Based on the above research, the present inventors have made the following invention capable of accurately connecting various first and second binary images.

【0045】すなわち、請求項1に記載の発明は、重複
部分を有する隣り合う配置関係のデジタルの第1、第2
の2値画像に対して、第1、第2の2値画像の重複部分
を合成して、第1の2値画像と第2の2値画像とをつな
ぎ合わせる画像つなぎ処理方法であって、前記重複部分
の少なくとも一部を含む合成領域に属する第1の2値画
像のつなぎ方向の画素列内の各画素の濃度データに対し
て、第2の2値画像側の画素の荷重が小さくなる第1の
混合比を作用させた結果と、前記第1の2値画像のつな
ぎ方向の画素列に対応する第2の2値画像のつなぎ方向
の画素列内の前記合成領域に属する各画素の濃度データ
に対して、第1の2値画像側の画素の荷重が小さくなる
第2の混合比を作用させた結果とを対応する画素ごとに
加算して合成する処理を、つなぎ方向の各画素列ごとに
行う第1の工程と、前記第1の工程で合成した前記合成
領域に属するつなぎ方向の各画素列内の各画素の濃度デ
ータに対して平滑化処理を行う第2の工程と、前記第2
の工程で平滑化処理を行った前記合成領域に属するつな
ぎ方向の各画素列内の各画素の濃度データに対してしき
い値処理を行って2値化する第3の工程と、前記第3の
工程で2値化した結果を含めて第1の2値画像と第2の
2値画像とをつなぎ合わせる第4の工程とを備えた処理
をなじませつなぎ処理とし、前記重複部分に設定するつ
なぎ位置を、つなぎ方向の各画素列ごとにランダムに設
定して、そのつなぎ位置を境界として、第1の2値画像
と第2の2値画像とを単純合成する処理をランダムつな
ぎ処理として、第1の2値画像のつなぎ方向の少なくと
も1つの画素列内の前記重複部分に属する各画素の濃度
データと、その第1の2値画像のつなぎ方向の各画素列
に対応する第2の2値画像のつなぎ方向の少なくとも1
つの画素列内の前記重複部分に属する各画素の濃度デー
タとを比較して、第1の2値画像側の画素の濃度データ
と第2の2値画像側の画素の濃度データとが相違する画
素の個数(ズレ画素数)を調べ、そのズレ画素数が所定
の判定画素数を越えていれば、そのつなぎ方向の各画素
列に対しては前記なじませつなぎ処理で第1、第2の2
値画像をつなぎ合わせ、一方、そのズレ画素数が前記判
定画素数以下であれば、そのつなぎ方向の各画素列に対
しては前記ランダムつなぎ処理で第1、第2の2値画像
をつなぎ合わせる処理を、つなぎ方向の全ての画素列に
対して行って、第1、第2の2値画像全体のつなぎ合わ
せを行うことを特徴とするものである。
That is, according to the first aspect of the present invention, the first and second digital signals having an arrangement relationship adjacent to each other having an overlapping portion are provided.
An image stitching processing method for stitching the first binary image and the second binary image by synthesizing the overlapping portions of the first and second binary images with respect to the binary image of The weight of the pixel on the side of the second binary image becomes smaller than the density data of each pixel in the pixel row in the joining direction of the first binary image belonging to the composite area including at least a part of the overlapping portion. The result of applying the first mixing ratio and the pixels belonging to the composite area in the pixel row in the joining direction of the second binary image corresponding to the pixel row in the joining direction of the first binary image A process of adding the density data and the result of applying the second mixture ratio, which reduces the weight of the pixel on the first binary image side, to each corresponding pixel to synthesize the density data, The first step performed for each column and the connection that belongs to the composite area synthesized in the first step A second step of performing smoothing processing on density data of each pixel in each pixel column direction, the second
The third step of performing thresholding on the density data of each pixel in each pixel row in the connecting direction belonging to the composite area, which has been subjected to the smoothing processing in step 3, and binarizing the density data; The process including the fourth step of joining the first binary image and the second binary image including the result of binarizing in the step of step 4 is set as the joining step and is set in the overlapping portion. A joint position is randomly set for each pixel column in the joint direction, and a process of simply combining the first binary image and the second binary image with the joint position as a boundary is a random joint process. Density data of each pixel belonging to the overlapping portion in at least one pixel row in the connecting direction of the first binary image, and second density data corresponding to each pixel row in the connecting direction of the first binary image. At least 1 in the connecting direction of the value images
By comparing the density data of each pixel belonging to the overlapping portion in one pixel row, the density data of the pixel on the first binary image side and the density data of the pixel on the second binary image side are different. The number of pixels (deviation pixel number) is checked, and if the deviation pixel number exceeds a predetermined determination pixel number, each pixel row in the joining direction is subjected to the first and second fitting processes. Two
The value images are stitched together. On the other hand, if the number of shifted pixels is not more than the judgment pixel number, the first and second binary images are stitched together by the random stitching process for each pixel row in the stitching direction. The processing is performed on all pixel columns in the joining direction to join the entire first and second binary images.

【0046】請求項2に記載の発明は、重複部分を有す
る隣り合う配置関係のデジタルの第1、第2の2値画像
に対して、第1、第2の2値画像の重複部分を合成し
て、第1の2値画像と第2の2値画像とをつなぎ合わせ
る画像つなぎ処理装置であって、前記重複部分の少なく
とも一部を含む合成領域に属する第1の2値画像のつな
ぎ方向の画素列内の各画素の濃度データに対して、第2
の2値画像側の画素の荷重が小さくなる第1の混合比を
作用させた結果と、前記第1の2値画像のつなぎ方向の
画素列に対応する第2の2値画像のつなぎ方向の画素列
内の前記合成領域に属する各画素の濃度データに対し
て、第1の2値画像側の画素の荷重が小さくなる第2の
混合比を作用させた結果とを対応する画素ごとに加算し
て合成する処理を、つなぎ方向の各画素列ごとに行う合
成手段と、前記合成手段で合成した前記合成領域に属す
るつなぎ方向の各画素列内の各画素の濃度データに対し
て平滑化処理を行う平滑化処理手段と、前記平滑化処理
手段で平滑化処理を行った前記合成領域に属するつなぎ
方向の各画素列内の各画素の濃度データに対してしきい
値処理を行って2値化するしきい値処理手段と、前記し
きい値処理手段で2値化した結果を含めて第1の2値画
像と第2の2値画像とをつなぎ合わせる画像つなぎ合わ
せ手段とを備えたなじませつなぎ処理手段と、前記重複
部分に設定するつなぎ位置を、つなぎ方向の各画素列ご
とにランダムに設定して、そのつなぎ位置を境界とし
て、第1の2値画像と第2の2値画像とを単純合成する
ランダムつなぎ処理手段と、第1の2値画像のつなぎ方
向の少なくとも1つの画素列内の前記重複部分に属する
各画素の濃度データと、その第1の2値画像のつなぎ方
向の各画素列に対応する第2の2値画像のつなぎ方向の
少なくとも1つの画素列内の前記重複部分に属する各画
素の濃度データとを比較して、第1の2値画像側の画素
の濃度データと第2の2値画像側の画素の濃度データと
が相違する画素の個数(ズレ画素数)を調べ、そのズレ
画素数が所定の判定画素数を越えていれば、そのつなぎ
方向の各画素列に対してはなじませつなぎ処理手段で第
1、第2の2値画像をつなぎ合わせ、一方、そのズレ画
素数が前記判定画素数以下であれば、そのつなぎ方向の
各画素列に対してはランダムつなぎ処理手段で第1、第
2の2値画像をつなぎ合わせる処理を、つなぎ方向の全
ての画素列に対して行って、第1、第2の2値画像全体
のつなぎ合わせを行う制御手段と、を備えたことを特徴
とするものである。
According to the second aspect of the present invention, the overlapping portions of the first and second binary images are combined with the digital first and second binary images having the adjacent arrangement relationship and having the overlapping portions. And an image stitching processing device that stitches the first binary image and the second binary image together, the stitching direction of the first binary image belonging to the synthesis area including at least a part of the overlapping portion. Second density data for each pixel in the pixel row of
And the result of applying the first mixing ratio in which the pixel load on the binary image side becomes smaller, and the second mixing direction of the second binary image corresponding to the pixel row of the first binary image in the connecting direction. The result of applying a second mixture ratio, which reduces the weight of the pixel on the first binary image side, is added to the density data of each pixel belonging to the composite area in the pixel row, for each corresponding pixel. And a smoothing process for the density data of each pixel in each pixel row in the joining direction belonging to the above-mentioned synthesis area that is synthesized by the synthesizing means. And a threshold value process is performed on the density data of each pixel in each pixel row in the joint direction belonging to the composite area that has been subjected to the smoothing process by the smoothing process unit. And a threshold processing means for converting the threshold value to 2 The jointing processing means including an image joining means for joining the first binary image and the second binary image including the digitized result, and the joining position set in the overlapping portion, in the joining direction. Of the first binary image and a random connection processing unit that simply sets the first binary image and the second binary image with the connection position as a boundary. Density data of each pixel belonging to the overlapping portion in at least one pixel row in the joining direction and at least a second binarizing image in the joining direction corresponding to each pixel row in the joining direction of the first binary image. The density data of the pixels on the first binary image side and the density data of the pixels on the second binary image side are different by comparing the density data of the pixels belonging to the overlapping portion in one pixel row. The number of pixels (shift pixel number) If the number of shifted pixels exceeds the predetermined number of determination pixels, the first and second binary images are joined by the joining processing means that blends each pixel row in the joining direction. If the number of shifted pixels is less than or equal to the determination pixel number, the process of joining the first and second binary images by the random joining processing means is performed for all the pixel rows in the joining direction in all the joining directions. And a control unit for connecting the first and second binary images as a whole to the pixel column.

【0047】請求項3に記載の発明は、重複部分を有す
る隣り合う配置関係のデジタルの第1、第2の2値画像
に対して、第1、第2の2値画像の重複部分を合成し
て、第1の2値画像と第2の2値画像とをつなぎ合わせ
る画像つなぎ処理をコンピューターに実行させるための
プログラムを記録した記憶媒体であって、前記重複部分
の少なくとも一部を含む合成領域に属する第1の2値画
像のつなぎ方向の画素列内の各画素の濃度データに対し
て、第2の2値画像側の画素の荷重が小さくなる第1の
混合比を作用させた結果と、前記第1の2値画像のつな
ぎ方向の画素列に対応する第2の2値画像のつなぎ方向
の画素列内の前記合成領域に属する各画素の濃度データ
に対して、第1の2値画像側の画素の荷重が小さくなる
第2の混合比を作用させた結果とを対応する画素ごとに
加算して合成する処理を、つなぎ方向の各画素列ごとに
行う第1の工程と、前記第1の工程で合成した前記合成
領域に属するつなぎ方向の各画素列内の各画素の濃度デ
ータに対して平滑化処理を行う第2の工程と、前記第2
の工程で平滑化処理を行った前記合成領域に属するつな
ぎ方向の各画素列内の各画素の濃度データに対してしき
い値処理を行って2値化する第3の工程と、前記第3の
工程で2値化した結果を含めて第1の2値画像と第2の
2値画像とをつなぎ合わせる第4の工程とを備えた処理
をなじませつなぎ処理とし、前記重複部分に設定するつ
なぎ位置を、つなぎ方向の各画素列ごとにランダムに設
定して、そのつなぎ位置を境界として、第1の2値画像
と第2の2値画像とを単純合成する処理をランダムつな
ぎ処理として、第1の2値画像のつなぎ方向の少なくと
も1つの画素列内の前記重複部分に属する各画素の濃度
データと、その第1の2値画像のつなぎ方向の各画素列
に対応する第2の2値画像のつなぎ方向の少なくとも1
つの画素列内の前記重複部分に属する各画素の濃度デー
タとを比較して、第1の2値画像側の画素の濃度データ
と第2の2値画像側の画素の濃度データとが相違する画
素の個数(ズレ画素数)を調べ、そのズレ画素数が所定
の判定画素数を越えていれば、そのつなぎ方向の各画素
列に対しては前記なじませつなぎ処理で第1、第2の2
値画像をつなぎ合わせ、一方、そのズレ画素数が前記判
定画素数以下であれば、そのつなぎ方向の各画素列に対
しては前記ランダムつなぎ処理で第1、第2の2値画像
をつなぎ合わせる処理を、つなぎ方向の全ての画素列に
対して行って、第1、第2の2値画像全体のつなぎ合わ
せを行う画像つなぎ処理をコンピューターに実行させる
ためのプログラムを記憶媒体に記録したものである。
According to a third aspect of the present invention, the overlapping portions of the first and second binary images are combined with the digital first and second binary images having the adjacent arrangement relationship and having the overlapping portions. A storage medium storing a program for causing a computer to execute an image stitching process that stitches the first binary image and the second binary image, and the storage medium includes at least a part of the overlapping portion. As a result of applying a first mixture ratio that reduces the weight of the pixel on the second binary image side to the density data of each pixel in the pixel row in the connecting direction of the first binary image belonging to the region And for the density data of each pixel belonging to the composite area in the pixel row in the joining direction of the second binary image corresponding to the pixel row in the joining direction of the first binary image, the first 2 Operates the second mixture ratio that reduces the pixel weight on the value image side A first step of performing a process of adding the combined result for each corresponding pixel and combining the pixels for each pixel column in the connecting direction, and a process of combining in the combining direction belonging to the combining area combined in the first step. A second step of performing a smoothing process on the density data of each pixel in the pixel array;
The third step of performing thresholding on the density data of each pixel in each pixel row in the connecting direction belonging to the composite area, which has been subjected to the smoothing processing in step 3, and binarizing the density data; The process including the fourth step of joining the first binary image and the second binary image including the result of binarizing in the step of step 4 is set as the joining step and is set in the overlapping portion. A joint position is randomly set for each pixel column in the joint direction, and a process of simply combining the first binary image and the second binary image with the joint position as a boundary is a random joint process. Density data of each pixel belonging to the overlapping portion in at least one pixel row in the connecting direction of the first binary image, and second density data corresponding to each pixel row in the connecting direction of the first binary image. At least 1 in the connecting direction of the value images
By comparing the density data of each pixel belonging to the overlapping portion in one pixel row, the density data of the pixel on the first binary image side and the density data of the pixel on the second binary image side are different. The number of pixels (deviation pixel number) is checked, and if the deviation pixel number exceeds a predetermined determination pixel number, each pixel row in the joining direction is subjected to the first and second fitting processes. Two
The value images are stitched together. On the other hand, if the number of shifted pixels is not more than the judgment pixel number, the first and second binary images are stitched together by the random stitching process for each pixel row in the stitching direction. A program that causes a computer to execute image stitching processing that performs stitching on all pixel rows in the stitching direction and stitches the entire first and second binary images is recorded in a storage medium. is there.

【0048】[0048]

【作用】請求項1に記載の発明に係る画像つなぎ処理方
法によれば、第1の2値画像のつなぎ方向の少なくとも
1つの画素列内の重複部分に属する各画素の濃度データ
と、その第1の2値画像のつなぎ方向の各画素列に対応
する第2の2値画像のつなぎ方向の少なくとも1つの画
素列内の重複部分に属する各画素の濃度データとを比較
して、第1の2値画像側の画素の濃度データと第2の2
値画像側の画素の濃度データとが相違する画素の個数
(ズレ画素数)を調べ、そのズレ画素数が所定の判定画
素数を越えていれば、そのつなぎ方向の各画素列に対し
てはなじませつなぎ処理で第1、第2の2値画像をつな
ぎ合わせ、一方、そのズレ画素数が上記判定画素数以下
であれば、そのつなぎ方向の各画素列に対してはランダ
ムつなぎ処理で第1、第2の2値画像をつなぎ合わせる
処理を、つなぎ方向の全ての画素列に対して行って、第
1、第2の2値画像全体のつなぎ合わせを行う。
According to the image stitching processing method of the first aspect of the present invention, the density data of each pixel belonging to the overlapping portion in at least one pixel row in the stitching direction of the first binary image and its density The density data of each pixel belonging to the overlapping portion in at least one pixel column in the joint direction of the second binary image corresponding to each pixel column in the joint direction of one binary image is compared with The density data of the pixel on the binary image side and the second 2
The number of pixels (deviation pixel number) different from the density data of the value image side pixel is checked, and if the deviation pixel number exceeds a predetermined determination pixel number, for each pixel row in the joining direction, The first and second binary images are stitched together in the stitching stitching process. On the other hand, if the number of misaligned pixels is less than or equal to the determination pixel number, random stitching process is performed for each pixel row in the stitching direction. The process of joining the first and second binary images is performed on all the pixel columns in the joining direction to join the entire first and second binary images.

【0049】すなわち、第1、第2の2値画像の重複部
分の画像のズレが大きい場合のように、ズレ画素数が比
較的多い場合には、そのつなぎ方向の各画素列に対して
はなじませつなぎ処理で第1、第2の2値画像をつなぎ
合わせることで、先にも説明したように、精度良い画像
のつなぎ合わせ結果が得られる。
That is, when the number of displaced pixels is relatively large, such as when the images in the overlapped portions of the first and second binary images have a large amount of displacement, for each pixel row in the joining direction. By joining the first and second binary images by the blending and joining process, the result of joining the images with high accuracy can be obtained as described above.

【0050】また、ランダムつなぎ処理は、重複部分に
設定するつなぎ位置を、つなぎ方向の各画素列ごとにラ
ンダムに設定して、そのつなぎ位置を境界として、第1
の2値画像と第2の2値画像とを単純合成する処理であ
るので、例えば、第1、第2の2値画像の重複部分の画
像が網点画像の場合にも、網点部分の画素の濃度データ
を、なじませつなぎ処理の合成処理や平滑化処理で多値
化するような処理を含まず、網点部分がボケて消えるよ
うな不都合が起きない。
In the random joining process, the joining position set in the overlapping portion is randomly set for each pixel column in the joining direction, and the first joining position is defined as the boundary.
Since this is a process of simply synthesizing the binary image and the second binary image, for example, even when the image of the overlapping portion of the first and second binary images is the halftone image, Since the density data of pixels does not include multi-value processing such as blending processing of smoothing and joining processing or smoothing processing, there is no inconvenience that a halftone dot portion is blurred and disappears.

【0051】従って、第1、第2の2値画像の重複部分
が網点画像であり、その網点部分が第1、第2の2値画
像でズレている場合のように、ズレ画素数が比較的少な
い場合には、そのつなぎ方向の各画素列に対してはラン
ダムつなぎ処理で第1、第2の2値画像をつなぎ合わせ
ることで、比較的良好な画像のつなぎ合わせ結果が得ら
れる。
Therefore, as in the case where the overlapping portion of the first and second binary images is a halftone dot image and the halftone dot portion is deviated between the first and second binary images, the number of misaligned pixels is increased. When the number of pixels is relatively small, a relatively good image joining result is obtained by joining the first and second binary images by random joining processing for each pixel row in the joining direction. .

【0052】請求項2に記載の発明に係る画像つなぎ処
理装置は、請求項1に記載の画像つなぎ処理方法を好適
に実施する装置であり、その作用は次のとおりである。
An image stitching processing apparatus according to a second aspect of the present invention is an apparatus that suitably implements the image stitching processing method of the first aspect, and its operation is as follows.

【0053】すなわち、制御手段は、第1の2値画像の
つなぎ方向の少なくとも1つの画素列内の重複部分に属
する各画素の濃度データと、その第1の2値画像のつな
ぎ方向の各画素列に対応する第2の2値画像のつなぎ方
向の少なくとも1つの画素列内の重複部分に属する各画
素の濃度データとを比較して、第1の2値画像側の画素
の濃度データと第2の2値画像側の画素の濃度データと
が相違する画素の個数(ズレ画素数)を調べ、そのズレ
画素数が所定の判定画素数を越えていれば、そのつなぎ
方向の各画素列に対してはなじませつなぎ処理手段で第
1、第2の2値画像をつなぎ合わせ、一方、そのズレ画
素数が前記判定画素数以下であれば、そのつなぎ方向の
各画素列に対してはランダムつなぎ処理手段で第1、第
2の2値画像をつなぎ合わせる処理を、つなぎ方向の全
ての画素列に対して行って、第1、第2の2値画像全体
のつなぎ合わせを行う。
That is, the control means controls the density data of each pixel belonging to the overlapping portion in at least one pixel row in the connecting direction of the first binary image and each pixel in the connecting direction of the first binary image. The density data of the pixels on the first binary image side are compared with the density data of each pixel belonging to the overlapping portion in at least one pixel row in the joining direction of the second binary image corresponding to the row. The number of pixels (deviation pixel number) different from the density data of the pixel on the binary image side of 2 is checked, and if the deviation pixel number exceeds a predetermined determination pixel number, it is determined in each pixel row in the joining direction. On the other hand, the first and second binary images are stitched together by the stitching stitching processing means. On the other hand, if the shift pixel number is equal to or smaller than the determination pixel number, random for each pixel row in the stitching direction. Connects the first and second binary images with the joint processing means. The technique combining process, performed for all the pixel rows of the connecting direction, a first, joining the entire second binary image.

【0054】なお、なじませつなぎ処理手段を構成する
合成手段は請求項1に記載の発明のなじませつなぎ処理
の第1の工程を行い、平滑化処理手段は請求項1に記載
の発明のなじませつなぎ処理の第2の工程を行い、しき
い値処理手段は請求項1に記載の発明のなじませつなぎ
処理の第3の工程を行い、画像つなぎ合わせ手段は請求
項1に記載の発明のなじませつなぎ処理の第4の工程を
行って、請求項1に記載の発明のなじませつなぎ処理を
実現する。
Incidentally, the synthesizing means constituting the smoothing joint processing means performs the first step of the smoothing joint processing of the invention described in claim 1, and the smoothing processing means performs the smoothing treatment of the invention described in claim 1. The second step of the joint processing is performed, the threshold processing means performs the third step of the familiarization joint processing of the invention described in claim 1, and the image joint means is performed of the invention described in claim 1. The fourth step of the familiarizing and connecting processing is performed to realize the familiarizing and connecting processing of the invention according to claim 1.

【0055】また、ランダムつなぎ処理手段は請求項1
に記載の発明のランダムつなぎ処理を実現する。
The random connection processing means is claimed in claim 1.
The random connection process of the invention described in 1. is realized.

【0056】請求項3に記載の発明によれば、記憶媒体
に記録されたプログラムをコンピューターに読み込ませ
ることにより、そのコンピューターが請求項1に記載の
方法発明に係る画像つなぎ処理を実行する。
According to the third aspect of the present invention, by causing the computer to read the program recorded in the storage medium, the computer executes the image connecting process according to the method invention of the first aspect.

【0057】[0057]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。図10は本発明の一実施例に係る
画像つなぎ処理装置の構成を示す機能ブロック図であ
る。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 10 is a functional block diagram showing the configuration of the image stitching processing apparatus according to the embodiment of the present invention.

【0058】図10に示す画像つなぎ処理装置1は、原
画像記憶装置11や判別部12、なじませつなぎ処理手
段13、ランダムつなぎ処理手段14、画像編集部1
5、処理後画像記憶装置16、設定指示装置17などを
備えている。また、なじませつなぎ処理手段13は、図
1と同様の合成手段13a、平滑化処理手段13b、し
きい値処理手段13c、画像つなぎ合わせ手段13dを
備えている。
The image splicing processing apparatus 1 shown in FIG. 10 includes an original image storage device 11, a discrimination unit 12, a blending splicing processing unit 13, a random splicing processing unit 14, and an image editing unit 1.
5, a post-processing image storage device 16, a setting instruction device 17, and the like. Further, the blending and joining processing means 13 includes a synthesizing means 13a, a smoothing processing means 13b, a threshold value processing means 13c, and an image joining means 13d similar to those in FIG.

【0059】原画像記憶装置11には、適宜のスキャナ
などの入力装置2から与えられた、例えば、原稿OGを
分割して読み込んだ重複部分WAを有する隣り合う配置
関係のデジタルの第1、第2の2値画像NGA、NGB
が、1または複数組記憶されている。この原画像記憶装
置11に記憶されている、つなぎ合わせ対象の第1、第
2の2値画像NGA、NGBに対して、判別部12が、
後述するようになじませつなぎ処理手段13で第1、第
2の2値画像NGA、NGBをつなぎ合わせるか、ラン
ダムつなぎ処理手段14で第1、第2の2値画像NG
A、NGBをつなぎ合わせるかを判別する。そして、な
じませつなぎ処理手段13でつなぎ合わされたつなぎ方
向の画素列部分とランダムつなぎ処理手段14でつなぎ
合わされたつなぎ方向の画素列部分とが画像編集部15
に与えられてつなぎ合わせ後の画像NGが編集され、処
理後画像記憶装置16に記憶される。
In the original image storage device 11, for example, digital first and first digital signals of an adjacent arrangement relationship, which are provided from an input device 2 such as an appropriate scanner and have an overlapping portion WA in which the original OG is divided and read. 2 binary images NGA, NGB
Is stored in one or a plurality of sets. For the first and second binary images NGA and NGB to be joined, which are stored in the original image storage device 11, the discrimination unit 12
As will be described later, the first and second binary images NGA and NGB are joined together by the blending joining processing means 13, or the first and second binary images NG are joined by the random joining processing means 14.
It is determined whether to connect A and NGB. Then, the pixel row portion in the joint direction joined by the joint processing means 13 and the pixel row portion in the joint direction joined by the random joint processing means 14 are edited by the image editing unit 15.
The image NG after being joined to the image is edited and stored in the processed image storage device 16.

【0060】なお、原画像記憶装置11につなぎ合わせ
対象の第1、第2の2値画像NGA、NGBが複数組記
憶されている場合には、設定指示装置17から指示され
た第1、第2の2値画像NGA、NGBに対してつなぎ
合わせ処理を行う。
When the original image storage device 11 stores a plurality of sets of the first and second binary images NGA and NGB to be connected, the first and first binary images instructed by the setting instruction device 17. The two binary images NGA and NGB are joined together.

【0061】また、1組の第1、第2の2値画像NG
A、NGBに対して、第1の2値画像NGAのつなぎ方
向の全ての画素列内の重複部分WAに属する各画素の濃
度データと、第2の2値画像NGBのつなぎ方向の全て
の画素列内の重複部分WAに属する各画素の濃度データ
とをまとめて比較して、ズレ画素数が判定画素数を越え
ていれば、その第1、第2の2値画像NGA、NGB全
体をなじませつなぎ処理手段13でつなぎ合わせ、ズレ
画素数が判定画素数以下であれば、その第1、第2の2
値画像NGA、NGB全体をランダムつなぎ処理手段1
4でつなぎ合わせるような場合には、なじませつなぎ処
理手段13、または、ランダムつなぎ処理手段14にお
いてつなぎ合わせ後の画像NGが編集されるので、その
場合には、画像編集部15は、なじませつなぎ処理手段
13とランダムつなぎ処理手段14とがそれぞれ兼用す
ることになる。
Also, a set of first and second binary images NG
For A and NGB, the density data of each pixel belonging to the overlapping portion WA in all the pixel rows in the connecting direction of the first binary image NGA and all the pixels in the connecting direction of the second binary image NGB. The density data of each pixel belonging to the overlapping portion WA in the column is collectively compared, and if the number of misaligned pixels exceeds the number of determination pixels, the entire first and second binary images NGA and NGB are equalized. If the number of misaligned pixels is equal to or smaller than the number of determination pixels, the first and second two are connected.
Random connection processing means 1 for the entire value images NGA and NGB
In the case of stitching at 4, the stitching processing means 13 or the random stitching processing means 14 edits the image NG after stitching. In that case, the image editing unit 15 smooths the stitches. The joint processing means 13 and the random joint processing means 14 are used in common.

【0062】なお、判別部12と画像編集部15とが請
求項2に記載の発明における制御手段を構成する。
The discriminating unit 12 and the image editing unit 15 constitute the control means in the invention described in claim 2.

【0063】図11は図10に示す画像つなぎ処理装置
の具体的なハードウエア構成を示すブロック図である。
FIG. 11 is a block diagram showing a concrete hardware configuration of the image stitching processing apparatus shown in FIG.

【0064】図11の構成では、各種のプログラムを実
行するCPU21や、各種のデータを記憶するメモリ2
2、ハードディスクなどの保存記憶装置23、フロッピ
ーディスクやCD−ROMなどの記憶媒体24に対して
デジタルデータの読み書きなどを行うドライバ25、操
作者が各種の設定指示を与えるキーボードやマウスなど
の設定指示装置17などが備えられ、必要に応じて、通
信媒体26を介してデータの送受信を行うモデムなどの
通信機器27や表示装置28なども備えられる。なお、
図2中の符号29はバスを示し、30は入出力インター
フェイスを示す。
In the configuration of FIG. 11, the CPU 21 for executing various programs and the memory 2 for storing various data.
2, a storage device 23 such as a hard disk, a driver 25 that reads and writes digital data from and to a storage medium 24 such as a floppy disk or a CD-ROM, and a setting instruction such as a keyboard or a mouse that gives various setting instructions to the operator. The device 17 and the like are provided, and if necessary, a communication device 27 such as a modem that transmits and receives data via the communication medium 26, a display device 28, and the like are also provided. In addition,
Reference numeral 29 in FIG. 2 indicates a bus, and 30 indicates an input / output interface.

【0065】画像つなぎ処理プログラムを記憶した記憶
媒体24からインストールされて保存記憶装置23に記
憶されている画像つなぎ処理プログラムがメモリ22に
読み出されたり、画像つなぎ処理プログラムを記憶した
記憶媒体24がドライバ25に装填されて、その記憶媒
体24から画像つなぎ処理プログラムがメモリ22に読
み出されたりして、CPU21がそのプログラムを実行
することで、判別部12、なじませつなぎ処理手段13
(合成手段13a、平滑化処理手段13b、しきい値処
理手段13c、画像つなぎ合わせ手段13d)、ランダ
ムつなぎ処理手段14、画像編集部15による画像つな
ぎ処理が実行される。
The image stitching processing program installed from the storage medium 24 storing the image stitching processing program and stored in the storage device 23 is read out to the memory 22, or the storage medium 24 storing the image stitching processing program is read. The image joining processing program is loaded into the driver 25 and the image joining processing program is read from the storage medium 24 into the memory 22, and the CPU 21 executes the program, whereby the determination unit 12 and the blending joining processing unit 13 are executed.
(Combining means 13a, smoothing processing means 13b, threshold value processing means 13c, image joining means 13d), random joining processing means 14, and image joining processing by the image editing section 15 are executed.

【0066】このCPU21は、請求項2に記載の発明
における、なじませつなぎ処理手段(合成手段、平滑化
処理手段、しきい値処理手段、画像つなぎ合わせ手
段)、ランダムつなぎ処理手段、制御手段を構成する。
The CPU 21 includes the familiar joint processing means (combining means, smoothing processing means, threshold processing means, image joining means), random joint processing means, and control means in the invention described in claim 2. Constitute.

【0067】また、画像つなぎ処理プログラムを記憶し
た記憶媒体24は、請求項3に記載の発明におけるプロ
グラムを記録した記憶媒体に相当する。
The storage medium 24 storing the image stitching processing program corresponds to the storage medium storing the program in the third aspect of the invention.

【0068】例えば、入力装置2が本装置1に直接接続
された状態で入力装置2から与えられたり、通信媒体2
6や通信機器27を介して入力装置2から与えられたり
した、つなぎ合わせ対象の第1、第2の2値画像NG
A、NGBは、保存記憶装置23や記憶媒体24に記憶
される。また、第1、第2の2値画像NGA、NGBが
入力装置2で記憶媒体24に記憶され、その記憶媒体2
4がドライバ25に装填されて第1、第2の2値画像N
GA、NGBが本装置1に与えられることもある。
For example, the input device 2 is provided from the input device 2 in a state where the input device 2 is directly connected to the present device 1, or the communication medium 2 is used.
6 or the input device 2 via the communication device 27, or the first and second binary images NG to be joined.
A and NGB are stored in the storage device 23 and the storage medium 24. Further, the first and second binary images NGA and NGB are stored in the storage medium 24 by the input device 2, and the storage medium 2 is stored.
4 is loaded into the driver 25 and the first and second binary images N
GA and NGB may be given to the device 1.

【0069】CPU21は、保存記憶装置23や記憶媒
体24に記憶されている(設定指示装置17から指示さ
れた)つなぎ合わせ対象の第1、第2の2値画像NG
A、NGBをメモリ22に読み出して、その第1、第2
の2値画像NGA、NGBを後述するようにつなぎ合わ
せて、つなぎ合わせ後の画像NGをメモリ22から保存
記憶装置23や記憶媒体24に記憶する。
The CPU 21 stores the first and second binary images NG to be connected (instructed by the setting instruction device 17) stored in the storage device 23 or the storage medium 24.
A and NGB are read into the memory 22, and the first and second
The binary images NGA and NGB are joined together as will be described later, and the joined image NG is stored in the storage device 23 or the storage medium 24 from the memory 22.

【0070】すなわち、メモリ22や保存記憶装置2
3、記憶媒体24は、図10の装置構成の原画像記憶装
置11や処理後画像記憶装置16に対応する。
That is, the memory 22 and the storage device 2
3. The storage medium 24 corresponds to the original image storage device 11 and the processed image storage device 16 of the device configuration of FIG.

【0071】保存記憶装置23や記憶媒体24に記憶さ
れたつなぎ合わせ後の画像NGは、CPU21が各種の
画像処理プログラムを実行する際に用いられたり、他の
装置に与えられて、その装置で行われる画像処理に用い
られる。
The stitched image NG stored in the storage device 23 or the storage medium 24 is used when the CPU 21 executes various image processing programs, or given to another device to be used in that device. It is used for image processing that is performed.

【0072】なお、入力装置2に搭載されたCPUが、
読み込んだ第1、第2の2値画像NGA、NGBに対し
て本発明に係る画像つなぎ処理を行うように構成しても
よく、その場合には、入力装置2が請求項2に記載の発
明に係る画像つなぎ処理装置を兼用し、入力装置2に搭
載されたCPUが、請求項2に記載の発明における、な
じませつなぎ処理手段(合成手段、平滑化処理手段、し
きい値処理手段、画像つなぎ合わせ手段)、ランダムつ
なぎ処理手段、制御手段を構成し、入力装置2に搭載さ
れたCPUが実行する画像つなぎ処理プログラムを記憶
した記憶媒体が請求項3に記載の発明におけるプログラ
ムを記録した記憶媒体に相当する。
The CPU mounted on the input device 2 is
The first and second binary images NGA and NGB that have been read may be configured to perform the image stitching process according to the present invention. In that case, the input device 2 is the invention according to claim 2. The CPU which is also used as the image connection processing device according to the present invention and which is mounted on the input device 2 has the familiarization connection processing means (combining means, smoothing processing means, threshold value processing means, image processing) according to the invention of claim 2. A storage medium that stores an image connection processing program that is configured by a CPU mounted on the input device 2 and that stores the program according to the present invention. Corresponds to the medium.

【0073】次に、本発明の画像つなぎ処理方法を、図
10に示す機能ブロック図と、図12に示す説明図を参
照して説明する。
Next, the image stitching method of the present invention will be described with reference to the functional block diagram shown in FIG. 10 and the explanatory diagram shown in FIG.

【0074】判別部12は、第1の2値画像NGAのつ
なぎ方向の少なくとも1つの画素列GLAi〜GLA
〔i+(s−1)〕(i=1、(1+s)、(1+2×
s)、…、(YMAX −s)、s=1、2、…、YMAX
内の重複部分WAに属する各画素G(jHA,i〜i+
(s−1))(jHA=XWA、(XWA+1)、…
(XWA+(WW−1))、但し、XWAは重複部分W
Aによって決まる)の濃度データ(「0」、「1」の2
>値の濃度データ)と、その第1の2値画像のつなぎ方
向の各画素列GLAi〜GLA〔i+(s−1)〕に対
応する第2の2値画像NGBのつなぎ方向の少なくとも
1つの画素列GLBi〜GLB〔i+(s−1)〕内の
重複部分WAに属する各画素G(jHB,i〜i+(s
−1))(jHB=1、2、…WW)の濃度データ
(「0」、「1」の2値の濃度データ)とを比較して、
第1の2値画像NGA側の画素G(jHA,i〜i+
(s−1))の濃度データと第2の2値画像NGB側の
画素G(jHB,i〜i+(s−1))の濃度データと
が相違する画素の個数(ズレ画素数UG)を調べ、その
ズレ画素数UGが所定の判定画素数SGを越えていれば
(UG>SG)、そのつなぎ方向の各画素列GLAi〜
GLA〔i+(s−1)〕、GLBi〜GLB〔i+
(s−1)〕に対してはなじませつなぎ処理手段13
(なじませつなぎ処理)で第1、第2の2値画像NG
A、NGBをつなぎ合わせ、一方、そのズレ画素数UG
が判定画素数SG以下であれば(UG≦SG)、そのつ
なぎ方向の各画素列GLAi〜GLA〔i+(s−
1)〕、GLBi〜GLB〔i+(s−1)〕に対して
はランダムつなぎ処理手段14(ランダムつなぎ処理)
で第1、第2の2値画像NGA、NGBをつなぎ合わせ
る処理を、つなぎ方向の全ての画素列GLA1〜GLA
MAX 、GLB1〜GLBYMAX に対して行う。
The discriminator 12 determines at least one pixel column GLAi to GLA in the connecting direction of the first binary image NGA.
[I + (s-1)] (i = 1, (1 + s), (1 + 2x)
s), ..., ( YMAX- s), s = 1, 2, ..., YMAX )
Pixels G (jHA, i to i +) belonging to the overlapping part WA in
(S-1)) (jHA = XWA, (XWA + 1), ...
(XWA + (WW-1)), where XWA is the overlapping part W
Density data (determined by A) (2 of "0" and "1")
Value density data) and at least one of the first binary images in the connecting direction of the second binary image NGB corresponding to each pixel row GLAi to GLA [i + (s-1)] in the connecting direction. Each pixel G (jHB, i ~ i + (s) belonging to the overlapping portion WA in the pixel columns GLBi to GLB [i + (s-1)].
-1)) (jHB = 1, 2, ... WW) density data (binary density data of “0” and “1”) is compared,
The pixel G (jHA, i to i +) on the first binary image NGA side
The number of pixels (deviation pixel number UG) in which the density data of (s-1)) and the density data of the pixel G (jHB, i to i + (s-1)) on the second binary image NGB side are different If the deviation pixel number UG exceeds the predetermined determination pixel number SG (UG> SG), each pixel row GLAi ...
GLA [i + (s-1)], GLBi to GLB [i +
(S-1)] is made to adapt to the connection processing means 13
The first and second binary images NG in the (blending process)
A and NGB are joined together, and on the other hand, the number of misaligned pixels UG
Is less than or equal to the determination pixel number SG (UG ≦ SG), each pixel row GLAi to GLA [i + (s−
1)], GLBi to GLB [i + (s-1)] are random joint processing means 14 (random joint processing).
To connect the first and second binary images NGA and NGB to all pixel columns GLA1 to GLA in the connecting direction.
Y MAX , GLB1 to GLBY MAX .

【0075】また、同じ位置ズレでもエッジ境界が多い
程、ズレ画素数(UG)は増加する。このため、重複部
分WAのエッジ数(EAとする)をカウントし、「UG
/EA」を求めて判定を行うこともある。
Further, the more the number of edge boundaries is, the larger the number of displaced pixels (UG) is, even if the position is the same. For this reason, the number of edges of the overlapping portion WA (referred to as EA) is counted and “UG
/ EA "may be obtained to make the determination.

【0076】そして、なじませつなぎ処理手段13でつ
なぎ合わされたつなぎ方向の画素列部分とランダムつな
ぎ処理手段14でつなぎ合わされたつなぎ方向の画素列
部分とを画像編集部15が編集して、第1、第2の2値
画像NGA、NGB全体をつなぎ合わせたつなぎ合わせ
後の画像NGを得る。
Then, the image editing unit 15 edits the pixel row portion in the joining direction joined by the fitting joint processing means 13 and the pixel row portion in the joining direction joined by the random joining processing means 14, and the first , The second binary images NGA and NGB are joined together to obtain the joined image NG.

【0077】上記つなぎ処理の切換えは、つなぎ方向の
1画素列GLAi、GLBi(s=1)ごとに行っても
よいし、数画素列GLAi〜GLA〔i+(s−
1)〕、GLBi〜GLB〔i+(s−1)〕(ただ
し、この場合のsは2以上)ごとに行ってもよい。ま
た、つなぎ方向の全ての画素列GLA1〜GLA
MAX 、GLB1〜GLBYMAX に対してまとめて行っ
てもよい。上記つなぎ処理の切換えをつなぎ方向の何画
素列ごとに行うかは、第1、第2の2値画像の重複部分
WAの画像の内容や画像のズレ具合などに応じて決めれ
ばよい。
The switching of the connecting process may be performed for each one pixel column GLAi, GLBi (s = 1) in the connecting direction or several pixel columns GLAi to GLA [i + (s-
1)], GLBi to GLB [i + (s-1)] (where s in this case is 2 or more). In addition, all pixel columns GLA1 to GLA in the connecting direction
Y MAX and GLB1 to GLBY MAX may be collectively performed. How many pixel columns in the connecting direction the switching of the connecting process is performed may be determined depending on the image content of the overlapping portion WA of the first and second binary images and the degree of image deviation.

【0078】例えば、つなぎ方向の1画素列GLAi、
GLBiごとに上記つなぎ処理の切換えを行う場合、図
13の例では、ズレ画素は一点鎖線で囲まれた画素であ
る。ズレ画素数UGは、図13(a)の場合(図6と同
じ例)では「2」であり、図13(b)の場合(重複部
分WAの画像が網点画像である場合)では「1」であ
る。
For example, one pixel column GLAi in the connecting direction,
When the connection process is switched for each GLBi, in the example of FIG. 13, the shift pixel is a pixel surrounded by a dashed line. The shift pixel number UG is “2” in the case of FIG. 13A (the same example as in FIG. 6) and is “2” in the case of FIG. 13B (when the image of the overlapping portion WA is a halftone image). 1 ".

【0079】また、つなぎ方向の数画素列GLAi〜G
LA〔i+(s−1)〕、GLBi〜GLB〔i+(s
−1)〕(図では、s=2)ごとに上記つなぎ処理の切
換えを行う場合、図14の例では、ズレ画素は一点鎖線
で囲まれた画素であり、ズレ画素数UGは、図14
(a)の場合(図18のΔGA、ΔGBに対応する)で
は「4」であり、図14(b)の場合(重複部分WAの
画像が網点画像である場合)では「2」である。
Also, several pixel columns GLAi to G in the connecting direction
LA [i + (s-1)], GLBi to GLB [i + (s
−1)] (in the figure, s = 2), when the connection process is switched every time, in the example of FIG. 14, the shift pixel is a pixel surrounded by the alternate long and short dash line, and the shift pixel number UG is
In the case of (a) (corresponding to ΔGA and ΔGB in FIG. 18), it is “4”, and in the case of FIG. 14B (when the image of the overlapping part WA is a halftone image), it is “2”. .

【0080】つなぎ処理の切換えを判定する所定の判定
画素数SGは、重複部分WA内の画像の内容や、上記つ
なぎ処理の切換えをつなぎ方向の何画素列ごとに行うか
などに応じて決められ、特に、ランダムつなぎ処理によ
り画像をつなぎ合わせた結果が視覚的に目立たない範囲
で設定する。例えば、つなぎ方向の1画素列GLAi、
GLBiごとに上記つなぎ処理の切換えを行う場合に
は、GSを「1」として処理すれば、図13(a)のつ
なぎ方向の画素列は、なじませつなぎ処理でつなぎ合わ
せ、図13(b)のつなぎ方向の画素列は、ランダムつ
なぎ処理でつなぎ合わせることになる。
The predetermined judgment pixel number SG for judging the switching of the connecting process is determined in accordance with the content of the image in the overlapping portion WA and the number of pixel columns in the connecting direction in which the switching of the connecting process is performed. In particular, it is set within a range in which the result of combining images by the random combining process is visually inconspicuous. For example, one pixel column GLAi in the connecting direction,
When switching the above-mentioned joining processing for each GLBi, if GS is set to "1", the pixel rows in the joining direction of FIG. 13A are joined by the fitting and joining processing, and then, FIG. The pixel rows in the joining direction of are joined by the random joining process.

【0081】また、処理手順としては、処理対象のつな
ぎ方向の画素列ごとに、ズレ画素数UGと判定画素数S
Gとの判定の結果、その処理対象のつなぎ方向の画素列
に対するなじませつなぎ処理またはランダムつなぎ処理
によるつなぎ処理、つなぎ合わせ後の2値画像の編集を
順次行うようにしてもよいし、つなぎ方向の各画素列を
なじませつなぎ処理とランダムつなぎ処理のいずれのつ
なぎ処理で行うかの判定をつなぎ方向の全ての画素列に
対して先に行い、なじませつなぎ処理するつなぎ方向の
各画素列をまとめてなじませつなぎ処理でつなぎ処理す
るとともに、ランダムつなぎ処理するつなぎ方向の各画
素列をまとめてランダムつなぎ処理でつなぎ処理し、そ
の結果を編集してつなぎ合わせ後の2値画像を得るよう
にしてもよい。
The processing procedure is as follows: the number of shift pixels UG and the number of determination pixels S for each pixel row in the connection direction to be processed.
As a result of the judgment with G, the joint processing by the joint joint processing or the random joint processing for the pixel rows in the joint direction of the processing object, and the binary image after the joint may be edited in sequence, or in the joint direction. For each pixel row in the joint direction, the joint processing for merging each pixel row of is determined first for all the pixel rows in the joint direction, and for each pixel row in the joint direction for the joint processing. Perform joint stitching jointly and jointly perform joint jointing processing, and perform random jointing processing.Each pixel row in the jointing direction is jointly jointed and jointed by random jointing processing, and edit the result to obtain a binary image after jointing. May be.

【0082】先にも説明したように、なじませつなぎ処
理によれば、第1、第2の2値画像NGA、NGBの重
複部分WAの画像のズレが大きい場合のように、ズレ画
素数UGが比較的多い場合でも精度良い画像のつなぎ合
わせ結果が得られる。
As described above, according to the blending process, the number of shifted pixels UG is increased as in the case where the image of the overlapping portion WA of the first and second binary images NGA and NGB is greatly deviated. Even when there are relatively many, it is possible to obtain accurate image stitching results.

【0083】また、ランダムつなぎ処理は、図17に示
すように重複部分WAに設定するつなぎ位置KLを、つ
なぎ方向の各画素列GLA、GLBごとにランダムに設
定(乱数を発生して任意に設定する)して、そのつなぎ
位置KLを境界として、第1の2値画像NGAと第2の
2値画像NGBとを単純合成する処理であるので、例え
ば、第1、第2の2値画像NGA、NGBの重複部分W
Aの画像が網点画像の場合にも、網点部分の画素の濃度
データを合成処理や平滑化処理で多値化するような処理
を含まず、網点部分がボケて消えるような不都合が起き
ない。
In the random connecting process, as shown in FIG. 17, the connecting position KL to be set in the overlapping portion WA is set randomly for each pixel row GLA, GLB in the connecting direction (random number is generated and set arbitrarily). Then, since the first binary image NGA and the second binary image NGB are simply combined with the joint position KL as a boundary, for example, the first and second binary images NGA are used. , NGB overlap W
Even when the image A is a halftone dot image, there is no inconvenience that the halftone dot portion is blurred and disappears without including the processing of converting the density data of pixels in the halftone dot portion into multi-valued data by the combining process and the smoothing process. Don't get up

【0084】従って、第1、第2の2値画像NGA、N
GBの重複部分WAが網点画像であり、その網点部分が
第1、第2の2値画像NGA、NGBでズレている場合
のように、ズレ画素数UGが比較的少ない場合には、そ
のつなぎ方向の各画素列に対してはランダムつなぎ処理
で第1、第2の2値画像NGA、NGBをつなぎ合わせ
ることで、比較的良好な画像のつなぎ合わせ結果が得ら
れる。
Therefore, the first and second binary images NGA, N
When the overlapping portion WA of GB is a halftone dot image and the halftone dot portion is deviated between the first and second binary images NGA and NGB, when the deviation pixel number UG is relatively small, A relatively good image joining result can be obtained by joining the first and second binary images NGA and NGB by a random joining process for each pixel row in the joining direction.

【0085】[0085]

【発明の効果】以上の説明から明らかなように、請求項
1に記載の発明に係る画像つなぎ処理方法によれば、第
1の2値画像のつなぎ方向の少なくとも1つの画素列内
の重複部分に属する各画素の濃度データと、その第1の
2値画像のつなぎ方向の各画素列に対応する第2の2値
画像のつなぎ方向の少なくとも1つの画素列内の重複部
分に属する各画素の濃度データとを比較して、ズレ画素
数の数に応じて、なじませつなぎ処理とランダムつなぎ
処理とを選択的に切り換えて第1、第2の2値画像をつ
なぎ合わせるようにしたので、各種の画像に対して精度
良い画像のつなぎ合わせを行うことができる。
As is apparent from the above description, according to the image stitching processing method of the first aspect of the present invention, the overlapping portion in at least one pixel row in the stitching direction of the first binary image. Of the density data of each pixel belonging to the first binary image and each pixel belonging to the overlapping portion in at least one pixel row in the joining direction of the second binary image corresponding to each pixel row in the joining direction of the first binary image. Since the density data is compared and the blending joint processing and the random joint processing are selectively switched according to the number of misaligned pixels, the first and second binary images are joined together. It is possible to accurately join the images.

【0086】また、つなぎ処理の切換えをつなぎ方向の
少なくとも1つの画素列ごとに行うようにしているの
で、第1、第2の2値画像の重複部分の画像の内容やズ
レ具合が部分的に変化するような場合にも、重複部分内
の各部分の画像の内容やズレ具合に応じてつなぎ処理を
切り換えて画像をつなぎ合わせることができ、1組の第
1、第2の2値画像のつなぎ合わせを画像全体として精
度良く行うことができる。
Further, since the joining process is switched for each at least one pixel column in the joining direction, the image contents and the degree of deviation of the overlapping portion of the first and second binary images are partially changed. Even when there is a change, it is possible to join the images by switching the joining processing according to the contents and the degree of deviation of the images of the respective portions within the overlapping portion, and it is possible to join the images of the pair of first and second binary images. It is possible to join the images as a whole with high accuracy.

【0087】請求項2に記載の発明によれば、上記請求
項1に記載の画像つなぎ処理方法を好適に実施する画像
つなぎ処理装置を実現できる。
According to the second aspect of the invention, it is possible to realize an image stitching processing apparatus which preferably implements the image stitching processing method of the first aspect.

【0088】請求項3に記載の発明によれば、上記請求
項1に記載の方法発明に係る画像つなぎ処理をコンピュ
ーターに実行させることができる。
According to the third aspect of the invention, it is possible to cause a computer to execute the image joining process according to the method invention of the first aspect.

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

【図1】なじませつなぎ処理装置の構成を示す機能ブロ
ック図である。
FIG. 1 is a functional block diagram showing a configuration of a familiarizing connection processing device.

【図2】なじませつなぎ処理を説明するための処理概念
図である。
FIG. 2 is a process conceptual diagram for explaining a familiarizing and connecting process.

【図3】なじませつなぎ処理の第1の工程を説明するた
めの処理概念図である。
FIG. 3 is a process conceptual diagram for explaining a first step of the familiarizing and connecting process.

【図4】第1、第2の混合比を示す図である。FIG. 4 is a diagram showing first and second mixing ratios.

【図5】平滑化処理を説明するための図である。FIG. 5 is a diagram for explaining smoothing processing.

【図6】なじませつなぎ処理による処理例を示す図であ
る。
FIG. 6 is a diagram illustrating a processing example of a familiarizing and connecting process.

【図7】同じく、なじませつなぎ処理による処理例を示
す図である。
FIG. 7 is a diagram similarly showing a processing example by the familiarizing and connecting processing.

【図8】重複部分の画像のズレが大きい第1、第2の2
値画像をなじませ処理でつなぎ合わせた処理結果を示す
図である。
FIG. 8 is a diagram illustrating a first and a second image with a large image shift in an overlapping portion.
It is a figure which shows the process result which stitched together the value images by the process of fitting.

【図9】第1、第2の2値画像を読み込む際の入力装置
内の光学系による画像の歪み状態を示す図である。
FIG. 9 is a diagram showing a distorted state of an image by an optical system in the input device when reading first and second binary images.

【図10】本発明の一実施例に係る画像つなぎ処理装置
の構成を示す機能ブロック図である。
FIG. 10 is a functional block diagram showing a configuration of an image stitching processing device according to an embodiment of the present invention.

【図11】図10に示す画像つなぎ処理装置の具体的な
ハードウエア構成を示すブロック図である。
11 is a block diagram showing a specific hardware configuration of the image stitching processing device shown in FIG.

【図12】本発明に係る画像つなぎ処理方法を説明する
ための図である。
FIG. 12 is a diagram for explaining an image stitching processing method according to the present invention.

【図13】つなぎ処理の切換えをつなぎ方向の1画素列
ごとに行う場合のズレ画素数を示す図である。
FIG. 13 is a diagram showing the number of misaligned pixels when the connection process is switched for each pixel column in the connection direction.

【図14】つなぎ処理の切換えをつなぎ方向の2画素列
ごとに行う場合のズレ画素数を示す図である。
FIG. 14 is a diagram showing the number of misaligned pixels when the connection process is switched for every two pixel columns in the connection direction.

【図15】原稿と第1、第2の2値画像とつなぎ合わせ
た2値画像との関係を示す図である。
FIG. 15 is a diagram showing a relationship between an original document and a binary image obtained by joining first and second binary images.

【図16】つなぎ位置を固定して単純合成する画像つな
ぎ処理を説明するための図である。
[Fig. 16] Fig. 16 is a diagram for describing an image joining process in which a joining position is fixed and simple synthesis is performed.

【図17】つなぎ位置をつなぎ方向の各画素列ごとにラ
ンダムに設定して単純合成するランダムつなぎ処理を説
明するための図である。
FIG. 17 is a diagram for explaining a random joining process in which a joining position is randomly set for each pixel column in the joining direction and simple combining is performed.

【図18】重複部分の画像のズレが大きい第1、第2の
2値画像の例を示す図である。
[Fig. 18] Fig. 18 is a diagram illustrating an example of first and second binary images in which an image in an overlapping portion has a large deviation.

【図19】図18に示す第1、第2の2値画像をランダ
ムつなぎ処理でつなぎ合わせた結果を示す図である。
FIG. 19 is a diagram showing a result of joining the first and second binary images shown in FIG. 18 by a random joining process.

【図20】図18に示す第1、第2の2値画像を図16
に示す画像つなぎ処理でつなぎ合わせた結果を示す図で
ある。
FIG. 20 shows the first and second binary images shown in FIG.
FIG. 6 is a diagram showing a result of joining by the image joining processing shown in FIG.

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

1:画像つなぎ処理装置 12:判別部 13:なじませつなぎ処理手段 13a:合成手段 13b:平滑化処理手段 13c:しきい値処理手段 13d:画像つなぎ合わせ手段 14:ランダムつなぎ処理手段 15:画像編集部 21:CPU 22:メモリ 24:記憶媒体 NGA:第1の2値画像 NGB:第2の2値画像 WA:第1、第2の2値画像の重複部分 1: Image stitching processing device 12: Discrimination unit 13: Familiar connection processing means 13a: Synthetic means 13b: smoothing processing means 13c: threshold processing means 13d: Image joining means 14: Random connection processing means 15: Image editor 21: CPU 22: Memory 24: Storage medium NGA: first binary image NGB: second binary image WA: Overlapping part of the first and second binary images

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平6−141228(JP,A) 特開 平10−13769(JP,A) 特開 平9−330396(JP,A) 特開 平9−23330(JP,A) 特開 平10−178564(JP,A) 特開 平11−17924(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04N 1/38 - 1/393 G06T 3/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-6-141228 (JP, A) JP-A-10-13769 (JP, A) JP-A-9-330396 (JP, A) JP-A-9- 23330 (JP, A) JP 10-178564 (JP, A) JP 11-17924 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04N 1/38-1 / 393 G06T 3/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 重複部分を有する隣り合う配置関係のデ
ジタルの第1、第2の2値画像に対して、第1、第2の
2値画像の重複部分を合成して、第1の2値画像と第2
の2値画像とをつなぎ合わせる画像つなぎ処理方法であ
って、 前記重複部分の少なくとも一部を含む合成領域に属する
第1の2値画像のつなぎ方向の画素列内の各画素の濃度
データに対して、第2の2値画像側の画素の荷重が小さ
くなる第1の混合比を作用させた結果と、前記第1の2
値画像のつなぎ方向の画素列に対応する第2の2値画像
のつなぎ方向の画素列内の前記合成領域に属する各画素
の濃度データに対して、第1の2値画像側の画素の荷重
が小さくなる第2の混合比を作用させた結果とを対応す
る画素ごとに加算して合成する処理を、つなぎ方向の各
画素列ごとに行う第1の工程と、前記第1の工程で合成
した前記合成領域に属するつなぎ方向の各画素列内の各
画素の濃度データに対して平滑化処理を行う第2の工程
と、前記第2の工程で平滑化処理を行った前記合成領域
に属するつなぎ方向の各画素列内の各画素の濃度データ
に対してしきい値処理を行って2値化する第3の工程
と、前記第3の工程で2値化した結果を含めて第1の2
値画像と第2の2値画像とをつなぎ合わせる第4の工程
とを備えた処理をなじませつなぎ処理とし、 前記重複部分に設定するつなぎ位置を、つなぎ方向の各
画素列ごとにランダムに設定して、そのつなぎ位置を境
界として、第1の2値画像と第2の2値画像とを単純合
成する処理をランダムつなぎ処理として、 第1の2値画像のつなぎ方向の少なくとも1つの画素列
内の前記重複部分に属する各画素の濃度データと、その
第1の2値画像のつなぎ方向の各画素列に対応する第2
の2値画像のつなぎ方向の少なくとも1つの画素列内の
前記重複部分に属する各画素の濃度データとを比較し
て、第1の2値画像側の画素の濃度データと第2の2値
画像側の画素の濃度データとが相違する画素の個数(ズ
レ画素数)を調べ、そのズレ画素数が所定の判定画素数
を越えていれば、そのつなぎ方向の各画素列に対しては
前記なじませつなぎ処理で第1、第2の2値画像をつな
ぎ合わせ、一方、そのズレ画素数が前記判定画素数以下
であれば、そのつなぎ方向の各画素列に対しては前記ラ
ンダムつなぎ処理で第1、第2の2値画像をつなぎ合わ
せる処理を、つなぎ方向の全ての画素列に対して行っ
て、第1、第2の2値画像全体のつなぎ合わせを行うこ
とを特徴とする画像つなぎ処理方法。
1. The first and second binary images are synthesized by combining the first and second digital binary images having an arrangement relationship and having adjacent layouts with each other. Value image and second
An image joining process for joining the binary image of the first binary image belonging to a composite area including at least a part of the overlapping portion with respect to the density data of each pixel in the pixel row in the joining direction. As a result of applying a first mixture ratio that reduces the weight of the pixel on the side of the second binary image,
The weight of the pixel on the side of the first binary image with respect to the density data of each pixel belonging to the composite area in the pixel row in the connecting direction of the second binary image corresponding to the pixel row in the connecting direction of the value image In the first step of performing the process of adding and synthesizing the result of applying the second mixture ratio for which the The second step of performing the smoothing process on the density data of each pixel in each pixel row in the connecting direction that belongs to the above-described combining region, and the combining region that has been subjected to the smoothing process in the second step. A third step of binarizing the density data of each pixel in each pixel row in the connecting direction by binarization, and the first step including the binarization result of the third step Two
A process including a fourth step of joining the value image and the second binary image is a joining process, and a joining position set in the overlapping portion is randomly set for each pixel row in the joining direction. Then, the process of simply synthesizing the first binary image and the second binary image with the joining position as the boundary is defined as random joining process, and at least one pixel row in the joining direction of the first binary image is formed. Of the density data of each pixel belonging to the overlapping portion of the first and second binary images corresponding to each pixel row in the joining direction of the first binary image.
Density data of pixels on the side of the first binary image and the second binary image by comparing the density data of each pixel belonging to the overlapping portion in at least one pixel row of the binary image of The number of pixels (deviation pixel number) different from the density data of the pixel on the side is checked, and if the deviation pixel number exceeds a predetermined determination pixel number, the same as above for each pixel row in the joining direction. When the first and second binary images are stitched together by the joint stitching process, and if the number of shifted pixels is equal to or smaller than the determination pixel count, the random stitching process is performed by the random stitching process for each pixel row in the stitching direction. An image stitching process characterized by performing the stitching process of the first and second binary images on all pixel columns in the stitching direction to stitch the entire first and second binary images. Method.
【請求項2】 重複部分を有する隣り合う配置関係のデ
ジタルの第1、第2の2値画像に対して、第1、第2の
2値画像の重複部分を合成して、第1の2値画像と第2
の2値画像とをつなぎ合わせる画像つなぎ処理装置であ
って、 前記重複部分の少なくとも一部を含む合成領域に属する
第1の2値画像のつなぎ方向の画素列内の各画素の濃度
データに対して、第2の2値画像側の画素の荷重が小さ
くなる第1の混合比を作用させた結果と、前記第1の2
値画像のつなぎ方向の画素列に対応する第2の2値画像
のつなぎ方向の画素列内の前記合成領域に属する各画素
の濃度データに対して、第1の2値画像側の画素の荷重
が小さくなる第2の混合比を作用させた結果とを対応す
る画素ごとに加算して合成する処理を、つなぎ方向の各
画素列ごとに行う合成手段と、前記合成手段で合成した
前記合成領域に属するつなぎ方向の各画素列内の各画素
の濃度データに対して平滑化処理を行う平滑化処理手段
と、前記平滑化処理手段で平滑化処理を行った前記合成
領域に属するつなぎ方向の各画素列内の各画素の濃度デ
ータに対してしきい値処理を行って2値化するしきい値
処理手段と、前記しきい値処理手段で2値化した結果を
含めて第1の2値画像と第2の2値画像とをつなぎ合わ
せる画像つなぎ合わせ手段とを備えたなじませつなぎ処
理手段と、 前記重複部分に設定するつなぎ位置を、つなぎ方向の各
画素列ごとにランダムに設定して、そのつなぎ位置を境
界として、第1の2値画像と第2の2値画像とを単純合
成するランダムつなぎ処理手段と、 第1の2値画像のつなぎ方向の少なくとも1つの画素列
内の前記重複部分に属する各画素の濃度データと、その
第1の2値画像のつなぎ方向の各画素列に対応する第2
の2値画像のつなぎ方向の少なくとも1つの画素列内の
前記重複部分に属する各画素の濃度データとを比較し
て、第1の2値画像側の画素の濃度データと第2の2値
画像側の画素の濃度データとが相違する画素の個数(ズ
レ画素数)を調べ、そのズレ画素数が所定の判定画素数
を越えていれば、そのつなぎ方向の各画素列に対しては
なじませつなぎ処理手段で第1、第2の2値画像をつな
ぎ合わせ、一方、そのズレ画素数が前記判定画素数以下
であれば、そのつなぎ方向の各画素列に対してはランダ
ムつなぎ処理手段で第1、第2の2値画像をつなぎ合わ
せる処理を、つなぎ方向の全ての画素列に対して行っ
て、第1、第2の2値画像全体のつなぎ合わせを行う制
御手段と、 を備えたことを特徴とする画像つなぎ処理装置。
2. The first and second binary images, which are adjacent to each other and have a digital arrangement and which have an overlapping portion, are combined to form the first and second binary images. Value image and second
An image joining processing device for joining the binary image of the first binary image belonging to a composite area including at least a part of the overlapping portion to the density data of each pixel in the pixel row in the joining direction. As a result of applying a first mixture ratio that reduces the weight of the pixel on the side of the second binary image,
The weight of the pixel on the side of the first binary image with respect to the density data of each pixel belonging to the composite area in the pixel row in the connecting direction of the second binary image corresponding to the pixel row in the connecting direction of the value image Is added to each corresponding pixel and the result of applying the second mixture ratio for which the value becomes smaller is combined for each pixel column in the connecting direction, and the combined area combined by the combining unit. Smoothing processing means for performing a smoothing process on the density data of each pixel in each pixel row in the connecting direction belonging to, and each of the connecting directions belonging to the composite area subjected to the smoothing processing by the smoothing processing means. A first binary value including threshold value processing means for performing threshold value processing on the density data of each pixel in the pixel array to perform binarization, and a result of binarization by the threshold value processing means. Image stitching that stitches an image and a second binary image Fold-in joint processing means including a binding means, and a joint position to be set in the overlapping portion is randomly set for each pixel column in the joint direction, and the joint position is defined as a boundary, and a first binary image And a second binary image, a random joint processing means for simply synthesizing the second binary image, density data of each pixel belonging to the overlapping portion in at least one pixel row in the joint direction of the first binary image, and the first Of the second binary image corresponding to each pixel row in the joining direction
Density data of pixels on the side of the first binary image and the second binary image by comparing the density data of each pixel belonging to the overlapping portion in at least one pixel row of the binary image of The number of pixels (deviation pixel number) different from the density data of the side pixel is checked, and if the deviation pixel number exceeds the predetermined determination pixel number, it is not made to fit in each pixel row in the joining direction. The first and second binary images are stitched together by the stitching processing means. On the other hand, if the number of shifted pixels is less than or equal to the determination pixel number, the random stitching processing means performs the first stitching on each pixel row in the stitching direction. A control unit that performs the process of joining the first and second binary images to all the pixel columns in the joining direction to join the first and second binary images as a whole. An image stitching device characterized by:
【請求項3】 重複部分を有する隣り合う配置関係のデ
ジタルの第1、第2の2値画像に対して、第1、第2の
2値画像の重複部分を合成して、第1の2値画像と第2
の2値画像とをつなぎ合わせる画像つなぎ処理をコンピ
ューターに実行させるためのプログラムを記録した記憶
媒体であって、 前記重複部分の少なくとも一部を含む合成領域に属する
第1の2値画像のつなぎ方向の画素列内の各画素の濃度
データに対して、第2の2値画像側の画素の荷重が小さ
くなる第1の混合比を作用させた結果と、前記第1の2
値画像のつなぎ方向の画素列に対応する第2の2値画像
のつなぎ方向の画素列内の前記合成領域に属する各画素
の濃度データに対して、第1の2値画像側の画素の荷重
が小さくなる第2の混合比を作用させた結果とを対応す
る画素ごとに加算して合成する処理を、つなぎ方向の各
画素列ごとに行う第1の工程と、前記第1の工程で合成
した前記合成領域に属するつなぎ方向の各画素列内の各
画素の濃度データに対して平滑化処理を行う第2の工程
と、前記第2の工程で平滑化処理を行った前記合成領域
に属するつなぎ方向の各画素列内の各画素の濃度データ
に対してしきい値処理を行って2値化する第3の工程
と、前記第3の工程で2値化した結果を含めて第1の2
値画像と第2の2値画像とをつなぎ合わせる第4の工程
とを備えた処理をなじませつなぎ処理とし、 前記重複部分に設定するつなぎ位置を、つなぎ方向の各
画素列ごとにランダムに設定して、そのつなぎ位置を境
界として、第1の2値画像と第2の2値画像とを単純合
成する処理をランダムつなぎ処理として、 第1の2値画像のつなぎ方向の少なくとも1つの画素列
内の前記重複部分に属する各画素の濃度データと、その
第1の2値画像のつなぎ方向の各画素列に対応する第2
の2値画像のつなぎ方向の少なくとも1つの画素列内の
前記重複部分に属する各画素の濃度データとを比較し
て、第1の2値画像側の画素の濃度データと第2の2値
画像側の画素の濃度データとが相違する画素の個数(ズ
レ画素数)を調べ、そのズレ画素数が所定の判定画素数
を越えていれば、そのつなぎ方向の各画素列に対しては
前記なじませつなぎ処理で第1、第2の2値画像をつな
ぎ合わせ、一方、そのズレ画素数が前記判定画素数以下
であれば、そのつなぎ方向の各画素列に対しては前記ラ
ンダムつなぎ処理で第1、第2の2値画像をつなぎ合わ
せる処理を、つなぎ方向の全ての画素列に対して行っ
て、第1、第2の2値画像全体のつなぎ合わせを行う画
像つなぎ処理をコンピューターに実行させるためのプロ
グラムを記録した記憶媒体。
3. The first and second binary images are synthesized by synthesizing the overlapping parts of the first and second digital binary images having an arrangement relationship adjacent to each other and having an overlapping portion. Value image and second
A storage medium storing a program for causing a computer to execute an image stitching process for stitching a binary image of the first binary image belonging to a synthesis area including at least a part of the overlapping portion. The result of applying a first mixture ratio that reduces the weight of the pixel on the second binary image side to the density data of each pixel in the pixel row of
The weight of the pixel on the side of the first binary image with respect to the density data of each pixel belonging to the composite area in the pixel row in the connecting direction of the second binary image corresponding to the pixel row in the connecting direction of the value image In the first step of performing the process of adding and synthesizing the result of applying the second mixture ratio for which the The second step of performing the smoothing process on the density data of each pixel in each pixel row in the connecting direction that belongs to the above-described combining region, and the combining region that has been subjected to the smoothing process in the second step. A third step of binarizing the density data of each pixel in each pixel row in the connecting direction by binarization, and the first step including the binarization result of the third step Two
The process including the fourth step of joining the value image and the second binary image is a joining process, and the joining position set in the overlapping portion is randomly set for each pixel row in the joining direction. Then, the process of simply synthesizing the first binary image and the second binary image with the joining position as the boundary is defined as random joining process, and at least one pixel row in the joining direction of the first binary image is formed. Of the density data of each pixel belonging to the overlapping portion of the first and second binary images corresponding to each pixel row in the joining direction of the first binary image.
Density data of pixels on the side of the first binary image and the second binary image by comparing the density data of each pixel belonging to the overlapping portion in at least one pixel row of the binary image of The number of pixels (deviation pixel number) different from the density data of the pixel on the side is checked, and if the deviation pixel number exceeds a predetermined determination pixel number, the same as above for each pixel row in the joining direction. When the first and second binary images are stitched together by the joint stitching process, and if the number of shifted pixels is equal to or smaller than the determination pixel count, the random stitching process is performed by the random stitching process for each pixel row in the stitching direction. The computer performs the image stitching process for stitching the entire first and second binary images by performing the stitching process of the first and second binary images on all pixel columns in the stitching direction. Memory for recording programs for Body.
JP17858798A 1998-06-25 1998-06-25 Image splicing method and apparatus, and storage medium storing program Expired - Fee Related JP3452489B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17858798A JP3452489B2 (en) 1998-06-25 1998-06-25 Image splicing method and apparatus, and storage medium storing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17858798A JP3452489B2 (en) 1998-06-25 1998-06-25 Image splicing method and apparatus, and storage medium storing program

Publications (2)

Publication Number Publication Date
JP2000013590A JP2000013590A (en) 2000-01-14
JP3452489B2 true JP3452489B2 (en) 2003-09-29

Family

ID=16051088

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17858798A Expired - Fee Related JP3452489B2 (en) 1998-06-25 1998-06-25 Image splicing method and apparatus, and storage medium storing program

Country Status (1)

Country Link
JP (1) JP3452489B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306024A (en) * 2000-04-19 2001-11-02 Soritsudorei Kenkyusho:Kk Device and method for generating luminance-corrected image

Also Published As

Publication number Publication date
JP2000013590A (en) 2000-01-14

Similar Documents

Publication Publication Date Title
US6323900B1 (en) Digital camera with analog and digital clamp circuit
JPH10243407A (en) Image signal processor and image input processor
JP2818949B2 (en) Composite image generation method and apparatus
JPS63266982A (en) Interpolating method for picture signal and picture signal processor executing it
US5721793A (en) Image processing with smooth production of inclined lines and other features
JP3452489B2 (en) Image splicing method and apparatus, and storage medium storing program
US4916551A (en) Multi-channel image processing with cross channel context
JP3454714B2 (en) Image splicing method and apparatus, and storage medium storing program
JPS62101170A (en) Picture reader
JP2559710B2 (en) Image processing method
JP2698382B2 (en) Image composition method
JPH09284543A (en) Picture processor
JP2825927B2 (en) Image processing device
JP3353256B2 (en) Image resolution enhancement method
JP2543197B2 (en) Method for converting linear density of binary image signal
JP2755309B2 (en) Image processing device
JPH06225122A (en) Image forming device
JP2689485B2 (en) Line density conversion circuit
JPH04278680A (en) Binary image reduction system
JPH09149240A (en) Image processor
JPH0865513A (en) Image processor
JPH02107060A (en) Picture signal processing method
JPH0453350B2 (en)
JPH08111774A (en) Image reading device
JPH07143338A (en) Image thresholding device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080718

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080718

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090718

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100718

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100718

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees