JP2568172B2 - Image information processing device - Google Patents

Image information processing device

Info

Publication number
JP2568172B2
JP2568172B2 JP60161747A JP16174785A JP2568172B2 JP 2568172 B2 JP2568172 B2 JP 2568172B2 JP 60161747 A JP60161747 A JP 60161747A JP 16174785 A JP16174785 A JP 16174785A JP 2568172 B2 JP2568172 B2 JP 2568172B2
Authority
JP
Japan
Prior art keywords
mask
data
image
bit
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP60161747A
Other languages
Japanese (ja)
Other versions
JPS6224369A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP60161747A priority Critical patent/JP2568172B2/en
Publication of JPS6224369A publication Critical patent/JPS6224369A/en
Priority to US07/715,897 priority patent/US5222159A/en
Application granted granted Critical
Publication of JP2568172B2 publication Critical patent/JP2568172B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はマスク処理機能を備えた画像情報処理装置に
係り、特に複数枚の画像に対してマスク処理を行う画像
情報処理装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image information processing apparatus having a mask processing function, and more particularly to an image information processing apparatus that performs mask processing on a plurality of images. .

[従来の技術] 一般に画像編集を行う際、画像データの一部にマスク
をかけ画像の一部分のみを切り出したい場合が多い。し
かもこの切り出しの形状が矩形や正多角形以外の複雑な
形状である場合が多く、かかる場合従来良く行う方式と
して切り出し(マスク)用のビツトマツプメモリを持
ち、このビツトマツプメモリの内容に応じて取り出すべ
きデータか捨てるデータかを選択し、所望の切り出し選
択を行う方式がある。
[Related Art] Generally, when performing image editing, it is often desired to mask a part of image data and cut out only a part of the image. In addition, the shape of this cutout is often a complicated shape other than a rectangle or a regular polygon. In such a case, as a method often performed conventionally, a cutout (mask) has a bit map memory, and depending on the contents of this bit map memory. There is a method of selecting the data to be extracted or the data to be discarded and performing the desired cutout selection.

このマスク用ビツトマツプメモリからのデータで画像
データにマスクをかける方式は、一枚の画像の内から所
望の領域内のデータのみ抽出し、その結果を指定された
メモリに書き込む事が多い。しかもこのメモリは一般に
デイザ法や濃度パターン法等で2値化された画像データ
をストアする、ビツトマツプメモリである事が多い。こ
れは高解像の画像を取り扱う時、画像データを格納する
メモリのコストを著しく低減するからである。
In the method of masking the image data with the data from the mask bit map memory, only the data in a desired area is extracted from one image and the result is often written in a specified memory. Moreover, this memory is generally a bit map memory that stores image data binarized by the dither method, the density pattern method or the like. This is because when handling high resolution images, the cost of the memory for storing the image data is significantly reduced.

かかる方法において、複数のマスクされた画像を指定
されたメモリへ合成する場合は、各画像を順番にメモリ
へ重ね書きし、後から書かれる画像データに優先度を設
ける方式がとられる。第2図(a)(b)はこの説明図
で簡単のため円形にマスクされた画像Aと、ハート型に
マスクされた画像Bの合成を示す。Aの画像を先にメモ
リに作成し、続いてBの画像を合成した結果、第2図
(a)の様に両者の重なつた部分は後から行つたBの画
像に書き加えられ、結果として処理画像Bが優先され
る。これはメモリの画像データが既にデイザ法等により
2値化されていて、Aの画像の重なる画像部分の原始デ
ータが失われてしまつているためAの画像を優先させる
処理が不可能となるためである。
In such a method, when a plurality of masked images are combined in a specified memory, each image is sequentially overwritten in the memory and a priority is given to image data to be written later. FIGS. 2 (a) and 2 (b) show a combination of an image A masked in a circular shape and an image B masked in a heart shape for simplicity in this explanatory view. As a result of creating the image of A in the memory first and then synthesizing the image of B, the overlapped part of both is added to the image of B which was carried out later as shown in FIG. The processed image B is prioritized as. This is because the image data in the memory has already been binarized by the dither method or the like, and the original data of the overlapping image portion of the A image has been lost, so the process of prioritizing the A image becomes impossible. Is.

一方、第2図(b)の様に両者の画像が重なつた部分
cを両者の画像が重なる様に(即ち透かし)行いたいと
いう要望があるが、かかる方法は前述従来の方法では不
可能である。
On the other hand, as shown in FIG. 2 (b), there is a demand to perform a portion c where both images are overlapped (that is, a watermark) so that the images of both are overlapped, but such a method is impossible with the above-mentioned conventional method. Is.

又、高解像の画像を取り扱う時にはマスキング用ビツ
トマツプメモリの容量が大きくなり、コストアツプとな
る欠点があつた。更にはマスキングによる切り出し処理
をした後、画像を拡大した場合、マスクの斜めエツジが
ギザギザになるという問題もあつた。
Further, when handling a high-resolution image, the capacity of the bit map memory for masking becomes large, resulting in a cost increase. Further, when the image is enlarged after the cutout processing by masking, there is a problem that the oblique edge of the mask becomes jagged.

[発明が解決しようとする問題点] 本発明は上記従来例に鑑みてなされたもので、互いに
異なる複数の入力画像を、任意の形状でそれぞれ独立し
て切り出すとともに、切り出された複数の画像を合成処
理する際の処理機能を多様化することができる画像情報
処理装置を提供することを目的とする。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-described conventional example, and independently cuts out a plurality of mutually different input images in arbitrary shapes, and cuts out the plurality of cut-out images. An object of the present invention is to provide an image information processing apparatus capable of diversifying processing functions when performing composition processing.

また本発明はマスク情報の平滑化を可能にした画像情
報処理装置を提供することを目的とする。
Another object of the present invention is to provide an image information processing device capable of smoothing mask information.

[問題点を解決するための手段] 上記目的を達成するために本発明の画像情報処理装置
は以下のような構成を備える。即ち、 互いに異なる第1と第2の画像をそれぞれ表す第1と
第2の画像データを入力する入力手段(実施例ではTVカ
メラやCCDセンサ等に相当)と、 前記第1と第2の画像をそれぞれ独立して切り出すた
めの第1と第2の領域データを発生する領域データ発生
手段(実施例ではマスクメモリ3に相当)と、 前記第1と第2の領域データによって表される第1と
第2の領域の重複部分を検出する検出手段(実施例では
AND回路44に相当)と、 前記第1と第2の領域データを用いて前記第1と第2
の画像を切り出すとともに、前記検出手段により検出さ
れた重複部分における処理内容を指示する信号(実施例
ではビット合成器46の出力信号64)に従って前記第1と
第2の画像を合成する合成手段(実施例では画像処理回
路7に相当)とを有する。
[Means for Solving Problems] In order to achieve the above object, the image information processing apparatus of the present invention has the following configuration. That is, an input unit (corresponding to a TV camera, a CCD sensor, or the like in the embodiment) for inputting first and second image data representing respectively different first and second images, and the first and second images. Area data generation means (corresponding to the mask memory 3 in the embodiment) for generating first and second area data for independently cutting out the first and second area data, and a first area represented by the first and second area data. And a detection means for detecting the overlapping portion of the second area (in the embodiment,
AND circuit 44) and the first and second area data using the first and second area data.
And a synthesizing means for synthesizing the first and second images in accordance with a signal (in the embodiment, the output signal 64 of the bit synthesizer 46) indicating the processing content in the overlapping portion detected by the detecting means. (Corresponding to the image processing circuit 7 in the embodiment).

[実施例] 第1図に示される本発明の実施例の画像情報処理装置
は、マスク情報格納手段としてのマスクメモリ3と、マ
スク情報変換手段としてのマスク処理回路6、マスク手
段及び合成手段としての画像処理回路7とを備える。
[Embodiment] An image information processing apparatus according to an embodiment of the present invention shown in FIG. 1 includes a mask memory 3 as a mask information storage unit, a mask processing circuit 6 as a mask information conversion unit, a mask unit and a combining unit. Image processing circuit 7 of FIG.

かかる第1図の構成において、ビツト合成器4によ
り、入力された画像情報に2ビツトのマスク情報を付加
した10ビツトの画像情報を作成する。該画像情報は変倍
処理回路5によって拡大・縮小等が行われる。一方2ビ
ツトのマスク情報はマスク処理回路6によって平滑化の
ために変換される。画像処理回路7ではマスク処理回路
6よりのマスク情報に従って複数の画像に対するマスク
処理と画像の選択出力及び複数の画像の合成を行ない、
2値化回路8を通してビツトマツプメモリ9に画像情報
を格納する。
In the configuration shown in FIG. 1, the bit synthesizer 4 creates image information of 10 bits by adding mask information of 2 bits to the input image information. The image information is enlarged / reduced by the scaling processing circuit 5. On the other hand, the 2-bit mask information is converted by the mask processing circuit 6 for smoothing. In the image processing circuit 7, according to the mask information from the mask processing circuit 6, mask processing is performed on a plurality of images, images are selectively output, and a plurality of images are combined.
Image information is stored in the bit map memory 9 through the binarization circuit 8.

以下、添付図面に従つて本発明の実施例を詳細に説明
する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[画像情報処理装置のブロック図の説明(第1図)] 第1図は本発明の画像情報処理装置のブロツク図を示
したものである。イメージデータ1は例えばTVカメラや
CCDセンサ等から読み出された時系列画像データをA/D変
換した8ビツトデータである。かかるイメージデータ1
はラスタ画像データ2として順次入力され、ビツト合成
器4によつてマスクメモリ3からの2ビツトの出力と合
成され第3図に示すような10ビツトデータとなる。
[Description of Block Diagram of Image Information Processing Apparatus (FIG. 1)] FIG. 1 is a block diagram of the image information processing apparatus of the present invention. The image data 1 is, for example, a TV camera or
It is 8-bit data obtained by A / D converting the time-series image data read from the CCD sensor or the like. Such image data 1
Are sequentially input as raster image data 2, and are combined by a bit combiner 4 with the output of 2 bits from the mask memory 3 to form 10-bit data as shown in FIG.

なお第1図において、線上の数字はデータのビツト数
を示している。
In FIG. 1, the numbers on the line indicate the number of bits of data.

第4図(a)(b)はマスクメモリ3の内容の一例を
示した図で、ハート型の内部60はすべてデータが1、斜
線部61はデータがすべて0となつている。第4図(a)
は通常のNX×NY画素のマスク情報を示し、第4図(b)
は第4図(a)のマスク情報をX,y方向に1/k間引いた場
合の図で、メモリ容量は第4図(a)の1/k2倍となつて
いる。
4 (a) and 4 (b) are views showing an example of the contents of the mask memory 3, in which the heart-shaped inside 60 is all 1's and the shaded area 61 is all 0's. Figure 4 (a)
Indicates the mask information of normal N X × N Y pixels, and FIG. 4 (b)
Shows a case where the mask information of FIG. 4 (a) is thinned out in 1 / k in the X and y directions, and the memory capacity is 1 / k 2 times that of FIG. 4 (a).

マスクメモリ3からのデータの取り出しタイミングは
x,y方向それぞれに1/kに間引かれているためイメージデ
ータのk×k画素単位に行われる。マスクメモリ3の内
容は0又は1で構成されていて、0の時はイメージデー
タの取り出し禁止(後述のビツトマツプメモリ8への書
き込み禁止)、1の時はビツトマツプメモリ8への書き
込み許可を意味する。
The timing for fetching data from the mask memory 3 is
Since it is thinned out to 1 / k in each of the x and y directions, it is performed in k × k pixel units of image data. The content of the mask memory 3 is composed of 0 or 1. When 0, the extraction of the image data is prohibited (writing is prohibited to the bit map memory 8 which will be described later), and when it is 1, write permission to the bit map memory 8 is permitted. means.

ラスタ画像データ2とマスクデータは、前述したよう
にビツト合成器4により第3図の様にマスクデータを最
上位2ビツトに書込んだ10ビツトデータとされ、前述の
様にk×k画素の画像データに対して1つのマスクデー
タが繰返し付加される。
The raster image data 2 and the mask data are 10 bit data in which the mask data is written in the uppermost 2 bits as shown in FIG. 3 by the bit synthesizer 4 as described above. One mask data is repeatedly added to the image data.

ビツト合成された画像データ10は後段の変倍処理回路
5において、画像の変倍、即ち拡大、縮小等の変換がな
される。いま画像の拡大の場合について説明を行うと、
例えば縦横3倍に拡大する場合は、ラスタ的に出力され
たイメージデータ1画素を主走査方向に3画素分同じデ
ータを続けて出力し、副走査方向に3ライン分同じライ
ンデータを出力すれば良い。このためイメージデータの
出力はライン毎にポーズする事が出来るものとする。
The bit-combined image data 10 is subjected to image scaling, that is, conversion such as enlargement and reduction, in the scaling processing circuit 5 in the subsequent stage. Explaining the case of image enlargement,
For example, in the case of enlarging vertically and horizontally three times, if one pixel of image data output in raster form is continuously output with the same data for three pixels in the main scanning direction and the same line data is output for three lines in the sub-scanning direction. good. Therefore, the output of image data can be paused line by line.

変倍処理回路5により変倍処理した後、10ビツトの画
像データのうちの2ビツトのマスクデータは、マスク処
理回路6においてマスクエツジの平滑化処理に用いら
れ、荒いマスク目による画像のギザギザのエツジを平滑
化する。その後画像処理回路7において2つのマスクで
の重複部分での透かし処理等を行う。しかる後、2値化
回路8においてデイザ法等で画像データの2値化を行
い、ビツトマツプメモリ9に結果を格納する。
After the scaling processing is performed by the scaling processing circuit 2, the mask data of 2 bits of the image data of 10 bits is used in the mask processing circuit 6 for the smoothing processing of the mask edges, and the rough edges of the image cause the jagged edges of the image. Is smoothed. After that, the image processing circuit 7 performs watermark processing or the like on the overlapping portion between the two masks. Thereafter, the binarization circuit 8 binarizes the image data by a dither method or the like, and stores the result in the bit map memory 9.

[マスクメモリ構成の説明(第5図(a)(b))] 第5図(a)はマスクA、マスクBから成る2つのマ
スクデータを有するマスクメモリ3を示したもので、各
マスクは各々深さ1ビツトのビツトマツプメモリ構成で
あるが、重複画像を考慮して第5図(b)の様にコード
化して2ビツトのマスクメモリとして取り扱う方が便利
である。即ち第5図(b)に示す様に、マスクデータ:0
0(メモリは書き込み禁止)、01(画像Bのみ)、10
(画像Aのみ)、11(画像AとBの透かし)なるコード
情報を割りつける。
[Description of Mask Memory Configuration (FIGS. 5A and 5B)] FIG. 5A shows a mask memory 3 having two mask data consisting of a mask A and a mask B. Although each has a bit map memory structure having a depth of 1 bit, it is more convenient to code it as shown in FIG. 5 (b) and treat it as a 2 bit mask memory in consideration of an overlapping image. That is, as shown in FIG. 5B, mask data: 0
0 (write protected to memory), 01 (only image B), 10
Code information (image A only) and 11 (watermarks of images A and B) are assigned.

[マスク平滑回路の説明(第6図(a)(b)、第7図
(a)(b))] 第6図(a)(b)はマスク平滑化回路のブロツク図
である。ここでは簡単のためマスクデータが1ビツトの
場合について説明する。
[Explanation of Mask Smoothing Circuit (FIGS. 6 (a), (b), 7 (a), (b))] FIGS. 6 (a), (b) are block diagrams of the mask smoothing circuit. Here, for simplicity, the case where the mask data is one bit will be described.

第6図(a)において入力された画像データ24は、シ
フトレジスタ23a,23bにより1ライン分ずつの遅延をう
け、3ラインのマスク情報が同時に出力される。各ライ
ンの出力は1画素遅延素子22a〜22fにより遅延を受け
る。従つてタツプ21a〜21iからは同時に3×3のマトリ
クス内の画像データが取り出される。
The image data 24 input in FIG. 6 (a) is delayed by one line by the shift registers 23a and 23b, and mask information of three lines is simultaneously output. The output of each line is delayed by the 1-pixel delay elements 22a to 22f. Accordingly, the image data in the 3 × 3 matrix is simultaneously taken out from the taps 21a to 21i.

第6図(b)は1ビツトのマスクデータに基づいて発
生される前述の3×3のマスクデータ21a〜21iの変換の
ブロツク図である。
FIG. 6 (b) is a block diagram of conversion of the above-mentioned 3 × 3 mask data 21a to 21i generated based on one-bit mask data.

9つのマスクデータ21a〜21iは加算器30で加算され、
0〜9の範囲をもつ4ビツトデータ31として出力され
る。この加算されたデータ31は次段のコンパレータ32に
より、ある一定の閾値データ33と比較され2値化されて
データ34として出力される。この閾値データ33はマニユ
アル等で適宜設定出来る様にされている。(この閾値デ
ータ33を変える事により平滑特性が多少変わる。)以上
の結果2値化された出力34が得られる。
The nine mask data 21a to 21i are added by the adder 30,
It is output as 4-bit data 31 having a range of 0-9. The added data 31 is compared with a certain threshold value data 33 by the comparator 32 in the next stage, binarized, and output as data 34. The threshold data 33 can be appropriately set by a manual or the like. (By changing the threshold value data 33, the smoothing characteristic is somewhat changed.) As a result, the binarized output 34 is obtained.

第7図(a)はマスクデータが1ビツトの場合のマス
ク処理を行う前の状態を示したもので、第7図(b)は
処理後のマスクデータを示したものである。
FIG. 7 (a) shows the state before the mask processing when the mask data is one bit, and FIG. 7 (b) shows the mask data after the processing.

第7図(a)において、斜線部が0(即ちマスクする
部分)を示し、実際は線70に沿つた斜め45°のマスクを
期待したいのだが、荒いマスクデータ又は変倍作用(拡
大作用)等によりマスク目が拡大され、図に示される様
に荒いギザギザになつている。
In FIG. 7 (a), the shaded portion shows 0 (that is, the portion to be masked), and in reality, we would like to expect a 45 ° diagonal mask along the line 70, but rough mask data or zooming (magnifying), etc. As a result, the eyes of the mask are enlarged and roughened as shown in the figure.

第7図(b)は処理を行つた結果を示す図で、各数値
は3×3のマトリクスでのマスクデータの加算結果31を
示している。今閾値データ33を5に選び、 データ≧5 → 出力=1 データ<5 → 出力=0 となる方に決めたとすると、第7図(b)の斜線部が0
となる。この結果、斜めエツジ部は線70に近くなり、よ
り自然な平滑化されたものとなるため、マスクされ抽出
された画像の境界は滑らかにみえるようになる。
FIG. 7 (b) is a diagram showing the result of performing the processing, and each numerical value shows the addition result 31 of the mask data in the 3 × 3 matrix. Now, if the threshold value data 33 is selected to be 5 and it is determined that data ≧ 5 → output = 1 data <5 → output = 0, the shaded area in FIG. 7 (b) is 0.
Becomes As a result, the diagonal edge portion becomes closer to the line 70 and becomes a more natural smoothed portion, so that the boundary of the masked and extracted image can be seen smoothly.

以上本実施例においては3×3のマトリクスについて
説明したがハードウエア等の制約がなければ、さらに大
きいマトリクスを用いれば、より平滑化の作用は大きく
することができる。
Although the 3 × 3 matrix has been described in the present embodiment, the smoothing action can be further increased by using a larger matrix if there are no restrictions such as hardware.

[他のマトリクスの説明(第8図(a)〜(c))] 第8図(a)は5×5のマトリクスの一例を示す図で
ある。このマトリクスの各要素は重み1で(全て均等
に)加算される。このため加算された結果は0〜25まで
の6ビットの値となるため、後段の回路もこれに合わせ
て設計する必要がある。
[Description of Other Matrices (FIGS. 8A to 8C)] FIG. 8A is a diagram showing an example of a 5 × 5 matrix. Each element of this matrix is added with a weight of 1 (all equally). For this reason, the added result becomes a 6-bit value from 0 to 25, and it is necessary to design the circuit in the subsequent stage accordingly.

第8図(b)は3×3の中心画素に重みを置いた平均
化マトリクスの一例図で平均化走査は中心の値に重点を
置いて行われる。
FIG. 8 (b) is an example of an averaging matrix in which weights are placed on 3 × 3 center pixels, and the averaging scan is performed with emphasis on the center value.

第8図(c)は正方形でない場合の平均化マトリクス
の一例を示した図で、前述の如く平均化のマトリクスを
大きくすると平滑化の作用は大きくなるが、ラインメモ
リ(又はシフトレジスタ)等の部品数が大きくなり、コ
ストが相当高くなる。それに比べ本図に示した主走査
(ラスタの水平)方向のみデイメンジヨンを大きくした
マトリクスを用いると、例えば主走査方向の遅延素子の
追加だけでよくハードコストが安くなるという利点があ
る。
FIG. 8 (c) is a diagram showing an example of the averaging matrix in the case of not being a square. As described above, if the averaging matrix is made larger, the smoothing action becomes larger, but the line memory (or shift register), etc. The number of parts is large and the cost is considerably high. On the other hand, using a matrix having a large dimension only in the main scanning (horizontal horizontal) direction shown in this figure has an advantage that the hardware cost can be reduced by adding, for example, a delay element in the main scanning direction.

