JP2552727B2 - Face area detection method for photographic originals - Google Patents

Face area detection method for photographic originals

Info

Publication number
JP2552727B2
JP2552727B2 JP1111086A JP11108689A JP2552727B2 JP 2552727 B2 JP2552727 B2 JP 2552727B2 JP 1111086 A JP1111086 A JP 1111086A JP 11108689 A JP11108689 A JP 11108689A JP 2552727 B2 JP2552727 B2 JP 2552727B2
Authority
JP
Japan
Prior art keywords
face
area
size
photographic
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1111086A
Other languages
Japanese (ja)
Other versions
JPH02287531A (en
Inventor
隆章 寺下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP1111086A priority Critical patent/JP2552727B2/en
Priority to US07/515,897 priority patent/US5128711A/en
Publication of JPH02287531A publication Critical patent/JPH02287531A/en
Priority to US08/076,172 priority patent/US5369463A/en
Application granted granted Critical
Publication of JP2552727B2 publication Critical patent/JP2552727B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、写真フイルム,電子スチールカメラの磁気
フロッピィやメモリカード等に記録された画像の中から
人物の顔の部分を検出する顔領域検出方法に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is directed to face area detection for detecting a face portion of a person from an image recorded in a photographic film, a magnetic floppy of an electronic still camera, a memory card or the like. It is about the method.

〔従来の技術〕[Conventional technology]

写真原画には、主要画像の他に背景画像が記録されて
いるが、ハードコピィの作製に際しては主要画像の濃度
及びカラーバランスが適正に仕上がっていれば、たとえ
背景画像の仕上がり不適正であっても、プリント良好と
されることが多い。
A background image is recorded in addition to the main image on the photographic original image. However, even if the background image is not properly finished if the density and color balance of the main image are properly finished when the hard copy is made. , Print is often good.

主要画像の殆どは人物の顔であるから、写真原画に記
録された画像の中から顔の部分を抽出し、この顔の部分
が適正に仕上がるように、ハードコピィを再現する方法
が知られている。例えば写真フィルムに関しては、特開
昭52−156624号公報があり、これに記載された露光制御
方法では、ポジ画像での肌色に相当するネガの色(以
下、これを肌色という)が予め定義されている。そし
て、コマをスキャンして得た各点の色濃度と比較して、
各点の画素が肌色かどうかを判定する。次に、抽出した
肌色の画素から構成される領域の平均色濃度を算出し、
この平均色濃度を用いて焼付露光量を決定する。この方
法は、露光制御方法としては優れているが、肌色画素の
抽出が難しいために、例えば肌の色と似ている壁等が含
まれていると、この部分を肌と誤認するという問題があ
る。
Since most of the main images are human faces, it is known to extract the face part from the image recorded in the original picture and reproduce the hard copy so that the face part is finished properly. . For example, regarding a photographic film, there is JP-A-52-156624, and in the exposure control method described therein, a negative color (hereinafter, referred to as a skin color) corresponding to a skin color in a positive image is defined in advance. ing. Then, compare the color density of each point obtained by scanning the frame,
It is determined whether the pixel at each point has a skin color. Next, calculate the average color density of the area composed of the extracted skin color pixels,
This average color density is used to determine the printing exposure amount. This method is excellent as an exposure control method, but since it is difficult to extract skin color pixels, there is a problem that, for example, if a wall similar to the skin color is included, this portion is mistaken for skin. is there.

そこで、物体と人物の肌との誤認を防止するために、
コマをモニタに表示し、これを観察して顔の部分の一部
をライトペン等で指定することで、この指定された画素
と同一又は類似した色を持った画素を自動抽出し、それ
により顔領域を決定するようにした主要画像検出方法が
知られている(特開昭62−189456号公報)。
Therefore, in order to prevent misidentification of objects and human skin,
By displaying the frame on the monitor and observing it and specifying a part of the face part with a light pen etc., pixels with the same or similar color as this specified pixel are automatically extracted, and A main image detecting method for determining a face area is known (Japanese Patent Laid-Open No. 62-189456).

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

前述した主要画像検出方法では、誤認防止に効果があ
るが、ライトペンで人物の顔の部分をいちいち指定しな
ければならないため、操作が面倒であるという欠点があ
る。
The above-described main image detection method is effective in preventing misidentification, but has a drawback that the operation is troublesome because the face portion of a person must be designated with a light pen.

本発明は、特別な操作を行うことなく、顔領域を正確
に検出することができるようにした写真原画の顔領域検
出方法を提供することを目的とするものである。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a face area detection method for a photographic original image, which enables the face area to be accurately detected without performing a special operation.

〔課題を解決するための手段〕[Means for solving the problem]

上記目的を達成するために、本発明は、写真撮影時に
撮影レンズの焦点距離データと被写体距離データとを記
録し、ハードコピィの作製時にこれらのデータを読み取
って顔のサイズを決定し、この顔サイズに対して、写真
原画上で顔と推定される領域のサイズを比較することに
より、この領域が顔領域かどうかを判定するようにした
ものである。また、請求項2記載の発明は、被写体の写
真原画への撮影倍率に基づき顔の平均的なサイズから写
真原画上での顔のサイズを決定し、この顔サイズに対し
て、写真原画上で顔と推定される領域のサイズを比較す
ることにより、この領域が顔領域かどうかを判定するよ
うにしたものである。
In order to achieve the above-mentioned object, the present invention records the focal length data and the object distance data of a taking lens at the time of taking a photograph, reads these data at the time of making a hard copy, and determines the size of the face. On the other hand, by comparing the sizes of the regions estimated to be faces on the original photograph image, it is determined whether or not this region is a face region. In the invention according to claim 2, the face size on the photographic original image is determined from the average size of the face based on the photographing magnification of the photographic subject on the photographic original image. By comparing the sizes of areas estimated to be faces, it is determined whether or not this area is a face area.

〔作用〕[Action]

請求項1記載の発明では、写真撮影時に記録した撮影
レンズの焦点距離と被写体距離とから、人物の顔のサイ
ズを決定し、顔と推定される領域のサイズと顔サイズと
を比較して顔領域かどうかを判定する。
According to the first aspect of the present invention, the size of the face of the person is determined from the focal length of the photographing lens and the subject distance recorded at the time of photographing, and the size of the region estimated to be the face is compared with the face size. Determine if it is a region.

また、請求項2記載の発明では、被写体の写真原画へ
の撮影倍率に基づき顔の平均的なサイズから写真原画上
での顔のサイズを決定し、顔と推定される領域のサイズ
と顔サイズとを比較して顔領域かどうか判定する。
Further, in the invention according to claim 2, the size of the face on the photographic original image is determined from the average size of the face based on the photographing magnification of the photographic original image of the subject, and the size of the area estimated to be the face and the face size. And is compared to determine whether the area is a face area.

〔実施例〕〔Example〕

以下、本発明を写真カメラに適用した実施例について
説明する。
Examples in which the present invention is applied to a photographic camera will be described below.

第1図は被写体距離データ及び焦点距離データを記録
するカメラを示すものである。撮影レンズ10は、光学系
10aとこれを保持するレンズ鏡胴10bとから構成されてお
り、レンズ移動機構11によって光軸12に沿って移動す
る。このレンズ移動機構11は、例えば距離計に連動した
操作部材13で作動される。またレンズ移動機構11は、ポ
テンショメータ等のセンサー14を作動させ、撮影レンズ
10の移動量(直線的変位又は回転量)を電気信号に変換
し、これをバーコード変換回路15に送る。なお、このセ
ンサー14は、操作部材13又は撮影レンズ10の位置を検出
してもよい。更に、センサー14としては、撮影レンズ10
の移動量をリニアに変換するものの他に、撮影レンズ10
の移動範囲を複数に分割し、これらの範囲毎に変化した
ゾーン信号を発生するものも用いることができる。
FIG. 1 shows a camera for recording subject distance data and focal length data. The shooting lens 10 is an optical system.
It is composed of 10a and a lens barrel 10b that holds it, and is moved along an optical axis 12 by a lens moving mechanism 11. The lens moving mechanism 11 is operated by, for example, an operation member 13 which is linked to a range finder. Further, the lens moving mechanism 11 activates a sensor 14 such as a potentiometer to activate the photographing lens.
The movement amount (linear displacement or rotation amount) of 10 is converted into an electric signal, and this is sent to the bar code conversion circuit 15. The sensor 14 may detect the position of the operation member 13 or the taking lens 10. Furthermore, as the sensor 14, the taking lens 10
In addition to the linear conversion of the movement amount of
It is also possible to use one that divides the movement range of the above into a plurality of parts and generates a zone signal that changes for each of these ranges.

焦点距離信号発生回路16は、撮影レンズ10の焦点距離
を表す信号を発生してこれをバーコード変換回路15に送
る。このバーコード変換回路15は、バーコードデータを
ドライバ17に送る。このドライバ17は、バーコード記録
装置18を駆動して、バーコードを表された被写体距離デ
ータ,焦点距離データを写真フイルム19に記録する。こ
の実施例では、バーコード記録装置18は、バーコードを
表示する液晶ディスプレイ20と、これを照明する閃光放
電管21とから構成され、被写体の撮影と同時又はその前
後に、画面19aとフィルムエッジとの間に被写体距離デ
ータと焦点距離データとを写し込む。
The focal length signal generation circuit 16 generates a signal representing the focal length of the taking lens 10 and sends it to the bar code conversion circuit 15. The barcode conversion circuit 15 sends the barcode data to the driver 17. The driver 17 drives the bar code recording device 18 to record the object distance data and the focal length data represented by the bar code on the photographic film 19. In this embodiment, the bar code recording device 18 is composed of a liquid crystal display 20 for displaying a bar code and a flash discharge tube 21 for illuminating the bar code, and at the same time as or before or after photographing a subject, a screen 19a and a film edge. Subject distance data and focal length data are imprinted between and.

撮影レンズ10の背後には、シャッタ機構25が配置され
ている。このシャッタ機構25は、例えば2枚のシャッタ
羽根26,27から構成されており、各シャッタ羽根26,27に
は切欠き26a,27aがそれぞれ形成されている。これらの
シャッタ羽根26,27は、駆動機構28によって可動ピン29
が固定ピン30に向かって移動する際に、固定ピン30を中
心にして離れる方向に移動して切欠き26a,27aを重ね
る。この切欠き26a,27aが重なった部分が開口し、これ
を通った光が写真フイルム19に入射し、これに被写体を
写し込む。
A shutter mechanism 25 is arranged behind the taking lens 10. The shutter mechanism 25 is composed of, for example, two shutter blades 26 and 27, and notches 26a and 27a are formed in the shutter blades 26 and 27, respectively. These shutter blades 26 and 27 are moved by a drive mechanism 28 to a movable pin 29.
When moving toward the fixed pin 30, the fixed pin 30 is moved in the direction away from the fixed pin 30 so that the notches 26a and 27a are overlapped. The overlapping portions of the notches 26a and 27a are opened, and the light passing through the notches 26a and 27a is incident on the photographic film 19 and the subject is photographed therein.

第2図はバーコードを記録した写真フイルムの例を示
すものである。この写真フイルム19には、一定間隔でパ
ーフォレーション19bが穿孔されており、このパーフォ
レーション19bを巻止め装置のセンサーが検出すること
により1コマ送りが行われる。パーフォレーション19b
の反対側に、バーコードで表された被写体距離データ3
2,焦点距離データ33が写し込まれており、写真現像によ
って可視像に変換される。
FIG. 2 shows an example of a photographic film on which a bar code is recorded. Perforations 19b are perforated at regular intervals in the photographic film 19, and the perforations 19b are detected by a sensor of a winding stop device to feed one frame. Perforation 19b
On the opposite side of the, subject distance data 3 represented by a bar code
2. The focal length data 33 is imprinted and converted into a visible image by photographic development.

第3図は写真プリンタを示すものである。光源35から
放出された白色光は、シアンフイルタ36,マゼンタフィ
ルタ37,イエローフイルタ38を通ってからミキシングボ
ックス39に入る。これらの色補正フイルタ36〜38は、フ
イルタ調節部40によって光路41への挿入量が調節され、
それにより焼付光の三色光成分及びその強度が調節され
る。前記ミキシングボックス39は、内面がミラー面とな
った角筒の両端部に拡散板を取り付けたものである。
FIG. 3 shows a photographic printer. The white light emitted from the light source 35 enters the mixing box 39 after passing through the cyan filter 36, the magenta filter 37, and the yellow filter 38. For these color correction filters 36 to 38, the amount of insertion into the optical path 41 is adjusted by the filter adjustment unit 40,
Thereby, the three-color light components of the printing light and the intensity thereof are adjusted. In the mixing box 39, diffusion plates are attached to both ends of a rectangular tube whose inner surface is a mirror surface.

フイルムキャリヤ44はプリント位置に配置されてお
り、現像済み写真フイルム19がセットされ、ミキシング
ボックス39を透過した光で照明される。この写真フイル
ム19の平坦性を確保するために、プリント位置の上にフ
イルムマスク45が設けられている。このフイルムマスク
45は、周知のようにコマのサイズに対応した開口が形成
されており、写真フイルム19の移送時に、ソレノイド
(図示せず)によって浮き上がり、プリント時に写真フ
イルム19を押え付けるようになっている。
The film carrier 44 is arranged at the print position, and the developed photographic film 19 is set and illuminated by the light transmitted through the mixing box 39. In order to ensure the flatness of the photographic film 19, a film mask 45 is provided above the print position. This film mask
As is well known, the opening 45 is formed corresponding to the size of the frame, and when the photo film 19 is transferred, it is lifted by a solenoid (not shown) and presses the photo film 19 during printing.

前記プリント位置の手前に、バーコードリーダ46が配
置されており、プリント位置に送られる際に、各コマに
記録された被写体距離データ32,焦点距離データ33が読
み取られる。この読み取ったデータは、デコーダ47に送
られてデコードされてから、演算部48に送られる。
A bar code reader 46 is arranged in front of the print position, and when sent to the print position, the subject distance data 32 and the focal length data 33 recorded in each frame are read. The read data is sent to the decoder 47 and decoded, and then sent to the calculation unit 48.

また、プリント位置の斜め上方には、レンズ50とイメ
ージエリヤセンサー51とから構成されたスキャナー52が
配置されており、プリント位置にセットされたコマの各
点の透過光を測定する。このスキャナー52の信号は、A/
D変換器53でデジタル信号に変換されてから、対数変換
器54で対数変換される。この対数変換器54で濃度信号に
変換されてから演算部48に送られ、顔領域の抽出と、顔
領域の有無による焼付露光量演算式の選択,選択した演
算式による焼付露光量の演算が行われ、得られた各色の
焼付露光量がコントローラ55に送られる。
Further, a scanner 52 including a lens 50 and an image area sensor 51 is arranged diagonally above the print position, and the transmitted light at each point of the frame set at the print position is measured. The signal of this scanner 52 is A /
After being converted to a digital signal by the D converter 53, it is logarithmically converted by the logarithmic converter 54. The logarithmic converter 54 converts the density signal and sends the density signal to the calculation unit 48. The extraction of the face area, the selection of the printing exposure amount calculation formula based on the presence or absence of the face region, and the calculation of the printing exposure amount by the selected calculation formula are performed. The printing exposure amount of each color obtained is sent to the controller 55.

プリント位置の上方には、焼付レンズ58が配置されて
おり、ペーパーマスク59の背後に配置したカラーペーパ
60に、セットされたコマの画像を拡大投影する。この焼
付レンズ58とカラーペーパー60との間には、シャッタ駆
動部61で開閉が制御されるシャッタ62が配置されてい
る。
A printing lens 58 is placed above the print position, and the color paper placed behind the paper mask 59 is
The image of the set frame is enlarged and projected on 60. A shutter 62 whose opening and closing is controlled by a shutter driving unit 61 is arranged between the printing lens 58 and the color paper 60.

第4図は演算部の機能を示すものである。メモリ66に
は、画面の各店を測光して得た各画素の三色濃度(赤色
濃度(赤色濃度R,緑色濃度G,青色濃度B)が記憶されて
いる。この三色濃度は、露光量演算時に読み出されて肌
色画素抽出部67に送られ、ここで肌色の画素が抽出され
る。この肌色抽出に際しては、メモリ68に記憶され肌色
の定義を参照して行われる。この肌色は、例えば第5図
に示すように、濃度差(R−G),(G−B)を軸とす
直交座標において楕円で定義されており、画素の濃度差
がこの楕円内に含まれるものは肌色であると判定され
る。この楕円の他に、矩形,菱形等で肌色範囲を定義す
ることができる。
FIG. 4 shows the function of the arithmetic unit. The memory 66 stores the three-color density (red density (red density R, green density G, blue density B)) of each pixel obtained by photometry of each shop on the screen. It is read out at the time of calculation and sent to the flesh color pixel extraction unit 67, where the flesh color pixels are extracted. The flesh color extraction is performed by referring to the flesh color definition stored in the memory 68. For example, as shown in FIG. 5, an ellipse is defined in an orthogonal coordinate system having density differences (R−G) and (G−B) as axes, and a pixel density difference included in this ellipse is a skin color. In addition to this ellipse, the skin color range can be defined by a rectangle, a rhombus, or the like.

肌色画素であると判定された画素の位置は、肌色領域
決定部69に送られ、ここで肌色画素から構成された閉じ
た領域を肌色領域と判定し、次に肌色領域のサイズを算
出する。このサイズとしては、輪郭上の2点を結ぶ直線
のうちの最も長いものの長さであっても、演算を簡単に
するために肌色画素の個数を面積の代わりに用いてもよ
い。
The position of the pixel determined to be the skin color pixel is sent to the skin color region determination unit 69, where the closed region composed of the skin color pixel is determined to be the skin color region, and then the size of the skin color region is calculated. As the size, even if the length is the longest of the straight lines connecting two points on the contour, the number of skin color pixels may be used instead of the area in order to simplify the calculation.

他方、メモリ72には被写体距離データが記憶され、ま
たメモリ73には撮影レンズ10の焦点距離データが記憶さ
れている。演算部74はこれらのデータを用いて、次式か
ら写真フイルム19に記録された人物の顔のサイズSを求
める。
On the other hand, the memory 72 stores subject distance data, and the memory 73 stores focal length data of the taking lens 10. The arithmetic unit 74 uses these data to obtain the size S of the face of the person recorded in the photo film 19 from the following equation.

S=S0×f/(L−f) ここで、各記号は次の通りである。S = S 0 × f / (L−f) Here, each symbol is as follows.

S0:顔の平均的なサイズ(長さ) L:被写体距離 f:焦点距離 f/(L−f):撮影倍率であり、実際には被写体の写真
原画への縮小率 を表す。
S 0 : Average face size (length) L: Subject distance f: Focal length f / (L−f): Shooting magnification, which actually represents the reduction ratio of the subject to the original picture.

なお、上記式は顔サイズSとして長さを用いる場合の
ものであるが、顔サイズSとして面積を用いる場合に
は、周知のように、顔の平均的なサイズ(面積)に対し
て上記撮影倍率の二乗を乗じて顔サイズS(面積)を求
める。判定部75は、算出された顔のサイズSと、抽出さ
れた肌色領域のサイズとを比較し、顔サイズSと同じか
類似の場合に、この肌色領域を顔領域であると判定す
る。この顔領域の位置座標は、特徴値抽出部76に送ら
れ、顔の仕上がりを重視して焼付露光量を決定する演算
式の特徴値が抽出される。すなわち、特徴値抽出部76
は、メモリ66から顔領域の画素の色濃度を読み出し、こ
れらの画素の色濃度からその平均値を算出する。更に、
この特徴値抽出部76は、画面内の最大値や最小値,ある
いは画面中央部や周辺部等の特定エリアの平均濃度等も
算出する。得られた特徴値は演算部77に送られ、肌色重
視の焼付露光量演算式77aに代入される。他方、特徴値
抽出部78は、一般的な焼付露光量演算式77bに用いられ
る特徴値を抽出する。これらの焼付露光量演算式の具体
例については、例えば特開昭62−189456号公報に詳しく
記載されている。
It should be noted that the above equation is for the case where length is used as the face size S, but when using the area as the face size S, as is well known, the above-mentioned shooting is performed for an average face size (area). The face size S (area) is obtained by multiplying the square of the magnification. The determination unit 75 compares the calculated face size S with the size of the extracted skin color area, and when the size S is the same as or similar to the face size S, determines this skin color area to be a face area. The position coordinates of the face area are sent to the characteristic value extracting unit 76, and the characteristic value of the arithmetic expression for determining the exposure amount for printing is extracted with an emphasis on the finish of the face. That is, the feature value extraction unit 76
Reads the color densities of pixels in the face area from the memory 66 and calculates the average value from the color densities of these pixels. Furthermore,
The feature value extraction unit 76 also calculates the maximum value and the minimum value in the screen, the average density of a specific area such as the central portion and the peripheral portion of the screen, and the like. The obtained feature value is sent to the calculation unit 77, and is substituted into the skin-color-oriented printing exposure amount calculation formula 77a. On the other hand, the characteristic value extraction unit 78 extracts the characteristic value used in the general printing exposure calculation formula 77b. Specific examples of these baking exposure amount calculation formulas are described in detail, for example, in JP-A-62-189456.

演算式選択部79は、コマ19a内に顔領域が存在してい
る場合には焼付露光量演算式77aを選択し、そして存在
しない場合には焼付露光量演算式77bを選択する。この
選択した演算式から求めた焼付露光量はコントローラ55
に送られる。
The arithmetic expression selection unit 79 selects the printing exposure amount arithmetic expression 77a when the face area exists in the frame 19a, and selects the printing exposure amount arithmetic expression 77b when it does not exist. The printing exposure amount obtained from this selected calculation formula is the controller 55
Sent to

次に、上記実施例の作用について説明する。写真撮影
に際しては、カメラを主要被写体に向けて構図を決定し
てから、操作部材13を操作する。この操作部材13に連動
してレンズ駆動機構11が撮影レンズ10を光軸12に沿って
移動させて焦点調節を行う。この焦点調節時に、センサ
ー14は撮影レンズ10の位置を検出して、信号をバーコー
ド変換回路15に送る。また、焦点距離信号発生回路16
は、撮影レンズ10の焦点距離信号をバーコード変換回路
15を送る。
Next, the operation of the above embodiment will be described. When taking a picture, the camera is aimed at the main subject, the composition is determined, and then the operation member 13 is operated. The lens driving mechanism 11 interlocks with the operation member 13 to move the taking lens 10 along the optical axis 12 to adjust the focus. During this focus adjustment, the sensor 14 detects the position of the taking lens 10 and sends a signal to the barcode conversion circuit 15. In addition, the focal length signal generation circuit 16
Is a barcode conversion circuit for the focal length signal of the shooting lens 10.
Send 15

焦点調節後に、レリーズボタンを押下すれば、駆動機
構28は駆動ピン29を往復動させ、シャッタ機構28を開閉
して撮影を行う。
After the focus adjustment, if the release button is pressed, the drive mechanism 28 causes the drive pin 29 to reciprocate, and the shutter mechanism 28 is opened / closed to perform photographing.

写真撮影と同時又はその前後に、バーコード変換回路
15は、被写体距離と焦点距離とをバーコードに変換し、
これをドライブ17に送る。このドライブ17は、バーコー
ド記録装置38を駆動し、まず液晶ディスプレイ39で被写
体距離と焦点距離を表すバーコードを表示する。この表
示が安定した時点で閃光放電管40を発光させ、第2図に
示すように被写体距離データ32,焦点距離データ33を画
面19aの周辺部に写し込む。
Bar code conversion circuit at the same time as before or after taking a picture
15 converts the subject distance and the focal length into a barcode,
This is sent to drive 17. The drive 17 drives the barcode recording device 38, and first displays a barcode indicating the subject distance and the focal length on the liquid crystal display 39. When this display becomes stable, the flash discharge tube 40 is caused to emit light, and the subject distance data 32 and the focal length data 33 are imprinted on the periphery of the screen 19a as shown in FIG.

1本分の写真フイルム19の撮影が終了すると、カメラ
から写真フイルム19が取り出されて写真現像所に提出さ
れる。写真現像所では、写真フイルム19を現像処理し
て、潜像で記録された各コマ及び各コマ毎に記録したデ
ータを可視像に変換する。
When the filming of one photo film 19 is completed, the photo film 19 is taken out from the camera and submitted to the photo lab. At the photo developing station, the photo film 19 is developed to convert each frame recorded as a latent image and the data recorded for each frame into a visible image.

現像処理された写真フイルム19は、第3図に示す写真
プリンタのフイルムキャリア44に装填される。この写真
フイルム19は、フイルムキャリア44上で移送される際
に、第6図に示すようにバーコードリーダ46でコマ19a
の周辺部に記録した被写体距離データ32,焦点距離デー
タ33が読み取られる。この第6図は顔領域の検出の実施
例を示すものである。読み取ったデータ32〜33はデコー
ダ47でデコードされてから、演算部48に送られる。この
演算部48は、これらのデータを用いて写真フイルム19上
での顔サイズSを算出する。
The developed photographic film 19 is loaded into the film carrier 44 of the photographic printer shown in FIG. When the photo film 19 is transferred on the film carrier 44, it is read by the bar code reader 46 as shown in FIG.
The subject distance data 32 and the focal length data 33 recorded in the peripheral portion of are read. FIG. 6 shows an embodiment of face area detection. The read data 32 to 33 are decoded by the decoder 47 and then sent to the calculation unit 48. The calculation unit 48 calculates the face size S on the photographic film 19 using these data.

コマ19aがプリント位置にセットされると、スキャナ
ー52は、コマ19aの各点について赤色,緑色,青色の透
過光をそれぞれ測定する。この三色の測光値は、A/D変
換処理,対数変換処理を受けた後に演算部48に送られ
る。
When the top 19a is set at the print position, the scanner 52 measures red, green, and blue transmitted light at each point on the top 19a. The photometric values of the three colors are sent to the calculation unit 48 after undergoing A / D conversion processing and logarithmic conversion processing.

各画素の測光後に、演算部48は肌色の画素を抽出し、
次に肌色画素で構成された肌色領域を決定する。この肌
色領域と顔サイズSとを比較し、顔サイズSと同じか類
似の場合には、これを顔領域であると判定する。全ての
肌色領域の判定が終了すると、シーン分類が行われる。
このシーン分類では、顔領域が存在する場合にはこれを
人物撮影シーンであると判定し、そうでない場合にはそ
の他の撮影シーンであると判定する。人物撮影シーンに
対しては、焼付露光量演算式77aに特徴値抽出部76から
抽出した特徴値を代入して焼付露光量を算出する。他
方、その他のシーンに対しては、焼付露光量演算式77b
に特徴値抽出部78から抽出した特徴値を代入して焼付露
光量を算出する。
After photometry of each pixel, the calculation unit 48 extracts the flesh color pixel,
Next, a skin color area constituted by skin color pixels is determined. The skin color area and the face size S are compared, and if the same or similar to the face size S, it is determined to be a face area. When the determination of all skin color areas is completed, scene classification is performed.
In this scene classification, if a face area exists, it is determined to be a person shooting scene, and if not, it is determined to be another shooting scene. For a person shooting scene, the printing exposure amount is calculated by substituting the feature value extracted from the feature value extraction unit 76 into the printing exposure amount calculation formula 77a. On the other hand, for other scenes, the printing exposure amount calculation formula 77b
Substituting the feature value extracted from the feature value extraction unit 78 into the, the printing exposure amount is calculated.

焼付露光量の算出後に、コントローラ55は焼付露光量
に応じて色補正フイルタ36〜38の光路41への挿入量を調
節する。このフイルタ調節後に、シャッタ62が一定時間
だけ開き、コマ19aをカラーペーパー60に焼付露光す
る。以下、同様にして各コマを順次カラーペーパー60に
写真焼付する。
After the printing exposure amount is calculated, the controller 55 adjusts the insertion amount of the color correction filters 36 to 38 into the optical path 41 according to the printing exposure amount. After this filter adjustment, the shutter 62 is opened for a fixed time, and the frame 19a is printed and exposed on the color paper 60. Thereafter, similarly, each frame is sequentially printed on the color paper 60.

第7図は顔領域の検出の別の実施例を示すものであ
る。この実施例では、輪郭検出によって丸みのある閉じ
た輪郭をコマの中から抽出する。次に、丸みのある領域
のサイズと顔サイズSとを比較し、顔サイズと同じか類
似の場合に、この領域を顔領域であると判定する。
FIG. 7 shows another embodiment of face area detection. In this embodiment, a rounded closed contour is extracted from the frame by contour detection. Next, the size of the rounded area is compared with the face size S, and when the size is the same as or similar to the face size, this area is determined to be the face area.

また、被写体距離に対する顔のパターンをメモリに記
憶しておき、被写体距離データから対応する基準顔パタ
ーンを選択し,パターンマッチング処理により、基準顔
パターンに一致又は類似したパターンをコマの中から抽
出し、これを顔領域であると判定してもよい。なお、顔
のパターンは、向きによって異なるから、向きを変えた
いくつかの基準顔パターンをメモリに記憶させておくの
がよい。
In addition, a face pattern corresponding to the subject distance is stored in a memory, a corresponding reference face pattern is selected from the subject distance data, and a pattern matching process extracts a pattern matching or similar to the reference face pattern from the frame. It may be determined that this is a face area. Since the face pattern differs depending on the orientation, it is preferable to store some reference face patterns with different orientations in the memory.

第8図はオートフォーカス装置を示すものである。測
距センサーユニット82は、レンズ83とラインセンサー84
とからなる受光部と、レンズ85と光源86とからなる投光
部とから構成されている。レリーズボタンが半押しされ
た測距時には、投光部からスポット状の近赤外光が被写
体に向けて投光され、ここで反射された光がラインセン
サー84に入射する。このラインセンサー84の出力信号は
測距回路87に送られ、ラインセンサー84のどの位置に反
射光が入射したかについて調べられる。この入射位置か
ら被写体距離が検出され、この被写体距離の信号がレン
ズセット機構88に送られる。このレンズセット機構88
は、レリーズボタンが完全に押下された時に、被写体距
離に応じた位置に撮影レンズ10をセットする。
FIG. 8 shows an autofocus device. The distance measuring sensor unit 82 includes a lens 83 and a line sensor 84.
And a light emitting section including a lens 85 and a light source 86. At the time of distance measurement when the release button is pressed halfway, spot-like near infrared light is projected from the light projecting portion toward the subject, and the light reflected here is incident on the line sensor 84. The output signal of the line sensor 84 is sent to the distance measuring circuit 87, and the position of the line sensor 84 at which the reflected light is incident is checked. The subject distance is detected from this incident position, and a signal of this subject distance is sent to the lens setting mechanism 88. This lens set mechanism 88
Sets the taking lens 10 at a position according to the subject distance when the release button is completely pressed.

前記測距回路87から出力された被写体距離の信号は、
バーコード変換回路15に送られ、被写体距離データ32と
して焦点距離データとともに、写真フイルム19に写し込
まれる。
The object distance signal output from the distance measuring circuit 87 is
It is sent to the bar code conversion circuit 15 and is photographed on the photographic film 19 together with the focal length data as subject distance data 32.

前記実施例では、被写体距離データをバーコードで表
しているが、この代わりに発光ダイオード等で表示され
る光学マークを用いてもよい。また、被写体距離データ
と焦点距離データの代わりに、カメラ中で求めた顔サイ
ズを記録してもよい。また、前記実施例では、顔サイズ
Sとして長さを用いたが、サイズは長さだけでなく面積
や周囲長さも用いられることは周知であり、これらを用
いた顔サイズとしてもよい。
In the above embodiment, the object distance data is represented by a bar code, but an optical mark displayed by a light emitting diode or the like may be used instead. Further, instead of the subject distance data and the focal length data, the face size obtained in the camera may be recorded. Further, in the above embodiment, the length is used as the face size S, but it is well known that not only the length but also the area and the peripheral length are used, and the face size using these may be used.

更に、写真フイルムに記録する代わりに、カメラにIC
カードをセットしてこれに記録したり、あるいはパトロ
ーネに記録してもよい。また、固定焦点距離の撮影レン
ズを用いた電子スチールカメラでは、画像データととも
に被写体距離データが磁気フロッピィやメモリカードに
書き込まれる。この場合には、焦点距離データは既知で
あるので被写体距離から上記撮影倍率が求められ、これ
に基づき顔サイズSが算出される。
In addition, instead of recording on the photo film, the IC on the camera
A card may be set and recorded on it, or may be recorded on a cartridge. In an electronic still camera using a fixed focal length photographing lens, subject distance data is written together with image data in a magnetic floppy or a memory card. In this case, since the focal length data is known, the photographing magnification is obtained from the subject distance, and the face size S is calculated based on this.

〔発明の効果〕〔The invention's effect〕

上記構成を有する本発明では、撮影時に記録した撮影
レンズの焦点距離と被写体距離とから人物の顔のサイズ
を決定し、または、被写体の写真原画への撮影倍率に基
づき顔の平均的なサイズから写真原画上での顔のサイズ
を決定し、顔と推定される領域のサイズと顔サイズとを
比較して顔領域かどうかを判定しているから、特別な操
作を要することなく、顔領域を正確に検出することがで
きる。
In the present invention having the above configuration, the size of the face of the person is determined from the focal length of the photographing lens and the subject distance recorded at the time of photographing, or from the average size of the face based on the photographing magnification of the photographed original image of the subject. The size of the face on the original image of the photograph is determined, and the size of the area estimated to be the face is compared with the face size to determine whether the area is the face area. Can be accurately detected.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明を実施する写真カメラを示す概略図であ
る。 第2図は写真フイルムのデータ記録例を示す説明図であ
る。 第3図は本発明を実施する写真プリンタの概略図であ
る。 第4図は焼付露光量を算出する演算部の機能ブロック図
である。 第5図は肌色の範囲を示すグラフである。 第6図及び第7図は顔領域の検出手順を示すフローチャ
ートである。 第8図はオートフォーカス装置を示すブロック図であ
る。 10……撮影レンズ 18……バーコード記録装置 19……写真フイルム 20……液晶ディスプレイ 21……閃光放電管 32……被写体距離データ 33……焦点距離データ 46……バーコードリーダ 52……スキャナー 60……カラーペーパー 84……ラインセンサー 86……光源。
FIG. 1 is a schematic diagram showing a photographic camera embodying the present invention. FIG. 2 is an explanatory diagram showing an example of data recording of a photo film. FIG. 3 is a schematic diagram of a photographic printer embodying the present invention. FIG. 4 is a functional block diagram of a calculation unit that calculates the printing exposure amount. FIG. 5 is a graph showing the range of skin color. 6 and 7 are flowcharts showing the procedure for detecting the face area. FIG. 8 is a block diagram showing the autofocus device. 10 …… Shooting lens 18 …… Bar code recorder 19 …… Photo film 20 …… LCD display 21 …… Flash discharge tube 32 …… Subject distance data 33 …… Focal distance data 46 …… Bar code reader 52 …… Scanner 60 …… Color paper 84 …… Line sensor 86 …… Light source.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】写真撮影時に撮影レンズの焦点距離データ
と被写体距離データとを記録し、写真焼付時にこれらの
データを読み取って顔のサイズを決定し、この顔サイズ
に対して、写真原画上で顔と推定される領域のサイズを
比較することにより、この領域が顔領域かどうかを判定
することを特徴とする写真原画の顔領域検出方法。
1. A focal length data of a taking lens and a subject distance data are recorded at the time of taking a photograph, the face size is determined by reading these data at the time of printing a photograph, and the face size is determined on the original image of the photograph. A face area detection method for a photographic original image, which comprises determining whether or not this area is a face area by comparing sizes of areas estimated to be faces.
【請求項2】被写体の写真原画への撮影倍率に基づき顔
の平均的なサイズから写真原画上での顔サイズを決定
し、この顔サイズに対して、写真原画上で顔と推定され
る領域のサイズを比較することにより、この領域が顔領
域かどうかを判定することを特徴とする写真原画の顔領
域検出方法。
2. A face size on a photographic original image is determined from an average size of the face based on a photographing magnification of the photographic subject to the photographic original image, and an area estimated to be a face on the photographic original image is determined for this face size. A method for detecting a face area in a photographic original image, which comprises determining whether or not this area is a face area by comparing the sizes of the areas.
JP1111086A 1989-04-28 1989-04-28 Face area detection method for photographic originals Expired - Lifetime JP2552727B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP1111086A JP2552727B2 (en) 1989-04-28 1989-04-28 Face area detection method for photographic originals
US07/515,897 US5128711A (en) 1989-04-28 1990-04-27 Apparatus for recording position information of principal image and method of detecting principal image
US08/076,172 US5369463A (en) 1989-04-28 1993-06-14 Apparatus for recording position information of principal image and method of detecting principal image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1111086A JP2552727B2 (en) 1989-04-28 1989-04-28 Face area detection method for photographic originals

Publications (2)

Publication Number Publication Date
JPH02287531A JPH02287531A (en) 1990-11-27
JP2552727B2 true JP2552727B2 (en) 1996-11-13

Family

ID=14552029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1111086A Expired - Lifetime JP2552727B2 (en) 1989-04-28 1989-04-28 Face area detection method for photographic originals

Country Status (1)

Country Link
JP (1) JP2552727B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006508463A (en) * 2002-11-29 2006-03-09 ソニー・ユナイテッド・キングダム・リミテッド Face detection

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5463470A (en) * 1991-10-09 1995-10-31 Fuji Photo Film Co., Ltd. Methods of collecting photometric image data and determining light exposure by extracting feature image data from an original image

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006508463A (en) * 2002-11-29 2006-03-09 ソニー・ユナイテッド・キングダム・リミテッド Face detection

Also Published As

Publication number Publication date
JPH02287531A (en) 1990-11-27

Similar Documents

Publication Publication Date Title
US5128711A (en) Apparatus for recording position information of principal image and method of detecting principal image
EP0821265B1 (en) Method of making photographic prints
US5289227A (en) Method of automatically controlling taking exposure and focusing in a camera and a method of controlling printing exposure
JP2552727B2 (en) Face area detection method for photographic originals
JPH07306483A (en) Method for detecting face area in photographic picture frame
JP2509703B2 (en) Cameras and photo printers that record major parts
JP2728995B2 (en) How to make a print photo
JP2509702B2 (en) Photo print method
JP2888558B2 (en) Photo printing method
JP2571852B2 (en) Auto focus camera
JP2798182B2 (en) Photo printing method
JP2553196B2 (en) Photo print method
JP2552724B2 (en) Photo printing method
JP2553197B2 (en) Camera and photo printing method
JP2695325B2 (en) How to make a print photo
JPH0355536A (en) Photographic printing method
JP2506191B2 (en) Photo printing method
JP2801985B2 (en) How to make a print photo
JP2638673B2 (en) Camera and photo printer
JPH0572649A (en) Method for forming photographic print
JP3084460B2 (en) Baking treatment equipment
JPH0338628A (en) Camera and photographic printing method
JP2529416B2 (en) Photo print method
JPH04156530A (en) Photograph printing method, camera and photographic printer
JPH0311332A (en) Camera and photographic printing method

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20070822

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 13