JP2011086977A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2011086977A
JP2011086977A JP2009235914A JP2009235914A JP2011086977A JP 2011086977 A JP2011086977 A JP 2011086977A JP 2009235914 A JP2009235914 A JP 2009235914A JP 2009235914 A JP2009235914 A JP 2009235914A JP 2011086977 A JP2011086977 A JP 2011086977A
Authority
JP
Japan
Prior art keywords
image data
image file
unit
normal
compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009235914A
Other languages
Japanese (ja)
Inventor
Naoaki Yorita
直晶 寄田
Saeko Samejima
冴映子 鮫島
Tsutomu Nishizawa
務 西澤
Taro Makigaki
太郎 牧垣
Yuko Nakata
佑子 中田
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Priority to JP2009235914A priority Critical patent/JP2011086977A/en
Publication of JP2011086977A publication Critical patent/JP2011086977A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus that greatly increases the number of recordable images without requesting intricate operation and losing an image. <P>SOLUTION: The imaging apparatus includes: an imaging section 110 which images a subject and outputs source image data; a normal file generation section 126 which generates normal image data by not compressing or compressing the source image data in predetermined format and generates a normal image file including the normal image data; a high compression section 128 which generates high compression image data obtained by reducing or compressing the normal image data included in the normal image file to small data capacity; a multifaceted image file generation section 130 which generates multifaceted image data obtained by longitudinally and laterally connecting the plurality of high compression image data to generate a multifaceted image file including the multifaceted image data; a deletion section 144 which deletes the original normal image file that the high compression section has processed, in predetermined timing; and a recording section 140 which records the normal image file and multifaceted image file. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、被写体を撮像して画像データを生成する撮像装置に関するものである。   The present invention relates to an imaging apparatus that images a subject and generates image data.

近年、急速に普及している電子式の撮像装置(以下、「電子カメラ」という。)においては、撮像素子から得られた画像データを、ファイルとして記録媒体に記録している。記録媒体は、内蔵式(固定式)と着脱式(交換式)がある。従前は記録媒体の容量が少なかったためにメモリーカードなどの着脱式が一般的であったが、近年はフラッシュROMチップや小型ハードディスクなどの固定式記録デバイスの大容量化に伴い、数ギガバイトの記録媒体を内蔵する構成も見られるようになってきている。   2. Description of the Related Art In recent years, in an electronic imaging device (hereinafter referred to as “electronic camera”) that has been rapidly spread, image data obtained from an imaging device is recorded as a file on a recording medium. The recording medium includes a built-in type (fixed type) and a detachable type (exchangeable type). In the past, the capacity of the recording medium was small, so the removable type such as a memory card was common, but in recent years, with the increase in the capacity of fixed recording devices such as flash ROM chips and small hard disks, a recording medium of several gigabytes There is also an increasing number of built-in configurations.

しかし、いかに記録媒体が大容量化したとしても、その容量には当然ながら限界がある。特に、近年の撮像素子の画素数の増加はめざましく、これに伴って画像ファイルのサイズも顕著に増大している。例えば1200万画素(4000×3000程度)の画素数であれば、JPEG圧縮された場合であっても5〜9MB程度のファイルサイズとなる(圧縮率や写っているものによってファイルサイズが異なる)。このように、記録容量の増大とファイルサイズの増大が同時に進行しているため、記録可能枚数は飛躍的には増加しにくい。   However, no matter how large the recording medium is, its capacity is naturally limited. In particular, the number of pixels of an image sensor in recent years has been remarkably increased, and along with this, the size of an image file has been remarkably increased. For example, if the number of pixels is 12 million pixels (about 4000 × 3000), the file size is about 5 to 9 MB even when JPEG compression is performed (the file size varies depending on the compression rate and what is shown). As described above, since the increase in the recording capacity and the increase in the file size proceed at the same time, it is difficult to dramatically increase the number of recordable sheets.

それでも、現状における記録容量とファイルサイズの関係からすれば、内蔵式記録媒体(または1つの着脱式記録媒体)においても、数百枚から千枚以上の画像を記録しうる程度の比率にはなっている。また、コンピュータやストレージデバイス等の外部装置を扱える使用者であれば、電子カメラ内の画像を外部装置に転送し、記録媒体の空き容量を確保(回復)することが可能である。   Nevertheless, based on the relationship between the current recording capacity and file size, even with a built-in recording medium (or one removable recording medium), the ratio is such that several hundred to 1,000 or more images can be recorded. ing. Further, if the user can handle an external device such as a computer or a storage device, the image in the electronic camera can be transferred to the external device and the free space of the recording medium can be secured (recovered).

しかし、電子カメラの利用者が必ずしも外部装置を取り扱えるとは限らず、記録媒体の空き容量を確保することが難しい場合がある。そして、相当量の枚数を記録可能であるとしても、長期に亘って撮影を行えば、いずれは記録容量の限界に到達してしまう。これを解決するためには、記録媒体の容量をさらに増大させることがまず考えられるが、コスト面および部品実装スペースの問題から容易ではない。   However, it is not always possible for a user of an electronic camera to handle an external device, and it may be difficult to ensure free space on the recording medium. Even if a considerable number of sheets can be recorded, if the image is taken over a long period of time, it will eventually reach the limit of the recording capacity. In order to solve this problem, it is conceivable first to further increase the capacity of the recording medium, but it is not easy due to problems of cost and component mounting space.

そこで従来からも、記録媒体の記録領域が少なくなった場合において、記録領域を確保するための様々な提案がなされている。例えば、特許文献1には、記録されている各画像データを自動的に消去、リサイズまたは圧縮処理する技術が開示されている。なお特許文献1においては、プリント回数やメモリ確保レベルに応じて自動的に選択した画像のサムネイルを表示し、操作者が圧縮、リサイズまたは消去をしたくない画像を、処理対象から除外可能としている。   Therefore, various proposals have been made for securing the recording area when the recording area of the recording medium is reduced. For example, Patent Document 1 discloses a technique for automatically erasing, resizing, or compressing each recorded image data. In Patent Document 1, thumbnails of images automatically selected according to the number of prints and the memory allocation level are displayed, and images that the operator does not want to compress, resize or delete can be excluded from the processing target. .

特開2007−73007号公報JP 2007-73007 A

上記特許文献1に記載の技術においては、使用者が最終的に消去などの処理の対象となる画像を選択可能である。しかし、処理対象となる画像が数十枚、数百枚となったときに、その全てについて使用者に要不要を判断させることは現実的ではない。このため、本来は記録しておきたい画像データであっても、操作のわずらわしさから安易に消去を選択してしまう場合も起り得る。したがって、必ずしも適切に画像データの消去が回避できるわけではない。   In the technique described in Patent Document 1, the user can finally select an image to be processed such as erasure. However, when there are tens or hundreds of images to be processed, it is not realistic for the user to determine whether or not all the images are necessary. For this reason, even if it is image data that is originally desired to be recorded, there is a case where erasure is easily selected due to the troublesome operation. Therefore, it is not always possible to appropriately avoid erasing image data.

そこで本発明は、このような課題に鑑み、使用者に煩雑な操作を要求することなく、また画像を失うことなく、飛躍的に記録可能枚数を増大させることが可能な撮像装置を提供することを目的としている。   Therefore, in view of such a problem, the present invention provides an imaging apparatus capable of dramatically increasing the number of recordable sheets without requiring a complicated operation from a user and without losing images. It is an object.

上記課題を解決するために、本発明にかかる撮像装置の代表的な構成は、被写体を撮像して原画像データを出力する撮像部と、原画像データを非圧縮または所定のフォーマットに圧縮して通常の画像データを生成し、通常の画像データを含む通常の画像ファイルを生成する通常ファイル生成部と、通常の画像ファイルに含まれる通常の画像データを小さいデータ容量に縮小または圧縮した高圧縮画像データを生成する高圧縮部と、複数の高圧縮画像データを縦横に連結した多面画像データを生成し、多面画像データを含む多面画像ファイルを生成する多面画像ファイル生成部と、高圧縮部が処理した元の通常の画像ファイルを所定のタイミングで削除する削除部と、通常の画像ファイルおよび多面画像ファイルを記録する記録部と、を備えたことを特徴とする。   In order to solve the above problems, a typical configuration of an imaging apparatus according to the present invention includes an imaging unit that images a subject and outputs original image data, and the original image data is uncompressed or compressed into a predetermined format. A normal file generator that generates normal image data and generates a normal image file that includes normal image data, and a high-compression image that reduces or compresses normal image data contained in a normal image file to a small data capacity A high-compression unit that generates data, a multi-sided image file that generates multiple-sided image data that includes multiple-sided image data by generating multiple-sided image data that connects multiple high-compressed image data vertically and horizontally, and a high-compression unit A deletion unit that deletes the original normal image file at a predetermined timing, and a recording unit that records the normal image file and the multi-sided image file. And wherein the door.

本発明にかかる撮像装置の他の代表的な構成は、被写体を撮像して原画像データを出力する撮像部と、原画像データを非圧縮または所定のフォーマットに圧縮して通常の画像データを生成し、通常の画像データを含む通常の画像ファイルを生成する通常ファイル生成部と、原画像データを通常の画像データよりも小さいデータ容量に縮小または圧縮した高圧縮画像データを生成する高圧縮部と、複数の高圧縮画像データを縦横に連結した多面画像データを生成し、多面画像データを含む多面画像ファイルを生成する多面画像ファイル生成部と、高圧縮部が処理した原画像データに対応する通常の画像ファイルを所定のタイミングで削除する削除部と、通常の画像ファイルおよび多面画像ファイルを記録する記録部と、を備えたことを特徴とする。   Another typical configuration of the image pickup apparatus according to the present invention includes an image pickup unit that picks up a subject and outputs original image data, and generates normal image data by uncompressing or compressing the original image data into a predetermined format. A normal file generation unit that generates a normal image file including normal image data, and a high compression unit that generates high-compression image data obtained by reducing or compressing original image data to a data capacity smaller than that of normal image data, A multi-faceted image file generator that generates multi-faceted image data obtained by connecting a plurality of pieces of high-compressed image data vertically and horizontally, and generates a multi-faceted image file including the multi-faceted image data, and a normal corresponding to the original image data processed by the high-compressed section A deletion unit that deletes the image file at a predetermined timing, and a recording unit that records a normal image file and a multi-sided image file. .

上記の撮像装置において、高圧縮部は、多面画像ファイルに含まれる多面画像データをさらに縮小または圧縮し、多面画像ファイル生成部は複数の多面画像データを縦横に連結した多面画像ファイルを生成し、削除部は、高圧縮部が処理した元の多面画像ファイルを削除してもよい。   In the imaging apparatus, the high compression unit further reduces or compresses the multi-sided image data included in the multi-sided image file, and the multi-sided image file generation unit generates a multi-sided image file obtained by connecting a plurality of multi-sided image data vertically and horizontally, The deletion unit may delete the original multifaceted image file processed by the high compression unit.

上記の撮像装置において、多面画像ファイル生成部は、複数の高圧縮画像データそれぞれに関する複数の撮像情報を付加して多面画像ファイルを生成してもよい。   In the imaging apparatus, the multi-plane image file generation unit may generate a multi-plane image file by adding a plurality of pieces of imaging information regarding each of the plurality of high-compression image data.

上記の撮像装置において、さらに、撮像装置の外周面に画像を表示する表示器と、多面画像データから個々の高圧縮画像データを識別する個別識別部と、個別識別部が識別した高圧縮画像データを個別に表示器に表示させる表示出力部とを備えてもよい。   In the above imaging apparatus, the display further displays an image on the outer peripheral surface of the imaging apparatus, the individual identification unit for identifying individual high compression image data from the multi-plane image data, and the high compression image data identified by the individual identification unit May be provided with a display output unit for individually displaying on the display.

上記の撮像装置において、さらに、多面画像データから個々の高圧縮画像データを識別する個別識別部と、個別識別部が識別した高圧縮画像データを含む独立した画像ファイルを生成する部分画像ファイル生成部とを備えてもよい。   In the above imaging device, an individual identification unit that identifies individual high-compression image data from multi-plane image data, and a partial image file generation unit that generates an independent image file including the high-compression image data identified by the individual identification unit And may be provided.

上記の撮像装置において、多面画像ファイル生成部は記録部の空き容量が所定値以下となったときに多面画像ファイルを生成し、削除部が通常の画像ファイルを削除する所定のタイミングは、多面画像ファイル生成部が多面画像ファイルを生成したときであってもよい。   In the above imaging apparatus, the multi-plane image file generation unit generates a multi-plane image file when the free space of the recording unit becomes a predetermined value or less, and the predetermined timing at which the deletion unit deletes the normal image file is a multi-plane image. It may be when the file generation unit generates a multi-sided image file.

上記の撮像装置において、削除部が通常の画像ファイルを削除する所定のタイミングは、記録部の空き容量が所定値以下となったときであってもよい。   In the imaging apparatus described above, the predetermined timing at which the deletion unit deletes the normal image file may be when the free space of the recording unit becomes a predetermined value or less.

本発明によれば、使用者に煩雑な操作を要求することなく、また画像を失うことなく、飛躍的に記録可能枚数を増大させることができる。   According to the present invention, it is possible to dramatically increase the number of recordable sheets without requiring a complicated operation from the user and without losing an image.

デジタルカメラの概略構成を説明する図である。It is a figure explaining schematic structure of a digital camera. 高圧縮部による画像処理を説明する図である。It is a figure explaining the image processing by a high compression part. 多面画像ファイルの表示および分割を説明する図である。It is a figure explaining the display and division | segmentation of a multi-sided image file. 多面画像データからの高圧縮画像データの削除を説明する図である。It is a figure explaining deletion of the highly compressed image data from multi-plane image data. 第1実施形態における基準例1に基づく動作を説明するフローチャートである。It is a flowchart explaining the operation | movement based on the reference example 1 in 1st Embodiment. 使用者に対する警告の画面例を説明する図である。It is a figure explaining the example of a warning screen with respect to a user. 第1実施形態における基準例1に基づく動作をさらに説明する図である。It is a figure which further demonstrates the operation | movement based on the reference example 1 in 1st Embodiment. 第1実施形態における他の基準例について説明する図である。It is a figure explaining other reference examples in a 1st embodiment. 第2実施形態における基準例1に基づく動作を説明するフローチャートである。It is a flowchart explaining the operation | movement based on the reference example 1 in 2nd Embodiment. 第2実施形態における画像ファイルの生成を説明する図である。It is a figure explaining the production | generation of the image file in 2nd Embodiment. 第2実施形態における他の基準例について説明する図である。It is a figure explaining the other reference example in 2nd Embodiment.

[第1実施形態]
以下に添付図面を参照しながら、本発明の第1実施形態について詳細に説明する。かかる実施形態に示す装置や画像の種類、データフォーマット、その他具体的な数値などは、発明の理解を容易とするための例示に過ぎず、特に断る場合を除き、本発明を限定するものではない。なお、本明細書及び図面において、実質的に同一の機能、構成を有する要素については、同一の符号を付することにより重複説明を省略し、また本発明に直接関係のない要素は図示を省略する。
[First Embodiment]
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the accompanying drawings. The devices, image types, data formats, and other specific numerical values shown in the embodiments are merely examples for facilitating understanding of the invention, and do not limit the present invention unless otherwise specified. . In the present specification and drawings, elements having substantially the same function and configuration are denoted by the same reference numerals, and redundant description is omitted, and elements not directly related to the present invention are not illustrated. To do.

本実施形態においては、撮像装置の例として電子カメラ(デジタルカメラ)を用いて説明する。図1はデジタルカメラ10の概略構成を説明する図である。デジタルカメラ10は、メインバス100、制御部102、操作部104、撮影レンズ106、撮像素子108、撮像部110、表示器112、バッファメモリ114、表示出力部116、情報生成部120、設定入力部122、画像処理部124、通常ファイル生成部126、高圧縮部128、多面画像ファイル生成部130、個別識別部132、部分画像ファイル生成部134、記録部140、削除部144、外部インターフェース146を備えている。   In the present embodiment, an electronic camera (digital camera) will be described as an example of an imaging device. FIG. 1 is a diagram illustrating a schematic configuration of the digital camera 10. The digital camera 10 includes a main bus 100, a control unit 102, an operation unit 104, a photographing lens 106, an imaging element 108, an imaging unit 110, a display 112, a buffer memory 114, a display output unit 116, an information generation unit 120, and a setting input unit. 122, an image processing unit 124, a normal file generation unit 126, a high compression unit 128, a multi-plane image file generation unit 130, an individual identification unit 132, a partial image file generation unit 134, a recording unit 140, a deletion unit 144, and an external interface 146. ing.

メインバス100は、他の各部を相互に接続し、制御信号やデータを伝達する。   The main bus 100 connects other units to each other and transmits control signals and data.

制御部102は、デジタルカメラ10の各部を統括的に制御(シーケンス管理)する。制御部102は、演算処理を行うCPU(Central Processing Unit)、プログラム動作領域としてのRAM(Random Access Memory)、プログラムや設定などが記憶されるROM(Read Only Memory)などを有している。   The control unit 102 comprehensively controls (sequence management) each unit of the digital camera 10. The control unit 102 includes a CPU (Central Processing Unit) that performs arithmetic processing, a RAM (Random Access Memory) as a program operation area, a ROM (Read Only Memory) that stores programs, settings, and the like.

操作部104は不図示のボタンや十字キー、ダイヤル、タッチパネルなどから構成され、各種操作を行ったり、設定を入力したりすることができる。   The operation unit 104 includes buttons (not shown), a cross key, a dial, a touch panel, and the like, and can perform various operations and input settings.

撮影レンズ106は、撮像素子108の撮像面に被写体の像を結像させる。撮像素子108は複数の光電変換素子を配列したCCDセンサ(Charge Coupled Device)やCMOSセンサ(Complementary Metal Oxide Semiconductor)で構成され、光を電気信号に変換する。   The photographing lens 106 forms an image of a subject on the imaging surface of the imaging element 108. The image sensor 108 includes a CCD sensor (Charge Coupled Device) or a CMOS sensor (Complementary Metal Oxide Semiconductor) in which a plurality of photoelectric conversion elements are arranged, and converts light into an electrical signal.

撮像部110は、被写体を撮像して原画像データを出力する。撮像部110はCDS(相関二重サンプリング)回路、AGC(オートゲインコントロール)回路およびADC(アナログ・デジタル変換回路)、タイミングジェネレータを含んで構成されている。各回路には、タイミングジェネレータからのタイミング信号がそれぞれ供給される。CDS回路は画像信号の低周波ノイズ低減処理を行う。AGC回路はゲインを調整することにより撮像信号のレベル調整を行う。ADC回路はアナログ信号を離散化してデジタル信号に変換し、画像データとして出力する。   The imaging unit 110 images a subject and outputs original image data. The imaging unit 110 includes a CDS (correlated double sampling) circuit, an AGC (auto gain control) circuit, an ADC (analog / digital conversion circuit), and a timing generator. Each circuit is supplied with a timing signal from a timing generator. The CDS circuit performs low frequency noise reduction processing of the image signal. The AGC circuit adjusts the level of the imaging signal by adjusting the gain. The ADC circuit discretizes the analog signal, converts it into a digital signal, and outputs it as image data.

表示器112は、画像や設定状態をデジタルカメラ10の外周面に表示するものであり、液晶や有機ELパネルなどで構成される。表示器112は、画像を撮影する前にプレビュー画像を表示し、画像を撮影した直後にポストビュー画像を表示し、また操作部104からの操作によって記録部140等に記録された画像データを読み出して表示することができる。   The display 112 displays an image and a setting state on the outer peripheral surface of the digital camera 10, and is configured by a liquid crystal, an organic EL panel, or the like. The display unit 112 displays a preview image before capturing an image, displays a postview image immediately after capturing an image, and reads out image data recorded in the recording unit 140 or the like by an operation from the operation unit 104. Can be displayed.

バッファメモリ114は、撮像部110が出力した原画像データを一時的に記憶し、また画像処理部124等が補正処理や変換を行っている途中の画像データを保持する。バッファメモリ114は高速なRAMで構成することができる。   The buffer memory 114 temporarily stores the original image data output from the imaging unit 110, and holds image data that is being corrected or converted by the image processing unit 124 or the like. The buffer memory 114 can be composed of a high-speed RAM.

表示出力部116は、画像処理部124が処理した画像や、制御部102が記録部140から読み出した画像などを、表示器112に出力して表示させる。このとき、画像を個別に表示させたり、複数枚の画像をタイル表示させたり、拡大して部分的に表示させたりする。また画像とあわせて、その画像について記録されているメタデータを表示することも可能である。また表示出力部116は、制御部102からの情報に基づいてメニュー画面や操作画面を表示させたり、設定入力部122からの情報に基づいて設定画面などを表示させたりする。さらに本実施形態では、後述するように、個別識別部132が識別した高圧縮画像データを個別に表示器112に表示させる。   The display output unit 116 outputs and displays the image processed by the image processing unit 124, the image read out from the recording unit 140 by the control unit 102, and the like on the display unit 112. At this time, images are individually displayed, a plurality of images are tiled, or enlarged and partially displayed. It is also possible to display metadata recorded for the image together with the image. The display output unit 116 displays a menu screen and an operation screen based on information from the control unit 102, and displays a setting screen based on information from the setting input unit 122. Further, in the present embodiment, as will be described later, the highly compressed image data identified by the individual identifying unit 132 is individually displayed on the display unit 112.

情報生成部120は、画像データの撮像情報を複数項目含むメタデータを生成する。メタデータは、実体データである画像データに関する事項を格納し、画像データと同一のファイルに保存するデータである。本実施形態にかかるデジタルカメラ10では、画像データの形式やフォルダ構造などに、DCF(Design rule of Camera File System)規格に則ったデータ構造を用いており、メタデータとしてExif(Exchangeable Image File)タグが用いられている。撮像情報としては、例えばデジタルカメラのメーカー名(Make)やモデル名(Model)、撮像日時情報(Date Time Original)、画像の説明(Image Description)、使用者コメント(user Comment)、メーカーノート(Maker Note)などが含まれる。   The information generation unit 120 generates metadata including a plurality of items of imaging information of image data. The metadata is data stored in the same file as the image data, storing matters relating to the image data that is the entity data. In the digital camera 10 according to the present embodiment, the data structure conforming to the DCF (Design Rule of Camera File System) standard is used for the format and folder structure of the image data, and the Exif (Exchangeable Image File) tag is used as metadata. Is used. Examples of imaging information include digital camera manufacturer name (Make) and model name (Model), imaging date and time information (Date Time Original), image description (Image Description), user comment (User Comment), manufacturer note (Maker) Note) etc. are included.

