JP2001111806A - Image generator and device and method for recognizing top and bottom of image - Google Patents

Image generator and device and method for recognizing top and bottom of image

Info

Publication number
JP2001111806A
JP2001111806A JP28412499A JP28412499A JP2001111806A JP 2001111806 A JP2001111806 A JP 2001111806A JP 28412499 A JP28412499 A JP 28412499A JP 28412499 A JP28412499 A JP 28412499A JP 2001111806 A JP2001111806 A JP 2001111806A
Authority
JP
Japan
Prior art keywords
image
area
determination
determining
maximum value
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
JP28412499A
Other languages
Japanese (ja)
Inventor
Nobuhiro Saiga
信博 雑賀
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP28412499A priority Critical patent/JP2001111806A/en
Publication of JP2001111806A publication Critical patent/JP2001111806A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Studio Circuits (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image generator that automatically recognizes an image of an object such as a person included in an image photographed by a digital camera or the like, extracts and prints out it and to provide a device and a method that recognize a top and a bottom of an image applicable to the image generator as above. SOLUTION: An area of nearly channel shape is set along 3 sides in 4 sides of an outer circumference of a designated image as a decision area to decide a top and a bottom of the image, a maximum value and a minimum value of pixel value of pixels in the decision area are obtained, a top and bottom direction of the image is decided on the basis of the difference between the maximum value and the minimum value, the image is rotate so that the top and bottom direction of the image is a prescribed reference direction on the basis of the result of decision (S54, S55, S62, S63), object image parts are identified from the rotated image (S65-S58, S65), a prescribed image part including the part of the identified target image is extracted (S61), and the extracted image part is printed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデジタルカメラ等に
より記録された画像データから人物画像等の対象画像部
分を抽出して印刷する画像作成装置に関し、さらに、そ
のような画像作成装置に適用可能な画像の上下を認識す
る装置及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus for extracting and printing a target image portion such as a human image from image data recorded by a digital camera or the like, and further applicable to such an image forming apparatus. The present invention relates to an apparatus and a method for recognizing upper and lower sides of an image.

【0002】[0002]

【従来の技術】近年、撮影した画像を電子データとして
記録メディアに記録するデジタルカメラが急速に普及し
てきており、今後、さらなる技術革新にともない、さら
に安価で高性能なデジタルカメラが提供されるものと期
待される。
2. Description of the Related Art In recent years, digital cameras for recording captured images as electronic data on a recording medium have rapidly become widespread. In the future, with further technological innovation, digital cameras with lower cost and higher performance will be provided. Is expected.

【0003】ユーザは、デジタルカメラで撮影したデー
タを、パーソナルコンピュータ上で自由に加工、編集
し、印刷することができ、その利用範囲も多岐に亘る。
例えば、人物を撮影した画像データから、パスポートや
免許証の取得のための証明写真を作成する用途が考えら
れる。
[0003] A user can freely process, edit, and print data photographed by a digital camera on a personal computer, and the range of use is wide.
For example, it is conceivable to create an identification photograph for obtaining a passport or a license from image data obtained by photographing a person.

【0004】[0004]

【発明が解決しようとする課題】一般に、証明写真は、
その大きさや画像全体における人物部分(特に、顔部
分)の割合等、種々の条件を満たす必要がある。したが
って、画像データから証明写真を作成するためには、ユ
ーザは、表示装置上に表示された画像データを見なが
ら、それらの条件を満たすように手作業で大きさの変更
(拡大、縮小)や切り取り領域の設定等を行なう必要が
ある。このとき、画像データは、それに含まれる人物画
像が横向きまたは下向きに表示される場合もあり、必要
に応じて画像を回転させる必要がある。これらの作業は
ユーザにとって非常に煩雑な作業であるため、画像中に
含まれる人物画像を自動的に認識し、抽出して印刷する
装置が要望される。
Generally, ID photos are:
It is necessary to satisfy various conditions, such as the size of the image and the ratio of the person portion (particularly, the face portion) in the entire image. Therefore, in order to create an ID photo from image data, the user manually changes the size (enlargement / reduction) or meets the conditions while viewing the image data displayed on the display device. It is necessary to set a cutout area. At this time, in the image data, the person image included in the image data may be displayed horizontally or downward, and the image needs to be rotated as necessary. Since these operations are very complicated operations for the user, a device for automatically recognizing, extracting, and printing a person image included in the image is desired.

【0005】本発明は上記課題を解決すべくなされたも
のであり、その目的とするところは、デジタルカメラ等
で撮影されて電子情報として記録された画像から、その
画像中に含まれる人物等の対象物の画像を自動的に認識
し、抽出して印刷する画像作成装置、並びに、かかる画
像作成装置に適用可能な画像の上下を認識する装置及び
方法を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and an object of the present invention is to convert an image photographed by a digital camera or the like and recorded as electronic information into a person or the like included in the image. An object of the present invention is to provide an image creating apparatus for automatically recognizing an image of a target, extracting and printing the image, and an apparatus and method for recognizing the upper and lower sides of an image applicable to the image creating apparatus.

【0006】[0006]

【課題を解決するための手段】本発明に係る画像作成装
置は、対象画像を含む画像を入力する入力手段と、入力
した画像の上下を判定する判定領域として、画像の外周
を構成する四辺のうちの三辺に沿って略コの字型の領域
を設定する領域設定手段と、判定領域内の画素について
画素値の最大値と最小値を求め、その最大値と最小値の
差に基いて画像の上下方向を判断する判断手段と、その
判断結果に基き、画像の上下方向が所定の基準方向にな
るように画像を回転させる回転手段と、回転した画像か
ら対象画像部分を識別する識別手段と、識別した対象画
像の一部分を含む所定の画像部分を抽出する抽出手段
と、抽出した画像部分を印刷する印刷手段とを備えた。
According to the present invention, there is provided an image forming apparatus comprising: an input unit for inputting an image including a target image; and a four-sided image forming an outer periphery of the image as a determination area for determining the upper and lower sides of the input image. An area setting means for setting a substantially U-shaped area along three sides of the three sides, obtaining a maximum value and a minimum value of a pixel value for a pixel in the determination area, and based on a difference between the maximum value and the minimum value. Determining means for determining the vertical direction of the image, rotating means for rotating the image based on the determination result so that the vertical direction of the image is a predetermined reference direction, and identifying means for identifying a target image portion from the rotated image Extracting means for extracting a predetermined image portion including a part of the identified target image; and printing means for printing the extracted image portion.

【0007】画像作成装置において、上下方向を判断す
る手段において画像の上下方向が判断できなかった場合
は、回転手段、識別手段、抽出手段および印刷手段は処
理を行わないようにしてもよい。
In the image forming apparatus, when the vertical direction of the image cannot be determined by the vertical direction determining means, the rotating means, the identifying means, the extracting means, and the printing means may not perform the processing.

【0008】本発明に係る画像上下認識装置は、画像の
上下を判定する判定領域として、画像の外周を構成する
四辺のうちの三辺に沿って略コの字型の領域を設定する
判定領域設定手段と、判定領域内の画素について画素値
の最大値と最小値を求め、画素値の最大値と最小値の差
に基き、その画像の上下を判断する判断手段とを備え
た。
According to the image vertical recognition apparatus of the present invention, a substantially U-shaped area is set as a determination area for determining whether the image is up or down along three of the four sides constituting the outer periphery of the image. Setting means; and determining means for determining the maximum value and the minimum value of the pixel values for the pixels in the determination area, and determining the upper and lower sides of the image based on the difference between the maximum value and the minimum value of the pixel values.

【0009】画像上下認識装置において、コの字型の領
域は、上記の四辺のうちの一辺に沿って設けた第1の領
域と、その一辺の一端に接する辺に沿って設けた第2の
領域と、その一辺の他端に接する辺に沿って設けた第3
の領域とからなってもよい。このとき、好ましくは、第
2の領域及び第3の領域の長さを、それらの各領域が沿
って設けられた辺の長さよりも短くする。
In the image vertical recognition device, the U-shaped region is formed by a first region provided along one of the above four sides and a second region provided along a side contacting one end of the one side. A third region provided along a region and a side contacting the other end of one side thereof
Area. At this time, preferably, the lengths of the second region and the third region are shorter than the lengths of the sides along which the respective regions are provided.

【0010】また、画像上下認識装置において、第1の
領域、第2の領域及び第3の領域のうちの少なくとも1
つは不連続な領域で構成されてもよい。
Further, in the image vertical recognition apparatus, at least one of the first area, the second area, and the third area is provided.
One may consist of discontinuous regions.

【0011】本発明に係る画像上下認識方法において、
画像の上下を判定する判定領域として、画像の外周を構
成する四辺のうちの三辺に沿って略コの字型の領域を設
定し、判定領域内の画素について画素値の最大値と最小
値を求め、それら画素値の最大値と最小値の差に基き、
その画像の上下を判断する。
[0011] In the image vertical recognition method according to the present invention,
As a determination area for determining the upper and lower sides of the image, a substantially U-shaped area is set along three of the four sides constituting the outer periphery of the image, and the maximum and minimum pixel values of the pixels in the determination area are set. , And based on the difference between the maximum and minimum pixel values,
The top and bottom of the image are determined.

【0012】[0012]

【発明の実施の形態】以下、添付の図面を参照して本発
明に係る画像作成装置の実施の形態を説明する。なお、
図面において、同じ参照記号は同一または同等のものを
示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of an image forming apparatus according to the present invention will be described below with reference to the accompanying drawings. In addition,
In the drawings, the same reference symbols indicate the same or equivalent ones.

【0013】本実施形態の画像作成装置は、記録メディ
アに記録された画像をユーザの要望に応じた種々の形式
で印刷出力するものである。本画像作成装置は、種々の
機能の中の1つとして、記録メディアに記録された画像
から証明用写真を作成し印刷出力する機能を有する。
The image forming apparatus of the present embodiment prints out an image recorded on a recording medium in various formats according to a user's request. The image creating apparatus has, as one of various functions, a function of creating a certification photograph from an image recorded on a recording medium and printing out the photograph.

【0014】(画像作成装置の外観)図1は、本発明の
実施の形態の画像作成装置1の外観を示す。この画像作
成装置1は、ユーザが料金を投入し自分で画像を確認し
プリントを得るコインベンダー方式の装置である。料金
は投入口8に投入される。装置の上部に、メディア装填
部2が設けられ、ユーザは、4種類の画像記録用メディ
ア(スマートメディア(登録商標)、コンパクトフラッ
シュ(登録商標)、光ディスクおよびフロッピー(登録
商標)ディスク)のいずれかを装填できる。メディア装
填部2には防塵対策用のカバー3が備えられる。なお、
カバーではなく、個々の装填口に防塵用のシャッターを
設けるようにしてもよい。装填可能なメディアの種類を
表示するため、パネル7が、メディア装填部2の横に配
置される。モニター4は、画像及び操作指示を表示する
ために設けられ、表面にタッチパネルが形成されてい
る。また、キーボード5は各種指示を行うために用いら
れる。装置の内部には、通常の写真をプリントするため
の銀塩プリンタ16とシールプリントをプリントするた
めの昇華型プリンタ18が搭載されている(図3参
照)。プリントは排出口6から排出される。ユーザは料
金を投入口8に投入し、モニター4とキーボード5で本
装置を操作する。
(External Appearance of Image Creation Apparatus) FIG. 1 shows an external appearance of an image creation apparatus 1 according to an embodiment of the present invention. This image creation device 1 is a coin vender type device in which a user inputs a fee, checks an image by himself, and obtains a print. The fee is input to the input port 8. A media loading unit 2 is provided at the top of the apparatus, and the user can select one of four types of image recording media (smart media (registered trademark), compact flash (registered trademark), optical disk, and floppy (registered trademark) disk). Can be loaded. The media loading section 2 is provided with a dustproof cover 3. In addition,
A dustproof shutter may be provided at each loading port instead of the cover. A panel 7 is arranged beside the media loading section 2 to display the types of media that can be loaded. The monitor 4 is provided to display images and operation instructions, and has a touch panel formed on the surface. The keyboard 5 is used for giving various instructions. A silver halide printer 16 for printing a normal photograph and a sublimation printer 18 for printing a seal print are mounted inside the apparatus (see FIG. 3). The print is discharged from the discharge port 6. The user enters a fee into the slot 8 and operates the apparatus with the monitor 4 and the keyboard 5.

【0015】図2は、記録メディア装填部2と表示パネ
ル7をより詳細に示す。まず、表示パネル7には本装置
に装填可能な4種類の画像記録用メディアの形状が表示
されている。装填可能なメディアは、スマートメディア
(SM)、コンパクトフラッシュ(CF)、光ディスク(C
D)およびフロッピーディスク(FD)である。各記号の
左側の数字は装填口の番号に対応する。ユーザは記録メ
ディアの種類をパネル7の表示と照合し、該当するメデ
ィアを選択する。選択の手段としては、パネル7上にタ
ッチスイッチを設けても良いし、キーボード5で番号を
入力するようにしてもよい。また、モニター4上のタッ
チパネルで選択可能にしても良い。ユーザがメディアを
選択すると、選択されたメディアに対応する装填口の横
に設けられた表示21が点灯する。図2に示された例で
は、スマートメディアに対応する表示21が点灯されて
いる。ユーザは表示21が点灯している装填口に記録メ
ディアを装填する。以上のようにすることでユーザは自
分のメディアを識別でき、まちがった装填口にメディア
を装填することがなくなる。
FIG. 2 shows the recording medium loading section 2 and the display panel 7 in more detail. First, the display panel 7 displays the shapes of four types of image recording media that can be loaded in the apparatus. Loadable media are smart media (SM), compact flash (CF), optical disc (C
D) and a floppy disk (FD). The number to the left of each symbol corresponds to the number of the loading port. The user checks the type of the recording medium with the display on the panel 7 and selects the corresponding medium. As a means for selection, a touch switch may be provided on the panel 7 or a number may be input on the keyboard 5. Further, the touch panel on the monitor 4 may be selectable. When the user selects a medium, a display 21 provided beside the loading port corresponding to the selected medium is turned on. In the example shown in FIG. 2, the display 21 corresponding to the smart media is turned on. The user loads the recording medium into the loading slot where the display 21 is lit. By doing so, the user can identify his or her own medium, and it is not necessary to load the medium into a wrong loading slot.

【0016】(画像作成装置のブロック図)図3は画像
作成装置内部のブロック図である。装置全体は、全体制
御部20により制御される。ドライブ10はスマートメ
ディアに記録されている画像を読み出す。ドライブ11
は、コンパクトフラッシュに記録されている画像を読み
出す。ドライブ12は光ディスクに記録されている画像
を読み出す。ドライブ13は、フロッピーディスクに記
録されている画像を読み出す。画像信号処理部14は、
各ドライブ10〜13から受け取った各メディアからの
デジタル画像信号をモニタ用及びプリント用に処理し、
メモリ部15は、信号処理された画像を記録する。メモ
リ15に記録されている内容がモニター4及びプリンタ
16、18により再生される。
FIG. 3 is a block diagram of the inside of the image forming apparatus. The entire apparatus is controlled by the overall control unit 20. The drive 10 reads an image recorded on the smart media. Drive 11
Reads an image recorded on a compact flash. The drive 12 reads an image recorded on an optical disk. The drive 13 reads an image recorded on a floppy disk. The image signal processing unit 14
The digital image signal from each medium received from each of the drives 10 to 13 is processed for monitoring and printing,
The memory unit 15 records the signal-processed image. The contents recorded in the memory 15 are reproduced by the monitor 4 and the printers 16 and 18.

【0017】銀塩プリンタ16は、銀塩ペーパーに対し
てデジタル画像の露光を行った後に、現像、定着、安定
処理を行ってデジタル銀塩プリントを作成する。本装置
では、銀塩の露光制御部として図示しないPLZT光シ
ャッターアレイを使用している。第1インターフェース
(IF)17は、銀塩プリンタ16とのインターフェイス
である。第1インターフェース17を介して、メモリ1
5に記録されたプリント用の画像データが銀塩プリンタ
16に送られるとともに、全体制御部20から銀塩プリ
ンタ16にプリント開始命令が送られ、また、銀塩プリ
ンタ16から全体制御部20へはプリント状態データが
送られる。
The silver halide printer 16 performs digital image exposure on silver halide paper, and then performs development, fixing, and stabilization processing to create a digital silver halide print. In this apparatus, a PLZT optical shutter array (not shown) is used as a silver halide exposure control unit. First interface
An (IF) 17 is an interface with the silver halide printer 16. Through the first interface 17, the memory 1
5 is sent to the silver halide printer 16, a print start command is sent from the overall control unit 20 to the silver halide printer 16, and the overall control unit 20 sends a print start instruction to the silver halide printer 16. Print status data is sent.

【0018】もう1つのプリンタ18は、シールプリン
ト作成用の昇華型プリンタである。本プリンタ18は、
シールプリントに適したプリンタであれば他の方式のプ
リンタ(例えばインクジェット方式、熱溶融方式のプリ
ンタ)でもよい。第2インターフェース(IF)19は、
シール用プリンタ18とのインターフェイスであり、第
1インターフェース17とほぼ同等の機能を有する。
Another printer 18 is a sublimation printer for producing a seal print. This printer 18
As long as the printer is suitable for seal printing, another type of printer (for example, an inkjet type or a hot-melt type printer) may be used. The second interface (IF) 19
This is an interface with the sealing printer 18 and has almost the same function as the first interface 17.

【0019】(全体制御シーケンス)次に、画像作成装
置における全体制御部20による制御シーケンスについ
て説明する。
(Overall Control Sequence) Next, a control sequence by the overall control unit 20 in the image forming apparatus will be described.

【0020】図4は、サービスメニュー表示からインデ
ックス表示までのフローチャートである。本装置が起動
されると、まず、本装置で利用可能なサービスメニュー
(図6の(a)参照)をモニター4に表示する(ステッ
プS11、以下「ステップ」を省略する)。ユーザは希
望のサービスをタッチパネルで選択する。本実施形態で
は、以下の6種のサービス(プリントモード)が利用可
能である。 (1)全数プリント(メディアに記録された画像を全て
プリントする場合に選択するモード) (2)個別指定プリント(メディアに記録された画像を
個別に指定してプリントするモード) (3)インデックスプリント(インデックスプリントを
するモード) (4)シールプリント(シールプリントをするモード) (5)証明写真プリント(メディアに記録された画像を
個別に指定して証明用写真としてプリントするモード) (6)データ保存(メディアCD−R、FD、MOにデ
ータ保存をするモード)
FIG. 4 is a flowchart from the service menu display to the index display. When the present apparatus is started, first, a service menu (see FIG. 6A) usable in the present apparatus is displayed on the monitor 4 (step S11; hereinafter, "step" is omitted). The user selects a desired service on the touch panel. In the present embodiment, the following six services (print modes) can be used. (1) All prints (mode selected when printing all images recorded on media) (2) Individually designated print (mode for individually designating and printing images recorded on media) (3) Index print (Mode for performing index printing) (4) Sticker printing (mode for performing sticker printing) (5) ID photo printing (mode for individually designating images recorded on media and printing them as ID photos) (6) Data Save (mode to save data to media CD-R, FD, MO)

【0021】サービスメニューからどのサービスを選択
しても、インデックス表示までの処理は共通である。ま
ず、画像の取り込みを行うために、ユーザは画像入力用
の記録メディアの選択を行う(S12)。モニタ4上に
メディアを表示して選択可能としても良いし、パネル7
やキーボード5で選択してもよい。ユーザが選択する
と、表示パネル7において、選択されたメディアの装填
口の表示21が点灯する(S13)。
No matter which service is selected from the service menu, the processing up to the index display is common. First, in order to capture an image, the user selects a recording medium for inputting an image (S12). The media may be displayed on the monitor 4 so that the media can be selected.
Alternatively, the selection may be made with the keyboard 5. When the user makes a selection, the display 21 of the loading port of the selected medium is lit on the display panel 7 (S13).

【0022】次に、ユーザがメディアを装填するのを待
つ(S14)。ユーザによりメディアが装填されると、
データ入力・解凍のサブルーチンをコールして、メディ
アから画像データを解凍して読み出し(S15)。その
原画像データをメモリに保存する。これは、操作終了ま
で原画像データを保存しておき、常に高速なアクセス可
能とするためである。次に、ユーザによるメディアの取
出しを待って(S16)、その後、ユーザによるサービ
ス内容の選択を入力し(S17)、その選択されたサー
ビス内容に応じて所定処理を行なう(S18〜S2
3)。
Next, it waits for the user to load a medium (S14). When media is loaded by the user,
A subroutine for data input / decompression is called to decompress and read image data from the medium (S15). The original image data is stored in the memory. This is because the original image data is stored until the operation is completed, so that high-speed access is always possible. Next, the process waits for the user to remove the media (S16), and then inputs the selection of the service content by the user (S17), and performs a predetermined process according to the selected service content (S18 to S2).
3).

【0023】すなわち、選択されたサービスが「全数プ
リント」であれば、メディアに記録された画像を全てプ
リントするための所定の処理を行なう(S18)。選択
されたサービスが、「個別指定プリント」であれば、メ
ディアに記録された画像を個別に指定してプリントする
ための所定の処理を行なう(S19)。選択されたサー
ビスが、「インデックスプリント」であれば、インデッ
クスプリントをするための処理を行なう(S20)。選
択されたサービスが、「シールプリント」であれば、シ
ールプリントをするための処理を行なう(S21)。選
択されたサービスが、「証明写真プリント」であれば、
メディアに記録された画像を個別に指定して証明用写真
としてプリントする所定の処理を行なう(S22)。選
択されたサービスが、「データ保存」であれば、メディ
アCD−R、FD、MOにデータ保存をするための処理
を行なう(S23)。
That is, if the selected service is "print all", a predetermined process for printing all the images recorded on the medium is performed (S18). If the selected service is "individual designation print", a predetermined process for individually designating and printing images recorded on the medium is performed (S19). If the selected service is "index print", a process for performing index print is performed (S20). If the selected service is "seal print", a process for performing a seal print is performed (S21). If the selected service is "ID photo print",
A predetermined process of individually designating the images recorded on the medium and printing them as a photograph for certification is performed (S22). If the selected service is "data storage", a process for storing data in the media CD-R, FD, and MO is performed (S23).

