JP2006229537A - Color correcting device and color correcting program - Google Patents
Color correcting device and color correcting program Download PDFInfo
- Publication number
- JP2006229537A JP2006229537A JP2005040248A JP2005040248A JP2006229537A JP 2006229537 A JP2006229537 A JP 2006229537A JP 2005040248 A JP2005040248 A JP 2005040248A JP 2005040248 A JP2005040248 A JP 2005040248A JP 2006229537 A JP2006229537 A JP 2006229537A
- Authority
- JP
- Japan
- Prior art keywords
- color
- page
- image
- hue
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、画像の色を好ましい色に補正する色補正装置と、コンピュータを、その色補正装置として動作させる色補正プログラムに関する。 The present invention relates to a color correction apparatus that corrects the color of an image to a preferred color and a color correction program that causes a computer to operate as the color correction apparatus.
従来より、印刷の分野において、コンピュータを利用して編集の作業を行なうDTP(Desk Top Publishing)が広範に適用されている。DTPでは、オペレータは、実際に印刷や製版を行なう前に、表示画面上で印刷物のイメージを確認しながら印刷物における文字や画像の編集を行なうことができる。このDTPにおいて、オペレータが文字や画像を編集する際に使用するソフトウェアは、一般にDTPソフトウェアと呼ばれている。DTPソフトウェアは、オペレータによって編集されたイメージが配置されたページをページ記述言語で表現したページ記述データを生成する。そして、このページ記述データが、いわゆるRIP(Raster Image Processor)で、プリンタやイメージセッタ等に代表される出力デバイスで取り扱うことができるラスタデータに変換される。出力デバイスでは、このラスタデータに基づく出力画像が出力される。 Conventionally, in the field of printing, DTP (Desk Top Publishing) that performs editing using a computer has been widely applied. In DTP, an operator can edit characters and images in a printed material while confirming the image of the printed material on a display screen before actually performing printing or plate making. In DTP, software used when an operator edits characters and images is generally called DTP software. The DTP software generates page description data in which a page on which an image edited by an operator is arranged is expressed in a page description language. The page description data is converted into raster data that can be handled by an output device typified by a printer, an image setter, or the like by a so-called RIP (Raster Image Processor). The output device outputs an output image based on the raster data.
ところで、デジタルカメラの普及に伴い、デジタルカメラで撮影した撮影画像を印刷用の画像として使用することが広範に行なわれている。一般に、撮影画像には、例えば逆光での撮影によって撮影画像が全体的に白っぽくなってしまったり、あるいは人物を撮影した撮影画像において照明の影響により肌色に色味が付いてしまったり、あるいはレンズに付着したごみ等の影響により撮影画像に傷が付いてしまったり等といった様々な不都合が生じていることが多い。ここで、デジタルカメラによる撮影画像は電子データとして得られることから、編集者は、撮影画像における上記のような不都合を、DTPでの編集作業の際にデータ上で補正することができる。このような画像の補正には、いわゆるレタッチソフトウェアが用いられる。近年では、画像の色の特性を解析したり、あるいは画像中の人物の顔や画像中の傷等をパターン認識によって認識したりして、画像の階調を好ましい階調に補正したり、人物の顔の肌色を好ましい肌色に補正したり、画像の傷を消したりする等といった様々な補正処理を自動的に行なうオートセットアップ機能が備えられたレタッチソフトウェアも知られている。 By the way, with the widespread use of digital cameras, the use of captured images taken with digital cameras as printing images has been widely performed. In general, for example, the photographed image is generally whitish due to backlighting, or the skin color is tinted due to the effect of lighting in the photographed image of the person, or the lens. In many cases, there are various inconveniences such as a scratch on the photographed image due to the attached dust or the like. Here, since the photographed image obtained by the digital camera is obtained as electronic data, the editor can correct the above-described inconveniences in the photographed image on the data during the editing work by DTP. For such image correction, so-called retouching software is used. In recent years, by analyzing the color characteristics of an image, or by recognizing a person's face in an image or scratches in an image by pattern recognition, the gradation of an image is corrected to a desirable gradation, Retouching software having an auto setup function for automatically performing various correction processes such as correcting the skin color of the face to a preferable skin color or removing the scratch on the image is also known.
ここで、DTPにおいて、撮影画像を用いてページを作成するときに、白色のページ上に撮影画像を配置するだけでなく、何らかの下地色を有するページ上に撮影画像を配置することは良く行なわれることである。ところが、このような下地色を有するページ上に、上記のオートセットアップ機能による補正処理を経た撮影画像が配置されると、個々の撮影画像は好ましい色に補正されているにも関わらず人間には好ましい色合いに見えないという不都合がしばしば発生する。 Here, in DTP, when creating a page using a photographed image, it is often performed not only to place a photographed image on a white page but also to place a photographed image on a page having some background color. That is. However, when a photographed image that has undergone the correction process using the auto setup function is placed on a page having such a background color, each photographed image is corrected to a preferable color, but to humans. Often the inconvenience of not looking at the preferred shades occurs.
そこで、ページ上に配置される撮影画像の色を分析して、その撮影画像が好ましい色合いに見えるような下地色を決定するという技術が提案されている(例えば、特許文献1参照。)。
しかしながら、上記の特許文献1に示されている技術では、下地色が撮影画像の色に応じて決められるため、下地色についての任意性が損なわれてしまうという問題がある。一方で、任意の下地色を決めた後、上記のオートセットアップ機能を使わずに、オペレータが、撮影画像の色合いを表示画面上で視認しながら調整することは非常に熟練を要する作業であり、オペレータにとって大きな負担となってしまう。
However, the technique disclosed in
本発明は、上記事情に鑑み、任意の下地色を有するページ上に配置される画像の色合いを、好ましい色合いに容易に補正することができる色補正装置と、コンピュータを、その色補正装置として動作させる色補正プログラムを提供することを目的とする。 In view of the above circumstances, the present invention operates a color correction apparatus that can easily correct the hue of an image arranged on a page having an arbitrary background color to a preferable hue, and a computer as the color correction apparatus. An object of the present invention is to provide a color correction program to be executed.
上記目的を達成する本発明の色補正装置は、画像が配置されたページを取得するページ取得部と、
上記ページ取得部によって取得されたページの、上記画像を除く領域における支配的な色相を認識する認識部と、
上記画像の色を、その色の色相が上記支配的な色相に近づくように補正する補正部とを備えたことを特徴とする。
The color correction apparatus of the present invention that achieves the above object includes a page acquisition unit that acquires a page on which an image is arranged,
A recognizing unit for recognizing a dominant hue in an area excluding the image of the page acquired by the page acquiring unit;
And a correction unit that corrects the color of the image so that the hue of the color approaches the dominant hue.
本発明の色補正装置によれば、上記ページの画像を除く領域、即ちそのページの下地における支配的な色相が認識され、そのページ上の画像の色の色相が、その支配的な色相に自動的に近づけられる。本発明の色補正装置におけるこのような処理により、下地色を有するページ上に配置される画像について、見る人が感じる違和感が、熟練者の経験等によることなく容易に除かれる。即ち、本発明の色補正装置によれば、任意の下地色を有するページ上に配置される画像の色合いを、好ましい色合いに容易に補正することができる。 According to the color correction apparatus of the present invention, the dominant hue in the area excluding the image on the page, that is, the background of the page is recognized, and the hue of the color of the image on the page is automatically set to the dominant hue. To be close. By such processing in the color correction apparatus of the present invention, the uncomfortable feeling that the viewer feels about the image arranged on the page having the background color can be easily removed without depending on the experience of the skilled person. That is, according to the color correction apparatus of the present invention, the hue of an image arranged on a page having an arbitrary background color can be easily corrected to a preferable hue.
ここで、本発明の色補正装置において、「上記認識部が、上記ページ上の、上記画像を除く領域内の各部の色を所定の複数の色相範囲それぞれに振り分け、各色相範囲について、その色相範囲に色がどれだけ振り分けられたかを表わす頻度を算出し、その算出した頻度に基づいて上記支配的な色相を認識するものである」という形態は好ましい形態である。 Here, in the color correction apparatus according to the present invention, the “recognition unit distributes the color of each part in the region other than the image on the page to a predetermined plurality of hue ranges, and each hue range has its hue. The form of calculating the frequency indicating how much color is distributed to the range and recognizing the dominant hue based on the calculated frequency is a preferable form.
この好ましい形態の色補正装置によれば、上記ページの上記画像を除く領域が、単色の領域である場合だけでなく、例えば模様やグラデーション等といった複数色を有する領域であったとしても、この領域における支配的な色相を容易に認識することができる。 According to this preferred embodiment of the color correction apparatus, not only when the area of the page except the image is a single-color area, this area may be an area having a plurality of colors such as patterns and gradations. The dominant hue in can be easily recognized.
また、上記の好ましい形態の色補正装置において、「上記認識部が、上記所定の複数の色相範囲のうち、上記頻度が最も高い色相範囲を代表する色相を上記支配的な色相と認識するものである」という形態は典型的な形態である。 In the preferred embodiment of the color correction apparatus, “the recognizing unit recognizes a hue representing the hue range having the highest frequency among the plurality of predetermined hue ranges as the dominant hue. The form “is” is a typical form.
また、本発明の色補正装置において、「上記補正部が、上記画像の色を補正するに当たり、その画像中のハイライト部分については色を維持するものである」という形態は好ましい形態である。 In the color correction apparatus according to the present invention, a form that “when the correction unit corrects the color of the image, the highlight portion in the image maintains the color” is a preferable mode.
この好ましい形態の色補正装置によれば、上記ハイライト部分に不要な色味が付いてしまうことを抑制しつつ上記画像の色を補正することができる。 According to this preferred embodiment of the color correction apparatus, it is possible to correct the color of the image while suppressing unnecessary coloring from being added to the highlight portion.
また、上記目的を達成する本発明の色補正プログラムは、コンピュータに組み込まれ、そのコンピュータ上で、
画像が配置されたページを取得するページ取得部と、
上記ページ取得部によって取得されたページの、上記画像を除く領域における支配的な色相を認識する認識部と、
上記画像の色を、その色の色相が上記支配的な色相に近づくように補正する補正部とを構築することを特徴とする。
Moreover, the color correction program of the present invention that achieves the above object is incorporated in a computer, and on the computer,
A page acquisition unit for acquiring a page on which an image is arranged;
A recognizing unit for recognizing a dominant hue in an area excluding the image of the page acquired by the page acquiring unit;
And a correction unit configured to correct the color of the image so that the hue of the color approaches the dominant hue.
この本発明の色補正プログラムによれば、上述した、任意の下地色を有するページ上に配置される画像の色合いを、好ましい色合いに容易に補正することができる色補正装置を容易に実現することができる。 According to the color correction program of the present invention, it is possible to easily realize a color correction apparatus that can easily correct the above-described color of an image arranged on a page having an arbitrary background color to a preferable color. Can do.
なお、本発明の色補正プログラムについては、ここではその基本形態のみを示すのにとどめるが、これは単に重複を避けるためであり、本発明の色補正プログラムには、前述した色補正装置の各形態に対応する各種の形態が含まれる。 Note that the color correction program of the present invention is only shown in its basic form here, but this is merely to avoid duplication, and the color correction program of the present invention includes each of the color correction apparatuses described above. Various forms corresponding to the form are included.
以上、説明したように、本発明によれば、任意の下地色を有するページ上に配置される画像の色合いを、好ましい色合いに容易に補正することができる。 As described above, according to the present invention, it is possible to easily correct a hue of an image arranged on a page having an arbitrary background color to a preferable hue.
以下図面を参照して本発明の実施の形態を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の色補正装置の一実施形態が適用されるプリントシステムを示す図である。 FIG. 1 is a diagram showing a printing system to which an embodiment of a color correction apparatus of the present invention is applied.
この図1に示すプリントシステム10は、ワークステーション100と、3台のパーソナルコンピュータ210,220,230と、バックエンドプロセッサ(BEP)310と、カラープリンタ320とを備えている。
The
3台のパーソナルコンピュータ210,220,230それぞれでは、例えばデジタルカメラで撮影された撮影画像等に代表される自然画像が、ページに配置する画像オブジェクトとして取得される。さらに、これら3台のパーソナルコンピュータ210,220,230それぞれでは、取得された画像オブジェクトが、任意の下地上に配置されてページが生成される。ここで、この下地は、単色で塗りつぶされたものであっても良く、あるいは模様やグラデーション等といった複数色を有するものであっても良い。このページは、いわゆるPDL(Page Description Language)で、上記の下地と画像オブジェクトとが互い区別可能に記述されたものであり、ワークステーション100に入力される。
In each of the three
尚、この図1では、3台のパーソナルコンピュータ210,220,230が、ページの生成元として示されているが、これらはページの生成元の一例に過ぎず、ワークステーション100に接続されるページの生成元は、例えば、4台以上の多数のパーソナルコンピュータであっても良く、あるいは、2台以下の少数のパーソナルコンピュータであっても良く、あるいは、ワークステーション100と同等なワークステーションであっても良く、あるいは、汎用コンピュータ以外のページ作成用の専用装置等であっても良い。
In FIG. 1, three
ここで、上記の画像オブジェクトとして取得された自然画像が、本発明にいう画像の一例に相当する。 Here, the natural image acquired as the image object corresponds to an example of an image according to the present invention.
ワークステーション100では、まず、入力されたページに対して、そのページ上の画像オブジェクトの色の特性を解析したり、あるいは、その画像オブジェクト中の人物の顔や傷等をパターン認識によって認識したりして、その画像オブジェクトの階調を好ましい階調に補正したり、人物の顔の肌色を好ましい肌色に補正したり、その画像オブジェクトの傷を消したりする等といった様々な補正処理を自動的に行なうオートセットアップ処理や、そのページ上の画像オブジェクトの色を、そのページの下地における支配的な色相に応じた好ましい色に補正するという色補正処理が実行される。また、このページの画像オブジェクトや下地では、それら画像オブジェクトや下地の作成時に色表現の前提とされた色空間や色再現範囲が、図1に示すカラープリンタ320の色空間や色再現範囲と異なっていることが多い。このため、ワークステーション100では、入力されたページの画像オブジェクトや下地における色空間や色再現範囲を、上記のカラープリンタ320の色空間や色再現範囲に合わせ込むという色変換処理も実行される。そして、これらの処理を経たページに基づいて、いわゆるRIP(Raster Image Processor)により、プリント用のラスタデータが生成される。最後に、このプリント用のラスタデータは、通信量を軽減するために圧縮され、カラープリンタ320に向けて出力される。
The
この圧縮されたラスタデータは、BEP310によって伸張されカラープリンタ320に渡される。そして、カラープリンタ320において、このラスタデータに基づくページの出力が実行される。
The compressed raster data is expanded by the
この図1では、ページの出力先の一例としてカラープリンタ320を示したが、このカラープリンタ320は、電子写真方式のカラープリンタであってもよく、インクジェット方式のカラープリンタであってもよく、そのプリント方式の如何を問うものではない。また、この図1には、本発明の色補正装置の一実施形態が適用されるシステムの一例としてカラープリンタ320を備えたプリントシステムを示したが、本発明の色補正装置の一実施形態が適用されるシステムはこれに限定されるものではなく、例えば印刷機を備えた印刷システムなどであってもよい。ただし、ここでは、カラープリンタ320を備えた、図1のプリントシステム10を前提として説明する。
In FIG. 1, a
以上に説明したプリントシステム10では、ワークステーション100が本発明の色補正装置の一実施形態が適用された後述の画像処理システムとして動作する。以下、このワークステーション100に注目して説明する。
In the
このワークステーション100は、外観構成上、本体装置110、その本体装置110からの指示に応じて表示画面120a上に画像を表示する画像表示装置120、本体装置110にキー操作に応じた各種の情報を入力するキーボード130、および、表示画面120a上の任意の位置を指定することにより、その位置に表示された、例えばアイコン等に応じた指示を入力するマウス140を備えている。
The
次に、このワークステーション100の内部構成について説明する。
Next, the internal configuration of the
図2は、図1に示すワークステーションのハードウェア構成図である。 FIG. 2 is a hardware configuration diagram of the workstation shown in FIG.
この図2に示すように、本体装置110の内部には、各種プログラムを実行するCPU111、ハードディスク装置113に格納されたプログラムが読み出されCPU111での実行のために展開される主メモリ112、各種プログラムやデータ等が保存されたハードディスク装置113、フレキシブルディスク(以降、FDと呼ぶ)420が装填され、その装填されたFD420をアクセスするFDドライブ114、CD−ROM410をアクセスするCD−ROMドライブ115、図1のパーソナルコンピュータ210,220,230等と接続され、これらの機器からページ等を受け取る入力インタフェース116、および、図1のBEP310と接続され、上記のラスタデータ等を出力する出力インタフェース117が内蔵されており、これらの各種要素と、さらに図1にも示す画像表示装置120、キーボード130、およびマウス140は、バス150を介して相互に接続されている。
As shown in FIG. 2, inside the
ここで、CD−ROM410には、ワークステーション100を、本発明の色補正装置の一実施形態が適用された画像処理システムとして動作させるための各種のプログラムが記憶される。そして、それら各種のプログラムが記憶されたCD−ROM410がCD−ROMドライブ115に装填されると、そのCD−ROM410に記憶されたプログラムがこのワークステーション100にアップロードされてハードディスク装置113に書き込まれる。これにより、ワークステーション100は以下に説明する画像処理システムとして動作する。
Here, the CD-
図3は、本発明の色補正装置の一実施形態が適用された画像処理システムを示すブロック図である。 FIG. 3 is a block diagram showing an image processing system to which an embodiment of the color correction apparatus of the present invention is applied.
この図3に示す画像処理システム500は、1ジョブ毎にページを取り込んで、各ページについて、ページ上の画像オブジェクトの階調や色を好ましい階調や色に補正したり、画像オブジェクトの傷を消したりする上記のオートセットアップ処理や、画像オブジェクトの色をページの下地における支配的な色相に応じた好ましい色に補正する上記の色補正処理や、画像オブジェクトや下地の作成時に色表現の前提とされた色空間や色再現範囲を、図1のカラープリンタ320の色空間や色再現範囲に合わせ込む上記の色変換処理を施し、処理後のページに基づいてラスタデータを生成し、そのラスタデータを圧縮して、図1に示すカラープリンタ320に向けて出力するというシステムである。この画像処理システム500は、入力部510と、RIP520と、圧縮部530と、出力部540と、プライマ600とを備えている。
The
入力部510では、1ジョブ分のページPが受け取られる。ここで、図3に示すように、各ページPは、下地P1上に画像オブジェクトP2が配置されて構成されている。入力部510で受け取られた1ジョブ分のページPは、オペレータから、RIP520へ直接渡すという指示が出されない限りにおいては、プライマ600に渡される。
The
入力部510からプライマ600に渡された1ジョブ分のページPには、上記のオートセットアップ処理、色補正処理、および色変換処理とを含む各種の処理が各ページについて行なわれる。
Various processes including the auto setup process, the color correction process, and the color conversion process described above are performed for each page on the page P for one job passed from the
このプライマ600は、ページの色についての処理を行なうカラーマネージメントシステム(CMS)610を備えており、このCMS610が有している色補正装置650において上記のオートセットアップ処理および色補正処理が実行され、色変換装置660において上記の色変換処理が実行される。また、プライマ600は、ページを表わすデータについてのエラーチェックや、図1のカラープリンタ320において一枚の用紙上に複数のページを配置して出力する際の面付けの指定等といった色補正以外の各種の処理を実行するその他処理装置620も備えている。その他処理装置620では、オペレータの指示に応じてこれら各種の処理が実行される。プライマ600の各要素における、上記の各処理を経た1ジョブ分のページPは、RIP520に渡される。
The
プライマ600からRIP520に1ジョブ分のページPが渡されると、このRIP520において、各ページのラスタデータが生成され、さらに、これらのラスタデータが、圧縮部530で圧縮された後、出力部540から出力される。
When a page P for one job is passed from the
一方、オペレータから、RIP520へ直接渡すという指示が出された場合には、入力部510からRIP520に1ジョブ分のページPが渡される。ここで、本実施形態におけるRIP520は、プライマ600で実行される複数の処理のうちの上記の色変換処理を実行する機能を備えており、オペレータから上記のような指示が出された場合には、このRIP520において、1ジョブ分のページPに上記の色変換処理が施された後ラスタデータが生成される。このラスタデータは、プライマ600を経る場合の処理と同様に、圧縮部530で圧縮された後、出力部540から出力される。
On the other hand, when the operator gives an instruction to pass directly to the
ここで、上記のプライマ600のCMS610が有している色補正装置650が、本発明の色補正装置の一実施形態に相当する。以下では、この色補正装置650と、図1および図2に示すワークステーション100を、この色補正装置650として動作させる、本発明の色補正プログラムの一実施形態である色補正プログラムに注目して説明する。
Here, the
まず、色補正プログラムについて説明する。 First, the color correction program will be described.
図4は、本発明の色補正プログラムの一実施形態が記憶されたCD−ROMを示す概念図である。 FIG. 4 is a conceptual diagram showing a CD-ROM in which an embodiment of the color correction program of the present invention is stored.
図4に示すCD−ROM410には、本発明の色補正プログラムの一実施形態である色補正プログラム700が記憶されている。
A CD-
この色補正プログラム700は、ページ取得部710、認識部720、および補正部730で構成されている。
The
色補正プログラム700の各部の詳細については、本発明の色補正装置の一実施形態の各部の作用と併せて説明する。
Details of each part of the
図5は、図4に示す色補正プログラムが図1および図2に示すワークステーションにインストールされ、このワークステーションが本発明の色補正装置の一実施形態として動作するときの機能を表わす機能ブロック図である。 FIG. 5 is a functional block diagram showing functions when the color correction program shown in FIG. 4 is installed in the workstation shown in FIGS. 1 and 2 and this workstation operates as an embodiment of the color correction apparatus of the present invention. It is.
図5に示す色補正装置650は、上述したように、入力されたページPに対して、そのページP上の画像オブジェクトP2の色を、そのページPの下地P1における支配的な色相に応じた好ましい色に補正するという色補正処理を実行するものであり、ページ取得部651、認識部652、および補正部653を備えている。ここで、ページ取得部651、認識部652、および補正部653は、それぞれ本発明にいうページ取得部、認識部、および補正部の各一例に相当する。
As described above, the
図4に示す色補正プログラム700を図1および図2に示すワークステーション100にインストールすると、色補正プログラム700のページ取得部710は図5に示すページ取得部651を構成し、同様に、認識部720は認識部652を構成し、補正部730は補正部653を構成する。
When the
ページ取得部651では、図3に示す入力部510から渡された1ジョブ分のページPが1ページ毎に取得される。このページ取得部651で取得されたページPは、認識部652に1ページ毎に渡される。
The
認識部652では、ページ取得部651から渡された1ページの、下地における支配的な色相が認識される。
The recognizing
補正部653では、上記の1ページ上の画像オブジェクトについて上記のオートセットアップ処理が施されるとともに、その画像オブジェクトの色が、この色の色相が上記の支配的な色相に近づくように補正される。また、この補正の際には、画像オブジェクト中のハイライト部分については色が維持されて、このハイライト部分に不要な色味が付いてしまうことが防がれる。
The
次に、この色補正装置650において実行される色補正処理の流れについて説明する。尚、以下の説明では、図3および図5に示す各構成要素を特に図番を断らずに参照する。
Next, the flow of color correction processing executed in the
図6は、図3および図5に示す色補正装置において実行される色補正処理の流れを示すフローチャートである。 FIG. 6 is a flowchart showing the flow of color correction processing executed in the color correction apparatus shown in FIGS. 3 and 5.
この図6のフローチャートが示す色補正処理は、色補正装置650のページ取得部651に1ジョブ分のページPが送られてくるとスタートする。色補正処理がスタートすると、まず、これら1ジョブ分のページPのうちの1ページが受け取られる(ステップS100)。
The color correction process shown in the flowchart of FIG. 6 starts when a page P for one job is sent to the
次に、色補正装置650の認識部652において、上記の1ページの下地における支配的な色相が認識される(ステップS200)。この認識部652で実行される色相の認識という処理については後述する。
Next, the dominant hue in the background of the one page is recognized in the
ステップS200の処理で、下地における支配的な色相が認識されると、まず、上記の1ページ上に配置されている画像オブジェクトのうちの1つが取り出される(ステップS300)。そして、この取り出された画像オブジェクトに対して上記のオートセットアップ処理が実行される(ステップS400)。さらに、このオートセットアップ処理を経た画像オブジェクトに対して、その画像オブジェクト中のハイライト部分の色を維持しつつ、その画像オブジェクトの色が、この色の色相が、ステップS200の処理で認識された色相に近づくように補正される(ステップS500)。ステップS500の色補正処理が終了すると、上記の1ページのうちに、未処理の画像オブジェクトがあるか否かが判定される(ステップS600)。そして、未処理の画像オブジェクトがある場合(ステップS600におけるNo判定)には、ステップS300〜ステップS500の処理が次の画像オブジェクトについて実行される。このステップS300〜ステップS500の処理は、ステップ600の処理で、未処理の画像オブジェクトが無い(ステップS600におけるYes判定)と判定されるまで繰り返される。
When the dominant hue in the background is recognized in the process of step S200, first, one of the image objects arranged on the one page is extracted (step S300). Then, the above auto setup process is executed on the extracted image object (step S400). Further, for the image object that has undergone the auto setup process, the color of the image object is recognized in the process of step S200 while maintaining the color of the highlight portion in the image object. Correction is made to approach the hue (step S500). When the color correction process in step S500 is completed, it is determined whether or not there is an unprocessed image object in the one page (step S600). If there is an unprocessed image object (No determination in step S600), the processes in steps S300 to S500 are executed for the next image object. The processes in steps S300 to S500 are repeated until it is determined in
さらに、このステップS600の処理で未処理の画像オブジェクトが無いと判定されると、次に、上記の1ジョブ分のページPの中に、未処理のページがあるか否かが判定される(ステップS700)。そして、未処理のページがある場合(ステップS700におけるNo判定)には、ステップS100〜ステップS600の処理が次の1ページについて実行される。このステップS100〜ステップS600の処理は、ステップ700の処理で、未処理のページが無い(ステップS700におけるYes判定)と判定されるまで繰り返される。そして、このステップ700までの処理で、上記の1ジョブ分の全ページについての色補正処理が終了すると、このフローチャートが示す色補正処理が終了する。
Further, if it is determined in step S600 that there is no unprocessed image object, it is next determined whether or not there is an unprocessed page in the page P for one job. Step S700). When there is an unprocessed page (No determination in step S700), the processes in steps S100 to S600 are executed for the next page. The processes in steps S100 to S600 are repeated until it is determined in
次に、この図6のフローチャートにおけるステップS200で実行される、ページの下地における支配的な色相の認識の詳細について説明する。 Next, the details of the recognition of the dominant hue on the background of the page executed in step S200 in the flowchart of FIG. 6 will be described.
図7は、図6のフローチャートにおけるステップS200で実行される、ページの下地における支配的な色相の認識の流れを示すフローチャートである。 FIG. 7 is a flowchart showing the flow of recognition of the dominant hue on the page background, which is executed in step S200 in the flowchart of FIG.
このフローチャートが示す処理がスタートすると、図6のフローチャートにおけるステップS100の処理で取得された1ページから画像オブジェクトが削除されることにより、その1ページの下地が取得される(ステップS201)。ここで、このフローチャートが示す処理がスタートする時点では、上記の1ページは、上記のPDLで記述されたものであり、画像オブジェクトと下地とが互いに区別可能であるので、ステップS201の処理では、このPDLの記述に基づいて画像オブジェクトが削除される。そして、画像オブジェクトが削除された後に残った下地が、低解像度で粗くラスタライズされる(ステップS202)。次に、この粗くラスタライズされた下地の色についての統計処理が行なわれ、次のようなヒストグラムが作成される(ステップS203)。 When the process shown in this flowchart is started, an image object is deleted from one page acquired in the process of step S100 in the flowchart of FIG. 6, thereby acquiring the background of that one page (step S201). Here, at the time when the processing shown in this flowchart starts, the above one page is described in the above PDL, and the image object and the background can be distinguished from each other. The image object is deleted based on this PDL description. Then, the background remaining after the image object is deleted is roughly rasterized at a low resolution (step S202). Next, statistical processing is performed on the rough rasterized background color, and the following histogram is created (step S203).
図8は、図7のフローチャートにおけるステップS203で作成される下地色のヒストグラムの一例を示す図である。 FIG. 8 is a diagram showing an example of the background color histogram created in step S203 in the flowchart of FIG.
この図8に示すヒストグラムHは、下地を構成する複数の画素それぞれの色を5つの色相範囲H1,…,H5それぞれに振り分けたときに、各色相範囲にどれだけ多くの画素の色が振り分けられるかを表わすものである。このヒストグラムHでは、横軸に色相がとられ、縦軸には、色がどれだけ振り分けられているかを示す指標としての頻度がとられている。本実施形態では、下地色が、レッド・マゼンタ(RM)、イエロー・レッド(YR)、イエロー(Y)、グリーン(G)、およびブルー(B)の5色をそれぞれ中心色相とする5つの色相範囲H1,…,H5に振り分けられて、ヒストグラムHが作成される。 In the histogram H shown in FIG. 8, when the colors of a plurality of pixels constituting the background are assigned to the five hue ranges H1,..., H5, how many pixels are assigned to each hue range. It represents. In this histogram H, the horizontal axis represents hue, and the vertical axis represents frequency as an index indicating how much color is distributed. In the present embodiment, the base colors are five hues each having a central hue of five colors of red, magenta (RM), yellow / red (YR), yellow (Y), green (G), and blue (B). A histogram H is created by allocating to the ranges H1,..., H5.
再び、図7に戻って説明を続ける。 Returning to FIG. 7, the description will be continued.
上記のステップS203の処理によって図8に示す下地色のヒストグラムHが作成されると、このヒストグラムHの5つの色相範囲H1,…,H5のうち、最も頻度が高い色相範囲における中心色相(図8の例ではYR)が、下地における支配的な色相として認識され(ステップS204)、このフローチャートが示す、下地における支配的な色相の認識するという処理が終了する。 When the background color histogram H shown in FIG. 8 is created by the processing in step S203, the central hue in the hue range having the highest frequency among the five hue ranges H1,..., H5 of the histogram H (FIG. 8). In this example, YR) is recognized as the dominant hue in the background (step S204), and the process of recognizing the dominant hue in the background shown in this flowchart ends.
この図6および図7を参照して説明した処理によれば、例えば、下地が単色で塗りつぶされたものであった場合には、その下地を構成する複数の画素全ての色はその単色であり、全ての画素の色が上記の5つの色相範囲H1,…,H5のうち、その単色に対応する色相範囲に振り分けられる。そして、その振り分けられた先の色相範囲の中心色相が、下地における支配的な色相として認識される。また、下地が、模様やグラデーション等といった複数色を有するものであった場合には、その下地を構成する各画素の色が上記の5つの色相範囲H1,…,H5に振り分けられ、画素の色が最も多く振り分けられた色相範囲の中心色相が、下地における支配的な色相として認識される。このように、本実施形態によれば、下地が、単色で塗りつぶされたものであるのみならず複数色を有するものであっても、その下地における支配的な色相を容易に認識することができる。 According to the processing described with reference to FIGS. 6 and 7, for example, when the background is filled with a single color, the colors of all of the plurality of pixels constituting the background are the single color. The colors of all the pixels are distributed to the hue range corresponding to the single color among the above five hue ranges H1,..., H5. Then, the central hue of the assigned hue range is recognized as the dominant hue in the background. If the background has a plurality of colors such as patterns and gradations, the color of each pixel constituting the background is distributed to the five hue ranges H1,... The central hue of the hue range to which the most is assigned is recognized as the dominant hue in the background. As described above, according to the present embodiment, the dominant hue in the background can be easily recognized even if the background is not only a single color but also a plurality of colors. .
以上説明したように、本実施形態の色補正装置650では、図6、図7、および図8を参照して説明した色補正処理によって、各ページ上の画像オブジェクトの色が、そのページ下地に応じた好ましい色に自動的に補正される。つまり、本実施形態の色変換装置650によれば、任意の下地色を有するページ上に配置される画像オブジェクトの色合いを、好ましい色合いに容易に補正することができる。
As described above, in the
尚、上記では、本発明にいう認識部の一例として、下地を構成する複数の画素それぞれの色を5つの色相範囲に振り分け、画素の色が最も多く振り分けられた色相範囲における中心色相を、その下地における支配的な色相として認識する認識部652を挙げたが、本発明はこれに限るものではなく、例えば、下地を構成する複数の画素それぞれの色を5つ以外の数の色相範囲に振り分けるものであっても良い。また、本発明の認識部は、例えば、下地を構成する複数の画素それぞれの色を、多数の色相範囲に細かく振り分た後に、2番目や3番目等といった相対的に頻度の高い1つの色相範囲を決定し、その1つの色相範囲の中心色相を上記の支配的な色相として認識するもの等であっても良い。また、本発明の認識部は、例えば、1つの色相範囲が決定された後、その1つの色相範囲内に中心色相以外に人間にとって支配的な色相と感じられる色相がある場合に、その色相を認識するもの等であっても良い。
In the above description, as an example of the recognition unit according to the present invention, the colors of each of a plurality of pixels constituting the background are allocated to five hue ranges, and the central hue in the hue range in which the pixel colors are most frequently distributed is Although the
10 プリントシステム
100 ワークステーション
110 本体装置
111 CPU
112 主メモリ
113 ハードディスク装置
114 FDドライブ
115 CD−ROMドライブ
116 入力インタフェース
117 出力インタフェース
120 画像表示装置
120a 表示画面
130 キーボード
140 マウス
150 バス
210,220,230 パーソナルコンピュータ
310 バックエンドプロセッサ
320 カラープリンタ
410 CD−ROM
420 フレキシブルディスク
500 画像処理システム
510 入力部
520 RIP
530 圧縮部
540 出力部
600 プライマ
610 カラーマネージメントシステム
620 その他処理装置
650 色補正装置
651 ページ取得部
652 認識部
653 補正部
660 色変換装置
700 色補正プログラム
710 ページ取得部
720 認識部
730 補正部
DESCRIPTION OF
112
420
530
Claims (5)
前記ページ取得部によって取得されたページの、前記画像を除く領域における支配的な色相を認識する認識部と、
前記画像の色を、該色の色相が前記支配的な色相に近づくように補正する補正部とを備えたことを特徴とする色補正装置。 A page acquisition unit for acquiring a page on which an image is arranged;
A recognizing unit for recognizing a dominant hue in an area excluding the image of the page acquired by the page acquiring unit;
A color correction apparatus comprising: a correction unit configured to correct the color of the image so that the hue of the color approaches the dominant hue.
画像が配置されたページを取得するページ取得部と、
前記ページ取得部によって取得されたページの、前記画像を除く領域における支配的な色相を認識する認識部と、
前記画像の色を、該色の色相が前記支配的な色相に近づくように補正する補正部とを構築することを特徴とする色補正プログラム。 Embedded in a computer, on the computer,
A page acquisition unit for acquiring a page on which an image is arranged;
A recognizing unit for recognizing a dominant hue in an area excluding the image of the page acquired by the page acquiring unit;
A color correction program that constructs a correction unit that corrects the color of the image so that the hue of the color approaches the dominant hue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005040248A JP2006229537A (en) | 2005-02-17 | 2005-02-17 | Color correcting device and color correcting program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005040248A JP2006229537A (en) | 2005-02-17 | 2005-02-17 | Color correcting device and color correcting program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006229537A true JP2006229537A (en) | 2006-08-31 |
Family
ID=36990498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005040248A Pending JP2006229537A (en) | 2005-02-17 | 2005-02-17 | Color correcting device and color correcting program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006229537A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8094343B2 (en) | 2007-08-31 | 2012-01-10 | Brother Kogyo Kabushiki Kaisha | Image processor |
US8159716B2 (en) | 2007-08-31 | 2012-04-17 | Brother Kogyo Kabushiki Kaisha | Image processing device performing image correction by using a plurality of sample images |
US8174731B2 (en) | 2007-08-31 | 2012-05-08 | Brother Kogyo Kabushiki Kaisha | Image processing device outputting image for selecting sample image for image correction |
US8284417B2 (en) | 2007-08-31 | 2012-10-09 | Brother Kogyo Kabushiki Kaisha | Image processing device capable of preventing needless printing |
US8311323B2 (en) | 2007-08-31 | 2012-11-13 | Brother Kogyo Kabushiki Kaisha | Image processor for converting image by using image retrieved based on keyword |
JP2012244512A (en) * | 2011-05-23 | 2012-12-10 | Seiko Epson Corp | Image processing apparatus, image processing method, and printed matter |
US8390905B2 (en) | 2007-08-31 | 2013-03-05 | Brother Kogyo Kabushiki Kaisha | Image processing device extracting desired region to be used as model for image correction |
JP2014063508A (en) * | 2008-05-09 | 2014-04-10 | Ltu Technologies Sas | Color collation tool box |
-
2005
- 2005-02-17 JP JP2005040248A patent/JP2006229537A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8094343B2 (en) | 2007-08-31 | 2012-01-10 | Brother Kogyo Kabushiki Kaisha | Image processor |
US8159716B2 (en) | 2007-08-31 | 2012-04-17 | Brother Kogyo Kabushiki Kaisha | Image processing device performing image correction by using a plurality of sample images |
US8174731B2 (en) | 2007-08-31 | 2012-05-08 | Brother Kogyo Kabushiki Kaisha | Image processing device outputting image for selecting sample image for image correction |
US8284417B2 (en) | 2007-08-31 | 2012-10-09 | Brother Kogyo Kabushiki Kaisha | Image processing device capable of preventing needless printing |
US8311323B2 (en) | 2007-08-31 | 2012-11-13 | Brother Kogyo Kabushiki Kaisha | Image processor for converting image by using image retrieved based on keyword |
US8390905B2 (en) | 2007-08-31 | 2013-03-05 | Brother Kogyo Kabushiki Kaisha | Image processing device extracting desired region to be used as model for image correction |
JP2014063508A (en) * | 2008-05-09 | 2014-04-10 | Ltu Technologies Sas | Color collation tool box |
JP2012244512A (en) * | 2011-05-23 | 2012-12-10 | Seiko Epson Corp | Image processing apparatus, image processing method, and printed matter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100788053B1 (en) | Color conversion method and profile generation method | |
JP5795548B2 (en) | High dynamic range image processing method using tone mapping to extended RGB space | |
JP2006229537A (en) | Color correcting device and color correcting program | |
JP2004007370A (en) | Device and method for image processing and program to be executed by computer | |
JP2001245168A (en) | Color correction device, recording medium, storage device and color correction method | |
JP2006197457A (en) | Color chart creating method, device, and program, and color conversion definition correcting method | |
JP2003348366A (en) | Method and apparatus for image processing | |
JP2007336549A (en) | Image forming apparatus and method | |
EP1569438A2 (en) | Color conversion system,color conversion apparatus and color conversion program storage medium | |
CN105704347A (en) | Image processing apparatus and image processing method | |
JP6736299B2 (en) | Printing device, printing method, and program | |
US20040017476A1 (en) | Printing system, layout data generation device, print data processing device and program | |
JP4946370B2 (en) | Image processing apparatus, image forming apparatus, and program | |
US20080025563A1 (en) | Data correction method, apparatus and program | |
JP2004034636A (en) | Image formation apparatus | |
JP2006217532A (en) | Color converting device and program | |
US7099043B2 (en) | Halftone screening method and storage medium | |
JP3833170B2 (en) | Gray line setting method, image processing apparatus and image processing method | |
JP6707262B2 (en) | Image forming apparatus and program | |
JP2004147301A (en) | Color conversion processing method, color conversion processing apparatus, and color conversion processing program | |
JP2006260533A (en) | Image forming apparatus and method | |
JP2007324713A (en) | Color transformation system | |
JP4816757B2 (en) | Image processing apparatus and image processing program | |
JP2006114994A (en) | Image processing method, image processing apparatus, and image forming system | |
JP4200855B2 (en) | Image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061214 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070706 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20081215 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090203 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20091006 |