JP2004229211A - Digital camera - Google Patents

Digital camera Download PDF

Info

Publication number
JP2004229211A
JP2004229211A JP2003017555A JP2003017555A JP2004229211A JP 2004229211 A JP2004229211 A JP 2004229211A JP 2003017555 A JP2003017555 A JP 2003017555A JP 2003017555 A JP2003017555 A JP 2003017555A JP 2004229211 A JP2004229211 A JP 2004229211A
Authority
JP
Japan
Prior art keywords
image
layout
stored
removable memory
subject
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.)
Withdrawn
Application number
JP2003017555A
Other languages
Japanese (ja)
Inventor
Yasumasa Nakajima
靖雅 中島
Masanobu Shirakawa
政信 白川
Shuji Tsuji
修司 辻
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003017555A priority Critical patent/JP2004229211A/en
Priority to US10/543,056 priority patent/US7884859B2/en
Publication of JP2004229211A publication Critical patent/JP2004229211A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital camera which is capable of selecting various layouts and recording a subject so as to be able to plot in a selected layout or to be able to plot separately from the selected layout. <P>SOLUTION: The digital camera is provided with a layout input means for inputting a layout when plotting a digital image, and an internal memory where the inputted layout is stored. The selection of the layout stored in the internal memory is accepted, and the digital image is outputted to a removable memory in relation to the selected layout. The layout stored in the internal memory is outputted to the removable memory in which the digital image is stored. The digital image stored in the removable memory is plotted by a plotter on the basis of the layout stored in the removable memory (S620). <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明はディジタルカメラに関する。
【0002】
【従来の技術】
ディジタルカメラには、例えば合成画像の素材としての被写体を記録するという用途がある。合成画像は、写真付挨拶状、枠付き写真シールなどを印刷するために広く用いられている。
従来、縁取りや背景を表すディジタル画像(既定画像)と被写体を表すディジタル画像(被写体画像)とを合成して得た合成画像を外部メモリに記録するディジタルカメラが知られている(例えば特許文献1参照)。
また、被写体画像とともに、被写体画像を証明写真等のアスペクト比に応じてクリッピング等して印刷するための枠の情報をメモリに記録し、被写体画像を枠の情報に基づいてプリンタに印刷させるディジタルカメラが知られている(例えば特許文献2参照)。
【0003】
【特許文献1】
特開2001−45352号公報
【特許文献2】
特開2000−358206号公報(段落0075)
【0004】
【発明が解決しようとする課題】
しかし、特許文献1に開示されたディジタルカメラによると、外部メモリに記録する前に既定画像と被写体画像とを合成してしまうため、合成前の被写体画像が外部メモリに記録されない。このため、撮影前に選択した既定画像と合成する用途以外に被写体画像を転用することができない。
また、特許文献2に開示されたディジタルカメラによると、枠の情報をディジタルカメラに入力するインタフェースがないため、ユーザが利用できる枠の情報が限定されている。
【0005】
本発明の第一の目的は、多様なレイアウトを選択でき、選択したレイアウトで描画可能かつ選択したレイアウトと別個に描画可能に被写体画像を記録できるディジタルカメラを提供することを目的とする。
本発明の第二の目的は、多様な既定画像を選択でき、選択した既定画像と合成して描画可能かつ選択した既定画像と別個に描画可能に被写体画像を記録できるディジタルカメラを提供することを目的とする。
【0006】
【課題を解決するための手段】
上記第一の目的を達成するため、本発明に係るディジタルカメラは、被写体の光学像を結像させる光学系と、結像された被写体の光学像をディジタル画像に変換する変換手段と、前記変換手段が出力するディジタル画像の描画時のレイアウトを入力するレイアウト入力手段と、入力されたレイアウトが格納される内部メモリと、前記内部メモリに格納されたレイアウトの選択を受け付ける選択受付手段と、前記変換手段に出力させたディジタル画像を、前記選択受付手段によって選択されたレイアウトに関連付けてリムーバブルメモリに出力する被写体画像出力手段と、前記内部メモリに格納されたレイアウトを、前記被写体画像出力手段によってディジタル画像が格納されるリムーバブルメモリに出力するレイアウト出力手段と、リムーバブルメモリに格納されたディジタル画像を、リムーバブルメモリに格納されたレイアウトに基づいて描画装置に描画させる描画制御手段と、を備えることを特徴とする。
【0007】
被写体画像をレイアウトに基づいて編集した画像ではなく被写体画像そのものをリムーバブルメモリに格納することにより、選択したレイアウトで描画可能かつ選択したレイアウトと別個に描画可能に被写体画像を記録することができる。また、被写体画像を記録するとき、リムーバブルメモリに格納されたレイアウトではなく内部メモリに格納されたレイアウトをユーザに選択させることにより、リムーバブルメモリを交換する前に選択していたレイアウトが交換後に選択できなくなるという不都合は生じない。また、リムーバブルメモリ、通信回線等からレイアウトを入力可能にすることにより、ユーザは多様なレイアウトを選択することができるようになる。またレイアウトを、被写体のディジタル画像とともにリムーバブルメモリに出力することにより、プリンタ等の描画装置において、被写体画像を、ディジタルカメラにおいて選択したレイアウトに従って確実に描画することができるようになる。
【0008】
さらに本発明に係るディジタルカメラでは、前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像を、リムーバブルメモリに格納されたレイアウトに基づいてディスプレイに表示させることを特徴とする。
さらに本発明に係るディジタルカメラでは、前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像を、リムーバブルメモリに格納されたレイアウトに基づいてプリンタに印刷させることを特徴とする。
【0009】
上記第二の目的を達成するため、本発明に係るディジタルカメラは、被写体の光学像を結像させる光学系と、結像された被写体の光学像をディジタル画像に変換する変換手段と、前記変換手段が出力するディジタル画像に合成される既定画像を入力するレイアウト入力手段と、入力された既定画像が格納される内部メモリと、前記内部メモリに格納された既定画像の選択を受け付ける選択受付手段と、前記変換手段に出力させたディジタル画像を、前記選択受付手段によって選択された既定画像に関連付けてリムーバブルメモリに出力する被写体画像出力手段と、前記内部メモリに格納された既定画像を、前記被写体画像出力手段によってディジタル画像が格納されるリムーバブルメモリに出力するレイアウト出力手段と、リムーバブルメモリに格納されたディジタル画像及び既定画像を描画装置に合成描画させる描画制御手段と、を備えることを特徴とする。
【0010】
被写体画像を既定画像と合成した画像ではなく被写体画像そのものを不揮発性メモリに格納することにより、選択した既定画像で描画可能かつ選択した既定画像と別個に描画可能に被写体画像を記録することができる。また、被写体画像を記録するとき、リムーバブルメモリに格納された既定画像ではなく内部メモリに格納された既定画像をユーザに選択させることにより、リムーバブルメモリを交換する前に選択していた既定画像が交換後に選択できなくなるという不都合は生じない。また、リムーバブルメモリ、通信回線等から既定画像を入力可能にすることにより、ユーザは多様な既定画像を選択することができるようになる。また既定画像を、被写体のディジタル画像とともにリムーバブルメモリに出力することにより、ディスプレイ、プリンタ等の描画装置において、被写体画像を、ディジタルカメラにおいて選択した既定画像に従って確実に描画することができるようになる。
【0011】
さらに本発明に係るディジタルカメラでは、前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像及び既定画像をディスプレイに合成表示させることを特徴とする。
さらに本発明に係るディジタルカメラでは、前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像及び既定画像をプリンタに合成印刷させることを特徴とする。
【0012】
尚、本発明に備わる複数の手段の各機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら複数の手段の各機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。また、本発明は装置の発明として特定できるだけでなく、プログラムの発明としても、そのプログラムを記録した記録媒体の発明としても、方法の発明としても特定することができる。
【0013】
【発明の実施の形態】
図2は、本発明の第一実施例のディジタルカメラ101の構成を示すブロック図である。図3(A)、図3(B)は、それぞれディジタルカメラ101の外観を示す背面図、正面図である。
光学系130は、筐体164に収容されたレンズ168、絞り等で構成されている。光学系130はイメージセンサ132の受光面に被写体の光学像を結像させる。
【0014】
変換手段としてのイメージセンサ132は、2次元空間に離散的に配置された光電変換素子とCCD(Charge Coupled Device)等の電荷転送素子とを備えたエリアイメージセンサである。イメージセンサ132は、センサコントローラ140によって制御される。イメージセンサ132は、光電変換して得られる電荷を光電変換素子毎に一定時間蓄積し、光電変換素子毎の受光量に応じた電気信号を出力する。受光面にC(Cyan)、M(Magenta)、Y(Yellow)及びG(Green)の4色の補色フィルタ、又はR(Red)、G(Green)及びB(Blue)の原色フィルタを設けることによりカラー画像を形成することが可能になる。
【0015】
変換手段としてのA/D変換部(ADC)134は、イメージセンサ132から出力されるアナログ信号を量子化しディジタル信号に変換する。具体的には例えば、ADC134は、アナログ信号に含まれる雑音の低減処理、ゲインの調整によるアナログ信号のレベル調整処理、量子化処理等を行う。
変換手段としての画像形成部136は、ADC134から出力されたディジタル信号に対し、画像形成処理、ホワイトバランス補正、γ補正、色空間変換等を施し、各画素についてR、G、Bの階調値や、Y、Cb、Crの階調値などを表す画像データを出力する。尚、ここでいう画像形成処理とは、一色分の濃度情報からなる画素を近傍画素の異なる色の濃度情報で補間することにより画素毎にRGB又はYCbCrの3つの階調値を持つディジタル画像データを出力する処理である。
【0016】
被写体画像出力手段としての圧縮・伸張部138は、ディジタル画像データを圧縮又は伸張する。具体的には、ディジタル画像データの系列変換及びエントロピー符号化を行うことによりディジタル画像データを圧縮し、それらの逆変換を施すことによりディジタル画像データを伸張する。具体的には例えば離散コサイン変換、ウェーブレット変換、ランレングス符号化、ハフマン符号化等を用いてディジタル画像データを圧縮する。圧縮・伸張部138で圧縮されたディジタル画像データはメモリコントローラ150によって不揮発性メモリとしてのリムーバブルメモリ156に格納される。
【0017】
レイアウト入力手段及び選択受付手段としての操作部144は、ダイヤルスイッチ160、押しボタンスイッチ114、116、120、十字キー118、シャッタスイッチ162等を備える。ダイヤルスイッチ160は回転角度に応じて撮影モード、再生モード、ダイレクトプリントモード等のモードを設定するためのダイヤルスイッチである。押しボタンスイッチ120は、LCD(Liquid Crystal Display)154にメニューを呼び出すためのスイッチである。押しボタンスイッチ114、116、十字キー118は、LCD154に表示されるメニューを操作するためのスイッチである。シャッタスイッチ162は、静止画像記録指示を入力するためのスイッチである。撮影モードでは、シャッタスイッチ162を押すことにより静止画記録指示を入力することができる。
【0018】
LCD154は、撮影モードで電子ビューファインダとして機能する。ディスプレイコントローラ152は、LCD154の一画面分のディジタル画像データを格納するためのフレームバッファと、フレームバッファに格納されたディジタル画像データに基づいてLCD154を駆動するための表示回路とを備える。撮影モードでは、被写体を表すディジタル動画像、被写体を表すディジタル画像に合成される画像の全体又は一部を表すディジタル静止画像、これら2つの画像を合成するためのαチャンネル情報、メニューを構成するオブジェクト等がワークメモリ148に格納される。表示回路はワークメモリ148からこれらの画像等を表示可能に合成してフレームバッファに転送し、フレームバッファに格納されたこれらのオブジェクトをLCD154に表示する。
【0019】
CPU142は、内部メモリとしてのフラッシュメモリ146に記憶されているコンピュータプログラムを実行することにより、ディジタルカメラ101の全体を制御する。ワークメモリ148は、プログラムやデータを一時的に記憶するためのメモリである。フラッシュメモリ146に格納されるプログラムや各種のデータは、所定のサーバからネットワークを介してダウンロードしてフラッシュメモリ146に格納してもよいし、リムーバブルメモリ等のコンピュータ読み取り可能な記憶媒体から入力してフラッシュメモリ146に格納してもよい。
【0020】
図4は、フラッシュメモリ146及びリムーバブルメモリ156に格納されるファイルのディレクトリを示す模式図である。「¥internal」はフラッシュメモリ146のルートディレクトリに対応し、「¥removable」はリムーバブルメモリ156のルートディレクトリに対応する。
拡張子が「.jpg」のファイルは被写体を表すディジタル画像(被写体画像)であって、リムーバブルメモリ156に格納される。被写体画像をリムーバブルメモリ156に格納することにより、リムーバブルメモリ156を媒体としてプリンタ等の描画装置に被写体画像を容易に転送することができる。尚、図4はレイアウト定義ファイルに関連付けられた被写体画像が1つも記録されていない状態を示している。
【0021】
拡張子が「.usd」のファイルは被写体画像の描画時のレイアウトと描画時に被写体画像に合成される既定画像とを定義する情報(レイアウト定義ファイル)であって、用紙サイズ毎に保存されている。レイアウト定義ファイルについては後に詳述する。拡張子が「.usm」のファイルはインデックスファイルである。インデックスファイルには、用紙サイズが互いに異なり互いに相似の関係にある複数のレイアウト定義ファイルのインデックス情報が記述されている。具体的には例えば、インデックスファイルには、互いに相似の関係にあるレイアウト定義ファイルの数や、互いに相似の関係にあるレイアウト定義ファイルのファイル名等が記述されている。拡張子が「.eff」のファイルはレイアウト定義ファイルに基づいて被写体画像と合成されるディジタル画像(既定画像)である。拡張子が「.usf」のファイルは描画装置用サムネイルである。描画装置用サムネイルは、レイアウト定義ファイルで定義しているレイアウトをプリンタやパーソナルコンピュータなどの描画装置のモニタに表示するためのサムネイル画像ファイルである。拡張子が「.ctf」のファイルはカメラ用サムネイルである。カメラ用サムネイルは、レイアウト定義ファイルで定義しているレイアウト及び既定画像をディジタルカメラ101のLCD154に画像として表示するためのサムネイル画像ファイルである。既定画像、描画装置用サムネイル及びカメラ用サムネイルは、描画装置用サムネイル及びカメラ用サムネイルによって表示されるレイアウトを定義したレイアウト定義ファイルのファイル名が記述されたインデックスファイルのファイル名と同名のフォルダに格納されている。すなわち、カメラ用サムネイルとインデックスファイルとはカメラ用サムネイルが格納されているフォルダの名前によって互いに関連付けられている。
【0022】
図5はレイアウト定義ファイル170の内容を示す模式図である。図6(A)は、レイアウト定義ファイル170を用いて描画される画像を説明するための模式図である。図6(B)はレイアウト定義ファイル170を用いて印刷したはがき174を示す平面図である。レイアウト定義ファイル170には、被写体画像のレイアウトがスクリプトによって定義されている。スクリプトは、被写体画像を印刷用紙に配置するための位置情報、被写体画像を回転して印刷用紙に配置するための情報、被写体画像を拡大又は縮小するための情報等をプリンタ等で一義的に解釈可能に定義する。具体的には例えば、用紙サイズ(例えば「はがき」)、印刷用紙の向きを規定する情報(例えば「縦長」)、被写体画像を配置する枠(被写体画像枠)を規定する情報(例えば枠の左上座標「(x1,y1)」と枠の右下座標「(x2,y2)」)、その枠に被写体画像を配置するときの回転を規定する情報(例えば「反時計回りに90度回転」)等がレイアウト定義ファイル170にスクリプトによって記述されている。
【0023】
レイアウト定義ファイル170には、被写体画像に合成する画像(既定画像)を特定するための情報(例えば既定画像のファイル名としての「birthday.eff」)、既定画像を配置する枠を規定する情報(例えば枠の左上座標「(x3,y3)」と枠の右下座標「(x4,y4)」)、αチャンネル情報を規定する情報(例えばαチャンネル情報のタグ)等をスクリプトによって記述してもよい。また、レイアウト定義ファイル170にはαチャンネル情報172を格納してもよい。αチャンネル情報とは、2つの画像を重畳合成するときにどちらの画像の画素を合成画像に反映させるかを画素毎に定義した情報である。既定画像を特定するための情報がスクリプトによって記述されているレイアウト定義ファイル170が選択されることは、当該既定画像が選択されることに等しい。
【0024】
図7はカメラ用サムネイル78の内容を示す模式図である。カメラ用サムネイル178には、レイアウト定義ファイル170に定義されたレイアウトの全体を示すディジタル静止画像(全体サムネイル)117が格納されている。また、カメラ用サムネイル178には、全体サムネイル117と被写体画像とを合成表示するためのαチャンネル情報176が格納されている。全体サムネイル117及びαチャンネル情報176は、JPEG等のデータ形式で圧縮されていることが好ましい。さらにカメラ用サムネイル178には、付属情報として、全体サムネイル117の向きを規定する情報(例えば「縦長」)、被写体画像を配置する枠を規定する情報(例えば枠の左上座標「(x1,y1)」と枠の右下座標「(x2,y2)」)、被写体画像を配置する枠の向きを規定する情報(例えば「縦長」)等が付属情報として格納されている。
【0025】
ここでレイアウト定義ファイル、インデックスファイル、既定画像、描画装置用サムネイル及びカメラ用サムネイルをリムーバブルメモリ156から入力する処理について説明する。以下、これら5種類のファイルをまとめてレイアウトファイルセットというものとする。ユーザが所定のメニューにおいて所定の項目を選択することにより、フラッシュメモリ146に格納された所定のプログラムがCPU142によって実行されると、レイアウトファイルセットをリムーバブルメモリ156から入力する処理が開始される。すなわち、CPU142はフラッシュメモリ146に格納された所定のプログラムを実行することにより入力手段として機能する。
【0026】
図8は、レイアウトファイルセットをリムーバブルメモリ156から入力するためのHMI(Human Machine Interface)を説明するための模式図であって、LCD154の画面の遷移を示している。はじめにフラッシュメモリ146に格納されたレイアウトファイルセットのメニューが例えば画面11のようにLCD154に表示される。このメニューは、フラッシュメモリ146に格納された全てのレイアウトファイルセットの識別子(具体的には例えばインデックスファイルのファイル名)を十字キー118の操作によって選択可能な項目として表示する。
【0027】
画面11が表示された状態で十字キー118の右端が押されると、リムーバブルメモリ156に格納されたレイアウトファイルセットのメニューが例えば画面12のようにLCD154に表示される。このメニューは、リムーバブルメモリ156に格納された全てのレイアウトファイルセットの識別子(具体的には例えばインデックスファイルのファイル名)を十字キー118の操作によって選択可能な項目として表示する。
【0028】
画面12、13が表示された状態で十字キー118の下端又は上端が押されると、現在選択中の項目の次の項目を選択する。尚、現在選択中の項目はカーソル115によってユーザに示す。また、現在選択中のファイルセットの内容をカメラ用サムネイルによって表示することが望ましい。
画面12、13が表示された状態で押しボタンスイッチ116が押されると、現在選択中のレイアウトファイルセットをリムーバブルメモリ156からフラッシュメモリ146にコピーする。コピーが終了すると、そのことをユーザに報知するため、フラッシュメモリ146に格納されたレイアウトファイルセットのメニューを例えば画面14のように表示する。
【0029】
図9は、本発明の一実施例のディジタルカメラの撮影モードにおいて被写体画像をレイアウト及び既定画像に関連付けてリムーバブルメモリ156に出力する処理の流れを示すフローチャートである。図10はこの処理のためのHMIを説明するための模式図であってLCD154の画面の遷移を示している。図9に示す処理は、撮影モードで押しボタンスイッチ120及び押しボタンスイッチ116が続けて押されると開始され、CPU142がフラッシュメモリ146に格納された所定のプログラムを実行することにより進行する。すなわち、CPU142はフラッシュメモリ146に格納された所定のプログラムを実行することにより選択受付手段、被写体画像出力手段、既定画像出力手段及びレイアウト出力手段として機能する。
【0030】
ステップS400では、内部メモリとしてのフラッシュメモリ146に格納されたレイアウトファイルセットのメニューによってレイアウト及び既定画像の選択を受け付ける。具体的には例えば次のようにしてレイアウト及び既定画像の選択を受け付ける。撮影モードで押しボタンスイッチ120及び押しボタンスイッチ116が続けて押されると、画面15のように現在選択中のレイアウトファイルセットの識別子123と、カメラ用サムネイルに基づいてレイアウト定義ファイルの内容を示す画像121とをLCD154に表示する。画面15が表示された状態で十字キー118の上端又は下端が押されると、次のレイアウトファイルセットの識別子125とレイアウト定義ファイルの内容を表す画像127とを例えば画面16のようにLCD154に表示する。画面15又は画面16のように現在選択中のレイアウトファイルセットの識別子123、125と、レイアウト定義ファイルの内容を示す画像121、127とが表示されている状態で押しボタンスイッチ116が押されると、撮影モードに戻り、レイアウト定義ファイルの内容の一部を表す画像124と被写体動画像126とメニュー127とを画面17のように合成表示する。被写体動画像126は、画像形成部136から所定の時間間隔で出力される被写体画像から構成される。
【0031】
ステップS410の処理は、レイアウトファイルセットが選択されている撮影モードにおいてシャッタスイッチ162が押されると開始される。ステップS410では、画像形成部136から出力され圧縮・伸張部138で圧縮された被写体画像がメモリコントローラ150によってリムーバブルメモリ156に格納される。
【0032】
ステップS420では、現在選択されているレイアウトファイルセットのインデックスファイルのファイル名を記述した関連付けファイルが被写体画像と同一のフォルダに格納される。この結果、現在選択されているレイアウトファイルセットに関連付けて被写体画像がリムーバブルメモリ156に格納される。関連付けファイルにはインデックスファイルのファイル名が記述され、インデックスファイルに記述されたレイアウト定義ファイルに関連付けようとする被写体画像のファイル名と同一のファイル名を付ける。すなわち、被写体画像と関連付けファイルとはそれらのファイル名によって互いに関連付けられる。関連付けファイルとインデックスファイルとは、関連付けファイルに記述されたファイル名によって関連付けられる。インデックスファイルとレイアウト定義ファイルとは、レイアウト定義ファイルに記述されたインデックスファイルのファイル名によって関連付けられる。これら複数のファイルによる関連づけによって、用紙サイズが異なり互いに相似の関係にある複数のレイアウト定義ファイルが1つの被写体画像に関連付けられる。
【0033】
ステップS430では、現在選択されているファイルセットがリムーバブルメモリ156に格納されているか否かを判別する。現在選択されているファイルセットが既にリムーバブルメモリ156に格納されていれば、被写体画像をレイアウトファイルセットに関連付けて記録する処理は終了する。現在選択されているファイルセットがリムーバブルメモリに格納されていない場合、ステップS440に進み、現在選択されているファイルセットをリムーバブルメモリ156に格納する。
【0034】
図11は、フラッシュメモリ146及びリムーバブルメモリ156に格納されたファイルのディレクトリを示す模式図である。図11は、図4に示したファイルがフラッシュメモリ146及びリムーバブルメモリ156に格納された状態において、フラッシュメモリ146に格納されたファイルセットを選択した後にシャッタスイッチ162を押した直後のファイルを示している。拡張子が「.ust」のファイルは、上述した関連付けファイルである。例えば「0002.ust」の関連付けファイルには、「daen_0.usm」というファイル名が記述されている。
【0035】
図12は、レイアウトファイルセットと関連付けてリムーバブルメモリ156に格納された被写体画像をLCD154に表示する処理の流れを示すフローチャートである。図12に示す処理は、ダイヤルスイッチ160によって再生モードが選択され、十字キー118等によって表示対象の被写体画像をユーザが選択すると開始され、CPU142がフラッシュメモリ146に格納された所定のプログラムを実行することにより進行する。すなわち、CPU142はフラッシュメモリ146に格納された所定のプログラムを実行することによりLCD154を制御する描画制御手段として機能する。
【0036】
ステップS500では、表示対象の被写体画像とファイルセットとを関連付ける関連付けファイルの有無を判別する。具体的には、表示対象の被写体画像と同一のファイル名が付された関連付けファイルを検索することによって判別する。関連付けファイルが有る場合はステップS510に進み、関連付けファイルが無い場合は図12に示す処理を終了する。
【0037】
ステップS510では、表示対象の被写体画像について印刷時のレイアウトを確認するか否かをユーザに問い合わせる。具体的には、押しボタンスイッチ116の近傍に問い合わせのメッセージを表示し、押しボタンスイッチ116が押されるとステップS520に進み、押されなければ図12に示す処理を終了する。
【0038】
ステップS520では、表示対象の被写体画像と、それに関連付けられたファイルセットのカメラ用サムネイルの全体サムネイルとαチャンネル情報とをリムーバブルメモリ156から入力し、圧縮・伸張部138によって伸張する。このとき、被写体画像の本画像を入力してもよいし、被写体画像のサムネイル画像を入力してもよい。
【0039】
ステップS530では、ディスプレイコントローラ152のフレームバッファに表示対象の被写体画像、全体サムネイル及びαチャンネル情報を格納し、図13に示すように被写体画像175及び全体サムネイル117を合成表示する。画面上の被写体画像175の配置は、カメラ用サムネイルの付属情報で定義された被写体画像枠の座標によって決まる。尚、表示対象の被写体画像に関連付けられたレイアウト定義ファイルにおいて既定画像を定義していない場合、全体サムネイルとして空白用紙を模した無地の長方形が表示され、カメラ用サムネイルの付属情報で定義された被写体画像枠に被写体画像が表示される。すなわち、レイアウト定義ファイルにおいて既定画像が定義されているか、定義されていないかに関わらず、画面上の被写体画像の配置は、レイアウト定義ファイルの被写体画像枠に応じて予め定義されたカメラ用サムネイルの付属情報の被写体画像枠に基づいて決められる。また、レイアウト定義ファイルにおいて既定画像が定義されている場合、既定画像そのものを被写体画像と合成表示する代わりに、既定画像のサムネイル画像に相当する全体サムネイルが被写体画像に合成表示される。尚、カメラ用サムネイルを用いて被写体画像を表示する代わりに、レイアウト定義ファイルの内容を解釈して被写体画像の画面上の配置を特定し、LCD154の表示領域に応じて既定画像を拡大又は縮小して被写体画像と合成表示してもよい。
【0040】
図1は、レイアウトファイルセットと関連付けてリムーバブルメモリ156に格納された被写体画像を図示しないプリンタに印刷させる処理の流れを示すフローチャートである。図1に示す処理は、ダイヤルスイッチ160によってダイレクトプリントモードが選択されると開始され、CPU142がフラッシュメモリ146に格納された所定のプログラムを実行することにより進行する。すなわち、CPU142はフラッシュメモリ146に格納された所定のプログラムを実行することによりプリンタを制御する描画制御手段として機能する。
【0041】
ステップS600では、用紙サイズ及び印刷対象の被写体画像を指定するためのメニューを表示し、ユーザに用紙サイズ及び印刷対象の被写体画像を指定させ、指定された内容に応じた印刷ジョブを設定する。
ステップS610では、印刷対象の被写体画像とファイルセットとを関連付ける関連付けファイルの有無を判別する。具体的には、印刷対象の被写体画像と同一のファイル名が付された関連付けファイルを検索することによって判別する。関連付けファイルが有る場合はステップS620に進み、関連付けファイルがなければステップS630に進む。
【0042】
ステップS620では、ディジタルカメラ101と通信可能に接続されたプリンタに印刷ジョブを出力するとともに、ユーザに指定された用紙サイズに応じたレイアウト定義ファイルと印刷対象の被写体画像とをリムーバブルメモリ156からプリンタに出力する。用紙サイズに応じたレイアウト定義ファイルは具体的には例えば次のようにしてプリンタに出力する。印刷対象の被写体画像と関連付けられたファイルセットのインデックスファイルを参照し、インデックスファイルに既述されたレイアウト定義ファイルの中から指定された用紙サイズに応じたレイアウト定義ファイルのファイル名を特定する。ファイル名を特定したレイアウト定義ファイルをリムーバブルメモリ156から読み出してプリンタに出力する。また、レイアウト定義ファイルで既定画像が定義されている場合、その既定画像もリムーバブルメモリ156から読み出してレイアウト定義ファイルとともにプリンタに出力する。
【0043】
ステップS630では、印刷対象の被写体画像にレイアウトファイルセットが関連付けられていないため、ディジタルカメラ101と通信可能に接続されたプリンタに印刷ジョブを出力するとともに、印刷対象の被写体画像をリムーバブルメモリ156からプリンタに出力する。
【0044】
ステップS640では、プリンタに搭載されたCPUの制御下で印刷ジョブが解釈され、印刷ジョブに基づいて被写体画像が印刷される。すなわち、印刷ジョブにおいてレイアウト定義ファイルと被写体画像とが関連付けられている場合、被写体画像とともにプリンタに入力されたレイアウト定義ファイルに基づいて、被写体画像を配置する。また、レイアウト定義ファイルに既定画像が定義されている場合、被写体画像と既定画像とを合成する。尚、プリンタに印刷ジョブ及びレイアウト定義ファイルを解釈させて被写体画像を印刷させる代わりに、ディジタルカメラ101において印刷ジョブ及びレイアウト定義ファイルを解釈し、ディジタルカメラ101において被写体画像を印刷データに変換し、ディジタルカメラ101からプリンタに印刷データを出力してもよい。
【0045】
本発明の一実施例によると、内部メモリとしてのフラッシュメモリ146に格納されたレイアウトファイルセットをユーザに選択させるため、リムーバブルメモリ156を交換する前に選択していたレイアウトファイルセットが交換後に選択できなくなるという不都合は生じない。また、リムーバブルメモリ156に格納されたレイアウトファイルセットを入力可能であるため、ユーザは多様なレイアウトファイルセットを選択することができる。また、選択されたレイアウトファイルセットに関連付けて被写体画像をリムーバブルメモリ156に出力するため、選択したレイアウトファイルセットで描画可能に被写体画像を記録できる。また、リムーバブルメモリ156に被写体のディジタル画像とレイアウトとを互いに関連付けて出力するため、ディスプレイ、プリンタ等の描画装置において、被写体画像を、選択したレイアウトファイルセットに従って確実に描画することができる。
【0046】
さらに本発明の一実施例によると、選択されたレイアウトファイルセットを、当該レイアウトファイルセットに関連付ける被写体画像をリムーバブルメモリ156に出力した後に、リムーバブルメモリに出力するため、選択されたレイアウトファイルセットを無駄なく確実にリムーバブルメモリに出力することができる。
さらに本発明の一実施例によると、リムーバブルメモリ156に格納されているレイアウトファイルセットを重複してリムーバブルメモリ156に出力しないため、リムーバブルメモリ156の記憶領域の浪費を防止できる。
【図面の簡単な説明】
【図1】本発明の一実施例に係るフローチャートである。
【図2】本発明の一実施例に係るブロック図である。
【図3】(A)は本発明の一実施例に係る正面図、(B)は本発明の一実施例に係る背面図である。
【図4】本発明の一実施例に係る模式図である。
【図5】本発明の一実施例に係る模式図である。
【図6】(A)、(B)ともに本発明の一実施例に係る模式図である。
【図7】本発明の一実施例に係る模式図である。
【図8】本発明の一実施例に係る模式図である。
【図9】本発明の一実施例に係るフローチャートである。
【図10】本発明の一実施例に係る模式図である。
【図11】本発明の一実施例に係る模式図である。
【図12】本発明の一実施例に係るフローチャートである。
【図13】本発明の一実施例に係る正面図である。
【符号の説明】
101 ディジタルカメラ、130 光学系、132 イメージセンサ(変換手段)、134 ADC(変換手段)、136 画像形成部(変換手段)、138圧縮・伸張部(被写体画像出力手段)、142 CPU(レイアウト入力手段、選択受付手段、被写体画像出力手段、レイアウト出力手段、描画制御手段)、144 操作部(レイアウト入力手段、選択受付手段)、146 フラッシュメモリ(内部メモリ)、156 リムーバブルメモリ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a digital camera.
[0002]
[Prior art]
A digital camera has a use, for example, for recording a subject as a material of a composite image. Synthetic images are widely used for printing greeting cards with photos, photo stickers with frames, and the like.
2. Description of the Related Art Conventionally, there is known a digital camera that records a composite image obtained by combining a digital image (predetermined image) representing a border or a background and a digital image (subject image) representing a subject in an external memory (for example, Patent Document 1). reference).
In addition, a digital camera that records, in a memory, frame information for printing the subject image along with clipping or the like in accordance with the aspect ratio of an ID photograph or the like along with the subject image, and prints the subject image on a printer based on the frame information. Is known (for example, see Patent Document 2).
[0003]
[Patent Document 1]
JP 2001-45352 A [Patent Document 2]
JP 2000-358206 A (Paragraph 0075)
[0004]
[Problems to be solved by the invention]
However, according to the digital camera disclosed in Patent Literature 1, since the predetermined image and the subject image are combined before recording in the external memory, the subject image before combining is not recorded in the external memory. For this reason, the subject image cannot be diverted except for the purpose of combining with the default image selected before photographing.
Further, according to the digital camera disclosed in Patent Document 2, there is no interface for inputting frame information to the digital camera, so that frame information that can be used by the user is limited.
[0005]
A first object of the present invention is to provide a digital camera capable of selecting various layouts, recording a subject image so as to be able to draw with the selected layout, and to be able to draw separately from the selected layout.
A second object of the present invention is to provide a digital camera which can select various default images, and can record a subject image so that it can be drawn by being synthesized with the selected default image and drawn separately from the selected default image. Aim.
[0006]
[Means for Solving the Problems]
In order to achieve the first object, a digital camera according to the present invention comprises: an optical system that forms an optical image of a subject; a conversion unit that converts the formed optical image of the subject into a digital image; Layout input means for inputting a layout at the time of drawing a digital image output by the means, an internal memory in which the input layout is stored, selection receiving means for receiving selection of a layout stored in the internal memory, and the conversion Means for outputting the digital image output to the means to the removable memory in association with the layout selected by the selection receiving means; and outputting the layout stored in the internal memory to the digital image by the object image output means. Layout output means for outputting to a removable memory in which A digital image stored in Rumemori, characterized in that it comprises a drawing control means for drawing the drawing unit based on the layout stored in the removable memory.
[0007]
By storing the subject image itself in the removable memory instead of the image obtained by editing the subject image based on the layout, it is possible to record the subject image so that it can be drawn with the selected layout and can be drawn separately from the selected layout. Also, when recording the subject image, the user can select the layout stored in the internal memory instead of the layout stored in the removable memory, so that the layout selected before replacing the removable memory can be selected after the replacement. The inconvenience of disappearing does not occur. Further, by enabling the layout to be input from a removable memory, a communication line, or the like, the user can select various layouts. By outputting the layout together with the digital image of the subject to the removable memory, the subject image can be reliably drawn by the drawing device such as a printer in accordance with the layout selected by the digital camera.
[0008]
Further, in the digital camera according to the present invention, the drawing control means displays the digital image stored in the removable memory on a display based on the layout stored in the removable memory.
Further, in the digital camera according to the present invention, the drawing control means causes the printer to print the digital image stored in the removable memory based on the layout stored in the removable memory.
[0009]
In order to achieve the second object, a digital camera according to the present invention comprises: an optical system that forms an optical image of a subject; a conversion unit that converts the formed optical image of the subject into a digital image; A layout input unit for inputting a default image to be combined with the digital image output by the unit, an internal memory for storing the input default image, and a selection receiving unit for receiving selection of the default image stored in the internal memory. A subject image output unit that outputs the digital image output from the conversion unit to a removable memory in association with the default image selected by the selection receiving unit, and outputs the default image stored in the internal memory to the subject image. Layout output means for outputting to the removable memory in which the digital image is stored by the output means; Characterized in that it and a drawing control means for synthesizing the drawing to the drawing device the digital image and the default image stored in the.
[0010]
By storing the subject image itself in the non-volatile memory instead of the image obtained by combining the subject image with the default image, the subject image can be recorded so that it can be drawn with the selected default image and can be drawn separately from the selected default image. . Also, when recording the subject image, the user can select the default image stored in the internal memory instead of the default image stored in the removable memory, so that the default image selected before replacing the removable memory can be replaced. There is no inconvenience that selection cannot be made later. Further, by allowing a default image to be input from a removable memory, a communication line, or the like, a user can select various default images. In addition, by outputting the default image to the removable memory together with the digital image of the subject, it becomes possible to draw the subject image in a drawing device such as a display or a printer in accordance with the default image selected by the digital camera.
[0011]
Further, in the digital camera according to the present invention, the drawing control means is configured to display the digital image and the predetermined image stored in the removable memory on a display.
Further, in the digital camera according to the present invention, the drawing control means causes the printer to combine and print the digital image and the predetermined image stored in the removable memory.
[0012]
Each function of the plurality of means provided in the present invention is realized by a hardware resource whose function is specified by the configuration itself, a hardware resource whose function is specified by a program, or a combination thereof. The functions of the plurality of means are not limited to those realized by hardware resources which are physically independent of each other. Further, the present invention can be specified not only as an invention of an apparatus, but also as an invention of a program, an invention of a recording medium on which the program is recorded, and an invention of a method.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 2 is a block diagram showing the configuration of the digital camera 101 according to the first embodiment of the present invention. 3A and 3B are a rear view and a front view, respectively, showing the appearance of the digital camera 101.
The optical system 130 includes a lens 168 housed in a housing 164, an aperture, and the like. The optical system 130 forms an optical image of the subject on the light receiving surface of the image sensor 132.
[0014]
The image sensor 132 as a conversion unit is an area image sensor including a photoelectric conversion element discretely arranged in a two-dimensional space and a charge transfer element such as a CCD (Charge Coupled Device). The image sensor 132 is controlled by the sensor controller 140. The image sensor 132 accumulates a charge obtained by photoelectric conversion for each photoelectric conversion element for a certain period of time, and outputs an electric signal corresponding to the amount of light received for each photoelectric conversion element. Four complementary color filters of C (Cyan), M (Magenta), Y (Yellow) and G (Green) or primary color filters of R (Red), G (Green) and B (Blue) are provided on the light receiving surface. Thus, a color image can be formed.
[0015]
An A / D converter (ADC) 134 as a conversion unit quantizes the analog signal output from the image sensor 132 and converts the analog signal into a digital signal. Specifically, for example, the ADC 134 performs a process of reducing noise included in the analog signal, a process of adjusting a level of the analog signal by adjusting a gain, a quantization process, and the like.
The image forming unit 136 as a converting unit performs image forming processing, white balance correction, γ correction, color space conversion, and the like on the digital signal output from the ADC 134, and performs R, G, and B gradation values for each pixel. And image data representing gradation values of Y, Cb, and Cr. Here, the image forming process is a digital image data having three gradation values of RGB or YCbCr for each pixel by interpolating a pixel composed of density information of one color with density information of different colors of neighboring pixels. Is output.
[0016]
A compression / decompression unit 138 as subject image output means compresses or decompresses digital image data. Specifically, the digital image data is compressed by performing series conversion and entropy coding of the digital image data, and the digital image data is expanded by performing the inverse transform thereof. Specifically, the digital image data is compressed using, for example, discrete cosine transform, wavelet transform, run-length coding, Huffman coding, or the like. The digital image data compressed by the compression / decompression unit 138 is stored by the memory controller 150 in a removable memory 156 as a nonvolatile memory.
[0017]
The operation unit 144 as a layout input unit and a selection receiving unit includes a dial switch 160, push button switches 114, 116, and 120, a cross key 118, a shutter switch 162, and the like. The dial switch 160 is a dial switch for setting a mode such as a shooting mode, a reproduction mode, and a direct print mode according to the rotation angle. The push button switch 120 is a switch for calling a menu on an LCD (Liquid Crystal Display) 154. The push button switches 114 and 116 and the cross key 118 are switches for operating a menu displayed on the LCD 154. The shutter switch 162 is a switch for inputting a still image recording instruction. In the shooting mode, a still image recording instruction can be input by pressing the shutter switch 162.
[0018]
The LCD 154 functions as an electronic viewfinder in the shooting mode. The display controller 152 includes a frame buffer for storing digital image data for one screen of the LCD 154, and a display circuit for driving the LCD 154 based on the digital image data stored in the frame buffer. In the photographing mode, a digital moving image representing a subject, a digital still image representing the whole or a part of an image to be combined with the digital image representing the subject, α channel information for combining these two images, an object constituting a menu Are stored in the work memory 148. The display circuit combines these images and the like from the work memory 148 so that they can be displayed, transfers them to the frame buffer, and displays these objects stored in the frame buffer on the LCD 154.
[0019]
The CPU 142 controls the entire digital camera 101 by executing a computer program stored in a flash memory 146 as an internal memory. The work memory 148 is a memory for temporarily storing programs and data. The programs and various data stored in the flash memory 146 may be downloaded from a predetermined server via a network and stored in the flash memory 146, or may be input from a computer-readable storage medium such as a removable memory. It may be stored in the flash memory 146.
[0020]
FIG. 4 is a schematic diagram showing directories of files stored in the flash memory 146 and the removable memory 156. "@Internal" corresponds to the root directory of the flash memory 146, and "@removable" corresponds to the root directory of the removable memory 156.
The file with the extension “.jpg” is a digital image (subject image) representing the subject, and is stored in the removable memory 156. By storing the subject image in the removable memory 156, the subject image can be easily transferred to a drawing device such as a printer using the removable memory 156 as a medium. FIG. 4 shows a state where no subject image associated with the layout definition file is recorded.
[0021]
The file with the extension “.usd” is information (layout definition file) that defines the layout at the time of drawing the subject image and the default image to be combined with the subject image at the time of drawing, and is saved for each paper size. . The layout definition file will be described later in detail. Files with the extension “.usm” are index files. In the index file, index information of a plurality of layout definition files having different paper sizes and having a similar relationship to each other is described. Specifically, for example, the index file describes the number of layout definition files having a similar relationship to each other, the file names of layout definition files having a similar relationship to each other, and the like. The file with the extension “.eff” is a digital image (default image) that is combined with the subject image based on the layout definition file. A file having the extension “.usf” is a thumbnail for a drawing device. The drawing device thumbnail is a thumbnail image file for displaying the layout defined by the layout definition file on a monitor of a drawing device such as a printer or a personal computer. Files with the extension “.ctf” are camera thumbnails. The camera thumbnail is a thumbnail image file for displaying the layout and the default image defined in the layout definition file on the LCD 154 of the digital camera 101 as an image. The default image, the drawing device thumbnail, and the camera thumbnail are stored in a folder having the same name as the file name of the index file in which the file name of the layout definition file that defines the layout displayed by the drawing device thumbnail and the camera thumbnail is described. Have been. That is, the camera thumbnail and the index file are associated with each other by the name of the folder in which the camera thumbnail is stored.
[0022]
FIG. 5 is a schematic diagram showing the contents of the layout definition file 170. FIG. 6A is a schematic diagram for explaining an image drawn using the layout definition file 170. FIG. 6B is a plan view showing a postcard 174 printed using the layout definition file 170. FIG. The layout of the subject image is defined in the layout definition file 170 by a script. The script uniquely interprets position information for arranging the subject image on the printing paper, information for rotating the subject image on the printing paper, information for enlarging or reducing the subject image, and the like by a printer or the like. Define as possible. Specifically, for example, paper size (for example, “postcard”), information (for example, “portrait”) specifying the orientation of the printing paper, and information (for example, the upper left corner of the frame) Coordinates “(x1, y1)” and lower right coordinates “(x2, y2)” of the frame, and information defining the rotation when arranging the subject image in the frame (eg, “rotate 90 degrees counterclockwise”) Are described in the layout definition file 170 by a script.
[0023]
The layout definition file 170 includes information for specifying an image (default image) to be combined with the subject image (for example, “birthday.eff” as a file name of the default image), and information for defining a frame in which the default image is arranged ( For example, even if the upper left coordinate “(x3, y3)” of the frame and the lower right coordinate “(x4, y4)” of the frame, information defining α channel information (eg, tag of α channel information), etc. are described by a script. Good. The layout definition file 170 may store α channel information 172. The α channel information is information that defines, for each pixel, which image pixel is to be reflected in the composite image when the two images are superimposed and composited. Selecting a layout definition file 170 in which information for specifying a default image is described by a script is equivalent to selecting the default image.
[0024]
FIG. 7 is a schematic diagram showing the contents of the camera thumbnail 78. In the camera thumbnail 178, a digital still image (entire thumbnail) 117 indicating the entire layout defined in the layout definition file 170 is stored. Further, the camera thumbnail 178 stores α channel information 176 for synthesizing and displaying the entire thumbnail 117 and the subject image. The entire thumbnail 117 and α channel information 176 are preferably compressed in a data format such as JPEG. Further, the camera thumbnail 178 includes, as attached information, information defining the direction of the entire thumbnail 117 (for example, “portrait”) and information defining the frame in which the subject image is arranged (for example, the upper left coordinate “(x1, y1) of the frame). , And lower right coordinates of the frame (“x2, y2)”), information (for example, “portrait”) that defines the direction of the frame in which the subject image is arranged, and the like are stored as additional information.
[0025]
Here, the process of inputting the layout definition file, index file, default image, drawing device thumbnail, and camera thumbnail from the removable memory 156 will be described. Hereinafter, these five types of files are collectively referred to as a layout file set. When a user selects a predetermined item in a predetermined menu and a predetermined program stored in flash memory 146 is executed by CPU 142, a process of inputting a layout file set from removable memory 156 is started. That is, the CPU 142 functions as an input unit by executing a predetermined program stored in the flash memory 146.
[0026]
FIG. 8 is a schematic diagram for explaining an HMI (Human Machine Interface) for inputting a layout file set from the removable memory 156, and shows a transition of the screen of the LCD 154. First, a menu of a layout file set stored in the flash memory 146 is displayed on the LCD 154 as in the screen 11, for example. This menu displays the identifiers (specifically, for example, the file names of index files) of all the layout file sets stored in the flash memory 146 as items that can be selected by operating the cross key 118.
[0027]
When the right end of the cross key 118 is pressed while the screen 11 is displayed, a layout file set menu stored in the removable memory 156 is displayed on the LCD 154 as in the screen 12, for example. This menu displays the identifiers (specifically, for example, the file names of index files) of all the layout file sets stored in the removable memory 156 as items that can be selected by operating the cross key 118.
[0028]
When the lower or upper end of the cross key 118 is pressed in a state where the screens 12 and 13 are displayed, the next item of the currently selected item is selected. The currently selected item is indicated to the user by the cursor 115. It is also desirable to display the contents of the currently selected file set by a camera thumbnail.
When the push button switch 116 is pressed while the screens 12 and 13 are displayed, the currently selected layout file set is copied from the removable memory 156 to the flash memory 146. When the copying is completed, a menu of the layout file set stored in the flash memory 146 is displayed, for example, on the screen 14 in order to notify the user of the completion.
[0029]
FIG. 9 is a flowchart illustrating a flow of a process of outputting a subject image to the removable memory 156 in association with a layout and a predetermined image in a shooting mode of the digital camera according to the embodiment of the present invention. FIG. 10 is a schematic diagram for explaining the HMI for this processing, and shows a transition of the screen of the LCD 154. The process shown in FIG. 9 is started when the push button switch 120 and the push button switch 116 are continuously pressed in the photographing mode, and proceeds when the CPU 142 executes a predetermined program stored in the flash memory 146. That is, the CPU 142 functions as a selection receiving unit, a subject image output unit, a default image output unit, and a layout output unit by executing a predetermined program stored in the flash memory 146.
[0030]
In step S400, selection of a layout and a default image is received by a menu of a layout file set stored in the flash memory 146 as an internal memory. Specifically, for example, selection of a layout and a default image is received as follows. When the push button switch 120 and the push button switch 116 are continuously pressed in the photographing mode, an image showing the contents of the layout definition file based on the identifier 123 of the currently selected layout file set and the camera thumbnail as shown in a screen 15. 121 is displayed on the LCD 154. When the upper or lower end of the cross key 118 is pressed while the screen 15 is displayed, an identifier 125 of the next layout file set and an image 127 representing the contents of the layout definition file are displayed on the LCD 154, for example, as in the screen 16. . When the push button switch 116 is pressed while the identifiers 123 and 125 of the currently selected layout file set and the images 121 and 127 indicating the contents of the layout definition file are displayed as in the screen 15 or 16, Returning to the photographing mode, the image 124 representing a part of the contents of the layout definition file, the subject moving image 126, and the menu 127 are combined and displayed as in the screen 17. The subject moving image 126 includes a subject image output from the image forming unit 136 at predetermined time intervals.
[0031]
The process of step S410 is started when the shutter switch 162 is pressed in the shooting mode in which the layout file set is selected. In step S410, the subject image output from the image forming unit 136 and compressed by the compression / decompression unit 138 is stored in the removable memory 156 by the memory controller 150.
[0032]
In step S420, an association file describing the file name of the index file of the currently selected layout file set is stored in the same folder as the subject image. As a result, the subject image is stored in the removable memory 156 in association with the currently selected layout file set. The file name of the index file is described in the association file, and the same file name as the file name of the subject image to be associated with the layout definition file described in the index file is given. That is, the subject image and the association file are associated with each other by their file names. The association file and the index file are associated by the file name described in the association file. The index file and the layout definition file are associated by the file name of the index file described in the layout definition file. By the association by the plurality of files, a plurality of layout definition files having different paper sizes and having a similar relationship to each other are associated with one subject image.
[0033]
In step S430, it is determined whether or not the currently selected file set is stored in the removable memory 156. If the currently selected file set has already been stored in the removable memory 156, the process of recording the subject image in association with the layout file set ends. If the currently selected file set is not stored in the removable memory, the process advances to step S440 to store the currently selected file set in the removable memory 156.
[0034]
FIG. 11 is a schematic diagram showing directories of files stored in the flash memory 146 and the removable memory 156. FIG. 11 shows a file immediately after pressing the shutter switch 162 after selecting a file set stored in the flash memory 146 in a state where the file shown in FIG. 4 is stored in the flash memory 146 and the removable memory 156. I have. The file with the extension “.ust” is the above-described association file. For example, the file name “daen — 0.usm” is described in the association file “0002.ust”.
[0035]
FIG. 12 is a flowchart showing a flow of processing for displaying the subject image stored in the removable memory 156 in association with the layout file set on the LCD 154. The process shown in FIG. 12 is started when the playback mode is selected by the dial switch 160 and the user selects a subject image to be displayed by the cross key 118 or the like, and the CPU 142 executes a predetermined program stored in the flash memory 146. It progresses by doing. That is, the CPU 142 functions as a drawing control unit that controls the LCD 154 by executing a predetermined program stored in the flash memory 146.
[0036]
In step S500, it is determined whether there is an association file that associates the subject image to be displayed with the file set. Specifically, the determination is made by searching for an association file having the same file name as the subject image to be displayed. When there is an association file, the process proceeds to step S510, and when there is no association file, the process illustrated in FIG. 12 ends.
[0037]
In step S510, an inquiry is made to the user as to whether or not to confirm the layout at the time of printing the subject image to be displayed. Specifically, an inquiry message is displayed near the push button switch 116, and if the push button switch 116 is pressed, the process proceeds to step S520; otherwise, the process shown in FIG.
[0038]
In step S520, the object image to be displayed, the entire camera thumbnail of the file set associated therewith and the α-channel information are input from the removable memory 156, and expanded by the compression / expansion unit 138. At this time, the main image of the subject image may be input, or a thumbnail image of the subject image may be input.
[0039]
In step S530, the subject image to be displayed, the entire thumbnail, and the α channel information are stored in the frame buffer of the display controller 152, and the subject image 175 and the entire thumbnail 117 are combined and displayed as shown in FIG. The arrangement of the subject image 175 on the screen is determined by the coordinates of the subject image frame defined by the accessory information of the camera thumbnail. If a default image is not defined in the layout definition file associated with the subject image to be displayed, a plain rectangle simulating blank paper is displayed as the entire thumbnail, and the subject defined by the attached information of the camera thumbnail is displayed. The subject image is displayed in the image frame. That is, regardless of whether the default image is defined or not defined in the layout definition file, the arrangement of the subject image on the screen is determined by adding a camera thumbnail defined in advance according to the subject image frame of the layout definition file. It is determined based on the subject image frame of the information. When the default image is defined in the layout definition file, the entire thumbnail corresponding to the thumbnail image of the default image is synthesized and displayed on the subject image instead of displaying the default image itself and the subject image. Instead of displaying the subject image using the camera thumbnail, the layout of the subject image is specified by interpreting the contents of the layout definition file, and the default image is enlarged or reduced according to the display area of the LCD 154. May be combined and displayed with the subject image.
[0040]
FIG. 1 is a flowchart showing a flow of processing for causing a printer (not shown) to print a subject image stored in the removable memory 156 in association with a layout file set. The process shown in FIG. 1 is started when the direct print mode is selected by the dial switch 160, and proceeds when the CPU 142 executes a predetermined program stored in the flash memory 146. That is, the CPU 142 functions as a drawing control unit that controls the printer by executing a predetermined program stored in the flash memory 146.
[0041]
In step S600, a menu for specifying the paper size and the subject image to be printed is displayed, the user is allowed to specify the paper size and the subject image to be printed, and a print job is set according to the specified contents.
In step S610, it is determined whether there is an association file that associates the subject image to be printed with the file set. Specifically, the determination is made by searching for an associated file having the same file name as the subject image to be printed. If there is an association file, the process proceeds to step S620; otherwise, the process proceeds to step S630.
[0042]
In step S620, the print job is output to the printer communicably connected to the digital camera 101, and the layout definition file corresponding to the paper size specified by the user and the subject image to be printed are transferred from the removable memory 156 to the printer. Output. Specifically, the layout definition file corresponding to the paper size is output to the printer as follows, for example. With reference to the index file of the file set associated with the subject image to be printed, the file name of the layout definition file corresponding to the specified paper size is specified from the layout definition files described in the index file. The layout definition file whose file name is specified is read from the removable memory 156 and output to the printer. If a default image is defined in the layout definition file, the default image is also read from the removable memory 156 and output to the printer together with the layout definition file.
[0043]
In step S630, since the layout file set is not associated with the subject image to be printed, the print job is output to the printer communicably connected to the digital camera 101, and the subject image to be printed is transferred from the removable memory 156 to the printer. Output to
[0044]
In step S640, the print job is interpreted under the control of the CPU mounted on the printer, and the subject image is printed based on the print job. That is, when the layout definition file and the subject image are associated in the print job, the subject image is arranged based on the layout definition file input to the printer together with the subject image. If a default image is defined in the layout definition file, the subject image and the default image are combined. Instead of having the printer interpret the print job and the layout definition file to print the subject image, the digital camera 101 interprets the print job and the layout definition file, and the digital camera 101 converts the subject image into print data, Print data may be output from the camera 101 to a printer.
[0045]
According to the embodiment of the present invention, the layout file set stored in the flash memory 146 as the internal memory is selected by the user, so that the layout file set selected before the replacement of the removable memory 156 can be selected after the replacement. The inconvenience of disappearing does not occur. In addition, since a layout file set stored in the removable memory 156 can be input, the user can select various layout file sets. Further, since the subject image is output to the removable memory 156 in association with the selected layout file set, the subject image can be recorded so as to be able to be drawn by the selected layout file set. Further, since the digital image of the subject and the layout are output in association with each other to the removable memory 156, the subject image can be reliably drawn in a drawing device such as a display or a printer according to the selected layout file set.
[0046]
Furthermore, according to an embodiment of the present invention, the selected layout file set is output to the removable memory after the subject image associated with the layout file set is output to the removable memory 156. Output to the removable memory without any problem.
Further, according to the embodiment of the present invention, since the layout file sets stored in the removable memory 156 are not output to the removable memory 156 redundantly, waste of the storage area of the removable memory 156 can be prevented.
[Brief description of the drawings]
FIG. 1 is a flowchart according to an embodiment of the present invention.
FIG. 2 is a block diagram according to one embodiment of the present invention.
FIG. 3A is a front view according to one embodiment of the present invention, and FIG. 3B is a rear view according to one embodiment of the present invention.
FIG. 4 is a schematic diagram according to one embodiment of the present invention.
FIG. 5 is a schematic diagram according to an embodiment of the present invention.
FIGS. 6A and 6B are schematic diagrams according to one embodiment of the present invention.
FIG. 7 is a schematic diagram according to an embodiment of the present invention.
FIG. 8 is a schematic diagram according to an embodiment of the present invention.
FIG. 9 is a flowchart according to an embodiment of the present invention.
FIG. 10 is a schematic view according to an embodiment of the present invention.
FIG. 11 is a schematic diagram according to an embodiment of the present invention.
FIG. 12 is a flowchart according to an embodiment of the present invention.
FIG. 13 is a front view according to an embodiment of the present invention.
[Explanation of symbols]
101 digital camera, 130 optical system, 132 image sensor (conversion means), 134 ADC (conversion means), 136 image forming section (conversion means), 138 compression / decompression section (subject image output means), 142 CPU (layout input means) , Selection receiving means, subject image output means, layout output means, drawing control means), 144 operation unit (layout input means, selection receiving means), 146 flash memory (internal memory), 156 removable memory

