JP2003283818A - Photograph date position deciding apparatus and program - Google Patents

Photograph date position deciding apparatus and program

Info

Publication number
JP2003283818A
JP2003283818A JP2002079276A JP2002079276A JP2003283818A JP 2003283818 A JP2003283818 A JP 2003283818A JP 2002079276 A JP2002079276 A JP 2002079276A JP 2002079276 A JP2002079276 A JP 2002079276A JP 2003283818 A JP2003283818 A JP 2003283818A
Authority
JP
Japan
Prior art keywords
date
image data
photographic
image
film
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
JP2002079276A
Other languages
Japanese (ja)
Inventor
Naoki Mochizuki
直樹 望月
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 JP2002079276A priority Critical patent/JP2003283818A/en
Priority to EP03006207A priority patent/EP1351485B1/en
Priority to DE60325524T priority patent/DE60325524D1/en
Priority to US10/392,328 priority patent/US20040017943A1/en
Publication of JP2003283818A publication Critical patent/JP2003283818A/en
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To easily accurately decides the positions of date characters on a plurality of photographic images photographed on one photograph film. <P>SOLUTION: A date position detecting part 22 obtains average image data by applying addition processing to low resolution image data P1, P2,...Pn obtained by prescanning the photograph film with a film scanner 10, detects pixels presenting colors original for the date characters on the basis of color data R', G', and B' of respective pixels of the average image data, and decides the positions of such pixels as date positions. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、写真画像に写し込
まれた日付文字の位置を判断する写真日付位置判断装置
およびそのためのプログラムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a photographic date position judging device for judging the position of a date character imprinted on a photographic image, and a program therefor.

【0002】[0002]

【従来の技術】近年、大容量記録媒体の低価格化に伴い
個人が多量のデータを保存できるようになり、電子アル
バムのような多量の画像データの保存、管理を行うシス
テムを個人が所有することが可能になっている。また、
ユーザの代わりにユーザの写真画像データを電子アルバ
ムのように管理するサービスも提供されている。これら
の管理システムに求められる機能として、デジタルカメ
ラで撮像されたデジタル画像だけを管理するのではな
く、銀塩写真などの既存の写真をデジタル化して保存、
管理することがある。デジタル化することで管理が容易
になり、経年劣化もなくなる。
2. Description of the Related Art In recent years, as the price of large-capacity recording media has become lower, individuals can store large amounts of data, and individuals own systems for storing and managing large amounts of image data such as electronic albums. Is possible. Also,
There is also provided a service for managing user's photo image data like an electronic album on behalf of the user. The functions required of these management systems are not only to manage digital images captured by digital cameras, but to digitize and save existing photographs such as silver halide photographs,
May be managed. Digitalization makes management easier and eliminates aging deterioration.

【0003】多量の写真の画像データを管理するには、
後に使用する時の検索、閲覧が簡単かつ直感的に分かる
分類法が必要となる。この分類法として、日付を使用す
る方法が最も実用的であり、例えば、特開平6−251
083号に記載されているように、日付順に画像データ
を記録する電子アルバムの技術が提案されている。しか
し、この技術では人手による入力が必要であり、利用者
に負担をかけるため、実用的には却って不便になるとい
う問題がある。
To manage a large amount of image data of photographs,
A taxonomy that is easy and intuitive to search and browse when used later is required. The most practical method of classification is to use the date, for example, Japanese Patent Laid-Open No. 6-251.
As described in No. 083, an electronic album technique for recording image data in order of date has been proposed. However, this technique requires manual input, which imposes a burden on the user, and therefore has a problem that it is rather inconvenient in practice.

【0004】また、利用者に負担をかけず、撮影日によ
る写真の画像データの自動分類方法として、例えば、銀
塩フィルム写真では、撮影日の文字を被写体像に一部重
複させて撮影させることが一般的に行われていることを
利用し、写真フィルムまたは写真プリントをスキャナに
よって写真画像データに変換して保管する場合に、写真
画像に写し込まれた撮影日を自動認識して日付情報とし
て画像データに付与する方法も提案されている。撮影日
の自動認識を実現するには、まず、各々の写真画像にお
ける日付の文字の位置を確定する必要があり、例えば、
特開2000−184168号に記載されているよう
に、写真画像における日付の文字は通常写真の4隅のい
ずれかに撮影されていると仮定し、写真の4隅の所定の
注目領域を日付位置候補領域として順次走査して日付の
検出を行って日付位置を判断する方法が提案されてい
る。
Further, as an automatic classification method of image data of a photograph according to a photographing date without imposing a burden on a user, for example, in a silver salt film photograph, a character of the photographing date is partially overlapped with a subject image to be photographed. When converting photographic film or photographic prints into photographic image data with a scanner and storing them, the shooting date imprinted on the photographic image is automatically recognized and used as date information. A method of adding the image data has also been proposed. In order to realize automatic recognition of the shooting date, it is first necessary to determine the position of the letters of the date in each photographic image.
As described in Japanese Patent Laid-Open No. 2000-184168, it is assumed that the characters of the date in the photographic image are normally photographed in any of the four corners of the photograph, and the predetermined attention areas at the four corners of the photograph are set to the date position. A method has been proposed in which the date position is determined by sequentially scanning candidate regions and detecting the date.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上述の
日付位置判断方法は、写真画像の4隅すべてを走査する
必要があり、処理する時間がかかるという問題がある。
However, the above-mentioned date position determination method has a problem in that it is necessary to scan all four corners of a photographic image, which requires processing time.

【0006】また、カメラの機種によって、日付文字が
画像の4隅に位置していない場合や、日付文字が注目領
域にないなどの場合があるので、注目領域の大きさを調
整したりするなどの煩雑な操作を行わなければ、日付位
置を検出できないという問題もある。
Depending on the camera model, the date characters may not be located at the four corners of the image, or the date characters may not be in the attention area. Therefore, the size of the attention area may be adjusted. There is also a problem that the date position cannot be detected unless the complicated operation of is performed.

【0007】本発明は、上記事情に鑑みてなされたもの
であり、簡単かつ正確に写真画像における日付文字の位
置を検出できる日付位置判断装置およびそのためのプロ
グラムを提供することを目的とするものである。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a date position determining device and a program therefor capable of easily and accurately detecting the position of a date character in a photographic image. is there.

【0008】[0008]

【課題を解決するための手段】本発明の日付位置判断装
置は、1本の写真フィルムに撮影された複数の写真画像
に対して、画像中に写し込まれた日付文字の位置を判断
する写真日付位置判断装置であって、前記複数の写真画
像を夫々画像データに変換する変換手段と、複数の前記
画像データに対して加算処理を行って加算画像データを
得る演算手段と、前記演算手段により得た前記加算画像
データに基づいて、前記日付文字の位置を判断する判断
手段とを備えてなることを特徴とするものである。
A date position judging device of the present invention is a photograph for judging the position of a date character imprinted in a plurality of photographic images photographed on one photographic film. A date position determination device, comprising: a conversion unit that converts each of the plurality of photographic images into image data, an operation unit that performs addition processing on the plurality of image data to obtain additional image data, and the operation unit. It is characterized by comprising a determining means for determining the position of the date character based on the obtained added image data.

【0009】ここで、本発明の処理対象となる「写真画
像」は、写真フィルムに記録された状態の写真画像であ
ってもよいし、既にプリントされた写真プリントの写真
画像であってもよい。
The "photographic image" to be processed in the present invention may be a photographic image recorded on a photographic film or a photographic image of a photographic print that has already been printed. .

【0010】また、「加算画像データ」とは、複数の画
像データの同じ部位の画素のデータ値を加算して得た画
像データのことであり、「データ値」とは、R,G,B
値とすることができる。
The "added image data" is image data obtained by adding the data values of pixels of the same portion of a plurality of image data, and the "data value" is R, G, B.
It can be a value.

【0011】また、「加算処理」とは、単純加算であっ
ても良いし、単純加算した後に平均処理を行う演算処理
であってもよい。
The "addition process" may be a simple addition or an arithmetic process of performing an averaging process after the simple addition.

【0012】また、加算処理の対象となる複数の画像デ
ータは、処理対象となる写真フィルムに撮影された全て
の写真画像の画像データであっても良いし、一部分の画
像データであっても良い。一部分の画像データを用いる
場合、目視などにより、日付文字が明瞭に写し込まれた
写真画像の画像データを採用することが好ましい。
Further, the plurality of image data to be subjected to the addition processing may be image data of all the photographic images taken on the photographic film to be processed, or may be partial image data. . When using a part of the image data, it is preferable to employ image data of a photographic image in which date characters are clearly printed by visual inspection or the like.

【0013】1本の写真フィルムに撮影された写真画像
においては、被写体像は様々であるが、日付文字の位置
(以下日付位置という)、色、形状はほぼ一定である。
本発明の写真日付位置判断装置は、この特性を利用し
て、日付位置の検出を行うものである。具体的には、例
えば、演算手段により、1本の写真フィルムに撮影され
た複数の写真画像を表す画像データの各画素を構成する
色データR、G、Bを画素毎に加算し、加算画像データ
を構成する各画素の色データを得る。前述のように、1
本の写真フィルムに撮影された写真画像における被写体
像はコマ毎に異なるが、日付文字部分の色、位置はほぼ
不変であるため、加算画像データにおいては、日付文字
部分以外の画素の色データはグレーに近い色を示すデー
タとなるが、日付文字部分の画素の平均色データは日付
文字の独自な色合い(例えば赤、黄色)が強いことを示
すデータとなる。本発明の写真日付位置判断装置の判断
手段は、加算画像データの各画素の色データを用いて、
日付文字の独自な色を呈する画素を検出して、これらの
画素の位置を各々の写真画像の日付位置とする。
In a photographic image taken on one photographic film, the subject image is various, but the position of the date character (hereinafter referred to as the date position), color, and shape are almost constant.
The photographic date position determining apparatus of the present invention utilizes this characteristic to detect the date position. Specifically, for example, the arithmetic means adds the color data R, G, and B forming each pixel of the image data representing a plurality of photographic images taken on one photographic film for each pixel, and the added image Color data of each pixel forming the data is obtained. As mentioned above, 1
Although the subject image in the photographic image taken on the photographic film of the book differs for each frame, the color and position of the date character part are almost unchanged, so in the added image data, the color data of pixels other than the date character part is Although it is data indicating a color close to gray, the average color data of the pixels in the date character portion is data indicating that the unique hue of the date character (for example, red or yellow) is strong. The determination means of the photograph date position determination device of the present invention uses the color data of each pixel of the added image data,
Pixels exhibiting a unique color of the date character are detected, and the positions of these pixels are set as the date position of each photographic image.

【0014】また、日付文字の独自な色を呈する画素を
検出することだけによっても、日付文字の位置を検出す
ることができるが、写真撮影に使用されたカメラの機種
などに基づいて、日付文字の形状、サイズなどを特定
し、日付文字の独自な色以外に、日付文字部分の形状、
サイズからさらに日付文字部分の画素を絞ることによっ
て、日付位置の検出をより正確に行ってもよい。
Although the position of the date character can be detected only by detecting the pixel exhibiting the unique color of the date character, the date character can be detected based on the model of the camera used for taking the photograph. The shape, size, etc. of the date character part, in addition to the unique color of the date character,
The date position may be detected more accurately by further narrowing down the pixels of the date character portion from the size.

【0015】本発明の写真日付位置判断装置の変換手段
として、写真フィルムに形成された写真画像を読み取っ
て画像データに変換するフィルムスキャナを適用するこ
とができる。
A film scanner which reads a photographic image formed on a photographic film and converts it into image data can be applied as the conversion means of the photographic date position determining apparatus of the present invention.

【0016】本発明のプログラムは、1本の写真フィル
ムに撮影された複数の写真画像を表す複数の画像データ
を用いて、前記写真画像に写し込まれた日付文字の位置
を判断するためのプログラムであって、複数の前記画像
データに対して加算処理を行って加算画像データを得、
前記加算画像データに基づいて、前記日付位置を判断す
る処理をコンピュータに実行させることを特徴とするも
のである。
The program of the present invention is a program for determining the position of a date character imprinted on a photographic image using a plurality of image data representing a plurality of photographic images taken on one photographic film. And performing addition processing on a plurality of the image data to obtain added image data,
It is characterized in that the computer is caused to execute a process of judging the date position based on the added image data.

【0017】[0017]

【発明の効果】本発明の画像処理装置によれば、1本の
写真フィルムに撮影された複数の写真画像において、被
写体像がコマ毎に異なるが、日付文字の位置、色、形状
などはほぼ一定であることを利用し、これらの複数の写
真画像の画像データの加算画像データから日付文字部分
の画素を検出することによって日付位置を判断するよう
にしているので、日付候補位置を全部走査する必要がな
く、処理が簡単である。
According to the image processing apparatus of the present invention, in a plurality of photographic images taken on one photographic film, the subject image differs for each frame, but the position, color, shape, etc. of the date character are almost the same. The date position is determined by detecting the pixels of the date character portion from the added image data of the image data of these plural photographic images by utilizing the fact that it is constant, so all the candidate date positions are scanned. It is not necessary and is easy to process.

【0018】また、加算画像データのすべての画素のデ
ータ値に基づいて日付画素を検出するようにしているの
で、日付候補位置などを想定する必要がない上に、日付
位置の判断が正確である。
Further, since the date pixels are detected based on the data values of all the pixels of the added image data, it is not necessary to assume a date candidate position and the date position is accurately determined. .

【0019】本発明のプログラムは、コンピュータを本
発明の写真日付位置判断装置として使用することができ
る。
The program of the present invention can use a computer as the photograph date position determining device of the present invention.

【0020】[0020]

【発明の実施の形態】以下、図面を参照して、本発明の
実施形態について説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0021】図1は、本発明の実施形態となる画像保存
装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the arrangement of an image storage device according to an embodiment of the present invention.

【0022】図1に示すように、本実施形態の画像保存
装置は、写真フィルムに撮影された複数の写真画像T
(T1,T2,T3,...Tn n:n:写真画像の
個数)をプレスキャンおよび本スキャンして、夫々低解
像度画像データP(写真画像に対応してP1、P2、P
3、...Pn)と保存用画像データS(S1、S2、
S3、...Sn)に変換するフィルムスキャナ10
と、低解像度画像データPを用いてこの写真フィルムに
撮影された各々の写真画像の撮影日付を判明して日付情
報D(D1、D2、D3、...Dn)を付与する日付
付与部20と、保存用画像データSを日付情報Dとを対
応して保存する保存部40と、フィルムスキャナ10、
日付付与部20、保存部40の動作を制御する制御部3
0とからなるものである。また、日付付与部20は、低
解像度画像データPを用いて写真画像における日付の位
置を検出する日付位置検出部22と、各々の画像データ
(P1、P2、P3、...Pn)から日付情報を抽出
する順位を推定する認識順位推定部24と、この順位が
高い画像データから日付情報を抽出する日付認識部26
と、日付認識部28により日付情報を抽出されない画像
データの日付情報を推定する日付推定部28と、低解像
度画像データPおよび日付位置や、認識順位や、認識ま
たは推定された日付などを一時的に記憶するメモリ21
とを備えている。
As shown in FIG. 1, the image storage device of the present embodiment uses a plurality of photographic images T captured on a photographic film.
(T1, T2, T3, ... Tn n: n: number of photographic images) are pre-scanned and main-scanned to obtain low-resolution image data P (P1, P2, P corresponding to photographic images, respectively).
3 ,. . . Pn) and the image data for storage S (S1, S2,
S3 ,. . . Film scanner 10 for converting to Sn)
And date information D (D1, D2, D3, ... Dn) for identifying the photographing date of each photographic image photographed on this photographic film using the low-resolution image data P and for giving the date information D (D1, D2, D3, ... Dn). A storage unit 40 that stores the storage image data S in association with the date information D;
Control unit 3 that controls the operations of the date adding unit 20 and the storage unit 40
It consists of 0 and. The date adding unit 20 detects the position of the date in the photographic image using the low resolution image data P, and the date from each image data (P1, P2, P3, ... Pn). A recognition order estimation unit 24 that estimates the order of extracting information, and a date recognition unit 26 that extracts date information from image data with a high order.
The date recognizing unit 28 estimates the date information of the image data whose date information is not extracted, the low-resolution image data P and the date position, the recognition order, the recognized or estimated date, and the like. Memory 21 stored in
It has and.

【0023】ここで、日付付与部20の動作について説
明する。
Here, the operation of the date adding section 20 will be described.

【0024】まず、位置検出部22の動作について説明
する。
First, the operation of the position detector 22 will be described.

【0025】日付位置検出部22は、1つの写真フィル
ムに撮影された複数の写真画像において、被写体像が様
々であるが、日付文字の色、位置、形状がほぼ一定であ
ることを利用して、日付位置の検出を行う。具体的に
は、画像データP1、P2、P3、...Pnの各画素
(その位置を(x,y)とする)を構成する色データ
R、G、Bを画素毎に加算したうえで平均値を取り、画
素毎の平均色データRi’(x,y)、Gi’(x,
y)、Bi’(x,y)(i:1,2,3...m,
m:1枚の写真画像に対応する低解像度画像データの総
画素数)を得る。1つのフィルムに撮影された写真画像
における被写体像は、ゴマ毎に異なるが、日付文字部分
の色、位置がほぼ不変であるため、日付文字部分以外の
画素の平均色データは、グレーに近い色を示すデータと
なるが、日付文字部分の画素の平均色データは、日付文
字の独自な色合い(例えば赤、黄色)が強いことを示す
データとなる。本実施形態の日付検出部22は、画素毎
の平均色データを用いて、日付文字の独自な色を強く呈
する画素を検出して、これらの画素の位置を各々の写真
画像の日付位置とする。
The date position detecting section 22 utilizes the fact that the color, position, and shape of the date characters are almost constant, although the subject images are various in a plurality of photographic images taken on one photographic film. , Detect the date position. Specifically, the image data P1, P2, P3 ,. . . The color data R, G, B forming each pixel of Pn (whose position is (x, y)) is added for each pixel, and an average value is calculated to obtain the average color data Ri ′ (x, y), Gi '(x,
y), Bi '(x, y) (i: 1, 2, 3, ... m,
m: total pixel number of low resolution image data corresponding to one photographic image) is obtained. The subject image in a photographic image shot on a single film differs for each sesame, but the color and position of the date character part are almost unchanged, so the average color data of pixels other than the date character part is a color close to gray. The average color data of the pixels in the date character portion is data indicating that the unique hue of the date character (for example, red or yellow) is strong. The date detection unit 22 of the present embodiment detects the pixels strongly exhibiting the unique color of the date character by using the average color data for each pixel, and sets the positions of these pixels as the date position of each photographic image. .

【0026】図2は、平均色データRi’(x,y)、
Gi’(x,y)、Bi’(x,y)により表される画
像(以下平均画像という)と元の写真画像T(T1,T
2,...Tn)との違いを示している。図示のよう
に、写真画像Tの被写体像はコマ毎に異なるので、平均
画像においては、日付文字(「1223」)以外の部分
は、様々な色が重なり合うため、グレーに近い色となる
が、日付文字部分は、どのコマにおいても同様な独自な
色であるので、平均画像においてもグレーにならずその
ままの色を呈する。
FIG. 2 shows average color data Ri '(x, y),
An image represented by Gi ′ (x, y) and Bi ′ (x, y) (hereinafter referred to as an average image) and the original photographic image T (T1, T
2 ,. . . The difference from Tn) is shown. As shown in the figure, since the subject image of the photographic image T is different for each frame, in the average image, the parts other than the date character (“1223”) have various colors overlapping with each other, so the colors are close to gray. Since the date character portion has the same unique color in every frame, it does not become gray in the average image, and the color remains as it is.

【0027】次に、認識順位推定部24の動作を説明す
る。
Next, the operation of the recognition order estimation section 24 will be described.

【0028】認識順位推定部24は、日付位置検出部2
2により検出した日付位置における背景の平坦さおよび
黒さに基づいて日付認識の順位を推定するものである。
The recognition rank estimating section 24 is provided with the date position detecting section 2.
The order of date recognition is estimated based on the flatness and blackness of the background at the date position detected by 2.

【0029】図3は、写真画像における日付認識の難易
さと背景の関係を示す図である。図士の写真画像の日付
部分の背景は左からの順番で、平坦かつ黒い、平坦かつ
明るい、複雑かつ明るいのようになっていて、目視でも
分かるように、日付文字の認識も、左の画像から右の画
像へ、難しくなっていく。本実施形態において、認識順
位推定部24は、この特性、すなわち、日付文字部分の
背景は平坦かつ黒いほど、認識はし易くなることを利用
し、画像データP1、P2、P3、...Pnに対して
認識のし易さで認識順位を付ける。図4は、認識順位推
定部22が日付認識の順位を推定する動作を説明するた
めの図であり、図示の斜線部分は、日付位置部分の背景
部分(図示では、日付位置部分を含んだ幅W、高さHの
長方形の範囲となる)である。認識順位推定部24は、
まず、日付文字部分の画素を除いた背景部分の各画素の
濃度Qを計算し、下記の式(1)を用いて各々の画像デ
ータP(P1、P2、...Pn)の日付文字部分の背
景の明るさBi(i=1、2、3、...n)を計算す
ると共に、画像毎の背景部分の濃度分散値Gi(i=
1、2、3、...n)を計算する。
FIG. 3 is a diagram showing the relationship between the difficulty of date recognition in a photographic image and the background. The background of the date part of the photograph image of the photographer is flat and black, flat and bright, complicated and bright in order from the left, and as you can see visually, the recognition of date characters is also the image on the left. To the right image, getting harder. In the present embodiment, the recognition rank estimating unit 24 utilizes this characteristic, that is, the flatter and darker the background of the date character portion is, the easier it is to recognize, and the image data P1, P2, P3 ,. . . Pn is ranked according to the ease of recognition. FIG. 4 is a diagram for explaining the operation of the recognition rank estimation unit 22 for estimating the rank of date recognition, and the hatched portion in the drawing indicates the background portion of the date position portion (the width including the date position portion in the drawing). It is a rectangular range of W and height H). The recognition rank estimation unit 24
First, the density Q of each pixel of the background portion excluding the pixels of the date character portion is calculated, and the date character portion of each image data P (P1, P2, ... Pn) is calculated using the following equation (1). The background brightness Bi (i = 1, 2, 3, ..., N) is calculated, and the density dispersion value Gi (i = i = i) of the background portion of each image is calculated.
1, 2, 3 ,. . . Calculate n).

【0030】[0030]

【数1】 認識順位推定部24は、算出した各画像の背景の明るさ
Bと濃度分散値Gに基づいて、明るさBと濃度分散値G
が低いほど、認識順位が高いように各々の画像データの
認識優先順位を推定する。具体的には、例えば、明るさ
Bが低いかつ濃度分散値Gが低い、明るさBが低いが濃
度分散値Gが高い、明るさBが高いが濃度分散値Gが低
い、明るさBが高いかつ濃度分散値Gが高いの順に、認
識優先順位を付ける。
[Equation 1] The recognition order estimation unit 24 calculates the brightness B and the density variance value G based on the calculated background brightness B and the density variance value G of each image.
The lower the value of, the higher the recognition priority is, so that the recognition priority of each image data is estimated. Specifically, for example, the brightness B is low and the density dispersion value G is low, the brightness B is low but the density dispersion value G is high, the brightness B is high but the density dispersion value G is low, and the brightness B is The recognition priority is assigned in the order of high and the density dispersion value G.

【0031】日付認識部26は、まず、認識優先順位が
高い画像データから段階的に日付情報を抽出して、日付
推定部28に出力する。日付推定部28は、これらの日
付情報に基づいて日付情報未抽出の画像データの日付を
推定する。抽出された日付情報および推定された日付情
報は、メモリ21に記憶される。
The date recognizing unit 26 first extracts date information stepwise from image data having a high priority of recognition and outputs the date information to the date estimating unit 28. The date estimation unit 28 estimates the date of the image data for which date information has not been extracted, based on these date information. The extracted date information and the estimated date information are stored in the memory 21.

【0032】以下、図5のフローチャートを利用して、
本実施形態の画像保存装置の動作をより詳しく説明す
る。
Hereinafter, using the flowchart of FIG. 5,
The operation of the image storage device of this embodiment will be described in more detail.

【0033】図示のように、本実施形態の画像保存装置
において、1本の写真フィルムに対して処理を開始する
のにあたって、まず、制御部30は、フィルムスキャナ
10にこのフィルムに撮影された全ての写真画像に対す
るプレスキャンを行わせる(S10、S15:No)。
プレスキャンにより得られた低解像度画像データP1、
P2、...Pnは、日付付与部20のメモリ21に送
信され、記憶される。日付位置検出部22は、前述した
方法でこれらの画像データにおける日付データの画素位
置を検出して、認識順位推定部24およびメモリ21に
送信する(S20)。認識順位推定部24は、日付位置
検出部22により検出した日付位置における背景の明る
さBおよび濃度分散値Gを画像データP毎に計算すると
共に、画像データPに対して日付情報の抽出を行う優先
順位を推定して、日付認識部26およびメモリ21に送
信する(S25)。日付認識部26は、まず、優先順位
の最も高い(i=1)画像データに対して、日付情報を
抽出する(S30、S35)。日付推定部28は、日付
認識部26により抽出した日付情報を比較して、同一な
日付情報があるか否かをチェックする(S40、S4
5)。同一な日付情報があり、かつ同一な日付情報を有
する画像データPが、時系列的に離れた写真画像Tに対
応するものであれば(S45:Yes、S48:Ye
s)、該写真画像Tに時系列的に挟まれた全ての写真画
像Tに対応する画像データTにこの同一な日付情報を付
与する(S50)。なお、抽出された日付情報および付
与された日付情報は、画像データTと対応してメモリ2
1に保存される。優先順位が最も高い画像データTに対
する日付情報の抽出および抽出された日付情報に基づい
て日付情報の付与が終了すれば、または、ステップS4
5において、抽出した日付情報が、同一なものが無けれ
ば(S45:No)、またはステップS48において、
同一な日付情報を有する画像データTが、時系列的に相
隣した写真画像Pに対応するものであれば(S48:N
o)、制御部30は、全ての画像データTが日付情報を
付与されているかどうかを確認し(S55)、まだ日付
情報が付与されていない画像データがあれば(S55:
No)、次に順位の高い画像データに対して、日付認識
部26と日付推定部28にステップS35からステップ
S50までの処理を行わせる(S60、S35〜S5
0)。なお、ステップS35からステップS60までの
処理は、画像データT1、T2、...Tnの全てが日
付を付与される(S55:Yes)まで繰り返される。
As shown in the figure, in the image storage apparatus of the present embodiment, when starting the processing for one photographic film, first, the control unit 30 causes the film scanner 10 to detect all the images photographed on this film. The pre-scan is performed on the photographic image (S10, S15: No).
Low-resolution image data P1 obtained by prescan,
P2 ,. . . The Pn is transmitted and stored in the memory 21 of the date giving unit 20. The date position detection unit 22 detects the pixel position of the date data in these image data by the method described above, and sends it to the recognition order estimation unit 24 and the memory 21 (S20). The recognition order estimating unit 24 calculates the background brightness B and the density variance value G at the date position detected by the date position detecting unit 22 for each image data P, and extracts the date information from the image data P. The priority order is estimated and transmitted to the date recognition unit 26 and the memory 21 (S25). The date recognition unit 26 first extracts date information from the image data having the highest priority (i = 1) (S30, S35). The date estimating unit 28 compares the date information extracted by the date recognizing unit 26 and checks whether there is the same date information (S40, S4).
5). If the image data P having the same date information and having the same date information corresponds to the photographic images T chronologically separated (S45: Yes, S48: Ye
s), this same date information is given to the image data T corresponding to all the photographic images T sandwiched in time series in the photographic image T (S50). The extracted date information and the added date information correspond to the image data T and are stored in the memory 2
Stored in 1. If the extraction of the date information to the image data T having the highest priority and the addition of the date information based on the extracted date information are completed, or step S4
5, if the extracted date information is not the same (S45: No), or in step S48,
If the image data T having the same date information corresponds to the photographic images P that are adjacent in time series (S48: N).
o), the control unit 30 confirms whether or not all the image data T have date information attached thereto (S55), and if there is image data to which date information has not yet been attached (S55:
No), the date recognition unit 26 and the date estimation unit 28 are caused to perform the processing from step S35 to step S50 on the image data having the next highest rank (S60, S35 to S5).
0). It should be noted that the processing from step S35 to step S60 is performed by the image data T1, T2 ,. . . All of Tn are repeated until a date is added (S55: Yes).

【0034】画像データT1、T2、...Tnに付与
された日付情報Dは、画像データT1、T2、...T
nに対応してメモリ21に記憶される。
The image data T1, T2 ,. . . The date information D given to Tn is the image data T1, T2 ,. . . T
It is stored in the memory 21 corresponding to n.

【0035】一方、ステップS15において、フィルム
スキャナ10により処理対象のフィルムのすべての写真
画像Tに対するプレスキャンが終了すれば(S15:Y
es)、制御部30は、日付付与部20に上述した日付
付与の処理(S20からS60までの処理)を行わせる
と共に、フィルムスキャナ10に同じフィルムの写真画
像Tに対する本スキャンを行わせ(S100)、本スキ
ャンにより得た保存用の高解像度画像データS(S1、
S2、...Sn)を保存部40に出力する。
On the other hand, in step S15, if the prescanning for all the photographic images T of the film to be processed is completed by the film scanner 10 (S15: Y).
es), the control unit 30 causes the date assigning unit 20 to perform the date assigning process (the processes from S20 to S60) described above, and causes the film scanner 10 to perform the main scan on the photographic image T of the same film (S100). ), The high resolution image data S (S1,
S2 ,. . . Sn) is output to the storage unit 40.

【0036】保存部40は、低解像度画像データT1、
T2、...Tnと高解像度画像データS1、S
2、...Snとの対応関係に基づいて、メモリ21か
ら画像データT1、T2、...Tnに付与された日付
情報Dを読出し、画像データS1、S2、...Snに
対応付けて保存する(S200)。
The storage unit 40 stores the low resolution image data T1,
T2 ,. . . Tn and high resolution image data S1, S
2 ,. . . Based on the correspondence with Sn, the image data T1, T2 ,. . . The date information D given to Tn is read, and the image data S1, S2 ,. . . The data is stored in association with Sn (S200).

【0037】このように、本実施形態の画像保存装置に
よれば、1本の写真フィルムに撮影された複数の写真画
像において、被写体像がコマ毎に異なるが、日付文字の
位置、色、形状などはほぼ一定であるを利用し、これら
の複数の写真画像の画像データの加算画像データから日
付文字部分の画素を検出することによって日付位置を判
断するようにしているので、日付候補位置を全部走査す
る必要がなく、処理が簡単である。
As described above, according to the image storage apparatus of the present embodiment, in a plurality of photographic images taken on one photographic film, the subject image is different for each frame, but the position, color and shape of the date character are Is almost constant, and the date position is determined by detecting the pixels of the date character part from the image data of the image data of these multiple photographic images. It does not need to be scanned and is easy to process.

【0038】また、加算画像データのすべての画素のデ
ータ値に基づいて日付文字の部分の画素を検出するよう
にしているので、日付候補位置などを想定する必要がな
い上に、日付位置の判断が正確である。
Since the pixels of the date character portion are detected based on the data values of all the pixels of the added image data, it is not necessary to assume the candidate date position and the date position is determined. Is accurate.

【0039】以上、本発明の写真日付位置判断装置の望
ましい実施形態について説明したが、本発明の写真日付
判断装置は、上述した実施形態に限られるものではな
く、本発明の主旨を変えない限り、種々の変更を加える
ことができる。
Although the preferred embodiment of the photographic date position determining device of the present invention has been described above, the photographic date determining device of the present invention is not limited to the above-described embodiment, and the gist of the present invention is not changed. , Various changes can be made.

【0040】例えば、上述した実施形態の画像保存装置
において、処理の時間をより短縮できるように、日付を
付与するための画像データと保存用の画像データを別々
にプレスキャンと本スキャンにより取得するようにして
いるが、プレスキャンを行わず、保存用の高解像度画像
に対して直接日付付与の処理を行うようにしてもよい。
For example, in the image storage device of the above-described embodiment, the image data for giving a date and the image data for storage are separately acquired by the prescan and the main scan so that the processing time can be further shortened. However, the date may be directly added to the high-resolution image for storage without performing the prescan.

【0041】また、上述した実施形態において、写真フ
ィルムをスキャンして画像データを得ることにしている
が、写真フィルムではなく、既に現像して得た写真プリ
ントであってもよい。この場合、これらのプリントを撮
影した順番に揃えておき、この順番でスキャンを行えれ
ばよい。
Further, in the above-described embodiment, the image data is obtained by scanning the photographic film, but it may be a photographic print that has already been developed instead of the photographic film. In this case, it suffices to arrange these prints in the order in which they were photographed and perform scanning in this order.

【0042】また、上述した実施形態において、日付位
置を推定する際に加算画像データとして平均画像データ
を用いたが、単純加算処理により得た加算画像データを
用いてもよい。
Further, in the above embodiment, the average image data is used as the addition image data when estimating the date position, but the addition image data obtained by the simple addition process may be used.

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

【図1】本発明の実施形態の画像保存装置の構成を示す
ブロック図
FIG. 1 is a block diagram showing a configuration of an image storage device according to an embodiment of the present invention.

【図2】図1に示す画像保存装置における日付位置検出
部の動作を説明するための図
FIG. 2 is a diagram for explaining the operation of a date position detector in the image storage device shown in FIG.

【図3】日付認識の難易度を説明するための図FIG. 3 is a diagram for explaining the difficulty level of date recognition.

【図4】図1に示す画像保存装置における認識順位推定
部の動作を説明するための図
FIG. 4 is a view for explaining the operation of a recognition rank estimation unit in the image storage device shown in FIG.

【図5】図1に示す画像保存装置の動作を示すフローチ
ャート
5 is a flowchart showing the operation of the image storage device shown in FIG.

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

10 フィルムスキャナ 20 日付付与部 21 メモリ 22 日付位置検出部 24 認識順位推定部 26 日付認識部 28 日付推定部 30 制御部 40 保存部 B 日付背景部の明るさ D 日付情報 G 日付背景部の濃度分散値 H 日付背景部範囲の高さ P 低解像度画像データ Q 濃度 S 保存用高解像度画像データ T 写真画像 W 日付背景部範囲の幅 10 film scanner 20 Dater 21 memory 22 Date position detector 24 Recognition rank estimation unit 26 Date recognition part 28 Date Estimator 30 control unit 40 Storage B Date background brightness D Date information G Density variance of date background part H Date background area range height P Low resolution image data Q concentration High resolution image data for S storage T photo image W Date background range width

フロントページの続き Fターム(参考) 2H106 AA62 BA47 BA72 5C077 LL17 MP05 MP08 PP32 PP46 PP58 PQ12 TT09 5C079 HB01 LA02 LA06 LA17 MA11 NA17 NA27 NA29 PA08 5L096 BA18 FA38 FA44 GA09 GA51Continued front page    F-term (reference) 2H106 AA62 BA47 BA72                 5C077 LL17 MP05 MP08 PP32 PP46                       PP58 PQ12 TT09                 5C079 HB01 LA02 LA06 LA17 MA11                       NA17 NA27 NA29 PA08                 5L096 BA18 FA38 FA44 GA09 GA51

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 1本の写真フィルムに撮影された複数の
写真画像に対して、画像中に写し込まれた日付文字の位
置を判断する写真日付位置判断装置であって、 前記複数の写真画像を夫々画像データに変換する変換手
段と、 複数の前記画像データに対して加算処理を行って加算画
像データを得る演算手段と、 前記演算手段により得た前記加算画像データに基づい
て、前記日付文字の位置を判断する判断手段とからなる
ことを特徴とする写真日付位置判断装置。
1. A photographic date position determination device for determining the position of a date character imprinted in a plurality of photographic images taken on a single photographic film, wherein the plurality of photographic images Based on the added image data obtained by the calculating means, the conversion means for converting the A photograph date position determining device, comprising: a determining means for determining the position of
【請求項2】 前記変換手段が、写真フィルムに形成さ
れた写真画像を読み取って画像データに変換するフィル
ムスキャナであることを特徴とする請求項1記載の写真
日付位置判断装置。
2. The photographic date position determining apparatus according to claim 1, wherein the converting means is a film scanner which reads a photographic image formed on a photographic film and converts it into image data.
【請求項3】 1本の写真フィルムに撮影された複数の
写真画像を表す複数の画像データを用いて、前記写真画
像に写し込まれた日付文字の位置を判断するためのプロ
グラムであって、 複数の前記画像データ対して加算処理を行って加算画像
データを得、 前記加算画像データに基づいて、前記日付文字の位置を
判断する処理をコンピュータに実行させることを特徴と
するプログラム。
3. A program for determining the position of a date character imprinted on a photographic image using a plurality of image data representing a plurality of photographic images taken on one photographic film, A program for causing a computer to execute a process of determining a position of the date character based on the added image data by performing an addition process on a plurality of the image data.
JP2002079276A 2002-03-20 2002-03-20 Photograph date position deciding apparatus and program Pending JP2003283818A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2002079276A JP2003283818A (en) 2002-03-20 2002-03-20 Photograph date position deciding apparatus and program
EP03006207A EP1351485B1 (en) 2002-03-20 2003-03-19 Dating system and date position judging system for photographs
DE60325524T DE60325524D1 (en) 2002-03-20 2003-03-19 Date system and system for determining the date position for photographs
US10/392,328 US20040017943A1 (en) 2002-03-20 2003-03-20 Dating system, dating program, date position judging system and date position judging program for photograph

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002079276A JP2003283818A (en) 2002-03-20 2002-03-20 Photograph date position deciding apparatus and program

Publications (1)

Publication Number Publication Date
JP2003283818A true JP2003283818A (en) 2003-10-03

Family

ID=29228810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002079276A Pending JP2003283818A (en) 2002-03-20 2002-03-20 Photograph date position deciding apparatus and program

Country Status (1)

Country Link
JP (1) JP2003283818A (en)

Similar Documents

Publication Publication Date Title
US7065255B2 (en) Method and apparatus for enhancing digital images utilizing non-image data
US6507364B1 (en) Edge-dependent interpolation method for color reconstruction in image processing devices
JP4281311B2 (en) Image processing using subject information
JP4133052B2 (en) Digital imaging system
US20030151674A1 (en) Method and system for assessing the photo quality of a captured image in a digital still camera
US6711285B2 (en) Method and apparatus for correcting the density and color of an image and storage medium having a program for executing the image correction
JPH05502522A (en) Image data previously scanned at low resolution is used to rescan successive image frames on a long film strip at high resolution for synchronization of scene balance map functions. how to
JP2007074578A (en) Image processor, photography instrument, and program
JP2003204459A (en) Digital camera and image reproducing apparatus
JP2001148780A (en) Method for setting red-eye correction area and red-eye correction method
JP4349380B2 (en) IMAGING DEVICE, METHOD FOR OBTAINING IMAGE
JP4655210B2 (en) Density correction curve generation method and density correction curve generation module
JP2007274486A (en) Image output method, device, and program
JP2009141975A (en) Image processing using object information
JP2007258923A (en) Image processing apparatus, image processing method, image processing program
JP4665731B2 (en) Camera and image management program
JP3964796B2 (en) Red-eye detection and correction method
JP2003283818A (en) Photograph date position deciding apparatus and program
JP4760044B2 (en) Determination of main subject in image
JP2003283789A (en) Image processing apparatus and program
EP1351485B1 (en) Dating system and date position judging system for photographs
JP4285868B2 (en) Main subject extraction method, image processing apparatus, and imaging apparatus
JP4426009B2 (en) Image processing method and apparatus, and recording medium
JP4250498B2 (en) Image processing service method
JP3926494B2 (en) Image processing method and image output apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060516

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060718

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061204

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070206