JPH0229161A - Picture synthesis system - Google Patents

Picture synthesis system

Info

Publication number
JPH0229161A
JPH0229161A JP63180752A JP18075288A JPH0229161A JP H0229161 A JPH0229161 A JP H0229161A JP 63180752 A JP63180752 A JP 63180752A JP 18075288 A JP18075288 A JP 18075288A JP H0229161 A JPH0229161 A JP H0229161A
Authority
JP
Japan
Prior art keywords
image
pixels
images
dither matrix
small area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63180752A
Other languages
Japanese (ja)
Other versions
JP2698382B2 (en
Inventor
Kazumasa Koike
和正 小池
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP63180752A priority Critical patent/JP2698382B2/en
Publication of JPH0229161A publication Critical patent/JPH0229161A/en
Application granted granted Critical
Publication of JP2698382B2 publication Critical patent/JP2698382B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To save the capacity of a picture memory and to reduce the cost of a picture synthesizer by using the same dither matrix so as to apply binary processing to a picture data of two pictures to be synthesized and synthesizing the pictures at a location where the dither matrix is consecutive. CONSTITUTION:Picture data A, B are subject to dither processing by one and same dither matrix respectively and stored in picture memories 4, 5, and a synthesis processing circuit 6 based on the stored picture data applies synthesis so that the dither value of the dither matrix is consecutive at the border position. Moreover, an overlapped part P is provided to the border between the pictures A, B, the overlapped part P is sectioned into small areas of mXn picture elements the same as the dither matrix of the dither processing circuits 2, 3, a black picture element number or a white picture element number of a new picture in the small area for each small area is set to decide the black picture element number or the white picture element in the small area. Thus, the capacity of the picture memories 4, 5 is saved and the cost of the picture synthesizer is reduced.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は画像合成方式に関し、特に、中間調画像を合成
する画像合成方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an image synthesis method, and particularly to an image synthesis method for synthesizing halftone images.

(従来の技術) 近時、情報化社会にあって中間調画像の処理が要求され
るようになり、特に、2つの中間調画像を合成して1つ
の画像を作成することが要求されている。
(Prior Art) Recently, in the information society, processing of halftone images has become required, and in particular, there is a demand for combining two halftone images to create one image. .

ところが、中間調画像を合成するに際し、単に2つの画
像の境界を接続するように合成したのでは、2つの画像
の境界部分が周囲の画像に比べて不自然な画像となり、
画像全体として違和感のある画像となる。
However, when combining halftone images, if the boundaries of two images are simply connected, the boundary between the two images will look unnatural compared to the surrounding images.
The image as a whole looks unnatural.

そこで、従来、合成する2つの画像のアナグロデータあ
るいは多値データをそれぞれ記憶する画像メモリを設け
るとともに、合成する2つの画像の境界部分に両画像の
重複部分を設け、該重複部分の位置に応じて所定の方式
で決定した割合いで両画像の画像データを出力して両画
像の境界をぼかすことが行われている。
Therefore, in the past, image memories were provided to store the analog data or multivalued data of the two images to be combined, and an overlapping part of both images was provided at the boundary between the two images to be combined. Image data of both images are output at a ratio determined using a predetermined method to blur the boundary between the two images.

(発明が解決しようとする課題) しかしながら、このような従来の画像合成方式にあって
は、画像をアナグロデータあるいは多値データの段階の
画像データを合成していたため、画像データを記憶する
ために容量の大きな画像メモリを必要とし、画像合成を
行うだめの装置が高価なものとなっていた。
(Problem to be Solved by the Invention) However, in such conventional image synthesis methods, images are synthesized with image data at the analog data or multivalued data stage, so it is difficult to store the image data. This requires a large-capacity image memory, and the equipment for performing image composition is expensive.

(発明の目的) そこで、本発明は、合成する2つの画像の画像データを
同じディザマトリックスで2値化処理し、該2つの画像
を当該ディザマトリックスが連続する位置で所定方法で
合成するとともに、該合成部分の所定領域内の白(又は
黒)画素数だけ、上記と同じディザマトリックスに従っ
て白(又は黒)画素を配置することにより、2値化処理
した画像データに基づいて2つの画像を自然につなぎ、
違和感のない合成画像を作成して、画像メモリの容量を
削減し、画像合成を行う装置の価格を低減するとともに
、合成画像の画質を向上させることを目的としている。
(Object of the Invention) Therefore, the present invention involves binarizing the image data of two images to be combined using the same dither matrix, combining the two images using a predetermined method at positions where the dither matrices are continuous, and By arranging white (or black) pixels according to the same dither matrix as above for the number of white (or black) pixels in a predetermined area of the composite part, two images are naturalized based on the binarized image data. Connect it to
The purpose of this invention is to create a natural-looking composite image, reduce the capacity of image memory, reduce the cost of an apparatus that performs image composition, and improve the image quality of the composite image.

(発明の構成) 本発明は、上記目的を達成するため、 (1)多値データを同一のm×nのディザマトリックス
により2値化した2種類の画像を合成する画像合成方式
であって、該2種類の画像を合成するに際し、各画像の
多値データの2値化に用いたディザマトリックスの各領
域における配置が両画像の境界位置で連続する位置で合
成し、該境界部分で双方の画像を主走査方向にm画素の
所定倍、副走査方向にn画素の所定倍だけ重複させ、こ
の重複部分をm×nの小領域毎に分割し、分割した各小
領域において、重複する各画像毎に各小領域内の畔画素
数あるいは白画素数を検出し、この検出結果と、当該小
領域の前記重複部分での位置と、に基づいて当該小領域
の新しい黒画素数と白画素数を設定するとともに、前記
m×nのディザマトリックスに基づいて当該小領域内の
新しい黒画素と白画素の位置を設定することを特徴とす
るもの。
(Structure of the Invention) In order to achieve the above object, the present invention provides an image synthesis method for synthesizing two types of images obtained by binarizing multivalued data using the same m×n dither matrix, When combining these two types of images, the arrangement of the dither matrix used for binarizing the multivalued data of each image in each area is combined at a continuous position at the boundary position of both images, and the position of both images is combined at the boundary position. The images are overlapped by a predetermined number of m pixels in the main scanning direction and a predetermined number of n pixels in the sub-scanning direction, and this overlapped portion is divided into m×n small regions. The number of edge pixels or the number of white pixels in each small area is detected for each image, and based on this detection result and the position of the small area in the overlapping part, a new number of black pixels and white pixels for the small area are determined. In addition to setting the number, the positions of new black pixels and white pixels within the small area are set based on the m×n dither matrix.

および (2)多値データを同一のm×nのディザマトリックス
により2値化した2種類の画像を合成する画像合成方式
であって、該2種類の画像を合成するに際し、各画像の
多値データの2値化に用いたディザマトリックスの各領
域における配置が両画像の境界位置で連続する位置で合
成し、該境界部分に双方の画像の画素を含み主走査方向
にm画素、副走査方向にn画素の小領域を設定し、当該
小領域内の黒画素数あるいは白画素数を検出し、該検出
した数の黒画素と白画素の新しい配置を該小領域に対応
させた前記m×nのディザマトリックスに基づいて設定
することを特徴とするものである。
and (2) an image synthesis method that synthesizes two types of images obtained by binarizing multivalued data using the same m×n dither matrix, and when combining the two types of images, the multivalued data of each image is The arrangement of dither matrices used for data binarization in each area is synthesized at consecutive positions at the boundary of both images, and the boundary includes pixels of both images, m pixels in the main scanning direction, and m pixels in the sub-scanning direction. The m This is characterized by setting based on a dither matrix of n.

以下、本発明の実施例に基づいて具体的に説明する。Hereinafter, the present invention will be specifically explained based on examples.

第1図〜第6図は請求項1記載の発明の一実施例を示す
図であり、画像処理装置に適用したものである。
1 to 6 are diagrams showing an embodiment of the invention as claimed in claim 1, which is applied to an image processing device.

第1図は画像処理装置1の機能ブロック図であり、画像
処理装置1は、2つのデイザ処理回路2.3、画像メモ
リ4.5、合成処理回路6、画像メモリ7、プリンタ8
およびデイスプレィ9等を備えている。
FIG. 1 is a functional block diagram of the image processing device 1, which includes two dither processing circuits 2.3, an image memory 4.5, a composition processing circuit 6, an image memory 7, and a printer 8.
It is also equipped with a display 9, etc.

デイザ処理回路2.3は同一のm×nのディザマトリッ
クス(例えば、第2図に示すような4×4のディザマト
リックス)を有し、入力される多値の画像データにデイ
ザ処理を施して2値の画像データとして画像メモリ4お
よび画像メモリ5に出力する。デイザ処理回路2および
デイザ処理回路3に入力される画像データはCCD (
Charge Coupled Device)等で原
稿の画像を読み取ったアナグロデータを当該アナグロデ
ータの大きさに対応する大きさの多値データにディジタ
ル変換したものである。
The dither processing circuit 2.3 has the same m×n dither matrix (for example, a 4×4 dither matrix as shown in FIG. 2), and performs dither processing on input multivalued image data. It is output to the image memory 4 and the image memory 5 as binary image data. The image data input to the dither processing circuit 2 and the dither processing circuit 3 is transmitted to the CCD (
This is data obtained by digitally converting analog data obtained by reading an image of a document using a charge coupled device (Charge Coupled Device) or the like into multivalued data having a size corresponding to the size of the analog data.

画像メモリ4.5は合成処理回路6において画像の合成
を行うのに必要な所定容量を有し、それぞれデイザ処理
回路2およびデイザ処理回路3で2値化処理された画像
データを蓄える。
The image memory 4.5 has a predetermined capacity necessary for image composition in the composition processing circuit 6, and stores image data binarized by the dither processing circuit 2 and the dither processing circuit 3, respectively.

合成処理回路6は画像メモリ4および画像メモリ5に格
納された画像データの画像を後述する所定の画像合成方
式に基づいて合成して画像メモリ7に出力し、合成され
た画像データは画像メモリ7に一旦蓄えられた後、プリ
ンタ8で記録紙に記録され、また、デイスプレィ9に表
示される。
The synthesis processing circuit 6 synthesizes images of the image data stored in the image memory 4 and the image memory 5 based on a predetermined image synthesis method described later and outputs the synthesized image data to the image memory 7. After being temporarily stored, the information is recorded on recording paper by the printer 8 and displayed on the display 9.

次に作用を説明する。Next, the action will be explained.

いま、第3図に示すように、画像Aと画像Bを合成する
ものとして説明する。
Now, as shown in FIG. 3, an explanation will be given assuming that image A and image B are to be combined.

画像Aの画像データA(多値データ)はデイザ処理回路
2に入力され、画像Bの画像データ(多値データ)はデ
イザ処理回路3に入力される。画像データAおよび画像
データBはそれぞれ画像メモリ4および画像メモリ5で
同一のディザマトリックスでデイザ処理され、それぞ2
値データとして画像メモリ4および画像メモリ5に格納
される。
Image data A (multivalue data) of image A is input to the dither processing circuit 2, and image data (multivalue data) of image B is input to the dither processing circuit 3. Image data A and image data B are dithered using the same dither matrix in image memory 4 and image memory 5, respectively.
It is stored in the image memory 4 and the image memory 5 as value data.

合成処理回路6は画像メモリ4および画像メモI75に
格納された画像データに基づいて画像Aと画像Bの合成
を行うが、このとき、第3図に示す画像Aと画像Bの境
界位置で画像データへの2値化に用いたディザマトリッ
クスと画像データBの2値化に用いたディザマトリック
スとが連続するように合成する。すなわち、画像データ
Aと画像データBとを同じディザマトリックスで2値化
処理しており、画像Aと画像Bを合成する場合その境界
位置で、例えば、第2図にZで示すように、ディザマト
リックスのデイザ値が連続するように合成する。
The composition processing circuit 6 composes the image A and the image B based on the image data stored in the image memory 4 and the image memo I75. The dither matrix used to binarize data and the dither matrix used to binarize image data B are combined so that they are continuous. That is, image data A and image data B are binarized using the same dither matrix, and when combining images A and B, dithering is performed at the boundary position, for example, as shown by Z in Figure 2. Combine the dither values of the matrix so that they are continuous.

また、合成処理回路6は、画像Aと画像Bの合成を行う
に際し、第3図に示すように、画像Aと画像Bの境界部
分に画像Aと画像Bの重複部分Pを設ける。この重複部
分Pは主走査方向(第3図中X方向)に前記デイザ処理
回路2およびデイザ処理回路3のディザマトリックスの
主走査方向の行数骨mの所定倍(1倍)の画素数分の幅
を有し、副走査方向(第3図中X方向)に前記デイザ処
理回路2およびデイザ処理回路3のディザマトリックス
の副走査方向の列数骨nの所定倍(r倍)の画素数分の
幅を有している。この重複部分Pに新たな画像を設定す
るか?この新たな画像の設定に際し、重複部分Pをデイ
ザ処理回路2およびデイザ処理回路3のディザマトリッ
クスと同じm×nの画素骨の小領域に区分し、該小領域
毎に該小領域内の新しい画像の黒画素数(あるいは白画
素数)を設定し、その黒画素(あるいは白画素)の該小
領域での配置を決定する。すなわち、第4図に示すよう
に、まず、小頭域Spで重なるA画像の小領域骨S、お
よび8画像の小領域骨S、の双方の黒画素数(あるいは
白画素数)(第4図中黒画素は斜線で表示)を検出する
。次いで、この小頭域Spの合成後の画像の黒画素数(
あるいは白画素数)を該小領域Spの重複部分Pでの位
置に対応した所定の計算式に基づいて計算する。例えば
、第5図に示すように、画像Aと画像Bが合成される場
合に、重複部分Pを有し、重複部分Pが小領域P、、P
2・・・・・・、Pffに区分されていると、上記小領
域P+、Pz・・・・・・、PAでの画像Aの黒画素数
をa、同様に画像Bの黒画素数をbとすると、各小領域
P、、P2・・・・・・、  PI!、の新しい画像の
黒画素数BP、、BP、・・・・・・、BP/!は次式
で求められる。
Furthermore, when synthesizing images A and B, the synthesis processing circuit 6 provides an overlapping portion P between images A and B at the boundary between images A and B, as shown in FIG. This overlapping portion P has a number of pixels equal to a predetermined times (1 times) the number of rows m in the main scanning direction of the dither matrices of the dither processing circuit 2 and the dither processing circuit 3 in the main scanning direction (X direction in FIG. 3). The number of pixels is a predetermined times (r times) the number of columns n in the sub-scanning direction of the dither matrix of the dither processing circuit 2 and the dither processing circuit 3 in the sub-scanning direction (X direction in FIG. 3). It has a width of 30 minutes. Should a new image be set in this overlapping part P? When setting this new image, the overlapping portion P is divided into m×n pixel bone small regions that are the same as the dither matrices of the dither processing circuit 2 and the dither processing circuit 3, and for each small region, a new The number of black pixels (or the number of white pixels) of the image is set, and the arrangement of the black pixels (or white pixels) in the small area is determined. That is, as shown in FIG. 4, first, the number of black pixels (or the number of white pixels) (fourth In the figure, black pixels are indicated by diagonal lines). Next, the number of black pixels (
Alternatively, the number of white pixels) is calculated based on a predetermined calculation formula corresponding to the position in the overlapping portion P of the small area Sp. For example, as shown in FIG. 5, when images A and B are combined, they have an overlapping portion P, and the overlapping portion P is a small area P, .
2..., Pff, the number of black pixels of image A in the small areas P+, Pz..., PA is a, and similarly the number of black pixels of image B is b, each small area P,, P2..., PI! The number of black pixels in the new image BP, BP, ......, BP/! is calculated using the following formula.

a+AXb 2+1 この式は小頭域Spが合成する2つの画像、すなわち、
画像Aと画像Bのいずれに近いかによりその近い方の画
像の黒画素数に近い黒画素数を新しい画像の黒画素数と
して設定するものである。したがって、画像Aと画像B
との境界部分において黒画素数がなめらかに変化し、違
和感のない画像となる。
a+AXb 2+1 This formula is the two images that the small head area Sp synthesizes, that is,
Depending on whether the image is closer to image A or image B, the number of black pixels that is close to the number of black pixels of the closer image is set as the number of black pixels of the new image. Therefore, image A and image B
The number of black pixels changes smoothly at the boundary between the two, resulting in a natural-looking image.

小領域Spにおける新しい画像の黒画素数が決定される
と、次いで、決定された数の黒画素の配置を、第4図に
示すように、前記デイザ処理回路2およびデイザ処理回
路3で使用したディザマトリックスと同じディザマトリ
ックスに基づいて決定する。すなわち、ディザマトリッ
クスは、第2図および第4図に示したように、該マトリ
ックスの数だけの闇値が配置されたものであり、その闇
値の小さい画素から黒画素とし、黒画素の数が上記で決
定した数になるまでの画素を黒画素とする。
Once the number of black pixels of the new image in the small area Sp is determined, the arrangement of the determined number of black pixels is then used in the dither processing circuit 2 and the dither processing circuit 3, as shown in FIG. Determine based on the same dither matrix as the dither matrix. That is, as shown in FIGS. 2 and 4, the dither matrix has as many darkness values arranged as there are in the matrix, and the pixels with the smallest darkness value are considered black pixels, and the number of black pixels is Pixels up to the number determined above are defined as black pixels.

例えば、第4図の場合、決定した黒画素数が7個である
と、新しい小領域NSの画像はディザマトリックスの闇
値が“1゛である画素位置から闇値が“7′”である画
素位置までを黒画素とする画像となる。これは、通常の
デイザ処理において、ディザマトリックスの闇値の小さ
い画素位置の画素から黒画素となる可能性が高いことに
対応させたものである。したがって、同一のディザマト
リックスでデイザ処理した画像Aおよび画像Bと違和感
のない自然な画像を得ることができる。
For example, in the case of Figure 4, if the determined number of black pixels is 7, the image of the new small region NS will have a dark value of "7'" starting from the pixel position where the dark value of the dither matrix is "1". This results in an image in which black pixels extend up to the pixel position.This corresponds to the fact that in normal dither processing, there is a high possibility that pixels at pixel positions with small darkness values in the dither matrix become black pixels. Therefore, it is possible to obtain a natural image that does not look out of place with images A and B that have been dithered using the same dither matrix.

なお、新しい画像の黒画素の位置を各小領域SP毎に形
定する場合に、各小頭域Spに対応するディザマトリッ
クスの闇値の位置が第2図や第4図に示したような配列
とならず、画像Aと画像Bの境界位置のディザマトリッ
クスの連かり状態によってはm×nの小領域で設定され
るディザマトリックスは、例えば、第6図に示すような
闇値の配置となることがある。この場合、各小領域Sp
における新画像の黒画素の配置は第6図に示すような当
該ディザマトリックスの閾値に基づいて決定する。すな
わち、画像の合成位置に対応したディザマトリックスと
同一の闇値配置とするのである。
In addition, when defining the position of the black pixel of a new image for each subregion SP, the position of the darkness value of the dither matrix corresponding to each subregion Sp is determined as shown in Figures 2 and 4. Depending on the connection state of the dither matrix at the boundary position between image A and image B, the dither matrix that is set in a small area of m x n may be arranged, for example, in the arrangement of darkness values as shown in Fig. 6. It may happen. In this case, each small region Sp
The arrangement of black pixels in the new image is determined based on the threshold value of the dither matrix as shown in FIG. In other words, the dark value arrangement is the same as the dither matrix corresponding to the image synthesis position.

このように、本発明によれば、同一のディザマトリック
スでデイザ処理した2(i!データを画像メモリ4.5
に格納し、2値化後の画像データに基づいて画像を合成
しているため、画像メモリ4.5の容量を小さくするこ
とができ、画像メモリ4.5の価格、ひいては画像処理
装置1の価格を低減することができる。また、画像全体
としてのディザマトリックスの配置を維持し、2つの画
像の境界においてもディザマトリックスが連続するよう
に合成するとともに、境界部分に画像の重複部分を設け
、該重複部分をディザマトリックスの大きさに対応させ
た小領域に区分して、各小領域毎に当該小領域内のもと
の画像の黒画素数(又は白画素数)と、該小領域の位置
と、に基づいて黒画素数を決定し、決定した黒画素をも
とのディザマトリックスに基づいて再配置したため、境
界の部分が不自然とならず、全体として違和感のない画
像を得ることができる。その結果、合成画像の画質を向
上させることができる。
Thus, according to the present invention, the 2(i!
Since the images are synthesized based on the binarized image data, the capacity of the image memory 4.5 can be reduced, and the price of the image memory 4.5 and the cost of the image processing device 1 can be reduced. The price can be reduced. In addition, the arrangement of the dither matrix for the entire image is maintained, and the dither matrix is synthesized so that it is continuous even at the boundary between two images, and an overlapping part of the images is provided at the boundary part, and the overlapping part is For each small area, black pixels are divided into small areas corresponding to Since the number of black pixels is determined and the determined black pixels are rearranged based on the original dither matrix, the boundary portion does not look unnatural, and an image that does not look strange as a whole can be obtained. As a result, the image quality of the composite image can be improved.

第7図〜第9図は請求項2記載の発明の一実施例を示す
図である。
FIG. 7 to FIG. 9 are diagrams showing an embodiment of the invention according to claim 2.

第7図は画像処理装置11の機能ブロック図であり、第
1図に示した実施例と同一構成部分には同一符号のみを
付してその説明を省略する。
FIG. 7 is a functional block diagram of the image processing device 11, and the same components as those in the embodiment shown in FIG. 1 are denoted by the same reference numerals, and the explanation thereof will be omitted.

画像処理装置11はデイザ処理回路2.3、画像メモリ
4.5、合成処理回路12、画像メモリ7、プリンタ8
およびデイスプレィ9等を備えている。
The image processing device 11 includes a dither processing circuit 2.3, an image memory 4.5, a composition processing circuit 12, an image memory 7, and a printer 8.
It is also equipped with a display 9, etc.

合成処理回路12はデイザ処理回路2.3でデイザ処理
され画像メモリ4.5に格納された2つの画像データを
合成して合成画像データを画像メモリ7に出力する。合
成処理回路12は以下の方式により2つの画像の合成を
行う。すなわち、いま、第8図に示すような画像Aと画
像Bを合成する場合、合成処理回路12は、前記第1〜
6図に示した実施例と同様に画像Aと画像Bが、その境
界位置で画像Aをデイザ処理するのに使用したディザマ
トリックスの闇値配置と、画像Bをデイザ処理するのに
使用したディザマトリックスの闇値配置と、が連続する
ように合成し、両画像の境界位置において、第9図に示
すように、デイザ処理回路2およびデイザ処理回路3で
使用したディザマトリックスDMと同じ画素数分のm×
nの小領域SKを設定する。この小領域Sにはディザマ
トリックスDKの一つ分に相当するものを設定するが、
境界を含み、画像Aと画像Bの双方を含む領域を設定す
る。小領域SKを設定すると、該小領域SK内の黒画素
数(あるいは白画素数)を検出し、検出した数だけの黒
画素をデイザ処理回路2.3で使用したディザマトリッ
クスDMに基づいて当該小領域SKに新たに再配置する
。このとき、ディザマトリックスDMの闇値の小さい方
の画素から順次、黒画素の数だけ黒画素を配置する。例
えば、第9図の場合、画像Aと画像Bの境界に設定した
小領域Sx中に黒画素(第9図中斜線で表示)が5画素
含まれていたとすると、当該小頭域SKに新たに再配置
する黒画素の数は5画素である。この新たに再配置する
黒画素の配置位置はディザマトリックスDMの闇値の小
さい方の画素位置から5画素分までの位置(第9図中斜
線で表示)である。
The composition processing circuit 12 composes the two image data that have been dithered by the dither processing circuit 2.3 and stored in the image memory 4.5, and outputs the composite image data to the image memory 7. The synthesis processing circuit 12 synthesizes two images using the following method. That is, when combining images A and B as shown in FIG. 8, the combining processing circuit 12
Similar to the example shown in Figure 6, images A and B are separated by the dark value arrangement of the dither matrix used to dither process image A and the dither value used to dither process image B at the boundary position. The dark value arrangement of the matrix is synthesized so that it is continuous, and at the boundary position of both images, as shown in FIG. m×
Set n small areas SK. This small area S is set to correspond to one dither matrix DK.
An area including the boundary and including both image A and image B is set. When a small area SK is set, the number of black pixels (or the number of white pixels) in the small area SK is detected, and the detected number of black pixels is processed based on the dither matrix DM used in the dither processing circuit 2.3. Newly relocated to the small area SK. At this time, black pixels are arranged in order from the pixel with the smallest darkness value in the dither matrix DM by the number of black pixels. For example, in the case of Fig. 9, if the small area Sx set at the boundary between images A and B contains 5 black pixels (indicated by diagonal lines in Fig. 9), then a new pixel will be added to the small head area SK. The number of black pixels to be rearranged is 5 pixels. The positions of the newly rearranged black pixels are five pixels from the position of the pixel with the smaller dark value in the dither matrix DM (indicated by diagonal lines in FIG. 9).

したがって、2値化した画像データを画像メモリ4.5
に格納し、この画像データに基づいて画像の合成を行っ
ているため、画像メモリ4.5の容量を小さ(すること
ができ、画像メモリ4.5ひいては画像処理装置11の
価格を低減することができる。また、合成する両画像を
ディザマトリックスの闇値配置が連続するように合成す
るとともに、境界位置に両画像をデイザ処理したディザ
マトリックスの1つ分の小領域を設定し、該小領域内の
黒画素を当該小領域に対応するディザマトリックスに基
づいて再配置したため、境界部分において自然な画像と
なり、滑らかに画像が変化する。
Therefore, the binarized image data is stored in the image memory 4.5.
Since images are synthesized based on this image data, the capacity of the image memory 4.5 can be reduced, and the price of the image memory 4.5 and, by extension, the image processing device 11 can be reduced. In addition, both images to be combined are combined so that the dark value arrangement of the dither matrix is continuous, and a small area corresponding to one dither matrix obtained by dithering both images is set at the boundary position, and the small area is Since the black pixels within the area are rearranged based on the dither matrix corresponding to the small area, a natural image is obtained at the boundary portion, and the image changes smoothly.

その結果、全体として違和感のない良好な合成画像を得
ることができる。
As a result, it is possible to obtain a good composite image that does not give an unnatural feeling as a whole.

第10図は請求項2記載の発明の他の実施例を示す図で
ある。
FIG. 10 is a diagram showing another embodiment of the invention according to claim 2.

本実施例は上記第7〜9図に示した実施例において、合
成する2つの画像の境界部分に設定する小領域SKの設
定方法を変更したものである。
This embodiment is a modification of the embodiment shown in FIGS. 7 to 9 above, in which the method of setting the small area SK to be set at the boundary between two images to be combined is changed.

すなわち、画像Aと画像Bの境界部分に、該境界を含む
小領域SKを設定するに際し、小頭域S、内に画像Aと
画像Bの画素を略同数含む小領域S8を設定する。この
小領域SK内の黒画素数を検出し、検出した数だけの黒
画素をディザマトリックスDMに基づいて再配置する。
That is, when setting a small area SK that includes the boundary between images A and B, a small area S8 that includes approximately the same number of pixels of images A and B is set within the small head area S. The number of black pixels in this small area SK is detected, and the detected number of black pixels are rearranged based on the dither matrix DM.

このとき、小領域SKを両画像の画素数を同数含むよう
に設定すると、第10図に示すように小領域SKがディ
ザマトリックスDMの本来の闇値配置とはずれた位置に
設定されることがある。この場合、小領域Sイに黒画素
を再配置するのに用いるディザマトリックスDMは、第
10図に示すように、本来の闇値配置から小領域SKに
対応してずらしたディザマトリックスNDMを採用する
At this time, if the small area SK is set to include the same number of pixels of both images, the small area SK may be set at a position that deviates from the original darkness value arrangement of the dither matrix DM, as shown in FIG. be. In this case, the dither matrix DM used to rearrange the black pixels in the small area S is a dither matrix NDM that is shifted from the original dark value arrangement corresponding to the small area SK, as shown in FIG. do.

したがって、本実施例においては、境界部分を挟んで合
成される2つの画像に同じ幅に亘って小領域Sにを設定
して黒画素を再配置することができ、より一層、境界部
分を自然な画像として形成することができる。その結果
、合成画像をより一層、自然で、違和感のないものとす
ることができ、画質をより一層向上させることができる
Therefore, in this embodiment, black pixels can be rearranged by setting a small area S over the same width in two images that are combined with the boundary between them, which makes the boundary even more natural. It can be formed as a beautiful image. As a result, the composite image can be made even more natural and natural, and the image quality can be further improved.

(効果) 本発明によれば、2値化処理した画像データに基づいて
2つの画像を自然につなぎ、違和感のない合成画像を作
成することができる。したがって、画像メモリの容量を
削減することができ、画像合成を行う装置の価格を低減
することができる゛とともに、合成画像の画質を向上さ
せることができる。
(Effects) According to the present invention, it is possible to naturally connect two images based on binarized image data and create a natural composite image. Therefore, it is possible to reduce the capacity of the image memory, reduce the cost of the apparatus that performs image composition, and improve the image quality of the composite image.

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

第1図〜第6図は請求項1記載の発明の画像合成方式の
一実施例を示す図であり、第1図はその画像合成方式を
適用した画像処理装置の機能ブロック図、第2図はその
ディザマトリックスのフォーマント、第3図はその合成
する画像の模式図、第4図はその画像の重複部分の新画
像の設定処理の手順を示す作用説明図、第5図はその画
像の重複部分の小領域の区分側を示す模式図、第6図は
画像の重複部分の小領域に対応したディザマトリックス
のフォーマットである。 第7図〜第9図は請求項2記載の発明の画像合成方式の
一実施例を示す図であり、第7図はその画像合成方式を
適用した画像処理装置の機能ブロンク図、第8図はその
合成する画像の模式図、第9図はその合成画像の境界部
分の新画像の設定処理の手順を示す作用説明図である。 第10図は請求項2記載の発明の画像合成方式の他の実
施例を示す図であり、その合成画像の境界部分の新画像
の設定処理の手順を示す作用説明図である。 1.11・・・・・・画像処理装置、 2.3・・・・・・デイザ処理回路、 4.5・・・・・・画像メモリ、 6.12・・・・・・合成処理回路、 7・・・・・・画像メモリ、 S p、 S a、 S b、 SK ’・”=小領域
、P・・・・・・重複部分、 DM・・・・・・デイザマトリ・ンクス。
1 to 6 are diagrams showing an embodiment of the image synthesis method of the invention as claimed in claim 1, FIG. 1 is a functional block diagram of an image processing apparatus to which the image synthesis method is applied, and FIG. is the formant of the dither matrix, FIG. 3 is a schematic diagram of the image to be synthesized, FIG. FIG. 6, which is a schematic diagram showing the division side of the small area of the overlapping part, is the format of the dither matrix corresponding to the small area of the overlapping part of the image. 7 to 9 are diagrams showing an embodiment of the image synthesis method of the invention as claimed in claim 2, FIG. 7 is a functional block diagram of an image processing apparatus to which the image synthesis method is applied, and FIG. 8 9 is a schematic diagram of the image to be synthesized, and FIG. 9 is an explanatory diagram showing the procedure for setting a new image at the boundary of the synthesized image. FIG. 10 is a diagram showing another embodiment of the image synthesis method of the invention as claimed in claim 2, and is an operation explanatory diagram showing the procedure for setting a new image at the boundary portion of the synthesized image. 1.11...Image processing device, 2.3...Dither processing circuit, 4.5...Image memory, 6.12...Composition processing circuit , 7... image memory, S p, S a, S b, SK'.'' = small area, P... overlapping part, DM... dither matrix links.

Claims (2)

【特許請求の範囲】[Claims] (1)多値データを同一のm×nのディザマトリックス
により2値化した2種類の画像を合成する画像合成方式
であって、該2種類の画像を合成するに際し、各画像の
多値データの2値化に用いたディザマトリックスの各領
域における配置が両画像の境界位置で連続する位置で合
成し、該境界部分で双方の画像を主走査方向にm画素の
所定倍、副走査方向にn画素の所定倍だけ重複させ、こ
の重複部分をm×nの小領域毎に分割し、分割した各小
領域において、重複する各画像毎に各小領域内の黒画素
数あるいは白画素数を検出し、この検出結果と、当該小
領域の前記重複部分での位置と、に基づいて当該小領域
の新しい黒画素数と白画素数を設定するとともに、前記
m×nのディザマトリックスに基づいて当該小領域内の
新しい黒画素と白画素の位置を設定することを特徴とす
る画像合成方式。
(1) An image synthesis method that combines two types of images obtained by binarizing multivalued data using the same m×n dither matrix, and when combining the two types of images, the multivalued data of each image is The arrangement of dither matrices used for binarization in each region is combined at consecutive positions at the boundary between both images, and at the boundary, both images are divided by a predetermined number of m pixels in the main scanning direction and in the sub-scanning direction. Overlap by a predetermined number of n pixels, divide this overlapping part into m × n small areas, and calculate the number of black pixels or white pixels in each overlapping image in each divided small area. and setting a new number of black pixels and a new number of white pixels for the small area based on this detection result and the position of the small area in the overlapping part, and based on the m×n dither matrix. An image synthesis method characterized by setting new positions of black pixels and white pixels within the small area.
(2)多値データを同一のm×nのディザマトリックス
により2値化した2種類の画像を合成する画像合成方式
であって、該2種類の画像を合成するに際し、各画像の
多値データの2値化に用いたディザマトリックスの各領
域における配置が両画像の境界位置で連続する位置で合
成し、該境界部分に双方の画像の画素を含み主走査方向
にm画素、副走査方向にn画素の小領域を設定し、当該
小領域内の黒画素数あるいは白画素数を検出し、該検出
した数の黒画素と白画素の新しい配置を該小領域に対応
させた前記m×nのディザマトリックスに基づいて設定
することを特徴とする画像合成方式。
(2) An image synthesis method that combines two types of images obtained by binarizing multivalued data using the same m×n dither matrix, and when combining the two types of images, the multivalued data of each image is The layout of the dither matrix used for binarization in each region is synthesized at consecutive positions at the boundary between both images, and the boundary includes m pixels in the main scanning direction and m pixels in the sub-scanning direction. A small area of n pixels is set, the number of black pixels or white pixels in the small area is detected, and a new arrangement of the detected number of black pixels and white pixels is made to correspond to the small area. An image synthesis method characterized by setting based on a dither matrix.
JP63180752A 1988-07-19 1988-07-19 Image composition method Expired - Fee Related JP2698382B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63180752A JP2698382B2 (en) 1988-07-19 1988-07-19 Image composition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63180752A JP2698382B2 (en) 1988-07-19 1988-07-19 Image composition method

Publications (2)

Publication Number Publication Date
JPH0229161A true JPH0229161A (en) 1990-01-31
JP2698382B2 JP2698382B2 (en) 1998-01-19

Family

ID=16088698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63180752A Expired - Fee Related JP2698382B2 (en) 1988-07-19 1988-07-19 Image composition method

Country Status (1)

Country Link
JP (1) JP2698382B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190386470A1 (en) * 2018-06-13 2019-12-19 Abb Schweiz Ag Electrical connection assembly in an electrical switchgear

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190386470A1 (en) * 2018-06-13 2019-12-19 Abb Schweiz Ag Electrical connection assembly in an electrical switchgear

Also Published As

Publication number Publication date
JP2698382B2 (en) 1998-01-19

Similar Documents

Publication Publication Date Title
JPS59156070A (en) Picture processing device
US6067088A (en) Image processing method and apparatus thereof
EP0351062B1 (en) Method and apparatus for generating composite images
JPS58211758A (en) Image reproduction method and apparatus
US5563713A (en) Image processing method and apparatus with adding of a white outline to an outline of a character image
US6324300B1 (en) Defining color borders in a raster image
JP2702408B2 (en) Image conversion system
JPH0229161A (en) Picture synthesis system
JPH07118002B2 (en) Image processing device
JPS62101170A (en) Picture reader
JPH0722327B2 (en) Color image processor
JP3880156B2 (en) Image processing device
JP2703223B2 (en) Color image processing equipment
JP3539552B2 (en) Image processing device
JP2613589B2 (en) Mask processing method
JPH09275496A (en) Image contour emphasis processing unit and its method
JP3054315B2 (en) Image processing method and apparatus
JPH04122991A (en) Composing method for image and character
JP2755506B2 (en) Image forming device
JPS62266974A (en) Picture output device
JPH0962238A (en) Character color setting device
JPH0962250A (en) Image working device and method
JPH07177347A (en) Image processor
JPS6135073A (en) Picture processing system
JP2005018465A (en) Image processor, method, and program

Legal Events

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