JP4991640B2 - Image forming apparatus, image processing method, and image processing program - Google Patents

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

Info

Publication number
JP4991640B2
JP4991640B2 JP2008155918A JP2008155918A JP4991640B2 JP 4991640 B2 JP4991640 B2 JP 4991640B2 JP 2008155918 A JP2008155918 A JP 2008155918A JP 2008155918 A JP2008155918 A JP 2008155918A JP 4991640 B2 JP4991640 B2 JP 4991640B2
Authority
JP
Japan
Prior art keywords
data
vector
color
gray
raster
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.)
Expired - Fee Related
Application number
JP2008155918A
Other languages
Japanese (ja)
Other versions
JP2009302965A (en
Inventor
智広 川崎
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2008155918A priority Critical patent/JP4991640B2/en
Priority to US12/405,785 priority patent/US20090310149A1/en
Publication of JP2009302965A publication Critical patent/JP2009302965A/en
Application granted granted Critical
Publication of JP4991640B2 publication Critical patent/JP4991640B2/en
Priority to US14/192,170 priority patent/US8891134B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Description

本発明は、無彩色のベクターデータとラスターデータとからなる画像データの画像処理を効果的に行う画像形成装置に関する。   The present invention relates to an image forming apparatus that effectively performs image processing of image data composed of achromatic color vector data and raster data.

従来、フルカラーの画像を印刷する所謂カラープリンタにおいて無彩色(グレー)の画像出力を行う場合、通常は、所定の色変換テーブルに基づき数色を混色することによって表現することができる。
具体的には、減法混色の原理により、Y(イエロー)、M(マゼンタ)、C(シアン)の3原色を等量で印刷すると無彩色を表現することができる。
しかしながら、無彩色をK(ブラック)単色で表現した場合と比べると鮮やかさに欠け、実際には色ずれ等の違和感を生ずるものとなっていた。
Conventionally, when an achromatic (gray) image is output in a so-called color printer that prints a full-color image, it can usually be expressed by mixing several colors based on a predetermined color conversion table.
Specifically, an achromatic color can be expressed by printing three primary colors of Y (yellow), M (magenta), and C (cyan) in equal amounts based on the principle of subtractive color mixing.
However, compared with the case where the achromatic color is expressed by a single color of K (black), the color is lacking in vividness and actually causes a sense of discomfort such as a color shift.

このため、例えば、特許文献1には、入力カラーデータを出力色に対応してブラック(K)を含む複数の色に変換する第一の変換手段と、入力カラーデータのRGB値が等しい場合に当該入力カラーデータをブラック(K)のみのデータに変換する第二の変換手段と、入力カラーデータの種類に応じて前記第一の変換手段と前記第二の変換手段を切り換える切替手段と、を備えたカラープリンタ制御装置が紹介されている。   For this reason, for example, Patent Document 1 discloses that the first conversion means that converts input color data into a plurality of colors including black (K) corresponding to the output color and the RGB values of the input color data are equal. Second conversion means for converting the input color data into black (K) data; and switching means for switching between the first conversion means and the second conversion means in accordance with the type of input color data. The provided color printer control device is introduced.

また、特許文献2には、カラー画像データと2値白黒画像データが合成された合成画像データから黒文字黒線画を構成するドットを抽出したときビットマップメモリの対応するビットを1とする線画抽出回路を備えた記録装置が記載されており、本装置によれば、色信号のドットに対応するビットマップメモリのビットが1のとき色信号のCMYを0としKを最大値に変換して出力し、Kインクのみで印刷を行うようになっている。
このように、上述のいずれの発明においても、対象となる画像データからブラック(無彩色)に関するデータを検出した場合には、当該検出部分に関してはブラック(K)単色で表現するようにしており、前述の色ずれ等の問題を解消できるようになっている。
Patent Document 2 discloses a line drawing extraction circuit that sets a corresponding bit of a bitmap memory to 1 when a dot constituting a black character black line drawing is extracted from synthesized image data obtained by synthesizing color image data and binary monochrome image data. According to this apparatus, when the bit of the bitmap memory corresponding to the dot of the color signal is 1, the CMY of the color signal is set to 0 and K is converted to the maximum value and output. , Printing is performed only with K ink.
As described above, in any of the above-described inventions, when data related to black (achromatic color) is detected from the target image data, the detected portion is expressed in black (K) single color. Problems such as the aforementioned color misregistration can be solved.

特開平9−277606号公報Japanese Patent Laid-Open No. 9-277606 特開平5−83540号公報JP-A-5-83540

しかしながら、以上のような従来提案されているカラープリンタ制御装置等においては、対象となる画像データがラスターデータであるか、ベクターデータであるか、といった識別が行われておらず、したがって、このようなデータの違いに対応した画像処理が全く考慮されていない。
特に、特許文献2においては、画像データに無彩色のベクターデータが含まれる場合には、そのオブジェクトはドットによって構成されていないため、依然として多色(例えば、CMY又はCMYK)によってオブジェクトを表現せざるを得なかった。
すなわち、無彩色のベクターデータを再現する場合でもカラー処理が必要となり、処理時間や画像品質が課題となっていた。
また、図10に示すように、領域が重複する2つのオブジェクトがともに黒(無彩色)であり、かつ、これらのオブジェクトが各々ベクターデータとラスターデータとによって構成されている場合には、出力形式がそれぞれCMYK出力、K出力となるため、重複領域においてにじみが発生する問題が発生していた。
However, in the conventionally proposed color printer control device and the like, there is no identification as to whether the target image data is raster data or vector data. The image processing corresponding to the difference of various data is not considered at all.
In particular, in Patent Document 2, when achromatic vector data is included in image data, the object is not composed of dots, so the object is still not expressed in multiple colors (for example, CMY or CMYK). Did not get.
That is, even when reproducing achromatic vector data, color processing is required, and processing time and image quality are problems.
Also, as shown in FIG. 10, when two objects having overlapping regions are both black (achromatic color) and these objects are each composed of vector data and raster data, the output format Respectively become CMYK output and K output, so that there is a problem that blur occurs in the overlapping region.

本発明は、以上のような従来の技術が有する問題を解決するために提案されたものであり、無彩色のベクターデータとラスターデータが混在する画像データを処理する場合の画像処理の高速化と出力品質の向上を実現する画像形成装置、画像処理方法及び画像処理プログラムの提供を目的とする。   The present invention has been proposed in order to solve the above-described problems of the conventional technology, and it is possible to increase the speed of image processing when processing image data in which achromatic vector data and raster data are mixed. An object of the present invention is to provide an image forming apparatus, an image processing method, and an image processing program that can improve output quality.

上記目的を達成するため、本発明の画像形成装置は、ページ毎に所定の画像データを読み込むデータ読込手段と、読み込んだ画像データを構成する各オブジェクトデータがそれぞれベクターデータであるか、ラスターデータであるかを識別しうる形式で、所定の記憶手段に格納する描画データ格納手段と、格納された各ベクターデータが無彩色によって構成されるか否かを判定するベクターグレー判定手段と、格納された各ラスターデータが無彩色によって構成されるか否かを判定するラスターグレー判定手段と、格納されたオブジェクトデータを所定の多色に変換して出力する出力データ作成手段と、を備え、前記出力データ作成手段は、格納されたオブジェクトデータがすべて無彩色によって構成される場合には所定の単色によって色出力を行うようにしてある。   In order to achieve the above object, an image forming apparatus according to the present invention includes a data reading unit that reads predetermined image data for each page, and each object data constituting the read image data is vector data or raster data. A drawing data storage means for storing in a predetermined storage means, a vector gray determination means for determining whether or not each stored vector data is constituted by an achromatic color, in a format capable of identifying whether there is Raster gray determination means for determining whether or not each raster data is composed of achromatic colors, and output data creation means for converting the stored object data into a predetermined multicolor and outputting the output data, the output data If the stored object data is all composed of achromatic colors, the creating means outputs the color using a predetermined single color. It is to carry out the.

このような構成からなる本発明の画像形成装置によれば、ラスターデータとベクターデータとが混在する画像データにおいて、これらのオブジェクトが無彩色であるか、有彩色であるかを各々判別するようにしている。
そして、通常はこれらのオブジェクトをカラー変換したうえで画像出力するようにしているが、すべてのオブジェクトが無彩色である場合には単色で画像出力するようにしている。
このため、ラスターデータのみならず、ベクターデータについても単色出力が可能となる。
したがって、所定の場合には無彩色オブジェクトについてカラー処理する手間が省け、画像処理の高速化が図れるようになる。
また、無彩色のオブジェクトを単色で表現することができるためより鮮やかな画像出力が可能となる。
特に、ベクターオブジェクトとラスターオブジェクトとが重なり合う場合であっても、にじみの発生を抑えることができ、高い出力品質を実現することができる。
According to the image forming apparatus of the present invention having such a configuration, in the image data in which the raster data and the vector data are mixed, it is discriminated whether these objects are achromatic or chromatic. ing.
Normally, these objects are color-converted and output as an image, but when all objects are achromatic, they are output as a single color.
Therefore, not only raster data but also vector data can be output in a single color.
Therefore, in a predetermined case, it is possible to save the trouble of performing color processing on an achromatic color object and to increase the speed of image processing.
In addition, since an achromatic object can be expressed in a single color, a more vivid image can be output.
In particular, even when the vector object and the raster object overlap, the occurrence of bleeding can be suppressed and high output quality can be realized.

また、本発明の画像形成装置は、前記出力データ作成手段が、格納されたベクターデータのうち、少なくとも1つのベクターデータが無彩色によって構成されていない場合にはそのベクターデータを所定の多色に変換して出力するようにしてもよい。   In the image forming apparatus according to the present invention, the output data creation means may convert the vector data to a predetermined multicolor when at least one of the stored vector data is not configured with achromatic colors. You may make it output after converting.

このような構成からなる本発明の画像形成装置によれば、最低1のベクターデータが有彩色によって構成されている場合には、通常通りカラー変換によって画像出力を行うこととしている。
したがって、一連の処理における早い段階でカラー/モノクロの判別ができ、処理時間の短縮を図ることができる。
According to the image forming apparatus of the present invention having such a configuration, when at least one vector data is composed of chromatic colors, image output is performed by color conversion as usual.
Therefore, color / monochrome discrimination can be performed at an early stage in a series of processing, and the processing time can be shortened.

また、本発明の画像形成装置は、前記画像データの色値がRGB値によって構成され、前記ベクターグレー判定手段が、ベクターデータのRGB値が、R=G=Bである場合に、そのベクターデータが無彩色であると判定するようにしてもよい。   In the image forming apparatus of the present invention, when the color value of the image data is composed of RGB values, and the vector gray determination means has the RGB value of the vector data R = G = B, the vector data May be determined to be achromatic.

このような構成からなる本発明の画像形成装置によれば、ベクターデータが無彩色であるか否かを容易に判別できる仕組みとなっている。
このため、本発明の画像形成装置を簡易な構成で実現することができる。
According to the image forming apparatus of the present invention having such a configuration, it is possible to easily determine whether or not the vector data is achromatic.
Therefore, the image forming apparatus of the present invention can be realized with a simple configuration.

そして、本発明の画像形成装置は、上記構成に加え、格納されたオブジェクトデータをCMY値又はCMYK値に変換して出力する前記出力データ作成手段を備え、前記出力データ作成手段は、格納されたオブジェクトデータがすべて無彩色によって構成される場合にはK(ブラック)によって色出力を行うようにしてある。   In addition to the above configuration, the image forming apparatus according to the present invention includes the output data creation unit that converts the stored object data into a CMY value or a CMYK value and outputs the converted data, and the output data creation unit stores the stored data. When all the object data is composed of achromatic colors, color output is performed using K (black).

このような構成からなる本発明の画像形成装置によれば、通常は、CMY出力又はCMYK出力を行う一方、すべてのオブジェクトが無彩色である場合にはK(ブラック)単色で画像出力を行うようにしてある。
このように本発明の構成によっても、上述の他の画像形成装置と同様の作用・効果を奏することができる。
According to the image forming apparatus of the present invention having such a configuration, normally, CMY output or CMYK output is performed, but when all objects are achromatic, an image is output in K (black) single color. It is.
Thus, even with the configuration of the present invention, the same operations and effects as those of the other image forming apparatuses described above can be achieved.

さらに、本発明の画像形成装置は、上記の構成に加え、格納されたベクターデータのすべてが無彩色によって構成される場合には所定のベクターグレーフラグを設定するベクターグレーフラグ設定手段と、格納されたラスターデータのすべてが無彩色によって構成される場合には所定のラスターグレーフラグを設定するラスターグレーフラグ設定手段と、を備え、前記出力データ作成手段は、前記ベクターグレーフラグ又はラスターグレーフラグのいずれかが設定されない場合には所定の多色に基づいて色出力を行い、前記ベクターグレーフラグ及びラスターグレーフラグのいずれもが設定された場合には所定の単色に基づいて色出力を行うようにしてある。   Further, the image forming apparatus of the present invention, in addition to the above configuration, stores a vector gray flag setting unit that sets a predetermined vector gray flag when all of the stored vector data is composed of achromatic colors. A raster gray flag setting means for setting a predetermined raster gray flag when all of the raster data is composed of achromatic colors, and the output data creation means includes either the vector gray flag or the raster gray flag. If no color is set, color output is performed based on a predetermined multicolor, and if both the vector gray flag and the raster gray flag are set, color output is performed based on a predetermined single color. is there.

このような構成からなる本発明の画像形成装置によれば、フラグの設定に応じてオブジェクトが無彩色か否かを判定し、その判定に基づいて適切な画像処理を行うようにしている。
このため、複雑な回路構成やアルゴリズム等を必要とせず、簡易な構成で本発明の画像形成装置を実現することができる。
According to the image forming apparatus of the present invention having such a configuration, it is determined whether or not the object is an achromatic color according to the setting of the flag, and appropriate image processing is performed based on the determination.
Therefore, the image forming apparatus of the present invention can be realized with a simple configuration without requiring a complicated circuit configuration or algorithm.

また、本発明の画像処理方法は、ページ毎に所定の画像データを読み込むステップと、読み込んだ画像データを構成する各オブジェクトデータがそれぞれベクターデータであるか、ラスターデータであるかを識別しうる形式で、所定の記憶手段に格納するステップと、格納された各ベクターデータが無彩色によって構成されるか否かを判定するステップと、格納された各ラスターデータが無彩色によって構成されるか否かを判定するステップと、格納されたオブジェクトデータを所定の多色に変換して出力するステップと、格納されたオブジェクトデータがすべて無彩色によって構成される場合には所定の単色によって色出力を行うステップと、を有する方法としてある。   The image processing method of the present invention includes a step of reading predetermined image data for each page, and a format that can identify whether each object data constituting the read image data is vector data or raster data. The step of storing in a predetermined storage means, the step of determining whether or not each stored vector data is constituted by an achromatic color, and whether or not each stored raster data is constituted by an achromatic color A step of converting the stored object data into a predetermined multi-color and outputting, and a step of performing color output by a predetermined single color when the stored object data is all composed of achromatic colors As a method comprising:

このように、本発明は上述した装置発明だけでなく、方法発明としても実現化することができる。
したがって、ハードウェアの構成にとらわれることなく発明を実施することができるため、汎用性、拡張性に優れた方法として提供することが可能である。
Thus, the present invention can be realized not only as the device invention described above but also as a method invention.
Therefore, the invention can be implemented without being restricted by the hardware configuration, and thus can be provided as a method having excellent versatility and expandability.

また、本発明の画像処理プログラムは、カラー画像の出力を行う画像形成装置を構成するコンピュータを、ページ毎に所定の画像データを読み込むデータ読込手段、読み込んだ画像データを構成する各オブジェクトデータがそれぞれベクターデータであるか、ラスターデータであるかを識別しうる形式で、所定の記憶手段に格納する描画データ格納手段、格納された各ベクターデータが無彩色によって構成されるか否かを判定するベクターグレー判定手段、格納された各ラスターデータが無彩色によって構成されるか否かを判定するラスターグレー判定手段、格納されたオブジェクトデータを所定の多色に変換して出力する出力データ作成手段、を備え、前記出力データ作成手段を、格納されたオブジェクトデータがすべて無彩色によって構成される場合には所定の単色によって色出力を行う手段、として機能させるためのプログラムとしてある。   The image processing program according to the present invention includes a computer that constitutes an image forming apparatus that outputs a color image, a data reading unit that reads predetermined image data for each page, and each object data that constitutes the read image data. Drawing data storage means stored in a predetermined storage means in a format that can identify whether the data is vector data or raster data, and a vector that determines whether each stored vector data is composed of achromatic colors Gray determination means, raster gray determination means for determining whether each stored raster data is composed of achromatic colors, output data creation means for converting the stored object data into a predetermined multicolor, and outputting the data. And the output data creation means comprises all the stored object data in achromatic colors. If that is the certain as a program to function as a unit, for performing color output by a predetermined single color.

このように本発明はプログラムとしても実現化することができる。
これにより、プリンタ等の画像形成装置のみならずパーソナルコンピュータ等、画像処理を行う情報処理装置にプログラムをインストールすることによって本発明を実現することができ、汎用性,拡張性に優れた画像処理プログラムとして提供することができる。
Thus, the present invention can also be realized as a program.
As a result, the present invention can be realized by installing the program in an information processing apparatus that performs image processing, such as a personal computer as well as an image forming apparatus such as a printer, and is an image processing program excellent in versatility and expandability. Can be offered as.

以上のように、本発明の画像形成装置によれば、無彩色のベクターデータとラスターデータによって構成される画像データを単色で画像出力することができるだけでなく、画像処理の高速化と出力品質の向上を実現できる。   As described above, according to the image forming apparatus of the present invention, not only image data composed of achromatic color vector data and raster data can be output in a single color, but also image processing speed and output quality can be improved. Improvements can be realized.

以下、本発明の好ましい実施形態について図1〜図6を参照して説明する。
ここで、以下に示す本実施形態の画像形成装置は、プログラム(ソフトウェア)の命令によりコンピュータで実行される処理,手段,機能によって実現される。プログラムは、コンピュータの各構成要素に指令を送り、以下に示すような所定の処理・機能を行わせる。すなわち、本実施形態の画像形成装置における各処理・手段は、プログラムとコンピュータとが協働した具体的手段によって実現される。
なお、プログラムの全部又は一部は、例えば、磁気ディスク,光ディスク,半導体メモリ,その他任意のコンピュータで読取り可能な記録媒体により提供され、記録媒体から読み出されたプログラムがコンピュータにインストールされて実行される。また、プログラムは、記録媒体を介さず、通信回線を通じて直接にコンピュータにロードし実行することもできる。
A preferred embodiment of the present invention will be described below with reference to FIGS.
Here, the image forming apparatus of the present embodiment described below is realized by processing, means, and functions executed by a computer according to instructions of a program (software). The program sends a command to each component of the computer to perform predetermined processing and functions as shown below. That is, each process / means in the image forming apparatus of the present embodiment is realized by specific means in which a program and a computer cooperate.
Note that all or part of the program is provided by, for example, a magnetic disk, optical disk, semiconductor memory, or any other computer-readable recording medium, and the program read from the recording medium is installed in the computer and executed. The The program can also be loaded and executed directly on a computer through a communication line without using a recording medium.

図1は、本発明の一実施形態に係る画像形成装置の構成を示す機能ブロック図である。
本実施形態に係る画像形成装置1は、図1に示すような各部を備えている。
データ読込手段101は、図示しないホストコンピュータ等から送られたPDLデータ(Page Description Language:ページ記述言語)を読み込む手段である。
代表的なページ記述言語としてはPCL-XL、PostScript、HP-PCL、LIPS、ESC/Page、PRESCRIBE等がある。
FIG. 1 is a functional block diagram showing a configuration of an image forming apparatus according to an embodiment of the present invention.
The image forming apparatus 1 according to the present embodiment includes each unit as shown in FIG.
The data reading means 101 is means for reading PDL data (Page Description Language) sent from a host computer or the like (not shown).
Typical page description languages include PCL-XL, PostScript, HP-PCL, LIPS, ESC / Page, PRESCRIBE, and the like.

ページ判別手段102は、PDLデータを解析し、対象となる画像データのページの始めと終わりを認識する手段である。
後述するベクターグレー解析やラスターグレー解析は、ページ毎に行われるためこのようなページ判別が予め必要となる。
描画データ格納手段103は、ページ開始後に受け取る描画データを「ベクター」又は「ラスター」の識別ラベルを付けるとともに、その色値をメモリ等の記憶手段に格納する手段である(図5参照)。
指定色値獲得手段104は、対象となるオブジェクトに色値が直接指定されていない場合にパレットやインデックステーブルといった色登録テーブルから必要な色値を取り出す手段である。
The page determination unit 102 is a unit that analyzes the PDL data and recognizes the start and end of the page of the target image data.
Since vector gray analysis and raster gray analysis described later are performed for each page, such page discrimination is necessary in advance.
The drawing data storage unit 103 is a unit that attaches an identification label of “vector” or “raster” to drawing data received after the page starts, and stores the color value in a storage unit such as a memory (see FIG. 5).
The designated color value acquisition unit 104 is a unit that extracts a necessary color value from a color registration table such as a palette or an index table when a color value is not directly designated for a target object.

ベクターデータ呼出手段105は、ページの終わりを認識した段階でベクターデータを呼び出す手段である。
具体的には、メモリ等を検索し、「ベクター」の識別ラベルが付されたオブジェクトデータを抽出する。
ベクターグレー判定手段106は、ベクターデータ呼出手段105によって呼び出されたオブジェクトデータの色がグレー(無彩色)かどうかを判定する手段である。
なお、ベクターグレー判定手段106により、対象となる1ページの画像データ内に含まれるベクターオブジェクトのすべてがグレーであることが確認された場合には、ベクターグレーフラグ設定手段111が、ベクターグレーフラグをONとしてメモリに保持しておく。
The vector data calling means 105 is means for calling vector data when the end of the page is recognized.
Specifically, the memory or the like is searched, and the object data with the “vector” identification label is extracted.
The vector gray determination unit 106 is a unit that determines whether the color of the object data called by the vector data calling unit 105 is gray (achromatic color).
When the vector gray determination unit 106 confirms that all of the vector objects included in the target page image data are gray, the vector gray flag setting unit 111 sets the vector gray flag. Stored in the memory as ON.

ラスターデータ呼出手段107は、ページの終わりを認識した段階でラスターデータを呼び出す手段である。
具体的には、メモリ等を検索し、「ラスター」の識別ラベルが付されたオブジェクトデータを抽出する。
ラスターグレー判定手段108は、ラスターデータ呼出手段107によって呼び出されたオブジェクトデータの色がグレー(無彩色)かどうかを解析する手段である。
なお、ラスターグレー判定手段108により、対象となる1ページの画像データ内に含まれるラスターオブジェクトのすべてがグレーであることが確認された場合には、ラスターグレーフラグ設定手段112が、ラスターグレーフラグをONとしてメモリに保持しておく。
Raster data calling means 107 is means for calling raster data when the end of the page is recognized.
Specifically, the memory or the like is searched, and the object data with the “raster” identification label is extracted.
The raster gray determination means 108 is a means for analyzing whether the color of the object data called by the raster data calling means 107 is gray (achromatic color).
When the raster gray determination unit 108 confirms that all the raster objects included in the target page image data are gray, the raster gray flag setting unit 112 sets the raster gray flag. Stored in the memory as ON.

カラー/モノクロ指定手段109は、ベクターグレーフラグ及びラスターグレーフラグを参照することにより、カラーテーブルを用いてカラー画像変換処理を行うか、モノクロ画像処理を行うかを判断し、指定する手段である。
出力データ作成手段110は、カラー画像出力又はモノクロ画像出力を行う手段である。
具体的には、カラー/モノクロ指定手段109がカラー指定をした場合にはカラーテーブルによってCMYK出力を行い、モノクロ指定をした場合にはグレー処理によってK(ブラック)出力を行う。
The color / monochrome specifying means 109 is means for determining and specifying whether to perform color image conversion processing or monochrome image processing using a color table by referring to the vector gray flag and raster gray flag.
The output data creation unit 110 is a unit that performs color image output or monochrome image output.
Specifically, when the color / monochrome designating unit 109 designates a color, CMYK output is performed by a color table, and when monochrome is designated, K (black) output is performed by gray processing.

次に、以上のような構成からなる本実施形態の画像形成装置1における色変換出力に関する動作手順について図2乃至図4を参照しつつ説明する。
図2は、本実施形態に係る画像形成装置における色変換出力に関する動作手順を示したフローチャートである。
なお、後述の通り、ページ毎に色変換方法を判断して画像処理を行うため、図6〜図9に示すページ1乃至ページ4のそれぞれについて順を追って以下説明する。
Next, an operation procedure related to color conversion output in the image forming apparatus 1 of the present embodiment having the above-described configuration will be described with reference to FIGS.
FIG. 2 is a flowchart showing an operation procedure regarding color conversion output in the image forming apparatus according to the present embodiment.
As will be described later, in order to perform the image processing by determining the color conversion method for each page, each of the pages 1 to 4 shown in FIGS. 6 to 9 will be described in order.

(1)ページ1の画像処理
図2に示されるように、まず、画像形成装置1のデータ読込手段101が図6に示すページ1のPDLデータを読み込み、次いで、ページ判別手段102がそのページ開始を判別する(S201)。
次に、描画データ格納手段103が、ページ1に含まれるすべてのオブジェクトデータを読み込み、メモリに格納する(S202)。
(1) Image Processing of Page 1 As shown in FIG. 2, first, the data reading unit 101 of the image forming apparatus 1 reads the PDL data of page 1 shown in FIG. 6, and then the page determination unit 102 starts the page. Is discriminated (S201).
Next, the drawing data storage unit 103 reads all the object data included in the page 1 and stores it in the memory (S202).

具体的には、ベクターオブジェクトとして、図6中の文字「ABCDEFGHIJ」が読み込まれ、これを識別するためのラベル「ベクター1」と黒色を示す色値(R,G,B)=(128,128,128)とが対応づけられたうえでメモリに格納される。
なお、ベクターオブジェクトに係る色値は、オブジェクトデータそのものを利用しても良く、指定色値獲得手段104が、予め色値が登録されているパレットから指定の色値を抽出して利用してもよい。
Specifically, the character “ABCDEFGHIJ” in FIG. 6 is read as a vector object, a label “Vector 1” for identifying this, and a color value (R, G, B) = (128,128,128) indicating black Are associated with each other and stored in the memory.
Note that the color value related to the vector object may use the object data itself, or the designated color value acquisition unit 104 may extract and use the designated color value from a palette in which the color value is registered in advance. Good.

次いで、描画データ格納手段103が、ベクターオブジェクトとして、同図の写真データ(ビットマップで構成された複写機の写真画像)を読み込み、これを識別するためのラベル「ラスター1」とその色値とをメモリに格納する。
なお、ラスターオブジェクトに係る色値に関しては、オブジェクトデータがインデックスイメージという色値そのものを有していない場合は、指定色値獲得手段104が、所定のインデックステーブルからRGB値を抽出して利用する。
これらの結果、図5に示すように、ベクターオブジェクトとラスターオブジェクトに関するデータがメモリに格納される。
Next, the drawing data storage means 103 reads the photographic data (photograph image of a copying machine composed of a bitmap) of the same figure as a vector object, and identifies the label “raster 1” and its color value to identify it. Is stored in memory.
Regarding the color value related to the raster object, when the object data does not have the color value itself called the index image, the designated color value acquisition unit 104 extracts and uses the RGB value from the predetermined index table.
As a result, as shown in FIG. 5, data relating to the vector object and the raster object is stored in the memory.

なお、オブジェクトデータの読み取りはそのページ(即ち、ページ1)におけるすべてのオブジェクトデータの読み取りが終了するまで継続して行われる(S203:NO)。
そして、ページ1に含まれるすべてのオブジェクトデータの読み込みが終了すると(S203:YES)、ページ1のオブジェクトデータのグレー解析を行う(S204)。
グレー解析では、まず、ベクターグレー解析を行う(S205)。
Note that reading of object data is continued until reading of all object data on the page (that is, page 1) is completed (S203: NO).
When reading of all object data included in page 1 is completed (S203: YES), gray analysis is performed on the object data of page 1 (S204).
In the gray analysis, first, vector gray analysis is performed (S205).

ここで、ベクターグレー解析について、図3を参照しながら詳細に説明する。
図3は、本実施形態に係る画像形成装置において実行されるベクターグレー解析手順を示したフローチャートである。
(ベクターグレー解析)
ベクターグレー解析では、まず、ベクターデータ呼出手段105が、メモリに格納されているデータの中からベクターデータに関するデータを呼び出す(S301)。
ページ1の場合、まず、ベクター1のデータが呼び出されることとなる。
なお、ベクターデータの呼び出しはそのページのすべて(ベクターオブジェクトがN個である場合、ベクター1乃至ベクターN)について行われる(S302:YES)。
Here, the vector gray analysis will be described in detail with reference to FIG.
FIG. 3 is a flowchart showing a vector gray analysis procedure executed in the image forming apparatus according to the present embodiment.
(Vector gray analysis)
In the vector gray analysis, first, the vector data calling unit 105 calls data related to vector data from the data stored in the memory (S301).
In the case of page 1, first, the data of vector 1 is called.
The vector data is called for all the pages (when there are N vector objects, vector 1 to vector N) (S302: YES).

ベクターデータ呼出手段105がすべてのベクターデータを呼び出すと(S302:NO)、ベクターグレー判定手段106は、各々のベクターデータについてベクターグレー判定を行う(S303)。
実際には、すべてのベクターデータがグレーか否かに応じて後述の判定が行われる。
なお、ベクターデータがグレーか否かの判別は、ベクターデータのRGB値がR=G=Bの関係にあればグレーとし、それ以外はグレーでない(カラー)とする。
When the vector data calling unit 105 calls all the vector data (S302: NO), the vector gray determination unit 106 performs vector gray determination for each vector data (S303).
Actually, the determination described later is performed depending on whether all vector data is gray.
Whether or not the vector data is gray is determined to be gray if the RGB value of the vector data has a relationship of R = G = B, and is not gray (color) otherwise.

ステップS303の結果、ベクターグレー判定手段106が、すべてのベクターデータがグレーであると判定した場合(S303:グレー)、ベクターグレーフラグ設定手段111は、ベクターグレーフラグをONに設定し、メモリの所定領域に保持させる(S305)。
一方、ステップS303の結果、ベクターグレー判定手段106が、すべてのベクターデータの内、ひとつでもグレーでないベクターオブジェクトを検出した場合(S303:カラー)、ベクターグレーフラグ設定手段111は、ベクターグレーフラグをOFFに設定してメモリ所定領域に保持させる(S304)。
これをページ1について当てはめてみると、ベクターデータはベクター1のみであり、さらにグレーであるため、ベクターグレーフラグ設定手段111は、ベクターグレーフラグをONに設定することとなる。
以上をもってベクターグレー解析は終了する。
As a result of step S303, when the vector gray determination unit 106 determines that all vector data is gray (S303: gray), the vector gray flag setting unit 111 sets the vector gray flag to ON, and sets the predetermined value in the memory. The area is held (S305).
On the other hand, as a result of step S303, when the vector gray determination unit 106 detects at least one vector object that is not gray among all vector data (S303: color), the vector gray flag setting unit 111 turns off the vector gray flag. And set in a predetermined memory area (S304).
If this is applied to page 1, the vector data is only vector 1 and further gray, and therefore vector gray flag setting means 111 sets the vector gray flag to ON.
This completes the vector gray analysis.

図2に戻り、前述のベクターグレー解析を受け、カラー/モノクロ指定手段109は、ベクターグレーフラグがONかOFFかを判定する(S206)。
ステップS206の結果、カラー/モノクロ指定手段109は、ベクターグレーフラグがOFFの場合(S206:OFF)ステップS207に進む制御を行い、ベクターグレーフラグがONの場合(S206:ON)ステップS208に進む制御を行う。
ステップS208では、ラスターグレー解析を行う(S208)。
Returning to FIG. 2, after receiving the vector gray analysis described above, the color / monochrome designating unit 109 determines whether the vector gray flag is ON or OFF (S206).
As a result of step S206, the color / monochrome designating unit 109 performs control to proceed to step S207 when the vector gray flag is OFF (S206: OFF), and proceeds to step S208 when the vector gray flag is ON (S206: ON). I do.
In step S208, raster gray analysis is performed (S208).

ここで、ラスターグレー解析について、図4を参照しながら以下詳細に説明する。
図4は、本実施形態に係る画像形成装置において実行されるラスターグレー解析の処理手順を示したフローチャートである。
(ラスターグレー解析)
ラスターグレー解析では、まず、ラスターデータ呼出手段107が、メモリに格納されているデータの中からラスターデータを呼び出す(S401)。
ページ1の場合、ラスター1のデータが呼び出されることとなる。
なお、ラスターデータの呼び出しはそのページのすべて(ラスターデータがN個ある場合、ラスター1乃至ラスターN)について行われる(S402:YES)。
Here, the raster gray analysis will be described in detail below with reference to FIG.
FIG. 4 is a flowchart illustrating a processing procedure of raster gray analysis executed in the image forming apparatus according to the present embodiment.
(Raster gray analysis)
In the raster gray analysis, the raster data calling unit 107 first calls raster data from the data stored in the memory (S401).
In the case of page 1, raster 1 data is called.
The raster data is called for all the pages (when there are N raster data, raster 1 to raster N) (S402: YES).

ラスターデータ呼出手段107がすべてのラスターデータを呼び出すと(S402:NO)、ラスターグレー判定手段108は、各々のラスターデータについてラスターグレー判定を行う(S403)。
実際には、すべてのラスターデータがグレーか否かに応じて後述の判定が行われる。
ここでのグレー判定は、例えば、ラスターオブジェクトを構成する画素が無彩色で構成されている場合にグレーと判定することができる。
また、このグレー判定では、各画素を構成する色値の差分を求めその差分が所定の閾値におさまる場合にグレーと判定する方法でも良く、さらにエッジ強調を施しホワイトノイズを除去する等して正確にグレー判定を行っても良い。
When the raster data calling unit 107 calls all the raster data (S402: NO), the raster gray determination unit 108 performs raster gray determination for each raster data (S403).
Actually, the determination described later is performed depending on whether all raster data is gray.
The gray determination here can be determined to be gray when, for example, the pixels constituting the raster object are configured with achromatic colors.
In addition, this gray determination may be a method in which the difference between the color values constituting each pixel is obtained and determined to be gray when the difference falls within a predetermined threshold, and further, edge enhancement is performed to remove white noise. Alternatively, gray determination may be performed.

ステップS403の結果、ラスターグレー判定手段108が、すべてのラスターデータがグレーであると判定した場合(S403:グレー)、ラスターグレーフラグ設定手段112はラスターグレーフラグをONに設定し、メモリの所定領域に保持させる(S405)。
一方、ステップS403の結果、ラスターグレー判定手段108が、すべてのラスターデータの内、ひとつでもグレーでないラスターオブジェクトを検出した場合(S403:カラー)、ラスターグレーフラグ設定手段112はラスターグレーフラグをOFFに設定してメモリ所定領域に保持させる(S404)。
これをページ1について当てはめてみると、ラスターデータはラスター1のみであり、さらにグレーであるため、ラスターグレーフラグ設定手段112は、ラスターグレーフラグをONに設定することとなる。
以上をもってラスターグレー解析を終了する。
As a result of step S403, when the raster gray determination unit 108 determines that all the raster data is gray (S403: gray), the raster gray flag setting unit 112 sets the raster gray flag to ON and sets a predetermined area in the memory. (S405).
On the other hand, as a result of step S403, when the raster gray determination unit 108 detects a raster object that is not gray among all the raster data (S403: color), the raster gray flag setting unit 112 sets the raster gray flag to OFF. It is set and held in a predetermined memory area (S404).
When this is applied to page 1, the raster data is only raster 1 and is gray, so the raster gray flag setting means 112 sets the raster gray flag to ON.
This completes the raster gray analysis.

図2に戻り、前述のラスターグレー解析を受け、カラー/モノクロ指定手段109は、ラスターグレーフラグがONかOFFかを判定する(S209)。
ステップS209の結果、カラー/モノクロ指定手段109は、ラスターグレーフラグがOFFの場合(S209:OFF)ステップS207に進むよう制御を行い、ラスターグレーフラグがONの場合(S209:ON)ステップS210に進むよう制御を行う。
ページ1の場合、ベクターグレーフラグ及びラスターグレーフラグ共にONに設定されているため、カラー/モノクロ指定手段109は、ステップS210に進むよう制御を行う。
ステップS207では、出力データ作成手段110が、全オブジェクトにおいてカラーテーブルを用いた色変換を行って画像出力を行う。
Returning to FIG. 2, after receiving the raster gray analysis described above, the color / monochrome designating unit 109 determines whether the raster gray flag is ON or OFF (S209).
As a result of step S209, when the raster gray flag is OFF (S209: OFF), the color / monochrome specifying unit 109 performs control to proceed to step S207, and when the raster gray flag is ON (S209: ON), the process proceeds to step S210. Do the control.
In the case of page 1, since both the vector gray flag and the raster gray flag are set to ON, the color / monochrome designating unit 109 controls to proceed to step S210.
In step S207, the output data creation unit 110 performs color conversion using a color table for all objects and outputs an image.

一方、ステップS210では、出力データ作成手段110が、全オブジェクトにおいてグレー処理による画像出力を行う。
具体的には、NTSCの計算式によってグレー値の出力データを作成する方法、マトリクス計算によりXYZに変換した後のY値を求めY→Kの一次元テーブルを用いて逆数計算する等してグレー値を求めても良い。
ステップS207又はS210の処理が終了すると、次のページ(ページ2)の画像処理にすすみ、最終ページ(ページ4)に至るまで同様の手順で処理が行われる(S211)。
On the other hand, in step S210, the output data creation unit 110 performs image output by gray processing for all objects.
Specifically, the gray value output data is created by the NTSC formula, the Y value after conversion to XYZ is obtained by matrix calculation, and the reciprocal calculation is performed using a Y → K one-dimensional table. A value may be obtained.
When the processing of step S207 or S210 is completed, the processing proceeds to the image processing for the next page (page 2), and the processing is performed in the same procedure until the final page (page 4) is reached (S211).

(2)ページ2の画像処理
図7に示すように、ページ2は、ベクターカラー(文字)、ベクターグレー(文字)、ラスターグレー(写真)が混在している画像データである。
この場合の画像処理手順について図2のフローチャートを参照しながら説明する。
まず、前述のページ1の場合と同様、ページ2に含まれるオブジェクトデータがすべて読み込まれる(S201乃至S203)。
これによって、ラスター1(モノクロ)及びベクター1乃至ベクター6が抽出され描画データ格納手段103によって各データがメモリに格納されることとなる。なお、ベクター1、すなわち「アイコンの説明」を示す文字は青文字であり色値はRGB(0,0,255)であるものとする。
(2) Image processing of page 2 As shown in FIG. 7, page 2 is image data in which vector colors (characters), vector gray (characters), and raster gray (photos) are mixed.
The image processing procedure in this case will be described with reference to the flowchart of FIG.
First, as in the case of page 1 described above, all object data included in page 2 is read (S201 to S203).
As a result, raster 1 (monochrome) and vectors 1 to 6 are extracted, and each data is stored in the memory by the drawing data storage means 103. It is assumed that the character indicating the vector 1, that is, “icon description” is blue, and the color value is RGB (0, 0, 255).

次いで、ページ2のグレー解析を行う(S204)。
グレー解析においては、前述の場合と同様、まずベクターグレー解析が行われ(S205)、詳細には図3に示す解析が行われる。
ここでは、ステップS303がポイントとなる。すなわち、すべてのオブジェクトがグレーか否かによってフラグの判定は異なってくる。
ページ2においては、ベクター1からベクター6まであるため、ベクターグレー判定手段106が、まずベクター1のデータについてステップS303の判定を行う。
この結果、ベクター1はカラーであるため、ベクターグレー判定手段106がベクター1をグレーでないベクターオブジェクトとして抽出することになり(S303:カラー)、この時点でベクターグレーフラグ設定手段111はベクターグレーフラグをOFFに設定して(S304)、ベクターグレー解析は終了する。
Next, the gray analysis of page 2 is performed (S204).
In the gray analysis, as in the case described above, first, vector gray analysis is performed (S205), and in detail, the analysis shown in FIG. 3 is performed.
Here, step S303 is a point. That is, flag determination differs depending on whether all objects are gray.
Since there are vectors 1 to 6 on page 2, the vector gray determination means 106 first determines the data of vector 1 in step S303.
As a result, since the vector 1 is in color, the vector gray determination unit 106 extracts the vector 1 as a vector object that is not gray (S303: color). At this time, the vector gray flag setting unit 111 sets the vector gray flag. Set to OFF (S304), the vector gray analysis ends.

図2に戻り、カラー/モノクロ指定手段109が、ステップS206のフラグ判定を行う。
ここでは、前述のベクターグレー解析の結果、ベクターグレーフラグはOFFに設定されたため(S206:OFF)、全オブジェクトについてはカラーテーブルによる色変換が行われることとなる(S207)。
Returning to FIG. 2, the color / monochrome designating unit 109 performs flag determination in step S206.
Here, since the vector gray flag is set to OFF as a result of the vector gray analysis described above (S206: OFF), color conversion is performed on all objects using the color table (S207).

(3)ページ3の画像処理
図8に示すように、ページ3は、ベクターグレー(文字)とラスターカラー(写真)とが混在している画像データである。
この場合の画像処理手順について図2のフローチャートを参照しながら説明する。
まず、前述のページ1又はページ2の場合と同様、ページ3に含まれるオブジェクトデータがすべて読み込まれる(S201乃至S203)。
これによって、ラスター1(カラー)及びベクター1(モノクロ)が抽出され描画データ格納手段103によって各データがメモリに格納されることとなる。なお、ベクター1、すなわち「あいうえお」を示す文字は黒文字であり色値はRGB(0,0,0)であるものとする。
(3) Image processing of page 3 As shown in FIG. 8, page 3 is image data in which vector gray (characters) and raster colors (photographs) are mixed.
The image processing procedure in this case will be described with reference to the flowchart of FIG.
First, as in the case of page 1 or page 2 described above, all object data included in page 3 is read (S201 to S203).
As a result, raster 1 (color) and vector 1 (monochrome) are extracted, and each data is stored in the memory by the drawing data storage means 103. It is assumed that the vector 1, that is, the character indicating “Aiueo” is a black character and the color value is RGB (0,0,0).

次いで、ページ3のグレー解析を行う(S204)。
グレー解析においては、前述の場合と同様、まずベクターグレー解析が行われ(S205)、詳細には図3に示す解析が行われる。
ページ3においては、ベクターグレー判定手段106が、ベクター1のデータについてステップS303の判定を行う。
この結果、ベクターグレー判定手段106がベクター1をグレーであると判定し(S303:グレー)、ベクターグレーフラグ設定手段はベクターグレーフラグをONに設定して(S305)ベクターグレー解析は終了する。
Next, gray analysis of page 3 is performed (S204).
In the gray analysis, as in the case described above, first, vector gray analysis is performed (S205), and in detail, the analysis shown in FIG. 3 is performed.
On page 3, the vector gray determination means 106 performs the determination in step S303 for the data of vector 1.
As a result, the vector gray determining means 106 determines that the vector 1 is gray (S303: gray), the vector gray flag setting means sets the vector gray flag to ON (S305), and the vector gray analysis ends.

図2に戻り、カラー/モノクロ指定手段109が、ステップS206のフラグ判定を行う。
ここでは、前述のベクターグレー解析の結果、ベクターグレーフラグはONに設定されたため(S206:ON)、次に、ラスターグレー解析を行う(S208)。
ラスターグレー解析については、図4に示すところのステップS403がポイントとなる。
ページ3においては、ラスターデータはラスター1のみであり、さらにカラーであるため、ラスターグレー判定手段107がラスター1をグレーでないラスターオブジェクトとして抽出することとなり(S403:カラー)、この時点でラスターグレーフラグ設定手段112はラスターグレーフラグをOFFに設定し(S404)、ラスターグレー解析は終了する。
Returning to FIG. 2, the color / monochrome designating unit 109 performs flag determination in step S206.
Here, since the vector gray flag is set to ON as a result of the above-described vector gray analysis (S206: ON), next, raster gray analysis is performed (S208).
For raster gray analysis, step S403 shown in FIG. 4 is a point.
In page 3, since the raster data is only raster 1 and is color, raster gray determination means 107 extracts raster 1 as a raster object that is not gray (S403: color). At this point, the raster gray flag The setting means 112 sets the raster gray flag to OFF (S404), and the raster gray analysis ends.

そして、再度、図2に戻り、カラー/モノクロ指定手段109が、ステップS209のフラグ判定を行う。
ここでは、前述のラスターグレー解析の結果、ラスターグレーフラグはOFFに設定されたため(S209:OFF)、全オブジェクトについてはカラーテーブルによる色変換が行われることとなる(S207)。
Then, returning to FIG. 2 again, the color / monochrome designating unit 109 performs flag determination in step S209.
Here, since the raster gray flag is set to OFF as a result of the raster gray analysis described above (S209: OFF), color conversion is performed on all objects using the color table (S207).

(4)ページ4の画像処理
図9に示すように、ページ4は、ベクターカラー(文字)とラスターカラー(写真)とが混在している画像データである。
この場合の画像処理手順について図2のフローチャートを参照しながら説明する。
まず、前述のページ1乃至ページ3の場合と同様、ページ4に含まれるオブジェクトデータがすべて読み込まれる(S201乃至S203)。
これによって、ラスター1(カラー)及びベクター1(カラー)が抽出され描画データ格納手段103によって各データがメモリに格納されることとなる。なお、ベクター1、すなわち「あいうえお」を示す文字は赤文字であり色値はRGB(255,0,0)であるものとする。
(4) Image processing of page 4 As shown in FIG. 9, page 4 is image data in which vector colors (characters) and raster colors (photos) are mixed.
The image processing procedure in this case will be described with reference to the flowchart of FIG.
First, as in the case of page 1 to page 3 described above, all object data included in page 4 is read (S201 to S203).
As a result, raster 1 (color) and vector 1 (color) are extracted, and each data is stored in the memory by the drawing data storage means 103. It is assumed that the vector 1, that is, the character indicating “Aiueo” is a red character and the color value is RGB (255, 0, 0).

次いで、ページ4のグレー解析を行う(S204)。
グレー解析においては、前述の場合と同様、まずベクターグレー解析が行われ(S205)、詳細には図3に示す解析が行われる。
ページ4においては、ベクターグレー判定手段106が、ベクター1のデータについて判定を行う。
この結果、ベクター1はカラーであるため、ベクターグレー判定手段106がベクター1をグレーでないベクターオブジェクトとして抽出することになり(S303:カラー)、この時点でベクターグレーフラグ設定手段111はベクターグレーフラグをOFFに設定し(S304)、ベクターグレー解析は終了する。
Next, the gray analysis of page 4 is performed (S204).
In the gray analysis, as in the case described above, first, vector gray analysis is performed (S205), and in detail, the analysis shown in FIG. 3 is performed.
On page 4, the vector gray determination means 106 determines the data of vector 1.
As a result, since the vector 1 is in color, the vector gray determination unit 106 extracts the vector 1 as a vector object that is not gray (S303: color). At this time, the vector gray flag setting unit 111 sets the vector gray flag. It is set to OFF (S304), and the vector gray analysis ends.

図2に戻り、カラー/モノクロ指定手段109が、ステップS206のフラグ判定を行う。
ここでは、ベクターグレー解析の結果、ベクターグレーフラグはOFFに設定されたため(S206:OFF)、全オブジェクトについてはカラーテーブルによる色変換が行われることとなる(S207)。
Returning to FIG. 2, the color / monochrome designating unit 109 performs flag determination in step S206.
Here, since the vector gray flag is set to OFF as a result of the vector gray analysis (S206: OFF), color conversion is performed on all objects using the color table (S207).

以上説明したように、本実施形態の画像形成装置1によれば、グレーのオブジェクトが含まれる画像データであっても描画データ格納手段103によって自動的にこれを判別できる構成にしてある。
そして、カラー/モノクロ指定手段109及び出力データ作成手段110は、対象となるオブジェクトのすべてがグレーである場合には、K(ブラック)の単色によって色出力を行うようにしている。
このため、ラスターデータのみならず、ベクターデータについても、これらがグレーである場合には、K(ブラック)出力が可能となっている。
このため、従来に比べ単色処理する機会が増え、メモリの節約と画像処理の高速化を図ることが可能となる。
As described above, according to the image forming apparatus 1 of the present embodiment, the drawing data storage unit 103 can automatically determine even image data including a gray object.
The color / monochrome designating unit 109 and the output data creating unit 110 perform color output with a single color of K (black) when all the target objects are gray.
For this reason, not only raster data but also vector data can be output in K (black) when they are gray.
For this reason, there are more opportunities for monochromatic processing than in the prior art, and it is possible to save memory and speed up image processing.

具体的には、本来、CMYKの混色によって画像出力するところを、K単色で出力すれば良くなるため、CMYプレーンの処理時間を削減することができる。
また、RGB→CMYKの三次元のカラーテーブル計算の場合、8点補間や4点補間などを用いる必要があるが、このような単色処理によれば1次元のテーブル処理又はマトリクス処理が可能なため、計算量が一層削減され、無駄なメモリ消費を防ぎ、より高速な画像処理が可能となる。
さらに、対象となるオブジェクトの内ひとつでもカラーオブジェクトが含まれる場合にはカラー画像処理を行うようにしているため、カラー処理に関しても高速化を図ることができる。
Specifically, since it is only necessary to output an image that is originally output by CMYK color mixing in a single K color, the processing time of the CMY plane can be reduced.
Further, in the case of RGB → CMYK three-dimensional color table calculation, it is necessary to use 8-point interpolation, 4-point interpolation, etc., but such monochromatic processing enables one-dimensional table processing or matrix processing. The calculation amount is further reduced, wasteful memory consumption is prevented, and higher-speed image processing is possible.
Furthermore, since color image processing is performed when even one of the target objects includes a color object, the color processing can be speeded up.

以上、本発明の画像形成装置について、好ましい実施形態を示して説明したが、本発明にかかる画像形成装置は、上述した実施形態にのみ限定されるものではなく、本発明の範囲で種々の変更実施が可能であることは言うまでもない。
例えば、グレー解析においては、まずラスターグレー解析を行った後にベクターグレー解析を行う手順であってもよい。
また、オブジェクトデータの読み取りと同時にベクターグレー判定やラスターグレー判定を行うことで、メモリの消費を節約するようにしてもよい。
The image forming apparatus according to the present invention has been described with reference to the preferred embodiment. However, the image forming apparatus according to the present invention is not limited to the above-described embodiment, and various modifications can be made within the scope of the present invention. It goes without saying that implementation is possible.
For example, the gray analysis may be a procedure in which raster gray analysis is performed first and then vector gray analysis is performed.
Further, memory consumption may be saved by performing vector gray determination and raster gray determination simultaneously with reading of object data.

本発明は、RGB/CMYK変換テーブルを利用したカラー画像処理に好適に利用することができる。   The present invention can be suitably used for color image processing using an RGB / CMYK conversion table.

本発明の一実施形態に係る画像形成装置の構成を示す機能ブロック図である。1 is a functional block diagram illustrating a configuration of an image forming apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る画像形成装置における色変換出力に関する動作手順を示したフローチャートである。5 is a flowchart illustrating an operation procedure related to color conversion output in the image forming apparatus according to the embodiment of the present disclosure. 本発明の一実施形態に係る画像形成装置において実行されるベクターグレー解析手順を示したフローチャートである。5 is a flowchart showing a vector gray analysis procedure executed in the image forming apparatus according to the embodiment of the present invention. 本発明の一実施形態に係る画像形成装置において実行されるベクターグレー解析の処理手順を示したフローチャートである。5 is a flowchart illustrating a processing procedure of vector gray analysis executed in the image forming apparatus according to the embodiment of the present invention. 本発明の一実施形態に係る画像形成装置のメモリにベクターデータ及びラスターデータが格納されている様子を模式的に示した図である。FIG. 3 is a diagram schematically illustrating how vector data and raster data are stored in a memory of an image forming apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る画像形成装置によって色変換処理される画像データの例を示した図である。FIG. 4 is a diagram illustrating an example of image data subjected to color conversion processing by the image forming apparatus according to the embodiment of the present invention. 本発明の一実施形態に係る画像形成装置によって色変換処理される画像データの例を示した図である。FIG. 4 is a diagram illustrating an example of image data subjected to color conversion processing by the image forming apparatus according to the embodiment of the present invention. 本発明の一実施形態に係る画像形成装置によって色変換処理される画像データの例を示した図である。FIG. 4 is a diagram illustrating an example of image data subjected to color conversion processing by the image forming apparatus according to the embodiment of the present invention. 本発明の一実施形態に係る画像形成装置によって色変換処理される画像データの例を示した図である。FIG. 4 is a diagram illustrating an example of image data subjected to color conversion processing by the image forming apparatus according to the embodiment of the present invention. 従来の色変換処理において発生しうる問題点を説明するための参考図である。It is a reference diagram for explaining problems that may occur in the conventional color conversion processing.

符号の説明Explanation of symbols

1 画像形成装置
101 データ読込手段
102 ページ判別手段
103 描画データ格納手段
104 指定色値獲得手段
105 ベクターデータ呼出手段
106 ベクターデータグレー解析手段
107 ラスターデータ呼出手段
108 ラスターデータグレー解析手段
109 カラー/モノクロ指定手段
110 出力データ作成手段
111 ベクターグレーフラグ設定手段
112 ラスターグレーフラグ設定手段
DESCRIPTION OF SYMBOLS 1 Image forming apparatus 101 Data reading means 102 Page discrimination means 103 Drawing data storage means 104 Designated color value acquisition means 105 Vector data calling means 106 Vector data gray analyzing means 107 Raster data calling means 108 Raster data gray analyzing means 109 Color / monochrome designation Means 110 Output data creation means 111 Vector gray flag setting means 112 Raster gray flag setting means

Claims (6)

ページ毎に所定の画像データを読み込むデータ読込手段と、
読み込んだ画像データを構成する各オブジェクトデータがそれぞれベクターデータであるか、ラスターデータであるかを識別しうる形式で、所定の記憶手段に格納する描画データ格納手段と、
格納された各ベクターデータが無彩色によって構成されるか否かを判定するベクターグレー判定手段と、
格納された各ラスターデータが無彩色によって構成されるか否かを判定するラスターグレー判定手段と、
格納されたオブジェクトデータを所定の多色に変換して出力する出力データ作成手段と、を備え、
前記出力データ作成手段は、
格納されたオブジェクトデータがすべて無彩色によって構成される場合には、当該無彩色であるすべてのオブジェクトデータを所定の単色によって色出力を行うとともに、
格納されたオブジェクトデータのうち、少なくとも1つのオブジェクトデータが無彩色によって構成されていない場合には、その有彩色によって構成されたオブジェクトデータ及び無彩色によって構成されたオブジェクトデータのすべてを所定の多色に変換して出力することを特徴とする画像形成装置。
Data reading means for reading predetermined image data for each page;
Drawing data storage means for storing in a predetermined storage means in a format that can identify whether each object data constituting the read image data is vector data or raster data,
Vector gray determination means for determining whether each stored vector data is constituted by an achromatic color;
Raster gray determination means for determining whether each stored raster data is constituted by an achromatic color;
Output data creation means for converting the stored object data into a predetermined multicolor and outputting, and
The output data creation means includes
When all the stored object data is composed of achromatic colors, all the object data that are achromatic colors are output in color with a predetermined single color ,
If at least one of the stored object data is not composed of achromatic colors, all of the object data composed of the chromatic colors and the object data composed of the achromatic colors are set to a predetermined multicolor. An image forming apparatus, wherein the image forming apparatus outputs the converted image.
前記画像データの色値はRGB値によって構成され、
前記ベクターグレー判定手段は、ベクターデータのRGB値が、R=G=Bである場合に、そのベクターデータが無彩色であると判定する請求項記載の画像形成装置。
The color value of the image data is composed of RGB values,
The vector gray determination means, RGB values of the vector data, R = G = in the case of B, the image forming apparatus determines according to claim 1, wherein the vector data is to be achromatic.
格納されたオブジェクトデータをCMY値又はCMYK値に変換して出力する前記出力データ作成手段を備え、
前記出力データ作成手段は、
格納されたオブジェクトデータがすべて無彩色によって構成される場合にはK(ブラック)によって色出力を行う請求項1又は2記載の画像形成装置。
Comprising the output data creation means for converting the stored object data into CMY values or CMYK values and outputting them,
The output data creation means includes
3. The image forming apparatus according to claim 1, wherein when all the stored object data is composed of achromatic colors, color output is performed with K (black).
格納されたベクターデータのすべてが無彩色によって構成される場合には所定のベクターグレーフラグを設定するベクターグレーフラグ設定手段と、
格納されたラスターデータのすべてが無彩色によって構成される場合には所定のラスターグレーフラグを設定するラスターグレーフラグ設定手段と、を備え、
前記出力データ作成手段は、
前記ベクターグレーフラグ又はラスターグレーフラグのいずれかが設定されない場合には所定の多色に基づいて色出力を行い、
前記ベクターグレーフラグ及びラスターグレーフラグのいずれもが設定された場合には所定の単色に基づいて色出力を行う請求項1乃至のいずれか一項記載の画像形成装置。
A vector gray flag setting means for setting a predetermined vector gray flag when all of the stored vector data is composed of achromatic colors;
Raster gray flag setting means for setting a predetermined raster gray flag when all of the stored raster data is composed of achromatic colors,
The output data creation means includes
When either the vector gray flag or the raster gray flag is not set, color output is performed based on a predetermined multicolor,
The image forming apparatus according to any one of claims 1 to 3 , wherein when both the vector gray flag and the raster gray flag are set, color output is performed based on a predetermined single color.
ページ毎に所定の画像データを読み込むステップと、
読み込んだ画像データを構成する各オブジェクトデータがそれぞれベクターデータであるか、ラスターデータであるかを識別しうる形式で、所定の記憶手段に格納するステップと、
格納された各ベクターデータが無彩色によって構成されるか否かを判定するステップと、
格納された各ラスターデータが無彩色によって構成されるか否かを判定するステップと、
格納されたオブジェクトデータを所定の多色に変換して出力するステップと、
格納されたオブジェクトデータがすべて無彩色によって構成される場合には、当該無彩色であるすべてのオブジェクトデータを所定の単色によって色出力を行うとともに、
格納されたオブジェクトデータのうち、少なくとも1つのオブジェクトデータが無彩色によって構成されていない場合には、その有彩色によって構成されたオブジェクトデータ及び無彩色によって構成されたオブジェクトデータのすべてを所定の多色に変換して出力するステップと、
を有することを特徴とする画像処理方法。
Reading predetermined image data for each page;
Storing each object data constituting the read image data in a predetermined storage means in a format capable of identifying whether each object data is vector data or raster data;
Determining whether each stored vector data is composed of achromatic colors; and
Determining whether each stored raster data is composed of achromatic colors; and
Converting the stored object data into a predetermined multicolor and outputting;
When all the stored object data is composed of achromatic colors, all the object data that are achromatic colors are output in color with a predetermined single color ,
If at least one of the stored object data is not composed of achromatic colors, all of the object data composed of the chromatic colors and the object data composed of the achromatic colors are set to a predetermined multicolor. Converting to output and
An image processing method comprising:
カラー画像の出力を行う画像形成装置を構成するコンピュータを、
ページ毎に所定の画像データを読み込むデータ読込手段、
読み込んだ画像データを構成する各オブジェクトデータがそれぞれベクターデータであるか、ラスターデータであるかを識別しうる形式で、所定の記憶手段に格納する描画データ格納手段、
格納された各ベクターデータが無彩色によって構成されるか否かを判定するベクターグレー判定手段、
格納された各ラスターデータが無彩色によって構成されるか否かを判定するラスターグレー判定手段、
格納されたオブジェクトデータを所定の多色に変換して出力する出力データ作成手段、を備え、
前記出力データ作成手段を、
格納されたオブジェクトデータがすべて無彩色によって構成される場合には、当該無彩色であるすべてのオブジェクトデータを所定の単色によって色出力を行うとともに、
格納されたオブジェクトデータのうち、少なくとも1つのオブジェクトデータが無彩色によって構成されていない場合には、その有彩色によって構成されたオブジェクトデータ及び無彩色によって構成されたオブジェクトデータのすべてを所定の多色に変換して出力する手段、として機能させるための画像処理プログラム。
A computer constituting an image forming apparatus that outputs a color image;
Data reading means for reading predetermined image data for each page;
Drawing data storage means for storing in a predetermined storage means in a format that can identify whether each object data constituting the read image data is vector data or raster data,
Vector gray determination means for determining whether each stored vector data is constituted by an achromatic color,
Raster gray determination means for determining whether each stored raster data is constituted by an achromatic color;
Output data creation means for converting the stored object data into a predetermined multi-color and outputting it,
The output data creation means
When all the stored object data is composed of achromatic colors, all the object data that are achromatic colors are output in color with a predetermined single color ,
If at least one of the stored object data is not composed of achromatic colors, all of the object data composed of the chromatic colors and the object data composed of the achromatic colors are set to a predetermined multicolor. An image processing program for functioning as a means for converting and outputting the data.
JP2008155918A 2008-06-13 2008-06-13 Image forming apparatus, image processing method, and image processing program Expired - Fee Related JP4991640B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2008155918A JP4991640B2 (en) 2008-06-13 2008-06-13 Image forming apparatus, image processing method, and image processing program
US12/405,785 US20090310149A1 (en) 2008-06-13 2009-03-17 Image forming apparatus
US14/192,170 US8891134B2 (en) 2008-06-13 2014-02-27 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008155918A JP4991640B2 (en) 2008-06-13 2008-06-13 Image forming apparatus, image processing method, and image processing program

Publications (2)

Publication Number Publication Date
JP2009302965A JP2009302965A (en) 2009-12-24
JP4991640B2 true JP4991640B2 (en) 2012-08-01

Family

ID=41549388

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008155918A Expired - Fee Related JP4991640B2 (en) 2008-06-13 2008-06-13 Image forming apparatus, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP4991640B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5584490B2 (en) 2010-02-18 2014-09-03 キヤノン株式会社 Image processing apparatus, image processing method, and program
JP6205221B2 (en) * 2013-09-20 2017-09-27 理想科学工業株式会社 Print control apparatus and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11238119A (en) * 1998-02-23 1999-08-31 Fuji Xerox Co Ltd Image processor, image formation device and image processing system
JP2006155221A (en) * 2004-11-29 2006-06-15 Canon Inc Printing system and printing control method
US7706022B2 (en) * 2006-06-12 2010-04-27 Kabushiki Kaisha Toshiba Image forming apparatus and image forming method

Also Published As

Publication number Publication date
JP2009302965A (en) 2009-12-24

Similar Documents

Publication Publication Date Title
KR100524565B1 (en) Method and apparatus for processing image data, and storage medium
JP5031694B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing program for executing the method
US8526061B2 (en) Image processing apparatus, image processing method, and computer program product
JP4148511B2 (en) Image processing apparatus, drawing data processing method, and program for executing the method
JP2978325B2 (en) Image processing method and printer interface realizing the same
JP4726231B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
US11790477B2 (en) Digital watermark analysis apparatus and digital watermark analysis method
US8610957B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable medium
US20090310149A1 (en) Image forming apparatus
US7961951B2 (en) Image processing apparatus capable of accurately removing isolated point noise, image processing method, and computer readable medium
JP4991640B2 (en) Image forming apparatus, image processing method, and image processing program
US7268914B2 (en) Image processing apparatus, image forming apparatus, image processing method, and program product thereof
JP2006135936A (en) Printer controller, image forming apparatus and image formation program
JP2009071695A (en) Image processor, image processing method, program, and storage medium
JPH0927915A (en) Image processing unit and method
US8379266B2 (en) Systems and methods for generating luminance look-up table based on color component values
JP4571758B2 (en) Character recognition device, character recognition method, image processing device, image processing method, and computer-readable recording medium
US20110038011A1 (en) Printing device, and control method of printing device
US7675642B2 (en) Print apparatus and print method
JP2002252773A (en) Color image processing method and device, and recording medium
EP1942654A2 (en) Apparatus and method for processing an image
JP4835735B2 (en) Image processing apparatus and image processing program
JP6311409B2 (en) Image processing apparatus and computer program
JP2009218954A (en) Image processing apparatus
JPH11355594A (en) Color image formation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120323

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120410

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120507

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4991640

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees