Method for limiting the memory required for recording an audio, image or video file created by virtue of an apparatus in said apparatus

Information

  • Patent Grant
  • 9729886
  • Patent Number
    9,729,886
  • Date Filed
    Friday, November 8, 2013
    11 years ago
  • Date Issued
    Tuesday, August 8, 2017
    7 years ago
Abstract
Method and apparatus for the digital encoding of a first raw file, the method includes: a first step of capturing the raw file, the raw file being an audio and/or image and/or video file;a second step of encoding the captured raw file into a second file, in a proprietary format (P); then,a third step for re-encoding the second file into a third file in a compatible format (C).
Description

This invention relates to the field of media encoding, in particular audio, image or video media, in the form of digital files. It relates more particularly to a method for reducing the size of these files, for the purposes of recording them.


BACKGROUND OF THE INVENTION

When a user captures a video, sounds, or when the user takes a photograph, this capture takes the form of a digital file which is saved in the memory of the apparatus which has allowed for the capture. Without the user being generally aware, the file is encoded beforehand in such a way that it is recorded in a compressed format, in order to limit its size and the quantity of memory required to save it. The size of such a compressed file is of upmost importance when the latter has to be saved in a memory of low capacity, for example that of a portable apparatus; this is in particular the case for digital cameras, portable telephones, or “general public” video cameras.


The compression format is generally chosen according to its compatibility with applications that in particular allow it to be read or post-processed, directly on the apparatus or on an apparatus to which the file has been transferred. However, the compatible and widely distributed formats are generally frozen, or change little, in order to maintain this compatibility; They as such do not benefit from the latest advances in terms of the compression rate and quality although at the same time the number and the size of the files captured is constantly increasing, at the same time as the quality requirements of the users.


SUMMARY OF THE INVENTION

The purpose of the invention is therefore to provide a method for optimising the storage and/or the quality of a digital file, while still retaining sufficient compatibility.


A method according to the invention, for the digital encoding of a first raw medium, is characterised in that it comprises:

    • a step for the capture of said raw medium, said raw medium being an audio and/or image and/or video medium.
    • a step for encoding said raw medium into a first file, in a proprietary format; then,
    • a step for re-encoding said first file into a second file in a compatible format;


Such a method is particularly advantageous when an application or a sharing is not compatible with the proprietary format.


The raw medium can be a raw representation of data in the working memory and/or the internal memory of an apparatus; it can also be contained in a raw file.


According to another object of the invention, a digital apparatus according to the invention comprises means for implementing a method according to the invention. Such an apparatus comprises image capturing means and/or audio capturing means and/or video capturing means.


Such an apparatus can in particular be a digital camera (DC), a portable telephone, in particular a smartphone, a digital tablet, a camera or a dictaphone.


As absolute compatibility is illusory, in this description, “compatible format” refers to a format that has a greater or different compatibility than that of the proprietary programme.


Several methods of executing the invention shall be described hereinafter, by way of non-restrictive examples, in reference to the annexed drawings wherein the sole figure diagrammatically shows a method according to the invention.





BRIEF DESCRIPTION OF THE DRAWINGS


FIGS. 1 to 4 each show a mode for implementing a respective method according to the invention.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Each method according to the invention shall be described in its application to the photograph using a digital apparatus. Currently, the compatible compression format, noted as C in the figures, that is most commonly used for images is the jpeg format; of course, the method according to the invention applies to any compatible format.


In order to benefit from high-performance compression rates at the same time as a high quality in terms of the image restored, a so-called proprietary compression format, noted as P in the figures, is implemented in the apparatus. In the drawings, the capturing of the picture is symbolised by the drawing of a camera.


According to the invention, and in order to preserve as much as possible the memory of the apparatus while still retaining an excellent image restitution quality, in the examples shown, each photo captured is immediately and systematically encoded in the form of a digital file in the proprietary format P. However, as a proprietary format, the proprietary format P is hardly or is not compatible with the applications and software of the viewing type, provided by other publishers. As such, when the operator selects an image in format P, for example in order to process it with a non-compatible application or to transmit it to another device, the apparatus processes the image in such a way as to re-encode it into a compatible format C.


A first embodiment for such a method shall now be described, in reference to FIG. 1. In this example, prior to the encoding in the proprietary format P, the operator chooses an encoding quality Qp for said proprietary format P; prior to the encoding into the compatible format C, the operator also chooses an encoding quality Qc for said format compatible C.


In a second embodiment, shown in FIG. 2, the encoding quality Qp in the proprietary format is not chosen; as such, the proprietary encoding P is systematically done according to a fixed quality. This is particularly advantageous if the encoding is of high performance in terms of the compression rate while still retaining high quality for the restored image; this is the case with lossless encodings. In this embodiment only the quality Qc of the compatible encoding Qc is chosen.


In a third embodiment, shown in FIG. 3, the encoding quality Qc is not chosen in the compatible format; only the quality Qp of the proprietary encoding P is chosen. As such, the quality Qc of the restored image in the compatible format can be determined automatically by the apparatus according to the quality Qp chosen for the proprietary format.


In a fourth embodiment, shown in FIG. 4, the quality Qc that will have to be restored during the sharing with an application that is not compatible with the format P is chosen as soon as the picture is taken. The apparatus then automatically determines the quality Qp of the proprietary format Qp which will make it possible to obtain a file of equivalent quality and of lesser size. When shared with a non-compatible application, the file is re-encoded into the compatible format C with the quality Qc.


In the second, third and fourth embodiments, the combined use of a proprietary format at the same time as a compatible format can be entirely transparent; with the user choosing the quality, without worrying about, and even without knowing that the apparatus uses several formats, with the apparatus taking care of providing the user with an image in the correct format according to the needs of the user.


The choice of a quality is generally made between three: high, medium or low, or alternatively excellent, high and medium. This choice can be made each time a picture is taken for the quality Qp of the proprietary format P or the quality Qc of the compatible format C that will have to be restored, and/or at each selection of a previously encoded image in the proprietary format for the quality Qc of the compatible format. However, more preferably, the choice is made using a configuration menu, and this choice remains valid pour all of the pictures taken, as long as the corresponding configuration has not been modified.


Thanks to a method according to the invention, the apparatus is able to automatically optimise the use of one format or another, with the proprietary format used to store files, and the compatible format used only when this is necessary. As such, more preferably, the version stored in proprietary format P of a file is stored unchanged and only a copy is made in the compatible format C, when necessary, with this copy being advantageously destroyed when it is no longer used, in order to avoid needlessly using the memory of the apparatus.


Of course, the invention is not limited to the examples that have just been described.


As such, a similar method can also be used to capture sounds or a video.


Also, instead of the encoding of each capture, audio, photo or video, being systematically carried out in a proprietary format, it can be provided that this encoding be carried out after a choice from the operator of the proprietary encoder to the detriment of a directly compatible encoding.


In a general public embodiment, it can be provided that the choice of quality not be made by the operator. As such, the quality can be frozen, regardless of the photo captured, or, the quality be determined automatically by the apparatus, according to original pre-established criteria.


Passing into a compatible format can be done upon request from the operator; however, for general public apparatuses, passing from a proprietary format is done automatically, when the operator uses an application available on the apparatus and which requires the compatible format, and systematically when the operator wants to export the image to another apparatus, for example a computer or a printer.

Claims
  • 1. A method for digital encoding of a raw image medium, comprising: a first step of using a digital camera to capture said raw image medium;a second step of retrieving a quality (Qc) for restoring of a file in a compatible format (C) from a set of predefined qualities (Qc) in the compatible format (C),wherein the set of predefined qualities (Qc) in the compatible format (C) includes at least the first quality (Qc) in the compatible format (C) and a second quality (Qc) in the compatible format (C),wherein, prior to said second step, a respective encoding quality (Qp) in a proprietary format (P), from a plurality of different encoding qualities (Qp) in the proprietary format (P), has been associated with each quality (Qc) in the set of predefined qualities (Qc) in the compatible format (C) such that at least i) a first encoding quality (Qp) is associated with the first quality (Qc) in the compatible format (C) and ii) a second encoding quality (Qp) is associated with the second quality (Qc) in the compatible format (C);a third step of selecting one encoding quality (Qp) of said plurality of different encoding qualities (Qp) in the proprietary format (P), wherein said selected one encoding quality (Qp) in the proprietary format (P) is associated with the quality (Qc) retrieved in the second step;a fourth step of encoding said raw image medium into a first file, with the raw image medium encoded in the selected one encoding quality (Qp) in the proprietary format (P); then,a fifth step of re-encoding said first file into a second file in the compatible format (C) in the quality (Qc) retrieved in the second step, in order that a file restored from the second file, using the compatible format (C), is of the quality (Qc) retrieved in the second step and the file restored is of quality equivalent to what would have been had the second file been encoded directly into the compatible format (C) according to the quality (Qc) retrieved in the second step.
  • 2. The method according to claim 1, wherein the raw image medium is a raw representation of image data stored in the working memory and/or the internal memory of an apparatus.
  • 3. The method according to claim 1, wherein the raw image medium is contained in a raw file.
  • 4. A digital apparatus which comprises the digital camera and means for implementing the method according to claim 1.
Priority Claims (1)
Number Date Country Kind
12 60679 Nov 2012 FR national
PCT Information
Filing Document Filing Date Country Kind
PCT/FR2013/052679 11/8/2013 WO 00
Publishing Document Publishing Date Country Kind
WO2014/072653 5/15/2014 WO A
US Referenced Citations (14)
Number Name Date Kind
6825876 Easwar Nov 2004 B1
6885395 Rabbani Apr 2005 B1
9280813 Liu Mar 2016 B2
20010036231 Easwar Nov 2001 A1
20030206597 Kolarov et al. Nov 2003 A1
20040008897 Easwar Jan 2004 A1
20050018908 Johannesson Jan 2005 A1
20070047659 Aleksic Mar 2007 A1
20090141992 Coulombe Jun 2009 A1
20090226102 Huang et al. Sep 2009 A1
20120134417 Layachi May 2012 A1
20120177109 Ye Jul 2012 A1
20120294355 Holcomb Nov 2012 A1
20130155295 Bekiares Jun 2013 A1
Foreign Referenced Citations (1)
Number Date Country
02087255 Oct 2002 WO
Non-Patent Literature Citations (1)
Entry
International Search Report, dated Mar. 11, 2014, from corresponding PCT application.
Related Publications (1)
Number Date Country
20150312576 A1 Oct 2015 US