FR2866997A1 - Digital image encoding method, involves choosing same values for quantization steps, and comparing steps with predetermined threshold, for set of frequencies lower than predetermined frequencies - Google Patents

Digital image encoding method, involves choosing same values for quantization steps, and comparing steps with predetermined threshold, for set of frequencies lower than predetermined frequencies Download PDF

Info

Publication number
FR2866997A1
FR2866997A1 FR0402081A FR0402081A FR2866997A1 FR 2866997 A1 FR2866997 A1 FR 2866997A1 FR 0402081 A FR0402081 A FR 0402081A FR 0402081 A FR0402081 A FR 0402081A FR 2866997 A1 FR2866997 A1 FR 2866997A1
Authority
FR
France
Prior art keywords
frequencies
quantization
quantization step
threshold
steps
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
Application number
FR0402081A
Other languages
French (fr)
Other versions
FR2866997B1 (en
Inventor
Felix Henry
Christophe Gisquet
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to FR0402081A priority Critical patent/FR2866997B1/en
Publication of FR2866997A1 publication Critical patent/FR2866997A1/en
Application granted granted Critical
Publication of FR2866997B1 publication Critical patent/FR2866997B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • H04N19/126Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Abstract

The method involves choosing same values for quantization steps. The steps are compared with a predetermined threshold, for a set of frequencies of current block, where the frequencies are lower than predetermined frequencies. The steps are replaced by the threshold to obtain a permanent quantization step, if the steps exceed the threshold. The permanent quantization step is stored in a quantization table. Independent claims are also included for the following: (A) a communication apparatus including an image encoding apparatus (B) an information storage unit readable by a computer or microprocessor, for executing an image coding method (C) a computer program product including instruction sequences for executing an image coding method.

Description

PROCEDE ET DISPOSITIF DE CODAGE D'UNE IMAGEMETHOD AND DEVICE FOR CODING AN IMAGE

La présente invention se rapporte à un procédé et à un dispositif de codage d'une image.  The present invention relates to a method and an encoder of an image.

L'invention appartient au domaine de la compression des images numériques et, plus généralement, au domaine du codage et de la compression de signaux numériques, qu'il s'agisse de signaux vidéo, audio, de données, etc. On connaît diverses façons de comprimer avec perte des images numériques. Par exemple, le document US-A-5 883 979 divulgue une technique de compression d'images qui utilise trois valeurs de quantification prédéterminées dans trois zones différentes d'une table de quantification JPEG. Le rapport entre ces valeurs est fixé par l'utilisateur.  The invention belongs to the field of compression of digital images and, more generally, to the field of coding and compression of digital signals, whether video, audio, data, etc. There are various ways to compress lossy digital images. For example, US-A-5,883,979 discloses an image compression technique that uses three predetermined quantization values in three different areas of a JPEG quantization table. The ratio between these values is set by the user.

Cependant, cette technique présente l'inconvénient d'introduire dans les images des effets de blocs lorsque le taux de compression est élevé. Ces 15 effets de bloc sont très gênants visuellement.  However, this technique has the disadvantage of introducing into the images block effects when the compression ratio is high. These 15 block effects are very troublesome visually.

La présente invention a pour but de remédier à cet inconvénient.  The present invention aims to overcome this disadvantage.

Dans ce but, la présente invention propose un procédé de codage d'une image divisée en une pluralité de blocs de données, chaque bloc subissant une transformée en fréquences, ce procédé étant remarquable en ce qu'il comporte des étapes consistant à : - choisir une pluralité de valeurs de pas de quantification; puis, pour une pluralité de fréquences du bloc courant, - comparer le pas de quantification courant avec un seuil prédéterminé ; et - si le pas de quantification courant dépasse le seuil, remplacer le pas par le seuil, de façon à obtenir un pas de quantification définitif.  For this purpose, the present invention provides a method of coding an image divided into a plurality of data blocks, each block undergoing a frequency transformation, this method being remarkable in that it comprises the steps of: - choose a plurality of quantization step values; then, for a plurality of frequencies of the current block, comparing the current quantization step with a predetermined threshold; and if the current quantization step exceeds the threshold, replace the step with the threshold so as to obtain a definitive quantization step.

Ainsi, l'invention permet de coder une image numérique avec un taux de compression élevé sans introduire d'effet de bloc, tout en restant aussi près que possible du compromis compression/distorsion optimal.  Thus, the invention makes it possible to code a digital image with a high compression ratio without introducing a block effect, while remaining as close as possible to the optimal compression / distortion compromise.

En outre, cette technique est compatible avec la norme JPEG et son exécution est très simple et très rapide.  In addition, this technique is compatible with the JPEG standard and its execution is very simple and very fast.

Dans un mode particulier de réalisation, la pluralité de fréquences précitée du bloc courant est constituée d'un ensemble de fréquences inférieures à une fréquence prédéterminée.  In a particular embodiment, the above-mentioned plurality of frequencies of the current block consists of a set of frequencies below a predetermined frequency.

Cela permet de n'affecter un seuil qu'aux fréquences responsables 5 des effets de bloc et, par voie de conséquence, de s'affranchir de ces effets de bloc.  This makes it possible to affect a threshold only at the frequencies responsible for the block effects and, consequently, to overcome these block effects.

Dans un mode particulier de réalisation, le procédé comporte en outre une étape consistant à stocker la valeur du pas de quantification définitif dans une table de quantification.  In a particular embodiment, the method further comprises a step of storing the value of the definitive quantization step in a quantization table.

Dans un mode particulier de réalisation, les blocs sont de taille 8x8 pixels.  In a particular embodiment, the blocks are 8x8 pixels in size.

Les deux modes particuliers de réalisation précédents permettent de faciliter la compatibilité du procédé conforme à la présente invention avec la norme JPEG.  The two preceding particular embodiments make it possible to facilitate the compatibility of the method according to the present invention with the JPEG standard.

Dans un mode particulier de réalisation, l'étape de choix de la pluralité de valeurs de pas de quantification consiste à choisir une même valeur pour tous les pas de quantification.  In a particular embodiment, the step of choosing the plurality of quantization step values consists in choosing the same value for all the quantization steps.

Cela permet d'optimiser le compromis compression-distorsion tout en évitant les effets de bloc.  This optimizes the compression-distortion compromise while avoiding block effects.

Dans le même but que celui indiqué plus haut, la présente invention propose également un dispositif de codage d'une image divisée en une pluralité de blocs de données, chaque bloc subissant une transformée en fréquences, ce dispositif étant remarquable en ce qu'il comporte - un module permettant à un utilisateur de saisir une pluralité de 25 valeurs de pas de quantification; - un module pour comparer, pour chaque fréquence du bloc courant, le pas de quantification courant avec un seuil prédéterminé ; et - un module remplacer le pas par le seuil, si le pas de quantification courant dépasse le seuil, le module de remplacement fournissant un pas de 30 quantification définitif.  For the same purpose as that indicated above, the present invention also proposes a coding device for an image divided into a plurality of data blocks, each block undergoing a frequency transformation, this device being remarkable in that it comprises a module enabling a user to enter a plurality of quantization step values; a module for comparing, for each frequency of the current block, the current quantization step with a predetermined threshold; and a module replacing the step by the threshold, if the current quantization step exceeds the threshold, the replacement module providing a definitive quantization step.

La présente invention vise aussi un appareil de communication comportant un dispositif de codage tel que ci-dessus.  The present invention also provides a communication apparatus comprising a coding device as above.

La présente invention vise aussi un moyen de stockage d'informations lisible par un ordinateur ou un microprocesseur conservant des instructions d'un programme informatique, permettant la mise en oeuvre d'un procédé de codage tel que ci-dessus.  The present invention also provides a computer-readable information storage means or a microprocessor retaining instructions of a computer program, allowing the implementation of a coding method as above.

La présente invention vise aussi un moyen de stockage d'informations amovible, partiellement ou totalement, lisible par un ordinateur ou un microprocesseur conservant des instructions d'un programme informatique, permettant la mise en oeuvre d'un procédé de codage tel que ci-dessus.  The present invention also aims at a means for storing removable information, partially or totally, readable by a computer or a microprocessor retaining instructions of a computer program, allowing the implementation of a coding method such as above. .

La présente invention vise aussi un produit programme d'ordinateur pouvant être chargé dans un appareil programmable, comportant des séquences d'instructions pour mettre en oeuvre un procédé de codage tel que ci-dessus, lorsque ce programme est chargé et exécuté par l'appareil programmable.  The present invention is also directed to a computer program product which can be loaded into a programmable apparatus, comprising instruction sequences for implementing a coding method as above, when this program is loaded and executed by the apparatus programmable.

Les caractéristiques particulières et les avantages du dispositif de codage, de l'appareil de communication, des moyens de stockage et du produit programme d'ordinateur étant similaires à ceux du procédé de codage, ils ne sont pas répétés ici.  Since the particular features and advantages of the coding device, the communication apparatus, the storage means and the computer program product are similar to those of the coding method, they are not repeated here.

D'autres aspects et avantages de l'invention apparaîtront à la lecture de la description détaillée qui suit d'un mode particulier de réalisation, donné à titre d'exemple non limitatif. La description se réfère aux dessins qui l'accompagnent, dans lesquels: - la figure 1 illustre le contexte général de la présente invention; - la figure 2 est un organigramme illustrant les principales étapes d'un procédé de codage conforme à la présente invention, dans un mode particulier de réalisation; et - la figure 3 représente schématiquement un dispositif adapté à mettre en oeuvre la présente invention, dans un mode particulier de réalisation.  Other aspects and advantages of the invention will appear on reading the following detailed description of a particular embodiment given by way of non-limiting example. The description refers to the accompanying drawings in which: - Figure 1 illustrates the general context of the present invention; FIG. 2 is a flowchart illustrating the main steps of a coding method according to the present invention, in a particular embodiment; and FIG. 3 schematically represents a device adapted to implement the present invention, in a particular embodiment.

La figure 1 présente une mise en situation de l'invention. Une image numérique 1 est codée par un codeur 2 qui comporte un dispositif de codage conforme à l'invention. Ce codeur produit un fichier comprimé qui peut être transmis ou stocké (phase 3 sur le dessin). Le fichier comprimé est lu par un décodeur 4, qui produit une image décomprimée (c'est-à-dire décodée) 5.  Figure 1 presents a simulation of the invention. A digital image 1 is coded by an encoder 2 which comprises a coding device according to the invention. This encoder produces a compressed file that can be transmitted or stored (phase 3 on the drawing). The compressed file is read by a decoder 4, which produces a decompressed (i.e., decoded) image 5.

On rappelle les principales étapes du codage qui ne font pas partie de l'invention proprement dite.  The main coding steps which are not part of the invention proper are recalled.

L'image de départ est divisée en blocs, de préférence de taille 8x8 pixels. En variante, on peut utiliser d'autres tailles de bloc, comme 4x4, 10X10, voire n'utiliser qu'un seul bloc dont la taille est celle de l'image. Un certain nombre d'étapes suivantes sont appliquées à tous les blocs.  The starting image is divided into blocks, preferably 8x8 pixels in size. Alternatively, one can use other block sizes, such as 4x4, 10X10, or even use only one block whose size is that of the image. A number of subsequent steps are applied to all blocks.

On applique ensuite au bloc courant une transformation en cosinus discret. Pour plus de détails sur cette opération, on se reportera utilement à l'ouvrage de W. B. PENNEBAKER et J. L. MITCHELL intitulé "JPEG: Stil/ Image Data Compression Standard', Van Nostrand Reinhold, 1993. En variante, il est possible d'appliquer d'autres types de transformations, comme par exemple une transformation en ondelettes.  A discrete cosine transformation is then applied to the current block. For more details on this operation, reference may be made to the book by WB PENNEBAKER and JL MITCHELL entitled "JPEG: Stil / Image Compression Standard Data", Van Nostrand Reinhold, 1993. Alternatively, it is possible to apply other types of transformations, such as a wavelet transformation.

Puis le bloc courant est transformé en un bloc à une seule dimension, par application d'une technique connue en soi appelée "zigzag scan". Cette technique, décrite dans l'ouvrage de M. RABBANI et P. W. JONES intitulé "Digital Image Compression Techniques", SPIE Opt. Eng. Press, Bellingham, Washington, 1991, consiste à parcourir tous les échantillons du bloc par diagonales, en commençant en haut à gauche et en finissant en bas à droite.  Then the current block is transformed into a single-dimensional block, by applying a technique known per se called "zigzag scan". This technique, described in the book by M. RABBANI and P. W. JONES entitled "Digital Image Compression Techniques", SPIE Opt. Eng. Press, Bellingham, Washington, 1991, consists of traversing all the samples of the block diagonally, starting at the top left and ending at the bottom right.

Le bloc initial se présente sous la forme d'un bloc de données à deux dimensions de 8x8 échantillons, ces échantillons étant issus de la transformation en cosinus discret. Les échantillons sont ordonnés en considérant les diagonales d'échantillons, orientées d'en bas à gauche vers en haut à droite, en commençant par la diagonale qui se trouve en haut à gauche, jusqu'à celle qui se trouve en bas à droite. A l'intérieur d'une diagonale, les échantillons sont parcourus, soit d'en bas à gauche vers en haut à droite, soit dans le sens inverse. Parmi ces deux sens possibles, le choix est fait selon le critère suivant: le sens doit être le sens opposé à celui utilisé pour parcourir la diagonale considérée précédemment. En suivant ce sens de parcours, on range les échantillons rencontrés dans un vecteur à une dimension de 64 échantillons.  The initial block is in the form of a two-dimensional data block of 8x8 samples, these samples being derived from the discrete cosine transformation. The samples are ordered by considering the diagonals of samples, oriented from the bottom left to the top right, starting with the diagonal at the top left to the bottom right. Inside a diagonal, samples are taken from the bottom left to the top right, or in the opposite direction. Among these two possible senses, the choice is made according to the following criterion: the direction must be the direction opposite to that used to traverse the diagonal considered previously. Following this direction of travel, the samples encountered are stored in a one-dimensional vector of 64 samples.

L'invention ne se limite pas à ce type de parcours. On peut également transformer le bloc courant en le parcourant dans l'ordre lexicographique, c'est-à-dire ligne par ligne, pour engendrer le nouveau bloc à une dimension. Toutefois, dans le mode préféré de réalisation, on utilise le zigzag scan.  The invention is not limited to this type of route. One can also transform the current block by traversing it in the lexicographic order, that is, line by line, to generate the new one-dimensional block. However, in the preferred embodiment, the zigzag scan is used.

L'opération suivante consiste à quantifier le bloc courant, en utilisant une table de quantification dont l'élaboration va être décrite en détail ci-après en liaison avec la figure 2. Tous les échantillons du bloc courant vont être divisés par un pas de quantification Q présent dans la table, puis leur valeur sera arrondie à l'entier le plus proche. Le bloc quantifié est donc une liste de 64 coefficients entiers signés.  The following operation consists in quantifying the current block, using a quantization table the elaboration of which will be described in detail below with reference to FIG. 2. All the samples of the current block will be divided by a quantization step. Q in the table, then their value will be rounded to the nearest integer. The quantized block is therefore a list of 64 signed integer coefficients.

Enfin, le bloc quantifié est codé par codage entropique, par exemple par codage de Huffman ou par codage arithmétique.  Finally, the quantized block is encoded by entropy coding, for example by Huffman coding or by arithmetic coding.

Comme le montre la figure 2, une première étape El du procédé de codage conforme à la présente invention consiste, pour un utilisateur, à saisir, par exemple par l'intermédiaire d'un clavier, des pas de quantification initiaux.  As shown in FIG. 2, a first step E1 of the coding method according to the present invention consists, for a user, of entering, for example by means of a keyboard, initial quantization steps.

Dans le mode préféré de réalisation, le type de codage utilisé comporte une division de l'image en blocs de taille 8x8 pixels, avec une transformée en cosinus discret ou DCT (en anglais "Discrete Cosine Transform") 8x8 telle que celle utilisée dans la norme JPEG.  In the preferred embodiment, the type of coding used comprises a division of the image into blocks of size 8 × 8 pixels, with a discrete cosine transform or DCT (in English "Discrete Cosine Transform") 8 × 8 such as that used in FIG. JPEG standard.

Ainsi, la table de quantification finale comportera 64 pas de quantification correspondant respectivement aux 64 fréquences présentes dans un bloc DCT. En conséquence, les pas de quantification initiaux sont également au nombre de 64.  Thus, the final quantization table will have 64 quantization steps corresponding respectively to the 64 frequencies present in a DCT block. As a result, the initial quantization steps are also 64 in number.

Pour entrer ces pas de quantification, l'utilisateur peut être amené à consulter une fenêtre de dialogue dans laquelle des champs "pas de quantification" lui sont proposés. II entre une valeur pour chaque pas de quantification, dans chaque champ, puis ferme la fenêtre de dialogue.  To enter these quantization steps, the user may have to consult a dialog window in which "no quantization" fields are proposed to him. II enters a value for each quantization step, in each field, then closes the dialog window.

Dans le mode préféré de réalisation, on considère que tous les pas de quantification initiaux sont égaux. L'utilisateur entre donc une unique valeur, par exemple 10, et cette valeur sera considérée comme le pas de quantification initial de chacune des 64 fréquences du bloc courant.  In the preferred embodiment, all initial quantization steps are considered to be equal. The user therefore enters a single value, for example 10, and this value will be considered as the initial quantization step of each of the 64 frequencies of the current block.

Comme le montre le bloc E4 sur le dessin, un tableau de seuils prédéterminés pour les pas de quantification est accessible par le logiciel de compression des images.  As shown in block E4 in the drawing, an array of predetermined thresholds for the quantization steps is accessible by the image compression software.

Dans le cadre de l'invention, le tableau de seuils prédéterminés comporte en général un nombre de valeurs inférieur à 64, c'est-à-dire que certaines fréquences se voient attribuer un seuil et d'autres non. Dans le mode préféré de réalisation, le tableau comporte les valeurs suivantes: {9,10,10,11,11,11,00,00,00,...,00}. Le symbole.0 signifie qu'il n'y a pas de seuil. Ainsi, dans le mode préféré de réalisation, la première fréquence du bloc comporte un seuil de 9, la deuxième un seuil de 10, la troisième un seuil de 10, la quatrième un seuil de 11, la cinquième un seuil de 11, la sixième un seuil de 11, et aucun seuil n'est associé aux fréquences de la septième à la soixante-quatrième.  In the context of the invention, the table of predetermined thresholds generally comprises a number of values less than 64, that is to say that certain frequencies are assigned a threshold and others are not. In the preferred embodiment, the table has the following values: {9,10,10,11,11,11,00,00,00, ..., 00}. The symbol.0 means there is no threshold. Thus, in the preferred embodiment, the first frequency of the block includes a threshold of 9, the second a threshold of 10, the third a threshold of 10, the fourth a threshold of 11, the fifth a threshold of 11, the sixth a threshold of 11, and no threshold is associated with the frequencies of the seventh to the sixty-fourth.

En variante, le tableau de seuils peut se présenter sous la forme {9,10,10,11,11,11}, c'est-à-dire qu'un seuil est attribué uniquement aux 6 fréquences les plus basses du bloc courant. Ainsi, on peut choisir initialement une fréquence du bloc en deçà de laquelle toutes les fréquences auront un seuil associé, et au-delà de laquelle aucun seuil n'est associé aux fréquences.  As a variant, the threshold table can be in the form {9,10,10,11,11,11}, that is to say that a threshold is assigned only to the 6 lowest frequencies of the current block. . Thus, one can initially choose a frequency of the block below which all the frequencies will have an associated threshold, and beyond which no threshold is associated with the frequencies.

A l'issue de l'étape E1 d'entrée des pas de quantification initiaux, une étape E2 consiste à sélectionner la première fréquence, qui devient la fréquence courante.  At the end of the input step E1 of the initial quantization steps, a step E2 consists in selecting the first frequency, which becomes the current frequency.

Puis lors d'un test E3, on compare la valeur du pas de quantification initial associé à la fréquence courante avec le seuil associé à la fréquence courante. Si la valeur du pas de quantification initial associé à la fréquence courante est inférieure ou égale au seuil associé à la fréquence courante (test E3 négatif), l'étape suivante E6 consiste à stocker la valeur du pas courant dans une table appelée la table de quantification. Sinon, l'étape suivante E5 consiste à stocker la valeur du seuil courant dans la table de quantification. Si aucun seuil n'est associé à la fréquence courante, le test E3 est suivi de l'étape E6.  Then during an E3 test, the value of the initial quantization step associated with the current frequency is compared with the threshold associated with the current frequency. If the value of the initial quantization step associated with the current frequency is less than or equal to the threshold associated with the current frequency (negative test E3), the following step E6 consists in storing the value of the current step in a table called the quantification. Otherwise, the next step E5 consists in storing the value of the current threshold in the quantization table. If no threshold is associated with the current frequency, the test E3 is followed by step E6.

Les étapes E5 et E6 sont suivies d'un test E7, au cours duquel on teste si la fréquence courante est la dernière fréquence, c'est-à-dire la 64ème dans le mode préféré de réalisation. Si tel est le cas (test E7 positif), l'étape suivante est une étape E8 de codage de l'image. Sinon, l'étape suivante est une étape E9 de sélection de la fréquence suivante.  Steps E5 and E6 are followed by an E7 test, in which it is tested whether the current frequency is the last frequency, that is to say the 64th in the preferred embodiment. If this is the case (positive test E7), the next step is a step E8 encoding the image. Otherwise, the next step is a step E9 of selecting the next frequency.

Lors de l'étape E9, la fréquence qui suit la fréquence courante devient la nouvelle fréquence courante. Cette étape est suivie par le test E3 décrit ci-dessus.  In step E9, the frequency that follows the current frequency becomes the new current frequency. This step is followed by the E3 test described above.

Quant à l'étape E8, elle consiste à effectuer le codage de l'image proprement dit, en utilisant la table de quantification finale construite précédemment. Ce codage est classique et est décrit par exemple dans l'ouvrage de W. B. PENNEBAKER et J. L. MITCHELL mentionné plus haut.  As for step E8, it consists of coding the image itself, using the final quantization table previously constructed. This coding is conventional and is described for example in the work of W. B. PENNEBAKER and J. L. MITCHELL mentioned above.

Comme décrit plus haut, dans le cadre du mode particulier de réalisation considéré ici, on dispose de la liste de seuils suivante: {9,10,10,11,11, 11,00,00,00,...,00} et on suppose que le pas de quantification initial pour chaque fréquence est de 10. En conséquence, la table de quantification finale est: {9,10,10,10,...,10}. A titre d'exemple, si le pas de quantification initial pour chaque fréquence avait été de 15, la table finale aurait été : {9,10,10,11,11,11,15,15,15,...,15}.  As described above, in the context of the particular embodiment considered here, the following list of thresholds is available: {9,10,10,11,11, 11,00,00,00, ..., 00} and assume that the initial quantization step for each frequency is 10. As a result, the final quantization table is: {9,10,10,10, ..., 10}. By way of example, if the initial quantization step for each frequency had been 15, the final table would have been: {9,10,10,11,11,11,15,15,15, ..., 15 }.

Grâce à la présente invention, les fréquences les plus basses ne pourront avoir une valeur supérieure à un certain seuil. Or la demanderesse a constaté que ces fréquences basses sont celles qui engendrent des effets de discontinuité entre blocs lorsque la quantification est trop importante. Conformément à l'invention, la quantification est limitée à des valeurs telles qu'aucun effet de bloc n'est engendré.  Thanks to the present invention, the lowest frequencies can not have a value greater than a certain threshold. Now the Applicant has found that these low frequencies are those that generate discontinuity effects between blocks when the quantification is too important. According to the invention, the quantization is limited to values such that no block effect is generated.

Un dispositif 10 mettant en oeuvre le procédé de codage de l'invention est illustré sur la figure 3.  A device 10 implementing the coding method of the invention is illustrated in FIG.

Ce dispositif peut être par exemple un micro-ordinateur 10 connecté à différents périphériques, par exemple, une caméra numérique 107 (ou un scanner, ou tout moyen d'acquisition ou de stockage d'image) reliée à une carte graphique et fournissant des informations à traiter selon l'invention.  This device may be for example a microcomputer 10 connected to different peripherals, for example a digital camera 107 (or a scanner, or any means of acquiring or storing an image) connected to a graphics card and providing information to be treated according to the invention.

Le dispositif 10 comporte une interface de communication 112 reliée à un réseau 113 apte à transmettre des informations numériques. Le dispositif 10 comporte également un moyen de stockage 108 tel que par exemple un disque dur. II comporte aussi un lecteur de disquettes 109. La disquette 110, comme le disque dur 108, peuvent contenir des données d'implantation logicielle de l'invention ainsi que le code de l'invention qui, une fois lu par le dispositif 10, sera stocké sur le disque dur 108. En variante, le programme permettant au dispositif de mettre en ceuvre l'invention pourra être stocké en mémoire morte 102 (appelée ROM sur le dessin). Il en est de même pour les méthodes de codage. En seconde variante, le programme pourra être reçu pour être stocké de façon identique à celle décrite précédemment par l'intermédiaire du réseau de communication 113.  The device 10 comprises a communication interface 112 connected to a network 113 capable of transmitting digital information. The device 10 also comprises a storage means 108 such as for example a hard disk. It also includes a floppy disk drive 109. The diskette 110, like the hard disk 108, may contain software layout data of the invention as well as the code of the invention which, once read by the device 10, will be stored in the hard disk 108. Alternatively, the program allowing the device to implement the invention may be stored in ROM 102 (called ROM in the drawing). The same is true for coding methods. In the second variant, the program can be received to be stored in a manner identical to that previously described via the communication network 113.

Le dispositif 10 est relié à un microphone 111 par l'intermédiaire d'une carte d'entrées/sorties 106. Les données à traiter selon l'invention seront dans ce cas du signal audio.  The device 10 is connected to a microphone 111 via an input / output card 106. The data to be processed according to the invention will in this case be an audio signal.

Ce même dispositif possède un écran 104 permettant de visualiser les informations à traiter ou de servir d'interface avec l'utilisateur qui pourra paramétrer certains modes de traitement, à l'aide du clavier 114 ou de tout autre moyen (souris par exemple).  This same device has a screen 104 for viewing the information to be processed or to interface with the user who can set certain modes of treatment, using the keyboard 114 or any other means (mouse for example).

L'unité centrale 100 (appelée CPU sur le dessin) exécute les instructions relatives à la mise en oeuvre de l'invention, instructions stockées dans la mémoire morte 102 ou dans les autres éléments de stockage. Lors de la mise sous tension, les programmes et méthodes de traitement stockés dans une des mémoires (non volatile), par exemple la ROM 102, sont transférés dans la mémoire vive RAM 103, qui contient alors le code exécutable de l'invention ainsi que les variables nécessaires à la mise en oeuvre de l'invention. En variante, les méthodes de traitement peuvent être stockées dans différents endroits. En effet, il est possible d'améliorer l'invention en ajoutant de nouvelles méthodes transmises par le réseau de communication 113 ou par l'intermédiaire de disquettes 110. Bien entendu, les disquettes peuvent être remplacées par tout support d'information tel que CD-ROM ou carte mémoire.  The CPU 100 (called the CPU in the drawing) executes the instructions relating to the implementation of the invention, instructions stored in the read-only memory 102 or in the other storage elements. When powering up, the programs and processing methods stored in one of the (non-volatile) memories, for example the ROM 102, are transferred into the RAM RAM 103, which then contains the executable code of the invention as well as the variables necessary for the implementation of the invention. Alternatively, the methods of treatment can be stored in different places. Indeed, it is possible to improve the invention by adding new methods transmitted by the communication network 113 or by means of floppy disks 110. Of course, the diskettes can be replaced by any information medium such as CD -ROM or memory card.

Le bus de communication 101 permet la communication entre les différents sous-éléments du micro-ordinateur 10 ou liés à lui. La représentation du bus 101 n'est pas limitative et notamment, l'unité centrale 100 est susceptible de communiquer des instructions à tout sous- élément du microordinateur 10 directement ou par l'intermédiaire d'un autre sous-élément du micro-ordinateur 10.  The communication bus 101 allows communication between the various sub-elements of the microcomputer 10 or linked to it. The representation of the bus 101 is not limiting and in particular, the central unit 100 is able to communicate instructions to any sub-element of the microcomputer 10 directly or via another sub-element of the microcomputer 10 .

Le dispositif décrit ici est susceptible de contenir tout ou partie du traitement décrit dans l'invention.  The device described here is likely to contain all or part of the treatment described in the invention.

Claims (14)

REVENDICATIONS 1. Procédé de codage d'une image divisée en une pluralité de blocs de données, chaque bloc subissant une transformée en fréquences, ledit procédé étant caractérisé en ce qu'il comporte des étapes consistant à : choisir (El) une pluralité de valeurs de pas de quantification; puis, pour une pluralité de fréquences du bloc courant, - comparer (E3) le pas de quantification courant avec un seuil prédéterminé ; et - si le pas de quantification courant dépasse ledit seuil, remplacer (E5) ledit pas par ledit seuil, de façon à obtenir un pas de quantification définitif.  A method of encoding an image divided into a plurality of data blocks, each block undergoing a frequency transform, said method being characterized in that it comprises the steps of: selecting (El) a plurality of values of no quantification; then, for a plurality of frequencies of the current block, comparing (E3) the current quantization step with a predetermined threshold; and - if the current quantization step exceeds said threshold, replace (E5) said step by said threshold, so as to obtain a definitive quantization step. 2. Procédé selon la revendication 1, caractérisé en ce que ladite pluralité de fréquences est constituée d'un ensemble de fréquences inférieures à une fréquence prédéterminée.  2. Method according to claim 1, characterized in that said plurality of frequencies consists of a set of frequencies lower than a predetermined frequency. 3. Procédé selon la revendication 1 ou 2, caractérisé en ce qu'il comporte en outre une étape consistant à stocker la valeur du pas de quantification définitif dans une table de quantification.  3. Method according to claim 1 or 2, characterized in that it further comprises a step of storing the value of the definitive quantization step in a quantization table. 4. Procédé selon la revendication 1, 2 ou 3, caractérisé en ce que les blocs sont de taille 8x8 pixels.  4. Method according to claim 1, 2 or 3, characterized in that the blocks are 8x8 pixels in size. 5. Procédé selon l'une quelconque des revendications 1 à 4, caractérisé en ce que l'étape de choix de ladite pluralité de valeurs de pas de quantification consiste à choisir une même valeur pour tous les pas de quantification.  5. Method according to any one of claims 1 to 4, characterized in that the step of choosing said plurality of quantization step values consists in choosing the same value for all the quantization steps. 6. Dispositif de codage d'une image divisée en une pluralité de blocs 25 de données, chaque bloc subissant une transformée en fréquences, ledit dispositif étant caractérisé en ce qu'il comporte: - des moyens permettant à un utilisateur de saisir une pluralité de valeurs de pas de quantification; - des moyens pour comparer, pour une pluralité de fréquences du bloc courant, le pas de quantification courant avec un seuil prédéterminé ; et - des moyens pour remplacer ledit pas par ledit seuil, si le pas de quantification courant dépasse ledit seuil, lesdits moyens de remplacement fournissant un pas de quantification définitif.  6. A coding device for an image divided into a plurality of data blocks, each block undergoing a frequency transformation, said device being characterized in that it comprises: means enabling a user to input a plurality of data blocks; quantization step values; means for comparing, for a plurality of frequencies of the current block, the current quantization step with a predetermined threshold; and means for replacing said step by said threshold, if the current quantization step exceeds said threshold, said replacement means providing a definitive quantization step. 7. Dispositif selon la revendication 6, caractérisé en ce que ladite pluralité de fréquences est constituée d'un ensemble de fréquences inférieures à une fréquence prédéterminée.  7. Device according to claim 6, characterized in that said plurality of frequencies consists of a set of frequencies below a predetermined frequency. 8. Dispositif selon la revendication 6 ou 7, caractérisé en ce qu'il comporte en outre des moyens pour stocker la valeur du pas de quantification définitif dans une table de quantification.  8. Device according to claim 6 or 7, characterized in that it further comprises means for storing the value of the definitive quantization step in a quantization table. 9. Dispositif selon la revendication 6, 7 ou 8, caractérisé en ce que les blocs sont de taille 8x8 pixels.  9. Device according to claim 6, 7 or 8, characterized in that the blocks are 8x8 pixels in size. 10. Dispositif selon l'une quelconque des revendications 6 à 9, caractérisé en ce que les moyens de saisie de ladite pluralité de valeurs de pas de quantification sont adaptés à accepter une même valeur pour tous les pas de quantification.  10. Device according to any one of claims 6 to 9, characterized in that the input means of said plurality of quantization step values are adapted to accept the same value for all quantization steps. 11. Appareil de communication, caractérisé en ce qu'il comporte un dispositif de codage selon l'une quelconque des revendications 6 à 10.  11. Communication apparatus, characterized in that it comprises a coding device according to any one of claims 6 to 10. 12. Moyen de stockage d'informations lisible par un ordinateur ou un microprocesseur conservant des instructions d'un programme informatique, caractérisé en ce qu'il permet la mise en oeuvre d'un procédé de codage selon l'une quelconque des revendications 1 à 5.  12. Computer-readable information storage medium or microprocessor retaining instructions of a computer program, characterized in that it allows the implementation of a coding method according to any one of claims 1 to 5. 13. Moyen de stockage d'informations amovible, partiellement ou totalement, lisible par un ordinateur ou un microprocesseur conservant des instructions d'un programme informatique, caractérisé en ce qu'il permet la mise en oeuvre d'un procédé de codage selon l'une quelconque des revendications 1 à 5.  13. Removable or partly computer-readable information storage medium readable by a computer or a microprocessor retaining instructions of a computer program, characterized in that it allows the implementation of a coding method according to FIG. any of claims 1 to 5. 14. Produit programme d'ordinateur pouvant être chargé dans un appareil programmable, caractérisé en ce qu'il comporte des séquences d'instructions pour mettre en oeuvre un procédé de codage selon l'une quelconque des revendications 1 à 5, lorsque ce programme est chargé et exécuté par l'appareil programmable.  14. Computer program product that can be loaded into a programmable device, characterized in that it comprises instruction sequences for implementing a coding method according to any one of claims 1 to 5, when this program is loaded and executed by the programmable device.
FR0402081A 2004-03-01 2004-03-01 METHOD AND DEVICE FOR CODING AN IMAGE Expired - Fee Related FR2866997B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
FR0402081A FR2866997B1 (en) 2004-03-01 2004-03-01 METHOD AND DEVICE FOR CODING AN IMAGE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
FR0402081A FR2866997B1 (en) 2004-03-01 2004-03-01 METHOD AND DEVICE FOR CODING AN IMAGE

Publications (2)

Publication Number Publication Date
FR2866997A1 true FR2866997A1 (en) 2005-09-02
FR2866997B1 FR2866997B1 (en) 2006-07-07

Family

ID=34834152

Family Applications (1)

Application Number Title Priority Date Filing Date
FR0402081A Expired - Fee Related FR2866997B1 (en) 2004-03-01 2004-03-01 METHOD AND DEVICE FOR CODING AN IMAGE

Country Status (1)

Country Link
FR (1) FR2866997B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5883979A (en) * 1995-03-27 1999-03-16 Hewlett-Packard Company Method for selecting JPEG quantization tables for low bandwidth applications

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5883979A (en) * 1995-03-27 1999-03-16 Hewlett-Packard Company Method for selecting JPEG quantization tables for low bandwidth applications

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FONG W C ET AL: "Determination of the visibility thresholds for subband image coding", CIRCUITS AND SYSTEMS, 1997. ISCAS '97., PROCEEDINGS OF 1997 IEEE INTERNATIONAL SYMPOSIUM ON HONG KONG 9-12 JUNE 1997, NEW YORK, NY, USA,IEEE, US, 9 June 1997 (1997-06-09), pages 1121 - 1124, XP010236410, ISBN: 0-7803-3583-X *
JIEBO LUO ET AL: "A triage method of determining the extent of JPEG compression artifacts", PROCEEDINGS 2002 INTERNATIONAL CONFERENCE ON IMAGE PROCESSING. ICIP 2002. ROCHESTER, NY, SEPT. 22 - 25, 2002, INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, NEW YORK, NY : IEEE, US, vol. VOL. 2 OF 3, 22 September 2002 (2002-09-22), pages 473 - 476, XP010607363, ISBN: 0-7803-7622-6 *
PANCHANATHAN S ET AL: "JPEG based scalable image compression", COMPUTER COMMUNICATIONS, ELSEVIER SCIENCE PUBLISHERS BV, AMSTERDAM, NL, vol. 19, no. 12, 1 October 1996 (1996-10-01), pages 1001 - 1013, XP004052784, ISSN: 0140-3664 *

Also Published As

Publication number Publication date
FR2866997B1 (en) 2006-07-07

Similar Documents

Publication Publication Date Title
EP2777270B1 (en) Procedure for coding and decoding of images, apparatus for coding and decoding and corresponding computer programs
EP2777269B1 (en) Method for encoding and decoding images, encoding and decoding device, and corresponding computer programs
FR2785426A1 (en) Insertion and detection of hidden watermark in digital image or audio data uses decoded component coefficients that are modulated by signal representing watermarking information to form watermark coefficients
FR2803710A1 (en) Digital image watermarking having representative image coefficient found and nearby coefficients selected following dictionary and these coefficients modified following dictionary selected coefficients.
Nikolaidis Reversible data hiding in JPEG images utilising zero quantised coefficients
FR2835366A1 (en) Method and device for the forming of a reduced compressed digital signal
FR2842691A1 (en) METHOD AND DEVICE FOR TRANSFORMING A DIGITAL SIGNAL
FR2787604A1 (en) Insertion of secret mark and authentication of compressed digital image
FR2842983A1 (en) TRANSCODING OF DATA
Pearlman et al. Set partition coding: Part I of set partition coding and image wavelet coding systems
EP0389050B1 (en) Digital video signals encoding device
FR2849982A1 (en) Coded digital image decoding method, involves decoding image to preset resolution based on determined preset resolution quantity of data, and selecting decoded image based on relation between selected and preset resolutions
FR2906093A1 (en) METHODS AND DEVICES FOR ENCODING AND DECODING, TELECOMMUNICATION SYSTEM AND COMPUTER PROGRAM USING THE SAME
FR2866997A1 (en) Digital image encoding method, involves choosing same values for quantization steps, and comparing steps with predetermined threshold, for set of frequencies lower than predetermined frequencies
FR2927744A1 (en) Digital signal filtering method for telecommunication system, involves determining optimal filter based on criterion that depends on values of sub-signal, and associating optimal filter with context function corresponding to sub-signal
FR2872972A1 (en) METHOD AND DEVICE FOR VIDEO TRANSMISSION BETWEEN A SERVER AND A CLIENT
Avila-Domenech et al. Improving the robustness of DCT-based handwritten document image watermarking against JPEG-compression
FR2812506A1 (en) ALARM METHOD AND DEVICE DURING THE PROGRESSIVE DECODING OF A DIGITAL IMAGE CODED WITH A REGION OF INTEREST
EP3520416B1 (en) Method for encoding an image and associated decoding method, devices, terminal equipment and computer programs
Taskovski et al. Digital watermarking in wavelet domain
FR2835665A1 (en) CODING AND DECODING OF DIGITAL SIGNALS
FR2858161A1 (en) Digital samples e.g. fixed image, coding method, involves calculating, for each sub-path, coding costs associated with two modes of coding, and selecting sub-path presenting optimal coding cost according to preset criteria
FR2787222A1 (en) Method of geometrically transforming a digital compressed image in computer communication network by transmitting a compressed image file that is performed by selection device
FR2805941A1 (en) JPEG fixed image compression bit ordering method for a state word representing the state of a coefficient at the moment of entropy coding with several passes of the coefficient
FR2832875A1 (en) Method and device for coding and decoding of digital signal, in particular for still images with compression

Legal Events

Date Code Title Description
ST Notification of lapse

Effective date: 20141128