JPH0728986A - Picture synthesis processor - Google Patents

Picture synthesis processor

Info

Publication number
JPH0728986A
JPH0728986A JP5238679A JP23867993A JPH0728986A JP H0728986 A JPH0728986 A JP H0728986A JP 5238679 A JP5238679 A JP 5238679A JP 23867993 A JP23867993 A JP 23867993A JP H0728986 A JPH0728986 A JP H0728986A
Authority
JP
Japan
Prior art keywords
pixel
foreground
transparent
information
transparency
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.)
Pending
Application number
JP5238679A
Other languages
Japanese (ja)
Inventor
Yutaka Ogawa
裕 尾河
Isao Uesawa
功 上澤
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5238679A priority Critical patent/JPH0728986A/en
Publication of JPH0728986A publication Critical patent/JPH0728986A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To reduce the transfer amount of data required for obtaining the picture element values of synthetic picture elements and to reduce the arithmetic operation processing amount of transparent synthesis in a picture processor for performing the transparent synthesis. CONSTITUTION:Foreground picture elements are classified into the three kinds of transparent/non-transparent/translucent depending on the values of the transparency information (Fa) of the foreground picture elements among inputted picture data (S11). Corresponding to the classified kinds, as the picture element value after the synthesis, the picture element value Rabgr of background picture elements is set when the foreground picture elements are transparent (S15 and S16), the picture element value Fbgr of the foreground picture elements is set at the time of the non-transparent (S17 and S18) and the picture element value after the synthesis is calculated in transparent synthesis when the foreground picture elements are translucent (S1D and S18). Thus, only the picture element value of the background picture elements is transferred in the case of the transparent, only the picture element value of the foreground picture elements is transferred in the case of the non-transparent and the entire data required for a transparent synthesis arithmetic operation are transferred only in the case of the translucent.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、多値画像の透かし合成
を行うことのできる画像合成処理装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image synthesizing processing device capable of synthesizing watermarks of multi-valued images.

【0002】[0002]

【従来の技術】従来公知の画像合成方式として、例え
ば、Computer Graphics誌 Volu
me 18, Number 3 (July 198
4) ”Composing Digital Ima
ges” に記載されているように、画像の各画素に対
して、画素の値と透明度を設定することにより、画像間
で合成処理を行う際に、透明度の値に従って、各画素の
画素値の配合比を変化させ、前景画像を通してうっすら
と背景画像が透けて見えるような、透かし合成を行う技
術がある。画像の編集等で、前景となる画像と背景画像
との間で、透かし合成を行う場合、従来は、前景画像と
背景画像の、画像の色情報、輝度情報等と、透かし合成
のためのマスク情報を各々処理部に与え、透かし合成を
行っていた。
2. Description of the Related Art As a conventionally known image compositing method, for example, Volu of Computer Graphics Volu
me 18, Number 3 (July 198
4) "Composing Digital Ima
As described in “ges”, by setting the pixel value and the transparency for each pixel of the image, when performing the compositing process between the images, the pixel value of each pixel is calculated according to the transparency value. There is a technique for watermark composition that changes the mixture ratio so that the background image can be seen through through the foreground image.Watermark composition is performed between the foreground image and the background image by editing the image. In this case, conventionally, the color information, the brightness information, and the like of the foreground image and the background image and the mask information for watermark composition are given to the respective processing units to perform the watermark composition.

【0003】[0003]

【発明が解決しようとする課題】しかし、従来の技術で
は、画像の色情報、輝度情報等(以下、画像情報)だけ
でなくマスク情報についても画像データと同様の形式で
処理部に与えていたため、透かし合成を行う場合には、
透かし合成を行わない場合(前景と背景の各々につい
て、フルカラーの場合、画素情報3面づつ、グレー画像
の場合、画素情報1面づつ)の1.3倍(前景と背景の
各々について、画素情報3面とマスク情報1面)から2
倍(前景と背景の各々について、画素情報1面とマスク
情報1面)程度のデータ転送が必要であるという欠点が
あった。
However, in the conventional technique, not only the color information, the brightness information and the like (hereinafter, image information) of the image but also the mask information is given to the processing unit in the same format as the image data. , When watermark composition is performed,
1.3 times (pixel information for each of the foreground and background) without watermark composition (for each of the foreground and background, three pieces of pixel information in the case of full color, one piece of pixel information in the case of a gray image) 2 from 3 and mask information 1)
There is a drawback in that about twice as much data needs to be transferred (one for pixel information and one for mask information for each foreground and background).

【0004】そこで、本発明は、透かし合成を行う際
の、データ転送量を削減することのできる画像合成処理
装置を提供することを課題とする。
Therefore, an object of the present invention is to provide an image synthesizing processing apparatus capable of reducing the amount of data transfer when performing watermark synthesizing.

【0005】[0005]

【課題を解決するための手段】本発明(請求項1)は、
多値画像の透かし合成の機能を有する画像処理装置にお
いて、前景画素を、前景画素の透明度情報により、透
明、不透明、および半透明の3種類に分類し、分類ごと
に処理の内容を切替えることを特徴とする。ここで、透
明とは、合成後は背景画素のみの値を持つ画素の属性で
あり、不透明とは、合成後は前景画素のみの値を持つ画
素の属性であり、半透明とはそれら透明および不透明以
外の値を持つ画素の属性を意味する。
The present invention (Claim 1) includes:
In an image processing device having a watermark composition function of a multi-valued image, foreground pixels are classified into three types of transparent, opaque, and semi-transparent according to the transparency information of the foreground pixels, and the content of the process is switched for each classification. Characterize. Here, “transparent” is an attribute of a pixel having a value of only a background pixel after combination, and “opaque” is an attribute of a pixel having a value of only a foreground pixel after combination, and “translucent” is an attribute of the pixel. It means the attribute of a pixel that has a value other than opaque.

【0006】本発明(請求項2)は、多値画像の透かし
合成の機能を有する画像処理装置において、前景画素
を、前景画素の透明度情報により、透明、不透明、およ
び半透明の3種類に分類し、かつ、前景画素の半透明の
ものについて、背景画素を、背景画素の透明度情報によ
り、透明、不透明、半透明の3種類に分類することによ
り、入力された画素の組み合わせを5種類に分類し、分
類ごとに処理の内容を切替えることを特徴とする。
According to the present invention (claim 2), in an image processing apparatus having a function of watermark composition of a multi-valued image, foreground pixels are classified into three types of transparent, opaque and semi-transparent according to the transparency information of the foreground pixels. For the semi-transparent foreground pixels, the background pixels are classified into three types of transparent, opaque, and semi-transparent according to the transparency information of the background pixels, thereby classifying the input pixel combinations into five types. However, the content of the processing is switched for each classification.

【0007】上記各発明において、透明度情報を圧縮し
た形式で処理部に転送するよう構成することができる。
In each of the above inventions, the transparency information can be transferred to the processing unit in a compressed format.

【0008】[0008]

【作用】透かし合成を行う画像処理装置の透かし合成後
の画像の画素値(Dbgr)は、後述する式(2)に示
すように、 Dbgr={(1−Fa)×Ra×Rbgr+Fa×F
bgr}÷Da で表される。但し、Faは前景画素の透明度、Raは背
景画素の透明度、Fbgrは前景画素の画素値、Rbg
rは背景画素の画素値、Daは合成後の透明度である。
FaまたはRaが、0のとき透明、1のとき不透明、0
と1の間にあるとき半透明である。後述する図3の表に
示すように、前景画素が透明のときは合成後の画素値D
bgrは背景画素の画素値Rbgrとなり、前景画素が
不透明のときは合成後の画素値Dbgrは前景画素の画
素値Fbgrとなる。前景画素が半透明のときにのみ式
(2)による計算が必要となる。従って、本発明(請求
項1)の画像処理装置は、入力された画像データのうち
前景画素の透明度情報(Fa)の値によって、前景画素
を透明/不透明/半透明の3種に分類し、その分類され
た種類に応じて、合成後の画素値として、前景画素が透
明のときは背景画素の画素値を用い、不透明のときには
前景画素の画素値を用いる処理を行い、式(2)による
演算処理は行わず、前景画素が半透明のときにのみ式
(2)により合成後の画素値を求める。このようにする
ことにより、透明の場合は背景画素の画素値だけを転送
すればよく、また不透明の場合には前景画素の画素値の
みを転送すればよく、半透明の場合のみ式(2)の演算
に必要な全データを転送するので、合成画素の画素値を
求めるのに必要なデータの転送量を少なくすることがで
きるともに、透かし合成の演算処理量を少なくすること
ができる。
The pixel value (Dbgr) of the watermark-combined image of the image processing apparatus for watermark composition is Dbgr = {(1-Fa) * Ra * Rbgr + Fa * F as shown in equation (2) described later.
It is represented by bgr} ÷ Da. Here, Fa is the transparency of the foreground pixel, Ra is the transparency of the background pixel, Fbgr is the pixel value of the foreground pixel, and Rbg.
r is the pixel value of the background pixel, and Da is the transparency after combination.
When Fa or Ra is 0, it is transparent, when 1 is opaque, and 0
It is translucent when it is between 1 and 1. As shown in the table of FIG. 3 described later, when the foreground pixel is transparent, the pixel value D after composition is D.
bgr becomes the pixel value Rbgr of the background pixel, and when the foreground pixel is opaque, the combined pixel value Dbgr becomes the pixel value Fbgr of the foreground pixel. Only when the foreground pixel is semi-transparent, the calculation by the equation (2) is necessary. Therefore, the image processing apparatus of the present invention (Claim 1) classifies the foreground pixel into three types of transparent / opaque / semi-transparent according to the value of the transparency information (Fa) of the foreground pixel in the input image data, According to the classified type, the pixel value of the background pixel is used when the foreground pixel is transparent, and the pixel value of the foreground pixel is used when the foreground pixel is transparent, as the combined pixel value. The arithmetic processing is not performed, and the combined pixel value is obtained by the equation (2) only when the foreground pixel is semitransparent. By doing so, only the pixel value of the background pixel needs to be transferred in the case of transparent, and only the pixel value of the foreground pixel needs to be transferred in the case of opaque, and only in the case of semi-transparent formula (2). Since all the data required for the calculation of is transferred, it is possible to reduce the transfer amount of the data necessary for obtaining the pixel value of the composite pixel and also to reduce the calculation processing amount of the watermark composition.

