JP3937137B2 - Image transmission method and apparatus - Google Patents
Image transmission method and apparatus Download PDFInfo
- Publication number
- JP3937137B2 JP3937137B2 JP2002001025A JP2002001025A JP3937137B2 JP 3937137 B2 JP3937137 B2 JP 3937137B2 JP 2002001025 A JP2002001025 A JP 2002001025A JP 2002001025 A JP2002001025 A JP 2002001025A JP 3937137 B2 JP3937137 B2 JP 3937137B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- thumbnail
- image file
- transmission
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Facsimiles In General (AREA)
- Studio Devices (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は画像送信方法及び装置に係り、特に送信対象とされる画像ファイルに添付されるサムネイル(縮小画像)データの取扱いに関する。
【0002】
【従来の技術】
特開平8−237490号公報に開示された画像データ伝送システムは、受信側の装置にJPEG伸張機能が搭載されているか否かを判別し、伸張機能の有無に応じて送信側の装置でサムネイルデータのJPEG圧縮処理を行うか否かを決定している。送信時にサムネイルデータを圧縮する場合は、データサイズが小さくなるため、通信トラフィックを低減することが可能である。
【0003】
また、本願発明者の出願に係る特願2000−40590号(特開平2001−230999号)では、送信側の装置に画像を任意のサイズに変換する機能を備え、受信側から送信側に対して所望のサイズを要求することにより、送信側から変倍後の画像を取得可能なシステムを開示している。
【0004】
【発明が解決しようとする課題】
このようなシステムの場合、変倍後のサイズはオリジナルの画像サイズ(例えば、1600×1200の画素数)からサムネイルサイズ(例えば、160 ×120 )までとり得るが、変倍後のサイズがサムネイルサイズに近い場合、特開平8−237490号公報に開示の技術を使用してサムネイルを圧縮して添付したとしても、送信される画像ファイル全体サイズに対するサムネイルの所要サイズが相対的に大きくなる。主画像のサイズと添付されるサムネイルのサイズが近いときは、サムネイル自体が情報としては冗長なものであると考えられるため、このような場合は、通信トラフィックの無駄の割合が多くなる。
【0005】
本発明はこのような事情に鑑みてなされたもので、伝送する画像に応じてサムネイル画像の取扱いを可変し、通信トラフィックの無駄を防止することができる画像送信方法及び装置を提供すことを目的とする。
【0006】
【課題を解決するための手段】
前記目的を達成するために請求項1に係る発明は、送信側装置から受信側装置に対して画像データを送信する画像送信方法において、伝送する主画像のデータ量に応じて、当該主画像の縮小画像であるサムネイル画像のデータを伝送用の画像ファイルに付加するか否かを判断し、その判断結果に従ってサムネイル画像を付加した画像ファイル又はサムネイル画像を省略した画像ファイルを生成し、該生成した画像ファイルを送信することを特徴としている。
【0007】
伝送対象の主画像に対して、サムネイル画像のデータ量が比較的大きいとき、すなわち、主画像が比較的小さく、主画像とサムネイル画像とのサイズ差が小さいときは、サムネイル画像の有用性が相対的に低くなる。このような状況において主画像のファイルにサムネイル画像を付加することは、データとしての冗長度が大きくなると認められる。したがって、本発明では、かかる状況においてサムネイル画像の添付を省略し、サムネイル画像無しの画像ファイルを伝送している。これにより、通信トラフィックの無駄を防止できる。なお、「データ量」は画素数(画像のサイズ)や圧縮率などを反映した値である。
【0008】
サムネイル画像を添付するか否かの具体的な判断方法として、請求項2に示したように、前記受信側装置に送る主画像の画素サイズが所定の判定基準よりも小さい場合は、前記サムネイル画像を添付せずに前記主画像を含む画像ファイルを伝送する態様がある。「所定の判定基準」は、例えば、縦方向及び横方向の少なくとも一方の画素数について予め定められた固定値を用いることができる。
【0009】
また、請求項3に示したように、前記主画像と前記サムネイル画像とがともに圧縮される場合であって、主画像の圧縮サイズが前記サムネイル画像の圧縮サイズの所定倍よりも小さい場合は、サムネイル画像を添付せずに主画像を含む画像ファイルを伝送する態様がある。「圧縮サイズ」とは、実際に圧縮処理した後の圧縮後サイズ、又は圧縮処理前に予想される圧縮後のサイズ(予想圧縮サイズ)を意味するものとする。
【0010】
請求項4に記載した発明は、送信側装置から受信側装置に対して画像データを送信する画像送信方法において、伝送する主画像のデータ量に対して、当該主画像の縮小画像であるサムネイル画像のデータ量が所定の割合以下となるようにサムネイル画像のデータ量を調節し、前記データ量が調節されたサムネイル画像と前記主画像とを含む画像ファイルを生成し、該生成した画像ファイルを送信することを特徴としている。
【0011】
本発明によれば、伝送対象となる主画像のデータ量に応じて、当該主画像の縮小画像であるサムネイル画像のデータ量を調節し、主画像のデータ量に対して所定の割合以下となるようにサムネイル画像のデータ量を変更してサムネイル画像付きの画像ファイルを送信するようにしたので、通信トラフィックの無駄を防止できる。
【0012】
データ量の調節方法として、請求項5に示したように、前記受信側装置に送る主画像のデータ量に対して、所定の割合以下となるようにサムネイル画像の圧縮率及び画素数のうち少なくとも一方を調節してサムネイル画像付きの画像ファイルを生成する態様がある。
【0013】
例えば、伝送する主画像の画素サイズに対して、所定の割合以下となるようにサムネイル画像の画素数を調節してもよいし、主画像のデータサイズに対して、所定の割合以下となるようにサムネイル画像の圧縮率及び画素数のうち少なくとも一方を調節してもよい。
【0014】
請求項6に記載の発明は、請求項1に記載の方法発明を具現化する装置を提供するため、受信側装置に対して画像データを送信可能な画像送信装置であって、該装置は、前記受信側装置との間でデータの受け渡しを行う通信手段と、画像データが格納されている画像保存手段から伝送対象として選択された画像内容を含む画像ファイルを読み出すデータ読出手段と、伝送すべき主画像のデータ量に応じて、当該主画像の縮小画像であるサムネイル画像のデータを伝送用の画像ファイルに付加するか否かの判断を行う判断手段と、前記判断手段の判断結果に従ってサムネイル画像を付加した画像ファイル又はサムネイル画像を省略した画像ファイルを生成する伝送用画像ファイル生成手段と、前記伝送用画像ファイル生成手段によって生成された伝送用の画像ファイルを前記受信側装置に送信する制御を行う制御手段と、を備えたことを特徴としている。
【0015】
画像保存手段は、画像送信装置に内蔵されていてもよいし、リムーバブルメディアのように、画像送信装置本体に対して着脱可能な構成であってもよい。
【0016】
請求項7に記載の発明は、請求項4に記載の方法発明を具現化する装置を提供するものであり、受信側装置に対して画像データを送信可能な画像送信装置であって、該装置は、前記受信側装置との間でデータの受け渡しを行う通信手段と、画像データが格納されている画像保存手段から伝送対象として選択された画像内容を含む画像ファイルを読み出すデータ読出手段と、伝送すべき主画像のデータ量に応じて、当該主画像の縮小画像であるサムネイル画像のデータ量を変更するデータ量変更手段と、前記主画像のデータ量に対して前記サムネイル画像のデータ量が所定の割合以下となるようにデータ量が調節されたサムネイル画像を付加した画像ファイルを生成する伝送用画像ファイル生成手段と、前記伝送用画像ファイル生成手段によって生成された伝送用の画像ファイルを前記受信側装置に送信する制御を行う制御手段と、を備えたことを特徴としている。
【0017】
請求項8に示した態様は、請求項6又は7に記載の画像送信装置において、更に、前記受信側装置に対して送信可能な画像ファイルの情報を提供する手段を有し、前記受信側装置からの要求に応じて、要求に係る画素サイズの主画像を含む画像ファイルを送信することを特徴としている。
【0018】
請求項6乃至8に記載の画像送信装置は、コンピュータによって実現することが可能であり、コンピュータを上記の画像送信装置として機能させるためのプログラムをCD−ROMや磁気ディスクその他の記録メディアに記録し、記録メディアを通じて当該プログラムを第三者に提供したり、インターネットなどの通信回線を通じて当該プログラムのダウンロードサービスを提供することも可能である。
【0019】
【発明の実施の形態】
以下添付図面に従って本発明に係る画像送信方法及び装置の好ましい実施の形態について説明する。
【0020】
図1は本発明が適用される画像転送システムの構成を示す概略図である。同図に示すシステムは、デジタルカメラ(以下、カメラという。)10と、パソコン(PC)50とから構成され、両者は互いに無線通信インターフェース60を介してデータの受け渡しを行うことができる。本実施形態では、受信側のパソコン50から送信側のカメラ10に要求を出し、カメラ10側に保存されている画像群の中から所望の画像をパソコン50が取得するプル(Pull) モデルのシステムとして説明する。
【0021】
カメラ10は本発明の実施形態に係る画像送信装置として機能するものである。カメラ10内には図示せぬ撮像素子(例えば、CCDイメージセンサやCMOSイメージセンサなど)が配設されており、被写体の像は撮影レンズ12を介して前記撮像素子の受光面に結像され、光電変換によって電気信号(画像信号)に変換される。
【0022】
パソコン50は、受信側装置として機能する。図1に示したパソコン50は、入力用キーボード51を備えた本体部52に対してディスプレイ部53が回動自在に連結された構造から成る携帯可能な小型パソコンであるが、本発明の実施に際して受信側装置は本例に限定されず、デスクトップ型パソコン、PDA(Personal Digital Assistant) 、携帯電話機、プリンタなど種々の機器を用いることができる。
【0023】
図2はカメラ10の背面側を示す外観斜視図である。同図に示したように、カメラ10は、カメラ機能の起動及び停止を指示する電源スイッチ14と、利用者が撮影(画像の記録)実行を指示するためのレリーズボタン15と、カメラ10に備えられている各種のモードを設定するモード切替ダイヤル16とが設けられている。
【0024】
また、カメラ10は表示手段としての液晶モニタ20を備えるとともに、指示入力手段としてのインクレメントボタン22、デクレメントボタン23、消去ボタン24及び設定ボタン25を備えている。液晶モニタ20には撮像中の映像、記録済み画像の再生画像、現在設定されているモードの情報、画像の圧縮率の情報、日時情報、コマ番号表示28などが表示される。
【0025】
液晶モニタ20は利用者が各種の設定操作等を行う際のユーザインターフェース用表示画面としても利用され、必要に応じて設定項目などのメニュー情報も表示される。
【0026】
インクレメントボタン22は、液晶モニタ20に表示されているコマ番号等をインクレメント(コマ送り操作)したり、メニュー画面におけるカーソルを上方向に移動させる場合などに操作する操作部である。デクレメントボタン23は、液晶モニタ20に表示されているコマ番号等をデクレメント(コマ戻し操作)したり、カーソルを下方向に移動させる場合などに操作する操作部である。
【0027】
消去ボタン24は、液晶モニタ20に表示されている画像ファイルや項目など所望の対象を消去したり、入力操作をキャンセルする際など使用する操作部である。設定ボタン26は、液晶モニタ20に表示されている項目など所望の事項を登録(実行)する際などに使用する操作部である。
【0028】
図3はモード切替ダイヤル16の平面図である。同図に示したように、モード切替ダイヤル16には、ワイヤレスモード(Wireless) 32、撮影モード(Cam) 34、再生モード(Play)36、及びセットアップモード(Setup)38の各モードを示す表示が設けられており、これらモードの中から何れか1つのモードを選択できるようになっている。
【0029】
ワイヤレスモード32は他の通信機器(本例ではパソコン50)と無線通信を実施するモードである。撮影モード34は撮影(画像の記録)を実施するモードであり、本例ではXGAサイズ(1024×768 画素)の静止画像の記録を行うことが可能となる。再生モード36は記録されている画像の再生を実施するモードである。セットアップモード38は日付、記録画素数、圧縮率、オートパワーオフ時間の設定、警告音の音量等の設定を行うモードである。
【0030】
図4はカメラ10の内部構成を示すブロック図である。同図に示すように、カメラ10は、被写体の光学像を光電変換して画像信号として出力する撮像部120と、撮像部120から出力された画像信号(アナログ信号)に対して相関二重サンプリング処理、色分離、ゲイン調整等の処理を行うアナログ信号処理部124と、アナログ信号処理部124において所定の処理が施されたアナログ形式の画像信号をデジタル信号に変換するA/D変換器126と、デジタル画像信号に対して輝度/色差信号(YC)変換処理、ホワイトバランス補正、ガンマ補正等の画像処理を行うデジタル信号処理部128とが設けられている。
【0031】
また、デジタルカメラ10には、撮影時に被写体の光量を補うために発光するストロボ(閃光装置)130と、該ストロボ130の発光タイミングや発光量の調節等の制御を行うストロボ制御部132と、取得した画像データの画像サイズを変換する変倍処理部134と、画像データをJPEGやMPEGに代表される手法で圧縮制御したり、圧縮されたデータを伸張展開する処理を行う圧縮伸張部136と、カードスロット140に装着されるメモリカード142に対するデータの書き込み又はメモリカード142からのデータ読み出しを行うために必要なデータ変換を行うカードインターフェース部144とが設けられている。
【0032】
変倍処理部134は、画素の間引き処理などによる画素数の変換処理を行う画像処理部であり、撮影した画像(XGAサイズ)をSVGA(800 × 600画素)、VGA(640 × 480画素)、QVGA(320 × 240画素)、QQVGA(160 × 120画素)の各サイズに高速でリサイズ可能である。
【0033】
なお、本例では画像データを保存する手段としてカメラ10に着脱可能なメモリカード142を用いているが、記録媒体の形態はこれに限定されず、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスクその他の各種の媒体を適用できる。勿論、リムーバブルメディアに限定されず、カメラ本体に内蔵された記録媒体(内部メモリ)を用いることもできる。
【0034】
カメラ10は、液晶モニタ20の画面に画像や各種情報を表示するための手段として、表示用の画像データを一時的に記憶するフレームメモリ150と、日時やモード情報など各種の文字・記号やメッセージをオンスクリーンディスプレイするOSD回路152と、デジタル形式のデータを表示用のアナログ信号(例えば、NTSC方式のコンポジット信号)に変換するD/A変換器154とが設けられている。フレームメモリ150に記憶された画像データはD/A変換器154に送られ、OSD回路152から発生される文字等の情報とともに液晶モニタ20に出力される。
【0035】
カメラ10の入出力手段160は、図1で説明した電源スイッチ14、レリーズボタン15、モード切替ダイヤル16、インクレメントボタン22、デクレメントボタン23、消去ボタン24、設定ボタン25等の各種操作部、及び図示せぬファインダーLED、セルフタイマーLED等の各種表示用の手段を含む。図4に示したように、カメラ10内には入出力手段160の各種操作部から入力された入力信号及びLED等に対して出力する出力信号の入出力制御を行うI/O制御部162が設けられている。
【0036】
カメラ10の通信手段は、電波に乗せた情報を送受信するアンテナ170と、該アンテナ170を経由した信号の送受信に必要な信号変換を行う無線インターフェース部172とから構成される。例えば、無線LANやBluetooth などの通信規格を利用してカメラ10はパソコン50その他の外部の機器とデータの受け渡しが可能となっている。
【0037】
本実施形態では、電波による無線通信を利用しているが、本発明の実施に際して通信形態はこれに限定されず、光による通信を利用してもよいし、ワイヤレスの通信手段に代えて、USBインターフェースやIEEE1394インターフェースなど有線の通信手段を用いることも可能である。使用する通信方式に対応した通信手段がカメラ10に搭載される。
【0038】
また、カメラ10には、中央処理装置(CPU)180と、システムメモリ182と、書き換え可能な不揮発性メモリ184と、撮影日時など日時を管理するためのカレンダ時計186とが設けられている。CPU180は、カメラ全体の制御を行う制御部として機能するとともに、各種の演算処理を行う演算手段として機能し、撮像部120の露光及び読み出し制御、画像処理制御、画像データの記録制御、メモリカード142の読み書き制御、メモリカード142内のファイル管理、通信制御、液晶モニタ20の表示制御などを行う。
【0039】
システムメモリ182は、動作プログラムや各種の定数が記憶されているROMと、プログラム実行時の作業領域及び画像データの一時的な記憶領域となる高速読み書き可能なRAMと、から構成されている。不揮発性メモリ184には、カメラ動作に関する各種定数や設定情報などが格納され、これら情報は電源遮断時にも保持される。
【0040】
図1に示したように、CPU180とその周辺の各回路は、バス188で接続されており、互いに情報の伝達を高速で行うことが可能であるとともに、CPU180はプログラムに従って各回路を制御できる。
【0041】
次に、上記の如く構成されたカメラ10の動作について説明する。
〔撮影モード〕
モード切替ダイヤル16を「撮影モード」に合わせると、撮影可能なモードにセットされ、撮像部120が作動する。撮像部120から出力された画像信号は、アナログ信号処理部124において色分離やゲイン調整等の所定の処理が施された後、A/D変換器126によりデジタル信号に変換され、デジタル信号処理部128に送られる。デジタル信号処理部128に入力された画像信号は、輝度信号(Y信号)及び色差信号(Cr,Cb 信号)に変換されるとともに、ガンマ補正等の所定の処理が施された後、システムメモリ182内のRAMに記憶される。
【0042】
撮像中の映像を液晶モニタ20に表示出力する場合、RAMに格納された画像信号はフレームメモリ150に転送され、表示用の所定方式の信号(例えば、NTSC方式のカラー複合映像信号)に変換された後、液晶モニタ20に出力される。撮像部120から出力される画像信号によってフレームメモリ150内の画像データが定期的に書き換えられ、その画像データから生成される映像信号が液晶モニタ20に供給されることにより、撮像中の画像がリアルタイムに液晶モニタ20に表示される。撮影者は、液晶モニタ20に映し出される画像(スルー画)によって撮影画角を確認できる。
【0043】
撮影者によってレリーズボタン15が押されると、撮影開始指示(レリーズON)信号が発せられる。CPU180は、この撮影指示信号の受入に応動して、記録用の画像データの取り込み(露光及びデータ読み出し)を開始する。撮影画像のデータはデジタル信号処理部128において所要の処理を経た後、圧縮伸張部136においてJPEGその他の所定の形式に従って圧縮される。
【0044】
CPU180は、圧縮された画像データと、その画像に関する撮影条件等の付属情報とを関連付けて一つの画像ファイルを生成する。こうして、生成された画像ファイルは、カードインターフェース部144に送られ、メモリカードスロット140を介してメモリカード142に記録される。
【0045】
図5は本例のカメラ10によってメモリカード142に記録される撮影画像ファイル(元画像ファイル)の構造図である。同図に示すように、静止画の画像ファイルには、タグ情報(付属情報)、サムネイル画像及び主画像が含まれている。すなわち、本例のカメラ10の場合、常にXGAサイズ(1024×768 画素)で主画像が記録され、当該主画像の画像内容を示す160 ×120 画素(QQVGAサイズ)のサムネイル画像と、主画像に関する付属情報も常に画像ファイルに添付されるようになっている。
【0046】
サムネイル画像を見出し画像として利用し、他の画像ファイルのサムネイル画像とともに一覧表示することによって、利用者は容易に画像を検索することが可能となる。付属情報としては、撮影日時の情報、撮影条件に関する情報、分類用のタイトルなど、主画像に関する様々な情報が記録される。これらの各情報の値が不明である場合には、図5中に示したような「UNKNOWN 」を記載することも可能である。
【0047】
本例では、主画像としてXGAサイズ(1024×768 画素)の静止画像をJPEGなどの所定のフォーマットに従って圧縮して記録しているが、記録画素数や圧縮率は適宜設定することが可能である。カメラ10において記録画素数や圧縮率を指定するための手段を設け、利用者が必要に応じて撮影前又は撮影後に記録画素数や圧縮率を変更することできるように構成する態様が好ましい。また、サムネイル画像についても同様に、本例では160 ×120 画素のサムネイル画像を記録しているが、サムネイル画像の画素サイズや圧縮率は適宜設定可能である。サムネイル画像のデータは非圧縮のデータであってもよいし、圧縮したデータであってもよい。
【0048】
図6は、メモリカード142に対する実際の画像記録構造(実ディレクトリ構造)を示す。同図に示すように、各画像ファイルは、関連する画像ファイル群毎にディレクトリを分けられて格納される。図6によれば、メモリカード142の情報記録領域にはルートディレクトリ「Root」が設けられており、ルートディレクトリの下には画像ファイルを格納する領域「IMAGE 」が設けられている。
【0049】
「IMAGE 」ディレクトリには、利用者が生成した「001VACATION 」というディレクトリと、「002BIRTHDAY 」というディレクトリとが設けられている。ディレクトリ名は利用者が任意に指定した文字列の先頭にディレクトリ番号が付加されたものとなっている。なお、ディレクトリ番号はカメラ10内のCPU180によって自動付与される。
【0050】
「001VACATION 」ディレクトリには、「DSCF0001.JPG」,「DSCF0002JPG 」,「DSCF0003.JPG」等の画像ファイル群が記録されている。ファイル名は「DSCF」という文字列の後にファイル番号と拡張子が付加されたものとなっている。CPU180は記録順にファイル番号を自動的に付与し、ファイル名を自動生成する。
【0051】
「002BIRTHDAY 」のディレクトリには、「DSCF0001.JPG」,「DSCF0003JPG 」,「DSCF0004.JPG」等の画像ファイル群が記録されている。なお、ユーザ操作によって削除された画像ファイルのファイル番号は欠番となる。画像ファイルを特定するためのコマ番号は、ディレクトリ番号とファイル番号の組合わせ(例えば、001-0003)によって表記される。
〔再生モード〕
モード切替ダイヤル16によって「再生モード」が選択されると、メモリカード142に記録されている最新の画像ファイル(最後に記録した画像ファイル)が読み出される。当該画像ファイルのデータは、圧縮伸張部136によって伸張処理され、フレームメモリ150及びD/A変換器154を介して液晶モニタ20に出力される。この一コマ再生時にインクレメントボタン22又はデクレメントボタン23を操作することにより、順方向又は逆方向にコマ送り(ファイル送り)することができ、再生対象画像を変更できる。
〔ワイヤレスモード〕
モード切替ダイヤル16によって「ワイヤレスモード」が選択されると、カメラ10の通信機能が作動して、他の通信機器(本例ではパソコン50)とデータ通信が可能となる。
【0052】
CPU180は、通信にてパソコン50から、画像データの転送に関連して画像データのディレクトリ構造やファイル情報を問い合わせるコマンドを受信すると、メモリカード142内に記録されている画像ファイルに基づいて新たに仮想ディレクトリ(仮想フォルダを含む)と仮想画像ファイルとを生成し、その仮想的なディレクトリ情報をパソコン50に提供する。
【0053】
図7には、カメラ10がパソコン50に対して見せる仮想ディレクトリ構造の例が示されている。この仮想ディレクトリは、画像サイズ毎に分類されたものとなっている。すなわち、カメラ10のCPU180は、実際に記録されている元画像(XGA)以外に、本カメラ10でリサイズ可能な画像サイズの仮想ディレクトリを作成し、そのディレクトリ下に画像ファイル群毎のディレクトリを仮想的に形成する。
【0054】
図7によれば、ルートディレクトリ「Root」の下の階層に新たにQQVGA(160×120 画素) サイズの一連の仮想画像ファイルを格納する仮想ディレクトリ「QQVGA 」と、QVGA(320×240 画素) サイズの一連の仮想画像ファイルを格納する仮想ディレクトリ「QVGA」と、VGA(640 ×480 画素)サイズの一連の画像ファイルを格納する仮想ディレクトリ「VGA 」と、SVGA(800 ×600 画素)サイズの一連の仮想画像ファイルを格納する仮想ディレクトリ「SVGA」と、XGA(1024 ×768 画素) サイズの一連の仮想画像ファイルを格納する仮想ディレクトリ「XGA 」と、画像ファイルに添付されるタグ情報の内容に関するテキストデータファイル群(付属情報ファイル群)を格納するディレクトリ「Property」とが生成される。
【0055】
また、上記のように画素数別に分類された各ディレクトリの下の階層には、利用者が区分したディレクトリ「001VACATION 」と「002BIRTHDAY 」とを新たに生成する。そして、各々のディレクトリ「001VACATION 」,「002BIRTHDAY 」の下の階層には、更に、実際に記録されている実画像ファイルに基づいた仮想画像ファイル「DSCF0001.JPG」, 「DSCF0002.JPG」, 「DSCF0003.JPG」…とを生成して登録しておく。これらの仮想ディレクトリや仮想ファイルは実際には存在しないディレクトリやファイル名であるが、カメラ10側のCPU180はパソコン50側からこれらの仮想画像ファイルについて転送要求を受けると、元画像のデータから必要なリサイズ処理を実行して対応する画像サイズのファイルをパソコン50側に提供することができる。
【0056】
図8乃至図10は、図7に示した仮想ディレクトリに対し、パソコン50で所望の画像を選択する際の画面例である。なお、図8乃至図10にはマイクロソフト社製のファイル管理用アプリケーションである「windows エクスプローラ」の画面例を示した。
【0057】
図8に示したように、上位ディレクトリを選択することにより、「画素数」の分類を選択し、図9に示すように、画像ファイル群に対応するディレクトリを選択する。更に、図10に示したように、所望の画像ファイルを選択することにより、対応する元画像ファイルと同内容を有する所望の画素数の画像をカメラ10に対して指定(要求)することが可能となる。
【0058】
図11及び図12にはパソコン50からの要求に応じてカメラ10から送信する画像ファイルの構造が示されている。図11は、要求に係る主画像の画素数がVGAサイズ以上の場合に伝送される画像ファイルの構造図である。この場合、元画像のファイルと同様にサムネイル画像が添付された画像ファイルがパソコン50側に送られる。したがって、これを受信したパソコン50側では、大きな画素サイズの主画像を開かなくても、サムネイル画像のデータを利用して簡単に画像内容を閲覧することが可能である。
【0059】
図12はパソコン50側から要求した主画像の画素数がQVGA以下の場合に伝送される画像ファイルの構造図である。この場合、サムネイル画像は省略され、主画像にタグ情報が付加された画像ファイルがパソコン50側に送られる。これを受信したパソコン50は、受信した画像ファイルに対してサムネイル画像を生成して表示する必要があるが、リサイズ前の画素サイズは小さいので、リサイズ処理にかかる負担は小さい。また、この主画像サイズ(QVGA以下)の場合、サムネイル画像の画素サイズ(QQVGA)は主画像に対して十分に小さいとは言えないので、サムネイル画像の省略によって転送時間の短縮を実感できる。
【0060】
なお、主画像サイズがサムネイルサイズと比較して十分大きい場合(例えば、主画像サイズがVGA以上の場合)は、主画像のデータ量が支配的になり、サムネイルサイズは無視できるので、サムネイルの省略は伝送速度の改善に殆ど寄与しない。したがって、図11で説明した通り、主画像サイズがVGA以上の場合にはサムネイルを添付した画像ファイルを送るようになっている。
【0061】
次に、カメラ10からパソコン50に画像を送信する動作の手順について説明する。
【0062】
図13はカメラ−PC間の画像送信制御の手順を示すフローチャートである。図13に示すように、カメラ10をワイヤレスモードに設定し(ステップS310)、パソコン50からの接続要求の受付けができるようにしておく。その一方、パソコン50側は閲覧ソフトを立ち上げておき(ステップS510)、カメラ10へのアクセスを準備しておく。
【0063】
予めペアリングが完了しているカメラ10に対してパソコン50から無線通信I/Fの接続要求を行うと(ステップS512)、カメラ10は接続確認を行い、通信路を確立する。通信路が確立されると、カメラ10はパソコン50に対して接続完了を通知する(ステップS114)。接続完了通知を受信したパソコン50はカメラ10に対してディレクトリリストの要求を行う(ステップS516)。カメラ10はディレクトリリストの要求があると、図7で説明した仮想ディレクトリのディレクトリリストを作成し(ステップS120)、このリストをパソコン50側に送る(ステップS122)。
【0064】
パソコン50はカメラ10からディレクトリ情報を取得してディスプレイ上にディレクトリ情報を表示する(ステップS520,図8乃至図10参照)。ユーザはここで所望のディレクトリ、若しくはファイルを選択する(ステップS522)。
【0065】
ディレクトリが選択された場合は、カメラ10に対してカレントディレクトリの変更を指示する(ステップS524)。カメラ10は指示されたディレクトリにカレントディレクトリを変更する処理を行う(ステップS130)。ディレクトリ変更処理を完了すると、カメラ10はパソコン50に対してディレクトリ変更完了を通知する(ステップS132)。この通知を受けたパソコン50はカメラ10に対してディレクトリリストの要求を行う(ステップS534)。
【0066】
カメラ10はディレクトリリストの要求があると、仮想ディレクトリリストを作成し(ステップS140)、これをパソコン50側に送る(ステップS142)。パソコン50はカメラ10からディレクトリ情報を取得してディスプレイ上にディレクトリ情報を表示する(ステップS540)。この状態においてユーザは、カレントディレクトリの変更や画像の選択の指示を入力することができる(ステップS542)。
【0067】
画像ファイルが選択された場合は、カメラ10に対して画像ファイルの送信を要求する(ステップS544)。カメラ10は要求された画像ファイルの属する上位ディレクトリから、伝送すべき画像ファイルの画素数を判断し、伝送用の画像ファイルを生成し(ステップS150)、これをパソコン50に送信する(ステップS152)。
【0068】
パソコン50は、受信した画像ファイルに対して、必要なサムネイル画像を付加してハードディスク(HDD)等に記録するセーブ用の画像ファイルを生成する(ステップS550)。その後、当該画像ファイルをセーブするとともに(ステップS552)、受信した画像のサムネイルを表示する(ステップS554)、その後は、ステップS516に戻り、上記工程を繰り返す。
【0069】
ステップS150における伝送用画像ファイルの作成処理の手順を図14に示す。
【0070】
カメラ10がパソコン50側から画像ファイルの送信を要求されると、図14に示す伝送用画像ファイルの作成処理がスタートする。まず、カメラ10は、指定された画像の元ファイルをメモリカード142から読み出す処理を行い(ステップS610)、指定された画像の画素数が元画像ファイルの画素数と同じか否かを判断する(ステップS612)。元画像ファイルと同じ画素数の画像ファイルが要求されている場合には、元画像ファイルをそのまま伝送用画像ファイルとして利用することができるため、本処理ルーチンを終了して図13のフローチャートに戻る。
【0071】
図14のステップS612において、指定された画像の画素数が元画像ファイルの画素数と異なる場合には、ステップS614に進み、元画像ファイルからサムネイルデータを取り出す処理を行い(ステップS614)、更に元画像ファイルからタグ情報のデータを取り出す処理を行う(ステップS616)。なお、これら取り出したサムネイルデータ及びタグデータはメモリに保持しておく。
【0072】
その後、元画像ファイルの主画像を指定された画素数に変換する処理を実行する(ステップS618)。このリサイズ処理は図4で説明した変倍処理部134において画素間引きなどの手法によって実施される。
【0073】
次いで、図14のステップS620に進み、指定された画像ファイルがVGA以上か否かの判定を行う(ステップS620)。指定に係る主画像サイズがVGA以上であれば、ステップS622に進む。ステップS622では、ステップS618でリサイズ処理して得た画像に対して、ステップS614及びS616で取り出したサムネイルデータとタグデータを添付し直して伝送用画像ファイルを作成する(ステップS622)。
【0074】
その一方、ステップS620において指定に係る主画像サイズがVGA未満(すなわち、QVGA以下)であるときは、ステップS630に進む。ステップS630では、ステップS618でリサイズ処理して得た画像に対して、ステップS616で取り出したタグデータのみを添付して(サムネイルデータを省略して)伝送用画像ファイルを作成する。なお、ステップS622、S630において、画像サイズに関するタグがある場合は、リサイズ後の画素数を反映した値に変更する。
【0075】
こうして、ステップS622又はステップS630において伝送用画像ファイルを生成し終えると本処理ルーチンを終了して、図13のフローチャートに戻る。
【0076】
図15は図13のステップS550の処理内容、すなわち、パソコン50が画像ファイルを受信した後の処理フローを示す。図15に示したセーブ用画像ファイルの作成処理がスタートすると、まず、パソコン50はカメラ10に対して要求(指定)した画像がサムネイルサイズと同じQQVGAサイズであるか否かを判断する(ステップS710)。指定した画像(すなわち、カメラ10から受信した画像)がQQVGAサイズである場合には、サムネイル画像を付加しても有用性が低いので、受信した画像ファイルをそのままセーブ用画像ファイルとする(ステップS720)。
【0077】
また、ステップS710においてNO判定を得た場合は、ステップS712に進み、受信した画像ファイルにサムネイルデータが添付されているか否かを判断する(ステップS712)。受信画像ファイルにサムネイルデータが添付されている場合には、受信画像をそのままセーブ用画像ファイルとする(ステップS720)。
【0078】
その一方、ステップS712において、受信した画像ファイルにサムネイルデータが添付されていない場合には、受信画像ファイルから主画像を取り出し(ステップS714)、この主画像をリサイズしてサムネイルを生成する処理を行い(ステップS716)、生成したサムネイルを受信画像ファイルに付加してセーブ用画像ファイルを生成する(ステップS718)。
【0079】
こうして、ステップS718又はステップS720においてセーブ用画像ファイルが生成されると、本処理ルーチンを終了して図13のフローチャートに戻る。
【0080】
<他の制御例>
図14で説明したフローチャートでは、サムネイル画像を添付する/しないの判断を行ったが、本発明の適用範囲はこれに限定されず、添付すべきサムネイル画像の画素数を変更したり、サムネイルの圧縮率を変更するなどしてサムネイルのデータ量を可変とする態様も可能である。
【0081】
図16には、伝送用画像ファイル作成処理の他のフローチャートを示す。図16中図14と共通する工程には同一の符号を付し、説明は省略する。図16のステップS618において元画像ファイルの主画像を指定された画素数にリサイズ処理した後は、ステップS619に進む。ステップS619では要求された画像の画素数がXGAサイズ以上であるか否かの判断を行う。
【0082】
XGAサイズ以上の画像が要求されている場合には、ステップS622に進み、リサイズした画像ファイルに対して、取り出したサムネイルとタグデータを添付して伝送用画像ファイルを作成する(ステップS622)。
【0083】
ステップS619において、NO判定を得た場合には、ステップS621に進み、指定された画像ファイルがVGA以上であるか否かを判定する。指定された画素数がVGA以上XGA未満である場合には、ステップS624に進む。ステップS624では、取り出したサムネイルデータを更に高圧縮する処理を実施して、サムネイル画像のデータ量を低減する。その後、ステップS626に進み、リサイズした画像ファイルに対して当該再圧縮したサムネイルデータとタグデータを添付して伝送用画像ファイルを生成する。なお、ステップS622、S626、S630において画像サイズに関するタグがある場合は、リサイズ後の画素数を反映した値に変更する。
【0084】
また、ステップS621において指定された画像ファイルがVGA未満の場合には、ステップS630に進む。こうして、ステップS622、ステップS626又はステップS630において伝送用画像ファイルを生成し終えると本処理ルーチンを終了して、図13のフローチャートに戻る。
【0085】
図16では、圧縮率の変更によってサムネイルサイズを調節する例を述べたが、本発明の適用範囲はこれに限定されず、圧縮率の変更に代えて、又はこれと併用して、サムネイル画像の画素数を変更すること(リサイズ)により、サムネイルサイズを調節してもよい。
【0086】
また、上述した実施の形態では、カメラ10側からパソコン50に対して仮想ディレクトリ情報を提供し、パソコン50の画面上で所望の画像ファイルを選択させるユーザインターフェースを例に述べたが、本発明の実施に際してはこの例に限定されない。例えば、カメラ側はリサイズ可能な画素数メニューをパソコン50側に提示して、パソコン50側から所望の画像内容と画素数を選択する態様も可能である。
【0087】
上述した実施形態では、画像送信装置の一形態としてデジタルカメラを例示したが、本発明の適用範囲はデジタルカメラに限定されず、パソコン、PDA、携帯電話機など種々の機器に適用できる。
【0088】
上述した実施形態では、プルモデルの画像転送システムを説明したが、本発明の実施に際しては、この例に限定されず、送信側装置から送信対象の画像を選択し、選択に係る画像データを受信側装置に送出する方式の、いわゆるプッシュモデルの画像転送システムについても本発明を適用できる。
【0089】
画像転送時におけるサムネイルの取扱いの具体例について整理すると、以下のようになる。
〔サムネイルの画素サイズを固定とする場合〕
(1)受信側に送る主画像画素サイズが固定値よりも小さい場合には、サムネイル画像を添付せずに、主画像(必要に応じてタグ情報を付加した画像ファイル)を伝送する。サムネイル画像を添付するか否かの判断基準としては、画像の縦方向及び横方向のうち少なくとも一方の画素数について、所定の画素数(判断基準となる固定値)よりも小さいか否かを比較して判定する。
【0090】
(2)主画像とサムネイルとがともに圧縮してある場合は、主画像の圧縮後サイズ(若しくは予想圧縮サイズ)がサムネイルの圧縮後サイズ(若しくは予定圧縮サイズ)の所定倍数(例えば、5倍)よりも小さい場合は、サムネイルを添付しないで伝送する。
〔サムネイルサイズが可変の場合〕
(3)受信側に送る主画像画素サイズに対して所定の割合(例えば、1/5)以下となるように、サムネイルの画素数を調節して、サムネイルを付加して伝送する。「所定の割合」については、サムネイル画像の利用価値を考慮して適宜設定される。
【0091】
(4)受信側に送る主画像ファイルサイズに対して所定の割合(例えば、1/5)以下となるようにサムネイル画像のデータサイズ(サムネイルサイズ)を調節して、サムネイルを付けて伝送する。サムネイルサイズを調節する方法としては、サムネイル画像の圧縮率及び画素数のうち少なくとも一方のパラメータを変更することで実現する。
【0092】
画像送信時にサムネイルサイズを調節してもよし、撮影時(画像記録時)にサムネイルサイズを調節してもよい。
【0093】
更にまた、サムネイル添付の有無とサムネイルサイズの調整を組み合わせる態様も可能である。例えば、主画像ファイルサイズに応じて添付すべきサムネイルサイズを調整し、又はサムネイル添付を省略することを切り替えるようにしてもよい。
【0094】
【発明の効果】
以上説明したように本発明によれば、送信する主画像のデータ量に応じてサムネイル添付の有無を判断し、有用性の低いサムネイル画像の添付を省略するようにしたので、通信トラフィックの無駄を防止でき、通信時間の短縮化を図ることができる。
【0095】
また、本発明によれば、送信する主画像のデータ量に応じてサムネイル画像のデータ量を調節するようにしたので、通信トラフィックの無駄を防止でき、通信時間の短縮化を図ることができる。
【図面の簡単な説明】
【図1】本発明が適用される画像転送システムの構成を示す概略図
【図2】図1に示したカメラの背面側を示す外観斜視図
【図3】図1に示したカメラのモード切替ダイヤルの平面図
【図4】図1に示したカメラの内部構成を示すブロック図
【図5】メモリカードに記録される画像ファイルの構造を示す図
【図6】メモリカードに記録された画像ファイルの記録構造の一例を示す図
【図7】受信側装置であるパソコンに対して見せる仮想ディレクトリ構造の例を示す図
【図8】図7に示した仮想ディレクトリの情報を取得したパソコン側において所望の画像を選択する際の画面の例を示す図
【図9】図7に示した仮想ディレクトリの情報を取得したパソコン側において所望の画像を選択する際の画面の例を示す図
【図10】図7に示した仮想ディレクトリの情報を取得したパソコン側において所望の画像を選択する際の画面の例を示す図
【図11】カメラから送信されるサムネイル付きの画像ファイルの構造例を示す図
【図12】カメラから送信されるサムネイル無しの画像ファイルの構造例を示す図
【図13】本実施形態におけるカメラとパソコンの動作を説明するために用いたフローチャート
【図14】伝送用画像ファイルの作成処理の手順を示すフローチャート
【図15】セーブ用画像ファイルの作成処理の手順を示すフローチャート
【図16】伝送用画像ファイルの作成処理に関する他の例を示すフローチャート
【符号の説明】
10…カメラ、50…パソコン、60…無線通信インターフェース、120…撮像部、128…デジタル信号処理部、134…変倍処理部、142…メモリカード、170…アンテナ、172…無線インターフェース部、180…CPU、182…システムメモリ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image transmission method and apparatus, and more particularly to handling of thumbnail (reduced image) data attached to an image file to be transmitted.
[0002]
[Prior art]
In the image data transmission system disclosed in Japanese Patent Laid-Open No. 8-237490, it is determined whether or not a JPEG decompression function is installed in a receiving apparatus, and thumbnail data is transmitted from the transmitting apparatus according to the presence or absence of the decompression function. Whether or not to perform JPEG compression processing is determined. When thumbnail data is compressed at the time of transmission, the data size is reduced, so that communication traffic can be reduced.
[0003]
In Japanese Patent Application No. 2000-40590 (Japanese Patent Application Laid-Open No. 2001-230999) relating to the application of the present inventor, a device on the transmission side has a function of converting an image into an arbitrary size, and the transmission side to the transmission side. A system is disclosed that can acquire a scaled image from the transmission side by requesting a desired size.
[0004]
[Problems to be solved by the invention]
In such a system, the size after scaling can be from the original image size (for example, the number of pixels of 1600 × 1200) to the thumbnail size (for example, 160 × 120), but the size after scaling is the thumbnail size. In this case, even if the thumbnail is compressed and attached using the technique disclosed in Japanese Patent Application Laid-Open No. 8-237490, the required size of the thumbnail with respect to the entire size of the transmitted image file becomes relatively large. When the size of the main image and the size of the attached thumbnail are close, it is considered that the thumbnail itself is redundant as information. Therefore, in such a case, the proportion of waste of communication traffic increases.
[0005]
The present invention has been made in view of such circumstances, and an object of the present invention is to provide an image transmission method and apparatus capable of changing the handling of thumbnail images according to the image to be transmitted and preventing waste of communication traffic. And
[0006]
[Means for Solving the Problems]
In order to achieve the above object, an invention according to claim 1 is an image transmission method for transmitting image data from a transmission side device to a reception side device, in accordance with a data amount of the main image to be transmitted. Determine whether to add thumbnail image data, which is a reduced image, to the image file for transmission, and generate an image file with the thumbnail image added or an image file with the thumbnail image omitted according to the determination result. It is characterized by transmitting an image file.
[0007]
When the amount of thumbnail image data is relatively large compared to the main image to be transmitted, that is, when the main image is relatively small and the size difference between the main image and the thumbnail image is small, the usefulness of the thumbnail image is relative. Lower. In such a situation, it is recognized that adding a thumbnail image to a main image file increases the redundancy of data. Therefore, in the present invention, attachment of thumbnail images is omitted in such a situation, and an image file without thumbnail images is transmitted. Thereby, waste of communication traffic can be prevented. The “data amount” is a value reflecting the number of pixels (image size), compression rate, and the like.
[0008]
As a specific determination method for determining whether or not to attach a thumbnail image, when the pixel size of the main image to be sent to the receiving-side apparatus is smaller than a predetermined determination criterion as described in claim 2, the thumbnail image There is a mode in which an image file including the main image is transmitted without attaching the image. As the “predetermined determination criterion”, for example, a fixed value determined in advance for the number of pixels in at least one of the vertical direction and the horizontal direction can be used.
[0009]
Further, as described in claim 3, when both the main image and the thumbnail image are compressed, and the compression size of the main image is smaller than a predetermined multiple of the compression size of the thumbnail image, There is a mode in which an image file including a main image is transmitted without attaching a thumbnail image. The “compressed size” means a post-compression size after actual compression processing or a post-compression size expected before the compression processing (expected compression size).
[0010]
According to a fourth aspect of the present invention, in the image transmission method for transmitting image data from the transmission side device to the reception side device, a thumbnail image which is a reduced image of the main image with respect to the data amount of the main image to be transmitted. The data amount of the thumbnail image is adjusted so that the data amount of the image becomes equal to or less than a predetermined ratio, an image file including the thumbnail image with the data amount adjusted and the main image is generated, and the generated image file is transmitted. It is characterized by doing.
[0011]
According to the present invention, the data amount of the thumbnail image, which is a reduced image of the main image, is adjusted according to the data amount of the main image to be transmitted, and becomes a predetermined ratio or less with respect to the data amount of the main image. As described above, since the amount of thumbnail image data is changed and the image file with the thumbnail image is transmitted, waste of communication traffic can be prevented.
[0012]
As a method for adjusting the data amount, as described in claim 5, at least of the compression ratio of the thumbnail image and the number of pixels so as to be less than a predetermined ratio with respect to the data amount of the main image sent to the receiving side device There is a mode in which one of them is adjusted to generate an image file with a thumbnail image.
[0013]
For example, the number of pixels of the thumbnail image may be adjusted so as to be equal to or less than a predetermined ratio with respect to the pixel size of the main image to be transmitted, or may be equal to or less than a predetermined ratio with respect to the data size of the main image. In addition, at least one of the compression ratio and the number of pixels of the thumbnail image may be adjusted.
[0014]
An invention according to claim 6 is an image transmitting apparatus capable of transmitting image data to a receiving-side apparatus in order to provide an apparatus that embodies the method invention according to claim 1, wherein the apparatus includes: Communication means for exchanging data with the receiving apparatus, data reading means for reading out an image file including the image content selected as a transmission target from the image storage means in which image data is stored, and data to be transmitted According to the data amount of the main image, a determination unit that determines whether or not to add thumbnail image data that is a reduced image of the main image to the image file for transmission, and the thumbnail image according to the determination result of the determination unit Generated by the transmission image file generating means for generating the image file with the image added or the thumbnail image omitted, and the transmission image file generating means. And control means for performing control of transmitting the image file for transmission to the reception side apparatus is characterized by comprising a.
[0015]
The image storage means may be built in the image transmission device, or may be configured to be detachable from the image transmission device main body like a removable medium.
[0016]
The invention described in claim 7 provides an apparatus that embodies the method invention described in claim 4, and is an image transmitting apparatus capable of transmitting image data to a receiving-side apparatus, the apparatus A communication means for exchanging data with the receiving side device, a data reading means for reading an image file including an image content selected as a transmission target from an image storage means in which image data is stored, and a transmission A data amount changing unit that changes a data amount of a thumbnail image that is a reduced image of the main image according to a data amount of the main image, and a data amount of the thumbnail image is predetermined with respect to the data amount of the main image; The transmission image file generation means for generating an image file to which a thumbnail image whose data amount has been adjusted so as to be less than or equal to the ratio is transmitted by the transmission image file generation means. The generated image file for transmission is characterized by and a control means for controlling to transmit to the receiving device.
[0017]
The aspect shown in claim 8 is the image transmission apparatus according to claim 6 or 7, further comprising means for providing information on an image file that can be transmitted to the reception side apparatus, and the reception side apparatus In response to a request from, an image file including a main image having a pixel size according to the request is transmitted.
[0018]
The image transmission device according to any one of claims 6 to 8 can be realized by a computer, and a program for causing the computer to function as the image transmission device is recorded on a CD-ROM, a magnetic disk, or other recording media. It is also possible to provide the program to a third party through a recording medium, or to provide a program download service through a communication line such as the Internet.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of an image transmission method and apparatus according to the present invention will be described below with reference to the accompanying drawings.
[0020]
FIG. 1 is a schematic diagram showing the configuration of an image transfer system to which the present invention is applied. The system shown in FIG. 1 includes a digital camera (hereinafter referred to as a camera) 10 and a personal computer (PC) 50, which can exchange data with each other via a wireless communication interface 60. In the present embodiment, a pull model system in which a request is sent from the reception-side
[0021]
The
[0022]
The
[0023]
FIG. 2 is an external perspective view showing the back side of the
[0024]
The
[0025]
The liquid crystal monitor 20 is also used as a display screen for a user interface when the user performs various setting operations and the like, and menu information such as setting items is displayed as necessary.
[0026]
The
[0027]
The delete button 24 is an operation unit used for deleting a desired target such as an image file or item displayed on the liquid crystal monitor 20 or canceling an input operation. The setting button 26 is an operation unit used when registering (executing) a desired item such as an item displayed on the
[0028]
FIG. 3 is a plan view of the
[0029]
The
[0030]
FIG. 4 is a block diagram showing the internal configuration of the
[0031]
Further, the
[0032]
The scaling
[0033]
In this example, the
[0034]
The
[0035]
The input / output means 160 of the
[0036]
The communication means of the
[0037]
In the present embodiment, wireless communication using radio waves is used. However, the communication mode is not limited to this when implementing the present invention, and communication using light may be used. Instead of wireless communication means, USB communication may be used. It is also possible to use wired communication means such as an interface or an IEEE 1394 interface. A communication unit corresponding to the communication method to be used is mounted on the
[0038]
The
[0039]
The
[0040]
As shown in FIG. 1, the
[0041]
Next, the operation of the
[Shooting mode]
When the
[0042]
When the image being captured is displayed on the
[0043]
When the release button 15 is pressed by the photographer, a shooting start instruction (release ON) signal is issued. The
[0044]
The
[0045]
FIG. 5 is a structural diagram of a captured image file (original image file) recorded on the
[0046]
By using a thumbnail image as a header image and displaying a list together with thumbnail images of other image files, the user can easily search for the image. As the attached information, various types of information related to the main image, such as information on the shooting date and time, information on shooting conditions, and titles for classification, are recorded. If the value of each piece of information is unknown, “UNKNOWN” as shown in FIG. 5 can be described.
[0047]
In this example, a still image of XGA size (1024 × 768 pixels) is recorded as a main image after being compressed according to a predetermined format such as JPEG, but the number of recording pixels and the compression rate can be set as appropriate. . It is preferable that the
[0048]
FIG. 6 shows an actual image recording structure (real directory structure) for the
[0049]
In the “IMAGE” directory, a directory “001VACATION” generated by the user and a directory “002BIRTHDAY” are provided. The directory name has a directory number added to the beginning of a character string arbitrarily designated by the user. The directory number is automatically given by the
[0050]
In the “001VACATION” directory, image file groups such as “DSCF0001.JPG”, “DSCF0002JPG”, and “DSCF0003.JPG” are recorded. The file name is a character string “DSCF” followed by a file number and extension. The
[0051]
In the directory “002BIRTHDAY”, image file groups such as “DSCF0001.JPG”, “DSCF0003JPG”, “DSCF0004.JPG” and the like are recorded. Note that the file number of an image file deleted by a user operation is a missing number. A frame number for specifying an image file is represented by a combination of a directory number and a file number (for example, 001-0003).
[Playback mode]
When “reproduction mode” is selected by the
[Wireless mode]
When “wireless mode” is selected by the
[0052]
When the
[0053]
FIG. 7 shows an example of a virtual directory structure that the
[0054]
According to FIG. 7, a virtual directory “QQVGA” for newly storing a series of virtual image files of QQVGA (160 × 120 pixels) size in the hierarchy below the root directory “Root”, and a QVGA (320 × 240 pixels) size A virtual directory “QVGA” for storing a series of virtual image files, a virtual directory “VGA” for storing a series of image files of VGA (640 × 480 pixels) size, and a series of SVGA (800 × 600 pixels) size Virtual directory "SVGA" for storing virtual image files, virtual directory "XGA" for storing a series of virtual image files of XGA (1024 x 768 pixels) size, and text data regarding the contents of tag information attached to image files A directory “Property” for storing a file group (attached information file group) is generated.
[0055]
Further, directories “001VACATION” and “002BIRTHDAY” classified by the user are newly generated in the lower hierarchy of each directory classified by the number of pixels as described above. Further, under the directories “001VACATION” and “002BIRTHDAY”, virtual image files “DSCF0001.JPG”, “DSCF0002.JPG”, “DSCF0003” based on the actual image files actually recorded are further displayed. .JPG "... and register it. These virtual directories and virtual files are directories and file names that do not actually exist. However, when the
[0056]
8 to 10 are examples of screens when a desired image is selected by the
[0057]
As shown in FIG. 8, by selecting the upper directory, the “number of pixels” classification is selected, and as shown in FIG. 9, the directory corresponding to the image file group is selected. Furthermore, as shown in FIG. 10, by selecting a desired image file, it is possible to designate (request) an image with a desired number of pixels having the same contents as the corresponding original image file to the
[0058]
FIGS. 11 and 12 show the structure of an image file transmitted from the
[0059]
FIG. 12 is a structural diagram of an image file transmitted when the number of pixels of the main image requested from the
[0060]
Note that when the main image size is sufficiently larger than the thumbnail size (for example, when the main image size is VGA or larger), the data amount of the main image is dominant, and the thumbnail size can be ignored. Hardly contributes to the improvement of the transmission speed. Therefore, as described with reference to FIG. 11, when the main image size is VGA or larger, an image file with a thumbnail attached is sent.
[0061]
Next, an operation procedure for transmitting an image from the
[0062]
FIG. 13 is a flowchart showing the procedure of image transmission control between the camera and the PC. As shown in FIG. 13, the
[0063]
When a connection request for wireless communication I / F is made from the
[0064]
The
[0065]
If a directory is selected, the
[0066]
When requested by the directory list, the
[0067]
When the image file is selected, the
[0068]
The
[0069]
FIG. 14 shows the procedure for creating a transmission image file in step S150.
[0070]
When the
[0071]
When the number of pixels of the designated image is different from the number of pixels of the original image file in step S612 in FIG. 14, the process proceeds to step S614 to perform processing for extracting thumbnail data from the original image file (step S614). Processing for extracting tag information data from the image file is performed (step S616). The extracted thumbnail data and tag data are stored in the memory.
[0072]
Thereafter, a process of converting the main image of the original image file into the designated number of pixels is executed (step S618). This resizing process is performed by a
[0073]
Next, the process proceeds to step S620 in FIG. 14 to determine whether or not the designated image file is VGA or more (step S620). If the designated main image size is VGA or larger, the process proceeds to step S622. In step S622, the thumbnail data and tag data extracted in steps S614 and S616 are attached to the image obtained by the resizing process in step S618 to create a transmission image file (step S622).
[0074]
On the other hand, when the main image size specified in step S620 is less than VGA (that is, QVGA or less), the process proceeds to step S630. In step S630, a transmission image file is created by attaching only the tag data extracted in step S616 (omitting thumbnail data) to the image obtained by the resizing process in step S618. In steps S622 and S630, if there is a tag relating to the image size, the value is changed to a value reflecting the number of pixels after resizing.
[0075]
In this way, when the generation of the transmission image file is completed in step S622 or step S630, this processing routine is terminated, and the process returns to the flowchart of FIG.
[0076]
FIG. 15 shows the processing content of step S550 of FIG. 13, that is, the processing flow after the
[0077]
If NO is obtained in step S710, the process proceeds to step S712, and it is determined whether thumbnail data is attached to the received image file (step S712). If thumbnail data is attached to the received image file, the received image is directly used as a save image file (step S720).
[0078]
On the other hand, if no thumbnail data is attached to the received image file in step S712, the main image is extracted from the received image file (step S714), and the main image is resized to generate a thumbnail. (Step S716) The generated thumbnail is added to the received image file to generate a save image file (Step S718).
[0079]
Thus, when the save image file is generated in step S718 or step S720, this processing routine is terminated and the process returns to the flowchart of FIG.
[0080]
<Other control examples>
In the flowchart described with reference to FIG. 14, it is determined whether or not to attach a thumbnail image. However, the scope of application of the present invention is not limited to this, and the number of pixels of the thumbnail image to be attached can be changed or thumbnail compression can be performed. A mode in which the amount of thumbnail data is variable by changing the rate is also possible.
[0081]
FIG. 16 shows another flowchart of the transmission image file creation process. In FIG. 16, steps that are the same as those in FIG. 14 are given the same reference numerals, and descriptions thereof are omitted. After resizing the main image of the original image file to the designated number of pixels in step S618 in FIG. 16, the process proceeds to step S619. In step S619, it is determined whether or not the requested number of pixels of the image is equal to or larger than the XGA size.
[0082]
If an image of XGA size or larger is requested, the process advances to step S622 to create a transmission image file by attaching the extracted thumbnail and tag data to the resized image file (step S622).
[0083]
If NO is obtained in step S619, the process advances to step S621 to determine whether the designated image file is VGA or more. If the designated number of pixels is greater than or equal to VGA and less than XGA, the process proceeds to step S624. In step S624, processing for further compressing the extracted thumbnail data is performed to reduce the data amount of the thumbnail image. Thereafter, the process proceeds to step S626, in which the re-compressed thumbnail data and tag data are attached to the resized image file to generate a transmission image file. If there is a tag related to the image size in steps S622, S626, and S630, the value is changed to a value reflecting the number of pixels after resizing.
[0084]
If the image file specified in step S621 is less than VGA, the process proceeds to step S630. In this way, when the transmission image file has been generated in step S622, step S626, or step S630, this processing routine is terminated, and the process returns to the flowchart of FIG.
[0085]
In FIG. 16, the example in which the thumbnail size is adjusted by changing the compression rate has been described. However, the scope of application of the present invention is not limited to this, and instead of or in combination with the change of the compression rate, The thumbnail size may be adjusted by changing the number of pixels (resizing).
[0086]
In the above-described embodiment, the user interface that provides virtual directory information from the
[0087]
In the above-described embodiment, a digital camera is exemplified as one form of the image transmission device, but the scope of application of the present invention is not limited to the digital camera, and can be applied to various devices such as a personal computer, a PDA, and a mobile phone.
[0088]
In the above-described embodiment, the pull model image transfer system has been described. However, the present invention is not limited to this example, and the image to be transmitted is selected from the transmission side device, and the image data related to the selection is received on the reception side. The present invention can also be applied to a so-called push model image transfer system that sends images to an apparatus.
[0089]
A specific example of handling thumbnails during image transfer is summarized as follows.
[When the pixel size of the thumbnail is fixed]
(1) When the main image pixel size to be sent to the receiving side is smaller than the fixed value, the main image (an image file with tag information added if necessary) is transmitted without attaching a thumbnail image. As a criterion for determining whether or not to attach a thumbnail image, it is compared whether or not the number of pixels in at least one of the vertical and horizontal directions of the image is smaller than a predetermined number of pixels (a fixed value as a criterion). Judgment.
[0090]
(2) When both the main image and the thumbnail are compressed, the compressed size (or expected compressed size) of the main image is a predetermined multiple (for example, 5 times) of the compressed size (or planned compressed size) of the thumbnail. If it is smaller than that, it is transmitted without attaching a thumbnail.
[When thumbnail size is variable]
(3) The number of pixels of the thumbnail is adjusted so as to be a predetermined ratio (for example, 1/5) or less with respect to the main image pixel size sent to the receiving side, and the thumbnail is added and transmitted. The “predetermined ratio” is appropriately set in consideration of the utility value of the thumbnail image.
[0091]
(4) The thumbnail image data size (thumbnail size) is adjusted so as to be a predetermined ratio (for example, 1/5) or less with respect to the main image file size sent to the receiving side, and the thumbnail image is transmitted. The method of adjusting the thumbnail size is realized by changing at least one of the thumbnail image compression ratio and the number of pixels.
[0092]
The thumbnail size may be adjusted at the time of image transmission, or the thumbnail size may be adjusted at the time of shooting (image recording).
[0093]
Furthermore, it is possible to combine the presence / absence of thumbnail attachment and the adjustment of thumbnail size. For example, the thumbnail size to be attached may be adjusted according to the main image file size, or switching between omitting thumbnail attachment may be switched.
[0094]
【The invention's effect】
As described above, according to the present invention, the presence / absence of thumbnail attachment is determined according to the data amount of the main image to be transmitted, and the attachment of the thumbnail image with low usefulness is omitted. This can prevent the communication time from being shortened.
[0095]
In addition, according to the present invention, since the data amount of the thumbnail image is adjusted according to the data amount of the main image to be transmitted, waste of communication traffic can be prevented and communication time can be shortened.
[Brief description of the drawings]
FIG. 1 is a schematic diagram showing the configuration of an image transfer system to which the present invention is applied.
FIG. 2 is an external perspective view showing a rear side of the camera shown in FIG.
3 is a plan view of a mode switching dial of the camera shown in FIG.
4 is a block diagram showing an internal configuration of the camera shown in FIG.
FIG. 5 is a diagram showing the structure of an image file recorded on a memory card
FIG. 6 is a diagram showing an example of a recording structure of an image file recorded on a memory card.
FIG. 7 is a diagram showing an example of a virtual directory structure to be shown to a personal computer that is a receiving device.
8 is a diagram showing an example of a screen when a desired image is selected on the personal computer side that has acquired the virtual directory information shown in FIG. 7;
9 is a diagram showing an example of a screen when a desired image is selected on the personal computer side that has acquired the virtual directory information shown in FIG. 7;
10 is a diagram showing an example of a screen when a desired image is selected on the personal computer side that has acquired the virtual directory information shown in FIG. 7;
FIG. 11 is a diagram illustrating an example of the structure of an image file with thumbnails transmitted from a camera.
FIG. 12 is a diagram showing an example of the structure of an image file without thumbnails transmitted from the camera.
FIG. 13 is a flowchart used for explaining operations of the camera and the personal computer in the present embodiment.
FIG. 14 is a flowchart showing a procedure for creating a transmission image file.
FIG. 15 is a flowchart showing a procedure for creating a save image file;
FIG. 16 is a flowchart showing another example related to the generation processing of a transmission image file.
[Explanation of symbols]
DESCRIPTION OF
Claims (8)
伝送する主画像のデータ量に応じて、当該主画像の縮小画像であるサムネイル画像のデータを伝送用の画像ファイルに付加するか否かを判断し、
その判断結果に従ってサムネイル画像を付加した画像ファイル又はサムネイル画像を省略した画像ファイルを生成し、
該生成した画像ファイルを送信することを特徴とする画像送信方法。In an image transmission method for transmitting image data from a transmission side device to a reception side device,
According to the data amount of the main image to be transmitted, it is determined whether or not to add thumbnail image data, which is a reduced image of the main image, to the image file for transmission,
According to the determination result, an image file with a thumbnail image added or an image file with the thumbnail image omitted is generated.
An image transmission method comprising transmitting the generated image file.
伝送する主画像のデータ量に対して、当該主画像の縮小画像であるサムネイル画像のデータ量が所定の割合以下となるようにサムネイル画像のデータ量を調節し、
前記データ量が調節されたサムネイル画像と前記主画像とを含む画像ファイルを生成し、
該生成した画像ファイルを送信することを特徴とする画像送信方法。In an image transmission method for transmitting image data from a transmission side device to a reception side device,
Adjusting the data amount of the thumbnail image so that the data amount of the thumbnail image, which is a reduced image of the main image, is equal to or less than a predetermined ratio to the data amount of the main image to be transmitted,
Generating an image file including a thumbnail image with the data amount adjusted and the main image;
An image transmission method comprising transmitting the generated image file.
前記受信側装置との間でデータの受け渡しを行う通信手段と、
画像データが格納されている画像保存手段から伝送対象として選択された画像内容を含む画像ファイルを読み出すデータ読出手段と、
伝送すべき主画像のデータ量に応じて、当該主画像の縮小画像であるサムネイル画像のデータを伝送用の画像ファイルに付加するか否かの判断を行う判断手段と、
前記判断手段の判断結果に従ってサムネイル画像を付加した画像ファイル又はサムネイル画像を省略した画像ファイルを生成する伝送用画像ファイル生成手段と、
前記伝送用画像ファイル生成手段によって生成された伝送用の画像ファイルを前記受信側装置に送信する制御を行う制御手段と、
を備えたことを特徴とする画像送信装置。An image transmitting device capable of transmitting image data to a receiving side device,
A communication means for exchanging data with the receiving side device;
Data reading means for reading out an image file including image content selected as a transmission target from an image storage means in which image data is stored;
Determining means for determining whether to add thumbnail image data, which is a reduced image of the main image, to the image file for transmission according to the data amount of the main image to be transmitted;
An image file generation unit for transmission that generates an image file to which a thumbnail image is added or an image file from which the thumbnail image is omitted according to the determination result of the determination unit;
Control means for performing control to transmit the transmission image file generated by the transmission image file generation means to the reception side device;
An image transmitting apparatus comprising:
前記受信側装置との間でデータの受け渡しを行う通信手段と、
画像データが格納されている画像保存手段から伝送対象として選択された画像内容を含む画像ファイルを読み出すデータ読出手段と、
伝送すべき主画像のデータ量に応じて、当該主画像の縮小画像であるサムネイル画像のデータ量を変更するデータ量変更手段と、
前記主画像のデータ量に対して前記サムネイル画像のデータ量が所定の割合以下となるようにデータ量が調節されたサムネイル画像を付加した画像ファイルを生成する伝送用画像ファイル生成手段と、
前記伝送用画像ファイル生成手段によって生成された伝送用の画像ファイルを前記受信側装置に送信する制御を行う制御手段と、
を備えたことを特徴とする画像送信装置。An image transmitting device capable of transmitting image data to a receiving side device,
A communication means for exchanging data with the receiving side device;
Data reading means for reading out an image file including image content selected as a transmission target from an image storage means in which image data is stored;
Data amount changing means for changing the data amount of a thumbnail image, which is a reduced image of the main image, according to the data amount of the main image to be transmitted;
A transmission image file generating means for generating an image file to which a thumbnail image with the data amount adjusted so that the data amount of the thumbnail image is equal to or less than a predetermined ratio with respect to the data amount of the main image;
Control means for performing control to transmit the transmission image file generated by the transmission image file generation means to the reception side device;
An image transmitting apparatus comprising:
前記受信側装置からの要求に応じて、要求に係る画素サイズの主画像を含む画像ファイルを送信することを特徴とする請求項6又は7に記載の画像送信装置。Means for providing image file information that can be transmitted to the receiving device;
8. The image transmission apparatus according to claim 6, wherein an image file including a main image having a pixel size according to the request is transmitted in response to a request from the reception side apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002001025A JP3937137B2 (en) | 2002-01-08 | 2002-01-08 | Image transmission method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002001025A JP3937137B2 (en) | 2002-01-08 | 2002-01-08 | Image transmission method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003204500A JP2003204500A (en) | 2003-07-18 |
JP3937137B2 true JP3937137B2 (en) | 2007-06-27 |
Family
ID=27641249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002001025A Expired - Fee Related JP3937137B2 (en) | 2002-01-08 | 2002-01-08 | Image transmission method and apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3937137B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202264A (en) * | 2004-01-19 | 2005-07-28 | Noritsu Koki Co Ltd | Photographic print system |
EP1562349B1 (en) * | 2004-02-04 | 2007-08-01 | Sony Ericsson Mobile Communications AB | Sharing of media file including META information |
JP4546859B2 (en) * | 2005-03-16 | 2010-09-22 | オリンパスイメージング株式会社 | Digital camera |
JP2010288239A (en) * | 2009-06-15 | 2010-12-24 | Canon Inc | Information processing apparatus and information processing method |
JP6395522B2 (en) * | 2014-09-03 | 2018-09-26 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM |
-
2002
- 2002-01-08 JP JP2002001025A patent/JP3937137B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003204500A (en) | 2003-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4143956B2 (en) | Image display device and image management program | |
US7586533B2 (en) | Image processing apparatus, image processing method, program, and storage medium | |
US7414746B2 (en) | Image data communication method | |
US7868916B2 (en) | Image Transmitter and print system | |
US8081252B2 (en) | Image displaying apparatus | |
US8698821B2 (en) | Image processing apparatus, image processing method, computer program, and storage medium | |
JP2001230999A (en) | Method for obtaining image information and device and system for transmitting the same | |
US20030174219A1 (en) | Image pickup and recording apparatus for recording a certain image separately from other image, and an image picking up and recording method | |
US20120176512A1 (en) | Image storage apparatus, image storage method, and control program executed in image storage apparatus | |
JP2009199586A (en) | Information processing apparatus and control method thereof | |
JP2000341572A (en) | Digital camera | |
JP3747914B2 (en) | Image recording apparatus, image recording method, and program | |
JP4143791B2 (en) | Image acquisition method, imaging apparatus, and imaging information transmission system | |
JP2002016865A (en) | Image transmitting and apparatus method therefor | |
JP3937137B2 (en) | Image transmission method and apparatus | |
JP2012084052A (en) | Imaging apparatus, control method and program | |
JP4296376B2 (en) | How to get video | |
JP4503867B2 (en) | Image reproducing apparatus, electronic camera apparatus, and image reproducing method | |
JP2004056707A (en) | Method of creating folder and program therefor | |
JP4826480B2 (en) | Imaging apparatus, image management method, and program | |
JP2006340150A (en) | Image list updating method in digital camera system | |
US20040130635A1 (en) | Image processing apparatus and image processing method | |
JP2004032636A (en) | Image transmitter and image receiver | |
JP2005175957A (en) | Image management device, digital camera, and image management method | |
JP5294091B2 (en) | Imaging apparatus, control method thereof, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040713 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20061207 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070223 |
|
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: 20070228 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070313 |
|
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: 20110406 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120406 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130406 Year of fee payment: 6 |
|
LAPS | Cancellation because of no payment of annual fees |