設定入力部122は、操作部104の操作によって、各種設定を入力する。例えば、特定の画像に対する削除禁止の設定や、後述する画像圧縮の圧縮率等の設定およびメタデータに含める情報の入力を受け付ける。   The setting input unit 122 inputs various settings by operating the operation unit 104. For example, a setting for prohibiting deletion of a specific image, a setting such as a compression ratio of image compression described later, and input of information to be included in metadata are accepted.

画像処理部124は、撮像部110から出力された原画像データを処理する回路であって、例えばASICとして構成される。画像処理部124は、入力された原画像データに対してγ補正やホワイトバランス補正、コントラスト補正等の画像処理を行うとともに、RGBの原画像データを輝度信号と色差信号とに対応するYCbCrの色空間に変換するYC変換処理を行う。   The image processing unit 124 is a circuit that processes the original image data output from the imaging unit 110, and is configured as an ASIC, for example. The image processing unit 124 performs image processing such as γ correction, white balance correction, and contrast correction on the input original image data, and converts the RGB original image data into YCbCr color corresponding to the luminance signal and the color difference signal. A YC conversion process for converting into space is performed.

通常ファイル生成部126は、画像処理部124によって画像処理がされた原画像データを非圧縮のまま、または所定のフォーマットに圧縮して通常の画像データ(以下、単に「通常画像データ」と記載する)を生成する。また、通常ファイル生成部126は、通常画像データおよび情報生成部120が生成したメタデータを含む通常の画像ファイル(以下、単に「通常画像ファイル」と記載する)を生成し、記録部140に記録する。   The normal file generation unit 126 stores the original image data that has been subjected to the image processing by the image processing unit 124 in the uncompressed state or compressed into a predetermined format (hereinafter simply referred to as “normal image data”). ) Is generated. The normal file generation unit 126 generates a normal image file including the normal image data and the metadata generated by the information generation unit 120 (hereinafter simply referred to as “normal image file”), and records it in the recording unit 140. To do.

高圧縮部128は、画像データを、通常ファイル生成部126が生成した通常画像データよりも、さらに小さいデータ容量に縮小または圧縮して高圧縮画像データを生成する。処理の内容としては、データ容量を小さくするものであればよく、縮小(画像データのピクセル数を少なくする処理)であってもよいし、圧縮(圧縮率の変更や、フォーマットの変更、アルゴリズムの変更、減色、カラースペースの変更を含む)であってもよいし、またこれらを組み合わせてもよい。処理の対象となる画像データは、撮像部110から出力された原画像データであってもよいし、既に記録部140に記録されている画像ファイルに含まれる通常画像データであってもよい。さらには、既に高圧縮部128が処理を行った画像データ(後述する多面画像データ)を、さらに縮小または圧縮(以下、「多段圧縮」と称する)して高圧縮画像データを生成することもできる。   The high compression unit 128 reduces or compresses the image data to a smaller data capacity than the normal image data generated by the normal file generation unit 126 to generate high compression image data. The content of the process may be anything that reduces the data capacity, may be reduced (a process that reduces the number of pixels in the image data), or may be compressed (change in compression rate, format change, algorithm Change, color reduction, and color space change), or a combination thereof. The image data to be processed may be original image data output from the imaging unit 110, or normal image data included in an image file already recorded in the recording unit 140. Furthermore, the image data (multi-plane image data described later) that has already been processed by the high compression unit 128 can be further reduced or compressed (hereinafter referred to as “multi-stage compression”) to generate high-compression image data. .

図2は高圧縮部128による画像処理を説明する図である。本実施形態において高圧縮部128は、画像の縮小を行うことによってデータ容量を小さくする。なお、図2に示す各画像のコマ数およびピクセル数の記載は例示に過ぎず、これに限定するものではない。縮小する場合のピクセル数は、使用者により変更が可能であることが好ましい。   FIG. 2 is a diagram for explaining image processing by the high compression unit 128. In the present embodiment, the high compression unit 128 reduces the data capacity by reducing the image. The description of the number of frames and the number of pixels in each image shown in FIG. 2 is merely an example, and the present invention is not limited to this. It is preferable that the number of pixels for reduction can be changed by the user.

図2(a)に例示するように、高圧縮部128は、通常画像データ(3200×2400ピクセル)をさらに小さいデータ容量に縮小または圧縮して、高圧縮画像データ(320×240ピクセル)を生成することができる。この場合において、高圧縮画像データ(320×240ピクセル)は通常画像データ(3200×2400ピクセル)に対してピクセル数が1/100となり、ピクセル数の削減によりデータ容量も削減される。   As illustrated in FIG. 2A, the high compression unit 128 generates high-compressed image data (320 × 240 pixels) by reducing or compressing normal image data (3200 × 2400 pixels) to a smaller data capacity. can do. In this case, the number of pixels of the highly compressed image data (320 × 240 pixels) is 1/100 that of the normal image data (3200 × 2400 pixels), and the data capacity is reduced by reducing the number of pixels.

多面画像ファイル生成部130は、高圧縮部128が生成した複数の高圧縮画像データを縦横に連結して多面画像データを生成し、生成した多面画像データを含む多面画像ファイルを生成して記録部140に記録する。図2(b)では、高圧縮画像データ(320×240ピクセル)を縦横に10コマずつ配列し、合計100コマの画像を含む1つの多面画像データ(3200×2400ピクセル)を生成している。なお、多面画像ファイル生成部130は、処理対象である複数の高圧縮画像データに含まれていたメタデータの全部または一部を多面画像ファイルに含ませることができる。   A multi-sided image file generation unit 130 generates a multi-sided image data by connecting a plurality of high-compression image data generated by the high-compression unit 128 vertically and horizontally, generates a multi-sided image file including the generated multi-sided image data, and a recording unit 140. In FIG. 2B, 10 frames of high-compressed image data (320 × 240 pixels) are arranged vertically and horizontally to generate one multi-plane image data (3200 × 2400 pixels) including a total of 100 frames. Note that the multi-sided image file generation unit 130 can include all or part of the metadata included in the plurality of high-compression image data to be processed in the multi-sided image file.

さらに本実施形態では、図2(c)に例示するように、高圧縮部128は、多面画像ファイルに含まれる多面画像データ(3200×2400ピクセル)から、多段圧縮によってさらに小さいデータ容量の多面画像データ(1600×1200ピクセル)を生成する。そして多面画像ファイル生成部130は、多段圧縮した多面画像データ(1600×1200ピクセル)を4コマ連結して1つの多面画像データ(3200×2400ピクセル)を生成している。この例であれば、多段圧縮により多面画像ファイルのデータ容量を大幅に(約1/4に)圧縮することができる。   Furthermore, in this embodiment, as illustrated in FIG. 2C, the high compression unit 128 uses a multi-plane image having a smaller data capacity by multi-stage compression from multi-plane image data (3200 × 2400 pixels) included in the multi-plane image file. Data (1600 × 1200 pixels) is generated. Then, the multi-plane image file generation unit 130 concatenates four frames of multi-plane compressed multi-plane image data (1600 × 1200 pixels) to generate one multi-plane image data (3200 × 2400 pixels). In this example, the data capacity of a multi-sided image file can be greatly (approximately ¼) compressed by multistage compression.

なお、何十コマ以上もの通常画像ファイルを縮小および圧縮し、縦横に連結して多面画像データおよび多面画像ファイルを生成する処理には相当な時間を要するおそれがある。そこで、高圧縮部128および多面画像ファイル生成部130の動作は、バックグラウンドで実行することが望ましい。このとき、記録部140が着脱可能な記録媒体である場合には、アクセスランプ等を表示させて、使用者が記録媒体を抜き取ってしまわないように注意を促すことが好ましい。   Note that it may take a considerable amount of time to process normal image files of dozens of frames or more by reducing and compressing them and connecting them vertically and horizontally to generate multi-face image data and multi-face image files. Therefore, it is desirable to execute the operations of the high compression unit 128 and the multi-plane image file generation unit 130 in the background. At this time, when the recording unit 140 is a detachable recording medium, it is preferable to display an access lamp or the like to urge the user not to remove the recording medium.

個別識別部132は、多面画像ファイルから個々の高圧縮画像データを識別する。図3は多面画像ファイルの表示および分割を説明する図である。生成した多面画像ファイルは複数の高圧縮画像データが縦横に連結した1つの画像ファイルであるが、個別識別部132が個々の高圧縮画像データを識別することにより、個別の画像として表示またはファイル出力することを可能としている。   The individual identification unit 132 identifies individual highly compressed image data from the multi-sided image file. FIG. 3 is a diagram for explaining display and division of a multi-sided image file. The generated multi-plane image file is a single image file in which a plurality of high-compression image data is connected in the vertical and horizontal directions. The individual identification unit 132 identifies individual high-compression image data to display or output as individual images. It is possible to do.

個別識別部132が高圧縮画像を識別する方法として、それぞれの高圧縮画像データをシーケンシャルに配列し、各画像データの末尾にアンカー(データの終端を示すコード)を埋め込み、アンカーごとに個々の高圧縮画像データを識別することができる。また多面画像ファイルのメタデータに各高圧縮画像データのアドレス情報を含めておいてもよい。また、1つの多面画像ファイルに含む高圧縮画像データのピクセル数を一定とし、所定のフォーマットで圧縮されている多面画像ファイルを非圧縮画像に展開した状態で領域を切り分けることにより各高圧縮画像データを識別してもよい。   As a method for the individual identification unit 132 to identify the high-compressed image, the respective high-compressed image data are sequentially arranged, and an anchor (a code indicating the end of the data) is embedded at the end of each image data. Compressed image data can be identified. Further, the address information of each highly compressed image data may be included in the metadata of the multifaceted image file. Also, each high-compressed image data can be obtained by dividing the area in a state where the number of pixels of the high-compressed image data included in one multi-faceted image file is constant and the multi-faceted image file compressed in a predetermined format is expanded into an uncompressed image. May be identified.

そして上述の表示出力部116は、個別識別部132が識別した高圧縮画像データを個別の画像として取り扱い、表示器112に個別に表示させたり、複数枚の画像をタイル表示させたりする。これにより使用者にとっては、現在閲覧している画像が多面画像ファイルに含まれているのか通常画像ファイルに含まれているのかを意識する必要はない。このとき、表示器112には、各高圧縮画像データのメタデータを表示することも可能である。   The display output unit 116 described above handles the high-compression image data identified by the individual identification unit 132 as an individual image, and displays the image on the display unit 112 or displays a plurality of images in tile form. As a result, the user does not need to be aware of whether the currently browsed image is included in the multi-face image file or the normal image file. At this time, it is also possible to display the metadata of each highly compressed image data on the display unit 112.

また部分画像ファイル生成部134は、個別識別部132が識別した高圧縮画像データを、再び独立した画像ファイルとして生成する。部分画像ファイル生成部134は、使用者による操作部104の操作に応じて、使用者が選択した高圧縮画像データを含む画像ファイルを生成する。これにより、多面画像ファイルにのみ含まれている画像であっても、通常画像ファイルとほぼ同様に取り扱うことができる。   The partial image file generation unit 134 generates the high-compression image data identified by the individual identification unit 132 again as an independent image file. The partial image file generation unit 134 generates an image file including the highly compressed image data selected by the user in accordance with the operation of the operation unit 104 by the user. Thereby, even an image included only in a multi-faceted image file can be handled in substantially the same manner as a normal image file.