【0009】本発明(請求項2)は、上述の発明(請求
項1)の分類をさらにきめ細かくしたものであり、前景
画素を透明/不透明/半透明の3種に分類し、さらに前
景画素が半透明である場合には、背景画素により透明/
不透明/半透明の3種に分類する。そうすると後述する
図4の表に示すように、前景画素と背景画素の透明度情
報の組み合わせにより5種に分類できる。前景画素が透
明および不透明の場合以外にも、前景画素が半透明で、
背景画素が透明である分類の場合には、合成後の画素値
として前景画素の画素値をそのまま用いることができる
ので、請求項1の発明に比べてより一層のデータ転送量
の削減と透かし合成処理の簡略化が実現できる。
The present invention (Claim 2) is a further refinement of the classification of the above-mentioned invention (Claim 1), in which foreground pixels are classified into three types of transparent / opaque / semi-transparent. If it is semi-transparent, it is transparent /
It is classified into three types, opaque and translucent. Then, as shown in the table of FIG. 4 which will be described later, it can be classified into five types depending on the combination of transparency information of the foreground pixels and the background pixels. Besides foreground pixels being transparent and opaque, foreground pixels are semi-transparent,
In the case of the classification in which the background pixel is transparent, the pixel value of the foreground pixel can be used as it is as the pixel value after combining, so that the amount of data transfer can be further reduced and the watermark combining can be performed as compared with the invention of claim 1. The processing can be simplified.

【0010】画像の透明度情報は画像情報と同様な形式
で与えられているが、画像の透明度情報のうち、透明お
よび不透明の部分は、多くの画像では連続して現れるこ
とが多いため、本発明(請求項3)のように、透明およ
び不透明の部分についてはランレングス圧縮のような圧
縮形式とすることにより、転送データのさらなる削減を
行いうる。
Although the transparency information of an image is given in the same format as the image information, the transparent and opaque portions of the transparency information of an image often appear continuously in many images. As in (Claim 3), the transparent and opaque portions can be further reduced in the transfer data by adopting a compression format such as run length compression.

【0011】[0011]

【実施例】図2は本発明の一実施例の概略の構成を示す
ブロック図である。この実施例は、CPU21、メモリ
22、入出力コントローラ23等がバス24により結合
されてなるホスト側のコンピュータに本発明による画像
処理装置20が接続された構成を有するシステムであ
る。画像処理装置20は、入力バッファ201と、前処
理部202と、画像処理部203と、後処理部204
と、外部出力用インタフェース209とを有している。
FIG. 2 is a block diagram showing the schematic construction of an embodiment of the present invention. This embodiment is a system having a configuration in which an image processing apparatus 20 according to the present invention is connected to a host-side computer in which a CPU 21, a memory 22, an input / output controller 23, etc. are connected by a bus 24. The image processing device 20 includes an input buffer 201, a pre-processing unit 202, an image processing unit 203, and a post-processing unit 204.
And an external output interface 209.

【0012】入力バッファ201はホストから本画像処
理装置20へ、データを受け渡すための入力バッファで
ある。前処理部202は入力バッファ201から次の画
像処理部203へ、データを受け渡す際に、データおよ
び画像処理部203で行われる処理に対応した、前処理
を行う部分である。具体的には、入力バッファ201か
らの透明度情報の値によって、前景画像を透明/不透明
/半透明の3種に分類し、前景画像が半透明のものにつ
いては、引き続き、背景画像の透明度情報の値によっ
て、背景画像を透明/不透明/半透明の3種に分類する
処理を行う。
The input buffer 201 is an input buffer for transferring data from the host to the image processing apparatus 20. The pre-processing unit 202 is a unit that performs pre-processing corresponding to the processing performed by the data and the image processing unit 203 when passing data from the input buffer 201 to the next image processing unit 203. Specifically, the foreground image is classified into three types of transparent / opaque / semi-transparent according to the value of the transparency information from the input buffer 201. For a foreground image that is semi-transparent, the transparency information of the background image continues. A process of classifying the background image into three types of transparent / opaque / semi-transparent is performed according to the value.

【0013】画像処理部203は前処理部202で分類
された結果に応じた処理に切り替て、転送されたデータ
に対して画像処理を施すものである。後処理部204は
画像処理部203で処理されたデータに対して、圧縮処
理およびデータフォーマットを行う。出力バッファ20
5は後処理部204からホスト側または外部出力用イン
タフェース209へ、データを受け渡すための出力バッ
ファである。外部出力用インタフェース209は本画像
処理装置の処理結果を、ホスト以外の機器に出力するた
めの、インタフェース部である。
The image processing unit 203 switches the processing according to the result classified by the pre-processing unit 202 and performs image processing on the transferred data. The post-processing unit 204 performs compression processing and data formatting on the data processed by the image processing unit 203. Output buffer 20
An output buffer 5 transfers data from the post-processing unit 204 to the host side or the external output interface 209. The external output interface 209 is an interface unit for outputting the processing result of the image processing apparatus to a device other than the host.

【0014】次ぎに、本実施例の画像合成処理装置で、
実行される処理の詳細について述べる。以下に、入力画
像が、前景画像と背景画像の各々が、8ビットの透明
度、各々8ビットの画素値(例えば青成分、緑成分、赤
成分の3種類)をもつ、32ビットの画像データの場合
を例に取った、本発明の実施例を説明する。図1は実施
例の処理を流れ図で表したものである。なお、図1にお
いて、細線の枠は前処理部202で行われる処理、太線
の枠は画像処理部203での処理を表している。まず、
透かし合成処理について説明すると、透かし合成処理と
は、入力された前景画像と背景画像の2つの画像に対し
て、各々の透明度情報に従って前景画像と背景画像の画
素値の配合比を変化させ、合成を行う処理である。透か
し合成された画像では、前景画像を通して透明度の値に
応じてうっすらと背景画像が透けて見える。
Next, in the image composition processing apparatus of this embodiment,
The details of the processing executed will be described. Below, the input image is a 32-bit image data in which the foreground image and the background image each have an 8-bit transparency and an 8-bit pixel value (for example, three types of blue component, green component, and red component). An embodiment of the present invention will be described by taking the case as an example. FIG. 1 is a flow chart showing the processing of the embodiment. It should be noted that in FIG. 1, a thin line frame represents processing performed by the preprocessing unit 202, and a thick line frame represents processing performed by the image processing unit 203. First,
The watermark synthesizing process will be described. The watermark synthesizing process is performed by changing the mixture ratio of the pixel values of the foreground image and the background image for two input images, the foreground image and the background image, according to the respective transparency information. Is a process for performing. In the watermark-combined image, the background image can be seen through the foreground image depending on the transparency value.

【0015】以下、Fa…前景画像の透明度(8ビット
の場合、Fa/255で正規化される)、 Fbgr…前景画像の画素値(この場合は、青成分、緑
成分、赤成分を示す)、 Ra…背景画像の透明度(8ビットの場合、Ra/25
5で正規化される)、 Rbgr…背景画像の画素値(この場合は、青成分、緑
成分、赤成分を示す)、 Da…透かし合成後の画像の透明度(8ビットの場合、
Da/255で正規化される)、 Dbgr…透かし合成後の画像の画素値(この場合は、
青成分、緑成分、赤成分を示す) と略記する
Hereinafter, Fa ... transparency of the foreground image (normalized to Fa / 255 in the case of 8 bits), Fbgr ... pixel value of the foreground image (in this case, blue component, green component, and red component are shown) , Ra ... Transparency of background image (Ra / 25 for 8-bit)
5), Rbgr ... Pixel value of background image (in this case, showing blue component, green component, red component) Da ... Transparency of image after watermark composition (in the case of 8 bits,
Da / 255 is normalized, Dbgr ... Pixel value of the image after watermark composition (in this case,
Abbreviated as blue component, green component, and red component)

【0016】透かし合成後の画像の透明度Daは次式で
表される。 Da=(1−Fa)×Ra+Fa ・・・(式1) ここで、透明度はその値が0のときに透明、1のときに
不透明、0<透明度<1のときに半透明であることを示
す。また、透かし合成後の画像の画素値Dbgrは次式
で表される。 Dbgr={(1−Fa)×Ra×Rbgr+Fa×Fbgr}÷Da ・ ・・(式2)
The transparency Da of the image after watermark composition is expressed by the following equation. Da = (1−Fa) × Ra + Fa (Equation 1) Here, the transparency is transparent when the value is 0, opaque when the value is 1, and translucent when 0 <transparency <1. Show. Further, the pixel value Dbgr of the image after watermark composition is represented by the following equation. Dbgr = {(1-Fa) * Ra * Rbgr + Fa * Fbgr} / Da (Equation 2)

【0017】以下に、本発明の特徴である処理の切替え
のための分類について説明する。(式1)および(式
2)を透明度が0(すなわち透明)、透明度が1(すな
わち不透明)、透明度がそれ以外(すなわち半透明)の
3種類づつ、前景画像と背景画像について各々分類する
(ステップS11,S12)と、図3に示す表のように
9種の組み合わせが得られる。図3の表には各組合せ毎
に前景画像の透明度Fa、背景画像の透明度Ra、合成
後の透明度Da、合成後の画素値Dbgrが示されてい
る。
The classification for switching the processes, which is a feature of the present invention, will be described below. (Equation 1) and (Equation 2) are classified into three types of transparency 0 (that is, transparent), transparency 1 (that is, opaque), and other transparency (that is, semitransparent) for each foreground image and background image ( Steps S11 and S12) and nine combinations are obtained as shown in the table of FIG. The table of FIG. 3 shows the transparency Fa of the foreground image, the transparency Ra of the background image, the transparency Da after combination, and the pixel value Dbgr after combination for each combination.

【0018】図3の表の9種の組み合わせを、合成後の
透明度と合成後の画素値でまとめると、図4の表2に示
す5種の場合に分けられる。この場合、前景画素を、前
景画素の透明度情報により、合成後は背景画素のみの値
を持つ透明、合成後は前景画素のみの値を持つ不透明、
およびそれら以外の値を持つ半透明の3種類に分類し、
かつ、前景画素の半透明のものについて、背景画素を、
背景画素の透明度情報により、透明、不透明、半透明の
3種類に分類したものとなっている。
The nine combinations shown in the table of FIG. 3 are summarized by the transparency after combination and the pixel value after combination, and can be divided into five cases shown in Table 2 of FIG. In this case, the foreground pixel is transparent having only the value of the background pixel after the composition, and opaque having the value of only the foreground pixel after the composition, depending on the transparency information of the foreground pixel.
And classified into three types of semi-transparent with values other than those,
And for the semi-transparent foreground pixel, the background pixel is
It is classified into three types of transparent, opaque, and semi-transparent according to the transparency information of the background pixel.

【0019】図4の表の5種の場合で、処理に必要とさ
れるデータと必要とされる処理の概要を図5の表に示
す。前景が透明の場合と、前景が不透明の場合と、前景
が半透明かつ背景が透明の場合は、透かし合成を行う際
の処理はデータの転送のみである。また、図3の表およ
び図4の表に示されるように、前景が半透明かつ背景が
不透明の場合も、前景が半透明かつ背景が半透明の場合
と比較して、演算量が少なくてすむ。なお、透かし合成
を行う場合、前景画像のほんの一部分のみ半透明で、他
の多くの部分は不透明か透明で有る場合が多いため、マ
スク画像のうち、不透明部分と透明部分について、処理
および、データの転送量を削減することは、処理全体の
性能向上に寄与する。その例については後述する第2の
実施例において説明する。
The data required for the process and the outline of the required process for the five cases shown in the table of FIG. 4 are shown in the table of FIG. When the foreground is transparent, the foreground is opaque, and the foreground is semi-transparent and the background is transparent, the process of watermark composition is only data transfer. Also, as shown in the table of FIG. 3 and the table of FIG. 4, the amount of calculation is smaller when the foreground is semitransparent and the background is opaque than when the foreground is semitransparent and the background is semitransparent. I'm sorry. When watermark composition is performed, only a part of the foreground image is semi-transparent, and many other parts are opaque or transparent. The reduction of the transfer amount of the data contributes to the improvement of the performance of the entire processing. An example thereof will be described in the second embodiment described later.

【0020】第1の実施例の画像合成処理装置の動作に
おいて、まず、図2の入力バッファ201から、前景画
素の透明度情報が前処理部202に送られる(図1のス
テップS14)。
In the operation of the image composition processing apparatus of the first embodiment, first, the transparency information of the foreground pixel is sent from the input buffer 201 of FIG. 2 to the preprocessing section 202 (step S14 of FIG. 1).

【0021】前処理部202で、透明度の判別が行われ
(ステップS11)、透明度が0(すなわち透明)と1
(すなわち不透明)とそれ以外(すなわち半透明)の3
種に分けられる。透明度情報が8bitで表現されてい
る場合、「透明度が0」は値として16進表記で”00
h”のことを示す。同様に「透明度が1」は”FFh”
のことを示す。
The preprocessing unit 202 determines the transparency (step S11), and the transparency is 0 (that is, transparent) and 1
3 (ie opaque) and other (ie semi-transparent)
Divided into seeds. When the transparency information is represented by 8 bits, "transparency is 0" is a value of "00" in hexadecimal notation.
h ". Similarly," transparency is 1 "is" FFh ".
Is shown.

【0022】前景画素の透明度Faが0の場合、背景画
素の透明度情報と画素の値(例えば、赤、青、緑の各成
分の値)Rabgrが読みだされる(ステップS1
5)。読みだされた背景画素の透明度情報と画素の値R
abgrは画像処理部203に送られる。画像処理部2
03は、入力された透明度情報と画素の値Rabgrを
各々、処理値即ち合成画素の透明度と画素値Dabgr
として出力する(ステップS16)(ステップS1
E)。
When the transparency Fa of the foreground pixel is 0, the transparency information of the background pixel and the pixel value (for example, the value of each component of red, blue and green) Rabgr is read (step S1).
5). Transparency information of the read background pixel and pixel value R
The abgr is sent to the image processing unit 203. Image processing unit 2
Reference numeral 03 denotes the input transparency information and the pixel value Rabgr, respectively, that is, the processed value, that is, the transparency of the composite pixel and the pixel value Dabgr.
(Step S16) (step S1)
E).

