JP2007215216A - Monotonization processing of color image - Google Patents

Monotonization processing of color image Download PDF

Info

Publication number
JP2007215216A
JP2007215216A JP2007070938A JP2007070938A JP2007215216A JP 2007215216 A JP2007215216 A JP 2007215216A JP 2007070938 A JP2007070938 A JP 2007070938A JP 2007070938 A JP2007070938 A JP 2007070938A JP 2007215216 A JP2007215216 A JP 2007215216A
Authority
JP
Japan
Prior art keywords
color
image data
operation mode
brightness
conversion
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.)
Granted
Application number
JP2007070938A
Other languages
Japanese (ja)
Other versions
JP4687673B2 (en
Inventor
Yasuhisa Hayaishi
育央 早石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007070938A priority Critical patent/JP4687673B2/en
Publication of JP2007215216A publication Critical patent/JP2007215216A/en
Application granted granted Critical
Publication of JP4687673B2 publication Critical patent/JP4687673B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Color, Gradation (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a technology for executing a monotonizing process adaptive to color image data. <P>SOLUTION: An image processing apparatus adjusts a lightness conversion formula on the basis of at least either of color distribution information related to color deviation obtained by analyzing the color image data and color distribution information related to the color image data and uses the adjusted lightness conversion formula to convert pixel values of colors of pixels of the color image data into pixel values denoting the lightness of the pixels of monotone image data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、カラー画像データのモノトーン化を行う技術に関する。   The present invention relates to a technique for performing monotone conversion of color image data.

デジタルスチルカメラやデジタルビデオカメラ、スキャナなどの画像生成装置で撮影した画像は、モニタやプリンタなどの種々の画像出力装置で出力(表示や印刷)される。画像出力装置としては、カラー画像を出力可能なLCDディスプレイやカラーインクジェットプリンタ等が広く普及しており、ユーザは、手軽にカラー画像を利用することができる。   An image taken by an image generation device such as a digital still camera, a digital video camera, or a scanner is output (displayed or printed) by various image output devices such as a monitor or a printer. As an image output device, an LCD display, a color inkjet printer, or the like that can output a color image is widely used, and the user can easily use the color image.

カラー画像が広く用いられる一方、モノトーン画像も広く好まれている。モノトーン画像は、古い写真を連想させるなどして、独特の雰囲気を表現することが可能である。そこで、カラー画像データをモノトーン画像データに変換して利用する方法が用いられている(例えば、特許文献1参照)。   While color images are widely used, monotone images are also widely preferred. A monotone image can express a unique atmosphere by reminiscent of an old photograph. Therefore, a method of converting color image data into monotone image data and using it is used (for example, see Patent Document 1).

特開2002−337323号公報JP 2002-337323 A

画像の画質を決める重要な要素の1つに、被写体の見えがある。被写体が引き立って見えれば、ユーザは、その画像を高画質な画像として認識することができる。カラー画像では、被写体の色相がその周囲の色相と異なれば、被写体が引き立って見える。ところが、モノトーン画像においては、色相が異なっていても、明るさが近い領域は近い階調で表現される。その結果、一律にカラー画像データのモノトーン化処理を行っても、被写体とその周囲とのコントラストが弱くなり、高画質なモノトーン画像が得られない可能性があった。   One important factor that determines the image quality is the appearance of the subject. If the subject appears to stand out, the user can recognize the image as a high-quality image. In a color image, if the subject's hue is different from the surrounding hue, the subject appears to stand out. However, in a monotone image, even if the hue is different, a region with close brightness is expressed with close gradation. As a result, even when the monotone processing of the color image data is uniformly performed, the contrast between the subject and the surrounding area becomes weak, and there is a possibility that a high-quality monotone image cannot be obtained.

本発明は、上述した従来の課題を解決するためになされたものであり、カラー画像データに適したモノトーン化処理を実行する技術を提供することを目的とする。   The present invention has been made to solve the above-described conventional problems, and an object of the present invention is to provide a technique for executing a monotone process suitable for color image data.

上記目的の少なくとも一部を達成するために、本発明の第1の画像処理装置は、カラー画像データのモノトーン化を行う画像処理装置であって、前記カラー画像データに基づいてモノトーン画像データを生成するデータ処理部を備え、前記データ処理部は、前記カラー画像データの各画素の色を表す画素値を、明度変換式に従って、前記モノトーン画像データの各画素の明るさを表す画素値に変換する変換部と、前記カラー画像データを解析することによって、前記カラー画像データにおける色の偏りに関連のある色分布情報を生成する画像データ解析部と、前記色分布情報に基づいて前記明度変換式を調整する明度変換式調整部と、を備える。   To achieve at least a part of the above object, a first image processing apparatus of the present invention is an image processing apparatus that performs monotone conversion of color image data, and generates monotone image data based on the color image data. A data processing unit that converts a pixel value representing a color of each pixel of the color image data into a pixel value representing a brightness of each pixel of the monotone image data according to a brightness conversion equation. A conversion unit; an image data analysis unit that generates color distribution information related to color bias in the color image data by analyzing the color image data; and the brightness conversion formula based on the color distribution information. A brightness conversion type adjusting unit to be adjusted.

この第1の画像処理装置は、カラー画像データの色の偏りに関連のある色分布情報に基づいてモノトーン化処理を行うので、カラー画像データに適したモノトーン化処理を実行することができる。   Since the first image processing apparatus performs the monotone processing based on the color distribution information related to the color deviation of the color image data, it can execute the monotone processing suitable for the color image data.

上記画像処理装置において、前記画像データ解析部は、前記カラー画像データにおける特定の色相を有する画素の頻度を表す特徴色情報を決定し、前記明度変換式調整部は、前記特徴色情報に応じて前記明度変換式を調整することが好ましい。   In the image processing apparatus, the image data analysis unit determines characteristic color information representing a frequency of pixels having a specific hue in the color image data, and the lightness conversion equation adjusting unit is configured to respond to the characteristic color information. It is preferable to adjust the brightness conversion formula.

この構成によれば、少なくとも特定の色相を有する画素の頻度を表す特徴色情報に応じてモノトーン化処理を行うことができるので、カラー画像データの特定の色相に関する特徴に応じた適切なモノトーン化処理を行うことができる。   According to this configuration, since it is possible to perform monotone processing according to characteristic color information that represents at least the frequency of pixels having a specific hue, it is possible to perform appropriate monotone processing according to characteristics related to a specific hue of color image data. It can be performed.

上記各画像処理装置において、前記画像データ解析部は、互いに異なる色相に関する複数の前記特徴色情報を決定し、前記明度変換式調整部は、互いに異なる複数の明度変換式を予め有しており、さらに、前記変換部が利用する前記明度変換式を、前記複数の明度変換式の中から、前記複数の特徴色情報に応じて選択することが好ましい。   In each of the image processing devices, the image data analysis unit determines a plurality of characteristic color information relating to mutually different hues, and the lightness conversion equation adjusting unit has a plurality of different lightness conversion equations in advance, Furthermore, it is preferable that the brightness conversion formula used by the conversion unit is selected from the plurality of brightness conversion formulas according to the plurality of characteristic color information.

この構成によれば、変換部が利用する明度変換式を、互いに異なる複数の明度変換式の中から複数の特徴色情報に応じて選択するので、複数の特徴色情報に応じた適切なモノトーン化処理を行うことができる。   According to this configuration, since the brightness conversion formula used by the conversion unit is selected from a plurality of different brightness conversion formulas according to the plurality of feature color information, appropriate monotone conversion according to the plurality of feature color information is performed. Processing can be performed.

上記各画像処理装置において、前記画像データ解析部は、互いに異なる色相に関する複数の前記特徴色情報を決定し、前記明度変換式は、前記カラー画像データの各画素の色を表す複数成分の画素値のそれぞれに係数を乗じて加算して、前記モノトーン画像データの各画素の明るさを表す画素値を求める変換式であり、前記明度変換式調整部は、前記明度変換式の各成分の係数のそれぞれを、前記複数の特徴色情報に基づいて決定することが好ましい。   In each of the above image processing devices, the image data analysis unit determines a plurality of the characteristic color information relating to mutually different hues, and the brightness conversion formula is a pixel value of a plurality of components representing the color of each pixel of the color image data. Is multiplied by a coefficient and added to obtain a pixel value representing the brightness of each pixel of the monotone image data, and the lightness conversion equation adjustment unit is configured to calculate the coefficient of each component of the lightness conversion equation. Each is preferably determined based on the plurality of characteristic color information.

この構成によれば、明度変換式の各成分の係数のそれぞれを、互いに異なる色相に関する複数の特徴色情報に基づいて決定するので、複数の特徴色情報に応じた適切なモノトーン化処理を行うことができる。   According to this configuration, since each coefficient of each component of the brightness conversion equation is determined based on a plurality of feature color information relating to mutually different hues, an appropriate monotone process corresponding to the plurality of feature color information is performed. Can do.

上記各画像処理装置において、前記変換部は、調整後の前記明度変換式を前記カラー画像データの全画素に適用することが好ましい。   In each of the image processing apparatuses, it is preferable that the conversion unit applies the adjusted brightness conversion formula to all pixels of the color image data.

この構成によれば、調整後の明度変換式を全ての画素に適用するので、画素に応じて明度変換式を切り替えることなく、簡単な構成でモノトーン化処理を行うことができる。   According to this configuration, since the adjusted brightness conversion formula is applied to all the pixels, the monotone processing can be performed with a simple configuration without switching the brightness conversion formula according to the pixels.

上記各画像処理装置において、前記明度変換式調整部は、前記色分布情報に基づいて複数の前記明度変換式を準備し、前記変換部は、前記カラー画像データの画素の色に応じて異なる前記明度変換式を適用することが好ましい。   In each of the image processing devices, the lightness conversion equation adjusting unit prepares a plurality of lightness conversion equations based on the color distribution information, and the conversion unit is different depending on the color of the pixel of the color image data. It is preferable to apply a brightness conversion formula.

この構成によれば、画素の色に応じた明度変換式を適用するので、カラー画像データのそれぞれの画素の色に適したモノトーン化処理を行うことができる。   According to this configuration, since the brightness conversion formula corresponding to the color of the pixel is applied, it is possible to perform monotone processing suitable for the color of each pixel of the color image data.

本発明の第2の画像処理装置は、画像生成装置で生成されたカラー画像データと、前記カラー画像データ生成時における前記画像生成装置の動作モードに関する動作モード情報を少なくとも含むとともに前記カラー画像データに関連付けられた画像データ関連情報とを用いて、前記カラー画像データのモノトーン化を行う画像処理装置であって、前記カラー画像データと前記動作モード情報とに基づいてモノトーン画像データを生成するデータ処理部を備え、前記データ処理部は、前記カラー画像データの各画素の色を表す画素値を、明度変換式に従って、前記モノトーン画像データの各画素の明るさを表す画素値に変換する変換部と、前記動作モード情報を解析することによって、前記動作モード情報で設定された動作モードを判別する動作モード判別部と、前記動作モード判別部が判別した動作モードに基づいて前記明度変換式を調整する明度変換式調整部と、を備える。   The second image processing apparatus of the present invention includes at least color image data generated by the image generation apparatus and operation mode information regarding an operation mode of the image generation apparatus at the time of generating the color image data, and the color image data An image processing apparatus that performs monotone conversion of the color image data using associated image data related information, and a data processing unit that generates monotone image data based on the color image data and the operation mode information And the data processing unit converts a pixel value representing the color of each pixel of the color image data into a pixel value representing the brightness of each pixel of the monotone image data according to a brightness conversion equation; By analyzing the operation mode information, an operation for determining the operation mode set by the operation mode information is performed. Comprising a mode determination unit, and a brightness conversion equation adjusting unit that adjusts the brightness conversion equation based on the operating mode in which the operation mode determination unit has determined.

この第2の画像処理装置は、動作モードに基づいてモノトーン化処理を行うので、カラー画像データに適したモノトーン化処理を実行することができる。   Since the second image processing apparatus performs monotone processing based on the operation mode, it can execute monotone processing suitable for color image data.

上記画像処理装置において、前記明度変換式調整部は、前記動作モード判別部が判別した動作モードが人物画像に適した動作モードである場合に、前記画像生成装置の標準撮影条件での動作モードである場合と比べて、前記カラー画像データの肌色を有する画素に対する前記モノトーン画像データの画素の明るさが明るくなるように、前記明度変換式を調整することが好ましい。   In the image processing device, the brightness conversion type adjustment unit is an operation mode under the standard shooting conditions of the image generation device when the operation mode determined by the operation mode determination unit is an operation mode suitable for a human image. It is preferable to adjust the lightness conversion formula so that the brightness of the pixels of the monotone image data with respect to the pixels having the skin color of the color image data becomes brighter than in some cases.

この構成によれば、人物画像に適した動作モードである場合には、肌色を有する画素の明るさが明るくなるようにモノトーン化処理が行われるので、人物が引き立つ高画質なモノトーン画像データを生成することができる。   According to this configuration, when the operation mode is suitable for a human image, the monotone processing is performed so that the brightness of the pixels having the flesh color becomes brighter, so that high-quality monotone image data that makes the person stand out is generated. can do.

上記各画像処理装置において、前記明度変換式調整部は、前記動作モード判別部が判別した動作モードが風景画像に適した動作モードである場合に、前記画像生成装置の標準撮影条件での動作モードである場合と比べて、前記カラー画像データの空色を有する画素に対する前記モノトーン画像データの画素の明るさが暗くなるように、前記明度変換式を調整することが好ましい。   In each of the image processing devices, the brightness conversion type adjustment unit is configured to operate the image generation device in a standard shooting condition when the operation mode determined by the operation mode determination unit is an operation mode suitable for a landscape image. It is preferable to adjust the brightness conversion formula so that the brightness of the pixel of the monotone image data with respect to the pixel having the sky color of the color image data is darker than that of the case of the above.

この構成によれば、風景画像に適した動作モードである場合には、緑色を有する画素の明るさが暗くなるようにモノトーン化処理が行われるので、植物等の被写体が引き立つ高画質なモノトーン画像データを生成することができる。   According to this configuration, when the operation mode is suitable for a landscape image, the monotoning process is performed so that the brightness of the green pixel is darkened. Data can be generated.

なお、本発明は、種々の形態で実現することが可能であり、例えば、画像処理方法および画像処理装置、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体等の形態で実現することができる。   The present invention can be realized in various forms, for example, an image processing method and an image processing apparatus, a computer program for realizing the function of the method or apparatus, and a recording in which the computer program is recorded. It can be realized in the form of a medium or the like.

次に、本発明の実施の形態を実施例に基づいて以下の順序で説明する。
A.装置の構成:
B.第1実施例:
C.第2実施例:
D.第3実施例:
E.第4実施例:
F.第5実施例:
G.変形例:
Next, embodiments of the present invention will be described in the following order based on examples.
A. Device configuration:
B. First embodiment:
C. Second embodiment:
D. Third embodiment:
E. Fourth embodiment:
F. Fifth embodiment:
G. Variations:

A.装置の構成:
図1は、本発明の一実施例としての画像出力システムの構成を示す説明図である。このシステムは、デジタルカメラ100と、コンピュータ200と、プリンタ300とを含んでいる。デジタルカメラ100は画像生成装置として機能し、コンピュータ200は画像処理装置として機能し、プリンタ300は画像出力部として機能する。デジタルカメラ100で生成されたカラー画像データはコンピュータ200に転送される。コンピュータ200は、受け取ったカラー画像データに適したモノトーン化処理を実行してモノトーン画像データを生成する。コンピュータ200は、さらに、モノトーン画像データに応じて印刷データを生成し、プリンタ300に送出する。プリンタ300は、受け取った印刷データに応じて印刷を実行する。
A. Device configuration:
FIG. 1 is an explanatory diagram showing the configuration of an image output system as an embodiment of the present invention. This system includes a digital camera 100, a computer 200, and a printer 300. The digital camera 100 functions as an image generation device, the computer 200 functions as an image processing device, and the printer 300 functions as an image output unit. Color image data generated by the digital camera 100 is transferred to the computer 200. The computer 200 executes monotone processing suitable for the received color image data to generate monotone image data. The computer 200 further generates print data according to the monotone image data and sends it to the printer 300. The printer 300 performs printing according to the received print data.

B.第1実施例:
B1.画像処理装置の構成:
図2は、コンピュータ200の構成を示すブロック図である。このコンピュータ200は、データ処理部220と、印刷データ生成部240とを備えている。データ処理部は、明度変換部222と、明度変換式調整部224と、画像データ解析部226とを備えている。
B. First embodiment:
B1. Configuration of image processing device:
FIG. 2 is a block diagram illustrating a configuration of the computer 200. The computer 200 includes a data processing unit 220 and a print data generation unit 240. The data processing unit includes a lightness conversion unit 222, a lightness conversion expression adjustment unit 224, and an image data analysis unit 226.

画像データ解析部226は、処理対象のカラー画像データを解析し、色の偏りに関連のある色分布情報を生成する。明度変換式調整部224は、色分布情報に基づいて明度変換式を調整する。明度変換部222は、明度変換式に従って、処理対象のカラー画像データに対する明度変換処理を実行し、モノトーン画像データを生成する。これらの機能部の処理の詳細については、後述する。   The image data analysis unit 226 analyzes the color image data to be processed and generates color distribution information related to the color deviation. The lightness conversion formula adjustment unit 224 adjusts the lightness conversion formula based on the color distribution information. The lightness conversion unit 222 executes lightness conversion processing on the color image data to be processed according to the lightness conversion formula, and generates monotone image data. Details of the processing of these functional units will be described later.

印刷データ生成部240は、データ処理部220によって生成されたモノトーン画像データに応じて印刷データを生成する。本実施例では、印刷データ生成部240は、モノトーン画像データの各画素の画素値からプリンタ300が利用可能な複数のインクの量に相当する多階調データへの変換処理を実行し、得られた多階調データに対してハーフトーン処理を行うことによって、印刷データを生成する。インクの量に相当する多階調データへの変換処理は一種の色空間変換処理であり、通常は、入力値と出力値との対応関係を表すルックアップテーブルに基づいて実行される。   The print data generation unit 240 generates print data according to the monotone image data generated by the data processing unit 220. In this embodiment, the print data generation unit 240 executes conversion processing from pixel values of each pixel of the monotone image data to multi-gradation data corresponding to a plurality of ink amounts that can be used by the printer 300. Print data is generated by performing halftone processing on the multi-tone data. The conversion process into multi-gradation data corresponding to the amount of ink is a kind of color space conversion process, and is usually executed based on a lookup table that represents the correspondence between input values and output values.

印刷データ生成部240によって生成された印刷データは、プリンタ300に送出され印刷される。プリンタ300は、主走査駆動機構や、副走査駆動機構、印刷ヘッド、印刷ヘッド駆動回路、制御回路などの種々の構成要素を有しているが、ここではその説明を省略する。   The print data generated by the print data generation unit 240 is sent to the printer 300 and printed. The printer 300 includes various components such as a main scanning drive mechanism, a sub-scanning drive mechanism, a print head, a print head drive circuit, and a control circuit, but the description thereof is omitted here.

なお、モノトーン表現には、純粋な無彩色を用いて階調を再現する表現(いわゆるニュートラル表現)に限らず、様々な色を帯びた表現がある。例えば、黄色がかったグレーを用いて階調を表現するウォーム表現や、青色がかったグレーを用いて階調を表現するクール表現など、色相が黄や青といった様々な色感を与える表現がある。   Note that the monotone expression is not limited to an expression that reproduces gradation using a pure achromatic color (so-called neutral expression), and there are expressions with various colors. For example, there are expressions that give various color feelings such as yellow and blue, such as a warm expression that expresses a gradation using yellowish gray and a cool expression that expresses a gradation using blueish gray.

このような色感は、印刷データ生成部240が、種々のモノトーン表現に対応して準備されたルックアップテーブルを利用することによって、表現することができる。例えば、ウォーム表現用のルックアップテーブルは、モノトーン画像データの各画素の明るさを表す画素値から、黄色がかったグレーを用いて階調を表現する多階調データへの変換を行うように設定される。なお、このように色を帯びた階調を表現する多階調データも、モノトーン画像データと呼ぶことができる。   Such a color sensation can be expressed by using the look-up table prepared by the print data generation unit 240 corresponding to various monotone expressions. For example, the look-up table for warm expression is set to perform conversion from pixel values representing the brightness of each pixel of monotone image data to multi-gradation data that expresses gradation using yellowish gray. Is done. It should be noted that multi-tone data representing such colored gradation can also be referred to as monotone image data.

また、データ処理部220が、種々の色感を表現するモノトーン画像データを生成してもよい。このようなモノトーン画像データは、明度変換部222が生成した明るさを表す画素値に基づいて特定の色を帯びた階調を表現する画素値を算出することによって生成することができる。データ処理部220は、このような色感調整処理を行う色感調整部(図示せず)を備えることによって、種々の色感を表現するモノトーン画像データを生成することができる。なお、以下の説明では、データ処理部220が明度変換処理を実行して作成した明度のみの多階調データをモノトーン画像データと呼ぶ。   Further, the data processing unit 220 may generate monotone image data expressing various color sensations. Such monotone image data can be generated by calculating a pixel value representing a gradation having a specific color based on the pixel value representing the brightness generated by the lightness conversion unit 222. The data processing unit 220 can generate monotone image data expressing various color sensations by including a color sensation adjusting unit (not shown) that performs such color sensation adjustment processing. In the following description, multi-tone data with only lightness created by the data processing unit 220 executing lightness conversion processing is referred to as monotone image data.

なお、上述のようなコンピュータ200内の各構成要素の一部または全部の機能は、例えばコンピュータプログラムによって実現される。これらコンピュータプログラムは、フレキシブルディスクやCD−ROM等の、コンピュータ読み取り可能な記録媒体に記録された形態で提供することが可能である。   Note that the functions of some or all of the components in the computer 200 as described above are realized by a computer program, for example. These computer programs can be provided in a form recorded on a computer-readable recording medium such as a flexible disk or a CD-ROM.

B2.モノトーン化処理:
図3(a)(b)は、第1実施例において、画像データ解析部226(図2)が、カラー画像データを解析して生成する特徴色情報を説明する説明図である。本実施例では、画像データ解析部226は、空色の画素の割合を、特徴色情報として算出する。図3(a)には、画像の一例として、街の上に広がる空を被写体とする画像が示され、図3(b)には、空を被写体とする画像の色相のヒストグラムの一例が示されている。
B2. Monotone processing:
FIGS. 3A and 3B are explanatory diagrams for explaining characteristic color information generated by the image data analysis unit 226 (FIG. 2) analyzing color image data in the first embodiment. In the present embodiment, the image data analysis unit 226 calculates the ratio of sky blue pixels as characteristic color information. FIG. 3A shows an example of an image showing an image of the sky over the city as an object, and FIG. 3B shows an example of a hue histogram of an image of the sky as an object. Has been.

各画素の色相Hは、各画素の画素値に基づいて算出することができる。本実施例では、色相Hを算出するために、RGB色空間からHSI色空間への変換式を用いる。HSI色空間は、色相Hと、彩度Sと、明度Iをパラメータとする色空間である。また、HSV色空間やHSL色空間など、その他の適切な色空間を利用して、色相Hを算出することも可能である。   The hue H of each pixel can be calculated based on the pixel value of each pixel. In this embodiment, in order to calculate the hue H, a conversion formula from the RGB color space to the HSI color space is used. The HSI color space is a color space having hue H, saturation S, and lightness I as parameters. Also, the hue H can be calculated using other appropriate color spaces such as the HSV color space and the HSL color space.

RGB色空間で表された画素値R、G、Bと、HSI色空間で表現された色相Hとの関係は、以下の数式で表される。   The relationship between the pixel values R, G, and B expressed in the RGB color space and the hue H expressed in the HSI color space is expressed by the following equation.

Figure 2007215216
Figure 2007215216

ここで、Imax=max{R,G,B}であり、Imin=min{R,G,B}である。Imax=Iminの場合は、色相Hは不定(無彩色)となる。なお、色相H<0の場合は、算出された色相Hの値に2πを加える。その結果、色相Hの値域は0〜2πとなるが、この実施例では、値域を0度〜360度として色相Hを表すこととする。   Here, Imax = max {R, G, B} and Imin = min {R, G, B}. When Imax = Imin, the hue H is indefinite (achromatic). When hue H <0, 2π is added to the calculated hue H value. As a result, the value range of the hue H is 0 to 2π, but in this embodiment, the hue H is expressed by setting the value range to 0 degree to 360 degrees.

この実施例では、肌色、緑色、空色の3つの特徴色に関して色相範囲が設定されている。具体的には、色相Hが0度〜30度の範囲を肌色範囲SRとし、色相が100度〜130度の範囲を緑色範囲GRとし、色相が230度〜260度の範囲を空色範囲BRとする(図3(b))。また、画像データ解析部226は、空色の画素、すなわち、空色範囲BRの色相を有する画素の割合sky_rateを算出する。なお、色相の範囲は、必ずしも上述の範囲である必要はなく、異なる範囲を設定してもよい。   In this embodiment, a hue range is set for three characteristic colors of skin color, green color, and sky blue color. Specifically, the range where the hue H is 0 degree to 30 degrees is the skin color range SR, the range where the hue is 100 degrees to 130 degrees is the green range GR, and the range where the hue is 230 degrees to 260 degrees is the sky blue range BR. (FIG. 3B). Further, the image data analysis unit 226 calculates a sky_rate ratio of sky blue pixels, that is, pixels having a hue in the sky blue range BR. Note that the hue range is not necessarily the above-described range, and a different range may be set.

図4(a)(b)は、第1実施例における明度変換式の調整を説明する説明図である。図4(a)は、明度変換式調整部224(図2)による着目色の判定条件を示す説明図である。ここで、着目色とは、被写体の特徴を表す色であり、画像の観察者が着目し易い色を意味する。本実施例では、明度変換式調整部224は、空色割合sky_rateに基づいて着目色を判定する。空色割合sky_rateが空色しきい値sky_thよりも大きい場合には、空を被写体とする風景画像である、すなわち、着目色が空色であると判定する。空色割合sky_rateが空色しきい値sky_th以下である場合には、画像が特定の着目色を判定できない標準的な画像である、すなわち、着目色が標準であると判定する。   FIGS. 4A and 4B are explanatory diagrams for explaining adjustment of the brightness conversion formula in the first embodiment. FIG. 4A is an explanatory diagram illustrating the determination condition of the target color by the lightness conversion equation adjusting unit 224 (FIG. 2). Here, the target color is a color representing the characteristics of the subject, and means a color that is easy for the observer of the image to focus on. In the present embodiment, the lightness conversion formula adjusting unit 224 determines the target color based on the sky blue rate sky_rate. When the sky blue rate sky_rate is larger than the sky blue threshold sky_th, it is determined that the sky is a landscape image with the sky as a subject, that is, the target color is sky blue. When the sky blue rate sky_rate is equal to or less than the sky blue threshold sky_th, it is determined that the image is a standard image in which a specific target color cannot be determined, that is, the target color is a standard.

上述の空色しきい値sky_thは、判定の精度が高くなるように設定することが好ましい。また、特定の値を初期値として設定し、ユーザがその値を変更できるようにしてもよい。   The sky blue threshold sky_th described above is preferably set so as to increase the accuracy of the determination. Further, a specific value may be set as an initial value so that the user can change the value.

図4(b)は、明度変換式調整部224によって調整される明度変換式を示す説明図である。図4(b)の上部には、カラー画像データの各画素の色を表す画素値R,G,Bと、モノトーン画像データの各画素の明るさを表す画素値Y(輝度値とも呼ぶ)との関係を示す明度変換式の一例が示されている。   FIG. 4B is an explanatory diagram illustrating the brightness conversion formula adjusted by the brightness conversion formula adjustment unit 224. In the upper part of FIG. 4B, pixel values R, G, and B representing the color of each pixel of the color image data, and a pixel value Y (also referred to as a luminance value) representing the brightness of each pixel of the monotone image data. An example of a lightness conversion equation showing the relationship is shown.

本実施例の明度変換式では、輝度値Yは、3つの画素値R,G,Bの線形結合で表されている。各画素値R,G,Bの係数は、標準値kr_std、kg_std、kb_stdと調整値Δkr、Δkg、Δkbとの和で、それぞれ表されている。   In the brightness conversion formula of this embodiment, the luminance value Y is represented by a linear combination of three pixel values R, G, and B. The coefficient of each pixel value R, G, B is represented by the sum of standard values kr_std, kg_std, kb_std and adjustment values Δkr, Δkg, Δkb, respectively.

図4(b)の下部には、調整値Δkr、Δkg、Δkbと、着目色との関係が示されている。着目色が標準である場合には、いずれの調整値Δkr、Δkg、Δkbもゼロに設定される。その結果、輝度値Yと画素値R,G,Bとは、標準値kr_std、kg_std、kb_stdに基づく標準的な関係式で対応付けられる。   In the lower part of FIG. 4B, the relationship between the adjustment values Δkr, Δkg, Δkb and the target color is shown. If the target color is a standard color, any adjustment values Δkr, Δkg, Δkb are set to zero. As a result, the luminance value Y and the pixel values R, G, and B are associated with each other by a standard relational expression based on the standard values kr_std, kg_std, and kb_std.

着目色が空色である場合には、赤成分Rの調整値Δkrがプラスの値に設定され、緑成分G、青成分Bの調整値Δkg,Δkbがマイナスの値に設定される。その結果、緑または青に近い色相を有する画素の輝度値Yは、着目色が標準である場合と比べて、小さな値に設定される。一方、赤に近い色相を有する画素の輝度値Yは、着目色が標準である場合と比べて、大きな値に設定される。   When the target color is sky blue, the adjustment value Δkr of the red component R is set to a positive value, and the adjustment values Δkg and Δkb of the green component G and the blue component B are set to negative values. As a result, the luminance value Y of a pixel having a hue close to green or blue is set to a smaller value than when the target color is standard. On the other hand, the luminance value Y of a pixel having a hue close to red is set to a larger value than when the target color is standard.

なお、標準値kr_std、kg_std、kb_stdとしては、標準的な値、例えば、RGB色空間の各パラメータ値R,G,Bから、YCbCr色空間の輝度値Yへの変換式に基づく値を用いることができる。また、調整値Δkr、Δkg、Δkbの大きさは、得られるモノトーン画像が不自然なものとならないように設定することが好ましく、画質の調整結果の感応評価に基づいて決めることができる。   As the standard values kr_std, kg_std, and kb_std, standard values, for example, values based on conversion formulas from the parameter values R, G, and B in the RGB color space to the luminance value Y in the YCbCr color space are used. Can do. The magnitudes of the adjustment values Δkr, Δkg, and Δkb are preferably set so that the obtained monotone image does not become unnatural, and can be determined based on the sensitivity evaluation of the image quality adjustment result.

以下、このような着目色に応じて設定される明度変換式を、その色に対応する明度変換式と呼ぶ。   Hereinafter, such a brightness conversion formula set according to the target color is referred to as a brightness conversion formula corresponding to the color.

図5は、図3(a)に示す画像に対するモノトーン画像の例を示す説明図である。図3(a)に示す画像は、空色の画素の割合sky_rateが空色しきい値sky_thと比べて大きく、着目色が空色であるものとする。従って、明度変換部222(図2)は、空色に対応する明度変換式を用いて明度変換処理を行う。また、本実施例では、明度変換部222は、図4(b)に示すように設定された明度変換式を、処理対象のカラー画像データの全画素に適用する。その結果、図5に示すモノトーン画像では、空の明るさが低く抑えられ、周りの背景(この例では街)とのコントラストが強くなる。このように、空色に対応する明度変換式を用いて明度変換処理を行うことによって、空が引き立つ高画質なモノトーン画像データを得ることができる。   FIG. 5 is an explanatory diagram illustrating an example of a monotone image with respect to the image illustrated in FIG. In the image shown in FIG. 3A, it is assumed that the ratio sky_rate of sky blue pixels is larger than the sky blue threshold sky_th, and the target color is sky blue. Accordingly, the lightness conversion unit 222 (FIG. 2) performs lightness conversion processing using the lightness conversion formula corresponding to the sky blue. In this embodiment, the lightness conversion unit 222 applies the lightness conversion formula set as shown in FIG. 4B to all the pixels of the color image data to be processed. As a result, in the monotone image shown in FIG. 5, the brightness of the sky is kept low, and the contrast with the surrounding background (town in this example) becomes strong. In this way, by performing the lightness conversion process using the lightness conversion formula corresponding to the sky blue, it is possible to obtain high-quality monotone image data in which the sky is attractive.

以上、本実施例では、空色割合sky_rateに応じて、明度変換式を自動的に調整することができる。その結果、カラー画像データに応じて適切なモノトーン化処理を行うことができる。   As described above, in this embodiment, the brightness conversion formula can be automatically adjusted according to the sky blue rate sky_rate. As a result, an appropriate monotone process can be performed according to the color image data.

なお、本実施例における空色割合sky_rateは、本発明における特徴色情報に相当する。   Note that the sky color ratio sky_rate in the present embodiment corresponds to the characteristic color information in the present invention.

C.第2実施例:
第1実施例との差異は、3つの特徴色(肌色、緑色、空色)のそれぞれの画素割合に基づいて、明度変換式が調整される点である。画像処理装置の構成は、図2と同じである。
C. Second embodiment:
The difference from the first embodiment is that the brightness conversion formula is adjusted based on the pixel ratio of each of the three characteristic colors (skin color, green color, sky blue). The configuration of the image processing apparatus is the same as in FIG.

図6(a)(b)は、第2実施例における明度変換式の調整を説明する説明図である。図6(a)は、明度変換式調整部224(図2)による着目色の判定条件を示す説明図である。図4(a)に示す例との差異は、3つの特徴色(肌色、緑色、空色)のそれぞれの画素の割合skin_rate、green_rate、sky_rate(図3(b))に基づいて着目色が判定される点である。これらの画素の割合は、画像データ解析部226によって算出される。   FIGS. 6A and 6B are explanatory diagrams for explaining adjustment of the lightness conversion formula in the second embodiment. FIG. 6A is an explanatory diagram illustrating determination conditions for a target color by the lightness conversion formula adjustment unit 224 (FIG. 2). The difference from the example shown in FIG. 4A is that the target color is determined based on the ratios skin_rate, green_rate, and sky_rate (FIG. 3B) of each of the three characteristic colors (skin color, green color, sky blue). It is a point. The ratio of these pixels is calculated by the image data analysis unit 226.

本実施例では、各特徴色のうち、画素の割合の最も大きいものが着目色候補として採用される。さらに、画素の割合が、それぞれの特徴色に対応するしきい値よりも大きい場合に、着目色として採用される。例えば、3つの割合skin_rate、green_rate、sky_rateのうち、肌色割合skin_rateが最も大きい場合には、肌色が着目色候補として採用される。さらに、肌色割合skin_rateが肌色しきい値skin_thよりも大きい場合には、人物を被写体とする人物画像である、すなわち、着目色が肌色であると判定される。一方、肌色割合skin_rateが肌色しきい値skin_th以下である場合には、着目色が標準であると判定される。   In the present embodiment, among the characteristic colors, the one with the largest pixel ratio is adopted as the target color candidate. Furthermore, when the ratio of pixels is larger than the threshold value corresponding to each characteristic color, it is adopted as the target color. For example, when the skin color ratio skin_rate is the largest of the three ratios skin_rate, green_rate, and sky_rate, the skin color is adopted as the target color candidate. Further, when the skin color ratio skin_rate is larger than the skin color threshold skin_th, it is determined that the image is a person image having a person as a subject, that is, the target color is a skin color. On the other hand, when the skin color ratio skin_rate is equal to or less than the skin color threshold skin_th, it is determined that the target color is the standard.

同様に、緑色割合green_rateが最も大きい場合には、緑色に関する判定が行われる。緑色割合green_rateが緑色しきい値green_thよりも大きい場合には、森林や山を被写体とする風景画像である、すなわち、着目色が緑色であると判定される。空色割合sky_rateが最も大きい場合も、同様に、空色に関する判定が行われる。   Similarly, when the green ratio green_rate is the largest, a determination regarding green is performed. When the green ratio green_rate is larger than the green threshold green_th, it is determined that the image is a landscape image with forests and mountains as subjects, that is, the target color is green. Similarly, when the sky blue rate sky_rate is the highest, determination regarding sky blue is performed.

図6(b)は、本実施例において、明度変換式調整部224によって調整される明度変換式を示す説明図である。図4(b)に示す例との差異は、着目色が肌色である場合と、緑色である場合が追加されている点である。   FIG. 6B is an explanatory diagram illustrating the brightness conversion formula adjusted by the brightness conversion formula adjustment unit 224 in the present embodiment. A difference from the example illustrated in FIG. 4B is that a case where the target color is a skin color and a case where the target color is green are added.

着目色が肌色である場合には、赤成分R、緑成分Gの調整値Δkr、Δkgがプラスの値に設定され、青成分Bの調整値Δkbがマイナスの値に設定される。従って、赤または緑に近い色相を有する画素の輝度値Yは、着目色が標準である場合と比べて、大きな値に設定される。一方、青に近い色相を有する画素の輝度値Yは、着目色が標準である場合と比べて、小さな値に設定される。このように明度変換式を調整することによって、画像の中の肌色を有する画素の変換後の明るさが高めに設定される。その結果、人物が引き立つ高画質なモノトーン画像データを生成することができる。   When the target color is a skin color, the adjustment values Δkr and Δkg of the red component R and the green component G are set to positive values, and the adjustment value Δkb of the blue component B is set to a negative value. Therefore, the luminance value Y of a pixel having a hue close to red or green is set to a larger value than when the target color is standard. On the other hand, the luminance value Y of a pixel having a hue close to blue is set to a smaller value than when the target color is standard. By adjusting the brightness conversion formula in this way, the brightness after conversion of the pixels having the flesh color in the image is set higher. As a result, it is possible to generate high-quality monotone image data in which a person stands out.

着目色が緑色である場合には、緑成分Gの調整値Δkgがマイナスの値に設定され、赤成分R、青成分Bの調整値Δkr、Δkbがプラスの値に設定される。従って、緑に近い色相を有する画素の輝度値Yは、着目色が標準である場合と比べて、小さな値に設定される。一方、赤または青に近い色相を有する画素の輝度値Yは、着目色が標準である場合と比べて、大きな値に設定される。このように明度変換式を調整することによって、画像中の緑色を有する画素の変換後の明るさが低く抑えられる。その結果、植物や山が引き立つ高画質なモノトーン画像データを生成することができる。   When the target color is green, the adjustment value Δkg of the green component G is set to a negative value, and the adjustment values Δkr and Δkb of the red component R and the blue component B are set to positive values. Accordingly, the luminance value Y of a pixel having a hue close to green is set to a smaller value than when the target color is standard. On the other hand, the luminance value Y of a pixel having a hue close to red or blue is set to a larger value than when the target color is standard. By adjusting the brightness conversion formula in this way, the brightness after conversion of the green pixels in the image can be kept low. As a result, it is possible to generate high-quality monotone image data in which plants and mountains stand out.

このように、本実施例では、肌色、緑色、空色のそれぞれの画素割合に応じて、明度変換式を自動的に調整することができる。その結果、カラー画像データが表現する様々な被写体に適したモノトーン化処理を行うことができる。   Thus, in the present embodiment, the brightness conversion formula can be automatically adjusted according to the respective pixel ratios of skin color, green color, and sky blue. As a result, it is possible to perform monotone processing suitable for various subjects represented by color image data.

なお、着目色を判定する場合には、単純に画素の割合を比較する代わりに、特徴色に応じて予め設定された重みを、画素の割合に付して比較しても良い。例えば、人物画像における肌色割合skin_rateは、風景画像における緑色割合green_rateや空色割合sky_rateと比べて小さくなる傾向がある。このような場合でも、肌色割合skin_rateに対する重みを大きくして比較すれば、人物画像に対して着目色を肌色と判定する精度を高めることができる。   When determining the target color, instead of simply comparing the pixel ratio, a weight set in advance according to the characteristic color may be added to the pixel ratio for comparison. For example, the skin color ratio skin_rate in the person image tends to be smaller than the green ratio green_rate and the sky blue ratio sky_rate in the landscape image. Even in such a case, if the weight for the skin color ratio skin_rate is increased and compared, the accuracy of determining the target color as the skin color for the person image can be increased.

また、特徴色に優先順位を設定し、優先順位の順番に着目色の判定を行ってもよい。例えば、優先順位を、肌色、緑色、空色の順とする。この場合には、まず、肌色について、画素の割合としきい値とを比較する判定を行う。着目色が肌色であると判定できない場合には、緑色について判定を行う。以下、優先順位に従った順番に判定を行う。このように、優先順位に従って着目色の判定を行うことによって、様々なカラー画像データに対する着目色の判定の精度を向上させることができる。   Alternatively, priority order may be set for characteristic colors, and the target color may be determined in the order of priority order. For example, the priority order is the order of skin color, green, and sky blue. In this case, first, a determination is made to compare the pixel ratio and the threshold value for the skin color. If it is not possible to determine that the target color is a skin color, the green color is determined. Hereinafter, the determination is performed in the order according to the priority order. Thus, by determining the target color according to the priority order, it is possible to improve the accuracy of the target color determination for various color image data.

D.第3実施例:
上述した第1と第2の実施例では、同一の明度変換式を全ての画素に適用しているが、画素に応じて異なる明度変換式を適用してもよい。図7は、1つのカラー画像データに対して複数の明度変換式を適用する様子を示す説明図である。図7には、街の上に広がる空と人物とが写った画像が示されている。
D. Third embodiment:
In the first and second embodiments described above, the same brightness conversion formula is applied to all pixels, but different brightness conversion formulas may be applied depending on the pixels. FIG. 7 is an explanatory diagram showing a state in which a plurality of brightness conversion formulas are applied to one color image data. FIG. 7 shows an image showing the sky and a person spreading over the city.

本実施例では、このような複数の被写体に適したモノトーン化処理を行うために、複数の特徴色のそれぞれの画素に対して、独立に、明度変換式を設定している。具体的には、明度変換式調整部224(図2)は、3つの特徴色(肌色、緑色、空色)のそれぞれを有する画素群に対して、それぞれの画素の割合としきい値とに基づいた明度変換式を独立に準備する。   In this embodiment, in order to perform such monotone processing suitable for a plurality of subjects, a brightness conversion formula is set independently for each pixel of a plurality of characteristic colors. Specifically, the lightness conversion type adjustment unit 224 (FIG. 2) is based on the ratio of each pixel and the threshold value for a pixel group having each of three characteristic colors (skin color, green color, sky blue color). Prepare brightness conversion formulas independently.

明度変換式調整部224は、3つの特徴色(肌色、緑色、空色)のそれぞれに関して、画素の割合としきい値とに基づく判定を行う。この判定は、図6(a)に示す条件と同様の判定である。割合がしきい値よりも大きい特徴色に関しては、その特徴色に対応する明度変換式(図6(b))を準備する。割合がしきい値以下である特徴色に関しては、着目色が標準の明度変換式を準備する。いずれの特徴色も有しない画素に関しては、着目色が標準の明度変換式を準備する。明度変換部222は、カラー画像データの各画素が有する色に応じた明度変換式をそれぞれ適用する。   The brightness conversion type adjustment unit 224 performs determination based on the pixel ratio and the threshold value for each of the three characteristic colors (skin color, green color, sky blue color). This determination is the same as the condition shown in FIG. For a feature color having a ratio larger than the threshold value, a brightness conversion formula (FIG. 6B) corresponding to the feature color is prepared. For the characteristic color whose ratio is equal to or less than the threshold value, a standard brightness conversion formula is prepared for the target color. For pixels that do not have any characteristic color, a standard brightness conversion formula is prepared for the target color. The lightness conversion unit 222 applies a lightness conversion formula corresponding to the color of each pixel of the color image data.

図7に示す例では、肌色の画素には、肌色に対応する明度変換式が適用されている。また、空色の画素には、空色に対応する明度変換式が適用されている。他の画素に関しては、着目色が標準である場合の明度変換式が適用されている。その結果、肌色の明るさは高めに設定され、空の明るさは低めに設定されるので、人物と空とのコントラストが強められた迫力のあるモノトーン画像データを生成することができる。   In the example shown in FIG. 7, a brightness conversion formula corresponding to the skin color is applied to the skin color pixels. A lightness conversion formula corresponding to the sky blue is applied to the sky blue pixels. For the other pixels, the brightness conversion formula when the target color is standard is applied. As a result, since the brightness of the skin color is set high and the brightness of the sky is set low, it is possible to generate powerful monotone image data in which the contrast between the person and the sky is enhanced.

このように、本実施例では、カラー画像データの画素の色に応じて明度変換式を使い分けているので、様々な被写体を含むカラー画像データを処理する場合でも、複数の被写体に適したモノトーン化処理を行うことができる。   As described above, in this embodiment, since the brightness conversion formula is properly used according to the color of the pixel of the color image data, even when processing color image data including various subjects, the monotonization suitable for a plurality of subjects is possible. Processing can be performed.

E.第4実施例:
上述の各実施例において、明度変換式の調整値Δkr、Δkg、Δkbの大きさを、各特徴色の画素割合に応じた可変値としてもよい。例えば、図6(a)(b)に示す例において、調整値Δkr、Δkg、Δkbの絶対値の大きさを、最大画素割合の大きさが大きいほど大きくなるように調整しても良い。例えば、3つの画素割合の内、空色割合sky_rateが最大である場合に、空色割合sky_rateが大きいほど、Δkrが大きく、ΔkgとΔkbとが小さく(絶対値は大きく)なるように調整することができる。こうすれば、特徴色を有する画素の割合が比較的大きい場合に、より効果的に、特徴色を有する被写体とその周囲とのコントラストを強くすることができる。この際、調整値Δkr、Δkg、Δkbのプラスとマイナスに関しては、最大画素割合の特徴色に対応する明度変換式の設定に従うことが好ましい。
E. Fourth embodiment:
In the above-described embodiments, the magnitudes of the adjustment values Δkr, Δkg, Δkb of the lightness conversion formula may be variable values according to the pixel ratio of each characteristic color. For example, in the examples shown in FIGS. 6A and 6B, the absolute values of the adjustment values Δkr, Δkg, and Δkb may be adjusted so as to increase as the maximum pixel ratio increases. For example, among the three pixel ratios, when the sky blue ratio sky_rate is the maximum, the larger the sky blue ratio sky_rate, the larger the Δkr and the smaller Δkg and Δkb (the absolute value is larger). . In this way, when the ratio of the pixels having the characteristic color is relatively large, the contrast between the subject having the characteristic color and the surrounding area can be increased more effectively. At this time, regarding plus and minus of the adjustment values Δkr, Δkg, and Δkb, it is preferable to follow the setting of the brightness conversion equation corresponding to the characteristic color having the maximum pixel ratio.

また、着目色の判定を行う代わりに、明度変換式の3つの画素値R,G,Bの係数を、各特徴色の画素割合に基づく関数で定義してもよい。このような明度変換式は、例えば、以下に示す演算式で表される。   Instead of determining the target color, the coefficients of the three pixel values R, G, and B of the brightness conversion equation may be defined by a function based on the pixel ratio of each characteristic color. Such a brightness conversion formula is represented by the following arithmetic formula, for example.

Figure 2007215216
Figure 2007215216

数式中、fr、fb、fgは、ぞれぞれ、3つの特徴色の画素割合skin_rate、green_rate、sky_rateの関数であり、3つの画素値R,G,Bのそれぞれの係数である。   In the formula, fr, fb, and fg are functions of the pixel ratios skin_rate, green_rate, and sky_rate of the three characteristic colors, respectively, and are the coefficients of the three pixel values R, G, and B, respectively.

このように、明度変換式を、画素割合の関数で表せば、様々なカラー画像データに対応して細かく明度変換式を調整することができる。その結果、様々なカラー画像データに対応して、適切なモノトーン化処理を行うことができる。   Thus, if the brightness conversion formula is expressed by a function of the pixel ratio, the brightness conversion formula can be finely adjusted in accordance with various color image data. As a result, it is possible to perform appropriate monotone processing corresponding to various color image data.

F.第5実施例:
図8は、本実施例の画像処理装置が利用可能な画像データファイルIDFの構成を示す説明図である。この画像データファイルIDFは、撮影モード情報INFと、カラー画像データIMGとを含んでいる。撮影モード情報INFは、デジタルカメラ100の撮影時の動作モード(以下、撮影モードと呼ぶ)の設定に関する情報である。
F. Fifth embodiment:
FIG. 8 is an explanatory diagram illustrating a configuration of an image data file IDF that can be used by the image processing apparatus according to the present exemplary embodiment. The image data file IDF includes shooting mode information INF and color image data IMG. The shooting mode information INF is information relating to setting of an operation mode (hereinafter referred to as a shooting mode) when the digital camera 100 is shooting.

デジタルカメラの中には、撮影時の撮影モードを、人物や風景といった撮影シーンに応じて切り替えることができるものがある。撮影モードとしては、標準モード、人物モード(ポートレートモード)、風景モード等の予め準備されている複数のモードの中の1つを、被写体の種類等に合わせて選択することが可能である。標準モードは、デジタルカメラ100におけるデフォルトの撮影条件(標準撮影条件)である。また、標準撮影条件は、デジタルカメラ100の購入時の設定としてしばしば利用される。さらに、デジタルカメラの中には、撮影時の撮影モードに関する情報(撮影モード情報INF)を、画像データに関連する画像データ関連情報として、画像データとともに、画像データファイルに格納するものもある。本実施例では、このような画像データファイルを利用することができる。なお、このようなファイル形式としては、例えば、Exifファイル形式がある。   Some digital cameras can switch a shooting mode according to a shooting scene such as a person or a landscape. As the shooting mode, it is possible to select one of a plurality of modes prepared in advance such as a standard mode, a portrait mode (portrait mode), a landscape mode, and the like according to the type of subject. The standard mode is a default shooting condition (standard shooting condition) in the digital camera 100. The standard shooting conditions are often used as settings at the time of purchase of the digital camera 100. In addition, some digital cameras store information related to a shooting mode at the time of shooting (shooting mode information INF) as image data related information related to image data, together with image data, in an image data file. In this embodiment, such an image data file can be used. An example of such a file format is the Exif file format.

図9は、第5実施例におけるコンピュータ200aの構成を示すブロック図である。図2に示すコンピュータ200との差異は、データ処理部220aが、画像データ解析部226の代わりに撮影モード情報解析部228を備えている点である。撮影モード情報解析部228は、画像データファイルIDFに含まれる撮影モード情報INFを解析して、撮影モードを取得する。明度変換式調整部224aは、取得された撮影モードに応じて明度変換式を調整する。なお、本実施例において撮影モード情報解析部228は、本発明における動作モード判別部に相当する。   FIG. 9 is a block diagram showing a configuration of a computer 200a in the fifth embodiment. The difference from the computer 200 shown in FIG. 2 is that the data processing unit 220 a includes a shooting mode information analysis unit 228 instead of the image data analysis unit 226. The shooting mode information analysis unit 228 analyzes the shooting mode information INF included in the image data file IDF and acquires the shooting mode. The brightness conversion formula adjustment unit 224a adjusts the brightness conversion formula according to the acquired shooting mode. In this embodiment, the shooting mode information analysis unit 228 corresponds to the operation mode determination unit in the present invention.

図10は、明度変換式調整部224aによって調整される明度変換式を示す説明図である。図4(b)、図6(b)に示す例との差異は、調整値Δkr、Δkg、Δkbが撮影モードに応じて設定されている点である。本実施例では、標準モードの場合には、いずれの調整値Δkr、Δkg、Δkbもゼロに設定される。   FIG. 10 is an explanatory diagram showing a lightness conversion equation adjusted by the lightness conversion equation adjusting unit 224a. The difference from the examples shown in FIGS. 4B and 6B is that the adjustment values Δkr, Δkg, and Δkb are set according to the shooting mode. In this embodiment, in the case of the standard mode, any adjustment values Δkr, Δkg, Δkb are set to zero.

人物モードの場合には、図6(b)において着目色が肌色の場合と同様に、赤成分R、緑成分Gの調整値Δkr、Δkgがプラスの値に設定され、青成分Bの調整値Δkbがマイナスの値に設定される。その結果、画像の中の肌色の画素の変換後の明るさが、標準モードの場合と比べて高めに設定される。   In the portrait mode, the adjustment values Δkr and Δkg of the red component R and the green component G are set to positive values, and the adjustment value of the blue component B is set as in the case where the target color is the skin color in FIG. Δkb is set to a negative value. As a result, the brightness after conversion of skin-colored pixels in the image is set higher than in the standard mode.

風景モードの場合には、図6(b)において着目色が空色の場合と同様に、赤成分Rの調整値Δkrがプラスの値に設定され、緑成分G、青成分Bの調整値Δkg,Δkbがマイナスの値に設定される。その結果、画像の中の空色の画素の変換後の明るさが、標準モードの場合と比べて低めに設定される。   In the landscape mode, the adjustment value Δkr of the red component R is set to a positive value as in the case where the target color is sky blue in FIG. 6B, and the adjustment values Δkg, Δkb is set to a negative value. As a result, the brightness after conversion of sky blue pixels in the image is set lower than in the standard mode.

明度変換部222は、図10に示すように設定された明度変換式に基づいて、モノトーン画像データを生成する。   The lightness conversion unit 222 generates monotone image data based on the lightness conversion formula set as shown in FIG.

このように、本実施例では、撮影モード情報に応じて、明度変換式を自動的に調整することができる。その結果、撮影モードに適したモノトーン化処理を行うことができる。   Thus, in this embodiment, the brightness conversion formula can be automatically adjusted according to the shooting mode information. As a result, it is possible to perform monotone processing suitable for the shooting mode.

G.変形例:
なお、この発明は上記の実施例や実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば次のような変形も可能である。
G. Variations:
The present invention is not limited to the above-described examples and embodiments, and can be implemented in various modes without departing from the gist thereof. For example, the following modifications are possible.

G1.変形例1:
図2に示す画像データ解析部226と、図9に示す撮影モード情報解析部228とを備えるデータ処理部を利用してもよい。この場合、画像データファイルが撮影モード情報INFを格納している場合には、撮影モードに基づくモノトーン化処理を行い、撮影モード情報INFを格納していない場合には、画像データを解析した結果に基づくモノトーン化処理を行う構成とすることができる。この構成によれば、撮影モード情報の有無に拘わらず、カラー画像データに適したモノトーン化処理を行うことができる。また、撮影モードが標準モードである場合には、画像データを解析した結果に基づくモノトーン化処理を行う構成としてもよい。
G1. Modification 1:
A data processing unit including the image data analysis unit 226 illustrated in FIG. 2 and the shooting mode information analysis unit 228 illustrated in FIG. 9 may be used. In this case, if the image data file stores the shooting mode information INF, the monotone processing based on the shooting mode is performed. If the shooting mode information INF is not stored, the image data is analyzed. It is possible to adopt a configuration for performing a monotone processing based on the above. According to this configuration, it is possible to perform monotone processing suitable for color image data regardless of the presence or absence of shooting mode information. Further, when the shooting mode is the standard mode, a monotone process based on the result of analyzing the image data may be performed.

G2.変形例2:
上述の各実施例では、特徴色を色相範囲に基づいて定めていたが、彩度や明度にも範囲を設けて定めてもよい。こうすれば、特徴色が、被写体の特徴を表す色をより適切に反映することができる。
G2. Modification 2:
In each of the above-described embodiments, the characteristic color is determined based on the hue range, but may be determined by providing a range for saturation and lightness. In this way, the characteristic color can more appropriately reflect the color representing the characteristic of the subject.

G3.変形例3:
上述の各実施例では、画素割合を表す特徴色情報を色分布情報として用いているが、色分布情報としては特徴色情報に限らず、一般に、カラー画像データにおける色の偏りに関連のある情報であればよい。例えば、色相分布においてピークとなる色相を色分布情報として用い、その色相を有する色の明るさが暗くなるように明度変換式を調整しても良い。逆に、色相分布においてピークとなる色相を有する色の明るさが明るくなるように明度変換式を調整しても良い。
G3. Modification 3:
In each of the above-described embodiments, the feature color information representing the pixel ratio is used as the color distribution information. However, the color distribution information is not limited to the feature color information, and is generally information related to the color deviation in the color image data. If it is. For example, a hue having a peak in the hue distribution may be used as the color distribution information, and the brightness conversion formula may be adjusted so that the brightness of the color having the hue becomes dark. Conversely, the brightness conversion formula may be adjusted so that the brightness of the color having the peak hue in the hue distribution becomes brighter.

G4.変形例4:
モノトーン化処理で生成されたモノトーン画像データは、印刷に限らず、種々の用途に利用することができる。例えば、LCDディスプレイやCRTモニタへの画像の出力に用いてもよく、また、モノトーン画像データを格納する画像データファイルを生成してもよい。このような画像データファイルを生成して再利用すれば、モノトーン化処理を実行できない装置を用いる場合でも、モノトーン画像を利用することができる。
G4. Modification 4:
The monotone image data generated by the monotone process is not limited to printing and can be used for various purposes. For example, it may be used for outputting an image to an LCD display or a CRT monitor, or an image data file for storing monotone image data may be generated. If such an image data file is generated and reused, a monotone image can be used even when using an apparatus that cannot execute monotone processing.

G5.変形例5:
上述の各実施例においては、モノトーン化処理を実行する画像処理装置としてコンピュータを用いていたが、この代わりに、画像出力装置がモノトーン化処理を実行する構成としてもよい。例えば、プリンタ300(図1)の制御回路(図示せず)がデータ処理部220と印刷データ生成部240としての機能を有する構成とすることができる。さらに、プリンタ300がケーブルや無線通信、メモリカードMC等を介してデジタルカメラ100から直接画像データを受け取ることができる構成とすれば、コンピュータ200を用いることなく、モノトーン画像を印刷することができる。従って、ユーザは手軽に高画質なモノトーン画像を利用することができる。
G5. Modification 5:
In each of the above-described embodiments, a computer is used as an image processing apparatus that executes monotone processing. Alternatively, the image output apparatus may be configured to execute monotone processing. For example, the control circuit (not shown) of the printer 300 (FIG. 1) can have a function as the data processing unit 220 and the print data generation unit 240. Furthermore, if the printer 300 is configured to receive image data directly from the digital camera 100 via a cable, wireless communication, a memory card MC, or the like, a monotone image can be printed without using the computer 200. Therefore, the user can easily use a high-quality monotone image.

G6.変形例6:
なお、本明細書において、「デジタルカメラ」とは、静止画を撮影するデジタルスチルカメラと、動画を撮影するデジタルビデオカメラとの両方を含んでいる。
G6. Modification 6:
In this specification, “digital camera” includes both a digital still camera that captures still images and a digital video camera that captures moving images.

G7.変形例7:
上記各実施例において、ソフトウェアによって実現されていた構成の一部をハードウェアに置き換えるようにしてもよく、逆に、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよい。例えば、コンピュータ200(図2)の機能の一部を、プリンタ300内の制御回路(図示せず)が実行するようにすることも可能である。
G7. Modification 7:
In each of the above embodiments, a part of the configuration realized by software may be replaced by hardware, and conversely, a part of the configuration realized by hardware may be replaced by software. . For example, a part of the functions of the computer 200 (FIG. 2) can be executed by a control circuit (not shown) in the printer 300.

G8.変形例8:
上記各実施例において、画像データと、画像データ関連情報とは、同じ画像データファイルに格納されていなくてもよい。一般に、画像データと、画像データ関連情報と、が互いに関連付けられた画像データセットが構成されていればよい。
G8. Modification 8:
In each of the above embodiments, the image data and the image data related information need not be stored in the same image data file. Generally, an image data set in which image data and image data related information are associated with each other may be configured.

画像出力システムの構成を示す説明図である。It is explanatory drawing which shows the structure of an image output system. コンピュータ200の構成を示すブロック図である。2 is a block diagram showing a configuration of a computer 200. FIG. カラー画像データを解析して生成する特徴色情報を説明する説明図である。It is explanatory drawing explaining the characteristic color information produced | generated by analyzing color image data. 明度変換式の調整を説明する説明図である。It is explanatory drawing explaining adjustment of a brightness conversion type | formula. モノトーン画像の例を示す説明図である。It is explanatory drawing which shows the example of a monotone image. 明度変換式の調整を説明する説明図である。It is explanatory drawing explaining adjustment of a brightness conversion type | formula. 1つのカラー画像データに対して複数の明度変換式を適用する様子を示す説明図である。It is explanatory drawing which shows a mode that a some lightness conversion type | formula is applied with respect to one color image data. 画像データファイルIDFの構成を示す説明図である。It is explanatory drawing which shows the structure of image data file IDF. コンピュータ200aの構成を示すブロック図である。It is a block diagram which shows the structure of the computer 200a. 明度変換式を示す説明図である。It is explanatory drawing which shows a lightness conversion formula.

符号の説明Explanation of symbols

100...デジタルカメラ
200、200a...コンピュータ
220、220a...データ処理部
222...明度変換部
224、224a...明度変換式調整部
226...画像データ解析部
228...撮影モード情報解析部
240...印刷データ生成部
300...プリンタ
IDF...画像データファイル
INF...撮影モード情報
IMG...カラー画像データ
MC...メモリカード
DESCRIPTION OF SYMBOLS 100 ... Digital camera 200, 200a ... Computer 220, 220a ... Data processing part 222 ... Lightness conversion part 224, 224a ... Lightness conversion type adjustment part 226 ... Image data analysis part 228. ..Shooting mode information analysis unit 240 ... Print data generation unit 300 ... Printer IDF ... Image data file INF ... Shooting mode information IMG ... Color image data MC ... Memory card

Claims (14)

カラー画像データのモノトーン化を行う画像処理装置であって、
前記カラー画像データに基づいてモノトーン画像データを生成するデータ処理部を備え、
前記データ処理部は、
前記カラー画像データの各画素の色を表す画素値を、明度変換式に従って、前記モノトーン画像データの各画素の明るさを表す画素値に変換する変換部と、
前記カラー画像データを解析することによって、前記カラー画像データにおける色の偏りに関連のある色分布情報を生成する画像データ解析部と、
前記色分布情報に基づいて前記明度変換式を調整する明度変換式調整部と、
を備える、画像処理装置。
An image processing apparatus that performs monotone conversion of color image data,
A data processing unit that generates monotone image data based on the color image data;
The data processing unit
A conversion unit that converts a pixel value representing the color of each pixel of the color image data into a pixel value representing the brightness of each pixel of the monotone image data according to a brightness conversion equation;
By analyzing the color image data, an image data analysis unit that generates color distribution information related to color bias in the color image data;
A lightness conversion equation adjusting unit that adjusts the lightness conversion equation based on the color distribution information;
An image processing apparatus comprising:
請求項1に記載の画像処理装置であって、
前記画像データ解析部は、前記カラー画像データにおける特定の色相を有する画素の頻度を表す特徴色情報を決定し、
前記明度変換式調整部は、前記特徴色情報に応じて前記明度変換式を調整する、
画像処理装置。
The image processing apparatus according to claim 1,
The image data analysis unit determines characteristic color information representing the frequency of pixels having a specific hue in the color image data,
The lightness conversion formula adjusting unit adjusts the lightness conversion formula according to the characteristic color information.
Image processing device.
請求項2に記載の画像処理装置であって、
前記画像データ解析部は、互いに異なる色相に関する複数の前記特徴色情報を決定し、
前記明度変換式調整部は、互いに異なる複数の明度変換式を予め有しており、さらに、前記変換部が利用する前記明度変換式を、前記複数の明度変換式の中から、前記複数の特徴色情報に応じて選択する、
画像処理装置。
The image processing apparatus according to claim 2,
The image data analysis unit determines a plurality of characteristic color information related to different hues,
The brightness conversion formula adjustment unit has a plurality of different brightness conversion formulas in advance, and the brightness conversion formula used by the conversion unit is selected from the plurality of feature conversion formulas. Select according to the color information,
Image processing device.
請求項2に記載の画像処理装置であって、
前記画像データ解析部は、互いに異なる色相に関する複数の前記特徴色情報を決定し、
前記明度変換式は、前記カラー画像データの各画素の色を表す複数成分の画素値のそれぞれに係数を乗じて加算して、前記モノトーン画像データの各画素の明るさを表す画素値を求める変換式であり、
前記明度変換式調整部は、前記明度変換式の各成分の係数のそれぞれを、前記複数の特徴色情報に基づいて決定する、
画像処理装置。
The image processing apparatus according to claim 2,
The image data analysis unit determines a plurality of characteristic color information related to different hues,
The brightness conversion formula is a conversion for obtaining a pixel value representing the brightness of each pixel of the monotone image data by multiplying each of the pixel values of a plurality of components representing the color of each pixel of the color image data by a coefficient and adding them. Is an expression,
The lightness conversion equation adjusting unit determines each coefficient of each component of the lightness conversion equation based on the plurality of characteristic color information.
Image processing device.
請求項1ないし請求項4のいずれかに記載の画像処理装置であって、
前記変換部は、調整後の前記明度変換式を前記カラー画像データの全画素に適用する、
画像処理装置。
An image processing apparatus according to any one of claims 1 to 4,
The conversion unit applies the adjusted brightness conversion formula to all pixels of the color image data.
Image processing device.
請求項1ないし請求項4のいずれかに記載の画像処理装置であって、
前記明度変換式調整部は、前記色分布情報に基づいて複数の前記明度変換式を準備し、
前記変換部は、前記カラー画像データの画素の色に応じて異なる前記明度変換式を適用する、画像処理装置。
An image processing apparatus according to any one of claims 1 to 4,
The brightness conversion formula adjusting unit prepares a plurality of brightness conversion formulas based on the color distribution information,
The image processing apparatus, wherein the conversion unit applies the lightness conversion formula that varies depending on a color of a pixel of the color image data.
画像生成装置で生成されたカラー画像データと、前記カラー画像データ生成時における前記画像生成装置の動作モードに関する動作モード情報を少なくとも含むとともに前記カラー画像データに関連付けられた画像データ関連情報とを用いて、前記カラー画像データのモノトーン化を行う画像処理装置であって、
前記カラー画像データと前記動作モード情報とに基づいてモノトーン画像データを生成するデータ処理部を備え、
前記データ処理部は、
前記カラー画像データの各画素の色を表す画素値を、明度変換式に従って、前記モノトーン画像データの各画素の明るさを表す画素値に変換する変換部と、
前記動作モード情報を解析することによって、前記動作モード情報で設定された動作モードを判別する動作モード判別部と、
前記動作モード判別部が判別した動作モードに基づいて前記明度変換式を調整する明度変換式調整部と、
を備える、画像処理装置。
Using color image data generated by the image generation device, and image data related information that includes at least operation mode information related to an operation mode of the image generation device at the time of generating the color image data and is associated with the color image data , An image processing apparatus for monotonizing the color image data,
A data processing unit for generating monotone image data based on the color image data and the operation mode information;
The data processing unit
A conversion unit that converts a pixel value representing the color of each pixel of the color image data into a pixel value representing the brightness of each pixel of the monotone image data according to a brightness conversion equation;
By analyzing the operation mode information, an operation mode determination unit that determines the operation mode set in the operation mode information;
A lightness conversion equation adjusting unit that adjusts the lightness conversion equation based on the operation mode determined by the operation mode determination unit;
An image processing apparatus comprising:
請求項7に記載の画像処理装置であって、
前記明度変換式調整部は、前記動作モード判別部が判別した動作モードが人物画像に適した動作モードである場合に、前記画像生成装置の標準撮影条件での動作モードである場合と比べて、前記カラー画像データの肌色を有する画素に対する前記モノトーン画像データの画素の明るさが明るくなるように、前記明度変換式を調整する、
画像処理装置。
The image processing apparatus according to claim 7,
When the operation mode determined by the operation mode determination unit is an operation mode suitable for a human image, the lightness conversion type adjustment unit is compared with a case where the image generation device is in an operation mode under a standard shooting condition. Adjusting the brightness conversion formula so that the brightness of the pixels of the monotone image data with respect to the pixels having the flesh color of the color image data is increased;
Image processing device.
請求項7または請求項8に記載の画像処理装置であって、
前記明度変換式調整部は、前記動作モード判別部が判別した動作モードが風景画像に適した動作モードである場合に、前記画像生成装置の標準撮影条件での動作モードである場合と比べて、前記カラー画像データの空色を有する画素に対する前記モノトーン画像データの画素の明るさが暗くなるように、前記明度変換式を調整する、
画像処理装置。
The image processing apparatus according to claim 7 or 8, wherein
When the operation mode determined by the operation mode determination unit is an operation mode suitable for a landscape image, the lightness conversion type adjustment unit is compared with a case where the operation mode is a standard shooting condition of the image generation device. Adjusting the lightness conversion formula so that the brightness of the pixels of the monotone image data with respect to the pixels having the sky blue color of the color image data is dark;
Image processing device.
カラー画像データのモノトーン化を行う画像処理方法であって、
(a)前記カラー画像データを解析することによって、前記カラー画像データにおける色の偏りに関連のある色分布情報を生成する工程と、
(b)前記色分布情報に基づいて、前記カラー画像データの各画素の色を表す画素値をモノトーン画像データの各画素の明るさを表す画素値に変換する明度変換で利用される明度変換式を調整する工程と、
(c)前記工程(b)で調整された前記明度変換式に従って前記明度変換を実行する工程と、
を備える、画像処理方法。
An image processing method for monotonizing color image data,
(A) generating color distribution information related to color bias in the color image data by analyzing the color image data;
(B) A brightness conversion formula used in brightness conversion for converting a pixel value representing the color of each pixel of the color image data into a pixel value representing the brightness of each pixel of the monotone image data based on the color distribution information. Adjusting the process,
(C) executing the lightness conversion according to the lightness conversion formula adjusted in the step (b);
An image processing method comprising:
画像生成装置で生成されたカラー画像データと、前記カラー画像データ生成時における前記画像生成装置の動作モードに関する動作モード情報を少なくとも含むとともに前記カラー画像データに関連付けられた画像データ関連情報とを用いて、前記カラー画像データのモノトーン化を行う画像処理方法であって、
(a)前記動作モード情報を解析することによって、前記動作モード情報で設定された動作モードを判別する工程と、
(b)前記工程(b)で判別された動作モードに基づいて、前記カラー画像データの各画素の色を表す画素値をモノトーン画像データの各画素の明るさを表す画素値に変換する明度変換で利用される明度変換式を調整する工程と、
(c)前記工程(b)で調整された前記明度変換式に従って前記明度変換を実行する工程と、
を備える、画像処理方法。
Using color image data generated by the image generation device, and image data related information that includes at least operation mode information related to an operation mode of the image generation device at the time of generating the color image data and is associated with the color image data An image processing method for monotonizing the color image data,
(A) determining the operation mode set by the operation mode information by analyzing the operation mode information;
(B) Based on the operation mode determined in the step (b), a brightness conversion for converting a pixel value representing the color of each pixel of the color image data into a pixel value representing the brightness of each pixel of the monotone image data Adjusting the brightness conversion formula used in
(C) executing the lightness conversion according to the lightness conversion formula adjusted in the step (b);
An image processing method comprising:
カラー画像データのモノトーン化を行うためのコンピュータプログラムであって、
(a)前記カラー画像データを解析することによって、前記カラー画像データにおける色の偏りに関連のある色分布情報を生成する機能と、
(b)前記色分布情報に基づいて、前記カラー画像データの各画素の色を表す画素値をモノトーン画像データの各画素の明るさを表す画素値に変換する明度変換で利用される明度変換式を調整する機能と、
(c)前記機能(b)で調整された前記明度変換式に従って前記明度変換を実行する機能と、
を、コンピュータに実現させるコンピュータプログラム。
A computer program for performing monotone conversion of color image data,
(A) a function of analyzing the color image data to generate color distribution information related to color bias in the color image data;
(B) A brightness conversion formula used in brightness conversion for converting a pixel value representing the color of each pixel of the color image data into a pixel value representing the brightness of each pixel of the monotone image data based on the color distribution information. A function to adjust
(C) a function of executing the lightness conversion according to the lightness conversion formula adjusted in the function (b);
A computer program that causes a computer to realize
画像生成装置で生成されたカラー画像データと、前記カラー画像データ生成時における前記画像生成装置の動作モードに関する動作モード情報を少なくとも含むとともに前記カラー画像データに関連付けられた画像データ関連情報とを用いて、前記カラー画像データのモノトーン化を行うためのコンピュータプログラムであって、
(a)前記動作モード情報を解析することによって、前記動作モード情報で設定された動作モードを判別する機能と、
(b)前記機能(b)で判別された動作モードに基づいて、前記カラー画像データの各画素の色を表す画素値をモノトーン画像データの各画素の明るさを表す画素値に変換する明度変換で利用される明度変換式を調整する機能と、
(c)前記機能(b)で調整された前記明度変換式に従って前記明度変換を実行する機能と、
を、コンピュータに実現させるコンピュータプログラム。
Using color image data generated by the image generation device, and image data related information that includes at least operation mode information related to an operation mode of the image generation device at the time of generating the color image data and is associated with the color image data , A computer program for monotonizing the color image data,
(A) a function of determining the operation mode set by the operation mode information by analyzing the operation mode information;
(B) Lightness conversion for converting a pixel value representing the color of each pixel of the color image data into a pixel value representing the brightness of each pixel of the monotone image data based on the operation mode determined by the function (b). A function to adjust the brightness conversion formula used in
(C) a function of executing the lightness conversion according to the lightness conversion formula adjusted in the function (b);
A computer program that causes a computer to realize
請求項12または請求項13に記載のコンピュータプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the computer program according to claim 12 or 13 is recorded.
JP2007070938A 2007-03-19 2007-03-19 Monotone processing of color image Expired - Fee Related JP4687673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007070938A JP4687673B2 (en) 2007-03-19 2007-03-19 Monotone processing of color image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007070938A JP4687673B2 (en) 2007-03-19 2007-03-19 Monotone processing of color image

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003291329A Division JP4001079B2 (en) 2003-08-11 2003-08-11 Monotone processing of color image

Publications (2)

Publication Number Publication Date
JP2007215216A true JP2007215216A (en) 2007-08-23
JP4687673B2 JP4687673B2 (en) 2011-05-25

Family

ID=38493169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007070938A Expired - Fee Related JP4687673B2 (en) 2007-03-19 2007-03-19 Monotone processing of color image

Country Status (1)

Country Link
JP (1) JP4687673B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009111643A (en) * 2007-10-29 2009-05-21 Sony Corp Image processing apparatus, image processing method, and program
KR101006334B1 (en) 2009-02-17 2011-01-06 포항공과대학교 산학협력단 Apparatus and method for processing images, and record medium for performing the method
JP2011055357A (en) * 2009-09-03 2011-03-17 Fuji Xerox Co Ltd Color processing apparatus, image processing apparatus, and program
KR101024783B1 (en) * 2008-12-30 2011-03-24 포항공과대학교 산학협력단 Method For Transforming Color Of Image And Recorded Medium For Performing The Same
JP2011146986A (en) * 2010-01-15 2011-07-28 Seiko Epson Corp Printing control apparatus, program and monochromatic image production method
KR101074184B1 (en) 2009-12-29 2011-10-14 포항공과대학교 산학협력단 Method for transforming color images to grayscale and recorded medium having program performing the same
EP2391111A1 (en) 2010-05-24 2011-11-30 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer program product
JP2013098669A (en) * 2011-10-31 2013-05-20 Kyocera Document Solutions Inc Image processing apparatus and image forming apparatus
JP2014166688A (en) * 2013-02-28 2014-09-11 Seiko Epson Corp Printer
WO2023238344A1 (en) * 2022-06-09 2023-12-14 日産自動車株式会社 Parking assist method and parking assist device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08251427A (en) * 1995-03-07 1996-09-27 Minolta Co Ltd Image reproducing device
JPH10191246A (en) * 1996-10-22 1998-07-21 Fuji Photo Film Co Ltd Image reproducing method for reproducing digital image data obtained by digital camera and digital camera used for the method
JPH11298848A (en) * 1998-04-13 1999-10-29 Minolta Co Ltd Digital camera
JP2000013621A (en) * 1998-06-23 2000-01-14 Sharp Corp Image converting method
JP2002314803A (en) * 2001-01-17 2002-10-25 Seiko Epson Corp Generation and output of image file
JP2002344989A (en) * 2001-01-17 2002-11-29 Seiko Epson Corp Output image adjustment apparatus for image files
JP2003134520A (en) * 2001-10-19 2003-05-09 Minolta Co Ltd Digital camera
JP2003189235A (en) * 2001-09-11 2003-07-04 Seiko Epson Corp Picture processing using subject information
JP2003219254A (en) * 2002-01-25 2003-07-31 Matsushita Electric Ind Co Ltd Camera with photographing mode switching function

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08251427A (en) * 1995-03-07 1996-09-27 Minolta Co Ltd Image reproducing device
JPH10191246A (en) * 1996-10-22 1998-07-21 Fuji Photo Film Co Ltd Image reproducing method for reproducing digital image data obtained by digital camera and digital camera used for the method
JPH11298848A (en) * 1998-04-13 1999-10-29 Minolta Co Ltd Digital camera
JP2000013621A (en) * 1998-06-23 2000-01-14 Sharp Corp Image converting method
JP2002314803A (en) * 2001-01-17 2002-10-25 Seiko Epson Corp Generation and output of image file
JP2002344989A (en) * 2001-01-17 2002-11-29 Seiko Epson Corp Output image adjustment apparatus for image files
JP2003189235A (en) * 2001-09-11 2003-07-04 Seiko Epson Corp Picture processing using subject information
JP2003134520A (en) * 2001-10-19 2003-05-09 Minolta Co Ltd Digital camera
JP2003219254A (en) * 2002-01-25 2003-07-31 Matsushita Electric Ind Co Ltd Camera with photographing mode switching function

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009111643A (en) * 2007-10-29 2009-05-21 Sony Corp Image processing apparatus, image processing method, and program
KR101024783B1 (en) * 2008-12-30 2011-03-24 포항공과대학교 산학협력단 Method For Transforming Color Of Image And Recorded Medium For Performing The Same
KR101006334B1 (en) 2009-02-17 2011-01-06 포항공과대학교 산학협력단 Apparatus and method for processing images, and record medium for performing the method
JP2011055357A (en) * 2009-09-03 2011-03-17 Fuji Xerox Co Ltd Color processing apparatus, image processing apparatus, and program
KR101074184B1 (en) 2009-12-29 2011-10-14 포항공과대학교 산학협력단 Method for transforming color images to grayscale and recorded medium having program performing the same
JP2011146986A (en) * 2010-01-15 2011-07-28 Seiko Epson Corp Printing control apparatus, program and monochromatic image production method
EP2391111A1 (en) 2010-05-24 2011-11-30 Ricoh Company, Ltd. Image processing apparatus, image processing method, and computer program product
US8655067B2 (en) 2010-05-24 2014-02-18 Ricoh Company, Limited Image processing apparatus, image processing method, and computer program product
JP2013098669A (en) * 2011-10-31 2013-05-20 Kyocera Document Solutions Inc Image processing apparatus and image forming apparatus
JP2014166688A (en) * 2013-02-28 2014-09-11 Seiko Epson Corp Printer
WO2023238344A1 (en) * 2022-06-09 2023-12-14 日産自動車株式会社 Parking assist method and parking assist device

Also Published As

Publication number Publication date
JP4687673B2 (en) 2011-05-25

Similar Documents

Publication Publication Date Title
JP4687673B2 (en) Monotone processing of color image
JP4424216B2 (en) Image processing apparatus, image processing method, and image processing program
US8363125B2 (en) Image processing apparatus, image processing method, and computer program product
JP2004192614A (en) Image processing device, image processing method, program and recording medium
JP2009055465A (en) Image processing device and method
JP4001079B2 (en) Monotone processing of color image
KR100843088B1 (en) Apparatus and method for outputting wide color gamut space image
JP2006229925A (en) Dynamic image saturation enhancement apparatus
JP2006013836A (en) Image data processing for processing color image data of color image
JP2020004267A (en) Image processing apparatus, control method and program
JP2008244588A (en) Image processing apparatus, image processing method, image processing program and camera
WO2004098202A1 (en) Color balance adjustment conducted considering color reproducibility of specific color
JP5253047B2 (en) Color processing apparatus and method
US8345967B2 (en) Apparatus and method of processing image, and record medium for the method
JP4730837B2 (en) Image processing method, image processing apparatus, program, and recording medium
JP2014033273A (en) Color gamut conversion device, digital camera, color gamut conversion program, and color gamut conversion method
TW201515472A (en) HVS-based radiometric compensation system
JP2007158446A (en) Image processor, image processing method and program, recording medium
JP2008072340A (en) Color processor
JP2008227959A (en) Image processing device, image processing method and image processing system
JP2010187330A (en) Color converting apparatus and color conversion processing method
JP2007228323A (en) Image processing apparatus, image processing method and image processing program
KR20160007319A (en) Electronic apparatus and Method for controlling the electronic apparatus thereof
JP2014033274A (en) Color gamut conversion device, digital camera, color gamut conversion program, and color gamut conversion method
JP2000105820A (en) Device and method for monotone conversion and medium where monotone converting program is recorded

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100323

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100524

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101022

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110118

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110131

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140225

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees