JP2019102847A - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP2019102847A
JP2019102847A JP2017228379A JP2017228379A JP2019102847A JP 2019102847 A JP2019102847 A JP 2019102847A JP 2017228379 A JP2017228379 A JP 2017228379A JP 2017228379 A JP2017228379 A JP 2017228379A JP 2019102847 A JP2019102847 A JP 2019102847A
Authority
JP
Japan
Prior art keywords
image
size
image data
plant
area size
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.)
Granted
Application number
JP2017228379A
Other languages
Japanese (ja)
Other versions
JP6992947B2 (en
Inventor
岡本 正義
Masayoshi Okamoto
正義 岡本
浩史 杉本
Hiroshi Sugimoto
浩史 杉本
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.)
Xacti Corp
Original Assignee
Xacti Corp
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 Xacti Corp filed Critical Xacti Corp
Priority to JP2017228379A priority Critical patent/JP6992947B2/en
Publication of JP2019102847A publication Critical patent/JP2019102847A/en
Application granted granted Critical
Publication of JP6992947B2 publication Critical patent/JP6992947B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

To reproduce the actual color tone that makes it difficult for a user who has confirmed an image to feel uncomfortable while accurately determining whether a shooting scene is a natural scene.SOLUTION: A CPU(32) divides image data of a natural image including only plants or plants and persons as subjects into a plurality of unit images, and obtains the feature amount of each of the unit images to calculate the plant area size or the person area size as a specific area size on the basis of the feature amounts of each of the unit images. Next, the CPU (32) determines whether to perform adjustment processing for the exposure amount of the image data according to the specific area size, and when it is determined to perform the adjustment processing of the exposure amount, the CPU adjusts the exposure amount of the image data according to the specific area size.SELECTED DRAWING: Figure 10

Description

本発明は、画像処理装置に関する。   The present invention relates to an image processing apparatus.

電子カメラには、自然シーン等の撮影シーンを判別し、判別した撮影シーンに応じた色相補正を画像に施す画像処理装置を搭載したものがある。このような画像処理装置に関連する技術として、特許文献1が開示されている。   Some electronic cameras are equipped with an image processing apparatus that discriminates a photographed scene such as a natural scene and applies hue correction to the image according to the discriminated photographed scene. As a technique related to such an image processing apparatus, Patent Document 1 is disclosed.

具体的に、特許文献1には、被写体の種類(例えば自然または建物)を判定することで撮影シーンが判別され、判別した結果に応じて画像に対して彩度補正が施される技術が開示されている。   Specifically, Patent Document 1 discloses a technique in which a shooting scene is determined by determining the type of subject (for example, natural or building), and saturation correction is performed on an image according to the determination result. It is done.

特許第5826001号公報Patent No. 5826001

画像において実際の色合いを再現するためには、先ずは撮影シーンを正確に判別することが求められる。   In order to reproduce the actual color tone in an image, it is first required to accurately determine the shooting scene.

しかしながら、撮影シーンを正確に判別できたとしても、上記特許文献1に示すような彩度補正のみでは被写体の色が鮮やかになり、かえって被写体の色合いが不自然となってユーザは違和感を覚える虞がある。   However, even if the shooting scene can be accurately determined, the color of the subject becomes vivid only by the saturation correction as shown in the above-mentioned Patent Document 1, and the color tone of the subject becomes unnatural and the user may feel discomfort. There is.

この現象は、植物等の自然シーンにおいては顕著となる。植物の色は葉等の色である“緑色”が多いが、緑色の彩度のみが上げられると、画像内の緑色が単に強調されてしまうからである。   This phenomenon is noticeable in natural scenes such as plants. The plant color is often "green", which is the color of leaves and the like, but if only the saturation of green is raised, the green in the image is simply emphasized.

そこで、本発明は、撮影シーンが自然シーンであるか否かを正確に判別すると共に、画像を確認したユーザが違和感を覚えにくい、実際の色合いを再現することである。   Therefore, the present invention is to accurately determine whether a shooting scene is a natural scene and reproduce an actual color tone that makes it difficult for a user who has checked an image to feel discomfort.

第1の発明は、植物のみまたは植物及び人物を被写体として含む自然画像の画像データが複数の単位画像に区分けられた際の、該単位画像それぞれの特徴量を求める特徴量算出部と、前記単位画像それぞれの特徴量に基づいて、前記画像データにおいて植物が写っている植物領域サイズまたは人物が写っている人物領域サイズを特定領域サイズとして算出する領域量算出部と、前記特定領域サイズに応じて、前記画像データの露出量の調整処理を行うか否かを決定する決定部と、前記画像データの前記露出量の調整処理を行うと決定された場合、前記特定領域サイズに応じて前記画像データの前記露出量を調整する露出制御部とを備えることを特徴とする画像処理装置である。   A first aspect of the present invention is a feature amount calculation unit for obtaining feature amounts of unit images when image data of a natural image including only plants or plants and persons as subjects is divided into a plurality of unit images, and the unit According to the specific area size, an area amount calculation unit that calculates, as a specific area size, a plant area size where a plant appears in the image data or a person area size where a person appears in the image data. A determination unit that determines whether to perform adjustment processing of the exposure amount of the image data, and the image data according to the specific area size when it is determined to perform the adjustment processing of the exposure amount of the image data And an exposure control unit that adjusts the amount of exposure of the image processing apparatus.

ここでは、自然画像の画像データが複数の単位画像に細分化され、各単位画像について特徴量が求められる。各単位画像の特徴量から被写体が植物か人物かが判別され、植物領域または人物領域のサイズが算出される。このような処理により、画像処理装置は、自然シーンであるか否かを比較的正確に認識することができる。そして、植物領域サイズまたは人物領域サイズである特定領域サイズに応じて、画像データの露出量の調整処理を行うべきか否かと、露出量の調整処理を行う場合は露出量の調整制御が実行される。即ち、比較的正確に認識された自然画像毎に、全体的な明るさを上下させる処理が行われる。これにより、緑色等の特定の色の鮮やかさが強調されるようなことはなく、ユーザが違和感を覚えにくい、実際の色合いが再現された画像が得られる。   Here, the image data of the natural image is subdivided into a plurality of unit images, and the feature amount is obtained for each unit image. Whether the subject is a plant or a person is determined from the feature amount of each unit image, and the size of the plant area or the person area is calculated. Such processing allows the image processing apparatus to relatively accurately recognize whether or not it is a natural scene. Then, according to the specific area size, which is the plant area size or the person area size, whether or not the adjustment process of the exposure amount of the image data should be performed, and when the adjustment process of the exposure amount is performed, the exposure adjustment control is executed. Ru. That is, processing is performed to increase and decrease the overall brightness for each natural image that has been recognized relatively accurately. As a result, the vividness of a specific color such as green is not emphasized, and an image in which an actual color tone is reproduced, which makes it difficult for the user to feel discomfort can be obtained.

第2の発明は、第1の発明において、前記特定領域サイズのうちの前記植物領域サイズが第1所定サイズ以上の場合、前記決定部は、前記画像データの前記露出量の調整処理を行うと決定し、前記露出制御部は、前記画像データの前記露出量を低下させることを特徴とする画像処理装置である。   In a second aspect based on the first aspect, when the plant area size of the specific area size is equal to or larger than a first predetermined size, the determination unit performs the adjustment process of the exposure amount of the image data. The image processing apparatus is characterized in that the exposure control unit determines the amount of exposure of the image data to be reduced.

多くの場合、植物は緑色である。ここでは、植物領域サイズが比較的多い場合、画像データの露出量を低下させることで、植物の緑色の色合いを残しつつも全体的な明るさを抑えた画像が得られる。これにより、植物の緑色が落ち着いている自然な色合いの画像が得られる。   In many cases, the plants are green. Here, when the plant area size is relatively large, by reducing the exposure amount of the image data, it is possible to obtain an image in which the overall brightness is suppressed while leaving the green color of the plant. As a result, an image of natural color in which the green color of the plant is settled can be obtained.

第3の発明は、第2の発明において、前記露出制御部は、前記植物領域サイズの大小に応じて前記露出量を低下させる度合を変化させることを特徴とする画像処理装置である。   A third aspect of the invention is the image processing device according to the second aspect, wherein the exposure control unit changes the degree of reducing the exposure amount in accordance with the size of the plant area.

これにより、実際の被写体に即した細やかな露出制御がなされるため、植物の緑色が落ち着いている自然な色合いの画像が得られる。   As a result, fine exposure control is performed according to the actual subject, so that an image of natural color in which the green color of the plant is settled can be obtained.

第4の発明は、第3の発明において、前記露出制御部は、前記植物領域サイズが大きい程前記画像データの前記露出量が低くなるように、前記植物領域サイズの大小に応じて前記露出量を低下させる度合を変化させることを特徴とする画像処理装置である。   In a fourth aspect based on the third aspect, the exposure control unit is configured to adjust the exposure amount according to the size of the plant area such that the exposure amount of the image data decreases as the plant area size increases. The image processing apparatus is characterized in that the degree of lowering is reduced.

これにより、実際の被写体に即した細やかな露出制御がなされるため、植物の緑色が落ち着いている自然な色合いの画像が得られる。   As a result, fine exposure control is performed according to the actual subject, so that an image of natural color in which the green color of the plant is settled can be obtained.

第5の発明は、第2の発明から第4の発明のいずれか1つにおいて、前記植物領域サイズが前記第1所定サイズ未満の場合、前記決定部は、前記画像データの前記露出量の調整処理を行わないと決定することを特徴とする画像処理装置である。   In a fifth invention according to any one of the second invention to the fourth invention, when the plant area size is smaller than the first predetermined size, the determination unit adjusts the exposure amount of the image data. It is an image processing apparatus characterized by determining not to perform processing.

ここでは、植物領域サイズが比較的低いため、露出制御は実行されない。露出を行ってしまうと、全体的に暗い画像となってしまい、実際の植物の緑色の色合いが損なわれるためである。   Here, exposure control is not performed because the plant area size is relatively low. If exposure is performed, the entire image will be dark and the actual green color of the plant will be lost.

第6の発明は、第2の発明から第4の発明のいずれか1つにおいて、前記特定領域サイズのうちの前記植物領域サイズが第2所定サイズ以上の場合、前記自然画像における前記植物の緑色成分の彩度が上昇するように、前記自然画像の彩度を補正する第1色属性調整部、を更に備えることを特徴とする画像処理装置である。   In a sixth invention according to any one of the second invention to the fourth invention, when the plant area size of the specific area size is equal to or larger than a second predetermined size, the green color of the plant in the natural image The image processing apparatus is further provided with a first color attribute adjustment unit that corrects the saturation of the natural image so that the saturation of the component is increased.

ここでは、植物領域サイズが比較的多い場合、露出制御のみならず、彩度を上げる補正も行われる。これにより、露出を低下させる制御によって全体的には明るさが抑えられつつも、彩度を上昇させる制御により緑色が暗くなりすぎないような、自然な色合いの画像が得られる。   Here, when the plant area size is relatively large, not only the exposure control but also the correction for increasing the saturation is performed. As a result, while the brightness is generally suppressed by the control for reducing the exposure, an image of a natural color tone in which the green is not too dark due to the control for increasing the saturation is obtained.

第7の発明は、第6の発明において、前記第1色属性調整部は、前記植物領域サイズの大小に応じて前記植物の緑色成分の彩度を上昇させる度合を変化させることを特徴とする画像処理装置である。   A seventh invention according to the sixth invention is characterized in that the first color attribute adjustment unit changes the degree of increasing the saturation of the green component of the plant according to the size of the plant area. It is an image processing device.

これにより、画像に係る植物の緑色が強調されすぎることを抑制することができる。   Thereby, it can suppress that the green color of the plant which concerns on an image is emphasized too much.

第8の発明は、第1の発明において、前記特定領域サイズのうちの前記人物領域サイズが第3所定サイズ以上の場合、前記決定部は、前記画像データの前記露出量の調整処理を行わないと決定することを特徴とする画像処理装置である。   In an eighth aspect based on the first aspect, when the person area size of the specific area size is equal to or larger than a third predetermined size, the determination unit does not perform the adjustment process of the exposure amount of the image data. And an image processing apparatus characterized by

ここでは、自然画像内に植物と人物とが含まれている状態において、人物領域サイズが比較的大きい場合、一画像内の植物よりも人物を重視して、露出量の調整処理は実行されない。仮に露出量を下げてしまうと、画像は全体的に暗くなり、かえって人物が見にくくなる等の影響が画像に及ぶ可能性があるためである。   Here, in a state in which a plant and a person are included in the natural image, when the size of the person area is relatively large, the process of adjusting the exposure amount is not executed with emphasis on the person rather than the plant in one image. If the amount of exposure is lowered, the entire image becomes dark, and it is likely that the image may be affected by the fact that the person is difficult to see.

第9の発明は、第8の発明において、前記特定領域サイズのうちの前記人物領域サイズが前記第3所定サイズ未満の場合、前記決定部は、前記画像データの前記露出量の調整処理を行うと決定し、前記露出制御部は、前記画像データの前記露出量を低下させることを特徴とする画像処理装置である。   In a ninth aspect based on the eighth aspect, when the person area size of the specific area size is smaller than the third predetermined size, the determination unit adjusts the exposure amount of the image data. And the exposure control unit is configured to reduce the exposure amount of the image data.

ここでは、自然画像内に植物と人物とが含まれている状態において、人物領域サイズが比較的小さい場合、一画像内の人物よりも植物を重視して、露出量を下げる制御が行われる。これにより、植物の緑色の色合いを残しつつも全体的な明るさが抑えられ、植物の緑色が落ち着いた自然な色合いの画像が得られる。   Here, in a state where a plant and a person are included in the natural image, when the size of the person area is relatively small, control is performed to reduce the exposure amount by placing more importance on the plant than the person in one image. As a result, the overall brightness is suppressed while leaving the green color of the plant, and a natural color image in which the green color of the plant is calm is obtained.

第10の発明は、第9の発明において、前記露出制御部は、前記人物領域サイズの大小に応じて前記露出量を低下させる度合を変化させることを特徴とする画像処理装置である。   A tenth invention is the image processing apparatus according to the ninth invention, wherein the exposure control unit changes the degree to which the exposure amount is reduced according to the size of the person area.

ここでは、一画面内の人物よりも植物を重視して、実際の被写体における植物の領域サイズに即した細やかな露出制御がなされるため、植物の緑色が落ち着いている自然な色合いの画像が得られる。   Here, with emphasis on plants rather than the person in one screen, fine exposure control is performed according to the area size of the plant in the actual subject, so an image of natural color in which the green color of the plant is settled is obtained. Be

第11の発明は、第10の発明において、前記露出制御部は、前記人物領域サイズが小さい程前記画像データの前記露出量が低くなるように、前記人物領域サイズの大小に応じて前記露出量を低下させる度合を変化させることを特徴とする画像処理装置である。   In an eleventh aspect based on the tenth aspect, the exposure control unit is configured to set the exposure amount according to the size of the person area such that the exposure amount of the image data decreases as the person area size decreases. The image processing apparatus is characterized in that the degree of lowering is reduced.

ここでは、一画面内の人物よりも植物を重視して、実際の被写体における植物の領域サイズに即した細やかな露出制御がなされるため、植物の緑色が落ち着いている自然な色合いの画像が得られる。   Here, with emphasis on plants rather than the person in one screen, fine exposure control is performed according to the area size of the plant in the actual subject, so an image of natural color in which the green color of the plant is settled is obtained. Be

第12の発明は、第2の発明から第11の発明のいずれか1つにおいて、前記自然画像における前記植物に花の部位が含まれる場合、該花の色成分の彩度が上昇するように、前記自然画像の彩度を補正する第2色属性調整部、を更に備えることを特徴とする画像処理装置である。   In a twelfth invention according to any one of the second invention to the eleventh invention, when the plant in the natural image includes a part of a flower, the saturation of the color component of the flower is increased. The image processing apparatus may further include a second color attribute adjustment unit that corrects the saturation of the natural image.

花は、緑色よりも鮮やかな色(例えば赤色)を有することが多い。ここでは、植物の中に花が含まれる場合、花の色成分の彩度を上げる補正が行われる。これにより、画像に含まれる花の部分の色は鮮やかとなり、実際の色合いに即した画像が得られる。   Flowers often have brighter colors (eg red) than green. Here, when the plant contains a flower, correction is performed to increase the saturation of the color component of the flower. As a result, the color of the flower part included in the image becomes bright, and an image conforming to the actual color tone is obtained.

第13の発明は、第2の発明から第12の発明のいずれか1つにおいて、前記被写体の輝度が所定輝度以上、且つ、前記被写体の被写体距離が所定距離以上である場合、前記画像データが風景シーンであると判定するシーン判定部と、前記シーン判定部が前記風景シーンであると判定した場合、前記自然画像の鮮鋭度が上昇するように、前記画像データに対しシャープネス処理を施す第1鮮鋭度調整部、を更に備えることを特徴とする画像処理装置である。   In a thirteenth invention according to any one of the second invention to the twelfth invention, when the luminance of the subject is equal to or higher than a predetermined luminance and the subject distance of the object is equal to or longer than a predetermined distance, the image data is A scene determination unit that determines that the image is a landscape scene, and a sharpness process that is performed on the image data so that the sharpness of the natural image is increased when the scene determination unit determines that the scene is a scene According to another aspect of the present invention, there is provided an image processing apparatus further comprising:

ここでは、風景シーンである場合、自然画像に含まれる被写体の輪郭がより明確になるようなシャープネス処理が行われる。これにより、自然画像の中に何が写し出されているのかが明確に把握し易い画像が得られる。   Here, in the case of a landscape scene, sharpness processing is performed such that the contour of the subject included in the natural image becomes clearer. As a result, it is possible to obtain an image that is easy to clearly grasp what is shown in the natural image.

第14の発明は、第2の発明から第4の発明のいずれか1つにおいて、前記自然画像には、更に空が含まれ、前記領域量算出部は、前記画像データにおいて空が映っている空領域サイズを更に算出し、前記空領域サイズが第4所定サイズ以上の場合、パンフォーカス制御ないしは遠方優先のオートフォーカス制御を行うオートフォーカス制御部、前記空領域サイズが第4所定サイズ以上の場合、前記自然画像の鮮鋭度が上昇するように、前記画像データに対しシャープネス処理を施す第2鮮鋭度調整部、を更に備えることを特徴とする画像処理装置である。   In a fourteenth invention according to any one of the second invention to the fourth invention, the natural image further includes a sky, and the area amount calculation unit reflects the sky in the image data. Auto-focus control unit performs pan-focus control or auto-focus control of distant priority when the empty area size is further calculated and the empty area size is the fourth predetermined size or more, and the empty area size is the fourth predetermined size or more The image processing apparatus may further include a second sharpness adjustment unit that performs sharpness processing on the image data so that the sharpness of the natural image is increased.

空領域サイズが比較的大きい場合、撮影シーンは屋外の風景シーンである可能性が大きい。そこで、画像処理装置は、パンフォーカス制御または遠方優先のオートフォーカス制御を行う。これにより、自然画像がぼけることなく撮像された画像が得られる。更に、画像処理装置は、自然画像に含まれる被写体の輪郭がより明確になるようなシャープネス処理を行う。これにより、自然画像の中に何が写し出されているのかが明確に把握し易い画像が得られる。   When the sky area size is relatively large, the shooting scene is likely to be an outdoor landscape scene. Therefore, the image processing apparatus performs pan focus control or auto focus control with distant priority. Thereby, an image captured without blurring the natural image can be obtained. Furthermore, the image processing apparatus performs sharpness processing so that the contour of the subject included in the natural image is clearer. As a result, it is possible to obtain an image that is easy to clearly grasp what is shown in the natural image.

本発明によれば、自然シーンであるか否かが比較的正確に判別されると共に、特定の色の鮮やかさが強調されるようなことはなく、ユーザが違和感を覚えにくい、実際の色合いが再現された画像が得られる。   According to the present invention, it is relatively accurately judged whether or not it is a natural scene, and the vividness of a specific color is not emphasized, and the actual color tone is difficult for the user to feel uncomfortable. A reproduced image is obtained.

図1は、画像処理装置を備えた撮像素子の構成を模式的に示すブロック図である。FIG. 1 is a block diagram schematically showing a configuration of an imaging device provided with an image processing apparatus. 図2は、信号処理回路の構成例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of a signal processing circuit. 図3は、画像に形成されたブロックの一例を示す図解図である。FIG. 3 is an illustrative view showing one example of a block formed in an image. 図4は、SDRAMのマッピング状態の一例を示す図解図である。FIG. 4 is an illustrative view showing one example of a mapping state of the SDRAM. 図5は、辞書データの概念の説明図である。FIG. 5 is an explanatory view of the concept of dictionary data. 図6は、画像処理装置の起動後の主な動作の流れを示す図である。FIG. 6 is a diagram showing a flow of main operations after activation of the image processing apparatus. 図7は、自然シーンの可能性判断の動作の流れを詳細に表した図である。FIG. 7 is a diagram showing in detail the flow of operation for determining the possibility of a natural scene. 図8は、主な被写体が植物のみである場合の、自然シーンの可能性の算出及び特定領域サイズの算出について説明するための図である。FIG. 8 is a diagram for explaining the calculation of the possibility of a natural scene and the calculation of the specific area size when the main subject is only a plant. 図9は、主な被写体が人物及び植物である場合の、自然シーンの可能性の算出及び特定領域サイズの算出について説明するための図である。FIG. 9 is a diagram for describing calculation of the possibility of a natural scene and calculation of a specific region size when main subjects are a person and a plant. 図10は、第1実施形態において、自然シーンにおける露出制御動作ならびに色合い調整動作の流れを示す図である。FIG. 10 is a diagram showing the flow of the exposure control operation and the color tone adjustment operation in the natural scene in the first embodiment. 図11は、植物領域サイズと露出の低下量との関係を表したグラフである。FIG. 11 is a graph showing the relationship between the plant area size and the reduction in exposure. 図12は、植物領域サイズと彩度の上昇量との関係を表したグラフである。FIG. 12 is a graph showing the relationship between the plant area size and the amount of increase in saturation. 図13は、人物領域サイズと露出の低下量との関係を表したグラフである。FIG. 13 is a graph showing the relationship between the person area size and the amount of decrease in exposure. 図14は、第2実施形態において、風景シーンと確定した場合の画像処理装置の動作の流れを示す図である。FIG. 14 is a diagram showing the flow of the operation of the image processing apparatus when the landscape scene is determined in the second embodiment. 図15は、第3実施形態において、自然シーンにおける露出制御動作ならびに色合い調整動作の流れのうち、第1実施形態とは異なる部分のみを示す図である。FIG. 15 is a diagram showing only the part of the flow of the exposure control operation and the color tone adjustment operation in the natural scene, which is different from the first embodiment, in the third embodiment.

以下、本発明の実施形態を図面に基づいて詳細に説明する。なお、以下の実施形態は、本質的に好ましい例示であって、本発明、その適用物、あるいはその用途の範囲を制限することを意図するものではない。   Hereinafter, embodiments of the present invention will be described in detail based on the drawings. The following embodiments are essentially preferred examples, and are not intended to limit the scope of the present invention, its applications, or its applications.

≪第1実施形態≫
<概要>
本実施形態に係る画像処理装置(100)は、さまざまな撮影モードにて画像を撮像できる撮像装置(10)に備えられており、撮像された画像に対し画像処理を施す。撮像装置(10)としては、デジタルカメラ等の電子カメラが挙げられる。
First Embodiment
<Overview>
The image processing apparatus (100) according to the present embodiment is included in an imaging apparatus (10) capable of capturing images in various shooting modes, and performs image processing on the captured image. As an imaging device (10), electronic cameras, such as a digital camera, are mentioned.

画像処理装置(100)は、撮影シーンの判別機能、及び撮影シーンに即した最適な画像をユーザに提供する画像処理機能を備える。   The image processing apparatus (100) has a determination function of a shooting scene and an image processing function of providing a user with an optimal image according to the shooting scene.

特に、本実施形態では、撮像装置(10)が植物のみまたは人物及び植物を被写体として含む自然を撮像する場合、画像処理装置(100)は、撮影シーンを自然シーンであると自動的に判別する。そして、画像処理装置(100)は、自然シーンの下で撮像される自然画像の色合いが、自然画像の内容に従ってユーザにとって違和感をさほど覚えることのないようなナチュラルな色合いとなるように、画像が撮像される際の露出制御及び色相補正を行う。   In particular, in the present embodiment, when the imaging device (10) images nature including only a plant or a person and a plant as a subject, the image processing device (100) automatically determines that the photographed scene is a natural scene. . Then, the image processing apparatus (100) causes the image to have a natural color tone such that the color tone of the natural image captured under the natural scene is such that the user does not feel so much discomfort according to the content of the natural image. It performs exposure control and hue correction at the time of imaging.

−撮像装置−
上記撮像装置(10)は、画像処理装置(100)に加えて、撮像部(11)及びモニタ(30)を備える。
-Imaging device-
The imaging device (10) includes an imaging unit (11) and a monitor (30) in addition to the image processing device (100).

撮像部(11)は、画像データを取得するものであって、ドライバ(18a,18b,18c)、フォーカスレンズ(12)、絞りユニット(14)及びイメージセンサ(20)を有する。   The imaging unit (11) acquires image data, and includes drivers (18a, 18b, 18c), a focus lens (12), an aperture unit (14), and an image sensor (20).

ドライバ(18a,18b,18c)は、フォーカスレンズ(12)、絞りユニット(14)及びイメージセンサ(20)それぞれに対応して接続され、接続された機能部を駆動する。フォーカスレンズ(12)は、被写体にピントを合わせるためのレンズであって、撮像装置(10)の筐体(図示せず)内にて可動可能に設けられている。絞りユニット(14)は、露光量を調節するためのものである。イメージセンサ(20)は、撮像素子であって、イメージセンサ(20)の受光面には、フォーカスレンズ(12)を経て被写体の光学像が入射される。イメージセンサ(20)は、この光学像に対し光電変換を施すことにより、光学像に対応する生画像信号を生成する。更に、イメージセンサ(20)では、読み出された各フレームの生画像信号に対してノイズ除去とレベル調整とが施される。   The drivers (18a, 18b, 18c) are connected correspondingly to the focus lens (12), the aperture unit (14) and the image sensor (20) to drive the connected functional units. The focus lens (12) is a lens for focusing on an object, and is movably provided in a housing (not shown) of the imaging device (10). The aperture unit (14) is for adjusting the exposure amount. The image sensor (20) is an imaging device, and an optical image of an object is incident on the light receiving surface of the image sensor (20) through the focus lens (12). The image sensor (20) photoelectrically converts this optical image to generate a raw image signal corresponding to the optical image. Furthermore, in the image sensor (20), noise removal and level adjustment are performed on the read raw image signal of each frame.

このような撮像部(11)を備える撮像装置(10)は、自動で主要被写体にピントを合わせるオートフォーカス機能、及び、自動で露出(換言すると絞りの開口量や露光期間)を制御する自動露出機能を有する。これらの各機能を実現させるべく、撮像部(11)の各ドライバ(18a〜18c)は、後述する画像処理装置(100)のCPU(32)によって制御される。   An imaging apparatus (10) including such an imaging unit (11) has an autofocus function that automatically focuses on a main subject, and an automatic exposure that automatically controls exposure (in other words, the amount of aperture opening and exposure period) It has a function. Each driver (18 a to 18 c) of the imaging unit (11) is controlled by a CPU (32) of an image processing apparatus (100) described later in order to realize each of these functions.

モニタ(30)は、図示してはいないが、撮像装置(10)の筐体表面において、ユーザが視認できる位置に設けられている。モニタ(30)には、撮像装置(10)が撮像した画像や、撮像装置(10)の各種設定に用いるメニュー画面等が表示される。   Although not shown, the monitor (30) is provided on the surface of the housing of the imaging device (10) at a position where the user can visually recognize. The monitor (30) displays an image captured by the imaging device (10), a menu screen used for various settings of the imaging device (10), and the like.

<画像処理装置の構成>
本実施形態に係る画像処理装置(100)の構成について、撮影時の動作を交えて具体的に説明する。
<Configuration of Image Processing Device>
The configuration of the image processing apparatus (100) according to the present embodiment will be specifically described along with the operation at the time of shooting.

図1に示すように、画像処理装置(100)は、信号処理回路(26)、メモリ制御回路(24)、SDRAM(38)、ビデオエンコーダ(28)、I/F回路(34)、メモリカード(36)、JPEGコーデック(27)、記憶部(42)、CPU(32)及びシャッタボタン(40)を備える。   As shown in FIG. 1, the image processing apparatus (100) includes a signal processing circuit (26), a memory control circuit (24), an SDRAM (38), a video encoder (28), an I / F circuit (34), and a memory card. (36) A JPEG codec (27), a storage unit (42), a CPU (32) and a shutter button (40) are provided.

このうち、信号処理回路(26)は、第1色属性調整部、第2色属性調整部、第1鮮鋭度調整部及び第2鮮鋭度調整部としての機能を有する。CPU(32)は、特徴量算出部、領域量算出部、決定部、露出制御部、シーン判定部及びオートフォーカス制御部としての機能を有する。   Among these, the signal processing circuit (26) has functions as a first color attribute adjustment unit, a second color attribute adjustment unit, a first sharpness adjustment unit, and a second sharpness adjustment unit. The CPU (32) has functions as a feature amount calculation unit, an area amount calculation unit, a determination unit, an exposure control unit, a scene determination unit, and an autofocus control unit.

信号処理回路(26)は、図2に示す構成を有する。信号処理回路(26)は、イメージセンサ(20)から出力された各フレームの生画像信号(ディジタル信号)に対し、色分離処理、シャープネス調整処理、色調整処理、YUV変換処理等を施して画像データを生成する。   The signal processing circuit (26) has the configuration shown in FIG. The signal processing circuit (26) performs color separation processing, sharpness adjustment processing, color adjustment processing, YUV conversion processing, and the like on the raw image signal (digital signal) of each frame output from the image sensor (20). Generate data.

具体的に、生画像信号を生成する各画素は、Cy,Ye,Mg,Gのいずれか1つの色情報しか持たないため、先ず色分離回路(26a)によって各画素が不足する色情報が補完される。シャープネス調整回路(26b)では、色分離回路(26a)にて色情報が補完された後の画像データに対し、鮮鋭度を向上させるためのシャープネス調整処理が行われる。RGB変換回路(26c)では、シャープネス調整回路(26b)から出力された画像信号にRGB変換を施す。ホワイトバランス調整回路(26d)は、アンプ(図示せず)を有し、RGB変換回路(26c)から出力された画像信号を増幅する等してホワイトバランス調整を施す。ホワイトバランス調整が施された画像信号は、LCH調整回路(26e)及び積算回路(26g)に入力される。   Specifically, since each pixel that generates the raw image signal has only one color information of Cy, Ye, Mg, and G, the color separation circuit (26a) first complements the color information that each pixel lacks Be done. In the sharpness adjustment circuit (26b), sharpness adjustment processing for improving sharpness is performed on the image data after the color information is complemented by the color separation circuit (26a). The RGB conversion circuit (26c) performs RGB conversion on the image signal output from the sharpness adjustment circuit (26b). The white balance adjustment circuit (26d) has an amplifier (not shown) and performs white balance adjustment by amplifying the image signal output from the RGB conversion circuit (26c). The image signal subjected to the white balance adjustment is input to the LCH adjustment circuit (26e) and the integration circuit (26g).

LCH調整回路(26e)は、ホワイトバランス調整回路(26d)にて調整された後の画像信号に係るR成分、B成分及びG成分を、明度成分であるL成分、彩度成分であるC成分、色相成分であるH成分に変換すると、変換後の各成分について、必要に応じて明度、彩度及び色相の各補正を行う。YUV変換回路(26f)は、LCH調整回路(26e)から出力された後の画像信号を、YUV信号に変換する。生成されたYUV信号は、輝度データであるY成分、色差成分であるU成分及びV成分が含まれ、Y:U:Vの比率は“4:2:2”となっている。   The LCH adjustment circuit (26e) combines the R component, the B component, and the G component of the image signal adjusted by the white balance adjustment circuit (26d) with the L component as the lightness component and the C component as the saturation component. When converted into an H component which is a hue component, each of the converted components is subjected to each correction of lightness, saturation and hue as necessary. The YUV conversion circuit (26f) converts the image signal output from the LCH adjustment circuit (26e) into a YUV signal. The generated YUV signal includes a Y component as luminance data, a U component as a color difference component, and a V component, and the ratio of Y: U: V is “4: 2: 2”.

ホワイトバランス調整回路(26d)から出力された画像信号は、積分回路(26g)にも入力される。YUV変換回路(26f)から出力されたYUV信号に係るY成分は、積算回路(26h)に入力される。図3に示すように、被写界(即ち画面)は、垂直方向及び水平方向のそれぞれに16分割され、画面には256個のブロックが形成されている。各ブロックには、垂直位置信号i(iは0〜15の整数)及び水平位置信号j(jは0〜15の整数)が割り当てられる。   The image signal output from the white balance adjustment circuit (26d) is also input to the integration circuit (26g). The Y component relating to the YUV signal output from the YUV conversion circuit (26f) is input to the integration circuit (26h). As shown in FIG. 3, an object field (i.e., a screen) is divided into 16 in each of the vertical direction and the horizontal direction, and 256 blocks are formed on the screen. Each block is assigned a vertical position signal i (i is an integer of 0 to 15) and a horizontal position signal j (j is an integer of 0 to 15).

積分回路(26g)は、入力された画像信号に係るR成分、G成分及びB成分それぞれをブロック毎に積分し、積分回路(26h)は、入力された画像信号に係るY成分をブロック毎に積分する。これによって、R成分に関する256個の積分値r(i,j)、G成分に関する256個の積分値g(i,j)、B成分に関する256個の積分値b(i,j)が、積分回路(26g)から1フレーム期間毎に出力され、Y信号に関する256個の積分値y(i,j)が積分回路(26h)から1フレーム期間毎に出力される。   The integration circuit (26g) integrates each of the R component, G component and B component of the input image signal for each block, and the integration circuit (26h) integrates the Y component of the input image signal for each block. Integrate. As a result, 256 integral values r (i, j) for R component, 256 integral values g (i, j) for G component, and 256 integral values b (i, j) for B component are integrated. The circuit (26g) outputs one frame period at a time, and 256 integral values y (i, j) of the Y signal are outputted from an integrating circuit (26h) at one frame period.

上記積分値r(i,j),g(i,j),b(i,j)は、露出制御時のAE評価値として利用できる。積分値y(i,j)は、撮影シーンの判定に利用できる。   The integral values r (i, j), g (i, j) and b (i, j) can be used as AE evaluation values at the time of exposure control. The integral value y (i, j) can be used to determine a shooting scene.

なお、積分回路(26g)では、更に、R成分、G成分及びB成分の高周波数成分の積分値が算出されてもよい。オートフォーカス制御時のAF評価値として利用できるためである。   The integration circuit (26g) may further calculate an integrated value of high frequency components of the R component, the G component, and the B component. This is because it can be used as an AF evaluation value at the time of autofocus control.

図1に戻り、信号処理回路(26)から出力されたYUV信号は、メモリ制御回路(24)に入力される。入力されたYUV信号は、メモリ制御回路(24)によって、図4に係るSDRAM(38)の表示画像エリア(38a)に画像データとして書き込まれたり、表示画像エリア(38a)から読み出されたりする。   Returning to FIG. 1, the YUV signal output from the signal processing circuit (26) is input to the memory control circuit (24). The input YUV signal is written as image data to the display image area 38a of the SDRAM 38 according to FIG. 4 or read out from the display image area 38a by the memory control circuit 24. .

SDRAM(38)の表示画像エリア(38a)に格納された各フレームの画像データがメモリ制御回路(24)によって読み出されると、ビデオエンコーダ(28)は、この画像データをNTSCフォーマットのコンポジット画像信号にエンコードする。ビデオエンコーダ(28)は、このコンポジット画像信号をモニタ(30)に出力する。これにより、モニタ(30)には、被写体のリアルタイム動画像(スルー画像)が表示される。   When the image data of each frame stored in the display image area (38a) of the SDRAM (38) is read by the memory control circuit (24), the video encoder (28) converts the image data into a composite image signal of NTSC format. Encode The video encoder (28) outputs this composite image signal to the monitor (30). Thereby, a real time moving image (through image) of the subject is displayed on the monitor (30).

図2に示す積分回路(26h)から出力された256個の積分値y(i,j)は、CPU(32)によって取り込まれ、レジスタ(rgst1)に設定される。積分値y(i,j)は、1フレーム期間毎に生成されるため、レジスタ(rgst1)の設定値は1フレーム期間毎に更新される。   The 256 integral values y (i, j) output from the integration circuit (26h) shown in FIG. 2 are taken in by the CPU (32) and set in the register (rgst1). Since the integrated value y (i, j) is generated every one frame period, the set value of the register (rgst1) is updated every one frame period.

シャッタボタン(40)が半押しされると、半押しされたことを示す状態信号がCPU(32)に与えられる。CPU(32)は、シャッタボタン(40)の半押し後に積分回路(26h)から出力された256個の積分値y(i,j)をレジスタ(rgst2)に設定する。この結果、連続する2フレームの積分値y(i,j)が、レジスタ(rgst1,rgst2)内に設定される。CPU(32)は、これらの積分値y(i,j)を用いた被写界のシーン判定を行い、シーンに応じたフォーカス調整を行う。   When the shutter button (40) is pressed halfway, a status signal indicating that the shutter button is pressed halfway is given to the CPU (32). The CPU (32) sets 256 integral values y (i, j) output from the integration circuit (26h) after half depression of the shutter button (40) in the register (rgst2). As a result, the integral values y (i, j) of two consecutive frames are set in the register (rgst1, rgst2). The CPU (32) performs scene determination of an object scene using these integral values y (i, j), and performs focus adjustment according to the scene.

例えば、CPU(32)は、レジスタ(rgst1,rgst2)内に設定された積分値y(i,j)に基づいて、被写界がスポーツシーンか否かを判定する。スポーツシーンの可能性判断が完了すると、CPU(32)は、例えばAF評価値を用いてフォーカス調整を行う。この際、フォーカスレンズ(12)は、ドライバ(18a)によって光軸方向に移動し、合焦位置に設定される。フォーカス調整が完了すると、CPU(32)は、各積分値r(i,j),g(i,j),b(i,j),y(i,j)を、レジスタ(rgst3)に設定する。1フレーム分の積分値r(i,j),g(i,j),b(i,j),y(i,j)の取り込みが完了すると、CPU(32)は、ポートレートシーンの可能性、夕景シーンの可能性、夜景シーンの可能性、自然シーンの可能性を判別する。各シーンの判別については、後述の”全体の動作の流れ”“自然シーン判定動作”にて説明する。   For example, the CPU (32) determines whether the object scene is a sports scene based on the integral value y (i, j) set in the register (rgst1, rgst2). When the possibility judgment of the sport scene is completed, the CPU (32) performs focus adjustment using, for example, an AF evaluation value. At this time, the focus lens (12) is moved in the optical axis direction by the driver (18a) and set at the in-focus position. When focus adjustment is completed, the CPU (32) sets each integral value r (i, j), g (i, j), b (i, j), y (i, j) in the register (rgst3). Do. When loading of integral values r (i, j), g (i, j), b (i, j), y (i, j) for one frame is completed, the CPU (32) enables portrait scene Determine the sex, the possibility of a sunset scene, the possibility of a night scene, the possibility of a natural scene. The determination of each scene will be described later in the "flow of the entire operation" and "natural scene determination operation".

各シーンの可能性が算出されると、最も可能性の高いシーンが被写界として確定する。カメラ設定つまり撮影モードは、確定したシーンに応じて変更される。モニタ(30)には、確定したシーンに対応するメッセージが表示され、シーンに応じた露出調整が実行される。   When the possibility of each scene is calculated, the most probable scene is determined as the object scene. The camera setting, that is, the shooting mode is changed according to the decided scene. A message corresponding to the determined scene is displayed on the monitor (30), and exposure adjustment according to the scene is performed.

露出調整が完了した後に、撮影者がシャッタボタン(40)を全押しすると、撮影処理及び記録処理が実行される。先ず、CPU(32)は、イメージセンサ(20)に本露光を実行させ、本露光によって得られた1フレーム分の生画像信号をイメージセンサ(20)から読み出させる。この生画像信号は、メモリ制御回路(24)に与えられ、メモリ制御回路(24)によって、図4に係るSDRAM(38)の生画像エリア(38b)に書き込まれる。   When the photographer fully presses the shutter button (40) after the exposure adjustment is completed, the photographing process and the recording process are performed. First, the CPU (32) causes the image sensor (20) to execute main exposure, and causes the image sensor (20) to read one frame of raw image signal obtained by the main exposure. This raw image signal is supplied to the memory control circuit (24), and is written to the raw image area (38b) of the SDRAM (38) according to FIG. 4 by the memory control circuit (24).

生画像エリア(38b)への書き込みが完了した後、メモリ制御回路(24)は、当該生画像信号を読み出す。メモリ制御回路(24)によって読み出された生画像信号は、信号処理回路(26)に与えられる。信号処理回路(26)では、図2を用いて述べた色分離処理、シャープネス調整処理、RGB変換処理、ホワイトバランス調整処理、LCH調整処理、YUV変換処理等の、一連の処理が実行され、YUV信号(主要YUV信号)が生成される。   After writing to the raw image area (38b) is completed, the memory control circuit (24) reads the raw image signal. The raw image signal read by the memory control circuit (24) is given to the signal processing circuit (26). The signal processing circuit (26) executes a series of processing such as color separation processing, sharpness adjustment processing, RGB conversion processing, white balance adjustment processing, LCH adjustment processing, YUV conversion processing described with reference to FIG. A signal (main YUV signal) is generated.

信号処理回路(26)から出力された主要YUV信号は、メモリ制御回路(24)に与えられ、メモリ制御回路(24)によって図4に係るSDRAM(38)の主画像エリア(38c)に書き込まれる。書き込みが完了すると、CPU(32)は、主要YUV信号に基づいて縮小YUV信号を生成する。具体的には、CPU(32)は、メモリ制御回路(24)を介してSDRAM(38)にアクセスし、ソフトウェア処理によって縮小YUV信号を生成する。生成された縮小YUV信号は、図4に係るSDRAM(38)の縮小画像エリア(38d)に書き込まれる。   The main YUV signal output from the signal processing circuit (26) is applied to the memory control circuit (24) and is written to the main image area (38c) of the SDRAM (38) according to FIG. 4 by the memory control circuit (24). . When writing is complete, the CPU (32) generates a reduced YUV signal based on the main YUV signal. Specifically, the CPU (32) accesses the SDRAM (38) via the memory control circuit (24) and generates a reduced YUV signal by software processing. The generated reduced YUV signal is written to the reduced image area 38d of the SDRAM 38 according to FIG.

メモリ制御回路(24)は、主要YUV信号及び縮小YUV信号をSDRAM(38)から読み出し、各々のYUV信号をJPEGコーデック(27)に与える。JPEGコーデック(27)は、与えられた主要YUV信号及び縮小YUV信号をJPEGフォーマットに従って圧縮し、圧縮主要YUV信号及び圧縮縮小YUV信号を生成する。生成された圧縮主要YUV信号及び圧縮縮小YUV信号は、メモリ制御回路(24)によって、図4に係るSDRAM(38)の圧縮主画像エリア(38e)及び圧縮縮小画像エリア(38f)それぞれに書き込まれる。   The memory control circuit (24) reads the main YUV signal and the reduced YUV signal from the SDRAM (38) and provides each YUV signal to the JPEG codec (27). The JPEG codec (27) compresses the provided main YUV signal and the reduced YUV signal according to the JPEG format to generate a compressed main YUV signal and a compressed reduced YUV signal. The generated compressed primary YUV signal and the compressed reduced YUV signal are written by the memory control circuit (24) to the compressed main image area (38e) and the compressed image area (38f) of the SDRAM (38) according to FIG. .

こうして撮影処理が完了すると、CPU(32)は、記録処理を実行する。具体的には、CPU(32)は、メモリ制御回路(24)を介してSDRAM(38)にアクセスし、圧縮主要YUV信号及び圧縮縮小YUV信号を、圧縮主画像エリア(38e)及び圧縮縮小画像エリア(38f)それぞれから読み出す。更に、CPU(32)は、読み出された圧縮主要YUV信号及び圧縮縮小YUV信号をファイル形式で、I/F回路(34)を介してメモリカード(36)に記録する。メモリカード(36)は、撮像装置(10)の筐体(図示せず)に対して着脱自在に設けられたものである。   Thus, when the photographing process is completed, the CPU (32) executes a recording process. Specifically, the CPU (32) accesses the SDRAM (38) through the memory control circuit (24) to compress the compressed main YUV signal and the compressed reduced YUV signal, the compressed main image area (38e) and the compressed reduced image. It reads from each area (38f). Further, the CPU (32) records the read compressed main YUV signal and the compressed / reduced YUV signal in a file format on the memory card (36) via the I / F circuit (34). The memory card (36) is detachably provided in a housing (not shown) of the imaging device (10).

また、CPU(32)には、フラッシュメモリ等で構成される記憶部(42)が、電気的に接続されている。記憶部(42)には、被写体の種類を認識する際に利用される辞書データ(DB)が格納されている。一例として、図5の辞書データ(DB)には、植物の葉の特徴量のデータ(G1)、花の特徴量のデータ(G2)、人物の特徴量のデータ(G3)が、登録されている。特徴量としては、輝度、明度、彩度、色相、色成分、エッジ成分、方位、またはこれらの組合せ等が挙げられる。特徴量の種類は特に限定されないが、本実施形態では、特徴量に、少なくともエッジ成分と色成分とが含まれる場合を例示する。   Further, a storage unit (42) configured by a flash memory or the like is electrically connected to the CPU (32). The storage unit (42) stores dictionary data (DB) used when recognizing the type of subject. As an example, in the dictionary data (DB) of FIG. 5, data (G1) of feature amounts of leaves of plants, data (G2) of feature amounts of flowers, and data (G3) of feature amounts of people are registered. There is. The feature amount includes brightness, lightness, saturation, hue, color component, edge component, direction, or a combination thereof. Although the type of the feature amount is not particularly limited, in the present embodiment, a case where at least an edge component and a color component are included in the feature amount is exemplified.

被写体が人物である場合、顔の器官(目,口など)の形状は概ね同一であり、顔の色は肌色のため、人物に係る上記データ(G3)には、エッジ成分の平均化した値及び肌色の平均化した値を登録することができる。一方、植物は、密集している程形状が複雑化し、垂直、水平、斜め右、斜め左を含む4方向全てのエッジ成分を有する。植物の色については、葉であれば緑色、花であれば緑色以外の多彩な色(赤色、黄色、紫色等)が挙げられる。それ故、植物の葉に係る上記データ(G1)には、同一の単位画像内に全方向のエッジ成分が存在するという情報、更には緑色の平均化した値が登録されることが好ましい。植物の花に係る上記データ(G2)には、様々な花単体のエッジ成分、または、これらのエッジ成分を平均化した値が登録されていてもよいし、同一の単位画像内に全方向のエッジ成分が存在するという情報に加えて、多彩な色成分もしくは色成分毎の平均化した値等が組み合わせて登録されていてもよい。   When the subject is a person, the shapes of the organs (eyes, mouth, etc.) of the face are almost the same, and the color of the face is skin color, so the above data (G3) pertaining to the person is an averaged value of edge components And the averaged value of skin color can be registered. On the other hand, plants are more complicated in shape and more complex, and have all four edge components including vertical, horizontal, diagonal right and diagonal left. With regard to the color of the plant, green for leaves and various colors other than green for flowers (red, yellow, purple, etc.) can be mentioned. Therefore, it is preferable that information indicating that edge components in all directions exist in the same unit image, and further, an averaged value of green be registered in the data (G1) relating to the leaves of the plant. The above-mentioned data (G2) relating to the flower of a plant may contain edge components of various flower simple substances or values obtained by averaging these edge components, or all directions in the same unit image may be registered. In addition to the information that the edge component is present, various color components or averaged values for each color component may be registered in combination.

なお、本実施形態では、被写界が自然シーンであると判定した際に、被写界の内容に応じた露出調整と、色合い調整処理とが行われるが、これらについては後述の“自然シーンにおける露出制御動作ならびに色合い調整動作”にて説明する。   In the present embodiment, when it is determined that the object scene is a natural scene, the exposure adjustment and the color tone adjustment processing according to the contents of the object scene are performed. The exposure control operation and the color tone adjustment operation in FIG.

<動作>
次に、上記画像処理装置(100)が行う動作について詳述する。
<Operation>
Next, the operation performed by the image processing apparatus (100) will be described in detail.

−全体の動作の流れ−
図6は、画像処理装置(100)の起動後の主な動作の流れを表す図である。
-Flow of overall operation-
FIG. 6 is a diagram showing the flow of the main operation after activation of the image processing apparatus (100).

先ず、撮像装置(10)の電源が投入されると、CPU(32)は、ドライバ(18a〜18c)、信号処理回路(26)及びビデオエンコーダ(28)に対し、スルー画像処理に係る処理命令を与える。これにより、スルー画像処理が行われる(ステップS1)。   First, when the power of the imaging apparatus (10) is turned on, the CPU (32) instructs the drivers (18a to 18c), the signal processing circuit (26) and the video encoder (28) to perform processing related to through image processing. give. Thereby, through image processing is performed (step S1).

スルー画像処理は、“<画像処理装置の構成>”で説明した通りである。即ち、信号処理回路(26)は、イメージセンサ(20)から出力された生画像信号(デジタル信号)に基づいて画像データを生成し、メモリ制御回路(24)は、その画像データをSDRAM(38)の画像エリアに格納する。その後、メモリ制御回路(24)によってSDRAM(38)の画像エリアから各フレームの画像データが読み出され、ビデオエンコーダ(28)は、その画像データをコンポジット画像信号にエンコードしてモニタ(30)に表示させる。   The through image processing is as described in “<Configuration of image processing apparatus>”. That is, the signal processing circuit (26) generates image data based on the raw image signal (digital signal) output from the image sensor (20), and the memory control circuit (24) Store in the image area of). Thereafter, the memory control circuit (24) reads the image data of each frame from the image area of the SDRAM (38), and the video encoder (28) encodes the image data into a composite image signal and displays it on the monitor (30). Display.

その後、シャッタボタン(40)が半押しされると(ステップS2のYes)、CPU(32)は、被写界がスポーツシーンである可能性の算出(ステップS3)、ポートレートシーンである可能性の算出(ステップS4)、夕景シーンである可能性の算出(ステップS5)、夜景シーンである可能性の算出(ステップS6)を行う。なお、これらの具体的な算出方法は、従来技術の適用が可能であり、ここではその詳細な説明を省略する。   Thereafter, when the shutter button (40) is pressed halfway (Yes in step S2), the CPU (32) calculates the possibility that the object scene is a sports scene (step S3), and the possibility of being a portrait scene (Step S4), calculation of the possibility of being a sunset scene (step S5), and calculation of the possibility of being a night scene (step S6). In addition, the application of a prior art is possible for these specific calculation methods, and the detailed description is abbreviate | omitted here.

CPU(32)は、被写界が自然シーンである可能性を、本実施形態に係る手法にて算出する(ステップS7)。   The CPU (32) calculates the possibility that the object scene is a natural scene by the method according to the present embodiment (step S7).

次いで、CPU(32)は、ステップS3〜S7で算出した可能性の中からパーセンテージが最も高い可能性を特定し、特定した可能性に対応する撮影シーンを被写界に対応する撮影シーンとして確定し、その確定した撮影シーンに対応する撮影モードの設定を行う(ステップS8)。この撮影モードの設定には、撮影シーンに応じた露出調整に係る設定、色合い調整に係る設定等の、各種設定が含まれる。   Next, the CPU (32) specifies the possibility that the percentage is the highest among the possibilities calculated in steps S3 to S7, and determines the photographing scene corresponding to the specified possibility as the photographing scene corresponding to the object scene Then, the photographing mode corresponding to the decided photographing scene is set (step S8). The setting of the shooting mode includes various settings such as a setting related to exposure adjustment according to a shooting scene and a setting related to color tone adjustment.

被写界がスポーツシーンであると確定した際、CPU(32)は、動きのある被写体が鮮明に撮影されるように、プログラム線図を補正する(スポーツモード設定)。被写界がポートレートシーンであると確定した際、CPU(32)は、背景がぼけるようにプログラム線図を補正し、且つ人物の肌色の変化が抑えられるようにホワイトバランス調整で使用されるゲインを補正する(ポートレートモード設定)。被写界が夕景シーンに確定した際、CPU(32)は、遠景が鮮明に撮影されるようにプログラム線図を補正し、夕焼けの色の変化が抑えられるようにホワイトバランス調整にて使用されるゲインを補正する(夕景モード設定)。被写界が夜景シーンであると確定した際、CPU(32)は、イルミネーションが際立つようにプログラム線図を補正する(夜景モード設定)。被写界が自然シーンであると確定した際、CPU(32)は、図10に示す露出制御動作を実現するためのプログラム線図の補正、及び、図10に示す色合い調整動作を実現するための、LCH調整処理にて使用される目標値の補正等を、AE評価値等を用いて行う。   When it is determined that the object scene is a sports scene, the CPU (32) corrects the program diagram so that the subject with motion is clearly photographed (sports mode setting). When the scene is determined to be a portrait scene, the CPU (32) corrects the program diagram so that the background is blurred, and is used in white balance adjustment so that the change in the skin color of the person can be suppressed Correct the gain (portrait mode setting). The CPU (32) corrects the program diagram so that the distant view is captured clearly when the object scene is finalized in the evening scene, and is used in white balance adjustment so that the change in the color of the sunset can be suppressed. Correct the gain (evening mode setting). When it is determined that the object scene is a night scene, the CPU (32) corrects the program diagram so that the illumination is prominent (night scene mode setting). When it is determined that the object scene is a natural scene, the CPU (32) corrects the program diagram for realizing the exposure control operation shown in FIG. 10 and realizes the color tone adjustment operation shown in FIG. The correction of the target value used in the LCH adjustment processing is performed using the AE evaluation value or the like.

その後、CPU(32)は、レジスタ(rgst2)に設定された積分値y(i,j)、上記の撮影モードの設定によって補正されたプログラム線図に基づいて、最適な絞り量及び最適な露光時間(シャッタ速度)を特定し、特定した絞り量及び露光時間をドライバ(18b)を介して絞りユニット(14)に設定する。   After that, the CPU (32) sets the optimum aperture and the optimum exposure based on the integrated value y (i, j) set in the register (rgst2) and the program diagram corrected by the setting of the photographing mode described above. The time (shutter speed) is specified, and the specified aperture amount and exposure time are set in the aperture unit (14) via the driver (18b).

その後、シャッタボタン(40)が全押しされた後(ステップS9のYes)、CPU(32)はこれを検知する。シャッタボタン(40)が全押しされている間、撮影処理及び記録処理が行われる(ステップS10)。撮影処理では、CPU(32)は、絞りユニット(14)とイメージセンサ(20)との間に配置されたシャッタ機構(図示せず)が、本露光の開始から最適な露光時間が経過した時点で駆動する。このような撮影処理と記憶処理とにより、被写界像がメモリカード(36)に記憶される。   Thereafter, after the shutter button (40) is full-pressed (Yes in step S9), the CPU (32) detects this. While the shutter button (40) is full-pressed, shooting processing and recording processing are performed (step S10). In the photographing process, the CPU (32) sets a shutter mechanism (not shown) disposed between the aperture unit (14) and the image sensor (20) at a time when an optimal exposure time has elapsed from the start of the main exposure. Drive by. An object scene image is stored in the memory card (36) by such photographing processing and storage processing.

シャッタボタン(40)が全押しされなかった場合(ステップS9のNo)、及び、ステップS10に係る撮影処理及び記憶処理が完了した後は、ステップS2以降の動作が繰り返される。   When the shutter button (40) is not full-pressed (No in step S9) and after the photographing process and the storage process according to step S10 are completed, the operations after step S2 are repeated.

−自然シーン判定動作−
以下、図7〜9を用いて、図6のステップS7に係る自然シーンの可能性判断の動作の流れについて説明する。
-Natural scene judgment operation-
The flow of the operation of determining the possibility of the natural scene according to step S7 in FIG. 6 will be described below using FIGS.

先ず、CPU(32)は、画像データを複数の単位画像(br1,br2,・・・)に区分けする(ステップS71)。単位画像(br1,br2,・・・)のサイズは、特に限定はないが、例えば図3で示したブロックと同程度のサイズであってもよい。   First, the CPU (32) divides the image data into a plurality of unit images (br1, br2,...) (Step S71). The size of the unit image (br1, br2, ...) is not particularly limited, but may be, for example, the same size as the block shown in FIG.

CPU(32)は、図8及び図9に示すように、上記単位画像(br1,br2,・・・)と同サイズの検索枠(sf)を、画像データ上の最初の単位画像(br1)に重畳させると、隣接する単位画像(br2,・・・)へと検索枠(sf)を移動させていく(ステップS72)。この検索枠(sf)の移動処理と共に、CPU(32)は、検索枠(sf)が重畳している単位画像(br1,br2,・・・)について、特徴量の抽出を行う(ステップS73)。CPU(32)は、抽出した特徴量を記憶部(42)内の辞書データ(DB)と照合することにより(ステップS74)、その単位画像に写し出されている被写体の種類が何であるのかを認識する。   The CPU (32), as shown in FIGS. 8 and 9, searches the search frame (sf) of the same size as the unit image (br1, br2,...) And sets the first unit image (br1) on the image data. When the search frame (sf) is moved to the adjacent unit image (br2,...), The search frame (sf) is moved (step S72). Along with the moving process of the search frame (sf), the CPU (32) extracts the feature amount for the unit images (br1, br2, ...) on which the search frame (sf) is superimposed (step S73) . The CPU (32) collates the extracted feature amount with dictionary data (DB) in the storage unit (42) (step S74) to recognize what kind of subject is shown in the unit image Do.

本実施形態では、説明の便宜上、撮像対象である主な被写体が、植物のみ(図8)、または、植物と人物との組合せ(図9)である場合を例に取る。例えば、単位画像に写し出された被写体が葉のみを含む植物の場合、CPU(32)は、その植物の色成分“緑色”とエッジ成分“全方向”とを特徴量として抽出し、これらを辞書データ(DB)と照合して、“植物の葉”の単位画像であると認識する。単位画像に写し出された被写体が植物の花である場合、CPU(32)は、その花の色成分及びエッジ成分の組合せ、ないしは花の色成分のみを特徴量として抽出し、これらを辞書データ(DB)と照合して、“花”の単位画像であると認識する。単位画像に写し出された被写体が人物の場合、CPU(32)は、その人物の色成分“肌色”とエッジ成分とを特徴量として抽出し、これらを辞書データ(DB)と照合して、“人物”の単位画像であると認識する。   In the present embodiment, for convenience of explanation, the case where the main subject to be imaged is only a plant (FIG. 8) or a combination of a plant and a person (FIG. 9) will be taken as an example. For example, if the subject shown in the unit image is a plant containing only leaves, the CPU (32) extracts the color component "green" and the edge component "all directions" of the plant as feature quantities, and extracts them as a dictionary It is recognized as a unit image of “plant leaf” by collating with data (DB). When the subject shown in the unit image is a plant flower, the CPU (32) extracts only the combination of the color component and the edge component of the flower or the color component of the flower as the feature amount, and these are extracted as dictionary data ( It matches with DB) and recognizes it as a unit image of "flower". When the subject shown in the unit image is a person, the CPU (32) extracts the color component "skin color" and the edge component of the person as feature amounts, collates them with dictionary data (DB), and It recognizes as a unit image of "person".

上記ステップS74の照合処理が、画像データに含まれる全ての単位画像(br1,br2,・・・)について実行されるまで(ステップS75のNo)、ステップS72以降の処理が繰り返される。上記ステップS74の照合処理が、画像データに含まれる全ての単位画像(br1,br2,・・・)について実行された場合(ステップS75のYes)、CPU(32)は、全ての単位画像の認識結果に基づいて、当該認識結果が“植物”である単位画像の数に応じて、被写体が自然シーンである可能性を算出する(ステップS76)。   The processes after step S72 are repeated until the collation process of step S74 is executed for all unit images (br1, br2,...) Included in the image data (No in step S75). When the collation process of step S74 is executed for all unit images (br1, br2, ...) included in the image data (Yes in step S75), the CPU (32) recognizes all unit images Based on the result, the possibility that the subject is a natural scene is calculated according to the number of unit images whose recognition result is "plant" (step S76).

更に、CPU(32)は、全ての単位画像の認識結果に基づいて、画像データにおいて植物が写っている領域の大きさ(以下、植物領域サイズ)、または、画像データにおいて人物が写っている領域の大きさ(以下、人物領域サイズ)を、特定領域サイズとして算出する(ステップS77)。例えば、図8では、主な被写体は植物のみである。この場合、図8の太線で囲われた単位画像全てを含んだ範囲が、植物領域サイズ(rg1)に該当する。図9では、主な被写体は植物及び人物である。この場合、図9の人物の、太線で囲われた単位画像全てを含んだ範囲が、人物領域サイズ(rg2)であり、人物の左側及び右側それぞれに位置する植物の、太線で囲われた単位画像全てを含んだ範囲が、植物領域サイズ(rg1)である。   Furthermore, based on the recognition results of all unit images, the CPU (32) determines the size of the area in which the plant appears in the image data (hereinafter referred to as the plant area size) or the area in which the person appears in the image data. The size (hereinafter referred to as the person area size) of is calculated as the specific area size (step S77). For example, in FIG. 8, the main subject is only a plant. In this case, a range including all unit images enclosed by thick lines in FIG. 8 corresponds to the plant area size (rg1). In FIG. 9, the main subjects are plants and people. In this case, a range including all unit images enclosed by thick lines of the person in FIG. 9 is the person area size (rg2), and the units enclosed by thick lines of the plants located on the left and right sides of the person respectively. The area including the entire image is the plant area size (rg1).

図7に係るステップS77の処理完了後、画像処理装置(100)の動作は、上層の動作フロー(図6)のステップS8に移行する。   After completion of the process of step S77 according to FIG. 7, the operation of the image processing apparatus (100) shifts to step S8 of the upper layer operation flow (FIG. 6).

−自然シーンにおける露出制御動作ならびに色合い調整動作−
以下、図10〜13を用いて、図6のステップS8のうち、撮影シーンが自然シーンである場合の露出制御動作ならびに色合い調整動作の流れについて説明する。即ち、ここでは、図6のステップS3〜S7において各シーンの可能性判断がなされた結果、ステップS8において、撮影シーンが自然シーンであると確定したことを、前提とする。
-Exposure control operation and color tone adjustment operation in a natural scene-
Hereinafter, the flow of the exposure control operation and the color tone adjustment operation when the shooting scene is a natural scene in step S8 of FIG. 6 will be described with reference to FIGS. That is, it is premised here that as a result of the possibility judgment of each scene being made in steps S3 to S7 in FIG. 6, it is determined in step S8 that the photographed scene is a natural scene.

CPU(32)は、図7のステップS77で算出した特定領域サイズに応じて、画像データの露出量の調整処理を行うか否かを決定すると共に、露出量の調整処理を行うと決定した場合は、特定領域サイズに応じて画像データの露出量を調整する処理を行う。   When the CPU (32) determines whether or not to adjust the exposure amount of the image data according to the specific area size calculated in step S77 of FIG. 7, and determines to perform the adjustment processing of the exposure amount Performs a process of adjusting the exposure amount of the image data in accordance with the specific area size.

具体的には図10に示すように、主な被写体が人物を含まず植物のみであって、画像データ中では植物領域が大部分を占める場合(ステップS101のYes)、CPU(32)は、特定領域サイズにおける植物領域サイズを第1所定サイズと比較する(ステップS102)。   Specifically, as shown in FIG. 10, when the main subject is only a plant without a person and the plant area occupies most in the image data (Yes in step S101), the CPU (32) The plant area size in the specific area size is compared with the first predetermined size (step S102).

植物領域サイズが第1所定サイズ以上の場合(ステップS102のYes)、CPU(32)は、画像データの露出量の調整処理を行うと決定し、且つ、画像データの露出量を低下させる処理を行う(ステップS103)。当該処理では、植物領域サイズの大小に応じて、露出量を低下させる度合が変化する。   If the plant area size is equal to or larger than the first predetermined size (Yes in step S102), the CPU (32) determines that the adjustment processing of the exposure amount of the image data is to be performed, and performs the processing of reducing the exposure amount of the image data. It does (step S103). In the processing, the degree to which the exposure amount is reduced changes according to the size of the plant area.

図11は、横軸を植物領域サイズ、縦軸を露出量を低下させる度合(露出の低下量)とし、ステップS103に係る処理での、植物領域サイズと露出の低下量との関係をグラフにて表している。図11に示すように、本実施形態では、植物領域サイズが大きい程、露出を低下させる度合(露出の低下量)は高くなる。即ち、植物領域サイズが大きい程、画像データの露出量はより低くなる。算出した植物領域サイズを図11のグラフに当てはめることで、露出量をどの程度下げるかが決定される。   FIG. 11 is a graph showing the relationship between the plant area size and the exposure reduction amount in the processing according to step S103, where the horizontal axis is the plant area size and the vertical axis is the degree of reduction of the exposure amount (exposure reduction amount). Is represented. As shown in FIG. 11, in the present embodiment, as the plant area size is larger, the degree to which the exposure is reduced (the amount of reduction of the exposure) is higher. That is, the larger the plant area size, the lower the exposure of the image data. By applying the calculated plant area size to the graph of FIG. 11, it is determined how much the exposure amount is reduced.

図11に示すように、植物領域サイズが大きくなる程、露出の低下量が直線状に増すように、植物領域サイズと露出の低下量との関係が定義されていることが好ましいが、図11に限定されずともよい。   As shown in FIG. 11, it is preferable that the relationship between the plant area size and the reduction in exposure be defined such that the reduction in exposure increases linearly as the plant area size increases. It is not necessary to be limited to

ステップS103にて決定した露出量に従って、CPU(32)は、最適な絞り量及び最適な露光時間(シャッタ速度)をドライバ(18b)によって絞りユニット(14)に設定する。これにより、シャッタボタン(40)の全押し時、設定された露光時間及び絞り量による撮影処理が行われる。   In accordance with the exposure amount determined in step S103, the CPU (32) sets the optimum aperture amount and the optimum exposure time (shutter speed) in the aperture unit (14) by the driver (18b). Thus, when the shutter button (40) is full-pressed, the photographing process is performed with the set exposure time and aperture amount.

また、ステップS102において植物領域サイズが第1所定サイズ以上であるため(ステップS102のYes)、信号処理回路(26)(具体的にはLCH調整回路(26e))は、自然画像における植物の緑色成分の彩度が上昇するように、自然画像の彩度を補正する処理を行う(ステップS104)。当該処理では、植物領域サイズの大小に応じて、植物の緑色成分の彩度を上昇させる度合が変化する。   Further, since the plant area size is equal to or larger than the first predetermined size in step S102 (Yes in step S102), the signal processing circuit (26) (specifically, the LCH adjustment circuit (26e)) A process of correcting the saturation of the natural image is performed so that the saturation of the component is increased (step S104). In the processing, the degree of increasing the saturation of the green component of the plant changes according to the size of the plant area.

図12は、横軸を植物領域サイズ、縦軸を彩度を上昇させる割合(彩度の上昇量)とし、ステップS104に係る処理での、植物領域サイズと彩度の上昇量との関係をグラフにて表している。図12に示すように、本実施形態では、植物領域サイズが大きい程、彩度を上昇させる度合(彩度の上昇量)は高くなる。即ち、植物領域サイズが大きい程、画像データの彩度はより上昇する。算出した植物領域サイズを図12のグラフに当てはめることで、彩度をどの程度上昇させるかが決定される。   In FIG. 12, with the horizontal axis representing the plant area size and the vertical axis representing the rate of increasing the saturation (rise amount of saturation), the relationship between the plant area size and the rise amount of saturation in the processing according to step S104 is shown. It is represented by a graph. As shown in FIG. 12, in the present embodiment, as the plant area size is larger, the degree of increase in saturation (the amount of increase in saturation) is higher. That is, as the plant area size is larger, the saturation of the image data is further increased. By applying the calculated plant area size to the graph of FIG. 12, it is determined how much the saturation is increased.

図12に示すように、植物領域サイズが大きくなる程、彩度の上昇量が直線状に増すように、植物領域サイズと彩度の上昇量との関係が定義されていることが好ましいが、図12に限定されずともよい。   As shown in FIG. 12, it is preferable that the relationship between the plant area size and the increase amount of saturation be defined such that the increase amount of saturation increases linearly as the plant area size increases. It is not necessary to be limited to FIG.

なお、図10では、露出量を調整するか否かの判断で閾値として用いる“第1所定サイズ”は、に彩度を上昇させるか否かの判断においても共通して利用される場合を例示している(ステップS102)。しかし。露出量を調整するか否かの判断で用いる閾値“第1所定サイズ”とは別に、彩度を上昇させるか否かの判断で用いる閾値“第2所定サイズ”が設定されていてもよい。   In FIG. 10, the “first predetermined size” used as a threshold in the determination of whether to adjust the exposure amount is also used in common in the determination of whether to increase the saturation. (Step S102). However. In addition to the threshold "first predetermined size" used in the determination of whether to adjust the exposure amount, a threshold "second predetermined size" used in the determination of whether to increase the saturation may be set.

また、図10では図示していないが、図7の自然シーンの可能性判断において、画像データからは人物や花などの主要被写体が認識されず、緑色成分の植物のみが認識された場合、自然画像は風景画である可能性が高い。この場合、ステップS104において、信号処理回路(26)(具体的にはシャープネス調整回路(26b))は、更に自然画像における植物の緑色成分のシャープネスが上昇するように、シャープネス調整を更に施してもよい。   Although not shown in FIG. 10, in the possibility judgment of the natural scene in FIG. 7, when the main subject such as a person or a flower is not recognized from the image data and only the plant of the green component is recognized The image is likely to be a landscape painting. In this case, in step S104, the signal processing circuit (26) (specifically, the sharpness adjustment circuit (26b)) further performs the sharpness adjustment so that the sharpness of the green component of the plant in the natural image is further increased. Good.

ステップS102において、植物領域サイズが第1所定サイズを下回る場合(ステップS102のNo)、CPU(32)は、画像データの露出量の調整処理を行わないと決定する(ステップS105)。この場合、シャッタボタン(40)の全押し時、初期設定された露光時間及び絞り量による撮影処理が行われる。   In step S102, when the plant area size is smaller than the first predetermined size (No in step S102), the CPU (32) determines that the adjustment processing of the exposure amount of the image data is not performed (step S105). In this case, when the shutter button (40) is full-pressed, photographing processing is performed with the exposure time and the aperture amount set initially.

また、主な被写体が人物及び植物を含んでおり、画像データ中では植物領域と人物領域との双方が大部分を占める場合(ステップS101のNo,ステップS106のYes)、CPU(32)は、特定領域サイズにおける人物領域サイズを第3所定サイズと比較する(ステップS107)。   Further, when the main subject includes a person and a plant, and both the plant area and the person area occupy most of the image data (No in step S101, Yes in step S106), the CPU (32) The person area size in the specific area size is compared with the third predetermined size (step S107).

人物領域サイズが第3所定サイズ以上の場合(ステップS107のYes)、CPU(32)は、画像データの露出量の調整処理を行わないと決定する(ステップS108)。被写体のうち、植物よりも領域が大きい人物に対する色合いを重視するためである。この場合、シャッタボタン(40)の全押し時、初期設定された露光時間及び絞り量による撮影処理が行われる。   When the person area size is equal to or larger than the third predetermined size (Yes in step S107), the CPU (32) determines that the adjustment process of the exposure amount of the image data is not performed (step S108). This is in order to emphasize the color tone for a person whose area is larger than that of a plant among subjects. In this case, when the shutter button (40) is full-pressed, photographing processing is performed with the exposure time and the aperture amount set initially.

人物領域サイズが第3所定サイズを下回る場合(ステップS107のNo)、CPU(32)は、ステップS103と同様、画像データの露出量の調整処理を行うと決定し、且つ、画像データの露出量を低下させる処理を行う(ステップS109)。被写体のうち、人物よりも領域が大きい植物に対する色合いを重視するためである。当該処理では、人物領域サイズの大小に応じて、露出量を低下させる度合が変化する。   When the person area size is smaller than the third predetermined size (No in step S107), the CPU (32) determines to perform the adjustment processing of the exposure amount of the image data as in step S103, and the exposure amount of the image data Is performed (step S109). This is in order to emphasize the color tone to a plant whose area is larger than that of a person among subjects. In the processing, the degree to which the exposure amount is reduced changes according to the size of the person area.

図13は、横軸を人物領域サイズ、縦軸を露出量を低下させる度合(露出の低下量)とし、ステップS109に係る処理での、人物領域サイズと露出の低下量との関係をグラフにて表している。図13に示すように、本実施形態では、人物領域サイズが小さい程、露出を低下させる度合(露出の低下量)は高くなる。即ち、人物領域サイズが小さい程、画像データの露出量はより低くなる。算出した人物領域サイズを図13のグラフに当てはめることで、露出量をどの程度下げるかが決定される。   In FIG. 13, the abscissa represents the person area size, and the ordinate represents the degree to which the exposure amount is reduced (exposure reduction amount), and the relationship between the person area size and the exposure reduction amount in the process according to step S109 is graphed. Is represented. As shown in FIG. 13, in the present embodiment, the smaller the person area size is, the higher the degree to which the exposure is reduced (the reduction amount of the exposure). That is, the smaller the person area size, the lower the exposure amount of the image data. By applying the calculated person area size to the graph of FIG. 13, it is determined how much the exposure amount is reduced.

図13に示すように、人物領域サイズが小さくなる程、露出の低下量が直線状に増すように、人物領域サイズと露出の低下量との関係が定義されていることが好ましいが、図13に限定されずともよい。   As shown in FIG. 13, it is preferable that the relationship between the person area size and the exposure decrease amount is defined such that the decrease amount of exposure increases linearly as the person area size decreases. It is not necessary to be limited to

ステップS109にて決定した露出量に従って、CPU(32)は、最適な絞り量及び最適な露光時間(シャッタ速度)をドライバ(18b)によって絞りユニット(14)に設定する。これにより、シャッタボタン(40)の全押し時、設定された露光時間及び絞り量による撮影処理が行われる。   In accordance with the exposure amount determined in step S109, the CPU (32) sets the optimum aperture amount and the optimum exposure time (shutter speed) in the aperture unit (14) by the driver (18b). Thus, when the shutter button (40) is full-pressed, the photographing process is performed with the set exposure time and aperture amount.

ステップS106において、画像データが、植物領域と人物領域とで大部分を占めるようなものでない場合(ステップS106のNo)、CPU(32)は、画像データの露出量の調整処理を行わないと決定する(ステップS110)。この場合、シャッタボタン(40)の全押し時、初期設定された露光時間及び絞り量による撮影処理が行われる。   In step S106, when the image data does not occupy most of the plant area and the person area (No in step S106), the CPU (32) decides not to adjust the exposure amount of the image data. (Step S110). In this case, when the shutter button (40) is full-pressed, photographing processing is performed with the exposure time and the aperture amount set initially.

自然画像における植物に花の部位が含まれる場合、即ち、図7において被写体が植物の中でも“花”だと認識された単位画像が存在する場合(ステップS111のYes)、信号処理回路(26)(具体的にはLCH調整回路(26e))は、当該花の色成分の彩度が上昇するように、自然画像の彩度を補正する処理を行う(ステップS112)。これにより、花の色成分が鮮やかな画像が得られる。   When the plant in the natural image includes a flower part, that is, when there is a unit image in which the subject is recognized as "flower" among the plants in Fig. 7 (Yes in step S111), the signal processing circuit (26) (Specifically, the LCH adjustment circuit (26e)) performs a process of correcting the saturation of the natural image so that the saturation of the color component of the flower increases (step S112). As a result, an image in which the color component of the flower is vivid is obtained.

<効果>
本実施形態の画像処理装置(100)は、自然画像の画像データを複数の単位画像(br1,br2,・・・)に細分化し、各単位画像(br1,br2,・・・)についての特徴量を求める。画像処理装置(100)は、各単位画像(br1,br2,・・・)の特徴量から被写体が植物か人物かを判別し、植物領域または人物領域のサイズを算出する。このような処理により、画像処理装置(100)は、自然シーンであるか否かを比較的正確に認識することができる。そして、画像処理装置(100)は、植物領域サイズまたは人物領域サイズである特定領域サイズに応じて、画像データの露出量の調整処理を行うべきか否かと、露出量の調整処理を行う場合は露出量を制御する。即ち、本実施形態では、比較的正確に認識された自然画像毎に、全体的な明るさを上下させる処理が行われる。従って、緑色等の特定の色の鮮やかさが強調されるようなことはなく、ユーザが違和感を覚えにくい、実際の色合いが再現された画像が得られる。
<Effect>
The image processing apparatus (100) of the present embodiment divides image data of a natural image into a plurality of unit images (br1, br2, ...), and features of each unit image (br1, br2, ...) Determine the quantity. The image processing apparatus (100) determines whether the subject is a plant or a person from the feature amount of each unit image (br1, br2, ...), and calculates the size of the plant area or the person area. By such processing, the image processing apparatus (100) can relatively accurately recognize whether or not it is a natural scene. Then, the image processing apparatus (100) determines whether the exposure amount adjustment processing of the image data should be performed according to the specific region size which is the plant region size or the person region size, and when performing the exposure amount adjustment processing Control the amount of exposure. That is, in the present embodiment, the process of raising and lowering the overall brightness is performed for each of the natural images recognized relatively accurately. Therefore, the vividness of a specific color such as green is not emphasized, and an image in which an actual color tone is reproduced, which makes it difficult for the user to feel discomfort can be obtained.

多くの場合、植物は緑色である。ここでは、植物領域サイズが比較的多い場合、画像データの露出量を低下させることで、植物の緑色の色合いを残しつつも全体的な明るさを抑えた画像が得られる。これにより、植物の緑色が落ち着いている自然な色合いの画像が得られる。   In many cases, the plants are green. Here, when the plant area size is relatively large, by reducing the exposure amount of the image data, it is possible to obtain an image in which the overall brightness is suppressed while leaving the green color of the plant. As a result, an image of natural color in which the green color of the plant is settled can be obtained.

上記露出量を低下させる度合は、植物領域サイズの大小に応じて変化する。具体的には、植物領域サイズが大きい程画像データの露出量が低くなるように、植物領域サイズの大小に応じて露出量を低下させる度合が変化する。これにより、実際の被写体に即した細やかな露出制御がなされるため、植物の緑色が落ち着いている自然な色合いの画像が得られる。   The degree to which the amount of exposure is reduced varies depending on the size of the plant area. Specifically, the degree of decreasing the amount of exposure changes in accordance with the size of the plant area so that the amount of exposure of the image data decreases as the plant area size increases. As a result, fine exposure control is performed according to the actual subject, so that an image of natural color in which the green color of the plant is settled can be obtained.

一方、植物領域サイズが第1所定サイズを下回る場合、画像データの露出量の調整処理は行われない。露出を行ってしまうと、全体的に暗い画像となってしまい、実際の植物の緑色の色合いが損なわれるためである。   On the other hand, when the plant area size is smaller than the first predetermined size, the adjustment processing of the image data exposure amount is not performed. If exposure is performed, the entire image will be dark and the actual green color of the plant will be lost.

また、本実施形態では、植物領域サイズが比較的大きい場合、露出制御のみならず、彩度を上げる補正が更に行われる。これにより、露出を低下させる制御によって全体的には明るさが抑えられつつも、彩度を上昇させる制御により緑色が暗くなりすぎないような、自然な色合いの画像が得られる。   Further, in the present embodiment, when the plant area size is relatively large, not only the exposure control but also the correction for increasing the saturation is further performed. As a result, while the brightness is generally suppressed by the control for reducing the exposure, an image of a natural color tone in which the green is not too dark due to the control for increasing the saturation is obtained.

植物の緑色成分の彩度を上昇させる度合は、植物領域サイズの大小に応じて変化する。これにより、画像に係る植物の緑色が強調されすぎることを抑制することができる。   The degree to which the saturation of the green component of the plant is increased varies depending on the size of the plant area. Thereby, it can suppress that the green color of the plant which concerns on an image is emphasized too much.

また、本実施形態では、自然画像内に植物と人物とが含まれている状態において、人物領域サイズが比較的大きい場合、一画像内の植物よりも人物を重視して、露出量の調整処理は実行されない。仮に露出量を下げてしまうと、画像は全体的に暗くなり、かえって人物が見にくくなる等の影響が画像に及ぶ可能性があるためである。   Further, in the present embodiment, when the size of the person area is relatively large in a state in which the plant and the person are included in the natural image, the person is considered more important than the plant in one image, and the exposure adjustment processing is performed. Will not run. If the amount of exposure is lowered, the entire image becomes dark, and it is likely that the image may be affected by the fact that the person is difficult to see.

一方、本実施形態では、人物領域サイズが比較的小さい場合、一画像内の人物よりも植物を重視して、露出量を下げる制御が行われる。これにより、植物の緑色の色合いを残しつつも全体的な明るさが抑えられ、植物の緑色が落ち着いた自然な色合いの画像が得られる。   On the other hand, in the present embodiment, when the person area size is relatively small, control is performed to lower the exposure amount by placing more importance on plants than the person in one image. As a result, the overall brightness is suppressed while leaving the green color of the plant, and a natural color image in which the green color of the plant is calm is obtained.

上記露出量を低下させる度合は、人物領域サイズの大小に応じて変化する。特に、人物領域サイズが小さい程画像データの露出量が低くなるように、人物領域サイズの大小に応じて露出量を低下させる度合が変化する。つまり、ここでは、一画面内の人物よりも植物を重視して、実際の被写体における植物の領域サイズに即した細やかな露出制御がなされるため、植物の緑色が落ち着いている自然な色合いの画像が得られる。   The degree to which the amount of exposure is reduced varies depending on the size of the person area size. In particular, the degree of decreasing the exposure amount changes according to the size of the person area so that the exposure amount of the image data decreases as the person area size decreases. That is, in this case, the plant is emphasized rather than the person in one screen, and since the fine exposure control according to the area size of the plant in the actual subject is performed, the image of natural color in which the green color of the plant is settled Is obtained.

また、植物には、緑色の葉の他に、色鮮やかな花が含まれることも多い。本実施形態では、植物の中に花が含まれる場合、花の色成分の彩度を上げる補正が行われる。これにより、画像に含まれる花の部分の色は鮮やかとなり、実際の色合いに即した画像が得られる。   In addition to green leaves, plants often contain colorful flowers. In the present embodiment, when the plant contains a flower, correction is performed to increase the saturation of the color component of the flower. As a result, the color of the flower part included in the image becomes bright, and an image conforming to the actual color tone is obtained.

≪第2実施形態≫
本実施形態では、上記第1実施形態で説明した「自然シーン判定動作(図7)」及び「自然シーンにおける露出制御動作ならびに色合い調整動作(図10)」において、更に図14示す動作が追加された場合について説明する。
Second Embodiment
In the present embodiment, the operation shown in FIG. 14 is further added to the “natural scene determination operation (FIG. 7)” and the “exposure control operation and color tone adjustment operation in a natural scene (FIG. 10)” described in the first embodiment. Case will be described.

なお、撮像装置(10)及び画像処理装置(100)の各構成、ならびに図6の動作の流れは、上記第1実施形態と同様である。   The configuration of each of the imaging device (10) and the image processing device (100) and the flow of the operation in FIG. 6 are the same as those in the first embodiment.

先ず、画像処理装置(100)は、特定領域の明度の評価値等に基づいて被写体の被写体輝度を求めると共に、AF結果である被写体の被写体距離を求める。これらの算出方法には、従来技術の適用が可能であって、算出は、CPU(32)及び信号処理回路(26)のどちらが行っても良い。例えば、被写体輝度の算出には、積算値r(i,j),g(i,j),b(i,j)y(i,j)等が利用され、被写体距離の算出には、図3に係る256個のブロック毎の、画像信号に係るR成分、G成分及びB成分の高周波数成分の積分値等が利用される。   First, the image processing apparatus (100) obtains subject brightness of a subject based on an evaluation value of lightness of a specific area or the like, and also obtains a subject distance of a subject as an AF result. Conventional techniques can be applied to these calculation methods, and the calculation may be performed by either the CPU (32) or the signal processing circuit (26). For example, integrated values r (i, j), g (i, j), b (i, j) y (i, j) etc. are used to calculate subject brightness, and to calculate subject distance, The integral value of the high frequency components of the R component, the G component, and the B component of the image signal for each of the 256 blocks of 3 is used.

CPU(32)は、上記図7に係る自然シーン判定動作を、ステップS71からステップS77まで行う。   The CPU (32) performs the natural scene determination operation according to FIG. 7 from step S71 to step S77.

次いで、図14に示すように、CPU(32)は、算出した被写体輝度を、予め設定されている所定輝度と比較し(ステップS201)、算出した被写体距離を、予め設定されている所定距離と比較する(ステップS202)。   Next, as shown in FIG. 14, the CPU (32) compares the calculated subject brightness with a predetermined brightness set in advance (step S201), and calculates the calculated subject distance with the preset predetermined distance. A comparison is made (step S202).

被写体輝度が所定輝度以上であって(ステップS201のYes)、且つ、被写体距離が所定距離以上である場合(ステップS202のYes)、図10の一連の動作、即ち“自然シーンにおける露出制御動作ならびに色合い調整動作”が、ステップS101〜S112まで行われる。   When the subject brightness is equal to or higher than the predetermined brightness (Yes in step S201) and the subject distance is equal to or longer than the predetermined distance (Yes in step S202), a series of operations in FIG. "Color adjustment operation" is performed from step S101 to step S112.

次いで、被写体輝度が所定輝度以上、且つ、被写体距離が所定距離以上であることから、CPU(32)は、画像データが自然シーンで撮像されたもの、特に風景シーンで撮像されたものと判定する。この場合、信号処理回路(26)(具体的には、シャープネス調整回路(26b))は、自然画像の鮮鋭度が上昇するように、画像データに対しシャープネス調整処理を施す(ステップS203)。   Next, the CPU (32) determines that the image data is captured as a natural scene, particularly as a landscape scene, since the subject brightness is a predetermined brightness or more and the subject distance is a predetermined distance or more. . In this case, the signal processing circuit (26) (specifically, the sharpness adjustment circuit (26b)) performs sharpness adjustment processing on the image data so as to increase the sharpness of the natural image (step S203).

即ち、ここでは、風景シーンである場合、自然画像に含まれる被写体の輪郭がより明確になるようなシャープネス調整処理が行われる。これにより、自然画像の中に何が写し出されているのかが明確に把握し易い画像が得られる。   That is, here, in the case of a landscape scene, sharpness adjustment processing is performed so as to make the contour of the subject included in the natural image clearer. As a result, it is possible to obtain an image that is easy to clearly grasp what is shown in the natural image.

≪第3実施形態≫
本実施形態では、上記第1実施形態で説明した「自然シーンにおける露出制御動作ならびに色合い調整動作(図10)」に、図15に係る動作が追加された場合について説明する。
Third Embodiment
In this embodiment, the case where the operation according to FIG. 15 is added to the “exposure control operation and color tone adjustment operation in a natural scene (FIG. 10)” described in the first embodiment will be described.

なお、撮像装置(10)及び画像処理装置(100)の各構成は、上記第1実施形態と同様である。図6及び図7の動作も、上記第1実施形態と同様である。   The configuration of each of the imaging device (10) and the image processing device (100) is the same as that in the first embodiment. The operations in FIGS. 6 and 7 are also the same as in the first embodiment.

本実施形態では、主要被写体が、植物と空であることを前提とし、CPU(32)は、画像データにおいて空が写っている領域の大きさ(以下、空領領域サイズ)を更に算出するものとする。画像データから、空が写っている領域を検出する方法には、どのような方法が用いられても良い。例えば、単位画像(br1,br2,・・・)のエッジ成分が存在しないことと色成分が青色であるとの特徴量と、そのような特徴量を有する単位画像が自然画像における上部に位置することとに基づいて、当該単位画像(br1,br2・・・)が“空”であるとCPU(32)が認識する方法を採用することができる。   In this embodiment, assuming that the main subject is a plant and the sky, the CPU (32) further calculates the size of the region where the sky is reflected in the image data (hereinafter referred to as empty region size). I assume. Any method may be used as a method of detecting an area in which the sky is captured from image data. For example, the unit image having the feature value that the edge component of the unit image (br1, br2,...) Does not exist, the color component is blue, and the unit image having such a feature is located at the top of the natural image It is possible to adopt a method in which the CPU (32) recognizes that the unit image (br1, br2...) Is "empty" based on the above.

先ず、図10のステップS106においてNoであって、画像データ中では植物領域と空領域とが大部分を占める場合(ステップS301のYes)、CPU(32)は、算出した特定領域サイズにおける植物領域サイズと第1所定サイズとを比較する(ステップS302)。植物領域サイズが第1所定サイズ以上である場合(ステップS302のYes)、CPU(32)は、画像データの露出量の調整処理を行うと決定し、且つ、画像データの露出量を低下させる処理を行う(ステップS303)。当該露出量を低下させる処理の詳細については、図10のステップS103と同様である。   First, when it is No in step S106 of FIG. 10 and the plant area and the sky area occupy most in the image data (Yes in step S301), the CPU (32) calculates the plant area in the calculated specific area size. The size is compared with the first predetermined size (step S302). When the plant area size is equal to or larger than the first predetermined size (Yes in step S302), the CPU (32) determines to perform the adjustment process of the exposure amount of the image data, and reduces the exposure amount of the image data (Step S303). The details of the process for reducing the exposure amount are the same as step S103 in FIG.

更に、空領域サイズが第4所定サイズ以上である場合(ステップS304のYes)、自然画像が、例えば山や森等を写した屋外の自然の風景シーンである可能性が高い。そこで、CPU(32)は、焦点を所定距離の固定焦点に設定すると共に絞り値を所定の絞り値に固定するパンフォーカス制御、ないしは、ドライバ(18a)によりフォーカスレンズ(12)を移動させて焦点を遠方に合わせる遠方優先のオートフォーカス制御を行う(ステップ305)。更に、信号処理回路(26)(具体的にはシャープネス調整回路(26b))は、自然画像の鮮鋭度が上昇するように、画像データに対しシャープネス調整処理を施す(ステップS306)。即ち、自然画像に含まれる被写体の輪郭がより明確になるようなシャープネス調整処理が行われる。   Furthermore, when the sky area size is equal to or larger than the fourth predetermined size (Yes in step S304), the natural image is highly likely to be an outdoor natural scenery scene in which, for example, a mountain or a forest is photographed. Therefore, the CPU (32) sets the focal point to a fixed focus at a predetermined distance and fixes the aperture value at a predetermined aperture value or pan focus control, or moves the focus lens (12) by the driver (18a) The distance-focused autofocus control is performed to bring the camera into the distance (step 305). Further, the signal processing circuit (26) (specifically, the sharpness adjustment circuit (26b)) performs sharpness adjustment processing on the image data so as to increase the sharpness of the natural image (step S306). That is, sharpness adjustment processing is performed to make the contour of the subject included in the natural image clearer.

これにより、自然画像の中に何が写し出されているのかが明確に把握し易い画像が得られる。   As a result, it is possible to obtain an image that is easy to clearly grasp what is shown in the natural image.

なお、図15において、主な被写体が植物及び空の組合せでない場合(ステップS301のNo)、図10のステップS101以降の動作が行われる。   In addition, in FIG. 15, when the main subject is not a combination of a plant and the sky (No in step S301), the operations after step S101 in FIG. 10 are performed.

図15において、植物領域サイズが第1所定サイズを下回る場合(ステップS302のNo)、図10のステップS105以降の動作が行われる。   In FIG. 15, when the plant area size is smaller than the first predetermined size (No in step S302), the operations in and after step S105 in FIG. 10 are performed.

図15において、空領域サイズが第4所定サイズを下回る場合(ステップS304のNo)、及びステップ306の後、図10のステップS111以降の動作が行われる。   In FIG. 15, when the empty area size is smaller than the fourth predetermined size (No in step S304), and after step S306, operations in step S111 and subsequent steps in FIG. 10 are performed.

≪その他の実施形態≫
図7の自然シーンの可能性判断において、CPU(32)は、各単位画像(br1,br2,・・・)の特徴量から、緑色成分の中に多彩な色成分が分布していると判明した場合、分布している多彩な色が花であると認識することができる。この場合、信号処理回路(26)(具体的にはLCH調整回路(26e)等)は、花の色を鮮やかにするために、花の領域の部分については彩度を上げる補正を施しても良い。
«Other Embodiments»
From the feature quantities of each unit image (br1, br2,...), The CPU (32) finds out that various color components are distributed in the green component in the possibility judgment of the natural scene in FIG. If so, it can be recognized that the colorful colors distributed are flowers. In this case, the signal processing circuit (26) (specifically, the LCH adjustment circuit (26e) etc.) performs correction to increase the saturation of the flower area in order to make the flower color vivid. good.

上記第3実施形態では、フォーカス関連の制御(ステップS305)及びシャープネスを上昇させる補正(ステップS306)に加えて、更に信号処理回路(26)によって、彩度を上げる補正が自然画像に対し施されても良い。   In the third embodiment, in addition to the focus related control (step S305) and the correction to increase the sharpness (step S306), the signal processing circuit (26) further performs a correction to the natural image to increase the saturation. It is good.

被写体の種類を認識では、辞書データ(DB)を利用しない方法が採用あれてもよい。   In recognition of the type of subject, a method not using dictionary data (DB) may be adopted.

図10のステップS103では、植物領域サイズの大小に応じて露出を低下させる度合が変化すると説明したが、これは必須ではない。同様に、図11では、植物領域サイズが大きい程直線的に露出量が低くなる場合を表しているが、これに限定されずとも良い。   Although it has been described in step S103 in FIG. 10 that the degree to which the exposure is reduced changes depending on the size of the plant area, this is not essential. Similarly, FIG. 11 shows the case where the exposure amount decreases linearly as the plant area size increases, but the invention is not limited to this.

図10のステップS104では、彩度を上昇させる補正が施されると説明したが、これは必須ではない。同様に、図12では、植物領域サイズに応じて植物の緑色成分の彩度が直線的に上昇する場合を表しているが、これに限定されずとも良い。   Although step S104 in FIG. 10 is described as performing correction to increase the saturation, this is not essential. Similarly, FIG. 12 shows the case where the saturation of the green component of the plant linearly increases according to the size of the plant area, but the invention is not limited to this.

図10のステップS109では、人物領域サイズの大小に応じて露出を低下させる度合が変化すると説明したが、これは必須ではない。同様に、図13では、人物領域サイズが大きい程直線的に露出量が低くなる場合を表しているが、これに限定されずとも良い。   Although it has been described in step S109 in FIG. 10 that the degree to which the exposure is reduced changes according to the size of the person area, this is not essential. Similarly, FIG. 13 shows the case where the exposure amount decreases linearly as the person area size increases, but the invention is not limited to this.

図10のステップS111及びS112では、花の部位の彩度を上昇させる補正を施すと説明したが、これは必須ではない。   Although step S111 and step S112 in FIG. 10 have been described as performing correction to increase the saturation of the flower part, this is not essential.

本発明は、撮影シーンが自然シーンであることを適切に判定すると共に、自然シーン下で撮像される画像に対し違和感をさほど覚えることのない実際の自然な色合いを再現することのできる画像処理装置として有用である。   The present invention is an image processing apparatus capable of appropriately determining that a photographed scene is a natural scene, and reproducing an actual natural color which does not cause much discomfort to an image captured under the natural scene. Useful as.

10 撮像装置
11 撮像部
26 信号処理回路(第1色属性調整部、第2色属性調整部、第1鮮鋭度調整部、第2鮮鋭度調整部、)
32 CPU(特徴量算出部、領域量算出部、決定部、露出制御部、シーン判定部、オートフォーカス制御部)
100 画像処理装置
10 imaging device 11 imaging unit 26 signal processing circuit (first color attribute adjustment unit, second color attribute adjustment unit, first sharpness adjustment unit, second sharpness adjustment unit)
32 CPU (feature amount calculation unit, area amount calculation unit, determination unit, exposure control unit, scene determination unit, autofocus control unit)
100 image processing device

Claims (14)

植物のみまたは植物及び人物を被写体として含む自然画像の画像データが複数の単位画像に区分けられた際の、該単位画像それぞれの特徴量を求める特徴量算出部と、
前記単位画像それぞれの特徴量に基づいて、前記画像データにおいて植物が写っている植物領域サイズまたは人物が写っている人物領域サイズを特定領域サイズとして算出する領域量算出部と、
前記特定領域サイズに応じて、前記画像データの露出量の調整処理を行うか否かを決定する決定部と、
前記画像データの前記露出量の調整処理を行うと決定された場合、前記特定領域サイズに応じて前記画像データの前記露出量を調整する露出制御部と
を備えることを特徴とする画像処理装置。
A feature amount calculation unit for obtaining feature amounts of unit images when image data of a natural image including only plants or plants and persons as subjects is divided into a plurality of unit images;
An area amount calculation unit which calculates, as a specific area size, a plant area size where a plant appears in the image data or a person area size where a person appears in the image data based on the feature amounts of the unit images;
A determination unit that determines whether to perform adjustment processing of the exposure amount of the image data according to the specific area size;
An exposure control unit configured to adjust the exposure amount of the image data according to the specific area size when it is determined that the adjustment processing of the exposure amount of the image data is to be performed.
請求項1において、
前記特定領域サイズのうちの前記植物領域サイズが第1所定サイズ以上の場合、前記決定部は、前記画像データの前記露出量の調整処理を行うと決定し、前記露出制御部は、前記画像データの前記露出量を低下させる
ことを特徴とする画像処理装置。
In claim 1,
When the plant area size of the specific area size is equal to or larger than a first predetermined size, the determination unit determines to perform the adjustment process of the exposure amount of the image data, and the exposure control unit determines the image data And reducing the exposure amount of the image processing apparatus.
請求項2において、
前記露出制御部は、前記植物領域サイズの大小に応じて前記露出量を低下させる度合を変化させる
ことを特徴とする画像処理装置。
In claim 2,
The image processing apparatus, wherein the exposure control unit changes a degree of reducing the exposure amount in accordance with the size of the plant area.
請求項3において、
前記露出制御部は、前記植物領域サイズが大きい程前記画像データの前記露出量が低くなるように、前記植物領域サイズの大小に応じて前記露出量を低下させる度合を変化させる
ことを特徴とする画像処理装置。
In claim 3,
The exposure control unit may change the degree to which the exposure amount is reduced according to the size of the plant area so that the exposure amount of the image data decreases as the plant area size increases. Image processing device.
請求項2から請求項4のいずれか1項において、
前記植物領域サイズが前記第1所定サイズ未満の場合、前記決定部は、前記画像データの前記露出量の調整処理を行わないと決定する
ことを特徴とする画像処理装置。
In any one of claims 2 to 4,
The image processing apparatus, wherein the determination unit determines not to perform the adjustment process of the exposure amount of the image data when the plant area size is smaller than the first predetermined size.
請求項2から請求項4のいずれか1項において、
前記特定領域サイズのうちの前記植物領域サイズが第2所定サイズ以上の場合、前記自然画像における前記植物の緑色成分の彩度が上昇するように、前記自然画像の彩度を補正する第1色属性調整部、
を更に備える
ことを特徴とする画像処理装置。
In any one of claims 2 to 4,
The first color for correcting the saturation of the natural image so that the saturation of the green component of the plant in the natural image is increased when the plant area size of the specific area size is equal to or larger than the second predetermined size Attribute Adjustment Department,
An image processing apparatus further comprising:
請求項6において、
前記第1色属性調整部は、前記植物領域サイズの大小に応じて前記植物の緑色成分の彩度を上昇させる度合を変化させる
ことを特徴とする画像処理装置。
In claim 6,
The image processing apparatus according to claim 1, wherein the first color attribute adjustment unit changes the degree of increasing the saturation of the green component of the plant according to the size of the plant area.
請求項1において、
前記特定領域サイズのうちの前記人物領域サイズが第3所定サイズ以上の場合、前記決定部は、前記画像データの前記露出量の調整処理を行わないと決定する
ことを特徴とする画像処理装置。
In claim 1,
The image processing apparatus, wherein the determination unit determines not to perform the adjustment process of the exposure amount of the image data when the person area size of the specific area size is equal to or larger than a third predetermined size.
請求項8において、
前記特定領域サイズのうちの前記人物領域サイズが前記第3所定サイズ未満の場合、前記決定部は、前記画像データの前記露出量の調整処理を行うと決定し、前記露出制御部は、前記画像データの前記露出量を低下させる
ことを特徴とする画像処理装置。
In claim 8,
When the person area size of the specific area size is smaller than the third predetermined size, the determination unit determines to perform the adjustment process of the exposure amount of the image data, and the exposure control unit An image processing apparatus characterized by reducing the amount of exposure of data.
請求項9において、
前記露出制御部は、前記人物領域サイズの大小に応じて前記露出量を低下させる度合を変化させる
ことを特徴とする画像処理装置。
In claim 9,
The image processing apparatus, wherein the exposure control unit changes the degree to which the exposure amount is reduced according to the size of the person area.
請求項10において、
前記露出制御部は、前記人物領域サイズが小さい程前記画像データの前記露出量が低くなるように、前記人物領域サイズの大小に応じて前記露出量を低下させる度合を変化させる
ことを特徴とする画像処理装置。
In claim 10,
The exposure control unit may change the degree to which the exposure amount is reduced according to the size of the person area so that the exposure amount of the image data decreases as the person area size decreases. Image processing device.
請求項2から請求項11のいずれか1項において、
前記自然画像における前記植物に花の部位が含まれる場合、該花の色成分の彩度が上昇するように、前記自然画像の彩度を補正する第2色属性調整部、
を更に備える
ことを特徴とする画像処理装置。
In any one of claims 2 to 11,
A second color attribute adjustment unit that corrects the saturation of the natural image so that the saturation of the color component of the flower increases when the plant in the natural image includes a portion of the flower;
An image processing apparatus further comprising:
請求項1から請求項12のいずれか1項において、
前記被写体の輝度が所定輝度以上、且つ、前記被写体の被写体距離が所定距離以上である場合、前記画像データが風景シーンであると判定するシーン判定部と、
前記シーン判定部が前記風景シーンであると判定した場合、前記自然画像の鮮鋭度が上昇するように、前記画像データに対しシャープネス処理を施す第1鮮鋭度調整部と、
を更に備える
ことを特徴とする画像処理装置。
In any one of claims 1 to 12,
A scene determination unit that determines that the image data is a landscape scene when the brightness of the subject is equal to or greater than a predetermined brightness and the subject distance of the subject is equal to or greater than a predetermined distance;
A first sharpness adjustment unit that performs sharpness processing on the image data such that the sharpness of the natural image is increased when the scene determination unit determines that the scene is the landscape scene;
An image processing apparatus further comprising:
請求項2から請求項4のいずれか1項において、
前記自然画像には、更に空が含まれ、
前記領域量算出部は、前記画像データにおいて空が映っている空領域サイズを更に算出し、
前記空領域サイズが第4所定サイズ以上の場合、パンフォーカス制御ないしは遠方優先のオートフォーカス制御を行うオートフォーカス制御部と、
前記空領域サイズが第4所定サイズ以上の場合、前記自然画像の鮮鋭度が上昇するように、前記画像データに対しシャープネス処理を施す第2鮮鋭度調整部と、
を更に備える
ことを特徴とする画像処理装置。
In any one of claims 2 to 4,
The natural image further includes the sky,
The area amount calculation unit further calculates an empty area size in which the sky appears in the image data;
An auto-focus control unit that performs pan-focus control or auto-focus control of distant priority when the empty area size is equal to or larger than a fourth predetermined size;
A second sharpness adjustment unit that performs sharpness processing on the image data such that the sharpness of the natural image is increased when the empty area size is equal to or greater than a fourth predetermined size;
An image processing apparatus further comprising:
JP2017228379A 2017-11-28 2017-11-28 Image processing equipment Active JP6992947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017228379A JP6992947B2 (en) 2017-11-28 2017-11-28 Image processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017228379A JP6992947B2 (en) 2017-11-28 2017-11-28 Image processing equipment

Publications (2)

Publication Number Publication Date
JP2019102847A true JP2019102847A (en) 2019-06-24
JP6992947B2 JP6992947B2 (en) 2022-01-13

Family

ID=66974201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017228379A Active JP6992947B2 (en) 2017-11-28 2017-11-28 Image processing equipment

Country Status (1)

Country Link
JP (1) JP6992947B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008193278A (en) * 2007-02-02 2008-08-21 Ricoh Co Ltd Image pickup device, image pickup method, and program for computer to perform the same method
JP2011100493A (en) * 2011-02-09 2011-05-19 Seiko Epson Corp Adjustment of output image for image data
WO2011067906A1 (en) * 2009-12-01 2011-06-09 パナソニック株式会社 Imaging device for recognition, and method for controlling same
JP2013078086A (en) * 2011-09-30 2013-04-25 Canon Inc Imaging apparatus, and control method of the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008193278A (en) * 2007-02-02 2008-08-21 Ricoh Co Ltd Image pickup device, image pickup method, and program for computer to perform the same method
WO2011067906A1 (en) * 2009-12-01 2011-06-09 パナソニック株式会社 Imaging device for recognition, and method for controlling same
JP2011100493A (en) * 2011-02-09 2011-05-19 Seiko Epson Corp Adjustment of output image for image data
JP2013078086A (en) * 2011-09-30 2013-04-25 Canon Inc Imaging apparatus, and control method of the same

Also Published As

Publication number Publication date
JP6992947B2 (en) 2022-01-13

Similar Documents

Publication Publication Date Title
US8830348B2 (en) Imaging device and imaging method
KR100799215B1 (en) Camera
JP5321163B2 (en) Imaging apparatus and imaging method
JP5460173B2 (en) Image processing method, image processing apparatus, image processing program, and imaging apparatus
US8325268B2 (en) Image processing apparatus and photographing apparatus
US9148561B2 (en) Image capturing apparatus, executable autoexposure bracketing and control method thereof
KR101427660B1 (en) Apparatus and method for blurring an image background in digital image processing device
JP5396231B2 (en) Imaging device
US20030007076A1 (en) Image-processing apparatus and image-quality control method
US20030174230A1 (en) Digital camera
JP5660341B2 (en) Imaging apparatus and imaging method
KR100942634B1 (en) Image correction device, image correction method, and computer readable medium
JP6521776B2 (en) Image processing apparatus, image processing method
JP2006352795A (en) Imaging apparatus and image processing method
KR101626004B1 (en) Method and apparatus for selective support of the RAW format in digital imaging processor
JP5458937B2 (en) IMAGING DEVICE, IMAGING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PROGRAM FOR EXECUTING THE IMAGING METHOD
JP4999871B2 (en) Imaging apparatus and control method thereof
JP5256947B2 (en) IMAGING DEVICE, IMAGING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR EXECUTING THE METHOD
JP2011239267A (en) Imaging apparatus and image processing apparatus
JP5146015B2 (en) Imaging apparatus and imaging method
JP2003244708A (en) Digital camera
JP5335964B2 (en) Imaging apparatus and control method thereof
JP2016046610A (en) Imaging apparatus
JP6992947B2 (en) Image processing equipment
JP2011130243A (en) Image processing apparatus, image processing method, and image input device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211025

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: 20211109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211129

R150 Certificate of patent or registration of utility model

Ref document number: 6992947

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150