US 12,462,459 B2
Encoder-optimized text rendering
Song Yuan, Lund (SE); Ludvig Hassbring, Lund (SE); and Jessica Nilsson, Lund (SE)
Assigned to AXIS AB, Lund (SE)
Filed by Axis AB, Lund (SE)
Filed on Dec. 7, 2023, as Appl. No. 18/532,227.
Claims priority of application No. 22216692 (EP), filed on Dec. 27, 2022.
Prior Publication US 2024/0221256 A1, Jul. 4, 2024
Int. Cl. G06T 11/60 (2006.01); G06T 3/40 (2024.01); G06T 3/60 (2024.01); H04N 19/172 (2014.01); H04N 19/60 (2014.01)
CPC G06T 11/60 (2013.01) [G06T 3/40 (2013.01); G06T 3/60 (2013.01); H04N 19/172 (2014.11); H04N 19/60 (2014.11)] 17 Claims
OG exemplary drawing
 
1. A method for rendering a text string in a digital raster image suitable for block-wise transform coding, the method comprising:
obtaining a partition of an image area into coding blocks for the block-wise transform coding;
representing the text string as a plurality of graphical elements from a typeface which are arranged according to a tentative layout in the image area, wherein the tentative layout defines at least a position, orientation and size of each graphical element;
modifying the tentative layout by applying a spectrum sparsening operation to at least one nonempty coding block, thereby obtaining a modified layout; and
rendering a digital raster image of the graphical elements arranged according to the modified layout.