JP2014042205A - Image processing device, image processing method, and image processing program - Google Patents

Image processing device, image processing method, and image processing program Download PDF

Info

Publication number
JP2014042205A
JP2014042205A JP2012184292A JP2012184292A JP2014042205A JP 2014042205 A JP2014042205 A JP 2014042205A JP 2012184292 A JP2012184292 A JP 2012184292A JP 2012184292 A JP2012184292 A JP 2012184292A JP 2014042205 A JP2014042205 A JP 2014042205A
Authority
JP
Japan
Prior art keywords
image data
profile
exposure setting
image processing
exposure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012184292A
Other languages
Japanese (ja)
Inventor
Kazuhiro Yamada
和博 山田
Koji Yamazumi
康治 山積
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2012184292A priority Critical patent/JP2014042205A/en
Publication of JP2014042205A publication Critical patent/JP2014042205A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image processing device and the like that are capable of creating image data faithfully representing a color of a subject without the need to create a profile each time the subject is photographed.SOLUTION: A plurality of profiles created for respective exposure settings are prepared in advance, an optimum profile is selected therefrom on the basis of an exposure setting in photographing a subject, and image data is corrected using the selected profile.

Description

本発明は、被写体の色を忠実に再現する画像データを作成する装置等の技術分野に関する。   The present invention relates to a technical field such as an apparatus for creating image data that faithfully reproduces the color of a subject.

従来、絵画などの美術品をデジタルカメラで撮影し、画像をウェブサイトに掲載したり、印刷したりするなど幅広く活用することが行われている。こうした美術品等を撮影した画像は、実物の色を忠実に再現することが求められる。ところが、一般的なデジタルカメラは実物より色を鮮やかにするなどの色調整を行っており、その調整度合いも機種或いはカメラメーカーによって異なっている。   Conventionally, art objects such as paintings are photographed with a digital camera, and images are posted on a website or printed. An image obtained by photographing such a work of art is required to faithfully reproduce the actual color. However, a general digital camera performs color adjustment such as making the color brighter than the actual product, and the degree of adjustment varies depending on the model or camera manufacturer.

そのため、デジタルカメラで撮影して得られた画像データに補正をかけることにより、実物の色を忠実に再現するという手法がとられている。例えば、特許文献1に記載の技術のように、カラーチャートを撮影して、プロファイル(LUT(Look up Table)を含む)を作成して被写体の色を測色的に精度よく得る方法が知られている。   For this reason, a technique has been adopted in which the actual color is faithfully reproduced by correcting image data obtained by photographing with a digital camera. For example, as in the technique described in Patent Document 1, a method is known in which a color chart is photographed, a profile (including a LUT (Look up Table)) is created, and the color of the subject is obtained with high colorimetric accuracy. ing.

特開2007−324970号公報JP 2007-324970 A

しかしながら、特許文献1に記載の技術などの従来技術では、被写体毎にカラーチャートを撮影してプロファイルを作成する必要がある。また、撮影時の露出設定を正確に行なわなければ、画像が明るくなったり暗くなったりしてしまい、美術品の色を忠実に表現できないという問題もある。したがって、被写体を撮影する度に正確に露出設定を行い、プロファイルを作成するという作業が必要となり、多数の被写体を撮影する場合に多大な労力を要していた。   However, in the conventional technique such as the technique described in Patent Document 1, it is necessary to create a profile by photographing a color chart for each subject. In addition, if the exposure setting at the time of shooting is not performed accurately, the image becomes brighter or darker, and there is a problem that the color of the artwork cannot be expressed faithfully. Therefore, every time a subject is photographed, it is necessary to perform exposure setting accurately and create a profile, and much labor is required when photographing a large number of subjects.

本発明は、このような問題等に鑑みて為されたもので、被写体を撮影する度にプロファイルを作成する必要がなく、被写体の色を忠実に表現する画像データを作成することができる画像処理装置等を提供することを課題とする。   The present invention has been made in view of such problems, and it is not necessary to create a profile every time a subject is photographed, and image processing that can create image data that faithfully represents the color of the subject. It is an object to provide a device or the like.

上記課題を解決するために、請求項1に記載の発明は、カメラによりカラーチャートを異なる露出設定で撮影して得られた画像データに基づいて、当該露出設定毎に作成された複数のプロファイルを記憶するプロファイル記憶手段と、平面部を有する被写体の当該平面部をカメラで撮影して得られた画像データを取得する画像データ取得手段と、前記画像データ取得手段により取得された画像データが表す画像を撮影した際の露出設定を特定する露出特定手段と、前記プロファイル記憶手段に記憶されている複数のプロファイルの中から、前記特定した露出設定と同じ露出設定で前記カラーチャートを撮影することにより作成されたプロファイルを選択するプロファイル選択手段と、前記選択されたプロファイルを用いて、前記取得した画像データを補正し、補正済画像データを作成する補正済画像データ作成手段と、を備えることを特徴とする画像処理装置である。   In order to solve the above-mentioned problem, the invention according to claim 1 is based on image data obtained by photographing a color chart with a camera at different exposure settings, and includes a plurality of profiles created for each exposure setting. Profile storage means for storing, image data acquisition means for acquiring image data obtained by photographing the plane portion of a subject having a plane portion with a camera, and an image represented by the image data acquired by the image data acquisition means Created by shooting the color chart with the same exposure setting as the specified exposure setting from among a plurality of profiles stored in the profile storage means, and an exposure specifying means for specifying the exposure setting when shooting A profile selection means for selecting the selected profile, and the acquired image using the selected profile. Corrected over data, an image processing apparatus characterized by comprising, a corrected image data generating means for generating corrected image data.

請求項2に記載の発明は、請求項1に記載の画像処理装置であって、前記プロファイル記憶手段は、前記カラーチャートを撮影する際の前記露出設定をn段階変更して得られた画像データ毎に特定される色値(例えば、RGB値)と、前記カラーチャートを測色器により測色することにより特定される測色値(例えば、L*a*b*値)に基づいて作成されたn個の前記プロファイルを記憶することを特徴とする。   A second aspect of the present invention is the image processing apparatus according to the first aspect, wherein the profile storage means obtains image data obtained by changing the exposure setting for photographing the color chart by n stages. Created based on color values (for example, RGB values) specified for each color and color measurement values (for example, L * a * b * values) specified by measuring the color chart with a colorimeter. The n number of profiles are stored.

請求項3に記載の発明は、請求項2に記載の画像処理装置であって、前記色値は、前記カラーチャートを撮影するカメラにおけるシャッタースピードの設定値を固定し、絞り値(F値)をn段階変更することにより、前記露出設定をn段階変更して得られた前記画像データ毎に特定されることを特徴とする。   A third aspect of the present invention is the image processing apparatus according to the second aspect, wherein the color value fixes a shutter speed setting value in a camera that captures the color chart, and an aperture value (F value). Is changed for n stages, and is specified for each image data obtained by changing the exposure setting for n stages.

請求項4に記載の発明は、請求項2又は3に記載の画像処理装置であって、n段階分の前記色値と、前記測色値に基づいて、n個の前記プロファイルを作成するプロファイル作成手段を、更に備えることを特徴とする。   The invention according to claim 4 is the image processing apparatus according to claim 2 or 3, wherein n profiles are created based on the color values for n stages and the colorimetric values. It is characterized by further comprising creation means.

請求項5に記載の発明は、請求項1乃至4の何れか一項に記載の画像処理装置であって、前記画像データ取得手段により取得される画像データには、当該画像データを撮影した際の露出設定を示す露出設定情報が関連付けられており、前記露出特定手段は、画像データに関連付けられている露出設定情報を参照して、露出設定を特定することを特徴とする。   A fifth aspect of the present invention is the image processing apparatus according to any one of the first to fourth aspects, wherein the image data acquired by the image data acquiring unit is captured when the image data is captured. Exposure setting information indicating the exposure setting is associated, and the exposure specifying unit specifies the exposure setting with reference to the exposure setting information associated with the image data.

請求項6に記載の発明は、画像処理装置により行われる画像処理方法であって、平面部を有する被写体の当該平面部をカメラで撮影して得られた画像データを取得する画像データ取得工程と、前記画像データ取得工程により取得した画像データが表す画像を撮影した際の露出設定を特定する露出特定工程と、前記カメラによりカラーチャートを異なる露出設定で撮影して得られた画像データに基づいて、当該露出設定毎に作成された複数のプロファイルを記憶するプロファイル記憶手段に記憶されている複数のプロファイルの中から、前記特定した露出設定と同じ露出設定で前記カラーチャートを撮影することにより作成されたプロファイルを選択するプロファイル選択工程と、前記選択されたプロファイルを用いて、前記取得した画像データを補正し、補正済画像データを作成する補正済画像データ作成工程と、を含むことを特徴とする。   The invention according to claim 6 is an image processing method performed by an image processing apparatus, and an image data acquisition step of acquiring image data obtained by photographing the plane portion of a subject having a plane portion with a camera; An exposure specifying step for specifying an exposure setting when the image represented by the image data acquired by the image data acquisition step is shot, and image data obtained by shooting a color chart with different exposure settings by the camera. The color chart is created by photographing the color chart with the same exposure setting as the specified exposure setting from the plurality of profiles stored in the profile storage means for storing the plurality of profiles created for each exposure setting. A profile selection step of selecting the acquired profile and the acquired image data using the selected profile. Corrected, characterized in that it comprises a and a corrected image data creation step of creating the corrected image data.

請求項7に記載の発明は、カメラによりカラーチャートを異なる露出設定で撮影して得られた画像データに基づいて、当該露出設定毎に作成された複数のプロファイルを記憶するプロファイル記憶手段を備える画像処理装置に含まれるコンピュータを、平面部を有する被写体の当該平面部を前記カメラで撮影して得られた画像データを取得する画像データ取得手段、前記画像データ取得手段により取得された画像データが表す画像を撮影した際の露出設定を特定する露出特定手段、前記プロファイル記憶手段に記憶されている複数のプロファイルの中から、前記特定した露出設定と同じ露出設定で前記カラーチャートを撮影することにより作成されたプロファイルを選択するプロファイル選択手段、前記選択されたプロファイルを用いて、前記取得した画像データを補正し、補正済画像データを作成する補正済画像データ作成手段、として機能させる画像処理プログラムである。   The invention according to claim 7 is an image comprising profile storage means for storing a plurality of profiles created for each exposure setting based on image data obtained by photographing a color chart with a camera at different exposure settings. A computer included in the processing apparatus represents image data acquired by the image data acquisition unit, image data acquisition unit for acquiring image data obtained by photographing the plane unit of a subject having a plane unit with the camera, and the image data acquired by the image data acquisition unit Created by photographing the color chart with the same exposure setting as the identified exposure setting from among a plurality of profiles stored in the profile storage means, an exposure specifying means for specifying an exposure setting at the time of taking an image Profile selection means for selecting the selected profile, using the selected profile, Correcting the acquired image data, corrected image data generating means for generating corrected image data, an image processing program to function as a.

本発明によれば、予め露出設定毎に作成されたプロファイルの中から選択された最適なプロファイルに基づいて、画像データが補正されることから、被写体を撮影する度にプロファイルを作成する必要がなく、被写体の色を忠実に表現する画像データを作成することができる。   According to the present invention, since the image data is corrected based on the optimum profile selected from the profiles created in advance for each exposure setting, it is not necessary to create a profile each time a subject is photographed. Image data that faithfully represents the color of the subject can be created.

画像処理装置1の機能を説明するための概念図である。3 is a conceptual diagram for explaining functions of the image processing apparatus 1. FIG. 画像処理装置1の構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a configuration of an image processing device 1. FIG. (a)入力プロファイルIPF(スキャナプロファイル)の一例を示す図である。(b)出力プロファイルOPF(カラースペースプロファイル)の一例を示す図である。(A) It is a figure which shows an example of input profile IPF (scanner profile). (B) It is a figure which shows an example of output profile OPF (color space profile). カラーチャート33をカメラ31で撮影する際のカメラ31等の配置の一例を示す図である。It is a figure which shows an example of arrangement | positioning of the camera 31 at the time of imaging | photography the color chart 33 with the camera 31. FIG. 画像処理装置1の制御部11による画像補正処理の一例を示すフローチャートである。4 is a flowchart illustrating an example of image correction processing by a control unit 11 of the image processing apparatus 1.

以下、図面を参照して本発明の実施形態について説明する。本実施形態は本願発明を画像処理装置1に適用した実施形態である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The present embodiment is an embodiment in which the present invention is applied to the image processing apparatus 1.

図1に示すように、本実施形態の画像処理装置1(「画像処理装置」の一例。)は、複数の入力プロファイルIPFn(n=1,2,3,・・・、9)と、出力プロファイルOPFを記憶している。本実施形態では、9個の入力プロファイルIPFnは、露出設定を9段階変更しながらカラーチャートを撮影して得られる画像データ(ピクセル毎にRGB値を保持するデータ)と、カラーチャートを測色計で測色することにより得られる測色値に基づいて作成される。画像処理装置1は、絵画(「被写体」の一例。)の絵が描かれている面(「平面部」の一例。)を撮影した画像データBDを取り込むと、入力プロファイルIPF及び出力プロファイルOPFに基づいて補正した補正済画像データADを作成する画像補正処理を行う。具体的には、画像処理装置1は、画像データBD(ピクセル毎にRGB値を保持するデータ)を適切に選択した入力プロファイルIPFを用いて中間データMD(ピクセル毎にL*a*b*値を保持するデータ)を作成し、中間データMDを、出力プロファイルOPFを用いて補正済画像データAD(ピクセル毎にRGB値を保持するデータ)を作成する。   As shown in FIG. 1, the image processing apparatus 1 (an example of “image processing apparatus”) according to the present embodiment has a plurality of input profiles IPFn (n = 1, 2, 3,..., 9) and outputs. A profile OPF is stored. In the present embodiment, the nine input profiles IPFn include image data (data holding RGB values for each pixel) obtained by photographing a color chart while changing exposure settings in nine steps, and a color chart. It is created on the basis of the colorimetric values obtained by performing colorimetry with. When the image processing apparatus 1 captures image data BD obtained by capturing a surface (an example of a “plane part”) on which a picture of a painting (an example of a “subject”) is drawn, the image processing apparatus 1 includes the input profile IPF and the output profile OPF. An image correction process for creating corrected image data AD corrected based on the image data is performed. Specifically, the image processing apparatus 1 uses intermediate data MD (L * a * b * value for each pixel) using an input profile IPF that appropriately selects image data BD (data that holds RGB values for each pixel). ), And intermediate image MD is created as corrected image data AD (data holding RGB values for each pixel) using output profile OPF.

次に、図2を用いて画像処理装置1の構成について説明する。画像処理装置1は、制御部11、記憶部12、インターフェース部13、表示部14、及び操作部15を備えている。   Next, the configuration of the image processing apparatus 1 will be described with reference to FIG. The image processing apparatus 1 includes a control unit 11, a storage unit 12, an interface unit 13, a display unit 14, and an operation unit 15.

記憶部12は、例えば、HDD(Hard disk drive)等により構成されており、オペレーティングシステムや、アプリケーションプログラム等の各種プログラムを記憶する。特に、本実施形態の記憶部12には、画像補正処理を行うためのアプリケーションプログラム(以下、「画像補正アプリ」という。)が記憶されている。なお、各種プログラムは、例えば、他のサーバ装置等からネットワークを介して取得されるようにしても良いし、CD(Compact Disc)、DVD(Digital Versatile Disc)等の記録媒体に記録されてドライブ装置を介して読み込まれるようにしても良い。   The storage unit 12 includes, for example, a hard disk drive (HDD) and stores various programs such as an operating system and application programs. In particular, the storage unit 12 of the present embodiment stores an application program (hereinafter referred to as “image correction application”) for performing image correction processing. Note that the various programs may be acquired from another server device or the like via a network, or may be recorded on a recording medium such as a CD (Compact Disc) or a DVD (Digital Versatile Disc) to be a drive device. You may make it read via.

また、記憶部12(「プロファイル記憶手段」の一例。)は、入力プロファイルIPF1〜IPF9と出力プロファイルOPFを記憶する。   The storage unit 12 (an example of “profile storage unit”) stores the input profiles IPF1 to IPF9 and the output profile OPF.

ここで、入力プロファイルIPFnと出力プロファイルOPFについて説明する。入力プロファイルIPFnは、いわゆるスキャナプロファイルである。プロファイルは一般的に2つのLUTを保持する構造となっており、一つは色値をL*a*b*値に変換するLUT(AtoB)であり、もう一つはL*a*b*値を色値に変換するLUT(BtoA)である。図3(a)に示すように、スキャナプロファイル(入力プロファイルIPFn)は、RGB値(「色値」の一例)をL*a*b*値に変換するLUT(AtoB)を保持する。   Here, the input profile IPFn and the output profile OPF will be described. The input profile IPFn is a so-called scanner profile. A profile is generally structured to hold two LUTs, one is a LUT (AtoB) that converts color values to L * a * b * values, and the other is L * a * b *. LUT (BtoA) that converts values to color values. As shown in FIG. 3A, the scanner profile (input profile IPFn) holds an LUT (AtoB) that converts an RGB value (an example of “color value”) into an L * a * b * value.

一方、出力プロファイルOPFは、いわゆるカラースペースプロファイルである。図3(b)に示すように、カラースペースプロファイル(出力プロファイルOPF)は、RGB値をL*a*b*値に変換するLUT(AtoB)と、L*a*b*値をRGB値に変換するLUT(BtoA)の値を保持するプロファイルである。なお、本実施形態における出力プロファイルOPFとしては、従来公知のプロファイル(画像処理ソフトやカメラにインストールされているプロファイルや、メーカーのwebサイト等からダウンロード可能なプロファイル)を使用する。また、出力プロファイルOPFには、国際電気標準会議(IEC)が定めた国際標準規格のsRGBか、Adobe Systemsが定めたAdobeRGBを使用することができる。   On the other hand, the output profile OPF is a so-called color space profile. As shown in FIG. 3B, the color space profile (output profile OPF) includes an LUT (AtoB) that converts RGB values to L * a * b * values, and L * a * b * values to RGB values. This profile holds the LUT (BtoA) value to be converted. As the output profile OPF in this embodiment, a conventionally known profile (a profile installed in image processing software or a camera, a profile that can be downloaded from a manufacturer's website, or the like) is used. The output profile OPF can use sRGB of the international standard defined by the International Electrotechnical Commission (IEC) or AdobeRGB defined by Adobe Systems.

すなわち、画像処理装置1は、入力プロファイルIPFnのAtoBのLUTを用いて、画像データBD(RGB値)から中間データMD(L*a*b*値)に変換し、また、出力プロファイルOPFのBtoAのLUTを用いて、中間データMD(L*a*b*値)から補正済画像データAD(RGB値)に変換する。   That is, the image processing apparatus 1 converts the image data BD (RGB value) into the intermediate data MD (L * a * b * value) using the AtoB LUT of the input profile IPFn, and also outputs the BtoA of the output profile OPF. The intermediate data MD (L * a * b * value) is converted into corrected image data AD (RGB value) using the LUT.

次に、入力プロファイルIPFnの作成方法について簡単に説明する。   Next, a method for creating the input profile IPFn will be briefly described.

まず、図4(A)、(B)に示すようにカラーチャート33(例えば、x-rite社の「カラーチェッカー SG」等を用いることができる。)をデジタルカメラ31で撮影する。図4(A)に示すようにカラーチャート33に対して左45度の位置と、右45度の位置に光源32L、32Rが設けられており、光源32L、32Rがカラーチャート33に光源ムラが起きないように均一に光を当てることとする。なお、光源ムラが起きていないかの判断は、カラーチャート33の4隅に設けられたグレーパッチ(グレーを表すカラーパッチ)の各RGB値を、デジタルカメラ31と接続したPC(Personal Computer)の表示部にて確認することにより行うことができる。すなわち、4隅のRGB値がほぼ同じ値であれば光源ムラが起きていないと判断することができる。また、照度計を用いて4隅の照度を測定し、ほぼ同じ値であれば光源ムラが起きていないと判断することもできる。   First, as shown in FIGS. 4A and 4B, a color chart 33 (for example, “Color Checker SG” manufactured by x-rite, etc. can be used) is photographed by the digital camera 31. As shown in FIG. 4A, light sources 32L and 32R are provided at 45 degrees to the left and 45 degrees to the right with respect to the color chart 33. The light sources 32L and 32R have light source unevenness on the color chart 33. Let the light shine evenly to prevent it from happening. It should be noted that whether or not the light source unevenness has occurred is determined by the PC (Personal Computer) connected to the digital camera 31 using the RGB values of the gray patches (color patches representing gray) provided at the four corners of the color chart 33. This can be done by checking on the display unit. That is, if the RGB values at the four corners are substantially the same value, it can be determined that light source unevenness has not occurred. Further, the illuminance at the four corners is measured using an illuminometer, and if the values are substantially the same, it can be determined that light source unevenness has not occurred.

カラーチャート33の撮影は露出設定を変えながら9段階分行う。具体的には、露出設定を、-2段、-1 1/2段、-1段、-1/2段、適正露出、+1/2段、+1段、+1 1/2段、+2段と変えて撮影を行う。露出設定の変更は、デジタルカメラ31の絞り値(F値)を変更するにより行うことができる。このとき、シャッタースピードは一定(固定)とする。なお、適正露出は、白を表すカラーパッチのR値、G値、B値がそれぞれ約240となるような露出とする。   The color chart 33 is shot for nine stages while changing the exposure setting. Specifically, the exposure settings are -2, -1, 1/2, --1, -1/2, proper exposure, +1/2, +1, +1 1/2, Change to +2 steps and shoot. The exposure setting can be changed by changing the aperture value (F value) of the digital camera 31. At this time, the shutter speed is constant (fixed). The appropriate exposure is such that the R value, G value, and B value of the color patch representing white are about 240, respectively.

9段階分の撮影が完了したら、それぞれの画像データを画像処理装置1に取り込む。   When shooting for nine stages is completed, each image data is taken into the image processing apparatus 1.

次に、カラーチャート33に光源ムラが起きないように均一に光を当てた状態で、カラーチャート33における各カラーパッチの測色値であるL*a*b*値(「第2の測色値」の一例。)を、測色計を用いて測定する。測定したL*a*b*値は、画像処理装置1に取り込む。   Next, in a state where light is uniformly applied to the color chart 33 so as not to cause light source unevenness, L * a * b * values (“second colorimetry”) which are colorimetric values of each color patch in the color chart 33. An example of “value”.) Is measured using a colorimeter. The measured L * a * b * value is taken into the image processing apparatus 1.

次に、画像処理装置1に取り込んだ9段階分の画像データのRGB値と、測色計で測色したL*a*b*値の対応関係から、9段階分の入力プロファイルIPF1〜IPF9を作成する。入力プロファイルIPFnの作成には、従来公知のプロファイル作成ソフト(例えば、x-rite社のProfileMaker)を用いることができる。プロファイル作成ソフトでは、ユーザが、作成するプロファイルの種類として「スキャナ」を選択し、カラーチャート33の画像データと、予め測色計で測定したカラーチャート33のL*a*b*値を取り込んだ後に、プロファイル作成ボタンを選択することにより、画像データのRGB値とL*a*b*値の対応関係からプロファイルが作成される。こうして作成された入力プロファイルIPF1〜IPF9は、記憶部12に記憶させておく。   Next, the input profiles IPF1 to IPF9 for nine levels are obtained from the correspondence between the RGB values of the nine levels of image data captured in the image processing apparatus 1 and the L * a * b * values measured by the colorimeter. create. For creating the input profile IPFn, conventionally known profile creation software (for example, ProfileMaker of x-rite) can be used. In the profile creation software, the user selects “scanner” as the type of profile to be created, and captures the image data of the color chart 33 and the L * a * b * values of the color chart 33 measured in advance by a colorimeter. Later, by selecting a profile creation button, a profile is created from the correspondence between the RGB values of the image data and the L * a * b * values. The input profiles IPF1 to IPF9 created in this way are stored in the storage unit 12.

インターフェース部13は他の装置や機器との間で送受信されるデータの窓口の役割を果たす。例えば、インターフェース部13は、図示しないデジタルカメラが撮影した画像データを受信する際のデータ変換等や、図示しない測色器から得られた測色値データを受信する際のデータ変換等を行う。   The interface unit 13 serves as a window for data exchanged with other devices and devices. For example, the interface unit 13 performs data conversion when receiving image data captured by a digital camera (not shown), data conversion when receiving colorimetric value data obtained from a colorimeter (not shown), and the like.

表示部14は、例えば、液晶ディスプレイ等により構成されており、オペレータが画像処理装置1を操作する際の操作画面等を表示する。また、操作部15は、例えば、キーボードやマウス等により構成されており、オペレータの操作を受け付け、操作内容を示す操作信号を制御部11に送信する。   The display unit 14 is configured by a liquid crystal display, for example, and displays an operation screen or the like when the operator operates the image processing apparatus 1. The operation unit 15 includes, for example, a keyboard, a mouse, and the like. The operation unit 15 receives an operation by the operator and transmits an operation signal indicating the operation content to the control unit 11.

制御部11は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等により構成されている。そして、コンピュータとしての制御部11は、記憶部12に記憶された画像補正アプリを読み出して実行することにより、画像補正処理を行う。なお、制御部11は、画像データ取得手段、露出特定手段、プロファイル選択手段、補正済画像データ作成手段、プロファイル作成手段として機能する。   The control unit 11 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. And the control part 11 as a computer performs an image correction process by reading and executing the image correction application memorize | stored in the memory | storage part 12. FIG. The control unit 11 functions as an image data obtaining unit, an exposure specifying unit, a profile selecting unit, a corrected image data creating unit, and a profile creating unit.

次に、図5を用いて、制御部11による画像補正処理について説明する。なお、図5に示す処理が開始される前までに、入力プロファイルIPF1〜IPF9及び出力プロファイルOPFを記憶部12に記憶させておくこととする。   Next, image correction processing by the control unit 11 will be described with reference to FIG. Note that the input profiles IPF1 to IPF9 and the output profile OPF are stored in the storage unit 12 before the processing shown in FIG.

まず、制御部11は、デジタルカメラ31で絵画を撮影して得られた画像データBDを取得する(ステップS1)。絵画の撮影時には、絵画に用いられる白部分や黒部分の面積の大きさに応じて露出設定を変えて撮影することができる。このとき、露出を厳密に測定する必要は無く、常識の範囲内で適宜露出設定を決定することができる。但し、シャッタースピードは、カラーチャート33を撮影した際と同じ設定とする。また、画像データBDには、絵画を撮影した際の絞り値(F値)を示す絞り値情報(「露出設定情報」の一例。)を関連付けておくこととする。絞り値情報は画像データBDに埋め込むこととしてもよいし、その他の形式で関連付けておくこととしてもよい。なお、制御部11は、ステップS1の処理において、画像データBDとともに当該画像データBDと関連付けられている絞り値情報を取得することとする。   First, the control unit 11 acquires image data BD obtained by photographing a picture with the digital camera 31 (step S1). When shooting a picture, the exposure setting can be changed according to the size of the area of the white part or black part used in the picture. At this time, it is not necessary to measure the exposure strictly, and the exposure setting can be appropriately determined within the range of common sense. However, the shutter speed is set to the same setting as when the color chart 33 is photographed. The image data BD is associated with aperture value information (an example of “exposure setting information”) indicating an aperture value (F value) when a picture is taken. The aperture value information may be embedded in the image data BD, or may be associated in another format. Note that the control unit 11 acquires aperture value information associated with the image data BD together with the image data BD in the process of step S1.

次に、制御部11は、画像データBDの表す画像を撮影した際の露出設定を特定する(ステップS2)。具体的には、制御部11は、ステップS1の処理で取得した画像データBDと関連付けられている絞り値情報を参照し、絞り値(F値)を特定する。   Next, the control unit 11 specifies the exposure setting when the image represented by the image data BD is taken (step S2). Specifically, the control unit 11 specifies an aperture value (F value) with reference to aperture value information associated with the image data BD acquired in step S1.

次に、制御部11は、記憶部12に記憶されている入力プロファイルIPF1〜IPF9の中から適切な入力プロファイルを選択する(ステップS3)。具体的には、制御部11は、ステップS2の処理で特定した絞り値(F値)と同じ絞り値(F値)でカラーチャートを撮影して得た入力プロファイルIPFを選択する。例えば、ステップS2の処理で特定した絞り値(F値)がF4.0であった場合であれば、絞り値(F値)をF4.0に設定してカラーチャートを撮影することにより作成した入力プロファイルIPFを選択する。   Next, the control unit 11 selects an appropriate input profile from the input profiles IPF1 to IPF9 stored in the storage unit 12 (step S3). Specifically, the control unit 11 selects an input profile IPF obtained by photographing a color chart with the same aperture value (F value) as the aperture value (F value) specified in the process of step S2. For example, if the aperture value (F value) specified in the process of step S2 is F4.0, the aperture value (F value) is set to F4.0 and is created by photographing a color chart. Select the input profile IPF.

次に、制御部11は、ステップS3の処理で選択した入力プロファイルIPFと出力プロファイルOPFを用いて、ステップS1の処理で取得した画像データBDを補正し、補正済画像データADを作成する(ステップS4)。   Next, the control unit 11 corrects the image data BD acquired in the process of step S1 using the input profile IPF and the output profile OPF selected in the process of step S3, and creates corrected image data AD (step). S4).

次に、制御部11は、ステップS4の処理で作成した補正済画像データADを記憶部12に記録(保存)して(ステップS5)、本フローチャートに示す画像補正処理を終了する。   Next, the control unit 11 records (saves) the corrected image data AD created in the process of step S4 in the storage unit 12 (step S5), and ends the image correction process shown in this flowchart.

以上説明したように、本実施形態の画像処理装置1は、記憶部12が、デジタルカメラ31(「カメラ」の一例。)によりカラーチャート33を異なる露出設定で撮影して得られた画像データに基づいて、当該露出設定毎に作成された複数のプロファイルIPFを記憶し、制御部11(「画像データ取得手段」、「露出特定手段」、「プロファイル選択手段」、「補正済画像データ作成手段」の一例。)が、絵画(「被写体」の一例。)の絵が描かれている面(「平面部」の一例。)をデジタルカメラ31で撮影して得られた画像データBDを取得し、画像データBDが表す画像を撮影した際の露出設定を特定し、記憶部12に記憶されている複数のプロファイルIPFの中から、特定した露出設定と同じ露出設定でカラーチャート33を撮影することにより作成されたプロファイルIPFを選択し、選択したプロファイルIPFを用いて、画像データBDを補正し、補正済画像データADを作成する。   As described above, in the image processing apparatus 1 according to the present embodiment, the storage unit 12 converts image data obtained by photographing the color chart 33 with different exposure settings using the digital camera 31 (an example of “camera”). Based on this, a plurality of profile IPFs created for each exposure setting are stored, and the control unit 11 (“image data acquisition unit”, “exposure specifying unit”, “profile selection unit”, “corrected image data generation unit”). Image data BD obtained by photographing a surface (an example of a “planar portion”) on which a picture of an image of painting (an example of “subject”) is drawn (an example of a “planar portion”) with a digital camera 31; The exposure setting when the image represented by the image data BD is captured is identified, and the color chart 33 is captured with the same exposure setting as the identified exposure setting from the plurality of profiles IPF stored in the storage unit 12. Select the profile IPF created by using the profile IPF selected, the image data is corrected BD, it creates the corrected image data AD.

本実施形態の画像処理装置1によれば、予め露出設定毎に作成された入力プロファイルIPFの中から選択された最適な入力プロファイルIPFに基づいて、画像データBDが補正されることから、絵画を撮影する度に入力プロファイルIPFを作成する必要がなく、絵画の色を忠実に表現する補正済画像データADを作成することができる。   According to the image processing apparatus 1 of the present embodiment, since the image data BD is corrected based on the optimal input profile IPF selected from the input profiles IPF created for each exposure setting in advance, the painting is There is no need to create an input profile IPF each time a picture is taken, and corrected image data AD that faithfully represents the color of a painting can be created.

なお、本発明は本実施形態に限定されるわけではなく、その他種々の変更が可能である。   The present invention is not limited to the present embodiment, and various other changes can be made.

また、本実施形態では、図5のステップS3の処理において、ステップS2の処理で特定した絞り値(F値)と同じ絞り値(F値)でカラーチャートを撮影して得た入力プロファイルIPFを選択することとしているが、例えば、ステップS2の処理で特定した絞り値(F値)が、カラーチャートを撮影した際の絞り値(F値)と一致しない場合には、最も値が近い絞り値(F値)でカラーチャートを撮影して得た入力プロファイルIPFを選択することとする。これにより、絵画を撮影する際に、カラーチャートを撮影した際の何れかの絞り値(F値)と同じ絞り値(F値)で撮影しなければならないという制限がなくなり、絵画を撮影する際の自由度が増す。   In the present embodiment, in the process of step S3 in FIG. 5, the input profile IPF obtained by photographing the color chart with the same aperture value (F value) as the aperture value (F value) specified in the process of step S2 is obtained. For example, if the aperture value (F value) specified in step S2 does not match the aperture value (F value) when the color chart is taken, the closest aperture value is selected. An input profile IPF obtained by photographing a color chart with (F value) is selected. This eliminates the restriction that you must shoot with the same aperture value (F value) as any of the aperture values (F value) when shooting a color chart. The degree of freedom increases.

さらに、本実施形態では、記憶部12は、露出設定を9段階変更しながらカラーチャートを撮影して得られた測色値に基づいて作成された9個のプロファイルIPFを記憶することとしたが、プロファイルIPFの数nは適宜変更することができる。その場合には、作成するプロファイルIPFの数nに応じて、露出設定をn段階変更しながらカラーチャートを撮影して得られた測色値に基づいてプロファイルIPFを作成することとする。   Furthermore, in the present embodiment, the storage unit 12 stores nine profile IPFs created based on the colorimetric values obtained by photographing the color chart while changing the exposure setting in nine steps. The number n of profile IPFs can be changed as appropriate. In that case, the profile IPF is created based on the colorimetric values obtained by photographing the color chart while changing the exposure setting by n steps according to the number n of profile IPFs to be created.

さらにまた、本実施形態では、シャッタースピードを固定とし、絞り値(F値)を複数段階(本実施形態では9段階)変更することにより複数段階の露出設定を規定することとしたが、シャッタースピード及び絞り値(F値)を変更することにより複数段階の露出設定を規定することとしてもよい。露出はシャッタースピードと絞り値(F値)の組合せで定まることから、シャッタースピードと絞り値(F値)の組合せ毎に、露出設定を複数段階規定することができる。当該構成とする場合、当該組合せ毎に、入力プロファイルIPFを作成して記憶部12に記憶させることとする。また、絵画の撮影時には、シャッタースピードと絞り値(F値)を示す露出情報を、画像データBDと関連付けることとする。制御部11は、ステップS2の処理では、当該露出情報を参照して露出設定を特定し、ステップS3の処理では、特定した露出設定と同じ露出設定で作成された入力プロファイルIPFを選択することとする。   Furthermore, in this embodiment, the shutter speed is fixed, and the aperture value (F value) is changed in multiple steps (in this embodiment, 9 steps), thereby defining the exposure setting in multiple steps. It is also possible to define a plurality of exposure settings by changing the aperture value (F value). Since exposure is determined by a combination of shutter speed and aperture value (F value), a plurality of exposure settings can be defined for each combination of shutter speed and aperture value (F value). In the case of this configuration, an input profile IPF is created and stored in the storage unit 12 for each combination. Further, at the time of taking a picture, exposure information indicating a shutter speed and an aperture value (F value) is associated with the image data BD. In the process of step S2, the control unit 11 specifies the exposure setting with reference to the exposure information, and in the process of step S3, selects the input profile IPF created with the same exposure setting as the specified exposure setting. To do.

1 画像処理装置
11 制御部
12 記憶部
13 インターフェース部
14 表示部
15 操作部
BD 画像データ
AD 補正済画像データ
DESCRIPTION OF SYMBOLS 1 Image processing apparatus 11 Control part 12 Storage part 13 Interface part 14 Display part 15 Operation part BD Image data AD Corrected image data

Claims (7)

カメラによりカラーチャートを異なる露出設定で撮影して得られた画像データに基づいて、当該露出設定毎に作成された複数のプロファイルを記憶するプロファイル記憶手段と、
平面部を有する被写体の当該平面部を前記カメラで撮影して得られた画像データを取得する画像データ取得手段と、
前記画像データ取得手段により取得された画像データが表す画像を撮影した際の露出設定を特定する露出特定手段と、
前記プロファイル記憶手段に記憶されている複数のプロファイルの中から、前記特定した露出設定と同じ露出設定で前記カラーチャートを撮影することにより作成されたプロファイルを選択するプロファイル選択手段と、
前記選択されたプロファイルを用いて、前記取得した画像データを補正し、補正済画像データを作成する補正済画像データ作成手段と、
を備えることを特徴とする画像処理装置。
Profile storage means for storing a plurality of profiles created for each exposure setting based on image data obtained by photographing a color chart with a camera using different exposure settings;
Image data acquisition means for acquiring image data obtained by photographing the plane portion of a subject having a plane portion with the camera;
Exposure specifying means for specifying an exposure setting when the image represented by the image data acquired by the image data acquiring means is captured;
Profile selection means for selecting a profile created by photographing the color chart with the same exposure setting as the specified exposure setting from a plurality of profiles stored in the profile storage means;
Corrected image data creating means for correcting the acquired image data and creating corrected image data using the selected profile;
An image processing apparatus comprising:
請求項1に記載の画像処理装置であって、
前記プロファイル記憶手段は、前記カラーチャートを撮影する際の前記露出設定をn段階変更して得られた画像データ毎に特定される色値と、前記カラーチャートを測色器により測色することにより特定される測色値に基づいて作成されたn個の前記プロファイルを記憶することを特徴とする画像処理装置。
The image processing apparatus according to claim 1,
The profile storage means performs colorimetry on the color value specified for each image data obtained by changing the exposure setting at the time of photographing the color chart by n steps, and the color chart by a colorimeter. An image processing apparatus that stores n profiles created based on specified colorimetric values.
請求項2に記載の画像処理装置であって、
前記色値は、前記カラーチャートを撮影するカメラにおけるシャッタースピードの設定値を固定し、絞り値(F値)をn段階変更することにより、前記露出設定をn段階変更して得られた前記画像データ毎に特定されることを特徴とする画像処理装置。
The image processing apparatus according to claim 2,
The image obtained by changing the exposure setting by n steps by fixing the setting value of the shutter speed in the camera that captures the color chart and changing the aperture value (F value) by n steps. An image processing apparatus characterized by being specified for each data.
請求項2又は3に記載の画像処理装置であって、
n段階分の前記色値と、前記測色値に基づいて、n個の前記プロファイルを作成するプロファイル作成手段を、更に備えることを特徴とする画像処理装置。
The image processing apparatus according to claim 2 or 3,
An image processing apparatus, further comprising: profile creation means for creating n profiles based on the color values for n stages and the colorimetric values.
請求項1乃至4の何れか一項に記載の画像処理装置であって、
前記画像データ取得手段により取得される画像データには、当該画像データを撮影した際の露出設定を示す露出設定情報が関連付けられており、
前記露出特定手段は、画像データに関連付けられている露出設定情報を参照して、露出設定を特定することを特徴とする画像処理装置。
The image processing apparatus according to any one of claims 1 to 4,
The image data acquired by the image data acquisition means is associated with exposure setting information indicating exposure setting when the image data is captured,
The image processing apparatus characterized in that the exposure specifying means specifies exposure setting with reference to exposure setting information associated with image data.
画像処理装置により行われる画像処理方法であって、
平面部を有する被写体の当該平面部をカメラで撮影して得られた画像データを取得する画像データ取得工程と、
前記画像データ取得工程により取得した画像データが表す画像を撮影した際の露出設定を特定する露出特定工程と、
前記カメラによりカラーチャートを異なる露出設定で撮影して得られた画像データに基づいて、当該露出設定毎に作成された複数のプロファイルを記憶するプロファイル記憶手段に記憶されている複数のプロファイルの中から、前記特定した露出設定と同じ露出設定で前記カラーチャートを撮影することにより作成されたプロファイルを選択するプロファイル選択工程と、
前記選択されたプロファイルを用いて、前記取得した画像データを補正し、補正済画像データを作成する補正済画像データ作成工程と、
を含むことを特徴とする画像処理方法。
An image processing method performed by an image processing apparatus,
An image data acquisition step of acquiring image data obtained by photographing the plane portion of the subject having the plane portion with a camera;
An exposure specifying step for specifying an exposure setting when the image represented by the image data acquired by the image data acquiring step is captured;
Based on image data obtained by photographing a color chart with a different exposure setting by the camera, from among a plurality of profiles stored in a profile storage means for storing a plurality of profiles created for each exposure setting. A profile selection step of selecting a profile created by photographing the color chart with the same exposure setting as the specified exposure setting;
A corrected image data creation step of correcting the acquired image data and creating corrected image data using the selected profile;
An image processing method comprising:
カメラによりカラーチャートを異なる露出設定で撮影して得られた画像データに基づいて、当該露出設定毎に作成された複数のプロファイルを記憶するプロファイル記憶手段を備える画像処理装置に含まれるコンピュータを、
平面部を有する被写体の当該平面部を前記カメラで撮影して得られた画像データを取得する画像データ取得手段、
前記画像データ取得手段により取得された画像データが表す画像を撮影した際の露出設定を特定する露出特定手段、
前記プロファイル記憶手段に記憶されている複数のプロファイルの中から、前記特定した露出設定と同じ露出設定で前記カラーチャートを撮影することにより作成されたプロファイルを選択するプロファイル選択手段、
前記選択されたプロファイルを用いて、前記取得した画像データを補正し、補正済画像データを作成する補正済画像データ作成手段、
として機能させる画像処理プログラム。
A computer included in an image processing apparatus including profile storage means for storing a plurality of profiles created for each exposure setting based on image data obtained by photographing a color chart with a camera using different exposure settings,
Image data acquisition means for acquiring image data obtained by photographing the plane portion of a subject having a plane portion with the camera;
Exposure specifying means for specifying an exposure setting when the image represented by the image data acquired by the image data acquiring means is captured;
Profile selection means for selecting a profile created by photographing the color chart with the same exposure setting as the specified exposure setting from a plurality of profiles stored in the profile storage means,
Corrected image data creating means for correcting the acquired image data and creating corrected image data using the selected profile;
An image processing program that functions as
JP2012184292A 2012-08-23 2012-08-23 Image processing device, image processing method, and image processing program Pending JP2014042205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012184292A JP2014042205A (en) 2012-08-23 2012-08-23 Image processing device, image processing method, and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012184292A JP2014042205A (en) 2012-08-23 2012-08-23 Image processing device, image processing method, and image processing program

Publications (1)

Publication Number Publication Date
JP2014042205A true JP2014042205A (en) 2014-03-06

Family

ID=50394121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012184292A Pending JP2014042205A (en) 2012-08-23 2012-08-23 Image processing device, image processing method, and image processing program

Country Status (1)

Country Link
JP (1) JP2014042205A (en)

Similar Documents

Publication Publication Date Title
CN100361153C (en) Method and system for producing informastion relating to defect of apparatus
JP2009171008A (en) Color reproduction apparatus and color reproduction program
JP2008502970A (en) Method and device for color calibration of cameras and / or display devices to correct color glitches from digital images
Maali Amiri et al. A strategy toward spectral and colorimetric color reproduction using ordinary digital cameras
JP2010062672A (en) Image processor and method thereof
JP2009117991A (en) Image conversion apparatus and image conversion program
JP6376767B2 (en) Image processing apparatus and image processing method
TWI697872B (en) Color difference adjusted image data generating method, color difference adjusted image displaying method, color difference adjusted image data generating device, and color difference adjusted image display system
JP2005189542A (en) Display system, display program and display method
JP2014192859A (en) Color correction method, program, and device
JP2010066352A (en) Measuring device, correction data generating device, measuring method, correction data generating method and correction data generating program
JP5962169B2 (en) Digital camera, color conversion program and recording control program
JP2016010013A (en) Image processing apparatus and method for the same
JP6209950B2 (en) Color reproduction characteristic creation device, color reproduction characteristic creation system, program, and color reproduction characteristic creation method
JP2010055029A (en) Video converter, video conversion method and program
JP2014042205A (en) Image processing device, image processing method, and image processing program
US8810645B2 (en) System and method for the profiling and calibration of film scanners
US20130250177A1 (en) Method and device for tentatively displaying projection image, screening film, method and device for producing the same, projection image projecting method, program, and movie system
JP2015126416A (en) Image processing apparatus, control method, and program
Pouli et al. Color management for vr production
JP6070396B2 (en) Image processing apparatus, image processing method, and program
JP2012222508A (en) Image processor and image processing program
JP2018137580A (en) Image processor, image processing method, and program
JP2007026388A (en) Image editing device and image editing program
JP2017092904A (en) Imaging system and profile creation method