JPH10215368A - Image processing unit and method - Google Patents

Image processing unit and method

Info

Publication number
JPH10215368A
JPH10215368A JP9018420A JP1842097A JPH10215368A JP H10215368 A JPH10215368 A JP H10215368A JP 9018420 A JP9018420 A JP 9018420A JP 1842097 A JP1842097 A JP 1842097A JP H10215368 A JPH10215368 A JP H10215368A
Authority
JP
Japan
Prior art keywords
transparency
mask pattern
image
processing
input 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.)
Withdrawn
Application number
JP9018420A
Other languages
Japanese (ja)
Inventor
Atsushi Nochida
淳 後田
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 JP9018420A priority Critical patent/JPH10215368A/en
Publication of JPH10215368A publication Critical patent/JPH10215368A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To synthesize a binary image having transparency. SOLUTION: A transparency mask generating circuit 10 generates a transparency mask pattern according to a transparency α denoted by an inputted transparency signal. A transparent processing circuit 12 ANDs between an inputted image A and the transparency mask pattern for every pixels, an opaque processing circuit 14 ANDs between an inputted image B and an input turning the transparency mask pattern for every pixels. An image synthesis circuit 16 ORs an output of the transparency processing circuit 12 and an output of the opaque processing circuit 14 to output the ORed signal.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、2つの2値画像を
重ね合成する画像処理装置及び方法に関する。
The present invention relates to an image processing apparatus and method for superimposing and combining two binary images.

【0002】[0002]

【従来の技術】従来、2つの2値画像を重ねてひとつの
2値画像を生成する方法として、各画素間の論理積(ア
ンド)を取る方法があり、その他には、各種論理演算
(ノット、オア及び排他的オア等)を組み合わせて特殊
な効果を与える方法も知られている。
2. Description of the Related Art Conventionally, as a method of generating one binary image by superimposing two binary images, there is a method of obtaining a logical product (AND) between pixels, and other methods include various logical operations (knots). , OR and exclusive OR) are also known to provide special effects.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来例では、
2つの画像の合成比率を指定できないという欠点があっ
た。従って、疑似中間調表現された2値画像をなめらか
に合成することは不可能であった。
However, in the conventional example,
There is a drawback that the composition ratio of two images cannot be specified. Therefore, it has been impossible to smoothly combine a binary image expressed in pseudo halftone.

【0004】本発明は、このような課題を解決し、2値
画像を透明度を持たせて合成できる画像処理装置及び方
法を提供することを目的とする。
An object of the present invention is to provide an image processing apparatus and method capable of solving such a problem and synthesizing a binary image with transparency.

【0005】[0005]

【課題を解決するための手段】本発明に係る画像処理装
置は、指定された透明度に対応したマスク・パターンを
生成する透明度マスク生成手段と、当該マスク・パター
ンにより第1の入力画像を透明化する透明化処理手段
と、当該マスク・パターンにより第2の入力画像を不透
明化する不透明化処理手段と、当該透明化処理手段の出
力と当該不透明化処理手段の出力を合成する画像合成手
段とを有することを特徴とする。
An image processing apparatus according to the present invention comprises a transparency mask generating means for generating a mask pattern corresponding to a specified transparency, and a first input image made transparent by the mask pattern. Transparent processing means, opacity processing means for opaque the second input image by the mask pattern, and image synthesizing means for synthesizing the output of the transparent processing means and the output of the opacity processing means. It is characterized by having.

【0006】本発明に係る画像処理方法は、指定された
透明度に対応したマスク・パターンを生成する透明度マ
スク生成ステップと、当該マスク・パターンにより第1
の入力画像を透明化する透明化処理ステップと、当該マ
スク・パターンにより第2の入力画像を不透明化する不
透明化処理ステップと、当該透明化処理ステップの結果
と当該不透明化処理ステップの結果を合成する画像合成
ステップとを有することを特徴とする。
[0006] An image processing method according to the present invention includes a transparency mask generating step of generating a mask pattern corresponding to a designated transparency, and a first step of generating a first mask by the mask pattern.
, An opacity processing step for opacity of the second input image by the mask pattern, and a result of the opacity processing step and a result of the opacity processing step are combined. And an image synthesizing step.

