JP2012085105A - Printer, image forming device, and color processing method and program - Google Patents

Printer, image forming device, and color processing method and program Download PDF

Info

Publication number
JP2012085105A
JP2012085105A JP2010229751A JP2010229751A JP2012085105A JP 2012085105 A JP2012085105 A JP 2012085105A JP 2010229751 A JP2010229751 A JP 2010229751A JP 2010229751 A JP2010229751 A JP 2010229751A JP 2012085105 A JP2012085105 A JP 2012085105A
Authority
JP
Japan
Prior art keywords
color
difference
colors
saturation
printing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010229751A
Other languages
Japanese (ja)
Inventor
Akira Kobayashi
亮 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2010229751A priority Critical patent/JP2012085105A/en
Publication of JP2012085105A publication Critical patent/JP2012085105A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the discrimination property and the identification property of objects within a designated color reproduction range of two-color printing in a finish after the two-color printing, even if the objects pained in different colors on a document at the time of the two-color printing are converted into the same hue.SOLUTION: A printer converting an input color image into two colors and outputting it comprises: two-color converting means for converting the color image into two colors; object extracting means for extracting a first object and a second object which are superimposed or adjacent to each other among objects constituting the color image; color difference determining means for determining whether a color difference between the first object and the second object which are converted into either one of the two colors is less than or equal to a predetermined threshold value or not; and processing means for increasing at least either one of lightness difference or chroma difference in the first object and the second object which are determined to be less than or equal to the threshold value.

Description

本発明は、印刷装置、画像形成装置、色処理方法及びプログラムの分野に関する。   The present invention relates to the fields of a printing apparatus, an image forming apparatus, a color processing method, and a program.

ファックス、プリンタ、コピーおよびスキャナなどの各装置の機能を1つの筐体内に収納した画像形成装置(以下、MFP:Multi-Function Peripheralともいう)が知られている。このMFPは、1つの筐体内に表示部、印刷部および撮像部などを設けると共に、ファックス、プリンタ、コピーおよびスキャナにそれぞれ対応する4種類のアプリケーションを設け、そのアプリケーションを切り替えることより、ファックス、プリンタ、コピーおよびスキャナとして動作させるものである。   There is known an image forming apparatus (hereinafter also referred to as MFP: Multi-Function Peripheral) in which functions of respective apparatuses such as a fax machine, a printer, a copy machine, and a scanner are housed in one casing. This MFP is provided with a display unit, a printing unit, an imaging unit, and the like in one casing, and four types of applications corresponding to a fax, a printer, a copy, and a scanner, respectively. And operate as a copy and scanner.

MFPを使用するユーザにとっては、印刷に要するコストをできるたけ削減したいという要望があることから、フルカラープリントよりもコストが安価でモノクロプリントよりも表現力のある印刷出力をしたいユーザのために、MFPは2色プリントというプリントサービス機能を備えている。2色プリントは例えば赤と黒といったように印刷色に2色のみを用いるものであるが、この2色プリントを実現する方法としては、多彩な有彩色を含む原稿の中から有彩色を指定色(例えば赤)に変換し無彩色を黒に変換したり、指定色の色相に近い有彩色を指定色に変換しそれ以外の他の色相の有彩色及び無彩色を黒に変換したりする技術などが知られている。   For users who use MFP, there is a desire to reduce the cost required for printing as much as possible, so for users who want to print output that is cheaper than full-color printing and expressive than monochrome printing, MFP Has a print service function called two-color printing. The two-color print uses only two colors, such as red and black. For example, as a method for realizing the two-color print, a chromatic color can be designated from among various chromatic colors. Technology that converts achromatic colors to black (for example, red), converts chromatic colors close to the hue of the specified color to specified colors, and converts chromatic and achromatic colors of other hues to black Etc. are known.

さてここで、2色プリントでは描画に用いる色相を2つしか用いることができないため、オリジナルの原稿では異なる色相で塗り分けられていたオブジェクトが、上述のような2色化のための変換処理の結果、同一の色相に変換される場合がある。このように原稿上では異なる色相の色に塗り分けられて重なり合う又は近傍のオブジェクトが同一色相の色に変換され、かつ変換後の彩度と明度も概ね近くなっている場合には、原稿上では判別可能であったオブジェクトとオブジェクトの判別が、ユーザにとって視覚的に困難になるという問題があった。   Now, since the two-color print can use only two hues for drawing, an object that has been painted with different hues in the original document is subjected to the conversion process for the two-color conversion as described above. As a result, it may be converted to the same hue. As described above, when objects in different hues that are overlapped or overlapped or are converted to the same hue in the original and the converted saturation and lightness are almost similar, There has been a problem that it is visually difficult for a user to discriminate between objects that can be discriminated.

具体的に例えば、原稿上異なる色相の色で塗り分けられていた文字(色)と背景(色)が2色プリント後に同一の色相の色に変換され、かつその明度と彩度も概ね近くなっている場合には、2色プリントの仕上がり上、文字が背景に埋もれてしまい視覚的に文字の判別が困難になる。主に2色プリントは色彩強調効果による判別性を向上させるために使用されるところ、この場合には有彩色の背景上に文字が印字されるような形になるため、文字と背景の判別がむしろ困難になってしまう。   Specifically, for example, a character (color) and a background (color) that have been separately painted with different hue colors on the document are converted to the same hue color after two-color printing, and the lightness and saturation are almost similar. If this is the case, the character is buried in the background due to the finish of the two-color print, and it is difficult to visually distinguish the character. The two-color print is mainly used to improve the discriminability due to the color enhancement effect. In this case, the character is printed on the chromatic background. Rather it becomes difficult.

また例えば、原稿上異なる色相で塗り分けられていたグラフや図形などを2色プリントした際にも同様のことがいえる。原稿上異なる色相で塗り分けられて隣接する領域(例えば棒グラフや円グラフにおいて隣接する領域)が2色プリント後に同一の色相の色に変換され、かつその明度と彩度も概ね近くなっている場合には、2色プリントの仕上がり上、視覚的に1の領域とその隣り合う領域の判別が困難になる。   Further, for example, the same can be said when two-color printing is performed on a graph or a figure that has been painted with different hues on the document. When adjacent areas (for example, areas adjacent to a bar graph or a pie chart) that are separately painted with different hues on the document are converted to the same hue color after two-color printing, and their brightness and saturation are almost similar Therefore, it is difficult to visually discriminate between one area and an adjacent area on the finished two-color print.

図1は、従来の2色プリントの仕上がり例を示す。(a)は、原稿上で異なる色相の色で塗り分けられていた文字(色)と背景(色)を示す。これらオブジェクトが2色プリント後に同一の色相の色に変換され、かつその明度と彩度も概ね近くなっている場合には、(b)のように2色プリントの仕上がり上、視覚的に文字と背景の判別が困難になってしまう。   FIG. 1 shows a finished example of a conventional two-color print. (A) shows characters (colors) and backgrounds (colors) that have been painted with different hue colors on the document. If these objects are converted to the same hue color after two-color printing, and the lightness and saturation are almost similar, the two-color print finishes visually as shown in (b). Background discrimination becomes difficult.

これに関する技術として特許文献1には、2以上の異なる色の文字が存在する文書において、2色プリント時に異なる色の文字が同色で印刷されてしまい、文字を色分けした効果が薄れてしまう場合に対し、文字の色分け効果を2色プリント後も保持する目的で、原文書の文字の色に応じてグラディエーション文字、影つき文字、網掛け文字に変更することにより、色分けしてあった文字の区別を明確にする画像処理装置が開示されている。   As a technique related to this, Patent Document 1 discloses a case where a character having two or more different color characters is printed in the same color when two-color printing is performed, and the effect of color-coding the characters is reduced. On the other hand, in order to retain the color-coding effect of the characters even after two-color printing, the characters that have been color-coded can be changed by changing them to gradation characters, shaded characters, or shaded characters according to the character color of the original document. An image processing apparatus that makes distinction clear is disclosed.