【0023】前景画素の透明度Faが1の場合、前景画
素の画素の値(例えば、赤、青、緑の各成分の値)Fb
grが読みだされる(ステップS17)。読みだされた
前景画素の透明度情報と画素の値Fabgrは画像処理
部203に送られる。画像処理部203は、入力された
透明度情報と画素の値Fabgrを各々、処理値Dab
grとして出力する(ステップS18)(ステップS1
E)。
When the transparency Fa of the foreground pixel is 1, the pixel value of the foreground pixel (for example, the value of each component of red, blue, and green) Fb
gr is read (step S17). The read transparency information of the foreground pixel and the pixel value Fabgr are sent to the image processing unit 203. The image processing unit 203 uses the processed transparency value Dab as the transparency value and the pixel value Fabgr that have been input.
output as gr (step S18) (step S1)
E).

【0024】前景画素の透明度が0または1以外(すな
わち半透明)の場合、背景画素の透明度情報Raが読み
だされ(ステップS19)、透明度の判別が行われ(ス
テップS12)、透明度が0(すなわち透明)と1(す
なわち不透明)とそれ以外(すなわち半透明)の3種に
分けられる。
When the transparency of the foreground pixel is other than 0 or 1 (that is, semitransparent), the transparency information Ra of the background pixel is read (step S19), the transparency is determined (step S12), and the transparency is 0 ( That is, it is divided into three types: transparent), 1 (that is, opaque), and other (that is, semitransparent).

【0025】前景画素が半透明かつ背景画素が透明の場
合、前景画素の画素の値Fbgrが読みだされる(ステ
ップS17)。読みだされた前景画素の透明度情報と画
素の値Fabgrは画像処理部203に送られる。画像
処理部203は、入力された透明度情報と画素の値Fa
bgrを各々、処理値Dabgrとして出力する(ステ
ップS18)(ステップS1E)。
When the foreground pixel is semi-transparent and the background pixel is transparent, the pixel value Fbgr of the foreground pixel is read (step S17). The read transparency information of the foreground pixel and the pixel value Fabgr are sent to the image processing unit 203. The image processing unit 203 receives the input transparency information and the pixel value Fa
Each of bgr is output as a processed value Dabgr (step S18) (step S1E).

【0026】前景画素が半透明かつ背景画素が不透明の
場合、前景画素と背景画素の各々について、画素の値F
bgr,.Rbgrが読みだされる(ステップS1
A)。読みだされた各々の画素の透明度情報と画素の値
は画像処理部203に送られる。
If the foreground pixel is semi-transparent and the background pixel is opaque, the pixel value F for each of the foreground pixel and the background pixel.
bgr ,. Rbgr is read (step S1)
A). The read transparency information and the pixel value of each pixel are sent to the image processing unit 203.

【0027】画像処理部203は、透明度の処理値Da
を1(透明度情報が8bitで表現されている場合、”
FFh”)とし、入力された透明度情報と画素の値によ
り、画素の処理値Dbgrを(式3)に従って計算する
(ステップS1B)。 Dbgr={(FFh−Fa)×Rbgr+Fa×Fbgr}÷FFh ・・・(式3) なお、(式3)でFa,Rbgr,Fbgrは各々8b
itで表現されているものとする。また、”FFh”は
16進表記である。設定された透明度の処理値Da(=
FFh)と計算された画素の値Dbgrが処理値Dab
grとして出力される。(ステップS1E)
The image processing unit 203 determines the processed value Da of transparency.
1 (when the transparency information is represented by 8 bits, "
FFh ″), and the processed value Dbgr of the pixel is calculated according to (Equation 3) based on the input transparency information and the pixel value (step S1B). Dbgr = {(FFh−Fa) × Rbgr + Fa × Fbgr} ÷ FFh .. (Equation 3) Note that in Equation 3, Fa, Rbgr, and Fbgr are each 8b.
It is represented by it. Further, "FFh" is a hexadecimal notation. Processed value Da (=
FFh) and the calculated pixel value Dbgr is the processed value Dab.
It is output as gr. (Step S1E)

【0028】前景画素が半透明かつ背景画素が半透明の
場合、前景画素と背景画素の各々について、画素の値F
bgr,Rbgrが読みだされる(ステップS1C)。
読みだされた各々の画素の透明度情報と画素の値は画像
処理部203に送られる。画像処理部203は、入力さ
れた透明度情報Fa,Raと画素の値Fbgr,Rbg
rにより、透明度の処理値Daを(式4)に従って計算
する(ステップS1D)。また、入力された透明度情報
Fa,Raと画素の値Fbgr,Rbgrにより、画素
の処理値Dbgrを(式5)に従って計算する。
When the foreground pixel is semi-transparent and the background pixel is semi-transparent, the pixel value F is determined for each of the foreground pixel and the background pixel.
bgr and Rbgr are read (step S1C).
The read transparency information and the pixel value of each pixel are sent to the image processing unit 203. The image processing unit 203 receives the input transparency information Fa and Ra and the pixel values Fbgr and Rbg.
From r, the processed value Da of transparency is calculated according to (Equation 4) (step S1D). Further, the processed value Dbgr of the pixel is calculated according to (Equation 5) based on the input transparency information Fa and Ra and the pixel values Fbgr and Rbgr.

【0029】 Da={(FFh−Fa)×Ra+FFh×Fa}÷FFh ・・・(式4), Dbgr={(FFh−Fa)×Ra×Rbgr+FFh×Fa×Fbgr} ÷{(FFh−Fa)×Ra+FFh×Fa} ・・・(式 5) なお、(式4)と(式5)でFa,Ra,Rbgr,F
bgrは各々8bitで表現されているものとする。”
FFh”は16進表記である。
Da = {(FFh−Fa) × Ra + FFh × Fa} ÷ FFh (Equation 4), Dbgr = {(FFh−Fa) × Ra × Rbgr + FFh × Fa × Fbgr} ÷ {(FFh−Fa) × Ra + FFh × Fa} (Equation 5) Fa, Ra, Rbgr, F in (Equation 4) and (Equation 5)
Each bgr is represented by 8 bits. ”
FFh "is a hexadecimal notation.

【0030】計算された、透明度の処理値Daと画素の
値Dbgrが、処理値として出力される(ステップS1
E)。以上の動作が、処理対象の画素が無くなるまで行
われる(ステップS13)。
The calculated transparency processing value Da and pixel value Dbgr are output as the processing values (step S1).
E). The above operation is performed until there are no more pixels to be processed (step S13).

【0031】(第2の実施例)次に、上記の第1の実施
例をふまえた別の実施例即ち第2の実施例について説明
する。第1の実施例では、画像の透明度情報は画像情報
と同様な形式で与えられているが、画像の透明度情報の
うち、透明および不透明の部分は、多くの画像では連続
して現れるため、透明および不透明の部分についてはラ
ンレングス圧縮を行い、透明/不透明の判別のためのヘ
ッダと、連続する画素数を転送し、半透明の部分は、半
透明の判別のためのヘッダと、連続する画素数と、各画
素の透明度情報の実値を、転送することにより、転送デ
ータのさらなる削減を行いうる。第2の実施例は、その
ランレングス圧縮を行う場合の一例である。その概略の
構成は第1の実施例と同じく図2に示され、そのための
図6〜図14に示す処理機能が追加される。
(Second Embodiment) Next, another embodiment based on the above-mentioned first embodiment, that is, a second embodiment will be described. In the first embodiment, the transparency information of the image is given in the same format as the image information, but the transparent and opaque portions of the transparency information of the image appear continuously in many images, so that the transparency information is transparent. And the opaque part are run length compressed, and a header for transparent / opaque discrimination and the number of consecutive pixels are transferred. A semitransparent portion is a header for the semitransparent discrimination and consecutive pixels. The transfer data can be further reduced by transferring the number and the actual value of the transparency information of each pixel. The second embodiment is an example of the case of performing the run length compression. Similar to the first embodiment, its schematic configuration is shown in FIG. 2, and the processing functions shown in FIGS. 6 to 14 are added for that purpose.

【0032】透明および不透明の画素についてランレン
グス圧縮を行う場合の第2の実施例の動作を次に示す。
図6〜14は、第2の実施例の処理を、流れ図で表した
ものである。図15(a)(b)(e)は、第2の実施
例で用いられる、透明度情報の例を示したものである。
The operation of the second embodiment when run length compression is performed on transparent and opaque pixels will be described below.
6 to 14 are flowcharts showing the processing of the second embodiment. 15A, 15B, and 15E show examples of the transparency information used in the second embodiment.

【0033】第2の実施例では圧縮された透明度情報お
よび、前景画素と背景画素の各々の画素値はすべて8b
itで表現されているものとする。圧縮された透明度情
報は図15(a)(b)(C)で示されるように、2b
itの透明度種別情報(Fm,Rm)と6bitのラン
レングス長(Fl,Rl)を、前景画素は(Fm,F
l)という形で、背景画素は(Rm,Rl)という形で
持つものとする。
In the second embodiment, the compressed transparency information and the pixel values of the foreground pixel and the background pixel are all 8b.
It is represented by it. The compressed transparency information is 2b as shown in FIGS. 15 (a) (b) (C).
The transparency type information (it, Fm, Rm) of it and the run length length (Fl, Rl) of 6 bits are set to (Fm, Fm) for the foreground pixel.
In the form of l), the background pixel is assumed to be in the form of (Rm, Rl).

【0034】図6は、前処理部202における透明度情
報による画素の分類の処理の流れを示すものである。図
2の入力バッファ201から、前景画素の透明度情報F
m,Flが前処理部202に送られる。前処理部202
では、前景画素の種別変数Fstateに前景画素の透
明度種別情報Fmが保存される。また、前景未処理画素
ランレングス長変数(Flength)に前景画素のラ
ンレングス長Flが保存される。前景画素の透明度情報
のバッファ中の位置情報Fmaskpointを、次の
透明度情報の位置を示すように変更する(ステップS6
1)。
FIG. 6 shows the flow of the pixel classification process based on the transparency information in the preprocessing unit 202. From the input buffer 201 of FIG. 2, the transparency information F of the foreground pixel
m and Fl are sent to the preprocessing unit 202. Preprocessing unit 202
Then, the transparency type information Fm of the foreground pixel is stored in the foreground pixel type variable Fstate. Further, the run length length Fl of the foreground pixel is stored in the foreground unprocessed pixel run length length variable (Flength). The position information Fmaskpoint in the transparency information buffer of the foreground pixel is changed to indicate the position of the next transparency information (step S6).
1).

【0035】図2の入力バッファ201から、背景画素
の透明度情報Rm,Rlが前処理部202に送られる。
前処理部202では、背景画素の種別変数Rstate
に背景画素の透明度種別情報Rmが保存され。また、背
景未処理画素ランレングス長変数Rlengthに背景
画素のランレングス長Rlが保存される。背景画素の透
明度情報のバッファ中の位置情報Rmaskpoint
を、次の透明度情報の位置を示すように変更する(ステ
ップS62)。
Transparency information Rm and Rl of the background pixel is sent from the input buffer 201 shown in FIG.
In the preprocessing unit 202, the background variable type variable Rstate
The background pixel transparency type information Rm is stored in. Also, the run length length Rl of the background pixel is stored in the background unprocessed pixel run length length variable Rlength. Position information Rmaskpoint in buffer of background pixel transparency information
Is changed to indicate the position of the next transparency information (step S62).

【0036】図6のステップS63で示される条件判断
で、前景画素の種別変数が透明であることを示し、か
つ、背景画素の種別変数も透明であることを示す場合
(Fstate=0, Rstate=0)には、画像
処理部203は、図7および図14の流れ図に示す処理
を行う。
When the condition judgment shown in step S63 of FIG. 6 shows that the foreground pixel type variable is transparent and the background pixel type variable is also transparent (Fstate = 0, Rstate = In 0), the image processing unit 203 performs the processing shown in the flowcharts of FIGS. 7 and 14.

【0037】即ち、画像処理部203において、透明度
の処理値Daが0に設定される(ステップS64)。背
景画素の画素の値Rbgr(例えば、赤、青、緑の各成
分の値)が読みだされ、前景画素の画素情報のバッファ
中の位置情報Fpixpointが、次の画素情報の位
置を示すように変更され、また、背景画素の画素情報の
バッファ中の位置情報Rpixpointが、次の画素
情報の位置を示すように変更される(ステップS7
1)。
That is, the transparency processing value Da is set to 0 in the image processing unit 203 (step S64). The pixel value Rbgr (for example, the value of each component of red, blue, and green) of the background pixel is read out, and the position information Fpixpoint in the buffer of the pixel information of the foreground pixel indicates the position of the next pixel information. The position information Rpixpoint in the buffer of the pixel information of the background pixel is changed so as to indicate the position of the next pixel information (step S7).
1).

【0038】画素情報の処理値Dbgrに背景画素の画
素値が用いられ(ステップS72)、透明度情報と画素
情報の値が処理値Dabgrとして出力される。前景未
処理画素ランレングス長変数Flengthと背景未処
理画素ランレングス長変数Rlengthの値が各々一
つずつ減ぜられる(ステップS73)。
The pixel value of the background pixel is used as the processed value Dbgr of the pixel information (step S72), and the values of the transparency information and the pixel information are output as the processed value Dabgr. The values of the foreground unprocessed pixel run length variable Flength and the background unprocessed pixel run length variable Rlength are each decreased by one (step S73).

【0039】前景未処理画素ランレングス長変数Fle
ngthが0であるか否かが判定され(ステップS
4)、その判定の結果、Flengthが0である場合
には、ステップS62に進む。そして、次に位置する背
景画素の透明度情報Rm,Rlが読み込まれ、処理が続
行される。
Foreground unprocessed pixel run length length variable Fle
It is determined whether ngth is 0 (step S
4) If the result of that determination is that Length is 0, the flow proceeds to step S62. Then, the transparency information Rm, Rl of the next background pixel is read, and the processing is continued.

【0040】前景未処理画素ランレングス長変数Fle
ngthが0でなかったときは、背景未処理画素ランレ
ングス長変数(Rlength)が0であるか否かが判
定され(ステップS5)、Rlengthが0でない場
合は、ステップS71に移り、次に位置する、背景画素
の画素の値Rbgrが読み込まれ、処理が続行される
(ステップS75)。
Foreground unprocessed pixel run length length variable Fle
If ngth is not 0, it is determined whether or not the background unprocessed pixel run length length variable (Rlength) is 0 (step S5). If Rlength is not 0, the process proceeds to step S71 and the position Then, the pixel value Rbgr of the background pixel is read, and the process is continued (step S75).

【0041】背景未処理画素ランレングス長変数(Rl
ength)が0となった場合、全ての画素の処理が終
わっていれば処理が終了し(ステップS141)、終わ
っていなければ、ステップS61に戻り、次に位置す
る、前景画素の透明度情報Fm,Flが読み込まれ、処
理が続けられる。
Background unprocessed pixel run length length variable (Rl
If the processing of all pixels has been completed, the processing ends (step S141), and if not completed, the processing returns to step S61, and the transparency information Fm of the next foreground pixel, Fl is read and processing is continued.

【0042】図6のステップS61で示される条件判断
で、前景画素の種別変数が透明であることを示し、か
つ、背景画素の種別変数が不透明であることを示す場合
(Fstate=0,Rstate=1)には、画像処
理部203は、図7および図14のフロー図に示す処理
を行う。
In the condition judgment shown in step S61 of FIG. 6, when the type variable of the foreground pixel is transparent and the type variable of the background pixel is opaque (Fstate = 0, Rstate = In 1), the image processing unit 203 performs the processing shown in the flowcharts of FIGS. 7 and 14.

【0043】画像処理部203は、透明度の処理値(D
a)をFFhとし(ステップS65)、背景画素の画素
の値Rbgrが読みだされる。以下、図7のステップS
71〜ステップS75、ステップS141の処理が行わ
れるが、これは先に、Fstate=0,Rstate
=0の場合の処理と同じとなり、すでに説明したとおり
である。
The image processing unit 203 uses the processed value of transparency (D
The value ab is set to FFh (step S65), and the pixel value Rbgr of the background pixel is read out. Hereinafter, step S in FIG.
71 to step S75 and step S141 are performed. First, Fstate = 0, Rstate
The processing is the same as that when = 0, and is as already described.

【0044】図6のステップS63で示される条件判断
で、前景画素の種別変数が透明であることを示し、か
つ、背景画素の種別変数が半透明であることを示す場合
(Fstate=0, Fstate=その他)には、
画像処理部203は、図8および図14のフロー図に示
す処理を行う。
In the condition judgment shown in step S63 of FIG. 6, when the type variable of the foreground pixel is transparent and the type variable of the background pixel is semitransparent (Fstate = 0, Fstate) = Other)
The image processing unit 203 performs the processing shown in the flowcharts of FIGS. 8 and 14.

【0045】画像処理部203において、背景画素の透
明度情報Raが読みこまれ、背景画素の透明度情報のバ
ッファ中の位置情報Rmaskpointが、次の透明
度情報の位置を示すように変更される(ステップS8
1)。また、画像処理部203では、透明度の処理値D
aに背景画素の透明度情報Raが用いられる(ステップ
S82)。背景画素の画素の値Rbgrが読みだされ
る。前景画素の画素情報のバッファ中の位置情報Fpi
xpointが、次の画素情報の位置を示すように変更
される。背景画素の画素情報のバッファ中の位置情報R
pixpointが、次の画素情報の位置を示すように
変更される(ステップS83)。
In the image processing unit 203, the transparency information Ra of the background pixel is read, and the position information Rmaskpoint in the buffer of the transparency information of the background pixel is changed to indicate the position of the next transparency information (step S8).
1). In the image processing unit 203, the processed value D of the transparency is
The transparency information Ra of the background pixel is used for a (step S82). The pixel value Rbgr of the background pixel is read. Position information Fpi in the buffer of pixel information of foreground pixels
The xpoint is changed to indicate the position of the next pixel information. Position information R in the pixel information buffer of background pixels
The pixpoint is changed to indicate the position of the next pixel information (step S83).

【0046】画素情報の処理値Dbgrに背景画素の画
素値Rbgrが用いられ(ステップS84)、透明度情
報と画素情報の処理値Dabgrが出力される。また、
前景未処理画素ランレングス長変数Flengthと背
景未処理画素ランレングス長変数Rlengthの値が
各々一つづつ減少される(ステップS85)。
The pixel value Rbgr of the background pixel is used as the processed value Dbgr of the pixel information (step S84), and the processed value Dabgr of the transparency information and the pixel information is output. Also,
The values of the foreground unprocessed pixel run length length variable Flength and the background unprocessed pixel run length length variable Rlength are each decreased by one (step S85).

【0047】次に、前景未処理画素ランレングス長変数
Flengthが0となったか否かの判定を行い(ステ
ップS86)、Flength=0の場合、ステップS
62に進み、次に位置する背景画素の透明度情報Rm,
Rlを読み込み、処理を続ける。
Next, it is determined whether or not the foreground unprocessed pixel run length length variable Length is 0 (step S86). If Length = 0, step S86 is executed.
62, the transparency information Rm of the background pixel located next,
Read Rl and continue processing.

【0048】ステップS86の判定の結果、Fleng
th=0でなかった場合には、背景未処理画素ランレン
グス長変数Rlengthが0であるか否かの判定を行
い(ステップS87)、Rlength=0でない場合
は、次に位置する、背景画素の透明度の値Raを読み込
み、処理を続ける(ステップS81)。
As a result of the determination in step S86, Fleng
If th is not 0, it is determined whether the background unprocessed pixel run length length variable Rlength is 0 (step S87). If Rlength is not 0, the next background pixel of the background pixel The transparency value Ra is read and the processing is continued (step S81).

【0049】背景未処理画素ランレングス長変数Rle
ngthが0となった場合、全ての画素の処理が終わっ
ていれば処理を終了し(ステップS141)、終わって
いなければ、ステップS602に戻り、次に位置する、
前景画素の透明度情報Fm,Flを読み込み、処理を続
ける。
Background unprocessed pixel run length length variable Rle
When ngth becomes 0, the processing is ended if all the pixels have been processed (step S141), and if not completed, the process returns to step S602 and is positioned next.
The transparency information Fm and Fl of the foreground pixel is read, and the processing is continued.

【0050】図6のステップS63で示される条件判断
で、前景画素の種別変数が不透明であることを示し、か
つ、背景画素の種別変数が透明または不透明であること
を示す場合(即ち、Fstate=1,Rstate=
0の場合と、Fstate=1,Rstate=1の場
合)、図9および図14のフロー図に示す処理を行う。
In the condition judgment shown in step S63 of FIG. 6, when the type variable of the foreground pixel is opaque and the type variable of the background pixel is transparent or opaque (that is, Fstate = 1, Rstate =
In the case of 0 and in the case of Fstate = 1 and Rstate = 1), the processes shown in the flowcharts of FIGS. 9 and 14 are performed.

【0051】画像処理部203において、透明度の処理
値DaがFFhに設定され(ステップS66)、また、
前景画素の画素の値Fbgrが読みだされる。前景画素
の画素情報のバッファ中の位置情報Fpixpoint
が、次の画素情報の位置を示すように変更される。背景
画素の画素情報のバッファ中の位置情報Rpixpoi
ntが、次の画素情報の位置を示すように変更される
(ステップS91)。
In the image processing unit 203, the processed value Da of transparency is set to FFh (step S66), and
The pixel value Fbgr of the foreground pixel is read out. Position information Fpixpoint in buffer of pixel information of foreground pixel
Is changed to indicate the position of the next pixel information. Position information Rpixpoi in the buffer of pixel information of background pixels
nt is changed to indicate the position of the next pixel information (step S91).

【0052】画素情報の処理値Dbgrに前景画素の画
素値Fbgrが用いられ(ステップS92)、透明度情
報と画素情報の処理値Dabgrが処理値として出力さ
れる。前景未処理画素ランレングス長変数Flengt
hと背景未処理画素ランレングス長変数Rlength
の値が各々一つづつ減少させられる(ステップS9
3)。
The pixel value Fbgr of the foreground pixel is used as the processed value Dbgr of the pixel information (step S92), and the processed value Dabgr of the transparency information and the pixel information is output as the processed value. Foreground unprocessed pixel run length length variable Flengt
h and background unprocessed pixel run length length variable Rlength
Is decreased by one (step S9).
3).

【0053】前景未処理画素ランレングス長変数Fle
ngthが0であるかか否かが判定さる(ステップS9
4)。その判定の結果、Flength=0の場合に
は、ステップS62により、次に位置する背景画素の透
明度情報Rm,Rlを読み込み、処理を続ける。
Foreground unprocessed pixel run length length variable Fle
It is determined whether ngth is 0 (step S9).
4). If the result of the determination is that Length = 0, the transparency information Rm, Rl of the background pixel located next is read in step S62, and the processing is continued.

【0054】前記判定の結果、Flength=0の場
合には、背景未処理画素ランレングス長変数Rleng
thが0であるか否かの判定を行う(ステップS9
5)。その判定の結果、Rlengthが0でない場合
は、ステップS91に戻り、次に位置する前景画素の画
素の値Fbgrを読み込み、処理を続ける。
As a result of the above judgment, when Length = 0, the background unprocessed pixel run length length variable Rlength
It is determined whether th is 0 (step S9).
5). If Rlength is not 0 as a result of the determination, the process returns to step S91, the pixel value Fbgr of the foreground pixel located next is read, and the process is continued.

【0055】背景未処理画素ランレングス長変数Rle
ngthが0となった場合、全ての画素の処理が終わっ
ていれば処理を終了し(ステップS141)、終わって
いなければ、図6のステップS61に戻り、次に位置す
る前景画素の透明度情報Fm,Flを読み込み、処理を
続ける。
Background unprocessed pixel run length length variable Rle
When ngth becomes 0, if the processing of all the pixels is completed, the processing is ended (step S141), and if not completed, the processing returns to step S61 of FIG. 6 and the transparency information Fm of the foreground pixel located next. , Fl, and continue processing.

【0056】図6のステップS63で示される条件判断
で、前景画素の種別変数が不透明であることを示し、か
つ、背景画素の種別変数が半透明であることを示す場合
(即ち、Fstate=1, Rstate=その他
である場合)、図10および図14のフロー図に示す処
理を行う。
In the condition judgment shown in step S63 of FIG. 6, when the type variable of the foreground pixel is opaque and the type variable of the background pixel is semitransparent (that is, Fstate = 1). , Rstate = Other
Processing), the processing shown in the flowcharts of FIGS. 10 and 14 is performed.

【0057】画像処理部203では、透明度の処理値D
aをFFhとし(ステップS66)、背景画素の透明度
情報のバッファ中の位置情報Rmaskpointを、
次の透明度情報の位置を示すように変更する(ステップ
S101)。前景画素の画素の値Fbgrが読みだされ
る。そして、前景画素の画素情報のバッファ中の位置情
報Fpixpointが、次の画素情報の位置を示すよ
うに変更される。また、背景画素の画素情報のバッファ
中の位置情報Rpixpointが、次の画素情報の位
置を示すように変更される(ステップS102)。
In the image processing unit 203, the transparency processing value D
a is set to FFh (step S66), and the position information Rmaskpoint in the buffer of the transparency information of the background pixel is set to
It is changed to indicate the position of the next transparency information (step S101). The pixel value Fbgr of the foreground pixel is read out. Then, the position information Fpixpoint in the pixel information buffer of the foreground pixel is changed to indicate the position of the next pixel information. Further, the position information Rpixpoint in the buffer of the pixel information of the background pixel is changed to indicate the position of the next pixel information (step S102).

【0058】画素情報の処理値Dbgrに前景画素の画
素値Fbgrが用いられ(ステップS103)、透明度
情報と画素情報の値Dabgrが処理値として出力され
る。前景未処理画素ランレングス長変数Flength
と背景未処理画素ランレングス長変数Rlengthの
値が各々一つづつ減ぜられる(ステップS104)。
The pixel value Fbgr of the foreground pixel is used as the processed value Dbgr of the pixel information (step S103), and the transparency information and the value Dabgr of the pixel information are output as the processed value. Foreground Unprocessed Pixel Run Length Length Variable Length
And the background unprocessed pixel run length length variable Rlength is decremented by one (step S104).

【0059】前景未処理画素ランレングス長変数Fle
ngthが0であるか否かが判定され(ステップS10
5)、その判定の結果、Flength=0である場
合、図6のステップS62に移り、次に位置する背景画
素の透明度情報Rm,Rlを読み込み、処理を続ける。
Foreground unprocessed pixel run length length variable Fle
It is determined whether ngth is 0 (step S10).
5) If the result of the determination is that Length = 0, the process moves to step S62 in FIG. 6, the transparency information Rm, Rl of the background pixel located next is read, and the processing is continued.

【0060】前記判定の結果、Flength=0でな
い場合は、背景未処理画素ランレングス長変数Rlen
gthが0であるか否かが判定され(ステップS10
6)、その判定の結果、Rlengthが0でない場合
は、再びステップS101に進み、背景画素の透明度情
報のバッファ中の位置情報Rmaskpointを、次
の透明度情報の位置を示すように変更し、前景画素の画
素の値Fbgrを読みこみ、処理を続ける。
If the result of the above determination is that Length = 0, the background unprocessed pixel run length length variable Rlen
It is determined whether gth is 0 (step S10).
6) As a result of the determination, if Rlength is not 0, the process proceeds to step S101 again, the position information Rmaskpoint in the buffer of the transparency information of the background pixel is changed to indicate the position of the next transparency information, and the foreground pixel is changed. The pixel value Fbgr is read and the process is continued.

【0061】背景未処理画素ランレングス長変数Rle
ngthが0となった場合、全ての画素の処理が終わっ
ていれば処理を終了し(ステップS141)、終わって
いなければ、次に位置する前景画素の透明度情報Fm,
Flを読み込み、処理を続ける(ステップS61)。
Background unprocessed pixel run length length variable Rle
When ngth becomes 0, the processing is completed if all pixels have been processed (step S141), and if not completed, the transparency information Fm of the next foreground pixel,
Fl is read and the process is continued (step S61).

【0062】図6のステップS63で示される条件判断
で、前景画素の種別変数が半透明であることを示し、か
つ、背景画素の種別変数が透明であることを示す場合
(即ち、Fstate=その他, Rstate=0の
場合)、図11および図14のフロー図に示す処理を行
う。
When the condition judgment shown in step S63 of FIG. 6 indicates that the type variable of the foreground pixel is semi-transparent and the type variable of the background pixel is transparent (that is, Fstate = others). , Rstate = 0), the processing shown in the flowcharts of FIGS. 11 and 14 is performed.

【0063】画像処理部203においては、前景画素の
透明度情報Faが読みこまれ、前景画素の透明度情報の
バッファ中の位置情報Fmaskpointが、次の透
明度情報の位置を示すように変更され、前景画素の画素
の値Fbgrが読みだされる。前景画素の画素情報のバ
ッファ中の位置情報Fpixpointが、次の画素情
報の位置を示すように変更される(ステップS11
1)。
In the image processing unit 203, the transparency information Fa of the foreground pixel is read, the position information Fmaskpoint in the buffer of the transparency information of the foreground pixel is changed to indicate the position of the next transparency information, and The pixel value Fbgr is read out. The position information Fpixpoint in the pixel information buffer of the foreground pixel is changed to indicate the position of the next pixel information (step S11).
1).

【0064】画像処理部203は、透明度の処理値Da
に前景画素の透明度情報Faを用い、画素情報の処理値
Dbgrに前景画素の画素値Fbgrを用い(ステップ
S112)、透明度情報と画素情報の処理値Dabgr
を処理値として出力する(ステップS113)。また、
前景未処理画素ランレングス長変数Flengthと背
景未処理画素ランレングス長変数Rlengthの値を
各々一つづつ減少させる(ステップS113)。
The image processing unit 203 determines the processed value Da of transparency.
Is used as the transparency value Fa of the foreground pixel, and the pixel value Fbgr of the foreground pixel is used as the processed value Dbgr of the pixel information (step S112), and the processed value Dabgr of the transparency information and the pixel information is used.
Is output as a processed value (step S113). Also,
The values of the foreground unprocessed pixel run length length variable Length and the background unprocessed pixel run length length variable Rlength are each decreased by one (step S113).

【0065】前景未処理画素ランレングス長変数Fle
ngthが0であるか否かを判定し(ステップS11
4)、その判定の結果、Flengthが0である場
合、ステップS62に移り、次に位置する背景画素の透
明度情報Rm,Rlを読み込み、処理を続ける。
Foreground unprocessed pixel run length length variable Fle
It is determined whether ngth is 0 (step S11).
4) If the result of this determination is that Length is 0, the flow moves to step S62, the transparency information Rm, Rl of the background pixel located next is read, and processing continues.

【0066】Flengthが0でないときは、背景未
処理画素ランレングス長変数Rlengthが0である
か否かを判定し(ステップS115)、Rlength
が0でない場合は、再びステップS111へ戻る。そし
て、前景画素の透明度情報Faが読みこまれ、前景画素
の透明度情報のバッファ中の位置情報Fmaskpoi
ntが、次の透明度情報の位置を示すように変更され、
前景画素の画素の値Fbgrが読みだされる。前景画素
の画素情報のバッファ中の位置情報Fpixpoint
が、次の画素情報の位置を示すように変更され、処理が
続行される。
If Flength is not 0, it is determined whether or not the background unprocessed pixel run length length variable Rlength is 0 (step S115), and Rlength is determined.
If is not 0, the process returns to step S111 again. Then, the transparency information Fa of the foreground pixel is read, and the position information Fmaskpoi in the buffer of the transparency information of the foreground pixel is read.
nt is changed to indicate the position of the next transparency information,
The pixel value Fbgr of the foreground pixel is read out. Position information Fpixpoint in buffer of pixel information of foreground pixel
Is changed to indicate the position of the next pixel information, and the processing is continued.

【0067】背景未処理画素ランレングス長変数Rle
ngthが0となった場合、全ての画素の処理が終わっ
ていれば処理を終了し(ステップS141)、終わって
いなければ、次に位置する前景画素の透明度情報Fm,
Flを読み込み、処理を続ける。
Background unprocessed pixel run length length variable Rle
When ngth becomes 0, the processing is completed if all pixels have been processed (step S141), and if not completed, the transparency information Fm of the next foreground pixel,
Read Fl and continue processing.

【0068】図6のステップS63で示される条件判断
で、前景画素の種別変数が半透明であることを示し、か
つ、背景画素の種別変数が透明であることを示す場合
(即ち、Fstate=その他, Rstate=1の
場合)、図12および図14に示すフロー図に従った処
理を行う。画像処理部203において、背景画素の画素
の値Rbgrが読みこまれ、背景画素の画素情報のバッ
ファ中の位置情報Rpixpointが、次の画素情報
の位置を示すように変更される(ステップS121)。
In the condition judgment shown in step S63 of FIG. 6, when the type variable of the foreground pixel is semi-transparent and the type variable of the background pixel is transparent (that is, Fstate = others) , Rstate = 1), processing according to the flowcharts shown in FIGS. 12 and 14 is performed. In the image processing unit 203, the pixel value Rbgr of the background pixel is read, and the position information Rpixpoint in the buffer of the pixel information of the background pixel is changed to indicate the position of the next pixel information (step S121).

【0069】さらに、画像処理部203では、前景画素
の透明度情報Faが読みこまれ、前景画素の透明度情報
のバッファ中の位置情報Fmaskpointが、次の
透明度情報の位置を示すように変更され、前景画素の画
素の値Fbgrが読みだされる。前景画素の画素情報の
バッファ中の位置情報Fpixpointは、次の画素
情報の位置を示すように変更される(ステップS12
2)。
Further, in the image processing unit 203, the transparency information Fa of the foreground pixel is read, and the position information Fmaskpoint in the buffer of the transparency information of the foreground pixel is changed to indicate the position of the next transparency information. The pixel value Fbgr of the pixel is read. The position information Fpixpoint in the pixel information buffer of the foreground pixel is changed to indicate the position of the next pixel information (step S12).
2).

【0070】さらに、画像処理部203では、透明度の
処理値DaをFFhとし、入力された透明度情報と画素
の値により、画素の処理値を(式6)に従って計算する
(ステップS123)。 Dbgr={(FFh−Fa)×Rbgr+Fa×Fbgr}÷FFh ・ ・・(式6) (なお、(式6)でFa,Rbgr,Fbgrは各々8
bitで表現されているものとする。”FFh”は16
進表記である。)
Further, the image processing unit 203 sets the transparency processing value Da to FFh, and calculates the processing value of the pixel according to (Equation 6) based on the input transparency information and the pixel value (step S123). Dbgr = {(FFh−Fa) × Rbgr + Fa × Fbgr} ÷ FFh (Equation 6) (Fa, Rbgr, Fbgr are each 8 in (Equation 6))
It is assumed to be expressed in bits. "FFh" is 16
It is a notation. )

【0071】設定された透明度の処理値Da=FFhと
計算された画素の値Dbgrが処理値Dabgrとして
出力される。前景未処理画素ランレングス長変数Fle
ngth)と背景未処理画素ランレングス長変数Rle
ngthの値が各々一つづつ減ぜられる(ステップS1
24)。
The processed value Da = FFh of the set transparency and the calculated pixel value Dbgr are output as the processed value Dabgr. Foreground unprocessed pixel run length length variable Fle
ngth) and the background unprocessed pixel run length length variable Rle
The ngth value is reduced by one (step S1).
24).

【0072】前景未処理画素ランレングス長変数Fle
ngthが0であるか否かが判定され(ステップS12
5)、その判定の結果、Flengthが0である場
合、ステップS62へ移り、次に位置する背景画素の透
明度情報Rm,Rlを読み込み、処理を続ける。
Foreground unprocessed pixel run length length variable Fle
It is determined whether ngth is 0 (step S12).
5) As a result of the determination, when the Length is 0, the process proceeds to step S62, the transparency information Rm and Rl of the background pixel located next is read, and the process is continued.

【0073】前景未処理画素ランレングス長変数Fle
ngthが0でないときは、背景未処理画素ランレング
ス長変数Rlengthが0であるか否かが判定され
(ステップS126)、その判定の結果、Rlengt
hが0でない場合は、再びステップS121へ戻り、背
景画素の画素の値Rbgrが読みこまれ、背景画素の画
素情報のバッファ中の位置情報Rpixpointが、
次の画素情報の位置を示すように変更され、処理が続行
される。
Foreground unprocessed pixel run length length variable Fle
If ngth is not 0, it is determined whether or not the background unprocessed pixel run length length variable Rlength is 0 (step S126). As a result of the determination, Rlength is determined.
If h is not 0, the process returns to step S121 again, the pixel value Rbgr of the background pixel is read, and the position information Rpixpoint in the buffer of the pixel information of the background pixel is
It is changed to indicate the position of the next pixel information, and the processing is continued.

【0074】背景未処理画素ランレングス長変数Rle
ngthが0となった場合、全ての画素の処理が終わっ
ていれば処理を終了し(ステップS141)、終わって
いなければ、ステップS61に移り、次に位置する前景
画素の透明度情報Fm,Flを読み込み、処理を続け
る。
Background unprocessed pixel run length length variable Rle
When ngth becomes 0, if the processing of all the pixels is completed, the processing is ended (step S141), and if not completed, the process proceeds to step S61, and the transparency information Fm, Fl of the next foreground pixel is set. Read and continue processing.

【0075】図6のステップS63で示される条件判断
で、前景画素の種別変数が半透明であることを示し、か
つ、背景画素の種別変数が半透明であることを示す場合
(即ち、Fstate=その他, Rstate=その
他の場合)、図13および図14に示すフロー図に従っ
た処理を行う。
When the condition judgment shown in step S63 of FIG. 6 indicates that the type variable of the foreground pixel is semitransparent and the type variable of the background pixel is semitransparent (that is, Fstate = Others, Rstate = other cases), the processing according to the flowcharts shown in FIGS. 13 and 14 is performed.

【0076】画像処理部203は、背景画素の透明度情
報Raを読みこみ、背景画素の透明度情報のバッファ中
の位置情報Rmaskpointを、次の透明度情報の
位置を示すように変更する(ステップS131)。
The image processing unit 203 reads the transparency information Ra of the background pixel and changes the position information Rmaskpoint in the buffer of the transparency information of the background pixel so as to indicate the position of the next transparency information (step S131).

【0077】画像処理部203は、背景画素の画素の値
Rbgrを読みこみ、背景画素の画素情報のバッファ中
の位置情報Rpixpointを、次の画素情報の位置
を示すように変更する(ステップS132)。
The image processing unit 203 reads the pixel value Rbgr of the background pixel, and modifies the position information Rpixpoint in the buffer of the pixel information of the background pixel so as to indicate the position of the next pixel information (step S132). .