Claims (6)

被写体の光学像を結像させる光学系と、
結像された被写体の光学像をディジタル画像に変換する変換手段と、
前記変換手段が出力するディジタル画像の描画時のレイアウトを入力するレイアウト入力手段と、
入力されたレイアウトが格納される内部メモリと、
前記内部メモリに格納されたレイアウトの選択を受け付ける選択受付手段と、
前記変換手段に出力させたディジタル画像を、前記選択受付手段によって選択されたレイアウトに関連付けてリムーバブルメモリに出力する被写体画像出力手段と、
前記内部メモリに格納されたレイアウトを、前記被写体画像出力手段によってディジタル画像が格納されるリムーバブルメモリに出力するレイアウト出力手段と、
リムーバブルメモリに格納されたディジタル画像を、リムーバブルメモリに格納されたレイアウトに基づいて描画装置に描画させる描画制御手段と、
を備えることを特徴とするディジタルカメラ。
An optical system that forms an optical image of the subject,
Conversion means for converting the optical image of the formed subject into a digital image,
Layout input means for inputting a layout at the time of drawing the digital image output by the conversion means,
An internal memory where the input layout is stored;
Selection accepting means for accepting selection of a layout stored in the internal memory;
Subject image output means for outputting the digital image output to the conversion means to a removable memory in association with the layout selected by the selection reception means,
A layout output unit that outputs the layout stored in the internal memory to a removable memory in which a digital image is stored by the subject image output unit;
Drawing control means for drawing a digital image stored in the removable memory on the drawing device based on the layout stored in the removable memory;
A digital camera comprising:
前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像を、リムーバブルメモリに格納されたレイアウトに基づいてディスプレイに表示させることを特徴とする請求項1に記載のディジタルカメラ。2. The digital camera according to claim 1, wherein the drawing control unit displays the digital image stored in the removable memory on a display based on a layout stored in the removable memory. 前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像を、リムーバブルメモリに格納されたレイアウトに基づいてプリンタに印刷させることを特徴とする請求項1に記載のディジタルカメラ。2. The digital camera according to claim 1, wherein the drawing control unit causes a printer to print the digital image stored in the removable memory based on the layout stored in the removable memory. 被写体の光学像を結像させる光学系と、
結像された被写体の光学像をディジタル画像に変換する変換手段と、
前記変換手段が出力するディジタル画像に合成される既定画像を入力するレイアウト入力手段と、
入力された既定画像が格納される内部メモリと、
前記内部メモリに格納された既定画像の選択を受け付ける選択受付手段と、
前記変換手段に出力させたディジタル画像を、前記選択受付手段によって選択された既定画像に関連付けてリムーバブルメモリに出力する被写体画像出力手段と、
前記内部メモリに格納された既定画像を、前記被写体画像出力手段によってディジタル画像が格納されるリムーバブルメモリに出力するレイアウト出力手段と、
リムーバブルメモリに格納されたディジタル画像及び既定画像を描画装置に合成描画させる描画制御手段と、
を備えることを特徴とするディジタルカメラ。
An optical system that forms an optical image of the subject,
Conversion means for converting the optical image of the formed subject into a digital image,
Layout input means for inputting a default image to be synthesized with the digital image output by the conversion means,
An internal memory for storing the input default image,
Selection accepting means for accepting selection of a default image stored in the internal memory,
Subject image output means for outputting the digital image output to the conversion means to a removable memory in association with the default image selected by the selection reception means,
A layout output unit that outputs the default image stored in the internal memory to a removable memory in which a digital image is stored by the subject image output unit;
Drawing control means for causing the drawing device to synthesize and draw the digital image and the default image stored in the removable memory;
A digital camera comprising:
前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像及び既定画像をディスプレイに合成表示させることを特徴とする請求項4に記載のディジタルカメラ。5. The digital camera according to claim 4, wherein said drawing control means displays a digital image and a predetermined image stored in a removable memory on a display. 前記描画制御手段は、リムーバブルメモリに格納されたディジタル画像及び既定画像をプリンタに合成印刷させることを特徴とする請求項4に記載のディジタルカメラ。5. The digital camera according to claim 4, wherein the drawing control unit causes the printer to combine and print the digital image and the default image stored in the removable memory.
JP2003017555A 2003-01-21 2003-01-27 Digital camera Withdrawn JP2004229211A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2003017555A JP2004229211A (en) 2003-01-27 2003-01-27 Digital camera
US10/543,056 US7884859B2 (en) 2003-01-21 2003-12-25 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003017555A JP2004229211A (en) 2003-01-27 2003-01-27 Digital camera

Publications (1)

Publication Number Publication Date
JP2004229211A true JP2004229211A (en) 2004-08-12

Family

ID=32904684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003017555A Withdrawn JP2004229211A (en) 2003-01-21 2003-01-27 Digital camera

Country Status (1)

Country Link
JP (1) JP2004229211A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006238145A (en) * 2005-02-25 2006-09-07 Ricoh Co Ltd System and method for printing form
JP2007094777A (en) * 2005-09-29 2007-04-12 Seiko Epson Corp Data processing device and method, printer, data recording device and method, print method, program, and recording medium
US8294930B2 (en) 2007-03-22 2012-10-23 Brother Kogyo Kabushiki Kaisha Printing system, portable unit terminal, server, portable embedded program and server program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006238145A (en) * 2005-02-25 2006-09-07 Ricoh Co Ltd System and method for printing form
JP2007094777A (en) * 2005-09-29 2007-04-12 Seiko Epson Corp Data processing device and method, printer, data recording device and method, print method, program, and recording medium
JP4670565B2 (en) * 2005-09-29 2011-04-13 セイコーエプソン株式会社 Data processing apparatus and printer
US8294930B2 (en) 2007-03-22 2012-10-23 Brother Kogyo Kabushiki Kaisha Printing system, portable unit terminal, server, portable embedded program and server program