しかしながら、特許文献1では、オブジェクトとオブジェクトの位置関係を考慮した加工や色変換を行っていないため、背景上に存在する文字や、近傍のグラフや図形などを明確に判別ができないという問題があった。また文字に対しグラディエーション文字、影つき文字、網掛け文字等への加工を施すため、原稿上のオリジナル文字と2色プリント後の仕上がりとの同一性において乖離・飛躍感は否めない。   However, since Patent Document 1 does not perform processing or color conversion in consideration of the positional relationship between objects, there is a problem in that characters existing on the background, nearby graphs, figures, and the like cannot be clearly identified. It was. In addition, since the characters are processed into gradation characters, shaded characters, shaded characters, etc., there is no denial or leap in the identity of the original characters on the original and the finish after two-color printing.

本発明は上記のような問題に鑑み提案されたものであり、その目的とするところは、2色プリント時に原稿上は異なる色で塗り分けられていたオブジェクト同士が同じ色相に変換された場合であっても、2色プリント後の仕上がりにおいて、2色プリントの指定色再現範囲内でそれらオブジェクト同士の判別性、識別性を向上させる印刷装置等を提供することにある。   The present invention has been proposed in view of the above-described problems, and the object of the present invention is when objects that have been separately painted in different colors on a document at the time of two-color printing are converted to the same hue. Even in such a case, an object of the present invention is to provide a printing apparatus or the like that improves the discrimination and discrimination between these objects within the designated color reproduction range of the two-color print in the finish after the two-color print.

そこで上記課題を解決するため、本発明に係る印刷装置は、入力されたカラー画像を2色に変換し出力する印刷装置であって、前記カラー画像を2色に変換する2色変換手段と、前記カラー画像を構成するオブジェクトのうち、重なり合う又は隣接する第1のオブジェクトと第2のオブジェクトとを抽出するオブジェクト抽出手段と、前記2色のうち何れかの色に変換された前記第1のオブジェクトと第2のオブジェクトとの色差が、所定の閾値以下か否かを判定する色差判定手段と、前記閾値以下と判定された前記第1のオブジェクトと第2のオブジェクトに対し、少なくとも明度差、彩度差のいずれかを増加させる処理手段と、を備えたことを特徴とする。   In order to solve the above problems, a printing apparatus according to the present invention is a printing apparatus that converts an input color image into two colors and outputs the two color conversion means for converting the color image into two colors; Object extraction means for extracting first and second objects that overlap or are adjacent to each other among the objects constituting the color image, and the first object converted to one of the two colors Color difference determination means for determining whether or not the color difference between the first object and the second object is equal to or less than a predetermined threshold value, and at least a lightness difference and a chroma with respect to the first object and the second object determined to be equal to or less than the threshold value. And processing means for increasing any of the degree differences.

このように、本発明に係る印刷装置は、2色プリントした場合に色差が概ね小さくなるオブジェクトであって重なり合う又は隣接する2つのオブジェクトの抽出(検出)を行ってから指定の2色プリントの色再現範囲内で判別可能な色に変更(明度差、彩度差の増加調整)を行うため、2色プリント時に原稿上は異なる色で塗り分けられていたオブジェクト同士が同じ色相に変換された場合であっても、2色プリント後の仕上がりにおいて、2色プリントの指定色再現範囲内でそれらオブジェクト同士の判別性、識別性を向上させることができる。   As described above, the printing apparatus according to the present invention is an object whose color difference is substantially reduced when two-color printing is performed, and after extracting (detecting) two overlapping or adjacent objects, the color of the designated two-color print When objects that have been painted in different colors on the original are converted to the same hue when printing in two colors to change to colors that can be distinguished within the reproduction range (increased brightness difference and saturation difference) Even so, in the finish after two-color printing, it is possible to improve the discrimination and discrimination between these objects within the specified color reproduction range of the two-color printing.

なお、本発明の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、などに適用したものも本発明の態様として有効である。   In addition, what applied the arbitrary combination of the component of this invention, expression, or a component to a method, an apparatus, a system, a computer program, a recording medium, etc. is also effective as an aspect of this invention.

本発明によれば、2色プリント時に原稿上は異なる色で塗り分けられていたオブジェクト同士が同じ色相に変換された場合であっても、2色プリント後の仕上がりにおいて、2色プリントの指定色再現範囲内でそれらオブジェクト同士の判別性、識別性を向上させることができる。   According to the present invention, even when objects that have been painted in different colors on a document at the time of two-color printing are converted to the same hue, the designated color of the two-color print in the finish after the two-color printing It is possible to improve the discrimination and discrimination between these objects within the reproduction range.

従来の2色プリントの仕上がり例を示す。An example of the finish of a conventional two-color print is shown. 本発明の実施形態に係るMFP1のハードウェア構成の一例を示す図である。2 is a diagram illustrating an example of a hardware configuration of an MFP 1 according to the embodiment of the present invention. FIG. 本実施形態に係るMFP1及びユーザ端末2の主要機能構成を示す機能ブロック図である。3 is a functional block diagram showing main functional configurations of an MFP 1 and a user terminal 2 according to the present embodiment. FIG. 2色変換部102の画像信号の変換処理を示す図である。FIG. 6 is a diagram illustrating image signal conversion processing by a two-color conversion unit. 本実施例に係る色差判定、調整処理を説明するフローチャート(その1)である。It is a flowchart (the 1) explaining the color difference determination and adjustment process which concern on a present Example. 本実施例に係る色差判定、調整処理の結果例(その1)を示す。An example (part 1) of the result of the color difference determination and adjustment processing according to the present embodiment is shown. 本実施例に係る色差判定、調整処理の結果例(その2)を示す。An example (part 2) of the result of color difference determination and adjustment processing according to the present embodiment is shown. 実施例に係る色差判定、調整処理を説明するフローチャート(その2)である。It is a flowchart (the 2) explaining the color difference determination and adjustment process which concern on an Example. 本実施例2に係る色差判定、調整処理の結果例(その3)を示す。An example (part 3) of the result of the color difference determination and adjustment processing according to the second embodiment is shown. 本実施例2に色変更処理を説明するフローチャートである。10 is a flowchart illustrating color change processing according to the second exemplary embodiment.

以下、本発明を実施するための形態を各実施形態において図面を用いて説明する。なお本実施形態においては複合機のようなMFPに本発明を適用して説明するが、複合機でなくとも2色プリント機能を有する印刷装置であれば本発明を適用可能である。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings in each embodiment. In the present embodiment, the present invention is applied to an MFP such as a multifunction peripheral. However, the present invention can be applied to any printing apparatus that has a two-color printing function, even if it is not a multifunction peripheral.

[システム構成]
(ハードウェア)
はじめに、本実施形態に係るMFP1のハードウェア構成について簡単に説明する。図2は、本発明の実施形態に係るMFP1のハードウェア構成の一例を示す図である。本実施形態に係るMFP1は、操作パネル11と、記憶メディアI/F12と、コントローラ13と、データ通信I/F14と、スキャナ15と、プロッタ16と、HDD(Hard Disk Drive)17とから構成され、それぞれ相互に接続されている。
[System configuration]
(hardware)
First, a hardware configuration of the MFP 1 according to the present embodiment will be briefly described. FIG. 2 is a diagram illustrating an example of a hardware configuration of the MFP 1 according to the embodiment of the present invention. The MFP 1 according to the present embodiment includes an operation panel 11, a storage medium I / F 12, a controller 13, a data communication I / F 14, a scanner 15, a plotter 16, and an HDD (Hard Disk Drive) 17. Are connected to each other.

操作パネル11は、入力装置11aと表示装置11bとを有しており、入力装置11aは、ハードキーなどで構成され、MFP1に各操作信号を入力するのに用いられる。また、表示装置11bは、LCD(液晶ディスプレイ)などで構成され、例えば画像形成動作に関する各種情報を表示する。データ通信I/F14は、インタフェース装置14aを有しており、MFP1をネットワークやファックスなどのデータ伝送路に接続するインタフェースである。HDD17は、MFP1で取り扱われる受信文書データや読み取り画像データなどの各種データを格納している。また、HDD17は、これらの各種データを、所定のファイルシステムやDB(Data Base)により管理している。   The operation panel 11 includes an input device 11a and a display device 11b. The input device 11a includes hard keys and the like, and is used to input each operation signal to the MFP 1. The display device 11b is configured by an LCD (Liquid Crystal Display) or the like, and displays, for example, various types of information regarding image forming operations. The data communication I / F 14 includes an interface device 14a, and is an interface that connects the MFP 1 to a data transmission path such as a network or a fax machine. The HDD 17 stores various data such as received document data and read image data handled by the MFP 1. Further, the HDD 17 manages these various data by a predetermined file system or DB (Data Base).

HDD17に格納される各種データの中には、記録媒体12bから入力されるデータを含む。記録媒体12bは、記憶メディアI/F12が有するドライブ装置12aにセットされ各種データが記録媒体12bからドライブ装置12aを介してHDD17に格納される。   Various data stored in the HDD 17 includes data input from the recording medium 12b. The recording medium 12b is set in the drive device 12a included in the storage medium I / F 12, and various data are stored in the HDD 17 from the recording medium 12b via the drive device 12a.

コントローラ13は、ROM(Read Only Memory)13a、RAM(Random Access Memory)13b、及びCPU(Central Processing Unit)13cとを有しており、ROM13aは、MFP1が起動されるときに実行されるプログラムや各種データを格納している。また、RAM13bは、ROM13aやHDD17から読み出された各種プログラムやデータを一時保持する。更に、CPU13cは、RAM13bが一時保持しているプログラムを実行する。コントローラ13は、例えば、データ通信I/F14を介して印刷データを受信した場合に、ROM13aからRAM13b上に読み出された、PDL(Page Description Language)を解釈可能なプログラム(PDLパーサ)をCPU13cにより実行し、印刷データを解釈してビットマップイメージを生成する。   The controller 13 includes a ROM (Read Only Memory) 13a, a RAM (Random Access Memory) 13b, and a CPU (Central Processing Unit) 13c. The ROM 13a is a program executed when the MFP 1 is activated. Stores various data. The RAM 13b temporarily stores various programs and data read from the ROM 13a and the HDD 17. Further, the CPU 13c executes a program temporarily stored in the RAM 13b. For example, when the print data is received via the data communication I / F 14, the controller 13 reads a program (PDL parser) that can read PDL (Page Description Language) read from the ROM 13a onto the RAM 13b by the CPU 13c. Execute and interpret the print data to generate a bitmap image.

データ通信I/F14は、通信のためのインタフェース装置14aを含み、有線及び無線を含む外部のネットワークと接続された通信装置である。本実施形態においては、例えばネットワーク上のユーザ端末(非図示)からカラー原稿(印刷データ)を受信することができる。   The data communication I / F 14 includes a communication interface device 14a, and is a communication device connected to an external network including wired and wireless. In the present embodiment, for example, a color document (print data) can be received from a user terminal (not shown) on the network.

スキャナ15は、画像読取装置15aを有しており、読み取り面に配置された原稿を光学的に読み取り画像データを生成する。本実施形態においては、スキャナ15を介し紙媒体のカラー原稿を読み取ることができる。プロッタ16は、印刷装置16aを有しており、例えば、電子写真プロセス方式によってビットマップイメージを記録紙に印刷する。   The scanner 15 includes an image reading device 15a, and optically reads a document placed on a reading surface and generates image data. In the present embodiment, a color original on a paper medium can be read via the scanner 15. The plotter 16 has a printing device 16a and prints a bitmap image on a recording sheet by, for example, an electrophotographic process method.

このように、本実施形態に係るMFP1では、上記ハードウェア構成により、コピー、プリンタ、ファクシミリ、スキャナなどの複数の機能を実現している。   As described above, the MFP 1 according to the present embodiment realizes a plurality of functions such as a copy, a printer, a facsimile, and a scanner by the above hardware configuration.

(機能)
図3は、本実施形態に係るMFP1及びユーザ端末2の主要機能構成を示す機能ブロック図である。MFP1は、記憶部101、2色変換部102、オブジェクト抽出部103、オブジェクト色差判定部104、処理部105、プレビュー部106、及び画像出力部107を含み構成される。より具体的には後述するのでここでは簡単に説明するものとする。
(function)
FIG. 3 is a functional block diagram showing main functional configurations of the MFP 1 and the user terminal 2 according to the present embodiment. The MFP 1 includes a storage unit 101, a color conversion unit 102, an object extraction unit 103, an object color difference determination unit 104, a processing unit 105, a preview unit 106, and an image output unit 107. More specific description will be given later and will be described briefly here.

記憶部100は、2色プリント変換用LUT(look up table)及びLab変換用LUTを予め記憶している。2色プリント変換用LUTは、入力されたフルカラーのRGB値から印刷装置(例えば本MFP1)のCMYK値への変換を規定したルックアップテーブル(以下LUTという)であり、Lab変換用LUTは印刷装置のCMYK値からLab値への変換を規定したLUTである。入力値に対応する変換値(出力値)は予めMFP1の開発者により規定され、予めLUTとして記憶部100される。   The storage unit 100 stores a two-color print conversion LUT (look up table) and a Lab conversion LUT in advance. The two-color print conversion LUT is a look-up table (hereinafter referred to as LUT) that defines conversion from input full-color RGB values to CMYK values of a printing apparatus (for example, the MFP 1). The Lab conversion LUT is a printing apparatus. This LUT defines the conversion from CMYK values to Lab values. A conversion value (output value) corresponding to the input value is defined in advance by the developer of the MFP 1 and stored in advance as the LUT in the storage unit 100.

2色変換部102は、2色プリントはフルカラーのRGBデータから使用可能な2色に変換するLUTを用いて、フルカラーの入力色(Ci)を指定された2色プリントに該当するCMYK値に変換を行う。また2色変換部102は、Lab変換用LUTを用いて、得られたMFP1のCMYK値をLab値に変換する。   The two-color conversion unit 102 converts a full-color input color (Ci) into a CMYK value corresponding to the designated two-color print by using a LUT that converts two-color prints from full-color RGB data into usable two colors. I do. Further, the two-color conversion unit 102 converts the obtained CMYK value of the MFP 1 into a Lab value using the Lab conversion LUT.

オブジェクト抽出部103は、フルカラー原稿においてカラー画像を構成するオブジェクトのうち、重なり合う又は隣接する2のオブジェクトを抽出する。またこれらオブジェクトに対し、文字、グラフィックス、イメージのオブジェクト属性を判定する。   The object extraction unit 103 extracts two objects that overlap or are adjacent to each other among the objects constituting the color image in the full-color document. In addition, the object attributes of characters, graphics, and images are determined for these objects.

オブジェクト色差判定部104は、2色変換部102により指定2色のうち何れかの色に変換され、オブジェクト抽出部103により抽出された2のオブジェクトについてその色差(Lab値に基づいて算出)が所定の閾値以下か否かを判定する。2のオブジェクト間の色差が小さい場合には、これら2のオブジェクトは重なり合っていたり隣接しているため、視覚的に非常に判別しにくい状態にあることになる。   The object color difference determination unit 104 is converted into one of the two specified colors by the two-color conversion unit 102, and the color difference (calculated based on the Lab value) of the two objects extracted by the object extraction unit 103 is predetermined. It is determined whether it is below the threshold value. When the color difference between the two objects is small, these two objects overlap or are adjacent to each other, so that it is difficult to visually distinguish them.

処理部105は、閾値以下と判定された2のオブジェクトに対し、少なくとも明度差、彩度差のいずれかを増加させる処理を行う。例えば2のオブジェクトは重なり合っており色差も小さいところ、処理部105は明度及び彩度を調整することにより、色差が小さかった2のオブジェクトの色差を増大させ、視覚的に2のオブジェクトの判別性を向上させるものである(詳細後述)。   The processing unit 105 performs a process of increasing at least one of the lightness difference and the saturation difference with respect to the two objects determined to be equal to or less than the threshold value. For example, when the two objects overlap and the color difference is small, the processing unit 105 increases the color difference of the two objects having a small color difference by adjusting the lightness and saturation, thereby visually distinguishing the two objects. It will be improved (details will be described later).

プレビュー部106は、処理部105によって上述の処理がなされた2色プリントの仕上がりと、上述の処理を行わなかった場合の2色プリントの仕上がりを表示装置11b(ユーザ端末2へ送信してもよい)に表示させる。ユーザは2色プリントの仕上がり具合を比較し、所望の2色プリントを選択できる。   The preview unit 106 may transmit to the display device 11b (the user terminal 2) the finish of the two-color print that has been processed by the processing unit 105 and the finish of the two-color print that has not been performed. ). The user can compare the finish of the two-color print and select a desired two-color print.

画像出力部107は、入力されたフルカラー原稿(画像)を2色に変換し出力(印刷)する。つまりユーザによって選択された方の2色プリントが出力される。画像出力部107は例えばプロッタ16により具現化できる。   The image output unit 107 converts the input full-color document (image) into two colors and outputs (prints) it. That is, the two-color print selected by the user is output. The image output unit 107 can be realized by the plotter 16, for example.

またユーザ端末2は、アプリケーション201、プリンタドライバ202を含み構成される。ユーザがアプリケーション201で作成されたフルカラー原稿についてMFP1に2色プリント命令を行うと、プリンタドライバ202は印刷データ(PJL及びPDLを含む)を生成し、MFP1に印刷ジョブとして転送する。転送された印刷データは上述のようにMFP1から2色プリントとして出力されることになる。   The user terminal 2 includes an application 201 and a printer driver 202. When the user issues a two-color print command to the MFP 1 for a full-color document created by the application 201, the printer driver 202 generates print data (including PJL and PDL) and transfers it to the MFP 1 as a print job. The transferred print data is output from the MFP 1 as a two-color print as described above.

以上本図の機能構成は、本発明を説明するにあたっての主要機能構成を示したものであり、MFP1は画像形成装置であるので、これ以外にも画像形成機能を当然に有していることは言うまでもない。また以上これらの各機能は、実際には装置のCPU13cが実行するプログラムによりコンピュータ(例えばMFP1)に実現させるものである。   The functional configuration shown in the figure is the main functional configuration for explaining the present invention. Since the MFP 1 is an image forming apparatus, it naturally has an image forming function in addition to this. Needless to say. Each of these functions is actually realized by a computer (for example, MFP 1) by a program executed by the CPU 13c of the apparatus.

[実施例1]
本実施例に係るMFP1の情報処理動作について説明する。
[Example 1]
An information processing operation of the MFP 1 according to the present embodiment will be described.

(ステップ1)
図4は、2色変換部102の画像信号の変換処理を示す図である。図に示されるように2色変換部102は、2色プリント変換用LUT及びLab変換用LUTを用いることにより、原稿中のsRGB、2色プリント変換後のCMYK、2色プリント変換後のLabへの変換を行い、出力色(Co)としてLab値を得る。LUTは上述の如く記憶部100に予め用意されているものを用いる。
(Step 1)
FIG. 4 is a diagram illustrating the image signal conversion processing of the two-color conversion unit 102. As shown in the figure, the two-color conversion unit 102 uses the two-color print conversion LUT and the Lab conversion LUT to convert the sRGB in the document into CMYK after the two-color print conversion and the Lab after the two-color print conversion. The Lab value is obtained as the output color (Co). A LUT prepared in advance in the storage unit 100 is used as described above.

まず2色変換部102は、ユーザ端末2より送信されてきた印刷データについて、フルカラーのRGBデータから使用可能な2色に変換するLUTを用いて、フルカラーの入力色(Ci)を指定された2色プリントに該当するCMYK値に変換を行う。例えばフルカラー原稿から黒以外の色相の色を全て赤に変換して出力し、黒は黒で出力する2色プリントが指定されたときは、2色プリント変換用LUTにより入力色(Ci)が黒以外の色であった場合は全て赤の色相に該当するMFP1のCMYK値への変換を行う。このように2色変換部102は、LUTを用いフルカラーのRGB(sRGB)データを2色のCMYKデータに変換する処理を行う。また同様に2色変換部102は、Lab変換用LUTを用いて、得られたMFP1のCMYK値をLab値に変換する。   First, the two-color conversion unit 102 designates the full-color input color (Ci) using the LUT for converting the print data transmitted from the user terminal 2 into two usable colors from the full-color RGB data. Conversion to CMYK values corresponding to color printing is performed. For example, when a two-color print is specified in which a color other than black is converted to red from a full-color original and output in black, and black is output in black, the input color (Ci) is black by the two-color print conversion LUT. In the case of colors other than those, conversion to CMYK values of the MFP 1 corresponding to all red hues is performed. As described above, the two-color conversion unit 102 performs processing of converting full-color RGB (sRGB) data into two-color CMYK data using an LUT. Similarly, the two-color converter 102 converts the obtained CMYK value of the MFP 1 into a Lab value by using the Lab conversion LUT.

(ステップ2)
オブジェクト抽出部103は、印刷データの解析を行い、カラー画像を構成するオブジェクトをまず抽出する。またオブジェクトは一般に文字、グラフィックス(図形)、イメージ(画像や写真)の属性に分類できるところ、抽出したオブジェクトについて文字、グラフィックス、イメージのオブジェクト属性を判定し属性を分類する。
(Step 2)
The object extraction unit 103 analyzes the print data, and first extracts objects constituting the color image. In general, objects can be classified into attributes of characters, graphics (graphics), and images (images and photographs). The attributes of the extracted objects are determined by determining the object attributes of characters, graphics, and images.

次に抽出されたオブジェクトを対象に、オブジェクトの位置に基づき、重なり合う2のオブジェクト、隣接する2のオブジェクトを抽出する。ここで重なり合う2のオブジェクトとは、1のオブジェクト領域がもう一方のオブジェクト領域をその一部でも包含する関係にある2つのオブジェクトをいう。隣接する2のオブジェクトとは、1のオブジェクト領域ともう一方のオブジェクト領域との外縁が接する関係(もしくは外縁が非常に近傍する関係)にある2つのオブジェクトをいうものとする。従って重なり合う2のオブジェクトの例としては、背景(色付き矩形)の上に文字が載っているもの、隣接する2のオブジェクトの例としては、円グラフ内のいくつかに区切られた扇形領域などが挙げられる。   Next, for the extracted objects, two overlapping objects and two adjacent objects are extracted based on the positions of the objects. Here, the two overlapping objects refer to two objects in which one object region has a relationship including at least part of the other object region. Two adjacent objects refer to two objects in which the outer edge of one object region and the other object region are in contact with each other (or the relationship in which the outer edge is very close). Therefore, as an example of two overlapping objects, a character is placed on the background (colored rectangle), and as an example of two adjacent objects, a fan-shaped area divided into several parts in a pie chart is given. It is done.

(ステップ3)
オブジェクト色差判定部104は、重なり合う2のオブジェクト、隣接する2のオブジェクトについてその色差(Lab値に基づいて算出)が所定の閾値以下か否かを判定する。2のオブジェクト間の色差が小さい場合には、これら2のオブジェクトは重なり合っていたり隣接していることから視覚的に非常に判別しにくい状態にある。よってこの場合、処理部105は、閾値以下と判定された2のオブジェクトに対し、少なくとも明度差、彩度差のいずれかを増加させる処理を行う。明度及び彩度を調整することにより、色差が小さかった2のオブジェクトの色差を増大させ、視覚的に2のオブジェクトの判別性を向上させる。
(Step 3)
The object color difference determination unit 104 determines whether the color difference (calculated based on the Lab value) of two overlapping objects and two adjacent objects is equal to or less than a predetermined threshold value. When the color difference between the two objects is small, these two objects overlap each other or are adjacent to each other, so that it is very difficult to visually distinguish them. Therefore, in this case, the processing unit 105 performs a process of increasing at least one of the brightness difference and the saturation difference for the two objects determined to be equal to or less than the threshold value. By adjusting the brightness and saturation, the color difference between the two objects having a small color difference is increased, and the discriminability between the two objects is visually improved.