【0078】画像処理部203は、前景画素の透明度情
報Faを読みこみ、前景画素の透明度情報のバッファ中
の位置情報Fmaskpointを、次の透明度情報の
位置を示すように変更し、前景画素の画素の値Fbgr
を読み出す。前景画素の画素情報のバッファ中の位置情
報Fpixpointを、次の画素情報の位置を示すよ
うに変更する(ステップS133)。
The image processing unit 203 reads the transparency information Fa of the foreground pixel, changes the position information Fmaskpoint in the buffer of the transparency information of the foreground pixel so as to indicate the position of the next transparency information, and changes the pixel position of the pixel of the foreground pixel. Value of Fbgr
Read out. The position information Fpixpoint in the pixel information buffer of the foreground pixel is changed to indicate the position of the next pixel information (step S133).

【0079】画像処理部203は、入力された透明度情
報と画素の値により、透明度の処理値Daを(式7)に
従って計算する。また、入力された透明度情報と画素の
値により、画素の処理値Dbgrを(式8)に従って計
算する(ステップS1007)。
The image processing unit 203 calculates the processed value Da of the transparency according to (Equation 7) based on the input transparency information and the pixel value. Further, the processed value Dbgr of the pixel is calculated according to (Equation 8) based on the input transparency information and the pixel value (step S1007).

【0080】 Da={(FFh−Fa)×Ra+FFh×Fa}÷FFh ・・・(式7), Dbgr={(FFh−Fa)×Ra×Rbgr+FFh×Fa×Fbgr} ÷{(FFh−Fa)×Ra+FFh×Fa} ・・・(式8 ) (なお、(式7)と(式8)でFa,Ra,Rbgr,
Fbgrは各々8bitで表現されているものとす
る。”FFh”は16進表記である。)
Da = {(FFh−Fa) × Ra + FFh × Fa} ÷ FFh (Equation 7), Dbgr = {(FFh−Fa) × Ra × Rbgr + FFh × Fa × Fbgr} ÷ {(FFh−Fa) × Ra + FFh × Fa} (Equation 8) (Note that in (Equation 7) and (Equation 8), Fa, Ra, Rbgr,
Each Fbgr is represented by 8 bits. "FFh" is a hexadecimal notation. )

【0081】計算された、透明度の処理値Daと画素の
値Dbgrが、処理値Dbgarとして出力される。前
景未処理画素ランレングス長変数Flengthと背景
未処理画素ランレングス長変数Rlengthの値を各
々一つづつ減少させる(ステップS135)。
The calculated transparency processing value Da and the calculated pixel value Dbgr are output as the processing value Dbgar. The values of the foreground unprocessed pixel run length variable Flength and the background unprocessed pixel run length variable Rlength are each decreased by one (step S135).

【0082】前景未処理画素ランレングス長変数Fle
ngthが0であるか否かを判定し、Flengthが
0となった場合、次に位置する、背景画素の透明度情報
Rm,Rlを読み込み、処理を続ける(ステップS13
6)。
Foreground unprocessed pixel run length length variable Fle
It is determined whether or not ngth is 0, and when Flenth is 0, transparency information Rm and Rl of the background pixel located next is read, and the processing is continued (step S13).
6).

【0083】前景未処理画素ランレングス長変数Fle
ngthが0でない場合、背景未処理画素ランレングス
長変数Rlengthが0であるか否かを判定し(ステ
ップS137)、Rlengthが0でない場合は、再
び背景画素の透明度情報Raを読みこみ、背景画素の透
明度情報のバッファ中の位置情報Rmaskpoint
を、次の透明度情報の位置を示すように変更し、処理を
続ける(ステップS131)。
Foreground unprocessed pixel run length length variable Fle
If ngth is not 0, it is determined whether or not the background unprocessed pixel run length length variable Rlength is 0 (step S137). If Rlength is not 0, the transparency information Ra of the background pixel is read again and the background pixel is read. Location information Rmaskpoint in the transparency information buffer
Is changed to indicate the position of the next transparency information, and the process is continued (step S131).

【0084】背景未処理画素ランレングス長変数Rle
ngthが0となった場合、全ての画素の処理が終わっ
ていれば処理を終了し(ステップS141)、終わって
いなければ、次に位置する、前景画素の透明度情報F
m,Flを読み込み、処理を続ける。
Background unprocessed pixel run length length variable Rle
When ngth becomes 0, the processing is ended if all pixels have been processed (step S141), and if not completed, the transparency information F of the next foreground pixel located next.
m and Fl are read and the processing is continued.

【0085】[0085]

【発明の効果】以上述べたように、本発明(請求項1お
よび2)は、透かし合成のためのマスク情報を、透明部
分(合成後は背景画像のみの部分)、不透明部分(合成
後は前景画像のみの部分)、半透明部分(それ以外の部
分)の三種類に分類し、前景画像の透明部分に対応する
前景画像の画像情報、前景画像の不透明部分に対応する
背景画像の画像情報といった、処理の際に不必要なデー
タの転送をさけ、前景画像の、透明部分と不透明部分に
ついては、画像情報のうち必要な部分のみと、マスク情
報を、転送するようにしたため、透かし合成を行う場合
のデータ転送量および計算時間を削減しうるという効果
を奏する。また、さらに細かく分類し、半透明部分の一
部(背景画像の透明度が0の場合)についても、必要な
部分として前景画像の画像情報を転送することにより、
データ転送量および計算時間の一層の削減が可能とな
る。また、本発明(請求項3)によれば、透明部分と不
透明部分のマスク情報を各々圧縮することにより、デー
タ転送量をさらに削減しうるという効果も奏する。
As described above, according to the present invention (claims 1 and 2), the mask information for watermark composition is provided with a transparent part (a part of the background image only after composition) and an opaque part (after composition). Image information of the foreground image corresponding to the transparent part of the foreground image, and image information of the background image corresponding to the opaque part of the foreground image. In order to avoid unnecessary data transfer at the time of processing, for transparent and opaque parts of the foreground image, only the necessary part of the image information and the mask information are transferred. This has the effect of reducing the amount of data transfer and the calculation time in the case of performing it. Further, by further classifying, and by transferring the image information of the foreground image as a necessary part even for a part of the semi-transparent part (when the transparency of the background image is 0),
It is possible to further reduce the data transfer amount and the calculation time. Further, according to the present invention (Claim 3), the amount of data transfer can be further reduced by compressing the mask information of the transparent portion and the mask information of the opaque portion.

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

【図1】 第1の実施例において行われる処理の流れを
示す図である。
FIG. 1 is a diagram showing a flow of processing performed in a first embodiment.

【図2】 本発明の実施例の概略構成を示す図である。FIG. 2 is a diagram showing a schematic configuration of an embodiment of the present invention.

【図3】 透明度により分類される前景画素と背景画素
の種類の組み合わせを示す図である。
FIG. 3 is a diagram showing a combination of types of foreground pixels and background pixels classified by transparency.

【図4】 図3の表において合成後の透明度と合成後の
画素値でまとめた5種類の分類を示す図である。
FIG. 4 is a diagram showing five types of classification in which transparency after synthesis and pixel values after synthesis in the table of FIG. 3 are summarized.

【図5】 処理に必要とされるデータと処理の概要を示
す図である。
FIG. 5 is a diagram showing data required for processing and an outline of processing.

【図6】 第2の実施例において、前処理部で行われる
処理の流れを示す図である。
FIG. 6 is a diagram showing a flow of processing performed by a preprocessing unit in the second embodiment.

【図7】 第2の実施例において、前景画素が透明で背
景画素が透明または不透明のときの画像処理部の処理の
流れを示す図である。
FIG. 7 is a diagram showing a processing flow of an image processing unit when a foreground pixel is transparent and a background pixel is transparent or opaque in the second embodiment.

【図8】 第2の実施例において、前景画素が透明で背
景画素が半透明のときの画像処理部の処理の流れを示す
図である。
FIG. 8 is a diagram showing a processing flow of an image processing unit when a foreground pixel is transparent and a background pixel is semi-transparent in the second embodiment.

【図9】 第2の実施例において、前景画素が不透明の
ときの画像処理部の処理の流れを示す図である。
FIG. 9 is a diagram showing a processing flow of an image processing unit when a foreground pixel is opaque in the second embodiment.

【図10】 第2の実施例において、前景画素が不透明
で背景画素が半透明のときの画像処理部の処理の流れを
示す図である。
FIG. 10 is a diagram showing a processing flow of the image processing unit when the foreground pixel is opaque and the background pixel is semi-transparent in the second embodiment.

【図11】 第2の実施例において、前景画素が半透明
で背景画素が透明のときの画像処理部の処理の流れを示
す図である。
FIG. 11 is a diagram showing a flow of processing of an image processing unit when a foreground pixel is semitransparent and a background pixel is transparent in the second embodiment.

【図12】 第2の実施例において、前景画素が半透明
で背景画素が不透明のときの画像処理部の処理の流れを
示す図である。
FIG. 12 is a diagram showing a flow of processing of an image processing unit when a foreground pixel is translucent and a background pixel is opaque in the second embodiment.

【図13】 第2の実施例において、前景画素が半透明
で背景画素が半透明のときの画像処理部の処理の流れを
示す図である。
FIG. 13 is a diagram showing a processing flow of the image processing unit when the foreground pixel is semitransparent and the background pixel is semitransparent in the second embodiment.

【図14】 図7〜図13の処理に共通な処理の終了を
判定する処理を示す図出ある。
FIG. 14 is a diagram showing a process of determining the end of the process common to the processes of FIGS. 7 to 13;

【図15】 第2実施例における透明度情報の例を示す
図である。
FIG. 15 is a diagram showing an example of transparency information in the second embodiment.

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

20…画像処理装置 22…メモリ 23…入出力
コントローラ 201…入力バッファ 202…前処理部 20
3… 画像処理部 204…後処理部 205…出力バッファ 20
6…CPU 209…外部出力用インタフェース
20 ... Image processing device 22 ... Memory 23 ... Input / output controller 201 ... Input buffer 202 ... Pre-processing unit 20
3 ... Image processing unit 204 ... Post-processing unit 205 ... Output buffer 20
6 ... CPU 209 ... External output interface

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 多値画像の透かし合成の機能を有する画
像処理装置において、 前景画素を、前景画素の透明度
情報により、合成後は背景画素のみの値を持つ透明、合
成後は前景画素のみの値を持つ不透明、およびそれら以
外の値を持つ半透明の3種類に分類し、分類ごとに処理
の内容を切替えることを特徴とする画像合成処理装置。
1. An image processing device having a watermark compositing function of a multi-valued image, wherein a foreground pixel is transparent having a value of only a background pixel after composition, and only a foreground pixel is composed after composition according to transparency information of the foreground pixel. An image synthesizing processing device characterized by being classified into three types of opaque having a value and semi-transparent having a value other than those, and switching the content of processing for each classification.
【請求項2】 多値画像の透かし合成の機能を有する画
像処理装置において、前景画素を、前景画素の透明度情
報により、合成後は背景画素のみの値を持つ透明、合成
後は前景画素のみの値を持つ不透明、およびそれら以外
の値を持つ半透明の3種類に分類し、かつ、前景画素の
半透明のものについて、背景画素を、背景画素の透明度
情報により、透明、不透明、半透明の3種類に分類する
ことにより、入力された画素の組み合わせを5種類に分
類し、分類ごとに処理の内容を切替えることを特徴とす
る画像合成処理装置。
2. An image processing apparatus having a watermark composition function of a multi-valued image, wherein a foreground pixel is transparent having a value of only a background pixel after composition and only a foreground pixel after composition, according to transparency information of the foreground pixel. The background pixels are classified into three types, that is, opaque having a value and semi-transparent having a value other than those, and the background pixels are classified into transparent, opaque, and semi-transparent according to the transparency information of the background pixels. An image synthesizing processing device characterized by classifying input pixel combinations into 5 types by classifying into 3 types and switching processing contents for each class.
【請求項3】 前記請求項1または請求項2の画像合成
処理方式において、透明度情報を圧縮した形式で処理部
に転送することを特徴とする画像合成処理装置。
3. The image composition processing apparatus according to claim 1 or 2, wherein the transparency information is transferred to the processing unit in a compressed format.
JP5238679A 1993-07-09 1993-07-09 Picture synthesis processor Pending JPH0728986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5238679A JPH0728986A (en) 1993-07-09 1993-07-09 Picture synthesis processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5238679A JPH0728986A (en) 1993-07-09 1993-07-09 Picture synthesis processor

Publications (1)

Publication Number Publication Date
JPH0728986A true JPH0728986A (en) 1995-01-31

Family

ID=17033699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5238679A Pending JPH0728986A (en) 1993-07-09 1993-07-09 Picture synthesis processor

Country Status (1)

Country Link
JP (1) JPH0728986A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1020849A (en) * 1996-07-08 1998-01-23 Fuji Xerox Co Ltd Plotting processor
JP2000020049A (en) * 1998-06-29 2000-01-21 Nec Ic Microcomput Syst Ltd 2d graphic processing device and 2d graphic processing method
JP2000066659A (en) * 1998-08-21 2000-03-03 Denso Corp Image compositing device and method, and navigation system
JP2000194837A (en) * 1998-12-28 2000-07-14 Nec Corp Image processing method and device therefor
JP2002191604A (en) * 2000-12-26 2002-07-09 Hitachi Medical Corp Ultrasonograph
US6429874B1 (en) 1997-01-17 2002-08-06 Namco Ltd. Image generating apparatus and method
JP2003225427A (en) * 2002-02-05 2003-08-12 Shinnichi Electronics Kk Picture display device for pachinko machine, and picture displaying method and picture displaying program for the picture display device
US6665419B1 (en) 1999-01-13 2003-12-16 Nec Corporation Digital watermark inserting system and digital watermark characteristic parameter table generating method
JP2004246930A (en) * 2004-06-03 2004-09-02 Sony Computer Entertainment Inc Image processor and method
KR100609614B1 (en) * 1996-09-20 2006-12-07 소니 컴퓨터 엔터테인먼트 인코포레이티드 Method and apparatus for transmitting picture data, processing pictures and recording medium therefor
JP2007114924A (en) * 2005-10-19 2007-05-10 Matsushita Electric Ind Co Ltd Multiple image rendering unit
JP2007514477A (en) * 2003-12-03 2007-06-07 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Ultrasound imaging system and method for simultaneously displaying blood flow and perfusion parameters
JP2007170834A (en) * 2005-12-19 2007-07-05 Denso Corp Navigation apparatus and image display method for the navigation apparatus
JP2008228168A (en) * 2007-03-15 2008-09-25 Fuji Xerox Co Ltd Image processing apparatus and program
WO2009072551A1 (en) * 2007-12-07 2009-06-11 Sony Corporation Image processing device, dynamic image reproduction device, and processing method and program used in the devices
JP2010256580A (en) * 2009-04-24 2010-11-11 Toshiba Corp Image display device
JP2012133178A (en) * 2010-12-22 2012-07-12 Clarion Co Ltd Display control device and display layer composing program
JP2017154395A (en) * 2016-03-02 2017-09-07 株式会社リコー Information processing device, image processing device, and information processing method
WO2017187508A1 (en) * 2016-04-26 2017-11-02 オリンパス株式会社 Display processing device and imaging device
US10152657B2 (en) 2015-09-11 2018-12-11 Ricoh Company, Ltd. Image processing apparatus and image processing method of color image
WO2019021484A1 (en) * 2017-07-28 2019-01-31 オリンパス株式会社 Display processing device and imaging device
CN112308088A (en) * 2020-09-16 2021-02-02 广州忆游科技有限公司 Method for intelligently screening full-transparent pictures

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1020849A (en) * 1996-07-08 1998-01-23 Fuji Xerox Co Ltd Plotting processor
KR100609614B1 (en) * 1996-09-20 2006-12-07 소니 컴퓨터 엔터테인먼트 인코포레이티드 Method and apparatus for transmitting picture data, processing pictures and recording medium therefor
WO2004093016A1 (en) * 1997-01-17 2004-10-28 Katsuhiro Miura Image formation apparatus and method
US6429874B1 (en) 1997-01-17 2002-08-06 Namco Ltd. Image generating apparatus and method
JP2000020049A (en) * 1998-06-29 2000-01-21 Nec Ic Microcomput Syst Ltd 2d graphic processing device and 2d graphic processing method
JP2000066659A (en) * 1998-08-21 2000-03-03 Denso Corp Image compositing device and method, and navigation system
JP2000194837A (en) * 1998-12-28 2000-07-14 Nec Corp Image processing method and device therefor
US6665419B1 (en) 1999-01-13 2003-12-16 Nec Corporation Digital watermark inserting system and digital watermark characteristic parameter table generating method
US6697499B2 (en) 1999-01-13 2004-02-24 Nec Corporation Digital watermark inserting system and digital watermark characteristic parameter table generating method
JP2002191604A (en) * 2000-12-26 2002-07-09 Hitachi Medical Corp Ultrasonograph
JP4656723B2 (en) * 2000-12-26 2011-03-23 株式会社日立メディコ Ultrasonic diagnostic equipment
JP2003225427A (en) * 2002-02-05 2003-08-12 Shinnichi Electronics Kk Picture display device for pachinko machine, and picture displaying method and picture displaying program for the picture display device
JP2007514477A (en) * 2003-12-03 2007-06-07 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Ultrasound imaging system and method for simultaneously displaying blood flow and perfusion parameters
JP4682149B2 (en) * 2003-12-03 2011-05-11 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Ultrasound imaging system and method for simultaneously displaying blood flow and perfusion parameters
JP2004246930A (en) * 2004-06-03 2004-09-02 Sony Computer Entertainment Inc Image processor and method
JP2007114924A (en) * 2005-10-19 2007-05-10 Matsushita Electric Ind Co Ltd Multiple image rendering unit
JP2007170834A (en) * 2005-12-19 2007-07-05 Denso Corp Navigation apparatus and image display method for the navigation apparatus
JP2008228168A (en) * 2007-03-15 2008-09-25 Fuji Xerox Co Ltd Image processing apparatus and program
US8259347B2 (en) 2007-03-15 2012-09-04 Fuji Xerox Co., Ltd. Image processing apparatus and computer readable medium
US8768097B2 (en) 2007-12-07 2014-07-01 Sony Corporation Image processing apparatus, moving image reproducing apparatus, and processing method and program therefor
WO2009072551A1 (en) * 2007-12-07 2009-06-11 Sony Corporation Image processing device, dynamic image reproduction device, and processing method and program used in the devices
JP2010256580A (en) * 2009-04-24 2010-11-11 Toshiba Corp Image display device
US8803905B2 (en) 2010-12-22 2014-08-12 Clarion Co., Ltd. Display control device and display layer combination program
JP2012133178A (en) * 2010-12-22 2012-07-12 Clarion Co Ltd Display control device and display layer composing program
US10152657B2 (en) 2015-09-11 2018-12-11 Ricoh Company, Ltd. Image processing apparatus and image processing method of color image
JP2017154395A (en) * 2016-03-02 2017-09-07 株式会社リコー Information processing device, image processing device, and information processing method
US10192282B2 (en) 2016-03-02 2019-01-29 Ricoh Company Ltd. Information processing device, image processing apparatus, and information processing method for high-speed translucency calculation
WO2017187508A1 (en) * 2016-04-26 2017-11-02 オリンパス株式会社 Display processing device and imaging device
WO2019021484A1 (en) * 2017-07-28 2019-01-31 オリンパス株式会社 Display processing device and imaging device
CN112308088A (en) * 2020-09-16 2021-02-02 广州忆游科技有限公司 Method for intelligently screening full-transparent pictures

Similar Documents

Publication Publication Date Title
JPH0728986A (en) Picture synthesis processor
US6023302A (en) Blending of video images in a home communications terminal
US8243340B2 (en) Pre-processing of image data for enhanced compression
US7242411B2 (en) Adjustment of color values for optimized image processing
JP4196845B2 (en) Image processing device
US6819331B2 (en) Method and apparatus for updating a color look-up table
US20110002551A1 (en) Compressive coding device and visual display control device
EP1795000A1 (en) Embedded device with image rotation
US20070097142A1 (en) Resampling chroma video using a programmable graphics processing unit to provide improved color rendering
TWI243343B (en) Image processing system and method of scaling a keyed image
CN105657295A (en) Method of and apparatus for processing frames in a data processing system
US5943045A (en) Image file, generation method thereof, and image display apparatus
JPS63182785A (en) Color picture processor
US7834888B2 (en) Mechanism for color-space neutral (video) effects scripting engine
US6778301B2 (en) Fast preview of CCITT-compressed documents
JP3839054B2 (en) Method for encoding an image in a transmission unit
JP3377179B2 (en) Screen synthesis apparatus and method
US6373987B1 (en) Picture-synthetic system and picture-synthetic method therefor
JPH09121286A (en) Method and device for compressing picture data
WO2002039752A2 (en) High quality color key extraction apparatus
Munro et al. Imaging Services in a Multimedia Environment
US5894568A (en) Apparatus and method for computing a difference in a digital processing system
JPH04357767A (en) Encoding compressor for color picture signal
JPS58207168A (en) Storage device of color picture information
JPH08340457A (en) Processor and method for image processing