JP2013162434A - Image forming apparatus and image output method - Google Patents

Image forming apparatus and image output method Download PDF

Info

Publication number
JP2013162434A
JP2013162434A JP2012024728A JP2012024728A JP2013162434A JP 2013162434 A JP2013162434 A JP 2013162434A JP 2012024728 A JP2012024728 A JP 2012024728A JP 2012024728 A JP2012024728 A JP 2012024728A JP 2013162434 A JP2013162434 A JP 2013162434A
Authority
JP
Japan
Prior art keywords
character
color
image data
modification
unit
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
JP2012024728A
Other languages
Japanese (ja)
Inventor
Yumiko Kikuoka
由美子 菊岡
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2012024728A priority Critical patent/JP2013162434A/en
Publication of JP2013162434A publication Critical patent/JP2013162434A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To allow a user to determine a color character part easily when a color image is output monochromatically, even if a color character part is emphasized and output monochromatically.SOLUTION: An image forming apparatus 1 includes a color value detection unit 2 for detecting the color value of each pixel included in color image data, a character extraction unit 4a for extracting a character part from the color image data, a character color determination unit 4b for determining whether or not the character color of a character part is a predetermined color on the basis of the color value of a pixel corresponding to the character part thus extracted, a character decoration addition unit 3a for performing monochrome conversion of a character part determined to be a predetermined color by the character color determination unit 4b, and adding a character decoration to the character part after monochrome conversion, and a print unit 12 for outputting monochrome image data including the character part to which a character decoration is added by the character decoration addition unit 3a.

Description

本発明は、画像形成装置および画像出力方法に関し、より詳細には、カラー画像データをモノクロ出力可能な画像形成装置および該装置による画像出力方法に関する。   The present invention relates to an image forming apparatus and an image output method, and more particularly to an image forming apparatus capable of monochrome output of color image data and an image output method using the apparatus.

PC(パーソナルコンピュータ)などの情報処理装置において、文書作成や表計算などを行うための各種のアプリケーションソフトウェアが使用されている。近年ではカラー表示が一般的であり、これらのアプリケーションソフトウェアにより作成される各種データもカラー表示され、データの視認性やユーザの使い勝手などが大幅に向上している。   In an information processing apparatus such as a PC (personal computer), various types of application software for performing document creation, spreadsheet, and the like are used. In recent years, color display has become common, and various types of data created by these application software are also displayed in color, which greatly improves the visibility of data and the usability of users.

また、PCから出力されるカラー画像や、スキャナで読み取ったカラー画像をカラー印刷する機能を備えたカラープリンタが普及している。通常PCやスキャナから入力される信号はR(赤),G(緑),B(青)信号であり、このR,G,B信号がカラープリンタでY(イエロー),M(マゼンタ),C(シアン),K(ブラック)信号に変換され、印刷出力される。   In addition, color printers having a function of color printing a color image output from a PC or a color image read by a scanner have become widespread. Signals normally input from a PC or scanner are R (red), G (green), and B (blue) signals. These R, G, and B signals are Y (yellow), M (magenta), and C in a color printer. It is converted into (cyan) and K (black) signals and printed out.

このようなカラープリンタでは、カラートナーを節約するなどのため、カラー画像データをモノクロ画像データに変換して出力することが行われている。例えば、カラーの文字原稿をモノクロコピーしようとした場合について想定する。文字原稿の場合、強調したい文字部分が赤などのカラーになっていることが多いが、モノクロ変換でグレースケールに変換されてしまうため、カラーの文字部分はその周囲の文字よりも色が薄く表現されてしまう。このため、本来強調したい文字部分が認識し難くなるという問題があった。   In such a color printer, color image data is converted into monochrome image data and output in order to save color toner. For example, assume that a color text original is to be copied in monochrome. In the case of text manuscripts, the text part to be emphasized is often colored in red or the like, but since it is converted to grayscale by monochrome conversion, the color text part is lighter than the surrounding text. Will be. For this reason, there has been a problem that it becomes difficult to recognize a character portion to be originally emphasized.

これに対して、例えば、特許文献1には、原稿画像中の所定色を所定の濃度でモノクロ出力する複写機が記載されている。これによれば、カラー画像から色相値が検出され、検出した色相値が所定の範囲に入っているか否かが判定される。そして、色相値が所定の範囲に入っていれば、その色相値(所定色)に応じた領域を所定の濃度でモノクロ出力させ、色相値が所定の範囲外であれば、その色相値(所定色以外の色)に応じた領域を任意に設定された濃度でモノクロ出力させる。   On the other hand, for example, Patent Document 1 describes a copying machine that outputs a predetermined color in a document image in black and white with a predetermined density. According to this, the hue value is detected from the color image, and it is determined whether or not the detected hue value is within a predetermined range. If the hue value is within a predetermined range, an area corresponding to the hue value (predetermined color) is output in monochrome at a predetermined density. If the hue value is outside the predetermined range, the hue value (predetermined An area corresponding to a color other than the color is output in monochrome at an arbitrarily set density.

特開平6−70182号公報JP-A-6-70182

しかしながら、上記特許文献1に記載の複写機は、所定色の領域に対して濃度調整を行った場合に、当該所定色領域に対して、所定色以外の色の領域に対して行った濃度調整を無効にすることで、ユーザが所望する出力画像を得られるようにしたもので、カラー原稿をモノクロコピーしたときに、強調すべきカラー部分とそれ以外の部分とは濃度による違いのみで表現されることになる。このため、ユーザからすると、各色の差異を十分に判別できるとは言い難い。   However, in the copying machine described in Patent Document 1, when density adjustment is performed on a predetermined color area, density adjustment performed on a color area other than the predetermined color is performed on the predetermined color area. By disabling, the user can obtain the desired output image. When a color original is copied in black and white, the color part to be emphasized and the other part are expressed only by the difference in density. Will be. For this reason, it is difficult for the user to say that the difference between the colors can be sufficiently determined.

また、例えば、大部分が黒い文字で構成され、一部に強調したいカラー文字が含まれているような文字原稿をモノクロコピーする場合、黒文字とカラー文字との色の差異を濃度の違いで判別できるようにするために、カラー文字の濃度が黒よりも薄い濃度で出力される場合がある。このような場合には、本来の強調の目的を達成することができず、ユーザからすると、かえって見難い印刷物になってしまうという問題があった。   Also, for example, when making a black-and-white copy of a character document that consists mostly of black characters and some of the color characters you want to emphasize, distinguish the color difference between black characters and color characters based on the difference in density. In order to be able to do so, the density of the color characters may be output at a density lower than that of black. In such a case, there has been a problem that the original emphasis purpose cannot be achieved and the printed matter becomes difficult to see from the user's point of view.

本発明は、上述のような実情に鑑みてなされたもので、カラー画像をモノクロ出力する際に、カラーの文字部分を強調し、モノクロ出力された場合であってもユーザがカラーの文字部分を容易に判別できる画像形成装置および該装置による画像出力方法を提供することを目的とする。   The present invention has been made in view of the above-described circumstances. When a color image is output in monochrome, the color character portion is emphasized, and even if the color image is output in monochrome, the user can It is an object of the present invention to provide an image forming apparatus that can be easily discriminated and an image output method using the apparatus.

上記課題を解決するための、本発明の第1の技術手段は、カラー画像データをモノクロ出力する画像形成装置であって、前記カラー画像データに含まれる各画素の色値を検出する色値検出部と、前記カラー画像データから文字部分を抽出する文字抽出部と、該抽出した文字部分に対応する画素の色値に基づいて該文字部分の文字色が所定色であるか否かを判定する文字色判定部と、該文字色判定部により所定色と判定された文字部分をモノクロ変換し、該モノクロ変換後の文字部分に文字修飾を付加する文字修飾付加部とを備え、該文字修飾付加部により文字修飾が付加された文字部分を含むモノクロ画像データを出力することを特徴としたものである。   A first technical means of the present invention for solving the above-described problem is an image forming apparatus that outputs color image data in monochrome, and detects a color value of each pixel included in the color image data. A character extraction unit that extracts a character part from the color image data, and determines whether the character color of the character part is a predetermined color based on a color value of a pixel corresponding to the extracted character part A character color determination unit; and a character modification addition unit that performs monochrome conversion on a character part determined to be a predetermined color by the character color determination unit and adds character modification to the character part after the monochrome conversion. Monochrome image data including a character part to which character modification is added by the part is output.

第2の技術手段は、第1の技術手段において、前記所定色の色値と文字修飾とを対応付けて登録した文字修飾テーブルを備え、前記文字修飾付加部は、前記文字色判定部により所定色と判定された文字部分の文字修飾を、前記文字修飾テーブルから特定し、該特定した文字修飾を付加することを特徴としたものである。   The second technical means includes a character modification table in which the color value of the predetermined color and character modification are registered in association with each other in the first technical means, and the character modification adding unit is predetermined by the character color determining unit. Character modification of the character portion determined to be a color is specified from the character modification table, and the specified character modification is added.

第3の技術手段は、第1または第2の技術手段において、前記色値は、CMYKの値であり、前記文字修飾付加部は、前記文字色判定部により所定色と判定された文字部分のKの値が小さいほど、該文字部分のモノクロ変換後の濃度を大きくすることを特徴としたものである。   According to a third technical means, in the first or second technical means, the color value is a CMYK value, and the character modification adding unit is configured to detect a character portion determined to be a predetermined color by the character color determining unit. The smaller the value of K is, the higher the density of the character portion after monochrome conversion is increased.

第4の技術手段は、第1〜第3のいずれか1の技術手段において、前記文字修飾は、太字、斜体、下線、囲み線、網かけ、拡大のいずれか1つ以上であることを特徴としたものである。   According to a fourth technical means, in any one of the first to third technical means, the character modification is any one or more of bold, italic, underline, encircling, shaded, and enlarged. It is what.

第5の技術手段は、第1〜第4のいずれか1の技術手段において、前記所定色は、黒色以外の色であることを特徴としたものである。   According to a fifth technical means, in any one of the first to fourth technical means, the predetermined color is a color other than black.

第6の技術手段は、カラー画像データをモノクロ出力する画像形成装置による画像出力方法であって、前記画像形成装置が、前記カラー画像データに含まれる各画素の色値を検出する色値検出ステップと、前記カラー画像データから文字部分を抽出する文字抽出ステップと、該文字抽出ステップにて抽出した文字部分に対応する画素の色値に基づいて該文字部分の文字色が所定色であるか否かを判定する文字色判定ステップと、該文字色判定ステップにて所定色と判定された文字部分をモノクロ変換し、該モノクロ変換後の文字部分に文字修飾を付加する文字修飾付加ステップと、該文字修飾付加ステップにて文字修飾が付加された文字部分を含むモノクロ画像データを出力する画像出力ステップとを備えたことを特徴としたものである。   A sixth technical means is an image output method by an image forming apparatus for monochrome output of color image data, wherein the image forming apparatus detects a color value of each pixel included in the color image data. A character extraction step for extracting a character portion from the color image data, and whether the character color of the character portion is a predetermined color based on a color value of a pixel corresponding to the character portion extracted in the character extraction step A character color determination step for determining whether or not the character portion determined to be a predetermined color in the character color determination step is subjected to monochrome conversion, and character modification is added to the character portion after the monochrome conversion; And an image output step for outputting monochrome image data including the character portion to which the character modification is added in the character modification adding step.

本発明によれば、カラー画像をモノクロ出力する際に、カラーの文字部分に太字や下線等の文字修飾を付加して効果的に強調することができるため、モノクロ出力された場合であってもユーザはカラーの文字部分を容易に判別することができる。   According to the present invention, when a color image is output in black and white, character modification such as bold or underline can be effectively added to the color character portion, so that even when output in monochrome. The user can easily determine the color character portion.

本発明の一実施形態に係る画像形成装置の構成例を示すブロック図である。1 is a block diagram illustrating a configuration example of an image forming apparatus according to an embodiment of the present invention. 文字修飾テーブルの一例を示す図である。It is a figure which shows an example of a character modification table. 文字修飾テーブルの一例を示す図である。It is a figure which shows an example of a character modification table. 印刷部により印刷出力されるモノクロ画像データの出力例を示す図である。It is a figure which shows the output example of the monochrome image data printed out by the printing part. 本発明の画像形成装置による画像出力方法の一例を説明するためのフロー図である。It is a flowchart for demonstrating an example of the image output method by the image forming apparatus of this invention. 本発明の画像形成装置による画像出力方法の一例を説明するためのフロー図で、図5の続きである。FIG. 6 is a flowchart for explaining an example of an image output method by the image forming apparatus of the present invention, and is a continuation of FIG. 本発明の画像形成装置による画像出力方法の一例を説明するためのフロー図で、図6の続きである。FIG. 7 is a flowchart for explaining an example of an image output method by the image forming apparatus of the present invention, and is a continuation of FIG. 6.

以下、添付図面を参照しながら、本発明の画像形成装置および該装置による画像出力方法に係る好適な実施の形態について説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of an image forming apparatus and an image output method using the apparatus will be described with reference to the accompanying drawings.

図1は、本発明の一実施形態に係る画像形成装置の構成例を示すブロック図で、図中、1は画像形成装置を示す。画像形成装置1は、モノクロ印刷、カラー印刷の両方に対応しており、例えば、コピー機能、プリンタ機能、ファクシミリ機能、およびスキャナ機能を備えたデジタル複合機(MFP)として例示することができる。また、画像形成装置1は、ネットワークNを介して情報処理装置(以下、PCという)20と接続される。   FIG. 1 is a block diagram illustrating a configuration example of an image forming apparatus according to an embodiment of the present invention. In the figure, 1 denotes the image forming apparatus. The image forming apparatus 1 supports both monochrome printing and color printing, and can be exemplified as a digital multifunction peripheral (MFP) having a copy function, a printer function, a facsimile function, and a scanner function, for example. The image forming apparatus 1 is connected to an information processing apparatus (hereinafter referred to as a PC) 20 via a network N.

画像形成装置1は、色値検出部2、画像処理部3、主制御部4、記憶部5、入力制御部6、LAN(Local Area Network)I/F(Interface)7、スキャナ部8、操作部9、出力制御部10、表示部11、および印刷部12を備える。また、PC20には、画像形成装置1の動作を制御するためのプリンタドライバ21がインストールされており、PC20で作成した画像データの印刷時にプリンタドライバ21を起動させ、画像形成装置1により印刷出力させることができる。   The image forming apparatus 1 includes a color value detection unit 2, an image processing unit 3, a main control unit 4, a storage unit 5, an input control unit 6, a LAN (Local Area Network) I / F (Interface) 7, a scanner unit 8, an operation Unit 9, output control unit 10, display unit 11, and printing unit 12. In addition, a printer driver 21 for controlling the operation of the image forming apparatus 1 is installed in the PC 20. The printer driver 21 is activated when the image data created by the PC 20 is printed, and is printed out by the image forming apparatus 1. be able to.

図1において、主制御部4は、画像形成装置1の各部の動作を制御するためのCPUやメモリ(ROM、RAMなど)などを備えて構成される。ROMには、画像形成装置1の動作を制御するための制御プログラムが記憶されており、制御プログラムの実行時にCPUがROMからRAMに制御プログラムを読み出して実行する。記憶部5は、例えば、HDD(Hard Disk Drive)や半導体メモリなどで構成され、画像形成装置1に入力された画像データなどを記憶する。   In FIG. 1, the main control unit 4 includes a CPU and a memory (ROM, RAM, etc.) for controlling the operation of each unit of the image forming apparatus 1. The ROM stores a control program for controlling the operation of the image forming apparatus 1, and the CPU reads the control program from the ROM to the RAM and executes it when the control program is executed. The storage unit 5 includes, for example, an HDD (Hard Disk Drive), a semiconductor memory, and the like, and stores image data input to the image forming apparatus 1 and the like.

入力制御部6は、LANI/F7、スキャナ部8、操作部9と接続され、これらの各部の動作を制御する。LANI/F7は、ネットワークNを介してPC20から画像データ入力する。PC20からの画像データは、文書作成や表計算等を行うための所定のアプリケーションソフトウェアにより作成された文書データなどであり、RGB信号として入力される。スキャナ部8は、原稿(印刷物)を光学的に読み取り、読み取った原稿の画像データを入力する。スキャナ部8からの画像データは、RGB信号として入力される。操作部9は、ユーザからの操作入力を受け付けるための操作キー群、タッチパネルなどで構成される。この操作部9には、モノクロコピースタートキー、カラーコピースタートキーが含まれる。   The input control unit 6 is connected to the LAN I / F 7, the scanner unit 8, and the operation unit 9, and controls the operations of these units. The LAN I / F 7 inputs image data from the PC 20 via the network N. The image data from the PC 20 is document data created by predetermined application software for performing document creation, spreadsheet, etc., and is input as RGB signals. The scanner unit 8 optically reads a document (printed material) and inputs image data of the read document. Image data from the scanner unit 8 is input as RGB signals. The operation unit 9 includes an operation key group for receiving an operation input from a user, a touch panel, and the like. The operation unit 9 includes a monochrome copy start key and a color copy start key.

画像処理部3は、スキャナ部8あるいはPC20から入力された画像データに対して各種の画像処理を行う。画像処理部3は、画像処理の一例として、スキャナ部8あるいはPC20から入力されたRGBの画像データを、印刷出力可能なCMYKの画像データに変換する。画像処理部3でCMYKに変換された画像データは印刷部12に送られ、印刷部12ではこのCMYKの画像データをモノクロ印刷あるいはカラー印刷する。なお、スキャナ部8あるいはPC20から入力された画像データがカラー画像データである場合に、画像処理部3は、操作部9のモノクロコピースタートキーが押下されると、カラー画像データをモノクロ画像データに変換する処理を行う。   The image processing unit 3 performs various types of image processing on the image data input from the scanner unit 8 or the PC 20. As an example of image processing, the image processing unit 3 converts RGB image data input from the scanner unit 8 or the PC 20 into CMYK image data that can be printed out. The image data converted into CMYK by the image processing unit 3 is sent to the printing unit 12, and the printing unit 12 performs monochrome printing or color printing on the CMYK image data. When the image data input from the scanner unit 8 or the PC 20 is color image data, the image processing unit 3 converts the color image data into monochrome image data when the monochrome copy start key of the operation unit 9 is pressed. Perform the conversion process.

出力制御部10は、LANI/F7、表示部11、印刷部12と接続され、これらの各部の動作を制御する。LANI/F7は、ネットワークNを介してスキャナ部8で読み取られた画像データあるいは記憶部5に記憶された画像データを外部機器に送信する。表示部11は、例えば、タッチパネルと一体化された液晶ディスプレイなどで構成され、各種情報の表示や画像データのプレビュー表示などを行う。印刷部12は、画像処理部3で画像処理された画像データをモノクロ印刷あるいはカラー印刷する。   The output control unit 10 is connected to the LAN I / F 7, the display unit 11, and the printing unit 12, and controls the operations of these units. The LAN I / F 7 transmits the image data read by the scanner unit 8 or the image data stored in the storage unit 5 to the external device via the network N. The display unit 11 includes, for example, a liquid crystal display integrated with a touch panel, and performs various information display, image data preview display, and the like. The printing unit 12 performs monochrome printing or color printing on the image data processed by the image processing unit 3.

本発明の主たる目的は、カラー画像をモノクロ出力する際に、カラーの文字部分を強調し、モノクロ出力であってもユーザがカラーの文字部分を容易に判別できるようにすることにある。このための構成として、画像形成装置1は、カラー画像データを入力する画像入力部と、画像入力部から入力されたカラー画像データに含まれる各画素の色値(色数値ともいう)を検出する色値検出部2と、カラー画像データから文字部分を抽出する文字抽出部4aと、抽出した文字部分に対応する画素の色値に基づいて文字部分の文字色が所定色であるか否かを判定する文字色判定部4bと、文字色判定部4bにより所定色と判定された文字部分をモノクロ変換し、モノクロ変換後の文字部分に文字修飾を付加する文字修飾付加部3aと、文字修飾付加部3aにより文字修飾が付加された文字部分を含むモノクロ画像データを出力する画像出力部とを備える。   A main object of the present invention is to enhance a color character portion when a color image is output in monochrome, so that the user can easily determine the color character portion even in monochrome output. As a configuration for this, the image forming apparatus 1 detects an image input unit that inputs color image data, and a color value (also referred to as a color value) of each pixel included in the color image data input from the image input unit. A color value detection unit 2, a character extraction unit 4a that extracts a character part from color image data, and whether or not the character color of the character part is a predetermined color based on the color value of a pixel corresponding to the extracted character part. A character color determination unit 4b for determining, a character modification adding unit 3a for converting a character part determined to be a predetermined color by the character color determination unit 4b into monochrome, and adding character modification to the character part after the monochrome conversion, and character modification addition And an image output unit that outputs monochrome image data including a character portion to which character modification is added by the unit 3a.

上記において、画像入力部は、スキャナ部8、LANI/F7に相当し、スキャナ部8でカラー原稿を読み取ったカラー画像データを入力としてもよく、あるいは、LANI/F7を介してPC20から取得したカラー画像データを入力としてもよい。また、画像出力部は、LANI/F7、表示部11、印刷部12に相当する。LANI/F7は、カラー画像データをモノクロ変換した後のモノクロ画像データを外部機器に送信する。表示部11は、カラー画像データをモノクロ変換した後のモノクロ画像データを表示する。印刷部12は、カラー画像データをモノクロ変換した後のモノクロ画像データを印刷する。   In the above description, the image input unit corresponds to the scanner unit 8 and the LAN I / F 7 and may input color image data obtained by reading a color original with the scanner unit 8 or a color image acquired from the PC 20 via the LAN I / F 7. Image data may be input. The image output unit corresponds to the LAN I / F 7, the display unit 11, and the printing unit 12. The LAN I / F 7 transmits the monochrome image data after the color image data is converted into monochrome to an external device. The display unit 11 displays monochrome image data after the color image data is converted into monochrome. The printing unit 12 prints monochrome image data after the color image data is subjected to monochrome conversion.

まず、第1の例として、カラー原稿をモノクロコピーするコピー処理の場合について説明する。ユーザが画像形成装置1の所定の原稿読取位置にカラー原稿をセットし、操作部9のモノクロコピースタートキー(図示せず)を押下すると、スキャナ部8がカラー原稿を読み取ることによりRGBのカラー画像データが入力される。スキャナ部8により入力されたRGBのカラー画像データは、画像処理部3でCMYKのカラー画像データに変換される。そして、色値検出部2は、画像処理部3でCMYKに変換されたカラー画像データに含まれる各画素の色値を検出する。ここで、色値とは、図2の文字修飾テーブルに例示するように、各色を構成するCMYKについての各割合を%(0〜100)で表したもので、例えば、赤色は、図2の色“1”に相当し、C=0、M=100、Y=100、K=0で示される。また、黄色の純色は、図2の色“5”に相当し、C=0、M=0、Y=100、K=0で示される。   First, as a first example, a case of a copy process for performing a monochrome copy of a color original will be described. When a user sets a color document at a predetermined document reading position of the image forming apparatus 1 and presses a monochrome copy start key (not shown) of the operation unit 9, the scanner unit 8 reads the color document to read RGB color images. Data is entered. The RGB color image data input by the scanner unit 8 is converted into CMYK color image data by the image processing unit 3. Then, the color value detection unit 2 detects the color value of each pixel included in the color image data converted into CMYK by the image processing unit 3. Here, as exemplified in the character modification table of FIG. 2, the color value is a percentage (0 to 100) of CMYK constituting each color. For example, red is shown in FIG. Corresponding to the color “1”, C = 0, M = 100, Y = 100, and K = 0. The pure yellow color corresponds to the color “5” in FIG. 2 and is indicated by C = 0, M = 0, Y = 100, and K = 0.

文字抽出部4aは、主制御部4の一機能として実現され、カラー画像データから文字部分を抽出する。本例のカラー画像データは、スキャナ部8で読み取られたものであるため、このままでは文字部分を文字データ(文字コード)として抽出することができない。このため、例えば、カラー画像データに対して公知のOCR(Optical Character Recognition/Reader)処理を施して文字認識を行う。これにより、文字抽出部4aは、カラー画像データから文字部分を文字データとして抽出することができる。なお、OCRについては公知の技術であるため、ここでの説明は省略するものとする。   The character extraction unit 4a is realized as a function of the main control unit 4 and extracts a character portion from color image data. Since the color image data in this example is read by the scanner unit 8, the character portion cannot be extracted as character data (character code) as it is. For this reason, for example, a known OCR (Optical Character Recognition / Reader) process is performed on the color image data to perform character recognition. Thereby, the character extraction part 4a can extract a character part as character data from color image data. In addition, since OCR is a well-known technique, description here is abbreviate | omitted.

文字色判定部4bは、主制御部4の一機能として実現され、文字抽出部4aで抽出された文字部分に対応する画素の色値に基づいて文字部分の文字色が所定色であるか否かを判定する。この所定色であるか否かの判定は、例えば、文字部分に対応する画素の色値(CMYKの値)が黒色の色値、具体的には、C=0,M=0,Y=0,K=100や、C=100,M=100,Y=100,K=0などの色値以外であるか否かで判定することができる。つまり、黒色以外の色が所定色と判定されることになる。この場合、図2の文字修飾テーブル5aには、黒色以外の色の色値を予め登録しておけばよい。文字色判定部4bは、文字抽出部4aにより抽出された文字部分に対応する画素の色値が文字修飾テーブル5aに登録されている場合に、その文字部分の文字色が所定色であると判定することができる。   The character color determination unit 4b is realized as one function of the main control unit 4, and whether or not the character color of the character part is a predetermined color based on the color value of the pixel corresponding to the character part extracted by the character extraction unit 4a. Determine whether. The determination as to whether or not the color is a predetermined color is, for example, a color value (CMYK value) of a pixel corresponding to a character part is a black color value, specifically, C = 0, M = 0, Y = 0. , K = 100, C = 100, M = 100, Y = 100, K = 0, or other color values. That is, a color other than black is determined as the predetermined color. In this case, color values of colors other than black may be registered in advance in the character modification table 5a of FIG. The character color determination unit 4b determines that the character color of the character part is a predetermined color when the color value of the pixel corresponding to the character part extracted by the character extraction unit 4a is registered in the character modification table 5a. can do.

なお、図2の文字修飾テーブル5aは、所定色の色値(CMYKの値)と文字修飾パターン(文字修飾および文字濃度を含む)とを対応付けて登録したもので、記憶部5に予め記憶されているものとする。ここで、文字修飾とは、例えば、文字を太くする太字、文字を斜めにする斜体、文字に下線を引く下線、文字を囲む囲み線、文字に網をかける網かけ、文字を拡大する拡大のいずれか、あるいは、これら2つ以上を組み合わせたものである。   The character modification table 5a in FIG. 2 is a table in which color values (CMYK values) of predetermined colors and character modification patterns (including character modification and character density) are registered in association with each other and stored in the storage unit 5 in advance. It is assumed that Here, character modification is, for example, bold to make a character thick, italic to make the character slant, underline to underline the character, enclosing line to enclose the character, shading to shade the character, enlargement to enlarge the character Either one or a combination of these two or more.

次に、文字修飾付加部3aは、画像処理部3の一機能として実現され、文字色判定部4bにより所定色と判定された文字部分をモノクロ変換し、モノクロ変換後の文字部分に文字修飾を付加する。具体的には、文字修飾付加部3aは、文字色判定部4bにより所定色と判定された文字部分の文字修飾を、文字修飾テーブル5aから特定し、特定した文字修飾を付加する。文字修飾テーブル5aには、図3に例示するように、CMYKそれぞれの色値の範囲に応じて、文字修飾パターンが割り当てられている。なお、図3の文字修飾テーブルの例は、図2の文字修飾テーブルと同じものであって、文字修飾パターンをCMYKの色範囲毎に対応付けて示したものである。   Next, the character modification adding unit 3a is realized as a function of the image processing unit 3. The character part determined to be a predetermined color by the character color determination unit 4b is converted into monochrome, and the character modification is performed on the character part after monochrome conversion. Append. Specifically, the character modification adding unit 3a identifies the character modification of the character portion determined as the predetermined color by the character color determining unit 4b from the character modification table 5a, and adds the specified character modification. As illustrated in FIG. 3, character modification patterns are assigned to the character modification table 5a according to the range of color values of CMYK. The example of the character modification table in FIG. 3 is the same as the character modification table in FIG. 2, and shows the character modification pattern in association with each color range of CMYK.

図3の例において、文字部分のCMYの色値(%)が、C=0〜25、M=76〜100、Y=76〜100の範囲に入る場合、この文字部分は所定色と判定され、文字修飾1のパターンとして、文字部分に太字、下線が付加される。また、文字部分のCMYの色値(%)が、C=0〜25、M=51〜75、Y=76〜100の範囲に入る場合、この文字部分は所定色と判定され、文字修飾2のパターンとして、文字部分に太字、囲み線が付加される。ここでは説明を簡略にするために文字修飾パターンを2つのみ例示しているが、文字修飾パターンは所定色の文字部分のCMYの色値の範囲に応じて予め割り当てられているものとする。   In the example of FIG. 3, when the CMY color value (%) of the character portion falls within the range of C = 0 to 25, M = 76 to 100, and Y = 76 to 100, this character portion is determined to be a predetermined color. As a pattern for character modification 1, bold and underline are added to the character portion. Further, when the CMY color value (%) of the character portion falls within the range of C = 0 to 25, M = 51 to 75, and Y = 76 to 100, this character portion is determined to be a predetermined color and character modification 2 As a pattern, a bold character and a surrounding line are added to the character part. Here, in order to simplify the description, only two character modification patterns are illustrated, but it is assumed that the character modification patterns are assigned in advance according to the CMY color value range of the character portion of a predetermined color.

また、文字修飾付加部3aは、文字色判定部4bにより所定色と判定された文字部分のKの値が小さいほど、その文字部分のモノクロ変換後の濃度を大きくすることが望ましい。具体的には、図3に例示するように、文字部分のKの色値(%)が、0〜25の場合、文字部分の濃度を100%とし、26〜50の場合、濃度80%とし、51〜75の場合、濃度60%とし、76〜100の場合、濃度40%とする。例えば、文字部分が赤色の場合、図2の色“1”に相当し、C=0、M=100、Y=100、K=0で示される。従って、赤色の文字部分には、文字修飾1のパターンとして、太字、下線が付加され、さらに、濃度が100%に変換される。   Further, it is desirable that the character modification adding unit 3a increase the density of the character portion after monochrome conversion as the K value of the character portion determined to be the predetermined color by the character color determining unit 4b is smaller. Specifically, as illustrated in FIG. 3, when the K color value (%) of the character portion is 0 to 25, the character portion density is 100%, and when 26 to 50, the density is 80%. In the case of 51 to 75, the concentration is 60%, and in the case of 76 to 100, the concentration is 40%. For example, when the character portion is red, it corresponds to the color “1” in FIG. 2 and is indicated by C = 0, M = 100, Y = 100, and K = 0. Accordingly, bold characters and underlines are added to the red character portion as a character modification 1 pattern, and the density is converted to 100%.

そして、印刷部12は、文字修飾付加部3aにより文字修飾が付加された文字部分を含むモノクロ画像データを印刷出力する。なお、上記の例では、CMYKの色値の範囲に応じて文字修飾パターンを割り当てているが、CMYK変換前のカラー画像データにおけるRGBの色値(0〜255)の範囲としても同様の処理を行うことができる。この場合、RGBそれぞれの色値(0〜255)の範囲に応じて文字修飾パターンを割り当てた文字修飾テーブルを備えるようにすればよい。   The printing unit 12 prints and outputs monochrome image data including the character portion to which the character modification is added by the character modification adding unit 3a. In the above example, character modification patterns are assigned according to the range of CMYK color values. However, the same processing is applied to the range of RGB color values (0 to 255) in color image data before CMYK conversion. It can be carried out. In this case, a character modification table to which character modification patterns are assigned according to the range of RGB color values (0 to 255) may be provided.

図4は、印刷部12により印刷出力されるモノクロ画像データの出力例を示す図である。図4(A)に示すカラー原稿30は、「安全上のご注意」に対応する文字部分がカラー文字部分31として構成され、その他の文字部分は黒文字で構成されている。このカラー原稿30を従来の方法でモノクロコピーした場合、図4(B)に示すような印刷物40が印刷出力される。この印刷物40の「安全上のご注意」に対応する文字部分41の濃度は、グレースケールに変換されるため、その他の部分の黒文字の濃度よりも薄くなってしまう。   FIG. 4 is a diagram illustrating an output example of monochrome image data printed out by the printing unit 12. In the color original 30 shown in FIG. 4A, a character portion corresponding to “Safety Precautions” is configured as a color character portion 31, and the other character portions are configured with black characters. When the color original 30 is copied in monochrome by a conventional method, a printed matter 40 as shown in FIG. 4B is printed out. Since the density of the character portion 41 corresponding to the “safety precautions” of the printed matter 40 is converted to gray scale, it becomes lighter than the density of black characters in other portions.

これに対して、本発明の画像出力方法によりカラー原稿30をモノクロコピーした場合、カラー原稿30の「安全上のご注意」に対応するカラー文字部分31の色値(CMYKの値)に応じて、例えば、図4(C)に示す印刷物50または図4(D)に示す印刷物60が印刷出力される。印刷物50の「安全上のご注意」に対応する文字部分51は、文字修飾1のパターンが付加された例を示し、文字修飾として、太字、下線が付加され、さらに、濃度100%で印刷出力されている。また、印刷物60の「安全上のご注意」に対応する文字部分61は、文字修飾2のパターンが付加された例を示し、文字修飾として、太字、囲み線が付加され、さらに、濃度100%で印刷出力されている。   On the other hand, when the color original 30 is black and white copied by the image output method of the present invention, it corresponds to the color value (CMYK value) of the color character portion 31 corresponding to the “safety precautions” of the color original 30. For example, the printed matter 50 shown in FIG. 4C or the printed matter 60 shown in FIG. 4D is printed out. The character portion 51 corresponding to the “Safety Precautions” of the printed matter 50 shows an example in which a pattern of character modification 1 is added. As the character modification, bold and underline are added, and further printed out at a density of 100%. Has been. Further, the character portion 61 corresponding to “Safety Precautions” of the printed material 60 shows an example in which a pattern of character modification 2 is added. As the character modification, bold and encircled lines are added, and the density is 100%. Is printed out.

次に、第2の例として、カラー原稿をスキャンして得たモノクロ画像データを電子メールあるいはファクシミリにより外部機器に送信するデータ送信処理の場合について説明する。ユーザが画像形成装置1の所定の原稿読取位置にカラー原稿をセットし、操作部9のモノクロスキャンスタートキー(図示せず)を押下すると、コピー処理の場合と同様に、スキャナ部8がカラー原稿を読み取ることによりRGBのカラー画像データが入力される。スキャナ部8により入力されたRGBのカラー画像データは、画像処理部3でCMYKのカラー画像データに変換される。以下、コピー処理の場合と同様にして、文字修飾付加部3aにより文字修飾が付加された文字部分を含むモノクロ画像データが生成される。   Next, as a second example, a case of data transmission processing in which monochrome image data obtained by scanning a color original is transmitted to an external device by e-mail or facsimile will be described. When a user places a color document at a predetermined document reading position of the image forming apparatus 1 and presses a monochrome scan start key (not shown) of the operation unit 9, the scanner unit 8 causes the color document to be scanned in the same manner as in the copy process. RGB color image data is input. The RGB color image data input by the scanner unit 8 is converted into CMYK color image data by the image processing unit 3. Thereafter, in the same manner as in the case of the copy process, monochrome image data including a character portion to which character modification is added by the character modification adding unit 3a is generated.

データ送信処理の場合、上記のモノクロ画像データは、LANI/F7を介して所定の外部機器に電子メールあるいはファクシミリ(インターネットFAX)により送信される。また、このモノクロ画像データを、画像形成装置1に内蔵された記憶部5あるいは画像形成装置1に接続可能な外部記録媒体(USBメモリなど)に記憶するようにしてもよい。   In the case of data transmission processing, the monochrome image data is transmitted to a predetermined external device via the LAN I / F 7 by e-mail or facsimile (Internet FAX). The monochrome image data may be stored in the storage unit 5 built in the image forming apparatus 1 or an external recording medium (USB memory or the like) that can be connected to the image forming apparatus 1.

次に、第3の例として、PC20から入力されたカラー画像データをモノクロプリントするプリント処理の場合について説明する。ユーザは、PC20にインストールされている所定のアプリケーションソフトウェア(文書作成ソフト、表計算ソフトなど)を使用して、カラー画像データを作成する。この場合のカラー画像データは、文字部分が画像データではなく文字データとして構成されている。そして、ユーザは、このカラー画像データを画像形成装置1でモノクロ印刷するために、PC20のプリンタドライバ21を起動させ、プリンタドライバ21でモノクロ印刷を指定した上で、カラー画像データを画像形成装置1に送信する。   Next, as a third example, a case of print processing for monochrome printing of color image data input from the PC 20 will be described. The user creates color image data using predetermined application software (document creation software, spreadsheet software, etc.) installed in the PC 20. In the color image data in this case, the character portion is configured as character data instead of image data. The user activates the printer driver 21 of the PC 20 and designates monochrome printing with the printer driver 21 in order to perform monochrome printing of the color image data with the image forming apparatus 1. Send to.

画像形成装置1において、PC20から入力されたRGBのカラー画像データは、コピー処理の場合と同様に、画像処理部3でCMYKのカラー画像データに変換される。そして、色値検出部2は、画像処理部3でCMYKに変換されたカラー画像データに含まれる各画素の色値を検出する。次に、文字抽出部4aは、カラー画像データから文字部分を抽出するが、本例のカラー画像データの場合、上記の通り、文字部分が文字データとして構成されているためOCR処理を行う必要はない。なお、PC20から文字部分が画像データとして構成されたカラー画像データが入力される場合も考えられるが、このような場合には、コピー処理の場合と同様に、OCR処理を施して文字認識を行うことが望ましい。   In the image forming apparatus 1, RGB color image data input from the PC 20 is converted into CMYK color image data by the image processing unit 3, as in the case of copy processing. Then, the color value detection unit 2 detects the color value of each pixel included in the color image data converted into CMYK by the image processing unit 3. Next, the character extraction unit 4a extracts a character part from the color image data. However, in the case of the color image data of this example, the character part is configured as character data as described above, so it is necessary to perform OCR processing. Absent. Although it is conceivable that color image data in which the character portion is configured as image data is input from the PC 20, in such a case, character recognition is performed by performing OCR processing as in the case of copy processing. It is desirable.

以下、コピー処理の場合と同様にして、文字修飾付加部3aにより文字修飾が付加された文字部分を含むモノクロ画像データが生成される。そして、印刷部12は、文字修飾付加部3aにより文字修飾が付加された文字部分を含むモノクロ画像データを印刷出力する。   Thereafter, in the same manner as in the case of the copy process, monochrome image data including a character portion to which character modification is added by the character modification adding unit 3a is generated. The printing unit 12 prints and outputs monochrome image data including the character portion to which the character modification is added by the character modification adding unit 3a.

上記の第1〜第3の例、すなわち、モノクロ変換後のコピー出力、データ送信、プリント出力の前に、文字修飾付加部3aにより文字修飾が付加された文字部分を含むモノクロ画像データを表示部11にプレビュー表示させるようにしてもよい。これにより、ユーザが変換結果を事前に確認することができるため、コピーミスや、データ送信ミス、プリントミスなどを防止することができる。   In the first to third examples described above, that is, monochrome image data including a character portion to which character modification is added by the character modification addition unit 3a before monochrome output, copy output, data transmission, and print output is displayed. 11 may be displayed as a preview. Thereby, since the user can confirm the conversion result in advance, a copy error, a data transmission error, a print error, and the like can be prevented.

このようにして、カラー画像をモノクロ出力する際に、カラーの文字部分に太字や下線等の文字修飾を付加して効果的に強調することができるため、モノクロ出力された場合であってもユーザはカラーの文字部分を容易に判別することができる。また、強調のためにカラー表示された文字部分を含むカラー原稿の場合、ユーザからすると、カラー原稿をそのままカラー出力しなくても、カラーの文字部分を文字修飾により容易に判別できるため、モノクロ出力でもカラー出力と同等の効果を得ることができる。そして、これにより、コピーやプリントの場合には比較的高価なカラートナーなどを節約することができ、また、モノクロ変換後の画像データを記憶しておく場合には、カラーデータではなくモノクロデータとして記憶されるため、データ容量が小さくなり、記憶媒体の容量を節約することが可能となる。   In this way, when a color image is output in black and white, it can be effectively emphasized by adding character modifications such as bold and underline to the color character portion. Can easily distinguish the character portion of the color. Also, in the case of a color document that includes character parts that are displayed in color for emphasis, the user can easily determine the color character parts by character modification without outputting the color document as it is. However, the same effect as color output can be obtained. As a result, relatively expensive color toner can be saved in the case of copying and printing, and when storing the image data after monochrome conversion, it is not monochrome data but color data. Since the data is stored, the data capacity is reduced, and the capacity of the storage medium can be saved.

図5〜図7は、本発明の画像形成装置1による画像出力方法の一例を説明するためのフロー図である。図6は図5の続き、図7は図6の続きである。本例では、所定の原稿をモノクロコピーするコピー処理の場合について説明する。なお、文字修飾テーブル5aには、図3に示したように、所定色のCMYの色値(%)として、C=0〜25、M=76〜100、Y=76〜100の範囲と、C=0〜25、M=51〜75、Y=76〜100の範囲とが登録され、それぞれ文字修飾1のパターン(太字、下線)と、文字修飾2のパターン(太字、囲み線)とが対応付けされている。また、文字修飾テーブル5aは、所定色のKの色値(%)として、0〜25の範囲と、26〜50の範囲と、51〜75の範囲と、76〜100の範囲とが登録され、それぞれ濃度100%、濃度80%、濃度60%、濃度40%が対応付けされている。   5 to 7 are flowcharts for explaining an example of an image output method by the image forming apparatus 1 of the present invention. 6 is a continuation of FIG. 5, and FIG. 7 is a continuation of FIG. In this example, a case of a copy process for monochrome copying a predetermined document will be described. In the character modification table 5a, as shown in FIG. 3, as CMY color values (%) of predetermined colors, ranges of C = 0 to 25, M = 76 to 100, Y = 76 to 100, The ranges of C = 0 to 25, M = 51 to 75, and Y = 76 to 100 are registered, and the pattern of character modification 1 (bold, underline) and the pattern of character modification 2 (bold, encircled line) respectively. It is associated. In the character modification table 5a, a range of 0 to 25, a range of 26 to 50, a range of 51 to 75, and a range of 76 to 100 are registered as K color values (%) of a predetermined color. , Density 100%, density 80%, density 60%, and density 40% are associated with each other.

図5において、まず、ユーザが原稿を画像形成装置1の所定の原稿読取位置にセットする。画像形成装置1の主制御部4は、ユーザにより操作部9のモノクロコピースタートキーまたはカラーコピースタートキー(図示せず)が押下され、スキャン操作されたか否かを判定する(ステップS1)。いずれかのコピースタートキーが押下されスキャン操作されたと判定した場合(YESの場合)、スキャナ部8が原稿のスキャンを開始する(ステップS2)。また、ステップS1において、いずれのコピースタートキーも押下されずスキャン操作されていないと判定した場合(NOの場合)、ステップS1で待機状態に移行する。   In FIG. 5, first, the user sets a document at a predetermined document reading position of the image forming apparatus 1. The main control unit 4 of the image forming apparatus 1 determines whether a monochrome copy start key or a color copy start key (not shown) of the operation unit 9 is pressed by the user and a scanning operation is performed (step S1). If it is determined that one of the copy start keys has been pressed and a scanning operation has been performed (YES), the scanner unit 8 starts scanning the document (step S2). If it is determined in step S1 that no copy start key has been pressed and no scanning operation has been performed (NO), a transition is made to a standby state in step S1.

上記ステップS2で、スキャナ部8が原稿のスキャンを開始すると、画像形成装置1に原稿に応じたRGBの画像データが入力される。スキャナ部8により入力されたRGBの画像データは、画像処理部3でCMYKの画像データに変換される。   When the scanner unit 8 starts scanning a document in step S2, RGB image data corresponding to the document is input to the image forming apparatus 1. The RGB image data input by the scanner unit 8 is converted into CMYK image data by the image processing unit 3.

次に、主制御部4は、原稿の出力方式がカラーであるか、モノクロであるか判定し(ステップS3)、原稿の出力方式がカラーと判定した場合(図中、カラーの場合)、図7のステップS20に移行する。また、ステップS3において、原稿の出力方式がモノクロと判定した場合(図中、モノクロの場合)、色値検出部2が画像データの各画素の色値(CMYKの値)を検出する(ステップS4)。なお、ステップS3の判定は、ユーザにより操作部9のカラーコピースタートキーが押下された場合には、原稿の出力方式はカラーと判定され、また、ユーザにより操作部9のモノクロコピースタートキーが押下された場合には、原稿の出力方式はモノクロと判定される。   Next, the main control unit 4 determines whether the document output method is color or monochrome (step S3), and determines that the document output method is color (in the case of color in the figure), FIG. 7 moves to step S20. If it is determined in step S3 that the document output method is monochrome (in the case of monochrome in the figure), the color value detection unit 2 detects the color value (CMYK value) of each pixel of the image data (step S4). ). In step S3, if the user presses the color copy start key of the operation unit 9, the document output method is determined to be color, and the user presses the monochrome copy start key of the operation unit 9. If it is determined, the document output method is determined to be monochrome.

次に、主制御部4は、文字抽出部4aにより画像データから文字部分が抽出されたか否かに基づいて、スキャナ部8で読み取った原稿が文字部分を含む文字原稿であるか否かを判定し(ステップS5)、文字原稿と判定した場合(YESの場合)、その文字原稿がモノクロ原稿であるか否かを、色値検出部2により検出された画像データの各画素の色値(CMYKの値)に基づいて判定する(ステップS6)。また、ステップS5において、文字原稿ではないと判定した場合(NOの場合)、図7のステップS20に移行する。   Next, the main control unit 4 determines whether or not the document read by the scanner unit 8 is a character document including the character part, based on whether or not the character part is extracted from the image data by the character extraction unit 4a. If it is determined that the document is a character document (in the case of YES), the color value (CMYK) of each pixel of the image data detected by the color value detection unit 2 determines whether or not the character document is a monochrome document. (Step S6). If it is determined in step S5 that the document is not a character document (NO), the process proceeds to step S20 in FIG.

ステップS6において、色値検出部2により検出された画像データの各画素の色値(CMYKの値)が黒色を示す場合には、文字原稿がモノクロ原稿であると判定し、この場合(YESの場合)、図7のステップS20に移行する。また、ステップS6において、色値検出部2により検出された画像データの各画素の色値(CMYKの値)が黒色以外を示す場合には、文字原稿がカラー原稿であると判定し、この場合(NOの場合)、文字色判定部4bが各文字に対応する画素の色値に基づいて各文字の色範囲を判定する(ステップS7)。   In step S6, when the color value (CMYK value) of each pixel of the image data detected by the color value detection unit 2 indicates black, it is determined that the character document is a monochrome document, and in this case (YES) Case), the process proceeds to step S20 in FIG. In step S6, when the color value (CMYK value) of each pixel of the image data detected by the color value detection unit 2 indicates a color other than black, it is determined that the character document is a color document. (In the case of NO), the character color determination unit 4b determines the color range of each character based on the color value of the pixel corresponding to each character (step S7).

次に、図6において、文字色判定部4bは、判定対象の文字の色値(CMYの%値)が、文字修飾テーブル5aに登録された色範囲、すなわち、C=0〜25(%)、M=76〜100(%)、Y=76〜100(%)の範囲に入るか否かを判定し(ステップS8)、ステップS8の範囲に入ると判定した場合(YESの場合)、文字修飾付加部3aが、文字修飾テーブル5aを参照し、モノクロ変換後の判定対象文字に対して、文字修飾1のパターン(太字、下線)を付加する(ステップS9,S12)。また、ステップS8の範囲に入らないと判定した場合(NOの場合)、判定対象の文字の色値(CMYの%値)が、文字修飾テーブル5aに登録された色範囲、すなわち、C=0〜25(%)、M=51〜75(%)、Y=76〜100(%)の範囲に入るか否かを判定する(ステップS10)。   Next, in FIG. 6, the character color determination unit 4 b determines that the color value (CMY% value) of the character to be determined is a color range registered in the character modification table 5 a, that is, C = 0 to 25 (%). , M = 76 to 100 (%), Y = 76 to 100 (%) is determined whether or not (step S8), and if it is determined to be within the range of step S8 (in the case of YES), characters The modification adding unit 3a refers to the character modification table 5a, and adds a character modification 1 pattern (bold, underline) to the determination target character after monochrome conversion (steps S9 and S12). Further, when it is determined that it does not fall within the range of step S8 (in the case of NO), the color value (CMY% value) of the character to be determined is the color range registered in the character modification table 5a, that is, C = 0. It is determined whether or not it falls within the range of ˜25 (%), M = 51 to 75 (%), and Y = 76 to 100 (%) (step S10).

ステップS10において、文字色判定部4bは、ステップS10の範囲に入ると判定した場合(YESの場合)、文字修飾付加部3aが、文字修飾テーブル5aを参照し、モノクロ変換後の判定対象文字に対して、文字修飾2のパターン(太字、囲み線)を付加する(ステップS11,S12)。また、ステップS10の範囲に入らないと判定した場合(NOの場合)、ステップS13に移行する。なお、本例では各色について判定する色範囲を2つのみ例示しているが、文字修飾テーブル5aに黒色を除く色範囲が登録されている場合には、登録されている全ての色範囲について判定するものとする。   In step S10, when it is determined that the character color determination unit 4b falls within the range of step S10 (in the case of YES), the character modification adding unit 3a refers to the character modification table 5a and sets the character to be determined after monochrome conversion. On the other hand, a character modification 2 pattern (bold, encircled line) is added (steps S11 and S12). Moreover, when it determines with not entering into the range of step S10 (in the case of NO), it transfers to step S13. In this example, only two color ranges to be determined for each color are illustrated, but if a color range other than black is registered in the character modification table 5a, determination is made for all registered color ranges. It shall be.

次に、文字色判定部4bは、判定対象文字のKの色値(Kの%値)を判定し(ステップS13)、Kの色値が76〜100(%)の範囲に入る場合(図中、K:76−100の場合)、文字修飾付加部3aが、文字修飾テーブル5aを参照し、モノクロ変換後の判定対象文字の濃度を40%に変更する(ステップS14,S18)。また、ステップS13において、Kの色値が51〜75(%)の範囲に入る場合(図中、K:51−75の場合)、文字修飾付加部3aが、文字修飾テーブル5aを参照し、モノクロ変換後の判定対象文字の濃度を60%に変更する(ステップS15,S18)。   Next, the character color determination unit 4b determines the K color value (% value of K) of the determination target character (step S13), and the K color value falls within the range of 76 to 100 (%) (FIG. In the case of K: 76-100), the character modification adding unit 3a refers to the character modification table 5a and changes the density of the determination target character after monochrome conversion to 40% (steps S14 and S18). In step S13, when the color value of K falls within the range of 51 to 75 (%) (in the figure, K: 51-75), the character modification adding unit 3a refers to the character modification table 5a, The density of the determination target character after monochrome conversion is changed to 60% (steps S15 and S18).

また、ステップS13において、Kの色値が26〜50(%)の範囲に入る場合(図中、K:26−50の場合)、文字修飾付加部3aが、文字修飾テーブル5aを参照し、モノクロ変換後の判定対象文字の濃度を80%に変更する(ステップS16,S18)。また、ステップS13において、Kの色値が0〜25(%)の範囲に入る場合(図中、K:0−25の場合)、文字修飾付加部3aが、文字修飾テーブル5aを参照し、モノクロ変換後の判定対象文字の濃度を100%に変更する(ステップS17,S18)。   In step S13, when the color value of K falls within the range of 26 to 50 (%) (in the figure, K: 26-50), the character modification adding unit 3a refers to the character modification table 5a, The density of the determination target character after monochrome conversion is changed to 80% (steps S16 and S18). In step S13, when the color value of K falls within the range of 0 to 25% (in the case of K: 0-25 in the figure), the character modification adding unit 3a refers to the character modification table 5a, The density of the determination target character after monochrome conversion is changed to 100% (steps S17 and S18).

次に、文字色判定部4bは、全文字について判断したか否かを判定し(ステップS19)、全文字について判断していない場合(NOの場合)、ステップS8に戻り処理を繰り返す。また、ステップS19において、全文字について判断した場合(YESの場合)、図7のステップS20に移行する。   Next, the character color determination unit 4b determines whether or not all characters have been determined (step S19). If all characters have not been determined (NO), the process returns to step S8 and repeats the process. If all characters are determined in step S19 (YES), the process proceeds to step S20 in FIG.

次に、図7において、表示部11は、ユーザの操作に従って、上記によりモノクロ変換され文字修飾が付加された画像データのプレビュー表示を行い(ステップS20)、主制御部4は、ユーザにより操作部9のキャンセルボタンが押下されたか否かを判定する(ステップS21)。操作部9のキャンセルボタンが押下されていないと判定した場合(NOの場合)、ユーザにより印刷開始ボタンが押下されたか否かに基づいて、画像データを印刷出力するか否かを判定する(ステップS22)。また、ステップS21において、操作部9のキャンセルボタンが押下されたと判定した場合(YESの場合)、この画像データに応じたジョブをキャンセルし(ステップS24)、ステップS1に戻る。   Next, in FIG. 7, the display unit 11 performs a preview display of the image data that has been converted into monochrome and added with character modification according to the user's operation (step S <b> 20). It is determined whether or not the cancel button 9 has been pressed (step S21). If it is determined that the cancel button of the operation unit 9 has not been pressed (in the case of NO), it is determined whether or not to print out the image data based on whether or not the user has pressed the print start button (step) S22). If it is determined in step S21 that the cancel button of the operation unit 9 has been pressed (YES), the job corresponding to the image data is canceled (step S24), and the process returns to step S1.

ステップS22において、主制御部4が、ユーザにより印刷開始ボタンが押下され、画像データを印刷出力すると判定した場合(YESの場合)、印刷部12に印刷実行を指示し、この指示に応じて印刷部12が画像データを印刷出力する(ステップS23)。また、ステップS22において、ユーザにより印刷開始ボタンが押下されず、画像データを印刷出力しないと判定した場合(NOの場合)、ステップS21に戻り待機状態に移行する。   In step S22, when the main control unit 4 determines that the user presses the print start button and prints out the image data (in the case of YES), the main control unit 4 instructs the printing unit 12 to execute printing, and prints according to this instruction. The unit 12 prints out the image data (step S23). If it is determined in step S22 that the user does not press the print start button and the image data is not printed out (in the case of NO), the process returns to step S21 to enter a standby state.

1…画像形成装置、2…色値検出部、3…画像処理部、3a…文字修飾付加部、4…主制御部、4a…文字抽出部、4b…文字色判定部、5…記憶部、5a…文字修飾テーブル、6…入力制御部、7…LANI/F、8…スキャナ部、9…操作部、10…出力制御部、11…表示部、12…印刷部、20…PC、21…プリンタドライバ。 DESCRIPTION OF SYMBOLS 1 ... Image forming apparatus, 2 ... Color value detection part, 3 ... Image processing part, 3a ... Character modification addition part, 4 ... Main control part, 4a ... Character extraction part, 4b ... Character color determination part, 5 ... Memory | storage part, 5a ... Character modification table, 6 ... Input control unit, 7 ... LAN I / F, 8 ... Scanner unit, 9 ... Operation unit, 10 ... Output control unit, 11 ... Display unit, 12 ... Printing unit, 20 ... PC, 21 ... Printer driver.

Claims (6)

カラー画像データをモノクロ出力する画像形成装置であって、
前記カラー画像データに含まれる各画素の色値を検出する色値検出部と、前記カラー画像データから文字部分を抽出する文字抽出部と、該抽出した文字部分に対応する画素の色値に基づいて該文字部分の文字色が所定色であるか否かを判定する文字色判定部と、該文字色判定部により所定色と判定された文字部分をモノクロ変換し、該モノクロ変換後の文字部分に文字修飾を付加する文字修飾付加部とを備え、
該文字修飾付加部により文字修飾が付加された文字部分を含むモノクロ画像データを出力することを特徴とする画像形成装置。
An image forming apparatus for monochrome output of color image data,
Based on a color value detection unit that detects a color value of each pixel included in the color image data, a character extraction unit that extracts a character part from the color image data, and a color value of a pixel corresponding to the extracted character part A character color determination unit that determines whether or not the character color of the character part is a predetermined color; and a character part that has been determined to be a predetermined color by the character color determination unit is subjected to monochrome conversion, and the character part after the monochrome conversion And a character modification adding part for adding character modification to
An image forming apparatus for outputting monochrome image data including a character portion to which character modification is added by the character modification adding unit.
前記所定色の色値と文字修飾とを対応付けて登録した文字修飾テーブルを備え、前記文字修飾付加部は、前記文字色判定部により所定色と判定された文字部分の文字修飾を、前記文字修飾テーブルから特定し、該特定した文字修飾を付加することを特徴とする請求項1に記載の画像形成装置。   A character modification table in which the color value of the predetermined color and character modification are registered in association with each other, and the character modification adding unit performs character modification of the character portion determined to be the predetermined color by the character color determination unit; The image forming apparatus according to claim 1, wherein the image forming apparatus is identified from a modification table, and the identified character modification is added. 前記色値は、CMYKの値であり、前記文字修飾付加部は、前記文字色判定部により所定色と判定された文字部分のKの値が小さいほど、該文字部分のモノクロ変換後の濃度を大きくすることを特徴とする請求項1または2に記載の画像形成装置。   The color value is a CMYK value, and the character modification adding unit decreases the density of the character part after monochrome conversion as the K value of the character part determined to be a predetermined color by the character color determination unit is smaller. The image forming apparatus according to claim 1, wherein the image forming apparatus is enlarged. 前記文字修飾は、太字、斜体、下線、囲み線、網かけ、拡大のいずれか1つ以上であることを特徴とする請求項1〜3のいずれか1項に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the character modification is at least one of bold, italic, underline, encircling, shading, and enlargement. 前記所定色は、黒色以外の色であることを特徴とする請求項1〜4のいずれか1項に記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the predetermined color is a color other than black. カラー画像データをモノクロ出力する画像形成装置による画像出力方法であって、
前記画像形成装置が、前記カラー画像データに含まれる各画素の色値を検出する色値検出ステップと、前記カラー画像データから文字部分を抽出する文字抽出ステップと、該文字抽出ステップにて抽出した文字部分に対応する画素の色値に基づいて該文字部分の文字色が所定色であるか否かを判定する文字色判定ステップと、該文字色判定ステップにて所定色と判定された文字部分をモノクロ変換し、該モノクロ変換後の文字部分に文字修飾を付加する文字修飾付加ステップと、該文字修飾付加ステップにて文字修飾が付加された文字部分を含むモノクロ画像データを出力する画像出力ステップとを備えたことを特徴とする画像出力方法。
An image output method by an image forming apparatus for monochrome output of color image data,
The image forming apparatus extracts a color value detecting step for detecting a color value of each pixel included in the color image data, a character extracting step for extracting a character portion from the color image data, and the character extracting step. A character color determining step for determining whether or not the character color of the character portion is a predetermined color based on a color value of a pixel corresponding to the character portion; and a character portion determined to be a predetermined color in the character color determining step Character conversion step for adding a character modification to the character portion after the monochrome conversion, and an image output step for outputting monochrome image data including the character portion to which the character modification has been added in the character modification addition step An image output method comprising:
JP2012024728A 2012-02-08 2012-02-08 Image forming apparatus and image output method Pending JP2013162434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012024728A JP2013162434A (en) 2012-02-08 2012-02-08 Image forming apparatus and image output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012024728A JP2013162434A (en) 2012-02-08 2012-02-08 Image forming apparatus and image output method

Publications (1)

Publication Number Publication Date
JP2013162434A true JP2013162434A (en) 2013-08-19

Family

ID=49174326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012024728A Pending JP2013162434A (en) 2012-02-08 2012-02-08 Image forming apparatus and image output method

Country Status (1)

Country Link
JP (1) JP2013162434A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101820848B1 (en) * 2013-09-05 2018-01-22 에스프린팅솔루션 주식회사 Image forming apparatus, method for processing image thereof and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101820848B1 (en) * 2013-09-05 2018-01-22 에스프린팅솔루션 주식회사 Image forming apparatus, method for processing image thereof and computer-readable recording medium

Similar Documents

Publication Publication Date Title
US8107142B2 (en) Image processing apparatus, image processing method, and program product for executing the method
US20120062914A1 (en) Image Processing Apparatus and Image Forming System
US20070070466A1 (en) Image forming apparatus
JP2010062755A (en) Image processing apparatus and method, and program
JP4966248B2 (en) Image processing apparatus, image forming apparatus, image processing method, and computer program
JP2009225269A (en) Image processing unit, and image processing method and program for making computer implement the method
JP2009217811A (en) Image reading device, method for reading image, and image reading program
JP5589700B2 (en) Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium
JP4925933B2 (en) Image processing method and image processing apparatus
JP3992035B2 (en) Image processing apparatus, method, and program
JP2008154106A (en) Concealing method, image processor and image forming apparatus
US20070285687A1 (en) Image forming apparatus and image forming method
US9241081B2 (en) Image processing device, image forming apparatus, and image processing method
US20070201060A1 (en) Image processing apparatus, image processing method, image processing program, and recording medium
CN110870294B (en) Feature-based operation of an image forming apparatus
JP2013162434A (en) Image forming apparatus and image output method
JP2015123598A (en) Image formation device, control method for image formation, and program
JP2006229386A (en) Image processor
JP5549836B2 (en) Image processing apparatus and image processing method
US20110096363A1 (en) Image processing apparatus
JP2006246328A (en) Image processing apparatus
US11863717B2 (en) Image reading apparatus and image reading method
JP5595141B2 (en) Image processing apparatus, control method therefor, and computer program
JP5960046B2 (en) Image forming apparatus
JP5215829B2 (en) Image forming apparatus, program, and preview display method