JPH0787302A - Document processor - Google Patents

Document processor

Info

Publication number
JPH0787302A
JPH0787302A JP5252115A JP25211593A JPH0787302A JP H0787302 A JPH0787302 A JP H0787302A JP 5252115 A JP5252115 A JP 5252115A JP 25211593 A JP25211593 A JP 25211593A JP H0787302 A JPH0787302 A JP H0787302A
Authority
JP
Japan
Prior art keywords
gradation
image
document
area
color
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
JP5252115A
Other languages
Japanese (ja)
Inventor
Yasuhiko Nomura
恭彦 野村
Masakazu Fujimoto
正和 藤本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5252115A priority Critical patent/JPH0787302A/en
Publication of JPH0787302A publication Critical patent/JPH0787302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Color Image Communication Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

PURPOSE:To produce the document of high quality that undergone the desired gradation processing by selection the existing documents written on the paper, etc., based on a position instruction and a display message. CONSTITUTION:A gradation vector instructing means 12 sends a subject area pointed by a user for gradation and the direction information on the subject area to a subject area circumscribed rectangule means 13 and extracts a circumscribed rectangle area out of a document screen in regard of the original document image held by a document image holding means 11. Meanwhile, a gradation contents instructing means 14 sends the information on the colors of both reference start and end points, the number of gradation stages, the patterns, etc., pointed by the user to a gradation image generating means 15. Then the means 14 applies the gradation processing to the circumscribed rectangle area of the subject area based on those information. A subject area segmenting means 16 segments the subject area part out of a generated radiation image. An output image generating means 17 synthesizes the gradation image with the document image sent from the means 11. This synthetic image is visualized by a visualizing means 18.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、利用者の簡単な指示を
受けて文書の任意の領域に所望のグラデーションを施し
出力する機能を有する文書処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus having a function of receiving a simple instruction from a user and applying a desired gradation to an arbitrary area of a document and outputting the gradation.

【0002】[0002]

【従来の技術】従来、紙の文書を読みとり、それを加工
して出力するという機能に対応する機器としては複写機
がある。複写機の基本機能はあくまでも原稿を忠実に再
現した文書を出力することにあるが、デジタル複写機の
普及とともに、例えば特開平2−223275号公報に
開示されている複写機のように文書の加工機能を持つも
のも現れるようになってきた。特に、近年のカラー複写
機の普及とともに、このような文書の色を変換したり白
黒文書に色をつけたりする機会が多くなってきている。
2. Description of the Related Art Conventionally, there is a copying machine as a device corresponding to the function of reading a paper document, processing it, and outputting it. The basic function of the copying machine is to output a document that faithfully reproduces the original, but with the spread of the digital copying machine, for example, the processing of a document like the copying machine disclosed in JP-A-2-223275. Some have functions as well. In particular, with the spread of color copying machines in recent years, there are increasing opportunities to convert the colors of such documents and to color black and white documents.

【0003】複写機上での色づけ指示方法には、編集パ
ッド上に原稿を置いて編集ペンで指示する方法と、マー
カペンを用いる方法がある。領域の指示は、閉領域内に
プロットを行うことによって閉領域を指定する、または
自由曲線を描きその内側を塗るよう指定するなどにより
達成される。閉領域塗りつぶしや閉領域中抜き等に関し
ては、例えば特開平3−189878号公報に開示され
ている技術により、塗りつぶしを行うことができる。
Coloring instruction methods on a copying machine include a method of placing an original on an editing pad and instructing with an editing pen, and a method of using a marker pen. The designation of the area is achieved by designating the closed area by plotting in the closed area, or by drawing a free-form curve and painting the inside thereof. With respect to the closed area filling, the closed area blanking, and the like, the filling can be performed, for example, by the technique disclosed in Japanese Patent Laid-Open No. 3-189878.

【0004】[0004]

【発明が解決しようとする課題】しかし、従来の複写機
の色づけ機能では、基本的には同一領域内は一つの色で
しか塗りつぶすことができなかった。どうしても塗り分
けを行いたい場合は、領域を細線で区切って各々を塗り
分ける、または領域内に自由曲線内塗りつぶしを並べて
行うなど、次善の策を講じる必要があった。特に、グラ
デーションをかけるような場合は、異なる色の間に細線
が入れるわけにもいかず、自由曲線で順に濃度を変えて
塗っていくにはあまりに手間がかかってしまい、容易に
行うことができなかった。さらに、濃度を変えての塗り
分けの手間を惜しまなかったとしても、同一系統色のグ
ラデーションであれば手作業で各色を指定することは可
能であるが、黄色から順に青に変わっていくグラデーシ
ョンなどを指示することは非常に困難であった。
However, according to the coloring function of the conventional copying machine, basically, the same area can be filled with only one color. If you want to paint by all means, you have to take the next best measure, such as dividing the areas with thin lines and painting each one separately, or lining up the free-curved lines in the areas. In particular, when applying gradation, it is not possible to insert a thin line between different colors, and it takes too much time to change the density in order with a free curve, which is not easy to do. It was Furthermore, even if you do not have to spare the trouble of separately painting by changing the density, it is possible to manually specify each color if it is a gradation of the same system color, but a gradation that gradually changes from yellow to blue etc. Was very difficult to tell.

【0005】本発明は、以上のような事情に考慮してな
されたものであり、その目的とするところは、文書処理
装置において、紙面上の任意の閉領域に、容易な操作に
よって様々なパターンのグラデーションを施す機能を提
供することである。
The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide various patterns in an arbitrary closed area on a paper surface by an easy operation in a document processing apparatus. It is to provide the function to apply the gradation of.

【0006】[0006]

【課題を解決するための手段】本発明(請求項1)は、
デジタル画像として入力された原稿文書を保持するため
の文書画像保持手段11(図2の211、図10の10
11、図15の1511、図17の1711)と、原稿
文書に対して、グラデーションをかける領域とグラデー
ションの方向を指示するグラデーションベクトル指示手
段12(図2の22、図10の102、図15の15
2、図17の172)と、前記グラデーションベクトル
指示手段による指示に応じて、前記文書画像保持手段に
保持されている文書画像から対象領域に外接する矩形を
抽出する対象領域外接矩形抽出手段13(図2の23、
図10の103、図15の153、図17の173)
と、グラデーションの内容(基準となる始点・終点の色
や、グラデーションの段階数、グラデーションパターン
など)を指示するするグラデーション内容指示手段14
(図2の24、図10の104,109、図15の15
4,159、図17の174)と、前記グラデーション
内容指示手段によって指示されたグラデーション内容情
報に従って、前記対象領域外接矩形抽出手段によって抽
出された領域画像を加工してグラデーション画像を生成
するグラデーション画像生成手段15(図2の25、図
10の105、図15の155、図17の175)と、
そのグラデーション画像生成手段によって生成された画
像から、必要な対象領域のみを切り出す対象領域切り出
し手段16(図2の26、図10の106、図15の1
56、図17の176)と、その対象領域切り出し手段
により切り出されたグラデーション画像と、前記文書画
像保持手段により保持された文書画像を合成し、出力画
像を生成する出力画像生成手段17(図2の27、図1
0の107、図15の157、図17の177)と、そ
の出力画像生成手段が生成した文書画像を可視化メディ
ア上に可視化する可視化手段18(図2の28、図10
の108、図15の158、図17の178)と、を備
えた文書処理装置である。
The present invention (Claim 1) includes:
A document image holding unit 11 (211 in FIG. 2, 10 in FIG. 10) for holding the original document input as a digital image.
11, 1511 in FIG. 15, 1711 in FIG. 17, and a gradation vector designating means 12 (22 in FIG. 2, 102 in FIG. 10, and FIG. 15 in FIG. 2) for designating an area to be gradation and a gradation direction for the original document. 15
2, 172 in FIG. 17) and a target area circumscribing rectangle extracting means 13 (for extracting a rectangle circumscribing the target area from the document image held in the document image holding means in accordance with the instruction from the gradation vector instruction means). 23 in FIG.
(103 in FIG. 10, 153 in FIG. 15, 173 in FIG. 17)
And a gradation content instructing means 14 for instructing the content of the gradation (color of starting and ending points as a reference, number of gradation steps, gradation pattern, etc.)
(24 in FIG. 2, 104 and 109 in FIG. 10, 15 in FIG. 15)
4, 159, and 174 in FIG. 17) and the gradation content information instructed by the gradation content instructing means, a gradation image is generated by processing the area image extracted by the target area circumscribing rectangle extracting means to generate a gradation image. Means 15 (25 in FIG. 2, 105 in FIG. 10, 155 in FIG. 15, 175 in FIG. 17);
Target area cutout means 16 (26 in FIG. 2, 106 in FIG. 10, 1 in FIG. 15) that cuts out only the necessary target area from the image generated by the gradation image generating means.
56, 176 in FIG. 17, the gradation image cut out by the target area cutout unit, and the document image held by the document image holding unit are combined to generate an output image. 27, FIG. 1
0 of 107, 157 of FIG. 15, 177 of FIG. 17) and visualization means 18 (28 of FIG. 2, FIG. 10) for visualizing the document image generated by the output image generation means on the visualization medium.
108, 158 in FIG. 15, and 178 in FIG. 17).

【0007】なお、上記発明の構成において、グラデー
ションベクトル指示手段は、具体的な態様としては、グ
ラデーションをかける領域と方向を利用者の指示により
入力する処理を行うグラデーションベクトル指示入力モ
ジュール22,102,152や、原稿上にプロットさ
れたマーカ色を読み取り、グラデーションをかける領域
とその方向を指示するグラデーションベクトル抽出モジ
ュール172として実現できる。また、グラデーション
内容指示手段は、次のような具体的態様として実現でき
る。 (1) 各々のグラデーション領域に対して、始点の色
と終点の色、そして領域数を利用者の指示により決定す
る処理を行うグラデーションパラメータ指示入力モジュ
ール(第1実施例の24) (2) そのようなグラデーションパラメータ指示入力
モジュールに加えて、グラデーションの各段階の間隔を
いくつかのパターンから選択することによってグラデー
ション間隔を決める、またはグラデーションの間隔や色
変化の割合を絶対指示するグラデーションパターン指示
入力モジュール(第2実施例の104,109)、 (3) 前記グラデーションパラメータ指示入力モジュ
ールに加えて、グラデーションの各領域に割当てる色の
明度を計算することにより、その領域の明るさにあった
領域幅の決定を行うグラデーション間隔決定手段。
In the above-mentioned configuration of the invention, the gradation vector designating means, as a specific embodiment, is a gradation vector designating input module 22, 102 for performing processing for inputting a region and a direction to which a gradation is applied according to a user's designation. 152 or a gradation vector extraction module 172 that reads a marker color plotted on a document and indicates a gradation area and its direction. Further, the gradation content instruction means can be realized in the following specific modes. (1) Gradation parameter instruction input module (24 of the first embodiment) that performs processing for determining the color of the start point, the color of the end point, and the number of areas for each gradation area according to the user's instruction (2) In addition to such a gradation parameter instruction input module, a gradation pattern instruction input module that determines the gradation interval by selecting the interval of each gradation step from several patterns, or that absolutely indicates the gradation interval and the rate of color change (104, 109 of the second embodiment) (3) In addition to the gradation parameter instruction input module, by calculating the lightness of the color assigned to each area of the gradation, the area width suitable for the brightness of that area can be calculated. A means for determining the gradation interval for making the determination.

【0008】[0008]

【作用】文書画像保持手段11に保持された原稿文書画
像に対して、グラデーションベクトル指示手段12は利
用者の指示したグラデーションをかける対象領域とその
方向を示す情報を対象領域外接矩形手段13に渡し、対
象領域外接矩形抽出手段13はその対象領域に外接する
矩形領域を文書画像から抽出する。また、グラデーショ
ン内容指示手段14は利用者の指示したグラデーション
の内容、即ち、基準となる始点・終点の色や、グラデー
ションの段階数、グラデーションパターンなどの情報を
グラデーション画像生成手段15に受け渡す。グラデー
ション画像生成手段15は対象領域の外接矩形領域に対
して、指定されたグラデーション内容に従ってグラデー
ションの処理を施す。生成されたグラデーション画像は
対象領域切り出し手段16により対象領域部分が切り出
され、文書画像と合成され、可視化手段により可視化さ
れる。本発明によれば利用者は、紙等に書かれた既存の
文書に対し、位置の指示と表示メッセージに従った選択
を行うといった簡単な操作を行うだけで、容易に自分の
意図にあったグラデーションを施した高品質文書を作成
することができる。
With respect to the original document image held in the document image holding means 11, the gradation vector designating means 12 passes the information indicating the target area to be gradation-designated by the user and the direction thereof to the target area circumscribing rectangular means 13. The target area circumscribed rectangle extraction means 13 extracts a rectangular area circumscribing the target area from the document image. Further, the gradation content instructing means 14 transfers to the gradation image generating means 15 the content of the gradation instructed by the user, that is, the information such as the reference starting and ending colors, the number of gradation steps, and the gradation pattern. The gradation image generation means 15 performs gradation processing on the circumscribed rectangular area of the target area according to the specified gradation content. The target area portion of the generated gradation image is cut out by the target area cutout unit 16, is combined with the document image, and is visualized by the visualization unit. According to the present invention, the user can easily carry out his or her intention by performing a simple operation such as a position instruction and a selection according to a display message on an existing document written on paper or the like. High quality documents with gradation can be created.

【0009】[0009]

【実施例】(第1の実施例) 〈第1の実施例の構成の説明〉図1は、第1の実施例の
文書処理装置のブロック図を示すものである。この文書
処理装置は、原稿画像入力モジュール21、グラデーシ
ョンベクトル指示入力モジュール22、対象領域外接矩
形抽出モジュール23、グラデーションパラメータ指示
入力モジュール24、グラデーション画像生成モジュー
ル25、対象領域切り出しモジュール26、出力画像生
成モジュール27、および可視化手段であるプリントア
ウトモジュール28を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) <Description of Configuration of First Embodiment> FIG. 1 is a block diagram of a document processing apparatus according to the first embodiment. The document processing apparatus includes a document image input module 21, a gradation vector instruction input module 22, a target area circumscribing rectangle extraction module 23, a gradation parameter instruction input module 24, a gradation image generation module 25, a target area cutout module 26, and an output image generation module. 27 and a printout module 28 which is a visualization means.

【0010】原稿画像入力モジュール21は、イメージ
スキャナ等の原稿文書をデジタル画像として入力する手
段であり、取り込みを行った二値のデジタル画像を保持
するため入力画像メモリ211を有する。
The original image input module 21 is a means for inputting an original document such as an image scanner as a digital image, and has an input image memory 211 for holding a binary digital image that has been taken in.

【0011】グラデーションベクトル指示入力モジュー
ル22は、グラデーションをかける領域と方向を指示す
る処理である。原稿を編集パッド上に置き、編集指示ペ
ンで領域内の2点をポイントする方法、もしくは入力画
像メモリ上に保持された文書画像を液晶ディスプレイ等
に表示し、電子ペン等のポインティングデバイスにより
指示を行う方法などにより実現される。図3に示したよ
うに、最初にプロットした点をA点、もう一つをB点と
すると、ベクトルの指示は、2点を順にプロットする方
法以外にも、実線を引くことによって行う方法もある。
実線を引いた場合は引き出した点がA点、引き終わった
点がB点と判断される。
The gradation vector instruction input module 22 is a processing for instructing the area and direction to which the gradation is applied. Place the manuscript on the editing pad and point the two points in the area with the editing instruction pen, or display the document image held in the input image memory on the liquid crystal display etc. and give an instruction with a pointing device such as an electronic pen. It is realized by the method of performing. As shown in FIG. 3, assuming that the first plotted point is the A point and the other is the B point, the vector can be specified by drawing a solid line in addition to the method of plotting the two points in order. is there.
When a solid line is drawn, it is determined that the drawn point is the A point and the drawn point is the B point.

【0012】対象領域外接矩形抽出モジュール23は、
指定された閉領域を囲む最小の矩形を抽出する処理であ
る。まず、対象領域の外郭線座標を例えば特開平3−1
89878号公報に開示されている技術により抽出し、
入力画像メモリとは別のワークメモリに保持する。そし
て、画像の主走査方向・副走査方向に平行な辺を持ち、
対象となる指定点を含む閉領域を囲む最小矩形を探す。
これは、例えば特開昭64−15889号公報あるいは
特公昭61−32712号公報に示されている領域分割
処理技術により達成される。この処理を行う前に傾き補
正等の前処理を行ってもよいことは言うまでもない。
The target area circumscribed rectangle extraction module 23 is
This is a process of extracting the smallest rectangle that surrounds the specified closed region. First, the outline coordinates of the target area are calculated, for example, in Japanese Patent Laid-Open No. 3-1
Extracted by the technique disclosed in Japanese Patent No. 89878,
It is held in a work memory different from the input image memory. And, having a side parallel to the main scanning direction and the sub-scanning direction of the image,
Find the smallest rectangle that encloses the closed region that contains the specified point of interest.
This is achieved by the area division processing technique disclosed in, for example, Japanese Patent Laid-Open No. 64-15889 or Japanese Patent Publication No. 61-32712. It goes without saying that preprocessing such as inclination correction may be performed before this processing.

【0013】グラデーションパラメータ指示入力モジュ
ール24は、各々のグラデーション領域に対して、始点
の色と終点の色、そして領域数を指示する処理である。
例えば、図4に示したように、色指定は始点と終点を順
にカラーパレットで選択し、それをマゼンダ・シアン・
イエローの各色ごとに上下ボタンで微調整する。カラー
パレットを選択せずに最初から上下ボタンで決定して
も、もちろん構わない。この他にも、プラテン上で色を
読み込ませることによっても、色の指定を行うことがで
きる。領域数も同様に上下ボタンで指示する。始点の色
は、外接矩形を領域数で均等分した時のA点側の端の領
域の色となり、終点の色は、B点側の端の領域色とな
る。グラデーション方向には、自由方向ベクトル指定と
水平方向ベクトル指定の2通りが用意されている。自由
方向ベクトル指定を行うと、指定したベクトル方向に鉛
直にグラデーションがかかり、水平方向ベクトル指定を
行うと、グラデーションは必ず主走査方向もしくは副走
査方向に平行にかかる。自由方向ベクトルと水平方向ベ
クトルの指示は、各々のグラデーション領域について、
図4に示すような液晶ディスプレイ等に表示したボタン
等により行う。
The gradation parameter instruction input module 24 is a processing for instructing the color of the start point, the color of the end point, and the number of areas for each gradation area.
For example, as shown in FIG. 4, in order to specify a color, the start point and the end point are sequentially selected in the color palette, and the selected color is magenta, cyan, or
Make fine adjustments with the up and down buttons for each color of yellow. Of course, it does not matter if you select the color palette from the beginning without selecting the color palette. In addition to this, the color can be specified by reading the color on the platen. Similarly, the number of areas is designated by the up / down buttons. The color of the start point is the color of the end area on the A point side when the circumscribing rectangle is evenly divided by the number of areas, and the color of the end point is the area color on the end point B side. There are two types of gradation directions, free direction vector designation and horizontal direction vector designation. When the free direction vector is specified, gradation is applied vertically in the specified vector direction, and when the horizontal direction vector is specified, the gradation is always applied in parallel to the main scanning direction or the sub scanning direction. The directions of the free direction vector and the horizontal direction vector are as follows for each gradation area.
This is performed by using buttons displayed on a liquid crystal display as shown in FIG.

【0014】グラデーション画像生成モジュール25
は、グラデーションパラメータ指示入力モジュール24
によって指示された始点と終点の色と領域数にあわせ
て、各領域の色のYMC値を決定し、外接矩形内にグラ
デーション画像を生成する処理を行う。但し、YMC値
とは、インクやコピーのトナーの色を決定する3原色
で、イエロー、マゼンダ、シアンの各色の値を0〜10
0%で表したものである。図5に色を当てはめた例を示
す。始点と終点の色が決まれば、各YMC値を均等に分
割して各領域の色を決める。但し、割り切れずに小数点
以下が付いた場合は、四捨五入等を行い、整数化する。
図6のように、ワークメモリ上に保持された対象領域の
外接矩形に対し、等間隔に分けたエリアを指定色で塗っ
ていく。
Gradation image generation module 25
Is a gradation parameter instruction input module 24
The YMC value of the color of each area is determined in accordance with the color of the start point and the end point and the number of areas designated by, and processing for generating a gradation image in the circumscribed rectangle is performed. However, the YMC value is the three primary colors that determine the color of the ink or copy toner, and the values of each color of yellow, magenta, and cyan are 0-10.
It is expressed as 0%. FIG. 5 shows an example in which colors are applied. When the colors of the start point and the end point are determined, each YMC value is equally divided to determine the color of each area. However, if it is not divisible and has a decimal point, it is rounded off and converted to an integer.
As shown in FIG. 6, the circumscribing rectangle of the target area held in the work memory is painted with the designated color in the equally divided areas.

【0015】対象領域切り出しモジュール26は、外接
矩形中の閉領域を切り出し、グラデーションを施した指
定画像を生成する処理である。特開平3−189878
号公報に示される技術を用い、ワークメモリ上の対象領
域部分のみの色情報を出力画像メモリにうつすことによ
って実現される。
The target area cutout module 26 is a processing for cutting out a closed area in the circumscribed rectangle and generating a designated image with gradation. JP-A-3-189878
This is realized by transferring the color information of only the target area portion on the work memory to the output image memory using the technique disclosed in Japanese Patent Publication No.

【0016】出力画像生成モジュール27は、出力画像
メモリ上の対象領域切り出しモジュール26により抽出
されたグラデーション画像と、入力画像メモリ上の文書
画像を合成する処理で、合成された画像は出力画像メモ
リに蓄えられる。
The output image generation module 27 is a process of synthesizing the gradation image extracted by the target area clipping module 26 on the output image memory and the document image on the input image memory. The synthesized image is stored on the output image memory. It can be stored.

【0017】プリントアウトモジュール28は、その出
力画像生成モジュール27が生成した文書画像を可視化
メディア上に可視化する手段であり、出力画像メモリ上
の出力画像をレーザビームプリント技術等を用いて実現
する。当然、レーザビーム以外に普通紙熱転写などのマ
ーキング技術を用いて実現してもよい。
The printout module 28 is means for visualizing the document image generated by the output image generating module 27 on a visualizing medium, and realizes the output image on the output image memory by using a laser beam printing technique or the like. Of course, a marking technique such as thermal transfer of plain paper may be used instead of the laser beam.

【0018】〈第1の実施例の動作の説明〉実際の動作
を図3に示すような矢印図形を例にとって説明する。処
理のフローチャートは図8に示す。デジタル複写機にお
いて、ここでは例えば富士ゼロックスのA−Color
(商品名)等のフルカラーデジタル複写機に当該発明を
組み込んだ場合について述べる。例えば原稿を編集パッ
ド上に置き、編集指示ペンを用いて対象領域を指示す
る。例えば図3のA点を選択したとする。もちろん、原
稿画像入力モジュール21で、先に画像を入力画像メモ
リ211に読み込んで、それを液晶ディスプレイなどに
表示して電子ペンなどで指示を行ってもよい。
<Explanation of Operation of First Embodiment> An actual operation will be described with reference to an arrow figure as shown in FIG. A flowchart of the processing is shown in FIG. In a digital copying machine, here, for example, Fuji Xerox's A-Color
The case where the invention is incorporated into a full-color digital copying machine such as (trade name) will be described. For example, a manuscript is placed on the editing pad, and the target area is designated using the editing instruction pen. For example, assume that point A in FIG. 3 is selected. Of course, the original image input module 21 may read an image into the input image memory 211 first, display it on a liquid crystal display or the like, and give an instruction with an electronic pen or the like.

【0019】対象領域を指示すると、色選択モードに入
るので、そこで「グラデーション」を選択する(ステッ
プS802でYESの場合)。すると、図4のようなグ
ラデーションの色と領域数を求める画面が液晶ディスプ
レイに表示されるので、まず始点の色をカラーパレット
からもしくは上下ボタンを用いて決める。すると、「グ
ラデーションの終点を指示して下さい」のように表示さ
れるので、編集パッド上の原稿の所望の点、つまり図3
の例ではB点を選択する。そして終点の色を決め、領域
数を上下ボタンで選び、Gradation方向を自由
方向と水平方向から選んで終了ボタンを押すと、編集指
示入力のモードに戻る。
When the target area is designated, the color selection mode is entered, and "gradation" is selected there (in the case of YES in step S802). Then, a screen for determining the gradation color and the number of regions as shown in FIG. 4 is displayed on the liquid crystal display, and the color of the starting point is first determined from the color palette or using the up and down buttons. Then, a message such as "Please specify the end point of gradation" is displayed, so that the desired point of the original on the editing pad, that is, FIG.
In the example, point B is selected. Then, when the color of the end point is determined, the number of areas is selected with the up / down buttons, the direction of gradation is selected from free direction and horizontal direction, and the end button is pressed, the mode returns to the editing instruction input mode.

【0020】ここで、各領域色は、図5のように決めら
れるが、これは次式より求まる。始点色を(Y1,M1
1)終点色(YN,MN,CN)とすると、中間点色(Y
n,Mn,Cn)は、Yn=Y1+(YN−Y1)*(n−
1)/(N−1)、Mn=M1+(MN−M1)*(n−
1)/(N−1)、Cn=C1+(CN−C1)*(n−
1)/(N−1)により求められる
Here, each area color is determined as shown in FIG. 5, which is obtained from the following equation. The starting point color is (Y 1 , M 1 ,
C 1 ) end point color (Y N , M N , C N ), intermediate point color (Y N
n, M n, C n) is, Y n = Y 1 + ( Y N -Y 1) * (n-
1) / (N-1) , M n = M 1 + (M N -M 1) * (n-
1) / (N-1) , C n = C 1 + (C N -C 1) * (n-
1) / (N-1)

【0021】また、水平方向ベクトル指定のモードを選
んだ場合、終点の位置を編集パッドで入力しなくても、
主走査方向か副走査方向かを選ぶことによって、グラデ
ーションの向きを決定することができる。この場合は、
色の指示は始点・終点ではなく、右と左の色、もしくは
上と下の色の指定により達成される。
When the horizontal vector designating mode is selected, the end point position need not be input by the editing pad.
The gradation direction can be determined by selecting the main scanning direction or the sub scanning direction. in this case,
Color designation is achieved by specifying the right and left colors or the top and bottom colors, not the start and end points.

【0022】編集指示を終え(ステップS801でYE
Sの場合となる)、原稿を原稿画像入力モジュール21
に移し、コピー開始ボタンを押す。すると原稿画像は入
力画像メモリ211に読み込まれる。グラデーション指
示があるかの判定がなされ(ステップS806)、グラ
デーション指示があればグラデーション対象領域の抽出
を行い(ステップS807)、そうでなければ通常の複
写を行う(ステップS812)。
The editing instruction is completed (YES in step S801).
In the case of S), the manuscript image input module 21
, And press the copy start button. Then, the original image is read into the input image memory 211. It is determined whether there is a gradation instruction (step S806). If there is a gradation instruction, the gradation target area is extracted (step S807), and if not, normal copying is performed (step S812).

【0023】グラデーション領域は、最初にプロットし
た点を含む閉領域で、グラデーションの終点指示は、そ
の領域からはみ出していても構わない。つまり、図3で
言えばB点が矢印の絵の外側にあっても、対象領域はA
点の含まれる矢印の絵の内側になる。抽出されたグラデ
ーション対象領域と始点・終点は、ワーキングメモリに
移される。続いてワーキングメモリ上では、図3のよう
に、主走査方向と副走査方向に平行な直線を辺に持つ、
対象領域を含む最小矩形が領域抽出技術により求められ
る。
The gradation area is a closed area including the first plotted point, and the gradation end point instruction may be out of the area. That is, in FIG. 3, even if the point B is outside the arrow picture, the target area is A
It is inside the picture of the arrow that contains the dots. The extracted gradation target area and the start and end points are moved to the working memory. Then, on the working memory, as shown in FIG. 3, a side has straight lines parallel to the main scanning direction and the sub scanning direction,
The smallest rectangle including the target area is obtained by the area extraction technique.

【0024】次に、始点、終点の指定色に基づき、領域
数にあわせて色を決定する(ステップS808)。その
ために、まず、ワーキングメモリ上の領域外接矩形をグ
ラデーション間隔に分割する。この分割方法は水平方向
グラデーションと自由方向グラデーションで、手法が異
なってくる。まず水平方向グラデーションでは、A点と
B点を結ぶ直線の傾きを調べる。各座標をA(xa
a)、B(xb,yb)とすると、傾き絶対値|(yb
a)/(xb−xa,)|<1であれば図6のように横
向きグラデーション、傾きの絶対値がそれ以上であれば
縦向きのグラデーションをかける。外接矩形の幅をW、
高さをH、指定領域数をNとすると、図6のように外接
矩形の左上を基準点O(xo,yo)とすると、点Oと点
(xo+W/N, yo+H)を対角線とする領域番号1
の色を図5の色テーブルから読み取り、流し込む(ステ
ップS809)。こうして順に色をつけ、グラデーショ
ン矩形を作る。
Next, the color is determined according to the number of areas based on the designated color of the start point and the end point (step S808). For that purpose, first, the area circumscribed rectangle on the working memory is divided into gradation intervals. This division method is different between the horizontal gradation and the free gradation. First, in the horizontal gradation, the inclination of the straight line connecting the points A and B is examined. Let each coordinate be A (x a ,
y a ), B (x b , y b ), the absolute slope value | (y b
If y a ) / (x b −x a ,) | <1, horizontal gradation is applied as shown in FIG. 6, and vertical gradation is applied if the absolute value of the inclination is greater than that. The width of the circumscribed rectangle is W,
If the height is H and the number of designated areas is N, and the upper left of the circumscribed rectangle is the reference point O (x o , y o ) as shown in FIG. 6, the point O and the point (x o + W / N, y o + H) ) Is a diagonal line area number 1
Is read from the color table of FIG. 5 and poured (step S809). In this way, colors are sequentially added to create a gradation rectangle.

【0025】また、自由方向グラデーションの場合、図
7(a)のようにA点とB点がプロットされていれば、
A点とB点を通る直線mに垂直に境界線をとることにな
る。この場合は、直線mの方程式と外接矩形の交点を求
め、その交点のA点側を始点S、B点側を終点Eとす
る。続いて線分SEを指定領域数Nで割り、その内分点
をM1,M2,M3,・・・,MN-1とする。そしてMnを
通って直線mに垂直な直線と外接矩形の交点を求める。
後はこうして求まった各領域の座標にあわせて図5の色
テーブルなどに応じ、色を流し込む。即ち、図7(b)
に示すように各直線mに垂直な直線F1〜F4と外接矩形
によって囲まれる斜めの帯状の図形の各領域を縦方向に
始点と終点を求めて、その始点と終点を結ぶ指定された
色の直線で塗りつぶすことにより色を流し込む。なお、
図7(c)のように各直線mに垂直な直線F1〜F4と対
象領域の輪郭によって囲まれる斜めの帯状の図形の各領
域を縦方向に始点と終点を求めて、その始点と終点を結
ぶ指定された色の直線で塗りつぶすことにより色を流し
込むようにしてもよい。
Further, in the case of free direction gradation, if points A and B are plotted as shown in FIG. 7A,
A boundary line is taken perpendicularly to the straight line m passing through the points A and B. In this case, the intersection of the equation of the straight line m and the circumscribed rectangle is obtained, and the point A side of the intersection is the start point S and the point B side is the end point E. Subsequently, the line segment SE is divided by the number N of designated areas, and the internally dividing points are M 1 , M 2 , M 3 , ..., M N-1 . Then, the intersection point of the circumscribed rectangle and the straight line perpendicular to the straight line m passing through Mn is obtained.
After that, according to the coordinates of each area thus obtained, the color is poured according to the color table of FIG. That is, FIG. 7 (b)
As shown in FIG. 3 , the start point and the end point are obtained in the vertical direction in each region of the diagonal strip-shaped figures surrounded by the straight lines F 1 to F 4 and the circumscribing rectangle, and the specified start point and end point are connected. Pour the color by filling it with a straight line of color. In addition,
As shown in FIG. 7C, the start point and the end point are obtained in the vertical direction in each region of the oblique strip-shaped figure surrounded by the straight lines F 1 to F 4 perpendicular to each straight line m and the contour of the target region, and The color may be poured by filling a straight line of a designated color connecting the end points.

【0026】出力画像生成モジュール27では、ワーキ
ングメモリ上の対象領域の色情報のみを抽出し(ステッ
プS810)、入力画像メモリから原稿画像を読み込ん
で、これらを合成して出力画像メモリ上に出力画像を生
成する(ステップS811)。図9の(a)がワーキン
グメモリ上のグラデーション画像について、図9(b)
のような領域内を塗りつぶした画像(領域内CMY全て
100%、領域外CMY全て0%)との各ドットについ
て値の小さい方を選択する(minimumをとる)。
こうすることによって、図9(c)のような領域内グラ
デーション画像が生成される。これをレーザビームプリ
ンティング技術等の可視化モジュールによってマーキン
グを行い出力することによって、所望のグラデーション
のかかった出力文書を得ることができる。
The output image generation module 27 extracts only the color information of the target area on the working memory (step S810), reads the original image from the input image memory, synthesizes these, and outputs the output image on the output image memory. Is generated (step S811). FIG. 9A shows a gradation image on the working memory, and FIG.
A smaller value is selected for each dot such as an image in which the area is filled (all CMY in the area is 100% and all CMY outside the area are 0%) (minimum is set).
By doing so, an in-region gradation image as shown in FIG. 9C is generated. By marking and outputting this with a visualization module such as a laser beam printing technique, an output document with a desired gradation can be obtained.

【0027】(第2の実施例) 〈第2の実施例の構成の説明〉図10は、第2の実施例
の構成を示すブロック図である。第1の実施例と異なる
のは、グラデーションの各段階の間隔をいくつかのパタ
ーンから選択することによってグラデーション間隔を決
める、またはグラデーションの間隔や色変化の割合を絶
対指示するグラデーションパターン指示入力モジュール
109を設けたことである。具体的には、グラデーショ
ンパラメータ指示入力モジュール104において、図1
1のように、Gradationステップ指示法という
ボタンが加わり、「領域数」と「間隔」というボタンを
選択するようになることである。これを受けて、グラデ
ーションパターン指示入力モジュール109が2通りの
指示ディスプレイを提供する。
(Second Embodiment) <Description of Structure of Second Embodiment> FIG. 10 is a block diagram showing the structure of the second embodiment. The difference from the first embodiment is that the gradation interval is determined by selecting the interval of each gradation step from several patterns, or the gradation pattern instruction input module 109 for absolutely instructing the gradation interval or the rate of color change. Is provided. Specifically, in the gradation parameter instruction input module 104, as shown in FIG.
As in the case of 1, a button called the gradation step instruction method is added, and the buttons "number of areas" and "interval" are selected. In response to this, the gradation pattern instruction input module 109 provides two instruction displays.

【0028】グラデーションパターン指示入力モジュー
ル109は、図12に示すように、グラデーション領域
数を設定する設定部121と、「始点ほど長い」「均
等」「終点ほど長い」の3つのボタンによりグラデーシ
ョン間隔の設定を行う設定部122とを有する。「均
等」を選べばグラデーション間隔グラフの境界線間隔が
等しくなる。「始点ほど長い」を選べば、第6図におい
て領域1の幅をw1、領域2をw2、領域nをwn、領域
数N、全領域幅Wとするならば、間隔比ωn=log1
0(10/(N−n+1))とし、wn=W(ωn/Σω
n)により各領域幅を求める。逆に、「終点ほど長い」
を選択すれば、間隔比ωn=log10(10/n)と
して、wn=W(ωn/Σωn)により各領域幅を求め
る。一方、グラデーションパラメータ指示入力モジュー
ル104により「間隔」を選択すれば、グラデーション
パターン指示入力モジュール109は、グラデーション
の各領域の間隔距離と、各領域の色の差を入力すること
によって、グラデーションパターンを決定する。
As shown in FIG. 12, the gradation pattern instruction input module 109 uses a setting section 121 for setting the number of gradation areas and three buttons of "longer as start point", "equal" and "longer as end point" to set the gradation interval. And a setting unit 122 for setting. If "Equal" is selected, the boundary intervals of the gradation interval graph will be equal. If you choose to "longer start", w 1 the width of the region 1 in FIG. 6, a region 2 w 2, the regions n w n, the number of areas N, if the entire region width W, spacing ratio omega n = Log1
0 (10 / (N−n + 1)), and w n = W (ω n / Σω
Determine the width of each region by n ). On the contrary, "the end is longer"
Is selected, the width of each region is obtained from w n = W (ω n / Σω n ) with the interval ratio ω n = log10 (10 / n). On the other hand, if the “interval” is selected by the gradation parameter instruction input module 104, the gradation pattern instruction input module 109 determines the gradation pattern by inputting the distance between the gradation areas and the color difference between the areas. To do.

【0029】〈第2の実施例の動作の説明〉第2の実施
例の処理の流れを図14に示す。第1の実施例と異なる
部分は、グラデーションパラメータ指示入力モジュール
104の一部と、新たに加わるグラデーションパターン
指示入力モジュール109の処理である。即ち、図14
において、ステップS1405〜ステップS1408の
処理が第1の実施例の処理とは異なる。
<Explanation of Operation of Second Embodiment> FIG. 14 shows a processing flow of the second embodiment. The difference from the first embodiment is the processing of a part of the gradation parameter instruction input module 104 and the newly added gradation pattern instruction input module 109. That is, in FIG.
In, the processing of steps S1405 to S1408 is different from the processing of the first embodiment.

【0030】グラデーションパラメータ指示入力モジュ
ール104は、図11のような表示ディスプレイ104
1を持ち、Gradationステップ指示法というボ
タン113により、グラデーションのパターン指示法を
「領域数」と「間隔」というボタン選択により決定す
る。そして、「終了」のボタン114が押されることに
よって、これを受けて、グラデーションパターン指示入
力モジュール109が2通りの指示ディスプレイを提供
する。グラデーションパラメータ指示入力モジュール1
04においてGradationステップ指示法が「領
域数」と選択されていた場合、グラデーションパターン
指示入力モジュール109は、図12に示したように、
グラデーション領域数の設定部121と、「始点ほど長
い」「均等」「終点ほど長い」の3つのボタンによるグ
ラデーションの幅を設定するグラデーション間隔設定部
122とを有する。領域数は1以上の整数で指示し、上
限は領域幅によって決まってくるので、限界値以上を入
力した場合は表示可能な最大の領域数をとるようにす
る。グラデーション間隔については、「均等」はグラデ
ーション間隔グラフの境界線間隔を等しくすることを意
味し、第1の実施例と同様の挙動を示すことになる。
「始点ほど長い」を選べば、図6において領域1の幅を
1、領域2をw2、領域nをwn、領域数N、全領域幅
Wとするならば、間隔比ωn=log10(10/(N
−n+1))とし、wn=W(ωn/Σωn)により各領
域幅を求める。逆に、「終点ほど長い」を選択すれば、
間隔比ωn=log10(10/n)として、wn=W
(ωn/Σωn)により各領域幅を求める。こうすること
によって、より高品質なグラデーション効果を表現する
ことができる。
The gradation parameter instruction input module 104 has a display display 104 as shown in FIG.
The gradation pattern instruction method is determined by the button selection of "number of areas" and "interval" using the button 113 called Gradation step instruction method. When the "end" button 114 is pressed, the gradation pattern instruction input module 109 receives the instruction and provides two instruction displays. Gradation parameter instruction input module 1
When the gradation step instruction method is selected as “number of areas” in 04, the gradation pattern instruction input module 109, as shown in FIG.
The gradation region number setting unit 121 and the gradation interval setting unit 122 that sets the width of gradation by three buttons of “longer as start point”, “equal”, and “longer as end point” are provided. The number of areas is designated by an integer of 1 or more, and the upper limit is determined by the area width. Therefore, when the value exceeding the limit value is input, the maximum number of areas that can be displayed is taken. Regarding the gradation interval, "equal" means that the boundary intervals of the gradation interval graph are made equal, and the same behavior as in the first embodiment is exhibited.
If you choose to "longer start", w 1 the width of the region 1 in FIG. 6, a region 2 w 2, the regions n w n, the number of areas N, if the entire region width W, spacing ratio omega n = log10 (10 / (N
−n + 1)), and the width of each region is calculated by w n = W (ω n / Σω n ). On the contrary, if you select "Longer as the end point",
With an interval ratio ω n = log10 (10 / n), w n = W
Each area width is calculated by (ω n / Σω n ). By doing so, a higher quality gradation effect can be expressed.

【0031】一方、グラデーションパラメータ指示入力
モジュール104により「間隔」を選択すれば、グラデ
ーションパターン指示入力モジュール109は、グラデ
ーションの各領域の間隔距離と、各領域の色の差を入力
することによって、グラデーションパターンを決定する
ことができる。図13のように、各領域の色の増減と、
さらにその領域間隔を指定できる。各領域の色増減と
は、例えば図13のようにマゼンダ=0、シアン=1
0、イエロー=10であれば、領域1の色のYMC値に
各値を足し算し、第2領域の色はマゼンダ=M+0、シ
アン=C+10、イエロー=Y+10となる。当然、領
域数は全領域幅をグラデーション間隔で割った数にな
る。
On the other hand, if the "interval" is selected by the gradation parameter instruction input module 104, the gradation pattern instruction input module 109 inputs the interval distance of each area of the gradation and the color difference of each area. The pattern can be determined. As shown in FIG. 13, increase / decrease in color of each area,
Furthermore, the area interval can be specified. The color increase / decrease of each area is, for example, magenta = 0, cyan = 1 as shown in FIG.
If 0 and yellow = 10, each value is added to the YMC value of the color of the area 1, and the color of the second area is magenta = M + 0, cyan = C + 10, and yellow = Y + 10. Naturally, the number of regions is the number obtained by dividing the entire region width by the gradation interval.

【0032】(第3の実施例) 〈第3の実施例の構成の説明〉次に図15は、第3の実
施例の構成を示すブロック図である。第1の実施例と異
なるのは、グラデーション間隔決定モジュール159が
加わることである。グラデーション間隔決定モジュール
059は、グラデーション各領域の幅によってその明度
を変化させる処理である。明度を求めるために、YMC
値とL*a*b*値の変換を行う。L*a*b*表色系
とは、L*が明度をa*b*が彩度および色相を示す表
色系である。YMC値とL*a*b*値の変換後、L*
値と領域幅が反比例等のような線形関係を保つよう、各
領域幅を決定する。領域幅の決定は、YMC値−L*a
*b*値変換パレットと、領域幅決定式により実現され
る。
(Third Embodiment) <Description of Configuration of Third Embodiment> FIG. 15 is a block diagram showing the configuration of the third embodiment. The difference from the first embodiment is that a gradation interval determination module 159 is added. The gradation interval determination module 059 is a process for changing the brightness of each area according to the width of the gradation. To obtain the brightness, YMC
The value and the L * a * b * value are converted. The L * a * b * color system is a color system in which L * represents lightness and a * b * represents saturation and hue. After conversion of YMC value and L * a * b * value, L *
Each area width is determined so that the value and the area width maintain a linear relationship such as an inverse proportion. The area width is determined by the YMC value-L * a
It is realized by the * b * value conversion palette and the area width determination formula.

【0033】〈第3の実施例の動作の説明〉図16は第
3の実施例の処理の流れを示すフローチャートである。
この処理の流れにおいて、ステップS1601〜160
4、ステップS1608〜1609、ステップS161
2〜1615の各処理は、図8に示す第1の実施例のフ
ローチャートの対応するステップの処理と同じである。
異なるのはステップS1605〜1607およびステッ
プS1610〜1611の処理であるので、主としてこ
の異なる点について説明する。図4に示すようなグラデ
ーションパラメータ指示ディスプレイにより、グラデー
ションの始点・終点の色と領域数を決定する(ステップ
S1605〜1607)と、第1の実施例と同様に図5
のように各領域のYMC値を決定する(ステップS16
10)。各領域色は、始点色を(Y1,M1,C1)終点
色(YN,MN,CN)とすると、中間点色(Yn,Mn
n)は、Yn=Y1+(YN−Y1)*(n−1)/(N
−1)、Mn=M1+(MN−M1)*(n−1)/(N−
1)、Cn=C1+(CN−C1)*(n−1)/(N−
1)により求められる。
<Description of Operation of Third Embodiment> FIG. 16 is a flow chart showing the flow of processing of the third embodiment.
In this processing flow, steps S1601 to S1601
4, steps S1608 to 1609, step S161
Each processing of 2 to 1615 is the same as the processing of the corresponding step of the flowchart of the first embodiment shown in FIG.
The differences are the processes of steps S1605 to 1607 and steps S1610 to 1611, and thus the differences will be mainly described. When the color and the number of areas at the start and end points of the gradation are determined by the gradation parameter designating display as shown in FIG. 4 (steps S1605 to 1607), the same as in the first embodiment, as shown in FIG.
The YMC value of each area is determined as follows (step S16)
10). For each region color, if the starting point color is (Y 1 , M 1 , C 1 ) and the end point color (Y N , M N , C N ), the intermediate point color (Y n , M n ,
C n) is, Y n = Y 1 + ( Y N -Y 1) * (n-1) / (N
−1), M n = M 1 + (M N −M 1 ) * (n−1) / (N−
1), C n = C 1 + (C N -C 1) * (n-1) / (N-
It is obtained by 1).

【0034】こうして求められた各YMC値をL*a*
b*値に変換する(ステップS1611)。変換は予め
保持されているカラーパレットにより行われる。このカ
ラーパレットの値から、各領域の明度L*が求まり、各
領域幅を決定する(ステップS1611)。各領域幅
は、例えば明度L*と幅が反比例するようにする。もし
くは領域中最大のL*値との差に比例するよう幅を決め
る。他にも、L*値と幅の線形変換則には、あらゆる線
形変換をあてはめることが可能である。
Each YMC value thus obtained is set to L * a *
It is converted into a b * value (step S1611). The conversion is performed by a color palette stored in advance. The brightness L * of each area is obtained from the value of this color palette, and the width of each area is determined (step S1611). The width of each region is set to be inversely proportional to the brightness L *, for example. Alternatively, the width is determined so as to be proportional to the difference from the maximum L * value in the area. Besides, any linear conversion can be applied to the linear conversion rule of L * value and width.

【0035】(第4の実施例) 〈第4の実施例の構成の説明〉図17は、第4の実施例
の文書処理装置の構成を示すブロックである。第4の実
施例の特徴は、第1の実施例に比べ、グラデーションベ
クトル指示入力モジュールに代えてグラデーションベク
トル抽出モジュール172が加わることである。その他
の原稿画像入力モジュール171、対象領域外接矩形抽
出モジュール173、グラデーションパラメータ指示入
力モジュール174、グラデーション画像生成モジュー
ル175、対象領域切り出しモジュール176、出力画
像生成モジュール177、プリントアウトモジュール1
78等からなる構成は第1の実施例と同じである。グラ
デーションベクトル抽出モジュール172は、グラデー
ションベクトル指示入力モジュール22(図2)の代わ
りに、原稿上にプロットされたマーカ色を読み取り、グ
ラデーションをかける領域とその方向を決定する処理を
行うものであり、例えば特開平3−201671号公報
に開示されているようなマーカ読み取りに関する技術等
を用いて達成される。
(Fourth Embodiment) <Description of Structure of Fourth Embodiment> FIG. 17 is a block diagram showing the structure of a document processing apparatus according to the fourth embodiment. The feature of the fourth embodiment is that a gradation vector extraction module 172 is added instead of the gradation vector instruction input module, as compared with the first embodiment. Other original image input module 171, target area circumscribed rectangle extraction module 173, gradation parameter instruction input module 174, gradation image generation module 175, target area cutout module 176, output image generation module 177, printout module 1
The configuration of 78 etc. is the same as that of the first embodiment. The gradation vector extraction module 172, instead of the gradation vector instruction input module 22 (FIG. 2), reads the marker color plotted on the original and determines the area to be gradation and its direction. This is achieved by using a technique related to marker reading as disclosed in Japanese Patent Laid-Open No. 3-201671.

【0036】〈第4の実施例の動作の説明〉図18は第
4の実施例の処理の流れを示すフローチャートである。
文書原稿に予めユーザが色づけしたいと思っている箇所
にマーカペンで印をつけておき、それを機械が読み取っ
て、所望の場所に所望の色を付ける処理である。グラデ
ーション処理は、同一領域内に同一色をマークすること
によって為される。例えばユーザが図3のA点に赤いマ
ーカ、B点に青いマーカをマークしたとする。その原稿
をユーザは原稿画像入力モジュール171にのせ、入力
画像メモリ1711に読み込ませる。マーカの色を読み
取り、同一領域内に2色のマークがついていることを認
識すると、図19のように、「青色側のグラデーション
色を決めて下さい」「赤色側のグラデーション色を決め
て下さい」と順に入力を求める。その他の処理は第1の
実施例と同様である。
<Description of Operation of Fourth Embodiment> FIG. 18 is a flow chart showing the flow of processing of the fourth embodiment.
This is a process in which the user places a mark on the document original with a marker pen in advance, and the machine reads the mark to add a desired color to a desired place. The gradation process is performed by marking the same color in the same area. For example, assume that the user marks a red marker at point A and a blue marker at point B in FIG. The user places the original on the original image input module 171, and reads it into the input image memory 1711. If you read the color of the marker and recognize that there are two colored marks in the same area, as shown in Fig. 19, "Please select the gradation color on the blue side" and "Select the gradation color on the red side". And input in order. Other processes are the same as those in the first embodiment.

【0037】[0037]

【発明の効果】以上詳細に述べてきたように、本発明に
よれば利用者はデジタル複写機を用いて、紙等に書かれ
た既存の文書に対し、位置の指示と表示メッセージに従
った選択を行うといった簡単な操作を行うだけで、容易
に自分の意図にあったグラデーションを施した高品質文
書を作成することができる。
As described above in detail, according to the present invention, the user follows the position instruction and the display message with respect to the existing document written on the paper using the digital copying machine. It is possible to easily create a high-quality document with a gradation that suits one's intention simply by performing a simple operation such as selection.

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

【図1】 第1の発明に係わる文書処理装置を示すブロ
ック図
FIG. 1 is a block diagram showing a document processing device according to a first invention.

【図2】 第1の発明の実施例を示す構成図FIG. 2 is a configuration diagram showing an embodiment of the first invention.

【図3】 対象領域に外接する矩形の決定法FIG. 3 Method for determining a rectangle circumscribing a target area

【図4】 第1の実施例のグラデーションパラメータ指
示ディスプレイ
FIG. 4 is a gradation parameter indicating display according to the first embodiment.

【図5】 5段階グラデーションの色テーブルの例FIG. 5: Example of a color table with 5 gradations

【図6】 グラデーションを施した外接矩形の例FIG. 6 Example of circumscribed rectangle with gradation

【図7】 自由方向グラデーションの例[Figure 7] Example of free-direction gradation

【図8】 第1の実施例における処理のフローチャートFIG. 8 is a flowchart of processing according to the first embodiment.

【図9】 グラデーション画像の合成例[Fig. 9] Example of composition of gradation image

【図10】 第2の実施例を示す構成図FIG. 10 is a configuration diagram showing a second embodiment.

【図11】 第2の実施例のグラデーションパラメータ
指示ディスプレイ
FIG. 11 is a gradation parameter designating display of the second embodiment.

【図12】 第2の実施例の領域数によるグラデーショ
ンステップ指示を行うグラデーションパターン指示ディ
スプレイ(1)
FIG. 12 is a gradation pattern instruction display (1) for instructing a gradation step according to the number of areas in the second embodiment.

【図13】 第2の実施例の間隔によるグラデーション
ステップ指示を行うグラデーションパターン指示ディス
プレイ(2)
FIG. 13 is a gradation pattern instruction display (2) for instructing a gradation step according to the interval of the second embodiment.

【図14】 第2の実施例における処理のフローチャー
FIG. 14 is a flowchart of processing according to the second embodiment.

【図15】 第3の実施例を示す構成図FIG. 15 is a configuration diagram showing a third embodiment.

【図16】 第3の実施例における処理のフローチャー
FIG. 16 is a flowchart of processing according to the third embodiment.

【図17】 第4の実施例を示す構成図FIG. 17 is a configuration diagram showing a fourth embodiment.

【図18】 第4の実施例における処理のフローチャー
FIG. 18 is a flowchart of processing according to the fourth embodiment.

【図19】 第4の実施例のグラデーションパラメータ
指示ディスプレイ
FIG. 19 is a gradation parameter designating display of the fourth embodiment.

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

11…文書画像保持手段、12…グラデーションベクト
ル指示手段、13…対象領域外接矩形抽出手段、14…
グラデーション内容指示手段、15…グラデーション画
像生成手段、16…対象領域切り出し手段、17…出力
画像生成手段、18…可視化手段
11 ... Document image holding means, 12 ... Gradient vector designating means, 13 ... Target area circumscribing rectangle extracting means, 14 ...
Gradation content instruction means, 15 ... Gradient image generation means, 16 ... Target area cutout means, 17 ... Output image generation means, 18 ... Visualization means

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 4226−5C H04N 1/46 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI Technical indication H04N 1/46 4226-5C H04N 1/46 Z

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 デジタル画像として入力された原稿文書
を保持するための文書画像保持手段と、 原稿文書に対して、グラデーションをかける対象領域と
その方向を指示入力するグラデーションベクトル指示手
段と、 前記グラデーションベクトル指示手段による指示に応じ
て、前記文書画像保持手段に保持されている文書画像か
ら対象領域に外接する矩形を抽出する対象領域外接矩形
抽出手段と、 グラデーションの内容を指示入力するグラデーション内
容指示手段と、 前記グラデーション内容指示手段によって指示されたグ
ラデーション内容情報に従って、前記対象領域外接矩形
抽出手段によって抽出された領域画像を加工してグラデ
ーション画像を生成するグラデーション画像生成手段
と、 そのグラデーション画像生成手段によって生成された画
像から、必要な対象領域のみを切り出す対象領域切り出
し手段と、 その対象領域切り出し手段により切り出されたグラデー
ション画像と、前記文書画像保持手段により保持された
文書画像を合成し、出力画像を生成する出力画像生成手
段と、 その出力画像生成手段が生成した文書画像を可視化メデ
ィア上に可視化する可視化手段と、 を備えたことを特徴とする文書処理装置。
1. A document image holding means for holding an original document input as a digital image, a gradation vector instructing means for instructing and inputting a target area on which gradation is applied to the original document, and a gradation vector instructing means. Target area circumscribing rectangle extracting means for extracting a rectangle circumscribing the target area from the document image held in the document image holding means, and gradation content instructing means for instructing and inputting the contents of gradation And a gradation image generation unit that processes the region image extracted by the target region circumscribing rectangle extraction unit to generate a gradation image according to the gradation content information designated by the gradation content designation unit, and the gradation image generation unit. Generated A target area cutout unit that cuts out only a necessary target area from the image, a gradation image cut out by the target area cutout unit, and the document image held by the document image holding unit are combined to generate an output image. A document processing apparatus comprising: an output image generation unit; and a visualization unit that visualizes a document image generated by the output image generation unit on a visualization medium.
JP5252115A 1993-09-16 1993-09-16 Document processor Pending JPH0787302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5252115A JPH0787302A (en) 1993-09-16 1993-09-16 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5252115A JPH0787302A (en) 1993-09-16 1993-09-16 Document processor

Publications (1)

Publication Number Publication Date
JPH0787302A true JPH0787302A (en) 1995-03-31

Family

ID=17232689

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5252115A Pending JPH0787302A (en) 1993-09-16 1993-09-16 Document processor

Country Status (1)

Country Link
JP (1) JPH0787302A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006053786A (en) * 2004-08-12 2006-02-23 Fuji Xerox Co Ltd Image processor
JP2009105715A (en) * 2007-10-24 2009-05-14 Seiko Epson Corp Image processing method, its program and image processor
JP2010028429A (en) * 2008-07-18 2010-02-04 Canon Inc Image processing apparatus, image processing method, and program
JP2010056931A (en) * 2008-08-28 2010-03-11 Kyocera Mita Corp Image processor and image processing program
JP5941207B1 (en) * 2015-09-10 2016-06-29 株式会社コロプラ User interface program and computer mounting method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006053786A (en) * 2004-08-12 2006-02-23 Fuji Xerox Co Ltd Image processor
JP4506346B2 (en) * 2004-08-12 2010-07-21 富士ゼロックス株式会社 Image processing device
JP2009105715A (en) * 2007-10-24 2009-05-14 Seiko Epson Corp Image processing method, its program and image processor
US8174741B2 (en) 2007-10-24 2012-05-08 Seiko Epson Corporation Image processing method, program for image processing, and image processing apparatus
JP2010028429A (en) * 2008-07-18 2010-02-04 Canon Inc Image processing apparatus, image processing method, and program
US8254693B2 (en) 2008-07-18 2012-08-28 Canon Kabushiki Kaisha Image processing apparatus, image processing method and program
JP2010056931A (en) * 2008-08-28 2010-03-11 Kyocera Mita Corp Image processor and image processing program
JP5941207B1 (en) * 2015-09-10 2016-06-29 株式会社コロプラ User interface program and computer mounting method
WO2017043287A1 (en) * 2015-09-10 2017-03-16 株式会社コロプラ User interface program and computer implementation method
JP2017051492A (en) * 2015-09-10 2017-03-16 株式会社コロプラ User interface program and computer implementation method

Similar Documents

Publication Publication Date Title
EP1318478B1 (en) Method, apparatus and computer program product for image processing
US5877772A (en) Graphic processing apparatus allowing the user to specify image appearance by automatically expressing differences in color and hatching attributes
US7365878B2 (en) Color adjustment apparatus, print control apparatus, color adjustment method, and color adjustment program product
JPH1028230A (en) Method for processing image and device therefor
JPH1132227A (en) Image-processing method and unit and storage medium
JP2009154365A (en) Image processing apparatus, image processing method, image processing program and recording medium
JP3658123B2 (en) Image processing method and apparatus
JPH11196285A (en) Image processing method, device and recording medium
JPH0787302A (en) Document processor
JP2006088572A (en) Stereoscopic printing processing equipment and method and program for controlling the same
JPH0727725Y2 (en) Image editing equipment
US5361141A (en) Image processor
JP2008160307A (en) Image processor and its control method
KR100296765B1 (en) Color combination method of display color
US7576892B2 (en) Color image processing apparatus
JP3679253B2 (en) Color image output method, apparatus and recording medium
JP2011130184A (en) Image processing apparatus, image processing method and image processing program, and image forming apparatus
JP2000030039A (en) Picture processor and picture processing method
CN102009532B (en) Print control apparatus
JP3230535B2 (en) Image processing device
JP2008072208A (en) Image processor, and method thereof, and recording medium thereof
JPH03109874A (en) Color sentence producing device
JP2009069451A (en) Color chart display device, color chart generation and display method, and color chart generation and display program
JP3307617B2 (en) Dot or image data adjustment method, computer-readable recording medium storing image data adjustment program, and electronic duplication device
JPH09284534A (en) Picture output controller