JP2007159029A - Image processing apparatus and image processing method - Google Patents
Image processing apparatus and image processing method Download PDFInfo
- Publication number
- JP2007159029A JP2007159029A JP2005355059A JP2005355059A JP2007159029A JP 2007159029 A JP2007159029 A JP 2007159029A JP 2005355059 A JP2005355059 A JP 2005355059A JP 2005355059 A JP2005355059 A JP 2005355059A JP 2007159029 A JP2007159029 A JP 2007159029A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- gradation characteristics
- gradation
- digital camera
- creating
- 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
- Television Signal Processing For Recording (AREA)
- Facsimile Image Signal Circuits (AREA)
- Image Processing (AREA)
Abstract
【課題】 ユーザの好みに合った画像処理のためのルックアップテーブルを簡単に作成することを目的とする。
【解決手段】 デジタルカメラにより取得した画像データに対し、使用したデジタルカメラの階調特性、画像データを印刷するプリンタの階調特性および目標とする入出力の総合階調特性からルックアップテーブルを作成する手段と、前記ルックアップテーブルを用いて前記画像データに階調変換処理を施す手段とを備えた画像処理装置であって、前記総合階調特性を作成する情報を記憶する記憶手段と、前記記憶手段に記憶された情報をもとに前記ルックアップテーブルを作成する作成手段と、前記総合階調特性を作成する情報をユーザが編集する編集手段とを有する構成とする。
【選択図】 図11
PROBLEM TO BE SOLVED: To easily create a look-up table for image processing suitable for a user's preference.
A look-up table is created for image data acquired by a digital camera from the gradation characteristics of the digital camera used, the gradation characteristics of the printer that prints the image data, and the target input / output overall gradation characteristics. An image processing apparatus comprising: means for performing gradation conversion processing on the image data using the lookup table; and storage means for storing information for creating the overall gradation characteristics; The apparatus includes a creating unit that creates the look-up table based on information stored in the storage unit, and an editing unit that edits information that creates the overall gradation characteristics.
[Selection] FIG.
Description
本発明は、画像処理のためのルックアップテーブルの作成に関するものである。 The present invention relates to creation of a lookup table for image processing.
デジタルカメラ、およびプリンタの高画質化に伴い、家庭で写真をプリントするユーザが増加しつつある。また、PCを使用せず、デジタルカメラとプリンタを直接接続することでより簡便に印刷するカメラダイレクトという新たな需要も注目されている。このような背景の下、さらなる高画質化を目指し、デジタルカメラとプリンタを合わせた総合的な画質、あるいは色再現をよりユーザの好みにあったものにする技術の開発が進んでいる(例えば特許文献1参照)。
しかしながら、文献1で挙げた発明は、RGB、あるいはCMYの複雑な3次元ルックアップテーブルを多用するため、メモリの使用量が増大する、ユーザ自身が複雑なルックアップテーブルをカスタマイズすることは非常に困難であるという問題がある。また、プリンタの出力可能な明度範囲は、印刷する用紙などに大きく依存するため、どのような用紙においてもユーザの好みにあった色再現で写真を印刷するためには、複雑なルックアップテーブルを用紙ごとにカスタマイズしなければならないという課題がある。
However, since the invention described in
よって、本発明は、ユーザの好みに合った画像処理のためのルックアップテーブルを簡単に作成することを目的とする。 Therefore, an object of the present invention is to easily create a look-up table for image processing that meets user preferences.
上記目的を達成するために、本発明は、デジタルカメラにより取得した画像データに対し、使用したデジタルカメラの階調特性、画像データを印刷するプリンタの階調特性および目標とする入出力の総合階調特性からルックアップテーブルを作成する手段と、前記ルックアップテーブルを用いて前記画像データに階調変換処理を施す手段とを備えた画像処理装置において、前記総合階調特性を作成する情報を記憶する記憶手段と、前記記憶手段に記憶された情報をもとに前記ルックアップテーブルを作成する作成手段と、前記総合階調特性を作成する情報をユーザが編集する編集手段とを有することを特徴とする。 In order to achieve the above-described object, the present invention provides a digital camera with gradation characteristics of a digital camera used, gradation characteristics of a printer that prints the image data, and a target input / output total scale for image data acquired by a digital camera. An information processing apparatus comprising: means for creating a look-up table from tone characteristics; and means for performing tone conversion processing on the image data using the look-up table; storing information for creating the overall tone characteristics Storage means for creating, a creation means for creating the lookup table based on information stored in the storage means, and an editing means for editing information for creating the overall gradation characteristics by a user. And
本発明によれば、ユーザの好みに合った画像処理のためのルックアップテーブルを簡単に作成することが出来る。 According to the present invention, it is possible to easily create a look-up table for image processing that meets user preferences.
次に、本発明の詳細を実施例の記述に従って説明する。 Next, details of the present invention will be described in accordance with the description of the embodiments.
以下図面を参照して本実施例を説明する。 The present embodiment will be described below with reference to the drawings.
図1は、本実施例を示すブロック図である。図1に示すように本実施の形態によるシステム構成は、デジタルカメラで被写体を撮影することにより取得された画像を記憶した記録媒体から画像データをシステムに入力するための画像入力部101、入力と出力を合わせた総合的な階調再現性を最適化するよう画像データの階調特性を変換する階調変換部102、階調変換に使用するルックアップテーブルを作成するテーブル作成部104、テーブルを作成するための情報が記憶されているテーブル作成情報記憶部105、撮影に使用したデジタルカメラの機種あるいは画像データを印刷するプリンタの機種などを選択するプリント情報入力部108、複数のデジタルカメラの種別ごとにそれぞれの階調特性が記憶されているカメラ階調テーブル記憶部106、複数のプリンタの種別ごとにそれぞれの階調特性が記憶されているプリンタ階調テーブル記憶部107、画像データを記憶媒体に出力する画像出力部103を備え、さらに、テーブル作成部104にて作成されたテーブルを編集するテーブル編集部111を備えている。
FIG. 1 is a block diagram showing the present embodiment. As shown in FIG. 1, the system configuration according to the present embodiment includes an
デジタルカメラで撮影された画像データは、PCのハードディスクなどの記憶媒体に記録されており、通常JPEG等の所定の形式で圧縮されている。画像入力部101において、この記録媒体に記録された画像データのファイルから画像データが取得される。このとき画像データは圧縮方式に対応した所定のアルゴリズムで伸長され、RGB3チャンネルの二次元画素配列からなる画像データS0に展開される。
Image data taken with a digital camera is recorded on a storage medium such as a hard disk of a PC, and is usually compressed in a predetermined format such as JPEG. In the
次に、画像データS0を取得する際に使用したデジタルカメラの種別、および印刷に使用するプリンタの機種や用紙をユーザが選択し、PCのキーボード等でその選択内容を入力することによりプリント情報入力部108において、デジタルカメラ機種、プリンタ機種、用紙等が選択される。プリント情報入力部108におけるデジタルカメラの種別、撮影モードの選択は、例えば図13に示すメニューからユーザに選択させるような方法とすることができる。ここで、メニュー1301はデジタルカメラ機種を選択するメニューである。また、メニュー1302はメニュー1301で選択されたデジタルカメラ種別における撮影モードを選択するためのメニューであり、その項目はデジタルカメラ種別により異なる。但し、画像データのタグ情報等からこれらの情報を読み取り可能な場合は、タグ情報等から自動的に取得する方法をとることができる。
Next, the user selects the type of digital camera used to acquire the image data S0, the printer model and paper used for printing, and inputs the selection details using the keyboard of the PC, etc. In the
カメラ階調テーブル記憶部106にはあらかじめ複数のデジタルカメラの種別、あるいはデジタルカメラの撮影モードごとの階調特性が記憶されている。例えば図13に示すデジタルカメラCの場合には、ストロボのON/OFF、ISO感度の設定、撮影モードの設定に応じてあらかじめ階調特性が異なる場合であり、これらの各設定に基づいて変換された画像データの階調特性の差異を吸収するため、あらかじめストロボのON/OFF、ISO感度の設定、撮影モードの設定ごとに複数の階調特性が記憶されているわけである。
The camera gradation
ここで、デジタルカメラの階調特性とは、例えば図8に示す形式で記録されているものであり、デジタルカメラにより撮影される被写体の明度と、その被写体をデジタルカメラで撮影したときのデジタルカメラの出力値との関係を表すものである。本実施の形態では、被写体の明度と、その被写体をデジタルカメラで撮影し取得されたRGB3チャンネルからなる画像データを式(1)にて変換したYとの対応を表すテーブルをデジタルカメラの階調特性とする。
Here, the gradation characteristics of the digital camera are recorded in the format shown in FIG. 8, for example. The brightness of the subject photographed by the digital camera and the digital camera when the subject is photographed by the digital camera. This represents the relationship with the output value of. In the present embodiment, a table indicating the correspondence between the brightness of a subject and Y obtained by converting the image data of
本実施例では、RGB形式の画像データから明度を抽出する方法として、YCCカラーベースを使用する。式(1)はRGBからYCCカラーベースへの変換式であり、これにより画像データのYCCカラーベースで値を算出し、そのうちのYを用いて階調特性の変換を行う。 In this embodiment, a YCC color base is used as a method for extracting brightness from RGB format image data. Formula (1) is a conversion formula from RGB to YCC color base, which calculates a value based on the YCC color base of the image data, and uses that Y to convert the gradation characteristics.
この特性は、例えば無彩色のグレーチャートをデジタルカメラで撮影し、画像データを取得すると同時に、グレーチャートの各パッチにおける明度を測定器を用いて測定することによって得られる。なお、デジタルカメラの階調特性は前述したものだけに限らず、デジタルカメラにより撮影される被写体の輝度と、その被写体をデジタルカメラで撮影したときのデジタルカメラの出力値との関係を表すものであるならばどのような量であってもよい。また、例えばデジタルカメラにおけるCCDセンサの受光量やCCDセンサ面の照度などを何らかの手段により測定した測定値と、その測定値に対応する入力をデジタルカメラに与えたときのデジタルカメラの出力値(例えばRGB値の平均値など)との対応をとったものなどでもよい。 This characteristic can be obtained, for example, by photographing an achromatic gray chart with a digital camera and acquiring image data, and simultaneously measuring the brightness of each patch of the gray chart using a measuring instrument. Note that the gradation characteristics of a digital camera are not limited to those described above, and represent the relationship between the brightness of a subject photographed by the digital camera and the output value of the digital camera when the subject is photographed by the digital camera. Any amount can be used. Also, for example, a measured value obtained by measuring the amount of light received by the CCD sensor or the illuminance on the CCD sensor surface of the digital camera by some means, and an output value of the digital camera when an input corresponding to the measured value is given to the digital camera (for example, It may be a correspondence with the average value of RGB values).
デジタルカメラの階調特性と同様に、画像データS0を印刷する際に使用するプリンタの種別、あるいはプリンタの印刷モードがユーザによりプリント情報入力部108にて選択される。プリント情報入力部108におけるプリンタ種別、印刷モードの選択は、例えば図14に示すメニューにより行われる。ここで、メニュー1401はプリンタ種別を選択するメニューである。また、メニュー1402はメニュー1401にて選択されたプリンタ種別における印刷モードを選択するメニューであり、その項目はプリンタ種別により異なる。
Similar to the gradation characteristics of the digital camera, the print
プリンタ階調テーブル記憶部107にはあらかじめ複数のプリンタの種別、あるいはプリンタの印刷モードごとの階調特性が記憶されている。例えば図14に示すプリンタCの場合には、印刷用紙の設定、ハーフトーンの設定に応じて階調特性が異なり、これらの各設定に応じて印刷されるプリントの階調特性の差異を吸収するため、あらかじめ印刷用紙の設定、ハーフトーンの設定に応じて複数の階調特性が記憶されている。これらの階調特性の中からプリント情報入力部108にて選択されたプリンタの種別、あるいはプリンタの印刷モードの階調特性が記憶される。
The printer gradation
ここで、プリンタの階調特性とは、例えば図9に示す形式で記録されているものであり、プリンタの入力値と、その入力値に対応するプリンタの出力値(プリントの明度)との関係を表すものである。本実施の形態では、プリンタに入力されるRGB3チャンネルからなる画像データを式(1)にて変換したYと、その入力に対応するプリンタの出力に相当する明度との対応を表すテーブルをプリンタの階調特性とする。この特性は、例えば公知のRGB3チャンネルからなるグレーチャート画像データ(各パッチにおけるRGB値が同一の0〜255までの値を割振ったデジタルデータである((0,0,0),(1,1,1),…(255,255,255))を作成し、プリンタで印刷し、各パッチの明度を測色器を用いて測定することにより得られる。この場合、作成したグレーチャート画像データにおける各パッチのRGB値を式(1)にて変換することにより得たYと、プリンタで印刷されたものを測定することにより得た各パッチの明度との対応がプリンタの階調特性となる。なお、プリンタの階調特性は前述したものだけに限らず、プリンタの入力値と、その入力値に対応するプリンタの出力との関係を表すものであればどのようなものであってもよい。例えば、プリンタの出力に対応する値を明度の変わりに濃度や反射率とすることもできる。
Here, the gradation characteristics of the printer are recorded in the format shown in FIG. 9, for example, and the relationship between the input value of the printer and the output value (print brightness) of the printer corresponding to the input value. Is expressed. In the present embodiment, a table indicating the correspondence between Y obtained by converting the image data composed of RGB three channels input to the printer by Expression (1) and the brightness corresponding to the output of the printer corresponding to the input is displayed on the printer. The gradation characteristics are used. This characteristic is, for example, known gray chart image data composed of
次に、撮影に使用したデジタルカメラや印刷に用いるプリンタに依存しない好ましい階調再現性を有する写真を取得するために画像データS0を変換するルックアップテーブルをテーブル作成部104にて作成する。このとき、テーブル作成情報記憶部105には、例えば図3に示すように、プリンタ機種や用紙の種別に依存する出力可能な明度の範囲(以降、出力レンジと称す)に対する被写体の撮影から出力までの全体を通しての総合的な階調特性である入出力総合階調特性の中間調の傾き(γ値)などがルックアップテーブルあるいは関数として記録されており、テーブル作成部104ではこのテーブル作成情報記憶部105に記憶されている情報にもとづき、ルックアップテーブルを作成する。以下、図2に従ってテーブル作成部104における処理を詳細に説明する。
Next, the
図2はテーブル作成部104における処理の流れを示す図である。まず、ステップ101ではテーブル作成情報記憶部に記憶された情報にしたがって、出力レンジに応じた入出力総合階調特性の傾きを求め、メモリ109に記憶する。ここで、出力レンジとは、プリント情報入力部108によって選択されたプリンタ種別、あるいは用紙の種別に対応したプリンタの階調特性において、出力可能な明度の範囲を意味する。ステップ101では、この出力レンジを入力としてテーブル作成情報記憶部106に記憶されている特性にしたがって対応する入出力総合階調特性における中間調の傾きをもとめるのである。ここで、図3に示したように、テーブル作成情報記憶部105は光沢紙や無光沢紙などのカテゴリ別に異なる複数の特性(ルックアップテーブルあるいは関数)を記憶可能であり、プリント情報入力部108にて入力された情報により適切なカテゴリの特性が選択される。
FIG. 2 is a diagram showing the flow of processing in the
次に、ステップ102にて入出力総合階調特性を自動的に設計し、メモリ109に記憶する。入出力総合階調特性とは、被写体の撮影から出力までの全体を通しての総合的な階調特性であり、ある明度をもつ被写体が、撮影され、プリントされた後に、どのような明度となってプリント上に再現されるべきかを表すものである。本実施の形態では、図7に示すように被写体の明度と、その明度に対応するプリンタの出力値(明度)との対応を表すテーブルにより入出力総合階調特性を表現する。ステップ102では、ステップ101にて求めた中間調の傾きをもつように入出力総合階調特性を設計するわけであるが、その方法については以降でのべる。なお、入出力総合階調特性はこれに限るものではなく、被写体の明度あるいはデジタルカメラにおけるCCDセンサ面の照度とプリンタの出力値との関係を表すものであればどのようなものであっても良い。ただし、被写体の明度に相当する量は、デジタルカメラの階調特性におけるデジタルカメラの入力値、または入力値から容易に相互変換できるものでなければならない。また、プリンタの出力値に相当する量は、プリンタの階調特性におけるプリンタの出力値、または容易に出力値に相互変換できるものでなければならない。
Next, in
ステップ103では、ステップ102で設計された入出力総合階調特性を実現するため、画像データS0に施す変換のルックアップテーブルを作成する。ステップ103で作成されるルックアップテーブルを図10に示す。図12は、ルックアップテーブル作成を説明するためのフローチャートを示した図であり、図11は、各テーブルの値からルックアップテーブルが作成される様子を示す図である。以下、図11および図12に従ってルックアップテーブルの作成方法について説明する。ここで、テーブル1101は図7に示した入出力総合階調特性、テーブル1102は図8に示したデジタルカメラの階調特性、テーブル1103は図9に示したプリンタの階調特性をそれぞれ表現したものであり、テーブル1104は図10に示したルックアップテーブルである。ただし、テーブル1102のデジタルカメラの階調特性は、デジタルカメラの出力(D列)が0〜255までの全ての値(256点)をとるように線形補間あるいはスプライン曲線などによって補間されているものとする。
In
まず、入出力総合階調テーブル1101のA列に記録されている各値において、それぞれの値に最も近い値をデジタルカメラ階調テーブル1102におけるC列から検索し、その値と対であるD列の値をルックアップテーブル1104のG列に記録する(ステップ1201)。次に、同じく目標階調テーブル1101のB列に記録されている各値において、それぞれの値に最も近い値をプリンタ階調テーブル1103におけるF列から検索し、その値と対であるE列の値をルックアップテーブル1104のH列に記録する(ステップ1202)。最後に、ルックアップテーブル1104における入力(G列)が0〜255までの全ての値(256点)をとるように線形補間、あるいはスプライン曲線などによって補間処理を行い、ルックアップテーブル1104を作成する(ステップ1203)。 First, in each value recorded in the A column of the input / output total gradation table 1101, the value closest to the respective value is searched from the C column in the digital camera gradation table 1102, and the D column that is paired with that value is searched. Is recorded in the G column of the lookup table 1104 (step 1201). Next, for each value recorded in the B column of the target gradation table 1101, a value closest to the respective value is searched from the F column in the printer gradation table 1103, and the value of the E column that is a pair with the value is searched. The value is recorded in the H column of the lookup table 1104 (step 1202). Finally, interpolation processing is performed by linear interpolation or a spline curve so that the input (G column) in the lookup table 1104 takes all values (256 points) from 0 to 255, and the lookup table 1104 is created. (Step 1203).
次に、階調変換部102において、画像入力部101から入力されたRGB3チャンネルからなる画像データS0は、ユーザが所望とする階調をもつプリントを実現するための同じくRGB3チャンネルからなる画像データS1に階調変換される。本実施の形態では、画像データS0におけるRGBデータを式(1)にて輝度YとCb、Crとからなるデータに変換し、輝度Yのみをテーブル作成部104にて作成されたルックアップテーブル1104を用いてテーブル変換する。その後、テーブル変換された輝度YとCb、Crとから式(2)により画像データS1のRGBにおける画像データを求める。
Next, in the
最後に、変換された画像データS1は、画像出力部109にて所定のプリンタの送られ、プリント情報入力部で入力された印刷モードで印刷される。もしくは、画像データS1をJPEGなどの所定形式によりPCのハードディスクなどの記憶媒体に記録させることも可能である。
Finally, the converted image data S1 is sent to a predetermined printer by the
図15はテーブル編集部111におけるユーザインタフェースを示す図である。図15に示すユーザインタフェースは、画像データS1を表示する画像データ表示部1801、テーブル作成情報記憶部105に記憶されている特性を示すテーブル作成情報表示部1802、テーブル作成部104にて作成するルックアップテーブルをユーザが調整するためのテーブル編集スライダ1805、およびテーブル編集つまみ1806、テーブル作成情報記憶部105に保存されている特性の更新を指示するテーブル作成情報更新ボタン1807、画像データ表示部1801に表示されている画像データS1を画像出力部103に送り、処理を終了するOKボタン1808、処理を中止するキャンセルボタン1809を備える。また、テーブル作成情報表示部1802において、テーブル作成特性1803は、例えば図3に示すテーブル作成情報記憶部105に記憶されている情報、あるいはユーザによって調整されたテーブル作成情報そのものを、テーブル作成特性制御点1804は、ユーザがテーブル作成特性1803を編集するために任意に指定したテーブル作成特性1803上の一点をそれぞれ表している。
FIG. 15 is a diagram showing a user interface in the table editing unit 111. The user interface shown in FIG. 15 includes an image
ユーザは、画像データ表示部1801に表示された画像データS1をみながら、テーブル編集つまみ1806、あるいはテーブル作成特性制御点1804をマウスなどの入力デバイスを用いて調整する。テーブル編集つまみ1806は、テーブル編集スライダ1805上で動かすことが可能であり、ユーザがテーブル編集つまみ1806を動かすと、テーブル編集スライダ1805内でのテーブル編集つまみ1806の位置関係により入出力総合階調特性の中間調の傾きが決定される。また、テーブル作成特性制御点1804をユーザが動かした場合には、テーブル作成特性1803はテーブル作成特性制御点1804を通るように自動的に変更され、そのテーブル作成特性1803に従って入出力総合階調特性の中間調の傾きが決定される。入出力総合階調特性の中間調の傾きが決定すると、第1の実施の形態と同様に、入出力総合階調特性が自動設計され(図2ステップ102)、ルックアップテーブルが作成される(図2ステップ103)。そして、作成されたルックアップテーブルにもとづき、階調変換部102にて変換された画像データS1が画像表示部1801に表示される。
While viewing the image data S1 displayed on the image
テーブル作成情報更新ボタン1807をユーザがマウス等の入力デバイスにより選択すると、テーブル作成情報記憶手段105にテーブル作成特性1803を保存する。また、OKボタンをユーザが選択した場合には、画像データ表示部1801に表示されている画像データS1が画像出力部103に送られ、印刷、あるいは記憶媒体に保存された後、すべての処理が終了する。キャンセルボタン1809はユーザが処理を中止するためのボタンであり、キャンセルボタン1809をユーザが選択すると、テーブル作成特性1803の更新、画像出力部103への画像データS1の送信等の処理を行わず、終了する。
When the user selects the table creation information update button 1807 with an input device such as a mouse, the
<入出力総合階調特性の設計ステップ102の説明>
図4は、入出力総合階調特性の設計を行うステップ102における処理の流れを示す図である。また、図5はステップ102において入出力総合階調特性を設計する上での基本特性を示しており、テーブル作成部104にあらかじめ記録されているものとする。この基本特性は、被写体の明度(横軸に相当)、およびプリントの明度(縦軸に相当)のとり得る範囲が0〜1の範囲になるよう正規化されおり、最小点(0,0)および最大点(1,1)を含む複数の点の集合により定義される。図5の例では、基本特性がP1〜P10の計10個の点で定義されており、P1が最大点、P10が最小点にあたいする。以降、i番目の点をPi、その座標を(xi,yi)と表記することとする。ただし、xiは点Piにおける正規化被写体明度、yiは点Piにおける正規化プリント明度である。以下、図4にしたがってステップ102の処理の流れを説明する。
<Description of
FIG. 4 is a diagram showing the flow of processing in
まず、ステップ201では、基本特性における横軸および縦軸が、それぞれ被写体明度、プリント明度に対応するよう式(3)により線形に伸長する。 First, in step 201, the horizontal axis and the vertical axis in the basic characteristics are linearly expanded by Equation (3) so as to correspond to the subject brightness and the print brightness, respectively.
ここで、x'max 、x'minはそれぞれデジタルカメラの階調特性の入力に対応する被写体明度の最大値、最小値を、y'max 、y'minはそれぞれプリンタの階調特性の出力に対応するプリント明度の最大値、最小値を意味している。また、x'i 、y'iは入出力総合階調特性を定義する点の集合において、i番目の点P'iにおけるx座標、y座標をそれぞれ表している。 Here, x'max and x'min are the maximum and minimum values of the subject brightness corresponding to the input of the gradation characteristics of the digital camera, respectively, and y'max and y'min are the output of the gradation characteristics of the printer, respectively. It means the maximum and minimum values of the corresponding print brightness. Further, x′i and y′i represent the x coordinate and y coordinate at the i-th point P′i in the set of points defining the input / output overall gradation characteristics, respectively.
次に、ステップ202において、入出力総合階調特性の中間調の特性を決定する直線Lを式(4)により定義する。 Next, in step 202, a straight line L that determines the halftone characteristic of the input / output total gradation characteristic is defined by equation (4).
式(4)において、γはステップ101にて決定された中間調の傾き、x'hc、y'hcは入出力総合階調特性の全ての点においてx座標の値がハイライトと中間調の境界としてあらかじめ決められている値x'mhに最も近い点Phcのx座標、y座標をそれぞれ意味する。
In equation (4), γ is the gradient of the halftone determined in
ステップ203では、入出力総合階調特性におけるシャドウ部の修正をおこなうためのシャドウ補正係数Sを式(5)により算出する。 In step 203, a shadow correction coefficient S for correcting the shadow part in the input / output overall gradation characteristics is calculated by the equation (5).
式(5)において、x'sc、y'scは入出力総合階調特性の全ての点においてx座標の値が中間調とシャドウの境界としてあらかじめ決められている値x'smに最も近い点Pscのx座標、y座標をそれぞれ意味する。 In equation (5), x'sc and y'sc are points where the value of the x coordinate is closest to the value x'sm predetermined as the boundary between the halftone and the shadow at all points of the input / output overall gradation characteristics It means the x coordinate and y coordinate of Psc, respectively.
最後に、ステップ204にて、中間調の傾きがγとなるように入出力総合階調特性を修正する。図6はステップ204における処理を説明する図である。図6において修正前として示した特性は、ステップ201にて求めた入出力総合階調特性P'iである。この修正前の特性を、中間調がステップ202にて定義した直線Lに沿うように変更し、修正後の特性を得る。このとき、シャドウは中間調の変更に応じて、シャドウ補正係数Sをかけることにより補正される。式(6)に入出力総合階調特性を修正する式を示す。 Finally, in step 204, the input / output total tone characteristics are corrected so that the halftone gradient becomes γ. FIG. 6 is a diagram for explaining the processing in step 204. The characteristic shown as uncorrected in FIG. 6 is the input / output total gradation characteristic P′i obtained in step 201. The characteristic before correction is changed so that the halftone is along the straight line L defined in step 202, and the characteristic after correction is obtained. At this time, the shadow is corrected by applying a shadow correction coefficient S in accordance with the change of the halftone. Expression (6) shows an expression for correcting the input / output overall gradation characteristics.
以上のように求めた入出力総合階調特性の各点P'iは例えば図7に示すテーブルとしてメモリ109に記憶される。また、入出力総合階調特性を求める方法は、上記で説明した方法に限らず、本実施の形態のように中間調の傾きを規定する場合には、中間調の傾きに対し一意に入出力総合階調特性が決定される方法であればどのような方法であってもよい。
Each point P′i of the input / output total gradation characteristics obtained as described above is stored in the
(他の実施例)
本実施例は、デジタルカメラで撮影し、記録した画像データをパーソナルコンピュータ(PC)上で動作するアプリケーションプログラムで処理し、画像データを表示、変換するシステムに適用することができる。ここで、PCは、一般にOSやアプリケーション等のプログラムが動作するためのCPUおよびRAMを備え、画像データを入力するためのメモリカードあるいはUSB等の入力インタフェース、処理された画像データを出力するためのディスプレイまたはプリンタへのデータ出力インタフェースおよびユーザがアプリケーションに対し指示するためのキーボード等のユーザインタフェースを備える。
(Other examples)
This embodiment can be applied to a system for displaying and converting image data by processing image data captured and recorded with a digital camera with an application program operating on a personal computer (PC). Here, the PC generally includes a CPU and a RAM for operating programs such as an OS and applications, an input interface such as a memory card or USB for inputting image data, and for outputting processed image data. A data output interface to a display or printer and a user interface such as a keyboard for a user to instruct an application are provided.
また、上記実施例では、デジタルカメラで取得した画像データを、プリンタで出力する画像処理システムを挙げたが、これに限るものではなく、例えば銀塩写真フィルムをスキャナ等でデジタル化し、モニタに表示する画像処理システムにも適用することができる。このとき、第1〜3の実施の形態におけるカメラ階調テーブルに記憶されるテーブルは、銀塩写真フィルムとスキャナの特性を合わせた被写体の明度とスキャン後のデジタルデータとの対応を表すテーブルとなり、またプリンタ階調テーブルに記憶されるテーブルは、モニタに出力するデジタルデータと、実際にモニタに表示された明度との対応を表すテーブルとなる。 In the above embodiment, the image processing system that outputs the image data acquired by the digital camera with the printer is described. However, the present invention is not limited to this. For example, the silver halide photographic film is digitized with a scanner or the like and displayed on the monitor. The present invention can also be applied to an image processing system. At this time, the table stored in the camera gradation table in the first to third embodiments is a table that represents the correspondence between the brightness of the subject that combines the characteristics of the silver halide photographic film and the scanner and the digital data after scanning. The table stored in the printer gradation table is a table representing the correspondence between the digital data output to the monitor and the brightness actually displayed on the monitor.
さらに、上記実施例では、入出力総合階調特性における中間調の傾きをパラメータとして画像データの見えを調整する画像処理システムを挙げたが、これに限るものではなく、例えば画像の明るさ等をパラメータとして入出力総合階調特性を調整することも可能である。 Furthermore, in the above-described embodiment, the image processing system that adjusts the appearance of the image data using the gradient of the halftone in the input / output overall gradation characteristics as a parameter has been described. However, the present invention is not limited thereto. It is also possible to adjust the input / output overall gradation characteristics as parameters.
Claims (4)
前記ルックアップテーブルを用いて前記画像データに階調変換処理を施す手段とを備えた画像処理装置において、
前記総合階調特性を作成する情報を記憶する記憶手段と、
前記記憶手段に記憶された情報をもとに前記ルックアップテーブルを作成する作成手段と、
前記総合階調特性を作成する情報をユーザが編集する編集手段とを有することを特徴とする画像処理装置。 Means for creating a look-up table for the image data acquired by the digital camera from the gradation characteristics of the used digital camera, the gradation characteristics of the printer that prints the image data, and the target input / output overall gradation characteristics;
Means for performing a gradation conversion process on the image data using the lookup table;
Storage means for storing information for creating the overall gradation characteristics;
Creating means for creating the lookup table based on information stored in the storage means;
An image processing apparatus comprising: editing means for a user to edit information for creating the overall gradation characteristic.
前記記憶手段は、パラメータとして少なくとも印刷に使用する用紙の情報を含み、前記パラメータから総合階調特性における中間調の傾きを決定する情報を記憶することを特徴とする画像処理装置。 The image processing apparatus according to claim 1.
The image processing apparatus, wherein the storage unit includes at least information on paper used for printing as a parameter, and stores information for determining a halftone inclination in the overall gradation characteristics from the parameter.
前記ルックアップテーブルを用いて前記画像データに階調変換処理を施す工程とを有する画像処理方法において、
前記総合階調特性を作成する情報を記憶する記憶工程と、
前記記憶工程に記憶された情報をもとに前記ルックアップテーブルを作成する作成工程と、
前記総合階調特性を作成する情報をユーザが編集する編集工程とを備えたことを特徴とする画像処理方法。
For the image data acquired by the digital camera, a step of creating a lookup table from the gradation characteristics of the digital camera used, the gradation characteristics of the printer that prints the image data, and the target input / output total gradation characteristics;
A step of performing a gradation conversion process on the image data using the lookup table,
A storage step of storing information for creating the overall gradation characteristics;
A creation step of creating the lookup table based on the information stored in the storage step;
An image processing method comprising: an editing step in which a user edits information for creating the overall gradation characteristic.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005355059A JP2007159029A (en) | 2005-12-08 | 2005-12-08 | Image processing apparatus and image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005355059A JP2007159029A (en) | 2005-12-08 | 2005-12-08 | Image processing apparatus and image processing method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2007159029A true JP2007159029A (en) | 2007-06-21 |
Family
ID=38242759
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005355059A Withdrawn JP2007159029A (en) | 2005-12-08 | 2005-12-08 | Image processing apparatus and image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2007159029A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2014488A1 (en) | 2007-06-15 | 2009-01-14 | Sumitomo Rubber Industries, Ltd. | Pneumatic tire |
-
2005
- 2005-12-08 JP JP2005355059A patent/JP2007159029A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2014488A1 (en) | 2007-06-15 | 2009-01-14 | Sumitomo Rubber Industries, Ltd. | Pneumatic tire |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6760485B1 (en) | Nonlinearly modifying a rendered digital image | |
| JP4576770B2 (en) | Generating image files | |
| US7450281B2 (en) | Image processing apparatus and information processing apparatus, and method thereof | |
| JP3991196B2 (en) | Image processing system and image processing server | |
| JP5344518B2 (en) | Image processing method and image processing apparatus | |
| JP2006350498A (en) | Image processor and image processing method and program | |
| JP2003153016A (en) | Method and system for determining form of input medium, using color correction matrix | |
| JP2005190435A (en) | Image processing method, image processing apparatus and image recording apparatus | |
| JP2005208817A (en) | Image processing method, image processor, and image recording device | |
| US6781713B1 (en) | Correcting exposure in a rendered digital image | |
| JP4115177B2 (en) | Image processing method, image processing apparatus, and image processing program | |
| JPWO2005079056A1 (en) | Image processing apparatus, photographing apparatus, image processing system, image processing method and program | |
| JP4906658B2 (en) | Color processing apparatus and method | |
| JP2008244997A (en) | Image processing system | |
| US6856427B1 (en) | System for printing correct exposure in a rendered digital image | |
| JP2004088345A (en) | Image forming method, image processor, print preparation device, and storage medium | |
| JP2008244996A (en) | Image processing system | |
| JP2006295303A (en) | Image processing method, apparatus and program | |
| JP4002526B2 (en) | Image correction method, apparatus and program | |
| JP2004336521A (en) | Image processing method, image processor, and image recording apparatus | |
| US20070014483A1 (en) | Apparatus, method and program for image processing | |
| JP2007159029A (en) | Image processing apparatus and image processing method | |
| JP2006350769A (en) | Image processing device, method and program | |
| JP2011004009A (en) | Image processing apparatus, image processing method, and program | |
| JP2007166307A (en) | Image processing apparatus and image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090303 |