【0007】透明化処理手段又はステップは、第1の入
力画像のオン画素の内、透明度で指定した比率の画素を
オンとするように作用し、不透明化処理手段又はステッ
プは、第2の入力画像のオン画素の内、透明度で指定し
た比率の画素をオフとするように作用する。透明化処理
手段又はステップの出力と当該不透明化処理手段又はス
テップの出力の合成結果は、透明度に応じた比率の合成
画像となる。即ち、2値画像を透明度を持たせて合成で
きる。
[0007] The transparency processing means or step acts to turn on a pixel having a ratio designated by the transparency among the ON pixels of the first input image, and the opacity processing means or step provides the second input image. It works to turn off the pixels of the ratio specified by the transparency among the ON pixels of the image. The composite result of the output of the transparency processing means or step and the output of the opacity processing means or step becomes a composite image having a ratio according to the transparency. That is, a binary image can be synthesized with transparency.

【0008】[0008]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0009】図1は、本発明の一実施例の概略構成ブロ
ック図である。図1において、10は透明度αを指示す
る透明度信号に応じて透明度マスク・パターン(透明度
マスク)を生成する透明度マスク生成回路、12は、当
該透明度マスク生成回路10の出力する透明度マスク・
パターンにより第1の入力画像Aを透明化する透明化処
理回路、14は、当該透明度マスク生成回路10の出力
する透明度マスク・パターンにより第2の入力画像Bを
不透明化する不透明化処理回路、16は透明化処理回路
12の出力と不透明化処理回路14の出力を画像合成す
る画像合成回路である。
FIG. 1 is a schematic block diagram of an embodiment of the present invention. In FIG. 1, reference numeral 10 denotes a transparency mask generation circuit that generates a transparency mask pattern (transparency mask) according to a transparency signal indicating transparency α, and 12 denotes a transparency mask output by the transparency mask generation circuit 10.
A transparency processing circuit for making the first input image A transparent by a pattern; Is an image synthesizing circuit for synthesizing the output of the transparency processing circuit 12 and the output of the opacity processing circuit 14.

【0010】本実施例の動作を説明する。透明度マスク
生成回路10は、入力した透明度信号が示す透明度αに
従って透明度マスク・パターンを生成する。なお、透明
度αは、0から1の範囲の値をとり、0が完全な不透明
(下になる画像が完全に見えない)状態、1が完全な透
明(下になる画像がすべて見える)状態を表わすものと
する。図2は、マスク・パターンのオン/オフを決定す
るしきい値の一例である。透明度マスク生成回路10
は、しきい値がα/64以上である位置の画素がオンと
なる透明度マスク・パターンを生成する。図3は、生成
された透明度マスク・パターンの例を示す。図3
(1)、同(2)及び同(3)は、それぞれ、透明度α
=0.25、0.5及び0.75の透明度マスク・パタ
ーンである。黒の画素部分が完全な不透明(不透明画
素)、白の画素部分が完全な透明(透明画素)である。
The operation of the embodiment will be described. The transparency mask generation circuit 10 generates a transparency mask pattern according to the transparency α indicated by the input transparency signal. Note that the transparency α takes a value in the range of 0 to 1, and 0 is a completely opaque state (the underlying image is not completely visible) and 1 is a completely transparent (the underlying image is all visible) state. Shall be expressed. FIG. 2 is an example of a threshold value for determining ON / OFF of a mask pattern. Transparency mask generation circuit 10
Generates a transparency mask pattern in which pixels at positions where the threshold value is equal to or greater than α / 64 are turned on. FIG. 3 shows an example of the generated transparency mask pattern. FIG.
(1), (2) and (3) indicate the transparency α
= 0.25, 0.5 and 0.75 transparency mask patterns. Black pixel portions are completely opaque (opaque pixels), and white pixel portions are completely transparent (transparent pixels).

【0011】透明化処理回路12は、入力画像Aと透明
度マスク生成回路10から出力される透明度マスク・パ
ターンとの間で、各画素毎に論理積(アンド)を取る。
ここでは、透明度マスク・パターンは縦横8画素、合計
16画素からなるとしたので、8画素ごとの繰り返しで
適用される。これにより、入力画像Aのオン画素の内、
透明度マスク・パターンの透明画素に対応する画素がオ
ンとなる。図4は、透明化処理回路12により処理され
た入力画像Aの例を示す。図4(1)は入力画像A、同
(2)は透明度マスク・パターンを入力画像Aと同じサ
イズになるように繰り返したもの、同(3)は透明化処
理結果である。
The transparency processing circuit 12 performs a logical product (AND) for each pixel between the input image A and the transparency mask pattern output from the transparency mask generation circuit 10.
Here, since the transparency mask pattern is assumed to be composed of a total of 16 pixels, that is, 8 pixels vertically and horizontally, it is applied by repeating every 8 pixels. Thereby, among the ON pixels of the input image A,
Pixels corresponding to the transparent pixels of the transparency mask pattern are turned on. FIG. 4 shows an example of the input image A processed by the transparency processing circuit 12. 4A shows an input image A, FIG. 4B shows a result obtained by repeating the transparency mask pattern so as to have the same size as the input image A, and FIG.

【0012】不透明化処理回路14は、入力画像Bと透
明度マスク生成回路10から出力される透明度マスク・
パターンを反転したものとの間で、各画素毎に論理積
(アンド)を取る。これにより、入力画像Bのオン画素
の内、透明度マスク・パターンの不透明画素に対応する
画素がオフとなる。図5は、不透明化処理回路14の処
理例を示す。図5(1)は入力画像B、同(2)は、透
明度マスク・パターンを反転したものを入力画像Bと同
じサイズになるように繰り返したもの、同(3)は処理
結果である。
The opacity processing circuit 14 includes an input image B and a transparency mask output from the transparency mask generation circuit 10.
The logical product (AND) is calculated for each pixel with the inverted pattern. As a result, among the ON pixels of the input image B, the pixels corresponding to the opaque pixels of the transparency mask pattern are turned OFF. FIG. 5 shows a processing example of the opacity processing circuit 14. FIG. 5A shows an input image B, FIG. 5B shows a result obtained by repeating an inverted transparency mask pattern so as to have the same size as the input image B, and FIG.

【0013】画像合成回路16は、透明化処理回路12
の出力と不透明化処理回路14の出力の論理和(オア)
を取って、出力する。図6は、図4(3)に示す透明化
処理回路12の処理結果と、図5(3)に示す不透明化
処理回路14の処理結果を合成した結果を示す。
The image synthesizing circuit 16 includes a transparency processing circuit 12
OR of the output of the opaque processing circuit 14 with the output of the
Take and output. FIG. 6 shows a result obtained by combining the processing result of the transparency processing circuit 12 shown in FIG. 4C and the processing result of the opacity processing circuit 14 shown in FIG.

【0014】本実施例により、2値画像を、透明度を持
たせて合成できるようになった。また、本発明は、カラ
ー2値画像の合成にも適用できる。例えば、YMCKか
らなるカラー2値画像を合成する場合には、YMCKの
各成分に対して前述の処理を行なえば良い。
According to this embodiment, a binary image can be synthesized with transparency. The present invention is also applicable to the synthesis of a color binary image. For example, when synthesizing a color binary image composed of YMCK, the above-described processing may be performed on each component of YMCK.

【0015】なお、本発明の一部又は全部の機能は、ソ
フトウエア又はハードウエアのどちらによっても実現で
きることはいうまでもない。
It is needless to say that some or all of the functions of the present invention can be realized by software or hardware.

【0016】[0016]

【発明の効果】以上の説明から容易に理解できるよう
に、本発明によれば、2つの2値画像を、所望の透明度
で合成できるようになった。
As can be easily understood from the above description, according to the present invention, two binary images can be synthesized with desired transparency.

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

【図1】 本発明の一実施例の概略構成ブロック図であ
る。
FIG. 1 is a schematic block diagram of an embodiment of the present invention.

【図2】 透明度マスク・パターン生成のためのしきい
値の一例である。
FIG. 2 is an example of a threshold value for generating a transparency mask pattern.

【図3】 透明度マスク・パターンの例である。FIG. 3 is an example of a transparency mask pattern.

【図4】 透明化処理回路12の処理例である。FIG. 4 is a processing example of a transparency processing circuit 12;

【図5】 不透明化処理回路14の処理例である。FIG. 5 is a processing example of an opacity processing circuit 14;

【図6】 出力画像例である。FIG. 6 is an example of an output image.

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

10:透明度マスク生成回路 12:透明化処理回路 14:不透明化処理回路 16:画像合成回路 10: transparency mask generation circuit 12: transparency processing circuit 14: opacity processing circuit 16: image synthesis circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 指定された透明度に対応したマスク・パ
ターンを生成する透明度マスク生成手段と、当該マスク
・パターンにより第1の入力画像を透明化する透明化処
理手段と、当該マスク・パターンにより第2の入力画像
を不透明化する不透明化処理手段と、当該透明化処理手
段の出力と当該不透明化処理手段の出力を合成する画像
合成手段とを有することを特徴とする画像処理装置。
1. A transparency mask generating means for generating a mask pattern corresponding to a designated transparency, a transparency processing means for making a first input image transparent by the mask pattern, and a transparency processing means by the mask pattern. 2. An image processing apparatus, comprising: an opacity processing means for opaque input image; and an image synthesizing means for synthesizing an output of the transparency processing means and an output of the opacity processing means.
【請求項2】 当該透明度マスク生成手段は、透明度に
対応した割合の画素をオンにしたマスク・パターンを生
成する請求項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein said transparency mask generation means generates a mask pattern in which pixels of a ratio corresponding to the transparency are turned on.
【請求項3】 当該透明化処理手段は、当該第1の入力
画像と当該マスク・パターンとの間で画素毎に論理積を
とり、当該不透明化処理手段は、当該第2の入力画像と
当該マスク・パターンを反転したものとの間で画素毎に
論理積をとる請求項1又は2に記載の画像処理装置。
3. The transparency processing means calculates a logical product for each pixel between the first input image and the mask pattern, and the opacity processing means performs a logical product operation on the second input image and the mask pattern. 3. The image processing apparatus according to claim 1, wherein a logical product is obtained for each pixel between the mask pattern and the inverted one.
【請求項4】 指定された透明度に対応したマスク・パ
ターンを生成する透明度マスク生成ステップと、当該マ
スク・パターンにより第1の入力画像を透明化する透明
化処理ステップと、当該マスク・パターンにより第2の
入力画像を不透明化する不透明化処理ステップと、当該
透明化処理ステップの結果と当該不透明化処理ステップ
の結果を合成する画像合成ステップとを有することを特
徴とする画像処理方法。
4. A transparency mask generating step for generating a mask pattern corresponding to the designated transparency, a transparency processing step for rendering a first input image transparent by the mask pattern, and a transparency masking step by the mask pattern. 2. An image processing method, comprising: an opacity processing step of making an input image opaque; and an image synthesis step of synthesizing a result of the transparency processing step and a result of the opacity processing step.
【請求項5】 当該透明度マスク生成ステップは、透明
度に対応した割合の画素をオンにしたマスク・パターン
を生成する請求項4に記載の画像処理方法。
5. The image processing method according to claim 4, wherein the transparency mask generating step generates a mask pattern in which pixels of a ratio corresponding to the transparency are turned on.
【請求項6】 当該透明化処理ステップは、当該第1の
入力画像と当該マスク・パターンとの間で画素毎に論理
積をとり、当該不透明化処理ステップは、当該第2の入
力画像と当該マスク・パターンを反転したものとの間で
画素毎に論理積をとる請求項4又は5に記載の画像処理
方法。
6. The transparency processing step performs a logical product operation on the pixel between the first input image and the mask pattern, and the opacity processing step performs the logical operation on the second input image and the mask pattern. 6. The image processing method according to claim 4, wherein a logical product is obtained for each pixel between the mask pattern and the inverted one.
JP9018420A 1997-01-31 1997-01-31 Image processing unit and method Withdrawn JPH10215368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9018420A JPH10215368A (en) 1997-01-31 1997-01-31 Image processing unit and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9018420A JPH10215368A (en) 1997-01-31 1997-01-31 Image processing unit and method

Publications (1)

Publication Number Publication Date
JPH10215368A true JPH10215368A (en) 1998-08-11

Family

ID=11971173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9018420A Withdrawn JPH10215368A (en) 1997-01-31 1997-01-31 Image processing unit and method

Country Status (1)

Country Link
JP (1) JPH10215368A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001057800A2 (en) * 2000-02-04 2001-08-09 America Online Incorporated Method for determining transparency in the extraction of images
EP2026324A2 (en) * 2007-08-14 2009-02-18 Seiko Epson Corporation Image processing circuit, display device, and printing device
WO2014117839A1 (en) * 2013-01-31 2014-08-07 Hewlett-Packard Development Company, L.P. Generating image data, and printed article

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001057800A2 (en) * 2000-02-04 2001-08-09 America Online Incorporated Method for determining transparency in the extraction of images
WO2001057800A3 (en) * 2000-02-04 2002-07-11 America Online Inc Method for determining transparency in the extraction of images
US7054488B2 (en) 2000-02-04 2006-05-30 America Online, Inc. Method for determining transparency in images extraction
EP2026324A2 (en) * 2007-08-14 2009-02-18 Seiko Epson Corporation Image processing circuit, display device, and printing device
WO2014117839A1 (en) * 2013-01-31 2014-08-07 Hewlett-Packard Development Company, L.P. Generating image data, and printed article

Similar Documents

Publication Publication Date Title
EP0568361A2 (en) A colour generation and mixing device
JPH10285459A (en) Image converter and image conversion method
JP4900990B2 (en) Special effect image creation device
KR100542958B1 (en) Method and apparatus for generating composite image, and information processing system
JPH10215368A (en) Image processing unit and method
JP2503854B2 (en) Mixed circuit
JP2756048B2 (en) Color image color adjustment and image synthesis method and apparatus
KR100321771B1 (en) Image composition system and method based on the cell division
JP2734099B2 (en) Blur image synthesis processing method
JP2756047B2 (en) Color image color adjustment method and apparatus, and image synthesis method
JP3642952B2 (en) Image composition method and apparatus, and information processing system
JP2910137B2 (en) Video signal synthesizer
JP4617601B2 (en) Image switching device
JPH04122991A (en) Composing method for image and character
JP3585036B2 (en) Image generation method
JP2001111820A (en) Image magnification device and image magnification method
JPS63182781A (en) Picture processor
JPH07154819A (en) Chroma key synthesizing device
JP2624132B2 (en) Video synthesis device
JP2921391B2 (en) Video special effects device
CA3192788A1 (en) Method and device for emulating a headlamp that is partially covered by a mask
JP3346853B2 (en) Color image processing equipment
JP3098389B2 (en) Super signal synthesizer and super signal synthesis method
JP2006041946A (en) Image correcting device and imaging device
JPH04274681A (en) Video adjustment device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040406