Similar Documents

Publication Publication Date Title
US8269837B2 (en) Digital camera and image processing apparatus
US8098298B2 (en) Digital camera recording a composite image
US7675563B2 (en) Digital camera
JPH1146331A (en) Digital camera and print system
JP5213687B2 (en) Image processing apparatus and control method thereof
JP4743179B2 (en) Image display control device, photographing device, image display method and program thereof
JP5083180B2 (en) Image processing apparatus, program, and image processing method
JP4910288B2 (en) Digital camera
JP2004229211A (en) Digital camera
US7812977B2 (en) Image-processing system, image-processing method, and product of image-processing program for displaying an image individually or as a composite image
JP4085786B2 (en) Digital camera, printing system, and computer-readable recording medium
JP3786270B2 (en) Digital camera
JP4292811B2 (en) Digital camera
US7884859B2 (en) Digital camera
JP3786271B2 (en) Digital camera and display control method of digital camera
JP2004228744A (en) Digital camera
JP2002027368A (en) Image compositing and printing apparatus
JP3427838B2 (en) Digital camera
JP2003009056A (en) Digital camera
JP2004147316A (en) Digital camera and print system
JP2004112815A (en) Digital camera and print system
JP2004104817A (en) Digital camera and printing system
JP2004104818A (en) Digital camera and printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050420

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060810

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20061222

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20061226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20070403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090106

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090302