JP2580441C - - Google Patents
Info
- Publication number
- JP2580441C JP2580441C JP2580441C JP 2580441 C JP2580441 C JP 2580441C JP 2580441 C JP2580441 C JP 2580441C
- Authority
- JP
- Japan
- Prior art keywords
- output
- parameter
- pattern
- character
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000012447 hatching Effects 0.000 claims description 12
- 239000003973 paint Substances 0.000 claims description 10
- 238000010422 painting Methods 0.000 claims description 3
- 230000015654 memory Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 9
- 230000018109 developmental process Effects 0.000 description 7
- 230000001131 transforming Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 238000003672 processing method Methods 0.000 description 3
- 230000000875 corresponding Effects 0.000 description 2
- 230000002087 whitening Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000011248 coating agent Substances 0.000 description 1
- 238000000576 coating method Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000003287 optical Effects 0.000 description 1
Description
【発明の詳細な説明】
【0001】
【産業上の利用分野】
本発明は、塗りパターンに基づいて文字を修飾して出力する図形処理方法に関す
る。
【0002】
【従来の技術】
従来、文字発生に関しては補助記憶装置又はROM(Read Only Memory)に予め
格納されているドットパターンを表示部又は出力部に転送する方法、もしくは、
同様に格納されている輪郭データを読み出し、座標変形の後、輪郭内部を画像メ
モリ上等で単純に塗りつぶすことにより表示又は出力する方法であり、文字を多
様なサイズへ拡大縮小、変形、及び座標展開した後に塗りつぶし、白ぬき、及び
種々のハッチング(線影、又は規則的な模様)パターンなどで形成したりシャド
ウ効果(本来平面的な文字に厚みのある影を付け、奥行きや見た目の立体感を出
す)を実現することは不可能であった。一方、図形発生に関しては従来は多角形
、円などの比較的単純な図形を塗りつぶし、白ぬき、ハッチングパターンなどで発生
する方法で、文字発生との組み合わせ(重ね合わせ、白
ぬきなど)は極く単純なものに限られていた。
【0003】
このため、特に複雑な効果を表現したい場合には、計算機による文書作成や図
形編集とはまったく別個に必要な文字または図形を写真処理等で作成し、所望の
ハッチングパターンフィルムと貼り合わせる、又シャドウ効果を得たい場合につ
いては図形または文字を写真処理等で2部作成し、必要間隔ずらして貼り合わせ
た後、加筆修正する等、非常に手間のかかるものであった。
【0004】
(目的)
本発明の目的は上述従来例の欠点を除去し、塗りパターンに基づいて文字を修
飾して出力する際に、容易に塗りパターンを選択設定できる図形処理方法を提供
することにある。
【0005】
【実施例】
以下、図面を用いて本発明を更に詳細に説明する。図1は本発明を適用した画
像処理システム(図形や文字を扱うことができる)の外観接続図である。なお、
システムはこれに限る必要はなく、単体の機器であってもまたシステムの一部が
変更されても、本発明が適用できることは言うまでもない。更に、これらの機能
を有するプログラムをシステム或いは機器に供給することによって達成できる場
合にも適用できることは言うまでもない。図1において、31はシステム制御用
のマイクロ・コンピュータ、RAM、ROM等で構成される内部メモリ、フロッ
ピー・ディスクあるいはカートリッジ・ディスク等で構成される外部メモリを備
えた制御部(ワークステーションと呼ぶ)である。32はデジタル複写機の入力
部で原稿台に載置された原稿の文書情報をCCD等の撮像素子によって電気信号
化する原稿リーダ、また33はデジタル複写機の出力部で、レーザビームプリン
タ等の電気信号化された情報に基づき記録材上に像記録する高速プリンタである
。34は光ディスクあるいは光磁気ディスク等の記録媒体を有し、多量の画像情
報の書き込み及び読み出し可能な画像ファイルである。35はマイクロフィルム
ファイルでマイクロフィルム検索部と検索したマイクロフィルム上の画像情報
を撮像素子によって電気信号化するマイクロフィルムリーダ部を備えている。3
7はプリンタ33と同様のレーザビームプリンタ等のプリンタ装置であるが、プ
リンタ33と較べ小型、低速であり、必要に応じて設置される。38はデジタル
複写機及びマイクロフィルムの入力スキャナ(リーダ)が光電的に読み取った画
像情報あるいはシステムの制御情報等を表示するCRT装置で本願発明の文書、
画像処理を行う表示部である。39は各入力機器相互の接続を制御部31からの
信号により切り換える切り換え装置である。40から48は各入力機器間を電気
的に接続するケーブルである。また、50は制御部31に設けられたキーボード
であって、このキーボード50を操作することによりシステムの動作指令等を行
う。又61はCRT38上で画像情報を加工指示するためのポインティング・デ
バイスで、CRT38上のカーソルをX、Y方向任意に移動してコマンドメニュ
ー上のコマンドイメージを選択してその指示をする。51はデジタル複写機の操
作指令を行うための操作パネルであり、複写枚数、複写倍率等の設定キーや複写
開始を指示するコピーキー55及び数値表示機等を有する。52はデジタル複写
機の起動をかける主導権を複写機又は制御部のどちらにするかを決めるモード切
換スイッチで、53、54はモード切換スイッチ52のモード選択状態を表示す
る発光ダイオード(LED)からなる表示器である。
【0006】
図2は画像編集装置のブロック図である。本願では、文書編集をも含めて画像
編集と称している。なお、図1と同一部分は同一符号を付けている。H4はVR
AMで表示部38に表示すべきデータをビットマップ上に展開している。例えば
文字データであれば、そのコードに対応した文字キャラクタがVRAM上に展開
されており、ソフト制御によりVRAMの表示エリアに直接カーソルを発生し表
示が可能である。
【0007】
H7、H8、H9はデータファイル用のディスクで、例えばH8はハード・デ
ィスク(HD)であり、H7は、5インチ・フロッピー・ディスク(FD)であ
る。
【0008】
BMU
H5はBMU(ビット・マニピュレーション・ユニット)で、ビデオラムH4
、メイン・メモリ、ディスク等のデバイス(H7、H8、H9)、プリンタ等の
入出力機器間のワード単位の転送をMPUを介さずに行うDMAC(Direc
t Memory Access Controllre)の機能があり、更に
ファンクション機能としては以下の16種類の論理演算が可能である。データの
転送元をA(source側)、データの転送先をB(destination
側)とすると、例えばA(反転)、AB、A+B、Logical 1(黒く塗
りつぶす)、A+B、B、A+B、A+B、AB、A+B、B、A+B、Log
ical 0(クリア)、AB、AB、A等である。
【0009】
MPU
次にH6はMPU(Micro Processor Unit)部である。
又、MPU部はHD/FD−IF(インターフェース)を有しており、上記ディ
スクH7、H8、H9や後述のPMEM、IMEMのアクセス等の制御を行う。
【0010】
プリンタ及びリーダ
図2におけるH10、H13はそれぞれ画素密度が異なるプリンタで、H12
は原稿を読み取るリーダである。又、H11、H14はそれぞれプリンタH10
、プリンタH13及びリーダH12に対応して設けられたインターフェースであ
る。
【0011】
PMEM、IMEM
H15、H16はプログラム・メモリ(PMEM)で、編集処理のためのプロ
グラムを適宜ハード・ディスクH8から選択し、実行する。又、キーボード50
から入力されたデータはテキスト・メモリでもあるメイン・メモリにコード情報
として格納される。又、メイン・メモリに格納されたデータ、ディスクに格納さ
れたデータ、リーダから読み込まれたデータは、イメージ・メモリIMEMにビ
ットデータとして展開する事ができ、更にPMEMに格納されたデータについて
も同様であるが前述のBMUを介して前記DMACが可能である。なお、
PMEM、H15又はH16内の簡単なメモリマップを図3に示す。
【0012】
次に以上のような構成からなるシステムを用いた実施例について手順を追って
詳細に説明する。本実施例は文字等を表わす図形処理に関するものである。
【0013】
まず予め用意しておくパラメータ定義について述べる。図6は本画像処理シス
テムが有するパラメータセットであり、図形編集プログラムにおける、図7で示
すパラメータ定義画面において指定される。
【0014】
パラメータの種類
図7の<<a>>は書体指定パラメータであり、補助記憶装置等に予め格納さ
れたデータ(以後、原データと称す)の種別を指定する。なお、本実施例におけ
る原データは図形輪郭上の特徴点又はサンプル点を座標値として有する方式であ
る。<<b>>は文字の標準出力サイズ指定パラメータである。出力サイズは原
理的にはいかなるサイズへの拡大、縮小も可能である。<<c>>は展開方法に
ついての指定であり、どのような方法で文字列の出力方向を決定するかに関する
ものである。展開方法の例として水平展開、斜め展開、円周展開等を指定できる
。<<d>>は回転角度であり、<<c>>におけるいかなる展開方法において
も、個々の文字の回転角度を指定することができる。<<e>>は重複出力の指
定であり、後述図8のStep2の演算処理で決定する個々の文字の出力ポジシ
ョンにおいて指定されたパラメータセットに従って、重複出力をする回数を指定
する。<<f>>、<<g>>、<<h>>および<<i>>については補助記
憶装置等に予め格納されている原データの変形を目的とした座標変換を指定する
ものであり、それぞれ長体平体、鏡像反転、イタリック(斜体)及び輪郭の太め
細めに関してそれらの有無及びその変形量を指定するものである。<<j>>に
ついては上記<<f>>、<<g>>、<<h>>および<<i>>において変
形されたデータに対するシャドウ効果の有無及びシャドウ量を指定するもので
ある。<<k>>については変形されデータの輪郭線発生の有無及びその太さを
指定するものである。<<l>>については出力される図形の輪郭内部を形成す
るパターンについて指定するものであり、パターンなし、白地、黒地及びその他
種々のハッチングを指定できる。
【0015】
パラメーセット
図6で示すように本パラメーセットは一連のパラメータ上述パラメータ定義に
おける<<e>>にて指定した数のレコードとして持つことができる。本パラメ
ータセットはPMEM(H16)上の共有領域に記憶され本画像処理システムの
制御部より参照される。
【0016】
画像記憶領域
本発明は図形情報をドットパターンとして記憶可能な複数の記憶手段を有する
ことを特徴とする。図4はその実施例として例えば内部記憶領域(画像記憶領域
1及び、画像記憶領域2)をIMEMに、出力領域をVRAM(CRT表示領域
)及びIMEM(プリンタ出力領域)に確保したものである。内部記憶領域は本
画像処理システムの制御部にて以下のように動的に管理することができる。
【0017】
画像記憶領域1及び、画像記憶領域2は同一のサイズを取り、そのサイズは出
力領域の種類及び出力サイズにより決定される。又個々の領域に対しては水平方
向及び垂直方向のサイズが画像記憶領域管理テーブル上にセットされ、制御部か
らは領域の指定(画像記憶領域管理テーブルのポインタ)及びその領域先頭アド
レスを座標(0、0)とするオフセット座標(x、y)の指定により実メモリ中
のアドレスが算出される。メモリ転送量に関しても同様にドットサイズ(w、h
)を指定することにより、実メモリ上のバイトサイズに換算される。個々の画像
記憶領域間のデータ転送はこれらの値をレジスタにセットすることにより、BM
U(H5)にて高速に行うことができる。図5に画像記憶領域管理テーブルを示
す。
【0018】
制御部
図8はPMEM(H16)に格納される本画像処理システムの制御部について
の概要フロー図である。Step1は前述したパラメータの定義であり、図6に
示すパラメータセットに格納される。Step2は文字列スタートポジションの
決定であり、図形編集プログラムにてCRT38及びその画面上の任意点を指定
することができるポインティングデバイス61を用い、例えば以下のように決定
される。水平展開及び斜め展開の場合は展開開始点及び展開方向点の2点、円周
展開の場合は展開開始点及び所望する円周を決定するための2点を指定する。S
tep3は出力文字列の指定で例えば仮名漢字変換、コード入力などで出力に必
要な文字種の1回の入力で指定できる。Step4及びStep5は上記文字列
を定義されたパラメータセットに従い出力する部分である。
【0019】
図9は上記Step4における個々の文字の出力に関するフロー図である。S
tep5−1において指定されたデータを補助記憶装置等により読み込む。St
ep5−2、Step5−5、及びStep5−6はパラメータセットを構成す
るパラメータレコードの管理であり、図6で示すパラメータレコードを逐次解読
し処理するものである。Step5−4は読み込まれた原データに対し、図6で
示す個々のパラメータレコードに従って処理する部分である。具体的には前述画
像記憶領域相互間の対応するドットの決定、論理演算の選択及び出力領域への転
送を行う。
【0020】
図10にStep5−4における文字出力に関する詳細フロー図を示す。St
ep6−1においてパラメータレコードの解析をし、本制御部の内部メモリにそ
れらの値をセットする。Step6−2は座標変形処理であり、図9Step5
−1にて読み込んだ原データを前述のパラメータ定義における図7の<<f>>
、<<g>>、<<h>>及び<<i>>にて指定された変形に従って座標変換
を行う。Step6−3は出力エリアの決定であり、図8のStep2において
指定された展開ポジション及び出力サイズ、全ての変形パラメータより出力領域
(CRT表示領域、又はプリンタ出力領域)における出力エ
リアを決定する。
【0021】
中塗りパターンの指定に関しては先ず「なし」及び「あり」2種類に分類され
、夫々別々に処理される。中塗りパターンの指定が「なし」の場合、Step6
−4においてデータの輪郭線のみを発生させ、その展開先として画像記憶領域1
が選択される。中塗りパターンの指定が「あり」の場合、Step6−7におい
て文字データの輪郭内部を塗りつぶし、画像記憶領域1上にドットパターンとし
て展開する。
【0022】
シャドウ発生処理
Step6−5およびStep6−8はパラメータ<<j>>にてシャドウ指
定がされている場合のシャドウ発生処理である。シャドウ発生処理はBMU(H
5)の論理ファンクション[A+B]を用いて転送先座標値(x、y)を逐次ず
らしながら画像記憶領域2へ転送を繰り返すことにより行う。転送先座標値(x
、y)の計算はパラメータ<<b>>及び<<j>>より画像記憶領域上にて移
動させるドット数(sx、sy)を算出し、DDAアルゴリズム(対称デジタル
微分解析法)にもとずき、例えば0≦sx、0≦syの場合、0≦x≦sx及び
0≦y≦syなる転送先座標値(x、y)を逐次算出する。
【0023】
出力領域への転送
パラメータ<<l>〉による中塗りパターン指定が「なし」の場合、Step
6−6においてシャドウ指定の有無により画像記憶領域2または画像記憶領域1
に展開されているドットパターンをStep6−3にて決定した出力エリアへB
MUの論理ファンクション[A+B]を用いて転送する。中塗りパターン指定が
「黒」の場合、Step6−9においてシャドウ指定の有無により画像記憶領域
2または画像記憶領域1に格納されているドットパターンをStep6−3にて
決定した出力エリアへBMUの論理ファンクション[A+B]を用いて転送する
。中塗りパターン指定が「白」の場合、Step6−10においてシャドウ指定
の有無により画像記憶領域2または画像記憶領域1に格納されているド
ットパターンをStep6−3にて決定した出力エリアへBMUの論理ファンク
ション[AB]を用いて転送する。中塗りパターン指定が「ハッチング」の場合
は先ず、Step6−11において前述Step6−10と同様の処理をする(
予め出力エリア上の出力パターン部分を白抜きする)。その後Step6−12
においてシャドウ指定の有無により画像記憶領域2または画像記憶領域1に格納
されているドットパターンに対しBMUの論理ファンクション[AB]により指
定されたハッチングパターンマスクをかけ、さらにStep6−3にて決定した
出力エリアへBMUの論理ファンクション[A+B]を用いて転送する。
【0024】
処理概念図
図11に一例として上記Step6−8、Step6−11、Step6−1
2及びStep6−13について概念図を示す(パラメータとしてシャドウ「あ
り」及びハッチングパターンが指定された場合)。F−1はStep6−7にて
内部塗りつぶしされた画像記憶領域1上のドットパターンである。F−2はSt
ep6−8シャドウ処理にて転送先座標値を逐次変化させ転送を繰返した結果で
ある(F−2、F−3、F−4、F−5及びF−6は説明のためずらし間隔を大
きく示してあるが、実際にはメモリ上に存在する最小ドット単位で変化させるこ
とができる)。F−3はStep6−11によって予め出力エリア上の出力パタ
ーン部分を白抜きしたものである。その後、Step6−12により指定された
ハッチングパターンマスクF−4をかけF−5を得る。F−6はStep6−1
3にてF−5を出力エリアへ転送したものである。
【0025】
パラメータセットに存在する複数のパラメータレコードを解読し、同一ポジシ
ョンに異った変形指定の文字を重複出力する処理を図12に概念的に示す。一例
として出力領域上に既存するパターンを所望出力文字の輪郭部分に沿って縁取り
を施し、その後シャドウ文字を出力するものである。この場合には例えば図7パ
ラメータ定義<<e>>において「文字の重ね数=3」を指定し、1枚目:[太
め量=2%、シャドウ量=(x、y)、ハッチングパターン=「白」]、2枚目
:[太め量=1%、シャドウ量=(x、y)、ハッチングパターン=
「黒」]、3枚目:[太め量=0%、シャドウ=なし、ハッチングパターン=「
白」]とする。この定義によって1枚目の指定はパラメータレコード1へ、2枚
目の指定はパラメータレコード2へ、3枚目の指定はパラメータレコード3へセ
ットされる。F8−1に出力領域上に既に存在するパターンを示す。F8−2は
パラメータレコード1を解読し、出力した結果を示す。F8−3及びF8−4に
夫々パラメータレコード2及びパラメータレコード3を解読し、出力した結果を
示す。F8−4はパラメータ定義によってセットされた全パラメータレコードに
ついて1文字出力をした結果である。
【0026】
上記は一般的なシャドウ文字出力について説明したが、図7におけるパラメー
タ定義は変形指定(<<f>>、<<g>>、<<h>>及び<<i>>)、シ
ャドウ、アウトライン及び中塗りに関して独立に指定できるので、図12の例以
外にも様々な出力を得ることができる。またパラメータセットが有するパラメー
タレコードの数に関しては原理的に制限がない。
【0027】
以上、述べた様に原データより広範囲のサイズに拡大縮小、種々の変形及び種
々の展開方法にて座標変換されたデータに対し、多様な塗りつぶしパターンを選
ぶことができ、容易にシャドウ効果を得ることができる。
【0028】
以上、述べた様に文字の重複出力をすることにより文書作成や図形編集にデザ
イン的要素を与えることができる。更に、既に存在する画像メモリ上のいかなる
パターンとも組み合わせることもできる。更に、これらの効果は接続された高解
像度デジタルプリンタにより仕上りの美しい出力結果となる。そして、従来非常
に手間のかかっていた見出し文字の作成、チラシ公告、その他デザイン要素の強
い印刷部門に対しても従来以上の品質で高速に処理可能なシステムを提供できる
ものである。
【0029】
【発明の効果】
以上、詳述した様に、本発明により、塗りパターンに基づいて文字を修飾して
出力する際に、容易に塗りパターンを選択設定できる図形処理方法を提供するこ
とができる。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphic processing method for modifying a character based on a paint pattern and outputting the modified character. 2. Description of the Related Art Conventionally, with respect to character generation, a method of transferring a dot pattern stored in advance in an auxiliary storage device or a ROM (Read Only Memory) to a display unit or an output unit, or
Similarly, the stored outline data is read out, and after the coordinate transformation, the inside of the outline is displayed or output by simply painting the inside of the outline on an image memory or the like. The character is enlarged, reduced, transformed, and coordinated to various sizes. After being developed, it can be formed by filling, whitening, and various hatching (line shadows or regular patterns) patterns, etc. Was impossible to achieve. On the other hand, with respect to the generation of figures, conventionally, relatively simple figures such as polygons and circles are painted out, and are generated in a white area, a hatching pattern, etc., and the combination with character generation (overlapping, white area, etc.) is extremely small. It was limited to simple things. [0003] Therefore, when it is desired to express a particularly complicated effect, necessary characters or figures are created by photo processing or the like completely separately from document creation and figure editing by a computer, and are bonded to a desired hatching pattern film. Also, when a shadow effect is desired, it is extremely troublesome, for example, two figures or characters are formed by photographic processing or the like, stuck together at a required interval, and then corrected. (Purpose) An object of the present invention is to provide a graphic processing method which eliminates the above-mentioned drawbacks of the conventional example and which can easily select and set a paint pattern when modifying and outputting characters based on the paint pattern. It is in. Hereinafter, the present invention will be described in more detail with reference to the drawings. FIG. 1 is an external connection diagram of an image processing system (which can handle figures and characters) to which the present invention is applied. In addition,
The system need not be limited to this, and it goes without saying that the present invention can be applied to a single device or even if a part of the system is changed. Further, it is needless to say that the present invention can be applied to a case where the program can be achieved by supplying a program having these functions to a system or a device. In FIG. 1, reference numeral 31 denotes a control unit (referred to as a workstation) having a microcomputer for system control, an internal memory including a RAM, a ROM, and the like, and an external memory including a floppy disk or a cartridge disk. It is. Reference numeral 32 denotes an input unit of the digital copying machine, which is a document reader for converting document information of a document placed on a document table into an electric signal by an image pickup device such as a CCD, and 33, an output unit of the digital copying machine, such as a laser beam printer. This is a high-speed printer that records an image on a recording material based on information converted into an electric signal. Reference numeral 34 denotes an image file having a recording medium such as an optical disk or a magneto-optical disk and capable of writing and reading a large amount of image information. A microfilm file 35 includes a microfilm search unit and a microfilm reader unit that converts image information on the searched microfilm into an electric signal by an imaging device. 3
Reference numeral 7 denotes a printer device such as a laser beam printer similar to the printer 33, which is smaller and slower than the printer 33, and is installed as necessary. Reference numeral 38 denotes a CRT device which displays image information or system control information photoelectrically read by a digital copier and a microfilm input scanner (reader).
This is a display unit that performs image processing. Reference numeral 39 denotes a switching device for switching the connection between the input devices by a signal from the control unit 31. 40 to 48 are cables for electrically connecting the input devices. Reference numeral 50 denotes a keyboard provided in the control unit 31. By operating the keyboard 50, a system operation command is issued. Reference numeral 61 denotes a pointing device for instructing processing of image information on the CRT 38. The cursor 61 on the CRT 38 is arbitrarily moved in the X and Y directions to select a command image on a command menu and give the instruction. Reference numeral 51 denotes an operation panel for issuing an operation command for the digital copying machine, and includes a setting key for setting the number of copies and a copy magnification, a copy key 55 for instructing the start of copying, a numerical display, and the like. Reference numeral 52 denotes a mode changeover switch which determines whether the initiative to start the digital copier is to be made to the copier or the control unit. Reference numerals 53 and 54 denote light emitting diodes (LEDs) which indicate the mode selection state of the mode changeover switch 52. Display. FIG. 2 is a block diagram of the image editing apparatus. In the present application, image editing is also referred to as document editing. The same parts as those in FIG. 1 are denoted by the same reference numerals. H4 is VR
Data to be displayed on the display unit 38 by AM is developed on a bitmap. For example, in the case of character data, a character character corresponding to the code is developed on the VRAM, and a cursor can be directly generated and displayed on a display area of the VRAM by software control. [0007] H7, H8, and H9 are data file disks, for example, H8 is a hard disk (HD), and H7 is a 5-inch floppy disk (FD). [0008] BMU H5 is a BMU (Bit Manipulation Unit), and is a video RAM H4.
, A main memory, a device such as a disk (H7, H8, H9), and a DMAC (Direct
t Memory Access Control), and the following 16 types of logical operations are possible as a function function. The data transfer source is A (source side), and the data transfer destination is B (destination
Side), for example, A (reverse), AB, A + B, Logical 1 (black out), A + B, B, A + B, A + B, AB, A + B, B, A + B, Log
ical 0 (clear), AB, AB, A, etc. MPU Next, H6 is an MPU (Micro Processor Unit) unit.
The MPU unit has an HD / FD-IF (interface) and controls access to the disks H7, H8, and H9 and PMEM and IMEM described later. Printer and Reader H10 and H13 in FIG. 2 are printers having different pixel densities, respectively.
Is a reader for reading an original. H11 and H14 are printers H10, respectively.
, The printer H13 and the reader H12. PMEM, IMEMs H15 and H16 are program memories (PMEM), and select and execute a program for editing processing from the hard disk H8 as appropriate. Also, the keyboard 50
Is stored as code information in a main memory which is also a text memory. The data stored in the main memory, the data stored in the disk, and the data read from the reader can be developed as bit data in the image memory IMEM, and the same applies to the data stored in the PMEM. However, the DMAC is possible through the aforementioned BMU. FIG. 3 shows a simple memory map in PMEM, H15 or H16. Next, an embodiment using a system having the above configuration will be described in detail step by step. The present embodiment relates to the processing of graphics representing characters and the like. First, a parameter definition prepared in advance will be described. FIG. 6 shows a parameter set included in the image processing system, which is specified on the parameter definition screen shown in FIG. 7 in the graphic editing program. Type of Parameter << a >> in FIG. 7 is a type designation parameter, which designates the type of data (hereinafter referred to as original data) stored in advance in an auxiliary storage device or the like. Note that the original data in the present embodiment is a system having feature points or sample points on the graphic contour as coordinate values. << b >> is a parameter for designating a standard output size of a character. The output size can be expanded or reduced to any size in principle. <<< c >>> designates a development method, and relates to a method for determining a character string output direction. Horizontal expansion, diagonal expansion, circumferential expansion, and the like can be designated as examples of the expansion method. <<<<>> is a rotation angle, and the rotation angle of each character can be designated in any expansion method in <<<<>>.<<<<>> designates duplicate output, and designates the number of times of duplicate output in accordance with the parameter set designated at the output position of each character determined in the calculation process of Step 2 in FIG. For << f >>, << g >>, << h >>, and << i >>, a coordinate transformation for transforming original data stored in advance in an auxiliary storage device or the like is designated. The presence / absence and the amount of deformation are specified for the long flat body, mirror image inversion, italic (slanted), and thickening of the contour, respectively. For << j >>, the presence / absence of a shadow effect and the shadow amount for the data deformed in the above << f >>, << g >>, << h >>, and << i >> are designated. . Regarding << k >>, the presence / absence of the outline of the transformed data and the thickness thereof are designated. <<< l >>> designates a pattern that forms the inside of the outline of a figure to be output, and can specify no pattern, white background, black background, and various other types of hatching. Parameter Set As shown in FIG. 6, this parameter set can have a number of records designated by << e >> in a series of parameters described above. This parameter set is stored in a shared area on the PMEM (H16) and is referred to by the control unit of the image processing system. Image Storage Area The present invention is characterized by having a plurality of storage means capable of storing graphic information as a dot pattern. FIG. 4 shows an embodiment in which, for example, an internal storage area (image storage area 1 and image storage area 2) is secured in IMEM, and an output area is secured in VRAM (CRT display area) and IMEM (printer output area). The internal storage area can be dynamically managed by the control unit of the image processing system as follows. The image storage area 1 and the image storage area 2 have the same size, and the size is determined by the type of the output area and the output size. The size in the horizontal and vertical directions is set for each area on the image storage area management table, and the control unit specifies the area (pointer of the image storage area management table) and coordinates the area start address. The address in the real memory is calculated by designating the offset coordinates (x, y) to be (0, 0). Similarly, regarding the memory transfer amount, the dot size (w, h
) Is converted to the byte size in the real memory. The data transfer between the individual image storage areas is performed by setting these values in the registers.
U (H5) can be performed at high speed. FIG. 5 shows an image storage area management table. Control Unit FIG. 8 is a schematic flowchart of the control unit of the image processing system stored in the PMEM (H16). Step 1 is the definition of the above-described parameter, and is stored in the parameter set shown in FIG. Step 2 is the determination of the character string start position, which is determined as follows, for example, by using the CRT 38 and the pointing device 61 capable of designating an arbitrary point on the screen of the graphic editing program. In the case of horizontal development and diagonal development, two points, ie, a development start point and a development direction point, are specified. In the case of circumferential development, two points for determining the development start point and a desired circumference are designated. S
Step 3 is a designation of an output character string, which can be designated by a single input of a character type required for output in, for example, kana-kanji conversion or code input. Step 4 and Step 5 are portions for outputting the character string according to a defined parameter set. FIG. 9 is a flowchart relating to the output of individual characters in Step 4 described above. S
The data specified in step 5-1 is read by an auxiliary storage device or the like. St
Ep5-2, Step5-5, and Step5-6 are management of parameter records constituting a parameter set, and sequentially decode and process the parameter records shown in FIG. Step 5-4 is for processing the read original data in accordance with the individual parameter records shown in FIG. Specifically, determination of the corresponding dots between the image storage areas, selection of a logical operation, and transfer to the output area are performed. FIG. 10 shows a detailed flow chart relating to character output in Step 5-4. St
At ep6-1, the parameter records are analyzed, and their values are set in the internal memory of the control unit. Step 6-2 is a coordinate transformation process, and FIG.
-1 in the above-described parameter definition in FIG.
, << g >>, << h >>, and << i >>, perform coordinate transformation. In Step 6-3, the output area is determined. The output area in the output area (CRT display area or printer output area) is determined from the developed position and output size specified in Step 2 of FIG. 8 and all the deformation parameters. The designation of an intermediate coating pattern is first classified into two types, “absent” and “present”, and each is separately processed. When the specification of the middle coat pattern is “none”, Step 6
-4, only the outline of the data is generated, and the image storage area 1
Is selected. If the designation of the middle coat pattern is “Yes”, the inside of the outline of the character data is painted out in Step 6-7 and developed as a dot pattern on the image storage area 1. Shadow generation processing Step 6-5 and Step 6-8 are shadow generation processing when a shadow is specified by the parameter << j >>. Shadow generation processing is performed by BMU (H
This is performed by repeating the transfer to the image storage area 2 while sequentially shifting the transfer destination coordinate values (x, y) using the logical function [A + B] of 5). Transfer destination coordinate value (x
, Y) is calculated by calculating the number of dots (sx, sy) to be moved on the image storage area from the parameters << b >> and << j >>, based on the DDA algorithm (symmetric digital differential analysis). For example, when 0 ≦ sx and 0 ≦ sy, the transfer destination coordinate values (x, y) satisfying 0 ≦ x ≦ sx and 0 ≦ y ≦ sy are sequentially calculated. Transfer to Output Area When the middle coat pattern designation by parameter <<l> is “none”, Step
In 6-6, the image storage area 2 or the image storage area 1 depends on whether or not the shadow is designated.
B to the output area determined in Step 6-3
The transfer is performed using the MU logic function [A + B]. If the intermediate paint pattern designation is “black”, the dot pattern stored in the image storage area 2 or the image storage area 1 is output to the output area determined in Step 6-3 according to the presence or absence of the shadow designation in Step 6-9. Transfer using function [A + B]. If the middle coat pattern designation is "white", the dot pattern stored in the image storage area 2 or the image storage area 1 is determined by the presence or absence of the shadow designation in Step 6-10 to the output area determined in Step 6-3. Transfer using the function [AB]. If the middle coat pattern designation is "hatching", first, in Step 6-11, the same processing as in Step 6-10 is performed (
The output pattern portion on the output area is previously blanked out). Then Step 6-12
, A hatching pattern mask specified by the logical function [AB] of the BMU is applied to the dot pattern stored in the image storage area 2 or the image storage area 1 depending on the presence or absence of the shadow specification, and the output determined in Step 6-3 The data is transferred to the area using the logical function [A + B] of the BMU. FIG. 11 shows an example of the above-described Step 6-8, Step 6-11, and Step 6-1.
2 and a conceptual diagram of Step 6-13 (in the case where a shadow “present” and a hatching pattern are designated as parameters). F-1 is a dot pattern on the image storage area 1 which is internally filled in Step 6-7. F-2 is St
This is the result of repeating the transfer while sequentially changing the transfer destination coordinate value in the ep6-8 shadow processing (the shift intervals of F-2, F-3, F-4, F-5, and F-6 are increased for explanation. Although it is shown, it can actually be changed in units of the minimum dot existing in the memory). F-3 is obtained by whitening out the output pattern portion on the output area in advance by Step 6-11. Thereafter, a hatching pattern mask F-4 designated by Step 6-12 is applied to obtain F-5. F-6 is Step 6-1
In step 3, F-5 is transferred to the output area. FIG. 12 conceptually shows a process of decoding a plurality of parameter records existing in a parameter set and redundantly outputting differently designated characters at the same position. As an example, a pattern existing on an output area is bordered along a contour portion of a desired output character, and then a shadow character is output. In this case, for example, “the number of overlapping characters = 3” is specified in the parameter definition << e >> in FIG. 7, and the first sheet: [thickening amount = 2%, shadow amount = (x, y), hatching pattern = "White"], 2nd sheet: [Thick amount = 1%, shadow amount = (x, y), hatching pattern = "black"], 3rd sheet: [Thick amount = 0%, Shadow = none, hatching pattern] = "
White ”]. According to this definition, the first sheet is set to parameter record 1, the second sheet is set to parameter record 2, and the third sheet is set to parameter record 3. F8-1 shows a pattern already existing on the output area. F8-2 shows the result of decoding and outputting the parameter record 1. F8-3 and F8-4 show the results of decoding and outputting parameter record 2 and parameter record 3, respectively. F8-4 is the result of outputting one character for all parameter records set by the parameter definition. Although the above description has been given of a general shadow character output, the parameter definition in FIG. 7 is modified (<< f >>, << g >>, << h >> and << i >>), Since the shadow, outline, and intermediate paint can be specified independently, various outputs other than the example of FIG. 12 can be obtained. In addition, the number of parameter records included in the parameter set is not limited in principle. As described above, various fill patterns can be selected for data that has been subjected to coordinate transformation by a wide range of sizes, various deformations, and various expansion methods from the original data, and shadows can be easily selected. The effect can be obtained. As described above, by outputting characters redundantly, design elements can be given to document creation and figure editing. Furthermore, it can be combined with any existing pattern on the image memory. In addition, these effects result in beautifully finished output results with the connected high resolution digital printer. Further, it is possible to provide a system capable of processing with higher quality and higher speed than ever before, even for a printing department having a strong design element, such as a headline character creation, a leaflet notice, and other design elements which were very troublesome. As described in detail above, according to the present invention, a graphic processing method capable of easily selecting and setting a paint pattern when modifying and outputting a character based on the paint pattern is provided. Can be.
【図面の簡単な説明】 【図1】 システム概観接続図である。 【図2】 ブロック図である。 【図3】 メモリマップ図である。 【図4】 メモリマップ図(VRAM、IMEM)である。 【図5】 画像記憶領域管理テーブルを示す図である。 【図6】 パラメータセットの説明図である。 【図7】 パラメータ定義画面の説明図である。 【図8】 概要フロー図である。 【図9】 詳細フロー図である。 【図10】 詳細フロー図である。 【図11】 概念図である。 【図12】 概念図である。 【符号の説明】 31 システム制御部 38 CRT H4 VRAM H5 BMU H6 MPU H7、H8 ディスク H15、H16 PMEM H17、H18 IMEM[Brief description of the drawings] FIG. It is a system outline connection diagram. FIG. 2 It is a block diagram. FIG. 3 It is a memory map figure. FIG. 4 It is a memory map figure (VRAM, IMEM). FIG. 5 FIG. 4 is a diagram illustrating an image storage area management table. FIG. 6 FIG. 4 is an explanatory diagram of a parameter set. FIG. 7 It is an explanatory view of a parameter definition screen. FIG. 8 It is a general | schematic flowchart. FIG. 9 It is a detailed flowchart. FIG. 10 It is a detailed flowchart. FIG. 11 It is a conceptual diagram. FIG. It is a conceptual diagram. [Explanation of symbols] 31 System control unit 38 CRT H4 VRAM H5 BMU H6 MPU H7, H8 disc H15, H16 PMEM H17, H18 IMEM
Claims (1)
ーンの一覧と共に、前記複数の塗りパターンの一覧から選択設定された塗りパタ
ーンを前記複数の塗りパターンの一覧上において識別可能な設定画面を表示する
ステップと、前記設定画面を用いて選択設定された塗りパターンに基づいて文字
を修飾して出力するステップとを有することを特徴とする図形処理方法。Claims: 1. A list of a plurality of paint patterns including hatching and white outline applied to a character, and a paint pattern selected and set from the list of the plurality of paint patterns. Graphic processing, comprising the steps of: displaying a setting screen that can be identified on a list of painting patterns; and modifying and outputting characters based on the painting pattern selected and set using the setting screen. Method.
Family
ID=
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6078936A (en) | Presenting an image on a display as it would be presented by another image output device or on printing circuitry | |
JP3194352B2 (en) | How to reproduce a composite image | |
US5086497A (en) | Image output command method for image processing system | |
JPS6282472A (en) | Picture processing system | |
US6611632B1 (en) | Device and method for interpolating image data and medium on which image data interpolating program is recorded | |
JP2580441B2 (en) | Figure processing method | |
JP2575267B2 (en) | Character processor | |
JP2580441C (en) | ||
US5771104A (en) | Image processing apparatus having function of magnification changing image data | |
JP2567185B2 (en) | Figure processing method | |
JPH10191090A (en) | Apparatus and method for manufacturing color conversion table, and recording medium | |
JP4143613B2 (en) | Drawing method and drawing apparatus | |
JPH05210715A (en) | Graphic processing method | |
JP2771563B2 (en) | Image layout device | |
JP2000076432A (en) | Image data interpolation device and method therefor, and medium having recorded image data interpolation program thereon | |
GB2220331A (en) | Image processing | |
JP3060569B2 (en) | Printing equipment | |
JP3741183B2 (en) | Image data interpolation apparatus, image data interpolation method, and medium on which image data interpolation program is recorded | |
JPH11296670A (en) | Image data interpolation device, its method, and medium for recording image data interpolation program | |
EP0418868B1 (en) | Image processing system | |
JP3592921B2 (en) | Data controller | |
JP3560124B2 (en) | Image data interpolation device, image data interpolation method, and medium recording image data interpolation program | |
JPH06100907B2 (en) | Character processor | |
JPH06202306A (en) | Image recorder for plate making | |
JPH09127928A (en) | Character output device |