JP2005208886A - Image correction apparatus and image correction program - Google Patents
Image correction apparatus and image correction program Download PDFInfo
- Publication number
- JP2005208886A JP2005208886A JP2004014095A JP2004014095A JP2005208886A JP 2005208886 A JP2005208886 A JP 2005208886A JP 2004014095 A JP2004014095 A JP 2004014095A JP 2004014095 A JP2004014095 A JP 2004014095A JP 2005208886 A JP2005208886 A JP 2005208886A
- Authority
- JP
- Japan
- Prior art keywords
- correction
- image
- unit
- range
- change
- 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
Abstract
Description
本発明は、画像に対して画像補正を施す画像補正装置および画像補正プログラムに関する。 The present invention relates to an image correction apparatus and an image correction program that perform image correction on an image.
従来より、画像を表す画像データを用いて画像解析を行い、その画像解析の結果に応じた画像補正をその画像データに施す自動補正の技術が知られており、そのような自動補正を行う画像補正装置や画像補正プログラムも知られている。この自動補正では、一般に、濃度補正、ホワイトバランス調整(色温度調整)、彩度調整、シャープネス変換などといった種々の画像補正が行われるが、自動補正は万能ではなく、補正不足であったり、補正過多であったり、補正の方向がまずかったり等というような不具合が生じうる。 Conventionally, there is known an automatic correction technique for performing image analysis using image data representing an image and performing image correction on the image data according to the result of the image analysis. Correction devices and image correction programs are also known. In this automatic correction, in general, various image corrections such as density correction, white balance adjustment (color temperature adjustment), saturation adjustment, sharpness conversion, etc. are performed. However, automatic correction is not universal and is insufficiently corrected or corrected. There may be problems such as being excessive or the direction of correction being poor.
このような不具合は、例えば機種差やユーザの好みなどに依存している場合があり、そのような場合に、機種差やユーザの好みなどを自動補正に反映させて自動補正をカスタマイズすることによって不具合を回避することが提案されている(例えば、特許文献1参照。)。
しかし、特許文献1に記載された技術を用いて自動補正をカスタマイズした場合であっても、自動補正は画像データを用いた画像解析を前提としているために、その画像解析の原理的な限界に起因した分析の不正確さによって、個々の画像に対する補正において不具合は依然として生じ得る。このため、画像補正装置や画像補正プログラムには、そのような不具合が生じた場合に手動操作で適切な補正を指示して補正を変更する機能が必要である。 However, even when automatic correction is customized using the technique described in Patent Document 1, since automatic correction is premised on image analysis using image data, the fundamental limit of the image analysis is limited. Due to the inaccuracies in the analysis caused, defects can still occur in the correction for individual images. For this reason, the image correction apparatus and the image correction program need a function of instructing appropriate correction by manual operation and changing the correction when such a problem occurs.
従来の画像補正装置や画像補正プログラムにも、このような手動操作による補正指示の機能が備えられているものの、従来の画像補正装置等ではこのような補正指示の操作は煩雑である。また、操作の自由度が高いほど煩雑さが増すため、従来の画像補正装置等では自由度が不十分であることも多い。 Although the conventional image correction apparatus and the image correction program are provided with such a correction instruction function by manual operation, such correction instruction operation is complicated in the conventional image correction apparatus and the like. In addition, since the complexity increases as the degree of freedom of operation increases, the degree of freedom is often insufficient in conventional image correction devices and the like.
本発明は上記事情に鑑み、上述したような補正指示を十分な自由度で容易に行うことができる画像補正装置および画像補正プログラムを提供することを目的とする。 In view of the above circumstances, an object of the present invention is to provide an image correction apparatus and an image correction program capable of easily performing the correction instruction as described above with a sufficient degree of freedom.
上記目的を達成する本発明の画像補正装置は、
画像に対して所定の画像解析を行って、その画像に対する画像補正を定義した補正値を求める解析部と、
変更量を操作によって指定され、解析部によって求められた補正値を変更量に従って変更する補正変更部と、
上記画像に画像補正を施すことにより、補正変更部によって変更された後の補正値に対応した補正結果を有する画像を得る画像補正部と、
補正変更部に対して指定可能な変更量の範囲を設定する範囲設定部とを備えたことを特徴とする。
The image correction apparatus of the present invention that achieves the above-described object provides:
An analysis unit that performs a predetermined image analysis on the image and obtains a correction value that defines image correction for the image;
A correction change unit that specifies a change amount by an operation and changes a correction value obtained by the analysis unit according to the change amount;
An image correction unit that obtains an image having a correction result corresponding to the correction value after being changed by the correction change unit by performing image correction on the image;
And a range setting unit that sets a range of change amounts that can be specified for the correction change unit.
ここで、「補正値」は、補正前後の状態の差によって補正を定義した補正量であってもよく、あるいは、補正後の状態のみで補正を定義した補正目標値であってもよい。 Here, the “correction value” may be a correction amount in which the correction is defined by the difference between the states before and after the correction, or may be a correction target value in which the correction is defined only in the state after the correction.
また、範囲設定部による設定は、解析などに基づいた自動的な設定であってもよく、あるいは手動操作に従った設定であってもよい。 The setting by the range setting unit may be an automatic setting based on an analysis or the like, or may be a setting according to a manual operation.
本発明の画像補正装置は、上述した範囲設定部を備えているので、補正変更の操作範囲を、経験、画像分析、嗜好などに応じた必要十分な範囲に制限することができる。従って、本発明の画像補正装置によれば、不要な指示範囲を排除することができ、その結果、操作の煩雑さを低減するとともに十分な自由度を確保することができる。 Since the image correction apparatus of the present invention includes the above-described range setting unit, the operation range for correction change can be limited to a necessary and sufficient range according to experience, image analysis, preference, and the like. Therefore, according to the image correction apparatus of the present invention, it is possible to eliminate an unnecessary instruction range, and as a result, it is possible to reduce the complexity of the operation and ensure a sufficient degree of freedom.
本発明の画像補正装置は、
「 上記範囲設定部が、補正変更部に対して指定可能な変更量の範囲を、操作に応じた範囲に設定するものである」
という態様であってもよく、
「 上記範囲設定部が、補正変更部に対して指定可能な変更量の範囲を、解析部によって求められた補正値を基準として設定するものである」
という態様であってもよく、あるいは、
「 上記範囲設定部が、補正変更部に対して指定可能な変更量の範囲を、前記画像解析部によって補正値が求められる際に行われた画像解析の結果に応じた範囲に設定するものである」
という態様であってもよい。
The image correction apparatus of the present invention includes:
"The above range setting unit sets the range of change amount that can be specified for the correction change unit to a range according to the operation."
It may be a mode,
“The range setting unit sets the range of change amount that can be specified for the correction change unit with the correction value obtained by the analysis unit as a reference.”
Or may be
The range setting unit sets the range of the change amount that can be specified for the correction change unit to a range according to the result of the image analysis performed when the correction value is obtained by the image analysis unit. is there"
It may be an aspect.
操作に応じた範囲に設定する態様では、変更量の範囲を、経験や嗜好に応じた範囲に手動で設定することができる。 In the aspect set to the range according to operation, the range of change amount can be manually set to the range according to experience and preference.
また、補正量または補正目標を基準として設定する態様では、自動補正の補正結果に応じた範囲が自動設定される。 In the aspect in which the correction amount or the correction target is set as a reference, a range corresponding to the correction result of the automatic correction is automatically set.
更に、画像解析の結果に応じた範囲に設定する態様では、例えば、自動補正のための解析で補正値の候補が複数得られるような場合に、自動補正には筆頭候補が採用され、変更範囲は、筆頭候補以外の補正値に基づいて設定されるといった応用が可能である。 Further, in the aspect of setting the range according to the result of the image analysis, for example, when a plurality of correction value candidates are obtained by the analysis for automatic correction, the first candidate is adopted for the automatic correction, and the change range Can be applied based on correction values other than the head candidate.
本発明の画像補正装置において、
「 上記解析部が、上記補正値を複数種類の画像補正それぞれについて求めるものであり、
上記補正変更部は、上記変更量が上記複数種類の画像補正それぞれについて指定されるものであり、
上記範囲設定部が、補正変更部に対して指定可能な変更量の範囲を、上記複数種類の画像補正それぞれについて設定するものである」
という形態は好適である。
In the image correction apparatus of the present invention,
"The analysis unit calculates the correction value for each of a plurality of types of image correction,
In the correction change unit, the change amount is designated for each of the plurality of types of image correction,
The range setting unit sets a range of change amounts that can be specified for the correction change unit for each of the plurality of types of image corrections.
This form is suitable.
画像解析に基づいた自動補正では、一般に、上述したような種々の画像補正が行われるが、そのような種々の画像補正については、それぞれに適した変更範囲が設定可能であることが望ましい。このようにそれぞれの変更範囲が設定可能であると、例えば、あるユーザは特定光源下の画像のみをもっぱら使用するので色温度調整については変更範囲を0に設定するなどといった応用が可能である。 In the automatic correction based on the image analysis, various image corrections as described above are generally performed. For such various image corrections, it is desirable that a change range suitable for each can be set. If each change range can be set in this way, for example, a certain user uses only an image under a specific light source, and therefore, for example, the change range can be set to 0 for color temperature adjustment.
上記目的を達成する本発明の画像補正プログラムは、
コンピュータに組み込まれ、そのコンピュータ上で、
画像に対して所定の画像解析を行って、その画像に対する画像補正を定義した補正値を求める解析部と、
変更量を操作によって指定され、解析部によって求められた補正値をその変更量に従って変更する補正変更部と、
上記画像に画像補正を施すことにより、補正変更部によって変更された後の補正値に対応した補正結果を有する画像を得る画像補正部と、
補正変更部に対して指定可能な変更量の範囲を設定する範囲設定部とを構成することを特徴とする。
An image correction program of the present invention that achieves the above object is provided as follows:
Built into a computer, on that computer,
An analysis unit that performs a predetermined image analysis on the image and obtains a correction value that defines image correction for the image;
A correction change unit that specifies a change amount by an operation and changes a correction value obtained by the analysis unit according to the change amount;
An image correction unit that obtains an image having a correction result corresponding to the correction value after being changed by the correction change unit by performing image correction on the image;
And a range setting unit that sets a range of a change amount that can be specified for the correction change unit.
本発明の画像補正プログラムによれば、本発明の画像補正装置の構成要素をコンピュータによって容易に実現することができる。 According to the image correction program of the present invention, the components of the image correction apparatus of the present invention can be easily realized by a computer.
なお、本発明にいう画像補正プログラムについては、ここではその基本形態のみを示すのにとどめるが、これは単に重複を避けるためであり、本発明にいう画像補正プログラムには、上記の基本形態のみではなく、前述した画像補正装置の各形態に対応する各種の形態が含まれる。 It should be noted that the image correction program according to the present invention is only shown in its basic form here, but this is only for avoiding duplication, and the image correction program according to the present invention includes only the above basic form. Instead, various forms corresponding to each form of the image correction apparatus described above are included.
以上説明したように、本発明によれば、手動操作による補正指示を十分な自由度で容易に行うことができる。 As described above, according to the present invention, a correction instruction by manual operation can be easily performed with a sufficient degree of freedom.
以下図面を参照して本発明の実施の形態を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の一実施形態が適用されるシステムの例を示す図である。 FIG. 1 is a diagram illustrating an example of a system to which an embodiment of the present invention is applied.
この図に示す例では、コンピュータ10にデジタルスチルカメラ20が接続されており、デジタルスチルカメラ20で撮影されて得られた画像データが、USBケーブル21を介してコンピュータ10に取り込まれる。
In the example shown in this figure, a
ここでは、コンピュータ10に、本発明の画像補正プログラムの一実施形態が組み込まれ、この画像補正プログラムによってコンピュータ10上に、本発明の画像補正装置の一実施形態が構築されている。また、このコンピュータ10上には、画像補正装置としての機能の他に、画像データを利用する種々の処理装置として機能も構築されている。
Here, an embodiment of the image correction program of the present invention is incorporated in the
デジタルスチルカメラ20から取り込まれた画像データには、コンピュータ10上に構築された画像補正装置によって画像補正処理が施される。本発明の実施形態としての特徴はコンピュータ10内での処理動作にあるが、以下では先ず、コンピュータ10のハードウェアについて説明する。
The image data captured from the digital
このパーソナルコンピュータ10は、外観構成上、本体装置11、その本体装置11からの指示に応じて表示画面12a上に画像を表示する画像表示装置12、本体装置11に、キー操作に応じた各種の情報を入力するキーボード13、および、表示画面12a上の任意の位置を指定することにより、その位置に表示された、例えばアイコン等に応じた指示を入力するマウス14を備えている。この本体装置11は、外観上、フレキシブルディスクを装填するためのフレキシブルディスク装填口11a、およびCD−ROMを装填するためのCD−ROM装填口11bを有する。
This
図2は、コンピュータのハードウェア構成を表す構成図である。 FIG. 2 is a block diagram showing the hardware configuration of the computer.
図1に示す本体装置11の内部には、各種プログラムを実行するCPU111、ハードディスク装置113に格納されたプログラムが読み出されCPU111での実行のために展開される主メモリ112、各種プログラムやデータ等が保存されたハードディスク装置113、フレキシブルディスク31が装填されその装填されたフレキシブルディスク100をアクセスするFDドライブ114、CD−ROM32が装填され、その装填されたCD−ROM32をアクセスするCD−ROMドライブ115、デジタルスチルカメラ20(図1参照)と接続され、デジタルスチルカメラ20から画像データを受け取るI/Oインタフェース116が内蔵されており、これらの各種要素と、さらに図1にも示す画像表示装置12、キーボード13、マウス14は、バス15を介して相互に接続されている。
In the
ここで、CD−ROM32には、このパーソナルコンピュータ10を本発明の画像補正装置の一実施形態として動作させる、本発明の画像補正プログラムの一実施形態が記憶されており、そのCD−ROM32はCD−ROMドライブ115に装填され、そのCD−ROM32に記憶された画像補正プログラムがこのパーソナルコンピュータ10にアップロードされてハードディスク装置113に記憶される。
Here, the CD-
図3は、本発明の画像補正プログラムの一実施形態を示す図である。 FIG. 3 is a diagram showing an embodiment of the image correction program of the present invention.
この図3に示す記憶媒体30は、画像補正プログラム40が記憶された記憶媒体であればその種類を問うものではなく、例えばCD−ROMにこの画像補正プログラム40が格納されているときはそのCD−ROMを指し、その画像補正プログラム40がローディングされてハードディスク装置に記憶されたときはそのハードディスク装置を指し、あるいはその画像補正プログラム40がフレキシブルディスクにダウンロードされたときはそのフレキシブルディスクを指す。
The
この画像補正プログラム40は、図1に示すコンピュータ10内で実行され、そのコンピュータ10を、画像に補正処理を施す画像補正装置として動作させるものであり、解析部41と補正変更部42と画像補正部43と範囲設定部44とを有する。
The
図4は、本発明の画像補正装置の一実施形態を表す機能ブロック図である。 FIG. 4 is a functional block diagram showing an embodiment of the image correction apparatus of the present invention.
この画像補正装置50は、図3の画像補正プログラム40が、図1に示すコンピュータ10にインストールされて実行されることによってコンピュータ10上に構成されるものである。
This
この画像補正装置50は解析部51と補正変更部52と画像補正部53と範囲設定部54とから構成されており、これら解析部51、補正変更部52、画像補正部53、および範囲設定部54は、図3に示す画像補正プログラム40を構成する、解析部41、補正変更部42、画像補正部43、および範囲設定部44それぞれによってコンピュータ10上に構成されている。このように、図4に示す画像補正装置50の各要素は、図3に示す画像補正プログラムの各要素にそれぞれ対応するが、図4の各要素は、図1に示すコンピュータ10のハードウェアとそのパーソナルコンピュータで実行されるOSやアプリケーションプログラムとの組合せで構成されているのに対し、図3に示す各要素はそれらのうちのアプリケーションプログラムのみにより構成されている点が異なる。
The
コンピュータ10上に構成された解析部51、補正変更部52、画像補正部53、および範囲設定部54は、それぞれ、本発明における、解析部、補正変更部、画像補正部、および範囲設定部の各一例に相当する。
The
以下、図4に示す画像補正装置50の構成要素について概説する。
Hereinafter, the components of the
解析部51では、図1に示すデジタルスチルカメラ20から取り込まれた画像データが表す画像が解析され、自動画像補正のためのパラメータが算出される。本実施形態では、画像解析の一例として、色温度(光源のホワイトバランス)の解析と明るさ(濃度)の解析が行われ、色温度の補正値と明るさの補正値が求められる。
The
また、補正変更部52は、図1および図2に示す画像表示装置12にGUI(Graphical User Interface)操作画面を表示し、このGUI操作画面を介して手動補正の指示を受ける。
The
また、画像補正部53では、解析部51が求めた補正値と、補正変更部52が受けた指示とに従った画像補正処理が画像データに施される。
Further, the
また、範囲設定部54では、補正変更部52によって表示されるGUI操作画面における、手動補正の指示可能範囲が設定される。この範囲設定部54は、範囲設定画面を表示して、その範囲設定画面上で、範囲自体の手動設定や、範囲の自動設定に対する条件設定を受ける。
The
以下では、範囲設定画面による設定の詳細と、画像補正装置50の動作の詳細について説明する。
Hereinafter, details of setting on the range setting screen and details of the operation of the
図5は、範囲設定画面を表す図である。 FIG. 5 is a diagram illustrating a range setting screen.
この範囲設定画面60には、ラジオボタン61と、数値設定欄62と、単位設定欄63が備えられている。
The
ラジオボタン61は、手動補正の指示可能範囲を自動で設定するかマニュアルで設定するかを選択するためのものであり、図1および図2に示すマウス14によってクリック操作される。ラジオボタン61によって自動設定が選択されている場合には、自動画像補正における補正値を求めるために図4の解析部51で行われた解析結果が用いられて適正な範囲が手動補正の指示可能範囲として設定される。この自動設定の詳細については後で説明する。
The
数値設定欄62と単位設定欄63は、ラジオボタン61によってマニュアル設定が選択されている場合に有効となり、数値設定欄62には、手動補正の指示可能範囲を示す数値が入力され、単位設定欄63では、その数値に対する単位が選択される。ここでは、「色温度」について「度」と「%」が単位として選択可能で、「濃度」については「Key」と「%」が単位として選択可能である。ただし「Key」という単位は、一般に無次元量である濃度の「1」に対して「10」Keyを割り当てた特殊な単位である。
The numerical
単位設定欄63で「K」や「Key」が選択された場合には、数値設定欄62に入力された数値が手動補正の指示可能範囲の絶対値を表していることになる。これに対し、単位設定欄63で「%」が単位として選択された場合には、手動補正の指示可能範囲は、自動画像補正の結果に応じた相対的な範囲として設定されることとなり、数値設定欄62に入力された数値は、相対値を表すこととなる。例えば、色温度に対する自動画像補正による補正後の値が5750Kで、数値設定欄62および単位設定欄63によって「20%」という範囲が設定されている場合には、手動補正の指示可能範囲は、プラスマイナス1150Kとなる。
When “K” or “Key” is selected in the
図4に示す範囲設定部54では、以上説明した範囲設定画面60を介した設定が行われ、この設定を前提として、画像補正装置50は以下説明するように動作する。
In the
図6は、本実施形態における画像補正装置の動作手順を表すフローチャートである。 FIG. 6 is a flowchart showing the operation procedure of the image correction apparatus according to this embodiment.
画像補正装置では、上述したようにデジタルスチルカメラから画像データが取り込まれる(ステップS01)と、先ず、その画像データが表す画像を縮小したインデックス画像が作成される(ステップS02)。次に、その画像データが表す画像の解析が行われて、自動画像補正における補正値が求められ(ステップS03)、その自動画像補正の結果に対する手動補正の指示可能範囲が算出される(ステップS04)。これら補正値および指示可能範囲の算出方法についても後述する。 In the image correction apparatus, as described above, when image data is captured from a digital still camera (step S01), first, an index image in which an image represented by the image data is reduced is created (step S02). Next, the image represented by the image data is analyzed, a correction value in automatic image correction is obtained (step S03), and a manual correction instructable range for the result of the automatic image correction is calculated (step S04). ). A method for calculating the correction value and the instructable range will also be described later.
補正値および指示可能範囲が得られると、自動補正の結果をインデックス画像で確認して手動補正を指示するための画像補正画面が、図1および図2に示す画像表示装置12上に表示される(ステップS05)。
When the correction value and the instructable range are obtained, an image correction screen for confirming the result of automatic correction with an index image and instructing manual correction is displayed on the
図7は、画像補正画面を表す図である。 FIG. 7 is a diagram illustrating an image correction screen.
この画像補正画面70には、図6のステップS02で作成された原インデックス画像71aと、その原インデックス画像71aに画像補正が施された補正インデックス画像71bが表示される。画像補正装置のユーザは、これらのインデックス画像を参考にして、画像補正が適切であるか否かを確認する。
On the
また、この画像補正画面70には、自動補正の結果を変更して手動補正を指示するための変更指示欄72が設けられており、この変更指示欄72には、手動補正の指示可能範囲が2次元座標空間として示されている。また、その2次元座標空間を構成する2つの座標軸として、ここでは色温度の軸72aと明るさの軸72bが示されており、これらの軸72a,72bの交点(原点)が自動補正の結果に相当している。さらに、この変更指示欄72にはポインタ73が表示され、2次元座標空間におけるポインタ73の位置がマウスなどの操作によって決定されることにより、そのポインタ73の位置と原点との差に相当する補正変更が指示されることとなる。
Further, the
さらに、この画像補正画面70には、OKボタン74が設けられており、このOKボタン74がクリックされることによって手動補正の終了が確定される。
Further, an
ここで、自動補正値および補正変更の指示可能範囲の算出方法について説明する。 Here, a method for calculating the automatic correction value and the correction possible instruction range will be described.
図8は、自動補正値および補正変更の指示可能範囲の算出方法について説明するための説明図である。 FIG. 8 is an explanatory diagram for explaining a method of calculating the automatic correction value and the correction possible instruction range.
ここでは、色温度の補正について一例を挙げて説明する。 Here, the correction of the color temperature will be described with an example.
色温度の自動補正値が求められる際には、まず、画像解析によって画像中のグレー点が求められ、そのグレー点に基づいて、画像における光源の色温度が推定される。 When the automatic correction value of the color temperature is obtained, first, a gray point in the image is obtained by image analysis, and the color temperature of the light source in the image is estimated based on the gray point.
この図8には、Lab色空間が、L*軸が省略されて2次元的に示されており、画像解析では、このLab色空間上でa*軸とb*軸との交点Oを中心とする所定距離内の領域Rに存在する色の分布が解析される。例えば、ある画像については、この図に示す3点P1,P2,P3それぞれに該当する3つの色が、領域Rに存在する色として画像中に含まれており、それらの色が画像中に占める面積は、P1>P3>P2であったとすると、点P1に対応する色が、この画像中でのグレー点であると判定される。このグレー点と判定された点P1に対応する色は、すなわち光源の色であり、点P1と交点Oとの距離から、光源の色温度(ホワイトバランス)が推定される。色温度の推定値が例えば4000Kであったとすると、次に、予め設定されている基準値(例えば6500K)との差分を補正する補正値が算出される。ただし、差分を全て補正するのではなく、光源の違いによる撮影の雰囲気を残しつつ、適切なホワイトバランスを得るために、差分の7割を補正する補正値が算出される。本実施形態では、色温度の自動補正値は、補正の目標値T1として、
T1=4000+(6500−4000)×0.7=5750
というように算出され、自動補正後の色温度として5750Kが得られる。
In FIG. 8, the Lab color space is shown two-dimensionally with the L * axis omitted, and in the image analysis, the intersection O of the a * axis and the b * axis is centered on the Lab color space. The distribution of colors existing in the region R within a predetermined distance is analyzed. For example, for an image, three colors corresponding to the three points P1, P2, and P3 shown in this figure are included in the image as colors existing in the region R, and these colors occupy the image. If the area is P1>P3> P2, it is determined that the color corresponding to the point P1 is a gray point in this image. The color corresponding to the point P1 determined as the gray point is the color of the light source, and the color temperature (white balance) of the light source is estimated from the distance between the point P1 and the intersection O. If the estimated color temperature is, for example, 4000K, a correction value for correcting a difference from a preset reference value (for example, 6500K) is calculated. However, not all of the differences are corrected, but a correction value for correcting 70% of the differences is calculated in order to obtain an appropriate white balance while leaving a shooting atmosphere due to the difference in the light source. In the present embodiment, the automatic correction value of the color temperature is set as the correction target value T1.
T1 = 4000 + (6500-4000) × 0.7 = 5750
Thus, 5750K is obtained as the color temperature after the automatic correction.
このように求められた自動補正値に相当する補正結果に対して、手動補正の指定可能範囲は、図5に示す範囲設定画面60における設定に応じて以下のように求められる。
For the correction result corresponding to the automatic correction value obtained in this way, the manual correction specifiable range is obtained as follows according to the setting on the
範囲設定画面60で自動設定が選択されている場合には、図8に示す点P1と、他の点P2,P3との距離が求められる。そして、これらの距離に相当する色温度差が求められ、その色温度差が指定可能範囲の幅として用いられる。
When the automatic setting is selected on the
一方、範囲設定画面60でマニュアル設定が選択されているとともに、範囲が例えば「20%」と設定されている場合には、自動補正後の色温度として得られた5750Kが基準として用いられて、指定可能範囲の幅Wが、
W=5750×0.2=1150
というように算出され、プラスマイナス1150Kという範囲が得られる。
On the other hand, when manual setting is selected on the
W = 5750 × 0.2 = 1150
Thus, a range of plus or minus 1150K is obtained.
なお、範囲設定画面60でマニュアル設定が選択されているとともに、「%」以外の単位で範囲が設定されている場合には、当然ながら、画像の解析にかかわらず設定通りの範囲が用いられる。
When manual setting is selected on the
図6のステップS03およびステップS04でこのように自動補正値および補正範囲が算出されると、ステップS05では、図7に示す画像補正画面70に、求められた自動補正値に従った画像補正が施された補正インデックス画像71bと、求められた補正範囲を表した2次元座標空間を有する変更指示欄72が表示される。変更指示欄72に2次元座標空間として表示されている補正範囲は、手動補正の自由度を十分に確保した範囲となっていると共に、そのような範囲が示されていることによって、適切な手動補正の見当を付けるのに役立ち、適切な手動補正を容易に指定することができる。
When the automatic correction value and the correction range are calculated in this manner at step S03 and step S04 in FIG. 6, in step S05, the image correction according to the obtained automatic correction value is performed on the
その後、ステップS06では、図7に示すOKボタン74がクリックされて、手動補正が終了した否かが判定され、未終了である場合には、図7の変更指示欄72によって補正の変更が手動操作で指示される(ステップS07)。変更指示欄72では、上述したように、ポインタ73の位置が手動操作で決定されることによって補正変更が指示される。例えば、上述したように求められたプラスマイナス1150Kという範囲に対して、マイナス側に20%の位置が決定された場合には、手動補正の目標値T2は、
T2=5750−1150×0.2=5520
というように算出されて、手動補正による補正変更後の色温度として5520Kが得られる。
Thereafter, in step S06, the
T2 = 5750-1150 × 0.2 = 5520
Thus, 5520K is obtained as the color temperature after the correction change by manual correction.
このように補正変更が指示されると、その変更が図7の補正インデックス画像71bに反映され(ステップS08)、ステップS05に戻って上記手順が繰り返される。
When the correction change is instructed in this way, the change is reflected in the
一方、ステップS06で、図7に示すOKボタン74がクリックされて手動補正が終了したと判定された場合には、自動補正および手動補正を介して最終的に得られた補正値に従った画像補正の処理が、ステップS01で取り込まれた画像データに施される(ステップS09)。このように、ステップS01で取り込まれた画像データに対しては、最終的に得られた補正値に従った画像補正の処理のみを施すことにしたことにより、手動補正の指示の際に必要となる演算処理の負担を軽減することができる。
On the other hand, if it is determined in step S06 that the manual correction has been completed by clicking the
このような画像補正処理が施された画像データは、図1のコンピュータ10が実行する他のデータ処理へと渡される(ステップS10)。
The image data subjected to such image correction processing is transferred to other data processing executed by the
このように、本実施形態の画像補正装置によれば、手動操作による補正指示を十分な自由度で容易に行うことができる。 As described above, according to the image correction apparatus of the present embodiment, a correction instruction by manual operation can be easily performed with a sufficient degree of freedom.
なお、上記説明では、手動補正の指示が終了する迄はインデックス画像に対して補正が施され、手動補正の指示が全て終了した後に、本来の画像データに対して最終的な補正処理がまとめて施されるが、本発明では、手動補正における試行的な指示の度に本来の画像データに対して補正が施されてもよい。 In the above description, the index image is corrected until the manual correction instruction is completed. After all the manual correction instructions are completed, the final correction process is performed on the original image data. However, in the present invention, the original image data may be corrected each time a trial instruction is given in manual correction.
また、上述したように、色温度や濃度の解析および補正は単なる一例であって、本発明にいう画像解析や画像補正はこれに限定されないことは当然である。他の画像解析や画像補正としては、例えば彩度やシャープネスの解析および補正などが採用されてもよい。 Further, as described above, the analysis and correction of the color temperature and density are merely examples, and it is natural that the image analysis and image correction referred to in the present invention are not limited to this. As other image analysis and image correction, for example, analysis and correction of saturation and sharpness may be employed.
10 コンピュータ
11 本体装置
11a フレキシブルディスク装填口
11b CD−ROM装填口
12a 表示画面
12 画像表示装置
13 キーボード
14 マウス
15 バス
111 CPU
112 主メモリ
113 ハードディスク装置
114 FDドライブ
115 CD−ROMドライブ
116 I/Oインタフェース
20 デジタルスチルカメラ
21 USBケーブル
30 記憶媒体
31 フレキシブルディスク
32 CD−ROM
40 画像補正プログラム
41 解析部
42 補正変更部
43 画像補正部
44 範囲設定部
50 画像補正装置
51 解析部
52 補正変更部
53 画像補正部
54 範囲設定部
60 範囲設定画面
61 ラジオボタン
62 数値設定欄
63 単位設定欄
70 画像補正画面
71a 原インデックス画像
71b 補正インデックス画像
72 変更指示欄
72a 色温度の軸
72b 明るさの軸
73 ポインタ
74 OKボタン
DESCRIPTION OF
112
DESCRIPTION OF
Claims (6)
変更量を操作によって指定され、前記解析部によって求められた補正値を該変更量に従って変更する補正変更部と、
前記画像に画像補正を施すことにより、前記補正変更部によって変更された後の補正値に対応した補正結果を有する画像を得る画像補正部と、
前記補正変更部に対して指定可能な変更量の範囲を設定する範囲設定部とを備えたことを特徴とする画像補正装置。 An analysis unit that performs a predetermined image analysis on the image and obtains a correction value that defines image correction for the image;
A correction change unit that specifies a change amount by an operation and changes the correction value obtained by the analysis unit according to the change amount;
An image correction unit that obtains an image having a correction result corresponding to the correction value after being changed by the correction change unit by performing image correction on the image;
An image correction apparatus comprising: a range setting unit that sets a range of change amounts that can be specified for the correction change unit.
前記補正変更部は、前記変更量が前記複数種類の画像補正それぞれについて指定されるものであり、
前記範囲設定部が、前記補正変更部に対して指定可能な変更量の範囲を、前記複数種類の画像補正それぞれについて設定するものであることを特徴とする請求項1記載の画像補正装置。 The analysis unit calculates the correction value for each of a plurality of types of image correction;
The correction change unit is such that the change amount is specified for each of the plurality of types of image corrections,
The image correction apparatus according to claim 1, wherein the range setting unit sets a range of change amounts that can be specified for the correction change unit for each of the plurality of types of image correction.
画像に対して所定の画像解析を行って、該画像に対する画像補正を定義した補正値を求める解析部と、
変更量を操作によって指定され、前記解析部によって求められた補正量または補正目標を該変更量に従って変更する補正変更部と、
前記画像に画像補正を施すことにより、前記補正変更部によって変更された後の補正量または補正目標に対応した補正結果を有する画像を得る画像補正部と、
前記補正変更部に対して指定可能な変更量の範囲を設定する範囲設定部とを構成することを特徴とする画像補正プログラム。 Embedded in a computer, on the computer,
An analysis unit that performs a predetermined image analysis on the image and obtains a correction value that defines image correction for the image;
A correction change unit that changes the correction amount or the correction target that is specified by an operation and is obtained by the analysis unit according to the change amount;
An image correction unit that obtains an image having a correction result corresponding to a correction amount or a correction target after being changed by the correction change unit by performing image correction on the image;
An image correction program comprising: a range setting unit that sets a range of change amounts that can be specified for the correction change unit.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004014095A JP2005208886A (en) | 2004-01-22 | 2004-01-22 | Image correction apparatus and image correction program |
US11/037,285 US20050163391A1 (en) | 2004-01-22 | 2005-01-19 | Image correcting apparatus, and image correcting program storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004014095A JP2005208886A (en) | 2004-01-22 | 2004-01-22 | Image correction apparatus and image correction program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005208886A true JP2005208886A (en) | 2005-08-04 |
Family
ID=34899984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004014095A Withdrawn JP2005208886A (en) | 2004-01-22 | 2004-01-22 | Image correction apparatus and image correction program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005208886A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008228140A (en) * | 2007-03-15 | 2008-09-25 | Noritsu Koki Co Ltd | Image processor and image processing method |
JP2009282858A (en) * | 2008-05-23 | 2009-12-03 | Seiko Epson Corp | Developing processor and development processing method for undeveloped image data, and computer program for development processing |
US8355070B2 (en) | 2008-05-23 | 2013-01-15 | Seiko Epson Corporation | Development processing device, development processing method, and storage medium of computer program for development process for developing undeveloped image data |
JP2014081649A (en) * | 2013-12-13 | 2014-05-08 | Furyu Kk | Photograph seal machine, processing method of the same and program |
-
2004
- 2004-01-22 JP JP2004014095A patent/JP2005208886A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008228140A (en) * | 2007-03-15 | 2008-09-25 | Noritsu Koki Co Ltd | Image processor and image processing method |
JP2009282858A (en) * | 2008-05-23 | 2009-12-03 | Seiko Epson Corp | Developing processor and development processing method for undeveloped image data, and computer program for development processing |
US8355070B2 (en) | 2008-05-23 | 2013-01-15 | Seiko Epson Corporation | Development processing device, development processing method, and storage medium of computer program for development process for developing undeveloped image data |
JP2014081649A (en) * | 2013-12-13 | 2014-05-08 | Furyu Kk | Photograph seal machine, processing method of the same and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5301012B2 (en) | Image processing apparatus and image processing method | |
JP3706743B2 (en) | Region of interest extraction method and apparatus, and storage medium | |
JPH06309426A (en) | Method for inputting threshold | |
JP4748401B2 (en) | Screen editing device, screen editing method, and screen editing program | |
JPWO2019188573A1 (en) | Arithmetic logic unit, arithmetic method and program | |
JP2005208886A (en) | Image correction apparatus and image correction program | |
JP2009075846A (en) | Outline extraction device and program | |
JP5610687B2 (en) | Information processing apparatus, method, and program | |
KR20140024769A (en) | Method for event handling of projector by using direction pointer and an electronic device thereof | |
JP7073082B2 (en) | Programs, information processing equipment, and information processing methods | |
JP2006106976A (en) | Image processor, image processing method and program | |
JP2007052388A (en) | Image display system | |
JP2006015117A (en) | Endoscope apparatus | |
JP2011044124A (en) | Image processor, image processing method, program, and recording medium | |
JP2010081504A (en) | Image processor, image processing system, information processing system, and control program of image processor | |
CN111521127B (en) | Measuring method, measuring apparatus, and recording medium | |
JP2005208884A (en) | Image correction apparatus and image correction program | |
JP2002287963A (en) | Method of preparing image processing program and image processing device | |
JP4802981B2 (en) | Color conversion table creation program, color conversion table creation device, and color conversion table creation system | |
JP2005223710A (en) | Image pickup device, control method thereof, image pickup system, information processor, program, and storage medium | |
KR102064367B1 (en) | Image tagging device and method thereof | |
JPH10232935A (en) | Image processor and method therefor | |
WO2024009888A1 (en) | Information processing device, control method of same, and program | |
JP2009230557A (en) | Object detection device, object detection method, object detection program, and printer | |
JP2009044405A (en) | Image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070403 |