JP2004265168A - Image generating device, image generating method, image generating program, program recording medium and portable telephone terminal - Google Patents
Image generating device, image generating method, image generating program, program recording medium and portable telephone terminal Download PDFInfo
- Publication number
- JP2004265168A JP2004265168A JP2003055188A JP2003055188A JP2004265168A JP 2004265168 A JP2004265168 A JP 2004265168A JP 2003055188 A JP2003055188 A JP 2003055188A JP 2003055188 A JP2003055188 A JP 2003055188A JP 2004265168 A JP2004265168 A JP 2004265168A
- Authority
- JP
- Japan
- Prior art keywords
- image
- area
- center point
- straight line
- region
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 49
- 238000010586 diagram Methods 0.000 description 27
- 241001465754 Metazoa Species 0.000 description 21
- 238000012545 processing Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 230000010076 replication Effects 0.000 description 2
- 238000003786 synthesis reaction Methods 0.000 description 2
- 239000002131 composite material Substances 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Landscapes
- Image Analysis (AREA)
- Image Processing (AREA)
- Studio Circuits (AREA)
- Editing Of Facsimile Originals (AREA)
- Telephone Function (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、画像生成装置、画像生成方法、画像生成プログラム、プログラム記録媒体及び携帯電話端末に関し、特に、携帯電話端末上においても実施可能な画像生成処理に関する。
【0002】
【従来の技術】
従来の技術としては、特許文献1に示す特開平8−300978号公報「顔画像の処理装置」がある。該特許文献1に記載の技術は、顔画像を撮影して得られた入力画像データを2値化情報に変換した後、該2値化情報から、目の上下幅に対応する所定長以下の黒レベルを抽出して、入力画像データ中の目存在領域を分析すると共に鼻孔存在領域を分析し、更には、撮影した入力画像データの顔の中心線を算出する技術に関するものである。即ち、該特許文献1に記載の技術は、車の運転者の顔画像のうち、目存在領域を更に正確に抽出するために、顔の中心線を算出して、得られた顔の中心線に基づいて、目存在領域を更に限定するための技術であり、撮影時の周囲環境(太陽光の高度や向き、木漏れ日下の走行など)の変化によらず、また、運転者の顔の個人差の影響を受けることなく、顔の目存在領域部分を正確に抽出せんとするものである。
【0003】
一方、左右(又は上下)対称の画像を得るための従来の技術としては、鏡を使って直接見るか、パソコンに代表されるような計算機上で画像データを分析し計算することが必要であった。
【0004】
【特許文献1】
特開平8−300978号公報
(第11−13、17頁、図1、9、28)
【0005】
【発明が解決しようとする課題】
しかしながら、前記特許文献1に示す特開平8−300978号公報の技術は、大変複雑な処理を必要としており、かかる処理を実施するためには、画像生成装置として処理性能が非常に高い処理装置が必須である。
【0006】
また、左右(又は上下)対称の画像を鏡で実現する場合には、個人で見て楽しむだけであり、左右(又は上下)対称の画像を保存したり、他の人と見合ったりするといったことはできない、また、パソコンに代表されるような計算機上で画像データを分析し計算するという従来技術の場合も、操作が煩雑になってしまうという問題があった。
【0007】
本発明は、かかる事情に鑑みてなされたものであり、処理性能を要することもなく、複雑な操作を伴うこともなく、より簡単に、入力画像から左右(又は上下)対称な画像に加工することができ、例えば、携帯電話端末上でも実現することができる画像生成技術を提供することを目的とする。
【0008】
【課題を解決するための手段】
前述のごとき問題を解決するために、本発明は、以下のごとき各技術手段のいずれかを備えている。
第1の技術手段は、入力画像から、A領域、B領域、C領域の3つの領域をそれぞれ定義する領域定義手段と、定義された前記A領域と前記B領域との各中心点から前記A領域と前記B領域とを示すAB領域の中心点を算出するAB領域中心点算出手段と、定義された前記C領域の中心点を算出するC領域中心点算出手段と、前記AB領域中心点算出手段と前記C領域中心点算出手段とからそれぞれ得られる前記AB領域の中心点と前記C領域の中心点とを通る直線を算出する直線算出手段とを有している画像生成装置とすることを特徴とするものである。
【0009】
第2の技術手段は、前記第1の技術手段に記載の画像生成装置において、前記AB領域中心点算出手段と前記C領域中心点算出手段とからそれぞれ得られる前記AB領域の中心点と前記C領域の中心点との位置関係に基づいて、入力画像の方向を判定する方向判定手段を有している画像生成装置とすることを特徴とするものである。
【0010】
第3の技術手段は、前記第1又は第2の技術手段に記載の画像生成装置において、前記直線算出手段が算出した前記直線により分割された二つの画像領域のうち、一方の画像領域を、複製元の画像領域を示す複製画像領域として決定し、該複製画像領域側の画像を反転させて、他方の複製先の画像領域側に前記直線と線対称となるように画像複製する反転複製手段を有している画像生成装置とすることを特徴とするものである。
【0011】
第4の技術手段は、前記第1乃至第3の技術手段のいずれかに記載の画像生成装置において、予め設定されている一定の規則に規定される回数分、複数回繰り返して画像を反転複製すると共に、それぞれの反転複製により得られた各画像を前記一定の規則に規定される画像複製方法により画像複製する複数反転複製手段を有している画像生成装置とすることを特徴とするものである。
【0012】
第5の技術手段は、少なくとも、画像を表示する表示手段と、画像を記憶する記憶手段と、画像を入力する入力画像手段とを有し、更に、前記第1乃至第4の技術手段のいずれかに記載の画像生成装置を有している携帯電話端末とすることを特徴とするものである。
【0013】
第6の技術手段は、入力画像から、A領域、B領域、C領域の3つの領域をそれぞれ定義して、定義された前記A領域と前記B領域との各中心点から前記A領域と前記B領域とを示すAB領域の中心点を算出すると共に、定義された前記C領域の中心点を算出し、算出された前記AB領域の中心点と前記C領域の中心点とを通る直線を算出する画像生成方法とすることを特徴とするものである。
【0014】
第7の技術手段は、前記第6の技術手段に記載の画像生成方法において、算出された前記AB領域の中心点と前記C領域の中心点との位置関係に基づいて、入力画像の方向を判定する画像生成方法とすることを特徴とするものである。
【0015】
第8の技術手段は、前記第6又は第7の技術手段に記載の画像生成方法において、算出された前記直線により分割された二つの画像領域のうち、一方の画像領域を、複製元の画像領域を示す複製画像領域として決定し、該複製画像領域側の画像を反転させて、他方の複製先の画像領域側に前記直線と線対称となるように画像複製する画像生成方法とすることを特徴とするものである。
【0016】
第9の技術手段は、前記第6乃至第8の技術手段のいずれかに記載の画像生成方法において、予め設定されている一定の規則に規定される回数分、複数回繰り返して画像を反転複製すると共に、それぞれの反転複製により得られた各画像を前記一定の規則に規定される画像複製方法により画像複製する画像生成方法とすることを特徴とするものである。
【0017】
第10の技術手段は、少なくとも、画像を表示する表示手段と、画像を記憶する記憶手段と、画像を入力する入力画像手段とを有し、更に、前記第6乃至第9の技術手段のいずれかに記載の画像生成方法を実施することができる携帯電話端末とすることを特徴とするものである。
【0018】
第11の技術手段は、入力画像から、A領域、B領域、C領域の3つの領域をそれぞれ定義する領域定義ステップと、定義された前記A領域と前記B領域との各中心点から前記A領域と前記B領域とを示すAB領域の中心点を算出するAB領域中心点算出ステップと、定義された前記C領域の中心点を算出するC領域中心点算出ステップと、前記AB領域中心点算出ステップと前記C領域中心点算出ステップとからそれぞれ得られる前記AB領域の中心と前記C領域の中心を結ぶ直線を算出する直線算出ステップとを有している画像生成プログラムとすることを特徴とするものである。
【0019】
第12の技術手段は、前記第11の技術手段に記載の画像生成プログラムにおいて、前記AB領域中心点算出ステップと前記C領域中心点算出ステップとからそれぞれ得られる前記AB領域の中心点と前記C領域の中心点との位置関係に基づいて、入力画像の方向を判定する方向判定ステップを有している画像生成プログラムとすることを特徴とするものである。
【0020】
第13の技術手段は、前記第11又は第12の技術手段に記載の画像生成プログラムにおいて、前記直線算出ステップが算出した前記直線により分割された二つの画像領域のうち、一方の画像領域を、複製元の画像領域を示す複製画像領域として決定し、該複製画像領域側の画像を反転させて、他方の複製先の画像領域側に前記直線と線対称となるように画像複製する反転複製ステップを有している画像生成プログラムとすることを特徴とするものである。
【0021】
第14の技術手段は、前記第11乃至第13の技術手段のいずれかに記載の画像生成プログラムにおいて、予め設定されている一定の規則に規定される回数分、複数回繰り返して画像を反転複製すると共に、それぞれの反転複製により得られた各画像を前記一定の規則に規定される画像複製方法により画像複製する複数反転複製ステップを有している画像生成プログラムとすることを特徴とするものである。
【0022】
第15の技術手段は、少なくとも、画像を表示する表示手段と、画像を記憶する記憶手段と、画像を入力する入力画像手段とを有し、更に、前記第11乃至第14の技術手段のいずれかに記載の画像生成プログラムを実行させることができる携帯電話端末とすることを特徴とするものである。
【0023】
第16の技術手段は、入力画像から、A領域、B領域、C領域の3つの領域をそれぞれ定義する領域定義ステップと、定義された前記A領域と前記B領域との各中心点から前記A領域と前記B領域とを示すAB領域の中心点を算出するAB領域中心点算出ステップと、定義された前記C領域の中心点を算出するC領域中心点算出ステップと、前記AB領域中心点算出ステップと前記C領域中心点算出ステップとからそれぞれ得られる前記AB領域の中心と前記C領域の中心を結ぶ直線を算出する直線算出ステップとを有している画像生成プログラムをコンピュータ読み取り可能な記録媒体に記録しているプログラム記録媒体とすることを特徴とするものである。
【0024】
第17の技術手段は、前記第16の技術手段に記載のプログラム記録媒体において、前記AB領域中心点算出ステップと前記C領域中心点算出ステップとからそれぞれ得られる前記AB領域の中心点と前記C領域の中心点との位置関係に基づいて、入力画像の方向を判定する方向判定ステップを有している画像生成プログラムをコンピュータ読み取り可能な記録媒体に記録しているプログラム記録媒体とすることを特徴とするものである。
【0025】
第18の技術手段は、前記第16又は第17の技術手段に記載のプログラム記録媒体において、前記直線算出ステップが算出した前記直線により分割された二つの画像領域のうち、一方の画像領域を、複製元の画像領域を示す複製画像領域として決定し、該複製画像領域側の画像を反転させて、他方の複製先の画像領域側に前記直線と線対称となるように画像複製する反転複製ステップを有している画像生成プログラムをコンピュータ読み取り可能な記録媒体に記録しているプログラム記録媒体とすることを特徴とするものである。
【0026】
第19の技術手段は、前記第16乃至第18の技術手段のいずれかに記載のプログラム記録媒体において、予め設定されている一定の規則に規定される回数分、複数回繰り返して画像を反転複製すると共に、それぞれの反転複製により得られた各画像を前記一定の規則に規定される画像複製方法により画像複製する複数反転複製ステップを有している画像生成プログラムをコンピュータ読み取り可能な記録媒体に記録しているプログラム記録媒体とすることを特徴とするものである。
【0027】
第20の技術手段は、少なくとも、画像を表示する表示手段と、画像を記憶する記憶手段と、画像を入力する入力画像手段とを有し、更に、前記第16乃至第19の技術手段のいずれかに記載のプログラム記録媒体を装着して、該プログラム記録媒体に記録されている画像生成プログラムを読み取って、実行させることができる携帯電話端末とすることを特徴とするものである。
【0028】
而して、前記AB領域の中心点と前記C領域の中心点とを通る直線を作成することにより、入力画像(例えば、人間の顔、動物の顔、時計等)の中心線を容易に決定することが可能になる。
また、前記AB領域の中心点と前記C領域の中心点との位置関係から、入力画像の方向を自動的に検知することにより、入力画像(例えば、人間の顔、動物の顔、時計等)が如何なる向きで入力された場合であっても、ユーザの意向に沿うような、画像生成を正確に実施することができる。
また、反転複製した画像を得ることにより、例えば、入力画像(例えば、人間の顔、動物の顔、時計等)の中心線から一方の画像領域の画像(ユーザが所望する画像領域側の画像)のみを用いた線対称の画像を生成することが可能になる。また、例えば、入力画像(例えば、人間の顔、動物の顔、時計等)を中心線から一方の画像領域の画像のみを用いた線対称の画像を、予め設定された回数分、繰り返して反転複製することにより、万華鏡のごとき特有の画像を生成することが可能になる。
更には、前述のような作用効果を発揮する画像生成装置を携帯電話端末に備えさせることによって、簡単に、加工した画像を、他の人に見せたり、保存したりすることが可能になる。
【0029】
【発明の実施の形態】
本発明に係る画像生成装置、画像生成方法、画像生成プログラム、プログラム記録媒体及び携帯電話端末の実施の形態について、以下に図面を参照しながら順次説明する。
図1は、本発明に係る画像生成装置、画像生成方法、画像生成プログラム、プログラム記録媒体を適用した携帯電話端末の外観を表している。図1に示すように、本発明に係る携帯電話端末10は、少なくとも、画像を表示する表示手段11と、画像を記憶する記憶手段12と、更には、画像を入力するための入力画像手段としての外部データ入力端子13とを備えており、図示していない制御部の制御に基づいて、外部データ入力端子13から入力された入力画像は記憶手段12に記憶され、記憶手段12に記憶されている画像は表示手段11に表示可能なように構成されている。
【0030】
なお、図1には図示していないが、携帯電話端末10には、後述するような本発明に係る画像生成装置を内蔵させて、該画像生成装置を起動・停止させること、あるいは、本発明に係る画像生成プログラムを図示していない制御部に格納させて実行させること、あるいは、本発明に係るプログラム記録媒体を外部データ入力端子13を介して接続したカードスロットに装着して、該プログラム記録媒体に記録されている本発明に係る画像生成プログラムを図示していない制御部に読み込んで格納させること、又は、サーバ等から本発明に係る画像生成プログラムをダウンロードさせて制御部に格納させて実行させること、更には、本発明に係る画像生成方法を実施させることができる手段を備えさせることも可能である。
【0031】
図2は、本発明に係る画像生成装置のブロック構成の一例を示すブロック構成図である。図2に示す画像生成装置20は、入力画像からA領域、B領域、C領域の3つの部分画像領域をそれぞれ定義する領域定義手段21と、定義されたA領域とB領域との各中心点から該A領域と該B領域とを示すAB領域の中心点を算出するAB領域中心点算出手段22と、定義されたC領域の中心点を算出するC領域中心点算出手段23と、前記AB領域の中心点と前記C領域の中心点とを通る直線を算出する直線算出手段24とを備え、更に、前記AB領域の中心点と前記C領域の中心点との位置関係に基づいて、入力画像の方向を判定する方向判定手段25、及び/又は、直線算出手段24により算出された直線により分割された二つの画像領域のうち、一方の画像領域を複製元の画像領域を示す複製画像領域として決定し、該複製画像領域側の画像を反転させて、他方の複製先の画像領域側に前記直線と線対称となるように画像複製する反転複製手段26を備えている。
ここで、方向判定手段25と反転複製手段26とは、いずれか一方の手段のみを備える構成としても良いし、両方の手段を備えるように構成しても良い。
【0032】
以下に、図2に示す画像生成装置20の動作について説明する。
まず、領域定義手段21により、入力画像からA領域、B領域、C領域をそれぞれ定義する。ここで、A領域、B領域、C領域は、画面表示された入力画像に対して、ユーザがそれぞれの領域を指定することにより定義されるものである。図3は、携帯電話端末10の表示手段11に画面表示された入力画像に対して、ユーザがA領域、B領域、C領域を指定した状態を拡大して示した概念図である。
即ち、図3の概念図は、ユーザが、表示手段11に画面表示された入力画像の左上の画像領域をA領域110と、右上の画像領域をB領域120と、中央下の画像領域をC領域130とそれぞれ矩形状に指定して定義している状態を示している。
【0033】
ここで、図3に示すA領域110、B領域120、C領域130の矩形状の各画像領域は、それぞれ対角線上の頂点である、点A1(Xa1,Ya1)111と点A2(Xa2,Ya2)112 、点B1(Xb1,Yb1)121と点B2(Xb2,Yb2)122、点C1(Xc1,Yc1)131と点C2(Xc2,Yc2)132により表現することができる。なお、括弧内は、それぞれの点のX座標、Y座標の座標位置を示している。
【0034】
AB領域中心点算出手段22及びC領域中心点算出手段23は、それぞれ一般的な中点を求める計算式を用いて、AB領域の中心点及びC領域の中心点で求めることができる。即ち、X座標位置がそれぞれXa1,Xa2である2点の中点のX座標位置は、{(Xa1+Xa2)/2}のような簡単な加重平均計算式により求めることができる。
【0035】
AB領域中心点算出手段22は、AB領域の中心点を算出する場合、まず、A領域の中心点Ac(AcX,AcY)113とB領域の中心点Bc(BcX,BcY)123とを、それぞれ{(Xa1+Xa2)/2 ,(Ya1+Ya2)/2}と{(Xb1+Xb2)/2 ,(Yb1+Yb2)/2}として求め、更に、AB領域の中心点ABc(ABcX,ABcY)143を{(AcX+BcX)/2 ,(AcY+BcY)/2}として算出する。
一方、C領域中心点算出手段23は、C領域の中心点Cc(CcX,CcY)133を{(Xc1+Xc2)/2 ,(Yc1+Yc2)/2}として算出する。
【0036】
図4は、入力画像として動物の顔部分が画面表示されている場合に、A領域、B領域、C領域をそれぞれ指定した場合の一例を示している。
図4に示す概念図では、動物の顔を例として表しているが、人物であっても、風景であっても、如何なる画像であっても良い。
図4に示す動物の顔の場合、左目の画像領域をA領域110、右目の画像領域をB領域120、鼻の画像領域をC領域130として指定している例を示しているが、A領域110、B領域120、C領域130としては、かかる場合に限るものではなく、例えば、A領域110とB領域120として、それぞれ左目と右目の代わりに、左耳と右耳との画像領域を指定しても良いし、あるいは、B領域120とC領域130として、それぞれ右目と鼻の代わりに、鼻と右頬との画像領域を指定しても、更には、如何なる部分の部分画像領域であっても構わない。
【0037】
なお、領域定義手段21として、前述においては、入力画像が表示されている画面表示を見て手動でユーザが指定することとしているが、入力画像を画面表示することなく、予めA領域、B領域、C領域を表示手段11上にユーザが定義しておくようにしても良いし、あるいは、A領域、B領域、C領域を自動的に定義させるようにしても良く、如何なる定義方法を用いて各領域を定義することとしても構わない。
【0038】
次に、直線算出手段24は、AB領域中心点算出手段22とC領域中心点算出手段23とによりそれぞれ算出されたAB領域の中心点ABc(ABcX,ABcY)143とC領域の中心点Cc(CcX,CcY)133とを通る直線l150を求めるものであり、直線l150の算出方法は、ごく一般的なもので構わない。
即ち、2点ABc(ABcX,ABcY)143、Cc(CcX,CcY)133とを結ぶ直線l150は、次のような簡単な計算式で求めることができる。
y={(ABcY−CcY)/(ABcX−CcX)}・(x−ABcX)+ABcY
図5は、図4に示す概念図に基づいて直線l150を算出した場合の概念を示している。
【0039】
方向判定手段25は、AB領域中心点算出手段22とC領域中心点算出手段23とによりそれぞれ算出されたAB領域の中心点ABc(ABcX,ABcY)143とC領域の中心点Cc(CcX,CcY)133との位置関係を判定することにより、入力画像の方向を求める。例えば、入力画像の方向を求める場合の一例を示すと、以下のような判定を行う。
ここで、座標軸が、右上が(0,0)で表される場合において、
ABcX≦CcX かつ ABcY>CcY の場合、Y座標のマイナス方向が上方向、
ABcX≦CcX かつ ABcY<CcY の場合、Y座標のプラス方向が上方向、
ABcX<CcX かつ ABcY=CcY の場合、X座標のプラス方向が上方向、
ABcX>CcX かつ ABcY=CcY の場合、X座標のマイナス方向が上方向、
…
などといった判定方法により、入力画像の方向を決定することができる。
【0040】
かくのごとき方向判定手段25を用いることにより、入力画像の上下を決定することができるので、例えば、中心点ABc(ABcX,ABcY)143とC領域の中心点Cc(CcX,CcY)133とを通る直線l150に向かって右側と左側との画像を容易に判別することが可能となる。而して、入力画像の左右対称の画像に加工する際に、ユーザが実施すべき操作が理解し易くなる。
前記図5の概念図においては、前述のように、ABcX≦CcX かつ ABcY>CcY の場合であり、Y座標のマイナス方向が上方向である場合を表している。
なお、上下方向を決定する必要がない入力画像の場合には、当然のことながら、前述したように、方向判定手段25を使用する必要は無い。
【0041】
次に、図5に示した概念図を用いて、入力画像から左右対称の画像に加工するための反転複製手段26の動作について説明する。
反転複製手段26は、図5に示す直線l150に向かって右側の画像領域R160(或いは、上側の画像領域)、左側の画像領域L165(或いは、下側の画像領域)のいずれかを、複製元の画像領域を示す複製画像領域として決定し、該複製画像領域の複製外範囲(即ち、前記複製画像領域として決定された画像領域と直線l150を挟んで反対側の画像領域)に対して、直線l150と線対称となるように、前記複製画像領域の画像を反転させて複製して、複製元の元画像と反転複製した画像との両者の画像を合成することにより、直線l150を中心にして左右対称(或いは、上下対称)な画像を生成する。
【0042】
ここで、反転複製手段26が行う画像の反転方法については、直線算出手段24にて算出された直線l150に対して、各画素が数学的に線対称となる位置になるように、画素位置をそれぞれ算出することにより画像を反転させることができる。
而して、複製画像領域の画像と反転複製させた画像とを画像合成することにより、直線算出手段24にて求められた直線l150に対して、左右対称、又は、上下対象な画像を作成することができる。
【0043】
図6は、図5に示す概念図の直線l150の右側にある画像領域Rの画像を反転複製して画像合成した結果を画面表示している例を示している。また、図7は、図5に示す概念図の直線l150の左側にある画像領域Lの画像を反転複製して画像合成した結果を画面表示している例を示している。
即ち、図4に示す入力画像の動物の顔を直線l150により右半分の画像領域R160と左半分の画像領域L165との画像に分割して、図6に示すイメージ図は、右半分の画像領域R160の画像のみで構成された顔図を示し、図7に示すイメージ図は、左半分の画像領域L165の画像のみで構成された顔図を示している。
【0044】
次に、図4から図7に至るまでの画像生成手順について、図8の動作フローチャートを用いて更に説明する。
まず、領域定義手段21を用いて、図4に示す動物の顔のような入力画像に対して、A領域110、B領域120、C領域130がそれぞれ予め定義されているものとする。
ここで、A領域110としては、一例として動物の左目を定義している。B領域120としては、一例として動物の右目を定義している。また、C領域130としては、一例として動物の鼻を定義している。
【0045】
まず、AB領域中心点算出手段22により、A領域110とB領域120とのそれぞれ中心点Ac113、Bc123を結んだ中点であるAB領域の中心点ABc143(動物の両目の間の中点)を求める(ステップS1)。次に、C領域中心点算出手段23によりC領域130の中心点Cc133(動物の鼻の中点)を求める(ステップS2)。次いで、直線算出手段24により、AB領域の中心点ABc143とC領域の中心点Cc133とを通る直線l150を求める(ステップS3)。更に、方向判定手段25により、入力画像の方向を判定し(ステップS4)、反転複製手段26において、入力画像の方向を参考にして、複製元とする複製画像領域を決定し、直線l150の線対称となるように、複製画像領域の画像を反転複製して、複製画像領域の画像と画像合成を行う(ステップS5)。
【0046】
次に、本発明に係る画像生成装置について、図2に示すブロック構成図とは異なる構成からなる他のブロック構成例を説明する。図9は、本発明に係る画像生成装置のブロック構成の他の例を示すブロック構成図である。図9に示す画像生成装置20′は、図2に示す画像生成装置20の各回路ブロック(即ち、領域定義手段21、AB領域中心点算出手段22、C領域中心点算出手段23、直線算出手段24、方向判定手段25、反転複製手段26)の他に、更に、予め設定されている一定の規則に基づいて、画像を複数回反転複製して画像合成する複数反転複製手段27を備えている。
ここで、図2の画像生成装置20と同様に、方向判定手段25と反転複製手段26とは、いずれか一方の手段のみを備える構成としても良いし、両方の手段を備えるように構成しても良いし、更には、両方の手段を全く備えないように構成しても良い。
【0047】
図9に示す画像生成装置20′の画像生成手順について、図10に示す概念図を用いて接続する。ここに、図10は、予め設定されている一定の規則に基づいて、画像を複数回反転複製して画像合成した結果を画面表示している例を示している。
図9に示す画像生成装置20′においても、基本的な画像生成手順は、前記図8の動作フローチャートにて示したものと同様であり、図8に示した各動作ステップを終了した後(即ち、入力画像を直線l150に対して線対称に反転複製することにより得られる左右対称又は上下対象な画像を作成した後)、複数反転複製手段27により、予め設定されている或る一定の規則に規定される回数分、反転複製手段26により生成されている左右対称又は上下対象な画像を、更に複数回繰り返して反転複製させて、しかる後に、それぞれ反転複製により得られた各画像を前記或る一定の規則に規定される画像複製方法により画像複製する、即ち、前記或る一定の規則で指定されている位置にそれぞれの画像を複製して配置し、画像合成する。
【0048】
なお、前述のように、反転複製手段26による反転複製処理を施すことなく、入力画像そのものに対して、前記或る一定の規則に基づいて、複数反転複製手段27により複数回の反転複製を施し、得られた複数枚の画像を指定された位置に配置して合成することとしても良い。
図10に示す概念図の場合、複数反転複製手段27において、予め設定されている前記或る一定の規則に基づいて、図5に示す概念図の直線l150の左側にある画像領域Lの画像を直線l150に対して線対称に反転複製して生成した画像を、左右対称の動物の顔図を、更に反転複製を繰り返すことにより得られる合計複数枚の画像例えば6枚の画像を、表示手段11の四隅の位置と左右の境界線の中央位置とにそれぞれ配置し、かつ、表示手段11の中心方向にそれぞれ動物の顔の上方向が向くように加工して配置している例を示している。
【0049】
ここで、前記或る一定の規則とは、画像生成装置20′の複数反転複製手段27の動作内容を指定するために、自動的に、或いは、ユーザにより予め設定されるものであり、例えば、元画像を何回繰り返して反転複製するか、また、反転前の元画像を含め反転複製した各画像を如何に加工して配置するかなどを指定するものである。予め設定されている前記或る一定の規則に基づいて、元画像に対する加工が繰り返して施されることになる。
即ち、前記或る一定の規則を予め適宜設定することにより、複数反転複製手段27により、図10に示すように、あたかも万華鏡のような画像を生成することも可能であり、通常の入力画像からは想像することができないような画像に加工した合成画像を生成することも容易に可能である。
【0050】
【発明の効果】
以上に詳細に説明してきたように、本発明に係る画像生成装置、画像生成方法、画像生成プログラム、プログラム記録媒体及び携帯電話端末によれば、以下のごとき作用効果を得ることができる。
前記AB領域の中心点と前記C領域の中心点とを通る直線を作成することにより、入力画像中の撮影物の中心線、例えば、人の顔、動物の顔、時計等の静物、風景等の中心線を決定することが可能になる。
【0051】
また、入力画像の方向を自動的に検知することにより、入力画像(例えば、人間の顔、動物の顔、時計等)が如何なる向きで入力された場合であっても、ユーザの意向に沿うような、画像生成を正確に実施させることができる。
即ち、入力画像が、例えば、人間の顔のように方向性を持っているような場合、如何なる顔の向きで映っている入力画像であっても、正確に人間の顔の方向を認識することができ、画像の生成処理をユーザが所望する通りに正確に実施させることが可能になる。また、入力画像が人物ではない場合であっても、方向が判明することによって、画像生成の際に、ユーザの操作上の間違いを防ぐことが可能になる。
【0052】
また、反転複製した画像を得ることにより、例えば、入力画像(例えば、人間の顔、動物の顔、時計等)の中心線から一方の画像領域の画像(ユーザが所望する画像領域側の画像)のみを用いた線対称の画像を生成することが可能になる。例えば、入力画像がユーザ本人の顔や人体のような場合でも、その右半分のみ又は左半分のみ(或いは、上半分のみ又は下半分のみ)の画像のみを用いて、左右対称(或いは、上下対称)の画像を生成することが可能であり、通常、ユーザ自身が見ることのできない容姿を容易に確認することができるので、例えば、ユーザ自身の顔や人体の歪みを把握することもできる。
又は、例えば、入力画像が丸い時計のような場合には、文字盤の表示が実物とは異なった画像にすることができる等、遊び心のある演出を楽しむことも可能となる。
【0053】
また、例えば、入力画像(例えば、人間の顔、動物の顔、時計等)を中心線から一方の画像領域の画像のみを用いた線対称の画像を、予め設定された回数分、繰り返して、反転複製することにより、万華鏡のごとき、入力画像からは想像もできないような特有の画像を生成することが容易に可能になる。
【0054】
更には、前述のごとき作用効果を発揮する画像生成処理機能(画像生成装置、画像生成方法の実施手段、画像生成プログラムの実行手段、あるいは、プログラム記録媒体の読み取り手段のいずれか)を携帯電話端末に備えさせることによって、簡単に、加工した画像を、他の人に見せたり、保存したりすることが可能になる。
【図面の簡単な説明】
【図1】本発明に係る携帯電話端末の外観を示す外観図である。
【図2】本発明に係る画像生成装置のブロック構成の一例を示すブロック構成図である。
【図3】携帯電話端末の表示手段に画面表示された入力画像に対して、ユーザがA領域、B領域、C領域を指定した状態を拡大して示した概念図である。
【図4】入力画像として動物の顔部分が画面表示されている場合に、A領域、B領域、C領域をそれぞれ指定した場合の一例を示している概念図である。
【図5】図4に示す概念図に基づいて直線lを算出した場合の概念を示している概念図である。
【図6】図5に示す概念図の直線lの右側にある画像領域Rの画像を反転複製して画像合成した結果を画面表示している例を示した概念図である。
【図7】図5に示す概念図の直線lの左側にある画像領域Lの画像を反転複製して画像合成した結果を画面表示している例を示した概念図である。
【図8】図4から図7に至るまでの画像生成手順について説明している動作フローチャートである。
【図9】本発明に係る画像生成装置のブロック構成の他の例を示すブロック構成図である。
【図10】予め設定されている一定の規則に基づいて、画像を複数回反転複製して画像合成した結果を画面表示している例を示した概念図である。
【符号の説明】
10…携帯電話端末、11…表示手段、12…記憶手段、13…外部データ入力端子、20,20′…画像生成装置、21…領域定義手段、22…AB領域中心点算出手段、23…C領域中心点算出手段、24…直線算出手段、25…方向判定手段、26…反転複製手段、27…複数反転複製手段、110…A領域、111…点A1、112…点A2、113…中心点Ac、120…B領域、121…点B1、122…点B2、130…C領域、123…中心点Bc、131…点C1、132…点C2、133…中心点Cc、143…中心点ABc、150…直線l、160…右側の画像領域R、165…左側の画像領域L。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image generation device, an image generation method, an image generation program, a program recording medium, and a mobile phone terminal, and more particularly, to an image generation process that can be performed on a mobile phone terminal.
[0002]
[Prior art]
As a conventional technique, there is JP-A-8-300978 “Face image processing apparatus” disclosed in
[0003]
On the other hand, as a conventional technique for obtaining a symmetrical (or up-down) image, it is necessary to directly view the image using a mirror or to analyze and calculate the image data on a computer such as a personal computer. Was.
[0004]
[Patent Document 1]
JP-A-8-300978
(Pages 11-13, 17; Figures 1, 9, 28)
[0005]
[Problems to be solved by the invention]
However, the technique disclosed in Japanese Patent Application Laid-Open No. 8-300978 shown in
[0006]
Also, when realizing a symmetrical (or up-down) image with a mirror, it is just for the individual to enjoy the image, and to store the symmetrical (or up-down) symmetrical image or to match another person. Also, in the case of the prior art in which image data is analyzed and calculated on a computer represented by a personal computer, the operation is complicated.
[0007]
The present invention has been made in view of such circumstances, and does not require processing performance, does not involve complicated operations, and more easily processes an input image into a left-right (or up-down) symmetric image. For example, an object of the present invention is to provide an image generation technique that can be realized on a mobile phone terminal.
[0008]
[Means for Solving the Problems]
In order to solve the above problems, the present invention includes any of the following technical means.
A first technical means is a region defining means for respectively defining three regions of an A region, a B region and a C region from an input image, and the A region is defined from each center point of the defined A region and the B region. AB area center point calculation means for calculating the center point of the AB area indicating the area and the B area; C area center point calculation means for calculating the defined center point of the C area; and AB area center point calculation Means and a straight line calculation means for calculating a straight line passing through the center point of the AB area and the center point of the C area obtained from the C area center point calculation means. It is a feature.
[0009]
A second technical means is the image generating apparatus according to the first technical means, wherein the central point of the AB area obtained from the AB area central point calculating means and the central point of the AB area obtained from the C area central point calculating means, respectively, An image generating apparatus includes a direction determining unit that determines a direction of an input image based on a positional relationship with a center point of an area.
[0010]
A third technical means is the image generation device according to the first or second technical means, wherein one of the two image areas divided by the straight line calculated by the straight line calculating means, Inverted duplication means for determining a duplicated image area indicating an original image area, inverting the image on the duplicated image area side, and duplicating the image on the other duplicated image area side so as to be line-symmetric with the straight line. An image generating apparatus having the following.
[0011]
A fourth technical means is the image generating apparatus according to any one of the first to third technical means, wherein the image is inverted and duplicated a plurality of times by a number of times prescribed by a predetermined rule set in advance. And an image generating apparatus having a plurality of inversion duplication means for duplicating each image obtained by each inversion duplication according to the image duplication method prescribed in the above-mentioned predetermined rule. is there.
[0012]
The fifth technical means has at least a display means for displaying an image, a storage means for storing the image, and an input image means for inputting the image, and further includes any one of the first to fourth technical means. A mobile phone terminal having the image generation device according to any one of (1) to (5).
[0013]
Sixth technical means defines three regions, A region, B region, and C region, respectively, from an input image, and defines the A region and the A region from respective center points of the defined A region and the B region. The center point of the AB area indicating the B area is calculated, the center point of the defined C area is calculated, and a straight line passing through the calculated center point of the AB area and the center point of the C area is calculated. The method is characterized in that an image generating method is performed.
[0014]
A seventh technical means is the image generation method according to the sixth technical means, wherein the direction of the input image is changed based on the calculated positional relationship between the center point of the AB area and the center point of the C area. It is characterized in that it is an image generation method to be determined.
[0015]
An eighth technical means is the image generation method according to the sixth or seventh technical means, wherein one of the two image areas divided by the calculated straight line is replaced with an image of the duplication source. An image generation method for determining an image as a duplicate image region indicating a region, inverting the image on the duplicate image region side, and duplicating the image on the other copy destination image region side so as to be line-symmetric with the straight line. It is a feature.
[0016]
A ninth technical means is the image generating method according to any one of the sixth to eighth technical means, wherein the image is inverted and duplicated a plurality of times by the number of times prescribed by a predetermined rule set in advance. And an image generating method for duplicating each of the images obtained by the reverse duplication according to the image duplication method defined by the above-mentioned predetermined rule.
[0017]
The tenth technical means has at least a display means for displaying an image, a storage means for storing an image, and an input image means for inputting an image, and further includes any one of the sixth to ninth technical means. A mobile phone terminal capable of implementing the image generation method described in the item (1) or (2).
[0018]
An eleventh technical means includes an area defining step of defining three areas, an A area, a B area, and a C area, respectively, from the input image, and the A area from the center point of the defined A area and the B area. An AB area center point calculating step of calculating a center point of the AB area indicating the area and the B area; a C area center point calculating step of calculating a defined center point of the C area; and the AB area center point calculating And a straight line calculating step of calculating a straight line connecting the center of the AB area and the center of the C area obtained from the step and the C area center point calculating step. Things.
[0019]
A twelfth technical means is the image generation program according to the eleventh technical means, wherein the center point of the AB area obtained from the AB area center point calculating step and the C area center point calculating step is the same as the C area center point. An image generation program having a direction determination step of determining a direction of an input image based on a positional relationship with a center point of an area.
[0020]
According to a thirteenth technical means, in the image generation program according to the eleventh or the twelfth technical means, one of two image areas divided by the straight line calculated by the straight line calculating step, Inverting and duplicating step of deciding as a duplicated image area indicating the original image area, inverting the image on the duplicated image area side, and duplicating the image on the other duplicated image area side so as to be line-symmetric with the straight line. And an image generating program having the following.
[0021]
The fourteenth technical means is the image generating program according to any one of the eleventh to thirteenth technical means, wherein the image is inverted and duplicated a plurality of times by a number of times prescribed by a preset predetermined rule. And an image generation program having a plurality of inversion duplication steps of duplicating each image obtained by each inversion duplication by the image duplication method prescribed in the above-mentioned predetermined rule. is there.
[0022]
The fifteenth technical means has at least a display means for displaying an image, a storage means for storing an image, and an input image means for inputting an image, and further includes any one of the eleventh to fourteenth technical means. A mobile phone terminal capable of executing the image generation program according to any of the first to third aspects.
[0023]
Sixteenth technical means includes an area defining step of respectively defining three areas, an A area, a B area, and a C area, from the input image, and the A area from the center point of the defined A area and the B area. An AB area center point calculating step of calculating a center point of the AB area indicating the area and the B area; a C area center point calculating step of calculating a defined center point of the C area; and the AB area center point calculating And a computer-readable recording medium storing an image generation program having a straight line calculation step of calculating a straight line connecting the center of the AB area and the center of the C area obtained from the step and the C area center point calculation step. In which the program recording medium is recorded.
[0024]
A seventeenth technical means is the program recording medium according to the sixteenth technical means, wherein the center point of the AB area obtained from the AB area center point calculating step and the C area center point calculating step are respectively equal to the center point of the AB area. A program recording medium recording an image generation program having a direction determining step of determining a direction of an input image based on a positional relationship with a center point of an area on a computer-readable recording medium. It is assumed that.
[0025]
An eighteenth technical means is the program recording medium according to the sixteenth or seventeenth technical means, wherein one of the two image areas divided by the straight line calculated by the straight line calculating step is one of: Inverting and duplicating step of deciding as a duplicated image area indicating the original image area, inverting the image on the duplicated image area side, and duplicating the image on the other duplicated image area side so as to be line-symmetric with the straight line. And a program recording medium that records the image generation program having the above in a computer-readable recording medium.
[0026]
The nineteenth technical means is the program recording medium according to any one of the sixteenth to eighteenth technical means, wherein an image is inverted and duplicated a plurality of times by a number of times prescribed by a predetermined rule set in advance. In addition, an image generation program having a plurality of inversion duplication steps of duplicating each image obtained by each inversion duplication by the image duplication method prescribed in the above-mentioned predetermined rule is recorded on a computer-readable recording medium. It is characterized in that it is a program recording medium in which
[0027]
The twentieth technical means has at least display means for displaying an image, storage means for storing the image, and input image means for inputting the image. A mobile phone terminal capable of loading the program recording medium described in any one of the above and reading and executing an image generation program recorded in the program recording medium.
[0028]
By creating a straight line passing through the center point of the AB area and the center point of the C area, the center line of the input image (for example, a human face, an animal face, a clock, etc.) can be easily determined. It becomes possible to do.
Further, by automatically detecting the direction of the input image from the positional relationship between the center point of the AB area and the center point of the C area, the input image (eg, human face, animal face, clock, etc.) can be obtained. No matter what direction is input, image generation can be performed accurately to meet the user's intention.
Also, by obtaining an image that has been inverted and copied, for example, an image of one image area (an image on the image area side desired by the user) from the center line of the input image (for example, a human face, an animal face, a clock, etc.) It is possible to generate a line-symmetric image using only Further, for example, an input image (for example, a human face, an animal face, a clock, etc.) is repeatedly inverted a line-symmetric image using only an image of one image region from the center line by a preset number of times. By duplication, it becomes possible to generate a unique image such as a kaleidoscope.
Further, by providing the mobile phone terminal with the image generating device that exhibits the above-described functions and effects, the processed image can be easily shown to another person or stored.
[0029]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiments of an image generation device, an image generation method, an image generation program, a program recording medium, and a mobile phone terminal according to the present invention will be sequentially described below with reference to the drawings.
FIG. 1 shows the appearance of a mobile phone terminal to which an image generation device, an image generation method, an image generation program, and a program recording medium according to the present invention are applied. As shown in FIG. 1, a
[0030]
Although not shown in FIG. 1, the
[0031]
FIG. 2 is a block diagram showing an example of a block configuration of the image generating apparatus according to the present invention. An
Here, the
[0032]
Hereinafter, the operation of the
First, the area defining means 21 defines an A area, a B area, and a C area from an input image. Here, the A region, the B region, and the C region are defined by the user designating the respective regions with respect to the input image displayed on the screen. FIG. 3 is a conceptual diagram showing, on an enlarged scale, a state in which the user has designated the A region, the B region, and the C region with respect to the input image displayed on the
That is, in the conceptual diagram of FIG. 3, the user sets the upper left image region of the input image displayed on the screen of the
[0033]
Here, each rectangular image area of the
[0034]
The AB area center point calculation means 22 and the C area center point calculation means 23 can be obtained at the center point of the AB area and the center point of the C area, respectively, using a general formula for calculating the midpoint. That is, the X-coordinate position of the middle point between the two X-coordinate positions Xa1 and Xa2 can be obtained by a simple weighted average calculation formula such as {(Xa1 + Xa2) / 2}.
[0035]
When calculating the center point of the AB area, the AB area center point calculating means 22 first calculates the center point Ac (AcX, AcY) 113 of the A area and the center point Bc (BcX, BcY) 123 of the B area, respectively. {(Xa1 + Xa2) / 2, (Ya1 + Ya2) / 2} and {(Xb1 + Xb2) / 2, (Yb1 + Yb2) / 2}, and further, the center point ABC (ABcX, ABCy) 143 of the AB area is defined as {(AcX + BcX) / 2, (AcY + BcY) / 2}.
On the other hand, the C area center point calculation means 23 calculates the center point Cc (CcX, CcY) 133 of the C area as {(Xc1 + Xc2) / 2, (Yc1 + Yc2) / 2}.
[0036]
FIG. 4 shows an example of a case where the area A, the area B, and the area C are designated when the face of an animal is displayed on the screen as an input image.
In the conceptual diagram shown in FIG. 4, an animal face is shown as an example, but it may be a person, a landscape, or any image.
In the case of the animal face shown in FIG. 4, an example is shown in which the left eye image region is designated as the
[0037]
In the above description, the user manually designates the area definition means 21 while viewing the screen display on which the input image is displayed. , C area may be defined by the user on the display means 11, or the A area, B area, and C area may be automatically defined, using any definition method. Each area may be defined.
[0038]
Next, the straight line calculation means 24 calculates the AB area center point ABC (ABcX, ABcY) 143 and the C area center point Cc (ABcX) calculated by the AB area center point calculation means 22 and the C area center point calculation means 23, respectively. CcX, CcY) 133, and a
That is, a straight line 1150 connecting the two points ABc (ABcX, ABCy) 143 and Cc (CcX, CcY) 133 can be obtained by the following simple calculation formula.
y = {(ABcY-CcY) / (ABcX-CcX)}. (x-ABcX) + ABcY
FIG. 5 shows a concept when a straight line l150 is calculated based on the conceptual diagram shown in FIG.
[0039]
The direction determination means 25 includes a center point ABc (ABcX, ABcY) 143 of the AB area calculated by the AB area center point calculation means 22 and the C area center point calculation means 23 and a center point Cc (CcX, CcY) of the C area. The direction of the input image is determined by determining the positional relationship with the
Here, in the case where the coordinate axis is represented by (0, 0) in the upper right,
When ABcX ≦ CcX and ABcY> CcY, the minus direction of the Y coordinate is the upward direction,
When ABcX ≦ CcX and ABcY <CcY, the plus direction of the Y coordinate is the upward direction,
When ABcX <CcX and ABcY = CcY, the plus direction of the X coordinate is the upward direction,
If ABcX> CcX and ABcY = CcY, the minus direction of the X coordinate is the upward direction,
…
The direction of the input image can be determined by such a determination method.
[0040]
Since the direction of the input image can be determined by using the direction determining means 25 as described above, for example, the center point ABc (ABcX, ABcY) 143 and the center point Cc (CcX, CcY) 133 of the C area are determined. The image on the right side and the image on the left side with respect to the passing straight line 1150 can be easily distinguished. Thus, when processing the input image into a symmetrical image, the operation to be performed by the user can be easily understood.
In the conceptual diagram of FIG. 5, as described above, ABcX ≦ CcX and ABcY> CcY, and the minus direction of the Y coordinate is the upward direction.
In the case of an input image for which it is not necessary to determine the up-down direction, it is not necessary to use the
[0041]
Next, with reference to the conceptual diagram shown in FIG. 5, the operation of the
The reverse duplicating means 26 converts one of the right image area R160 (or upper image area) and the left image area L165 (or lower image area) toward the straight line l150 shown in FIG. Is determined as a duplicated image area indicating the image area of the original image, and a straight line is defined with respect to the non-duplicate range of the duplicated image area (that is, the image area opposite to the image area determined as the duplicated image area with respect to the straight line 1150). By inverting and duplicating the image of the duplicate image area so as to be line-symmetric with l150, and combining both the original image of the duplication source and the inverted duplicated image, the center of the straight line l150 is obtained. A bilaterally symmetric (or vertically symmetric) image is generated.
[0042]
Here, with respect to the image inversion method performed by the
The image in the duplicated image area and the image that has been inverted and duplicated are image-synthesized to create an image that is symmetric with respect to the
[0043]
FIG. 6 shows an example in which the image of the image area R on the right side of the straight line l150 in the conceptual diagram shown in FIG. FIG. 7 shows an example in which the image of the image area L on the left side of the straight line l150 in the conceptual diagram shown in FIG.
That is, the animal face of the input image shown in FIG. 4 is divided into a right half image region R160 and a left half image region L165 by a straight line l150, and the image diagram shown in FIG. FIG. 7 shows a face diagram composed only of the image of the left half image area L165.
[0044]
Next, the image generation procedure from FIG. 4 to FIG. 7 will be further described with reference to the operation flowchart of FIG.
First, it is assumed that the
Here, as the
[0045]
First, the AB area center point calculation means 22 calculates the center point ABc 143 (the middle point between the eyes of the animal) of the AB area, which is the middle point connecting the center points Ac113 and Bc123 of the
[0046]
Next, another example of the block configuration of the image generating apparatus according to the present invention, which is different from the block configuration diagram shown in FIG. 2, will be described. FIG. 9 is a block diagram showing another example of the block configuration of the image generating apparatus according to the present invention. The image generating apparatus 20 'shown in FIG. 9 includes the circuit blocks (that is, the area defining means 21, the AB area center point calculating means 22, the C area center point calculating means 23, and the straight line calculating means) of the
Here, similarly to the
[0047]
The image generation procedure of the image generation apparatus 20 'shown in FIG. 9 is connected using the conceptual diagram shown in FIG. Here, FIG. 10 shows an example in which an image is inverted and duplicated a plurality of times on the basis of a predetermined rule, and the result of image synthesis is displayed on the screen.
In the image generation device 20 'shown in FIG. 9, the basic image generation procedure is the same as that shown in the operation flowchart of FIG. 8, and after the operation steps shown in FIG. After creating an image which is bilaterally symmetrical or vertically symmetrical, obtained by inverting and duplicating the input image in line symmetry with respect to the straight line l150), the plural inverting duplicating means 27 complies with a predetermined certain rule. The left-right symmetric or up-and-down symmetric image generated by the inversion duplication means 26 for the prescribed number of times is repeatedly inverted and duplicated a plurality of times, and then each image obtained by the inversion duplication is replaced with the certain image. The image is duplicated by an image duplication method defined by a certain rule, that is, each image is copied and arranged at a position specified by the certain rule, and the images are synthesized.
[0048]
As described above, without performing the reverse duplication process by the
In the case of the conceptual diagram shown in FIG. 10, the multiple
[0049]
Here, the certain rule is set automatically or by a user in advance in order to specify the operation content of the multiple
That is, by appropriately setting the certain rule in advance, an image like a kaleidoscope can be generated as shown in FIG. It is also possible to easily generate a composite image processed into an image that cannot be imagined.
[0050]
【The invention's effect】
As described above in detail, according to the image generation device, the image generation method, the image generation program, the program recording medium, and the mobile phone terminal according to the present invention, the following effects can be obtained.
By creating a straight line passing through the center point of the AB area and the center point of the C area, the center line of the photographed object in the input image, for example, a human face, an animal face, a still life such as a clock, a landscape, etc. Can be determined.
[0051]
Also, by automatically detecting the direction of the input image, it is possible to follow the user's intention even when the input image (for example, a human face, an animal face, a clock, etc.) is input in any direction. In addition, image generation can be performed accurately.
That is, when the input image has directionality, for example, like a human face, it is necessary to accurately recognize the direction of the human face even if the input image is reflected in any face direction. Thus, the image generation processing can be performed accurately as desired by the user. Further, even when the input image is not a person, the direction can be determined, thereby preventing a user's operation error when generating the image.
[0052]
Also, by obtaining an image that has been inverted and copied, for example, an image of one image area (an image on the image area side desired by the user) from the center line of the input image (for example, a human face, an animal face, a clock, etc.) It is possible to generate a line-symmetric image using only For example, even when the input image is a face or a human body of the user himself, only the right half or only the left half (or only the upper half or only the lower half) of the image is used, and the image is left-right symmetric (or vertically symmetric). ) Can be generated, and it is possible to easily confirm the appearance that the user himself cannot normally see. For example, it is also possible to grasp the distortion of the user's own face and human body.
Alternatively, for example, when the input image is a round clock, the display of the dial can be an image different from the real one, and it is possible to enjoy a playful effect.
[0053]
Further, for example, an input image (for example, a human face, an animal's face, a clock, or the like) is repeatedly subjected to a line-symmetric image using only an image of one image region from the center line by a preset number of times, By performing reverse replication, it is possible to easily generate a unique image such as a kaleidoscope that cannot be imagined from an input image.
[0054]
Further, an image generation processing function (one of an image generation device, an image generation method execution unit, an image generation program execution unit, and a program recording medium reading unit) that exerts the above-described operation and effect is provided to a mobile phone terminal. , It is possible to easily show and save the processed image to other people.
[Brief description of the drawings]
FIG. 1 is an external view showing an external appearance of a mobile phone terminal according to the present invention.
FIG. 2 is a block diagram illustrating an example of a block configuration of an image generating apparatus according to the present invention.
FIG. 3 is a conceptual diagram showing, in an enlarged manner, a state in which a user designates an A region, a B region, and a C region with respect to an input image displayed on a screen of a display unit of a mobile phone terminal.
FIG. 4 is a conceptual diagram showing an example in which an A region, a B region, and a C region are respectively specified when an animal face portion is displayed on a screen as an input image.
FIG. 5 is a conceptual diagram showing a concept when a
6 is a conceptual diagram showing an example in which an image of an image area R on the right side of a straight line l in the conceptual diagram shown in FIG.
7 is a conceptual diagram showing an example in which the image of an image area L on the left side of a straight line l in the conceptual diagram shown in FIG.
FIG. 8 is an operation flowchart illustrating an image generation procedure from FIG. 4 to FIG. 7;
FIG. 9 is a block diagram showing another example of the block configuration of the image generating apparatus according to the present invention.
FIG. 10 is a conceptual diagram showing an example in which an image is inverted and duplicated a plurality of times on the basis of a predetermined rule, and the result of image synthesis is displayed on a screen.
[Explanation of symbols]
DESCRIPTION OF
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003055188A JP2004265168A (en) | 2003-03-03 | 2003-03-03 | Image generating device, image generating method, image generating program, program recording medium and portable telephone terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003055188A JP2004265168A (en) | 2003-03-03 | 2003-03-03 | Image generating device, image generating method, image generating program, program recording medium and portable telephone terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004265168A true JP2004265168A (en) | 2004-09-24 |
Family
ID=33119270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003055188A Pending JP2004265168A (en) | 2003-03-03 | 2003-03-03 | Image generating device, image generating method, image generating program, program recording medium and portable telephone terminal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004265168A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2107529A2 (en) | 2008-04-04 | 2009-10-07 | Nintendo Co., Limited | Storage medium storing image conversion programm and image conversion apparatus |
JP2012109778A (en) * | 2010-11-17 | 2012-06-07 | Olympus Imaging Corp | Imaging apparatus |
US9612710B2 (en) * | 2008-09-04 | 2017-04-04 | Nintendo Co., Ltd. | Storage medium having stored thereon image processing program and image processing apparatus |
-
2003
- 2003-03-03 JP JP2003055188A patent/JP2004265168A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2107529A2 (en) | 2008-04-04 | 2009-10-07 | Nintendo Co., Limited | Storage medium storing image conversion programm and image conversion apparatus |
JP2009251858A (en) * | 2008-04-04 | 2009-10-29 | Nintendo Co Ltd | Image conversion program and image conversion device |
US8643679B2 (en) * | 2008-04-04 | 2014-02-04 | Nintendo Co., Ltd. | Storage medium storing image conversion program and image conversion apparatus |
US9612710B2 (en) * | 2008-09-04 | 2017-04-04 | Nintendo Co., Ltd. | Storage medium having stored thereon image processing program and image processing apparatus |
JP2012109778A (en) * | 2010-11-17 | 2012-06-07 | Olympus Imaging Corp | Imaging apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4986864B2 (en) | Image projection device | |
US7715656B2 (en) | Magnification and pinching of two-dimensional images | |
US8134578B2 (en) | Hybrid importance maps for content aware digital image resizing | |
JP4850818B2 (en) | Image processing apparatus and method | |
CN112288665B (en) | Image fusion method and device, storage medium and electronic equipment | |
US6954223B2 (en) | Stereoscopic image generating apparatus and game apparatus | |
WO2006057267A1 (en) | Face image synthesis method and face image synthesis device | |
JP2012099899A (en) | Image correction device, corrected image generation method, correction table generation device, correction table generation method, correction table generation program, and corrected image generation program | |
CN110827371A (en) | Certificate photo generation method and device, electronic equipment and storage medium | |
CN104350743B (en) | For mixed image demosaicing and the system of distortion, method and computer program product | |
CN110266970A (en) | A kind of short video creating method and system | |
CN115810101A (en) | Three-dimensional model stylizing method and device, electronic equipment and storage medium | |
CN103020900A (en) | Method and device for image processing | |
JP2005267655A (en) | Content reproduction device, method, and program, recording medium with content reproduction program recorded, and portable communication terminal | |
JP2004265168A (en) | Image generating device, image generating method, image generating program, program recording medium and portable telephone terminal | |
CN110675413B (en) | Three-dimensional face model construction method and device, computer equipment and storage medium | |
JP6697726B1 (en) | Image processing device, scanner, projector, image processing method, program | |
CN111275610A (en) | Method and system for processing face aging image | |
CN111062279A (en) | Picture processing method and picture processing device | |
JP2014006604A (en) | Image formation device, image formation method, and program | |
US20230054283A1 (en) | Methods and apparatuses for generating style pictures | |
CN113037990B (en) | Auxiliary shooting method, terminal device and computer-readable storage medium | |
CN116109531A (en) | Image processing method, device, computer equipment and storage medium | |
JP2007219878A (en) | Image layout device, method, and program | |
CN113379624A (en) | Image generation method, training method, device and equipment of image generation model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050810 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060913 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080729 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20081125 |