| CPC G06T 9/00 (2013.01) [H04N 19/90 (2014.11); G06V 10/44 (2022.01)] | 12 Claims |

|
1. A method for encoding a digital image formed by a set of N pixels (pij) for compression thereof, the digital image being defined as a cloud of N points (i, j, fij), designated as vertices (vk), associating the set of N pixels (pij) with a scalar intensity value (fij), the method comprising the following steps:
a) ordering N vertices (vk) in increasing order of scalar intensity values (fij) in a vertex table, wherein the ordering step comprises applying a discrimination rule so as to order, in the vertex table, two vertices having the same scalar intensity value;
b) initializing an iteration index i and a class index c to 0, initializing a starting simplicial complex (K0) to an empty set and repeating the sequence of the following operations until the iteration index i reaches N:
incrementing the iteration index i;
extracting the vertex of rank i (vi) from the vertex table and checking whether the vertex of rank i (vi) is in the neighborhood of a vertex comprised in the simplicial complex of rank i−1 (Ki−1); and
if no vertex of the simplicial complex of rank i (Ki) is in the neighborhood of the vertex of rank i (vi), incrementing the rank of class c, forming the simplicial complex of rank i (Ki) by adding a new class (Cc) composed of the vertex of rank i (vi) to the simplicial complex of rank i−1 (Ki−1), and assigning rank c to the new class (Cc);
if at least one vertex of a single class of the simplicial complex of rank i (Ki) is in the neighborhood of the vertex of rank i (vi), forming the simplicial complex of rank i (Ki) by adding the vertex of rank i (vi) to the simplicial complex of rank i−1 (Ki−1) in this one class;
if several vertices of a plurality of classes of the simplicial complex of rank i (Ki) are in the neighborhood of the vertex of rank i (vi), forming the simplicial complex of rank i (Ki) by grouping together, in the simplicial complex of rank i−1 (Ki−1), the vertices forming this plurality of classes and the vertex of rank i (vi) in the class of lowest rank and forming a persistence pair comprising:
i. the first vertex (vic) corresponding to the lowest rank vertex in the lowest rank class of the plurality of classes of the simplicial complex of rank i (Ki), this rank being called the appearance rank of the persistence pair (ic); and
ii. the second vertex (vid) corresponding to the vertex of rank of index i (vi), this rank i being called the disappearance rank of the persistence pair (id); and
in a decimation step, calculating, for each persistence pair (vic, vid) identified, a lifetime associated with the persistence pair (vic, vid) calculated as a difference between the disappearance rank of the persistence pair (id) and the appearance rank of the persistence pair (ic), and retaining, in a restricted list, some of the persistence pairs (vic, vid) exhibiting the longest lifetimes;
the encoded digital image comprising at least some pixels (pij) corresponding to the vertices constituting the persistence pairs (vic, vid) of the restricted list.
|