JP2006173824A - Image processing apparatus and method - Google Patents
Image processing apparatus and method Download PDFInfo
- Publication number
- JP2006173824A JP2006173824A JP2004360838A JP2004360838A JP2006173824A JP 2006173824 A JP2006173824 A JP 2006173824A JP 2004360838 A JP2004360838 A JP 2004360838A JP 2004360838 A JP2004360838 A JP 2004360838A JP 2006173824 A JP2006173824 A JP 2006173824A
- Authority
- JP
- Japan
- Prior art keywords
- image
- lut
- skin color
- color
- saturation
- 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.)
- Withdrawn
Links
Images
Landscapes
- Image Analysis (AREA)
- Color, Gradation (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は入力画像に応じて最適なルックアップテーブルを選択する技術に関する。 The present invention relates to a technique for selecting an optimal lookup table according to an input image.
近年のインクジェットプリンタにおいて、インクに使用する色材の改良や、C(シアン)、M(マゼンタ)、Y(イエロー)、K(ブラック)以外の色相のインク(以下特色インクと記す)を追加して印刷することにより、従来よりも高彩度な色を出力することが可能となり、色再現範囲(以下色域と記す)は拡張する傾向にある。 In recent inkjet printers, improved color materials used for ink and added inks with hues other than C (cyan), M (magenta), Y (yellow), and K (black) (hereinafter referred to as special color inks) By printing in this way, it becomes possible to output colors with higher saturation than before, and the color reproduction range (hereinafter referred to as color gamut) tends to be expanded.
しかしながら、インクジェットプリンタの色域拡張に伴い、例えば、オレンジの色相の特色インクを追加することにより、図6に示すようにオレンジ領域の色域を大幅に拡張し、モニタの色域よりも広くなった場合、彩度方向の変換曲線は、図7のようになり、滑らかな諧調を得ようとした場合には、肌色領域の彩度が高くなり、不自然な出力結果となり、逆に肌色領域の彩度を保持しようとした場合には、肌色領域とオレンジ領域との間に大きな諧調の変化が生じ、トーンジャンプの原因となってしまう。 However, along with the expansion of the color gamut of inkjet printers, for example, by adding a special color ink with an orange hue, the color gamut of the orange area is greatly expanded as shown in FIG. In this case, the conversion curve in the saturation direction is as shown in FIG. 7, and when trying to obtain a smooth gradation, the saturation of the skin color area becomes high, resulting in an unnatural output result. If the saturation is to be maintained, a large gradation change occurs between the skin color area and the orange area, which causes a tone jump.
上記問題に対し、特許文献1においては、入力画像の情報に基づき、出力濃度曲線を変化させる方法が記されている。
In order to solve the above problem,
また、特許文献2には、色相ごとにLUTを分割し、特色インクを挟み、色相の隣り合う任意の2色にKインクを加えた計4色のインクから成るLUTを複数個用意し、入力データに対して、用いるLUTを切り替えるという方法が記されている。
しかしながら、特許文献1の方法では、出力濃度曲線により、十分にチューニングしたLUTのパラメータ特性を微妙に崩してしまい、擬似輪郭の原因となってしまうという問題があった。
However, the method of
また、特許文献2の方法では、使用する特色インクの種類を、予め限定した後に、色分解ルックアップテーブルを作成しているため、入力画像中に肌色領域が含まれているか否かに限らず、特定のLUTしか使用できないという問題があった。 In the method of Patent Document 2, since the color separation lookup table is created after the types of special color ink to be used are limited in advance, it is not limited to whether or not a skin color area is included in the input image. There is a problem that only a specific LUT can be used.
本発明は、以上のような課題に鑑みてなされたものであり、色変換を行うLUTを選択する際、入力された画像データの情報に基づき、肌色領域が存在するか否かを判断し、存在すれば、オレンジ領域の彩度を強調せず、肌色領域の彩度を保持したLUTを用い、逆に肌色領域が存在しなければ、オレンジ領域の彩度強調をし、諧調を保持したLUTを用いることにより、入力画像に対し、最適なLUTを用いて画像出力する方法を提供することを目的としている。 The present invention has been made in view of the above problems, and when selecting an LUT for performing color conversion, it is determined whether or not a skin color area exists based on information of input image data, If there is an LUT that does not enhance the saturation of the orange area and retains the saturation of the skin color area, conversely, if the skin color area does not exist, the saturation of the orange area is enhanced and the LUT that maintains the gradation It is an object of the present invention to provide a method for outputting an image using an optimum LUT for an input image.
上記目的を達成するために、本発明は、画像を入力する画像入力手段と、入力画像中に肌色領域が存在するかどうかを判断する肌色領域判断手段と、該肌色領域判断手段による判断結果を基にLUTを選択するLUT選択手段と、該LUT選択手段により選択されたLUTを用いて入力画像の色を変換する色変換手段と、該色変換手段により色変換された画像を出力する画像出力手段とを具備することを特徴とする。 In order to achieve the above object, the present invention provides an image input means for inputting an image, a skin color area determination means for determining whether or not a skin color area exists in the input image, and a determination result by the skin color area determination means. LUT selection means for selecting an LUT based on the image, color conversion means for converting the color of the input image using the LUT selected by the LUT selection means, and image output for outputting an image color-converted by the color conversion means Means.
本発明によれば、画像に最適なLUTを用いることでき、高品質の出力画像を得ることができる。 According to the present invention, an LUT optimum for an image can be used, and a high-quality output image can be obtained.
(第一の実施形態)
以下、本発明に係る一実施形態について、添付の図面を参照して詳細に説明する。
(First embodiment)
Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.
図1は本発明の一実施形態である画像処理装置の構成を示したブロック図である。1は本発明の実施形態である画像処理装置。2はハードディスクや、CD−ROM等、出力する画像情報を記憶しておく画像データ記憶部。3は画像データ記憶部2から、画像処理装置1に画像データを読み込むための画像入力部。4は入力画像の色分布を算出する色分布算出部。5は色分布算出部4にて算出された色分布において、肌色領域の画素がどれくらい存在するかを算出する肌色領域算出部。6は肌色領域算出部にて算出した肌色領域に含まれる画素の割合を基に、色変換に用いるLUTを選択するためのLUT選択部。7は、色変換に用いるLUTを記憶しておくためのLUT記憶部。8はLUT記憶部7に記憶されているLUTを用いて、画像入力部3にて入力された画像に色変換処理を施す色変換部。9は色変換部8にて変換された画像データを出力するための画像出力部。10は画像出力部9から出力された画像データに基づき、実際に印刷を行うインクジェットプリンタ等の画像出力装置である。
FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. 1 is an image processing apparatus according to an embodiment of the present invention. An image data storage unit 2 stores image information to be output, such as a hard disk or a CD-ROM. 3 is an image input unit for reading image data from the image data storage unit 2 into the
<全体処理>
ここで図2は、画像処理装置1にて行われる画像処理のフローチャートである。以下、本発明にかかる一実施形態を、図面を用いて詳細に説明する。まず、S201では、画像入力部3にて、画像データ記憶部2から画像処理装置1に画像データを読み込む。次に、S202では、色分布算出部4において、S201にて読み込んだ入力画像のRGB空間内での色分布を算出する。S203では、肌色領域算出部5において、S202にて算出された色分布から、肌色領域内に存在する画素の割合を算出する(詳細は後述)。S204では、LUT選択部6において、S203にて算出された肌色領域の画素の割合に基づき、LUT記憶部7に記憶されているLUTの中から、彩度強調したLUT、または肌色領域を保持したLUTのどちらか最適な色変換用LUTを選択する。S205では、S204にて選択されたLUTを用いて、色変換部8において、S201にて入力された画像の色変換を行う。S206では、S205にて色変換された画像データを画像出力部9から出力し、画像出力装置10にて印刷する。
<Overall processing>
Here, FIG. 2 is a flowchart of image processing performed in the
<肌色領域算出>
次に図3を用い、ステップS203である肌色領域算出の詳細を説明する。
<Skin color area calculation>
Next, the details of the skin color area calculation, which is step S203, will be described with reference to FIG.
図3は、入力画像に対するRGB色空間内での色分布の一例である。RGB空間内に、図3中の楕円で示されるような肌色領域を設け、上記楕円内に含まれる画素数を算出し、画像の全画素における上記肌色画素の割合が、予め設定した閾値よりも大きければ、肌色領域を保持したLUTを用い、該閾値よりも小さければ、彩度強調したLUTを用いるようにする。 FIG. 3 shows an example of the color distribution in the RGB color space for the input image. A skin color region as shown by an ellipse in FIG. 3 is provided in the RGB space, the number of pixels included in the ellipse is calculated, and the ratio of the skin color pixels in all the pixels of the image is greater than a preset threshold value. If it is larger, the LUT holding the skin color area is used, and if it is smaller than the threshold value, the saturation-enhanced LUT is used.
ただし、ここでは、色分布はRGB色空間内において算出しているが、これに限られるものではなく、入力画像中の肌色画素と、それ以外の画素を分離できるような色空間であればよく、例えば、CIELab空間や、CMYK空間であっても良い。 However, here, the color distribution is calculated in the RGB color space. However, the color distribution is not limited to this, and any color space that can separate the skin color pixels in the input image from the other pixels may be used. For example, a CIELab space or a CMYK space may be used.
以上説明したように上記第一の実施形態によれば、特色インクを用いてオレンジ領域の彩度を強調することが可能なプリンタにおいて、入力画像中の色分布に基づき、肌色領域が存在する画像では、肌色を保持するLUTを用い、上記以外の画像では、オレンジ領域の彩度を強調するLUTを用いることにより、ユーザが画像内容の指定を手動で行うことなく、画像に最適なLUTを用いることができる。 As described above, according to the first embodiment, in the printer capable of enhancing the saturation of the orange area using the special color ink, an image in which the skin color area exists based on the color distribution in the input image. Then, using an LUT that retains skin color, and using an LUT that enhances the saturation of the orange region in images other than those described above, the user can use the LUT that is optimal for the image without manually specifying the image contents. be able to.
(第二の実施形態)
以下、本発明に係る第二の実施形態について、添付の図面を参照して詳細に説明する。
(Second embodiment)
Hereinafter, a second embodiment according to the present invention will be described in detail with reference to the accompanying drawings.
図4は本実施形態である画像処理装置の構成を示したブロック図である。401は本発明の実施形態である画像処理装置。402はハードディスクや、CD−ROM等、出力する画像情報を記憶しておく画像データ記憶部。403は画像データ記憶部402から、画像処理装置401に画像データを読み込むための画像入力部。404は入力画像に付加されているタグ情報を読み取るためのタグ情報読み取り部。405はタグ情報読み取り部404にて読み取ったタグ情報を基に、肌色領域が存在するか否かを判断し、色変換に用いるLUTを選択するためのLUT選択部。406は、色変換に用いるLUTを記憶しておくためのLUT記憶部。407はLUT記憶部406に記憶されているLUTを用いて、画像入力部403にて入力された画像に色変換処理を施す色変換部。408は色変換部407にて変換された画像データを出力するための画像出力部。409は画像出力部408から出力された画像データに基づき、実際に印刷を行うインクジェットプリンタ等の画像出力装置である。
FIG. 4 is a block diagram showing the configuration of the image processing apparatus according to this embodiment.
<全体処理>
ここで図5は、画像処理装置401にて行われる画像処理のフローチャートである。以下、本発明にかかる一実施形態を、図面を用いて詳細に説明する。まず、S501では、画像入力部403にて、画像データ記憶部402から画像処理装置401に画像データを読み込む。次に、S502では、タグ情報読み取り部404において、S501にて読み込んだ入力画像に付加されているタグ情報により、入力画像のシーン判別を行い、入力シーンに肌色領域が存在するかの判断を行う。S503では、LUT選択部405において、S502にて判別されたシーン情報に基づき、LUT記憶部406に記憶されているLUTの中から、彩度強調したLUT、または肌色領域を保持したLUTのどちらか最適な色変換用LUTを選択する。S504では、S503にて選択されたLUTを用いて、色変換部408において、S501にて入力された画像の色変換を行う。S505では、S504にて色変換された画像データを画像出力部408から出力し、画像出力装置409にて印刷する。
<Overall processing>
Here, FIG. 5 is a flowchart of image processing performed in the
<タグ情報>
上記第一の実施例において、ステップS502にてシーン判定を行うタグ情報は、例えば、デジタルカメラの記録方法として標準化されているExif情報の、撮影シーンタイプタグを用いることができる。該タグがポートレート等、人物が写っている可能性が高いシーンであれば、肌色領域を保持したLUTを用い、その他のシーンであれば、彩度強調したLUTを用いるようにすれば良い。
<Tag information>
In the first embodiment, as the tag information for performing scene determination in step S502, for example, a shooting scene type tag of Exif information standardized as a digital camera recording method can be used. If the tag is a scene such as a portrait where there is a high possibility that a person is captured, an LUT that retains a skin color area may be used, and if it is another scene, a saturation-enhanced LUT may be used.
ただし、上記タグ情報は、Exif情報に限られるものではないことは言うまでもなく、入力画像のシーンが判別できる情報であれば良い。 However, it is needless to say that the tag information is not limited to Exif information, and may be information that can identify the scene of the input image.
以上説明したように上記第二の実施形態によれば、特色インクを用いてオレンジ領域の彩度を強調することが可能なプリンタにおいて、入力画像に付加されたシーン情報に基づき、肌色領域が存在するシーンでは、肌色を保持するLUTを用い、上記以外のシーンでは、オレンジ領域の彩度を強調するLUTを用いることにより、ユーザがシーンの指定を手動で行うことなく、画像に最適なLUTを用いることができる。 As described above, according to the second embodiment, in the printer capable of enhancing the saturation of the orange area using the special color ink, the skin color area exists based on the scene information added to the input image. For scenes to be used, an LUT that retains skin color is used, and for scenes other than the above, an LUT that enhances the saturation of the orange area is used, so that the user does not manually specify the scene and the LUT optimal for the image is selected. Can be used.
(他の実施形態)
上記第一の実施形態、および第二の実施形態において、画像出力装置はプリンタであるとしているが、例えば、CRTディスプレイであったり、液晶プロジェクタであったりしても構わない。
(Other embodiments)
In the first embodiment and the second embodiment, the image output device is a printer. However, for example, it may be a CRT display or a liquid crystal projector.
また、上記第一の実施形態、および第二の実施形態において、LUT選択は、肌色を保持するLUTまたは、オレンジ領域の彩度を強調するLUTの二種類の内、いずれかを選択するとしていたが、選択候補のLUTは、上記二種類に限られるものではなく、三種類以上の段階的に変化するLUTの中から最適なものを選ぶようにしても良い。 Further, in the first embodiment and the second embodiment, the LUT selection is to select one of two types of LUT that holds the skin color or LUT that emphasizes the saturation of the orange region. However, the selection candidate LUTs are not limited to the above two types, and an optimal one may be selected from three or more types of LUTs that change in stages.
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェイス機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用しても良い。 Note that the present invention can be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, and a printer), and a device (for example, a copying machine and a facsimile device) including a single device. You may apply to.
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成されることは言うまでもない。 Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることが出来る。 As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. I can do it.
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a part of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。 Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004360838A JP2006173824A (en) | 2004-12-14 | 2004-12-14 | Image processing apparatus and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004360838A JP2006173824A (en) | 2004-12-14 | 2004-12-14 | Image processing apparatus and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006173824A true JP2006173824A (en) | 2006-06-29 |
Family
ID=36674125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004360838A Withdrawn JP2006173824A (en) | 2004-12-14 | 2004-12-14 | Image processing apparatus and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006173824A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101743035B1 (en) | 2010-11-09 | 2017-06-02 | 엘지디스플레이 주식회사 | Method for reproducing a preferred color and display apparatus using the same |
US11785168B2 (en) | 2021-05-20 | 2023-10-10 | Fujifilm Business Innovation Corp. | Information processing apparatus and non-transitory computer readable medium for automatic retouching by replacing magenta with pink after CMYK conversion |
CN111127476B (en) * | 2019-12-06 | 2024-01-26 | Oppo广东移动通信有限公司 | Image processing method, device, equipment and storage medium |
-
2004
- 2004-12-14 JP JP2004360838A patent/JP2006173824A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101743035B1 (en) | 2010-11-09 | 2017-06-02 | 엘지디스플레이 주식회사 | Method for reproducing a preferred color and display apparatus using the same |
CN111127476B (en) * | 2019-12-06 | 2024-01-26 | Oppo广东移动通信有限公司 | Image processing method, device, equipment and storage medium |
US11785168B2 (en) | 2021-05-20 | 2023-10-10 | Fujifilm Business Innovation Corp. | Information processing apparatus and non-transitory computer readable medium for automatic retouching by replacing magenta with pink after CMYK conversion |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6814420B2 (en) | Image processing method and apparatus, storage medium and program | |
JP4090175B2 (en) | Image signal processing method, image signal processing apparatus, and medium on which image signal processing program is recorded | |
US8218206B2 (en) | Color conversion using transformed gamuts | |
US20070030499A1 (en) | Color processing method and apparatus | |
JP2008252699A (en) | Image processor and image processing method | |
JP2008017365A (en) | Apparatus and method for processing picture, and program | |
JP2005253072A (en) | System and method for gamut mapping control | |
JP2004228811A (en) | Image processor, image processing method and program for computer to perform execution | |
JP2009154365A (en) | Image processing apparatus, image processing method, image processing program and recording medium | |
JP4974853B2 (en) | Image processing apparatus, image processing method, and program | |
JP3596677B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
US20070046960A1 (en) | Color processing method and apparatus | |
JP2006173824A (en) | Image processing apparatus and method | |
JP4814162B2 (en) | Image processing apparatus and image processing method | |
JP2007060558A (en) | Color processing method and apparatus therefor, and image processing method | |
JP4524578B2 (en) | Image processing apparatus, image processing method, program, and recording medium | |
JP2001352456A (en) | Image-processing method and image-processing unit, and image-forming device provided with them | |
JP2006108806A (en) | Color conversion method, color conversion apparatus, color conversion program, print control method, print control apparatus, print control program, and color conversion table | |
JP2005094565A (en) | Image processor and image forming apparatus | |
JP2009004917A (en) | Color processing device and its method | |
JP2008172789A (en) | Image forming apparatus and image forming method | |
JP2004072272A (en) | Image processing apparatus and method thereof | |
JP2009038591A (en) | Color processor, and method thereof | |
JP2005153281A (en) | Image processing device and method, storage medium and program | |
JP2007274205A (en) | Image forming apparatus, and image quality adjusting method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080304 |