図5は、本実施例に係る色差判定、調整処理を説明するフローチャート(その1)である。ここでは重なり合う2のオブジェクトの例として、背景(背景グラフィックオブジェクト)の上に文字(文字オブジェクト)が載っているものを具体的に取り挙げて説明する。即ち背景グラフィックオブジェクトとの色差が一定値以下であり、判別が困難な文字オブジェクトに関しては、背景グラフィックオブジェクトと文字オブジェクトとの色の変更を以下のような流れで行う。   FIG. 5 is a flowchart (part 1) for explaining the color difference determination and adjustment processing according to the present embodiment. Here, as an example of two overlapping objects, a case where a character (character object) is placed on a background (background graphic object) will be specifically described. That is, for a character object whose color difference from the background graphic object is less than a certain value and difficult to discriminate, the color of the background graphic object and the character object is changed in the following flow.

オブジェクト色差判定部104は、背景グラフィックオブジェクトと文字オブジェクトとの色差をLab値に基づき算出し、背景グラフィックオブジェクトと文字オブジェクトとの色差が一定値(閾値)以下か否かの判定を行う(S501)。つまり背景グラフィックオブジェクトと文字オブジェクトとが2色プリント後、判別困難か否かを判定する。ここで、色差の算出はLab値に基づき算出可能であるが、例えばLの差分を二乗したもの、aの差分を二乗したもの、bの差分を二乗したものをそれぞれ加算し、加算したものの平方根(√)によって算出できる(Lab3次元空間上の2色間の距離ともいえる)。また背景と文字とが判別困難であるとする一定値(閾値)基準としては、例えばLab空間上の色差で6以下(又は6前後)なら判別が困難であるとするとよい。   The object color difference determination unit 104 calculates the color difference between the background graphic object and the character object based on the Lab value, and determines whether or not the color difference between the background graphic object and the character object is equal to or less than a certain value (threshold) (S501). . That is, it is determined whether or not it is difficult to discriminate the background graphic object and the character object after two-color printing. Here, the color difference can be calculated based on the Lab value. For example, the difference between L is squared, the difference between a is squared, and the difference between b is squared. (√) can be calculated (it can also be said to be a distance between two colors in the Lab three-dimensional space). Further, as a constant value (threshold value) standard that makes it difficult to discriminate between the background and the character, for example, if the color difference in the Lab space is 6 or less (or around 6), the discrimination may be difficult.

色差が一定値以下(判別困難)と判定されると、処理部105は、判別が困難である背景グラフィックオブジェクトと文字オブジェクトについて、まず文字と背景の明度を比較する(S502)。背景の明度が文字の明度よりも大きければ、背景の明度を上げる(S503)。反対に文字の明度が背景の明度よりも大きければ、文字の明度を上げる(S504)。この処理により文字と背景の明度差を増大させる。なお明度が小さい側のオブジェクトの明度をさらに下げるようにしてもよい。   If it is determined that the color difference is equal to or less than a certain value (difficult to determine), the processing unit 105 first compares the brightness of the character and the background for the background graphic object and the character object that are difficult to determine (S502). If the lightness of the background is greater than the lightness of the character, the lightness of the background is increased (S503). On the contrary, if the brightness of the character is larger than the brightness of the background, the brightness of the character is increased (S504). This process increases the brightness difference between the character and the background. Note that the lightness of the object on the side with the smaller lightness may be further lowered.

同様に、彩度に関しても、彩度が大きい側のオブジェクトの彩度を上げるようにする。彩度が小さい側のオブジェクトの彩度をさらに下げるようにしてもよい。つまり文字と背景の彩度を比較し(S505)、背景の彩度が文字の彩度よりも大きければ、背景の彩度を上げ(S505)、反対に文字の彩度が背景の彩度よりも大きければ、文字の彩度を上げる(S507)。この処理により文字と背景の彩度差を増大させる。なおLab値に基づき、例えば明度はL、彩度はaを二乗したもの、bを二乗したものを加算し、加算したものの平方根(√)によって算出できる(ab2次元空間上の原点との距離ともいえる)。   Similarly, regarding the saturation, the saturation of the object on the higher saturation side is increased. You may make it further reduce the saturation of the object of the side with small saturation. That is, the saturation of the character and the background is compared (S505), and if the saturation of the background is greater than the saturation of the character, the saturation of the background is increased (S505), and on the contrary, the saturation of the character is higher than the saturation of the background. If so, the saturation of the character is increased (S507). This process increases the saturation difference between the character and the background. Based on the Lab value, for example, the lightness is L, the saturation is a square of a, the square of b is added, and the sum can be calculated by the square root (√) (the distance from the origin in the ab two-dimensional space is also I can say).

以上のように彩度、明度の調整処理により本来原稿上は異なる色で塗り分けられていた文字と背景が同一の色相、明度、彩度の色に変換された場合でも明度差、彩度差をつけることによって色差も増加するため、文字と背景の判別が可能となる。また即ち背景上の文字認識が容易になる。   As described above, even when the character and background that were originally painted in different colors on the document are converted to the same hue, lightness, and saturation by the saturation and lightness adjustment processing, the lightness difference and saturation difference are converted. Since the color difference also increases by adding, it becomes possible to distinguish between the character and the background. In other words, character recognition on the background is facilitated.

図6は、本実施例に係る色差判定、調整処理の結果例(その1)を示す。(a)は従来の2色プリントを行ったことにより原稿上は異なる色相で塗り分けられていた文字と背景の判別が困難になっている例を示している。そして、上述の本実施形態に係る背景と文字の明度と彩度の調整を行うことにより(b)に示されるように背景と文字の色差が増大した結果、視覚的に文字と背景とが容易に判別ができるようになっている。   FIG. 6 shows a result example (part 1) of the color difference determination and adjustment processing according to the present embodiment. (A) shows an example in which it is difficult to discriminate between a character and a background that have been painted with different hues on a document due to the conventional two-color printing. Then, by adjusting the lightness and saturation of the background and characters according to the above-described embodiment, the color difference between the background and characters increases as shown in FIG. Can be distinguished.

なお、処理部105によって上述の処理がなされた2色プリントの仕上がりと、上述の処理を行わなかった場合の2色プリントの仕上がりを表示装置11b(ユーザ端末2へ送信してもよい)に表示させるようにするとよい。例えば図6の(a)及び(b)の画像が、が2色プリントの仕上がりプレビュー画像として表示装置11bに表示されるため、ユーザは2色プリントの仕上がり具合を確認、比較し、最終的に所望の2色プリントを選択することができる。画像出力部107は、ユーザによって選択された方の2色プリントを出力(印刷)する。   The finish of the two-color print that has been subjected to the above-described processing by the processing unit 105 and the finish of the two-color print when the above-described processing is not performed are displayed on the display device 11b (may be transmitted to the user terminal 2). It is good to make it. For example, since the images of FIGS. 6A and 6B are displayed on the display device 11b as a finished preview image of two-color print, the user confirms and compares the finish of the two-color print, and finally A desired two-color print can be selected. The image output unit 107 outputs (prints) the two-color print selected by the user.

なおまた、表示装置11bへ表示させる際には、2色プリント変換用LUT及びLab変換用LUTを用いてLab値からRGB値へ変換し、出力(印刷)する差異には、同様にLab値からMFP1のCMYK値へ逆変換すればよい。   In addition, when displaying on the display device 11b, the difference from the Lab value to the RGB value by using the two-color print conversion LUT and the Lab conversion LUT, and the output (printing) difference is similarly determined from the Lab value. What is necessary is just to carry out reverse conversion to the CMYK value of MFP1.

図7は、本実施例に係る色差判定、調整処理の結果例(その2)を示す。(a)は、円グラフを示し、従来の2色プリントを行ったことにより原稿上は異なる色相で塗り分けられて隣接するグラフィックオブジェクト1とグラフィックオブジェクト2の判別が困難になっている例を示している。この隣接するグラフィックオブジェクト1とグラフィックオブジェクト2についても上述のフローチャートの要領に沿って色差判定、調整処理を行うことにより、グラフィックオブジェクト1とグラフィックオブジェクト2の判別性を向上させることができる。   FIG. 7 shows a result example (part 2) of the color difference determination and adjustment processing according to the present embodiment. (A) shows a pie chart, and shows an example in which it is difficult to discriminate between the adjacent graphic object 1 and graphic object 2 by performing different colors on the document due to the conventional two-color printing. ing. By performing color difference determination and adjustment processing for the adjacent graphic object 1 and graphic object 2 in accordance with the procedure of the above-described flowchart, the discrimination between the graphic object 1 and the graphic object 2 can be improved.

図8は、実施例に係る色差判定、調整処理を説明するフローチャート(その2)である。これは上述のフローチャート中の背景、文字をグラフィックオブジェクト1とグラフィックオブジェクト2に置き換えたものである。   FIG. 8 is a flowchart (part 2) for explaining the color difference determination and adjustment processing according to the embodiment. This is obtained by replacing the background and characters in the flowchart described above with the graphic object 1 and the graphic object 2.

オブジェクト色差判定部104は、グラフィックオブジェクト1とグラフィックオブジェクト2の色差をLab値に基づき算出し、グラフィックオブジェクト1とグラフィックオブジェクト2との色差が一定値(閾値)以下か否かの判定を行う(S801)。色差が一定値以下(判別困難)と判定されると、処理部105は、判別が困難であるグラフィックオブジェクト1とグラフィックオブジェクト2について、まずグラフィックオブジェクト1とグラフィックオブジェクト2の明度を比較する(S802)。グラフィックオブジェクト1の明度がグラフィックオブジェクト2の明度よりも大きければ、グラフィックオブジェクト1の明度を上げる(S803)。反対にグラフィックオブジェクト2の明度がグラフィックオブジェクト1の明度よりも大きければ、グラフィックオブジェクト2の明度を上げる(S804)。この処理によりグラフィックオブジェクト1とグラフィックオブジェクト2の明度差を増大させる。   The object color difference determination unit 104 calculates the color difference between the graphic object 1 and the graphic object 2 based on the Lab value, and determines whether or not the color difference between the graphic object 1 and the graphic object 2 is equal to or less than a certain value (threshold value) (S801). ). If it is determined that the color difference is equal to or less than a predetermined value (difficult to determine), the processing unit 105 first compares the brightness of the graphic object 1 and the graphic object 2 for the graphic object 1 and graphic object 2 that are difficult to determine (S802). . If the brightness of the graphic object 1 is greater than the brightness of the graphic object 2, the brightness of the graphic object 1 is increased (S803). On the contrary, if the brightness of the graphic object 2 is larger than the brightness of the graphic object 1, the brightness of the graphic object 2 is increased (S804). By this processing, the brightness difference between the graphic object 1 and the graphic object 2 is increased.

同様に、彩度に関しても、グラフィックオブジェクト1とグラフィックオブジェクト2の彩度を比較し(S805)、グラフィックオブジェクト1の彩度がグラフィックオブジェクト2の彩度よりも大きければ、グラフィックオブジェクト1の彩度を上げ(S805)、反対にグラフィックオブジェクト2の彩度がグラフィックオブジェクト1の彩度よりも大きければ、グラフィックオブジェクト2の彩度を上げる(S807)。この処理によりグラフィックオブジェクト1とグラフィックオブジェクト2の彩度差を増大させる。   Similarly, regarding the saturation, the saturations of the graphic object 1 and the graphic object 2 are compared (S805). If the saturation of the graphic object 1 is greater than the saturation of the graphic object 2, the saturation of the graphic object 1 is determined. On the contrary, if the saturation of the graphic object 2 is larger than the saturation of the graphic object 1, the saturation of the graphic object 2 is increased (S807). By this processing, the saturation difference between the graphic object 1 and the graphic object 2 is increased.

以上のように彩度、明度の調整処理により本来原稿上は異なる色で塗り分けられていたグラフィックオブジェクト1とグラフィックオブジェクト2が同一の色相、明度、彩度の色に変換された場合でも明度差、彩度差をつけることによって色差も増加するため、グラフィックオブジェクト1とグラフィックオブジェクト2の判別が可能となる。即ちグラフィックオブジェクト間の境界や領域認識が容易になる。   As described above, even if the graphic object 1 and the graphic object 2 that are originally painted in different colors on the original by the saturation and lightness adjustment processing are converted to the same hue, lightness, and saturation color, the lightness difference is obtained. Since the color difference is increased by adding the saturation difference, the graphic object 1 and the graphic object 2 can be discriminated. That is, it becomes easy to recognize boundaries and areas between graphic objects.

再び図7を参照する。上述の実施例に係るグラフィックオブジェクト1とグラフィックオブジェクト2の明度と彩度の調整を行うことにより(b)に示されるようにグラフィックオブジェクト1とグラフィックオブジェクト2の色差が増大した結果、視覚的に容易に判別ができるようになっている。   Refer to FIG. 7 again. By adjusting the brightness and saturation of the graphic object 1 and the graphic object 2 according to the above-described embodiment, the color difference between the graphic object 1 and the graphic object 2 increases as shown in FIG. Can be distinguished.

[実施例2]
図9は、本実施例2に係る色差判定、調整処理の結果例(その3)を示す。(a)は、円グラフを示し、従来の2色プリントを行ったことにより原稿上は異なる色相で塗り分けられて隣接するグラフィックオブジェクト1とグラフィックオブジェクト2の判別が困難になっている例を示している。(b)は、上述の実施例1に係るグラフィックオブジェクト1とグラフィックオブジェクト2の明度と彩度の調整を行うことにより(b)に示されるようにグラフィックオブジェクト1とグラフィックオブジェクト2の色差が増大した結果、視覚的に容易に判別ができるようになったものを示す。
[Example 2]
FIG. 9 illustrates a result example (part 3) of the color difference determination and adjustment processing according to the second embodiment. (A) shows a pie chart, and shows an example in which it is difficult to discriminate between the adjacent graphic object 1 and graphic object 2 by performing different colors on the document due to the conventional two-color printing. ing. In (b), the color difference between the graphic object 1 and the graphic object 2 is increased as shown in (b) by adjusting the brightness and saturation of the graphic object 1 and the graphic object 2 according to Example 1 described above. As a result, it is possible to visually distinguish easily.

しかしながら(b)において、グラフィックオブジェクト1とグラフィックオブジェクト2の明度と彩度の調整を行うことにより色差が増大した結果、視覚的に容易に判別ができるようにはなったものの、調整の影響により、今度はグラフィックオブジェクト2と、隣接するグラフィックオブジェクト3との判別が困難になっている。つまり、円グラフや棒グラフなど、3以上のグラフィックオブジェクトが連続して隣接しているような場合には、ある1のグラフィックオブジェクトの明度、彩度の調整を行うと、調整前には判別可能であった第3のオブジェクトとの色差が低下してしまうことにより視覚的な判別が困難になってしまう場合があるのである。   However, in (b), the color difference is increased by adjusting the brightness and saturation of the graphic object 1 and the graphic object 2. As a result, the visual difference can be easily determined. This time, it is difficult to distinguish between the graphic object 2 and the adjacent graphic object 3. In other words, when three or more graphic objects such as a pie chart and a bar graph are adjacent to each other, the brightness and saturation of a certain graphic object can be adjusted before the adjustment. If the color difference from the third object is lowered, visual discrimination may be difficult.

そこでこのような場合、本実施例では、グラフィックオブジェクト2について、2色プリントの範囲内で使用できる別の色相の色に変更を行う。例えば、指定色が赤と黒の2色プリントの場合、グラフィックオブジェクト2の色を割り当てられた赤の色相の範囲内で明度と彩度の調整を行った後、調整後のグラフィックオブジェクト2と、隣接するグラフィックオブジェクト3との色差を比較し、隣接するグラフィックオブジェクト3との判別性が困難である場合には、グラフィックオブジェクト2について使用可能なもう一つの色である黒への変更を行う。   In such a case, in this embodiment, the graphic object 2 is changed to a color having a different hue that can be used within the range of two-color printing. For example, when the designated color is a two-color print of red and black, after adjusting the brightness and saturation within the range of the red hue assigned the color of the graphic object 2, the graphic object 2 after adjustment, The color difference with the adjacent graphic object 3 is compared, and if it is difficult to discriminate from the adjacent graphic object 3, the color is changed to black, which is another color that can be used for the graphic object 2.

図10は、本実施例2に係る色変更処理を説明するフローチャートである。当フローチャートは上述の趣旨に基づき、2つの隣接するオブジェクトについて、図8のフローチャートによる調整処理が実施されるとともに、調整がなされたオブジェクトにさらに隣接するオブジェクトが存在する場合に実施されるものである。   FIG. 10 is a flowchart illustrating the color change process according to the second embodiment. This flowchart is executed based on the above-mentioned meaning when the adjustment processing according to the flowchart of FIG. 8 is performed on two adjacent objects and there is an object further adjacent to the adjusted object. .

まずオブジェクト色差判定部104は、明度、彩度を調整した方のオブジェクトに隣接する全てのオブジェクトとの色差が一定値以下か否かが判定する(S1001)。図9の例でいえば、調整後のグラフィックオブジェクト2と隣接するグラフィックオブジェクト3との色差を算出し色差が一定値以下(例えば色差6以下)か否かが判定される。   First, the object color difference determination unit 104 determines whether or not the color difference between all objects adjacent to the object whose brightness and saturation are adjusted is equal to or smaller than a certain value (S1001). In the example of FIG. 9, the color difference between the adjusted graphic object 2 and the adjacent graphic object 3 is calculated, and it is determined whether or not the color difference is equal to or less than a certain value (for example, the color difference 6 or less).

次に例えば処理部105が、明度、彩度を調整した方のオブジェクトを2色プリントで使用可能なもう一方の色への変更を行う(S1002)。図9の例でいえば、色差が一定値以下であり、調整後のグラフィックオブジェクト2と隣接するグラフィックオブジェクト3との判別性が困難である場合には、グラフィックオブジェクト2について、赤から黒への色変更を行う。   Next, for example, the processing unit 105 changes the object whose brightness and saturation have been adjusted to another color that can be used for two-color printing (S1002). In the example of FIG. 9, when the color difference is equal to or less than a certain value and it is difficult to discriminate between the adjusted graphic object 2 and the adjacent graphic object 3, the graphic object 2 is changed from red to black. Change the color.

再び図9を参照する。グラフィックオブジェクト2について、赤から黒への色変更を行うことにより、(c)に示されるようにグラフィックオブジェクト2の色が赤から黒に変更され、グラフィックオブジェクト1とグラフィックオブジェクト2、またグラフィックオブジェクト2とグラフィックオブジェクト3について視覚的に容易に判別ができるようになっている。   Refer to FIG. 9 again. By changing the color of the graphic object 2 from red to black, the color of the graphic object 2 is changed from red to black as shown in (c), and the graphic object 1 and the graphic object 2 or the graphic object 2 are changed. The graphic object 3 can be easily visually determined.

なお例外として、文字の背景色となっている背景グラフィックオブジェクトに対し、明度、彩度の調整を行った結果、背景グラフィックオブジェクトに隣接する文字との色差が小さくなる場合は色の変更を行わないものとする。これは、2色プリント時には文字の判別性の確保を最優先事項とするためで、文字の判別性が損なわない範囲内で隣接するグラフィックオブジェクトの判別性を確保するためである。   As an exception, if the color difference between the background graphic object and the character adjacent to the background graphic object becomes small as a result of adjusting the brightness and saturation of the background graphic object that is the background color of the character, the color is not changed. Shall. This is because ensuring the distinguishability of the character is the top priority when printing with two colors, so that the distinguishability between adjacent graphic objects is secured within a range where the distinguishability of the character is not impaired.

[総括]
以上本実施形態に係るMFP1は、2色プリントした場合に色差が概ね小さくなるオブジェクトであって重なり合う又は隣接する2つのオブジェクトの抽出(検出)を行ってから指定の2色プリントの色再現範囲内で判別可能な色に変更(明度差、彩度差の調整)を行うため、2色プリント時に原稿上は異なる色で塗り分けられていたオブジェクト同士が同じ色相に変換された場合であっても、2色プリント後の仕上がりにおいて、2色プリントの指定色再現範囲内でそれらオブジェクト同士の判別性、識別性を向上させることができる。
[Summary]
As described above, the MFP 1 according to the present embodiment is an object whose color difference is substantially reduced when two-color printing is performed, and after extracting (detecting) two overlapping or adjacent objects, it is within the color reproduction range of the designated two-color printing. Even if objects that were painted in different colors on the document during two-color printing are converted to the same hue to change to colors that can be discriminated with (Adjust brightness difference and saturation difference) In the finish after two-color printing, it is possible to improve the discrimination and discrimination between these objects within the specified color reproduction range of the two-color printing.

本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。例えば本実施形態においては情報処理装置の一例として、画像形成装置に対して本発明を適用したものであり、その他のシステムや装置においても広く適用され得る。   The present invention is not limited to such specific embodiments, and various modifications and changes can be made within the scope of the gist of the present invention described in the claims. For example, in the present embodiment, the present invention is applied to an image forming apparatus as an example of an information processing apparatus, and can be widely applied to other systems and apparatuses.

1 MFP
2 ユーザ端末
11 操作部(操作パネル)
11a 入力装置
11b 表示装置
12 記憶メディアI/F
12a ドライブ装置
12b 記録媒体
13 コントローラ(部)
13a ROM
13b RAM
13c CPU
14 データ通信I/F
14a インタフェース装置
15 スキャナ
15a 画像読取装置
16 プロッタ
16a 印刷装置
17 HDD
101 記憶部
102 2色変換部
103 オブジェクト抽出部
104 オブジェクト色差判定部
105 処理部
106 プレビュー部
107 画像出力部
201 アプリケーション
202 プリンタドライバ
1 MFP
2 User terminal 11 Operation unit (operation panel)
11a Input device 11b Display device 12 Storage media I / F
12a Drive device 12b Recording medium 13 Controller (part)
13a ROM
13b RAM
13c CPU
14 Data communication I / F
14a Interface device 15 Scanner 15a Image reading device 16 Plotter 16a Printing device 17 HDD
DESCRIPTION OF SYMBOLS 101 Memory | storage part 102 2 color conversion part 103 Object extraction part 104 Object color difference determination part 105 Processing part 106 Preview part 107 Image output part 201 Application 202 Printer driver

特開2007−68127号公報JP 2007-68127 A

Claims (7)

入力されたカラー画像を2色に変換し出力する印刷装置であって、
前記カラー画像を2色に変換する2色変換手段と、
前記カラー画像を構成するオブジェクトのうち、重なり合う又は隣接する第1のオブジェクトと第2のオブジェクトとを抽出するオブジェクト抽出手段と、
前記2色のうち何れかの色に変換された前記第1のオブジェクトと第2のオブジェクトとの色差が、所定の閾値以下か否かを判定する色差判定手段と、
前記閾値以下と判定された前記第1のオブジェクトと第2のオブジェクトに対し、少なくとも明度差、彩度差のいずれかを増加させる処理手段と、
を備えたことを特徴とする印刷装置。
A printing apparatus that converts an input color image into two colors and outputs the color image,
Two-color conversion means for converting the color image into two colors;
An object extracting means for extracting a first object and a second object that overlap or are adjacent to each other among the objects constituting the color image;
Color difference determination means for determining whether a color difference between the first object and the second object converted into one of the two colors is equal to or less than a predetermined threshold;
Processing means for increasing at least one of a lightness difference and a saturation difference with respect to the first object and the second object determined to be equal to or less than the threshold;
A printing apparatus comprising:
前記色差判定手段は、前記処理手段により明度差、彩度差のいずれかを増加させた前記第1のオブジェクト又は第2のオブジェクトとさらに隣接する第3のオブジェクトとの色差が、所定の閾値以下か否かを判定し、
前記閾値以下と判定された前記第1のオブジェクト又は第2のオブジェクトは、前記2色のうち前記2色変換手段により変換された色とは異なるもう一方の色に変更されること、
を特徴とする請求項1記載の印刷装置。
The color difference determination means is configured such that a color difference between the first object or the second object and the third object that is further adjacent to the first object or the second object that is increased by either the lightness difference or the saturation difference by the processing means is equal to or less than a predetermined threshold value. Whether or not
The first object or the second object determined to be equal to or less than the threshold is changed to the other color different from the color converted by the two-color conversion unit among the two colors.
The printing apparatus according to claim 1.
入力された前記カラー画像のRGB値から該印刷装置のCMYK値への変換を規定した第1ルックアップテーブルと、該印刷装置のCMYK値からLab値への変換を規定した第2ルックアップテーブルとを予め記憶した記憶手段と、
前記第1ルックアップテーブルを参照し前記RGB値から前記CMYK値への変換を行い、また前記第2ルックアップテーブルを参照し前記CMYK値から前記Lab値への変換を行う変換手段と、
を備え、
前記色差、明度差及び彩度差は、変換された前記Lab値に基づき算出されること、
を特徴とする請求項1又は2記載の印刷装置。
A first lookup table that defines conversion from RGB values of the input color image to CMYK values of the printing apparatus; and a second lookup table that defines conversion of CMYK values to Lab values of the printing apparatus; Storage means for storing in advance,
Conversion means for converting the RGB values into the CMYK values with reference to the first lookup table, and for converting the CMYK values into the Lab values with reference to the second lookup table;
With
The color difference, brightness difference and saturation difference are calculated based on the converted Lab values;
The printing apparatus according to claim 1 or 2.
前記変換手段は、前記第2ルックアップテーブル及び前記第1ルックアップテーブルを参照し、増加された明度差、彩度差に基づくLab値を前記CMYK値及びRGB値へ逆変換し、
逆変換されたRGB値に基づくプレビュー画像を生成し表示手段に表示させるプレビュー手段を備えたことを特徴とする請求項3記載の印刷装置。
The converting means refers to the second look-up table and the first look-up table, and inversely converts Lab values based on the increased brightness difference and saturation difference to the CMYK values and RGB values,
4. The printing apparatus according to claim 3, further comprising preview means for generating a preview image based on the inversely converted RGB values and displaying the preview image on the display means.
請求項1ないし4何れか一項記載の印刷装置を備えた画像形成装置。   An image forming apparatus comprising the printing apparatus according to claim 1. 入力されたカラー画像を2色に変換し出力する印刷装置における色処理方法であって、
前記カラー画像を2色に変換する2色変換手順と、
前記カラー画像を構成するオブジェクトのうち、重なり合う又は隣接する第1のオブジェクトと第2のオブジェクトとを抽出するオブジェクト抽出手順と、
前記2色のうち何れかの色に変換された前記第1のオブジェクトと第2のオブジェクトとの色差が、所定の閾値以下か否かを判定する色差判定手順と、
前記閾値以下と判定された前記第1のオブジェクトと第2のオブジェクトに対し、少なくとも明度差、彩度差のいずれかを増加させる処理手順と、
を有することを特徴とする色処理方法。
A color processing method in a printing apparatus that converts an input color image into two colors and outputs the color image,
A two-color conversion procedure for converting the color image into two colors;
An object extraction procedure for extracting a first object and a second object that overlap or are adjacent to each other among the objects constituting the color image;
A color difference determination procedure for determining whether a color difference between the first object and the second object converted into one of the two colors is equal to or less than a predetermined threshold;
A processing procedure for increasing at least one of a brightness difference and a saturation difference with respect to the first object and the second object determined to be equal to or less than the threshold;
A color processing method characterized by comprising:
請求項6記載の色処理方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the color processing method according to claim 6.
JP2010229751A 2010-10-12 2010-10-12 Printer, image forming device, and color processing method and program Pending JP2012085105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010229751A JP2012085105A (en) 2010-10-12 2010-10-12 Printer, image forming device, and color processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010229751A JP2012085105A (en) 2010-10-12 2010-10-12 Printer, image forming device, and color processing method and program

Publications (1)

Publication Number Publication Date
JP2012085105A true JP2012085105A (en) 2012-04-26

Family

ID=46243500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010229751A Pending JP2012085105A (en) 2010-10-12 2010-10-12 Printer, image forming device, and color processing method and program

Country Status (1)

Country Link
JP (1) JP2012085105A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014015127A (en) * 2012-07-09 2014-01-30 Denso It Laboratory Inc Information display apparatus, information display method and program
JP2014051268A (en) * 2012-08-07 2014-03-20 Japan Vilene Co Ltd Decorative fiber sheet for automobile
JP2019204990A (en) * 2018-05-21 2019-11-28 富士ゼロックス株式会社 Information processing apparatus and program
JP2020046994A (en) * 2018-09-19 2020-03-26 富士ゼロックス株式会社 Information processing apparatus and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014015127A (en) * 2012-07-09 2014-01-30 Denso It Laboratory Inc Information display apparatus, information display method and program
JP2014051268A (en) * 2012-08-07 2014-03-20 Japan Vilene Co Ltd Decorative fiber sheet for automobile
JP2019204990A (en) * 2018-05-21 2019-11-28 富士ゼロックス株式会社 Information processing apparatus and program
CN110519481A (en) * 2018-05-21 2019-11-29 富士施乐株式会社 Information processing unit, information processing method and storage medium
JP7067262B2 (en) 2018-05-21 2022-05-16 富士フイルムビジネスイノベーション株式会社 Information processing equipment and programs
US11368607B2 (en) 2018-05-21 2022-06-21 Fujifilm Business Innovation Corp. Information processing apparatus and non-transitory computer readable medium storing program for image color conversion
JP2020046994A (en) * 2018-09-19 2020-03-26 富士ゼロックス株式会社 Information processing apparatus and program
JP7206732B2 (en) 2018-09-19 2023-01-18 富士フイルムビジネスイノベーション株式会社 Information processing device and program

Similar Documents

Publication Publication Date Title
US20040080789A1 (en) Gray scale enhancements for color documents rendered on monochrome devices
JP4905015B2 (en) Image processing device
JP7367159B2 (en) Image processing device, image processing method, and program
JP2009212841A (en) Image processing system, image processing apparatus, and image processing method
JP2015173419A (en) Image processing device, control method of the same and program
JP2012085105A (en) Printer, image forming device, and color processing method and program
CN114070952A (en) Information processing apparatus, information processing method, and storage medium
EP2429173B1 (en) Image forming apparatus, printing control terminal apparatus, and image forming method thereof
EP2452488B1 (en) Image processing method, image processing apparatus, and program
US9989875B2 (en) Image processing apparatus, image processing method, and storage medium
JP4653006B2 (en) Method, apparatus and program for determining density signal value of latent image and background image
JP2009071695A (en) Image processor, image processing method, program, and storage medium
JP5344231B2 (en) Image processing apparatus, image processing method, program, and recording medium
JP2010268138A (en) Color adjustment device, color adjustment method, and program
JP5340126B2 (en) Image processing apparatus, image processing method, and computer program.
JP2002237940A (en) Image processing unit
JP6292061B2 (en) Information processing apparatus and program
US8542925B2 (en) System and method to enable correction to application of substantially colorless material over identified text via segmentation
JP2023033978A (en) Image forming device, image forming device control method, image processing device, image processing method and program
JP5501425B2 (en) Image processing method, image processing apparatus, and program
JP2024034772A (en) Image processing device, image processing method, and program
JP2009246416A (en) Color image forming apparatus, color image formation processing program
JP2014060681A (en) Image processor, program, and image forming apparatus
JP2009296431A (en) Image processing device, image processing method, program, and recording medium
JP2011254325A (en) Image processing apparatus and image forming apparatus