JPH0711829B2 - Color mixing processing controller - Google Patents

Color mixing processing controller

Info

Publication number
JPH0711829B2
JPH0711829B2 JP62244180A JP24418087A JPH0711829B2 JP H0711829 B2 JPH0711829 B2 JP H0711829B2 JP 62244180 A JP62244180 A JP 62244180A JP 24418087 A JP24418087 A JP 24418087A JP H0711829 B2 JPH0711829 B2 JP H0711829B2
Authority
JP
Japan
Prior art keywords
partial image
image data
data
pattern
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP62244180A
Other languages
Japanese (ja)
Other versions
JPS6488784A (en
Inventor
純一 山内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP62244180A priority Critical patent/JPH0711829B2/en
Publication of JPS6488784A publication Critical patent/JPS6488784A/en
Publication of JPH0711829B2 publication Critical patent/JPH0711829B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 〔概要〕 画像データ上の指定した範囲で所定の重みパターンと基
準画素データを用いて色混合処理を行う色混合処理制御
装置に係り、特に指定した範囲の部分画像データと重み
パターンの各アドレス指定を効率良く行う技術に関し、 部分画像データと重みパターン等の読み込みアドレスを
揃えるためのバッファを用意することにより、色混合処
理部のアドレス制御を簡単にし、処理速度を向上させる
ことを目的とし、 画像データを記憶する画像記憶手段と、部分画像データ
を記憶する部分画像バッファと、部分画像データの各画
素に対応する重みデータの集合である重みパターンを記
憶する重みパターンバッファと、前記画像記憶手段の画
像データのうち指定アドレス範囲の部分画像データ及び
それに対応する重みパターンを、各々前記部分画像バッ
ファ及び前記重みパターンバッファの前記指定アドレス
範囲と同一のアドレス範囲に書き込む第1の転送制御手
段と、前記部分画像バッファと前記重みパターンバッフ
ァ上の同一のアドレスを指定し、前記指定アドレス範囲
内の各アドレス毎の前記部分画像データ及び対応する前
記重みパターンを読み出す第2の転送制御手段と、読み
出された該部分画像データ及び重みパターンの各重みデ
ータに加えて1つの基準画素値を入力し、前記部分画像
データの各画素に対応する色混合データを演算する色混
合処理手段とを有するように構成する。
The present invention relates to a color mixing processing control device that performs color mixing processing using a predetermined weighting pattern and reference pixel data in a specified range on image data, and particularly to partial image data in a specified range. Concerning the technology for efficiently specifying each address of the weight pattern and the weight pattern, by providing a buffer for aligning the read addresses of the partial image data and the weight pattern, the address control of the color mixing processing unit is simplified and the processing speed is improved. Image storage means for storing image data, a partial image buffer for storing partial image data, and a weight pattern buffer for storing a weight pattern that is a set of weight data corresponding to each pixel of the partial image data. And partial image data in the specified address range of the image data in the image storage means and the corresponding weight pattern. First transfer control means for writing a turn into the same address range as the designated address range of the partial image buffer and the weight pattern buffer, and the same address on the partial image buffer and the weight pattern buffer are designated. A second transfer control means for reading out the partial image data and the corresponding weighting pattern for each address within the specified address range, and 1 in addition to the read out partial image data and each weighting data of the weighting pattern. And a color mixing processing unit for inputting one reference pixel value and calculating color mixing data corresponding to each pixel of the partial image data.

また、画像データを記憶する画像記憶手段と、部分画像
データを記憶する部分画像バッファと、部分画像データ
の各画素に対応する重みデータの集合である重みパター
ンを記憶する重みパターンバッファと、前記画像記憶手
段の画像データのうち指定アドレス範囲の部分画像デー
タ及びそれに対応する重みパターンを、各々前記部分画
像バッファ及び前記重みパターンバッファの前記指定ア
ドレス範囲と同一の大きさを有し所定のアドレスを基準
とするアドレス範囲に書き込む第3の転送制御手段と、
前記部分画像バッファと、前記重みパターンバッファ上
の同一のアドレスを指定し、前記所定のアドレスを基準
とするアドレス範囲内な各アドレス毎の前記部分画像デ
ータ及び対応する前記重みパターンを読み出す第4の転
送制御手段と、読み出された該部分画像データ及び重み
パターンの各重みデータに加えて1つの基準画素値を入
力し、前記部分画像データの各画素に対応する色混合デ
ータを演算する色混合処理手段とを有するように構成す
る。
Further, an image storage unit that stores image data, a partial image buffer that stores partial image data, a weight pattern buffer that stores a weight pattern that is a set of weight data corresponding to each pixel of the partial image data, and the image. The partial image data in the designated address range of the image data of the storage means and the weighting pattern corresponding to the partial image data have the same size as the designated address ranges of the partial image buffer and the weighted pattern buffer, respectively, and reference to a predetermined address. Third transfer control means for writing in the address range
A fourth address is designated by designating the same address on the partial image buffer and the weight pattern buffer, and reading out the partial image data and the corresponding weight pattern for each address within an address range based on the predetermined address. Color control for inputting one reference pixel value in addition to the read partial image data and each weight data of the weight pattern, and calculating color mixture data corresponding to each pixel of the partial image data. And processing means.

更に、画像データを記憶する画像記憶手段と、部分画像
データを記憶する部分画像バッファと、部分画像データ
の各画素に対応する重みデータの集合である重みパター
ン及びマスクパターンを各々記憶する重みパターンバッ
ファ及びマスクパターンバッファと、前記画像記憶手段
の画像データのうち指定アドレス範囲の部分画像データ
及びそれに対応する重みパターンとマスクパターンを、
各々前記部分画像バッファ、前記重みパターンバッファ
及び前記マスクパターンバッファの前記指定アドレス範
囲と同一の大きさを有し所定のアドレスを基準とするア
ドレス範囲に書き込む第5の転送制御手段と、前記部分
画像バッファ、前記重みパターンバッファ及び前記マス
クパターンバッファ上の同一のアドレスを指定し、前記
所定のアドレスを基準とするアドレス範囲内の各アドレ
ス毎の前記部分画像データ及び対応する前記重みパター
ンとマスクパターンを読み出す第6の転送制御手段と、
読み出された該部分画像データ及び重みパターンの各重
みデータとマスクパターンに加えて1つの基準画素値を
入力し、前記部分画像データのうち前記マスクパターン
によりマスクされていない各画素に対応する色混合デー
タを演算する色混合処理手段とを有するように構成す
る。
Further, an image storage unit that stores image data, a partial image buffer that stores partial image data, and a weight pattern buffer that stores a weight pattern and a mask pattern that are a set of weight data corresponding to each pixel of the partial image data. A mask pattern buffer, partial image data in a specified address range of the image data of the image storage means, and a weight pattern and a mask pattern corresponding to the partial image data,
Fifth transfer control means each having the same size as the specified address range of the partial image buffer, the weight pattern buffer, and the mask pattern buffer, and writing to an address range based on a predetermined address, and the partial image. The same address on the buffer, the weight pattern buffer, and the mask pattern buffer is designated, and the partial image data and the corresponding weight pattern and mask pattern for each address within the address range based on the predetermined address are designated. Sixth transfer control means for reading,
In addition to the read partial image data and each weight data of the weight pattern and the mask pattern, one reference pixel value is input, and a color corresponding to each pixel that is not masked by the mask pattern in the partial image data. And a color mixing processing means for calculating the mixed data.

〔産業上の利用分野〕[Industrial application field]

本発明は、画像データ上の指定した範囲で所定の重みパ
ターンと基準画素データを用いて色混合処理を行う色混
合処理制御装置に係り、特に指定した範囲の部分画像デ
ータと重みパターンの各アドレス指定を効率良く行う技
術に関する。
The present invention relates to a color mixing processing control device for performing color mixing processing using a predetermined weighting pattern and reference pixel data in a specified range on image data, and particularly to partial image data in the specified range and each address of the weighting pattern. Technology related to efficient designation.

〔従来の技術〕[Conventional technology]

ファクシミリ等によって伝送されてきたディジタル画像
データの処理を行う場合、その画像データの修正を必要
とする場合がある。このようなケースは、例えば新聞社
等において、支局から伝送されてきた写真データを印刷
する段階等において頻繁に発生する。
When processing digital image data transmitted by facsimile or the like, it may be necessary to correct the image data. Such a case frequently occurs, for example, in a newspaper company at the stage of printing the photographic data transmitted from the branch office.

このような場合、従来はディジタル画像データを一度印
刷して、人手によって修正を加え、正式な印刷工程へ回
していた。しかし、このような作業は熟練を要し、ま
た、わざわざ印刷してから修正を加えるため、多くの手
間がかかっていた。
In such a case, conventionally, digital image data is once printed, manually corrected, and sent to a formal printing process. However, this kind of work requires a lot of skill, and since it is necessary to print and then make corrections, much work is required.

これに対して、最近、ディジタル画像データの修正を電
子的に行う技術が提案されており、色混合(エアブラ
シ)処理と呼ばれている。この処理を用いることによ
り、例えば第4図の斜線1に示すようなディジタル画像
パターンがあった場合、ユーザが正方形2で示す範囲を
指定して、その部分の斜線部1と背景3の境界部分の鋭
さをぼかすような処理をすることができる。
On the other hand, recently, a technique for electronically correcting digital image data has been proposed, which is called color mixing (airbrush) processing. By using this processing, for example, when there is a digital image pattern as shown by the shaded area 1 in FIG. 4, the user designates the range indicated by the square 2 and the boundary portion between the shaded area 1 and the background 3 in that area. It is possible to perform processing that blurs the sharpness of the.

第5図に、上記色混合処理の原理を示す。まず、第4図
の正方形2に示す範囲には、例えば第5図(a)に示す
ような5画素×5画素のディジタル画像データ(以下、
部分画像データと呼ぶ)が存在するとする。ここで各画
素の数字は、最低明度を0、最高明度を255とした場合
の明度値を表わしている。これは実際には、各画素毎に
1バイト(8ビット)ずつのディジタル値を与えること
により、各画素毎に256階調の明度値が表現されてい
る。第5図(a)の場合、明度“200"の部分(1行目〜
3行目)が第4図のパターン1の部分に相当し、明度
“20"の部分(4行目、5行目)が同じく背景3の部分
に相当している。
FIG. 5 shows the principle of the color mixing process. First, in a range shown by a square 2 in FIG. 4, for example, digital image data of 5 pixels × 5 pixels as shown in FIG.
(Called partial image data). Here, the number of each pixel represents the brightness value when the minimum brightness is 0 and the maximum brightness is 255. In practice, the brightness value of 256 gradations is expressed for each pixel by giving a digital value of 1 byte (8 bits) for each pixel. In the case of FIG. 5 (a), the part of the brightness "200" (1st line ~
The third line) corresponds to the pattern 1 portion in FIG. 4, and the lightness "20" portion (fourth and fifth rows) corresponds to the background 3 portion.

今、第5図(a)の部分画像データの各画素に対応し
て、第5図(b)に示すような0から1の間の値をとり
うる重みデータの集合である重みパターンを用意する。
なお、この場合も実際には、各画素毎に1バイト(8ビ
ット)ずつのディジタル値によって表現される。更に、
基準画素値というものを用意する。これは例えば、第5
図(a)のパターン部分の明度“200"と背景部分の明度
“20"の中間付近の値“90"等の明度値のデータである。
Now, for each pixel of the partial image data of FIG. 5 (a), a weight pattern, which is a set of weight data that can take a value between 0 and 1 as shown in FIG. 5 (b), is prepared. To do.
In this case as well, in reality, each pixel is represented by a digital value of 1 byte (8 bits). Furthermore,
A reference pixel value is prepared. This is, for example, the fifth
It is data of lightness values such as a value "90" near the middle of the lightness "200" of the pattern portion and the lightness "20" of the background portion in FIG.

そして、上記基準画素値と、第5図(a)の各部分画素
データ、及び第5図(b)の重みパターンの各重みデー
タとの間で、対応する画素毎に次式によって色混合デー
タという量を求める。
Then, between the above-mentioned reference pixel value, each partial pixel data of FIG. 5A, and each weight data of the weight pattern of FIG. To find the quantity.

色混合データ=部分画像データ+(基準画素値 −部分画像データ)×重みデータ ……(1) 上記(1)式に基づいて、第5図(a),(b)の1〜
5行目について色混合データを求めると次のようにな
る。
Color mixing data = partial image data + (reference pixel value−partial image data) × weight data (1) Based on the above equation (1), 1 to 1 in FIGS.
The color mixing data for the fifth line is as follows.

1行目:200+(90−200)×0=200 2行目:200+(90−200)×0.5=145 3行目:200+(90−200)×1=90 4行目:20+(90−20)×0.5=55 5行目:20+(90−20)×0=20 上記計算により、第5図(a)の部分画像データに対応
して、第5図(c)に示す色混合データを得ることがで
きる。これを見てわかるように、第5図(a)の3行目
と4行目ではっきりと境界が分かれていたのに対して、
第5図(c)では1行目から5行目全体にわたって明度
が徐々に変化しており、境界がぼかされている。従っ
て、この色混合データで第4図の正方形2の部分を置き
替えることにより、その部分で第4図のパターン1と背
景3の境界をぼかすことができる。
1st line: 200 + (90-200) x 0 = 200 2nd line: 200 + (90-200) x 0.5 = 145 3rd line: 200 + (90-200) x 1 = 90 4th line: 20 + (90- 20) × 0.5 = 55 5th line: 20+ (90−20) × 0 = 20 By the above calculation, the color mixture data shown in FIG. 5 (c) corresponding to the partial image data of FIG. 5 (a). Can be obtained. As can be seen from this, while the boundaries are clearly separated in the third and fourth lines of FIG. 5 (a),
In FIG. 5 (c), the lightness gradually changes from the first line to the entire fifth line, and the boundary is blurred. Therefore, by replacing the part of the square 2 in FIG. 4 with this color mixture data, the boundary between the pattern 1 and the background 3 in FIG. 4 can be blurred at that part.

この時、第5図(b)の重みパターンとして、様々な画
素数のものを用意し、また、そのパターンの種類及び基
準画素値をいろいろ用意することにより、様々な色混合
処理を行える。例えば第6図のように、放射状に広がる
につれて重みが小さくなるような重みパターンを用意す
れば、円型のパターンの周縁をぼかすような色混合処理
が可能である。
At this time, various color mixing processes can be performed by preparing patterns having various numbers of pixels as the weighting pattern of FIG. 5B, and preparing various kinds of patterns and reference pixel values. For example, as shown in FIG. 6, if a weighting pattern is prepared such that the weight becomes smaller as it spreads radially, color mixing processing that blurs the periphery of the circular pattern is possible.

更に、この処理をカラー画像データにおけるR,G,Bの3
枚の各画像データに対して行えば、カラーの色混合処理
も行うことができる。
In addition, this processing is applied to R, G, and B of color image data.
By performing the processing for each piece of image data, it is possible to perform color color mixing processing.

第7図に上記色混合処理を行うための従来例の構成図を
示す。まず、R,G,Bの3枚からなる画像メモリ6には、
1枚分のカラー画像データ(R,G,B別の明度値)が記憶
されており、画像表示部7に任意に表示される。
FIG. 7 shows a configuration diagram of a conventional example for performing the color mixing process. First, in the image memory 6 consisting of three sheets of R, G, B,
Color image data for one sheet (brightness values for each of R, G, and B) is stored and displayed arbitrarily on the image display unit 7.

ユーザはこの表示を見ながら、タブレット8から例えば
画像メモリ6上のR画像の領域18(第4図2に対応)を
指示する。
While observing this display, the user designates the area 18 (corresponding to FIG. 4) of the R image on the image memory 6 from the tablet 8.

これにより、画像制御装置4内のプロセッサ11によって
制御されるリード制御部9が画像メモリ6上のR画像の
領域18のデータを、R,G,Bからなる部分画像データバッ
ファ10上のR画像の対応するアドレスに、部分画像デー
タ19(第5図(a)に対応)として読み込む。この場
合、画像メモリ6上の領域18のアドレス範囲と、部分画
像データバッファ10上の部分画像データ19のアドレス範
囲は同じアドレス範囲である。
As a result, the read control unit 9 controlled by the processor 11 in the image control device 4 transfers the data of the R image area 18 in the image memory 6 to the R image in the partial image data buffer 10 consisting of R, G, and B. The partial image data 19 (corresponding to FIG. 5 (a)) is read into the address corresponding to. In this case, the address range of the area 18 on the image memory 6 and the address range of the partial image data 19 on the partial image data buffer 10 are the same address range.

次に、この部分画像データ19に対応する重みパターン20
(第5図(b)に対応)を、ホストコンピュータ5内の
特には図示しないメモリから選択して、重みパターンメ
モリ12内の特定の基準アドレスAから順に読み込む。重
みパターン20は第5図(b)で説明したように、各画素
毎に0から1の間の値をとりうる1バイト(8ビット)
の重みデータの集合である。
Next, the weight pattern 20 corresponding to the partial image data 19
(Corresponding to FIG. 5 (b)) is selected from a memory (not shown) in the host computer 5, and is sequentially read from a specific reference address A in the weight pattern memory 12. As described in FIG. 5B, the weighting pattern 20 is 1 byte (8 bits) that can take a value between 0 and 1 for each pixel.
Is a set of weight data of.

また、基準画素値21(第5図の説明参照)を同様にホス
トコンピュータ5から選択して、基準画素値メモリ13に
読み込む。
Similarly, the reference pixel value 21 (see the description of FIG. 5) is selected from the host computer 5 and read into the reference pixel value memory 13.

更に、部分画像データ19に対応するマスクデータ22を、
同様にホストコンピュータ5から選択して、マスクデー
タメモリ14に読み込む。マスクデータとは、画像メモリ
6の各画素に対応して、各画素毎に画像処理(ここでは
色混合処理)を行うか否かを“0"又は“1"の1ビットデ
ータによって指定したものである。
Furthermore, the mask data 22 corresponding to the partial image data 19
Similarly, it is selected from the host computer 5 and read into the mask data memory 14. The mask data designates whether or not to perform image processing (here, color mixing processing) for each pixel corresponding to each pixel of the image memory 6 by 1-bit data of "0" or "1". Is.

上記動作の後、プロセッサ11が部分画像データバッファ
10から部分画像データ19を、重みパターンメモリ12から
重みパターン20を、基準画素値メモリ13から基準画素値
21を、マスクデータメモリ14からマスクデータ22を、各
々色混合処理部15に1画素ずつ読み出す。これにより、
同処理部15において第5図及び前記(1)式で説明した
色混合処理が行われ、それにより得られた色混合データ
23がR,G,Bからなる色混合データバッファ16上の画像メ
モリ6の領域18と同一のアドレス範囲に書き込まれる。
After the above operation, the processor 11 makes the partial image data buffer
10 to partial image data 19, weight pattern memory 12 to weight pattern 20, reference pixel value memory 13 to reference pixel value
21 from the mask data memory 14 and the mask data 22 from the mask data memory 14 to the color mixing processing unit 15 one pixel at a time. This allows
In the processing unit 15, the color mixing process described in FIG. 5 and the equation (1) is performed, and the color mixing data obtained thereby is obtained.
23 is written in the same address range as the area 18 of the image memory 6 on the color mixed data buffer 16 consisting of R, G and B.

その後、プロセッサ11によって制御されるライト制御部
17が、色混合データバッファ16上の色混合データ23を画
像メモリ6に転送し、領域18の部分を書き替える。そし
てその結果は、画像表示部7に表示される。
After that, the light control unit controlled by the processor 11
17 transfers the color mixed data 23 in the color mixed data buffer 16 to the image memory 6 and rewrites the area 18 portion. The result is displayed on the image display unit 7.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかし第7図の従来例の場合、部分画像データバッファ
10に読み込まれる部分画像データ19と、マスクデータメ
モリ14に読み込まれるマスクデータ22のアドレス範囲
は、どちらも画像メモリ6上の領域18のアドレス範囲と
同一であるのに対し、重みパターンメモリ12に読み込ま
れる重みパターン20のアドレス範囲は、特定の基準アド
レスAから始まる範囲であり、上記アドレス範囲と異な
っている。このようにアドレス指定をしたのは、重みパ
ターン20を異なった部分画像データ19に対して何回も繰
り返して用いることがあるためである。このため、色混
合処理部15が部分画像データ19、マスクデータ22、及び
重みパターン20を各々読み込む場合、重みパターン20の
アドレス指定が他のアドレス指定と異なるため、同処理
部におけるアドレス制御が複雑になってしまい、その分
処理が遅くなってしまうという問題点を有していた。
However, in the case of the conventional example of FIG. 7, the partial image data buffer
The partial image data 19 read into 10 and the mask data 22 read into the mask data memory 14 both have the same address range as the address range of the area 18 on the image memory 6, while the weight pattern memory 12 The address range of the weight pattern 20 to be read is a range starting from a specific reference address A, which is different from the above address range. The addressing is performed in this way because the weighting pattern 20 may be repeatedly used for different partial image data 19. Therefore, when the color mixing processing unit 15 reads each of the partial image data 19, the mask data 22, and the weighting pattern 20, the addressing of the weighting pattern 20 is different from other addressing, so that the address control in the processing unit is complicated. Therefore, there is a problem that the processing becomes slower by that amount.

本発明は上記問題点を解決するために、部分画像データ
と重みパターン等の読み込みアドレスを揃えるためのバ
ッファを用意することにより、色混合処理部のアドレス
制御を簡単にし、処理速度を向上させることの可能な色
混合処理制御装置を提供することを目的とする。
In order to solve the above problems, the present invention simplifies the address control of the color mixing processing unit and improves the processing speed by providing a buffer for aligning read addresses such as partial image data and weight patterns. It is an object of the present invention to provide a color mixing processing control device capable of

〔問題点を解決するための手段〕[Means for solving problems]

第1図(a)に、本発明の第1のブロック図を示す。第
1の転送制御手段27は、画像記憶手段26上の画像データ
のうち指定アドレス範囲の部分画像データ30を、部分画
像バッファ25上の前記指定アドレス範囲と同一のアドレ
ス範囲に書き込む。
FIG. 1 (a) shows a first block diagram of the present invention. The first transfer control means 27 writes the partial image data 30 in the designated address range of the image data in the image storage means 26 in the same address range as the designated address range in the partial image buffer 25.

また、同じく第1の転送制御手段27は、重みパターンバ
ッファ26上の同一アドレス範囲に、部分画像データ30の
各画素に対応する重みデータの集合である重みパターン
31を書き込む。
Similarly, the first transfer control means 27 uses the weight pattern which is a set of weight data corresponding to each pixel of the partial image data 30 in the same address range on the weight pattern buffer 26.
Write 31.

次に、第2の転送制御手段28は、部分画像バッファ25と
重みパターンバッファ26上の同一のアドレスを指定し、
前記指定アドレス範囲内の各アドレス毎の部分画像デー
タ30及び対応する重みパターン31を読み出す。
Next, the second transfer control means 28 designates the same address on the partial image buffer 25 and the weight pattern buffer 26,
The partial image data 30 and the corresponding weight pattern 31 for each address within the specified address range are read.

色混合処理手段29は、読み出された該部分画像データ30
及び重みパターン31の各重みデータに加えて、1つの基
準画素値32を入力し、部分画像データ30の各画素に対応
する色混合データ33を演算する。色混合データは例え
ば、 色混合データ=部分画像データ+(基準画素値 −部分画像データ)×重みデータ ……(1) なる演算式で演算される。
The color mixing processing means 29 uses the read partial image data 30
In addition to each weight data of the weight pattern 31, one reference pixel value 32 is input, and the color mixture data 33 corresponding to each pixel of the partial image data 30 is calculated. The color mixture data is calculated, for example, by an arithmetic expression: color mixture data = partial image data + (reference pixel value−partial image data) × weight data (1).

このようにして演算された色混合データ33は、必要に応
じて画像記憶手段24上の対応する部分に書き戻される。
The color mixture data 33 calculated in this way is written back to the corresponding portion on the image storage means 24 as needed.

次に第1図(b)は、本発明の第2のブロック図であ
る。第3の転送制御手段35は、画像記憶手段24上の画像
データのうち指定アドレス範囲の部分画像データ30を、
部分画像バッファ25上の前記指定アドレス範囲と同一の
大きさを有し所定のアドレス38を基準とするアドレス範
囲に書き込む。
Next, FIG. 1 (b) is a second block diagram of the present invention. The third transfer control means 35 converts the partial image data 30 in the designated address range out of the image data on the image storage means 24,
Writing is performed in an address range having the same size as the specified address range on the partial image buffer 25 and having a predetermined address 38 as a reference.

また、同じく第3の転送制御手段35は、重みパターンバ
ッファ26上の上記と同じアドレス範囲に、部分画像デー
タ30の各画素に対応する重みデータの集合である重みパ
ターン31を書き込む。
Similarly, the third transfer control means 35 writes the weight pattern 31, which is a set of weight data corresponding to each pixel of the partial image data 30, in the same address range as above on the weight pattern buffer 26.

次に、第4の転送制御手段36は、部分画像バッファ25と
重みパターンバッファ26上の同一のアドレスを指定し、
前記所定のアドレス38を基準とするアドレス範囲内の各
アドレス毎の部分画像データ30及び対応する重みパター
ン31を読み出す。
Next, the fourth transfer control means 36 designates the same address on the partial image buffer 25 and the weight pattern buffer 26,
The partial image data 30 and the corresponding weight pattern 31 for each address within the address range based on the predetermined address 38 are read.

色混合処理手段29は、読み出された該部分画像データ30
及び重みパターン31の各重みデータに加えて、1つの基
準画素値32を入力し、部分画像データ30の各画素に対応
する色混合データ33を演算する。
The color mixing processing means 29 uses the read partial image data 30
In addition to each weight data of the weight pattern 31, one reference pixel value 32 is input, and the color mixture data 33 corresponding to each pixel of the partial image data 30 is calculated.

第1図(b)において、部分画像データ30に対応るすマ
スクパターンがある場合には、第3の転送制御手段35の
代わりに第5の転送制御手段39として、マスクパターン
バッファ34上の所定のアドレス38を基準とするアドレス
範囲にマスクパターン37を書き込む手段を加える。
In FIG. 1 (b), when there is a mask pattern corresponding to the partial image data 30, a fifth transfer control means 39 instead of the third transfer control means 35 is used as the predetermined pattern on the mask pattern buffer 34. A means for writing the mask pattern 37 in the address range based on the address 38 is added.

この場合、第4の転送制御手段36の代わりに第6の転送
制御手段40として、部分画像データ30及び重みパターン
31を読み出す動作に加え、マスクパターンバッファ34か
らマスクパターン37を読み出す動作を行う手段を加え
る。
In this case, instead of the fourth transfer control means 36, the sixth transfer control means 40 is used, and the partial image data 30 and the weight pattern
In addition to the operation of reading 31, a means for reading the mask pattern 37 from the mask pattern buffer 34 is added.

これにより、色混合処理手段29では、マスクパターン37
によりマスクされていない部分画像データ30の各画素に
対応する色混合データ33が演算される。
As a result, in the color mixing processing means 29, the mask pattern 37
Thus, the color mixture data 33 corresponding to each pixel of the unmasked partial image data 30 is calculated.

以上のようにして演算された色混合データ33は、必要に
応じて画像記憶手段24上の対応する部分に書き戻され
る。
The color mixture data 33 calculated as described above is written back to the corresponding portion on the image storage means 24 as necessary.

〔作用〕[Action]

第1図(a)及び(b)において、部分画像バッファ2
5、重みパターンバッファ26、及びマスクパターンバッ
ファ34に書き込まれる部分画像データ30、重みパターン
31、及びマスクパターン37は、互いにそのアドレスが同
一である。従って、第2、第4、又は第6の転送制御手
段28,36,40が、上記データを1画素ずつ読み出して色混
合処理手段29に転送する場合、同一のアドレスを指定す
ればよいため、アドレス制御が簡単になり、色混合処理
が速くなる。
In FIGS. 1A and 1B, the partial image buffer 2
5, partial image data 30 written in the weight pattern buffer 26 and the mask pattern buffer 34, the weight pattern
31 and the mask pattern 37 have the same address. Therefore, when the second, fourth, or sixth transfer control means 28, 36, 40 reads the above data pixel by pixel and transfers it to the color mixing processing means 29, the same address may be designated. The address control becomes simple and the color mixing process becomes faster.

〔実施例〕〔Example〕

以下、本発明の実施例につき詳細に説明を行う。第2図
は本発明の第1の実施例の構成図である。第7図の従来
例に対して対応するものは同じ番号で示してある。第7
図の従来例と異なる点は、重みパターンメモリ12の出力
が重みパターンバッファ41を介して色混合処理部15に入
力する点である。以下に第2図の第1の実施例の動作に
ついて説明を行う。
Hereinafter, examples of the present invention will be described in detail. FIG. 2 is a block diagram of the first embodiment of the present invention. Components corresponding to those of the conventional example shown in FIG. 7 are designated by the same reference numerals. 7th
The difference from the conventional example in the figure is that the output of the weight pattern memory 12 is input to the color mixing processing unit 15 via the weight pattern buffer 41. The operation of the first embodiment shown in FIG. 2 will be described below.

まず、R,G,Bの3枚からなる画像メモリ6には、1枚分
のカラー画像データ(R,G,B別の明度値)が記憶されて
おり、画像表示部7に任意に表示される。
First, the image memory 6 consisting of three sheets of R, G, and B stores color image data for one sheet (brightness value for each of R, G, and B), which is arbitrarily displayed on the image display unit 7. To be done.

ユーザはこの表示を見ながら、タブレット8から例え
ば、画像メモリ6上のR画像の領域18(第4図2に対
応)を指示する。
While observing this display, the user designates, for example, the area 18 (corresponding to FIG. 4) of the R image on the image memory 6 from the tablet 8.

これにより、画像制御装置4内のプロセッサ11によって
制御されるリード制御部9が画像メモリ6上のR画像の
領域18のデータをR,G,Bからなる部分画像データバッフ
ァ10上のR画像の対応するアドレスに、部分画像データ
19(第5図(a)に対応)として読み込む。この場合、
画像メモリ6上の領域18のアドレス範囲と、部分画像デ
ータバッファ10上の部分画像データ19のアドレス範囲は
同じアドレス範囲である。
As a result, the read control unit 9 controlled by the processor 11 in the image control device 4 converts the data of the R image area 18 in the image memory 6 into the R image in the partial image data buffer 10 consisting of R, G, and B. Partial image data at the corresponding address
It is read as 19 (corresponding to FIG. 5 (a)). in this case,
The address range of the area 18 on the image memory 6 and the address range of the partial image data 19 on the partial image data buffer 10 are the same address range.

次に、この部分画像データ19に対応する重みパターン20
(第5図(b)に対応)を、ホストコンピュータ5内の
特には図示しないメモリから選択して、重みパターンメ
モリ12内の特定の基準アドレスAから順に読み込む。重
みパターン20は第5図(b)で説明したように、各画素
毎に0から1の間の値をとりうる1バイト(8ビット)
の重みデータの集合である。
Next, the weight pattern 20 corresponding to the partial image data 19
(Corresponding to FIG. 5 (b)) is selected from a memory (not shown) in the host computer 5, and is sequentially read from a specific reference address A in the weight pattern memory 12. As described in FIG. 5B, the weighting pattern 20 is 1 byte (8 bits) that can take a value between 0 and 1 for each pixel.
Is a set of weight data of.

また、基準画素値21(第5図の説明参照)を同様にホス
トコンピュータ5から選択して、基準画素値メモリ13に
読み込む。
Similarly, the reference pixel value 21 (see the description of FIG. 5) is selected from the host computer 5 and read into the reference pixel value memory 13.

更に、部分画像データ19に対応するマスクデータ22を、
同様にホストコンピュータ5から選択して、マスクデー
タメモリ14に読み込む。
Furthermore, the mask data 22 corresponding to the partial image data 19
Similarly, it is selected from the host computer 5 and read into the mask data memory 14.

ここで、重みパターンメモリ12上の重みパターン20は、
異なった部分画像データ19に対して何回も繰り返して用
いることが多い。このため、部分画像データ19が部分画
像データバッファ10に読み込まれる毎に、プロセッサ11
は重みパターンメモリ12上の重みパターン20を、重みパ
ターンバッファ41上の画像メモリ6上の領域18のアドレ
ス範囲と同一のアドレス範囲に移動して書き込む。
Here, the weight pattern 20 on the weight pattern memory 12 is
It is often used repeatedly for different partial image data 19. Therefore, every time the partial image data 19 is read into the partial image data buffer 10, the processor 11
Writes the weight pattern 20 on the weight pattern memory 12 to the same address range as the address range of the area 18 on the image memory 6 on the weight pattern buffer 41.

上記動作の後、プロセッサ11が部分画像データバッファ
10、重みパターンバッファ41、及びマスクデータメモリ
14に同一アドレスを指定し、部分画像データ19、重みパ
ターン20、及びマスクデータ22を1画素ずつ読み出し
て、色混合処理部15に転送する。これにより、同処理部
15において第5図及び前記(a)式で説明した色混合処
理が行われ、それにより得られた色混合データ23がR,G,
Bからなる色混合データバッファ16上の画像メモリ6の
領域18と同一のアドレス範囲に書き込まれる。
After the above operation, the processor 11 makes the partial image data buffer
10, weight pattern buffer 41, and mask data memory
The same address is designated as 14, the partial image data 19, the weight pattern 20, and the mask data 22 are read out pixel by pixel and transferred to the color mixing processing unit 15. As a result, the processing unit
In FIG. 15, the color mixing processing described with reference to FIG. 5 and the equation (a) is performed, and the color mixing data 23 obtained by the processing is changed to R, G,
It is written in the same address range as the area 18 of the image memory 6 on the color mixture data buffer 16 made of B.

その後、プロセッサ11によって制御されるライト制御部
17が、色混合データバッファ16上の色混合データ23を、
画像メモリ6に転送し、領域18の部分を書き替える。そ
してその結果は、画像表示部7に表示される。
After that, the light control unit controlled by the processor 11
17, the color mixed data 23 in the color mixed data buffer 16,
The data is transferred to the image memory 6 and the area 18 is rewritten. The result is displayed on the image display unit 7.

第2図の実施例では、重みパターン20の重みパターンバ
ッファ41への格納アドレスを部分画像データ19及びマス
クデータ22の格納アドレスと合わせている。従って、プ
ロセッサ11が色混合処理部15へ部分画像データ19、重み
パターン20、及びマスクデータ22を読み出すときのアド
レス制御を簡単にすることができ、処理速度を向上させ
ることができる。なお、重みパターンメモリ12から重み
パターンバッファ41へ重みパターン20を転送する処理は
一括して行うため、色混合処理部15への入力時にアドレ
ス制御を行う第7図の従来例の場合に比較して処理速度
は速い。
In the embodiment of FIG. 2, the storage address of the weight pattern 20 in the weight pattern buffer 41 is matched with the storage addresses of the partial image data 19 and the mask data 22. Therefore, the address control when the processor 11 reads the partial image data 19, the weight pattern 20, and the mask data 22 to the color mixing processing unit 15 can be simplified, and the processing speed can be improved. Since the processing of transferring the weight patterns 20 from the weight pattern memory 12 to the weight pattern buffer 41 is performed collectively, a comparison is made with the case of the conventional example of FIG. 7 in which address control is performed at the time of input to the color mixing processing unit 15. The processing speed is fast.

次に、第3図は本発明の第2の実施例の構成図である。
この場合も、第7図の従来例に対して対応するものは同
じ番号で示してある。この実施例においては第7図の従
来例に比較して、マスクデータメモリ14からの出力がマ
スクデータバッファ42を介して色混合処理部15に入力し
ている部分が異なる。以下に第3図の第2の実施例の動
作について説明を行う。
Next, FIG. 3 is a configuration diagram of a second embodiment of the present invention.
Also in this case, the corresponding parts to the conventional example of FIG. 7 are indicated by the same numbers. In this embodiment, the output from the mask data memory 14 is input to the color mixing processing section 15 via the mask data buffer 42 as compared with the conventional example shown in FIG. The operation of the second embodiment shown in FIG. 3 will be described below.

まず、R,G,Bの3枚からなる画像メモリ6には、1枚分
のカラー画像データ(R,G,B別の明度値)が記憶されて
おり、画像表示部7に任意に表示される。
First, the image memory 6 consisting of three sheets of R, G, and B stores color image data for one sheet (brightness value for each of R, G, and B), which is arbitrarily displayed on the image display unit 7. To be done.

ユーザはこの表示を見ながら、タブレット8から例えば
画像メモリ6上のR画像の領域18(第4図2に対応)を
指示する。
While observing this display, the user designates the area 18 (corresponding to FIG. 4) of the R image on the image memory 6 from the tablet 8.

これにより、画像制御装置4内のプロセッサ11によって
制御されるリード制御部9が画像メモリ6上のR画像の
領域18のデータをR,G,Bからなる部分画像データバッフ
ァ10上のR画像の特定の基準アドレスAから始まるアド
レスに、部分画像データ19(第5図(a)に対応)とし
て読み込む。
As a result, the read control unit 9 controlled by the processor 11 in the image control device 4 converts the data of the R image area 18 in the image memory 6 into the R image in the partial image data buffer 10 consisting of R, G, and B. Partial image data 19 (corresponding to FIG. 5A) is read at an address starting from a specific reference address A.

次に、この部分画像データ19に対応する重みパターン20
(第5図(b)に対応)を、ホストコンピュータ5内の
特には図示しないメモリから選択して、重みパターンメ
モリ12内の前記基準アドレスAと同じ特定の基準アドレ
スAから順に書き込む。重みパターン20は第5図(b)
で説明したように、各画素毎に0から1の間の値をとり
うる1バイト(8ビット)の重みデータの集合である。
Next, the weight pattern 20 corresponding to the partial image data 19
(Corresponding to FIG. 5 (b)) is selected from a memory (not shown) in the host computer 5 and written in order from the same specific reference address A as the reference address A in the weight pattern memory 12. The weight pattern 20 is shown in FIG. 5 (b).
As described above, it is a set of 1-byte (8-bit) weight data that can take a value between 0 and 1 for each pixel.

また、基準画素値21(第5図の説明参照)を同様にホス
トコンピュータ5から選択して、基準画素値メモリ13に
読み込む。
Similarly, the reference pixel value 21 (see the description of FIG. 5) is selected from the host computer 5 and read into the reference pixel value memory 13.

更に、部分画像データ19に対応するマスクデータ22を、
同様にホストコンピュータ5から選択して、マスクデー
タメモリ14に読み込む。
Furthermore, the mask data 22 corresponding to the partial image data 19
Similarly, it is selected from the host computer 5 and read into the mask data memory 14.

ここで、マスクデータメモリ14上のマスクデータは画像
メモリ6の1枚分に対応するものを一度に読み込んでし
まえば、後は部分画像データ19に対応する部分のマスク
データ22のみを読み出せばよい。このため、部分画像デ
ータ19が部分画像データバッファ10に読み込まれる毎
に、プロセッサ11はマスクデータメモリ14上のマスクデ
ータ22を、マスクデータバッファ42上の前記重みパター
ンメモリ12等の基準アドレスAと同一の基準アドレスA
から始まるアドレス範囲に移動して書き込む。
Here, if the mask data on the mask data memory 14 corresponding to one sheet of the image memory 6 is read at once, then only the mask data 22 of the portion corresponding to the partial image data 19 can be read out. Good. Therefore, every time the partial image data 19 is read into the partial image data buffer 10, the processor 11 sets the mask data 22 in the mask data memory 14 to the reference address A of the weight pattern memory 12 or the like in the mask data buffer 42. Same reference address A
Move to the address range starting from and write.

上記動作の後、プロセッサ11が部分画像データバッファ
10、重みパターンメモリ12、及びマスクデータバッファ
42に同一アドレスを指定し、部分画像データ19、重みパ
ターン20、及びマスクデータ22を1画素ずつ読み出し
て、色混合処理部15に転送する。これにより、同処理部
15において第5図及び前記(1)式で説明した色混合処
理が行われ、それにより得られた色混合データ23がR,G,
Bからなる色混合データバッファ16上の画像メモリ6の
領域18と同一のアドレス範囲に書き込まれる。
After the above operation, the processor 11 makes the partial image data buffer
10, weight pattern memory 12, and mask data buffer
The same address is designated as 42, the partial image data 19, the weight pattern 20, and the mask data 22 are read out pixel by pixel and transferred to the color mixing processing unit 15. As a result, the processing unit
In FIG. 15, the color mixing processing described with reference to FIG. 5 and the equation (1) is performed, and the color mixing data 23 thus obtained is R, G,
It is written in the same address range as the area 18 of the image memory 6 on the color mixture data buffer 16 made of B.

その後、プロセッサ11によって制御されるライト制御部
17が、色混合データバッファ16上の色混合データ23を、
画像メモリ6に転送し、領域18の部分を書き替える。そ
してその結果は、画像表示部7に表示される。
After that, the light control unit controlled by the processor 11
17, the color mixed data 23 in the color mixed data buffer 16,
The data is transferred to the image memory 6 and the area 18 is rewritten. The result is displayed on the image display unit 7.

第3図の実施例では、マスクデータ22のマスクデータバ
ッファ20への格納アドレスを部分画像データ19及び重み
パターン20の格納アドレスと合わせている。従って、プ
ロセッサ11が色混合処理部15へ部分画像データ19、重み
パターン20、及びマスクデータ22を読み出すときのアド
レス制御を簡単にすることができ、処理速度を向上させ
ることができる。ここで、マスクデータメモリ14からマ
スクデータバッファ42へ移動されるマスクデータ22は1
ビットデータの集合であるため、その転送は高速に行う
ことができる。
In the embodiment of FIG. 3, the storage address of the mask data 22 in the mask data buffer 20 is matched with the storage addresses of the partial image data 19 and the weight pattern 20. Therefore, the address control when the processor 11 reads the partial image data 19, the weight pattern 20, and the mask data 22 to the color mixing processing unit 15 can be simplified, and the processing speed can be improved. Here, the mask data 22 moved from the mask data memory 14 to the mask data buffer 42 is 1
Since it is a set of bit data, the transfer can be performed at high speed.

なお、第3図の色混合処理部15において、マスクデータ
22を必要としない場合は、マスクデータメモリ14、マス
クデータバッファ42の部分の処理が省略されるため、更
に高速処理が可能となる。
In addition, in the color mixing processing unit 15 in FIG.
When 22 is not required, the processing of the mask data memory 14 and the mask data buffer 42 is omitted, so that higher speed processing is possible.

〔発明の効果〕〔The invention's effect〕

本発明によれば、色混合処理部へ部分画像データ、重み
パターン、及びマスクパターンを読み込む場合、同一の
アドレス指定でよいため、アドレス制御が簡単になり、
色混合処理の処理速度を向上させることが可能となる。
According to the present invention, when the partial image data, the weight pattern, and the mask pattern are read into the color mixing processing unit, the same address designation is sufficient, which simplifies address control.
It is possible to improve the processing speed of the color mixing processing.

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

第1図(a)は、本発明の第1のブロック図、 第1図(b)は、本発明の第2のブロック図、 第2図は、本発明の第1の実施例の構成図、 第3図は、本発明の第2の実施例の構成図、 第4図は、画像データと色混合処理の関係図、 第5図(a),(b),(c)は、色混合処理の説明
図、 第6図は、重みパターンの他の構成図、 第7図は、従来例の構成図である。 24……画像記憶手段、 25……部分画像バッファ、 26……重みパターンバッファ、 27……第1の転送制御手段、 28……第2の転送制御手段、 29……色混合処理手段、 30……部分画像データ、 31……重みパターン、 32……基準画素値、 33……色混合データ、 34……マスクパターンバッファ、 35,39……第3(第5)の転送制御手段、 36,40……第4(第6)の転送制御手段、 37……マスクパターン、 38……所定のアドレス。
FIG. 1 (a) is a first block diagram of the present invention, FIG. 1 (b) is a second block diagram of the present invention, and FIG. 2 is a configuration diagram of a first embodiment of the present invention. 3 is a block diagram of the second embodiment of the present invention, FIG. 4 is a relationship diagram of image data and color mixing processing, and FIGS. 5 (a), (b), and (c) are color diagrams. 6 is an explanatory diagram of the mixing process, FIG. 6 is another configuration diagram of the weighting pattern, and FIG. 7 is a configuration diagram of a conventional example. 24 ... Image storage means, 25 ... Partial image buffer, 26 ... Weight pattern buffer, 27 ... First transfer control means, 28 ... Second transfer control means, 29 ... Color mixing processing means, 30 ...... Partial image data, 31 …… Weight pattern, 32 …… Reference pixel value, 33 …… Color mixture data, 34 …… Mask pattern buffer, 35,39 …… Third (fifth) transfer control means, 36 , 40 ... Fourth (sixth) transfer control means, 37 ... Mask pattern, 38 ... Predetermined address.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】画像データを記憶する画像記憶手段(24)
と、部分画像データを記憶する部分画像バッファ(25)
と、部分画像データの各画素に対応する重みデータの集
合である重みパターンを記憶する重みパターンバッファ
(26)と、 前記画像記憶手段(24)の画像データのうち指定アドレ
ス範囲の部分画像データ(30)及びそれに対応する重み
パターン(31)を、各々前記部分画像バッファ(25)及
び前記重みパターンバッファ(26)の前記指定アドレス
範囲と同一のアドレス範囲に書き込む第1の転送制御手
段(27)と、 前記部分画像バッファ(25)と前記重みパターンバッフ
ァ(26)上の同一のアドレスを指定し、前記指定アドレ
ス範囲内の各アドレス毎の前記部分画像データ(30)及
び対応する前記重みパターン(31)を読み出す第2の転
送制御手段(28)と、 読み出された該部分画像データ(30)及び重みパターン
(31)の各重みデータに加えて1つの基準画素値(32)
を入力し、前記部分画像データ(30)の各画素に対応す
る色混合データ(33)を演算する色混合処理手段(29)
とを有することを特徴とする色混合処理制御装置。
1. Image storage means (24) for storing image data
And a partial image buffer (25) that stores partial image data
A weight pattern buffer (26) for storing a weight pattern, which is a set of weight data corresponding to each pixel of the partial image data, and partial image data (a) of the designated address range among the image data of the image storage means (24) ( A first transfer control means (27) for writing the weighting pattern (30) and the weighting pattern (31) corresponding thereto in the same address range as the specified address range of the partial image buffer (25) and the weighting pattern buffer (26), respectively. The same address on the partial image buffer (25) and the weight pattern buffer (26) is designated, the partial image data (30) and the corresponding weight pattern (30) for each address within the designated address range. Second transfer control means (28) for reading out 31), and one in addition to the read out weight data of the partial image data (30) and weight pattern (31) Reference pixel value of (32)
And a color mixture processing means (29) for calculating color mixture data (33) corresponding to each pixel of the partial image data (30).
A color mixing processing control device comprising:
【請求項2】前記色混合処理手段(29)は各画素毎に、 色混合データ=部分画像データ+(基準画素値 −部分画像データ)×重みデータ ……(1) なる演算を行うことにより、前記部分画像データ(30)
の各画素に対応する色混合データ(33)を得ることを特
徴とする特許請求の範囲第1項記載の色混合処理制御装
置。
2. The color mixing processing means (29) calculates color mixture data = partial image data + (reference pixel value−partial image data) × weight data (1) for each pixel. , Partial image data (30)
2. The color mixing processing control device according to claim 1, wherein the color mixing data (33) corresponding to each pixel is obtained.
【請求項3】前記部分画像データ(30)は、R,G,Bの各
色別に処理されることを特徴とする特許請求の範囲第1
項又は第2項のいずれか一方に記載の色混合処理制御装
置。
3. The partial image data (30) is processed for each of R, G and B colors.
The color mixing processing control device according to any one of the items 1 and 2.
【請求項4】画像データを記憶する画像記憶手段(24)
と、部分画像データを記憶する部分画像バッファ(25)
と、部分画像データの各画素に対応する重みデータの集
合である重みパターンを記憶する重みパターンバッファ
(26)と、 前記画像記憶手段(24)の画像データのうち指定アドレ
ス範囲の部分画像データ(30)及びそれに対応する重み
パターン(31)を、各々前記部分画像バッファ(25)及
び前記重みパターンバッファ(26)の前記指定アドレス
範囲と同一と大きさを有し所定のアドレス(38)を基準
とするアドレス範囲に書き込む第3の転送制御手段(3
5)と、 前記部分画像バッファ(25)と、前記重みパターンバッ
ファ(26)上の同一のアドレスを指定し、前記所定のア
ドレス(38)を基準とするアドレス範囲内の各アドレス
毎の前記部分画像データ(30)及び対応する前記重みパ
ターン(31)を読み出す第4の転送制御手段と、 読み出された該部分画像データ(30)及び重みパターン
(31)の各重みデータに加えて1つの基準画素値(32)
を入力し、前記部分画像データ(30)の各画素に対応す
る色混合データ(33)を演算する色混合処理手段(29)
とを有することを特徴とする色混合処理制御装置。
4. An image storage means (24) for storing image data.
And a partial image buffer (25) that stores partial image data
A weight pattern buffer (26) for storing a weight pattern, which is a set of weight data corresponding to each pixel of the partial image data, and partial image data (a) of the designated address range among the image data of the image storage means (24) ( 30) and the weighting pattern (31) corresponding to the same, and have the same size as the specified address range of the partial image buffer (25) and the weighting pattern buffer (26), respectively, and use a predetermined address (38) as a reference. Third transfer control means (3
5), the partial image buffer (25) and the same address on the weight pattern buffer (26) are designated, and the partial for each address in the address range based on the predetermined address (38) is specified. Fourth transfer control means for reading out the image data (30) and the corresponding weighting pattern (31), and one in addition to the respective weighting data of the read out partial image data (30) and the weighting pattern (31) Reference pixel value (32)
And a color mixture processing means (29) for calculating color mixture data (33) corresponding to each pixel of the partial image data (30).
A color mixing processing control device comprising:
【請求項5】前記色混合処理手段(29)は各画素毎に、 色混合データ=部分画像データ+(基準画素値 −部分画像データ)×重みデータ なる演算を行うことにより、前記部分画像データ(30)
の各画素に対応する色混合データ(33)を得ることを特
徴とする特許請求の範囲第4項記載の色混合処理制御装
置。
5. The partial image data is obtained by the color mixture processing means (29) performing an operation of color mixture data = partial image data + (reference pixel value−partial image data) × weight data for each pixel. (30)
5. The color mixing processing control device according to claim 4, wherein the color mixing data (33) corresponding to each pixel is obtained.
【請求項6】前記部分画像データ(30)は、R,G,Bの各
色別に処理されることを特徴とする特許請求の範囲第4
項又は第5項のいずれか一方に記載の色混合処理制御装
置。
6. The partial image data (30) is processed for each of R, G and B colors.
Item 5. The color mixing processing control device as described in any one of the items 5 and 5.
【請求項7】画像データを記憶する画像記憶手段(24)
と、部分画像データを記憶する部分画像バッファ(25)
と、部分画像データの各画素に対応する重みデータの集
合である重みパターン及びマスクパターンを各々記憶す
る重みパターンバッファ(26)及びマスクパターンバッ
ファ(34)と、 前記画像記憶手段(24)の画像データのうち指定アドレ
ス範囲の部分画像データ(30)及びそれに対応する重み
パターン(31)とマスクパターン(37)を、各々前記部
分画像バッファ(25)、前記重みパターンバッファ(2
6)及び前記マスクパターンバッファ(34)の前記指定
アドレス範囲と同一の大きさを有し所定のアドレス(3
8)を基準とするアドレス範囲に書き込む第5の転送制
御手段(39)と、 前記部分画像バッファ(25)、前記重みパターンバッフ
ァ(26)及び前記マスクパターンバッファ(34)上の同
一のアドレスを指定し、前記所定のアドレス(38)を基
準とするアドレス範囲内の各アドレス毎の前記部分画像
データ(30)及び対応する前記重みパターン(31)とマ
スクパターン(37)を読み出す第6の転送制御手段(4
0)と、 読み出された該部分画像データ(30)及び重みパターン
(31)の各重みデータとマスクパターン(37)に加えて
1つの基準画素値(32)を入力し、前記部分画像データ
(30)のうち前記マスクパターン(37)によりマスクさ
れていない各画素に対応する色混合データ(33)を演算
する色混合処理手段(29)とを有することを特徴とする
色混合処理制御装置。
7. Image storage means (24) for storing image data
And a partial image buffer (25) that stores partial image data
A weight pattern buffer (26) and a mask pattern buffer (34) respectively storing a weight pattern and a mask pattern, which are a set of weight data corresponding to each pixel of the partial image data, and an image of the image storage means (24). Of the data, the partial image data (30) in the specified address range and the corresponding weight pattern (31) and mask pattern (37) are respectively input to the partial image buffer (25) and the weight pattern buffer (2).
6) and a predetermined address (3) having the same size as the specified address range of the mask pattern buffer (34).
The fifth transfer control means (39) for writing in the address range based on 8), the same address on the partial image buffer (25), the weight pattern buffer (26) and the mask pattern buffer (34) A sixth transfer for reading out the partial image data (30) and the corresponding weight pattern (31) and mask pattern (37) for each address in the address range that is designated and has the predetermined address (38) as a reference Control means (4
0), the reference pixel value (32) in addition to each of the read weight data of the partial image data (30) and the weight pattern (31) and the mask pattern (37). (30) Color mixing processing control device (29) for calculating color mixing data (33) corresponding to each pixel not masked by the mask pattern (37) .
【請求項8】前記色混合処理手段(29)は各画素毎に、 色混合データ=部分画像データ+(基準画素値 −部分画像データ)×重みデータ なる演算を行なうことにより、前記部分画像データ(3
0)の各画素に対応する色混合データ(33)を得ること
を特徴とする特許請求の範囲第7項記載の色混合処理制
御装置。
8. The partial image data is obtained by the color mixing processing means (29) performing an operation of color mixture data = partial image data + (reference pixel value−partial image data) × weight data for each pixel. (3
8. The color mixing processing control device according to claim 7, wherein the color mixing data (33) corresponding to each pixel of (0) is obtained.
【請求項9】前記部分画像データ(30)は、R,G,Bの各
色別に処理されることを特徴とする特許請求の範囲第7
項又は第8項のいずれか一方に記載の色混合処理制御装
置。
9. The partial image data (30) is processed for each of R, G and B colors.
Item 9. The color mixing processing control device as described in any one of the items 8 and 8.
JP62244180A 1987-09-30 1987-09-30 Color mixing processing controller Expired - Fee Related JPH0711829B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62244180A JPH0711829B2 (en) 1987-09-30 1987-09-30 Color mixing processing controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62244180A JPH0711829B2 (en) 1987-09-30 1987-09-30 Color mixing processing controller

Publications (2)

Publication Number Publication Date
JPS6488784A JPS6488784A (en) 1989-04-03
JPH0711829B2 true JPH0711829B2 (en) 1995-02-08

Family

ID=17114955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62244180A Expired - Fee Related JPH0711829B2 (en) 1987-09-30 1987-09-30 Color mixing processing controller

Country Status (1)

Country Link
JP (1) JPH0711829B2 (en)

Also Published As

Publication number Publication date
JPS6488784A (en) 1989-04-03

Similar Documents

Publication Publication Date Title
US4648050A (en) Color index conversion system in graphic display device
WO1999048012A1 (en) Parameterized image orientation for computer displays
AU2524700A (en) Method and apparatus for antialiased imaging of graphical objects
US4748442A (en) Visual displaying
US5245701A (en) Method and system for processing image data based on pixel characteristics
JPH0711829B2 (en) Color mixing processing controller
JP3352458B2 (en) Graphic Coloring Method for Graphic Display System
JP2683489B2 (en) Data transfer control device
JPS6146839B2 (en)
US6211885B1 (en) Apparatus for outputting an image in which data of points on texture pattern are mapped to data of dots on display plane
JPH07120415B2 (en) Airbrush processing method
JP4285513B2 (en) Image processing circuit and printing apparatus
JP2787887B2 (en) Color image display
JPH03164872A (en) Graphic processing system
US6049331A (en) Step addressing in video RAM
JP2610817B2 (en) Address generator
JP3019906B2 (en) Image processing device
JPH07146947A (en) Graph display device
JPH0463063A (en) Error dispersing circuit
JP2867482B2 (en) Image processing device
JPS62165688A (en) Display unit
JP2020145507A (en) Image editing device and image editing method
JPS6279575A (en) Picture correcting method and its device
JPS62214484A (en) Watermark processing system in air brush process
JPH0454069A (en) Shading correction circuit

Legal Events

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