CN110996026B - OSD display method, device, equipment and storage medium - Google Patents

OSD display method, device, equipment and storage medium Download PDF

Info

Publication number
CN110996026B
CN110996026B CN201911307636.XA CN201911307636A CN110996026B CN 110996026 B CN110996026 B CN 110996026B CN 201911307636 A CN201911307636 A CN 201911307636A CN 110996026 B CN110996026 B CN 110996026B
Authority
CN
China
Prior art keywords
character
dot matrix
osd
pixel point
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911307636.XA
Other languages
Chinese (zh)
Other versions
CN110996026A (en
Inventor
张�林
李晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201911307636.XA priority Critical patent/CN110996026B/en
Publication of CN110996026A publication Critical patent/CN110996026A/en
Application granted granted Critical
Publication of CN110996026B publication Critical patent/CN110996026B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • H04N5/44504Circuit details of the additional information generator, e.g. details of the character or graphics signal generator, overlay mixing circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42653Internal components of the client ; Characteristics thereof for processing graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4856End-user interface for client configuration for language selection, e.g. for the menu or subtitles

Abstract

The invention discloses an OSD display method, a device, equipment and a storage medium, wherein the method comprises the following steps: reading OSD characters to be processed; acquiring a character dot matrix of the OSD character from a dot matrix word library according to the OSD character; amplifying the character dot matrix; performing edge tracing on the font in the amplified character dot matrix according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character; the solid pixel points are pixel points located at the positions of the fonts in the character dot matrix; adding the dot matrix OSD characters to a code stream to carry out OSD display; the invention can effectively save the flash storage space of the equipment occupied by OSD display, is suitable for the equipment with short flash storage space, simultaneously reduces the background color interference problem during OSD display and improves the OSD display effect.

Description

OSD display method, device, equipment and storage medium
Technical Field
The present invention relates to the field of OSD display technologies, and in particular, to an OSD display method, apparatus, device, and storage medium.
Background
On-screen displays (OSD) are mainly used to superimpose text information, such as time, place, etc., on a video image, thereby providing more additional information for video content. The OSD can be used for explaining and supplementing video images, can provide a human-computer interface for a user along with video streaming transmission and storage, can enable the user to obtain more additional information, and has wide application value in the field of video display, such as televisions and monitoring cameras.
The existing OSD mainly comprises characters, including numbers, letters, Chinese characters, special symbols and the like, and the existing OSD character display mode is to load large-scale word stock files such as freetype and the like, and read character information with display according to the loaded large-scale word stock files such as freetype and the like for display. However, for devices with a short flash storage space, such as a monitoring camera, because the loaded freetype word library is a relatively large-sized word library, a large amount of flash storage space needs to be occupied to respond to the operating efficiency of the device, and meanwhile, character information read from the freetype word library is directly displayed, background color interference is easy to occur, so that the problem that characters are submerged by the background is caused, and therefore the existing OSD display obviously cannot meet the character display requirement of the monitoring camera.
Disclosure of Invention
Based on the above, the invention provides an OSD display method, device, equipment and storage medium, which can effectively save the flash storage space of the equipment occupied by OSD display, are suitable for the equipment with a short flash storage space, simultaneously reduce the background color interference problem during OSD display and improve the OSD display effect.
In a first aspect, an embodiment of the present invention provides an OSD display method, including:
reading OSD characters to be processed;
acquiring a character dot matrix of the OSD character from a dot matrix word library according to the OSD character;
amplifying the character dot matrix;
performing edge tracing on the font in the amplified character dot matrix according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character; the solid pixel points are pixel points located at the positions of the characters in the amplified character dot matrix;
and adding the dot matrix OSD characters to the code stream for OSD display.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
directly converting an OSD character to be displayed into a character dot matrix representation by using a dot matrix word library, then carrying out amplification treatment, carrying out edge tracing on a font in the amplified character dot matrix according to the position relation between each pixel point and a solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character, and finally adding the dot matrix OSD character to a code stream in a map mode to carry out OSD display; compared with the prior art, the embodiment of the invention does not need to load large-scale word library files such as freetype and the like when OSD is displayed, saves flash storage space, is suitable for equipment with short flash storage space, and meanwhile, by performing edge tracing processing on the character patterns in the amplified character dot matrix, the problem of background color interference during OSD display is effectively reduced, the OSD display effect is improved, and the character display requirement of a monitoring camera is met.
As an improvement of the scheme, the dot matrix character library comprises an ASCII dot matrix character library and a Chinese character dot matrix character library;
the obtaining of the character lattice of the OSD character from the lattice word library according to the OSD character specifically includes:
identifying a character type of the OSD character; wherein the character types comprise ASCII characters and Chinese characters;
when the OSD characters are identified as ASCII characters, acquiring a character lattice corresponding to the ASCII characters from the ASCII lattice word stock;
and when the OSD character is identified as the Chinese character, acquiring a character lattice corresponding to the Chinese character from the Chinese character lattice word library.
As an improvement of the above scheme, the amplifying the character lattice specifically includes:
amplifying the character dot matrix in the transverse direction and the longitudinal direction according to preset times; and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as a data type corresponding to the amplification T +1 multiple.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
the character dot matrix is amplified in the same times along the transverse direction and the longitudinal direction, and the character dot matrix subjected to odd-number-times T amplification is stored according to the data type corresponding to the even-number-times of T +1, so that the problem that the data type of the odd-number-times does not exist because the character types are changed in the even-number-times is solved, and the storage of the amplified character dot matrix is ensured.
As an improvement of the above scheme, the amplifying the character dot matrix specifically includes:
when the OSD characters are ASCII characters, amplifying character dot matrixes corresponding to the ASCII characters in the transverse direction and the longitudinal direction according to preset multiples;
when the OSD characters are Chinese characters, amplifying a left side character dot matrix and a right side character dot matrix in the character dot matrix corresponding to the Chinese characters according to preset times in the transverse direction and the longitudinal direction respectively, and splicing the amplified left side character dot matrix and the amplified right side character dot matrix;
and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as a data type corresponding to the amplification T +1 multiple.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
the character dot matrix is amplified in the same times along the transverse direction and the longitudinal direction, and the character dot matrix subjected to odd-number-times T amplification is stored according to the data type corresponding to the even-number-times of T +1, so that the problem that the data type of the odd-number-times does not exist because the character types are changed in the even-number-times is solved, and the storage of the amplified character dot matrix is ensured; for the condition of Chinese characters, the left side character lattice and the right side character lattice in the character lattice corresponding to the Chinese characters are amplified by the same times respectively, and the amplified left side character lattice and the amplified right side character lattice are spliced, so that the difficulty of amplifying the Chinese characters is reduced.
As an improvement of the above scheme, the process of depicting the font in the amplified character lattice according to the position relationship between each pixel point and the solid pixel point in the amplified character lattice to obtain the lattice OSD character specifically includes:
traversing each pixel point in the amplified character dot matrix, and judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of the current pixel point is a solid pixel point or not, wherein the current pixel point is a non-solid pixel point;
if yes, marking the current pixel point as a frame pixel point;
if not, the current pixel point is not processed;
and generating a frame of the character pattern in the amplified character dot matrix according to the frame pixel points to obtain the dot matrix OSD character.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of the current pixel point is a solid pixel point or not by each pixel point in the character dot matrix after traversal and amplification; if yes, the current pixel point is marked as a frame pixel point, the stroke of the font in the character dot matrix is realized, the algorithm is simple, and the stroke efficiency can be effectively improved.
As an improvement of the above scheme, the method for depicting the font in the amplified character lattice according to the position relationship between each pixel point and the solid pixel point in the amplified character lattice to obtain the lattice OSD character further includes:
when the OSD characters are Chinese characters, traversing each pixel point in a left character dot matrix and a right character dot matrix in the amplified character dot matrix; the left side character lattice comprises first to Xth rows of pixel points, and the right side character lattice comprises X +1 to 2 Xth rows of pixel points;
judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of any pixel point (i, j) from the first column to the X-1 column in the left character dot matrix is a solid pixel point;
if yes, marking the pixel point (i, j) as a border pixel point;
if not, the pixel point (i, j) is not processed;
judging whether an adjacent pixel point in any one of the upper, lower and left directions of the pixel point (i, X) in the X-th row in the left character dot matrix or the pixel point (i, X +1) in the right character dot matrix is a solid pixel point; wherein, (i, X) represents the pixel point of the ith row in the Xth column;
If yes, marking the pixel point (i, X) as a frame pixel point;
if not, the pixel point (i, X) is not processed;
judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of any pixel point (n, m) from the X +2 th row to the 2X th row in the right character dot matrix is a solid pixel point;
if yes, marking the pixel point (n, m) as a frame pixel point;
if not, the pixel point (n, m) is not processed;
judging whether the adjacent pixel point in any one of the upper, lower and right three directions of the pixel point (n, X +1) in the X +1 th row in the right character dot matrix or the pixel point (n, X) in the left character dot matrix is a solid pixel point; wherein, (n, X) represents the pixel point of the nth row of the Xth column;
if yes, marking the pixel point (n, X +1) as a frame pixel point;
if not, the pixel point (n, X +1) is not processed;
and generating a frame of the character pattern in the amplified character dot matrix according to frame pixel points in the left character dot matrix and the right character dot matrix to obtain the dot matrix OSD character.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
because the Chinese character is composed of two characters, in the embodiment of the invention, aiming at the Chinese character, whether the adjacent pixel points in any one of the upper, lower, left and right directions are solid pixel points or not is considered for the pixel points in the 1 st to X-1 th rows in the left character lattice in the corresponding character lattice, regarding the last column X in the left character lattice, considering whether the adjacent pixel points in any one of the upper, lower and left directions and the pixel points in the corresponding row in the first column in the right character lattice are solid pixel points for frame marking, the delineation of the right character lattice is the same, the special boundary condition of the Chinese character is fully considered through the stroke, the drawn Chinese character frame is prevented from enabling the left part and the right part of the Chinese character to be separated into two parts, the problem of left-right communication of the Chinese character is solved, and the character pattern frame is enabled to accord with the Chinese character form.
As an improvement of the above scheme, adding the dot-matrix OSD character to a code stream for OSD display specifically includes:
assembling the dot matrix OSD characters to the corresponding positions of the OSD characters to be processed to generate dot matrix OSD images;
and pasting the dot matrix OSD image on a code stream for OSD display.
In a second aspect, an embodiment of the present invention provides an OSD display apparatus, including:
the character reading module is used for reading OSD characters to be processed;
the character dot matrix acquisition module is used for acquiring a character dot matrix of the OSD character from a dot matrix word library according to the OSD character;
the amplifying module is used for amplifying the character dot matrix;
the character edge tracing module is used for tracing the font in the amplified character dot matrix according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character; the solid pixel points are pixel points located at the positions of the fonts in the character dot matrix;
and the dot matrix OSD character output module is used for adding the dot matrix OSD characters to the code stream to carry out OSD display.
In a third aspect, an embodiment of the present invention provides an OSD display device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the OSD display method according to any one of the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, an apparatus in which the computer-readable storage medium is located is controlled to perform the OSD display method according to any one of the first aspects.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating an OSD displaying method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of an ASCII character lattice provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of a Chinese character lattice according to an embodiment of the present invention;
FIG. 4 is an enlarged schematic diagram of a character lattice according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of positions of pixels of a character lattice according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an OSD display according to the embodiment of the invention;
Fig. 7 is a schematic block diagram of an OSD display apparatus according to a second embodiment of the present invention;
fig. 8 is a schematic block diagram of an OSD display apparatus according to a third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, an embodiment of the invention provides an OSD display method, including:
s11: and reading the OSD characters to be processed.
It should be noted that, in the embodiment of the present invention, a storage location and a reading manner of the OSD character to be processed are not specifically limited, and for example, the monitoring camera may directly generate the OSD character to be processed through the character information superimposer, and generate the OSD character through reading the character information superimposer for subsequent processing.
S12: and acquiring the character dot matrix of the OSD character from a dot matrix character library according to the OSD character.
Preferably, the lattice character library comprises an ASCII lattice character library and a Chinese character lattice character library;
the obtaining of the character lattice of the OSD character from the lattice word library according to the OSD character specifically includes:
identifying a character type of the OSD character; wherein the character types comprise ASCII characters and Chinese characters;
when the OSD characters are identified as ASCII characters, acquiring a character lattice corresponding to the ASCII characters from the ASCII lattice word stock;
and when the OSD character is identified as the Chinese character, acquiring a character lattice corresponding to the Chinese character from the Chinese character lattice word library.
In the embodiment of the invention, aiming at two character types of ASCII and Chinese characters, corresponding character lattices are respectively extracted from a corresponding ASCII lattice character library and a Chinese character lattice character library according to OSD characters to be processed; wherein, the size of the character lattice in the ASCII lattice character library is 16 × 8, and 16 bytes are used for representing, unsigned char [16], as shown in FIG. 2; and the size of the character lattice in the Chinese character lattice word stock is 16 x 16, and 32 bytes are used for representation, assigned char [32], as shown in FIG. 3, wherein, on the left side in FIG. 2: an even subscript; right side: an odd subscript.
S13: and amplifying the character dot matrix.
S14: performing edge painting on the font in the amplified character dot matrix according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character; and the solid pixel points are pixel points positioned at the positions of the fonts in the character dot matrix.
S15: and adding the dot matrix OSD characters to a code stream for OSD display.
In the embodiment of the invention, the OSD characters to be displayed are directly converted into character dot matrix representation by using a dot matrix word library, and then amplification treatment is carried out to realize drawing of multi-size OSD; according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix, performing edge tracing on the font in the amplified character dot matrix to obtain a dot matrix OSD character, and finally adding the dot matrix OSD character to the code stream in a mapping mode to perform OSD display; compared with the prior art, the embodiment of the invention does not need to load large-scale word library files such as freetype and the like when OSD is displayed, saves flash storage space, is suitable for equipment with short flash storage space, and meanwhile, by performing edge tracing processing on the character patterns in the amplified character dot matrix, the problem of background color interference during OSD display is effectively reduced, the OSD display effect is improved, and the character display requirement of a monitoring camera is met.
In an alternative embodiment, S13: the character lattice is amplified, and the method specifically comprises the following steps:
amplifying the character dot matrix in the transverse direction and the longitudinal direction according to preset times; and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as a data type corresponding to the amplification T +1 multiple.
In the embodiment of the present invention, by magnifying the character lattice in the same multiple in the transverse direction and the longitudinal direction, as shown in fig. 4, taking 2 times as an example, one pixel point can be magnified into 4 pixel points through the step of S13, and for a solid pixel point, color filling is also required. The character dot matrix amplified by odd times T is stored according to the data type corresponding to the even times of T +1, so that the problem that the data type of the odd times does not exist because the character types are changed by even times is solved, and the storage of the amplified character dot matrix is ensured.
For convenience of understanding, the data types of the character lattice after 2-fold, 3-fold and 4-fold amplification are shown in the following table.
Figure GDA0003402872990000091
As above 3 times magnification, 16 font ASCII, expressed using char [16], where three times magnification is 3 bytes, without 3 byte data type, the embodiment of the present invention uses 4 byte data type int, i.e. int [16 × 3], and other odd magnification is the same. In fact, in the present embodiment, a magnification of 3 is used, char [16] to int [48 ]. char [16], although a one-dimensional array, is a rectangle of 8 x 16 when represented by bits. While int [48] is a 32 × 48 rectangle, and only the 24 × 48 area is actually used, i.e. the 1 st byte of int [48] is set to 0. Therefore, the difficulty of drawing OSD characters can be effectively reduced by storing the amplified character dot matrix by adopting the one-dimensional array.
It should be noted that the data types involved in the present invention are unsigned types.
In an alternative embodiment, S13: amplifying the character dot matrix, which specifically comprises the following steps:
when the OSD characters are ASCII characters, amplifying character dot matrixes corresponding to the ASCII characters in the transverse direction and the longitudinal direction according to preset multiples;
when the OSD characters are Chinese characters, amplifying a left side character dot matrix and a right side character dot matrix in the character dot matrix corresponding to the Chinese characters according to preset times in the transverse direction and the longitudinal direction respectively, and splicing the amplified left side character dot matrix and the amplified right side character dot matrix;
and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as a data type corresponding to the amplification T +1 multiple.
In the embodiment of the invention, the character dot matrix is amplified by the same times along the transverse direction and the longitudinal direction, and the character dot matrix subjected to odd-number-times T amplification is stored according to the data type corresponding to the even-number-times of T +1, so that the problem that the data type of the odd-number-times does not exist because the character types are changed by the even-number-times is solved, the storage of the amplified character dot matrix is ensured, and the specific storage mode refers to the above; for the condition of Chinese characters, the left side character lattice and the right side character lattice in the character lattice corresponding to the Chinese characters are amplified by the same times respectively, and the amplified left side character lattice and the amplified right side character lattice are spliced, so that the difficulty of amplifying the Chinese characters is reduced.
In an optional embodiment, the depicting a font in the amplified character dot matrix according to a position relationship between each pixel point and a solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character specifically includes:
traversing each pixel point in the amplified character dot matrix, and judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of the current pixel point is a solid pixel point or not;
if yes, marking the current pixel point as a frame pixel point;
if not, the current pixel point is not processed;
and generating a frame of the character pattern in the amplified character dot matrix according to the frame pixel points to obtain the dot matrix OSD character.
As shown in fig. 5, taking a pixel point P (i, j) as an example, i represents a row number, j represents a column number, and the pixel point is set as a character entity stroke, i.e., a solid pixel point, and then the value is 1, otherwise, the value is 0, and the expression of the determination condition of the embodiment of the present invention is as follows
Figure GDA0003402872990000101
In order to reduce the amount of calculation, two cases of stroke of the glyph can be further considered on the basis of the embodiment column:
(1) edge pixel points: for one part without pixels in the edge pixels in the character dot matrix, solid pixel detection is not carried out, for example, the leftmost pixel, and the adjacent pixel in any one of the upper, lower and right three positions is only required to be a solid pixel, so that the adjacent pixel can be marked as a frame pixel;
(2) And non-edge pixel points, wherein adjacent pixel points meeting any one of the upper, lower, left and right directions are solid pixel points and can be marked as border pixel points.
In the embodiment of the invention, for the situation of ASCII or other single characters, whether the adjacent pixel point on any one of the upper, lower, left and right directions of the current pixel point is a solid pixel point is judged by traversing and amplifying each pixel point in the character dot matrix; if yes, the current pixel point is marked as a frame pixel point, the edge tracing of the character pattern in the character dot matrix is achieved, the algorithm is simple, and the edge tracing efficiency can be effectively improved.
In an optional embodiment, the stroke of the font in the amplified character lattice according to the position relationship between each pixel point and the solid pixel point in the amplified character lattice to obtain the lattice OSD character further includes:
when the OSD character is a Chinese character, traversing each pixel point in a left character dot matrix and a right character dot matrix in the amplified character dot matrix; the left side character dot matrix comprises first to Xth rows of pixel points, and the right side character dot matrix comprises X +1 to 2 Xth rows of pixel points;
Judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of any pixel point (i, j) from the first column to the X-1 column in the left character dot matrix is a solid pixel point;
if yes, marking the pixel point (i, j) as a border pixel point;
if not, the pixel point (i, j) is not processed;
judging whether an adjacent pixel point in any one of the upper, lower and left directions of the pixel point (i, X) in the X-th row in the left character dot matrix or the pixel point (i, X +1) in the right character dot matrix is a solid pixel point; wherein, (i, X) represents the pixel point of the ith row in the Xth column;
if yes, marking the pixel point (i, X) as a frame pixel point;
if not, the pixel point (i, X) is not processed;
judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of any pixel point (n, m) from the X +2 th row to the 2X th row in the right character dot matrix is a solid pixel point;
if yes, marking the pixel point (n, m) as a frame pixel point;
if not, the pixel point (n, m) is not processed;
judging whether the adjacent pixel point in any one of the upper, lower and right three directions of the pixel point (n, X +1) in the X +1 th row in the right character dot matrix or the pixel point (n, X) in the left character dot matrix is a solid pixel point; wherein, (n, X) represents the pixel point of the nth row of the Xth column;
If yes, marking the pixel point (n, X +1) as a frame pixel point;
if not, the pixel point (n, X +1) is not processed;
and generating a frame of the character pattern in the amplified character dot matrix according to the frame pixel points in the left side character dot matrix and the right side character dot matrix to obtain the dot matrix OSD characters.
On the basis of the above embodiment, aiming at the special boundary of two characters of the Chinese character, the embodiment of the invention further respectively considers whether the adjacent pixel points on any one of the upper, lower, left and right directions are solid pixel points or not for the 1 st to X-1 st columns of pixel points in the left side character dot matrix in the corresponding character dot matrix, and considers whether the adjacent pixel points on any one of the upper, lower and left directions and the corresponding solid pixel points in the first column of the right side character dot matrix are solid pixel points or not for the last column X in the left side character dot matrix, and the stroke of the right side character dot matrix is the same, and the special boundary condition of the Chinese character is fully considered through the stroke, so that the drawn Chinese character frame is prevented from separating the left and the right of the Chinese character into two parts, and the problem of left and right communication of the Chinese character is solved, so that the font frame conforms to the shape of the Chinese character.
For convenience of understanding, the following description will be made by taking a kanji containing two characters LR as an example, where the kanji characters in the embodiments of the present invention are drawn:
assuming that the pixel point in the left character lattice is L (i, j), j represents the number of columns, and takes the value of (1, X),
and the pixel points in the right character lattice are R (i, j), j represents the number of columns and takes the value of (1, Y), wherein X is Y.
For the X-th column, i.e., pixel point L (i, X), where i is the number of rows.
Left side pixel: l (i, X-1), the right pixel is R part, the 1 st column is marked as R (i, 1);
upside pixel: l (i-1, X), and the lower side pixel point is L (i +1, X);
then, for part L of the X-th column pixels, the judgment condition of the bounding box is deformed as follows:
(L(i-1,X)==1)||L(i+1,X)==1)||(L(i,X-1)==1)||(R(i,1)==1))。
the same applies to the first column of the R portion, and the description thereof will not be repeated here.
The embodiment of the invention fully considers the special boundary condition of the Chinese character, avoids the drawn Chinese character frame to separate the left part and the right part of the Chinese character, solves the problem of left-right communication of the Chinese character, and ensures that the font frame accords with the Chinese character form.
It should be noted that, in the embodiment of the present invention, a color filling manner of the border pixel at the mark is not specifically limited, for example, the color of the border pixel may be adjusted according to a background color, or the color of the border pixel may be adjusted according to a color difference between the background color and a solid pixel, so that the color of the border pixel is not submerged by the background color.
In an optional embodiment, the adding the dot-matrix OSD character to a code stream for OSD display specifically includes:
assembling the dot matrix OSD characters to the corresponding positions of the OSD characters to be processed to generate dot matrix OSD images;
and pasting the dot matrix OSD image on a code stream for OSD display.
In the embodiment of the present invention, before pasting the dot-matrix OSD image on a code stream for OSD display, the method further includes:
converting the dot matrix OSD image into an RGB format;
and converting the dot matrix OSD image in the RGB format into the YUV format.
The step of pasting the dot matrix OSD image on a code stream for OSD display comprises the following steps:
and pasting the dot matrix OSD image in the YUV format on the code stream for OSD display.
It should be noted that, in the embodiment of the present invention, an assembly manner of the dot-matrix OSD characters is not specifically limited, for example, BUF assembly may be used, and the assembled dot-matrix OSD images are mapped onto the code stream for OSD display and synchronous storage, so that the OSD display effect is good, as shown in fig. 6.
Please refer to fig. 7, which illustrates an OSD display apparatus according to an embodiment of the present invention, including:
the character reading module 1 is used for reading OSD characters to be processed;
the character dot matrix obtaining module 2 is used for obtaining the character dot matrix of the OSD characters from a dot matrix word stock according to the OSD characters;
The amplifying module 3 is used for amplifying the character dot matrix;
the character edge tracing module 4 is used for tracing the font in the amplified character dot matrix according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character; the solid pixel points are pixel points located at the positions of the glyphs in the character dot matrix;
and the dot matrix OSD character output module 5 is used for adding the dot matrix OSD characters to the code stream to carry out OSD display.
In an alternative embodiment, the lattice word library comprises an ASCII lattice word library and a Chinese character lattice word library;
the character lattice acquisition module 2 includes:
a character type identification unit for identifying the character type of the OSD characters; wherein the character types comprise ASCII characters and Chinese characters;
an ASCII character lattice extraction unit, which is used for acquiring a character lattice corresponding to the ASCII characters from the ASCII lattice word stock when the OSD characters are identified as the ASCII characters;
and the Chinese character dot matrix extraction unit is used for acquiring the character dot matrix corresponding to the Chinese character from the Chinese character dot matrix word library when the OSD character is identified as the Chinese character.
In an optional embodiment, the enlarging module 3 is specifically configured to enlarge the character lattice in the transverse direction and the longitudinal direction by a preset multiple; and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as a data type corresponding to the amplification T +1 multiple.
In an alternative embodiment, the amplifying module 3 specifically includes:
the ASCII character amplifying unit is used for amplifying a character lattice corresponding to the ASCII characters in the transverse direction and the longitudinal direction according to preset times when the OSD characters are ASCII characters;
the Chinese character amplifying unit is used for amplifying a left side character lattice and a right side character lattice in the character lattices corresponding to the Chinese characters according to preset multiples in the transverse direction and the longitudinal direction respectively and splicing the amplified left side character lattice and the amplified right side character lattice when the OSD characters are the Chinese characters;
and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as a data type corresponding to the amplification T +1 multiple.
In an alternative embodiment, the character stroke module 4 specifically includes:
The first frame pixel point detection unit is used for traversing each pixel point in the amplified character dot matrix and judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of the current pixel point is a solid pixel point; if yes, marking the current pixel point as a frame pixel point; if not, the current pixel point is not processed;
and the first dot matrix OSD character acquisition unit is used for generating a frame of the character pattern in the amplified character dot matrix according to the frame pixel points to obtain dot matrix OSD characters.
In an alternative embodiment, the character stroke module 4 further comprises:
the second frame pixel point detection unit is used for traversing each pixel point in a left side character dot matrix and a right side character dot matrix in the amplified character dot matrix when the OSD characters are Chinese characters; the left side character lattice comprises first to Xth rows of pixel points, and the right side character lattice comprises X +1 to 2 Xth rows of pixel points;
the third frame pixel point detection unit is used for judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of any one pixel point (i, j) from the first row to the X-1 th row in the left character dot matrix is a solid pixel point; if yes, marking the pixel point (i, j) as a frame pixel point; if not, the pixel point (i, j) is not processed;
A fourth frame pixel point detection unit, configured to determine whether a neighboring pixel point in any one of the upper, lower, and left directions of a pixel point (i, X) in the X-th column in the left character dot matrix or a pixel point (i, X +1) in the right character dot matrix is a solid pixel point; wherein, (i, X) represents the pixel point of the ith row in the Xth column; if yes, marking the pixel points (i, X) as border pixel points; if not, the pixel point (i, X) is not processed;
a fifth frame pixel point detection unit, configured to determine whether a solid pixel point is present in an adjacent pixel point in any one of four directions, i.e., an upper direction, a lower direction, a left direction, and a right direction, of any one pixel point (n, m) from the X +2 th row to the 2X th row in the right-side character dot matrix; if yes, marking the pixel point (n, m) as a frame pixel point; if not, the pixel point (n, m) is not processed;
a sixth frame pixel point detection unit, configured to determine whether an adjacent pixel point in any one of the upper, lower, and right three orientations of a pixel point (n, X +1) in the X +1 th row in the right character lattice or a pixel point (n, X) in the left character lattice is a solid pixel point; wherein, (i, X) represents the pixel point of the ith row in the Xth column; if yes, marking the pixel point (n, X +1) as a frame pixel point; if not, the pixel point (n, X +1) is not processed;
And the second dot matrix OSD character acquisition unit is used for generating a frame of a character pattern in the amplified character dot matrix according to the frame pixel points in the left side character dot matrix and the right side character dot matrix to obtain dot matrix OSD characters.
In an optional embodiment, the dot-matrix OSD character output module 5 specifically includes:
the character assembly unit is used for assembling the dot matrix OSD characters to the positions of the corresponding OSD characters to be processed to generate dot matrix OSD images;
and the character output unit is used for pasting the dot matrix OSD image on the code stream for OSD display.
It should be noted that the principle of the apparatus provided in the embodiment of the present invention is the same as that of the OSD display method provided in the first embodiment, and a description thereof is not repeated here.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
Fig. 8 is a schematic diagram of an OSD display apparatus according to a third embodiment of the present invention. As shown in fig. 8, the apparatus includes: at least one processor 11, such as a CPU, at least one network interface 14 or other user interface 13, a memory 15, at least one communication bus 12, the communication bus 12 being used to enable connectivity communications between these components. The user interface 13 may optionally include a USB interface, and other standard interfaces, wired interfaces. The network interface 14 may optionally include a Wi-Fi interface as well as other wireless interfaces. The memory 15 may comprise a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 15 may optionally comprise at least one memory device located remotely from the aforementioned processor 11.
In some embodiments, memory 15 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof:
an operating system 151, which contains various system programs for implementing various basic services and for processing hardware-based tasks;
and (5) a procedure 152.
Specifically, the processor 11 is configured to call the program 152 stored in the memory 15 to execute the OSD displaying method according to the above embodiment, for example, step S11 shown in fig. 1. Alternatively, the processor, when executing the computer program, implements the functions of the modules/units in the above-mentioned device embodiments, such as a character reading module.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the OSD display device.
The OSD display device can be a desktop computer, a notebook computer, a palm computer, a cloud server and other computing devices. The OSD display device may include, but is not limited to, a processor, and a memory. It will be understood by those skilled in the art that the schematic diagrams are merely examples of an OSD display device and are not intended to be limiting and may include more or less components than those shown, or some components in combination, or different components.
The Processor 11 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 11 is the control center of the OSD display device and connects the various parts of the entire OSD display device using various interfaces and lines.
The memory 15 may be used to store the computer programs and/or modules, and the processor 11 implements various functions of the OSD display device by running or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory 15 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, the memory 15 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the integrated module/unit of the OSD display device may be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
A fourth embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, an apparatus in which the computer-readable storage medium is located is controlled to perform the OSD display method according to any one of the first aspect.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. An OSD display method comprising:
reading OSD characters to be processed;
acquiring a character dot matrix of the OSD character from a dot matrix character library according to the OSD character;
amplifying the character dot matrix;
performing edge tracing on the font in the amplified character dot matrix according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character; the solid pixel points are pixel points located at the positions of the characters in the amplified character dot matrix;
And adding the dot matrix OSD characters to the code stream for OSD display.
2. The OSD displaying method of claim 1, wherein the lattice word library includes an ASCII lattice word library and a chinese character lattice word library;
the obtaining of the character lattice of the OSD character from the lattice word library according to the OSD character specifically includes:
identifying a character type of the OSD character; wherein the character types comprise ASSII characters and Chinese characters;
when the OSD characters are identified as ASCII characters, acquiring a character lattice corresponding to the ASCII characters from the ASCII lattice word stock;
and when the OSD character is identified as the Chinese character, acquiring a character lattice corresponding to the Chinese character from the Chinese character lattice word library.
3. The OSD display method of claim 1, wherein the enlarging the character lattice specifically comprises:
amplifying the character dot matrix in the transverse direction and the longitudinal direction according to preset times; and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as a data type corresponding to the amplification T +1 multiple.
4. The OSD display method of claim 2, wherein the enlarging the character lattice specifically comprises:
When the OSD characters are ASCII characters, amplifying character lattices corresponding to the ASCII characters in the transverse direction and the longitudinal direction according to preset multiples;
when the OSD characters are Chinese characters, amplifying a left side character dot matrix and a right side character dot matrix in character dot matrixes corresponding to the Chinese characters according to preset multiples in the transverse direction and the longitudinal direction respectively, and splicing the amplified left side character dot matrix and the amplified right side character dot matrix;
and when the preset multiple is an odd number T, storing the data type of the amplified character dot matrix as the data type corresponding to the amplification T +1 multiple.
5. The OSD displaying method of claim 2, wherein the process of outlining the glyphs in the amplified character dot matrix according to the positional relationship between each pixel point and the solid pixels points in the amplified character dot matrix to obtain dot matrix OSD characters comprises:
traversing each pixel point in the amplified character dot matrix, and judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of the current pixel point is a solid pixel point or not, wherein the current pixel point is a non-solid pixel point;
If yes, marking the current pixel point as a frame pixel point;
if not, the current pixel point is not processed;
and generating a frame of the character pattern in the amplified character dot matrix according to the frame pixel point to obtain the dot matrix OSD character.
6. The OSD displaying method of claim 5, wherein the stroke of the glyph in the enlarged character lattice according to the positional relationship between each pixel point and the solid pixel point in the enlarged character lattice to obtain a lattice OSD character, further comprises:
when the OSD characters are Chinese characters, traversing each pixel point in a left character dot matrix and a right character dot matrix in the amplified character dot matrix; the left side character dot matrix comprises first to Xth rows of pixel points, and the right side character dot matrix comprises X +1 to 2 Xth rows of pixel points;
judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of any pixel point (i, j) from the first column to the X-1 column in the left character dot matrix is a solid pixel point;
if yes, marking the pixel point (i, j) as a border pixel point;
if not, the pixel point (i, j) is not processed;
judging whether an adjacent pixel point in any one of the upper, lower and left directions of the pixel point (i, X) in the X-th row in the left character dot matrix or the pixel point (i, X +1) in the right character dot matrix is a solid pixel point; wherein, (i, X) represents the pixel point of the ith row in the Xth column;
If yes, marking the pixel points (i, X) as border pixel points;
if not, the pixel point (i, X) is not processed;
judging whether an adjacent pixel point in any one of the upper, lower, left and right directions of any pixel point (n, m) from the X +2 th row to the 2X th row in the right character dot matrix is a solid pixel point;
if yes, marking the pixel point (n, m) as a frame pixel point;
if not, the pixel point (n, m) is not processed;
judging whether the adjacent pixel point in any one of the upper, lower and right three directions of the pixel point (n, X +1) in the X +1 th row in the right character dot matrix or the pixel point (n, X) in the left character dot matrix is a solid pixel point; wherein, (n, X) represents the pixel point of the nth row of the Xth column;
if yes, marking the pixel point (n, X +1) as a frame pixel point;
if not, the pixel point (n, X +1) is not processed;
and generating a frame of the character pattern in the amplified character dot matrix according to frame pixel points in the left character dot matrix and the right character dot matrix to obtain the dot matrix OSD character.
7. The OSD displaying method of claim 1, wherein the adding the dot matrix OSD characters to a codestream for OSD displaying comprises:
Assembling the dot matrix OSD characters to the positions of the corresponding OSD characters to be processed to generate a dot matrix OSD image;
and pasting the dot matrix OSD image on a code stream for OSD display.
8. An OSD display device comprising:
the character reading module is used for reading OSD characters to be processed;
the character dot matrix acquisition module is used for acquiring a character dot matrix of the OSD character from a dot matrix word library according to the OSD character;
the amplifying module is used for amplifying the character dot matrix;
the character edge tracing module is used for tracing the font in the amplified character dot matrix according to the position relation between each pixel point and the solid pixel point in the amplified character dot matrix to obtain a dot matrix OSD character; the solid pixel points are pixel points located at the positions of the fonts in the character dot matrix;
and the dot matrix OSD character output module is used for adding the dot matrix OSD characters to the code stream to carry out OSD display.
9. An OSD display device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the OSD display method of any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the OSD display method according to any one of claims 1 to 7.
CN201911307636.XA 2019-12-18 2019-12-18 OSD display method, device, equipment and storage medium Active CN110996026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911307636.XA CN110996026B (en) 2019-12-18 2019-12-18 OSD display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911307636.XA CN110996026B (en) 2019-12-18 2019-12-18 OSD display method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110996026A CN110996026A (en) 2020-04-10
CN110996026B true CN110996026B (en) 2022-05-24