記録部140は、生成された画像ファイル(通常画像ファイルおよび多面画像ファイル)を記録する。記録媒体としては、例えば内蔵式(固定式)であれば、フラッシュメモリ等の追記可能なメモリや小型ハードディスク、フレキシブルディスク、光ディスク、光磁気ディスク等を用いることができる。なお、記録部140として、着脱式(交換式)の外部メモリ(Removable Memory)を用いることも可能である。   The recording unit 140 records the generated image file (normal image file and multi-sided image file). As the recording medium, for example, a built-in type (fixed type), a recordable memory such as a flash memory, a small hard disk, a flexible disk, an optical disk, a magneto-optical disk, or the like can be used. As the recording unit 140, a detachable (replaceable) external memory (Removable Memory) can be used.

削除部144は、記録部140に記録した画像ファイルの一部または全部を削除する。削除部144は、使用者による操作部104の操作に応じて削除を行うこともできるが、後述するように、所定の基準によるタイミングで自動的に削除を行うことができる。   The deletion unit 144 deletes part or all of the image file recorded in the recording unit 140. The deletion unit 144 can perform deletion according to the operation of the operation unit 104 by the user, but can automatically perform deletion at a timing based on a predetermined reference, as will be described later.

なお、通常画像ファイルのメタデータには、ファイルの削除を禁止するフラグを記録可能とすることが好ましい。具体例としては、画像を閲覧する動作において、削除の操作と同様に、削除禁止フラグを付する操作を入力される削除禁止設定部(不図示)を設ける。すなわち、ユーザーが削除禁止設定部を操作することによって、制御部102は、記録部140に記録された通常画像ファイルのメタデータに削除禁止フラグを記録する。そして削除部144は、削除禁止フラグを付された通常画像ファイルを削除しない。これにより、特に大切な画像を高画質のままで残しておきたいという使用者の便宜に期することができる。   In addition, it is preferable that a flag prohibiting file deletion can be recorded in the metadata of the normal image file. As a specific example, a deletion prohibition setting unit (not shown) for inputting an operation for attaching a deletion prohibition flag is provided in the operation of browsing an image, as in the deletion operation. That is, when the user operates the deletion prohibition setting unit, the control unit 102 records the deletion prohibition flag in the metadata of the normal image file recorded in the recording unit 140. Then, the deletion unit 144 does not delete the normal image file with the deletion prohibition flag. Thus, it is possible for the convenience of the user to leave a particularly important image with high image quality.

ただし、使用者に自由に削除禁止フラグを許すとすると、極端な場合は全ての撮影した画像ファイルに削除禁止フラグを設定され、本発明の目的である記録可能枚数の増大をはかれなくなってしまうおそれがある。そこで削除禁止設定部において、削除を禁止できる画像ファイルの枚数または総ファイル容量を制限可能とする。これにより、記録可能枚数の増大と高画質の維持の両立を図ることができる。   However, if the user is allowed to set the deletion prohibition flag freely, in an extreme case, the deletion prohibition flag is set for all photographed image files, and the increase in the recordable number, which is the object of the present invention, will not be prevented. There is a fear. Therefore, the deletion prohibition setting unit can limit the number of image files or the total file capacity that can be prohibited from being deleted. As a result, it is possible to increase both the number of recordable sheets and maintain high image quality.

また削除部144は、多面画像データから、個々の高圧縮画像データを削除する。図4は、多面画像データからの高圧縮画像データの削除を説明する図である。例えば、多面画像データに含まれる高圧縮画像データが不要である場合、削除を行うことで個別表示やタイル表示の対象から除外することができる。その場合、図4(a)に示すように、メタデータにその高圧縮画像データが削除されたことを示すフラグを記録して管理することができる(図では削除アイコンで示している)。またさらに、のちに閲覧されてしまうことを確実に防止するために、図4(b)に示すように高圧縮画像データを単色で塗りつぶすことが好ましい。   The deletion unit 144 deletes individual high-compression image data from the multi-plane image data. FIG. 4 is a diagram for explaining deletion of high-compression image data from multi-plane image data. For example, when the highly compressed image data included in the multi-plane image data is unnecessary, it can be excluded from the individual display and tile display targets by performing deletion. In this case, as shown in FIG. 4A, a flag indicating that the highly compressed image data has been deleted can be recorded and managed in the metadata (indicated by a deletion icon in the figure). Furthermore, in order to reliably prevent browsing later, it is preferable to fill the high-compression image data with a single color as shown in FIG.

外部インターフェース146は、有線通信または無線通信を介してコンピュータなどの外部装置148に接続される。外部インターフェース146は、USB(Universal Serial Bus)やIEEE802.11x、IEEE1394、シリアル通信などの既存の通信規格を利用することができる。そして使用者による操作部104の操作により、または外部装置148を接続したことを契機として、外部インターフェース146が記録部140に記録されている画像ファイルを外部装置148に転送し、削除部144が記録部140から画像ファイルを削除してその空き容量を回復させることができる。   The external interface 146 is connected to an external device 148 such as a computer via wired communication or wireless communication. The external interface 146 can use existing communication standards such as USB (Universal Serial Bus), IEEE 802.11x, IEEE 1394, and serial communication. Then, when the user operates the operation unit 104 or when the external device 148 is connected, the external interface 146 transfers the image file recorded in the recording unit 140 to the external device 148, and the deletion unit 144 records it. The image file can be deleted from the unit 140 to recover its free space.

ところで、外部装置148を利用すれば記録部140の空き容量を回復させられるとしても、すべての使用者が必ずしも外部装置148を取り扱えるとは限らない。また消去のために過去に撮影した大量の画像の要不要を判断するのも現実的ではない。そこで本実施形態では、所定のタイミングで上述の多面画像ファイルを生成し、処理対象たる元の画像ファイルを削除して空き容量を確保する。   By the way, even if the free capacity of the recording unit 140 can be recovered by using the external device 148, not all users can always handle the external device 148. It is also not realistic to determine whether a large number of images taken in the past for erasing are necessary. Therefore, in the present embodiment, the above-described multi-faceted image file is generated at a predetermined timing, and the original image file to be processed is deleted to ensure free space.

図5は、第1実施形態における基準例1に基づく動作を説明するフローチャートである。制御部102は、所定のプログラムを実行することにより、図5に示す処理を施す(または、各処理を施すように各部を制御する。)。基準例1では、所定のタイミングを得るための基準として空き容量を用いている。   FIG. 5 is a flowchart for explaining the operation based on the reference example 1 in the first embodiment. The control unit 102 executes the process shown in FIG. 5 by executing a predetermined program (or controls each unit to perform each process). In the reference example 1, the free space is used as a reference for obtaining a predetermined timing.

図5に示すように、S102において通常ファイル生成部126は、撮像部110が出力して画像処理部124によって所定の処理が施された原画像データを取得する。   As illustrated in FIG. 5, in S <b> 102, the normal file generation unit 126 acquires original image data output from the imaging unit 110 and subjected to predetermined processing by the image processing unit 124.

S104において通常ファイル生成部126は、取得した原画像データを非圧縮、または所定のフォーマットに圧縮して通常画像データを生成する。次に、S108において通常ファイル生成部126は、通常画像データに情報生成部120が生成したメタデータを付加して通常画像ファイルを生成する。そして、S110において記録部140は、通常ファイル生成部126が生成した通常画像ファイルを記録する。   In S104, the normal file generation unit 126 generates normal image data by compressing the acquired original image data uncompressed or in a predetermined format. Next, in S108, the normal file generation unit 126 generates a normal image file by adding the metadata generated by the information generation unit 120 to the normal image data. In step S110, the recording unit 140 records the normal image file generated by the normal file generation unit 126.

ここで、撮影により生成された画像ファイルの記録可能枚数は、記録媒体の容量に左右されるだけでなく、撮影した画像ファイルの画像の大きさおよび圧縮率の影響を受ける。つまり、画像が大きく画質が高いほど記録可能枚数は少なくなってしまう。そこで第1実施形態にかかる基準例1では、記録部140の空き容量が所定値以下になったタイミングで、複数の通常画像ファイルをさらに小さいデータ容量に縮小または圧縮して1つの多面画像ファイルとしてまとめ、元の通常画像ファイルを削除する。   Here, the recordable number of image files generated by shooting is not only influenced by the capacity of the recording medium, but also influenced by the size and compression rate of the image of the shot image file. That is, the larger the image and the higher the image quality, the smaller the number of recordable images. Therefore, in the first reference example according to the first embodiment, at the timing when the free space of the recording unit 140 becomes a predetermined value or less, a plurality of normal image files are reduced or compressed to a smaller data capacity as one multi-plane image file. In summary, delete the original normal image file.

S112において制御部102は、記録部140の空き容量が所定値以下か否かを判断する。制御部102は、記録部140の空き容量が所定値を超えていると判断した場合は(S112のNO)、以下の処理を行うことなく一連の処理を終了する。   In S112, the control unit 102 determines whether the free space of the recording unit 140 is equal to or less than a predetermined value. When the control unit 102 determines that the free space of the recording unit 140 exceeds the predetermined value (NO in S112), the control unit 102 ends the series of processes without performing the following processes.

一方、S112において制御部102は、記録部140の空き容量が所定値以下であると判断した場合は(S112のYES)、S114においてさらに多段圧縮が必要か否かを判断する。なお多段圧縮が必要か否かは、後に詳述するように、第1実施形態にかかる基準例1では空き容量を用いて判断する(図7参照)。多段圧縮は、上述のように、既に高圧縮部128が生成した多面画像データをさらに縮小または圧縮する処理である。S114において制御部102は、多段圧縮は必要ないと判断した場合は(S114のNO)、まずS116において使用者に対して圧縮を行う旨の警告を表示器112から行う。   On the other hand, if the control unit 102 determines in S112 that the free capacity of the recording unit 140 is equal to or less than the predetermined value (YES in S112), it determines whether or not multistage compression is necessary in S114. Whether or not multi-stage compression is necessary is determined using the free capacity in the reference example 1 according to the first embodiment (see FIG. 7). As described above, multistage compression is a process of further reducing or compressing multi-plane image data already generated by the high compression unit 128. If the control unit 102 determines in step S114 that multistage compression is not necessary (NO in step S114), the control unit 102 first gives a warning to the user from the display unit 112 in step S116.

図6は、使用者に対する警告の画面例を説明する図である。図6に示すように、警告は、使用者に対して記録部140に記録されている通常画像ファイルに圧縮等が施されることを告知するためのものである。警告では、圧縮等の対象となる通常画像ファイル(撮影日時の範囲や、連番となっているファイル名の範囲によって表現する)の他にも、圧縮等によって確保できる空き容量等の情報を告知できる。   FIG. 6 is a diagram illustrating an example of a warning screen for the user. As shown in FIG. 6, the warning is for notifying the user that the normal image file recorded in the recording unit 140 is compressed. In the warning, in addition to the normal image file to be compressed (expressed by the shooting date range and the range of sequential file names), information such as free space that can be secured by compression etc. is announced it can.

次にS118において高圧縮部128は、通常画像ファイルに含まれている通常画像データから高圧縮画像データを生成する。このとき、高圧縮画像データは、撮影日時が古い元の通常画像データから順に生成してもよい。   In step S118, the high compression unit 128 generates high compression image data from the normal image data included in the normal image file. At this time, the highly compressed image data may be generated in order from the original normal image data with the oldest shooting date and time.

そして、S120において多面画像ファイル生成部130は、高圧縮部128が生成した複数の高圧縮画像データを縦横に連結して1つの多面画像データを生成する。そして、S122において多面画像ファイル生成部130は、生成した多面画像データを含む多面画像ファイルを生成する。   In step S120, the multi-sided image file generation unit 130 generates a single multi-sided image data by connecting the plurality of high-compression image data generated by the high-compression unit 128 vertically and horizontally. In step S122, the multi-sided image file generation unit 130 generates a multi-sided image file including the generated multi-sided image data.

次に、S124において記録部140は、多面画像ファイル生成部130が生成した多面画像ファイルを記録する。そして、S126において削除部144は、高圧縮部128が処理した元の通常画像ファイル(100ファイル)を削除する。このようにして記録部140は、通常画像ファイル100枚と多面画像ファイル1枚のデータ容量の差分に相当する空き容量が増大される。   Next, in S124, the recording unit 140 records the multi-sided image file generated by the multi-sided image file generating unit 130. In S126, the deletion unit 144 deletes the original normal image file (100 files) processed by the high compression unit 128. In this way, the recording unit 140 increases the free space corresponding to the difference in data capacity between 100 normal image files and one multi-face image file.

なお、高圧縮部128が生成した高圧縮画像データは既にデータ容量が小さいのであるから、多面画像ファイルを生成せずに、多数の小さなファイルを記録部140に記録してもよい。ただしファイルシステムとして広く汎用されているファイルアロケーションテーブルを利用する場合には、セクタの先頭にファイルの先頭がくる必要があるため、多数の小さなファイルに分かれていると記録部140上のデータ配置に無駄が生じ、見かけ上の使用量が増えてしまう。このため、1つの多面画像ファイルにまとめていた方が、より効果的に記録部140の空き容量を回復させることができる。   Note that since the high-compression image data generated by the high-compression unit 128 has a small data capacity, a large number of small files may be recorded in the recording unit 140 without generating a multi-plane image file. However, when using a file allocation table that is widely used as a file system, it is necessary for the head of the file to be at the head of the sector. Waste is generated and apparent usage increases. For this reason, it is possible to recover the free space of the recording unit 140 more effectively by combining them into one multi-sided image file.

また、多数の小さなファイルを記録部140に記録した場合には、表示のために画像ファイルを読み出す際には、必然的に個別に読み出すことになる。ここで記録部140がハードディスクである場合には、多数のファイルにアクセスするためにヘッドシークが頻繁に生じ、処理時間および消費電力の増大を招くおそれがある。また記録部140が駆動機構を有しないフラッシュROMなどのシリコン媒体である場合においても、ファイルを開いてからメタデータを処理する一連のシーケンスを、ファイルの数だけ繰り返さなくてはならない。これに対し多面画像ファイルにまとめておくことにより、大きなヘッドシークを極めて少なくすることができると共に、メタデータをまとめて読み込むことができるためにファイル処理のシーケンスも実行回数を激減させることができる。すなわち、多数の高圧縮画像データを多面画像ファイルにまとめて記録しておくことにより、記録容量の削減と、処理の高速化の両方を図ることができる。   In addition, when a large number of small files are recorded in the recording unit 140, the image files are necessarily read out individually when reading out the image files for display. Here, when the recording unit 140 is a hard disk, head seek frequently occurs to access a large number of files, which may increase processing time and power consumption. Even when the recording unit 140 is a silicon medium such as a flash ROM that does not have a drive mechanism, a series of sequences for processing metadata after opening the file must be repeated for the number of files. On the other hand, by collecting them in a multi-faceted image file, a large head seek can be extremely reduced, and the metadata can be read collectively, so that the number of executions of the file processing sequence can be drastically reduced. That is, by recording a large number of highly compressed image data together in a multi-faceted image file, it is possible to reduce both the recording capacity and the processing speed.

一方、S114において制御部102は、多段圧縮が必要であると判断した場合(S114のYES)、まずS130において使用者に対して警告を表示器112から行う。この警告は、使用者に対して、記録部140に既に記録されている多面画像ファイルを、さらに圧縮することを告知するものである。   On the other hand, if the control unit 102 determines in S114 that multi-stage compression is necessary (YES in S114), the control unit 102 first gives a warning to the user from the display unit 112 in S130. This warning notifies the user that the multi-sided image file already recorded in the recording unit 140 is to be further compressed.

次に、S132において高圧縮部128は、記録部140から多面画像ファイルを読み出し、これに含まれる多面画像データをさらに縮小および圧縮する多段圧縮を行う。   Next, in S132, the high compression unit 128 reads the multi-sided image file from the recording unit 140, and performs multi-stage compression that further reduces and compresses the multi-sided image data included therein.

そして、S134において多面画像ファイル生成部130は、高圧縮部128によって多段圧縮した複数の多面画像データを縦横に再度連結して、1つの多面画像データを生成する。次に、S136において多面画像ファイル生成部130は、S134において生成した多面画像データを含む多段圧縮後の多面画像ファイルを生成する。   In S <b> 134, the multi-plane image file generation unit 130 re-connects a plurality of multi-plane image data compressed in multiple stages by the high compression unit 128 vertically and horizontally to generate one multi-plane image data. Next, in S136, the multi-plane image file generation unit 130 generates a multi-plane image file after multi-stage compression including the multi-plane image data generated in S134.

次に、S138において多面画像ファイル生成部130は、多面画像ファイル生成部130がS136において生成した多段圧縮後の多面画像ファイルを記録部140に記録する。そして、S140において削除部144は、高圧縮部128が処理した元の多面画像ファイル(4ファイル)を削除する。このようにして、記録部140の記録可能枚数を多面画像データ(3200×2400ピクセル)3枚分増大させることができた。   Next, in S138, the multi-sided image file generation unit 130 records the multi-sided compressed multi-sided image file generated in S136 by the multi-sided image file generation unit 130 in the recording unit 140. In step S140, the deletion unit 144 deletes the original multi-plane image file (four files) processed by the high compression unit 128. In this way, the number of recordable sheets of the recording unit 140 could be increased by three pieces of multi-surface image data (3200 × 2400 pixels).

図7は第1実施形態における基準例1に基づく動作をさらに説明する図であって、記録部140において使用される容量の推移を示している。   FIG. 7 is a diagram for further explaining the operation based on the reference example 1 in the first embodiment, and shows the transition of the capacity used in the recording unit 140.

図7に示すように、撮影が進行して記録部140の使用容量が増加し、タイミングt11で空き容量が所定値以下になったとする。すると上述のように高圧縮部128が通常画像ファイルを圧縮(または縮小)し、多面画像ファイル生成部130が多面画像ファイルを生成し、削除部144が処理対象となった通常画像ファイルを削除する。一連の処理が完了したタイミングt12では、多面画像ファイルの使用容量がわずかに増加するが、削除した元の通常画像ファイルの分の空き容量が飛躍的に増大(回復)する。また次にタイミングt13において空き容量が所定値以下となると一連の処理を行い、処理が完了したタイミングt14では空き容量が増大する。   As shown in FIG. 7, it is assumed that shooting progresses and the used capacity of the recording unit 140 increases, and the free capacity becomes equal to or less than a predetermined value at timing t11. Then, as described above, the high compression unit 128 compresses (or reduces) the normal image file, the multi-sided image file generation unit 130 generates the multi-sided image file, and the deletion unit 144 deletes the normal image file to be processed. . At the timing t12 when the series of processes is completed, the used capacity of the multi-faceted image file slightly increases, but the free capacity of the deleted original normal image file increases dramatically (recovers). Next, when the free space becomes equal to or less than the predetermined value at timing t13, a series of processing is performed, and the free space increases at timing t14 when the processing is completed.

このようにして記録可能枚数は飛躍的に増大するものの、多面画像ファイルの生成および記録の繰り返しに伴い、多面画像ファイルの分の容量が増え続けていくことから、これだけでは将来的に通常画像ファイルを記録するための容量が失われてしまうことになる。そこで上記のように、多面画像ファイル生成部130が多面画像ファイルを再縮小および再圧縮する多段圧縮を行う。多段圧縮をするタイミングt15は、例えば、通常画像ファイルを記録可能な空き容量(所定値までの空き容量)が、1枚の多面画像ファイルに相当する枚数の通常画像ファイルを記録するサイズに満たなくなったときとすることができる。そして、削除部144が、多段圧縮の元の多面画像ファイルを記録部140から削除するタイミングt16では、空き容量が再び増大する。なお、基準例1における所定値は使用者が任意に設定できる。   Although the number of recordable images increases dramatically in this way, the capacity of the multi-sided image file will continue to increase with the repeated generation and recording of the multi-sided image file. The capacity for recording the data will be lost. Therefore, as described above, the multi-plane image file generation unit 130 performs multi-stage compression for re-reducing and re-compressing the multi-plane image file. At the timing t15 for performing the multistage compression, for example, the free space in which the normal image file can be recorded (the free space up to a predetermined value) is less than the size for recording the number of normal image files corresponding to one multi-sided image file. It can be when. Then, at the timing t16 when the deletion unit 144 deletes the original multi-sided image file of the multistage compression from the recording unit 140, the free space increases again. The predetermined value in the reference example 1 can be arbitrarily set by the user.

なお、上記の例によれば2段階の圧縮(縮小)を行っているが、1段階であってもよいし、3段階以上にしてもよい。また縮小する場合のサイズも適宜選択または設定しうることは上述した通りである。   According to the above example, the compression (reduction) in two stages is performed. In addition, as described above, the size for reduction can be selected or set as appropriate.

上記のように、基準例1に基づく動作によれば、画像を延々と撮り続けても、記録部140の空き容量はおおむね所定値を維持するように推移する。したがって、煩雑な操作を要求することなく、また画像を失うことなく、飛躍的に記録可能枚数を増大させることが可能である。そして、一度縮小および圧縮により記録可能枚数を増大させた後でも、多段圧縮を行うことにより記録可能枚数を再び増大でき、使用者は、実質的に無制限に撮影を行うことが可能となる。また撮影した全ての画像を保持しておくことが可能となるため、デジタルカメラ10のメンテナンス時において、不具合の発生時点を確認することができる。   As described above, according to the operation based on the reference example 1, even if the image is continuously taken, the free space of the recording unit 140 changes so as to maintain a predetermined value. Accordingly, it is possible to dramatically increase the number of recordable sheets without requiring a complicated operation and without losing images. Even after the recordable number of sheets is once increased by reduction and compression, the recordable number of sheets can be increased again by performing multi-stage compression, and the user can perform photographing virtually without limitation. In addition, since all the captured images can be held, it is possible to check the time of occurrence of a problem during maintenance of the digital camera 10.

図8は、第1実施形態における他の基準例について説明する図である。図8(a)は所定のタイミングの基準として記録枚数を用いた基準例2を説明する図、図8(b)は所定のタイミングの基準として経過時間を用いた基準例3を説明する図である。   FIG. 8 is a diagram for explaining another reference example in the first embodiment. FIG. 8A is a diagram for explaining Reference Example 2 using the number of recorded sheets as a reference for a predetermined timing, and FIG. 8B is a diagram for explaining Reference Example 3 using elapsed time as a reference for the predetermined timing. is there.

図8(a)に例示するように、基準例2では、通常画像ファイルとしての記録枚数が増加して所定の枚数に達したタイミングt21で、多面画像ファイルの生成と通常画像ファイルの削除を行う。例えば、記録枚数が200枚に到達したときに、多面画像ファイル生成部130は先に撮影した100枚について多面画像ファイルを生成して記録部140に記録し、削除部144は処理した元の通常画像ファイル(100ファイル)を削除する。一連の処理が完了したタイミングt22では、多面画像ファイル1枚分の使用量が増加し、通常画像ファイル100枚分の使用量が減少するため、差し引きでおおむね通常画像ファイル99枚分の空き容量が増大する。以降、通常画像ファイルが200枚に到達する度に(タイミングt23、t25)、多面画像ファイルの生成と通常画像ファイルの削除を行う(タイミングt24、t26)。   As illustrated in FIG. 8A, in the reference example 2, a multi-sided image file is generated and a normal image file is deleted at a timing t21 when the number of recorded normal image files increases and reaches a predetermined number. . For example, when the number of recordings reaches 200, the multi-sided image file generation unit 130 generates multi-sided image files for the 100 previously captured images and records them in the recording unit 140, and the deletion unit 144 processes the original normal processed Delete the image file (100 files). At the timing t22 when the series of processing is completed, the usage amount for one multi-sided image file is increased and the usage amount for 100 normal image files is decreased. Increase. Thereafter, every time the number of normal image files reaches 200 (timing t23, t25), a multi-face image file is generated and the normal image file is deleted (timing t24, t26).

また、基準例2でも多段圧縮を行うことができる。この場合、多面画像ファイルが増加して所定の枚数に達したタイミングで、多面画像ファイル生成部130が多面画像ファイルを多段圧縮し、削除部144が多段圧縮の元となった多面画像データを含む多面画像ファイルを記録部140から削除することで再び空き容量が増大する。なお、基準例2における多面画像ファイル生成および多段圧縮の基準となる記録枚数は使用者が任意に設定できる。   In the second reference example, multistage compression can be performed. In this case, when the number of multi-sided image files increases and reaches a predetermined number, the multi-sided image file generation unit 130 multi-stages compresses the multi-sided image file, and the deletion unit 144 includes the multi-sided image data that is the source of the multi-stage compression. By deleting the multi-sided image file from the recording unit 140, the free space increases again. It should be noted that the user can arbitrarily set the number of recording sheets used as a reference for generating multi-plane image files and multi-stage compression in Reference Example 2.

図8(b)に示すように、基準例3では、通常画像ファイルを生成し記録してから所定の時間が経過したタイミングで多面画像ファイルの生成と通常画像ファイルの削除を行う。図8(b)では1ヶ月を単位とし、6ヶ月が経過した一ヶ月分の通常画像ファイルを処理対象とする。したがって、デジタルカメラ10の使用開始から6ヶ月間は多面画像ファイルが生成されないが、7ヶ月目には最初の1ヶ月目に撮影した通常画像ファイルについて多面画像ファイル生成部130が多面画像ファイルを生成し、削除部144が削除を行うことで空き容量を増大させることができる。換言すれば、通常画像ファイルの保存期間は6ヵ月ということができる。すなわち、常におおむね6ヶ月分の通常画像ファイルの使用量が維持されることから、記録部140の容量が使い果たされてしまうことを防止することができる。   As shown in FIG. 8B, in the reference example 3, the multi-face image file is generated and the normal image file is deleted at a timing when a predetermined time has elapsed after the normal image file is generated and recorded. In FIG. 8 (b), one month is a unit, and a normal image file for one month after six months has been processed. Therefore, a multi-sided image file is not generated for 6 months from the start of use of the digital camera 10, but the multi-sided image file generation unit 130 generates a multi-sided image file for the normal image file taken in the first month in the 7th month. In addition, the deletion unit 144 deletes the free space. In other words, the normal image file storage period can be said to be six months. That is, since the usage amount of the normal image file for about six months is always maintained, it is possible to prevent the capacity of the recording unit 140 from being exhausted.

また、基準例3のように時間単位で多面画像ファイルを生成することにより、多面画像ファイルから高圧縮画像データを読み出す際のインターフェースも時間基準とすることが簡便である。この場合において、「何年何月に撮影した写真」のように、あたかもアルバムを呼び出すような画像管理方法にすると、読み出す多面画像ファイルの数を最小限とすることができる。   In addition, by generating a multi-face image file in units of time as in Reference Example 3, it is easy to use an interface when reading highly compressed image data from the multi-face image file as a time base. In this case, the number of multi-faceted image files to be read can be minimized by using an image management method that calls an album, such as “photos taken for years and months”.

また、基準例3でも多段圧縮を行うことができる。多段圧縮を経過時間基準で行うとすれば、通常画像ファイルから多面画像ファイルを生成する閾値を第1経過時間(上記例では6ヶ月)とすると、多面画像ファイルから多段圧縮する閾値を第2経過時間(例えば12ヶ月)とすることができる。なお、基準例3における多面画像ファイル生成および多段圧縮の基準となる所定の時間はユーザーが任意に設定できるようにすることが好ましい。   In the third reference example, multistage compression can be performed. If multi-stage compression is performed on the basis of elapsed time, the threshold for generating a multi-plane image file from a normal image file is the first elapsed time (6 months in the above example). It can be a time (eg, 12 months). It should be noted that it is preferable that the user can arbitrarily set a predetermined time as a reference for generating the multi-plane image file and the multistage compression in the reference example 3.

このように、基準例2および基準例3においても、煩雑な操作を要求することなく、また画像を失うことなく、飛躍的に記録可能枚数を増大させることが可能である。そして、一度縮小および圧縮により記録可能枚数を増大させた後でも、多段圧縮を行うことにより記録可能枚数を再び増大でき、使用者は、実質的に無制限に撮影を行うことが可能となる。   As described above, also in the reference example 2 and the reference example 3, it is possible to dramatically increase the number of recordable sheets without requiring a complicated operation and without losing an image. Even after the recordable number of sheets is once increased by reduction and compression, the recordable number of sheets can be increased again by performing multi-stage compression, and the user can perform photographing virtually without limitation.

なお、基準例1〜3において、多段圧縮をするタイミングとして、他の基準を用いることを妨げるものではない。例えば、空き容量基準の基準例1において、多面画像ファイルが所定枚数蓄積されたときに多段圧縮してもよいし(基準例2)、経過時間基準の基準例3において、空き容量基準で多段圧縮してもよい(基準例1)。また、いずれの基準を用いるかを選択可能とすることにより、使用者にとっての自由度を向上させることができる。   In the reference examples 1 to 3, it does not preclude the use of another reference as the timing for performing multistage compression. For example, in the standard example 1 based on the free space, multistage compression may be performed when a predetermined number of multi-faceted image files are accumulated (standard example 2). In the standard example 3 based on the elapsed time, multistage compression is performed based on the free space. (Reference example 1). Further, by making it possible to select which reference is used, the degree of freedom for the user can be improved.

[第2実施形態]
本発明にかかるデジタルカメラの第2実施形態について説明する。図9は第2実施形態における基準例1に基づく動作を説明するフローチャートであって、上記第1実施形態と説明の重複する部分については同一の符号を付して説明を省略する。
[Second Embodiment]
A second embodiment of the digital camera according to the present invention will be described. FIG. 9 is a flowchart for explaining the operation based on the reference example 1 in the second embodiment, and the same parts as those in the first embodiment are denoted by the same reference numerals and description thereof is omitted.

上記第1実施形態では、空き容量が所定値以下であると判断した場合に多面画像ファイルを生成して元の通常画像ファイルを削除するように説明した。しかし、何十コマ以上もの通常画像ファイルを縮小および圧縮し、縦横に連結して多面画像データおよび多面画像ファイルを生成する処理には相当な時間を要すおそれがある。そこで第2実施形態では、撮影を行う毎に多面画像ファイルを作成(または更新)する例である。   In the first embodiment described above, the multi-face image file is generated and the original normal image file is deleted when it is determined that the free space is equal to or less than the predetermined value. However, it may take a considerable amount of time to reduce and compress dozens of normal image files and connect them vertically and horizontally to generate multi-face image data and multi-face image files. Therefore, the second embodiment is an example in which a multi-sided image file is created (or updated) every time shooting is performed.

図9に示すフローチャートにおいて、制御部102は、所定のプログラムを実行することにより、図9に示す処理を施す(または、各処理を施すように各部を制御する。)。原画像の取得(S102)から通常画像ファイルの記録(S110)までは第1実施形態と同様である。さらに本実施形態では、S202において高圧縮部128が、画像処理部124から原画像データを取得し、通常ファイル生成部126が生成する通常画像データよりも小さいデータ容量に縮小または圧縮した高圧縮画像データを生成する。そして、S204において多面画像ファイル生成部130が高圧縮画像データから多面画像データを生成する。そして、S206において多面画像ファイル生成部130が多面画像ファイルを生成し、S208において記録部140が、多面画像ファイル生成部130が生成した多面画像ファイルを記録する。   In the flowchart shown in FIG. 9, the control unit 102 executes the processing shown in FIG. 9 by executing a predetermined program (or controls each unit to perform each process). From the acquisition of the original image (S102) to the recording of the normal image file (S110) is the same as in the first embodiment. Further, in the present embodiment, in S202, the high compression unit 128 acquires the original image data from the image processing unit 124 and reduces or compresses the compressed image to a data capacity smaller than the normal image data generated by the normal file generation unit 126. Generate data. In step S <b> 204, the multi-sided image file generation unit 130 generates multi-sided image data from the highly compressed image data. In step S206, the multi-sided image file generation unit 130 generates a multi-sided image file, and in step S208, the recording unit 140 records the multi-sided image file generated by the multi-sided image file generation unit 130.

図10は、第2実施形態における画像ファイルの生成を説明する図である。図10(a)に示すように、本実施形態では、撮影を行うと通常画像ファイルの生成(S104)と多面画像ファイル生成(S206)の両方を行う。このとき多面画像ファイル生成部130は、多面画像ファイルを新たに生成するだけでなく、既存の多面画像データに高圧縮画像データを追加して多面画像ファイルを更新することもできる。   FIG. 10 is a diagram for explaining generation of an image file in the second embodiment. As shown in FIG. 10A, in this embodiment, when shooting is performed, both normal image file generation (S104) and multi-plane image file generation (S206) are performed. At this time, the multi-sided image file generation unit 130 can not only newly generate a multi-sided image file but also update the multi-sided image file by adding high-compression image data to the existing multi-sided image data.

なお既存の多面画像データに対する高圧縮画像データの追加は、多面画像データが所定のフォーマット(JPEGなど)で保存されている場合、いちどバッファメモリ114上に多面画像を展開してから高圧縮画像を配置し、ふたたび所定のフォーマットに圧縮して保存する必要がある。このとき、多面画像データは複数の画像を保持しているとはいえ、全体的なデータサイズは原画像データ1枚と同じであるため、負荷が過大となることはない。しかし、さらに高速化を図ろうとする場合、デジタルカメラ10の電源を投入した時点で既存の多面画像データをバッファメモリ114上に展開し、撮影するごとに高圧縮画像データを配置していき、電源を切る際に終了処理の一部として記録部140に書き戻してもよい。   Note that high-compression image data is added to existing multi-plane image data when the multi-plane image data is stored in a predetermined format (such as JPEG) and then the multi-plane image is developed on the buffer memory 114 and then the high-compression image data is added. It is necessary to arrange and store the compressed data again in a predetermined format. At this time, although the multi-plane image data holds a plurality of images, the overall data size is the same as that of one original image data, so that the load is not excessive. However, in order to further increase the speed, the existing multi-plane image data is developed on the buffer memory 114 when the power of the digital camera 10 is turned on, and the highly compressed image data is arranged every time the image is taken. May be written back to the recording unit 140 as part of the termination process.

また、高速化を図るための他の手法として、多面画像データが完成するまでは非圧縮(ビットマップなど)としておくことにより、各高圧縮画像データのデータ長を固定長にすることができ、また隣接するピクセルとの依存関係をなくすることができる。すると多面画像ファイルの全体をバッファメモリ114に読み出すことなく、部分的に書き換えることによって高圧縮画像データを追記することが可能である。この場合において、何コマ目まで書き込まれているかについては、メタデータに記録しておくことが望ましい。非圧縮の画像はファイルサイズが大きいが、多面画像ファイルの全てのコマが高圧縮画像データによって埋められたときに、使用量の少ない任意のフォーマット(JPEGなど)に変換することにより、支障なく空き容量を増大させることができる。   In addition, as another technique for speeding up, by keeping uncompressed (bitmap etc.) until the multi-face image data is completed, the data length of each highly compressed image data can be fixed, In addition, it is possible to eliminate the dependency relationship with adjacent pixels. Then, the high-compression image data can be additionally written by partially rewriting without reading the entire multifaceted image file into the buffer memory 114. In this case, it is preferable to record the number of frames written in the metadata. Uncompressed images have a large file size, but when all frames of a multi-sided image file are filled with high-compressed image data, they can be used without any problem by converting them to an arbitrary format (JPEG, etc.) with a small amount of usage. The capacity can be increased.

そして、第1実施形態と同様に、S112において制御部102は、記録部140の空き容量が所定値以下か否かを判断する。記録140の空き容量が所定値を超えていると判断した場合は(S112のNO)、制御部102は以下の処理を行うことなく一連の処理を終了する。一方制御部102は、S112において記録部140の空き容量が所定値以下であると判断した場合は(S112のYES)、S114において、さらに多段圧縮が必要か否かを判断する。   As in the first embodiment, in step S112, the control unit 102 determines whether the free space of the recording unit 140 is equal to or less than a predetermined value. When it is determined that the free space of the record 140 exceeds the predetermined value (NO in S112), the control unit 102 ends the series of processes without performing the following processes. On the other hand, when the control unit 102 determines in S112 that the free space of the recording unit 140 is equal to or less than the predetermined value (YES in S112), the control unit 102 determines in S114 whether further multistage compression is necessary.

S114において制御部102が多段圧縮は必要ないと判断した場合は(S114のNO)、まずS116において使用者に対して警告を表示器112から行う。ただし、第2実施形態では既に多面画像ファイルを生成しているため、この場合の警告では、記録部140に記録している過去の通常画像ファイルを削除する旨および削除の対象となる過去の通常画像ファイルの範囲を告知する。そして、S218において、削除部140が過去の通常画像ファイルを削除し、一連の処理を終了する。   If the control unit 102 determines in step S114 that multistage compression is not necessary (NO in step S114), a warning is given to the user from the display unit 112 in step S116. However, since the multi-sided image file has already been generated in the second embodiment, the warning in this case indicates that the past normal image file recorded in the recording unit 140 is deleted and the past normal image to be deleted. Announce the range of image files. In step S218, the deletion unit 140 deletes the past normal image file and ends the series of processes.

一方、S114において制御部102が多段圧縮を必要であると判断した場合(S114のYES)は、第1実施形態と同様の処理で多段圧縮を行い(S130〜S140)、一連の処理を終了する。   On the other hand, when the control unit 102 determines in S114 that multistage compression is necessary (YES in S114), multistage compression is performed in the same process as in the first embodiment (S130 to S140), and the series of processes is terminated. .

図10(b)を用いて第2実施形態の基準例1における動作をさらに説明する。上記したように、本実施形態においては撮影時にほぼ同時に多面画像ファイルを生成または更新する。そのため撮影が進行するタイミングt31、t32、t33では、通常画像ファイルと多面画像ファイルが同時に増加する。そしてタイミングt33にて空き容量が所定値以下になると、通常画像ファイルの一部または全部を削除する。削除処理が完了したタイミングt34では、空き容量が増大する。   The operation in Reference Example 1 of the second embodiment will be further described with reference to FIG. As described above, in the present embodiment, the multi-sided image file is generated or updated almost simultaneously with shooting. Therefore, at the timings t31, t32, and t33 at which shooting progresses, the normal image file and the multi-sided image file increase simultaneously. When the free space becomes equal to or less than the predetermined value at timing t33, a part or all of the normal image file is deleted. At the timing t34 when the deletion process is completed, the free space increases.

タイミングt33において削除する通常画像ファイルについては、既に多面画像ファイルが形成されているから、t33の時点で存在するファイルを全部削除したとしても支障はない。しかし、直近に撮影した画像は、プリントや加工その他の用途に利用する可能性が高いため、できる限り高画質な状態で保持しておくことが望ましい。そこで削除する際には通常画像ファイルの一部を残しておくこととし、その基準としては、所定の空き容量が確保できる分だけ古いものから削除したり(空き容量基準)、直近の所定枚数を残したり(枚数基準)、直近の所定期間のデータを残したり(経過時間基準)することができる。   As for the normal image file to be deleted at the timing t33, since a multi-sided image file has already been formed, there is no problem even if all the files existing at the time t33 are deleted. However, since the most recently photographed image is highly likely to be used for printing, processing, and other purposes, it is desirable to keep the image as high as possible. Therefore, when deleting, leave a part of the normal image file, and the standard is to delete the oldest one that can secure the predetermined free space (free space standard), It is possible to leave data (based on the number of sheets) or leave data for the most recent predetermined period (based on elapsed time).

そして、第1実施形態における基準例1と同様に、一度空き容量を増大させた後でも、多段圧縮によってさらに空き容量を増大させることができる。多段圧縮をするタイミングt35は、例えば、通常画像ファイルを記録可能な空き容量(所定値までの空き容量)が、1枚の多面画像ファイルに相当する枚数の通常画像ファイルを記録するサイズに満たなくなったときとすることができる。そして、削除部144が、多段圧縮の元の多面画像ファイルを記録部140から削除するタイミングt36では、空き容量が再び増大する。   As in Reference Example 1 in the first embodiment, the free space can be further increased by multistage compression even after the free space is once increased. At the timing t35 for performing the multi-stage compression, for example, the free space in which the normal image file can be recorded (the free space up to a predetermined value) is less than the size for recording the number of normal image files corresponding to one multi-sided image file. It can be when. Then, at the timing t36 when the deletion unit 144 deletes the original multi-surface image file of the multistage compression from the recording unit 140, the free space increases again.

図11は、第2実施形態における他の基準例について説明する図である。図11(a)は所定のタイミングの基準として記録枚数を用いた基準例2を説明する図、図11(b)は所定のタイミングの基準として経過時間を用いた基準例3を説明する図である。   FIG. 11 is a diagram for explaining another reference example in the second embodiment. FIG. 11A is a diagram for explaining Reference Example 2 using the number of recorded sheets as a reference for a predetermined timing, and FIG. 11B is a diagram for explaining Reference Example 3 using elapsed time as a reference for the predetermined timing. is there.

図11(a)に例示するように、基準例2では、撮影が進行しているタイミングt41では、通常画像ファイルと多面画像ファイルが同時に増加する。そして、タイミングt42で通常画像ファイルとしての記録枚数が増加して所定の枚数(例えば200枚)に達すると、削除部144が先に撮影した100枚の通常画像ファイルを記録部140から削除する。これによりタイミングt43では、空き容量が増大する。   As illustrated in FIG. 11A, in the reference example 2, the normal image file and the multi-faceted image file increase at the same time at the timing t41 when shooting is in progress. When the number of recorded normal image files increases at timing t42 and reaches a predetermined number (for example, 200), the deleting unit 144 deletes the 100 normal image files previously captured from the recording unit 140. As a result, the free capacity increases at timing t43.

また、基準例2でも多段圧縮を行うことができる。この場合、多面画像ファイルが増加して所定の枚数に達したタイミングで、多面画像ファイル生成部130が多面画像ファイルを多段圧縮し、削除部144が多段圧縮の元となった多面画像データを含む多面画像ファイルを記録部140から削除することで再び空き容量が増大する。なお、基準例2における通常画像ファイルの削除および多段圧縮の基準となる記録枚数は使用者が任意に設定できる。   In the second reference example, multistage compression can be performed. In this case, when the number of multi-sided image files increases and reaches a predetermined number, the multi-sided image file generation unit 130 multi-stages the multi-sided image file, and the deletion unit 144 includes the multi-sided image data that is the source of the multi-stage compression. By deleting the multi-sided image file from the recording unit 140, the free space increases again. It should be noted that the user can arbitrarily set the number of recordings used as a reference for deletion of the normal image file and multi-stage compression in the reference example 2.

図11(b)に示すように、基準例3では、通常画像ファイルを生成し記録してから所定の時間が経過したタイミングで通常画像ファイルの削除を行う。図11(b)では1ヶ月を単位とし、6ヶ月が経過した1か月分の通常画像ファイルを処理対象とする。したがって、デジタルカメラ10の使用開始から6ヶ月間は通常画像ファイルと多面画像ファイルを両方生成し、7ヶ月目には削除部144が最初の1ヶ月目に撮影した通常画像ファイルの削除を行うことで空き容量を増大させることができる。これにより、常におおむね6ヶ月分の通常画像ファイルの使用量が維持されることから、記録部140の容量が使い果たされてしまうことを防止することができる。   As shown in FIG. 11B, in the reference example 3, the normal image file is deleted at a timing when a predetermined time elapses after the normal image file is generated and recorded. In FIG. 11B, a normal image file for one month in which six months have passed is set as a processing target in units of one month. Therefore, both the normal image file and the multi-faceted image file are generated for 6 months from the start of use of the digital camera 10, and the deletion unit 144 deletes the normal image file taken in the first month in the seventh month. The free space can be increased. As a result, since the usage amount of the normal image file for about six months is always maintained, it is possible to prevent the capacity of the recording unit 140 from being exhausted.

また、基準例3でも多段圧縮を行うことができる。通常画像ファイルの削除を行う閾値を第1経過時間(上記例では6ヶ月)とすると、多面画像ファイルから多段圧縮する閾値を第2経過時間(例えば12ヶ月)とすることができる。なお、基準例3における通常画像ファイルの削除および多段圧縮の基準となる所定の時間は使用者が任意に設定できるようにすることが好ましい。   In the third reference example, multistage compression can be performed. Assuming that the threshold for deleting a normal image file is the first elapsed time (6 months in the above example), the threshold for multi-stage compression from the multi-plane image file can be the second elapsed time (for example, 12 months). It should be noted that it is preferable that the user can arbitrarily set a predetermined time as a reference for deletion of a normal image file and multistage compression in Reference Example 3.

このように、第2実施形態においても、煩雑な操作を要求することなく、また画像を失うことなく、飛躍的に記録可能枚数を増大させることが可能である。そして、一度縮小および圧縮により記録可能枚数を増大させた後でも、多段圧縮を行うことにより記録可能枚数を再び増大でき、使用者は、実質的に無制限に撮影を行うことが可能となる。また、記録可能枚数を増大させる処理の時には画像ファイルの削除処理のみを行うため、処理時間を大幅に短縮することができる。   Thus, also in the second embodiment, it is possible to dramatically increase the number of recordable sheets without requiring a complicated operation and without losing images. Even after the recordable number of sheets is once increased by reduction and compression, the recordable number of sheets can be increased again by performing multi-stage compression, and the user can perform photographing virtually without limitation. In addition, since only the image file deletion process is performed during the process of increasing the recordable number of sheets, the processing time can be greatly shortened.

以上、添付図面を参照しながら本発明の好適な実施形態について説明したが、本発明は係る例に限定されないことは言うまでもない。当業者であれば、特許請求の範囲に記載された範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、それらについても当然に本発明の技術的範囲に属するものと了解される。   As mentioned above, although preferred embodiment of this invention was described referring an accompanying drawing, it cannot be overemphasized that this invention is not limited to the example which concerns. It will be apparent to those skilled in the art that various changes and modifications can be made within the scope of the claims, and these are naturally within the technical scope of the present invention. Understood.

本発明は、被写体を撮像して画像データを生成する撮像装置に利用することができる。   The present invention can be used in an imaging apparatus that captures an image of a subject and generates image data.

10…デジタルカメラ、100…メインバス、102…制御部、104…操作部、106…撮影レンズ、108…撮像素子、110…撮像部、112…表示器、114…バッファメモリ、116…表示出力部、120…情報生成部、122…設定入力部、124…画像処理部、126…通常ファイル生成部、128…高圧縮部、130…多面画像ファイル生成部、132…個別識別部、134…部分画像ファイル生成部、140…記録部、144…削除部、146…外部インターフェース、148…外部装置 DESCRIPTION OF SYMBOLS 10 ... Digital camera, 100 ... Main bus, 102 ... Control part, 104 ... Operation part, 106 ... Shooting lens, 108 ... Imaging element, 110 ... Imaging part, 112 ... Display, 114 ... Buffer memory, 116 ... Display output part , 120 ... Information generation unit, 122 ... Setting input unit, 124 ... Image processing unit, 126 ... Normal file generation unit, 128 ... High compression unit, 130 ... Multi-plane image file generation unit, 132 ... Individual identification unit, 134 ... Partial image File generation unit, 140 ... recording unit, 144 ... deleting unit, 146 ... external interface, 148 ... external device

Claims (8)

被写体を撮像して原画像データを出力する撮像部と、
前記原画像データを非圧縮または所定のフォーマットに圧縮して通常の画像データを生成し、該通常の画像データを含む通常の画像ファイルを生成する通常ファイル生成部と、
前記通常の画像ファイルに含まれる通常の画像データを小さいデータ容量に縮小または圧縮した高圧縮画像データを生成する高圧縮部と、
複数の前記高圧縮画像データを縦横に連結した多面画像データを生成し、該多面画像データを含む多面画像ファイルを生成する多面画像ファイル生成部と、
前記高圧縮部が処理した元の通常の画像ファイルを所定のタイミングで削除する削除部と、
前記通常の画像ファイルおよび前記多面画像ファイルを記録する記録部と、を備えたことを特徴とする撮像装置。
An imaging unit that images a subject and outputs original image data;
A normal file generator for generating normal image data by uncompressing or compressing the original image data into a predetermined format, and generating a normal image file including the normal image data;
A high-compression unit that generates high-compression image data obtained by reducing or compressing normal image data included in the normal image file to a small data capacity;
A multi-sided image file generation unit that generates multi-sided image data obtained by connecting a plurality of the high-compression image data vertically and horizontally, and generates a multi-sided image file including the multi-sided image data;
A deletion unit that deletes the original normal image file processed by the high compression unit at a predetermined timing;
An image pickup apparatus comprising: a recording unit that records the normal image file and the multi-sided image file.
被写体を撮像して原画像データを出力する撮像部と、
前記原画像データを非圧縮または所定のフォーマットに圧縮して通常の画像データを生成し、該通常の画像データを含む通常の画像ファイルを生成する通常ファイル生成部と、
前記原画像データを前記通常の画像データよりも小さいデータ容量に縮小または圧縮した高圧縮画像データを生成する高圧縮部と、
複数の前記高圧縮画像データを縦横に連結した多面画像データを生成し、該多面画像データを含む多面画像ファイルを生成する多面画像ファイル生成部と、
前記高圧縮部が処理した原画像データに対応する通常の画像ファイルを所定のタイミングで削除する削除部と、
前記通常の画像ファイルおよび前記多面画像ファイルを記録する記録部と、を備えたことを特徴とする撮像装置。
An imaging unit that images a subject and outputs original image data;
A normal file generator for generating normal image data by uncompressing or compressing the original image data into a predetermined format, and generating a normal image file including the normal image data;
A high-compression unit that generates high-compression image data obtained by reducing or compressing the original image data to a data capacity smaller than that of the normal image data;
A multi-sided image file generation unit that generates multi-sided image data obtained by connecting a plurality of the high-compression image data vertically and horizontally, and generates a multi-sided image file including the multi-sided image data;
A deletion unit that deletes a normal image file corresponding to the original image data processed by the high compression unit at a predetermined timing;
An image pickup apparatus comprising: a recording unit that records the normal image file and the multi-sided image file.
請求項1または請求項2に記載の撮像装置であって、
前記高圧縮部は、前記多面画像ファイルに含まれる多面画像データをさらに縮小または圧縮し、
前記多面画像ファイル生成部は複数の多面画像データを縦横に連結した多面画像ファイルを生成し、
前記削除部は、前記高圧縮部が処理した元の多面画像ファイルを削除することを特徴とする撮像装置。
The imaging apparatus according to claim 1 or 2,
The high compression unit further reduces or compresses the multi-sided image data included in the multi-sided image file,
The multi-sided image file generation unit generates a multi-sided image file in which a plurality of multi-sided image data are connected vertically and horizontally,
The image deletion apparatus, wherein the deletion unit deletes an original multi-sided image file processed by the high compression unit.
請求項1または請求項2に記載の撮像装置であって、
前記多面画像ファイル生成部は、前記複数の高圧縮画像データそれぞれに関する複数の撮像情報を付加して前記多面画像ファイルを生成することを特徴とする撮像装置。
The imaging apparatus according to claim 1 or 2,
The imaging apparatus according to claim 1, wherein the multi-sided image file generation unit generates the multi-sided image file by adding a plurality of pieces of imaging information regarding each of the plurality of high-compression image data.
請求項1または請求項2に記載の撮像装置であって、
該撮像装置の外周面に画像を表示する表示器と、
前記多面画像データから個々の前記高圧縮画像データを識別する個別識別部と、
前記個別識別部が識別した高圧縮画像データを個別に前記表示器に表示させる表示出力部とを備えたことを特徴とする撮像装置。
The imaging apparatus according to claim 1 or 2,
A display for displaying an image on the outer peripheral surface of the imaging device;
An individual identification unit for identifying individual high-compression image data from the multi-plane image data;
An image pickup apparatus comprising: a display output unit configured to individually display the high-compressed image data identified by the individual identification unit on the display.
請求項1または請求項2に記載の撮像装置であって、
前記多面画像データから個々の前記高圧縮画像データを識別する個別識別部と、
前記個別識別部が識別した高圧縮画像データを含む独立した画像ファイルを生成する部分画像ファイル生成部とを備えたことを特徴とする撮像装置。
The imaging apparatus according to claim 1 or 2,
An individual identification unit for identifying individual high-compression image data from the multi-plane image data;
An image pickup apparatus comprising: a partial image file generation unit that generates an independent image file including high-compression image data identified by the individual identification unit.
請求項1に記載の撮像装置であって、
前記多面画像ファイル生成部は前記記録部の空き容量が所定値以下となったときに前記多面画像ファイルを生成し、
前記削除部が通常の画像ファイルを削除する前記所定のタイミングは、前記多面画像ファイル生成部が前記多面画像ファイルを生成したときであることを特徴とする撮像装置。
The imaging apparatus according to claim 1,
The multi-sided image file generation unit generates the multi-sided image file when the recording unit has a free space of a predetermined value or less,
The imaging apparatus according to claim 1, wherein the predetermined timing at which the deletion unit deletes a normal image file is when the multi-plane image file generation unit generates the multi-plane image file.
請求項2に記載の撮像装置であって、
前記削除部が通常の画像ファイルを削除する前記所定のタイミングは、前記記録部の空き容量が所定値以下となったときであることを特徴とする撮像装置。
The imaging apparatus according to claim 2,
The imaging apparatus according to claim 1, wherein the predetermined timing at which the deletion unit deletes a normal image file is when the free space of the recording unit becomes a predetermined value or less.
JP2009235914A 2009-10-13 2009-10-13 Imaging apparatus Pending JP2011086977A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009235914A JP2011086977A (en) 2009-10-13 2009-10-13 Imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009235914A JP2011086977A (en) 2009-10-13 2009-10-13 Imaging apparatus

Publications (1)

Publication Number Publication Date
JP2011086977A true JP2011086977A (en) 2011-04-28

Family

ID=44079637

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009235914A Pending JP2011086977A (en) 2009-10-13 2009-10-13 Imaging apparatus

Country Status (1)

Country Link
JP (1) JP2011086977A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7382683B1 (en) 2023-07-31 2023-11-17 聖裕 冨田 Information processing terminal device and information processing program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10126741A (en) * 1996-10-18 1998-05-15 Sanyo Electric Co Ltd Image processing unit, its image processing method, and recording medium recording program to realize the method
JPH10341394A (en) * 1997-06-10 1998-12-22 Canon Inc Image-pickup device, image-pickup method and storage medium
JP2001157173A (en) * 1999-12-01 2001-06-08 Sanyo Electric Co Ltd Digital camera
JP2004080783A (en) * 2002-08-12 2004-03-11 Hewlett-Packard Development Co Lp Digital camera related to image deletion and selection
JP2007073007A (en) * 2005-09-09 2007-03-22 Olympus Imaging Corp Image data selection method and image data processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10126741A (en) * 1996-10-18 1998-05-15 Sanyo Electric Co Ltd Image processing unit, its image processing method, and recording medium recording program to realize the method
JPH10341394A (en) * 1997-06-10 1998-12-22 Canon Inc Image-pickup device, image-pickup method and storage medium
JP2001157173A (en) * 1999-12-01 2001-06-08 Sanyo Electric Co Ltd Digital camera
JP2004080783A (en) * 2002-08-12 2004-03-11 Hewlett-Packard Development Co Lp Digital camera related to image deletion and selection
JP2007073007A (en) * 2005-09-09 2007-03-22 Olympus Imaging Corp Image data selection method and image data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7382683B1 (en) 2023-07-31 2023-11-17 聖裕 冨田 Information processing terminal device and information processing program

Similar Documents

Publication Publication Date Title
WO2007067278A2 (en) Conditional alteration of a saved image
JP4835356B2 (en) Imaging apparatus, imaging control program, and imaging control method
US20080243893A1 (en) Image managing system, digital camera, image managing method, and computer readable medium storing an image managing program
KR20100096523A (en) Apparatus and method for processing image data
JP2011086977A (en) Imaging apparatus
JP4858304B2 (en) Image processing apparatus, imaging apparatus, and program
JP2005236496A (en) Image recording display system
JP4826480B2 (en) Imaging apparatus, image management method, and program
JP6857863B1 (en) Imaging device and recording method of image data
JP5486233B2 (en) Imaging apparatus and control method thereof
JP2010009205A (en) Recording control device
JP4438357B2 (en) Electronic still camera
JP7171337B2 (en) IMAGING DEVICE, IMAGE RECORDING METHOD AND PROGRAM
US20220141420A1 (en) Imaging element, imaging apparatus, operation method of imaging element, and program
KR100755740B1 (en) Apparatus and method for managing files in digital camera
JP2008219425A (en) Image processor and image processing method
JP2005277609A (en) Animation pickup device, animation recording method and animation recording control program
JP2000341620A (en) Digital camera
JP5109848B2 (en) Recording control apparatus and imaging apparatus
JP2008177838A (en) Digital camera and image processor, and image control program
JP3524733B2 (en) Digital camera
JP2022048837A (en) Imaging apparatus
JP5407405B2 (en) camera
JP2010020576A (en) Recording control device
JP6112972B2 (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120925

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20120925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130731

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20131210