JP2022037793A - Image processing apparatus, control method of image processing apparatus and program - Google Patents
Image processing apparatus, control method of image processing apparatus and program Download PDFInfo
- Publication number
- JP2022037793A JP2022037793A JP2020142112A JP2020142112A JP2022037793A JP 2022037793 A JP2022037793 A JP 2022037793A JP 2020142112 A JP2020142112 A JP 2020142112A JP 2020142112 A JP2020142112 A JP 2020142112A JP 2022037793 A JP2022037793 A JP 2022037793A
- Authority
- JP
- Japan
- Prior art keywords
- data
- gray
- color
- page
- image processing
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 53
- 238000000034 method Methods 0.000 title claims description 105
- 238000006243 chemical reaction Methods 0.000 claims description 121
- 239000003086 colorant Substances 0.000 claims description 77
- 238000009877 rendering Methods 0.000 claims description 4
- 230000002194 synthesizing effect Effects 0.000 claims description 2
- 238000003672 processing method Methods 0.000 claims 9
- 230000015572 biosynthetic process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000007796 conventional method Methods 0.000 description 6
- 238000012937 correction Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 230000006837 decompression Effects 0.000 description 3
- 238000010276 construction Methods 0.000 description 2
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/00002—Diagnosis, testing or measuring; Detecting, analysing or monitoring not otherwise provided for
- H04N1/00026—Methods therefor
- H04N1/00039—Analysis, i.e. separating and studying components of a greater whole
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/40—Picture signal circuits
- H04N1/40012—Conversion of colour to monochrome
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/46—Colour picture communication systems
- H04N1/56—Processing of colour picture signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/40—Picture signal circuits
- H04N1/409—Edge or detail enhancement; Noise or error suppression
- H04N1/4092—Edge or detail enhancement
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
- Color Image Communication Systems (AREA)
- Record Information Processing For Printing (AREA)
- Color, Gradation (AREA)
Abstract
Description
本発明は、画像処理装置、画像処理装置の制御方法ならびにプログラムに関するものである。 The present invention relates to an image processing apparatus, a control method of the image processing apparatus, and a program.
印刷装置において、RGB形式などで表現されたカラー原稿をグレースケール形式で出力する場合、入力されるRGB値を、所定の比率に従って変換する変換式(例えば、NTSC変換)を用いてグレースケールに変換して出力することが一般的である。所定の比率に従って変換される色変換(以下、全カラー対象色変換と呼ぶ。)は、階調性が求められている原稿には有効である。 When a color document expressed in RGB format or the like is output in grayscale format in a printing device, the input RGB values are converted to grayscale using a conversion formula (for example, NTSC conversion) that converts the input RGB values according to a predetermined ratio. It is common to output. Color conversion (hereinafter referred to as all color target color conversion) that is converted according to a predetermined ratio is effective for a document that requires gradation.
しかし、全カラー対象色変換では、RGB(3チャネル)をグレー(1チャネル)に変換する過程で色情報が欠落する。そのため、異なるRGB値(色)で表現されている複数色が、全カラー対象色変換によって同じ(あるいは近い)グレー値に変換され、複数色間における色の違いが識別不能になってしまう場合がある。特に、円グラフなど、二つの色が部分的に重なるように、あるいは接するように描画されている画像においては、二つの色の境界線が消滅してしまう。したがって、そのようにして生成された画像をモノクロ出力した場合、カラー出力した場合に比べて弁別性が悪くなる可能性があった。 However, in all color target color conversion, color information is lost in the process of converting RGB (3 channels) to gray (1 channel). Therefore, a plurality of colors expressed by different RGB values (colors) may be converted into the same (or close) gray value by all color target color conversion, and the difference in color among the plurality of colors may become indistinguishable. be. In particular, in an image such as a pie chart in which two colors are drawn so as to partially overlap or touch each other, the boundary line between the two colors disappears. Therefore, when the image thus generated is output in monochrome, the discrimination property may be worse than in the case of color output.
また、色弱者にとっては、異なるRGB値(色)で表現されている各色が、同じ(あるいは近い)色に見えてしまう場合がある。したがって、RGB形式などで表現されたカラー原稿をカラー出力した場合でも、色弱者にとっては色の違いが識別できなかったり、一般色覚者と色弱者との間で見え方が異なったりするなど、弁別性が悪くなる可能性があった。 Further, for a person with color weakness, each color expressed by different RGB values (colors) may appear to be the same (or close to) color. Therefore, even when a color original expressed in RGB format is output in color, the color difference cannot be discerned by the color-blind person, and the appearance differs between the general color-blind person and the color-blind person. There was a possibility that the sex would get worse.
そこで、出力画像の弁別性を高めるための方法として、原稿で使用されている色数に応じて色変換を行う方法が提案されている。特許文献1には、PDLデータからページ内で使用されている色やオブジェクトなどを解析して色数を取得し、使用されているそれぞれの色に対して均等に濃度が異なるグレー値を割り当てていく方法が記載されている。これにより、カラーデータを視認可能な濃度差を持つ弁別性があるグレーデータに変換することが可能となる。
Therefore, as a method for improving the discriminability of the output image, a method of performing color conversion according to the number of colors used in the document has been proposed. In
しかしながら、特許文献1では、弁別性のあるモノクロ化を行う画像を、ユーザが選択する必要があり、弁別性のあるモノクロ化に適していない画像が選択されてしまうことがある。
However, in
上記の課題を解決するために、本発明の一態様に係る画像処理装置は以下のような構成を備える。有彩色のカラーデータを無彩色のグレーデータに変換する画像処理装置であって、有彩色のカラーデータのページ内で使用される色の数を取得する取得手段と、前記取得手段によって取得された色の数に基づき、前記カラーデータで使用される複数色のそれぞれの色に対して異なるグレー値が割り当てられるように変換する第一のグレーデータ変換方法と、前記カラーデータを構成する複数の色成分を所定の割合で合成してグレー値に変換し、かつ前記グレーデータのエッジ部を強調する第二のグレーデータ変換方法の中からグレーデータ変換方法を決定する決定手段と、前記決定手段によって決定されたグレーデータ変換方法を用いて、前記カラーデータをグレーデータに変換する変換手段とを有することを特徴とする。 In order to solve the above problems, the image processing apparatus according to one aspect of the present invention has the following configuration. An image processing device that converts chromatic color data into chromatic gray data, and is an acquisition means for acquiring the number of colors used in a page of chromatic color data, and an acquisition means acquired by the acquisition means. A first gray data conversion method for converting so that different gray values are assigned to each of the plurality of colors used in the color data based on the number of colors, and a plurality of colors constituting the color data. By the determination means for determining the gray data conversion method from the second gray data conversion method for synthesizing the components at a predetermined ratio and converting them into a gray value and emphasizing the edge portion of the gray data, and the determination means. It is characterized by having a conversion means for converting the color data into gray data by using the determined gray data conversion method.
または、本発明の一態様に係る画像処理装置は以下のような構成を備える。有彩色のカラーデータを無彩色のグレーデータに変換する画像処理装置であって、カラーデータのページ内に含まれるグラフで使用される複数色のそれぞれの色に対して異なるグレー値が割り当てられるように変換し、前記カラーデータのページ内に含まれるグラフ以外のオブジェクトに対しては、前記オブジェクトの画素を構成する複数の色成分を所定の割合で合成してグレー値に変換し、かつ前記グレーデータのエッジ部を強調する変換手段とを有する。 Alternatively, the image processing apparatus according to one aspect of the present invention has the following configuration. An image processing device that converts chromatic color data to achromatic gray data so that different gray values are assigned to each of the multiple colors used in the graph contained within the color data page. For objects other than graphs included in the color data page, a plurality of color components constituting the pixels of the object are combined at a predetermined ratio and converted into a gray value, and the gray is converted to gray. It has a conversion means for emphasizing the edge portion of data.
本発明によれば、有彩色のカラーデータを無彩色のグレーデータに変換する際に、カラーデータのページの属性に基づき、各ページに適切なグレーデータ変換を行うことができる。 According to the present invention, when converting chromatic color data to achromatic gray data, it is possible to perform appropriate gray data conversion for each page based on the attributes of the color data page.
以下、本発明を実施するための形態について図面を用いて説明する。なお、以下の実施の形態に記載されている構成要素は、本発明の例としての形態を示すものであり、本発明の範囲をそれらのみに限定するものではない。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. It should be noted that the components described in the following embodiments show the embodiments of the present invention, and the scope of the present invention is not limited to them.
<第1実施形態>
以下、本発明を実施するための第一実施形態について図面を用いて説明する。第一実施形態は、印刷データのページ毎に使用される色数を取得し、所定の色数を超えた場合に色変換処理を切り替えるものである。
<First Embodiment>
Hereinafter, the first embodiment for carrying out the present invention will be described with reference to the drawings. The first embodiment acquires the number of colors used for each page of print data, and switches the color conversion process when the number of colors exceeds a predetermined number.
図1は、本実施形態に適用される印刷システムの構成例を示す図である。本システムでは、ホストコンピュータ101と画像処理装置110とがLAN102を介して接続されている。ユーザは、印刷するページ情報を示すPDLデータをホストコンピュータ101において生成し、ホストコンピュータ101からLAN102を介して画像処理装置110に送信する。本実施形態における画像処理装置110は、MFP(Multi Function Printer)であっても、SFP(Single Function Printer)のうちいずれのプリンタであってもよい。また、画像処理装置110は、MFPやSFP以外のプリンタであってもよい。
FIG. 1 is a diagram showing a configuration example of a printing system applied to the present embodiment. In this system, the
[画像処理装置におけるハードウェア構成について]
図1を用いて、第1実施形態の画像処理装置110におけるハードウェア構成例を説明する。画像処理装置110は、例えば、画像出力デバイスであるプリンタ部111を含む。また、画像処理装置110は、ホストコンピュータ101からLANを介してPDLデータ(ページ記述言語で記述された印刷データ)を取得する。
[Hardware configuration in image processing equipment]
An example of a hardware configuration in the
プリンタ部111は、デバイスI/F235と接続され、CPU220で生成された画像データをシート(紙)に出力する処理を行う。CPU220は、画像処理装置の全体(各部)を制御するための中央処理部である。RAM222は、CPU220が動作するためのシステムワークメモリである。また、RAM222は、取得したPDLデータや、画像形成処理のために生成される中間データ、レンダリング処理を行う際の作業領域であるワーク領域や、入力された画像データを一時的に格納するためのメモリでもある。ROM221は、例えばブートROMであり、システムのブートプログラムが格納されている。記憶部223は、例えばハードディスクドライブであり、各種処理のためのシステムソフトウェアおよび取得したPDLデータを格納する。
The
操作部I/F225は、各種メニューや印刷指示された印刷データに関する情報等を表示するための表示部を有する操作部113に対するインターフェース部であり、操作部113に対して操作画面データを出力する。また、操作部I/F225は、操作部113を介してユーザが入力した情報をCPU220に伝える。ネットワークI/F226は、LAN102を介して外部装置(例えばホストコンピュータ101)との間で情報のやり取りを行うためのインターフェースである。これらCPU220、ROM221、RAM222、記憶部223、操作部I/F225およびネットワークI/F226は、システムバス227に接続されている。
The operation unit I /
画像バスI/F228は、システムバス227と画像データを高速に転送する画像バス230とを接続するためのインターフェースであり、データ構造を変換するバスブリッジである。画像バス230には、RIP(ラスタイメージプロセッサ)231、画像編集部232、画像圧縮部233、画像伸長部234、デバイスI/F235が接続されている。これらは、CPU220によって制御されるハードウェアであるが、CPU220とは異なる命令を有するプログラムを実行可能なサブプロセッサとなる構成も当然可能である。RIP231は、CPU220からの指示に基づき、PDLデータコードや中間データ(ディスプレイリスト、DL)を解析し、ラスタ形式の画像に展開する。画像編集部232は、RIP231によって展開された画像に対し、色空間変換や輪郭補正といった画素単位の画像編集を行う。画像圧縮部233は、印刷処理に応じてRIP231のイメージ展開で得られる画像を圧縮し、画像バスI/F228を通してRAM222に格納する。画像伸長部234は、RAM222に格納された画像を伸長し、印刷処理に応じて画像バス230を通してRIP231やデバイスI/F235に伸長結果を転送する。画像圧縮部233と画像伸長部234はユーザによってボックス保存が指定された場合に、RIP231による展開後のラスタ形式の画像を保存し、ユーザの指示に応じて印刷する際に使用する。また、RIP231による展開処理がプリンタ部111の印刷処理よりも早い場合に、一時的に保存するために使用する場合もある。デバイスI/F235は、プリンタ部111にデータを送信するためのインターフェースである。
The image bus I /
図2は、画像処理装置の操作部113に表示される操作画面の一例を示す図である。図2(a)はホストコンピュータ101上で動作するプリンタドライバの印刷設定画面の一例である。カラーモードで白黒、または自動が選択された場合、色変換方法の選択が可能になり「通常(全カラー対象色変換)」、「濃度差強調」、「輪郭強調」、及び、「自動」のいずれか一つを選択可能になる。また、図2(b)は操作部113に表示される印刷設定画面の一例であり、「通常」、「濃度差強調」、「輪郭強調」、及び、「自動」のいずれか一つを選択する設定画面を示す。例えば、プリンタドライバにおいて印刷設定が設定されなかった場合、画像処理装置110に予め設定されている設定が印刷設定として設定される。
FIG. 2 is a diagram showing an example of an operation screen displayed on the
図3は、本実施形態に関わる画像処理装置において、CPU220がROM221や記憶部223からRAM222に展開し実行するソフトウェアモジュール構成の一例を示す図である。
FIG. 3 is a diagram showing an example of a software module configuration in which the
データ入力部301は、ホストコンピュータ101からネットワークI/F226とLAN102を介して印刷データを受信するモジュールである。ジョブ解析部302は、図2に示す設定を印刷データから取得し解析するか、取得できなかった場合はあらかじめ設定される設定値を取得するモジュールである。より具体的には、印刷データに含まれるPJL(Printer Job Language)やJDF(Job Definition Format)等の印刷設定情報を取得し解析する。ページ解析部303は、ページ毎の情報解析を行うモジュールである。具体的には印刷データに含まれるページ記述言語(PDL:Printer DeScription Language)を取得し、各ページに含まれる描画命令を解析し、中間データを作成する。画像形成部304は、RIP(ラスタイメージプロセッサ)231、画像編集部232、画像圧縮部233、画像伸長部234を制御するモジュールである。プリンタ制御部305はデバイスI/F235とプリンタ部111を制御するモジュールである。
The
色情報取得部311は、印刷データに含まれる色処理に関わる設定を取得するモジュールである。従って、図2に示す設定の他にも、ガンマ補正値や使用するICCプロファイルの指定も含まれるが、本実施形態においては説明を省略する。色情報解析部312は、ページ解析部303がページ毎の描画命令から描画色に関する情報を解析するモジュールである。第1実施形態では、ページ内で使われている色値とその数を解析対象とする場合を説明する。最後に、色変換部313は、色情報取得部312の解析結果に基づいたグレーデータへの変換を実施するモジュールである。
The color
以上が、第一実施形態におけるソフトウェアモジュール構成であるが、各モジュール内にサブモジュールが存在するといった構成も当然可能である。以降、第一実施形態におけるデータ入力からプリンタ部111への出力までの処理についてフローチャートを用いて説明する。
The above is the software module configuration in the first embodiment, but it is naturally possible to have a configuration in which submodules exist in each module. Hereinafter, the process from the data input to the output to the
図4は第1実施形態において、データ入力部301が、ホストコンピュータ101からネットワークI/F226とLAN102を介して受信する印刷データの一例であり、図4(A)の画像400は、図13の印刷データの画像形成結果を示す。
FIG. 4 is an example of print data received by the
印刷データ全体の構成概要を説明する。ジョブ開始命令401は印刷データの先頭であることを示し、その直後に印刷データ全体に設定される設定情報がある。描画領域設定命令411からページ毎の描画命令が続き、改ページ命令441によりページの切れ目が示され、最後はジョブ終了命令451が印刷データの終わりを示す。従って、カラーモード設定命令402の「自動」という項目は、以降のジョブ終了命令451までに含まれる全ページに対して有効な設定値となる。また、描画領域設定命令411の前に、出力解像度指定や、出力用紙サイズ指定、給紙カセット指定、両面印刷指定、ステイプル指定なども当然含まれるが、本実施形態には不要なため説明を割愛する。
The outline of the composition of the entire print data will be described. The job start instruction 401 indicates that it is the beginning of the print data, and immediately after that, there is setting information set in the entire print data. The drawing
描画領域設定命令411は描画領域全体の幅と高さ指定である。出力用紙サイズと出力解像度、及び、プリンタ部111の有効印字領域を反映した値を設定する。
The drawing
塗りつぶしパターン指定命令412、塗りつぶしカラー指定命令413、及び、矩形描画命令414は、画像400に描画される円グラフ部と系列名部を含むグラフエリア全体の背景色描画命令である。塗りつぶしパターン指定命令412は単色塗りつぶしであることを示し、塗りつぶしカラー指定命令413は色として白を指定していることを示し、矩形描画命令414は指定した塗りつぶし方法を適用する矩形範囲の指定を示す。
The fill
パス構築命令415からパス塗りつぶし命令423、及び、パス構築命令424からパス塗りつぶし命令432は画像400に描画される円グラフ部の扇形を描画する描画命令の一例である。扇形円弧部にベジェ曲線を用い、中心までの直線部分を相対座標指定で表現している。塗りつぶしカラー指定命令433から登録文字印字命令437は、画像400に描画される系列名部の文字と矩形を描画する描画命令の一例である。
The
図5を用いて第一実施形態における色数を閾値とした色変換方法の自動切り替えを説明する。 The automatic switching of the color conversion method using the number of colors as a threshold value in the first embodiment will be described with reference to FIG.
S501において、ジョブ解析部302はデータ入力部301が取得した入力データ(PDLデータ)からジョブ開始命令401を読み込む。続いて、ジョブ解析部302はS502において色情報取得部311を用いてカラーモード設定命令402を読み込む。色情報取得部311の読み込んだ結果から、グレーデータへの変換が必要なジョブである場合、かつ、色変換方法が「自動」が設定されている場合の処理についてのみ説明する。その他の指定だった場合は、従来技術の通りであるため説明を省略する。
In S501, the
ページ解析部303は、S503においてページ開始命令を読み込む。S502で読み込んだカラーモード設定命令402の色変換方法に「自動」が設定されている場合、ページ開始時にページに対する色変換方法の初期値として「濃度強調」を設定する。また、濃度強調処理で必要となるページ内の色数カウントを0で初期化する。ページ解析部303は、S504において描画命令を読み込む。次に、ページ解析部303は、S505にて読み込んだ描画命令が色指定に関わる命令だった場合、例えば、塗りつぶしカラー指定命令だった場合、S506にて色変換方法が「濃度強調」設定かを確認する。「濃度強調」設定であれば、命令内容を色情報解析部312に伝える。色情報解析部312はページ解析部303が読み込んだ色指定に関わる描画命令から、S507にてページ内で使用される色数をカウントしていく。この時、すでにページ内で使用されている色値だった場合は色数をカウントアップしない。なお、S507では、ページ内のオブジェクト毎に色数をカウントし、S508はオブジェクト毎に色数が閾値を超えればS510に進み、オブジェクトの色数が閾値以下であればS509に進んでもよい。
The
次に、色情報解析部312は、S508においてページ内で使用される色数が、所定の閾値を超えたかどうか判定する。より具体的には、色数の合計がプリンタ部で表現可能なグレーデータの階調数を超えた場合など、カラーデータを視認可能な濃度差を持つグレーデータに変換することができるかどうかを判定する。濃度差から弁別性を表現できない場合は、輪郭強調を用いる色変換方法に切り替えることになる。色情報解析部312は、ページ内で使用される色数が所定の閾値を超えない場合、S509の濃度差を持たせるためにカラーデータの色変換テーブルを作成する処理を実行する。色変換テーブルについては従来技術になるため、説明を省略する。ページ内で使用される色数が所定の閾値を超えた場合は、S510にて色変換テーブルの作成をやめて、色変換部313が色変換方法を「濃度強調」から「輪郭強調」に設定変更する。「輪郭強調」設定時はオブジェクトに紐づく属性を輪郭強調用の属性に切り替えるルールを画像形成部204に通知する。
Next, the color
S511において、描画命令を中間データに変換する。具体的には、相対座標とベジェ曲線で表現される描画命令や登録された文字(フォント)を実際の出力解像度と用紙サイズに合わせた絶対座標のパス点列に変換する。 In S511, the drawing instruction is converted into intermediate data. Specifically, the drawing command expressed by the relative coordinates and the Bezier curve and the registered characters (font) are converted into a path point sequence of absolute coordinates according to the actual output resolution and the paper size.
ページ解析部303は、S504からS511までの処理を、描画命令が終わるまで繰り返す。この過程で、ページ解析部303は、S512にて読み込んだ描画命令が改ページ命令だった場合、S513で中間データにページ終了を意味する命令を追加し、1ページ分の中間データと色変換方法を画像形成部304およびRIP231に通知する。また、ページ解析部303は、S514にてジョブ終了命令を検知した場合、S515にてジョブ解析部302にジョブに含まれる全ページ分の中間データ変換が完了した旨を通知し、本シーケンスを終了する。
The
図6は、1ページ分の中間データができた旨の通知を受けた画像形成部304の画像形成処理を説明するフローチャートである。
FIG. 6 is a flowchart illustrating an image forming process of the
S601において、中間データの場所、色変換テーブルの場所、実行すべき色変換方法を取得する。S602において、濃度強調が選択されていた場合、S603において、色変換テーブルを用いて中間データの使用色テーブルの色値を変換する(第一のグレーデータ変換方法)。なお、S603では、中間データである有彩色のカラーデータを、中間データである無彩色のグレーデータに変換する。S603では、カラーデータで使用される複数色のそれぞれの色に対して等間隔に異なるグレー値を割り当てるように変換する。例えば、赤色はグレー値50、青色はグレー値100、緑色はグレー値150のように割り当てる。S602において、輪郭強調が選択されていた場合、S604にて輪郭強調用の属性に切り替えるルールを取得する。S605において、属性の切り替えルールがあればそれに従い、なければ元の属性で、画像形成部204が中間データを出力解像度と用紙サイズに合わせてラスタ形式の画像に変換する画像形成処理を行う。続いて、S606において、画像形成部204が輪郭強調用の属性が含まれている場合、S607の輪郭強調処理を実行し、グレースケール変換を実行する(第二のグレーデータ変換方法)。なお、S607では、中間データである有彩色のカラーデータを、中間データである無彩色のグレーデータに変換する。S607の輪郭強調処理は、カラーデータを構成する複数の色成分(例えば、赤、緑、青成分)を画素毎に所定の割合(例えば、0.3R+0.6G+0.1B)で合成してグレーデータに変換し、かつ、グレーデータのエッジ部を強調する処理を行う。輪郭強調処理とグレースケール変換処理の具体的手段は従来技術と差異が無いため説明を省略する。S607の輪郭強調処理を実行した後に、変換後の中間データであるグレーデータを用いて、レンダリング処理を行い、画像データを生成する。このように、ページ内で使用される色数に基づき、第一のグレーデータ変換方法を用いてグレーデータ変換を行うか、第二のグレーデータ変換方法を用いてグレーデータ変換を行うかを決定する。 In S601, the location of the intermediate data, the location of the color conversion table, and the color conversion method to be executed are acquired. When density enhancement is selected in S602, the color value of the used color table of the intermediate data is converted in S603 using the color conversion table (first gray data conversion method). In S603, the chromatic color data which is the intermediate data is converted into the achromatic gray data which is the intermediate data. In S603, conversion is performed so that different gray values are assigned at equal intervals to each of the plurality of colors used in the color data. For example, red is assigned a gray value of 50, blue is assigned a gray value of 100, green is assigned a gray value of 150, and so on. When contour enhancement is selected in S602, a rule for switching to the attribute for contour enhancement is acquired in S604. In S605, if there is an attribute switching rule, if there is no attribute switching rule, the image forming unit 204 performs an image forming process of converting the intermediate data into a raster format image according to the output resolution and the paper size with the original attribute. Subsequently, in S606, when the image forming unit 204 includes the attribute for contour enhancement, the contour enhancement processing of S607 is executed and the grayscale conversion is executed (second gray data conversion method). In S607, the chromatic color data which is the intermediate data is converted into the achromatic gray data which is the intermediate data. In the contour enhancement process of S607, a plurality of color components (for example, red, green, and blue components) constituting the color data are combined for each pixel at a predetermined ratio (for example, 0.3R + 0.6G + 0.1B) to obtain gray data. And, the process of emphasizing the edge part of the gray data is performed. Since the specific means of the contour enhancement process and the grayscale conversion process are the same as those of the prior art, the description thereof will be omitted. After executing the contour enhancement processing of S607, the rendering processing is performed using the gray data which is the intermediate data after the conversion, and the image data is generated. In this way, based on the number of colors used in the page, it is decided whether to perform gray data conversion using the first gray data conversion method or gray data conversion using the second gray data conversion method. do.
以上が1ページ分の中間データができた旨の通知を受けた画像形成部304の画像形成処理であり、これらの処理は、CPU220が実行するページ解析部303の指示により、RIP231や画像編集部232によって実行される。従って、図5に示すジョブ解析とページ解析は図6に示す画像形成処理と並列に動作することになる。
The above is the image formation processing of the
本実施例により、印刷データのページ毎に使用される色数を取得し、所定の色数を超えた場合に色変換処理を切り替えることが可能になり、ユーザに「自動」による色変換手段の選択、切り替える機能を提供できる。 According to this embodiment, it is possible to acquire the number of colors used for each page of print data and switch the color conversion process when the number of colors exceeds a predetermined number, and the user can use "automatic" color conversion means. It can provide the function of selecting and switching.
<第2実施形態>
以下、本実施形態を実施するための第2実施形態について図面を用いて説明する。第2実施形態は、印刷データのページ毎に使用される色数に加えて、描画命令の傾向から印刷データに合わせた色変換処理を切り替えるものである。なお、第2実施形態の印刷制御装置の構成は、図1に示す第1実施形態の構成と同様である。以下では、第1実施形態と異なる点について説明する。
<Second Embodiment>
Hereinafter, a second embodiment for carrying out the present embodiment will be described with reference to the drawings. In the second embodiment, in addition to the number of colors used for each page of print data, the color conversion process according to the print data is switched from the tendency of the drawing command. The configuration of the print control device of the second embodiment is the same as the configuration of the first embodiment shown in FIG. Hereinafter, the differences from the first embodiment will be described.
図7を用いて第1実施形態における色数に加えて、描画命令の傾向を条件とした色変換方法の自動切り替えを説明する。 In addition to the number of colors in the first embodiment, the automatic switching of the color conversion method on the condition of the tendency of the drawing command will be described with reference to FIG. 7.
S701において、ジョブ解析部302はデータ入力部301が取得した入力データからジョブ開始命令401を読み込む。続いて、ジョブ解析部302はS702において色情報取得部311を用いてカラーモード設定命令402を読み込む。色情報取得部311の読み込んだ結果から、グレーデータへの変換が必要なジョブである場合、かつ、色変換方法が「自動」が設定されている場合の処理について説明する。その他の指定だった場合は、従来技術の通りであるため説明を省略する。
In S701, the
ページ解析部303は、S703においてページ開始命令を読み込む。S702で読み込んだカラーモード設定命令402の色変換方法に「自動」が設定されている場合、ページ開始時にページに対する色変換方法の初期値として「濃度強調」を設定する。また、濃度強調処理で必要となるページ内の色数カウントを0で初期化、濃度強調に適するページかを判断するための濃度強調適合フラグを「不適合」で初期化する。
The
ページ解析部303は、S704において描画命令を読み込む。次に、ページ解析部303は、S705にて読み込んだ描画命令がページ内の描画に関わる命令だった場合、例えば、塗りつぶしカラー指定命令だった場合、S706にて色変換方法が「濃度強調」設定かを確認する。「濃度強調」設定であれば、命令内容を色情報解析部312に伝える。色情報解析部312はページ解析部303が読み込んだ色指定に関わる描画命令から、S707にてページ内で使用される色数をカウントしていく。この時、すでにページ内で使用されている色値だった場合は色数をカウントアップしない。
The
次に、色情報解析部312は、S708においてページ内で使用される色数が、所定の閾値を超えたかどうか判定する。より具体的には、色数の合計がプリンタ部で表現可能なグレーデータの階調数を超えた場合など、カラーデータを視認可能な濃度差を持つグレーデータに変換することができるかどうかを判定する。濃度差から弁別性を表現できない場合は、輪郭強調を用いる色変換方法に切り替えることになる。色情報解析部312は、ページ内で使用される色数が所定の閾値を超えない間は、S709にてページ内の描画傾向を解析して濃度強調に適するページかを判断する。より具体的には、色情報解析部312がページ解析部303で読み込んだ、ページ内の描画に関わる命令から濃度強調に適す特徴を持つページかを解析する。第1実施形態の図4で示した例では、連続する描画命令の幅と高さ、座標情報、色情報等の内容から、円グラフ部と円グラフ内の各色に対応した系列名部から構成される描画を検知できる。円グラフ部と系列名部がセットで含まれる場合、濃度差を持たせることで対応関係がより識別しやすくなるため、色情報解析部312は濃度強調に適すページであると判断する。他にも濃度強調に適す例として、棒グラフ部と系列名部のセットで構成される描画や、折れ線グラフ部と系列名部のセットで構成される描画などが挙げられる。図10に円グラフ部と系列名部の濃度差補正なし、濃度差補正ありのイメージ図、また、図11に折れ線グラフと系列名部の濃度差補正なし、濃度差補正ありのイメージ図を示す。図10、図11から濃度差を持たせる前(図10(A)、図11(A))と後(図10(B)、図11(B))を比較して図10(B)、図11(B)の方が系列名部とグラフ部の色の対応関係が識別しやすいことがわかる。色情報解析部312は解析して濃度強調に適す描画を検知した場合に濃度強調適合フラグを「適合」に設定変更する。検知できなかった場合には濃度強調適合フラグを「不適合」のままにする。濃度強調に適すページかは最後まで解析を行わないと判断できない場合があるため、ページ内で使用される色数が所定の閾値を超えない間は、続けてS710にて濃度差を持たせるためにカラーデータの色変換テーブル作成処理を実行する。色変換テーブルについては従来技術になるため、説明を省略する。ページ内で使用される色数が所定の閾値を超えた場合、色情報解析部312はS711にて、濃度強調適合フラグを「不適合」に設定し、色変換テーブルの作成をやめて、色変換部313が色変換方法を「濃度強調」から「輪郭強調」に設定変更する。「輪郭強調」設定時はオブジェクトに紐づく属性を輪郭強調用の属性に切り替えるルールを画像形成部204に通知する。
Next, the color
なお、図7では、S708がNoの場合に、S709の処理を行ったが、S708の判定を行わずに、S709がYesであればS710に移行し、S709がNoであればS711に移行してもよい。 In FIG. 7, when S708 is No, the processing of S709 is performed, but without determining S708, if S709 is Yes, the process proceeds to S710, and if S709 is No, the process proceeds to S711. You may.
S712において、描画命令を中間データに変換する。具体的には、相対座標とベジェ曲線で表現される描画命令や登録された文字(フォント)を実際の出力解像度と用紙サイズに合わせた絶対座標のパス点列に変換する。 In S712, the drawing instruction is converted into intermediate data. Specifically, the drawing command expressed by the relative coordinates and the Bezier curve and the registered characters (font) are converted into a path point sequence of absolute coordinates according to the actual output resolution and the paper size.
ページ解析部303は、S704からS712までの処理を、描画命令が終わるまで繰り返す。この過程で、ページ解析部303は、S713で読み込んだ描画命令が改ページ命令だった場合、S714で濃度強調適合フラグを確認する。濃度強調適合フラグが「適合」であれば濃度強調を設定した状態のままS716へと進む。「不適合」であれば、S715にて色変換テーブルの作成をやめて、色変換部313が色変換方法を「濃度強調」から「輪郭強調」に設定変更する。「輪郭強調」設定時はオブジェクトに紐づく属性を輪郭強調用の属性に切り替えるルールを画像形成部204に通知する。
The
S716で中間データにページ終了を意味する命令を追加し、1ページ分の中間データと色変換方法を画像形成部304およびRIP231に通知する。また、ページ解析部303は、S717にてジョブ終了命令を検知した場合、S718にてジョブ解析部302にジョブに含まれる全ページ分の中間データ変換が完了した旨を通知し、本シーケンスを終了する。
In S716, an instruction indicating the end of a page is added to the intermediate data, and the intermediate data for one page and the color conversion method are notified to the
本実施例により、印刷データのページ毎に使用される色数とページ内の描画傾向を解析し、所定の色数を超えた場合、または、描画傾向に応じて色変換処理を切り替えることが可能になり、ユーザに「自動」による色変換手段の選択、切り替える機能を提供できる。 According to this embodiment, it is possible to analyze the number of colors used for each page of print data and the drawing tendency in the page, and switch the color conversion process when the number of colors exceeds a predetermined number or according to the drawing tendency. It is possible to provide the user with a function of selecting and switching color conversion means by "automatic".
具体的には、カラーデータのページ内に含まれるグラフで使用される複数色のそれぞれの色に対して異なるグレー値が割り当てられるように変換する。カラーデータのページ内に含まれるグラフ以外のオブジェクトに対しては、オブジェクトの画素を構成する複数の色成分を所定の割合で合成してグレー値に変換し、かつグレーデータのエッジ部を強調する変換を行う。 Specifically, conversion is performed so that different gray values are assigned to each of the plurality of colors used in the graph included in the page of color data. For objects other than graphs included in the color data page, multiple color components that make up the pixels of the object are combined at a predetermined ratio and converted to a gray value, and the edges of the gray data are emphasized. Perform the conversion.
<第3実施形態>
以下、本実施形態を実施するための第3実施形態について図面を用いて説明する。第2実施形態は、描画命令の傾向からグラフなどを特定し、色変換方法を切り替えるものであった。しかしながら、濃度差を用いた色変換手段では、グレー色の階調数以上の表現ができない。従って、グラフなど濃度差を用いた色変換を行いたいデータであっても、ページ内の色数が上限値を超えた場合は使用できない場合もある。第3実施形態は、描画命令の傾向を判断しつつ、描画する図形の特徴から、さらにパターン画像を用いてグレー色の階調数以上の弁別性を提供するものである。なお、第3実施形態の印刷制御装置の構成は、図1に示す第一実施形態の構成と同様である。以下では、第1実施形態と異なる点について説明する。
<Third Embodiment>
Hereinafter, a third embodiment for carrying out the present embodiment will be described with reference to the drawings. In the second embodiment, a graph or the like is specified from the tendency of drawing commands, and the color conversion method is switched. However, the color conversion means using the density difference cannot express more than the number of gradations of the gray color. Therefore, even data for which color conversion using a density difference such as a graph is desired may not be usable when the number of colors in the page exceeds the upper limit. The third embodiment provides discrimination of a gray color having a number of gradations or more by using a pattern image from the characteristics of the figure to be drawn while determining the tendency of the drawing command. The configuration of the print control device of the third embodiment is the same as the configuration of the first embodiment shown in FIG. Hereinafter, the differences from the first embodiment will be described.
図8を用いて第2実施形態における色数に加えて、描画命令の傾向を条件とした色変換方法の自動切り替えを説明する。 In addition to the number of colors in the second embodiment, the automatic switching of the color conversion method on the condition of the tendency of the drawing command will be described with reference to FIG.
S801において、ジョブ解析部302はデータ入力部301が取得した入力データからジョブ開始命令401を読み込む。続いて、ジョブ解析部302はS802において色情報取得部311を用いてカラーモード設定命令402を読み込む。色情報取得部311の読み込んだ結果から、グレーデータへの変換が必要なジョブである場合、かつ、色変換方法が「自動」が設定されている場合の処理について説明する。その他の指定だった場合は、従来技術の通りであるため説明を省略する。
In S801, the
ページ解析部303は、S803においてページ開始命令を読み込む。S802で読み込んだカラーモード設定命令402の色変換方法に「自動」が設定されている場合、ページ開始時にページに対する色変換方法の初期値として「濃度強調」を設定する。また、濃度強調処理で必要となるページ内の色数カウントを0、濃度強調に適するページかを判断するための濃度強調適合フラグを「不適合」、パターン画像での弁別に適するページかを判断するためのパターン適合フラグを「適合」で初期化する。
The
ページ解析部303は、S804において描画命令を読み込む。次に、ページ解析部303は、S805にて読み込んだ描画命令がページ内の描画に関わる命令だった場合、例えば、塗りつぶしカラー指定命令だった場合、S806にて色変換方法が「濃度強調」設定かを確認する。「濃度強調」設定であれば、命令内容を色情報解析部312に伝える。色情報解析部312はページ解析部303が読み込んだ色指定に関わる描画命令から、S807にてページ内で使用される色数をカウントしていく。この時、すでにページ内で使用されている色値だった場合は色数をカウントアップしない。
The
次に、色情報解析部312は、S808においてページ内で使用される色数が、所定の閾値を超えたかどうか判定する。より具体的には、色数の合計がプリンタ部で表現可能なグレーデータの階調数を超えた場合など、カラーデータを視認可能な濃度差を持つグレーデータに変換することができるかどうかを判定する。色情報解析部312は、ページ内で使用される色数が所定の閾値を超えない場合は、S809にてページ内の描画傾向を解析して濃度強調に適すページかを判断する。色情報解析部312は解析して濃度強調に適す描画を検知した場合に濃度強調適合フラグを「適合」に設定変更する。検知できなかった場合には濃度強調適合フラグを「不適合」のままにする。濃度強調に適すページかは最後まで解析を行わないと判断できない場合があるため、ページ内で使用される色数が所定の閾値を超えない間は、続けてS810にて濃度差を持たせるためにカラーデータの色変換テーブル作成処理を実行する。色変換テーブルについては従来技術になるため、説明を省略する。ページ内で使用される色数が所定の閾値を超えた場合、色情報解析部312はS811にて、濃度強調に加えてパターン画像を用いることで、ページ内の色を識別しやすくなるページであるかを判断する。より具体的には、色情報解析部312がページ解析部303で読み込んだ、ページ内の描画に関わる命令からパターンに適する特徴を持つページであるかを解析する。第1実施形態の図4で示した例では、連続する描画命令の幅と高さ、座標情報、色情報等の内容から、円グラフ部と円グラフ内の各色に対応した系列名部から構成される描画を検知できる。円グラフ部と系列名部がセットで構成される描画を検知した場合、パターン画像を用いて表現しても対応関係がより識別しやすくなるため、色情報解析部312はパターンに適した描画であると判断する。他にもパターンに適した描画の例として、棒グラフ部と系列名部のセットで構成される描画などが挙げられる。図12に円グラフ部と系列名部のパターン適用前、パターン適用後のイメージ図を示す。図12(B)から濃度差だけでなくパターン画像を用いることでもグラフ部と系列名部の対応関係が図12(A)より識別しやすくなることがわかる。一方で、パターンに適さない描画の例として、折れ線グラフ部と系列名部のセットで構成される描画などが挙げられる。例えば図11に示す折れ線グラフ部の折れ線部分をパターン画像に置き換えて識別しやすくすることは困難である。このような描画に対してパターンを適用しても視認性が向上しないため、パターンに適さないと判断する。色情報解析部312は解析してパターンに適さない描画を検知した場合にパターン適合フラグに「不適合」を設定する。パターンに適さない描画を検知しなかった場合にはパターン適合フラグに「適合」を設定したままにする。
Next, the color
S812にてパターン適合フラグが「適合」であれば、S810の濃度強調用の色変換テーブル作成処理を実行する。濃度強調用の色変換テーブルに濃度差をつけた色に加えて、テーブルに特定の色を特定のパターン画像に変換する項目を追加登録する。パターン適合フラグが「不適合」であれば、色情報解析部312はS813にて色変換テーブルの作成をやめて、色変換部313が色変換方法を「濃度強調」から「輪郭強調」に設定変更する。「輪郭強調」設定時はオブジェクトに紐づく属性を輪郭強調用の属性に切り替えるルールを画像形成部204に通知する。
If the pattern conformity flag is "conformity" in S812, the color conversion table creation process for density enhancement in S810 is executed. In addition to the color with the difference in density in the color conversion table for density enhancement, an item for converting a specific color to a specific pattern image is additionally registered in the table. If the pattern conformity flag is "nonconformity", the color
S814において、描画命令を中間データに変換する。具体的には、相対座標とベジェ曲線で表現される描画命令や登録された文字(フォント)を実際の出力解像度と用紙サイズに合わせた絶対座標のパス点列に変換する。 In S814, the drawing instruction is converted into intermediate data. Specifically, the drawing command expressed by the relative coordinates and the Bezier curve and the registered characters (font) are converted into a path point sequence of absolute coordinates according to the actual output resolution and the paper size.
ページ解析部303は、S804からS814までの処理を、描画命令が終わるまで繰り返す。この過程で、ページ解析部303は、S815で読み込んだ描画命令が改ページ命令だった場合、S816にてページ内で使用される色数が、所定の閾値を超えているかどうか判定する。S816にてページ内で使用される色数が所定の閾値を超えていない場合、S817で濃度強調適合フラグを確認する。濃度強調適合フラグが「適合」であれば濃度強調を設定した状態のままS819へと進む。「不適合」であれば、S818にて色変換テーブルの作成をやめて、色変換部313が色変換方法を「濃度強調」から「輪郭強調」に設定変更する。「輪郭強調」設定時はオブジェクトに紐づく属性を輪郭強調用の属性に切り替えるルールを画像形成部204に通知する。
The
S819で中間データにページ終了を意味する命令を追加し、1ページ分の中間データと色変換方法を画像形成部304およびRIP231に通知する。また、ページ解析部303は、S820にてジョブ終了命令を検知した場合、S821にてジョブ解析部302にジョブに含まれる全ページ分の中間データ変換が完了した旨を通知し、本シーケンスを終了する。
In S819, an instruction indicating the end of a page is added to the intermediate data, and the intermediate data for one page and the color conversion method are notified to the
図9は1ページ分の中間データができた旨の通知を受けた画像形成部304の画像形成処理を説明するフローチャートである。
FIG. 9 is a flowchart illustrating the image formation process of the
S901において、中間データの場所、色変換テーブルの場所、実行すべき色変換方法を取得する。S902において、濃度強調が選択されていた場合、S903において、色変換テーブルを用いて使用色テーブルの色値を、濃度差を持たせた色値、または、パターン画像に変換する。S902において、輪郭強調の場合は、S904にて輪郭強調用の属性に切り替えるルールを取得する。S905において、属性の切り替えルールがあればそれに従い、なければ元の属性で、画像形成部204が中間データを出力解像度と用紙サイズに合わせてラスタ形式の画像に変換する画像形成処理を行う。続いて、S906において、画像形成部204が輪郭強調用の属性が含まれている場合、S907の輪郭強調処理を実行し、グレースケール変換を実行する。輪郭強調処理、グレースケール変換処理の具体的手段は従来技術と差異が無いため説明を省略する。 In S901, the location of the intermediate data, the location of the color conversion table, and the color conversion method to be executed are acquired. When density enhancement is selected in S902, in S903, the color value of the color table used is converted into a color value having a density difference or a pattern image by using the color conversion table. In S902, in the case of contour enhancement, the rule for switching to the attribute for contour enhancement is acquired in S904. In S905, if there is an attribute switching rule, if there is no attribute switching rule, the image forming unit 204 performs an image forming process of converting the intermediate data into a raster format image according to the output resolution and the paper size with the original attribute. Subsequently, in S906, when the image forming unit 204 includes the attribute for contour enhancement, the contour enhancement processing of S907 is executed, and the grayscale conversion is executed. Since the specific means of the contour enhancement process and the grayscale conversion process are the same as those of the prior art, the description thereof will be omitted.
以上が1ページ分の中間データができた旨の通知を受けた画像形成部304の画像形成処理であり、これらの処理は、CPU220が実行するページ解析部303の指示により、RIP231や画像編集部232によって実行される。従って、図8に示すジョブ解析とページ解析は図9に示す画像形成処理と並列に動作することになる。
The above is the image formation processing of the
本実施例により、印刷データのページ毎に使用される色数とページ内の描画傾向を解析し、所定の色数を超えた場合でも、描画傾向に応じてパターンに適するページであれば濃度差とパターンを用いて弁別性を向上させることが可能となる。また、描画傾向に応じてパターンに適さない場合は色変換処理を切り替えて輪郭強調を実施することが可能になり、ユーザに「自動」による色変換手段の選択、切り替える機能を提供できる。 According to this embodiment, the number of colors used for each page of print data and the drawing tendency in the page are analyzed, and even if the number of colors exceeds a predetermined number, the density difference is obtained if the page is suitable for the pattern according to the drawing tendency. It is possible to improve the discrimination by using the pattern. Further, if the pattern is not suitable according to the drawing tendency, the color conversion process can be switched to perform contour enhancement, and the user can be provided with an "automatic" selection and switching function of the color conversion means.
(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
Claims (15)
有彩色のカラーデータのページ内で使用される色の数を取得する取得手段と、
前記取得手段によって取得された色の数に基づき、前記カラーデータで使用される複数色のそれぞれの色に対して異なるグレー値が割り当てられるように変換する第一のグレーデータ変換方法と、前記カラーデータを構成する複数の色成分を所定の割合で合成してグレー値に変換し、かつ前記グレーデータのエッジ部を強調する第二のグレーデータ変換方法の中からグレーデータ変換方法を決定する決定手段と、
前記決定手段によって決定されたグレーデータ変換方法を用いて、前記カラーデータをグレーデータに変換する変換手段とを有することを特徴とする画像処理装置。 An image processing device that converts chromatic color data into achromatic gray data.
An acquisition method for acquiring the number of colors used in a page of chromatic color data,
A first gray data conversion method for converting so that different gray values are assigned to each of the plurality of colors used in the color data based on the number of colors acquired by the acquisition means, and the color. A decision to determine a gray data conversion method from a second gray data conversion method in which a plurality of color components constituting the data are combined at a predetermined ratio and converted into a gray value, and the edge portion of the gray data is emphasized. Means and
An image processing apparatus comprising: a conversion means for converting the color data into gray data by using the gray data conversion method determined by the determination means.
前記取得手段は、前記中間データのページ内で使用される色の数をカウントするカウントすることで色の数を取得することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。 Further, it has a generation means for generating intermediate data for each page by analyzing PDL data.
The image according to any one of claims 1 to 3, wherein the acquisition means acquires the number of colors by counting the number of colors used in the page of the intermediate data. Processing equipment.
カラーデータのページ内に含まれるグラフで使用される複数色のそれぞれの色に対して異なるグレー値が割り当てられるように変換し、前記カラーデータのページ内に含まれるグラフ以外のオブジェクトに対しては、前記オブジェクトの画素を構成する複数の色成分を所定の割合で合成してグレー値に変換し、かつ前記グレーデータのエッジ部を強調する変換手段と、
を有することを特徴とする画像処理装置。 An image processing device that converts chromatic color data into achromatic gray data.
Converts so that different gray values are assigned to each of the multiple colors used in the graph contained in the color data page, and for objects other than the graph contained in the color data page. , A conversion means for synthesizing a plurality of color components constituting the pixels of the object at a predetermined ratio and converting them into gray values, and emphasizing the edge portion of the gray data.
An image processing device characterized by having.
有彩色のカラーデータのページ内で使用される色の数を取得する取得ステップと、
前記取得ステップによって取得された色の数に基づき、前記カラーデータで使用される複数色のそれぞれの色に対して異なるグレー値が割り当てられるように変換する第一のグレーデータ変換方法と、前記カラーデータを構成する複数の色成分を所定の割合で合成してグレー値に変換し、かつ前記グレーデータのエッジ部を強調する第二のグレーデータ変換方法の中からグレーデータ変換方法を決定する決定ステップと、
前記決定ステップによって決定されたグレーデータ変換方法を用いて、前記カラーデータをグレーデータに変換する変換ステップとを有することを特徴とする画像処理方法。 An image processing method that converts chromatic color data to achromatic gray data.
A get step to get the number of colors used in a page of chromatic color data, and
A first gray data conversion method for converting so that different gray values are assigned to each of the plurality of colors used in the color data based on the number of colors acquired by the acquisition step, and the color. A decision to determine a gray data conversion method from a second gray data conversion method in which a plurality of color components constituting the data are combined at a predetermined ratio and converted into a gray value, and the edge portion of the gray data is emphasized. Steps and
An image processing method comprising a conversion step of converting the color data into gray data by using the gray data conversion method determined by the determination step.
前記取得ステップは、前記中間データのページ内で使用される色の数をカウントするカウントすることで色の数を取得することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理方法。 Further, it has a generation step of generating intermediate data for each page by analyzing PDL data.
The image according to any one of claims 1 to 3, wherein the acquisition step acquires the number of colors by counting the number of colors used in the page of the intermediate data. Processing method.
カラーデータのページ内に含まれるグラフで使用される複数色のそれぞれの色に対して異なるグレー値が割り当てられるように変換し、前記カラーデータのページ内に含まれるグラフ以外のオブジェクトに対しては、前記オブジェクトの画素を構成する複数の色成分を所定の割合で合成してグレー値に変換し、かつ前記グレーデータのエッジ部を強調する変換ステップと、
を有することを特徴とする画像処理方法。 An image processing method that converts chromatic color data to achromatic gray data.
Converts so that different gray values are assigned to each of the multiple colors used in the graph contained in the color data page, and for objects other than the graph contained in the color data page. , A conversion step in which a plurality of color components constituting the pixels of the object are combined at a predetermined ratio and converted into a gray value, and the edge portion of the gray data is emphasized.
An image processing method characterized by having.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020142112A JP2022037793A (en) | 2020-08-25 | 2020-08-25 | Image processing apparatus, control method of image processing apparatus and program |
US17/405,917 US11438483B2 (en) | 2020-08-25 | 2021-08-18 | Color to gray data conversion determined between assigning gray values based on number of colors and combining color components at predetermined ratio |
DE102021004271.9A DE102021004271A1 (en) | 2020-08-25 | 2021-08-20 | IMAGE PROCESSING DEVICE AND IMAGE PROCESSING METHOD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020142112A JP2022037793A (en) | 2020-08-25 | 2020-08-25 | Image processing apparatus, control method of image processing apparatus and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2022037793A true JP2022037793A (en) | 2022-03-09 |
Family
ID=80221749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020142112A Pending JP2022037793A (en) | 2020-08-25 | 2020-08-25 | Image processing apparatus, control method of image processing apparatus and program |
Country Status (3)
Country | Link |
---|---|
US (1) | US11438483B2 (en) |
JP (1) | JP2022037793A (en) |
DE (1) | DE102021004271A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023166265A (en) * | 2022-05-09 | 2023-11-21 | キヤノン株式会社 | Image processing apparatus, image processing method, and program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5121786B2 (en) * | 2009-07-10 | 2013-01-16 | キヤノン株式会社 | Image processing method, image processing apparatus, and program |
JP2012199652A (en) * | 2011-03-18 | 2012-10-18 | Fujitsu Ltd | Image processing device, method, and program |
EP2777244A1 (en) * | 2011-09-12 | 2014-09-17 | OCE-Technologies B.V. | Method for converting a full colour image to a monochrome image |
JP2017038242A (en) | 2015-08-11 | 2017-02-16 | キヤノン株式会社 | Printer |
-
2020
- 2020-08-25 JP JP2020142112A patent/JP2022037793A/en active Pending
-
2021
- 2021-08-18 US US17/405,917 patent/US11438483B2/en active Active
- 2021-08-20 DE DE102021004271.9A patent/DE102021004271A1/en active Pending
Also Published As
Publication number | Publication date |
---|---|
DE102021004271A1 (en) | 2022-03-03 |
US20220070333A1 (en) | 2022-03-03 |
US11438483B2 (en) | 2022-09-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6824052B2 (en) | Image processing device, its control method, and program | |
JP7297438B2 (en) | Information processing device, control method for information processing device, and program | |
US8848243B2 (en) | Image processing apparatus, controlling method of image processing apparatus, and storage medium | |
US10592766B2 (en) | Image processing apparatus and medium storing program executable by image processing apparatus | |
JP2014000753A (en) | Image processing apparatus, image processing method, and program | |
JP2013103370A (en) | Image processing apparatus | |
JPH09270926A (en) | Image processor, image processing method and storage medium | |
JP2022037793A (en) | Image processing apparatus, control method of image processing apparatus and program | |
KR102076085B1 (en) | Printing controlling terminal apparatus, image forming apparatus and method for controlling printing using the same | |
EP3032498B1 (en) | Image processing apparatus, image processing method, and a program | |
JP2011039736A (en) | Image processing apparatus and image processing program | |
JP2015126277A (en) | Image processing apparatus and image processing method | |
JP2015002442A (en) | Image processing apparatus and method | |
JP2023006690A (en) | Image processing apparatus, method of controlling the same, and program | |
JP2021062553A (en) | Image processing apparatus, image processing method, and program | |
JP6707262B2 (en) | Image forming apparatus and program | |
JP7005796B2 (en) | Image forming device, its control method, and program | |
JP2021016097A (en) | Image forming apparatus, control method of the same, and program | |
JP2023134195A (en) | Image processing apparatus, image processing method, and program | |
US10306104B2 (en) | Image processing method and image processing apparatus that ensure efficient memory use, and recording medium therefor | |
JP2023033977A (en) | Image forming device, image forming device control method and program | |
JP2023033978A (en) | Image forming device, image forming device control method, image processing device, image processing method and program | |
JP2023008251A (en) | Image processing apparatus, image processing method, and program | |
JP6521650B2 (en) | INFORMATION PROCESSING APPARATUS, CONTROL METHOD FOR INFORMATION PROCESSING APPARATUS, AND PROGRAM | |
JP2023103126A (en) | Image processing device, image processing method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20200918 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230802 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20231213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240411 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240423 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240617 |