JP2011259053A - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
JP2011259053A
JP2011259053A JP2010129629A JP2010129629A JP2011259053A JP 2011259053 A JP2011259053 A JP 2011259053A JP 2010129629 A JP2010129629 A JP 2010129629A JP 2010129629 A JP2010129629 A JP 2010129629A JP 2011259053 A JP2011259053 A JP 2011259053A
Authority
JP
Japan
Prior art keywords
image
face
aging
correction
age
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010129629A
Other languages
Japanese (ja)
Inventor
Junichi Shimoyama
順一 霜山
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.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging 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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2010129629A priority Critical patent/JP2011259053A/en
Publication of JP2011259053A publication Critical patent/JP2011259053A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide an image processing apparatus and an image processing method capable of performing image processing such as making a specific section of a body appear to be thin or swelling the section to the contrary.SOLUTION: The image processing apparatus captures a subject image (S1), detects the position of a face image in the subject image on the basis of the captured image (S9), specifies the area of the specific portion of the person of the detected face image as a correction area(13, S19), subjects the correction area to anti-aging image processing on the basis of the face age of the face image (S27), and displays an image obtained by subjecting the correction area to the anti-aging image processing (S29).

Description

本発明は、画像処理装置および画像処理方法に関し、詳しくは、被写体画像から顔を検出し、被写体の体型を修正可能な電子カメラ等における画像処理装置および画像処理方法に関する。   The present invention relates to an image processing device and an image processing method, and more particularly to an image processing device and an image processing method in an electronic camera or the like that can detect a face from a subject image and correct the body shape of the subject.

一般に、人は男女を問わず加齢とともに皮下脂肪蓄積によって胴体周りが太ってくる。特に、女性は加齢による体型変化を気にし、写真に映ることを嫌がる傾向があり、太った胴体周りを細く見せ、少しでも若返らせて見せることを望んでいる。   In general, regardless of gender, a person becomes fat around the trunk due to the accumulation of subcutaneous fat with age. In particular, women tend to be worried about changes in their body shape due to aging, and hate to be shown in photographs, and they want to show their fat torso thin and rejuvenate.

被写体画像の人物の見栄えを良くする技術としては、人物が含まれる写真などの画像の中心部分を縮小し、画像のアスペクト比が変更されるように画像の両端を拡大補正し、画像の中心に写された人物をスリムに見せて見栄え良くする技術がある。このようなスリム機能が、例えば、複合機プリンタ(MFP(Multifunction Peripheral)プリンタ)等の一部機種に搭載されている。   A technique for improving the appearance of a person in the subject image is to reduce the center of an image such as a photo that contains a person, enlarge and correct both ends of the image so that the aspect ratio of the image is changed, and center the image. There is a technology that makes a photographed person look slim and looks good. Such a slim function is mounted on some models such as a multifunction printer (MFP (Multifunction Peripheral) printer).

また、被写体画像の人物の見栄えを良くする技術としては、上述の技術以外にも、特許文献1に開示されているような電子カメラが提案されている。この電子カメラは、撮像素子で被写体像を撮影し、その出力に基づいて撮影画面内の顔領域を検出するとともに顔領域から被写体の顔の特徴量を抽出し、この特徴量に基づいて被写体の年齢、性別のいずれかに関する推論処理を実行する。そして、この推論処理の結果に基づいて、撮像素子で撮影された記録用画像に対して、露出補正、ソフトフォーカス補正、肌色の彩度を調整する美肌補正、人物を痩身に見せる補正の少なくとも1つを実行する。   Further, as a technique for improving the appearance of a person in a subject image, an electronic camera as disclosed in Patent Document 1 has been proposed in addition to the technique described above. The electronic camera captures a subject image with an image sensor, detects a face area in the shooting screen based on the output, extracts a feature amount of the subject's face from the face area, and based on the feature amount, Execute inference processing for either age or gender. Then, based on the result of this inference process, at least one of exposure correction, soft focus correction, beautiful skin correction for adjusting the skin color saturation, and correction for making a person look slim with respect to a recording image photographed by the image sensor. Run one.

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

特許文献1に開示の電子カメラは、人物を痩身に見せる補正を行うが、この補正は単に撮影状態を変更するのみであって、体全体を痩身に見せることしかできない。すなわち、加齢とともに皮下脂肪の蓄積等により太くなった体の胴体周り等、体の一部を細く見せることはできない。また、逆に、臀部等の特定部に膨らみをつけ、若々しく魅力的なボディラインに見せることもできない。   The electronic camera disclosed in Patent Document 1 performs correction to make a person look slim, but this correction only changes the shooting state and can only make the whole body look slim. That is, it is not possible to make a part of the body thin, such as around the trunk of the body that has become thick due to the accumulation of subcutaneous fat or the like with aging. On the other hand, a specific part such as the buttocks can be bulged to show a youthful and attractive body line.

本発明は、このような事情を鑑みてなされたものであり、加齢とともに皮下脂肪の蓄積等によって太くなった胴体周り等の体の一部を視覚的に細く見せる等、体の特定部位を細く見せ、また逆に膨らみをつける等の画像処理を行うことのできる画像処理装置および画像処理方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and a specific part of the body such as visually showing a part of the body around the trunk that has become thick due to accumulation of subcutaneous fat with age, etc. It is an object of the present invention to provide an image processing apparatus and an image processing method capable of performing image processing such as thinning and conversely swelling.

上記目的を達成するため第1の発明に係わる画像処理装置は、取り込んだ画像を表示する表示手段と、顔画像と年齢との関係を示す顔年齢情報を記憶する記憶手段と、上記表示手段に表示されている画像の顔の位置を検出する顔検出手段と、上記記憶手段に記憶されている顔年齢情報に基づいて、上記顔検出手段によって検出された顔画像の顔年齢を判定する判定手段と、上記顔検出手段によって検出された顔画像に対応する胴体部分の領域を、補正する領域として特定する補正領域特定手段と、上記判定された顔画像の顔年齢に基づいて、上記特定された胴体部分の領域に痩身処理を施すアンチエージング処理手段と、上記表示手段に表示されている画像を、上記アンチエージング処理手段によって上記痩身処理が施された画像に変更する表示変更手段と、を具備する。   In order to achieve the above object, an image processing apparatus according to a first invention comprises a display means for displaying a captured image, a storage means for storing face age information indicating a relationship between a face image and age, and a display means. Face detection means for detecting the position of the face of the displayed image, and determination means for determining the face age of the face image detected by the face detection means based on the face age information stored in the storage means A body region corresponding to the face image detected by the face detection unit, a correction region specifying unit for specifying the region as a region to be corrected, and the specified face image based on the face age of the determined face image. Anti-aging processing means for performing slimming processing on the region of the trunk and the image displayed on the display means are changed to an image on which the slimming processing has been performed by the anti-aging processing means. Comprising a Display Change means.

第2の発明に係わる画像処理装置は、上記第1の発明において、上記補正領域特定手段が特定する補正領域は、鼻の中心と、眼と眼の中心を通り、上記顔画像を略二分する中心軸をY軸とした際、上記顔画像を有する画像内において、当該Y軸と略垂直な方向の色変化の大きい部分を仮想直線として特定し、当該仮想直線上において色変化の大きい部分を両端部とした一辺と、上記仮想直線から上記顔画像へY軸方向に沿って所定距離だけ近づいた長さを有する一辺と、からなる長方形状の領域である。   An image processing apparatus according to a second invention is the image processing apparatus according to the first invention, wherein the correction area specified by the correction area specifying means passes through the center of the nose and the center of the eyes and substantially bisects the face image. When the central axis is the Y axis, a portion having a large color change in a direction substantially perpendicular to the Y axis is specified as a virtual straight line in the image having the face image, and a portion having a large color change on the virtual straight line is specified. It is a rectangular region composed of one side as both ends and one side having a length close to the face image from the virtual straight line along the Y-axis direction by a predetermined distance.

第3の発明に係わる画像処理装置は、上記第1の発明において、上記補正領域特定手段が特定する補正領域は、鼻の中心と、眼と眼の中心を通り、上記顔画像を略二分する中心軸をY軸とした際、上記顔画像を有する画像内において、上記Y軸方向に沿って上記顔画像の端部から顔画像のサイズの略3倍の位置で上記Y軸と略直交線を仮想直線として特定し、当該仮想直線上において色変化の大きい部分を両端部とした一辺と、上記仮想直線から上記顔画像へY軸方向に沿って所定距離だけ近づいた長さを有する一辺と、からなる長方形状の領域である。   According to a third aspect of the present invention, in the first aspect, the correction area specified by the correction area specifying means passes through the center of the nose and the center of the eyes, and substantially bisects the face image. When the central axis is the Y axis, in the image having the face image, a line substantially orthogonal to the Y axis at a position approximately three times the size of the face image from the end of the face image along the Y axis direction. As a virtual straight line, one side having both ends of a portion having a large color change on the virtual straight line, and a side having a length approaching the face image from the virtual straight line along the Y-axis direction by a predetermined distance; Are rectangular regions.

第4の発明に係わる画像処理装置は、上記第2又は第3の発明において、上記アンチエージング処理手段は、上記特定された長方形状の補正領域の中心位置を通り上記Y軸と垂直な方向をX軸とした場合に、中心位置と長方形形状の補正領域の角を結んだ直線が当該X軸となす角度をθ、中心位置と長方形状の補正領域の角とを結んだ直線の長さを1、元画像に修正画像を合わせるための画像調整用係数をM、痩身度を表わす係数をG、YがSINθのとき1になるように設定された係数をK、楕円の形状を決定するための係数をA、B、とした際に、
X’=(X/A+Y/B)*K*M*COSθ
K=(1−G)/SINθ*Y+G
Y’=Y
を満たすように補正する。
An image processing apparatus according to a fourth invention is the image processing apparatus according to the second or third invention, wherein the anti-aging processing means passes through a center position of the specified rectangular correction region and has a direction perpendicular to the Y axis. In the case of the X axis, the angle between the straight line connecting the center position and the corner of the rectangular correction area and the X axis is θ, and the length of the straight line connecting the center position and the corner of the rectangular correction area is 1. To determine the shape of an ellipse, M is an image adjustment coefficient for aligning the corrected image with the original image, G is a coefficient representing the slimming degree, K is a coefficient set to be 1 when Y is SINθ. When the coefficients of A and B are
X ′ = (X 2 / A 2 + Y 2 / B 2 ) * K * M * COSθ
K = (1-G) / SINθ * Y + G
Y '= Y
Correct to satisfy.

第5の発明に係わる画像処理装置は、上記第2又は第3の発明において、上記アンチエージング処理手段は、上記特定された長方形状の補正領域の中心位置を通り上記Y軸と垂直な方向をX軸とした場合に、中心位置と長方形形状の補正領域の角を結んだ直線が当該X軸となす角度をθ、中心位置と長方形状の補正領域の角とを結んだ直線の長さを1、元画像に修正画像を合わせるための画像調整用係数をM、痩身度を表わす係数をG、YがSINθのとき1になるように設定された係数をK、楕円の形状を決定するための係数をA、B、楕円の向きを表わす係数をS1(ここでS1=0、またはS1=1),S2(ここでS2=1またはS2=−1)とした際に、
X’=2*S1+(X/A+Y/B)*K*M*COSθ*S2
K=(1−G)/SINθ*Y+G
Y’=Y
を満たすように補正する。
An image processing apparatus according to a fifth invention is the image processing apparatus according to the second or third invention, wherein the anti-aging processing means passes through a center position of the specified rectangular correction region and has a direction perpendicular to the Y axis. In the case of the X axis, the angle between the straight line connecting the center position and the corner of the rectangular correction area and the X axis is θ, and the length of the straight line connecting the center position and the corner of the rectangular correction area is 1. To determine the shape of an ellipse, M is an image adjustment coefficient for aligning the corrected image with the original image, G is a coefficient representing the slimming degree, K is a coefficient set to be 1 when Y is SINθ. And S2 (where S1 = 1 or S1 = 1) and S2 (where S2 = 1 or S2 = −1), the coefficients representing the orientation of the ellipse are A and B, respectively.
X ′ = 2 * S1 + (X 2 / A 2 + Y 2 / B 2 ) * K * M * COSθ * S2
K = (1-G) / SINθ * Y + G
Y '= Y
Correct to satisfy.

第6の発明に係わる画像処理装置は、上記第1ないし第5の発明において、上記画像処理装置は、スルー画を表示可能なデジタルカメラであって、上記表示手段は撮像されたスルー画を表示し、上記顔検出手段は当該スルー画として撮像された人物の顔を検出する。   An image processing apparatus according to a sixth invention is the digital camera according to any of the first to fifth inventions, wherein the image processing apparatus is capable of displaying a through image, and the display means displays the captured through image. The face detection means detects the face of the person imaged as the through image.

第7の発明に係わる画像処理装置は、被写体像を画像データに変換する撮像手段と、上記画像データに基づいて、上記被写体像の中の顔画像の位置を検出する顔検出手段と、顔画像と年齢との関係を示す顔年齢情報を記憶する記憶手段と、上記記憶手段に記憶されている顔年齢情報に基づいて、上記顔検出手段によって検出された上記顔画像の顔年齢を判定する判定手段と、上記顔検出手段によって検出された顔画像の人物の特定部分の領域を、補正する領域として特定する補正領域特定手段と、上記判定された顔画像の顔年齢に基づいて、上記特定部分の領域にアンチエージング画像処理を施すアンチエージング処理手段と、上記アンチエージング処理手段によって上記アンチエージング画像処理が施された画像を表示する表示手段と、を具備する。   According to a seventh aspect of the present invention, there is provided an image processing apparatus for converting a subject image into image data, a face detection unit for detecting a position of a face image in the subject image based on the image data, and a face image. Determination means for determining the face age of the face image detected by the face detection means based on the face age information stored in the storage means; Means, a correction area specifying means for specifying a region of the specific portion of the person in the face image detected by the face detection means as a region to be corrected, and the specific portion based on the face age of the determined face image. Anti-aging processing means for performing anti-aging image processing on the area, and display means for displaying the image subjected to the anti-aging image processing by the anti-aging processing means. To Bei.

第8の発明に係わる画像処理装置は、被写体像の中の顔画像の位置を検出する顔検出手段と、顔画像と年齢との関係を示す顔年齢情報を記憶する記憶手段と、上記記憶手段に記憶されている顔年齢情報に基づいて、上記顔検出手段によって検出された上記顔画像の顔年齢を判定する判定手段と、上記顔検出手段によって検出された顔画像の人物の特定部分の領域を、補正する領域として特定する補正領域特定手段と、上記判定された顔画像の顔年齢に基づいて、上記特定部分の領域にアンチエージング画像処理を施すアンチエージング処理手段と、上記アンチエージング処理手段によって上記アンチエージング画像処理が施された画像を表示する表示手段と、を具備する。   According to an eighth aspect of the present invention, there is provided an image processing apparatus comprising: a face detection unit that detects a position of a face image in a subject image; a storage unit that stores face age information indicating a relationship between the face image and age; and the storage unit A determination unit for determining a face age of the face image detected by the face detection unit based on the face age information stored in the image, and a region of a specific portion of the person in the face image detected by the face detection unit Correction area specifying means for specifying the area as a correction area, anti-aging processing means for performing anti-aging image processing on the area of the specific portion based on the face age of the determined face image, and the anti-aging processing means Display means for displaying the image subjected to the anti-aging image processing.

第9の発明に係わる画像処理方法は、被写体像を画像データに変換するステップと、上記画像データに基づいて、上記被写体像の中の顔画像の位置を検出するステップと、上記検出された顔画像の人物の特定部分の領域を、補正する領域として特定するステップと、顔画像と年齢との関係を示す顔年齢情報を記憶する記憶部に記憶されている顔年齢情報を読み出し、上記顔年齢情報に基づいて上記検出された上記顔画像の顔年齢を判定し、上記判定された顔画像の顔年齢に基づいて、上記特定部分の領域にアンチエージング画像処理を施すステップと、上記アンチエージング画像処理が施された画像を表示するステップと、を具備する。   An image processing method according to a ninth aspect includes a step of converting a subject image into image data, a step of detecting a position of a face image in the subject image based on the image data, and the detected face The step of specifying the region of the specific portion of the person of the image as the region to be corrected, and the face age information stored in the storage unit storing the face age information indicating the relationship between the face image and the age is read out, and the face age Determining a face age of the detected face image based on information, performing anti-aging image processing on the region of the specific portion based on the face age of the determined face image, and the anti-aging image Displaying the processed image.

本発明によれば、加齢とともに皮下脂肪の蓄積等によって太くなった胴体周り等の体の一部を視覚的に細く見せる等、体の特定部位を細く見せ、また逆に膨らみをつける等の画像処理を行うことのできる画像処理装置および画像処理方法を提供することができる。   According to the present invention, a specific part of the body is shown thin, such as visually showing a part of the body around the trunk that has become thick due to the accumulation of subcutaneous fat, etc. with aging, etc. An image processing apparatus and an image processing method capable of performing image processing can be provided.

本発明の第1実施形態に係わるカメラの電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the camera concerning 1st Embodiment of this invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング処理による画像処理を説明する図である。It is a figure explaining the image processing by an anti-aging process in the camera concerning 1st Embodiment of this invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージングモードにおける処理を示すフローチャートである。6 is a flowchart illustrating processing in an anti-aging mode in the camera according to the first embodiment of the present invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正における処理を示すフローチャートである。6 is a flowchart illustrating processing in anti-aging correction in the camera according to the first embodiment of the present invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正の補正領域とその中心点を示す図である。It is a figure which shows the correction area | region and center point of anti-aging correction | amendment in the camera concerning 1st Embodiment of this invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正の補正領域における第1象限位置を示す図である。It is a figure which shows the 1st quadrant position in the correction area | region of anti-aging correction in the camera concerning 1st Embodiment of this invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正の際に得られる補正後の座標を示すグラフである。4 is a graph showing coordinates after correction obtained at the time of anti-aging correction in the camera according to the first embodiment of the present invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正における第1象限での補正後の座標計算結果を示す図である。It is a figure which shows the coordinate calculation result after the correction | amendment in the 1st quadrant in anti-aging correction | amendment in the camera concerning 1st Embodiment of this invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正における第1象限〜第4象限の位置を示す図である。It is a figure which shows the position of the 1st quadrant-4th quadrant in anti-aging correction | amendment in the camera concerning 1st Embodiment of this invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正における第1象限〜第4象限での補正後の座標計算結果を示す図である。It is a figure which shows the coordinate calculation result after the correction | amendment in the 1st quadrant-4th quadrant in anti-aging correction in the camera concerning 1st Embodiment of this invention. 本発明の第1実施形態に係わるカメラにおいて、アンチエージング補正における計算の際に使用される定数と年齢との関係の一例を示す図である。It is a figure which shows an example of the relationship between the constant used at the time of calculation in anti-aging correction | amendment, and age in the camera concerning 1st Embodiment of this invention. 本発明の第2実施形態に係わるカメラにおいて、アンチエージング処理による画像処理を説明する図である。It is a figure explaining the image processing by an anti-aging process in the camera concerning 2nd Embodiment of this invention. 本発明の第2実施形態に係わるカメラにおいて、アンチエージングモードにおける処理を示すフローチャートである。It is a flowchart which shows the process in anti-aging mode in the camera concerning 2nd Embodiment of this invention. 本発明の第2実施形態に係わるカメラにおいて、アンチエージング補正における処理を示すフローチャートである。It is a flowchart which shows the process in anti-aging correction | amendment in the camera concerning 2nd Embodiment of this invention. 本発明の第2実施形態に係わるカメラにおいて、アンチエージング補正における第1象限での補正後の座標計算結果を示すグラフである。It is a graph which shows the coordinate calculation result after correction | amendment in the 1st quadrant in anti-aging correction | amendment in the camera concerning 2nd Embodiment of this invention. 本発明の第2実施形態に係わるカメラにおいて、アンチエージング補正における第1象限〜第4象限での補正後の座標計算結果を示す図である。In the camera concerning 2nd Embodiment of this invention, it is a figure which shows the coordinate calculation result after correction | amendment in the 1st quadrant-4th quadrant in anti-aging correction | amendment. 本発明の第3実施形態に係わるカメラにおいて、アンチエージング補正における処理を示すフローチャートである。It is a flowchart which shows the process in anti-aging correction | amendment in the camera concerning 3rd Embodiment of this invention.

以下、図面に従って本発明を適用したカメラを用いて好ましい実施形態について説明する。本発明の好ましい第1実施形態に係わるカメラは、デジタルカメラであり、撮像部を有し、この撮像部によって被写体像を画像データに変換し、この変換された画像データに基づいて、被写体像を本体の背面に配置した表示部にスルー画表示する。撮影者はスルー画表示を観察することにより、構図やシャッタチャンスを決定する。また、スルー画表示の際に、被写体像に顔が含まれる場合には、被写体の胴体部位等の特定部を細く見せる等のアンチエージング処理を行う。レリーズ操作時には、画像データが記録媒体に記録され、アンチエージング処理がなされた場合には、その処理された画像が記録される。記録媒体に記録された画像データは、再生モードを選択すると、表示部に再生表示することができる。   Hereinafter, a preferred embodiment will be described using a camera to which the present invention is applied according to the drawings. The camera according to the first preferred embodiment of the present invention is a digital camera, has an imaging unit, converts a subject image into image data by the imaging unit, and converts the subject image based on the converted image data. A through image is displayed on the display unit arranged on the back of the main body. The photographer determines the composition and photo opportunity by observing the through image display. Further, when a through image is displayed, if a face is included in the subject image, an anti-aging process such as making a specific part such as a torso part of the subject look narrow is performed. At the time of the release operation, image data is recorded on the recording medium, and when the anti-aging process is performed, the processed image is recorded. The image data recorded on the recording medium can be reproduced and displayed on the display unit when the reproduction mode is selected.

図1は、本発明の第1実施形態に係わるカメラの主として電気的構成を示すブロック図である。カメラ100は、デジタルカメラであり、画像処理および制御部1、撮影光学系2、レンズ制御部2a、撮像部3、一時記憶部7、フラッシュROM7a、表示部8、記録部9、操作部10等から構成される。   FIG. 1 is a block diagram mainly showing an electrical configuration of a camera according to the first embodiment of the present invention. The camera 100 is a digital camera, and includes an image processing and control unit 1, a photographing optical system 2, a lens control unit 2a, an imaging unit 3, a temporary storage unit 7, a flash ROM 7a, a display unit 8, a recording unit 9, an operation unit 10, and the like. Consists of

撮影光学系2は、複数のレンズから構成されるズームレンズであり、撮像部3内の撮像素子上に被写体像を結像させる。またレンズ制御部2aによって光軸上に前後移動され、撮影光学系2のピント合わせが行われる。このピント合わせとしては、撮像部3から出力される画像データのコントラスト信号がピーク値となるように撮影光学系2のレンズを移動させる所謂山登り法等の自動焦点調節方法を利用すればよい。   The photographing optical system 2 is a zoom lens composed of a plurality of lenses, and forms a subject image on an image pickup element in the image pickup unit 3. The lens control unit 2a moves back and forth on the optical axis, and the photographing optical system 2 is focused. As this focusing, an automatic focus adjustment method such as a so-called hill-climbing method in which the lens of the photographing optical system 2 is moved so that the contrast signal of the image data output from the imaging unit 3 has a peak value may be used.

撮像部3は、シャッタ・絞り等の露出制御部、撮像素子、撮像素子の駆動及び読出回路、AD変換回路等を含み、撮影光学系2によって形成された被写体像を撮像素子によって画像データに変換し、これをデジタル信号で出力する。なお、本明細書においては、撮像素子から出力される画像信号に基づく信号であれば、画像処理された信号も含めて画像データと称する。   The imaging unit 3 includes an exposure control unit such as a shutter / aperture, an imaging device, a driving and reading circuit for the imaging device, an AD conversion circuit, and the like, and converts the subject image formed by the imaging optical system 2 into image data by the imaging device. This is output as a digital signal. In this specification, a signal based on an image signal output from the image sensor is referred to as image data including an image processed signal.

画像処理および制御部1は、顔検出部4、部検出部4a、レンズ収差補正・アンチエージング処理部5、圧縮部6を有する。また、画像処理および制御部1は、画像処理機能を有するマイクロコンピュータを含む制御部であり、フラッシュROM7aに記憶されているプログラムに従ってカメラ10の全体のシーケンスを制御する。   The image processing and control unit 1 includes a face detection unit 4, a unit detection unit 4 a, a lens aberration correction / anti-aging processing unit 5, and a compression unit 6. The image processing and control unit 1 is a control unit including a microcomputer having an image processing function, and controls the entire sequence of the camera 10 in accordance with a program stored in the flash ROM 7a.

レンズ収差補正・アンチエージング処理部5は、撮像部3から出力される画像データを入力し、撮影光学系2の収差補正とアンチエージング処理を行う。撮影光学系2は複数のレンズから構成されており、被写体像に光学的な歪が生ずる。そこで、レンズ収差補正・アンチエージング処理部5は、この光学的な歪を電気的な補正処理を行い、歪を除去している。   The lens aberration correction / anti-aging processing unit 5 receives image data output from the imaging unit 3 and performs aberration correction and anti-aging processing of the photographing optical system 2. The photographing optical system 2 is composed of a plurality of lenses, and optical distortion occurs in the subject image. Therefore, the lens aberration correction / anti-aging processing unit 5 performs an electrical correction process on the optical distortion to remove the distortion.

顔検出部4は、レンズ収差補正・アンチエージング処理部5によってレンズ収差が除去された画像データを入力し、被写体像の中に顔が含まれているか否か、また含まれていた場合には、その位置と大きさ、顔中心位置等を検出する。また、顔検出部4は、顔が含まれている場合には、その顔の特徴量に基づいて、年齢や性別等を推定する。すなわち、後述するフラッシュROM7aには、顔画像と年齢との関係を示す顔年齢情報が記憶されており、この顔年齢情報と顔の特徴量に基づいて、顔画像の人物の年齢を判定する。   The face detection unit 4 receives the image data from which the lens aberration has been removed by the lens aberration correction / anti-aging processing unit 5, and whether or not the face is included in the subject image. The position and size, the face center position, etc. are detected. In addition, when a face is included, the face detection unit 4 estimates age, sex, and the like based on the feature amount of the face. That is, the flash ROM 7a described later stores face age information indicating the relationship between the face image and the age, and the age of the person in the face image is determined based on the face age information and the feature amount of the face.

部位検出部4aは、顔検出部4に接続されており、顔検出部4によって顔が存在することが検出された場合に、胴体周り等の人体の特定部位の位置を検出する。部位検出部4aの出力は、レンズ収差補正・アンチエージング処理部5に接続されており、レンズ収差補正・アンチエージング処理部5は部位検出部4aの検出結果に基づいて、検出された部位に対してアンチエージング処理を行う。   The part detection unit 4a is connected to the face detection unit 4 and detects the position of a specific part of the human body such as around the torso when the face detection unit 4 detects the presence of a face. The output of the part detection unit 4a is connected to the lens aberration correction / anti-aging processing unit 5, and the lens aberration correction / anti-aging processing unit 5 applies to the detected part based on the detection result of the part detection unit 4a. To perform anti-aging processing.

すなわち、レンズ収差・アンチエージング処理部5は、レンズ収差補正処理を利用して、アンチエージング処理を行う。このアンチエージング処理は、顔検出部4が顔の位置を検出すると、顔画像に対応する胴体部分等の人体の特定部位の領域を補正領域として特定し、また顔検出部4によって検出された顔年齢に基づいて、補正領域に対して痩身処理等の画像処理を施す。このアンチエージング処理については、図2ないし図11を用いて後述する。   That is, the lens aberration / anti-aging processing unit 5 performs the anti-aging process using the lens aberration correction process. In the anti-aging process, when the face detection unit 4 detects the position of the face, a region of a specific part of the human body such as a body part corresponding to the face image is specified as a correction region, and the face detected by the face detection unit 4 Based on the age, image processing such as slimming processing is performed on the correction region. This anti-aging process will be described later with reference to FIGS.

レンズ収差補正・アンチエージング処理部5および画像処理制御部1は、一時記憶メモリ7およびフラッシュROM7aに接続されている。一時記憶メモリ7は、DRAM(Dynamic Random Access Memory)等の電気的に書き換え可能な揮発性メモリであり、レンズ収差補正処理、アンチエージング処理、その他の制御処理の際にデータが一時的に記憶される。フラッシュROM7aは、電気書き換え可能な不揮発性メモリであり、制御部で実行されるプログラムや、レンズ収差補正用のデータ、アンチエージング処理用のデータ、顔画像と年齢の関係を示す顔年齢情報等が記憶されている。   The lens aberration correction / anti-aging processing unit 5 and the image processing control unit 1 are connected to the temporary storage memory 7 and the flash ROM 7a. The temporary storage memory 7 is an electrically rewritable volatile memory such as DRAM (Dynamic Random Access Memory), and temporarily stores data during lens aberration correction processing, anti-aging processing, and other control processing. The The flash ROM 7a is an electrically rewritable nonvolatile memory, and includes a program executed by the control unit, lens aberration correction data, anti-aging process data, face age information indicating the relationship between the face image and age, and the like. It is remembered.

レンズ収差補正・アンチエージング処理部5の出力は、表示部8に接続されている。表示部8は、カメラ100の背面等に配置された液晶パネルや有機ELパネル等の表示パネルを有し、撮像部3によって取り込まれ、レンズ収差補正・アンチエージング処理部5によって処理された画像データを入力し、撮影前にスルー画表示を行う。前述の顔検出部4は、スルー画用として撮像された人物の顔を検出する。アンチエージングモードが設定された場合には、アンチエージング処理が施されたスルー画が表示される。撮影者はスルー画表示を観察し、構図やタイミングを決定することができる。また、表示部8は、静止画撮影後に撮影画像を表示するクイックレビュー表示や、後述する記録部9に記録されている記録済みの画像の画像データを読み出し再生表示を行う。さらに、表示部8、カメラ情報やメニュー画面の表示等を行う。なお、静止画撮影時のクイックレビュー表示や静止画の再生表示時に、静止画の顔検出を行い、顔を検出した場合にアンチエージング処理を行うようにしてもよい。   The output of the lens aberration correction / anti-aging processing unit 5 is connected to the display unit 8. The display unit 8 includes a display panel such as a liquid crystal panel or an organic EL panel disposed on the back surface of the camera 100, and is image data captured by the imaging unit 3 and processed by the lens aberration correction / anti-aging processing unit 5. To display a through image before shooting. The face detection unit 4 described above detects the face of a person imaged for a through image. When the anti-aging mode is set, a through image subjected to anti-aging processing is displayed. The photographer can observe the through image display and determine the composition and timing. In addition, the display unit 8 performs quick review display for displaying a captured image after still image shooting, and reading and displaying image data of a recorded image recorded in the recording unit 9 described later. Further, the display unit 8 displays camera information and a menu screen. Note that the still image face detection may be performed during quick review display or still image playback display during still image shooting, and anti-aging processing may be performed when a face is detected.

また、レンズ収差補正・アンチエージング処理部5の出力は、圧縮部6に接続されている。この圧縮部6は、レンズ収差補正・アンチエージング処理部5によって処理された画像データの圧縮処理を行う。この圧縮部6の出力は記録部9に接続されており、圧縮処理された画像データの記録を行う。また、圧縮部6は記録部9から読み出された画像データの伸張処理を行い、表示部8に出力する。   The output of the lens aberration correction / anti-aging processing unit 5 is connected to the compression unit 6. The compression unit 6 performs compression processing of the image data processed by the lens aberration correction / anti-aging processing unit 5. The output of the compression unit 6 is connected to the recording unit 9, and the compressed image data is recorded. Further, the compression unit 6 performs an expansion process on the image data read from the recording unit 9 and outputs it to the display unit 8.

操作部10は、レリーズ釦、パワースイッチ、再生モード設定釦、メニュー釦等、種々の操作部材を含み、これらの操作部材の操作状態を判定し、画像処理および制御部1に判定結果を送る。画像処理および制御部1は、操作部材の操作状態に応じて、所定のシーケンスで撮影や再生の制御を行う。アンチエージングモードの設定は、メニュー画面において行うが、アンチエージングモード設定用の操作釦を備え、この操作釦によって設定するようにしてもよい。   The operation unit 10 includes various operation members such as a release button, a power switch, a reproduction mode setting button, a menu button, and the like, determines the operation state of these operation members, and sends a determination result to the image processing and control unit 1. The image processing and control unit 1 controls shooting and reproduction in a predetermined sequence according to the operation state of the operation member. The anti-aging mode is set on the menu screen, but an anti-aging mode setting operation button may be provided and set using this operation button.

次に、図2を用いて、本実施形態におけるアンチエージング処理としての痩身処理について説明する。図2(a)は、痩身処理を施す前の画像であり、この画像はレンズ補正・アンチエージング処理部5によって撮影光学系2の光学的な歪が補正されている。図2(b)は、痩身処理が施された画像であり、特定部分(ここでは、胴体部位)に、痩身処理を施し、胴体部位を痩身となるように補正した画像である。   Next, the slimming process as the anti-aging process in the present embodiment will be described with reference to FIG. FIG. 2A shows an image before the slimming process, and the optical distortion of the photographing optical system 2 is corrected by the lens correction / anti-aging processing unit 5 in this image. FIG. 2B is an image that has undergone slimming processing, and is an image that has been subjected to slimming processing on a specific portion (here, a body part) and corrected so that the body part is slimmed.

図2(b)に示した例では、人物の体の部分のうち、腹部を検出し、その部分のみを細くしている。一般に、女性の体型は年齢によって変化し、加齢とともに腹部の変化が大きい(例えば、産業構造改善事業協会アパレル研究15号、身体各部位における成人女子の年齢的変化を参照)。そこで、この腹部のみを細くすることによって皮下脂肪の蓄積によって加齢したような体型を、若返らせて見せることが可能となる。   In the example shown in FIG. 2B, the abdomen is detected from the body part of the person, and only that part is thinned. In general, the female body shape changes with age, and the change in the abdomen increases with age (see, for example, Industrial Structure Improvement Business Association Apparel Study No. 15, age-related changes in adult women in various parts of the body). Therefore, by thinning only the abdomen, it becomes possible to rejuvenate a body shape that seems to have aged due to the accumulation of subcutaneous fat.

次に、図1に示したカメラ100において、アンチエージング処理を行うアンチエージングモードの動作について、図3に示すフローチャートを用いて説明する。なお、このフローチャートおよび図4(後述する第2、第3実施形態における図13、図14、図17も含めて)に示すフローチャートは、フラッシュROM7aに記憶されているプログラムに従って、画像処理および制御部1によって実行される。アンチエージングモードのフローは、メニュー画面においてアンチエージングモードが設定された場合にスタートする。   Next, the operation of the anti-aging mode for performing the anti-aging process in the camera 100 shown in FIG. 1 will be described using the flowchart shown in FIG. Note that this flowchart and the flowchart shown in FIG. 4 (including FIGS. 13, 14, and 17 in the second and third embodiments described later) are based on the image processing and control unit according to the program stored in the flash ROM 7a. 1 is executed. The flow of the anti-aging mode starts when the anti-aging mode is set on the menu screen.

アンチエージングモードがスタートすると、まず、撮像の取り込みを行う(S1)。ここでは、撮像部3によって撮影光学系2によって形成された被写体像の画像データを取得する。撮像取り込みを行うと、次に、画像処理を行う(S3)。ここでは、撮像部3によって取り込まれた画像データに対して、画像処理および制御部1による画像処理を行う。   When the anti-aging mode is started, first, image capturing is performed (S1). Here, image data of a subject image formed by the imaging optical system 2 is acquired by the imaging unit 3. Once image capture has been performed, image processing is next performed (S3). Here, image processing by the image processing and control unit 1 is performed on the image data captured by the imaging unit 3.

画像処理を行うと、次に、レンズ収差補正を行う(S5)。前述したように撮影光学系2にはレンズ収差があることから被写体画像が歪んでおり、この歪みをレンズ収差補正・アンチエージング処理部5によってレンズ収差補正を行い、被写体像の歪みを除去する。   Once image processing has been performed, lens aberration correction is then performed (S5). As described above, since the photographing optical system 2 has lens aberration, the subject image is distorted, and this distortion is corrected by the lens aberration correction / anti-aging processing unit 5 to remove the distortion of the subject image.

レンズ収差補正を行うと、次に、画像を一時保存メモリに記録する(S7)。ここでは、収差補正された画像データを一時記憶メモリ7に一時的に記憶する。画像を一時記憶すると、続いて、顔検出を行う(S9)。ここでは、顔検出部4が、画像データに基づいて被写体像の中に顔が含まれているか否かを検出する。今、仮に図2(a)に示すような画像が撮像されたとすると、顔検出部4は被写体20の顔20aを検出する。   Once lens aberration correction has been performed, the image is then recorded in a temporary storage memory (S7). Here, the aberration-corrected image data is temporarily stored in the temporary storage memory 7. When the image is temporarily stored, face detection is subsequently performed (S9). Here, the face detection unit 4 detects whether or not a face is included in the subject image based on the image data. If an image as shown in FIG. 2A is captured, the face detector 4 detects the face 20a of the subject 20.

ステップS9における顔検出を行うと、次に、顔が検出されたか否かを判定する(S11)。ここでは、ステップS9における検出結果に基づいて判定する。前述の図2(a)の画像を撮像した場合には、顔20aが存在することから、ここでの判定はYesとなる。ステップS11における判定の結果、顔が検出された場合には、次に、画像を一時保存メモリから読み出す(S12)。前述したように、ステップS7において、レンズ収差補正された画像データを一時記憶メモリ7に記憶しており、このステップでは一時記憶した画像データの読出しを行う。画像データの読出しを行うと、ステップS13およびS19において、レンズ収差補正・アンチエージング処理部5は、顔検出部4によって検出された顔画像に対応する胴体部分の領域を補正する補正領域を特定する。   Once face detection is performed in step S9, it is next determined whether or not a face has been detected (S11). Here, it determines based on the detection result in step S9. When the above-described image of FIG. 2A is captured, the face 20a exists, so the determination here is Yes. If a face is detected as a result of the determination in step S11, the image is then read from the temporary storage memory (S12). As described above, in step S7, the lens data corrected for lens aberration is stored in the temporary storage memory 7. In this step, the temporarily stored image data is read out. When the image data is read, in steps S13 and S19, the lens aberration correction / anti-aging processing unit 5 identifies a correction region for correcting the body part region corresponding to the face image detected by the face detection unit 4. .

画像を読み出すと、まず、顔検出位置から垂直下方向で色変化大であって、水平には色変化の少ない部分まで胴体部位と判定する(S13)。顔検出部4は、顔を検出すると、顔の中の鼻の中心位置と、右眼と左眼のそれぞれの中心位置を求めることができる。そこで、このステップにおいては、鼻の中心と、眼と眼の中心を通り、顔20aの画像を略二分する中心軸をY軸ライン20bとし、顔20aの画像を有する画像内において、略垂直な方向(Y軸ライン20aに沿う方向)の色変化が大きく、かつ水平方向には色変化の少ない部分を検出し、Y軸と略直交する直交直線を仮想直線として特定する。図2(a)に示す例においては、仮想直線はライン20cが相当し、胴体部分は、肌が露出している部分と海水パンツの境目、すなわち、ライン20cより上側が相当する。   When the image is read out, first, it is determined that the body part is a part having a large color change vertically downward from the face detection position and a little color change horizontally (S13). When detecting the face, the face detection unit 4 can obtain the center position of the nose in the face and the center positions of the right eye and the left eye. Therefore, in this step, the center axis that substantially bisects the image of the face 20a through the center of the nose and the eyes and the center of the face is defined as the Y-axis line 20b, and is substantially vertical in the image having the image of the face 20a. A portion having a large color change in the direction (a direction along the Y-axis line 20a) and a little color change in the horizontal direction is detected, and an orthogonal straight line that is substantially orthogonal to the Y-axis is specified as a virtual straight line. In the example shown in FIG. 2A, the virtual straight line corresponds to the line 20c, and the body portion corresponds to the boundary between the exposed skin portion and the seawater pants, that is, the upper side of the line 20c.

胴体部分を検出すると、次に、胴体部位下端から上方向に顔サイズ分を補正領域と判定する(S19)。図2(a)に示す例においては、ライン20cよりも上側に顔20aの長さhと略同じ長さの位置にあるライン20dを求め、被写体20であってライン20cとライン20dの間にある略長方形状の領域を、補正領域と判定する。なお、顔1個分としたが、1.5個分でも、2個分等、他の値でもよい。また、顔の大きさを基準としなくても、身長は肩幅等、他の部位を基準としてもよい。   When the body part is detected, the face size is determined as a correction area upward from the lower end of the body part (S19). In the example shown in FIG. 2A, a line 20d at a position substantially the same as the length h of the face 20a is obtained above the line 20c, and the subject 20 is located between the line 20c and the line 20d. A certain rectangular area is determined as a correction area. In addition, although it was set as 1 face, other values, such as 1.5 pieces or 2 pieces, may be sufficient. Further, the height may be based on other parts such as the shoulder width without using the size of the face as a reference.

補正領域を判定すると、次に、補正領域に対してアンチエージング補正を行う(S27)。ここでは、レンズ収差補正・アンチエージング処理部5が、検出された顔画像の人物の年齢を、フラッシュROM7aに記憶されている顔年齢情報に基づいて判定し、この判定された年齢に基づいて、補正領域として判定された胴体部分の領域に、例えば、図2(b)に示すような痩身処理を施す。このアンチエージング補正の詳細については、図4に示すフローチャートを用いて後述する。   If the correction area is determined, then anti-aging correction is performed on the correction area (S27). Here, the lens aberration correction / anti-aging processing unit 5 determines the age of the person of the detected face image based on the face age information stored in the flash ROM 7a, and based on the determined age, For example, a slimming process as shown in FIG. 2B is performed on the body part region determined as the correction region. Details of the anti-aging correction will be described later with reference to a flowchart shown in FIG.

ステップS27において、アンチエージング補正を行うと、またはステップS11における判定の結果、顔が検出されなかった場合には、次に、表示を行う(S29)。ここでは、ステップS1において取り込んで画像処理した後の画像を表示部8にスルー画表示する。スルー画表示にあたって、画像の中に顔が検出された場合には、ステップS27においてアンチエージング補正を施した画像を表示し、顔が検出されなかった場合には、アンチエージング処理を施すことなく、取り込んだ画像を表示する。   If anti-aging correction is performed in step S27, or if the result of determination in step S11 is that a face has not been detected, then display is performed (S29). Here, the through image is displayed on the display unit 8 after the image is captured and processed in step S1. When a through image is displayed, if a face is detected in the image, an image subjected to anti-aging correction is displayed in step S27. If no face is detected, anti-aging processing is not performed. Display the captured image.

表示を行うと、次に、撮影するか否かを判定する(S31)。ここでは、操作部10中のレリーズ釦の操作状態を判定し、レリーズ操作に基づいて判定する。この判定の結果、撮影でなかった場合には、ステップS1に戻る。ステップS1に戻ると、再び撮像取り込みが行われ、スルー画が更新されると共に、顔が検出された場合には、アンチエージング補正も更新される。   Once displayed, it is next determined whether or not to shoot (S31). Here, the operation state of the release button in the operation unit 10 is determined, and the determination is made based on the release operation. If the result of this determination is that shooting has not been made, processing returns to step S1. When returning to step S1, the image capturing is performed again, the through image is updated, and when a face is detected, the anti-aging correction is also updated.

ステップS31における判定の結果、撮影であった場合には、記録を行う(S33)。ここでは、検出顔が有った場合には、アンチエージング補正が施された画像データが、また検出顔がなかった場合には、アンチエージング補正が施されていない画像データが、記録部9に記録される。   If the result of determination in step S31 is shooting, recording is performed (S33). Here, when there is a detected face, image data on which anti-aging correction has been performed, and when there is no detected face, image data on which anti-aging correction has not been performed is stored in the recording unit 9. To be recorded.

画像データの記録を行うと、次に、終了か否かの判定を行う(S35)。ここでは、アンチエージングモードの設定が解除されたか否かを判定する。この判定の結果、終了でなかった場合には、ステップS1に戻る。一方、終了であった場合には、アンチエージングモードの終了処理を行ったのち、アンチエージングモードをオフする。   Once the image data has been recorded, it is next determined whether or not it is finished (S35). Here, it is determined whether or not the setting of the anti-aging mode has been canceled. If the result of this determination is not end, processing returns to step S1. On the other hand, if it is the end, the anti-aging mode is turned off after performing the anti-aging mode end processing.

次に、ステップS27におけるアンチエージング補正について、図4に示すフローチャートを用いて説明する。アンチエージング補正を開始すると、まず、補正領域の中心点を補正中心と判定する(S51)。補正領域は、図2(a)に示す例では、被写体20の人物の胴体部分であって、ライン20cとライン20dの間の略長方形の形状をした領域である。図5に示すように、略長方形の各頂点を結んだ直線の交点、言い換えると重心位置を中心点31とし、この中心点31を補正中心と判定する。   Next, the anti-aging correction in step S27 will be described using the flowchart shown in FIG. When the anti-aging correction is started, first, the center point of the correction area is determined as the correction center (S51). In the example shown in FIG. 2A, the correction region is a body portion of the person of the subject 20, and is a region having a substantially rectangular shape between the line 20c and the line 20d. As shown in FIG. 5, the intersection of straight lines connecting the vertices of a substantially rectangular shape, in other words, the center of gravity position is set as the center point 31, and this center point 31 is determined as the correction center.

補正中心を判定すると、次に、補正中心から補正領域の右上点までの距離を1として補正演算を開始する(S53)。ここでは、略長方形の形状をした補正領域の右上の頂点を右上点32とし、中心点31と右上点32を結んだ線分の長さを「1」として、補正演算を開始する。なお、中心点31から右上点32を結ぶ線を基準線と呼ぶ。   Once the correction center is determined, the correction calculation is started with the distance from the correction center to the upper right point of the correction area set to 1 (S53). Here, the upper right vertex of the substantially rectangular correction region is set as the upper right point 32, and the length of the line segment connecting the center point 31 and the upper right point 32 is set to “1”, and the correction calculation is started. A line connecting the center point 31 and the upper right point 32 is referred to as a reference line.

次に、補正後座標演算を行う(S55)。ここでは、胴体部位の画素ごとにその座標位置を以下の式を用いて補正演算を行う。中心点31の座標を(0,0)とし、各画素の座標位置(X,Y)について補正後の座標位置(X’,Y’)を下記の式を用いて演算する。
X’=(X/A+Y/B)*K*M*cosθ ・・・(1)
K=(1−G)/sinθ*Y+G ・・・(2)
Y’=Y ・・・(3)
ここで、Gは任意の値であり、Mも任意の値である。
Next, a corrected coordinate calculation is performed (S55). Here, for each pixel of the body part, the coordinate position is corrected using the following equation. The coordinate of the center point 31 is set to (0, 0), and the corrected coordinate position (X ′, Y ′) is calculated using the following formula for the coordinate position (X, Y) of each pixel.
X ′ = (X 2 / A 2 + Y 2 / B 2 ) * K * M * cos θ (1)
K = (1−G) / sin θ * Y + G (2)
Y ′ = Y (3)
Here, G is an arbitrary value, and M is also an arbitrary value.

図6に示すように、中心点31を通るX軸およびY軸を決め、中心点31および右上点32を通る基準線からX軸までの角度をθとする。図6におけるX軸方向の線分nとY軸方向の線分mの長さは、基準線の長さを1としたことから、それぞれ、n=cosθ、m=sinθとなる。したがって、中心点31の座標は(0,0)、右上点32の座標は、(cosθ,sinθ)となる。なお、上述の定数Mは、元画像に修正画像を合わせるための画像調整用係数に相当し、上述の定数Gは痩身度を表わす係数に相当する。また、Kは座標YがSINθのとき1になるように設定された係数であり、変数A、Bは、楕円の形状を決定するための係数に相当する。   As shown in FIG. 6, the X axis and the Y axis passing through the center point 31 are determined, and the angle from the reference line passing through the center point 31 and the upper right point 32 to the X axis is θ. The lengths of the line segment n in the X-axis direction and the line segment m in the Y-axis direction in FIG. 6 are n = cos θ and m = sin θ, respectively, since the length of the reference line is 1. Therefore, the coordinates of the center point 31 are (0, 0), and the coordinates of the upper right point 32 are (cos θ, sin θ). The constant M described above corresponds to an image adjustment coefficient for aligning the corrected image with the original image, and the constant G described above corresponds to a coefficient representing the slimming degree. K is a coefficient set to be 1 when the coordinate Y is SINθ, and the variables A and B correspond to coefficients for determining the shape of the ellipse.

図6において、網掛けを施した第1象限では、0≦X≦cosθ、0≦Y≦sinθであり、この第1象限において上記(1)〜(3)式にX,Yを代入し、補正後の座標位置(X’,Y’)を求める。図7に、θ=45°、A=1、B=1、G=1、M=1、X=cosθ、0≦Y≦sinθとした時のグラフを示す。また、図8に、図6において網掛けを施した第1象限のアンチエージング補正による形状変化を示す。   In FIG. 6, 0 ≦ X ≦ cos θ and 0 ≦ Y ≦ sin θ in the shaded first quadrant, and in this first quadrant, X and Y are substituted into the equations (1) to (3), The corrected coordinate position (X ′, Y ′) is obtained. FIG. 7 shows a graph when θ = 45 °, A = 1, B = 1, G = 1, M = 1, X = cos θ, and 0 ≦ Y ≦ sin θ. FIG. 8 shows a shape change due to anti-aging correction in the first quadrant shaded in FIG.

図6および図7に示すように、第1象限の画素に対して、補正演算を施すと、次に、図9に示すように、第2象限から第4象限の画素に対しても補正演算を施す。この場合、第2象限の画素に対しては、(1)式〜(3)式において、Xの符号のみを負とした値となる。また、第3象限の画素に対しては、(1)式〜(3)式において、Yの符号のみを負とした値となる。さらに、第4象限の画素に対しては、(1)式〜(3)式において、XおよびYの両方の符号を負とした値となる。   As shown in FIGS. 6 and 7, if correction calculation is performed on the pixels in the first quadrant, the correction calculation is also performed on the pixels in the second to fourth quadrants as shown in FIG. Apply. In this case, for the pixels in the second quadrant, only the sign of X is negative in the expressions (1) to (3). For the pixels in the third quadrant, only the sign of Y is negative in the expressions (1) to (3). Further, for the pixels in the fourth quadrant, the values of both the X and Y signs are negative in the expressions (1) to (3).

このように、ステップS55においては、補正領域の各画素の座標について、それぞれ(1)式〜(3)式を用いて補正後の座標位置を求める。図10に、補正領域の変化を示す。すなわち、図10(a)は補正前の補正領域を示し、図10(b)は補正後の補正領域を示す。   As described above, in step S55, the corrected coordinate positions are obtained using the equations (1) to (3) for the coordinates of the respective pixels in the correction region. FIG. 10 shows changes in the correction area. That is, FIG. 10A shows a correction area before correction, and FIG. 10B shows a correction area after correction.

ステップS55において補正後座標演算を行うと、次に、補正後座標演算により求めた座標位置を補間処理する(S57)。ステップS55においては、補正後の各画素の座標位置を求めたが、画像を表示するためには、補正前の各画素の座標位置、すなわちX方向およびY方向に一定間隔で並んでいる各画素の位置での画素信号の値が必要である。ステップS55で求めた補正後の座標位置を補間演算によって算出する。この補間演算は、補間演算によって行い、例えば、最近隣補間、バイリニア補間、バイキュービック補間等の補間演算が利用できる。   Once the corrected coordinate calculation is performed in step S55, the coordinate position obtained by the corrected coordinate calculation is interpolated (S57). In step S55, the coordinate position of each pixel after correction is obtained. In order to display an image, the coordinate position of each pixel before correction, that is, each pixel lined up at regular intervals in the X and Y directions. The value of the pixel signal at the position is required. The corrected coordinate position obtained in step S55 is calculated by interpolation. This interpolation calculation is performed by interpolation calculation, and for example, interpolation calculations such as nearest neighbor interpolation, bilinear interpolation, and bicubic interpolation can be used.

ステップS57における補間処理を行うと、アンチエージング処理を終了し、元のフローに戻る。   When the interpolation process in step S57 is performed, the anti-aging process is terminated and the process returns to the original flow.

なお、(1)式および(2)式における変数A、B、K、M、Gは、顔年齢に応じた値とする。前述したように、レンズ収差補正・アンチエージング処理部5は顔画像に基づいて顔年齢を判定することから、この判定結果を利用する。図11に、これらの定数の例と、これらの定数を代入した場合の胴体の痩身度割合(第1象限での削減割合)を示す。図11から分かるように、年齢が上がるにつれ、削減率が大きくなるように変数A、B、K、M、Gを設定する。なお、図11では、各年代に応じて複数の定数を設定してあるが、これらの組合せのいずれか1つを決めてもよく、また、複数、用意し、ユーザが適宜選択できるようしてもよい。   Note that the variables A, B, K, M, and G in the expressions (1) and (2) are values according to the face age. As described above, since the lens aberration correction / anti-aging processing unit 5 determines the face age based on the face image, this determination result is used. FIG. 11 shows examples of these constants and the body slimming ratio (reduction ratio in the first quadrant) when these constants are substituted. As can be seen from FIG. 11, variables A, B, K, M, and G are set so that the reduction rate increases as the age increases. In FIG. 11, a plurality of constants are set according to each age. However, any one of these combinations may be determined, and a plurality of combinations may be prepared so that the user can select as appropriate. Also good.

以上、説明したように、本発明の第1実施形態においては、被写体に顔が含まれている場合には(S11Yes)、胴体の部分から補正領域を判定し(S13、S19)、この補正領域に対してアンチエージング補正を施している(S27)。そして、アンチエージング補正を施す際には、顔画像から顔年齢を判定し、この判定された顔年齢に基づいて、胴体部分の補正領域に対して痩身処理を施すようにしている。このため、加齢とともに皮下脂肪の蓄積等によって太くなった胴体周り等の体の一部を視覚的に細く見せることができる。   As described above, in the first embodiment of the present invention, when the subject includes a face (Yes in S11), the correction area is determined from the body part (S13, S19), and this correction area is determined. Is subjected to anti-aging correction (S27). When performing anti-aging correction, the face age is determined from the face image, and the slimming process is performed on the correction area of the body portion based on the determined face age. For this reason, a part of the body, such as around the trunk that has become thick due to the accumulation of subcutaneous fat or the like with aging, can be visually made thin.

次に、本発明の第2実施形態について図12ないし図16を用いて説明する。第1実施形態においては、胴体部位を痩身にするアンチエージング処理を施していた。第2実施形態においては、図12に示すように、臀部に膨らみをつけるアンチエージング処理2を施すことにより、若々しく魅力的なボディラインでカメラ撮影を行うことを可能としている。本実施形態における構成は図1に示した構成と略同様であることから詳しい説明は省略する。また、図3および図4に示したフローチャートを図13および図14に置き換えるので、この相違するフローについて詳しく説明する。   Next, a second embodiment of the present invention will be described with reference to FIGS. In the first embodiment, an anti-aging process for slimming the body part has been performed. In the second embodiment, as shown in FIG. 12, by performing anti-aging processing 2 that bulges the buttocks, it is possible to perform camera photography with a youthful and attractive body line. The configuration in the present embodiment is substantially the same as the configuration shown in FIG. Further, since the flowcharts shown in FIGS. 3 and 4 are replaced with FIGS. 13 and 14, this different flow will be described in detail.

アンチエージング処理2を実行するための図13に示すアンチエージングモードのフローは、第1実施形態の場合と同様、メニュー画面においてアンチエージングモードが設定された場合にスタートする。図13に示すフローにおいて、第1実施形態における図3に示すフローチャートと同様の処理を実行するステップについては、同一のステップ番号を付し、詳しい説明は省略する。   The flow of the anti-aging mode shown in FIG. 13 for executing the anti-aging process 2 starts when the anti-aging mode is set on the menu screen as in the case of the first embodiment. In the flow shown in FIG. 13, steps that execute the same processing as in the flowchart shown in FIG. 3 in the first embodiment are assigned the same step numbers, and detailed descriptions thereof are omitted.

アンチエージングモードがスタートすると、第1実施形態の場合と同様、撮像取り込みを行い(S1)、この取り込んだ画像データに対して画像処理を行い(S3)、レンズ収差を補正する(S5)。この補正された画像は、一時保存メモリに記録され(S7)、また、被写体像の中に顔画像が含まれているかの顔検出を行い(S9)、この検出に基づいて顔が有るか否かの判定を行う(S11)。   When the anti-aging mode is started, as in the case of the first embodiment, image capturing is performed (S1), image processing is performed on the captured image data (S3), and lens aberration is corrected (S5). The corrected image is recorded in the temporary storage memory (S7), and face detection is performed to determine whether a face image is included in the subject image (S9). Is determined (S11).

ステップS11における判定の結果、顔が検出された場合には、次に、画像を一時保存メモリから読み出し(S12)、顔検出位置から垂直下方向で色変化大であって、水平方向には色変化の少ない部分まで胴体部位と判定する(S13)。この胴体部位は、図12に示す例においては、この胴体部分は、肌が露出している部分と海水パンツの境目、すなわち、ライン20cより上側が相当する。   If the result of determination in step S11 is that a face has been detected, then the image is read out from the temporary storage memory (S12), the color change is large in the vertical downward direction from the face detection position, and the color in the horizontal direction The body part is determined up to the part with little change (S13). In the example shown in FIG. 12, this body portion corresponds to the boundary between the portion where the skin is exposed and the seawater pants, that is, the upper side from the line 20c.

胴体部位の判定を行うと、次に、胴体部位下端から下方向顔サイズの1/2分を補正領域と判定する(S14)。図12(a)に示す例においては、ライン20cよりも下側に顔20aのY軸方向の長さと略同じ長さの位置にあるライン20eを求め、被写体20であってライン20cとライン20eの間にある略長方形状の領域を、補正領域と判定する。この補正領域は略臀部に相当する。なお、本実施形態においては、顔の1/2分としたが、略臀部に相当するのであれば、1/3分,2/3分等、他の値でもよい。また、顔の大きさを基準する以外にも、身長や肩幅等、他の部位を基準としてもよい。   Once the body part is determined, next, a half of the downward face size from the lower end of the body part is determined as the correction area (S14). In the example shown in FIG. 12A, a line 20e located at a position substantially the same as the length of the face 20a in the Y-axis direction is obtained below the line 20c, and the subject 20 is the line 20c and the line 20e. A substantially rectangular area between the two is determined as a correction area. This correction area substantially corresponds to the collar portion. In the present embodiment, the half of the face is used. However, other values such as 1/3, 2/3, etc. may be used as long as the face is substantially equivalent. In addition to the size of the face, other parts such as height and shoulder width may be used as a reference.

補正領域を判定すると、次に、補正領域に対してアンチエージング2補正を実行する(S28)。ここでは、検出された顔画像の顔年齢を顔検出部4によって検出し、この検出された顔年齢に基づいて、補正領域として判定された臀部の領域に、レンズ収差補正・アンチエージング処理部5が、例えば、図12(b)に示すような処理を施す。このアンチエージング2補正の詳細については、図14に示すフローチャートを用いて後述する。   If the correction area is determined, then anti-aging 2 correction is executed on the correction area (S28). Here, the face age of the detected face image is detected by the face detection unit 4, and the lens aberration correction / anti-aging processing unit 5 is applied to the buttocks area determined as the correction area based on the detected face age. However, for example, the processing as shown in FIG. Details of the anti-aging 2 correction will be described later with reference to a flowchart shown in FIG.

ステップS28において補正領域に対してアンチエージング2補正を施すと、またはステップS11における判定の結果、検出顔がなかった場合には、第1実施形態の場合と同様、表示部8にスルー画表示を行い(S29)、撮影を行うか判定する(S31)。この判定の結果、撮影でなかった場合には、ステップS1に戻り、一方、撮影であった場合には、画像データの記録を行う(S33)。ステップS28においてアンチエージング2補正が施されている場合には、この補正された画像データが記録される。記録が終わると、アンチエージングモードを終了するか否かの判定を行い(S35)、終了しない場合には、ステップS1に戻り、一方、終了の場合には、アンチエージングモード終了処理を行ってから、アンチエージングモードをオフする。   If anti-aging 2 correction is performed on the correction area in step S28, or if the result of determination in step S11 is that there is no detected face, a through image display is displayed on the display unit 8 as in the first embodiment. It is performed (S29), and it is determined whether or not shooting is performed (S31). If the result of this determination is that there is no shooting, the process returns to step S1, while if it is shooting, image data is recorded (S33). If anti-aging 2 correction has been performed in step S28, the corrected image data is recorded. When the recording is finished, it is determined whether or not to end the anti-aging mode (S35). If not, the process returns to step S1. If the recording is finished, the anti-aging mode end processing is performed. Turn off anti-aging mode.

次に、ステップS28におけるアンチエージング2補正処理について、図14に示すフローチャートを用いて説明する。アンチエージング補正を開始すると、第1実施形態と同様に、補正領域の中心点を補正中心と判定し(S51)、続いて、補正中心から補正領域の右上点までの距離を1として補正演算を開始する(S53)。   Next, the anti-aging 2 correction process in step S28 will be described using the flowchart shown in FIG. When the anti-aging correction is started, as in the first embodiment, the center point of the correction area is determined as the correction center (S51), and then the correction calculation is performed by setting the distance from the correction center to the upper right point of the correction area as 1. Start (S53).

次に、補正後座標演算を行う(S56)。ここでは、臀部に対応する補正領域(図16(a)参照)の画素ごとにその座標位置を楕円の式を用いて補正演算を行う。中心点31の座標を(0,0)とし、各画素の座標位置(X,Y)について補正後の座標位置(X’,Y’)を下記の式を用いて演算する。
X’=2*X*S1+(X/A+Y/B)*K*M*cosθ*S2 ・・(4)
K=(1−G)/sinθ*Y+G ・・(5)
Y’=Y ・・(6)
ここで、Gは任意の値であり、Mも任意の値である。
また、S1:アンチエージング補正時=0、アンチエージング2補正時=1
S2:アンチエージング補正時=1、アンチエージング2補正時=−1である。
Next, post-correction coordinate calculation is performed (S56). Here, for each pixel in the correction region (see FIG. 16A) corresponding to the heel, the coordinate position is corrected using an ellipse formula. The coordinate of the center point 31 is set to (0, 0), and the corrected coordinate position (X ′, Y ′) is calculated using the following formula for the coordinate position (X, Y) of each pixel.
X ′ = 2 * X * S1 + (X 2 / A 2 + Y 2 / B 2 ) * K * M * cos θ * S2 (4)
K = (1−G) / sin θ * Y + G (5)
Y '= Y (6)
Here, G is an arbitrary value, and M is also an arbitrary value.
Also, S1: when anti-aging correction is 0, and when anti-aging 2 correction is 1
S2: At the time of anti-aging correction = 1, at the time of anti-aging 2 correction = −1.

第1実施形態の場合と同様に、補正領域の第1象限において上記(4)式〜(6)式にX,Yを代入し、補正後の座標位置(X’,Y’)を求める。図15に、θ=45°、A=1、B=1、G=1、M=1、X=cosθ、0≦Y≦sinθ、S1=1、S2=−1とした時のグラフを示す。   Similarly to the case of the first embodiment, X and Y are substituted into the equations (4) to (6) in the first quadrant of the correction region to obtain the corrected coordinate position (X ′, Y ′). FIG. 15 shows a graph when θ = 45 °, A = 1, B = 1, G = 1, M = 1, X = cos θ, 0 ≦ Y ≦ sin θ, S1 = 1, and S2 = −1. .

図15から分かるように、(4)式〜(6)式は楕円の一部であり、(1)式〜(3)式の場合には、中心に向かって凹んでいるのに対して、(4)式〜(6)式の場合には、中心から外側に膨らむようになる。図15は、補正領域の第1象限のみであったが、図16に補正領域の補正後の形状を示す。全体として膨らみのある画像となることが分かる。   As can be seen from FIG. 15, Equations (4) to (6) are part of an ellipse, and in the case of Equations (1) to (3), they are recessed toward the center. In the case of the formulas (4) to (6), it swells outward from the center. FIG. 15 shows only the first quadrant of the correction area, but FIG. 16 shows the corrected shape of the correction area. It can be seen that the overall image is swollen.

ステップS56において補正後座標演算を行うと、次に、第1実施形態と同様に、補正後座標演算により求めた座標位置を補間処理する(S57)。補間演算は、第1実施形態と同様、例えば、最近隣補間、バイリニア補間、バイキュービック補間等の補間演算が利用できる。ステップS57における補間処理を行うと、アンチエージング処理を終了し、元のフローに戻る。   If the post-correction coordinate calculation is performed in step S56, the coordinate position obtained by the post-correction coordinate calculation is interpolated next as in the first embodiment (S57). As in the first embodiment, for example, interpolation calculations such as nearest neighbor interpolation, bilinear interpolation, and bicubic interpolation can be used for the interpolation calculation. When the interpolation process in step S57 is performed, the anti-aging process is terminated and the process returns to the original flow.

なお、(4)式および(5)式における変数A、B、K、M、Gは、第1実施形態の場合と同様、顔年齢に応じた値とする。前述したように、顔検出部4は顔画像に基づいて顔年齢を判定することから、これらの定数は図11に示した例を用いてもよい。   Note that the variables A, B, K, M, and G in the equations (4) and (5) are values according to the face age, as in the first embodiment. As described above, since the face detection unit 4 determines the face age based on the face image, these constants may use the example shown in FIG.

また、図13に示したフローでは、臀部付近に対して補正領域を設定し、この領域に対して膨らみをつける処理を行ったが、この処理に加えて、第1実施形態と同様、胴体部位に補正領域を設定し、この領域に対して痩身処理を行うようにすれば、図12(b)に示すような若々しいボディラインの画像にすることができる。   In the flow shown in FIG. 13, a correction region is set for the vicinity of the buttocks, and a process for applying a bulge to the region is performed. In addition to this process, as in the first embodiment, the body part If a correction area is set in this area and the slimming process is performed on this area, an image of a youthful body line as shown in FIG. 12B can be obtained.

以上、説明したように、本発明の第2実施形態においては、被写体に顔が含まれている場合には(S11Yes)、臀部付近に補正領域を判定し(S13、S14)、この補正領域に対してアンチエージング2補正を施している(S28)。そして、アンチエージング2補正を施す際には、顔画像から顔年齢を判定し、この判定された顔年齢に基づいて、臀部付近の補正領域に対して膨らみをつける処理を施すようにしている。このため、若々しく魅力的なボディラインの画像にすることができる。   As described above, in the second embodiment of the present invention, when the subject includes a face (Yes in S11), a correction area is determined near the buttocks (S13, S14). On the other hand, anti-aging 2 correction is performed (S28). Then, when performing anti-aging 2 correction, the face age is determined from the face image, and based on the determined face age, a process of adding a bulge to the correction region in the vicinity of the buttocks is performed. For this reason, it is possible to create a youthful and attractive bodyline image.

次に、本発明の第3実施形態について、図17を用いて説明する。第1実施形態においては、顔から下側で色の変化が大きい部分を検出結果に基づいて、胴体部位を判定していた。しかし、被写体の服装等の色によっては、胴体部位を判定することができない場合がある。そこで、第3実施形態においては、色の変化で胴体部位を判定することができない場合であっても、胴体部位に対応する領域を補正領域と判定することができるようにしている。   Next, a third embodiment of the present invention will be described with reference to FIG. In the first embodiment, the body part is determined based on the detection result of the portion where the color change is large from the lower side to the face. However, depending on the color of the clothes of the subject, the body part may not be determined. Therefore, in the third embodiment, even when the body part cannot be determined due to a change in color, the region corresponding to the body part can be determined as the correction region.

本実施形態における構成は図1に示した構成と略同様であることから詳しい説明は省略する。また、図3に示したフローチャートを図17に置き換えるので、この相違するフローについて詳しく説明する。本実施形態に係わるアンチエージング処理を実行するための図17に示すアンチエージングモードのフローは、第1実施形態の場合と同様、メニュー画面においてアンチエージングモードが設定された場合にスタートする。図17に示すフローにおいて、第1実施形態における図3に示すフローチャートと同様の処理を実行するステップについては、同一のステップ番号を付し、詳しい説明は省略する。   The configuration in the present embodiment is substantially the same as the configuration shown in FIG. Also, since the flowchart shown in FIG. 3 is replaced with FIG. 17, this different flow will be described in detail. The flow of the anti-aging mode shown in FIG. 17 for executing the anti-aging process according to the present embodiment starts when the anti-aging mode is set on the menu screen, as in the first embodiment. In the flow shown in FIG. 17, steps that execute the same processes as those in the flowchart shown in FIG. 3 in the first embodiment are assigned the same step numbers, and detailed descriptions thereof are omitted.

アンチエージングモードがスタートすると、第1実施形態の場合と同様、撮像取り込みを行い(S1)、この取り込んだ画像データに対して画像処理を行い(S3)、レンズ収差を補正する(S5)。この補正された画像は、一時保存メモリに記録され(S7)、また、被写体像の中に顔画像が含まれているかの顔検出を行い(S9)、この検出に基づいて顔が有るか否かの判定を行う(S11)。   When the anti-aging mode is started, as in the case of the first embodiment, image capturing is performed (S1), image processing is performed on the captured image data (S3), and lens aberration is corrected (S5). The corrected image is recorded in the temporary storage memory (S7), and face detection is performed to determine whether a face image is included in the subject image (S9). Is determined (S11).

ステップS11における判定の結果、顔が検出された場合には、次に、画像を一時保存メモリから読み出し(S12)、顔検出位置から垂直下方向で色変化大であって、水平には色変化の少ない部分まで胴体部位と判定する(S13)。   If the result of determination in step S11 is that a face has been detected, the image is then read from the temporary storage memory (S12), and the color change is large in the vertical downward direction from the face detection position, and the color change horizontally. It is determined that there is a body part up to a small part (S13).

胴体部位の判定を行うと、次に、胴体部位の検出を行うことができたか否かの判定を行う(S15)。ステップS13における胴体部位の判定にあたっては、垂直方向の色の変化が大であって、かつ水平方向には色変化の少ない部分を検出するが、被写体の人物の服装によって、このような色変化の部分を検出することができない場合がある。そこで、ステップS15においては、色変化の部分を判定し、胴体部位を検出することができたか否を判定する。   Once the body part has been determined, it is next determined whether or not the body part has been detected (S15). In the determination of the torso part in step S13, a portion where the color change in the vertical direction is large and the color change in the horizontal direction is small is detected. There are cases where the portion cannot be detected. Therefore, in step S15, the color change part is determined, and it is determined whether or not the body part has been detected.

ステップS15における判定の結果、胴体部位を検出することができた場合には、第1実施形態と同様に、胴体部位下端から上方向に顔サイズ分を補正領域と判定する(S19)。一方、ステップS15における判定の結果、胴体部位を検出することができなかった場合には、レンズ収差補正・アンチエージング処理部5は、検出顔下辺から垂直下方向に顔サイズ3つ分目のY方向位置をY方向補正領域と判定する(S17)。   If the result of determination in step S15 is that the torso part has been detected, the face size is determined as the correction region upward from the lower end of the torso part, as in the first embodiment (S19). On the other hand, if the result of determination in step S15 is that the body part could not be detected, the lens aberration correction / anti-aging processing unit 5 performs Y for the third face size in the vertical downward direction from the detected face lower side. The direction position is determined as the Y direction correction area (S17).

このステップS17において、検出された顔の下辺からY軸ラインに沿って下方に顔のサイズの3個分の位置で、Y軸ラインと直交するX軸方向のラインを補正領域の下辺とする。この下辺は、第1実施形態におけるライン20cに相当するラインである。また、第1実施形態の場合と同様、Y軸ラインに沿って顔のサイズ1個分の位置で、Y軸ラインと直交するX軸方向ラインを補正領域の上辺とする。この上辺は、第1実施形態におけるライン20dに相当するラインである。   In step S17, a line in the X-axis direction orthogonal to the Y-axis line is set as the lower side of the correction area at positions corresponding to three face sizes downward along the Y-axis line from the lower side of the detected face. This lower side is a line corresponding to the line 20c in the first embodiment. Similarly to the case of the first embodiment, an X-axis direction line orthogonal to the Y-axis line is set as the upper side of the correction area at a position corresponding to one face size along the Y-axis line. This upper side is a line corresponding to the line 20d in the first embodiment.

ステップS17またはS19において、Y方向補正領域を判定すると、次に、Y方向補正領域からX方向のプラス方向とマイナス方向の両方について色変化が大となる部分までをX方向補正領域と判定する(S21)。このステップにおいては、レンズ収差補正・アンチエージング処理部5は、X軸方向に沿って色変化大の部分を検出し、補正領域の左辺と右辺に当たる部分を判定する。   If the Y direction correction area is determined in step S17 or S19, the area from the Y direction correction area to the portion where the color change is large in both the positive direction and the negative direction in the X direction is determined as the X direction correction area ( S21). In this step, the lens aberration correction / anti-aging processing unit 5 detects a large color change portion along the X-axis direction, and determines a portion corresponding to the left side and the right side of the correction region.

ステップS21において、X方向補正領域の判定を行うと、次に、X方向補正領域を検出する(S23)。ステップS21におけるX方向補正領域の判定にあたっては、X方向の色の変化が大の部分を検出するが、被写体の人物の服装と背景の関係によっては、このような色変化の部分を検出することができない場合がある。そこで、ステップS23においては、色変化の部分を判定し、X方向補正領域を検出することができたか否を判定する。   Once the X direction correction area is determined in step S21, the X direction correction area is next detected (S23). In the determination of the X direction correction region in step S21, a portion where the color change in the X direction is large is detected. Depending on the relationship between the clothes of the subject person and the background, such a color change portion is detected. May not be possible. Therefore, in step S23, the color change portion is determined, and it is determined whether or not the X direction correction region has been detected.

ステップS23における判定の結果、X方向補正領域を検出することができなかった場合には、検出顔長辺サイズをX方向補正領域と判定する(S25)。ここでは、ステップS17またはS19において判定されたX軸方向の下辺ラインと上辺のラインに沿って、中心点からそれぞれ、検出された顔の長辺方向のサイズで決まるY方向のラインを、それぞれ補正領域の左辺と右辺と判定する。これで、上辺、下辺、左辺、右辺からなる補正領域を決めることができる。   As a result of the determination in step S23, if the X direction correction area cannot be detected, the detected face long side size is determined as the X direction correction area (S25). Here, the lines in the Y direction determined by the size in the long side direction of the detected face are respectively corrected from the center point along the lower side line and the upper side line in the X-axis direction determined in step S17 or S19. Determine the left and right sides of the area. This makes it possible to determine a correction area including the upper side, the lower side, the left side, and the right side.

ステップS25において、X方向領域を判定すると、またはステップS23における判定の結果、X方向補正領域を検出することができた場合には、次に、第1実施形態と同様に、補正領域に対してアンチエージング補正を行う(S27)。このステップでは、顔画像から推定された顔年齢に基づいて、胴体部位のアンチエージング補正を行う。ここでのアンチエージング補正は、図4に示すフローチャートを用いて説明した補正処理と同様であることから、詳しい説明は省略する。   If the X direction area is determined in step S25 or if the X direction correction area can be detected as a result of the determination in step S23, next, as in the first embodiment, with respect to the correction area. Anti-aging correction is performed (S27). In this step, anti-aging correction of the body part is performed based on the face age estimated from the face image. The anti-aging correction here is the same as the correction process described with reference to the flowchart shown in FIG.

ステップS27において補正領域に対してアンチエージング補正を施すと、またはステップS11における判定の結果、検出顔がなかった場合には、第1実施形態の場合と同様、表示部8にスルー画表示を行い(S29)、撮影を行うか判定する(S31)。この判定の結果、撮影でなかった場合には、ステップS1に戻り、一方、撮影であった場合には、画像データの記録を行う(S33)。ステップS28においてアンチエージング2補正が施されている場合には、この補正された画像データが記録される。記録が終わると、アンチエージングモードを終了するか否かの判定を行い(S35)、終了しない場合には、ステップS1に戻り、一方、終了の場合には、アンチエージングモード終了処理を行ってから、アンチエージングモードをオフする。   If anti-aging correction is performed on the correction area in step S27 or if the result of determination in step S11 is that there is no detected face, a through image is displayed on the display unit 8 as in the first embodiment. (S29), it is determined whether to perform photographing (S31). If the result of this determination is that there is no shooting, the process returns to step S1, while if it is shooting, image data is recorded (S33). If anti-aging 2 correction has been performed in step S28, the corrected image data is recorded. When the recording is finished, it is determined whether or not to end the anti-aging mode (S35). If not, the process returns to step S1. If the recording is finished, the anti-aging mode end processing is performed. Turn off anti-aging mode.

以上、説明したように、本発明の第3実施形態においては、被写体像に顔画像が含まれている場合には(S11Yes)、X方向およびY方向の色の変化から胴体部位付近に補正領域を判定するが(S19、S23Yes)、色の変化に基づいて補正領域を判定することができない場合には、顔のサイズを基準にして補正領域を判定するようにしている(S17、S25)。補正領域を設定すると、顔画像から顔年齢を判定し、この判定された顔年齢に基づいて、胴体部位付近の補正領域に対して痩身処理を施すようにしている。このため、色の変化に基づいて補正領域を設定できない場合であっても、体の部位の大きさに基づいて補正領域を設定することが可能となる。   As described above, in the third embodiment of the present invention, when a face image is included in the subject image (Yes in S11), a correction region is located near the body part from the color change in the X direction and the Y direction. However, if the correction area cannot be determined based on the color change, the correction area is determined based on the face size (S17, S25). When the correction area is set, the face age is determined from the face image, and the slimming process is performed on the correction area in the vicinity of the body part based on the determined face age. For this reason, even if it is a case where a correction area cannot be set based on a color change, it becomes possible to set a correction area based on the size of a body part.

なお、本実施形態においては、Y方向の色変化を検出することができなかった場合には、顔のサイズを基準に3倍の位置を、またX方向の色変化を検出することができなかった場合には、顔のサイズを基準に1倍の位置をそれぞれ補正領域の範囲としている。しかし、顔のサイズの何倍かは、適宜、設計値として変更してよく、また、顔以外に肩幅等、他の部位を基準にしてもよい。   In this embodiment, when the color change in the Y direction cannot be detected, it is impossible to detect the position three times the reference size of the face and the color change in the X direction. In such a case, the position of the 1 × position on the basis of the face size is set as the range of the correction area. However, several times the size of the face may be appropriately changed as a design value, and other parts such as a shoulder width may be used as a reference in addition to the face.

また、本実施形態においては、第2実施形態において説明したアンチエージング処理2を実行していないが、第3実施形態と同様に、顔等の人体の部位を基準とした位置で臀部に相当する補正領域を判定し、この補正領域に対してアンチエージング処理2を施すようにしても勿論かまわない。   Further, in the present embodiment, the anti-aging process 2 described in the second embodiment is not executed, but as in the third embodiment, the position corresponds to the buttocks at a position based on a human body part such as a face. Of course, the correction area may be determined, and the anti-aging process 2 may be performed on the correction area.

以上説明したように、本発明の各実施形態においては、被写体像の中に顔画像が検出された場合には、顔画像の人物の胴体部位や臀部等の特定部分に対応する補正領域を判定し、この補正領域に対して痩身処理や膨らみを付ける等のアンチエージング画像処理を施すようにしている。このため、若々しく魅力的なボディラインの画像に修正することができる。   As described above, in each embodiment of the present invention, when a face image is detected in a subject image, a correction area corresponding to a specific portion such as a human body part or a hip part of the face image is determined. The correction area is subjected to anti-aging image processing such as slimming processing and bulging. For this reason, the image can be corrected to a youthful and attractive bodyline image.

なお、本発明の各実施形態においては、特定部位として、胴体部位や臀部を例に挙げて説明したが、これに限らず、二の腕等、他の部位であってもアンチエージング画像処理を適用することができる。また、本発明の各実施形態においては、被写体の年齢は顔画像に基づいて判定したが、これに限らず、腰の曲がり具合等、体型全体や顔以外の部分も考慮して判定するようにしてもよい。   In each embodiment of the present invention, the body part and the buttocks have been described as examples of the specific part. However, the present invention is not limited to this, and the anti-aging image processing is applied to other parts such as the second arm. be able to. In each embodiment of the present invention, the age of the subject is determined based on the face image. However, the present invention is not limited to this, and the determination is made in consideration of the entire body shape and the part other than the face, such as the degree of bending of the waist. May be.

さらに、本発明の各実施形態においては、撮影時のスルー画表示の際に、アンチエージング画像処理を行うようにしていたが、これに限らず、撮影後に記録済みの画像を再生する際に、アンチエージング画像処理を施すようにしてもかまわない。さらに、本発明の各実施形態においては、痩身や膨らみを付けるアンチエージング画像処理を施すにあたって、楕円の式を用いたが、これに限らず、痩身や膨らみを付けることのできる式に置き換えてもよい。   Furthermore, in each embodiment of the present invention, the anti-aging image processing is performed at the time of displaying a through image at the time of shooting, but not limited to this, when playing back a recorded image after shooting, Anti-aging image processing may be performed. Furthermore, in each embodiment of the present invention, the ellipse formula is used in performing the anti-aging image processing for adding slimming and bulging. However, the present invention is not limited to this, and it may be replaced with an equation for adding slimming and bulging. Good.

また、本実施形態においては、撮影のための機器として、デジタルカメラを用いて説明したが、カメラとしては、デジタル一眼レフカメラでもコンパクトデジタルカメラでもよく、ビデオカメラ、ムービーカメラのような動画用のカメラでもよく、さらに、携帯電話や携帯情報端末(PDA:Personal Digital Assist)、ゲーム機器等に内蔵されるカメラでも構わない。   In the present embodiment, the digital camera is used as the photographing device. However, the camera may be a digital single-lens reflex camera or a compact digital camera, and may be used for moving images such as video cameras and movie cameras. It may be a camera, or may be a camera built in a mobile phone, a personal digital assistant (PDA), a game machine, or the like.

本発明は、上記実施形態にそのまま限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素の幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   The present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, you may delete some components of all the components shown by embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

1・・・画像処理および制御部、2・・・撮影光学系、3・・・撮像部、4・・・顔検出部、4a・・・部位検出部、5・・・レンズ収差補正・アンチエージング処理部、6・・・圧縮部、7・・・一時記憶メモリ、7a・・・フラッシュROM、9・・・記録部、10・・・操作部、20・・・被写体、20a・・・顔、20b・・・Y軸ライン、20c・・・ライン、20d・・・ライン、20e・・・ライン、31・・・中心点、32・・・右上点、100・・・カメラ DESCRIPTION OF SYMBOLS 1 ... Image processing and control part, 2 ... Imaging optical system, 3 ... Imaging part, 4 ... Face detection part, 4a ... Site | part detection part, 5 ... Lens aberration correction and anti Aging processing unit, 6 ... compression unit, 7 ... temporary storage memory, 7a ... flash ROM, 9 ... recording unit, 10 ... operation unit, 20 ... subject, 20a ... Face, 20b ... Y-axis line, 20c ... Line, 20d ... Line, 20e ... Line, 31 ... Center point, 32 ... Upper right point, 100 ... Camera

Claims (9)

取り込んだ画像を表示する表示手段と、
顔画像と年齢との関係を示す顔年齢情報を記憶する記憶手段と、
上記表示手段に表示されている画像の顔の位置を検出する顔検出手段と、
上記記憶手段に記憶されている顔年齢情報に基づいて、上記顔検出手段によって検出された顔画像の顔年齢を判定する判定手段と、
上記顔検出手段によって検出された顔画像に対応する胴体部分の領域を、補正する領域として特定する補正領域特定手段と、
上記判定された顔画像の顔年齢に基づいて、上記特定された胴体部分の領域に痩身処理を施すアンチエージング処理手段と、
上記表示手段に表示されている画像を、上記アンチエージング処理手段によって上記痩身処理が施された画像に変更する表示変更手段と、
を具備したことを特徴とする画像処理装置。
Display means for displaying the captured image;
Storage means for storing face age information indicating a relationship between a face image and age;
Face detection means for detecting the position of the face of the image displayed on the display means;
Determination means for determining the face age of the face image detected by the face detection means based on the face age information stored in the storage means;
Correction area specifying means for specifying a body part area corresponding to the face image detected by the face detection means as a correction area;
Anti-aging processing means for performing slimming processing on the region of the identified torso portion based on the determined face age of the face image;
Display changing means for changing the image displayed on the display means to an image subjected to the slimming process by the anti-aging processing means;
An image processing apparatus comprising:
上記補正領域特定手段が特定する補正領域は、
鼻の中心と、眼と眼の中心を通り、上記顔画像を略二分する中心軸をY軸とした際、上記顔画像を有する画像内において、当該Y軸と略垂直な方向の色変化の大きい部分を仮想直線として特定し、当該仮想直線上において色変化の大きい部分を両端部とした一辺と、
上記仮想直線から上記顔画像へY軸方向に沿って所定距離だけ近づいた長さを有する一辺と、
からなる長方形状の領域であることを特徴とする請求項1に記載の画像処理装置。
The correction area specified by the correction area specifying means is
When the center axis that passes through the center of the nose and the eyes and bisects the face image is the Y axis, the color change in the direction substantially perpendicular to the Y axis in the image having the face image A large part is identified as a virtual straight line, and one side with both ends of the part with a large color change on the virtual straight line,
A side having a length close to the face image from the virtual straight line by a predetermined distance along the Y-axis direction;
The image processing apparatus according to claim 1, wherein the image processing apparatus is a rectangular area.
上記補正領域特定手段が特定する補正領域は、
鼻の中心と、眼と眼の中心を通り、上記顔画像を略二分する中心軸をY軸とした際、上記顔画像を有する画像内において、上記Y軸方向に沿って上記顔画像の端部から顔画像のサイズの略3倍の位置で上記Y軸と略直交線を仮想直線として特定し、当該仮想直線上において色変化の大きい部分を両端部とした一辺と、
上記仮想直線から上記顔画像へY軸方向に沿って所定距離だけ近づいた長さを有する一辺と、
からなる長方形状の領域であることを特徴とする請求項1に記載の画像処理装置。
The correction area specified by the correction area specifying means is
In the image having the face image, the edge of the face image along the Y-axis direction when the center axis that passes through the center of the nose and the eyes and substantially bisects the face image is defined as the Y-axis. The Y axis and a substantially orthogonal line at a position that is approximately three times the size of the face image from the part as a virtual straight line, and one side with the large color change on the virtual straight line as both ends;
A side having a length close to the face image from the virtual straight line by a predetermined distance along the Y-axis direction;
The image processing apparatus according to claim 1, wherein the image processing apparatus is a rectangular area.
上記アンチエージング処理手段は、上記特定された長方形状の補正領域の中心位置を通り上記Y軸と垂直な方向をX軸とした場合に、中心位置と長方形形状の補正領域の角を結んだ直線が当該X軸となす角度をθ、中心位置と長方形状の補正領域の角とを結んだ直線の長さを1、元画像に修正画像を合わせるための画像調整用係数をM、痩身度を表わす係数をG、YがSINθのとき1になるように設定された係数をK、楕円の形状を決定するための係数をA、B、とした際に、
X’=(X/A+Y/B)*K*M*COSθ
K=(1−G)/SINθ*Y+G
Y’=Y
を満たすように補正することを特徴とする請求項2又は3に記載の画像処理装置。
The anti-aging processing means is a straight line connecting the center position and the corner of the rectangular correction area when the direction perpendicular to the Y axis passes through the central position of the identified rectangular correction area as the X axis. Is θ, the length of the straight line connecting the center position and the angle of the rectangular correction region is 1, the image adjustment coefficient for matching the corrected image with the original image is M, and the slimming degree is Assuming that the coefficient to be expressed is G and the coefficient set to be 1 when Y is SINθ is K, and the coefficients for determining the shape of the ellipse are A and B,
X ′ = (X 2 / A 2 + Y 2 / B 2 ) * K * M * COSθ
K = (1-G) / SINθ * Y + G
Y '= Y
The image processing apparatus according to claim 2, wherein correction is performed so as to satisfy.
上記アンチエージング処理手段は、上記特定された長方形状の補正領域の中心位置を通り上記Y軸と垂直な方向をX軸とした場合に、中心位置と長方形形状の補正領域の角を結んだ直線が当該X軸となす角度をθ、中心位置と長方形状の補正領域の角とを結んだ直線の長さを1、元画像に修正画像を合わせるための画像調整用係数をM、痩身度を表わす係数をG、YがSINθのとき1になるように設定された係数をK、楕円の形状を決定するための係数をA、B、楕円の向きを表わす係数をS1(ここでS1=0、またはS1=1),S2(ここでS2=1またはS2=−1)とした際に、
X’=2*S1+(X/A+Y/B)*K*M*COSθ*S2
K=(1−G)/SINθ*Y+G
Y’=Y
を満たすように補正することを特徴とする請求項2又は3に記載の画像処理装置。
The anti-aging processing means is a straight line connecting the center position and the corner of the rectangular correction area when the direction perpendicular to the Y axis passes through the central position of the identified rectangular correction area as the X axis. Is θ, the length of the straight line connecting the center position and the angle of the rectangular correction region is 1, the image adjustment coefficient for matching the corrected image with the original image is M, and the slimming degree is Coefficients to be represented are G, K is a coefficient set to be 1 when Y is SINθ, A and B are coefficients for determining the shape of the ellipse, and S1 is a coefficient representing the direction of the ellipse (where S1 = 0) Or S1 = 1), S2 (where S2 = 1 or S2 = −1)
X ′ = 2 * S1 + (X 2 / A 2 + Y 2 / B 2 ) * K * M * COSθ * S2
K = (1-G) / SINθ * Y + G
Y '= Y
The image processing apparatus according to claim 2, wherein correction is performed so as to satisfy.
上記画像処理装置は、スルー画を表示可能なデジタルカメラであって、上記表示手段は撮像されたスルー画を表示し、上記顔検出手段は当該スルー画として撮像された人物の顔を検出することを特徴とする請求項1乃至5に記載の画像処理装置。   The image processing apparatus is a digital camera capable of displaying a through image, the display means displays a captured through image, and the face detection means detects a human face imaged as the through image. The image processing apparatus according to claim 1, wherein: 被写体像を画像データに変換する撮像手段と、
上記画像データに基づいて、上記被写体像の中の顔画像の位置を検出する顔検出手段と、
顔画像と年齢との関係を示す顔年齢情報を記憶する記憶手段と、
上記記憶手段に記憶されている顔年齢情報に基づいて、上記顔検出手段によって検出された上記顔画像の顔年齢を判定する判定手段と、
上記顔検出手段によって検出された顔画像の人物の特定部分の領域を、補正する領域として特定する補正領域特定手段と、
上記判定された顔画像の顔年齢に基づいて、上記特定部分の領域にアンチエージング画像処理を施すアンチエージング処理手段と、
上記アンチエージング処理手段によって上記アンチエージング画像処理が施された画像を表示する表示手段と、
を具備したことを特徴とする画像処理装置。
Imaging means for converting a subject image into image data;
Face detection means for detecting the position of the face image in the subject image based on the image data;
Storage means for storing face age information indicating a relationship between a face image and age;
Determination means for determining the face age of the face image detected by the face detection means based on the face age information stored in the storage means;
Correction area specifying means for specifying the area of the specific portion of the person in the face image detected by the face detection means as an area to be corrected;
Anti-aging processing means for performing anti-aging image processing on the region of the specific portion based on the face age of the determined face image;
Display means for displaying the image subjected to the anti-aging image processing by the anti-aging processing means;
An image processing apparatus comprising:
被写体像の中の顔画像の位置を検出する顔検出手段と、
顔画像と年齢との関係を示す顔年齢情報を記憶する記憶手段と、
上記記憶手段に記憶されている顔年齢情報に基づいて、上記顔検出手段によって検出された上記顔画像の顔年齢を判定する判定手段と、
上記顔検出手段によって検出された顔画像の人物の特定部分の領域を、補正する領域として特定する補正領域特定手段と、
上記判定された顔画像の顔年齢に基づいて、上記特定部分の領域にアンチエージング画像処理を施すアンチエージング処理手段と、
上記アンチエージング処理手段によって上記アンチエージング画像処理が施された画像を表示する表示手段と、
を具備したことを特徴とする画像処理装置。
Face detection means for detecting the position of the face image in the subject image;
Storage means for storing face age information indicating a relationship between a face image and age;
Determination means for determining the face age of the face image detected by the face detection means based on the face age information stored in the storage means;
Correction area specifying means for specifying the area of the specific portion of the person in the face image detected by the face detection means as an area to be corrected;
Anti-aging processing means for performing anti-aging image processing on the region of the specific portion based on the face age of the determined face image;
Display means for displaying the image subjected to the anti-aging image processing by the anti-aging processing means;
An image processing apparatus comprising:
被写体像を画像データに変換するステップと、
上記画像データに基づいて、上記被写体像の中の顔画像の位置を検出するステップと、
上記検出された顔画像の人物の特定部分の領域を、補正する領域として特定するステップと、
顔画像と年齢との関係を示す顔年齢情報を記憶する記憶部に記憶されている顔年齢情報を読み出し、上記顔年齢情報に基づいて上記検出された上記顔画像の顔年齢を判定し、上記判定された顔画像の顔年齢に基づいて、上記特定部分の領域にアンチエージング画像処理を施すステップと、
上記アンチエージング画像処理が施された画像を表示するステップと、
を具備することを特徴とする画像処理方法。
Converting a subject image into image data;
Detecting a position of a face image in the subject image based on the image data;
Identifying a region of a specific portion of the person in the detected face image as a region to be corrected;
Read the face age information stored in the storage unit that stores the face age information indicating the relationship between the face image and the age, determine the face age of the detected face image based on the face age information, and Applying anti-aging image processing to the region of the specific portion based on the determined face age of the face image;
Displaying the image subjected to the anti-aging image processing;
An image processing method comprising:
JP2010129629A 2010-06-07 2010-06-07 Image processing apparatus and image processing method Pending JP2011259053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010129629A JP2011259053A (en) 2010-06-07 2010-06-07 Image processing apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010129629A JP2011259053A (en) 2010-06-07 2010-06-07 Image processing apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2011259053A true JP2011259053A (en) 2011-12-22

Family

ID=45474786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010129629A Pending JP2011259053A (en) 2010-06-07 2010-06-07 Image processing apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2011259053A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014002445A (en) * 2012-06-15 2014-01-09 Furyu Kk Image process device, method and program
WO2014192577A1 (en) * 2013-05-31 2014-12-04 ソニー株式会社 Image processing device, image processing method, and program
CN108520221A (en) * 2018-03-30 2018-09-11 百度在线网络技术(北京)有限公司 Method, apparatus, storage medium and the terminal device of build identification
JP2021518964A (en) * 2018-07-25 2021-08-05 ベイジン センスタイム テクノロジー デベロップメント カンパニー, リミテッド Image processing methods, devices and computer storage media

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014002445A (en) * 2012-06-15 2014-01-09 Furyu Kk Image process device, method and program
WO2014192577A1 (en) * 2013-05-31 2014-12-04 ソニー株式会社 Image processing device, image processing method, and program
US9754362B2 (en) 2013-05-31 2017-09-05 Sony Corporation Image processing apparatus, image processing method, and program
CN108520221A (en) * 2018-03-30 2018-09-11 百度在线网络技术(北京)有限公司 Method, apparatus, storage medium and the terminal device of build identification
JP2021518964A (en) * 2018-07-25 2021-08-05 ベイジン センスタイム テクノロジー デベロップメント カンパニー, リミテッド Image processing methods, devices and computer storage media
JP7138769B2 (en) 2018-07-25 2022-09-16 ベイジン・センスタイム・テクノロジー・デベロップメント・カンパニー・リミテッド Image processing method, device and computer storage medium

Similar Documents

Publication Publication Date Title
JP4825093B2 (en) Image pickup apparatus with camera shake correction function, camera shake correction method, and camera shake correction processing program
JP5397751B2 (en) Camera and image correction method
KR101156991B1 (en) Image capturing apparatus, image processing method, and recording medium
KR101817657B1 (en) Digital photographing apparatus splay apparatus and control method thereof
JP5036599B2 (en) Imaging device
US9113075B2 (en) Image processing method and apparatus and digital photographing apparatus using the same
KR102400283B1 (en) Image processing apparatus, image processing method, and program
JP5950678B2 (en) Imaging apparatus, control method, and program
JP2008244803A (en) Imaging device
JP5650351B2 (en) Imaging apparatus and electronic viewfinder display method
JP6529533B2 (en) Imaging device, control method of imaging device, and program
KR100926133B1 (en) Method and apparatus for producing and taking digital contents
JP2011259053A (en) Image processing apparatus and image processing method
WO2018196854A1 (en) Photographing method, photographing apparatus and mobile terminal
JP2020102059A (en) Image processor
JP5248951B2 (en) CAMERA DEVICE, IMAGE SHOOTING SUPPORT DEVICE, IMAGE SHOOTING SUPPORT METHOD, AND IMAGE SHOOTING SUPPORT PROGRAM
JP6016622B2 (en) Imaging apparatus, control method therefor, and program
WO2015198478A1 (en) Image distortion correction apparatus, information processing apparatus and image distortion correction method
JP2018142983A (en) Image processing device and method of controlling the same, program, and storage medium
JP7198055B2 (en) Image processing device, its control method, and program
JP2022083147A (en) Imaging apparatus, imaging method, program, and recording medium
JP2014131188A (en) Imaging apparatus, control method of the same, and control program
US20230419459A1 (en) Image processing apparatus, imaging apparatus, image processing method, and recording medium background
JP7458769B2 (en) Image processing device, imaging device, image processing method, program and recording medium
JP6873815B2 (en) Image processing equipment, imaging equipment, image processing methods, programs, and storage media