Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3266576B2 - Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program - Google Patents
[go: Go Back, main page]

JP3266576B2 - Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program - Google Patents

Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program

Info

Publication number
JP3266576B2
JP3266576B2 JP37562198A JP37562198A JP3266576B2 JP 3266576 B2 JP3266576 B2 JP 3266576B2 JP 37562198 A JP37562198 A JP 37562198A JP 37562198 A JP37562198 A JP 37562198A JP 3266576 B2 JP3266576 B2 JP 3266576B2
Authority
JP
Japan
Prior art keywords
data
image processing
character
unit
processing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP37562198A
Other languages
Japanese (ja)
Other versions
JPH11272257A (en
Inventor
弘 関根
滋 月村
裕之 河野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP37562198A priority Critical patent/JP3266576B2/en
Publication of JPH11272257A publication Critical patent/JPH11272257A/en
Application granted granted Critical
Publication of JP3266576B2 publication Critical patent/JP3266576B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文字や線画などを
出力する際に、必要に応じて、エッジ部分のジャギー
(ギザギザ)を視覚的に滑らかにする画像処理装置、画
像出力装置、画像処理方法、および、その画像処理をコ
ンピュータに実行させるための画像処理プログラムを記
録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing device, an image output device, and an image processing device for visually smoothing jaggies (jaggies) at an edge portion as necessary when outputting characters, line drawings, and the like. The present invention relates to a method and a recording medium that records an image processing program for causing a computer to execute the image processing.

【0002】[0002]

【従来の技術】一般に、PDL(ページ記述言語)など
のコード画像データを用いると、写真などのイメージデ
ータや、線画、文字などが混在した画像を異なった機種
の端末において共通の出力装置で出力したり、異なる出
力装置において共通に出力することが可能となる。この
ため、コード画像データは、画像出力を行なう場合に広
く用いられている。このようなコード画像データは、周
知のように、描画領域を各種描画命令によるベクトルデ
ータやアウトラインデータで規定するため、プリンタや
ディスプレイ等に出力する際には、当該コード画像デー
タの内容を解釈して、イメージデータたる描画パターン
データに展開(変換)する必要がある。
2. Description of the Related Art Generally, when code image data such as PDL (Page Description Language) is used, image data such as a photograph, an image in which line drawings, characters, and the like are mixed are output by a common output device in terminals of different models. Or output in common in different output devices. For this reason, the code image data is widely used when performing image output. As is well known, such code image data defines the drawing area with vector data and outline data according to various drawing commands, and therefore, when outputting to a printer or display, interprets the contents of the code image data. Must be developed (converted) into drawing pattern data as image data.

【0003】ここで、コード画像データによって、図1
6(a)に示すような、直線を描画する場合について検
討してみる。この場合、描画すべき領域が少しでも画素
にかかっていれば、当該画素を描画領域とする二値化処
理を実行して展開すると、同図(b)に示すように、そ
の描画パターンデータで描画される線の境界(エッジ)
部分において、ジャギーが目立つ結果となる。
[0003] Here, FIG.
Consider the case where a straight line is drawn as shown in FIG. In this case, if the area to be drawn covers a pixel at all, a binarization process using the pixel as a drawing area is executed and developed, and as shown in FIG. The border (edge) of the line to be drawn
In some parts, jaggies are noticeable.

【0004】そこで、文字や線画を出力する際に、ジャ
ギーを視覚的に滑らかにするアンチエイリアシング(ス
ムージング)処理が適用される。この処理の一例につい
て、同図(a)において丸で囲んだエッジ部分にかかる
画素が同図(c)で示すような状態にある場合について
説明すると、第1に、同図(d)に示すように、この画
素を複数(例えば16個)のサブピクセルに分割する。
第2に、例えば、描画すべき領域がサブピクセルの面積
の半分以上となっていれば、同図(e)に示すように、
当該サブピクセルに「1」という画素値を与える一方、
そうでなければ、当該サブピクセルに「0」という画素
値を与える。なお、画素値を与える判断には種々の手法
がある。第3に、分割したサブピクセルの画素値の総和
を、当該画素について多値化した画素値とする。この図
で示す例にあっては、当該画素の画素値が「10」とし
て多値化される。このように文字や線画等の画素を多値
化処理すると、エッジ部分の画素は、描画すべく領域と
そうでない領域との中間階調となるので、ジャギーが視
覚的に抑えられることなる。なお、図16(d)および
(e)に示す例にあっては、1画素を16個のサブピク
セルに分割したので、多値化による階調度は「0」〜
「16」の17階調となるが、さらに、多数のサブピク
セルに分割することによって、階調数を高めることも可
能である。
Therefore, when outputting a character or a line drawing, an anti-aliasing (smoothing) process for visually smoothing jaggies is applied. An example of this processing will be described with respect to a case where the pixel at the edge portion circled in FIG. 1A is in the state shown in FIG. 1C. First, FIG. Thus, this pixel is divided into a plurality of (for example, 16) sub-pixels.
Second, for example, if the area to be drawn is half or more of the area of the sub-pixel, as shown in FIG.
While giving the sub-pixel a pixel value of “1”,
Otherwise, a pixel value of “0” is given to the sub-pixel. There are various methods for determining the pixel value. Third, the sum of the pixel values of the divided sub-pixels is set as a multi-valued pixel value for the pixel. In the example shown in this figure, the pixel value of the pixel is multi-valued as “10”. When pixels of a character, a line drawing, or the like are subjected to multi-value processing in this manner, the pixels in the edge portion have intermediate gradations between an area to be drawn and an area not to be drawn, so that jaggy is visually suppressed. In the examples shown in FIGS. 16D and 16E, since one pixel is divided into 16 sub-pixels, the gradation by multi-valued conversion is from “0” to “0”.
Although there are 17 tones of "16", the number of tones can be further increased by dividing into a large number of sub-pixels.

【0005】また、特開平4−195268号には、多
値化処理の際にベクトルデータの傾きに応じて、サブピ
クセルの形状や分割数など最適化する技術が記載されて
いる。この技術によっても、ジャギーを目立たなくさせ
ることが可能である。このように、コード画像データに
おけるベクトルデータを、そのエッジ部分に多値化した
画素を配置させることによって、出力品質の向上が可能
となる。
Japanese Patent Application Laid-Open No. 4-195268 describes a technique for optimizing the shape of sub-pixels and the number of divisions according to the inclination of vector data at the time of multi-value processing. Even with this technique, it is possible to make the jaggy inconspicuous. As described above, by arranging multivalued pixels at the edge portion of the vector data in the code image data, it is possible to improve the output quality.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、ベクト
ルデータを、多値化した描画パターンデータに展開する
ためには、サブピクセルに分割する関係上、出力機器の
解像度よりも高い解像度にて展開して、一時的にせよ、
保持する必要が生じる。このため、アンチエイリアシン
グ処理をしない場合と比べて、より大容量のメモリを必
要とし、さらに、処理時間も長期化するといった問題が
あった。
However, in order to develop the vector data into multi-valued drawing pattern data, it is necessary to develop the vector data at a resolution higher than the resolution of the output device due to the division into sub-pixels. , Even temporarily,
It needs to be kept. For this reason, there is a problem that a larger memory capacity is required and the processing time is longer than when no anti-aliasing processing is performed.

【0007】また、図17(a)に示すように、1画素
の大きさに比べて幅が細い線を描画する場合について検
討してみる。この場合、描画すべき領域が少しでも画素
にかかっていれば当該画素を「1」とする、あるいは、
描画すべき領域が画素の中心にかかっていれば当該画素
を「1」とする二値化処理を実行すると、同図(b)に
示すような結果となる。一方、同図(a)に示す線に対
し、上述のような多値化処理を実行すると、画素値は非
常に小さい値となって、出力される線の濃度は結果的に
低くなってしまう。したがって、場合によっては、多値
化処理よりも二値化処理の方が、出力品質や光学的読取
での認識性などの面において、結果的に優れることが発
生し得る。なお、図に示す例にあっては、二値化処理し
た場合における画素値「1」は、多値化処理した場合に
おける画素値「16」に相当し、いずれも当該画素の濃
度が「100%」の場合を示す。
[0007] As shown in FIG. 17A, consider the case of drawing a line having a width smaller than the size of one pixel. In this case, if the area to be drawn covers any pixel, the pixel is set to “1”, or
If the area to be drawn is located at the center of the pixel, the binarization process for setting the pixel to “1” will result in the result shown in FIG. On the other hand, when the above-described multi-value processing is performed on the line shown in FIG. 3A, the pixel value becomes a very small value, and the density of the output line is reduced as a result. . Therefore, in some cases, the binarization processing may be more excellent than the multi-level processing in terms of output quality, recognizability in optical reading, and the like. Note that in the example shown in the figure, the pixel value “1” in the case of performing the binarization processing corresponds to the pixel value “16” in the case of performing the multi-level processing, and in each case, the density of the pixel is “100”. % ".

【0008】本発明は、上記問題に鑑みてなされたもの
であり、その目的とするところは、コード画像データを
描画パターンデータに展開処理する際に、必要に応じ
て、アンチエイリアシング処理を実行することにより、
大容量のメモリを必要せずにかつ、処理時間の短縮化を
図るとともに、ジャギーが目立たなくて高品質な描画パ
ターンデータを生成することが可能な画像処理装置、並
びにその画像出力が可能な画像出力装置、画像処理方
法、さらに、その画像処理をコンピュータに実行させる
ための画像処理プログラムを記録した記録媒体を提供す
ることにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and has as its object to execute anti-aliasing processing as required when developing code image data into drawing pattern data. By doing
An image processing apparatus capable of generating high-quality drawing pattern data without requiring a large-capacity memory, shortening the processing time, and making the jaggies inconspicuous, and an image capable of outputting the image. An object of the present invention is to provide an output device, an image processing method, and a recording medium that stores an image processing program for causing a computer to execute the image processing.

【0009】[0009]

【課題を解決するための手段】本発明は上記目的を達成
するため、コード画像データを描画パターンデータに展
開する画像処理装置であって、前記コード画像データ
を、二値化した描画パターンデータに展開する第1の展
開手段と、前記コード画像データを、多値化した描画パ
ターンデータに展開する第2の展開手段と、コード画像
データが所定の条件に該当するデータであるか否かを判
別する条件判別手段と、前記条件判別手段の判別に基づ
いてコード画像データを展開させる展開手段として、前
記第1あるいは第2の展開手段のいずれか一方を選択し
て適用する選択手段とを具備することを特徴としてい
る。
According to the present invention, there is provided an image processing apparatus for developing code image data into drawing pattern data, wherein the code image data is converted into binarized drawing pattern data. First expanding means for expanding, second developing means for expanding the code image data into multi-valued drawing pattern data, and determining whether or not the code image data is data satisfying a predetermined condition. And a selection unit that selects and applies one of the first and second expansion units as expansion unit that expands the code image data based on the determination by the condition determination unit. It is characterized by:

【0010】(作用) 本発明によれば、文字や線画等の描画命令を記述したコ
ード画像データを解釈して、そのビットイメージたる描
画パターンデータに展開する際に、文字や線画などのエ
ッジ部分のジャギーが目立つ場合もあり得るがその処理
が高速な第1の展開手段、あるいは、多値化して、文字
や線画などのエッジ部分を視覚的に滑らかにする第2の
展開手段のいずれか一方の展開手段を、場面や状況、す
なわち、コード画像データが所定の条件に該当するデー
タであるか否かに応じて適切に選択して適用する。ここ
で、選択の判断基準としての所定の条件は、線画を出力
する場合、その長さや幅、角度などが考えられる。この
理由は、線の長さあるいは幅のいずれか一方が画素に比
べて小さい程、あるいは、線の角度が水平あるいは垂直
に近い程、そのエッジ部分のジャギーが目立つので、線
幅や角度に応じて、展開処理に用いる展開手段を適切に
選択する必要があるためである。また、選択の判断基準
としての所定の条件は、文字を出力する場合、その書体
や、サイズ、文字コードなどが適切である。これら個々
の条件によって、文字のエッジ部分においてジャギーが
目立つか否かが定まるからである。一方、出力品質より
処理速度を優先させる場合もあることを考慮する必要が
ある。この場合、第2の展開手段の処理に要する時間
は、第1の展開手段のそれよりも長いから、前者の処理
に要する時間を予測し、その予測結果に基づいて展開処
理に用いる展開手段を選択するようにすれば、好ましい
結果が得られる。さらに、選択の判断基準としては、ユ
ーザの判断も重要である。このため、ユーザ自身が展開
処理に用いる展開手段を選択可能であるのが望ましい。
(Operation) According to the present invention, when interpreting code image data describing a drawing command such as a character or a line drawing and developing the same into drawing pattern data as a bit image, an edge portion such as a character or a line drawing is used. May be conspicuous, but the processing speed is high for the first developing means or the second developing means for multi-valued and visually smoothing the edges of characters and line drawings. Is appropriately selected and applied depending on the scene or situation, that is, whether or not the code image data is data that meets a predetermined condition. Here, the predetermined condition as a criterion for selection may be, for example, the length, width, angle, etc., when a line image is output. The reason is that the jaggies at the edges become more noticeable as either the length or width of the line is smaller than the pixel, or the angle of the line is closer to the horizontal or vertical, so it depends on the line width or angle. This is because it is necessary to appropriately select a developing means used for the developing process. Further, when outputting a character, the predetermined condition as a criterion for selection is appropriate in its font, size, character code, and the like. This is because these individual conditions determine whether or not jaggies are noticeable in the edge portion of the character. On the other hand, it is necessary to consider that the processing speed may be prioritized over the output quality. In this case, since the time required for the processing of the second expanding means is longer than that of the first expanding means, the time required for the former processing is estimated, and the expanding means used for the expanding processing is determined based on the prediction result. If you make a choice, you get the desired result. Further, as a criterion for selection, judgment by the user is also important. For this reason, it is desirable that the user himself / herself be able to select the developing means used for the developing process.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施形態について
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】<1:第1実施形態> <1−1:全体構成>図1は、本発明の第1実施形態に
係る画像処理部を含むシステム全体の構成を示すブロッ
ク図である。この図において、ホストコンピュータ10
0は、出力すべき画像データを、PDL等のコード画像
データとして出力するものである。画像処理部200
は、コード画像データを解釈し、そのうちの文字のアウ
トラインデータや線画のベクトルデータを用いて、ラス
ターイメージを示すラスターデータ(描画パターンデー
タ)に展開するものである。また、画像出力部300
は、ラスターデータにしたがって画像を出力するもので
あり、これには、プリンタやディスプレイなどが該当す
る。
<1: First Embodiment><1-1: Overall Configuration> FIG. 1 is a block diagram showing the overall configuration of a system including an image processing unit according to a first embodiment of the present invention. In this figure, a host computer 10
0 outputs image data to be output as code image data such as PDL. Image processing unit 200
Is to interpret the code image data and develop it into raster data (rendering pattern data) indicating a raster image by using character outline data and line drawing vector data. Also, the image output unit 300
Is for outputting an image in accordance with raster data, and corresponds to a printer, a display, or the like.

【0013】ここで、アウトラインデータやベクトルデ
ータを厳密に区別する意義はないが、説明の便宜上、文
字の輪郭を規定する情報をアウトラインデータと呼び、
線画の輪郭あるいは端点を規定する情報をベクトルデー
タと呼ぶことにする。なお、文字を出力する場合には、
出力すべき文字を規定する文字コードや、書体、サイ
ズ、スタイル(イタリックなど)、ストロークウェイト
(ボールドなど)、文字の輪郭を規定するアウトライン
データ、ページ上で描画すべき座標データなどのデータ
が必要であり、これらを総称してフォントデータと呼ぶ
ことにする。
Here, although there is no significance in strictly distinguishing the outline data and the vector data, for convenience of explanation, information defining the outline of a character is called outline data.
Information that defines the outline or end point of a line drawing is called vector data. When outputting characters,
Data such as character codes that specify the characters to be output, typeface, size, style (such as italic), stroke weight (such as bold), outline data that defines the outline of the characters, and coordinate data to be drawn on the page are required. These are collectively called font data.

【0014】なお、図1は、説明の便宜のために、シス
テムの各ブロックを別個に表したものに過ぎない。すな
わち、画像処理部200は、実際には、ホストコンピュ
ータ100の一機能としてコード画像データをラスター
データに展開する場合もあるし、また、画像出力部30
0の一機能として展開する場合もある。さらには、図示
のようにスタンドアローンタイプの場合もある。ここ
で、画像処理部200がホストコンピュータ100の一
機能となる場合、ホストコンピュータ100は、所定の
プログラムで後述する画像処理部と同等の動作を実行す
ることにより、コード画像データをラスターデータに展
開して出力することになる。一方、後者のように画像出
力部300の一機能となる場合、画像出力部300は、
同様にして画像処理部と同等の動作を実行することによ
り、コード画像データをラスターデータに展開して、こ
のデータに基づいて画像出力を行うことになる。また、
いずれの場合でも、各ブロック間の接続形態は問われな
い。すなわち、ネットワークを介しても良いし、ケーブ
ルによる直結であっても良い。
FIG. 1 merely shows each block of the system separately for convenience of explanation. That is, the image processing unit 200 may actually expand the code image data into raster data as one function of the host computer 100, or
0 may be developed as one function. Further, there is a case of a stand-alone type as shown in the figure. Here, when the image processing unit 200 is a function of the host computer 100, the host computer 100 executes the same operation as an image processing unit described later with a predetermined program to expand the code image data into raster data. And output. On the other hand, when the function is one of the functions of the image output unit 300 as in the latter case, the image output unit 300
Similarly, by performing the same operation as that of the image processing unit, the code image data is developed into raster data, and an image is output based on this data. Also,
In any case, the connection form between the blocks does not matter. That is, it may be via a network or directly connected by a cable.

【0015】<1−1−1:画像処理部>次に、画像処
理部200の詳細構成について説明する。ここでは、原
則として、画像処理部200が、図1に示すように、ス
タンドアローンタイプの場合、あるいは、画像出力部3
00の一機能となる場合について説明する。
<1-1-1: Image Processing Unit> Next, the detailed configuration of the image processing unit 200 will be described. Here, in principle, as shown in FIG. 1, the image processing unit 200 is of a stand-alone type or the image output unit 3
A case where the function is 00 will be described.

【0016】<1−1−1−1:ハードウェア的構成> <1−1−1−2:まず、画像処理部のハードウェア的
構成について図2を参照して説明する。この図におい
て、CPU201は、ROM202に記憶されたプログ
ラムによって後述する機能ブロックを構築して、展開処
理を実行するものであり、この際、RAM203を一時
的に作業領域として使用する。また、RAM203は、
このほかに、出力すべき文字の展開方式を指定するフォ
ントテーブルや、文字コード別に展開方式を指定する文
字コードテーブルなどを記憶する場合がある。なお、こ
れらのテーブルの内容については後述する。一方、デー
タ入力I/F(インターフェイス)204は、展開処理
の対象となるコード画像データを入力するものである。
<1-1-1-1: Hardware Configuration><1-1-1-2: First, the hardware configuration of the image processing unit will be described with reference to FIG. In this figure, a CPU 201 constructs a function block, which will be described later, by a program stored in a ROM 202 and executes a development process. At this time, a RAM 203 is temporarily used as a work area. Also, the RAM 203
In addition, there may be a case where a font table that specifies a development method of a character to be output, a character code table that specifies a development method for each character code, and the like are stored. The contents of these tables will be described later. On the other hand, a data input I / F (interface) 204 is for inputting code image data to be expanded.

【0017】次に、操作パネル205は、ユーザの操作
・指示を入力するものであり、特に、本実施形態では、
後述するフォントテーブル、文字コードテーブルの内容
設定や、多値展開の指定などを行うものである。ここ
で、多値展開の指定とは、ユーザがアンチエイリアシン
グ処理の許可を指定した状態であって、後述する「多値
展開可能」と同義であり、この設定は、図4(a)や同
図(b)に示すような画面に対して、ユーザが応答する
ことで行われる。この設定において、「高速」や「二値
展開」のように、多値展開によるアンチエイリアシング
処理を不許可とする旨が指示された場合には、二値展開
のみが指定される一方、「高画質」や「多値展開」のよ
うに、画質の優先が指示された場合には、多値展開の指
定がなされ、後述する手順にしたがって、二値展開ある
いは多値展開が選択されて展開処理が実行されることと
なる。なお、この操作パネル205における設定項目
は、フォントテーブルや、文字コードテーブルの内容も
含めて、ホストコンピュータ100からもリモートで設
定可能となっている。
Next, the operation panel 205 is for inputting user's operations and instructions. In this embodiment, in particular,
It is used to set the contents of a font table and a character code table, which will be described later, and to specify multi-value expansion. Here, the designation of the multi-value expansion is a state in which the user has specified the permission of the anti-aliasing process, and is synonymous with “multi-value expansion is possible” described later. This is performed by the user responding to the screen as shown in FIG. In this setting, when an instruction to disallow anti-aliasing processing by multi-valued expansion such as “high speed” or “binary expansion” is given, only binary expansion is designated, while When priority is given to image quality, such as "image quality" or "multi-value expansion", multi-value expansion is specified, and binary expansion or multi-value expansion is selected and expanded according to the procedure described later. Will be executed. The setting items on the operation panel 205, including the contents of the font table and the character code table, can be set remotely from the host computer 100.

【0018】また、画像記憶部206は、いわゆるペー
ジメモリであり、ラスターデータを各ページ毎に一時的
に記憶する。すなわち、画像記憶部206は、画像出力
部300の解像度に対応するものであって、その画素と
記憶領域とは1対1に対応するものである。そして、画
像出力I/F207は、画像記憶部206に記憶された
ラスターデータを画像出力部300に出力するためのも
のである。なお、RAM203と画像記憶部206とを
厳密に区別する必要はなく、実際には、RAM203の
一部分として割り当てられた領域が画像記憶部206と
して用いられる。
The image storage unit 206 is a so-called page memory, and temporarily stores raster data for each page. That is, the image storage unit 206 corresponds to the resolution of the image output unit 300, and its pixels and storage areas correspond one-to-one. The image output I / F 207 is for outputting the raster data stored in the image storage unit 206 to the image output unit 300. Note that it is not necessary to strictly distinguish the RAM 203 and the image storage unit 206, and an area allocated as a part of the RAM 203 is actually used as the image storage unit 206.

【0019】ここで、画像処理部200が、ホストコン
ピュータ100の一機能となる場合、CPU201は、
OSやアプリケーションプログラムなどによって後述す
る機能ブロックを構築して、展開処理を実行することと
なる。また、この場合、OSやアプリケーションプログ
ラムからコード画像データを受け取る部分があれば、デ
ータ入力I/F204を別途設ける必要はない。
Here, when the image processing unit 200 is a function of the host computer 100, the CPU 201
A function block to be described later is constructed by the OS, the application program, and the like, and the expansion processing is executed. In this case, if there is a portion for receiving the code image data from the OS or the application program, it is not necessary to separately provide the data input I / F 204.

【0020】<1−1−1−3:機能的構成>次に、図
2に示したハードウェア的構成によって構築される画像
処理部200の機能的構成について、図3を参照して説
明する。この図において、コード画像データ記憶部25
1は、ホストコンピュータ100から受け取ったコード
画像データを記憶するものである。このようなコード画
像データ記憶部251は、図2におけるCPU201が
データ入力I/F204を介して入力したコード画像デ
ータを、RAM203に一時的に格納することと等価で
ある。
<1-1-1-3: Functional Configuration> Next, the functional configuration of the image processing unit 200 constructed by the hardware configuration shown in FIG. 2 will be described with reference to FIG. . In this figure, a code image data storage unit 25
1 stores code image data received from the host computer 100. Such a code image data storage unit 251 is equivalent to temporarily storing code image data input by the CPU 201 in FIG. 2 via the data input I / F 204 in the RAM 203.

【0021】展開方式決定部252は、文字や線画の展
開において、二値展開を適用するのか、あるいは、多値
展開を適用するのかを後述する手順にしたがって決定す
るものである。展開方式選択部253は、コード画像デ
ータ記憶部251に記憶されたコード画像データを、展
開方式決定部252による決定結果にしたがって、二値
展開部254あるいは多値展開部255のいずれか一方
の展開部に供給するものである。
The expansion method determination unit 252 determines whether to apply binary expansion or multi-value expansion in expansion of characters and line drawings in accordance with a procedure described later. The expansion method selection unit 253 expands the code image data stored in the code image data storage unit 251 by either the binary expansion unit 254 or the multi-value expansion unit 255 according to the result determined by the expansion method determination unit 252. To be supplied to the department.

【0022】二値展開部254は、コード画像データを
ラスターデータに単純に二値展開するものである。一
方、多値展開部255は、コード画像データをラスター
データに多値展開して、アンチエイリアシング処理を施
すものである。このような展開方式決定部252、展開
方式選択部253、二値展開部254および多値展開部
255は、図2におけるCPU201が、第1に、RA
M203に格納されたコード画像データに含まれるフォ
ントデータやベクトルデータを解釈して、いずれかの展
開方式で展開すべきかを決定し、第2に、そのアウトラ
インデータやベクトルデータを、決定結果にしたがった
展開方式で展開することと等価である。
The binarizing section 254 simply binarizes the code image data into raster data. On the other hand, the multi-value developing unit 255 performs multi-value expansion of the code image data into raster data and performs an anti-aliasing process. The expansion method determination unit 252, the expansion method selection unit 253, the binary expansion unit 254, and the multi-value expansion unit 255 include the CPU 201 in FIG.
The font data and vector data included in the code image data stored in M203 are interpreted to determine which expansion method is to be used. Second, the outline data and vector data are determined according to the determination result. It is equivalent to expanding with the expanded method.

【0023】画像記憶部206は、二値展開部254あ
るいは多値展開部255によって展開されたラスターデ
ータをページ毎に合成して記憶するものである。すなわ
ち、図2におけるCPU201は、いずれかの方式によ
って展開したラスターデータを、画像記憶部206にお
いてページ上で描画すべき座標に対応するアドレスにて
書き込む。そして、この画像記憶部206に記憶された
ラスターデータが、画像出力部300の走査方向にした
がって読み出されて、画像出力部300において実際に
画像出力されることとなる。
The image storage unit 206 combines raster data developed by the binary development unit 254 or the multi-value development unit 255 for each page and stores the combined data. That is, the CPU 201 in FIG. 2 writes the raster data developed by one of the methods at the address corresponding to the coordinates to be drawn on the page in the image storage unit 206. Then, the raster data stored in the image storage unit 206 is read out according to the scanning direction of the image output unit 300, and the image output unit 300 actually outputs the image.

【0024】また、画像記憶部206は、記憶されたラ
スターデータが、二値展開部254によって展開された
ものであるのか、あるいは、多値展開部255によって
展開されたものであるのかを示す識別データを画素毎に
記憶する。ここで、ラスターデータと、それに対応する
識別データとは、同一領域に記憶されても良いし、両者
の対応関係さえ確保されれば、別々に記憶されても良
い。そして、ラスターデータが読み出される場合には、
その画素に対応する識別データも同時に読み出されて、
画像出力部300に供給される。これにより、画像出力
部300では、多値化された画素を出力する場合に、例
えば、スクリーン線数を変化させるなどの処理が可能と
なる。
The image storage unit 206 identifies whether the stored raster data is expanded by the binary expansion unit 254 or expanded by the multi-value expansion unit 255. Data is stored for each pixel. Here, the raster data and the corresponding identification data may be stored in the same area, or may be stored separately as long as the correspondence between them is ensured. And when raster data is read,
The identification data corresponding to the pixel is also read at the same time,
It is supplied to the image output unit 300. This allows the image output unit 300 to perform processing such as changing the number of screen lines when outputting multi-valued pixels.

【0025】<1−1−2:フォントテーブル>ここ
で、本実施形態において用いられるフォントテーブルに
ついて、図5を参照して説明する。この図に示すよう
に、フォントテーブルは、明朝体や、ゴシック体、Ti
mes、Arial、Courier、Century
などの書体別に展開方式を指定するものである。ここ
で、展開方式の指定のうち、「二値展開のみ」とは、文
字についてラスターデータに展開する際に、展開方式選
択部253が多値展開部255を選択するのを禁止する
ものであり、主に、展開処理速度を優先する場合に指定
される。一方、「多値展開可能」とは、ラスターデータ
に展開する際に、展開方式選択部253に対して、二値
展開部254および多値展開部255の選択を許可する
ものである。なお、いずれを選択するかについては、後
述する判断手順に委ねられる。
<1-1-2: Font Table> Here, the font table used in the present embodiment will be described with reference to FIG. As shown in this figure, the font table includes Mincho, Gothic, Ti
mes, Arial, Courier, Century
The expansion method is specified for each typeface. Here, “only binary expansion” in the specification of the expansion method prohibits the expansion method selection unit 253 from selecting the multi-value expansion unit 255 when rasterizing characters into raster data. This is mainly specified when the priority is given to the expansion processing speed. On the other hand, “multi-value expansion is possible” is to permit the expansion method selection unit 253 to select the binary expansion unit 254 and the multi-value expansion unit 255 when raster data is expanded. Which one to select is left to a determination procedure described later.

【0026】したがって、見方を変えれば、原則とし
て、「多値展開可能」の指定により、二値展開あるいは
多値展開が許可されるが、例外として、「二値展開の
み」が指定されると、多値展開が禁止されることにな
り、その関係は、上述した多値展開のユーザ指定におけ
る関係と同様である。
Therefore, from a different point of view, in principle, by specifying “multi-value expansion”, binary or multi-value expansion is permitted, but as an exception, “binary expansion only” is specified. , Multi-value expansion is prohibited, and the relationship is the same as the above-described relationship in the user specification of multi-value expansion.

【0027】なお、図5においては、書体別に展開方式
が指定可能であったが、このほかに、スタイルや、スト
ロークウェイトの区別にしたがって指定可能としても良
い。
In FIG. 5, the expansion method can be specified for each typeface. Alternatively, the expansion method may be specified according to the style and the stroke weight.

【0028】<1−1−3:文字コードテーブル>次
に、本実施形態において用いられる文字コードテーブル
について、図6を参照して説明する。この図に示すよう
に、文字コードテーブルは、文字を規定する文字コード
毎に展開方式を指定するものである。すなわち、本実施
形態では、書体別のほか、文字自身についても展開方式
を指定することが可能となっている。ここで、明朝体や
ゴシック体などの和文フォントでは、英数字や、ひらが
な、カタカナ、漢字などの区別がコード体系で分類可能
である。このため、和文フォントでは、英数字や、ひら
がな、カタカナ、漢字などの区別毎に、展開方式の指定
も可能となる。なお、文字コードの体系は問わず、JI
Sや、シフトJIS、区点、Unicodeなど種々の
ものが使用可能である。
<1-1-3: Character Code Table> Next, a character code table used in the present embodiment will be described with reference to FIG. As shown in this figure, the character code table specifies an expansion method for each character code that defines a character. That is, in the present embodiment, it is possible to specify the expansion method not only for each typeface but also for the characters themselves. In Japanese fonts such as Mincho and Gothic, distinctions such as alphanumeric characters, hiragana, katakana, and kanji can be classified by a code system. For this reason, in a Japanese font, it is also possible to specify an expansion method for each distinction of alphanumeric characters, hiragana, katakana, kanji, and the like. Regardless of the character code system, JI
Various types such as S, shift JIS, breakpoints, and Unicode can be used.

【0029】<1−2:実施形態の動作>次に、上記実
施形態に係る画像処理部200の動作について説明す
る。まず、画像処理部200の全体動作について図7を
参照して説明する。はじめに、ホストコンピュータ10
0によって画像出力の指示がなされると、画像処理部2
00は、ステップS101においてPDLのコード画像
データを受け取って、その意味内容を解釈する。そし
て、画像処理部200は、ステップS102において、
コード画像データによって描画が命令されるオブジェク
トを1つずつ識別する。
<1-2: Operation of Embodiment> Next, the operation of the image processing section 200 according to the above embodiment will be described. First, the overall operation of the image processing unit 200 will be described with reference to FIG. First, the host computer 10
0, the image processing unit 2
00 receives the PDL code image data in step S101 and interprets its meaning. Then, the image processing unit 200 determines in step S102
Objects whose drawing is instructed by the code image data are identified one by one.

【0030】ここで、画像処理部200は、識別したオ
ブジェクトが文字であれば、ステップS103において
文字の描画を実行し、また、識別したオブジェクトが罫
線や、表、直線、曲線、多角形などの線画であれば、ス
テップS104において線画の描画を実行する。なお、
ここでいう描画とは、文字のアウトラインデータや線画
のベクトルデータを、ラスターデータに展開して画像記
憶部206に格納する処理をいい、その詳細については
後述する。一方、画像処理部200は、識別したオブジ
ェクトが写真や絵柄などのラスター(イメージ)データ
であれば、ステップS105においてフィルタ処理や階
調調整処理、回転/拡大縮小処理などの適切な処理を実
行して、その処理後のラスターデータを画像記憶部20
6に格納する。
Here, if the identified object is a character, the image processing unit 200 executes drawing of the character in step S103, and the identified object is determined to be a ruled line, a table, a straight line, a curve, a polygon, or the like. If it is a line drawing, drawing of the line drawing is executed in step S104. In addition,
Here, the term “rendering” refers to processing for expanding outline data of a character or vector data of a line drawing into raster data and storing the raster data in the image storage unit 206, and details thereof will be described later. On the other hand, if the identified object is raster (image) data such as a photograph or a picture, the image processing unit 200 executes appropriate processing such as filter processing, gradation adjustment processing, and rotation / enlargement / reduction processing in step S105. The raster data after the processing is stored in the image storage unit 20.
6 is stored.

【0031】次に、画像処理部200は、描画すべきオ
ブジェクトを、出力すべき全ページについて処理したか
を判別し、この判別結果が否定的であれば処理手順を再
びステップS101に戻す。一方、描画すべきオブジェ
クトを、全ページについて処理すると、この判別結果が
肯定的となるので、画像処理部200は、ステップS1
07において、格納したラスターデータを、画像出力部
300の走査方向にしたががって読み出して供給する。
このように、画像処理部200は、コード画像データを
受け取ると、その意味内容を解釈して、描画すべきオブ
ジェクトに応じた処理を実行することとなる。
Next, the image processing section 200 determines whether or not the object to be drawn has been processed for all pages to be output. If the determination result is negative, the process returns to step S101. On the other hand, if the object to be drawn is processed for all pages, the result of this determination is affirmative.
At 07, the stored raster data is read out and supplied according to the scanning direction of the image output unit 300.
As described above, upon receiving the code image data, the image processing unit 200 interprets the meaning of the code image data and executes a process according to the object to be drawn.

【0032】<1−2−1:文字出力の場合>ここで、
識別したオブジェクトが文字である場合に、ステップS
103において実行される文字描画の処理について詳述
する。
<1-2-1: In case of character output>
If the identified object is a character, step S
The character drawing processing executed in step 103 will be described in detail.

【0033】<1−2−1−1:展開方式の決定>はじ
めに、画像処理部200の展開方式決定部252は、文
字であると識別されたオブジェクトについて、多値展開
を適用すべきか、二値展開を適用すべきかを判定する。
図8は、その判定手順を示すフローチャートである。
<1-2-1-1: Determination of Expansion Method> First, the expansion method determination unit 252 of the image processing unit 200 determines whether to apply multi-value expansion to an object identified as a character. Determine if value expansion should be applied.
FIG. 8 is a flowchart showing the determination procedure.

【0034】この図に示すように、文字と識別されたオ
ブジェクトを出力する場合、展開方式決定部252は、
まず、ステップS201において多値展開の指定がユー
ザによってなされているかを判別する。ここで、多値展
開の指定とは、上述したように、ユーザが操作パネル2
05あるいはホストコンピュータ100の操作によりア
ンチエイリアシング処理の許可を指定した状態をいう。
展開方式決定部252は、多値展開が指定されていなけ
れば、当該文字に対して二値展開の適用を決定する一
方、多値展開が指定されていれば、さらにステップS2
02において、その文字の多値展開に要する時間を予測
し、その予測時間がしきい値たる時間Tmaxよりも短い
か否かを判別する。
As shown in this figure, when outputting an object identified as a character, the expansion method determination unit 252
First, in step S201, it is determined whether or not multi-value expansion has been designated by the user. Here, the designation of the multi-value expansion means that the user operates the operation panel 2 as described above.
05 or a state in which the permission of the anti-aliasing process is designated by the operation of the host computer 100.
The expansion method determination unit 252 determines the application of binary expansion to the character if multi-level expansion has not been specified, and if multi-level expansion has been specified, further proceeds to step S2
In 02, the time required for multi-value expansion of the character is predicted, and it is determined whether or not the predicted time is shorter than a time Tmax which is a threshold value.

【0035】さて、本実施形態にあっては、二値展開に
要する時間と、多値展開に要する時間との双方について
予測する。ここで、多値展開においてサブピクセルの画
素値の総和を画素毎に算出する時間を無視できる場合に
は、多値展開に要する時間は、画素をサブピクセルに複
数に分割して扱うこととの関係上、二値展開に要する時
間に対して、1画素について分割したサブピクセル数倍
であると考えられる。また、文字のアウトライン制御点
が多くなると、文字が複雑化するので、それだけ文字の
展開に時間を要することになる。なお、文字のアウトラ
イン制御点(セグメントともいう)とは、例えば、図1
2(a)において丸印で示すように、文字のアウトライ
ンを規定する座標点をいい、文字についてのフォントデ
ータに含まれる。
In the present embodiment, both the time required for binary expansion and the time required for multi-level expansion are estimated. Here, when the time for calculating the sum of the pixel values of the sub-pixels for each pixel in the multi-valued development can be ignored, the time required for the multi-valued development is determined by dividing the pixel into a plurality of sub-pixels. In relation to this, it can be considered that the time required for the binary expansion is times the number of subpixels obtained by dividing one pixel. In addition, if the number of outline control points of a character increases, the character becomes complicated, so that it takes time to develop the character. The outline control point (also referred to as a segment) of a character is, for example, as shown in FIG.
2 (a), as indicated by a circle, a coordinate point defining an outline of a character, which is included in font data of the character.

【0036】したがって、文字の二値展開に要する時間
は、当該文字についてのフォントデータを解釈して、そ
のアウトライン制御点総数などの要素を求めるととも
に、これら各要素にそれぞれ処理速度に応じた係数を乗
じて、総和を求められることで、簡易的に算出すること
が可能であり、また、文字の多値展開に要する時間は、
二値展開に要する時間を1画素のサブピクセル数倍した
時間として算出することが可能となる。なお、多値展開
においてサブピクセルの画素値についての総和算出時間
を無視できない場合には、多値展開に要する時間には、
さらに、この総和算出時間が加算されることになる。
Accordingly, the time required for the binary expansion of a character is determined by interpreting the font data of the character and obtaining elements such as the total number of outline control points, and by adding a coefficient corresponding to the processing speed to each of these elements. By multiplying and obtaining the sum, it is possible to calculate easily, and the time required for multi-value expansion of characters is
The time required for the binary expansion can be calculated as the time obtained by multiplying the number of subpixels of one pixel. If the sum calculation time for the pixel value of the sub-pixel cannot be ignored in the multi-value expansion, the time required for the multi-value expansion includes:
Further, the total sum calculation time is added.

【0037】このように予測した多値展開に要する時間
が時間Tmax以上であると判別すれば、展開方式決定部
252は、当該文字に対して二値展開の適用を決定する
一方、予測した時間が時間Tmaxよりも短いと判別すれ
ば、さらにステップS203における判別を行う。な
お、展開方式決定部252は、ステップS202におい
て、文字の多値展開に要する時間が時間Tmaxよりも短
いか否かを判別するのではなく、文字の二値展開に要す
る時間と、文字の多値展開に要する時間との双方を比較
して、その比較結果に基づいて判別しても良い。例え
ば、両者の差がしきい値以内であるか否かを判別した
り、両者の差と文字の多値展開に要する時間とを組み合
わせて判別しても良い。
If it is determined that the time required for the multi-value expansion predicted in this way is equal to or longer than the time Tmax, the expansion method determination unit 252 determines the application of the binary expansion to the character, while Is shorter than the time Tmax, the determination in step S203 is further performed. In step S202, the expansion method determination unit 252 does not determine whether the time required for multi-value expansion of the character is shorter than the time Tmax. The time required for the value development may be compared, and the determination may be made based on the comparison result. For example, it may be determined whether or not the difference between them is within a threshold value, or may be determined by combining the difference between the two and the time required for multi-value expansion of a character.

【0038】また、文字の展開に要する時間を予測する
ステップS202は、展開処理の高速化に直接貢献する
処理ではなく、むしろ、展開処理全体からみれば無駄時
間的な意味合いを有する処理と言える。したがって、こ
の予測に必要以上に時間を費やすのは、処理時間の短縮
化を図るという本発明の目的にはそぐわない。そこで、
展開方式決定部252は、ステップS202において、
ある時間以上経過しても、文字の多値展開に要する時間
を求めることができない場合、それ以降の判断手順(選
択条件)を変更する。例えば、この場合、展開方式決定
部252は、強制的に手順をステップS203にスキッ
プさせたり、当該文字に対して二値展開の適用を決定す
る。
The step S202 of estimating the time required for character expansion is not a processing directly contributing to speeding up of the expansion processing, but rather a processing having a dead time meaning from the viewpoint of the entire expansion processing. Therefore, spending more time than necessary on this prediction does not meet the purpose of the present invention of shortening the processing time. Therefore,
The expansion method determination unit 252 determines in step S202
If the time required for multi-value expansion of a character cannot be obtained even after a certain time has elapsed, the subsequent determination procedure (selection condition) is changed. For example, in this case, the expansion method determination unit 252 forcibly skips the procedure to step S203 or determines the application of binary expansion to the character.

【0039】さて、展開方式決定部252は、ステップ
S203において、出力すべき文字についてのフォント
データを解釈し、その書体について展開方式の指定が
「多値展開可能」となっているか否かを、図5に示した
フォントテーブルを参照して判別する。そして、展開方
式決定部252は、当該文字の書体における展開方式の
指定が「二値展開のみ」であると判別すれば、当該文字
に対して二値展開の適用を決定する一方、「多値展開可
能」と判別するば、さらにステップS204において、
当該文字のサイズがしきい値Smax以下であるか否かを
判別する。
In step S203, the expansion method determination unit 252 interprets the font data of the character to be output, and determines whether or not the expansion method is designated as "multi-value expansion possible" for the typeface. The determination is made with reference to the font table shown in FIG. If the expansion method determination unit 252 determines that the specification of the expansion method in the typeface of the character is “only binary expansion”, the expansion method determination unit 252 determines the application of the binary expansion to the character, If it is determined that “deployment is possible”, further in step S204,
It is determined whether or not the size of the character is equal to or smaller than a threshold value Smax.

【0040】ここで、文字のサイズが大きくなると、そ
れだけ文字を構成する画素数が多くなるので、文字の展
開に時間を要することになり、また、文字に対して画素
が相対的に小さくなるので、二値化展開によってもジャ
ギーが目立たない。反対に、文字のサイズが小さくなる
と、それだけ文字を構成する画素数が少なくなるので、
文字の展開にそれほど時間を要さず、また、文字に対し
て画素が相対的に大きくなるので、二値化展開によれば
ジャギーが目立つ。
Here, as the size of the character increases, the number of pixels constituting the character increases accordingly, so that it takes time to develop the character, and the pixels become relatively small with respect to the character. The jaggies are not noticeable by the binarization. Conversely, the smaller the character size, the smaller the number of pixels that make up the character,
Since it does not take much time to develop a character and the pixels are relatively large with respect to the character, jaggies are noticeable according to the binarization.

【0041】そこで、展開方式決定部252は、当該文
字についてのフォントデータを解釈し、その文字サイズ
がしきい値Smax以上である判別すれば、当該文字に対
して二値展開の適用を決定する一方、文字サイズがしき
い値Smaxよりも小さいと判別すれば、さらにステップ
S203において、当該文字の文字コードが多値展開文
字コードであるか否かを判別する。ここで、多値展開文
字コードとは、図6に示した文字コードテーブルにおい
て、「多値展開可能」が指定された文字コードをいう。
展開方式決定部252は、当該文字についてのフォント
データを解釈して、その文字コードが多値展開文字コー
ドでないと判別すれば、当該文字に対して二値展開の適
用を決定する一方、多値展開文字コードであると判別す
れば、当該文字に対して多値展開の適用を決定する。し
たがって、当該文字が和文フォントである場合、展開方
式決定部252は、当該文字が英数字、ひらがな、カタ
カナ、あるいは、漢字であるかの区別にしたがっても展
開方式を判別することなる。
Therefore, the expansion method determination unit 252 interprets the font data of the character and, when determining that the character size is equal to or larger than the threshold value Smax, determines the application of the binary expansion to the character. On the other hand, if it is determined that the character size is smaller than the threshold value Smax, it is further determined in step S203 whether or not the character code of the character is a multivalued expanded character code. Here, the multi-value expansion character code is a character code in which “multi-value expansion is possible” is specified in the character code table shown in FIG.
The expansion method determination unit 252 interprets the font data of the character and, when determining that the character code is not a multi-value expansion character code, determines application of binary expansion to the character, If it is determined that the character code is an expanded character code, the application of multi-value expansion to the character is determined. Therefore, when the character is a Japanese font, the expansion method determining unit 252 determines the expansion method according to whether the character is an alphanumeric character, a hiragana, a katakana, or a kanji.

【0042】<1−2−1−2:文字の描画>以上のよ
うに、識別されたオブジェクトが文字である場合におい
て、展開方式決定部252が、出力すべき文字に対して
多値展開の適用か、二値展開の適用かを決定する。その
決定にしたがって展開方式選択部253は、その文字に
かかるフォントデータを、その決定にしたがって二値展
開部254あるいは多値展開部255のいずれか一方に
供給する。二値展開部254あるいは多値展開部255
は、その文字についてのフォントデータを用いて、それ
ぞれの展開方式にてラスターデータに展開する。次に、
この展開処理について詳述する。図10は、その展開の
処理手順を示すフローチャートである。この図におい
て、ステップS401〜S403は、二値展開部254
および多値展開部255において共通して実行される
が、ステップS404は、二値展開部254のみによっ
て実行される一方、ステップS405〜S406は、多
値展開部255のみによって実行されるものである。
<1-2-1-2: Drawing of Character> As described above, when the identified object is a character, the expansion method determination unit 252 performs multi-level expansion on the character to be output. Determine whether to apply or binary expansion. According to the determination, the expansion method selection unit 253 supplies the font data for the character to either the binary expansion unit 254 or the multi-value expansion unit 255 according to the determination. Binary expansion section 254 or multi-level expansion section 255
Expands into raster data by using each font system using font data of the character. next,
This expansion processing will be described in detail. FIG. 10 is a flowchart showing a processing procedure of the development. In this figure, steps S401 to S403 are performed by a binary developing unit 254.
Step S404 is executed only by the binary expansion section 255, while steps S405 to S406 are executed only by the multilevel expansion section 255. .

【0043】はじめに、二値展開の処理について説明す
る。まず、二値展開部254は、ステップS401にお
いて、出力すべき文字についてのフォントデータを解釈
して、アウトラインデータや、ヒント情報などをデコー
ドする。このうち、ヒント情報とは、文字の一部分につ
いて文字の展開方式を強制的に指定する情報である。例
えば、書体「Century」における「4」という数
字のアウトラインは、図11に示すようなものである
が、展開方式やサイズによっては、ラインL11やL1
2が細すぎたり消失して、数字の「1」と混同してしま
う。そこで、このようなラインL11やL12にかかる
画素を意図的に太らせたり消失しないように展開させる
のがヒント情報である。なお、この場合のヒント情報
は、ラインL11やL12にかかる画素を強制的に描画
領域とすることを指定する情報となる。
First, the processing of binary expansion will be described. First, in step S401, the binary developing unit 254 interprets font data of a character to be output and decodes outline data, hint information, and the like. Among them, the hint information is information for forcibly specifying a character expansion method for a part of the character. For example, the outline of the numeral “4” in the typeface “Century” is as shown in FIG. 11, but depending on the development method and size, the lines L11 and L1
2 is too thin or disappears and is confused with the number "1". Therefore, the hint information is such that the pixels on such lines L11 and L12 are developed so as not to be intentionally fattened or lost. Note that the hint information in this case is information that specifies that pixels on the lines L11 and L12 are forcibly set as a drawing area.

【0044】次に、二値展開部254は、ステップS4
02において、アウトラインデータのアウトライン制御
点を、画像出力部300の解像度に対応する画素配列に
おいて、サイズデータで指定された大きさで、座標デー
タで指定された座標にて位置決めする。例えば、書体
「Century」における「4」という数字のアウト
ライン制御点は、図12(a)において丸印で示される
点であり、これを二値展開部254は、同図(b)に示
すように、画像出力部300の解像度に対応する画素配
列に対して、サイズデータで指定された大きさ、座標デ
ータで指定された座標にて位置決めする。ここで、二値
展開部254は、画素配列において位置決めしたいくつ
かの制御点を曲線で結ぶように指定されている場合、ス
テップS403において必要に応じて、この曲線を複数
の直線で近似する。なお、ステップS403の処理は任
意である。
Next, the binary expansion unit 254 determines in step S4
In 02, the outline control point of the outline data is positioned at the size specified by the size data and the coordinates specified by the coordinate data in the pixel array corresponding to the resolution of the image output unit 300. For example, the outline control point of the number “4” in the typeface “Century” is a point indicated by a circle in FIG. 12A, and the binary expansion unit 254 determines this as shown in FIG. Next, positioning is performed with respect to the pixel array corresponding to the resolution of the image output unit 300 at the size specified by the size data and the coordinates specified by the coordinate data. Here, when it is specified that some control points positioned in the pixel array are connected by a curve, the binary developing unit 254 approximates the curve with a plurality of straight lines as necessary in step S403. Note that the processing in step S403 is optional.

【0045】さらに、二値展開部254は、位置決めし
た制御点で囲まれる閉領域の各画素に対して、ステップ
S404において所定のアルゴリズムを用いてそれぞれ
に画素値を与える。例えば、閉領域が少しでも画素にか
かっていれば、当該画素に「1」という画素値を与える
(塗りつぶす)一方、そうでなければ、当該画素に
「0」という画素値を与える(塗りつぶさない)。そし
て、二値展開部254は、この処理結果を、画像記憶部
206において画像出力部300の画素と1対1に対応
する領域に書き込む。これにより、画像記憶部206に
おいては、画像出力部300の各画素に対応する領域
に、その画素を塗りつぶすべきか否かを示すラスターデ
ータが二値化されて格納されることになる。ここで、こ
のような二値化処理が、例えば、図12(b)に示すよ
うに、アウトライン制御点が位置決めされた閉領域に実
行されると、同図(c)に示すように、閉領域の画素
は、そのエッジ部分とともに、塗りつぶされることとな
る。
Further, in step S404, the binary developing unit 254 gives a pixel value to each pixel in the closed region surrounded by the positioned control point by using a predetermined algorithm. For example, if the closed area covers any pixel, a pixel value of “1” is given (filled) to the pixel, whereas a pixel value of “0” is given to the pixel (not filled) otherwise. . Then, the binary developing unit 254 writes this processing result in an area of the image storage unit 206 corresponding to the pixels of the image output unit 300 on a one-to-one basis. As a result, in the image storage unit 206, raster data indicating whether or not the pixel should be painted is binarized and stored in an area corresponding to each pixel of the image output unit 300. Here, when such a binarization process is executed in a closed region where the outline control point is positioned as shown in FIG. 12B, for example, as shown in FIG. The pixels in the region are filled together with the edge portions.

【0046】また、二値展開部254は、二値展開の際
に、画像記憶部206において、その画素に関連付けら
れる領域に、そのラスターデータが二値展開された旨を
示す識別データも書き込む。二値展開部254は、フォ
ントデータを用いたラスターデータへの展開を、二値展
開の適用が決定された文字のすべてについて実行する。
Further, at the time of the binary development, the binary developing unit 254 also writes identification data indicating that the raster data has been binary-developed in an area associated with the pixel in the image storage unit 206. The binary developing unit 254 performs the rasterization using the font data on all the characters for which the binary development is determined to be applied.

【0047】次に、多値展開の処理について説明する。
この場合、多値展開部255は、ステップS401から
S403までは、二値展開部254と同様な動作を実行
する。すなわち、多値展開部255は、ステップS40
1において、フォントデータを解釈して、必要な情報を
デコードし、ステップS402において、アウトライン
データのアウトライン制御点を、画像出力部300の解
像度に対応する画素配列において位置決めし、必要に応
じてステップS403において、位置決めしたいくつか
の制御点を結ぶ曲線を、複数の直線で近似する。
Next, the multi-value expansion processing will be described.
In this case, the multi-level developing unit 255 performs the same operation as the binary developing unit 254 from step S401 to S403. That is, the multi-value expansion unit 255 determines in step S40
In step S1, the font data is interpreted and necessary information is decoded. In step S402, the outline control points of the outline data are positioned in a pixel array corresponding to the resolution of the image output unit 300. In, a curve connecting several positioned control points is approximated by a plurality of straight lines.

【0048】ここで、多値展開部255は、位置決めし
た制御点で囲まれる閉領域の各画素を、ステップS40
5において、それぞれサブピクセルに分割するととも
に、サブピクセル毎に所定のアルゴリズムで画素値を与
える。例えば、閉領域がサブピクセルの面積の半分以上
となっていれば、当該サブピクセルに「1」という画素
値を与える一方、そうでなければ、当該サブピクセルに
「0」という画素値を与える。さらに、ステップS40
6において、サブピクセルに与えた画素値の総和を画素
毎に算出し、当該画素について多値化した画素値とし
て、画像記憶部206において画像出力部300の画素
と1対1に対応する領域に書き込む。これにより、画像
記憶部206においては、画像出力部300の各画素に
対応する領域に、その画素の面積階調度を示すラスター
データが多値化されて格納されることになる。したがっ
て、このような多値化処理が、例えば、図11(b)に
示すように、アウトライン制御点が位置決めされた閉領
域に実行されると、同図(d)に示すように、閉領域の
エッジ部分は、その閉領域の面積比率に対応した画素値
となる一方、エッジ部分以外の部分は、描画の有無に応
じて、サブピクセルの分割数に応じた階調数の最低値あ
るいは最高値となる。
Here, the multi-value developing unit 255 converts each pixel in the closed region surrounded by the positioned control point into a pixel in step S40.
In step 5, each pixel is divided into sub-pixels, and a pixel value is given to each sub-pixel by a predetermined algorithm. For example, if the area of the closed region is equal to or more than half of the area of the sub-pixel, the pixel value of “1” is given to the sub-pixel. Otherwise, the pixel value of “0” is given to the sub-pixel. Further, step S40
In 6, the sum of the pixel values given to the sub-pixels is calculated for each pixel, and the multi-valued pixel value is calculated for the pixel in the area corresponding to the pixel of the image output unit 300 on a one-to-one basis in the image storage unit 206. Write. As a result, in the image storage unit 206, raster data indicating the area gradient of the pixel is multi-valued and stored in a region corresponding to each pixel of the image output unit 300. Therefore, when such a multi-value processing is executed in a closed area where the outline control point is positioned as shown in FIG. 11B, for example, as shown in FIG. The edge portion has a pixel value corresponding to the area ratio of the closed region, while the portion other than the edge portion has the lowest or highest gradation number according to the number of sub-pixel divisions according to the presence or absence of drawing. Value.

【0049】また、多値展開部255は、多値展開の際
に、画像記憶部206において、その画素に関連付けら
れる領域に、そのラスターデータが多値展開された旨を
示す識別データも書き込む。このように、多値展開部2
55は、フォントデータを用いたラスターデータへの展
開を、多値展開の適用が決定された文字のすべてについ
て実行する。
Further, at the time of multi-value development, the multi-value development unit 255 also writes identification data indicating that the raster data has been multi-value developed into an area associated with the pixel in the image storage unit 206. Thus, the multi-value expansion unit 2
Reference numeral 55 executes development to raster data using font data for all characters for which application of multi-value development has been determined.

【0050】<1−2−2:線画出力の場合>次に、識
別したオブジェクトが線画である場合、図7のステップ
S104において実行される線画描画の処理について説
明する。
<1-2-2: Case of Line Drawing Output> Next, the line drawing processing executed in step S104 of FIG. 7 when the identified object is a line drawing will be described.

【0051】<1−2−2−1:展開方式の決定>展開
方式決定部252は、図9に示すフローチャートにした
がって、線画であると識別されたオブジェクトについ
て、文字と同様に、多値展開処理を適用すべきか、二値
展開処理を適用すべきかを判定する。
<1-2-2-1: Determination of Expansion Method> The expansion method determination unit 252 performs multi-level expansion on an object identified as a line drawing in the same manner as a character, according to the flowchart shown in FIG. It is determined whether the processing should be applied or the binary expansion processing should be applied.

【0052】まず、線画と識別されたオブジェクトを出
力する場合、展開方式決定部252は、ステップS30
1において多値展開の指定がユーザによってなされてい
るかを判別する。展開方式決定部252は、多値展開が
指定されていなければ、当該線画に対して二値展開の適
用を決定する一方、多値展開が指定されていれば、さら
にステップS302において、その線画の多値展開に要
する時間を予測し、その予測時間がしきい値たる時間T
maxよりも短いか否かを判別する。
First, when outputting an object identified as a line drawing, the expansion method determination unit 252 determines in step S30
In step 1, it is determined whether or not the user has designated the multi-value expansion. If the multi-level expansion is not specified, the expansion method determination unit 252 determines the application of the binary expansion to the line drawing. On the other hand, if the multi-level expansion is specified, the expansion method determination unit 252 further proceeds to step S302. The time T required for predicting the time required for multi-value expansion and the predicted time being a threshold
It is determined whether or not it is shorter than max.

【0053】ここで、出力すべき線画が長くなると、そ
れだけ線画を構成する画素数が多くなるので、展開に時
間を要することになる。したがって、線画の展開に要す
る時間は、線画についてのベクトルデータを解釈し、後
述する方法によって当該線画の長さなどの要素を求める
とともに、これら各要素にそれぞれ処理速度に応じた係
数を乗じて、総和を求められることで、簡易的に算出す
ることが可能であり、また、線画の多値展開に要する時
間は、文字の場合と同様に、二値展開に要する時間を1
画素のサブピクセル数倍した時間として算出することが
可能となる。なお、多値展開においてサブピクセルの画
素値についての総和算出時間を無視できない場合には、
線画の多値展開に要する時間には、さらに、この総和算
出時間が加わる点も文字の場合と同様である。
Here, as the length of the line drawing to be output becomes longer, the number of pixels constituting the line drawing increases, so that it takes time to develop. Therefore, the time required for the development of the line drawing is determined by interpreting vector data of the line drawing, obtaining elements such as the length of the line drawing by a method described later, and multiplying each of these elements by a coefficient corresponding to the processing speed. By calculating the sum, it is possible to easily calculate the sum. In addition, the time required for multi-value development of a line drawing is the same as the time required for binary development for one character.
This can be calculated as the time multiplied by the number of sub-pixels of the pixel. If the sum calculation time for the pixel value of the sub-pixel cannot be ignored in the multi-value expansion,
The time required for multi-value expansion of a line drawing is added to the sum calculation time, similarly to the case of characters.

【0054】このように予測した多値展開に要する時間
が時間Tmax以上であると判別すれば、展開方式決定部
252は、当該線画に対して二値展開の適用を決定する
一方、予測した時間が時間Tmaxよりも短いと判別すれ
ば、さらにステップS303における判別を行う。な
お、展開方式決定部252は、ステップS302におい
て、線画の多値展開に要する時間が時間Tmaxよりも短
いか否かを判別するのではなく、線画の二値展開に要す
る時間と、線画の多値展開に要する時間との双方を比較
して、その比較結果に基づいて判別しても良いのは、文
字の場合と同様である。また、展開方式決定部252
が、ステップS302において、ある時間以上経過して
も、線画の多値展開に要する時間を求めることができな
い場合、それ以降の判断手順を変更して良い点も、文字
の場合と同様である。
If it is determined that the time required for the multi-value expansion predicted in this way is equal to or longer than the time Tmax, the expansion method determination unit 252 determines the application of the binary expansion to the line image, Is shorter than the time Tmax, the determination in step S303 is further performed. In step S302, the development method determination unit 252 does not determine whether the time required for the multi-value development of the line drawing is shorter than the time Tmax. It is the same as in the case of a character that both the time required for value development and the determination may be compared based on the comparison result. Also, the deployment method determination unit 252
However, in the case where it is not possible to obtain the time required for multi-value expansion of the line drawing even after a certain time has elapsed in step S302, the subsequent determination procedure may be changed, similarly to the case of the character.

【0055】さて、展開方式決定部252は、ステップ
S303において、出力すべき線画についてのベクトル
データを解釈し、後述する方法によってその線画の角度
が水平あるいは垂直に近いか否かを判別する。ここで、
線画の角度が水平あるいは垂直に近くなると、それだけ
ジャギーが目立つのは、良く知られたことである。そこ
で、展開方式決定部252は、線画の角度が水平あるい
は垂直に近くなければ、当該線画に対して二値展開の適
用を決定する一方、水平あるいは垂直に近ければ、さら
にステップS304において、当該線画がしきい値Lma
xよりも短いか否かを判別する。
In step S303, the expansion method determination unit 252 interprets the vector data of the line drawing to be output, and determines whether or not the angle of the line drawing is nearly horizontal or vertical by a method described later. here,
It is well known that jaggies become more noticeable as the angle of the line drawing approaches horizontal or vertical. Therefore, if the angle of the line image is not close to horizontal or vertical, the expansion method determination unit 252 determines the application of the binary expansion to the line image. Is the threshold Lma
Determine whether it is shorter than x.

【0056】一般に、線画が長くなると、それだけ線画
を構成する画素数が多くなるので、展開に時間を要する
のは上述した通りである。このため、展開方式決定部2
52は、線画にかかるベクトルデータを解釈し、後述す
る方法によって線画の長さを求めるとともに、それがし
きい値Lmax以上であると判別すれば、当該線画に対し
て二値展開の適用を決定する一方、しきい値Lmaxより
も短いと判別すれば、さらにステップS305におい
て、当該線画の線幅がしきい値Winよりも広く、かつ、
しきい値Wmaxよりも狭いか否かを判別する。ここで、
線画の長さと線幅とは表裏一体であり、一方を線幅と考
えると、他方は長さと考えることができる。このため、
展開方式決定部252は、線画についてのベクトルデー
タを解釈して、線幅を求めるとともに、それがしきい値
Wmax以上であると判別すれば、当該線画に対して二値
展開の適用を決定する一方、しきい値Wmaxよりも狭い
と判別すれば、当該線画に対して多値展開の適用を決定
する。ただし、線画が短く、かつ、線幅が狭い場合、そ
の線画は微少面積での描画であって、ジャギーは目立た
ないと考えられる。このため、展開方式決定部252
は、ステップS305において、線幅がしきい値Winよ
りも狭いと判別すれば、当該線画に対しては二値展開の
適用を決定する。
In general, as the length of a line drawing increases, the number of pixels constituting the line drawing increases accordingly. As described above, it takes time to develop the line drawing. For this reason, the deployment method determination unit 2
52 interprets the vector data of the line drawing, obtains the length of the line drawing by a method described later, and determines that the binary expansion is applied to the line drawing when it is determined that the length is equal to or larger than the threshold value Lmax. On the other hand, if it is determined that the line drawing is shorter than the threshold Lmax, the line width of the line image is wider than the threshold Win in step S305, and
It is determined whether or not it is smaller than the threshold value Wmax. here,
The length and line width of a line drawing are two sides of the same coin, and if one is considered as a line width, the other can be considered as a length. For this reason,
The expansion method determination unit 252 interprets the vector data of the line image to determine the line width, and if it is determined that the line width is equal to or larger than the threshold value Wmax, determines the application of the binary expansion to the line image. On the other hand, if it is determined that the line drawing is smaller than the threshold value Wmax, the application of the multi-value expansion to the line drawing is determined. However, when the line drawing is short and the line width is narrow, the line drawing is a drawing with a very small area, and it is considered that jaggies are not conspicuous. For this reason, the deployment method determination unit 252
If it is determined in step S305 that the line width is smaller than the threshold value Win, the application of binary expansion to the line drawing is determined.

【0057】ここで、線画の角度、長さおよび線幅の算
出について説明する。一般に、PDLを用いて線画を出
力する場合、その始点や終点などの端点がページ上の座
標でそれぞれ指定される。ここで、図13に示すよう
に、描画すべき直線が、2つの端点A、Bによって規定
され、それらの座標が、それぞれA(xa、ya)、B
(xb、yb)で表される場合に、両者を結ぶ直線ABと
ページ上のX軸とのなす角度αは、次式によって与えら
れる。
Here, the calculation of the angle, length and line width of a line drawing will be described. Generally, when a line drawing is output using PDL, end points such as a start point and an end point are designated by coordinates on a page. Here, as shown in FIG. 13, a straight line to be drawn is defined by two end points A and B, and their coordinates are A (xa, ya) and B, respectively.
When represented by (xb, yb), the angle α between the straight line AB connecting the two and the X axis on the page is given by the following equation.

【0058】xa≠xbの場合 α=tan-1{(yb−ya)/(xb−xa)} xa=xbの場合 α=π/2When xa ≠ xb α = tan −1 {(yb−ya) / (xb−xa)} When xa = xb α = π / 2

【0059】また、直線ABの長さLは、次式によって
与えられる。 L=√{(xb−xa)2+(yb−ya)2
The length L of the straight line AB is given by the following equation. L = {(xb−xa) 2 + (yb−ya) 2 }

【0060】一方、PDLを用いて、線幅を有する線画
を出力する場合、図14に示すように、その始点および
終点とともにその線幅をページ上のスケールで指定する
方法や、図15に示すように、その対角座標をページ上
の座標でそれぞれ指定する方法などが考えられる。ここ
で、図14に示す方法において、直線ABの線幅はWで
ある(見方を変えれば(xb−xa)が線幅と考えられ
る)。また、図15に示す方法において、直線ABの線
幅は(yb−ya)である(見方を変えれば(xb−xa)
が線幅と考えられる)。
On the other hand, when a line drawing having a line width is output using PDL, as shown in FIG. 14, a method of designating the line width together with its start point and end point by a scale on a page, and FIG. As described above, a method of designating the diagonal coordinates by the coordinates on the page can be considered. Here, in the method shown in FIG. 14, the line width of the straight line AB is W (in other words, (xb−xa) is considered to be the line width). Further, in the method shown in FIG. 15, the line width of the straight line AB is (yb-ya) (in other words, (xb-xa)
Is considered the line width).

【0061】このように、展開方式決定部252は、線
画にかかるベクトルデータを解釈し、線画の角度、長さ
および線幅を求めることによって、上記ステップS30
1〜S305の判別が可能となる。
As described above, the development method determination unit 252 interprets the vector data of the line drawing and obtains the angle, length, and line width of the line drawing, thereby obtaining the step S30.
1 to S305 can be determined.

【0062】<1−2−2−2:線画の描画>以上のよ
うに、識別されたオブジェクトが線画である場合におい
て、展開方式決定部252が多値展開の適用か、二値展
開の適用かを決定する。その決定にしたがって展開方式
選択部253は、その線画にかかるベクトルデータを、
その決定にしたがって二値展開部254あるいは多値展
開部255のいずれか一方に供給する。二値展開部25
4あるいは多値展開部255は、その線画にかかるベク
トルデータを、それぞれの展開方式にてラスターデータ
に展開する。これらの処理手順は、基本的に図10に示
した文字の描画と同様であるが、相違点は、文字展開に
おけるサイズという概念が存在しない点である。このた
め、二値展開部254あるいは多値展開部255は、ス
テップS401において、ベクトルデータの端点情報を
解釈し、ステップS402において、その端点を、画像
出力部300の解像度に対応する画素配列において、指
定された座標に位置決めすることになる。以降の手順
は、文字の場合と同様である。すなわち、二値展開部2
54は、端点で囲まれる閉領域を二値化する一方、多値
展開部255は、閉領域を多値化する。
<1-2-2-2: Drawing of Line Drawing> As described above, when the identified object is a line drawing, the expansion method determination unit 252 applies multi-value expansion or binary expansion. To decide. According to the determination, the expansion method selection unit 253 converts the vector data of the line drawing into
According to the determination, the data is supplied to either the binary expansion unit 254 or the multi-level expansion unit 255. Binary expansion unit 25
The 4 or multi-value expansion unit 255 expands the vector data relating to the line drawing into raster data according to each expansion method. These processing procedures are basically the same as the character drawing shown in FIG. 10, except that there is no concept of size in character development. For this reason, the binary expansion unit 254 or the multi-level expansion unit 255 interprets the end point information of the vector data in step S401, and determines the end point in the pixel array corresponding to the resolution of the image output unit 300 in step S402. It will be positioned at the specified coordinates. Subsequent procedures are the same as those for characters. That is, the binary expansion unit 2
Numeral 54 binarizes the closed region surrounded by the end points, while the multi-level developing unit 255 binarizes the closed region.

【0063】以上の動作が、コード画像データに含まれ
るすべての文字および線画のオブジェクトに対して実行
され、二値展開部254あるいは多値展開部255によ
ってラスターデータに展開されて、識別データとともに
画像記憶部206の対応領域に格納されることとなる。
また、ラスター(イメージ)データも適切な処理の後、
画像記憶部206の対応領域に格納されることとなる。
なお、ラスター(イメージ)データは多値であるから、
その旨が識別データで示される。そして、画像記憶部2
06に格納されたラスターデータおよび識別データは、
画像出力部300の走査方向にしたがって読み出され
る。ここで、画像出力部300は、例えば、識別データ
が二値化された旨を示せば、ラスターデータに基づく画
像形成について最高のスクリーン線数で実行する一方、
識別データが多値化された旨を示せば、ラスターデータ
に基づく画像形成についてスクリーン線数を落として実
行する。これにより、二値化されたラスターデータは、
最高解像度で出力される一方、多値化されたラスターデ
ータは、中間階調にて画像出力されることとなる。
The above operation is performed on all the character and line drawing objects included in the code image data, and is developed into raster data by the binary developing unit 254 or the multi-value developing unit 255, and the image is displayed together with the identification data. The data is stored in the corresponding area of the storage unit 206.
In addition, after processing the raster (image) data appropriately,
The data is stored in the corresponding area of the image storage unit 206.
Since raster (image) data is multi-valued,
This is indicated by the identification data. Then, the image storage unit 2
The raster data and identification data stored in 06 are
It is read out according to the scanning direction of the image output unit 300. Here, the image output unit 300 performs the image formation based on the raster data at the highest screen ruling, for example, if it indicates that the identification data has been binarized.
If it is indicated that the identification data has been converted into multi-valued data, the image formation based on the raster data is executed with a reduced screen ruling. Thereby, the binarized raster data is
While the raster data is output at the highest resolution, the multi-valued raster data is output as an image at an intermediate gradation.

【0064】<2:第2実施形態> <2−1:実施形態の前提>次に本発明の第2実施形態
を説明するが、その前提として画像出力部300におけ
る出力処理およびそれに起因して発生する問題点につい
て説明しておく。
<2: Second Embodiment><2-1: Assumption of Embodiment> Next, a second embodiment of the present invention will be described. The problems that occur will be described.

【0065】<2−1−1:サブピクセルの出力>画像
出力部300としてレーザ方式が採用される場合には、
三角波のレベルと画素値との比較結果に基づいてレーザ
のオンオフを行うことが一般的である。その詳細を図1
8に示す。同図(a)〜(c)は、各種の三角波のパターンを
示す。これらの図においてTLは画素値のレベルを示
す。
<2-1-1: Output of Sub-Pixel> When a laser system is adopted as the image output unit 300,
Generally, the laser is turned on and off based on the result of comparison between the level of the triangular wave and the pixel value. Figure 1 shows the details
FIG. 5A to 5C show various triangular wave patterns. In these figures, TL indicates the level of the pixel value.

【0066】画像出力部300は何れかの三角波を選択
し、画素値TLが選択した三角波のレベルよりも高い場
合にレーザビームをオンにし、それ以外の場合はオフに
する。レーザビームがオンにされた区間においては用紙
にトナーが定着するから、各三角波に応じたサブピクセ
ルの形状は同図(d)〜(f)に示すようになる。
The image output unit 300 selects one of the triangular waves, turns on the laser beam when the pixel value TL is higher than the level of the selected triangular wave, and turns off the laser beam otherwise. In the section where the laser beam is turned on, the toner is fixed on the sheet, and the shapes of the sub-pixels corresponding to the respective triangular waves are as shown in FIGS.

【0067】ここで、処理対象画素に隣接する画素(図
示せず)の濃度が100%である場合は、これに連続す
るサブピクセルが出力されるように三角波が選択され
る。例えば、対象画素の左側に100%濃度の画素が存
在するならば、三角波は同図(a)に示すものでなければ
ならない。仮に同図(b)あるいは(c)の三角波を選択する
と、文字や線画の輪郭が二重になるという不具合が生じ
る。
Here, when the density of a pixel (not shown) adjacent to the pixel to be processed is 100%, a triangular wave is selected so that a sub-pixel continuous to the pixel is output. For example, if a 100% density pixel exists to the left of the target pixel, the triangular wave must be as shown in FIG. If the triangular wave shown in (b) or (c) is selected, a problem occurs in that the outline of a character or a line drawing is doubled.

【0068】<2−1−2:ラスターデータの中抜き処
理>種々の写真や絵柄などのラスターデータを背景とし
て、その上に文字または線画を出力する場合がある。そ
の一例を図19を参照し説明する。同図(a)は原画像デ
ータであり、正方形の青色のラスターデータに「佐」の
文字が重ねられている。画像出力部300の原色をK
(黒)、Y(黄)、M(マゼンタ)、C(シアン)とし
たとき、各原色プレーンの内容を同図(b)〜(e)に示す。
文字色は「黒」であるから、原色はK色のみである。ラ
スターデータは「青」であり、原色はM色およびC色に
なる。
<2-1-2: Raster data hollowing-out process> In some cases, text or line drawings are output on the background of raster data such as various photographs and pictures. One example will be described with reference to FIG. FIG. 7A shows original image data in which the character “SA” is superimposed on square blue raster data. The primary color of the image output unit 300 is K
(B)-(e) show the contents of each primary color plane when (black), Y (yellow), M (magenta), and C (cyan).
Since the character color is "black", the primary color is only K color. The raster data is “blue”, and the primary colors are M and C.

【0069】ここで、同図(d),(e)においては、ラスタ
ーデータのうち文字と重なる領域については、予め無色
になるように中抜き処理が施されている。これは、文字
または線画とラスターデータとを重ねて出力すると、文
字の部分の色調が崩れるため、これを防止したものであ
る。
Here, in FIGS. 9D and 9E, an area of the raster data that overlaps with the character is previously subjected to a blanking process so as to be colorless. This is to prevent the color tone of the character portion from being destroyed when the character or line drawing and the raster data are output in a superimposed manner.

【0070】<2−1−3:境界部分の不具合>図20
に、グレーのラスターデータ(画素値=64)に重ねて
黒色(画素値=255)の文字を描いた原画像データを
示す。また、同図の文字とラスターデータの境界部分の
拡大図を図21(a)および(b)に示す。同図(a)において
は、文字の輪郭部分の画素の濃度は100%になってい
る。一方、同図(b)においては、多値化処理によって、
これら画素の濃度は50%になっている。
<2-1-3: Problem at Boundary Part> FIG.
Shows original image data in which black (pixel value = 255) characters are drawn over gray raster data (pixel value = 64). 21 (a) and 21 (b) are enlarged views of a boundary portion between the character and the raster data in FIG. In FIG. 9A, the density of the pixels in the outline portion of the character is 100%. On the other hand, in FIG.
The density of these pixels is 50%.

【0071】次に、これらの原画像データに対して、図
18において説明したサブピクセルの形成を行った結果
を図21(c)および(d)に示す。同図(c)においては特に
不具合は見受けられないが、同図(d)においては、ラス
ターデータと文字との境界部分におけるサブピクセルが
全て右側に偏ったものになっている。これは、輪郭部分
の画素はその右側にある100%濃度の画素に連続させ
る必要があるため、図18(c)の三角波が常に選択され
たためである。
FIGS. 21C and 21D show the results of forming the sub-pixels described with reference to FIG. 18 on these original image data. No particular problem is seen in FIG. 9C, but in FIG. 9D, all sub-pixels at the boundary between the raster data and the character are biased to the right. This is because the pixels in the outline need to be connected to the 100% density pixels on the right side, and the triangular wave in FIG. 18C is always selected.

【0072】従って、同図(d)の出力結果においては、
文字とラスターデータの境界部分に白い輪郭線が発生す
るという不具合が生ずる。図21の例は原画像データが
モノクロであった場合を説明したが、カラー画像データ
をモノクロプリンタで出力する場合、カラー画像データ
をカラープリンタのモノクロモードで出力する場合も同
様である。さらに、カラー画像データをカラープリンタ
のカラーモードで出力する場合であっても、文字等とラ
スターデータとが同一の原色を有する場合はその原色に
おいて同様の不具合が発生する。
Therefore, in the output result of FIG.
There is a problem that a white outline is generated at the boundary between the character and the raster data. Although the example of FIG. 21 describes the case where the original image data is monochrome, the same applies to a case where color image data is output by a monochrome printer and a case where color image data is output in a monochrome mode of a color printer. Further, even when the color image data is output in the color mode of the color printer, if the characters and the like and the raster data have the same primary color, the same problem occurs in the primary color.

【0073】<2−2:実施形態の構成および動作>本
実施形態の構成および動作は第1実施形態と同様であ
る。但し、文字または線画出力において二値展開を行う
か多値展開を行うかの判断ルーチンは第1実施形態とは
異なるため、これらのルーチンについて説明する。
<2-2: Configuration and Operation of Embodiment> The configuration and operation of this embodiment are the same as those of the first embodiment. However, since the routine for determining whether to perform binary expansion or multi-level expansion on character or line drawing output is different from that in the first embodiment, these routines will be described.

【0074】<2−2−1:文字の展開方式の決定>本
実施形態においては、メインルーチン(図7)において
処理がステップS103に進むと、図22に示すルーチ
ンが呼び出される。図において処理がステップS501
に進むと、展開対象文字がラスターデータに重なってい
るか否かが判定される。ここで「NO」と判定される
と、処理は図8のステップS201に進み、第1実施形
態と同様の処理が行われる。かかる場合は、図21にお
いて説明したような不具合は発生しないからである。
<2-2-1: Determination of Character Expansion Method> In this embodiment, when the processing proceeds to step S103 in the main routine (FIG. 7), the routine shown in FIG. 22 is called. In the figure, the processing is step S501.
Then, it is determined whether or not the character to be expanded overlaps the raster data. If “NO” is determined here, the process proceeds to step S201 in FIG. 8, and the same process as in the first embodiment is performed. In such a case, the problem described with reference to FIG. 21 does not occur.

【0075】一方、「YES」と判定されると処理はス
テップS502に進み、ラスターデータの中抜き処理が
行われる。その詳細については図19において説明した
通りである。次に処理がステップS503に進むと、展
開対象文字と、該ラスターデータとが同一の原色を有す
るか否かが判定される。ここで「NO」と判定される
と、処理は図8のステップS201に進み、第1実施形
態と同様の処理が行われる。文字とラスターデータが重
なっていたとしても、原色プレーンが異なる以上、図2
1において説明したような不具合は発生しないからであ
る。
On the other hand, if "YES" is determined, the process proceeds to step S502, where a raster data centering process is performed. The details are as described in FIG. Next, when the process proceeds to step S503, it is determined whether the character to be expanded and the raster data have the same primary color. If “NO” is determined here, the process proceeds to step S201 in FIG. 8, and the same process as in the first embodiment is performed. Even if characters and raster data overlap, the primary color planes are different,
This is because the problem described in 1 does not occur.

【0076】ステップS503において「YES」と判
定されると、処理はステップS504に進む。ここで
は、ラスターデータの濃度は所定値以上であるか否かが
判定される。ここで「NO」と判定されると、やはり処
理は図8のステップS201に進む。かかる場合、図2
1において説明したような不具合が発生したとしても、
ラスターデータの濃度が低ければ目立たないため許容し
たものである。なお、この「所定値」はプリンタの現像
特性等に応じて決定するとよい。
If "YES" is determined in the step S503, the process proceeds to a step S504. Here, it is determined whether the density of the raster data is equal to or higher than a predetermined value. Here, if “NO” is determined, the process also proceeds to step S201 in FIG. In such a case, FIG.
Even if the problem described in 1 occurs,
If the density of the raster data is low, it is not conspicuous and is accepted. Note that this "predetermined value" may be determined according to the development characteristics of the printer.

【0077】ステップS504において「YES」と判
定されると、二値展開の適用が決定される。これによ
り、文字とラスターデータとの境界部分は常に図21
(c)に示すようになり、同図(d)のように境界部分に白い
輪郭線が発生するような不具合を未然に防止することが
できる。
If "YES" is determined in the step S504, application of the binary expansion is determined. As a result, the boundary between the character and the raster data is always shown in FIG.
As shown in (c), it is possible to prevent such a problem that a white outline is generated at the boundary portion as shown in (d) of FIG.

【0078】<2−2−2:線画の展開方式の決定>ま
た、メインルーチン(図7)において処理がステップS
104に進んだ場合においても、上述したステップS1
03の場合と同様の処理が行われる。但し、線画の展開
方式を決定する場合においては、ステップS501,S
503またはS504で「NO」と判定されると、処理
は図9のステップS301に進む。
<2-2-2: Determination of Line Drawing Development Method> In the main routine (FIG. 7), the processing is
Even if the process proceeds to step 104, the above-described step S1
The same processing as in the case of 03 is performed. However, when determining the line drawing development method, steps S501 and S501
If “NO” is determined in 503 or S504, the process proceeds to step S301 in FIG.

【0079】これにより、線画とラスターデータの原色
が重なり、かつ、ラスターデータの濃度が所定値以上の
場合は文字の場合と同様に二値展開が適用される一方、
それ以外の場合は第1実施形態と同様の処理によって展
開方式が決定される。
In this way, when the primary colors of the line drawing and the raster data overlap and the density of the raster data is equal to or more than a predetermined value, the binary expansion is applied as in the case of the character,
Otherwise, the expansion method is determined by the same processing as in the first embodiment.

【0080】<3:応用例>なお、上述した実施形態に
あっては、オブジェクト毎に二値化するか多値化するか
を決定するものであったが、本発明はこれに限らない。
例えば、ページ毎に、あるいは、文書全体で、二値化す
るか多値化するかを決定するようにしても良い。この場
合、文字における展開時間の予測(ステップS202)
については、ページに存在する文字の総数(文字のオブ
ジェクト数)、あるいは、文書内に存在する文字の総数
を、アウトライン制御点数のような要素と同等に扱うこ
とで、そのページに存在する文字のすべてを展開するの
に要する時間、あるいは、その文書に存在する文字のす
べてを展開するのに要する時間を予測することができ
る。同様に、線画における展開時間の予測(ステップS
302)についても、ページに存在する線画の総数(線
画のオブジェクト数)、あるいは、文書内に存在する線
画の総数を、線画の長さのような要素と同等に扱うこと
で、そのページに存在する線画のすべてを展開するのに
要する時間、あるいは、その文書に存在する線画のすべ
てを展開するのに要する時間を予測することができる。
<3: Application Example> In the above-described embodiment, whether to binarize or multi-value for each object is determined. However, the present invention is not limited to this.
For example, whether to binarize or multi-value may be determined for each page or for the entire document. In this case, the development time of the character is predicted (step S202).
For, by treating the total number of characters present on the page (the number of character objects) or the total number of characters present in the document as an element such as the outline control score, The time required to expand all or the time required to expand all the characters present in the document can be estimated. Similarly, the development time of the line drawing is predicted (step S
302), the total number of line drawings existing on the page (the number of line drawing objects) or the total number of line drawings present in the document is treated as an element such as the length of the line drawing. It is possible to predict the time required to develop all the line drawings to be rendered or the time required to develop all the line drawings existing in the document.

【0081】また、実施形態にあっては、図8または図
9の判別条件をすべて実行する構成となっていたが、こ
れらの判別条件は、必ず実行しなければならないという
性格を有するものではない。すなわち、これらの判別条
件は、条件や環境などに応じて適宜組み合わせるのが望
ましい。
Further, in the embodiment, all the discriminating conditions of FIG. 8 or 9 are executed, but these discriminating conditions do not necessarily have to be executed. . That is, it is desirable that these determination conditions are appropriately combined in accordance with the conditions, the environment, and the like.

【0082】[0082]

【発明の効果】以上説明したように本発明によれば、P
DLのようなコード画像データを、イメージデータたる
描画パターンデータに展開処理する際に、必要に応じ
て、アンチエイリアシング処理を実行するので、大容量
のメモリを必要せずに、かつ、処理時間の短縮化を図る
とともに、ジャギーが目立たなくて高品質な描画パター
ンデータを生成することが可能となる。
As described above, according to the present invention, P
When developing code image data such as DL into drawing pattern data as image data, anti-aliasing processing is performed as necessary, so that a large-capacity memory is not required and processing time is reduced. In addition to shortening, it is possible to generate high-quality drawing pattern data with less noticeable jaggies.

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

【図1】 本発明の実施形態に係る画像処理部を有する
システム全体の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an entire system including an image processing unit according to an embodiment of the present invention.

【図2】 同画像処理部のハードウェア構成を示すブロ
ック図である。
FIG. 2 is a block diagram illustrating a hardware configuration of the image processing unit.

【図3】 同画像処理部の機能的構成を示すブロック図
である。
FIG. 3 is a block diagram illustrating a functional configuration of the image processing unit.

【図4】 (a)および(b)は、それぞれ、操作パネ
ルあるいはホストコンピュータによって、多値展開を指
定する際に表示される画面の一例である。
FIGS. 4A and 4B are examples of screens displayed when multi-value expansion is designated by an operation panel or a host computer, respectively.

【図5】 同画像処理部におけるフォントテーブルの内
容の一例を示す図である。
FIG. 5 is a diagram showing an example of the contents of a font table in the image processing unit.

【図6】 同画像処理部における文字コードテーブルの
内容の一例を示す図である。
FIG. 6 is a diagram showing an example of the contents of a character code table in the image processing unit.

【図7】 同画像処理部のメイン動作を示すフローチャ
ートである。
FIG. 7 is a flowchart illustrating a main operation of the image processing unit.

【図8】 同画像処理部において、文字が出力要求され
た場合の動作を示すフローチャートである。
FIG. 8 is a flowchart showing an operation when a character output is requested in the image processing unit.

【図9】 同画像処理部において、線画が出力要求され
た場合の動作を示すフローチャートである。
FIG. 9 is a flowchart illustrating an operation when a line drawing is requested to be output in the image processing unit.

【図10】 同画像処理部において、文字出力が要求さ
れた場合の動作を示すフローチャートである。
FIG. 10 is a flowchart illustrating an operation when a character output is requested in the image processing unit.

【図11】 ヒント情報を説明するための図である。FIG. 11 is a diagram for explaining hint information.

【図12】 (a)〜(d)は、それぞれ同画像処理部
において、文字展開動作を説明するための図である。
FIGS. 12A to 12D are diagrams for explaining a character expanding operation in the same image processing unit.

【図13】 同画像処理部において、線の角度を説明す
るための図である。
FIG. 13 is a diagram for explaining an angle of a line in the image processing unit.

【図14】 同画像処理部において、線の幅あるいは長
さを説明するための図である。
FIG. 14 is a diagram for explaining the width or length of a line in the image processing unit.

【図15】 同画像処理部において、線の幅あるいは長
さを説明するための図である。
FIG. 15 is a diagram for explaining the width or length of a line in the image processing unit.

【図16】 (a)〜(e)は、それぞれ従来の二値展
開および多値展開を説明するための図である。
FIGS. 16A to 16E are diagrams for explaining conventional binary expansion and multi-level expansion, respectively.

【図17】 (a)〜(c)は、それぞれ従来の問題点
を説明するための図である。
FIGS. 17 (a) to (c) are diagrams for explaining conventional problems.

【図18】 サブピクセルの出力方式の説明図である。FIG. 18 is an explanatory diagram of a sub-pixel output method.

【図19】 ラスターデータと文字が重なった図形の例
を示す図である。
FIG. 19 is a diagram illustrating an example of a graphic in which raster data and characters overlap.

【図20】 同一色成分においてラスターデータと文字
が重なった図形の例を示す図である。
FIG. 20 is a diagram illustrating an example of a graphic in which raster data and characters overlap in the same color component.

【図21】 図20の拡大図および図20をサブピクセ
ルに展開した後の出力結果の拡大図である。
21 is an enlarged view of FIG. 20 and an enlarged view of an output result after expanding FIG. 20 into sub-pixels.

【図22】 第2実施形態において、文字が出力要求さ
れた場合の動作を示すフローチャートである。
FIG. 22 is a flowchart illustrating an operation when a character output request is made in the second embodiment.

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

100……ホストコンピュータ(指示手段)、200…
…画像処理部、201……CPU(各手段)、205…
…操作パネル(指示手段)、206……画像記憶部(合
成手段)、251……コード画像データ記憶部、252
……展開方式決定部(文字判別手段、線画判別手段、第
1の予測手段、第2の予測手段、比較手段)、253…
…展開方式選択部(選択手段)、254……二値展開部
(第1の展開手段、識別データ生成手段)、255……
多値展開部(第2の展開手段、識別データ生成手段)、
300……画像出力部(出力手段)
100 ... host computer (instruction means), 200 ...
… Image processing unit, 201… CPU (each unit), 205…
... operation panel (instruction means), 206 ... image storage unit (synthesis means), 251 ... code image data storage unit, 252
...... Expansion method determination unit (character discriminating means, line drawing discriminating means, first predicting means, second predicting means, comparing means), 253 ...
... Expansion method selection section (selection means), 254... Binary expansion section (first expansion means, identification data generation means), 255.
Multi-value expansion unit (second expansion unit, identification data generation unit),
300 image output unit (output means)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 河野 裕之 神奈川県海老名市本郷2274番地 富士ゼ ロックス株式会社内 (56)参考文献 特開 平1−142983(JP,A) 特開 昭60−125061(JP,A) 特開 平8−235346(JP,A) 特開 平1−292422(JP,A) 特開 平1−133744(JP,A) (58)調査した分野(Int.Cl.7,DB名) G09G 5/00 - 5/40 G09T 1/00 - 7/60 G06F 15/72 - 15/72 465 ──────────────────────────────────────────────────続 き Continuation of front page (72) Inventor Hiroyuki Kono 2274 Hongo, Ebina-shi, Kanagawa Fuji Xerox Co., Ltd. (56) References JP-A-1-142983 (JP, A) JP-A-60-125061 ( JP, A) JP-A-8-235346 (JP, A) JP-A-1-292422 (JP, A) JP-A-1-133744 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G09G 5/00-5/40 G09T 1/00-7/60 G06F 15/72-15/72 465

Claims (17)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コード画像データを描画パターンデータ
に展開する画像処理装置であって、 前記コード画像データを、二値化した描画パターンデー
タに展開する第1の展開手段と、 前記コード画像データを多値化した描画パターンデータ
に展開する第2の展開手段と、 前記コード画像データが所定の条件に該当するデータで
あるか否かを判別する条件判別手段と、 前記条件判別手段の判別に基づいて前記コード画像デー
タを展開させる展開手段として、前記第1あるいは第2
の展開手段のいずれか一方を選択して適用する選択手段
と、 を具備することを特徴とする画像処理装置。
1. An image processing apparatus for expanding code image data into drawing pattern data, comprising: first expanding means for expanding the code image data into binarized drawing pattern data; Second developing means for developing into multi-valued drawing pattern data; condition determining means for determining whether the code image data is data corresponding to a predetermined condition; and Developing means for expanding the code image data by using the first or second
And a selecting means for selecting and applying any one of the developing means.
【請求項2】 請求項1記載の画像処理装置において、 前記コード画像データが文字に関するデータを含み、 前記条件判別手段は、文字判別手段を有し、該文字判別
手段は、前記文字に関するデータが文字に関する 所定の
条件に該当するデータであるか否かを判別するものであ
、 前記選択手段は、前記文字判別手段の判別結果に基づい
て、適用すべき展開手段を選択することを特徴とする画
像処理装置。
2. The image processing apparatus according to claim 1, wherein the code image data includes data relating to a character, and the condition determining unit includes a character determining unit;
Means, data relating to the character is determined whether or not the data corresponding to a predetermined condition related to the character Monodea
The image processing apparatus according to claim 1, wherein the selecting unit selects a developing unit to be applied based on a result of the determination by the character determining unit.
【請求項3】 前記文字に関する所定の条件は、描画す
べき文字の書体に関する条件を含むことを特徴とする請
求項2記載の画像処理装置。
Wherein the character for a given condition, an image processing apparatus according to claim 2, characterized in that it comprises a condition regarding font characters to be drawn.
【請求項4】 前記文字に関する所定の条件は、描画す
べき文字のサイズに関する条件を含むことを特徴とする
請求項2記載の画像処理装置。
Wherein said character for a given condition, an image processing apparatus according to claim 2, characterized in that it comprises a condition related to the character size to be drawn.
【請求項5】 前記文字に関する所定の条件は、描画す
べき文字の文字コードに関する条件を含むことを特徴と
する請求項2記載の画像処理装置。
Wherein said character for a given condition, an image processing apparatus according to claim 2, characterized in that it comprises a condition relating to character codes to be drawn.
【請求項6】 前記文字に関する所定の条件は、描画す
べき文字の色成分および当該文字の背景部の色成分に関
する条件を含むことを特徴とする請求項2記載の画像処
理装置。
6. The image processing apparatus according to claim 2, wherein the predetermined condition regarding the character includes a condition regarding a color component of a character to be drawn and a color component of a background portion of the character.
【請求項7】 請求項1記載の画像処理装置において、 前記コード画像データが線画に関するデータを含み、 前記条件判別手段は、線画判別手段を有し、該線画判別
手段は、前記線画に関するデータが線画に関する 所定の
条件に該当するデータであるか否かを判別するものであ
り、 前記選択手段は、前記線画判別手段の判別結果に基づい
て、適用すべき展開手段を選択することを特徴とする画
像処理装置。
7. The image processing apparatus according to claim 1, wherein the code image data includes data relating to a line drawing, and the condition determining unit includes a line drawing determining unit.
Means, data relating to the line drawings is determined whether or not the data corresponding to a predetermined condition related to a line drawing Monodea
The image processing apparatus according to claim 1 , wherein the selecting unit selects a developing unit to be applied based on a determination result of the line drawing determining unit.
【請求項8】 前記線画に関する所定の条件は、描画す
べき線画の長さあるいは幅に関する条件を含むことを特
徴とする請求項記載の画像処理装置。
8. The image processing apparatus according to claim 7, wherein the predetermined condition relating to the line drawing includes a condition relating to a length or a width of the line drawing to be drawn.
【請求項9】 前記線画に関する所定の条件は、描画す
べき線画の角度に関する条件を含むことを特徴とする請
求項記載の画像処理装置。
9. The image processing apparatus according to claim 7, wherein the predetermined condition relating to the line drawing includes a condition relating to an angle of the line drawing to be drawn.
【請求項10】 前記線画に関する所定の条件は、描画
すべき線画の色成分および当該線画の背景部の色成分に
関する条件を含むことを特徴とする請求項7記載の画像
処理装置。
10. The image processing apparatus according to claim 7, wherein the predetermined condition relating to the line drawing includes a condition relating to a color component of the line drawing to be drawn and a color component of a background portion of the line drawing.
【請求項11】 請求項1記載の画像処理装置におい
て、さらに、 前記第2の展開手段が前記コード画像データの展開に要
する時間を予測する予測手段を備え、 前記選択手段は、前記予測手段の予測結果に基づいて、
適用すべき展開手段を選択することを特徴とする画像処
理装置。
11. The image processing apparatus according to claim 1, further comprising: a predicting unit configured to predict a time required for developing the code image data, wherein the second developing unit includes a predicting unit that predicts a time required for developing the code image data. Based on the prediction results,
An image processing apparatus for selecting a developing unit to be applied.
【請求項12】 請求項1記載の画像処理装置におい
て、さらに、 前記第1の展開手段が前記コード画像データの展開に要
する時間を予測する第1の予測手段と、 前記第2の展開手段が前記コード画像データの展開に要
する時間を予測する第2の予測手段と前記第1の予測手
段による予測結果と、前記第2の予測手段による予測結
果とを比較する比較手段とを備え、 前記選択手段は、前記比較手段の比較結果に基づいて、
適用すべき展開手段を選択することを特徴とする画像処
理装置。
12. The image processing apparatus according to claim 1, further comprising: first predicting means for predicting a time required for the first developing means to develop the code image data; and A second prediction unit that predicts a time required for developing the code image data, a comparison unit that compares a prediction result obtained by the first prediction unit, and a prediction result obtained by the second prediction unit; The means is based on a comparison result of the comparing means,
An image processing apparatus for selecting a developing unit to be applied.
【請求項13】 前記選択手段は、前記第2の展開手段
を選択するのを禁止 する禁止手段と、 前記第2の展開手段による展開を不許可とする旨を指示
する指示手段と、を備え、 前記禁止手段は、前記指示手段の指示に基づいて、前記
第2の展開手段の選択を禁止することを特徴とする請求
記載の画像処理装置。
13. The method according to claim 13 , wherein said selecting means is said second developing means.
The provided with prohibiting means for prohibiting to select, and a instructing means for instructing to disallow expansion by the second developing means, said inhibiting means, based on the instruction of the instruction means, wherein the image processing apparatus according to claim 1, wherein the prohibiting selection of the second developing means.
【請求項14】 請求項1記載の画像処理装置におい
て、さらに、 前記第1および第2の展開手段によって展開された描画
パターンデータを合成する合成手段と、 前記合成手段により合成された描画パターンデータが、
前記第1あるいは第2の展開手段のいずれにより展開さ
れたのかを示す識別データを生成する識別データ生成手
段とを備えることを特徴とする画像処理装置。
14. The image processing apparatus according to claim 1, further comprising: synthesizing means for synthesizing the drawing pattern data expanded by the first and second expanding means; and drawing pattern data synthesized by the synthesizing means. But,
An image processing apparatus, comprising: identification data generating means for generating identification data indicating which of the first and second developing means has been developed.
【請求項15】 請求項14記載の画像処理装置と、 前記合成手段により合成された描画パターンデータを、
前記識別データ生成手段により生成された識別データに
したがって出力する出力手段と、 を備えることを特徴とする画像出力装置。
15. The image processing apparatus according to claim 14, wherein the drawing pattern data synthesized by the synthesizing means is
Output means for outputting in accordance with the identification data generated by the identification data generation means.
【請求項16】 コード画像データを描画パターンデー
タに展開する画像処理方法において、 前記コード画像データを、二値化した描画パターンデー
タに展開する第1の展開過程と、 前記コード画像データを多値化した描画パターンデータ
に展開する第2の展開過程と、 コード画像データが所定の条件に該当するデータである
か否かを判別する条件判別過程と、 前記条件判別過程における判別に基づいて前記コード画
像データを展開させる展開過程として、前記第1あるい
は第2の展開過程のいずれか一方を選択して適用する選
択過程と、 前記選択過程において選択された展開過程により展開さ
れた前記描画パターンデータを合成する合成過程と、 を具備することを特徴とする画像処理方法。
16. An image processing method for expanding code image data into drawing pattern data, comprising: a first expanding step of expanding the code image data into binarized drawing pattern data; A second development process of developing the image data into the converted drawing pattern data; a condition determination process of determining whether or not the code image data is data satisfying a predetermined condition; and the code based on the determination in the condition determination process. A selection step of selecting and applying one of the first and second development steps as a development step of expanding the image data; and the drawing pattern data developed by the development step selected in the selection step. An image processing method, comprising: a combining step of combining.
【請求項17】 コンピュータによって、コード画像デ
ータを描画パターンデータに展開させるための画像処理
プログラムを記録した記録媒体であって、当該画像処理
プログラムは、コンピュータに対し、 コード画像データが所定の条件に該当するデータである
か否かを判別させ、 前記判別に基づいて二値化した描画パターンデータに展
開させるか、あるいは、多値化した描画パターンデータ
に展開させるかを選択させて展開させ、 展開された前記描画パターンデータを合成させることを
特徴とする画像処理プログラムを記録した記録媒体。
17. A recording medium storing an image processing program for developing code image data into drawing pattern data by a computer, wherein the image processing program instructs the computer to execute the code image data under a predetermined condition. It is determined whether or not the data is applicable, and the user is allowed to select whether to develop into binarized drawing pattern data based on the determination or to develop into multi-valued drawing pattern data. A recording medium having recorded thereon an image processing program for combining the drawn pattern data.
JP37562198A 1997-12-16 1998-12-16 Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program Expired - Fee Related JP3266576B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP37562198A JP3266576B2 (en) 1997-12-16 1998-12-16 Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP34640097 1997-12-16
JP9-346400 1997-12-16
JP37562198A JP3266576B2 (en) 1997-12-16 1998-12-16 Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program

Publications (2)

Publication Number Publication Date
JPH11272257A JPH11272257A (en) 1999-10-08
JP3266576B2 true JP3266576B2 (en) 2002-03-18

Family

ID=26578266

Family Applications (1)

Application Number Title Priority Date Filing Date
JP37562198A Expired - Fee Related JP3266576B2 (en) 1997-12-16 1998-12-16 Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program

Country Status (1)

Country Link
JP (1) JP3266576B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6236390B1 (en) * 1998-10-07 2001-05-22 Microsoft Corporation Methods and apparatus for positioning displayed characters
JP2007166287A (en) * 2005-12-14 2007-06-28 Fuji Xerox Co Ltd Image processor and image processing method
JP5424534B2 (en) * 2007-01-31 2014-02-26 日立コンシューマエレクトロニクス株式会社 Image processing apparatus and image display apparatus
JP5003606B2 (en) * 2008-06-18 2012-08-15 コニカミノルタビジネステクノロジーズ株式会社 Image processing device
JP6381311B2 (en) * 2013-07-04 2018-08-29 キヤノン株式会社 Image forming apparatus, image forming method, and program

Also Published As

Publication number Publication date
JPH11272257A (en) 1999-10-08

Similar Documents

Publication Publication Date Title
KR100647765B1 (en) Image processing method, image processing device and recording medium thereof
US6490055B1 (en) Printing apparatus with execution of software rendering and hardware rendering
US6943809B2 (en) Tiled vector flattened output
JPH1026972A (en) Contrast adjustment in anti-aliasing
US6195473B1 (en) Non-integer scaling of raster images with image quality enhancement
JP3142550B2 (en) Graphic processing unit
JP4135195B2 (en) Print processing system, print processing method, and computer-readable recording medium on which print processing control program is recorded
KR100306862B1 (en) Character pattern generator, character generating method, and storage medium therefor
JP3266576B2 (en) Image processing apparatus, image output apparatus, image processing method, and recording medium storing image processing program
US7027184B2 (en) Image processing apparatus and method, and image forming apparatus
EP0575134B1 (en) Method and apparatus for printing according to a graphic language
EP1315122A2 (en) Graphical data processing
US6181835B1 (en) Non-integer scaling of raster images with image quality enhancement using an anamorphically scaled intermediate bitmap
JP4684857B2 (en) System, image processing apparatus, method of controlling image processing apparatus, program, and storage medium
US20060119897A1 (en) Output apparatus and program thereof
JP2004106192A (en) Drawing processing apparatus, information processing apparatus, image forming apparatus, drawing processing method, and program
US6297829B1 (en) Image processing apparatus, image output device, image processing method and record medium on which image processing program is recorded
JP2000066658A (en) Image processor and recording medium
JP3750396B2 (en) Image processing device
JP3268712B2 (en) Image forming method and apparatus
JP2004334533A (en) Image processing device and method
JPH10305639A (en) Print processor and processing method
JP3294249B2 (en) Image processing device
JPH11110150A (en) Image processing system, image processing method, and computer-readable recording medium on which image processing control program is recorded
JPH0937076A (en) Printing equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080111

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090111

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100111

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110111

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120111

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S802 Written request for registration of partial abandonment of right

Free format text: JAPANESE INTERMEDIATE CODE: R311802

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130111

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140111

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees