Method for recording a digital image
By encoding digital images as a matrix of pixels with separation lines and gradients, the method addresses the challenges of maintaining quality during enlargement and improving compression efficiency, achieving sharper and more efficient image representation.
Patent Information
- Application Number
- FR2022007740
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-07-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-07-27
AI Technical Summary
Existing image formats, such as raster and vector images, struggle to maintain quality during enlargement, particularly in representing photographs with diverse textures, shadows, gradients, and micro-defects, while also being inefficient in compression, decompression, and display processing.
A method of recording digital images as a matrix of pixels, where each pixel is divided by separation lines and spatial gradients, allowing for adjustable visibility and encoding gradients within the pixel domains, facilitating compression and decompression through wavelet or DCT transformations.
The method enhances image quality during enlargement, reduces artificiality, and improves compression efficiency, maintaining sharpness and detail in textures, while requiring less data and processing time compared to traditional formats.
Smart Images

Figure 00000039_0000 
Figure 00000039_0001 
Figure 00000040_0000
Abstract
Description
Description Title of the invention: Method for recording an image digital Technical field
[0001] — The present invention relates to a method of recording a digital image in a computer format, as well as a method of displaying, pixelating, rasterizing terization, compression and / or decompression of such an image and a product computer program comprising computer code instructions for perform any of these processes.
[0002] The field of the invention is more particularly but not limited to that of images acquired by a digital sensor, within a smartphone or tablet or webcam or digital camera or photographic device digital SLR or bridge, or other. State of the prior art
[0003] — We know the image formats called represented by pixels, or bitmap, or raster image, one pixel of which is illustrated in [Fig.la].
[0004] We know the formats of so-called vectorized or vector images.
[0005] — A vector image is composed of geometric objects such as line segments straight lines, arcs of circles, or more generally curves, which define lines of a certain thickness, as well as surfaces of various delimited shapes generally by polygons, or by other shapes derived from curves.
[0006] These objects can be superimposed. In this case, an order of representation is defined to know which object is represented first and partially hidden by another, and and so on. The advantage of this representation is that in case of enlargement, it is possible to maintain a precise definition, for example, of the contours of objects, or still filled areas, which is not possible with so-called matrix images for which pixels are perceived beyond a certain magnification.
[0007] — Images represented in matrix format therefore do not support enlargement well. In fact, the latter makes the drawing of pixels appear which become large, when enlarging the image. These enlarged images are unpleasant to look because it has a mosaic of pixels. In addition, pixel vision can make lose perception of the information contained in the image, or blur it. We can convince yourself by enlarging an image of writing at the limit of resolution of the pixels. By enlarging it, we often lose the meaning of what is writing.
[0008] — Vectorized images generally have an “artificial” character, too perfect. In Indeed, they can result from drawings of primitives such as the drawing of a rectangle, a circle, or even a closed polygon filled with a certain color. Images of the real world almost systematically include brightness gradients linked, among other things, to their variable inclinations in relation to the light sources, to the non-homogeneity of these sources. In addition, objects of the real world are very often covered with defects such as scratches, dust, more or less fine, discolorations linked to light, weft of fabrics, veins of tree leaves, strands of threads of a rope, hair, etc. And living beings and animals generally have more asperities than objects not directly derived from nature, such as wrinkles, hair, fur, redness, wood veins... which are all elements very different from a pure geometric primitive, unless it is given a very reduced size, which can multiply the number to the extreme. Also, some vectorized image languages include the possibility of adding filters, such as VML, which have the effect of blurring the edges of images, making them less sharp and a little more in line with real images. They also allow the application of color gradients, making these primitives less uniform in their texture, which corresponds to notions of color gradients added to the properties of a surface delimited by an object in order to better represent the effects of reality. We therefore notice the effects of vectorization, which for example cause the loss of details of the light bands rolled up on a hat, which contain a weft or a gather of the fabric perpendicular to the bands, which disappears with vectorization. Similarly, a fur loses its wire details, to become only continuous masses, the same for the hair. Note that despite these losses, the vectorized image can contain a notion of color gradient. The presence of these gradients is not enough to restore the notions of hair and the details of the fabric bands. This example confirms that the vectorization of an image does not generally allow to reproduce all the nuances, except by using extremely fine objects, for example a curve for each hair. In the latter case, we would end up with an extreme quantity of objects, weighing down the representation. So, despite the improvements that come from taking gradients into account, the images obtained by vectorization generally retain a perceptible artificial character, unless a lot of objects are used, or numerous effects are applied, as can be done in software that renders digital games, or digital synthesis of film images, at the cost of numerous calculations. Vectorized images are therefore not a suitable format for representing photographs, which by nature contain an extreme diversity of textures, shadows, gradients, micro-defects. Also, software tools exporting images from camera modules (for taking single images of photography, or multiple images constituting a film), work intrinsically on fields or matrices of pixels, and compress them into formats compatible with this representation in pixel field (such as jpeg, .png), to reduce the size of the files of these images or videos. But these raster images do not support enlargement, except to lose significantly in quality during the visualization, on the contours, the lines, the textures with significant spatial variation, except to generate them initially with a very fine spatial sampling in agreement with the maximum foreseeable enlargement, which generates a very large number of pixels and, very large associated files, even with compression. Finally, in this state of the art, we will note that the raster image is potentially much faster to render because it is sufficient to browse the data table of the pixels of the image according to a double loop. For a vectorized image, it is necessary to browse at the steps of the desired rendering density each object of a list of objects, for example to create the output of this image towards a raster representation compatible with a display screen, therefore according to the step of these pixels. If the number of objects is very high, to represent all the richness of a real image, for example to obtain details such as the texture, these calculations can represent a quantity of calculations much higher than the processing of the raster image, at a given quality of rendering. The aim of the present invention is to propose a method for recording a digital image in a computer format, allowing, compared to the state of the art: To reduce the impression of artificiality in the image, and / or To be more suitable for the representation of photographs and / or images featuring an extreme diversity of textures, shadows, gradients, micro-defects, and / or To better support enlargement, without losing significant quality during of visualization, on contours, lines, textures with spatial variation significant, and / or To facilitate compression / decompression processing, or display, and / Or to require less data, at equivalent quality, and / or to have better quality, for an equivalent quantity of data, and / or to reduce its processing time. Statement of the invention This objective is achieved by a method (typically computer-implemented) of recording a digital image in a computer format, said image or at least a portion of the image being encoded and recorded in the form of a matrix of pixels in which each pixel considered among at least one or more pixels of the matrix comprises: at least one separation line within the pixel considered, separating the pixel considered in at least two areas, and / or at least one spatial gradient of color and / or hue and / or brightness at within the pixel considered or at least one of the domains of the pixel considered. Each separation line within the considered pixel can be coded by two data comprising: Two points on a perimeter of the pixel considered, and / or A distance, preferably from the center of the pixel considered, and a corner. Separation lines from several neighboring pixels can join together to form a continuous line crossing these several neighboring pixels. The at least one gradient within the pixel considered or at least one of the domains of the pixel considered may comprise: A brightness gradient, and / or One or more gradients corresponding respectively to one or more color(s) and / or shade(s). The at least one gradient within the pixel considered or at least one of the domains of the pixel considered can be coded by: — two spatial components, or A single spatial component with respect to the at least one se- preparation within the pixel considered. At least one brightness and / or color and / or hue within the pixel considered or at least one of the domains of the pixel considered may depend on a brightness and / or color and / or hue of at least one pixel neighboring the pixel considered or at least one domain of a pixel neighboring the pixel considered. At least one brightness and / or color and / or hue gradient within the pixel considered or at least one of the domains of the pixel considered may depend on a brightness and / or color and / or hue gradient of at least one pixel neighboring the pixel considered or at least one domain of a pixel neighboring the pixel considered. All pixels in the pixel array can have the same dimensions. The at least one dividing line may have a viewable state with a viewing surface. The at least one separation line may itself comprise a spatial gradient making it possible to modulate, when it is visible or displayed, its brightness(ies) and / or color(s) and / or tint(s). The at least one dividing line can be switched between its viewable state and a non-viewable state. The at least one dividing line can be switched between an active state and an inactive state. The method according to the invention may comprise a deactivation of the at least one separation line of the pixel considered if this pixel considered is sampled below a certain spatial sampling threshold. The method according to the invention can be implemented in an embedded manner in a software module which is added to or integrated into a web browser, for taking into account the recorded images, possibly their compression or decompression, and / or their visualization in part or in the whole of a screen in interaction with the web browser. In some embodiments: - textual information represented by pointing symbols in a font, and / or - drawings of objects embedded in the form of raster or vector sub-images can be added directly to the recorded image or added during its viewing, in order to be viewable, possibly according to a particular selection which only shows all or part of it, during a restitution of the recorded image. Metadata can be added to the recorded image. According to yet another aspect of the invention, a method is proposed: - for displaying an initial image as a so-called final image on a screen comprising groups of photogenerators, or - pixelating or rasterizing said initial image into a final image comprising final pixels devoid of a separation line and / or spatial gradient of color and / or hue and / or brightness within these final pixels, said initial image being recorded according to a recording method according to the invention, characterized in that it comprises: For each final pixel considered or each group of photogenerators considered, a transcription of at least initial pixel or at least one initial pixel domain in this final pixel or group of photogenerators considered: from the brightness and / or color and / or hue components of this at least one initial pixel or at least one initial pixel domain towards this final pixel or group of photogenerators considered, the transcription being done in proportion to this at least initial pixel or at least one initial pixel domain within a common surface facing between: this at least one initial pixel or at least one initial pixel domain and the final pixel or photogenerator group considered. For transcription, if the final pixel or group of photogenerators considered is opposite different initial pixels and / or areas of the initial pixels, its brightness and / or color and / or hue components can be a weighted average in proportion to the respective surfaces of these different initial pixels and / or areas of the initial pixels opposite the final pixel or group of photogenerators considered. For transcription, the brightness and / or color and / or hue components of an initial pixel can be modulated by the spatial gradient values of each part of the initial pixel domain with respect to the final pixel or group of photogenerators considered. A separation line of an initial pixel can be used to be visualized and contribute to the brightnesses and / or colors and / or hues of at least the final pixel or group of photogenerators considered, in proportion to a viewing surface of at least part of the separation line opposite the final pixel or group of photogenerators considered. According to yet another aspect of the invention, there is provided a method for compressing or decompressing an initial image recorded according to a recording method according to the invention, characterized in that the initial image is respectively compressed or decompressed into a respectively compressed or decompressed image respectively by reducing the volume of information representing the compressed image thanks to the compression, or by increasing the volume of information representing the decompressed image thanks to the decompression, the compression or decompression relating to at least one component among the color(s) and / or the hue(s) and / or the brightness and / or the at least one separation line and / or the at least one spatial gradient within each initial pixel considered. The initial image can be compressed or decompressed respectively so as to make its content directly viewable using a display or pixelation or rasterization process according to the invention. The initial image can be compressed or decompressed respectively, using a wavelet transformation of each component to be compressed. The initial image can be compressed or decompressed respectively, using a Discrete Cosine Transformation (DCT). The method according to the invention may comprise, after compression or decompression, a search for identical sequences, and an indexing of these sequences and replacement of each repeated sequence by its index in a flow of data or information of the image. The method according to the invention may use lossy compression on at least a component among the color(s) and / or the hue(s) and / or the brightness and / or the at least one separation line and / or the at least one spatial gradient of each initial pixel considered or of the at least one separation within each initial pixel considered, and without loss on at least one other component among activation of the at least one separation, and / or visualization of the at least one separation and / or width of the at least one separation. According to yet another aspect of the invention, there is provided a computer program product or a computer program comprising instructions: - computer code for executing any of the methods according to the invention previously set out, and / or - which, when the program is executed by a computer and / or a processor and / or any computer means, lead the latter to implement any of the methods according to the invention previously set out. According to yet another aspect of the invention, there is provided a (computer-readable) data carrier, on which a computer program product or a computer program according to the invention is recorded (preferably non-transitorily). Description of figures and embodiments Other advantages and particularities of the invention will appear on reading the detailed description of implementations and embodiments which are in no way limiting, and the following appended drawings: [Fig.1a] [Fig.1a] illustrates a pixel according to the prior art, having as property three colors R, G, B. Its position is that of its X,Y position represented by the indexing to access it, which translates its position in the image, [Fig.1b] [Fig.1b] illustrates a pixel 2 according to the invention, called sgpixel, comprising: a number a (for example 1 byte), referenced 62, representing an angle (by example relative to the horizontal) of the line passing through the center of the pixel 2 and perpendicular to a separation line 3 within this pixel 2, a distance d, algebraic (therefore signed), referenced 61, which identifies the distance between the center of the pixel and the separation 3 in the sgpixel 2, and therefore marks, with a, the position of separation 3 in sgpixel 2, A gradient 4 applying for example to the brightness, and therefore the 3 colors, to define a variation of brightness inside the sgpixel 2, more precisely inside one of the 31 domains of sgpixel 2. The direction of gradient 4 is assumed to be parallel to the segment of distance 61 and therefore per- pendicular to separation 3 (so the direction of gradient 4 is positioned by the angle 62). In another mode, we represent the gradient 4 by two co- ordinates in the X, Y frame. [Fig.2] [Fig.2] illustrates a conversion of a 2 sgpixel image recorded according to the method 1 according to the invention and to be converted to a 4 x 4 matrix of final pixels 7 of a conventional bitmap image or groups 7 of photogenerators (filled squares) of a screen which shows the 2 sgpixel image, [Fig.3] [Fig.3] illustrates a variant of [Fig.2] which takes into account the exact position of the R, G, B generators in each final pixel 7 of the screen, [Fig.4] [Fig.4] illustrates different steps 11, 12, 13 of method 1 which can follow one another several times and in any order, [Fig.5] [Fig.5] illustrates a matrix image according to the state of the art, [Fig.6] [Fig.6] illustrates an image according to the invention with sgpixels according to the invention. Since these embodiments are in no way limiting, it is possible in particular to consider variants of the invention comprising only a selection of characteristics described or illustrated subsequently isolated from the other characteristics described or illustrated (even if this selection is isolated within a sentence comprising these other characteristics), if this selection of characteristics is sufficient to confer a technical advantage or to differentiate the invention compared to the state of the prior art. This selection comprises at least one preferably functional characteristic without structural details, and / or with only a part of the structural details if this part alone is sufficient to confer a technical advantage or to differentiate the invention compared to the state of the prior art. We will first describe, with reference to figures 1b and 2 to 4, examples of implementations of a method 1 according to the invention. These examples therefore relate to a method 1 of recording 11 (in a random access memory and / or in a read-only memory and / or a computer or any other computer means or system) a digital image in a computer format, said image or at least part of the image being coded and recorded 11 in the form of a matrix of pixels in which each pixel considered 2 (called sgpixel as explained below) among at least one or more or all of the pixels of the matrix comprises: at least one dividing line 3 (straight or curved, preferably straight) at the within the pixel considered 2, separating the pixel considered 2 at least in two domains 30 (distinguished by references 31 and 32 in [Fig.1b], 2 and 3 cor- corresponding to the case of a single line 3 separating into two domains 30; in variants, we can have two, three, four or more lines 3 separating a sgpixel 2 in three, four, five or more areas 30, these lines may cross or touch each other), and / or at least one 4 color spatial gradient (e.g. a 4 gradient by color) and / or tint (for example a gradient 4 per tint) and / or lu- minosity within the pixel considered 2 or within at least one of the domains 30, 31, 32 of the considered pixel 2. The terms "gradient 4" and "variability 4" and "variation 4" and "spatial variation 4" are used in this description equivalently. The terms “separation line 3” and “separation 3” are used interchangeably in this description. Each sgpixel includes at least one 3-line separation and / or at least one 4-gradient in that it includes data relating to this at least one 3-line separation and / or at least one 4-gradient, even if only a few would have non-zero 3-line separation or 4-gradient properties. Indeed, this allows the memory representation to be normalized; otherwise, this creates the obligation to make variable-size fields, but in return, these variable-size fields can take up less memory space, overall, if few pixels are concerned, and the fact of not allocating memory to zero 3-line separation and / or 4-gradient fields can already be seen as a form of compression. LZ77 type coding is a way to replace sequences that repeat themselves with a reference to a previous identical sequence, which avoids rewriting the sequence, just replacing it with its location and length, which takes up much less space. Similarly, if we reduce the notion of sequence to the 3 components R, G, B of a pixel, the TIFF format is also a way to compress an image by replacing identical codes repeated for pixels of a line having the same color, with a sequence that says at once: "there are a fields of such color in the n following pixels", for example. Thus, the implementation of the method | is done by adding properties to each sgpixel 2 among all or part of the pixels of the image representing an image: - by at least one gradient 4, we can add a property of spatial variation of color(s) and / or brightness and / or hue(s) within the sgpixel 2. Different implementations are possible. - by at least one separation line 3, we can add a separation property within the sgpixel 2. Preferably, in order to obtain the best advantages of the invention, it is recommended to add the possibility of these two properties 3, 4 together for the sgpixels 2. However, the addition of only one of these properties 3, 4 already provides a significant improvement. For the at least one separation line 3, the outline of the objects is significantly improved during enlargement. For the at least one gradient 4, the texture of the objects is significantly sharper, with the absence of pixel slots on gradients of color(s) and / or brightness and / or hue(s) for objects with sharp contours not parallel to the main axes of the image (therefore different, from 0, 90°, and also 45° and -45°) which are the least well rendered by the prior art. By default, all angle values in this description are given relative to the horizontal X axis of the 2 or 7 pixel array. We call the pixels modified 2 by the process | sgpixels 2 in the rest of the presentation, "sg" as "separable and gradable" (to indicate the notion of spatial variation rate of one or more color, hue or brightness components of the pixel). Preferably, the pixel array comprises or consists of a 9 sgpixel array. The axes of the image plane, perpendicular to each other, are called X and Y. The Z axis if used is the axis perpendicular to X and Y. Method 1 can be applied to images with a transparency channel (usually called an Alpha channel), or any other complementary channel. Each separation line 3 within the considered sgpixel 2 is coded by two data comprising: Two points 51, 52 on a perimeter 53 of the sgpixel 2 considered, and / or A distance 61, preferably from the center of the considered sgpixel 2, and an angle 62. Preferably all sgpixels 2 and / or generally all pixels in the pixel matrix have the same dimensions, but a variant with different dimensions is also possible. Thus: preferentially, these sgpixels 2 are arranged according to a predefined order in rows and columns (or vice versa), from a global definition of the number of rows and columns, and overall of their dimension ratio if it is not equal to 1. This saves writing a position property and / or outline of each sgpixel 2 which is implicitly deduced from the position in the table. Also, an iterative elementary treatment is facilitated. This ar- storage is already known from the prior art for the 'bitmap' representation of an image; but if the image to be represented has very low density and significant areas- fictive on the surface, we can opt for a realization which adds variable position and / or dimension properties of each sgpixel 2, by example obtained by a code which points to a table or a convention global. For example, we can decide on 2 types of sgpixels 2, squares elem- mentaries of dimension uxu, and the other type of squares of 2u x 2u. It is enough to dedicate a bit of information to know what type of sgpixel 2 it is, and put a rule in place to convert the position in the table into position in the image taking into account the cumulative width of the sgpixels 2 previously encountered. The method 1 is preferably implemented in an embedded manner in a software module which is added to or integrated into a web browser, for taking into account the images recorded according to the method 1, possibly their compression or decompression 12 as described below, and / or their visualization or display 13 in part or in the whole of a screen in interaction with the web browser. Likewise : - textual information represented by pointing symbols in a font, and / or - drawings of objects embedded in the form of matrix or vectorized sub-images can be added directly to the image recorded according to method 1 or added during its viewing 13, in order to be viewable, possibly according to a particular selection which only shows all or part of it, during a restitution of the recorded image. Thus, method 1 can be applied: - to images which receive (from another channel) textual information coded by character codes, activating symbols on the image (such as subtitles for example, or an overload with characters), and / or - to images that receive vectorized elements in addition to pixels. Similarly, metadata can be added to the saved image using method 1. Implementing the gradient property 4 (or spatial variation) of color(s) and / or hue(s) and / or brightness With reference to [Fig.2], we see that separation lines 3 of several neighboring sgpixels 2 can be assembled by juxtaposition so as to form a continuous line crossing these several neighboring sgpixels 2. Each sgpixel 2 considered can have 8 neighboring pixels or sgpixels (if it is not located on an edge of the pixel matrix): at the top of this sgpixel considered: a neighboring pixel or sgpixel NORTH, for which we can subsequently use an index N at the bottom of this sgpixel considered: a neighboring pixel or sgpixel SOUTH, for which we can subsequently use an index S to the left of this sgpixel considered: a neighboring pixel or sgpixel WEST, for which we can subsequently use an index O to the right of this sgpixel considered: a neighboring pixel or sgpixel IS, for which we can subsequently use an index E top left of this sgpixel considered: a NORTH neighboring pixel or sgpixel WEST, for which we can subsequently use a NO index top right of this sgpixel considered: a NORTH neighboring pixel or sgpixel EST, for which we can subsequently use an NE index bottom left of this sgpixel considered: a neighboring pixel or sgpixel SOUTH WEST, for which we can subsequently use an SO index bottom right of this sgpixel considered: a neighboring pixel or sgpixel SOUTH EAST, for which we can subsequently use an SE index. The at least one gradient 4 within the sgpixel considered 2 or within at least one of the domains 30, 31, 32 of the sgpixel 2 considered or, as will be seen later, within the at least one separation line 3 of the sgpixel 2 considered comprises: A gradient of 4 brightness, and / or One or more gradients 4 corresponding respectively to one or more color(s) and / or shade(s). Each gradient 4 among the at least one gradient 4 within the sgpixel 2 considered or of the at least one of the domains 30, 31, 32 of the sgpixel 2 considered or of the at least one separation line 3 of the sgpixel 2 considered is coded by: — two spatial components preferably along the X and Ÿ directions to define the direction and the modulus of the vector of this gradient 4, or A single spatial component (which therefore corresponds to the norm of the vector of the gradient 4) defined (preferably perpendicular to a line of se- preparation 3 by default, which avoids having to memorize this data) by relative to at least one separation line 3 within the sgpixel 2 considered. This separation line 3 thus makes it possible to define the direction of the vector of the gradient 4, for example always considering by default that the vector of the gradient 4 is always perpendicular to this line 3 which by default is a straight line. We can thus represent the spatial gradient 4: according to 2 coordinates X and Y, or just by a value (preferably signed), its angle being by definition per- pendicular to separation 3 (even inactive), i.e. a spatial gradient 4 according to a single coordinate. Gradient 4 can be applied: to all the (color) components at once, therefore to a combination of these latter, which can be assimilated to a notion of luminosity for example, or differently to the different components of color or shade, which gives more data to use than a single gradient vector (with 2 coordinates) : 4 or 6 X Ÿ coordinates for each color, or 2 to 3 coordinates of signed amplitude of variation, if the angle is known from separation 3 (active or not). The notion of spatial gradient 4 (first derivative(s)) can be completed by one or more terms of order higher than one (second derivatives, thirds, etc.), in order to better connect the jumps in brightness and / or color(s) and / or hue(s) slope between the sgpixels 2. Implementation of Separation Property 3 Each separation 3 is an object of segment type, or even curved line, placed according to a set of parameters on the sgpixel 2 considered, separating it into several distinct domains 30, in particular each domain 30 can have a definition of color(s) and / or tint(s) and / or brightness which is specific to it and independent of the other domain(s) of this same sgpixel considered 2. Optionally, there may be several (more than one) 3 separations per sgpixel 2, i.e. more than two 30 domains per sgpixel 2. As explained previously, in the case of a separation 3 which is a segment, this separation 3 defines its relative position in the sgpixel 2 either by the position of 2 points A (referenced 51) and B (reference 52) on the contours 53 of the sgpixel 2 or by the knowledge of a distance 61 to the center of the sgpixel 2 and an angle 62 (polar coordinates). Each 3-separation of a sgpixel 2 separates this sgpixel 2 into at least two 30 domains (for example, for two 3-separations crossing each other, each 3-separation will have two 30 domains on each of its sides, i.e. 4 domains in total within a sgpixel 2) and: - each domain 30, 31, 32 has a set of color(s), tint(s), brightness, and spatial variation(s) properties 4 if this variation 4 is implemented), or - at least one domain 30, 31 is described by a set of properties of color(s), hue(s), brightness and / or gradient(s) 4 of its own, the at least one other domain 30, 32 inherits color(s), hue(s), brightness and / or gradient(s) 4 of neighboring pixels or sgpixel(s). This solution is preferred over the solution of defining in its own right in the sgpixel 2 a set of color(s), hue(s), brightness and / or gradient(s) 4 for each domain 30, 31, 32. Indeed, the memory borrowing to describe the image is reduced accordingly, and the inheritance of color(s), hue(s), brightness and / or gradient(s) 4 from the neighboring pixel(s) or sgpixel(s) naturally creates an extension of color(s), hue(s), brightness and / or gradient(s) 4 in continuity with these sgpixels 2.The disadvantages being that it is necessary to establish some rules on how to read neighboring pixels or sgpixels, and if necessary to mix the information of several contiguous or close pixels or sgpixels between them and in relation to the region of the sgpixel 2 which must be made to inherit properties of color(s), tint(s), brightness and / or gradient(s) 4 as described in a little more detail later. As illustrated in Figures 2 and 3, each separation line 3 has a visualizable state with a visualization surface (which corresponds for example to the product of the length by the width of the line allowing this separation line 3 to be visualized) with its own brightness and / or color(s) and / or tint(s). By viewable is meant a state of the separation line 3 for which this line 3 is or will be displayed and viewed with its viewing surface when it is (if a display is in progress) or will be (if a display is not in progress) displayed on a screen. This viewing surface is in arbitrary units, for example defined relative to the surface of pixel 2 comprising this separation line 3. Furthermore, the at least one separation line 3 may itself comprise a spatial gradient making it possible to modulate, when it is displayed or displayable, its brightness and / or color(s) and / or tint(s). In method 1, the at least one dividing line 3 can be switched between its viewable or visible state (with its viewing surface) and a non-viewable or invisible state. So each 3 separation can be made visible or invisible. In the case where a separation 3 is made visible, a set of thickness or width and length or viewing surface is added to it, and possibly a set of color(s) and / or tint(s) and / or brightness, and / or spatial variation(s) 4 of color(s) and / or tint(s) and / or brightness, with all or part of these properties specific to this separation, and / or all or part of these properties defined globally for all the separations 3 of all the sgpixels of the image. In the case where a separation 3 is made invisible, it no longer has a visualization surface (but is still coded and recorded by process 1, in particular for its position within its sgpixel 2, but under an “invisible” status or state) The at least one separation line 3 can also be switched between an active state and an inactive state. Thus each separation 3 can be active or inactive. When it is inactive (and still coded and recorded by the method 1, in particular for its position within its sgpixel 2, but under an “inactive” status or state) and it is the only separation 3 of a sgpixel 2, this sgpixel 2 is considered only as a single domain, in particular to uniformly apply its color(s), hue(s), and / or brightness information and / or its gradient(s) 4 (if used and non-zero) of color(s), hue(s), and / or brightness. If separation 3 is inactive and variability 4 of color(s), tint(s), and / or brightness is at zero value, we therefore find the visual rendering of a 'classic' pixel of the prior art, even if method 1 will be quite distinct from the prior art due to a specific coding or recording of these zero values. So each 3-partition line can have a state: Active and visualizable or visualized: it is active, therefore it marks a se- separation between several domains 30, and we see it with its visual surface- lization Active and not visualizable or not visualized: it is active, therefore it marks a separation between several domains 30, but we cannot see it, in other words this line 3 is a line with a straight length or curvilinear but has zero thickness or width, Not Active and not viewable or not viewed: it is not active, therefore it does not mark a separation between several domains 30, and one cannot see, in other words this line 3 is a line with a straight length or curvilinear but has zero thickness or width. Not Active and viewable or viewed: it is not active, so it does not does not mark a separation between several domains 30, but we see it with its viewing surface. Typically, the method comprises deactivating the at least one separation line 3 of the considered sgpixel 2 if this considered sgpixel 2 is sampled below a certain spatial sampling threshold, to avoid erroneous interpretation of under-sampled areas. This makes it possible to read a text at the limit sampling, but to avoid the risk of no longer recognizing what is written if you zoom in. Indeed, keeping separations 3 activated could amount to incorrectly deciding the meaning of pixels, which it may then be more prudent not to do so as not to encode false information in the image. The visibility and activation of a separation 3 can therefore be independent, for example: - Separation 3 inactive (therefore color(s), tint(s), brightness(s), gradient(s) 4 identical on either side of separation 3), but - visibility of the active separation to represent a thread, a hair, a very fine object... superimposed on the background colors of sgpixel 2. We can also add a partial transparency property to the visibility of at least one separation line 3. Inheritance rules from 2 neighboring pixels or sgpixels Preferably, for at least one or each sgpixel 2 considered: at least one brightness and / or color and / or hue within the sgpixel considered 2 or at least one of the domains 30, 31, 32 of the sgpixel considered 2 depends on a brightness and / or color and / or hue of at least one pixel neighbor (which can also be an sgpixel) of the sgpixel considered 2 or of at least one domain 30, 31, 32 of a neighboring pixel (which can also be a sgpixel) of the sgpixel considered 2, and / or at least one gradient 4 of brightness and / or color and / or hue within of the sgpixel 2 considered or of at least one of the domains 30, 31, 32 of the sgpixel considered 2 depends on a gradient 4 of brightness and / or color and / or hue of at least one neighboring pixel (which can also be a sgpixel) of the sgpixel considered 2 or at least one domain 30, 31, 32 of a neighboring pixel (which can also be a sgpixel) of the sgpixel considered 2. Typically, the color component(s), hue(s), and / or brightness and / or its gradient(s) 4 of the neighboring sgpixel are spatially extended to obtain the color component(s), hue(s), and / or brightness and / or its gradient(s) 4 (If the variability 4 is implemented in the method 1) of the domain 30, 32 not defined in itself. According to the angles 62 of the at least one separation 3 of the sgpixel 2 inheriting at least one component, there may be inheritance of one or more neighboring pixels with average or weighted average from the neighboring pixels. Example 1: in the case of a vertical separation 3 (90° angle) which defines a right side, method 1 takes into account for domain 32 the colors of the sgpixel on the right (or EST) (taking into account at least one variability 4). Example 2; in the case of separation 3 oblique at an angle of 135°, method 1 takes into account for domain 32 the neighboring pixel in the North-East position. Example 3: in the case of oblique separation 3 at an angle between 90° and 135", process 1 makes a weighting pro rata between its 2 East and North-East sgpixels, from the angular difference, which is written: C,(i) = ((135° - to) # Prol(Cz(1)) + (a - 90°) * Prol(Cxz(1))) / (135°-90°) With: at the angle of separation (0° being horizontal, the inheritance then being made in below with the neighboring pixel SOUTH, 180° also being the horizontal with inheritance with the neighboring North pixel above, which reflects the fact that segment 3 is oriented and what defines the domain 31 itself and that 32 inherited.) C£(i) are the values of the colors i = 1 to 3 (for respectively 1 for R (for Red), 2 for G (for Green), 3 for B (for Blue Blue)) of the considered sgpixel 2 in the center. The index c is for the sgsgpixel 2 'in the center', which has a domain 32 inherited from its neighbors, Cz(i) for the sgpixel to the East (or right) are the values of the colors i = 1 to 3 (for respectively 1 for R (for Red), 2 for G (for Green or Green), 3 for B (for Bue or Blue)) of the neighboring sgpixel to the right of the sgpixel considered 2 in the center, Csz(i) for the sgpixel in the North East (or top right) are the values of the colors i = | to 3 (for respectively 1 for R (for Red), 2 for G (for Green or Vert), 3 for B (for Bue or Bleu)) of the neighboring sgpixel in top right of the sgpixel considered 2 in the center, Prol() is the extension operator that takes variability into account spatial 4 defined in the sgpixel argument, to the inheritance location. This rule can be expressed similarly for the alpha angle varying from 0 to 360°, by invoking the different sgpixels at the cardinal points South, Southeast, East, Northeast, North, Northwest, West, Southwest. This provides a non-limiting example of a rule providing color continuity between the inheriting part of the sgpixel and its neighbor(s). Other methods are also possible, for example by involving more than 1 or 2 neighboring sgpixels in the rules defined above. Coding of properties or components In the method 1 just described, the properties encoded and recorded by the method 1 of at least one or each sgpixel 2 therefore include: The components (also called channels) of the sgpixel, 2 which include: color(s), tints), and / or brightness of sgpixel 2, and / or color(s), hue(s), and / or brightness of each domain 30 (of distinct preferences for each domain 30) within the sgpixel 2, and / or color(s), tint(s), and / or brightness of each separation 3 (of distinct preference for each separation 3) within the sgpixel 2, and / or color gradient(s), hue(s), and / or brightness of sgpixel 2, and / Or gradient(s) of color(s), tint(s), and / or brightness of each domain 30 (preferably distinct for each domain 30) within of sgpixel 2, and / or gradient(s) of color(s), tint(s), and / or brightness of each se- separation 3 (preferably separate for each separation 3) within of the sgpixel 2 active state or inactive state of each separation 3 (preferably distinct for each separation 3) within the sgpixel 2, and / or visualized state or non-visualized state (or visualizable state or non-vi- state viable) of each separation 3 (preferably distinct for separation 3) within sgpixel 2, and / or position of each separation 3 (including the orientation which can define a domain 31 of color properties, and / or brightness and / or defined hue by those of the pixel and / or gradients, and a zone 32 inheriting properties of neighboring pixels) within sgpixel 2, and / or viewing area or width of each separation 3 (preferably distinct for separation 3) within the sgpixel 2. In method 1, any of the components or properties previously described (ie at least one of these components or properties, all or part): can be defined by a set of digital information belonging specifically to each sgpixel 2, or in order to reduce memory footprint, can be obtained by reference via a code specific to sgpixel 2 addressing an external table. This external table creates a dictionary of property or component values, in order to obtain a broader and more configurable description, without increasing si- significantly the memory footprint at the sgpixel 2 level. As an example, this implementation by table pointed from an index in sgpixel 2 will be useful if we assume that the 'visibility' property is only rarely activated in an image. For example, visibility will be activated to render the presence of hair on a person, the presence of fine threads emanating from a fabric. Since these elements are rarely present, and they generally have a rather homogeneous color, or a similar width, but a variable color, we can choose not to provide sgpixel 2 with all the properties specific to these separations, properties such as colors, color gradient along the sgpixel, width of the separator.For example, we will choose to represent the brightness of the visible separations in each sgpixel, considering that it can vary a lot on the image, but the hue, the saturation (of color), the width will be defined in a table having few elements, considering that these elements vary little, or even include a non-interfering quantification, for example 15 entries at most. Thus, each sgpixel 2 has for example a code for activating the visibility of the separation on a 4-bit integer (i.e. 24 = 16 values), the value 0 being invisibility, the values 1 to 15 pointing in the aforementioned table. We can possibly code the brightness of these objects on 4 to 8 other bits (i.e. 16 to 256 values), or not and place this information also in the aforementioned table. In another example of representing the position of separation 3 in sgpixel 2, on the contrary, still as an example, let us suppose that the position property of separation 3 is often activated, or even according to a diversity of angles and positions which would make a large number of combinations. Then, we represent for example by two numbers of one byte (i.e. 256 values) the two points of the segment separation 3 in contact with the contour of sgpixel 2. We can keep one of the values of these two numbers to make separation 3 inactive. Rather than encoding these elements in a table, which would have as many entries as these two bytes, which would not save memory space, having a two-byte code addressing the table, and 2 bytes in the table, compared to only two bytes of the property itself in sgpixel 2. Transcription When viewing an image obtained by method 1, it is necessary to transform the information coded by this method into values of the photoemitters 71, 72, 73 generating the image (recorded by method 1) on a screen, which amounts to pixelating (or 'to rasterize' in English) the image according to the pitch of the display screen. Thus, method 1 may comprise a conversion of an initial image into a final image for: - a display 13 of the initial image into the so-called final image on a screen comprising groups 7 of photogenerators 71, 72, 73 (each group 7 comprising for example three photogenerators R referenced 71, V referenced 72 and B referenced 73), or - a pixelation 13 or rasterization 13 of said initial image into the final image comprising final pixels 7 devoid of a separation line and / or spatial gradient of color(s) and / or hue(s) and / or brightness within these final pixels 7 (in other words no final pixel 7 is a sgpixel), said initial image being recorded according to the invention with at least one sgpixel 2 as described previously. The reference 7 is used for each final pixel 7 or for each group 7 of photogenerators, in particular in [Fig.2], because the transcription principle is the same. Each initial pixel can be a sgpixel 2, the initial pixels comprising at least one, preferably several, sgpixel(s) 2. It will preferably be considered that each initial pixel is a sgpixel 2. Thus, method 1 comprises: For each final pixel 7 considered or each group 7 of photogenerators 71, 72, 73 considered, a transcription 13 of at least initial pixel 2 or at least minus a domain 30 of initial pixel 2 in this final pixel 7 or group 7 of pho- generators considered: from the components of brightness(ies) and / or color(s) and / or hue(s) of this at least one initial pixel 2 or at least one domain 30 initial pixel to this final pixel 7 or group 7 of photogenerators 71, 72, 73 considered, the transcription being done in proportion to this at least initial pixel or at least one domain 2 of initial pixel 2 within a common surface facing between: this at least initial pixel or at least one domain 30 of initial pixel and the final pixel 7 or group 7 of the photogenerator considered. In the present description, it is considered that two parts, on the one hand of the initial image and on the other hand of the final image, face each other or are opposite each other if they are superimposed in a common representation on the one hand of the initial image and on the other hand of the final image in a common conversion reference illustrating the conversion or transcription of the initial image to the final image. For transcription, if the final pixel 7 or group 7 of photogenerators considered is opposite different initial or initial pixel(s) and / or domain(s) 30 of initial or initial pixel(s) and / or separation 3 of initial or initial pixel(s), the brightness and / or color(s) and / or hue(s) components of the final pixel 7 or group 7 of photogenerators considered are a weighted average in proportion to the respective areas of these different initial or initial pixel(s) and / or domain(s) 30 of initial or initial pixel(s) and / or separation 3 of initial or initial pixel(s) opposite the final pixel 7 or group 7 of photogenerators considered. For example, for the calculation of the pro rata of the surfaces, in addition to figures 2 and 3 which illustrate in particular cases which will be described later, let P; be the initial pixels, P;(k) an initial pixel with an index k. Let P; be the final pixels, P,(Fr) a final pixel with an index r. We denote by C oKP;( k) .d, c) a color component value, where c is the color index, for example 1.3, d the domain index, for example 1.2 for each side of the separation 3. We add the value 3 if the separation is visible, to describe this new domain, domain described by the axis of the line of the separation 3, thickened by half its width on each side. This thickening is to be deducted from the surface of the adjacent domains 31, 32. S(P{r), P;, k, d, ) is the common facing surface (hence the intersection symbol) between the initial pixel (sgpixel) index k, domain d, and the final pixel (f as final). S{P;#(r)) is the total surface area of the final pixel, also noted S; if all the final pixels have identical surfaces. The color contribution for the final pixel r, from the initial pixel k, is: The pruripaime) CU PAK) To €) S(PAr) P,k of) Col(P;(r), c)= TITLE avet K(r) the set of indices k for the index r for which there is a correspondence. D(k) the entire domain(s) of pixel k (previously chosen from K(r)) and which must be understood as: on the left, the color component c, for the final pixel of index r (r which can also be written as a function of two indices ixr, and iyr which describe the 2 dimensions, for example concatenated in a table described by the index r) is equal to the sum over all the indices k of initial pixels, opposite the pixel r, all the domains d of this pixel k - concerned by the intersection, or all the domains, those taken in excess being affected by a zero surface, they naturally disappear from the sum -, of the color component c, times the common surface opposite (hence the intersection symbol), sum divided by the total surface of the restored pixel. The domain d can take the values 1 and / or 2 depending on the side or domain 31, 32 of the (sg)pixel 2 in question, if there is only one separation 3, active. If the separation 3 is inactive, there is only one domain d=1 which occupies the whole sgpixel, unless the separation 3 is visible, see below. In the case where separation 3 is made visible, we define a new domain d=3. The calculation of the surface can be explained by the product of the length L,.p of separation 3 of the initial sgpixel 2 which is opposite the final pixel 7 (also called restored pixel), times the width W of separation 3 of this initial pixel k (which can be preferentially defined as a property for each initial pixel k, or else global to use less memory space), which is written: S(P;(r), Pa K, à) = Lsep(P,(r), PAK) ) W(K) For transcription, the brightness and / or color(s) and / or hue(s) components of an initial pixel and / or domain 30 of an initial pixel and / or separation 3 of an initial pixel are modulated by the values of gradient(s) 4 of each part of initial pixel and / or domain 30 of initial pixel and / or separation 3 of initial pixel with respect to the final pixel 7 or group 7 of photogenerators considered. For example, for the calculation of prorata of surfaces with gradients 4, we therefore have: Enkorid toto sise pots LP, kd. jCol(PAK) to, aCH).as Col(P;(r), c) = SPLON where we add a vector (so which has 2 coordinates) in Col, to take into account that Col is modified by the gradient 4, inside the sgpixel. We sum over all the F7 points belonging to the intersecting surface. The dependence of color on position % in the initial pixel can be written: Col(P;{(k), d, c, CM) = Col{P;(k),d, c) + {P;(k), d, c)CM Where —(P;(k), d, c) is the value of the gradient 4 of all the components at once, - which is then written —(P;(k), d)- or a potentially different gradient for each component c. We make a scalar product, noted '.', between this gradient and the displacement vector CÏ7, where C is the reference point of the color Col(P;{k), d, c), and M the point which describes the initial pixel. This point C is for example the center of the initial pixel, or a corner. Depending on the representations chosen, c can take for example three values | to 3, Col() representing the values of the colors Red, Green, Blue. Or again, in a YUV system, with Y the relative luminance and U and V for the chrominance, and: Y=-R+G+B U=:BY VRY then Col(l) can represent the brightness, Col(2) the U component, Col(3) the V component. Other types of representation are obviously possible, such as the HSL representation for Hue Saturation Lightness. A separation line 3 of an initial pixel can be used to be visualized and contribute to the brightnesses and / or colors and / or hues of at least one final pixel 7 or group 7 of photogenerators considered, in proportion to all or part of the visualization surface of the separation line 3, which is opposite the final pixel 7 or group 7 of photogenerators considered. In the preferred and illustrated case of a straight dividing line 3, this viewing surface is obtained from the product of a width property of the dividing line 3 by the length of said dividing line 3. The viewing area of the dividing line 3 separating different domains 30 reduces by the same amount the area taken into account of the adjacent domain(s) 30 of the initial sgpixel 2 for the other surface prorata. For example, with reference to figures 2 and 3, for pixelization (or rasterization) for visualization of the initial image on a screen: If the pixel density of the initial image of sgpixels is such that we have a pixel initial in front of a group 7 photogenerator R, G, B of the screen, the process 1 calculates the average value on each color component of the screen, at pro rata of the surface of each color of each domain 30 of the sgpixel 2 initial of the initial image, possibly completed in proportion to the surface visualization of the separation 3 (its width x its length) times its com- color poses, respectively. If this 1:1 ratio is not obtained, it will be appropriate to consider a pro rata of the relative surface area occupied by said photogenerator 71, 72 or 73 (surface area reduced to the total surface area of the replication step) and calculate the average properties of the domains 30 of the initial pixels superimposed on this surface. In this way, the average values of transmitted or generated light by the screen will be spatially as close as possible to the information represented locally in each domain 30 of the initial sgpixels 2, for a better fidelity of the image representation by the screen. This type of rule does not prevent the more global application of gamma type corrections (linearity), or conversion of colors between the initial image of sgpixels and its materialization produced on the screen. Of course, in case of enlargement, only a part of the initial image of sgpixels can be represented, on the basis of the same correspondence rules applied to the pixels in or straddling the screen area. Figures 2 and 3 illustrate how to apply this type of rule, with a variation depending on whether we limit ourselves to considering the final pixel 7 or group 7 for its overall size R+G+B as indivisible, or whether we cut it on the contrary into 3 distinct entities 71, 72, 73 present in their respective and different positions. With reference to [Fig.2], for pixelation (or rasterization) for conversion to a classic bitmap format image with final pixels without sgpixel, method 1 proceeds with the same correspondence rules for those exposed to materialize the initial image of sgpixels to a screen, if one wishes to convert it to a classic matrix format object of the prior art. [Fig.2] illustrates a conversion of an initial image of sgpixels 2 recorded according to the method 1 according to the invention and to be converted into a final image to a 4 x 4 matrix of final pixels 7 or groups 7 of photogenerators 7 (filled squares) of a screen which shows the image of sgpixels 2. Among the sgpixels 2 of the initial image, we notice in particular three sgpixels referenced SGA, SGB and SBC successively along a line of sgpixels. We assume that each final pixel 7 is capable of reproducing a Red (R), Green (G), Blue (B) color by lighting emitters 71, 72, 73 proportionally to the R, G, B values of these final pixels. The center sgpixel 2 is a so-called SGB sgpixel. For this SGB, the separation line (stroke) 3 is the separation of the SGB sgpixel, active, and visible (for example, green in color, with the width directly represented by that of the stroke) separating SGB into two domains 31 and 32. Other sgpixels 2 are represented in thinner lines around it. An end pixel is called by its row and column number like this: (row number of final pixel matrix, column number of final pixel matrix) We notice that by its total overlap with SGB, the final pixel row 2, column 3 (final pixel (2, 3)) receives its colors only from the sgpixel SGB. Let us assume that domain 31 of the sgpixel SGB (called sg B-1) is 100% red (the G and B at 0%). Let domain 32 of the SGB sgpixel (called sg B-2) be 100% blue (and 0% R and G). Line 3 of SGB is assumed to be 100% green (and 0% R and B). Let us assume that SGB trait 3 represents 5% of the SGB area, the sg domain B-1 65%, the sg domain B-2 30%. Then the final pixel (2, 3) receives the R, G, B values at: R = 100% * 65% = 65% V = 100% * 5% = 5% B = 100% * 30% = 30% Let's assume the SGA sgpixel is 100% Red only (no separation or other color). The final pixel (2, 2) then receives: R = 100% (mixture of the SGA and SGB parts in proportion to the respective surfaces, which here makes 100% red). V and B are at 0% The final pixel (2, 1) also receives R = 100%, G and B = 0% directly from SGA. Let's assume the blue SGC sgpixel is at 95% (its other components at 0%). So the final pixel (2, 4) receives R = 0%, G = 0%, V = 15% * 100% + 85% * 95% = 95.75% (because it is assumed to have 15% overlap with SGB, 85% with SGC). These numerical examples translate a possible surface protorata rule to restore the final pixel intensities to be displayed from the information in the sgpixel 2 image. We note that line 3 is rendered here by mixing because the screen resolution does not allow better. On the contrary, if the final pixels of the screen are extremely fine, which occurs when we enlarge the initial image of sgpixels 2 around the pattern SGA, SGB, SGC, then the green line 3 could correspond to a very green pixel below this green line with a little Red and Blue from neighboring sg B-1 and sg B-2. If we enlarge further, line 3 could be represented by an oblique row of completely green final pixels. For illustration purposes, the SGE sgpixel below the SGB sgpixel is represented with its active separation 3, but in a less saturated color (for example green), with a more vertical angle, connecting continuously with the one above (this continuity is not obligatory, but can be quite frequent if the two visible separations represent a real element such as a hair). The width of the SGE separation 3 is assumed to be reduced. Note that we have significantly changed the color of the SGB between sg B- 1 and sg B-2, and made separation 3 visible, in order to illustrate the rule of surface prorata, but in the majority of cases, on a natural image, it is common that if the visibility of a line 3 is active, the domains 30 will remain of a similar color, because a fine object, such as a hair on a face, rarely corresponds to a change in the color of the background (for example the skin under the hair). So the example here would rather be that of an artificial drawing with materialization of the contours. Spatial variability 4 has not been activated to simplify the description here. It could have been activated on separations 3 to connect without visible jump from low saturated green color to very saturated (which would show all the quality of restitution at very high magnification). It could have been activated between SGB part sg B-2 and SGC to take into account the transition from 100% to 95% on Blue. Note also that we can assume SGC with a blue gradient increasing towards the left, at 95% in the center, which can make an inheritance for the part sgB-2 taking a value of 100% thanks to this gradient of SGC which enhances the blue coming from SGC, according to the extension operation Prol() previously mentioned. SgB-2 also inherits this gradient. [Fig.3] is an illustration of a conversion variant from sgpixels 2, which takes into account the exact position of the red (R, referenced 71, and all obliquely hatched), green (G, referenced 72, and all horizontally hatched), and blue (B, referenced 73, and all vertically hatched) generators (also called emitters or photogenerators) in each final pixel 7 of the screen. This rasterization is potentially more accurate in terms of rendering, but requires knowing the shape details of the screen, which may not be the case, and make the method illustrated in [Fig.2] preferable. So [Fig.3] is a similar representation to [Fig.2], shown with the same sgpixel values SGA, SGB, SGC, etc. The R, G, B emitters of the final pixels are shown. The area proration rules are applied taking into account which color of each emitter of the pixel overlaps with the sgpixels 2. Thus, as the R of the final pixel (2, 3) is not completely in sg B-1 but mostly, it will receive its value here at 95% and not 65%, (assuming that the green separation 3 of SGB and the sg B-2 domain represent 5% of the surface facing the Red emitter of the final pixel (2, 3)). Similarly, the green of the final pixel (2, 4) will receive B=95% because it is completely under the sgpixel SGC Blue at 95% (and not B=95.75% as in [Fig.2]). Compression or decompression The method 1 may also comprise a step of compressing or decompressing an initial image recorded according to the method previously described (and therefore comprising one or more sgpixel(s) 2): the initial image is respectively compressed or decompressed into a respectively compressed or decompressed image respectively by reducing the volume of information representing the compressed image thanks to the compression or by increasing the volume of information representing the decompressed image thanks to the decompression, the compression or decompression relating to at least one component or property of sgpixel 2 previously listed, preferably among the color(s) and / or the hue(s) and / or the brightness (of sgpixel 2, domain 30, and / or separation 3) and / or at least one separation line and / or at least one spatial gradient (of color(s), hue(s) and / or brightness for each sgpixel 2, domain 30, and / or separation 3) within each initial pixel considered. The initial image is respectively compressed or decompressed so as to make its content directly viewable using a process according to the viewing or display steps previously described, without an additional step of transcribing the final image. For the decompressed image, the separation property 3 or gradient property 4 is 'directly' usable, in the sense of figures 3 and 4. Whereas for the compressed image, for example by wavelet, we do not have directly the value of separation 3 or gradient 4 for each sgpixel, because it is obtained as a frequency component applying to several pixels. Typically, the initial image is compressed or decompressed respectively, using: - a wavelet transformation of each component to be compressed, and / or of a transformation by Discrete Cosine Transformation (DCT). After compression or decompression, the method 1 may comprise a search for identical sequences, and an indexing of these sequences and replacement of each repeated sequence by its index in a stream of data or information of the image. Preferably, the method 1 uses lossy compression on at least one (less critical) component among the color(s) and / or the hue(s) and / or the brightness and / or the at least one separation line and / or the at least one spatial gradient of each initial pixel considered or of the at least one separation within each initial pixel considered, and without loss on at least one other (more critical) component among activation or deactivation of the at least one separation 3, and / or visualization of the at least one separation 3 and / or width or visualization surface of the at least one separation 3. In compression, generally speaking, it is a question of considering as many additional channels to the spatial information for example R, G, B, and Alpha, the separation information, spatial gradient, and if applied, separation widths, its colors, its gradient 4 (Alpha being the transparency channel if existing). Of course, for the object or file which contains the image recorded according to the invention and compressed, a global description field may be desirable to define the use or not of such or such element among separation, spatial variation, visualization properties of the separation, or any other method making it possible to know if these elements are part of the compressed image object. It may be considered that the separation and spatial variation, without the visibility of the separations, which will remove the need to have the color, width, gradient channels of the separations. Except in special cases, the positions / angles for 3 inactivated separations can preferably be filled with a single value that is uniform across the entire image, in order to avoid creating false information that would harm the compression and add unnecessary spatial frequencies to the image to be compressed, and the same applies to other unused channels. Generally speaking, we can apply the compression techniques known for the R, G, B, Alpha channels to these additional channels which are separation 3 and spatial variation 4, separation visibility information 3, separation activation 3, etc. Let us cite some compression techniques for this purpose. In the state of the art, we know image compressions by transformation generally by sub-blocks of the image, by projection of said block on DCT type bases (for "Discrete Cosine Transformation"), or by wavelet compressions. The sequence produced by concatenating these projection coefficients on these bases and the different pixels is possibly further compressed by a compression type LZ77 or LZ78 or equivalent (LZ77 consists schematically in locating and indexing sequences identical in position and length rather than repeating and writing them explicitly, cf. https: / / fr.wikipedia.org / wiki / LZ77_et_LZ78). We also know of entropic compressions, by substituting frequent symbols with shorter symbols. LZ / 77 type compression can also be applied directly to the initial image without DCT or wavelet type compression. Those skilled in the art may refer to the descriptions of the JPEG 2000, JPEG XR, JPEG XL, PNG compression formats, among others, for the implementation of these types of compression. These transformations can be lossless or lossy. When lossy compressions are implemented, high-frequency components can be modified, for example, by thresholding: if the amplitude of these components is too low, they can be brought back to zero to be able to ignore them (or compress them further). Similarly, the coefficients obtained can be quantized, that is, the binary least significant bits can be voluntarily rounded to 0 and these bits deleted, which reduces the number of bits in the coefficients resulting, for example, from DCT or wavelet transformations, or directly from the initial image, and this means fewer bits to transmit, or this produces more identical sequences in an additional compression type LZ77. For the method | according to the invention for which it is desired to apply compression to the produced image, in the case of using lossy compression, it is It is highly preferable to separate each coordinate of each piece of information (separation, spatial variation, and optionally visibility of separations, etc.) into channels that will be compressed independently. Indeed, for lossy compressions which can generally lead to modifying values by loss of low-order bits (the cancellation to zero of weak high-frequency components can also be assimilated to this), it is advisable to ensure that these roundings of values would not excessively affect one of the properties added to sgpixels 2 by method 1. For example, for a binary concatenation X:Y into a pseudo single number, the value Y could become significantly false if it underwent the setting to 0 of bits considered to be low-order, in a more significant way than the component X which would be spared by these roundings. Thus, it is recommended to consider X and Ÿ as 2 different channels, so that roundings of values affect for example the X and Y directions in a similar way, and likewise for the X and Y which represent the separation position in the sgpixel 2.Similarly, for a polar representation of distance 61 and angle 62, we will preferentially consider this information in 2 different channels, not concatenated in a binary way. If particular position values are used to inactivate separation 3, with lossy compression, it will be appropriate to represent this state of activity by another channel applied to the compression, for example a Boolean field (with 2 active / not active values), in order to avoid any loss of this information following a coding which would round off, unless special precautions are taken to be robust. Similarly, if the visibility of separation 3 is used, via a code encoding that points to a table, and this code is presented directly at the input of the compression (rather than the property values it represents), it is generally appropriate to ensure that this code will never be corrupted by compression / decompression, unless special provisions are made to be robust. To better resist a change in the value of the code, we can store information close in values to cells in the table with close indices, in order to obtain a small change in the values of the properties from the table when the code changes, and therefore when the cell in the table changes. Of course, in the desirable case of channel compression of these codes for representing the visibility of separations, the values of the pointed table should preferably be recorded in global fields of the image file or object in order to be able to restore them with the decompressed image, later (and not assume them to be universally known for all images). Among the additional channels, if each sgpixel contains 2 or more sets of color properties, for example to define the colors on each side of the separation, it will of course be appropriate to treat them also as additional channels. comments to compress / then decompress. The method 1 may comprise a change of reference for the information of separation 3, spatial variation 4, visibility of the separation 3, etc. Optionally, if the compression allows it due to the absence of risks of jumps linked to the loss of information, combinations between the channels separation, spatial variation, and / or visibility of the separation, etc. can be carried out, in particular, but not necessarily, if lossless compression is used. These combinations can use correlations and thus reduce the mass of information to be compressed. Let us recall for example that for the prior art, for R, G, B, we know for example the change of reference Y, U, V consisting of calculating for example Y = R + G + B (with possibly other weightings than 1, 1, | between the colors), which provides a channel called luminance Y, and U and V chrominance channels. As the human eye is less sensitive to the spatial frequencies of U and V, than those of Y, high spatial frequency information of these U and V components can be attenuated or deleted in order to reduce the information to be compressed, upstream of the transformation by DCT or by wavelet, for example. In the case of method 1 according to the invention, such combinations can therefore be made, where appropriate, especially to remove information redundancies. For example, if the spatial variation 4 is represented in each sgpixel 2 by two components X, Y, we can consider that it is often perpendicular to the separation line 3, in the sgpixels 2 where it is active. Then, we can simply present to the compression the amplitude of the spatial variation 4 (preferably signed, the brightness being able to increase or decrease in the direction of the separation 3), and not its angle, since it is known by that of the separation 3. At the decompression, the angle of the gradient 4 will be obtained by perpendicularity to the separation 3. Even if it is inactive, the angular information 62 of the separation 3 is thus interpretable to orient the gradient 4 in the XY plane - therefore in the sgpixel 2. This saves a direction field. The X and Y information of the gradient 4 representing the spatial variability of the sgpixel 4 are then replaceable by , ÿ Jèsy? . Upon decompression, method 1 restores the various property channels of sgpixels 2, in addition to restoring the color channels and possibly transparency, in order to fill in the properties of all sgpixels 2 in the image. If compression / decompression is lossy, care must be taken to ensure that rounding does not significantly alter the resulting decompressed image. For example, a moderate inaccuracy of spatial variation 4 may be acceptable. But a displacement of activation of separation 3 to a neighboring pixel would not necessarily be. Likewise, if an unintentional duplication of activation of separation 3 occurred to pixels close to the one where it is actually active. Method 1 repeats for several or all the pixel blocks of the initial image, if necessary, the decompression operations of each sub-block of pixels. The method 1 according to the invention is implemented by a computer program product comprising computer code instructions for executing the method 1. In general, each of the steps of the method | is implemented solely by technical means, which may for example comprise at least one computer, a central or computing unit, an analog electronic circuit (preferably dedicated), a digital electronic circuit (preferably dedicated), and / or a microprocessor (preferably dedicated), and / or software means, and / or the computer program product previously described. Examples of application areas of process 1 Method 1 applies more particularly to images from the real world, therefore to photographs or films. But it can of course also bring its advantages for images from synthetic objects, for example from the translation of vector image primitives in order for example to broadcast them on a website in a format not requiring local de-vectorization, while allowing a zoom of better quality, than the translation of these vector images into bitmap allowed before the method of the invention, as was sometimes the case in the prior art. Web images do not generally use vectorization as standard to avoid the risks of potentially variable rendering times depending on the complexities of stacking or object density. The sgpixel format according to the invention, by preserving the notion of matrix, avoids this pitfall, which allows this format to be used for the Web, while guaranteeing rendering times controlled in advance, and this with the possibility of better enlargements of parts of the images. It is applicable, for example, to a computer or a smartphone (or "ordiphone" or "smartphone"), to provide image enlargements of better quality than the prior art. To this end, a rasterization software module will be able to translate the enlarged image parts into the pixels of the screen. Similarly, a 'plug-in' specific to this task can be added to web browsing software to render and zoom an image of a web page according to process 1. Examples of images [Fig.5] illustrates a state-of-the-art, sparsely sampled raster image. [Fig.6] illustrates a matrix image according to the invention with sgpixels according to the invention, better restored than that of [Fig.5] thanks to the separations 3, gradients 4, and visualizations of separations 3 at certain places in the image. In [Fig.5], we notice: - in 91, the absence of the notion of gradient leads to jumps in the texture, - in 92, the shadow of the metallic object makes crenellations appear at the border of this shadow, - in 93, the very fine object (hair) reveals notches to represent it, - in 94 (on the paperclip), the pixelation causes unsightly texture jumps to appear, linked to the very fine luminous zone at the top of the wire. In [Fig.6] obtained by sgpixels: - gradients 4 allow to avoid color jumps in 91, the limit of appearance of notches in 92 is no longer perceptible, and the fine object in 93 keeps a very linear shape without appearance of notches, - In 92, pixel separation allows to keep a clear edge (not aliased) even at low pixel density, - In 93, the visualization of the separation on several pixels makes it possible to make this very linear, non-crenellated form appear, - In 94, the texture brightness is more homogeneous. The very bright area at the top of the thread can be represented thanks to a separation of a certain width, -the edge of the thread gains in sharpness thanks to the activation of the separation in the pixels which are between the background fabric and the paperclip, - the gradient allows for a more homogeneous texture between the top of the thread and its edges. Thus, to summarize method 1 according to the invention, for an image described by a two-dimensional table of pixels, describing for example a field of colors, for example R, G, B values, the method adds: separation properties 3, activatable or not in sgpixel 2, defining at least two 30 color domains in each sgpixel of the image. spatial variation properties 4, within each sgpixel 2 or domain, color(s) and / or hue(s) and / or brightness properties. properties to make said separation visualizable 3. The proposed method 1 provides a method for representing an image digitally and for restoring, recording and transmitting it. It allows the image to be enlarged to observe only a part of it, without any significant loss of quality due to the visible appearance of spatial discretization. It allows to keep a description of the image by juxtaposition of pixels, and not by vectorization in the sense of the prior art. The recommended density of these (sg)pixels can remain moderate, for example equal to that of the sensors which made it possible to produce this image. It applies to photographs (single images) or films (images which follow one another). In particular, it is not necessary to increase the density of these sgpixels, whereas the prior art would need them at equivalent perceived quality to obtain a quality compatible with the possible enlargements. Maintaining a notion of pixel juxtaposition allows for easier compression / decompression or display processing. Indeed, while the state of the art may require conversion of large surface objects before processing (such as display), method 1 allows display algorithms that can be parallelized more easily because the actions remain more local, as with the 'bitmaps' of the prior art. The quality of rendering multiple details in textures is much higher than what prior art vector formats intrinsically allow. Indeed, for multiple gradients in an object outline, a vectorized object does not allow a fine description, whereas sgpixels 2 allow it while maintaining the sharp outlines that the vectorized format allows. In order to reduce the pixel density of the image, method 1 makes it possible to choose a density of sgpixels below that of the image sensor, or of the digitizing grid, while maintaining a good quality image restitution, and while encoding in the image a significant part of the resolution provided by the photosite density of the sensor, via the properties of the sgpixels. This already achieves a form of compression of the image compared to the prior art. A method of compression / decompression of the image of method 1 is further described in order to be able to transmit and store it at a lower cost. The sgpixel compression method allows compression ratios similar to those of compression techniques applied to the prior art. A compressed sgpixel image is therefore more advantageous than a prior art one thanks to its better quality. This method 1 applies more particularly to images from the real world, therefore to photographs or films. But it can of course also bring its advantages for images from synthetic objects, for example from the translation of primitives of vector images in order for example to broadcast them on a website in a format not requiring local de-vectorization, while allowing a zoom of better quality, than the translation of these vector images into bitmap allowed before the method 1 of the invention, as was sometimes the case in the prior art. At equivalent matrix density compared to the state of the art, the details are finer in method 1 according to the invention. Therefore, by reducing the density of the sgpixel matrix, the method has less data in total. For example, for: 1 / 5twe of sgpixels in X in method 1 compared to the number of pixels in X of the state of the art, 1 / 5th of pixels in Ÿ in method 1 compared to the number of pixels in Y of the state of the art or 25 times fewer pixels, but: 2 to 3 times more information per sgpixel than per pixel, which makes in the balance 2 / 25 to 3 / 25 ratio, thus showing that the image of process 1 with sgpixels is intrinsically compressed compared to its equivalent quality in pixels of the state of the art. Starting from this example image with 25 times fewer sgpixels, we can still have a better definition in process 1 by zooming in. We can convince ourselves of this by imagining a zoom on hair or fabric texture, for example: the hair remains hair at all zooms, while it becomes a juxtaposition of pixels for the classic matrix image. Compared to vectorization, method 1 controls a processing time for these sgpixel images of the same order as the matrix image, whereas this time and quantity of calculations can be much higher for vectorization. In addition to the natural compression effect of process 1 as demonstrated previously, this sgpixel format supports compression techniques, for example by wavelets and removal of redundant patterns which are simply referenced, which further allows the size of the data to be reduced at equivalent quality compared to the classic matrix equivalent. Finally, the process | allows a better rendering of the natural complexity of photographic images, which can be rendered with many 'flattening' effects than vectorization, or in other words, with all the finesse, and above all even better than raster images allow. Method 1 supports enlargement better than a state-of-the-art matrix image, especially for a writing image. Of course, the invention is not limited to the examples which have just been described and numerous adjustments can be made to these examples without departing from the scope of the invention. Of course, the various characteristics, forms, variants and embodiments of the invention can be combined with each other in various combinations to the extent that they are not incompatible or mutually exclusive. In particular, all the variants and embodiments described above can be combined with each other.
Claims
Claims
1. A method of recording a digital image in an in- computer, said image or at least part of the image being coded and recorded as a matrix of pixels in which each pixel considered among at least one or more pixels of the matrix includes: at least one separation line within the pixel considered, separating the pixel considered at least into two domains, the at least one dividing line having a viewable state with a viewing surface.
2. Method according to claim !, characterized in that each line of separation within the pixel considered is coded by two data including: Two points on a perimeter of the pixel considered, and / or A distance, preferably from the center of the pixel considered, and an angle.
3. A method according to any preceding claim, ca- characterized in that lines separating several neighboring pixels come together to form a continuous line crossing these several neighboring pixels.
4. A method according to any preceding claim, ca- characterized in that said image or at least part of the image is encoded and recorded as a matrix of pixels in which each pixel considered among at least one or more pixels of the matrix comprises at least one spatial gradient of color and / or hue and / or brightness within the pixel considered or at least one areas of the pixel considered.
5. Method according to the preceding claim 4, characterized in that the least one gradient within the pixel considered or at least one of the areas of the pixel considered include: A brightness gradient, and / or One or more gradients corresponding respectively to a or more color(s) and / or shade(s).
6. Method according to any one of claims 4 to 5, characterized in that at least one gradient within the pixel considered or the at least one of the domains of the pixel considered is coded by: — two spatial components, or A single spatial component relative to the at least one dividing line within the pixel considered.
7. Method according to any one of claims 4 to 6, characterized in that at least one brightness and / or color and / or hue within the pixel considered or at least one of the domains of the pixel considered depends of a brightness and / or color and / or hue of at least one neighboring pixel of the pixel considered or of at least one domain of a pixel neighboring the pixel considered.
8. Method according to any one of claims 4 to 7, characterized in that at least one gradient of brightness and / or color and / or hue within the pixel considered or at least one of the domains of the The considered pixel depends on a brightness gradient ct / or color gradient ct / or hue of at least one pixel neighboring the pixel considered or of at least minus a domain of a pixel neighboring the pixel considered.
9. A method according to any preceding claim, ca- characterized in that all pixels in the pixel matrix have the same dimensions.
10. A method according to any preceding claim, ca- characterized in that the at least one dividing line itself comprises even a spatial gradient allowing modulation, when it is vi- sualisable, its brightness(ies) and / or color(s) and / or tint(s).
11. | Method according to any one of the preceding claims, ca- characterized in that the at least one dividing line is switched between its viewable state and a non-viewable state.
12. A method according to any preceding claim, ca- characterized in that the at least one dividing line is switched between an active state and an inactive state.
13. Method according to claim 12, characterized in that it comprises a deactivation of at least one separation line of the pixel considered if this pixel considered is sampled below a certain threshold spatial sampling.
14. A method according to any preceding claim, ca- characterized in that it is implemented in an embedded manner in a software module that is added to or integrated into a web browser, for the taking into account the recorded images, possibly their comp- pressure or decompression, and / or their visualization in a part or in the entirety of a screen in interaction with the web browser.
15. A method according to any preceding claim, ca- characterized in that: - textual information represented by pointing symbols in a font, and / or - drawings of objects embedded in the form of matrix sub-images or vectorized are added directly to the saved image or added during sa_vi- sualization, in order to be viewable, possibly according to a selection particular which only shows all or part of it, during a restitution of the recorded image.
16. A method according to any preceding claim, ca- characterized in that metadata is added to the recorded image.
17. Method: - displaying an initial image as a so-called final image on a screen comprising groups of photogenerators, or - pixelation or rasterization of said initial image into a final image including final pixels without a separation line and / or spatial gradient of color and / or hue and / or brightness at within these final pixels, said initial image being recorded according to any one of the res- indications 1 to 16, characterized in that it comprises: For each final pixel considered or each group of photo- generators considered, a transcription of at least one pixel initial or at least one initial pixel domain in that pixel final or group of photogenerators considered: from the brightness and / or color components and / or tint of this at least one initial pixel or at minus an initial pixel domain towards this final pixel or group of photogenerators considered, the transcription being done in proportion to this at least initial pixel or to the minus an initial pixel domain within a common surface in look between: this at least initial pixel or at least one pixel domain initial and the final pixel or photogenerator group considered.
18. Method according to claim 17, characterized in that, for the trans- description, if the pixel [final or group of photogenerators considered is in looking at different initial pixels and / or areas of initial pixels, its brightness and / or color and / or hue components are a weighted average in proportion to the respective areas of these different initial pixels and / or domains of initial pixels opposite the pixel final or group of photogenerators considered.
19. Method according to claim 17 or 18, characterized in that, for the transcription, the components of brightness and / or color and / or hue of an initial pixel are modulated by the spatial gradient values of each part of initial pixel domain opposite the final pixel or group of photogenerators considered.
20. Method according to any one of claims 17 to 19, characterized in that a separation line of an initial pixel is used to be visualizable and contribute to brightness and / or colors and / or hues of at least the final pixel or group of photogenerators considered, in proportion to a viewing surface of at least one part of the separation line opposite the final pixel or group of photogenerators considered.
21. Method of compressing or decompressing an initial image in- registered according to any one of claims 1 to 16, characterized in that the image is respectively compressed or decompressed initial into a respectively compressed or decompressed image res- respectively by reducing the volume of information representing the compressed image through compression, or by increasing the volume of information representing the decompressed image thanks to the de- compression, compression or decompression involving at least a component among the color(s) and / or the shade(s) and / or the brightness and / or at least one dividing line and / or at least a spatial gradient within each initial pixel considered.
22. Method according to claim 21, characterized in that one respects- tively compresses or decompresses the initial image so as to render its content directly viewable according to a process according to one any of claims 17 to 20.
23. Method according to claim 21 or 22, characterized in that one res- respectively compresses or decompresses the initial image, by means of from a wavelet transformation of each component to compress.
24. Method according to any one of claims 21 to 23, characterized in that the image is respectively compressed or decompressed initial, by means of a transformation by Cosine Transformation Discrete (DCT).
25. Method according to any one of claims 21 to 24, characterized in that it includes, after compression or decompression, a search for identical sequences, and indexing of these sequences and replacing each repeated sequence with its index in a stream image data or information.
26. Method according to any one of claims 21 to 25, characterized in that it uses lossy compression on at least one component among the color(s) and / or the tint(s) and / or the lu- minosity and / or at least one dividing line and / or at least one spatial gradient of each initial pixel considered or of at least one separation within each initial pixel considered, and without loss on at at least one other component among activation of the at least one se- preparation, and / or visualization of at least one separation and / or width of at least one separation.
27. Computer program product comprising code instructions in- computer for executing a method according to one of claims 1 to 26 when said program is executed on a computer.
