JP4621396B2 - Image printing apparatus and method, print medium unit, and program - Google Patents

Image printing apparatus and method, print medium unit, and program Download PDF

Info

Publication number
JP4621396B2
JP4621396B2 JP2001347130A JP2001347130A JP4621396B2 JP 4621396 B2 JP4621396 B2 JP 4621396B2 JP 2001347130 A JP2001347130 A JP 2001347130A JP 2001347130 A JP2001347130 A JP 2001347130A JP 4621396 B2 JP4621396 B2 JP 4621396B2
Authority
JP
Japan
Prior art keywords
image
user
decoration
predetermined
contour
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2001347130A
Other languages
Japanese (ja)
Other versions
JP2003145880A (en
Inventor
勝行 稲毛
修一 河本
Original Assignee
フリュー株式会社
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 フリュー株式会社 filed Critical フリュー株式会社
Priority to JP2001347130A priority Critical patent/JP4621396B2/en
Publication of JP2003145880A publication Critical patent/JP2003145880A/en
Application granted granted Critical
Publication of JP4621396B2 publication Critical patent/JP4621396B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Cameras Adapted For Combination With Other Photographic Or Optical Apparatuses (AREA)
  • Television Signal Processing For Recording (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像印刷装置および方法、並びにプログラムに関し、特に、遊戯性のある撮影ができるとともに、個性に富んだ画像を容易に提供することができるようにした画像印刷装置および方法、並びにプログラムに関する。
【0002】
【従来の技術】
従来、ユーザを撮影し、撮影した画像と所定のフレームとを合成して、これをシール紙などに印刷して出力する画像印刷装置(例えば、プリント倶楽部(商標))が知られている。
【0003】
このような画像印刷装置においては、ユーザは、撮影時に予めメニュー等で複数のフレーム(背景や前景)から所望のフレームを選択し、選択したフレームとユーザ自身とが合成された合成画像を確認しながら、撮影位置を合わせ、ポーズをとって撮影の指示をする(例えば、撮影開始ボタン等を押下する)。
【0004】
【発明が解決しようとする課題】
しかしながら、従来の画像印刷装置には、より個性のある画像を提供する必要が生じた場合(例えば、多数のユーザよりその旨の要望があった場合、または対抗機種との差別化を図りたい場合等)、フレームの搭載量を増やす必要があるという問題点があった。
【0005】
即ち、製造者にとっては、多量のフレームを製作するための作業の困難性やコストの増大等の問題があり、ユーザにとっては、多量のフレームから所望のフレームを選択する際の操作の煩雑性や困難性等の問題があった。
【0006】
また、プリント倶楽部に代表される画像印刷装置は、その性質上、遊戯性に富んだものが求められているが、従来の画像印刷装置は、単に、背景(前景)とユーザとが合成された合成画像をユーザに確認させて撮影するだけであり、撮影時に面白みに欠けるという問題点があった。
【0007】
本発明は、このような状況に鑑みてなされたものであり、遊戯性のある撮影ができるとともに、個性に富んだ画像を容易に提供するようにするものである。
【0008】
【課題を解決するための手段】
本発明の画像印刷装置は、ユーザを撮影する撮影手段と、撮影手段により撮影された撮影範囲内の画像のうち、ユーザの画像を抽出する抽出手段と、抽出手段により抽出されたユーザの画像の輪郭を検出する検出手段と、検出手段により検出されたユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像を配置する配置手段と、配置手段により配置された装飾画像と、撮影手段により撮影された撮影範囲内の画像との合成画像が所定の表示装置に表示された後に合成画像を印刷する印刷手段と、表示された合成画像のうち印刷する合成画像を確定指示する確定手段とを備え、複数の装飾画像から、配置手段により配置される所定の装飾画像を設定し、設定された所定の装飾画像の装飾様式の要素として、ユーザの画像の輪郭上の所定の位置を検出する基準となる検出座標の移動方向および移動距離を設定し、抽出手段によりユーザの新たな画像が抽出されると、検出手段によりユーザの画像の輪郭が抽出され、検出座標から垂直方向に降ろした直線とユーザの画像の輪郭との交点をユーザの画像の輪郭上の所定の位置として合成画像を表示し、次に確定手段による印刷する合成画像の確定指示がなされなかった場合には、検出座標を装飾様式の要素とし設定された移動方向および移動距離に従って水平方向に所定の距離だけ移動させることにより、ユーザの画像の輪郭上の所定の位置を逐次更新していく処理を繰り返すことを特徴とする。
【0009】
本発明の画像印刷装置においては、撮影された撮影範囲内の画像のうち、ユーザの画像が抽出され、抽出されたユーザの画像の輪郭が検出され、検出されたユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像が配置され、配置された装飾画像と、撮影された撮影範囲内の画像との合成画像が所定の表示装置に表示された後に合成画像が印刷される。表示された合成画像のうち印刷する合成画像が確定指示される。複数の装飾画像から、配置される所定の装飾画像が設定され、設定された所定の装飾画像の装飾様式の要素として、ユーザの画像の輪郭上の所定の位置を検出する基準となる検出座標の移動方向および移動距離が設定され、ユーザの新たな画像が抽出されると、ユーザの画像の輪郭が抽出され、検出座標から垂直方向に降ろした直線とユーザの画像の輪郭との交点がユーザの画像の輪郭上の所定の位置として合成画像が表示され、次に印刷する合成画像の確定指示がなされなかった場合には、検出座標が装飾様式の要素とし設定された移動方向および移動距離に従って水平方向に所定の距離だけ移動されることにより、ユーザの画像の輪郭上の所定の位置が逐次更新されていく処理が繰り返される
【0010】
従って、ユーザの画像の輪郭(例えば、手や肩等)に例えば小鳥等の装飾画像が貼り付いた個性に富む画像を提供することができる。
【0011】
撮影手段は、例えば、CCD(Charge Coupled Device)カメラにより、抽出手段、検出手段、および配置手段は、例えば、CPU(Central Processing Unit)により、印刷手段は、例えばプリンタにより、それぞれ構成される。
【0012】
本発明の画像印刷装置においては、抽出手段により抽出された前記ユーザの画像と、予め設定されている所定の下地画像とを合成して、第1の合成画像を生成し、生成された第1の合成画像と、予め設定されている装飾画像とを合成して、第2の合成画像を生成し、
配置手段は、第1の合成画像内のユーザの画像の輪郭上の所定の位置に、装飾画像を配置し、画像印刷装置は、第1の合成画像と、配置手段により配置された装飾画像とを合成して、第2の合成画像を生成し、印刷手段は、生成された第2の合成画像を印刷するようにすることができる。
【0013】
従って、様々な下地画像の上にユーザの画像が貼り付けられ、さらにそのユーザの画像の輪郭(例えば、手や肩等)に例えば小鳥等の装飾画像が貼り付けられた個性に富む画像を提供することができる。
【0015】
本発明の画像印刷装置においては、配置手段は、抽出手段によりユーザの新たな画像が抽出される毎に更新される前記所定の位置に基づいて、所定の装飾画像を配置するようにすることができる。
【0016】
従って、装飾画像を、確実かつ容易にユーザの画像の輪郭の所定の位置に配置することができる。
【0018】
本発明の画像印刷装置においては、画像を表示する表示手段と、表示手段に前記第2の合成画像を表示させる第1の表示制御手段と、所定の条件を満たすと判定した場合、その判定の直前または直後に、第1の表示制御手段により表示手段に表示された第2の合成画像を、前記印刷手段により印刷される印刷画像として確定する確定手段とをさらに備え、確定手段により印刷画像が確定されるまで、撮影手段は、連続してユーザを撮影し、抽出手段は、所定のサンプリングタイムで、ユーザの画像を抽出し、第1の表示制御手段は、前記抽出手段によりユーザの新たな画像が抽出される毎に、前記表示手段の表示を、新たに生成された前記第2の合成画像に更新させるようにすることができる。
【0019】
従って、装飾画像がユーザの動きにリアルタイム(所定のサンプリングタイムの時間)に追従し、その様子が表示されるので、ユーザは、所望の構図が得られた時点で印刷される画像を確定することができる。
【0020】
表示手段は、例えば、CRT(Cathode-Ray Tude)等からなる表示装置により、第1の表示制御手段、および確定手段は、例えば、CPUにより、それぞれ構成される。
【0021】
本発明の画像印刷装置においては、印刷画像を確定する旨の信号を入力する確定信号入力手段と、確定信号入力手段により信号が入力された場合、計時を開始する計時手段と、計時手段により計時された時間に基づいて、予め設定されている所定の時間までの残り時間を演算し、演算された所定の時間までの残り時間を表示手段に表示させる第2の表示制御手段とをさらに設け、確定手段は、計時手段により所定の時間が計時された場合、所定の条件を満たすと判定するようにすることができる。
【0022】
従って、ユーザは、ポーズを決めた後に、例えば、スイッチやボタン等を操作し(印刷される画像を確定する旨の信号を入力させ)、所定の時間内に最終ポーズをとれば、その最終ポーズで撮影されたユーザの画像が印刷される。その結果、ユーザは、シャッターを押すためのリモートコントローラ装置等を使用せずに、所望のポーズの画像を取得することができ、また、製造者は、シャッターを押すためのリモートコントローラ装置等を不要とすることができるため、それに伴うコストを削減することができる。
【0023】
第1の入力手段は、例えば、スイッチやボタン等よりなる入力部により、計時手段は、例えば、タイマにより、第2の表示制御手段は、例えば、CPUにより、それぞれ構成される。
【0024】
本発明の画像印刷装置においては、配置手段により配置され得る複数の装飾画像を記憶する記憶手段と設定された装飾様式を基にして、設定された所定の装飾画像を加工する加工手段とをさらに設け、配置手段は、前記加工手段により加工された前記所定の装飾画像を配置するようにすることができる。
【0025】
画像印刷装置は、装飾様式の要素として、移動方向および移動距離に加えてさらに、装飾画像の配置個数、サイズ、回転角度、および透明度を少なくとも含む複数の要素のうち、少なくとも1つを設定するようにすることができる。
【0026】
従って、ユーザは、画面を見ながら所望のデザインを選択(設定)することができ、ユーザ自身が満足できる個性に富んだ画像を取得することができる。
【0027】
記憶手段は、例えば、ハードディスク等の外付け記憶部、またはROM(Read Only Memory)等の内蔵メモリにより、設定手段および加工手段は、例えば、CPUにより、それぞれ構成される。
【0028】
画像印刷装置は、装飾画像の前記回転角度として、90度の倍数を設定するようにすることができる。
【0029】
従って、装飾画像の回転処理における演算量を減少させることができ、画像印刷装置の演算処理部にかかるコストを削減することができる。
【0031】
従って、撮影時には、小鳥等の装飾画像が、あたかもユーザの輪郭(例えば、肩とか手等)に沿って動いているように表示されるので、遊戯性のある撮影をすることができる。
【0032】
本発明の画像印刷装置においては、記憶手段は、複数の前記装飾様式をさらに記憶しており、記記憶手段に記憶されている複数の装飾画像および複数の装飾様式を、サンプルとして前記表示手段に表示させるサンプル表示制御手段と、サンプル表示制御手段により表示手段に表示された複数の装飾画像および複数の装飾様式のサンプルのうち、ユーザにより選定された装飾画像および装飾様式に対応する信号をそれぞれ入力する選定信号入力手段とをさらに設け、画像印刷装置は、選定信号入力手段により入力された信号に基づいて、配置手段により配置される所定の装飾画像を設定するとともに、設定された所定の装飾画像の前記装飾様式を設定するようにすることができる。
【0033】
従って、ユーザは、容易に装飾画像および装飾様式を選定することができる。
【0034】
本発明の画像印刷装置では、装飾画像は画像群であり、配置手段は、所定の画像群のうち、所定の規則に従って選定された1枚の画像を、ユーザの画像の輪郭上の所定の位置に配置するようにすることができる。
【0035】
例えば、画像群として、パンダ等が走って転ぶ等のアニメーションを構成する画像群を採用し、アニメーションの各コマに相当する画像を、予め設定されている各コマが表示される順番に従って、毎回それぞれ違う画像を選定し、それをユーザの画像の輪郭上の所定の位置(例えば、請求項8に記載されているように、所定の時間間隔で移動される所定の位置)に配置すれば、撮影時に、あたかもパンダ等がユーザの輪郭(例えば、肩や手等)に沿って走って転ぶといったストーリー性のあるアニメーションを表示させることができる。従って、遊戯性のある撮影をすることができる。
【0036】
本発明の画像印刷装置においては、印刷手段により第2の画像が印刷される印刷媒体であって、装着された印刷媒体を識別するための識別情報を読み取る読取手段と、読取手段による読み取り結果に基づいて、印刷媒体への印刷を制御する印刷制御手段とをさらに設けるようにすることができる。
【0037】
印刷手段により印刷される印刷媒体は、シールであるようにすることができる。
【0038】
従って、画像印刷装置にシールシートを補充する際、間違いなく、画像印刷装置専用として予め指定されたシールシートを、補充することが可能となる。
【0039】
読み取り手段は、例えばIDタグリーダ/ライタにより、制御手段は、例えばCPUにより、それぞれ構成される。
【0040】
本発明の印刷媒体ユニットは、上述の画像印刷装置により使用される印刷媒体ユニットであって、印刷手段により第2の画像が印刷される印刷媒体を格納するとともに、読取手段により読み取られる識別情報を保持することを特徴とする。
【0041】
本発明の画像印刷方法は、ユーザを撮影する撮影ステップと、撮影ステップの処理により撮影された撮影範囲内の画像のうち、ユーザの画像を抽出する抽出ステップと、抽出ステップの処理により抽出されたユーザの画像の輪郭を検出する検出ステップと、検出ステップの処理により検出されたユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像を配置する配置ステップと、配置ステップの処理により配置された装飾画像と、撮影ステップの処理により撮影された撮影範囲内の画像との合成画像が所定の表示装置に表示された後に合成画像を印刷する印刷ステップと、表示された合成画像のうち印刷する合成画像を確定指示する確定ステップと、複数の装飾画像から、配置ステップの処理により配置される所定の装飾画像を設定し、設定された所定の装飾画像の装飾様式の要素として、ユーザの画像の輪郭上の所定の位置を検出する基準となる検出座標の移動方向および移動距離を設定する設定ステップと、抽出ステップの処理によりユーザの新たな画像が抽出されると、検出ステップの処理によりユーザの画像の輪郭が抽出され、検出座標から垂直方向に降ろした直線とユーザの画像の輪郭との交点をユーザの画像の輪郭上の所定の位置として合成画像を表示し、次に確定ステップの処理による印刷する合成画像の確定指示がなされなかった場合には、検出座標を装飾様式の要素とし設定された移動方向および移動距離に従って水平方向に所定の距離だけ移動させることにより、ユーザの画像の輪郭上の所定の位置を逐次更新していく処理を繰り返す更新ステップとを含むことを特徴とする。
【0042】
本発明のプログラムは、ユーザを撮影する撮影ステップと、撮影ステップの処理により撮影された撮影範囲内の画像のうち、ユーザの画像を抽出する抽出ステップと、抽出ステップの処理により抽出されたユーザの画像の輪郭を検出する検出ステップと、検出ステップの処理により検出されたユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像を配置する配置ステップと、配置ステップの処理により配置された装飾画像と、撮影ステップの処理により撮影された撮影範囲内の画像との合成画像が所定の表示装置に表示された後に合成画像を印刷する印刷ステップと、表示された合成画像のうち印刷する合成画像を確定指示する確定ステップと、複数の装飾画像から、配置ステップの処理により配置される所定の装飾画像を設定し、設定された所定の装飾画像の装飾様式の要素として、ユーザの画像の輪郭上の所定の位置を検出する基準となる検出座標の移動方向および移動距離を設定する設定ステップと、抽出ステップの処理によりユーザの新たな画像が抽出されると、検出ステップの処理によりユーザの画像の輪郭が抽出され、検出座標から垂直方向に降ろした直線とユーザの画像の輪郭との交点をユーザの画像の輪郭上の所定の位置として合成画像を表示し、次に確定ステップの処理による印刷する合成画像の確定指示がなされなかった場合には、検出座標を装飾様式の要素とし設定された移動方向および移動距離に従って水平方向に所定の距離だけ移動させることにより、ユーザの画像の輪郭上の所定の位置を逐次更新していく処理を繰り返す更新ステップとを含むことを特徴とする。
【0043】
本発明の画像印刷方法およびプログラムにおいては、撮影された撮影範囲内の画像のうち、ユーザの画像が抽出され、抽出されたユーザの画像の輪郭が検出され、検出されたユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像が配置され、配置された装飾画像と、撮影された撮影範囲内の画像との合成画像が所定の表示装置に表示された後に合成画像が印刷され、表示された合成画像のうち印刷する合成画像が確定指示される。複数の装飾画像から、配置される所定の装飾画像が設定され、設定された所定の装飾画像の装飾様式の要素として、ユーザの画像の輪郭上の所定の位置を検出する基準となる検出座標の移動方向および移動距離が設定され、ユーザの新たな画像が抽出されると、ユーザの画像の輪郭が抽出され、検出座標から垂直方向に降ろした直線とユーザの画像の輪郭との交点がユーザの画像の輪郭上の所定の位置として合成画像が表示され、次に印刷する合成画像の確定指示がなされなかった場合には、検出座標が装飾様式の要素とし設定された移動方向および移動距離に従って水平方向に所定の距離だけ移動されることにより、ユーザの画像の輪郭上の所定の位置が逐次更新されていく処理が繰り返される
【0044】
従って、ユーザの画像の輪郭(例えば、手や肩等)に例えば小鳥等の装飾画像が貼り付いた個性に富む画像を提供することができる。
【0045】
【発明の実施の形態】
(第1実施形態)
図1および図2を参照して、本発明の第1実施形態が適用される画像印刷装置1の構成例について説明する。
【0046】
図1Aは、画像印刷装置1の側面の断面図を表しており、図1Bは、それの正面図を表している。
【0047】
画像印刷装置1は、例えば、街角やビルディング等の建物内に配設される。
【0048】
画像印刷装置1の筺体22の背面22bの下部には、電源スイッチ27が設けられており、その接続端子が付近にある商用交流電源に接続される。電源スイッチ27のスイッチがONされると、画像印刷装置1が起動し、一方、そのスイッチがOFFされると、画像印刷装置1の動作が終了する。
【0049】
画像印刷装置1の筐体22の正面22aの上部と対向する位置には、所定距離だけ離間して幕11が設置されており、ユーザは、この筐体22と幕11との間に入場する。即ち、筐体22と幕11の間の空間のうち、所定の範囲の空間が撮影範囲の空間となり、画像印刷装置1は、この撮影範囲の空間に位置する(入場した)ユーザの画像を撮影する。この場合、幕11は、撮影範囲の空間の外部から入射される光(外光)を遮断する。
【0050】
画像印刷装置1の筺体22の内部には、その背面22bの裏面(以下、筺体22の外部側を表と称し、筺体22の内部側を裏と称する)の上方部(図1A中上方左側部)から所定距離だけ離間して、ユーザを撮影するためのCCD(Charge Coupled Device)カメラ14が設けられており、CCDカメラ14の図1A中右側に、ハーフミラー13が設けられており、ハーフミラー13の下方に、CRT(Cathode-Ray Tude)等よりなる表示装置15が設けられており、また、表示装置15の下方に、主制御装置19が設けられている。
【0051】
表示装置15は、主制御装置19の制御に基づいて、CCDカメラ14により撮影された画像や、画像プリントの作成および印刷処理の進行段階に応じた種々のメッセージ等を表示する。
【0052】
ハーフミラー13は、表示装置15に表示された画像を反射させて、ユーザに視認させる。即ち、画像印刷装置1の筺体22の正面22aの上方中央部には、表示部位20が設けられており、この表示部位20に、上述したハーフミラー13により反射された画像(表示装置15に表示された画像)が表示される。また、ハーフミラー13は、撮影時にユーザ(撮影範囲の空間)の画像を透過させて、CCDカメラ14に撮影させる。
【0053】
主制御装置19は、例えば、パーソナルコンピュータ等より構成されており、CCDカメラ14を制御してユーザを撮影させ、その画像を取得し、取得した画像に所定の画像処理(例えば、後述する図4の合成画像生成・表示処理等)を施し、上述したように、表示装置15に表示させる。
【0054】
また、主制御装置19は、画像印刷装置1の全体の動作を制御する。
【0055】
例えば、画像印刷装置1の筐体22の正面22aには、表示部位20の両側に、照明装置12が設けられており、主制御装置19は、この照明装置12を制御する。即ち、照明装置12は、主制御装置19の制御に基づいて、CCDカメラ14によりユーザが撮影される場合、フラッシュとして機能するとともに、幕11により外光が遮断されて内部が暗くなるため、撮影前の状態においてもユーザを照明する。
【0056】
さらに、画像印刷装置1の筐体22の正面22aには、表示部位20の下方に、OKボタン16a、NOボタン16b、およびジョイスティック16c等からなる入力部16が設けられており、主制御装置19は、この入力部16から入力される信号を認識して、それに対応する様々な処理を実行する。
【0057】
例えば、主制御装置19は、画像プリントの作成および印刷処理の進行段階に応じて、種々のメッセージ等を表示装置15(表示部位20)に表示させ、表示されたメッセージ等に従ってユーザが入力部16を操作すると、その操作を認識し(入力部16からの信号を認識し)、それに伴う制御を実行する。これにより撮影手順が進行されていく。
【0058】
また、画像印刷装置1の筐体22の正面22aには、入力部16の図1B中右側下方に、硬貨投入口28が設けられており、硬貨投入口28の裏側(筺体22の内部)には、代金処理部17が設けられており、主制御装置19は、この代金処理部17を制御する。
【0059】
即ち、代金処理部17は、主制御装置19の制御に基づいて、硬貨投入口28から投入された硬貨を検知するとともに、投入された硬貨の総金額を演算し、演算した金額が画像の作成代金として予め設定されている所定の金額に達したと判定した場合、それを主制御装置19に通知する。主制御装置19は、この代金処理部17からの通知に基づいて、上述した撮影手順を開始する。
【0060】
なお、図示はしないが、必要に応じて、釣り銭が返却される返却口、および紙幣が挿入される紙幣挿入口が、硬貨投入口28の近辺に設けられる。この場合、代金処理部17は、主制御装置19の制御に基づいて、紙幣の検出、および釣り銭の演算といった処理を実行する。
【0061】
さらに、画像印刷装置1の筐体22の正面22aの下方(図1B中硬貨投入口28の左下側)には、写真排出口21が設けられており、写真排出口21の裏側(筺体22の内部)には、プリンタ18が設けられており、主制御装置19は、このプリンタ18を制御する。
【0062】
即ち、プリンタ18は、主制御装置19の制御に基づいて画像シールを作成する部分であり、CCDカメラ14により撮影され、所定の画像処理(後述する、各種の合成処理等)が施された後の画像(プリントすべきとして確定した画像、以下、印刷画像と称する)を、プリンタ18の上に設けられているシール紙ユニット23から供給されるシールシート(以下、シール紙25とも称する)などに印刷し、出力する。プリンタ18は、ユーザが選択した印刷画像を、指定された分割単位のシール紙25上に印刷する。なお、ユーザは、1枚のシール紙25上に、数種類のプリント画像を選択して印刷させることができる。
【0063】
また、プリンタ18の上には、IDタグリーダ/ライタ26が設けられており、IDタグリーダ/ライタ26は、シール紙ユニット25に付されているIDタグ24を読み取り、主制御装置19に通知する。主制御装置19は、IDタグリーダ/ライタ26より通知されたIDを、予め主制御装置19内部(例えば、後述するROM32)に記憶しているIDと照合することにより、シール紙ユニット23に収納されているシール紙25が、画像印刷装置1が使用するシール紙として適当なシール紙であるか否かを判定し、画像印刷装置1を使用可能、または使用不可能にする。
【0064】
即ち、IDタグ24に書き込まれたIDと、予め主制御装置19に記憶しているIDが一致した場合、主制御装置19は、画像印刷装置1を使用可能にし、一方、IDタグ24に書き込まれたIDと、予め主制御装置19に記憶しているIDが一致しなかった場合、主制御装置19は、画像印刷装置1を使用不可能にする。
【0065】
シール紙ユニット23は、画像印刷装置1から着脱可能になっており、内部にシール紙25を装填し、また、IDタグリーダ/ライタ26がIDを読み取り可能な所定の位置に、IDタグ24が付されている。シール紙ユニット23に付されているIDタグ24には、装填されているシール紙25の種類に対応するIDが書き込まれている。
【0066】
画像印刷装置の機種により、専用のシール紙がある。そのため、従来、画像印刷装置に適合しないシール紙(他の機種用のシール紙)を、画像印刷装置に装填してしまうというミスがあった。そこで、このように、画像印刷装置1専用のシールシートを識別する識別手段を備えることにより、画像印刷装置1に専用のシールシートを識別してプリントすることが可能となる。即ち、シールシートの台紙、または、台紙を収納するカートリッジ等に、バーコード、または、IDタグなどを備え、専用のものか否かを識別可能にする。これにより、良質のシールが限定的に使用でき、良いプリントの仕上がりが維持できる。
【0067】
図2は、図1の画像印刷装置1の内部の構成例を示すブロック図である。図1において説明した部分については、その説明は省略する。
【0068】
図2の主制御装置19において、CPU(Central Processing Unit)31、ROM(Read Only Memory)32、およびRAM(Random Access Memory)33は、バス35に接続されている。
【0069】
CPU31は、ROM32に記憶されているプログラム、または記憶部37からRAM33にロードされたプログラムに従って、主制御装置19の全体の動作を、バス35を介して制御する。RAM33にはまた、CPU31が各種の処理を実行する上において必要なデータなどが適宜記憶される。また、CPU31は、その内部にタイマ(システムクロック)31aを有しており、このタイマ31aは、常時計時動作を行っている。
【0070】
即ち、上述した主制御装置19により制御される各種の動作は、実際には、主制御装置19に内蔵されているCPU31により制御される。
【0071】
例えば、バス35にはまたCCDカメラ制御部34が接続されており、CPU31は、バス35を介してCCDカメラ制御部34を制御する。即ち、CCDカメラ制御部34は、外部(主制御装置19から見て外部)のCCDカメラ14に接続されており、CPU31の制御に基づいて、CCDカメラ14による撮影動作を開始させたり、終了させたりする他、CCDカメラ14のズーム率、取り込む光量などを適宜制御する。
【0072】
また、バス35には、入出力インタフェース36も接続されており、入出力インタフェース36には、上述した外部(主制御装置19から見て外部)のCCDカメラ14および表示装置15が接続されている。これにより、CPU31は、CCDカメラ14により撮影された画像を、入出力インタフェース36およびバス35を介して取得し、取得した画像に所定の画像処理を施し、バス35および入出力インタフェース36を介して表示装置15に表示させる。
【0073】
さらに、入出力インタフェース36には、上述した外部(主制御装置19から見て外部)の照明装置12、入力部16、代金処理部17、プリンタ18、およびIDタグリーダ/ライタ26が接続されている。これにより、CPU31は、これらの照明装置12、代金処理部17、およびプリンタ18を、入出力インタフェース36およびバス35を介して制御するとともに、また、入力部16またはIDタグリーダ/ライタ26より入出力インタフェース36およびバス35を介して入力された信号に基づいて、様々な動作を制御する。なお、これらのCPU31の制御については、主制御装置19の制御として上述したものと同様であるので、その説明は省略する。
【0074】
入出力インタフェース36にはまた、ハードディスクなどより構成される記憶部37、モデム、ターミナルアダプタなどより構成される通信部38が接続されている。通信部38は、ネットワークを介しての通信処理を行う。
【0075】
入出力インタフェース36にはまた、必要に応じてドライブ39が接続され、磁気ディスク51、光ディスク52、光磁気ディスク53、或いは半導体メモリ54などが適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて記憶部37にインストールされる。
【0076】
次に、図3のフローチャートを参照して、図1の画像印刷装置1の処理を説明する。
【0077】
ステップS11において、主制御装置19のCPU31は、硬貨が投入されたか否かを、代金処理部17が硬貨を検知したか否かにより判定する。
【0078】
ステップS11において、硬貨が投入されていないと判定された場合、ステップS11に戻り、CPU31は、硬貨が投入されたか否かを再度判定する。即ち、硬貨が投入されるまで、CPU31は、その処理を待機する。
【0079】
いま、ユーザが硬貨投入口28に所定の金額の硬貨を投入したものとする。
【0080】
そこで、ステップS11において、CPU31は、硬貨が投入されたと判定し、ステップS12において、CCDカメラ14は、CPU31の制御に基づいて、撮影範囲内の空間の撮影を開始する。
【0081】
この例においては、CCDカメラ14は、撮影範囲内の空間を連続して撮影するものとする。即ち、CCDカメラ制御部34は、CPU31の制御に基づいて、デジタルスチルカメラを構成するCCDカメラ14に、撮影範囲内の空間を連続的に撮影させるように制御する。
【0082】
以下、このような「連続して撮影する」ことを、「モニタする」と称し、「今モニタしている画像」を、以下、「モニタ画像」と称する。
【0083】
即ち、ステップS12の処理が終了された後(後述するステップS23の処理が実行されるまで)、CCDカメラ14は、撮影範囲内にいるユーザを常時モニタする。
【0084】
ステップS13において、CPU31は、装飾画像と装飾様式を設定する。
【0085】
具体的には、CPU31は、予め記憶部37に記憶されている複数の装飾画像(例えば、後述する図7のパンダの装飾画像74等)、および複数の装飾様式(例えば、後述する図5の装飾様式テーブル61の各「装飾ID N」の装飾パターン61-Nを構成する各装飾様式)のサンプルを、表示装置15(表示部位20)に表示させる。
【0086】
なお、装飾様式のサンプルとして、装飾様式テーブル61の各「装飾ID N」の装飾パターン61-Nをそのまま表示させてもよいが、各「装飾ID N」の装飾パターン61-Nに基づいて画像処理された所定の装飾画像を表示させてもよい。
【0087】
この例においては、ユーザは、表示部位20に表示された複数の装飾画像および複数の装飾様式のサンプルから、所望の装飾画像および装飾様式を、例えば、ジョイスティック16cを操作して選択し、選択が終了した旨の操作として、例えば、OKボタン16aを操作するものとする。
【0088】
いま、例えば、装飾画像として、パンダの装飾画像74が選択され、装飾様式として、装飾様式テーブル61のうち、「装飾ID 1」の装飾パターン61-1がユーザにより選択されたとする。
【0089】
そこで、CPU31は、ジョイスティック16cより供給されてくる装飾画像(パンダの装飾画像74)に対応する信号、および装飾様式(「装飾ID 1」の装飾パターン61-1)に対応する信号を入力し、それらを設定予定の装飾画像および装飾様式としてRAM33に記憶させる。
【0090】
さらに、OKボタン16aがユーザにより押下されると、CPU31は、OKボタン16aより供給されてくる信号を入力し、これによりユーザが装飾画像および装飾様式を選択したと判定し、いまRAM33に記憶されている設定予定の装飾画像および装飾様式を、最終的な装飾画像および装飾様式として設定する。
【0091】
即ち、この例では、装飾画像として、パンダの装飾画像74が設定され、また装飾様式として、「装飾ID 1」の装飾パターン61-1が設定される。
【0092】
このように、ユーザは、表示部位20を見ながら所望のデザインを容易に選択することができる。
【0093】
なお、ステップS13の処理の後、CPU31は、選択された装飾画像および装飾様式を表示装置15(表示部位20)に表示させるとともに、ユーザに対して、装飾画像および装飾様式の選択をやり直すか否かのメッセージ(例えば、「これ(表示されている装飾画像および装飾様式)でいいですか? よければOKボタンを、やり直す場合NOボタンを押してください」といったメッセージ)を表示させてもよい。
【0094】
その場合、ユーザは、入力部16を操作して、やり直す旨の信号またはやり直さない旨の信号を画像印刷装置1に供給する(例えば、やり直す場合、NOボタン16bを押下し、一方やり直さない場合、YESボタン16aを押下する)。画像印刷装置1(CPU31)は、その供給された信号に基づいて、やり直すか否かを判定し、やり直すと判定した場合、ステップS13を繰り返す。一方、やり直さないと判定された場合、ステップS14に進む。
【0095】
また、この例では、予め設定されている(予め記憶部37に記憶されている)装飾様式テーブル61から1つの「装飾ID N」の装飾パターン(複数の装飾様式の集合体)61-Nをユーザに選択させることで、複数の装飾様式(例えば、各「装飾ID N」の装飾パターン61-Nを構成している装飾画像のサイズ、回転角度、透明度、または、移動方向/ステップ等)を設定するようにしているが、各装飾様式毎に独立して選択させるようにしてもよい。これにより、ユーザは、さらに細かい選択をすることが可能となり、より満足度の高い画像を取得することができる。
【0096】
ステップS14において、CPU31は、選択された装飾画像(この例では、パンダの装飾画像74)、および装飾様式(この例では、「装飾ID 1」の装飾パターン61-1)を、記憶部37より読み出し、RAM33に記憶させ、ステップS15において、読み出された装飾様式に従って、読み出された装飾画像を加工する(画像処理する)。
【0097】
例えば、この例では、装飾画像74は、「装飾ID 1」の装飾パターン61-1に記載されているサイズ、即ち幅40ピクセルで高さ50ピクセルのサイズに縮小される。
【0098】
なお、サイズの変更方法は、限定されないが、例えば、縮小比率に応じてドットを削減する方法、即ち間引き法、バイリニア法、またはバイキュービック法などが使用されるとよい。
【0099】
また、この例では、「装飾ID 1」の装飾パターン61-1に記載されている回転角度は0度であるので、装飾画像74は0度回転させられる(回転させられない)。
【0100】
なお、回転方法は、限定されないが、例えば、下式(1)のようなアフィン変換が使用されるとよい。
【0101】
【数1】

Figure 0004621396
【0102】
ただし、(x_New、y_New)は、回転処理後の装飾画像74の各画素の座標を示しており、一方、(x、y)は、回転処理前の装飾画像74の各画素の座標を示している。また、thは回転角度[Radian]を示している。
【0103】
なお、設定される回転角度は限定されないが、例えば、90[度]の倍数に設定されるとよい。その場合(thとして、90[度](π/2[Radian])の倍数に設定された場合)、上式(1)の変換行列の各要素は、1、0、または−1のいずれかの値になり、その回転処理に係る演算量を減少させることができる。即ち、CPU31の処理能力を必要以上に高くする必要がなくなり、製造者は、画像処理装置1の主制御装置19のコストを削減することができる(処理能力の低いCPU31が搭載された主制御装置19を採用することができる)。
【0104】
さらに、この例では、「装飾ID 1」の装飾パターン61-1により、「カラー」、および透明度「30%」(透明度0%は、不透明(下地が透けない)とされるものとする)が規定されているので、装飾画像74は、透明度30%のカラー画像に加工される。
【0105】
ステップS16において、CPU31は、CCDカメラ14によりモニタされているモニタ画像を1枚取得し、取得されたモニタ画像からユーザの画像を抽出し、抽出されたユーザの画像と予め用意されている下地画像とを合成して第1の合成画像を生成する。
【0106】
また、CPU31は、抽出されたユーザの画像の輪郭を検出し、検出されたユーザの画像の輪郭上の所定の位置に、ステップS13の処理で設定されるとともに、ステップS15の処理で加工された装飾画像を配置し、配置された装飾画像と、第1の合成画像とを合成して、第2の合成画像を生成し、それを表示装置15(表示部位20)に表示させる。
【0107】
即ち、CPU31は、ステップS16において、ユーザの画像の輪郭(例えば、手や肩等)に例えばパンダや小鳥等の装飾画像が貼り付けられた個性に富む画像(第2の合成画像)を生成し、表示装置15(表示部位20)表示させることができる。
【0108】
このステップS16における処理を、ここでは、「合成画像生成処理・表示処理」と称する。この例の「合成画像生成処理・表示処理」の詳細が、図4に示されている。そこで、この例の「合成画像生成処理・表示処理」を、図4を参照して説明する。
【0109】
即ち、ステップS31において、CPU31は、内蔵するタイマ31aにより計時された時刻を取得し、取得された時刻に基づいて、予め設定されている所定のサンプリングタイムの時間が経過したか否かを判定する。
【0110】
ステップS31において、所定のサンプリングタイムの時間が経過していないと判定された場合、ステップS31に戻り、CPU31は、再度、所定のサンプリングタイムの時間が経過したか否かを判定する。即ち、CPU31は、所定のサンプリングタイムの時間が経過するまで、その処理を待機する。
【0111】
ステップS31において、所定のサンプリングタイムの時間が経過したと判定された場合、ステップS32において、CPU31は、CCDカメラ14によりモニタされている撮影範囲内のモニタ画像を1枚取得し、RAM33に記憶させる。
【0112】
ステップS33において、CPU31は、取得されたモニタ画像のうち、ユーザの画像を抽出する。この抽出方法は限定されないが、この例においては、例えば、以下のような方法でユーザの画像を抽出するものとする。
【0113】
即ち、例えば、幕11の色が青色であったとすると、取得されたモニタ画像のうち、ユーザの画像以外の部分(以下、背景部分と称する)の画像は、ほぼ青色の無地の画像となっている。そこで、CPU31は、取得されたモニタ画像の各画素データ毎に、青色成分が所定のレベル以上含まれているか否かを判定し、含まれていると判定した場合、その画素は背景部分であると認定し、一方、含まれていないと判定した場合、その画素はユーザ部分であると認定する。
【0114】
ステップS34において、CPU31は、このようにして抽出されたユーザの画像と、予め設定されている下地画像とを合成して、第1の合成画像を生成する。
【0115】
この例においては、下地画像は、図3のステップS13の処理で設定された装飾様式、即ち、装飾様式テーブル61に規定されており、これに規定されている画像が下地画像として採用される。具体的には、「装飾ID 1」の装飾パターン61-1が設定されているので、これに規定されている下地画像「Fyab001.BMP」が使用される。
【0116】
従って、CPU31は、図6に示されるように、下地画像(Fyab001.BMP)72とユーザ画像71とを合成して、第1の合成画像73を生成する。
【0117】
ステップS35において、ステップS33の処理で抽出されたユーザの画像と背景部分の画像との境界、即ち、ユーザの画像の輪郭を検出する。
【0118】
なお、ユーザの画像の輪郭を検出する場合に基になる画像として、下地画像72が合成される前のユーザ画像71、または第1の合成画像73のうち、いずれの画像が使用されてもよいが、この例においては、第1の合成画像が使用されるものとする。
【0119】
また、検出方法は限定されないが、この例においては、例えば、CPU31は、輪郭を検出する基準となる検出座標enを複数個設定し、この検出座標enに基づいて、背景部分からユーザ部分に変わる点(以下、輪郭点anと称する)を検出するものとする。
【0120】
さらに、この例においては、1点は1画素に相当するものとされる。即ち、画像の左上端を原点(0,0)とした場合、座標(x、y)とは、画像の左上端(原点)から、右方向(以下、x方向と称する)にxドット、および下方向(以下、y方向と称する)にyドットだけ離れた位置にある画素の座標とされる。
【0121】
具体的には、図6に示されるように、CPU31は、図3のステップS13の処理で設定された装飾様式、即ち、「装飾ID 1」の装飾パターン61-1に規定されている始点座標(10,0)を、最初(1番目)の検出座標e1として設定し、この1番目の検出座標e1から、「装飾ID 1」の装飾パターン61-1に規定されている移動方向(x方向)に移動ステップ(100ドット)だけ移動させた座標(110,0)を、次(2番目)の検出座標e2として設定する。3番目以降の検出座標enは、2番目の検出座標e2と同様な方法で設定される。
【0122】
即ち、n番目の検出座標enは、n-1番目の座標en-1を、「装飾ID 1」の装飾パターン61-1に規定されている移動方向(x方向)に移動ステップ(100ドット)だけ移動させた座標となる。
【0123】
従って、1番目の検出座標e1は、始点座標(10、0)に、2番目の検出座標e2は、座標(110、0)に、3番目の検出座標e3は、座標(210、0)に、4番目の検出座標e4は、座標(310、0)に、また5番目の検出座標e5は、座標(410、0)に、それぞれ設定される。
【0124】
次に、CPU31は、設定された検出座標e1乃至e5の順番で検出の対象となる検出座標ek(kは、1乃5のうちいずれかの値)を更新し、更新された検出座標ekから、y方向(移動方向(x方向)に対して垂直方向)に画素を走査し、背景部分の画素からユーザ部分の画素に変わる画素を検出し、この画素を輪郭点akとしてRAM33に記憶させる。
【0125】
即ち、CPU31は、検出座標ekを、前回の検出座標ek-1から移動方向(x方向)に移動距離(100ドット)だけ移動させながら、それぞれの検出座標ekに対応するユーザの画像の輪郭点akを検出していく。
【0126】
具体的には、図6に示されるように、ユーザの画像の輪郭として、輪郭点a1(10、y1)、輪郭点a2(110、y2)、輪郭点a3(210、y3)、輪郭点a4(310、y4)、および輪郭点a5(410、y5)がそれぞれ検出される。
【0127】
なお、この例においては、ユーザの画像の輪郭が検出される場合、第1の合成画像73が基にされたが、上述したように、下地画像72が合成される前のユーザ画像(第1の合成画像73と同一サイズの画像)61が基にされてもよい。その場合、基になるユーザ画像71のうち、ユーザ以外の部分、即ち、背景部分の画像は黒色の無地の画像であるので、CPU31は、より簡単にユーザの画像の輪郭を検出することができる。即ち、CPU31は、黒の画素(R、G、およびB成分とも0である画素)から、ユーザの部分の画素(黒でない画素)に変化する点(画素)を検出すればよい。
【0128】
ステップS36において、図3のステップS13の処理で設定されるとともに、かつステップS15の処理で加工された装飾画像、即ち加工された装飾画像74を配置させる場合に基準となる配置座標を演算する。
【0129】
この演算方法は限定されないが、例えば、ステップS35の処理で検出された輪郭点a1乃至a5のうち、所定の1点を配置座標として選択して、その座標を演算する(ただし、この例においては、既に輪郭点a1乃至a5は演算されているので、単に選択するだけでよい)。
【0130】
なお、この例においては、配置座標の初期設定は輪郭点a1とされ、その後、このステップS36の処理が行われる毎(合成画像生成・表示処理が行われる毎)に、選択される配置座標として、前回選択された輪郭点an-1の次の輪郭点anが選択される。
【0131】
ステップS37において、CPU31は、装飾画像74を、第1の合成画像73の配置座標に対応する位置に配置する。
【0132】
例えば、配置座標として輪郭点a1(10、y1)が選択されている場合、図7に示されるように、装飾画像74は、その左上端の点b1のx座標が配置座標(輪郭点a1)のx座標(10)に一致するとともに、その右下端の点b2のy座標が配置座標(輪郭点a1)のy座標(y1)に一致するように、第1の合成画像73の上に配置される。
【0133】
即ち、装飾画像74のサイズは、高さが50ドットであり、また幅が40ドットであるので、装飾画像74は、点b1の座標が(10、y1-50)となり、また点b2の座標が(50(10+40)、y1)となるように、第1の合成画像73の上に配置される。
【0134】
ステップS38において、CPU31は、配置された装飾画像74と第1の合成画像73とを合成して、図7に示されるような第2の合成画像75(ただし、装飾画像74は、ステップ37の処理で配置された位置にある1つの画像のみ)を生成し、RAM33に記憶させ、ステップS39において、それを表示装置15(表示部位20)に表示させる。
【0135】
図3に戻り、ステップS17において、CPU31は、印刷画像(プリンタ18に印刷させる画像)の確定指示があったか否かを判定する。
【0136】
例えば、この例においては、上述した図4のステップS39において、CPU31は、第2の合成画像75を表示装置15(表示部位20)に表示させるとともに、印刷画像の確定指示をユーザに促す旨のメッセージ(例えば、「OKボタンを押すと、撮影を開始するよ」といったメッセージ)を表示させる。
【0137】
そこで、ユーザがこのメッセージに従って入力部16を操作し、これにより、印刷画像の確定指示に対応する信号が、CPU31に入力された場合(例えば、ユーザによりOKボタン16aが押下された場合)、CPU31は、印刷画像の確定指示があったと判定し、一方、それ以外の場合、印刷画像の確定指示がないと判定する。
【0138】
ステップS17において、印刷画像の確定指示がないと判定された場合、ステップS16に戻り、それ以降の処理を繰り返す。
【0139】
即ち、ステップS17において、印刷画像の確定指示があったと判定されるまで(ユーザによりOKボタン16aが押下されるまで)、ステップS16の処理(合成画像生成・表示処理)を繰り返す。
【0140】
具体的には、CPU31は、所定のサンプリング毎に、CCDカメラ14によりモニタされているユーザの画像を1枚取得し、取得されたユーザの画像に基づいて新たな第1の合成画像73を生成し、また、装飾画像74の配置座標を再演算し、再演算された配置座標に対応する位置に配置された装飾画像74と、いま新たに生成された第1の合成画像73とを合成して、新たな第2の合成画像75を生成し、それを表示させる。
【0141】
即ち、表示装置15(表示部位20)は、所定のサンプリング毎に、新たな第2の合成画像75を表示する(その表示を更新する)。従って、装飾画像74がユーザの動きにリアルタイムに(所定のサンプリングタイムで)追従し、その様子が表示されるので、ユーザは、所望の構図が得られた時点(所望の第2の合成画像75が表示された時点)で印刷画像を確定することができる。
【0142】
さらに、図4のステップS36の処理で選択される(演算される)配置座標は毎回(ステップS16の処理(合成画像生成・表示処理)が行われる毎)変更されるので、撮影時には、装飾画像74が、図7に示されるように、あたかもユーザ画像71の輪郭上に沿って動いているように表示される。
【0143】
従って、装飾画像として、上述した1枚の静止画像である装飾画像74ではなく、例えば、パンダ等が走って転ぶ等のアニメーションを構成する画像群が採用された場合、CPU31は、毎回(ステップS16の処理(合成画像生成・表示処理)が行われる毎)、第1の合成画像73の上に各コマの画像を順々に配置するようにすれば、あたかもパンダ等がユーザの輪郭(例えば、肩や手等)上に沿って走って転ぶといったようなストーリー性のあるアニメーションを、表示装置15(表示部位29)に表示させることができる。
【0144】
このように、画像印刷装置1は、遊戯性のある撮影をすることができる。
【0145】
一方、ステップS17において、印刷画像の確定指示があったと判定された場合(ユーザによりOKボタン16aが押下された場合)、CPU31は、内蔵するタイマ31aよりその時点(OKボタン16aに対応する信号が入力された時点)の時刻を取得し、その時刻を計時開始時刻としてRAM33に記憶させる。
【0146】
そして、ステップS18において、CPU31は、タイマ31aより所定の間隔で時刻を取得し、取得した時刻から計時開始時刻を減算して経過時間を演算し、この経過時間が、予め設定されている所定の時間以内であるか否かを判定することにより、所定の時間が経過したか否かを判定する。また、このとき同時に、CPU31は、所定の時間までの残り時間を演算し(所定の時間から経過時間を減算し)、それを表示装置15(表示部位20)に表示させる(例えば、「残り時間 m(mは、カウントダウンされる値)」といったメッセージを表示させる)。
【0147】
ステップS18において、所定の時間が経過していないと判定された場合、ステップS16に戻り、それ以降の処理を繰り返す。
【0148】
ステップS18において、所定の時間が経過したと判定された場合、ステップS19において、CPU31は、所定時間が経過した旨のメッセージ(例えば、「残り時間 0」といったメッセージ)を表示装置15(表示部位20)に表示させ、直前のステップS16の処理で生成された(いま表示装置15(表示部位20)に表示されている)第2の合成画像75を、印刷画像として確定するとともに、いま確定された印刷画像(第2の合成画像75)を印刷してよいか否かをユーザに対して問う旨のメッセージ(例えば、「これでいい? これでいい場合は、OKボタンを押して。やり直す場合は、NOボタンを押して」といったメッセージ等)を表示装置15(表示部位20)に表示させる。
【0149】
ユーザは、この表示されたメッセージに従って、入力部16を操作して、いま確定された印刷画像(第2の合成画像75)を印刷してよいか否かを選択する。
【0150】
例えば、いま確定された印刷画像を印刷してよい旨の信号が入力された場合(例えば、ユーザによりYESボタン16aが押下された場合)、およびある一定の時間(ステップS18の処理とは別の所定の時間)が経過された時点で何の信号も入力されなかった場合(ユーザが、何も操作しなかった場合)、ステップS20において、CPU31は、印刷画像を変更する指示がなかったと判定する。
【0151】
一方、いま確定された第2の合成画像を印刷しない旨の信号が入力された場合(例えば、ユーザによりNOボタン16bが押下された場合)、ステップS20において、CPU31は、印刷画像を変更する指示があったと判定する。
【0152】
ステップS20において、印刷画像を変更する指示があったと判定された場合、ステップS16に戻り、CPU31は、それ以降の処理を繰り返す。即ち、ユーザは、ポーズを取り直して、再度印刷画像を選択し直すことができる。
【0153】
ステップS20において、印刷画像を変更する指示がなかったと判定された場合、ステップS21において、プリンタ18は、CPU31の制御に基づいて、ステップS19の処理で確定された印刷画像(第2の合成画像75)をシールシートに印刷する。プリンタ18により印刷されたシールシートは、写真排出口21から排出され、ユーザに提供される。
【0154】
このように、ユーザは、ポーズを決めた後に入力部16を操作し(例えば、OKボタン16aを押下し)、表示装置15(表示部位20)に表示された残り時間を確認しながら最終ポーズをとれば、その最終ポーズで撮影されたユーザの画像(第2の合成画像75)が印刷画像として確定され、それが印刷される。
【0155】
その結果、ユーザは、シャッターを押すためのリモートコントローラ装置等を使用せずに、所望のポーズで撮影された画像を取得することができ、また、製造者は、シャッターを押すためのリモートコントローラ装置等を不要とすることができるため、それに伴うコストを削減することができる。
【0156】
なお、この例においては、ユーザが撮影される回数は1回、即ち印刷されるユーザの画像のポーズは1ポーズに限定して説明したが、その回数は限定されず、複数回数とされてもよい。その場合、例えば、ステップS20の処理が終了された後、CPU31は、撮影回数分の撮影が終了したか否かを判定し、終了していないと判定した場合、直前のステップS19の処理で確定された第2の合成画像75(ユーザの撮影画像)を、印刷画像としてRAM33に記憶させ、ステップS16に戻り、それ以降の処理を繰り返せばよい。一方、終了したと判定された場合、RAM33に記憶されている複数の印刷画像(撮影回数分のそれぞれポーズが異なる第2の合成画像75)を読み出し、これらを、例えば1枚のシールシートに所定の順番で配置させて、プリンタ18に印刷させればよい。
【0157】
印刷画像が印刷されると(ステップS21の処理が終了されると)、CPU31は、ステップS22において、電源スイッチ27がオフされたか否かを判定し、オフされていないと判定した場合、ステップS24において、CCDカメラ14によるモニタを終了させ、ステップS11に戻り、それ以降の処理を繰り返す。即ち、次のユーザにより硬貨が投入されるまで、CPU31は、その処理を待機する。
【0158】
一方、ステップS22において、電源スイッチ27がオフされたと判定された場合、CPU31は、その処理を終了する。
【0159】
ところで、画像印刷装置1の管理者は、画像印刷装置1内に装填しているシールシートがなくなりそうになった場合、新しいシール紙ユニット23に交換することにより、シールシートを補充する。シールシートの補充に際し、画像印刷装置1のCPU31は、シール紙ユニット23に付されているIDタグ24を照合することにより、補充されたシールシートが、画像印刷装置1に適合したものか否かを判別することができる。次に、図8を参照して、シールシート(シール紙25)のID検出処理について説明する。
【0160】
ステップS101において、CPU31は、画像印刷装置1の所定の位置に、シール紙ユニット23が装着されたか否かを監視し、シール紙ユニット23が装着された場合、ステップS102に進む。
【0161】
ステップS102において、CPU31からの指令により、IDタグリーダ/ライタ26は、シール紙ユニット23に付されているIDタグ24のIDを読み取り、CPU31に送信する。
【0162】
ステップS103において、CPU31は、ステップS102の処理でIDタグリーダ/ライタ26より受信したIDと、予めROM32に記憶しているシール紙IDを照合し、両IDが同一であった場合、ステップS104に進み、CPU31は、表示装置15(表示部位20)に、画像印刷装置1が使用可能である旨のメッセージを表示させる。
【0163】
ステップS105において、CPU31は、画像印刷装置1を通常の撮影可能な状態(図3のステップS11の状態)に復帰させる。
【0164】
ステップS103において、CPU31が、IDタグリーダ/ライタ26より受信したIDと、予めROM22に記憶しているシール紙IDが一致しないと判定した場合、ステップS106に進み、CPU31は、表示装置15(表示部位20)に、画像印刷装置1が使用不可能(撮影不可能)である旨のメッセージを表示させる。
【0165】
ステップS107において、CPU31は、画像印刷装置1が使用不可能(撮影不可能)に設定する。その方法としては、例えば、硬貨投入口28から硬貨を投入されないように、硬貨投入口28にシャッタを下ろすことなどが可能である。
【0166】
なお、本実施の形態においては、シール紙ユニット23にIDタグ24を付すようにしたが、シール紙ユニット23に装填されているシール紙25の種類を識別することが可能であれば、その他の方法により、シール紙25を識別するようにしても構わない。
【0167】
例えば、IDタグ24の代わりに、バーコード、ICカード等の方法を用いて、シール紙ユニット23を識別するようにしてもよい。また、シール紙ユニット23の画像印刷装置1への装着部分の形状を、画像印刷装置1の機種毎に異なるものにし、適合するシール紙ユニット23だけ、画像印刷装置1に装着可能なようにしても良い。
【0168】
また、シール紙25とシール紙ユニット23を分離可能に構成することも可能であり、また、一体的に構成することも可能である。
【0169】
(第2実施形態)
図9は、本発明の第2実施形態が適用される画像印刷装置81の構成例を表しており、図1の画像印刷装置1に対応する部分には、対応する符号が付してある。
【0170】
この構成例においては、表示部位20の上部に積層されるタッチパネル16eが設けられている。
【0171】
即ち、上述したように、表示部位20には、ハーフミラー13により反射された画像(表示装置15に表示された画像)、例えば、CCDカメラ14により撮影された画像と編集イメージとが重ねられて表示される。従って、ユーザが落書きなどを入力している最中は、落書きなどが施された撮影画像が、表示部位20に表示される。
【0172】
タッチパネル16eは、スタイラスペン16dからの入力を検出する。即ち、ユーザは、表示部位20に表示された選択ボタン等をスタイラスペン16dを用いて選択したり、表示部位20に表示された撮影画像に対して、その上に落書きなどをしたりする。スタイラスペン16dによる入力データは、タッチパネル16eにより検出され、入力データとして主制御装置19に書き込まれる。
【0173】
その他の構成は、図1における場合と同様である。
【0174】
また、図示は省略するが、画像印刷装置81の内部の構造は、基本的に図2の画像印刷装置1の内部の構造と同様に構成されている。以下の説明では、図2は、画像印刷装置81の内部の構成としても引用される。
【0175】
次に、図10のフローチャートを参照して、図9の画像印刷装置81の処理を説明する。
【0176】
ステップS111において、主制御装置19のCPU31は、硬貨が投入されたか否かを、代金処理部17が硬貨を検知したか否かにより判定する。
【0177】
ステップS111において、硬貨が投入されていないと判定された場合、ステップS111に戻り、CPU31は、硬貨が投入されたか否かを再度判定する。即ち、硬貨が投入されるまで、CPU31は、その処理を待機する。
【0178】
いま、ユーザが硬貨投入口28に所定の金額の硬貨を投入したものとする。
【0179】
そこで、ステップS111において、CPU31は、硬貨が投入されたと判定し、ステップS112において、CCDカメラ14は、CPU31の制御に基づいて、撮影範囲内の空間のモニタを開始する。
【0180】
ステップS113において、CPU31は、第1の合成画像を生成する。
【0181】
即ち、CPU31は、例えば、画像プリントの作成および印刷処理の進行段階に応じて種々のメッセージ等を表示部位20(表示装置15)に表示させ、ユーザにより操作された入力部16(例えば、OKボタン16a、またはNOボタン16b等)から供給される信号を認知し、撮影手順を進行させる。
【0182】
なお、この例においては、撮影手順が進行される場合、OKボタン16a、NOボタン16b、ジョイスティック16c、およびスタイラスペン16d(タッチパネル16e)が利用されるが、スタイラスペン16d(タッチパネル16e)のみが利用されるようにしてもよい。その場合、CPU31は、例えば、画像プリントの作成および印刷処理の進行段階に応じて種々の選択ボタン(ソフトボタン)を表示部位20に表示させ、ユーザに表示された選択ボタンを選択させる(スタイラスペン16dの先端を表示された選択ボタンの上に配置させる)ことで、それを認知し、撮影手順を進行させる。
【0183】
そして、図4のステップS31乃至S34と同様に、CPU31は、所定のサンプリングタイムでモニタ画像を取得し、モニタ画像からユーザの画像を抽出し、抽出したモニタ画像と、ユーザにより選択された下地画像とを合成して第1の合成画像を生成する。
【0184】
ステップS114において、CPU31は、印刷画像(プリンタ18に印刷させる画像)の確定指示があったか否かを判定する。
【0185】
例えば、この例においては、ステップS113において、CPU31は、第1の合成画像を表示部位20に表示させるとともに、印刷画像の確定指示をユーザに促す旨のメッセージ(例えば、「OKボタンを押すと、撮影を開始するよ」といったメッセージ)を表示させる。
【0186】
そこで、ユーザがこのメッセージに従って入力部16を操作し、これにより、印刷画像の確定指示に対応する信号が、CPU31に入力された場合(例えば、ユーザによりOKボタン16aが押下された場合)、CPU31は、印刷画像の確定指示があったと判定し、一方、それ以外の場合、印刷画像の確定指示がないと判定する。
【0187】
ステップS114において、印刷画像の確定指示がないと判定された場合、ステップS113に戻り、それ以降の処理を繰り返す。
【0188】
即ち、ステップS114において、印刷画像の確定指示があったと判定されるまで(ユーザによりOKボタン16aが押下されるまで)、ステップS113の処理を繰り返す。
【0189】
具体的には、CPU31は、所定のサンプリング毎に、CCDカメラ14によりモニタされているユーザの画像を1枚取得し、取得されたユーザの画像に基づいて新たな第1の合成画像を生成し、表示部位20に表示させる。
【0190】
即ち、表示部位20は、所定のサンプリング毎に、新たな第1の合成画像を表示する(その表示を更新する)。従って、ユーザは、所望の構図が得られた時点(所望の第1の合成画像が表示された時点)で印刷画像を確定することができる。
【0191】
一方、ステップS114において、印刷画像の確定指示があったと判定された場合(ユーザによりOKボタン16aが押下された場合)、CPU31は、内蔵するタイマ31aよりその時点(OKボタン16aに対応する信号が入力された時点)の時刻を取得し、その時刻を計時開始時刻としてRAM33に記憶させる。
【0192】
そして、ステップS115において、CPU31は、タイマ31aより所定の間隔で時刻を取得し、取得した時刻から計時開始時刻を減算して経過時間を演算し、この経過時間が、予め設定されている所定の時間以内であるか否かを判定することにより、所定の時間が経過したか否かを判定する。また、このとき同時に、CPU31は、所定の時間までの残り時間を演算し(所定の時間から経過時間を減算し)、それを表示部位20に表示させる(例えば、「残り時間 m(mは、カウントダウンされる値)」といったメッセージを表示させる)。
【0193】
ステップS115において、所定の時間が経過していないと判定された場合、ステップS113に戻り、それ以降の処理を繰り返す。
【0194】
ステップS115において、所定の時間が経過したと判定された場合、ステップS116において、CPU31は、所定時間が経過した旨のメッセージ(例えば、「残り時間 0」といったメッセージ)を表示部位20に表示させ、直前のステップS113の処理で生成された(いま表示部位20に表示されている)第1の合成画像を、印刷画像として確定するとともに、いま確定された印刷画像(第1の合成画像)を印刷してよいか否かをユーザに対して問う旨のメッセージ(例えば、「これでいい? これでいい場合は、OKボタンを押して。やり直す場合は、NOボタンを押して」といったメッセージ等)を表示部位20に表示させる。
【0195】
ユーザは、この表示されたメッセージに従って、入力部16を操作して、いま確定された印刷画像(第1の合成画像)を印刷してよいか否かを選択する。
【0196】
例えば、いま確定された印刷画像を印刷してよい旨の信号が入力された場合(例えば、ユーザによりYESボタン16aが押下された場合)、およびある一定の時間(ステップS115の処理とは別の所定の時間)が経過された時点で何の信号も入力されなかった場合(ユーザが、何も操作しなかった場合)、ステップS117において、CPU31は、印刷画像を変更する指示がなかったと判定する。
【0197】
一方、いま確定された第2の合成画像を印刷しない旨の信号が入力された場合(例えば、ユーザによりNOボタン16bが押下された場合)、ステップS117において、CPU31は、印刷画像を変更する指示があったと判定する。
【0198】
ステップS117において、印刷画像を変更する指示があったと判定された場合、ステップS113に戻り、CPU31は、それ以降の処理を繰り返す。即ち、ユーザは、ポーズを取り直して、再度印刷画像を選択し直すことができる。
【0199】
ステップS117において、印刷画像を変更する指示がなかったと判定された場合、ステップS118において、ユーザに、いま確定した印刷画像(第1の合成画像)に落書きをさせる処理を行う。
【0200】
このステップS118における処理を、ここでは、「落書き処理」と称する。
この例の「落書き処理」の詳細が、図11に示されている。そこで、この例の「落書き処理」を、図11を参照して説明する。
【0201】
なお、以上においては、ユーザが撮影される回数は1回、即ち印刷されるユーザの画像のポーズは1ポーズに限定して説明したが、その回数は限定されず、複数回数とされてもよい。
【0202】
例えば、いま、ユーザが撮影される回数が3回とされた場合、図10のステップS116で1回目の第1の合成画像(1ポーズ目の画像)が印刷画像として確定されると、その1ポーズ目の画像がRAM33に記憶されるとともに、図12の選択画像81aの領域に表示される。その後、再度ステップS113乃至S117が繰り返され、今度は2回目の第1の合成画像(2ポーズ目の画像)が、RAM33に記憶されるとともに、選択画像81bの領域に表示される。同様に、3回目の第1の合成画像(3ポーズ目の画像)が、RAM33に記憶されるとともに、選択画像81cの領域に表示される。
【0203】
そこで、ユーザは、スタイラスペン16dを操作して、選択画像81a乃至81cの領域に表示されている画像のうち、落書きをする画像(編集画像)を選択する。
【0204】
例えば、いま、選択画像81aの領域に図6の第1の合成画像73が表示されており、ユーザがそれを選択した場合、ステップS131において、CPU31は、スタイラスペン16dの先端が選択画像81aの領域に配置されたことを認知し、選択画像81aの領域に表示されている画像(第1の合成画像73)を、編集画像85として確定するとともに、図12に示されるように、表示部位20の中央部に表示させる(このときは、パンダの装飾画像74は表示されない)。
【0205】
ステップS132において、CPU31は、内蔵するタイマ31aよりその時点(ステップS131が終了された時点)の時刻を取得し、その時刻を計時開始時刻としてRAM33に記憶させる。そして、CPU31は、タイマ31aより所定の間隔で時刻を取得し、取得した時刻から計時開始時刻を減算して経過時間を演算し、この経過時間が、予め設定されている制限時間以内であるか否かを判定することにより、制限時間が経過したか否かを判定する。
【0206】
なお、ステップS18の処理と同様に、このとき同時に、CPU31は、所定の時間までの残り時間を演算し(所定の時間から経過時間を減算し)、それを表示部位20に表示させてもよい(例えば、「残り時間 m(mは、カウントダウンされる値)」といったメッセージを表示させてもよい)。
【0207】
ステップS132において、制限時間が経過したと判定された場合、CPU31は、落書き処理を終了し、次のステップ、即ち図10のステップS119に進む。
【0208】
ステップS132において、制限時間が経過していないと判定された場合、ステップS133において、CPU31は、輪郭スタンプが選択されたか否かを判定する。
【0209】
即ち、ユーザは、図12に示される背景スタンプ82a、前景スタンプ82b、および輪郭スタンプ82c領域のうち、所望のスタンプの種類の領域の上にスタイラスペン16d(タッチパネル16e)を配置することにより、いまから利用するスタンプの種類を選択する。
【0210】
なお、この例においては、例えば、上述した装飾画像が、編集画像85(第1の合成画像73)の所定の位置に配置され、表示される(スタンプされる)ことを、単にスタンプと称している。
【0211】
背景スタンプ82aとは、装飾画像の一部(または全部)がユーザ画像の上に重ねられて配置された場合、ユーザ画像に重なる部分は表示されないスタンプである。なお、この場合、図4のステップS35と同様の処理により、ユーザの輪郭が検出され、この検出されたユーザの輪郭に基づいて、装飾画像がユーザの画像に重なっているか否かが判定される。
【0212】
前景スタンプ82bとは、装飾画像が、最前(ユーザの画像、下地画像等の他の画面よりも前)になるように配置されるスタンプ、即ち、装飾画像の全てが表示されるスタンプである。
【0213】
輪郭スタンプ82cとは、上述したように(第1の実施例で説明したように)、図4のステップS35と同様の処理により、ユーザの輪郭が検出され、この検出されたユーザの輪郭上に、装飾画像が配置され、表示されるスタンプである。
【0214】
さて、背景スタンプ82a、および前景スタンプ82bが選択された場合、または、図示はしないが、テキスト挿入等のその他の落書き処理が選択された場合、ステップS133において、CPU31は、輪郭スタンプが選択されていないと判定し、ステップS134において、いま選択された輪郭スタンプ以外の他の落書き処理を実行し、ステップS132に戻り、それ以降の処理を繰り返す。
【0215】
一方、ステップS133において、ユーザにより輪郭スタンプ82cが選択された場合、CPU31は、それを認知し、輪郭スタンプが選択されたと判定し、図4のステップS35の処理と同様に、表示部位20の中央部に表示されている編集画像85のうち、ユーザの輪郭を検出し、検出したユーザの輪郭線71aを点滅させる。
【0216】
ステップS135において、制限時間が経過したと判定された場合、CPU31は、落書き処理を終了し、次のステップ、即ち図10のステップS119に進む。
【0217】
ステップS135において、制限時間が経過していないと判定された場合、ステップS136において、CPU31は、装飾画像(アイテム)が選択されたか否かを判定する。
【0218】
即ち、ステップS133において、輪郭スタンプ82cが選択されたと判定されると、輪郭スタンプ82cに対応する装飾画像が、図12に示されるように、アイテム83の領域に表示される。即ち、例えば、輪郭スタンプ82cに対応する装飾画像として、所定の3画像がROM32等に記憶されていたとすると、CPU31は、それらの画像を読み出し、アイテム83a乃至83cの領域にそれぞれ表示させる。
【0219】
いま、例えば、アイテム83aの領域にパンダの装飾画像74が表示されており、ユーザが、それをスタイラスペン16dにより選択した場合、ステップS136において、CPU31は、スタイラスペン16dの先端がアイテム83aの領域に配置されたことを認知し、いまからスタンプする(編集画像85に配置する)装飾画像(アイテム)が選択されたと判定する。即ち、CPU31は、アイテム83aの領域に表示されている画像(パンダの装飾画像74)を、いまからスタンプする装飾画像として確定する。
【0220】
一方、ステップS136において、装飾画像(アイテム)が選択されていないと判定された場合、ステップS135に戻り、CPU31は、それ以降の処理を繰り返す。即ち、装飾画像が選択されるか、または、制限時間が経過するまで、CPU31は、その処理を待機する。
【0221】
装飾画像が選択されると(ステップS136の処理でYESと判定されると)、ステップS137において、図4のステップS36乃至S38の処理と同様に、CPU31は、装飾画像74を配置させる場合に基準となる配置座標を演算し、装飾画像74を、第1の合成画像73の配置座標に対応する位置に配置し、配置した装飾画像74と編集画像85(第1の合成画像73)とを合成して、図7に示されるような第2の合成画像75(ただし、装飾画像74は、いま演算された配置座標に対応する位置に配置された1つの画像のみ)を生成し、RAM33に記憶させ、ステップS138において、それを表示部位20の中央部(編集画像85が表示されていた領域)に表示させる。
【0222】
ステップS139において、CPU31は、ユーザが確定ボタン84を選択したか否かにより、即ち、スタイラスペン16dの先端が確定ボタン84の上に配置されたか否かを認知することにより、装飾画像74の配置位置が確定されたか否かを判定する。
【0223】
ステップS139において、装飾画像74の配置位置が確定されていないと判定された場合、ステップS135に戻り、それ以降の処理を繰り返す。
【0224】
即ち、例えば、上述したように(第1の実施例と同様に)、ステップS137の処理で選択される(演算される)配置座標は毎回(ステップS137の処理が行われる毎)変更されるようにすれば、落書き処理時には(ユーザが、確定ボタン84を選択するまでは)、装飾画像74が、図12に示されるように、あたかもユーザ画像71の輪郭線71aに沿って動いているように表示される。
【0225】
ステップS139において、装飾画像74の配置位置が確定されたと判定された場合、CPU31は、落書き処理を終了し、次のステップ、即ち図10のステップS119に進む。
【0226】
図10に戻り、ステップS119において、プリンタ18は、CPU31の制御に基づいて、落書き処理(ステップS118の処理)が施された印刷画像(いま、表示部位20の中央部に表示されている画像)をシールシートに印刷する。プリンタ18により印刷されたシールシートは、写真排出口21から排出され、ユーザに提供される。
【0227】
印刷画像が印刷されると(ステップS119の処理が終了されると)、CPU31は、ステップS120において、電源スイッチ27がオフされたか否かを判定し、オフされていないと判定した場合、ステップS121において、CCDカメラ14によるモニタを終了させ、ステップS111に戻り、それ以降の処理を繰り返す。即ち、次のユーザにより硬貨が投入されるまで、CPU31は、その処理を待機する。
【0228】
一方、ステップS120において、電源スイッチ27がオフされたと判定された場合、CPU31は、その処理を終了する。
【0229】
上述した一連の処理を実行させるプログラムは、ネットワークや記録媒体からインストールされる。この記録媒体は、図2に示されるように、装置本体とは別に、画像印刷装置1の所有者等にプログラムを提供するために配布され、ドライブ39に装着される、プログラムが記録されている磁気ディスク51(フロッピディスクを含む)、光ディスク52(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク53(MD(Mini-Disk)を含む)、もしくは半導体メモリ54などよりなるパッケージメディアにより構成されるだけでなく、装置本体に予め組み込まれた状態でユーザに提供される、プログラムが記録されているROM32や、記憶部37に含まれるハードディスクなどで構成される。
【0230】
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0231】
【発明の効果】
以上のごとく、本発明の画像印刷装置および方法、並びにプログラムによれば、撮影された撮影範囲内の画像のうち、ユーザの画像を抽出し、抽出されたユーザの画像と、予め設定されている所定の下地画像とを合成して第1の合成画像を生成する。さらに、抽出されたユーザの画像の輪郭を検出し、生成された第1の合成画像内の、検出されたユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像を配置する。そして、配置された装飾画像と、生成された第1の合成画像とを合成して第2の合成画像を生成し、印刷するようにしたので、遊戯性のある撮影ができるとともに、個性に富んだ画像を容易に提供することができる。
【図面の簡単な説明】
【図1】本発明の第1実施形態が適用される画像印刷装置の構成例の配置を示す図である。
【図2】図1の画像印刷装置の内部の構成例を示すブロック図である。
【図3】図1の画像印刷装置の処理を説明するフローチャートである。
【図4】図3のステップS16の合成画像生成・表示処理の詳細を説明するフローチャートである。
【図5】図1の画像印刷装置において使用される装飾様式テーブルの構成例を示す図である。
【図6】図1の画像印刷装置により生成された第1の合成画像例を示す図である。
【図7】図1の画像印刷装置により生成された第2の合成画像例を示す図である。
【図8】本発明が適用される印刷媒体ユニットが装着された図1の画像印刷装置のID検出処理を説明するフローチャートである。
【図9】本発明の第2実施形態が適用される画像印刷装置の構成例の配置を示す図である。
【図10】図9の画像印刷装置の処理を説明するフローチャートである。
【図11】図10のステップS118の落書き処理の詳細を説明するフローチャートである。
【図12】図10のステップS118の落書き処理において、表示部位に表示される画像例を示す図である。
【符号の説明】
1 画像印刷装置,
14 CCDカメラ,
15 表示装置,
16 入力部,
18 プリンタ,
19 主制御装置,
20 表示部位,
23 シール紙ユニット,
24 IDタグ,
25 シール紙,
26 IDタグリーダ/ライタ,
31 CPU
32 ROM,
33 RAM,
37 記憶部,
39 ドライブ,
61 装飾様式テーブル,
71 ユーザ画像,
72 下地画像,
73 第1の合成画像,
74 装飾画像,
75 第2の合成画像,
an 輪郭点[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image printing apparatus and method, and a program, and more particularly, to an image printing apparatus and method, and a program capable of taking a playable image and easily providing an image rich in individuality. .
[0002]
[Prior art]
2. Description of the Related Art Conventionally, an image printing apparatus (for example, a print club (trademark)) that captures a user, combines the captured image with a predetermined frame, prints the image on a sticker sheet, and outputs the image is known.
[0003]
In such an image printing apparatus, the user selects a desired frame from a plurality of frames (background and foreground) in advance using a menu or the like at the time of shooting, and confirms a composite image in which the selected frame and the user are combined. Then, the shooting position is adjusted, a pose is taken, and a shooting instruction is given (for example, a shooting start button or the like is pressed).
[0004]
[Problems to be solved by the invention]
However, when there is a need to provide a more individual image in the conventional image printing apparatus (for example, when there is a request from a large number of users or when it is desired to differentiate from a counter model) Etc.), it was necessary to increase the amount of frames mounted.
[0005]
That is, for the manufacturer, there are problems such as difficulty in manufacturing a large amount of frames and an increase in cost, and for the user, the complexity of operation when selecting a desired frame from a large amount of frames, There were problems such as difficulty.
[0006]
In addition, an image printing apparatus typified by a print club is required to have a lot of playability due to its nature, but a conventional image printing apparatus simply combines a background (foreground) and a user. There is a problem that the user only needs to check the composite image and shoot it, and it is not interesting at the time of shooting.
[0007]
The present invention has been made in view of such a situation, and is intended to provide an image rich in individuality while allowing shooting with playability.
[0008]
[Means for Solving the Problems]
  An image printing apparatus according to the present invention includes a photographing unit that photographs a user, an extracting unit that extracts a user image among images within a photographing range photographed by the photographing unit, and a user image extracted by the extracting unit. Detection means for detecting an outline, arrangement means for arranging a predetermined decoration image set in advance at a predetermined position on the outline of the user image detected by the detection means, and a decoration image arranged by the arrangement means And printing means for printing the composite image after the composite image with the image within the photographing range photographed by the photographing means is displayed on a predetermined display device;Confirming means for instructing to confirm a composite image to be printed out of the displayed composite images;A predetermined decoration image arranged by the arrangement means from a plurality of decoration images, and as an element of a decoration style of the set predetermined decoration imageYuA predetermined position on the contour of the user's imageDetection coordinates used as a reference for detectingThe moving direction and moving distance are set, and a new image of the user is extracted by the extracting meansAnd the contour of the user's image is extracted by the detection means, and the composite image is displayed with the intersection of the straight line descending from the detected coordinates in the vertical direction and the contour of the user's image as a predetermined position on the contour of the user's image, Next, if there is no confirmation instruction for the composite image to be printed by the confirmation means, the detected coordinates areAccording to the movement direction and distance set as decoration style elementsA predetermined distance in the horizontal directionMovedThe predetermined position on the contour of the user's image.Update sequentiallyRepeat the processIt is characterized by that.
[0009]
  In the image printing apparatus of the present invention, the user image is extracted from the captured images within the shooting range, the contour of the extracted user image is detected, and the predetermined contour on the detected user image is detected. A predetermined decoration image set in advance is arranged at the position of, and a composite image of the arranged decoration image and the image within the photographing range is displayed on a predetermined display device, and then the composite image is printed Is done.Of the displayed composite images, a composite image to be printed is instructed.A predetermined decorative image to be arranged is set from a plurality of decorative images, and as an element of a decoration style of the set predetermined decorative imageYuA predetermined position on the contour of the user's imageWhen the moving direction and moving distance of the detection coordinate serving as a reference for detecting the image are set and a new image of the user is extracted, the contour of the user image is extracted, and the straight line drawn down from the detected coordinate in the vertical direction and the user's When the composite image is displayed with the intersection with the image contour as a predetermined position on the contour of the user image, and the confirmation instruction of the composite image to be printed next is not given, the detected coordinates areAccording to the movement direction and distance set as decoration style elementsA predetermined distance in the horizontal directionMovedAs a result, the predetermined position on the contour of the user's image isSequentially updatedThe process is repeated.
[0010]
Accordingly, it is possible to provide an image rich in individuality in which a decorative image such as a small bird is pasted on the contour (eg, hand or shoulder) of the user's image.
[0011]
The photographing unit is configured by, for example, a CCD (Charge Coupled Device) camera, the extracting unit, the detecting unit, and the arranging unit are configured by, for example, a CPU (Central Processing Unit), and the printing unit is configured by, for example, a printer.
[0012]
  In the image printing apparatus of the present invention, the first synthesized image is generated by synthesizing the user image extracted by the extracting unit and a predetermined base image set in advance.RawThe second synthesized image is generated by synthesizing the first synthesized image and the preset decoration image.And
Placement meansThe secondPlace a decoration image at a predetermined position on the contour of the user's image in one composite imageThe image printing deviceThe first synthesized image and the decoration image arranged by the arranging unit are synthesized to generate a second synthesized image.,LivingThe formed second synthesized image can be printed.
[0013]
Therefore, the user's image is pasted on various background images, and further, a unique image in which a decorative image such as a bird is pasted on the contour (for example, hand or shoulder) of the user's image is provided. can do.
[0015]
  In the image printing apparatus of the present invention, the arranging means is the extracting means.RiyuTheNewA predetermined decoration image can be arranged based on the predetermined position updated each time an image is extracted.
[0016]
Therefore, the decorative image can be reliably and easily arranged at a predetermined position on the contour of the user image.
[0018]
  In the image printing apparatus of the present invention, when it is determined that a predetermined condition is satisfied, a display unit that displays an image, a first display control unit that displays the second composite image on the display unit, and Immediately before or after, the image processing apparatus further includes a confirmation unit that confirms the second composite image displayed on the display unit by the first display control unit as a print image to be printed by the printing unit, and the print image is displayed by the determination unit. The imaging means continuously shoots the user until it is confirmed, the extracting means extracts the user image at a predetermined sampling time, and the first display control means is based on the extracting means.RiyuTheNewEach time an image is extracted, the display of the display means can be updated to the newly generated second composite image.
[0019]
Therefore, the decoration image follows the movement of the user in real time (a predetermined sampling time) and the state is displayed, so that the user determines the image to be printed when a desired composition is obtained. Can do.
[0020]
The display means is constituted by a display device such as a CRT (Cathode-Ray Tude), and the first display control means and the confirmation means are constituted by a CPU, for example.
[0021]
In the image printing apparatus of the present invention, a confirmation signal input means for inputting a signal for confirming a print image, a time measurement means for starting time measurement when a signal is input by the confirmation signal input means, and a time measurement by the time measurement means A second display control means for calculating a remaining time until a predetermined time set in advance based on the calculated time, and displaying the remaining time until the predetermined time calculated on the display means; The determining means may determine that the predetermined condition is satisfied when the predetermined time is measured by the time measuring means.
[0022]
Therefore, after the user determines the pose, for example, the user operates a switch or button (inputs a signal to confirm the image to be printed) and takes the final pose within a predetermined time. The user's image taken at is printed. As a result, the user can obtain an image of a desired pose without using a remote controller device for pressing the shutter, and the manufacturer does not need a remote controller device for pressing the shutter. Therefore, the costs associated therewith can be reduced.
[0023]
The first input means is configured by an input unit including, for example, a switch or a button, the time measuring means is configured by, for example, a timer, and the second display control means is configured by, for example, a CPU.
[0024]
  In the image printing apparatus of the present invention,Can be placed by placement meansStorage means for storing a plurality of decorative images;,Based on the set decoration style, SettingProcessing means for processing the predetermined predetermined decoration image may be further provided, and the arranging means may arrange the predetermined decoration image processed by the processing means.
[0025]
  In addition to the moving direction and the moving distance, the image printing apparatus further includes, as an element of the decoration style,At least one of a plurality of elements including at least the arrangement number, size, rotation angle, and transparency of the decorative image can be set.
[0026]
Therefore, the user can select (set) a desired design while viewing the screen, and can acquire an image rich in individuality that the user himself can satisfy.
[0027]
The storage means is configured by an external storage unit such as a hard disk or a built-in memory such as ROM (Read Only Memory), for example, and the setting means and processing means are configured by a CPU, for example.
[0028]
  Image printing deviceA multiple of 90 degrees can be set as the rotation angle of the decoration image.
[0029]
Accordingly, it is possible to reduce the amount of computation in the decorative image rotation processing, and to reduce the cost of the computation processing unit of the image printing apparatus.
[0031]
Therefore, at the time of shooting, a decorative image such as a small bird is displayed as if it moves along the contour of the user (for example, a shoulder or a hand), so that shooting with playability can be performed.
[0032]
  In the image printing apparatus of the present invention, the storage means further stores a plurality of the decoration styles, and the plurality of decoration images and the plurality of decoration styles stored in the storage means are sampled in the display means. A sample display control means to be displayed, and a signal corresponding to a decoration image and a decoration style selected by the user among a plurality of decoration images and a plurality of decoration style samples displayed on the display means by the sample display control means are input respectively. And a selection signal input means forImage printing deviceThe predetermined decoration image arranged by the arrangement means can be set based on the signal input by the selection signal input means, and the decoration style of the set predetermined decoration image can be set.
[0033]
Therefore, the user can easily select a decoration image and a decoration style.
[0034]
In the image printing apparatus of the present invention, the decoration image is an image group, and the arranging unit selects one image selected according to a predetermined rule from the predetermined image group, at a predetermined position on the contour of the user image. Can be arranged.
[0035]
For example, as an image group, an image group constituting an animation such as a panda running and falling is adopted, and an image corresponding to each frame of the animation is displayed each time according to the order in which each preset frame is displayed. If a different image is selected and placed at a predetermined position on the contour of the user's image (for example, a predetermined position moved at predetermined time intervals as described in claim 8), the image is taken. Sometimes, it is possible to display a story-like animation as if a panda or the like runs along the user's outline (for example, a shoulder or a hand) and falls. Therefore, shooting with playability can be performed.
[0036]
In the image printing apparatus of the present invention, a printing medium on which a second image is printed by the printing means, a reading means for reading identification information for identifying the mounted printing medium, and a reading result by the reading means Based on this, it is possible to further provide print control means for controlling printing on the print medium.
[0037]
The print medium printed by the printing means can be a seal.
[0038]
Therefore, when the seal sheet is replenished to the image printing apparatus, it is definitely possible to replenish the seal sheet designated in advance as dedicated to the image printing apparatus.
[0039]
The reading unit is configured by, for example, an ID tag reader / writer, and the control unit is configured by, for example, a CPU.
[0040]
The print medium unit of the present invention is a print medium unit used by the above-described image printing apparatus, stores a print medium on which a second image is printed by the printing unit, and stores identification information read by the reading unit. It is characterized by holding.
[0041]
  The image printing method of the present invention is extracted by a shooting step of shooting a user, an extraction step of extracting a user image out of images within a shooting range shot by the processing of the shooting step, and processing of the extraction step A detection step for detecting a contour of the user image, a placement step for placing a predetermined decorative image set in advance at a predetermined position on the contour of the user image detected by the processing of the detection step, and a placement step A printing step of printing a composite image after a composite image of the decoration image arranged by the processing of the above and an image within the imaging range captured by the processing of the imaging step is displayed on a predetermined display device;A confirmation step for instructing confirmation of a composite image to be printed out of the displayed composite images;A predetermined decoration image arranged by the processing of the arrangement step is set from a plurality of decoration images, and is used as an element of the decoration style of the set predetermined decoration imageYuA predetermined position on the contour of the user's imageDetection coordinates used as a reference for detectingA new image of the user is extracted by the setting step of setting the moving direction and moving distance of the user and the processing of the extracting stepThen, the contour of the user's image is extracted by the processing of the detection step, and the composite image is displayed with the intersection of the straight line descending from the detected coordinates in the vertical direction and the contour of the user's image as a predetermined position on the contour of the user's image Then, if there is no instruction to confirm the composite image to be printed by the process of the confirmation step, the detected coordinates areAccording to the movement direction and distance set as decoration style elementsA predetermined distance in the horizontal directionMovedThe predetermined position on the contour of the user's image.Update sequentiallyRepeat the processAnd an update step.
[0042]
  The program of the present invention includes a shooting step for shooting a user, an extraction step for extracting a user image from images within the shooting range shot by the processing of the shooting step, and the user extracted by the processing of the extraction step. A detection step for detecting the contour of the image, a placement step for placing a predetermined decorative image set in advance at a predetermined position on the contour of the user image detected by the processing of the detection step, and processing for the placement step A printing step for printing a composite image after a composite image of the decorative image arranged by the image and an image within the photographing range photographed by the processing of the photographing step is displayed on a predetermined display device;A confirmation step for instructing confirmation of a composite image to be printed out of the displayed composite images;A predetermined decoration image arranged by the processing of the arrangement step is set from a plurality of decoration images, and is used as an element of the decoration style of the set predetermined decoration imageYuA predetermined position on the contour of the user's imageDetection coordinates used as a reference for detectingA new image of the user is extracted by the setting step of setting the moving direction and moving distance of the user and the processing of the extracting stepThen, the contour of the user's image is extracted by the processing of the detection step, and the composite image is displayed with the intersection of the straight line descending from the detected coordinates in the vertical direction and the contour of the user's image as a predetermined position on the contour of the user's image Then, if there is no instruction to confirm the composite image to be printed by the process of the confirmation step, the detected coordinates areAccording to the movement direction and distance set as decoration style elementsA predetermined distance in the horizontal directionMovedThe predetermined position on the contour of the user's image.Update sequentiallyRepeat the processAnd an update step.
[0043]
  In the image printing method and program of the present invention, the user image is extracted from the captured images and the contour of the extracted user image is detected. On the detected contour of the user image A predetermined decoration image set in advance is arranged at a predetermined position of the image, and a composite image of the arranged decoration image and the image within the photographing range is displayed on a predetermined display device, and then the composite image Is printed,Of the displayed composite images, a composite image to be printed is instructed.A predetermined decorative image to be arranged is set from a plurality of decorative images, and as an element of a decoration style of the set predetermined decorative imageYuA predetermined position on the contour of the user's imageWhen the moving direction and moving distance of the detection coordinate serving as a reference for detecting the image are set and a new image of the user is extracted, the contour of the user image is extracted, and the straight line drawn down from the detected coordinate in the vertical direction and the user's When the composite image is displayed with the intersection with the image contour as a predetermined position on the contour of the user image, and the confirmation instruction of the composite image to be printed next is not given, the detected coordinates areAccording to the movement direction and distance set as decoration style elementsA predetermined distance in the horizontal directionMovedAs a result, the predetermined position on the contour of the user's image isUpdated sequentiallyThe process is repeated.
[0044]
Accordingly, it is possible to provide an image rich in individuality in which a decorative image such as a small bird is pasted on the contour (eg, hand or shoulder) of the user's image.
[0045]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
A configuration example of the image printing apparatus 1 to which the first embodiment of the present invention is applied will be described with reference to FIGS. 1 and 2.
[0046]
FIG. 1A shows a side sectional view of the image printing apparatus 1, and FIG. 1B shows a front view thereof.
[0047]
The image printing apparatus 1 is disposed in a building such as a street corner or a building, for example.
[0048]
A power switch 27 is provided at the lower part of the rear surface 22b of the housing 22 of the image printing apparatus 1, and its connection terminal is connected to a nearby commercial AC power supply. When the power switch 27 is turned on, the image printing apparatus 1 is started. On the other hand, when the switch is turned off, the operation of the image printing apparatus 1 is finished.
[0049]
The curtain 11 is installed at a position facing the upper portion of the front surface 22a of the casing 22 of the image printing apparatus 1 with a predetermined distance therebetween, and the user enters between the casing 22 and the curtain 11. . That is, a predetermined range of the space between the casing 22 and the curtain 11 is a shooting range, and the image printing apparatus 1 captures an image of a user positioned (entered) in the shooting range. To do. In this case, the curtain 11 blocks light (external light) incident from outside the space in the shooting range.
[0050]
Inside the housing 22 of the image printing apparatus 1, there is an upper portion (the upper left side in FIG. 1A) of the rear surface of the rear surface 22b (hereinafter, the outer side of the housing 22 is referred to as the front and the inner side of the housing 22 is referred to as the back). 1), a CCD (Charge Coupled Device) camera 14 for photographing the user is provided, and a half mirror 13 is provided on the right side of the CCD camera 14 in FIG. 1A. A display device 15 made of CRT (Cathode-Ray Tude) or the like is provided below 13, and a main control device 19 is provided below the display device 15.
[0051]
Under the control of the main control device 19, the display device 15 displays images taken by the CCD camera 14, various messages according to the progress of image print creation and print processing, and the like.
[0052]
The half mirror 13 reflects the image displayed on the display device 15 so that the user can visually recognize the image. That is, the display part 20 is provided in the upper center part of the front surface 22a of the housing 22 of the image printing apparatus 1, and the image reflected on the display part 20 by the half mirror 13 (displayed on the display apparatus 15). Displayed image) is displayed. Further, the half mirror 13 transmits the image of the user (the space in the shooting range) during shooting and causes the CCD camera 14 to take a picture.
[0053]
The main control device 19 is composed of, for example, a personal computer or the like, controls the CCD camera 14 to photograph the user, acquires the image, and performs predetermined image processing (for example, FIG. 4 described later) on the acquired image. Composite image generation / display processing, etc.) and display on the display device 15 as described above.
[0054]
The main control device 19 controls the overall operation of the image printing apparatus 1.
[0055]
For example, the illumination device 12 is provided on both sides of the display part 20 on the front surface 22 a of the housing 22 of the image printing apparatus 1, and the main control device 19 controls the illumination device 12. That is, the illumination device 12 functions as a flash when the user is photographed by the CCD camera 14 based on the control of the main control device 19 and the interior is darkened by the outside light being blocked by the curtain 11. The user is also illuminated in the previous state.
[0056]
Furthermore, an input unit 16 including an OK button 16a, a NO button 16b, a joystick 16c, and the like is provided on the front surface 22a of the housing 22 of the image printing apparatus 1 below the display portion 20, and the main control device 19 is provided. Recognizes the signal input from the input unit 16 and executes various processes corresponding thereto.
[0057]
For example, the main control device 19 displays various messages on the display device 15 (display portion 20) according to the progress of image print creation and print processing, and the user inputs the input unit 16 according to the displayed messages. Is operated, the operation is recognized (a signal from the input unit 16 is recognized), and the control associated therewith is executed. As a result, the photographing procedure proceeds.
[0058]
Further, a coin insertion slot 28 is provided on the front surface 22a of the casing 22 of the image printing apparatus 1 on the lower right side in FIG. 1B of the input unit 16 and on the back side of the coin insertion slot 28 (inside the casing 22). A price processing unit 17 is provided, and the main control device 19 controls the price processing unit 17.
[0059]
That is, the price processing unit 17 detects the coins inserted from the coin insertion slot 28 based on the control of the main control device 19, calculates the total amount of the inserted coins, and the calculated amount is used to create an image. When it is determined that a predetermined amount set in advance as a price has been reached, this is notified to the main controller 19. The main control device 19 starts the imaging procedure described above based on the notification from the price processing unit 17.
[0060]
Although not shown, a return port for returning change and a bill insertion port for inserting bills are provided near the coin insertion port 28 as needed. In this case, the price processing unit 17 performs processing such as bill detection and change calculation based on the control of the main control device 19.
[0061]
Furthermore, a photographic discharge port 21 is provided below the front surface 22a of the casing 22 of the image printing apparatus 1 (lower left side of the coin insertion port 28 in FIG. 1B), and the back side of the photographic discharge port 21 (the housing 22). Inside, a printer 18 is provided, and the main control device 19 controls the printer 18.
[0062]
That is, the printer 18 is a part that creates an image sticker based on the control of the main control device 19 and is photographed by the CCD camera 14 and subjected to predetermined image processing (such as various compositing processes described later). Image (an image determined to be printed, hereinafter referred to as a print image) is used as a seal sheet (hereinafter also referred to as a seal paper 25) supplied from a seal paper unit 23 provided on the printer 18. Print and output. The printer 18 prints the print image selected by the user on the seal paper 25 in the designated division unit. Note that the user can select and print several types of print images on one sticker sheet 25.
[0063]
An ID tag reader / writer 26 is provided on the printer 18, and the ID tag reader / writer 26 reads the ID tag 24 attached to the sticker unit 25 and notifies the main controller 19. The main control device 19 stores the ID notified from the ID tag reader / writer 26 with the ID stored in advance in the main control device 19 (for example, ROM 32 to be described later), and is stored in the sticker unit 23. It is determined whether or not the seal paper 25 being used is a suitable seal paper to be used by the image printing apparatus 1, and the image printing apparatus 1 can be used or disabled.
[0064]
That is, when the ID written in the ID tag 24 matches the ID stored in the main controller 19 in advance, the main controller 19 enables the image printing apparatus 1, while the ID is written in the ID tag 24. If the received ID does not match the ID stored in the main controller 19 in advance, the main controller 19 disables the image printing apparatus 1.
[0065]
The sticker unit 23 is detachable from the image printing apparatus 1. The sticker 25 is loaded inside, and an ID tag 24 is attached at a predetermined position where the ID tag reader / writer 26 can read the ID. Has been. In an ID tag 24 attached to the sticker paper unit 23, an ID corresponding to the type of the sticker paper 25 loaded is written.
[0066]
There are special sticker sheets depending on the model of the image printing device. For this reason, conventionally, there has been a mistake that a sticker paper (sticker paper for other models) that is not compatible with the image printing apparatus is loaded into the image printing apparatus. Thus, by providing the identification means for identifying the seal sheet dedicated to the image printing apparatus 1 as described above, it becomes possible to identify and print the seal sheet dedicated to the image printing apparatus 1. In other words, the seal sheet mount or the cartridge for storing the mount is provided with a barcode, an ID tag, or the like so that it can be identified whether it is a dedicated one. Thereby, a high-quality seal can be used in a limited manner and a good print finish can be maintained.
[0067]
FIG. 2 is a block diagram illustrating an internal configuration example of the image printing apparatus 1 of FIG. The description of the parts described in FIG. 1 is omitted.
[0068]
In the main control device 19 of FIG. 2, a CPU (Central Processing Unit) 31, a ROM (Read Only Memory) 32, and a RAM (Random Access Memory) 33 are connected to a bus 35.
[0069]
The CPU 31 controls the overall operation of the main controller 19 via the bus 35 in accordance with a program stored in the ROM 32 or a program loaded from the storage unit 37 into the RAM 33. The RAM 33 also stores data necessary for the CPU 31 to execute various processes as appropriate. The CPU 31 has a timer (system clock) 31a therein, and the timer 31a performs an operation at the normal time.
[0070]
That is, the various operations controlled by the main control device 19 are actually controlled by the CPU 31 built in the main control device 19.
[0071]
For example, a CCD camera control unit 34 is also connected to the bus 35, and the CPU 31 controls the CCD camera control unit 34 via the bus 35. That is, the CCD camera control unit 34 is connected to an external CCD camera 14 (external as viewed from the main control device 19), and starts or ends the photographing operation by the CCD camera 14 based on the control of the CPU 31. In addition, the zoom rate of the CCD camera 14 and the amount of light to be captured are appropriately controlled.
[0072]
An input / output interface 36 is also connected to the bus 35, and the external CCD camera 14 and the display device 15 described above (external as viewed from the main control device 19) are connected to the input / output interface 36. . As a result, the CPU 31 acquires an image captured by the CCD camera 14 via the input / output interface 36 and the bus 35, performs predetermined image processing on the acquired image, and passes through the bus 35 and the input / output interface 36. It is displayed on the display device 15.
[0073]
The input / output interface 36 is connected to the above-described external lighting device 12 (external when viewed from the main control device 19), the input unit 16, the price processing unit 17, the printer 18, and the ID tag reader / writer 26. . As a result, the CPU 31 controls the illumination device 12, the price processing unit 17, and the printer 18 via the input / output interface 36 and the bus 35, and inputs / outputs from the input unit 16 or the ID tag reader / writer 26. Various operations are controlled based on signals inputted through the interface 36 and the bus 35. Note that the control of the CPU 31 is the same as that described above as the control of the main control device 19, and therefore the description thereof is omitted.
[0074]
Also connected to the input / output interface 36 are a storage unit 37 composed of a hard disk or the like, and a communication unit 38 composed of a modem, a terminal adapter and the like. The communication unit 38 performs communication processing via a network.
[0075]
A drive 39 is connected to the input / output interface 36 as necessary, and a magnetic disk 51, an optical disk 52, a magneto-optical disk 53, a semiconductor memory 54, or the like is appropriately mounted, and a computer program read from these is loaded. Installed in the storage unit 37 as necessary.
[0076]
Next, processing of the image printing apparatus 1 in FIG. 1 will be described with reference to the flowchart in FIG.
[0077]
In step S <b> 11, the CPU 31 of the main controller 19 determines whether or not a coin has been inserted based on whether or not the price processing unit 17 has detected a coin.
[0078]
If it is determined in step S11 that no coin has been inserted, the process returns to step S11, and the CPU 31 determines again whether or not a coin has been inserted. That is, the CPU 31 waits for the processing until coins are inserted.
[0079]
Now, assume that the user has inserted a predetermined amount of coins into the coin insertion slot 28.
[0080]
Therefore, in step S11, the CPU 31 determines that a coin has been inserted, and in step S12, the CCD camera 14 starts photographing a space within the photographing range based on the control of the CPU 31.
[0081]
In this example, it is assumed that the CCD camera 14 continuously shoots a space within the shooting range. That is, the CCD camera control unit 34 controls the CCD camera 14 constituting the digital still camera to continuously shoot the space within the shooting range based on the control of the CPU 31.
[0082]
Hereinafter, such “continuous shooting” is referred to as “monitoring”, and “the image currently being monitored” is hereinafter referred to as “monitor image”.
[0083]
That is, after the process of step S12 is completed (until the process of step S23 described later is executed), the CCD camera 14 constantly monitors the users who are in the shooting range.
[0084]
In step S13, the CPU 31 sets a decoration image and a decoration style.
[0085]
Specifically, the CPU 31 stores a plurality of decoration images (for example, a panda decoration image 74 in FIG. 7 to be described later) and a plurality of decoration styles (for example, FIG. 5 to be described later) stored in the storage unit 37 in advance. A sample of each decoration style constituting the decoration pattern 61-N of each “decoration ID N” in the decoration style table 61 is displayed on the display device 15 (display part 20).
[0086]
In addition, as a sample of the decoration style, the decoration pattern 61-N of each “decoration ID N” of the decoration style table 61 may be displayed as it is, but an image based on the decoration pattern 61-N of each “decoration ID N” The processed predetermined decoration image may be displayed.
[0087]
In this example, the user selects a desired decoration image and decoration style from a plurality of decoration images and a plurality of decoration style samples displayed on the display region 20, for example, by operating the joystick 16c. For example, the OK button 16a is operated as the operation indicating the end.
[0088]
Now, for example, it is assumed that the panda decoration image 74 is selected as the decoration image, and the decoration pattern 61-1 “decoration ID 1” is selected from the decoration style table 61 as the decoration style.
[0089]
Therefore, the CPU 31 inputs a signal corresponding to the decoration image (panda decoration image 74) supplied from the joystick 16c and a signal corresponding to the decoration style (decoration pattern 61-1 of "decoration ID 1"). These are stored in the RAM 33 as a decoration image and a decoration style to be set.
[0090]
Further, when the OK button 16a is pressed by the user, the CPU 31 inputs a signal supplied from the OK button 16a, thereby determining that the user has selected a decoration image and a decoration style, and is now stored in the RAM 33. The decoration image and decoration style to be set are set as the final decoration image and decoration style.
[0091]
That is, in this example, the panda decoration image 74 is set as the decoration image, and the decoration pattern 61-1 of “decoration ID 1” is set as the decoration style.
[0092]
Thus, the user can easily select a desired design while viewing the display part 20.
[0093]
Note that after the process of step S13, the CPU 31 displays the selected decoration image and decoration style on the display device 15 (display part 20), and whether or not to reselect the decoration image and decoration style for the user. May be displayed (for example, a message such as “Is this OK (displayed decoration image and decoration style) displayed? OK button if you want, press NO button if you want to try again”).
[0094]
In that case, the user operates the input unit 16 to supply the image printing apparatus 1 with a signal indicating whether or not to redo (for example, when redoing, when the user presses the NO button 16b and does not redo, Press the YES button 16a). The image printing apparatus 1 (CPU 31) determines whether or not to redo based on the supplied signal, and repeats step S13 when it is determined to redo. On the other hand, if it is determined not to redo, the process proceeds to step S14.
[0095]
In this example, one decoration pattern (collection of a plurality of decoration styles) 61-N of “decoration ID N” is set from the decoration style table 61 that is preset (stored in the storage unit 37 in advance). The user can select a plurality of decoration styles (for example, the size, rotation angle, transparency, or moving direction / step of the decoration image constituting the decoration pattern 61-N of each “decoration ID N”). Although it is set, the selection may be made independently for each decoration style. As a result, the user can make a finer selection, and can acquire an image with higher satisfaction.
[0096]
In step S <b> 14, the CPU 31 stores the selected decoration image (in this example, a panda decoration image 74) and the decoration style (in this example, the decoration pattern 61-1 of “decoration ID 1”) from the storage unit 37. In step S15, the read decoration image is processed (image processing) according to the read decoration style.
[0097]
For example, in this example, the decoration image 74 is reduced to the size described in the decoration pattern 61-1 of “decoration ID 1”, that is, the size of 40 pixels in width and 50 pixels in height.
[0098]
The size changing method is not limited. For example, a method of reducing dots according to a reduction ratio, that is, a thinning method, a bilinear method, a bicubic method, or the like may be used.
[0099]
In this example, since the rotation angle described in the decoration pattern 61-1 of “decoration ID 1” is 0 degrees, the decoration image 74 is rotated by 0 degrees (not rotated).
[0100]
In addition, although the rotation method is not limited, For example, it is good to use affine transformation like the following Formula (1).
[0101]
[Expression 1]
Figure 0004621396
[0102]
However, (x_New, y_New) indicates the coordinates of each pixel of the decoration image 74 after the rotation process, while (x, y) indicates the coordinates of each pixel of the decoration image 74 before the rotation process. Yes. Further, th indicates a rotation angle [Radian].
[0103]
Although the rotation angle to be set is not limited, for example, it may be set to a multiple of 90 [degrees]. In that case (when th is set to a multiple of 90 [degree] (π / 2 [Radian]), each element of the transformation matrix of the above formula (1) is either 1, 0, or −1. And the amount of calculation related to the rotation process can be reduced. That is, it is not necessary to increase the processing capacity of the CPU 31 more than necessary, and the manufacturer can reduce the cost of the main control device 19 of the image processing apparatus 1 (the main control apparatus on which the CPU 31 having a low processing capacity is mounted). 19 can be adopted).
[0104]
Further, in this example, the decoration pattern 61-1 of “decoration ID 1” indicates “color” and transparency “30%” (transparency 0% is opaque (the base is not transparent)). Therefore, the decorative image 74 is processed into a color image with a transparency of 30%.
[0105]
In step S <b> 16, the CPU 31 acquires one monitor image monitored by the CCD camera 14, extracts a user image from the acquired monitor image, extracts the extracted user image and a base image prepared in advance. Are combined to generate a first composite image.
[0106]
Further, the CPU 31 detects the contour of the extracted user image, and is set at a predetermined position on the detected contour of the user image by the process of step S13 and processed by the process of step S15. A decoration image is arranged, the arranged decoration image and the first composite image are combined to generate a second composite image, which is displayed on the display device 15 (display part 20).
[0107]
That is, in step S16, the CPU 31 generates a unique image (second composite image) in which a decorative image such as a panda or a bird is pasted on the contour (eg, hand or shoulder) of the user image. The display device 15 (display part 20) can be displayed.
[0108]
The processing in step S16 is referred to herein as “composite image generation processing / display processing”. Details of the “composite image generation process / display process” in this example are shown in FIG. Therefore, the “composite image generation process / display process” of this example will be described with reference to FIG.
[0109]
That is, in step S31, the CPU 31 acquires the time counted by the built-in timer 31a, and determines whether or not a predetermined sampling time has elapsed based on the acquired time. .
[0110]
If it is determined in step S31 that the predetermined sampling time has not elapsed, the process returns to step S31, and the CPU 31 determines again whether the predetermined sampling time has elapsed. That is, the CPU 31 waits for the processing until a predetermined sampling time elapses.
[0111]
If it is determined in step S31 that the predetermined sampling time has elapsed, in step S32, the CPU 31 acquires one monitor image within the photographing range monitored by the CCD camera 14 and stores it in the RAM 33. .
[0112]
In step S33, the CPU 31 extracts a user image from the acquired monitor images. Although this extraction method is not limited, in this example, for example, the user's image is extracted by the following method.
[0113]
That is, for example, if the color of the curtain 11 is blue, an image of a portion other than the user's image (hereinafter referred to as a background portion) of the acquired monitor image is a substantially blue solid image. Yes. Therefore, the CPU 31 determines whether or not the blue component is included in a predetermined level or more for each pixel data of the acquired monitor image. If it is determined that the blue component is included, the pixel is the background portion. On the other hand, if it is determined that the pixel is not included, the pixel is recognized as a user part.
[0114]
In step S <b> 34, the CPU 31 combines the user image extracted in this way with a preset background image to generate a first combined image.
[0115]
In this example, the background image is defined in the decoration style set in the process of step S13 in FIG. 3, that is, the decoration style table 61, and the image defined therein is adopted as the background image. Specifically, since the decoration pattern 61-1 of “decoration ID 1” is set, the background image “Fyab001.BMP” defined therein is used.
[0116]
Therefore, the CPU 31 synthesizes the base image (Fyab001.BMP) 72 and the user image 71 to generate a first composite image 73 as shown in FIG.
[0117]
In step S35, the boundary between the user image extracted in step S33 and the background image, that is, the contour of the user image is detected.
[0118]
In addition, any image of the user image 71 before the background image 72 is synthesized or the first synthesized image 73 may be used as an image based on detecting the contour of the user image. However, in this example, it is assumed that the first composite image is used.
[0119]
Although the detection method is not limited, in this example, for example, the CPU 31 sets a plurality of detection coordinates en serving as a reference for detecting the contour, and changes from the background portion to the user portion based on the detection coordinates en. A point (hereinafter referred to as contour point an) is detected.
[0120]
Further, in this example, one point corresponds to one pixel. That is, when the upper left end of the image is the origin (0, 0), the coordinates (x, y) are x dots from the upper left end (origin) of the image in the right direction (hereinafter referred to as the x direction), and The coordinates of the pixel located at a position separated by y dots in the downward direction (hereinafter referred to as the y direction) are used.
[0121]
Specifically, as shown in FIG. 6, the CPU 31 sets the starting point coordinates defined in the decoration pattern 61-1 of “decoration ID 1”, which is the decoration style set in the process of step S13 in FIG. (10, 0) is set as the first (first) detection coordinate e1, and from this first detection coordinate e1, the moving direction (x direction) defined in the decoration pattern 61-1 of “decoration ID 1” is set. ), The coordinate (110,0) moved by the moving step (100 dots) is set as the next (second) detected coordinate e2. The third and subsequent detection coordinates en are set in the same manner as the second detection coordinate e2.
[0122]
That is, the nth detection coordinate en is a step (100 dots) in which the n-1th coordinate en-1 is moved in the movement direction (x direction) defined in the decoration pattern 61-1 of “decoration ID 1”. The coordinates will be moved only.
[0123]
Accordingly, the first detected coordinate e1 is the start point coordinate (10, 0), the second detected coordinate e2 is the coordinate (110, 0), and the third detected coordinate e3 is the coordinate (210, 0). The fourth detection coordinate e4 is set to the coordinate (310, 0), and the fifth detection coordinate e5 is set to the coordinate (410, 0).
[0124]
Next, the CPU 31 updates the detection coordinates ek (k is one of 1 to 5) to be detected in the order of the set detection coordinates e1 to e5, and from the updated detection coordinates ek The pixel is scanned in the y direction (perpendicular to the moving direction (x direction)), the pixel that changes from the background portion pixel to the user portion pixel is detected, and this pixel is stored in the RAM 33 as the contour point ak.
[0125]
That is, the CPU 31 moves the detected coordinate ek from the previous detected coordinate ek-1 in the moving direction (x direction) by the moving distance (100 dots), and the contour point of the user image corresponding to each detected coordinate ek. Detect ak.
[0126]
Specifically, as shown in FIG. 6, contour points a1 (10, y1), contour points a2 (110, y2), contour points a3 (210, y3), contour points a4 are used as the contours of the user image. (310, y4) and contour point a5 (410, y5) are respectively detected.
[0127]
In this example, when the contour of the user's image is detected, the first composite image 73 is used as the basis. However, as described above, the user image (first image) before the base image 72 is composited. The image 61 having the same size as the composite image 73 of FIG. In that case, since the portion other than the user, that is, the background portion image in the base user image 71 is a black plain image, the CPU 31 can more easily detect the contour of the user image. . That is, the CPU 31 may detect a point (pixel) that changes from a black pixel (a pixel in which R, G, and B components are all 0) to a pixel of the user (a pixel that is not black).
[0128]
In step S36, the arrangement coordinates that are set in the process of step S13 of FIG. 3 and processed as a decoration image processed in the process of step S15, that is, the processed decoration image 74 are calculated.
[0129]
Although this calculation method is not limited, for example, one of the contour points a1 to a5 detected in the process of step S35 is selected as an arrangement coordinate, and the coordinate is calculated (in this example, however, Since the contour points a1 to a5 have already been calculated, they can simply be selected).
[0130]
In this example, the initial setting of the arrangement coordinates is the contour point a1, and thereafter, every time the process of step S36 is performed (every time the composite image generation / display process is performed), the arrangement coordinates to be selected are selected. The contour point an next to the previously selected contour point an-1 is selected.
[0131]
In step S <b> 37, the CPU 31 arranges the decoration image 74 at a position corresponding to the arrangement coordinates of the first composite image 73.
[0132]
For example, when the contour point a1 (10, y1) is selected as the arrangement coordinate, as shown in FIG. 7, in the decoration image 74, the x coordinate of the upper left point b1 is the arrangement coordinate (contour point a1). Is arranged on the first composite image 73 such that the y coordinate of the lower right point b2 coincides with the y coordinate (y1) of the arrangement coordinate (contour point a1). Is done.
[0133]
That is, since the size of the decoration image 74 is 50 dots in height and 40 dots in width, the coordinates of the point b1 are (10, y1-50) and the coordinates of the point b2 are in the decoration image 74. Is arranged on the first composite image 73 such that (50 (10 + 40), y1).
[0134]
In step S38, the CPU 31 combines the arranged decoration image 74 and the first composite image 73 to generate a second composite image 75 as shown in FIG. Only one image at the position arranged in the process) is generated and stored in the RAM 33, and is displayed on the display device 15 (display part 20) in step S39.
[0135]
Returning to FIG. 3, in step S <b> 17, the CPU 31 determines whether there is an instruction to confirm a print image (image to be printed by the printer 18).
[0136]
For example, in this example, in step S39 of FIG. 4 described above, the CPU 31 displays the second composite image 75 on the display device 15 (display part 20) and prompts the user to confirm the print image. A message (for example, a message such as “Pressing the OK button starts shooting”) is displayed.
[0137]
Therefore, when the user operates the input unit 16 in accordance with this message and a signal corresponding to the print image confirmation instruction is input to the CPU 31 (for example, when the user presses the OK button 16a), the CPU 31 Determines that there is an instruction to confirm the print image, and otherwise determines that there is no instruction to confirm the print image.
[0138]
If it is determined in step S17 that there is no print image confirmation instruction, the process returns to step S16, and the subsequent processing is repeated.
[0139]
That is, until it is determined in step S17 that a print image confirmation instruction has been issued (until the user presses the OK button 16a), the processing in step S16 (composite image generation / display processing) is repeated.
[0140]
Specifically, the CPU 31 acquires one user image monitored by the CCD camera 14 for each predetermined sampling, and generates a new first composite image 73 based on the acquired user image. Further, the arrangement coordinates of the decoration image 74 are recalculated, and the decoration image 74 arranged at the position corresponding to the recalculated arrangement coordinates and the newly generated first composite image 73 are synthesized. Then, a new second composite image 75 is generated and displayed.
[0141]
That is, the display device 15 (display part 20) displays a new second composite image 75 (updates the display) every predetermined sampling. Accordingly, the decoration image 74 follows the movement of the user in real time (with a predetermined sampling time) and the state is displayed, so that the user can obtain the desired composition (the desired second composite image 75). The print image can be confirmed at the time when is displayed.
[0142]
Furthermore, the arrangement coordinates selected (calculated) in step S36 in FIG. 4 are changed every time (each time step S16 processing (composite image generation / display processing) is performed). 74 is displayed as if it moves along the contour of the user image 71 as shown in FIG.
[0143]
Therefore, instead of the above-described decoration image 74, which is a single still image, for example, when an image group that constitutes an animation such as a panda running and falling is adopted as the decoration image, the CPU 31 performs each time (step S16). If the image of each frame is sequentially arranged on the first composite image 73 (every time the process (composite image generation / display process) is performed), the panda or the like looks like the user's contour (for example, An animation having a story characteristic such as running along the shoulders or hands) can be displayed on the display device 15 (display part 29).
[0144]
As described above, the image printing apparatus 1 can perform shooting with playability.
[0145]
On the other hand, if it is determined in step S17 that a print image confirmation instruction has been issued (when the user presses the OK button 16a), the CPU 31 receives a signal corresponding to the OK button 16a from the built-in timer 31a. The time at the time of input) is acquired, and the time is stored in the RAM 33 as a time measurement start time.
[0146]
In step S18, the CPU 31 acquires the time from the timer 31a at a predetermined interval, calculates the elapsed time by subtracting the time measurement start time from the acquired time, and this elapsed time is set to a predetermined value set in advance. By determining whether or not it is within the time, it is determined whether or not a predetermined time has elapsed. At the same time, the CPU 31 calculates the remaining time up to a predetermined time (subtracts the elapsed time from the predetermined time) and displays it on the display device 15 (display part 20) (for example, “remaining time” m (m is the value to be counted down) ").
[0147]
If it is determined in step S18 that the predetermined time has not elapsed, the process returns to step S16, and the subsequent processing is repeated.
[0148]
If it is determined in step S18 that the predetermined time has elapsed, in step S19, the CPU 31 displays a message indicating that the predetermined time has elapsed (for example, a message such as “remaining time 0”) on the display device 15 (display part 20). ) And the second composite image 75 (now displayed on the display device 15 (display part 20)) generated in the process of step S16 immediately before is determined as a print image and is now determined A message that asks the user whether or not to print the print image (second composite image 75) (for example, “Is this OK? If this is OK, press the OK button. A message such as “NO button is pressed” is displayed on the display device 15 (display part 20).
[0149]
In accordance with the displayed message, the user operates the input unit 16 to select whether or not to print the print image (second composite image 75) that has been confirmed.
[0150]
For example, when a signal indicating that the print image that has been confirmed can be printed is input (for example, when the user presses the YES button 16a), and for a certain period of time (separate from the process of step S18). If no signal is input when the predetermined time has elapsed (when the user does not perform any operation), in step S20, the CPU 31 determines that there is no instruction to change the print image. .
[0151]
On the other hand, when a signal indicating that the second composite image that has been confirmed is not printed is input (for example, when the user presses the NO button 16b), in step S20, the CPU 31 instructs to change the print image. It is determined that there was.
[0152]
If it is determined in step S20 that there is an instruction to change the print image, the process returns to step S16, and the CPU 31 repeats the subsequent processing. That is, the user can re-pause and select the print image again.
[0153]
If it is determined in step S20 that there is no instruction to change the print image, in step S21, the printer 18 determines the print image (second composite image 75) determined in step S19 based on the control of the CPU 31. ) On the sticker sheet. The seal sheet printed by the printer 18 is discharged from the photo discharge port 21 and provided to the user.
[0154]
As described above, the user operates the input unit 16 after determining the pose (for example, presses the OK button 16a), and confirms the remaining time displayed on the display device 15 (display part 20), and then makes the final pose. Then, the user's image (second composite image 75) photographed in the final pose is determined as a print image and printed.
[0155]
As a result, the user can acquire an image photographed in a desired pose without using a remote controller device or the like for pressing the shutter, and the manufacturer can also acquire a remote controller device for pressing the shutter. Etc. can be eliminated, and the costs associated therewith can be reduced.
[0156]
In this example, the number of times the user is photographed is described as being one, that is, the pose of the user's image to be printed is limited to one pose. However, the number of times is not limited and may be a plurality of times. Good. In that case, for example, after the process of step S20 is ended, the CPU 31 determines whether or not the shooting for the number of shootings has been completed. The second composite image 75 (the user's photographed image) that has been made is stored in the RAM 33 as a print image, the process returns to step S16, and the subsequent processing may be repeated. On the other hand, when it is determined that the processing has been completed, a plurality of print images (second composite images 75 having different poses corresponding to the number of shooting times) stored in the RAM 33 are read out, and these are stored on a single sticker sheet, for example. May be arranged in this order, and printed by the printer 18.
[0157]
When the print image is printed (when the process of step S21 is completed), the CPU 31 determines whether or not the power switch 27 is turned off in step S22. The monitoring by the CCD camera 14 is terminated, the process returns to step S11, and the subsequent processing is repeated. That is, the CPU 31 waits for the processing until a coin is inserted by the next user.
[0158]
On the other hand, when it is determined in step S22 that the power switch 27 is turned off, the CPU 31 ends the process.
[0159]
By the way, the administrator of the image printing apparatus 1 replenishes the seal sheet by replacing it with a new seal paper unit 23 when the seal sheet loaded in the image printing apparatus 1 is almost gone. When refilling the sticker sheet, the CPU 31 of the image printing apparatus 1 checks whether the refilled sticker sheet is suitable for the image printing apparatus 1 by checking the ID tag 24 attached to the sticker sheet unit 23. Can be determined. Next, with reference to FIG. 8, the ID detection process of the sticker sheet (sticker paper 25) will be described.
[0160]
In step S101, the CPU 31 monitors whether or not the sticker paper unit 23 is attached at a predetermined position of the image printing apparatus 1. If the sticker paper unit 23 is attached, the process proceeds to step S102.
[0161]
In step S <b> 102, according to a command from the CPU 31, the ID tag reader / writer 26 reads the ID of the ID tag 24 attached to the sticker sheet unit 23 and transmits it to the CPU 31.
[0162]
In step S103, the CPU 31 collates the ID received from the ID tag reader / writer 26 in the process of step S102 with the sticker ID stored in advance in the ROM 32. If both IDs are the same, the process proceeds to step S104. The CPU 31 causes the display device 15 (display part 20) to display a message indicating that the image printing apparatus 1 is usable.
[0163]
In step S105, the CPU 31 returns the image printing apparatus 1 to a state in which normal photographing can be performed (the state in step S11 in FIG. 3).
[0164]
If the CPU 31 determines in step S103 that the ID received from the ID tag reader / writer 26 does not match the sticker ID stored in the ROM 22 in advance, the process proceeds to step S106, and the CPU 31 displays the display device 15 (display part). 20), a message indicating that the image printing apparatus 1 cannot be used (captured) cannot be displayed.
[0165]
In step S107, the CPU 31 sets the image printing apparatus 1 to be unusable (capturing is impossible). As the method, for example, it is possible to lower a shutter on the coin insertion slot 28 so that no coin is inserted from the coin insertion slot 28.
[0166]
In this embodiment, the ID tag 24 is attached to the sticker unit 23. However, as long as it is possible to identify the type of the sticker 25 loaded in the sticker unit 23, other types are possible. The sticker paper 25 may be identified by a method.
[0167]
For example, instead of the ID tag 24, the sticker unit 23 may be identified using a method such as a barcode or an IC card. In addition, the shape of the mounting portion of the sticker paper unit 23 to the image printing apparatus 1 is different for each model of the image printing apparatus 1 so that only a suitable sticker paper unit 23 can be attached to the image printing apparatus 1. Also good.
[0168]
Further, the sticker paper 25 and the sticker paper unit 23 can be configured to be separable, or can be configured integrally.
[0169]
(Second Embodiment)
FIG. 9 shows a configuration example of an image printing apparatus 81 to which the second embodiment of the present invention is applied, and portions corresponding to the image printing apparatus 1 of FIG.
[0170]
In this configuration example, a touch panel 16e stacked on the upper portion of the display part 20 is provided.
[0171]
That is, as described above, an image reflected by the half mirror 13 (an image displayed on the display device 15), for example, an image photographed by the CCD camera 14 and an edited image are superimposed on the display portion 20. Is displayed. Accordingly, while the user is inputting graffiti or the like, a photographed image with graffiti or the like is displayed on the display portion 20.
[0172]
The touch panel 16e detects an input from the stylus pen 16d. That is, the user selects a selection button or the like displayed on the display region 20 using the stylus pen 16d, or gives a graffiti on the captured image displayed on the display region 20 or the like. Input data from the stylus pen 16d is detected by the touch panel 16e and written to the main controller 19 as input data.
[0173]
Other configurations are the same as those in FIG.
[0174]
Although not shown, the internal structure of the image printing apparatus 81 is basically the same as the internal structure of the image printing apparatus 1 shown in FIG. In the following description, FIG. 2 is also referred to as an internal configuration of the image printing apparatus 81.
[0175]
Next, processing of the image printing apparatus 81 in FIG. 9 will be described with reference to the flowchart in FIG.
[0176]
In step S111, the CPU 31 of the main control device 19 determines whether or not a coin has been inserted based on whether or not the price processing unit 17 has detected a coin.
[0177]
If it is determined in step S111 that no coin has been inserted, the process returns to step S111, and the CPU 31 determines again whether or not a coin has been inserted. That is, the CPU 31 waits for the processing until coins are inserted.
[0178]
Now, assume that the user has inserted a predetermined amount of coins into the coin insertion slot 28.
[0179]
Therefore, in step S111, the CPU 31 determines that a coin has been inserted, and in step S112, the CCD camera 14 starts monitoring the space within the imaging range based on the control of the CPU 31.
[0180]
In step S113, the CPU 31 generates a first composite image.
[0181]
That is, for example, the CPU 31 displays various messages and the like on the display part 20 (display device 15) according to the progress of image print creation and print processing, and the input unit 16 (for example, an OK button) operated by the user. 16a, NO button 16b, etc.) is recognized, and the imaging procedure proceeds.
[0182]
In this example, when the shooting procedure proceeds, the OK button 16a, the NO button 16b, the joystick 16c, and the stylus pen 16d (touch panel 16e) are used, but only the stylus pen 16d (touch panel 16e) is used. You may be made to do. In this case, for example, the CPU 31 displays various selection buttons (soft buttons) on the display part 20 according to the progress of image print creation and printing processing, and allows the user to select the selection buttons displayed (stylus pen). The tip of 16d is placed on the displayed selection button) to recognize this and advance the photographing procedure.
[0183]
4, the CPU 31 acquires a monitor image at a predetermined sampling time, extracts a user image from the monitor image, and extracts the extracted monitor image and the background image selected by the user. Are combined to generate a first composite image.
[0184]
In step S <b> 114, the CPU 31 determines whether there is an instruction to confirm the print image (image to be printed by the printer 18).
[0185]
For example, in this example, in step S113, the CPU 31 displays a first composite image on the display portion 20 and prompts the user to confirm the print image (for example, when the “OK button is pressed, Message to start shooting "is displayed.
[0186]
Therefore, when the user operates the input unit 16 in accordance with this message and a signal corresponding to the print image confirmation instruction is input to the CPU 31 (for example, when the user presses the OK button 16a), the CPU 31 Determines that there is an instruction to confirm the print image, and otherwise determines that there is no instruction to confirm the print image.
[0187]
If it is determined in step S114 that there is no print image confirmation instruction, the process returns to step S113, and the subsequent processing is repeated.
[0188]
That is, the process of step S113 is repeated until it is determined in step S114 that a print image confirmation instruction has been issued (until the user presses the OK button 16a).
[0189]
Specifically, the CPU 31 acquires one user image monitored by the CCD camera 14 for each predetermined sampling, and generates a new first composite image based on the acquired user image. To be displayed on the display part 20.
[0190]
That is, the display part 20 displays a new first composite image (updates the display) every predetermined sampling. Therefore, the user can determine the print image when the desired composition is obtained (when the desired first composite image is displayed).
[0191]
On the other hand, if it is determined in step S114 that there is an instruction to confirm the print image (when the user presses the OK button 16a), the CPU 31 receives a signal corresponding to the OK button 16a from the built-in timer 31a. The time at the time of input) is acquired, and the time is stored in the RAM 33 as a time measurement start time.
[0192]
In step S115, the CPU 31 acquires time at a predetermined interval from the timer 31a, calculates the elapsed time by subtracting the timing start time from the acquired time, and this elapsed time is set to a predetermined value set in advance. By determining whether or not it is within the time, it is determined whether or not a predetermined time has elapsed. At the same time, the CPU 31 calculates the remaining time up to a predetermined time (subtracts the elapsed time from the predetermined time) and displays it on the display part 20 (for example, “remaining time m (m is Display a message such as "Countdown value").
[0193]
If it is determined in step S115 that the predetermined time has not elapsed, the process returns to step S113 and the subsequent processing is repeated.
[0194]
When it is determined in step S115 that the predetermined time has elapsed, in step S116, the CPU 31 displays a message indicating that the predetermined time has elapsed (for example, a message such as “remaining time 0”) on the display part 20, The first composite image generated in the process of the immediately preceding step S113 (now displayed on the display part 20) is confirmed as a print image, and the print image (first composite image) just confirmed is printed. A message that asks the user whether or not to do so (for example, a message such as “This is OK? Press OK button if this is OK. Press NO button to start again”) 20 is displayed.
[0195]
In accordance with the displayed message, the user operates the input unit 16 to select whether or not to print the print image (first synthesized image) that has been confirmed.
[0196]
For example, when a signal indicating that the print image that has been confirmed can be printed is input (for example, when the user presses the YES button 16a), and for a certain period of time (separate from the process of step S115) If no signal is input when the predetermined time has elapsed (when the user does not perform any operation), in step S117, the CPU 31 determines that there is no instruction to change the print image. .
[0197]
On the other hand, when a signal indicating that the second composite image that has been confirmed is not printed is input (for example, when the user presses the NO button 16b), in step S117, the CPU 31 instructs to change the print image. It is determined that there was.
[0198]
If it is determined in step S117 that there is an instruction to change the print image, the process returns to step S113, and the CPU 31 repeats the subsequent processing. That is, the user can re-pause and select the print image again.
[0199]
If it is determined in step S117 that there has been no instruction to change the print image, in step S118, the user is caused to perform a graffiti on the print image (first composite image) that has been confirmed.
[0200]
The process in step S118 is referred to herein as “graffiti process”.
Details of the “graffiti process” in this example are shown in FIG. The “graffiti process” in this example will be described with reference to FIG.
[0201]
In the above description, the number of times the user is photographed is described as being one, that is, the pose of the user's image to be printed is limited to one pose. .
[0202]
For example, if the number of times that the user is photographed is 3, the first composite image (first pose image) for the first time is determined as the print image in step S116 in FIG. The pause image is stored in the RAM 33 and displayed in the area of the selected image 81a in FIG. Thereafter, Steps S113 to S117 are repeated again, and this time the second first composite image (second pose image) is stored in the RAM 33 and displayed in the area of the selected image 81b. Similarly, the third first composite image (third pose image) is stored in the RAM 33 and displayed in the area of the selected image 81c.
[0203]
Therefore, the user operates the stylus pen 16d to select an image (edited image) to be graffiti among the images displayed in the areas of the selected images 81a to 81c.
[0204]
For example, when the first composite image 73 of FIG. 6 is displayed in the area of the selected image 81a and the user selects it, in step S131, the CPU 31 determines that the tip of the stylus pen 16d is the selected image 81a. Recognizing that the image is arranged in the area, the image (first composite image 73) displayed in the area of the selected image 81a is determined as the edited image 85, and as shown in FIG. (The panda decoration image 74 is not displayed at this time).
[0205]
In step S132, the CPU 31 acquires the time at that time (the time when step S131 is completed) from the built-in timer 31a, and stores the time in the RAM 33 as the time measurement start time. Then, the CPU 31 obtains time at a predetermined interval from the timer 31a, calculates the elapsed time by subtracting the timing start time from the obtained time, and whether this elapsed time is within a preset time limit. By determining whether or not, it is determined whether or not the time limit has elapsed.
[0206]
At the same time as in step S18, the CPU 31 may calculate the remaining time up to a predetermined time (subtract the elapsed time from the predetermined time) and display it on the display part 20. (For example, a message such as “remaining time m (m is a value counted down)” may be displayed).
[0207]
If it is determined in step S132 that the time limit has elapsed, the CPU 31 ends the graffiti process and proceeds to the next step, that is, step S119 in FIG.
[0208]
If it is determined in step S132 that the time limit has not elapsed, in step S133, the CPU 31 determines whether or not a contour stamp has been selected.
[0209]
That is, the user places the stylus pen 16d (touch panel 16e) on the desired stamp type area among the background stamp 82a, foreground stamp 82b, and contour stamp 82c areas shown in FIG. Select the type of stamp to use.
[0210]
In this example, for example, the above-described decoration image is arranged at a predetermined position of the edited image 85 (first composite image 73) and displayed (stamped) is simply referred to as a stamp. Yes.
[0211]
The background stamp 82a is a stamp that does not display a portion overlapping the user image when a part (or all) of the decoration image is arranged on the user image. In this case, the contour of the user is detected by the same processing as step S35 in FIG. 4, and it is determined whether or not the decoration image overlaps the user's image based on the detected contour of the user. .
[0212]
The foreground stamp 82b is a stamp arranged so that the decoration image is in the forefront (before the other screens such as the user image and the background image), that is, a stamp on which all the decoration images are displayed.
[0213]
As described above (as described in the first embodiment), the contour stamp 82c is detected by a process similar to step S35 in FIG. 4 and the user's contour is detected on the detected user contour. A stamp on which a decorative image is arranged and displayed.
[0214]
When the background stamp 82a and the foreground stamp 82b are selected or when other graffiti processing such as text insertion is selected (not shown), in step S133, the CPU 31 selects the contour stamp. In step S134, graffiti processing other than the currently selected contour stamp is executed, the process returns to step S132, and the subsequent processing is repeated.
[0215]
On the other hand, when the contour stamp 82c is selected by the user in step S133, the CPU 31 recognizes it and determines that the contour stamp has been selected, and in the same way as the processing in step S35 of FIG. The user's outline is detected from the edited image 85 displayed on the screen, and the detected outline 71a of the user is blinked.
[0216]
If it is determined in step S135 that the time limit has elapsed, the CPU 31 ends the graffiti process and proceeds to the next step, that is, step S119 in FIG.
[0217]
If it is determined in step S135 that the time limit has not elapsed, in step S136, the CPU 31 determines whether a decoration image (item) has been selected.
[0218]
That is, if it is determined in step S133 that the contour stamp 82c has been selected, the decorative image corresponding to the contour stamp 82c is displayed in the area of the item 83 as shown in FIG. That is, for example, if three predetermined images are stored in the ROM 32 or the like as decoration images corresponding to the contour stamp 82c, the CPU 31 reads out these images and displays them in the areas of the items 83a to 83c, respectively.
[0219]
Now, for example, if the panda decoration image 74 is displayed in the area of the item 83a and the user selects it with the stylus pen 16d, the CPU 31 determines in step S136 that the tip of the stylus pen 16d is the area of the item 83a. It is determined that a decoration image (item) to be stamped (arranged in the edited image 85) has been selected. That is, the CPU 31 determines the image (panda decoration image 74) displayed in the area of the item 83a as the decoration image to be stamped from now.
[0220]
On the other hand, if it is determined in step S136 that no decoration image (item) has been selected, the process returns to step S135, and the CPU 31 repeats the subsequent processing. That is, the CPU 31 waits for the process until a decoration image is selected or until the time limit has elapsed.
[0221]
When the decoration image is selected (YES in the process of step S136), in step S137, similarly to the processes of steps S36 to S38 in FIG. And the decoration image 74 is arranged at a position corresponding to the arrangement coordinates of the first composite image 73, and the arranged decoration image 74 and the edited image 85 (first composite image 73) are combined. Then, a second composite image 75 as shown in FIG. 7 (however, the decoration image 74 is only one image arranged at the position corresponding to the calculated arrangement coordinates) is stored in the RAM 33. In step S138, it is displayed in the center of the display area 20 (the area where the edited image 85 was displayed).
[0222]
In step S139, the CPU 31 recognizes whether or not the user has selected the confirm button 84, that is, recognizes whether or not the tip of the stylus pen 16d is disposed on the confirm button 84, thereby arranging the decoration image 74. It is determined whether or not the position is fixed.
[0223]
If it is determined in step S139 that the arrangement position of the decoration image 74 has not been determined, the process returns to step S135, and the subsequent processing is repeated.
[0224]
That is, for example, as described above (similar to the first embodiment), the arrangement coordinates selected (calculated) in the process of step S137 are changed every time (each time the process of step S137 is performed). Then, during the graffiti process (until the user selects the confirmation button 84), the decoration image 74 is as if it moves along the contour line 71a of the user image 71 as shown in FIG. Is displayed.
[0225]
If it is determined in step S139 that the arrangement position of the decoration image 74 has been determined, the CPU 31 ends the graffiti process, and proceeds to the next step, that is, step S119 in FIG.
[0226]
Returning to FIG. 10, in step S <b> 119, the printer 18 performs a graffiti process (the process of step S <b> 118) on the basis of the control of the CPU 31 (the image currently displayed at the center of the display part 20). On the sticker sheet. The seal sheet printed by the printer 18 is discharged from the photo discharge port 21 and provided to the user.
[0227]
When the print image is printed (when the process of step S119 ends), the CPU 31 determines whether or not the power switch 27 is turned off in step S120. If it is determined that the power switch 27 is not turned off, the CPU 31 performs step S121. The monitoring by the CCD camera 14 is terminated, the process returns to step S111, and the subsequent processing is repeated. That is, the CPU 31 waits for the processing until a coin is inserted by the next user.
[0228]
On the other hand, when it is determined in step S120 that the power switch 27 is turned off, the CPU 31 ends the process.
[0229]
A program for executing the series of processes described above is installed from a network or a recording medium. As shown in FIG. 2, this recording medium is distributed to provide a program to the owner of the image printing apparatus 1 separately from the apparatus main body, and stores a program to be attached to the drive 39. Magnetic disk 51 (including floppy disk), optical disk 52 (including CD-ROM (compact disk-read only memory), DVD (digital versatile disk)), magneto-optical disk 53 (including MD (mini-disk)), Alternatively, it is not only constituted by a package medium composed of a semiconductor memory 54 or the like, but is also provided to a user in a state of being pre-installed in the apparatus main body by a ROM 32 on which a program is recorded, a hard disk included in the storage unit 37, Composed.
[0230]
In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but is not necessarily performed in chronological order. It also includes processes that are executed individually.
[0231]
【The invention's effect】
As described above, according to the image printing apparatus, method, and program of the present invention, the user image is extracted from the captured images and is set in advance with the extracted user image. A first base image is generated by combining the predetermined background image. Further, the contour of the extracted user image is detected, and a predetermined decoration image set in advance is set at a predetermined position on the contour of the detected user image in the generated first composite image. Deploy. Since the second combined image is generated by combining the arranged decoration image and the generated first combined image and printed, it is possible to shoot with playfulness and rich in individuality. Images can be provided easily.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating an arrangement of a configuration example of an image printing apparatus to which a first embodiment of the present invention is applied.
FIG. 2 is a block diagram illustrating an internal configuration example of the image printing apparatus in FIG. 1;
FIG. 3 is a flowchart for explaining processing of the image printing apparatus in FIG. 1;
FIG. 4 is a flowchart illustrating details of a composite image generation / display process in step S16 of FIG.
FIG. 5 is a diagram illustrating a configuration example of a decoration style table used in the image printing apparatus of FIG. 1;
6 is a diagram illustrating a first composite image example generated by the image printing apparatus of FIG. 1. FIG.
7 is a diagram illustrating a second composite image example generated by the image printing apparatus of FIG. 1. FIG.
8 is a flowchart illustrating ID detection processing of the image printing apparatus of FIG. 1 in which a print medium unit to which the present invention is applied is mounted.
FIG. 9 is a diagram showing an arrangement of a configuration example of an image printing apparatus to which a second embodiment of the present invention is applied.
10 is a flowchart for explaining processing of the image printing apparatus in FIG. 9;
FIG. 11 is a flowchart illustrating details of a graffiti process in step S118 of FIG.
12 is a diagram showing an example of an image displayed on the display part in the graffiti process in step S118 of FIG.
[Explanation of symbols]
1 image printing device,
14 CCD camera,
15 display device,
16 input section,
18 printer,
19 Main controller,
20 display area,
23 Sticker paper unit,
24 ID tag,
25 sticker paper,
26 ID tag reader / writer,
31 CPU
32 ROM,
33 RAM,
37 storage unit,
39 drives,
61 decoration style table,
71 user images,
72 background image,
73 the first composite image,
74 decorative images,
75 second composite image,
an contour point

Claims (15)

ユーザを撮影する撮影手段と、
前記撮影手段により撮影された撮影範囲内の画像のうち、前記ユーザの画像を抽出する抽出手段と、
前記抽出手段により抽出された前記ユーザの画像の輪郭を検出する検出手段と、
前記検出手段により検出された前記ユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像を配置する配置手段と、
前記配置手段により配置された前記装飾画像と、前記撮影手段により撮影された前記撮影範囲内の画像との合成画像が所定の表示装置に表示された後に前記合成画像を印刷する印刷手段と
表示された合成画像のうち印刷する合成画像を確定指示する確定手段と
を備え、
複数の装飾画像から、前記配置手段により配置される前記所定の装飾画像を設定し、
設定された前記所定の装飾画像の装飾様式の要素として、前記ユーザの画像の輪郭上の前記所定の位置を検出する基準となる検出座標の移動方向および移動距離を設定し、
前記抽出手段により新たな前記ユーザの画像が抽出されると、前記検出手段により前記ユーザの画像の輪郭が抽出され、前記検出座標から垂直方向に降ろした直線と前記ユーザの画像の輪郭との交点を前記ユーザの画像の輪郭上の前記所定の位置として合成画像を表示し、次に前記確定手段による印刷する合成画像の確定指示がなされなかった場合には、前記検出座標を前記装飾様式の要素とし設定された前記移動方向および前記移動距離に従って水平方向に所定の距離だけ移動させることにより、前記ユーザの画像の輪郭上の前記所定の位置を逐次更新していく処理を繰り返す
ことを特徴とする画像印刷装置。
Photographing means for photographing the user;
Extracting means for extracting the image of the user from among the images within the photographing range photographed by the photographing means;
Detecting means for detecting a contour of the image of the user extracted by the extracting means;
Arrangement means for arranging a predetermined decoration image set in advance at a predetermined position on the contour of the image of the user detected by the detection means;
Printing means for printing the composite image after a composite image of the decoration image arranged by the arrangement means and an image within the photographing range photographed by the photographing means is displayed on a predetermined display device ;
A confirmation means for instructing confirmation of a composite image to be printed out of the displayed composite images ,
From the plurality of decoration images, set the predetermined decoration image arranged by the arrangement means,
As an element of decoration style set the predetermined decoration image, set the moving direction and moving distance of the detection coordinate to detect the predetermined position on the contour of the image before Symbol user,
When a new image of the user is extracted by the extraction unit, the contour of the user image is extracted by the detection unit, and an intersection of a straight line drawn vertically from the detection coordinates and the contour of the user image When the composite image is displayed as the predetermined position on the contour of the image of the user, and then the composite image to be printed is not instructed by the determining means, the detected coordinates are used as the elements of the decoration style. And repeating the process of sequentially updating the predetermined position on the contour of the user's image by moving it by a predetermined distance in the horizontal direction according to the set moving direction and moving distance. Image printing device.
前記画像印刷装置は、さらに、
前記抽出手段により抽出された前記ユーザの画像と、予め設定されている所定の下地画像とを合成して、第1の合成画像を生成し、
生成された前記第1の合成画像と、予め設定されている前記装飾画像とを合成して、第2の合成画像を生成し、
前記配置手段は、前記第1の合成画像内の前記ユーザの画像の輪郭上の前記所定の位置に、前記装飾画像を配置し、
前記画像印刷装置は、前記第1の合成画像と、前記配置手段により配置された前記装飾画像とを合成して、前記第2の合成画像を生成し、
前記印刷手段は、生成された前記第2の合成画像を印刷する
ことを特徴とする請求項1に記載の画像印刷装置。
The image printing apparatus further includes:
A first synthesized image is generated by synthesizing the user image extracted by the extracting unit and a predetermined background image set in advance,
Combining the generated first composite image and the preset decoration image to generate a second composite image;
The arrangement means arranges the decoration image at the predetermined position on the contour of the user image in the first composite image,
The image printing device generates the second composite image by combining the first composite image and the decoration image arranged by the arrangement unit,
The image printing apparatus according to claim 1, wherein the printing unit prints the generated second composite image.
前記配置手段は、前記抽出手段により新たな前記ユーザの画像が抽出される毎に更新される前記所定の位置に基づいて、前記所定の装飾画像を配置する
ことを特徴とする請求項1または2に記載の画像印刷装置。
The arrangement unit arranges the predetermined decoration image based on the predetermined position that is updated each time a new image of the user is extracted by the extraction unit. The image printing apparatus described in 1.
画像を表示する表示手段と、
前記表示手段に前記第2の合成画像を表示させる第1の表示制御手段と、
所定の条件を満たすと判定した場合、その判定の直前または直後に、前記第1の表示制御手段により前記表示手段に表示された前記第2の合成画像を、前記印刷手段により印刷される印刷画像として確定する確定手段と
をさらに備え、
前記確定手段により前記印刷画像が確定されるまで、前記撮影手段は、連続して前記ユーザを撮影し、前記抽出手段は、所定のサンプリングタイムで、前記ユーザの画像を抽出し、前記第1の表示制御手段は、前記抽出手段により新たな前記ユーザの画像が抽出される毎に、前記表示手段の表示を、新たに生成された前記第2の合成画像に更新させる
ことを特徴とする請求項3に記載の画像印刷装置。
Display means for displaying an image;
First display control means for displaying the second composite image on the display means;
When it is determined that the predetermined condition is satisfied, immediately before or after the determination, the second composite image displayed on the display unit by the first display control unit is printed by the printing unit. And a confirmation means for confirming as
The photographing means continuously photographs the user until the print image is confirmed by the confirmation means, the extraction means extracts the user image at a predetermined sampling time, and the first image The display control means updates the display of the display means to the newly generated second composite image every time a new image of the user is extracted by the extraction means. 4. The image printing apparatus according to 3.
前記印刷画像を確定する旨の信号を入力する確定信号入力手段と、
前記確定信号力手段により前記信号が入力された場合、計時を開始する計時手段と、
前記計時手段により計時された時間に基づいて、予め設定されている所定の時間までの残り時間を演算し、演算された前記所定の時間までの残り時間を前記表示手段に表示させる第2の表示制御手段と
をさらに備え、
前記確定手段は、前記計時手段により前記所定の時間が計時された場合、前記所定の条件を満たすと判定する
ことを特徴とする請求項4に記載の画像印刷装置。
A confirmation signal input means for inputting a signal to confirm the print image;
When the signal is input by the deterministic signal force means, time measuring means for starting time measurement,
A second display for calculating a remaining time until a predetermined time set in advance based on the time measured by the time measuring means and displaying the calculated remaining time until the predetermined time on the display means; And a control means,
The image printing apparatus according to claim 4, wherein the determining unit determines that the predetermined condition is satisfied when the predetermined time is measured by the time measuring unit.
前記配置手段により配置され得る前記複数の装飾画像を記憶する記憶手段と、
設定された前記装飾様式を基にして、設定された前記所定の装飾画像を加工する加工手段と
をさらに備え、
前記配置手段は、前記加工手段により加工された前記所定の装飾画像を配置する
ことを特徴とする請求項4または5に記載の画像印刷装置。
Storage means for storing the plurality of decorative images that can be arranged by the arrangement means;
Processing means for processing the set predetermined decoration image based on the set decoration style; and
The image printing apparatus according to claim 4, wherein the arrangement unit arranges the predetermined decoration image processed by the processing unit.
前記画像印刷装置は、前記装飾様式の要素として、前記移動方向および前記移動距離に加えてさらに、前記装飾画像の配置個数、サイズ、回転角度、および透明度を少なくとも含む複数の要素のうち、少なくとも1つを設定する
ことを特徴とする請求項6に記載の画像印刷装置。
The image printing apparatus may include at least one of a plurality of elements including at least the number of decoration images arranged, the size, the rotation angle, and the transparency in addition to the movement direction and the movement distance as elements of the decoration style. The image printing apparatus according to claim 6, wherein one is set.
前記画像印刷装置は、前記装飾画像の前記回転角度として、90度の倍数を設定する
ことを特徴とする請求項7に記載の画像印刷装置。
The image printing apparatus according to claim 7, wherein the image printing apparatus sets a multiple of 90 degrees as the rotation angle of the decoration image.
前記記憶手段は、複数の前記装飾様式をさらに記憶しており、
前記記憶手段に記憶されている前記複数の装飾画像および前記複数の装飾様式を、サンプルとして前記表示手段に表示させるサンプル表示制御手段と、
前記サンプル表示制御手段により前記表示手段に表示された前記複数の装飾画像および前記複数の装飾様式のサンプルのうち、ユーザにより選定された前記装飾画像および前記装飾様式に対応する信号をそれぞれ入力する選定信号入力手段と
をさらに備え、
前記画像印刷装置は、前記選定信号入力手段により入力された前記信号に基づいて、前記配置手段により配置される前記所定の装飾画像を設定するとともに、設定された前記所定の装飾画像の前記装飾様式を設定する
ことを特徴とする請求項6乃至8のいずれかに記載の画像印刷装置。
The storage means further stores a plurality of the decoration styles,
Sample display control means for displaying the plurality of decoration images and the plurality of decoration styles stored in the storage means as samples on the display means;
Selection of inputting the decoration image selected by the user and a signal corresponding to the decoration style among the plurality of decoration images and the plurality of decoration style samples displayed on the display means by the sample display control means. And a signal input means,
The image printing apparatus sets the predetermined decoration image arranged by the arrangement unit based on the signal input by the selection signal input unit, and the decoration style of the set predetermined decoration image The image printing apparatus according to claim 6, wherein the image printing apparatus is set.
前記装飾画像は画像群であり、
前記配置手段は、所定の前記画像群のうち、所定の規則に従って選定された1枚の画像を、前記ユーザの画像の輪郭上の前記所定の位置に配置する
ことを特徴とする請求項1乃至9のいずれかに記載の画像印刷装置。
The decorative image is an image group,
The arrangement unit arranges one image selected according to a predetermined rule from the predetermined group of images at the predetermined position on the contour of the image of the user. The image printing apparatus according to any one of 9.
前記印刷手段により前記第2の合成画像が印刷される印刷媒体であって、装着された前記印刷媒体を識別するための識別情報を読み取る読取手段と、
前記読取手段による読み取り結果に基づいて、前記印刷媒体への印刷を制御する印刷制御手段と
をさらに備えることを特徴とする請求項1乃至10のいずれかに記載の画像印刷装置。
A print medium on which the second composite image is printed by the printing means, and reading means for reading identification information for identifying the mounted print medium;
The image printing apparatus according to claim 1, further comprising: a print control unit that controls printing on the print medium based on a result of reading by the reading unit.
前記印刷媒体は、シールである
ことを特徴とする請求項11に記載の画像印刷装置。
The image printing apparatus according to claim 11, wherein the print medium is a seal.
前記印刷手段により前記第2の合成画像が印刷される前記印刷媒体を格納するとともに、前記読取手段により読み取られる前記識別情報を保持する
ことを特徴とする請求項11または12に記載の画像印刷装置により使用され
る印刷媒体ユニット。
13. The image printing apparatus according to claim 11, wherein the printing medium on which the second composite image is printed by the printing unit is stored, and the identification information read by the reading unit is held. Print media unit used by.
画像印刷装置の画像印刷方法であって、
ユーザを撮影する撮影ステップと、
前記撮影ステップの処理により撮影された撮影範囲内の画像のうち、前記ユーザの画像を抽出する抽出ステップと、
前記抽出ステップの処理により抽出された前記ユーザの画像の輪郭を検出する検出ステップと、
前記検出ステップの処理により検出された前記ユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像を配置する配置ステップと、
前記配置ステップの処理により配置された前記装飾画像と、前記撮影ステップの処理により撮影された前記撮影範囲内の画像との合成画像が所定の表示装置に表示された後に前記合成画像を印刷する印刷ステップと
表示された合成画像のうち印刷する合成画像を確定指示する確定ステップと、
複数の装飾画像から、前記配置ステップの処理により配置される前記所定の装飾画像を設定し、設定された前記所定の装飾画像の装飾様式の要素として、前記ユーザの画像の輪郭上の前記所定の位置を検出する基準となる検出座標の移動方向および移動距離を設定する設定ステップと、
前記抽出ステップの処理により新たな前記ユーザの画像が抽出されると、前記検出ステップの処理により前記ユーザの画像の輪郭が抽出され、前記検出座標から垂直方向に降ろした直線と前記ユーザの画像の輪郭との交点を前記ユーザの画像の輪郭上の前記所定の位置として合成画像を表示し、次に前記確定ステップの処理による印刷する合成画像の確定指示がなされなかった場合には、前記検出座標を前記装飾様式の要素とし設定された前記移動方向および前記移動距離に従って水平方向に所定の距離だけ移動させることにより、前記ユーザの画像の輪郭上の前記所定の位置を逐次更新していく処理を繰り返す更新ステップと
を含むことを特徴とする画像印刷方法。
An image printing method of an image printing apparatus,
A shooting step for shooting the user;
An extraction step for extracting the user's image out of the images within the photographing range photographed by the photographing step;
A detection step of detecting a contour of the image of the user extracted by the processing of the extraction step;
An arrangement step of arranging a predetermined decoration image set in advance at a predetermined position on the contour of the image of the user detected by the processing of the detection step;
Printing that prints the composite image after a composite image of the decoration image arranged by the processing of the placement step and the image within the photographing range photographed by the processing of the photographing step is displayed on a predetermined display device Steps ,
A confirmation step for instructing confirmation of a composite image to be printed out of the displayed composite images;
A plurality of decoration image, and setting the predetermined decoration image to be arranged by the process of the placement step, as an element of the decor of the set predetermined decoration image, the predetermined on the contour of the image before SL user A setting step for setting a moving direction and a moving distance of a detection coordinate serving as a reference for detecting the position of
When a new image of the user is extracted by the process of the extraction step, an outline of the user image is extracted by the process of the detection step, and a straight line drawn vertically from the detection coordinates and the image of the user are extracted. When the composite image is displayed with the intersection point with the contour as the predetermined position on the contour of the image of the user, and when the confirmation instruction of the composite image to be printed is not issued by the processing of the confirmation step, the detected coordinates A process of sequentially updating the predetermined position on the contour of the user image by moving a predetermined distance in the horizontal direction according to the moving direction and the moving distance set as elements of the decoration style An image printing method comprising: an update step of repeating
画像印刷装置を制御するコンピュータに実行させるプログラムであって、
ユーザを撮影する撮影ステップと、
前記撮影ステップの処理により撮影された撮影範囲内の画像のうち、前記ユーザの画像を抽出する抽出ステップと、
前記抽出ステップの処理により抽出された前記ユーザの画像の輪郭を検出する検出ステップと、
前記検出ステップの処理により検出された前記ユーザの画像の輪郭上の所定の位置に、予め設定されている所定の装飾画像を配置する配置ステップと、
前記配置ステップの処理により配置された前記装飾画像と、前記撮影ステップの処理により撮影された前記撮影範囲内の画像との合成画像が所定の表示装置に表示された後に前記合成画像を印刷する印刷ステップと
表示された合成画像のうち印刷する合成画像を確定指示する確定ステップと、
複数の装飾画像から、前記配置ステップの処理により配置される前記所定の装飾画像を設定し、設定された前記所定の装飾画像の装飾様式の要素として、前記ユーザの画像の輪郭上の前記所定の位置を検出する基準となる検出座標の移動方向および移動距離を設定する設定ステップと、
前記抽出ステップの処理により新たな前記ユーザの画像が抽出されると、前記検出ステップの処理により前記ユーザの画像の輪郭が抽出され、前記検出座標から垂直方向に降ろした直線と前記ユーザの画像の輪郭との交点を前記ユーザの画像の輪郭上の前記所定の位置として合成画像を表示し、次に前記確定ステップの処理による印刷する合成画像の確定指示がなされなかった場合には、前記検出座標を前記装飾様式の要素とし設定された前記移動方向および前記移動距離に従って水平方向に所定の距離だけ移動させることにより、前記ユーザの画像の輪郭上の前記所定の位置を逐次更新していく処理を繰り返す更新ステップと
を含む制御処理をコンピュータに実行させるプログラム。
A program to be executed by a computer that controls an image printing apparatus,
A shooting step for shooting the user;
An extraction step for extracting the user's image out of the images within the photographing range photographed by the photographing step;
A detection step of detecting a contour of the image of the user extracted by the processing of the extraction step;
An arrangement step of arranging a predetermined decoration image set in advance at a predetermined position on the contour of the image of the user detected by the processing of the detection step;
Printing that prints the composite image after a composite image of the decoration image arranged by the processing of the placement step and the image within the photographing range photographed by the processing of the photographing step is displayed on a predetermined display device Steps ,
A confirmation step for instructing confirmation of a composite image to be printed out of the displayed composite images;
A plurality of decoration image, and setting the predetermined decoration image to be arranged by the process of the placement step, as an element of the decor of the set predetermined decoration image, the predetermined on the contour of the image before SL user A setting step for setting a moving direction and a moving distance of a detection coordinate serving as a reference for detecting the position of
When a new image of the user is extracted by the process of the extraction step, the contour of the user image is extracted by the process of the detection step, and a straight line drawn vertically from the detection coordinates and the image of the user are extracted. When the composite image is displayed with the intersection point with the contour as the predetermined position on the contour of the user's image, and when the confirmation instruction of the composite image to be printed is not made by the processing of the confirmation step, the detected coordinates A process of sequentially updating the predetermined position on the contour of the user image by moving a predetermined distance in the horizontal direction according to the moving direction and the moving distance set as elements of the decoration style A program that causes a computer to execute a control process that includes an update step that repeats .
JP2001347130A 2001-11-13 2001-11-13 Image printing apparatus and method, print medium unit, and program Expired - Lifetime JP4621396B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001347130A JP4621396B2 (en) 2001-11-13 2001-11-13 Image printing apparatus and method, print medium unit, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001347130A JP4621396B2 (en) 2001-11-13 2001-11-13 Image printing apparatus and method, print medium unit, and program

Publications (2)

Publication Number Publication Date
JP2003145880A JP2003145880A (en) 2003-05-21
JP4621396B2 true JP4621396B2 (en) 2011-01-26

Family

ID=19160186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001347130A Expired - Lifetime JP4621396B2 (en) 2001-11-13 2001-11-13 Image printing apparatus and method, print medium unit, and program

Country Status (1)

Country Link
JP (1) JP4621396B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9519950B2 (en) 2013-12-20 2016-12-13 Furyu Corporation Image generating apparatus and image generating method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4203808B2 (en) 2003-10-08 2009-01-07 富士フイルム株式会社 Image processing device
JP5478268B2 (en) * 2010-01-13 2014-04-23 任天堂株式会社 Image processing program, image processing apparatus, image processing method, and image processing system
US8559059B2 (en) * 2010-07-29 2013-10-15 Brother Kogyo Kabushiki Kaisha Image processing device superimposing supplemental image to encompass area of original based on luminance difference between nearby pixels

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9519950B2 (en) 2013-12-20 2016-12-13 Furyu Corporation Image generating apparatus and image generating method

Also Published As

Publication number Publication date
JP2003145880A (en) 2003-05-21

Similar Documents

Publication Publication Date Title
JP5447276B2 (en) Image editing apparatus and method, and program
KR20040074213A (en) A photograph imaging device, a print sheet, a method of controlling a photograph imaging device, a program of controlling a photograph imaging device, and a computer readable recording medium recorded the same
JP5018896B2 (en) PHOTOGRAPHIC PRINT DEVICE, PHOTOGRAPHIC PRINT DEVICE CONTROL METHOD, PHOTOGRAPHIC PRINT DEVICE CONTROL PROGRAM, AND COMPUTER READABLE RECORDING MEDIUM
JP5349168B2 (en) Imaging apparatus, program, information storage medium, and imaging method
JP2005277476A (en) Photography printer, its control method and program, and computer readable recording medium
JP2005295163A (en) Photographic printer, photographic printer control method, program, and recording medium with the program recorded thereeon
JP2017037615A (en) Game imaging device, image processing method and program
JP4621396B2 (en) Image printing apparatus and method, print medium unit, and program
JP6085838B2 (en) PHOTOGRAPHIC GAME DEVICE, IMAGE GENERATION METHOD, AND IMAGE GENERATION PROGRAM
JP2017038344A (en) Game imaging apparatus and image processing method
JP5555924B2 (en) Shooting game machine, shooting game machine control method, and computer program
JP2019012153A (en) Image acquisition system
JP6635170B2 (en) Photo shooting game device, image processing method, and image processing program
JP2006162719A (en) Photographic sticker-vending machine and its method and program
JP5505751B2 (en) Image editing apparatus and method, and program
JP4039666B2 (en) Photo sticker vending machine, photo sticker creation method, and program
JP4318564B2 (en) Automatic photo creation device and automatic photo creation method
JP4317971B2 (en) Photo sticker vending machine, photo sticker creation method, and program
JP2016042641A (en) Photographing game device, image processing method, and image processing program
JP5967275B2 (en) Photographic game machine, its control method and control computer
JP5998344B2 (en) Shooting game machine, shooting game machine control method, and computer program
JP6468386B2 (en) PHOTOGRAPHIC GAME DEVICE, IMAGE PROCESSING METHOD, AND IMAGE PROCESSING PROGRAM
JP2003330069A (en) Photographic printing device, method for controlling operation of photographic printing device and printing paper unit
JP4062727B2 (en) Image printing apparatus and method
JPH08191956A (en) Divination device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041006

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20050119

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050413

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20070403

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080916

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090421

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100820

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101007

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101101

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

Free format text: PAYMENT UNTIL: 20131105

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4621396

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term