JP2009172970A - Image processing apparatus, image processing method, program and recording medium - Google Patents

Image processing apparatus, image processing method, program and recording medium Download PDF

Info

Publication number
JP2009172970A
JP2009172970A JP2008016722A JP2008016722A JP2009172970A JP 2009172970 A JP2009172970 A JP 2009172970A JP 2008016722 A JP2008016722 A JP 2008016722A JP 2008016722 A JP2008016722 A JP 2008016722A JP 2009172970 A JP2009172970 A JP 2009172970A
Authority
JP
Japan
Prior art keywords
color
drawing color
target object
processing target
adjacent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008016722A
Other languages
Japanese (ja)
Inventor
Hiroyuki Shibaki
弘幸 芝木
Satoshi Ouchi
敏 大内
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008016722A priority Critical patent/JP2009172970A/en
Publication of JP2009172970A publication Critical patent/JP2009172970A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Color, Gradation (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image processing apparatus equipped with a toner saving mode that ensures readability in any case, an image processing method, a program and a recording medium. <P>SOLUTION: In an image processing means 20, a command interpretation means 202 interprets a printer command stored in an input buffer 201 to output color information ci and object type information ob to a drawing color decision means 209. The drawing color decision means 209 receives, in addition to the signals, neighboring color information cn detected by a neighboring object color detection means 208 and a mode signal md from a mode setting means 206, and decides a drawing color dc of the object being processed. The drawing color dc is then compared with the neighboring color information cn, and the drawing color dc is made different from the neighboring color information cn. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、トナー消費量を通常よりも節約して出力するトナーセーブモードを備える画像処理装置、画像処理方法、プログラム及び記録媒体に関する。   The present invention relates to an image processing apparatus, an image processing method, a program, and a recording medium having a toner save mode for saving and outputting toner consumption more than usual.

近年、高画質な画像を生成して出力する通常出力モードの他に、トナー消費量を通常よりも節約して出力するトナーセーブモードを備える装置が開発されている。トナーセーブモードのユースケースは、例えば出力画像のレイアウト確認等、基本的には画質をあまり問わないケースである。トナー消費量を節約する方法は、濃度変換を行う、ディザ画像と間引きパターンとの論理積をとる、パルス幅変調や書込み光量制御を行う等、いくつかある。いずれにしても、画像濃度を低下させて出力するため、通常出力モードよりは画質が劣る。しかし、トナーセーブモードにおいても、特に重要度の高い文字画像に関してはあまり画質を落とさずに読みやすさを保ちたい、という要求がある。   In recent years, in addition to a normal output mode that generates and outputs a high-quality image, an apparatus having a toner save mode that saves and outputs toner more than usual has been developed. The use case of the toner save mode is a case where the image quality is basically not so much, for example, the layout check of the output image. There are several methods for saving the toner consumption, such as density conversion, logical product of dithered image and thinning pattern, pulse width modulation and writing light quantity control. In any case, since the image density is reduced and output, the image quality is inferior to that in the normal output mode. However, even in the toner save mode, there is a demand to maintain readability without degrading image quality, especially for character images with high importance.

そこで画像の輪郭(エッジ)部分を抽出し、輪郭部分のトナー使用量は通常とし、輪郭部分以外の領域のトナーの使用量を低減させることで、文字の可読性とトナー使用量の節約を両立する技術が提案されている。(例えば特許文献1)   Therefore, by extracting the contour (edge) portion of the image, assuming that the amount of toner used in the contour portion is normal, and reducing the amount of toner used in the region other than the contour portion, both character readability and saving of toner usage are achieved. Technology has been proposed. (For example, Patent Document 1)

また、オブジェクト情報を参照してトナーセーブ処理を切り換える方法も提案されている(例えば特許文献2)。具体的には、ホストコンピュータ内のプリンタドライバが生成するプリンタコマンドの種類によって、文字(text)、グラフィック(graphic)、写真(image)等のオブジェクト情報を識別し、さらにグラフィックについては線画(line)なのか塗り潰し(fill)なのかも識別する。そこで、文字(text)および線画(line)だけトナーセーブせず、その他のオブジェクトでトナーセーブする、という切り換えを行うことで文字(text)や線画(line)の可読性に優れ、かつトナー消費量を低減させた出力を得ることができるというものである。
特開平6−334861号公報 特開2001−219626号公報
A method of switching toner save processing with reference to object information has also been proposed (for example, Patent Document 2). Specifically, object information such as text, graphics, and photos is identified by the type of printer command generated by the printer driver in the host computer. Also identify whether it is a fill. Therefore, by switching to save toner with other objects instead of saving only text and line drawing (line), the text (line) and line drawing (line) are excellent and the toner consumption is reduced. A reduced output can be obtained.
Japanese Unexamined Patent Publication No. 6-334861 JP 2001-219626 A

上述した特許文献2のオブジェクト種別のトナーセーブ処理技術について図9から図13に示す図を用いて説明する。   The above-described toner save processing technique for the object type of Patent Document 2 will be described with reference to FIGS. 9 to 13.

図9は特許文献2に示す発明の全体概略図である。図9に示すように、画像処理装置1は、画像処理手段20と画像出力手段30を備える。ホストコンピュータ10は、プリンタドライバ102とアプリケーションソフト101を備える。画像処理手段20は、入力バッファ201、コマンド解釈手段202、描画色決定手段203、ビットマップ展開手段204、ビットマップ用メモリ205、モード設定手段206を備え、出力デバイス(プリンタエンジン)207と接続されている。   FIG. 9 is an overall schematic diagram of the invention disclosed in Patent Document 2. In FIG. As shown in FIG. 9, the image processing apparatus 1 includes an image processing unit 20 and an image output unit 30. The host computer 10 includes a printer driver 102 and application software 101. The image processing unit 20 includes an input buffer 201, a command interpretation unit 202, a drawing color determination unit 203, a bitmap development unit 204, a bitmap memory 205, and a mode setting unit 206, and is connected to an output device (printer engine) 207. ing.

図9において、ホストコンピュータ10は、アプリケーションソフト101によって生成された文書に対してプリント出力命令が下されたとき、ホストコンピュータ10内に導入されているプリンタドライバソフト102によって、出力プリンタエンジン(出力デバイス)207に対応したプリンタコマンド(PDL(Print Discript Language)を生成し、画像処理手段20へ転送する。   In FIG. 9, when a print output command is issued to a document generated by the application software 101, the host computer 10 uses an output printer engine (output device) by the printer driver software 102 installed in the host computer 10. ) 207 corresponding to the printer command (PDL (Print Discript Language)) is generated and transferred to the image processing means 20.

画像処理手段20ではまず、入力されたプリンタコマンドを順次入力バッファ201に蓄積する。蓄積したプリンタコマンドを順次読み出し、コマンド解釈手段202によってコマンド解釈が行われる。ここで、プリンタドライバ102で生成されるコマンドは一般に、文字用、グラフィック用、イメージ用の3種類に大別される。   First, the image processing means 20 sequentially stores the input printer commands in the input buffer 201. The stored printer commands are sequentially read and command interpretation is performed by the command interpretation unit 202. Here, the commands generated by the printer driver 102 are generally divided into three types: characters, graphics, and images.

文字用コマンドは、主にフォント種類(書体)、フォントサイズ、フォントスタイル(ボールド、イタリックなど)などの指定を行うコマンドであり、この情報に基づいて後述するビットマップ展開手段204では、文字コード情報に対応したビットマップ画像を生成する。コマンドの種類を認識することで、文字(text)であることを判断することができる。   The character command is a command that mainly designates a font type (typeface), font size, font style (bold, italic, etc.), etc. Based on this information, the bitmap expansion means 204 described later uses character code information. A bitmap image corresponding to is generated. By recognizing the type of command, it can be determined that it is a text.

グラフィック用コマンドは、主に矩形描画、線描画、曲線(ベジェ)描画、などのライン描画と、塗りつぶし描画の指定を行うコマンドであり、さらに線の種類(実線、破線など)、線の太さ、線の色、塗りつぶしの色、塗りつぶしのパターンなどのコマンドを含み、後述するビットマップ展開手段204では指定されたコマンドに基づきビットマップ画像を生成する。コマンドの種類を認識することで、線画(line)なのか塗り潰し(fill)なのかを判断することができる。   The graphics commands are commands that mainly specify line drawing such as rectangle drawing, line drawing, and curve (Bézier) drawing, as well as fill drawing, and line type (solid line, broken line, etc.), line thickness , Line color, fill color, fill pattern, and the like, and a bitmap development unit 204 (to be described later) generates a bitmap image based on the designated command. By recognizing the type of command, it is possible to determine whether the command is a line or a fill.

イメージ用コマンドは、既にビットマップ状態の画像データを入力し、主に拡大縮小して配置するためのコマンドである。文字用コマンドやグラフィック用コマンドは、コマンドを解釈してフォントをビットマップに展開したり、線や矩形をビットマップデータに展開したりするものであるが、イメージ描画コマンドは既にビットマップの状態になっている画像データを入力するものである。同様に、コマンドの種類を認識することで、写真(image)であることを判断することができる。   The image command is a command for inputting image data already in a bitmap state and mainly arranging the image data in an enlarged or reduced manner. Character commands and graphic commands interpret commands and expand fonts into bitmaps, and lines and rectangles into bitmap data, but image drawing commands are already in bitmap status. The input image data is input. Similarly, by recognizing the type of command, it can be determined that the image is an image.

コマンド解釈手段202では、コマンドを解釈し、色情報を示すコマンドであれば解釈した色情報ciを描画色決定手段203に出力する。色情報ciはRGB(Red Green Blue)カラーモードであれば、R、G、B値を出力する。また同時に認識したコマンドの種類を示す信号であるオブジェクト種情報obも描画色決定手段203に出力する。   The command interpretation unit 202 interprets the command, and outputs the interpreted color information ci to the drawing color determination unit 203 if the command indicates color information. If the color information ci is an RGB (Red Green Blue) color mode, R, G, and B values are output. At the same time, the object type information ob, which is a signal indicating the type of command recognized, is also output to the drawing color determining means 203.

描画色決定手段203では入力された色情報ciと、オブジェクト種情報obと、モード設定手段206の設定内容を示す信号であるモード信号mdに応じて描画色を決定し、ビットマップ展開手段204に変換後の描画色dcを出力する。ここで変換後の描画色dcはCMYK(Cyan Magenta Yellow Black)の信号値である。   The drawing color determining unit 203 determines the drawing color according to the input color information ci, the object type information ob, and the mode signal md which is a signal indicating the setting contents of the mode setting unit 206, and sends the drawing color to the bitmap developing unit 204. The converted drawing color dc is output. Here, the converted drawing color dc is a signal value of CMYK (Cyan Magenta Yellow Black).

図10は、描画色決定手段203の処理を示した図である。図10に示すように、描画色決定手段203は、3D−LUT(3 Dimension Look Up Table)2031、ガンマ補正2032、ガンマテーブル保持手段2033、ガンマテーブル選択手段2034を備える。   FIG. 10 is a diagram illustrating the processing of the drawing color determination unit 203. As shown in FIG. 10, the drawing color determination unit 203 includes a 3D-LUT (3 Dimension Look Up Table) 2031, a gamma correction 2032, a gamma table holding unit 2033, and a gamma table selection unit 2034.

描画色決定手段203では、まずコマンド解釈手段202からの色情報ciを入力し、3D−LUT2031にて色補正を行い出力デバイス(プリンタエンジン)207の色空間信号であるcmyk信号に変換する。変換されたcmyk信号に対してさらにガンマ補正処理部2032でcmyk信号毎にテーブル変換を行い適正な濃度が得られるように補正を行う。補正により得られたCMYK信号を決定された描画色dcとして出力する。ここで、ガンマ補正2032で適用されるガンマ補正テーブルは、テーブル選択手段2034によって選択されるものであり、これは上述したモード設定手段206からのモード信号mdと、オブジェクト種情報obに応じて予め記憶されたガンマテーブル保持手段2033から選択的に読み出され、ガンマ補正回路2032にセットされる。   The drawing color determination unit 203 first inputs the color information ci from the command interpretation unit 202, performs color correction by the 3D-LUT 2031, and converts it into a cmyk signal that is a color space signal of the output device (printer engine) 207. The gamma correction processing unit 2032 further performs table conversion on the converted cmyk signal for each cmyk signal, and performs correction so as to obtain an appropriate density. The CMYK signal obtained by the correction is output as the determined drawing color dc. Here, the gamma correction table applied in the gamma correction 2032 is selected by the table selection unit 2034, which is preliminarily determined according to the mode signal md from the mode setting unit 206 and the object type information ob. The data is selectively read from the stored gamma table holding means 2033 and set in the gamma correction circuit 2032.

図11は、ガンマテーブル保持手段2033に保持されているテーブルの特性を示す図である。ガンマテーブル保持手段2033には、図11(a)に示すようにトナーセーブしない濃度特性を有するテーブルと、図11(b)に示すように通常モードに対してトナー使用量が抑制されるような濃度特性を有するテーブルが保持されている。今回は、50%のセーブ量でのテーブルが設定されている例を示している。   FIG. 11 is a diagram showing the characteristics of the table held in the gamma table holding means 2033. The gamma table holding means 2033 includes a table having density characteristics that do not save toner as shown in FIG. 11A and a toner usage amount that is suppressed with respect to the normal mode as shown in FIG. A table having density characteristics is held. In this example, a table with a save amount of 50% is set.

図12はガンマテーブル選択手段2034を説明するための図である。ガンマテーブル選択手段2034によるガンマテーブルの選択動作の一例について、図12に示す図を用いて説明する。モード信号mdが通常モードであるときにはオブジェクト種情報obを問わず、図11(a)に示すようにトナーセーブしない濃度特性を有するテーブルが選択される。また、モード信号mdがトナーセーブモードの場合であって、オブジェクト種情報obが文字(text)または線画(line)の場合にはトナーセーブしない濃度特性図11(a)が選択され、オブジェクト種情報obが塗り潰し(fill)または写真(image)の場合にはトナー使用量を抑制する図11(b)の濃度特性をもつガンマテーブルが選択される。   FIG. 12 is a diagram for explaining the gamma table selection means 2034. An example of the gamma table selection operation by the gamma table selection means 2034 will be described with reference to the diagram shown in FIG. When the mode signal md is the normal mode, a table having a density characteristic that does not save toner is selected as shown in FIG. 11A regardless of the object type information ob. Further, when the mode signal md is the toner save mode and the object type information ob is a character (text) or a line drawing (line), the density characteristic FIG. When ob is a fill or a photo, a gamma table having the density characteristics shown in FIG. 11B that suppresses the amount of toner used is selected.

選択されたガンマテーブルに基づいてガンマ補正2032を行い、決定された描画色dcをビットマップ展開手段204に出力する。   Based on the selected gamma table, gamma correction 2032 is performed, and the determined drawing color dc is output to the bitmap developing means 204.

図9に示すコマンド解釈手段202では、上述した色情報ciやオブジェクト種情報obの他に、コマンドの種類が描画情報(形を表す情報)であった場合には、形状情報fmをビットマップ展開手段204に転送し、ビットマップ展開手段204にてラスターイメージに展開し、ビットマップ用メモリ205に書き込み、ビットマップ画像を生成する。ビットマップ展開手段204では、形状情報fmとともに描画色決定手段203で決定された描画色dcを入力し、この色でビットマップ画像を作成する。より具体的には出力デバイス(プリンタエンジン)207に対応した中間調処理を施し、中間調処理を施したビットマップ画像を展開するものである。中間調処理方法にはディザ法や誤差拡散法などがある。   In the command interpreting means 202 shown in FIG. 9, in addition to the color information ci and the object type information ob described above, if the command type is drawing information (information representing the shape), the shape information fm is developed into a bitmap. The data is transferred to the means 204, developed into a raster image by the bitmap development means 204, written into the bitmap memory 205, and a bitmap image is generated. The bitmap developing unit 204 receives the drawing color dc determined by the drawing color determining unit 203 together with the shape information fm, and creates a bitmap image with this color. More specifically, halftone processing corresponding to the output device (printer engine) 207 is performed, and a bitmap image subjected to halftone processing is developed. The halftone processing method includes a dither method and an error diffusion method.

以上の処理を行うことにより、文字(text)や線画(line)のオブジェクトに対する可読性を損なわずに、写真(image)や塗り潰し(fill)グラフィックに対してトナー使用量が少なくなる処理を行うことが可能となる。そのため、高画質再生と経済性を兼ね備えた技術であるといえる。   By performing the above processing, it is possible to perform processing that reduces the amount of toner used for images and fill graphics without losing the readability of text and line objects. It becomes possible. Therefore, it can be said that this technology combines high image quality reproduction and economy.

しかし上記の特許文献2では、複数のオブジェクトが重なったとき、例えば塗り潰し(fill)オブジェクト上に文字(text)が描画される場合などにおいて、背景の描画色と前景の文字の描画色がほぼ等しい値となってしまう場合があり、文字が全く見えなくなるという問題があった。   However, in Patent Document 2 described above, when a plurality of objects overlap, for example, when a text is drawn on a fill object, the background drawing color and the foreground character drawing color are substantially equal. There was a problem that the characters could not be seen at all.

例えば100%濃度を有するベタ(fillグラフィックオブジェクト)の上に、50%濃度の文字(textオブジェクト)が描かれたケースを考えてみる。通常モードの場合には図13(a)に示すように、ベタ背景の中に50%濃度の文字が描かれたイメージが得られる。しかし、トナー使用量を節約するためにトナーセーブモードを選択した場合には、図11に示すテーブルに従って背景のベタ(fillグラフィックオブジェクト)の描画色dcは50%に設定され、これにより描かれた背景画像に対して、トナーセーブしない濃度特性の文字(text)が上書きされるので、結果図13(b)に示すように、文字が背景に埋もれてしまい、見えなくなってしまう。完全に濃度が同一になったときは見えなくなり、濃度が近い場合にもほぼ文字を認識することができなくなってしまう。   For example, consider a case where a 50% density character (text object) is drawn on a solid (fill graphic object) having 100% density. In the case of the normal mode, as shown in FIG. 13A, an image in which 50% density characters are drawn in a solid background is obtained. However, when the toner save mode is selected in order to save the amount of toner used, the drawing color dc of the background solid (fill graphic object) is set to 50% according to the table shown in FIG. Since the text (text) having a density characteristic that does not save toner is overwritten on the background image, as a result, as shown in FIG. 13B, the text is buried in the background and cannot be seen. When the density is completely the same, it cannot be seen, and even when the density is close, characters cannot be recognized.

本発明はこのような実情に鑑みてなされたものであり、どのような場合にも可読性を保証したトナーセーブモードを備える画像処理装置、画像処理方法、プログラム及び記録媒体を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object thereof is to provide an image processing apparatus, an image processing method, a program, and a recording medium having a toner save mode that ensures readability in any case. To do.

請求項1記載の発明は、ホストコンピュータからのプリンタコマンドを入力する入力手段と、入力手段により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する画像処理手段と、画像処理手段で処理した画像信号を出力する画像出力手段と、を備える画像処理装置であって、トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、画像処理手段は、プリンタコマンドから処理対象オブジェクトの属性を解釈するコマンド解釈手段と、処理対象オブジェクトに隣接するオブジェクトの色を検出する隣接オブジェクト色検出手段と、コマンド解釈手段の解釈結果と、隣接オブジェクト色検出手段の検出結果に応じて処理対象オブジェクトの描画色を決定する描画色決定手段と、描画色決定手段で決定された描画色に基づいて処理対象オブジェクトの描画を行う描画手段と、を備えることを特徴とする。   The invention described in claim 1 is an input means for inputting a printer command from a host computer, an image processing means for interpreting and expanding the printer command input by the input means, and converting it into an image signal corresponding to the output device, And an image output unit that outputs an image signal processed by the image processing unit. When a toner save mode that outputs toner signals with a reduced amount of toner is selected, the image processing unit Command interpretation means for interpreting the attributes of the processing target object from the command, adjacent object color detection means for detecting the color of the object adjacent to the processing target object, interpretation result of the command interpretation means, and detection result of the adjacent object color detection means Drawing color determination means for determining the drawing color of the processing target object according to the And drawing means for drawing the object to be processed on the basis of the drawing color determined in stage, characterized in that it comprises a.

請求項2記載の発明は、請求項1記載の画像処理装置であって、描画色決定手段は、処理対象オブジェクトの描画色を、隣接オブジェクト色検出手段により検出された隣接オブジェクト色と異なる値に決定することを特徴とする。   The invention according to claim 2 is the image processing apparatus according to claim 1, wherein the drawing color determining means sets the drawing color of the processing target object to a value different from the adjacent object color detected by the adjacent object color detecting means. It is characterized by determining.

請求項3記載の発明は、請求項1又は2記載の画像処理装置であって、描画色決定手段は、決定した処理対象オブジェクトの描画色と、隣接オブジェクト色検出手段により検出された隣接オブジェクト色とが概ね等しい場合には、処理対象オブジェクトの描画色をさらに異なる値に決定することを特徴とする。   The invention according to claim 3 is the image processing apparatus according to claim 1 or 2, wherein the drawing color determining means includes the determined drawing color of the processing target object and the adjacent object color detected by the adjacent object color detecting means. Is substantially equal, the drawing color of the processing target object is determined to be a different value.

請求項4記載の発明は、請求項1から3のいずれか1項記載の画像処理装置であって、描画色決定手段は、処理対象オブジェクトの描画色を、一定のコントラストを確保する描画色に決定することを特徴とする。   The invention according to claim 4 is the image processing apparatus according to any one of claims 1 to 3, wherein the drawing color determining means sets the drawing color of the processing target object to a drawing color that ensures a certain contrast. It is characterized by determining.

請求項5記載の発明は、請求項4記載の画像処理装置であって、描画色決定手段は、一定のコントラストを確保する描画色を、色相及び彩度を固定し、明度を変更することにより決定することを特徴とする。   The invention according to claim 5 is the image processing apparatus according to claim 4, wherein the drawing color determining means fixes the drawing color for securing a certain contrast, fixes the hue and saturation, and changes the brightness. It is characterized by determining.

請求項6記載の発明は、請求項4記載の画像処理装置であって、描画色決定手段は、一定のコントラストを確保する描画色を、明度を固定し、色相及び彩度を変更することにより決定することを特徴とする。   A sixth aspect of the present invention is the image processing apparatus according to the fourth aspect, wherein the drawing color determining means fixes the drawing color for ensuring a certain contrast, fixes the lightness, and changes the hue and saturation. It is characterized by determining.

請求項7記載の発明は、ホストコンピュータからのプリンタコマンドを入力する入力手段と、入力手段により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する画像処理手段と、画像処理手段で処理した画像信号を出力する画像出力手段と、を備える画像処理装置であって、トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、画像処理手段は、プリンタコマンドから処理対象オブジェクトの属性を解釈するコマンド解釈手段と、処理対象オブジェクトに隣接するオブジェクトの色を検出する隣接オブジェクト色検出手段と、コマンド解釈手段の解釈結果に応じて処理対象オブジェクトの描画色を決定する描画色決定手段と、描画色決定手段で求められた描画色と隣接オブジェクト色検出手段により検出された隣接オブジェクト色が概ね同一である場合には、処理対象オブジェクトの輪郭画素を抽出するとともに、輪郭画素以外の画素に対しては描画色で描画し、隣接画素に対しては描画色よりも濃度の高い描画色を用いて描画を行うエッジ処理手段と、を備えることを特徴とする。   The invention according to claim 7 is an input means for inputting a printer command from the host computer, an image processing means for interpreting and expanding the printer command input by the input means, and converting it into an image signal corresponding to the output device, And an image output unit that outputs an image signal processed by the image processing unit. When a toner save mode that outputs toner signals with a reduced amount of toner is selected, the image processing unit Command interpretation means for interpreting the attributes of the processing target object from the command, adjacent object color detection means for detecting the color of the object adjacent to the processing target object, and the drawing color of the processing target object according to the interpretation result of the command interpretation means The drawing color determining means to be determined, the drawing color obtained by the drawing color determining means and the adjacent object When the adjacent object colors detected by the detection means are substantially the same, the contour pixels of the processing target object are extracted, and the pixels other than the contour pixels are drawn in the drawing color. And edge processing means for performing drawing using a drawing color having a higher density than the drawing color.

請求項8記載の発明は、ホストコンピュータからのプリンタコマンドを入力する入力ステップと、入力ステップにより入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する画像処理ステップと、画像処理ステップで処理した画像信号を出力する画像出力ステップと、を備える画像処理方法であって、トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、画像処理ステップは、プリンタコマンドから処理対象オブジェクトの属性を解釈するコマンド解釈ステップと、処理対象オブジェクトに隣接するオブジェクトの色を検出する隣接オブジェクト色検出ステップと、コマンド解釈ステップの解釈結果と、隣接オブジェクト色検出ステップの検出結果に応じて処理対象オブジェクトの描画色を決定する描画色決定ステップと、描画色決定ステップで決定された描画色に基づいて処理対象オブジェクトの描画を行う描画ステップと、を備えることを特徴とする。   The invention described in claim 8 includes an input step for inputting a printer command from the host computer, an image processing step for interpreting and expanding the printer command input in the input step, and converting the printer command into an image signal corresponding to the output device; An image output method for outputting an image signal processed in the image processing step, and when the toner save mode for outputting the toner while suppressing the amount of toner used is selected, the image processing step includes: A command interpretation step that interprets the attributes of the processing target object from the command, an adjacent object color detection step that detects the color of the object adjacent to the processing target object, an interpretation result of the command interpretation step, and a detection result of the adjacent object color detection step Drawing the target object according to the A drawing color determination step of determining, to a drawing step for drawing the object to be processed on the basis of the drawing color determined by drawing color determination step, characterized in that it comprises a.

請求項9記載の発明は、請求項8記載の画像処理方法であって、描画色決定ステップは、処理対象オブジェクトの描画色を、隣接オブジェクト色検出ステップにより検出された隣接オブジェクト色と異なる描画色に決定することを特徴とする。   The invention according to claim 9 is the image processing method according to claim 8, wherein the drawing color determining step sets the drawing color of the processing target object to be different from the adjacent object color detected by the adjacent object color detecting step. It is characterized by determining to.

請求項10記載の発明は、請求項8又は9記載の画像処理方法であって、描画色決定ステップは、決定した処理対象オブジェクトの描画色と、隣接オブジェクト色検出ステップにより検出された隣接オブジェクト色とが概ね等しい場合には、処理対象オブジェクトの描画色をさらに異なる値に決定することを特徴とする。   The invention according to claim 10 is the image processing method according to claim 8 or 9, wherein the drawing color determining step includes the determined drawing color of the processing target object and the adjacent object color detected by the adjacent object color detecting step. Is substantially equal, the drawing color of the processing target object is determined to be a different value.

請求項11記載の発明は、請求項8から9のいずれか1項記載の画像処理方法であって、描画色決定ステップは、処理対象オブジェクトの描画色を、一定のコントラストを確保する描画色に決定することを特徴とする。   The invention according to claim 11 is the image processing method according to any one of claims 8 to 9, wherein the drawing color determining step sets the drawing color of the processing target object to a drawing color that ensures a certain contrast. It is characterized by determining.

請求項12記載の発明は、請求項11記載の画像処理方法であって、描画色決定ステップは、一定のコントラストを確保する描画色を、色相及び彩度を固定し、明度を変更することにより決定することを特徴とする。   The invention according to claim 12 is the image processing method according to claim 11, wherein the drawing color determining step fixes the drawing color for securing a certain contrast, fixes the hue and saturation, and changes the brightness. It is characterized by determining.

請求項13記載の発明は、請求項11記載の発明であって、描画色決定ステップは、一定のコントラストを確保する描画色を、明度を固定し、色相及び彩度を変更することにより決定することを特徴とする。   The invention described in claim 13 is the invention described in claim 11, wherein the drawing color determining step determines a drawing color that ensures a certain contrast by fixing the lightness and changing the hue and saturation. It is characterized by that.

請求項14記載の発明は、ホストコンピュータからのプリンタコマンドを入力する入力ステップと、入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する画像処理ステップと、画像処理ステップで処理した画像信号を出力する画像出力ステップと、を備える画像処理方法であって、トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、画像処理ステップは、プリンタコマンドから処理対象オブジェクトの属性を解釈するコマンド解釈ステップと、処理対象オブジェクトに隣接するオブジェクトの色を検出する隣接オブジェクト色検出ステップと、コマンド解釈ステップの解釈結果に応じて処理対象オブジェクトの描画色を決定する描画色決定ステップと、描画色決定ステップで求められた描画色と隣接オブジェクト色検出ステップにより検出された隣接オブジェクト色が概ね同一である場合には、処理対象オブジェクトの輪郭画素を抽出するとともに、輪郭画素以外の画素に対しては描画色で描画し、隣接画素に対しては描画色よりも濃度の高い描画色を用いて描画を行うエッジ処理ステップと、を備えることを特徴とする。   The invention described in claim 14 includes an input step for inputting a printer command from the host computer, an image processing step for interpreting and expanding the input printer command, and converting it into an image signal corresponding to the output device, and an image processing step. And an image output step for outputting the image signal processed in step (b), wherein when the toner save mode for output while suppressing toner usage is selected, the image processing step is processed from a printer command. A command interpretation step for interpreting the attributes of the target object, an adjacent object color detection step for detecting the color of an object adjacent to the processing target object, and a drawing for determining the drawing color of the processing target object according to the interpretation result of the command interpretation step Obtained in the color determination step and drawing color determination step If the drawn object color and the adjacent object color detected by the adjacent object color detection step are substantially the same, the contour pixel of the object to be processed is extracted, and the pixels other than the contour pixel are drawn in the drawing color. And an edge processing step of performing drawing using a drawing color having a higher density than the drawing color for adjacent pixels.

請求項15記載の発明は、ホストコンピュータからのプリンタコマンドを入力する処理と、入力する処理により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する処理と、変換する処理で処理した画像信号を出力する処理と、をコンピュータに実行させる制御プログラムであって、トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、変換する処理は、プリンタコマンドから処理対象オブジェクトの属性を解釈する処理と、処理対象オブジェクトに隣接するオブジェクトの色を検出する処理と、解釈する処理の解釈結果と、検出する処理の検出結果に応じて処理対象オブジェクトの描画色を決定する処理と、を備え、決定する処理で設定された描画色に基づいて処理対象オブジェクトの描画する処理と、をコンピュータに実行させる。   According to a fifteenth aspect of the present invention, a process for inputting a printer command from the host computer, a process for interpreting and expanding the printer command input by the input process, and converting the image into an image signal corresponding to the output device, and the conversion A control program for causing a computer to execute a process for outputting an image signal processed in the process, and when a toner save mode for outputting while suppressing the amount of toner used is selected, the conversion process is performed from a printer command. Processing to interpret the attributes of the processing target object, processing to detect the color of the object adjacent to the processing target object, the interpretation result of the processing to be interpreted, and the drawing color of the processing target object according to the detection result of the processing to be detected An object to be processed based on the drawing color set in the determining process. A process of drawing, causes the computer to execute.

請求項16記載の発明は、請求項15記載のプログラムであって、決定する処理であって、処理対象オブジェクトの描画色を、検出する処理により検出された隣接オブジェクト色と異なる値に決定する処理と、決定した処理対象オブジェクトの描画色と、検出する処理により検出された隣接オブジェクト色とが概ね等しい場合には、処理対象オブジェクトの描画色をさらに異なる値に決定する処理と、処理対象オブジェクトの描画色を、一定のコントラストを確保する描画色に決定する処理と、をコンピュータに実行させる。   A sixteenth aspect of the invention is the program according to the fifteenth aspect of the determining process, wherein the drawing color of the processing target object is determined to be different from the adjacent object color detected by the detecting process. And the determined drawing color of the processing target object and the adjacent object color detected by the detecting process are substantially equal to each other, the processing for determining the drawing color of the processing target object to a different value, And causing the computer to execute a process of determining the drawing color as a drawing color that ensures a certain contrast.

請求項17記載の発明は、請求項16記載のプログラムであって、決定する処理であって、一定のコントラストを確保する描画色を、色相及び彩度を固定し、明度を変更することにより決定する処理と、一定のコントラストを確保する描画色を、明度を固定し、色相及び彩度を変更することにより決定する処理と、をコンピュータに実行させる。   The invention according to claim 17 is the program according to claim 16, wherein the drawing color for securing a certain contrast is determined by fixing the hue and saturation and changing the lightness. And a process for determining a drawing color for securing a certain contrast by fixing the lightness and changing the hue and saturation.

請求項18記載の発明は、ホストコンピュータからのプリンタコマンドを入力する処理と、入力する処理により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する処理と、変換する処理で処理した画像信号を出力する処理と、をコンピュータに実行させる制御プログラムであって、トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、変換する処理は、プリンタコマンドから処理対象オブジェクトの属性を解釈する処理と、処理対象オブジェクトに隣接するオブジェクトの色を検出する処理と、解釈する処理の解釈結果に応じて処理対象オブジェクトの描画色を決定する処理と、決定する処理で求められた描画色と検出する処理により検出された隣接オブジェクト色が概ね同一である場合には、処理対象オブジェクトの輪郭画素を抽出するとともに、輪郭画素以外の画素に対しては描画色で描画し、隣接画素に対しては描画色よりも濃度の高い描画色を用いて描画する処理と、をコンピュータに実行させる。   According to the eighteenth aspect of the present invention, a process for inputting a printer command from the host computer, a process for interpreting and expanding the printer command input by the input process, and converting into an image signal corresponding to the output device, and a conversion A control program for causing a computer to execute a process for outputting an image signal processed in the process, and when a toner save mode for outputting while suppressing the amount of toner used is selected, the conversion process is performed from a printer command. Processing for interpreting attributes of the processing target object, processing for detecting the color of the object adjacent to the processing target object, processing for determining the drawing color of the processing target object according to the interpretation result of the processing to be interpreted, and processing for determination The drawing color obtained in step 1 and the adjacent object color detected by the detection process are almost the same. In such a case, the contour pixels of the processing target object are extracted, the pixels other than the contour pixels are drawn in the drawing color, and the adjacent pixels are drawn using a drawing color having a higher density than the drawing color. And causing the computer to execute the process.

請求項19記載の発明は、請求項15から18のいずれか1項記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。   A nineteenth aspect of the present invention is a computer-readable recording medium in which the program according to any one of the fifteenth to eighteenth aspects is recorded.

本発明によれば、オブジェクト毎に異なるトナーセーブ率で再生するように制御しても、別のオブジェクトが背景色に埋もれてしまって読めなくなると言う問題を防止することが可能となり、どのようなケースでも可読性を保証することが可能となる。   According to the present invention, it is possible to prevent the problem that another object is buried in the background color and cannot be read even if it is controlled to be reproduced at a different toner save rate for each object. Even in the case, readability can be guaranteed.

(実施形態1)
図1は、本実施形態に係る全体概略を示す図である。図2は、描画色決定手段209の処理を示す図である。図3は、ガンマテーブル保持手段2033に保持されているテーブルの特性を示す図である。図4は、描画色決定手段209を説明するための図である。本実施形態では、トナーセーブモードにおける画像処理の一例について、図1、図2、図3、図4に示す図を用いて詳細に説明する。
(Embodiment 1)
FIG. 1 is a diagram showing an overall outline according to the present embodiment. FIG. 2 is a diagram illustrating processing of the drawing color determination unit 209. FIG. 3 is a diagram showing the characteristics of the table held in the gamma table holding means 2033. FIG. 4 is a diagram for explaining the drawing color determination unit 209. In the present exemplary embodiment, an example of image processing in the toner save mode will be described in detail with reference to the drawings illustrated in FIGS. 1, 2, 3, and 4.

図1において、上述の図9の構成と異なるところは、ビットマップ用メモリ205上に展開されたビットマップ画像に隣接オブジェクト色検出手段208が追加された構成になっていること、及び描画色決定手段209の構成動作が異なることである。   1 is different from the configuration of FIG. 9 described above in that the adjacent object color detection means 208 is added to the bitmap image developed on the bitmap memory 205, and the drawing color is determined. The configuration operation of the means 209 is different.

画像処理手段20において、入力バッファ201に蓄積されたプリンタコマンドをコマンド解釈手段202で解釈し、色情報ci及びオブジェクト種情報obを描画色決定手段209に出力する。描画色決定手段209ではこれらの信号と共に、隣接オブジェクト色検出手段208で検出された隣接色情報cnを入力し、さらにモード設定手段206からモード信号mdを入力し、描画色dcを決定する。   In the image processing unit 20, the printer command stored in the input buffer 201 is interpreted by the command interpretation unit 202, and the color information ci and the object type information ob are output to the drawing color determination unit 209. The drawing color determination unit 209 inputs the adjacent color information cn detected by the adjacent object color detection unit 208 together with these signals, and further receives the mode signal md from the mode setting unit 206 to determine the drawing color dc.

図2において、上述の図10と異なるところは、ガンマテーブル選択手段2035によるガンマテーブル選択の判断基準となる情報に隣接色情報cnが追加されたこと、及び比較手段2036を備えることである。3D−LUT2031、ガンマ補正手段2032の動作は上述の図10と同様であり、色補正後のcmyk信号に対して、テーブル変換にてガンマ補正を施す。   In FIG. 2, the difference from FIG. 10 described above is that the adjacent color information cn is added to the information used as the determination criterion for the gamma table selection by the gamma table selection means 2035 and the comparison means 2036 is provided. The operations of the 3D-LUT 2031 and the gamma correction unit 2032 are the same as those in FIG. 10 described above, and gamma correction is performed by table conversion on the color-corrected cmyk signal.

ガンマテーブル選択手段2035では、オブジェクト種情報ob、モード信号md及び隣接色情報cnに基づいてガンマテーブル保持手段2033からガンマテーブルを選択する。ここで、ガンマテーブル保持手段2033には図3に示すような、通常の濃度特性で再生されるガンマテーブル(a)の他に、80%(b)、50%(c)、30%(d)という複数のセーブ率が設定されたガンマテーブルを保持している。   The gamma table selection unit 2035 selects a gamma table from the gamma table holding unit 2033 based on the object type information ob, the mode signal md, and the adjacent color information cn. Here, the gamma table holding means 2033 has 80% (b), 50% (c), and 30% (d) in addition to the gamma table (a) reproduced with normal density characteristics as shown in FIG. ) Holds a gamma table with multiple save rates.

図4に示すように、描写色決定手段209は、モード信号mdが通常モードの場合は、上述の図12と同様に、全てのオブジェクト種に対してトナー使用量を抑制しないガンマテーブル(a)を選択する。   As shown in FIG. 4, when the mode signal md is in the normal mode, the depiction color determination unit 209 performs a gamma table (a) that does not suppress toner usage for all object types, as in FIG. Select.

トナーセーブモードが選択された場合には、文字(text)オブジェクト及び線画(line)グラフィックオブジェクトについては、まず、通常のガンマテーブル(a)に基づいてトナーセーブをしない描画色dcを出力する。この値を後述する隣接オブジェクト色検出手段208からの隣接色情報cnと比較手段2036により比較し、異なっていればそのまま描画色dcを出力する。一方、描画色dcと隣接色情報cnが等しい場合には、新しく描画しようとしている文字(text)または線画(line)オブジェクトが背景に埋もれてしまう、あるいは背景との境界がわからなくなってしまうため、若干トナー使用量を下げたガンマテーブル(b)を選択する。   When the toner save mode is selected, a drawing color dc that does not save toner is first output based on the normal gamma table (a) for a text object and a line graphic object. This value is compared with the adjacent color information cn from the adjacent object color detection means 208 (to be described later) by the comparison means 2036, and if they are different, the drawing color dc is output as it is. On the other hand, if the drawing color dc and the adjacent color information cn are equal, the character (text) or line drawing (line) object to be newly drawn will be buried in the background, or the boundary with the background will not be known. A gamma table (b) with a slightly reduced toner usage is selected.

次に塗り潰し(fill)グラフィックオブジェクト及び写真(image)オブジェクトは、色情報ciに基づき所定の設定(ここでは(c)の50%トナーセーブ設定のガンマ)での変換後の描画色dcを求める。この値が後述する隣接オブジェクト色検出手段208からの隣接色情報cnと比較して、異なっていればそのまま描画色dcを出力するように動作させる。一方、描画色dcと隣接色情報cnが等しい場合には、新しく描画しようとしている塗り潰し(fill)または写真(image)オブジェクトが背景に埋もれてしまう、あるいは背景との境界がわからなくなってしまう、ということを示しているので、若干トナー使用量を下げたガンマテーブル(d)を選択する。 Next, for the filled graphic object and the photo object, the drawing color dc after conversion with a predetermined setting (here, 50% toner save setting gamma in (c)) is obtained based on the color information ci. If this value is different from the adjacent color information cn from the adjacent object color detection unit 208 described later, the drawing color dc is output as it is. On the other hand, when the drawing color dc and the adjacent color information cn are equal, the fill or photo object to be newly drawn is buried in the background, or the boundary with the background is not known. Therefore, the gamma table (d) with a slightly reduced toner usage is selected.

次に、隣接オブジェクト色検出手段208の動作について説明する。隣接オブジェクト色検出手段208では、既に展開されたビットマップ用メモリ205の画像位置毎の色情報ciと、これからビットマップ展開手段204で展開しようとする形状情報fmに基づいて、これから展開しようとする形状に隣接する色(CMYK値)を検出し、隣接色情報cnとして描画色決定手段209へ出力する。ここで、ビットマップ用メモリに展開されている画像は既に中間調処理された画像であるので、中間調処理後の画像信号を平均化するなどしてCMYK値を求める。   Next, the operation of the adjacent object color detection unit 208 will be described. The adjacent object color detection unit 208 intends to expand the color information ci for each image position in the bitmap memory 205 already developed and the shape information fm to be developed by the bitmap development unit 204 from now on. A color (CMYK value) adjacent to the shape is detected and output to the drawing color determination unit 209 as adjacent color information cn. Here, since the image developed in the bitmap memory has already been subjected to halftone processing, the CMYK value is obtained by averaging the image signals after halftone processing.

本実施形態により、処理対象オブジェクトが既に描画されている背景画像と同じ色である場合には、意図的に描画色を変更するため、オブジェクト毎に異なるトナーセーブ率で再生するように制御しても、別のオブジェクトが背景色に埋もれてしまって読めなくなると言う問題を防止することが可能となり、どのような場合であっても可読性を保証したトナーセーブモードを提供することが可能となる。   According to this embodiment, when the object to be processed has the same color as the background image that has already been drawn, the drawing color is intentionally changed, so that the object is controlled to be reproduced at a different toner save rate. However, it is possible to prevent the problem that another object is buried in the background color and cannot be read, and in any case, it is possible to provide a toner save mode that guarantees readability.

尚、本実施形態ではdc=cnのときに描画色dcを異ならせるために、異なるガンマテーブルを用いる例を示したが、dc=cnと全く同一の色でなくても概ね同じ色である場合には識別が難しくなる。そこで、所定の色差以内あるいは所定の濃度差以内であった場合に同一色と判断して、同様の処理を行うように構成することも可能である。例えば、色差であれば色差6程度以内であればガンマテーブルを異ならせるなどとしてもよい。   In the present embodiment, an example in which different gamma tables are used in order to make the drawing color dc different when dc = cn is shown. However, even if the color is not the same as dc = cn, the color is almost the same. It becomes difficult to identify. In view of this, it is also possible to determine that the colors are the same when they are within a predetermined color difference or within a predetermined density difference, and perform the same processing. For example, if the color difference is within about 6 color differences, the gamma table may be different.

(実施形態2)
上記実施形態1は、これから描画しようとするオブジェクト(処理対象オブジェクト)の描画色dcを決定する場合に、既に描画済みであって処理対象オブジェクトに隣接する色である隣接色情報cnをチェックして、同一の色の場合には若干濃度を下げて異なる色にするというものである。
(Embodiment 2)
In the first embodiment, when determining the drawing color dc of an object (processing target object) to be drawn, the adjacent color information cn that has already been drawn and is adjacent to the processing target object is checked. In the case of the same color, the density is slightly lowered to a different color.

しかし、処理対象オブジェクトに隣接する色は一色でなく、複数の色にまたがって処理対象オブジェクトが描画される場合には、複数の色で識別性を確保する必要がある。このような場合で、一度異なるガンマテーブルに基づいて求めた描画色dcが他隣接オブジェクト色と概ね等しい場合には、さらに異なるガンマテーブルを選択して、描画色dcを変更する。それでも描画色dcの識別が困難である場合には、識別できる描画色dcが求められるまで、繰り返し異なるガンマテーブル選択を試みる。   However, the color adjacent to the processing target object is not one color, and when the processing target object is drawn across a plurality of colors, it is necessary to ensure the distinguishability with the plurality of colors. In such a case, when the drawing color dc obtained once based on a different gamma table is substantially equal to the other adjacent object color, a different gamma table is selected and the drawing color dc is changed. If it is still difficult to identify the drawing color dc, different gamma table selections are repeatedly attempted until a recognizable drawing color dc is obtained.

本実施形態により、処理対象オブジェクトの描画色dcと隣接オブジェクト色が概ね等しい場合には、処理対象オブジェクトの描画色dcをさらに異なる値に決定するため、処理対象オブジェクトが複数のオブジェクトと重なるような場合にも、識別性を確保することが可能となる。   According to the present embodiment, when the drawing color dc of the processing target object and the adjacent object color are substantially equal, the processing target object overlaps a plurality of objects in order to determine the drawing color dc of the processing target object to a different value. Even in this case, it becomes possible to ensure the distinguishability.

(実施形態3)
上記実施形態1及び2はガンマ変換によってCMYK値の変換をおこなうものである。すなわち、図3におけるガンマテーブル(c)を簡単な式であらわすと、dc=cnの場合は、(C、M、Y、K)=(c、m、y、k)。dc≠cnの場合は、(C、M、Y、K)=(c×0.5、m×0.5、y×0.5、k×0.5)である。
(Embodiment 3)
In the first and second embodiments, the CMYK values are converted by gamma conversion. That is, when the gamma table (c) in FIG. 3 is expressed by a simple expression, when dc = cn, (C, M, Y, K) = (c, m, y, k). When dc ≠ cn, (C, M, Y, K) = (c × 0.5, m × 0.5, y × 0.5, k × 0.5).

しかし、ガンマテーブルや演算式を用いてCMYKに対して直接補正を行うのでは、色のコントロール、コントラストのコントロールが難しい。本来は、トナーセーブモードによって画質を薄くした場合にも、ある程度以上のコントラストが確保されていることが望ましい。また色相や彩度を固定して制御することが、原稿の色味など印象をあまり変えずにトナー使用量の抑制ができ、好適である。   However, if direct correction is performed on CMYK using a gamma table or an arithmetic expression, it is difficult to control color and contrast. Originally, it is desirable that a certain level of contrast is ensured even when the image quality is reduced by the toner save mode. In addition, it is preferable to control the hue and saturation while fixing the amount of toner used without significantly changing the impression such as the color of the document.

そこで、本実施形態の隣接オブジェクト色検出手段208では、CMYKを一旦Lab(色空間座標)信号に変換してLab空間で描画色dcと隣接色情報cnを比較し、概ね同一の色と判断された場合にはコントラストを確保するように描画色を決定する。   Therefore, in the adjacent object color detection unit 208 of this embodiment, CMYK is once converted into a Lab (color space coordinate) signal, and the drawing color dc and the adjacent color information cn are compared in the Lab space, and are determined to be substantially the same color. In such a case, the drawing color is determined so as to ensure the contrast.

図5は、描画色決定手段209の処理を示す図である。描画色決定手段209の処理の一例について、図5に示す図を用いて詳細に説明する。図5に示すように、描画色決定手段209は、Lab変換手段2091、色調整手段2092、セレクタ2093、3D−LUT2094を備える。   FIG. 5 is a diagram showing the processing of the drawing color determination unit 209. An example of the processing of the drawing color determination unit 209 will be described in detail with reference to the diagram shown in FIG. As illustrated in FIG. 5, the drawing color determination unit 209 includes a Lab conversion unit 2091, a color adjustment unit 2092, a selector 2093, and a 3D-LUT 2094.

描画色決定手段209では、まず色情報ciをsRGB(Standard RGB)から一旦Lab信号に変換する。Lab変換手段2091により変換されたLab信号に対して、色調整手段2092により隣接色情報cnに対して一定のコントラストが維持されたLab信号に変換する。このとき、隣接色情報cnはあらかじめCMYKからLabに変換された信号を入力するものとする。   The drawing color determination means 209 first converts the color information ci from sRGB (Standard RGB) to a Lab signal. The Lab signal converted by the Lab conversion unit 2091 is converted by the color adjustment unit 2092 into a Lab signal that maintains a constant contrast with respect to the adjacent color information cn. At this time, as the adjacent color information cn, a signal converted from CMYK to Lab in advance is input.

色調整では、例えばab(色相)を固定して新たなL(明度)を求めるものもある。Lab色差で一定の差が確保されるようにすればよく、例えば変換前のΔLab(=SQRT(√)(L^2+a^2+b^2))+6=変換後のΔL’ab(=SQRT(L’^2+a^2+b^2))となるL'を求め出力する。上記の例では、変換後のL'abは変換前に対して色差6だけ明るい、言い換えればトナー使用量の少ない色で、かつ、abは同一の色が求まる。   In color adjustment, for example, a new L (brightness) is obtained by fixing ab (hue). For example, ΔLab (= SQRT (√) (L ^ 2 + a ^ 2 + b ^ 2)) + 6 = ΔL′ab (= SQRT (L) after conversion may be ensured. Find and output L 'which becomes' ^ 2 + a ^ 2 + b ^ 2)). In the above example, L′ ab after conversion is brighter by a color difference of 6 than that before conversion, in other words, a color with a small amount of toner used, and ab is the same color.

上記の処理で求めたLabおよびL’abをオブジェクト種情報ob及びモード信号mdによってセレクタ2093で選択的に出力する。モード信号mdが通常モードの場合はLab信号を無条件で出力する。モード信号mdがトナーセーブモードの場合は、文字(text)または線画(line)オブジェクトであればLabを出力し、塗り潰し(fill)または写真(image)オブジェクトの場合にはL’abを出力するよう制御する。出力されたLabまたはL’ab信号を、3D−LUT2094によってCMYK信号に変換し、描画色dcとして出力する。   Lab and L′ ab obtained by the above processing are selectively output by the selector 2093 based on the object type information ob and the mode signal md. When the mode signal md is the normal mode, the Lab signal is output unconditionally. If the mode signal md is the toner save mode, Lab is output if it is a text or line object, and L'ab is output if it is a fill or photo object. Control. The output Lab or L′ ab signal is converted into a CMYK signal by the 3D-LUT 2094 and output as a drawing color dc.

本実施形態により、一定のコントラストを確保するように描画色を決定することができるので、オブジェクト毎に異なるトナーセーブ率で再生するように制御しても、別のオブジェクトが背景色に埋もれて読めなくなると言う問題を防止することができ、どのようなケースでも確実に一定以上のコントラストを保持した可読性の高いトナーセーブモードを実現することが可能となる。   According to the present embodiment, the drawing color can be determined so as to ensure a certain contrast. Therefore, even if control is performed so that reproduction is performed with a different toner save rate for each object, another object is embedded in the background color and can be read. The problem of disappearance can be prevented, and in any case, it is possible to realize a highly readable toner save mode that reliably maintains a certain contrast or more.

また、一定のコントラストを確保するようにする場合に、色相及び彩度を固定し、明度を変更するように変換しているので、色味を変えず、明るさだけを異ならせることで印象をできるだけ変えない画像を形成し、かつ、背景色と処理対象オブジェクトとの可読性を確保したトナーセーブモードを実現することが可能となる。   In addition, when securing a certain contrast, the hue and saturation are fixed and converted to change the brightness, so the impression is changed by changing only the brightness without changing the color. It is possible to realize a toner save mode in which an image that is not changed as much as possible is formed and the readability of the background color and the processing target object is ensured.

(実施形態4)
本実施形態では、上記実施形態3記載の処理と同類の処理として明度を固定し、abを変更するようにして背景色と処理対象オブジェクトとの可読性を確保する処理の一例について説明する。
(Embodiment 4)
In the present embodiment, an example of processing that secures the readability of the background color and the processing target object by fixing brightness and changing ab as processing similar to the processing described in the third embodiment will be described.

変換前のΔLab(=SQRT(L^2+a^2+b^2))+6=変換後のΔLa’b'(=SQRT(L^2+a’^2+b’^2))となるようなa’及びb'を求めればよい。ここで、a、bと二つのパラメータが存在するので上記を満足する組合せは複数存在するが、a、bのうち絶対値が大きい成分に対して変換後信号との差異が大きくなるようにa’、b'を求めるなどのルールを決めておけば一意に求めることも可能である。   A ′ and b ′ such that ΔLab before conversion (= SQRT (L ^ 2 + a ^ 2 + b ^ 2)) + 6 = ΔLa′b ′ after conversion (= SQRT (L ^ 2 + a ′ ^ 2 + b ′ ^ 2)) You can ask for. Here, since there are two parameters a and b, there are a plurality of combinations satisfying the above, but a and b are different so that the difference between the converted signal and the component having a large absolute value is large. If a rule such as “, b” is determined, it can be determined uniquely.

本実施形態により、色相方向、彩度方向に変換後の描画色dcを設定することができ、可読性を確保した制御を行うことが可能となる。色相方向に変換を行うことは、トナー使用量を低減する処理には必ずしも繋がらない場合があるが、それでも背景に埋もれてしまうことはなく、可読性を確保できるという点で有効である。本実施形態は、例えばLが非常に大きな値で、これ以上Lの値を大きくできない場合などに有効である。   According to the present embodiment, it is possible to set the converted drawing color dc in the hue direction and the saturation direction, and it is possible to perform control that ensures readability. Performing conversion in the hue direction may not necessarily lead to processing for reducing the amount of toner used, but is never buried in the background and is effective in that it can ensure readability. This embodiment is effective when, for example, L is a very large value and the value of L cannot be increased any more.

(実施形態5)
上記実施形態1から4は、これから描画しようとするオブジェクト(処理対象オブジェクト)の描画色dcを決定する場合に、既に描画済みであって処理対象オブジェクトに隣接する色である隣接色情報cnをチェックして、同一の色の場合には濃度や明度、色相を変更して異なる色にするというものである。図6は、色自体を変えずに可読性を確保するための画像処理を示す一実施形態の概略構成図である。本実施形態では、色自体は変えないで可読性を確保するトナーセーブモードを実現する画像処理の一例について、図6に示す図を用いて詳細に説明する。
(Embodiment 5)
In the first to fourth embodiments, when the drawing color dc of the object (processing target object) to be drawn is determined, the adjacent color information cn that is already drawn and is adjacent to the processing target object is checked. In the case of the same color, the density, lightness, and hue are changed to make different colors. FIG. 6 is a schematic configuration diagram of an embodiment showing image processing for ensuring readability without changing the color itself. In the present embodiment, an example of image processing that realizes a toner save mode that ensures readability without changing the color itself will be described in detail with reference to the diagram shown in FIG.

図6は、図1と類似する構成であるが、ビットマップ展開手段204の後段にエッジ処理手段211を有している点で異なる。エッジ処理手段211では、ビットマップ展開手段204によって展開されるオブジェクトのエッジを抽出する。一旦、画像メモリに展開したオブジェクトのビットマップイメージに対して、一次微分フィルタなどのエッジ検出フィルタでエッジ画素を検出し、エッジ画素に対してはエッジ内部の画素よりも濃度の高い画素値を適用する。   FIG. 6 has a configuration similar to that of FIG. 1 except that an edge processing unit 211 is provided at the subsequent stage of the bitmap development unit 204. The edge processing unit 211 extracts the edge of the object developed by the bitmap development unit 204. Once the bitmap image of the object developed in the image memory is detected, an edge pixel is detected by an edge detection filter such as a first-order differential filter, and a pixel value having a higher density than the pixel inside the edge is applied to the edge pixel. To do.

本実施形態により、描画色が背景に埋もれてしまうような場合には、処理対象オブジェクトのエッジ領域を検出し、エッジ領域のみに対してはエッジ内部と異なる画素値とすることによってエッジ形状だけは認識できるようにし、可読性を確保するトナーセーブモードを実現することが可能となる。   According to this embodiment, when the drawing color is buried in the background, the edge region of the processing target object is detected, and only the edge shape is obtained by setting the pixel value different from the inside of the edge only for the edge region. It is possible to realize a toner save mode that enables recognition and ensures readability.

図7は上記実施形態5の処理の具体的な例を示した図である。本実施形態では、図13の(b)に示したように、トナーセーブモード時にトナーセーブガンマを用いることによって背景領域の色信号値と、前景の信号値が概ね同一となった場合には区別がつかなくなり、可読性が著しく低下してしまった場合であっても、図7に示すように、処理対象オブジェクト(図7の例では前景の“ABC"という文字)のエッジ部を抽出し、エッジ部に対してはエッジ内部の色よりも濃い色となるように画素値の変換を行うことにより、エッジ部分が認識できるので可読性を確保することが可能となる。   FIG. 7 is a diagram showing a specific example of the processing of the fifth embodiment. In the present embodiment, as shown in FIG. 13B, when the toner save gamma is used in the toner save mode, the color signal value of the background area and the signal value of the foreground are substantially the same, and thus the distinction is made. 7, even if the readability is significantly reduced, as shown in FIG. 7, the edge portion of the object to be processed (the character “ABC” in the foreground in the example of FIG. 7) is extracted, and the edge By converting the pixel value so that the color becomes darker than the color inside the edge, the edge portion can be recognized, so that readability can be ensured.

本実施形態では、エッジを抽出するにあたり、一旦画像メモリに展開して微分フィルタによりエッジ領域の特定をする例を示したがこの限りではなく、例えばビットマップ展開する際にダイレクトにビットマップ展開手段204で、エッジ部を異なる濃度でビット展開するように構成することも可能である。一般的には、プリンタコントローラにおいてビットマップ展開する際にはランデータに展開し描画する。上記処理の例を示したのが図8であり、例えば“A”という文字を展開する際には、複数本のランデータを積み重ねて文字の形を作成している。各ランデータは始点と終点が明確であるため、始点画素と終点画素のみ高濃度することによって概ねエッジを形成することが可能となる。   In the present embodiment, when extracting an edge, an example in which the edge region is specified by a differential filter once developed in an image memory has been shown. However, the present invention is not limited to this. It is also possible to configure the edge portion to be bit expanded at different densities at 204. In general, when a bitmap is developed in the printer controller, it is developed and drawn into run data. FIG. 8 shows an example of the above processing. For example, when the character “A” is expanded, a plurality of run data are stacked to create a character shape. Since each run data has a clear start point and end point, it is possible to form an edge in general by increasing the density of only the start point pixel and the end point pixel.

尚、上述した本発明の実施形態に係る処理をCPUが実行するためのプログラムは本発明によるプログラムを構成する。このプログラムを記録する記録媒体としては、半導体記憶部や光学的及び/又は磁気的な記憶部等を用いることができる。   The program for the CPU to execute the processing according to the embodiment of the present invention described above constitutes the program according to the present invention. As a recording medium for recording the program, a semiconductor storage unit, an optical and / or magnetic storage unit, or the like can be used.

以上好適な実施の形態に基づき具体的に説明したが、本発明は上述した実施形態に係る画像処理装置、画像処理方法、プログラム及び記録媒体に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であるといことは言うまでもない。   Although specifically described based on the preferred embodiments, the present invention is not limited to the image processing apparatus, the image processing method, the program, and the recording medium according to the above-described embodiments, and does not depart from the gist of the invention. Needless to say, various changes can be made.

本発明の実施形態に係る概略構成図である。It is a schematic structure figure concerning an embodiment of the present invention. 本発明の実施形態に係る描画色決定手段の処理を示す図である。It is a figure which shows the process of the drawing color determination means which concerns on embodiment of this invention. 本発明の実施形態に係るガンマテーブル保持手段により保持されているテーブルの特性を示す図である。It is a figure which shows the characteristic of the table hold | maintained by the gamma table holding | maintenance means which concerns on embodiment of this invention. 本発明の実施形態に係る描画色決定手段を説明するための図である。It is a figure for demonstrating the drawing color determination means which concerns on embodiment of this invention. 本発明の実施形態に係る描画色決定手段の処理を示す図である。It is a figure which shows the process of the drawing color determination means which concerns on embodiment of this invention. 本発明の一実施形態に係る概略構成図である。It is a schematic structure figure concerning one embodiment of the present invention. 本発明の実施形態に係るエッジ処理手段の処理を施したオブジェクトの一例を示す図である。It is a figure which shows an example of the object which performed the process of the edge process means which concerns on embodiment of this invention. 本発明の実施形態に係るランデータに展開したオブジェクトの一例を示す図である。It is a figure which shows an example of the object expand | deployed to the run data which concerns on embodiment of this invention. 特許文献2の実施形態に係る概略構成図である。It is a schematic block diagram which concerns on embodiment of patent document 2. FIG. 特許文献2の実施形態に係る描画色決定手段の処理を示す図である。It is a figure which shows the process of the drawing color determination means which concerns on embodiment of patent document 2. FIG. 特許文献2の実施形態に係るガンマテーブル保持手段により保持されているテーブルの特性を示す図である。It is a figure which shows the characteristic of the table hold | maintained by the gamma table holding | maintenance means which concerns on embodiment of patent document 2. FIG. 特許文献2の実施形態に係るテーブル選択手段を説明するための図である。It is a figure for demonstrating the table selection means which concerns on embodiment of patent document 2. FIG. トナーセーブモード選択時の処理を施す前及び施したオブジェクトの一例を示した図である。FIG. 6 is a diagram illustrating an example of an object that has been subjected to processing when a toner save mode is selected and that has been performed.

符号の説明Explanation of symbols

1 画像処理装置
10 ホストコンピュータ
20 画像処理手段
30 画像出力手段
101 アプリケーションソフト
102 プリンタドライバ
201 入力バッファ
202 コマンド解釈手段
203 描画色決定手段
204 ビットマップ展開手段
205 ビットマップ用メモリ
206 モード設定手段
207 出力デバイス(プリンタエンジン)
208 隣接オブジェクト色検出手段
209 描画色決定手段
211 エッジ処理手段
2031 3D−LUT
2032 ガンマ補正
2033 ガンマテーブル保持手段
2034 ガンマテーブル選択手段
2035 ガンマテーブル選択手段
2036 比較手段
2091 Lab変換手段
2092 色調整手段
2093 セレクタ
2094 3D−LUT
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 10 Host computer 20 Image processing means 30 Image output means 101 Application software 102 Printer driver 201 Input buffer 202 Command interpretation means 203 Drawing color determination means 204 Bitmap expansion means 205 Bitmap memory 206 Mode setting means 207 Output device (Printer engine)
208 Adjacent object color detection means 209 Drawing color determination means 211 Edge processing means 2031 3D-LUT
2032 Gamma correction 2033 Gamma table holding means 2034 Gamma table selection means 2035 Gamma table selection means 2036 Comparison means 2091 Lab conversion means 2092 Color adjustment means 2093 Selector 2094 3D-LUT

Claims (19)

ホストコンピュータからのプリンタコマンドを入力する入力手段と、
前記入力手段により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する画像処理手段と、
前記画像処理手段で処理した画像信号を出力する画像出力手段と、を備える画像処理装置であって、
トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、前記画像処理手段は、プリンタコマンドから処理対象オブジェクトの属性を解釈するコマンド解釈手段と、
前記処理対象オブジェクトに隣接するオブジェクトの色を検出する隣接オブジェクト色検出手段と、
前記コマンド解釈手段の解釈結果と、前記隣接オブジェクト色検出手段の検出結果に応じて前記処理対象オブジェクトの描画色を決定する描画色決定手段と、
前記描画色決定手段で決定された描画色に基づいて前記処理対象オブジェクトの描画を行う描画手段と、を備えることを特徴とする画像処理装置。
An input means for inputting a printer command from the host computer;
Image processing means for interpreting and developing a printer command input by the input means, and converting the command into an image signal corresponding to the output device;
An image output unit that outputs an image signal processed by the image processing unit,
When a toner save mode for outputting while suppressing toner usage is selected, the image processing means includes command interpretation means for interpreting attributes of a processing target object from a printer command;
Adjacent object color detection means for detecting the color of an object adjacent to the processing target object;
A drawing color determining unit that determines a drawing color of the processing target object according to an interpretation result of the command interpreting unit and a detection result of the adjacent object color detecting unit;
An image processing apparatus comprising: drawing means for drawing the processing target object based on the drawing color determined by the drawing color determining means.
前記描画色決定手段は、前記処理対象オブジェクトの描画色を、前記隣接オブジェクト色検出手段により検出された隣接オブジェクト色と異なる値に決定することを特徴とする請求項1記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the drawing color determination unit determines the drawing color of the processing target object to be a value different from the adjacent object color detected by the adjacent object color detection unit. 前記描画色決定手段は、決定した処理対象オブジェクトの描画色と、前記隣接オブジェクト色検出手段により検出された隣接オブジェクト色とが概ね等しい場合には、前記処理対象オブジェクトの描画色をさらに異なる値に決定することを特徴とする請求項1又は2記載の画像処理装置。   When the determined drawing color of the processing target object is substantially equal to the adjacent object color detected by the adjacent object color detection unit, the drawing color determination unit sets the drawing color of the processing target object to a different value. The image processing apparatus according to claim 1, wherein the image processing apparatus is determined. 前記描画色決定手段は、前記処理対象オブジェクトの描画色を、一定のコントラストを確保する描画色に決定することを特徴とする請求項1から3のいずれか1項記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the drawing color determination unit determines a drawing color of the processing target object to be a drawing color that secures a certain contrast. 前記描画色決定手段は、前記一定のコントラストを確保する描画色を、色相及び彩度を固定し、明度を変更することにより決定することを特徴とする請求項4記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the drawing color determination unit determines the drawing color that secures the constant contrast by fixing hue and saturation and changing brightness. 前記描画色決定手段は、前記一定のコントラストを確保する描画色を、明度を固定し、色相及び彩度を変更することにより決定することを特徴とする請求項4記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the drawing color determination unit determines the drawing color that secures the constant contrast by fixing lightness and changing hue and saturation. 前記ホストコンピュータからのプリンタコマンドを入力する前記入力手段と、
前記入力手段により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた前記画像信号に変換する前記画像処理手段と、
前記画像処理手段で処理した画像信号を出力する前記画像出力手段と、を備える画像処理装置であって、
トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、前記画像処理手段は、プリンタコマンドから処理対象オブジェクトの属性を解釈する前記コマンド解釈手段と、
前記処理対象オブジェクトに隣接するオブジェクトの色を検出する前記隣接オブジェクト色検出手段と、
前記コマンド解釈手段の解釈結果に応じて処理対象オブジェクトの描画色を決定する描画色決定手段と、
前記描画色決定手段で求められた描画色と前記隣接オブジェクト色検出手段により検出された隣接オブジェクト色が概ね同一である場合には、前記処理対象オブジェクトの輪郭画素を抽出するとともに、輪郭画素以外の画素に対しては前記描画色で描画し、隣接画素に対しては前記描画色よりも濃度の高い描画色を用いて描画を行うエッジ処理手段と、を備えることを特徴とする画像処理装置。
The input means for inputting a printer command from the host computer;
Interpreting and expanding a printer command input by the input means, and converting the image command into an image signal corresponding to an output device; and
An image processing apparatus comprising: the image output unit that outputs an image signal processed by the image processing unit;
When a toner save mode for outputting while suppressing the amount of toner used is selected, the image processing unit interprets the attribute of the processing target object from a printer command;
The adjacent object color detection means for detecting the color of an object adjacent to the processing target object;
Drawing color determining means for determining the drawing color of the processing target object according to the interpretation result of the command interpreting means;
When the drawing color obtained by the drawing color determination unit and the adjacent object color detected by the adjacent object color detection unit are substantially the same, the contour pixel of the processing target object is extracted and other than the contour pixel An image processing apparatus, comprising: edge processing means for drawing a pixel with the drawing color and drawing an adjacent pixel with a drawing color having a higher density than the drawing color.
ホストコンピュータからのプリンタコマンドを入力する入力ステップと、
前記入力ステップにより入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する画像処理ステップと、
前記画像処理ステップで処理した画像信号を出力する画像出力ステップと、を備える画像処理方法であって、
トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、前記画像処理ステップは、プリンタコマンドから処理対象オブジェクトの属性を解釈するコマンド解釈ステップと、
前記処理対象オブジェクトに隣接するオブジェクトの色を検出する隣接オブジェクト色検出ステップと、
前記コマンド解釈ステップの解釈結果と、前記隣接オブジェクト色検出ステップの検出結果に応じて前記処理対象オブジェクトの描画色を決定する描画色決定ステップと、
前記描画色決定ステップで決定された描画色に基づいて前記処理対象オブジェクトの描画を行う描画ステップと、を備えることを特徴とする画像処理方法。
An input step for inputting a printer command from the host computer;
An image processing step of interpreting and expanding the printer command input in the input step, and converting the printer command into an image signal corresponding to the output device;
An image output method for outputting the image signal processed in the image processing step,
In a case where a toner save mode for outputting while suppressing toner usage is selected, the image processing step includes a command interpretation step for interpreting attributes of a processing target object from a printer command;
An adjacent object color detection step for detecting a color of an object adjacent to the processing target object;
A drawing color determination step for determining a drawing color of the processing target object according to an interpretation result of the command interpretation step and a detection result of the adjacent object color detection step;
An image processing method comprising: a drawing step of drawing the object to be processed based on the drawing color determined in the drawing color determination step.
前記描画色決定ステップは、前記処理対象オブジェクトの描画色を、前記隣接オブジェクト色検出ステップにより検出された隣接オブジェクト色と異なる描画色に決定することを特徴とする請求項8記載の画像処理方法。   9. The image processing method according to claim 8, wherein the drawing color determination step determines a drawing color of the processing target object to be a drawing color different from the adjacent object color detected by the adjacent object color detection step. 前記描画色決定ステップは、決定した処理対象オブジェクトの描画色と、前記隣接オブジェクト色検出ステップにより検出された隣接オブジェクト色とが概ね等しい場合には、前記処理対象オブジェクトの描画色をさらに異なる値に決定することを特徴とする請求項8又は9記載の画像処理方法。   In the drawing color determination step, when the determined drawing color of the processing target object is substantially equal to the adjacent object color detected by the adjacent object color detection step, the drawing color of the processing target object is set to a different value. 10. The image processing method according to claim 8, wherein the image processing method is determined. 前記描画色決定ステップは、前記処理対象オブジェクトの描画色を、一定のコントラストを確保する描画色に決定することを特徴とする請求項8から10のいずれか1項記載の画像処理方法。   The image processing method according to claim 8, wherein the drawing color determination step determines a drawing color of the processing target object to be a drawing color that ensures a certain contrast. 前記描画色決定ステップは、前記一定のコントラストを確保する描画色を、色相及び彩度を固定し、明度を変更することにより決定することを特徴とする請求項11記載の画像処理方法。   12. The image processing method according to claim 11, wherein in the drawing color determination step, the drawing color for ensuring the constant contrast is determined by fixing hue and saturation and changing brightness. 前記描画色決定ステップは、前記一定のコントラストを確保する描画色を、明度を固定し、色相及び彩度を変更することにより決定することを特徴とする請求項11記載の画像処理方法。   12. The image processing method according to claim 11, wherein in the drawing color determination step, the drawing color for ensuring the constant contrast is determined by fixing the lightness and changing the hue and saturation. ホストコンピュータからのプリンタコマンドを入力する前記入力ステップと、
前記入力ステップにより入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する前記画像処理ステップと、
前記画像処理ステップで処理した画像信号を出力する前記画像出力ステップと、を備える画像処理方法であって、
トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、前記画像処理ステップは、プリンタコマンドから処理対象オブジェクトの属性を解釈する前記コマンド解釈ステップと、
前記処理対象オブジェクトに隣接するオブジェクトの色を検出する前記隣接オブジェクト色検出ステップと、
前記コマンド解釈ステップの解釈結果に応じて前記処理対象オブジェクトの描画色を決定する描画色決定ステップと、
前記描画色決定ステップで求められた描画色と前記隣接オブジェクト色検出ステップにより検出された隣接オブジェクト色が概ね同一である場合には、前記処理対象オブジェクトの輪郭画素を抽出するとともに、輪郭画素以外の画素に対しては前記描画色で描画し、隣接画素に対しては前記描画色よりも濃度の高い描画色を用いて描画を行うエッジ処理ステップと、を備えることを特徴とする画像処理方法。
The input step of inputting a printer command from a host computer;
The image processing step of interpreting and expanding the printer command input in the input step and converting it into an image signal corresponding to an output device;
An image output method for outputting the image signal processed in the image processing step, and an image processing method comprising:
When the toner save mode for outputting the toner while suppressing the toner usage is selected, the image processing step includes the command interpretation step for interpreting the attribute of the processing target object from the printer command;
The adjacent object color detection step of detecting the color of an object adjacent to the processing target object;
A drawing color determination step for determining a drawing color of the processing target object according to an interpretation result of the command interpretation step;
When the drawing color obtained in the drawing color determination step and the adjacent object color detected in the adjacent object color detection step are substantially the same, the contour pixel of the processing target object is extracted, and other than the contour pixel An image processing method comprising: an edge processing step of drawing a pixel with the drawing color and drawing an adjacent pixel with a drawing color having a higher density than the drawing color.
ホストコンピュータからのプリンタコマンドを入力する処理と、
前記入力する処理により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた画像信号に変換する処理と、
前記変換する処理で処理した画像信号を出力する処理と、をコンピュータに実行させる制御プログラムであって、
トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、前記変換する処理は、プリンタコマンドから処理対象オブジェクトの属性を解釈する処理と、
前記処理対象オブジェクトに隣接するオブジェクトの色を検出する処理と、
前記解釈する処理の解釈結果と、前記検出する処理の検出結果に応じて前記処理対象オブジェクトの描画色を決定する処理と、前記決定する処理で設定された描画色に基づいて前記処理対象オブジェクトの描画を行う処理と、をコンピュータに実行させるプログラム。
A process of inputting a printer command from the host computer;
A process of interpreting and expanding a printer command input by the input process, and converting the command into an image signal corresponding to an output device;
A control program for causing a computer to execute a process of outputting an image signal processed in the process of converting,
When the toner save mode for outputting while suppressing the amount of toner used is selected, the conversion processing includes processing for interpreting attributes of the processing target object from a printer command, and
Detecting a color of an object adjacent to the processing target object;
Based on the interpretation result of the processing to be interpreted, processing for determining the drawing color of the processing target object according to the detection result of the processing to be detected, and the processing target object based on the drawing color set in the processing to be determined A program that causes a computer to execute drawing processing.
前記決定する処理であって、
前記処理対象オブジェクトの描画色を、前記検出する処理により検出された隣接オブジェクト色と異なる値に決定する処理と、
決定した処理対象オブジェクトの描画色と、前記検出する処理により検出された隣接オブジェクト色とが概ね等しい場合には、前記処理対象オブジェクトの描画色をさらに異なる値に決定する処理と、
前記処理対象オブジェクトの描画色を、一定のコントラストを確保する描画色に決定する処理と、をコンピュータに実行させる請求項15記載のプログラム。
A process for determining,
A process of determining a drawing color of the processing target object to a value different from the adjacent object color detected by the detection process;
When the determined drawing color of the processing target object is substantially equal to the adjacent object color detected by the detection process, a process of determining the drawing color of the processing target object to a different value;
16. The program according to claim 15, which causes a computer to execute a process of determining a drawing color of the processing target object as a drawing color that ensures a certain contrast.
前記決定する処理であって、
前記一定のコントラストを確保する描画色を、色相及び彩度を固定し、明度を変更することにより決定する処理と、
前記一定のコントラストを確保する描画色を、明度を固定し、色相及び彩度を変更することにより決定する処理と、をコンピュータに実行させる請求項16記載のプログラム。
A process for determining,
A process of determining the drawing color for ensuring the constant contrast by fixing the hue and saturation and changing the brightness;
17. The program according to claim 16, which causes a computer to execute processing for determining a drawing color that secures a certain contrast by fixing lightness and changing hue and saturation.
前記ホストコンピュータからのプリンタコマンドを入力する処理と、
前記入力する処理により入力したプリンタコマンドを解釈して展開し、出力デバイスに応じた前記画像信号に変換する処理と、
前記変換する処理で処理した画像信号を出力する処理と、をコンピュータに実行させる制御プログラムであって、
トナー使用量を抑制して出力するトナーセーブモードが選択された場合に、前記変換する処理は、プリンタコマンドから処理対象オブジェクトの属性を解釈する処理と、
前記処理対象オブジェクトに隣接するオブジェクトの色を検出する処理と、
前記解釈する処理の解釈結果に応じて処理対象オブジェクトの描画色を決定する処理と、
前記決定する処理で求められた描画色と前記検出する処理により検出された隣接オブジェクト色が概ね同一である場合には、前記処理対象オブジェクトの輪郭画素を抽出するとともに、輪郭画素以外の画素に対しては前記描画色で描画し、隣接画素に対しては前記描画色よりも濃度の高い描画色を用いて描画する処理と、をコンピュータに実行させるプログラム。
A process of inputting a printer command from the host computer;
A process of interpreting and expanding a printer command input by the input process, and converting the command into an image signal corresponding to an output device;
A control program for causing a computer to execute a process of outputting an image signal processed in the process of converting,
When the toner save mode for outputting while suppressing the amount of toner used is selected, the conversion processing includes processing for interpreting attributes of the processing target object from a printer command, and
Detecting a color of an object adjacent to the processing target object;
A process of determining a drawing color of the processing target object according to an interpretation result of the interpreting process;
When the drawing color obtained by the determining process and the adjacent object color detected by the detecting process are substantially the same, the contour pixel of the processing target object is extracted and the pixels other than the contour pixel are extracted. A program that causes a computer to execute a process of drawing with the drawing color and drawing an adjacent pixel using a drawing color having a higher density than the drawing color.
請求項15から18のいずれか1項記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of any one of Claims 15-18.
JP2008016722A 2008-01-28 2008-01-28 Image processing apparatus, image processing method, program and recording medium Pending JP2009172970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008016722A JP2009172970A (en) 2008-01-28 2008-01-28 Image processing apparatus, image processing method, program and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008016722A JP2009172970A (en) 2008-01-28 2008-01-28 Image processing apparatus, image processing method, program and recording medium

Publications (1)

Publication Number Publication Date
JP2009172970A true JP2009172970A (en) 2009-08-06

Family

ID=41028618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008016722A Pending JP2009172970A (en) 2008-01-28 2008-01-28 Image processing apparatus, image processing method, program and recording medium

Country Status (1)

Country Link
JP (1) JP2009172970A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011257669A (en) * 2010-06-11 2011-12-22 Ricoh Co Ltd Image forming apparatus, image forming control method, image forming control program and recording medium
JP2012027381A (en) * 2010-07-27 2012-02-09 Ricoh Co Ltd Image processing device, image processing method, program and recording medium
JP2012043406A (en) * 2010-07-23 2012-03-01 Ricoh Co Ltd Image processing apparatus, image processing method and program
JP2013021607A (en) * 2011-07-13 2013-01-31 Ricoh Co Ltd Image data processor, image forming apparatus, program and recording medium
WO2013136593A1 (en) * 2012-03-14 2013-09-19 オムロン株式会社 Display method of area extraction results, and image processing device
EP2852144A1 (en) * 2013-09-12 2015-03-25 Canon Kabushiki Kaisha Image processing apparatus and image processing method
US10063742B2 (en) 2014-01-27 2018-08-28 Ricoh Company, Ltd. Integrated circuit, image processing apparatus, and image forming apparatus that selects density conversion information according to a selected image processing method
WO2019124137A1 (en) * 2017-12-19 2019-06-27 キヤノン株式会社 Image processing device, image processing method, and program
JP2019107880A (en) * 2017-12-19 2019-07-04 キヤノン株式会社 Image processing device, image processing method and program

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02264298A (en) * 1989-04-05 1990-10-29 Photo Composing Mach Mfg Co Ltd Character image processing method
JPH06348243A (en) * 1993-06-07 1994-12-22 Fuji Photo Film Co Ltd On-screen character color selecting method
JPH07256972A (en) * 1994-03-24 1995-10-09 Nikon Corp Printer
JP2001219626A (en) * 2000-02-08 2001-08-14 Ricoh Co Ltd Printing system
JP2002252772A (en) * 2001-02-22 2002-09-06 Riso Kagaku Corp Color image processing unit and recording medium
JP2003324622A (en) * 2002-05-07 2003-11-14 Canon Inc Subtractive color apparatus, image processing method, program and recording medium
JP2006186485A (en) * 2004-12-27 2006-07-13 Sharp Corp Image processor
JP2006245644A (en) * 2005-02-28 2006-09-14 Ricoh Co Ltd Image forming apparatus, image processor, program and image processing method
JP2007011735A (en) * 2005-06-30 2007-01-18 Canon Marketing Japan Inc Information processor, printing control method, program and recording medium
JP2008017234A (en) * 2006-07-06 2008-01-24 Konica Minolta Business Technologies Inc Image processing apparatus and image processing method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02264298A (en) * 1989-04-05 1990-10-29 Photo Composing Mach Mfg Co Ltd Character image processing method
JPH06348243A (en) * 1993-06-07 1994-12-22 Fuji Photo Film Co Ltd On-screen character color selecting method
JPH07256972A (en) * 1994-03-24 1995-10-09 Nikon Corp Printer
JP2001219626A (en) * 2000-02-08 2001-08-14 Ricoh Co Ltd Printing system
JP2002252772A (en) * 2001-02-22 2002-09-06 Riso Kagaku Corp Color image processing unit and recording medium
JP2003324622A (en) * 2002-05-07 2003-11-14 Canon Inc Subtractive color apparatus, image processing method, program and recording medium
JP2006186485A (en) * 2004-12-27 2006-07-13 Sharp Corp Image processor
JP2006245644A (en) * 2005-02-28 2006-09-14 Ricoh Co Ltd Image forming apparatus, image processor, program and image processing method
JP2007011735A (en) * 2005-06-30 2007-01-18 Canon Marketing Japan Inc Information processor, printing control method, program and recording medium
JP2008017234A (en) * 2006-07-06 2008-01-24 Konica Minolta Business Technologies Inc Image processing apparatus and image processing method

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011257669A (en) * 2010-06-11 2011-12-22 Ricoh Co Ltd Image forming apparatus, image forming control method, image forming control program and recording medium
JP2012043406A (en) * 2010-07-23 2012-03-01 Ricoh Co Ltd Image processing apparatus, image processing method and program
JP2012027381A (en) * 2010-07-27 2012-02-09 Ricoh Co Ltd Image processing device, image processing method, program and recording medium
JP2013021607A (en) * 2011-07-13 2013-01-31 Ricoh Co Ltd Image data processor, image forming apparatus, program and recording medium
KR101658719B1 (en) 2012-03-14 2016-09-21 오므론 가부시키가이샤 Display method of area extraction results, and image processing device
JP2013191054A (en) * 2012-03-14 2013-09-26 Omron Corp Display method of area extraction results, and image processing device
KR20140133547A (en) * 2012-03-14 2014-11-19 오므론 가부시키가이샤 Display method of area extraction results, and image processing device
WO2013136593A1 (en) * 2012-03-14 2013-09-19 オムロン株式会社 Display method of area extraction results, and image processing device
EP2852144A1 (en) * 2013-09-12 2015-03-25 Canon Kabushiki Kaisha Image processing apparatus and image processing method
US9489603B2 (en) 2013-09-12 2016-11-08 Canon Kabushiki Kaisha Image processing apparatus, image processing method, and storage medium that determine whether a white character exists inside a graphics object and convert density information accordingly
US10063742B2 (en) 2014-01-27 2018-08-28 Ricoh Company, Ltd. Integrated circuit, image processing apparatus, and image forming apparatus that selects density conversion information according to a selected image processing method
WO2019124137A1 (en) * 2017-12-19 2019-06-27 キヤノン株式会社 Image processing device, image processing method, and program
JP2019107880A (en) * 2017-12-19 2019-07-04 キヤノン株式会社 Image processing device, image processing method and program
JP7166853B2 (en) 2017-12-19 2022-11-08 キヤノン株式会社 Image processing device, image processing method and program
US11496648B2 (en) 2017-12-19 2022-11-08 Canon Kabushiki Kaisha Image-processing apparatus, image-forming apparatus, method of processing image, and storage medium
US11825057B2 (en) 2017-12-19 2023-11-21 Canon Kabushiki Kaisha Image-processing apparatus, image-forming apparatus, method of processing image, and storage medium

Similar Documents

Publication Publication Date Title
JP2009172970A (en) Image processing apparatus, image processing method, program and recording medium
US7505174B2 (en) Image processing method, system and apparatus, and storage medium
JP4956356B2 (en) Image processing apparatus and image processing method
JP5031694B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing program for executing the method
US8830546B2 (en) Apparatus and method determining whether object specified to enable an underlying object to be seen there through is included in data to be printed, and medium having instructions for performing the method
US8149461B2 (en) Image processing apparatus and method to compensate for displacement of different printing positions in different colors
JP4640257B2 (en) Image processing apparatus, image processing method, and program
JP4428743B2 (en) Image processing method and apparatus, printer, image processing system, and storage medium
JP4682662B2 (en) Image processing apparatus and image processing program
JP2006135936A (en) Printer controller, image forming apparatus and image formation program
US20160048099A1 (en) Image processing apparatus, image processing method, and storage medium
JP2009071695A (en) Image processor, image processing method, program, and storage medium
JPH0927915A (en) Image processing unit and method
JP2007050708A (en) Image processor and printer
JP4109785B2 (en) Image processing apparatus and method, and computer-readable memory
JP4356953B2 (en) Image processing system, image processing apparatus, control method therefor, and storage medium
JP2009129342A (en) Image processing device and method
JP4514168B2 (en) Image processing system and image processing method
US8390907B2 (en) Image-processing device, image-forming device, image-processing method, and computer readable medium
JP4306841B2 (en) Image processing apparatus and method, and computer-readable memory
JP4455261B2 (en) Image processing method, image processing apparatus, and image forming system
JP2004334533A (en) Image processing device and method
JP2004320361A (en) Image processor and image processing method
US8351082B2 (en) Image processing apparatus, image forming system, and computer usable medium therefor
JP4217332B2 (en) Image processing apparatus and method, and computer-readable memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100902

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121030