JP2019071537A - Image processing device, control method of the same, and program - Google Patents

Image processing device, control method of the same, and program Download PDF

Info

Publication number
JP2019071537A
JP2019071537A JP2017196398A JP2017196398A JP2019071537A JP 2019071537 A JP2019071537 A JP 2019071537A JP 2017196398 A JP2017196398 A JP 2017196398A JP 2017196398 A JP2017196398 A JP 2017196398A JP 2019071537 A JP2019071537 A JP 2019071537A
Authority
JP
Japan
Prior art keywords
color
print data
image processing
processing apparatus
full
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
JP2017196398A
Other languages
Japanese (ja)
Inventor
知未 安田
Tomomi Yasuda
知未 安田
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 JP2017196398A priority Critical patent/JP2019071537A/en
Publication of JP2019071537A publication Critical patent/JP2019071537A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a mechanism to allow a user to select a color replacement method in double color printing, in response to a printing purpose.SOLUTION: An image processing device, in a case of printing full-color print data with color materials of two colors, receives a user input of designating a conversion method to convert the full-color print data to two-color print data and converts the full-color print data to the two-color print data in accordance with the received conversion method.SELECTED DRAWING: Figure 7

Description

本発明は、画像処理装置、その制御方法、及びプログラムに関するものである。   The present invention relates to an image processing apparatus, a control method thereof, and a program.

CMYK4色の印刷(以下では、フルカラー印刷と称する。)が印刷業界では一般的である。ここで、CはCyan、MはMagenta、YはYellow、KはBlackを示す。しかし、フルカラー印刷の場合、4色分の色材が必要であるためコストが高い。そうした状況において、コスト削減のため、色数を削減して印刷する処理である2色プリントが注目されている。2色プリントとは、カラー原稿を任意の異なる2色(例えばRed,Green,Blue,Yellow,Magenta,Cyan,Blackのうち2色)に置換える画像処理を行い印刷する技術である。カラー原稿を何色でどのようにして2色に置き換えるかは、トナー消費量の削減や強調色の維持など印刷の目的に応じて様々な方法がある。   Printing of four CMYK colors (hereinafter referred to as full color printing) is common in the printing industry. Here, C is Cyan, M is Magenta, Y is Yellow, and K is Black. However, in the case of full color printing, the cost is high because color materials for four colors are required. Under such circumstances, two-color printing, which is a process of printing with a reduced number of colors, has attracted attention for cost reduction. The two-color printing is a technology for printing by performing image processing for replacing a color original document with any two different colors (for example, two of Red, Green, Blue, Yellow, Magenta, Cyan, and Black). There are various methods of how to replace a color original with two colors depending on the purpose of printing, such as reduction of toner consumption and maintenance of emphasized color.

特許文献1には、2色プリントでカラー原稿を置き換える方法として原稿上のRedの有彩部をRedに変換し、それ以外の箇所をBlackに変換する方法や、原稿上の有彩部をRed、無彩部をBlackに変換する方法が提案されている。   In Patent Document 1, as a method of replacing a color original with a two-color print, a method of converting a chromatic part of Red on an original to Red and converting other portions to Black, a chromatic part on an original A method of converting the achromatic part to Black has been proposed.

特開2011−130184号公報JP, 2011-130184, A

しかしながら、上記従来技術には以下に記載する課題がある。例えば、上記従来技術では、カラー原稿を置き換える色や方法を原稿の種類と仕上がり種類により自動で決定されるため、カラー原稿の置き換え方法が限られてしまう。一方で、多岐に渡る印刷目的に応じた2色プリントが要望されている。   However, the above-described prior art has the problems described below. For example, in the above-mentioned prior art, since the color and method for replacing a color document are automatically determined by the type and finish type of the document, the method for replacing the color document is limited. On the other hand, there is a demand for two-color printing in accordance with various printing purposes.

本発明は、上述の問題に鑑みて成されたものであり、2色プリントにおける色の置き換え方法を印刷目的に応じてユーザに選択させる仕組みを提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a mechanism that allows a user to select a color replacement method in two-color printing according to the printing purpose.

本発明は、画像処理装置であって、フルカラーの印刷データを2色の色材で印刷する場合に、該フルカラーの印刷データを2色の印刷データに変換する変換方法を指定するユーザ入力を受け付ける受付手段と、前記受付手段によって受け付けた変換方法に従って、前記フルカラーの印刷データを2色の印刷データに変換する変換手段とを備えることを特徴とする。   The present invention is an image processing apparatus, which accepts a user input specifying a conversion method for converting full color print data into two color print data when full color print data is printed with two color materials. It is characterized by comprising: reception means; and conversion means for converting the full color print data into two-color print data according to the conversion method received by the reception means.

本発明によれば、2色プリントにおける色の置き換え方法をユーザの印刷目的に応じて選択することができる。   According to the present invention, it is possible to select a method of replacing colors in two-color printing in accordance with the printing purpose of the user.

一実施形態に係る画像処理装置の機能の構成を説明するブロック図。FIG. 2 is a block diagram for explaining the functional configuration of the image processing apparatus according to the embodiment; 一実施形態に係る2色カラーの選択のUIイメージ図。FIG. 7 is a UI image diagram of selection of two-colors according to an embodiment. 一実施形態に係る色の選択のUIイメージ図。FIG. 6 is a UI image diagram of color selection according to one embodiment. 一実施形態に係る2色変換テーブル生成部の例示的な処理フローチャート。6 is an exemplary process flowchart of a two-color conversion table generation unit according to an embodiment. 一実施形態に係る2色変換テーブル生成部が生成する色変換テーブルを模式的に示す図。The figure which shows typically the color conversion table which the 2 color conversion table production | generation part which concerns on one Embodiment produces | generates. 一実施形態に係る2色プリント時の出力サンプルの一例を示す図。FIG. 6 is a view showing an example of an output sample at the time of two-color printing according to an embodiment. 一実施形態に係る色変換部の処理の流れを説明するフローチャート。6 is a flowchart illustrating the flow of processing of a color conversion unit according to an embodiment. 一実施形態に係る2色カラーのモードの選択UIイメージ図。FIG. 7 is a selected UI image view of a two-color mode according to an embodiment. 一実施形態に係る色変換部の処理におけるモードAで色変換する処理の詳細を説明するフローチャート。8 is a flowchart for describing the details of color conversion processing in mode A in the processing of the color conversion unit according to an embodiment. 一実施形態に係る色変換部の処理におけるモードBで色変換する処理の詳細を説明するフローチャート。8 is a flowchart for describing the details of color conversion processing in mode B in the processing of the color conversion unit according to an embodiment. L*a*b*色空間におけるa*b*平面上の色相を表す図。FIG. 6 is a diagram illustrating hues on an a * b * plane in an L * a * b * color space. L*a*b*空間のa*b*平面上の有彩判定領域の一例を示す図。The figure which shows an example of the chromatic judgment area | region on the a * b * plane of L * a * b * space. 一実施形態に係る判定結果出力テーブルを示す図。The figure which shows the determination result output table which concerns on one Embodiment. 一実施形態に係る画像処理装置のシステムの構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of a system of an image processing apparatus according to an embodiment. 一実施形態に係る色相彩度の境界画素判定の閾値テーブルの例を示す図。FIG. 7 is a view showing an example of a threshold value table of boundary pixel determination of hue and saturation according to one embodiment.

以下に本発明の一実施形態を示す。以下で説明される個別の実施形態は、本発明の上位概念、中位概念及び下位概念など種々の概念を理解するために役立つであろう。また、本発明の技術的範囲は、特許請求の範囲によって確立されるのであって、以下の個別の実施形態によって限定されるわけではない。   One embodiment of the present invention is shown below. The specific embodiments described below will help to understand various concepts such as the superordinate, middle and sub-concepts of the present invention. Further, the technical scope of the present invention is established by the scope of the claims, and is not limited by the following individual embodiments.

<第1の実施形態>
<画像処理装置の構成>
以下では、本発明の第1の実施形態について説明する。本実施形態に係る画像処理装置は、画像処理装置(画像処理部)100、スキャナ110、プリントエンジン108、表示部及び操作部(UI111)を有するMFP(Multifunction Peripheral)10であるものとして説明する。しかしながら、本画像処理装置は、プリント機能、表示部、操作部が備えられているものであれば何れの形態であってもよい。なお、以下では、用語「画像処理装置」を、MFPなどの画像処理システム全体を示すために用いる場合は単に「画像処理装置」と記載し、画像処理のみに特化した装置(画像処理部)として用いる場合は「画像処理装置100」と記載する。
First Embodiment
<Configuration of Image Processing Device>
Hereinafter, a first embodiment of the present invention will be described. The image processing apparatus according to the present embodiment will be described as an MFP (Multifunction Peripheral) 10 having an image processing apparatus (image processing unit) 100, a scanner 110, a print engine 108, a display unit, and an operation unit (UI 111). However, the present image processing apparatus may have any form as long as it has a print function, a display unit, and an operation unit. In the following, when the term “image processing apparatus” is used to indicate the entire image processing system such as an MFP, it is simply described as “image processing apparatus” and an apparatus specialized for image processing only (image processing unit) In the case of using the image processing apparatus 100, the image processing apparatus 100 is described.

まず、図14を参照して、本実施形態に係る画像処理装置(MFP10)のシステム構成の一例について説明する。本実施形態に係る画像処理装置はレーザビームプリンタやインクジェットプリンタに適用され、図示しないホストコンピュータに接続されることによって、システムを構成する。本画像処理装置においては、デバイスの1つであるMFP10が、MFP10の外部からのデータ入力の窓口となる入力部1404と図示しないホストコンピュータのプリンタコントローラを介して接続される。MFP10は、CPU1401、RAM1402、ROM1403、入力部1404、印刷部I/F(インタフェース)1405、MC(メモリコントローラ)1406、プリントエンジン108、表示兼操作部1409、及び記憶装置112を備える。これらの各部はシステムバス1407を介して情報を送受することができる。   First, an example of the system configuration of the image processing apparatus (MFP 10) according to the present embodiment will be described with reference to FIG. The image processing apparatus according to the present embodiment is applied to a laser beam printer or an ink jet printer, and configures a system by being connected to a host computer (not shown). In the present image processing apparatus, the MFP 10, which is one of the devices, is connected via an input unit 1404 serving as a window for data input from the outside of the MFP 10 and a printer controller of a host computer (not shown). The MFP 10 includes a CPU 1401, a RAM 1402, a ROM 1403, an input unit 1404, a print unit I / F (interface) 1405, an MC (memory controller) 1406, a print engine 108, a display / operation unit 1409, and a storage device 112. These units can transmit and receive information via the system bus 1407.

MFP10は、ROM1403又は記憶装置(外部メモリ)112に記憶された制御プログラムをCPU1401によって実行することにより、システムバス1407に接続する各デバイスを制御する。RAM1402は、CPU1401の主記憶領域として、出力情報展開領域等として使用される。記憶装置112は、メモリコントローラ(MC)1406を介して、フォントデータ、フォームデータ、及びエミュレーションプログラムなどを供給する。   The MFP 10 controls each device connected to the system bus 1407 by the CPU 1401 executing a control program stored in the ROM 1403 or the storage device (external memory) 112. The RAM 1402 is used as a main storage area of the CPU 1401 as an output information expansion area or the like. The storage device 112 supplies font data, form data, an emulation program, and the like via the memory controller (MC) 1406.

CPU1401は、入力部1404を介して画像データを入力する。当該入力部1404は、後述する読取手段としてのスキャナ110に相当し、原稿から読み取った画像データを入力する。また、入力部1404は、ネットワークを介して接続された外部装置から画像データを受信することにより、入力することもできる。また、CPU1401は、印刷部I/F1405を介して接続されるプリントエンジン(印刷部)108に対して画像信号を出力する。   The CPU 1401 inputs image data via the input unit 1404. The input unit 1404 corresponds to a scanner 110 as a reading unit to be described later, and inputs image data read from a document. The input unit 1404 can also input image data by receiving image data from an external device connected via a network. The CPU 1401 also outputs an image signal to a print engine (print unit) 108 connected via the print unit I / F 1405.

表示兼操作部1409は、受付手段として機能し、MFP10の動作環境を設定するためのスイッチ及び表示機器を備え、RAM1402に格納される環境データやユーザ情報を操作するために用いられる。表示兼操作部1409は、後述する図1のUI(ユーザインタフェース)111に相当する。   A display / operation unit 1409 functions as a reception unit, includes switches and display devices for setting the operating environment of the MFP 10, and is used to operate environment data and user information stored in the RAM 1402. The display and operation unit 1409 corresponds to the UI (user interface) 111 of FIG. 1 described later.

続いて、図1を参照して、本実施形態に係る画像処理装置100の機能構成の一例について説明する。本実施形態に係るMFP10は、上述したように、プリントエンジン108、画像処理装置100、スキャナ110、UI(User Interface)111、及び記憶装置(記憶部)112を含んで構成される。また、MFP10は、外部装置であるコンピュータ109に接続される。さらに、画像処理装置100は、画像データ取得部101、色判定部102、2色変換テーブル生成部103、2色変換テーブル保持部104、色変換部105、ガンマ補正部106、及び画像形成部107を備える。また、画像形成部107から出力される画像データを印刷するため、プリントエンジン108と接続されている。   Subsequently, an example of a functional configuration of the image processing apparatus 100 according to the present embodiment will be described with reference to FIG. As described above, the MFP 10 according to this embodiment includes the print engine 108, the image processing apparatus 100, the scanner 110, a UI (User Interface) 111, and a storage device (storage unit) 112. The MFP 10 is also connected to a computer 109 which is an external device. The image processing apparatus 100 further includes an image data acquisition unit 101, a color determination unit 102, a two-color conversion table generation unit 103, a two-color conversion table storage unit 104, a color conversion unit 105, a gamma correction unit 106, and an image forming unit 107. Equipped with Further, in order to print the image data output from the image forming unit 107, the print engine 108 is connected.

以下で説明する各機能は、例えばCPU1401がROM1403に格納されたプログラムをRAM1402に展開して実行することにより実現される。RAM1402は各機能において必要なデータの格納又は取得先として使用される。   Each function described below is realized by, for example, the CPU 1401 developing a program stored in the ROM 1403 into the RAM 1402 and executing the program. A RAM 1402 is used as a storage or acquisition destination of data required for each function.

画像データ取得部101は、CPU1401の制御によって、画像処理装置100に接続されたコンピュータ109から受信したPDLデータなどの印刷データをレンダリングし、ビットマップ形式のRGB画像データと、属性情報とを生成する。属性情報は、グラフィックス(図形)やテキスト(文字)、イメージ(写真)等のオブジェクト単位で区別する情報である。CPU1401の制御によって、画像データ取得部101は生成したRGB画像データと属性情報をRAM1402に格納する。なお、画像データ取得部101は、スキャナ110で原稿が読み取った場合、読み取った原稿から生成されるRGB画像データをRAM1402に格納する。なお、本実施形態ではRGB画像データを例に挙げて説明するが、後述するLCH色空間へ変換可能な色空間を持つ画像データであれば、何れの画像データであってもよい。   The image data acquisition unit 101 renders print data such as PDL data received from the computer 109 connected to the image processing apparatus 100 under the control of the CPU 1401 and generates RGB image data in the bitmap format and attribute information. . Attribute information is information that distinguishes in object units such as graphics (graphics), text (characters), images (photographs), and the like. Under control of the CPU 1401, the image data acquisition unit 101 stores the generated RGB image data and attribute information in the RAM 1402. When a document is read by the scanner 110, the image data acquisition unit 101 stores, in the RAM 1402, RGB image data generated from the read document. In the present embodiment, RGB image data is described as an example, but any image data may be used as long as the image data has a color space that can be converted to the LCH color space described later.

色判定部102は、CPU1401の制御によって、RAM1402に格納された表示兼操作部1409で設定された設定値を読み込みRAM1402に格納する。図2は、表示兼操作部1409に表示される色数を設定する画面201のUIの例を示す。画面201は、フルカラー202、2色カラー203、及びOKボタン204を含んで構成される。CMYKの色材を用いたフルカラー印刷を行なう場合、フルカラー202を選択して、OKボタン204を操作することにより、フルカラーでの印刷が設定される。一方、2色プリントを行なう場合、2色カラー203を選択して、OKボタン204を操作することにより、2色での印刷が設定される。   The color determination unit 102 reads the setting value set by the display / operation unit 1409 stored in the RAM 1402 under control of the CPU 1401 and stores the read setting value in the RAM 1402. FIG. 2 shows an example of the UI of the screen 201 for setting the number of colors displayed on the display and operation unit 1409. The screen 201 is configured to include a full color 202, a two-color color 203, and an OK button 204. When full color printing using CMYK color materials is performed, full color printing is set by selecting the full color 202 and operating the OK button 204. On the other hand, when performing two-color printing, two-color printing is set by selecting the two-color color 203 and operating the OK button 204.

2色カラー203が選択されると、或いは、2色カラー203を選択した状態でOKボタン204が操作されると、表示兼操作部1409は、CPU1401の制御により、図3に示すUIメニュー301を表示する。図3に示すUIメニュー301では、2色プリントにおいて黒と組み合わせる色(指定色)を選択するためのボタン302〜307及びOKボタン308が選択可能に表示されている。例えばRed(レッド)302、Green(グリーン)303、Blue(ブルー)304、Cyan(シアン)305、Magenta(マゼンタ)306、及びYellow(イエロー)307の各色の中から任意の色を選択することができる。ボタン302〜307の何れかを選択し、OKボタン308を操作することにより指定色を設定することができる。色判定部102は、図3に示すUIメニュー301から選択された指定色をRAM1402に格納する。なお、本実施形態では6色が選択可能である場合について説明するが、6色に限らなくてもよい。また、設定値は予め指定されていてもよいし、印刷を行なう際に設定されてもよい。   When the two-color color 203 is selected or when the OK button 204 is operated in a state where the two-color color 203 is selected, the display and operation unit 1409 controls the UI menu 301 shown in FIG. indicate. In the UI menu 301 shown in FIG. 3, buttons 302 to 307 for selecting a color to be combined with black (designated color) in two-color printing and an OK button 308 are displayed so as to be selectable. For example, it is possible to select an arbitrary color from each color of red (red) 302, green (green) 303, blue (blue) 304, cyan (cyan) 305, magenta (magenta) 306, and yellow (yellow) 307. it can. A designated color can be set by selecting one of the buttons 302 to 307 and operating the OK button 308. The color determination unit 102 stores the designated color selected from the UI menu 301 shown in FIG. Although the case where six colors can be selected will be described in the present embodiment, it is not limited to six colors. The set value may be designated in advance, or may be set when printing is performed.

図1の説明に戻る。2色変換テーブル生成部103は、CPU1401の制御によって、RAM1402から色判定部102で設定された指定色を取得する。2色変換テーブル生成部103は指定色に基づいて、RGB画像データを2色プリント用のCMYK画像データに変換するための2色変換テーブル(例えば、ルックアップテーブル形態)を生成する。生成した2色変換テーブルは、2色変換テーブル保持部104に格納される。2色変換テーブルの生成の詳細については後述する。   It returns to the explanation of FIG. The two-color conversion table generation unit 103 acquires the designated color set by the color determination unit 102 from the RAM 1402 under the control of the CPU 1401. The two-color conversion table generation unit 103 generates a two-color conversion table (for example, in the form of a look-up table) for converting RGB image data into CMYK image data for two-color printing based on the designated color. The generated two-color conversion table is stored in the two-color conversion table holding unit 104. Details of generation of the two-color conversion table will be described later.

色変換部105は、CPU1401の制御によって、画像データ取得部101で生成したRGB画像データをRAM1402から取得し、2色変換テーブル保持部104から2色変換テーブルを取得する。さらに、色変換部105は、取得した2色変換テーブルを用いてRGB画像データを2色プリント用のCMYK画像データに色変換する。2色プリント用のCMYK画像データは、RAM1402に格納する。なお、色変換方法としては、四面体補間や立方体補間などの知られている任意の色変換方法を用いることができる。色変換部105の処理の詳細については後述する。   The color conversion unit 105 acquires RGB image data generated by the image data acquisition unit 101 from the RAM 1402 under the control of the CPU 1401, and acquires a two-color conversion table from the two-color conversion table storage unit 104. Furthermore, the color conversion unit 105 performs color conversion of RGB image data into CMYK image data for two-color printing using the acquired two-color conversion table. CMYK image data for two-color printing is stored in the RAM 1402. In addition, as a color conversion method, any known color conversion method such as tetrahedron interpolation or cubic interpolation can be used. Details of the processing of the color conversion unit 105 will be described later.

ガンマ補正部106は、CPU1401の制御によって、色変換部105が変換したCMYK画像データをRAM1402から取得し、プリントエンジン108における階調特性を一定に保つための補正処理を取得したCMYK画像データに施す。補正処理を施したCMYK画像データはRAM1402に格納される。   The gamma correction unit 106 acquires CMYK image data converted by the color conversion unit 105 from the RAM 1402 under the control of the CPU 1401 and applies correction processing for maintaining the gradation characteristics in the print engine 108 to the acquired CMYK image data . The CMYK image data subjected to the correction processing is stored in the RAM 1402.

画像形成部107は、CPU1401の制御によって、ガンマ補正部106で補正されたCMYK画像データをRAM1402から取得しプリントエンジン108に適したN(整数)ビットのハーフトーン画像データに変換する。CPU1401はハーフトーン画像データをプリントエンジン108へ送る制御を行なう。なお、ハーフトーン処理としては濃度パターン法、組織的ディザ法、誤差拡散法等のさまざまな手法が提案されているが、本実施形態においては何れの手法を採用してもよい。なお、プリントエンジン108は、CMYKトナーを用いたエンジンであるものとして以下の実施形態の説明を行うが、CMYKインクを用いたエンジンであっても良いことは言うまでもない。   The image forming unit 107 acquires CMYK image data corrected by the gamma correction unit 106 from the RAM 1402 under control of the CPU 1401 and converts the CMYK image data into N (integer) bit halftone image data suitable for the print engine 108. The CPU 1401 controls sending halftone image data to the print engine 108. Although various methods such as a density pattern method, a systematic dither method, and an error diffusion method have been proposed as halftone processing, any method may be adopted in this embodiment. Although the print engine 108 is described below as an engine using CMYK toner, it is needless to say that an engine using CMYK ink may be used.

<色変換テーブルの生成処理>
次に、図4を参照して、本実施形態に係る2色変換テーブル生成部103の処理手順について説明する。2色変換テーブル生成部103の各処理はCPU1401の制御によって、ROM1403に格納されたプログラムをRAM1402に展開して実行することにより実現される。各処理にて生成したデータはRAM1402に保持し、RAM1402から取得することが可能である。
<Color conversion table generation process>
Next, the processing procedure of the two-color conversion table generation unit 103 according to the present embodiment will be described with reference to FIG. Each process of the two-color conversion table generation unit 103 is realized by expanding a program stored in the ROM 1403 into the RAM 1402 and executing the program under the control of the CPU 1401. Data generated in each process can be held in the RAM 1402 and acquired from the RAM 1402.

S401で、2色変換テーブル生成部103は、フルカラー印刷時に用いられるRGB画像データをCMYK画像データに変換するためのフルカラー用色変換テーブルを記憶装置112から読み込んで取得する。フルカラー用色変換テーブルはRGB信号によって規定される3次元色空間の立方体を規定しており、図5に示されるようにRGBの各8ビットデータの値に応じて、3次元色空間の立方体における座標を定めることができる。立方体の8つの頂点は、Red(R),Green(G),Blue(B),Yellow(Y),Magenta(M),Cyan(C),Black(K),及びWhite(W)を示す。また、色変換テーブルは入力データのRGB値によって規定される例えば16×16×16個の格子点を持ち、この格子点に対応するL*a*b*値(502)又はCMYK値(503)をテーブルデータとして格納したものである。つまり、テーブル502は、RGB値をL*a*b*値へ変換するテーブルであり、テーブル503は、RGB値をCMYK値に変換するテーブルである。例えばテーブル503では、RGB値(255,0,0)に対応するテーブルデータとしてCMYK値(0,255,255,0)が格納されている。   In step S401, the two-color conversion table generation unit 103 reads and acquires, from the storage device 112, a full-color color conversion table for converting RGB image data used in full-color printing into CMYK image data. The color conversion table for full color defines a cube of a three-dimensional color space defined by RGB signals, and as shown in FIG. 5, in the cube of the three-dimensional color space according to the value of each 8-bit data of RGB. Coordinates can be defined. The eight vertices of the cube indicate Red (R), Green (G), Blue (B), Yellow (Y), Magenta (M), Cyan (C), Black (K), and White (W). In addition, the color conversion table has, for example, 16 × 16 × 16 grid points defined by RGB values of input data, and L * a * b * values (502) or CMYK values (503) corresponding to the grid points. Are stored as table data. That is, the table 502 is a table for converting RGB values to L * a * b * values, and the table 503 is a table for converting RGB values to CMYK values. For example, in the table 503, CMYK values (0, 255, 255, 0) are stored as table data corresponding to RGB values (255, 0, 0).

図4の説明に戻る。次に、S402で、2色変換テーブル生成部103は、色判定部102においてRAM1402に格納された指定色をRAM1402から読み込んで取得する。続いて、S403で、2色変換テーブル生成部103は、S402で読み込んだ指定色に応じて、S401で読み込んだフルカラー用色変換テーブルに格納されているフルカラー用のCMYK値を2色プリント用のCMYK値に変換する。2色変換テーブル生成部103は逐次、変換結果をRAM1402に格納する。例えば、フルカラー用のCMYK値が16×16×16個の格子点を持つならば、全部で4096個の2色プリント用のCMY値とK値に変換する。具体的には、各格子点に対応するCMYK値に対して行列演算を行う。例えば指定色でRedが設定された場合、下記数式1のような行列演算を用いて、色変換テーブルに格納されているCMY値を、Redを構成する色値であるM値とY値に変換し、K値に関してはそのまま出力するように変換する。以下では、その他の指定色における数式についても記載する。   It returns to the explanation of FIG. Next, in S402, the two-color conversion table generation unit 103 causes the color determination unit 102 to read and acquire the designated color stored in the RAM 1402 from the RAM 1402. Subsequently, in step S403, the two-color conversion table generation unit 103 converts the full-color CMYK values stored in the full-color color conversion table read in step S401 for two-color printing according to the designated color read in step S402. Convert to CMYK values. The two-color conversion table generation unit 103 sequentially stores the conversion result in the RAM 1402. For example, if the CMYK values for full color have 16.times.16.times.16 grid points, they are converted into CMY values and K values for a total of 4096 two-color prints. Specifically, matrix operation is performed on the CMYK values corresponding to each lattice point. For example, when Red is set in a designated color, the CMY values stored in the color conversion table are converted into M values and Y values that are color values constituting Red using matrix operations like Equation 1 below. The K value is converted to be output as it is. In the following, formulas in other designated colors are also described.

Figure 2019071537
Figure 2019071537

上記数式7と同様に、他の中間色(ピンク、パープル等)に関しても同様の方法で変換することができる。   Similar to Equation (7), other intermediate colors (pink, purple, etc.) can be converted in the same manner.

次に、S404で、2色変換テーブル生成部103は、S403で変換された2色プリント用のCMYK値をRAM1402から読み出し2色変換テーブルを生成し、生成した2色変換テーブルを2色変換テーブル保持部104に書き出して、処理を終了する。   Next, in step S404, the 2-color conversion table generation unit 103 reads out the CMYK values for 2-color printing converted in step S403 from the RAM 1402, generates a 2-color conversion table, and generates the 2-color conversion table as a 2-color conversion table. Write to the holding unit 104 and end the process.

<色変換処理>
次に、図7のフローチャートを用いて色変換部105の処理の流れについて説明する。色変換部105の各処理はCPU1401の制御によって、ROM1403に格納されたプログラムをRAM1402に展開して実行することにより実現される。各処理にて生成したデータはRAM1402に保持し、RAM1402から取得することが可能である。
<Color conversion processing>
Next, the process flow of the color conversion unit 105 will be described using the flowchart of FIG. 7. Each process of the color conversion unit 105 is realized by expanding a program stored in the ROM 1403 into the RAM 1402 and executing the program under the control of the CPU 1401. Data generated in each process can be held in the RAM 1402 and acquired from the RAM 1402.

S701で、色変換部105は、色判定部102においてRAM1402に格納された、設定された指定色をRAM1402から取得する。続いて、S702で、色変換部105は、画像データ取得部101によりRAM1402に格納された画像データをRAM1402から取得する。   In step S701, the color conversion unit 105 acquires the set designated color stored in the RAM 1402 in the color determination unit 102 from the RAM 1402. Subsequently, in step S702, the color conversion unit 105 acquires the image data stored in the RAM 1402 by the image data acquisition unit 101 from the RAM 1402.

次に、S703で、色変換部105は、S702で取得した画像データをRGBからLCH空間に変換する。変換した画像データはRAM1402に格納する。LCH空間への変換は、RGB色空間をL*a*b*空間に一度変換し、更にLCH空間へ変換することにより行われる。ここでL*a*b*空間とは、デバイスに非依存の3次元の色空間としてCIE(国際照明委員会)が策定した色空間のことである。L*は明るさを表し、a*は赤の度合い、b*は黄色の度合いを示す。a*とb*が0に近づくと無彩色になり、a*とb*の値が0から離れるほど鮮やかになる。また、LCH空間とはL*a*b*空間と同様にデバイスに非依存の3次元色空間である。Lは明度を表し、Cは彩度、Hは色相を表す。Hの値は0から360の角度で表される。   Next, in step S703, the color conversion unit 105 converts the image data acquired in step S702 from RGB to LCH space. The converted image data is stored in the RAM 1402. The conversion to the LCH space is performed by once converting the RGB color space to the L * a * b * space and further converting to the LCH space. Here, the L * a * b * space is a color space developed by the CIE (International Commission on Illumination) as a device-independent three-dimensional color space. L * indicates the brightness, a * indicates the degree of red, and b * indicates the degree of yellow. It becomes achromatic when a * and b * approach 0, and becomes brighter as the values of a * and b * deviate from 0. Also, LCH space is a device-independent three-dimensional color space, similar to L * a * b * space. L represents lightness, C represents saturation, and H represents hue. The value of H is represented by an angle of 0 to 360.

ここで、具体的にRGB画像データをL*a*b*空間に変換する方法について説明する。L*a*b*空間への変換は、RGB画像データの各画素のRGB値を、一画素ずつL*a*b*値に変換していく。各画素のL*a*b*値への変換は、図5の502に示すようなRGB→L*a*b*変換テーブル502を記憶装置112から取得し、補間演算をすることで行う。RGB→L*a*b*変換テーブル502は、RGB信号によって規定される3次元色空間の立方体を規定している。図5に示されるように、テーブル502では、RGBの各8ビットデータ(0〜255)の値に応じて、3次元色空間の立方体(501)における座標を定めることができる。立方体の8つの頂点は、Red、Green、Blue、Yellow、Magenta、Cyan、Black、Whiteを示す。また、RGB→L*a*b*変換テーブル502は入力データのRGB値によって規定される例えば9×9×9個の格子点を持ち、この格子点に対応するL*a*b*値をテーブルデータとして格納したものである。例えば図5のテーブル502では、RGB値(255,0,0)に対応するテーブルデータとしてL*a*b*値(44.01,61.37,39.68)が格納されている。   Here, a method of converting RGB image data into L * a * b * space will be specifically described. In the conversion to the L * a * b * space, the RGB values of each pixel of the RGB image data are converted into L * a * b * values pixel by pixel. Conversion of each pixel to an L * a * b * value is performed by acquiring an RGB → L * a * b * conversion table 502 as shown at 502 in FIG. 5 from the storage device 112 and performing an interpolation operation. The RGB → L * a * b * conversion table 502 defines a cube of a three-dimensional color space defined by RGB signals. As shown in FIG. 5, in the table 502, the coordinates in the cube (501) of the three-dimensional color space can be determined in accordance with the value of each 8-bit data (0 to 255) of RGB. The eight vertices of the cube indicate Red, Green, Blue, Yellow, Magenta, Cyan, Black, White. Also, the RGB → L * a * b * conversion table 502 has, for example, 9 × 9 × 9 grid points defined by the RGB values of the input data, and L * a * b * values corresponding to these grid points are It is stored as table data. For example, in the table 502 of FIG. 5, L * a * b * values (44.01, 61. 37, 39. 68) are stored as table data corresponding to RGB values (255, 0, 0).

補間演算は演算用テーブルで定義されていない値が入力された場合に、入力された値に近い演算用テーブルで定義された値を用いて補間を行うものである。補間演算の方法に四面体補間と呼ばれるものがある。四面体補間は、入力された値に近い4つの演算テーブルで定義された値を用いて補間演算を行うものである。本処理においては、入力をRGB画像データの各画素のRGB値とし、演算用テーブルをRGB→L*a*b*変換テーブル502として四面体補間の演算を行うことで、各画素のL*a*b*値を算出する。なお、本実施形態では変換に四面体補間を用いたがこれに限られるものではなく、演算式による変換など、RGB空間をL*a*b*空間に変換できればどのような方法を用いてもよい。続いてL*a*b*空間に変換したRGB画像データをLCH空間に変換する。L*a*b*のL*とLCHのLは同じものであるため、そのまま用いる。C(彩度)の値は、以下の数式8、数式9により求める。
C = sqrt(a*^2 + b*^2)・・・数式8
ここで、sqrtは平方根の計算を表し、^は累乗の計算を表す。また、H(色相)の値は、以下の数式により求める。
H = arctan(b*/a*) × (180/PI)
H = H (H>=0の場合)
H = H + 360 (H<0の場合)・・・数式9
ここで、arctanはアークタンジェントの計算を表し、PIは円周率のπを表す。またHは0°〜360°の角度で表現される。これらの処理をRGB画像データの全ての画素に行うことで、RGB画像データの色空間を変換する。
In the interpolation calculation, when a value not defined in the calculation table is input, interpolation is performed using a value defined in the calculation table close to the input value. One method of interpolation calculation is called tetrahedron interpolation. In tetrahedral interpolation, interpolation calculation is performed using values defined in four calculation tables close to the input value. In this process, the input is RGB values of each pixel of RGB image data, and the operation table is an RGB → L * a * b * conversion table 502 to perform tetrahedron interpolation operation to obtain L * a of each pixel. Calculate the * b * value. Although tetrahedral interpolation is used for conversion in the present embodiment, the present invention is not limited to this, and any method may be used as long as RGB space can be converted to L * a * b * space, such as conversion by an arithmetic expression. Good. Subsequently, the RGB image data converted into the L * a * b * space is converted into the LCH space. Since L * of L * a * b * and L of LCH are the same, they are used as they are. The value of C (saturation) is determined by the following Equation 8 and Equation 9.
C = sqrt (a * ^ 2 + b * ^ 2) formula 8
Here, sqrt represents a square root calculation, and ^ represents a power calculation. Further, the value of H (hue) is obtained by the following equation.
H = arctan (b * / a *) x (180 / PI)
H = H (when H> 0)
H = H + 360 (in the case of H <0) Formula 9
Here, arctan represents the calculation of arctangent, and PI represents pi of π. H is expressed by an angle of 0 ° to 360 °. The color space of RGB image data is converted by performing these processes on all the pixels of RGB image data.

図7の説目に戻る。次に、S704で、色変換部105は、RAM1402から表示兼操作部1409に表示されるモード設定値を読み込む。図8は、画像処理装置の表示兼操作部1409(UI)に表示されるモード設定値のUIメニュー800の一例を示す。UIメニュー800では、2色プリント時の色の置き換え方法をモードA801と、モードB802の2種類のうち一つが選択可能に表示され、さらにOKボタン803が選択可能に表示される。図2に示す2色カラーの選択UIメニュー201で、2色カラーが選択された場合に、表示兼操作部1409は図3の色の選択UI301を表示する。色の選択が表示されると、続いて図8のUIメニュー800が表示兼操作部1409に表示され、選択することが可能となる。   Return to the predication of FIG. Next, in step S704, the color conversion unit 105 reads the mode setting value displayed on the display and operation unit 1409 from the RAM 1402. FIG. 8 shows an example of a UI menu 800 of mode setting values displayed on the display and operation unit 1409 (UI) of the image processing apparatus. In the UI menu 800, one of two types of mode A 801 and mode B 802 is displayed so as to be selectable as a method of replacing colors in two-color printing, and an OK button 803 is displayed so as to be selectable. When two-color color is selected in the two-color color selection UI menu 201 shown in FIG. 2, the display / operation unit 1409 displays the color selection UI 301 in FIG. 3. When the color selection is displayed, the UI menu 800 shown in FIG. 8 is subsequently displayed on the display / operation unit 1409 and can be selected.

モードA801が選択された場合、S702にて取得した画像データのうち、無彩色部は無彩色(例えば、グレー)、有彩色部はS701にて取得した指定色に置き換えられる。一方、モードB802が選択された場合、S702で取得した画像データの有彩色部でありS701にて取得した指定色の色相の箇所が、指定色に置き換えられ、その他の有彩色部や無彩色部はグレーに置き換えられる。なお、設定値は予めユーザに選択させてもよいし、印刷ジョブ等を受け付けて2色プリントを行なう際にユーザに選択させてもよい。また、モードAとモードBの2種類に限らず他のモードを選択できてもよい。   When the mode A 801 is selected, the achromatic part is replaced with an achromatic color (for example, gray) and the chromatic part is replaced with the designated color acquired in S 701 among the image data acquired in S 702. On the other hand, when mode B 802 is selected, the portion of the hue of the designated color acquired in S 701 that is the chromatic part of the image data acquired in S 702 is replaced with the designated color, and other chromatic parts and achromatic parts Is replaced by gray. The setting value may be selected by the user in advance, or may be selected by the user when a print job or the like is received and two-color printing is performed. Also, the mode is not limited to the two types of mode A and mode B, and other modes may be selected.

次に、S705で、色変換部105は、S704でて取得した2色プリント時の色の置き換え方法がモードAかモードBかのいずれかを判定し、モードAであればS706の処理を行う。一方、モードBであればS707の処理を行う。S706で、色変換部105は、S702で取得した画像データをモードAの色変換方法でCMYK値に変換する。変換した画像データはRAM1402に格納する。S706の処理の結果、S702で取得した画像データのうち、無彩色部はグレー、有彩色部はS701で取得した指定色(例えば、CMYRGB等)に置き換える画像処理を実行する。画像処理の詳細については後述する。図6に、S706の処理実行した際の色変換の処理結果を示す。例えば、原稿600がYellowとBlackとRedとで構成され、S701にてYellowが指定色として設定された場合、2色サンプル(1)601が印刷される。これは有彩色であるYellowとRedの箇所はいずれも指定色Yellowに変換されBlackの箇所はBlackに変換されるためである。   Next, in step S705, the color conversion unit 105 determines which of the mode A and the mode B the color replacement method for two-color printing acquired in step S704 is, and if mode A, the process of step S706 is performed. . On the other hand, if the mode is mode B, the process of S 707 is performed. In step S706, the color conversion unit 105 converts the image data acquired in step S702 into CMYK values using the mode A color conversion method. The converted image data is stored in the RAM 1402. As a result of the process of S706, of the image data acquired in S702, the achromatic part performs gray image processing, and the chromatic part performs image processing to replace the designated color (for example, CMYRGB or the like) acquired in S701. Details of the image processing will be described later. FIG. 6 shows the processing result of color conversion when the processing of S706 is executed. For example, when the document 600 is configured of Yellow, Black, and Red, and Yellow is set as the designated color in S701, the two-color sample (1) 601 is printed. This is because the portions of yellow and red, which are chromatic colors, are both converted to the designated color Yellow, and the portions of Black are converted to Black.

一方、S707で、色変換部105は、S702で取得した画像データをモードBの色変換方法でCMYK値に変換する。変換した画像データはRAM1402に格納する。S707の処理の結果、S702で取得した画像データのうち有彩色部かつS701で取得した指定色箇所を指定色に変換し、それ以外の有彩色部や無彩色部はグレーに置き換える画像処理を実行する。S707における2色変換の処理結果例を図6に示す。例えば、原稿600がYellowとBlackとRedとで構成され、S701にてYellowが指定色として設定された場合、2色サンプル(2)602が印刷される。これは指定色である原稿上のYellowの範囲が指定色Yellowに変換され、その他原稿のRedやBlackの箇所はBlackに変換されるためである。画像処理の詳細については後述する。   On the other hand, in step S 707, the color conversion unit 105 converts the image data acquired in step S 702 into CMYK values using the mode B color conversion method. The converted image data is stored in the RAM 1402. As a result of the processing of S 707, among the image data acquired in S 702, the chromatic color part and the designated color part acquired in S 701 are converted into the designated color, and the other chromatic parts and achromatic parts execute image processing to be replaced by gray. Do. An example of the processing result of the two-color conversion in S707 is shown in FIG. For example, when the document 600 is configured of Yellow, Black, and Red, and Yellow is set as the designated color in S701, the two-color sample (2) 602 is printed. This is because the yellow range on the document which is the designated color is converted to the designated color Yellow, and the red and black portions of the other document are transformed to Black. Details of the image processing will be described later.

その後、S708で、色変換部105は、S706又はS707で画像データがRAM1402に格納されると、CPU1401の制御によって、ガンマ補正部106の処理を開始するために画像を出力する。   After that, when the image data is stored in the RAM 1402 in S706 or S707 in S708, the color converter 105 outputs an image to start the processing of the gamma correction unit 106 under the control of the CPU 1401.

<モードAの色変換処理>
次に、図9のフローチャートを用いて色変換部105の処理におけるモードAで色変換する処理(S706)の詳細について説明する。色変換部105の各処理はCPU1401の制御によって、ROM1403に格納されたプログラムをRAM1402に展開して実行することにより実現される。各処理にて生成したデータはRAM1402に保持し、RAM1402から取得することが可能である。
<Color conversion processing of mode A>
Next, details of the process (S706) of performing color conversion in mode A in the process of the color conversion unit 105 will be described using the flowchart of FIG. Each process of the color conversion unit 105 is realized by expanding a program stored in the ROM 1403 into the RAM 1402 and executing the program under the control of the CPU 1401. Data generated in each process can be held in the RAM 1402 and acquired from the RAM 1402.

S901で、色変換部105は、S703でLCH空間に変換した画像データをRAM1402から取得し、注目画素の画素値のうち、C(彩度)の値を用いて、有彩色であるか無彩色であるかを判定する。有彩色か無彩色かの判定は、予め記憶装置112に保持された閾値を取得し、当該閾値とC(彩度)の値とを比較することで行う。例えば閾値を20とした場合、C(彩度)が20未満であれば無彩色と判定し、20以上であれば有彩色と判定する。本実施形態では閾値を予め保持した値としたが、入力画像の構成に応じて動的に設定してもよいし、UIなどから選択できるようにしてもよい。また、本実施形態では判定結果をフラグとしてRAM1402に格納する。色変換部105は、判定結果に応じて色彩判定フラグを生成し、無彩色であれば色彩判定フラグを0に、有彩色であれば色彩判定フラグを1に設定する。もちろん有彩色か無彩色かの情報をRAM1402に格納することができれば、どのような形態でもよい。   In step S901, the color conversion unit 105 acquires the image data converted into the LCH space in step S703 from the RAM 1402, and is a chromatic color or an achromatic color using the value of C (saturation) among the pixel values of the target pixel. Determine if it is. The determination as to whether the color is chromatic or achromatic is performed by acquiring a threshold previously stored in the storage device 112 and comparing the threshold with the value of C (saturation). For example, when the threshold value is 20, if C (saturation) is less than 20, it is determined to be achromatic, and if it is 20 or more, it is determined to be chromatic. In the present embodiment, although the threshold value is a value held in advance, it may be set dynamically according to the configuration of the input image, or may be selected from the UI or the like. Further, in the present embodiment, the determination result is stored in the RAM 1402 as a flag. The color conversion unit 105 generates a color determination flag according to the determination result, and sets the color determination flag to 0 if it is achromatic, and to 1 if it is chromatic. Of course, any form may be used as long as the information as to whether it is a chromatic color or an achromatic color can be stored in the RAM 1402.

次に、S902で、色変換部105は、S702でRAM1402に格納した画像データをRAM1402から取得し、S901での注目画素と同一座標の画素を指定色に変換するか無彩色に変換するかを判定する。また、本実施形態によれば、色変換部105は、判定結果をフラグとしてRAM1402に格納する。色変換部105は、S901で生成した有彩無彩判定結果をRAM1402から取得し色彩判定フラグが1であれば指定色判定フラグを1に設定し、色彩判定フラグが0であれば指定色判定フラグを0に設定する。生成した指定色判定フラグはRAM1402に格納する。もちろん指定色変換か無彩色変換かの情報をRAM1402に格納することができればどのような形態でもよい。   Next, in step S902, the color conversion unit 105 acquires the image data stored in the RAM 1402 in step S702 from the RAM 1402, and determines whether to convert the pixel at the same coordinates as the target pixel in step S901 into a specified color or achromatic. judge. Further, according to the present embodiment, the color conversion unit 105 stores the determination result as a flag in the RAM 1402. The color conversion unit 105 acquires the chromatic / achromatic determination result generated in S901 from the RAM 1402, and sets the designated color determination flag to 1 if the color determination flag is 1, and determines the specified color if the color determination flag is 0. Set the flag to 0. The specified color determination flag generated is stored in the RAM 1402. Of course, any form may be used as long as information on whether the designated color conversion or the achromatic conversion can be stored in the RAM 1402.

次に、S903で、色変換部105は、S902で生成した指定色判定フラグをRAM1402から取得し、指定色判定フラグが1であるか否かを判断し、1である場合はS904の処理を行う。一方、指定色判定フラグが0である場合は、S905の処理を行う。   Next, in step S903, the color conversion unit 105 acquires the designated color determination flag generated in step S902 from the RAM 1402, and determines whether the designated color determination flag is 1 or not. Do. On the other hand, if the specified color determination flag is 0, the process of S905 is performed.

S904で、色変換部105は、S902で扱った画像データの注目画素をS701で取得した指定色に置き換え、RAM1402に格納する。指定色への変換の流れとしては、まず2色変換テーブル保持部104に保持された2色用の色変換テーブルを用いて、画素のRGB値をCMYK値に変換する。   In step S904, the color conversion unit 105 replaces the target pixel of the image data handled in step S902 with the designated color acquired in step S701, and stores the specified color in the RAM 1402. As a flow of conversion to a designated color, first, using the color conversion table for two colors stored in the two-color conversion table storage unit 104, RGB values of pixels are converted to CMYK values.

一方、S905で、色変換部105は、S902で扱った画像データの注目画素をグレーに置き換える。色変換部105は、S702で取得した画像データの画素のRGB値を無彩色に変換し、RAM1402に格納する。無彩色への変換の流れは、2色変換テーブル保持部104に保持されたフルカラー用の色変換テーブルを用いて、画素のRGB値をCMYK値に変換する。続いてフルカラーのCMYK値に対して、演算式を用いて無彩色を構成するCMYK値に変換する。フルカラー用の色変換テーブルを用いたCMYK値への変換は、S904と同様であるため説明を省略する。続いて、フルカラー用色変換テーブルを用いた四面体補間演算により算出されたフルカラーのCMYK値を、演算式を用いて無彩色を構成するCMYK値に変換する。演算は下記の行列式(数式10)を用いた演算を行う。   On the other hand, in step S905, the color conversion unit 105 replaces the target pixel of the image data handled in step S902 with gray. The color conversion unit 105 converts the RGB values of the pixels of the image data acquired in S702 into an achromatic color, and stores the achromatic color in the RAM 1402. In the flow of conversion to achromatic color, RGB values of pixels are converted into CMYK values using the full-color color conversion table stored in the two-color conversion table storage unit 104. Subsequently, full-color CMYK values are converted to CMYK values constituting an achromatic color using an arithmetic expression. The conversion to CMYK values using the full color color conversion table is the same as that in step S904, and thus the description thereof is omitted. Subsequently, full color CMYK values calculated by tetrahedron interpolation calculation using a full color color conversion table are converted into CMYK values constituting an achromatic color using an arithmetic expression. The calculation is performed using the following matrix equation (Equation 10).

Figure 2019071537
Figure 2019071537

本実施形態では色変換テーブルと行列式の演算を用いてRGB値から無彩色を構成するCMYK値への変換を行ったが、RGB値を無彩色のCMYK値へ変換することができれば、どのような方法を用いてもよい。   In this embodiment, conversion from RGB values to CMYK values constituting an achromatic color is performed using a color conversion table and a matrix operation, but if RGB values can be converted to achromatic color CMYK values, how is it? Methods may be used.

次に、S906で、色変換部105は、S702でRAM1402から取得したRGB画像データの全ての画素を処理したかどうかを判定する。判定方法は、各画素に処理済みを表すフラグを付与することで、判定してもよいし、画像データ取得時に全画素数をRAM1402に保持しておき全画素数分処理を繰り返したかを判定してもよい。全ての画素を処理していない場合は、S901に戻る。一方、全ての画素を処理していれば、本フローチャートを終了する。   Next, in step S906, the color conversion unit 105 determines whether all the pixels of the RGB image data acquired from the RAM 1402 in step S702 have been processed. The determination method may be made by providing a flag indicating that each pixel has been processed, or the total number of pixels is held in the RAM 1402 at the time of image data acquisition, and it is determined whether the processing has been repeated for the total number of pixels. May be If all the pixels have not been processed, the process returns to S901. On the other hand, if all pixels have been processed, this flowchart ends.

<モードBの色変換処理>
次に、図10のフローチャートを用いて色変換部105の処理におけるモードBで色変換する処理(S707)の詳細について説明する。色変換部105の各処理はCPU1401の制御によって、ROM1403に格納されたプログラムをRAM1402に展開して実行することにより実現される。各処理にて生成したデータはRAM1402に保持し、RAM1402から取得することが可能である。
<Color conversion processing of mode B>
Next, details of the process (S 707) of performing color conversion in mode B in the process of the color conversion unit 105 will be described using the flowchart of FIG. 10. Each process of the color conversion unit 105 is realized by expanding a program stored in the ROM 1403 into the RAM 1402 and executing the program under the control of the CPU 1401. Data generated in each process can be held in the RAM 1402 and acquired from the RAM 1402.

S1001で、色変換部105は、S703でRAM1402に格納した画像データの注目画素の、C(彩度)の値を用いて、有彩色であるか無彩色であるかを判定する。本処理は前述したS901と同様であるため説明を割愛する。   In step S1001, the color conversion unit 105 determines whether the color is chromatic or achromatic using the value of C (saturation) of the target pixel of the image data stored in the RAM 1402 in step S703. Since this process is the same as that of S901 mentioned above, explanation is omitted.

次に、S1002で、色変換部105は、S701で取得した指定色と記憶装置112に予め格納されている色相範囲値から注目画素が指定色の色相範囲内であるか否かを判断する。色相範囲値とは、指定色であるC,M,Y,R,G,Bのそれぞれの色の色相の範囲を表す値である。   Next, in step S1002, the color conversion unit 105 determines whether the target pixel is within the hue range of the designated color based on the designated color acquired in step S701 and the hue range value stored in advance in the storage device 112. The hue range value is a value that represents the hue range of each of the designated colors C, M, Y, R, G, and B.

図11は、L*a*b*色空間におけるa*b*平面上の色相を表す図である。横軸がa*値を示し、縦軸がb*値を示す。例えば、1101から1102の範囲の色相を持つ色はRed、1102から1103の範囲の色相を持つ色はYellowというように表現される。色相範囲値はC,M,Y,R,G,Bのそれぞれに対応して予め定めた値を用いる。色相範囲値は下限値と上限値の二つの値を持つ。例えば図11のRedの範囲であれば、色相範囲下限値は1101に相当する色相値(例えば10°)であり、色相範囲上限値は1102に相当する色相値(例えば80°)である。そのため、指定色がRedである場合、色相範囲値として、色相範囲下限値は10°、色相範囲上限値は80°と予め定められている。ただし、図11のMagentaのように、0°であるa*軸を含む色相範囲の場合、色相範囲としては0°から色相下限値1101の間と、色相上限値1106と360°の間となる。   FIG. 11 is a diagram showing the hue on the a * b * plane in the L * a * b * color space. The horizontal axis shows the a * value, and the vertical axis shows the b * value. For example, a color having a hue in the range of 1101 to 1102 is expressed as Red, and a color having a hue in the range of 1102 to 1103 is expressed as Yellow. The hue range value uses a predetermined value corresponding to each of C, M, Y, R, G, and B. The hue range value has two values, a lower limit value and an upper limit value. For example, in the range of Red in FIG. 11, the hue range lower limit is a hue value (for example, 10 °) corresponding to 1101, and the hue range upper limit is a hue value (for example, 80 °) corresponding to 1102. Therefore, when the designated color is Red, the lower limit value of the hue range is 10 ° and the upper limit value of the hue range is 80 ° as the hue range value. However, as in the case of Magenta in FIG. 11, in the case of the hue range including the a * axis which is 0 °, the hue range is between 0 ° and the hue lower limit 1101 and between the hue upper limit 1106 and 360 °. .

本実施形態において色相範囲値は予め定められた値としたが、画像処理装置の特性に応じて動的に設定してもよいし、UIなどから選択できるようにしてもよい。色相範囲内か否かの判定は、例えば、指定色がRedである場合、色相範囲下限値は10°、色相範囲上限値は80°であるため、H(色相)の値が10°以上、80°未満であれば色相範囲内と判定し、そうでなければ色相範囲外と判定する。本実施形態では判定結果をフラグとしてRAM1402に格納する。判定結果に応じて色相範囲内であるか否かを示す色相判定フラグを生成し、色相範囲内であれば色相判定フラグを1に設定し、色相範囲外であれば色相判定フラグを0に設定する。もちろん色相範囲内外の情報をRAM1402に格納することができれば、どのような形態でもよい。   Although the hue range value is a predetermined value in the present embodiment, it may be set dynamically according to the characteristics of the image processing apparatus, or may be selected from a UI or the like. For example, when the designated color is Red, the hue range lower limit is 10 ° and the hue range upper limit is 80 °. Therefore, the value of H (hue) is 10 ° or more. If it is less than 80 °, it is determined that it is within the hue range, otherwise it is determined that it is outside the hue range. In the present embodiment, the determination result is stored in the RAM 1402 as a flag. A hue determination flag indicating whether or not it is within the hue range is generated according to the determination result, the hue determination flag is set to 1 if it is within the hue range, and the hue determination flag is set to 0 if it is outside the hue range. Do. Of course, any form may be used as long as the information inside and outside the hue range can be stored in the RAM 1402.

図10の説明に戻る。次に、S1003で、色変換部105は、S703で変換した画像データをRAM1402から取得し、色相彩度の境界画素の有無を判定し、判定結果の情報を生成する。本実施形態では生成した判定結果をフラグとしてRAM1402に保持する。色相彩度の境界画素の有無判定が前述の条件を満たしていなければフラグを0に設定し、満たしていればフラグを1に設定する。もちろん判定結果の情報をRAM1402に格納することができれば、どのような形態でもよい。   It returns to the explanation of FIG. Next, in step S1003, the color conversion unit 105 acquires the image data converted in step S703 from the RAM 1402, determines the presence or absence of a hue saturation pixel, and generates information on the determination result. In the present embodiment, the generated determination result is held in the RAM 1402 as a flag. If it is determined that the hue / saturation boundary pixel does not satisfy the above condition, the flag is set to 0, and if it is satisfied, the flag is set to 1. Of course, any form may be used as long as information on the determination result can be stored in the RAM 1402.

色相彩度の境界画素の有無判定とは、色相範囲の内外判定の判定結果が切替わる境界部付近又は色相判定の判定結果が切替わる境界部付近に、画像データの画素が存在するかの判定と、存在する場合に画素が所定の条件を満たすかの判定である。本処理の詳細については後述する。   With the presence / absence determination of the hue / saturation boundary pixel, it is determined whether the pixel of the image data is present near the boundary where the determination result of the inside / outside determination of the hue range is switched or near the boundary where the determination result of the hue determination is switched. It is a determination as to whether a pixel satisfies a predetermined condition when it is present. Details of this process will be described later.

次に、S1004で、色変換部105は、S702で取得した画像データの注目画素を指定色に変換するか、無彩色に変換するかを判定する。図13は各フラグの値の組合せにおいて、指定色と無彩色のどちらの変換を行うかを示す。S1001で生成され、記憶装置112に保持された色彩判定フラグが1301に対応する。S1002で生成され、記憶装置112に保持された色相判定フラグが1302に対応する。S1003で生成され、記憶装置112に保持された色相彩度の境界画素判定フラグが1303に対応する。各判定フラグの値を入力とし、図13の変換色1304を出力とするテーブル(判定結果出力テーブル)が記憶装置112に予め保持されている。変換色1304に関しては、例えば指定色を1、無彩色を0というように値を対応付けて、その値を出力値とする。色判定部102は、記憶装置112から判定結果出力テーブルを取得し、テーブルを用いて、色彩判定フラグ、色相判定フラグ、色相彩度の境界画素判定フラグの値を入力として、指定色又は無彩色に相当する値(例えば1又は0)を出力する。なお、図13のNo.1及びNo.7の組合せは本処理上では存在しないため、該当なしとしている。   Next, in step S1004, the color conversion unit 105 determines whether to convert the pixel of interest of the image data acquired in step S702 into a designated color or into an achromatic color. FIG. 13 shows which of the designated color and the achromatic color is to be converted in the combination of the values of the flags. The color determination flag generated in S1001 and held in the storage device 112 corresponds to 1301. The hue determination flag generated in S1002 and held in the storage device 112 corresponds to 1302. The hue / saturation boundary pixel determination flag generated in S1003 and held in the storage device 112 corresponds to 1303. A table (determination result output table) which has the value of each determination flag as an input and the converted color 1304 of FIG. 13 as an output is stored in advance in the storage device 112. For the conversion color 1304, for example, values are associated such that the designated color is 1, and the achromatic color is 0, and the value is set as an output value. The color determination unit 102 acquires a determination result output table from the storage device 112, and uses the table to input the values of the color determination flag, the hue determination flag, and the boundary pixel determination flag of hue saturation, as a designated color or achromatic color Output a value (for example, 1 or 0) corresponding to Note that the numbers in FIG. 1 and No. 1 Since the combination of 7 does not exist in the present processing, it is not applicable.

次に、S1005で、色変換部105は、S1004で生成した指定色判定フラグをRAM1402から取得し、1であるか否かを判断し、1である場合はS1006の処理を行う。一方、指定色判定フラグが0である場合は、S1007の処理を行う。S1006における処理は、上記S904と同様であるため、説明は割愛する。一方、S1007における処理は、上記S905と同様であるため、説明は割愛する。   Next, in step S1005, the color conversion unit 105 acquires the specified color determination flag generated in step S1004 from the RAM 1402, determines whether it is 1 or not, and performs 1 in the case of 1. On the other hand, when the designated color determination flag is 0, the processing of S1007 is performed. The processing in step S1006 is the same as that in step S904, and thus the description thereof is omitted. On the other hand, the processing in step S1007 is the same as that in step S905, and thus the description will be omitted.

最後に、S1008で、色変換部105は、S702で取得したRGB画像データの全ての画素を処理したか否かを判定する。全ての画素を処理したか否かの判定は、各画素に処理済みかどうかを表すフラグを付与して、全ての画素のフラグが処理済みとなったかを判定する。なお、S702において画像データを取得した際に全画素数をRAM1402に保持しておき、全画素数分処理を繰り返したかを判定してもよい。全ての画素を処理していない場合は、S1001に戻る。一方、全ての画素を処理していれば、本フローチャートを終了する。   Finally, in step S1008, the color conversion unit 105 determines whether all the pixels of the RGB image data acquired in step S702 have been processed. The determination as to whether all pixels have been processed adds a flag indicating whether each pixel has been processed, and determines whether the flag of all pixels has been processed. Note that when image data is acquired in S702, the total number of pixels may be held in the RAM 1402, and it may be determined whether the processing has been repeated for the total number of pixels. If all the pixels have not been processed, the process returns to step S1001. On the other hand, if all pixels have been processed, this flowchart ends.

<境界画素判定>
次に、図10のS1003における詳細処理について説明する。S1003において色変換部105は、CPU1401の制御によって、S703で変換した画像データをRAM1402から取得し、色相彩度の境界画素の有無を判定し、判定結果の情報を生成する。判定結果はフラグとしてRAM1402に格納される。例えば、指定色がRedの場合、図12の実線で囲まれた領域が、Redの色相範囲内かつ有彩色部分となる。この領域の辺の内、外周を除いた1208、1209、1210が判定結果の境界部となる。S703でLCHに変換された画像データの注目画素が、この境界部付近か否かが判定される。画素が境界部付近に存在するか否かの判定は、画素のH(色相)とC(彩度)が予め定められた範囲内に存在するかどうかで行う。本実施形態において、予め定められた範囲とは、以下のいずれかの条件を満たす範囲のことである。
・画素の「C(彩度)が有彩色の範囲内」かつ「H(色相)が色相範囲下限値を中心とした±5°の範囲内又は色相範囲上限値を中心とした±5°の範囲内」
・画素の「C(彩度)が有彩無彩判定境界(1210)を中心とした±5の範囲内」かつ「H(色相)が指定色の色相範囲内」
前述の条件を満たすか否かを判定するために、予め図15に示すようなテーブルの形式で記憶装置112に予め格納され、S701で取得した指定色に応じた各値を参照する。例えば指定色がRedの場合について説明する。図15のテーブルのRの行の下限値[10]、上限値[80]、下限境界範囲(下限値)[5]、上限境界範囲(下限値)[15]、下限境界範囲(上限値)[75]、上限境界範囲(上限値)[85]を取得する。そして、S703でLCHに変換された画像データの注目画素の値と比較し、前述の値の範囲内である場合に色相彩度の境界画素であると判断する。
<Boundary pixel determination>
Next, the detailed process in S1003 of FIG. 10 will be described. In step S1003, the color conversion unit 105 acquires the image data converted in step S703 from the RAM 1402 under the control of the CPU 1401, determines the presence or absence of a hue saturation pixel, and generates information on the determination result. The determination result is stored in the RAM 1402 as a flag. For example, when the designated color is Red, the area enclosed by the solid line in FIG. 12 is within the hue range of Red and a chromatic part. Among the sides of this area, 1208, 1209, and 1210 excluding the outer periphery become the boundary part of the determination result. It is determined whether the target pixel of the image data converted to LCH in S703 is near the boundary. Whether or not the pixel exists near the boundary is determined based on whether the H (hue) and C (saturation) of the pixel are within a predetermined range. In the present embodiment, the predetermined range is a range that satisfies any one of the following conditions.
· The pixel “C (saturation) is within the chromatic range” and “H (hue) is within ± 5 ° centering on the lower limit of the hue range or ± 5 ° centering on the upper limit of the hue range Within range
・ The pixel “C (saturation) is within ± 5 range centered on the chromatic achromatic judgment boundary (1210)” and “H (hue) is within the hue range of the specified color”
In order to determine whether the above conditions are satisfied, each value corresponding to the designated color, which is stored in advance in the form of a table as shown in FIG. For example, the case where the designated color is Red will be described. Lower limit value [10], upper limit value [80], lower limit boundary range (lower limit value) [5], upper limit boundary range (lower limit value) [15], lower limit boundary range (upper limit value) of the row of R in the table in FIG. [75] Acquire the upper limit boundary range (upper limit value) [85]. Then, the value is compared with the value of the target pixel of the image data converted to LCH in S703, and when it is within the range of the above-mentioned value, it is determined to be the boundary pixel of hue and saturation.

例えば指定色がRedの場合、画素の「C(彩度)が20以上」かつ「H(色相)が5°〜15°の範囲又は75°〜85°の範囲」である場合、境界付近に存在すると判定する。或いは、画素の「C(彩度)が15〜25」かつ「H(色相)が10°〜80°の範囲」である場合、境界付近に存在すると判定する。本実施形態では、C(彩度)は±5、H(色相)は±5°の範囲としたが、画像処理装置の特性に応じて動的に設定してもよいし、UIなどから選択できるようにしてもよい。   For example, in the case where the designated color is Red, in the case where “C (saturation) is 20 or more” and “H (hue) is in the range of 5 ° to 15 ° or in the range of 75 ° to 85 °” It determines that it exists. Alternatively, in the case where “C (saturation) is 15 to 25” and “H (hue) is in the range of 10 ° to 80 °” of the pixel, it is determined that the pixel is near the boundary. In this embodiment, C (saturation) is ± 5 and H (hue) is ± 5 °, but may be set dynamically according to the characteristics of the image processing apparatus, or selected from the UI or the like. It may be possible.

以上説明したように、本実施形態に係る画像処理装置は、フルカラーの印刷データを2色の色材で印刷する場合に、当該フルカラーの印刷データを2色の印刷データに変換する変換方法を指定するユーザ入力を受け付ける。さらに、本画像処理装置は、受け付けた変換方法に従って、フルカラーの印刷データを2色の印刷データに変換する。このように2色プリントの色の置き換え方法を選択することが可能なUIを設け、設定された色の置き換え方法に応じて2色プリントすることにより個々の印刷目的に応じた2色プリントの色の置き換え方法をユーザ入力により選択することが可能となる。つまり、2色プリントにおける色の置き換え方法をユーザの印刷目的に応じて選択することができる。   As described above, when printing full-color print data with two-color colorants, the image processing apparatus according to the present embodiment specifies a conversion method for converting the full-color print data into two-color print data. Accept user input. Furthermore, the image processing apparatus converts full-color print data into two-color print data according to the received conversion method. As described above, a UI is provided which allows the user to select the replacement method of the color of the two-color print, and the two-color print according to the individual printing purpose by performing the two-color printing according to the set replacement method of the color. It becomes possible to select the replacement method of by user input. That is, it is possible to select a method of replacing colors in two-color printing in accordance with the printing purpose of the user.

なお、本発明は上記実施形態に限らず様々な変形が可能である。例えば、上記実施形態においては、MFP10が提供するプリント(印刷)機能において、フルカラーで印刷するか、2色で印刷するかを前提に説明した。しかし、MFP10は、スキャナ110を備えており、コピー機能も備える。つまり、本発明は、当該コピー機能が利用される際に、フルカラーの原稿に基づいて2色でコピーする場合に、その色変換方法のモード(モードA及びモードB)の選択をユーザ入力に従って選択する構成に適用することができる。また、図8のUIメニュー800を介してユーザによって選択されたモードA801又はモードB802をMFP10が提供する複数の機能、例えば、印刷機能及びコピー機能に一括で反映するようにしてもよい。これにより、各サービスごとに色変換の方法が異なることを防止することができ、ユーザが意図しない印刷物(出力結果)を防止することができる。   The present invention is not limited to the above embodiment, and various modifications are possible. For example, in the above embodiment, the printing (printing) function provided by the MFP 10 is described on the premise of printing in full color or printing in two colors. However, the MFP 10 includes the scanner 110 and also includes a copy function. That is, the present invention selects the mode (mode A and mode B) of the color conversion method according to the user input when copying in two colors based on a full color document when the copying function is used. Can be applied to the configuration. Alternatively, the mode A 801 or the mode B 802 selected by the user via the UI menu 800 in FIG. 8 may be collectively reflected on a plurality of functions provided by the MFP 10, for example, the print function and the copy function. This makes it possible to prevent the method of color conversion from being different for each service, and to prevent printed matter (output result) that the user does not intend.

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

10:MFP、100:画像処理装置、101:画像データ取得部、102:色判定部、103:2色変換テーブル生成部、104:2色変換テーブル保持部、105:色変換部、106:ガンマ補正部、107:画像形成部、108:プリントエンジン、109:コンピュータ、110:スキャナ、111:UI、112:記憶装置   10: MFP, 100: image processing apparatus, 101: image data acquisition unit, 102: color determination unit, 103: two-color conversion table generation unit, 104: two-color conversion table storage unit, 105: color conversion unit, 106: gamma Correction unit 107: Image forming unit 108: Print engine 109: Computer 110: Scanner 111: UI 112: Storage device

Claims (12)

画像処理装置であって、
フルカラーの印刷データを2色の色材で印刷する場合に、該フルカラーの印刷データを2色の印刷データに変換する変換方法を指定するユーザ入力を受け付ける受付手段と、
前記受付手段によって受け付けた変換方法に従って、前記フルカラーの印刷データを2色の印刷データに変換する変換手段と
を備えることを特徴とする画像処理装置。
An image processing apparatus,
Reception means for receiving a user input specifying a conversion method for converting full color print data into two color print data when printing full color print data with two color materials;
An image processing apparatus comprising: conversion means for converting the full color print data into two color print data according to the conversion method received by the reception means.
前記受付手段は、さらに、フルカラーで印刷するか、2色の色材で印刷するかをユーザ入力によって受け付け、前記2色の色材で印刷するユーザ入力を受け付けると、前記2色のうちの1つである指定色を選択するための画面を表示部に表示することを特徴とする請求項1に記載の画像処理装置。   The receiving unit further receives, by user input, whether full-color printing or printing with two-color colorants is received, and one of the two colors is received when user input for printing with the two-color colorants is received. The image processing apparatus according to claim 1, wherein a screen for selecting one of the designated colors is displayed on the display unit. 前記受付手段は、前記変換方法として、フルカラーの印刷データに対応する画像のうち有彩色部をユーザ入力による指定色に変換し、無彩色部を無彩色に変換する第1の変換方法と、有彩色部のうち前記指定色に相当する部分を指定色に変換し、その他の有彩色部と無彩色部とを無彩色に変換する第2の変換方法とを選択するための画面を表示部に表示することを特徴とする請求項2に記載の画像処理装置。   The receiving unit converts, as the conversion method, a chromatic color part of an image corresponding to full-color print data into a designated color input by a user, and converts the achromatic color part into an achromatic color; In the display unit, a screen for selecting a second conversion method of converting a portion corresponding to the designated color in the chromatic portion into a designated color and converting the other chromatic portion and the achromatic portion into achromatic color The image processing apparatus according to claim 2, wherein the image is displayed. 前記受付手段によって受け付けた変換方法は、前記画像処理装置が提供する複数の機能に一括で反映されることを特徴とする請求項3に記載の画像処理装置。   The image processing apparatus according to claim 3, wherein the conversion method received by the receiving unit is collectively reflected on a plurality of functions provided by the image processing apparatus. 前記受付手段は、前記変換方法について、前記画像処理装置が提供する機能を利用したジョブを受け付けた際に、ユーザに選択させることを特徴とする請求項3又は4に記載の画像処理装置。   5. The image processing apparatus according to claim 3, wherein the accepting unit allows the user to select a job that uses a function provided by the image processing apparatus with respect to the conversion method. 前記受付手段は、前記変換方法について、前記画像処理装置が提供する機能を利用したジョブを受け付ける前に、ユーザに予め選択させることを特徴とする請求項3又は4に記載の画像処理装置。   5. The image processing apparatus according to claim 3, wherein the accepting unit causes the user to select in advance before accepting a job using a function provided by the image processing apparatus regarding the conversion method. 前記受付手段は、前記指定色として、Red、Green、Blue、Cyan、Magenta、及びYellowの何れかを選択するための画面を前記表示部に表示することを特徴とする請求項2乃至6の何れか1項に記載の画像処理装置。   7. The display unit according to claim 2, wherein the reception unit displays a screen for selecting any of Red, Green, Blue, Cyan, Magenta, and Yellow as the specified color on the display unit. An image processing apparatus according to any one of the preceding claims. フルカラー用の変換テーブルと、前記受付手段によって受け付けた指定色とに従って、フルカラーの印刷データを2色の印刷データへ変換するための2色変換テーブルを生成する生成手段をさらに備え、
前記変換手段は、前記生成手段によって生成された前記2色変換テーブルを用いてフルカラーの印刷データを2色の印刷データへ変換することを特徴とする請求項2乃至7の何れか1項に記載の画像処理装置。
It further comprises generation means for generating a two-color conversion table for converting full-color print data into two-color print data according to the full-color conversion table and the designated color received by the reception means.
The said conversion means converts full-color print data into two-color print data using the said 2 color conversion table produced | generated by the said production | generation means in any one of the Claims 2 thru | or 7 characterized by the above-mentioned. Image processing device.
前記印刷データは、ネットワークを介して接続された外部装置から入力されることを特徴とする請求項1乃至6の何れか1項に記載の画像処理装置。   The image processing apparatus according to any one of claims 1 to 6, wherein the print data is input from an external device connected via a network. 原稿から画像を読み取って画像データを出力する読取手段をさらに備え、
前記印刷データは、前記読取手段によって原稿から読み取って出力された画像データであることを特徴とする請求項1乃至6の何れか1項に記載の画像処理装置。
The image reading apparatus further comprises reading means for reading an image from a document and outputting image data.
The image processing apparatus according to any one of claims 1 to 6, wherein the print data is image data read from a document by the reading unit and output.
画像処理装置の制御方法であって、
受付手段が、フルカラーの印刷データを2色の色材で印刷する場合に、該フルカラーの印刷データを2色の印刷データに変換する変換方法を指定するユーザ入力を受け付ける受付工程と、
変換手段が、前記受付工程で受け付けた変換方法に従って、前記フルカラーの印刷データを2色の印刷データに変換する変換工程と
を備えることを特徴とする画像処理装置の制御方法。
A control method of the image processing apparatus,
An accepting step of accepting a user input specifying a conversion method for converting full color print data into two color print data when printing full color print data with two color materials;
And converting the full-color print data into two-color print data according to the conversion method received in the receiving step.
画像処理装置の制御方法における各工程をコンピュータに実行させるためのプログラムであって、前記制御方法は、
受付手段が、フルカラーの印刷データを2色の色材で印刷する場合に、該フルカラーの印刷データを2色の印刷データに変換する変換方法を指定するユーザ入力を受け付ける受付工程と、
変換手段が、前記受付工程で受け付けた変換方法に従って、前記フルカラーの印刷データを2色の印刷データに変換する変換工程と
を含むことを特徴とするプログラム。
It is a program for making a computer execute each process in a control method of an image processing device, and the control method is
An accepting step of accepting a user input specifying a conversion method for converting full color print data into two color print data when printing full color print data with two color materials;
A conversion step of converting the full-color print data into two-color print data according to the conversion method received in the reception step.
JP2017196398A 2017-10-06 2017-10-06 Image processing device, control method of the same, and program Pending JP2019071537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017196398A JP2019071537A (en) 2017-10-06 2017-10-06 Image processing device, control method of the same, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017196398A JP2019071537A (en) 2017-10-06 2017-10-06 Image processing device, control method of the same, and program

Publications (1)

Publication Number Publication Date
JP2019071537A true JP2019071537A (en) 2019-05-09

Family

ID=66441355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017196398A Pending JP2019071537A (en) 2017-10-06 2017-10-06 Image processing device, control method of the same, and program

Country Status (1)

Country Link
JP (1) JP2019071537A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112937125A (en) * 2021-04-01 2021-06-11 福建实达电脑设备有限公司 48-pin two-color printing device and method
JP7362413B2 (en) 2019-10-18 2023-10-17 キヤノン株式会社 Image forming apparatus, its control method and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7362413B2 (en) 2019-10-18 2023-10-17 キヤノン株式会社 Image forming apparatus, its control method and program
CN112937125A (en) * 2021-04-01 2021-06-11 福建实达电脑设备有限公司 48-pin two-color printing device and method

Similar Documents

Publication Publication Date Title
JP5631060B2 (en) Image processing apparatus, image processing method, and program for executing image processing method
US8736931B2 (en) Image processor, image forming system, image processing method and computer readable medium
US8638474B2 (en) Image processing apparatus and color conversion table generating method
JP2009117952A (en) Image processing apparatus, image processing method, and program
CN114302020A (en) Image forming apparatus, control method thereof, and storage medium
JP2007325193A (en) Color conversion apparatus, method, and conversion program
JP2008148275A (en) Color processing apparatus and program
US7656414B2 (en) System and method for determination of gray for CIE color conversion using chromaticity
JP2019071537A (en) Image processing device, control method of the same, and program
JP4471021B2 (en) Color printing control apparatus, color printing control method, and color printing control program
JP7204402B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
JP2015126277A (en) Image processing apparatus and image processing method
US7679782B2 (en) System and method for extracting grayscale data in accordance with a prescribed tolerance function
JP2007151055A (en) Image processing equipment, image processing method, and image processing program
JP2018082360A (en) Image processing apparatus, image processing method, and program for creating image processing parameter
JP2009153019A (en) Image processing device
JP2008072550A (en) Color processing method, color processing apparatus, image forming apparatus, program and recording medium
JP2019034427A (en) Image processing apparatus and image processing method, and program
JP4333719B2 (en) Image processing device
JP2019029970A (en) Image processing apparatus, control method thereof, program, and image forming apparatus
JP6740729B2 (en) Data conversion device, data conversion method, and data conversion program
JP2009159284A (en) Color data conversion apparatus, color data conversion method and color data conversion program
JP2005119189A (en) Image processor and method of processing image
JP2004147301A (en) Color conversion processing method, color conversion processing apparatus, and color conversion processing program
JP2019106602A (en) Information processing device, and method and program for controlling information processing device