JPH09197575A - Exposure deciding method and exposure controller - Google Patents

Exposure deciding method and exposure controller

Info

Publication number
JPH09197575A
JPH09197575A JP8007699A JP769996A JPH09197575A JP H09197575 A JPH09197575 A JP H09197575A JP 8007699 A JP8007699 A JP 8007699A JP 769996 A JP769996 A JP 769996A JP H09197575 A JPH09197575 A JP H09197575A
Authority
JP
Japan
Prior art keywords
image
exposure amount
complexity
exposure
original image
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
JP8007699A
Other languages
Japanese (ja)
Inventor
Takaaki Terashita
隆章 寺下
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 JP8007699A priority Critical patent/JPH09197575A/en
Publication of JPH09197575A publication Critical patent/JPH09197575A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Exposure In Printing And Copying (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently obtain an exposure capable of appropriately printing a main object, irrespective of the image contents of an original image to be printed. SOLUTION: After photo-measuring the image recorded on a negative film and fetching in the image data (100 and 102), a face area extraction processing is executed (104), the degree of complexity C of the image is calculated, based on the number of extracted face areas and the variation of the size, etc., (106), the original image is classified into either of n classes 1 to n previously set in accordance with the complexity of the image constitution (108). An exposure operation expression is decided at every class so that the participation degree of the image characteristics of the face area extracted from the image to the decision of the exposure may become larger as the class of lower complexity and that the participation degree may become smaller as the class of higher complexity, the exposure amount operation expression corresponding to the previously classified class is taken in so as to calculate the exposure then, the image is printed (110 to 114).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は露光量決定方法及び
露光制御装置に係り、特に、主要被写体に相当する領域
が適正に焼付けされるように露光量を決定する露光量決
定方法、及び該露光量決定方法を適用可能な露光制御装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exposure amount determining method and an exposure control apparatus, and more particularly, to an exposure amount determining method for determining an exposure amount so that an area corresponding to a main subject is appropriately printed. The present invention relates to an exposure control device to which a quantity determination method can be applied.

【0002】[0002]

【従来の技術】カラーネガフィルムに記録された画像は
画面全体としてR、G、Bの各成分色光を透過させる
が、大多数の画像は統計的に前記各成分色光の透過割合
が略等しいか、一定の割合であることが知られている。
このため、写真焼付装置では一般に、次の(1)式に基
づいて露光量を決定している。
2. Description of the Related Art An image recorded on a color negative film transmits R, G, and B component color lights as a whole screen, but the majority of images statistically have the transmission ratios of the component color lights substantially equal to each other. It is known to be a fixed percentage.
Therefore, in the photo printing apparatus, the exposure amount is generally determined based on the following equation (1).

【0003】 logEj =Sj ・(DNj −Dj )+Kj …(1) 但し、logEは露光量の対数、Kは定数、Dは測光系
で測光した画像の積算透過濃度(LATD)、DNは写
真焼付装置の条件設定用の基準画像(所謂目玉ネガ)の
濃度、Sはスロープ係数、jはR、G、Bの何れかを表
す。上記の露光量演算式を用いることにより、大多数の
画像に対し主要被写体としての人物の顔を適正に焼付け
できる適正な露光量を得ることができる。
LogEj = Sj. (DNj-Dj) + Kj (1) where logE is the logarithm of the exposure amount, K is a constant, D is the cumulative transmission density (LATD) of the image measured by the photometric system, and DN is the photoprint. The density of a reference image (so-called eyeball negative) for setting the condition of the apparatus, S is a slope coefficient, and j is one of R, G, and B. By using the above exposure amount calculation formula, it is possible to obtain an appropriate exposure amount capable of properly printing the face of a person as a main subject on a large number of images.

【0004】しかし、上記の露光量演算式は、ストロボ
を用いて撮影した画像や逆光のシーンを撮影した画像等
のように背景部分に広面積に亘って濃度が極端に高い、
又は低い部分が存在している画像(所謂濃度フェリアが
生じている画像)や、背景部分に広面積に亘って特定の
色に偏倚している部分が存在している画像(所謂カラー
フェリアが生じている画像)に対し、背景部分の濃度や
色の影響を受け、主要被写体としての人物の顔に相当す
る部分を適正に焼付けできる適正な露光量を得ることが
できない、という問題がある。
However, the above exposure amount calculation formula has an extremely high density over a wide area in the background portion such as an image photographed using a strobe or an image photographed in a backlit scene.
Or an image in which a low portion exists (an image in which so-called density ferria occurs), or an image in which a background is biased to a specific color over a wide area (a so-called color ferria occurs) Image) which is affected by the density and color of the background portion, and there is a problem in that it is not possible to obtain an appropriate exposure amount capable of properly printing the portion corresponding to the face of the person as the main subject.

【0005】このため、(1)式により求めた露光量E
を各種の画像特徴量(例えば画像中の濃度の最大値、最
小値、画像の画面中心部の平均濃度、画面周辺部の平均
濃度等)に応じて補正したり、(1)式における画像の
積算透過濃度Dを前記各種の画像特徴量に応じて修正し
て露光量Eを演算することも行われているが、前述の濃
度フェリアやカラーフェリアが生じている画像等に対し
ては、適正な露光量の得率が充分ではないのが実情であ
る。濃度フェリアやカラーフェリアが生じている画像に
対して適正な露光量を得るには、背景部分の濃度を無視
し、人物の顔に相当する顔領域の濃度が適正になるよう
に露光量を決定する必要がある。
Therefore, the exposure amount E obtained by the equation (1)
Is corrected according to various image feature amounts (for example, the maximum and minimum values of the density in the image, the average density of the central portion of the screen of the image, the average density of the peripheral portion of the screen, etc.), The integrated transmission density D is corrected according to the various image feature amounts to calculate the exposure amount E, but it is appropriate for an image in which the above-described density ferria or color ferria occurs. The reality is that the yield of such a large amount of exposure is not sufficient. To obtain an appropriate exposure amount for an image with density feria or color feria, ignore the density of the background part and determine the exposure amount so that the density of the face area corresponding to the human face becomes appropriate. There is a need to.

【0006】このため、画像から顔領域を抽出し、抽出
した顔領域の濃度に基づいて露光量を決定する技術の一
例として、特開昭 52-156624号公報には、2次元又は3
次元の色座標上に予め定めた色領域に含まれる測定点を
肌色と定義し、肌色と判断した測定点の数が13個以上
ある場合に、画像中に肌色があると判定し、肌色部分の
濃度を用いて露光量を決定する技術が記載されている。
Therefore, as an example of the technique for extracting the face area from the image and determining the exposure amount based on the density of the extracted face area, Japanese Patent Laid-Open No. 52-156624 discloses two-dimensional or three-dimensional.
The measurement points included in a predetermined color area on the three-dimensional color coordinates are defined as skin colors, and when there are 13 or more measurement points determined to be skin colors, it is determined that there is a skin color in the image, and the skin color part A technique for determining the amount of exposure using the density of is described.

【0007】また、画像から顔領域を抽出する技術の他
の例として、特開平4-346332号公報には、カラー原画像
を多数画素に分割し各画素毎に3色に分解して測光し、
測光により得られたデータに基づいて色相値(及び彩度
値)についてのヒストグラムを求め、求めたヒストグラ
ムを山毎に分割し、各画素が分割した山の何れに属する
かを判断して各画素を分割した山に対応する群に分け、
各群毎にカラー原画像を複数の領域に分割し、該複数の
領域のうち主要部としての人物の顔に相当する領域を推
定し、推定した領域の測光データに基づいて露光量を決
定することが提案されている。
As another example of a technique for extracting a face area from an image, Japanese Patent Laid-Open No. 4-346332 discloses a color original image divided into a large number of pixels, and each pixel is divided into three colors for photometry. ,
A histogram of hue values (and saturation values) is obtained based on the data obtained by photometry, the obtained histogram is divided into mountains, and it is determined to which of the divided mountains each pixel belongs. Divided into groups corresponding to the divided mountains,
The color original image is divided into a plurality of regions for each group, a region corresponding to a human face as a main part of the plurality of regions is estimated, and the exposure amount is determined based on the estimated photometric data of the region. Is proposed.

【0008】[0008]

【発明が解決しようとする課題】しかし、従来より提案
されている各種の顔領域抽出方法は、画像中の人物の顔
に相当する領域を確実に抽出することはできないのが実
情であり、画像中の顔ではない領域を顔領域として誤抽
出することがあった。このため、画像中の顔領域をオペ
レータが指定して露光量を決定する方式(例えば特開昭
62-115430号公報等)と比較して、適正な露光量を得ら
れる得率が低いという問題があった。
However, the various face area extraction methods proposed hitherto cannot reliably extract the area corresponding to the face of a person in the image. A region other than the inside face may be erroneously extracted as a face region. For this reason, a method in which the operator specifies the face area in the image to determine the exposure amount (for example, Japanese Patent Laid-Open No.
62-115430, etc.), there is a problem that the yield of obtaining an appropriate exposure amount is low.

【0009】すなわち、従来より提案されている各種の
顔領域抽出方法は、特に、多数の被写体が存在している
画像に対する顔領域抽出精度が低く、例えば町中を背景
として撮影したポートレイトで、近景として、主要被写
体としての人物や該人物が所持しているバッグ等、中景
として数名の人物、車、商店や該商店に陳列されている
品物、ディスプレイ、街路樹、地面等、遠景として多数
の人物、ビル、空、地面、車、街路樹、看板等の被写体
が各々存在している画像、或いは家庭内のパーティーシ
ーンを撮影した画像で、数名の人物、前景としてのテー
ブル及び該テーブル上の食物、置物、周囲の家具、壁の
装飾品等の被写体が存在している画像等に対し、主要被
写体としての人物の顔のみを抽出することは非常に困難
であり、顔領域を誤抽出する可能性が高い。
That is, the various face area extraction methods proposed hitherto have a low face area extraction accuracy particularly for an image in which a large number of subjects are present. For example, in a portrait shot in the background of a town, As a near view, a person as a main subject and a bag carried by the person, such as several persons as a middle view, a car, a store, an article displayed in the store, a display, a roadside tree, a ground, etc. Images of many people, buildings, sky, ground, cars, street trees, signs, etc., or images of party scenes at home, with several people, a table as the foreground, and It is very difficult to extract only the face of a person as the main subject from images such as food, figurines, furniture around the table, and objects with wall decorations. It is likely to be extracted.

【0010】本発明は上記事実を考慮して成されたもの
で、焼付けすべき原画像の画像内容に拘らず、主要被写
体を適正に焼付けできる露光量を高い得率で得ることが
できる露光量決定方法を得ることが目的である。
The present invention has been made in consideration of the above facts, and it is possible to obtain an exposure amount capable of properly printing a main subject with a high yield regardless of the image content of an original image to be printed. The purpose is to obtain a decision method.

【0011】また本発明は、焼付けすべき原画像の画像
内容に拘らず、高い確率で、主要被写体が適正に焼付け
されるように原画像を焼付けることができる露光制御装
置を得ることが目的である。
It is another object of the present invention to provide an exposure control apparatus capable of printing an original image with a high probability so that the main subject is properly printed regardless of the image content of the original image to be printed. Is.

【0012】[0012]

【課題を解決するための手段】前述したように、従来よ
り提案されている各種の顔領域抽出方法は、多数の被写
体が存在している画像、すなわち構成(画像内容)が複
雑(特に背景に相当する部分の構成が複雑)な画像に対
しての抽出精度が低いので、構成が複雑な画像に対し前
記顔領域抽出方法を適用して抽出した人物の顔に相当す
ると推定される領域の画像特徴量に基づいて露光量を決
定しても適正な露光量が得られない確率が高い。
As described above, the various face area extraction methods proposed hitherto have complicated images (i.e., backgrounds) in which an image in which a large number of subjects are present is present. An image of a region estimated to correspond to the face of a person extracted by applying the face region extraction method to an image having a complicated structure because the extraction accuracy for an image having a complicated structure is low) Even if the exposure amount is determined based on the characteristic amount, there is a high probability that an appropriate exposure amount cannot be obtained.

【0013】本願発明者は、上記のように構成が複雑な
画像は、その画像の平均濃度に基づく露光量に対して補
正量は小さく、人物の顔に相当すると推定される領域の
画像特徴量が露光量の決定に関与する度合いが小さくな
るようにして露光量を決定した方が適正な露光量が得ら
れる確率が高いこと、また前述の各種の顔領域抽出方法
は構成が複雑でない画像から人物の顔に相当すると推定
される領域を抽出する抽出精度は高く、これらの画像は
上記補正量が大きいため、人物の顔に相当すると推定さ
れる領域の画像特徴量が露光量の決定に関与する度合い
が大きくなるようにして露光量を決定した方が適正な露
光量が得られる確率が高いことに想到し、本発明を成す
に至った。
The inventor of the present application has found that an image having a complicated structure as described above has a small correction amount with respect to an exposure amount based on the average density of the image, and an image feature amount of an area estimated to correspond to a human face. It is more likely that an appropriate exposure amount will be obtained if the exposure amount is determined so that it is less involved in the determination of the exposure amount. Since the extraction accuracy of extracting a region estimated to correspond to a person's face is high and these images have a large correction amount, the image feature amount of the region estimated to correspond to a person's face is involved in determining the exposure amount. The inventors have come to the conclusion that it is more likely that an appropriate exposure amount will be obtained if the exposure amount is determined so that the degree to be performed becomes larger, and the present invention has been completed.

【0014】このため、請求項1記載の発明に係る露光
量決定方法は、原画像の構成の複雑さを判定し、判定し
た原画像の構成の複雑さが低くなるに従って前記原画像
から抽出した主要被写体に相当すると推定される領域の
画像特徴量が露光量の決定に関与する度合いが大きくな
り、前記複雑さが高くなるに従って前記原画像から抽出
した主要被写体に相当すると推定される領域の画像特徴
量が露光量の決定に関与する度合いが小さくなるよう
に、原画像の露光量を決定する。
Therefore, in the exposure amount determining method according to the first aspect of the present invention, the complexity of the structure of the original image is judged, and the original image is extracted from the original image as the structure of the judged original image becomes lower. An image of a region estimated to correspond to the main subject extracted from the original image as the image feature amount of the region estimated to correspond to the main subject becomes more involved in determining the exposure amount and the complexity increases. The exposure amount of the original image is determined so that the feature amount is less involved in the determination of the exposure amount.

【0015】請求項1記載の発明では、原画像の構成の
複雑さを判定し、例えば原画像の構成の複雑さが低いと
判定した場合には、原画像から抽出した主要被写体に相
当すると推定される領域の画像特徴量が露光量の決定に
関与する度合いが大きくなるように露光量が決定され、
例えば原画像の構成の複雑さが低いと判定した場合に
は、原画像から抽出した主要被写体に相当すると推定さ
れる領域の画像特徴量が露光量の決定に関与する度合い
が小さくなるように露光量が決定されることになる。
According to the first aspect of the present invention, when the complexity of the structure of the original image is determined and, for example, when the complexity of the structure of the original image is determined to be low, it is estimated that it corresponds to the main subject extracted from the original image. The exposure amount is determined so that the degree of the image feature amount of the region to be involved in determining the exposure amount increases,
For example, when it is determined that the complexity of the original image is low, the exposure is performed so that the image feature amount of the area estimated to correspond to the main subject extracted from the original image is less involved in determining the exposure amount. The amount will be determined.

【0016】このように請求項1の発明では、原画像の
構成の複雑さを判定し、判定した原画像の複雑さの高低
に応じて、適正な露光量が得られる確率が高くなるよう
に、原画像から抽出した主要被写体に相当すると推定さ
れる領域の画像特徴量が露光量の決定に関与する度合い
が変更されて露光量が決定されるので、焼付けすべき原
画像の画像内容に拘らず、主要被写体を適正に焼付けで
きる露光量を高い得率で得ることができる。
As described above, according to the first aspect of the present invention, the complexity of the structure of the original image is determined, and the probability that an appropriate exposure amount can be obtained increases according to the determined level of complexity of the original image. , The exposure amount is determined by changing the degree to which the image feature amount of the area estimated to correspond to the main subject extracted from the original image is involved in the determination of the exposure amount. In other words, it is possible to obtain an exposure amount with which a main subject can be properly printed at a high rate.

【0017】請求項2記載の発明に係る露光量決定方法
は、画像の構成の複雑さに応じた複数のクラスを予め定
めると共に、前記複雑さが低いクラスほど画像から抽出
した主要被写体に相当すると推定される領域の画像特徴
量が露光量の決定に関与する度合いが大きくなり、前記
複雑さが高いクラスほど画像から抽出した主要被写体に
相当すると推定される領域の画像特徴量が露光量の決定
に関与する度合いが小さくなるように、各クラス毎に露
光量演算式を予め定めておき、原画像の構成の複雑さを
判定して原画像を前記複数のクラスの何れかに分類し、
分類したクラスに対応する露光量演算式を用いて原画像
の露光量を決定する。
In the exposure amount determining method according to the second aspect of the present invention, a plurality of classes are determined in advance according to the complexity of the image structure, and the less complex class corresponds to the main subject extracted from the image. The image feature amount of the estimated region is more involved in the determination of the exposure amount, and the image feature amount of the region estimated to correspond to the main subject extracted from the image in the higher complexity class determines the exposure amount. In order to reduce the degree of involvement in the, exposure amount calculation formula is determined in advance for each class, the complexity of the original image is determined, and the original image is classified into one of the plurality of classes,
The exposure amount of the original image is determined using the exposure amount arithmetic expression corresponding to the classified class.

【0018】請求項2記載の発明では、画像の構成の複
雑さが低いクラスほど画像から抽出した主要被写体に相
当すると推定される領域の画像特徴量が露光量の決定に
関与する度合いが大きくなり、前記複雑さが高いクラス
ほど画像から抽出した主要被写体に相当すると推定され
る領域の画像特徴量が露光量の決定に関与する度合いが
小さくなるように各クラス毎に露光量演算式を定めてい
るので、例えば原画像の構成の複雑さが低い場合には、
該原画像が構成の複雑さが低いクラスに分類され、分類
されたクラスに対応する露光量演算式を用いて露光量が
決定され、原画像から抽出した主要被写体に相当すると
推定される領域の画像特徴量が露光量の決定に関与する
度合いが大きくなるようにして露光量が決定されること
になる。
According to the second aspect of the invention, the lower the complexity of the image structure, the greater the degree that the image feature amount of the area estimated to correspond to the main subject extracted from the image is involved in determining the exposure amount. The exposure calculation formula is set for each class so that the image feature amount of the area estimated to correspond to the main subject extracted from the image in the higher complexity class is less related to the determination of the exposure amount. Therefore, for example, if the original image has a low complexity,
The original image is classified into a class of low complexity of composition, the exposure amount is determined by using the exposure amount arithmetic expression corresponding to the classified class, and the exposure amount is estimated to correspond to the main subject extracted from the original image. The exposure amount is determined such that the degree that the image feature amount contributes to the determination of the exposure amount increases.

【0019】また例えば、原画像の構成の複雑さが高い
場合には、該原画像が構成の複雑さが低いクラスに分類
され、分類されたクラスに対応する露光量演算式を用い
て露光量が決定され、原画像から抽出した主要被写体に
相当すると推定される領域の画像特徴量が露光量の決定
に関与する度合いが小さくなるようにして露光量が決定
されることになる。
Further, for example, when the original image has a high complexity, the original image is classified into a class having a low complexity, and the exposure amount is calculated by using the exposure amount arithmetic expression corresponding to the classified class. Is determined, and the exposure amount is determined such that the degree that the image feature amount of the region estimated to correspond to the main subject extracted from the original image is less involved in the determination of the exposure amount.

【0020】このように、請求項2の発明では原画像が
構成の複雑さに応じて複数のクラスの何れかに分類さ
れ、分類されたクラスの複雑さの高低に応じて、適正な
露光量が得られる確率が高くなるように、原画像から抽
出した主要被写体に相当すると推定される領域の画像特
徴量が露光量の決定に関与する度合いが変更されて露光
量が決定されるので、焼付けすべき原画像の画像内容に
拘らず、主要被写体を適正に焼付けできる露光量を高い
得率で得ることができる。
As described above, according to the second aspect of the present invention, the original image is classified into any of a plurality of classes according to the complexity of the structure, and the appropriate exposure amount is determined according to the complexity of the classified class. In order to increase the probability that the exposure amount is obtained, the exposure amount is determined by changing the degree to which the image feature amount of the region estimated to correspond to the main subject extracted from the original image is involved in determining the exposure amount. It is possible to obtain an exposure amount with which a main subject can be properly printed at a high rate regardless of the image content of the original image to be printed.

【0021】請求項3記載の発明に係る露光量決定方法
は、画像の構成の複雑さが低くなるに従って画像から抽
出した主要被写体に相当すると推定される領域の画像特
徴量が露光量の決定に関与する度合いが大きくなり、前
記複雑さが高くなるに従って画像から抽出した主要被写
体に相当すると推定される領域の画像特徴量が露光量の
決定に関与する度合いが小さくなるように、前記関与す
る度合いが画像の構成の複雑さの関数で表された露光量
演算式を定めておき、原画像の構成の複雑さを判定し、
原画像の構成の複雑さの判定結果に基づき、前記露光量
演算式を用いて原画像の露光量を決定する。
In the exposure amount determining method according to the third aspect of the present invention, the image feature amount of the area estimated to correspond to the main subject extracted from the image as the complexity of the image structure becomes lower determines the exposure amount. As the degree of involvement increases and the complexity increases, the degree of involvement is reduced so that the image feature amount of the region estimated to correspond to the main subject extracted from the image becomes less involved in determining the exposure amount. Defines the exposure amount calculation formula represented by a function of the complexity of the image configuration, and determines the complexity of the configuration of the original image,
The exposure amount of the original image is determined by using the exposure amount calculation formula based on the determination result of the complexity of the configuration of the original image.

【0022】請求項3記載の発明では、画像の構成の複
雑さが低くなるに従って画像から抽出した主要被写体に
相当すると推定される領域の画像特徴量が露光量の決定
に関与する度合いが大きくなり、前記複雑さが高くなる
に従って画像から抽出した主要被写体に相当すると推定
される領域の画像特徴量が露光量の決定に関与する度合
いが小さくなるように、前記関与する度合いが画像の構
成の複雑さの関数で表された露光量演算式を定めている
ので、例えば原画像の構成の複雑さが低い場合には、原
画像から抽出した主要被写体に相当すると推定される領
域の画像特徴量が露光量の決定に関与する度合いが大き
くなるように露光量が決定されることになり、原画像の
構成の複雑さが高い場合には、原画像から抽出した主要
被写体に相当すると推定される領域の画像特徴量が露光
量の決定に関与する度合いが小さくなるようにして露光
量が決定されることになる。
According to the third aspect of the invention, as the complexity of the image structure decreases, the image feature amount of the area estimated to correspond to the main subject extracted from the image becomes more and more involved in the determination of the exposure amount. As the complexity becomes higher, the degree of involvement becomes more complicated in the configuration of the image so that the degree of involvement in the image feature amount of the area estimated to correspond to the main subject extracted from the image becomes smaller in determining the exposure amount. Since the exposure amount calculation formula represented by the function of the original image is defined, for example, when the complexity of the original image is low, the image feature amount of the area estimated to correspond to the main subject extracted from the original image is The exposure amount is determined so that the degree of contribution to the determination of the exposure amount becomes large, and when the structure of the original image has a high complexity, it corresponds to the main subject extracted from the original image. Image feature amount of estimated area is the exposure amount as the degree to participate in the determination of exposure amount is reduced is determined.

【0023】このように、請求項3の発明においても、
原画像の構成の複雑さの高低に応じて、適正な露光量が
得られる確率が高くなるように、原画像から抽出した主
要被写体に相当すると推定される領域の画像特徴量が露
光量の決定に関与する度合いが変更されて露光量が決定
されるので、焼付けすべき原画像の画像内容に拘らず、
主要被写体を適正に焼付けできる露光量を高い得率で得
ることができる。
As described above, also in the invention of claim 3,
The exposure amount is determined by the image feature amount of the area estimated to correspond to the main subject extracted from the original image so that the probability of obtaining an appropriate exposure amount increases depending on the complexity of the original image. The exposure amount is determined by changing the degree of involvement in, so regardless of the image content of the original image to be printed,
It is possible to obtain an exposure amount with which a main subject can be properly printed with a high yield.

【0024】なお、請求項1乃至請求項3の何れか1項
の発明における原画像の構成の複雑さの判定は、例えば
請求項4に記載したように、原画像を多数個に分割して
測光することにより得られた測光データに基づいて行う
ことができる。また、例えば請求項5に記載したよう
に、原画像を記録したカメラによって記録された情報に
基づいて行うようにしてもよい。この場合、カメラによ
る情報の記録は、例えば原画像が記録されている媒体に
磁気的或いは光学的に記録することができる。また、カ
メラによって記録される情報には、例えば原画像を撮影
記録する際の撮影倍率、撮影時の主要被写体までの距離
等の撮影条件を表す情報を含めることができる。
The determination of the complexity of the structure of the original image in the invention of any one of claims 1 to 3 is performed by dividing the original image into a large number as described in claim 4, for example. It can be performed based on the photometric data obtained by photometry. Further, for example, as described in claim 5, it may be performed based on the information recorded by the camera that recorded the original image. In this case, the recording of information by the camera can be performed magnetically or optically on the medium on which the original image is recorded. In addition, the information recorded by the camera may include information indicating shooting conditions such as a shooting magnification when shooting and recording an original image and a distance to a main subject at the time of shooting.

【0025】請求項6記載の発明に係る露光制御装置
は、画像の構成の複雑さに応じて予め定められた複数の
クラスの各々に対し、前記複雑さが低いクラスほど画像
から抽出した主要被写体に相当すると推定される領域の
画像特徴量が露光量の決定に関与する度合いが大きくな
り、前記複雑さが高いクラスほど画像から抽出した主要
被写体に相当すると推定される領域の画像特徴量が露光
量の決定に関与する度合いが小さくなるように各々定め
られた露光量演算式を記憶する記憶手段と、原画像を多
数個に分割して測光することにより得られた測光データ
又は原画像を記録したカメラによって記録された情報に
基づいて原画像の構成の複雑さを判定し、原画像を前記
複数のクラスの何れかに分類する分類手段と、前記記憶
手段に記憶されている、前記分類手段によって分類され
たクラスに対応する露光量演算式を用いて原画像の露光
量を決定する露光量決定手段と、露光量決定手段によっ
て決定された露光量に基づいて複写材料への原画像の露
光を制御する露光制御手段と、を含んで構成している。
According to a sixth aspect of the present invention, in an exposure control apparatus, for each of a plurality of classes determined in advance in accordance with the complexity of the image structure, the main subject extracted from the image is the less complex class. The image feature amount of the area estimated to correspond to the exposure degree becomes more involved in determining the exposure amount, and the image feature amount of the area estimated to correspond to the main subject extracted from the image is exposed in the higher complexity class. Storage means for storing the respective exposure amount calculation formulas that are determined so that the degree of involvement in the determination of the amount becomes small, and the photometric data or the original image obtained by dividing the original image into a large number and measuring the light Stored in the storage means and a classification means for judging the complexity of the composition of the original image based on the information recorded by the camera and classifying the original image into one of the plurality of classes. An exposure amount determining means for determining an exposure amount of an original image by using an exposure amount arithmetic expression corresponding to a class classified by the classifying means, and a copy material for a copy material based on the exposure amount determined by the exposure amount determining means. Exposure control means for controlling the exposure of the original image.

【0026】請求項6の発明では、先の請求項2と同様
に、原画像が構成の複雑さに応じて複数のクラスの何れ
かに分類され、分類されたクラスの複雑さの高低に応じ
て、適正な露光量が得られる確率が高くなるように、原
画像から抽出した主要被写体に相当すると推定される領
域の画像特徴量が露光量の決定に関与する度合いが変更
されて露光量が決定されるので、焼付けすべき原画像の
画像内容に拘らず、主要被写体を適正に焼付けできる露
光量を高い得率で得ることができる。そして露光制御手
段では、露光量決定手段によって決定された露光量に基
づいて複写材料への原画像の露光を制御するので、焼付
けすべき原画像の画像内容に拘らず、高い確率で、主要
被写体が適正に焼付けされるように原画像を焼付けるこ
とができる。
According to the sixth aspect of the invention, similarly to the second aspect, the original image is classified into any of a plurality of classes according to the complexity of the structure, and the classified classes are classified according to the level of complexity. In order to increase the probability that an appropriate exposure amount can be obtained, the degree to which the image feature amount of the area estimated to correspond to the main subject extracted from the original image is involved in the determination of the exposure amount is changed to change the exposure amount. Since it is determined, it is possible to obtain an exposure amount with which a main subject can be properly printed at a high rate regardless of the image content of the original image to be printed. The exposure control means controls the exposure of the original image on the copy material on the basis of the exposure amount determined by the exposure amount determining means. Therefore, regardless of the image content of the original image to be printed, the main subject has a high probability. The original image can be printed so that the image is printed properly.

【0027】請求項7記載の発明に係る露光制御装置
は、画像の構成の複雑さが低くなるに従って画像から抽
出した主要被写体に相当すると推定される領域の画像特
徴量が露光量の決定に関与する度合いが大きくなり、前
記複雑さが高くなるに従って画像から抽出した主要被写
体に相当すると推定される領域の画像特徴量が露光量の
決定に関与する度合いが小さくなるように予め定められ
た、前記関与する度合いが画像の構成の複雑さの関数で
表された露光量演算式を記憶する記憶手段と、原画像を
多数個に分割して測光することにより得られた測光デー
タ又は原画像を記録したカメラによって記録された情報
に基づいて原画像の構成の複雑さを判定する判定手段
と、前記判定手段による判定結果に基づき、前記記憶手
段に記憶されている露光量演算式を用いて原画像の露光
量を決定する露光量決定手段と、露光量決定手段によっ
て決定された露光量に基づいて複写材料への原画像の露
光を制御する露光制御手段と、を含んで構成している。
In the exposure control apparatus according to the seventh aspect of the present invention, the image feature amount of the area estimated to correspond to the main subject extracted from the image is involved in determining the exposure amount as the complexity of the image becomes lower. The image feature amount of the region estimated to correspond to the main subject extracted from the image increases as the complexity increases, and the degree that the image feature amount of the region estimated to correspond to the determination of the exposure amount decreases in advance. Storage means for storing an exposure amount expression whose degree of involvement is expressed as a function of the complexity of the image structure, and photometric data obtained by dividing the original image into a large number and measuring the original image Determining means for determining the complexity of the structure of the original image based on the information recorded by the camera, and the dew stored in the storing means based on the determination result by the determining means. An exposure amount determining means for determining the exposure amount of the original image using the amount calculation formula, and an exposure control means for controlling the exposure of the original image on the copy material based on the exposure amount determined by the exposure amount determining means. It is configured to include.

【0028】請求項7記載の発明では、先の請求項3と
同様に、原画像の構成の複雑さの高低に応じて、適正な
露光量が得られる確率が高くなるように、原画像から抽
出した主要被写体に相当すると推定される領域の画像特
徴量が露光量の決定に関与する度合いが変更されて露光
量が決定されるので、焼付けすべき原画像の画像内容に
拘らず、主要被写体を適正に焼付けできる露光量を高い
得率で得ることができる。そして露光制御手段では、露
光量決定手段によって決定された露光量に基づいて複写
材料への原画像の露光を制御するので、焼付けすべき原
画像の画像内容に拘らず、高い確率で、主要被写体が適
正に焼付けされるように原画像を焼付けることができ
る。
According to the invention described in claim 7, as in the case of the above-mentioned claim 3, according to the complexity of the structure of the original image, the probability that an appropriate exposure amount can be obtained is increased from the original image. The exposure amount is determined by changing the degree that the image feature amount of the area estimated to correspond to the extracted main subject is involved in determining the exposure amount, so that the main subject is irrespective of the image content of the original image to be printed. It is possible to obtain an exposure amount that can be properly printed with a high yield. The exposure control means controls the exposure of the original image on the copy material on the basis of the exposure amount determined by the exposure amount determining means. Therefore, regardless of the image content of the original image to be printed, the main subject has a high probability. The original image can be printed so that the image is printed properly.

【0029】[0029]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態の一例を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.

【0030】〔第1実施形態〕図1には本発明の露光制
御装置としての写真焼付装置10が示されている。写真
焼付装置10は、ネガフィルム12に記録された画像を
焼付けるための露光光を射出する光源16を備えてい
る。光源16の光射出側には、調光フィルタ等の色補正
フィルタ18、拡散ボックス20、分配用プリズム22
が順に配列されている。
[First Embodiment] FIG. 1 shows a photographic printing apparatus 10 as an exposure control apparatus of the present invention. The photo printing apparatus 10 includes a light source 16 that emits exposure light for printing an image recorded on the negative film 12. On the light emission side of the light source 16, a color correction filter 18 such as a light control filter, a diffusion box 20, a distribution prism 22.
Are arranged in order.

【0031】写真フィルムとしてのネガフィルム12の
搬送路は拡散ボックス20と分配用プリズム22との間
に形成されており、分配用プリズム22はネガフィルム
12を透過した光を2方向に分配する。光源16の光軸
を挟んで両側には、ネガフィルム12の搬送路に沿って
搬送ローラ対14A、14Bが設けられている。搬送ロ
ーラ対14A、14Bは各々モータ52A、52Bの駆
動軸に連結されており、モータ52A、52Bの駆動力
が伝達されることにより回転し、ネガフィルム12を搬
送する。
The conveying path of the negative film 12 as a photographic film is formed between the diffusion box 20 and the distribution prism 22, and the distribution prism 22 distributes the light transmitted through the negative film 12 in two directions. Conveying roller pairs 14A and 14B are provided on both sides of the optical axis of the light source 16 along the conveying path of the negative film 12. The conveying roller pairs 14A and 14B are connected to the drive shafts of the motors 52A and 52B, respectively, and are rotated by the driving force of the motors 52A and 52B being transmitted to convey the negative film 12.

【0032】分配用プリズム22によって2方向に分配
された光の一方の光路上には、投影光学系24、ブラッ
クシャッタ26、及び複写材料としてのカラーペーパ
(印画紙)28が順に配置されており、他方の光路上に
は投影光学系30、CCDイメージセンサ32が順に配
置されている。CCDイメージセンサ32はネガフィル
ム12に記録された画像(1コマ)全体を多数の画素
(例えば256×256画素)に分割し、各画素をR
(赤)、G(緑)、B(青)の3色に分解して測光す
る。
A projection optical system 24, a black shutter 26, and a color paper (printing paper) 28 as a copying material are sequentially arranged on one optical path of the light distributed in two directions by the distribution prism 22. The projection optical system 30 and the CCD image sensor 32 are sequentially arranged on the other optical path. The CCD image sensor 32 divides the entire image (one frame) recorded on the negative film 12 into a large number of pixels (for example, 256 × 256 pixels), and
The light is separated into three colors (red), G (green), and B (blue) for photometry.

【0033】CCDイメージセンサ32の信号出力端に
は、CCDイメージセンサ32から出力された信号を増
幅する増幅器34、アナログ−デジタル(A/D)変換
器36、CCDイメージセンサ32の感度補正用の3×
3マトリクス回路38が順に接続されている。3×3マ
トリクス回路38は、マイクロコンピュータ及びその周
辺機器で構成された制御部40の入出力ポート40Dに
接続されている。制御部40は、CPU40A、ROM
40B、RAM40C及び入出力ポート40Dを備えて
おり、これらがバスを介して互いに接続されている。
At the signal output end of the CCD image sensor 32, an amplifier 34 for amplifying the signal output from the CCD image sensor 32, an analog-digital (A / D) converter 36, and a sensitivity correction for the CCD image sensor 32 are provided. 3x
Three matrix circuits 38 are connected in order. The 3 × 3 matrix circuit 38 is connected to the input / output port 40D of the control unit 40 including a microcomputer and its peripheral devices. The control unit 40 includes a CPU 40A and a ROM
40B, RAM40C, and the input / output port 40D are provided, and these are mutually connected through the bus.

【0034】制御部40の入出力ポート40Dには、色
補正フィルタ18を駆動するドライバ46を介して色補
正フィルタ18が接続されており、ドライバ50A、5
0Bを介してモータ52A、52Bが各々接続されてい
る。また入出力ポート40Dには、LCD又はCRTか
ら成るディスプレイ42と、オペレータが各種情報を入
力するためのテンキー等のキーボード44と、光源16
の光軸を挟んで両側に配置されネガフィルム12の透過
光量を検出する画面検出センサ48が接続されている。
The color correction filter 18 is connected to the input / output port 40D of the control section 40 via the driver 46 for driving the color correction filter 18, and the drivers 50A, 5
Motors 52A and 52B are connected to each other via 0B. The input / output port 40D includes a display 42 including an LCD or a CRT, a keyboard 44 such as a numeric keypad for an operator to input various information, and a light source 16
The screen detection sensors 48 arranged on both sides of the optical axis of the negative film 12 for detecting the amount of transmitted light of the negative film 12 are connected.

【0035】次に本第1実施形態の作用として、図2の
フローチャートを参照し、本第1実施形態に係る写真焼
付処理について説明する。なお図2に示した処理は、ネ
ガフィルム12に記録されている画像の印画紙28への
焼付けが指示されると、制御部40で繰り返し実行され
る。ステップ100ではネガフィルム12を搬送しなが
ら画面検出センサ48から出力される信号を監視してネ
ガフィルム12に記録された画像の位置を判断し、前記
画像が露光位置に到達したと判断するとネガフィルム1
2の搬送を停止させることにより、画像を露光位置に位
置決めする。
Next, as an operation of the first embodiment, the photographic printing process according to the first embodiment will be described with reference to the flowchart of FIG. The processing shown in FIG. 2 is repeatedly executed by the control unit 40 when the printing of the image recorded on the negative film 12 onto the photographic printing paper 28 is instructed. In step 100, while the negative film 12 is being conveyed, the signal output from the screen detection sensor 48 is monitored to determine the position of the image recorded on the negative film 12, and when it is determined that the image has reached the exposure position, the negative film 1
The image is positioned at the exposure position by stopping the conveyance of No. 2.

【0036】ステップ102では露光位置に位置決めし
た画像をCCDイメージセンサ32によって測光し、C
CDイメージセンサ32から増幅器34、A/D変換器
36、3×3マトリクス回路38を介して出力される
R、G、B毎の画像データ(請求項4に記載の測光デー
タ)を取込み、更に取込んだ画像データをRAM40C
等のメモリに記憶する。次のステップ104では本発明
の主要被写体としての人物の顔に相当すると推定される
領域(以下、顔領域という)を抽出する顔領域抽出処理
を行う。
In step 102, the image positioned at the exposure position is measured by the CCD image sensor 32, and C
The image data (photometric data according to claim 4) for each of R, G, and B output from the CD image sensor 32 through the amplifier 34, the A / D converter 36, and the 3 × 3 matrix circuit 38 is captured, and further, RAM40C for the captured image data
Etc. in the memory. In the next step 104, face area extraction processing for extracting an area (hereinafter referred to as a face area) estimated to correspond to the face of a person as the main subject of the present invention is performed.

【0037】この顔領域抽出処理としては、従来より提
案されている種々の抽出方式を適用できるが、一例とし
て、本願出願人が既に特願平6-265850号、特願平6-2665
98号で提案しているように、画像データに基づいて、画
像中に存在する人物の各部に特有の形状パターン(例え
ば頭部の輪郭、顔の輪郭、顔の内部構造、胴体の輪郭等
を表す形状パターン)の何れか1つを探索し、検出した
形状パターンの大きさ、向き、検出した形状パターンが
表す人物の所定部分と人物の顔との位置関係に応じて、
人物の顔に相当すると推定される領域を設定すると共
に、検出した形状パターンと異なる他の形状パターンを
探索し、先に設定した領域の、人物の顔としての整合性
を求め、顔領域を抽出する抽出方式を適用することがで
きる。
As the face area extraction processing, various extraction methods conventionally proposed can be applied. As an example, the applicant of the present application has already filed Japanese Patent Application Nos. 6-265850 and 6-2665.
As proposed in No. 98, based on the image data, the shape pattern peculiar to each part of the person present in the image (for example, the outline of the head, the outline of the face, the internal structure of the face, the outline of the body, etc.) Any one of the expressed shape patterns) is searched, and the size and orientation of the detected shape pattern, and the positional relationship between the predetermined portion of the person represented by the detected shape pattern and the face of the person are calculated.
A region that is estimated to correspond to a person's face is set, other shape patterns different from the detected shape pattern are searched, the consistency of the previously set region as a human face is determined, and the face region is extracted. The extraction method can be applied.

【0038】次のステップ106では、顔領域抽出処理
によって抽出された顔領域に関する特徴量に基づいて、
先に位置決めした画像の構成の複雑度Cを求める。この
処理は原画像の構成の複雑さを判定することに相当して
いる。なお、顔領域に関する特徴量としては、例えば抽
出された顔領域の数、抽出された顔領域のサイズの分布
(サイズのばらつき度合い)、抽出された各顔領域の平
均濃度の分布(平均濃度のばらつき度合い)の何れかを
用いることができ、例えば前記顔領域の数、顔領域のサ
イズ或いは平均濃度の分散を、構成の複雑度Cの値とし
てそのまま用いることができる。
At the next step 106, based on the feature amount related to the face area extracted by the face area extraction processing,
The complexity C of the structure of the previously positioned image is obtained. This processing is equivalent to determining the complexity of the structure of the original image. In addition, as the feature amount regarding the face area, for example, the number of extracted face areas, the size distribution of the extracted face areas (size variation degree), the average density distribution of each extracted face area (average density Any of the degree of variation) can be used, and, for example, the number of face areas, the size of the face areas, or the variance of the average density can be directly used as the value of the complexity C of the configuration.

【0039】ステップ108では、ステップ106で求
めた複雑度Cの値に基づいて、先に位置決めした画像
を、画像の構成の複雑さに応じて予め定められたクラス
1〜クラスnのn個のクラスの何れかに分類する。な
お、本第1実施形態ではクラス1〜クラスnの各々の画
像の構成の複雑さを、クラス1>クラス2> … >ク
ラスnとしており、各クラス毎に複雑度Cの値の範囲が
各々定められている。先の分類は、複雑度Cの値が、各
クラス毎に各々定められた複雑度Cの値の範囲のうち、
何れのクラスの範囲に属しているかを判断することによ
り行われる。なお、先のステップ106及び上記ステッ
プ108は、請求項6に記載の分類手段に対応してい
る。
In step 108, based on the value of the complexity C obtained in step 106, the previously positioned image is divided into n pieces of class 1 to class n which are predetermined according to the complexity of the image structure. Classify as one of the classes. In the first embodiment, the complexity of the structure of each image of class 1 to class n is set as class 1> class 2>...> class n, and the range of the value of the complexity C is different for each class. It is set. In the previous classification, the value of the complexity C is within the range of the value of the complexity C defined for each class.
It is performed by determining which class the range belongs to. The step 106 and the step 108 correspond to the classifying means described in claim 6.

【0040】次のステップ110では、分類したクラス
に対応する露光量演算式をROM40Bから取り込む。
本第1実施形態では、クラス1〜クラスnの各々に対応
して次の(2)式のようなn個の露光量演算式が予め定
められており、このn個の露光量演算式は請求項6に記
載の記憶手段に対応するROM40Bに記憶されてい
る。
At the next step 110, the exposure amount calculation formula corresponding to the classified class is fetched from the ROM 40B.
In the first embodiment, n exposure amount calculation formulas such as the following formula (2) are predetermined corresponding to each of the classes 1 to n, and the n exposure amount calculation formulas are It is stored in the ROM 40B corresponding to the storage means described in claim 6.

【0041】[0041]

【数1】 [Equation 1]

【0042】但し、Eは露光量、Dfは顔領域の画像特
徴量(例えば顔領域濃度)、Dxはその他の画像特徴量
である。なお、その他の画像特徴量Dxはm種類の画像
特徴量Dxi (但しi=1〜m)を含んでおり、具体的
には、例えば濃度の最大値、最小値、中間値、画面の部
分平均濃度、濃度ヒストグラムのピークにおける濃度値
や、濃度の最大値又は最小値からの累積頻度が所定値の
ときの濃度値等を適用することができる。(2)式より
明らかなように、露光量演算式1〜露光量演算式nは、
何れも露光量Eを、顔領域の画像特徴量Df及びその他
の画像特徴量Dxの関数として表している演算式である
が、対応するクラスの複雑さが低くなるに従って、その
他の画像特徴量Dxが露光量Eの決定に関与する度合い
が低くなるように、露光量演算式1〜露光量演算式nが
各々定められている。
However, E is the exposure amount, Df is the image feature amount of the face area (for example, face area density), and Dx is the other image feature amount. The other image feature amounts Dx include m types of image feature amounts Dx i (where i = 1 to m), and specifically, for example, the maximum value, the minimum value, the intermediate value of the density, and the screen portion. The average density, the density value at the peak of the density histogram, the density value when the cumulative frequency from the maximum value or the minimum value of the density is a predetermined value, and the like can be applied. As is clear from the equation (2), the exposure amount calculation formula 1 to the exposure amount calculation formula n are
Both of the formulas represent the exposure amount E as a function of the image feature amount Df of the face area and the other image feature amount Dx, but as the complexity of the corresponding class decreases, the other image feature amount Dx The exposure amount calculation formula 1 to the exposure amount calculation formula n are determined so that the degree of influence on the determination of the exposure amount E becomes low.

【0043】なお、対応するクラスの複雑さが低くなる
に従って、その他の画像特徴量Dxが露光量Eの決定に
関与する度合いを低くすることは、例えば複雑さが低く
なるに従って、その他の画像特徴量Dxとして用いる画
像特徴量Dxi の種類数を少なくする、或いはその他の
画像特徴量Dxを構成する各種の画像特徴量Dxi のう
ち重み係数が0となる画像特徴量の数を多くすることに
より実現できる。これにより、複雑さが低くなるに従っ
て顔領域の画像特徴量Dfが露光量Eの決定に関与する
度合いが相対的に高くなり、複雑さが高くなるに従って
顔領域の画像特徴量Dfが露光量Eの決定に関与する度
合いが相対的に低くなることになる。また、複雑さの高
低に応じて顔領域の画像特徴量Dfに乗ずる重み係数の
値を変更するようにしてもよい。
It should be noted that the lower the complexity of the corresponding class is, the lower the degree that the other image feature amount Dx contributes to the determination of the exposure amount E is, for example, as the complexity becomes lower, the other image feature amount Dx is reduced. The number of types of the image feature amount Dx i used as the amount Dx is reduced, or the number of image feature amounts having a weighting factor of 0 is increased among the various image feature amounts Dx i forming the other image feature amounts Dx. Can be realized by As a result, as the complexity decreases, the degree that the image feature amount Df of the face area participates in the determination of the exposure amount E relatively increases, and as the complexity increases, the image feature amount Df of the face area increases. Will be less involved in the decision. Further, the value of the weighting coefficient by which the image feature amount Df of the face area is multiplied may be changed according to the level of complexity.

【0044】ステップ112では、先のステップ110
で取込んだ露光量演算式を用い、該露光量演算式に顔領
域の画像特徴量Dfやその他の画像特徴量Dxi 等を代
入して露光量Eを演算する。先のステップ110及びこ
のステップ112は請求項6に記載の露光量決定手段に
対応している。
In step 112, the previous step 110
The exposure amount E is calculated by using the exposure amount calculation formula captured in step S3 and substituting the image feature amount Df of the face area and other image feature amounts Dx i into the exposure amount calculation formula. The above step 110 and this step 112 correspond to the exposure amount determining means described in claim 6.

【0045】次のステップ114では上記で演算した露
光量Eをドライバ46に出力する。これにより、ドライ
バ46では入力された露光量Eに基づいて、入力された
露光量に対応する位置に色補正フィルタ18を移動させ
る。また、制御部40はブラックシャッタ26を露光量
Eによって定まる所定時間だけ開放する。これにより、
露光位置に位置決めされた画像が露光量Eで印画紙28
に焼付けされる。このステップ114は本発明の露光制
御手段に対応している。
In the next step 114, the exposure amount E calculated above is output to the driver 46. As a result, the driver 46 moves the color correction filter 18 to the position corresponding to the input exposure amount E based on the input exposure amount E. The control unit 40 also opens the black shutter 26 for a predetermined time determined by the exposure amount E. This allows
The image positioned at the exposure position is printed on the photographic paper 28 with the exposure amount E.
Is burned on. This step 114 corresponds to the exposure control means of the present invention.

【0046】このように、本第1実施形態では画像の構
成の複雑度Cを求め、複雑度Cの値に基づいて画像をク
ラス1〜クラスnのn個のクラスの何れかに分類し、分
類したクラスに対応する露光量演算式を用いて露光量E
を演算しているので、画像が分類されたクラスが複雑さ
の低いクラスであるほど、顔領域の画像特徴量を重視し
た露光量が演算され、画像が分類されたクラスが複雑さ
の高いクラスであるほど、顔領域の画像特徴量を重視し
ない露光量が演算されることになる。従って、焼付けす
る画像の画像内容(構成の複雑度)に拘らず、人物の顔
等の主要被写体を適正に焼付けできる露光量を高い得率
で得ることができ、高い得率で適正な仕上りの写真プリ
ントが得られる。
As described above, in the first embodiment, the complexity C of the image structure is obtained, and the image is classified into any of n classes 1 to n based on the value of the complexity C. The exposure amount E is calculated using the exposure amount calculation formula corresponding to the classified class.
Therefore, as the class into which the images are classified is a less complex class, the exposure amount that emphasizes the image feature amount of the face area is calculated, and the class into which the images are classified is a highly complex class. The higher the value, the more the exposure amount that does not give importance to the image feature amount of the face area is calculated. Therefore, regardless of the image content of the image to be printed (complexity of the configuration), it is possible to obtain an exposure amount that can properly print a main subject such as a person's face with a high yield, and with a high yield, an appropriate finish can be obtained. A photographic print is obtained.

【0047】なお、上記では抽出した顔領域に関する特
徴量として、抽出した顔領域の個数、抽出した顔領域の
サイズ又は平均濃度の分布(ばらつき度合い))の何れ
か1つを用いて画像の構成の複雑度を判定していたが、
これに限定されるものではなく、上記の顔領域に関する
複数の特徴量を組み合わせて、画像の構成の複雑度を判
定するようにしてもよい。この場合、例えば図3に示す
ようなマップを用いることにより構成の複雑度を判定す
ることができる。
It should be noted that in the above, as the feature quantity relating to the extracted face area, one of the number of the extracted face areas, the size of the extracted face area, or the distribution (the degree of variation) of the average density is used to construct the image. I was judging the complexity of
The present invention is not limited to this, and a plurality of feature amounts related to the face area may be combined to determine the complexity of the image configuration. In this case, the complexity of the configuration can be determined by using a map as shown in FIG. 3, for example.

【0048】図3では、例として抽出した顔領域の個数
を横軸、抽出した顔領域のサイズ又は平均濃度の分布
(ばらつき度合い)を縦軸とし、各々複雑度が等しいと
判定する複数の領域の各々の範囲を2次元的に定めたも
のである。これにより、抽出した顔領域の個数と、抽出
した顔領域のサイズ又は平均濃度の分布に基づいて画像
の構成の複雑度を判定することができる。なお、抽出し
た顔領域の個数が少ない場合には顔抽出処理により人物
の顔に相当する領域を適正に抽出できる確率が高いの
で、図3では、抽出した顔領域の個数が少ない場合はサ
イズ又は平均濃度の分布(ばらつき度合い)が大きくて
も複雑度が比較的低いと判定されるように、マップ上の
各領域を定めている。
In FIG. 3, as an example, the horizontal axis represents the number of extracted face areas, and the vertical axis represents the distribution (variation degree) of the extracted face area sizes or average densities. Each range is defined two-dimensionally. This makes it possible to determine the complexity of the image configuration based on the number of extracted face areas and the size or average density distribution of the extracted face areas. Note that when the number of extracted face areas is small, there is a high probability that an area corresponding to a person's face can be properly extracted by the face extraction processing. Therefore, in FIG. 3, when the number of extracted face areas is small, the size or Each area on the map is determined so that the complexity is determined to be relatively low even if the average density distribution (variation degree) is large.

【0049】なお、図3において、複雑度が等しいと判
定する領域の数をクラスの数nと等しくすれば、図3に
示すようなマップにより画像の複雑度の判定及びクラス
1〜クラスnの何れかへの分類を同時に行うことができ
る。
In FIG. 3, if the number of regions determined to have the same complexity is equal to the number n of classes, the map shown in FIG. 3 is used to determine the image complexity and class 1 to class n. Classification into either can be performed simultaneously.

【0050】〔第2実施形態〕次に本発明の第2実施形
態について説明する。なお本第2実施形態は第1実施形
態と同一の構成であるので、各部分に同一の符号を付し
て構成の説明を省略し、以下では第2実施形態の作用と
して、図4のフローチャートを参照し、本第2実施形態
に係る写真焼付処理について、第1実施形態と異なる部
分についてのみ説明する。
[Second Embodiment] Next, a second embodiment of the present invention will be described. Since the second embodiment has the same configuration as the first embodiment, the same reference numerals are given to the respective parts and the description of the configuration will be omitted. The operation of the second embodiment will be described below with reference to the flowchart of FIG. With reference to FIG. 5, the photoprinting process according to the second embodiment will be described only regarding the differences from the first embodiment.

【0051】本第2実施形態では、ステップ100でネ
ガフィルム12に記録された画像を露光位置に位置決め
し、ステップ102で露光位置に位置決めした画像を測
光して画像データを記憶した後に、ステップ103では
画像の構成の複雑度Cを前記記憶した画像データに基づ
いて求め、次のステップ108で求めた複雑度Cの値に
基づいて、先に位置決めした画像を、画像の構成の複雑
さに応じて予め定められたクラス1〜クラスnのn個の
クラスの何れかに分類している。このステップ103、
ステップ108は、具体的には、例えば以下に列挙する
方法の何れかを適用して行うことができる。
In the second embodiment, the image recorded on the negative film 12 is positioned at the exposure position in step 100, and the image positioned at the exposure position is measured in step 102 to store the image data, and then step 103. Then, the complexity C of the image configuration is obtained based on the stored image data, and the previously positioned image is determined according to the complexity of the image configuration based on the value of the complexity C obtained in the next step 108. Are classified into any of the n classes of the predetermined classes 1 to n. This step 103,
Specifically, step 108 can be performed by applying one of the methods listed below, for example.

【0052】(色の分布に基づく複雑度の判定)例とし
て図5に示すような色座標(図5では、RとGの色差を
横軸、GとBの色差を縦軸にとった色座標を例として示
す)において、色座標の原点で座標軸と交差し、色座標
の第1乃至第4象限を各々2つの領域に分割する2本の
軸60A、60Bを設定すると共に、各々色座標の原点
を中心とし互いに半径が異なる3つの同心状の円62
A、62B、62Cを設定することにより、色座標の原
点の周囲の領域を8色×3種類の彩度の合計24個の領
域に分割する。次に、画像データが表す各画素のR、
G、B毎の濃度値に基づいて、画像中の各画素の色を前
記色座標上に点をプロットし、前記24個の領域のうち
1個以上の点がプロットされた領域の数をカウントす
る。
(Determination of Complexity Based on Color Distribution) As an example, color coordinates as shown in FIG. 5 (in FIG. 5, the color difference between R and G is plotted on the horizontal axis and the color difference between G and B is plotted on the vertical axis). Coordinates are shown as an example), two axes 60A and 60B that intersect the coordinate axes at the origin of the color coordinates and divide each of the first to fourth quadrants of the color coordinates into two areas are set. 3 concentric circles 62 with different radii centered on the origin of
By setting A, 62B, and 62C, the area around the origin of the color coordinates is divided into a total of 24 areas of 8 colors × 3 types of saturation. Next, R of each pixel represented by the image data,
Based on the density values of G and B, the color of each pixel in the image is plotted on the color coordinates, and the number of regions in which one or more points are plotted in the 24 regions is counted. To do.

【0053】この場合、複雑度Cの値が比較的高けれ
ば、画像中に多数種類の色の画素が存在しており、画像
中に多数の被写体が存在していると推定できるので、画
像の構成の複雑度は高いと判断できる。一方、複雑度C
の値が比較的低ければ、画像中に存在している色の種類
数が少なく、画像中に多数の被写体が存在している可能
性は低いので、画像の構成の複雑度は低いと判断でき
る。このため、例えば複雑度Cの値に基づいて、画像を
クラス1〜クラスnの何れかに分類する。
In this case, if the value of the complexity C is relatively high, it can be estimated that there are many kinds of color pixels in the image, and many objects are present in the image. It can be judged that the complexity of the configuration is high. On the other hand, the complexity C
If the value of is relatively low, the number of types of colors existing in the image is small, and it is unlikely that there are many subjects in the image, so it can be determined that the complexity of the image configuration is low. . Therefore, for example, the image is classified into one of Class 1 to Class n based on the value of the complexity C.

【0054】なお、上記では彩度が所定値以上の色(図
5において円62Cの外側にプロットされる色)を除外
して複雑度を判定しているが、円62Cの外側の領域に
ついてもカウントの対象とすることにより、高彩度の色
のデータも用いて複雑度を判定するようにしてもよい。
但し、画像中に高彩度の色の被写体が多数存在している
ことは、一般に顔抽出処理における顔領域抽出性能の低
下の原因とはなりにくい。複雑度の判定は、顔抽出処理
による顔領域抽出性能の低い画像を検出することが目的
であることを考慮すると、高彩度の色のデータを除外し
て複雑度を判定することが望ましい。
In the above, the complexity is determined by excluding the color having the saturation equal to or higher than the predetermined value (the color plotted outside the circle 62C in FIG. 5), but the area outside the circle 62C is also determined. By making the object of counting, the complexity may be determined by using the data of the color with high saturation.
However, the presence of a large number of high-saturation color subjects in the image generally does not easily cause a decrease in the face area extraction performance in the face extraction processing. Considering that the purpose of the complexity determination is to detect an image with low face area extraction performance by the face extraction processing, it is desirable to determine the complexity by excluding color data of high saturation.

【0055】(画素間の濃度差に基づく複雑度の判定)
画像データが表す各画素の濃度値に基づいて、画像中の
隣接する画素間の濃度差を、所定のラインに沿って前記
ライン上の各画素について順に演算する。構成の複雑度
が低い画像では、図6(A)に示すように、前記ライン
に沿った濃度差の変化が比較的滑らかであり、値が大き
く変化している箇所が少ないのに対し、構成の複雑度が
高い画像では、図6(B)に示すように、前記ラインに
沿って濃度差が大きくかつ複雑に変化する。
(Determination of Complexity Based on Density Difference between Pixels)
Based on the density value of each pixel represented by the image data, the density difference between adjacent pixels in the image is sequentially calculated for each pixel on the line along a predetermined line. As shown in FIG. 6 (A), in the image having a low complexity of composition, the change in the density difference along the line is relatively smooth, and there are few places where the value greatly changes. In an image with a high degree of complexity, as shown in FIG. 6B, the density difference is large and complicatedly changes along the line.

【0056】このため、前述した濃度差の演算結果よ
り、濃度差の変化が図6の(A)に示す変化に近いか、
図6(B)に示す変化に近いかを識別するための特徴量
(例えば濃度差の分散、濃度差の絶対値をラインに沿っ
て積算した値、濃度差をラインに沿って微分して得られ
た微分値の絶対値をラインに沿って積算した値、前記微
分値の符号が変化している箇所の数をラインに沿ってカ
ウントした値等)を求める。上記処理を画像中の全ライ
ン或いは所定間隔で選択した複数のラインについて各々
行い、各ライン毎に求めた前記特徴量を総合して(例え
ば平均値、積算値等を求める)複雑度Cを求める。そし
て複雑度Cの値に基づいて、画像をクラス1〜クラスn
の何れかに分類する。
Therefore, according to the above-mentioned calculation result of the density difference, whether the change of the density difference is close to the change shown in FIG.
A feature amount for identifying whether the change is close to the change shown in FIG. 6B (for example, variance of density difference, value obtained by integrating absolute values of density difference along the line, and difference obtained by differentiating the density difference along the line). A value obtained by integrating the absolute values of the obtained differential values along the line, a value obtained by counting along the line the number of locations where the sign of the differential value has changed, etc.) are obtained. The above-described processing is performed for all lines in the image or a plurality of lines selected at predetermined intervals, and the feature amount obtained for each line is integrated (for example, average value, integrated value, etc. are obtained) to obtain the complexity C. . Then, based on the value of the complexity C, the images are classified into classes 1 to n.
It is classified as one of.

【0057】(画素間の濃度差、色差より抽出した背景
部に基づく複雑度の判定)画像データが表す各画素の
R、G、B毎の濃度値に基づいて、隣接する画素との濃
度差、色差を演算し、濃度差及び色差が所定値未満であ
った場合には前記画素との類似性が高いと判定し前記画
素に隣接する画素を対象として上記処理を行うことを繰
り返し、濃度差及び色差が所定値以上であった場合は隣
接する画素の類似性が低いと判断して処理を終了するこ
とを、図7に示すように、画像の周縁部から画像の中心
部へ向けて順に行う。なお、上記判定は、図7に矢印で
示した4つの方向のうち少なくとも2つの方向、望まし
くは前記4つの方向の全てについて行う。そして、類似
性が高いと判断した画素から成る、画像の周縁部に接し
ている領域を、画像の背景に相当する背景部として抽出
する。
(Determination of Complexity Based on Background Difference Extracted from Density Difference and Color Difference between Pixels) Based on the density values of R, G, and B of each pixel represented by image data, the density difference between adjacent pixels is obtained. The color difference is calculated, and when the density difference and the color difference are less than a predetermined value, it is determined that the similarity with the pixel is high, and the above process is repeated for the pixel adjacent to the pixel to repeat the density difference. If the color difference is equal to or larger than a predetermined value, it is determined that the similarity between adjacent pixels is low, and the processing is terminated, as shown in FIG. 7, in order from the peripheral portion of the image toward the central portion of the image. To do. The above determination is performed for at least two of the four directions shown by the arrows in FIG. 7, and preferably for all of the four directions. Then, the region that is in contact with the peripheral portion of the image and that is composed of pixels determined to have high similarity is extracted as the background portion corresponding to the background of the image.

【0058】なお、上記判定を画像の周縁部から中心部
へ向けて行うのは、画像の周縁部は画像の背景に相当す
る領域である確率が高い、という経験則に基づいてい
る。上記のようにして判定した背景部の面積が狭い場合
は背景に相当する部分の構成が複雑な画像である可能性
が高く、前記背景部の面積が広い場合は背景に相当する
部分の構成が単調な画像である可能性が高いので、複雑
度Cとして抽出した背景部の面積を求め、複雑度Cの値
に基づいて画像をクラス1〜クラスnの何れかに分類す
る。
The above determination is performed from the peripheral portion of the image toward the central portion based on the empirical rule that the peripheral portion of the image is likely to be a region corresponding to the background of the image. If the area of the background portion determined as described above is narrow, it is likely that the configuration of the portion corresponding to the background is a complicated image, and if the area of the background portion is large, the configuration of the portion corresponding to the background is Since it is highly likely that the image is a monotonous image, the area of the background portion extracted as the complexity C is obtained, and the image is classified into one of the classes 1 to n based on the value of the complexity C.

【0059】(画像分割に基づく複雑度の判定)画像デ
ータが表す各画素のR、G、B毎の濃度値に基づいて、
画像を複数の領域に分割する。画像の分割にあたって
は、前記画像データに基づいて色相値(及び彩度値)に
ついてのヒストグラムを求め、求めたヒストグラムを山
毎に分割し、各画素が分割した山の何れに属するかを判
断して各画素を分割した山に対応する群に分け、各群毎
に画像を複数の領域に分割する、所謂クラスタ分析を適
用することができる。また、濃度値の微分等により画像
中のエッジ(輪郭線)を検出し、検出した輪郭線に基づ
いて画像を複数の領域に分割するようにしてもよい。更
に、先の背景部抽出で説明した判定を画像全面に亘って
実行し、判定結果に基づいて、互いに類似性が高いと判
断した画素のみから成る複数の領域に画像を分割するよ
うにしてもよい。
(Determination of Complexity Based on Image Division) Based on the R, G, and B density values of each pixel represented by the image data,
Divide the image into regions. In dividing an image, a histogram of hue values (and saturation values) is obtained based on the image data, the obtained histogram is divided into mountains, and it is determined which of the divided mountains each pixel belongs to. It is possible to apply so-called cluster analysis, in which each pixel is divided into groups corresponding to the divided mountains and the image is divided into a plurality of regions for each group. Alternatively, an edge (contour line) in the image may be detected by differentiating the density value and the image may be divided into a plurality of regions based on the detected contour line. Further, the determination described in the background extraction may be executed over the entire image, and the image may be divided into a plurality of regions including only pixels determined to have high similarity based on the determination result. Good.

【0060】上記のような分割により得られた領域の数
が多い場合、或いは分割により得られた各領域の面積が
狭い場合は構成が簡単な画像である可能性が高く、前記
領域の数が少ない、或いは各領域の面積が広い場合は構
成が複雑な画像である可能性が高い。このため、分割に
より得られた領域の数、各領域の面積の平均値等に基づ
いて複雑度Cの値を定め、更に複雑度Cの値に基づいて
画像をクラス1〜クラスnの何れかに分類する。
When the number of regions obtained by the division as described above is large, or when the area of each region obtained by the division is small, the image is likely to have a simple structure, and the number of the regions is high. If the number is small or the area of each region is large, there is a high possibility that the image has a complicated configuration. Therefore, the value of the complexity C is determined based on the number of regions obtained by the division, the average value of the areas of the regions, and the like, and the image is classified into one of Class 1 to Class n based on the value of the complexity C. Classify into.

【0061】なお、複雑度Cの値を定めることなく、図
3に示すようなマップを用いて画像の構成の複雑さを判
定し何れかのクラスに分類するようにしてもよい。ま
た、上記の画像分割では、例えば雲が浮かんでいる空を
背景する画像に対し、空に相当する領域を複数の領域に
分割してしまう可能性がある。このため、上記の画像分
割を行った後に、隣接する領域の平均濃度や色等を比較
し、平均濃度や色等が近似している領域があった場合に
は、それらを統合することが好ましい。
Instead of setting the value of the complexity C, the map shown in FIG. 3 may be used to determine the complexity of the image structure and classify it into one of the classes. Further, in the above image division, for example, with respect to an image in the background of the sky in which clouds are floating, there is a possibility that an area corresponding to the sky may be divided into a plurality of areas. For this reason, after performing the above image division, it is preferable to compare the average densities, colors, etc. of adjacent areas, and if there are areas with similar average densities, colors, etc., it is preferable to integrate them. .

【0062】(ヒストグラムの形状に基づく複雑度の判
定)画像データが表す各画素の濃度値に基づいて、各画
素の濃度値についてのヒストグラムを求める。構成の複
雑度が低い画像では、図8(A)に示すように、濃度ヒ
ストグラムは山及び谷の数が少ない形状となり、かつ山
のピークにおける高さ(度数)も高い。一方、構成の複
雑度が高い画像では、図8(B)に示すように、濃度ヒ
ストグラムは多数の山及び谷が生じている形状となり、
かつ各山のピークにおける高さも低い。
(Determination of Complexity Based on Histogram Shape) A histogram of the density value of each pixel is obtained based on the density value of each pixel represented by the image data. In an image having a low configuration complexity, as shown in FIG. 8A, the density histogram has a shape with a small number of peaks and valleys, and the height (frequency) at the peak of the peak is high. On the other hand, in an image with a high degree of complexity in the structure, the density histogram has a shape with many peaks and troughs, as shown in FIG.
Moreover, the height at the peak of each mountain is low.

【0063】このため、求めた濃度ヒストグラムより、
濃度ヒストグラムの形状が図8の(A)に示す形状に近
いか、図8(B)に示す形状に近いかを識別するための
特徴量(例えば山や谷の数、各山のピークにおける高さ
の平均値等)を求め、これを複雑度Cとする。そして、
複雑度Cの値に基づいて画像をクラス1〜クラスnの何
れかに分類する。なお、上記の濃度ヒストグラムに代え
て、例えば各画素毎の隣接する画素との色差についての
ヒストグラム等を用いてもよい。
Therefore, from the obtained density histogram,
A feature amount for identifying whether the shape of the density histogram is close to the shape shown in FIG. 8A or the shape shown in FIG. 8B (for example, the number of peaks and valleys, the peak height of each peak). The average value (i.e., the average value) is defined as the complexity C. And
The image is classified into one of Class 1 to Class n based on the value of the complexity C. Instead of the density histogram described above, for example, a histogram of color difference between each pixel and an adjacent pixel may be used.

【0064】なお、前述のステップ103、ステップ1
08は、上述した方法の何れかを適用することに限定さ
れるものではなく、上述した複雑度判定方法を組み合わ
せ、例えば図3に示したような2次元のマップ、又は3
次元以上の多次元のマップを用いるか、或いは上述した
複雑度を判定するための各種の特徴量のうち少なくとも
1個以上の特徴量を含む関数式等を用いて画像の複雑度
を判定し、画像を分類するようにしてもよい。
Incidentally, the above-mentioned step 103, step 1
08 is not limited to applying any of the above-described methods, and combines the above-described complexity determination methods, for example, a two-dimensional map as shown in FIG.
Using a multidimensional map of dimension or more, or determining the complexity of an image using a functional expression or the like including at least one feature amount among various feature amounts for determining the complexity described above, The images may be classified.

【0065】ステップ108の画像の分類が終了する
と、次のステップ110では分類したクラスに対応する
露光量演算式をROM40Bから取込み、ステップ11
1では第1実施形態で説明した図2のフローチャートの
ステップ104と同様にして顔領域抽出処理を行う。そ
して次のステップ112では、先のステップ110で取
込んだ露光量演算式を用い、該露光量演算式に顔領域の
画像特徴量Df及びその他の画像特徴量Dx等を代入し
て露光量Eを演算し、ステップ114において、演算し
た露光量Eに従って、第1実施形態と同様にして印画紙
28への画像の焼付けを行って処理を終了する。
When the image classification in step 108 is completed, in the next step 110, the exposure amount arithmetic expression corresponding to the classified class is fetched from the ROM 40B, and step 11
In step 1, the face area extracting process is performed in the same manner as step 104 in the flowchart of FIG. 2 described in the first embodiment. Then, in the next step 112, the exposure amount arithmetic expression fetched in the previous step 110 is used, and the image characteristic amount Df of the face region and other image characteristic amounts Dx and the like are substituted into the exposure amount arithmetic expression to obtain the exposure amount E. Is calculated, and in step 114, the image is printed on the photographic printing paper 28 in the same manner as in the first embodiment in accordance with the calculated exposure amount E, and the process is ended.

【0066】このように、本第2実施形態も第1実施形
態と同様に、複雑度Cの値に基づいて画像をクラス1〜
クラスnのn個のクラスの何れかに分類し、分類したク
ラスに対応する露光量演算式を用いて露光量Eを演算し
ているので、画像が分類されたクラスが複雑さの低いク
ラスであるほど、顔領域の画像特徴量を重視した露光量
が演算され、画像が分類されたクラスが複雑さの高いク
ラスであるほど、顔領域の画像特徴量を重視しない露光
量が演算されることになる。従って、焼付けする画像の
画像内容(構成の複雑度)に拘らず、人物の顔等の主要
被写体を適正に焼付けできる露光量を高い得率で得るこ
とができ、高い得率で適正な仕上りの写真プリントが得
られる。
As described above, in the second embodiment as well, as in the first embodiment, images are classified into classes 1 to 1 based on the value of the complexity C.
Since the exposure amount E is calculated by classifying into any of n classes of the class n and using the exposure amount calculation formula corresponding to the classified class, the class into which the image is classified is a class with low complexity. The exposure amount that emphasizes the image feature amount of the face area is calculated as much as possible, and the exposure amount that does not emphasize the image feature amount of the face area is calculated as the class into which the images are classified has higher complexity. become. Therefore, regardless of the image content of the image to be printed (complexity of the configuration), it is possible to obtain an exposure amount that can properly print a main subject such as a person's face with a high yield, and with a high yield, an appropriate finish can be obtained. A photographic print is obtained.

【0067】また、顔領域抽出処理は処理時間の長い複
雑な処理であることが一般的であるが、本第2実施形態
では画像データに基づいて複雑度Cを求めているので、
複雑度Cにより分類したクラスに対応する露光量演算式
が、顔領域抽出処理の結果を用いることなく露光量を求
める演算式(例えば顔領域の画像特徴量Dfに対する重
み係数が0とされている演算式)である場合には、ステ
ップ111の顔領域抽出処理を省略するようにしてもよ
い。この場合、第1実施形態と比較して、1画像当りの
平均処理時間を短くすることができ、写真焼付装置10
の処理能力を向上させることができる。
Further, the face area extracting process is generally a complicated process requiring a long processing time, but in the second embodiment, since the complexity C is obtained based on the image data,
The exposure amount arithmetic expression corresponding to the class classified by the complexity C is an arithmetic expression for obtaining the exposure amount without using the result of the face area extraction processing (for example, the weighting coefficient for the image characteristic amount Df of the face area is 0). If it is an arithmetic expression), the face area extraction processing in step 111 may be omitted. In this case, the average processing time per image can be shortened as compared with the first embodiment, and the photo printing apparatus 10 can be used.
Can be improved.

【0068】〔第3実施形態〕次に本発明の第3実施形
態について説明する。なお、本第3実施形態は第1実施
形態及び第2実施形態と同一の構成であるので、各部分
に同一の符号を付して構成の説明を省略し、以下では第
3実施形態の作用として、図9のフローチャートを参照
し、本第3実施形態に係る写真焼付処理について、第1
実施形態と異なる部分についてのみ説明する。
[Third Embodiment] Next, a third embodiment of the present invention will be described. Since the third embodiment has the same configuration as the first and second embodiments, the same reference numerals are given to the respective parts and the description of the configuration will be omitted. Hereinafter, the operation of the third embodiment will be described. As a first example, referring to the flowchart of FIG. 9, the first is the photoprinting process according to the third embodiment.
Only parts different from the embodiment will be described.

【0069】本第3実施形態では、第1実施形態と同様
にして、ステップ100でネガフィルム12に記録され
た画像を露光位置に位置決めし、ステップ102で露光
位置に位置決めした画像を測光して画像データを記憶
し、ステップ104で顔領域抽出処理を行い、ステップ
106で顔領域に関する特徴量に基づいて画像の構成の
複雑度Cを演算(このステップ106は請求項7に記載
の判定手段に対応している)した後に、次のステップ1
09において、請求項7に記載の記憶手段としてのRO
M40Bに予め記憶されている露光量演算式(次の
(3)式参照)を取込む。
In the third embodiment, similarly to the first embodiment, the image recorded on the negative film 12 is positioned at the exposure position in step 100, and the image positioned at the exposure position is measured in step 102. The image data is stored, the face area extraction processing is performed in step 104, and the complexity C of the image configuration is calculated based on the feature amount related to the face area in step 106 (this step 106 is performed by the determination unit according to claim 7). After that, the next step 1
09, the RO as the storage means according to claim 7.
The exposure amount calculation formula (refer to the following formula (3)) stored in advance in M40B is taken in.

【0070】 E=f(g(C)・Df,ΣKi ・Dxi ) …(3) 但し、g(C)は顔領域の画像特徴量Dfの重み関数、
i はその他の画像特徴量Dxi の重み係数(定数)で
ある。重み関数g(C)は、複雑度Cが表す画像の構成
の複雑さが高くなるに従って値が小さく(顔領域の画像
特徴量Dfの重みが小さく)なり、複雑度Cが表す画像
の構成の複雑さが低くなるに従って値が大きく(顔領域
の画像特徴量Dfの重みが大きく)なる単調関数であ
り、適正な露光量の得率が所定値以上となる任意の単調
関数を適用することができる。
E = f (g (C) · Df, ΣK i · Dx i ) ... (3) where g (C) is a weighting function of the image feature amount Df of the face area,
K i is a weighting coefficient (constant) of the other image feature amount Dx i . The value of the weighting function g (C) becomes smaller (the weight of the image feature amount Df of the face area is smaller) as the complexity of the image represented by the complexity C becomes higher, and the weighting function g (C) becomes It is a monotone function in which the value increases as the complexity decreases (the weight of the image feature amount Df of the face area increases), and an arbitrary monotone function with which the appropriate exposure amount yield is equal to or higher than a predetermined value may be applied. it can.

【0071】(3)式では、露光量Eが、重み関数g
(C)によって重み付けされた顔領域の画像特徴量D
f、及び重み係数Ki によって重み付けされた複数のそ
の他の画像特徴量Dxi を変数とする関数として表され
ているので、顔領域の画像特徴量Dfが露光量Eの決定
に関与する度合いは重み関数g(C)の値によって変化
し、画像の複雑さが高くなるに従って顔領域の画像特徴
量Dfが露光量Eの決定に関与する度合いが小さくな
り、画像の複雑さが低くなるに従って顔領域の画像特徴
量Dfが露光量Eの決定に関与する度合いが大きくな
る。
In the equation (3), the exposure amount E is the weighting function g
Image feature amount D of the face area weighted by (C)
f and a plurality of other image feature amounts Dx i weighted by the weighting factor K i are expressed as a function, and thus the degree to which the image feature amount Df of the face area is involved in determining the exposure amount E is It changes depending on the value of the weighting function g (C), and as the complexity of the image increases, the degree that the image feature amount Df of the face area is less involved in determining the exposure amount E decreases, and the complexity of the image decreases. The degree that the image feature amount Df of the area is involved in determining the exposure amount E becomes large.

【0072】次のステップ113では、上記で取込んだ
露光量演算式に、複雑度C、顔領域の画像特徴量Df、
その他の画像特徴量Dx等を代入して露光量Eを演算す
る。なお、先のステップ109及びステップ113は請
求項7に記載の露光量決定手段に対応している。そし
て、ステップ114において、演算した露光量Eに従っ
て、第1実施形態と同様にして印画紙28への画像の焼
付けを行って処理を終了する。
At the next step 113, the complexity C, the image feature amount Df of the face area,
The exposure amount E is calculated by substituting the other image feature amounts Dx and the like. The steps 109 and 113 correspond to the exposure amount determining means described in claim 7. Then, in step 114, according to the calculated exposure amount E, the image is printed on the photographic printing paper 28 in the same manner as in the first embodiment, and the process is ended.

【0073】このように、本第3実施形態では、顔領域
の画像特徴量Dfが露光量の決定に関与する度合いが複
雑度Cの関数で表された露光量演算式を用いて露光量を
演算しているので、複雑度Cが表す画像の構成の複雑さ
が低くなるに従って、顔領域の画像特徴量を重視した露
光量が演算され、複雑度Cが表す画像の構成の複雑さが
高くなるに従って、顔領域の画像特徴量を重視する度合
いが低くされて露光量が演算されることになる。従っ
て、焼付けする画像の画像内容(構成の複雑度)に拘ら
ず、人物の顔等の主要被写体を適正に焼付けできる露光
量を高い得率で得ることができ、高い得率で適正な仕上
りの写真プリントが得られる。また、第1実施形態及び
第2実施形態のように、画像を予め定められた複数のク
ラスの何れかに分類する処理を行う必要もなくなる。
As described above, in the third embodiment, the exposure amount is calculated by using the exposure amount arithmetic expression in which the degree of the image feature amount Df of the face area involved in the determination of the exposure amount is represented by the function of the complexity C. Since the calculation is performed, as the complexity of the structure of the image represented by the complexity C becomes lower, the exposure amount that emphasizes the image feature amount of the face area is calculated, and the complexity of the structure of the image represented by the complexity C becomes higher. As a result, the degree of emphasis on the image feature amount of the face area is lowered, and the exposure amount is calculated. Therefore, regardless of the image content of the image to be printed (complexity of the configuration), it is possible to obtain an exposure amount that can properly print a main subject such as a person's face with a high yield, and with a high yield, an appropriate finish can be obtained. A photographic print is obtained. Further, unlike the first and second embodiments, there is no need to perform a process of classifying an image into any of a plurality of predetermined classes.

【0074】なお、第3実施形態では顔領域抽出処理に
よって抽出された顔領域の特徴量に基づいて複雑度Cを
求めるようにした例を説明したが、これに限定されるも
のではなく、第2実施形態で説明したように、画像デー
タに基づいて複雑度Cを求めるようにしても良いことは
言うまでもない。
In the third embodiment, an example has been described in which the complexity C is obtained based on the feature amount of the face area extracted by the face area extraction processing, but the present invention is not limited to this. Needless to say, the complexity C may be obtained based on the image data as described in the second embodiment.

【0075】〔第4実施形態〕次に本発明の第4実施形
態について説明する。なお、以下では第1実施形態と同
一の部分に同一の符号を付し、説明を省略する。
[Fourth Embodiment] Next, a fourth embodiment of the present invention will be described. In the following, the same parts as those in the first embodiment will be designated by the same reference numerals, and the description thereof will be omitted.

【0076】本第4実施形態に係る写真焼付装置60
(図10参照)には、乳剤層が形成されている面と反対
側の面に透明磁性材料が塗布されて透明な磁気記録層が
形成されたネガフィルム12がセットされる。このネガ
フィルム12は、カメラにより画像が記録される範囲外
に、ネガフィルム12の長手方向に沿って情報を記録す
るための記録トラックが形成されている。ネガフィルム
12は、前記記録トラックに各種の情報を記録する機能
を備えたカメラに装填されて画像が撮影・記録されると
共に、画像が撮影・記録される毎に前記カメラにより、
撮影記録された画像の撮影倍率、撮影時に測定された主
要被写体までの距離等の撮影条件を表す情報を含む各種
情報が前記記録トラックに磁気的に記録される。
Photographic printing apparatus 60 according to the fourth embodiment.
In FIG. 10, a negative film 12 having a transparent magnetic recording layer formed by coating a transparent magnetic material on the surface opposite to the surface on which the emulsion layer is formed is set. In the negative film 12, recording tracks for recording information are formed along the longitudinal direction of the negative film 12 outside the range where an image is recorded by the camera. The negative film 12 is loaded into a camera having a function of recording various kinds of information on the recording track, and an image is photographed / recorded, and each time the image is photographed / recorded, the negative film 12 is recorded by the camera.
Various information including information indicating photographing conditions such as a photographing magnification of a photographed and recorded image and a distance to a main subject measured at the time of photographing is magnetically recorded on the recording track.

【0077】写真焼付装置60は、画面検出センサ48
と搬送ローラ対14Bとの間に、ネガフィルム12の記
録トラックに対応して磁気ヘッド62が設けられてい
る。記録ヘッド62は増幅器64、A/D変換器66を
介して制御部40の入出力ポート40Dに接続されてい
る。ネガフィルム12の記録トラックに記録された前記
撮影条件を表す情報を含む各種情報は、ネガフィルム1
2の搬送時に磁気ヘッド62によって読取られ、増幅器
64で増幅され、A/D変換器66でデジタルデータに
変換されて制御部40に入力される。
The photoprinting device 60 includes a screen detection sensor 48.
A magnetic head 62 corresponding to the recording track of the negative film 12 is provided between the recording medium and the conveying roller pair 14B. The recording head 62 is connected to the input / output port 40D of the control unit 40 via an amplifier 64 and an A / D converter 66. The various information including the information indicating the photographing conditions recorded on the recording track of the negative film 12 is the negative film 1
When being conveyed, the magnetic head 62 reads the data, the amplifier 64 amplifies the data, the A / D converter 66 converts the data into digital data, and the digital data is input to the control unit 40.

【0078】次に図11のフローチャートを参照し、本
第4実施形態の作用を説明する。ステップ101ではネ
ガフィルム12を搬送し、磁気ヘッド62によりネガフ
ィルム12の記録トラックに記録されている情報を読取
ってRAM40C等に記憶すると共に、画面検出センサ
48から出力される信号を監視してネガフィルム12に
記録された画像の位置を判断し、前記画像が露光位置に
到達したと判断するとネガフィルム12の搬送を停止さ
せることにより、画像を露光位置に位置決めする。
Next, the operation of the fourth embodiment will be described with reference to the flowchart of FIG. In step 101, the negative film 12 is conveyed, the information recorded on the recording track of the negative film 12 is read by the magnetic head 62 and stored in the RAM 40C or the like, and the signal output from the screen detection sensor 48 is monitored. The position of the image recorded on the film 12 is judged, and when it is judged that the image has reached the exposure position, the conveyance of the negative film 12 is stopped to position the image at the exposure position.

【0079】また、次のステップ102で露光位置に位
置決めした画像を測光して画像データを記憶した後に、
ステップ105において、ネガフィルム12の記録トラ
ックから読取ってRAM40Cに記憶した各種情報のう
ち、露光位置に位置決めした画像の撮影条件を表す情報
に基づいて前記画像の撮影条件を判定し、判定した撮影
条件に基づいて画像の複雑度Cを求める。このステップ
105は請求項5に記載の複雑さの判定に相当してい
る。なお、撮影条件に基づく複雑度Cの判定は、例えば
以下のようにして行うことができる。
After the image positioned at the exposure position is measured in the next step 102 and the image data is stored,
In step 105, the photographing condition of the image is determined based on the information indicating the photographing condition of the image positioned at the exposure position among the various information read from the recording track of the negative film 12 and stored in the RAM 40C, and the determined photographing condition The image complexity C is calculated based on This step 105 corresponds to the complexity determination described in claim 5. The determination of the complexity C based on the shooting condition can be performed, for example, as follows.

【0080】すなわち、撮影時の撮影倍率が大きい場合
には、画像中に存在する主要被写体の大きさが大きく、
画像中に占める背景に相当する部分の面積が小さい可能
性が高い。これは撮影時の主要被写体との距離が短い場
合も同様である。このため、上記のような場合には画像
の構成の複雑さは低いと判断できるので、複雑度Cの値
を比較的小さな値とする。これに対し、撮影時の撮影倍
率が小さい場合には、画像中に存在する主要被写体の大
きさが小さく、画像中に占める背景に相当する部分の面
積が大きい可能性が高い。これは撮影時の主要被写体と
の距離が長い場合も同様である。このため、上記のよう
な場合には画像の構成の複雑さは高いと判断できるの
で、複雑度Cの値を比較的大きな値とする。
That is, when the photographing magnification at the time of photographing is large, the size of the main subject existing in the image is large,
It is highly possible that the area corresponding to the background in the image is small. This is also the case when the distance to the main subject at the time of shooting is short. Therefore, in the above case, it can be determined that the complexity of the image structure is low, and therefore the value of the complexity C is set to a relatively small value. On the other hand, when the shooting magnification at the time of shooting is small, the size of the main subject existing in the image is small, and the area of the portion corresponding to the background in the image is likely to be large. This also applies when the distance to the main subject at the time of shooting is long. Therefore, in the above case, it can be determined that the complexity of the image structure is high, and therefore the value of the complexity C is set to a relatively large value.

【0081】なお、複雑度を判定するための撮影条件は
上記に限定されるものではなく、例えばストロボ発光の
有無を表す情報や被写体の輝度を表す情報を含めてもよ
い。例えば被写体の輝度が低く、高い撮影倍率でストロ
ボを発光して撮影した等の撮影条件では、得られるネガ
画像は背景が暗いので画像中に占める素抜け部分の面積
が大きく、かつ画像中に存在する主要被写体の大きさは
大きいので、画像の構成の複雑さは低いと判断できる。
The photographing conditions for determining the complexity are not limited to the above, and may include, for example, information indicating the presence or absence of strobe light emission and information indicating the brightness of the subject. For example, under a shooting condition such as when the brightness of the subject is low and the flash was used to shoot at a high shooting magnification, the resulting negative image has a dark background, so the area of the unexposed areas in the image is large, and the image is present in the image. Since the size of the main subject is large, it can be judged that the complexity of the image structure is low.

【0082】上記のようにして複雑度Cを演算すると、
次のステップ108では複雑度Cの値に基づいて画像を
クラス1〜クラスnの何れかに分類し、ステップ110
で分類したクラスに対応する露光量演算式を取込み、ス
テップ111で顔領域抽出処理を行う。また、ステップ
112ではステップ110で取込んだ露光量演算式に複
雑度C、顔領域の画像特徴量Df、その他の画像特徴量
Dx等を代入して露光量Eを演算し、ステップ114で
演算した露光量Eに従って、印画紙28への画像の焼付
けを行って処理を終了する。
When the complexity C is calculated as described above,
In the next step 108, the image is classified into one of class 1 to class n based on the value of the complexity C, and step 110
The exposure amount arithmetic expression corresponding to the class classified in step 3 is taken in, and face area extraction processing is performed in step 111. Further, in step 112, the exposure amount E is calculated by substituting the complexity C, the image feature amount Df of the face area, the other image feature amount Dx, and the like into the exposure amount calculation formula captured in step 110, and the calculation is performed in step 114. The image is printed on the photographic printing paper 28 according to the exposure amount E, and the process is completed.

【0083】なお、第4実施形態ではカメラによりネガ
フィルム12に磁気記録された情報を読取って複雑度を
判定するようにした場合を説明したが、これに限定され
るものではなく、カメラにより例えばバーコード等の形
態で情報が光学的に記録され、該情報を光学的に読取っ
て複雑度を判定するようにしてもよい。また、第4実施
形態では画像をクラス1〜クラスnの何れかに分類し、
分類したクラスに対応する露光量演算式を用いて露光量
を演算していたが、これに代えて、第3実施形態に記載
したように、顔領域の画像特徴量Dfが露光量の決定に
関与する度合いが複雑度Cの関数で表された露光量演算
式を用いて露光量を演算するようにしてもよい。
In the fourth embodiment, the case where the complexity is judged by reading the information magnetically recorded on the negative film 12 by the camera has been described. However, the present invention is not limited to this and, for example, by the camera. The information may be optically recorded in the form of a barcode or the like, and the information may be optically read to determine the complexity. Further, in the fourth embodiment, the image is classified into any one of class 1 to class n,
Although the exposure amount is calculated using the exposure amount calculation formula corresponding to the classified class, instead of this, as described in the third embodiment, the image feature amount Df of the face area determines the exposure amount. The exposure amount may be calculated by using an exposure amount calculation formula whose degree of involvement is represented by a function of the complexity C.

【0084】また、画像の構成の複雑度を判定するため
の特徴量は、上記の各実施形態に記載した特徴量に限定
されるものではなく、本発明は、画像の構成の複雑度に
関連する各種の特徴量を適用できることは言うまでもな
い。また、上記で複雑度Cの値を求めるために用いてい
た各種特徴量より複雑さを評価するためのルールを予め
定めておき、前記ルールを用い公知のファジー推論によ
り複雑さを判定するようにしてもよい。
The feature quantity for determining the complexity of the image structure is not limited to the feature quantity described in each of the above embodiments, and the present invention relates to the complexity of the image structure. It goes without saying that various types of feature amounts that can be applied are applicable. In addition, a rule for evaluating complexity is determined in advance from various feature amounts used to obtain the value of the complexity C, and the complexity is determined by a known fuzzy inference using the rule. May be.

【0085】更に、上記では顔領域抽出処理として、人
物の各部に特有の形状パターンを探索して顔領域を抽出
する抽出方式を例に説明したが、本発明はこれに限定さ
れるものではなく、例えば本願出願人が特開昭 52-1566
24号公報、特開昭 52-156625号公報、特開昭53-12330号
公報、特開昭 53-145620号公報、特開昭 53-145621号公
報、特開昭 53-145622号公報等で提案しているように、
画像データに基づいて各画素の色が色座標上で肌色の範
囲内に含まれているか否か判定し、肌色の範囲内と判断
した測定点のクラスタ(群)が存在している領域を顔領
域として抽出する抽出方式を適用してもよい。
Further, in the above, as the face area extraction processing, the extraction method of searching the shape pattern peculiar to each part of the person and extracting the face area has been described as an example, but the present invention is not limited to this. , For example, the applicant of the present application has disclosed that
24, JP-A-52-156625, JP-A-53-12330, JP-A-53-145620, JP-A-53-145621, JP-A-53-145622, etc. As suggested,
It is determined whether the color of each pixel is included in the skin color range on the color coordinates based on the image data, and the area where the cluster (group) of measurement points that is determined to be within the skin color range exists An extraction method of extracting as a region may be applied.

【0086】また、本願出願人が特開平4-346333号公報
等で提案しているように、画像データに基づいて色相値
(及び彩度値)についてのヒストグラムを求め、求めた
ヒストグラムを山毎に分割し、各測定点が分割した山の
何れに属するかを判断して各測定点を分割した山に対応
する群に分け、各群毎に画像を複数の領域に分割し、該
複数の領域のうち人物の顔に相当する領域を推定し、推
定した領域を顔領域として抽出する抽出方式を適用する
ようにしてもよい。
Further, as proposed by the applicant of the present application in Japanese Patent Laid-Open No. 4-346333, etc., a histogram of hue values (and saturation values) is obtained based on the image data, and the obtained histogram is obtained for each mountain. The measurement points are divided into groups corresponding to the divided mountains by determining which of the divided mountains each measurement point belongs to, the image is divided into a plurality of regions for each group, and An extraction method may be applied in which an area corresponding to a person's face is estimated from the areas and the estimated area is extracted as a face area.

【0087】更に、上記では主要被写体に相当すると推
定される領域として、人物の顔に相当すると推定される
領域を抽出するようにしていたが、これに限定されるも
のではなく、画像中の背景に相当すると推定される領域
(背景領域)を判断し、背景領域以外の領域を主要被写
体に相当すると推定される領域として抽出するようにし
てもよい。具体的には、画像データに基づいて各画素の
色が、色座標上で明らかに背景に属する特定の色(例え
ば空や海の青、芝生や木の緑等)の範囲内に含まれてい
るか否か判定し、前記特定の色範囲内と判断した画素の
クラスタ(群)が存在している領域を背景領域と判断し
て除去し、残った領域を非背景領域(主要被写体に相当
すると推定される領域)として抽出することができる。
Further, in the above, the region estimated to correspond to the person's face is extracted as the region estimated to correspond to the main subject, but the present invention is not limited to this, and the background in the image is not limited to this. It is also possible to determine an area (background area) that is estimated to correspond to (1) and extract an area other than the background area as an area that is estimated to correspond to the main subject. Specifically, the color of each pixel based on the image data is included within the range of a specific color that clearly belongs to the background in color coordinates (for example, blue of the sky or sea, green of grass or trees, etc.). It is determined whether or not there is a cluster (group) of pixels that is determined to be within the specific color range, the region is determined to be a background region, and the remaining region is removed, and the remaining region is a non-background region (corresponding to the main subject. (Estimated region).

【0088】また、本願出願人が特願平6-265850号、特
願平6-266598号で提案しているように、前記と同様にし
て画像を複数の領域に分割した後に、各領域毎に背景に
相当する領域としての特徴量(輪郭に含まれる直線部分
の比率、線対称度、凹凸数、画像外縁との接触率、領域
内の濃度コントラスト、領域内の濃度の変化パターンの
有無等)を求め、求めた特徴量に基づいて各領域が背景
領域か否か判定し背景部と判断した領域を除去し、残っ
た領域を非背景領域(主要被写体に相当すると推定され
る領域)として抽出するようにしてもよい。
Further, as proposed by the applicant of the present invention in Japanese Patent Application No. 6-265850 and Japanese Patent Application No. 6-266598, after dividing an image into a plurality of areas in the same manner as described above, A feature amount as a region corresponding to the background (ratio of straight line portions included in contour, line symmetry, number of irregularities, contact rate with outer edge of image, density contrast in area, presence / absence of density change pattern in area, etc.) ), Determine whether or not each area is a background area based on the obtained feature amount, remove the area determined to be the background portion, and set the remaining area as a non-background area (area estimated to correspond to the main subject). You may make it extract.

【0089】更に、第1、第2及び第4実施形態では画
像をクラス1〜クラスnの何れかに分類し、分類したク
ラスに対応する露光量演算式を用いて露光量を演算する
態様を、第3実施形態では顔領域の画像特徴量Dfが露
光量の決定に関与する度合いが複雑度Cの関数で表され
た露光量演算式を用いて露光量を演算する態様を各々説
明したが、露光量演算式として単一の演算式を用いると
共に、前記演算式に含まれている各種の係数や定数の値
を、画像の構成の複雑さが低くなるに従って画像から抽
出した主要被写体に相当すると推定される領域の画像特
徴量が露光量の決定に関与する度合いが大きくなり、画
像の構成の複雑さが高くなるに従って画像から抽出した
主要被写体に相当すると推定される領域の画像特徴量が
露光量の決定に関与する度合いが小さくなるように、画
像の構成の複雑さに応じて予め複数種類定めてテーブル
等の形態で記憶しておき、露光量の決定にあたっては、
判定した画像の構成の複雑さに対応する前記各種の係数
や定数の値を取込み、取込んだ係数や定数の値を露光量
演算式に代入して露光量を決定するようにしてもよい。
本発明の請求項1は上記のような実施態様も含むもので
ある。
Furthermore, in the first, second, and fourth embodiments, the image is classified into any of the classes 1 to n, and the exposure amount is calculated using the exposure amount calculation formula corresponding to the classified class. In the third embodiment, the description has been given of the aspects in which the exposure amount is calculated using the exposure amount calculation formula in which the degree of the image feature amount Df of the face area involved in the determination of the exposure amount is expressed by the function of the complexity C. , A single arithmetic expression is used as the exposure arithmetic expression, and the values of various coefficients and constants included in the arithmetic expression are equivalent to the main subject extracted from the image as the complexity of the image becomes lower. Then, the degree of the image feature amount of the estimated region involved in determining the exposure amount increases, and the image feature amount of the region estimated to correspond to the main subject extracted from the image increases as the complexity of the image configuration increases. When determining the amount of exposure As the degree of decrease of, depending on the complexity of the image of the configuration is stored in the form of a table or the like predetermined plurality of types, in determining the amount of exposure,
The exposure amount may be determined by taking in the values of the various coefficients and constants corresponding to the determined complexity of the image structure and substituting the taken in values of the coefficients and constants into the exposure amount calculation formula.
Claim 1 of the present invention also includes the embodiment as described above.

【0090】また、上記の実施形態では画像の構成の複
雑さを写真焼付装置側で自動的に判定する態様を説明し
たが、オペレータが画像を検定して画像の構成の複雑さ
を判定し、判定結果をテンキーやタッチパネル等の入力
手段を介して入力し、写真焼付装置側では、入力手段を
介して入力された画像の複雑さの判定結果に応じて、画
像から抽出した主要被写体に相当すると推定される領域
の画像特徴量が露光量の決定に関与する度合いが変化す
るようにして、画像の露光量を決定するようにしてもよ
い。なお、オペレータによる画像の構成の複雑さの判定
は、写真焼付装置により画像の焼付けが行われる際に行
ってもよいし、画像焼付前に検定機を用いて行われる検
定工程において行ってもよい。検定工程でオペレータが
画像の構成の複雑さを判定する場合には、オペレータに
より入力された判定結果は、メモリカードや、第4実施
形態で説明したネガフィルム12に形成された記録トラ
ック等の記憶媒体を介して、或いはオンラインにより写
真焼付装置に伝達することができる。本発明の請求項1
は上記のような実施態様も含むものである。
Further, in the above-described embodiment, the aspect in which the complexity of the image structure is automatically determined on the side of the photo printing apparatus has been described. However, the operator examines the image to determine the complexity of the image structure, The judgment result is inputted through an input means such as a ten-key pad or a touch panel, and on the side of the photo printing apparatus, according to the judgment result of the complexity of the image inputted through the input means, it corresponds to the main subject extracted from the image. The exposure amount of the image may be determined by changing the degree that the image feature amount of the estimated region is involved in the determination of the exposure amount. The operator may determine the complexity of the image configuration when the image is printed by the photo printing device, or may be performed in a verification process performed by using a verification machine before the image printing. .. When the operator determines the complexity of the image configuration in the verification step, the determination result input by the operator is stored in the memory card or the recording track formed on the negative film 12 described in the fourth embodiment. It can be transmitted to the photo printing apparatus via a medium or online. Claim 1 of the present invention
Includes the embodiments as described above.

【0091】[0091]

【発明の効果】以上説明したように請求項1記載の発明
は、判定した原画像の構成の複雑さが低くなるに従って
前記原画像から抽出した主要被写体に相当すると推定さ
れる領域の画像特徴量が露光量の決定に関与する度合い
が大きくなり、前記複雑さが高くなるに従って前記画像
から抽出した主要被写体に相当すると推定される領域の
画像特徴量が露光量の決定に関与する度合いが小さくな
るように、原画像の露光量を決定するようにしたので、
焼付けすべき原画像の画像内容に拘らず、主要被写体を
適正に焼付けできる露光量を高い得率で得ることができ
る、という優れた効果を有する。
As described above, according to the first aspect of the invention, as the complexity of the determined original image becomes lower, the image feature amount of the area estimated to correspond to the main subject extracted from the original image. Is more involved in determining the exposure amount, and as the complexity is higher, the image feature amount of the region estimated to correspond to the main subject extracted from the image is less involved in determining the exposure amount. As I decided to determine the exposure amount of the original image,
It has an excellent effect that an exposure amount capable of properly printing a main subject can be obtained at a high rate regardless of the image content of the original image to be printed.

【0092】請求項2記載の発明は、画像の構成の複雑
さが低いクラスほど画像から抽出した主要被写体に相当
すると推定される領域の画像特徴量が露光量の決定に関
与する度合いが大きくなり、画像の構成の複雑さが高い
クラスほど前記関与する度合いが小さくなるように、各
クラス毎に露光量演算式を予め定めておき、原画像の構
成の複雑さを判定して原画像を複数のクラスの何れかに
分類し、分類したクラスに対応する露光量演算式を用い
て原画像の露光量を決定するようにしたので、焼付けす
べき原画像の画像内容に拘らず、主要被写体を適正に焼
付けできる露光量を高い得率で得ることができる、とい
う優れた効果を有する。
According to the second aspect of the present invention, the lower the complexity of the image structure is, the greater the degree that the image feature amount of the region estimated to correspond to the main subject extracted from the image is related to the determination of the exposure amount. , The exposure calculation formula is determined in advance for each class so that the degree of involvement becomes smaller in a class having a higher image structure complexity, and a plurality of original images are determined by determining the complexity of the original image structure. The exposure amount of the original image is determined by using the exposure amount calculation formula corresponding to the classified class, so that the main subject is irrespective of the image content of the original image to be printed. It has an excellent effect that an exposure amount that can be properly printed can be obtained with a high yield.

【0093】請求項3記載の発明は、画像の構成の複雑
さが低くなるに従って画像から抽出した主要被写体に相
当すると推定される領域の画像特徴量が露光量の決定に
関与する度合いが大きくなり、前記複雑さが高くなるに
従って前記関与する度合いが小さくなるように、前記関
与する度合いが画像の構成の複雑さの関数で表された露
光量演算式を定めておき、原画像の構成の複雑さを判定
し、原画像の構成の複雑さの判定結果に基づき、前記露
光量演算式を用いて原画像の露光量を決定するようにし
たので、焼付けすべき原画像の画像内容に拘らず、主要
被写体を適正に焼付けできる露光量を高い得率で得るこ
とができる、という優れた効果を有する。
According to the third aspect of the invention, as the complexity of the image becomes lower, the image feature amount of the area estimated to correspond to the main subject extracted from the image becomes more and more involved in the determination of the exposure amount. , So that the degree of involvement becomes smaller as the complexity becomes higher, the exposure amount arithmetic expression in which the degree of involvement is expressed by a function of the complexity of the image configuration is defined, and the complexity of the configuration of the original image is set. The exposure amount of the original image is determined using the exposure amount calculation formula based on the determination result of the complexity of the original image configuration, regardless of the image content of the original image to be printed. It has an excellent effect that an exposure amount capable of properly printing a main subject can be obtained at a high rate.

【0094】請求項6記載の発明は、画像の構成の複雑
さが低いクラスほど画像から抽出した主要被写体に相当
すると推定される領域の画像特徴量が露光量の決定に関
与する度合いが大きくなり、前記複雑さが高いクラスほ
ど前記関与する度合いが小さくなるように各クラス毎に
各々定められた露光量演算式を記憶しておき、原画像の
構成の複雑さを判定して原画像を複数のクラスの何れか
に分類し、分類されたクラスに対応する露光量演算式を
用いて原画像の露光量を決定し、決定された露光量に基
づいて複写材料への原画像の露光を制御するようにした
ので、焼付けすべき原画像の画像内容に拘らず、高い確
率で、主要被写体が適正に焼付けされるように原画像を
焼付けることができる、という優れた効果を有する。
According to the sixth aspect of the invention, the image feature amount of the region estimated to correspond to the main subject extracted from the image has a greater degree of contribution to the determination of the exposure amount in a class having a lower complexity of the image structure. , The exposure calculation formulas defined for each class are stored so that the degree of involvement becomes smaller in a class with higher complexity, and a plurality of original images are determined by determining the complexity of the structure of the original image. The exposure amount of the original image is determined by using the exposure amount calculation formula corresponding to the classified class, and the exposure of the original image to the copy material is controlled based on the determined exposure amount. Therefore, regardless of the image content of the original image to be printed, the original image can be printed with a high probability so that the main subject is appropriately printed.

【0095】請求項7記載の発明は、画像の構成の複雑
さが低くなるに従って画像から抽出した主要被写体に相
当すると推定される領域の画像特徴量が露光量の決定に
関与する度合いが大きくなり、前記複雑さが高くなるに
従って前記関与する度合いが小さくなるように予め定め
られた、前記関与する度合いが画像の構成の複雑さの関
数で表された露光量演算式を記憶しておき、原画像の構
成の複雑さを判定し、判定結果に基づき前記露光量演算
式を用いて原画像の露光量を決定し、決定された露光量
に基づいて複写材料への原画像の露光を制御するように
したので、焼付けすべき原画像の画像内容に拘らず、高
い確率で、主要被写体が適正に焼付けされるように原画
像を焼付けることができる、という優れた効果を有す
る。
According to the seventh aspect of the invention, as the complexity of the image structure becomes lower, the degree of the image feature amount of the region estimated to correspond to the main subject extracted from the image, to be involved in the determination of the exposure amount becomes larger. A predetermined exposure amount calculation formula is stored such that the degree of involvement decreases as the complexity increases, and the degree of involvement represented by a function of the complexity of the image configuration is stored. The complexity of the image structure is determined, the exposure amount of the original image is determined based on the determination result using the exposure amount calculation formula, and the exposure of the original image to the copy material is controlled based on the determined exposure amount. Therefore, regardless of the image content of the original image to be printed, the original image can be printed with high probability so that the main subject is printed properly.

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

【図1】第1実施形態に係る写真焼付装置の概略構成図
である。
FIG. 1 is a schematic configuration diagram of a photographic printing apparatus according to a first embodiment.

【図2】第1実施形態に係る写真焼付処理を示すフロー
チャートである。
FIG. 2 is a flowchart showing a photo printing process according to the first embodiment.

【図3】顔領域抽出処理により抽出した顔領域の数と、
該顔領域のサイズ又は平均濃度の分布と、に基づいて画
像の構成の複雑度を判定する場合に用いるマップの一例
を示す概念図である。
FIG. 3 is the number of face areas extracted by face area extraction processing,
It is a conceptual diagram which shows an example of the map used when determining the complexity of the structure of an image based on the size of this face area, or distribution of average density.

【図4】第2実施形態に係る写真焼付処理を示すフロー
チャートである。
FIG. 4 is a flowchart showing a photo printing process according to a second embodiment.

【図5】画像の色の分布に基づいて画像の構成の複雑度
を判定する場合に用いる色座標の一例を示す線図であ
る。
FIG. 5 is a diagram illustrating an example of color coordinates used to determine the complexity of the configuration of an image based on the color distribution of the image.

【図6】(A)は構成の複雑度が低い画像、(B)は構
成の複雑度が高い画像について、所定のライン上に隣接
する画素間の濃度差を順に演算した結果の一例を各々示
す線図である。
6A is an example of a result of sequentially calculating the density difference between adjacent pixels on a predetermined line for an image having a low configuration complexity, and FIG. 6B is an example of an image having a high configuration complexity. FIG. FIG.

【図7】画像の構成の複雑度を判定するために背景領域
を抽出する際の、背景領域の判定処理を進める方向を示
す概念図である。
FIG. 7 is a conceptual diagram showing a direction in which a background area determination process is performed when a background area is extracted to determine the complexity of an image configuration.

【図8】(A)は構成の複雑度が低い画像、(B)は構
成の複雑度が高い画像について求めた濃度ヒストグラム
の一例を各々示す線図である。
FIG. 8A is a diagram showing an example of a density histogram obtained for an image having a low configuration complexity and FIG. 8B is an example of a density histogram obtained for an image having a high configuration complexity.

【図9】第3実施形態に係る写真焼付処理を示すフロー
チャートである。
FIG. 9 is a flowchart showing a photo printing process according to the third embodiment.

【図10】第4実施形態に係る写真焼付装置の概略構成
図である。
FIG. 10 is a schematic configuration diagram of a photographic printing apparatus according to a fourth embodiment.

【図11】第4実施形態に係る写真焼付処理を示すフロ
ーチャートである。
FIG. 11 is a flowchart showing a photo printing process according to the fourth embodiment.

【符号の説明】[Explanation of symbols]

10 写真焼付装置 12 ネガフィルム 18 色補正フィルタ 28 印画紙 32 CCDイメージセンサ 40 制御部 62 磁気ヘッド 10 Photographic Printing Device 12 Negative Film 18 Color Correction Filter 28 Printing Paper 32 CCD Image Sensor 40 Control Unit 62 Magnetic Head

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 原画像の構成の複雑さを判定し、 判定した原画像の構成の複雑さが低くなるに従って前記
原画像から抽出した主要被写体に相当すると推定される
領域の画像特徴量が露光量の決定に関与する度合いが大
きくなり、前記複雑さが高くなるに従って前記原画像か
ら抽出した主要被写体に相当すると推定される領域の画
像特徴量が露光量の決定に関与する度合いが小さくなる
ように、原画像の露光量を決定する露光量決定方法。
1. An image feature amount of an area that is estimated to correspond to a main subject extracted from the original image is determined by determining the complexity of the configuration of the original image, and the complexity of the determined original image becomes lower. The degree of contribution to the determination of the exposure amount increases, and the degree of the contribution of the image feature amount of the region estimated to correspond to the main subject extracted from the original image to the determination of the exposure amount decreases as the complexity increases. A method for determining the exposure amount for determining the exposure amount of the original image.
【請求項2】 画像の構成の複雑さに応じた複数のクラ
スを予め定めると共に、前記複雑さが低いクラスほど画
像から抽出した主要被写体に相当すると推定される領域
の画像特徴量が露光量の決定に関与する度合いが大きく
なり、前記複雑さが高いクラスほど画像から抽出した主
要被写体に相当すると推定される領域の画像特徴量が露
光量の決定に関与する度合いが小さくなるように、各ク
ラス毎に露光量演算式を予め定めておき、 原画像の構成の複雑さを判定して原画像を前記複数のク
ラスの何れかに分類し、分類したクラスに対応する露光
量演算式を用いて原画像の露光量を決定する露光量決定
方法。
2. A plurality of classes according to the complexity of the image structure are determined in advance, and the image feature amount of the region estimated to correspond to the main subject extracted from the image is the exposure amount, as the class with the lower complexity is the exposure amount. The degree of contribution to the decision becomes large, and the higher the complexity becomes, the less the degree of contribution of the image feature amount of the area estimated to correspond to the main subject extracted from the image to the determination of the exposure amount becomes. An exposure amount calculation formula is set in advance for each, the original image is classified into one of the plurality of classes by determining the complexity of the configuration of the original image, and the exposure amount calculation formula corresponding to the classified class is used. An exposure amount determining method for determining the exposure amount of the original image.
【請求項3】 画像の構成の複雑さが低くなるに従って
画像から抽出した主要被写体に相当すると推定される領
域の画像特徴量が露光量の決定に関与する度合いが大き
くなり、前記複雑さが高くなるに従って画像から抽出し
た主要被写体に相当すると推定される領域の画像特徴量
が露光量の決定に関与する度合いが小さくなるように、
前記関与する度合いが画像の構成の複雑さの関数で表さ
れた露光量演算式を定めておき、 原画像の構成の複雑さを判定し、原画像の構成の複雑さ
の判定結果に基づき、前記露光量演算式を用いて原画像
の露光量を決定する露光量決定方法。
3. As the complexity of the image becomes lower, the image feature amount of the area estimated to correspond to the main subject extracted from the image becomes more involved in the determination of the exposure amount, and the complexity becomes higher. As the image feature amount of the area estimated to correspond to the main subject extracted from the image becomes smaller, the degree of contribution to the determination of the exposure amount becomes smaller.
The degree of involvement is defined as an exposure amount arithmetic expression represented by a function of the complexity of the image configuration, the complexity of the configuration of the original image is determined, and based on the determination result of the complexity of the configuration of the original image, An exposure amount determining method for determining an exposure amount of an original image using the exposure amount calculation formula.
【請求項4】 原画像の構成の複雑さの判定を、原画像
を多数個に分割して測光することにより得られた測光デ
ータに基づいて行うことを特徴とする請求項1乃至請求
項3の何れか1項記載の露光量決定方法。
4. The method according to claim 1, wherein the complexity of the structure of the original image is determined based on photometric data obtained by dividing the original image into a large number and measuring the light. The method for determining an exposure amount according to any one of 1.
【請求項5】 原画像の構成の複雑さの判定を、原画像
を記録したカメラによって記録された情報に基づいて行
うことを特徴とする請求項1乃至請求項3の何れか1項
記載の露光量決定方法。
5. The method according to claim 1, wherein the complexity of the structure of the original image is determined based on the information recorded by the camera that recorded the original image. Exposure determination method.
【請求項6】 画像の構成の複雑さに応じて予め定めら
れた複数のクラスの各々に対し、前記複雑さが低いクラ
スほど画像から抽出した主要被写体に相当すると推定さ
れる領域の画像特徴量が露光量の決定に関与する度合い
が大きくなり、前記複雑さが高いクラスほど画像から抽
出した主要被写体に相当すると推定される領域の画像特
徴量が露光量の決定に関与する度合いが小さくなるよう
に各々定められた露光量演算式を記憶する記憶手段と、 原画像を多数個に分割して測光することにより得られた
測光データ又は原画像を記録したカメラによって記録さ
れた情報に基づいて原画像の構成の複雑さを判定し、原
画像を前記複数のクラスの何れかに分類する分類手段
と、 前記記憶手段に記憶されている、前記分類手段によって
分類されたクラスに対応する露光量演算式を用いて原画
像の露光量を決定する露光量決定手段と、 露光量決定手段によって決定された露光量に基づいて複
写材料への原画像の露光を制御する露光制御手段と、 を含む露光制御装置。
6. An image feature amount of an area estimated to correspond to a main subject extracted from an image in a class having a lower complexity with respect to each of a plurality of classes determined in advance according to the complexity of an image structure. Is more involved in the determination of the exposure amount, and the higher the complexity is, the less the degree that the image feature amount of the region estimated to correspond to the main subject extracted from the image is related to the determination of the exposure amount. The storage means for storing each of the exposure amount calculation formulas specified in 1., and the original data based on the photometric data obtained by dividing the original image into a large number and measuring the light or the information recorded by the camera that recorded the original image. A classifying unit that classifies the complexity of the image structure and classifies the original image into one of the plurality of classes, and a classifier that is stored in the storage unit and that is classified by the classifying unit. Exposure amount determining means for determining the exposure amount of the original image by using the exposure amount arithmetic expression corresponding to, and exposure control for controlling the exposure of the original image onto the copy material based on the exposure amount determined by the exposure amount determining means. An exposure control apparatus including:
【請求項7】 画像の構成の複雑さが低くなるに従って
画像から抽出した主要被写体に相当すると推定される領
域の画像特徴量が露光量の決定に関与する度合いが大き
くなり、前記複雑さが高くなるに従って画像から抽出し
た主要被写体に相当すると推定される領域の画像特徴量
が露光量の決定に関与する度合いが小さくなるように予
め定められた、前記関与する度合いが画像の構成の複雑
さの関数で表された露光量演算式を記憶する記憶手段
と、 原画像を多数個に分割して測光することにより得られた
測光データ又は原画像を記録したカメラによって記録さ
れた情報に基づいて原画像の構成の複雑さを判定する判
定手段と、 前記判定手段による判定結果に基づき、前記記憶手段に
記憶されている露光量演算式を用いて原画像の露光量を
決定する露光量決定手段と、 露光量決定手段によって決定された露光量に基づいて複
写材料への原画像の露光を制御する露光制御手段と、 を含む露光制御装置。
7. As the complexity of the image becomes lower, the degree of contribution of the image feature amount of the area estimated to correspond to the main subject extracted from the image to the determination of the exposure amount increases, and the complexity becomes higher. The image feature amount of the region estimated to correspond to the main subject extracted from the image is predetermined so that the degree of involvement in the determination of the exposure amount becomes smaller. A storage unit that stores the exposure amount calculation formula expressed by a function, and the original data based on the photometric data obtained by dividing the original image into a large number and measuring the light or the information recorded by the camera that recorded the original image. A determination unit that determines the complexity of the image structure, and the exposure amount of the original image is determined based on the determination result by the determination unit using the exposure amount calculation formula stored in the storage unit. That an exposure amount determining means, an exposure control means for controlling the exposure of the original image to the copying material based on the exposure amount determined by the exposure amount determining means, an exposure control device comprising.
JP8007699A 1996-01-19 1996-01-19 Exposure deciding method and exposure controller Pending JPH09197575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8007699A JPH09197575A (en) 1996-01-19 1996-01-19 Exposure deciding method and exposure controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8007699A JPH09197575A (en) 1996-01-19 1996-01-19 Exposure deciding method and exposure controller

Publications (1)

Publication Number Publication Date
JPH09197575A true JPH09197575A (en) 1997-07-31

Family

ID=11673024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8007699A Pending JPH09197575A (en) 1996-01-19 1996-01-19 Exposure deciding method and exposure controller

Country Status (1)

Country Link
JP (1) JPH09197575A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012146179A (en) * 2010-01-13 2012-08-02 Nikon Systems Inc Image processor, imaging apparatus and image processing program
EP2757767A1 (en) 2000-10-20 2014-07-23 Samsung Electronics Co., Ltd Image processing system and ordering system
WO2024002394A3 (en) * 2022-07-01 2024-02-22 顺丰科技有限公司 Method and apparatus for measuring number of target objects, and electronic device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2757767A1 (en) 2000-10-20 2014-07-23 Samsung Electronics Co., Ltd Image processing system and ordering system
JP2012146179A (en) * 2010-01-13 2012-08-02 Nikon Systems Inc Image processor, imaging apparatus and image processing program
WO2024002394A3 (en) * 2022-07-01 2024-02-22 顺丰科技有限公司 Method and apparatus for measuring number of target objects, and electronic device and storage medium

Similar Documents

Publication Publication Date Title
JP3490559B2 (en) Method for determining main part of image and method for determining copy conditions
US7609908B2 (en) Method for adjusting the brightness of a digital image utilizing belief values
JPH09171220A (en) Exposure deciding method
US6370262B1 (en) Information processing apparatus and remote apparatus for object, using distance measuring apparatus
Várkonyi-Kóczy et al. Gradient-based synthesized multiple exposure time color HDR image
JP2008004123A (en) Specific shape region extraction device and method, specific region extraction device and method, and copy condition decision device and method
JP2695067B2 (en) Method of extracting data of human face and method of determining exposure amount
EP0601363A2 (en) Method of determining amount of exposure
JP3516786B2 (en) Face area extraction method and copy condition determination method
JP3576654B2 (en) Exposure determination method, figure extraction method, and face area determination method
JP2638691B2 (en) Exposure determination method
JPH09197575A (en) Exposure deciding method and exposure controller
JP2848749B2 (en) Feature image data extraction method
JPS6352367B2 (en)
JP2638702B2 (en) Feature image data extraction method
JPH09281605A (en) Image recorder
JP2638693B2 (en) Feature image data extraction method
JPH09146194A (en) Exposure deciding method and exposure controller
JP2848750B2 (en) Exposure determination method
JP4831344B2 (en) Eye position detection method
JP2923401B2 (en) Exposure determination method
CA2230197C (en) Strand orientation sensing
JP3636783B2 (en) Face area determination method, copy method, and exposure amount determination method
JP2638692B2 (en) Method of extracting data of human face and method of determining exposure amount
JP2763221B2 (en) How to extract human face data

Legal Events

Date Code Title Description
A521 Written amendment

Effective date: 20040107

Free format text: JAPANESE INTERMEDIATE CODE: A523

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040413

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100423

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees