JPS60197073A - Color designation processing unit of color picture - Google Patents

Color designation processing unit of color picture

Info

Publication number
JPS60197073A
JPS60197073A JP59053960A JP5396084A JPS60197073A JP S60197073 A JPS60197073 A JP S60197073A JP 59053960 A JP59053960 A JP 59053960A JP 5396084 A JP5396084 A JP 5396084A JP S60197073 A JPS60197073 A JP S60197073A
Authority
JP
Japan
Prior art keywords
data
color
image
picture data
stored
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
JP59053960A
Other languages
Japanese (ja)
Inventor
Ikuo Misao
三竿 郁夫
Hirosuke Komatsu
小松 宏輔
Mutsumi Kimura
睦 木村
Atsushi Miyauchi
敦 宮内
Tadashi Fujiwara
藤原 忠士
Yoshio Tsuchida
土田 吉男
Junko Kuroiwa
黒岩 純子
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP59053960A priority Critical patent/JPS60197073A/en
Publication of JPS60197073A publication Critical patent/JPS60197073A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To automate the designation of many colors with less amount of information by using a color data as a read address at each picture area of a color picture and reading and outputting a texture designation data and a hue data. CONSTITUTION:An input color picture data is written in the 1st frame memory 41 and stored as an original picture data. Either an NTSC color television signal or an RBG color signal is selected from the input color original picture data by switching an input selection circuit 10 and a synchronism selection circuit 15. The original picture data stored in the 1st frame memory 41 is converted into a white/black picture data by an RGB/Y converter 68 and stored also to the 4th frame memory 44. The color processing of the input color picture data is supplied based on the picture data stored in the frame memories 41, 44 and the picture data suitable for a geometrical command data is formed finally by applying automatically the saving processing of redundant data.

Description

【発明の詳細な説明】[Detailed description of the invention]

〔産業上の利用分野〕 本発明は、電話回線や無線回線を利用して各種画像情報
を伝送する所謂ビデオテックスやテレテキスト等のデジ
タル画像情報伝送システムに用いられる信号処理装置に
関し、特に、1枚のカラー。 画像を幾何学的図形領域の集合として取り扱い、そのカ
ラー画像情報を幾何学コマンドデータに変換するための
カラー画像の色指定処理装置に関する。 〔背景技術とその問題点〕 近来、情報化社会の発展に伴ない各種画像情報を伝送す
るための所謂ニューメディアとしてビデオテックスやテ
レテキスト等のデジタル画像情報伝送システムの開発・
実用化が各国において進められている。例えば、イギリ
スではプレステレ(PRES置)と呼ばれるキャプテン
・システム(Captain : Charactor
 And Pattern Te1ephoneAcc
ess Information Network S
ystem )が開発され、さらOこ、フランスのテレ
チル(Te1etc+ )、カナダのテリトン(Te1
idon )、アメリカのNAP L P (Nort
h American PreSentation L
evelProtocol )他が実用化されつつある
。 ところで、上記テリトンシステムにおいて採用されてい
る1枚の画像を幾何学的図形領域の集合として取り扱い
画像情報をP D I (PicutureDescr
iption In5truction ) :l−ド
による幾何学コマンドデータにて表イつして伝送する方
式は、画像情報をモザイク絵素に対応させたりキャラク
タコードにて示す他の方式と比較して、極めて効率の良
いものであるとしてその高効率性が高く何坪されている
。上記PDIコートでは、幾何学図形による作図命令用
の5種類のコマンドデータ[POINT]、[LINE
] 、[、l(C〕、[IAi七EA/] 、[POL
YGON ]とドツト対応クラフィックス命令用のコマ
ンドデータ[BIT)と色相、階調等を指定して上記作
図命令のモードをコントロールするためのコマンドデー
タ[C0NTR0L]等が定義されている。上記コマン
ドデータ[POINT]では第1図Aに示すように表示
画面内の任意の座標位置に作図開始点をセットあるいは
点POをプロットし、才た、上記コマンドデータ[’ 
L I N E ]では第1図Bに示すように2点間P
h、Pzを結ぶ線分を描く。さらに、上記コマンドデー
タ〔A几C〕では第1図℃に示すように2点Pl、P2
の座標および半径の値に基いて円弧を描き、また、同図
中1点鎖線にて示すように上記2点PI、PZ間を結ぶ
弦を描いたり、あるいは同図中破線で示すように円弧の
中ノし点P。 と上記2点Pi 、 Pz間を結んで扇形を描いたり、
佼輪郭内を塗り潰すことが行なわれる。また、上記コマ
ンドデータ[AREA]では第1図℃に示すように2点
Pi、P2を対角線上の頂点とする矩形の輪郭を描き、
また、その輪郭内を塗り潰すことが行なわれ、さらに、
上記コマンドデータ[POLYGON]では、第1図り
に示すように頂点PI、P2.・・・+Pn により定
められた多角形の輪郭を描き、また、その輪郭内を塗り
潰すことが行なわれる。 しかしながら、上述の如き幾何学コマンドデータを利用
したデジタル画像情報伝送システムでは、実際に伝送す
る画像情報の情報量を大量に削減することが可能で高効
率の情報伝送を行なうことができるのであるが、上記実
際に伝送する画像情報すなイつち1枚の画像を示す幾何
学コマンドデータを作成するための作業に多大な手間と
時間を必要とするという問題点がある。 例えば伝送すべき画像を撮像したビデオ信号を上記幾何
学コマンドデータに変換する作業は、モニターテレビジ
ョン受像機にて目的の画像を見ながら、オペレータがタ
ブレットにより輪郭情報や色相・階調情報等を逐一人力
した後に、各種の修正を加えて、そのうえで幾何学コマ
ンドデータに変換する等の方法が考えられるが、元の画
像の情報を適確に表現するのが難しく、各種情報の入力
に多大な手間と時間を必要とする。 〔発明の目的〕 そこで、本発明は、上述の如き問題点に鑑み、1枚のカ
ラー画像を幾何学的図形領域の集合として取り扱い画像
情報を幾何学コマンドデータにて表わして伝送する場合
に、上記画像情報の幾何学コマンドデータへの変換処理
の自動化を可能とすることを目的とし、伝送するカラー
画像の谷幾何学的領域に対する色相指定用のコマンドデ
ータを適確に且つ短時間で自動的に形成するカラー画像
の色指定処理装置を提供するものである。 〔発明の概要〕 本発明に係るカラー画像の色指定処理装置は、上述の目
的を達成するためにカラー画像を撮像した画像データを
記憶する画像記憶手段と、この画像記憶手段から読出さ
れる画像データについて同一画像データにて示される上
記カラー画像の各画像領域を検出する領域検出手段と、
上記画像データにて示されるカラー画像の色データをア
ドレスとして、各色相をテクスチャパターンと該テクス
チャパターンの色相の組合せにより表わすテクスチャ指
定データおよび色相指定データが予じめ書込まれたテク
スチャ記憶手段とを備え、上記カラー画像の各画像領域
毎に色データを読出しアドレスとして上記テクスチャ記
憶手段からテクスチャ指定データおよび色相指定データ
を読み出して出力するようにしたことを特徴とするもの
である。 〔実施例〕 以下、本発明に係るカラー画像の色指定処理装置の一実
施例について、図面に従い詳細に説明する。 第2図ないし第18図に示す実施例はテリトン方式のデ
ジタル画像情報伝送システムにおける入力データ処理装
置に本発明を適用したもので、この実施例の装置は、伝
送するカラー画像を図示しないカラービテオカメラにて
撮像して得られるRGB色信号あるいは標準テレビジョ
ン方式(例えばNTS C)のカラーテレビジョン信号
を入力として、この入力にて示される一フレーム分のカ
ラー画像を幾何学的図形領域の集合として取り扱い、上
記カラー画1象を示す幾何学コマンドデータをマイクロ
ロンピユータ100にて形成してデータバスを通じて出
力するものである。 この実施例の装置の全体構成を示す第2のブロック図に
おいて、例えばNTSC方式のカラーテレビジョン信号
は第1の信号入力端子1を介してNTSC/I’4GB
コンバータ5と同期分離回路6に供給され、才たRGB
色信号は第2の信号入力端子2を介して入力選択回路1
0に供給される。 上記入力選択回路10は、上記第1の信号入力端子1か
らNTSC/RGBコンバータ5を介して供給される上
記カラーテレビジョン信号を変換したRGB色信号ある
いは上記第2の信号入力端子2から供給されるRGB色
信号を選択して、一方のRGB色信号をアナログ/デジ
タル(A/D)変換コンバータ20に供給する。 また、上記同期分離回路6は、上記第1の信号入力端子
1から供給されるカラーテレビジョン信号中の同期信号
を分離して、その同期信号を同期切換回路5に供給する
。上記同期切換回路5は、上記第2の信号入力端子2に
供給されるRGB色信号に対応する同期信号が第3の信
号入力端子3から供給されており、上記入力選択回路1
0と連動した選択動作を行なって、上記A/Dコンバー
タ20に供給するR、GB色信号に対応する同期信号を
アドレスデータ発生ブロック30に供給する。 このアドレスデータ発生ブロック30は、PLL発振器
31とカウンタ回路32とから成り、上記I) L L
発振器31の発振出力パルスを上記カウンタ回路32に
て計数することにより上記同期信号に同期したアドレス
データを形成し、このアドレスデータをアドレス選択回
路35に供給する。 上記アドレス選択回路35は、コンピュータ100のア
ト−レスバスを介して供給されるアドレスデータと上記
アドレスデータ発生ブロック30から供給されるアドレ
スデータを選択して、第1ないし第4のフレームメモリ
41,42,43,44、カーソルメモリ45およびキ
ャラクタジェネレータ46に上記アドレスデータを供給
する。また、上記各フレームメモリ41,42,43,
44、カーソルメモリ45およびキャラクタジェネレー
タ46は、コンピュータ100のデータバスを通じて各
種データの授受が行なわれるようになっている。 上記第1のフレームメモリ41は、原画データを記憶す
るためのメモリであり、上記A/Dコンバータ20にて
R,GB色信号をデジタル化し、その入力カラー画像デ
ータが上記アドレスデータ発生ブロック30からのアド
レスデータに基いてRGBの各色毎に書込まれる。この
第1のフレームメモリ41に記憶された入力カラー画像
データは、いつでも任意に読出してデジタル/アナログ
(D/A)コンバータ61によりアナログのRG B色
信号に変換して第1の出力選択回路71を介して第1の
RGEモニター装置81に供給してカラー原画像をモニ
ターできるようになっている。 才だ、第2ないし第4のフレームメモリ42゜43.4
4は、上記第1のフレームメモリ41に記憶した原画デ
ータについて、色処理や冗長データの削減処理等の各種
データ処理用の汎用メモリとして用いられるもので、後
述する各種処理過程における各種画像データが上記デー
タバスを通じて書込み/読出しされる。上記第2のフレ
ームメモリ42に記憶されるデータ処理済の画像データ
は、カラーテーブルメモリ52にて色データに変換シて
D/Aコンバータ63を介してアナログのRGB色信号
に戻して第1および第2の出力選択回路71.72に供
給されており、データ処理済のカラー画像を第1あるい
は第2のIt、 G Bモニター装置81.82にてモ
ニターできるようになっている。また、上記第3のフレ
ームメモリ43に記憶されるデータ処理済の画像データ
は、カラーテーブルメモリ53にて色データに変換して
D/Aコンバータ64を介してアナログのRGB色信号
に戻して上記第2の出力選択回路72から第2のRGB
モニター装置82に供給して、データ処理済のカラー画
像をモニターできるようになっている。さらに、上記第
4のフレームメモリ44は、上記第1のフレームメモリ
41に記憶した原画データを上記D/Aコンバータ61
にてアナログのRG B色信号に戻した後にRGB/Y
コンバータ68にて輝度Y信号に変換してさらにA/D
コンバータ69を介してデジタル化することにより得ら
れる原画の白黒画像データが書込まれる。この白黒画像
データについて冗長データの削減処理等を行なった後の
白黒画像データは、カラーテーブルメモリ53とD/A
コンバータ63を介してアナログのRGB色信号に戻さ
れて信号合成回路70に供給されるようになっている。 上記信号合成回路70には、上記カーソルメモIJ45
からカーソル表示信号が供給されているとともに上記キ
ャラクタジェネータ46からシステムの各種制御コマン
ド表示用の文字データがカラーテーブルメモリ53にて
アナログのRGB色信号に変換して供給されており、上
記第4のフレームメモリ44に記憶されている画像デー
タによる画像と上記カーソルメモリ45からのカーソル
表示信号によるカーソル画像と上記キャラクタジェネレ
ータ46からの文字データによる画像とを重ね合せたR
GB色信号を合成して出力する。この信号合成回路70
にて得られるR、GB色信号による画像は、上記第2の
RGBモニター装置82にてモニターできるとともに、
上記RGB色信号をR,GB/Yコンバータ80にて輝
度Y信号に変換して白黒モニター装置83でモニターで
きるようになっている。 さらに、この実施例において、マイクロコンピュータ1
00は、この装置全体の動作制御を行なうコントローラ
として働くもので、そのデータバスおよびアドレスバス
にはRoll)RAM等の補助メモリ90やフロッピー
ディスクコントローラ91、さらに入出力インターフェ
ース回路93郭よび高速演算処理回路200等が接続さ
れている。 なお、上記入出力インターフェース回路93には、マニ
アルエディツト処理の際に各種データを入力するための
タブレット94およびそのモニター装置95が接続され
ている。 そして、この実施例の装置は、第3図のフローチャート
に示す如き手順て画像処理を行ない、上記A / Dコ
ンバータ20を介して第1のフレームメモリ41に供給
される入力カラー画像データを幾何学コマンドデータに
変換してデータバスを通じて出力するようになっている
。 すなわち、入力カラー画像データは、先ず第1のフレー
ムメモリ41に書込まれて、原画データとして記憶され
る。ここで、上記入力カラー画像データは、入力選択回
路10および同期選択回路15を切換えることにより、
NTSCカラーテレビジョン信号あるいは11.GB色
信号のどちらから選択することができる。また、上記第
1のフレームメモリ41に記憶された原画データは、R
G B/Yコンバータ68により白黒画像データに変換
して第4のフレームメモリ44にも記憶される。 次に、上記第18よび第4のフレームメモリ41.44
に記憶された画像データに基いて、入力カラー画像デー
タの色処理を行ない、さらに冗長データの削減処理を行
なって、原画像の特徴を失なうことなく最終的に幾何学
コマンドデータに変換するのに適した画像データを自動
的に形成する。 そして、上記各処理を行なった後に、画像データを幾何
学コマンドデータに変換する変換処理を自動的に行なう
。 なお、原画像を人為的に修正して伝送する場合には、上
記幾何学コマンドデータ変換処理の前に、マニアルエデ
ィツト処理を行なう。 上記色処理では、上記第1のフレームメモリ41ζこ記
憶されている入力カラー画像データにて示される原カラ
ー画像中で頻度の高い上位n色を自動的に選択して、各
画素に上記1]色のいずれかを割り当てる処理を第4図
に示すフローチャートの手順で行なう。 この色処理は、上記高速演算処理回路200により、上
記第1のフレームメモリ41に記憶されている入力カラ
ー画像データについて、先ず、各色データのヒストクラ
ムを作成し、このヒストクラムの上位n個の色データを
選択する。次に、上記第4のフレームメモリ44に記憶
されている白黒画像データにて示される白黒画像の同一
輝度にて示される各画像領域に対して、上記原カラー画
1象の色に最も近い11色の色を割り当てて、輝度順の
カラーチーフルデータを形成し、さらに、各画素ごとに
偏差か最小となるように上記カラーテーブルデータを訂
正する。このように」二記高速演鏝−処理回路200に
て形成したカラーチーフルデータは、各カラーテーブル
メモリ51,52.53に記憶される。また、上記各画
像領域に上記n色の色が割り当てられた色処理済の画像
データが上記第2のフレームメモリ42に書込まれる。 上記色処理を施こしたカラー画像は、上記第2のフレー
ムメモリ42に記憶されている画像データをアドレスデ
ータとして、上記第1のカラーテーブルメモリ41から
各色データを読出ずこLにより第1あるいは第2のR,
OBモニター装置81゜82にてモニターされる。 才だ、上記冗長データの削減処理では、上記第2′j6
よび第4のフレームメモ1)42.441こ記憶されて
いる各画像データについて、ノイズキャンセル処理、中
間調除去処理、小領域削除処理等を行なって、次の幾可
変コマン1へデータ変換処理に不必要な冗長データを除
去して情報量を少なくする。 この削減処理は、上記高速演算処理装置200にて行な
われる。例えば、第5図に示すように3×3の9個の画
素〔A〕、CB] 、[C] 、CD〕、〔E〕、〔F
〕、〔G〕、〔I(〕、〔■〕について、その中r9画
素[E]に対して4近傍画素[13] 、[D] 、[
F] 、CH]のうち3つ以上のデータが同じであると
きには、その値に上記中心画素〔E〕のデータを置き換
えることにより上記ノイズキャンセル処理が行なわれる
。また、上記中心画素[E]に対して、各画素列[:A
−E・I]、CB−E・I]、〔C−E、G]、CD・
E −F ]の内、2つ以上が単調増加あるいは単調減
少であれば、上記中ノし・画素CE)を中間調の画素と
して、8近傍の最も近い値に上記中17y画素〔E〕の
データを置き換えることにより、上記中間調除去が行な
イつれる。さらに、上記小領域削除処理は、指定された
面積以下の小領域を隣接する領域に結合することにより
行なイつれる。そして、このように上記高速演算処理回
路200にて冗長データの除去処理が画像データは上記
第3のフレームメモリ43に読込才れ、上記第2のカラ
ーテーブルメモリ52を介して第2のRGBモニター装
置82にてモニターされる。 さらに、上記マニアルエディツト処理では、上述の色処
理および削減処理を自動的に行って得られる画像データ
にて示されるカラー画像について、新たなモチーフの加
入あるいは削除、色の訂正等を人為的に加える処理を行
なう。 このマニアルエディツ1−処理は、上記第4のフレーム
メモリ44に記憶されそいる白黒画像データによる画像
をモニターする白黒モニター装置83の画面上に、設け
られた透明タブレット94を用いて行なイつれる。上記
白黒モニター装置83の画面には、マニアルエディツト
に必要な各種制御コマンド表示用の文字情報画像が上記
キャラクタジェネレータ46によって与えられるととも
に、上記タブレツ1−94から発生する位置情報を示す
カーソル表示用のカーソル画像が上記カー゛ノルメモリ
45にて与えられており、操作者が上記タブレット94
に付属しているペンを用いて画像の修正を行なうと、実
時間で結果が表示される。 そして、上記幾何学コマンドデータ変換処理では、上述
の如き各種処理済のカラー画像データにて示される画像
について、各画像領域の1つ1つ幾何学コマンドにて表
現するコマンドデータを次の手順により形成する。 先ず、各画像領域の境界を上記高速演算処理回路200
にて追跡して、谷頂点の位置座標を検出する。次に、検
出した位置座標を幾何学図形(多角形)の頂点位置であ
るとみなして、上述のPD■コードによる幾何学コマン
ドデータ、例えば〔POLYGOJに変換する。さらに
上記各頂点を結ぶ幾何学図形で示される各画像領域毎に
、上述の色処理にて決定した色に対応するコマンドデー
タCC0NTR,OL]を与える。 例えば第6図に示すように各頂点Po 、 Pl。 ・・・、P4を結んだ画像領域ARについてPDIコー
ドによるコマンドデータに変換する場合には、この画像
領域A R色相指定をテクスチャーパターンTXPと該
テクスチャーパターンTXPの色相の組合せにて行ない
、先ず谷頂点Pa 、 PI 、+・・・。 P4の各位置座標[Xo 、 Yo〕、 [Xx 、 
Yt:] 、 −CX4.Y4]とバックカラーをコー
ディングして、次にテクスチャーパターンT X Pを
指定してそのホオアカラーと上記谷位置座標[Xo 、
 Yo] 、 [Xi 。 Yl] 、・・・、 〔X4 、 Y4]を再びコーデ
ィングすることによって、上記画像領域ARに対するコ
ーディングを終了する。上記テクスチャパターンTXP
として、例えば第7図に示すように3種のパターンTX
Pz、TXP2.TXPaを選択的に指定し、そのホオ
アカラーを白黒の2色から選択的に指定すれば、第8図
に示すように上記画像領域A I(、に対して、5階調
の色指定を行なうことができる。すなわち、2種類の色
間のテクスチャーパターンTXPをmp種類、また、色
をn、種類とすれば、np(np−1) N p ”” n p +X m p なるN2種類の色を擬似的に表現することができる。 ここで、この実施例における各画像領域の色指定につい
て具体例を説明する。なお、説明を簡単にするために、
入力カラー画像データは、R,G。 Bの各色相をそれぞれ3レベルとして38=27色の色
データにて原画像の色相を示しているものとする。例え
ば、第9図に示すようにJ G、Bの各レベルが〔0,
■、2〕にて示される色相C0をJG、Bが2レベルす
なわち2a−8色にて合成するには、JG、Hのレベル
がC0,2,2〕の図中破線にて示す色相CBとCO,
(1,2]の図中一点鎖線にて示す色相Cyとを1:I
の割合で混合すれば良い。すなわち、フォアカラーをC
F[0,2,2]、バックカラーをCB [Q 。 0.2]にして、市松模様のテクスチャーパターンを用
いれば良い。従って、原画像の谷色相を示す入力カラー
画像データの色データDc [R、Q。 B〕を読出しアト゛レスきして、第10図に示すような
テクスチャーデータをテクスチャーメモリから読出すこ
とによって、27色の色指定を行なうことができる。な
お、テクスチャーデータは、フォアカラー指定データD
CF L R、G 、 B ]とバックカラー指定チー
・夕Dcn[R,G、B〕とテクスヂャー指定データD
TXから成り、DTX=0はフォアカラーだけで色指定
することを示し、DTX = 1は市松模様のテクスチ
ャーパターンを指定することを示している。 さらに、上述の各画像領域の決定は、上記高速演算処理
回路200に実装される例えば第1I図に示す如き構成
の境界検出回路を用いれば良い。 第11図において、画像メモリ210には、この装置に
て処理を行なう画像の1画素当りnヒツトの1フレ一ム
分の画像データが予じめ書込まれている。上記画像メモ
リ210は、任意のサイズのランダムアクセス可能なR
,AMから成る。また、上記画像メモリ210のアドレ
スラインには、上記マイクロコンピュータ100から供
給されるクロックパルスを計数するタイミングカウンタ
201の計数出力にてアドレッシングされるオフセット
ROM202から読出されるオフセツトデータと上記マ
イクロコンピュータ100から供給されるセンターアド
レスデータを加算器203にて加算したアドレスライン
が供給されている。さらに、上記画像メモリ210の書
込み/読出し制御ラインには、上記タイミングカウンタ
201の出力をタイミングゲート204にてデコ〜1−
シて得られるR’/WR信号が供給されている。 ここで、上記タイミングカウンタ201は、第12図の
タイムチャー1・に示すように、上記クロックパルスを
計数してlO進の計数出力
[Industrial Application Field] The present invention relates to a signal processing device used in a digital image information transmission system such as so-called videotex or teletext that transmits various image information using a telephone line or a wireless line. color. The present invention relates to a color specification processing device for a color image, which handles an image as a set of geometric figure areas and converts the color image information into geometric command data. [Background technology and its problems] In recent years, with the development of the information society, digital image information transmission systems such as Videotex and Teletext have been developed and used as so-called new media for transmitting various image information.
Practical implementation is progressing in various countries. For example, in the UK there is a Captain System (Character System) called Prestel (PRES).
And Pattern Telephone Acc
ess Information Network S
system) was developed, Saraoco, France's Telechill (Te1etc+), and Canada's Teliton (Te1etc+).
idon), American NAPLP (Nort
h American PreSentation L
evelProtocol) and others are being put into practical use. By the way, one image adopted in the above-mentioned Territon system is treated as a set of geometric figure areas and the image information is PDI (PictureDescr).
(Iption In5truction): The method of expressing and transmitting geometric command data using an L-code is extremely efficient compared to other methods of expressing image information in correspondence with mosaic picture elements or character codes. Its high efficiency is what makes it so good. The above PDI code contains five types of command data [POINT] and [LINE
] , [, l(C], [IAi7EA/] , [POL
YGON], command data [BIT] for the dot-compatible graphics command, and command data [C0NTR0L] for specifying hue, gradation, etc. and controlling the mode of the drawing command. The above command data [POINT] sets the drawing start point or plots the point PO at an arbitrary coordinate position on the display screen as shown in Figure 1A.
L I N E ], as shown in Figure 1B, the distance between two points P
Draw a line segment connecting h and Pz. Furthermore, in the above command data [A⇠C], two points Pl and P2 are shown in Figure 1 °C.
Draw an arc based on the coordinates and radius values, and draw a chord connecting the two points PI and PZ as shown by the dashed line in the figure, or draw an arc as shown by the dashed line in the figure. Center point P. Draw a fan shape by connecting the above two points Pi and Pz,
The inside of the canopy outline is filled in. In addition, in the above command data [AREA], as shown in Figure 1 °C, draw the outline of a rectangle with two points Pi and P2 as diagonal vertices,
Also, the inside of the outline is filled in, and further,
In the above command data [POLYGON], as shown in the first diagram, the vertices PI, P2. . . . The outline of the polygon defined by +Pn is drawn and the inside of the outline is filled in. However, in the digital image information transmission system that uses geometric command data as described above, it is possible to greatly reduce the amount of image information that is actually transmitted, and it is possible to perform highly efficient information transmission. However, there is a problem in that it requires a great deal of effort and time to create the image information to be actually transmitted, that is, the geometric command data representing one image. For example, the work of converting a video signal of an image to be transmitted into the above-mentioned geometric command data is performed by an operator who uses a tablet to record outline information, hue/gradation information, etc. while viewing the target image on a monitor television receiver. One possible method is to manually input each image, make various corrections, and then convert it into geometric command data, but it is difficult to accurately represent the information in the original image, and it takes a lot of time to input various information. It requires effort and time. [Object of the Invention] Therefore, in view of the above-mentioned problems, the present invention deals with treating one color image as a set of geometric figure areas and transmitting the image information by representing it in geometric command data. The purpose is to automate the process of converting the above image information into geometric command data, and to accurately and quickly automatically generate command data for hue specification for valley geometric regions of color images to be transmitted. The present invention provides a color designation processing device for a color image to be formed. [Summary of the Invention] In order to achieve the above-mentioned object, a color designation processing device for a color image according to the present invention includes an image storage means for storing image data obtained by capturing a color image, and an image read out from the image storage means. Area detection means for detecting each image area of the color image indicated by the same image data regarding the data;
A texture storage means in which texture designation data and hue designation data are written in advance to represent each hue by a combination of a texture pattern and the hue of the texture pattern, using the color data of the color image indicated by the image data as an address; The apparatus is characterized in that texture designation data and hue designation data are read and output from the texture storage means using color data as readout addresses for each image area of the color image. [Embodiment] Hereinafter, an embodiment of the color designation processing device for a color image according to the present invention will be described in detail with reference to the drawings. The embodiment shown in FIGS. 2 to 18 is an example in which the present invention is applied to an input data processing device in a Teliton digital image information transmission system. When an RGB color signal obtained by capturing an image with a camera or a color television signal of a standard television system (for example, NTSC) is input, one frame of color image shown by this input is a set of geometric figure areas. Geometrical command data representing the above-mentioned color image is generated by the microcomputer 100 and outputted through the data bus. In the second block diagram showing the overall configuration of the device of this embodiment, for example, an NTSC color television signal is input to the NTSC/I'4GB via the first signal input terminal 1.
Supplied to converter 5 and synchronous separation circuit 6, excellent RGB
The color signal is sent to the input selection circuit 1 via the second signal input terminal 2.
0. The input selection circuit 10 receives an RGB color signal obtained by converting the color television signal supplied from the first signal input terminal 1 via the NTSC/RGB converter 5 or is supplied from the second signal input terminal 2. One of the RGB color signals is selected and one of the RGB color signals is supplied to an analog/digital (A/D) converter 20. Further, the synchronization separation circuit 6 separates the synchronization signal in the color television signal supplied from the first signal input terminal 1 and supplies the synchronization signal to the synchronization switching circuit 5. The synchronization switching circuit 5 is supplied with a synchronization signal corresponding to the RGB color signal supplied to the second signal input terminal 2 from the third signal input terminal 3, and is connected to the input selection circuit 1.
0 is performed, and synchronization signals corresponding to the R and GB color signals supplied to the A/D converter 20 are supplied to the address data generation block 30. This address data generation block 30 is made up of a PLL oscillator 31 and a counter circuit 32, and is comprised of a PLL oscillator 31 and a counter circuit 32.
The oscillation output pulses of the oscillator 31 are counted by the counter circuit 32 to form address data synchronized with the synchronization signal, and this address data is supplied to the address selection circuit 35. The address selection circuit 35 selects the address data supplied via the address bus of the computer 100 and the address data supplied from the address data generation block 30, and selects the address data supplied via the address bus of the computer 100 and the address data supplied from the address data generation block 30, , 43, 44, the address data is supplied to the cursor memory 45 and the character generator 46. In addition, each of the frame memories 41, 42, 43,
44, the cursor memory 45, and the character generator 46 are configured to exchange various data through the data bus of the computer 100. The first frame memory 41 is a memory for storing original image data, and the A/D converter 20 digitizes the R, GB color signals, and the input color image data is output from the address data generation block 30. is written for each color of RGB based on the address data. The input color image data stored in the first frame memory 41 is arbitrarily read out at any time and converted into analog RG B color signals by a digital/analog (D/A) converter 61 and sent to the first output selection circuit 71. The color original image can be monitored by being supplied to the first RGE monitor device 81 via the RGE monitor. 2nd to 4th frame memory 42°43.4
4 is used as a general-purpose memory for various data processing such as color processing and redundant data reduction processing for the original image data stored in the first frame memory 41, and is used to store various image data in various processing processes described later. Writing/reading is performed through the data bus. The processed image data stored in the second frame memory 42 is converted into color data in the color table memory 52 and returned to analog RGB color signals via the D/A converter 63. It is supplied to a second output selection circuit 71.72, so that the data-processed color image can be monitored by the first or second It, GB monitor device 81.82. Further, the processed image data stored in the third frame memory 43 is converted into color data in the color table memory 53 and returned to analog RGB color signals via the D/A converter 64. The second RGB from the second output selection circuit 72
The data can be supplied to a monitor device 82 to monitor the data-processed color image. Further, the fourth frame memory 44 transfers the original image data stored in the first frame memory 41 to the D/A converter 61.
RGB/Y after returning to analog RG B color signals at
Converter 68 converts to luminance Y signal and further A/D
The original black and white image data obtained by digitizing via the converter 69 is written. After performing redundant data reduction processing on this black and white image data, the black and white image data is stored in the color table memory 53 and the D/A.
The signals are returned to analog RGB color signals via the converter 63 and supplied to the signal synthesis circuit 70. The signal synthesis circuit 70 includes the cursor memo IJ45.
A cursor display signal is supplied from the character generator 46, and character data for displaying various system control commands is converted into analog RGB color signals by the color table memory 53 and supplied. An image formed by superimposing an image based on the image data stored in the frame memory 44, a cursor image based on the cursor display signal from the cursor memory 45, and an image based on the character data from the character generator 46.
Combines and outputs GB color signals. This signal synthesis circuit 70
The image based on the R and GB color signals obtained can be monitored by the second RGB monitor device 82, and
The RGB color signals are converted into a luminance Y signal by an R, GB/Y converter 80, and can be monitored by a monochrome monitor device 83. Furthermore, in this embodiment, the microcomputer 1
00 acts as a controller that controls the operation of the entire device, and its data bus and address bus include an auxiliary memory 90 such as a Roll RAM, a floppy disk controller 91, an input/output interface circuit 93, and high-speed arithmetic processing. A circuit 200 etc. are connected. Incidentally, a tablet 94 and its monitor device 95 are connected to the input/output interface circuit 93 for inputting various data during manual editing processing. The apparatus of this embodiment performs image processing according to the procedure shown in the flowchart of FIG. It is designed to be converted into command data and output through the data bus. That is, input color image data is first written into the first frame memory 41 and stored as original image data. Here, the input color image data can be changed by switching the input selection circuit 10 and the synchronization selection circuit 15.
NTSC color television signal or 11. It is possible to select from either of the GB color signals. Further, the original image data stored in the first frame memory 41 is R
The data is converted into black and white image data by the G B/Y converter 68 and is also stored in the fourth frame memory 44 . Next, the 18th and 4th frame memories 41, 44
Based on the image data stored in the image data, the input color image data is color-processed, redundant data is further reduced, and the image is finally converted into geometric command data without losing the characteristics of the original image. Automatically generate image data suitable for After performing each of the above processes, a conversion process for converting the image data into geometric command data is automatically performed. Note that when the original image is artificially modified and transmitted, manual editing processing is performed before the above-mentioned geometric command data conversion processing. In the above color processing, the top n colors with high frequency in the original color image indicated by the input color image data stored in the first frame memory 41ζ are automatically selected, and the above 1] is applied to each pixel. The process of assigning one of the colors is performed in accordance with the flowchart shown in FIG. In this color processing, the high-speed arithmetic processing circuit 200 first creates a histogram of each color data for the input color image data stored in the first frame memory 41, and then selects the top n color data of this histogram. Select. Next, for each image area shown with the same brightness of the black and white image represented by the black and white image data stored in the fourth frame memory 44, 11 Colors are assigned to form color full data in order of brightness, and the color table data is corrected so that the deviation is minimized for each pixel. The color full data formed in the high-speed operation processing circuit 200 in this way is stored in each color table memory 51, 52, and 53. Furthermore, the color-processed image data in which the n colors are assigned to each of the image areas is written into the second frame memory 42 . The color image subjected to the above color processing is generated by reading out each color data from the first color table memory 41 using the image data stored in the second frame memory 42 as address data, second R,
It is monitored by OB monitor devices 81 and 82. In the above redundant data reduction process, the above 2'j6
and fourth frame memo 1) 42. Performs noise cancellation processing, halftone removal processing, small area deletion processing, etc. on each of the stored image data, and then performs data conversion processing to the next geometrically variable command 1. Reduce the amount of information by removing unnecessary redundant data. This reduction process is performed by the high-speed arithmetic processing device 200. For example, as shown in FIG. 5, nine 3×3 pixels [A], CB], [C], CD], [E], [F
], [G], [I(], [■]), 4 neighboring pixels [13], [D], [
When three or more data among [F], CH] are the same, the noise canceling process is performed by replacing the data of the center pixel [E] with that value. Furthermore, for the center pixel [E], each pixel column [:A
-E・I], CB-E・I], [C-E,G], CD・
E - F ], if two or more are monotonically increasing or decreasing, the middle pixel CE) above is set as the middle tone pixel, and the nearest value in the 8 neighborhood is set to the 17y pixel [E] above. By replacing the data, the above-mentioned halftone removal is carried out. Further, the small area deletion process is performed by merging small areas with an area smaller than a specified area to adjacent areas. In this way, the high-speed arithmetic processing circuit 200 performs redundant data removal processing, and the image data is read into the third frame memory 43 and sent to the second RGB monitor via the second color table memory 52. Monitored by device 82. Furthermore, in the above-mentioned manual editing process, new motifs are added or deleted, colors are corrected, etc. artificially added to or deleted from the color image represented by the image data obtained by automatically performing the above-mentioned color processing and reduction processing. Perform the process to add. This manual editing 1-processing is performed using a transparent tablet 94 provided on the screen of the monochrome monitor device 83 that monitors the image based on the monochrome image data that is about to be stored in the fourth frame memory 44. It's hard. On the screen of the black and white monitor device 83, character information images for displaying various control commands necessary for manual editing are provided by the character generator 46, and a cursor for displaying position information generated from the tablets 1-94 is provided. A cursor image is given in the cursor memory 45, and the operator
Use the included pen to modify images and see the results in real time. In the above-mentioned geometric command data conversion process, for the image represented by the various processed color image data as described above, command data expressed by geometric commands for each image area is converted by the following procedure. Form. First, the boundaries of each image area are determined by the high-speed arithmetic processing circuit 200.
to detect the position coordinates of the valley apex. Next, the detected position coordinates are regarded as the vertex positions of a geometric figure (polygon), and are converted into geometric command data based on the above-mentioned PD■ code, for example, [POLYGOJ]. Further, command data CC0NTR, OL] corresponding to the color determined by the color processing described above is given to each image region represented by the geometric figure connecting the respective vertices. For example, as shown in FIG. 6, each vertex Po, Pl. ..., When converting the image area AR connecting P4 into command data using PDI code, specify the image area AR hue using a texture pattern TXP and a combination of the hues of the texture pattern TXP. Vertices Pa, PI, +... Each position coordinate of P4 [Xo, Yo], [Xx,
Yt:], -CX4. Y4] and the back color, then specify the texture pattern T
Yo], [Xi. Yl], . . . , [X4, Y4] are coded again to complete the coding for the image area AR. The above texture pattern TXP
For example, as shown in FIG. 7, three types of patterns TX
Pz, TXP2. By selectively specifying TXPa and selectively specifying its color from two colors, black and white, five gradations of color are specified for the image area A, as shown in Figure 8. In other words, if the texture pattern TXP between two types of colors is mp types, and the colors are n types, then there are N2 types of colors, np(np-1) N p ”” n p +X m p can be expressed in a pseudo manner.Here, a specific example of color specification for each image area in this embodiment will be explained.In order to simplify the explanation,
Input color image data is R,G. It is assumed that the hue of the original image is represented by color data of 38=27 colors, with each hue of B having three levels. For example, as shown in FIG. 9, each level of JG and B is [0,
In order to synthesize hue C0 shown in and CO,
The hue Cy shown by the dashed line in the figure of (1, 2) is 1:I
They should be mixed in the proportion of In other words, the foreground color is C
F[0,2,2], back color CB[Q. 0.2] and use a checkered texture pattern. Therefore, the color data Dc[R,Q of the input color image data indicating the valley hue of the original image. 27 colors can be specified by reading and addressing texture data shown in FIG. 10 from the texture memory. Note that the texture data is the foreground color specification data D.
CF L R, G, B] and back color specification Q/Dcn [R, G, B] and texture specification data D
DTX = 0 indicates that the color is specified using only the foreground color, and DTX = 1 indicates that a checkered texture pattern is specified. Furthermore, the above-mentioned determination of each image area may be performed by using a boundary detection circuit having a configuration as shown in FIG. 1I, which is implemented in the high-speed arithmetic processing circuit 200. In FIG. 11, image data for one frame of an image to be processed by this apparatus, n hits per pixel, is written in advance in an image memory 210. The image memory 210 is a randomly accessible R
, AM. Further, the address line of the image memory 210 contains offset data read from the offset ROM 202 addressed by the count output of the timing counter 201 that counts clock pulses supplied from the microcomputer 100 and the microcomputer 100. An address line obtained by adding center address data supplied from the adder 203 is supplied. Furthermore, the output of the timing counter 201 is applied to the write/read control line of the image memory 210 by a timing gate 204.
The R'/WR signal obtained by Here, the timing counter 201 counts the clock pulses and outputs a count in lO base, as shown in time chart 1 in FIG.

〔0〕。 〔1〕、・・・、[0]. [1],...

〔9〕を上記オフセラ1N(0M20
2とタイミンクゲ−1−204に供給する。また、上記
オフセラ140M2[)2には、上記計数出力[0]、
〔l〕、・・・、
[9] The above Offsera 1N (0M20
2 and timing game 1-204. In addition, the Offsera 140M2[)2 has the counting output [0],
[l],...

〔9〕にで指定されるアドレスにオフ
セットデータ[@] 、C■〕、〔■〕。 ・・・、〔■〕、〔■〕、〔■〕が書込まれている。 上記オフセラ!・データ〔・■コ、〔■〕、〔■〕。 ・・、〔■〕、〔■〕、 [@]は、第13図に示す3
行3列の9画素■、■、■、・・・、■、■に対応して
いる。さらζこ、上記タイミンクゲー+−204は、上
記計数出力[OLl]、・・、
Offset data [@], C■], [■] to the address specified in [9]. ..., [■], [■], [■] are written. Off-sera above!・Data [・■ko, [■], [■]. ..., [■], [■], [@] are 3 shown in Figure 13.
This corresponds to nine pixels in rows and three columns: ■, ■, ■, . . . , ■, ■. Moreover, the above timing game +-204 has the above counting output [OLl],...

〔9〕をデコー1へする
ことにより、計数出力
By decoding [9] to 1, the count output

〔0〕から計数出力し8]の期間
中は論理(川」で書込み期間TRを示し、計数出力〔9
〕の期間中は論理10」で読出し期間’1”WRを示す
R/WR信号を形成する。 そして、上記加算器203は、上記センターアドレスデ
ータと上記オフセットデータとを加算することにより、
上記センターアドレスデータにて指定される検出対象画
素を中心画素■として、その8近傍画素■、■、・・・
、■および上記中心画素■の各画像データを1サイクル
期間中に順次に指定するアドレスデータを形成する。 上記画像メモリ210から順次に読出される画像データ
は、データラインを通してnビ・ノド9段のシフトレジ
スタ220に供給されている。このシフトレジスタ22
0は、上記画像データを上記クロックパルスに従って順
次に転送し、上記3行3列の9画素■、■、・・・、■
の各画像データを一次的に記憶する。 上記、シフトレジスタ220に一時記憶された各画像デ
ータは、データ比較回路230に供給されて、上記中/
ひ画素8すなイつち検出対象画素の画像データと8近傍
画素■、■、・・・、■の各画像データとが比較される
。上記データ比較回路230Iは、それぞれnヒツトの
8個の比較器231,232、・・・、238から成り
、各画像データの一致出力データを方向ROM240に
読出しアドレスデータとして供給する。 上記方向ROM240は、画像の境界が連続する方向を
示す方向データが予じめ書込まれており、この方向デー
タがラッチ回路250を介して境界検出出力として読出
されるようζこなっている。上記ラッチ回路250は、
上記タイミンクゲート204からR/ W I(、信号
かラッチクロックとして供給されており、このR/WR
信号の立下りのタイミングすなイつち上記シフトレジス
タ220に各画素■、■、・・・、■の全ての画像デー
タを一時記憶した状態のタイミンクで上記方向データを
ラッチするようになっている。また、このラッチ回路2
50を介して出力される境界検出出力すなイっち方向デ
ータは、上記方向1(、O[VI240にアドレスデー
タとして供給されている。 ここて、中lし画素■とその8近傍画素■、■。 ・・・、■にて示される画像の境界が連続する方向は、
上記中’L>画素■を検出対象画素とした場合に、第1
4図に示す8種類の方向データDo [−” ]、 D
1[1]、D2[\〕、・・・、]Ih[s〕にて一義
的に決定することができる。また、中心画素■に対して
画像の境界が連続していることを例えば8近傍画素■、
■、・・・、■について反時計回り方向で検出を行なう
とすると、上記各方向データDo、D1゜・・・、D7
は、各画素■、■、・・・、■の画素の画像データが第
14図に示すような状態にあることを条件として、他の
4個の画素の画像データによって決定される。換言すれ
ば、各方向データDO2Dl、・・・、D7に対して、
4個の画素データは一義的に決定される。なお、第14
図において、○印は画像データが一致していることを示
し、X印は画像データが不−透であることを示している
。 そして、画像の連続する境界を反時計回り方向に順次に
追跡すると、前回の検出動作にて得られた方向データと
、現時点における検出対象画素すなわち中心画素■に対
する8近傍画素■、■、・・・。 ■の各画素データの一致・不一致状態から、方向データ
を一義的に決定することができる。 すなわち、先ず、境界検出を行なう画像領域の最初の検
出対象画素を決定するには、例えば画像の左下から画像
データをサーチして、第15図にに示すように少なくと
も8近傍画素のうち4個の画素■、■、■、■が全て中
心画素■に対して不一致状態になっている検出対象画素
を検出すれば良い。そして、この最初の検出対象画素に
ついての方向検出出力は、Do [−] 、 DIC,
p ) 、D2〔1〕の三種のいずれかになり、各画素
■、■。 ■の画像データ△の内容によって第15図に示すように
一義的に決定することができる。 また、境界を追路して方向検出を行なう状態ては、前回
の検出動作によって決定された中ノ[?画素■に対して
、8近傍画素のうちの3個の画素の一致・不一致状態が
既に決まっており、′他の5個の画素の画素データ△に
よって第16図Aないし第16図I(に示すように方向
検出出力が一義的に決定される。なお、第16図におい
て、◎は前回の検出動作時の検出対象画素を示している
。 上記方向ROM240には、中心画素■に対する8近傍
画素■、■、・・・、■の各画像データの一致検出出力
すなわち方向データによって一義的に決定された方向デ
ータDo 、 DI 、・・・ID?が予じめ書込まれ
ており、上記一致検出出力データと方向データを読出し
アドレスとして上記方向データDo 、])1.・・・
、 D?が境界検出出力として読出される。 この実施例のように、方向ROM240に予じめ書込ん
だ方向データを比較回路230の出力データにて読出す
ことにより境界検出出力を得るようにずれば、従来16
ビソトマイクロコンピユータにて数10μs程度の処理
時間を要していた画像の境界検出処理を1〜3μs程度
の極めて短時間で行なうことができる。 なお、この境界検出回路では、上記3ステ一トインター
フエース回路205を介して検出レベルデータをデータ
ラインに入力し、上記I(、/WR信号が論理「0」す
なわち書込み期間TWR中に上記3ステ一トインターフ
エース回路205をイネーブル状態に制御することによ
って、境界の検出レベルを任意に変更できるようにしで
ある。また、方向ROM240Aからラッチ回路250
Aを介して読出される方向データの全ビットを上記方向
ROM24(IAのアドレスデータとして用いたが、第
17図に要部のみを示すように、方向ROM240Aか
ら読出される方向データDの最上位ビットデータ〔B2
〕だけをラッチ回路250Aを介して上記方向ROM2
4 QAにアドレスデータとして帰還するようにしても
良い。 すなわち、上述の如き画像の境界の連続する方向を順次
に検出する場合には前回の検出動作の境界によって、現
時点の中心画素■に対する8近傍画素のうちの3個の画
素の一致・不一致状態は既に決まっており、上記比較回
路230の出力データも3ヒソI・分は第会表に示すよ
うに決まっている。 第存表:比較回路の出力を示す表 0:不一致 l不一致 そして、上記第1表中に太線で示した谷枠内の谷ビット
データは互いに異なる内容を示しているので、前回の検
出動作にて得られた方向データDの最上位ヒツト〔B1
〕のデータにて前回の検出対象画素位置が現時点におけ
る中心画素■に対して■。 ■、■、■の各画素位置にあるか■、■、■、■の各画
素位置にあるかを指定すれば、上記比較回路230の出
力データAo 、 A]、、−、A7 ニテ全ての方向
データを決定することができる。この場合に方向ItO
M240Aには、第18図に示すような方向データを予
じめ書込んでぢけば良い。 このようにIビットの方向データDCBPIだけをア1
−゛レステータとして帰還して方向データの読出しを行
なうようにすれば、上記方向ROM240Aの記憶容量
の削減および上記ラッチ回路250Aの簡略化を図るこ
とができる。 〔発明の効果〕 上述の実施例の説明から明らかなように、本発明に係る
カラー画像の符号化処理装置では、画像記憶手段に記憶
したカラー画像データにて示されるカラー画1$につい
て、各画像領域毎にテクスチャー指定データおよび色指
定データにて色指定を行なうので、少ない情報量で多数
の色指定を自動的に行なうことができ、テジタル画像伝
送システムにおける入力画像処理に適した色指定処理装
置を提供することができる。 はPDIコードによる図形処理をそれぞれ模式的に示す
模式図である。 第2図は本発明に係る画像の色指定処理装置の一実施例
を示すブロック図である。第3図はこの実施例における
画像処理手順を示すフローチャ、−トであり、第4図は
同じく色処理の手順を示すフローチャートである。第5
図は上記実施例における情報量削減処理の動作を説明す
るための処理対象画素の配列を示す模式図である。第6
図ないし第1θ図は上記実施例のコーディング処理にお
ける色指定処理を説明するための各模式図であり、第6
図は処理対象画像領域を示し、第7図はテクスチャーパ
ターンの各側を示し、第8図は上記第6図に示した画像
領域に対して上記第7図に示した各テクスチャーパター
ンにて色指定した状態を示し、第9図は3レベルの色デ
ータを2レヘルの色データに変換する場合の色指定の動
作原理を示し、第1O図は上記色指定の動作原理に従っ
て27色の色指定を行なう場合に用いるテクスチャーデ
ータの一例を示している。第11図ないし第18図は上
記実施例に8ける画像の境界検出回路の一例を示すもの
で、第1I図は境界検出回路の構成を示すブロック図で
あり、第12図は上記検出回路の動作を示すタイムチャ
ートであり、第13図は検出動作を行なう対象となる各
画素の配列を示す模式図であり、第14図は検出対象画
素に対して画像の境界が連続する方向および各画素の画
像データの内容を示す模式図であり、第15図は境界の
初期検出動作時における検出方向決定の動作原理を示す
模式図であり、第16図人ないし第16図11は境界か
連続する方向を順次に決定する場合に各画素の画像デー
タの内容と検出方向をそれぞれ示す谷模式図であり、第
17図は上記第11図に示した境界検出回路の変形例を
示す要部ブロック図であり、第18図人および第18図
Bは上記変形例における方向ROMに予じめ書込まれる
方向データをそれぞれ示す各模式図である。 41.42,43.44・・・・・クレームメモリ51
.52.53・・・・・・カラーテーブルメモリ90・
・・・・・・・・・・・・・・・・・・・・・・・補助
メモリ100・・・・・・・・・・・・・・・・・・・
・・マイクロコンピュータ200・・・・・・・・・・
・・・・・・・・・・・高速演算処理回路210・・・
・・・・・・・・・・・・・・・・・・画像メモリ22
0・・・・・・・・・・・・・・・・・・・・・シフI
・レジスタ230・・・・・・・・・・・・・・・・・
・・・・データ比較回路240.24OA・・・・・・
方向ROM250.25OA・・・・・・ラッチ回路特
許出願人 ソニー株式会社 代理人 弁理士 小 池 晃 同 1) 村 榮 − 第3図 第4図 第5図 第6図 第7図 第8図 第9図 第10図 ■ [ [− 第13図 第12図 第14図 第15図 第16図(C) 第16図(D) 第16図(E) 第16図(F) 第16図(G) 第16図(H)
The count is output from [0], and during the period 8], the writing period TR is indicated by a logic (river), and the count is output [9].
] During the period, the R/WR signal indicating the read period '1' WR is formed at logic 10'. Then, the adder 203 adds the center address data and the offset data, thereby
The detection target pixel specified by the center address data above is the center pixel ■, and its 8 neighboring pixels ■, ■,...
, (2) and the center pixel (2) are sequentially designated during one cycle. Image data sequentially read out from the image memory 210 is supplied to an n-bit 9-stage shift register 220 through a data line. This shift register 22
0 sequentially transfers the image data according to the clock pulse, and the 9 pixels in the 3 rows and 3 columns ■, ■, ..., ■
Each image data is temporarily stored. Each of the image data temporarily stored in the shift register 220 is supplied to the data comparison circuit 230, and
The image data of the pixel 8, that is, the pixel to be detected, is compared with the image data of the 8 neighboring pixels ■, ■, . . . , ■. The data comparison circuit 230I is composed of eight comparators 231, 232, . The direction ROM 240 is pre-written with direction data indicating the direction in which the image boundaries are continuous, and is arranged so that this direction data is read out as a boundary detection output via the latch circuit 250. The latch circuit 250 is
The R/W I (, signal or latch clock is supplied from the timing gate 204, and this R/WR
The direction data is latched at the timing of the fall of the signal, which is the timing when all the image data of each pixel ■, ■, ..., ■ is temporarily stored in the shift register 220. There is. In addition, this latch circuit 2
The boundary detection output, i.e., one direction data, outputted through 50 is supplied as address data to the above-mentioned direction 1 (, O[VI240. , ■. ..., The direction in which the boundaries of the images shown by ■ are continuous is
When the above middle 'L> pixel ■ is the detection target pixel, the first
Eight types of direction data Do [-”], D shown in Figure 4
1[1], D2[\], . . . , ]Ih[s]. Also, if the boundary of the image is continuous with respect to the center pixel ■, for example, 8 neighboring pixels ■,
When detecting ■, ..., ■ in the counterclockwise direction, the above-mentioned directional data Do, D1°..., D7
is determined by the image data of the other four pixels, provided that the image data of each pixel (2), (2), . . . , (2) is in a state as shown in FIG. In other words, for each direction data DO2Dl, ..., D7,
The four pixel data are uniquely determined. In addition, the 14th
In the figure, ◯ marks indicate that the image data match, and X marks indicate that the image data is opaque. Then, when consecutive boundaries of the image are sequentially tracked in a counterclockwise direction, the direction data obtained in the previous detection operation and the current detection target pixel, that is, the center pixel ■, 8 neighboring pixels ■, ■, . . .・. Direction data can be uniquely determined from the matching/mismatching state of each pixel data (2). That is, first, to determine the first detection target pixel in the image area where boundary detection is to be performed, for example, search the image data from the bottom left of the image, and select at least 4 out of 8 neighboring pixels as shown in FIG. It is sufficient to detect a detection target pixel in which the pixels ■, ■, ■, ■ are all in a mismatch state with the center pixel ■. The direction detection output for this first detection target pixel is Do[-], DIC,
p), D2 [1], and each pixel ■, ■. As shown in FIG. 15, it can be determined uniquely depending on the contents of the image data Δ in (2). In addition, the state in which the direction is detected by following the boundary is determined by the previous detection operation. For pixel ■, the matching/mismatching states of three of the eight neighboring pixels have already been determined, and the pixel data △ of the other five pixels are used to The direction detection output is uniquely determined as shown in FIG. Direction data Do, DI, ... ID? uniquely determined by the direction data, that is, the match detection output of each image data of ■, ■, ..., ■, is written in advance, and if the above match The above direction data Do is read using the detection output data and the direction data as a read address,])1. ...
, D? is read out as the boundary detection output. As in this embodiment, if the direction data written in advance in the direction ROM 240 is read out using the output data of the comparator circuit 230 to obtain the boundary detection output, the conventional 16
Image boundary detection processing, which used to require processing time of several tens of microseconds on a BISOTO microcomputer, can be performed in an extremely short time of about 1 to 3 microseconds. In this boundary detection circuit, the detection level data is input to the data line via the 3-state interface circuit 205, and the I(, /WR signal is set to logic "0", that is, the 3-state interface circuit 205 is inputted to the data line). By controlling the state interface circuit 205 to an enabled state, the boundary detection level can be changed arbitrarily.Also, the latch circuit 250 can be changed from the direction ROM 240A.
All bits of the direction data read out from the direction data A are used as address data for the direction ROM 24 (IA), but as only the main part is shown in FIG. Bit data [B2
] Only the above direction ROM2 is connected via the latch circuit 250A.
4 The data may be returned to QA as address data. In other words, when sequentially detecting continuous directions of image boundaries as described above, the match/mismatch state of three of the eight neighboring pixels with respect to the current center pixel ■ is determined by the boundary of the previous detection operation. This has already been determined, and the output data of the comparison circuit 230 is also determined to be 3 hours I·min as shown in the Table of Contents. Existing table: Table showing the output of the comparison circuit 0: Mismatch l Mismatch And, since the valley bit data within the valley frame indicated by the thick line in Table 1 above indicates different contents, the previous detection operation The highest hit of the direction data D obtained by [B1
] data, the previous detection target pixel position is ■ compared to the current center pixel ■. If you specify whether it is located at each pixel position of ■, ■, ■ or at each pixel position of ■, ■, ■, ■, the output data of the comparison circuit 230 Ao, A], -, A7. Orientation data can be determined. In this case the direction ItO
Direction data as shown in FIG. 18 may be written in M240A in advance. In this way, only the I-bit direction data DCBPI is set to 1.
- If the direction data is read out by returning as a restator, the storage capacity of the direction ROM 240A can be reduced and the latch circuit 250A can be simplified. [Effects of the Invention] As is clear from the description of the embodiments described above, the color image encoding processing device according to the present invention can process each $1 color image represented by the color image data stored in the image storage means. Since colors are specified using texture specification data and color specification data for each image area, it is possible to automatically specify a large number of colors with a small amount of information, making this color specification processing suitable for input image processing in digital image transmission systems. equipment can be provided. 2A and 2B are schematic diagrams each schematically showing graphic processing using PDI codes. FIG. 2 is a block diagram showing an embodiment of the image color designation processing device according to the present invention. FIG. 3 is a flowchart showing the image processing procedure in this embodiment, and FIG. 4 is a flowchart showing the color processing procedure. Fifth
The figure is a schematic diagram showing an arrangement of processing target pixels for explaining the operation of the information amount reduction processing in the above embodiment. 6th
The figures and the first θ are each schematic diagrams for explaining the color designation process in the coding process of the above embodiment, and the sixth
The figure shows the image area to be processed, FIG. 7 shows each side of the texture pattern, and FIG. 8 shows the color of each texture pattern shown in FIG. 7 above for the image area shown in FIG. Fig. 9 shows the operating principle of color specification when converting 3-level color data to 2-level color data, and Fig. 10 shows the color specification of 27 colors according to the above-mentioned color specification operating principle. An example of texture data used when performing the following is shown. 11 to 18 show an example of the image boundary detection circuit in the above embodiment 8, FIG. 1I is a block diagram showing the configuration of the boundary detection circuit, and FIG. 12 is a block diagram of the above detection circuit. This is a time chart showing the operation, and Fig. 13 is a schematic diagram showing the arrangement of each pixel that is the target of the detection operation, and Fig. 14 is the direction in which the boundary of the image is continuous with respect to the detection target pixel, and the direction of each pixel. FIG. 15 is a schematic diagram showing the principle of operation for determining the detection direction during the initial detection operation of a boundary. FIG. 17 is a schematic diagram showing the contents of the image data of each pixel and the detection direction when the direction is sequentially determined, and FIG. 17 is a block diagram of the main part showing a modification of the boundary detection circuit shown in FIG. 11 above. FIG. 18 and FIG. 18B are schematic diagrams respectively showing direction data written in advance in the direction ROM in the above modification. 41.42, 43.44...Claim memory 51
.. 52.53...Color table memory 90.
・・・・・・・・・・・・・・・・・・・・・・・・Auxiliary memory 100・・・・・・・・・・・・・・・・・・・・・
・・Microcomputer 200・・・・・・・・・・
...... High-speed arithmetic processing circuit 210...
・・・・・・・・・・・・・・・ Image memory 22
0・・・・・・・・・・・・・・・・・・・・・Schiff I
・Register 230・・・・・・・・・・・・・・・・・・
...Data comparison circuit 240.24OA...
Direction ROM 250.25OA... Latch circuit Patent applicant Sony Corporation Representative Patent attorney Kodo Koike 1) Sakae Mura - Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 ■ [ [- Figure 13 Figure 12 Figure 14 Figure 15 Figure 16 (C) Figure 16 (D) Figure 16 (E) Figure 16 (F) Figure 16 (G ) Figure 16 (H)

Claims (1)

【特許請求の範囲】[Claims] カラー画像を撮像した画像データを記憶する画像記憶手
段と、この画像記憶手段から読出される画像データにつ
いて同一画像データにて示される上記カラー画像の各画
像領域を検出する領域検出手段と、上記画像データにて
示されるカラー画像の色データをアドレスとして、各色
相をテクスチャパターンと該テクスチャパターンの色相
の組合せにより表わすテクスチャ指定データおよび色相
指定データが予じめ書込まれたテクスチャ記憶手段とを
備え、上記カラー画像の各画像領域毎に色データを読出
しアドレスとして上記テクスチャ記憶手段からテクスチ
ャ指定データおよび色相指定データを読出して出力する
ようにしたことを特徴とするカラー画像の色指定処理装
置。
an image storage means for storing image data obtained by capturing a color image; an area detection means for detecting each image area of the color image indicated by the same image data with respect to the image data read from the image storage means; Texture storage means in which texture designation data and hue designation data are written in advance to represent each hue by a combination of a texture pattern and the hue of the texture pattern, using color data of a color image indicated by the data as an address. A color designation processing device for a color image, characterized in that texture designation data and hue designation data are read out and output from the texture storage means using color data as a readout address for each image region of the color image.
JP59053960A 1984-03-21 1984-03-21 Color designation processing unit of color picture Pending JPS60197073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59053960A JPS60197073A (en) 1984-03-21 1984-03-21 Color designation processing unit of color picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59053960A JPS60197073A (en) 1984-03-21 1984-03-21 Color designation processing unit of color picture

Publications (1)

Publication Number Publication Date
JPS60197073A true JPS60197073A (en) 1985-10-05

Family

ID=12957252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59053960A Pending JPS60197073A (en) 1984-03-21 1984-03-21 Color designation processing unit of color picture

Country Status (1)

Country Link
JP (1) JPS60197073A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01109479A (en) * 1987-10-23 1989-04-26 Canon Inc System for processing image
JPH01109478A (en) * 1987-10-23 1989-04-26 Canon Inc Image processor
US7522650B2 (en) * 2004-03-31 2009-04-21 Cymer, Inc. Gas discharge laser chamber improvements

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01109479A (en) * 1987-10-23 1989-04-26 Canon Inc System for processing image
JPH01109478A (en) * 1987-10-23 1989-04-26 Canon Inc Image processor
US7522650B2 (en) * 2004-03-31 2009-04-21 Cymer, Inc. Gas discharge laser chamber improvements

Similar Documents

Publication Publication Date Title
US4646134A (en) Apparatus for encoding image signal
US5559954A (en) Method & apparatus for displaying pixels from a multi-format frame buffer
EP0369702B1 (en) Image processing apparatus and method
US3784736A (en) Method and apparatus for converting monochrome pictures to multi-color pictures electronically
US5444497A (en) Apparatus and method of transferring video data of a moving picture
JPH1188700A (en) Coding method of color image signal, and decoding method and color image processor thereof
JPH03227179A (en) Picture data processing unit
JPS60197073A (en) Color designation processing unit of color picture
KR930008177B1 (en) Picture image processing apparatus
KR930004642B1 (en) Apparatus for encoding image signal
JPS60197084A (en) Coding and processing unit of picture
KR930008176B1 (en) Apparatus for encoding image signal
JPH04253095A (en) Frame buffer corresponding to moving picture of work station
JPH0659105B2 (en) Color correction method in video plate making apparatus
JP2633538B2 (en) Image editing device
JP2650988B2 (en) Image display device
JPS60169935A (en) Display controller
JPS63244178A (en) Image processing method
JPH0728456A (en) Image display device
JPS63184474A (en) Picture processing unit
JPH0763185B2 (en) Image processing device
JPH0546757B2 (en)
JPH05119766A (en) Image processor
JPS63244180A (en) Image processing method
JPS63244179A (en) Image processing method