Family

ID=70095383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911307636.XA Active CN110996026B (en) 2019-12-18 2019-12-18 OSD display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110996026B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782158B (en) * 2020-06-30 2023-01-31 广州市小篆科技有限公司 Method for generating dot matrix font of code spraying equipment and printing equipment

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88100687A (en) * 1987-02-21 1988-11-09 夏普公司 The generating mode of magnifying text
US5355449A (en) * 1991-09-30 1994-10-11 Destiny Technology Corporation Method and apparatus for outline font character generation in dot matrix devices
JPH08163457A (en) * 1994-10-05 1996-06-21 Mitsubishi Electric Corp On-screen display device and on-screen display method
US6151032A (en) * 1996-09-20 2000-11-21 Dynalab, Inc. Stroke-based glyph-outline font generation in low/high resolution space
US6753862B1 (en) * 1999-10-07 2004-06-22 Seiko Epson Corporation Outline smoothing method and system
CN1905643A (en) * 2006-08-02 2007-01-31 智多微电子(上海)有限公司 System and method of image captions adding
CN101742129A (en) * 2008-11-18 2010-06-16 中兴通讯股份有限公司 Method for processing caption
CN101739663A (en) * 2008-11-24 2010-06-16 康佳集团股份有限公司 Method and equipment for scaling dot matrix characters
CN101888505A (en) * 2010-06-13 2010-11-17 杭州海康威视数字技术股份有限公司 Method and device for displaying characters on screen
CN104023182A (en) * 2013-12-16 2014-09-03 天津天地伟业数码科技有限公司 Character superimposition device and superposition method based on FPGA
CN104469210A (en) * 2014-11-25 2015-03-25 冯为心 Edging method used for SDI high-definition video character superimposition
CN108242211A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 Processing method, device and the board units of dot character

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496793B1 (en) * 1993-04-21 2002-12-17 Borland Software Corporation System and methods for national language support with embedded locale-specific language driver identifiers

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN88100687A (en) * 1987-02-21 1988-11-09 夏普公司 The generating mode of magnifying text
US5355449A (en) * 1991-09-30 1994-10-11 Destiny Technology Corporation Method and apparatus for outline font character generation in dot matrix devices
JPH08163457A (en) * 1994-10-05 1996-06-21 Mitsubishi Electric Corp On-screen display device and on-screen display method
US6151032A (en) * 1996-09-20 2000-11-21 Dynalab, Inc. Stroke-based glyph-outline font generation in low/high resolution space
US6753862B1 (en) * 1999-10-07 2004-06-22 Seiko Epson Corporation Outline smoothing method and system
CN1905643A (en) * 2006-08-02 2007-01-31 智多微电子(上海)有限公司 System and method of image captions adding
CN101742129A (en) * 2008-11-18 2010-06-16 中兴通讯股份有限公司 Method for processing caption
CN101739663A (en) * 2008-11-24 2010-06-16 康佳集团股份有限公司 Method and equipment for scaling dot matrix characters
CN101888505A (en) * 2010-06-13 2010-11-17 杭州海康威视数字技术股份有限公司 Method and device for displaying characters on screen
CN104023182A (en) * 2013-12-16 2014-09-03 天津天地伟业数码科技有限公司 Character superimposition device and superposition method based on FPGA
CN104469210A (en) * 2014-11-25 2015-03-25 冯为心 Edging method used for SDI high-definition video character superimposition
CN108242211A (en) * 2016-12-26 2018-07-03 航天信息股份有限公司 Processing method, device and the board units of dot character

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"动态视频汉字叠加器的实现";孙晓峰;《中国优秀硕士学位论文全文数据库(电子期刊)》;20040415;全文 *
"在西文操作系统下直接显示汉字与西文字符串的方法";徐滨;《宁夏农学院学报》;19950915;全文 *

Also Published As

Publication number Publication date
CN110996026A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
US10825130B2 (en) Method and apparatus for displaying picture content in application, and storage medium
CN109803172B (en) Live video processing method and device and electronic equipment
CN104915332A (en) Method and device for generating composing template
US10395155B2 (en) Billboard containing encoded information
JP2007241356A (en) Image processor and image processing program
CN110996026B (en) OSD display method, device, equipment and storage medium
US11017254B2 (en) Image data retrieving method and image data retrieving device
CN107608733B (en) Picture display method and device and terminal equipment
CN112800718A (en) PDF document display method, computer equipment and storage medium
CN114119778A (en) Deep color mode generation method of user interface, electronic equipment and storage medium
JP2010028429A (en) Image processing apparatus, image processing method, and program
US20220343507A1 (en) Process of Image
CN115423901A (en) Method and device for drawing canvas based on json segment
EP4047547A1 (en) Method and system for removing scene text from images
CN113038184B (en) Data processing method, device, equipment and storage medium
JP2012060452A (en) Image processor, method therefor and program
CN111127310B (en) Image processing method and device, electronic equipment and storage medium
US11017505B2 (en) System and method for applying antialiasing to images
CN114140805A (en) Image processing method, image processing device, electronic equipment and storage medium
CN111401165A (en) Station caption extraction method, display device and computer-readable storage medium
CN110796136A (en) Mark and image processing method and related device
CN116757165B (en) Method for projecting effect tool to OFD file based on layout data stream file base plate
WO2017088478A1 (en) Number separating method and device
CN109003225A (en) A kind of more palace trrellis diagram piece treating method and apparatus and a kind of electronic equipment
JP6914369B2 (en) Vector format small image generation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant