JP5000581B2 - Image playback device - Google Patents
Image playback device Download PDFInfo
- Publication number
- JP5000581B2 JP5000581B2 JP2008116871A JP2008116871A JP5000581B2 JP 5000581 B2 JP5000581 B2 JP 5000581B2 JP 2008116871 A JP2008116871 A JP 2008116871A JP 2008116871 A JP2008116871 A JP 2008116871A JP 5000581 B2 JP5000581 B2 JP 5000581B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- reading
- thumbnail
- frames
- display
- 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
- Studio Devices (AREA)
- Television Signal Processing For Recording (AREA)
Description
本発明は、画像再生の制御を行う画像再生装置に関するものである。 The present invention relates to an image reproducing equipment for controlling the image reproduction.
近年のデジタルカメラ装置はCCD等の高画素化が進み、撮影した画像のファイルサイズがどんどん大きくなってきている。これに伴って大きな画像ファイルデータでは、読み込みに時間がかかるため、画像の再生表示が遅くなってしまうという課題があった。 In recent digital camera devices, the number of pixels of a CCD or the like has been increased, and the file size of a photographed image has been increasing. In connection with this, since it takes time to read large image file data, there is a problem that the reproduction and display of the image becomes slow.
そこで、特許文献1には、再生表示する際の待ち時間を軽減し、再生画像を迅速に確認可能とした画像再生装置であって、この画像再生装置において画像ファイルデータを時分割アクセスにより同時に読み込み、同時に伸張して表示させる処理に関して記載されている。この処理により複数の別々の画像を同時に複数の人が見ることを可能としたものである。
複数のファイルを同時に読み込む必要があるので、ファイル数が多くなるほど処理が複雑になり、この処理を行うためにCPUパワーも多く必要となる。また、伸張処理も同時に動作させる場合も同様で、伸張の処理能力以上の画像ファイルに数が増えると、表示の速度が遅くなってしまうという課題がある。 Since it is necessary to read a plurality of files at the same time, the processing becomes more complicated as the number of files increases, and more CPU power is required to perform this processing. The same applies to the case where the decompression process is operated simultaneously. When the number of image files exceeding the decompression processing capacity increases, there is a problem that the display speed is slowed down.
本発明は、前記従来技術の問題を解決することに指向するものであり、1つ目の画像ファイルを読み込んだ後、読み込んだデータを伸張し表示させるが、読み込んだデータの伸張と2つ目の画像ファイルの読み込みとを同時に動作させることにより、1つ目のデータ伸張が終わったころには2つ目の画像ファイルの読み込みが終わっているので、続けて2つ目のデータ伸張の処理ができるため、複数の画像ファイルを高速で読み込み、伸張して表示することができる画像再生装置を提供することを目的とする。 The present invention is directed to solving the problems of the prior art, and after reading the first image file, the read data is expanded and displayed. Since the reading of the second image file is completed when the first data decompression is completed, the second data decompression process is continued. can therefore read a plurality of image files at a high speed, and an object thereof is to provide an image reproducing equipment capable of displaying and stretching.
前記の目的を達成するために、本発明に係る請求項1に記載した画像再生装置は、圧縮された画像ファイルをメモリ上に読み込む読込手段と、前記メモリ上に読み込んだ画像ファイルのデータを伸張する伸張手段と、前記読込手段及び伸張手段を制御する制御手段と、前記制御手段が制御する連続した処理中に、該処理のキャンセル指示の有無を確認する確認手段と、前記伸張手段により伸張された複数コマのサムネイル画像を一覧で表示部に再生表示する表示手段と、を備え、前記制御手段は、サムネイル画像の一覧再生表示の指示を受けると、前記読込手段に対しサムネイルリード要求を送信し、前記読込手段は、受信した前記サムネイルリード要求で指定された画像ファイルの画像ヘッダー部分をメモリ上に読み込み、前記画像ヘッダー部分の読み込みが完了すると、前記制御手段に対しサムネイルリード完了通知を送信し、前記制御手段は、前記サムネイルリード完了通知を受信すると、前記伸張手段が前記読み込まれた画像ヘッダー部分から抽出したサムネイル画像を伸張するように制御し、更に、前記制御手段は、前記読込手段による読み込みと前記伸張手段による伸張の処理が並列に行われ、前記読込手段と前記伸張手段とによる複数の画像ファイルの読み込みと伸張の処理が連続して行われるように制御し、更に、前記制御手段は、前記複数コマの再生表示の指示を受けると、前記複数コマ分の前記サムネイルリード要求をまとめて作成し、前記読込手段に対し前記複数コマ分のサムネイルリード要求を連続して送信し、前記読込手段は、受信した前記複数コマ分のサムネイルリード要求に基づき1コマ分の画像ファイルの画像ヘッダー部分の読み込みが完了する度に前記サムネイルリード完了通知を送信し、更に、前記制御手段は、前記確認手段による前記キャンセル指示の確認により、前記連続した処理を停止して、終了するように制御することを特徴とする。
In order to achieve the above object, an image reproducing apparatus according to
この構成により、複数の画像ファイルの再生を高速に読み込み、伸張する処理を行うことができる。 With this configuration, it is possible to read and decompress a plurality of image files at high speed.
また、請求項2に記載した発明は、請求項1の画像再生装置において、前記確認手段により前記キャンセル指示有りの確認がなされた場合、前記読込手段は前記確認がなされた後は前記画像ヘッダー部分の読み込みを行わずに前記サムネイルリード完了通知を送信することを特徴とする。請求項3に記載した発明は、請求項1又は2に記載の画像再生装置において、前記サムネイルリード要求は、前記複数コマの数と画像番号N(N:1〜前記複数コマの数)との情報を有し、前記読込手段は、処理した前記サムネイルリード要求における前記複数コマの数と前記画像番号とを比較して、前記複数コマ分の前記画像ヘッダー部分の読み込みが完了したか否かを判定することを特徴とする。 According to a second aspect of the present invention, in the image reproducing apparatus according to the first aspect, when the confirmation unit confirms that the cancel instruction is present, the reading unit performs the image header portion after the confirmation is performed. The thumbnail read completion notification is transmitted without reading . According to a third aspect of the present invention, in the image reproduction device according to the first or second aspect, the thumbnail read request is a number of the plurality of frames and an image number N (N: 1 to the number of the plurality of frames). And the reading means compares the number of the plurality of frames in the processed thumbnail read request with the image number to determine whether or not the reading of the image header portion for the plurality of frames has been completed. It is characterized by determining.
また、請求項4に記載した発明は、請求項1〜3の画像再生装置において、前記制御手段は、前記読込手段による読み込みと前記表示手段による表示とが並列に行われ、前記読込手段と前記伸張手段と前記表示手段とによる複数の画像ファイルの読み込みと伸張と表示の処理が連続して行われるように制御することを特徴とする。
Further, the invention described in
この構成により、複数の画像ファイルの再生を高速に読み込み、伸張して表示する処理を行うことができる。 With this configuration, it is possible to perform a process of reading a plurality of image files at a high speed, decompressing them, and displaying them.
本発明によれば、複数の画像ファイルの再生を高速に読み込み、伸張して表示する並列処理をすることが可能となり、処理する画像ファイルの数が増えても高速に再生処理することができるという効果を奏する。 According to the present invention, it is possible to perform parallel processing of reading a plurality of image files at a high speed, expanding and displaying them, and performing a high speed reproduction process even if the number of image files to be processed increases. There is an effect.
以下、図面を参照して本発明における実施の形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は本発明の実施形態におけるデジタルカメラ装置を示すブロック図である。図1に示すデジタルカメラ装置は、レンズ101、オートフォーカスを含むメカ機構102、CCD103、CDS回路104、A/D変換器105、デジタル信号処理回路106、圧縮/伸張回路107、DRAM108、メモリカード109、LCD110、ドライバ111、SG112、CPU113、操作部114、ストロボ115、マイク116、AMP/FILTER117、D/A変換器118、音声データ圧縮/伸張回路119、A/D変換器120、AMP/FILTER121、OSD(On Screen Display)122、及び電源部であるDC/DCコンバータ125、電池126、ACアダプタ127等により構成されている。そして、CPU113はRAM123を有し、CPUバス124を介して種々の構成要素と接続されている。
FIG. 1 is a block diagram showing a digital camera device according to an embodiment of the present invention. A digital camera device shown in FIG. 1 includes a lens 101, a
レンズユニットは、レンズ101、オートフォーカス(AF)・絞り・フィルター部を含むメカ機構102等からなり、メカ機構102のメカニカルシャッターは2つのフィールドの同時露光を行う。CCD(電荷結合素子)103は、レンズユニットを介して入力した映像を電気信号(アナログ画像データ)に変換する。CDS(相関2重サンプリング)回路104は、CCD103から出力される電気信号のノイズを小さくする。また、A/D変換器105は、CDS回路104を介してCCD103から入力したアナログ画像データをデジタル画像データに変換する。すなわち、CCD103の出力信号は、CDS回路104を通じてA/D変換器105で最適なサンプリング周波数(例えば、NTSC信号のサブキャリア周波数の整数倍)にてデジタル信号に変換される。
The lens unit includes a lens 101, a
また、デジタル信号処理部106は、A/D変換器105から入力した画像データを輝度データと色差データに分けて各種処理、補正、及び画像圧縮/伸張のためのデータ処理を施す。画像圧縮/伸張回路107は、JPEGに準拠しており、画像データを直交変換・ハフマン符号化して圧縮する。また、画像圧縮/伸張回路107は、画像データをハフマン復号化・逆直交変換して伸張する。
The digital
一方、音声は、マイク116等の音声−電気信号変換素子により電気信号に変換されて音声データとなり、AMP/FILTER117により増幅され必要帯域にカットオフされた後、D/A変換器118により所定帯域の2倍以上のサンプリング周波数でデジタル音声データに変換される。さらに、このデジタル音声データは音声データ圧縮/伸張回路119により圧縮・符号化処理される。
On the other hand, the audio is converted into an electric signal by an audio-electric signal conversion element such as the
DRAM108は、圧縮処理された画像データを一時的に格納する。圧縮された画像データは画像ファイルデータとして、圧縮された音声データは音声ファイルデータとしてメモリカード109に記録される。
The
また、表示手段のLCD110には、メモリカード109に記録されている画像データに応じた画像が表示される。また、LCD110には、設定されているデジタルカメラ装置の状態、例えば、設定されているモード表示やエラー表示等が行われる。
Also, an image corresponding to the image data recorded on the
操作部114は、機能選択、撮影指示、及びその他の各種設定を外部から行うための操作キーを備えている。操作キーとしては、例えば、メモリカード109に格納されている画像データをページ送り及びページ戻しを指示するための「ページ送り」キー及び「ページ戻し」キー、設定されているデジタルカメラ装置の状態等の表示のON/OFFを指示する「表示ON/OFF」キー等がある。
The
CPU113は、操作部114からの指示、もしくは図示しないリモコン等の外部動作指示に応じて、図示しないROMに格納された制御プログラムに従って、デジタルカメラ装置の各部の動作を制御する。例えば、CPU113は、メモリカード109への画像データ、及び音声データの記録動作の制御、メモリカード109に記録されている画像データ、及び音声データの再生動作の制御等を行う。
The
なお、図1に示すように電源部は、DC/DCコンバータ125に電池126及びACアダプタ127が接続される構成となっている。
As shown in FIG. 1, the power supply unit has a configuration in which a
図2はメモリカードのフォーマットの一例を示す図である。このフォーマットは、パソコン用のDOSのフォーマットと同一のものとなっている。図1のメモリカード109は、図2に示すごとく、デバイス種類、アクセス速度、記憶容量等のカード属性情報が格納されるアトリビュート領域201と、ブートセレクタ領域202と、FAT領域203と、ディレクトリエントリ領域204と、画像ファイルデータを格納する画像ファイルデータ格納領域205と、音声ファイルデータを格納する音声ファイルデータ格納領域206とから構成されている。
FIG. 2 is a diagram showing an example of the format of the memory card. This format is the same as the DOS format for personal computers. As shown in FIG. 2, the
ブートセレクタ領域202には、メモリカード109からデータを読み書きする場合に必要なパラメータ、すなわち、FAT(File Allocation Table)エントリや、ディレクトリ等が記録される。
In the
FAT領域203には、各ファイルのデータが記録されている状態の情報であるFATエントリが書き込まれる。なお、データが記録されているメモリ上の位置は、データの書き込み単位の番号となるクラスタ番号で示されている。
In the
図3はディレクトリエントリ領域に格納されるデータ構成の一例を示す図である。ディレクトリエントリ領域204には、図3に示すごとく、記録したデータのファイル名、ファイル属性、予約領域、作成/更新時刻、作成/更新日付、対応するファイルまたはサブディレクトリエントリの物理的位置(FAT開始番号)と該ファイルのサイズについての情報がそれぞれ記録されている。前記ファイル名としては、対応するものがファイルデータであるときには、ファイルの属性情報の1つである拡張子を含むファイル名が記録される。
FIG. 3 is a diagram showing an example of the data structure stored in the directory entry area. In the
また、画像ファイルデータ格納領域205の構成は、図4に示すごとくなっており、各画像ファイルデータ(例えば、RIMG0001.JPG、RIMG0002.JPG、RIMG0003.JPG、RIMG0004.JPG、…)が順次固定長のデータで書き込まれている。この画像ファイルデータは、図4に示すごとく、画像ヘッダー、主画像データ、及び当該画像データに対応するサムネイル画像からなる。画像ヘッダーには、ファイル属性、個別規格名称、規格のバージョン、画像データ本体の関連情報、サムネイル画像の関連情報、及び記録モード等が記録される。
Further, the configuration of the image file
次に、本実施形態の動作について説明する。図5は縮小画像20コマを一覧表示した例を示す図である。メモリカード109に記憶されている複数の画像を表示装置(LCD110)に一度に表示している。画像数が20コマなら、1ページの表示で収まり、40コマなら2ページ、60コマで3ページの表示となる。
Next, the operation of this embodiment will be described. FIG. 5 is a diagram showing an example of a list of 20 reduced images. A plurality of images stored in the
図6は本発明を実施していないときの再生信号シーケンスを示す図である。図6に示すように、画像ファイルを読み込むリード処理と、読み込んだデータを伸張し画像データとして表示する伸張/表示処理が交互に動作している例である。また、図7は本実施形態の再生信号シーケンスの一例を示す図である。いま、N(20)コマ再生の要求の指示があると、再生タスクはファイルタスクに20コマのリード要求をまとめて発行する。ファイルタスクでは、要求に従って、順次リード処理を行い、その結果を再生タスクへリード完了通知として知らせる。再生タスクでは、リード完了通知により伸張処理を行うとともに、伸張完了後には引き続き表示処理を行う。 FIG. 6 is a diagram showing a reproduction signal sequence when the present invention is not carried out. As shown in FIG. 6, a read process for reading an image file and an expansion / display process for expanding the read data and displaying it as image data are alternately performed. FIG. 7 is a diagram showing an example of a reproduction signal sequence of the present embodiment. If there is an instruction to request N (20) frame playback, the playback task issues a 20-frame read request to the file task. In the file task, read processing is sequentially performed according to the request, and the result is notified to the reproduction task as a read completion notification. In the reproduction task, the expansion process is performed according to the read completion notification, and the display process is continued after the expansion is completed.
このときの表示位置としては、例えば図5で示されるように、左上から順番に表示していく。図7の例で示したように、リード処理と伸張/表示処理が切れ目なく連続して動作できるようになっている。図8に示す動作シーケンス図のように、2画像目のファイルをリード処理2aしている間に、先のリード処理1aで読み込んだ1画像目のファイルの伸張処理1bと、1画像目の表示処理1cが動作できている。次に、3画像目のファイルをリード処理3aしている間に直前の2画像目の伸張処理2bと表示処理2cが行われる。 As the display position at this time, for example, as shown in FIG. As shown in the example of FIG. 7, the read process and the expansion / display process can be operated continuously without a break. As shown in the operation sequence diagram of FIG. 8, while the read process 2a is being performed on the second image file, the decompression process 1b of the first image file read in the previous read process 1a and the display of the first image are performed. The process 1c is operating. Next, while the read process 3a is performed on the file of the third image, the decompression process 2b and the display process 2c of the immediately preceding second image are performed.
このように、再生要求で指示された数分の画像ファイルを図5のLCD110に表示する連続した処理を行うが、例えば指示された数が100コマで、表示可能な数が20コマの場合、前述したようにLCD110に複数回(5回)に分けて連続した処理を繰り返し行うことになる。また、表示可能な20コマの数は任意に変更可能である。
In this way, the continuous processing of displaying the number of image files instructed by the reproduction request on the
図9は本実施形態の再生タスクにおけるN(20)コマ再生要求処理を示すフローチャートであり、図10はタスク間で授受される通知メッセージの構造例を示す図である。20コマ再生要求処理について、図7,10を参照しながら図9に基づき説明する。 FIG. 9 is a flowchart showing N (20) frame playback request processing in the playback task of this embodiment, and FIG. 10 is a diagram showing an example of the structure of a notification message exchanged between tasks. The 20-frame playback request process will be described based on FIG. 9 with reference to FIGS.
図9に示すように、再生タスクでは、アプリケーションからの「20コマ再生要求」(図7,図10(c)参照)を受信すると(S1)、コマ数の初期化を行い(S2,S3)、20コマ分の「サムネイルリード要求」(図10(a)参照)のメッセージを作成する。例えば、「全画像数:20コマ」、20コマ分のサムネイルリード要求として、「画像番号」のN=1〜20をカウントしてN=20を確認し、これらの第1〜20「サムネイルリード要求」をファイルタスクに送信する(S4,S5,S6)。 As shown in FIG. 9, in the playback task, when a “20-frame playback request” (see FIGS. 7 and 10C) from the application is received (S1), the number of frames is initialized (S2, S3). A message of “thumbnail read request” (see FIG. 10A) for 20 frames is created. For example, as a thumbnail read request for “total number of images: 20 frames”, N = 1 to 20 of “image number” is counted and N = 20 is confirmed. Request "is transmitted to the file task (S4, S5, S6).
また、図11は本実施形態のファイルタスクにおけるサムネイルリード完了通知処理を示すフローチャートである。サムネイルリード完了通知処理について、図7,図10を参照しながら図11に基づき説明する。 FIG. 11 is a flowchart showing thumbnail read completion notification processing in the file task of this embodiment. The thumbnail read completion notification process will be described based on FIG. 11 with reference to FIGS.
図11に示すように、ファイルタスクでは、再生タスクからの「サムネイルリード要求」を受信すると(S11)、次に、処理キャンセルの指示が行われたか、常にチェックする(S12)。キャンセル有りのとき(S12のYes)、「サムネイルリード完了通知」(図10(b)参照)の「リ−ド結果」にキャンセル検出番号(例えば「−10」など)を設定し、再生タスクに送信する(S13)。 As shown in FIG. 11, in the file task, when a “thumbnail read request” is received from the reproduction task (S11), it is always checked whether an instruction to cancel the processing has been issued (S12). When there is a cancellation (Yes in S12), a cancellation detection number (for example, “−10”, etc.) is set in the “read result” of “thumbnail read completion notification” (see FIG. 10B), and the playback task is set. Transmit (S13).
キャンセル無しのとき(S12のNo)、指定の画像ファイルデータの画像ヘッダー(図4参照)部分をリードし、サムネイル画像を抽出する(S14)。ヘッダー部分のリードが完了すると(S15)、「サムネイルリード完了通知」の「リード結果」に正常(例えば「0」など)を設定し、再生タスクに送信する(S16)。 When there is no cancellation (No in S12), the image header (see FIG. 4) portion of the designated image file data is read, and a thumbnail image is extracted (S14). When the reading of the header portion is completed (S15), the “read result” of “thumbnail read completion notification” is set to normal (eg, “0”) and transmitted to the reproduction task (S16).
図10(a)に示す「サムネイルリード要求」の例では、現在処理中の「画像番号」と、「全画像数」の指定があるので、すべての画像ファイルの処理が完了したか否か判定することができる(S17)。ここでは、「全画像数」を20コマとしており、同じ数字になる「画像番号」を持つ「サムネイルリード要求」を受信した場合(S17のYes)、処理完了として終了する。画像ファイルのリードが残っている場合は、引き続き「サムネイルリード要求」の待ち合わせを行い(S18)、「サムネイルリード要求」を受信すると(S18のYes)、再度処理S12へ戻り処理を繰り返していく。 In the example of “thumbnail read request” shown in FIG. 10A, since the “image number” being processed and the “total number of images” are specified, it is determined whether or not the processing of all image files has been completed. (S17). Here, the “total number of images” is 20 frames, and when a “thumbnail read request” having “image number” having the same number is received (Yes in S17), the processing ends. If the read of the image file remains, the process continues to wait for a “thumbnail read request” (S18). When the “thumbnail read request” is received (Yes in S18), the process returns to step S12 again to repeat the process.
前述の処理S12において、処理キャンセル指示の確認を行っているのは、本実施形態の例では20コマ分まとめてサムネイルリード要求を受けているため、キャンセル指示を確認した場合に、その後はリードを行わずに、「サムネイルリード完了通知」を返す必要がある。 In the processing S12 described above, the processing cancellation instruction is confirmed because the thumbnail read request for 20 frames is received collectively in the example of this embodiment, and when the cancellation instruction is confirmed, the read is thereafter performed. Instead, it is necessary to return a “thumbnail read completion notification”.
具体的には、キャンセル指示を確認した場合に、キャンセルフラグ等を設定して、その後のリードを中止し、処理S13のキャンセル検出番号を設定した「サムネイルリード完了通知」のキャンセル通知を返すことになる。また、前述のキャンセル通知が、処理S17におけるすべてのサムネイルリード要求に対して実行されると処理を終了する。同時に、先ほど設定したキャンセルフラグの解除を行う。 Specifically, when the cancel instruction is confirmed, a cancel flag or the like is set, the subsequent reading is stopped, and a “thumbnail read completion notification” cancel notification in which the cancel detection number is set in step S13 is returned. Become. Further, when the cancel notification described above is executed for all thumbnail read requests in step S17, the process ends. At the same time, the cancel flag set earlier is canceled.
さらに、後述する再生タスクにおいても、キャンセル通知からキャンセル指示があったことを判断したときには、伸張と表示の処理をスキップすることになるが、20コマ分の残りすべての「サムネイルリード完了通知」(キャンセル通知)を受けるまで前述したスキップする処理を続けることになる。 Further, in the reproduction task described later, when it is determined that there is a cancel instruction from the cancel notification, the expansion and display processing is skipped, but all the remaining “thumbnail read completion notifications” for 20 frames ( The above-described skipping process is continued until a cancel notification is received.
例えば、図1示すメモリカード109に100枚の画像ファイルが保存されているときには、デジタルカメラ装置のLCD110(表示装置)において1ページ(画面)で全画像ファイルを表示することができないため、何ページかに分割して100枚分の画像ファイルを表示することになる。いま、ユーザが3枚目のページをすぐに見たいときなど、1枚目や2枚目のページにおける画像の表示が始まったときに、操作部114からキャンセル指示をすれば、現在処理している該当ページの読み出し、伸張、表示の処理を中止して、次のページの連続した処理後の表示へより早く進むことができる。
For example, when 100 image files are stored in the
また、図12は本実施形態の再生タスクにおけるサムネイルリード完了通知処理を示すフローチャートである。サムネイルリード完了通知処理について、図7,図10を参照しながら図12に基づき説明する。 FIG. 12 is a flowchart showing thumbnail read completion notification processing in the playback task of this embodiment. The thumbnail read completion notification process will be described based on FIG. 12 with reference to FIGS.
図12に示すように、再生タスクでは、ファイルタスクからの「サムネイルリード完了通知」を受信すると(S21)、次に、処理キャンセルの指示が行われたかの有無をチェックし(S22)、キャンセル有りのとき(S22のYes)、画像の伸張処理、表示処理をスキップする。また、キャンセル無しのとき(S22のNo)、図4に示すリードした画像ファイルデータ内の圧縮されたサムネイル画像を抽出し、伸張処理でYUVデータに変換する(S23)。このYUVデータに変換する領域は、図5の再生画面で示したように、1つ目の画像から20個目の画像まで、左上から順番に指定していく。指定した領域への伸張処理が完了すると表示装置への表示処理を開始する(S24)。 As shown in FIG. 12, in the reproduction task, when the “thumbnail read completion notification” is received from the file task (S21), it is next checked whether or not an instruction to cancel the process has been issued (S22), and there is a cancellation. When (Yes in S22), the image expansion process and the display process are skipped. If there is no cancellation (No in S22), a compressed thumbnail image in the read image file data shown in FIG. 4 is extracted and converted into YUV data by decompression processing (S23). The area to be converted into YUV data is designated in order from the upper left, from the first image to the twentieth image, as shown in the reproduction screen of FIG. When the expansion processing to the designated area is completed, display processing on the display device is started (S24).
図10(b)に示す「サムネイルリード完了通知」の例では、現在処理中の「画像番号」と、「全画像数」の指定があるので、すべての画像ファイルの処理が完了したかどうか判定することができる(S25)。ここでは、「全画像数」を20コマとしており、同じ数字になる「画像番号」を持つ「サムネイルリード完了通知」を受信した場合(S25のYes)、処理完了として終了する。画像ファイルのリードが残っている場合は、引き続き「サムネイルリード完了通知」の待ち合わせを行い(S26)、「サムネイルリード完了通知」を受信すると(S26のYes)、再度処理S22へ戻り処理を繰り返していく。 In the example of “thumbnail read completion notification” shown in FIG. 10B, since the “image number” currently being processed and the “total number of images” are specified, it is determined whether or not the processing of all image files has been completed. (S25). Here, the “total number of images” is 20 frames, and if “thumbnail read completion notification” having the same “image number” is received (Yes in S25), the processing ends. If the image file read remains, the process continues to wait for the “thumbnail read completion notification” (S26). When the “thumbnail read completion notification” is received (Yes in S26), the process returns to step S22 again to repeat the process. Go.
また、本実施形態において、複数の画像ファイルの再生処理として、図4に示す画像ファイルデータから画像ヘッダー部分をリードし、該当するサムネイル画像を抽出して行う表示を例として説明したが、画像ファイルデータ全体をリードして、主画像データを抽出する場合にも適用することができる。また、サムネイル画像を持たない画像ファイルデータであっても利用可能である。 Further, in the present embodiment, as a process for reproducing a plurality of image files, an example has been described in which display is performed by reading the image header portion from the image file data shown in FIG. 4 and extracting the corresponding thumbnail image. The present invention can also be applied when reading the entire data and extracting main image data. Even image file data having no thumbnail image can be used.
主画像データを抽出し表示する場合には、図5に示す複数の画像を並べて、LCD110に表示するのではなく、一定の時間間隔で表示を変更するようにしてもよく、連続した処理の処理順(ヘッダー番号等)をOSD122により表示し、前述したキャンセル指示に代えてユーザの指定するヘッダー番号等の入力によって、該当ヘッダー番号までの読み込み、伸張、表示の処理をスキップするようにすることも可能である。
When the main image data is extracted and displayed, the plurality of images shown in FIG. 5 may not be arranged and displayed on the
本発明に係る画像再生装置は、複数の画像ファイルの再生を高速に読み込み、伸張して表示する並列処理をすることが可能となり、処理する画像ファイルの数が増えても高速に再生処理することができ、画像再生の制御等として有用である。
Image reproduction equipment according to the present invention reads the reproduction of a plurality of image files at a high speed, it is possible to parallel processing of displaying by expanding the number of image files to be processed for reproducing processed faster growing This is useful for controlling image reproduction.
101 レンズ
102 メカ機構
103 CCD
104 CDS回路
105,120 A/D変換器
106 デジタル信号処理回路
107 圧縮/伸張回路
108 DRAM
109 メモリカード
110 LCD
111 ドライバ
112 SG
113 CPU
114 操作部
115 ストロボ
116 マイク
117,121 AMP/FILTER
118 D/A変換器
119 音声データ圧縮/伸張回路
122 OSD
123 RAM
124 CPUバス
125 C/DCコンバータ
126 電池
127 ACアダプタ
201 アトリビュート領域
202 ブートセレクタ領域
203 FAT領域
204 ディレクトリエントリ領域
205 画像ファイルデータ格納領域
206 音声ファイルデータ格納領域
104
109
111
113 CPU
114
118 D /
123 RAM
124 CPU bus 125 C /
Claims (4)
前記メモリ上に読み込んだ画像ファイルのデータを伸張する伸張手段と、
前記読込手段及び伸張手段を制御する制御手段と、
前記制御手段が制御する連続した処理中に、該処理のキャンセル指示の有無を確認する確認手段と、
前記伸張手段により伸張された複数コマのサムネイル画像を一覧で表示部に再生表示する表示手段と、を備え、
前記制御手段は、サムネイル画像の一覧再生表示の指示を受けると、前記読込手段に対しサムネイルリード要求を送信し、前記読込手段は、受信した前記サムネイルリード要求で指定された画像ファイルの画像ヘッダー部分をメモリ上に読み込み、前記画像ヘッダー部分の読み込みが完了すると、前記制御手段に対しサムネイルリード完了通知を送信し、
前記制御手段は、前記サムネイルリード完了通知を受信すると、前記伸張手段が前記読み込まれた画像ヘッダー部分から抽出したサムネイル画像を伸張するように制御し、
更に、前記制御手段は、前記読込手段による読み込みと前記伸張手段による伸張の処理が並列に行われ、前記読込手段と前記伸張手段とによる複数の画像ファイルの読み込みと伸張の処理が連続して行われるように制御し、
更に、前記制御手段は、前記複数コマの再生表示の指示を受けると、前記複数コマ分の前記サムネイルリード要求をまとめて作成し、前記読込手段に対し前記複数コマ分のサムネイルリード要求を連続して送信し、前記読込手段は、受信した前記複数コマ分のサムネイルリード要求に基づき1コマ分の画像ファイルの画像ヘッダー部分の読み込みが完了する度に前記サムネイルリード完了通知を送信し、
更に、前記制御手段は、前記確認手段による前記キャンセル指示の確認により、前記連続した処理を停止して、終了するように制御することを特徴とする画像再生装置。 A reading means for reading the compressed image file into the memory;
Decompression means for decompressing image file data read into the memory;
Control means for controlling the reading means and the expansion means;
Confirmation means for confirming whether or not there is an instruction to cancel the processing during the continuous processing controlled by the control means;
Display means for reproducing and displaying thumbnail images of a plurality of frames expanded by the expansion means on a display unit as a list ;
When the control means receives an instruction to display and reproduce a list of thumbnail images, the control means transmits a thumbnail read request to the reading means, and the reading means reads the image header portion of the image file specified by the received thumbnail read request. When the reading of the image header portion is completed, a thumbnail read completion notification is transmitted to the control means.
When receiving the thumbnail read completion notification, the control means controls the decompression means to decompress the thumbnail image extracted from the read image header portion,
Further, the control means performs reading by the reading means and decompression processing by the decompressing means in parallel, and reading and decompressing a plurality of image files by the reading means and the decompressing means are performed in succession. and control to divide,
Further, upon receiving an instruction to display and reproduce the plurality of frames, the control means collectively creates the thumbnail read requests for the plurality of frames, and continuously issues the thumbnail read requests for the plurality of frames to the reading means. The reading means transmits the thumbnail read completion notification every time reading of the image header portion of the image file for one frame is completed based on the received thumbnail read request for the plurality of frames,
Further, the control means controls to stop and end the continuous processing upon confirmation of the cancel instruction by the confirmation means .
前記読込手段は、処理した前記サムネイルリード要求における前記複数コマの数と前記画像番号とを比較して、前記複数コマ分の前記画像ヘッダー部分の読み込みが完了したか否かを判定することを特徴とする請求項1又は2記載の画像再生装置。 The thumbnail read request includes information on the number of the plurality of frames and an image number N (N: 1 to the number of the plurality of frames),
The reading means compares the number of the plurality of frames in the processed thumbnail read request with the image number to determine whether or not the reading of the image header portion for the plurality of frames has been completed. The image reproducing apparatus according to claim 1 or 2 .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008116871A JP5000581B2 (en) | 2008-04-28 | 2008-04-28 | Image playback device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008116871A JP5000581B2 (en) | 2008-04-28 | 2008-04-28 | Image playback device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009267909A JP2009267909A (en) | 2009-11-12 |
JP5000581B2 true JP5000581B2 (en) | 2012-08-15 |
Family
ID=41393168
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008116871A Expired - Fee Related JP5000581B2 (en) | 2008-04-28 | 2008-04-28 | Image playback device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5000581B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5361697B2 (en) | 2009-12-21 | 2013-12-04 | キヤノン株式会社 | Display control apparatus and display control method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002218407A (en) * | 2001-01-19 | 2002-08-02 | Konica Corp | Image reproducing device |
JP4725854B2 (en) * | 2006-09-27 | 2011-07-13 | 富士フイルム株式会社 | Image display device and image display method |
-
2008
- 2008-04-28 JP JP2008116871A patent/JP5000581B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009267909A (en) | 2009-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8081252B2 (en) | Image displaying apparatus | |
EP1791357B1 (en) | Recording device and method, recording and reproduction device and method, and program | |
EP2974285B1 (en) | Image processing apparatus and image processing method | |
EP2974265B1 (en) | Imaging apparatus and imaging apparatus control method | |
US7855733B2 (en) | Electronic camera and recording medium for images and image information and recording image reproduction program | |
JP5352065B2 (en) | Image display device | |
JP3747914B2 (en) | Image recording apparatus, image recording method, and program | |
JP2017139618A (en) | Image data generating apparatus, image data generating method, and program | |
US7412155B2 (en) | Imaging apparatus having a continuous shooting function | |
JP5000581B2 (en) | Image playback device | |
JP2011176716A (en) | Electronic apparatus, camera, and image processing program | |
JP2006261916A (en) | Photographing device | |
US6289127B1 (en) | Information processing apparatus and method | |
US20040130635A1 (en) | Image processing apparatus and image processing method | |
JP2005236496A (en) | Image recording display system | |
JP2004312463A (en) | Image regenerating method | |
JP2007053744A (en) | Image display system | |
JP2004072257A (en) | Imaging unit | |
JP4211764B2 (en) | Electronic camera, image recording apparatus, image recording method and program | |
JP2008099147A (en) | Image processor and image processing method | |
WO2024070346A1 (en) | Imaging device and control method and program therefor, and system | |
JP2008219425A (en) | Image processor and image processing method | |
WO2024070347A1 (en) | Recording device, method and program for controlling same, and system | |
JP5486233B2 (en) | Imaging apparatus and control method thereof | |
JP2005094288A (en) | Electronic camera, photographing control program, and shot control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20100614 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100624 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101206 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111128 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111206 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120125 |
|
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: 20120424 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120516 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5000581 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150525 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |