WO2009116208A1 - 画像補正プログラム、画像補正装置および画像補正方法 - Google Patents
画像補正プログラム、画像補正装置および画像補正方法 Download PDFInfo
- Publication number
- WO2009116208A1 WO2009116208A1 PCT/JP2008/072042 JP2008072042W WO2009116208A1 WO 2009116208 A1 WO2009116208 A1 WO 2009116208A1 JP 2008072042 W JP2008072042 W JP 2008072042W WO 2009116208 A1 WO2009116208 A1 WO 2009116208A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- exposure amount
- brightness
- predetermined
- threshold value
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/92—Dynamic range modification of images or parts thereof based on global image properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/40—Picture signal circuits
- H04N1/407—Control or modification of tonal gradation or of extreme levels, e.g. background level
- H04N1/4072—Control or modification of tonal gradation or of extreme levels, e.g. background level dependent on the contents of the original
- H04N1/4074—Control or modification of tonal gradation or of extreme levels, e.g. background level dependent on the contents of the original using histograms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/76—Circuitry for compensating brightness variation in the scene by influencing the image signals
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10141—Special mode during image acquisition
- G06T2207/10144—Varying exposure
Definitions
- the present invention relates to an image correction program, an image correction apparatus, and an image correction method for performing correction processing on image data.
- the darkened image data is image data obtained by photographing a night view or the like
- the originally dark image may be converted brightly and erroneously converted into a daytime image.
- a technique for correcting an automatic correction degree using an exposure correction amount for example, an exposure shift amount of a camera determined by a user
- an exposure correction amount for example, an exposure shift amount of a camera determined by a user
- the automatic correction is corrected using the exposure correction amount. For example, when the user erroneously determines the exposure correction amount or the exposure correction amount is set. When fixed, it is impossible to guess and specify the subject to be photographed from the exposure correction amount, so that it is difficult to determine an appropriate automatic correction amount. As a result, high-precision correction processing cannot be performed on image data. There was a problem.
- the present invention has been made to solve the above-described problems of the prior art, and provides an image correction program, an image correction apparatus, and an image correction method for performing high-precision correction processing on image data. With the goal.
- the apparatus includes an exposure amount calculation unit that calculates an exposure amount using information about the photographing unit at the time of shooting, and a brightness calculation unit that calculates the brightness of the image using information about the image data. It is a requirement that the brightness of the image data is corrected based on the exposure amount calculated by the exposure amount calculation unit and the brightness of the image calculated by the brightness calculation unit.
- the disclosed apparatus has an effect of performing highly accurate correction processing on image data.
- FIG. 1 is a block diagram illustrating the configuration of the image correction apparatus according to the first embodiment.
- FIG. 2 is a diagram for explaining the LUT.
- FIG. 3 is a diagram for explaining processing for calculating an average value of image brightness.
- FIG. 4 is a diagram for explaining image correction processing.
- FIG. 5 is a flowchart for explaining the processing procedure of the image correction apparatus according to the first embodiment.
- FIG. 6 is a diagram illustrating a computer that executes an image correction program.
- Image Correction Device 11 Digital Camera I / F 12 Printer I / F 13 processing unit 13a photographed image information extracting unit 13b exposure amount calculating unit 13c luminance value calculating unit 13d image state determining unit 13e image correcting unit 14 storage unit 14a LUT 20 Digital camera 30 Printer
- FIG. 1 is a block diagram illustrating a configuration of an image correction apparatus 10 according to the first embodiment.
- the image correction apparatus 10 includes a digital camera I / F 11, a printer I / F 12, a control unit 13, and a storage unit 14, and is connected to the digital camera 20 and the printer 30 via a cable, a network, or the like. Is done. The processing of each of these units will be described below.
- the digital camera I / F 11 controls communication related to various information exchanged with the connected digital camera 20. Specifically, the digital camera I / F 11 receives captured image data from the digital camera 20.
- the printer I / F 12 controls communication related to various information exchanged with the connected printer 30. Specifically, the printer I / F 12 transmits the corrected image data to the printer 30.
- the storage unit 14 stores data and programs necessary for various processes performed by the control unit 13, and particularly includes a LUT (Look Up Table, hereinafter abbreviated as LUT) 14 a that is closely related to the present invention. As illustrated in FIG. 2, the LUT 14a is a conversion table representing the correspondence between the luminance value of the input image and the luminance value of the output image.
- LUT Look Up Table
- the LUT 14a has a plurality of conversion tables, and a bright conversion LUT that makes the luminance value of the output luminance larger than the luminance value of the input luminance ((1 in FIG. 2). -1) and (1-2)), and a dark conversion LUT ((2) in FIG. 2) for making the luminance value of the output luminance smaller than the luminance value of the input luminance.
- the LUT 14a is an LUT for light conversion, for weak light conversion when performing weak light conversion (see (1-1) in FIG. 2), and for strong light conversion when performing strong light conversion. LUT (see (2) in FIG. 2).
- the control unit 13 has an internal memory for storing a program that defines various processing procedures and necessary data, and performs various processes by using these programs. Particularly, as closely related to the present invention, A photographic image information extraction unit 13a, an exposure amount calculation unit 13b, a luminance value calculation unit 13c, an image state determination unit 13d, and an image correction unit 13e are provided.
- the photographed image information extraction unit 13a extracts information about the digital camera 20 and information about the image data at the time of photographing from the photographed image data received from the digital camera.
- the photographed image information extraction unit 13a includes “Exif information” including information on shutter speed, aperture, and ISO (photographing element sensitivity) when photographing with the digital camera 20, and RGB pixel data and luminance values corresponding to the number of pixels.
- “Pixel data” including data is extracted from the captured image data. Then, the photographed image information extraction unit 13a notifies “Exif information” to an exposure amount calculation unit 13b described later and notifies “pixel data” to a luminance value calculation unit 13c described later.
- the exposure amount calculation unit 13b calculates an exposure amount (EV value) using information about the digital camera 20 at the time of shooting. For example, the exposure amount calculation unit 13b calculates the exposure amount (EV value) from the Exif information using the following equation (1), and notifies the image state determination unit 13d described later.
- the EV value is expressed as a function of aperture F / shutter T / sensitivity ISO.
- the luminance value calculation unit 13c calculates the brightness of the image using information regarding the image data. Specifically, as illustrated in FIG. 3, the luminance value calculation unit 13 c collects a brightness histogram using pixel data, and calculates pixel statistics (that is, an average value of image brightness). This is notified to an image state determination unit 13d described later.
- the image state determination unit 13d determines whether the calculated brightness of the image is brighter than a predetermined threshold. If the brightness of the image is brighter than the predetermined threshold, the exposure amount is larger or smaller than the predetermined threshold. Is determined. Further, the image state determination unit 13d determines whether the exposure amount is larger or smaller than the predetermined threshold when the brightness of the image is darker than the predetermined threshold.
- the image state determination unit 13d determines whether the average value of the image brightness is higher or lower than a predetermined threshold, and when the average value of the image brightness is lower than the predetermined threshold (that is, a dark image) In the case of (1), it is determined whether the EV value is higher or lower than a predetermined threshold value.
- the image state determination unit 13d notifies the image correction unit 13e of a request to output the original image to the printer 30 without performing the correction process.
- the image state determination unit 13d determines whether the EV value is intermediate or high when the EV value is higher than a predetermined threshold.
- the image state determination unit 13d performs the light conversion using the weak light conversion LUT (see (1-1) in FIG. 2) when performing the weak light conversion.
- the image correction unit 13e is notified of a request to do so.
- the image state determination unit 13d performs bright conversion using a strong-to-strong conversion LUT (see (1-2) in FIG. 2) when performing strong bright conversion. To the image correction unit 13e.
- the average image brightness is a predetermined value.
- the image state determination unit 13d determines whether the EV value is higher or lower than the predetermined threshold when the average value of the image brightness is higher than the predetermined threshold (that is, in the case of a bright image). As a result, when the EV value is lower than the predetermined threshold, the image state determination unit 13d requests the image correction unit to perform dark conversion using a dark conversion LUT (see (2) in FIG. 2). 13e is notified. Further, the image state determination unit 13d notifies the image correction unit 13e of a request to output the original image to the printer 30 when the EV value is higher than a predetermined threshold value.
- the image correction unit 13e corrects the brightness of the image data based on the exposure amount and the brightness of the image. Specifically, the image correcting unit 13e performs the light conversion using the weak light conversion LUT (see (1-1) in FIG. 2) when performing the weak light conversion from the image state determination unit 13d.
- the weak light conversion LUT is read from the LUT 14 a, the light conversion is performed using the weak light conversion LUT, and the image data is output to the printer 30.
- the image correction unit 13e receives a request for performing bright conversion from the image state determination unit 13d using the strong-to-strong conversion LUT (see (1-2) in FIG. 2) when performing strong bright conversion.
- the LUT 14a reads the strong conversion LUT, performs the bright conversion using the strong conversion LUT, and then outputs the image data to the printer 30.
- the image correction unit 13e receives a request for performing dark conversion using the LUT for dark conversion (see (2) in FIG. 2) from the image state determination unit 13d, the image correction unit 13e receives dark conversion from the LUT 14a.
- the image data is output to the printer 30 after dark conversion is performed using the LUT for dark conversion.
- the image correction unit 13e when the image correction unit 13e receives a request to output the original image to the printer 30 from the image state determination unit 13d, the image correction unit 13e outputs the original image to the printer 30.
- the image correction unit 13e has an image whose average brightness is lower than a predetermined threshold and whose EV value is lower than a predetermined threshold, and whose average brightness is higher than a predetermined threshold and has an EV value. Instead of outputting the original image to the printer 30 for an image that is higher than the predetermined threshold, it may be output to the printer 30 after performing weak light conversion or weak dark conversion.
- FIG. 5 is a flowchart illustrating the processing operation of the image correction apparatus 10 according to the first embodiment.
- the image correction apparatus 10 receives captured image data from the digital camera 20 (step S101), it extracts “Exif information” and “pixel data” from the captured image data (step S102).
- the image correction apparatus 10 calculates an exposure amount (EV value) from the Exif information (step S103), collects a brightness histogram using the pixel data, and calculates pixel statistics (that is, the average brightness of the image). Value) is calculated (step S104).
- EV value exposure amount
- step S103 collects a brightness histogram using the pixel data
- step S104 calculates pixel statistics (that is, the average brightness of the image). Value
- the image correction apparatus 10 determines whether the average brightness of the image is lower than a predetermined threshold (step S105). As a result, the image correction apparatus 10 determines whether the EV value is lower than the predetermined threshold when the average value of the image brightness is lower than the predetermined threshold (that is, in the case of a dark image) (Yes in step S105). (Step S106).
- Step S106 when the EV value is lower than the predetermined threshold value (Yes at Step S106), the image correction apparatus 10 holds the original image without performing the correction process (Step S107) and outputs it to the printer 30 (Step S106). S114). Further, when the EV value is higher than the predetermined threshold (No at Step S106), the image correction apparatus 10 determines whether the EV value is intermediate (Step S108).
- the image correction apparatus 10 performs bright conversion using the LUT for weak light conversion when performing weak light conversion (Step S109).
- the data is output to the printer 30 (step S114).
- the image correction apparatus 10 performs bright conversion using the strong conversion LUT for performing strong bright conversion (Step S110). And output to the printer 30 (step S114).
- the image correction apparatus 10 determines whether the EV value is lower than the predetermined threshold. (Step S111).
- Step S111 if the EV value is lower than the predetermined threshold value (Yes at Step S111), the image correction apparatus 10 performs dark conversion using the dark conversion LUT (Step S112) and outputs the result to the printer 30 (Step S112). Step S114). Further, when the EV value is higher than the predetermined threshold (No at Step S111), the image correction apparatus 10 holds the original image without performing the correction process (Step S113) and outputs it to the printer 30 (Step S114). ).
- the image correction device 10 calculates the exposure amount using information (for example, Exif information) related to the digital camera 20 at the time of shooting, and uses information related to image data (for example, pixel data of the image). The average brightness of the image is calculated, and the brightness of the image data is corrected based on the exposure and the average brightness of the image. It is possible to estimate the situation and perform highly accurate correction processing on the image data in consideration of the shooting scene situation.
- information for example, Exif information
- image data for example, pixel data of the image.
- the first embodiment it is determined whether the average value of the brightness of the image is brighter than a predetermined threshold. If the average value of the brightness of the image is brighter than the predetermined threshold, the calculated exposure amount is If it is determined whether the exposure amount is smaller than the predetermined threshold value and it is determined that the exposure amount is smaller than the predetermined threshold value, the processing for correcting the brightness of the image data is not performed, and the exposure amount is larger than the predetermined threshold value.
- the brightness conversion process for converting the image data to bright is performed as the process for correcting the brightness of the image data, for example, the average value of the brightness of the image is lower than a predetermined threshold, and the EV value is For an image lower than the predetermined threshold value, it is assumed that the image is a night scene photographed with a slow shutter speed, and bright conversion is not performed and correction processing is not performed.
- the exposure amount is set to the predetermined threshold value. If it is determined that the exposure amount is less than a predetermined threshold value, a light conversion process that is weaker than the light conversion process performed when the exposure amount is greater than the predetermined threshold value is performed, and the exposure amount is determined. Is determined to be larger than a predetermined threshold value, a bright conversion process stronger than the bright conversion process performed when the exposure amount is smaller than the predetermined threshold value is performed. It is possible to perform highly accurate correction processing.
- the calculated image brightness is darker than a predetermined threshold value. If the image brightness is darker than the predetermined threshold value, the calculated exposure amount is equal to the predetermined threshold value.
- a dark conversion process for converting the image data to dark is performed as a process for correcting the brightness of the image data. Is determined to be larger than the predetermined threshold value, the process of correcting the brightness of the image data is not performed.
- the average value of the image brightness is lower than the predetermined threshold value
- the EV value is the predetermined threshold value.
- dark conversion is performed as if the originally dark landscape shot with a slow shutter became a bright image.
- an image having an average image brightness lower than a predetermined threshold and an EV value higher than the predetermined threshold is regarded as an appropriate image. It is possible to perform highly accurate correction processing in consideration of the above.
- the calculated average brightness of the image is darker than a predetermined threshold. If the brightness of the image is darker than the predetermined threshold, the calculated exposure amount is If it is determined whether the exposure amount is smaller than the predetermined threshold value, dark conversion processing stronger than the dark conversion processing performed when the exposure amount is larger than the predetermined threshold value is performed. When it is determined that the exposure amount is larger than the predetermined threshold value, a dark conversion process that is weaker than the dark conversion process performed when the exposure amount is smaller than the predetermined threshold value is performed. It is possible to perform highly accurate correction processing in consideration of the above.
- Image correction In the first embodiment described above, it is determined whether the exposure amount and the brightness of the image are higher or lower than a predetermined threshold set for each, and an LUT corresponding to the determination result is used.
- the present invention is not limited to this, and the present invention is not limited to this.
- Image correction may be performed by changing the intensity of bright conversion.
- the image correction apparatus when the average value of image brightness is lower than a predetermined threshold, the image correction apparatus according to the second embodiment performs stronger bright conversion as the exposure value is larger, and the exposure amount value is larger. The smaller the, the weaker the light conversion. Further, when the average value of the brightness of the image is higher than a predetermined threshold value, a stronger dark conversion is performed as the exposure value is smaller, and a weaker dark conversion is performed as the exposure value is larger.
- the image correction apparatus when performing bright conversion in consideration of the average value of image brightness, the larger the average value of image brightness, the weaker the light conversion is performed. You may adjust so that strong light conversion may be performed, so that the average value of brightness of is small.
- the image correction apparatus when performing the dark conversion, the image correction apparatus according to the second embodiment performs stronger dark conversion as the average value of image brightness is larger, and weaker darker as the average value of image brightness is smaller. You may adjust so that conversion may be performed.
- each device is functionally conceptual and need not be physically configured as illustrated.
- the specific form of distribution / integration of each device is not limited to that shown in the figure, and all or a part thereof may be functionally or physically distributed or arbitrarily distributed in arbitrary units according to various loads or usage conditions. Can be integrated and configured.
- the image state determination unit 13d and the image correction unit 13e may be integrated.
- all or any part of each processing function performed in each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware by wired logic.
- all or part of the processes described as being performed automatically can be performed manually, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method.
- the processing procedure, control procedure, specific name, and information including various data and parameters shown in the above-mentioned document and drawings can be arbitrarily changed unless otherwise specified.
- the predetermined threshold value for determining the image state described above can be arbitrarily changed.
- FIG. 6 is a diagram illustrating a computer that executes an image correction program.
- a computer 600 as an image correction apparatus is configured by connecting an HDD 610, a RAM 620, a ROM 630, and a CPU 640 via a bus 650.
- an image correction program that exhibits the same function as in the above-described embodiment, that is, as shown in FIG. 6, a captured image information extraction program 631, an exposure amount calculation program 632, a luminance value calculation program 633, an image A state determination program 634 and an image correction program 635 are stored in advance.
- the programs 631 to 635 may be appropriately integrated or distributed in the same manner as each component of the image correction apparatus shown in FIG.
- the CPU 640 reads out these programs 631 to 635 from the ROM 630 and executes them, so that each of the programs 631 to 635 has a captured image information extraction process 641, an exposure amount calculation process 642, a luminance value, as shown in FIG. It functions as a calculation process 643, an image state determination process 644, and an image correction process 645.
- Each of the processes 641 to 645 corresponds to the captured image information extraction unit 13a, the exposure amount calculation unit 13b, the luminance value calculation unit 13c, the image state determination unit 13d, and the image correction unit 13e illustrated in FIG.
- the HDD 610 is provided with an LUT 611 as shown in FIG.
- the LUT 611 corresponds to the LUT 14a shown in FIG.
- the CPU 640 uses the LUT 611 to execute image correction processing.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
画像補正装置(10)は、撮影時におけるデジタルカメラに関する情報(例えば、Exif情報)を用いて、露出量を算出し、画像データに関する情報(例えば、画像の画素データ)を用いて、画像の明るさの平均値を算出する。そして、画像補正装置(10)は、算出された露出量と画像の明るさの平均値とに基づいて、明変換用のLUTを用いて明変換または暗変換用のLUTを用いて暗変換を行い、撮影シーン状況を考慮した画像データの補正処理を行う。
Description
この発明は、画像データに対して補正処理を行う画像補正プログラム、画像補正装置および画像補正方法に関する。
従来より、デジタルカメラ等によって撮影された画像データに対して補正処理を行うことが知られている。例えば、撮影された画像データが露出不足などで暗くなった画像データに対して、明るく変換する明変換を行って明るい画像に補正する処理が行われている。
ところが、上記暗くなった画像データが、夜景などを撮影した画像データであった場合には、元来暗めの画像を明るく変換して、昼間のような画像に誤って変換してしまう場合がある。
このため、画像データの補正処理の具合を制御する技術として、露出補正量(例えば、ユーザが決定するカメラの露光シフト量)を用いて、自動補正具合を補正する技術が知られている(特許文献1、特許文献2および特許文献3参照)。例えば、ユーザが決定するカメラの露光シフト量を用いて、アンダー失敗画像か夜景か、撮影被写体を推測特定して、画像データの補正処理の具合を制御する。
ところで、上記した画像データの補正処理の具合を制御する技術では、露出補正量を用いて、自動補正具合を補正するので、例えば、ユーザが露出補正量を誤って決定した場合や露出補正量を固定にしている場合には、露出補正量からでは、撮影被写体を推測特定することができないため、自動補正量の適正な決定が困難である結果、画像データに対して精度の高い補正処理ができないという課題があった。
そこで、この発明は、上述した従来技術の課題を解決するためになされたものであり、画像データに対して精度の高い補正処理を行う画像補正プログラム、画像補正装置および画像補正方法を提供することを目的とする。
この装置は、撮影時における前記撮影部に関する情報を用いて、露出量を算出する露出量算出手段と、前記画像データに関する情報を用いて、当該画像の明るさを算出する明るさ算出手段と、前記露出量算出手段によって算出された前記露出量と、前記明るさ算出手段によって算出された前記画像の明るさとに基づいて、前記画像データの明るさを補正することを要件とする。
開示の装置は、画像データに対して精度の高い補正処理を行うという効果を奏する。
10 画像補正装置
11 デジタルカメラI/F
12 プリンタI/F
13 処理部
13a 撮影画像情報抽出部
13b 露出量算出部
13c 輝度値算出部
13d 画像状態判別部
13e 画像補正部
14 記憶部
14a LUT
20 デジタルカメラ
30 プリンタ
11 デジタルカメラI/F
12 プリンタI/F
13 処理部
13a 撮影画像情報抽出部
13b 露出量算出部
13c 輝度値算出部
13d 画像状態判別部
13e 画像補正部
14 記憶部
14a LUT
20 デジタルカメラ
30 プリンタ
以下に添付図面を参照して、この発明に係る画像補正プログラム、画像補正装置および画像補正方法の実施例を詳細に説明する。
以下の実施例では、実施例1に係る画像補正装置の構成および処理の流れを順に説明し、最後に実施例1による効果を説明する。なお、以下では、デジタルカメラで撮影された画像のデータを補正し、接続されたプリンタに出力する場合の例を説明する。
[画像補正装置の構成]
次に、図1を用いて、実施例1に係る画像補正装置10の構成を説明する。図1は、実施例1に係る画像補正装置10の構成を示すブロック図である。同図に示すように、この画像補正装置10は、デジタルカメラI/F11、プリンタI/F12、制御部13、記憶部14を備え、ケーブルやネットワーク等を介してデジタルカメラ20およびプリンタ30と接続される。以下にこれらの各部の処理を説明する。
次に、図1を用いて、実施例1に係る画像補正装置10の構成を説明する。図1は、実施例1に係る画像補正装置10の構成を示すブロック図である。同図に示すように、この画像補正装置10は、デジタルカメラI/F11、プリンタI/F12、制御部13、記憶部14を備え、ケーブルやネットワーク等を介してデジタルカメラ20およびプリンタ30と接続される。以下にこれらの各部の処理を説明する。
デジタルカメラI/F11は、接続されるデジタルカメラ20との間でやり取りする各種情報に関する通信を制御する。具体的には、デジタルカメラI/F11は、デジタルカメラ20から撮影画像データを受信する。
プリンタI/F12は、接続されるプリンタ30との間でやり取りする各種情報に関する通信を制御する。具体的には、プリンタI/F12は、補正処理を行った画像データをプリンタ30に送信する。
記憶部14は、制御部13による各種処理に必要なデータおよびプログラムを格納するが、特に本発明に密接に関連するものとしては、LUT(Look Up Table、以下LUTと略す)14aを備える。このLUT14aとは、図2に例示するように、入力画像の輝度値と出力画像の輝度値の対応関係を表わす変換テーブルである。
また、同図に例示するように、LUT14aでは、複数の変換テーブルを有しており、入力輝度の輝度値よりも出力輝度の輝度値を大きくする明変換用のLUTと(図2の(1-1)、(1-2)参照)、入力輝度の輝度値よりも出力輝度の輝度値を小さくする暗変換用のLUT(図2の(2))とを有する。ここで、LUT14aは、明変換用のLUTとして、弱い明変換を行う場合の弱明変換用のLUT(図2の(1-1)参照)と、強い明変換を行う場合の強明変換用のLUT(図2の(2)参照)とを有している。
制御部13は、各種の処理手順などを規定したプログラムおよび所要データを格納するための内部メモリを有し、これらによって種々の処理を実行するが、特に本発明に密接に関連するものとしては、撮影画像情報抽出部13a、露出量算出部13b、輝度値算出部13c、画像状態判別部13d、画像補正部13eを備える。
撮影画像情報抽出部13aは、撮影時におけるデジタルカメラ20に関する情報および画像データに関する情報をデジタルカメラから受信した撮影画像データから抽出する。例えば、撮影画像情報抽出部13aは、デジタルカメラ20の撮影時のシャッタースピード、絞り、ISO(撮影素子感度)の情報を含んだ「Exif情報」と、RGBの画素データや画素数分の輝度値データを含んだ「画素データ」とを撮影画像データから抽出する。そして、撮影画像情報抽出部13aは、「Exif情報」を後述する露出量算出部13bに通知し、「画素データ」を後述する輝度値算出部13cに通知する。
露出量算出部13bは、撮影時におけるデジタルカメラ20に関する情報を用いて、露出量(EV値)を算出する。例えば、露出量算出部13bは、下記(1)式を用いて、Exif情報から露出量(EV値)を算出し、後述する画像状態判別部13dに通知する。ここで、EV値は、絞りF/シャッターT/感度ISOの関数で表記される。
輝度値算出部13cは、画像データに関する情報を用いて、画像の明るさを算出する。具体的には、輝度値算出部13cは、図3に例示するように、画素データを用いて、明るさのヒストグラムを採取し、画素統計(つまり、画像の明るさの平均値)を算出し、後述する画像状態判別部13dに通知する。
画像状態判別部13dは、算出された画像の明るさが所定の閾値より明るいかを判別し、当該画像の明るさが所定の閾値より明るい場合には、露出量が所定の閾値より大きいか少ないかを判別する。また、画像状態判別部13dは、画像の明るさが所定の閾値より暗い場合には、露出量が所定の閾値より大きいか少ないかを判別する。
具体的には、画像状態判別部13dは、画像の明るさの平均値が所定の閾値より高いか低いか判定し、画像の明るさの平均値が所定の閾値より低い場合(つまり、暗い画像の場合)には、EV値が所定の閾値より高いか低いかを判定する。
その結果、画像状態判別部13dは、EV値が所定の閾値より低い場合には、補正処理を行わずに元画像をプリンタ30に出力する旨の要求を画像補正部13eに通知する。また、画像状態判別部13dは、EV値が所定の閾値より高い場合には、EV値が中間であるか高いかを判定する。
その結果、画像状態判別部13dは、EV値が中間である場合には、弱い明変換を行う場合の弱明変換用のLUT(図2の(1-1)参照)を用いて明変換を行う旨の要求を画像補正部13eに通知する。また、画像状態判別部13dは、EV値が所定の閾値より高い場合には、強い明変換を行う場合の強明変換用のLUT(図2の(1-2)参照)を用いて明変換を行う旨の要求を画像補正部13eに通知する。
つまり、画像の明るさの平均値が所定の閾値より低く、EV値が所定の閾値より低い画像については、図4の(1)に例示するように、シャッターが遅い(例えば「EV=1」)状態で撮影された夜景の画像であるとして、明変換を行わず、そのままにする。また、画像の明るさの平均値が所定の閾値より低く、EV値が所定の閾値より低い画像については、図4の(2)に例示するように、画像の明るさの平均値が所定の閾値より低く、EV値が高い(または中間の)画像については、シャッターが速い(例えば「EV=15」)状態で撮影されたアンダーな失敗画像であるとして、明変換を行う。
一方、画像状態判別部13dは、画像の明るさの平均値が所定の閾値より高い場合(つまり、明るい画像の場合)には、EV値が所定の閾値より高いか低いかを判定する。その結果、画像状態判別部13dは、EV値が所定の閾値より低い場合には、暗変換用のLUT(図2の(2)参照)を用いて暗変換を行う旨の要求を画像補正部13eに通知する。また、画像状態判別部13dは、EV値が所定の閾値より高い場合には、原画像をプリンタ30に出力する旨の要求を画像補正部13eに通知する。
画像補正部13eは、露出量および画像の明るさに基づいて、画像データの明るさを補正する。具体的には、画像補正部13eは、画像状態判別部13dから弱い明変換を行う場合の弱明変換用のLUT(図2の(1-1)参照)を用いて明変換を行う旨の要求を受け付けた場合には、LUT14aから弱明変換用のLUTを読み出し、弱明変換用のLUTを用いて明変換を行った後、画像データをプリンタ30に出力する。
また、画像補正部13eは、画像状態判別部13dから強い明変換を行う場合の強明変換用のLUT(図2の(1-2)参照)を用いて明変換を行う旨の要求を受け付けた場合には、LUT14aから強明変換用のLUTを読み出し、強明変換用のLUTを用いて明変換を行った後、画像データをプリンタ30に出力する。
また、画像補正部13eは、画像状態判別部13dから暗変換用のLUT(図2の(2)参照)を用いて暗変換を行う旨の要求を受け付けた場合には、LUT14aから暗変換用のLUTを読み出し、暗変換用のLUTを用いて暗変換を行った後、画像データをプリンタ30に出力する。
また、画像補正部13eは、画像状態判別部13dから原画像をプリンタ30に出力する旨の要求を受け付けた場合には、原画像をプリンタ30に出力する。なお、画像補正部13eは、画像の明るさの平均値が所定の閾値より低くてEV値が所定の閾値より低い画像と、画像の明るさの平均値が所定の閾値より高くてEV値が所定の閾値より高い画像について、原画像をプリンタ30に出力するのではなく、弱い明変換または弱い暗変換を行った後、プリンタ30に出力するようにしてもよい。
[画像補正装置による処理]
次に、図5を用いて、実施例1に係る画像補正装置10による処理を説明する。図5は、実施例1に係る画像補正装置10の処理動作を示すフローチャートである。同図に示すように、画像補正装置10は、デジタルカメラ20から撮影画像データを受け付けると(ステップS101)、「Exif情報」と「画素データ」とを撮影画像データから抽出する(ステップS102)。
次に、図5を用いて、実施例1に係る画像補正装置10による処理を説明する。図5は、実施例1に係る画像補正装置10の処理動作を示すフローチャートである。同図に示すように、画像補正装置10は、デジタルカメラ20から撮影画像データを受け付けると(ステップS101)、「Exif情報」と「画素データ」とを撮影画像データから抽出する(ステップS102)。
そして、画像補正装置10は、Exif情報から露出量(EV値)を算出し(ステップS103)、画素データを用いて、明るさのヒストグラムを採取し、画素統計(つまり、画像の明るさの平均値)を算出する(ステップS104)。
続いて、画像補正装置10は、画像の明るさの平均値が所定の閾値より低いか判定する(ステップS105)。その結果、画像補正装置10は、画像の明るさの平均値が所定の閾値より低い場合(つまり、暗い画像の場合)には(ステップS105肯定)、EV値が所定の閾値より低いかを判定する(ステップS106)。
その結果、画像補正装置10は、EV値が所定の閾値より低い場合には(ステップS106肯定)、補正処理を行わずに元画像を保持して(ステップS107)、プリンタ30に出力する(ステップS114)。また、画像補正装置10は、EV値が所定の閾値より高い場合には(ステップS106否定)、EV値が中間であるかを判定する(ステップS108)。
その結果、画像補正装置10は、EV値が中間である場合には(ステップS108肯定)、弱い明変換を行う場合の弱明変換用のLUTを用いて明変換を行って(ステップS109)、プリンタ30に出力する(ステップS114)。また、画像補正装置10は、EV値が所定の閾値より高い場合には(ステップS108否定)、強い明変換を行う場合の強明変換用のLUTを用いて明変換を行って(ステップS110)、プリンタ30に出力する(ステップS114)。
一方、画像補正装置10は、画像の明るさの平均値が所定の閾値より高い場合(つまり、明るい画像の場合)には(ステップS105否定)、EV値が所定の閾値より低いかを判定する(ステップS111)。
その結果、画像補正装置10は、EV値が所定の閾値より低い場合には(ステップS111肯定)、暗変換用のLUTを用いて暗変換を行って(ステップS112)、プリンタ30に出力する(ステップS114)。また、画像補正装置10は、EV値が所定の閾値より高い場合には(ステップS111否定)、補正処理を行わずに元画像を保持して(ステップS113)、プリンタ30に出力する(ステップS114)。
[実施例1の効果]
上述してきたように、画像補正装置10は、撮影時におけるデジタルカメラ20に関する情報(例えば、Exif情報)を用いて、露出量を算出し、画像データに関する情報(例えば、画像の画素データ)を用いて、画像の明るさの平均値を算出し、露出量および画像の明るさの平均値に基づいて、画像データの明るさを補正するので、露出量および画像の明るさの平均値から撮影シーン状況を推測し、撮影シーン状況を考慮した精度の高い補正処理を画像データに対して行うことが可能である。
上述してきたように、画像補正装置10は、撮影時におけるデジタルカメラ20に関する情報(例えば、Exif情報)を用いて、露出量を算出し、画像データに関する情報(例えば、画像の画素データ)を用いて、画像の明るさの平均値を算出し、露出量および画像の明るさの平均値に基づいて、画像データの明るさを補正するので、露出量および画像の明るさの平均値から撮影シーン状況を推測し、撮影シーン状況を考慮した精度の高い補正処理を画像データに対して行うことが可能である。
また、実施例1によれば、画像の明るさの平均値が所定の閾値より明るいかを判別し、画像の明るさの平均値が所定の閾値より明るい場合には、算出された露出量が所定の閾値より大きいか少ないかを判別し、露出量が所定の閾値より少ないと判別された場合には、画像データの明るさを補正する処理を行わず、露出量が所定の閾値より大きいと判別された場合には、画像データの明るさを補正する処理として、画像データを明るく変換する明変換処理を行うので、例えば、画像の明るさの平均値が所定の閾値より低く、EV値が所定の閾値より低い画像については、シャッターが遅い状態で撮影された夜景の画像であるとして、明変換を行わず、補正する処理を行わない。また、画像の明るさの平均値が所定の閾値より低く、EV値が所定の閾値より低い画像については、画像の明るさの平均値が所定の閾値より低く、EV値が高い画像については、シャッターが速い状態で撮影されたアンダーな失敗画像であるとして、明変換を行う結果、明るい画像に対して、撮影シーン状況を考慮した精度の高い補正処理を行うことが可能である。
また、実施例1によれば、画像の明るさの平均値が所定の閾値より明るいかを判別し、画像の明るさの平均値が所定の閾値より明るい場合には、露出量が所定の閾値より大きいか少ないかを判別し、露出量が所定の閾値より少ないと判別された場合には、露出量が所定の閾値より大きい場合に行う明変換処理よりも弱い明変換処理を行い、露出量が所定の閾値より大きいと判別された場合には、露出量が所定の閾値より少ない場合に行う明変換処理よりも強い明変換処理を行うので、明るい画像に対して、撮影シーン状況を考慮した精度の高い補正処理を行うことが可能である。
また、実施例1によれば、算出された画像の明るさが所定の閾値より暗いかを判別し、画像の明るさが所定の閾値より暗い場合には、算出された露出量が所定の閾値より大きいか少ないかを判別し、露出量が所定の閾値より少ないと判別された場合には、画像データの明るさを補正する処理として、画像データを暗く変換する暗変換処理を行い、露出量が所定の閾値より大きいと判別された場合には、画像データの明るさを補正する処理を行わないので、例えば、画像の明るさの平均値が所定の閾値より低く、EV値が所定の閾値より低い画像については、シャッターが遅い状態で撮影された元来暗い風景が明るい画像になった場合として、暗変換を行う。また、画像の明るさの平均値が所定の閾値より低く、EV値が所定の閾値より高い画像については、適正画像であるとして、暗変換を行わない結果、暗い画像に対して、撮影シーン状況を考慮した精度の高い補正処理を行うことが可能である。
また、実施例1によれば、算出された画像の明るさの平均値が所定の閾値より暗いかを判別し、画像の明るさが所定の閾値より暗い場合には、算出された露出量が所定の閾値より大きいか少ないかを判別し、露出量が所定の閾値より少ないと判別された場合には、露出量が所定の閾値より大きい場合に行う暗変換処理よりも強い暗変換処理を行い、露出量が所定の閾値より大きいと判別された場合には、露出量が所定の閾値より少ない場合に行う暗変換処理よりも弱い暗変換処理を行うので、暗い画像に対して、撮影シーン状況を考慮した精度の高い補正処理を行うことが可能である。
さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では実施例2として本発明に含まれる他の実施例を説明する。
(1)画像補正
上記の実施例1では、露出量および画像の明るさが、それぞれに対して設定された所定の閾値より高いか低いかを判別し、その判別結果に対応するLUTを用いて、明変換または暗変換を行う画像補正を行う場合を説明したが、本発明はこれに限定されるものではなく、露出量および画像の明るさの平均の値の高低に応じて、暗変換または明変換の強度を変更して、画像補正を行うようにしてもよい。
上記の実施例1では、露出量および画像の明るさが、それぞれに対して設定された所定の閾値より高いか低いかを判別し、その判別結果に対応するLUTを用いて、明変換または暗変換を行う画像補正を行う場合を説明したが、本発明はこれに限定されるものではなく、露出量および画像の明るさの平均の値の高低に応じて、暗変換または明変換の強度を変更して、画像補正を行うようにしてもよい。
具体的には、実施例2に係る画像補正装置は、画像の明るさの平均値が所定の閾値より低い場合には、露出量の値が大きいほど、強い明変換を行い、露出量の値が小さいほど、弱い明変換を行う。また、画像の明るさの平均値が所定の閾値より高い場合には、露出量の値が小さいほど、強い暗変換を行い、露出量の値が大きいほど、弱い暗変換を行う。
また、実施例2に係る画像補正装置は、画像の明るさの平均値も考慮して、明変換を行う場合には、画像の明るさの平均値が大きいほど、弱い明変換を行い、画像の明るさの平均値が小さいほど、強い明変換を行うように調整してもよい。一方、実施例2に係る画像補正装置は、暗変換を行う場合には、画像の明るさの平均値が大きいほど、強い暗変換を行い、画像の明るさの平均値が小さいほど、弱い暗変換を行うように調整してもよい。
(2)デジタルカメラ
また、上記の実施例1では、デジタルカメラが外部の画像補正装置に画像データを送信し、画像補正装置が当該画像データを補正する場合を説明したが、本発明はこれに限定されるものではなく、デジタルカメラに上記した画像補正装置を適用し、デジタルカメラ自身が撮影した画像データに補正処理を行うようにしてもよい。
また、上記の実施例1では、デジタルカメラが外部の画像補正装置に画像データを送信し、画像補正装置が当該画像データを補正する場合を説明したが、本発明はこれに限定されるものではなく、デジタルカメラに上記した画像補正装置を適用し、デジタルカメラ自身が撮影した画像データに補正処理を行うようにしてもよい。
(3)システム構成等
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、画像状態判別部13dと画像補正部13eを統合してもよい。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、画像状態判別部13dと画像補正部13eを統合してもよい。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
また、本実施例において説明した各処理のうち、自動的におこなわれるものとして説明した処理の全部または一部を手動的におこなうこともでき、あるいは、手動的におこなわれるものとして説明した処理の全部または一部を公知の方法で自動的におこなうこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。例えば、上記した画像状態を判別する所定の閾値は、任意に変更することができる。
(4)プログラム
ところで、上記の実施例で説明した各種の処理は、あらかじめ用意されたプログラムをコンピュータで実行することによって実現することができる。そこで、以下では、図6を用いて、上記の実施例と同様の機能を有するプログラムを実行するコンピュータの一例を説明する。図6は、画像補正プログラムを実行するコンピュータを示す図である。
ところで、上記の実施例で説明した各種の処理は、あらかじめ用意されたプログラムをコンピュータで実行することによって実現することができる。そこで、以下では、図6を用いて、上記の実施例と同様の機能を有するプログラムを実行するコンピュータの一例を説明する。図6は、画像補正プログラムを実行するコンピュータを示す図である。
同図に示すように、画像補正装置としてのコンピュータ600は、HDD610、RAM620、ROM630およびCPU640をバス650で接続して構成される。
そして、ROM630には、上記の実施例と同様の機能を発揮する画像補正プログラム、つまり、図6に示すように、撮影画像情報抽出プログラム631、露出量算出プログラム632、輝度値算出プログラム633、画像状態判別プログラム634および画像補正プログラム635が予め記憶されている。なお、プログラム631~635については、図1に示した画像補正装置の各構成要素と同様、適宜統合または分散してもよい。
そして、CPU640が、これらのプログラム631~635をROM630から読み出して実行することで、図6に示すように、各プログラム631~635は、撮影画像情報抽出プロセス641、露出量算出プロセス642、輝度値算出プロセス643、画像状態判別プロセス644および画像補正プロセス645として機能するようになる。各プロセス641~645は、図1に示した撮影画像情報抽出部13a、露出量算出部13b、輝度値算出部13c、画像状態判別部13d、画像補正部13eにそれぞれ対応する。
また、HDD610には、図6に示すように、LUT611が設けられる。なお、LUT611は、図1に示したLUT14aに対応する。そして、CPU640は、LUT611を用いて、画像補正処理を実行する。
Claims (15)
- 撮影部によって撮影された画像データに対して補正処理を行う画像補正方法をコンピュータに実行させる画像補正プログラムであって、
撮影時における前記撮影部に関する情報を用いて、露出量を算出する露出量算出手順と、
前記画像データに関する情報を用いて、当該画像の明るさを算出する明るさ算出手順と、
前記露出量算出手順によって算出された前記露出量と、前記明るさ算出手順によって算出された前記画像の明るさとに基づいて、前記画像データの明るさを補正する画像補正手順と、
をコンピュータに実行させることを特徴とする画像補正プログラム。 - 前記明るさ算出手順によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出手順によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別手順をさらにコンピュータに実行させ、
前記画像補正手順は、前記画像判別手順によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理を行わず、前記画像判別手順によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを明るく変換する明変換処理を行うことを特徴とする請求項1に記載の画像補正プログラム。 - 前記明るさ算出手順によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出手順によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別手順をさらにコンピュータに実行させ、
前記画像補正手順は、前記画像判別手順によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記露出量が所定の露出量閾値より大きい場合に行う明変換処理よりも弱い明変換処理を行い、前記画像判別手順によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記露出量が所定の露出量閾値より少ない場合に行う明変換処理よりも強い明変換処理を行うことを特徴とする請求項1に記載の画像補正プログラム。 - 前記画像判別手順は、前記明るさ算出手順によって算出された前記画像の明るさが所定の明度閾値より暗いかを判別し、当該画像の明るさが所定の明度閾値より暗い場合には、前記露出量算出手順によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別し、
前記画像補正手順は、前記画像判別手順によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを暗く変換する暗変換処理を行い、前記画像判別手順によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理を行わないことを特徴とする請求項1~3のいずれか一つに記載の画像補正プログラム。 - 前記画像判別手順は、前記明るさ算出手順によって算出された前記画像の明るさが所定の明度閾値より暗いかを判別し、当該画像の明るさが所定の明度閾値より暗い場合には、前記露出量算出手順によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別し、
前記画像補正手順は、前記画像判別手順によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記露出量が所定の露出量閾値より大きい場合に行う暗変換処理よりも強い暗変換処理を行い、前記画像判別手順によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記露出量が所定の露出量閾値より少ない場合に行う暗変換処理よりも弱い暗変換処理を行うことを特徴とする請求項1~3のいずれか一つに記載の画像補正プログラム。 - 撮影部によって撮影された画像データに対して補正処理を行う画像補正装置であって、
撮影時における前記撮影部に関する情報を用いて、露出量を算出する露出量算出手段と、
前記画像データに関する情報を用いて、当該画像の明るさを算出する明るさ算出手段と、
前記露出量算出手段によって算出された前記露出量と、前記明るさ算出手段によって算出された前記画像の明るさとに基づいて、前記画像データの明るさを補正する画像補正手段と、
を備えることを特徴とする画像補正装置。 - 前記明るさ算出手段によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出手段によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別手段をさらに備え、
前記画像補正手段は、前記画像判別手段によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理を行わず、前記画像判別手段によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを明るく変換する明変換処理を行うことを特徴とする請求項6に記載の画像補正装置。 - 前記明るさ算出手段によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出手段によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別手段をさらに備え、
前記画像補正手段は、前記画像判別手段によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記露出量が所定の露出量閾値より大きい場合に行う明変換処理よりも弱い明変換処理を行い、前記画像判別手段によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記露出量が所定の露出量閾値より少ない場合に行う明変換処理よりも強い明変換処理を行うことを特徴とする請求項6に記載の画像補正装置。 - 前記画像判別手段は、前記明るさ算出手段によって算出された前記画像の明るさが所定の明度閾値より暗いかを判別し、当該画像の明るさが所定の明度閾値より暗い場合には、前記露出量算出手段によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別し、
前記画像補正手段は、前記画像判別手段によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを暗く変換する暗変換処理を行い、前記画像判別手段によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理を行わないことを特徴とする請求項6~8のいずれか一つに記載の画像補正装置。 - 前記画像判別手段は、前記明るさ算出手段によって算出された前記画像の明るさが所定の明度閾値より暗いかを判別し、当該画像の明るさが所定の明度閾値より暗い場合には、前記露出量算出手段によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別し、
前記画像補正手段は、前記画像判別手段によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記露出量が所定の露出量閾値より大きい場合に行う暗変換処理よりも強い暗変換処理を行い、前記画像判別手段によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記露出量が所定の露出量閾値より少ない場合に行う暗変換処理よりも弱い暗変換処理を行うことを特徴とする請求項6~8のいずれか一つに記載の画像補正装置。 - 撮影部によって撮影された画像データに対して補正処理を行う画像補正方法であって、
撮影時における前記撮影部に関する情報を用いて、露出量を算出する露出量算出工程と、
前記画像データに関する情報を用いて、当該画像の明るさを算出する明るさ算出工程と、
前記露出量算出工程によって算出された前記露出量と、前記明るさ算出工程によって算出された前記画像の明るさとに基づいて、前記画像データの明るさを補正する画像補正工程と、
を含んだことを特徴とする画像補正方法。 - 前記明るさ算出工程によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出工程によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別工程をさらに含み、
前記画像補正工程は、前記画像判別工程によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理を行わず、前記画像判別工程によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを明るく変換する明変換処理を行うことを特徴とする請求項11に記載の画像補正方法。 - 前記明るさ算出工程によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出工程によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別工程をさらに含み、
前記画像補正工程は、前記画像判別工程によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理を行わず、前記画像判別工程によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを明るく変換する明変換処理を行うことを特徴とする請求項11に記載の画像補正方法。 - 前記明るさ算出工程によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出工程によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別工程をさらに含み、
前記画像補正工程は、前記画像判別工程によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理を行わず、前記画像判別工程によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを明るく変換する明変換処理を行うことを特徴とする請求項11に記載の画像補正方法。 - 前記明るさ算出工程によって算出された前記画像の明るさが所定の明度閾値より明るいかを判別し、当該画像の明るさが所定の明度閾値より明るい場合には、前記露出量算出工程によって算出された前記露出量が所定の露出量閾値より大きいか少ないかを判別する画像判別工程をさらに含み、
前記画像補正工程は、前記画像判別工程によって前記露出量が所定の露出量閾値より少ないと判別された場合には、前記画像データの明るさを補正する処理を行わず、前記画像判別工程によって前記露出量が所定の露出量閾値より大きいと判別された場合には、前記画像データの明るさを補正する処理として、前記画像データを明るく変換する明変換処理を行うことを特徴とする請求項11に記載の画像補正方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200880128114.7A CN101978681B (zh) | 2008-03-18 | 2008-12-04 | 图像修正装置以及图像修正方法 |
| US12/923,387 US8310572B2 (en) | 2008-03-18 | 2010-09-17 | Computer readable storage medium, image correction apparatus, and image correction method |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2008070174A JP4841582B2 (ja) | 2008-03-18 | 2008-03-18 | 画像補正プログラムおよび画像補正装置 |
| JP2008-070174 | 2008-03-18 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US12/923,387 Continuation US8310572B2 (en) | 2008-03-18 | 2010-09-17 | Computer readable storage medium, image correction apparatus, and image correction method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2009116208A1 true WO2009116208A1 (ja) | 2009-09-24 |
Family
ID=41090624
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2008/072042 Ceased WO2009116208A1 (ja) | 2008-03-18 | 2008-12-04 | 画像補正プログラム、画像補正装置および画像補正方法 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US8310572B2 (ja) |
| JP (1) | JP4841582B2 (ja) |
| CN (1) | CN101978681B (ja) |
| WO (1) | WO2009116208A1 (ja) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI472224B (zh) * | 2011-07-15 | 2015-02-01 | Altek Corp | 影像處理裝置及其影像處理方法 |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5158069B2 (ja) * | 2009-12-28 | 2013-03-06 | カシオ計算機株式会社 | 画像処理装置、及び、画像加工プログラム |
| US8754977B2 (en) * | 2011-07-28 | 2014-06-17 | Hewlett-Packard Development Company, L.P. | Second camera for finding focal target in poorly exposed region of frame taken by first camera |
| EP3595286B1 (en) * | 2017-03-10 | 2022-03-16 | Sony Group Corporation | Information-processing device, information-processing method, and information-processing program |
| US10785419B2 (en) * | 2019-01-25 | 2020-09-22 | Pixart Imaging Inc. | Light sensor chip, image processing device and operating method thereof |
| JP7618414B2 (ja) * | 2020-09-09 | 2025-01-21 | キヤノン株式会社 | 撮像制御装置、撮像制御方法、及びプログラム |
| KR102899288B1 (ko) * | 2023-12-21 | 2025-12-12 | 세종대학교산학협력단 | 이미지 향상 장치 및 방법 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11261822A (ja) * | 1998-03-12 | 1999-09-24 | Fuji Photo Film Co Ltd | 画像処理方法 |
| JP2004145287A (ja) * | 2002-08-30 | 2004-05-20 | Fuji Photo Film Co Ltd | 赤目補正方法、画像処理方法、プリント方法およびプリンタ |
| JP2005033504A (ja) * | 2003-07-14 | 2005-02-03 | Seiko Epson Corp | 画像データの出力調整 |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4057147B2 (ja) * | 1998-06-16 | 2008-03-05 | コニカミノルタビジネステクノロジーズ株式会社 | 逆光シーン判定方法、逆光シーン判定方法プログラムを記憶したコンピュータにより読み取り可能な記憶媒体及び逆光シーン判定機能を有する画像処理装置 |
| EP1523182A4 (en) * | 2002-07-12 | 2006-10-04 | Seiko Epson Corp | OUTPUT PICTURE SETTING OF IMAGE DATA |
| JP4311465B2 (ja) | 2002-07-12 | 2009-08-12 | セイコーエプソン株式会社 | 画像データの出力画像調整 |
| US7397969B2 (en) * | 2002-08-30 | 2008-07-08 | Fujifilm Corporation | Red eye compensation method, image processing apparatus and method for implementing the red eye compensation method, as well as printing method and printer |
| CN1310189C (zh) * | 2003-06-13 | 2007-04-11 | 金宝电子工业股份有限公司 | 数位相机中降低影像杂讯及加强边缘的方法 |
| JP3915755B2 (ja) | 2003-08-08 | 2007-05-16 | セイコーエプソン株式会社 | 画像データの出力画像調整 |
| US8004511B2 (en) * | 2004-12-02 | 2011-08-23 | Sharp Laboratories Of America, Inc. | Systems and methods for distortion-related source light management |
| US8103119B2 (en) * | 2005-06-20 | 2012-01-24 | Nikon Corporation | Image processing device, image processing method, image processing program product, and image-capturing device |
| US8035728B2 (en) * | 2008-06-27 | 2011-10-11 | Aptina Imaging Corporation | Method and apparatus providing rule-based auto exposure technique preserving scene dynamic range |
-
2008
- 2008-03-18 JP JP2008070174A patent/JP4841582B2/ja not_active Expired - Fee Related
- 2008-12-04 CN CN200880128114.7A patent/CN101978681B/zh not_active Expired - Fee Related
- 2008-12-04 WO PCT/JP2008/072042 patent/WO2009116208A1/ja not_active Ceased
-
2010
- 2010-09-17 US US12/923,387 patent/US8310572B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH11261822A (ja) * | 1998-03-12 | 1999-09-24 | Fuji Photo Film Co Ltd | 画像処理方法 |
| JP2004145287A (ja) * | 2002-08-30 | 2004-05-20 | Fuji Photo Film Co Ltd | 赤目補正方法、画像処理方法、プリント方法およびプリンタ |
| JP2005033504A (ja) * | 2003-07-14 | 2005-02-03 | Seiko Epson Corp | 画像データの出力調整 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI472224B (zh) * | 2011-07-15 | 2015-02-01 | Altek Corp | 影像處理裝置及其影像處理方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101978681A (zh) | 2011-02-16 |
| JP4841582B2 (ja) | 2011-12-21 |
| CN101978681B (zh) | 2012-12-26 |
| JP2009225345A (ja) | 2009-10-01 |
| US8310572B2 (en) | 2012-11-13 |
| US20110013047A1 (en) | 2011-01-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4751907B2 (ja) | 画像補正プログラム、画像補正装置および画像補正方法 | |
| RU2528590C2 (ru) | Устройство для захвата изображений, способ управления им и носитель записи | |
| US9350905B2 (en) | Image signal processing apparatus, image signal processing method, and image capturing apparatus | |
| JP4841582B2 (ja) | 画像補正プログラムおよび画像補正装置 | |
| JP4941370B2 (ja) | 画像補正プログラム、画像補正装置および画像補正方法 | |
| US20120127336A1 (en) | Imaging apparatus, imaging method and computer program | |
| CN113163127B (zh) | 图像处理方法、装置、电子设备及存储介质 | |
| CN110809146A (zh) | 一种图像对比度调整方法、装置、终端设备及存储介质 | |
| JP2015130615A (ja) | 撮像装置、その制御方法及びプログラム | |
| CN110677558B (zh) | 图像处理方法与电子装置 | |
| JP2015144475A (ja) | 撮像装置、撮像装置の制御方法、プログラム及び記憶媒体 | |
| US20220021800A1 (en) | Image capturing apparatus, method of controlling image capturing apparatus, and storage medium | |
| JP2014179920A (ja) | 撮像装置及びその制御方法、プログラム、並びに記憶媒体 | |
| JP5566680B2 (ja) | 撮像装置及び撮像方法 | |
| JP5621335B2 (ja) | 画像処理装置及び画像処理方法、並びに画像撮像装置 | |
| JP2015100091A (ja) | 画像処理装置、撮像装置、画像処理方法、及びプログラム | |
| KR101710629B1 (ko) | 촬상 장치 및 촬상 방법 | |
| JP2022151987A (ja) | 撮像装置 | |
| JP2012205031A (ja) | 画像信号処理装置 | |
| JP7309508B2 (ja) | 撮像装置、その制御方法とプログラム | |
| CN116389909A (zh) | 曝光参数调节方法、装置、终端设备及介质 | |
| WO2017096855A1 (zh) | 伽马参数的动态调整方法及装置 | |
| CN120881399A (zh) | 纯色场景下的自动曝光方法、系统、设备、芯片及模组 | |
| JP2024126429A (ja) | 撮像装置、制御方法、プログラム及び記憶媒体 | |
| KR101545323B1 (ko) | 자동 화이트 밸런스 조정 시스템 및 자동 화이트 밸런스 조정 방법 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| WWE | Wipo information: entry into national phase |
Ref document number: 200880128114.7 Country of ref document: CN |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08873469 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 08873469 Country of ref document: EP Kind code of ref document: A1 |