[マスク処理回路6の説明(第9図] 第9図は本実施例のマスク処理回路6のブロツク図
で、マスクデータが2ビツトの場合を示している。
[Explanation of Mask Processing Circuit 6 (FIG. 9)] FIG. 9 is a block diagram of the mask processing circuit 6 of the present embodiment, showing the case where the mask data is 2 bits.

マスクデータは2ビツトであるため前述の様に00,01,
10,11の4つの状態をとりうる。今これを上位ビツト、
下位ビツトに分けて分離すると、上位ビツトのみ1のと
きは画像Aのマスク領域を、下位ビツトのみが1のとき
画像Bのマスク領域を示す。第9図はかかる2つのマス
ク領域を同時に平滑化するものである。本回路では10ビ
ツトの画像データのうち上位2ビツトのマスクデータが
マスクデータ分離回路41において分離され、かかる2ビ
ツトのマスクデータのMSB,LSB各々が次段のマスク平滑
化回路43a,43bで平滑化される。このマスク平滑化回路4
3a,43bの回路は第6図(a)(b)で示した1ビツトの
マスク平滑化回路と同じである。
Since the mask data is 2 bits, 00,01,
It can take four states of 10,11. Now this is the top bit,
When divided into lower bits, only the upper bits have a mask area of image A, and only the lower bits have a mask area of image B. FIG. 9 shows that such two mask areas are smoothed simultaneously. In this circuit, the mask data of the upper 2 bits of the image data of 10 bits are separated by the mask data separation circuit 41, and the MSB and LSB of the mask data of 2 bits are smoothed by the mask smoothing circuits 43a and 43b of the next stage. Be converted. This mask smoothing circuit 4
The circuits 3a and 43b are the same as the one-bit mask smoothing circuit shown in FIGS. 6 (a) and 6 (b).

平滑化された2つのマスクデータ62,63のうちセレク
タ45により1種類が選択される。かかる選択はセレクト
信号47により行なわれる。一方2つのマスクの重なり部
分はAND回路44により検出され、ビツト合成器46により
セレクタ45の出力とAND回路44が合成され、再び2ビツ
トの平滑化されたマスクデータ64に変換される。
One of the two smoothed mask data 62, 63 is selected by the selector 45. This selection is made by the select signal 47. On the other hand, the overlapping portion of the two masks is detected by the AND circuit 44, the output of the selector 45 and the AND circuit 44 are combined by the bit combiner 46, and the converted mask data 64 of 2 bits is converted again.

なおビツト合成器46では、セレクト信号47によりAの
画像か又はBの画像かによつてセレクタ45よりの1ビツ
トのマスクデータと、AND回路44よりの出力のいずれか
をMSBにするかを決定する。このためビツト合成器46に
はデコーダが含まれている。しかる後ビツト合成器47で
下位8ビツトに画像データを付加し10ビツトの画像デー
タ50を得る。
The bit synthesizer 46 determines whether the one bit mask data from the selector 45 or the output from the AND circuit 44 is to be the MSB depending on the image A or the image B by the select signal 47. To do. For this reason, the bit combiner 46 includes a decoder. Thereafter, the bit synthesizer 47 adds the image data to the lower 8 bits to obtain the image data 50 of 10 bits.

[画像処理回路のブロツク図の説明(第10図)] 第10図は画像処理回路7の詳細及び後続回路との接続
を示したものである。
[Explanation of Block Diagram of Image Processing Circuit (FIG. 10)] FIG. 10 shows the details of the image processing circuit 7 and the connection with subsequent circuits.

10ビツトの画像データ50は、再び2ビツトのマスクデ
ータ65と8ビツトの画像データ66に分離され、画像デー
タ66はセレクタ51へ入力される。セレクタ51では最初の
画像Aのマスクデータでそのマスクデータ65が10の時、
即ち重なりの無い時にはデコーダ57aよりの信号67によ
りXが選択される。マスクデータ65が重なりのあること
を示す11の場合にはYが選ばれてバツフアメモリ52に画
像データ66が出力される。この時デコーダ57bがR/W信号
68をLOWにしてバツフアメモリ52への書込みを指示す
る。後段のセレクタ54においては、マスクデータ65が10
の時、デコーダ57cよりの信号69によりXが選ばれ、X
より入力された画像データが次段の2値化回路8に出力
される。マスクデータ65が11の時はセレクタ54の入力X,
Y,Zのいずれも選択されず2値化回路8への出力がなさ
れない。
The 10-bit image data 50 is again separated into the 2-bit mask data 65 and the 8-bit image data 66, and the image data 66 is input to the selector 51. In the selector 51, when the mask data 65 of the first image A is 10 and the mask data 65 is 10,
That is, when there is no overlap, X is selected by the signal 67 from the decoder 57a. In the case of 11 indicating that the mask data 65 overlap, Y is selected and the image data 66 is output to the buffer memory 52. At this time, the decoder 57b outputs the R / W signal
Setting 68 to LOW instructs writing to the buffer memory 52. In the subsequent selector 54, the mask data 65 is 10
, The signal 69 from the decoder 57c selects X,
The input image data is output to the binarization circuit 8 in the next stage. When the mask data 65 is 11, the input X of the selector 54,
Neither Y nor Z is selected and no output is made to the binarization circuit 8.

次に2枚目の画像Bの時、マスクデータが01の時には
セレクタ51,54はXが選ばれ画像データ66は、2値化回
路8を経てビツトマツプメモリ9へ記憶される。マスク
データ65が11の時、セレクタ51,54はそれぞれX,Yが選ば
れると同時にバツフアメモリ52のR/W信号68がHIGHにセ
ットされ、前に記憶された画像Aの領域(第5図(b)
における領域11)が読み出される。
Next, in the case of the second image B, when the mask data is 01, X is selected by the selectors 51 and 54 and the image data 66 is stored in the bit map memory 9 through the binarizing circuit 8. When the mask data 65 is 11, the selectors 51 and 54 select X and Y, respectively, and at the same time, the R / W signal 68 of the buffer memory 52 is set to HIGH, and the area of the previously stored image A (see FIG. b)
The area 11) in is read.

セレクタ51のX側を通つた画像データとバツフアメモ
リ52からの2つのデータは、加算器53aで加算された後
2つのデータの平均をとるために、除算器53bで1/2され
る。(これは単に1ビツトシフトするだけでよい。)こ
のデータはセレクタ54のYに入力され、セレクタ54を通
して2値化回路8に入力され2値化されてビツトマツプ
メモリ9へ記憶される。以上まとめると次の表の様にな
る。
The image data passing through the X side of the selector 51 and the two data from the buffer memory 52 are added by the adder 53a and then halved by the divider 53b to average the two data. (This only needs to be shifted by one bit.) This data is inputted to Y of the selector 54, inputted to the binarization circuit 8 through the selector 54, binarized and stored in the bit map memory 9. The above is summarized in the following table.

デコーダ57a〜57dは、マスクデータ(2ビツト)及び
セレクト信号47から、セレクタ51,54、バツフアメモリ5
2、ビツトマツプメモリ9を制御する制御信号を作成す
る。セレクト信号47は例えば1回目の画像データのとき
はLOWレベル、2回目の画像データの時はHIGHレベルに
なる1ビツトの信号である。
The decoders 57a to 57d use the mask data (2 bits) and the select signal 47 to select the selectors 51 and 54 and the buffer memory 5.
2. Create a control signal for controlling the bit map memory 9. The select signal 47 is, for example, a 1-bit signal which becomes LOW level for the first image data and HIGH level for the second image data.

なお本実施例において、第1回目と第2回目の画像の
順序を逆にしてもよい。この時第1回目のマスクデータ
65が11の時バツフアメモリ52へ書き込み、第2回目の時
はバツフアメモリ52から読み出し平均操作を行う事は同
様である。
In the present embodiment, the order of the first and second images may be reversed. At this time, the first mask data
When 65 is 11, writing to the buffer memory 52 is performed, and at the second time, reading from the buffer memory 52 and averaging operation are performed in the same manner.

更に重なり部分のマスクデータ65を11以外にすること
により、例えばセレクタ54のZ入力を選択してバツフア
メモリ52の出力を2値化回路8に出力するようにして対
応する優先した画像をはめこむことができる。
Furthermore, by setting the mask data 65 of the overlapping portion to a value other than 11, for example, selecting the Z input of the selector 54 and outputting the output of the buffer memory 52 to the binarization circuit 8 allows the corresponding priority image to be embedded. You can

[発明の効果] 以上説明したように本発明によれば、互いに異なる複
数の入力画像を、任意の形状でそれぞれ独立して切り出
すとともに、切り出された複数の画像を合成処理する際
の処理機能を多様化できる効果がある。
[Effects of the Invention] As described above, according to the present invention, a plurality of input images that are different from each other are independently cut out in arbitrary shapes, and a processing function when performing a combining process on a plurality of cut out images is provided. There is an effect that can be diversified.

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

第1図は本実施例の画像情報処理装置の概略ブロツク
図、 第2図(a)(b)はマスク画像の一例を示す図、 第3図はマスク情報を付加した画像データの一例を示す
図、 第4図(a)(b)はマスクメモリの内容の一例を示す
図、 第5図(a)(b)はマスクメモリの構成の一例を示す
図、 第6図(a)(b)はマスク平滑化回路のブロブク図、 第7図(a)(b)は平滑化処理を説明するための図、 第8図(a)〜(c)はマトリクスの一例を示す図、 第9図はマスク処理回路のブロツク図、 第10図は画像処理回路のブロツク図である。 図中、3……マスクメモリ、4……ビツト合成器、5…
…変倍回路、6……マスク処理回路、7……画像処理回
路、8……2値化回路、9……ビツトマツプメモリ、23
a,23b……シフトレジスタ、30……加算器、32……コン
パレータ、33……閾値データ、41……マスクデータ分離
回路、45,51,54……セレクタ、47……セレクト信号、52
……バツフアメモリ、57a〜57d……デコーダである。
FIG. 1 is a schematic block diagram of the image information processing apparatus of this embodiment, FIGS. 2A and 2B are diagrams showing an example of a mask image, and FIG. 3 is an example of image data to which mask information is added. 4 (a) and 4 (b) are diagrams showing an example of the contents of the mask memory, FIGS. 5 (a) and 5 (b) are diagrams showing an example of the configuration of the mask memory, and FIGS. 6 (a) and 6 (b). ) Is a block diagram of the mask smoothing circuit, FIGS. 7A and 7B are diagrams for explaining the smoothing process, FIGS. 8A to 8C are diagrams showing an example of a matrix, and FIG. FIG. 10 is a block diagram of the mask processing circuit, and FIG. 10 is a block diagram of the image processing circuit. In the figure, 3 ... Mask memory, 4 ... Bit synthesizer, 5 ...
… Scaling circuit, 6 …… Mask processing circuit, 7 …… Image processing circuit, 8 …… Binarization circuit, 9 …… Bitmap memory, 23
a, 23b …… Shift register, 30 …… Adder, 32 …… Comparator, 33 …… Threshold data, 41 …… Mask data separation circuit, 45,51,54 …… Selector, 47 …… Select signal, 52
... buffer memory, 57a-57d ... decoder.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭58−217076(JP,A) 特開 昭52−106625(JP,A) 特開 昭50−122832(JP,A) 特開 昭57−142092(JP,A) 特開 昭61−80466(JP,A) 特開 昭59−170959(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-58-217076 (JP, A) JP-A-52-106625 (JP, A) JP-A-50-122832 (JP, A) JP-A-57- 142092 (JP, A) JP 61-80466 (JP, A) JP 59-170959 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】互いに異なる第1と第2の画像をそれぞれ
表す第1と第2の画像データを入力する入力手段と、 前記第1と第2の画像をそれぞれ独立して切り出すため
の第1と第2の領域データを発生する領域データ発生手
段と、 前記第1と第2の領域データによって表される第1と第
2の領域の重複部分を検出する検出手段と、 前記第1と第2の領域データを用いて前記第1と第2の
画像を切り出すとともに、前記検出手段により検出され
た重複部分における処理内容を指示する信号に従って前
記第1と第2の画像を合成する合成手段と、 を有することを特徴とする画像情報処理装置。
1. Input means for inputting first and second image data representing respectively different first and second images, and a first for independently cutting out the first and second images. And area data generating means for generating second area data, detection means for detecting an overlapping portion of the first and second areas represented by the first and second area data, and the first and second areas. A synthesizing unit for slicing the first and second images using the second area data, and synthesizing the first and second images in accordance with a signal instructing the processing content in the overlapping portion detected by the detecting unit. An image information processing apparatus comprising:
【請求項2】更に、前記第1と第2の領域データを平滑
化する平滑化手段を有することを特徴とする特許請求の
範囲第1項に記載の画像情報処理装置。
2. The image information processing apparatus according to claim 1, further comprising smoothing means for smoothing the first and second area data.
JP60161747A 1985-07-19 1985-07-24 Image information processing device Expired - Lifetime JP2568172B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP60161747A JP2568172B2 (en) 1985-07-24 1985-07-24 Image information processing device
US07/715,897 US5222159A (en) 1985-07-19 1991-06-19 Image processing method and apparatus for extracting a portion of image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60161747A JP2568172B2 (en) 1985-07-24 1985-07-24 Image information processing device

Publications (2)

Publication Number Publication Date
JPS6224369A JPS6224369A (en) 1987-02-02
JP2568172B2 true JP2568172B2 (en) 1996-12-25

Family

ID=15741116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60161747A Expired - Lifetime JP2568172B2 (en) 1985-07-19 1985-07-24 Image information processing device

Country Status (1)

Country Link
JP (1) JP2568172B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2646000B2 (en) * 1987-08-27 1997-08-25 富士通株式会社 Image data processing device
JPH0227483A (en) * 1988-07-18 1990-01-30 Canon Inc Picture editing device
JPH071047U (en) * 1992-04-06 1995-01-10 定雄 高 Remortar with crushed tire
WO2005103877A1 (en) * 2004-04-22 2005-11-03 Fujitsu Limited Image processing device and graphics memory device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57546B2 (en) * 1974-03-14 1982-01-07
JPS605104B2 (en) * 1976-03-05 1985-02-08 株式会社東芝 Video special effects equipment
US4168510A (en) * 1978-01-16 1979-09-18 Cbs Inc. Television system for displaying and recording paths of motion
JPS57142092A (en) * 1981-02-27 1982-09-02 Matsushita Electric Ind Co Ltd Special effect generator
JPS5837647A (en) * 1981-08-28 1983-03-04 Dainippon Screen Mfg Co Ltd Formation of blanking mask
JPS58217076A (en) * 1982-06-11 1983-12-16 Victor Co Of Japan Ltd Picture storage device
JPS6180466A (en) * 1984-09-28 1986-04-24 Yokogawa Hokushin Electric Corp Image operator

Also Published As

Publication number Publication date
JPS6224369A (en) 1987-02-02

Similar Documents

Publication Publication Date Title
EP0597555B1 (en) Image processing apparatus
US5034806A (en) Image processing apparatus and method
US5222159A (en) Image processing method and apparatus for extracting a portion of image data
US5717793A (en) High quality image size change
JP2967011B2 (en) Image processing method and apparatus
US6289136B1 (en) Image processing method and apparatus
JP2568172B2 (en) Image information processing device
JPH1070654A (en) Image processor
US6232978B1 (en) Image processing apparatus, and method of controlling same, using a combination of enlargement and fixed ratio reduction processing
JP2784278B2 (en) Image scaling processor
JPH0253761B2 (en)
JPS6353586B2 (en)
JPH07118002B2 (en) Image processing device
JPH01303578A (en) Picture converting device
JPH06113106A (en) Data reading processor
JP2993007B2 (en) Image area identification device
JP2840306B2 (en) Area processing method of image processing apparatus
JP2613589B2 (en) Mask processing method
JP3048152B2 (en) Image reduction device
JP2559710B2 (en) Image processing method
JP3576575B2 (en) Image processing apparatus and image processing method
JPH05342340A (en) Method for picture processing and device therefor
JP2839578B2 (en) Image data input processing device
JP2698382B2 (en) Image composition method
JP2926842B2 (en) Character extraction circuit

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term