JP4059455B2 - Image processing apparatus and method, and computer-readable memory - Google Patents

Image processing apparatus and method, and computer-readable memory Download PDF

Info

Publication number
JP4059455B2
JP4059455B2 JP16251698A JP16251698A JP4059455B2 JP 4059455 B2 JP4059455 B2 JP 4059455B2 JP 16251698 A JP16251698 A JP 16251698A JP 16251698 A JP16251698 A JP 16251698A JP 4059455 B2 JP4059455 B2 JP 4059455B2
Authority
JP
Japan
Prior art keywords
image
image data
layout template
layout
input
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 - Fee Related
Application number
JP16251698A
Other languages
Japanese (ja)
Other versions
JPH11353466A (en
Inventor
達夫 伊藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP16251698A priority Critical patent/JP4059455B2/en
Publication of JPH11353466A publication Critical patent/JPH11353466A/en
Application granted granted Critical
Publication of JP4059455B2 publication Critical patent/JP4059455B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、画像データを管理する画像処理装置及びその方法、コンピュータ可読メモリに関するものである。
【0002】
【従来の技術】
従来、デジタルカメラやフィルムスキャナなどの画像取込装置から取込んだ写真画像を、あらかじめ用意されたレイアウトテンプレートに貼り付け、その結果を、パーソナルコンピュータなどの電子機器を介さないでTVなどの表示器もしくはプリンタなどの印刷装置に出力する電子アルバム装置においては、パーソナルコンピュータ等の電子機器の上で、操作者が写真画像を貼り付けるためのレイアウトを作成し写真画像を貼り付けていた。
【0003】
【発明が解決しようとする課題】
しかしながら、上記従来の電子アルバム装置においては、機器内部にデフォルトのレイアウトテンプレートを有するため固定的で柔軟性に欠けたレイアウトとなっていた。また、写真画像を貼り付ける際には、あらかじめレイアウトテンプレートと写真画像を特定していなければならなかったり、写真画像が貼り付け先のエリアのサイズよりも大きい場合には、写真画像が自動的にカットされてしまうなど、制約のある操作性となっていた。このように、従来の電子アルバム装置は、その操作が難しく、操作者には多大な能力と時間を強いるものとなっていた。また、柔軟性に欠けた制約のある操作性を強いるものとなっていた。
【0004】
本発明は上記の問題点を鑑みてなされたものであり、電子アルバムで管理される写真画像に対する操作が容易で、かつ、柔軟性の富んだ画像処理装置及びその方法、コンピュータ可読メモリを提供することを目的とする。
【0005】
【課題を解決するための手段】
上記の目的を達成するための本発明による画像処理装置は以下の構成を備える。即ち、
複数の画像貼付エリアを含むレイアウトテンプレートを複数種類記録する記録媒体から指定されたレイアウトテンプレートを読み出す読出手段と、
複数の画像データ同士のリンク関係を示すリンク情報を前記複数の画像データをソートした場合の順位に従って設定する設定手段と、
前記読出手段により読み出されたレイアウトテンプレートの複数の画像貼付エリアと複数の画像データとを、前記設定手段により設定されたリンク情報に従って、それぞれ対応づけて記憶する記憶手段と、
前記レイアウトテンプレートを切替えるための切替指示を入力する入力手段と、
前記入力手段により切替指示が入力された場合、前記記憶手段に記憶された複数の画像データとレイアウトテンプレートの複数の画像貼付エリアとの対応を、前記切替指示によって前記読出手段により新たに読み出されたレイアウトテンプレートの複数の画像貼付エリアに基づいて変更する変更手段と、
前記変更手段により変更された対応に基づいて、前記レイアウトテンプレートの画像貼付エリアに前記複数の画像データを配置したイメージを展開するイメージ展開手段と、
前記イメージを表示ユニットに表示させる表示制御手段と
を備える。
【0006】
また、好ましくは、前記入力手段は、さらに、前記画像データを切替えるための画像切替指示を入力し、
前記変更手段は、さらに、前記入力手段により画像切替指示が入力された場合、前記画像切替指示によって指定された新たな画像データのリンク情報に基づいて、前記対応を変更する。
【0007】
また、好ましくは、前記設定手段はさらに、前記画像データのスキップ要否を示すスキップ情報を設定し、
前記入力手段は、さらに、前記画像データのスキップ切替指示を入力し、
前記変更手段は、さらに、前記入力手段によりスキップ切替指示が入力された場合、前記画像データに設定されたスキップ情報に基づいて、前記対応を変更する。
【0012】
上記の目的を達成するための本発明による画像処理方法は以下の構成を備える。即ち、
読出手段が、複数の画像貼付エリアを含むレイアウトテンプレートを複数種類記録する記録媒体から指定されたレイアウトテンプレートを読み出す読出工程と、
設定手段が、複数の画像データ同士のリンク関係を示すリンク情報を前記複数の画像データをソートした場合の順位に従って設定する設定工程と、
記憶手段が、前記読出工程により読み出されたレイアウトテンプレートの複数の画像貼付エリアと複数の画像データとを、前記設定工程により設定されたリンク情報に従って、それぞれ対応づけて記憶媒体に記憶する記憶工程と、
入力手段が、前記レイアウトテンプレートを切替えるための切替指示を入力する入力工程と、
変更手段が、前記入力工程により切替指示が入力された場合、前記記憶媒体に記憶された複数の画像データとレイアウトテンプレートの複数の画像貼付エリアとの対応を、前記切替指示によって前記読出工程により新たに読み出されたレイアウトテンプレートの複数の画像貼付エリアに基づいて変更する変更工程と、
イメージ展開手段が、前記変更工程により変更された対応に基づいて、前記レイアウトテンプレートの画像貼付エリアに前記複数の画像データを配置したイメージを展開するイメージ展開工程と、
表示制御手段が、前記イメージを表示ユニットに表示させる表示制御工程と
を備える。
【0013】
上記の目的を達成するための本発明によるコンピュータ可読メモリは以下の構成を備える。即ち、
読出手段が、複数の画像貼付エリアを含むレイアウトテンプレートを複数種類記録する記録媒体から指定されたレイアウトテンプレートを読み出す読出工程と、
設定手段が、複数の画像データ同士のリンク関係を示すリンク情報を前記複数の画像データをソートした場合の順位に従って設定する設定工程と、
記憶手段が、前記読出工程により読み出されたレイアウトテンプレートの複数の画像貼付エリアと複数の画像データとを、前記設定工程により設定されたリンク情報に従って、それぞれ対応づけて記憶媒体に記憶する記憶工程と、
入力手段が、前記レイアウトテンプレートを切替えるための切替指示を入力する入力工程と、
変更手段が、前記入力工程により切替指示が入力された場合、前記記憶媒体に記憶された複数の画像データとレイアウトテンプレートの複数の画像貼付エリアとの対応を、前記切替指示によって前記読出工程により新たに読み出されたレイアウトテンプレートの複数の画像貼付エリアに基づいて変更する変更工程と、
イメージ展開手段が、前記変更工程により変更された対応に基づいて、前記レイアウトテンプレートの画像貼付エリアに前記複数の画像データを配置したイメージを展開するイメージ展開工程と、
表示制御手段が、前記イメージを表示ユニットに表示させる表示制御工程と
をコンピュータに実行させることを特徴とするコンピュータプログラムを記憶したコンピュータ可読メモリ。
【0014】
【発明の実施の形態】
以下、図面を参照して本発明の好適な実施形態について詳細に説明する。
【0015】
図1は本発明の実施形態の電子アルバム装置の基本構成を示す図である。
【0016】
図1に示すように、電子アルバム装置は、CPU110とROM120とキードライバ130とRAM140と外部通信ドライバ150と外部メディアドライバ160と印刷ユニット170と表示ユニット180から構成される。
【0017】
CPU110は、ROM120に記述された各種プログラムを実行し、電子アルバム装置の各種構成要素を制御する。ROM120は、電子アルバム装置の制御を司るメインプログラムをはじめ、各種機能の実行を行うためのプログラムを格納する。また、デフォルト画像データやフォントデータも格納する。
【0018】
キードライバ130は、レイアウトテンプレートの切替指示や写真画像データの特定指示および印刷実行指示といったキーの入力やその他処理に必要なキーの入力が行なわれた場合に、これを取り込み、処理の振り分けを行う。キーの入力は、リモートコントローラにより行うことも可能で、この場合には、リモートコントローラより送られた信号を受け取り、処理の振り分けを行う。
【0019】
RAM140には、外部メディアから読み込まれたレイアウトテンプレートや、レイアウトテンプレートを解析したレイアウト情報、レイアウトテンプレートに付随した画像・フォントデータが展開され格納される。また、写真画像データが外部メディアにより供給される場合には、特定された写真画像データも展開され格納される。更には、レイアウトテンプレートや写真画像データが外部通信ケーブルを通して供給される場合には、このデータも格納する。更に、また、その他の処理に必要なバッファやワークメモリとして使われる。
【0020】
外部通信ドライバ150は、レイアウトテンプレートやそれに付随した画像・フォントデータおよび写真画像データが外部通信ケーブルを通して供給される場合、これらのデータを受け取るのに必要な処理をすべて行う。また、電子アルバム装置からデータを提供する場合には、データを送るのに必要な処理をすべて行う。
【0021】
外部メディアドライバ160は、レイアウトテンプレートやそれに付随した画像・フォントデータおよび写真画像データが外部メディアにより供給される場合、これらのデータを読み取るのに必要な処理をすべて行う。また、電子アルバム装置からデータを保存する場合には、データを書き込むのに必要な処理すべて行う。
【0022】
表示ユニット180は、レイアウトテンプレートに基づき写真画像データを貼り付けた結果を、ディスプレイ等の表示器に表示するために必要な処理をすべて行う。印刷ユニット170は、印刷実行指示により表示器に表示された結果を印刷するのに必要な処理をすべて行う。尚、この印刷ユニット170に関しては、図2に示したように、印刷ユニット170をプリンタドライバ170aに変更すれば、プリンタケーブルを介して外部プリンタ200で印刷する構成にすることもできる。
【0023】
次に、本実施形態の電子アルバム装置の機能構成について、図3を用いて説明する。
【0024】
図3は本発明の実施形態の電子アルバム装置の機能構成を示すブロック図である。
【0025】
図3において、21は表示/印刷用のレイアウトテンプレートであり、デジタルカメラにより撮影された写真画像やスキャナ等の画像読取装置により読み取られた写真画像と、写真画像の回りに貼り付けられる画像データ・フォントデータの画像貼付エリアを記述しており、外部メディアもしくは電子アルバム装置内部のROM120等の記憶媒体の格納エリアに格納されている。11はテンプレート指定部であり、特定のレイアウトテンプレートを指定する。13は写真画像特定部であり、レイアウトテンプレートに貼り付ける写真画像の特定を行う。22はレイアウトテンプレート読込部であり、指定されたレイアウトテンプレートが外部メディアに格納されている場合には、その外部メディアからレイアウトテンプレートを読み込む。
【0026】
23はレイアウト解析部であり、レイアウトテンプレートの内容を解析する。31は画像・フォントデータ格納エリアであり、写真画像データおよび画像データ・フォントデータを格納する。32は画像・フォントデータ管理部であり、画像・フォントデータを管理する。画像・フォントデータ管理部32には、画像・フォントデータが圧縮されている場合にその画像・フォントデータを伸張する伸張部33と、画像・フォントデータの回転方向が指定されている場合にその画像・フォントデータを指定された方向へ回転させる回転部34と、画像・フォントデータの切り取り位置が指定されている場合にその指定された位置で画像・フォントデータの切り取りを行う切取部35と、画像・フォントデータの拡大/縮小倍率が指定されている場合にその指定された倍率で画像・フォントデータの拡大/縮小を行う拡大/縮小部36を有している。
【0027】
41はレイアウト管理部であり、画像・フォントデータを解析されたレイアウト情報に基づいて表示ユニット180上もしくは印刷ユニット170上に出力する。51は表示管理部であり、表示ユニット180に表示上のレイアウトテンプレートに画像・フォントデータを貼り付けた場合にその表示の管理を行う。52は表示実行部であり、レイアウトテンプレートや写真画像データ、画像・フォントデータ等を表示ユニット180によって表示する。61はレイアウト印刷管理部であり、印刷指示部12により印刷実行の指示がなされた場合に、指定された写真画像データを印刷ユニット170が印刷する記録媒体上のレイアウトに貼り付ける。62は印刷実行部であり、レイアウトテンプレートや写真画像データ、画像・フォントデータ等を印刷ユニット170によって印刷する。
【0028】
次に、本実施形態で実行される処理の概要について、図4を用いて説明する。
図4は本発明の実施形態で実行される処理の概要を示す図である。
【0029】
本発明の電子アルバム装置においては、9−1に示す指定されたレイアウトテンプレートを読み出し、その読み出したレイアウトテンプレートの画像貼付エリアのレイアウトを解析する。この場合、画像貼付エリアとして、61〜67が解析される。そして、解析されたレイアウトに、指定された画像貼付エリアへ写真画像データを貼り付けることで電子アルバムの表示および印刷を行う。読み出されたレイアウトテンプレートを示すデータは、1次元のページ記述言語により記述されるので、これをレイアウト解析により2次元のデータ記述に変換し、イメージへの展開を行う。
【0030】
また、レイアウトテンプレートの切替指示により、例えば、9−1に示すレイアウトテンプレートから9−2に示すレイアウトテンプレートへ切替を行う場合には、レイアウトテンプレートのみの変更を行う。次に、指定変更された別のレイアウトテンプレートを読み出し、読み出されたレイアウトテンプレートの解析を再度行う。そして、指定された画像貼付エリアへ切り替え前に特定されていた写真画像データを貼り替る。
【0031】
また、写真画像データの切替指示により、9−2に示すレイアウトテンプレートに貼り付けられる写真画像データから9−3に示す写真画像データへ切替を行う場合には、レイアウトテンプレートは切り替えずに写真画像データのみの変更を行う。つまり、9−2に示すレイアウトテンプレートの画像貼付エリアに、切替対象の写真画像データを指定した写真画像データへ貼り替える。
【0032】
次に、本実施形態で実行される処理の処理フローについて、図5を用いて説明する。
【0033】
図5は本発明の実施形態で実行される処理の処理フローを示すフローチャートである。
【0034】
まず、電源が投入されると、ステップS100で、各種初期化を行うイニシャル処理を行う。このイニシャル処理の詳細について、図6を用いて説明する。
【0035】
図6は本発明の実施形態のイニシャル処理の詳細を示すフローチャートである。
【0036】
まず、ステップS110で、電子アルバム装置を起動させるのに必要な初期化を行うシステムイニシャル処理を行う。ステップS120で、写真画像データ格納エリアにある写真画像データをレイアウトテンプレート上に貼り付けるのに必要となる各種情報を設定する写真画像情報設定処理を行う。尚、この写真画像データ格納エリアは、電子アルバム装置の内部メモリ(RAM140等)もしくは外部メディアに設けられ、電子アルバム装置を制御するシステムのメモリデバイス先を切り替えるだけでアクセス可能となる。ここで、写真画像データを構成する写真画像情報レコードの詳細について、図7を用いて説明する。
【0037】
図7は本発明の実施形態の写真画像情報レコードの詳細を示す図である。
【0038】
図7において、写真画像情報レコードは7つのエリアから構成されており、先頭2つのエリア700,701は、写真画像データ格納エリア中の写真画像データファイルのリンク関係を示すエリアである。これらのエリアには、写真画像データファイルを日付順などによりソートした場合のリンク関係を、前方リンク(エリア700のPrep)と後方リンク(エリア701のNext)により記述する。エリア702はスキップ情報エリアであり、日付などにより写真画像データをスキップさせたい場合に必要な情報が記述される。エリア703は回転情報エリアであり、写真画像データを展開する際に参照され、写真画像データの回転方向に関する回転情報が記述される。エリア704は切取情報エリアであり、写真画像データの切り取った部分を展開するときに参照される切取範囲情報が記述される。エリア705はズーム倍率情報エリアであり、写真画像データの拡大/縮小が成された場合にそのズーム倍率に関するズーム倍率情報が記述される。エリア706はポインタエリアであり、写真画像データ格納エリア中の写真画像データを示すファイル名が記述されているエリアを示すポインタが記述される。そして、このエリア706に記述されたファイル名に基づき、写真画像データが呼び出され展開される。
【0039】
図6の説明に戻る。
【0040】
ステップS130で、写真画像データを貼り付けるためのレイアウトテンプレートの特定とRAM140上への呼出を行うテンプレート設定処理を行う。尚、RAM140上へ呼び出されるレイアウトテンプレートは、レイアウトテンプレート格納エリアに格納されており、内蔵メモリ(ROM/RAM)もしくは外部メディアに用意されている。このレイアウトテンプレート格納エリアも写真画像データ格納エリア、同様、システムのメモリデバイス先を切り替えるだけでアクセス可能となるものである。
【0041】
ここで、レイアウトテンプレート格納エリアに格納されるデータ構成について、図8を用いて説明する。
【0042】
図8は本発明の実施形態のレイアウトテンプレート格納エリアに格納されるデータ構成を示す図である。
【0043】
レイアウトテンプレート格納エリアには、初期起動時に起動させるレイアウトテンプレートやレイアウトテンプレート一覧から起動させるレイアウトテンプレートへのジャンプ先レイアウトテンプレート名が記述されているテンプレート情報ファイルと、画像貼付エリアの展開を行うレイアウトテンプレートの2種類のファイルが格納されている。これにより、レイアウトテンプレート一覧からレイアウトテンプレートを起動させる場合には、レイアウトテンプレート一覧中の選択番号とテンプレート情報ファイル中の順番を一致させることで選択されたレイアウトテンプレートの起動が可能となる。また、初期起動させる場合には、初期起動用のレイアウトテンプレートの選択番号を指定するだけで起動させることが可能となる。
【0044】
一方、レイアウトテンプレートは、ヘッダ部とレイアウトデータ本体部とからなり、ヘッダ部には、レイアウトテンプレートのステップ切替先とスキップ切替先のレイアウトテンプレート名が記述される。また、レイアウトデータ本体部には、レイアウトテンプレートを構成するレイアウトデータが記述されている。これにより、レイアウトテンプレートの切替が行なわれた場合に、指定されたレイアウトテンプレートへの切替が可能となり、レイアウトテンプレートのRAM140上への読み出しが可能となる。以上説明したステップS110からステップS130の処理を含むイニシャル処理が終了すると、図5に示すステップS200へ進み、テンプレート展開処理を行う。
【0045】
ここで、テンプレート展開処理の詳細について、図9を用いて説明する。
【0046】
図9は本発明の実施形態のテンプレート展開処理の詳細を示すフローチャートである。
【0047】
まず、ステップS210で、RAM140上に読み出されたレイアウトテンプレートの画像貼付エリアのレイアウトを解析するレイアウト解析処理を行う。そして、ステップS220で、解析処理されたレイアウト情報をもとに、レイアウトデータを表示ユニット180内の表示バッファ(不図示)上もしくは印刷ユニット170内の印刷バッファ(不図示)上へイメージ展開するレイアウト情報展開処理を行う。そして、ステップS221で、未展開のレイアウト情報が存在する否かを判定する。存在する場合(ステップS221でYES)、ステップS220に戻る。一方、存在しない場合(ステップS221でNO)、処理を終了する。このように、レイアウト情報展開処理は、レイアウト情報すべてのデータに対してイメージ展開を行い、すべてのデータがイメージ展開が終了するまで処理を繰り返す。ここで、解析されるレイアウトテンプレートのレイアウトイメージと、これをレイアウト解析した結果、作成されるレイアウト情報の記述について、図10を用いて説明する。
【0048】
図10は本発明の実施形態のレイアウトテンプレートのレイアウトイメージとそのレイアウト情報の記述を説明するための図である。
【0049】
レイアウト情報は4つのエリアから構成されている。エリア1000はフラグエリアであり、画像貼付エリアに展開されるデータの種類を示すフラグが記述される。エリア1001には、画像貼付エリアの先頭位置が記述される。エリア1002には、画像貼付エリアのサイズが記述される。エリア1003はポインタエリアであり、画像貼付エリアに展開されるデータの詳細情報が格納されているエリアを示すポインタが記述される。データの詳細情報は、すべて詳細情報格納エリアに格納される。レイアウトエリアに展開されるデータが、写真画像データのみの場合には、フラグエリア1000にはPhotoフラグのみがセットされ、ポインタエリア1003にはNullがセットされる。最初に画像もしくはフォントデータが展開され、その上に写真画像データが展開されるような場合には、フラグエリア1000にPhotoフラグと展開されるデータのフラグ(ImageフラグもしくはFontフラグ)がセットされ、ポインタエリア1003には展開されるデータの詳細情報へのポインタがセットされる。これにより、レイアウトテンプレートに貼り付けられた画像データのみの表示および印刷と、これを写真画像データで置き換えた表示および印刷といった2種類の展開が可能となる。
【0050】
次に、レイアウト情報展開処理の詳細について、図11を用いて説明する。
【0051】
図11は本発明の実施形態のレイアウト情報展開処理の詳細を示すフローチャートである。
【0052】
まず、ステップS221で、レイアウト情報中の展開エリア(エリアの先頭とエリアのサイズ)の取得を行う展開エリア取得処理を行う。ステップS222で、画像・フォントデータの展開情報のデフォルト設定を行う展開情報デフォルト設定処理を行う。このデフォルト設定内容としては、回転方向なし、切取なし、ズーム倍率100%が設定される。次に、ステップS223で、展開されるデータのデータ種別チェックと詳細情報の有無チェックを行う詳細情報チェック処理を行う。
【0053】
ステップS223において、詳細情報へのポインタ(レイアウト情報のエリア1003)にNullがセットされている場合には、詳細情報なしと判別し、ステップS224へ進み、デフォルト画像展開用にデフォルト画像データを示すファイル名のセットを行う。そして、デフォルト画像データ名がセットされたところで、ステップS226へ進み、画像データを展開する画像展開処理を行う。
【0054】
また、ステップS223において、展開データのデータ種別をチェックし、データ種別が画像データ(レイアウト情報のエリア1000の内容がImageフラグ)である場合には、ステップS225で、エリア1003にセットされているポインタが示す詳細情報より画像データを示すファイル名を取り出し、そのファイル名が示す画像データを展開画像データとしてセットする。そして、画像ファイル名がセットされたところで、ステップS226へ進み、画像を展開する画像展開処理を行う。
【0055】
また、ステップS223において、展開データのデータ種別をチェックし、データ種別がフォントデータ(レイアウト情報のエリア1000の内容がFontフラグ)である場合には、ステップS227で、フォントデータの展開処理を行う。
【0056】
次に、画像展開処理の詳細について、図12を用いて説明する。
【0057】
図12は本発明の実施形態の画像展開処理の詳細を示すフローチャートである。
【0058】
まず、ステップS226−1で、展開対象となる画像データのヘッダをチェックする画像ヘッダチェック処理を行う。チェックの結果、ヘッダが示す画像データの種類が非圧縮画像データである場合には、ステップS226−2で、非圧縮画像データを展開する非圧縮画像展開処理を行う。また、ヘッダが示す画像データの種類が圧縮画像データである場合には、ステップS226−3で、圧縮画像データを展開する圧縮展開処理を行う。
【0059】
次に、非圧縮画像展開処理の詳細について、図13を用いて説明する。
【0060】
図13は本発明の実施形態の非圧縮画像展開処理の詳細を示すフローチャートである。
【0061】
まず、ステップS226−21で、切取範囲のみの画像データの展開を行うよう切取範囲の先頭へスキップする切取範囲スキップ処理を行う。次に、ステップS226−22で、ブロック呼出順序決定処理を行う。これは、展開される画像データの回転方向が指定されている場合に、その指定された回転方向によって、画像データの展開順序を決定するものである。次に、ステップS226−23で、決定された展開順序に基づく切取範囲の画像データをブロック単位で読み出し展開する部分ブロック呼出処理を行う。次に、ステップS226−24で、呼び出されたブロック画像データをズーム倍率と展開エリアサイズに基づき拡大/縮小するスケーリング処理を行う。そして、ステップS226ー25で、未処理のブロックが存在する否かを判定する。存在する場合(ステップS226−25でYES)、ステップS226−23に戻る。一方、存在しない場合(ステップS226ー25でNO)、処理を終了する。このように、部分ブロック呼出処理とスケーリング処理は、決定された順番で切取範囲のブロック画像データすべてが展開されるまで繰り返し実行される。
【0062】
次に、圧縮画像展開処理の詳細について、図14を用いて説明する。
【0063】
図14は本発明の実施形態の圧縮画像処理の詳細を示すフローチャートである。
【0064】
まず、ステップS226−31で、圧縮画像データのプレスキャンを行い、圧縮画像データをスキップスキャンするためのブロックマーカー登録を行うプレスキャンサーチ処理を行う。次に、ステップS226−32で、切取範囲のみの画像データの展開を行うよう切取範囲の先頭へスキップする切取範囲スキップ処理を行う。次に、ステップS226−33で、画像データの回転方向に基づきブロックの呼出順序を決定するブロック呼出順序決定処理を行う。次に、ステップS226ー34で、決定された順番で部分ブロック呼出処理を行う。尚、この圧縮画像データの部分ブロック呼出処理では、プレスキャンサーチ処理で登録されたブロックマーカーをもとに所望のブロック画像データまでスキップスキャンした後、所望のブロック画像データを呼び出す。所望のブロック画像データが呼び出されたら、ステップS226−35で、呼び出したブロック画像データを伸張する部分ブロック伸長処理を行う。部分ブロック伸張処理が行なわれ、伸長された部分ブロック画像データを、ステップS226−36で、ズーム倍率と展開エリアサイズに基づき拡大/縮小するスケーリング処理を行う。そして、ステップS226ー37で、未処理のブロックが存在する否かを判定する。存在する場合(ステップS226−37でYES)、ステップS226−34に戻る。一方、存在しない場合(ステップS226ー37でNO)、処理を終了する。このように、部分ブロック呼出処理と部分ブロック伸張処理とスケーリング処理は、切取範囲で指定されたすべてのブロック画像データが展開されるまで繰り返し実行される。
【0065】
図14に示した圧縮画像展開処理の具体例を示すと、ステップS226−31のプレスキャンサーチ処理では、例えば、図15に示すように、圧縮画像データの各行先頭ブロックへのオフセットを、スキップスキャンするためのブロックマーカーとして登録しておく。これにより、縦方向へブロック画像データを呼び出す場合に、行ごとのスキップスキャンが可能となり、圧縮画像データの部分ブロック呼出処理の効率を上げることができる。その他のブロックマーカーの登録項目は、部分ブロック呼出処理の用途に応じて変更すれば、用途に応じて最適な部分ブロック呼出処理が可能となる。ステップS226−32の切取範囲スキップ処理では、例えば、図16に示すように、各行毎にスキップ領域のオフセット量をブロックマーカーとして登録しておく。これにより、切取範囲の各行先頭ブロックに1アクセスで到達することが可能となり、部分ブロック呼出処理の効率を上げることができる。ステップS226−33のブロック呼出順序決定処理では、例えば、図17に示すように、回転方向に基づきブロック単位の座標変換を行ない、その結果をブロックの呼出順序として決定する。尚、画像データを回転させる場合には、回転方向に基づきブロック内のラスタデータの展開方向も変更させなければならない。これを示したのが、図18である。この処理は、スケーリング処理が実行される前の段階で行なわれる。
【0066】
以上のレイアウト情報展開処理によって、図19に示したように、レイアウトテンプレート解析後のレイアウト情報から、レイアウトテンプレートのイメージ展開が可能となる。
【0067】
こうしてレイアウトテンプレートがイメージ展開されると、次に、図5のステップS300で、写真画像データを展開する写真画像展開処理を行う。
【0068】
ここで、写真画像展開処理の詳細について、図20を用いて説明する。
【0069】
図20は本発明の実施形態の写真画像展開処理の詳細を示すフローチャートである。
【0070】
まず、ステップS310で、写真メディアの交換チェックを行う。写真メディアが交換可能でないメディアの場合またはメディアの交換がなされていない場合には、ステップS320へ進み、画像貼付エリアに展開する写真画像データを特定する展開写真画像特定処理を行う。一方、メディアの交換がなされた場合には、ステップS311へ進み、写真画像情報レコードの再設定を行う写真画像情報設定処理を行なった後、ステップS320の展開写真画像特定処理を行う。尚、ステップS311の写真画像情報設定処理は、イニシャル時に行なったステップS120の写真画像情報設定処理と同じ処理である。次に、ステップS320の展開写真画像特定処理においては、レイアウトテンプレート内の先頭画像貼付エリアに貼り付けられる写真画像データの特定を行う。そして、ステップS331で、未処理の写真画像データが存在する否かを判定する。存在する場合(ステップS331でYES)、ステップS330に戻る。一方、存在しない場合(ステップS331でNO)、処理を終了する。このように、ステップS330の写真画像情報展開処理によって、レイアウトテンプレート内に設定された画像貼付エリアのすべてに写真画像データが貼り付けられるまでもしくは写真画像データが終了するまで、特定された写真画像データから順次写真画像データが貼り付けられていく。先頭画像貼付エリアと特定された写真画像データとの対応は、レイアウトテンプレート内の先頭画像貼付エリアに貼り付けられる写真画像データのIDをRAM140上に記憶しておくことにより行なわれ、写真画像情報レコード中のリンク状態をたどることにより、以降の画像貼付エリアに写真画像データを貼り付けていくことが可能となる。
【0071】
次に、写真画像情報展開処理の詳細について、図21を用いて説明する。
【0072】
図21は本発明の実施形態の写真画像情報展開処理の詳細を示すフローチャートである。
【0073】
まず、ステップS331で、レイアウト情報に格納されている写真画像データの展開エリアを取得する展開エリア取得処理を行う。次に、ステップS332で、写真画像情報レコードに格納されている回転情報・切取情報・ズーム倍率情報といった画像展開情報を取得する展開情報取得処理を行う。次に、ステップS333で、写真画像データを示すファイル名へのポインタをたどりファイル名を取得しセットする画像ファイル名セット処理を行う。こうして設定された情報をもとに、ステップS334で写真画像データを展開する画像展開処理を行う。尚、この画像展開処理は、ステップS226の画像展開処理と同じ処理であり、ステップS226で説明した処理の流れにより、写真画像データがイメージ展開される。
【0074】
図21の写真画像情報展開処理の具体例を示すと、例えば、図22に示すように、レイアウト情報中でPhotoフラグがセットされているエリアを検索し、順次この検索されたエリアに写真画像データを貼り付けていくことにより、レイアウトテンプレートがイメージ展開された画像貼付エリアに写真画像データを貼り付けていくことができる。また、貼り付ける写真画像データに関しては、検索された画像貼付エリアの順に、レイアウトテンプレート内の先頭写真画像データを示している写真画像データから順次リンクをたどって対応づけしていくことで、対応づけされていく。
【0075】
以上の写真画像情報展開処理によって、レイアウトテンプレートに写真画像データが貼り付けられイメージ展開されると、次に、図5のステップS400で、そのイメージを表示ユニット170へ画面表示する画面表示処理を行う。画面表示処理が終了すると、ステップS500で、キー待ち状態となり、次の動作の指示入力待ちとなる。
【0076】
ステップS500において、レイアウトテンプレートの切替指示が入力された場合、ステップS600へ進み、レイアウトテンプレートの切替を行うテンプレート設定処理を行う。そして、切り替えられたレイアウトテンプレートがRAM140上に読み出されると、ステップS200へ戻って、テンプレート展開処理を行う。尚、テンプレート設定処理は、イニシャル時のステップS130のテンプレート設定処理と同じ処理で、ステップS130で説明した処理の流れでRAM140上へレイアウトテンプレートのレイアウトデータが読み出される。但し、レイアウトテンプレートの切替指示によりレイアウトテンプレートが切り替えられる場合には、レイアウトテンプレートのヘッダ部に記述されたファイル名のレイアウトンプレートが呼び出される。
【0077】
また、ステップS500において、写真切替指示が入力された場合、ステップS700へ進み、写真画像特定処理を行う。尚、写真画像特定処理は、ステップS320の写真画像特定処理を同じ処理で、ステップS320で説明した処理の流れと同じ処理の流れとなる。但し、写真切替指示が入力された場合には、切り替えられた方向へ写真画像データ格納エリア中のリンクをたどり、記憶されているレイアウトテンプレート内の先頭写真画像データのIDを変更する処理が加わる。また、スキップ切替指示が入力された場合には、スキップ情報を検索し、スキップ情報がセットされているIDまで記憶されているIDを変更する処理が追加される。
【0078】
また、ステップS500において、印刷実行指示が入力された場合には、ステップS800へ進み、印刷ユニット170から展開されたイメージデータを印刷する印刷処理を実行する。尚、印刷処理においては、表示用に展開されたイメージデータを用紙サイズに合わせて拡大/縮小して印刷することもできるし、印刷用にレイアウトテンプレートを用意し、そのレイアウトテンプレートに合わせて、再度イメージ展開して、この結果を印刷することもできる。また、本発明においては、画像データを部分ブロック単位で展開することも可能であるため、印刷用のバンドバッファへ画像データを部分展開し、これを印刷することも可能である。
【0079】
また、ステップS500において、その他の処理に必要な指示が入力された場合には、ステップS900へ進み、入力された指示に対応した処理を実行する。また、ステップS500において、システム終了指示が入力された場合には、ステップS1000へ進み、終了処理を実行した後、すべての処理を終了する。以上説明したように、本実施形態によれば、レイアウト管理部41と画像・フォント管理部32と写真画像特定部13により、あらかじめページ内に画像貼付エリアがレイアウト配置されたレイアウトテンプレート21に基づき、写真画像データ以外の画像データとフォントデータを展開し、レイアウトテンプレート中の指定された画像貼付エリアへ写真画像データを貼り付けていくことで、写真画像データの特定(切替)操作だけの簡単な操作で電子アルバムを実現できる。
【0080】
また、電子アルバム用ばかりでなく、レイアウトテンプレート21に多種類の豊富なレイアウトテンプレートを用意し、テンプレート指定部11と写真画像特定部13を設けることで、レイアウトテンプレートの選択操作と写真画像の選択操作だけの操作により、電子アルバムをはじめとした多彩な表示と印刷を実現できる。
【0081】
また、テンプレート読込部22を設けることで、豊富なレイアウトテンプレートを、外部メディアにより提供可能とし、欲しい物を欲しいだけ提供することができ、簡単で柔軟性のある操作を提供することができる。
【0082】
また、更新したレイアウトテンプレート21を外部メディアにより提供することにより、その都度時代にマッチしたレイアウトテンプレートを提供することができ、電子アルバム装置本体の陳腐化を防ぐことができる。
【0083】
また、レイアウトテンプレート21に、カレンダー・グリーティングカード・年賀状・シール等の多彩なレイアウトテンプレートを用意することにより、テンプレート指定部11においてレイアウトテンプレートを選択するだけで電子アルバム装置以外の用途も実現できる。
【0084】
また、拡大/縮小部36を設けることで、レイアウトテンプレート中の画像貼付エリアのサイズに合わせた写真画像データの自動拡大/縮小が可能となり、写真画像データのはみ出した部分が勝手に切り取られることなく、レイアウトテンプレートにマッチした写真画像データを張り付けることができる。
【0085】
尚、レイアウト管理部41と画像・フォント管理部32によって、写真画像データが存在しない場合(セットされていない場合)には、レイアウトテンプレート中の画像貼付エリアをチェックし、あらかじめ何らかの画像・フォントデータがこのエリアに展開されている場合には、写真画像データの展開処理を行うことなく処理を終了するため、レイアウトテンプレートのみの表示/印刷もできるようになっている。
【0086】
また、画像貼付エリアに何らかの画像・フォントデータが展開されていない場合には、デフォルト画像データを展開することで、見栄えのよい表示/印刷も実現できる。
【0087】
また、写真画像データに回転方向が指定されている場合には、回転部35によりその指定された方向へ回転させることで、縦向きの写真画像データも横向きの写真画像データも簡単に貼り付けることができる。
【0088】
また、写真画像データに切り取り指定がなされている場合には、切取部34によりその部分を切り取り貼り付けることで、より多彩な写真画像データの貼り付けが可能となる。
【0089】
また、写真画像データおよびその他の画像データやフォントデータが圧縮されている場合には、伸張部33により自動伸張処理も行うので、画像・フォントデータ格納エリア31により多くのデータを格納することができる。
【0090】
また、画像・フォント伸張部33には、圧縮された画像・フォントデータを部分的に伸張する処理も含まれているため、画像・フォントデータの展開時において、伸張処理用のワークメモリを少なく押さえることができる。これにより、画像・フォントデータを回転させて展開させる場合には、伸張する部分の順番を変更することが可能となり、伸張処理に有する時間を軽減することもできる。
【0091】
また、表示管理部51と表示実行部52を設けることで、展開されたイメージを、表示ユニット180上で見ることができる。更に、印刷管理部61と印刷実行部62を設けることで、印刷実行指示部12により印刷実行の指示を行うだけで表示されたイメージを印刷することができる。
【0092】
このように、レイアウトテンプレートと写真画像データを選択するだけの簡単な操作で、写真画像データを見て楽しむことができ、写真画像データを取込んだ多彩な出力を応答性よくできるようになる。
【0093】
尚、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
【0094】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。
【0095】
この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0096】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0097】
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0098】
更に、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0099】
【発明の効果】
以上説明したように、本発明によれば、電子アルバムで管理される画像データを貼り付けるレイアウトテンプレートを容易な操作でかつ柔軟に変更できる。
【0100】
【図面の簡単な説明】
【図1】本発明の実施形態の電子アルバム装置の基本構成を示す図である。
【図2】本発明の実施形態の電子アルバム装置の基本構成の他の例を示す図である。
【図3】本発明の実施形態の電子アルバム装置の機能構成を示すブロック図である。
【図4】本発明の実施形態で実行される処理の概要を示す図である。
【図5】本発明の実施形態で実行される処理の処理フローを示すフローチャートである。
【図6】本発明の実施形態のイニシャル処理の詳細を示すフローチャートである。
【図7】本発明の実施形態の写真画像情報レコードの詳細を示す図である。
【図8】本発明の実施形態のレイアウトテンプレート格納エリアに格納されるデータ構成を示す図である。
【図9】本発明の実施形態のテンプレート展開処理の詳細を示すフローチャートである。
【図10】本発明の実施形態のレイアウトテンプレートのレイアウトイメージとそのレイアウト情報の記述を説明するための図である。
【図11】本発明の実施形態のレイアウト情報展開処理の詳細を示すフローチャートである。
【図12】本発明の実施形態の画像展開処理の詳細を示すフローチャートである。
【図13】本発明の実施形態の非圧縮画像展開処理の詳細を示すフローチャートである。
【図14】本発明の実施形態の圧縮画像処理の詳細を示すフローチャートである。
【図15】本発明の実施形態のプレスキャンサーチ処理の具体例を示す図である。
【図16】本発明の実施形態の切取範囲スキップ処理の具体例を示す図である。
【図17】本発明の実施形態のブロック呼出順序決定処理の具体例を示す図である。
【図18】本発明の実施形態のブロック呼出順序決定処理の具体例を示す図である。
【図19】本発明の実施形態のレイアウト情報展開処理の処理結果例を示す図である。
【図20】本発明の実施形態の写真画像展開処理の詳細を示すフローチャートである。
【図21】本発明の実施形態の写真画像情報展開処理の詳細を示すフローチャートである。
【図22】本発明の実施形態の写真画像情報展開処理の具体例を示す図である。
【符号の説明】
11 テンプレート指定部
12 印刷実行指示部
13 写真画像特定部
21 レイアウトテンプレート
22 テンプレート読込部
23 レイアウト解析部
31 画像・フォントデータ格納エリア
32 画像・フォント管理部
33 伸長部
34 回転部
35 切取部
36 拡大/縮小部
41 レイアウト管理部
51 表示管理部
52 表示実行部
61 印刷管理部
62 印刷実行部
110 CPU
120 ROM
130 キードライバ
140 RAM
150 外部通信ドライバ
160 外部メディアドライバ
170 印刷ユニット
170a プリンタドライバ
180 表示ユニット
200 外部プリンタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and method for managing image data, and a computer-readable memory.
[0002]
[Prior art]
Conventionally, a photographic image captured from an image capturing device such as a digital camera or a film scanner is pasted on a layout template prepared in advance, and the result is displayed on a display device such as a TV without using an electronic device such as a personal computer. Alternatively, in an electronic album apparatus that outputs to a printing device such as a printer, an operator creates a layout for pasting a photographic image and pastes the photographic image on an electronic device such as a personal computer.
[0003]
[Problems to be solved by the invention]
However, the above-described conventional electronic album apparatus has a layout that is fixed and lacks flexibility because it has a default layout template inside the device. Also, when pasting a photo image, the layout template and photo image must be specified in advance, or if the photo image is larger than the size of the destination area, the photo image will be automatically Operation was limited, such as being cut. As described above, the conventional electronic album device is difficult to operate, and the operator is forced to have a great deal of capacity and time. In addition, the operability is limited and lacks flexibility.
[0004]
The present invention has been made in view of the above problems, and provides a flexible image processing apparatus and method, and a computer-readable memory that are easy to operate on photographic images managed in an electronic album and have a high degree of flexibility. For the purpose.
[0005]
[Means for Solving the Problems]
In order to achieve the above object, an image processing apparatus according to the present invention comprises the following arrangement. That is,
Reading means for reading out a designated layout template from a recording medium that records a plurality of types of layout templates including a plurality of image pasting areas;
Link information indicating the link relationship between multiple image data According to the ranking when the plurality of image data is sorted Setting means for setting;
Storage means for storing a plurality of image pasting areas and a plurality of image data of the layout template read by the reading means in association with each other according to the link information set by the setting means;
Input means for inputting a switching instruction for switching the layout template;
When a switching instruction is input by the input unit, the correspondence between the plurality of image data stored in the storage unit and the plurality of image pasting areas of the layout template is newly read by the reading unit by the switching instruction. A changing means for changing based on a plurality of image pasting areas of the layout template,
Based on the correspondence changed by the changing means, image developing means for developing an image in which the plurality of image data is arranged in the image pasting area of the layout template;
Display control means for displaying the image on a display unit;
Is provided.
[0006]
Preferably, the input means further inputs an image switching instruction for switching the image data,
The changing unit further changes the correspondence based on link information of new image data designated by the image switching instruction when an image switching instruction is input by the input unit.
[0007]
Preferably, the setting means further sets skip information indicating whether or not the image data is skipped,
The input means further inputs a skip switching instruction for the image data,
The changing unit further changes the correspondence based on skip information set in the image data when a skip switching instruction is input by the input unit.
[0012]
In order to achieve the above object, an image processing method according to the present invention comprises the following arrangement. That is,
A reading step for reading a designated layout template from a recording medium for recording a plurality of types of layout templates including a plurality of image pasting areas;
The setting means displays link information indicating a link relationship between a plurality of image data. According to the ranking when the plurality of image data is sorted A setting process to set;
A storage step of storing a plurality of image pasting areas and a plurality of image data of the layout template read out in the reading step in association with each other in accordance with the link information set in the setting step. When,
An input step for inputting a switching instruction for switching the layout template;
When a switching instruction is input by the input step, the changing unit newly sets the correspondence between the plurality of image data stored in the storage medium and the plurality of image pasting areas of the layout template by the reading step by the switching instruction. A changing step for changing based on a plurality of image pasting areas of the layout template read in
An image development step for developing an image in which the plurality of image data is arranged in the image pasting area of the layout template, based on the correspondence changed by the changing step;
A display control step for displaying the image on a display unit;
Is provided.
[0013]
In order to achieve the above object, a computer readable memory according to the present invention comprises the following arrangement. That is,
A reading step for reading a designated layout template from a recording medium for recording a plurality of types of layout templates including a plurality of image pasting areas;
The setting means displays link information indicating a link relationship between a plurality of image data. According to the ranking when the plurality of image data is sorted A setting process to set;
A storage step of storing a plurality of image pasting areas and a plurality of image data of the layout template read out in the reading step in association with each other in accordance with the link information set in the setting step. When,
An input step for inputting a switching instruction for switching the layout template;
When a switching instruction is input by the input step, the changing unit newly sets the correspondence between the plurality of image data stored in the storage medium and the plurality of image pasting areas of the layout template by the reading step by the switching instruction. A changing step for changing based on a plurality of image pasting areas of the layout template read in
An image development step for developing an image in which the plurality of image data is arranged in the image pasting area of the layout template, based on the correspondence changed by the changing step;
A display control step for displaying the image on a display unit;
A computer-readable memory storing a computer program, wherein the computer program is executed by a computer.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
[0015]
FIG. 1 is a diagram showing a basic configuration of an electronic album apparatus according to an embodiment of the present invention.
[0016]
As shown in FIG. 1, the electronic album apparatus includes a CPU 110, a ROM 120, a key driver 130, a RAM 140, an external communication driver 150, an external media driver 160, a printing unit 170, and a display unit 180.
[0017]
The CPU 110 executes various programs described in the ROM 120 and controls various components of the electronic album device. The ROM 120 stores a program for executing various functions including a main program for controlling the electronic album device. It also stores default image data and font data.
[0018]
When a key input such as a layout template switching instruction, a photo image data specifying instruction, and a print execution instruction is input, or a key necessary for other processing is input, the key driver 130 captures the input and sorts the processes. . Key input can also be performed by a remote controller. In this case, a signal sent from the remote controller is received and processing is distributed.
[0019]
The RAM 140 stores a layout template read from an external medium, layout information obtained by analyzing the layout template, and image / font data associated with the layout template. In addition, when the photographic image data is supplied from an external medium, the specified photographic image data is also developed and stored. Furthermore, when layout templates and photographic image data are supplied through an external communication cable, this data is also stored. Furthermore, it is used as a buffer and work memory necessary for other processing.
[0020]
When the layout template and the accompanying image / font data and photographic image data are supplied through the external communication cable, the external communication driver 150 performs all the processes necessary to receive these data. When data is provided from the electronic album device, all processes necessary for sending the data are performed.
[0021]
When the layout template and the accompanying image / font data and photographic image data are supplied from an external medium, the external media driver 160 performs all processes necessary for reading the data. When data is stored from the electronic album device, all processes necessary for writing the data are performed.
[0022]
The display unit 180 performs all processes necessary for displaying the result of pasting the photographic image data based on the layout template on a display device such as a display. The printing unit 170 performs all processes necessary for printing the result displayed on the display unit according to the print execution instruction. As shown in FIG. 2, the printing unit 170 can be configured to print with the external printer 200 via a printer cable by changing the printing unit 170 to a printer driver 170a.
[0023]
Next, the functional configuration of the electronic album apparatus according to the present embodiment will be described with reference to FIG.
[0024]
FIG. 3 is a block diagram showing a functional configuration of the electronic album apparatus according to the embodiment of the present invention.
[0025]
In FIG. 3, 21 is a layout template for display / printing. A photographic image taken by a digital camera, a photographic image read by an image reading device such as a scanner, and image data pasted around the photographic image An image pasting area of font data is described and stored in a storage area of a storage medium such as an external medium or a ROM 120 in the electronic album apparatus. Reference numeral 11 denotes a template designating unit for designating a specific layout template. Reference numeral 13 denotes a photographic image specifying unit for specifying a photographic image to be pasted on the layout template. A layout template reading unit 22 reads a layout template from the external medium when the designated layout template is stored in the external medium.
[0026]
A layout analysis unit 23 analyzes the contents of the layout template. An image / font data storage area 31 stores photographic image data and image data / font data. An image / font data management unit 32 manages image / font data. The image / font data management unit 32 includes an expansion unit 33 for expanding the image / font data when the image / font data is compressed, and the image / font data rotation direction when the rotation direction of the image / font data is designated. A rotation unit 34 that rotates font data in a specified direction, and a cutting unit 35 that cuts an image / font data at the specified position when a cutting position of the image / font data is specified; An enlargement / reduction unit 36 that enlarges / reduces image / font data at the designated magnification when the enlargement / reduction magnification of the font data is designated.
[0027]
A layout management unit 41 outputs image / font data to the display unit 180 or the printing unit 170 based on the analyzed layout information. Reference numeral 51 denotes a display management unit, which manages display when image / font data is pasted on the display layout template on the display unit 180. A display execution unit 52 displays a layout template, photographic image data, image / font data, and the like on the display unit 180. Reference numeral 61 denotes a layout print management unit. When a print execution instruction is given by the print instruction unit 12, the designated photographic image data is pasted on a layout on a recording medium to be printed by the printing unit 170. A print execution unit 62 prints a layout template, photographic image data, image / font data, and the like by the printing unit 170.
[0028]
Next, an outline of processing executed in the present embodiment will be described with reference to FIG.
FIG. 4 is a diagram showing an outline of processing executed in the embodiment of the present invention.
[0029]
In the electronic album device of the present invention, the designated layout template shown in 9-1 is read, and the layout of the image pasting area of the read layout template is analyzed. In this case, 61 to 67 are analyzed as image pasting areas. Then, the electronic album is displayed and printed by pasting the photographic image data to the designated image pasting area in the analyzed layout. Since the read data indicating the layout template is described in a one-dimensional page description language, it is converted into a two-dimensional data description by layout analysis and developed into an image.
[0030]
For example, when switching from the layout template shown in 9-1 to the layout template shown in 9-2 is performed according to the layout template switching instruction, only the layout template is changed. Next, another layout template whose designation has been changed is read, and the read layout template is analyzed again. Then, the photographic image data specified before switching to the designated image pasting area is pasted.
[0031]
In addition, when switching from the photographic image data pasted to the layout template shown in 9-2 to the photographic image data shown in 9-3 according to the photographic image data switching instruction, the photographic image data is not switched without switching the layout template. Only make changes. That is, the photographic image data to be switched is pasted to the designated photographic image data in the image pasting area of the layout template shown in 9-2.
[0032]
Next, a processing flow of processing executed in the present embodiment will be described with reference to FIG.
[0033]
FIG. 5 is a flowchart showing a processing flow of processing executed in the embodiment of the present invention.
[0034]
First, when the power is turned on, initial processing for performing various initializations is performed in step S100. Details of the initial processing will be described with reference to FIG.
[0035]
FIG. 6 is a flowchart showing details of the initial processing according to the embodiment of the present invention.
[0036]
First, in step S110, a system initial process for performing initialization necessary for starting up the electronic album apparatus is performed. In step S120, a photographic image information setting process for setting various information necessary for pasting the photographic image data in the photographic image data storage area on the layout template is performed. This photo image data storage area is provided in the internal memory (such as the RAM 140) of the electronic album apparatus or an external medium, and can be accessed simply by switching the memory device destination of the system that controls the electronic album apparatus. Here, details of the photographic image information record constituting the photographic image data will be described with reference to FIG.
[0037]
FIG. 7 is a diagram showing details of the photographic image information record according to the embodiment of the present invention.
[0038]
In FIG. 7, the photographic image information record is composed of seven areas, and the first two areas 700 and 701 are areas indicating the link relationship of photographic image data files in the photographic image data storage area. In these areas, the link relationship when the photo image data files are sorted in order of date or the like is described by a forward link (Prep of area 700) and a backward link (Next of area 701). An area 702 is a skip information area in which information necessary for skipping photographic image data by date or the like is described. An area 703 is a rotation information area, which is referred to when developing photographic image data, and describes rotation information related to the rotation direction of the photographic image data. An area 704 is a cutout information area, in which cutout range information referred to when the cut out portion of the photographic image data is expanded is described. An area 705 is a zoom magnification information area, and describes zoom magnification information related to the zoom magnification when the photographic image data is enlarged / reduced. An area 706 is a pointer area, in which a pointer indicating an area in which a file name indicating photographic image data in the photographic image data storage area is described. Then, based on the file name described in this area 706, the photographic image data is called and expanded.
[0039]
Returning to the description of FIG.
[0040]
In step S130, a template setting process for specifying a layout template for pasting photographic image data and calling it onto the RAM 140 is performed. The layout template called up on the RAM 140 is stored in a layout template storage area, and is prepared in a built-in memory (ROM / RAM) or an external medium. This layout template storage area, like the photographic image data storage area, can be accessed simply by switching the memory device destination of the system.
[0041]
Here, the data structure stored in the layout template storage area will be described with reference to FIG.
[0042]
FIG. 8 is a diagram showing a data configuration stored in the layout template storage area according to the embodiment of the present invention.
[0043]
In the layout template storage area, there are a template information file that describes the layout template that is activated at initial startup, the layout template name that jumps to the layout template that is started from the layout template list, and the layout template that expands the image paste area Two types of files are stored. As a result, when a layout template is activated from the layout template list, the selected layout template can be activated by matching the selection number in the layout template list with the order in the template information file. In the case of initial activation, it can be activated simply by specifying the selection number of the layout template for initial activation.
[0044]
On the other hand, the layout template is composed of a header part and a layout data body part, and the layout template step switching destination and the skip switching destination layout template name are described in the header part. In the layout data main body portion, layout data constituting the layout template is described. As a result, when the layout template is switched, it is possible to switch to the designated layout template and to read the layout template onto the RAM 140. When the initial process including the processes from step S110 to step S130 described above is completed, the process proceeds to step S200 shown in FIG. 5 to perform a template development process.
[0045]
Details of the template development processing will be described with reference to FIG.
[0046]
FIG. 9 is a flowchart showing details of the template development processing according to the embodiment of the present invention.
[0047]
First, in step S210, layout analysis processing for analyzing the layout of the image pasting area of the layout template read onto the RAM 140 is performed. In step S220, based on the analyzed layout information, the layout data is developed into an image on a display buffer (not shown) in the display unit 180 or a print buffer (not shown) in the printing unit 170. Perform information expansion processing. In step S221, it is determined whether there is undeveloped layout information. If it exists (YES in step S221), the process returns to step S220. On the other hand, if it does not exist (NO in step S221), the process ends. As described above, in the layout information expansion process, image expansion is performed on all the data of the layout information, and the process is repeated until the image expansion of all the data is completed. Here, the layout image of the layout template to be analyzed and the description of the layout information created as a result of the layout analysis will be described with reference to FIG.
[0048]
FIG. 10 is a diagram for explaining the layout image of the layout template and the description of the layout information thereof according to the embodiment of the present invention.
[0049]
The layout information is composed of four areas. An area 1000 is a flag area, and a flag indicating the type of data developed in the image pasting area is described. In the area 1001, the head position of the image pasting area is described. The area 1002 describes the size of the image pasting area. An area 1003 is a pointer area, in which a pointer indicating an area in which detailed information of data developed in the image pasting area is stored is described. All the detailed information of the data is stored in the detailed information storage area. When the data developed in the layout area is only photographic image data, only the Photo flag is set in the flag area 1000, and Null is set in the pointer area 1003. When image or font data is first developed and photographic image data is developed on top of it, a Photo flag and a data flag (Image flag or Font flag) are set in the flag area 1000, In the pointer area 1003, a pointer to detailed information of data to be developed is set. As a result, two types of development are possible: display and printing of only the image data pasted on the layout template, and display and printing in which the image data is replaced with photographic image data.
[0050]
Next, details of the layout information expansion processing will be described with reference to FIG.
[0051]
FIG. 11 is a flowchart showing details of layout information expansion processing according to the embodiment of the present invention.
[0052]
First, in step S221, a development area acquisition process for acquiring a development area (the head of the area and the size of the area) in the layout information is performed. In step S222, development information default setting processing for performing default setting of development information of image / font data is performed. As the default setting contents, no rotation direction, no cut-out, and a zoom magnification of 100% are set. Next, in step S223, detailed information check processing is performed to check the data type of the data to be expanded and the presence / absence check of detailed information.
[0053]
If Null is set in the pointer to the detailed information (layout information area 1003) in step S223, it is determined that there is no detailed information, the process proceeds to step S224, and a file indicating default image data for developing the default image Set the name. When the default image data name is set, the process advances to step S226 to perform image development processing for developing the image data.
[0054]
In step S223, the data type of the development data is checked. If the data type is image data (the content of the area 1000 of the layout information is an Image flag), the pointer set in the area 1003 in step S225. The file name indicating the image data is extracted from the detailed information indicated by, and the image data indicated by the file name is set as the developed image data. When the image file name is set, the process proceeds to step S226, and image expansion processing for expanding the image is performed.
[0055]
In step S223, the data type of the expanded data is checked. If the data type is font data (the content of the layout information area 1000 is the Font flag), the font data is expanded in step S227.
[0056]
Next, details of the image development processing will be described with reference to FIG.
[0057]
FIG. 12 is a flowchart showing details of image development processing according to the embodiment of the present invention.
[0058]
First, in step S226-1, image header check processing is performed to check the header of image data to be expanded. As a result of the check, if the type of image data indicated by the header is uncompressed image data, uncompressed image expansion processing for expanding the uncompressed image data is performed in step S226-2. If the type of the image data indicated by the header is compressed image data, a compression / decompression process for expanding the compressed image data is performed in step S226-3.
[0059]
Next, details of the uncompressed image expansion processing will be described with reference to FIG.
[0060]
FIG. 13 is a flowchart showing details of uncompressed image expansion processing according to the embodiment of the present invention.
[0061]
First, in step S226-21, a cut range skip process for skipping to the head of the cut range is performed so that the image data of only the cut range is expanded. Next, block call order determination processing is performed in step S226-22. In this case, when the rotation direction of the image data to be developed is designated, the development order of the image data is determined according to the designated rotation direction. Next, in step S226-23, partial block call processing is performed to read out and develop image data in the clipping range based on the determined development order in units of blocks. Next, in step S226-24, scaling processing for enlarging / reducing the called block image data based on the zoom magnification and the development area size is performed. In step S226-25, it is determined whether there is an unprocessed block. If it exists (YES in step S226-25), the process returns to step S226-23. On the other hand, if it does not exist (NO in step S226-25), the process ends. As described above, the partial block calling process and the scaling process are repeatedly executed until all the block image data in the cutout range are developed in the determined order.
[0062]
Next, details of the compressed image expansion processing will be described with reference to FIG.
[0063]
FIG. 14 is a flowchart showing details of the compressed image processing according to the embodiment of the present invention.
[0064]
First, in step S226-31, pre-scan search processing for performing pre-scan of compressed image data and registering a block marker for skip-scanning the compressed image data is performed. Next, in step S226-32, a clipping range skip process for skipping to the head of the clipping range is performed so as to expand the image data of only the clipping range. In step S226-33, block call order determination processing is performed to determine the block call order based on the rotation direction of the image data. Next, in step S226-34, partial block call processing is performed in the determined order. In the partial block calling process of the compressed image data, the desired block image data is called after skip scanning to the desired block image data based on the block marker registered in the pre-scan search process. When the desired block image data is called, partial block expansion processing for expanding the called block image data is performed in step S226-35. Partial block expansion processing is performed, and in step S226-36, scaling processing for expanding / reducing the expanded partial block image data based on the zoom magnification and the development area size is performed. In step S226-37, it is determined whether there is an unprocessed block. If it exists (YES in step S226-37), the process returns to step S226-34. On the other hand, if it does not exist (NO in steps S226-37), the process ends. As described above, the partial block calling process, the partial block expansion process, and the scaling process are repeatedly executed until all the block image data designated by the cutout range are expanded.
[0065]
Referring to a specific example of the compressed image decompression process shown in FIG. 14, in the pre-scan search process in step S226-31, for example, as shown in FIG. Register as a block marker to do. As a result, when the block image data is called up in the vertical direction, skip scanning can be performed for each row, and the efficiency of the partial block call processing of the compressed image data can be improved. If other block marker registration items are changed according to the use of the partial block call processing, the optimum partial block call processing can be performed according to the use. In the cut range skip process in step S226-32, for example, as shown in FIG. 16, the offset amount of the skip area is registered as a block marker for each row. As a result, it is possible to reach each row head block in the cutout range with one access, and the efficiency of the partial block call processing can be increased. In the block call order determination processing in step S226-33, for example, as shown in FIG. 17, coordinate conversion is performed on a block basis based on the rotation direction, and the result is determined as the block call order. When image data is rotated, the raster data development direction in the block must be changed based on the rotation direction. This is shown in FIG. This process is performed at a stage before the scaling process is executed.
[0066]
With the above layout information development processing, as shown in FIG. 19, the layout template image can be developed from the layout information after the layout template analysis.
[0067]
When the layout template is developed as described above, a photographic image development process for developing photographic image data is performed in step S300 of FIG.
[0068]
Details of the photographic image development processing will be described with reference to FIG.
[0069]
FIG. 20 is a flowchart showing details of the photographic image expansion processing according to the embodiment of the present invention.
[0070]
First, in step S310, a photographic media exchange check is performed. If the photographic medium is not replaceable or if the medium has not been replaced, the process advances to step S320 to perform a developed photographic image specifying process for specifying photographic image data to be developed in the image pasting area. On the other hand, if the media has been exchanged, the process proceeds to step S311, where the photographic image information setting process for resetting the photographic image information record is performed, and then the developed photographic image specifying process of step S320 is performed. The photographic image information setting process in step S311 is the same process as the photographic image information setting process in step S120 performed at the time of initializing. Next, in the developed photo image specifying process in step S320, the photo image data to be pasted in the first image pasting area in the layout template is specified. In step S331, it is determined whether unprocessed photographic image data exists. If it exists (YES in step S331), the process returns to step S330. On the other hand, if it does not exist (NO in step S331), the process ends. As described above, the photographic image data specified until the photographic image data is pasted in all the image pasting areas set in the layout template or until the photographic image data is completed by the photographic image information expansion processing in step S330. The photographic image data is pasted sequentially. The correspondence between the head image pasting area and the specified photograph image data is performed by storing the ID of the photograph image data pasted in the head image pasting area in the layout template on the RAM 140, and the photograph image information record By following the link state in the middle, it becomes possible to paste photographic image data in the subsequent image pasting area.
[0071]
Next, details of the photographic image information expansion processing will be described with reference to FIG.
[0072]
FIG. 21 is a flowchart showing details of photographic image information expansion processing according to the embodiment of the present invention.
[0073]
First, in step S331, a development area acquisition process for acquiring a development area of photographic image data stored in the layout information is performed. Next, in step S332, development information acquisition processing for acquiring image development information such as rotation information, cropping information, and zoom magnification information stored in the photographic image information record is performed. In step S333, an image file name setting process is performed in which a file name is acquired and set by following a pointer to a file name indicating photographic image data. Based on the information set in this way, image development processing for developing photographic image data is performed in step S334. This image development process is the same as the image development process in step S226, and the photographic image data is developed according to the process flow described in step S226.
[0074]
When a specific example of the photographic image information expansion process of FIG. 21 is shown, for example, as shown in FIG. 22, an area in which the Photo flag is set is searched in the layout information, and photographic image data is sequentially stored in the searched area. By pasting, it is possible to paste photographic image data in the image pasting area where the layout template has been developed. In addition, the photographic image data to be pasted is linked by sequentially following the links from the photographic image data indicating the first photographic image data in the layout template in the order of the searched image pasting area. It will be done.
[0075]
When the photographic image data is pasted on the layout template and the image is developed by the above photographic image information development processing, next, screen display processing for displaying the image on the display unit 170 is performed in step S400 of FIG. . When the screen display process is completed, in step S500, a key wait state is entered, and an instruction input for the next operation is awaited.
[0076]
If a layout template switching instruction is input in step S500, the process advances to step S600 to perform a template setting process for switching the layout template. When the switched layout template is read onto the RAM 140, the process returns to step S200 to perform template expansion processing. The template setting process is the same as the template setting process in step S130 at the time of initializing, and the layout template layout data is read onto the RAM 140 in the process flow described in step S130. However, when the layout template is switched by the layout template switching instruction, the layout plate having the file name described in the header portion of the layout template is called.
[0077]
If a photo switching instruction is input in step S500, the process advances to step S700 to perform photo image specifying processing. The photographic image specifying process is the same as the photographic image specifying process in step S320, and the same process flow as that described in step S320. However, when a photo switching instruction is input, a process of following the link in the photo image data storage area in the switched direction and changing the ID of the first photo image data in the stored layout template is added. In addition, when a skip switching instruction is input, processing for searching for skip information and changing the ID stored up to the ID for which the skip information is set is added.
[0078]
If a print execution instruction is input in step S500, the process proceeds to step S800, and print processing for printing image data developed from the print unit 170 is executed. In the printing process, the image data expanded for display can be enlarged / reduced according to the paper size and printed, or a layout template is prepared for printing. You can also develop the image and print the result. In the present invention, since image data can be expanded in units of partial blocks, it is also possible to partially expand image data in a print band buffer and print it.
[0079]
If an instruction required for other processing is input in step S500, the process proceeds to step S900, and processing corresponding to the input instruction is executed. If a system end instruction is input in step S500, the process proceeds to step S1000, and after the end process is executed, all processes are ended. As described above, according to the present embodiment, the layout management unit 41, the image / font management unit 32, and the photo image specifying unit 13 are based on the layout template 21 in which the image pasting area is laid out in advance in the page. By expanding image data and font data other than photographic image data and pasting photographic image data to the specified image pasting area in the layout template, simple operation of only specifying (switching) photographic image data Can realize an electronic album.
[0080]
Also, not only for electronic albums, but also by preparing a wide variety of layout templates in the layout template 21 and providing the template designating unit 11 and the photo image specifying unit 13, layout template selection operation and photo image selection operation Various operations and displays such as electronic albums can be realized by simply operating.
[0081]
Also, by providing the template reading unit 22, it is possible to provide an abundant layout template by using external media, it is possible to provide as many desired items as possible, and it is possible to provide a simple and flexible operation.
[0082]
Also, by providing the updated layout template 21 by external media, it is possible to provide a layout template that matches the times each time and prevent the electronic album apparatus body from becoming obsolete.
[0083]
In addition, by preparing various layout templates such as calendars, greeting cards, New Year's cards, stickers, etc. in the layout template 21, it is possible to realize applications other than the electronic album apparatus simply by selecting a layout template in the template designating unit 11.
[0084]
Further, by providing the enlargement / reduction unit 36, it is possible to automatically enlarge / reduce the photo image data in accordance with the size of the image pasting area in the layout template, and the protruding portion of the photo image data is not cut out without permission. Photo image data that matches the layout template can be pasted.
[0085]
When the photographic image data does not exist (if not set) by the layout management unit 41 and the image / font management unit 32, the image pasting area in the layout template is checked, and some image / font data is stored in advance. When the image is expanded in this area, the processing is terminated without performing the expansion processing of the photo image data, so that only the layout template can be displayed / printed.
[0086]
Further, when any image / font data is not developed in the image pasting area, it is possible to realize display / printing with good appearance by developing default image data.
[0087]
If the rotation direction is specified for the photo image data, the rotation unit 35 can rotate the image in the specified direction so that both the vertical photo image data and the horizontal photo image data can be easily pasted. Can do.
[0088]
In addition, when the photographic image data is specified to be cut, the cut portion 34 cuts and pastes that portion, thereby making it possible to paste a wider variety of photographic image data.
[0089]
In addition, when photographic image data and other image data and font data are compressed, the expansion unit 33 also performs automatic expansion processing, so that a large amount of data can be stored in the image / font data storage area 31. .
[0090]
In addition, since the image / font decompression unit 33 includes a process of partially decompressing the compressed image / font data, when decompressing the image / font data, the work memory for decompression is reduced. be able to. As a result, when the image / font data is rotated and developed, the order of the parts to be expanded can be changed, and the time required for the expansion process can be reduced.
[0091]
Further, by providing the display management unit 51 and the display execution unit 52, the developed image can be viewed on the display unit 180. Furthermore, by providing the print management unit 61 and the print execution unit 62, it is possible to print the displayed image simply by instructing the print execution by the print execution instruction unit 12.
[0092]
As described above, the photographic image data can be viewed and enjoyed with a simple operation of simply selecting the layout template and the photographic image data, and various outputs incorporating the photographic image data can be responsive.
[0093]
Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) consisting of a single device even if it is applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.) You may apply.
[0094]
Another object of the present invention is to supply a storage medium storing software program codes for implementing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in the.
[0095]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
[0096]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0097]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0098]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0099]
【The invention's effect】
As described above, according to the present invention, the layout template for pasting image data managed in the electronic album can be changed easily and flexibly.
[0100]
[Brief description of the drawings]
FIG. 1 is a diagram showing a basic configuration of an electronic album apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing another example of the basic configuration of the electronic album apparatus according to the embodiment of the present invention.
FIG. 3 is a block diagram showing a functional configuration of the electronic album apparatus according to the embodiment of the present invention.
FIG. 4 is a diagram showing an outline of processing executed in an embodiment of the present invention.
FIG. 5 is a flowchart showing a processing flow of processing executed in the embodiment of the present invention.
FIG. 6 is a flowchart showing details of initial processing according to the embodiment of the present invention.
FIG. 7 is a diagram showing details of a photographic image information record according to the embodiment of the present invention.
FIG. 8 is a diagram showing a data configuration stored in a layout template storage area according to the embodiment of the present invention.
FIG. 9 is a flowchart showing details of template expansion processing according to the embodiment of the present invention.
FIG. 10 is a diagram for explaining the layout image of the layout template and the description of the layout information thereof according to the embodiment of the present invention.
FIG. 11 is a flowchart showing details of layout information expansion processing according to the embodiment of the present invention.
FIG. 12 is a flowchart showing details of image development processing according to the embodiment of the present invention.
FIG. 13 is a flowchart showing details of uncompressed image expansion processing according to the embodiment of the present invention.
FIG. 14 is a flowchart showing details of compressed image processing according to the embodiment of the present invention.
FIG. 15 is a diagram illustrating a specific example of prescan search processing according to the embodiment of this invention.
FIG. 16 is a diagram illustrating a specific example of cut range skip processing according to the embodiment of this invention;
FIG. 17 is a diagram illustrating a specific example of block call order determination processing according to the embodiment of this invention;
FIG. 18 is a diagram illustrating a specific example of block call order determination processing according to the embodiment of this invention;
FIG. 19 is a diagram illustrating a processing result example of layout information expansion processing according to the embodiment of this invention;
FIG. 20 is a flowchart showing details of photographic image development processing according to the embodiment of the present invention.
FIG. 21 is a flowchart showing details of photographic image information expansion processing according to the embodiment of the present invention.
FIG. 22 is a diagram showing a specific example of photographic image information expansion processing according to the embodiment of the present invention.
[Explanation of symbols]
11 Template specification part
12 Print execution instruction section
13 Photo image identification part
21 Layout template
22 Template reading part
23 Layout Analysis Department
31 Image / font data storage area
32 Image / Font Management Department
33 Extension
34 Rotating part
35 Cutout
36 Enlarging / reducing part
41 Layout Management Department
51 Display Management Department
52 Display execution unit
61 Print Management Department
62 Print execution unit
110 CPU
120 ROM
130 Key driver
140 RAM
150 External communication driver
160 External media driver
170 Printing unit
170a Printer driver
180 display units
200 External printer

Claims (5)

複数の画像貼付エリアを含むレイアウトテンプレートを複数種類記録する記録媒体から指定されたレイアウトテンプレートを読み出す読出手段と、
複数の画像データ同士のリンク関係を示すリンク情報を前記複数の画像データをソートした場合の順位に従って設定する設定手段と、
前記読出手段により読み出されたレイアウトテンプレートの複数の画像貼付エリアと複数の画像データとを、前記設定手段により設定されたリンク情報に従って、それぞれ対応づけて記憶する記憶手段と、
前記レイアウトテンプレートを切替えるための切替指示を入力する入力手段と、
前記入力手段により切替指示が入力された場合、前記記憶手段に記憶された複数の画像データとレイアウトテンプレートの複数の画像貼付エリアとの対応を、前記切替指示によって前記読出手段により新たに読み出されたレイアウトテンプレートの複数の画像貼付エリアに基づいて変更する変更手段と、
前記変更手段により変更された対応に基づいて、前記レイアウトテンプレートの画像貼付エリアに前記複数の画像データを配置したイメージを展開するイメージ展開手段と、
前記イメージを表示ユニットに表示させる表示制御手段と
を備えることを特徴とする画像処理装置。
Reading means for reading out a designated layout template from a recording medium that records a plurality of types of layout templates including a plurality of image pasting areas;
Setting means for setting link information indicating a link relationship between a plurality of image data according to the order when the plurality of image data are sorted ;
Storage means for storing a plurality of image pasting areas and a plurality of image data of the layout template read by the reading means in association with each other according to the link information set by the setting means;
Input means for inputting a switching instruction for switching the layout template;
When a switching instruction is input by the input unit, the correspondence between the plurality of image data stored in the storage unit and the plurality of image pasting areas of the layout template is newly read by the reading unit by the switching instruction. A changing means for changing based on a plurality of image pasting areas of the layout template,
Based on the correspondence changed by the changing means, image developing means for developing an image in which the plurality of image data is arranged in the image pasting area of the layout template;
An image processing apparatus comprising: display control means for displaying the image on a display unit.
前記入力手段は、さらに、前記画像データを切替えるための画像切替指示を入力し、
前記変更手段は、さらに、前記入力手段により画像切替指示が入力された場合、前記画像切替指示によって指定された新たな画像データのリンク情報に基づいて、前記対応を変更する
ことを特徴とする請求項1に記載の画像処理装置。
The input means further inputs an image switching instruction for switching the image data,
The changing means further changes the correspondence based on link information of new image data designated by the image switching instruction when an image switching instruction is inputted by the input means. Item 8. The image processing apparatus according to Item 1.
前記設定手段はさらに、前記画像データのスキップ要否を示すスキップ情報を設定し、
前記入力手段は、さらに、前記画像データのスキップ切替指示を入力し、
前記変更手段は、さらに、前記入力手段によりスキップ切替指示が入力された場合、前記画像データに設定されたスキップ情報に基づいて、前記対応を変更する
ことを特徴とする請求項1に記載の画像処理装置。
The setting means further sets skip information indicating whether or not the image data is skipped,
The input means further inputs a skip switching instruction for the image data,
2. The image according to claim 1, wherein the changing unit further changes the correspondence based on skip information set in the image data when a skip switching instruction is input by the input unit. 3. Processing equipment.
読出手段が、複数の画像貼付エリアを含むレイアウトテンプレートを複数種類記録する記録媒体から指定されたレイアウトテンプレートを読み出す読出工程と、
設定手段が、複数の画像データ同士のリンク関係を示すリンク情報を前記複数の画像データをソートした場合の順位に従って設定する設定工程と、
記憶手段が、前記読出工程により読み出されたレイアウトテンプレートの複数の画像貼付エリアと複数の画像データとを、前記設定工程により設定されたリンク情報に従って、それぞれ対応づけて記憶媒体に記憶する記憶工程と、
入力手段が、前記レイアウトテンプレートを切替えるための切替指示を入力する入力工程と、
変更手段が、前記入力工程により切替指示が入力された場合、前記記憶媒体に記憶された複数の画像データとレイアウトテンプレートの複数の画像貼付エリアとの対応を、前記切替指示によって前記読出工程により新たに読み出されたレイアウトテンプレートの複数の画像貼付エリアに基づいて変更する変更工程と、
イメージ展開手段が、前記変更工程により変更された対応に基づいて、前記レイアウトテンプレートの画像貼付エリアに前記複数の画像データを配置したイメージを展開するイメージ展開工程と、
表示制御手段が、前記イメージを表示ユニットに表示させる表示制御工程と
を備えることを特徴とする画像処理方法。
A reading step for reading a designated layout template from a recording medium for recording a plurality of types of layout templates including a plurality of image pasting areas;
A setting step in which setting means sets link information indicating a link relationship between a plurality of image data in accordance with a ranking when the plurality of image data is sorted ;
A storage step of storing a plurality of image pasting areas and a plurality of image data of the layout template read out in the reading step in association with each other in accordance with the link information set in the setting step. When,
An input step for inputting a switching instruction for switching the layout template;
When a switching instruction is input by the input step, the changing unit newly sets the correspondence between the plurality of image data stored in the storage medium and the plurality of image pasting areas of the layout template by the reading step by the switching instruction. A changing step for changing based on a plurality of image pasting areas of the layout template read in
An image development step for developing an image in which the plurality of image data is arranged in the image pasting area of the layout template, based on the correspondence changed by the changing step;
A display control means comprising: a display control step of displaying the image on a display unit.
読出手段が、複数の画像貼付エリアを含むレイアウトテンプレートを複数種類記録する記録媒体から指定されたレイアウトテンプレートを読み出す読出工程と、
設定手段が、複数の画像データ同士のリンク関係を示すリンク情報を前記複数の画像データをソートした場合の順位に従って設定する設定工程と、
記憶手段が、前記読出工程により読み出されたレイアウトテンプレートの複数の画像貼付エリアと複数の画像データとを、前記設定工程により設定されたリンク情報に従って、それぞれ対応づけて記憶媒体に記憶する記憶工程と、
入力手段が、前記レイアウトテンプレートを切替えるための切替指示を入力する入力工程と、
変更手段が、前記入力工程により切替指示が入力された場合、前記記憶媒体に記憶された複数の画像データとレイアウトテンプレートの複数の画像貼付エリアとの対応を、前記切替指示によって前記読出工程により新たに読み出されたレイアウトテンプレートの複数の画像貼付エリアに基づいて変更する変更工程と、
イメージ展開手段が、前記変更工程により変更された対応に基づいて、前記レイアウトテンプレートの画像貼付エリアに前記複数の画像データを配置したイメージを展開するイメージ展開工程と、
表示制御手段が、前記イメージを表示ユニットに表示させる表示制御工程と
をコンピュータに実行させることを特徴とするコンピュータプログラムを記憶したコンピュータ可読メモリ。
A reading step for reading a designated layout template from a recording medium for recording a plurality of types of layout templates including a plurality of image pasting areas;
A setting step in which setting means sets link information indicating a link relationship between a plurality of image data in accordance with a ranking when the plurality of image data is sorted ;
A storage step of storing a plurality of image pasting areas and a plurality of image data of the layout template read out in the reading step in association with each other in accordance with the link information set in the setting step. When,
An input step for inputting a switching instruction for switching the layout template;
When a switching instruction is input by the input step, the changing unit newly sets the correspondence between the plurality of image data stored in the storage medium and the plurality of image pasting areas of the layout template by the reading step by the switching instruction. A changing step for changing based on a plurality of image pasting areas of the layout template read in
An image development step for developing an image in which the plurality of image data is arranged in the image pasting area of the layout template, based on the correspondence changed by the changing step;
A computer-readable memory storing a computer program, wherein the display control means causes a computer to execute a display control step of displaying the image on a display unit.
JP16251698A 1998-06-10 1998-06-10 Image processing apparatus and method, and computer-readable memory Expired - Fee Related JP4059455B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16251698A JP4059455B2 (en) 1998-06-10 1998-06-10 Image processing apparatus and method, and computer-readable memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16251698A JP4059455B2 (en) 1998-06-10 1998-06-10 Image processing apparatus and method, and computer-readable memory

Publications (2)

Publication Number Publication Date
JPH11353466A JPH11353466A (en) 1999-12-24
JP4059455B2 true JP4059455B2 (en) 2008-03-12

Family

ID=15756117

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16251698A Expired - Fee Related JP4059455B2 (en) 1998-06-10 1998-06-10 Image processing apparatus and method, and computer-readable memory

Country Status (1)

Country Link
JP (1) JP4059455B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3945295B2 (en) * 2002-04-16 2007-07-18 ソニー株式会社 Content management system, image display device, content management device and content management method
CN103632355A (en) * 2012-08-29 2014-03-12 郭昊 Image automatic synthesis processing method and device thereof
CN103139439B (en) * 2013-01-24 2015-12-23 厦门美图网科技有限公司 A kind ofly can add modify the picture synthetic method of material based on segment template

Also Published As

Publication number Publication date
JPH11353466A (en) 1999-12-24

Similar Documents

Publication Publication Date Title
US7207735B2 (en) Device and its operation method for enabling printer to print page of desired design
US20080260289A1 (en) Apparatus and Method for Laying Out Images and Program Therefor
JP4101052B2 (en) Document management apparatus, document management apparatus control method, and computer program
JP4059455B2 (en) Image processing apparatus and method, and computer-readable memory
JP2662305B2 (en) Figure selection method
JP2001273513A (en) Method and system for picture editing
JP2000354123A (en) Digital image processing system
JP2004153513A (en) Image processing apparatus and program thereof
JP3595705B2 (en) Image editing apparatus, control method therefor, and storage medium
JP4027262B2 (en) Image processing apparatus and image processing method
JP2001045266A (en) Picture processor and its method
US20090287733A1 (en) Method for preparing prepress image data
JP3337267B2 (en) Electronic file device
JP3339914B2 (en) Electronic file device
JP4323666B2 (en) Output image control system, image recording apparatus, and information storage medium
JPH06314325A (en) Electronic file device
JPH10334257A (en) Image processing unit
JP3642395B2 (en) Photo print with additional order ticket
JPH11224259A (en) Processor and method for image processing and storage medium
JP2006171869A (en) Image reading device
JP2866464B2 (en) Line figure boundary extraction method
JPH0696183A (en) Method and device for image processor
JPH06342457A (en) Method and device for processing image
JPH08228240A (en) Image processing system
JP2002356016A (en) Image printing apparatus, image printing method, and image printing program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040825

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040825

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7426

Effective date: 20040825

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040825

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071107

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071214

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071217

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111228

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121228

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131228

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees