JP2009267947A - Device and method for recording image - Google Patents
Device and method for recording image Download PDFInfo
- Publication number
- JP2009267947A JP2009267947A JP2008117409A JP2008117409A JP2009267947A JP 2009267947 A JP2009267947 A JP 2009267947A JP 2008117409 A JP2008117409 A JP 2008117409A JP 2008117409 A JP2008117409 A JP 2008117409A JP 2009267947 A JP2009267947 A JP 2009267947A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image data
- processed
- file
- instruction
- 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.)
- Granted
Links
Images
Abstract
Description
本発明は画像記録装置及び画像記録方法に係り、特に画像の加工を行うことが可能な画像記録装置及び画像記録方法に関する。 The present invention relates to an image recording apparatus and an image recording method, and more particularly to an image recording apparatus and an image recording method capable of processing an image.
特許文献1には、編集画像の属性データとして元画像へのリンク情報を保存する画像管理システムが開示されている。
画像を加工した後に、加工後の画像をオリジナルの画像とは別の画像ファイルに保存すると、加工後の画像と元画像とを相互に参照したい場合に、対応する画像ファイルを探し出すのが困難であった。 After processing the image, if you save the processed image in a separate image file from the original image, it is difficult to find the corresponding image file if you want to refer to the processed image and the original image mutually. there were.
特許文献1は、編集画像に元画像へのリンク情報を保存することにより、編集画像から元画像を呼び出すことを可能にしたものである。しかしながら、特許文献1では、編集画像を保存した後に元画像の保存場所が変更されると、元画像を呼び出すことができなくなるという問題があった。 Patent Document 1 makes it possible to call an original image from an edited image by storing link information to the original image in the edited image. However, in Patent Document 1, there is a problem that if the storage location of the original image is changed after the edited image is stored, the original image cannot be called.
本発明はこのような事情に鑑みてなされたもので、加工後の画像と元画像とを相互に参照することを容易にした画像記録装置及び画像記録方法を提供することを目的とする。 The present invention has been made in view of such circumstances, and an object thereof is to provide an image recording apparatus and an image recording method that make it easy to refer to a processed image and an original image.
上記課題を解決するために、本発明の第1の態様に係る画像記録装置は、画像ファイルを記録する記録手段と、前記画像ファイルに含まれる画像データの加工指示を受け付ける加工指示受付手段と、前記加工指示を受け付けた場合に、前記画像ファイルに含まれる画像データを一時記憶する一時記憶手段と、前記加工指示に基づいて前記画像データを加工する加工手段と、前記加工後の画像データの保存指示を受け付ける保存指示受付手段と、前記保存指示を受け付けた場合に、前記一時記憶した画像データと、前記加工後の画像データとを同一の画像ファイルに格納して、該画像ファイルを前記記録手段に記録する記録制御手段とを備える。 In order to solve the above problems, an image recording apparatus according to the first aspect of the present invention includes a recording unit that records an image file, a processing instruction receiving unit that receives a processing instruction for image data included in the image file, When the processing instruction is received, temporary storage means for temporarily storing the image data included in the image file, processing means for processing the image data based on the processing instruction, and storage of the processed image data A storage instruction reception unit that receives an instruction; and, when the storage instruction is received, the temporarily stored image data and the processed image data are stored in the same image file, and the image file is stored in the recording unit And a recording control means for recording.
上記第1の態様によれば、加工前の画像ファイルに含まれる画像データとを1つの画像ファイル(マルチピクチャファイル)に格納するようにしたので、加工前後の画像データを読み出して相互に参照することが容易になる。また、本態様によれば、加工前後の画像データの移動及び削除を同時に行うことができるので、画像データの管理が容易になる。 According to the first aspect, since the image data included in the image file before processing is stored in one image file (multi-picture file), the image data before and after processing are read and referred to each other. It becomes easy. In addition, according to this aspect, image data before and after processing can be moved and deleted at the same time, so that management of image data becomes easy.
本発明の第2の態様に係る画像記録装置は、上記第1の態様において、前記一時記憶手段が、前記加工指示が入力されるごとに、該加工指示に応じて加工された各段階の画像データを一時記憶し、前記記録制御手段が、前記加工後の画像データの保存指示を受け付けると、各段階の画像データを、前記一時記憶した画像データ、及び前記加工後の画像データとともに同一の画像ファイルに格納するように構成したものである。 The image recording apparatus according to a second aspect of the present invention is the image recording apparatus according to the first aspect, wherein the temporary storage unit is processed in accordance with the processing instruction every time the processing instruction is input. When data is temporarily stored and the recording control unit accepts an instruction to save the processed image data, the image data at each stage is stored together with the temporarily stored image data and the processed image data. It is configured to be stored in a file.
上記第2の態様によれば、加工後の画像データと、加工前の画像ファイルに含まれる画像データとともに、画像の加工途中の各段階の画像データを1つの画像ファイル(マルチピクチャファイル)に格納するようにしたので、加工前後及び加工途中の画像データを読み出して相互に参照することが容易になる。 According to the second aspect, together with the processed image data and the image data included in the unprocessed image file, the image data at each stage during the processing of the image is stored in one image file (multi-picture file). As a result, image data before and after processing and during processing can be easily read out and referred to each other.
本発明の第3の態様に係る画像記録装置は、上記第1又は第2の態様において、前記記録制御手段が、前記加工後の画像データを前記画像ファイルの先頭に格納するように構成したものである。 An image recording apparatus according to a third aspect of the present invention is the image recording apparatus according to the first or second aspect, wherein the recording control means stores the processed image data at the head of the image file. It is.
上記第3の態様は、加工後の画像データを、例えば、一覧表示用画像(サムネイル画像)とすることができる。 In the third aspect, the processed image data can be, for example, a list display image (thumbnail image).
本発明の第4の態様に係る画像記録装置は、上記第1又は第2の態様において、前記記録制御手段が、前記画像ファイルの先頭から、前記画像データを加工された順番に格納するように構成したものである。 An image recording apparatus according to a fourth aspect of the present invention is the image recording apparatus according to the first or second aspect, wherein the recording control means stores the image data in the processed order from the top of the image file. It is composed.
上記第4の態様は、画像データを加工したときの変遷を時系列順で確認するのに好適である。 The fourth aspect is suitable for confirming the transition when the image data is processed in chronological order.
本発明の第5の態様に係る画像記録装置は、上記第1又は第2の態様において、前記記録制御手段が、前記画像ファイルの先頭から、前記画像データを加工された順番の逆の順番に格納するように構成したものである。 The image recording apparatus according to a fifth aspect of the present invention is the image recording apparatus according to the first or second aspect, wherein the recording control means starts from the head of the image file in a reverse order to the order in which the image data is processed. It is configured to store.
上記第5の態様は、画像データを最新の加工結果から遡って検索するのに好適である。 The fifth aspect is suitable for searching image data retroactively from the latest processing result.
本発明の第6の態様に係る画像記録装置は、上記第1から第5の態様において、前記画像データを前記画像ファイルに記録するときの順序の指定を受け付ける順序指定受付手段を更に備える。 An image recording apparatus according to a sixth aspect of the present invention further includes order designation accepting means for accepting designation of an order when the image data is recorded in the image file in the first to fifth aspects.
上記第6の態様によれば、画像データの保存順序を指定することができる。 According to the sixth aspect, it is possible to specify the storage order of image data.
本発明の第7の態様に係る画像記録装置は、上記第1から第6の態様において、前記記録制御手段が、前記画像データの記録順序を前記画像ファイルの付加情報として記録するように構成したものである。 An image recording apparatus according to a seventh aspect of the present invention is configured such that, in the first to sixth aspects, the recording control unit records the recording order of the image data as additional information of the image file. Is.
上記第7の態様によれば、付加情報を読み込むことで、画像データの加工順序を利用して画像ファイルを利用することができる。 According to the seventh aspect, by reading the additional information, the image file can be used using the processing order of the image data.
本発明の第8の態様に係る画像記録方法は、画像ファイルに含まれる画像データの加工指示を受け付けると、前記画像ファイルに含まれる画像データを一時記憶し、前記加工指示に基づいて前記画像データを加工し、前記加工後の画像データの保存指示を受け付けると、前記一時記憶した画像データと、前記加工後の画像データとを同一の画像ファイルに格納するように構成したものである。 When the image recording method according to the eighth aspect of the present invention receives a processing instruction for image data included in an image file, the image recording method temporarily stores the image data included in the image file, and the image data is based on the processing instruction. Are processed, and upon receiving an instruction to save the processed image data, the temporarily stored image data and the processed image data are stored in the same image file.
本発明の第9の態様に係る画像記録方法は、上記第8の態様において、前記加工指示が入力されるごとに、該加工指示に応じて加工された各段階の画像データを一時記憶し、前記加工後の画像データの保存指示を受け付けると、各段階の画像データを、前記一時記憶した画像データ、及び前記加工後の画像データとともに同一の画像ファイルに格納するように構成したものである。 The image recording method according to a ninth aspect of the present invention is the image recording method according to the eighth aspect, wherein each time the processing instruction is input, the image data at each stage processed according to the processing instruction is temporarily stored. When an instruction to save the processed image data is received, the image data at each stage is stored in the same image file together with the temporarily stored image data and the processed image data.
本発明の第10の態様に係る画像記録方法は、上記第8又は第9の態様において、前記加工後の画像データを前記画像ファイルの先頭に格納するように構成したものである。 According to a tenth aspect of the present invention, in the eighth or ninth aspect, the processed image data is stored at the head of the image file.
本発明の第11の態様に係る画像記録方法は、上記第8又は第9の態様において、前記画像ファイルの先頭から、前記画像データを加工された順番に格納するように構成したものである。 An image recording method according to an eleventh aspect of the present invention is configured to store the image data in the processed order from the top of the image file in the eighth or ninth aspect.
本発明の第12の態様に係る画像記録方法は、上記第8又は第9の態様において、前記画像ファイルの先頭から、前記画像データを加工された順番の逆の順番に格納するように構成したものである。 An image recording method according to a twelfth aspect of the present invention is configured to store the image data in the reverse order of the processed order from the top of the image file in the eighth or ninth aspect. Is.
本発明の第13の態様に係る画像記録方法は、上記第8から第12の態様において、前記画像データを前記画像ファイルに記録するときの順序の指定を受け付けるように構成したものである。 An image recording method according to a thirteenth aspect of the present invention is configured such that in the eighth to twelfth aspects, designation of an order for recording the image data in the image file is received.
本発明の第14の態様に係る画像記録方法は、上記第8から第13の態様において、前記画像データの記録順序を前記画像ファイルの付加情報として記録するように構成したものである。 According to a fourteenth aspect of the present invention, in the eighth to thirteenth aspects, the recording order of the image data is recorded as additional information of the image file.
本発明によれば、加工後の画像データと、加工前の画像ファイルに含まれる画像データとを1つの画像ファイル(マルチピクチャファイル)に格納するようにしたので、加工前後の画像データを読み出して相互に参照することが容易になる。また、本発明によれば、加工前後の画像データの移動及び削除を同時に行うことができるので、画像データの管理が容易になる。 According to the present invention, the processed image data and the image data included in the unprocessed image file are stored in one image file (multi-picture file). It becomes easy to refer to each other. Further, according to the present invention, image data before and after processing can be moved and deleted at the same time, so that image data can be easily managed.
以下、添付図面に従って本発明に係る画像記録装置及び画像記録方法の好ましい実施の形態について説明する。 Hereinafter, preferred embodiments of an image recording apparatus and an image recording method according to the present invention will be described with reference to the accompanying drawings.
[第1の実施形態]
図1は、本発明の第1の実施形態に係る画像記録装置の主要構成を示すブロック図である。
[First Embodiment]
FIG. 1 is a block diagram showing the main configuration of an image recording apparatus according to the first embodiment of the present invention.
本実施形態の画像記録装置10は、例えば、パーソナルコンピュータ(PC)によって構成されており、撮影装置又はメモリカード24からの記録用画像ファイルの読み込み、記録用画像ファイルの保存、編集等を行うための装置である。
The
図1に示すように、中央処理装置(CPU)12は、バス14を介して画像記録装置10内の各ブロックに接続されており、各ブロックの動作を制御する。
As shown in FIG. 1, a central processing unit (CPU) 12 is connected to each block in the
主メモリ16は、制御プログラムが格納される記憶領域や、プログラム実行時の作業領域を含んでいる。
The
ハードディスク装置18には、画像記録装置10のオペレーティングシステム(OS)や、各種のアプリケーションソフト、カメラ100又はメモリカード24から読み込まれた画像ファイルが格納される。
The
CD−ROM装置20は、図示せぬCD−ROMからのデータの読み込みを行う。
The CD-
カードインターフェース部(カードI/F)22は、メモリカード24から画像データを読み取る。
The card interface unit (card I / F) 22 reads image data from the
表示メモリ26は、表示用データを一時記憶する。モニタ28は、例えば、CRT(Cathode Ray Tube)モニタや液晶モニタにより構成され、この表示メモリ26から出力される画像データ、文字データ等に基づいて画像や文字等を表示する。
The
画像記録装置10は、ユーザからの操作入力を受け付ける操作部としてキーボード30及びマウス32を備えている。キーボード30及びマウス32はユーザからの操作入力に応じた信号をCPU12に入力する。マウスコントローラ34は、マウス32の状態を検出してモニタ28上のマウスポインタの位置や、マウス32の状態等の信号をCPU12に出力する。なお、ポインティングデバイスとしては、マウス32のほか、タッチパネルやタッチパッド等を用いることができる。
The
オーディオ入出力回路36には、マイク38及びスピーカ40が接続され、各種の音声信号が入力されるとともに、キーボード30等からの操作入力に応じて各種動作音が再生出力される。
A
通信インターフェース部(通信I/F)42は、ネットワークNWを介した通信を行う際に所定の信号変換及び信号の受け渡しを行う。 The communication interface unit (communication I / F) 42 performs predetermined signal conversion and signal transfer when performing communication via the network NW.
カメラ接続インターフェース部(カメラ接続I/F)44は、カメラ100との間でデータの送受信を行う際に所定の信号変換及び信号の受け渡しを行う。
The camera connection interface unit (camera connection I / F) 44 performs predetermined signal conversion and signal transfer when data is transmitted to and received from the
図2は、本発明の第1の実施形態に係る画像記録装置による画像の加工処理を示す機能ブロック図である。なお、下記の各ブロックの機能は、例えば、CPU12によって実現される。
FIG. 2 is a functional block diagram showing image processing performed by the image recording apparatus according to the first embodiment of the present invention. The functions of the following blocks are realized by the
操作解析部52は、操作部50から画像データの加工指示及び加工後の画像の保存指示の入力を受け付ける。
The
画像加工部54は、操作部50から入力された画像データの加工指示に従って画像の加工を行う。
The
一時記憶部56は、操作部50から画像データの加工指示が入力された場合に、加工前の画像ファイルに含まれる画像データを一時記憶する。
The
保存制御部58は、操作部50から加工後の画像データの保存指示が入力された場合に、一時記憶部56に一時記憶された加工前の画像データと加工後の画像データとを同一の画像ファイル(マルチピクチャファイル)F10に格納し、当該マルチピクチャファイルF10を画像記録部60(例えば、ハードディスク装置18又はメモリカード24)に記録する。
When an instruction to save processed image data is input from the
図3は、加工後の画像ファイルのデータ構造を示す図であり、図4は、そのヘッダ情報のデータ構造を示す図である。 FIG. 3 is a diagram showing the data structure of the processed image file, and FIG. 4 is a diagram showing the data structure of the header information.
図3に示すように、加工後の画像ファイルF10は、複数の画像データを含む画像ファイルであり、主画像領域A10と、拡張データ領域A12とを含んでいる。主画像領域A10には、加工後の画像データP(n)が主画像データ(代表画像データ)として格納される。拡張データ領域A12には、加工前の画像ファイルに含まれていた画像データP(n−1),…,P(0)が格納される。 As shown in FIG. 3, the processed image file F10 is an image file including a plurality of image data, and includes a main image area A10 and an extended data area A12. In the main image area A10, processed image data P (n) is stored as main image data (representative image data). In the extended data area A12, image data P (n−1),..., P (0) included in the image file before processing is stored.
図4に示すように、画像ファイルF10の主画像領域A10には、付加情報(APPx Header)が含まれている。付加情報(APPx Header)のIFD0領域には、画像ファイルに固有の(ユニークな)ID情報、及びマルチピクチャファイル管理情報D10が格納されている。ここで、マルチピクチャファイル管理情報D10は、画像ファイルF10がマルチピクチャファイルであること、即ち、主画像領域A10の後に拡張データ領域A12を含むことを示す情報及び画像データの記録順序を示す情報が含まれている。画像記録装置10は、このマルチピクチャファイル管理情報D10を取得すると、当該画像ファイルF10がマルチピクチャファイルであると判断し、各画像データP(n),P(n−1),…,P(0)を読み込んで表示する。
As shown in FIG. 4, the main image area A10 of the image file F10 includes additional information (APPx Header). The IFD0 area of the additional information (APPx Header) stores (unique) ID information unique to the image file and multi-picture file management information D10. The multi-picture file management information D10 includes information indicating that the image file F10 is a multi-picture file, that is, information indicating that the extended data area A12 is included after the main image area A10 and information indicating the recording order of the image data. include. When the
拡張データ領域A12内の画像データP(n−1),…,P(0)には個別に付加情報(Header)が付加されている。 Additional information (Header) is individually added to the image data P (n−1),..., P (0) in the extension data area A12.
なお、図中のSOI(Start of Image)及びEOI(End of Image)は、それぞれ各画像データの読み込み開始位置及び終了位置を示すマーカである。 Note that SOI (Start of Image) and EOI (End of Image) in the figure are markers indicating the read start position and end position of each image data, respectively.
本実施形態に係る画像記録装置10は、加工前の画像ファイルがマルチピクチャファイルF10の場合、当該画像ファイルに含まれる画像データP(n),P(n−1),…,P(0)のうち所望のものを指定して画像を加工することが可能となっている。
When the image file before processing is a multi-picture file F10, the
マルチピクチャファイルF10中の主画像データP(n)を加工して保存した場合、加工して得られた画像データP(n+1)が主画像領域A10に格納され、加工前の画像データP(n),…,P(0)が拡張データ領域A12に格納されたマルチピクチャファイルF10′が生成される。これにより、図3及び図4に示すように、元画像データP(n−1)から加工指示及び保存指示が入力された画像データが順番に記録されたマルチピクチャファイルが生成される。 When the main image data P (n) in the multi-picture file F10 is processed and saved, the image data P (n + 1) obtained by processing is stored in the main image area A10, and the image data P (n before processing) ,..., P (0) is generated as a multi-picture file F10 ′ in which the extended data area A12 is stored. As a result, as shown in FIGS. 3 and 4, a multi-picture file is generated in which image data to which a processing instruction and a storage instruction are input from the original image data P (n−1) is sequentially recorded.
次に、マルチピクチャファイルF10中の画像データP(i)(0≦i<n)を加工して保存した場合について説明する。 Next, the case where the image data P (i) (0 ≦ i <n) in the multi-picture file F10 is processed and saved will be described.
図5から図7は、マルチピクチャファイルF10中の画像データP(i)(0≦i<n)を加工して保存した場合に新たに生成されるマルチピクチャファイルのデータ構造の実施例を模式的に示す図である。 FIGS. 5 to 7 schematically illustrate an example of the data structure of a multi-picture file that is newly generated when image data P (i) (0 ≦ i <n) in the multi-picture file F10 is processed and stored. FIG.
図5に示す例では、マルチピクチャファイルF10中の画像データP(i)(0≦i<n)を加工して保存した場合に、画像データP(i)を加工して得られた画像データP′(i+1)を主画像領域A10に格納し、加工前の画像データP(i)を拡張データ領域A12に格納するマルチピクチャファイルF10′が生成される。 In the example shown in FIG. 5, when the image data P (i) (0 ≦ i <n) in the multi-picture file F10 is processed and stored, the image data obtained by processing the image data P (i) A multi-picture file F10 ′ is generated that stores P ′ (i + 1) in the main image area A10 and stores the unprocessed image data P (i) in the extension data area A12.
図6に示す例では、マルチピクチャファイルF10中の画像データP(i)(0≦i<n)を加工して保存した場合に、画像データP(i)を加工して得られた画像データP′(i+1)を主画像領域A10に格納し、加工前の画像データP(0),…,P(i)を拡張データ領域A12に格納するマルチピクチャファイルF10′が生成される。 In the example shown in FIG. 6, when the image data P (i) (0 ≦ i <n) in the multi-picture file F10 is processed and stored, the image data obtained by processing the image data P (i) A multi-picture file F10 ′ is generated that stores P ′ (i + 1) in the main image area A10 and stores the unprocessed image data P (0),..., P (i) in the extension data area A12.
図7に示す例では、マルチピクチャファイルF10中の画像データP(i)(0≦i<n)を加工して保存した場合に、画像データP(i)を加工して得られた画像データP′(i+1)を主画像領域A10に格納し、加工前の画像データP(0),…,P(n)を拡張データ領域A12に格納するマルチピクチャファイルF10′が生成される。更に、図7に示す例では、マルチピクチャファイル管理情報D10に、画像データP′(i+1)がP(i)を加工したものであることを示す情報が格納される。 In the example shown in FIG. 7, when the image data P (i) (0 ≦ i <n) in the multi-picture file F10 is processed and saved, the image data obtained by processing the image data P (i) A multi-picture file F10 ′ is generated that stores P ′ (i + 1) in the main image area A10 and stores the unprocessed image data P (0),..., P (n) in the extension data area A12. Further, in the example shown in FIG. 7, the multi-picture file management information D10 stores information indicating that the image data P ′ (i + 1) is obtained by processing P (i).
図8は、本発明の第1の実施形態に係る画像の加工処理の流れを示すフローチャートである。 FIG. 8 is a flowchart showing a flow of image processing according to the first embodiment of the present invention.
まず、操作部50から画像を加工する指示が入力されると(ステップS10のYes)、加工前の画像ファイルに含まれる画像データが一時記憶部56に一時記憶される(ステップS12)。そして、上記の画像の加工指示に応じて画像データが加工される(ステップS14)。 First, when an instruction to process an image is input from the operation unit 50 (Yes in step S10), the image data included in the image file before processing is temporarily stored in the temporary storage unit 56 (step S12). Then, the image data is processed in accordance with the image processing instruction (step S14).
次に、加工された画像データの保存指示が入力されると(ステップS16のYes)、加工前の画像のファイルがマルチピクチャファイルでない場合には(ステップS18のNo)、一時記憶部56に保存されていた画像データと加工後の画像データとが同一のマルチピクチャファイル内に格納される(ステップS20)。一方、加工前の画像のファイルがマルチピクチャファイルの場合には(ステップS18のYes)、一時記憶部56に保存されていたすべての画像データと加工後の画像データとが同一のマルチピクチャファイル内に格納される(ステップS22)。
Next, when an instruction to save the processed image data is input (Yes in step S16), if the image file before processing is not a multi-picture file (No in step S18), it is stored in the
一方、画像データが加工された後(ステップS14)、加工された画像の保存しない旨の指示が入力された場合(ステップS16のNo)、加工された画像が破棄される(ステップS24のYes、S26)。そして、一時記憶部56に保存されていた画像データが読み込まれ(ステップS28)、画像の加工が再開される(ステップS10)。また、加工された画像の保存しない旨の指示が入力され(ステップS16のNo)、且つ画像の加工を終了する旨の指示が入力された場合には(ステップS24のNo)、画像ファイルに変更は加えられずに終了する。
On the other hand, after the image data is processed (step S14), when an instruction to not save the processed image is input (No in step S16), the processed image is discarded (Yes in step S24). S26). Then, the image data stored in the
本実施形態によれば、加工後の画像データと、加工前の画像ファイルに含まれる画像データとを1つの画像ファイル(マルチピクチャファイル)に格納するようにしたので、加工前後の画像データを読み出して相互に参照することが容易になる。また、本実施形態によれば、加工前後の画像データの移動及び削除を同時に行うことができるので、画像データの管理が容易になる。 According to this embodiment, the processed image data and the image data included in the unprocessed image file are stored in one image file (multi-picture file). Making it easy to refer to each other. Further, according to the present embodiment, image data before and after processing can be moved and deleted at the same time, so that management of image data becomes easy.
[第2の実施形態]
次に、本発明の第2の実施形態について説明する。なお、上記第1の実施形態と同様の構成については説明を省略する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The description of the same configuration as that of the first embodiment is omitted.
図9は、本発明の第2の実施形態に係る画像の加工処理の流れを示すフローチャートである。 FIG. 9 is a flowchart showing a flow of image processing according to the second embodiment of the present invention.
まず、操作部50から画像を加工する指示が入力されると(ステップS30のYes)、加工前の画像ファイルに含まれる画像データが一時記憶部56に一時記憶される(ステップS32)。そして、上記の画像の加工指示に応じて画像データが加工される(ステップS34)。ステップS30からS34では、加工前の画像ファイルがマルチピクチャファイルの場合、当該画像ファイルに含まれる画像データのうち所望のものを指定して画像を加工することが可能となっている。 First, when an instruction to process an image is input from the operation unit 50 (Yes in step S30), the image data included in the image file before processing is temporarily stored in the temporary storage unit 56 (step S32). Then, the image data is processed in accordance with the image processing instruction (step S34). In steps S30 to S34, if the image file before processing is a multi-picture file, it is possible to specify the desired image data included in the image file and process the image.
次に、加工された画像に対して更に加工(編集)指示が入力された場合には(ステップS36のYes、S30のYes)、加工前の途中段階画像が一時記憶部56に一時記憶された後(ステップS34)、画像が加工される(ステップS36)。
Next, when a further processing (editing) instruction is input to the processed image (Yes in step S36, Yes in S30), the intermediate stage image before processing is temporarily stored in the
次に、加工された画像の保存指示が入力されると(ステップS38のYes)、加工前の画像のファイルがマルチピクチャファイルでない場合には(ステップS40のNo)、一時記憶部56に保存されていた画像データと加工後の画像データとが同一のマルチピクチャファイル内に格納される(ステップS42)。一方、加工前の画像のファイルがマルチピクチャファイルの場合には(ステップS40のYes)、一時記憶部56に保存されていたすべての画像データと加工後の画像データとが同一のマルチピクチャファイル内に格納される(ステップS44)。また、画像データの格納順序に関する情報がマルチピクチャファイル管理情報に格納される。
Next, when an instruction to save the processed image is input (Yes in step S38), if the image file before processing is not a multi-picture file (No in step S40), it is stored in the
一方、画像データが加工された後、加工された画像の保存しない旨の指示が入力された場合(ステップS38のNo)、加工された画像が破棄される(ステップS46のYes、S48)。そして、一時記憶部56に保存されていた加工前の画像データが読み込まれ(ステップS50)、画像の加工が再開される(ステップS30)。また、加工された画像の保存しない旨の指示が入力され(ステップS38のNo)、且つ画像の加工を終了する旨の指示が入力された場合には(ステップS46のNo)、画像ファイルに変更は加えられずに終了する。
On the other hand, after the image data has been processed, when an instruction to not save the processed image is input (No in step S38), the processed image is discarded (Yes in step S46, S48). Then, the pre-processing image data stored in the
本実施形態によれば、加工後の画像データと、加工前の画像ファイルに含まれる画像データとともに、画像の加工途中の各段階の画像データを1つの画像ファイル(マルチピクチャファイル)に格納するようにしたので、加工前後及び加工途中の画像データを読み出して相互に参照することが容易になる。また、本実施形態によれば、加工前後の画像データの移動及び削除を同時に行うことができるので、画像データの管理が容易になる。 According to the present embodiment, the processed image data and the image data included in the unprocessed image file are stored in one image file (multi-picture file) together with the image data at each stage during the processing of the image. Therefore, it becomes easy to read out image data before and after processing and during processing and refer to each other. Further, according to the present embodiment, image data before and after processing can be moved and deleted at the same time, so that management of image data becomes easy.
[第3の実施形態]
次に、本発明の第3の実施形態について説明する。なお、上記第1の実施形態と同様の構成については説明を省略する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described. The description of the same configuration as that of the first embodiment is omitted.
図10は、本発明の第3の実施形態に係る画像記録装置による画像の加工処理を示す機能ブロック図である。 FIG. 10 is a functional block diagram showing image processing by the image recording apparatus according to the third embodiment of the present invention.
本実施形態に係る画像記録装置10は、保存順序制御部62を備えている。保存順序制御部62は、操作部50からの保存順序の指定入力に従って、画像データの保存順序を指定する。
The
保存制御部58は、操作部50から加工後の画像データの保存指示が入力された場合に、上記保存順序の指定に従って、一時記憶部56に一時記憶された加工前の画像データと、加工後の画像データとをマルチピクチャファイルF10に格納する。
The save
図11に示す例では、マルチピクチャファイルF10の先頭の主画像領域A10に元画像データ(加工前の画像データ)P(0)が格納されており、拡張データ領域A12には加工の各段階の画像データP(1),…,P(n)が時系列順に格納されている。図11に示す例は、画像データを加工したときの変遷を時系列順で確認するのに好適である。 In the example shown in FIG. 11, original image data (image data before processing) P (0) is stored in the top main image area A10 of the multi-picture file F10, and each stage of processing is stored in the extended data area A12. Image data P (1),..., P (n) are stored in chronological order. The example shown in FIG. 11 is suitable for confirming the transition when image data is processed in chronological order.
図12に示す例では、マルチピクチャファイルF10の先頭の主画像領域A10に最新の加工結果が反映された画像データP(n)が格納されており、拡張データ領域A12には加工の各段階の画像データP(n−1),…,P(0)が加工された順序とは逆の順序で格納されている。画像データの加工は後の工程ほど微調整が多くなる傾向がある。例えば、回転、トリミング、色調補正の順で行われる。このため、画像の加工を途中からやり直す場合には、最新の画像から遡る方が効率的な検索が可能になる。図12に示す例は、画像データを最新の加工結果から遡って検索するのに好適である。 In the example shown in FIG. 12, image data P (n) reflecting the latest processing result is stored in the main image area A10 at the head of the multi-picture file F10, and each stage of processing is stored in the extended data area A12. The image data P (n−1),..., P (0) are stored in the reverse order to the processed order. The processing of image data tends to increase fine adjustments in later steps. For example, rotation, trimming, and tone correction are performed in this order. For this reason, when the image processing is restarted from the middle, it is possible to search more efficiently by tracing back from the latest image. The example shown in FIG. 12 is suitable for searching image data retroactively from the latest processing result.
図13は、本発明の第3の実施形態に係る画像の加工処理の流れを示すフローチャートである。 FIG. 13 is a flowchart showing the flow of image processing according to the third embodiment of the present invention.
まず、操作部50から画像を加工する指示が入力されると(ステップS60のYes)、加工前の画像ファイルに含まれる画像データが一時記憶部56に一時記憶される(ステップS62)。そして、上記の画像の加工指示に応じて画像データが加工される(ステップS64)。ステップS60からS64では、加工前の画像ファイルがマルチピクチャファイルの場合、当該画像ファイルに含まれる画像データのうち所望のものを指定して画像を加工することが可能となっている。 First, when an instruction to process an image is input from the operation unit 50 (Yes in step S60), the image data included in the image file before processing is temporarily stored in the temporary storage unit 56 (step S62). Then, the image data is processed according to the image processing instruction (step S64). In steps S60 to S64, when the pre-processed image file is a multi-picture file, it is possible to process the image by designating a desired image data included in the image file.
次に、加工された画像を更に加工(編集)する指示が入力された場合には(ステップS66のYes、S60のYes)、加工前の途中段階画像が一時記憶部56に一時記憶された後(ステップS64)、画像が加工される(ステップS66)。
Next, when an instruction to further process (edit) the processed image is input (Yes in Step S66, Yes in S60), the intermediate stage image before processing is temporarily stored in the
次に、加工された画像の保存指示が入力されると(ステップS68のYes)、操作部50からの保存順序の指定入力に従って、拡張データ領域A12における画像データの保存順序が指定される(ステップS70)。なお、保存順序の指定は、保存指示の都度行うようにしてもよいし、事前に保存順序の指定を記憶しておくようにしてもよい。 Next, when an instruction to save the processed image is input (Yes in step S68), the storage order of the image data in the extended data area A12 is specified in accordance with the storage order specification input from the operation unit 50 (step S68). S70). The designation of the saving order may be performed every time a saving instruction is given, or the designation of the saving order may be stored in advance.
次に、加工前の画像のファイルがマルチピクチャファイルでない場合には(ステップS72のNo)、一時記憶部56に保存されていた画像データと加工後の画像データとが同一のマルチピクチャファイル内に格納される(ステップS74)。一方、加工前の画像のファイルがマルチピクチャファイルの場合には(ステップS72のYes)、一時記憶部56に保存されていたすべての画像データと加工後の画像データとが同一のマルチピクチャファイル内に格納される(ステップS76)。ステップS74及びS76では、一時記憶部56に保存されていた画像データが、ステップS70において指定された保存順序でマルチピクチャファイルの拡張データ領域A12内に格納される。
Next, when the image file before processing is not a multi-picture file (No in step S72), the image data stored in the
一方、画像データが加工された後、加工された画像の保存しない旨の指示が入力された場合(ステップS68のNo)、加工された画像が破棄される(ステップS78のYes、S80)。そして、一時記憶部56に保存されていた加工前の画像データが読み込まれ(ステップS82)、画像の加工が再開される(ステップS60)。また、加工された画像の保存しない旨の指示が入力され(ステップS68のNo)、且つ画像の加工を終了する旨の指示が入力された場合には(ステップS78のNo)、画像ファイルに変更は加えられずに終了する。
On the other hand, after the image data has been processed, if an instruction to not save the processed image is input (No in step S68), the processed image is discarded (Yes in step S78, S80). Then, the unprocessed image data stored in the
本実施形態によれば、画像データの保存順序を指定することができる。 According to the present embodiment, it is possible to specify the storage order of image data.
なお、本発明は、PC以外の画像記録装置(例えば、撮像装置)にも適用することができる。また、本発明は、上記画像記録装置に適用するアプリケーションプログラムとしても提供することができる。 Note that the present invention can also be applied to an image recording apparatus (for example, an imaging apparatus) other than a PC. The present invention can also be provided as an application program applied to the image recording apparatus.
10…画像記録装置、12…CPU、14…バス、16…主メモリ、18…ハードディスク装置、20…CD−ROM装置、22…カードインターフェース部(カードI/F)、24…メモリカード、26…表示メモリ、28…モニタ、30…キーボード、32…マウス、34…マウスコントローラ、36…オーディオ入出力回路、38…マイク、40…スピーカ、42…通信インターフェース部(通信I/F)、44…カメラ接続インターフェース部(カメラ接続I/F)、100…カメラ、50…操作部、52…操作解析部、54…画像加工部、56…一時記憶部、58…保存制御部、60…画像記録部、62…保存順序制御部
DESCRIPTION OF
Claims (14)
前記画像ファイルに含まれる画像データの加工指示を受け付ける加工指示受付手段と、
前記加工指示を受け付けた場合に、前記画像ファイルに含まれる画像データを一時記憶する一時記憶手段と、
前記加工指示に基づいて前記画像データを加工する加工手段と、
前記加工後の画像データの保存指示を受け付ける保存指示受付手段と、
前記保存指示を受け付けた場合に、前記一時記憶した画像データと、前記加工後の画像データとを同一の画像ファイルに格納して、該画像ファイルを前記記録手段に記録する記録制御手段と、
を備える画像記録装置。 Recording means for recording image files;
A processing instruction receiving means for receiving a processing instruction for image data included in the image file;
Temporary storage means for temporarily storing image data included in the image file when the processing instruction is received;
Processing means for processing the image data based on the processing instructions;
A storage instruction receiving means for receiving a storage instruction for the processed image data;
A recording control means for storing the temporarily stored image data and the processed image data in the same image file when the save instruction is received, and recording the image file in the recording means;
An image recording apparatus comprising:
前記記録制御手段は、前記加工後の画像データの保存指示を受け付けると、各段階の画像データを、前記一時記憶した画像データ、及び前記加工後の画像データとともに同一の画像ファイルに格納する、請求項1記載の画像記録装置。 The temporary storage means temporarily stores the image data of each stage processed according to the processing instruction every time the processing instruction is input,
When the recording control unit receives an instruction to save the processed image data, the recording control unit stores the image data of each stage in the same image file together with the temporarily stored image data and the processed image data. Item 2. The image recording apparatus according to Item 1.
前記加工指示に基づいて前記画像データを加工し、
前記加工後の画像データの保存指示を受け付けると、前記一時記憶した画像データと、前記加工後の画像データとを同一の画像ファイルに格納する、画像記録方法。 When receiving an instruction to process the image data included in the image file, the image data included in the image file is temporarily stored,
Process the image data based on the processing instruction,
An image recording method, wherein upon receiving an instruction to save the processed image data, the temporarily stored image data and the processed image data are stored in the same image file.
前記加工後の画像データの保存指示を受け付けると、各段階の画像データを、前記一時記憶した画像データ、及び前記加工後の画像データとともに同一の画像ファイルに格納する、請求項8記載の画像記録方法。 Each time the processing instruction is input, the image data of each stage processed according to the processing instruction is temporarily stored,
9. The image recording according to claim 8, wherein upon receiving an instruction to save the processed image data, the image data at each stage is stored in the same image file together with the temporarily stored image data and the processed image data. Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008117409A JP4995765B2 (en) | 2008-04-28 | 2008-04-28 | Image recording apparatus and image recording method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008117409A JP4995765B2 (en) | 2008-04-28 | 2008-04-28 | Image recording apparatus and image recording method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009267947A true JP2009267947A (en) | 2009-11-12 |
JP4995765B2 JP4995765B2 (en) | 2012-08-08 |
Family
ID=41393196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008117409A Expired - Fee Related JP4995765B2 (en) | 2008-04-28 | 2008-04-28 | Image recording apparatus and image recording method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4995765B2 (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07245723A (en) * | 1994-03-04 | 1995-09-19 | Olympus Optical Co Ltd | Image processor |
JP2001312714A (en) * | 2000-05-01 | 2001-11-09 | Sony Corp | Device and method for managing image, and recoding medium |
JP2003091734A (en) * | 2001-09-18 | 2003-03-28 | Nikon System:Kk | Image processor, image processing method, recording medium and program |
JP2003125190A (en) * | 2001-10-16 | 2003-04-25 | Ricoh Co Ltd | Image edit device |
JP2003317078A (en) * | 2002-04-23 | 2003-11-07 | Konica Minolta Holdings Inc | Image managing method, program, and recording medium |
JP2003348335A (en) * | 2002-05-23 | 2003-12-05 | Fuji Photo Film Co Ltd | Image processing method, image processing apparatus, and image processing program |
JP2004015098A (en) * | 2002-06-03 | 2004-01-15 | Fuji Photo Film Co Ltd | Digital camera |
JP2004064297A (en) * | 2002-07-26 | 2004-02-26 | Nikon Corp | Image processing apparatus, image display apparatus, image processing program, and image display program |
JP2004120280A (en) * | 2002-09-26 | 2004-04-15 | Fuji Photo Film Co Ltd | Image processor |
JP2004201242A (en) * | 2002-12-20 | 2004-07-15 | Fuji Photo Film Co Ltd | Digital camera |
JP2004274502A (en) * | 2003-03-10 | 2004-09-30 | Minolta Co Ltd | Digital camera |
JP2005251165A (en) * | 2004-02-06 | 2005-09-15 | Canon Inc | Image processor and method of controlling the same, and computer program and computer-readable storage medium |
JP2006238311A (en) * | 2005-02-28 | 2006-09-07 | Casio Comput Co Ltd | Photographing apparatus and program |
JP2007053537A (en) * | 2005-08-17 | 2007-03-01 | Pentax Corp | Imaging apparatus |
JP2007104128A (en) * | 2005-09-30 | 2007-04-19 | Seiko Epson Corp | Image processing apparatus, mobile phone, image processing method, and image processing program |
-
2008
- 2008-04-28 JP JP2008117409A patent/JP4995765B2/en not_active Expired - Fee Related
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07245723A (en) * | 1994-03-04 | 1995-09-19 | Olympus Optical Co Ltd | Image processor |
JP2001312714A (en) * | 2000-05-01 | 2001-11-09 | Sony Corp | Device and method for managing image, and recoding medium |
JP2003091734A (en) * | 2001-09-18 | 2003-03-28 | Nikon System:Kk | Image processor, image processing method, recording medium and program |
JP2003125190A (en) * | 2001-10-16 | 2003-04-25 | Ricoh Co Ltd | Image edit device |
JP2003317078A (en) * | 2002-04-23 | 2003-11-07 | Konica Minolta Holdings Inc | Image managing method, program, and recording medium |
JP2003348335A (en) * | 2002-05-23 | 2003-12-05 | Fuji Photo Film Co Ltd | Image processing method, image processing apparatus, and image processing program |
JP2004015098A (en) * | 2002-06-03 | 2004-01-15 | Fuji Photo Film Co Ltd | Digital camera |
JP2004064297A (en) * | 2002-07-26 | 2004-02-26 | Nikon Corp | Image processing apparatus, image display apparatus, image processing program, and image display program |
JP2004120280A (en) * | 2002-09-26 | 2004-04-15 | Fuji Photo Film Co Ltd | Image processor |
JP2004201242A (en) * | 2002-12-20 | 2004-07-15 | Fuji Photo Film Co Ltd | Digital camera |
JP2004274502A (en) * | 2003-03-10 | 2004-09-30 | Minolta Co Ltd | Digital camera |
JP2005251165A (en) * | 2004-02-06 | 2005-09-15 | Canon Inc | Image processor and method of controlling the same, and computer program and computer-readable storage medium |
JP2006238311A (en) * | 2005-02-28 | 2006-09-07 | Casio Comput Co Ltd | Photographing apparatus and program |
JP2007053537A (en) * | 2005-08-17 | 2007-03-01 | Pentax Corp | Imaging apparatus |
JP2007104128A (en) * | 2005-09-30 | 2007-04-19 | Seiko Epson Corp | Image processing apparatus, mobile phone, image processing method, and image processing program |
Also Published As
Publication number | Publication date |
---|---|
JP4995765B2 (en) | 2012-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2008206138A (en) | Imaging apparatus and image processor | |
KR20110087300A (en) | Image processing device, information processing device, image processing method, and information processing method | |
JP2007013574A (en) | File access means, specific image file reproduction method, and camera device capable of reproducing the image file | |
US20060227223A1 (en) | Image reproducing apparatus | |
JP5838791B2 (en) | Program, image processing apparatus and image processing method | |
JPWO2008053515A1 (en) | Editing apparatus and editing method using metadata | |
JP2009266157A (en) | Image output system and image output method | |
JP4995765B2 (en) | Image recording apparatus and image recording method | |
JP2011228897A (en) | Image processing program and image processing apparatus | |
JP2009253769A (en) | Imaging apparatus, method for controlling imaging apparatus, and program | |
US8774603B2 (en) | Information processing apparatus, information processing method, program, and recording medium | |
JP4965836B2 (en) | Information display device and control method thereof | |
JP2008153899A (en) | Image selecting device, control method of image selecting device, program and recording medium | |
JP7005284B2 (en) | Image processing device, control method of image processing device, and program | |
JP2013183305A (en) | Information processing apparatus and information processing method | |
CN109474782B (en) | Interface device for data editing, data editing method, and recording medium | |
JP2005275979A (en) | Image retrieving program | |
JP2005244614A (en) | Electronic camera device and recording medium | |
JP6579925B2 (en) | Image reproducing apparatus, control method therefor, program, and recording medium | |
JPH11153430A (en) | Taken image management device and its program recording medium | |
JPWO2008093725A1 (en) | File receiving terminal | |
JP2005117182A (en) | Image display apparatus, image display method, program, and recording medium | |
JP2006244061A (en) | Data processor, data processing method and data processing program | |
JP2020178214A (en) | Information processing apparatus | |
JP5707567B2 (en) | Image processing apparatus and image processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110131 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120308 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120313 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120409 |
|
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: 20120501 |
|
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: 20120510 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150518 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |