JP4404011B2 - Image processing apparatus and method - Google Patents

Image processing apparatus and method Download PDF

Info

Publication number
JP4404011B2
JP4404011B2 JP2005156532A JP2005156532A JP4404011B2 JP 4404011 B2 JP4404011 B2 JP 4404011B2 JP 2005156532 A JP2005156532 A JP 2005156532A JP 2005156532 A JP2005156532 A JP 2005156532A JP 4404011 B2 JP4404011 B2 JP 4404011B2
Authority
JP
Japan
Prior art keywords
correction value
density
value
contrast correction
contrast
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.)
Expired - Fee Related
Application number
JP2005156532A
Other languages
Japanese (ja)
Other versions
JP2006333274A (en
Inventor
俊策 利弘
伊公子 吉田
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.)
Noritsu Koki Co Ltd
Original Assignee
Noritsu Koki 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 Noritsu Koki Co Ltd filed Critical Noritsu Koki Co Ltd
Priority to JP2005156532A priority Critical patent/JP4404011B2/en
Publication of JP2006333274A publication Critical patent/JP2006333274A/en
Application granted granted Critical
Publication of JP4404011B2 publication Critical patent/JP4404011B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Control Of Exposure In Printing And Copying (AREA)
  • Image Processing (AREA)

Description

本発明は、入力された原画像データに対して所定の濃度補正値に基づいて濃度補正処理を実施する濃度補正処理部と、前記濃度補正処理部により濃度補正処理された画像データに対して所定のコントラスト補正値に基づいてコントラスト補正処理を実施するコントラスト補正処理部とを備える画像処理装置に関する。   According to the present invention, a density correction processing unit that performs density correction processing on input original image data based on a predetermined density correction value, and image data that has been subjected to density correction processing by the density correction processing unit. The present invention relates to an image processing apparatus including a contrast correction processing unit that performs a contrast correction process based on the contrast correction value.

従来、写真画像処理装置は、ネガフィルムに記録された画像を印画紙に直接露光するアナログ方式や、ネガフィルムに記録された画像をスキャナ等で一旦読み取り、得られた画像データに基づいて印画紙を露光するデジタル方式が種々提案されている。   Conventionally, a photographic image processing apparatus has an analog method in which an image recorded on a negative film is directly exposed on a photographic paper, or an image recorded on a negative film is once read by a scanner or the like, and photographic paper is based on the obtained image data. Various digital methods for exposing the light have been proposed.

ところで、前記ネガフィルムは、前記ネガフィルムに記録される画像の濃度値の表現範囲を非常に広く得ることが可能である。つまり、同一の撮影対象であっても、アンダー露光されることにより全体的に薄く画像が記録される場合がある一方で、オーバー露光されることにより全体的に濃く画像が記録されてしまう場合もある。このため、前記アナログ方式の写真画像処理装置では、前記ネガフィルムに記録された画像を印画紙に露光する際に、全体的に薄く記録されている画像に対しては、前記印画紙への露光時間を短く設定し、また、全体的に濃く記録されている画像に対しては、前記印画紙への露光時間を長く設定していた。つまり、前記ネガフィルムでの画像の記録状態にかかわらず、印画紙上ではほぼ同じような状態の画像となるように露光処理を行なっていた。また、デジタル方式の写真画像処理装置では、ネガフィルムに記録された画像が一般的には12ビット程度の高解像度対応のスキャナ等で一旦読み取られたコマ画像データに対して、前記コマ画像データ全体の濃度値を均等にシフトさせるシフト処理を行なっていた。この場合においても、前記アナログ方式の写真画像処理装置と同様な考え方で、前記ネガフィルムへの画像の記録状態にかかわらず、印画紙上ではほぼ同じような状態の画像となるように行なうものであった。
特開2000−350031号公報
By the way, the negative film can obtain a very wide range of expression of density values of images recorded on the negative film. In other words, even if the subject is the same, the image may be recorded as a thin overall image by underexposure, while the image may be darkened overall as a result of overexposure. is there. For this reason, in the analog photographic image processing apparatus, when the image recorded on the negative film is exposed on the photographic paper, the exposure on the photographic paper is applied to the image that is recorded thinly as a whole. The time is set to be short, and the exposure time for the photographic paper is set to be long for an image that is darkly recorded as a whole. That is, the exposure processing is performed so that the image is almost the same on the photographic paper regardless of the image recording state on the negative film. Further, in the digital photographic image processing apparatus, the entire frame image data is generally compared with the frame image data once read by a high resolution scanner or the like having a resolution of about 12 bits. Shift processing for evenly shifting the density values of the images. In this case as well, the same concept as that of the analog type photographic image processing apparatus is used so that the image on the photographic paper is almost the same regardless of the recording state of the image on the negative film. It was.
JP 2000-350031 A

しかし、デジタルスチルカメラで撮影された画像データの場合、一般的に8ビット(256階調)画像が適用されているため、前記ネガフィルム、または、ネガフィルムから読み取られたコマ画像データに比べると、圧倒的に狭い範囲の表現範囲しかない。このため、前記ネガフィルム等よりも表現範囲が劣る部分の画像は、画像の濃淡情報が圧縮(飽和)された状態、つまり、コントラスト感が乏しい画像となってしまい、また、この場合には、上述のシフト処理では、前記画像の濃淡情報が圧縮(飽和)された状態を改善することまではできないことが問題となっていた。   However, in the case of image data taken with a digital still camera, since an 8-bit (256 gradation) image is generally applied, compared to the negative film or frame image data read from the negative film. There is only an overwhelmingly narrow range of expression. For this reason, the image of the portion in which the expression range is inferior to the negative film or the like is a state in which the light and shade information of the image is compressed (saturated), that is, an image having a poor contrast feeling. In the above-described shift processing, there has been a problem that it is impossible to improve the state in which the shade information of the image is compressed (saturated).

本発明は、上述した従来の問題点に鑑み、画像の濃淡情報が圧縮されている画像を本来の画像とすることが可能な画像処理装置及びその方法を提供する点にある。   SUMMARY OF THE INVENTION In view of the above-described conventional problems, the present invention provides an image processing apparatus and method capable of making an original image an image in which image density information is compressed.

上述の目的を達成するため、本発明による画像処理装置の第一の特徴構成は、特許請求の範囲の書類の請求項1に記載した通り、デジタルカメラで撮影された原画像データを、所定の濃度補正値を指数とする指数関数に基づいて、当該原画像データに含まれる画素の濃度範囲を当該濃度範囲より広い濃度範囲に拡張して濃度補正処理する濃度補正処理部と、前記濃度補正処理部により濃度補正処理された画像データを所定のコントラスト補正値に基づいてコントラスト補正処理するコントラスト補正処理部とを備えている画像処理装置であって、前記コントラスト補正処理部は、前記原画像データを所定の濃度値よりも明るいハイライト領域と前記所定の濃度値よりも暗いシャドー領域とに領域分離する領域分離部と、前記原画像データの中央画素領域の濃度平均値に対する周辺画素領域の濃度平均値の比率を逆光度として算出する逆光度算出部と、前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最大値を有する上に凸なる所定の二次関数に基づいて第一のコントラスト補正値を算出するとともに、前記逆光度算出部により算出された比率を変数とし、当該比率が所定比率未満のときに一定の逆光度補正値となり所定比率以上のときに当該比率の上昇に伴い次第に大きな逆光度補正値となる逆光度補正関数に基づいて逆光度補正値を算出し、前記第一のコントラスト補正値を当該逆光度補正値だけ小さくした値を新たな第一のコントラスト補正値として算出する第一コントラスト補正値算出部と、前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最小値を有する下に凸なる所定の二次関数に基づいて第二のコントラスト補正値を算出する第二コントラスト補正値算出部と、前記第一のコントラスト補正値が大きいほど濃度特性が上に凸となる大きなカーブを描くように、前記ハイライト領域に対応する画素をコントラスト補正処理するとともに、前記第二のコントラスト補正値が小さいほど濃度特性が下に凸となる大きなカーブを描くように、前記シャドー領域に対応する画素をコントラスト補正処理する処理実行部とを備えている点にある。 In order to achieve the above-mentioned object, the first characteristic configuration of the image processing apparatus according to the present invention is that, as described in claim 1 of the document of the claims , original image data photographed by a digital camera is stored in a predetermined manner. A density correction processing unit that performs density correction processing by expanding a density range of pixels included in the original image data to a density range wider than the density range based on an exponential function having a density correction value as an index, and the density correction processing A contrast correction processing unit that performs contrast correction processing on the image data that has undergone density correction processing by a unit based on a predetermined contrast correction value, wherein the contrast correction processing unit converts the original image data into a segmentation unit for segmentation in the dark shadow areas than the predetermined density value and bright highlights region than a predetermined density value, among the original image data A backlight intensity calculation unit that calculates the ratio of the density average value of the surrounding pixel area to the density average value of the pixel area as the backlight intensity, and the density correction value as a variable, and has a maximum value in the setting range of the density correction value The first contrast correction value is calculated based on a predetermined convex quadratic function, and the ratio calculated by the backlight calculation unit is used as a variable. When the ratio is less than the predetermined ratio, a constant backlight correction value is obtained. The backlight intensity correction value is calculated based on the backlight intensity correction function that gradually increases with the increase of the ratio when the ratio is greater than or equal to the predetermined ratio, and the first contrast correction value is calculated only for the backlight intensity correction value. A first contrast correction value calculation unit that calculates a smaller value as a new first contrast correction value, and having the density correction value as a variable and having a minimum value in the setting range of the density correction value A second contrast correction value calculation unit that calculates a second contrast correction value based on a predetermined quadratic function that is convex, and a large curve in which the density characteristic becomes convex upward as the first contrast correction value increases. As shown in the drawing, the pixels corresponding to the highlight area are subjected to contrast correction processing, and the smaller the second contrast correction value, the larger the density characteristic becomes downward. And a processing execution unit that performs contrast correction processing on the pixels .

濃度補正処理部により、デジタルカメラで撮影された原画像データが、所定の濃度補正値を指数とする指数関数に基づいて、画像の濃淡情報が拡張されるように濃度補正される。濃度補正値が1より大きな値に設定された場合には、原画像データは明るくなるように濃度補正処理され、また、濃度補正値が1より小さな値に設定された場合には、原画像データは暗くなるように濃度補正処理される。原画像データが全体的に暗い場合には、濃度補正値を1より大きな値に設定することにより、全体的に明るくなるように補正されるとともに階調範囲が拡大され、原画像データが全体的に明るい場合には、濃度補正値を1より小さな値に設定することにより、全体的に暗くなるように補正されるとともに階調範囲が拡大される。The density correction processing unit corrects the density of original image data captured by the digital camera based on an exponential function having a predetermined density correction value as an index so that the density information of the image is expanded. When the density correction value is set to a value larger than 1, the original image data is subjected to density correction processing so as to be bright. When the density correction value is set to a value smaller than 1, the original image data Is subjected to density correction processing so as to be dark. If the original image data is dark overall, the density correction value is set to a value larger than 1, so that the entire image is corrected to be brighter and the gradation range is expanded. In the case of a brighter image, the density correction value is set to a value smaller than 1, thereby correcting the darkness as a whole and expanding the gradation range.

コントラスト補正処理部では、原画像データが所定の濃度値よりも明るいハイライト領域と前記所定の濃度値よりも暗いシャドー領域とに領域分離され、それぞれに対応して算出されるコントラスト補正値に基づいてコントラスト補正される。ハイライト領域に対応した第一のコントラスト補正値が、前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最大値を有する上に凸なる所定の二次関数に基づいて算出され、シャドー領域に対応した第二のコントラスト補正値が、前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最小値を有する下に凸なる所定の二次関数に基づいて算出される。In the contrast correction processing unit, the original image data is divided into a highlight area brighter than a predetermined density value and a shadow area darker than the predetermined density value, and is calculated based on the contrast correction value calculated corresponding to each. To correct the contrast. A first contrast correction value corresponding to a highlight area is calculated based on a predetermined quadratic function having a maximum value in the density correction value setting range and having a maximum value in the density correction value setting range. A second contrast correction value corresponding to the region is calculated based on a predetermined quadratic function that protrudes downward and has the minimum value in the setting range of the density correction value, with the density correction value as a variable.

そして、第一のコントラスト補正値が大きいほど濃度特性が上に凸となる大きなカーブを描くように、前記ハイライト領域に対応する画素がコントラスト補正され、前記第二のコントラスト補正値が小さいほど濃度特性が下に凸となる大きなカーブを描くように、前記シャドー領域に対応する画素がコントラスト補正される。つまり、濃度補正値に依存してコントラスト補正値が決定され、適正な濃度補正値に対してコントラストが最も大きくなるように補正される。Then, the pixel corresponding to the highlight region is subjected to contrast correction so as to draw a large curve in which the density characteristic is convex upward as the first contrast correction value is larger, and the density is smaller as the second contrast correction value is smaller. The pixels corresponding to the shadow area are subjected to contrast correction so as to draw a large curve whose characteristic is convex downward. That is, the contrast correction value is determined depending on the density correction value, and correction is performed so that the contrast is maximized with respect to the appropriate density correction value.

このとき、原画像データが逆光で撮影されていると、当該第一のコントラスト補正値で補正すると、周辺のハイライト領域が白く飛ぶ虞があるが、逆光度が大きい場合に当該第一のコントラスト補正値を逆光度補正値だけ小さくした値を新たな第一のコントラスト補正値とするため、逆光で撮影された画像であっても適正なコントラストで補正できる。At this time, if the original image data is captured with backlighting, if the first contrast correction value is used for correction, the surrounding highlight area may fly white. Since a value obtained by reducing the correction value by the backlight intensity correction value is used as a new first contrast correction value, even an image photographed with backlight can be corrected with an appropriate contrast.

同第二の特徴構成は、同請求項2に記載した通り、上述の第一の特徴構成に加えて、前記コントラスト補正処理部は、さらに、前記原画像データの平均色度及び平均彩度を算出する画像色算出部を備え、前記第一コントラスト補正値算出部は、前記画像色算出部により算出された平均色度及び平均彩度に対応して予め設定された色補正値を算出し、前記第一のコントラスト補正値を当該色補正値だけ大きくした値を新たな第一のコントラスト補正値として算出する点にある。 In the second feature configuration, as described in claim 2, in addition to the first feature configuration described above, the contrast correction processing unit further calculates an average chromaticity and an average saturation of the original image data. An image color calculation unit for calculating, and the first contrast correction value calculation unit calculates a color correction value set in advance corresponding to the average chromaticity and average saturation calculated by the image color calculation unit; A value obtained by increasing the first contrast correction value by the color correction value is calculated as a new first contrast correction value .

例えば、原画像データがブルーやシアン系の色に色かぶりしているような場合には、画像が薄い仕上がりとなり、前記ハイライト領域の抜けが不十分となるが、上述の構成によれば、前記第一のコントラスト補正値を画像色算出部により算出された平均色度及び平均彩度に対応して予め設定された色補正値だけ大きく算出することにより、前記ハイライト領域におけるコントラストを高くするとともに画像の濃度値を濃く(暗く)なり、前記ハイライト領域の抜けを改善することができる。For example, when the original image data has a blue or cyan color cast, the image has a light finish and the highlight area is insufficiently missing. By increasing the first contrast correction value by a predetermined color correction value corresponding to the average chromaticity and average saturation calculated by the image color calculation unit, the contrast in the highlight region is increased. At the same time, the density value of the image becomes darker (darker), and the omission of the highlight area can be improved.

同第三の特徴構成は、同請求項3に記載した通り、上述の第一または第二の特徴構成に加えて、前記コントラスト補正処理部は、さらに、前記原画像データに含まれる人物の領域面積に対する人物以外の領域面積の比率を風景人物度として算出する風景人物度算出部を備え、前記第二コントラスト補正値算出部は、前記風景人物度算出部により算出された比率を変数とし、当該比率が所定比率未満のときに当該比率の下降に伴い次第に小さな風景人物度補正値となり、所定比率以上のときに一定の風景人物度補正値となる風景人物度補正関数に基づいて風景人物度補正値を算出し、前記第二のコントラスト補正値を当該風景人物度補正値だけ小さくした値を新たな第二のコントラスト補正値として算出する点にある。 In the third feature configuration, in addition to the first or second feature configuration described above, the contrast correction processing unit may further include a human region included in the original image data. A landscape person degree calculation unit that calculates a ratio of the area area other than the person to the area as a landscape person degree, and the second contrast correction value calculation unit uses the ratio calculated by the landscape person degree calculation unit as a variable, When the ratio is less than the predetermined ratio, the landscape portrait correction value gradually decreases as the ratio decreases, and when the ratio is greater than or equal to the predetermined ratio, the landscape portrait correction is performed based on a constant landscape portrait correction value. A value is calculated, and a value obtained by reducing the second contrast correction value by the landscape portrait correction value is calculated as a new second contrast correction value.

例えば、原画像データに全く人が含まれない等といった風景人物度の低い風景画像の場合には、特にシャドー領域におけるコントラスト感が引き締まった仕上がり、つまり、硬めの仕上がりが好まれる傾向がある。そこで、風景人物度算出部により、原画像データに含まれる人物の領域面積に対する人物以外の領域面積の比率が風景人物度として算出されるように構成されている。比率が大きければ人物画像と判定され、比率が小さければ風景画像と判定される。第二のコントラスト補正値は、当該比率を変数とする風景人物度補正関数により求まる補正値だけさらに小さく補正され、風景画像であるほど小さくなるように補正される。その結果、シャドー領域におけるコントラスト感が引き締まった画像に補正できる。For example, in the case of a landscape image with a low degree of landscape personality, such as when the original image data does not include any person, there is a tendency that a finish with a tight contrast feeling in a shadow area, that is, a hard finish is preferred. Therefore, the ratio of the area area other than the person to the area area of the person included in the original image data is calculated as the scenery person degree by the scenery person degree calculating unit. If the ratio is large, it is determined as a person image, and if the ratio is small, it is determined as a landscape image. The second contrast correction value is corrected to be smaller by a correction value obtained by a landscape person degree correction function using the ratio as a variable, and is corrected to be smaller as the image is a landscape image. As a result, it is possible to correct the image with a tight contrast in the shadow area.

本発明による画像処理方法の第一の特徴構成は、同請求項4に記載した通り、デジタルカメラで撮影された原画像データを、所定の濃度補正値を指数とする指数関数に基づいて、当該原画像データに含まれる画素の濃度範囲を当該濃度範囲より広い濃度範囲に拡張して濃度補正処理する濃度補正ステップと、前記濃度補正ステップにより濃度補正処理された画像データを所定のコントラスト補正値に基づいてコントラスト補正処理するコントラスト補正ステップとを備えている画像処理方法であって、前記コントラスト補正ステップは、前記原画像データを所定の濃度値よりも明るいハイライト領域と前記所定の濃度値よりも暗いシャドー領域とに領域分離する領域分離ステップと、前記原画像データの中央画素領域の濃度平均値に対する周辺画素領域の濃度平均値の比率を逆光度として算出する逆光度算出ステップと、前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最大値を有する上に凸なる所定の二次関数に基づいて第一のコントラスト補正値を算出するとともに、前記逆光度算出ステップにより算出された比率を変数とし、当該比率が所定比率未満のときに一定の逆光度補正値となり所定比率以上のときに当該比率の上昇に伴い次第に大きな逆光度補正値となる逆光度補正関数に基づいて逆光度補正値を算出し、前記第一のコントラスト補正値を当該逆光度補正値だけ小さくした値を新たな第一のコントラスト補正値として算出する第一コントラスト補正値算出ステップと、前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最小値を有する下に凸なる所定の二次関数に基づいて第二のコントラスト補正値を算出する第二コントラスト補正値算出ステップと、前記第一のコントラスト補正値が大きいほど濃度特性が上に凸となる大きなカーブを描くように、前記ハイライト領域に対応する画素をコントラスト補正処理するとともに、前記第二のコントラスト補正値が小さいほど濃度特性が下に凸となる大きなカーブを描くように、前記シャドー領域に対応する画素をコントラスト補正処理する処理実行ステップとを備えている点にある。 According to the first characteristic configuration of the image processing method of the present invention, as described in claim 4, the original image data photographed by the digital camera is based on an exponential function having a predetermined density correction value as an index. A density correction step in which density correction processing is performed by expanding the density range of pixels included in the original image data to a density range wider than the density range, and the image data subjected to density correction processing by the density correction step is set to a predetermined contrast correction value. A contrast correction step for performing a contrast correction process based on the image processing method, wherein the contrast correction step includes: highlighting the original image data with a highlight area brighter than a predetermined density value; and An area separation step for separating the area into a dark shadow area; A backlight intensity calculating step for calculating the ratio of the average density value of the pixel area as the backlight intensity, and a predetermined quadratic function having a maximum value in the density correction value setting range with the density correction value as a variable. The first contrast correction value is calculated based on the ratio, and the ratio calculated by the backlight intensity calculating step is used as a variable. When the ratio is less than the predetermined ratio, the constant backlight intensity correction value is obtained. As the ratio increases, the backlight intensity correction value is calculated based on the backlight intensity correction function, which gradually becomes a larger backlight intensity correction value, and a value obtained by reducing the first contrast correction value by the backlight intensity correction value is set as a new first intensity correction value. A first contrast correction value calculating step for calculating as a contrast correction value, and a predetermined convexity having a minimum value in a setting range of the density correction value, using the density correction value as a variable A second contrast correction value calculating step for calculating a second contrast correction value based on a quadratic function, and a large curve in which the density characteristic becomes convex upward as the first contrast correction value increases. Contrast correction processing is performed on the pixels corresponding to the highlight region, and contrast correction processing is performed on the pixels corresponding to the shadow region so as to draw a large curve in which the density characteristic is convex downward as the second contrast correction value is smaller. And a process execution step .

同第二の特徴構成は、同請求項5に記載した通り、上述の第一特徴構成に加えて、前記コントラスト補正ステップは、さらに、前記原画像データの平均色度及び平均彩度を算出する画像色算出ステップを備え、前記第一コントラスト補正値算出ステップは、前記画像色算出ステップにより算出された平均色度及び平均彩度に対応して予め設定された色補正値を算出し、前記第一のコントラスト補正値を当該色補正値だけ大きくした値を新たな第一のコントラスト補正値として算出する点にある。In the second feature configuration, in addition to the first feature configuration described above, the contrast correction step further calculates an average chromaticity and an average saturation of the original image data. An image color calculation step, wherein the first contrast correction value calculation step calculates a color correction value set in advance corresponding to the average chromaticity and the average saturation calculated by the image color calculation step; A value obtained by increasing one contrast correction value by the color correction value is calculated as a new first contrast correction value.

同第三の特徴構成は、同請求項6に記載した通り、上述の第一または第二特徴構成に加えて、前記コントラスト補正処理ステップは、さらに、前記原画像データに含まれる人物の領域面積に対する人物以外の領域面積の比率を風景人物度として算出する風景人物度算出ステップを備え、前記第二コントラスト補正値算出ステップは、前記風景人物度算出ステップにより算出された比率を変数とし、当該比率が所定比率未満のときに当該比率の下降に伴い次第に小さな風景人物度補正値となり、所定比率以上のときに一定の風景人物度補正値となる風景人物度補正関数に基づいて風景人物度補正値を算出し、前記第二のコントラスト補正値を当該風景人物度補正値だけ小さくした値を新たな第二のコントラスト補正値として算出する点にある。According to the third feature configuration, in addition to the first or second feature configuration described above, the contrast correction processing step further includes a region area of a person included in the original image data. A ratio of the area area other than the person to the landscape person degree calculation step for calculating the ratio of the area area other than the person as the scenery person degree, wherein the second contrast correction value calculation step uses the ratio calculated by the scenery person degree calculation step as a variable, When the ratio is less than the predetermined ratio, the landscape portrait correction value gradually decreases with the decrease of the ratio, and when the ratio is greater than or equal to the predetermined ratio, the landscape portrait correction value becomes a constant landscape portrait correction value. And a value obtained by reducing the second contrast correction value by the landscape portrait correction value is calculated as a new second contrast correction value.

以上説明した通り、本発明によれば、画像の濃淡情報が圧縮されているデジタル画像を本来の画像とすることが可能な画像処理装置及びその方法を提供することができるようになった。   As described above, according to the present invention, it is possible to provide an image processing apparatus and method capable of making a digital image in which image density information is compressed an original image.

以下に本発明による画像処理装置が組み込まれた写真画像処理装置の実施の形態を説明する。図2に示すように、写真画像処理装置1は、印画紙Pに対して出力画像データに基づいた露光処理を行ない露光された印画紙を現像処理する写真プリンタ2と、現像済みの写真フィルムFから画像を読み込むフィルムスキャナ31やデジタルスチルカメラ等で撮影された画像データが格納されたメモリカード等の画像データ記憶メディアMから画像データを読み取るメディアドライバ32や、コントローラ33としての汎用コンピュータ等を備え、入力された画像としての写真画像に対するプリントオーダ情報を設定入力するとともに、各種の画像補正処理を行なう操作ステーション3を備えて構成され、前記操作ステーション3で画像から編集処理されたプリントデータが前記写真プリンタ2に出力されて所望の写真プリントが生成される。 Embodiments of a photographic image processing apparatus incorporating an image processing apparatus according to the present invention will be described below. As shown in FIG. 2, the photographic image processing apparatus 1 includes a photographic printer 2 that performs an exposure process on the photographic paper P based on output image data and develops the exposed photographic paper, and a developed photographic film F. A media driver 32 that reads image data from an image data storage medium M such as a memory card that stores image data taken by a film scanner 31 or a digital still camera that reads an image from the camera, a general-purpose computer as a controller 33, and the like The print data is set and inputted with the print order information for the inputted photographic image as the original image, and is provided with the operation station 3 for performing various image correction processes, and the print data edited from the original image by the operation station 3 Is output to the photographic printer 2 to produce a desired photographic print. That.

前記写真プリンタ2は、図2及び図3に示すように、ロール状の印画紙Pを収容した二系統の印画紙マガジン21と、前記印画紙マガジン21から引き出された印画紙Pを所定のプリントサイズに切断するシートカッター22と、切断後の印画紙Pの背面にコマ番号等のプリント情報を印字するバックプリント部23と、前記プリントデータに基づいて印画紙Pを露光する露光部24と、露光後の印画紙Pを現像、漂白、定着するための各処理液が充填された複数の処理槽25a、25b、25cを備えた現像処理部25が印画紙Pの搬送経路に沿って配置され、現像処理後に乾燥処理された印画紙Pが排出される横送りコンベア26と、横送りコンベア26に集積された複数枚の印画紙(写真プリント)Pがオーダー単位で仕分けられるソータ27を備えて構成される。   As shown in FIGS. 2 and 3, the photographic printer 2 has two systems of photographic paper magazines 21 containing roll-shaped photographic paper P, and photographic paper P drawn from the photographic paper magazine 21 with a predetermined print. A sheet cutter 22 that cuts into a size; a back print unit 23 that prints print information such as a frame number on the back of the cut photographic paper P; an exposure unit 24 that exposes the photographic paper P based on the print data; A development processing unit 25 including a plurality of processing tanks 25a, 25b, and 25c filled with processing solutions for developing, bleaching, and fixing the exposed photographic paper P is disposed along the transport path of the photographic paper P. The laterally-feeding conveyor 26 that discharges the photographic paper P that has been dried after the development process, and the sheet-paper (photo print) P that is stacked on the laterally-feeding conveyor 26 is sorted in order units. Configured to include the data 27.

前記露光部24には、搬送機構28によって副走査方向に搬送される印画紙Pに対して、搬送方向に直交する主走査方向に前記プリントデータに基づき変調されたRGB三色のレーザ光線束を出力して露光する露光ヘッド24aが収容されている。   The exposure unit 24 receives a laser beam bundle of RGB three colors modulated based on the print data in the main scanning direction orthogonal to the conveyance direction with respect to the photographic paper P conveyed in the sub-scanning direction by the conveyance mechanism 28. An exposure head 24a for outputting and exposing is accommodated.

前記搬送経路に沿って配置された前記露光部24や現像処理部25に応じたプロセス速度で印画紙Pを搬送する複数のローラ対でなる搬送機構28が配置され、前記露光部24の前後には印画紙Pを複列に搬送可能なチャッカー式搬送機構28aが設けられている。   A transport mechanism 28 including a plurality of roller pairs that transport the photographic printing paper P at a process speed corresponding to the exposure unit 24 and the development processing unit 25 disposed along the transport path is disposed before and after the exposure unit 24. Is provided with a chucker-type transport mechanism 28a capable of transporting photographic paper P in multiple rows.

前記操作ステーション3に設けられたコントローラ33には、汎用のオペレーティングシステムの管理下で動作し、前記写真処理装置1の各種制御が実行されるアプリケーションプログラムがインストールされ、オペレータとの操作インターフェースとしてモニタ34、キーボード35、マウス36等が接続されている。   The controller 33 provided in the operation station 3 is installed with an application program that operates under the control of a general-purpose operating system and executes various controls of the photographic processing apparatus 1, and a monitor 34 as an operation interface with the operator. A keyboard 35, a mouse 36, and the like are connected.

前記コントローラ33のハードウェア及びソフトウェアの協働により実行される写真処理プロセスを機能ブロックで説明すると、図4に示すように、前記フィルムスキャナ31やメディアドライバ32によって読み取られた写真画像データを受け取り、所定の前処理を行なって後述のメモリ41に転送する画像入力部40と、前記モニタ34の画面にプリントオーダ情報や画像編集情報を表示するとともに、それらに対して必要なデータ入力のための操作用アイコンを表示するグラフィック操作画面を生成し、或いは表示されたグラフィック操作画面に対する前記キーボード35やマウス36からの入力操作に基づいて各種の制御コマンドを生成するグラフィックユーザーインターフェース部42と、前記画像入力部40から転送される写真画像データ及び後述の画像処理部47による補正処理後の写真画像データやそのときの補正パラメータ、更には設定されたプリントオーダ情報等が所定領域に区画されて格納されるメモリ41と、プリントオーダ情報を生成するオーダー処理部43と、前記メモリ41に格納された各写真画像データに対して濃度補正処理やコントラスト補正処理等を行なう画像処理部47と、前記グラフィックユーザーインターフェース部42からの表示コマンドに基づいて前記メモリ41に展開された画像データや各種の入出力用グラフィックデータ等を前記モニタ34に表示処理するビデオRAM等を備えた表示制御部46と、各種の補正処理が終了した最終の補正画像を前記写真プリンタ2に出力するためのプリントデータを生成するプリントデータ生成部44と、顧客のオーダーに応じて最終の補正画像をCD−R等の記憶媒体に書き込むためのファイル形式に変換するフォーマッタ部45等で構成される。   The photographic processing process executed by the cooperation of the hardware and software of the controller 33 will be described in functional blocks. As shown in FIG. 4, photographic image data read by the film scanner 31 and the media driver 32 is received. An image input unit 40 that performs predetermined preprocessing and transfers it to a memory 41, which will be described later, and print order information and image editing information are displayed on the screen of the monitor 34, and an operation for inputting necessary data for them. A graphic user interface unit 42 that generates a graphic operation screen for displaying an icon or generates various control commands based on an input operation from the keyboard 35 or mouse 36 to the displayed graphic operation screen, and the image input Photos transferred from the section 40 A memory 41 in which image data and photographic image data after correction processing by an image processing unit 47 (to be described later), correction parameters at that time, and set print order information are stored in a predetermined area, and print order information An order processing unit 43 for generating image data, an image processing unit 47 for performing density correction processing and contrast correction processing for each photographic image data stored in the memory 41, and display commands from the graphic user interface unit 42. A display control unit 46 having a video RAM for displaying the image data and various input / output graphic data developed in the memory 41 on the monitor 34 and the final correction after the various correction processes are completed. Print data for generating print data for outputting an image to the photo printer 2 A generating unit 44, and the like formatter 45 which converts the final corrected image according to customer orders to a file format for writing in a storage medium such as a CD-R.

前記フィルムスキャナ31は、フィルムFに記録された画像を低解像度ではあるものの高速で読み取るプレスキャンモードと、低速ではあるものの高解像度で読み取る本スキャンモードの二モードで作動するように構成され、プレスキャンモードで読み込まれた低解像度の画像に対してプレジャッジモード(後述のプレジャッジ処理で詳述する。)で各種の補正処理が行なわれ、その際に前記メモリ41に記憶された補正パラメータに基づいて本スキャンモードで読み込まれた高解像度の画像に対する最終の補正処理が実行されて前記プリンタ2に出力される。   The film scanner 31 is configured to operate in two modes: a pre-scan mode that reads an image recorded on the film F at a high speed although it has a low resolution, and a main scan mode that reads a high-resolution image at a low speed. Various correction processes are performed in the pre-judge mode (described in detail in the pre-judge process described later) on the low resolution image read in the can mode, and the correction parameters stored in the memory 41 at that time are changed. Based on this, the final correction processing for the high-resolution image read in the main scan mode is executed and output to the printer 2.

同様に、前記メディアドライバ32から読み込まれた画像ファイルには高解像度の撮影画像とそのサムネイル画像が含まれ、サムネイル画像に対して後述の各種の補正処理が行なわれ、その際に前記メモリ41に記憶された補正パラメータに基づいて高解像度の撮影画像に対する最終の補正処理が実行される。尚、画像ファイルにサムネイル画像が含まれないときには、前記画像入力部40で高解像度の撮影画像からサムネイル画像が生成されて前記メモリ41に転送される。このように、低解像度の画像に対して頻繁に試行錯誤される各種の編集処理が実行されることによりコントローラ33の演算負荷が低減されるように構成されている。   Similarly, the image file read from the media driver 32 includes a high-resolution captured image and its thumbnail image, and various correction processes described later are performed on the thumbnail image. Based on the stored correction parameters, a final correction process is performed on the high-resolution captured image. When the image file does not include a thumbnail image, the image input unit 40 generates a thumbnail image from the high-resolution captured image and transfers it to the memory 41. In this way, the calculation load of the controller 33 is reduced by executing various editing processes that are frequently trial and error on low-resolution images.

前記画像処理部47は、図1に示すように、入力された原画像データに対して所定の濃度補正値に基づいて濃度補正処理を実施する濃度補正処理部10と、前記濃度補正処理部10により濃度補正処理された画像データに対して所定のコントラスト補正値に基づいてコントラスト補正処理を実施するコントラスト補正処理部11とを備えた構成となっている。   As shown in FIG. 1, the image processing unit 47 includes a density correction processing unit 10 that performs density correction processing on input original image data based on a predetermined density correction value, and the density correction processing unit 10. And a contrast correction processing unit 11 that performs contrast correction processing on the image data subjected to density correction processing based on a predetermined contrast correction value.

尚、撮影レンズに起因する歪を補正する歪補正部、画像のエッジを強調しノイズを低減する鮮鋭化処理部、写真プリントのサイズに適した画像サイズに変換する拡縮処理部等を備えた構成としてもよい。   A configuration including a distortion correction unit that corrects distortion caused by the photographing lens, a sharpening processing unit that enhances the edge of an image to reduce noise, an enlargement / reduction processing unit that converts the image size to a size suitable for a photographic print, and the like. It is good.

前記濃度補正処理部10は、後述する濃度補正値Gammaが設定され、予め設定されている〔数1〕に示すような関数に従って、前記入力された原画像データにおける画素毎に、前記濃度補正値Gammaと前記入力された原画像データにおける画素の濃度値Nin(i)から新たな濃度値Nout(i)を算出し、前記各画素の画素データを、つまり、前記濃度値Nin(i)を夫々前記新たな濃度値Nout(i)に置換処理することで、前記原画像データの濃度補正処理を実施するように構成されている。   The density correction processing unit 10 is set with a density correction value Gamma, which will be described later, and the density correction value is set for each pixel in the input original image data in accordance with a preset function as shown in [Equation 1]. A new density value Nout (i) is calculated from Gamma and the density value Nin (i) of the pixel in the input original image data, and the pixel data of each pixel, that is, the density value Nin (i) is calculated. The density correction process of the original image data is performed by performing the replacement process with the new density value Nout (i).

尚、前記Lは、前記原画像データにおける濃度設定値の最大の値であり、例えば、8ビットで0階調から255階調までの間で濃度設定が行なわれている場合には255となる。前記Maxは、前記原画像データが有する濃度値の最大値、つまり、最も明るい画素の濃度値であり、前記Minは、前記原画像データが有する濃度値の最小値、つまり最も暗い画素の濃度値である。前記Cminは、新たな画素データNout(i)を任意に補正するための値で、通常は0に設定される。また、iは画素番号を示す。   The L is the maximum density setting value in the original image data. For example, when the density is set between 0 gradation and 255 gradation in 8 bits, the L is 255. . The Max is the maximum density value of the original image data, that is, the density value of the brightest pixel, and the Min is the minimum density value of the original image data, that is, the density value of the darkest pixel. It is. The Cmin is a value for arbitrarily correcting new pixel data Nout (i), and is normally set to 0. I indicates a pixel number.

ここで、Nout(i)が0よりも小さくなる場合には0に、Nout(i)が255よりも大きくなる場合には255に丸め処理が行なわれるように構成されている。   Here, when Nout (i) is smaller than 0, rounding is performed to 0, and when Nout (i) is larger than 255, rounding is performed to 255.

つまり、図5に示すように、前記濃度補正値Gammaが1より大きな値に設定された場合には、前記原画像データは明るくなるように濃度補正処理され、また、前記濃度補正値Gammaが1より小さな値に設定された場合には、前記原画像データは暗くなるように濃度補正処理される構成となっている。また、前記原画像データに含まれる濃度値範囲、つまり、MinからMaxの範囲を、新たな拡張された濃度値範囲、つまり、0階調から255階調に再設定するように構成されている。   That is, as shown in FIG. 5, when the density correction value Gamma is set to a value larger than 1, the original image data is subjected to density correction processing so as to become brighter, and the density correction value Gamma is set to 1. When set to a smaller value, the original image data is subjected to density correction processing so as to be dark. Further, the density value range included in the original image data, that is, the range from Min to Max is reset from a new expanded density value range, that is, 0 gradation to 255 gradation. .

ところで、前記濃度補正値Gammaは、例えば、予め記憶されている〔数2〕に従って前記原画像データに基づいて設定することができる。また、ユーザにより適宜設定可能な構成としてもよい。   By the way, the density correction value Gamma can be set based on the original image data in accordance with, for example, [Formula 2] stored in advance. Moreover, it is good also as a structure which can be set suitably by the user.

尚、前記Maxgは、図22に示すように、前記原画像データが有する濃度値の最大値、つまり、最も明るい画素の濃度値であり、前記Mingは、前記原画像データが有する濃度値の最小値、つまり、最も暗い画素の濃度値であり、前記Massは、前記原画像データの平均濃度となる濃度値である。前記Maxkは、前記原画像データにおける濃度設定値の最大の値であり、例えば、8ビットで0階調から255階調までの間で濃度設定が行なわれているときには255とする。前記Minkは、前記原画像データにおける濃度設定値の最小の値であり、例えば、8ビットで0階調から255階調までの間で濃度設定が行なわれているときには0とする。   Note that, as shown in FIG. 22, Maxg is the maximum density value of the original image data, that is, the density value of the brightest pixel, and Ming is the minimum density value of the original image data. Value, that is, the density value of the darkest pixel, and the Mass is a density value that is an average density of the original image data. The Maxk is the maximum value of the density setting value in the original image data. For example, when the density is set between 0 gradation and 255 gradation in 8 bits, Maxk is set to 255. The Mink is the minimum density setting value in the original image data. For example, the Mink is set to 0 when the density is set between 0 gradation and 255 gradation in 8 bits.

前記コントラスト補正処理部11は、前記入力された原画像データを所定の濃度値よりも明るいハイライト領域と前記所定の濃度値よりも暗いシャドー領域とに領域分離する領域分離部12と、前記濃度補正値Gammaと前記ハイライト領域に対応する第一の関数とから得られる第一の補正値に基づいて第一のコントラスト補正値を算出する第一コントラスト補正値算出部16と、前記濃度補正値Gammaと前記シャドー領域に対応する第二の関数とから得られる第二の補正値に基づいて第二のコントラスト補正値を算出する第二コントラスト補正値算出部17と、前記第一のコントラスト補正値に基づいて前記ハイライト領域に対応する画素に対してコントラスト補正処理を実施するとともに前記第二のコントラスト補正値に基づいて前記シャドー領域に対応する画素に対してコントラスト補正処理を実施する処理実行部18とを備えて構成されている。   The contrast correction processing unit 11 divides the input original image data into a highlight region brighter than a predetermined density value and a shadow region darker than the predetermined density value, and the density A first contrast correction value calculating unit 16 that calculates a first contrast correction value based on a first correction value obtained from a correction value Gamma and a first function corresponding to the highlight area; and the density correction value A second contrast correction value calculating unit 17 that calculates a second contrast correction value based on a second correction value obtained from Gamma and a second function corresponding to the shadow region; and the first contrast correction value. Based on the second contrast correction value, a contrast correction process is performed on the pixel corresponding to the highlight area. Serial is configured by a processing execution unit 18 for performing the contrast correction processing with respect to pixels corresponding to the shadow area.

前記領域分離部12は、前記入力された原画像データを予め設定されている所定の濃度値、例えば128階調よりも明るい画素からなる領域をハイライト領域として検出し、また、128階調よりも暗い画素からなる領域をシャドー領域として検出することで、前記入力された原画像データを所定の濃度値よりも明るいハイライト領域と所定の濃度値よりも暗いシャドー領域とに領域分離するように構成されている。   The region separation unit 12 detects, as a highlight region, a region composed of pixels that are brighter than a predetermined density value set in advance, for example, 128 gradations, from the input original image data. By detecting an area composed of dark pixels as a shadow area, the input original image data is separated into a highlight area brighter than a predetermined density value and a shadow area darker than a predetermined density value. It is configured.

尚、前記所定の濃度値は、適宜、予め設定しておくことも可能であるが、例えば、前記入力された原画像データから濃度ヒストグラムを生成し、前記濃度ヒストグラムに基づいて設定される構成としてもよい。この場合、前記生成された濃度ヒストグラムにおいて最大度数となっている濃度値を前記所定の濃度値としてもよいし、前記原画像データにおける平均濃度値を前記所定の濃度値としてもよい。何れにしても、前記ハイライト領域と前記シャドー領域とが、前記原画像データの凡そ平均的な濃度値で領域分離されることが好ましい。また、前記濃度補正処理部10により濃度補正処理された画像データから濃度ヒストグラムを生成し、前記濃度補正処理後の濃度ヒストグラムに基づいて設定することも可能である。ここで、前記所定の濃度値は、適宜、ハイライト領域に含むものとしてもよいし、シャドー領域に含むものとしてもよい。   The predetermined density value can be set in advance as appropriate. For example, a density histogram is generated from the input original image data and set based on the density histogram. Also good. In this case, the density value having the maximum frequency in the generated density histogram may be set as the predetermined density value, and the average density value in the original image data may be set as the predetermined density value. In any case, it is preferable that the highlight area and the shadow area are separated by an average density value of the original image data. It is also possible to generate a density histogram from the image data that has been subjected to density correction by the density correction processing unit 10 and to set the density histogram based on the density histogram after the density correction process. Here, the predetermined density value may be appropriately included in the highlight area or may be included in the shadow area.

前記第一コントラスト補正値算出部16は、前記ハイライト領域に対応した前記濃度補正値Gammaからなる第一の関数より得られる第一の補正値に基づいて第一のコントラスト補正値Cr1を算出するもので、例えば、これまでの官能試験等により経験的に得られたものの一つである図6(a)及び〔数3〕に示すような第一の関数から得られる第一の補正値Re1を前記第一のコントラスト補正値Cr1として算出するように構成されている。   The first contrast correction value calculation unit 16 calculates a first contrast correction value Cr1 based on a first correction value obtained from a first function composed of the density correction value Gamma corresponding to the highlight region. For example, the first correction value Re1 obtained from the first function as shown in FIG. 6A and [Equation 3], which is one of the empirically obtained by the conventional sensory test or the like. Is calculated as the first contrast correction value Cr1.

前記第二コントラスト補正値算出部17は、前記シャドー領域に対応した前記濃度補正値Gammaからなる第二の関数より得られる第二の補正値に基づいて第二のコントラスト補正値Cr2を算出するもので、例えば、これまでの官能試験等により経験的に得られたものの一つである図6(b)及び〔数4〕に示すような第二の関数から得られる第二の補正値Re2を前記第二のコントラスト補正値Cr2として算出するように構成されている。   The second contrast correction value calculation unit 17 calculates a second contrast correction value Cr2 based on a second correction value obtained from a second function composed of the density correction value Gamma corresponding to the shadow region. For example, the second correction value Re2 obtained from the second function as shown in FIG. 6B and [Equation 4], which is one of the empirically obtained by the sensory test so far, is obtained. The second contrast correction value Cr2 is calculated.

前記処理実行部18は、前記第一のコントラスト補正値Cr1に基づいて前記ハイライト領域に対応する画素に対してコントラスト補正処理を実施するとともに前記第二のコントラスト補正値Cr2に基づいて前記シャドー領域に対応する画素に対してコントラスト補正処理を実施するもので、前記ハイライト領域に対応する画素に対しては〔数5〕に示すような第三の関数に従って、前記濃度補正処理部10により濃度補正処理された画像データに対してコントラスト補正処理を実施し、前記シャドー領域に対応する画素に対しては〔数6〕に示すような第四の関数に従って、前記濃度補正処理部10により濃度補正処理された画像データに対してコントラスト補正処理を実施するように構成されている。つまり、前記各領域別に前記夫々に対応した関数に従って、画素毎に前記濃度補正処理された濃度値Nout(i)から新たな濃度値Cout(i)を算出し、前記各画素の画素データを夫々前記新たな濃度値Nout(i)に置換処理することで、前記濃度補正処理された画像データに対してコントラスト補正処理を実施するように構成されている。   The processing execution unit 18 performs a contrast correction process on the pixel corresponding to the highlight area based on the first contrast correction value Cr1, and also performs the shadow area based on the second contrast correction value Cr2. The density correction processing unit 10 performs the density correction processing on the pixels corresponding to the highlight area by the density correction processing unit 10 according to the third function shown in [Formula 5] for the pixels corresponding to the highlight area. Contrast correction processing is performed on the corrected image data, and the density correction processing unit 10 performs density correction on the pixel corresponding to the shadow area according to the fourth function as shown in [Equation 6]. Contrast correction processing is performed on the processed image data. That is, a new density value Cout (i) is calculated from the density value Nout (i) subjected to the density correction processing for each pixel according to the function corresponding to each area, and the pixel data of each pixel is obtained. By performing replacement processing with the new density value Nout (i), contrast correction processing is performed on the image data subjected to the density correction processing.

尚、前記NAは、前記ハイライト領域と前記シャドー領域とが領域分離されたときの所定の濃度値、例えば128階調が、前記〔数1〕により濃度変換処理された濃度値である。   The NA is a density value obtained by density conversion processing according to [Equation 1] for a predetermined density value, for example, 128 gradations when the highlight area and the shadow area are separated.

また、Cout(i)が0よりも小さくなる場合には0に、Nout(i)が255よりも大きくなる場合には255に丸め処理が行なわれるように構成されている。   Further, when Cout (i) is smaller than 0, rounding is performed to 0, and when Nout (i) is larger than 255, rounding is performed to 255.

つまり、前記ハイライト領域に対応する画素では、図7(a)に示すように、前記第一のコントラスト補正値Cr1が大きくなるほど、コントラストが高くなるように構成されている。また、前記シャドー領域に対応する画素では、図7(b)に示すように、前記第二のコントラスト補正値Cr2が負に大きくなるほど、コントラストが高くなるように構成されている。   That is, as shown in FIG. 7A, the pixels corresponding to the highlight region are configured such that the contrast increases as the first contrast correction value Cr1 increases. Further, as shown in FIG. 7B, the pixel corresponding to the shadow region is configured such that the contrast increases as the second contrast correction value Cr2 increases negatively.

以下、前記画像処理部47の動作について図8のフローチャートに基づいて説明する。前記メモリ41に原画像データが入力されると(SA1)、前記原画像データにおける濃度ヒストグラムを生成し(SA2)、前記濃度補正処理部10は、前記濃度ヒストグラムから前記原画像データが有する濃度値の最大値、つまり、最も明るい画素の濃度値Maxgと、前記原画像データが有する濃度値の最小値、つまり、最も暗い画素の濃度値Mingと、前記原画像データの平均濃度となる濃度値Massとを算出し、前記〔数2〕に基づいて濃度補正値Gammaを算出する(SA3)。   The operation of the image processing unit 47 will be described below with reference to the flowchart of FIG. When the original image data is input to the memory 41 (SA1), a density histogram in the original image data is generated (SA2), and the density correction processing unit 10 determines the density value of the original image data from the density histogram. , That is, the density value Maxg of the brightest pixel, the minimum density value of the original image data, that is, the density value Ming of the darkest pixel, and the density value Mass that is the average density of the original image data. And the density correction value Gamma is calculated based on the above [Equation 2] (SA3).

前記第一コントラスト補正値算出部16は、上述の〔数3〕に示される前記ハイライト領域に対応した前記濃度補正値Gammaからなる第一の関数より得られる第一の補正値Re1を第一のコントラスト補正値Cr1として算出する(SA4、SA5)。また、前記第二コントラスト補正値算出部17は、上述の〔数4〕に示される前記シャドー領域に対応した前記濃度補正値Gammaからなる第二の関数より得られる第二の補正値Re2を第二のコントラスト補正値Cr2として算出する(SA6、SA7)。   The first contrast correction value calculation unit 16 sets the first correction value Re1 obtained from the first function composed of the density correction value Gamma corresponding to the highlight area shown in [Equation 3] described above to the first. The contrast correction value Cr1 is calculated (SA4, SA5). Further, the second contrast correction value calculation unit 17 obtains a second correction value Re2 obtained from a second function made up of the density correction value Gamma corresponding to the shadow area shown in [Expression 4]. The second contrast correction value Cr2 is calculated (SA6, SA7).

前記濃度補正処理部10は、前記原画像データに対して前記濃度補正値Gammaに基づいた濃度補正処理を実施する。つまり、上述の〔数1〕に示される関数に従って、前記濃度補正値Gammaと前記入力された原画像データにおける画素の濃度値Nin(i)等から新たな濃度値Nout(i)を算出し(SA8)、前記画素データを前記新たな濃度値Nout(i)に置換処理する(SA9)。   The density correction processing unit 10 performs density correction processing based on the density correction value Gamma on the original image data. That is, a new density value Nout (i) is calculated from the density correction value Gamma and the density value Nin (i) of the pixel in the input original image data according to the function expressed by the above [Equation 1] ( SA8), the pixel data is replaced with the new density value Nout (i) (SA9).

一方、前記領域分離部12は、前記入力された原画像データを予め設定されている所定の濃度値、例えば128階調よりも明るい画素からなる領域をハイライト領域として検出し、また、128階調よりも暗い画素からなる領域をシャドー領域として検出することで、前記入力された原画像データを所定の濃度値よりも明るいハイライト領域と所定の濃度値よりも暗いシャドー領域とに領域分離する(SA10)。尚、ここでは、128階調はシャドー領域に含まれるものとする。   On the other hand, the region separation unit 12 detects a region having pixels with a predetermined density value, for example, brighter than 128 gradations, as a highlight region from the input original image data, By detecting an area composed of pixels darker than the tone as a shadow area, the input original image data is divided into a highlight area brighter than a predetermined density value and a shadow area darker than a predetermined density value. (SA10). Here, it is assumed that 128 gradations are included in the shadow area.

前記処理実行部18は、前記ハイライト領域に対応する画素に対しては、つまり、128階調よりも明るい画素に対しては、上述の〔数5〕に示すような第三の関数に従って、前記濃度補正処理された濃度値Nout(i)と第一のコントラスト補正値Cr1等とから新たな濃度値Cout(i)を算出する(SA11)。また、前記ハイライト領域に対応する画素に対しては、つまり、128階調よりも暗い画素に対しては、上述の〔数6〕に示すような第四の関数に従って、前記濃度補正処理された濃度値Nout(i)と第二のコントラスト補正値Cr2等とから新たな濃度値Cout(i)を算出する(SA12)。そして、前記画像データにおける画素の濃度値Nout(i)を前記新たな濃度値Cout(i)に置換処理する(SA13)。   The processing execution unit 18 performs, for the pixel corresponding to the highlight area, that is, for a pixel brighter than 128 gradations, according to the third function shown in the above [Equation 5]. A new density value Cout (i) is calculated from the density correction-processed density value Nout (i), the first contrast correction value Cr1, and the like (SA11). Further, for the pixel corresponding to the highlight area, that is, for the pixel darker than 128 gradations, the density correction processing is performed according to the fourth function as shown in the above [Equation 6]. A new density value Cout (i) is calculated from the density value Nout (i), the second contrast correction value Cr2, and the like (SA12). Then, the pixel density value Nout (i) in the image data is replaced with the new density value Cout (i) (SA13).

前記原画像データを構成する全画素に対して前記ステップSA8からステップSA13の処理が実施される(SA14)。   The processing from Step SA8 to Step SA13 is performed on all the pixels constituting the original image data (SA14).

つまり、前記シャドー領域とは分離して前記ハイライト領域に対応したコントラスト補正処理を実施するとともに、前記ハイライト領域とは分離して前記シャドー領域に対応したコントラスト補正処理を実施する。   That is, the contrast correction process corresponding to the highlight area is performed separately from the shadow area, and the contrast correction process corresponding to the shadow area is performed separately from the highlight area.

以下、別の実施形態について説明する。前記コントラスト補正処理部11は、図9に示すように、前記入力された原画像データの逆光度合いを算出する逆光度算出部13を備え、前記第一コントラスト補正値算出部16が前記第一の補正値Re1から前記逆光度合いに応じた第三の補正値Re3を減算することで前記第一のコントラスト補正値Cr1を算出する構成としてもよい。尚、以下、便宜上前記第一コントラスト補正値算出部16は、第一コントラスト補正値算出部26として、前記コントラスト補正処理部11は、コントラスト補正処理部21として、符号を代えて説明する。   Hereinafter, another embodiment will be described. As shown in FIG. 9, the contrast correction processing unit 11 includes a backlight intensity calculator 13 that calculates the backlight intensity of the input original image data, and the first contrast correction value calculator 16 includes the first contrast correction value calculator 16. The first contrast correction value Cr1 may be calculated by subtracting the third correction value Re3 corresponding to the backlight level from the correction value Re1. Hereinafter, for convenience, the first contrast correction value calculation unit 16 will be described as a first contrast correction value calculation unit 26, and the contrast correction processing unit 11 will be described as a contrast correction processing unit 21 with different reference numerals.

前記逆光度算出部13は、図10に示すような、前記原画像データにおける所定の周辺画素領域EEの濃度値の平均値EEaveと、前記原画像データにおける所定の中央画素領域ECの濃度値の平均値ECaveとの濃度平均値比EEave/ECaveを逆光度合いとして算出し、予め設定されている第五の関数から前記逆光度合いに応じた第三の補正値Re3を算出するように構成されている。   As shown in FIG. 10, the backlight intensity calculation unit 13 calculates an average value EEave of density values of a predetermined peripheral pixel area EE in the original image data and a density value of a predetermined center pixel area EC in the original image data. The concentration average value ratio EEave / ECave with the average value ECave is calculated as the backlight level, and the third correction value Re3 corresponding to the backlight level is calculated from a preset fifth function. .

前記第五の関数は、例えば、図11に示すような、前記原画像データにおける逆光度合いが大きい程、前記第三の補正値Re3が大きく算出されるように構成されている。   For example, as shown in FIG. 11, the fifth function is configured such that the third correction value Re3 is calculated larger as the degree of backlight in the original image data is larger.

前記第一コントラスト補正値算出部26は、前記第一の補正値Re1から前記第三の補正値Re3を減算して前記第一のコントラスト補正値Cr1を算出するように構成されている。つまり、前記原画像データにおける逆光度合いが大きい程、前記第一のコントラスト補正値Cr1が小さく算出されるように構成されている。   The first contrast correction value calculation unit 26 is configured to calculate the first contrast correction value Cr1 by subtracting the third correction value Re3 from the first correction value Re1. That is, the first contrast correction value Cr1 is calculated to be smaller as the degree of backlighting in the original image data is larger.

以下、前記コントラスト補正処理部21における前記第一のコントラスト補正値Cr1の算出にかかる動作について図12のフローチャートに基づいて説明すると、前記メモリ41に原画像データが入力され(SB1)、前記濃度補正値Gammaが設定されると(SB2)、前記逆光度算出部13は、前記原画像データにおける所定の周辺画素領域EEの濃度値の平均値EEaveを算出し(SB3)、また、前記原画像データにおける所定の中央画素領域ECの濃度値の平均値ECaveを算出する(SB4)。更に、前記周辺画素領域EEの濃度値の平均値EEaveと前記中央画素領域ECの濃度値の平均値ECaveとの濃度平均値比EEave/ECaveを逆光度合いとして算出する(SB5)。そして、前記図11に示される第五の関数から前記逆光度合いに応じた第三の補正値Re3を算出する(SB6)。   Hereinafter, the operation of the contrast correction processing unit 21 for calculating the first contrast correction value Cr1 will be described with reference to the flowchart of FIG. 12. Original image data is input to the memory 41 (SB1), and the density correction is performed. When the value Gamma is set (SB2), the backlight intensity calculating unit 13 calculates an average value EEave of density values of a predetermined peripheral pixel area EE in the original image data (SB3), and the original image data The average value ECave of the density values of the predetermined central pixel area EC is calculated (SB4). Further, a density average value ratio EEave / ECave between the average value EEave of the density values of the peripheral pixel area EE and the average value ECave of the density values of the central pixel area EC is calculated as the degree of backlight (SB5). Then, a third correction value Re3 corresponding to the degree of backlight is calculated from the fifth function shown in FIG. 11 (SB6).

前記第一コントラスト補正値算出部26は、上述の〔数3〕に示される前記ハイライト領域に対応した前記濃度補正値Gammaからなる第一の関数より得られる第一の補正値Re1を算出し(SB7)、前記第一の補正値Re1から第三の補正値Re3を減算することで前記第一のコントラスト補正値Cr1を算出する(SB8)。   The first contrast correction value calculation unit 26 calculates a first correction value Re1 obtained from a first function composed of the density correction value Gamma corresponding to the highlight area shown in the above [Equation 3]. (SB7) The first contrast correction value Cr1 is calculated by subtracting the third correction value Re3 from the first correction value Re1 (SB8).

つまり、原画像データの中心領域の画素の濃度値が暗く、原画像データの周辺領域の画素の濃度値が明るい等といった逆光度合いが大きい場合に、前記第一のコントラスト補正値Cr1を小さく算出し、前記ハイライト領域における画像の圧縮状態を緩和する。尚、前記第三の補正値Re3は、前記周辺画素領域EEの濃度値の平均値EEaveと前記中央画素領域ECの濃度値の平均値ECaveとの差とに基づいて算出される構成としてもよい。   That is, the first contrast correction value Cr1 is calculated to be small when the degree of backlighting is large, such as when the density value of the pixel in the central area of the original image data is dark and the density value of the pixel in the peripheral area of the original image data is bright. The image compression state in the highlight area is relaxed. The third correction value Re3 may be calculated based on a difference between an average value EEave of density values in the peripheral pixel area EE and an average value ECave of density values in the central pixel area EC. .

また、前記コントラスト補正処理部11は、図13に示すように、前記入力された原画像データの平均色度及び平均彩度を算出する画像色算出部14を備え、前記第一コントラスト補正値算出部16が前記第一の補正値Re1に前記平均色度及び平均彩度に応じた第四の補正値Re4を加えて前記第一のコントラスト補正値Cr1を算出する構成としてもよい。尚、以下、便宜上前記第一コントラスト補正値算出部16は、第一コントラスト補正値算出部36として、前記コントラスト補正処理部11は、コントラスト補正処理部31として、符号を代えて説明する。   Further, as shown in FIG. 13, the contrast correction processing unit 11 includes an image color calculation unit 14 that calculates average chromaticity and average saturation of the input original image data, and calculates the first contrast correction value. The unit 16 may add the fourth correction value Re4 corresponding to the average chromaticity and the average saturation to the first correction value Re1 to calculate the first contrast correction value Cr1. Hereinafter, for convenience, the first contrast correction value calculation unit 16 will be described as a first contrast correction value calculation unit 36, and the contrast correction processing unit 11 will be described as a contrast correction processing unit 31, with reference numerals being changed.

前記画像色算出部14は、例えば、図14に示すような、円座標の中心Oからの距離を彩度として、また、方位角を色度として表すPQ色空間にプロット可能なように、前記入力された原画像データの平均色度及び平均彩度を算出し、前記平均色度及び平均彩度としてプロットされた前記PQ色空間の領域に応じた第四の補正値Re4を算出するように構成されている。   For example, the image color calculation unit 14 can plot in a PQ color space in which the distance from the center O of the circular coordinates as saturation and the azimuth angle as chromaticity as shown in FIG. 14 can be plotted. An average chromaticity and an average saturation of the input original image data are calculated, and a fourth correction value Re4 corresponding to the area of the PQ color space plotted as the average chromaticity and the average saturation is calculated. It is configured.

前記第四の補正値Re4は、例えば、前記平均色度及び平均彩度が前記PQ色空間においてブルー領域Ebとなるときに一律0.3となるように、グリーン領域Eg、イエロー領域Ey、レッド領域Er、パープル領域Ep、及び、低彩度領域Enとなるときには、一律0として算出されるように構成されている。   The fourth correction value Re4 is, for example, a green region Eg, a yellow region Ey, a red color so that the average chromaticity and the average saturation are uniformly 0.3 when the average chromaticity and the average saturation are the blue region Eb in the PQ color space. The area Er, the purple area Ep, and the low saturation area En are configured to be calculated as 0 uniformly.

前記第一コントラスト補正値算出部36は、前記第一の補正値Re1に前記第四の補正値Re4を加算することで前記第一のコントラスト補正値Cr1を算出するように構成されている。つまり、前記原画像データがブルーやシアン系の色に色かぶりしているような場合に、前記第一のコントラスト補正値Cr1が大きく算出されるように構成されている。   The first contrast correction value calculation unit 36 is configured to calculate the first contrast correction value Cr1 by adding the fourth correction value Re4 to the first correction value Re1. In other words, the first contrast correction value Cr1 is calculated to be large when the original image data has a blue or cyan color cast.

以下、前記コントラスト補正処理部31における前記第一のコントラスト補正値Cr1の算出にかかる動作について図15のフローチャートに基づいて説明すると、前記メモリ41に原画像データが入力され(SC1)、前記濃度補正値Gammaが設定されると(SC2)、前記画像色算出部14は、原画像データの平均色度及び平均彩度を算出し(SC3)、前記平均色度及び平均彩度が前記PQ色空間におけるブルー領域Ebであった場合に(SC4)、前記第四の補正値Re4を0.3として算出し(SC5)、ブルー領域Ebと異なる領域であった場合には、前記第四の補正値Re4を0として算出する(SC6)。   Hereinafter, the operation of the contrast correction processing unit 31 relating to the calculation of the first contrast correction value Cr1 will be described with reference to the flowchart of FIG. 15. Original image data is input to the memory 41 (SC1), and the density correction is performed. When the value Gamma is set (SC2), the image color calculation unit 14 calculates the average chromaticity and average saturation of the original image data (SC3), and the average chromaticity and average saturation are in the PQ color space. If the region is the blue region Eb (SC4), the fourth correction value Re4 is calculated as 0.3 (SC5). If the region is different from the blue region Eb, the fourth correction value Re4 is calculated. Re4 is calculated as 0 (SC6).

前記第一コントラスト補正値算出部26は、上述の〔数2〕に示される前記ハイライト領域に対応した前記濃度補正値Gammaからなる第一の関数より得られる第一の補正値Re1を算出し(SC7)、前記第一の補正値Re1に前記第四の補正値Re4を加算することで前記第一のコントラスト補正値Cr1を算出する(SC8)。   The first contrast correction value calculation unit 26 calculates a first correction value Re1 obtained from a first function composed of the density correction value Gamma corresponding to the highlight area shown in [Expression 2]. (SC7) The first contrast correction value Cr1 is calculated by adding the fourth correction value Re4 to the first correction value Re1 (SC8).

つまり、原画像データがブルーやシアン系の色に色かぶりしているような場合に、前記第一のコントラスト補正値Cr1を大きく算出することにより、前記ハイライト領域におけるコントラストを高くするとともに画像の濃度値を濃く(暗く)することで、前記ハイライト領域の抜けを改善する。   That is, when the original image data has a blue or cyan color cast, the first contrast correction value Cr1 is greatly calculated to increase the contrast in the highlight area and By increasing the density value (darkening), the omission of the highlight area is improved.

また、前記コントラスト補正処理部11は、図16に示すように、前記入力された原画像データにおける風景人物度を算出する風景人物度算出部15を備え、前記第二コントラスト補正値算出部17が前記第二の補正値Re2に前記風景人物度に応じた第五の補正値Re5を加算して前記第二のコントラスト補正値Cr2を算出する構成としてもよい。尚、以下、便宜上前記第二コントラスト補正値算出部17は、第二コントラスト補正値算出部27として、前記コントラスト補正処理部11は、コントラスト補正処理部41として、符号を代えて説明する。   Further, as shown in FIG. 16, the contrast correction processing unit 11 includes a landscape person degree calculation unit 15 that calculates a scenery person degree in the input original image data, and the second contrast correction value calculation unit 17 includes A configuration may be adopted in which the second contrast correction value Cr2 is calculated by adding a fifth correction value Re5 corresponding to the landscape portrait to the second correction value Re2. Hereinafter, for convenience, the second contrast correction value calculation unit 17 will be described as a second contrast correction value calculation unit 27, and the contrast correction processing unit 11 will be described as a contrast correction processing unit 41 with different reference numerals.

前記風景人物度算出部15は、前記原画像データに含まれる人物を検出し、前記検出された人物の領域と、前記検出された人物以外の領域との領域面積比を風景人物度として算出し、予め設定されている第六の関数から前記風景人物度に応じた第五の補正値Re5を算出するように構成されている。   The landscape person degree calculating unit 15 detects a person included in the original image data, and calculates a region area ratio between the detected person area and a region other than the detected person as a scenery person degree. The fifth correction value Re5 corresponding to the scene portrait is calculated from a preset sixth function.

前記原画像データに含まれる人物の検出は、前記原画像データから抽出された濃度エッジやカラーエッジに基づく輪郭が顔領域であるか否かを、予め準備された顔領域の輪郭、目、鼻、口、耳等の複数の要素配置パターンとの一致度を評価することによるパターン認識技術に基づいて検出する等といった公知の技術を用いることができる。また、前記風景人物度は、具体的には、前記検出された人物を構成する領域の画素数Hmと、それ以外の領域の画素数Hxとの比Hm/Hxとすることができる。前記風景人物度に応じた第六の関数は、例えば、図17に示すように、前記風景人物度が小さいほど前記第五の補正値Re5が負に大きく算出されるように構成されている。   The detection of the person included in the original image data is performed by determining whether or not the contour based on the density edge and the color edge extracted from the original image data is a face region. In addition, a known technique such as detection based on a pattern recognition technique by evaluating the degree of coincidence with a plurality of element arrangement patterns such as mouths and ears can be used. Further, specifically, the landscape portrait can be a ratio Hm / Hx between the number of pixels Hm of the area constituting the detected person and the number of pixels Hx of the other areas. For example, as shown in FIG. 17, the sixth function corresponding to the landscape portrait is configured such that the fifth correction value Re5 is calculated to be negatively larger as the landscape portrait is smaller.

前記第二コントラスト補正値算出部27は、前記第二の補正値Re2に前記第五の補正値Re5を加算することで前記第二のコントラスト補正値Cr2を算出するように構成されている。つまり、前記原画像データにおける風景人物度が小さい程、前記第二のコントラスト補正値Cr2が負に大きく算出されるように構成されている。   The second contrast correction value calculation unit 27 is configured to calculate the second contrast correction value Cr2 by adding the fifth correction value Re5 to the second correction value Re2. That is, the second contrast correction value Cr2 is calculated to be negatively larger as the scene portrait in the original image data is smaller.

以下、前記コントラスト補正処理部41における前記第二のコントラスト補正値Cr2の算出にかかる動作について図18のフローチャートに基づいて説明すると、前記メモリ41に原画像データが入力され(SD1)、前記濃度補正値Gammaが設定されると(SD2)、前記風景人物度算出部15は、前記原画像データに含まれる人物を検出し(SD3)、前記検出された人物を構成する領域の画素数Hmとそれ以外の領域の画素数Hxとを算出し(SD4、SD5)、前記画素数Hmと画素数Hxとの比Hm/Hxを風景人物度として算出する(SD6)。そして、前記図17に示される第六の関数から前記風景人物度に応じた第五の補正値Re5を算出する(SD7)。   Hereinafter, the operation of the contrast correction processing unit 41 relating to the calculation of the second contrast correction value Cr2 will be described based on the flowchart of FIG. 18. Original image data is input to the memory 41 (SD1), and the density correction is performed. When the value Gamma is set (SD2), the landscape person degree calculation unit 15 detects a person included in the original image data (SD3), and the number of pixels Hm of the area constituting the detected person and The pixel number Hx of the area other than the above is calculated (SD4, SD5), and the ratio Hm / Hx between the pixel number Hm and the pixel number Hx is calculated as the landscape portrait (SD6). Then, a fifth correction value Re5 corresponding to the scene portrait is calculated from the sixth function shown in FIG. 17 (SD7).

前記第二コントラスト補正値算出部27は、上述の〔数4〕に示される前記シャドー領域に対応した前記濃度補正値Gammaからなる第二の関数より得られる第二の補正値Re2を算出し(SD8)、前記第二の補正値Re2に前記第六の補正値Re6を加算することで前記第二のコントラスト補正値Cr2を算出する(SD9)。   The second contrast correction value calculation unit 27 calculates a second correction value Re2 obtained from a second function composed of the density correction value Gamma corresponding to the shadow area shown in the above [Equation 4] ( SD8), the second contrast correction value Cr2 is calculated by adding the sixth correction value Re6 to the second correction value Re2 (SD9).

つまり、原画像データが前記原画像データに全く人が含まれない等といった風景人物度の低い風景画像の場合に、前記第二のコントラスト補正値Cr2を負に大きく算出することにより、前記シャドー領域におけるコントラストを高くすることで、前記シャドー領域におけるコントラスト感を引き締め、風景画像を再現する上で、適切な補正を行なう。   In other words, when the original image data is a landscape image with a low landscape portrait such as no original person is included in the original image data, the shadow region is calculated by calculating the second contrast correction value Cr2 to be negatively large. By increasing the contrast in, the contrast in the shadow area is tightened, and an appropriate correction is performed in reproducing the landscape image.

尚、前記コントラスト補正処理部11は、図19に示すように、前記逆光度算出部13、前記画像色算出部14、前記風景人物度算出部15を備え、前記第一コントラスト補正値算出部16が前記第一の補正値Re1から前記逆光度合いに応じた第三の補正値Re3を減算し、更に、前記平均色度及び平均彩度に応じた第四の補正値Re4を加えて前記第一のコントラスト補正値Cr1を算出する構成とし、前記第二コントラスト補正値算出部17が前記第二の補正値Re2に前記風景人物度に応じた第五の補正値Re5を加算して前記第二のコントラスト補正値Cr2を算出する構成としてもよい。前記ハイライト領域における画像の圧縮状態の緩和、同じく前記ハイライト領域の抜けの改善、及び、前記シャドー領域におけるコントラスト感の引き締めを総合的に実施することができる。   As shown in FIG. 19, the contrast correction processing unit 11 includes the backlight intensity calculation unit 13, the image color calculation unit 14, and the landscape person degree calculation unit 15, and the first contrast correction value calculation unit 16. Subtracts a third correction value Re3 corresponding to the degree of backlight from the first correction value Re1, and further adds a fourth correction value Re4 corresponding to the average chromaticity and average saturation to add the first correction value Re3. The second contrast correction value calculation unit 17 adds the fifth correction value Re5 corresponding to the scene person degree to the second correction value Re2 to calculate the second contrast correction value Cr1. The contrast correction value Cr2 may be calculated. It is possible to comprehensively reduce the compression state of the image in the highlight area, improve the omission of the highlight area, and tighten the contrast in the shadow area.

また、前記コントラスト補正処理部11は、前記逆光度算出部13、前記画像色算出部14及び前記風景人物度算出部15により算出または検出された結果が前記第一のコントラスト補正値Cr1または前記第二のコントラスト補正値Cr2を算出する際に相互に参酌される構成としてもよい。   Further, the contrast correction processing unit 11 is configured such that the result calculated or detected by the backlight intensity calculating unit 13, the image color calculating unit 14, and the landscape portrait calculating unit 15 is the first contrast correction value Cr1 or the first contrast correction value Cr1. A configuration in which the two contrast correction values Cr2 are mutually considered may be employed.

例えば、具体的には、図20に示すように、前記コントラスト補正処理部11に、更に、前記原画像データにおける所定の領域における濃度値の平均値を算出する領域濃度値平均算出部19を備え、前記領域濃度値平均算出部19によって算出された所定の領域における濃度値の平均値に基づいて前記逆光度算出部13、前記画像色算出部14及び前記風景人物度算出部15により算出または検出された結果が前記第一のコントラスト補正値Cr1または前記第二のコントラスト補正値Cr2を算出する際に相互に参酌される構成としてもよい。尚、以下、便宜上前記第一コントラスト補正値算出部16は、第一コントラスト補正値算出部56として、前記第二コントラスト補正値算出部17は、第二コントラスト補正値算出部57として、前記コントラスト補正処理部11は、コントラスト補正処理部51として、符号を代えて説明する。   For example, specifically, as shown in FIG. 20, the contrast correction processing unit 11 further includes an area density value average calculating unit 19 that calculates an average value of density values in a predetermined area in the original image data. Calculated or detected by the backlight intensity calculator 13, the image color calculator 14 and the landscape portrait calculator 15 based on the average density value in a predetermined area calculated by the area density average calculator 19 The calculated result may be mutually considered when calculating the first contrast correction value Cr1 or the second contrast correction value Cr2. Hereinafter, for the sake of convenience, the first contrast correction value calculation unit 16 will be referred to as a first contrast correction value calculation unit 56, and the second contrast correction value calculation unit 17 will be referred to as a second contrast correction value calculation unit 57. The processing unit 11 will be described as the contrast correction processing unit 51 with different reference numerals.

例えば、前記風景人物度算出部15により原画像データに人物が含まれていると検出された場合について、図21のフローチャートに基づいて説明すると、前記風景人物度算出部15により前記原画像データに含まれる人物が検出された場合に(SE1)、前記検出された人物の領域の濃度値の平均値Taと前記原画像データ全体の濃度値の平均値Txとが前記領域濃度値平均算出部19により算出され、例えば、8ビットデータにおいて、前記人物の領域の濃度値の平均値Taが100階調未満であり、前記原画像データ全体の濃度値の平均値Txが130階調以上等といった背景に比べて人物の濃度値が暗いときに(SE2)、前記第二コントラスト補正値算出部57が前記第二のコントラスト補正値Cr2が負に大きくなるように算出する(SE3)。つまり、前記コントラスト補正処理部51は、逆光シーンにまでは至っていないものの、背景に明るいものが存在し、かつ、人物領域の濃度値が暗いときに、前記シャドー領域のコントラストが高くなるようにコントラスト補正処理する。   For example, a description will be given of a case where a person is included in the original image data by the landscape person degree calculation unit 15 based on the flowchart of FIG. 21. The scene person degree calculation unit 15 adds the original image data to the original image data. When an included person is detected (SE1), the average value Ta of the density values of the detected person's area and the average value Tx of the density values of the entire original image data are calculated as the area density value average calculating unit 19. For example, in 8-bit data, the average value Ta of the density values of the person area is less than 100 gradations, and the average density value Tx of the whole original image data is 130 gradations or more. When the density value of the person is darker than (SE2), the second contrast correction value calculation unit 57 calculates the second contrast correction value Cr2 to be negatively larger. That (SE3). That is, the contrast correction processing unit 51 does not reach a backlight scene, but there is a bright background, and the contrast of the shadow area is increased when the density value of the person area is dark. Perform correction processing.

また、前記検出された人物の領域の濃度値の平均値Taと前記検出された人物以外の領域の濃度値の平均値Tcとが前記領域濃度値平均算出部19により算出され、前記人物の領域の濃度値の平均値Taが所定の濃度値Tb以上であるか(SE4)、または、前記人物の領域の濃度値の平均値Taが前記人物以外の領域の濃度値の平均値Tcに比べて所定の濃度値Td以上明るいときに(SE5)、前記第一コントラスト補正値算出部56が前記第一のコントラスト補正値Cr1が小さくなるように算出する(SE6)。つまり、前記コントラスト補正処理部51は、人物の周辺濃度値に対して人物の濃度値が明るいときは、人物画像の濃淡情報が飛び気味になっているため、これを和らげるために、前記ハイライト領域のコントラストが小さくなるようにコントラスト補正処理する。   In addition, an average value Ta of density values of the detected area of the person and an average value Tc of density values of the areas other than the detected person are calculated by the area density value average calculating unit 19, and the area of the person is calculated. The average value Ta of the density values is equal to or greater than a predetermined density value Tb (SE4), or the average value Ta of the density values of the person area is compared with the average value Tc of the density values of the areas other than the person. When brighter than the predetermined density value Td (SE5), the first contrast correction value calculation unit 56 calculates the first contrast correction value Cr1 to be small (SE6). That is, when the density value of the person is bright with respect to the peripheral density value of the person, the contrast correction processing unit 51 has the highlight information in order to relieve the density information of the person image. Contrast correction processing is performed so that the contrast of the region is reduced.

一方、前記人物の領域の濃度値の平均値Taが前記人物以外の領域の濃度値の平均値Tcに比べて所定の濃度値Te以上暗いときに(SE7)、前記第二コントラスト補正値算出部57が前記第二のコントラスト補正値Cr2が負に大きくなるように算出する(SE8)。つまり、前記コントラスト補正処理部51は、人物の周辺濃度値に対して人物の濃度値が暗い逆光シーンのような場合に、画像全体の濃度値を明るくすると背景部分の濃淡情報が飛び気味となるため、前記濃度補正処理自体は押さえ気味とされている上で、前記シャドー部のコントラストを高くすることで、前記人物の濃度値を明るくし、背景部分の濃淡情報が飛び気味になることを押さえる。   On the other hand, when the average value Ta of the density values of the person area is darker than a predetermined density value Te as compared with the average value Tc of the density values of areas other than the person (SE7), the second contrast correction value calculation unit 57 calculates so that the second contrast correction value Cr2 becomes negatively larger (SE8). In other words, in the case of a backlight scene in which the density value of the person is dark with respect to the peripheral density value of the person, the contrast correction processing unit 51 makes the density information of the background portion fly out when the density value of the entire image is increased. Therefore, while the density correction processing itself is supposed to be suppressed, by increasing the contrast of the shadow portion, the density value of the person is brightened, and the density information of the background portion is suppressed from being skipped. .

また、前記人物の領域の濃度値の平均値Taが所定の濃度値Tf以下であり(SE9)、かつ、前記人物の領域の濃度値の平均値Taと前記人物以外の領域の濃度値の平均値Tcとの差が所定の濃度値Tgの範囲以内のとき(SE10)、前記第一コントラスト補正値算出部56が前記第一のコントラスト補正値Cr1が大きくなるように算出する(SE11)。つまり、前記コントラスト補正処理部51は、前記人物の濃度値とその周辺の濃度値がともに同じように暗いといったアンダー傾向の画像の場合に、前記ハイライト領域のコントラストを高くする。   Further, the average value Ta of the density values of the person area is equal to or lower than a predetermined density value Tf (SE9), and the average value Ta of the density values of the person area and the average of the density values of the areas other than the person are included. When the difference from the value Tc is within the range of the predetermined density value Tg (SE10), the first contrast correction value calculation unit 56 calculates the first contrast correction value Cr1 so as to increase (SE11). That is, the contrast correction processing unit 51 increases the contrast of the highlight region in the case of an under-prone image in which both the density value of the person and the density value of the surrounding area are dark as well.

尚、上述した実施形態は、本発明の一例に過ぎず、本発明の作用効果を奏する範囲において各ブロックの具体的構成等を適宜変更設計できることは言うまでもない。   Note that the above-described embodiment is merely an example of the present invention, and it is needless to say that the specific configuration and the like of each block can be changed and designed as appropriate within the scope of the effects of the present invention.

画像処理部における機能ブロック構成の説明図Explanatory drawing of functional block configuration in image processing unit 写真画像処理装置の外観構成の説明図Explanatory drawing of the external configuration of the photographic image processing apparatus 写真プリンタの説明図Illustration of photo printer 写真画像処理装置の機能ブロック構成の説明図Explanatory drawing of functional block configuration of photographic image processing apparatus 濃度補正処理における濃度値変移の説明図Explanatory drawing of density value transition in density correction processing (a)は第一の補正値を算出するためのハイライト領域に対応した濃度補正値Gammaからなる第一の関数の説明図、(b)は第二の補正値を算出するためのシャドー領域に対応した濃度補正値Gammaからなる第二の関数の説明図(A) is explanatory drawing of the 1st function which consists of the density | concentration correction value Gamma corresponding to the highlight area | region for calculating a 1st correction value, (b) is a shadow area | region for calculating a 2nd correction value. Explanatory drawing of the 2nd function which consists of density correction value Gamma corresponding to (a)は第一のコントラスト補正値に基づいたコントラスト補正処理における濃度値変移の説明図、(b)は第二のコントラスト補正値に基づいたコントラスト補正処理における濃度値変移の説明図(A) is explanatory drawing of density value transition in the contrast correction process based on the first contrast correction value, (b) is explanatory drawing of density value transition in the contrast correction process based on the second contrast correction value. 画像処理部の動作について説明するためのフローチャートFlow chart for explaining the operation of the image processing unit 逆光度算出部を備えた別実施形態での画像処理部における機能ブロック構成の説明図Explanatory drawing of the functional block structure in the image processing part in another embodiment provided with the backlight intensity calculation part 原画像データにおける周辺画素領域と中央画素領域の説明図Explanatory drawing of the peripheral pixel area and the central pixel area in the original image data 第三の補正値Re3を算出するための第五の関数の説明図Explanatory drawing of the 5th function for calculating 3rd correction value Re3 逆光度算出部を備えた別実施形態における第一のコントラスト補正値の算出にかかる動作について説明するためのフローチャートThe flowchart for demonstrating the operation | movement concerning calculation of the 1st contrast correction value in another embodiment provided with the backlight intensity calculation part. 画像色算出部を備えた別実施形態での画像処理部における機能ブロック構成の説明図Explanatory drawing of the functional block structure in the image processing part in another embodiment provided with the image color calculation part PQ色空間におけるブルー領域、グリーン領域、イエロー領域、レッド領域、パープル領域、及び、低彩度領域の説明図Explanatory drawing of blue area, green area, yellow area, red area, purple area, and low saturation area in PQ color space 画像色算出部を備えた別実施形態における第一のコントラスト補正値の算出にかかる動作について説明するためのフローチャートFlowchart for explaining an operation related to the calculation of the first contrast correction value in another embodiment provided with an image color calculation unit 風景人物度算出部を備えた別実施形態での画像処理部における機能ブロック構成の説明図Explanatory drawing of the functional block structure in the image processing part in another embodiment provided with the landscape person degree calculation part 第五の補正値Re5を算出するための第六の関数の説明図Explanatory drawing of the 6th function for calculating 5th correction value Re5 風景人物度算出部を備えた別実施形態における第二のコントラスト補正値の算出にかかる動作について説明するためのフローチャートThe flowchart for demonstrating the operation | movement concerning calculation of the 2nd contrast correction value in another embodiment provided with the landscape person degree calculation part. 逆光度算出部、画像色算出部、及び、風景人物度算出部を備えた別実施形態での画像処理部における機能ブロック構成の説明図Explanatory drawing of the functional block structure in the image processing part in another embodiment provided with the backlight intensity calculation part, the image color calculation part, and the landscape portrait degree calculation part 領域濃度値平均算出部を備えた別実施形態での画像処理部における機能ブロック構成の説明図Explanatory drawing of the functional block structure in the image processing part in another embodiment provided with the area | region density value average calculation part. 別実施形態における第一のコントラスト補正値及び第二のコントラスト補正値の算出にかかる動作について説明するためのフローチャートThe flowchart for demonstrating the operation | movement concerning calculation of the 1st contrast correction value and 2nd contrast correction value in another embodiment. 濃度補正値の算出にかかる濃度ヒストグラムの説明図Explanatory drawing of density histogram for calculating density correction value

1:写真画像処理装置
10:濃度補正処理部
11:コントラスト補正処理部
12:領域分離部
13:逆光度算出部
14:画像色算出部
15:風景人物度算出部
16:第一コントラスト補正値算出部
17:第二コントラスト補正値算出部
18:処理実行部
19:領域濃度値平均算出部
1: Photo image processing apparatus 10: Density correction processing unit 11: Contrast correction processing unit 12: Area separation unit 13: Backlight intensity calculation unit 14: Image color calculation unit 15: Landscape portrait degree calculation unit 16: First contrast correction value calculation Unit 17: Second contrast correction value calculation unit 18: Process execution unit 19: Area density value average calculation unit

Claims (6)

デジタルカメラで撮影された原画像データを、所定の濃度補正値を指数とする指数関数に基づいて、当該原画像データに含まれる画素の濃度範囲を当該濃度範囲より広い濃度範囲に拡張して濃度補正処理する濃度補正処理部と、前記濃度補正処理部により濃度補正処理された画像データを所定のコントラスト補正値に基づいてコントラスト補正処理するコントラスト補正処理部とを備えている画像処理装置であって、
前記コントラスト補正処理部は、
前記原画像データを所定の濃度値よりも明るいハイライト領域と前記所定の濃度値よりも暗いシャドー領域とに領域分離する領域分離部と、
前記原画像データの中央画素領域の濃度平均値に対する周辺画素領域の濃度平均値の比率を逆光度として算出する逆光度算出部と、
前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最大値を有する上に凸なる所定の二次関数に基づいて第一のコントラスト補正値を算出するとともに、前記逆光度算出部により算出された比率を変数とし、当該比率が所定比率未満のときに一定の逆光度補正値となり所定比率以上のときに当該比率の上昇に伴い次第に大きな逆光度補正値となる逆光度補正関数に基づいて逆光度補正値を算出し、前記第一のコントラスト補正値を当該逆光度補正値だけ小さくした値を新たな第一のコントラスト補正値として算出する第一コントラスト補正値算出部と、
前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最小値を有する下に凸なる所定の二次関数に基づいて第二のコントラスト補正値を算出する第二コントラスト補正値算出部と、
前記第一のコントラスト補正値が大きいほど濃度特性が上に凸となる大きなカーブを描くように、前記ハイライト領域に対応する画素をコントラスト補正処理するとともに、前記第二のコントラスト補正値が小さいほど濃度特性が下に凸となる大きなカーブを描くように、前記シャドー領域に対応する画素をコントラスト補正処理する処理実行部とを備えている画像処理装置。
Based on an exponential function with a predetermined density correction value as an index, the density range of pixels included in the original image data is expanded to a density range wider than the density range, and the density of the original image data captured by the digital camera is increased. An image processing apparatus comprising: a density correction processing unit that performs correction processing; and a contrast correction processing unit that performs contrast correction processing on the image data subjected to density correction processing by the density correction processing unit based on a predetermined contrast correction value. ,
The contrast correction processing unit
An area separation unit for separating the original image data into a highlight area brighter than a predetermined density value and a shadow area darker than the predetermined density value;
A backlight intensity calculating unit that calculates a ratio of the density average value of the peripheral pixel area to the density average value of the central pixel area of the original image data as the backlight intensity;
Using the density correction value as a variable, the first contrast correction value is calculated based on a predetermined quadratic function having a maximum value in the density correction value setting range and is calculated by the backlight intensity calculation unit. Based on the inverse brightness correction function that becomes a constant backlight intensity correction value when the ratio is less than the predetermined ratio and becomes gradually larger as the ratio increases when the ratio is equal to or greater than the predetermined ratio. A first contrast correction value calculating unit that calculates a backlight intensity correction value and calculates a value obtained by reducing the first contrast correction value by the backlight intensity correction value as a new first contrast correction value;
A second contrast correction value calculation unit that calculates the second contrast correction value based on a predetermined quadratic function that protrudes downward with the density correction value as a variable and having a minimum value in the setting range of the density correction value;
As the first contrast correction value is larger, the pixels corresponding to the highlight area are subjected to contrast correction processing so as to draw a large curve in which the density characteristic is convex upward, and the smaller the second contrast correction value is, the smaller the second contrast correction value is. An image processing apparatus comprising: a processing execution unit that performs contrast correction processing on pixels corresponding to the shadow area so as to draw a large curve with a density characteristic that protrudes downward .
前記コントラスト補正処理部は、さらに、前記原画像データの平均色度及び平均彩度を算出する画像色算出部を備え、The contrast correction processing unit further includes an image color calculation unit that calculates average chromaticity and average saturation of the original image data,
前記第一コントラスト補正値算出部は、前記画像色算出部により算出された平均色度及び平均彩度に対応して予め設定された色補正値を算出し、前記第一のコントラスト補正値を当該色補正値だけ大きくした値を新たな第一のコントラスト補正値として算出する請求項1記載の画像処理装置。The first contrast correction value calculation unit calculates a preset color correction value corresponding to the average chromaticity and the average saturation calculated by the image color calculation unit, and sets the first contrast correction value The image processing apparatus according to claim 1, wherein a value increased by the color correction value is calculated as a new first contrast correction value.
前記コントラスト補正処理部は、さらに、前記原画像データに含まれる人物の領域面積に対する人物以外の領域面積の比率を風景人物度として算出する風景人物度算出部を備え、The contrast correction processing unit further includes a landscape person degree calculation unit that calculates a ratio of a region area other than a person to a region area of a person included in the original image data as a scenery person degree.
前記第二コントラスト補正値算出部は、前記風景人物度算出部により算出された比率を変数とし、当該比率が所定比率未満のときに当該比率の下降に伴い次第に小さな風景人物度補正値となり、所定比率以上のときに一定の風景人物度補正値となる風景人物度補正関数に基づいて風景人物度補正値を算出し、前記第二のコントラスト補正値を当該風景人物度補正値だけ小さくした値を新たな第二のコントラスト補正値として算出する請求項1または2記載の画像処理装置。The second contrast correction value calculation unit uses the ratio calculated by the landscape person degree calculation unit as a variable, and when the ratio is less than a predetermined ratio, gradually becomes a smaller landscape person degree correction value as the ratio decreases. A landscape portrait correction value is calculated based on a landscape portrait correction function that becomes a fixed landscape portrait correction value when the ratio is equal to or greater than the ratio, and the second contrast correction value is reduced by the landscape portrait correction value. The image processing apparatus according to claim 1, wherein the image processing apparatus calculates a new second contrast correction value.
デジタルカメラで撮影された原画像データを、所定の濃度補正値を指数とする指数関数に基づいて、当該原画像データに含まれる画素の濃度範囲を当該濃度範囲より広い濃度範囲に拡張して濃度補正処理する濃度補正ステップと、前記濃度補正ステップにより濃度補正処理された画像データを所定のコントラスト補正値に基づいてコントラスト補正処理するコントラスト補正ステップとを備えている画像処理方法であって、Based on an exponential function with a predetermined density correction value as an index, the density range of pixels included in the original image data is expanded to a density range wider than the density range, and the density of the original image data captured by the digital camera is increased. An image processing method comprising: a density correction step for performing a correction process; and a contrast correction step for performing a contrast correction process on the image data subjected to the density correction process in the density correction step based on a predetermined contrast correction value.
前記コントラスト補正ステップは、The contrast correction step includes
前記原画像データを所定の濃度値よりも明るいハイライト領域と前記所定の濃度値よりも暗いシャドー領域とに領域分離する領域分離ステップと、An area separation step of separating the original image data into a highlight area brighter than a predetermined density value and a shadow area darker than the predetermined density value;
前記原画像データの中央画素領域の濃度平均値に対する周辺画素領域の濃度平均値の比率を逆光度として算出する逆光度算出ステップと、A backlight intensity calculating step of calculating a ratio of the density average value of the peripheral pixel area to the density average value of the central pixel area of the original image data as the backlight intensity;
前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最大値を有する上に凸なる所定の二次関数に基づいて第一のコントラスト補正値を算出するとともに、前記逆光度算出ステップにより算出された比率を変数とし、当該比率が所定比率未満のときに一定の逆光度補正値となり所定比率以上のときに当該比率の上昇に伴い次第に大きな逆光度補正値となる逆光度補正関数に基づいて逆光度補正値を算出し、前記第一のコントラスト補正値を当該逆光度補正値だけ小さくした値を新たな第一のコントラスト補正値として算出する第一コントラスト補正値算出ステップと、Using the density correction value as a variable, a first contrast correction value is calculated based on a predetermined quadratic function having a maximum value in the setting range of the density correction value and is calculated by the backlight intensity calculation step. Based on the inverse brightness correction function that becomes a constant backlight intensity correction value when the ratio is less than the predetermined ratio and becomes gradually larger as the ratio increases when the ratio is greater than the predetermined ratio. A first contrast correction value calculating step of calculating a backlight intensity correction value and calculating a value obtained by reducing the first contrast correction value by the backlight intensity correction value as a new first contrast correction value;
前記濃度補正値を変数とし、前記濃度補正値の設定範囲で最小値を有する下に凸なる所定の二次関数に基づいて第二のコントラスト補正値を算出する第二コントラスト補正値算出ステップと、A second contrast correction value calculating step for calculating a second contrast correction value based on a predetermined quadratic function that protrudes downward with the density correction value as a variable and having a minimum value in a setting range of the density correction value;
前記第一のコントラスト補正値が大きいほど濃度特性が上に凸となる大きなカーブを描くように、前記ハイライト領域に対応する画素をコントラスト補正処理するとともに、前記第二のコントラスト補正値が小さいほど濃度特性が下に凸となる大きなカーブを描くように、前記シャドー領域に対応する画素をコントラスト補正処理する処理実行ステップとを備えている画像処理方法。As the first contrast correction value is larger, the pixels corresponding to the highlight region are subjected to contrast correction processing so as to draw a large curve in which the density characteristic is convex upward, and the smaller the second contrast correction value is, the smaller the second contrast correction value is. An image processing method comprising: a process execution step of performing a contrast correction process on pixels corresponding to the shadow area so as to draw a large curve having a downwardly convex density characteristic.
前記コントラスト補正ステップは、さらに、前記原画像データの平均色度及び平均彩度を算出する画像色算出ステップを備え、The contrast correction step further includes an image color calculation step for calculating average chromaticity and average saturation of the original image data,
前記第一コントラスト補正値算出ステップは、前記画像色算出ステップにより算出された平均色度及び平均彩度に対応して予め設定された色補正値を算出し、前記第一のコントラスト補正値を当該色補正値だけ大きくした値を新たな第一のコントラスト補正値として算出する請求項4記載の画像処理方法。The first contrast correction value calculating step calculates a color correction value set in advance corresponding to the average chromaticity and the average saturation calculated by the image color calculating step, and calculates the first contrast correction value The image processing method according to claim 4, wherein a value increased by the color correction value is calculated as a new first contrast correction value.
前記コントラスト補正処理ステップは、さらに、前記原画像データに含まれる人物の領域面積に対する人物以外の領域面積の比率を風景人物度として算出する風景人物度算出ステップを備え、The contrast correction processing step further includes a landscape person degree calculation step of calculating a ratio of the area area other than the person to the area area of the person included in the original image data as the scenery person degree,
前記第二コントラスト補正値算出ステップは、前記風景人物度算出ステップにより算出された比率を変数とし、当該比率が所定比率未満のときに当該比率の下降に伴い次第に小さな風景人物度補正値となり、所定比率以上のときに一定の風景人物度補正値となる風景人物度補正関数に基づいて風景人物度補正値を算出し、前記第二のコントラスト補正値を当該風景人物度補正値だけ小さくした値を新たな第二のコントラスト補正値として算出する請求項4または5記載の画像処理方法。In the second contrast correction value calculation step, the ratio calculated in the landscape portrait calculation step is used as a variable, and when the ratio is less than a predetermined ratio, the landscape portrait correction value gradually becomes smaller as the ratio decreases. A landscape portrait correction value is calculated based on a landscape portrait correction function that becomes a fixed landscape portrait correction value when the ratio is equal to or greater than the ratio, and the second contrast correction value is reduced by the landscape portrait correction value. 6. The image processing method according to claim 4, wherein the image processing method is calculated as a new second contrast correction value.
JP2005156532A 2005-05-30 2005-05-30 Image processing apparatus and method Expired - Fee Related JP4404011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005156532A JP4404011B2 (en) 2005-05-30 2005-05-30 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005156532A JP4404011B2 (en) 2005-05-30 2005-05-30 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2006333274A JP2006333274A (en) 2006-12-07
JP4404011B2 true JP4404011B2 (en) 2010-01-27

Family

ID=37554449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005156532A Expired - Fee Related JP4404011B2 (en) 2005-05-30 2005-05-30 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP4404011B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019160004A (en) * 2018-03-15 2019-09-19 富士フイルム株式会社 Image discriminating device, image discrimination method, program for image discriminating device, and recording medium in which program is stored
KR102245835B1 (en) * 2020-07-31 2021-04-28 주식회사 포바이포 Method for compensating picture quality

Also Published As

Publication number Publication date
JP2006333274A (en) 2006-12-07

Similar Documents

Publication Publication Date Title
US7173732B2 (en) Image processing method
US8014602B2 (en) Backlight image determining apparatus, backlight image determining method, backlight image correction apparatus, and backlight image correction method
JP5157678B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP4404011B2 (en) Image processing apparatus and method
JP4830923B2 (en) Image processing apparatus and image processing method
JP2007249802A (en) Image processor and image processing method
JP5125954B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP4453610B2 (en) Image processing apparatus and method
JP2009004951A (en) Image processing device, method, and program
JP2007201655A (en) Image processing apparatus
JP5157760B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP4797666B2 (en) Image processing apparatus and image processing method
JP2007088650A (en) Image processing device and image processing method
JP4793292B2 (en) Image processing apparatus and image processing method
JP2005159387A (en) Method of determining density characteristic curve and density correction management apparatus for executing this method
JP4874877B2 (en) Image processing apparatus, method, and program
JP4517965B2 (en) Image processing apparatus and image processing method
JP2005072850A (en) Adjusting method of three dimensional lut and color conversion system equipped with three dimensional lut
JP5245715B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP2009016940A (en) Uniformity correction processing apparatus and uniformity correction processing method of frame image
JP4775289B2 (en) Image processing apparatus and image processing method
JP4635884B2 (en) Image processing apparatus and method
JP2009081631A (en) Image processing apparatus, method and program
JP4507078B2 (en) Automatic face image correction method and apparatus
JP2006301675A (en) Image processor and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080212

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090623

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090821

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091013

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091026

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

Free format text: PAYMENT UNTIL: 20121113

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121113

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121113

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131113

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees