JP2023106806A - Image processing apparatus, image processing method, and program - Google Patents

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

Info

Publication number
JP2023106806A
JP2023106806A JP2022007753A JP2022007753A JP2023106806A JP 2023106806 A JP2023106806 A JP 2023106806A JP 2022007753 A JP2022007753 A JP 2022007753A JP 2022007753 A JP2022007753 A JP 2022007753A JP 2023106806 A JP2023106806 A JP 2023106806A
Authority
JP
Japan
Prior art keywords
density
gray
image
value
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022007753A
Other languages
Japanese (ja)
Inventor
利満 中野
Toshimitsu Nakano
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2022007753A priority Critical patent/JP2023106806A/en
Publication of JP2023106806A publication Critical patent/JP2023106806A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Image Communication Systems (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)

Abstract

To maintain the distinctiveness of colors when printing a color image in monochrome even if density adjustment is performed on a gray scale page image.SOLUTION: An image processing apparatus is an apparatus for printing a color page image in monochrome. The image processing apparatus has: creation means that converts a multi-dimensional color component values of objects included in the color page image into gray values to create a gray scale page image; and adjustment means that adjusts the density of the gray scale page image created by the creation means by using a predetermined table. The creation means creates the gray scale image by performing conversion so that a first gray value obtained by converting a first color component value and a second gray value obtained by converting a second color component value different from the first color component value have a predetermined density difference. The predetermined table associates input gray values and output gray values with each other, and is designed to allow gray colors represented by the output gray values to be distinctive from each other.SELECTED DRAWING: Figure 15

Description

本開示は、カラー文書をモノクロで印刷する際の濃度調整技術に関する。 The present disclosure relates to density adjustment technology when printing a color document in monochrome.

ドキュメントやプレゼンテーションなどの文書は、フルカラーで作成される場合であってもモノクロ(黒単色)で印刷されることがある。このようにフルカラーで作成された文書をモノクロで印刷する際、カラー画像をグレースケール画像に色変換する処理が行われている。この点、特許文献1は、カラー画像のページ内で使用される各色値を、濃度が異なるグレー値であって、変換後の各グレー値の間隔が均等となるように変換する技術を開示している。 Documents, presentations, and other documents may be printed in monochrome (single black) even when they are created in full color. When printing a document created in full color in this way in monochrome, a process of converting a color image into a grayscale image is performed. In this regard, Patent Document 1 discloses a technique for converting each color value used in a page of a color image into gray values having different densities so that the intervals between the gray values after conversion are uniform. ing.

特開2017-38242号公報JP 2017-38242 A

各グレー値の間隔が均等となるように変換したグレースケール画像においては異なるグレー値が表す色間で弁別性が維持されているが、濃度調整によって弁別性が低下してしまうことがある。例えば、濃度調整前のグレースケール画像においては、あるグレー値が表す薄いグレーは十分に白と弁別可能であったが、濃度を薄くする調整が行われた結果、白と弁別できないほど薄いグレーになってしまうことがある。また、濃度調整前のグレースケール画像においては、あるグレー値が表す濃いグレーは十分に黒と弁別可能であったが、濃度を濃くする調整が行われた結果、黒と弁別できないほど濃いグレーになってしまうことがある。 In a grayscale image that has been converted so that the intervals between gray values are uniform, the discrimination between colors represented by different gray values is maintained, but density adjustment may reduce the discrimination. For example, in a grayscale image before density adjustment, a light gray represented by a certain gray value was sufficiently distinguishable from white, but as a result of the adjustment to lighten the density, the gray becomes so light that it cannot be distinguished from white. Sometimes it becomes In addition, in the grayscale image before the density adjustment, the dark gray represented by a certain gray value was sufficiently distinguishable from black, but as a result of the adjustment to increase the density, the gray became so dark that it could not be distinguished from black. Sometimes it becomes

本開示の一態様に係る画像処理装置は、カラーページ画像をモノクロ印刷するための画像処理装置であって、前記カラーページ画像に含まれる各オブジェクトの複数次元の色成分値をグレー値に変換してグレースケールページ画像を生成する生成手段と、前記生成手段によって生成されたグレースケールページ画像の濃度を、所定のテーブルを用いて調整する調整手段と、を有し、前記生成手段は、第1の前記色成分値を変換した第1の前記グレー値と、前記第1の色成分値とは異なる第2の前記色成分値を変換した第2の前記グレー値とが所定の濃度差となるように変換して前記グレースケールページ画像を生成し、前記所定のテーブルは、入力グレー値と出力グレー値とを対応付けており、前記出力グレー値それぞれが表すグレー間で弁別可能に設計されている、ことを特徴とする。 An image processing apparatus according to an aspect of the present disclosure is an image processing apparatus for monochrome printing a color page image, which converts multi-dimensional color component values of each object included in the color page image into gray values. and adjusting means for adjusting the density of the grayscale page image generated by the generating means using a predetermined table, wherein the generating means comprises a first and a second gray value obtained by converting the second color component value different from the first color component value has a predetermined density difference. and the predetermined table associates input gray values with output gray values and is designed to be able to discriminate between grays represented by each of the output gray values. It is characterized by

本開示によれば、カラー画像をモノクロで印刷する際に、グレースケールページ画像に対し濃度調整を行っても、色の弁別性を維持することができる。 According to the present disclosure, when a color image is printed in monochrome, even if density adjustment is performed on a grayscale page image, color discrimination can be maintained.

画像処理システムの構成例を示すブロック図である。1 is a block diagram showing a configuration example of an image processing system; FIG. 画像処理システムの印刷機能に関わるソフトウェアの構成例を示す図である。FIG. 2 is a diagram showing an example configuration of software related to the print function of the image processing system; レンダリング処理の流れを示すフローチャートである。4 is a flowchart showing the flow of rendering processing; 画像処理の流れを示すフローチャートである。4 is a flowchart showing the flow of image processing; グレー値の濃度を決定する処理の流れを示すフローチャートである。4 is a flow chart showing the flow of processing for determining the density of a gray value; カラー原稿およびその画像データ例を示す図である。FIG. 3 is a diagram showing an example of a color document and its image data; グレー信号値を説明する図である。It is a figure explaining a gray signal value. グレー変換処理の流れを示すフローチャートである。4 is a flowchart showing the flow of gray conversion processing; グレー色変換処理後のグレー信号値および画像例を示す図である。FIG. 10 is a diagram showing gray signal values after gray color conversion processing and an example of an image; 濃度調整を説明するための図である。FIG. 5 is a diagram for explaining density adjustment; 濃度信号値と調整濃度信号値の関係を示す図である。FIG. 4 is a diagram showing the relationship between density signal values and adjusted density signal values; グレー信号値を輝度濃度変換した濃度信号値を示す図である。FIG. 4 is a diagram showing density signal values obtained by converting gray signal values into luminance density; 弁別性重視の濃度信号値と濃度の関係を示す図である。FIG. 10 is a diagram showing the relationship between density signal values and densities emphasizing distinctiveness; 弁別性重視のグレースケール画像の濃度調整を説明する図である。FIG. 10 is a diagram for explaining density adjustment of a grayscale image emphasizing distinctiveness; 弁別性重視時の濃度調整(-5)の濃度特性を示す図である。FIG. 10 is a diagram showing density characteristics of density adjustment (−5) when emphasis is placed on distinctiveness; 濃度調整(-5)用の補正濃度調整テーブル例を示す図である。FIG. 10 is a diagram showing an example of a correction density adjustment table for density adjustment (-5); 補正濃度調整(-5)用の補正濃度調整テーブルを用いた濃度調整(-5)後のグレースケール画像例を示す図である。FIG. 10 is a diagram showing an example of a grayscale image after density adjustment (-5) using a correction density adjustment table for correction density adjustment (-5); 弁別性重視の濃度信号値と濃度の関係と、弁別性重視時の濃度調整(+5)の補正濃度特性とを示す図である。FIG. 10 is a diagram showing the relationship between density signal values and densities with an emphasis on distinctiveness, and correction density characteristics for density adjustment (+5) when emphasizing distinctiveness; 弁別性重視時の濃度調整処理の詳細な流れを示すフローチャートである。10 is a flowchart showing a detailed flow of density adjustment processing when emphasis is placed on distinctiveness. 弁別可能な濃度信号値例を示す図である。FIG. 4 is a diagram showing an example of distinguishable density signal values; 各濃度調整レベルにおける弁別可能な濃度信号値を示す図である。FIG. 4 is a diagram showing discriminable density signal values at each density adjustment level; 弁別重視時の濃度調整レベルの設定処理の流れを示すフローチャートである。10 is a flowchart showing the flow of density adjustment level setting processing when emphasis is placed on discrimination;

以下、添付図面を参照して本開示の技術の実施形態を詳しく説明する。尚、以下の実施形態は特許請求の範囲に係る本開示の技術を限定するものでなく、また本実施形態で説明されている特徴の組み合わせの全てが本開示の技術の解決手段に必須のものとは限らない。なお、同一の構成要素には同一の参照番号を付して、説明を省略する。 Hereinafter, embodiments of the technology of the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that the following embodiments do not limit the technology of the present disclosure according to the scope of claims, and all combinations of features described in the embodiments are essential to the solution of the technology of the present disclosure. Not necessarily. In addition, the same reference numbers are given to the same components, and the description thereof is omitted.

以下の実施形態では、コピー機能やプリンタ機能等の複数の機能を備える多機能処理装置(MFP:Multi Function Periperal)に本開示を適用する場合を例にする。 In the following embodiments, a case of applying the present disclosure to a multifunction processing apparatus (MFP: Multi Function Peripheral) having a plurality of functions such as a copy function and a printer function will be taken as an example.

(実施形態1)
本実施形態では、弁別性重視のグレースケールページ画像の濃度を調整する処理を実行する態様について説明する。以下、グレースケールページ画像を単にグレースケール画像と表現する。
(Embodiment 1)
In the present embodiment, a mode of executing a process of adjusting the density of a grayscale page image emphasizing distinctiveness will be described. Hereinafter, the grayscale page image will simply be referred to as a grayscale image.

<画像処理システム>
図1は、本実施形態に係る画像処理システムの構成例を示すブロック図であり、図1(a)に画像処理システムの概略を示し、図1(b)に画像処理システムが有する画像形成装置のコントローラの概略を示す。画像処理システムは、図1(a)に示すように、ホストコンピュータ(以下、ホストPCと称す)100と、画像形成装置101とを有する。このシステムでは、1台のホストPC100と1台の画像形成装置101が例示されているが、ホストPCおよび画像形成装置が複数存在し、それらが互いに接続されていてもよい。また、本実施形態では接続方法としてネットワークを適用しているが、これに限定されない。接続方法として、例えば、USBなどのシリアル伝送方式、セントロニクスやSCSIなどのパラレル伝送方式なども適用可能である。
<Image processing system>
FIG. 1 is a block diagram showing a configuration example of an image processing system according to the present embodiment. FIG. 1(a) shows an outline of the image processing system, and FIG. shows a schematic of the controller. The image processing system includes a host computer (hereinafter referred to as host PC) 100 and an image forming apparatus 101, as shown in FIG. 1(a). Although one host PC 100 and one image forming apparatus 101 are exemplified in this system, there may be multiple host PCs and multiple image forming apparatuses and they may be connected to each other. In addition, although a network is applied as a connection method in this embodiment, it is not limited to this. As a connection method, for example, a serial transmission method such as USB or a parallel transmission method such as Centronics or SCSI can be applied.

ホストPC100はパーソナルコンピュータの機能を有する。ホストPC100は、ネットワーク106を介してデータを送受信する。さらに、ホストPC100は、画像形成装置101に対して、プリンタドライバを介した描画データを送信する。 The host PC 100 has the functions of a personal computer. Host PC 100 transmits and receives data via network 106 . Further, the host PC 100 transmits drawing data to the image forming apparatus 101 via the printer driver.

画像形成装置101は、操作部102、コントローラ103、プリンタ104、スキャナ105を有する。操作部102は、ユーザが指示を行うための複数のキーやユーザに通知すべき各種情報を表示する。コントローラ103は、画像形成装置101全体の動作制御を司る。プリンタ104は、画像出力デバイスであり、画像を形成した記録媒体(原稿)を出力する。スキャナ105は、画像入力デバイスであり、原稿画像を読み取る。 The image forming apparatus 101 has an operation unit 102 , a controller 103 , a printer 104 and a scanner 105 . The operation unit 102 displays a plurality of keys for the user to give instructions and various information to be notified to the user. A controller 103 controls the operation of the entire image forming apparatus 101 . A printer 104 is an image output device that outputs a recording medium (document) on which an image is formed. A scanner 105 is an image input device that reads an original image.

<コントローラ>
コントローラ(画像処理装置ともいう)103は、図1(b)に示すように、CPU(Central Processor Unit)111、RAM(Random Access Memory)112を有する。コントローラ103は、ROM(Read Only Memory)113、HDD114を有する。また、コントローラ103は、操作部I/F(インターフェース)115、ネットワークI/F116、プリンタI/F117、スキャナ画像処理部118、スキャナI/F119、出力画像生成部120を有する。コントローラ103は、ネットワーク106介してホストPC100や外部の画像処理装置などと接続されている。これにより、コントローラ103は、描画データやデバイス情報の入出力を行うことができる。
<Controller>
A controller (also referred to as an image processing device) 103 has a CPU (Central Processor Unit) 111 and a RAM (Random Access Memory) 112 as shown in FIG. The controller 103 has a ROM (Read Only Memory) 113 and an HDD 114 . The controller 103 also has an operation unit I/F (interface) 115 , a network I/F 116 , a printer I/F 117 , a scanner image processing unit 118 , a scanner I/F 119 and an output image generation unit 120 . The controller 103 is connected via a network 106 to the host PC 100, an external image processing apparatus, and the like. This allows the controller 103 to input/output drawing data and device information.

CPU111は、ROM113に記憶された制御プログラム等に基づいて接続中の各種デバイスとのアクセスを統括的に制御すると共に、コントローラ103内部で行われる画像処理等の各種処理についても統括的に制御する。RAM112は、CPU111が動作するためのシステムワークメモリである。RAM112は、描画データやビットマップ等の画像データを一時記憶するためのメモリとしても用いられる。RAM112は、記憶したデータを電源オフ後も保持しておくSRAMと、記憶したデータが電源オフ後に消去されてしまうDRAMとにより構成されている。ROM113は、装置のブートプログラムなどを格納する。HDD114は、ハードディスクドライブであり、システムソフトウェアや画像データ等を格納する。 The CPU 111 comprehensively controls access to various connected devices based on a control program stored in the ROM 113 , and also comprehensively controls various processes such as image processing performed inside the controller 103 . A RAM 112 is a system work memory for the CPU 111 to operate. The RAM 112 is also used as a memory for temporarily storing drawing data and image data such as bitmaps. The RAM 112 is composed of an SRAM that retains stored data even after power is turned off, and a DRAM that erases stored data after power is turned off. A ROM 113 stores a device boot program and the like. The HDD 114 is a hard disk drive and stores system software, image data, and the like.

操作部I/F115は、操作部102と接続するためのインターフェース部である。操作部I/F115は、操作部102に表示するための画像データを操作部102に出力する。また、操作部I/F115は、操作部102に入力された情報を操作部102から取得する。 An operation unit I/F 115 is an interface unit for connecting with the operation unit 102 . Operation unit I/F 115 outputs image data for display on operation unit 102 to operation unit 102 . Further, the operation unit I/F 115 acquires information input to the operation unit 102 from the operation unit 102 .

ネットワークI/F116は、ネットワーク106に接続され、ネットワーク106を介して他の装置との間で、描画データや画像データ等の情報の送受信を行う。スキャナI/F119は、スキャナ105に接続され、スキャナ105が原稿画像を読み取ることで得られる画像データを、スキャナ105から受信する。スキャナ画像処理部118は、スキャナI/F119に接続され、スキャナI/F119が受信した画像データに対して、フィルタ処理等のスキャナ用の画像処理を施す。 A network I/F 116 is connected to the network 106 and transmits/receives information such as drawing data and image data to/from another apparatus via the network 106 . A scanner I/F 119 is connected to the scanner 105 and receives image data obtained by the scanner 105 reading an original image from the scanner 105 . A scanner image processing unit 118 is connected to the scanner I/F 119 and performs scanner image processing such as filtering on image data received by the scanner I/F 119 .

出力画像生成部120は、ホストPC100等から送信された描画データであるPDLコードデータを元に生成された中間データを受取り、コマンドを抽出し、解析する処理を実行する。また、出力画像生成部120は、色の弁別性を重視したグレー変換を行って得られた弁別性重視のグレースケール画像に適用するグレー値の濃度を決定する処理を実行する。出力画像生成部120は、さらに、中間データからコントーン(多値)の画像ビットマップデータを生成するレンダリング処理を実行する。以下、画像ビットマップデータを単に画像ビットマップと表現する。出力画像生成部120は、生成された画像ビットマップに付随されている属性データと設定情報に基づいて画像ビットマップに画像処理を施す。出力画像生成処理の詳細については後述する。画像処理後のビットマップデータは、プリンタI/F117を介してプリンタ104に出力される。 The output image generation unit 120 receives intermediate data generated based on PDL code data, which is rendering data transmitted from the host PC 100 or the like, extracts commands, and executes processing for analysis. In addition, the output image generation unit 120 executes a process of determining the density of the gray value to be applied to the grayscale image with emphasis on distinguishability obtained by performing gray conversion with emphasis on distinguishability of colors. The output image generation unit 120 further executes rendering processing for generating contone (multi-value) image bitmap data from the intermediate data. The image bitmap data is hereinafter simply referred to as an image bitmap. The output image generation unit 120 performs image processing on the generated image bitmap based on the attribute data and setting information attached to the generated image bitmap. Details of the output image generation processing will be described later. Bitmap data after image processing is output to the printer 104 via the printer I/F 117 .

<画像処理システムの機能構成>
図2は、本実施形態に係る画像処理システムによる印刷機能に関わるソフトウェア構成例を示す図である。ホストPC100は、アプリケーション201と、プリンタドライバ202とを有する。ユーザは、ホストPC100にインストールされているアプリケーション201を使用して、ドキュメントやプレゼンテーション資料などの文書データを作成する。そして、プリンタドライバ202を使用して、文書データの印刷指示データ(一般に「印刷ジョブ」と呼ばれる)を生成する。以下、印刷指示データを単に印刷データと表現する。印刷データでは、ページ記述言語(PDL:Page Description Language)によって、テキスト、グラフィクス、イメージといったオブジェクト属性に合わせた印刷すべき内容がページ単位で規定される。生成した印刷データは、ネットワーク106を介して、画像形成装置101の出力画像生成部120へ送られて印刷される。これら一連の処理は、ホストPC100のROM(不図示)に格納されたプログラムをCPU(不図示)がRAM(不図示)に展開し、それを実行することにより実現される。
<Functional Configuration of Image Processing System>
FIG. 2 is a diagram showing a software configuration example related to the print function of the image processing system according to this embodiment. The host PC 100 has an application 201 and a printer driver 202 . A user uses an application 201 installed in the host PC 100 to create document data such as documents and presentation materials. The printer driver 202 is then used to generate print instruction data (generally called a “print job”) for the document data. Hereinafter, the print instruction data will simply be referred to as print data. In print data, a page description language (PDL) defines the content to be printed according to object attributes such as text, graphics, and images on a page-by-page basis. The generated print data is sent to the output image generation unit 120 of the image forming apparatus 101 via the network 106 and printed. These series of processes are implemented by a CPU (not shown) expanding a program stored in a ROM (not shown) of the host PC 100 into a RAM (not shown) and executing the program.

出力画像生成部120は、プリンタドライバ202で作成された印刷データを受信すると、コマンド処理部203で印刷データの解析を行う。 When the output image generation unit 120 receives the print data created by the printer driver 202, the command processing unit 203 analyzes the print data.

コマンド処理部203は、ホストPC100から出力された印刷データのPDL種別を判別する。PDL種別には、PostScript(PS)、PDF(Portable Document Format)、PrinterCommandLanguage(PCL)などがある。プリンタドライバ202の設定を切り替えるか、または利用するプリンタドライバ202自体を切り替えることにより、PDL種別は切り替えられる。また、コマンド処理部203は、判別したPDL種のコマンドの抽出及び解析を実行する。 A command processing unit 203 determines the PDL type of print data output from the host PC 100 . PDL types include PostScript (PS), PDF (Portable Document Format), Printer Command Language (PCL), and the like. The PDL type can be switched by switching the setting of the printer driver 202 or by switching the printer driver 202 itself to be used. The command processing unit 203 also extracts and analyzes the determined PDL type command.

グレー値処理部204は、コマンド処理部203による解析結果として、受信した印刷データが弁別性重視のグレースケール画像での印刷指示を得たとき、当該弁別性重視のグレースケール画像に適用するグレー値の濃度を決定する。グレー値処理部204の詳細については後述する。 The gray value processing unit 204 determines a gray value to be applied to the distinguishability-oriented grayscale image when the received print data obtains a print instruction for a distinguishability-oriented grayscale image as a result of analysis by the command processing unit 203. Determine the concentration of Details of the gray value processing unit 204 will be described later.

レンダリング処理部205は、コマンド処理部203による解析結果に応じて印刷データをレンダリングして、コントーン(多値)の画像ビットマップおよび各画素の属性情報を示した属性データを生成する。 The rendering processing unit 205 renders the print data according to the analysis result by the command processing unit 203 to generate a contone (multi-value) image bitmap and attribute data indicating attribute information of each pixel.

画像処理部206は、レンダリング処理部205で生成された画像ビットマップを受け取り、該画像ビットマップに付随されている属性データを参照しながら画像ビットマップに対して、例えば、色変換、濃度調整、ディザなどの各種の画像処理を施す。なお、図2に示す出力画像生成部210のコマンド処理部203、グレー値処理部204、レンダリング処理部205及び画像処理部206の機能は、本実施形態ではCPU111が前述のプログラムを実行することにより実現される。 The image processing unit 206 receives the image bitmap generated by the rendering processing unit 205, and performs, for example, color conversion, density adjustment, Various image processing such as dithering is applied. Note that the functions of the command processing unit 203, the gray value processing unit 204, the rendering processing unit 205, and the image processing unit 206 of the output image generation unit 210 shown in FIG. Realized.

<レンダリング処理>
図3は、レンダリング処理部205が実行するレンダリング処理の流れを示すフローチャートである。なお、本処理は、ROM113にプログラムとして格納され、CPU111により実行される。また、図3におけるステップの一部または全部の機能をASIC及び電子回路等のハードウェアで実現してもよい。なお、各処理の説明における記号「S」は、当該フローチャートにおけるステップであることを意味し、以後のフローチャートにおいても同様とする。
<Rendering process>
FIG. 3 is a flowchart showing the flow of rendering processing executed by the rendering processing unit 205. As shown in FIG. Note that this process is stored as a program in the ROM 113 and executed by the CPU 111 . Also, some or all of the functions of the steps in FIG. 3 may be realized by hardware such as ASIC and electronic circuits. Note that the symbol "S" in the description of each process means a step in the flowchart, and the same applies to subsequent flowcharts.

S301では、レンダリング処理部205は、ホストPC100等から送信された印刷データを取得する。S302では、レンダリング処理部205は、S301にて取得した印刷データを解析し、印刷データが、文字、図形、またはイメージの何れの属性であるかを決定する。このとき、レンダリング処理部205は、印刷データが文字種や文字コード等で表される文字オブジェクトを描画する文字描画の情報(コマンド)である場合は、印刷データを文字属性であると決定する。また、レンダリング処理部205は、印刷データが座標点や長さ、太さで表される線オブジェクトを描画する線描画コマンドである場合は、印刷データを図形属性であると特定する。また、矩形、形状、座標点で表される図形オブジェクトを描画する図形描画のコマンドである場合は、印刷データを図形属性であると特定する。また、レンダリング処理部205は、印刷データがビットマップデータで表されるイメージを描画するイメージ描画の情報である場合は、印刷データをイメージ属性であると特定する。なお、各オブジェクトの色は所定の色空間に対応した複数次元の色成分値で指定されていればよく、RGB値に限定されない。 In S301, the rendering processing unit 205 acquires print data transmitted from the host PC 100 or the like. In S302, the rendering processing unit 205 analyzes the print data acquired in S301 and determines whether the print data has an attribute of text, graphic, or image. At this time, if the print data is character drawing information (command) for drawing a character object represented by a character type, character code, or the like, the rendering processing unit 205 determines that the print data has a character attribute. If the print data is a line drawing command for drawing a line object represented by coordinate points, length, and thickness, the rendering processing unit 205 identifies the print data as graphic attributes. If the command is a graphic drawing command for drawing a graphic object represented by a rectangle, shape, or coordinate point, the print data is identified as a graphic attribute. If the print data is image drawing information for drawing an image represented by bitmap data, the rendering processing unit 205 identifies the print data as an image attribute. Note that the color of each object may be specified by multi-dimensional color component values corresponding to a predetermined color space, and is not limited to RGB values.

S303では、レンダリング処理部205は、印刷データの情報から、コントローラの処理解像度に合わせて描画する画素パターンを形成し、各画素に描画する色情報(コントーン値)を入れた画像ビットマップを生成する。S304では、レンダリング処理部205は、画像ビットマップの各画素に対応するようにS302で解析された属性を格納した属性ビットマップデータを生成する。生成された描画ビットマップと属性ビットマップは、画像処理部206へ送られる。S304の処理を終えると、図4に示す処理が終了される。以下、属性ビットマップデータを単に属性ビットマップと表現する。 In S303, the rendering processing unit 205 forms a pixel pattern to be drawn according to the processing resolution of the controller from the information of the print data, and generates an image bitmap containing color information (contone value) to be drawn in each pixel. . In S304, the rendering processing unit 205 generates attribute bitmap data storing the attributes analyzed in S302 so as to correspond to each pixel of the image bitmap. The generated drawing bitmap and attribute bitmap are sent to the image processing unit 206 . After finishing the process of S304, the process shown in FIG. 4 ends. Attribute bitmap data will be simply referred to as an attribute bitmap hereinafter.

<画像処理>
図4(a)は、画像処理部206が実行する画像処理の全体の流れを示すフローチャートである。S401では、画像処理部206は、レンダリング処理部205で生成されたコントローラの処理解像度の画像ビットマップと属性ビットマップを受け取る。そして、画像処理部206は、画像ビットマップの各画素の色情報をプリンタの色成分であるC,M,Y,K、の濃度信号値に変換する色変換処理を行う。なお、色変換処理の詳細については図を用いて後述する。
<Image processing>
FIG. 4A is a flowchart showing the overall flow of image processing executed by the image processing unit 206. FIG. In step S<b>401 , the image processing unit 206 receives the image bitmap of the processing resolution of the controller and the attribute bitmap generated by the rendering processing unit 205 . Then, the image processing unit 206 performs color conversion processing to convert the color information of each pixel of the image bitmap into density signal values of C, M, Y, and K, which are color components of the printer. Details of the color conversion process will be described later with reference to the drawings.

S402では、画像処理部206は、属性ビットマップの各画素の属性情報に応じて、濃度調整テーブル又は補正濃度調整テーブルを用いて対応する画像データの濃度信号値を調整する濃度調整処理を行う。以下、補正濃度調整テーブルを単に補正テーブルと表現する。 In S402, the image processing unit 206 performs density adjustment processing for adjusting the density signal value of the corresponding image data using the density adjustment table or corrected density adjustment table according to the attribute information of each pixel of the attribute bitmap. Hereinafter, the corrected density adjustment table will simply be referred to as a correction table.

S403では、画像処理部206は、属性ビットマップの各画素の属性情報に応じてディザマトリックスを選択し、画像ビットマップの画素に対して選択したディザマトリックスを用いたディザ処理を施す。これにより、画像処理部206は、画像ビットマップの各画素値の濃度信号値(コントーン値)を2値に変換し、2値のビットマップデータを生成する。以下、2値のビットマップデータを単に2値ビットマップと表現する。生成された2値ビットマップは、プリンタI/F117を介してプリンタ104に送られ、プリンタ104は、2値ビットマップに基づいて印刷を実行する。 In S403, the image processing unit 206 selects a dither matrix according to the attribute information of each pixel of the attribute bitmap, and performs dither processing using the selected dither matrix on the pixels of the image bitmap. Thereby, the image processing unit 206 converts the density signal value (contone value) of each pixel value of the image bitmap into binary to generate binary bitmap data. Binary bitmap data is hereinafter simply referred to as a binary bitmap. The generated binary bitmap is sent to the printer 104 via the printer I/F 117, and the printer 104 executes printing based on the binary bitmap.

<色変換処理>
図4(b)は、画像処理部206が実行する色変換処理S401の詳細な流れを示すフローチャートである。S411では、画像処理部206は、印刷データに含まれる設定情報を基に、印刷データのカラーモードの設定がカラー印刷であるか、またはモノクロ印刷であるかを判断する。カラーモードとは、プリンタドライバ202、操作部102において、ユーザによって設定されたモードであって、カラーで印刷を行う設定である。S411にてカラー印刷と判断された場合、処理がS412に遷移される。一方、S411にてモノクロ印刷と判断された場合、処理がS413に遷移される。
<Color conversion processing>
FIG. 4B is a flowchart showing a detailed flow of color conversion processing S401 executed by the image processing unit 206. As shown in FIG. In step S411, the image processing unit 206 determines whether the color mode setting of the print data is color printing or monochrome printing based on the setting information included in the print data. A color mode is a mode set by the user in the printer driver 202 and the operation unit 102, and is a setting for printing in color. If color printing is determined in S411, the process proceeds to S412. On the other hand, if monochrome printing is determined in S411, the process proceeds to S413.

S412では、画像処理部206は、画像ビットマップの画素の色情報であるRGBデータを、プリンタの色成分であるC,M,Y,K、の濃度信号値に変換するカラー色変換処理を実行する。 In S412, the image processing unit 206 executes color conversion processing for converting RGB data, which is color information of pixels of the image bitmap, into density signal values of C, M, Y, and K, which are color components of the printer. do.

S413では、画像処理部206は、RGBデータをモノクロ印刷モードに応じてグレー信号値に変換するグレー色変換処理を行う。なお、モノクロ印刷モードには、階調性重視のモノクロ印刷モードと、弁別性重視のモノクロ印刷モードとがある。グレー色変換処理の詳細については後述する。 In S413, the image processing unit 206 performs gray color conversion processing for converting the RGB data into gray signal values according to the monochrome print mode. Note that the monochrome print mode includes a monochrome print mode emphasizing gradation and a monochrome print mode emphasizing distinctiveness. Details of the gray color conversion process will be described later.

<グレー値処理>
図5、図6、図7を用いて出力画像生成部210のグレー値処理部204について説明する。図5は、グレー値処理部204が実行する、グレー信号値を決定する処理の流れを示すフローチャートである。この処理が実行されることにより、弁別性重視のグレー変換で用いるグレー変換テーブルが生成されることになる。
<Gray value processing>
The gray value processing unit 204 of the output image generation unit 210 will be described with reference to FIGS. 5, 6, and 7. FIG. FIG. 5 is a flowchart showing the flow of processing for determining the gray signal value, which is executed by the gray value processing unit 204. As shown in FIG. By executing this processing, a gray conversion table to be used in gray conversion emphasizing distinctiveness is generated.

S501では、グレー値処理部204は、印刷データに含まれる設定情報を基に、印刷データのカラーモードの設定がカラー印刷であるか、またはモノクロ印刷であるかを判断する。カラーモードは、プリンタドライバ202や操作部102でユーザにより設定されたモードである。S501にてカラー印刷と判断された場合、グレー変換テーブルを生成せずに図5に示すフローを終える。一方、S501にてモノクロ印刷と判断された場合、処理がS502に遷移される。 In S501, the gray value processing unit 204 determines whether the color mode setting of the print data is color printing or monochrome printing based on the setting information included in the print data. A color mode is a mode set by the user using the printer driver 202 or the operation unit 102 . If color printing is determined in S501, the flow shown in FIG. 5 is terminated without generating a gray conversion table. On the other hand, if monochrome printing is determined in S501, the process proceeds to S502.

S502では、グレー値処理部204は、印刷データに含まれる設定情報を基に、モノクロ印刷モードの設定が階調性重視であるか、または弁別性重視であるかを判断する。モノクロ印刷モードは、カラーの原稿をモノクロで印刷する際に、階調性を重視したモノクロ印刷を行うか、カラーの原稿で異なる色情報を区別できるように弁別性を重視したモノクロ印刷を行うかを示すモードである。なお、モノクロ印刷モードは、プリンタドライバ202や操作部102でユーザにより設定されたモードである。S502にて階調性重視であると判断された場合、グレー変換テーブルを生成せずに図5に示すフローを終える。一方、S502にて弁別性重視であると判断された場合、処理がS503に遷移される。 In S502, the gray value processing unit 204 determines whether the setting of the monochrome print mode emphasizes gradation or distinguishability based on the setting information included in the print data. In the monochrome print mode, when printing a color document in monochrome, whether to perform monochrome printing that emphasizes gradation, or to perform monochrome printing that emphasizes discrimination so that different color information can be distinguished in a color document. This mode indicates Note that the monochrome print mode is a mode set by the user using the printer driver 202 or the operation unit 102 . If it is determined in S502 that gradation is emphasized, the flow shown in FIG. 5 ends without generating a gray conversion table. On the other hand, if it is determined in S502 that emphasis is placed on distinctiveness, the process proceeds to S503.

S503では、グレー値処理部204は、コマンド処理部203による印刷データの解析結果を基に、印刷を行うカラー原稿のページで使用している色数を算出する。色数の算出処理では、フルカラーページ画像において弁別性重視の対象となる文字や図形の属性の画素に使用されている色数が算出される。また、印刷対象ページの色情報のリスト(色値リスト)が作成される。 In step S<b>503 , the gray value processing unit 204 calculates the number of colors used in the page of the color document to be printed based on the analysis result of the print data by the command processing unit 203 . In the number-of-colors calculation process, the number of colors used in the pixels of the attribute of characters and figures to which emphasis is placed on distinctiveness in the full-color page image is calculated. Also, a list of color information (color value list) of the page to be printed is created.

図6(a)は、カラー原稿例を示す図である。図6(b)は、図6(a)に示すカラー原稿の画像データの色信号(R,G,B)値を示す図である。なお、円グラフの色数および色値リストは、コマンド処理部203によるカラー原稿601の印刷データの解析結果を基に求められる。 FIG. 6A is a diagram showing an example of a color document. FIG. 6(b) is a diagram showing color signal (R, G, B) values of the image data of the color document shown in FIG. 6(a). Note that the number of colors of the pie chart and the color value list are obtained based on the analysis result of the print data of the color document 601 by the command processing unit 203 .

カラー原稿601は、文字と図形で構成された円グラフ602と、イメージ画像603とを有する。カラー原稿601では、文字や図形の属性である円グラフ602が色数算出の対象となり、階調性が重視され多くの色で構成されているイメージ画像603は色数算出の対象外となる。 A color document 601 has a pie chart 602 made up of characters and graphics, and an image 603 . In the color document 601, the pie chart 602, which is the attribute of characters and graphics, is subject to the calculation of the number of colors.

円グラフ602は、それぞれ色が異なる3つの図形領域611、612、613と、各図形領域611、612、613の中に記載された文字614、615、616とを有する。円グラフ602の色数は6であり、各色は図6(b)に示す色情報リスト621の色信号(R,G,B)となる。各色はそれぞれ、図形領域611の色信号は赤、図形領域612の色信号は緑、図形領域613の色信号は薄い青、文字614の色信号は黄色、文字615の色信号はマゼンタ、文字616の色信号はシアンと異なる系統の色で構成されている。 Pie chart 602 has three graphical areas 611 , 612 , 613 with different colors and characters 614 , 615 , 616 written in each graphical area 611 , 612 , 613 . The number of colors in the pie chart 602 is 6, and each color becomes the color signal (R, G, B) of the color information list 621 shown in FIG. 6B. For each color, the color signal for graphic area 611 is red, the color signal for graphic area 612 is green, the color signal for graphic area 613 is light blue, the color signal for character 614 is yellow, the color signal for character 615 is magenta, and the color signal for character 616 is The color signal of is composed of colors of a system different from cyan.

図5の説明に戻る。S504では、グレー値処理部204は、算出した原稿の色数が、プリンタのモノクロ印刷におけるグレー値(濃度)を弁別可能な最大のグレー値の色数を超えているか否かを判断する。プリンタの印刷濃度が0(白:グレー値255)~1.4(黒:グレー値0)であり、弁別可能な最小の濃度差が0.15(グレー値で27)である場合、弁別可能な最大のグレー値の色数は、255(白)~0(黒)を27(最小濃度差)で分割した9色となる。原稿の色数が弁別可能な最大のグレー値の色数を超えていないと判断された場合(S504のNO)、処理がS506に遷移される。 Returning to the description of FIG. In step S<b>504 , the gray value processing unit 204 determines whether the calculated number of colors of the document exceeds the maximum number of gray values that can distinguish gray values (density) in monochrome printing of the printer. Distinguishable if the print density of the printer is between 0 (white: gray value 255) and 1.4 (black: gray value 0) and the minimum distinguishable density difference is 0.15 (gray value 27) The number of colors with the maximum gray value is 9 colors obtained by dividing 255 (white) to 0 (black) by 27 (minimum density difference). If it is determined that the number of colors of the document does not exceed the maximum number of distinguishable gray values (NO in S504), the process proceeds to S506.

S506では、グレー値処理部204は、S503にて算出した色数に応じて白(255)から黒(0)のグレー信号値を、濃度差が均等になるように決定する。 In S506, the gray value processing unit 204 determines gray signal values from white (255) to black (0) according to the number of colors calculated in S503 so that the density difference is uniform.

S507では、グレー値処理部204は、S506にて決定したグレー信号値(決定後のグレー信号値)をS503にて算出した画像データの各色に割り当てることで、各色(カラー色)をグレー信号値に変換するグレー変換テーブルを生成する。すなわち、グレー値処理部204は、弁別性重視のグレー変換で用いるグレー変換テーブルを生成する。 In S507, the gray value processing unit 204 assigns the gray signal value determined in S506 (the determined gray signal value) to each color of the image data calculated in S503, thereby converting each color (color color) into a gray signal value. Generate a gray conversion table that converts to . That is, the gray value processing unit 204 generates a gray conversion table used for gray conversion emphasizing distinctiveness.

図7はグレー信号値を説明する図であり、図7(a)にグレー信号値例と印刷濃度値の関係を示し、図7(b)にグレー値テーブル例を示し、図7(c)に画像データとグレー信号値の関係を示す。S506ではグレー信号値と印刷濃度値の関係を示した特性グラフ700において、グレー信号値をS503で算出した色数の6で濃度差が均等になるように分割する。グレー値処理部204は、分割したグレー信号値に白および黒を加えて、グレー信号値テーブル710として保持する。このようにグレー値を濃度差が均等になるように分割することで各色の弁別性を確保することができる
S507では、グレー値処理部204は、S503にて算出した6色の色情報リスト621の各色に対応するグレー信号値として、S506にて生成したグレー信号値テーブル710のグレー信号値を割り当てることでグレー変換テーブル721を生成する。生成されたグレー変換テーブル721は、弁別性重視のグレー変換で用いられる。なお、S507の処理が完了すると、図5に示す処理が終了される。
FIGS. 7A and 7B are diagrams for explaining gray signal values. FIG. 7A shows the relationship between an example of gray signal values and print density values, FIG. 7B shows an example of a gray value table, and FIG. shows the relationship between image data and gray signal values. In S506, in the characteristic graph 700 showing the relationship between the gray signal value and the print density value, the gray signal value is divided by 6, which is the number of colors calculated in S503, so that the density difference is uniform. The gray value processing unit 204 adds white and black to the divided gray signal values and holds them as a gray signal value table 710 . By dividing the gray values so that the density difference is uniform in this way, it is possible to ensure the distinguishability of each color. A gray conversion table 721 is generated by assigning the gray signal values of the gray signal value table 710 generated in S506 as the gray signal values corresponding to the respective colors. The generated gray conversion table 721 is used in the gray conversion that emphasizes distinctiveness. Note that when the process of S507 is completed, the process shown in FIG. 5 ends.

一方、原稿の色数が弁別可能な最大のグレー値の色数を超えていると判断された場合(S504のYES)、処理がS505に遷移される。 On the other hand, if it is determined that the number of colors of the document exceeds the maximum number of distinguishable gray values (YES in S504), the process proceeds to S505.

S505では、グレー値処理部204は、モノクロ印刷モードを階調性重視に設定する。このようにモノクロ印刷モードを弁別性重視から階調性重視に変更することにより、原稿の色数が多いときは弁別性重視のグレー変換は行われず、階調性重視のグレー変換が行われるようになる。なお、S505の処理が完了すると、図5に示す処理が終了される。 In S505, the gray value processing unit 204 sets the monochrome print mode to emphasize gradation. By changing the monochrome print mode from emphasis on distinctiveness to emphasis on gradation in this way, gray conversion with emphasis on gradation is not performed when the number of colors in the document is large, and gray conversion with emphasis on gradation is performed. become. It should be noted that when the process of S505 is completed, the process shown in FIG. 5 ends.

<グレー色変換処理>
図8、図9、図10、図11を用いてグレー変換処理S413について説明する。図8は、画像処理部206が実行するグレー変換処理S413の詳細な流れを示すフローチャートである。
<Gray color conversion processing>
The gray conversion processing S413 will be described with reference to FIGS. 8, 9, 10 and 11. FIG. FIG. 8 is a flowchart showing a detailed flow of gray conversion processing S413 executed by the image processing unit 206. As shown in FIG.

S801では、画像処理部206は、印刷データに含まれる設定情報を基に、モノクロ印刷モードの設定が階調重視であるか弁別性重視であるかを判断する。モノクロ印刷モードは、カラーの原稿をモノクロで印刷する際に、階調を重視したモノクロで印刷するか、色情報が区別できるように弁別性を重視したモノクロ印刷を行うかを示すモードである。モノクロ印刷モードは、プリンタドライバ202や操作部102でユーザにより設定されたモードである。S801にて階調重視であると判断された場合、処理がS803に遷移される。 In step S<b>801 , the image processing unit 206 determines whether the monochrome print mode setting emphasizes gradation or distinguishability based on the setting information included in the print data. The monochrome print mode is a mode that indicates whether to print a color document in monochrome with an emphasis on gradation or to perform monochrome printing with an emphasis on discrimination so that color information can be distinguished. The monochrome print mode is a mode set by the user using the printer driver 202 or the operation unit 102 . If it is determined in S801 that emphasis is placed on gradation, the process transitions to S803.

S803では、画像処理部206は、階調重視のグレー変換処理を行う。階調重視のグレー変換は、RGBデータの各信号値に明るさに応じた一定の重みづけをしてグレー値を算出する一般的な手法である。例えば、NTSC変換では、RGBデータの信号値に一定の重みづけをして、以下の(1)式の演算で得られた値をグレー信号値として取得される。
Gray=0.299R+0.587G+0.114B ・・・(1)
In S<b>803 , the image processing unit 206 performs gray conversion processing that emphasizes gradation. Gradation-oriented gray conversion is a general method of calculating a gray value by assigning a constant weight to each signal value of RGB data according to brightness. For example, in NTSC conversion, the signal values of RGB data are weighted by a certain amount, and the value obtained by the calculation of the following equation (1) is obtained as the gray signal value.
Gray=0.299R+0.587G+0.114B (1)

階調重視のグレー変換では明るさに応じて重みづけをしているため、階調性のよいグレースケール画像を生成することができる。 In the grayscale conversion that emphasizes gradation, weighting is performed according to brightness, so a grayscale image with good gradation can be generated.

一方、S801にて弁別性重視であると判断された場合、処理がS802に遷移される。S802では、画像処理部206は、グレー変換する画素の属性が、弁別性重視の対象の属性であるかを判断する。例えば、弁別性重視の対象の属性は文字やグラフィックの属性の画素である。階調性を重視するイメージの属性は非対象となる。なお、対象の属性はユーザが設定することも可能である。 On the other hand, if it is determined in S801 that emphasis is placed on distinctiveness, the process proceeds to S802. In S<b>802 , the image processing unit 206 determines whether the attribute of the pixel to be gray-converted is an attribute to which emphasis is placed on distinctiveness. For example, the attribute to be emphasized for distinctiveness is a character or graphic attribute pixel. Image attributes that emphasize gradation are not targeted. Note that the target attribute can also be set by the user.

S802にて弁別性重視の対象の属性でないと判断された場合、処理がS803に遷移される。S803にて、階調重視のグレー変換処理が行われる。 If it is determined in S802 that the attribute is not an attribute to which emphasis is placed on distinctiveness, the process proceeds to S803. In S803, gray conversion processing with a focus on gradation is performed.

一方、S802にて弁別性重視の対象の属性であると判断された場合、処理がS804遷移される。S804にて、画像処理部206は、弁別性重視のグレー変換処理を行う。弁別性重視のグレー変換では、グレー値処理部204において対象画像の色数に応じて濃度差が均等となるように決定されたグレー信号値のグレー変換テーブル721を用いて、RGBデータのカラー信号をグレー信号値に変換する。すなわち、印刷画像における色の弁別性を重視したグレースケール画像に変換する。言い換えると、カラーページ画像に含まれる各オブジェクトの複数次元の色成分値をグレー値に変換してグレースケールページ画像を生成している。より具体的には、第1の色成分値を変換した第1のグレー値と、第1の色成分値とは異なる第2の色成分値を変換した第2のグレー値とが所定の濃度差となるように変換してグレースケールページ画像を生成している。 On the other hand, if it is determined in S802 that the attribute is a target attribute for which emphasis is placed on distinctiveness, the process proceeds to S804. In S804, the image processing unit 206 performs gray conversion processing that emphasizes distinctiveness. In gray conversion emphasizing distinctiveness, a gray conversion table 721 of gray signal values determined by the gray value processing unit 204 so that the density difference is uniform according to the number of colors of the target image is used to convert RGB data color signals. to gray signal values. That is, the print image is converted into a grayscale image that emphasizes color discrimination. In other words, the multi-dimensional color component values of each object included in the color page image are converted into gray values to generate the grayscale page image. More specifically, a first gray value obtained by transforming a first color component value and a second gray value obtained by transforming a second color component value different from the first color component value have a predetermined density. A grayscale page image is generated by converting to be the difference.

ここで、階調重視のグレー変換と弁別性重視のグレー変換の違いについて説明する。図9(a)は、グレー色変換処理を行ったグレー信号値例を示す図である。 Here, the difference between gray conversion that emphasizes gradation and gray conversion that emphasizes distinctiveness will be described. FIG. 9A is a diagram showing an example of gray signal values that have undergone gray color conversion processing.

カラー原稿601の円グラフ602で使用される画像データの各RGB信号値を示す色情報リスト621に対して上述の(1)式を用いて階調重視のグレー変換を行ったグレー信号値はグレー信号値901となる。グレー値処理部204で生成したグレー変換テーブル721を用いて弁別性重視のグレー変換を行ったグレー信号値はグレー信号値902となる。 Gray signal values obtained by performing gray conversion with a focus on gradation using the above equation (1) on the color information list 621 indicating the respective RGB signal values of the image data used in the pie chart 602 of the color document 601 are gray. A signal value of 901 is obtained. A gray signal value 902 is a gray signal value that has been subjected to gray conversion emphasizing distinctiveness using the gray conversion table 721 generated by the gray value processing unit 204 .

図9(b)は、円グラフ602を階調重視のグレー変換を行った画像例を示す図である。図形領域611~613および文字614~616の各色信号値のグレー信号値901は、図9(b)に示す円グラフ911の図形領域921、922、923および文字924、925、926に対応する。 FIG. 9B is a diagram showing an example of an image in which the pie chart 602 is subjected to gray conversion with emphasis on gradation. The gray signal value 901 of each color signal value of the graphical areas 611-613 and the characters 614-616 corresponds to the graphical areas 921, 922, 923 and the characters 924, 925, 926 of the pie chart 911 shown in FIG. 9(b).

階調重視のグレー変換を行ったグレー信号値901では、カラー信号では異なる色系統であっても、ほぼ同じグレー信号値になってしまい、色の弁別ができなくなってしまう場合がある。例えば、図形領域611の色信号のRGB(255、60、6)はグレー信号値の(118)となり、図形領域612の色信号のRGB(0、200、0)はグレー信号値の(117)となるため、ほぼ同じグレー信号値になり弁別性が悪くなる。 Gray signal values 901 obtained by performing gray conversion emphasizing gradation may result in approximately the same gray signal values even for different color systems in a color signal, making it impossible to discriminate colors. For example, the color signals RGB(255, 60, 6) of the graphic area 611 have a gray signal value of (118), and the color signals RGB(0,200,0) of the graphic area 612 have a gray signal value of (117). Therefore, the gray signal values are almost the same, and the discrimination is poor.

図9(c)は、円グラフ602を弁別性重視のグレー変換を行った画像例を示す図である。図形領域611~613および文字614~616の各色信号値のグレー信号値902は、図9(c)に示す円グラフ931の図形領域941、942、943および文字944、945、946に対応する。 FIG. 9(c) is a diagram showing an example of an image in which the pie chart 602 is subjected to gray conversion emphasizing distinctiveness. The gray signal values 902 of the respective color signal values of the graphical areas 611-613 and the characters 614-616 correspond to the graphical areas 941, 942, 943 and the characters 944, 945, 946 of the pie chart 931 shown in FIG. 9(c).

弁別性重視のグレー変換を行ったグレー信号値902では、カラー信号の各色を濃度に応じて均等に分割したグレー信号値に変換するため、近似のグレー信号値になることなく、各色を弁別することが可能なグレースケール画像が生成可能となる。 In the gray signal value 902 that has undergone gray conversion emphasizing discrimination, each color of the color signal is converted into gray signal values that are evenly divided according to the density. A grayscale image can be generated.

<濃度調整処理>
図10を用いて、画像処理部206による濃度調整処理S402について説明する。濃度調整処理では、属性ビットマップの各画素の属性情報に応じて、画像データの濃度信号値を補正テーブルにより調整する。
<Density adjustment processing>
The density adjustment processing S402 by the image processing unit 206 will be described with reference to FIG. In the density adjustment process, the density signal value of the image data is adjusted using the correction table according to the attribute information of each pixel of the attribute bitmap.

図10は、濃度調整例を示す図であり、図10(a)に濃度調整を行うためのユーザインターフェース画面例を示し、図10(b)に濃度調整処理の各濃度調整レベルの濃度特性例を示す。 FIGS. 10A and 10B are diagrams showing examples of density adjustment. FIG. 10A shows an example of a user interface screen for performing density adjustment, and FIG. indicates

濃度調整ユーザインターフェース(UI)画面1001は、(-5)から(+5)までの濃度調整レベル目盛り1002を有する。濃度調整UI画面1001は、濃度調整レベルを調整前と比べて薄く調整する濃度薄調整ボタン1003と、濃度調整レベルを調整前と比べて濃く調整する濃度濃調整ボタン1004とを有する。濃度調整UI画面1001は、設定をキャンセルするキャンセルボタン1005と、設定を決定するOKボタン1006とをさらに有する。濃度調整レベルは、デフォルトで濃度調整レベル目盛り1002の中央(0)に設定されている。濃度薄調整ボタン1003が押されることで濃度調整レベルを示すインジケータが左へ1ステップ移動し、濃度レベルが薄く設定される。濃度濃調整ボタン1004が押されることで濃度調整レベルを示すインジケータが右へ1ステップ移動し、濃度レベルが濃く設定される。なお、濃度レベルの段階やデフォルトの設定は必ずしもこの限りではなく、濃度調整が可能な構成であればよい。 A density adjustment user interface (UI) screen 1001 has a density adjustment level scale 1002 from (-5) to (+5). The density adjustment UI screen 1001 has a light density adjustment button 1003 for adjusting the density adjustment level to be lighter than before adjustment, and a density adjustment button 1004 for adjusting the density adjustment level to be darker than before adjustment. The density adjustment UI screen 1001 further has a cancel button 1005 for canceling settings and an OK button 1006 for confirming settings. The density adjustment level is set to the center (0) of the density adjustment level scale 1002 by default. When the light density adjustment button 1003 is pressed, the indicator indicating the density adjustment level moves one step to the left, and the density level is set to light. When the density adjustment button 1004 is pressed, the indicator indicating the density adjustment level moves one step to the right, and the density level is set to be dark. Note that the density level steps and default settings are not necessarily limited to the above, and any configuration that allows density adjustment may be used.

濃度調整レベル(0:標準)1008は、デフォルトの濃度特性である。濃度調整レベル(0:標準)1008は、濃度信号値(0~255)に対して、濃度0(白)~濃度1.4(黒)の範囲でリニアな濃度特性となる。濃度調整レベルを(-1)~(-5)に設定すると、濃度特性1011~1015のように濃度調整レベルに応じて、全体的に濃度が薄くなる。濃度調整レベルを(+1)~(+5)に設定すると、濃度特性1021~1025のように濃度調整レベルに応じて、全体的に濃度が濃くなる。すなわち、ユーザインターフェース画面1001を介して、濃度を薄くする若しくは濃くする設定を行うための画面が提供されることになる。 A density adjustment level (0: standard) 1008 is a default density characteristic. The density adjustment level (0: standard) 1008 has a linear density characteristic in the range of density 0 (white) to density 1.4 (black) with respect to the density signal value (0 to 255). When the density adjustment level is set to (-1) to (-5), the density is reduced as a whole according to the density adjustment level as shown by density characteristics 1011 to 1015. FIG. When the density adjustment level is set to (+1) to (+5), the overall density increases according to the density adjustment level as shown in density characteristics 1021 to 1025. FIG. That is, a screen is provided via the user interface screen 1001 for setting the density to be decreased or increased.

なお、ユーザインターフェース画面1001は、ホストPC100のCPU(不図示)などの制御によって、ホストPC100が有する表示装置などに表示される。 The user interface screen 1001 is displayed on the display device of the host PC 100 under the control of the CPU (not shown) of the host PC 100 .

図11は、濃度調整レベル(-5)1015の濃度調整テーブルを示す図である。濃度調整レベル(-5)1015の濃度調整テーブル1131は、入力濃度信号値1132(0~255)を、濃度調整レベル(-5)の濃度特性1015の濃度1133に対応する調整濃度信号値1134に変換するテーブルである。 FIG. 11 shows a density adjustment table for the density adjustment level (-5) 1015. As shown in FIG. The density adjustment table 1131 of the density adjustment level (-5) 1015 converts the input density signal value 1132 (0 to 255) into the adjusted density signal value 1134 corresponding to the density 1133 of the density characteristic 1015 of the density adjustment level (-5). This is the table to convert.

入力濃度信号値(255)1016の濃度は、濃度調整レベル(-5)では濃度(0.9)に調整される。ここで、濃度(0~1.4)を濃度信号値(0~255)で正規化しているため、濃度(0.9)は濃度信号値(165)となる。そのため、入力濃度信号値(255)を調整濃度信号値(165)に変換することで濃度調整レベル(-5)の濃度調整が可能となる。濃度調整テーブル1131はすべての入力濃度信号値(0~255)に対して、濃度調整レベル(-5)の濃度特性1015になるような濃度信号値を持つテーブルである。 The density of the input density signal value (255) 1016 is adjusted to density (0.9) at the density adjustment level (-5). Here, since the density (0 to 1.4) is normalized by the density signal value (0 to 255), the density (0.9) becomes the density signal value (165). Therefore, by converting the input density signal value (255) into the adjusted density signal value (165), density adjustment of the density adjustment level (-5) becomes possible. The density adjustment table 1131 is a table having density signal values that give the density characteristics 1015 of the density adjustment level (-5) for all input density signal values (0 to 255).

濃度調整テーブル1131を用いて、濃度信号値を変換することで、入力濃度信号に対する濃度特性が濃度調整レベル(-5)の濃度特性1015となる濃度に調整される。すなわち、濃度調整レベル(-5)に対応した濃度特性1015の濃度調整テーブル1131を用いて、濃度信号値を変換することで、濃度が調整される。 By converting the density signal value using the density adjustment table 1131, the density characteristic for the input density signal is adjusted to the density characteristic 1015 of the density adjustment level (-5). That is, the density is adjusted by converting the density signal value using the density adjustment table 1131 of the density characteristic 1015 corresponding to the density adjustment level (-5).

同様に濃度調整レベル(-5)~(+5)についても各濃度調整レベルに対応した濃度特性の濃度調整テーブルを用いて、濃度信号値を変換することで、濃度が調整される。 Similarly, for the density adjustment levels (−5) to (+5), the density is adjusted by converting the density signal value using the density adjustment table of the density characteristics corresponding to each density adjustment level.

次に、図12、図13、図14を用いて、弁別性重視のグレー変換を行ったグレースケール画像に対する濃度調整処理について説明する。 Next, density adjustment processing for a grayscale image that has undergone gray conversion emphasizing distinctiveness will be described with reference to FIGS.

図12はグレー信号値を輝度濃度変換した濃度信号値例を示す図である。グレースケール画像を印刷するために、輝度濃度変換を行い、輝度信号であるグレー信号値を濃度に変換する。輝度濃度変換は、グレー信号値Gを濃度信号の最大値255から減算することで、濃度信号値に変換する。
濃度K = (255-グレー信号値G) ・・・(2)
FIG. 12 is a diagram showing an example of density signal values obtained by converting gray signal values into luminance density. In order to print a grayscale image, luminance-density conversion is performed to convert gray signal values, which are luminance signals, into densities. In the luminance density conversion, the gray signal value G is subtracted from the maximum value 255 of the density signal to convert it into a density signal value.
Density K = (255-gray signal value G) (2)

図9の弁別性重視のグレー信号値902を輝度濃度変換すると、図12に示す濃度信号値1201となる。 When the gray signal value 902 emphasizing distinctiveness in FIG. 9 is converted to luminance density, the density signal value 1201 shown in FIG. 12 is obtained.

図13は、弁別性重視の濃度信号値と濃度の関係を示す図である。図13(a)に濃度調整レベル(0)および濃度調整レベル(-5)の濃度特性例を示し、図13(b)に濃度調整レベル(-5)の調整濃度信号値例を示す。 FIG. 13 is a diagram showing the relationship between the density signal value with emphasis on distinctiveness and the density. FIG. 13(a) shows an example of density characteristics at density adjustment level (0) and density adjustment level (-5), and FIG. 13(b) shows an example of adjusted density signal value at density adjustment level (-5).

図12に示す弁別性重視の濃度信号値1201を標準の濃度調整レベル(0)の濃度特性に配置すると、図13(a)に示す濃度特性1302上の濃度信号値1310~1317となる。 Placing the density signal value 1201 emphasizing distinctiveness shown in FIG. 12 on the density characteristic of the standard density adjustment level (0) results in density signal values 1310 to 1317 on the density characteristic 1302 shown in FIG. 13(a).

ここで、濃度信号値1310~1317に対して濃度調整レベル(-5)の濃度調整を行うと、各濃度信号値は濃度調整レベル(-5)の濃度特性1303に調整され、濃度信号値1320~1327となる。 Here, when the density adjustment level (-5) is applied to the density signal values 1310 to 1317, each density signal value is adjusted to the density characteristic 1303 of the density adjustment level (-5). ~1327.

図13(b)に示すように、調整後の濃度信号値1320~1327は、弁別性重視の濃度信号値1201を濃度調整レベル(-5)の濃度調整テーブル1131を用いて変換すると、調整濃度信号値1341となる。 As shown in FIG. 13B, the density signal values 1320 to 1327 after adjustment are obtained by converting the density signal value 1201 emphasizing distinctiveness using the density adjustment table 1131 of the density adjustment level (-5). A signal value of 1341 is obtained.

図14は、カラー原稿601の画像に対して弁別性重視の時のグレー変換処理を行ったグレースケール画像を示す図である。図14(a)に濃度調整前のグレースケール画像例を示し、図14(b)に濃度調整後のグレースケール画像例を示す。 FIG. 14 is a diagram showing a grayscale image obtained by performing gray conversion processing when emphasizing distinctiveness on the image of the color document 601 . FIG. 14A shows an example of a grayscale image before density adjustment, and FIG. 14B shows an example of a grayscale image after density adjustment.

図14(a)に示すグレースケール画像1401は、濃度調整を行わない時(濃度調整レベル0)のグレースケール画像である。図形データ1403は、弁別性重視の対象であるため弁別性重視の濃度信号値1411~1416となり隣接画像と弁別が可能な弁別性のあるグレースケール画像となる。イメージデータ1404は、弁別性重視の対象でないため、階調重視のグレー変換処理で変換された階調性のよい濃度信号値で印刷される。 A grayscale image 1401 shown in FIG. 14A is a grayscale image when density adjustment is not performed (density adjustment level 0). Since the figure data 1403 is the object of emphasis on distinctiveness, it has density signal values 1411 to 1416 with emphasis on distinctiveness, and becomes a grayscale image capable of being distinguished from adjacent images. Since the image data 1404 is not a target for which emphasis is placed on distinctiveness, it is printed with a density signal value with good gradation that has been converted by gray conversion processing that emphasizes gradation.

グレースケール画像1402は、グレースケール画像1401に対して、濃度調整レベル(-5)の濃度調整を行ったグレースケール画像である。 A grayscale image 1402 is a grayscale image obtained by performing density adjustment of the density adjustment level (−5) on the grayscale image 1401 .

図形データ1405は、濃度信号値1421と濃度信号値1422はほとんど白になってしまい弁別ができない画像となる。弁別性重視のグレー変換で濃度が均等になるように決定された濃度信号値である。ただし、濃度調整処理を行うと図14(b)に示す濃度信号値1421、1422、1423のように白と判別できない濃度域(例えば濃度0.15以下)になってしまうため弁別性が劣化する場合がある。 In the figure data 1405, the density signal value 1421 and the density signal value 1422 are almost white, resulting in an image that cannot be distinguished. It is a density signal value determined so that the density becomes uniform by gray conversion emphasizing distinctiveness. However, when the density adjustment process is performed, the density signal values 1421, 1422, and 1423 shown in FIG. Sometimes.

一方、イメージデータ1406は濃度調整処理を行った場合でも、階調性重視のグレー変換処理をしたグレースケール画像であるため、全体的に濃度が薄くなり階調性を維持したままのグレースケール画像となる。 On the other hand, even if the image data 1406 is subjected to density adjustment processing, it is a grayscale image that has been subjected to gray conversion processing that emphasizes gradation. becomes.

<弁別性重視時の濃度調整処理>
図15から図18を用いて、弁別性の劣化を抑えるための、弁別性重視のグレースケール画像に対する濃度調整処理について説明する。
<Density adjustment processing when emphasizing distinctiveness>
Density adjustment processing for a grayscale image emphasizing distinctiveness for suppressing deterioration of distinctiveness will be described with reference to FIGS. 15 to 18 .

まず、濃度調整において、濃度を薄くする調整について説明する。図15は、濃度調整レベル(-5)に設定したときの、弁別性重視のグレースケール画像の濃度調整を説明する図である。図15(a)に濃度調整レベル(-5)の濃度特性を示し、図15(b)に濃度調整レベル(-5)の濃度特性1502の補正テーブルを示す。ただし、白(濃度0)と弁別可能な最小の濃度が濃度0.15である場合、白と弁別できない濃度は0.0から0.15未満の濃度域であるとする。グレー値処理部204により決定したグレー信号値の濃度値が、0.0から0.15未満の濃度域に含まれないように、濃度調整の濃度特性は、補正される。すなわち、弁別性重視のグレースケール画像の濃度を、画像の濃度を調整するための濃度調整レベルに対応し、色の弁別可能な濃度領域に対応したテーブルを用いて調整されるともいえる。 First, in the density adjustment, the adjustment for reducing the density will be described. FIG. 15 is a diagram for explaining density adjustment of a grayscale image emphasizing distinctiveness when the density adjustment level (−5) is set. FIG. 15(a) shows the density characteristics of the density adjustment level (-5), and FIG. 15(b) shows the correction table of the density characteristics 1502 of the density adjustment level (-5). However, if the minimum density that can be distinguished from white (density 0) is 0.15, the density that cannot be distinguished from white is in the range from 0.0 to less than 0.15. The density characteristic of density adjustment is corrected so that the density value of the gray signal value determined by the gray value processing unit 204 is not included in the density range from 0.0 to less than 0.15. That is, it can be said that the density of a grayscale image emphasizing distinctiveness is adjusted using a table corresponding to density adjustment levels for adjusting the density of an image and corresponding to density regions in which colors can be distinguished.

弁別性重視のグレースケール画像に対する濃度調整処理では、濃度調整レベル(-5)の濃度特性1502を、白(0)から濃度0.15(白と弁別可能な最小値)までは標準の濃度調整レベル(0)の濃度特性1302と同じ濃度特性となるように補正する。また、濃度調整レベル(-5)の濃度特性1502を、濃度0.15からそれより大きい濃度範囲であり、濃度調整レベル(-5)の最大濃度値0.9まではリニアな特性となるように補正する。このように濃度特性を補正することにより、弁別性重視の濃度信号値が白と弁別ができない濃度域1331に調整されないようにすることができる。 In density adjustment processing for grayscale images emphasizing distinctiveness, the density characteristics 1502 at the density adjustment level (−5) are adjusted from white (0) to density 0.15 (minimum value distinguishable from white) from standard density adjustment. The density characteristic is corrected to be the same as the density characteristic 1302 of level (0). The density characteristic 1502 of the density adjustment level (-5) is set to a density range from 0.15 to a density higher than 0.15, and is linear up to the maximum density value of 0.9 of the density adjustment level (-5). corrected to By correcting the density characteristic in this way, it is possible to prevent the density signal value that emphasizes discrimination from being adjusted to the density region 1331 in which white cannot be distinguished.

濃度を薄くする濃度調整レベル(-1)~(-4)についても、同様に、各濃度調整レベルの濃度特性を、白(0)から濃度0.15(白と弁別可能な最小値)までは標準の濃度調整レベル(0)の濃度特性1302と同じ濃度特性となるように補正する。また、各濃度調整レベルの濃度特性を、濃度0.15からそれより大きい濃度範囲であり、各濃度調整レベルの最大濃度値まではリニアな特性となるように補正する。このように濃度特性を補正することにより、弁別性重視の濃度信号値が白と弁別ができない濃度域1331に調整されないようにすることができる。これにより、色の弁別性の劣化を抑えることができる。 Similarly, for the density adjustment levels (-1) to (-4) that lighten the density, the density characteristics of each density adjustment level are set from white (0) to density 0.15 (minimum value distinguishable from white). is corrected to have the same density characteristics as the density characteristics 1302 of the standard density adjustment level (0). Further, the density characteristic of each density adjustment level is corrected to have a density range from 0.15 to a density higher than 0.15 and to have a linear characteristic up to the maximum density value of each density adjustment level. By correcting the density characteristic in this way, it is possible to prevent the density signal value that emphasizes discrimination from being adjusted to the density region 1331 in which white cannot be distinguished. As a result, deterioration in color discrimination can be suppressed.

図15(b)に示す濃度調整レベル(-5)の濃度特性1502の補正テーブル1541は、弁別性重視のグレースケール画像に対する濃度調整処理で用いられる。濃度調整レベル(-5)の濃度特性1502の補正テーブル1541を用いて、入力濃度信号値1542(0~255)が、濃度調整レベル(-5)の濃度特性1525の濃度1543に対応する調整濃度信号値1544に変換される。このように変換されることで、弁別性重視のグレースケール画像の濃度が調整される。 A correction table 1541 for the density characteristics 1502 at the density adjustment level (−5) shown in FIG. 15B is used in density adjustment processing for a grayscale image that emphasizes distinctiveness. Using the correction table 1541 of the density characteristic 1502 of the density adjustment level (-5), the input density signal value 1542 (0 to 255) is the adjusted density corresponding to the density 1543 of the density characteristic 1525 of the density adjustment level (-5). Converted to signal value 1544 . By converting in this way, the density of the grayscale image that emphasizes distinctiveness is adjusted.

調整後の濃度信号値1520~1527は、弁別性重視の濃度信号値1201を濃度調整レベル(-5)の補正テーブル1541を用いて変換することにより、図16に示すように調整濃度信号値1601となる。すなわち、補正テーブル1541は、入力グレー値と出力グレー値を対応付けており、出力グレー値それぞれが表すグレー間で弁別可能に設計されている。より具体的には、補正テーブル1541は、最小濃度と弁別可能な濃度差となる最小の濃度値から、濃度が薄く調整される設定に対応する最大濃度値までの濃度領域において、前記出力グレー値それぞれが表すグレー間で弁別可能に設計されている。 The density signal values 1520 to 1527 after adjustment are obtained by converting the density signal value 1201 emphasizing distinctiveness using a correction table 1541 for the density adjustment level (-5). becomes. That is, the correction table 1541 associates the input gray values with the output gray values, and is designed to be able to discriminate between the grays represented by the respective output gray values. More specifically, the correction table 1541 determines the output gray value in the density range from the minimum density value that is discriminable from the minimum density to the maximum density value that corresponds to the setting for adjusting the density to be light. It is designed to be distinguishable between the grays each represents.

図17は、弁別性重視のグレースケール画像1401に対して、弁別性重視用の補正テーブル1541を用いて濃度調整レベル(-5)の濃度調整を行ったグレースケール画像である。グレースケール画像1701の図形データ1702は、全体的に濃度が薄くなり、さらに隣接画像と弁別が可能な弁別性のあるグレースケール画像となる。 FIG. 17 shows a grayscale image obtained by performing density adjustment at the density adjustment level (−5) using a correction table 1541 for emphasizing distinctiveness on a grayscale image 1401 emphasizing distinctiveness. The graphic data 1702 of the grayscale image 1701 becomes a grayscale image with a low density as a whole and a distinguishability that can be distinguished from adjacent images.

一方、イメージデータ1703は、補正前の濃度調整テーブル1131を用いて濃度調整処理を行うためイメージデータ(グレースケール画像)1406と同じであり、全体的に濃度が薄くなり階調性を維持したままのグレースケール画像となる。 On the other hand, the image data 1703 is the same as the image data (grayscale image) 1406 because the density adjustment processing is performed using the density adjustment table 1131 before correction, and the overall density is reduced and the gradation is maintained. becomes a grayscale image of

次に、濃度調整において、濃度を濃くする調整について説明する。図18は、濃度調整レベル(+5)に設定したときの、弁別性重視のグレースケール画像の濃度調整を説明する図である。図18(a)に、濃度調整レベル(+5)の濃度調整における弁別性重視の濃度信号値と濃度の関係を示し、図18(b)に濃度調整レベル(+5)の濃度特性を示す。ただし、黒(濃度1.4)と弁別可能な最大の濃度が濃度1.25である場合、黒と弁別できない濃度は1.25から1.4(黒)の濃度域であるとする。 Next, in the density adjustment, the adjustment for increasing the density will be described. FIG. 18 is a diagram for explaining density adjustment of a grayscale image emphasizing distinctiveness when the density adjustment level (+5) is set. FIG. 18(a) shows the relationship between the density signal value and the density in the density adjustment at the density adjustment level (+5), and FIG. 18(b) shows the density characteristics at the density adjustment level (+5). However, when the maximum density that can be distinguished from black (density 1.4) is 1.25, the density range that cannot be distinguished from black is from 1.25 to 1.4 (black).

図12に示す弁別性重視の濃度信号値1201を標準の濃度調整レベル(0)の濃度特性に配置すると、図18(a)に示す濃度特性1802上の濃度信号値1810~1817となる。 When the density signal value 1201 emphasizing distinctiveness shown in FIG. 12 is arranged on the density characteristic of the standard density adjustment level (0), the density signal values 1810 to 1817 on the density characteristic 1802 shown in FIG. 18(a) are obtained.

ここで、濃度信号値1810~1817に対して濃度調整レベル(+5)の濃度調整を行うと、各濃度信号値は濃度調整レベル(+5)の濃度特性1803に調整され、濃度信号値1820~1827となる。このとき、濃度が濃くなるように濃度調整を行うと、濃度信号値1824と1825、1826は、黒と弁別ができない濃度域の濃度値になる。そのため、濃度信号値1824、1825、1826は、弁別ができなくなくなり、弁別性が劣化する。 Here, when the density adjustment level (+5) is applied to the density signal values 1810 to 1817, each density signal value is adjusted to the density characteristic 1803 of the density adjustment level (+5), and the density signal values 1820 to 1827 are adjusted. becomes. At this time, if the density is adjusted so as to increase the density, the density signal values 1824, 1825, and 1826 become density values in a density range in which black cannot be distinguished. Therefore, the density signal values 1824, 1825, and 1826 cannot be discriminated, and the discriminability deteriorates.

そこで、本実施形態では、グレー値処理部204により決定したグレー信号値の濃度値が、1.25から1.4の濃度域に含まれないように、濃度調整の濃度特性は、補正される。すなわち、弁別性重視のグレースケール画像の濃度が、画像の濃度を調整するための調整レベルに対応し、色の弁別可能な濃度領域に対応したテーブルを用いて調整されるともいえる。 Therefore, in the present embodiment, the density characteristic of density adjustment is corrected so that the density value of the gray signal value determined by the gray value processing unit 204 is not included in the density range of 1.25 to 1.4. . In other words, it can be said that the density of a grayscale image that emphasizes distinctiveness is adjusted using a table that corresponds to an adjustment level for adjusting the density of an image and corresponds to a density region in which colors can be distinguished.

弁別性重視のグレースケール画像に対する濃度調整処理では、濃度調整レベル(+5)の濃度特性1804を、次に示す濃度範囲でリニアな特性となるように補正する。すなわち、白(0)を除く濃度調整レベル(+5)の最小濃度値0.5から黒と弁別可能な最小濃度値1.25までの濃度範囲でリニアな特性となるように補正する。また、濃度調整(+5)の濃度特性1804を、濃度値1.25から黒の濃度1.4までは標準の濃度調整レベル(0)の濃度特性1802と同じ濃度特性となるように補正する。このように濃度特性を補正することにより、弁別性重視の濃度信号値が黒と弁別できない濃度域1831に調整されないようにすることができる。生成されたグレースケールページ画像の濃度が調整前と比べて濃く調整される場合、濃度調整レベルの濃度特性に対応した補正テーブルが用いられる。すなわち、前記補正テーブルは、最大濃度と弁別可能な濃度差となる最大の濃度値から、濃度が濃く調整される設定に対応する最小濃度値までの濃度領域において、前記出力グレー値それぞれが表すグレー間で弁別可能に設計されている。 In density adjustment processing for a grayscale image emphasizing distinctiveness, the density characteristic 1804 at the density adjustment level (+5) is corrected so that it becomes linear in the following density range. That is, correction is performed so that linear characteristics are obtained in the density range from the minimum density value of 0.5 of the density adjustment level (+5) excluding white (0) to the minimum density value of 1.25 that can be distinguished from black. Further, the density characteristic 1804 of the density adjustment (+5) is corrected so that it becomes the same density characteristic 1802 of the standard density adjustment level (0) from the density value of 1.25 to the black density of 1.4. By correcting the density characteristic in this way, it is possible to prevent the density signal value that emphasizes discrimination from being adjusted to the density region 1831 in which black cannot be distinguished. When the density of the generated grayscale page image is adjusted to be darker than before adjustment, a correction table corresponding to the density characteristics of the density adjustment level is used. That is, the correction table determines the gray level represented by each of the output gray values in the density range from the maximum density value at which the density difference is distinguishable from the maximum density to the minimum density value corresponding to the setting in which the density is adjusted to be dark. designed to be distinguishable between

濃度を濃くする濃度調整レベル(+1)~(+4)についても、同様に、各濃度調整レベルの濃度特性を、白(0)を除く各濃度調整レベルの最小濃度値から黒と弁別可能な最小濃度値1.25までの濃度範囲でリニアな特性となるように補正する。また、各濃度調整レベルの濃度特性を、濃度値1.25から黒の濃度1.4までは標準の濃度調整レベル(0)の濃度特性1802と同じ濃度特性となるように補正する。このように濃度特性を補正することにより、弁別性重視の濃度信号値が黒と弁別ができない濃度域1831に調整されないようにすることができる。これにより、弁別性の劣化を抑えることができる。 Similarly, for the density adjustment levels (+1) to (+4) that increase the density, the density characteristics of each density adjustment level are similarly changed from the minimum density value of each density adjustment level excluding white (0) to the minimum value distinguishable from black. Correction is performed so that the characteristics are linear in the density range up to a density value of 1.25. Also, the density characteristics of each density adjustment level are corrected so that they are the same as the density characteristics 1802 of the standard density adjustment level (0) from a density value of 1.25 to a black density of 1.4. By correcting the density characteristic in this way, it is possible to prevent the density signal value that emphasizes discrimination from being adjusted to the density region 1831 in which black cannot be discriminated. As a result, it is possible to suppress the deterioration of distinguishability.

以上説明したように、本実施形態によれば、カラー画像をモノクロで印刷する際に、第1のグレー値と第2のグレー値とが所定の濃度差となるように変換したグレースケールページ画像に対し濃度調整を行っても、色の弁別性を維持することができる。 As described above, according to the present embodiment, when a color image is printed in monochrome, the grayscale page image is converted so that the first gray value and the second gray value have a predetermined density difference. Color discrimination can be maintained even if density adjustment is performed for .

なお、ユーザが設定した濃度調整レベルに応じた濃度調整では、白又は黒と弁別できないグレー値があり、白または黒と弁別できないグレー値を色の弁別可能な濃度域内に調整したグレースケール画像を形成した旨の通知を操作部102にて行ってもよい。また、この通知をホストPC100にて行ってもよい。 In density adjustment according to the density adjustment level set by the user, there are gray values that cannot be distinguished from white or black. The operation unit 102 may notify the formation. Also, this notification may be made by the host PC 100 .

(実施形態2)
本実施形態では、弁別性重視のグレースケール画像に対して、濃度調整前後で同じ濃度となる濃度調整処理を実行する態様について説明する。本実施形態では、実施形態1と異なる処理についてのみ説明する。
(Embodiment 2)
In the present embodiment, a mode will be described in which density adjustment processing is performed to obtain the same density before and after density adjustment for a grayscale image that emphasizes distinctiveness. In this embodiment, only processing different from that of the first embodiment will be described.

図15(a)、図18(a)を用いて説明したように弁別性重視のグレースケール画像に対して、濃度を薄くする、または濃度を濃くする濃度調整処理を行うと、弁別性が劣化する場合がある。 As described with reference to FIGS. 15(a) and 18(a), if a grayscale image emphasizing distinctiveness is subjected to a density adjustment process that makes the density lighter or thicker, the distinctiveness deteriorates. sometimes.

そこで、本実施形態では、弁別性重視のグレースケール画像に対して、濃度調整前後で同じ濃度となる濃度調整処理を実行する。 Therefore, in the present embodiment, density adjustment processing is performed on a grayscale image emphasizing distinctiveness so that the density is the same before and after density adjustment.

図19は、本実施形態に係る濃度調整処理S502の詳細な流れを示すフローチャートである。なお、本実施形態の濃度調整処理(第2の濃度調整処理)は、弁別性重視のグレースケール画像に対して実行される。 FIG. 19 is a flowchart showing the detailed flow of the density adjustment processing S502 according to this embodiment. Note that the density adjustment processing (second density adjustment processing) of the present embodiment is performed on a grayscale image that emphasizes distinctiveness.

本実施形態の濃度調整処理は、カラーモードの設定がモノクロ印刷であり、かつモノクロ印刷モードの設定が弁別性重視のときに実行される。 The density adjustment process of the present embodiment is executed when the color mode setting is monochrome printing and the monochrome printing mode setting emphasizes distinctiveness.

S1901では、画像処理部206は、濃度調整を行う画素の属性が、弁別性重視の対象の属性であるか否かを判断する。例えば、弁別性重視の対象の属性は文字やグラフィックの属性の画素である。階調性重視のイメージの属性は非対象となる。ただし、対象の属性は、ユーザにより設定されることも可能である。 In S<b>1901 , the image processing unit 206 determines whether or not the attribute of the pixel whose density is to be adjusted is the attribute for which emphasis is placed on distinctiveness. For example, the attribute to be emphasized for distinctiveness is a character or graphic attribute pixel. Attributes of images emphasizing gradation are not targeted. However, the target attributes can also be set by the user.

S1901にて弁別性重視の対象の属性であると判断された場合、処理がS1902に遷移される。S1902では、画像処理部206は、濃度調整処理の濃度調整レベルを0(標準)の値に設定する。このように濃度調整レベル値を0(標準)に設定することにより、濃度調整前後で濃度が同じとなり、実質的に濃度調整を実行しない場合と同じ処理結果が得られる。すなわち、出力値が入力値と同じ値となる補正テーブルをS1903にて用いることが設定される。 If it is determined in S1901 that the attribute is a target attribute for which emphasis is placed on distinctiveness, the process proceeds to S1902. In S1902, the image processing unit 206 sets the density adjustment level for density adjustment processing to a value of 0 (standard). By setting the density adjustment level value to 0 (standard) in this way, the density becomes the same before and after the density adjustment, and substantially the same processing result as when the density adjustment is not performed is obtained. That is, it is set in S1903 to use a correction table in which the output value is the same as the input value.

一方、S1901にて弁別性重視の対象の属性でないと判断された場合、処理がS1903に遷移される。 On the other hand, if it is determined in S1901 that the attribute is not a target attribute for emphasizing distinctiveness, the process proceeds to S1903.

S1903では、画像処理部206は、図10(b)、図11に示したように、設定されている濃度調整レベルに対応した濃度調整テーブルを用いて対象の画素の濃度信号値を調整する濃度調整処理を行う。 In S1903, the image processing unit 206 adjusts the density signal value of the target pixel using the density adjustment table corresponding to the set density adjustment level, as shown in FIGS. Perform adjustment processing.

以上説明したように、本実施形態によれば、弁別性重視のグレースケール画像に対して濃度調整の処理を行う場合、弁別性重視の対象画素に対しては、処理前後で同じ濃度に調整する処理を行うことにより、色の弁別性の劣化を抑えることが可能になる。 As described above, according to the present embodiment, when density adjustment processing is performed on a grayscale image in which distinctiveness is emphasized, target pixels in which distinctiveness is emphasized are adjusted to the same density before and after processing. By performing the processing, it is possible to suppress the deterioration of the color distinguishability.

なお、ユーザが設定した濃度調整レベルに応じた濃度調整では、白又は黒と弁別できないグレー値があり、濃度調整前と同じ濃度となる弁別性重視のグレースケール画像を形成した旨の通知を操作部102にて行ってもよい。また、この通知をホストPC100にて行ってもよい。 Note that, in the density adjustment according to the density adjustment level set by the user, there is a gray value that cannot be distinguished from white or black, and operation is performed to notify that a distinguishability-oriented grayscale image having the same density as before the density adjustment has been formed. It may be performed in the section 102 . Also, this notification may be made by the host PC 100 .

(実施形態3)
本実施形態では、弁別性重視のグレースケール画像の濃度を調整する際の、濃度調整レベルの設定を変更する処理を実行する態様について説明する。本実施形態では、実施形態1、2と異なる処理についてのみ説明する。ただし、濃度調整レベルの設定を変更する処理は、グレー値を決定する処理の後に実施される。また、一例としてモノクロ印刷は最小濃度0(白)~最大濃度1.4(黒)の濃度特性であり、弁別可能な濃度差が0.15であるとする。
(Embodiment 3)
In this embodiment, a mode of executing processing for changing the setting of the density adjustment level when adjusting the density of a grayscale image emphasizing distinctiveness will be described. In this embodiment, only processes different from those in the first and second embodiments will be described. However, the process of changing the setting of the density adjustment level is performed after the process of determining the gray value. As an example, assume that monochrome printing has a density characteristic of a minimum density of 0 (white) to a maximum density of 1.4 (black), and a distinguishable density difference is 0.15.

図20は、弁別性重視のグレー変換を行う際の弁別可能な濃度信号値(グレー信号値)例を示す図である。弁別可能な濃度差が0.15であるため、弁別可能な濃度信号値は、「〇」(白丸)で示した濃度0.15(符号2011)、濃度0.3(符号2012)、濃度0.45(符号2013)、濃度0.6(符号2014)、濃度0.75(符号2015)である。また、弁別可能な濃度信号値は、「〇」(白丸)で示した濃度0.9(符号2016)、濃度1.05(符号2017)、濃度1.2(符号2018)、1.4(符号2019)である。よって、上述の濃度特性においては、弁別可能な濃度信号値の最大の色数は9となる。 FIG. 20 is a diagram showing an example of distinguishable density signal values (gray signal values) when performing gray conversion emphasizing distinguishability. Since the discriminable density difference is 0.15, the discriminable density signal values are the density 0.15 (symbol 2011), the density 0.3 (symbol 2012), and the density 0 indicated by "O" (white circle). .45 (code 2013), density 0.6 (code 2014), and density 0.75 (code 2015). Also, the discriminable density signal values are the density 0.9 (symbol 2016), the density 1.05 (symbol 2017), the density 1.2 (symbol 2018), and the density 1.4 ( 2019). Therefore, in the density characteristics described above, the maximum number of distinguishable density signal values is nine.

図21は、各濃度調整レベルにおいて弁別可能な濃度信号値例を示す図である。図21(a)に各濃度調整レベルにおいて弁別可能な濃度信号値例を示す。図21(b)に濃度調整レベル(-5)から濃度調整レベル(+5)までの弁別可能な濃度信号値の最大の数(色数)を示す。図21(a)では、「〇」(白丸)は、各濃度調整レベルの濃度特性上において色の弁別が可能な濃度信号値例を示している。図21(a)に示すように、濃度調整レベルが0より小さくなるもしくは大きくなるほど、濃度の領域は、狭くなる。そのため、弁別可能な濃度信号値は、少なくなる。 FIG. 21 is a diagram showing examples of density signal values discriminable at each density adjustment level. FIG. 21(a) shows examples of density signal values discriminable at each density adjustment level. FIG. 21(b) shows the maximum number (number of colors) of discriminable density signal values from the density adjustment level (-5) to the density adjustment level (+5). In FIG. 21A, "o" (white circle) indicates an example of a density signal value that allows color discrimination on the density characteristics of each density adjustment level. As shown in FIG. 21A, as the density adjustment level becomes smaller or larger than 0, the density region becomes narrower. Therefore, there are fewer distinguishable density signal values.

弁別可能な最大濃度信号値数は、図21(b)に示すように、濃度調整レベル0(調整なし)のときは9色である。濃度調整レベルを小さくすると、弁別可能な最大濃度信号値数は段階的に少なくなり、濃度調整レベル(-5)では6色となる。濃度調整レベルを大きくすると、弁別可能な最大濃度信号値数は段階的に少なくなり、濃度調整レベル(+5)では6色となる。 The maximum number of distinguishable density signal values is 9 colors when the density adjustment level is 0 (no adjustment), as shown in FIG. 21(b). As the density adjustment level is decreased, the maximum discriminable density signal value number decreases step by step, and becomes six colors at the density adjustment level (-5). As the density adjustment level is increased, the maximum number of discriminable density signal values decreases step by step, and is six colors at the density adjustment level (+5).

このように、濃度調整レベルに応じて、弁別可能な最大濃度信号値数が変化する。そのため、弁別性重視のグレー変換を行ったグレースケール画像に対して濃度調整処理を行う場合、原稿の色数に応じた濃度調整レベルの設定変更を行う。 In this manner, the maximum discriminable density signal value number changes according to the density adjustment level. Therefore, when density adjustment processing is performed on a grayscale image that has been subjected to gray conversion emphasizing distinctiveness, the setting of the density adjustment level is changed according to the number of colors of the document.

図22は、弁別性重視のグレースケール画像の濃度を調整する際の、濃度調整レベルの設定処理の流れを示すフローチャートである。 FIG. 22 is a flowchart showing the flow of density adjustment level setting processing when adjusting the density of a grayscale image emphasizing distinctiveness.

まず、S2201では、出力画像生成部120のグレー値処理部204は、原稿の色数算出処理S503で算出された、弁別性重視対象の原稿で使用される色数を取得する。 First, in S2201, the gray value processing unit 204 of the output image generation unit 120 acquires the number of colors used in the document for which distinctiveness is emphasized, which is calculated in the document color number calculation processing S503.

S2202では、グレー値処理部204は、S2201にて取得した原稿の色数が濃度調整レベル0の弁別可能な色数以下であるか否かを判断する。弁別可能な色数以下でないと判断された場合(S2202のNO)、処理がS2208に遷移される。一方、弁別可能な色数以下であると判断された場合(S2202のYES)、処理がS2203に遷移される。 In S2202, the gray value processing unit 204 determines whether or not the number of colors of the document acquired in S2201 is equal to or less than the number of distinguishable colors at density adjustment level 0. If it is determined that the number of colors is not equal to or less than the number of distinguishable colors (NO in S2202), the process proceeds to S2208. On the other hand, if it is determined that the number of colors is equal to or less than the number of distinguishable colors (YES in S2202), the process proceeds to S2203.

S2203では、グレー値処理部204は、設定情報から、濃度調整UI画面1001にて現在設定されている所定の設定値である濃度調整処理の濃度調整レベルを取得する。 In step S<b>2203 , the gray value processing unit 204 acquires a density adjustment level for density adjustment processing, which is a predetermined set value currently set on the density adjustment UI screen 1001 , from the setting information.

S2204では、グレー値処理部204は、S2203にて取得した濃度調整レベルにおいて弁別可能な色数を、弁別可能な色数テーブル2131を参照して取得する。 In S<b>2204 , the gray value processing unit 204 acquires the number of distinguishable colors at the density adjustment level acquired in S<b>2203 by referring to the distinguishable color number table 2131 .

S2205では、グレー値処理部204は、S2201にて取得した原稿の色数がS2204にて取得した弁別可能な色数以下であるか否かを判断する。原稿の色数が弁別可能な色数以下でないと判断された場合(S2205のNO)、処理がS2206に遷移される。 In S2205, the gray value processing unit 204 determines whether or not the number of colors of the document acquired in S2201 is equal to or less than the number of distinguishable colors acquired in S2204. If it is determined that the number of colors in the document is not equal to or less than the number of distinguishable colors (NO in S2205), the process proceeds to S2206.

S2206では、グレー値処理部204は、原稿の色数以上の色数となる現在の濃度調整と一番近い濃度調整レベルを選択する。例えば、原稿の色数が8色であり、濃度調整レベルが(-4)である場合、濃度調整レベル(-4)の弁別可能最大色数は、原稿の色数より少ない6色であるため、原稿で弁別ができない色ができてしまう。そのため、弁別可能な最大色数が原稿の色数以上となり濃度調整レベル(-4)に一番近い8色を持つ濃度調整レベル(-2)を濃度調整レベルとして選択する。 In S2206, the gray value processing unit 204 selects a density adjustment level closest to the current density adjustment, which has a number of colors greater than or equal to the number of colors of the document. For example, if the number of colors in the document is 8 and the density adjustment level is (-4), the maximum number of discriminable colors at the density adjustment level (-4) is 6, which is less than the number of colors in the document. , colors that cannot be distinguished in the original are produced. Therefore, the density adjustment level (-2) having eight colors, the maximum number of which can be distinguished is greater than or equal to the number of colors of the document and is closest to the density adjustment level (-4), is selected as the density adjustment level.

S2207では、グレー値処理部204は、選択された濃度調整レベルを弁別性重視時の濃度調整レベルに設定する。すなわち、グレースケール画像の色数に応じて、色の弁別が可能な濃度の色数が原稿の色数以上となる濃度調整レベルに変更し、変更後の濃度調整レベルに対応したテーブルを用いてグレースケール画像の濃度を調整するといえる。S2207の処理が完了すると、図22に示す処理が終了される。 In S2207, the gray value processing unit 204 sets the selected density adjustment level to the density adjustment level when emphasizing distinctiveness. That is, according to the number of colors of the grayscale image, the density adjustment level is changed so that the number of colors with densities that allow color discrimination is greater than or equal to the number of colors of the original, and a table corresponding to the density adjustment level after the change is used. It can be said that the density of the grayscale image is adjusted. When the process of S2207 is completed, the process shown in FIG. 22 ends.

一方、S2205では、グレー値処理部204は、弁別可能な色数以下であると判断された場合(S2205のYES)、処理がS2208に遷移される。 On the other hand, if the gray value processing unit 204 determines in S2205 that the number of colors is equal to or less than the number of distinguishable colors (YES in S2205), the process proceeds to S2208.

S2208では、グレー値処理部204は、現在設定の濃度調整レベルをそのまま弁別性重視時の濃度調整レベルに設定する。S2208の処理が完了すると、図22に示す処理が終了される。 In S2208, the gray value processing unit 204 sets the currently set density adjustment level as it is to the density adjustment level when emphasizing distinctiveness. When the process of S2208 is completed, the process shown in FIG. 22 ends.

弁別重視時の濃度調整レベルの設定処理で設定された濃度調整レベルは、濃度調整処理において、弁別性重視のグレースケール画像に対して濃度を調整する濃度調整レベルとして使用される。 The density adjustment level set in the process of setting the density adjustment level when emphasizing discrimination is used as the density adjustment level for adjusting the density of the grayscale image emphasizing discrimination in the density adjustment process.

以上説明したように、本実施形態によれば、弁別性重視のグレースケール画像に対して濃度調整を行う場合、設定された濃度調整レベルを原稿の色数に応じた濃度調整レベルに変更する。すなわち、カラーページ画像に含まれる各オブジェクトの複数次元の色成分値で表される色の数以上の出力グレー値が規定されているテーブルに変更する。これにより、濃度調整により弁別できなくなるグレースケール画像が発生することなく、色の弁別が可能な状態を維持したまま、弁別性重視のグレースケール画像の濃度を調整することができる。 As described above, according to the present embodiment, when density adjustment is performed on a grayscale image emphasizing distinctiveness, the set density adjustment level is changed to a density adjustment level according to the number of colors of the document. That is, the table is changed to a table that defines output gray values equal to or greater than the number of colors represented by multi-dimensional color component values of each object included in the color page image. As a result, it is possible to adjust the density of a grayscale image that emphasizes discrimination while maintaining a state in which colors can be distinguished without generating a grayscale image that cannot be distinguished by density adjustment.

なお、ユーザが設定した濃度調整レベルに応じた濃度調整では、白又は黒と弁別できないグレー値があり、ユーザが設定した濃度調整レベルに違い濃度調整レベルに応じて濃度調整したグレースケール画像を形成した旨の通知を操作部102にて行ってもよい。また、この通知をホストPC100にて行ってもよい。 Note that, in the density adjustment according to the density adjustment level set by the user, there are gray values that cannot be distinguished from white or black, and a grayscale image whose density is adjusted according to the density adjustment level set by the user is formed. The operation unit 102 may be used to notify that the operation has been completed. Also, this notification may be made by the host PC 100 .

(その他の実施形態)
本開示は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present disclosure provides a program that implements one or more functions of the above-described embodiments to a system or device via a network or storage medium, and one or more processors in a computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

Claims (11)

カラーページ画像をモノクロ印刷するための画像処理装置であって、
前記カラーページ画像に含まれる各オブジェクトの複数次元の色成分値をグレー値に変換してグレースケールページ画像を生成する生成手段と、
前記生成手段によって生成されたグレースケールページ画像の濃度を、所定のテーブルを用いて調整する調整手段と、
を有し、
前記生成手段は、第1の前記色成分値を変換した第1の前記グレー値と、前記第1の色成分値とは異なる第2の前記色成分値を変換した第2の前記グレー値とが所定の濃度差となるように変換して前記グレースケールページ画像を生成し、
前記所定のテーブルは、
入力グレー値と出力グレー値とを対応付けており、
前記出力グレー値それぞれが表すグレー間で弁別可能に設計されている、
ことを特徴とする画像処理装置。
An image processing device for monochrome printing of a color page image,
generating means for generating a grayscale page image by converting multi-dimensional color component values of each object included in the color page image into gray values;
adjusting means for adjusting the density of the grayscale page image generated by the generating means using a predetermined table;
has
The generating means generates a first said gray value obtained by transforming a first said color component value and a second said gray value obtained by transforming a second said color component value different from said first color component value. generates the grayscale page image by converting so that is a predetermined density difference,
The predetermined table is
associates input gray values with output gray values,
designed to be distinguishable between the grays represented by each of said output gray values;
An image processing apparatus characterized by:
前記生成手段によって生成されたグレースケールページ画像の濃度が調整前と比べて薄く調整される場合、
前記所定のテーブルは、最小濃度と弁別可能な濃度差となる最小の濃度値から、前記濃度が薄く調整される設定に対応する最大濃度値までの濃度領域において、前記出力グレー値それぞれが表すグレー間で弁別可能に設計されている
ことを特徴とする請求項1に記載の画像処理装置。
When the density of the grayscale page image generated by the generating means is adjusted to be lighter than before adjustment,
The predetermined table stores the gray represented by each of the output gray values in the density range from the minimum density value at which the density difference is discriminable from the minimum density to the maximum density value corresponding to the setting in which the density is adjusted to be light. 2. The image processing apparatus according to claim 1, wherein the image processing apparatus is designed to be able to discriminate between images.
前記生成手段によって生成されたグレースケールページ画像の濃度が調整前と比べて濃く調整される場合、
前記所定のテーブルは、最大濃度と弁別可能な濃度差となる最大の濃度値から、前記濃度が濃く調整される設定に対応する最小濃度値までの濃度領域において、前記出力グレー値それぞれが表すグレー間で弁別可能に設計されている
ことを特徴とする請求項1に記載の画像処理装置。
When the density of the grayscale page image generated by the generating means is adjusted to be darker than before adjustment,
The predetermined table stores the gray represented by each of the output gray values in a density range from a maximum density value at which a density difference discriminable from the maximum density to a minimum density value corresponding to a setting in which the density is adjusted to be dark. 2. The image processing apparatus according to claim 1, wherein the image processing apparatus is designed to be able to discriminate between images.
前記所定のテーブルは、前記出力グレー値が前記入力グレー値と同じ値に設計されている、ことを特徴とする請求項1に記載の画像処理装置。 2. The image processing apparatus according to claim 1, wherein said predetermined table is designed such that said output gray value is the same as said input gray value. 前記所定のテーブルは、前記複数次元の色成分値で表される色の数以上の出力グレー値が規定されている、ことを特徴とする請求項1に記載の画像処理装置。 2. The image processing apparatus according to claim 1, wherein said predetermined table defines output gray values equal to or greater than the number of colors represented by said multi-dimensional color component values. 前記生成手段によって生成されたグレースケールページ画像の濃度を調整する設定を行うためのユーザインターフェースを提供する制御手段をさらに有する
ことを特徴とする請求項1から5の何れか一項に記載の画像処理装置。
6. An image according to any one of claims 1 to 5, further comprising control means for providing a user interface for making settings for adjusting the density of the grayscale page image generated by said generation means. processing equipment.
前記制御手段は、前記ユーザインターフェースを介して、前記設定を行うための画面を提供する、ことを特徴とする請求項6に記載の画像処理装置。 7. The image processing apparatus according to claim 6, wherein said control means provides a screen for making said settings via said user interface. 前記オブジェクトは、図形オブジェクトまたは文字オブジェクトである
ことを特徴とする請求項1から7の何れか一項に記載の画像処理装置。
The image processing apparatus according to any one of Claims 1 to 7, wherein the object is a graphic object or a character object.
前記所定のテーブルを用いて、前記生成されたグレースケールページ画像の濃度を調整したことを通知する通知手段を有する
ことを特徴とする請求項1から8の何れか一項に記載の画像処理装置。
9. The image processing apparatus according to any one of claims 1 to 8, further comprising notifying means for notifying that density of the generated grayscale page image has been adjusted using the predetermined table. .
カラーページ画像をモノクロ印刷するための画像処理方法であって、
前記カラーページ画像に含まれる各オブジェクトの複数次元の色成分値をグレー値に変換してグレースケールページ画像を生成する生成工程と、
前記生成工程で生成されたグレースケールページ画像の濃度を、所定のテーブルを用いて調整する調整工程と、
を含み、
前記生成工程では、第1の前記色成分値を変換した第1の前記グレー値と、前記第1の色成分値とは異なる第2の前記色成分値を変換した第2の前記グレー値とが所定の濃度差となるように変換して前記グレースケールページ画像を生成し、
前記所定のテーブルは、入力グレー値と出力グレー値とを対応付けており、前記出力グレー値それぞれが表すグレー間で弁別可能に設計されている
ことを特徴とする画像処理方法。
An image processing method for monochrome printing of a color page image, comprising:
a generating step of generating a grayscale page image by converting multi-dimensional color component values of each object included in the color page image into gray values;
an adjusting step of adjusting the density of the grayscale page image generated in the generating step using a predetermined table;
including
In the generating step, a first said gray value transformed from a first said color component value and a second said gray value transformed from a second said color component value different from said first color component value. generates the grayscale page image by converting so that is a predetermined density difference,
The image processing method, wherein the predetermined table associates input gray values with output gray values, and is designed to allow discrimination between grays represented by the respective output gray values.
コンピュータに、請求項10に記載の画像処理方法を実行させるための、プログラム。 A program for causing a computer to execute the image processing method according to claim 10.
JP2022007753A 2022-01-21 2022-01-21 Image processing apparatus, image processing method, and program Pending JP2023106806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022007753A JP2023106806A (en) 2022-01-21 2022-01-21 Image processing apparatus, image processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022007753A JP2023106806A (en) 2022-01-21 2022-01-21 Image processing apparatus, image processing method, and program

Publications (1)

Publication Number Publication Date
JP2023106806A true JP2023106806A (en) 2023-08-02

Family

ID=87473660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022007753A Pending JP2023106806A (en) 2022-01-21 2022-01-21 Image processing apparatus, image processing method, and program

Country Status (1)

Country Link
JP (1) JP2023106806A (en)

Similar Documents

Publication Publication Date Title
JP4498233B2 (en) Image processing apparatus and image processing method
EP3355568B1 (en) Image processing apparatus and method for controlling the same
US10546220B2 (en) Image processing apparatus that generates halftone image, image processing method, and storage medium
JP2009069680A (en) Image processor and program
KR101810285B1 (en) Image processing apparatus, image processing method, and computer program
JP2012043406A (en) Image processing apparatus, image processing method and program
JP5863001B2 (en) Image processing apparatus, image forming apparatus, and program
US20200177764A1 (en) Apparatus, method, and storage medium
US11503188B2 (en) Image processing apparatus, control method for controlling image processing apparatus, and storage medium
US11356578B2 (en) Apparatus and control method for enhancement based on achromatic signal value replacing pixel color information
CN114070952A (en) Information processing apparatus, information processing method, and storage medium
US9218552B2 (en) Image processing apparatus and image processing method
US20200322503A1 (en) Image processing apparatus, image processing method, and storing medium
EP2429173B1 (en) Image forming apparatus, printing control terminal apparatus, and image forming method thereof
US9989875B2 (en) Image processing apparatus, image processing method, and storage medium
US11423268B2 (en) Image processing apparatus, image processing apparatus control method, and storage medium
JP2023106806A (en) Image processing apparatus, image processing method, and program
KR20080076762A (en) Image forming apparatus to save toner and control method thereof
JP7150621B2 (en) Image processing system
US11151430B2 (en) Image forming apparatus capable of executing line width adjustment process, method of controlling same, and storage medium
US10798267B2 (en) Image processing to set output pixel values subject to edge or thin line correction
JP4228804B2 (en) Image processing apparatus, image forming apparatus, image processing method, program thereof, and recording medium recording the program
US12041213B2 (en) Image processing apparatus in which full color document images are printed in monochrome, image processing method, and storage medium
US20240146860A1 (en) Image processing apparatus capable of preventing failure in decoding additional information embedded in print, method of controlling image processing apparatus, and storage medium
US10571840B2 (en) Image processing apparatus, method of controlling the same, and storage medium