【0024】ここで、「全数プリント」、「個別指定プ
リント」、「インデックスプリント」、「シールプリン
ト」、「データ保存」の各サービスに対する処理につい
ては、周知の任意の処理でよい。以下では、特に、「証
明写真プリント」処理を実現するための制御について詳
細に説明する。
Here, the processing for each of the services "print all", "designated print", "index print", "sticker print", and "data storage" may be any known processing. In the following, in particular, control for realizing the “certification photo print” process will be described in detail.

【0025】(証明写真プリント処理)図5に証明写真
プリントが選択されたときの制御を示すフローチャート
を示す。なお、本処理では、ユーザが装填したメディア
に記録されていた画像データから証明写真用の画像を作
成し、印刷する処理を行なう。
(Proof Photo Print Processing) FIG. 5 is a flow chart showing the control when the verification photo print is selected. In this process, a process of creating an image for an ID photograph from the image data recorded on the medium loaded by the user and printing the image is performed.

【0026】最初に、ユーザが証明写真の種類を選択す
るための選択用画面を表示する(S31)。例えば、図
6の(b)に示すような選択メニューが表示され、ユー
ザはその目的に応じて一般用、パスポート用、免許証用
等の写真の種類を選択する。次に、ユーザにより指定さ
れた写真の種類や、印刷枚数の情報を取りこむ(S3
2)。印刷枚数についても、写真の種類と同様、ユーザ
によりモニター4上で入力される。現在の設定での金額
を演算してモニター4に表示する(S33)。ユーザは
この表示を確認しながら設定を行ない、設定が完了する
と、モニター4上でモニター上に表示されたOKボタン
(図示せず)を押す。このユーザによるOKボタンの押
下を判断し(S34)、次に進む。
First, a selection screen for the user to select the type of ID photo is displayed (S31). For example, a selection menu as shown in FIG. 6B is displayed, and the user selects a type of photograph, such as a general type, a passport type, or a license type, according to the purpose. Next, information of the type of the photograph designated by the user and the number of prints are fetched (S3).
2). The number of prints is also input on the monitor 4 by the user as in the case of the type of photo. The amount under the current setting is calculated and displayed on the monitor 4 (S33). The user performs setting while checking the display, and when the setting is completed, presses an OK button (not shown) displayed on the monitor on the monitor 4. It is determined that the user has pressed the OK button (S34), and the process proceeds to the next step.

【0027】次に、サービス内容と最終料金を表示して
(S35、S36)、ユーザによる入金を待ち、入金が
あると釣銭等の計算、支払い処理等を行なう(S3
7)。その後、証明写真用画像作成処理のサブルーチン
をコールし、ユーザが装填口に装填したメディアに格納
されていた画像から証明写真用画像を作成する(S3
8)。続いて、作成された証明写真用画像を所定の用紙
に印刷する処理を行ない(S39)、リターンする。な
お、このとき、作成された証明写真用画像をメディアに
保存するようにしてもよい。
Next, the service contents and the final fee are displayed (S35, S36), and the user waits for a deposit, and when there is a deposit, calculation of change, payment processing, etc. are performed (S3).
7). Thereafter, the subroutine of the ID photo image creation process is called, and the ID photo image is generated from the image stored in the medium loaded in the loading slot by the user (S3).
8). Subsequently, a process of printing the created ID photo image on predetermined paper is performed (S39), and the process returns. At this time, the created ID photo image may be stored in a medium.

【0028】(証明写真用画像作成処理)図7は証明写
真用画像作成処理(S38)を示すフローチャートであ
る。本処理は、大きく区分けて、画像の上下を判断して
正しい方向に画像を位置付ける処理と、その画像中で人
物画像の輪郭部分を検出する処理と、検出した輪郭部分
を中心として証明写真用の画像を編集する処理とからな
る。以下、これらを具体的に説明する。
(Proof Photo Image Creation Process) FIG. 7 is a flowchart showing the identification photo image creation process (S38). This processing is divided into two parts: processing to determine the top and bottom of the image to position the image in the correct direction, processing to detect the outline part of the human image in the image, and processing for the ID photo centering on the detected outline part. And editing the image. Hereinafter, these will be described specifically.

【0029】まず、ユーザが指定した画像ファイル情報
を読み込み、その指定に一致する画像をメモリから読み
出し、モニター4に表示する(S51)。ここで、ユー
ザは証明写真に用いる画像をモニター4上で指定する。
図11の(a)にこの場合の画像データの表示例を示
す。次に、証明写真として切り取る領域を示す枠(切り
取り枠)がモニター4上に表示される(S52)。図9
に、切り取り枠の一例を示す(この図においてBは顔の
輪郭を示す)。切り取り枠Aは、顔の中心、頭の先の位
置、あごの先の位置を示す情報を有する。切り取り枠A
は、図11の(b)に示すように最初は画像の中心に表示
される。その後、指定された画像の上下を判断し、上下
方向が正しくなるように画像を回転させる処理を行なう
(S53〜S55、S62、S63)。
First, image file information designated by the user is read, an image corresponding to the designation is read from the memory, and displayed on the monitor 4 (S51). Here, the user specifies an image to be used for the ID photograph on the monitor 4.
FIG. 11A shows a display example of image data in this case. Next, a frame (cutting frame) indicating an area to be cut as an ID photo is displayed on the monitor 4 (S52). FIG.
2 shows an example of the cutout frame (in this figure, B indicates the outline of the face). The cutout frame A has information indicating the center of the face, the position of the head, and the position of the chin. Cutting frame A
Are initially displayed at the center of the image as shown in FIG. Thereafter, the vertical direction of the designated image is determined, and the image is rotated so that the vertical direction is correct (S53 to S55, S62, and S63).

【0030】具体的には、まず、指定画像のタグ情報か
ら、その画像のサイズすなわち縦、横のサイズを読み込
む(S53)。次に、画像の上下を判断するための判定
領域を設定する(S54)。ここで、上下の判断のため
の判定領域について説明する。
Specifically, first, the size of the designated image, that is, the vertical and horizontal sizes, is read from the tag information of the designated image (S53). Next, a determination area for determining whether the image is up or down is set (S54). Here, a determination area for up / down determination will be described.

【0031】判定領域は、画像の外周を構成する四辺の
うちの三辺に沿って設けた所定幅の略コの字型の領域に
設定する。例えば、略コの字型領域は、画像の外周を構
成する4辺のうちの一辺に沿った領域の少なくとも一部
と、その一辺の両端に接する二辺のそれぞれに沿った領
域の少なくとも一部を含む幅1ドットの領域に設定す
る。本実施形態では、図8の(a)に示す黒色で塗りつ
ぶしたコの字型領域を判定領域としている。すなわち、
図8の(a)において、コの字型の判定領域は、画像の
最外周の1ドット幅の領域において、上側の一辺に平行
な領域と、その上側の一辺の左側に接する辺に平行領域
の一部と、その上側の一辺の右側に接する辺に平行な領
域の一部とからなる。より具体的には、左右の2辺に平
行な領域は、上側の辺に接する位置から伸びて、画像の
縦サイズの半分の長さを有する。したがって、判定領域
は、画像が、縦y×横xドットのサイズを有する画像と
すれば、横方向の長さがa(=x)ドットの一辺と、こ
れに接する縦方向の長さがb(=y/2)ドットからな
るコの字型領域となる。
The determination area is set to a substantially U-shaped area having a predetermined width provided along three of the four sides constituting the outer periphery of the image. For example, the substantially U-shaped region includes at least a part of a region along one of four sides forming an outer periphery of an image and at least a part of a region along each of two sides contacting both ends of the one side. Is set to an area of 1 dot width including. In the present embodiment, the U-shaped area painted black in FIG. 8A is set as the determination area. That is,
In FIG. 8A, the U-shaped determination region is a region that is parallel to the upper side and a region that is parallel to the left side of the upper side in the one-dot width region on the outermost periphery of the image. And a part of a region parallel to a side that is in contact with the right side of the upper side. More specifically, the region parallel to the two left and right sides extends from a position in contact with the upper side, and has a half length of the vertical size of the image. Therefore, if the image is an image having a size of vertical y × horizontal x dots, the determination region has one side of a (= x) dot in the horizontal direction and b in the vertical direction in contact with the side. It becomes a U-shaped area composed of (= y / 2) dots.

【0032】以上のように判定領域を画像の外周に沿っ
てコの字型領域に設定するのは次の理由による。すなわ
ち、証明写真に用いるような人物が撮影された写真の場
合、通常、人物の上側及び横(左右)側は背景となるた
め、これらの領域の色はほぼ均一であると考えられる。
したがって、画像における人物の上側端及び横(左右)
側端のドットの色はほぼ均一であると考えられる。これ
に対し、画像の下側端のドットの色は、人物が着ている
服等の色となるため、背景色である上側端、左右側端の
色とは一般に大きく異なるであろうと考えられる。した
がって、画像の周縁部に設けたコの字型の領域におい
て、その領域内の画素の色がほぼ同一であれば、そのコ
の字型領域を構成する三辺のうちの真中に位置する辺が
画像の上方向を示すため、画像の上下を判別することが
できる。
The reason why the determination area is set as a U-shaped area along the outer periphery of the image as described above is as follows. That is, in the case of a photograph in which a person such as an identification photograph is taken, the upper side and the side (left and right) sides of the person are usually backgrounds, so that the colors of these areas are considered to be substantially uniform.
Therefore, the upper end and the side (left and right) of the person in the image
The colors of the dots at the side edges are considered to be substantially uniform. On the other hand, since the color of the dot at the lower end of the image is the color of the clothes or the like worn by the person, it is generally considered that the color of the dot at the lower end, which is the background color, will be largely different from the color of the upper end, left and right end . Therefore, in the U-shaped region provided in the peripheral portion of the image, if the colors of the pixels in the region are substantially the same, the side located in the middle of the three sides constituting the U-shaped region Indicates the upward direction of the image, so that the upper and lower sides of the image can be determined.

【0033】なお、本実施形態のコの字型領域は、図8
の(a)に示すように連続する領域に設定したが、上側
の一辺の一部と、その上側の一辺に接する両横側の二辺
の一部を含めば図8の(b)、(c)、(d)、(e)
に示すように不連続な領域からなってもよい。また、コ
の字型領域の幅は1ドットに限られず、中央の対象画像
を含まないような十分に小さいドット幅でもよい。同様
に、コの字型領域は画像の周縁部に設ければ、最外周に
設けなくてもよい。
It should be noted that the U-shaped region of the present embodiment corresponds to FIG.
(A) is set as a continuous area as shown in FIG. 8 (b) and (b) in FIG. c), (d), (e)
As shown in FIG. Further, the width of the U-shaped region is not limited to one dot, and may be a sufficiently small dot width that does not include the central target image. Similarly, if the U-shaped region is provided at the peripheral portion of the image, it may not be provided at the outermost periphery.

【0034】図7に戻り、コの字型の判定領域の設定
後、画像に対して、設定したコの字型領域における各画
素の画素の色、すなわち、各画素についてR、G、B各
色の値(以下「画素値」という。)を調べ、その領域中
の各画素の画素値の最大値と最小値を求める(S5
4)。各色毎に、画素値の最大値と最小値の差が所定範
囲内にあるか否かを判断する(S55)。各色の画素値
の最大値と最小値の差が所定範囲内にあるときは、判定
領域内の各画素の色がほぼ均一であると判断され、それ
らの領域が背景の一部であると判断できるからである。
Returning to FIG. 7, after the U-shaped determination area is set, the color of each pixel in the set U-shaped area for the image, that is, the R, G, B colors for each pixel (Hereinafter referred to as “pixel value”), and the maximum value and the minimum value of the pixel value of each pixel in the area are obtained (S5).
4). For each color, it is determined whether or not the difference between the maximum and minimum pixel values is within a predetermined range (S55). When the difference between the maximum value and the minimum value of the pixel value of each color is within a predetermined range, it is determined that the color of each pixel in the determination area is substantially uniform, and it is determined that those areas are part of the background. Because you can.

【0035】上記判断の結果、R、G、B全色について
コの字領域における画素値の最大値と最小値の差が所定
範囲内にないときは(S55で「NO」)、今、表示さ
れている画像の上下方向は正しくないと判断し、さらに
検査を続けるために画像を右回りに90°回転させる
(S62)。例えば、図11においては、表示画像は
(b)から(c)のように回転される。その後、画像が
4回回転(すなわち一回転)したか否かを判断し(S6
3)、4回回転していないときはステップS54に戻
り、上記処理を繰り返す。4回転回転したときは、この
画像について上下方向の判断ができなかった、すなわ
ち、無効(NG)と判断し(S64)、処理を終了す
る。
As a result of the above determination, if the difference between the maximum value and the minimum value of the pixel values in the U-shaped area is not within the predetermined range for all the colors of R, G, and B ("NO" in S55), the display is now performed. It is determined that the vertical direction of the image being performed is not correct, and the image is rotated clockwise by 90 ° to continue the inspection (S62). For example, in FIG. 11, the display image is rotated from (b) to (c). Thereafter, it is determined whether the image has rotated four times (ie, one rotation) (S6).
3) If it has not rotated four times, the process returns to step S54, and the above processing is repeated. When the image has been rotated four times, the image cannot be determined in the vertical direction, that is, it is determined that the image is invalid (NG) (S64), and the process ends.

【0036】一方、画素値の差を判断した結果、コの字
領域における画素値の最大値及び最小値の差が所定範囲
内にあるときは(S55で「YES」)、今表示されて
いる画像の上下方向は正しい、すなわち、画像中の人物
画像の向きが正しいと判断し、次に、その画像中の人物
画像部分を特定する。
On the other hand, as a result of judging the difference between the pixel values, if the difference between the maximum value and the minimum value of the pixel values in the U-shaped area is within a predetermined range ("YES" in S55), it is now displayed. It is determined that the vertical direction of the image is correct, that is, the orientation of the human image in the image is correct, and then the human image portion in the image is specified.

【0037】ここで、画像中の人物画像部分を特定する
際に用いる輪郭データベースについて説明する。輪郭デ
ータベースは、顔の輪郭の形、顔の大きさ、顔の位置、
頭の先の位置の情報、あごの位置の情報、顔の中心位置
の情報を含む輪郭データを複数登録している。この輪郭
データベースは全体制御部20内の所定のデータ記憶部
(図示せず)に格納されている。図10に輪郭データの
表示例を示す。各輪郭データは、画像全体の領域に対応
する領域Cと、顔の輪郭に対応する領域(以下「輪郭領
域」という。)B'とを有する。輪郭領域B'は領域1と
領域2とを有する。領域1は、輪郭領域B'内の上部3
分の1の領域であり、領域2は輪郭領域B'内の下部2
分の1の領域である。さらに、輪郭領域B'の外側に領
域3を有する。領域3は、輪郭領域B'内の上部と下部
を分ける中心線の延長線Lが輪郭領域B'外の領域を区
分するときの上部の領域である。なお、領域1、領域
2、領域3は他の範囲に設定してもよい。図10の
(a)〜(d)のそれぞれに示すように、輪郭領域B'
の大きさ、形状、及び、領域C内での位置関係は、輪郭
データ毎に異なる。また、図示していないが、領域Cの
形状も複数種類存在する。
Here, a contour database used for specifying a human image portion in an image will be described. The contour database stores the shape of the face contour, face size, face position,
A plurality of pieces of contour data including information on the position of the tip of the head, information on the position of the chin, and information on the center position of the face are registered. This contour database is stored in a predetermined data storage unit (not shown) in the overall control unit 20. FIG. 10 shows a display example of the contour data. Each contour data has a region C corresponding to the region of the entire image and a region B ′ corresponding to the contour of the face (hereinafter referred to as “contour region”). The outline area B ′ has an area 1 and an area 2. Region 1 is the upper 3 in contour region B '
The area 2 is a lower area 2 in the outline area B ′.
This is a one-half area. Further, there is a region 3 outside the contour region B '. The area 3 is an upper area when the extension line L of the center line that separates the upper and lower parts in the outline area B ′ separates an area outside the outline area B ′. Region 1, region 2, and region 3 may be set to other ranges. As shown in each of (a) to (d) of FIG.
The size, shape, and positional relationship within the region C differ for each contour data. Although not shown, there are a plurality of types of the shape of the region C.

【0038】図7に戻り、画像中の人物画像部分を特定
するために、まず、輪郭データベースから画像中の人物
の画像領域を特定するための輪郭データを1つ読み出す
(S56)。次に、表示画像の全体領域に輪郭データの
領域Cが一致するように対応させ、輪郭データベースに
より特定される領域1、領域2及び領域3のそれぞれの
領域内において画素値の標準偏差を求める(S57)。
それらの標準偏差がそれぞれの所定範囲内にあるか否か
を判断する(S58)。領域1、領域2及び領域3に対
する標準偏差がそれぞれの所定範囲内にあるときは、そ
の輪郭データベースにより特定される輪郭領域B'が顔
の領域であると判断し、すなわち、有効「OK」である
と判断する(S59)。その後、ステップS60に進
む。
Returning to FIG. 7, in order to specify a human image portion in the image, first, one outline data for specifying an image area of a human in the image is read from the outline database (S56). Next, the entire area of the display image is made to correspond to the area C of the outline data, and the standard deviation of the pixel value is obtained in each of the areas 1, 2, and 3 specified by the outline database ( S57).
It is determined whether or not those standard deviations are within respective predetermined ranges (S58). When the standard deviations for the area 1, the area 2 and the area 3 are within the respective predetermined ranges, it is determined that the contour area B ′ specified by the contour database is the face area, that is, the valid “OK” It is determined that there is (S59). Thereafter, the process proceeds to step S60.

【0039】一方、ステップS58において領域1、領
域2、領域3に対する標準偏差の少なくとも1つが所定
範囲内にないときは、輪郭データベースにおいて全ての
輪郭データを用いて検査したか否かを判断し(S6
5)、全ての輪郭データについて検査していれば、人物
画像部分を特定できないために無効(NG)とし(S6
6)、処理を終了する。未だ検査していない輪郭データ
があれば、輪郭データベースから次の輪郭データを読み
出し、それを用いて上記と同様にして検査する(S56
〜S58)。
On the other hand, if at least one of the standard deviations with respect to the area 1, the area 2 and the area 3 is not within the predetermined range in step S58, it is determined whether or not the inspection has been performed using all the outline data in the outline database (step S58). S6
5) If all the contour data have been inspected, it is invalid (NG) because the human image portion cannot be specified (S6).
6), end the process. If there is any contour data that has not been inspected yet, the next contour data is read from the contour database and inspected in the same manner as described above using this (S56).
To S58).

【0040】ステップ60では、ユーザが指定した種類
の証明写真が得られるように枠の移動と、拡大、縮小を
行なう。すなわち、輪郭データベースが有する頭の位置
の情報、あごの位置の情報、顔の中心の情報に基き、輪
郭領域B'と、枠Aの領域Bとがほぼ一致する様に枠A
を移動させる(図11の(d)参照)。また、証明写真
の種類に応じたサイズになるように適宜、枠及び画像の
拡大、縮小を行なう。その後、証明写真の枠内の画像を
切りとり、すなわち、抽出し、証明写真用の画像データ
に編集する(S61)。
In step 60, the frame is moved and enlarged / reduced so as to obtain the ID photo specified by the user. That is, based on the information on the head position, the position of the chin, and the information on the center of the face in the outline database, the outline area B ′ and the area A of the frame A are substantially coincident with each other.
Is moved (see FIG. 11D). Also, the frame and the image are appropriately enlarged or reduced so as to have a size corresponding to the type of the ID photo. Thereafter, the image in the frame of the ID photo is cut out, that is, extracted, and edited into image data for the ID photo (S61).

【0041】なお、上記説明では、画像の人物画像部分
を特定し、処理する例を述べたが、輪郭データベースに
おいて、対象物に応じた輪郭データを登録することによ
り、人物以外の他の対象物の画像を自動的に判別し、抽
出することも可能である。また、輪郭データベースを用
いて画像の輪郭領域を判断するかわりに、画像の上部か
ら下部にかけての色(画素値)の変化から頭の先を判断
し、頬の輪郭からあごの先を推測してもよい。
In the above description, an example in which a human image portion of an image is specified and processed has been described. However, by registering contour data corresponding to the target object in the contour database, other target objects other than the person can be registered. Can be automatically determined and extracted. Also, instead of using the contour database to determine the contour area of the image, the head of the head is determined from the change in color (pixel value) from the top to the bottom of the image, and the tip of the chin is estimated from the contour of the cheek. Is also good.

【0042】[0042]

【発明の効果】本発明の画像作成装置によれば、入力し
た画像から対象画像を含む部分を自動的抽出し、印刷す
ることができる。これにより、デジタルカメラ等により
撮影した画像から証明写真等を容易に作成することがで
きる。また、本発明の画像上下認識装置及び方法によれ
ば、容易に画像の上下方向を判断することができる。
According to the image forming apparatus of the present invention, a portion including a target image can be automatically extracted from an input image and printed. As a result, an ID photograph or the like can be easily created from an image taken by a digital camera or the like. Further, according to the image vertical recognition apparatus and method of the present invention, the vertical direction of an image can be easily determined.

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

【図1】 画像再生装置の斜視図。FIG. 1 is a perspective view of an image reproducing apparatus.

【図2】 パネル及びメディア装填部の平面図。FIG. 2 is a plan view of a panel and a media loading unit.

【図3】 画像再生装置のブロック図。FIG. 3 is a block diagram of an image reproducing apparatus.

【図4】 画像再生装置のメイン処理のフローチャー
ト。
FIG. 4 is a flowchart of a main process of the image reproducing apparatus.

【図5】 証明写真プリント選択時のフローチャートFIG. 5 is a flowchart for selecting an ID photo print.

【図6】 サービス内容表示の画面を示した図(a)、
及び、証明写真の種類を選択するための画面を示した図
(b)。
FIG. 6A is a diagram showing a service content display screen,
FIG. 7B shows a screen for selecting the type of ID photo.

【図7】 証明写真画像作成処理のフローチャート。FIG. 7 is a flowchart of an identification photograph image creation process.

【図8】 上下方向判定領域(コの字型領域)を説明し
た図(a)、及び、コの字型領域のバリエーションを示
した図(b〜e)。
FIG. 8A illustrates a vertical direction determination area (U-shaped area), and FIGS. 8B to 8E illustrate variations of the U-shaped area.

【図9】 証明写真用の切り取り枠を説明した図。FIG. 9 is a diagram illustrating a cutout frame for an ID photograph.

【図10】 輪郭データベースを説明した図(a〜
d)。
FIG. 10 is a diagram illustrating an outline database (a to
d).

【図11】 証明写真作成処理における、画像ファイル
の表示(a)、切り取り枠の表示(b)、画像ファイル
の回転(c)、枠の移動(d)をそれぞれ説明した図。
FIG. 11 is a view for explaining display of an image file (a), display of a cutout frame (b), rotation of an image file (c), and movement of a frame (d) in the identification photograph creation processing.

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

4 モニター 5,7 操作部 10〜13 メディア挿入口 16 銀塩プリンタ 18 シール用プリンタ 20 全体制御部 Reference Signs List 4 monitor 5, 7 operation unit 10-13 media insertion port 16 silver halide printer 18 seal printer 20 overall control unit

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 15/70 350H Fターム(参考) 5B057 CC03 CD04 CE09 DA07 DA08 DB06 DC08 DC22 DC33 5C023 AA02 AA03 AA04 AA05 AA14 AA34 AA38 BA02 CA02 DA04 DA08 EA03 EA05 EA06 5C052 AA11 AB04 DD02 DD10 EE02 EE03 EE08 FA03 FA04 FA05 FA06 FB01 FC01 FC08 FD07 FD08 FD10 FE04 5C076 AA17 AA21 AA22 AA24 BA02 CA12 5L096 AA02 BA18 FA14 FA33 FA67 GA40 HA09 JA18 Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (Reference) G06F 15/70 350H F-term (Reference) 5B057 CC03 CD04 CE09 DA07 DA08 DB06 DC08 DC22 DC33 5C023 AA02 AA03 AA04 AA05 AA14 AA34 AA38 BA02 CA02 DA04 DA08 EA03 EA05 EA06 5C052 AA11 AB04 DD02 DD10 EE02 EE03 EE08 FA03 FA04 FA05 FA06 FB01 FC01 FC08 FD07 FD08 FD10 FE04 5C076 AA17 AA21 AA22 AA24 BA02 CA12 5L096 AA02 BA18 FA14 FA33 FA67 GA67 GA40

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 対象画像を含む画像を入力する入力手段
と、 入力した画像の上下を判定する判定領域として、画像の
外周を構成する四辺のうちの三辺に沿って略コの字型の
領域を設定する領域設定手段と、 判定領域内の画素について画素値の最大値と最小値を求
め、その最大値と最小値の差に基いて画像の上下方向を
判断する判断手段と、 その判断結果に基き、画像の上下方向が所定の基準方向
になるように画像を回転させる回転手段と、 回転した画像から対象画像部分を識別する識別手段と、 識別した対象画像の一部分を含む所定の画像部分を抽出
する抽出手段と抽出した画像部分を印刷する印刷手段と
を備えたことを特徴とする画像作成装置。
1. An input means for inputting an image including a target image, and a determination area for determining the upper and lower sides of the input image has a substantially U-shape along three of four sides constituting an outer periphery of the image. Area setting means for setting an area; determining means for determining a maximum value and a minimum value of pixel values for pixels in the determination area, and determining the vertical direction of the image based on a difference between the maximum value and the minimum value; Rotating means for rotating the image based on the result so that the vertical direction of the image is a predetermined reference direction; identifying means for identifying a target image portion from the rotated image; and a predetermined image including a part of the identified target image. An image creating apparatus comprising: an extracting unit that extracts a portion; and a printing unit that prints the extracted image portion.
【請求項2】 前記上下方向を判断する手段において画
像の上下方向が判断できなかった場合は、前記回転手
段、前記識別手段、前記抽出手段および前記印刷手段は
処理を行わないことを特徴とする請求項2記載の画像作
成装置。
2. The method according to claim 1, wherein when the vertical direction of the image cannot be determined by the vertical direction determining unit, the rotating unit, the identifying unit, the extracting unit, and the printing unit do not perform processing. The image creation device according to claim 2.
【請求項3】 画像の上下を判定する判定領域として、
画像の外周を構成する四辺のうちの三辺に沿って略コの
字型の領域を設定する判定領域設定手段と、前記判定領
域内の画素について画素値の最大値と最小値を求め、該
画素値の最大値と最小値の差に基き、その画像の上下を
判断する判断手段とを備えたことを特徴とする画像上下
認識装置。
3. A determination area for determining whether an image is up or down,
A determination region setting means for setting a substantially U-shaped region along three of the four sides constituting the outer periphery of the image, and determining a maximum value and a minimum value of pixel values for pixels in the determination region; An image up / down recognizing device, comprising: a determination unit configured to determine up / down of an image based on a difference between a maximum value and a minimum value of a pixel value.
【請求項4】 前記コの字型の領域は、前記四辺のうち
の一辺に沿って設けた第1の領域と、該一辺の一端に接
する辺に沿って設けた第2の領域と、該一辺の他端に接
する辺に沿って設けた第3の領域とからなることを特徴
とする請求項3記載の画像上下認識装置。
4. The U-shaped area includes a first area provided along one of the four sides, a second area provided along a side that is in contact with one end of the one side, and The image vertical recognition apparatus according to claim 3, comprising a third area provided along a side contacting the other end of one side.
【請求項5】 前記第2の領域及び第3の領域の長さ
は、それらの各領域が沿って設けられた辺の長さよりも
短いことを特徴とする請求項4記載の画像上下認識装
置。
5. The apparatus according to claim 4, wherein the lengths of the second area and the third area are shorter than the length of a side provided along each of the areas. .
【請求項6】 前記第1の領域、第2の領域及び第3の
領域のうちの少なくとも1つは不連続な領域であること
を特徴とする請求項3記載の画像上下認識装置。
6. The apparatus according to claim 3, wherein at least one of the first area, the second area, and the third area is a discontinuous area.
【請求項7】 画像の上下を判定する判定領域として、
画像の外周を構成する四辺のうちの三辺に沿って略コの
字型の領域を設定し、前記判定領域内の画素について画
素値の最大値と最小値を求め、該画素値の最大値と最小
値の差に基き、その画像の上下を判断することを特徴と
する画像上下認識方法。
7. A determination area for determining whether an image is up or down,
A substantially U-shaped area is set along three of the four sides constituting the outer periphery of the image, the maximum value and the minimum value of the pixel value are determined for the pixels in the determination area, and the maximum value of the pixel value is determined. And determining whether the image is up or down based on the difference between the image and the minimum value.
JP28412499A 1999-10-05 1999-10-05 Image generator and device and method for recognizing top and bottom of image Pending JP2001111806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28412499A JP2001111806A (en) 1999-10-05 1999-10-05 Image generator and device and method for recognizing top and bottom of image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28412499A JP2001111806A (en) 1999-10-05 1999-10-05 Image generator and device and method for recognizing top and bottom of image

Publications (1)

Publication Number Publication Date
JP2001111806A true JP2001111806A (en) 2001-04-20

Family

ID=17674494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28412499A Pending JP2001111806A (en) 1999-10-05 1999-10-05 Image generator and device and method for recognizing top and bottom of image

Country Status (1)

Country Link
JP (1) JP2001111806A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002358522A (en) * 2001-05-31 2002-12-13 Olympus Optical Co Ltd Device, method and program for supporting image selection
WO2005071611A1 (en) * 2004-01-27 2005-08-04 Seiko Epson Corporation Method for extracting person candidate area in image, person candidate area extraction system, person candidate area extraction program, method for judging top and bottom of person image, system for judging top and bottom, and program for judging top and bottom
JP2007034804A (en) * 2005-07-28 2007-02-08 Noritsu Koki Co Ltd Image distinction method for identification photograph and image processor
US8442351B2 (en) 2008-11-06 2013-05-14 Nec Corporation Image orientation determination device, image orientation determination method, and image orientation determination program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002358522A (en) * 2001-05-31 2002-12-13 Olympus Optical Co Ltd Device, method and program for supporting image selection
US8055030B2 (en) 2001-05-31 2011-11-08 Olympus Corporation Image selection support system for supporting selection of well-photographed image from plural images
WO2005071611A1 (en) * 2004-01-27 2005-08-04 Seiko Epson Corporation Method for extracting person candidate area in image, person candidate area extraction system, person candidate area extraction program, method for judging top and bottom of person image, system for judging top and bottom, and program for judging top and bottom
EP1710747A1 (en) * 2004-01-27 2006-10-11 Seiko Epson Corporation Method for extracting person candidate area in image, person candidate area extraction system, person candidate area extraction program, method for judging top and bottom of person image, system for judging top and bottom, and program for judging top and bottom
EP1710747A4 (en) * 2004-01-27 2008-07-30 Seiko Epson Corp Method for extracting person candidate area in image, person candidate area extraction system, person candidate area extraction program, method for judging top and bottom of person image, system for judging top and bottom, and program for judging top and bottom
JP2007034804A (en) * 2005-07-28 2007-02-08 Noritsu Koki Co Ltd Image distinction method for identification photograph and image processor
JP4645952B2 (en) * 2005-07-28 2011-03-09 ノーリツ鋼機株式会社 Image identification method for ID photo and image processing apparatus
US8442351B2 (en) 2008-11-06 2013-05-14 Nec Corporation Image orientation determination device, image orientation determination method, and image orientation determination program

Similar Documents

Publication Publication Date Title
JP3844039B2 (en) Image input / output device
US6819449B2 (en) Image printing and filing system
JPH0965031A (en) Filing system and reproducing device
JP3731718B2 (en) Digital photo processing equipment
US20060077458A1 (en) Printing method and printing system
JP2003076773A (en) Accepting apparatus for digital image
JP3336132B2 (en) Image forming device
JPH114339A (en) Image processing unit and photograph synthesis system
US6718070B2 (en) Device and method for detecting subject inclination
JP2004320277A (en) Printing terminal, printing system, storage medium, and program
JP2001111806A (en) Image generator and device and method for recognizing top and bottom of image
JP2001333372A (en) Device and method for controlling display of reduced image
JP4336492B2 (en) Image data processing device
JP2006323452A (en) Print order receiving machine
JP2000244724A (en) Image synthesis device and method
JPH10257296A (en) Image forming device
JP2006172333A (en) Print order processing system and print order processing method
JP2000259758A (en) Code image recorder
JP4034012B2 (en) Image processing apparatus, image processing method, and recording medium
JP2000244855A (en) Recording method for image data
JP2001045257A (en) Image processor, image processing method and recording medium
JP2006128918A (en) Print image data processor, print image data processing method, and program for print image data processing
JP2006092162A (en) Image processing system and image processing method
JPH114312A (en) Image input output system
JP2010231438A (en) Device for placing order

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050615